From a1183587d049ce6e732062b070cb062788b52455 Mon Sep 17 00:00:00 2001 From: jenkins Date: Thu, 2 Feb 2023 13:31:14 +0000 Subject: [PATCH] Release v23.044 (from fd133747) --- charting_library.d.ts | 5 + charting_library/ar-tv-locale.3fdcc43e.js | 1 - charting_library/ar-tv-locale.fd133747.js | 1 + .../042ec21ea57ec386282b5e437ced14a0.svg | 1 + .../04ec25351d493cec3ade55e686f71c3b.svg | 1 + .../0533bc7f87e4fd35c549693ccb280cbc.svg | 1 + .../062c248cf8d2c525bd9526653ab95657.svg | 1 + .../0788cb238b1a4b247dc64b6520a1de87.svg | 1 + .../07958991e829b26257b34748fe61b908.svg | 1 + .../0be05afe69640ce88aa24265aa2effab.svg | 1 + .../0bfbdf5c0e06948136651805ba740256.svg | 1 + .../0da4ec054e8a1847302dceafff367d5f.svg | 1 + .../0dccec7ce2c9a2fe85d49d9ab8f1480b.svg | 1 + .../0f7af004dd47aafc17272eca6e543808.svg | 1 + .../bundles/1000.03457f0bee8e78a74471.js | 4 + .../bundles/1065.c486e71c0f4ad53d97a0.css | 1 + .../bundles/1065.c486e71c0f4ad53d97a0.rtl.css | 1 + .../bundles/1075.2745aa8533e240f5a5aa.js | 5 - .../107ad28074a1e10592eb2dc1a622a199.svg | 1 + .../107e8251a0eb3758b47077295437a81e.svg | 1 + .../1098c7da5fcb389d9ca6f1b830c9dc7b.svg | 1 + .../111e5d0e64351b2f7ac606b653993cbe.svg | 1 + .../115d41d15c6f506cd74214a1b277d0c9.svg | 1 + .../118186fbbe46a3201d049161d17aa76a.svg | 1 + .../11cab6ced9c9b2073f5e8a987766f54f.svg | 1 + .../bundles/1201.618e324514476ad87261.js | 94 +++ .../bundles/1253.80f3612c2c0c60fc7435.css | 1 + .../bundles/1253.80f3612c2c0c60fc7435.rtl.css | 1 + .../bundles/1333.66628a51e9c9fe6d23a6.css | 1 + .../bundles/1333.66628a51e9c9fe6d23a6.rtl.css | 1 + .../bundles/1424.d659ebb641f9bc73fab3.css | 1 + .../bundles/1424.d659ebb641f9bc73fab3.rtl.css | 1 + .../bundles/1482.31d88995d3950d354e71.js | 24 + .../14a6b7583a58202c653c5ddbb6c9dca5.jpeg | Bin 0 -> 150188 bytes .../14f7aa04dc24cf83929c244ccad5273d.svg | 1 + .../bundles/1536.70b2854033fe86ff8887.js | 4 + ...5c67b1.js => 1550.69cf45361956d097fdfd.js} | 19 +- .../157dc69b8355dc521689079cb859216d.svg | 1 + .../bundles/1594.4ef8130762f60c777086.js | 23 + .../1614841ed51c3d3bebf01c2a573e83ee.svg | 1 + .../bundles/1692.6d50aa9403d6d71eae69.css | 1 + .../bundles/1692.6d50aa9403d6d71eae69.rtl.css | 1 + .../bundles/1726.a9cb37f68d1221bfa750.css | 1 + .../bundles/1726.a9cb37f68d1221bfa750.rtl.css | 1 + .../bundles/1729.6e10c6b53c02d0af602e.css | 1 + .../bundles/1729.6e10c6b53c02d0af602e.rtl.css | 1 + ...4b8a25.js => 1857.92ea29314fb71e119d3e.js} | 6 +- .../186115d4ca74152914acd81e26836798.svg | 1 + .../bundles/1865.9d9f2c055165380e13c9.css | 1 + .../bundles/1865.9d9f2c055165380e13c9.rtl.css | 1 + .../192a7bbb73684d1f6dae83700fb21173.svg | 1 + .../bundles/1946.c0a666d2f0aa1faa6769.js | 20 + .../1985b030fba93c1acee7ccb45534cabd.svg | 1 + .../bundles/1999.41e6d020269ba779f363.css | 1 + ....css => 1999.41e6d020269ba779f363.rtl.css} | 2 +- .../1a129ec3eee7754e48466838566ab14e.svg | 1 + .../1b4c2ab61dabdd769b277a4707937a9d.svg | 1 + .../1bf2c1b06e7ab37b765dd3f5b891a241.svg | 1 + .../1c6b280e81b3d23ee72a86dedc751351.svg | 1 + .../1ca623399e6a505e1816c5f4169c60a3.svg | 1 + .../1cab1bbf2efbf21183e3f253d0cdd698.svg | 1 + .../1d27ff98c6f9247fd9df181f3fba5d3e.svg | 1 + .../1d3eecfc50933a84c28985cffe2fbb4e.svg | 1 + .../1d59e7669186b321ec8cffdfd2369210.svg | 1 + .../1e193459d0a9e9fc9ef95beffa15de1c.svg | 1 + .../1e2e718c683b1d6325a427dff2d6c78f.svg | 1 + .../1e9f070f7e9ad9001725ada71182816b.jpeg | Bin 0 -> 126580 bytes .../1eafeadca5e616cc4525be1fb1caafc7.svg | 1 + .../bundles/2006.21f12914e3a7a7515a25.css | 1 + .../bundles/2006.21f12914e3a7a7515a25.rtl.css | 1 + .../206725c980d03acbd1cc0e7f5ce69e40.svg | 1 + .../bundles/2267.47b8ff4cd471e21cabab.css | 1 + .../bundles/2267.47b8ff4cd471e21cabab.rtl.css | 1 + .../bundles/2288.d3106e5fe660e6e0712c.css | 1 + .../bundles/2288.d3106e5fe660e6e0712c.rtl.css | 1 + .../bundles/2301.327e64f11055caec2fc9.js | 21 - .../bundles/2316.b0ed604f1b75887fab7d.css | 1 - .../bundles/2331.3b08f9cb7e919f979749.js | 7 + .../bundles/2340.36ca0d43eb91dba77fa4.css | 1 + .../bundles/2340.36ca0d43eb91dba77fa4.rtl.css | 1 + .../23b30bfe2f6b2e6edf84470252fa5d54.svg | 1 + .../bundles/2454.68d0887ef7e51d7bc269.js | 35 + .../245f40c6e1d758167db8571398efaef2.svg | 1 + .../bundles/2502.82e28010896833a0f183.js | 4 + .../bundles/2525.1b05122f135a2c7f4818.css | 1 + .../bundles/2525.1b05122f135a2c7f4818.rtl.css | 1 + .../25b2c84d5406c64eefab940998518f5c.svg | 1 + .../bundles/2624.f55c13c46f516986e4a2.css | 1 + .../bundles/2624.f55c13c46f516986e4a2.rtl.css | 1 + .../26b5353498b2ca25fcc597890e574005.svg | 1 + .../27419b53618cdc6022ec621a38a2e27e.svg | 1 + ...0ec2c.css => 279.9540b575371a0ecfc0bc.css} | 2 +- ...l.css => 279.9540b575371a0ecfc0bc.rtl.css} | 2 +- .../27ed1587b819df769e0fcdb40c17bc0a.svg | 1 + ...c953.css => 2888.658aee2f9aacb50e4bc9.css} | 2 +- .../bundles/2888.658aee2f9aacb50e4bc9.rtl.css | 1 + .../bundles/2917.f809088053f9a1f9296c.js | 28 + .../291ae25931a5df9f61006569e1fb2819.svg | 1 + .../bundles/2947.01756d0de30a0c1fdebe.js | 8 + .../29545fef24e0ecc8478adab4816bba30.svg | 1 + .../2aecc106c5eb83ecada117376a8c8f2a.svg | 1 + .../2b993200d16755e7ff303ad0c32f4919.svg | 1 + .../2c22bc38345265a3c18504acca3e0d56.svg | 1 + .../2c713a3aca13638904167e66cf9eeab0.svg | 1 + .../2d4c81f5074ead4d91e24dce1782b828.svg | 1 + .../2d9e49752791b82092387b7ffd7e427f.svg | 1 + .../2dab12e8a6c93cdc361b475dcd7b3074.svg | 1 + .../2e59cb1da31075c39dc3b0c1e75e5fd7.svg | 1 + .../2f1e9623d075ac187394740ee1f6c377.svg | 1 + .../2f71391908131b082aab4d129f7b5272.svg | 1 + .../2fc23c00813c60848572b5d28ee7dfb9.svg | 1 + .../bundles/3014.516162fd8b06ec2cad15.js | 10 + .../bundles/3016.47e1775fafc08b9df6b1.js | 4 - .../bundles/3118.c14bad0abc6803f7cc64.css | 1 + .../bundles/3118.c14bad0abc6803f7cc64.rtl.css | 1 + .../bundles/3199.f9bb1cc19bce0ed4e13a.js | 4 - .../31dc9f78a1a526c14002cfcece0cc5d9.svg | 1 + .../bundles/3245.428fb1c689b8d7beb80e.js | 9 + .../32c094ea79fdd66912058ade88c27860.svg | 1 + .../32cface5c212ebc32a5fd783e6072dd5.svg | 1 + .../bundles/3304.02b3db44475a7ac3c3c1.js | 10 + .../3332346bb9d5603152808536c3251c00.svg | 1 + .../335343b286c304fe0ff472256b515659.svg | 1 + .../33e4a650ec09d861a47f0f2c2d912774.svg | 1 + .../33ead7196e74520279899683905fa945.svg | 1 + .../36a36b038ee2b086d99f0dff97512fec.svg | 1 + ...aceb.css => 3713.d298aa7c89e61a75e4e2.css} | 2 +- ....css => 3713.d298aa7c89e61a75e4e2.rtl.css} | 2 +- .../373623728d1fd56d6b7b9d228a6a2dd4.svg | 1 + .../bundles/3738.66fe7fbb64065ac70351.js | 9 + .../bundles/3812.21e37b91c0c961133d11.js | 6 + ...071d.css => 3848.d011e1be1e35f2c09044.css} | 2 +- ....css => 3848.d011e1be1e35f2c09044.rtl.css} | 2 +- .../386646a0d8b2c0e75d201d07083beb35.svg | 1 + .../3952276d502a2b3659f3cb3c163e9541.svg | 1 + .../3aeb0bb0575de40834fc666660380ae0.svg | 1 + .../3aedcdb787ab2003b4f84578eabe8839.svg | 1 + .../3b2b883e642979810780b787f4769e95.jpeg | Bin 0 -> 86743 bytes .../3bceb8e8c9086be15f6d9034fbb8ab90.svg | 1 + .../3ce97881321c8c909b3d05f641fad866.svg | 1 + .../3d1dbbd08f14657e981c2a0759373a97.svg | 1 + .../3daf0fa39e9e67bfc0f12166dd01adfd.svg | 1 + .../3f0b266c14a3e0a41685729a6dd63515.svg | 1 + .../3fd81bada8bbd48683f94d307a01fac4.svg | 1 + .../bundles/4002.3b0ae1c4e1bdb1e18c74.js | 4 + .../bundles/4194.f5256f014a8f2810c953.rtl.css | 1 - .../428cfc463b541dfa1321f35af861fada.svg | 1 + .../bundles/4364.857d262773326a44c55e.js | 7 + .../43c5b49b5b8e01e4505c7c251746a8b7.svg | 1 + ...5147.css => 4408.433afc31cc517d90040c.css} | 2 +- ....css => 4408.433afc31cc517d90040c.rtl.css} | 2 +- .../4419319a45a29943de1cbb904c896305.svg | 1 + .../44239307acfe2269d7827563273f2bfa.svg | 1 + .../bundles/4497.3ced329964413f9bf307.css | 1 + .../bundles/4497.3ced329964413f9bf307.rtl.css | 1 + .../455e18987c2c85ec010fd1456751ab61.svg | 1 + .../bundles/4634.2a4010396de3915172a8.css | 1 + .../bundles/4634.2a4010396de3915172a8.rtl.css | 1 + .../46eec22a6748063a64a9d7fdce4efc95.svg | 1 + .../4752624c631776e721a978174febf46b.svg | 1 + .../4791e97b8673d0b0ec66d93ef3f02bb0.svg | 1 + .../47b1e1cc6cc78ac578822f22213f5eb3.svg | 1 + .../47f09a2aa1752e19fb33290fcc46c47a.svg | 1 + .../bundles/4891.f1952d185e606d135bad.js | 27 - .../492d9a718a2c25d234151474b0206977.svg | 1 + .../bundles/4956.5be5245cef3e7dc84a04.css | 1 + .../bundles/4956.5be5245cef3e7dc84a04.rtl.css | 1 + .../4958ef32c0c1820de94cfe8a01f2f1cf.svg | 1 + .../49d1ea5b7ccbfbae29bbc21c506e617c.svg | 1 + .../4aaf8ecd499671f5404f7355e9b94ffa.svg | 1 + .../4bba9cb57057b411f436fdcb98ab3e32.svg | 1 + .../4bc8348594c9430c735366fc72d9f36b.svg | 1 + .../4bd2362d901778b20ccc963f023833f6.svg | 1 + .../4c2b4fdaa4afbe49682badbe3e6d5092.svg | 1 + .../4f21dea2767b186965157eba97f085b2.svg | 1 + .../4f7347b954545a7137c5b906707789e6.svg | 1 + .../bundles/5030.f9501920ecfa388929c3.css | 1 + .../bundles/5030.f9501920ecfa388929c3.rtl.css | 1 + .../bundles/5064.1f384128ead8182b3a33.css | 1 + .../bundles/5064.1f384128ead8182b3a33.rtl.css | 1 + .../bundles/5069.3451a537bfe99e8c44be.css | 1 + .../bundles/5069.3451a537bfe99e8c44be.rtl.css | 1 + .../bundles/509.2aa31cf384069ff4cd5e.css | 1 + .../bundles/509.2aa31cf384069ff4cd5e.rtl.css | 1 + .../5096c47e88bb219a61b3192d3f3ee85c.svg | 1 + .../5097be3164fb04ace2889628055b01cb.webp | Bin 0 -> 53448 bytes ...b64d.css => 5113.955b6e89f78634daaa87.css} | 2 +- ....css => 5113.955b6e89f78634daaa87.rtl.css} | 2 +- .../516336a4fcc5f7b651673adeedd38b68.svg | 1 + .../5212daa031fa87a8a8ff5860132af72a.jpeg | Bin 0 -> 55290 bytes .../52452294a138eb19309852a5bba8fdf2.svg | 1 + .../bundles/5298.90af5ad1a39fe163f644.css | 1 + .../bundles/5298.90af5ad1a39fe163f644.rtl.css | 1 + .../52be2cab70919abd4ba4dffefe331384.svg | 1 + .../52d1261e628f634b5e62c0d6071d82c1.svg | 1 + .../52d36f2ef75daabe5d00dc144cc9d4d6.svg | 1 + .../bundles/5376.2aa38050f70a10c75dee.js | 5 + .../bundles/5380.0fcbeffa9d76b47d7552.css | 1 + .../bundles/5380.0fcbeffa9d76b47d7552.rtl.css | 1 + ...40ab.css => 5399.5b37bdc7d523b1c795fb.css} | 2 +- ....css => 5399.5b37bdc7d523b1c795fb.rtl.css} | 2 +- .../53f95b864ea8104267dc566bfb803a23.svg | 1 + .../53fe5ab19eeaaea654235a0bdb7f71f1.svg | 1 + .../bundles/5423.7c2e49576fea7390d5de.js | 4 + .../54405675d653aa1a161b6abcb43291ed.svg | 1 + .../548b90a6603f1a11a0104f3be28274d5.svg | 1 + .../553d50cd29b02ff10f3cb53302bece54.svg | 1 + .../5579d8b53d2a1a0e6007198f97b91039.svg | 1 + .../559bbd43de542185b04c719bc152c540.svg | 1 + .../bundles/5618.8a62799c789da2a8c8a0.css | 1 + .../bundles/5618.8a62799c789da2a8c8a0.rtl.css | 1 + .../bundles/5708.c3364a7566b555162c99.css | 1 + .../bundles/5708.c3364a7566b555162c99.rtl.css | 1 + .../bundles/5733.ff2d007e3096cc677a13.css | 1 + .../bundles/5733.ff2d007e3096cc677a13.rtl.css | 1 + .../576e6465e16da65acd139607cb0febde.svg | 1 + .../bundles/5802.92bc0e290d3769e49cfb.css | 1 - .../bundles/5802.92bc0e290d3769e49cfb.rtl.css | 1 - .../5824a756d7227972e0d24375246ee236.svg | 1 + .../bundles/5835.ed17059c36bd9c957c54.css | 1 + .../bundles/5835.ed17059c36bd9c957c54.rtl.css | 1 + .../584a79e77d4432cf0ca27a1063d9ba0d.svg | 1 + .../bundles/5904.25a33d6d7b0935e49721.css | 1 + .../bundles/5904.25a33d6d7b0935e49721.rtl.css | 1 + .../bundles/5911.25d75d2a641c68537541.css | 1 + .../bundles/5911.25d75d2a641c68537541.rtl.css | 1 + .../5962c52be69d3c2cb79834452a20bf16.svg | 1 + .../bundles/5971.b0e199fd9ea9b0b05ed7.css | 1 + .../bundles/5971.b0e199fd9ea9b0b05ed7.rtl.css | 1 + .../5980ed8829231afb216d42cd14dfc746.svg | 1 + .../bundles/5995.3a632f64335891f1e50f.js | 13 + .../59e2b70bcb3a208d8b8dbe2b35a9dfb0.svg | 1 + .../5b42511a0696d2cbb686e323db88556c.svg | 1 + .../5c347ffc08d08d0f94ff06366781743d.svg | 1 + .../5c568c6ba25fd3ccffedc7df6cdbcfc6.svg | 1 + .../5c8483c70efc4d71c6bec8491e2ea918.svg | 1 + .../5ca11f2dcd2b23a00d19e2160797c25d.jpeg | Bin 0 -> 114397 bytes .../5dfba3ffcfb87b70fcff70fe469745e0.svg | 1 + .../60542233074e88f72cb7738cd671069f.svg | 1 + .../bundles/6055.2fa2dff6b27ad1aa8299.js | 7 + .../bundles/6085.69a003daf8ea012f4dc7.js | 12 - .../60df35582c6fbf690ee8aad4f66b528c.svg | 1 + .../614cf27f508c538c23fd1e41dec69981.svg | 1 + .../6169c60c8d04924d194452dff1191b8e.svg | 1 + .../61da80123bd4db4b54f857a53d7718da.svg | 1 + .../62bf57b352114c25f178d892fef2c1d8.svg | 1 + .../637fc842362a44cdfab2f5a1945f5ad8.svg | 1 + .../bundles/638.a7dbcc3801adb93fdc91.js | 5 + .../63bccd48089718d7044ce87890d1af22.svg | 1 + .../bundles/6438.d13cf32db05c4395beed.js | 7 + .../bundles/6464.654bf43eb72d501be562.css | 1 + .../bundles/6464.654bf43eb72d501be562.rtl.css | 1 + .../6474d98d9f212d0a5b3edc7c81fce0a4.svg | 1 + .../bundles/6475.249a3b34f1b557decee6.js | 8 + .../650a8fb9d8083fd5887fa14d5a48b917.svg | 1 + .../6543950df881e52d4ca8007a6013f7d0.svg | 1 + .../65876f64a690a9c40a4f3d84367678ad.svg | 1 + .../bundles/6602.a297e70e35cceabe17ef.js | 29 + .../66b0098c00f242056c72b05aa3796de9.svg | 1 + .../bundles/6708.c5991a4180881ef8eaec.css | 1 + .../bundles/6708.c5991a4180881ef8eaec.rtl.css | 1 + .../673445ed0114e00b2249801cf1fa2810.webp | Bin 0 -> 106680 bytes .../bundles/6750.9ee7b735c78b915db6f7.css | 1 + .../bundles/6750.9ee7b735c78b915db6f7.rtl.css | 1 + .../bundles/6767.4ce0a318e0eb8861d505.css | 1 + .../bundles/6767.4ce0a318e0eb8861d505.rtl.css | 1 + .../677ba99bfad6904fb5ff8b117e32715d.svg | 1 + .../67ffddaaa5ddf676068d1d3f2fb47029.svg | 1 + .../bundles/6895.5f890042edec19c4b9d3.css | 1 + .../bundles/6895.5f890042edec19c4b9d3.rtl.css | 1 + .../696572b26ab674046f403ec18f2b5e5d.svg | 1 + .../bundles/6973.1014b5c98b0834d66915.js | 2 + .../69938b544b1d77792db3e429284a98c1.svg | 1 + .../6ae825abf83e791f0247b4143d5a85ad.svg | 1 + .../6b4a6bb049ac33e322b700e50fc5b926.svg | 1 + .../6c45a28c69aad8a75655bdd555d86f68.svg | 1 + .../6ca6e081b7d7a80d94f38bf6ef9db3fa.svg | 1 + .../6cc5af4752574eb61f0c8075ca1b7881.svg | 1 + .../6ce4af2df856e7fd43f8786a3c3a2e5d.svg | 1 + .../6cfd08ce7e4a1dbbd15225a8bf79a4e3.svg | 1 + .../6d9fd8899d084d7f9698d9b2d5862c00.svg | 1 + .../6dfaf2afda613a97ef15734acea4f691.svg | 1 + .../6e8ce773ae74687cfa9576d1210fe5f6.svg | 1 + .../6fcde21723892d962edac0d9998528d0.svg | 1 + .../6fd906b30d990590754ae2e98b02d371.svg | 1 + .../bundles/7037.6c0a17273325fb793ea5.css | 1 - .../bundles/7037.6c0a17273325fb793ea5.rtl.css | 1 - .../703f250335bd4e9b78c998de059612b2.svg | 1 + .../7042e54b024475a394cb498377852b96.svg | 1 + .../70464b308617ebaa2bc504b4a50c3463.svg | 1 + .../70717ad43398a435ef78d38d226c6c37.svg | 1 + .../7087220f54cd749f878bda12494954eb.svg | 1 + .../71968c0503e30bbb4fe32b57c8fdd68d.svg | 1 + .../bundles/7210.9206636bbf39a902a0a9.js | 7 - .../7231b99c7054c64e47372a672c441a6d.svg | 1 + .../bundles/7232.eeabaf3541dfcb1398bb.css | 1 + .../bundles/7232.eeabaf3541dfcb1398bb.rtl.css | 1 + .../bundles/724.e580ce07c322679b0578.css | 1 + .../bundles/724.e580ce07c322679b0578.rtl.css | 1 + .../bundles/7245.1a82c73b622453a96bf6.css | 1 + .../bundles/7245.1a82c73b622453a96bf6.rtl.css | 1 + .../727813bcf45ceaaa481f086bcd697b95.svg | 1 + .../727ca3bc1d3c5915d9ccc4ba3eee978a.svg | 1 + .../72c3a3b432d2ad933ee80184f0524e7c.webp | Bin 0 -> 81472 bytes .../73dfc43daa272490acc92fd18d2efa97.svg | 1 + .../74009555a8dd165b067723f234f915a5.svg | 1 + .../bundles/7404.8ea65939d80e9ab20e73.js | 12 + .../743d0db623f41a2597c1e441233e4a78.svg | 1 + .../752c67ea7ac85fb0cd2f01623bd213bc.svg | 1 + .../756e573bd5155c508a91d07c586c3669.svg | 1 + .../7585c22521c2b4c30ed2c64d13bcb872.svg | 1 + .../75af36c37801a630adf29c84bcb12855.svg | 1 + .../bundles/7678.2a02d7fc5a1d8b8dff1f.js | 9 + .../7b48652cf0047a3b3b7bad1b1741ad9f.svg | 1 + .../7c1bfcd1b31737c6e9ec505673a6b3c7.jpeg | Bin 0 -> 81225 bytes .../7cc409e9b4b8e2ad95146d0ae8be70e5.svg | 1 + .../7db71d6fd67fb9a029dbe9640728e788.svg | 1 + .../7e42b51d668e0b400a9cb506aec1fc00.svg | 1 + .../7eb7a15aebedb479210436be19e02f7f.svg | 1 + .../7ef32ae8f080d2d6c6f0784e334e30e1.svg | 1 + .../7f2643ac80c1d0560f78aa22b6e8b501.svg | 1 + .../7f429d95a310b5fadba4ee69da66b4eb.svg | 1 + .../7fb90d13db9ad6d2ddec01d48b241d85.svg | 1 + .../7fc3c4075dd1ab62905126ce5623a7b5.svg | 1 + .../802533204295f3c58b0072fdd6d46d1d.svg | 1 + ...7867.css => 8054.34c11d6cc8a67dec7867.css} | 0 ....css => 8054.34c11d6cc8a67dec7867.rtl.css} | 0 .../bundles/8138.26729089e9f03458af35.css | 1 + .../bundles/8138.26729089e9f03458af35.rtl.css | 1 + .../bundles/8178.183edf2ef18efa241210.js | 10 + .../81f2326cf9c77d248b96f6bc5f80c13d.svg | 1 + .../bundles/8247.92c794a740a939962228.css | 1 + .../bundles/8247.92c794a740a939962228.rtl.css | 1 + .../832264ecc6d4da63cbcff71ea9186b3e.svg | 1 + .../833a14929e5d24379a09b7fab2f54002.svg | 1 + .../bundles/8367.7c0a1d12f9627a67aa36.css | 1 + .../bundles/8367.7c0a1d12f9627a67aa36.rtl.css | 1 + .../8386a0d291cb7eb9183b942d59c52947.svg | 1 + .../842fcb191878b2812c044528ff533832.svg | 1 + .../85398f0b883442712a726600cec9c27d.svg | 1 + .../858bcfa8c8d9c8d8551fcb9a8cdc2499.svg | 1 + .../85f9662bfe09fc2b79d5d962fc3b6e1a.svg | 1 + .../bundles/8673.cddd661446f4cbe31273.js | 7 + .../869b5f01bc7105cc3788b584c5bc1bef.svg | 1 + .../86e22a99d9d9ee81924e0b438e204dd7.svg | 1 + .../bundles/8756.2b636aa87bb90a37e76d.css | 1 + .../bundles/8756.2b636aa87bb90a37e76d.rtl.css | 1 + .../883627aca446035b3986466acc71a69b.svg | 1 + .../bundles/8844.902c220eb319c5a7b057.css | 1 + .../bundles/8844.902c220eb319c5a7b057.rtl.css | 1 + .../885565ce0ebf9919066eb4196290c711.svg | 1 + .../bundles/8883.edd50cff73a3164330f4.js | 37 - .../bundles/8948.b703bd84d23db0af187d.css | 1 + .../bundles/8948.b703bd84d23db0af187d.rtl.css | 1 + .../bundles/8994.447098231daab300c4b8.js | 5 + .../8a2b9871f3bdcda5fc3c8633ef6eef01.svg | 1 + .../8a93b4ee0b50a4c92979c153ece2bcbd.webp | Bin 0 -> 64994 bytes .../8aac8f79a7e13ea8992d4cb7ea372de7.svg | 1 + .../8b5301ac782c0b3c5144e7aae810127a.svg | 1 + .../8bb689bddb6ff6d200d2aaaea2402f9f.svg | 1 + .../8bb7f62042bd238c645c4213b08db12e.svg | 1 + .../8bf52e61de18aca35d5a9e2f5ce14ae2.svg | 1 + .../8c3b568f1adc6a626342305c8f60b203.svg | 1 + .../8c6b45f07db2a25f33f279d2da19dc3b.svg | 1 + .../8cf9d19315d87fe9bb98469d22f78a72.svg | 1 + .../8d4be41f3f5d5923bc7574128be4cbe4.svg | 1 + .../8dafbfd19f6d49a5e3ee8e41edc3264c.svg | 1 + .../8dd2c8c165617fcccdc1a1e26990caba.svg | 1 + .../8dd843123d511ff5adee498714213548.svg | 1 + .../8e74262607de7641e1443e206ecf02d8.svg | 1 + .../8ed702249e5be2de3aa98fb61301b23f.svg | 1 + .../8f0a3dbc200954cc05d71f00f94c9918.svg | 1 + .../8fdaa57f804bba3dc62f43d8ee0e76ce.svg | 1 + .../bundles/9040.ef836fce63b5692a00a3.js | 9 + .../90751c9bb2971c193dfbff053292e624.svg | 1 + .../9179ddcfe12cfa621d2c0a261757a2fb.svg | 1 + .../bundles/9297.20467c2b9cdcf6544815.css | 1 + .../bundles/9297.20467c2b9cdcf6544815.rtl.css | 1 + .../93748b7538eb622034881a9206d82dda.svg | 1 + .../939c709099ed020091dc58cbd5207cbd.svg | 1 + .../bundles/9410.cede90b73dc7bda7578a.css | 1 + .../bundles/9410.cede90b73dc7bda7578a.rtl.css | 1 + .../bundles/9505.033a769154fc53ff7eca.js | 4 - .../95127900436e4305bca6653ca8d9957f.svg | 1 + .../953f6834f68153142229a6d2237076cf.svg | 1 + .../bundles/9565.c69166c3f0d2b77c3979.css | 1 + .../bundles/9565.c69166c3f0d2b77c3979.rtl.css | 1 + .../bundles/957.7e1da618288b536c77d2.css | 1 + .../bundles/957.7e1da618288b536c77d2.rtl.css | 1 + .../bundles/9570.6e130410c18a92e289cd.css | 1 + .../bundles/9570.6e130410c18a92e289cd.rtl.css | 1 + .../bundles/9593.734c4bb23892ab13dac8.css | 1 + .../bundles/9593.734c4bb23892ab13dac8.rtl.css | 1 + .../95a7715d1c9835b4b280996e2493639c.svg | 1 + .../9619f52114e3eb5ddafad0f641d090cf.svg | 1 + .../bundles/9725.34bc625d639194ea9363.js | 4 + .../bundles/976.93143479d06a7878a2a0.css | 1 + .../bundles/976.93143479d06a7878a2a0.rtl.css | 1 + .../bundles/9811.b2796acbfd658ee82791.js | 5 - .../bundles/9837.80435cf54dcab1a9fa8e.js | 9 - .../984b9115a6a09b9e5aa9d3a9bee31479.svg | 1 + .../98d0d092bc4bf410d77c985fe872f359.webp | Bin 0 -> 110666 bytes .../98e91cfdd60e63d2da3aaac9c6680376.svg | 1 + .../bundles/9957.6106d5c99e3556405b69.js | 4 + .../bundles/9961.9ec3499981d0cb5615f7.css | 1 + .../bundles/9961.9ec3499981d0cb5615f7.rtl.css | 1 + .../9a4ecd71d78aab6194857007fcc20464.svg | 1 + .../9b07bb7dc3737b56b1b93989582dfcae.webp | Bin 0 -> 42212 bytes .../9b10f00f014bc0f9d1a452e07a0d161a.svg | 1 + .../9b5c4a3a01194407c91bf996bba0c1a4.svg | 1 + .../9b979eba8adb5bda46b48a4d26ccf2de.svg | 1 + .../9bd0f4d3395d3c7f81660e6885b07378.svg | 1 + .../9ca15e62dcca53e34d89a4e5dc98522c.svg | 1 + .../9cd754df5f0f7f46944a9abd08f279f6.svg | 1 + .../9d4c66fc04fd990e8bfd29411fb33650.svg | 1 + .../9d67227cfad5ec4cdbe9f0cd169856c5.svg | 1 + .../9d7b9ed22b710cbeeb852226989e1bc7.svg | 1 + .../9e8a00c2e2b16d8ece1e344906002df9.svg | 1 + .../9efe6680cb2318c0ff0e818ade988fa1.svg | 1 + .../9f9bbea98fd39966101544a0c55e14e5.svg | 1 + .../a1276c0533823933334715fc20c6742e.svg | 1 + .../a2f98c60137c8c2eb3d3fb96c7767876.svg | 1 + .../a54eae35e396c3f9ec2c154c8389933e.svg | 1 + .../a61ec3126315febd0304300cb8098ae5.svg | 1 + .../a6827773500226a7aa4fb09ce14ad72d.svg | 1 + .../a685e425d7c7db0c14c7b97352f4dd4b.svg | 1 + .../a6b73d85f90f4b55b4d8560f175fb635.svg | 1 + .../a6ccd18373271b1e45b1ca35f8825c8d.svg | 1 + .../a7de26af1e65164293180f1c5ddcf8de.svg | 1 + .../a824441dbd28500e1d345c0b62aa4220.svg | 1 + .../a825a6c4082ba46b45131ab0bd16d96c.svg | 1 + .../a83c7f196f69856c6661350dcd280ca2.svg | 1 + .../a846e4087642a8ea8bf05187847140c6.svg | 1 + .../a86b168bc533484e6274628d63888308.svg | 1 + .../ab02a73c827877d701e4dd32eb729ed9.svg | 1 + .../ab0aa08606b4a9db4f1d6115cbff1246.svg | 1 + .../ab7157b7c6ad79e8d21141a860febcfa.svg | 1 + .../aca94e827472fdbe847af7982d2e10f1.svg | 1 + .../acbf476d27fe229ca0b0c1fc6df67e35.svg | 1 + .../ad82bf804943b35baebe7dff417a2904.svg | 1 + ...add-compare-dialog.2967dfb4ca0b9cbae879.js | 10 + ...add-compare-dialog.afe8089e0ca57f411f21.js | 11 - .../add0043e9139708b7ec71b15a1cfdf4c.svg | 1 + .../af2c0f390cd0b5ef8d2bd4ba4e521a34.svg | 1 + .../af585e7389cfe3a827192dbe445b4935.svg | 1 + .../aff9c5fc514db3e7e69d496ce27c6a19.svg | 1 + ...clock.48d3df0afe4d4981523b8a12e4e25f92.mp3 | Bin 0 -> 4005 bytes .../alert-dialog.42e245eb82504c55c632.js | 25 + .../alert-editor-impl.31bd1bd6a919d8561787.js | 15 + ...ess-to-data-source.0e28597ad557f8895261.js | 2 + ...alerts-push-dialog.50e30fb052b79616ce1d.js | 3 + ...arning-dialog-impl.9bffee22d66ddcf75e00.js | 4 + .../b0d7e0e6fa1209b8a82a5566879e8439.svg | 1 + .../b119250cad0725ccc4f8288726f56f6b.svg | 1 + .../b1cad18bd8a6be021c3177353bda5345.svg | 1 + .../b1ee1e8ecc3caeb6e4e1dd6d5a45e2c8.svg | 1 + .../b2011711183a64af88730986168af032.svg | 1 + .../b31adf0f45d2fb04730c422394eb6ae2.svg | 1 + .../b4dd685fee80f6fff4b6e34f4e7725ac.svg | 1 + .../b51b73c5dc965960d789d4616c9372e5.svg | 1 + .../b66a640126ab548895d37446e81edb06.svg | 1 + .../b6a66bf5808bbb5de2d3bf45a5971fbd.svg | 1 + .../b755b85a9536ead06ef26ecd24724e0c.svg | 1 + .../b8b5ebf760eccf4bd10d0c3ccd100800.svg | 1 + .../b9a5c368e039eba4bf66e0f75e899eb7.svg | 1 + .../b9ef74d4cc68a3ee92fc345b70753629.svg | 1 + .../ba436c3f80a5432a73402891d8ed04bf.svg | 1 + .../ba8de9bab341fb25cc068a78171500ba.svg | 1 + .../bbcdb3a466a748485f84b550145804dc.svg | 1 + .../bbd4456a4e25c099b7f49fe4f00e032f.svg | 1 + .../bc4c0e86357177d9b1ed96f8568684d1.svg | 1 + .../bdb5b8a0770dc62f8db3d518656ad60f.webp | Bin 0 -> 105078 bytes .../bf56aba49a57eba71be490bc83a7071c.svg | 1 + .../bf89688b20c1bf96847619b6059daaf5.svg | 1 + ...friday-dialog-impl.376e62a20f73b99b196d.js | 8 + .../c229767ec3f6e517744b027e36b24831.svg | 1 + .../c26643f969ec665d63ddfe7dbcf16871.svg | 1 + .../c2a5c0fb8c6ef112474fde18c2946640.svg | 1 + .../c33468197e6cfac63316a6cd3a67cd6c.svg | 1 + .../c3bf6a8b432dba36fcdb79e0e7b892e4.svg | 1 + .../c3e25206d17a8de5275c5c18c6377d52.svg | 1 + .../c416c4db2f76c13e5cfb1cd73b057264.svg | 1 + .../c4978c8d35ff46ddde11765f574e2586.svg | 1 + .../c4ba5e799038b2fac1d8a5cee58aac2d.svg | 1 + .../c5bcb60600a07405427fb25b45bc6e53.svg | 1 + .../c65f8d4a514fd5839e611a6c7f146acb.svg | 1 + .../c6c91cffc0948504960b9ffa03ec3eb8.svg | 1 + .../c7232e3bcddb5cf2fedab803b86d4e88.svg | 1 + .../c7b2bfd6a12a1c0991a575c3b31ad7b6.svg | 1 + .../c7c3797c2ad50f90c7c5e767a4822af2.svg | 1 + .../c8d5bc45cecd625d597da5bc33011da7.svg | 1 + .../c9fe6a08de1ec5ba4f5ab0f80ce4d761.jpeg | Bin 0 -> 131065 bytes .../ca21ee51c72ab8851ed796a469ec00b8.svg | 1 + .../cab55de6e22849402b5982a8e390c8fb.svg | 1 + .../cbd8834b7f336d8d6aa529e87ea89c5d.svg | 1 + .../cc72d282b465b57676eca56e46cf1e8c.svg | 1 + .../ccac1949542b285e1ce6a4fe7f67d942.svg | 1 + .../cd8614eed2c9ecd0111030d6ae43b07c.svg | 1 + .../cddf3ae477d555d4eed060347c2268eb.svg | 1 + .../cddf468f55cf701e442982e83f9a67f6.woff2 | Bin 0 -> 20060 bytes .../cec10b6e9e7839abaff324919dae8402.webp | Bin 0 -> 31276 bytes .../cf8abee42c4cb03e0a2105caec8909eb.svg | 1 + ...ge-interval-dialog.79c9929e7fd0b7e6c245.js | 7 + ...ge-interval-dialog.d42e666ed16322d7bc67.js | 7 - ...e-plan-dialog-impl.010252ca2577d034ddb4.js | 9 + ...art-bottom-toolbar.398cd093b8aefc945d7a.js | 16 - ...art-bottom-toolbar.61a521bae909ba6271cb.js | 19 + .../chart-event-hint.2772e96b4497fbe5a15b.js | 2 - .../chart-event-hint.7174ec43ce875310edd1.js | 2 + ...rt-screenshot-hint.0cb36b737a8e2345986f.js | 2 - ...rt-screenshot-hint.49f947cd29db6dfcf59f.js | 2 + ... chart-widget-gui.1cae41f1cb32b31857bc.js} | 6 +- ...text-menu-renderer.c51a5b07782e9509b684.js | 3 - ...text-menu-renderer.e8aa606750391369d706.js | 7 + ...okies-notification.9ed1e7a17da61937dc4e.js | 9 + .../create-dialog.cf7e24e193258f0fb5c7.js | 5 + ...urrency-label-menu.4cf6e944a1702031903f.js | 10 - ...urrency-label-menu.ccab0620dccaa2883306.js | 9 + ...tervals-add-dialog.4f43b1b0de65b2b6006c.js | 12 - ...tervals-add-dialog.920509097ccec051c51a.js | 1 + .../d17555267bdf6ed9e01a7f4d525ef080.svg | 1 + .../d19fbe51ce3d398848b6825d6618ad21.svg | 1 + .../d1f58926528e2a3debceb59dff7e58b0.svg | 1 + .../d369378aefaaed47363bffaedb308143.svg | 1 + .../d3c2e6ce4be2a5b1bf9ca5a18d2d1238.svg | 1 + .../d4b8b8cb1909ea6d3f0a3182c8ec0a96.svg | 1 + .../d6d0f38ab696185b41d6421c65541584.webp | Bin 0 -> 74994 bytes .../d716b83b8ba7ad3cbabcf91275c88711.webp | Bin 0 -> 46498 bytes .../d7b56af17bc6de43c045962d843a94f3.svg | 1 + .../d83a6296db053e3ab36abfd851a88f66.svg | 1 + .../d84b6cf7427c0922056517dad6f0d0bb.svg | 1 + .../d92d6ecce7375134958d8e623f59dd3e.svg | 1 + .../d9da6caea5ca1cd55417f1978b047b13.svg | 1 + .../db0cca97f734763ceccce1e1c3c88430.jpeg | Bin 0 -> 43874 bytes .../dc280b6d3ed8a4c98e32fb60d6c17eca.svg | 1 + .../dddac09a7572568f517e22700f4c8474.svg | 1 + .../de4367c3fa9f075bbf58943188ba32b3.svg | 1 + .../de7f5bc35af05c24d9640b6fd0910bdf.svg | 1 + .../dea459c5c4ebb211e652e99cd6ba6354.svg | 1 + .../df2e77a08c4fed3f6d7a5e653e4ca2b2.svg | 1 + .../drawing-toolbar.3ac6efdaf16c335ac4ea.js | 16 + .../drawing-toolbar.5b28dda6a3b56e3f7110.js | 15 - .../e01f83be117e562a91ac14daa904e198.svg | 1 + .../e097b411b3e34f5a4a979cc428c289b1.svg | 1 + .../e129b4d2d79d07ecf5b6b7c4d10b83fb.svg | 1 + .../e16dc229d6775b39b80e8958d6095e05.svg | 1 + .../e2fa422bd9aedee688fb7765794fd5c2.svg | 1 + .../e30c321e33a1859340a2bb6037bff515.svg | 1 + .../e33a72eb50fe28dc0289c2257014fc6a.svg | 1 + .../e40ab9cc58df416f4b384648a7af369c.svg | 1 + .../e4bd61c262d0b67207545a967cb51d7f.svg | 1 + .../e561e7a86e83dab817de9b4fba1be15e.svg | 1 + .../e5dccab09e22148aa733ae7e0962f0a4.svg | 1 + .../e5f4dc26e80c421603f8b42336412643.svg | 1 + .../e62b523f0ed069cf4e2afa903fece44f.svg | 1 + .../e7b7ff011682d59763997a75104c9979.svg | 1 + .../e7ed49ce872797c8630fd5f8446ffbee.svg | 1 + .../e8b18b343c3c9e2d653fc3a550de819f.svg | 1 + .../e8e5b1c68e4f95acd9322863c0b363f6.svg | 1 + .../e97d7f751ade192748c3e05a54ead255.svg | 1 + .../e9a1bd918b9924de48740078fc49f7c8.svg | 1 + .../ea2822078cff5228899c74ce3525125c.svg | 1 + .../early-bird-banner.63639de641b064c620c2.js | 1 + .../early-bird-dialog.b9daeb69416b2c6d8d50.js | 3 + .../eb8399f5df28ee8b30713ca340c7dd8e.jpeg | Bin 0 -> 119323 bytes .../ebca4cec794b70db74c63a7e6aca8ed8.svg | 1 + .../ec31494f78cee41a02dbfbafba232515.svg | 1 + .../ec5d7209357ae85877aeb054c2bdb313.svg | 1 + .../ec6d305d7d06a84ea3f54c3d6db5e83a.svg | 1 + .../ec773b52c3fc4ccd7a5a86a577674e84.svg | 1 + .../ed080993df791efad30f99a0e698601e.svg | 1 + .../ed0ca2ab048260b30ad78d7b82749494.svg | 1 + .../ed5c3ae146310a1a24fcde23e7b60bb1.svg | 1 + .../ee2bdfea45e5aca4518fe3ae1e115904.svg | 1 + .../ee399eb1fa7a749581dc585db32b9db4.svg | 1 + .../efef6421ade56c03ee355809562ecbc0.svg | 1 + .../email-dialog.11c06641e902f3048b83.js | 16 + .../f071c28bf387d220afe4bd2c6f60323a.svg | 1 + .../f073a4ed2f2edbf549bad8b3c546af03.svg | 1 + .../f10291bc2bf8e3dea0bb036041d3e89f.svg | 1 + .../f15ab85cea9ea5749e2befe786e1c9d3.svg | 1 + .../f29883fbecb99912bbfeb0897f8b4edc.svg | 1 + .../f3530d099857810e5d04b52373b1cb41.svg | 1 + .../f3fb677a4f9680b6b5f45fc41b04688d.svg | 1 + .../f4d0c0597f2db7dcd7cd774b822de366.svg | 1 + .../f5ed10ec1625eb393ada7073b9afd17e.svg | 1 + .../f6f3045f75b50af8eb75a84a81c1816f.svg | 1 + .../f8385849a7dacc12bc2195528ceb1085.svg | 1 + .../f869295c1d9ceedfc8c6ddd92efb8ca2.svg | 1 + .../f89dbcaf40a5563735910a76243dc1b3.svg | 1 + .../f8f54d8b574077d60ffb81a4bc19ed57.svg | 1 + .../f98fa40daa7d9e2981645268d2a38d52.svg | 1 + .../fa0f0ffdb522cb20d692df5233f45074.jpeg | Bin 0 -> 29337 bytes .../fba03cbebf73ac8a537f901ec25dd0be.svg | 1 + .../fbd9c87447564af33463832c85652af0.svg | 1 + .../fd1f2a821ac21b8c757f95ba0b5032e0.svg | 1 + .../fd3642416e066a41978041df1fce04c8.svg | 1 + .../fe631cd46d01b4816097228f3591db19.svg | 1 + .../fe924d5d871ef07299ad5e11db2c8a70.svg | 1 + .../ff8661f5c81b7137caa81145ed74b154.svg | 1 + .../floating-toolbars.9319534e46a9e0511fbc.js | 27 - .../floating-toolbars.eba8db3eef8c6a5ad047.js | 28 + ...ull-tooltips-popup.7ab1067f92b52f07297b.js | 8 + ...ull-tooltips-popup.d80e5db5b5d195e2517b.js | 3 - ...-image-dialog-impl.96661b3d18a6fe1cf637.js | 1 + ...properties-dialog.c03cba9c7cf0c46b99e6.js} | 2 +- ...ral-property-page.0218f1b33618fc491a70.js} | 2 +- .../global-toasts.4e2377e6bac59b8285e6.js | 3 + ...o-date-dialog-impl.2bf2c3f997463af55494.js | 14 - ...o-date-dialog-impl.9a15fd8109d81fcece3b.js | 16 + ...ew-referral-dialog.3ff513f8887e148c67d1.js | 5 + .../gopro-dialog.10fd967147ea7ef9c57b.js | 33 + ...gopro-order-dialog.a9d6c7f1fa03844e1cfb.js | 59 ++ .../header-toolbar.6e0f6b8f50c83c8a6dc1.js | 16 + .../header-toolbar.cfb40d569cc84fb5a999.js | 11 - .../bundles/jquery.06844b74f8270fb0698b.js | 70 ++ ...last-chance-banner.0210ab3cfb4e94797db1.js | 1 + .../lazy-velocity.c4899589f501eea00e5f.js | 15 + .../bundles/library.8bd9d3718abf7c0eb38d.js | 792 ----------------- .../bundles/library.dba373dbc4943dc69a07.js | 794 ++++++++++++++++++ .../load-chart-dialog.35a2a7b957a4a4ecde2f.js | 7 - .../load-chart-dialog.cd5fbcdffc1ad4008003.js | 7 + ...p-tooltip-renderer.0ceff3b7ae8ca6b64473.js | 4 + ...p-tooltip-renderer.a408d5bf42843ff46541.js | 5 - ... => lt-pane-views.64f0e2787aaea98f864f.js} | 18 +- ...irm-inputs-dialog.74701800dcf34f21dcae.js} | 2 +- ...edit-object-dialog.833907d615c0a923a83e.js | 25 - ...edit-object-dialog.fb0b794a73b3e6d05f6b.js | 25 + ...object-tree-dialog.eecc10d129b521b3edf1.js | 30 + ...object-tree-dialog.f7df9d670cdf61d960af.js | 31 - .../one-usd-banner.bf548661215c404433e5.js | 1 + ...-alerts-dispatcher.416bae3f764ba35699c2.js | 50 ++ ...-preference-dialog.0012f6ddb64dd5553a72.js | 3 + .../profile-api.30da856643b32b7a502f.js | 2 + ...restricted-toolset.6e034375d57dd0341299.js | 29 + ...restricted-toolset.e7ec0040c08ca2374480.js | 31 - .../bundles/runtime.1c5f2159678050219bc6.js | 5 - .../bundles/runtime.e861c3f73de2a48d47a3.js | 7 + ...tal-count-exceeded.f45f575da01e51b48505.js | 8 + .../signin-dialog.e9f4471305a72e10e137.js | 33 + .../simple-dialog.14e9ec0c02af5afd0347.js | 11 - .../simple-dialog.f98fb16a5780aa202541.js | 5 + .../six-months-banner.956ef2d7d4cd4dd382aa.js | 1 + .../six-months-dialog.2397e41c2cae1012afe5.js | 2 + .../snowplow-tracker.35ffaa6b100e0786831a.js | 7 + ...free-trial-bt-impl.40d3f4e46da06f9c678e.js | 4 + ...rt-free-trial-impl.46ed8d43707329dbf0fc.js | 27 + .../study-market.a71cabfe36a376ab73a2.js | 13 + .../study-market.dce1b9689542de2ec2c4.js | 12 - ...dy-template-dialog.45a0e337870e6bb57e1b.js | 12 + ...dy-template-dialog.53a4d00015fbeb7f3529.js | 15 - ...has-changed-dialog.88a72a8c6db5fd268345.js | 1 + ...upport-dialog-impl.a2bd4a673fa2a215cf0b.js | 27 + ...izard-slow-warning.a8c40c040087722de686.js | 1 + ...l-info-dialog-impl.39f3d6120103dd6f672c.js | 6 - ...l-info-dialog-impl.89d39de5fb3e5ca4542b.js | 6 + ...mbol-search-dialog.6e76d0b3734157609c5c.js | 3 - ...mbol-search-dialog.f668aac5ec3ae2fec62a.js | 1 + ...e-chart-image-impl.5287e059e159029b1913.js | 1 - ...e-chart-image-impl.56cd69b21fd8de87abad.js | 2 + ...age-success-dialog.dad87576a21c86fab7b8.js | 7 + ...trial-notification.e9b6d98c2e7608050f98.js | 2 + .../tvscript_chunk.e9768cd8eb72616bfafa.js | 2 + .../upgradeDialog.b5c7e23d29874316e21c.js | 1 + ...ighlight-all-under.547a9e83b408bfc4d1a7.js | 1 + .../warning-dialog.ab50d177e34bd851e70f.js | 4 + charting_library/charting_library.cjs.js | 2 +- charting_library/charting_library.d.ts | 53 +- charting_library/charting_library.esm.js | 2 +- charting_library/charting_library.js | 2 +- .../charting_library.standalone.js | 2 +- charting_library/cs-tv-locale.3fdcc43e.js | 1 - charting_library/cs-tv-locale.fd133747.js | 1 + charting_library/da_DK-tv-locale.3fdcc43e.js | 1 - charting_library/da_DK-tv-locale.fd133747.js | 1 + charting_library/de-tv-locale.3fdcc43e.js | 1 - charting_library/de-tv-locale.fd133747.js | 1 + charting_library/el-tv-locale.3fdcc43e.js | 1 - charting_library/el-tv-locale.fd133747.js | 1 + charting_library/en-tv-locale.3fdcc43e.js | 1 - charting_library/en-tv-locale.fd133747.js | 1 + charting_library/es-tv-locale.3fdcc43e.js | 1 - charting_library/es-tv-locale.fd133747.js | 1 + charting_library/et_EE-tv-locale.3fdcc43e.js | 1 - charting_library/et_EE-tv-locale.fd133747.js | 1 + charting_library/fa-tv-locale.3fdcc43e.js | 1 - charting_library/fa-tv-locale.fd133747.js | 1 + charting_library/fr-tv-locale.3fdcc43e.js | 1 - charting_library/fr-tv-locale.fd133747.js | 1 + charting_library/he_IL-tv-locale.3fdcc43e.js | 1 - charting_library/he_IL-tv-locale.fd133747.js | 1 + charting_library/hu_HU-tv-locale.3fdcc43e.js | 1 - charting_library/hu_HU-tv-locale.fd133747.js | 1 + charting_library/id_ID-tv-locale.3fdcc43e.js | 1 - charting_library/id_ID-tv-locale.fd133747.js | 1 + charting_library/it-tv-locale.3fdcc43e.js | 1 - charting_library/it-tv-locale.fd133747.js | 1 + charting_library/ja-tv-locale.3fdcc43e.js | 1 - charting_library/ja-tv-locale.fd133747.js | 1 + charting_library/ko-tv-locale.3fdcc43e.js | 1 - charting_library/ko-tv-locale.fd133747.js | 1 + charting_library/ms_MY-tv-locale.3fdcc43e.js | 1 - charting_library/ms_MY-tv-locale.fd133747.js | 1 + charting_library/nl_NL-tv-locale.3fdcc43e.js | 1 - charting_library/nl_NL-tv-locale.fd133747.js | 1 + charting_library/no-tv-locale.3fdcc43e.js | 1 - charting_library/no-tv-locale.fd133747.js | 1 + charting_library/package.json | 2 +- charting_library/pl-tv-locale.3fdcc43e.js | 1 - charting_library/pl-tv-locale.fd133747.js | 1 + charting_library/pt-tv-locale.3fdcc43e.js | 1 - charting_library/pt-tv-locale.fd133747.js | 1 + charting_library/ro-tv-locale.3fdcc43e.js | 1 - charting_library/ro-tv-locale.fd133747.js | 1 + charting_library/ru-tv-locale.3fdcc43e.js | 1 - charting_library/ru-tv-locale.fd133747.js | 1 + charting_library/sk_SK-tv-locale.3fdcc43e.js | 1 - charting_library/sk_SK-tv-locale.fd133747.js | 1 + charting_library/sv-tv-locale.3fdcc43e.js | 1 - charting_library/sv-tv-locale.fd133747.js | 1 + charting_library/th-tv-locale.3fdcc43e.js | 1 - charting_library/th-tv-locale.fd133747.js | 1 + charting_library/tr-tv-locale.3fdcc43e.js | 1 - charting_library/tr-tv-locale.fd133747.js | 1 + charting_library/vi-tv-locale.3fdcc43e.js | 1 - charting_library/vi-tv-locale.fd133747.js | 1 + charting_library/zh-tv-locale.3fdcc43e.js | 1 - charting_library/zh-tv-locale.fd133747.js | 1 + charting_library/zh_TW-tv-locale.3fdcc43e.js | 1 - charting_library/zh_TW-tv-locale.fd133747.js | 1 + package.json | 19 + 731 files changed, 2618 insertions(+), 1297 deletions(-) create mode 100644 charting_library.d.ts delete mode 100644 charting_library/ar-tv-locale.3fdcc43e.js create mode 100644 charting_library/ar-tv-locale.fd133747.js create mode 100644 charting_library/bundles/042ec21ea57ec386282b5e437ced14a0.svg create mode 100644 charting_library/bundles/04ec25351d493cec3ade55e686f71c3b.svg create mode 100644 charting_library/bundles/0533bc7f87e4fd35c549693ccb280cbc.svg create mode 100644 charting_library/bundles/062c248cf8d2c525bd9526653ab95657.svg create mode 100644 charting_library/bundles/0788cb238b1a4b247dc64b6520a1de87.svg create mode 100644 charting_library/bundles/07958991e829b26257b34748fe61b908.svg create mode 100644 charting_library/bundles/0be05afe69640ce88aa24265aa2effab.svg create mode 100644 charting_library/bundles/0bfbdf5c0e06948136651805ba740256.svg create mode 100644 charting_library/bundles/0da4ec054e8a1847302dceafff367d5f.svg create mode 100644 charting_library/bundles/0dccec7ce2c9a2fe85d49d9ab8f1480b.svg create mode 100644 charting_library/bundles/0f7af004dd47aafc17272eca6e543808.svg create mode 100644 charting_library/bundles/1000.03457f0bee8e78a74471.js create mode 100644 charting_library/bundles/1065.c486e71c0f4ad53d97a0.css create mode 100644 charting_library/bundles/1065.c486e71c0f4ad53d97a0.rtl.css delete mode 100644 charting_library/bundles/1075.2745aa8533e240f5a5aa.js create mode 100644 charting_library/bundles/107ad28074a1e10592eb2dc1a622a199.svg create mode 100644 charting_library/bundles/107e8251a0eb3758b47077295437a81e.svg create mode 100644 charting_library/bundles/1098c7da5fcb389d9ca6f1b830c9dc7b.svg create mode 100644 charting_library/bundles/111e5d0e64351b2f7ac606b653993cbe.svg create mode 100644 charting_library/bundles/115d41d15c6f506cd74214a1b277d0c9.svg create mode 100644 charting_library/bundles/118186fbbe46a3201d049161d17aa76a.svg create mode 100644 charting_library/bundles/11cab6ced9c9b2073f5e8a987766f54f.svg create mode 100644 charting_library/bundles/1201.618e324514476ad87261.js create mode 100644 charting_library/bundles/1253.80f3612c2c0c60fc7435.css create mode 100644 charting_library/bundles/1253.80f3612c2c0c60fc7435.rtl.css create mode 100644 charting_library/bundles/1333.66628a51e9c9fe6d23a6.css create mode 100644 charting_library/bundles/1333.66628a51e9c9fe6d23a6.rtl.css create mode 100644 charting_library/bundles/1424.d659ebb641f9bc73fab3.css create mode 100644 charting_library/bundles/1424.d659ebb641f9bc73fab3.rtl.css create mode 100644 charting_library/bundles/1482.31d88995d3950d354e71.js create mode 100644 charting_library/bundles/14a6b7583a58202c653c5ddbb6c9dca5.jpeg create mode 100644 charting_library/bundles/14f7aa04dc24cf83929c244ccad5273d.svg create mode 100644 charting_library/bundles/1536.70b2854033fe86ff8887.js rename charting_library/bundles/{1784.430d2965a945175c67b1.js => 1550.69cf45361956d097fdfd.js} (50%) create mode 100644 charting_library/bundles/157dc69b8355dc521689079cb859216d.svg create mode 100644 charting_library/bundles/1594.4ef8130762f60c777086.js create mode 100644 charting_library/bundles/1614841ed51c3d3bebf01c2a573e83ee.svg create mode 100644 charting_library/bundles/1692.6d50aa9403d6d71eae69.css create mode 100644 charting_library/bundles/1692.6d50aa9403d6d71eae69.rtl.css create mode 100644 charting_library/bundles/1726.a9cb37f68d1221bfa750.css create mode 100644 charting_library/bundles/1726.a9cb37f68d1221bfa750.rtl.css create mode 100644 charting_library/bundles/1729.6e10c6b53c02d0af602e.css create mode 100644 charting_library/bundles/1729.6e10c6b53c02d0af602e.rtl.css rename charting_library/bundles/{1857.10c97feeb46d934b8a25.js => 1857.92ea29314fb71e119d3e.js} (96%) create mode 100644 charting_library/bundles/186115d4ca74152914acd81e26836798.svg create mode 100644 charting_library/bundles/1865.9d9f2c055165380e13c9.css create mode 100644 charting_library/bundles/1865.9d9f2c055165380e13c9.rtl.css create mode 100644 charting_library/bundles/192a7bbb73684d1f6dae83700fb21173.svg create mode 100644 charting_library/bundles/1946.c0a666d2f0aa1faa6769.js create mode 100644 charting_library/bundles/1985b030fba93c1acee7ccb45534cabd.svg create mode 100644 charting_library/bundles/1999.41e6d020269ba779f363.css rename charting_library/bundles/{2316.b0ed604f1b75887fab7d.rtl.css => 1999.41e6d020269ba779f363.rtl.css} (52%) create mode 100644 charting_library/bundles/1a129ec3eee7754e48466838566ab14e.svg create mode 100644 charting_library/bundles/1b4c2ab61dabdd769b277a4707937a9d.svg create mode 100644 charting_library/bundles/1bf2c1b06e7ab37b765dd3f5b891a241.svg create mode 100644 charting_library/bundles/1c6b280e81b3d23ee72a86dedc751351.svg create mode 100644 charting_library/bundles/1ca623399e6a505e1816c5f4169c60a3.svg create mode 100644 charting_library/bundles/1cab1bbf2efbf21183e3f253d0cdd698.svg create mode 100644 charting_library/bundles/1d27ff98c6f9247fd9df181f3fba5d3e.svg create mode 100644 charting_library/bundles/1d3eecfc50933a84c28985cffe2fbb4e.svg create mode 100644 charting_library/bundles/1d59e7669186b321ec8cffdfd2369210.svg create mode 100644 charting_library/bundles/1e193459d0a9e9fc9ef95beffa15de1c.svg create mode 100644 charting_library/bundles/1e2e718c683b1d6325a427dff2d6c78f.svg create mode 100644 charting_library/bundles/1e9f070f7e9ad9001725ada71182816b.jpeg create mode 100644 charting_library/bundles/1eafeadca5e616cc4525be1fb1caafc7.svg create mode 100644 charting_library/bundles/2006.21f12914e3a7a7515a25.css create mode 100644 charting_library/bundles/2006.21f12914e3a7a7515a25.rtl.css create mode 100644 charting_library/bundles/206725c980d03acbd1cc0e7f5ce69e40.svg create mode 100644 charting_library/bundles/2267.47b8ff4cd471e21cabab.css create mode 100644 charting_library/bundles/2267.47b8ff4cd471e21cabab.rtl.css create mode 100644 charting_library/bundles/2288.d3106e5fe660e6e0712c.css create mode 100644 charting_library/bundles/2288.d3106e5fe660e6e0712c.rtl.css delete mode 100644 charting_library/bundles/2301.327e64f11055caec2fc9.js delete mode 100644 charting_library/bundles/2316.b0ed604f1b75887fab7d.css create mode 100644 charting_library/bundles/2331.3b08f9cb7e919f979749.js create mode 100644 charting_library/bundles/2340.36ca0d43eb91dba77fa4.css create mode 100644 charting_library/bundles/2340.36ca0d43eb91dba77fa4.rtl.css create mode 100644 charting_library/bundles/23b30bfe2f6b2e6edf84470252fa5d54.svg create mode 100644 charting_library/bundles/2454.68d0887ef7e51d7bc269.js create mode 100644 charting_library/bundles/245f40c6e1d758167db8571398efaef2.svg create mode 100644 charting_library/bundles/2502.82e28010896833a0f183.js create mode 100644 charting_library/bundles/2525.1b05122f135a2c7f4818.css create mode 100644 charting_library/bundles/2525.1b05122f135a2c7f4818.rtl.css create mode 100644 charting_library/bundles/25b2c84d5406c64eefab940998518f5c.svg create mode 100644 charting_library/bundles/2624.f55c13c46f516986e4a2.css create mode 100644 charting_library/bundles/2624.f55c13c46f516986e4a2.rtl.css create mode 100644 charting_library/bundles/26b5353498b2ca25fcc597890e574005.svg create mode 100644 charting_library/bundles/27419b53618cdc6022ec621a38a2e27e.svg rename charting_library/bundles/{9309.aceadf5355c94350ec2c.css => 279.9540b575371a0ecfc0bc.css} (96%) rename charting_library/bundles/{9309.aceadf5355c94350ec2c.rtl.css => 279.9540b575371a0ecfc0bc.rtl.css} (96%) create mode 100644 charting_library/bundles/27ed1587b819df769e0fcdb40c17bc0a.svg rename charting_library/bundles/{4194.f5256f014a8f2810c953.css => 2888.658aee2f9aacb50e4bc9.css} (50%) create mode 100644 charting_library/bundles/2888.658aee2f9aacb50e4bc9.rtl.css create mode 100644 charting_library/bundles/2917.f809088053f9a1f9296c.js create mode 100644 charting_library/bundles/291ae25931a5df9f61006569e1fb2819.svg create mode 100644 charting_library/bundles/2947.01756d0de30a0c1fdebe.js create mode 100644 charting_library/bundles/29545fef24e0ecc8478adab4816bba30.svg create mode 100644 charting_library/bundles/2aecc106c5eb83ecada117376a8c8f2a.svg create mode 100644 charting_library/bundles/2b993200d16755e7ff303ad0c32f4919.svg create mode 100644 charting_library/bundles/2c22bc38345265a3c18504acca3e0d56.svg create mode 100644 charting_library/bundles/2c713a3aca13638904167e66cf9eeab0.svg create mode 100644 charting_library/bundles/2d4c81f5074ead4d91e24dce1782b828.svg create mode 100644 charting_library/bundles/2d9e49752791b82092387b7ffd7e427f.svg create mode 100644 charting_library/bundles/2dab12e8a6c93cdc361b475dcd7b3074.svg create mode 100644 charting_library/bundles/2e59cb1da31075c39dc3b0c1e75e5fd7.svg create mode 100644 charting_library/bundles/2f1e9623d075ac187394740ee1f6c377.svg create mode 100644 charting_library/bundles/2f71391908131b082aab4d129f7b5272.svg create mode 100644 charting_library/bundles/2fc23c00813c60848572b5d28ee7dfb9.svg create mode 100644 charting_library/bundles/3014.516162fd8b06ec2cad15.js delete mode 100644 charting_library/bundles/3016.47e1775fafc08b9df6b1.js create mode 100644 charting_library/bundles/3118.c14bad0abc6803f7cc64.css create mode 100644 charting_library/bundles/3118.c14bad0abc6803f7cc64.rtl.css delete mode 100644 charting_library/bundles/3199.f9bb1cc19bce0ed4e13a.js create mode 100644 charting_library/bundles/31dc9f78a1a526c14002cfcece0cc5d9.svg create mode 100644 charting_library/bundles/3245.428fb1c689b8d7beb80e.js create mode 100644 charting_library/bundles/32c094ea79fdd66912058ade88c27860.svg create mode 100644 charting_library/bundles/32cface5c212ebc32a5fd783e6072dd5.svg create mode 100644 charting_library/bundles/3304.02b3db44475a7ac3c3c1.js create mode 100644 charting_library/bundles/3332346bb9d5603152808536c3251c00.svg create mode 100644 charting_library/bundles/335343b286c304fe0ff472256b515659.svg create mode 100644 charting_library/bundles/33e4a650ec09d861a47f0f2c2d912774.svg create mode 100644 charting_library/bundles/33ead7196e74520279899683905fa945.svg create mode 100644 charting_library/bundles/36a36b038ee2b086d99f0dff97512fec.svg rename charting_library/bundles/{7176.90e52d563ea0d904aceb.css => 3713.d298aa7c89e61a75e4e2.css} (85%) rename charting_library/bundles/{7176.90e52d563ea0d904aceb.rtl.css => 3713.d298aa7c89e61a75e4e2.rtl.css} (85%) create mode 100644 charting_library/bundles/373623728d1fd56d6b7b9d228a6a2dd4.svg create mode 100644 charting_library/bundles/3738.66fe7fbb64065ac70351.js create mode 100644 charting_library/bundles/3812.21e37b91c0c961133d11.js rename charting_library/bundles/{2385.a7490fb24192a7cb071d.css => 3848.d011e1be1e35f2c09044.css} (51%) rename charting_library/bundles/{2385.a7490fb24192a7cb071d.rtl.css => 3848.d011e1be1e35f2c09044.rtl.css} (57%) create mode 100644 charting_library/bundles/386646a0d8b2c0e75d201d07083beb35.svg create mode 100644 charting_library/bundles/3952276d502a2b3659f3cb3c163e9541.svg create mode 100644 charting_library/bundles/3aeb0bb0575de40834fc666660380ae0.svg create mode 100644 charting_library/bundles/3aedcdb787ab2003b4f84578eabe8839.svg create mode 100644 charting_library/bundles/3b2b883e642979810780b787f4769e95.jpeg create mode 100644 charting_library/bundles/3bceb8e8c9086be15f6d9034fbb8ab90.svg create mode 100644 charting_library/bundles/3ce97881321c8c909b3d05f641fad866.svg create mode 100644 charting_library/bundles/3d1dbbd08f14657e981c2a0759373a97.svg create mode 100644 charting_library/bundles/3daf0fa39e9e67bfc0f12166dd01adfd.svg create mode 100644 charting_library/bundles/3f0b266c14a3e0a41685729a6dd63515.svg create mode 100644 charting_library/bundles/3fd81bada8bbd48683f94d307a01fac4.svg create mode 100644 charting_library/bundles/4002.3b0ae1c4e1bdb1e18c74.js delete mode 100644 charting_library/bundles/4194.f5256f014a8f2810c953.rtl.css create mode 100644 charting_library/bundles/428cfc463b541dfa1321f35af861fada.svg create mode 100644 charting_library/bundles/4364.857d262773326a44c55e.js create mode 100644 charting_library/bundles/43c5b49b5b8e01e4505c7c251746a8b7.svg rename charting_library/bundles/{6560.f01881003ac6fef45147.css => 4408.433afc31cc517d90040c.css} (86%) rename charting_library/bundles/{6560.f01881003ac6fef45147.rtl.css => 4408.433afc31cc517d90040c.rtl.css} (86%) create mode 100644 charting_library/bundles/4419319a45a29943de1cbb904c896305.svg create mode 100644 charting_library/bundles/44239307acfe2269d7827563273f2bfa.svg create mode 100644 charting_library/bundles/4497.3ced329964413f9bf307.css create mode 100644 charting_library/bundles/4497.3ced329964413f9bf307.rtl.css create mode 100644 charting_library/bundles/455e18987c2c85ec010fd1456751ab61.svg create mode 100644 charting_library/bundles/4634.2a4010396de3915172a8.css create mode 100644 charting_library/bundles/4634.2a4010396de3915172a8.rtl.css create mode 100644 charting_library/bundles/46eec22a6748063a64a9d7fdce4efc95.svg create mode 100644 charting_library/bundles/4752624c631776e721a978174febf46b.svg create mode 100644 charting_library/bundles/4791e97b8673d0b0ec66d93ef3f02bb0.svg create mode 100644 charting_library/bundles/47b1e1cc6cc78ac578822f22213f5eb3.svg create mode 100644 charting_library/bundles/47f09a2aa1752e19fb33290fcc46c47a.svg delete mode 100644 charting_library/bundles/4891.f1952d185e606d135bad.js create mode 100644 charting_library/bundles/492d9a718a2c25d234151474b0206977.svg create mode 100644 charting_library/bundles/4956.5be5245cef3e7dc84a04.css create mode 100644 charting_library/bundles/4956.5be5245cef3e7dc84a04.rtl.css create mode 100644 charting_library/bundles/4958ef32c0c1820de94cfe8a01f2f1cf.svg create mode 100644 charting_library/bundles/49d1ea5b7ccbfbae29bbc21c506e617c.svg create mode 100644 charting_library/bundles/4aaf8ecd499671f5404f7355e9b94ffa.svg create mode 100644 charting_library/bundles/4bba9cb57057b411f436fdcb98ab3e32.svg create mode 100644 charting_library/bundles/4bc8348594c9430c735366fc72d9f36b.svg create mode 100644 charting_library/bundles/4bd2362d901778b20ccc963f023833f6.svg create mode 100644 charting_library/bundles/4c2b4fdaa4afbe49682badbe3e6d5092.svg create mode 100644 charting_library/bundles/4f21dea2767b186965157eba97f085b2.svg create mode 100644 charting_library/bundles/4f7347b954545a7137c5b906707789e6.svg create mode 100644 charting_library/bundles/5030.f9501920ecfa388929c3.css create mode 100644 charting_library/bundles/5030.f9501920ecfa388929c3.rtl.css create mode 100644 charting_library/bundles/5064.1f384128ead8182b3a33.css create mode 100644 charting_library/bundles/5064.1f384128ead8182b3a33.rtl.css create mode 100644 charting_library/bundles/5069.3451a537bfe99e8c44be.css create mode 100644 charting_library/bundles/5069.3451a537bfe99e8c44be.rtl.css create mode 100644 charting_library/bundles/509.2aa31cf384069ff4cd5e.css create mode 100644 charting_library/bundles/509.2aa31cf384069ff4cd5e.rtl.css create mode 100644 charting_library/bundles/5096c47e88bb219a61b3192d3f3ee85c.svg create mode 100644 charting_library/bundles/5097be3164fb04ace2889628055b01cb.webp rename charting_library/bundles/{3402.82d9d45c3fb1eae5b64d.css => 5113.955b6e89f78634daaa87.css} (81%) rename charting_library/bundles/{3402.82d9d45c3fb1eae5b64d.rtl.css => 5113.955b6e89f78634daaa87.rtl.css} (83%) create mode 100644 charting_library/bundles/516336a4fcc5f7b651673adeedd38b68.svg create mode 100644 charting_library/bundles/5212daa031fa87a8a8ff5860132af72a.jpeg create mode 100644 charting_library/bundles/52452294a138eb19309852a5bba8fdf2.svg create mode 100644 charting_library/bundles/5298.90af5ad1a39fe163f644.css create mode 100644 charting_library/bundles/5298.90af5ad1a39fe163f644.rtl.css create mode 100644 charting_library/bundles/52be2cab70919abd4ba4dffefe331384.svg create mode 100644 charting_library/bundles/52d1261e628f634b5e62c0d6071d82c1.svg create mode 100644 charting_library/bundles/52d36f2ef75daabe5d00dc144cc9d4d6.svg create mode 100644 charting_library/bundles/5376.2aa38050f70a10c75dee.js create mode 100644 charting_library/bundles/5380.0fcbeffa9d76b47d7552.css create mode 100644 charting_library/bundles/5380.0fcbeffa9d76b47d7552.rtl.css rename charting_library/bundles/{6324.365b73847767a54140ab.css => 5399.5b37bdc7d523b1c795fb.css} (72%) rename charting_library/bundles/{6324.365b73847767a54140ab.rtl.css => 5399.5b37bdc7d523b1c795fb.rtl.css} (72%) create mode 100644 charting_library/bundles/53f95b864ea8104267dc566bfb803a23.svg create mode 100644 charting_library/bundles/53fe5ab19eeaaea654235a0bdb7f71f1.svg create mode 100644 charting_library/bundles/5423.7c2e49576fea7390d5de.js create mode 100644 charting_library/bundles/54405675d653aa1a161b6abcb43291ed.svg create mode 100644 charting_library/bundles/548b90a6603f1a11a0104f3be28274d5.svg create mode 100644 charting_library/bundles/553d50cd29b02ff10f3cb53302bece54.svg create mode 100644 charting_library/bundles/5579d8b53d2a1a0e6007198f97b91039.svg create mode 100644 charting_library/bundles/559bbd43de542185b04c719bc152c540.svg create mode 100644 charting_library/bundles/5618.8a62799c789da2a8c8a0.css create mode 100644 charting_library/bundles/5618.8a62799c789da2a8c8a0.rtl.css create mode 100644 charting_library/bundles/5708.c3364a7566b555162c99.css create mode 100644 charting_library/bundles/5708.c3364a7566b555162c99.rtl.css create mode 100644 charting_library/bundles/5733.ff2d007e3096cc677a13.css create mode 100644 charting_library/bundles/5733.ff2d007e3096cc677a13.rtl.css create mode 100644 charting_library/bundles/576e6465e16da65acd139607cb0febde.svg delete mode 100644 charting_library/bundles/5802.92bc0e290d3769e49cfb.css delete mode 100644 charting_library/bundles/5802.92bc0e290d3769e49cfb.rtl.css create mode 100644 charting_library/bundles/5824a756d7227972e0d24375246ee236.svg create mode 100644 charting_library/bundles/5835.ed17059c36bd9c957c54.css create mode 100644 charting_library/bundles/5835.ed17059c36bd9c957c54.rtl.css create mode 100644 charting_library/bundles/584a79e77d4432cf0ca27a1063d9ba0d.svg create mode 100644 charting_library/bundles/5904.25a33d6d7b0935e49721.css create mode 100644 charting_library/bundles/5904.25a33d6d7b0935e49721.rtl.css create mode 100644 charting_library/bundles/5911.25d75d2a641c68537541.css create mode 100644 charting_library/bundles/5911.25d75d2a641c68537541.rtl.css create mode 100644 charting_library/bundles/5962c52be69d3c2cb79834452a20bf16.svg create mode 100644 charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.css create mode 100644 charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.rtl.css create mode 100644 charting_library/bundles/5980ed8829231afb216d42cd14dfc746.svg create mode 100644 charting_library/bundles/5995.3a632f64335891f1e50f.js create mode 100644 charting_library/bundles/59e2b70bcb3a208d8b8dbe2b35a9dfb0.svg create mode 100644 charting_library/bundles/5b42511a0696d2cbb686e323db88556c.svg create mode 100644 charting_library/bundles/5c347ffc08d08d0f94ff06366781743d.svg create mode 100644 charting_library/bundles/5c568c6ba25fd3ccffedc7df6cdbcfc6.svg create mode 100644 charting_library/bundles/5c8483c70efc4d71c6bec8491e2ea918.svg create mode 100644 charting_library/bundles/5ca11f2dcd2b23a00d19e2160797c25d.jpeg create mode 100644 charting_library/bundles/5dfba3ffcfb87b70fcff70fe469745e0.svg create mode 100644 charting_library/bundles/60542233074e88f72cb7738cd671069f.svg create mode 100644 charting_library/bundles/6055.2fa2dff6b27ad1aa8299.js delete mode 100644 charting_library/bundles/6085.69a003daf8ea012f4dc7.js create mode 100644 charting_library/bundles/60df35582c6fbf690ee8aad4f66b528c.svg create mode 100644 charting_library/bundles/614cf27f508c538c23fd1e41dec69981.svg create mode 100644 charting_library/bundles/6169c60c8d04924d194452dff1191b8e.svg create mode 100644 charting_library/bundles/61da80123bd4db4b54f857a53d7718da.svg create mode 100644 charting_library/bundles/62bf57b352114c25f178d892fef2c1d8.svg create mode 100644 charting_library/bundles/637fc842362a44cdfab2f5a1945f5ad8.svg create mode 100644 charting_library/bundles/638.a7dbcc3801adb93fdc91.js create mode 100644 charting_library/bundles/63bccd48089718d7044ce87890d1af22.svg create mode 100644 charting_library/bundles/6438.d13cf32db05c4395beed.js create mode 100644 charting_library/bundles/6464.654bf43eb72d501be562.css create mode 100644 charting_library/bundles/6464.654bf43eb72d501be562.rtl.css create mode 100644 charting_library/bundles/6474d98d9f212d0a5b3edc7c81fce0a4.svg create mode 100644 charting_library/bundles/6475.249a3b34f1b557decee6.js create mode 100644 charting_library/bundles/650a8fb9d8083fd5887fa14d5a48b917.svg create mode 100644 charting_library/bundles/6543950df881e52d4ca8007a6013f7d0.svg create mode 100644 charting_library/bundles/65876f64a690a9c40a4f3d84367678ad.svg create mode 100644 charting_library/bundles/6602.a297e70e35cceabe17ef.js create mode 100644 charting_library/bundles/66b0098c00f242056c72b05aa3796de9.svg create mode 100644 charting_library/bundles/6708.c5991a4180881ef8eaec.css create mode 100644 charting_library/bundles/6708.c5991a4180881ef8eaec.rtl.css create mode 100644 charting_library/bundles/673445ed0114e00b2249801cf1fa2810.webp create mode 100644 charting_library/bundles/6750.9ee7b735c78b915db6f7.css create mode 100644 charting_library/bundles/6750.9ee7b735c78b915db6f7.rtl.css create mode 100644 charting_library/bundles/6767.4ce0a318e0eb8861d505.css create mode 100644 charting_library/bundles/6767.4ce0a318e0eb8861d505.rtl.css create mode 100644 charting_library/bundles/677ba99bfad6904fb5ff8b117e32715d.svg create mode 100644 charting_library/bundles/67ffddaaa5ddf676068d1d3f2fb47029.svg create mode 100644 charting_library/bundles/6895.5f890042edec19c4b9d3.css create mode 100644 charting_library/bundles/6895.5f890042edec19c4b9d3.rtl.css create mode 100644 charting_library/bundles/696572b26ab674046f403ec18f2b5e5d.svg create mode 100644 charting_library/bundles/6973.1014b5c98b0834d66915.js create mode 100644 charting_library/bundles/69938b544b1d77792db3e429284a98c1.svg create mode 100644 charting_library/bundles/6ae825abf83e791f0247b4143d5a85ad.svg create mode 100644 charting_library/bundles/6b4a6bb049ac33e322b700e50fc5b926.svg create mode 100644 charting_library/bundles/6c45a28c69aad8a75655bdd555d86f68.svg create mode 100644 charting_library/bundles/6ca6e081b7d7a80d94f38bf6ef9db3fa.svg create mode 100644 charting_library/bundles/6cc5af4752574eb61f0c8075ca1b7881.svg create mode 100644 charting_library/bundles/6ce4af2df856e7fd43f8786a3c3a2e5d.svg create mode 100644 charting_library/bundles/6cfd08ce7e4a1dbbd15225a8bf79a4e3.svg create mode 100644 charting_library/bundles/6d9fd8899d084d7f9698d9b2d5862c00.svg create mode 100644 charting_library/bundles/6dfaf2afda613a97ef15734acea4f691.svg create mode 100644 charting_library/bundles/6e8ce773ae74687cfa9576d1210fe5f6.svg create mode 100644 charting_library/bundles/6fcde21723892d962edac0d9998528d0.svg create mode 100644 charting_library/bundles/6fd906b30d990590754ae2e98b02d371.svg delete mode 100644 charting_library/bundles/7037.6c0a17273325fb793ea5.css delete mode 100644 charting_library/bundles/7037.6c0a17273325fb793ea5.rtl.css create mode 100644 charting_library/bundles/703f250335bd4e9b78c998de059612b2.svg create mode 100644 charting_library/bundles/7042e54b024475a394cb498377852b96.svg create mode 100644 charting_library/bundles/70464b308617ebaa2bc504b4a50c3463.svg create mode 100644 charting_library/bundles/70717ad43398a435ef78d38d226c6c37.svg create mode 100644 charting_library/bundles/7087220f54cd749f878bda12494954eb.svg create mode 100644 charting_library/bundles/71968c0503e30bbb4fe32b57c8fdd68d.svg delete mode 100644 charting_library/bundles/7210.9206636bbf39a902a0a9.js create mode 100644 charting_library/bundles/7231b99c7054c64e47372a672c441a6d.svg create mode 100644 charting_library/bundles/7232.eeabaf3541dfcb1398bb.css create mode 100644 charting_library/bundles/7232.eeabaf3541dfcb1398bb.rtl.css create mode 100644 charting_library/bundles/724.e580ce07c322679b0578.css create mode 100644 charting_library/bundles/724.e580ce07c322679b0578.rtl.css create mode 100644 charting_library/bundles/7245.1a82c73b622453a96bf6.css create mode 100644 charting_library/bundles/7245.1a82c73b622453a96bf6.rtl.css create mode 100644 charting_library/bundles/727813bcf45ceaaa481f086bcd697b95.svg create mode 100644 charting_library/bundles/727ca3bc1d3c5915d9ccc4ba3eee978a.svg create mode 100644 charting_library/bundles/72c3a3b432d2ad933ee80184f0524e7c.webp create mode 100644 charting_library/bundles/73dfc43daa272490acc92fd18d2efa97.svg create mode 100644 charting_library/bundles/74009555a8dd165b067723f234f915a5.svg create mode 100644 charting_library/bundles/7404.8ea65939d80e9ab20e73.js create mode 100644 charting_library/bundles/743d0db623f41a2597c1e441233e4a78.svg create mode 100644 charting_library/bundles/752c67ea7ac85fb0cd2f01623bd213bc.svg create mode 100644 charting_library/bundles/756e573bd5155c508a91d07c586c3669.svg create mode 100644 charting_library/bundles/7585c22521c2b4c30ed2c64d13bcb872.svg create mode 100644 charting_library/bundles/75af36c37801a630adf29c84bcb12855.svg create mode 100644 charting_library/bundles/7678.2a02d7fc5a1d8b8dff1f.js create mode 100644 charting_library/bundles/7b48652cf0047a3b3b7bad1b1741ad9f.svg create mode 100644 charting_library/bundles/7c1bfcd1b31737c6e9ec505673a6b3c7.jpeg create mode 100644 charting_library/bundles/7cc409e9b4b8e2ad95146d0ae8be70e5.svg create mode 100644 charting_library/bundles/7db71d6fd67fb9a029dbe9640728e788.svg create mode 100644 charting_library/bundles/7e42b51d668e0b400a9cb506aec1fc00.svg create mode 100644 charting_library/bundles/7eb7a15aebedb479210436be19e02f7f.svg create mode 100644 charting_library/bundles/7ef32ae8f080d2d6c6f0784e334e30e1.svg create mode 100644 charting_library/bundles/7f2643ac80c1d0560f78aa22b6e8b501.svg create mode 100644 charting_library/bundles/7f429d95a310b5fadba4ee69da66b4eb.svg create mode 100644 charting_library/bundles/7fb90d13db9ad6d2ddec01d48b241d85.svg create mode 100644 charting_library/bundles/7fc3c4075dd1ab62905126ce5623a7b5.svg create mode 100644 charting_library/bundles/802533204295f3c58b0072fdd6d46d1d.svg rename charting_library/bundles/{1594.34c11d6cc8a67dec7867.css => 8054.34c11d6cc8a67dec7867.css} (100%) rename charting_library/bundles/{1594.34c11d6cc8a67dec7867.rtl.css => 8054.34c11d6cc8a67dec7867.rtl.css} (100%) create mode 100644 charting_library/bundles/8138.26729089e9f03458af35.css create mode 100644 charting_library/bundles/8138.26729089e9f03458af35.rtl.css create mode 100644 charting_library/bundles/8178.183edf2ef18efa241210.js create mode 100644 charting_library/bundles/81f2326cf9c77d248b96f6bc5f80c13d.svg create mode 100644 charting_library/bundles/8247.92c794a740a939962228.css create mode 100644 charting_library/bundles/8247.92c794a740a939962228.rtl.css create mode 100644 charting_library/bundles/832264ecc6d4da63cbcff71ea9186b3e.svg create mode 100644 charting_library/bundles/833a14929e5d24379a09b7fab2f54002.svg create mode 100644 charting_library/bundles/8367.7c0a1d12f9627a67aa36.css create mode 100644 charting_library/bundles/8367.7c0a1d12f9627a67aa36.rtl.css create mode 100644 charting_library/bundles/8386a0d291cb7eb9183b942d59c52947.svg create mode 100644 charting_library/bundles/842fcb191878b2812c044528ff533832.svg create mode 100644 charting_library/bundles/85398f0b883442712a726600cec9c27d.svg create mode 100644 charting_library/bundles/858bcfa8c8d9c8d8551fcb9a8cdc2499.svg create mode 100644 charting_library/bundles/85f9662bfe09fc2b79d5d962fc3b6e1a.svg create mode 100644 charting_library/bundles/8673.cddd661446f4cbe31273.js create mode 100644 charting_library/bundles/869b5f01bc7105cc3788b584c5bc1bef.svg create mode 100644 charting_library/bundles/86e22a99d9d9ee81924e0b438e204dd7.svg create mode 100644 charting_library/bundles/8756.2b636aa87bb90a37e76d.css create mode 100644 charting_library/bundles/8756.2b636aa87bb90a37e76d.rtl.css create mode 100644 charting_library/bundles/883627aca446035b3986466acc71a69b.svg create mode 100644 charting_library/bundles/8844.902c220eb319c5a7b057.css create mode 100644 charting_library/bundles/8844.902c220eb319c5a7b057.rtl.css create mode 100644 charting_library/bundles/885565ce0ebf9919066eb4196290c711.svg delete mode 100644 charting_library/bundles/8883.edd50cff73a3164330f4.js create mode 100644 charting_library/bundles/8948.b703bd84d23db0af187d.css create mode 100644 charting_library/bundles/8948.b703bd84d23db0af187d.rtl.css create mode 100644 charting_library/bundles/8994.447098231daab300c4b8.js create mode 100644 charting_library/bundles/8a2b9871f3bdcda5fc3c8633ef6eef01.svg create mode 100644 charting_library/bundles/8a93b4ee0b50a4c92979c153ece2bcbd.webp create mode 100644 charting_library/bundles/8aac8f79a7e13ea8992d4cb7ea372de7.svg create mode 100644 charting_library/bundles/8b5301ac782c0b3c5144e7aae810127a.svg create mode 100644 charting_library/bundles/8bb689bddb6ff6d200d2aaaea2402f9f.svg create mode 100644 charting_library/bundles/8bb7f62042bd238c645c4213b08db12e.svg create mode 100644 charting_library/bundles/8bf52e61de18aca35d5a9e2f5ce14ae2.svg create mode 100644 charting_library/bundles/8c3b568f1adc6a626342305c8f60b203.svg create mode 100644 charting_library/bundles/8c6b45f07db2a25f33f279d2da19dc3b.svg create mode 100644 charting_library/bundles/8cf9d19315d87fe9bb98469d22f78a72.svg create mode 100644 charting_library/bundles/8d4be41f3f5d5923bc7574128be4cbe4.svg create mode 100644 charting_library/bundles/8dafbfd19f6d49a5e3ee8e41edc3264c.svg create mode 100644 charting_library/bundles/8dd2c8c165617fcccdc1a1e26990caba.svg create mode 100644 charting_library/bundles/8dd843123d511ff5adee498714213548.svg create mode 100644 charting_library/bundles/8e74262607de7641e1443e206ecf02d8.svg create mode 100644 charting_library/bundles/8ed702249e5be2de3aa98fb61301b23f.svg create mode 100644 charting_library/bundles/8f0a3dbc200954cc05d71f00f94c9918.svg create mode 100644 charting_library/bundles/8fdaa57f804bba3dc62f43d8ee0e76ce.svg create mode 100644 charting_library/bundles/9040.ef836fce63b5692a00a3.js create mode 100644 charting_library/bundles/90751c9bb2971c193dfbff053292e624.svg create mode 100644 charting_library/bundles/9179ddcfe12cfa621d2c0a261757a2fb.svg create mode 100644 charting_library/bundles/9297.20467c2b9cdcf6544815.css create mode 100644 charting_library/bundles/9297.20467c2b9cdcf6544815.rtl.css create mode 100644 charting_library/bundles/93748b7538eb622034881a9206d82dda.svg create mode 100644 charting_library/bundles/939c709099ed020091dc58cbd5207cbd.svg create mode 100644 charting_library/bundles/9410.cede90b73dc7bda7578a.css create mode 100644 charting_library/bundles/9410.cede90b73dc7bda7578a.rtl.css delete mode 100644 charting_library/bundles/9505.033a769154fc53ff7eca.js create mode 100644 charting_library/bundles/95127900436e4305bca6653ca8d9957f.svg create mode 100644 charting_library/bundles/953f6834f68153142229a6d2237076cf.svg create mode 100644 charting_library/bundles/9565.c69166c3f0d2b77c3979.css create mode 100644 charting_library/bundles/9565.c69166c3f0d2b77c3979.rtl.css create mode 100644 charting_library/bundles/957.7e1da618288b536c77d2.css create mode 100644 charting_library/bundles/957.7e1da618288b536c77d2.rtl.css create mode 100644 charting_library/bundles/9570.6e130410c18a92e289cd.css create mode 100644 charting_library/bundles/9570.6e130410c18a92e289cd.rtl.css create mode 100644 charting_library/bundles/9593.734c4bb23892ab13dac8.css create mode 100644 charting_library/bundles/9593.734c4bb23892ab13dac8.rtl.css create mode 100644 charting_library/bundles/95a7715d1c9835b4b280996e2493639c.svg create mode 100644 charting_library/bundles/9619f52114e3eb5ddafad0f641d090cf.svg create mode 100644 charting_library/bundles/9725.34bc625d639194ea9363.js create mode 100644 charting_library/bundles/976.93143479d06a7878a2a0.css create mode 100644 charting_library/bundles/976.93143479d06a7878a2a0.rtl.css delete mode 100644 charting_library/bundles/9811.b2796acbfd658ee82791.js delete mode 100644 charting_library/bundles/9837.80435cf54dcab1a9fa8e.js create mode 100644 charting_library/bundles/984b9115a6a09b9e5aa9d3a9bee31479.svg create mode 100644 charting_library/bundles/98d0d092bc4bf410d77c985fe872f359.webp create mode 100644 charting_library/bundles/98e91cfdd60e63d2da3aaac9c6680376.svg create mode 100644 charting_library/bundles/9957.6106d5c99e3556405b69.js create mode 100644 charting_library/bundles/9961.9ec3499981d0cb5615f7.css create mode 100644 charting_library/bundles/9961.9ec3499981d0cb5615f7.rtl.css create mode 100644 charting_library/bundles/9a4ecd71d78aab6194857007fcc20464.svg create mode 100644 charting_library/bundles/9b07bb7dc3737b56b1b93989582dfcae.webp create mode 100644 charting_library/bundles/9b10f00f014bc0f9d1a452e07a0d161a.svg create mode 100644 charting_library/bundles/9b5c4a3a01194407c91bf996bba0c1a4.svg create mode 100644 charting_library/bundles/9b979eba8adb5bda46b48a4d26ccf2de.svg create mode 100644 charting_library/bundles/9bd0f4d3395d3c7f81660e6885b07378.svg create mode 100644 charting_library/bundles/9ca15e62dcca53e34d89a4e5dc98522c.svg create mode 100644 charting_library/bundles/9cd754df5f0f7f46944a9abd08f279f6.svg create mode 100644 charting_library/bundles/9d4c66fc04fd990e8bfd29411fb33650.svg create mode 100644 charting_library/bundles/9d67227cfad5ec4cdbe9f0cd169856c5.svg create mode 100644 charting_library/bundles/9d7b9ed22b710cbeeb852226989e1bc7.svg create mode 100644 charting_library/bundles/9e8a00c2e2b16d8ece1e344906002df9.svg create mode 100644 charting_library/bundles/9efe6680cb2318c0ff0e818ade988fa1.svg create mode 100644 charting_library/bundles/9f9bbea98fd39966101544a0c55e14e5.svg create mode 100644 charting_library/bundles/a1276c0533823933334715fc20c6742e.svg create mode 100644 charting_library/bundles/a2f98c60137c8c2eb3d3fb96c7767876.svg create mode 100644 charting_library/bundles/a54eae35e396c3f9ec2c154c8389933e.svg create mode 100644 charting_library/bundles/a61ec3126315febd0304300cb8098ae5.svg create mode 100644 charting_library/bundles/a6827773500226a7aa4fb09ce14ad72d.svg create mode 100644 charting_library/bundles/a685e425d7c7db0c14c7b97352f4dd4b.svg create mode 100644 charting_library/bundles/a6b73d85f90f4b55b4d8560f175fb635.svg create mode 100644 charting_library/bundles/a6ccd18373271b1e45b1ca35f8825c8d.svg create mode 100644 charting_library/bundles/a7de26af1e65164293180f1c5ddcf8de.svg create mode 100644 charting_library/bundles/a824441dbd28500e1d345c0b62aa4220.svg create mode 100644 charting_library/bundles/a825a6c4082ba46b45131ab0bd16d96c.svg create mode 100644 charting_library/bundles/a83c7f196f69856c6661350dcd280ca2.svg create mode 100644 charting_library/bundles/a846e4087642a8ea8bf05187847140c6.svg create mode 100644 charting_library/bundles/a86b168bc533484e6274628d63888308.svg create mode 100644 charting_library/bundles/ab02a73c827877d701e4dd32eb729ed9.svg create mode 100644 charting_library/bundles/ab0aa08606b4a9db4f1d6115cbff1246.svg create mode 100644 charting_library/bundles/ab7157b7c6ad79e8d21141a860febcfa.svg create mode 100644 charting_library/bundles/aca94e827472fdbe847af7982d2e10f1.svg create mode 100644 charting_library/bundles/acbf476d27fe229ca0b0c1fc6df67e35.svg create mode 100644 charting_library/bundles/ad82bf804943b35baebe7dff417a2904.svg create mode 100644 charting_library/bundles/add-compare-dialog.2967dfb4ca0b9cbae879.js delete mode 100644 charting_library/bundles/add-compare-dialog.afe8089e0ca57f411f21.js create mode 100644 charting_library/bundles/add0043e9139708b7ec71b15a1cfdf4c.svg create mode 100644 charting_library/bundles/af2c0f390cd0b5ef8d2bd4ba4e521a34.svg create mode 100644 charting_library/bundles/af585e7389cfe3a827192dbe445b4935.svg create mode 100644 charting_library/bundles/aff9c5fc514db3e7e69d496ce27c6a19.svg create mode 100644 charting_library/bundles/alarm_clock.48d3df0afe4d4981523b8a12e4e25f92.mp3 create mode 100644 charting_library/bundles/alert-dialog.42e245eb82504c55c632.js create mode 100644 charting_library/bundles/alert-editor-impl.31bd1bd6a919d8561787.js create mode 100644 charting_library/bundles/alert-utils-has-user-access-to-data-source.0e28597ad557f8895261.js create mode 100644 charting_library/bundles/alerts-push-dialog.50e30fb052b79616ce1d.js create mode 100644 charting_library/bundles/alerts-trigger-warning-dialog-impl.9bffee22d66ddcf75e00.js create mode 100644 charting_library/bundles/b0d7e0e6fa1209b8a82a5566879e8439.svg create mode 100644 charting_library/bundles/b119250cad0725ccc4f8288726f56f6b.svg create mode 100644 charting_library/bundles/b1cad18bd8a6be021c3177353bda5345.svg create mode 100644 charting_library/bundles/b1ee1e8ecc3caeb6e4e1dd6d5a45e2c8.svg create mode 100644 charting_library/bundles/b2011711183a64af88730986168af032.svg create mode 100644 charting_library/bundles/b31adf0f45d2fb04730c422394eb6ae2.svg create mode 100644 charting_library/bundles/b4dd685fee80f6fff4b6e34f4e7725ac.svg create mode 100644 charting_library/bundles/b51b73c5dc965960d789d4616c9372e5.svg create mode 100644 charting_library/bundles/b66a640126ab548895d37446e81edb06.svg create mode 100644 charting_library/bundles/b6a66bf5808bbb5de2d3bf45a5971fbd.svg create mode 100644 charting_library/bundles/b755b85a9536ead06ef26ecd24724e0c.svg create mode 100644 charting_library/bundles/b8b5ebf760eccf4bd10d0c3ccd100800.svg create mode 100644 charting_library/bundles/b9a5c368e039eba4bf66e0f75e899eb7.svg create mode 100644 charting_library/bundles/b9ef74d4cc68a3ee92fc345b70753629.svg create mode 100644 charting_library/bundles/ba436c3f80a5432a73402891d8ed04bf.svg create mode 100644 charting_library/bundles/ba8de9bab341fb25cc068a78171500ba.svg create mode 100644 charting_library/bundles/bbcdb3a466a748485f84b550145804dc.svg create mode 100644 charting_library/bundles/bbd4456a4e25c099b7f49fe4f00e032f.svg create mode 100644 charting_library/bundles/bc4c0e86357177d9b1ed96f8568684d1.svg create mode 100644 charting_library/bundles/bdb5b8a0770dc62f8db3d518656ad60f.webp create mode 100644 charting_library/bundles/bf56aba49a57eba71be490bc83a7071c.svg create mode 100644 charting_library/bundles/bf89688b20c1bf96847619b6059daaf5.svg create mode 100644 charting_library/bundles/blackfriday-dialog-impl.376e62a20f73b99b196d.js create mode 100644 charting_library/bundles/c229767ec3f6e517744b027e36b24831.svg create mode 100644 charting_library/bundles/c26643f969ec665d63ddfe7dbcf16871.svg create mode 100644 charting_library/bundles/c2a5c0fb8c6ef112474fde18c2946640.svg create mode 100644 charting_library/bundles/c33468197e6cfac63316a6cd3a67cd6c.svg create mode 100644 charting_library/bundles/c3bf6a8b432dba36fcdb79e0e7b892e4.svg create mode 100644 charting_library/bundles/c3e25206d17a8de5275c5c18c6377d52.svg create mode 100644 charting_library/bundles/c416c4db2f76c13e5cfb1cd73b057264.svg create mode 100644 charting_library/bundles/c4978c8d35ff46ddde11765f574e2586.svg create mode 100644 charting_library/bundles/c4ba5e799038b2fac1d8a5cee58aac2d.svg create mode 100644 charting_library/bundles/c5bcb60600a07405427fb25b45bc6e53.svg create mode 100644 charting_library/bundles/c65f8d4a514fd5839e611a6c7f146acb.svg create mode 100644 charting_library/bundles/c6c91cffc0948504960b9ffa03ec3eb8.svg create mode 100644 charting_library/bundles/c7232e3bcddb5cf2fedab803b86d4e88.svg create mode 100644 charting_library/bundles/c7b2bfd6a12a1c0991a575c3b31ad7b6.svg create mode 100644 charting_library/bundles/c7c3797c2ad50f90c7c5e767a4822af2.svg create mode 100644 charting_library/bundles/c8d5bc45cecd625d597da5bc33011da7.svg create mode 100644 charting_library/bundles/c9fe6a08de1ec5ba4f5ab0f80ce4d761.jpeg create mode 100644 charting_library/bundles/ca21ee51c72ab8851ed796a469ec00b8.svg create mode 100644 charting_library/bundles/cab55de6e22849402b5982a8e390c8fb.svg create mode 100644 charting_library/bundles/cbd8834b7f336d8d6aa529e87ea89c5d.svg create mode 100644 charting_library/bundles/cc72d282b465b57676eca56e46cf1e8c.svg create mode 100644 charting_library/bundles/ccac1949542b285e1ce6a4fe7f67d942.svg create mode 100644 charting_library/bundles/cd8614eed2c9ecd0111030d6ae43b07c.svg create mode 100644 charting_library/bundles/cddf3ae477d555d4eed060347c2268eb.svg create mode 100644 charting_library/bundles/cddf468f55cf701e442982e83f9a67f6.woff2 create mode 100644 charting_library/bundles/cec10b6e9e7839abaff324919dae8402.webp create mode 100644 charting_library/bundles/cf8abee42c4cb03e0a2105caec8909eb.svg create mode 100644 charting_library/bundles/change-interval-dialog.79c9929e7fd0b7e6c245.js delete mode 100644 charting_library/bundles/change-interval-dialog.d42e666ed16322d7bc67.js create mode 100644 charting_library/bundles/change-plan-dialog-impl.010252ca2577d034ddb4.js delete mode 100644 charting_library/bundles/chart-bottom-toolbar.398cd093b8aefc945d7a.js create mode 100644 charting_library/bundles/chart-bottom-toolbar.61a521bae909ba6271cb.js delete mode 100644 charting_library/bundles/chart-event-hint.2772e96b4497fbe5a15b.js create mode 100644 charting_library/bundles/chart-event-hint.7174ec43ce875310edd1.js delete mode 100644 charting_library/bundles/chart-screenshot-hint.0cb36b737a8e2345986f.js create mode 100644 charting_library/bundles/chart-screenshot-hint.49f947cd29db6dfcf59f.js rename charting_library/bundles/{chart-widget-gui.3f2a59a4ea5dd17c785c.js => chart-widget-gui.1cae41f1cb32b31857bc.js} (98%) delete mode 100644 charting_library/bundles/context-menu-renderer.c51a5b07782e9509b684.js create mode 100644 charting_library/bundles/context-menu-renderer.e8aa606750391369d706.js create mode 100644 charting_library/bundles/cookies-notification.9ed1e7a17da61937dc4e.js create mode 100644 charting_library/bundles/create-dialog.cf7e24e193258f0fb5c7.js delete mode 100644 charting_library/bundles/currency-label-menu.4cf6e944a1702031903f.js create mode 100644 charting_library/bundles/currency-label-menu.ccab0620dccaa2883306.js delete mode 100644 charting_library/bundles/custom-intervals-add-dialog.4f43b1b0de65b2b6006c.js create mode 100644 charting_library/bundles/custom-intervals-add-dialog.920509097ccec051c51a.js create mode 100644 charting_library/bundles/d17555267bdf6ed9e01a7f4d525ef080.svg create mode 100644 charting_library/bundles/d19fbe51ce3d398848b6825d6618ad21.svg create mode 100644 charting_library/bundles/d1f58926528e2a3debceb59dff7e58b0.svg create mode 100644 charting_library/bundles/d369378aefaaed47363bffaedb308143.svg create mode 100644 charting_library/bundles/d3c2e6ce4be2a5b1bf9ca5a18d2d1238.svg create mode 100644 charting_library/bundles/d4b8b8cb1909ea6d3f0a3182c8ec0a96.svg create mode 100644 charting_library/bundles/d6d0f38ab696185b41d6421c65541584.webp create mode 100644 charting_library/bundles/d716b83b8ba7ad3cbabcf91275c88711.webp create mode 100644 charting_library/bundles/d7b56af17bc6de43c045962d843a94f3.svg create mode 100644 charting_library/bundles/d83a6296db053e3ab36abfd851a88f66.svg create mode 100644 charting_library/bundles/d84b6cf7427c0922056517dad6f0d0bb.svg create mode 100644 charting_library/bundles/d92d6ecce7375134958d8e623f59dd3e.svg create mode 100644 charting_library/bundles/d9da6caea5ca1cd55417f1978b047b13.svg create mode 100644 charting_library/bundles/db0cca97f734763ceccce1e1c3c88430.jpeg create mode 100644 charting_library/bundles/dc280b6d3ed8a4c98e32fb60d6c17eca.svg create mode 100644 charting_library/bundles/dddac09a7572568f517e22700f4c8474.svg create mode 100644 charting_library/bundles/de4367c3fa9f075bbf58943188ba32b3.svg create mode 100644 charting_library/bundles/de7f5bc35af05c24d9640b6fd0910bdf.svg create mode 100644 charting_library/bundles/dea459c5c4ebb211e652e99cd6ba6354.svg create mode 100644 charting_library/bundles/df2e77a08c4fed3f6d7a5e653e4ca2b2.svg create mode 100644 charting_library/bundles/drawing-toolbar.3ac6efdaf16c335ac4ea.js delete mode 100644 charting_library/bundles/drawing-toolbar.5b28dda6a3b56e3f7110.js create mode 100644 charting_library/bundles/e01f83be117e562a91ac14daa904e198.svg create mode 100644 charting_library/bundles/e097b411b3e34f5a4a979cc428c289b1.svg create mode 100644 charting_library/bundles/e129b4d2d79d07ecf5b6b7c4d10b83fb.svg create mode 100644 charting_library/bundles/e16dc229d6775b39b80e8958d6095e05.svg create mode 100644 charting_library/bundles/e2fa422bd9aedee688fb7765794fd5c2.svg create mode 100644 charting_library/bundles/e30c321e33a1859340a2bb6037bff515.svg create mode 100644 charting_library/bundles/e33a72eb50fe28dc0289c2257014fc6a.svg create mode 100644 charting_library/bundles/e40ab9cc58df416f4b384648a7af369c.svg create mode 100644 charting_library/bundles/e4bd61c262d0b67207545a967cb51d7f.svg create mode 100644 charting_library/bundles/e561e7a86e83dab817de9b4fba1be15e.svg create mode 100644 charting_library/bundles/e5dccab09e22148aa733ae7e0962f0a4.svg create mode 100644 charting_library/bundles/e5f4dc26e80c421603f8b42336412643.svg create mode 100644 charting_library/bundles/e62b523f0ed069cf4e2afa903fece44f.svg create mode 100644 charting_library/bundles/e7b7ff011682d59763997a75104c9979.svg create mode 100644 charting_library/bundles/e7ed49ce872797c8630fd5f8446ffbee.svg create mode 100644 charting_library/bundles/e8b18b343c3c9e2d653fc3a550de819f.svg create mode 100644 charting_library/bundles/e8e5b1c68e4f95acd9322863c0b363f6.svg create mode 100644 charting_library/bundles/e97d7f751ade192748c3e05a54ead255.svg create mode 100644 charting_library/bundles/e9a1bd918b9924de48740078fc49f7c8.svg create mode 100644 charting_library/bundles/ea2822078cff5228899c74ce3525125c.svg create mode 100644 charting_library/bundles/early-bird-banner.63639de641b064c620c2.js create mode 100644 charting_library/bundles/early-bird-dialog.b9daeb69416b2c6d8d50.js create mode 100644 charting_library/bundles/eb8399f5df28ee8b30713ca340c7dd8e.jpeg create mode 100644 charting_library/bundles/ebca4cec794b70db74c63a7e6aca8ed8.svg create mode 100644 charting_library/bundles/ec31494f78cee41a02dbfbafba232515.svg create mode 100644 charting_library/bundles/ec5d7209357ae85877aeb054c2bdb313.svg create mode 100644 charting_library/bundles/ec6d305d7d06a84ea3f54c3d6db5e83a.svg create mode 100644 charting_library/bundles/ec773b52c3fc4ccd7a5a86a577674e84.svg create mode 100644 charting_library/bundles/ed080993df791efad30f99a0e698601e.svg create mode 100644 charting_library/bundles/ed0ca2ab048260b30ad78d7b82749494.svg create mode 100644 charting_library/bundles/ed5c3ae146310a1a24fcde23e7b60bb1.svg create mode 100644 charting_library/bundles/ee2bdfea45e5aca4518fe3ae1e115904.svg create mode 100644 charting_library/bundles/ee399eb1fa7a749581dc585db32b9db4.svg create mode 100644 charting_library/bundles/efef6421ade56c03ee355809562ecbc0.svg create mode 100644 charting_library/bundles/email-dialog.11c06641e902f3048b83.js create mode 100644 charting_library/bundles/f071c28bf387d220afe4bd2c6f60323a.svg create mode 100644 charting_library/bundles/f073a4ed2f2edbf549bad8b3c546af03.svg create mode 100644 charting_library/bundles/f10291bc2bf8e3dea0bb036041d3e89f.svg create mode 100644 charting_library/bundles/f15ab85cea9ea5749e2befe786e1c9d3.svg create mode 100644 charting_library/bundles/f29883fbecb99912bbfeb0897f8b4edc.svg create mode 100644 charting_library/bundles/f3530d099857810e5d04b52373b1cb41.svg create mode 100644 charting_library/bundles/f3fb677a4f9680b6b5f45fc41b04688d.svg create mode 100644 charting_library/bundles/f4d0c0597f2db7dcd7cd774b822de366.svg create mode 100644 charting_library/bundles/f5ed10ec1625eb393ada7073b9afd17e.svg create mode 100644 charting_library/bundles/f6f3045f75b50af8eb75a84a81c1816f.svg create mode 100644 charting_library/bundles/f8385849a7dacc12bc2195528ceb1085.svg create mode 100644 charting_library/bundles/f869295c1d9ceedfc8c6ddd92efb8ca2.svg create mode 100644 charting_library/bundles/f89dbcaf40a5563735910a76243dc1b3.svg create mode 100644 charting_library/bundles/f8f54d8b574077d60ffb81a4bc19ed57.svg create mode 100644 charting_library/bundles/f98fa40daa7d9e2981645268d2a38d52.svg create mode 100644 charting_library/bundles/fa0f0ffdb522cb20d692df5233f45074.jpeg create mode 100644 charting_library/bundles/fba03cbebf73ac8a537f901ec25dd0be.svg create mode 100644 charting_library/bundles/fbd9c87447564af33463832c85652af0.svg create mode 100644 charting_library/bundles/fd1f2a821ac21b8c757f95ba0b5032e0.svg create mode 100644 charting_library/bundles/fd3642416e066a41978041df1fce04c8.svg create mode 100644 charting_library/bundles/fe631cd46d01b4816097228f3591db19.svg create mode 100644 charting_library/bundles/fe924d5d871ef07299ad5e11db2c8a70.svg create mode 100644 charting_library/bundles/ff8661f5c81b7137caa81145ed74b154.svg delete mode 100644 charting_library/bundles/floating-toolbars.9319534e46a9e0511fbc.js create mode 100644 charting_library/bundles/floating-toolbars.eba8db3eef8c6a5ad047.js create mode 100644 charting_library/bundles/full-tooltips-popup.7ab1067f92b52f07297b.js delete mode 100644 charting_library/bundles/full-tooltips-popup.d80e5db5b5d195e2517b.js create mode 100644 charting_library/bundles/fullscreen-image-dialog-impl.96661b3d18a6fe1cf637.js rename charting_library/bundles/{general-chart-properties-dialog.f56362c75973e41ee012.js => general-chart-properties-dialog.c03cba9c7cf0c46b99e6.js} (99%) rename charting_library/bundles/{general-property-page.1d681e46e32eeb7bd566.js => general-property-page.0218f1b33618fc491a70.js} (99%) create mode 100644 charting_library/bundles/global-toasts.4e2377e6bac59b8285e6.js delete mode 100644 charting_library/bundles/go-to-date-dialog-impl.2bf2c3f997463af55494.js create mode 100644 charting_library/bundles/go-to-date-dialog-impl.9a15fd8109d81fcece3b.js create mode 100644 charting_library/bundles/go-to-tradingview-referral-dialog.3ff513f8887e148c67d1.js create mode 100644 charting_library/bundles/gopro-dialog.10fd967147ea7ef9c57b.js create mode 100644 charting_library/bundles/gopro-order-dialog.a9d6c7f1fa03844e1cfb.js create mode 100644 charting_library/bundles/header-toolbar.6e0f6b8f50c83c8a6dc1.js delete mode 100644 charting_library/bundles/header-toolbar.cfb40d569cc84fb5a999.js create mode 100644 charting_library/bundles/jquery.06844b74f8270fb0698b.js create mode 100644 charting_library/bundles/last-chance-banner.0210ab3cfb4e94797db1.js create mode 100644 charting_library/bundles/lazy-velocity.c4899589f501eea00e5f.js delete mode 100644 charting_library/bundles/library.8bd9d3718abf7c0eb38d.js create mode 100644 charting_library/bundles/library.dba373dbc4943dc69a07.js delete mode 100644 charting_library/bundles/load-chart-dialog.35a2a7b957a4a4ecde2f.js create mode 100644 charting_library/bundles/load-chart-dialog.cd5fbcdffc1ad4008003.js create mode 100644 charting_library/bundles/lollipop-tooltip-renderer.0ceff3b7ae8ca6b64473.js delete mode 100644 charting_library/bundles/lollipop-tooltip-renderer.a408d5bf42843ff46541.js rename charting_library/bundles/{lt-pane-views.0d4b5b1bbff664aa4bbd.js => lt-pane-views.64f0e2787aaea98f864f.js} (91%) rename charting_library/bundles/{new-confirm-inputs-dialog.f334374efc8ad7fe9ea9.js => new-confirm-inputs-dialog.74701800dcf34f21dcae.js} (99%) delete mode 100644 charting_library/bundles/new-edit-object-dialog.833907d615c0a923a83e.js create mode 100644 charting_library/bundles/new-edit-object-dialog.fb0b794a73b3e6d05f6b.js create mode 100644 charting_library/bundles/object-tree-dialog.eecc10d129b521b3edf1.js delete mode 100644 charting_library/bundles/object-tree-dialog.f7df9d670cdf61d960af.js create mode 100644 charting_library/bundles/one-usd-banner.bf548661215c404433e5.js create mode 100644 charting_library/bundles/price-alerts-dispatcher.416bae3f764ba35699c2.js create mode 100644 charting_library/bundles/privacy-preference-dialog.0012f6ddb64dd5553a72.js create mode 100644 charting_library/bundles/profile-api.30da856643b32b7a502f.js create mode 100644 charting_library/bundles/restricted-toolset.6e034375d57dd0341299.js delete mode 100644 charting_library/bundles/restricted-toolset.e7ec0040c08ca2374480.js delete mode 100644 charting_library/bundles/runtime.1c5f2159678050219bc6.js create mode 100644 charting_library/bundles/runtime.e861c3f73de2a48d47a3.js create mode 100644 charting_library/bundles/show-warning-alerts-max-total-count-exceeded.f45f575da01e51b48505.js create mode 100644 charting_library/bundles/signin-dialog.e9f4471305a72e10e137.js delete mode 100644 charting_library/bundles/simple-dialog.14e9ec0c02af5afd0347.js create mode 100644 charting_library/bundles/simple-dialog.f98fb16a5780aa202541.js create mode 100644 charting_library/bundles/six-months-banner.956ef2d7d4cd4dd382aa.js create mode 100644 charting_library/bundles/six-months-dialog.2397e41c2cae1012afe5.js create mode 100644 charting_library/bundles/snowplow-tracker.35ffaa6b100e0786831a.js create mode 100644 charting_library/bundles/start-free-trial-bt-impl.40d3f4e46da06f9c678e.js create mode 100644 charting_library/bundles/start-free-trial-impl.46ed8d43707329dbf0fc.js create mode 100644 charting_library/bundles/study-market.a71cabfe36a376ab73a2.js delete mode 100644 charting_library/bundles/study-market.dce1b9689542de2ec2c4.js create mode 100644 charting_library/bundles/study-template-dialog.45a0e337870e6bb57e1b.js delete mode 100644 charting_library/bundles/study-template-dialog.53a4d00015fbeb7f3529.js create mode 100644 charting_library/bundles/subscription-has-changed-dialog.88a72a8c6db5fd268345.js create mode 100644 charting_library/bundles/support-dialog-impl.a2bd4a673fa2a215cf0b.js create mode 100644 charting_library/bundles/support-wizard-slow-warning.a8c40c040087722de686.js delete mode 100644 charting_library/bundles/symbol-info-dialog-impl.39f3d6120103dd6f672c.js create mode 100644 charting_library/bundles/symbol-info-dialog-impl.89d39de5fb3e5ca4542b.js delete mode 100644 charting_library/bundles/symbol-search-dialog.6e76d0b3734157609c5c.js create mode 100644 charting_library/bundles/symbol-search-dialog.f668aac5ec3ae2fec62a.js delete mode 100644 charting_library/bundles/take-chart-image-impl.5287e059e159029b1913.js create mode 100644 charting_library/bundles/take-chart-image-impl.56cd69b21fd8de87abad.js create mode 100644 charting_library/bundles/trial-message-success-dialog.dad87576a21c86fab7b8.js create mode 100644 charting_library/bundles/trial-notification.e9b6d98c2e7608050f98.js create mode 100644 charting_library/bundles/tvscript_chunk.e9768cd8eb72616bfafa.js create mode 100644 charting_library/bundles/upgradeDialog.b5c7e23d29874316e21c.js create mode 100644 charting_library/bundles/use-prism-highlight-all-under.547a9e83b408bfc4d1a7.js create mode 100644 charting_library/bundles/warning-dialog.ab50d177e34bd851e70f.js delete mode 100644 charting_library/cs-tv-locale.3fdcc43e.js create mode 100644 charting_library/cs-tv-locale.fd133747.js delete mode 100644 charting_library/da_DK-tv-locale.3fdcc43e.js create mode 100644 charting_library/da_DK-tv-locale.fd133747.js delete mode 100644 charting_library/de-tv-locale.3fdcc43e.js create mode 100644 charting_library/de-tv-locale.fd133747.js delete mode 100644 charting_library/el-tv-locale.3fdcc43e.js create mode 100644 charting_library/el-tv-locale.fd133747.js delete mode 100644 charting_library/en-tv-locale.3fdcc43e.js create mode 100644 charting_library/en-tv-locale.fd133747.js delete mode 100644 charting_library/es-tv-locale.3fdcc43e.js create mode 100644 charting_library/es-tv-locale.fd133747.js delete mode 100644 charting_library/et_EE-tv-locale.3fdcc43e.js create mode 100644 charting_library/et_EE-tv-locale.fd133747.js delete mode 100644 charting_library/fa-tv-locale.3fdcc43e.js create mode 100644 charting_library/fa-tv-locale.fd133747.js delete mode 100644 charting_library/fr-tv-locale.3fdcc43e.js create mode 100644 charting_library/fr-tv-locale.fd133747.js delete mode 100644 charting_library/he_IL-tv-locale.3fdcc43e.js create mode 100644 charting_library/he_IL-tv-locale.fd133747.js delete mode 100644 charting_library/hu_HU-tv-locale.3fdcc43e.js create mode 100644 charting_library/hu_HU-tv-locale.fd133747.js delete mode 100644 charting_library/id_ID-tv-locale.3fdcc43e.js create mode 100644 charting_library/id_ID-tv-locale.fd133747.js delete mode 100644 charting_library/it-tv-locale.3fdcc43e.js create mode 100644 charting_library/it-tv-locale.fd133747.js delete mode 100644 charting_library/ja-tv-locale.3fdcc43e.js create mode 100644 charting_library/ja-tv-locale.fd133747.js delete mode 100644 charting_library/ko-tv-locale.3fdcc43e.js create mode 100644 charting_library/ko-tv-locale.fd133747.js delete mode 100644 charting_library/ms_MY-tv-locale.3fdcc43e.js create mode 100644 charting_library/ms_MY-tv-locale.fd133747.js delete mode 100644 charting_library/nl_NL-tv-locale.3fdcc43e.js create mode 100644 charting_library/nl_NL-tv-locale.fd133747.js delete mode 100644 charting_library/no-tv-locale.3fdcc43e.js create mode 100644 charting_library/no-tv-locale.fd133747.js delete mode 100644 charting_library/pl-tv-locale.3fdcc43e.js create mode 100644 charting_library/pl-tv-locale.fd133747.js delete mode 100644 charting_library/pt-tv-locale.3fdcc43e.js create mode 100644 charting_library/pt-tv-locale.fd133747.js delete mode 100644 charting_library/ro-tv-locale.3fdcc43e.js create mode 100644 charting_library/ro-tv-locale.fd133747.js delete mode 100644 charting_library/ru-tv-locale.3fdcc43e.js create mode 100644 charting_library/ru-tv-locale.fd133747.js delete mode 100644 charting_library/sk_SK-tv-locale.3fdcc43e.js create mode 100644 charting_library/sk_SK-tv-locale.fd133747.js delete mode 100644 charting_library/sv-tv-locale.3fdcc43e.js create mode 100644 charting_library/sv-tv-locale.fd133747.js delete mode 100644 charting_library/th-tv-locale.3fdcc43e.js create mode 100644 charting_library/th-tv-locale.fd133747.js delete mode 100644 charting_library/tr-tv-locale.3fdcc43e.js create mode 100644 charting_library/tr-tv-locale.fd133747.js delete mode 100644 charting_library/vi-tv-locale.3fdcc43e.js create mode 100644 charting_library/vi-tv-locale.fd133747.js delete mode 100644 charting_library/zh-tv-locale.3fdcc43e.js create mode 100644 charting_library/zh-tv-locale.fd133747.js delete mode 100644 charting_library/zh_TW-tv-locale.3fdcc43e.js create mode 100644 charting_library/zh_TW-tv-locale.fd133747.js create mode 100644 package.json diff --git a/charting_library.d.ts b/charting_library.d.ts new file mode 100644 index 00000000..250a5c6e --- /dev/null +++ b/charting_library.d.ts @@ -0,0 +1,5 @@ +export * from './charting_library/charting_library'; +declare module 'charting_library/datafeeds/udf/dist/bundle' { + const UDFCompatibleDatafeed: typeof import('./datafeeds/udf/src/udf-compatible-datafeed').UDFCompatibleDatafeed; + export { UDFCompatibleDatafeed }; +} diff --git a/charting_library/ar-tv-locale.3fdcc43e.js b/charting_library/ar-tv-locale.3fdcc43e.js deleted file mode 100644 index 5335d2c3..00000000 --- a/charting_library/ar-tv-locale.3fdcc43e.js +++ /dev/null @@ -1 +0,0 @@ -var _tv_languages=_tv_languages||{};_tv_languages.ar={Cancel:"إلغاء",Price:"سعر",Currency:"عملة",Open:"إفتتاح",Volume:"حجم التداول",Comment:"تعليق","Editors' picks":"مختارات المحرر","powered by":"مدعوم من",Chart:"الرسوم البيانية",Search:"بحث","Learn more":"تعرف على المزيد",Date:"التاريخ",Source:"مصدر",Description:"الوصف",Settings:"إعدادات",Background:"الخلفية",Border:"الإطار",Apply:"تطبيق",Symbol:"رمز",Timezone:"توقيت",Bars:"أعمدة",Candles:"شموع","Heikin Ashi":"هايكين آشي",Line:"خط",Area:"مساحة",Currencies:"العملات",Exchange:"بورصة التداول",Grid:"شبكة",Trading:"تداول",More:"المزيد",Indicators:"مؤشرات",Prices:"أسعار","Head and Shoulders":"نموذج الرأس والكتفين",Flag:"علم",Rectangle:"مستطيل","Parallel Channel":"قناة متوازية",Triangle:"مثلث","Gann Box":"صندوق جان","Gann Fan":"مروحة جان","Gann Square":"مربع جان",Inputs:"مدخلات",Error:"خطأ",Remove:"حذف",January:"يناير",February:"فبراير",March:"مارس",April:"أبريل",May:"مايو",June:"يونيو",July:"يوليو",August:"أغسطس",September:"سبتمبر",October:"أكتوبر",November:"نوفمبر",December:"ديسمبر","Indicators & Strategies":"المؤشرات والاستراتيجيات",Change:"تغيير","Hong Kong":"هونج كونج",forex:"فوركس",Type:"نوع","Invalid Symbol":"رمز غير صحيح",Bahrain:"البحرين",Luxembourg:"لوكسمبورغ","New Zealand":"نيوزلندا",Qatar:"قطر",Singapore:"سنغافورة",Ok:"موافق","N/A":"غير متاح",Properties:"خصائص",Absolute:"مطلق",d_dates:"يوم",h_dates:"ساعة",m_dates:"دقيقة",s_dates:"s","At close":"عند الإغلاق",Holiday:"عطلة","Click to set a point":"انقر لتحديد نقطة","Move the point to position the anchor then tap to place":"حرّك النقطة لتغيير موضع المُثبّت ثم اضغط لوضعه","Double-click to finish Path":"انقر مرتيين لإنهاء المسار","Double-click to finish Polyline":"انقر مرتيين لإنهاء الشكل متعدد الخطوط","Press and hold {key} while zooming to maintain the chart position":"اضغط لمدة مطولة على {key} أثناء التكبير للحفاظ على موضع الرسم البياني","Double-click any edge to reset layout grid":"انقر نقرًا مزدوجًا فوق أي حافة لإعادة تعيين شبكة التنسيق","Link to the chart image copied to clipboard {emoji}":"تم نسخ رابط صورة الرسم البيانية إلى الحافظة ‎{emoji}‎","Chart image copied to clipboard {emoji}":"صورة الرسم البياني نسخت للحافظة ‎{emoji}‎",Baseline:"خط الأساس",Units:"وحدات",Reverse:"انعكاس",Yes:"نعم",No:"لا",O_in_legend:"O",H_in_legend:"H",L_in_legend:"L",C_in_legend:"C",Compare:"قارن",Moscow:"موسكو",London:"لندن","New York":"نيويورك",Toronto:"تورنتو",Paris:"باريس",Seoul:"سيول",Bangkok:"بانكوك",Trade:"تداول","Recently used":"مستخدَمٌ حديثاً",Save:"حفظ",Hide:"إخفاء",Show:"عرض",month_0:"شهر",month_1:"شهر",month_2:"شهر",month_3:"أشهر",month_4:"شهر",month_5:"شهر",High:"أعلى سعر",Low:"أدنى",Ticker:"الرمز",Vol:"حجم تداول","No symbols match your criteria":"لا توجد رموز تطابق معاييرك",Close:"إغلاق",Time:"الوقت","{number} minute_0":"{number} دقيقة","{number} minute_1":"{number} دقيقة","{number} minute_2":"{number} دقيقة","{number} minute_3":"{number} دقائق","{number} minute_4":"{number} دقيقة","{number} minute_5":"{number} دقيقة",m_interval_short:"دقيقة","{number} hour_0":"{number} ساعة","{number} hour_1":"{number} ساعة","{number} hour_2":"{number} ساعة","{number} hour_3":"{number} ساعات","{number} hour_4":"{number} ساعة","{number} hour_5":"{number} ساعة",h_interval_short:"ساعة","{number} day_0":"{number} يوم","{number} day_1":"{number} يوم","{number} day_2":"{number} يوم","{number} day_3":"{number} أيام","{number} day_4":"{number} يوم","{number} day_5":"{number} يوم",D_interval_short:"يوم",W_interval_short:"أسبوع",M_interval_short:"شهر",Rename:"تغيير الأسم","Remove from favorites":"حذف من القائمة المفضلة","Add to favorites":"اضف إلى القائمة التفضيلات","Time Interval":"الفترة الزمنية",Copy:"نسخ",Drawings:"الرسوم","Price format is invalid.":"صيغة السعر غير صحيحة",Ticks:"تيكات السعر","{exchange} by {originalExchange}":"‎{exchange}‎ من ‎{originalExchange}‎","Real-time data for {symbolName} is provided by {exchange} exchange.":"البيانات اللحظية لـ ‎{symbolName}‎ مقدمة من بورصة ‎.{exchange}‎","This data is real-time, but it’s slightly different to its official counterpart coming from {exchange}.":"هذه البيانات لحظية، لكنها تختلف قليلاً عن نظيرتها الرسمية الواردة من {exchange}.",Increase:"زيادة",Decrease:"تخفيض","Number format is invalid.":"تنسيق الرقم غير صالح.","Specified value is more than the instrument maximum of {max}.":"القيمة المحددة أكبر من الحد الأقصى للأداة والتي تبلغ ‎{max}.","Specified value is less than the instrument minimum of {min}.":"القيمة المحددة أقل من الحد الأدنى للأداة والتي تبلغ {min}.",Risk:"مخاطرة",Body:"الجزء الرئيسي",Wick:"ظل الشمعة",Right:"يمين",Left:"يسار",Interval:"الفاصل الزمني","change timezone":"تغيير المنطقة الزمنية",UTC:"بالتوقيت العالمي المنسق",Cairo:"القاهرة",Johannesburg:"جوهانسبرج",Lagos:"بورصة لاغوس","Buenos Aires":"بوينس آيرس",Bogota:"بوجوتا",Caracas:"كاراكاس",Chicago:"شيكاغو","San Salvador":"سان سلفادور",Juneau:"جونو",Lima:"بورصة ليما","Los Angeles":"لوس أنجلوس","Mexico City":"مدينة المكسيك",Phoenix:"فونيكس",Santiago:"بورصة سانتياغو","Sao Paulo":"ساو باولو",Vancouver:"فانكوفر",Denver:"دينفر Denver",Almaty:"ألماتي",Ashgabat:"عشق أباد",Chongqing:"تشونغتشينغ",Dubai:"دبي","Ho Chi Minh":"هوشي منه",Jakarta:"بورصة جاكرتا",Jerusalem:"القدس",Karachi:"كراتشي",Kolkata:"كولكاتا",Kuwait:"الكويت",Manila:"مانيلا",Muscat:"مسقط",Riyadh:"الرياض",Shanghai:"شنغهاي",Taipei:"طرابلس",Tehran:"طهران",Tokyo:"طوكيو",Reykjavik:"بورصة ريكيافيك",Adelaide:"أديلايد",Brisbane:"بريزبان",Perth:"بِرث",Sydney:"سيدني",Amsterdam:"أمستردام",Athens:"أثينا",Belgrade:"بلغراد",Berlin:"برلين",Bratislava:"براتيسلافا",Brussels:"بروكسل",Bucharest:"بوخاريست",Copenhagen:"بورصة كوبنهاجن",Dublin:"دابلن",Helsinki:"بورصة هلسنكي",Istanbul:"إسطنبول",Lisbon:"لشبونة",Madrid:"مدريد",Malta:"مالطا",Oslo:"أوسلو",Riga:"بورصة ريغا",Rome:"روما",Stockholm:"بورصة ستوكهولم",Tallinn:"بورصة تالين",Vilnius:"بورصة فيلنيوس",Warsaw:"وارسو",Zurich:"زيوريخ","Chatham Islands":"جزر تشاتام",Honolulu:"هونولولو","Norfolk Island":"جزيرة نورفولك",Coordinates:"إحداثيات","Events & Alerts":"الأحداث والتنبيهات",Events:"أحداث",Scales:"المقاييس","Source Code":"كود المصدر",Style:"نمط","Timezone/Sessions":"المنطقة الزمنية/جلسات التداول",Visibility:"الظهور","Box size assignment method":"طريقة تعيين حجم الصندوق","Color bars based on previous close":"تلوين الأعمدة طبقًا للإغلاق السابق",Borders:"إطارات","HLC bars":"أعمدة (الأعلى - الأدنى - الإغلاق)","Price source":"مصدر السعر","Show real prices on price scale (instead of Heikin-Ashi price)":"عرض الأسعار الحقيقية على مقياس السعر (بدلًا من سعر هيكن آشي)","Up bars":"الشموع الصاعدة","Down bars":"الشموع الهابطة","Projection up bars":"إسقاط الأعمدة الصاعدة","Projection down bars":"إسقاط الأعمدة الهابطة","Projection up color":"زيادة درجة لون العرض","Projection down color":"تقليل درجة لون العرض",Fill:"ملئ","Up color":"لون الإرتفاع","Down color":"لون الإنخفاض",Traditional:"تقليدي","Box size":"حجم المربع","Number of line":"عدد الخطوط","ATR length":"فترة حساب ATR","Reversal amount":"قيمة الإنعكاس","Phantom bars":"قيم التداول الخاطئة","One step back building":"خطوة واحدة إلى الوراء",Wicks:"ظلال",Range:"مدى","You cannot see this pivot timeframe on this resolution":"لا يمكنك رؤية النقاط المحورية على هذا الإطار الزمني","The data vendor doesn't provide volume data for this symbol.":"لا يوفر المزود بيانات أحجام التداول لهذا الرمز.","Accumulation/Distribution_study":"تجميع/توزيع","Accumulative Swing Index_study":"مؤشر الموجة التراكمي","Advance/Decline_study":"مؤشر الصعود/التراجع","Arnaud Legoux Moving Average_study":"متوسط متحرك أرنو ليجو",Aroon_study:"آرون",ASI_study:"مؤشر الموجة التراكمي","Average Directional Index_study":"مؤشر متوسط الحركة الاتجاهية","Average True Range_study":"متوسط المدى الحقيقي","Awesome Oscillator_study":"المتذبذب الرهيب Awesome Oscillator","Balance of Power_study":"ميزان القوة","Bollinger Bands %B_study":"نطاقات بولنجر %B","Bollinger Bands Width_study":"عرض حدود بولنجر","Bollinger Bands_study":"نطاقات بولنجر","Chaikin Money Flow_study":"مؤشر التدفق النقدي لشايكين","Chaikin Oscillator_study":"مؤشر شايكين","Chande Kroll Stop_study":"وقف اتشاند كرول","Chande Momentum Oscillator_study":"مؤشر زخم اتشاند","Chop Zone_study":"نطاق تقلب سعري (نطاق شوب)","Choppiness Index_study":"مؤشر التقلب السعري","Commodity Channel Index_study":"مؤشر قناة السلع","Connors RSI_study":"مؤشر القوى النسبية لكونرز","Coppock Curve_study":"منحنى كوبوك","Correlation Coefficient_study":"معامل الارتباط",CRSI_study:"مؤشر القوى النسبية لكونرز","Detrended Price Oscillator_study":"مؤشر التذبذب السعري","Directional Movement_study":"الحركة الاتجاهية","Donchian Channels_study":"قنوات دونشيان","Double EMA_study":"متوسط متحرك أسي مزدوج","Ease Of Movement_study":"سهولة الحركة","Elder's Force Index_study":"مؤشر قوى إلدر","EMA Cross_study":"تقاطع المتوسط المتحرك الأسي",Envelopes_study:"أغلفة","Fisher Transform_study":"تحويلة فيشر","Fixed Range_study":"النطاق الثابت","Guppy Multiple Moving Average_study":"المتوسط المتحرك المتعدد جوبي","Historical Volatility_study":"التقلبات التاريخية","Hull Moving Average_study":"متوسط متحرك هال","Ichimoku Cloud_study":"سحابة إيتشيموكو","Keltner Channels_study":"قناة كلتنر","Klinger Oscillator_study":"مؤشر كلنجر","Know Sure Thing_study":"أعرف الأشياء المؤكدة","Least Squares Moving Average_study":"متوسط المربعات الصغرى المتحرك","Linear Regression Curve_study":"منحنى الانحدار الخطي","MA Cross_study":"تقاطع المتوسط المتحرك","MA with EMA Cross_study":"تقاطع المتوسط المتحرك مع الأسي","MA/EMA Cross_study":"تقاطع المتوسط المتحرك/الأسي",MACD_study:"MACD","Mass Index_study":"مؤشر الكتلة","McGinley Dynamic_study":"ماكجينلي ديناميك",Momentum_study:"زخم","Money Flow_study":"التدفق النقدي","Moving Average Channel_study":"قناة المتوسط المتحرك","Moving Average Exponential_study":"المتوسط المتحرك الأسي","Moving Average Weighted_study":"المتوسط المتحرك المرجح","Moving Average_study":"المتوسط المتحرك","Net Volume_study":"صافي حجم التداول","On Balance Volume_study":"مؤشر OBV","Parabolic SAR_study":"مؤشر البارابوليك سار","Pivot Points Standard_study":"النقاط المحورية القياسية","Price Channel_study":"قناة سعرية","Price Oscillator_study":"مؤشر التذبذب السعري","Price Volume Trend_study":"اتجاه حجم التداول للأسعار","Rate Of Change_study":"معدل التغير","Relative Strength Index_study":"مؤشر القوة النسبية","Relative Vigor Index_study":"مؤشر النشاط النسبي","Relative Volatility Index_study":"مؤشر التقلب النسبي","Session Volume_study":"حجم تداول الفترة","Session Volume HD_study":"أحجام تداول الجلسة HD","SMI Ergodic Indicator/Oscillator_study":"مؤشر إرجوديك SMI","Smoothed Moving Average_study":"المتوسط المتحرك المحسن","Stochastic RSI_study":"ستوكاستك القوة النسبية (STOCH RSI)",Stochastic_study:"مؤشر ستوكاستك","Triple EMA_study":"المتوسط المتحرك الأسي الثلاثي",TRIX_study:"مؤشر TRIX","True Strength Indicator_study":"مؤشر القوة الحقيقية TSI","Ultimate Oscillator_study":"مؤشر Ultimate Oscillator","Visible Range_study":"نطاق مرئي","Volume Oscillator_study":"متذبذب حجم التداول",Volume_study:"حجم التداول","Vortex Indicator_study":"مؤشر فورتكس Vortex",VWAP_study:"متوسط السعر المرجح بحجم التداول VWAP",VWMA_study:"المتوسط المتحرك المرجح بحجم التداول VWMA","Williams %R_study":"%R ويليامز","Williams Alligator_study":"مؤشر ويليامز أليجيتور","Williams Fractal_study":"فراكتال ويليامز","Zig Zag_study":"مؤشر الزيجزاج",SuperTrend_study:"سوبرترند","Average Price_study":"متوسط السعر","Typical Price_study":"السعر النموذجي","Median Price_study":"السعر الوسيط","Money Flow Index_study":"مؤشر التدفق النقدي MFI","Moving Average Double_study":"المتوسط المتحرك المزدوج","Moving Average Triple_study":"المتوسط المتحرك الثلاثي","Moving Average Adaptive_study":"المتوسط المتحرك المتكيف","Moving Average Hamming_study":"المتوسط المتحرك هامينج","Moving Average Modified_study":"المتوسط المتحرك المُعدل","Moving Average Multiple_study":"المتوسط المتحرك المتعدد","Linear Regression Slope_study":"ميل الانحدار الخطي","Standard Error_study":"خطأ معياري","Standard Error Bands_study":"نطاقات الخطأ معياري","Correlation - Log_study":"ترابط - لوغاريتمي","Standard Deviation_study":"الانحراف المعياري","Chaikin Volatility_study":"تّقلب شايكن","Volatility Close-to-Close_study":"التّقلب بحساب أسعار الإغلاق","Volatility Zero Trend Close-to-Close_study":"التّقلب بحساب أسعار الإغلاق بدون اتجاه","Volatility O-H-L-C_study":"التّقلب O-H-L-C","Volatility Index_study":"مؤشرالتّقلب","Trend Strength Index_study":"مؤشر قوة الاتجاه","Majority Rule_study":"قاعدة الأغلبية",Length_input:"طول",Plot_input:"ارسم",Zero_input:"صفر",Signal_input:"إشارة",Long_input:"شراء",Short_input:"بيع",UpperLimit_input:"الانحراف العلوي",LowerLimit_input:"حد أدنى",Offset_input:"موازن",length_input:"طول",mult_input:"مضاعف",short_input:"بيع",long_input:"شراء",Limit_input:"حد",Move_input:"حركة",Value_input:"قيمة",Method_input:"طريقة","Accumulation/Distribution_input":"تجميع/توزيع",ADR_B_input:"DADR_B","Equality Line_input":"خط المساواة","Window Size_input":"حجم النافذة",Sigma_input:"سيجما","Aroon Up_input":"أرون صاعد","Aroon Down_input":"أرون هابط",Upper_input:"العلوي",Lower_input:"أدنى",Deviation_input:"الانحراف","Levels Format_input":"تنسيق المستويات","Labels Position_input":"ملصقات المركز","0 Level Color_input":"مستوى اللون 0","0.236 Level Color_input":"مستوى اللون 0.236","0.382 Level Color_input":"مستوى اللون 0.382","0.5 Level Color_input":"مستوى اللون 0.5","0.618 Level Color_input":"مستوى اللون 0.618","0.65 Level Color_input":"مستوى اللون 0.65","0.786 Level Color_input":"مستوى اللون 0.786","1 Level Color_input":"مستوى اللون 1","1.272 Level Color_input":"مستوى اللون 1.272","1.414 Level Color_input":"مستوى اللون 1.414","1.618 Level Color_input":"مستوى اللون 1.618","1.65 Level Color_input":"مستوى اللون 1.65","2.618 Level Color_input":"مستوى اللون 2.618","2.65 Level Color_input":"مستوى اللون 2.65","3.618 Level Color_input":"مستوى اللون 3.618","3.65 Level Color_input":"مستوى اللون 3.65","4.236 Level Color_input":"مستوى اللون 4.236","-0.236 Level Color_input":"مستوى اللون -0.236","-0.382 Level Color_input":"مستوى اللون -0.382","-0.618 Level Color_input":"مستوى اللون -0.618","-0.65 Level Color_input":"مستوى اللون -0.65",ADX_input:"متوسط مؤشر الاتجاه (ADX)","ADX Smoothing_input":"تحسين مؤشر متوسط الحركة الاتجاهية","DI Length_input":"طول مؤشر الاتجاه",Smoothing_input:"تحسين",ATR_input:"متوسط ​​المدى الحقيقي ATR",Growing_input:"صاعد",Falling_input:"هابط","Color 0_input":"لون 0","Color 1_input":"لون 1",Source_input:"مصدر",StdDev_input:"الانحراف المعياري",Basis_input:"أساس",Median_input:"قيمة متوسطة","Bollinger Bands %B_input":"حدود بولنجر %B",Overbought_input:"تشبع شرائي",Oversold_input:"تشبع بيعي","Bollinger Bands Width_input":"عرض حدود بولنجر","RSI Length_input":"طول مؤشر القوى النسبية","UpDown Length_input":"طول الصعود أو الهبوط","ROC Length_input":"طول معدل التغير",MF_input:"التدفق النقدي",resolution_input:"الدقة","Fast Length_input":"طول الخط السريع","Slow Length_input":"طول الخط البطيء","Chaikin Oscillator_input":"مؤشر شايكين",P_input:"P",X_input:"X",Q_input:"Q",p_input:"P",x_input:"X",q_input:"q",Price_input:"سعر","Chande MO_input":"مؤشر زخم اتشاند","Zero Line_input":"خط الصفر","Color 2_input":"لون 2","Color 3_input":"لون 3","Color 4_input":"لون 4","Color 5_input":"لون 5","Color 6_input":"لون 6","Color 7_input":"لون 7","Color 8_input":"لون 8",CHOP_input:"نطاق تقلب سعري (نطاق شوب)","Upper Band_input":"الحد العلوي","Lower Band_input":"الحد السفلي",CCI_input:"مؤشر قناة السلع، CCI","Smoothing Line_input":"خط التحسين","Smoothing Length_input":"طول التحسين","WMA Length_input":"طول المتوسط المتحرك المرجح بحجم التداول","Long RoC Length_input":"قيمة معدل تغير كبيرة","Short RoC Length_input":"معدل التغير القصير",sym_input:"رمز",Symbol_input:"رمز",Correlation_input:"علاقة ارتباط",Period_input:"الفترة الزمنية",Centered_input:"مركزي","Detrended Price Oscillator_input":"مؤشر تذبذب السعر",isCentered_input:"متمركز",DPO_input:"مؤشر تذبذب السعر","ADX smoothing_input":"تحسين مؤشر متوسط الحركة الاتجاهية","+DI_input":"+DI","-DI_input":"-DI",DEMA_input:"المتوسط المتحرك الأسي المزدوج DEMA",Divisor_input:"المقام (المقسوم عليه)",EOM_input:"بيانات نهاية الشهر","Elder's Force Index_input":"مؤشر قوى إلدر",Percent_input:"نسبة مئوية",Exponential_input:"أسي",Average_input:"متوسط","Upper Percentage_input":"النسبة المئوية العليا","Lower Percentage_input":"النسبة المئوية الدنيا",Fisher_input:"تحويلة فيشر",Trigger_input:"إشارة الدخول (الزناد)",Level_input:"مستوى","Trader EMA 1 length_input":"طول 1 EMA للمتداول","Trader EMA 2 length_input":"طول 2 EMA للمتداول","Trader EMA 3 length_input":"طول 3 EMA للمتداول","Trader EMA 4 length_input":"طول 4 EMA للمتداول","Trader EMA 5 length_input":"طول 5 EMA للمتداول","Trader EMA 6 length_input":"طول 6 EMA للمتداول","Investor EMA 1 length_input":"طول EMA 1 للمستثمر","Investor EMA 2 length_input":"طول EMA 2 للمستثمر","Investor EMA 3 length_input":"طول EMA 3 للمستثمر","Investor EMA 4 length_input":"طول EMA 4 للمستثمر","Investor EMA 5 length_input":"طول EMA 5 للمستثمر","Investor EMA 6 length_input":"طول EMA 6 للمستثمر",HV_input:"HV","Hull MA_input":"متوسط متحرك هال","Conversion Line Periods_input":"فترات خط التحويل","Base Line Periods_input":"فترات خط الأساس","Conversion Line_input":"خط التحويل","Base Line_input":"خط الأساس","Lagging Span_input":"مدى التأخير","yay Color 0_input":"سنوي لون 0","yay Color 1_input":"سنوي لون 1",Multiplier_input:"متضاعف","Bands style_input":"نمط الحدود",Middle_input:"منتصف",useTrueRange_input:"استخدام المدى الحقيقي",ROCLen1_input:"ROCLen1",ROCLen2_input:"ROCLen2",ROCLen3_input:"ROCLen3",ROCLen4_input:"ROCLen4",SMALen1_input:"المتوسط المتحرك البسيط 1",SMALen2_input:"المتوسط المتحرك البسيط 2",SMALen3_input:"المتوسط المتحرك البسيط 3",SMALen4_input:"المتوسط المتحرك البسيط 4",SigLen_input:"إشارة",KST_input:"KST",Sig_input:"إشارة",roclen1_input:"roclen1",roclen2_input:"roclen2",roclen3_input:"roclen3",roclen4_input:"roclen4",smalen1_input:"المتوسط المتحرك البسيط 1",smalen2_input:"المتوسط المتحرك البسيط 2",smalen3_input:"المتوسط المتحرك البسيط 3",smalen4_input:"المتوسط المتحرك البسيط 4",siglen_input:"الإشارة","Upper Deviation_input":"الانحراف العلوي","Lower Deviation_input":"انحراف أدنى","Use Upper Deviation_input":"استخدام الانحراف العلوي","Use Lower Deviation_input":"استخدام الانحراف السفلي",Count_input:"عد",Crosses_input:"تقاطعات",MOM_input:"على مدى شهري",MA_input:"المتوسط المتحرك","Length EMA_input":"طول المتوسط المتحرك الأسي","Length MA_input":"طول المتوسط المتحرك","Fast length_input":"طول الخط السريع","Slow length_input":"بطيء","Signal smoothing_input":"تحسين الإشارة","Simple ma(oscillator)_input":"المتوسط المتحرك البسيط (كمتذبذب)","Simple ma(signal line)_input":"المتوسط المتحرك البسيط (كخط فردي)",Histogram_input:"أعمدة أحصائية",MACD_input:"الماكد",fastLength_input:"طول الخط السريع",slowLength_input:"طول الخط البطئ",signalLength_input:"طول الإشارة",NV_input:"شركة عامة nv",OnBalanceVolume_input:"مؤشر obv",Start_input:"ابدأ",Increment_input:"ازدياد","Max value_input":"القيمة العظمى",ParabolicSAR_input:"بارابوليك سار",start_input:"بداية",increment_input:"ازدياد",maximum_input:"الأقصى","Short length_input":"قصير","Long length_input":"مسافة طول كبيرة",OSC_input:"مؤشر متذبذب",shortlen_input:"قصير",longlen_input:"طويل",PVT_input:"اتجاه حجم تداول الأسعار",ROC_input:"معدل التغير",RSI_input:"مؤشر القوى النسبية",RVGI_input:"مؤشر النشاط النسبي",RVI_input:"مؤشر النشاط النسبي","Long period_input":"فترة زمنية طويلة","Short period_input":"فترة زمنية قصيرة","Signal line period_input":"فترة خط اإلشارة",SMI_input:"مؤشر إرجوديك SMI","SMI Ergodic Oscillator_input":"مؤشر إرجوديك SMI",Indicator_input:"مؤشر",Oscillator_input:"مؤشر متذبذب",K_input:"K",D_input:"يوم",smoothK_input:"k المحسنة",smoothD_input:"d المحسنة","%K_input":"%K","%D_input":"%D","Stochastic Length_input":"طول الاستوكاستك","RSI Source_input":"مصدر مؤشر القوى النسبية",lengthRSI_input:"طول مؤشر القوى النسبية",lengthStoch_input:"طول الاستوكاستك",TRIX_input:"مؤشر TRIX",TEMA_input:"المتوسط المتحرك الأسي الثلاثي","Long Length_input":"طويل","Short Length_input":"قصير","Signal Length_input":"إشارة",Length1_input:"طول 1",Length2_input:"طول 2",Length3_input:"طول 3",length7_input:"طول 7",length14_input:"طول 14",length28_input:"طول 28",UO_input:"مؤشر ألتميت",VWMA_input:"المتوسط المتحرك المرجح بحجم التداول",len_input:"طول","VI +_input":"VI +","VI -_input":"VI -","%R_input":"%K","Jaw Length_input":"طول الفك","Teeth Length_input":"طول الأسنان","Lips Length_input":"طول الشفاه",Jaw_input:"فك",Teeth_input:"الأسنان",Lips_input:"الشفاه","Jaw Offset_input":"Jaw Offset","Teeth Offset_input":"Teeth Offset","Lips Offset_input":"Lips Offset","Down fractals_input":"فركتلات هابطة","Up fractals_input":"فركتلات صاعدة",Periods_input:"الفترات",Shapes_input:"أشكال","show MA_input":"عرض المتوسط المتحرك","MA Length_input":"طول المتوسط المتحرك","Color based on previous close_input":"تلوين الأعمدة طبقًا للإغلاق السابق","Rows Layout_input":"تخطيط الصفوف","Row Size_input":"حجم الصف",Volume_input:"حجم تداول","Value Area volume_input":"حجم منطقة مهمة","Extend POC Right_input":"إمتداد نقطة التغير إلى اليمين","Value Area Volume_input":"حجم منطقة مهمة",Placement_input:"وضع",POC_input:"نقطة التغير","Developing Poc_input":"تطوير نقطة التغير","Up Volume_input":"حجم تداول صاعد","Down Volume_input":"تراجع حجم التداول","Value Area_input":"منطقة مهمة","Histogram Box_input":"مربع الأعمدة الإحصائية","Value Area Up_input":"منطقة صعود مهمة","Value Area Down_input":"منطقة هبوط مهمة","Number Of Rows_input":"عدد الصفوف","Ticks Per Row_input":'علامة سعرية "تك" لكل صف',"Up/Down_input":"صعود/هبوط",Total_input:"إجمالي",Delta_input:"Delta","Deviation (%)_input":"الإنحراف (%)",Depth_input:"عمق","Extend to last bar_input":"مد إلى آخر شمعة أو عمود بياني",Simple_input:"بسيط",Weighted_input:"مُرجّح","Wilder's Smoothing_input":"تهذيب التحركات بطريقة وايلدر","1st Period_input":"الفترة الأولى","2nd Period_input":"الفترة الثانية","3rd Period_input":"الفترة الثالثة","4th Period_input":"الفترة الرابعة","5th Period_input":"الفترة الخامسة","6th Period_input":"الفترة السادسة","Rate of Change Lookback_input":"معدل تغير فترة المراقبة","Instrument 1_input":"الأداة 1","Instrument 2_input":"الأداة 2","Rolling Period_input":"الفترات المتعاقبة","Standard Errors_input":"الأخطاء المعيارية","Averaging Periods_input":"فترات حساب المتوسّط","Days Per Year_input":"أيام في السنة","Market Closed Percentage_input":"النسبة المئوية لإغلاقات السوق","ATR Mult_input":"مضاعف ATR",VWAP_input:"متوسط السعر المرجح بحجم التداول VWAP","Anchor Period_input":"فترة التثبيت",Session_input:"جلسة",Week_input:"أسبوع",Month_input:"شهر",Year_input:"سنة",Decade_input:"عقد",Century_input:"قرن","Custom range":"نطاق مخصّص","Go to":"الذهاب إلى","Symbol Info":"معلومات الرمز","Save all charts for all symbols and intervals on your layout":"احفظ جميع الرسوم البيانية لكل الرموز والفترات الزمنية في نموذج التصميم الخاص بك",Dot_hotkey:"نقطة","Load Chart Layout":"تحميل تصميم رسم بياني",minutes_interval:"دقائق",hours_interval:"ساعات",days_interval:"أيام",weeks_interval:"أسابيع",months_interval:"شهور","Add custom time interval":"إضافة فترة زمنية مخصصة",Add:"إضافة","Save chart image":"حفظ الصورة","Copy chart image":"نسخ صورة الرسم البياني","Copy link to the chart image":"نسخ رابط صورة الرسم البياني","Open image in new tab":"افتح الصورة في تبويبة جديدة","Tweet chart image":"غرد بصورة الرسم البياني على تويتر","adjust data for dividends":"ضبط لبيانات توزيعات الأرباح","adjust for contract changes":"ضبط لتغييرات العقد","toggle auto scale":"تبديل المقياس التلقائي","toggle log scale":"تبديل المقياس اللوغاريتمي","toggle percentage scale":"تبديل مقياس النسبة المئوية","Take a snapshot":"التقط صورة الشاشة","use settlement as close on daily interval":"استخدام التسوية عند الإغلاق على الفاصل الزمني اليومي","Extended Hours is available only for intraday charts":"ساعات التداول المُمددة متاحة فقط على النطاقات الصغرى خلال اليوم للرسوم البيانية","Toggle Percentage":"نطاق قياس النسبة المئوية",log_scale:"لوغاريتمي","Toggle Log Scale":"نطاق قياس لوغاريتمي",auto_scale:"تلقائي","Toggle Auto Scale":"نطاق قياس تلقائي","Toggle Maximize Chart":"تبديل تكبير الرسم البياني",adj_adjustments:"تعديل","Adjust data for dividends":"تعديل البيانات لأرباح الأسهم","Main symbol data is adjusted for dividends only":"يتم ضبط بيانات الرمز الرئيسي لتوزيعات الأرباح فقط","Main symbol data is adjusted for splits only":"يتم ضبط بيانات الرمز الرئيسي للتقسيمات فقط","b-adj_adjustments":"b-adj","Adjust for contract changes":"ضبط لتغييرات العقود",set_adjustments:"ضبط","Use settlement as close on daily interval":"استخدم التسوية في أقرب وقت على الفاصل الزمني اليومي","Date Range":"المدى الزمني","change session":"تغيير الجلسة",Session:"فترة",Sessions:"الجلسات","Weak Magnet":"مغناطيس ضعيف","Strong Magnet":"مغناطيس قوي",Cursors:"المؤشرات","Trend Line Tools":"أدوات خط الاتجاه","Gann and Fibonacci Tools":"أدوات فيبوناتشي و جان","Geometric Shapes":"الأشكال الهندسية","Annotation Tools":"أدوات التوضيحات والملاحظات",Patterns:"نماذج","Prediction and Measurement Tools":"أدوات التنبؤ والقياس","Hide Drawings Toolbar":"إخفاء شريط أدوات الرسوم","Show Drawings Toolbar":"عرض رسومات شريط الأدوات","Show Favorite Drawing Tools Toolbar":"عرض شريط أدوات الرسم المفضلة",Icon:"أيقونة",Icons:"أيقونات","New drawings are replicated to all charts in the layout and shown when the same ticker is selected":"يتم تطبيق ونسخ ما قمت به من رسومات جديدة إلى جميع الرسوم البيانية في التنسيق المختار وتظهر عند اختيار نفس الرمز أو الأداة المالية","Remove Drawings & Indicators":"حذف الرسومات والمؤشرات","Remove Drawings":"حذف الرسومات","Remove Indicators":"حذف المؤشرات","Hollow candles":"شموع مفرغة",Columns:"الأعمدة","High-low":"أعلى-أدنى","Bar's style":"تصميم الأعمدة","Compare or Add Symbol":"قارن أو اضف رمز","Fullscreen mode":"وضع الشاشة الكاملة",Favorites:"المفضلة","Favorite Indicators":"المؤشرات المفضلة","You have no Favorites Indicators yet":"ليس لديك أية مؤشرات مفضلة بعد","Open Interval Dialog":"إجراء حوار منفصل","Number or {hotKey_0}":"رقم أو {hotKey_0}","Add custom interval":"إضافة فترة زمنية مخصصة",Ticks_interval_group_name:"تيكات",Seconds_interval_group_name:"ثانية",Minutes_interval_group_name:"دقائق",Hours_interval_group_name:"ساعات",Days_interval_group_name:"أيام",Weeks_interval_group_name:"أسابيع",Months_interval_group_name:"شهور",Ranges_interval_group_name:"نطاقات","Sync in layout":"مزامنة مع كل الرسوم البيانية",Crosshair:"مؤشر التقاطع","Open chart in popup":"افتح الرسم البياني في نافذة منبثقة","Chart settings":"إعدادات الرسم البياني","Make a Copy":"عمل نسخة","New Chart Layout":"مخطط رسم بياني جديد","Rename Chart Layout":"إعادة تسمية الرسم البياني","Manage Chart Layouts":"إدارة تنسيقات الرسوم البيانية","Symbol Search":"بحث عن الرموز","Simply start typing while on the chart to pull up this search box":"يمكنك ببساطة الكتابة مباشرة على الرسم البياني لعرض مربع البحث","Save Indicator template":"حفظ قالب المؤشر","Save Indicator Template":"حفظ قالب المؤشر","Selecting this option will set the {symbol} symbol on the chart when this template is applied":"سيؤدي تحديد هذا الخيار إلى تعيين الرمز ‎{symbol}‎ على الرسم البياني عند تطبيق هذا القالب","Selecting this option will set the {interval} interval on the chart when this template is applied":"سيؤدي تحديد هذا الخيار إلى تعيين الفاصل الزمني‎{interval} ‎ على الرسم البياني عند تطبيق هذا القالب","Study Template '{templateName}' already exists. Do you really want to replace it?":'نموذج الدراسة "‎{templateName}‎" موجود بالفعل، هل تريد حقًا استبداله؟',"My templates":"قوالبي","Default templates":"القوالب الافتراضية",Templates:"قوالب","Indicator Templates":"نموذج المؤشر","Undo {hint}":"تراجع {hint}","Redo {hint}":"إعادة {hint}","View Only Mode":"وضع العرض فقط","show alert label lines":"إظهار خطوط ملصقات التنبيه","hide alert label lines":"إخفاء خطوط ملصقات التنبيه","change visibility":"تغيير الرؤية","pin to scale {label}":"ثبت على المقياس ‎{label}‎","pin to right scale":"ثبت إلى المقياس الأيمن","pin to left scale":"ثبت على المقياس الأيسر","change earnings visibility":"تغيير وضوح الأرباح","change dividends visibility":"تغيير وضوح توزيعات الأرباح","change splits visibility":"تغيير وضوح تقسيمات الأسهم","change continuous contract switch visibility":"تغيير رؤية تبديل العقد المستمر","show all ideas":"عرض جميع التحاليل","show ideas of followed users":"عرض جميع التحاليل للمستخدمين الذين يتم متابعتهم","show my ideas only":"عرض تحاليلي فقط","change events visibility on chart":"تغيير وضوح الأحداث على الرسم البياني","add this symbol to entire layout":"أضف هذا الرمز إلى التنسيق بالكامل","add this indicator to entire layout":"أضف هذا المؤشر إلى التنسيق بالكامل","add this strategy to entire layout":"أضف هذه الاستراتيجية إلى التنسيق بالكامل","add this financial metric to entire layout":"أضف هذا المؤشر المالي إلى التنسيق بالكامل","apply drawing template":"تطبيق قالب الرسم","lock objects":"قفل العنصر","unlock objects":"تحرير العنصر","Add alert":"اضف تنبيه","Add alert on {series}":"إضافة تنبيه على ‎{series}‎","Add alert on {drawing}":"إضافة تنبيه على ‎{drawing}‎","Edit {title} alert":"تعديل ‎التنبيه {title} .","Extend alert lines":"تمديد خطوط التنبيه","Create limit order":"إنشاء أمر معلق","Apply Manual Risk/Reward":"التطبيق اليدوي لنسبة المخاطر/الأرباح","Apply Manual Decision Point":"قم بتطبيق نقطة اتخاذ القرار يدويا","Analyze Trade Setup":"تحليل إعدادات الصفقة","Apply Elliott Wave":"تطبيق موجات إليوت","Apply Elliott Wave Intermediate":"تطبيق موجات إليوت المتوسطة","Apply Elliott Wave Major":"تطبيق موجات إليوت الكبرى","Apply Elliott Wave Minor":"تطبيق موجات إليوت الصغرى","Apply WPT Up Wave":"تطبيق الهدف السعري للموجة الصاعدة","Up Wave 1 or A":"موجة صاعدة 1 أو A","Up Wave 2 or B":"موجة صاعدة 2 أو B","Up Wave C":"موجة صاعدة C","Up Wave 3":"موجة صاعدة 3","Up Wave 4":"موجة صاعدة 4","Up Wave 5":"موجة صاعدة 5","Apply WPT Down Wave":"تطبيق الهدف السعري للموجة الهابطة","Down Wave 1 or A":"موجة هابطة 1 أو A","Down Wave 2 or B":"موجة هابطة 2 أو B","Down Wave C":"موجة هابطة C","Down Wave 3":"موجة هابطة 3","Down Wave 4":"موجة هابطة 4","Down Wave 5":"موجة هابطة 5","Pinned to scale {label} (hidden)":"تم التثبيت على المقياس ‎{label}‎ (مخفي)","Pinned to right scale (hidden)":"ثبت على المقياس الأيمن (مخفي)","Pin to scale {label} (hidden)":"ثبت على المقياس ‎{label}‎ (مخفي)","Pin to right scale (hidden)":"ثبت على المقياس الأيمن (مخفي)","Pinned to scale {label}":"ثبت على المقياس ‎{label}‎","Pinned to right scale":"تم التثبيت إلى المقياس الأيمن","Pin to scale {label}":"ثبت إلى المقياس ‎{label}‎","Pin to right scale":"ثبت إلى المقياس الأيمن","Pinned to left scale (hidden)":"تم التثبيت على المقياس الأيسر (مخفي)","Pin to left scale (hidden)":"ثبت على المقياس الأيسر (مخفي)","Pinned to left scale":"تم التثبيت إلى المقياس الأيسر","Pin to left scale":"ثبت إلى المقياس الأيسر","Pin to new left scale":"ثبت على مقياس أيسر جديد","Pin to new right scale":"ثبت على مقياس أيمن جديد","Pin to scale (now {label})":"ثبت على مقياس (‎{label}‎ جديد)","Pin to scale (now no scale)":"تثبيت مقياس الرسم (الأن لا مقياس محدد)","Pin to scale (now left)":"تثبيت إلى المقياس (الآن يسار)","Pin to scale (now right)":"تثبيت إلى المقياس (الآن يمين)","No scale (fullscreen)":"بدون مقياس ثابت (ملء الشاشة)","Move to":"حرك إلى","Existing pane above":"جزء موجود أعلاه","New pane above":"جزء جديد أعلاه","Existing pane below":"جزء موجود أدناه","New pane below":"جزء جديد أدناه","Bring to front":"وضعه في المقدمة","Send to back":"إرسال للمؤخرة","Bring forward":"تقديمه للأمام","Send backward":"إرسال إلى الخلف","Visual order":"الترتيب المرئي",Lines:"الخطوط","Add indicator/strategy on {studyTitle}":"إضافة مؤشر/إستراتيجية على {studyTitle}","Add financial metric for {instrumentName}":"إضافة مؤشر مالي لـ {instrumentName}","Apply default":"تطبيق الوضع الافتراضي","Save as":"حفظ باسم",Clone:"نسخة مكررة",Template:"قالب","Go to {lineToolName}":"انتقل إلى {lineToolName}",Unlock:"فتح",Lock:"غلق","Show earnings":"عرض الأرباح","Show dividends":"عرض توزيعات الأرباح","Show splits":"عرض تقسيمات الأسهم","Show continuous contract switch":"إظهار تبديل العقد المستمر","Show all ideas":"عرض جميع الأفكار","Show ideas of followed users":"عرض جميع الأفكار للمستخدمين الذين يتم متابعتهم","Show my ideas only":"عرض أفكاري فقط","Hide events on chart":"إخفاء الأحداث على الرسم البياني","Add this symbol to entire layout":"أضف هذا الرمز إلى التنسيق بالكامل","Add this indicator to entire layout":"أضف هذا المؤشر إلى التنسيق بالكامل","Add this strategy to entire layout":"أضف هذه الاستراتيجية إلى التنسيق بالكامل","Add this financial metric to entire layout":"أضف هذا المؤشر المالي إلى التنسيق بالكامل","No sync":"لا مزامنة","Sync globally":"مزامنة شاملة","Symbol info":"معلومات الرمز","By TradingView":"بواسطة TradingView","{symbol} financials by TradingView":"{symbol} تم تفريغ القوائم المالية عن طريق TradingView","More features on tradingview.com":"مميزات أكثر على موقع tradingview.com","move left":"حرك يسارًا","move right":"حرّك يمينًا","change price to bar ratio":"تغيير السعر إلى نسبة العمود","toggle lock scale":"تبديل قفل المقياس","change series style":"تغيير نمط السلسلة","hide {title}":"إخفاء {title}","Invalid symbol":"رمز غير صحيح","No data here":"لا توجد بيانات هنا","apply indicators to entire layout":"تطبيق المؤشرات على التنسيق بأكمله","sync time":"وقت المزامنة","apply chart theme":"تطبيق مظهر الرسم البياني","Please give us a clipboard writing permission in your browser or press {keystroke}":"يرجى منحنا إذن الكتابة للحافظة في متصفحك أو الضغط على {keystroke}","Couldn't copy":"تعذر النسخ","Couldn't cut":"تعذر القطع","Couldn't paste":"تعذر اللصق","{userName} published on {customer}, {date}":"نشر {userName} على {customer} في {date}","Published on {customer}, {date}":"تم نشره على {customer} في {date}","change symbol last value visibility":"تغيير وضوح آخر قيمة للرمز","change symbol previous close value visibility":"تغيير وضوح قيمة الإغلاق للرمز","change previous close price line visibility":"تغيير وضوح خط سعر الإغلاق السابق","change symbol labels visibility":"تغيير وضوح ملصقات رمز","change indicators and financials name labels visibility":"وضوح ملصقات تغير المؤشرات وأسماء البيانات المالية","change indicators name labels visibility":"وضوح ملصقات تغير المؤشرات","change indicators and financials value labels visibility":"وضوح ملصقات تغير المؤشرات والبيانات المالية","change indicators value labels visibility":"وضوح ملصقات تغيير المؤشرات","change bid and ask labels visibility":"تغيير وضوح ملصقات سعري البيع والشراء","change bid and ask lines visibility":"تغيير وضوح خط سعري البيع والشراء","change pre/post market price label visibility":"تغيير وضوح ملصق أسعار ما قبل/بعد الجلسة","change high and low price lines visibility":"تغيير وضوح خطوط أعلى سعر وأدنى سعر","change high and low price labels visibility":"تغيير وضوح ملصقات أعلى سعر وأدنى سعر","change countdown to bar close visibility":"تغيير وضوح العد التنازلي لعمود الإغلاق","change plus button visibility":"تغيير وضوح زر +","change price line visibility":"تغيير خط السعر","unlock {title}":"تحرير ‎{title}‎","lock {title}":"تثبيت ‎{title}‎","Auto (fits data to screen)":"تلقائي (تناسب البيانات مع حجم الشاشة)","Lock price to bar ratio":"قفل نسبة السعر للعمود البياني","Change interval":"تغيير الفترة","Symbol last price label":"ملصق آخر قيمة للرمز","Symbol previous day close price label":"ملصق قيمة إغلاق اليوم السابق للرمز","Previous day close price line":"خط سعر إغلاق اليوم السابق","Symbol name label":"ملصق اسم الرمز","Indicators and financials value labels":"ملصقات المؤشرات والبيانات المالية","Indicators value labels":"ملصقات قيمة المؤشرات","Indicators and financials name labels":"ملصقات المؤشرات وأسماء البيانات المالية","Indicators name labels":"ملصق اسم المؤشر","Bid and ask labels":"ملصقات سعري البيع والشراء (Bid/Ask)","Bid and ask lines":"خطوط سعري البيع والشراء (Bid/Ask)","Pre/post market price label":"ملصق السعر لما قبل/بعد الجلسة","Pre/post market price line":"خط السعر لما قبل/بعد الجلسة","High and low price lines":"خطوط أعلى وأدنى سعر","Countdown to bar close":"العد التنازلي لإغلاق العمود البياني","Plus button":"زر زائد","Source code":"كود المصدر","Price line":"خط السعر","Session breaks":"راحات جلسة التداول","change symbol":"تغيير الرمز","change resolution":"تغيير النطاق",Warning:"تحذير","Zoom Out":"تصغير","Zoom In":"تكبير","Maximize chart":"تكبير الرسم البياني","Restore chart":"استعادة الرسم البياني","Scroll to the Left":"التمرير إلى اليسار","Scroll to the Right":"التمرير إلى اليمين","Reset Chart":"إعادة تعيين الرسم البياني","Scroll to the Most Recent Bar":"التمرير إلى أخر عمود بياني",Mixed:"مختلط","show {title}":"عرض ‎{title}‎","Hide Favorite Drawing Tools Toolbar":"إخفاء شريط أدوات الرسم المفضلة","Market open":"السوق مفتوح","Pre-market":"ما قبل الجلسة","Post-market":"ما بعد الجلسة","Market closed":"السوق مغلق","Exchange timezone":"المنطقة الزمنية للبورصة",Image:"صورة",Transparency:"الشفافية","change symbol description visibility":"تغيير وضوح وصف رمز","change open market status visibility":"تغيير وضوح حالة السوق المفتوحة","change OHLC values visibility":"تغيير وضوح قيم OHLC","change bar change visibility":"تغيير وضوح تغييرات الأعمدة","change indicator titles visibility":"تغيير وضوح عناوين المؤشر","change indicator arguments visibility":"تغيير وضوح مدخلات المؤشر","change indicator values visibility":"تغيير وضوح قيم المؤشر","change volume values visibility":"تغيير وضوح قيم الحجم","Open market status":"حالة الأسواق المفتوحة","OHLC values":"قيم الافتتاح والإغلاق وأعلى وأدنى قيمة (OHLC)","Bar change values":"قيمة التغير للعمود","Indicator titles":"عناوين المؤشر","Indicator arguments":"مدخلات المؤشر","Indicator values":"قيم المؤشر","Hide Indicator Legend":"إخفاء وسيلة إيضاح المؤشر","Show Indicator Legend":"عرض وسيلة إيضاح المؤشر","Show Object Tree":"إظهار عناصر الرسم البياني","Could not get Pine source code.":"لا يمكن ايجاد مصدر الكود البرمجي باين.","Show interval settings":"إظهار إعدادات النطاق الزمني","Flag Symbol":"وضع علامة على الرمز","Unflag Symbol":"إزالة العلامة من الرمز","change line tool(s) font size":"تغيير حجم خط أداة (أدوات) الخط","change line tool(s) line style":"تغيير نمط أداة (أدوات) الخط","Font size":"حجم الخط","Template name":"أسم القالب","{hotKey_0} — drawing a straight line at angles of 45":"{hotKey_0} - رسم خط مستقيم بزوايا 45 درجة","{hotKey_0} — circle":"{hotKey_0} - دائرة","{hotKey_0} — square":"{hotKey_0} - مربع","{hotKey_0} — fixed increments":"{hotKey_0} — زيادات ثابتة",Arrow:"سهم",Cross:"تقاطع",Dot:"نقطة","Stay in Drawing Mode":"البقاء في وضع الرسم",Eraser:"ممحاة","Show Hidden Tools":"عرض الأدوات المخفاه","Hide All Drawing Tools":"إخفاء جميع أدوات الرسم","Lock All Drawing Tools":"غلق كل أدوات الرسم","Magnet Mode snaps drawings placed near price bars to the closest OHLC value":"وضع المغناطيس يجذب الرسومات الموجودة بجوار أعمدة السعر عند أقرب قيمة سعر إغلاق أو افتتاح أو أعلى وأقل سعر",Measure:"مقياس","{hotKey_0} + Click on the chart":"{hotKey_0} + اضغط على الرسم البياني",Color:"لون","Text color":"لون النص","Double click":"نقرتين متتاليتين","Delete pane":"حذف جزء","Move pane up":"تحريك جزء لأعلى","Move pane down":"تحريك جزء لأسفل","Maximize pane":"تكبير جزء","Restore pane":"استعادة جزء","Collapse pane":"طي الجزء","Manage panes":"إدارة العناصر",scroll:"تمرير","Lock vertical cursor line by time":"قفل خط المؤشر العمودي بمرور الوقت","change no overlapping labels":"تغيير الملصقات غير متداخلة","Merge all scales into one":"دمج كل المقاييس في مقياس واحد",Labels:"عناوين","Reset price scale":"إعادة تعيين مقياس السعر",Percent_scale_menu:"نسبة مئوية","Indexed to 100_scale_menu":"مدرجة إلى 100",Logarithmic_scale_menu:"لوغاريتمي",Regular_scale_menu:"عادي","No overlapping labels_scale_menu":"بدون ملصقات متداخلة","Invert scale_scale_menu":"عكس المقياس","Status line":"خط الحالة",Appearance:"المظهر",money:"أموال",pips:"نقاط",ticks:"تيكات السعر","Ticker and description":"الرمز والوصف","change chart background color":"تغيير لون خلفية الرسم البياني","change chart background type":"تغيير نوع خلفية الرسم البياني","change vert grid lines color":"تغيير لون خطوط الشبكة العمودية","change vert grid lines style":"تغيير نمط خطوط الشبكة العمودية","change horz grid lines color":"تغيير لون خطوط الشبكة الأفقية","change horz grid lines style":"تغيير نمط خطوط الشبكة الأفقية","change sessions breaks visibility":"تغيير وضوح فواصل الجلسات","change sessions breaks color":"تغيير وضوح لون فواصل الجلسات","change sessions breaks width":"تغيير عرض فواصل الجلسات","change sessions breaks style":"تغيير نمط فواصل الجلسات","change scales text color":"تغيير لون نص المقاييس","change scales font size":"تغيير حجم خط المقاييس","change scales lines color":"تغيير لون خطوط المقاييس","change pane separators color":"تغيير لون فواصل الجزء","change crosshair color":"تغيير لون التقاطع","change crosshair width":"تغيير عرض التقاطع","change crosshair style":"تغيير نمط التقاطع","change symbol watermark visibility":"تغيير وضوح علامة الرمز","change symbol watermark color":"تغيير لون علامة الرمز","change navigation buttons visibility":"تغيير وضوح أزرار التنقل","change pane buttons visibility":"تغيير وضوح أزرار الجزء","change top margin":"تغيير الهامش العلوي","change bottom margin":"تغيير الهامش السفلي","change right margin":"تغيير الهامش الأيمن","Vert grid lines":"خطوط شبكية رأسية","Horz grid lines":"خطوط شبكية أفقية","Scales text":"نص المقاييس","Scales lines":"خطوط المقاييس",Watermark:"علامة مائية","Top margin":"الهامش العلوي","Navigation buttons":"أزرار التنقل","Pane buttons":"أزرار الجزء","Bottom margin":"الهامش السفلي","Right margin":"الهامش الأيمن",bars_unit:"الأعمدة البيانية","change price Y coordinate":"تغيير إحداثيات سعر Y","change bar X coordinate":"تغيير إحداثيات سعر X","change {title} visibility on ticks":"تغيير وضوح {title} على التيكات","change {title} visibility on seconds":"تغيير وضوح {title} على الثواني","change {title} seconds from":"تغيير {title} الثواني من","change {title} seconds to":"تغيير {title} الثواني إلى","change {title} visibility on minutes":"تغيير {title} الدقائق من","change {title} minutes from":"تغيير {title} الدقائق إلى","change {title} minutes to":"تغيير وضوح {title} على الساعات","change {title} visibility on hours":"تغيير وضوح {title} على الساعات","change {title} hours from":"تغيير {title} الساعات من","change {title} hours to":"تغيير {title} الساعات إلى","change {title} visibility on days":"تغيير وضوح {title} على الأيام","change {title} days from":"تغيير {title} الأيام من","change {title} days to":"تغيير {title} الأيام إلى","change {title} visibility on weeks":"تغيير وضوح {title} على الأسابيع","change {title} weeks from":"تغيير {title} الأسابيع من","change {title} weeks to":"تغيير {title} الأسابيع إلى","change {title} visibility on months":"تغيير وضوح {title} على الأشهر","change {title} months from":"تغيير {title} الأشهر من","change {title} months to":"تغيير {title} الأشهر إلى","change {title} visibility on ranges":"تغيير وضوح {title} على النطاقات",Seconds:"ثواني",Minutes:"دقائق",Hours:"ساعات",Days:"الأيام",Weeks:"أسابيع",Months:"الشهور",Ranges:"نطاقات القدرة التحليلية",seconds:"ثواني","seconds from":"ثوان من","seconds to":"ثواني لـ",minutes:"دقائق","minutes from":"دقائق من","minutes to":"دقائق لـ",hours:"ساعات","hours from":"ساعات من","hours to":"ساعات لـ",days:"الأيام","days from":"أيام من","days to":"أيام لـ",weeks:"أسابيع","weeks from":"أسابيع من","weeks to":"أسابيع لـ",months:"الشهور","months from":"أشهر من","months to":"أشهر لـ",ranges:"نطاقات القدرة التحليلية","change symbol legend format":"تغيير تنسيق مفتاح التوضيح الرمز","change legend background visibility":"تغيير وضوح خلفية المفتاح التوضيحي","change legend background transparency":"تغيير شفافية خلفية المفتاح التوضيحي","change {title} price label visibility":"تغيير وضوح ملصقات أسعار {title}","change {title} extension":"تغيير امتداد {title}","change {title} time label visibility":"تغيير وضوح ملصقات وقت {title}","Price label":"ملصق السعر","Time label":"ملصق الوقت",Extend:"تمديد","change symbol last value mode":"تغيير وضع آخر قيمة للرمز","change currency label visibility":"تغيير وضوح ملصقات العملة","change unit label visibility":"تغيير وضوح ملصقات الوحدة","change currency and unit labels visibility":"تغيير وضوح وحدات الملصقات والعملة","change date format":"تغيير تنسيق التاريخ",Unit:"وحدة","Currency and Unit":"العملة والوحدة","Scales placement":"وضع المقاييس","Date format":"تنسيق التاريخ","No overlapping labels":"بدون ملصقات متداخلة","Price and percentage value":"السعر وقيمة النسبة المئوية","Value according to scale":"القيمة حسب المقياس","text color":"لون النص",Text:"النص","change {inputName} property":"تغيير خاصية {inputName}","change color bars based on previous close":"تغيير لون الأعمدة بناءً على الإغلاق السابق","change HLC bars":"تغيير أعمدة HLC","change bar up color":"تغيير لون العمود الصاعد","change bar down color":"تغيير لون العمود الهابط","change thin bars":"تغيير الأعمدة الرقيقة","change line price source":"تغيير مصدر سعر الخط","change line type":"تغيير نوع الخط","change line color":"تغيير لون الخط","change line width":"تغيير عرض الخط","change area price source":"تغيير مصدر سعر المنطقة","change area line color":"تغيير لون خطوط المنطقة","change area line width":"تغيير عرض خط المنطقة","change area fill color":"تغيير لون المنطقة","change baseline price source":"تغيير مصدر السعر الأساسي","change baseline top line color":"تغيير لون خطوط خط الأساس","change baseline top line width":"تغيير عرض أعلى الخط الأساسي","change baseline bottom line color":"تغيير لون قاع خط الأساس","change baseline bottom line width":"تغيير لون قاع خط الأساس","change baseline fill top area color":"تغيير لون المنطقة العليا لخط الأساس","change baseline fill bottom area color":"تغيير لون المنطقة السفلية لخط الأساس","change base level":"تغيير مستوى الأساس","change high-low body visibility":"تغيير وضوح جسم أعلى-أدنى","change high-low body color":"تغيير لون جسم أعلى-أدنى","change high-low borders visibility":"تغيير وضوح حدود أعلى-أدنى","change high-low border color":"تغيير لون حدود أعلى-أدنى","change high-low labels visibility":"تغيير وضوح ملصقات أعلى-أدنى","change high-low labels color":"تغيير لون ملصقات أعلى-أدنى","change high-low labels font size":"تغيير حجم خط ملصقات أعلى-أدنى","change renko wick visibility":"تغيير وضوح ذيل الرينكو","change renko wick up color":"تغيير لون ذيل الرينكو الصاعد","change renko wick down color":"تغيير لون ذيل رينكو الهابط","change the display of real prices on price scale (instead of Heiken-Ashi price)":"تغيير عرض الأسعار الحقيقية على مقياس السعر (بدلًا من سعر هيكن آشي)","change range thin bars":"تغيير نطاق الأعمدة الرقيقة","change {candleType} body visibility":"تغيير وضوح الجسم {candleType}","change {candleType} up color":"تغيير لون {candleType} الصاعد","change {candleType} down color":"تغيير لون {candleType} الهابط","change {candleType} border visibility":"تغيير وضوح حدود {candleType}","change {candleType} up border color":"تغيير لون حدود {candleType} الصاعد","change {candleType} down border color":"تغيير لون حدود {candleType} الهابط","change {candleType} wick visibility":"تغيير وضوح ذيل {candleType}","change {candleType} wick up color":"تغيير لون ذيل {candleType} الصاعد","change {candleType} wick down color":"تغيير لون ذيل {candleType} الهابط","change {chartType} up color":"تغيير لون {chartType} الصاعد","change {chartType} down color":"تغيير لون {chartType} الهابط","change {chartType} projection bar up color":"تغيير لون عمود الإسقاط {chartType} الصاعد","change {chartType} projection bar down color":"تغيير لون عمود الإسقاط {chartType} الهابط","change {chartType} border bar up color":"تغيير لون حدود عمود {chartType} الصاعد","change {chartType} border bar down color":"تغيير لون حدود عمود {chartType} الهابط","change {chartType} projection border bar up color":"تغيير لون الإسقاط لحدود عمود {chartType} الصاعد","change column down color":"تغيير لون الأعمدة الهابطة","change column price source":"تغيير مصدر سعر العمود","Thin bars":"أعمدة نحيفة","Top line":"الخط العلوي","Bottom line":"الخط السفلي","Fill top area":"إملئ المنطقة العلوية","Fill bottom area":"ملء المنطقة السفلية","Real prices on price scale (instead of Heikin-Ashi price)":"عرض الأسعار الحقيقية على مقياس السعر (بدلًا من سعر هيكن آشي)","Base level":"مستوى الأساس",candle:"شمعة",range_0:"نطاق",range_1:"نطاق",range_2:"نطاق",range_3:"نطاقات",range_4:"نطاق",range_5:"نطاق","hollow candles":"شموع مفرغة",Center:"مركز","change {title} middle point visibility":"تغيير وضوح نقطة المنتصف {title}","change {title} price labels visibility":"تغيير وضوح ملصقات أسعار {title}","change {title} price range visibility":"تغيير وضوح ملصقات أسعار {title}","change {title} bars range visibility":"تغيير وضوح نطاق الأعمدة {title}","change {title} date/time range visibility":"تغيير وضوح نطاق التاريخ/الوقت {title}","change {title} distance visibility":"تغيير وضوح المسافة {title}","change {title} angle visibility":"تغيير وضوح زاوية {title}","change {title} always show stats":"تغيير {title} لتظهر دائما الإحصائيات","change {title} stats position":"تغيير موضع الإحصائيات {title}","Middle point":"نقطة المنتصف","Price labels":"عنوان السعر","Stats position":"موقف الإحصائيات","Price range":"المدى السعري","Bars range":"نطاق الأعمدة","Date/time range":"نطاق التاريخ/الوقت",Distance:"مسافة",Angle:"زاوية","Always show stats":"أظهر الاحصائيات دائماً",Stats:"الإحصائيات","change {toolName} line visibility":"تغيير وضوح خط {toolName}","change {toolName} line width":"تغيير عرض خط {toolName}","change {toolName} line style":"تغيير نمط خط {toolName}","change {toolName} line color":"تغيير لون خط {toolName}","change {toolName} line extending left":"تغيير خط {toolName} الممتد إلى اليسار","change {toolName} line left end":"تغيير النهاية اليسرى لخط {toolName}","change {toolName} line extending right":"تغيير خط {toolName} الممتد إلى اليمين","change {toolName} line right end":"تغيير النهاية يمين خط {toolName}","Extend left line":"تمديد الخط الأيسر","Extend right line":"تمديد الخط الأيمن","change {toolName} text visibility":"تغيير وضوح النص {toolName}","change {toolName} text color":"تغيير لون النص {toolName}","change {toolName} text font size":"تغيير حجم خط نص {toolName}","change {toolName} text font bold":"تغيير خط النص الغامق {toolName}","change {toolName} text font italic":"تغيير خط النص {toolName} المائل","change {toolName} text":"تغيير نص {toolName}","change {toolName} labels alignment vertical":"تغيير المحاذاة الرأسية لملصقات {toolName}","change {toolName} labels alignment horizontal":"تغيير محاذاة الملصقات {toolName} أفقيًا","change {toolName} labels direction":"تغيير اِتِّجاه ملصقات {toolName}","change {toolName} text background visibility":"تغيير وضوح خلفية النص {toolName}","change {toolName} text background color":"تغيير لون خلفية النص {toolName}","change {toolName} text border visibility":"تغيير وضوح حدود النص {toolName}","change {toolName} text border width":"تغيير عرض حدود النص {toolName}","change {toolName} text border color":"تغيير لون حدود النص {toolName}","change {toolName} text wrap":"تغيير التفاف نص {toolName}","Text wrap":"التفاف النص","change arrow color":"تغيير لون السهم","change {title} color":"تغيير لون {title}","change {title} mode":"تغيير وضع {title}","change {title} mirrored":"تغيير {title} المعكوس","change {title} flipped":"تغيير {title} المقلوب",Mode:"الوضع",Mirrored:"معكوس",Flipped:"مقلوب","HL bars":"أعمدة الارتفاع والانخفاض","OC bars":"أعمدة OC","Line - close":"خط- إغلاق","Line - open":"خط - افتتاح","Line - high":"خط - ارتفاع","Line - low":"خط - انخفاض","Line - HL/2":"خط - ارتفاع / انخفاض / 2","change {title} background visibility":"تغيير وضوح خلفية {title}","change {title} background color":"تغيير اللون لخلفية {title}","change {title} degree":"تغيير درجة {title}",Wave:"الموجة",Degree:"درجة","change {title} level {index} line visibility":"تغيير وضوح مستوى خط {title} {index}","change {title} levels visibility":"تغيير وضوح المستويات {title}","change {title} level {index} line color":"تغيير لون خط مستوى {title} {index}","change {title} level {index} line width":"تغيير عرض خط مستوى {title} {index}","change {title} level {index} line coeff":"تغيير معامل خط مستوى {title} {index}","change {title} all lines color":"تغيير لون كل الخطوط {title}","change {title} background transparency":"تغيير وضوح الخلفية {title}","change {title} coeffs as percents visibility":"تغيير وضوح معامل {title} كنسبة رؤية","Trend line":"خط الاتجاه","Use one color":"استخدم لون واحد",Levels:"مستويات","Coeffs as percents":"مُعامِلات كنسب مئوية","change {title} reverse":"تغيير {title} المعكوس","change {title} prices visibility":"تغيير وضوح أسعار {title}","change {title} labels alignment":"تغيير محاذاة الملصقات {title}","change {title} labels font size":"تغيير حجم خط الملصقات {title}","change {title} style":"تغيير نمط {title}","change {title} fib levels based on log scale":"تغيير مستويات فيبوناتشي {title} على أساس المقياس اللوغاريتمي","Levels line":"خط المستويات","Extend right":"تمديد لليمين","Extend left":"تمديد لليسار","Extend lines right":"تمديد الخطوط يميناً","Extend lines left":"تمديد الخطوط لليسار","Fib levels based on log scale":"مستويات فيبوناتشي استنادا على المقياس اللوغاريتمي",Values:"القِيم",Percents:"نسب مئوية",Top:"الأعلى",Middle:"وسط",Bottom:"الأسفل","change {title} full circles visibility":"تغيير وضوح الدوائر الكاملة {title}","Full circles":"دوائر كاملة","change {title} left labels visibility":"تغيير وضوح الملصقات اليسرى {title}","change {title} right labels visibility":"تغيير وضوح الملصقات اليمنى {title}","change {title} top labels visibility":"تغيير وضوح الملصقات العليا {title}","change {title} bottom labels visibility":"تغيير وضوح الملصقات السفلى {title}","change {title} grid visibility":"تغيير وضوح شبكة {title}","change {title} grid line color":"تغيير وضوح الملصقات العليا {title}","change {title} grid line width":"تغيير لون شبكة الخطوط {title}","change {title} grid line style":"تغيير نمط خط الشبكة {title}","Price levels":"مستويات السعر","Time levels":"مستويات الوقت","Left labels":"العناوين اليسرى","Right labels":"ملصقات على اليمين","Top labels":"عناوين القمة","Bottom labels":"عناوين سفلية","change {title} line color":"تغيير لون الخط {title}","change {title} line width":"تغيير عرض الخط {title}","change {title} line style":"تغيير نمط الخط {title}","change {title} counterclockwise":"تغيير عكس عقارب الساعة {title}",Counterclockwise:"عكس عقارب الساعة","change {title} level {index} line style":"تغيير نمط خط مستوى {title} {index}","change {title} labels visibility":"تغيير وضوح الملصقات {title}","change flag color":"تغيير لون العلم","change {title} fan {index} line visibility":"تغيير وضوح خط المروحة {title} {index}","change {title} fan {index} line color":"تغيير لون خط مروحة {title} {index}","change {title} fan {index} line width":"تغيير عرض خط المروحة {title} {index}","change {title} arcs {index} line visibility":"تغيير وضوح أقواس {title} {index}","change {title} arcs {index} line color":"تغيير لون خط أقواس {title} {index}","change {title} arcs {index} line width":"تغيير عرض خط أقواس {title} {index}","Price/bar ratio":"نسبة السعر/العمود","Ranges and ratio":"نطاقات ونِسب",Fans:"مراوح",Arcs:"أقواس","change {title} fans visibility":"تغيير وضوح المراوح {title}","change {title} fans line color":"تغيير لون خط المراوح {title}",Angles:"زوايا","change {title} extend top":"تغيير التمديد لأعلى {title}","change {title} extend bottom":"تغيير التمديد لأسفل {title}","change {title} extend left":"تغيير التمديد لليسار {title}","Extend top":"تمديد لأعلى","Extend bottom":"تمديد لأسفل",Label:"عنوان","Label background":"خلفية العنوان","change {title} candle up color":"تغيير لون شموع {title} الصاعدة","change {title} candle down color":"تغيير لون شموع {title} الهابطة","change {title} candle border visibility":"تغيير وضوح حدود {title} الصاعدة","change {title} candle border up color":"تغيير لون حدود ‎{title}‎ الصاعدة","change {title} candle border down color":"تغيير لون حدود ‎{title}‎ الهابطة","change {title} candle wick visibility":"تغيير وضوح ظلال شموع {title}","change {title} candle wick color":"تغيير لون ظلال شموع {title}","change {title} transparency":"تغيير وضوح {title}","change {title} average HL value":"تغيير قيمة متوسط أعلى-أدنى {title}","change {title} variance value":"تغيير قيمة التباين {title}","Avg HL in minticks":"متوسط أعلى-أدنى لأقل تيك",Variance:"التباين","#1 (price)_linetool point":"#1 (سعر)","#{count} (price, bar)_linetool point":"#{count}' (سعر، عمود)","change {title} extending left":"تغيير التمديد لليسار {title}","change {title} extending right":"تغيير التمديد لليمين {title}",Channel:"قناة","change {title} extend lines":"تغيير تمديد الخط {title}",Median:"متوسط","Extend lines":"تمديد الخطوط",Original:"أصلي",Schiff:"سكيف","Modified Schiff":"شيف المعدل",Inside:"بالداخل","change {title} source text color":"تغيير لون نص المصدر {title}","change {title} source background color":"تغيير لون خلفية المصدر {title}","change {title} source border color":"تغيير لون حدود المصدر {title}","change {title} target text color":"تغيير لون نص الهدف {title}","change {title} target background color":"تغيير لون خلفية الهدف {title}","change {title} target border color":"تغيير لون إطارات الهدف {title}","change {title} success text color":"تغيير لون نص نجاح {title}","change {title} success background color":"تغيير لون خلفية نجاح {title}","change {title} failure text color":"تغيير لون نص عدم نجاح {title}","change {title} failure background color":"تغيير لون خلفية عدم نجاح {title}","Source text":"نص المصدر","Source background":"خلفية المصدر","Source border":"إطار المصدر","Target text":"نص الهدف","Target background":"خلفية الهدف","Target border":"إطار الهدف","Success text":"نص النجاح","Success background":"خلفية النجاح","Failure text":"نص الإخفاق","Failure background":"خلفية الإخفاق","Label text":"نص الملصق","Line color":"لون الخط","Label border":"حواف الملصق","change {title} background color 1":"تغيير اللون 1 لخلفية {title}","change {title} background color 2":"تغيير اللون 2 لخلفية {title}","change {title} stop color":"تغيير لون الإيقاف {title}","change {title} target color":"تغيير لون الهدف {title}","change {title} compact stats mode":"تغيير الوضع المدمج لإحصائيات {title}","change {title} account size":"تغيير حجم الحساب {title}","change {title} lot size":"تغيير حجم اللوت {title}","change {title} risk":"تغيير مخاطرة {title}","change {title} risk display mode":"تغيير وضع عرض الخاطرة {title}","change {title} entry price":"تغيير سعر الدخول {title}","change {title} profit level":"تغيير مستوى الربح {title}","change {title} profit price":"تغيير سعر ربح {title}","change {title} stop level":"تغيير مستوى الإيقاف {title}","change {title} stop price":"تغيير سعر الإيقاف {title}","Stop color":"لون وقف الخسارة","Target color":"لون الهدف:","Compact stats mode":"احصائيات الوضع المدمج","Entry price":"سعر صفقة التداول","Profit level":"مستوى جني الأرباح","Stop level":"مستوى وقف الخسارة","Account size":"حجم الحساب","Lot size":"‏ حجم العقد",Cash:"السيولة النقدية","change vertical position Y coordinate":"تغيير إحداثيات الوضع الرأسي Y","change {title} emoji visibility":"تغيير وضوح الرموز التعبيرية {title}","change {title} image background color":"تغيير لون خلفية الصورة {title}","change {title} emoji":"تغيير الرمز التعبيري {title}","#1 (vertical position %, bar)_linetool point":"# 1 (الوضع العمودي، عمود)","Emoji pin":"دبوس الرموز التعبيرية","#1 (price, bar)_linetool point":"#1 (سعر، عمود)","#1 (bar)_linetool point":"#1 (عمود)","change decimal places":"تغيير المنازل العشرية","change extended hours color":"تغيير لون الساعات الممددة","change pre market color":"تغيير لون ما قبل الجلسة","change post market color":"تغيير لون ما بعد الجلسة","change price line color":"تغيير لون خطوط السعر","change price line width":"تغيير عرض خط السعر","change previous close price line color":"تغيير لون خط سعر الإغلاق السابق","change previous close price line width":"تغيير عرض خط سعر الإغلاق السابق","change pre/post market price lines visibility":"تغيير وضوح خط أسعار ما قبل/بعد الجلسة","change pre market line color":"تغيير لون خط ما قبل الجلسة","change post market line color":"تغيير لون خط ما بعد الجلسة","change bid line color":"تغيير لون خط سعر البيع","change ask line color":"تغيير لون خط سعر الشراء","Pre/post market hours background":"خلفية ما قبل/بعد الجلسة","Last price line":"خط أخر سعر",Precision:"الدقة","(H + L)/2":"(أعلى سعر + أدنى سعر)/2","(H + L + C)/3":"(أعلى سعر+ أدنى سعر + سعر الإغلاق)/3","(O + H + L + C)/4":"(سعر الفتح + أعلى سعر+ أدنى سعر + سعر الإغلاق)/4",Simple:"بسيط","With markers":"ذو علامات",Step:"خطوة",Default:"افتراضي","change {title} base line visibility":"تغيير وضوح خط القاعدة {title}","change {title} base line color":"تغيير لون خط القاعدة {title}","change {title} base line width":"تغيير عرض خط القاعدة {title}","change {title} base line style":"تغيير نمط خط القاعدة {title}","change {title} up line visibility":"تغيير وضوح الخط العلوي {title}","change {title} up line color":"تغيير لون الخط العلوي {title}","change {title} up line width":"تغيير عرض الخط العلوي {title}","change {title} up line style":"تغيير نمط الخط العلوي {title}","change {title} down line visibility":"تغيير وضوح الخط الأدنى {title}","change {title} down line color":"تغيير لون الخط الأدنى {title}","change {title} down line width":"تغيير عرض الخط الأدنى {title}","change {title} down line style":"تغيير نمط الخط الأدنى {title}","change {title} show pearson's r":"تغيير عرض {title} pearson's r",Base:"نقطة الأساس",Up:"أعلى",Down:"للأسفل","Pearson's R":"معامل بيرسون","#{count} (bar)_linetool point":"#‎{count}‎ (عمود)","change study overlay style":"تغيير نمط تراكب الدراسة","change study overlay min tick":"تغيير تراكب أدنى تيك في الدراسة","Override min tick":"تجاوز الحد الأدنى للتيك",Horizontal:"أفقي",Vertical:"عمودي","Text alignment":"محاذاة النص","Text orientation":"اتجاه النص","change {propertyName} property":"تغيير خاصية {propertyName}",Offset:"اعتماد مقاصة","Main chart symbol_input":"رمز الرسم البياني الرئيسي","Another symbol_input":"رمز آخر",open:"الأفتتاح",high:"أعلى سعر",low:"أقل سعر",close:"سعر الإغلاق",hl2:"أعلى سعر+أقل سعر /2",hlc3:"أعلى سعر+أقل سعر+الإغلاق /3",ohlc4:"أعلى سعر+أقل سعر+الأفتتاح+الإغلاق/4",Outputs:"المخرجات","change thickness":"تغيير السماكة","change color":"تغيير اللون","change opacity":"تغيير درجة الشفافية","change font size":"تغيير حجم الخط","change line style":"تغير نمط الخط","change min tick":"تغيير أدنى تيك","change precision":"تغيير الدقة","Above bar":"أعلى العمود","Below bar":"تحت مستوى العمود","change value":"تغيير القيمة","change char":"تغيير الشار","change location":"تغيير الموقع","change percent width":"تغيير نسبة العرض","change placement":"تغيير الوضع","change values visibility":"تغيير وضوح القيم","Width (% of the box)":"عرض (% من المربع)",Placement:"وضع","Trades on chart":"صفقات على الرسم البياني","Signal labels":"ملصقات الإشارات",Quantity:"الكمية","change plot type":"تغيير نمط الرسم","Labels font":"خط العناوين","change shape":"تغيير الشكل","Volume profile":"بروفايل أحجام التداول","Developing VA":"تطوير منطقة القيمة","Values in status line":"القيم في سطر الحالة","Labels on price scale":"الملصقات على مقياس السعر",Forecast:"توقعات","Script name":"اسم النص البرمجي","Save New Chart Layout":"حفظ التنسيق الجديد للرسم البياني","Enter a new chart layout name":"ادخل اسم تصميم الرسم البياني الجديد","Copy Chart Layout":"نسخ تصميم الرسم البياني","{title} copy_ex: AAPL chart copy":"نسخة ‎{title}‎","Data error":"مشكلة في البيانات","Study Error":"خطأ في الدراسة","Data is delayed":"البيانات متأخرة","End of day data":"بيانات نهاية اليوم","One update per second":"تحديث واحد لكل ثانية","{symbolName} data is delayed by {time} minutes.":"‎بيانات {symbolName}‎ متأخرة بـ ‎{time}‎ دقيقة","{listedExchange} real-time data is available for free to registered users.":"بيانات ‎{listedExchange}‎ اللحظية متاحة مجانًا للمستخدمين المسجلين.","To get real-time data for {description}, please buy the real-time data package.":"للحصول على البيانات اللحظية لـ ‎{description}‎، يرجى شراء حزمة البيانات اللحظية.","Real-time data for {description} is not supported right now. We may support it in the future.":"البيانات اللحظية لـ ‎{description}‎ غير مدعومة في الوقت الحالي، قد تكون متاحة مستقبلاً.","Data is updated once a day.":"يتم تحديث البيانات مرة واحدة في اليوم.","Data on our Basic plan is updated once per second, even if there are more updates on the market.":"البيانات المقدمة على العضويات المجانية لا يتم تحديثها أكثر من مرة واحدة كل ثانية، حتى لو كانت هناك عدة تحديثات في السوق.","Data is updated once per second, even if there are more updates on the market.":"لا يتم تحديث البيانات أكثر من مرة واحدة في الثانية، حتى لو كانت هناك عدة تحديثات في السوق.","Paid plans feature faster data updates.":"تتمتع العضويات المدفوعة بتحديثات أسرع للبيانات.","This data is real-time, but it’s slightly different to its official counterpart coming from primary exchanges.":"هذه البيانات هي بيانات لحظية، ولكنها تختلف قليلاً عن نظيرتها الرسمية من السوق الرئيسي.","If you'd like {listedExchange} real-time data you'll need to complete an Exchange Agreement. Don't worry, it only takes a few clicks":"إذا كنت ترغب في الحصول على بيانات ‎{listedExchange}‎ اللحظية، فستحتاج إلى ملء اتفاقية البورصة. لا تقلق، لا يتطلب الأمر سوى بضع نقرات.","Create a free account":"أنشئ حساباً مجاناً","Fill out Exchange Agreements":"ملء اتفاقية البورصة","This symbol doesn't exist, please pick another one.":"لا يوجد هذا الرمز. يرجى اختيار رمز آخر.","All's well — Market is open.":"كل شيء على ما يرام - السوق مفتوح.","Morning. Market is open for pre-market trading.":"السوق مفتوح حاليًا للتداول ما قبل الجلسة.","Evening. Market is open for post-market trading.":"السوق مفتوح حاليًا للتداول ما بعد الجلسة.","Time for a walk — this market is closed.":"حان وقت المغادرة - هذا السوق مغلق.","Market is currently on holiday. Lucky them.":"السوق في عطلة حالياً. من حسن حظهم!","less than 1 minute":"أقل من دقيقة واحدة","{days} and {hours}":"{days} و{hours}","{hours} and {minutes}":"{hours} و{minutes}","Market opens in {remainingTime}.":"يفتح السوق في {remainingTime}.","Market closes in {remainingTime}.":"يغلق السوق في {remainingTime}.","It'll go to post-market trading in {remainingTime}.":"ستنتقل إلى التداول فيما بعد الجلسة في {remainingTime}.","It'll open for pre-market trading in {remainingTime}.":"سيتم فتحه للتداول ما قبل الافتتاح في {remainingTime}.","Replay mode":"وضع إعادة التشغيل","You're in Replay mode. You're in Replay mode. You're in Replay mode.":"أنت في وضع إعادة التشغيل. أنت في وضع إعادة التشغيل. أنت في وضع إعادة التشغيل.","Do you really want to delete Study Template '{name}' ?":"هل تريد فعلًا مسح النموذج الدراسي '{name}'؟","Modify Order":"تعديل الأمر","Cancel Order":"إلغاء أمر",Confirmation:"تأكيد","send {title} backward":"أرسل {title} للخلف","bring {title} forward":"حرّك {title} للأمام","insert {title} after {target}":"أدخل {title} بعد {target}","insert {title} before {target}":"أدخل {title} قبل {target}","remove drawings group":"تغيير المنازل العشرية","move scale":"حرك المقياس","stop syncing line tool(s)":"وقف أداة (أدوات) مزامنة الخط","zoom out":"تصغير","zoom in":"تكبير","move drawing(s)":"نقل الرسم (الرسومات)","load default drawing template":"تحميل قالب الرسم الافتراضي","clone line tools":"أدوات نسخ الخط","merge to pane":"دمج في جزء","unmerge to new bottom pane":"إلغاء الاندماج في الجزء السفلي الجديد","move {title} to new right scale":"انقل ‎{title}‎ إلى مقياس جديد على اليسار","move {title} to new left scale":"انقل ‎{title}‎ إلى مقياس يسار جديد","make {title} no scale (Full screen)":"اجعل ‎{title}‎ بدون مقياس محدد (ملء الشاشة)","reset time scale":"إعادة تعيين مقياس الزمن","change {pointIndex} point":"تغيير نقطة {pointIndex}","remove all studies":"احذف جميع الدراسات","remove drawings":"حذف الرسومات","remove all studies and drawing tools":"احذف جميع الدراسات وأدوات الرسم","turn line tools sharing off":"وقف تشغيل مشاركة أدوات الخط","share line tools in layout":"مشاركة أدوات الخط في التنسيق","share line tools globally":"مشاركة أدوات الخط بشكل شامل","apply all chart properties":"تطبيق كافة خصائص الرسم البياني","{count} bars":"{count} أعمدة",Jan:"يناير",Feb:"فبراير",Mar:"مارس",Apr:"أبريل",May_short:"مايو",Jun:"يونيو",Jul:"يوليو",Aug:"أغسطس",Sep:"سبتمبر",Oct:"أكتوبر",Nov:"نوفمبر",Dec:"ديسمبر","Fraction part is invalid.":"جزء الكسر غير صحيح","Second fraction part is invalid.":"الجزء الثاني غير صحيح.","create line tools group from selection":"إنشاء مجموعة أدوات الخطوط من الخيارات المتاحة","removing line tools group {name}":"حذف مجموعة أدوات الخطوط ‎{name}‎","add line tool {lineTool} to group {name}":"إضافة أداة الخطوط {lineTool} لمجموعة {name}","make group {group} visible":"اجعل المجموعة ‎{group}‎ مرئية","make group {group} invisible":"اجعل المجموعة ‎{group}‎ غير مرئية","lock group {group}":"غلق المجموعة ‎{group}‎","unlock group {group}":"فتح المجموعة ‎{group}‎","rename group {group} to {newName}":"تغيير اسم المجموعة ‎{group}‎ إلى ‎{newName}‎","change {sourceTitle} title to {newSourceTitle}":"غيّر عنوان {sourceTitle} إلى {newSourceTitle}","insert source(s) after":"أدخل المصدر (المصادر) بعد ذلك","mirror bars pattern":"نسخ أنماط الأعمدة","flip bars pattern":"قلب أنماط الأعمدة","change Elliott degree":"تغيير درجة إليوت",Supermillennium:"موجة الألفية العظمى",Millennium:"ألفية",Submillennium:"موجة الألفية الثانوية","Grand supercycle":"الموجة الدورية العظمى",Supercycle:"الموجة الدورية العليا",Cycle:"دورة",Primary:"أوًلي",Intermediate:"متوسط",Minor_wave:"أصغر",Minute_wave:"دقيقة",Minuette:"موجة إليوت الذرية",Subminuette:"فاصل الدقيقة في موجات اليوت",Micro:"صغيرة",Submicro:"موجة مجهرية فرعية",Minuscule:"حرف صغير","erase level line":"محو خط المستوى","Left Shoulder":"الكتف الأيسر","Right Shoulder":"الكتف الأيمن",Head:"رأس","XABCD Pattern":"XABCD نموذج","ABCD Pattern":"نموذج ABCD",Arc:"قوس","Arrow Mark Down":"علامة السهم تُشير للأسفل","Arrow Mark Left":"علامة السهم تُشير لليسار","Arrow Mark Right":"علامة السهم تُشير لليمين","Arrow Mark Up":"علامة السهم تُشير للأعلى",Balloon:"بالون","Bars Pattern":"نمط الأعمدة","Double Curve":"منحنى مزدوج",Curve:"منحنى",Brush:"فرشاة",Callout:"نص تفسيري","Cyclic Lines":"خطوط دورية","Cypher Pattern":"نمط سيفر","Date and Price Range":"نطاق التاريخ والسعر","Disjoint Channel":"قناة منفصلة","Elliott Correction Wave (ABC)":"موجة إليوت التصحيحية (ABC)","Elliott Double Combo Wave (WXY)":"موجة إليوت الثنائية المركبة (WXY)","Elliott Impulse Wave (12345)":"موجة إليوت الدافعة (12345)","Elliott Triangle Wave (ABCDE)":"موجة إليوت المثلثة (ABCDE)","Elliott Triple Combo Wave (WXYXZ)":"موجة إليوت الثلاثية المركبة (WXYXZ)",Ellipse:"بيضاوي","Extended Line":"خط ممتد","Fib Channel":"قناة فيبوناتشي","Fib Circles":"دوائر فيبوناتشي","Fib Retracement":"تصحيح فيبوناتشي","Fib Speed Resistance Arcs":"أقواس فيبوناتشي المقاومة للسرعة","Fib Speed Resistance Fan":"مروحة فيبوناتشي المقاومة للسرعة","Fib Spiral":"حلزون فيبوناتشي","Fib Time Zone":"منطقة فيبوناتشي الزمنية","Fib Wedge":"وتد فيبوناتشي","Flag Mark":"علامة تمييز","Flat Top/Bottom":"قمة / قاع مسطح","Anchored VWAP":"VWAP مُثبّت","Gann Square Fixed":"مربع جان ثابت","Horizontal Line":"خط أفقي","Horizontal Ray":"شعاع أفقي","Inside Pitchfork":"داخل الرسم البياني بيتش فورك",Note:"ملاحظة","Anchored Note":"ملحوظة مُثبّتة",Signpost:"لافتة",Pitchfan:"بتشفان",Pitchfork:"بيتش فورك",Polyline:"متعدد الخطوط",Path:"مسار","Price Label":"ملصق السعر","Arrow Marker":"علامة السهم","Price Range":"المدى السعري",Projection:"مسقط",Ray:"شعاع",Circle:"دائرة","Regression Trend":"إتجاه الإنحدار","Long Position":"صفقة شراء","Short Position":"صفقة بيع على المكشوف","Fixed Range Volume Profile":"بروفايل حجم التداول بنطاق ثابت","Rotated Rectangle":"مستطيل مائل","Modified Schiff Pitchfork":"شيف بيتش فورك المعدل","Schiff Pitchfork":"سكيف بيتش فورك","Sine Line":"منحنى الجيب",Text_tool:"نص","Anchored Text":"نص مُثبّت","Three Drives Pattern":"نموذج الثلاث موجات","Time Cycles":"الدورات الزمنية","Trend Angle":"زاوية الإتجاه","Trend-Based Fib Extension":"امتداد فيبوناتشي الاتجاهي","Trend-Based Fib Time":"فيبوناتشي الزمني الاتجاهي","Trend Line":"خط الاتجاه","Info Line":"خط المعلومات","Triangle Pattern":"نموذج المثلث","Vertical Line":"خط رأسي","Cross Line":"الخط المتقاطع",Highlighter:"لون مُميِز","Price Note":"بطاقة السعر","Volume Profile Fixed Range":"بروفايل حجم التداول بنطاق ثابت","Ghost Feed":"مسار تخيّلي","{status} P&L: {pnl}":"‎{status}‎ الهدف والخسارة:‎{pnl}‎",Open_line_tool_position:"مفتوح",Closed_line_tool_position:"أغلقت","Risk/Reward Ratio: {ratio}":"نسبة المخاطرة/العائد: {ratio}","Stop: {stopChange} ({stopChangePercent}) {stopChangePip}, Amount: {amount}":"وقف:{stopChange} ({stopChangePercent}) {stopChangePip}، الكمية:‎{amount}‎","Target: {profitChange} ({profitChangePercent}) {profitChangePip}, Amount: {amount}":"هدف:{profitChange} ({profitChangePercent}) {profitChangePip}، الكمية:‎{amount}‎","Qty: {qty}":"كمية:‎{qty}‎",T_interval_short:"T",s_interval_short:"s",R_interval_short:"نطاق",tick_0:"تيك",tick_1:"تيك",tick_2:"تيك",tick_3:"تيك",tick_4:"تيك",tick_5:"تيك",day_0:"يوم",day_1:"يوم",day_2:"يومين",day_3:"أيام",day_4:"يوم",day_5:"يوم",week_0:"أسبوع",week_1:"أسبوع",week_2:"أسبوعين",week_3:"أسابيع",week_4:"أسبوع",week_5:"أسبوع",second_0:"ثانية",second_1:"ثانية",second_2:"ثانيتان",second_3:"ثوان",second_4:"ثانية",second_5:"ثانية",minute_0:"دقيقة",minute_1:"دقيقة",minute_2:"دقيقتين",minute_3:"دقائق",minute_4:"دقيقة",minute_5:"دقيقة",hour_0:"ساعة",hour_1:"ساعة",hour_2:"ساعة",hour_3:"ساعات",hour_4:"ساعة",hour_5:"ساعة","Stack on the left":"انحياز لليسار","Stack on the right":"انحياز لليمين",Auto:"تلقائي",Avg:"متوسط",HL2_in_legend:"HL2",HLC3_in_legend:"HLC3",OHLC4_in_legend:"OHLC4","Symbol Error":"خطأ في الرمز","No volume data":"بيانات الحجم غير موجودة","Fundamental studies are no longer available on charts":"لم تعد الدراسات الأساسية متوفرة على الرسوم البيانية","loading...":"تحميل...","Arrow Down":"سهم لأسفل","Arrow Up":"سهم لأعلى",Diamond:"شكل الماسة (المعين)","Label Down":"إشارة لأسفل","Label Up":"إشارة لأعلى",Square:"مربع","Triangle Down":"مثلث هابط","Triangle Up":"مثلث صاعد","X Cross":"تقاطع",Premarket_sessions:"ما قبل الافتتاح",Postmarket_sessions:"ما بعد الإغلاق","Regular trading hours_sessions":"ساعات التداول العادية","Extended trading hours_sessions":"ساعات التداول المُمددة","Electronic trading hours_sessions":"ساعات التداول الإلكتروني",PRE_sessions:"قبل",POST_sessions:"بعد",RTH_sessions:"RTH",ETH_sessions:"ETH","add line tool(s) to group {group}":"إضافة أداة (أدوات) الخط إلى المجموعة {group}","apply study template {template}":"تطبيق قالب الدراسة {template}","change pane height":"تغيير ارتفاع الجزء","change date range":"تغيير نطاق التاريخ","apply toolbars theme":"تطبيق مظهر أشرطة الأدوات","create line tools group":"أنشئ مجموعة أدوات الخطوط","exclude line tools from group {group}":"استثناء أدوات الخطوط من المجموعة {group}","move all scales to left":"حرك كل المقاييس إلى اليسار","move all scales to right":"حرك كل المقاييس إلى اليمين","remove line data sources":"إزالة مصادر خط البيانات","change chart layout to {title}":"تغيير تنسيق الرسم البياني إلى {title}","stop syncing drawing":"إيقاف مزامنة الرسم","bring {title} to front":"جلب {title} إلى المقدمة","send {title} to back":"أرسل {title} إلى الخلف","insert {title} after {targetTitle}":"أدخل {title} بعد {targetTitle}","insert {title} before {targetTitle}":"أدخل {title} قبل {targetTitle}","send group {title} backward":"أرسل المجموعة {title} إلى الخلف","bring group {title} forward":"جلب المجموعة {title} إلى الأمام","Visible on mouse over":"مرئية عند تمرير الفأرة","Always visible":"ظاهر وموجود دائمًا","Always invisible":"مختفي دائمًا","Not applicable":"لا يمكن تطبيقه","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)":"اكتب رقم الفاصل الزمني للرسم البياني لدقيقة (مثلا أكتب رقم 5 إذا كان الرسم البياني لخمس دقائق). أو أكتب رقم وإضافة حرف بعد ك حرف الـ H (للساعة)، و حرف الـ D (لليوم)، و حرف الـW (للأسبوع)، و حرف الـ M (للشهر) مثلاً (D أو 2H).","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)":'اكتب رقم الإطار الزمني للرسوم البيانية بالدقائق (مثلاً: 5 إذا كان إطار الرسم البياني هو 5 دقائق). أو رقم مع حروف للأطر الزمنية الأخرى: حرف "ث" للرسم البياني بإطار 1 ثانية (15 "ث" للرسم البياني 15 ثانية، إلخ)، و"س" (ساعة)، و"ي" (يوم)، و"أ" (أسبوعي)، و"ش" (شهر) (مثلاً: "ي" أو "2س")',"Do you really want to delete Chart Layout '{name}' ?":"هل تريد فعلا مسح تصميم مخطط الرسم البيانى‎ ‎{name}‎؟","Load layout":"تحميل التنسيق","Layout name":"اسم التنسيق","Sort by layout name, date changed":"تصنيف حسب اسم التنسيق، وتاريخ التعديل","Layout name (A to Z)":"اسم التنسيق (A إلى Z)","Layout name (Z to A)":"اسم التنسيق (Z إلى A)","Date modified (oldest first)":"تاريخ التعديل (الأقدم أولاً)","Date modified (newest first)":"تاريخ التعديل (الأحدث أولاً)","Saved indicators":"المؤشرات المحفوظة","Remember Symbol":"تذكر الرمز","Remember Interval":"تذكر الفاصل الزمني","Confirm Remove Study Tree":"تأكيد إزالة نتائج الدراسة","Do you really want to delete study and all of it's children?":"هل تريد فعلا مسح هذه الدراسة وكل محتوياتها؟","Studies limit exceeded: {number} studies per layout.\nPlease, remove some studies.":"تم تجاوز الحد الأقصى للدراسات : ‎{number}‎ دراسة لكل نسق\nبرجاء حذب البعض","Change symbol":"تغيير الرمز","Hide all drawings":"إخفاء جميع أدوات الرسم","Select source":"اختر مصدراً",cfd:"عقود الفروقات",crypto:"العملات الرقمية",dr:"إيصال إيداع",futures:"العقود الآجلة",index:"مؤشر",stock:"سهم",economy:"اقتصاد","Loading...":"جاري التحميل...",Sunday:"الأحد",Monday:"الاثنين",Tuesday:"الثلاثاء",Wednesday:"الأربعاء",Thursday:"الخميس",Friday:"الجمعة",Saturday:"السبت",Sun:"الأحد",Mon:"يوم الاثنين",Tue:"الثلاثاء",Wed:"الأربعاء",Thu:"الخميس",Fri:"الجمعة",Sat:"السبت",Su_day_of_week:"الأحد",Mo_day_of_week:"الاثنين",Tu_day_of_week:"الثلاثاء",We_day_of_week:"الأربعاء",Th_day_of_week:"الخميس",Fr_day_of_week:"الجمعة",Sa_day_of_week:"السبت",Light_colorThemeName:"فاتح",Dark_colorThemeName:"داكن","Save Theme As":"احفظ النسق كـ :","Theme name":"أسم القالب","Color Theme '{themeName}' already exists. Do you really want to replace it?":"نسق الألوان ‎{themeName}‎موجود بالفعل. هل ترغب حقًا في استبداله؟","Do you really want to delete Color Theme '{name}' ?":"هل تريد فعلا مسح مظهر اللون ''{name}' ؟",Normal:"عادي","Dashed line":"خط متقطع","Dotted line":"خط منقط","Line with breaks":"خط ذو فواصل","Step line":"خط متدرج","Step line with diamonds":"خط متدرج مع معيّنات",Histogram:"المدرج الإحصائي",Cross_chart_type:"تقاطع","Area with breaks":"مساحة يتخللها فواصل",Circles:"دوائر",Thickness:"السُّمْك","No exchanges match your criteria":"لا توجد أسواق تطابق المعايير التي عينتها","All sources":"كل المصادر","Symbol & description":"الرمز والوصف",Sources:"مصادر","Same % scale":"نفس مقياس %","New price scale":"مقياس سعر جديد","New pane":"جزء جديد","Add to":"إضافة إلى","Allow extend time scale":"السماح بتمديد النطاق الزمني","No symbols here yet — why not add some?":"لا توجد رموز هنا حالياً — قم بإضافة الرموز","Added symbols":"الرموز المضافة","Recent symbols":"الرموز الحديثة","Compare symbol":"مقارنة الرمز","Manage layout drawings":"إدارة رسومات التنسيق","No indicators matched your criteria.":"لا توجد مؤشرات تتوافق مع معاييرك.","Bring to Front":"وضعه في المقدمة","Send to Back":"إرسال للمؤخرة","Bring Forward":"تقديمه للأمام","Send Backward":"إرسال إلى الخلف","Hide drawings":"إخفاء الرسومات","Show all drawings":"عرض كل الرسومات","Hide indicators":"إخفاء المؤشرات","Show all indicators":"عرض كل المؤشرات","Hide all indicators":"إخفاء كل المؤشرات","Hide positions & orders":"إخفاء المراكز والأوامر","Show all positions & orders":"إظهار المراكز والأوامر","Hide all positions & orders":"إخفاء كل المراكز والأوامر","Hide all":"إخفاء الكل","Show all drawings, indicators, positions & orders":"إظهار كافة الرسومات والمؤشرات والمراكز والأوامر","Show all drawings and indicators":"عرض كل الرسومات والمؤشرات","Hide all drawings, indicators, positions & orders":"إخفاء كافة الرسومات والمؤشرات والمراكز والأوامر","Hide all drawings and indicators":"إخفاء كل الرسومات والمؤشرات","remove all line tools for {symbol}":"حذف كافة خطوط الأدوات لـ {symbol}","{symbolsCount} symbol_symbols_and_drawings_count_0":"‎{symbolsCount}‎ رمز","{symbolsCount} symbol_symbols_and_drawings_count_1":"‎{symbolsCount}‎ رمز","{symbolsCount} symbol_symbols_and_drawings_count_2":"‎{symbolsCount}‎ رمز","{symbolsCount} symbol_symbols_and_drawings_count_3":"‎{symbolsCount}‎ رموز","{symbolsCount} symbol_symbols_and_drawings_count_4":"‎{symbolsCount}‎ رمزاً","{symbolsCount} symbol_symbols_and_drawings_count_5":"‎{symbolsCount}‎ رمزاً","with {drawingsCount} drawing_symbols_and_drawings_count_0":"مع ‎{drawingsCount}‎ رسم","with {drawingsCount} drawing_symbols_and_drawings_count_1":"مع ‎{drawingsCount}‎ رسم","with {drawingsCount} drawing_symbols_and_drawings_count_2":"مع ‎{drawingsCount}‎ رسم","with {drawingsCount} drawing_symbols_and_drawings_count_3":"مع ‎{drawingsCount}‎ رسوم","with {drawingsCount} drawing_symbols_and_drawings_count_4":"مع ‎{drawingsCount}‎ رسماً","with {drawingsCount} drawing_symbols_and_drawings_count_5":"مع ‎{drawingsCount}‎ رسماً","{drawingsCount} drawing_0":"‎{drawingsCount}‎ رسم","{drawingsCount} drawing_1":"‎{drawingsCount}‎ رسم","{drawingsCount} drawing_2":"‎{drawingsCount}‎ رسم","{drawingsCount} drawing_3":"‎{drawingsCount}‎ رسوم","{drawingsCount} drawing_4":"‎{drawingsCount}‎ رسماً","{drawingsCount} drawing_5":"‎{drawingsCount}‎ رسماً","Remove all drawings for this symbol":"إزالة كافة الرسومات لهذا الرمز","No drawings yet":"لا يوجد رسوم حتى الآن","Object tree":"شجرة الكائنات","Create a group of drawings":"أنشئ مجموعة من الرسومات","Clone, Copy":"استنساخ ، نسخ","Group is hidden on current interval":"المجموعة مخفية في الفاصل الزمني الحالي","Drawing is hidden on current interval":"الرسم مخفي على الفاصل الزمني الحالي","move objects":"تحريك العناصر","show objects":"إظهار العناصر","hide objects":"إخفاء العناصر","remove objects":"إزالة العناصر",'Set the "{inputInline}" time and price for "{studyShortDescription}"':"تعيين وقت وسعر {inputInline} لـ {studyShortDescription}",'Set the time and price for "{studyShortDescription}"':'تعيين وقت وسعر "{studyShortDescription}"','Set the "{inputTitle}" time for "{studyShortDescription}"':"نعيين وقت {inputTitle} لـ {studyShortDescription}",'Set the time for "{studyShortDescription}"':'نعيين وقت "{studyShortDescription}"','Set the "{inputTitle}" price for "{studyShortDescription}"':"تعيين سعر {inputTitle} لـ {studyShortDescription}",'Set the price for "{studyShortDescription}"':'تعيين سعر "{studyShortDescription}"',"Add Symbol":"إضافة رمز","Confirm Inputs":"تأكيد المدخلات","Reset settings":"إعادة ضبط الإعدادات","Save as default":"حفظ كافتراضي",Defaults:"الإعدادات الإفتراضية","Apply to all":"تفعيل على الكل","Apply defaults":"تطبيق الإعدادات الافتراضية","Apply Defaults":"تطبيق الإعدادات الافتراضية","apply factory defaults to selected sources":"تطبيق إعدادات المصنع الافتراضية على المصادر المختارة","Selected Drawings":"الرسومات المختارة",Solid:"ثابت",Gradient:"متدرج","No results found":"لا توجد نتائج","Add custom color_Color Picker":"إضافة لون مخصص","Opacity_Color Picker":"الشفافية","Add_Color Picker":"إضافة","Remove color":"إزالة اللون","Please enter the right date format yyyy-mm-dd":"الرجاء إدخال التاريخ بالشكل الصحيح يوم- شهر- سنة","Please enter the right date":"الرجاء إدخال التاريخ بالشكل الصحيح","recently used_emoji_group":"مستخدَمٌ حديثاً","smiles & people_emoji_group":"الابتسامات والأشخاص","animals & nature_emoji_group":"الحيوانات والطبيعة","food & drink_emoji_group":"الطعام والشراب",activity_emoji_group:"أنشطة","travel & places_emoji_group":"السفر والأماكن",objects_emoji_group:"أشياء",symbols_emoji_group:"رموز",flags_emoji_group:"أعلام"}; \ No newline at end of file diff --git a/charting_library/ar-tv-locale.fd133747.js b/charting_library/ar-tv-locale.fd133747.js new file mode 100644 index 00000000..6c5ed291 --- /dev/null +++ b/charting_library/ar-tv-locale.fd133747.js @@ -0,0 +1 @@ +var _tv_languages=_tv_languages||{};_tv_languages.ar={Cancel:"إلغاء",Next:"التالي","Try again":"حاول مرة أخرى",Price:"سعر",Tax:"ضريبة","Total price":"السعر الكلي",Back:"الخلف",Monthly:"شهري","/mo":"/شهر",year:"سنة","2 years":"سنتين",Stocks:"الأسهم",Indices:"المؤشرات",Futures:"العقود الآجلة",Currency:"عملة","Extra market data":"بيانات السوق الإضافية","{plan_name} plan":"العضوية ‎{plan_name}‎",Total:"اجمالي","Total:":"الإجمالي:",Open:"إفتتاح",Volume:"حجم التداول","Your password should be at least 7 characters long that include letters and numbers.":"كلمة المرور الخاصة بك لابد وأن تحتوي على 7 عناصر على الأقل تتضمن حروف وأرقام",Message:"رسالة",Comment:"تعليق",Delete:"مسح","Editors' picks":"مختارات المحرر","powered by":"مدعوم من","If you don't verify your email address within 14 days we'll have to automatically delete your account (and nobody wants that).":"إذا لم تُتم عملية التحقق من عنوان بريدك الإلكتروني في غضون 14 يومًا فسيتعين علينا حذف حسابك تلقائيًا (ونحن لا نريد ذلك).","Subscribe to any of our upgraded plans and you will be able to receive delayed data from this exchange right now!":"اشترك في أي من العضويات المميزة، وستحصل على بيانات متأخرة من هذه الأسواق مجانًا!","Sign in":"تسجيل الدخول","Upgrade now":"ترقية الاشتراك الآن",Chart:"الرسوم البيانية","Status page":"صفحة حالة الموقع","Help Center":"مركز المساعدة",Search:"بحث","Learn more":"تعرف على المزيد",Date:"التاريخ",Source:"مصدر",Description:"الوصف","Necessary cookies":"ملفات تعريف الارتباط اللازمة",Settings:"إعدادات",Background:"الخلفية",Border:"الإطار",Apply:"تطبيق",Symbol:"رمز",Timezone:"توقيت",Bars:"أعمدة",Candles:"شموع","Heikin Ashi":"هايكين آشي",Line:"خط",Area:"مساحة",Currencies:"العملات",Exchange:"بورصة التداول",Grid:"شبكة","Unlock the full power of TradingView":"استفد من كافة ميزات TradingView",US:"دولار",Subtotal:"الإجمالي الفرعي",Email:"البريد الإلكتروني",Password:"كلمة السر",Phone:"رقم الهاتف",Street:"الشارع",City:"المدينة","State/Region":"الولاية / المنطقة",Country:"البلد",Screener:"المنصّات","Verify your phone number and get access to more tools on TradingView.":"قم بتأكيد رقم هاتفك واحصل على المزيد من الأدوات على موقع TradingView","Incorrect verification code. Please check the entered code or request it again.":"كود التحقق غير صحيح. برجاء التأكد من الكود أو طلب كود جديد",Crypto:"العملات الرقمية","Oops!":"عفوا!","TradingView needs to comply with U.S. trade embargoes and economic sanctions, so we're unable to accept any payments from the region you're in at the moment.":"يجب أن تلتزم TradingView بالحظر التجاري والعقوبات الاقتصادية الأمريكية، لذلك لا يمكننا قبول أي مدفوعات من المنطقة التي تتواجد فيها في الوقت الحالي.","North America":"أمريكا الشمالية",Europe:"أوربا","Middle East / Africa":"الشرق الأوسط / أفريقيا","Mexico and South America":"المكسيك وأمريكا الجنوبية","Asia / Pacific":"أسيا / منطقة المحيط الهاديء","Social network":"وسائل التواصل الاجتماعي","Custom time intervals":"إطارات زمنية مخصصة","Second-based intervals":"أطر زمنية بالثانية","Volume Profile indicators":"مؤشرات بروفايل أحجام التداول","Publish protected scripts":"نشر النصوص البرمجية المحمية","Multiple enhanced watchlists":"قوائم مراقبة محسنة متعددة","Ad-free":"بدون إعلانات",Alerts:"تنبيهات",Trading:"تداول","Mobile apps":"تطبيقات الهاتف الجوال","2-year":"عامين",monthly:"شهري","1-feature":"1- ميزة",Rookie:"مبتديء","Sign up":"سجل","Get 6 months free":"احصل على 6 أشهر مجانا",Upgrade:"ترقية الاشتراك","You can manage your subscription via the {app_name} TradingView app. In order to make changes, please go to the payment section of the app, found under profile settings.":"يمكنك إدارة اشتراكك عبر تطبيق {app_name} TradingView. لإجراء تغييرات، يرجى الانتقال إلى قسم الدفع في التطبيق الموجود ضمن إعدادات الملف الشخصي.","We are unable to process your order":"نحن غير قادرين على معالجة طلبك","Your order can't be processed due to an active account deletion request. Please cancel it by clicking Cancel Account Deletion at the bottom of the page and try placing an order again.":'لا يمكن معالجة طلبك بسبب وجود طلب مُفعّل لحذف الحساب. يرجى إلغاؤه بالنقر فوق "إلغاء حذف الحساب" في أسفل الصفحة ثم حاول تقديم طلب مرة أخرى.',Watchlist:"قائمة متابعة",More:"المزيد",Indicators:"مؤشرات","Pine Script™ manual":"دليل استخدام باين سكريبت",Options:"فترات التنبية",Prices:"أسعار","Head and Shoulders":"نموذج الرأس والكتفين",Flag:"علم",Rectangle:"مستطيل","Parallel Channel":"قناة متوازية",Triangle:"مثلث","Gann Box":"صندوق جان","Gann Fan":"مروحة جان","Gann Square":"مربع جان",Value:"قيمة","Volume Profile":"بروفايل أحجام التداول",Inputs:"مدخلات",Error:"خطأ",Financials:"البيانات المالية",Transportation:"وسائل النقل","Public Relations":"العلاقات العامة",Remove:"حذف",January:"يناير",February:"فبراير",March:"مارس",April:"أبريل",May:"مايو",June:"يونيو",July:"يوليو",August:"أغسطس",September:"سبتمبر",October:"أكتوبر",November:"نوفمبر",December:"ديسمبر","You need to accept our Terms of Use as well as Privacy and Cookies policy to sign up":"يجب عليك قبول شروط الاستخدام وسياسة الخصوصية وملفات تعريف الارتباط الخاصة بنا لتسجيل الاشتراك","Please confirm that you are not a robot by clicking the captcha box":"الرجاء تأكيد أنك لست روبوت من خلال النقر على المربع الكابتشا captcha","Activation key has been sent to":"تم إرسال مفتاح التفعيل إلى","Indicators & Strategies":"المؤشرات والاستراتيجيات",Cryptocurrency:"العملات الرقمية",Change:"تغيير","Hong Kong":"هونج كونج",forex:"فوركس","Build a community while guarding your secrets to success. Only upgraded plans can shield their scripts' code – everyone else must publish open-source scripts.":"قم ببناء مجتمع مع حماية أسرارك للنجاح. يمكن للعضويات المدفوعة فقط حماية كود النصوص البرمجية - يمكن للأشخاص الآخرين نشر نصوص برمجية مفتوحة المصدر فقط.","Publish invite-only scripts and build your community further via our Premium plan. Everyone else can publish open scripts only.":"انشر نصوصًا برمجية متاحة لمدعوين فقط وقم ببناء مجتمعك بشكل أفضل عبر عضوياتنا المدفوعة. يمكن لأي شخص آخر نشر نصوص برمجية مفتوحة فقط.",Other:"آخرى",Type:"نوع",Billing:"إعداد الفواتير","Profile settings":"إعدادات الصفحة الشخصية","Help Center and Support":"مركز المساعدة والدعم","Something went wrong":"حدث خطأ ما","Invalid Symbol":"رمز غير صحيح","Please enter a valid URL":"الرجاء إدخال الرابط الصحيح","Please use a stronger password":"برجاء اختيار كلمة مرور أقوي",Bahrain:"البحرين",Luxembourg:"لوكسمبورغ","New Zealand":"نيوزلندا",Qatar:"قطر",Singapore:"سنغافورة","Report could not be sent due to a server error. Please refresh the page and try again.":"لا يمكن إرسال التقرير لوجود مشكلة محلية، برجاء الضغط على F5 لإعادة تحميل الصفحة ومحاولة إرسال تقرير آخر.",Ok:"موافق","Your name":"أسمك:","Payment method":"طريقة الدفع",Submit:"إرسال","N/A":"غير متاح",Properties:"خصائص",Absolute:"مطلق","Buy now":"اشترك الآن",Extend_plan:"تمديد",Downgrade:"خفض مستوى العضوية",d_dates:"يوم",h_dates:"ساعة",m_dates:"دقيقة",s_dates:"s","Offer ends in":"عرض ينتهي في","Up to":"تصل إلى","60% OFF":"خصم 60%","+1 free month":"+1 شهر مجاني","{offer} sale":"تخفيضات ‎{offer}","Got it":"OK","At close":"عند الإغلاق",Holiday:"عطلة","Click to set a point":"انقر لتحديد نقطة","Move the point to position the anchor then tap to place":"حرّك النقطة لتغيير موضع المُثبّت ثم اضغط لوضعه","Double-click to finish Path":"انقر مرتيين لإنهاء المسار","Double-click to finish Polyline":"انقر مرتيين لإنهاء الشكل متعدد الخطوط","Press and hold {key} while zooming to maintain the chart position":"اضغط لمدة مطولة على {key} أثناء التكبير للحفاظ على موضع الرسم البياني","Double-click any edge to reset layout grid":"انقر نقرًا مزدوجًا فوق أي حافة لإعادة تعيين شبكة التنسيق","Link to the chart image copied to clipboard {emoji}":"تم نسخ رابط صورة الرسم البيانية إلى الحافظة ‎{emoji}‎","Chart image copied to clipboard {emoji}":"صورة الرسم البياني نسخت للحافظة ‎{emoji}‎",Close_input:"إغلاق",Baseline:"خط الأساس",Units:"وحدات",Reverse:"انعكاس",OK:"موافق",Yes:"نعم",No:"لا","Name(s) and address(es) of Subscriber's employer(s)":"اسم (أسماء) وعنوان (عناوين) مستخدم / أرباب عمل مشتركين","Subscriber's title(s) and/or position(s)":"عنوان و/أو موقع (مواقع) المشترك","Subscriber's employment functions (description)":"وصف وظيفة المشترك (توصيف)","Subscriber's occupations":"مهنة المشترك","Banker/Insurance Representative":"مصرفي / تأمين","Bookkeeper/Auditor/Tax Consultant":"كاتب / مراجع حسابات / مستشار الضرائب","Broker/Dealer":"وسيط / تاجر","Civil Service":"الخدمة المدنية","Commodity Trading Advisor":"مستشار تجارة سلع CTA","Commodities Introducing Broker":"وسيط معرف IB","Computer Specialist":"اختصاصي كمبيوتر","Construction Professional":"أعمال بناء وتشييد",Engineer:"مهندس","Individual Investor":"مستثمر",Farmer:"مزارع","Financial Analyst":"محلل مالي","Futures Commission Merchant":"متاجر العقود الآجلة","Investment Advisor/Banker":"مستشار الاستثمار / مصرفي","Legal Professional":"مهن القانون والمحاماة",Management:"إدارة","Marketing Professional":"تسويق","Medical Professional":"مهن طبية","Money Manager":"مدير رؤوس أموال","Real Estate":"عقارات","Retired/Homemaker":"متقاعد / ربة منزل","Sales/Service Representative/Clerical":"مندوب مبيعات / خدمة عملاء / رجل دين","Securities Exchange/Association, Futures Contract":"بورصة الأوراق المالية / العقود الآجلة","Registered Representative":"المستخدمون المسجلون","Store Manager/Owner":"مدير متجر / مالك","Student/Educator/Child Care Provider":"طالب / مرب / مقدم رعاية الطفل","TV/Radio Announcer":"مزيع أو مقدم برامج راديو/تلفاز",Veterinarian:"طبيب بيطري","Subscriber's name":"اسم المشترك","Zip/Postal code":"الرمز البريدي","Agreement for market data display services":"اتفاقية لخدمات عرض بيانات السوق","Usage-Based Services/Non-professional Subscriber Status":"الخدمات المستندة إلى الاستخدام غير المهني","Following exchanges require agreements to be completed before TradingView, Inc. can provide real-time data:":"تتطلب الأسواق التالية إستكمال اتفاقيات معينة من أجل أن تستطيع TradingView توفير بيانات فورية:","{exchange_name} Subscriber Agreement":"‎{exchange_name}‎ اتفاقية بيانات السوق","I've read and accept the terms and conditions.":"لقد قرأت ووافقت على الشروط والأحكام.","Section 1":"قسم 1","Accepted and agreed:":"مقبول ومتفق عليه:",'I, the "Subscriber" to which the preceding terms and conditions refer, acknowledge that I have read the preceding terms and conditions of this Section 1, that I understand them and that I hereby manifest my assent to, and my agreement to comply with, those terms and conditions by "clicking" on the box.':'أنا ، "المشترك" الذي تشير إليه الشروط والأحكام السابقة ، أقر بأنني قرأت البنود والشروط السابقة في هذا القسم 1 ، وأنني أفهمها وأنني أوافق بموجب ذلك على موافقتي على الامتثال لهذه الشروط والأحكام عن طريق النقر فوق المربع.',"Section 2":"القسم 2","Do you use Market Data solely for your personal, non-business use?":"هل تستخدم بيانات السوق فقط لاستخدامك الشخصي وغير التجاري؟","Please read the following 10 questions:":"يرجى قراءة الأسئلة العشرة التالية:","Do you receive Market Data for your business or any other entity?":"هل تتلقى بيانات السوق لعملك أو لأي كيان آخر؟","Are you currently registered or qualified with the SEC or the CFTC?":"هل أنت مسجل حاليًا أو مؤهلًا لدى SEC أو CFTC؟","Are you currently registered or qualified with any securities agency, any securities exchange, association or regulatory body, or any commodities or futures contract market, association or regulatory body, in the United States or elsewhere?":"هل أنت مسجّل أو مؤهل حاليًا لدى أي وكالة للأوراق المالية ، أو أي بورصة للأوراق المالية ، أو جمعية أو هيئة تنظيمية ، أو أي سوق للعقود الآجلة ، أو جمعية أو هيئة تنظيمية ، في الولايات المتحدة أو في أي مكان آخر؟","Whether you are located within or outside of the United States, do you perform any functions that are similar to those that require an individual to register or qualify with the SEC, the CFTC, any other securities agency or regulatory body, any securities exchange or association, or any commodities or futures contract market, association or regulatory body?":"سواء كنت تقيم داخل أو خارج الولايات المتحدة ، هل تقوم بأية وظائف مماثلة لتلك التي تتطلب من الفرد أن يقوم بالتسجيل أو التأهل مع SEC ، أو CFTC ، أو أي وكالة أخرى أو هيئة تنظيمية أخرى ، أو أي تبادل أو جمعية للأوراق المالية. ، أو أي سوق أو سوق عقود مستقبلية ، أو جمعية أو هيئة تنظيمية؟","Are you engaged to provide investment advice to any individual or entity?":"هل تعمل على تقديم المشورة الاستثمارية لأي فرد أو كيان؟","Are you engaged as an asset manager?":"هل تعمل كمدير للأصول؟","Do you use the capital of any other individual or entity in the conduct of your trading?":"هل تستخدم رأس مال أي فرد أو كيان آخر في إدارة تداولاتك؟","Do you conduct trading for the benefit of a corporation, partnership, or other entity?":"هل تقوم بالتداول لصالح شركة أو شراكة أو كيان آخر؟","Have you entered into any agreement to share the profit of your trading activities or receive compensation for your trading activities?":"هل دخلت في أي اتفاق لمشاركة أرباح أنشطة التداول الخاصة بك أو الحصول على تعويض عن أنشطة التداول الخاصة بك؟","Are you receiving office space, and equipment or other benefits in exchange for your trading or work as a financial consultant to any person, firm or business entity?":"هل تحصل على مساحات مكتبية ومعدات أو مزايا أخرى مقابل تداولك أو عملك كمستشار مالي لأي شخص أو شركة أو كيان تجاري؟","If any of the above applies, then mark Yes. If none applies, then tick No.":'إذا كان أي مما سبق صحيحاً، فضع علامة على "نعم". إذا لم يكن كذلك، فحدد "لا".',"Certification:":"شهادة:",'By executing this Agreement, Subscriber hereby certifies that he or she falls within Paragraph 9\'s definition of "Non-professional Subscriber" and that the personal and employment information that he or she has included in Paragraph 12 is truthful and accurate.':'من خلال تنفيذ هذه الاتفاقية ، يقر المشترك بموجبه أنه هو أو هي تقع ضمن تعريف الفقرة 9 "المشترك غير المهني" وأن المعلومات الشخصية والتوظيف التي أدرجها في الفقرة 12 هي صادقة ودقيقة.','I, the "Subscriber" to which the preceding terms and conditions refer, acknowledge that I have read the preceding terms and conditions of this Section 2, that I understand them and that I hereby manifest my assent to, and my agreement to comply with, those terms and conditions by "clicking" on the box.':'أنا ، "المشترك" الذي تشير إليه الشروط والأحكام السابقة ، أقر بأنني قرأت الشروط والبنود السابقة لهذا القسم 2 ، وأنني أفهمها وأوافق بموجب ذلك على الامتثال لهذه الشروط والأحكام عن طريق النقر فوق المربع.',Refuse:"رفض","I Agree":"أوافق","You need to accept this":"عليك أن تقبل هذا","This agreement is for NON-PROFESSIONALS only. If you qualify as a Professional under exchange regulations you may not use this service":"هذه الاتفاقية تخص غير المهنيين فقط. إذا كنت مؤهلاً كمحترف بموجب قوانين الصرف ، فلا يجوز لك استخدام هذه الخدمة","This field is required":"هذا الحقل مطلوب","Only English language is allowed":"يسمح باستخدام اللغة الإنجليزية فقط","Click to learn more":"اضغط لتتعرف على المزيد","You've got the most powerful plan. Enjoy!":"أنت مشترك بأعلى عضوية... استمتع","Start now":"ابدأ الآن","Create account":"إنشاء حساب","Sign up for free":"اشترك مجاناً","{days}-day free trial_free_trial_0":"فترة تجريبية مجانية لمدة {days} يوماً","{days}-day free trial_free_trial_1":"فترة تجريبية مجانية لمدة {days} يوماً","{days}-day free trial_free_trial_2":"فترة تجريبية مجانية لمدة {days} يوماً","{days}-day free trial_free_trial_3":"فترة تجريبية مجانية لمدة {days} أيام","{days}-day free trial_free_trial_4":"فترة تجريبية مجانية لمدة {days} يوماً","{days}-day free trial_free_trial_5":"فترة تجريبية مجانية لمدة {days} يوماً",Back_input:"عودة",O_in_legend:"O",H_in_legend:"H",L_in_legend:"L",C_in_legend:"C",Annually:"سنوي","Going annual will save you up to {discount}% {noWrapTag}this year {emoji}{noWrapTagClose}":"سيوفر لك الانتقال إلى العضوية السنوية ما يصل إلى {discount}٪ {noWrapTag} هذا العام {emoji} {noWrapTagClose}","Annually you have {discount}% off which is 2 months {noWrapTag}free {emoji}{noWrapTagClose}":"تحصل سنويًا على خصم بنسبة {discount}٪، وهو ما يمثل مدة شهرين {noWrapTag}مجانًا {emoji}{noWrapTagClose}","Go for a year plan, get 6 months free. {noWrapTag}Good times {emoji}{noWrapTagClosed}":"اختر عضوية سنة واحصل على 6 أشهر مجانًا. {noWrapTag}إنه عرض رائع!{emoji} {noWrapTagClosed}","Explore offers":"اطلع على العروض",Included:"مُضاف",Switch_plan:"تبديل","Not available":"غير متاح","Get {discount}% off":"احصل على خصم ‎{discount}‎%","Try free for {days} day_free_trial_0":"جربها مجاناً لمدة ‎{days}‎ يوم!","Try free for {days} day_free_trial_1":"جربها مجاناً لمدة {days}‎ يوم!","Try free for {days} day_free_trial_2":"جربها مجاناً لمدة {days}‎ يوم!","Try free for {days} day_free_trial_3":"جربها مجاناً لمدة {days}‎ أيام!","Try free for {days} day_free_trial_4":"جربها مجاناً لمدة {days}‎ يوماً!","Try free for {days} day_free_trial_5":"جربها مجاناً لمدة {days}‎ يوماً!","Start now_basic":"ابدأ الآن","Downgrade activated":"تم تفعيل الرجوع إلى عضوية أدنى","Reactivate current":"تمت إعادة تفعيل الحالي","For new traders and investors starting their journey":"للمتداولين والمستثمرين الجدد الذين يبدأون رحلتهم في الأسواق","Distraction-free trading and investing, with more charts, intervals and indicators":"تداول واستثمر بأفضل طريقة ممكنة مع الرسوم البيانية المتقدمة والعديد من النطاقات الزمنية والمؤشرات","Intraday technical analysis for day traders looking to take things to the next level":"التحليل الفني اللحظي لمتداولي الأطر الصغرى الذين يتطلعون إلى الوصول بأدائهم إلى المستوى التالي","Highest precision and maximum data to capture all possible opportunities":"أعلى دقة وأقصى قدر من البيانات لاقتناص جميع الفرص الممكنة","{indicatorQuantity} indicator per chart_0":"‎{indicatorQuantity}‎ مؤشر لكل رسم بياني","{indicatorQuantity} indicator per chart_1":"‎{indicatorQuantity}‎ مؤشر لكل رسم بياني","{indicatorQuantity} indicator per chart_2":"‎{indicatorQuantity}‎ مؤشر لكل رسم بياني","{indicatorQuantity} indicator per chart_3":"‎{indicatorQuantity}‎ مؤشرات لكل رسم بياني","{indicatorQuantity} indicator per chart_4":"‎{indicatorQuantity}‎ مؤشراً لكل رسم بياني","{indicatorQuantity} indicator per chart_5":"‎{indicatorQuantity}‎ مؤشراً لكل رسم بياني","{chartQuantity} chart in one layout_0":"{chartQuantity} رسم بياني في تنسيق واحد","{chartQuantity} chart in one layout_1":"{chartQuantity} رسم بياني في تنسيق واحد","{chartQuantity} chart in one layout_2":"{chartQuantity} رسم بياني في تنسيق واحد","{chartQuantity} chart in one layout_3":"{chartQuantity} رسوم بيانية في تنسيق واحد","{chartQuantity} chart in one layout_4":"{chartQuantity} رسماً بيانياً في تنسيق واحد","{chartQuantity} chart in one layout_5":"{chartQuantity} رسماً بيانياً في تنسيق واحد","{alertQuantity} server-side alert_0":"{alertQuantity} تنبيه من الخادم","{alertQuantity} server-side alert_1":"{alertQuantity} تنبيه من الخادم","{alertQuantity} server-side alert_2":"{alertQuantity} تنبيه من الخادم","{alertQuantity} server-side alert_3":"{alertQuantity} تنبيهات من الخادم","{alertQuantity} server-side alert_4":"{alertQuantity} تنبيهاً من الخادم","{alertQuantity} server-side alert_5":"{alertQuantity} تنبيهاً من الخادم","{chartLayoutsQuantity} saved chart layout_0":"{chartLayoutsQuantity} تنسيقات محفوظة للرسم البياني","{chartLayoutsQuantity} saved chart layout_1":"{chartLayoutsQuantity} تنسيقات محفوظة للرسم البياني","{chartLayoutsQuantity} saved chart layout_2":"{chartLayoutsQuantity} تنسيقات محفوظة للرسم البياني","{chartLayoutsQuantity} saved chart layout_3":"{chartLayoutsQuantity} تنسيقات محفوظة للرسم البياني","{chartLayoutsQuantity} saved chart layout_4":"{chartLayoutsQuantity} تنسيقاً محفوظاً للرسم البياني","{chartLayoutsQuantity} saved chart layout_5":"{chartLayoutsQuantity} تنسيقاً محفوظاً للرسم البياني","2 charts in one window":"رسمان بيانيان في نافذة واحدة","Volume profile indicators":"مؤشرات بروفايل أحجام التداول","Bar replay on intraday bars":"إعادة تشغيل الأعمدة على أعمدة الأسعار خلال اليوم","Multi-monitor support in Desktop app":"دعم لتعدد الشاشات على تطبيق الحاسوب","Intraday exotic charts":"رسوم بيانية نادرة على الأطر الصغرى","Charts based on custom formulas":"رسوم بيانية معتمدة على صيغ مُخصصة","Chart data export":"‎تصدير بيانات الرسم البياني","Indicators on indicators":"استخدام مؤشرات على مؤشرات أخرى","Unlimited saved chart layouts":"حفظ عدد غير محدود لتنسيقات للرسوم البيانية","Alerts that don't expire":"تنبيهات لا تنتهي صلاحيتها","4x more data on charts (20K bars)":"4 أضعاف البيانات على الرسوم البيانية (20 ألف عمود للأسعار)","Publishing invite-only indicators":"نشر مؤشرات بدعوة فقط","Key benefits of Pro:":"المزايا الرئيسية لعضوية Pro:","All the benefits of Pro, plus:":"جميع مزايا العضوية Pro، بالإضافة إلى:","The complete package, with:":"الباقة الكاملة مع:","-{numberDiscount}% off":"- خصم {numberDiscount}٪","Trial downgrade":"خفض مستوى الفترة التجريبية","Trial upgrade":"ترقية الفترة التجريبية","Current trial":"الفترة التجريبية الحالية","Compared to paying monthly.":"مقارنة بالدفع الشهري","All of your unused trial days will be added to your subscription. This offer expires soon.":"ستتم إضافة جميع أيام الفترة التجريبية غير المستخدمة إلى اشتراكك. سينتهي هذا العرض قريبًا.","The full monthly price is ${monthlyPrice}. The monthly price within the yearly subscription is ${yearlyPrice}.":"السعر الشهري الكامل هو ‎{monthlyPrice}‎ دولار. السعر الشهري في الاشتراك السنوي هو {yearlyPrice} دولار.","Compared to paying monthly. This offer expires soon.":"هذا العرض سينتهي قريباً، مقارنة بالدفع الشهري","You save {strongTag}${amount}{strongTag} a year":"قمت بتوفير $‎{strongTag}{amount}{strongTag}‎","Special price: ${price} {measure}":"السعر الخاص: ‎{price}‎ دولار ‎{measure}‎","{htmlTag}USD/{htmlCloseTag}{htmlTag}mo{htmlCloseTag}":"{htmlTag}دولار أمريكي/{htmlCloseTag}{htmlTag}شهر{htmlCloseTag}","{htmlTag}USD/{htmlCloseTag}{htmlTag}year{htmlCloseTag}":"{htmlTag}دولار أمريكي/{htmlCloseTag}{htmlTag}سنة{htmlCloseTag}","{htmlTag}USD/{htmlCloseTag}{htmlTag}2 years{htmlCloseTag}":"‎{htmlTag}‎دولار أمريكي/‎{htmlCloseTag}‎ ‎{htmlTag}‎سنتان‎{htmlCloseTag}‎","USD/mo":"دولار أمريكي/شهر","USD/year":"دولار أمريكي/سنة","USD/2 years":"دولار أمريكي/سنتان‎","Starting on {date}":"بداية من ‎{date}‎","Ending on {date}":"انتهاء في ‎{date}‎","If chosen, this'll start {solution_link}once the existing plan ends{close_solution_link}":"إذا تم تحديد هذا الخيار، فستُفعّل هذه الأخيرة {solution_link}بمجرد انتهاء فترة العضوية الحالية{close_solution_link}","Pay nothing extra — {solution_link}here's how{solution_link}":"لن تدفع أي سنت إضافي — {solution_link}إليك الطريقة{solution_link}","This is your current plan":"هذه هي عضويتك الحالية","or skip trial and {openLink}pay now{closeLink}":"أو تخظى الفترة التجريبية و ‎{openLink}‎ اشترك الآن ‎{closeLink}‎","Compare all features":"قارن جميع الميزات","Refer a friend and earn ${bonus} to upgrade your plan":"قم بإحالة صديق واكسب {bonus} دولار لترقية عضويتك",Certificates:"صكوك مالية",Compare:"قارن","This offer expires soon":"سينتهي هذا العرض قريبًا",day_time_0:"يوم",day_time_1:"يوم",day_time_2:"يوم",day_time_3:"أيام",day_time_4:"يوم",day_time_5:"يوم",hour_time_0:"ساعة",hour_time_1:"ساعة",hour_time_2:"ساعة",hour_time_3:"ساعات",hour_time_4:"ساعة",hour_time_5:"ساعة",min_time_0:"دقيقة",min_time_1:"دقيقة",min_time_2:"دقيقة",min_time_3:"دقائق",min_time_4:"دقيقة",min_time_5:"دقيقة",secs_time:"ثانية","Plans for every level of ambition":"عضوية لكل مستوى من مستويات الطموح","Try any of our plans, free for {days} day_free_trial_0":"جرب إحدى عضوياتنا المدفوعة - مجانًا لمدة {days} يوم!","Try any of our plans, free for {days} day_free_trial_1":"جرب إحدى عضوياتنا المدفوعة - مجانًا لمدة {days} يوم!","Try any of our plans, free for {days} day_free_trial_2":"جرب إحدى عضوياتنا المدفوعة - مجانًا لمدة {days} يوم!","Try any of our plans, free for {days} day_free_trial_3":"جرب إحدى عضوياتنا المدفوعة - مجانًا لمدة {days} أيام!","Try any of our plans, free for {days} day_free_trial_4":"جرب إحدى عضوياتنا المدفوعة - مجانًا لمدة {days} يوماً!","Try any of our plans, free for {days} day_free_trial_5":"جرب إحدى عضوياتنا المدفوعة - مجانًا لمدة {days} يوماً!","Early bird offer":"عرض التسجيل المبكر","Limited offer for monthly subscribers":"عرض محدود للشهر الأول","Wait, don't go":"انتظر، لا تغادر!","Get an upgrade for $1":"احصل على ترقية مقابل 1 دولار","Your bonus is waiting for you":"مكافأتك في انتظارك!",Moscow:"موسكو",London:"لندن","New York":"نيويورك",Toronto:"تورنتو",Paris:"باريس",Seoul:"سيول",Bangkok:"بانكوك",Trade:"تداول",Reload:"إعادة تحميل","We'll now send you on to {payment_method} so that you can complete your purchase. After the transaction has gone through, the system will automatically redirect you back to TradingView so you can enjoy your new upgrade.":"سيتم تحويلك تلقائياً إلى ‎{payment_method} لإنهاء إجراءات الشراء. بعد إتمام المعاملة، سيتم إعادة توجيهك تلقائيًا إلى TradingView.","This step is highly important so we ask you to please not skip or interrupt it.":"هذه الخطوة مهمة للغاية لذا نرجو منك عدم تفاديها أو تخطيها.","What cryptocurrencies are accepted for payments?":"ما هي العملات الرقمية المقبولة للدفع؟","Bitcoin (BTC) - Bitcoin network":"بيتكوين (BTC) - شبكة بيتكوين","Ethereum (ETH) - ERC20 network":"إيثريوم (ETH) - شبكة ERC20","USD Coin (USDC) - ERC20 network":"USD Coin (USDC) - شبكة ERC20","Litecoin (LTC) - Litecoin network":"لايتكوين (LTC) - شبكة لايتكوين","Bitcoin Cash (BCH) - Bitcoin Cash network":"بيتكوين كاش (BCH) - شبكة بيتكوين كاش","Dogecoin (DOGE) - Dogecoin network":"Dogecoin (DOGE) - شبكة Dogecoin","DAI (DAI) - ERC20 network":"شبكة DAI (DAI) - ERC20","It's vital that the network you withdraw funds from, and the one you deposit funds to, are the same.":"من الضروري أن تكون الشبكة التي تسحب الأموال منها، والشبكة التي تودع الأموال إليها، هي نفسها.","Please note that if the funds are sent via a different network, it will result in losing your payment. Please make sure you consider your options and don't always choose the cheapest commission option.":"يرجى ملاحظة أنه إذا تم إرسال الأموال عبر شبكة مختلفة، فسيؤدي ذلك إلى فقدان أموالك. يرجى التأكد من مراعاة خياراتك ولا تختار دائمًا خيار العمولة الأرخص.","You will be automatically redirected to Coinbase to complete your purchase. Once the payment is completed you will be taken back to the TradingView page.":"سيتم تحويلك تلقائياً إلى Coinbase لإنهاء إجراءات الشراء. يرجى ملاحظة أنه يمكنك استخدام أي محفظة للعملات الرقمية لإجراء الدفع. هام: إذا كنت تدفع عبر إيثريوم، فيرجى التأكد من استخدام الرموز المميزة ERC20 وإلا ستفقد دفعتك. بعد إتمام المعاملة، سيتم إعادة توجيهك إلى TradingView.","Please note you do not need to have a Coinbase account to complete the payment - you can use any available wallet.":"يرجى ملاحظة أنك لست بحاجة إلى أن يكون لديك حساب Coinbase لإكمال الدفع - يمكنك استخدام أي محفظة متاحة.","This step is highly important so we ask you to not skip or interrupt it.":"هذه الخطوة مهمة للغاية لذا نطلب منك عدم تخطيها أو مقاطعتها.","Tax Identification Number":"رقم التعريف الضريبي",Address:"العنوان","Select state/region":"اختر الولاية/المنطقة","No matching state found":"لم يتم العثور على حالة مطابقة","Must be a 6-character alphanumeric code":"يجب أن يكون رمزًا مكونًا من 6 أحرف أبجدية رقمية","Must be a {length}-digit zip code":"يجب أن يكون رمزًا بريديًا مكونًا من {length} رقمًا","No matching region found":"لم يتم العثور على منطقة مطابقة","VAT number format is incorrect":"تنسيق رقم ضريبة القيمة المضافة غير صحيح","This field only supports numbers":"هذا الحقل يدعم الأرقام فقط","Complete your purchase":"أكمل عملية الشراء","I have read and agree with TradingView's {termsLink}Terms of Use{closeLink} and {privacyLink}Privacy Policy{closeLink}":"لقد قرأت ووافقت على {termsLink}شروط الاستخدام{closeLink} و{privacyLink}سياسة الخصوصية{closeLink}.","{plan} plan ({billingCycle}){point}":"عضوية {plan} ({billingCycle}){point}","Tax included {currencySign}{tax} {currency}":"يشمل الضريبة {currencySign} {tax} {currency}","Payment details":"معلومات الدفع","The bank may hold and release $1 US to verify the card.":"يجوز للبنك الاحتفاظ بدولار أمريكي واحد للتحقق من البطاقة قبل إرجاعه.","Payment card number":"رقم بطاقة الدفع","Expiration date":"تاريخ انتهاء الصلاحية","Security code":"رمز الحماية","Cardholder name":"اسم صاحب البطاقة","Credit card number":"رقم بطاقة الائتمان","Payment error":"حدث خطأ في الدفع",Mobile:"متنقل","Add new method":"أضف طريقة جديدة","PayPal account":"حساب باي بال","Choose your payment method":"اختر طريقة الدفع","Add a new card":"إضافة بطاقة جديد","More payment methods":"المزيد من طرق الدفع","One click":"نقرة واحدة","Payment card":"بطاقة الدفع","Could not calculate tax due to incorrect details":"لا يمكن حساب الضريبة بسبب التفاصيل غير الصحيحة","See available plans":"شاهد العضويات المتاحة","Your payment was successful!":"عملية الدفع اكتملت بنجاح!","Recently used":"مستخدَمٌ حديثاً",Save:"حفظ",Hide:"إخفاء",Show:"عرض","Create Alert":"إنشاء تنبيه",month_0:"شهر",month_1:"شهر",month_2:"شهر",month_3:"أشهر",month_4:"شهر",month_5:"شهر","Find your TradingView account":"إيجاد حسابك على TradingView",Send:"إرسال",High:"أعلى سعر",Low:"أدنى",Ticker:"الرمز",Vol:"حجم تداول","No symbols match your criteria":"لا توجد رموز تطابق معاييرك","Continue anyway":"واصل على أي حال",Close:"إغلاق","Unknown Error":"خطأ غير معروف",Time:"الوقت","{number} minute_0":"{number} دقيقة","{number} minute_1":"{number} دقيقة","{number} minute_2":"{number} دقيقة","{number} minute_3":"{number} دقائق","{number} minute_4":"{number} دقيقة","{number} minute_5":"{number} دقيقة",m_interval_short:"دقيقة","{number} hour_0":"{number} ساعة","{number} hour_1":"{number} ساعة","{number} hour_2":"{number} ساعة","{number} hour_3":"{number} ساعات","{number} hour_4":"{number} ساعة","{number} hour_5":"{number} ساعة",h_interval_short:"ساعة","{number} day_0":"{number} يوم","{number} day_1":"{number} يوم","{number} day_2":"{number} يوم","{number} day_3":"{number} أيام","{number} day_4":"{number} يوم","{number} day_5":"{number} يوم",D_interval_short:"يوم",W_interval_short:"أسبوع",M_interval_short:"شهر",Rename:"تغيير الأسم","Remove from favorites":"حذف من القائمة المفضلة","Add to favorites":"اضف إلى القائمة التفضيلات","{number} item_combobox_input_0":"‎{number}‎ عنصر","{number} item_combobox_input_1":"‎{number}‎ عنصر","{number} item_combobox_input_2":"‎{number}‎ عنصر","{number} item_combobox_input_3":"‎{number}‎ عناصر","{number} item_combobox_input_4":"‎{number}‎ عنصراً","{number} item_combobox_input_5":"‎{number}‎ عنصراً","Time Interval":"الفترة الزمنية","Are you sure?":"هل أنت متأكد ؟",Copy:"نسخ","{value} coin_0":"‎{value}‎ عملة افتراضية","{value} coin_1":"‎{value}‎ عملة افتراضية","{value} coin_2":"‎{value}‎ عملة افتراضية","{value} coin_3":"‎{value}‎ عملات افتراضية","{value} coin_4":"‎{value}‎ عملة افتراضية","{value} coin_5":"‎{value}‎ عملة افتراضية",Drawings:"الرسوم",Data_support:"بيانات","Pine Script™_support":"Pine Script™","Black Friday FAQ_support":"الأسئلة الشائعة حول Black Friday","Cyber Monday FAQ_support":"الأسئلة الشائعة حول اثنين الإنترنت",Subscribe:"اشترك","This website uses cookies":"يستخدم هذا الموقع ملفات تعريف الارتباط","This app uses cookies":"يستخدم هذا التطبيق ملفات تعريف الارتباط","We use cookies to ensure you get the best experience on our website.":"نحن نستخدم ملفات تعريف الارتباط لضمان حصولك على أفضل تجربة على موقعنا.","We use cookies to ensure you get the best experience on our app.":"نحن نستخدم ملفات تعريف الارتباط لضمان حصولك على أفضل تجربة على تطبيقنا.","To learn more about cookies please read our {link_start}Cookies Policy{link_end}.":"لمعرفة المزيد حول ملفات تعريف الارتباط، يرجى قراءة {link_start} سياسة ملفات تعريف الارتباط {link_end}.","Manage preferences":"إدارة المراجع","Accept all":"قبول الكل","Try any plan free for {days} day. We'll help you trade and invest better from the get-go._free_trial_0":"جرب أي عضوية مجاناً لمدة {days} يوم. سنساعدك على التداول والاستثمار بشكل أفضل من البداية.","Try any plan free for {days} day. We'll help you trade and invest better from the get-go._free_trial_1":"جرب أي عضوية مجاناً لمدة {days} يوم. سنساعدك على التداول والاستثمار بشكل أفضل من البداية.","Try any plan free for {days} day. We'll help you trade and invest better from the get-go._free_trial_2":"جرب أي عضوية مجاناً لمدة {days} يوم. سنساعدك على التداول والاستثمار بشكل أفضل من البداية.","Try any plan free for {days} day. We'll help you trade and invest better from the get-go._free_trial_3":"جرب أي عضوية مجاناً لمدة {days} أيام. سنساعدك على التداول والاستثمار بشكل أفضل من البداية.","Try any plan free for {days} day. We'll help you trade and invest better from the get-go._free_trial_4":"جرب أي عضوية مجاناً لمدة {days} يوماً. سنساعدك على التداول والاستثمار بشكل أفضل من البداية.","Try any plan free for {days} day. We'll help you trade and invest better from the get-go._free_trial_5":"جرب أي عضوية مجاناً لمدة {days} يوماً. سنساعدك على التداول والاستثمار بشكل أفضل من البداية.","Price format is invalid.":"صيغة السعر غير صحيحة",Ticks:"تيكات السعر","{exchange} by {originalExchange}":"‎{exchange}‎ من ‎{originalExchange}‎","Real-time data for {symbolName} is provided by {exchange} exchange.":"البيانات اللحظية لـ ‎{symbolName}‎ مقدمة من بورصة ‎.{exchange}‎","This data is real-time, but it’s slightly different to its official counterpart coming from {exchange}.":"هذه البيانات لحظية، لكنها تختلف قليلاً عن نظيرتها الرسمية الواردة من {exchange}.",Increase:"زيادة",Decrease:"تخفيض","Number format is invalid.":"تنسيق الرقم غير صالح.","Specified value is more than the instrument maximum of {max}.":"القيمة المحددة أكبر من الحد الأقصى للأداة والتي تبلغ ‎{max}.","Specified value is less than the instrument minimum of {min}.":"القيمة المحددة أقل من الحد الأدنى للأداة والتي تبلغ {min}.","Please check your internet connection":"يرجى فحص اتصالك بالإنترنت","Verification code":"رمز التحقق",Continue:"استمرار",Risk:"مخاطرة",Body:"الجزء الرئيسي",Wick:"ظل الشمعة",Right:"يمين",Left:"يسار",Interval:"الفاصل الزمني","change timezone":"تغيير المنطقة الزمنية",UTC:"بالتوقيت العالمي المنسق",Cairo:"القاهرة",Johannesburg:"جوهانسبرج",Lagos:"بورصة لاغوس","Buenos Aires":"بوينس آيرس",Bogota:"بوجوتا",Caracas:"كاراكاس",Chicago:"شيكاغو","San Salvador":"سان سلفادور",Juneau:"جونو",Lima:"بورصة ليما","Los Angeles":"لوس أنجلوس","Mexico City":"مدينة المكسيك",Phoenix:"فونيكس",Santiago:"بورصة سانتياغو","Sao Paulo":"ساو باولو",Vancouver:"فانكوفر",Denver:"دينفر Denver",Almaty:"ألماتي",Ashgabat:"عشق أباد",Chongqing:"تشونغتشينغ",Dubai:"دبي","Ho Chi Minh":"هوشي منه",Jakarta:"بورصة جاكرتا",Jerusalem:"القدس",Karachi:"كراتشي",Kolkata:"كولكاتا",Kuwait:"الكويت",Manila:"مانيلا",Muscat:"مسقط",Riyadh:"الرياض",Shanghai:"شنغهاي",Taipei:"طرابلس",Tehran:"طهران",Tokyo:"طوكيو",Reykjavik:"بورصة ريكيافيك",Adelaide:"أديلايد",Brisbane:"بريزبان",Perth:"بِرث",Sydney:"سيدني",Amsterdam:"أمستردام",Athens:"أثينا",Belgrade:"بلغراد",Berlin:"برلين",Bratislava:"براتيسلافا",Brussels:"بروكسل",Bucharest:"بوخاريست",Copenhagen:"بورصة كوبنهاجن",Dublin:"دابلن",Helsinki:"بورصة هلسنكي",Istanbul:"إسطنبول",Lisbon:"لشبونة",Madrid:"مدريد",Malta:"مالطا",Oslo:"أوسلو",Riga:"بورصة ريغا",Rome:"روما",Stockholm:"بورصة ستوكهولم",Tallinn:"بورصة تالين",Vilnius:"بورصة فيلنيوس",Warsaw:"وارسو",Zurich:"زيوريخ","Chatham Islands":"جزر تشاتام",Honolulu:"هونولولو","Norfolk Island":"جزيرة نورفولك",Coordinates:"إحداثيات","Events & Alerts":"الأحداث والتنبيهات",Events:"أحداث",Scales:"المقاييس","Source Code":"كود المصدر",Style:"نمط","Timezone/Sessions":"المنطقة الزمنية/جلسات التداول",Visibility:"الظهور","Box size assignment method":"طريقة تعيين حجم الصندوق","Color bars based on previous close":"تلوين الأعمدة طبقًا للإغلاق السابق",Borders:"إطارات","HLC bars":"أعمدة (الأعلى - الأدنى - الإغلاق)","Price source":"مصدر السعر","Show real prices on price scale (instead of Heikin-Ashi price)":"عرض الأسعار الحقيقية على مقياس السعر (بدلًا من سعر هيكن آشي)","Up bars":"الشموع الصاعدة","Down bars":"الشموع الهابطة","Projection up bars":"إسقاط الأعمدة الصاعدة","Projection down bars":"إسقاط الأعمدة الهابطة","Projection up color":"زيادة درجة لون العرض","Projection down color":"تقليل درجة لون العرض",Fill:"ملئ","Up color":"لون الإرتفاع","Down color":"لون الإنخفاض",Traditional:"تقليدي","Box size":"حجم المربع","Number of line":"عدد الخطوط","ATR length":"فترة حساب ATR","Reversal amount":"قيمة الإنعكاس","Phantom bars":"قيم التداول الخاطئة","One step back building":"خطوة واحدة إلى الوراء",Wicks:"ظلال",Range:"مدى","You cannot see this pivot timeframe on this resolution":"لا يمكنك رؤية النقاط المحورية على هذا الإطار الزمني","The data vendor doesn't provide volume data for this symbol.":"لا يوفر المزود بيانات أحجام التداول لهذا الرمز.","Accumulation/Distribution_study":"تجميع/توزيع","Accumulative Swing Index_study":"مؤشر الموجة التراكمي","Advance/Decline_study":"مؤشر الصعود/التراجع","Arnaud Legoux Moving Average_study":"متوسط متحرك أرنو ليجو",Aroon_study:"آرون",ASI_study:"مؤشر الموجة التراكمي","Average Directional Index_study":"مؤشر متوسط الحركة الاتجاهية","Average True Range_study":"متوسط المدى الحقيقي","Awesome Oscillator_study":"المتذبذب الرهيب Awesome Oscillator","Balance of Power_study":"ميزان القوة","Bollinger Bands %B_study":"نطاقات بولنجر %B","Bollinger Bands Width_study":"عرض حدود بولنجر","Bollinger Bands_study":"نطاقات بولنجر","Chaikin Money Flow_study":"مؤشر التدفق النقدي لشايكين","Chaikin Oscillator_study":"مؤشر شايكين","Chande Kroll Stop_study":"وقف اتشاند كرول","Chande Momentum Oscillator_study":"مؤشر زخم اتشاند","Chop Zone_study":"نطاق تقلب سعري (نطاق شوب)","Choppiness Index_study":"مؤشر التقلب السعري","Commodity Channel Index_study":"مؤشر قناة السلع","Connors RSI_study":"مؤشر القوى النسبية لكونرز","Coppock Curve_study":"منحنى كوبوك","Correlation Coefficient_study":"معامل الارتباط",CRSI_study:"مؤشر القوى النسبية لكونرز","Detrended Price Oscillator_study":"مؤشر التذبذب السعري","Directional Movement_study":"الحركة الاتجاهية","Donchian Channels_study":"قنوات دونشيان","Double EMA_study":"متوسط متحرك أسي مزدوج","Ease Of Movement_study":"سهولة الحركة","Elder's Force Index_study":"مؤشر قوى إلدر","EMA Cross_study":"تقاطع المتوسط المتحرك الأسي",Envelopes_study:"أغلفة","Fisher Transform_study":"تحويلة فيشر","Fixed Range_study":"النطاق الثابت","Guppy Multiple Moving Average_study":"المتوسط المتحرك المتعدد جوبي","Historical Volatility_study":"التقلبات التاريخية","Hull Moving Average_study":"متوسط متحرك هال","Ichimoku Cloud_study":"سحابة إيتشيموكو","Keltner Channels_study":"قناة كلتنر","Klinger Oscillator_study":"مؤشر كلنجر","Know Sure Thing_study":"أعرف الأشياء المؤكدة","Least Squares Moving Average_study":"متوسط المربعات الصغرى المتحرك","Linear Regression Curve_study":"منحنى الانحدار الخطي","MA Cross_study":"تقاطع المتوسط المتحرك","MA with EMA Cross_study":"تقاطع المتوسط المتحرك مع الأسي","MA/EMA Cross_study":"تقاطع المتوسط المتحرك/الأسي",MACD_study:"MACD","Mass Index_study":"مؤشر الكتلة","McGinley Dynamic_study":"ماكجينلي ديناميك",Momentum_study:"زخم","Money Flow_study":"التدفق النقدي","Moving Average Channel_study":"قناة المتوسط المتحرك","Moving Average Exponential_study":"المتوسط المتحرك الأسي","Moving Average Weighted_study":"المتوسط المتحرك المرجح","Moving Average_study":"المتوسط المتحرك","Net Volume_study":"صافي حجم التداول","On Balance Volume_study":"مؤشر OBV","Parabolic SAR_study":"مؤشر البارابوليك سار","Pivot Points Standard_study":"النقاط المحورية القياسية","Price Channel_study":"قناة سعرية","Price Oscillator_study":"مؤشر التذبذب السعري","Price Volume Trend_study":"اتجاه حجم التداول للأسعار","Rate Of Change_study":"معدل التغير","Relative Strength Index_study":"مؤشر القوة النسبية","Relative Vigor Index_study":"مؤشر النشاط النسبي","Relative Volatility Index_study":"مؤشر التقلب النسبي","Session Volume_study":"حجم تداول الفترة","Session Volume HD_study":"أحجام تداول الجلسة HD","SMI Ergodic Indicator/Oscillator_study":"مؤشر إرجوديك SMI","Smoothed Moving Average_study":"المتوسط المتحرك المحسن","Stochastic RSI_study":"ستوكاستك القوة النسبية (STOCH RSI)",Stochastic_study:"مؤشر ستوكاستك","Triple EMA_study":"المتوسط المتحرك الأسي الثلاثي",TRIX_study:"مؤشر TRIX","True Strength Indicator_study":"مؤشر القوة الحقيقية TSI","Ultimate Oscillator_study":"مؤشر Ultimate Oscillator","Visible Range_study":"نطاق مرئي","Volume Oscillator_study":"متذبذب حجم التداول",Volume_study:"حجم التداول","Vortex Indicator_study":"مؤشر فورتكس Vortex",VWAP_study:"متوسط السعر المرجح بحجم التداول VWAP",VWMA_study:"المتوسط المتحرك المرجح بحجم التداول VWMA","Williams %R_study":"%R ويليامز","Williams Alligator_study":"مؤشر ويليامز أليجيتور","Williams Fractal_study":"فراكتال ويليامز","Zig Zag_study":"مؤشر الزيجزاج",SuperTrend_study:"سوبرترند","Average Price_study":"متوسط السعر","Typical Price_study":"السعر النموذجي","Median Price_study":"السعر الوسيط","Money Flow Index_study":"مؤشر التدفق النقدي MFI","Moving Average Double_study":"المتوسط المتحرك المزدوج","Moving Average Triple_study":"المتوسط المتحرك الثلاثي","Moving Average Adaptive_study":"المتوسط المتحرك المتكيف","Moving Average Hamming_study":"المتوسط المتحرك هامينج","Moving Average Modified_study":"المتوسط المتحرك المُعدل","Moving Average Multiple_study":"المتوسط المتحرك المتعدد","Linear Regression Slope_study":"ميل الانحدار الخطي","Standard Error_study":"خطأ معياري","Standard Error Bands_study":"نطاقات الخطأ معياري","Correlation - Log_study":"ترابط - لوغاريتمي","Standard Deviation_study":"الانحراف المعياري","Chaikin Volatility_study":"تّقلب شايكن","Volatility Close-to-Close_study":"التّقلب بحساب أسعار الإغلاق","Volatility Zero Trend Close-to-Close_study":"التّقلب بحساب أسعار الإغلاق بدون اتجاه","Volatility O-H-L-C_study":"التّقلب O-H-L-C","Volatility Index_study":"مؤشرالتّقلب","Trend Strength Index_study":"مؤشر قوة الاتجاه","Majority Rule_study":"قاعدة الأغلبية",Length_input:"طول",Plot_input:"ارسم",Zero_input:"صفر",Signal_input:"إشارة",Long_input:"شراء",Short_input:"بيع",UpperLimit_input:"الانحراف العلوي",LowerLimit_input:"حد أدنى",Offset_input:"موازن",length_input:"طول",mult_input:"مضاعف",short_input:"بيع",long_input:"شراء",Limit_input:"حد",Move_input:"حركة",Value_input:"قيمة",Method_input:"طريقة","Accumulation/Distribution_input":"تجميع/توزيع",ADR_B_input:"DADR_B","Equality Line_input":"خط المساواة","Window Size_input":"حجم النافذة",Sigma_input:"سيجما","Aroon Up_input":"أرون صاعد","Aroon Down_input":"أرون هابط",Upper_input:"العلوي",Lower_input:"أدنى",Deviation_input:"الانحراف","Levels Format_input":"تنسيق المستويات","Labels Position_input":"ملصقات المركز","0 Level Color_input":"مستوى اللون 0","0.236 Level Color_input":"مستوى اللون 0.236","0.382 Level Color_input":"مستوى اللون 0.382","0.5 Level Color_input":"مستوى اللون 0.5","0.618 Level Color_input":"مستوى اللون 0.618","0.65 Level Color_input":"مستوى اللون 0.65","0.786 Level Color_input":"مستوى اللون 0.786","1 Level Color_input":"مستوى اللون 1","1.272 Level Color_input":"مستوى اللون 1.272","1.414 Level Color_input":"مستوى اللون 1.414","1.618 Level Color_input":"مستوى اللون 1.618","1.65 Level Color_input":"مستوى اللون 1.65","2.618 Level Color_input":"مستوى اللون 2.618","2.65 Level Color_input":"مستوى اللون 2.65","3.618 Level Color_input":"مستوى اللون 3.618","3.65 Level Color_input":"مستوى اللون 3.65","4.236 Level Color_input":"مستوى اللون 4.236","-0.236 Level Color_input":"مستوى اللون -0.236","-0.382 Level Color_input":"مستوى اللون -0.382","-0.618 Level Color_input":"مستوى اللون -0.618","-0.65 Level Color_input":"مستوى اللون -0.65",ADX_input:"متوسط مؤشر الاتجاه (ADX)","ADX Smoothing_input":"تحسين مؤشر متوسط الحركة الاتجاهية","DI Length_input":"طول مؤشر الاتجاه",Smoothing_input:"تحسين",ATR_input:"متوسط ​​المدى الحقيقي ATR",Growing_input:"صاعد",Falling_input:"هابط","Color 0_input":"لون 0","Color 1_input":"لون 1",Source_input:"مصدر",StdDev_input:"الانحراف المعياري",Basis_input:"أساس",Median_input:"قيمة متوسطة","Bollinger Bands %B_input":"حدود بولنجر %B",Overbought_input:"تشبع شرائي",Oversold_input:"تشبع بيعي","Bollinger Bands Width_input":"عرض حدود بولنجر","RSI Length_input":"طول مؤشر القوى النسبية","UpDown Length_input":"طول الصعود أو الهبوط","ROC Length_input":"طول معدل التغير",MF_input:"التدفق النقدي",resolution_input:"الدقة","Fast Length_input":"طول الخط السريع","Slow Length_input":"طول الخط البطيء","Chaikin Oscillator_input":"مؤشر شايكين",P_input:"P",X_input:"X",Q_input:"Q",p_input:"P",x_input:"X",q_input:"q",Price_input:"سعر","Chande MO_input":"مؤشر زخم اتشاند","Zero Line_input":"خط الصفر","Color 2_input":"لون 2","Color 3_input":"لون 3","Color 4_input":"لون 4","Color 5_input":"لون 5","Color 6_input":"لون 6","Color 7_input":"لون 7","Color 8_input":"لون 8",CHOP_input:"نطاق تقلب سعري (نطاق شوب)","Upper Band_input":"الحد العلوي","Lower Band_input":"الحد السفلي",CCI_input:"مؤشر قناة السلع، CCI","Smoothing Line_input":"خط التحسين","Smoothing Length_input":"طول التحسين","WMA Length_input":"طول المتوسط المتحرك المرجح بحجم التداول","Long RoC Length_input":"قيمة معدل تغير كبيرة","Short RoC Length_input":"معدل التغير القصير",sym_input:"رمز",Symbol_input:"رمز",Correlation_input:"علاقة ارتباط",Period_input:"الفترة الزمنية",Centered_input:"مركزي","Detrended Price Oscillator_input":"مؤشر تذبذب السعر",isCentered_input:"متمركز",DPO_input:"مؤشر تذبذب السعر","ADX smoothing_input":"تحسين مؤشر متوسط الحركة الاتجاهية","+DI_input":"+DI","-DI_input":"-DI",DEMA_input:"المتوسط المتحرك الأسي المزدوج DEMA",Divisor_input:"المقام (المقسوم عليه)",EOM_input:"بيانات نهاية الشهر","Elder's Force Index_input":"مؤشر قوى إلدر",Percent_input:"نسبة مئوية",Exponential_input:"أسي",Average_input:"متوسط","Upper Percentage_input":"النسبة المئوية العليا","Lower Percentage_input":"النسبة المئوية الدنيا",Fisher_input:"تحويلة فيشر",Trigger_input:"إشارة الدخول (الزناد)",Level_input:"مستوى","Trader EMA 1 length_input":"طول 1 EMA للمتداول","Trader EMA 2 length_input":"طول 2 EMA للمتداول","Trader EMA 3 length_input":"طول 3 EMA للمتداول","Trader EMA 4 length_input":"طول 4 EMA للمتداول","Trader EMA 5 length_input":"طول 5 EMA للمتداول","Trader EMA 6 length_input":"طول 6 EMA للمتداول","Investor EMA 1 length_input":"طول EMA 1 للمستثمر","Investor EMA 2 length_input":"طول EMA 2 للمستثمر","Investor EMA 3 length_input":"طول EMA 3 للمستثمر","Investor EMA 4 length_input":"طول EMA 4 للمستثمر","Investor EMA 5 length_input":"طول EMA 5 للمستثمر","Investor EMA 6 length_input":"طول EMA 6 للمستثمر",HV_input:"HV","Hull MA_input":"متوسط متحرك هال","Conversion Line Periods_input":"فترات خط التحويل","Base Line Periods_input":"فترات خط الأساس","Conversion Line_input":"خط التحويل","Base Line_input":"خط الأساس","Lagging Span_input":"مدى التأخير","yay Color 0_input":"سنوي لون 0","yay Color 1_input":"سنوي لون 1",Multiplier_input:"متضاعف","Bands style_input":"نمط الحدود",Middle_input:"منتصف",useTrueRange_input:"استخدام المدى الحقيقي",ROCLen1_input:"ROCLen1",ROCLen2_input:"ROCLen2",ROCLen3_input:"ROCLen3",ROCLen4_input:"ROCLen4",SMALen1_input:"المتوسط المتحرك البسيط 1",SMALen2_input:"المتوسط المتحرك البسيط 2",SMALen3_input:"المتوسط المتحرك البسيط 3",SMALen4_input:"المتوسط المتحرك البسيط 4",SigLen_input:"إشارة",KST_input:"KST",Sig_input:"إشارة",roclen1_input:"roclen1",roclen2_input:"roclen2",roclen3_input:"roclen3",roclen4_input:"roclen4",smalen1_input:"المتوسط المتحرك البسيط 1",smalen2_input:"المتوسط المتحرك البسيط 2",smalen3_input:"المتوسط المتحرك البسيط 3",smalen4_input:"المتوسط المتحرك البسيط 4",siglen_input:"الإشارة","Upper Deviation_input":"الانحراف العلوي","Lower Deviation_input":"انحراف أدنى","Use Upper Deviation_input":"استخدام الانحراف العلوي","Use Lower Deviation_input":"استخدام الانحراف السفلي",Count_input:"عد",Crosses_input:"تقاطعات",MOM_input:"على مدى شهري",MA_input:"المتوسط المتحرك","Length EMA_input":"طول المتوسط المتحرك الأسي","Length MA_input":"طول المتوسط المتحرك","Fast length_input":"طول الخط السريع","Slow length_input":"بطيء","Signal smoothing_input":"تحسين الإشارة","Simple ma(oscillator)_input":"المتوسط المتحرك البسيط (كمتذبذب)","Simple ma(signal line)_input":"المتوسط المتحرك البسيط (كخط فردي)",Histogram_input:"أعمدة أحصائية",MACD_input:"الماكد",fastLength_input:"طول الخط السريع",slowLength_input:"طول الخط البطئ",signalLength_input:"طول الإشارة",NV_input:"شركة عامة nv",OnBalanceVolume_input:"مؤشر obv",Start_input:"ابدأ",Increment_input:"ازدياد","Max value_input":"القيمة العظمى",ParabolicSAR_input:"بارابوليك سار",start_input:"بداية",increment_input:"ازدياد",maximum_input:"الأقصى","Short length_input":"قصير","Long length_input":"مسافة طول كبيرة",OSC_input:"مؤشر متذبذب",shortlen_input:"قصير",longlen_input:"طويل",PVT_input:"اتجاه حجم تداول الأسعار",ROC_input:"معدل التغير",RSI_input:"مؤشر القوى النسبية",RVGI_input:"مؤشر النشاط النسبي",RVI_input:"مؤشر النشاط النسبي","Long period_input":"فترة زمنية طويلة","Short period_input":"فترة زمنية قصيرة","Signal line period_input":"فترة خط اإلشارة",SMI_input:"مؤشر إرجوديك SMI","SMI Ergodic Oscillator_input":"مؤشر إرجوديك SMI",Indicator_input:"مؤشر",Oscillator_input:"مؤشر متذبذب",K_input:"K",D_input:"يوم",smoothK_input:"k المحسنة",smoothD_input:"d المحسنة","%K_input":"%K","%D_input":"%D","Stochastic Length_input":"طول الاستوكاستك","RSI Source_input":"مصدر مؤشر القوى النسبية",lengthRSI_input:"طول مؤشر القوى النسبية",lengthStoch_input:"طول الاستوكاستك",TRIX_input:"مؤشر TRIX",TEMA_input:"المتوسط المتحرك الأسي الثلاثي","Long Length_input":"طويل","Short Length_input":"قصير","Signal Length_input":"إشارة",Length1_input:"طول 1",Length2_input:"طول 2",Length3_input:"طول 3",length7_input:"طول 7",length14_input:"طول 14",length28_input:"طول 28",UO_input:"مؤشر ألتميت",VWMA_input:"المتوسط المتحرك المرجح بحجم التداول",len_input:"طول","VI +_input":"VI +","VI -_input":"VI -","%R_input":"%K","Jaw Length_input":"طول الفك","Teeth Length_input":"طول الأسنان","Lips Length_input":"طول الشفاه",Jaw_input:"فك",Teeth_input:"الأسنان",Lips_input:"الشفاه","Jaw Offset_input":"Jaw Offset","Teeth Offset_input":"Teeth Offset","Lips Offset_input":"Lips Offset","Down fractals_input":"فركتلات هابطة","Up fractals_input":"فركتلات صاعدة",Periods_input:"الفترات",Shapes_input:"أشكال","show MA_input":"عرض المتوسط المتحرك","MA Length_input":"طول المتوسط المتحرك","Color based on previous close_input":"تلوين الأعمدة طبقًا للإغلاق السابق","Rows Layout_input":"تخطيط الصفوف","Row Size_input":"حجم الصف",Volume_input:"حجم تداول","Value Area volume_input":"حجم منطقة مهمة","Extend POC Right_input":"إمتداد نقطة التغير إلى اليمين","Value Area Volume_input":"حجم منطقة مهمة",Placement_input:"وضع",POC_input:"نقطة التغير","Developing Poc_input":"تطوير نقطة التغير","Up Volume_input":"حجم تداول صاعد","Down Volume_input":"تراجع حجم التداول","Value Area_input":"منطقة مهمة","Histogram Box_input":"مربع الأعمدة الإحصائية","Value Area Up_input":"منطقة صعود مهمة","Value Area Down_input":"منطقة هبوط مهمة","Number Of Rows_input":"عدد الصفوف","Ticks Per Row_input":'علامة سعرية "تك" لكل صف',"Up/Down_input":"صعود/هبوط",Total_input:"إجمالي",Delta_input:"Delta","Deviation (%)_input":"الإنحراف (%)",Depth_input:"عمق","Extend to last bar_input":"مد إلى آخر شمعة أو عمود بياني",Simple_input:"بسيط",Weighted_input:"مُرجّح","Wilder's Smoothing_input":"تهذيب التحركات بطريقة وايلدر","1st Period_input":"الفترة الأولى","2nd Period_input":"الفترة الثانية","3rd Period_input":"الفترة الثالثة","4th Period_input":"الفترة الرابعة","5th Period_input":"الفترة الخامسة","6th Period_input":"الفترة السادسة","Rate of Change Lookback_input":"معدل تغير فترة المراقبة","Instrument 1_input":"الأداة 1","Instrument 2_input":"الأداة 2","Rolling Period_input":"الفترات المتعاقبة","Standard Errors_input":"الأخطاء المعيارية","Averaging Periods_input":"فترات حساب المتوسّط","Days Per Year_input":"أيام في السنة","Market Closed Percentage_input":"النسبة المئوية لإغلاقات السوق","ATR Mult_input":"مضاعف ATR",VWAP_input:"متوسط السعر المرجح بحجم التداول VWAP","Anchor Period_input":"فترة التثبيت",Session_input:"جلسة",Week_input:"أسبوع",Month_input:"شهر",Year_input:"سنة",Decade_input:"عقد",Century_input:"قرن","Custom range":"نطاق مخصّص","Go to":"الذهاب إلى","Symbol Info":"معلومات الرمز","Save all charts for all symbols and intervals on your layout":"احفظ جميع الرسوم البيانية لكل الرموز والفترات الزمنية في نموذج التصميم الخاص بك",Dot_hotkey:"نقطة","Load Chart Layout":"تحميل تصميم رسم بياني",minutes_interval:"دقائق",hours_interval:"ساعات",days_interval:"أيام",weeks_interval:"أسابيع",months_interval:"شهور","Add custom time interval":"إضافة فترة زمنية مخصصة",Add:"إضافة","Save chart image":"حفظ الصورة","Copy chart image":"نسخ صورة الرسم البياني","Copy link to the chart image":"نسخ رابط صورة الرسم البياني","Open image in new tab":"افتح الصورة في تبويبة جديدة","Tweet chart image":"غرد بصورة الرسم البياني على تويتر","adjust data for dividends":"ضبط لبيانات توزيعات الأرباح","adjust for contract changes":"ضبط لتغييرات العقد","toggle auto scale":"تبديل المقياس التلقائي","toggle log scale":"تبديل المقياس اللوغاريتمي","toggle percentage scale":"تبديل مقياس النسبة المئوية","Take a snapshot":"التقط صورة الشاشة","use settlement as close on daily interval":"استخدام التسوية عند الإغلاق على الفاصل الزمني اليومي","Extended Hours is available only for intraday charts":"ساعات التداول المُمددة متاحة فقط على النطاقات الصغرى خلال اليوم للرسوم البيانية","Toggle Percentage":"نطاق قياس النسبة المئوية",log_scale:"لوغاريتمي","Toggle Log Scale":"نطاق قياس لوغاريتمي",auto_scale:"تلقائي","Toggle Auto Scale":"نطاق قياس تلقائي","Toggle Maximize Chart":"تبديل تكبير الرسم البياني",adj_adjustments:"تعديل","Adjust data for dividends":"تعديل البيانات لأرباح الأسهم","Main symbol data is adjusted for dividends only":"يتم ضبط بيانات الرمز الرئيسي لتوزيعات الأرباح فقط","Main symbol data is adjusted for splits only":"يتم ضبط بيانات الرمز الرئيسي للتقسيمات فقط","b-adj_adjustments":"b-adj","Adjust for contract changes":"ضبط لتغييرات العقود",set_adjustments:"ضبط","Use settlement as close on daily interval":"استخدم التسوية في أقرب وقت على الفاصل الزمني اليومي","Date Range":"المدى الزمني","change session":"تغيير الجلسة",Session:"فترة",Sessions:"الجلسات","Weak Magnet":"مغناطيس ضعيف","Strong Magnet":"مغناطيس قوي",Cursors:"المؤشرات","Trend Line Tools":"أدوات خط الاتجاه","Gann and Fibonacci Tools":"أدوات فيبوناتشي و جان","Geometric Shapes":"الأشكال الهندسية","Annotation Tools":"أدوات التوضيحات والملاحظات",Patterns:"نماذج","Prediction and Measurement Tools":"أدوات التنبؤ والقياس","Hide Drawings Toolbar":"إخفاء شريط أدوات الرسوم","Show Drawings Toolbar":"عرض رسومات شريط الأدوات","Show Favorite Drawing Tools Toolbar":"عرض شريط أدوات الرسم المفضلة",Icon:"أيقونة",Icons:"أيقونات","New drawings are replicated to all charts in the layout and shown when the same ticker is selected":"يتم تطبيق ونسخ ما قمت به من رسومات جديدة إلى جميع الرسوم البيانية في التنسيق المختار وتظهر عند اختيار نفس الرمز أو الأداة المالية","Remove Drawings & Indicators":"حذف الرسومات والمؤشرات","Remove Drawings":"حذف الرسومات","Remove Indicators":"حذف المؤشرات",Alert:"تنبيه","Hollow candles":"شموع مفرغة",Columns:"الأعمدة","High-low":"أعلى-أدنى","Bar's style":"تصميم الأعمدة","Compare or Add Symbol":"قارن أو اضف رمز","Fullscreen mode":"وضع الشاشة الكاملة",Favorites:"المفضلة","Favorite Indicators":"المؤشرات المفضلة","You have no Favorites Indicators yet":"ليس لديك أية مؤشرات مفضلة بعد","Open Interval Dialog":"إجراء حوار منفصل","Number or {hotKey_0}":"رقم أو {hotKey_0}","Add custom interval":"إضافة فترة زمنية مخصصة",Ticks_interval_group_name:"تيكات",Seconds_interval_group_name:"ثانية",Minutes_interval_group_name:"دقائق",Hours_interval_group_name:"ساعات",Days_interval_group_name:"أيام",Weeks_interval_group_name:"أسابيع",Months_interval_group_name:"شهور",Ranges_interval_group_name:"نطاقات","Sync in layout":"مزامنة مع كل الرسوم البيانية",Crosshair:"مؤشر التقاطع","Open chart in popup":"افتح الرسم البياني في نافذة منبثقة","Chart settings":"إعدادات الرسم البياني","Make a Copy":"عمل نسخة","New Chart Layout":"مخطط رسم بياني جديد","Rename Chart Layout":"إعادة تسمية الرسم البياني","Manage Chart Layouts":"إدارة تنسيقات الرسوم البيانية","Symbol Search":"بحث عن الرموز","Simply start typing while on the chart to pull up this search box":"يمكنك ببساطة الكتابة مباشرة على الرسم البياني لعرض مربع البحث","Save Indicator template":"حفظ قالب المؤشر","Save Indicator Template":"حفظ قالب المؤشر","Selecting this option will set the {symbol} symbol on the chart when this template is applied":"سيؤدي تحديد هذا الخيار إلى تعيين الرمز ‎{symbol}‎ على الرسم البياني عند تطبيق هذا القالب","Selecting this option will set the {interval} interval on the chart when this template is applied":"سيؤدي تحديد هذا الخيار إلى تعيين الفاصل الزمني‎{interval} ‎ على الرسم البياني عند تطبيق هذا القالب","Study Template '{templateName}' already exists. Do you really want to replace it?":'نموذج الدراسة "‎{templateName}‎" موجود بالفعل، هل تريد حقًا استبداله؟',"My templates":"قوالبي","Default templates":"القوالب الافتراضية",Templates:"قوالب","Indicator Templates":"نموذج المؤشر","Undo {hint}":"تراجع {hint}","Redo {hint}":"إعادة {hint}","View Only Mode":"وضع العرض فقط","show alert label lines":"إظهار خطوط ملصقات التنبيه","hide alert label lines":"إخفاء خطوط ملصقات التنبيه","change visibility":"تغيير الرؤية","pin to scale {label}":"ثبت على المقياس ‎{label}‎","pin to right scale":"ثبت إلى المقياس الأيمن","pin to left scale":"ثبت على المقياس الأيسر","change earnings visibility":"تغيير وضوح الأرباح","change dividends visibility":"تغيير وضوح توزيعات الأرباح","change splits visibility":"تغيير وضوح تقسيمات الأسهم","change continuous contract switch visibility":"تغيير رؤية تبديل العقد المستمر","show all ideas":"عرض جميع التحاليل","show ideas of followed users":"عرض جميع التحاليل للمستخدمين الذين يتم متابعتهم","show my ideas only":"عرض تحاليلي فقط","change events visibility on chart":"تغيير وضوح الأحداث على الرسم البياني","add this symbol to entire layout":"أضف هذا الرمز إلى التنسيق بالكامل","add this indicator to entire layout":"أضف هذا المؤشر إلى التنسيق بالكامل","add this strategy to entire layout":"أضف هذه الاستراتيجية إلى التنسيق بالكامل","add this financial metric to entire layout":"أضف هذا المؤشر المالي إلى التنسيق بالكامل","apply drawing template":"تطبيق قالب الرسم","lock objects":"قفل العنصر","unlock objects":"تحرير العنصر","Add alert":"اضف تنبيه","Add alert on {series}":"إضافة تنبيه على ‎{series}‎","Add alert on {drawing}":"إضافة تنبيه على ‎{drawing}‎","Edit {title} alert":"تعديل ‎التنبيه {title} .","Extend alert lines":"تمديد خطوط التنبيه","Create limit order":"إنشاء أمر معلق","Apply Manual Risk/Reward":"التطبيق اليدوي لنسبة المخاطر/الأرباح","Apply Manual Decision Point":"قم بتطبيق نقطة اتخاذ القرار يدويا","Analyze Trade Setup":"تحليل إعدادات الصفقة","Apply Elliott Wave":"تطبيق موجات إليوت","Apply Elliott Wave Intermediate":"تطبيق موجات إليوت المتوسطة","Apply Elliott Wave Major":"تطبيق موجات إليوت الكبرى","Apply Elliott Wave Minor":"تطبيق موجات إليوت الصغرى","Apply WPT Up Wave":"تطبيق الهدف السعري للموجة الصاعدة","Up Wave 1 or A":"موجة صاعدة 1 أو A","Up Wave 2 or B":"موجة صاعدة 2 أو B","Up Wave C":"موجة صاعدة C","Up Wave 3":"موجة صاعدة 3","Up Wave 4":"موجة صاعدة 4","Up Wave 5":"موجة صاعدة 5","Apply WPT Down Wave":"تطبيق الهدف السعري للموجة الهابطة","Down Wave 1 or A":"موجة هابطة 1 أو A","Down Wave 2 or B":"موجة هابطة 2 أو B","Down Wave C":"موجة هابطة C","Down Wave 3":"موجة هابطة 3","Down Wave 4":"موجة هابطة 4","Down Wave 5":"موجة هابطة 5","Pinned to scale {label} (hidden)":"تم التثبيت على المقياس ‎{label}‎ (مخفي)","Pinned to right scale (hidden)":"ثبت على المقياس الأيمن (مخفي)","Pin to scale {label} (hidden)":"ثبت على المقياس ‎{label}‎ (مخفي)","Pin to right scale (hidden)":"ثبت على المقياس الأيمن (مخفي)","Pinned to scale {label}":"ثبت على المقياس ‎{label}‎","Pinned to right scale":"تم التثبيت إلى المقياس الأيمن","Pin to scale {label}":"ثبت إلى المقياس ‎{label}‎","Pin to right scale":"ثبت إلى المقياس الأيمن","Pinned to left scale (hidden)":"تم التثبيت على المقياس الأيسر (مخفي)","Pin to left scale (hidden)":"ثبت على المقياس الأيسر (مخفي)","Pinned to left scale":"تم التثبيت إلى المقياس الأيسر","Pin to left scale":"ثبت إلى المقياس الأيسر","Pin to new left scale":"ثبت على مقياس أيسر جديد","Pin to new right scale":"ثبت على مقياس أيمن جديد","Pin to scale (now {label})":"ثبت على مقياس (‎{label}‎ جديد)","Pin to scale (now no scale)":"تثبيت مقياس الرسم (الأن لا مقياس محدد)","Pin to scale (now left)":"تثبيت إلى المقياس (الآن يسار)","Pin to scale (now right)":"تثبيت إلى المقياس (الآن يمين)","No scale (fullscreen)":"بدون مقياس ثابت (ملء الشاشة)","Move to":"حرك إلى","Existing pane above":"جزء موجود أعلاه","New pane above":"جزء جديد أعلاه","Existing pane below":"جزء موجود أدناه","New pane below":"جزء جديد أدناه","Bring to front":"وضعه في المقدمة","Send to back":"إرسال للمؤخرة","Bring forward":"تقديمه للأمام","Send backward":"إرسال إلى الخلف","Visual order":"الترتيب المرئي",Lines:"الخطوط","Add indicator/strategy on {studyTitle}":"إضافة مؤشر/إستراتيجية على {studyTitle}","Add financial metric for {instrumentName}":"إضافة مؤشر مالي لـ {instrumentName}","Apply default":"تطبيق الوضع الافتراضي","Save as":"حفظ باسم",Clone:"نسخة مكررة",Template:"قالب","Go to {lineToolName}":"انتقل إلى {lineToolName}",Unlock:"فتح",Lock:"غلق","Show earnings":"عرض الأرباح","Show dividends":"عرض توزيعات الأرباح","Show splits":"عرض تقسيمات الأسهم","Show continuous contract switch":"إظهار تبديل العقد المستمر","Show all ideas":"عرض جميع الأفكار","Show ideas of followed users":"عرض جميع الأفكار للمستخدمين الذين يتم متابعتهم","Show my ideas only":"عرض أفكاري فقط","Hide events on chart":"إخفاء الأحداث على الرسم البياني","Add this symbol to entire layout":"أضف هذا الرمز إلى التنسيق بالكامل","Add this indicator to entire layout":"أضف هذا المؤشر إلى التنسيق بالكامل","Add this strategy to entire layout":"أضف هذه الاستراتيجية إلى التنسيق بالكامل","Add this financial metric to entire layout":"أضف هذا المؤشر المالي إلى التنسيق بالكامل","No sync":"لا مزامنة","Sync globally":"مزامنة شاملة","Symbol info":"معلومات الرمز","Upper Bound":"الحد العلوي","Lower Bound":"الحد الأدنى",Create_alert:"إنشاء","Alert editor could not be initialized":"تعذر إعادة تعيين محرر التنبيهات","Alerts maintenance":"صيانة التنبيهات","We are doing some brief daily maintenance. Alerts will be back really soon, thanks for your patience!":"نقوم ببعض الصيانة اليومية السريعة، التنبيهات ستعود كما كانت قريباً جداً، شكراً لتعاونكم","Cannot create an alert while offline":"لا يمكن إنشاء تنبيه أثناء غياب الاتصال بالإنترنت","Cannot edit an alert while offline":"لا يمكن تعديل تنبيه أثناء غياب الاتصال بالإنترنت","Can't create alert on invalid symbol":"لا يمكن إنشاء تنبيه على رمز/أصل مالي غير صحيح","Can't edit alert on invalid symbol":"لا يمكن تعديل التنبيه على رمز/أصل مالي غير صحيح","Both the currency and the unit have been converted!":"تم تحويل كل من العملة والوحدة!","It's not currently possible to create alerts on such a scale.":"لا يمكن حاليًا إنشاء تنبيهات على المقياس.","It's not currently possible to edit alerts on such a scale.":"لا يمكن حاليًا تعديل التنبيهات على المقياس.","A converted currency has been detected!":"تم اكتشاف عملة محولة!","It's not currently possible to create alerts for this type of symbol.":"لا يمكن حاليًا إنشاء تنبيهات على نوع الرمز هذا.","It's not currently possible to edit alerts for this type of symbol.":"لا يمكن حاليًا تعديل التنبيهات على نوع الرمز هذا.","A converted unit has been detected!":"تم الكشف عن وحدة محولة!","Dang-it – Wrong symbol type!":"عذراً، نوع رمز خاطئ!","Alerts aren't available right now for economics symbols.":"التنبيهات غير متاحة الآن للرموز الاقتصادية.","Alert cannot be set on an ATR-based chart":"لايمكن ضبط التنبيه على الرسوم البيانية المعتمدة على مؤشر ATR.","Your alert won't trigger the way you expect it to! Inputs for ATR-based charts are recalculated each time you open a chart and are generally dependent on time. Please use the traditional chart type to set an alert with a static box size.":"لن يتفعل تنبيهك بالطريقة التي تتوقعها! يتم إعادة احتساب مدخلات الرسوم البيانية المعتمدة على مؤشر ATR في كل مرة تقوم فيها بفتح الرسم البياني وتعتمد بشكل عام على الوقت. يرجى استخدام نوع الرسم البياني التقليدي لتعيين تنبيه بحجم مربع ثابت.","Oops – Replay Mode!":"عفوًا - وضع إعادة التشغيل!","Alerts are not currently available in replay mode.":"التنبيهات غير متوفرة حاليًا في وضع إعادة التشغيل.","By TradingView":"بواسطة TradingView","{symbol} financials by TradingView":"{symbol} تم تفريغ القوائم المالية عن طريق TradingView","More features on tradingview.com":"مميزات أكثر على موقع tradingview.com","move left":"حرك يسارًا","move right":"حرّك يمينًا","change price to bar ratio":"تغيير السعر إلى نسبة العمود","toggle lock scale":"تبديل قفل المقياس","change series style":"تغيير نمط السلسلة","hide {title}":"إخفاء {title}","Invalid symbol":"رمز غير صحيح","No data here":"لا توجد بيانات هنا","apply indicators to entire layout":"تطبيق المؤشرات على التنسيق بأكمله","sync time":"وقت المزامنة","apply chart theme":"تطبيق مظهر الرسم البياني","Please give us a clipboard writing permission in your browser or press {keystroke}":"يرجى منحنا إذن الكتابة للحافظة في متصفحك أو الضغط على {keystroke}","Couldn't copy":"تعذر النسخ","Couldn't cut":"تعذر القطع","Couldn't paste":"تعذر اللصق","{userName} published on {customer}, {date}":"نشر {userName} على {customer} في {date}","Published on {customer}, {date}":"تم نشره على {customer} في {date}","change symbol last value visibility":"تغيير وضوح آخر قيمة للرمز","change symbol previous close value visibility":"تغيير وضوح قيمة الإغلاق للرمز","change previous close price line visibility":"تغيير وضوح خط سعر الإغلاق السابق","change symbol labels visibility":"تغيير وضوح ملصقات رمز","change indicators and financials name labels visibility":"وضوح ملصقات تغير المؤشرات وأسماء البيانات المالية","change indicators name labels visibility":"وضوح ملصقات تغير المؤشرات","change indicators and financials value labels visibility":"وضوح ملصقات تغير المؤشرات والبيانات المالية","change indicators value labels visibility":"وضوح ملصقات تغيير المؤشرات","change bid and ask labels visibility":"تغيير وضوح ملصقات سعري البيع والشراء","change bid and ask lines visibility":"تغيير وضوح خط سعري البيع والشراء","change pre/post market price label visibility":"تغيير وضوح ملصق أسعار ما قبل/بعد الجلسة","change high and low price lines visibility":"تغيير وضوح خطوط أعلى سعر وأدنى سعر","change high and low price labels visibility":"تغيير وضوح ملصقات أعلى سعر وأدنى سعر","change countdown to bar close visibility":"تغيير وضوح العد التنازلي لعمود الإغلاق","change plus button visibility":"تغيير وضوح زر +","change price line visibility":"تغيير خط السعر","unlock {title}":"تحرير ‎{title}‎","lock {title}":"تثبيت ‎{title}‎","Auto (fits data to screen)":"تلقائي (تناسب البيانات مع حجم الشاشة)","Lock price to bar ratio":"قفل نسبة السعر للعمود البياني","Change interval":"تغيير الفترة","Symbol last price label":"ملصق آخر قيمة للرمز","Symbol previous day close price label":"ملصق قيمة إغلاق اليوم السابق للرمز","Previous day close price line":"خط سعر إغلاق اليوم السابق","Symbol name label":"ملصق اسم الرمز","Indicators and financials value labels":"ملصقات المؤشرات والبيانات المالية","Indicators value labels":"ملصقات قيمة المؤشرات","Indicators and financials name labels":"ملصقات المؤشرات وأسماء البيانات المالية","Indicators name labels":"ملصق اسم المؤشر","Bid and ask labels":"ملصقات سعري البيع والشراء (Bid/Ask)","Bid and ask lines":"خطوط سعري البيع والشراء (Bid/Ask)","Pre/post market price label":"ملصق السعر لما قبل/بعد الجلسة","Pre/post market price line":"خط السعر لما قبل/بعد الجلسة","High and low price lines":"خطوط أعلى وأدنى سعر","Countdown to bar close":"العد التنازلي لإغلاق العمود البياني","Plus button":"زر زائد","Source code":"كود المصدر","Price line":"خط السعر","Session breaks":"راحات جلسة التداول","change symbol":"تغيير الرمز","change resolution":"تغيير النطاق",Warning:"تحذير","Zoom Out":"تصغير","Zoom In":"تكبير","Maximize chart":"تكبير الرسم البياني","Restore chart":"استعادة الرسم البياني","Scroll to the Left":"التمرير إلى اليسار","Scroll to the Right":"التمرير إلى اليمين","Reset Chart":"إعادة تعيين الرسم البياني","Scroll to the Most Recent Bar":"التمرير إلى أخر عمود بياني",Mixed:"مختلط","show {title}":"عرض ‎{title}‎","Hide Favorite Drawing Tools Toolbar":"إخفاء شريط أدوات الرسم المفضلة","Market open":"السوق مفتوح","Pre-market":"ما قبل الجلسة","Post-market":"ما بعد الجلسة","Market closed":"السوق مغلق","Exchange timezone":"المنطقة الزمنية للبورصة",Image:"صورة",Transparency:"الشفافية","change symbol description visibility":"تغيير وضوح وصف رمز","change open market status visibility":"تغيير وضوح حالة السوق المفتوحة","change OHLC values visibility":"تغيير وضوح قيم OHLC","change bar change visibility":"تغيير وضوح تغييرات الأعمدة","change indicator titles visibility":"تغيير وضوح عناوين المؤشر","change indicator arguments visibility":"تغيير وضوح مدخلات المؤشر","change indicator values visibility":"تغيير وضوح قيم المؤشر","change volume values visibility":"تغيير وضوح قيم الحجم","Open market status":"حالة الأسواق المفتوحة","OHLC values":"قيم الافتتاح والإغلاق وأعلى وأدنى قيمة (OHLC)","Bar change values":"قيمة التغير للعمود","Indicator titles":"عناوين المؤشر","Indicator arguments":"مدخلات المؤشر","Indicator values":"قيم المؤشر","Hide Indicator Legend":"إخفاء وسيلة إيضاح المؤشر","Show Indicator Legend":"عرض وسيلة إيضاح المؤشر","Show Object Tree":"إظهار عناصر الرسم البياني","Could not get Pine source code.":"لا يمكن ايجاد مصدر الكود البرمجي باين.","Show interval settings":"إظهار إعدادات النطاق الزمني","Flag Symbol":"وضع علامة على الرمز","Unflag Symbol":"إزالة العلامة من الرمز","change line tool(s) font size":"تغيير حجم خط أداة (أدوات) الخط","change line tool(s) line style":"تغيير نمط أداة (أدوات) الخط","Font size":"حجم الخط","Template name":"أسم القالب","{hotKey_0} — drawing a straight line at angles of 45":"{hotKey_0} - رسم خط مستقيم بزوايا 45 درجة","{hotKey_0} — circle":"{hotKey_0} - دائرة","{hotKey_0} — square":"{hotKey_0} - مربع","{hotKey_0} — fixed increments":"{hotKey_0} — زيادات ثابتة",Arrow:"سهم",Cross:"تقاطع",Dot:"نقطة","Stay in Drawing Mode":"البقاء في وضع الرسم",Eraser:"ممحاة","Show Hidden Tools":"عرض الأدوات المخفاه","Hide All Drawing Tools":"إخفاء جميع أدوات الرسم","Lock All Drawing Tools":"غلق كل أدوات الرسم","Magnet Mode snaps drawings placed near price bars to the closest OHLC value":"وضع المغناطيس يجذب الرسومات الموجودة بجوار أعمدة السعر عند أقرب قيمة سعر إغلاق أو افتتاح أو أعلى وأقل سعر",Measure:"مقياس","{hotKey_0} + Click on the chart":"{hotKey_0} + اضغط على الرسم البياني",Color:"لون","Text color":"لون النص","Double click":"نقرتين متتاليتين","Delete pane":"حذف جزء","Move pane up":"تحريك جزء لأعلى","Move pane down":"تحريك جزء لأسفل","Maximize pane":"تكبير جزء","Restore pane":"استعادة جزء","Collapse pane":"طي الجزء","Manage panes":"إدارة العناصر",scroll:"تمرير","Lock vertical cursor line by time":"قفل خط المؤشر العمودي بمرور الوقت","change no overlapping labels":"تغيير الملصقات غير متداخلة","Merge all scales into one":"دمج كل المقاييس في مقياس واحد",Labels:"عناوين","Reset price scale":"إعادة تعيين مقياس السعر",Percent_scale_menu:"نسبة مئوية","Indexed to 100_scale_menu":"مدرجة إلى 100",Logarithmic_scale_menu:"لوغاريتمي",Regular_scale_menu:"عادي","No overlapping labels_scale_menu":"بدون ملصقات متداخلة","Invert scale_scale_menu":"عكس المقياس","Status line":"خط الحالة",Appearance:"المظهر",money:"أموال",pips:"نقاط",ticks:"تيكات السعر","Ticker and description":"الرمز والوصف","change chart background color":"تغيير لون خلفية الرسم البياني","change chart background type":"تغيير نوع خلفية الرسم البياني","change vert grid lines color":"تغيير لون خطوط الشبكة العمودية","change vert grid lines style":"تغيير نمط خطوط الشبكة العمودية","change horz grid lines color":"تغيير لون خطوط الشبكة الأفقية","change horz grid lines style":"تغيير نمط خطوط الشبكة الأفقية","change sessions breaks visibility":"تغيير وضوح فواصل الجلسات","change sessions breaks color":"تغيير وضوح لون فواصل الجلسات","change sessions breaks width":"تغيير عرض فواصل الجلسات","change sessions breaks style":"تغيير نمط فواصل الجلسات","change scales text color":"تغيير لون نص المقاييس","change scales font size":"تغيير حجم خط المقاييس","change scales lines color":"تغيير لون خطوط المقاييس","change pane separators color":"تغيير لون فواصل الجزء","change crosshair color":"تغيير لون التقاطع","change crosshair width":"تغيير عرض التقاطع","change crosshair style":"تغيير نمط التقاطع","change symbol watermark visibility":"تغيير وضوح علامة الرمز","change symbol watermark color":"تغيير لون علامة الرمز","change navigation buttons visibility":"تغيير وضوح أزرار التنقل","change pane buttons visibility":"تغيير وضوح أزرار الجزء","change top margin":"تغيير الهامش العلوي","change bottom margin":"تغيير الهامش السفلي","change right margin":"تغيير الهامش الأيمن","Vert grid lines":"خطوط شبكية رأسية","Horz grid lines":"خطوط شبكية أفقية","Scales text":"نص المقاييس","Scales lines":"خطوط المقاييس",Watermark:"علامة مائية","Top margin":"الهامش العلوي","Navigation buttons":"أزرار التنقل","Pane buttons":"أزرار الجزء","Bottom margin":"الهامش السفلي","Right margin":"الهامش الأيمن",bars_unit:"الأعمدة البيانية","change price Y coordinate":"تغيير إحداثيات سعر Y","change bar X coordinate":"تغيير إحداثيات سعر X","change {title} visibility on ticks":"تغيير وضوح {title} على التيكات","change {title} visibility on seconds":"تغيير وضوح {title} على الثواني","change {title} seconds from":"تغيير {title} الثواني من","change {title} seconds to":"تغيير {title} الثواني إلى","change {title} visibility on minutes":"تغيير {title} الدقائق من","change {title} minutes from":"تغيير {title} الدقائق إلى","change {title} minutes to":"تغيير وضوح {title} على الساعات","change {title} visibility on hours":"تغيير وضوح {title} على الساعات","change {title} hours from":"تغيير {title} الساعات من","change {title} hours to":"تغيير {title} الساعات إلى","change {title} visibility on days":"تغيير وضوح {title} على الأيام","change {title} days from":"تغيير {title} الأيام من","change {title} days to":"تغيير {title} الأيام إلى","change {title} visibility on weeks":"تغيير وضوح {title} على الأسابيع","change {title} weeks from":"تغيير {title} الأسابيع من","change {title} weeks to":"تغيير {title} الأسابيع إلى","change {title} visibility on months":"تغيير وضوح {title} على الأشهر","change {title} months from":"تغيير {title} الأشهر من","change {title} months to":"تغيير {title} الأشهر إلى","change {title} visibility on ranges":"تغيير وضوح {title} على النطاقات",Seconds:"ثواني",Minutes:"دقائق",Hours:"ساعات",Days:"الأيام",Weeks:"أسابيع",Months:"الشهور",Ranges:"نطاقات القدرة التحليلية",seconds:"ثواني","seconds from":"ثوان من","seconds to":"ثواني لـ",minutes:"دقائق","minutes from":"دقائق من","minutes to":"دقائق لـ",hours:"ساعات","hours from":"ساعات من","hours to":"ساعات لـ",days:"الأيام","days from":"أيام من","days to":"أيام لـ",weeks:"أسابيع","weeks from":"أسابيع من","weeks to":"أسابيع لـ",months:"الشهور","months from":"أشهر من","months to":"أشهر لـ",ranges:"نطاقات القدرة التحليلية","change symbol legend format":"تغيير تنسيق مفتاح التوضيح الرمز","change legend background visibility":"تغيير وضوح خلفية المفتاح التوضيحي","change legend background transparency":"تغيير شفافية خلفية المفتاح التوضيحي","change {title} price label visibility":"تغيير وضوح ملصقات أسعار {title}","change {title} extension":"تغيير امتداد {title}","change {title} time label visibility":"تغيير وضوح ملصقات وقت {title}","Price label":"ملصق السعر","Time label":"ملصق الوقت",Extend:"تمديد","change symbol last value mode":"تغيير وضع آخر قيمة للرمز","change currency label visibility":"تغيير وضوح ملصقات العملة","change unit label visibility":"تغيير وضوح ملصقات الوحدة","change currency and unit labels visibility":"تغيير وضوح وحدات الملصقات والعملة","change date format":"تغيير تنسيق التاريخ",Unit:"وحدة","Currency and Unit":"العملة والوحدة","Scales placement":"وضع المقاييس","Date format":"تنسيق التاريخ","No overlapping labels":"بدون ملصقات متداخلة","Price and percentage value":"السعر وقيمة النسبة المئوية","Value according to scale":"القيمة حسب المقياس","text color":"لون النص",Text:"النص","change {inputName} property":"تغيير خاصية {inputName}","change color bars based on previous close":"تغيير لون الأعمدة بناءً على الإغلاق السابق","change HLC bars":"تغيير أعمدة HLC","change bar up color":"تغيير لون العمود الصاعد","change bar down color":"تغيير لون العمود الهابط","change thin bars":"تغيير الأعمدة الرقيقة","change line price source":"تغيير مصدر سعر الخط","change line type":"تغيير نوع الخط","change line color":"تغيير لون الخط","change line width":"تغيير عرض الخط","change area price source":"تغيير مصدر سعر المنطقة","change area line color":"تغيير لون خطوط المنطقة","change area line width":"تغيير عرض خط المنطقة","change area fill color":"تغيير لون المنطقة","change baseline price source":"تغيير مصدر السعر الأساسي","change baseline top line color":"تغيير لون خطوط خط الأساس","change baseline top line width":"تغيير عرض أعلى الخط الأساسي","change baseline bottom line color":"تغيير لون قاع خط الأساس","change baseline bottom line width":"تغيير لون قاع خط الأساس","change baseline fill top area color":"تغيير لون المنطقة العليا لخط الأساس","change baseline fill bottom area color":"تغيير لون المنطقة السفلية لخط الأساس","change base level":"تغيير مستوى الأساس","change high-low body visibility":"تغيير وضوح جسم أعلى-أدنى","change high-low body color":"تغيير لون جسم أعلى-أدنى","change high-low borders visibility":"تغيير وضوح حدود أعلى-أدنى","change high-low border color":"تغيير لون حدود أعلى-أدنى","change high-low labels visibility":"تغيير وضوح ملصقات أعلى-أدنى","change high-low labels color":"تغيير لون ملصقات أعلى-أدنى","change high-low labels font size":"تغيير حجم خط ملصقات أعلى-أدنى","change renko wick visibility":"تغيير وضوح ذيل الرينكو","change renko wick up color":"تغيير لون ذيل الرينكو الصاعد","change renko wick down color":"تغيير لون ذيل رينكو الهابط","change the display of real prices on price scale (instead of Heiken-Ashi price)":"تغيير عرض الأسعار الحقيقية على مقياس السعر (بدلًا من سعر هيكن آشي)","change range thin bars":"تغيير نطاق الأعمدة الرقيقة","change {candleType} body visibility":"تغيير وضوح الجسم {candleType}","change {candleType} up color":"تغيير لون {candleType} الصاعد","change {candleType} down color":"تغيير لون {candleType} الهابط","change {candleType} border visibility":"تغيير وضوح حدود {candleType}","change {candleType} up border color":"تغيير لون حدود {candleType} الصاعد","change {candleType} down border color":"تغيير لون حدود {candleType} الهابط","change {candleType} wick visibility":"تغيير وضوح ذيل {candleType}","change {candleType} wick up color":"تغيير لون ذيل {candleType} الصاعد","change {candleType} wick down color":"تغيير لون ذيل {candleType} الهابط","change {chartType} up color":"تغيير لون {chartType} الصاعد","change {chartType} down color":"تغيير لون {chartType} الهابط","change {chartType} projection bar up color":"تغيير لون عمود الإسقاط {chartType} الصاعد","change {chartType} projection bar down color":"تغيير لون عمود الإسقاط {chartType} الهابط","change {chartType} border bar up color":"تغيير لون حدود عمود {chartType} الصاعد","change {chartType} border bar down color":"تغيير لون حدود عمود {chartType} الهابط","change {chartType} projection border bar up color":"تغيير لون الإسقاط لحدود عمود {chartType} الصاعد","change column down color":"تغيير لون الأعمدة الهابطة","change column price source":"تغيير مصدر سعر العمود","Thin bars":"أعمدة نحيفة","Top line":"الخط العلوي","Bottom line":"الخط السفلي","Fill top area":"إملئ المنطقة العلوية","Fill bottom area":"ملء المنطقة السفلية","Real prices on price scale (instead of Heikin-Ashi price)":"عرض الأسعار الحقيقية على مقياس السعر (بدلًا من سعر هيكن آشي)","Base level":"مستوى الأساس",candle:"شمعة",range_0:"نطاق",range_1:"نطاق",range_2:"نطاق",range_3:"نطاقات",range_4:"نطاق",range_5:"نطاق","hollow candles":"شموع مفرغة",Center:"مركز","change {title} middle point visibility":"تغيير وضوح نقطة المنتصف {title}","change {title} price labels visibility":"تغيير وضوح ملصقات أسعار {title}","change {title} price range visibility":"تغيير وضوح ملصقات أسعار {title}","change {title} bars range visibility":"تغيير وضوح نطاق الأعمدة {title}","change {title} date/time range visibility":"تغيير وضوح نطاق التاريخ/الوقت {title}","change {title} distance visibility":"تغيير وضوح المسافة {title}","change {title} angle visibility":"تغيير وضوح زاوية {title}","change {title} always show stats":"تغيير {title} لتظهر دائما الإحصائيات","change {title} stats position":"تغيير موضع الإحصائيات {title}","Middle point":"نقطة المنتصف","Price labels":"عنوان السعر","Stats position":"موقف الإحصائيات","Price range":"المدى السعري","Bars range":"نطاق الأعمدة","Date/time range":"نطاق التاريخ/الوقت",Distance:"مسافة",Angle:"زاوية","Always show stats":"أظهر الاحصائيات دائماً",Stats:"الإحصائيات","change {toolName} line visibility":"تغيير وضوح خط {toolName}","change {toolName} line width":"تغيير عرض خط {toolName}","change {toolName} line style":"تغيير نمط خط {toolName}","change {toolName} line color":"تغيير لون خط {toolName}","change {toolName} line extending left":"تغيير خط {toolName} الممتد إلى اليسار","change {toolName} line left end":"تغيير النهاية اليسرى لخط {toolName}","change {toolName} line extending right":"تغيير خط {toolName} الممتد إلى اليمين","change {toolName} line right end":"تغيير النهاية يمين خط {toolName}","Extend left line":"تمديد الخط الأيسر","Extend right line":"تمديد الخط الأيمن","change {toolName} text visibility":"تغيير وضوح النص {toolName}","change {toolName} text color":"تغيير لون النص {toolName}","change {toolName} text font size":"تغيير حجم خط نص {toolName}","change {toolName} text font bold":"تغيير خط النص الغامق {toolName}","change {toolName} text font italic":"تغيير خط النص {toolName} المائل","change {toolName} text":"تغيير نص {toolName}","change {toolName} labels alignment vertical":"تغيير المحاذاة الرأسية لملصقات {toolName}","change {toolName} labels alignment horizontal":"تغيير محاذاة الملصقات {toolName} أفقيًا","change {toolName} labels direction":"تغيير اِتِّجاه ملصقات {toolName}","change {toolName} text background visibility":"تغيير وضوح خلفية النص {toolName}","change {toolName} text background color":"تغيير لون خلفية النص {toolName}","change {toolName} text border visibility":"تغيير وضوح حدود النص {toolName}","change {toolName} text border width":"تغيير عرض حدود النص {toolName}","change {toolName} text border color":"تغيير لون حدود النص {toolName}","change {toolName} text wrap":"تغيير التفاف نص {toolName}","Text wrap":"التفاف النص","change arrow color":"تغيير لون السهم","change {title} color":"تغيير لون {title}","change {title} mode":"تغيير وضع {title}","change {title} mirrored":"تغيير {title} المعكوس","change {title} flipped":"تغيير {title} المقلوب",Mode:"الوضع",Mirrored:"معكوس",Flipped:"مقلوب","HL bars":"أعمدة الارتفاع والانخفاض","OC bars":"أعمدة OC","Line - close":"خط- إغلاق","Line - open":"خط - افتتاح","Line - high":"خط - ارتفاع","Line - low":"خط - انخفاض","Line - HL/2":"خط - ارتفاع / انخفاض / 2","change {title} background visibility":"تغيير وضوح خلفية {title}","change {title} background color":"تغيير اللون لخلفية {title}","change {title} degree":"تغيير درجة {title}",Wave:"الموجة",Degree:"درجة","change {title} level {index} line visibility":"تغيير وضوح مستوى خط {title} {index}","change {title} levels visibility":"تغيير وضوح المستويات {title}","change {title} level {index} line color":"تغيير لون خط مستوى {title} {index}","change {title} level {index} line width":"تغيير عرض خط مستوى {title} {index}","change {title} level {index} line coeff":"تغيير معامل خط مستوى {title} {index}","change {title} all lines color":"تغيير لون كل الخطوط {title}","change {title} background transparency":"تغيير وضوح الخلفية {title}","change {title} coeffs as percents visibility":"تغيير وضوح معامل {title} كنسبة رؤية","Trend line":"خط الاتجاه","Use one color":"استخدم لون واحد",Levels:"مستويات","Coeffs as percents":"مُعامِلات كنسب مئوية","change {title} reverse":"تغيير {title} المعكوس","change {title} prices visibility":"تغيير وضوح أسعار {title}","change {title} labels alignment":"تغيير محاذاة الملصقات {title}","change {title} labels font size":"تغيير حجم خط الملصقات {title}","change {title} style":"تغيير نمط {title}","change {title} fib levels based on log scale":"تغيير مستويات فيبوناتشي {title} على أساس المقياس اللوغاريتمي","Levels line":"خط المستويات","Extend right":"تمديد لليمين","Extend left":"تمديد لليسار","Extend lines right":"تمديد الخطوط يميناً","Extend lines left":"تمديد الخطوط لليسار","Fib levels based on log scale":"مستويات فيبوناتشي استنادا على المقياس اللوغاريتمي",Values:"القِيم",Percents:"نسب مئوية",Top:"الأعلى",Middle:"وسط",Bottom:"الأسفل","change {title} full circles visibility":"تغيير وضوح الدوائر الكاملة {title}","Full circles":"دوائر كاملة","change {title} left labels visibility":"تغيير وضوح الملصقات اليسرى {title}","change {title} right labels visibility":"تغيير وضوح الملصقات اليمنى {title}","change {title} top labels visibility":"تغيير وضوح الملصقات العليا {title}","change {title} bottom labels visibility":"تغيير وضوح الملصقات السفلى {title}","change {title} grid visibility":"تغيير وضوح شبكة {title}","change {title} grid line color":"تغيير وضوح الملصقات العليا {title}","change {title} grid line width":"تغيير لون شبكة الخطوط {title}","change {title} grid line style":"تغيير نمط خط الشبكة {title}","Price levels":"مستويات السعر","Time levels":"مستويات الوقت","Left labels":"العناوين اليسرى","Right labels":"ملصقات على اليمين","Top labels":"عناوين القمة","Bottom labels":"عناوين سفلية","change {title} line color":"تغيير لون الخط {title}","change {title} line width":"تغيير عرض الخط {title}","change {title} line style":"تغيير نمط الخط {title}","change {title} counterclockwise":"تغيير عكس عقارب الساعة {title}",Counterclockwise:"عكس عقارب الساعة","change {title} level {index} line style":"تغيير نمط خط مستوى {title} {index}","change {title} labels visibility":"تغيير وضوح الملصقات {title}","change flag color":"تغيير لون العلم","change {title} fan {index} line visibility":"تغيير وضوح خط المروحة {title} {index}","change {title} fan {index} line color":"تغيير لون خط مروحة {title} {index}","change {title} fan {index} line width":"تغيير عرض خط المروحة {title} {index}","change {title} arcs {index} line visibility":"تغيير وضوح أقواس {title} {index}","change {title} arcs {index} line color":"تغيير لون خط أقواس {title} {index}","change {title} arcs {index} line width":"تغيير عرض خط أقواس {title} {index}","Price/bar ratio":"نسبة السعر/العمود","Ranges and ratio":"نطاقات ونِسب",Fans:"مراوح",Arcs:"أقواس","change {title} fans visibility":"تغيير وضوح المراوح {title}","change {title} fans line color":"تغيير لون خط المراوح {title}",Angles:"زوايا","change {title} extend top":"تغيير التمديد لأعلى {title}","change {title} extend bottom":"تغيير التمديد لأسفل {title}","change {title} extend left":"تغيير التمديد لليسار {title}","Extend top":"تمديد لأعلى","Extend bottom":"تمديد لأسفل",Label:"عنوان","Label background":"خلفية العنوان","change {title} candle up color":"تغيير لون شموع {title} الصاعدة","change {title} candle down color":"تغيير لون شموع {title} الهابطة","change {title} candle border visibility":"تغيير وضوح حدود {title} الصاعدة","change {title} candle border up color":"تغيير لون حدود ‎{title}‎ الصاعدة","change {title} candle border down color":"تغيير لون حدود ‎{title}‎ الهابطة","change {title} candle wick visibility":"تغيير وضوح ظلال شموع {title}","change {title} candle wick color":"تغيير لون ظلال شموع {title}","change {title} transparency":"تغيير وضوح {title}","change {title} average HL value":"تغيير قيمة متوسط أعلى-أدنى {title}","change {title} variance value":"تغيير قيمة التباين {title}","Avg HL in minticks":"متوسط أعلى-أدنى لأقل تيك",Variance:"التباين","#1 (price)_linetool point":"#1 (سعر)","#{count} (price, bar)_linetool point":"#{count}' (سعر، عمود)","change {title} extending left":"تغيير التمديد لليسار {title}","change {title} extending right":"تغيير التمديد لليمين {title}",Channel:"قناة","change {title} extend lines":"تغيير تمديد الخط {title}",Median:"متوسط","Extend lines":"تمديد الخطوط",Original:"أصلي",Schiff:"سكيف","Modified Schiff":"شيف المعدل",Inside:"بالداخل","change {title} source text color":"تغيير لون نص المصدر {title}","change {title} source background color":"تغيير لون خلفية المصدر {title}","change {title} source border color":"تغيير لون حدود المصدر {title}","change {title} target text color":"تغيير لون نص الهدف {title}","change {title} target background color":"تغيير لون خلفية الهدف {title}","change {title} target border color":"تغيير لون إطارات الهدف {title}","change {title} success text color":"تغيير لون نص نجاح {title}","change {title} success background color":"تغيير لون خلفية نجاح {title}","change {title} failure text color":"تغيير لون نص عدم نجاح {title}","change {title} failure background color":"تغيير لون خلفية عدم نجاح {title}","Source text":"نص المصدر","Source background":"خلفية المصدر","Source border":"إطار المصدر","Target text":"نص الهدف","Target background":"خلفية الهدف","Target border":"إطار الهدف","Success text":"نص النجاح","Success background":"خلفية النجاح","Failure text":"نص الإخفاق","Failure background":"خلفية الإخفاق","Label text":"نص الملصق","Line color":"لون الخط","Label border":"حواف الملصق","change {title} background color 1":"تغيير اللون 1 لخلفية {title}","change {title} background color 2":"تغيير اللون 2 لخلفية {title}","change {title} stop color":"تغيير لون الإيقاف {title}","change {title} target color":"تغيير لون الهدف {title}","change {title} compact stats mode":"تغيير الوضع المدمج لإحصائيات {title}","change {title} account size":"تغيير حجم الحساب {title}","change {title} lot size":"تغيير حجم اللوت {title}","change {title} risk":"تغيير مخاطرة {title}","change {title} risk display mode":"تغيير وضع عرض الخاطرة {title}","change {title} entry price":"تغيير سعر الدخول {title}","change {title} profit level":"تغيير مستوى الربح {title}","change {title} profit price":"تغيير سعر ربح {title}","change {title} stop level":"تغيير مستوى الإيقاف {title}","change {title} stop price":"تغيير سعر الإيقاف {title}","Stop color":"لون وقف الخسارة","Target color":"لون الهدف:","Compact stats mode":"احصائيات الوضع المدمج","Entry price":"سعر صفقة التداول","Profit level":"مستوى جني الأرباح","Stop level":"مستوى وقف الخسارة","Account size":"حجم الحساب","Lot size":"‏ حجم العقد",Cash:"السيولة النقدية","change vertical position Y coordinate":"تغيير إحداثيات الوضع الرأسي Y","change {title} emoji visibility":"تغيير وضوح الرموز التعبيرية {title}","change {title} image background color":"تغيير لون خلفية الصورة {title}","change {title} emoji":"تغيير الرمز التعبيري {title}","#1 (vertical position %, bar)_linetool point":"# 1 (الوضع العمودي، عمود)","Emoji pin":"دبوس الرموز التعبيرية","#1 (price, bar)_linetool point":"#1 (سعر، عمود)","#1 (bar)_linetool point":"#1 (عمود)","change decimal places":"تغيير المنازل العشرية","change extended hours color":"تغيير لون الساعات الممددة","change pre market color":"تغيير لون ما قبل الجلسة","change post market color":"تغيير لون ما بعد الجلسة","change price line color":"تغيير لون خطوط السعر","change price line width":"تغيير عرض خط السعر","change previous close price line color":"تغيير لون خط سعر الإغلاق السابق","change previous close price line width":"تغيير عرض خط سعر الإغلاق السابق","change pre/post market price lines visibility":"تغيير وضوح خط أسعار ما قبل/بعد الجلسة","change pre market line color":"تغيير لون خط ما قبل الجلسة","change post market line color":"تغيير لون خط ما بعد الجلسة","change bid line color":"تغيير لون خط سعر البيع","change ask line color":"تغيير لون خط سعر الشراء","Pre/post market hours background":"خلفية ما قبل/بعد الجلسة","Last price line":"خط أخر سعر",Precision:"الدقة","(H + L)/2":"(أعلى سعر + أدنى سعر)/2","(H + L + C)/3":"(أعلى سعر+ أدنى سعر + سعر الإغلاق)/3","(O + H + L + C)/4":"(سعر الفتح + أعلى سعر+ أدنى سعر + سعر الإغلاق)/4",Simple:"بسيط","With markers":"ذو علامات",Step:"خطوة",Default:"افتراضي","change {title} base line visibility":"تغيير وضوح خط القاعدة {title}","change {title} base line color":"تغيير لون خط القاعدة {title}","change {title} base line width":"تغيير عرض خط القاعدة {title}","change {title} base line style":"تغيير نمط خط القاعدة {title}","change {title} up line visibility":"تغيير وضوح الخط العلوي {title}","change {title} up line color":"تغيير لون الخط العلوي {title}","change {title} up line width":"تغيير عرض الخط العلوي {title}","change {title} up line style":"تغيير نمط الخط العلوي {title}","change {title} down line visibility":"تغيير وضوح الخط الأدنى {title}","change {title} down line color":"تغيير لون الخط الأدنى {title}","change {title} down line width":"تغيير عرض الخط الأدنى {title}","change {title} down line style":"تغيير نمط الخط الأدنى {title}","change {title} show pearson's r":"تغيير عرض {title} pearson's r",Base:"نقطة الأساس",Up:"أعلى",Down:"للأسفل","Pearson's R":"معامل بيرسون","#{count} (bar)_linetool point":"#‎{count}‎ (عمود)","change study overlay style":"تغيير نمط تراكب الدراسة","change study overlay min tick":"تغيير تراكب أدنى تيك في الدراسة","Override min tick":"تجاوز الحد الأدنى للتيك",Horizontal:"أفقي",Vertical:"عمودي","Text alignment":"محاذاة النص","Text orientation":"اتجاه النص","change {propertyName} property":"تغيير خاصية {propertyName}",Offset:"اعتماد مقاصة","Main chart symbol_input":"رمز الرسم البياني الرئيسي","Another symbol_input":"رمز آخر",open:"الأفتتاح",high:"أعلى سعر",low:"أقل سعر",close:"سعر الإغلاق",hl2:"أعلى سعر+أقل سعر /2",hlc3:"أعلى سعر+أقل سعر+الإغلاق /3",ohlc4:"أعلى سعر+أقل سعر+الأفتتاح+الإغلاق/4",Outputs:"المخرجات","change thickness":"تغيير السماكة","change color":"تغيير اللون","change opacity":"تغيير درجة الشفافية","change font size":"تغيير حجم الخط","change line style":"تغير نمط الخط","change min tick":"تغيير أدنى تيك","change precision":"تغيير الدقة","Above bar":"أعلى العمود","Below bar":"تحت مستوى العمود","change value":"تغيير القيمة","change char":"تغيير الشار","change location":"تغيير الموقع","change percent width":"تغيير نسبة العرض","change placement":"تغيير الوضع","change values visibility":"تغيير وضوح القيم","Width (% of the box)":"عرض (% من المربع)",Placement:"وضع","Trades on chart":"صفقات على الرسم البياني","Signal labels":"ملصقات الإشارات",Quantity:"الكمية","change plot type":"تغيير نمط الرسم","Labels font":"خط العناوين","change shape":"تغيير الشكل","Volume profile":"بروفايل أحجام التداول","Developing VA":"تطوير منطقة القيمة","Values in status line":"القيم في سطر الحالة","Labels on price scale":"الملصقات على مقياس السعر","Search Country":"بحث الدول",Forecast:"توقعات","Script name":"اسم النص البرمجي","Save New Chart Layout":"حفظ التنسيق الجديد للرسم البياني","Enter a new chart layout name":"ادخل اسم تصميم الرسم البياني الجديد","Copy Chart Layout":"نسخ تصميم الرسم البياني","{title} copy_ex: AAPL chart copy":"نسخة ‎{title}‎","Data error":"مشكلة في البيانات","Study Error":"خطأ في الدراسة","Data is delayed":"البيانات متأخرة","End of day data":"بيانات نهاية اليوم","One update per second":"تحديث واحد لكل ثانية","{symbolName} data is delayed by {time} minutes.":"‎بيانات {symbolName}‎ متأخرة بـ ‎{time}‎ دقيقة","{listedExchange} real-time data is available for free to registered users.":"بيانات ‎{listedExchange}‎ اللحظية متاحة مجانًا للمستخدمين المسجلين.","To get real-time data for {description}, please buy the real-time data package.":"للحصول على البيانات اللحظية لـ ‎{description}‎، يرجى شراء حزمة البيانات اللحظية.","Real-time data for {description} is not supported right now. We may support it in the future.":"البيانات اللحظية لـ ‎{description}‎ غير مدعومة في الوقت الحالي، قد تكون متاحة مستقبلاً.","Data is updated once a day.":"يتم تحديث البيانات مرة واحدة في اليوم.","Data on our Basic plan is updated once per second, even if there are more updates on the market.":"البيانات المقدمة على العضويات المجانية لا يتم تحديثها أكثر من مرة واحدة كل ثانية، حتى لو كانت هناك عدة تحديثات في السوق.","Data is updated once per second, even if there are more updates on the market.":"لا يتم تحديث البيانات أكثر من مرة واحدة في الثانية، حتى لو كانت هناك عدة تحديثات في السوق.","Paid plans feature faster data updates.":"تتمتع العضويات المدفوعة بتحديثات أسرع للبيانات.","This data is real-time, but it’s slightly different to its official counterpart coming from primary exchanges.":"هذه البيانات هي بيانات لحظية، ولكنها تختلف قليلاً عن نظيرتها الرسمية من السوق الرئيسي.","If you'd like {listedExchange} real-time data you'll need to complete an Exchange Agreement. Don't worry, it only takes a few clicks":"إذا كنت ترغب في الحصول على بيانات ‎{listedExchange}‎ اللحظية، فستحتاج إلى ملء اتفاقية البورصة. لا تقلق، لا يتطلب الأمر سوى بضع نقرات.","Create a free account":"أنشئ حساباً مجاناً","Fill out Exchange Agreements":"ملء اتفاقية البورصة","This symbol doesn't exist, please pick another one.":"لا يوجد هذا الرمز. يرجى اختيار رمز آخر.","All's well — Market is open.":"كل شيء على ما يرام - السوق مفتوح.","Morning. Market is open for pre-market trading.":"السوق مفتوح حاليًا للتداول ما قبل الجلسة.","Evening. Market is open for post-market trading.":"السوق مفتوح حاليًا للتداول ما بعد الجلسة.","Time for a walk — this market is closed.":"حان وقت المغادرة - هذا السوق مغلق.","Market is currently on holiday. Lucky them.":"السوق في عطلة حالياً. من حسن حظهم!","less than 1 minute":"أقل من دقيقة واحدة","{days} and {hours}":"{days} و{hours}","{hours} and {minutes}":"{hours} و{minutes}","Market opens in {remainingTime}.":"يفتح السوق في {remainingTime}.","Market closes in {remainingTime}.":"يغلق السوق في {remainingTime}.","It'll go to post-market trading in {remainingTime}.":"ستنتقل إلى التداول فيما بعد الجلسة في {remainingTime}.","It'll open for pre-market trading in {remainingTime}.":"سيتم فتحه للتداول ما قبل الافتتاح في {remainingTime}.","Replay mode":"وضع إعادة التشغيل","You're in Replay mode. You're in Replay mode. You're in Replay mode.":"أنت في وضع إعادة التشغيل. أنت في وضع إعادة التشغيل. أنت في وضع إعادة التشغيل.","Do you really want to delete Study Template '{name}' ?":"هل تريد فعلًا مسح النموذج الدراسي '{name}'؟","Modify Order":"تعديل الأمر","Cancel Order":"إلغاء أمر",Confirmation:"تأكيد","Don't show again":"لا تظهر هذه الرسالة مرة آخرى","send {title} backward":"أرسل {title} للخلف","bring {title} forward":"حرّك {title} للأمام","insert {title} after {target}":"أدخل {title} بعد {target}","insert {title} before {target}":"أدخل {title} قبل {target}","remove drawings group":"تغيير المنازل العشرية","move scale":"حرك المقياس","stop syncing line tool(s)":"وقف أداة (أدوات) مزامنة الخط","zoom out":"تصغير","zoom in":"تكبير","move drawing(s)":"نقل الرسم (الرسومات)","load default drawing template":"تحميل قالب الرسم الافتراضي","clone line tools":"أدوات نسخ الخط","merge to pane":"دمج في جزء","unmerge to new bottom pane":"إلغاء الاندماج في الجزء السفلي الجديد","move {title} to new right scale":"انقل ‎{title}‎ إلى مقياس جديد على اليسار","move {title} to new left scale":"انقل ‎{title}‎ إلى مقياس يسار جديد","make {title} no scale (Full screen)":"اجعل ‎{title}‎ بدون مقياس محدد (ملء الشاشة)","reset time scale":"إعادة تعيين مقياس الزمن","change {pointIndex} point":"تغيير نقطة {pointIndex}","remove all studies":"احذف جميع الدراسات","remove drawings":"حذف الرسومات","remove all studies and drawing tools":"احذف جميع الدراسات وأدوات الرسم","turn line tools sharing off":"وقف تشغيل مشاركة أدوات الخط","share line tools in layout":"مشاركة أدوات الخط في التنسيق","share line tools globally":"مشاركة أدوات الخط بشكل شامل","apply all chart properties":"تطبيق كافة خصائص الرسم البياني","{count} bars":"{count} أعمدة",Jan:"يناير",Feb:"فبراير",Mar:"مارس",Apr:"أبريل",May_short:"مايو",Jun:"يونيو",Jul:"يوليو",Aug:"أغسطس",Sep:"سبتمبر",Oct:"أكتوبر",Nov:"نوفمبر",Dec:"ديسمبر","Fraction part is invalid.":"جزء الكسر غير صحيح","Second fraction part is invalid.":"الجزء الثاني غير صحيح.","create line tools group from selection":"إنشاء مجموعة أدوات الخطوط من الخيارات المتاحة","removing line tools group {name}":"حذف مجموعة أدوات الخطوط ‎{name}‎","add line tool {lineTool} to group {name}":"إضافة أداة الخطوط {lineTool} لمجموعة {name}","make group {group} visible":"اجعل المجموعة ‎{group}‎ مرئية","make group {group} invisible":"اجعل المجموعة ‎{group}‎ غير مرئية","lock group {group}":"غلق المجموعة ‎{group}‎","unlock group {group}":"فتح المجموعة ‎{group}‎","rename group {group} to {newName}":"تغيير اسم المجموعة ‎{group}‎ إلى ‎{newName}‎","change {sourceTitle} title to {newSourceTitle}":"غيّر عنوان {sourceTitle} إلى {newSourceTitle}","insert source(s) after":"أدخل المصدر (المصادر) بعد ذلك","mirror bars pattern":"نسخ أنماط الأعمدة","flip bars pattern":"قلب أنماط الأعمدة","change Elliott degree":"تغيير درجة إليوت",Supermillennium:"موجة الألفية العظمى",Millennium:"ألفية",Submillennium:"موجة الألفية الثانوية","Grand supercycle":"الموجة الدورية العظمى",Supercycle:"الموجة الدورية العليا",Cycle:"دورة",Primary:"أوًلي",Intermediate:"متوسط",Minor_wave:"أصغر",Minute_wave:"دقيقة",Minuette:"موجة إليوت الذرية",Subminuette:"فاصل الدقيقة في موجات اليوت",Micro:"صغيرة",Submicro:"موجة مجهرية فرعية",Minuscule:"حرف صغير","erase level line":"محو خط المستوى","Left Shoulder":"الكتف الأيسر","Right Shoulder":"الكتف الأيمن",Head:"رأس","XABCD Pattern":"XABCD نموذج","ABCD Pattern":"نموذج ABCD",Arc:"قوس","Arrow Mark Down":"علامة السهم تُشير للأسفل","Arrow Mark Left":"علامة السهم تُشير لليسار","Arrow Mark Right":"علامة السهم تُشير لليمين","Arrow Mark Up":"علامة السهم تُشير للأعلى",Balloon:"بالون","Bars Pattern":"نمط الأعمدة","Double Curve":"منحنى مزدوج",Curve:"منحنى",Brush:"فرشاة",Callout:"نص تفسيري","Cyclic Lines":"خطوط دورية","Cypher Pattern":"نمط سيفر","Date and Price Range":"نطاق التاريخ والسعر","Disjoint Channel":"قناة منفصلة","Elliott Correction Wave (ABC)":"موجة إليوت التصحيحية (ABC)","Elliott Double Combo Wave (WXY)":"موجة إليوت الثنائية المركبة (WXY)","Elliott Impulse Wave (12345)":"موجة إليوت الدافعة (12345)","Elliott Triangle Wave (ABCDE)":"موجة إليوت المثلثة (ABCDE)","Elliott Triple Combo Wave (WXYXZ)":"موجة إليوت الثلاثية المركبة (WXYXZ)",Ellipse:"بيضاوي","Extended Line":"خط ممتد","Fib Channel":"قناة فيبوناتشي","Fib Circles":"دوائر فيبوناتشي","Fib Retracement":"تصحيح فيبوناتشي","Fib Speed Resistance Arcs":"أقواس فيبوناتشي المقاومة للسرعة","Fib Speed Resistance Fan":"مروحة فيبوناتشي المقاومة للسرعة","Fib Spiral":"حلزون فيبوناتشي","Fib Time Zone":"منطقة فيبوناتشي الزمنية","Fib Wedge":"وتد فيبوناتشي","Flag Mark":"علامة تمييز","Flat Top/Bottom":"قمة / قاع مسطح","Anchored VWAP":"VWAP مُثبّت","Gann Square Fixed":"مربع جان ثابت","Horizontal Line":"خط أفقي","Horizontal Ray":"شعاع أفقي","Inside Pitchfork":"داخل الرسم البياني بيتش فورك",Note:"ملاحظة","Anchored Note":"ملحوظة مُثبّتة",Signpost:"لافتة",Pitchfan:"بتشفان",Pitchfork:"بيتش فورك",Polyline:"متعدد الخطوط",Path:"مسار","Price Label":"ملصق السعر","Arrow Marker":"علامة السهم","Price Range":"المدى السعري",Projection:"مسقط",Ray:"شعاع",Circle:"دائرة","Regression Trend":"إتجاه الإنحدار","Long Position":"صفقة شراء","Short Position":"صفقة بيع على المكشوف","Fixed Range Volume Profile":"بروفايل حجم التداول بنطاق ثابت","Rotated Rectangle":"مستطيل مائل","Modified Schiff Pitchfork":"شيف بيتش فورك المعدل","Schiff Pitchfork":"سكيف بيتش فورك","Sine Line":"منحنى الجيب",Text_tool:"نص","Anchored Text":"نص مُثبّت","Three Drives Pattern":"نموذج الثلاث موجات","Time Cycles":"الدورات الزمنية","Trend Angle":"زاوية الإتجاه","Trend-Based Fib Extension":"امتداد فيبوناتشي الاتجاهي","Trend-Based Fib Time":"فيبوناتشي الزمني الاتجاهي","Trend Line":"خط الاتجاه","Info Line":"خط المعلومات","Triangle Pattern":"نموذج المثلث","Vertical Line":"خط رأسي","Cross Line":"الخط المتقاطع",Highlighter:"لون مُميِز","Price Note":"بطاقة السعر","Volume Profile Fixed Range":"بروفايل حجم التداول بنطاق ثابت","Ghost Feed":"مسار تخيّلي","{status} P&L: {pnl}":"‎{status}‎ الهدف والخسارة:‎{pnl}‎",Open_line_tool_position:"مفتوح",Closed_line_tool_position:"أغلقت","Risk/Reward Ratio: {ratio}":"نسبة المخاطرة/العائد: {ratio}","Stop: {stopChange} ({stopChangePercent}) {stopChangePip}, Amount: {amount}":"وقف:{stopChange} ({stopChangePercent}) {stopChangePip}، الكمية:‎{amount}‎","Target: {profitChange} ({profitChangePercent}) {profitChangePip}, Amount: {amount}":"هدف:{profitChange} ({profitChangePercent}) {profitChangePip}، الكمية:‎{amount}‎","Qty: {qty}":"كمية:‎{qty}‎",T_interval_short:"T",s_interval_short:"s",R_interval_short:"نطاق",tick_0:"تيك",tick_1:"تيك",tick_2:"تيك",tick_3:"تيك",tick_4:"تيك",tick_5:"تيك",day_0:"يوم",day_1:"يوم",day_2:"يومين",day_3:"أيام",day_4:"يوم",day_5:"يوم",week_0:"أسبوع",week_1:"أسبوع",week_2:"أسبوعين",week_3:"أسابيع",week_4:"أسبوع",week_5:"أسبوع",second_0:"ثانية",second_1:"ثانية",second_2:"ثانيتان",second_3:"ثوان",second_4:"ثانية",second_5:"ثانية",minute_0:"دقيقة",minute_1:"دقيقة",minute_2:"دقيقتين",minute_3:"دقائق",minute_4:"دقيقة",minute_5:"دقيقة",hour_0:"ساعة",hour_1:"ساعة",hour_2:"ساعة",hour_3:"ساعات",hour_4:"ساعة",hour_5:"ساعة","Stack on the left":"انحياز لليسار","Stack on the right":"انحياز لليمين",Auto:"تلقائي",Avg:"متوسط",HL2_in_legend:"HL2",HLC3_in_legend:"HLC3",OHLC4_in_legend:"OHLC4","Symbol Error":"خطأ في الرمز","No volume data":"بيانات الحجم غير موجودة","Fundamental studies are no longer available on charts":"لم تعد الدراسات الأساسية متوفرة على الرسوم البيانية","loading...":"تحميل...","Arrow Down":"سهم لأسفل","Arrow Up":"سهم لأعلى",Diamond:"شكل الماسة (المعين)","Label Down":"إشارة لأسفل","Label Up":"إشارة لأعلى",Square:"مربع","Triangle Down":"مثلث هابط","Triangle Up":"مثلث صاعد","X Cross":"تقاطع",Premarket_sessions:"ما قبل الافتتاح",Postmarket_sessions:"ما بعد الإغلاق","Regular trading hours_sessions":"ساعات التداول العادية","Extended trading hours_sessions":"ساعات التداول المُمددة","Electronic trading hours_sessions":"ساعات التداول الإلكتروني",PRE_sessions:"قبل",POST_sessions:"بعد",RTH_sessions:"RTH",ETH_sessions:"ETH","add line tool(s) to group {group}":"إضافة أداة (أدوات) الخط إلى المجموعة {group}","apply study template {template}":"تطبيق قالب الدراسة {template}","change pane height":"تغيير ارتفاع الجزء","change date range":"تغيير نطاق التاريخ","apply toolbars theme":"تطبيق مظهر أشرطة الأدوات","create line tools group":"أنشئ مجموعة أدوات الخطوط","exclude line tools from group {group}":"استثناء أدوات الخطوط من المجموعة {group}","move all scales to left":"حرك كل المقاييس إلى اليسار","move all scales to right":"حرك كل المقاييس إلى اليمين","remove line data sources":"إزالة مصادر خط البيانات","change chart layout to {title}":"تغيير تنسيق الرسم البياني إلى {title}","stop syncing drawing":"إيقاف مزامنة الرسم","bring {title} to front":"جلب {title} إلى المقدمة","send {title} to back":"أرسل {title} إلى الخلف","insert {title} after {targetTitle}":"أدخل {title} بعد {targetTitle}","insert {title} before {targetTitle}":"أدخل {title} قبل {targetTitle}","send group {title} backward":"أرسل المجموعة {title} إلى الخلف","bring group {title} forward":"جلب المجموعة {title} إلى الأمام","Visible on mouse over":"مرئية عند تمرير الفأرة","Always visible":"ظاهر وموجود دائمًا","Always invisible":"مختفي دائمًا",Notification:"تنبيه","Manage your privacy preferences":"إدارة تفضيلات الخصوصية الخاصة بك","I have read and agreed with the {policiesLinkTag}Terms of Use{linkCloseTag} and {pivacyPolicyLinkTag}Privacy Policy{linkCloseTag}":"قرأت وأوافق على ‎{policiesLinkTag}‎ بدون الاستخدام ‎{linkCloseTag}‎ و ‎{pivacyPolicyLinkTag}‎ سياسة الخصوصية ‎{linkCloseTag}‎","If the auto renewal fails for an annual plan I will automatically be switched to a monthly plan for {cost} per month.":"في حالة فشل التجديد التلقائي لاشتراك عضوية سنوية، سيتم تحويلك تلقائيًا إلى عضوية شهرية مع دفع {cost} شهرياً.","Upper Bound: {alertChannelUpperBoundaryTitle}, Lower Bound: {alertChannelLowerBoundaryTitle}":"الحد العلوي: ‎{alertChannelUpperBoundaryTitle}‎، الحد السفلي‎{alertChannelLowerBoundaryTitle}‎","in {count} bar_0":"في ‎{count}‎ عمود","in {count} bar_1":"في ‎{count}‎ عمود","in {count} bar_2":"في ‎{count}‎ عمود","in {count} bar_3":"في ‎{count}‎ أعمدة","in {count} bar_4":"في ‎{count}‎ عموداً","in {count} bar_5":"في ‎{count}‎ عمود","Do you really want to delete your alert '{alert}'?":'هل تريد حقًا حذف التنبيه "{alert}"؟',"Delete alert":"حذف التنبيه","Alert does not exist.":"التنبيه غير موجود.","Remove all inactive":"حذف كافة التنبيهات غير النشطة","Stop filtered alerts":"وقف التنبيهات المفلترة","Need a quick break from filtered alerts?":"هل تحتاج إلى استراحة سريعة من التنبيهات المفلترة؟","Stop all alerts":"إيقاف كل التنبيهات","Need a quick break from your alerts?":"هل تحتاج إلى استراحة سريعة من تنبيهاتك؟","Restart filtered alerts":"أعد تشغيل التنبيهات المفلترة","Ready to bring filtered alerts back to life?":"هل أنت جاهز لإعادة تفعيل التنبيهات التي تمت فلترتها؟","Restart all inactive alerts":"إعادة تشغيل كل التنبيهات غير النشطة","Ready to bring your alerts back to life?":"هل أنت جاهز لإعادة تنشيط تنبيهاتك؟","Delete filtered alerts":"حذف التنبيهات المفلترة","Do you really want to delete filtered alerts?":"هل ترغب حقًا في حذف التنبيهات المُفلترة؟","Delete all alerts":"احذف جميع التنبيهات","Ready to delete your alerts and start over?":"هل أنت جاهز لحذف تنبيهاتك والبدء من جديد؟","Delete inactive alerts":"حذف التنبيهات غير النشطة","Let’s delete your inactive alerts and make new ones?":"دعنا نحذف تنبيهاتك غير النشطة وننشئ تنبيهات جديدة؟","{alertSeries} {alertCondition} {alertConditionOptions} on {chartSeries}":"‎{alertSeries}‎‎{alertCondition}‎‎{alertConditionOptions}‎ على‎{chartSeries} ‎","{strategyName}: order {{strategy.order.action}} @ {{strategy.order.contracts}} filled on {{ticker}}. New strategy position is {{strategy.position_size}}":"{strategyName}: تم تنفيذ الأمر {{strategy.order.action}} @ {{strategy.order.contracts}} على {{ticker}}. المركز الجديدة للإستراتيجية هو {{strategy.position_size}}","{title}: Any alert() function call":"{title}: أي استدعاء للدالة alert()","{title}: alert() function calls only":"{title}: استدعاءات دالة alert() فقط","Nothing selected_combobox_input":"لم يتم إخيار شيء","All items_combobox_input":"جميع المواد","Specified date is not within the allowed range":"التاريخ المحدد ليس ضمن النطاق المسموح به","Please enter a valid number":"الرجاء إدخال الرقم الصحيح","Please enter only digits":"الرجاء إدخال أرقام فقط","Please enter a valid email address":"الرجاء إدخال بريد إلكتروني صحيح","Please match the requested format":"يرجى تطابق الشكل المطلوب","Please enter at least {number} characters":"الرجاء إدخال ‎{number}‎ حرف على الأقل","Please enter no more than {number} characters":"الرجاء عدم أدخال أكثر من ‎{number}‎ حرف","Please enter a value greater than or equal to {number}":"الرجاء إدخال قيمة أكبر من أو تساوي ‎{number}‎","Please enter a value less than or equal to {number}":"الرجاء إدخال قيمة أقل من أو تساوي‎ {number} ‎","Max file size is {size}":"اقصى حجم للملف هو {size}","Allowed extension is {extensions}":"التمديد المسموح به هو ‎{extensions}‎",Bytes:"بايت",KB:"كيلوبايت",MB:"ميجابايت",GB:"بريطانيا العظمى",TB:"تيرابايت","0 Byte":"0 بايت","Pay with":"ادفع بواسطة","One Click":"ضغطة واحدة","New Card":"بطاقة ائتمان جديدة",Card:"بطاقة ائتمان","Crypto by Coinbase":"العملات الرقمية بواسطة Coinbase","You will be automatically redirected to PayPal in order to finish your purchase.":"سيتم تحويلك تلقائيات إلى باي بال لأنهاء إجراءات الشراء والدفع","After the payment is sent, you will be automatically redirected back to TradingView.":"بعد إرسال المبلغ المدفوع، سيتم توجيهك تلقائيا إلى موقع TradingView","It is an important step, please don't interrupt it.":"إنها خطوة مهمة، يرجى عدم إيقافها.","Coinbase payment method is not available for special offers. If you want to continue {linkStart}click here{linkEnd}":"طريقة الدفع Coinbase غير متاجة للعروض الخاصة، إذا اردت الاستمرار ‎{linkStart}‎اضغط هنا‎{linkEnd}‎","You will be automatically redirected to Coinbase in order to finish your purchase.":"سيتم إعادة توجيهك تلقائيًا إلى Coinbase من أجل إنهاء عملية الشراء الخاصة بك.","I have read and agreed with the {link_start}ICE Subscriber Agreement{link_end}":"لقد قرأت ووافقت على {link_start}اتفاقية اشتراك ICE {link_end}","I'm a non-professional trader":"أنا لست متاجر/محلل مهني","Non-professional trader means any natural person who receives market data solely for his/her personal, non-business use and cannot be a corporation, trust, organization, institution or partnership account.":"المتاجر/المحلل غير المهني يعني أن تكون شخص عادي يتلقى بيانات السوق فقط لاستخدامه الشخصي وغير التجاري ولا يمكن أن يمثل شركة أو مؤسسة أو منظمة أو حساب شراكة.","I have read and agreed to the {linkTermsStart}Terms of Use{linkEnd} and {linkPolicyStart}Privacy Policy{linkEnd}":"قرأت وأوافق على ‎{linkTermsStart}‎بنود الإستخدام‎{linkEnd}‎ و ‎{linkPolicyStart}‎سياسة الخصوصية‎{linkEnd}‎","Billing address":"عنوان الفواتير","JCB must have 3 symbols in CVV/CSC code":"يجب أن يحتوي JCB على 3 رموز في كود CVV/CSC","AMEX must have 4 symbols in CVV/CSC code":"يجب أن يكون هناك 4 رموز في كود قيمة التحقق من البطاقة CVV/CSC","VISA and Mastercard must have 3 symbols in CVV/CSC code":"بطاقات فيزا وماستركارد لابد أن تحتوي على 3 رموز في كود CVV/CSC","You need to accept our Terms of Use and Privacy Policy to continue":"يجب عليك قبول شروط الاستخدام وسياسة الخصوصية للاستمرار","Buy an annual plan before your trial expires and get up to {discount}% off":"قم بشراء عضوية سنوية قبل انتهاء فترتك التجريبية، واحصل على خصم ‎{discount}‎%","FULL NAME is incomplete":"الاسم الكامل غير مكتمل","Must contain only ASCII characters":"يجب أن يحتوي على حروف أسكي ASCII فقط","First name must be no longer than 30 characters.":"يجب ألا يزيد الاسم الأول عن 30 حرفًا مع المسافات.","Last name must be no longer than 30 characters.":"يجب ألا يزيد الاسم العائلي عن 30 حرفًا مع المسافات.","Upgrade for $1":"ترقية الاشتراك مقابل 1 دولار","Now you have even more tools and features to make your trading successful.":"لديك الآن المزيد من الأدوات والميزات لإنجاح تداولك.","Your trial was successfully downgraded. You can always upgrade again to a more powerful plan before it runs out.":"تم تخفيض الفترة التجريبية إلى مستوى أقل بنجاح. يمكنك دائمًا الترقية إلى عضوية أعلى قبل نهايتها.","The amount charged at the end of the trial (if you don’t cancel) also reflects the new plan.":"المبلغ الذي يتم تحصيله في نهاية الفترة التجريبية (إذا لم تقم بالإلغاء) يكون بناءً على العضوية المختارة للاشتراك.","Congrats! Your new trial is setup":"تهانينا! تم إعداد فترتك التجريبية الجديدة","{proPlanName} Trial":"تجربة {proPlanName}","Decline offer":"رفض العرض","Explore special offers":"اكتشف العروض الخاصة","Get up to {discount}% off a new plan if you decide to renew with us before your current one ends.":"احصل على خصم يصل إلى ‎{discount}‎٪ على عضوية جديدة إذا قررت التجديد معنا قبل انتهاء عضويتك الحالية.","Time's running out!":"الوقت ينفذ!","Your subscription expires soon – claim your special offer and save up to {discount}% before it's too late.":"سينتهي اشتراكك قريبًا - طالب بعرضك الخاص ووفر ما يصل إلى {discount}٪ قبل فوات الأوان.","The countdown has started.":"بدأ العد التنازلي.","Your subscription isn't set to auto-renew, so you'll lose your benefits very soon... This is your last chance to claim up to {discount}% discount.":"لم يتم تعيين اشتراكك على التجديد التلقائي، لذلك ستفقد العديد من المزايا قريبًا جدًا ... هذه هي فرصتك الأخيرة للمطالبة بخصم يصل إلى {discount}٪.","One month of upgraded features for one dollar.":"شهر واحد من الميزات المتقدمة مقابل 1 دولار","Company (optional)":"الشركة (اختياري)","This field only supports letters":"هذا الحقل يدعم الحروف فقط","This field only supports English characters":"هذا الحقل يدعم اللغة الإنجليزية فقط","First name mustn't be longer than 30 characters":"يجب ألا يزيد اسمك الشخصي عن 30 حرفًا","Last name mustn't be longer than 30 characters":"يجب ألا يزيد اسمك العائلي عن 30 حرفًا","Your cardholder name seems incomplete":"يبدو أن اسم صاحب بطاقتك غير مكتمل","Your name seems incomplete":"يبدو أن اسمك غير مكتمل","Postal codes must start with a letter or a number, and can only contain letters, numbers, spaces, and hyphens.":"يجب أن تبدأ الرموز البريدية بحرف أو رقم، ويمكن أن تحتوي فقط على أحرف وأرقام ومسافات وواصلات.","Postal codes must contain no more than nine letters or numbers":"يجب ألا تحتوي الرموز البريدية على أكثر من تسعة أحرف أو أرقام","Real-time markets":"بيانات السوق اللحظية","Next payment on {next_payment_date}":"الدفعة التالية في {next_payment_date}","{plan_name} plan at regular price":"عضوية {plan_name} بالسعر العادي","Want six months free?":"هل تريد الحصول على 6 أشهر مجانًا؟","Simple: pay for half a year, get the other half at no cost.":"الأمر بسيط: ادفع لمدة نصف عام، واحصل على النصف الآخر مجانًا.","You've upgraded your subscription. Please reload the chart to fire up the new changes.":"لقد قمت بترقية اشتراكك. يرجى إعادة تحميل الرسم البياني لتفعيل التغييرات الجديدة.","Subscription details are no longer valid":"تفاصيل الاشتراك لم تعد صالحة","You were inactive for a long period of time. Please refresh the page to see your subscription status.":"كنت غير نشط لفترة طويلة منذ الزمن. يرجى تحديث الصفحة للاطلاع على حالة اشتراكك.","You have {boldHighlightStart} {daysLeft} days left {boldHighlightEnd} in your free trial. These days will be added to your new subscription. Your {proPlan} plan will have {boldHighlightStart} {amountOfDaysForBillingCycle} days {boldHighlightEnd} after the purchase.":"لديك ‎{boldHighlightStart}‎ ‎{daysLeft}‎ يوم متبقى ‎{boldHighlightEnd}‎ في فترتك التجريبية. وهذه الأيام سيتم إضافتها إلى أشتراكك. عضويك ‎{proPlan}‎ سيكون بها ‎{boldHighlightStart}‎ ‎{amountOfDaysForBillingCycle}‎ يوم ‎{boldHighlightEnd}‎ بعد شراء العضوية","Your account has {boldHighlightStart} {daysLeft} days left {boldHighlightEnd} in the current {currentProPlan} plan. We'll convert this remaining time into an equivalent value of days on your new plan. Your {proPlan} plan will have {boldHighlightStart} {amountOfDaysForBillingCycle} days {boldHighlightEnd} after the purchase.":"لم يتبقى في اشتراكك في العضوية الحالية ‎{currentProPlan}‎ سوى ‎{boldHighlightStart} ‎{daysLeft}‎يوم فقط‎{boldHighlightEnd}‎. سيتم تحويل هذه الأيام إلى قيمة مساوية للأيام على العضوية الجديدة، عضوية ‎{proPlan}‎ ستحصل فيها على ‎{boldHighlightStart}‎ ‎{amountOfDaysForBillingCycle}‎يوماً‎{boldHighlightEnd}‎ بعد شراء العضوية.",Once:"مرة واحدة","5 seconds":"5 ثوان","10 seconds":"10 ثواني","30 seconds":"30 ثانية",Minute:"دقيقة","Click here to learn more about webhooks":"انقر هنا لمعرفة المزيد عن خدمة webhooks","Click here to learn more about placeholders":"انقر هنا لمعرفة المزيد عن العناصر النائبة","Click here to learn more about alerts on strategy":"انقر هنا لمعرفة المزيد عن التنبيهات على الاستراتيجيات","Click here to learn more about alert function usage":"انقر هنا لمعرفة المزيد عن استعمالات دالة التنبيهات.","Push notifications":"إخطارات Push","Notify on app":"تنبيه على التطبيق","More actions":"المزيد من الإجراءات","Fewer actions":"إجراءات أقل","Show desktop pop-up":"إظهار نافذة منبثقة على الحاسوب","Show pop-up":"إظهار نافذة منبثقة","Send email":"إرسال بريد الكتروني","Webhook URL":"رابط Webhook","Play sound on desktop":"تشغيل الصوت على الحاسوب","Play sound":"تشغيل الصوت","Send email-to-SMS":"إرسال بريد الكتروني - رسائل قصيرة","Expiration time":"تاريخ انتهاء الصلاحية","Open-ended_alert_expiration":"مفتوحة","Alert actions":"إجراءات التنبيه","Alert name":"اسم التنبيه","You can use special placeholders such as {listOfPlaceholders}, etc.":"يمكنك استخدام العناصر النائبة الخاصة مثل ‎{listOfPlaceholders}‎، إلخ.","Set email":"تعيين البريد الإلكتروني","Please, enter your email":"يرجى إدخال البريد الإلكتروني الخاص بك","Enter a valid email address":"ادخل بريد إلكتروني سليم",Condition:"الحالة",in:"في",bars:"أعمدة","Unable to create dialog. Please contact support":"تعذر إنشاء مربع حوار. يرجى الاتصال بالدعم","Install TradingView Mobile App":"حمل تطبيق TradingView للجوال","To get notified about an alert on your phone you need to do the following:":"لتتمكن من استقبال اشعارات التنبيهات على هاتفك، يتعين عليك إجراء ما يلي:","Download the latest TradingView app from {app_store_link}AppStore{link_end} or {google_play_link}Google Play{link_end}":"حمل الإصدار الأخير من تطبيق TradingView من خلال ‎{app_store_link}‎ متجر التطبيقات ‎{link_end}‎ أو ‎{google_play_link}‎ Google Play ‎{link_end}‎","Login into your TradingView account on the app":"تسجيل الدخول إلى حساب TradingView الخاص بك على التطبيق","Allow the TradingView app to send push notifications. For iOS devices: go to Settings -> Notifications -> Select TradingView app -> Turn on Allow Notifications. For Android devices: open TradingView app settings and enable push notifications":"اسمح لتطبيق TradingView بإرسال التنبيهات. لاجهزة iOS: اذهب إلى الإعدادات -> تبيهات -> اختار تطبيق TradingView ، ثم قم بتشغيل التنبيهات. للأندرويد : قم بفتح إعدادات تطبيق TradingView وقم بتفعيل التنبيهات push notifications","Do not show this message again":"لا تظهر هذه الرسالة مرة آخرى","Spread alerts may trigger differently from what you expect":"قد يتم تشغيل تنبيهات فرق الأسعار بشكل مختلف عما تتوقعه","Alert may trigger differently from what you expect":"قد يتم تشغيل التنبيهات بشكل مختلف عما تتوقعه","CRYPTOCAP alerts may trigger differently from what you expect":"قد يتم تشغيل تنبيهات CRYPTOCAP بشكل مختلف عما تتوقعه","This is because the tick data of price movements within a bar are not included in historical bars. Have a read of our {solutionLinkStart}Help Center{linkEnd} for more info.":"وهذا بسبب عدم تضمين بيانات التيك الخاصة بحركات الأسعار داخل الأعمدة في البيانات التاريخية. اطلع على {solutionLinkStart}مركز المساعدة{linkEnd} لمزيد من المعلومات.","This is because it’s based on an indicator or strategy that can get repainted. Have a read of our {solutionLinkStart}Help Center{linkEnd} for more info.":"هذا لأنه يعتمد على مؤشر أو استراتيجية يمكن أن يختلف أداءها الحالي عن التاريخي. اطلع على {solutionLinkStart}مركز المساعدة{linkEnd} لمزيد من المعلومات.","This is because the calculation for these symbols may return different results when using historical and real-time data. Have a read of our {solutionLinkStart}Help Center{linkEnd} for more info.":"وذلك لأن حساب هذه الرموز قد يؤدي إلى نتائج مختلفة عند استخدام البيانات التاريخية واللحظية. اطلع على {solutionLinkStart}مركز المساعدة{linkEnd} لمزيد من المعلومات.","This is because, at the moment, calculations are based on a linear scale, not a logarithmic one.":"وهذا لأن الحساب يعتمد حالياً على مقياس خطي، وليس مقياساً لوغاريتمياً.",Okay:"حسناً","Not applicable":"لا يمكن تطبيقه","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)":"اكتب رقم الفاصل الزمني للرسم البياني لدقيقة (مثلا أكتب رقم 5 إذا كان الرسم البياني لخمس دقائق). أو أكتب رقم وإضافة حرف بعد ك حرف الـ H (للساعة)، و حرف الـ D (لليوم)، و حرف الـW (للأسبوع)، و حرف الـ M (للشهر) مثلاً (D أو 2H).","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)":'اكتب رقم الإطار الزمني للرسوم البيانية بالدقائق (مثلاً: 5 إذا كان إطار الرسم البياني هو 5 دقائق). أو رقم مع حروف للأطر الزمنية الأخرى: حرف "ث" للرسم البياني بإطار 1 ثانية (15 "ث" للرسم البياني 15 ثانية، إلخ)، و"س" (ساعة)، و"ي" (يوم)، و"أ" (أسبوعي)، و"ش" (شهر) (مثلاً: "ي" أو "2س")',"Sorry, your subscription can’t currently be extended, downgraded or upgraded because your payment method doesn’t support recurring payments. Please head to profile settings to update your payment method, then try again.":"عذرًا، لا يمكن حاليًا تمديد اشتراكك أو الرجوع إلى إصدار سابق لأن طريقة الدفع الخاصة بك لا تدعم المدفوعات المتكررة. يرجى التوجه إلى إعدادات الملف الشخصي لتحديث طريقة الدفع الخاصة بك، ثم حاول مرة أخرى.","Upgrade to {proPlan}":"قم بترقية عضويتك إلى ‎{proPlan}‎",Reactivate:"إعادة التفعيل",Switch:"تبديل","Until {date}":"حتى ‎{date}‎","Starting from {date}":"ابتداء من ‎{date}‎","I authorize TradingView to charge me automatically every year until I cancel my subscription.":"أقدم ترخيص لـ TradingView اقتطاع رسوم الاشتراك تلقائيًا كل عام حتى ألغي اشتراكي.","I authorize TradingView to charge me automatically every month until I cancel my subscription.":"أقدم ترخيص لـ TradingView اقتطاع رسوم الاشتراك تلقائيًا كل شهر حتى ألغي اشتراكي.","I acknowledge that refunds are NOT available for monthly payments.":"أُدرك أن استرداد الأموال غير متاح على الدفعات الشهرية.","{daysCount} day_0":"‎{daysCount}‎ يوم","{daysCount} day_1":"‎{daysCount}‎ يوم","{daysCount} day_2":"‎{daysCount}‎ يوم","{daysCount} day_3":"‎{daysCount}‎ أيام","{daysCount} day_4":"‎{daysCount}‎ يوماً","{daysCount} day_5":"{daysCount}‎ يوماً","Recurring payment issue":"مشكلة الدفع المتكررة","Payable on {billing_date}":"موعد الدفعة في {billing_date}","You won't be billed today":"ليس هناك مدفوعات أو فواتير اليوم","We'll just update the number of days left on your new subscription.":"سنقوم بتحديث عدد الأيام المتبقية على اشتراكك الجديد فقط.","Your subscription will change on the next billing cycle":"ستتغير باقة اشتراكك خلال عملية الفوترة التالية","We'll switch you onto your new plan after your current one finishes":"سنُحولك إلى باقة الاشتراك الجديدة بعد انتهاء صلاحية الباقة الحالية","We'll convert this remaining time into an equivalent value of days on your new plan.":"سنقوم بتحويل هذا الوقت المتبقي إلى قيمة مكافئة للأيام في عضويتك الجديدة.","Your subscription will not auto renew":"اشتراكك لن يتم تجديده تلقائيًا.","You will have access until {date}.":"سيكون لديك إمكانية الوصول حتى ‎{date}‎.","Your {currentDays} {currentProPlan} convert to {nextDays} of {nextProPlan}":"ستتحول الأيام {currentDays} {currentProPlan} إلى {nextDays} من {nextProPlan}","Your {currentProPlan} extend for a {billingCycle}":"تم تمديد {currentProPlan} لـ {billingCycle}","Payable today":"امكانية الدفع اليوم","{plan} plan ({billingCycle}), payment method - {paymentMethodHint}{point}":"عضوية {plan} ({billingCycle})، طريقة الدفع - {paymentMethodHint}{point}","Upgrade subscription to the next level":"قم بترقية اشتراك إلى المستوى التالي","Reactivate subscription":"إعادة تفعيل الاشتراك","Downgrade subscription":"تخفيض مستوى العضوية","Extend current subscription":"تمديد الاشتراك الحالي","Switch subscription's billing cycle":"تبديل دورة فوترة الاشتراك","Confirm your email":"تأكيد بريدك الإلكتروني","Check {changed_email} to confirm your email address. You won't get any notifications until you confirm it.":"برجاء التحقق من ‎{changed_email}‎ لتأكيد بريدك الإلكتروني، لن تتمكن من استلام أي تنبيهات حتى تأكيده","Feature request":"طلب الخصائص","Need a discount?":"هل تريد الحصول على خصم؟","You have access to a new member special offer: buy any annual plan right now and get up to {discount}% off. Plus, keep all of your unused trial days.":"يمكنك الاستفادة من عرض خاص بالأعضاء الجدد: اشترِ أي عضوية سنوية الآن واحصل على خصم يصل إلى ‎{discount}‎٪. بالإضافة إلى ذلك، احتفظ بجميع أيامك من الفترة التجريبية غير المستخدمة.","This is one of our best deals and we hope you take advantage of it.":"هذا أحد أفضل عروضنا ونأمل أن تستفيد منها.","Explore deals":"اكتشف العروض","Tools that help you succeed":"الأدوات التي ستساعدك على النجاح","Make sure to try every Premium tool including:":"لا تنس تجربة كل أداة في Premium بما في ذلك:","Real-time alerts":"التنبيهات الفورية","Multiple chart layouts":"تنسيقات رسوم بيانية متعددة","And much more…":"والمزيد...","Don't forget, if you buy an annual plan today you're eligible for up to {discount}% off.":"لا تنس أنه إذا اشتريت عضوية سنوية اليوم، فأنت مؤهل للحصول على خصم يصل إلى {discount}٪.","You still have time":"لا تزال تملك الوقت لذلك","Buy an annual plan today and get up to {discount}% off Pro, Pro+, and Premium.":"اشترِ عضوية سنوية اليوم واحصل على خصم يصل إلى ‎{discount}‎٪ على العضويات Pro وPro+ وPremium.","Let's do this":"هيا بنا نقم بذلك","The countdown begins":"العد التنازلى قد بدأ","If you don't act soon, you'll miss out on our exclusive Early Bird deal. We know how important it is to have a platform you can trust, at the best cost and with the most tools — so explore our discounts now before time's up. Once they're gone, they're gone.":"إذا لم تسارع للاستفادة من هذا العرض، فسيفوتك أحد أفضل عروضنا الحصرية. نحن نعلم مدى أهمية امتلاك منصة موثوقة، وبأفضل تكلفة والتي تحتوي على أفضل الأدوات — لذا استكشف عروض الخصم الآن قبل انتهاء فترة العرض. لا يمكنك الاستفادة من هذه العروض إذا انتهت مدتهم.","Get {discount}% off now":"احصل على خصم ‎{discount}‎% الآن","Your trial ends today. It's also your last chance to {link_start}claim up to {discount}% off{link_end} an annual plan. Want this? Just click the button below. Don't want to continue with us? Please go to your billing settings and cancel your trial, otherwise you'll be charged our full normal price.":"تنتهي فترتك التجريبية اليوم. إنها أيضًا فرصتك الأخيرة للحصول على خصم يصل إلى {link_end}‎{discount}‎٪{link_start} على العضوية السنوية. إذا كنت تريد هذا انقر على الزر أدناه فقط. أما إذا كنت لا تريد ذلك فالرجاء الانتقال إلى إعدادات الفوترة وإلغاء الفترة التجريبية، وإلا فسيتم تطبيق السعر العادي.","Today's the day":"اليوم هو فرصتك","Claim offer":"احصل على الخصم","Your card will be charged {cost} on {billing_date}.":"سيتم اقتطاع ‎{cost}‎ من بطاقتك في {billing_date}.","The bank will hold {cost} today to verify the card.":"سيحتفظ البنك بمبلغ ‎{cost}‎ اليوم للتحقق من البطاقة.","You can cancel auto-renewal":"يمكنك إلغاء التجديد التلقائي","You can cancel your trial & auto-renewal BEFORE {billing_date} and you will not be charged at all.":"يمكنك إلغاء الفترة التجريبية والتجديد التلقائي قبل {billing_date} ولن تكون مطالباً بالدفع.","Free trial":"فترة تجريبية مجانية","1 year":"سنة واحدة","3 months":"3 أشهر","Free trial ({days} day)_free_trial_0":"فترة تجريبية مجانية (‎{days}‎ يوم)","Free trial ({days} day)_free_trial_1":"فترة تجريبية مجانية (‎{days}‎ يوم)","Free trial ({days} day)_free_trial_2":"فترة تجريبية مجانية (‎{days}‎ يوم)","Free trial ({days} day)_free_trial_3":"فترة تجريبية مجانية (‎{days}‎ يوم)","Free trial ({days} day)_free_trial_4":"فترة تجريبية مجانية (‎{days}‎ يوماً)","Free trial ({days} day)_free_trial_5":"فترة تجريبية مجانية (‎{days}‎ يوماً)","Start free {days}-day {trial_plan_name}_free_trial_0":"جرب مجانًا {days}-يوم من {trial_plan_name}","Start free {days}-day {trial_plan_name}_free_trial_1":"جرب مجانًا {days}-يوم من {trial_plan_name}","Start free {days}-day {trial_plan_name}_free_trial_2":"جرب مجانًا {days}-يوم من {trial_plan_name}","Start free {days}-day {trial_plan_name}_free_trial_3":"جرب مجانًا {days}-أيام من {trial_plan_name}","Start free {days}-day {trial_plan_name}_free_trial_4":"جرب مجانًا {days}-يوماً من {trial_plan_name}","Start free {days}-day {trial_plan_name}_free_trial_5":"جرب مجانًا {days}-يوماً من {trial_plan_name}","Start {days}-day free trial_free_trial_0":"ابدأ الفترة التجريبية المجانية لمدة ‎{days}‎ يوم","Start {days}-day free trial_free_trial_1":"ابدأ الفترة التجريبية المجانية لمدة ‎{days}‎ يوم","Start {days}-day free trial_free_trial_2":"ابدأ الفترة التجريبية المجانية لمدة ‎{days}‎ يوم","Start {days}-day free trial_free_trial_3":"ابدأ الفترة التجريبية المجانية لمدة ‎{days}‎ أيام","Start {days}-day free trial_free_trial_4":"ابدأ الفترة التجريبية المجانية لمدة ‎{days}‎ يوماً","Start {days}-day free trial_free_trial_5":"ابدأ الفترة التجريبية المجانية لمدة ‎{days}‎ يوماً","We'll automatically redirect you to the chart in just a few seconds":"سنعيد توجيهك تلقائيًا إلى الرسم البياني في غضون ثوانٍ قليلة","Success!":"لقد نجحت العملية!","Skip trial and pay now":"تخطي الفترة التجريبية واشترك الآن","Stay on top of market moves! Alerts are immediate notifications when markets meet your custom criteria. Pick from visual popups, audio signals & email alerts.":"ابق على إطلاع دائم بكل ما يحدث في السوق! التبيهات هي إخطارات فورية تصل إليك عندما تصل تحركات الأسواق إلى الهدف الذي تنتظره. اختر من النوافذ المنبثقة، والإشارات الصوتية وتنبيهات البريد الإلكتروني.","Create your own indicators and strategies! Pine Script™ is a flexible and efficient language for doing just that.":"قم بإنشاء المؤشرات والإستراتيجيات الخاصة بك! لغة النصوص البرمجية باين هي لغة مرنة وكفء لعمل ذلك بسهولة.","Save the analysis you do! Your custom settings, indicator setups and so on are saved onsite as individual charts for later access from anywhere.":"احفظ التحليل الذي تعده! ستُحفظ إعدادتك المخصصة وتنسيقات المؤشر وما إلى ذلك داخل الموقع على هيئة رسوم بيانية فردية لتستطيع الوصول إليها في وقت لاحق من أي مكان.","Customize how you look at the markets! View charts in custom timeframes, such as 7 minutes, 12 minutes, or even 8 hours per bar.":"عدل نظرتك للأسواق! قم بعرض الرسوم البيانية في إطارات زمنية مخصّصة مثل 7 دقائق و12 دقيقة أو حتى 8 ساعات لكل شمعة.","Get a new look at the markets with advanced chart types! Use Kagi and Renko charts with intraday resolutions for a complete picture.":"استعرض الأسواق مجددا مع أنواع الرسوم البيانية المتطورة.استخدم الرسوم اليابانية مثل رسوم كاجى ورينكو البيانية إلى جانب القرارات اللحظية للحصول على الصورة الكاملة.","Stay on top of market moves. Set alerts and place orders in one click!":"الإطلاع على تحركات السوق. ضع تنبيهات وضع الأوامر بنقرة واضحة.","Maximum number of indicators on TradingView widget is 3.":"أقصى عدد مؤشرات على أداة TradingView هو 3 مؤشرات","This feature is available only on TradingView":"هذه الميزة متاجة فقط من خلال TradingView","You can become PRO to use this and many other features with the full version of {link_start}TradingView{link_end}.":"يمكنك أن تصبح عضو في باقة PRO لتستمتع بمميزات أخرى مع إصدار كامل من ‎{link_start}‎TradingView‎{link_end}‎","Let’s go!":"هيا ننطلق","If you switch trials to a different plan, the amount charged at the end of the trial (if you don't cancel) will change according to the new plan.":"إذا قمت بتبديل الفترة التجريبية إلى خطة مختلفة ، فإن المبلغ الذي تم تحصيله في نهاية الفترة التجريبية (إذا لم تقم بالإلغاء) سيتغير وفقًا للخطة الجديدة.","Renko, Kagi, Line Break and Point & Figure charts are powerful tools because they reduce random noise and help you see trends clearer. Get intraday intervals on these charts only on our {bold_start}Pro+{bold_end} and {bold_start}Premium{bold_end} plans.":"تعد الرسوم البيانية من نوع Renko وKagi وLine Break وPoint & Figure أدوات قوية لأنها تقلل من الحركات العشوائية للأسعار وتساعدك على رؤية الاتجاهات بشكل أوضح. احصل على فترات زمنية للأطر الصغرى خلال اليوم على هذه الرسوم البيانية على العضويات {bold_start}Pro+{bold_end} و{bold_start}Premium{bold_end}.","Find a better perspective with intraday spreads. From price inversions to currency conversions and more, see the markets in a whole new light using our intraday charts based on custom formulas (spreads), only on our {bold_start}Pro+{bold_end} and {bold_start}Premium{bold_end} plans. You'll now be switched to a Daily interval.":"ابحث عن منظور أفضل مع فروق الأسعار خلال اليوم. من تحويلات الأسعار وصولاً إلى تحويلات العملات والمزيد من الميزات، شاهد الأسواق من زوايا جديدة تمامًا باستخدام رسومنا البيانية اليومية القائمة على صيغ مخصصة (فروق الأسعار)، والمتاحة فقط على العضويتين {bold_start}Pro+{bold_end} و{bold_start}Premium{bold_end}. سيتم تحويلك الآن إلى الإطار الزمني اليومي.","Sort your symbols better with more watchlists":"قم بتنظيم وترتيب رموزك المالية بشكل أفضل من خلال عمل المزيد من قوائم المراقبة","Monitor even more watchlists, plus import/export functionality with one of our upgraded plans — perfect for those who like to keep their opportunities organized.":"راقب المزيد من قوائم المراقبة ، بالإضافة إلى وظائف الاستيراد / التصدير مع إحدى باقات عضوياتنا المميزة- وهي مثالية لأولئك الذين يرغبون في الحفاظ على فرصهم منظمة.","Filter out the noise with Japanese charts":"تصفية عشوائية تحركات الأسعار مع الرسوم البيانية اليابانية","Find a better perspective with intraday spreads":"ابحث عن منظور أفضل مع فروق الأسعار اللحظية","See what others don't with custom intervals":"شاهد ما لا يراه الآخرون، من خلال الإطارات الزمنية المخصصة","If you're doing analysis the same way as everyone else, how will you find your edge? With custom intervals spot the patterns most traders don't see — available only on our upgraded plans.":"إذا كنت تقوم بالتحليل بنفس الطريقة التي يتبعها أي شخص آخر، فكيف ستكون وجهة نظرك الخاصة؟ مع تحديد الفواصل الزمنية المخصصة للأنماط التي لا يراها معظم المتداولين - متوفرة فقط على عضوياتنا المدفوعة المميزة","Trade fast and with utmost granularity using Seconds intervals, only available on our {plan} plan. For advanced traders looking to find their edge.":"تداول بسرعة وبدقة فائقة باستخدام فواصل ثانية ، وهي متاحة فقط في عضويات {plan} الخاصة بنا. للمتداولين المتقدمين الذين يتطلعون إلى إيجاد ميزتهم.","See the markets second by second":"تابع تحركات السوق، ثانية بثانية","You're going to need a bigger monitor":"ستحتاج إلى شاشة أكبر","Multicolor flagged symbols":"رموز ذات علامات متعددة الألوان","Flag marks are useful for noting points of significance on your watchlists, screeners and charts. Customize your planning with multicolored flags, only on our upgraded plans.":"تعتبر معلمات الأعلام مفيدة لتدوين نقاط ذات أهمية في قوائم المراقبة الخاصة بك ، والفراتر والرسوم البيانية. قم بتخصيص التنسيق الخاص بك مع الأعلام متعددة الألوان، فقط على عضوياتنا المميزة.","Get more precise entries and exits":"احصل على مداخل ومخارج أكثر دقة","Upgrade to our Premium plan for access to the Bar Magnifier. It uses more details on intrabar movement to provide entry and exit levels that better reflect actual market movements.":"قم بالترقية إلى عضويتنا المميزة للوصول إلى Bar Magnifier. يستخدم مزيدًا من التفاصيل حول حركة intrabar لتوفير مستويات الدخول والخروج التي تعكس بشكل أفضل تحركات السوق الفعلية.","Save your indicators with more templates":"احفظ مؤشراتك بالعديد من القوالب","Flip between unlimited customized sets of saved indicators without having to individually toggle them on and off each time, only available on upgraded plans.":"يمكنك التنقل بين مجموعات غير محدودة من المؤشرات المحفوظة المخصصة دون الحاجة إلى تبديلها وإيقافها بشكل فردي في كل مرة ، وهي متوفرة فقط في باقات العضوية المدفوعة والمميزة","Never miss a trade with our server-side alerts":"لا تفوت صفقة، مع تنبيهات المحفوظة على خوادمنا الخاصة","Oops... too many alerts":"المعذرة، هنالك الكثير من التنبيهات","Never miss a price movement":"لا تفوت أي حركة في السوق","Get personalized alerts":"احصل على تنبيهات مخصصة","Screener alerts":"تنبيهات الفرز","Alerts are a great way to stay on top of market changes while you are away from the desk. Free plans support 1 alert at a time. If you need more, choose an upgraded plan that suits your needs.":"تعتبر التنبيهات طريقة مثالية للبقاء على اطلاع بتغييرات السوق عندما تكون بعيدًا عن مكتبك. العضويات المجانية تدعم تنبيهاً واحداً في نفس الوقت فقط. إذا كنت بحاجة إلى المزيد، فقم بترقية اشتراكك إلى عضوية مدفوعة تناسب احتياجاتك.","TradingView alerts run on powerful servers with backups, so you'll always get notified when something happens.":"تعمل تنبيهات TradingView على خوادم قوية مع نسخ احتياطية ، لذلك سيتم إعلامك دائمًا عند حدوث شيء ما.","Official real-time, intraday and volume data":"البيانات اللحظية الرسمية والبيانات اليومية وأحجام التداول","The free account features End-Of-Day US futures data only.":"الحساب المجاني يتيح بيانات نهاية اليوم فقط للعقود الآجلة الأمريكية","Delayed or real-time CME data can be purchased separately by any user with an upgraded plan. The trial also comes with access to and real-time data from premium exchanges and extra features.":"يمكن لأي مستخدم مشترك في النظام المُرقى شراء بيانات بورصة شيكاغو التجارية كل على حدة. تأتي الفترة التجريبية مع إمكانية الحصول على البيانات الفورية من البورصات الممتازة ومزايا إضافية.","Exchanges charge TradingView redistribution fees and per-user fees for delivery of intraday and real-time data, So, we can't give this data for free to everyone (as much as we'd like to).":"تفرض البورصات رسوما إعادة توزيع ورسوم عن كل مستخدم على موقع TradingView مقابل تقديم البيانات اليومية واللحظية. لذلك لا يمكننا تقديم هذه البيانات مجانا لكل شخص (وإن كنا نود عمل ذلك).","Simplify your trading by saving more charts layouts":"قم بتسهيل عملة متابعة السوق من خلال حفظ المزيد من تنسيقات الرسوم البيانية","You're at maximum indicator-ness":"أنت عند أقصى درجات المؤشر","More indicators, more trading possibilities":"المزيد من المؤشرات والمزيد من إمكانيات التداول","The indicators currently on your chart are: {studiesList}":"المؤشرات الموجودة حاليًا على رسمك البياني هي: {studiesList}","Setting alerts on drawing requires saving the chart, and you've run out of space. You are currently on the {plan} plan, which supports up to 5 saved charts.":"يتطلب تعيين التنبيهات على الرسوم البيانية حفظ الرسم البياني، وليس لديك المساحة الكافية لذلك. أنت الآن على العضوية {plan} والتي تدعم حفظ 5 رسوم بيانية","If you need more, the {proPlusPlan} plan handles 10 and the {premiumPlan} plan unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features.":"إذا كنت ترغب في المزيد، فإن عضوية ‎{proPlusPlan}‎ تتضمن 10 بينما عضوية ‎{premiumPlan}‎ تتيح عدد غير محدود من الرسوم البيانية، قم بترقية عضويتك الآن، واستمتع بميزات قوية عديدة.","Setting alerts on drawing requires saving the chart, and you've run out of space. You are currently on the {plan} plan, which supports up to 10 saved charts.":"يتطلب تعيين التنبيهات على الرسوم البيانية حفظ الرسم البياني، وليس لديك المساحة الكافية لذلك. أنت الآن على العضوية {plan} والتي تدعم حفظ ما يصل إلى 10 رسوم بيانية","If you need more, the {premiumPlan} plan unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features.":"إذا كنت بحاجة إلى المزيد ، فإن خطة {premiumPlan}تتيح عدد غير محدود من الرسوم البيانية المحفوظة ! قم بالترقية الآن واستمتع بالعديد من الميزات الأخرى المثيرة.","Setting alerts on drawing requires saving the chart, and you've run out of space. You are currently trying the {plan} plan, which supports up to 5 saved charts.":"يتطلب تعيين التنبيهات على الرسوم البيانية حفظ الرسم البياني، وليس لديك المساحة الكافية لذلك. أنت الآن على الفترة التجريبية للعضوية {plan} والتي تدعم حفظ 5 رسوم بيانية","If you need more, you can switch your trial for FREE to the {proPlusPlan} (up to 10 saved charts) or the {premiumPlan} plan (unlimited saved charts). The plans also comes with many other exciting features.":"إذا كنت بحاجة إلى المزيد ، يمكنك تبديل الفترة التجريبية مجانًا إلى {proPlusPlan} (ما يصل إلى 10 رسوم بيانية محفوظة) أو عضوية {premiumPlan} (غير محدودة). تأتي تلك العضويات أيضًا مع العديد من الميزات المثيرة الأخرى.","Setting alerts on drawing requires saving the chart, and you've run out of space. You are trying the {plan} plan, which supports up to 10 saved charts.":"يتطلب تعيين التنبيهات على الرسوم البيانية حفظ الرسم البياني، وليس لديك المساحة الكافية لذلك. أنت الآن على الفترة التجريبية للعضوية {plan} والتي تدعم حفظ 10 رسوم بيانية","If you need more, you can switch your trial for FREE to the {plan} plan with unlimited number of saved charts. The plan also comes with many other exciting features!":"إذا كنت بحاجة إلى المزيد ، يمكنك تبديلالفترة التجريبية المجانية إلى عضوية {plan} مع عدد غير محدود من الرسوم البيانية المحفوظة. كما تأتي الخطة مع العديد من الميزات المثيرة الأخرى!","The PRO plan supports {number} saved chart,_pro_plan_supports_0":"عضوية PRO تدعم {number} رسم بياني محفوظ","The PRO plan supports {number} saved chart,_pro_plan_supports_1":"عضوية PRO تدعم {number} رسم بياني محفوظ","The PRO plan supports {number} saved chart,_pro_plan_supports_2":"عضوية PRO تدعم {number} رسم بياني محفوظ","The PRO plan supports {number} saved chart,_pro_plan_supports_3":"عضوية PRO تدعم {number} رسوم بيانية محفوظ","The PRO plan supports {number} saved chart,_pro_plan_supports_4":"عضوية PRO تدعم {number} رسم بياني محفوظ","The PRO plan supports {number} saved chart,_pro_plan_supports_5":"عضوية PRO تدعم {number} رسم بياني محفوظ","PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features._pro_plan_supports_0":"العضوية PRO+ تدعم ‎{number}‎ و العضوية Premium تتيح عدد غير محدود من الرسوم البيانية المحفوظة، قم بترقية عضويتك الآن واستمتع بالعديد من الميزات الأخرى المثيرة","PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features._pro_plan_supports_1":"العضوية PRO+ تدعم ‎{number}‎ و العضوية Premium تتيح عدد غير محدود من الرسوم البيانية المحفوظة، قم بترقية عضويتك الآن واستمتع بالعديد من الميزات الأخرى المثيرة","PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features._pro_plan_supports_2":"العضوية PRO+ تدعم ‎{number}‎ و العضوية Premium تتيح عدد غير محدود من الرسوم البيانية المحفوظة، قم بترقية عضويتك الآن واستمتع بالعديد من الميزات الأخرى المثيرة","PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features._pro_plan_supports_3":"العضوية PRO+ تدعم ‎{number}‎ و العضوية Premium تتيح عدد غير محدود من الرسوم البيانية المحفوظة، قم بترقية عضويتك الآن واستمتع بالعديد من الميزات الأخرى المثيرة","PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features._pro_plan_supports_4":"العضوية PRO+ تدعم ‎{number}‎ و العضوية Premium تتيح عدد غير محدود من الرسوم البيانية المحفوظة، قم بترقية عضويتك الآن واستمتع بالعديد من الميزات الأخرى المثيرة","PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features._pro_plan_supports_5":"العضوية PRO+ تدعم ‎{number}‎ و العضوية Premium تتيح عدد غير محدود من الرسوم البيانية المحفوظة، قم بترقية عضويتك الآن واستمتع بالعديد من الميزات الأخرى المثيرة","Saved charts":"الرسوم البيانية المحفوظة","Unlock the fastest data flow possible":"افتح أسرع تدفق للبيانات ممكن","To catch every small change, you need to see every trade, only on our upgraded plans. Never miss a beat again.":"لمتابعة كافة تغيرات السوق، تحتاج إلى رؤية كل صفقة، فقط على عضوياتنا المفدوعة والمميزة . ولن يفوتك شيء في السوق.","Data is delayed by {time} minutes":"البيانات متأخرة بمقدار ‎{time}‎ دقيقة","Unlock more insight with our indicator-on-indicator feature":"تابع برؤية أوضح من خلال ميزة المؤشر على المؤشر","Only users with paid subscriptions can create new public chats.":"يمكن للمستخدمين الذين لديهم اشتراكات مدفوعة فقط إنشاء دردشات عامة جديدة.","Once your trial period is over and the payment for membership renewal is received, you'll be able to create new public chats.":"بعد انتهاء الفترة التجريبية واستلام دفعة تجديد العضوية، ستتمكن من إنشاء دردشات عامة جديدة.","Don't see a public chat room on the topic you're most interested in? Then create it — only available on our upgraded plans.":"إن كنت لا تجد غرفة دردشة عامة حول الموضوع الذي يهمك أكثر؟ قم بإنشاء واحدة - متاح فقط على عضوياتنا المدفوعة والمميزة.","Create new public chats":"أَنْشِئْ غرفة دردشة جديدة","Go ad-free. Everywhere":"لا إعلانات على الرسوم البيانية","Ads are important for any business like ours, but you can go ad-free at any time via our upgraded plans. This way, you can enjoy trading without any distractions (and you'll get a load of extra features too).":"الإعلانات مهمة لأي نشاط تجاري مثل أعمالنا ، ولكن يمكنك المتابعة بدون إعلانات في أي وقت عبر عضوياتنا المدفوعة والمميزة. بهذه الطريقة ، يمكنك الاستمتاع بالتداول بدون أي مشتتات للانتباه (وستحصل على الكثير من الميزات الإضافية أيضًا).","Fresh opportunities, every 10 seconds":"فرص جديدة، كل 10 ثوان","Keep your wish list updated with a screener that auto-refreshes every 10 seconds or one minute — only on our upgraded plans (plus you'll get a load of powerful extra features).":"حافظ على تحديث قائمة متابعاتك باستخدام منصة الفلترة حيث يتم تحديثها تلقائيًا كل 10 ثوانٍ أو دقيقة واحدة - فقط على عضوياتنا المدفوعة والمميزة (بالإضافة إلى أنك ستحصل على الكثير من الميزات الإضافية القوية).","Delayed market data access":"الوصول إلى بيانات السوق المتأخرة","This market data is temporary not available for basic account holders according to the exchange regulations. We are working on making the delayed data available for all users on the free basis in the near future.":"بيانات السوق هذه ليست مُتاحة لأصحاب الحسابات المجانية وفقاً لقوانين البورصة. ونحن نعمل على جعل البيانات المتأخرة متاحة لجميع المستخدمين مجاناً في المستقبل القريب.","Want alerts that never die?":"هل تريد تنبيهات لا تموت أبداً؟","Alerts on your plan expire after two months. But, good news, non-expiring alerts are available on our {premiumPlan} plan. Great if you're thinking about long-term trading opportunities.":"التنبيهات على عضويتك ستنتهي صلاحيتها بعد شهرين. ولكن هناك بعض الأخبار السارة، التنبيهات على العضوية {premiumPlan} الخاصة بنا لا تنتهي صلاحيتها. الأمر رائع إذا كنت تُفكر في فرص تداول طويلة الأجل.","Test your strategies with intraday bar replays":"اختبر الاستراتيجيات الخاصة بك مع تقنية إعادة الرسم البياني","Practice predicting price movements, hour by hour, minute by minute and second by second — only on our upgraded plans. As the old saying goes, practice makes perfect (and profit).":"تدرب على توقع تحركات الأسعار ، ساعة بساعة ، دقيقة بدقيقة وثانية بالثانية - فقط على عضوياتنا المميزة. التدريب والممارسة سيعزز مهاراتك (ويزيد أرباحك).","Export data to where you need it":"تصدير البيانات إلى حيث تريدها","Export all the Screener info you need with one of our upgraded plans. Simple.":"قم بتصدير جميع معلومات منصة الفلترة Screener التي تحتاجها بإحدى عضوياتنا المميزة","Monitor changes by the minute with our Screener's intraday time frames":"راقب التغييرات كل دقيقة باستخدام الأطر الزمنية اللحظية لمنصة الفلترة","Be the first to know when an asset matches your chosen criteria, with our Screener's intraday time frame settings — only on our upgraded plans.":"كن أول من يعرف متى يتطابق أحد الأصول مع المعايير التي اخترتها ، مع إعدادات الإطار الزمني لـ Screener الخاصة بنا - فقط على عضواتنا المدفوعة","Screener with all time frames":"منصة الفلترة Screener لكل الأطر الزمنية","{proPlan}, {proPlusPlan} and {premiumPlan} users can use the Screener on any time frame!":"مشتركي باقات ‎{proPlan}‎ و ‎{proPlusPlan}‎ و ‎{premiumPlan}‎ يمكنهم استخدام منصة العارض على أي إطار زمني","Publish invite-only scripts":"نشر نص برمجي للمدعوين فقط","React instantly with webhook notifications":"تفاعل فورًا مع إشعارات webhook على الويب","Unlock endless algorithmic trading opportunities with instant reactions to triggered alerts — only on our upgraded plans. Take your analysis and algo trading to a whole new level.":"أطلق العنان لفرص التداول الآلية اللانهائية مع ردود الفعل الفورية للتنبيهات التي تم تشغيلها - فقط على عضوياتنا المدفوعة. خذ تحليلك ووتداولك إلى مستوى جديد كليا.","Export all the chart info you need with our {bold_start}Pro+{bold_end} and {bold_start}Premium{bold_end} plans. Easy.":"قم بتصدير كل معلومات الرسم البياني التي تحتاجها من خلال العضويتين {bold_start}PRO+ {bold_end} و{bold_start}Premium{bold_end}. الأمر سهل جداً.","Second-Based Chart Alerts":"تنبيهات بالثانية على الرسوم البيانية","Upgrade to the {pro_plan_name} plan to unlock this feature. Get alerts on a second-based chart delivered through email, mobile or desktop notifications. Premium plans also come with additional features like the fastest data flow, volume profile indicators, and other exciting tools.":"قم بترقية اشتراكك إلى العضوية {pro_plan_name} لتفعيل هذه الميزة. احصل على تنبيهات على الرسوم البيانية بالثانية تصلك عبر إشعارات البريد الإلكتروني أو الجوال أو الحاسوب الشخصي. توفّر عضوية Premium أيضًا ميزات إضافية مثل تدفق البيانات السريع ومؤشرات بروفايل حجم التداول وأدوات أخرى مثيرة.","Alerts are how you save time and make markets work for you. The {pro_plan_name} plan allows you to create alerts for price, specific indicators or custom drawings on a second-based chart.":"التنبيهات توفر من وقتك وتجعل الأسواق تعمل من أجلك. تتيح لك عضوية {pro_plan_name} إنشاء تنبيهات للسعر أو مؤشرات خاصة أو رسومات مُخصصة على الرسوم البيانية بالثانية.","This is an extremely valuable tool that highlights the most traded prices over a timeframe. Volume profile is often used by traders to identify basic support and resistance levels so they can time their trades and maximize profits.":"هذه أداة قيمة للغاية تسلط الضوء على الأسعار الأكثر تداولًا على مدار فترة زمنية. غالبًا ما يستخدم المتداولون حجم التداول لتحديد مستويات الدعم والمقاومة الأساسية حتى يتمكنوا من تحديد وقت تداولاتهم وتعظيم الأرباح.","It's available only on our upgraded plans.":"متاح فقط على عضوياتنا المدفوعة والمميزة","Device: {nameDevice}, IP: {valueIp}, Browser: {nameBrowser}":"الجهاز: {nameDevice}، IP: {valueIp}، المتصفح: {nameBrowser}","Your session was terminated from device:":"تم إنهاء جلستك من الجهاز:","You need to refresh the page and log in to continue surfing.":"تحتاج إلى تحديث الصفحة وتسجيل الدخول لمواصلة التصفح.","This session is terminated":"تم إنهاء هذه الجلسة","You or somebody else just logged into your account from a different device:":"قام شخص ما بتسجيل الدخول إلى حسابك من جهاز مختلف:","If this was indeed you, just click on the Connect button and you can continue working from here. If not, please change your password and turn on two-factor authentication.":'إذا كان هذا الشخص هو أنت، فما عليك سوى النقر فوق الزر "اتصال" لتتمكك من متابعة العمل من هنا. إذا لم يكن الأمر كذلك، فيرجى تغيير كلمة المرور وتشغيل المصادقة الثنائية.',"Session disconnected":"انقطع الاتصال بالجلسة","Get financial data over longer time periods":"احصل على البيانات المالية على فترات زمنية أطول","Access fundamental data over even longer time periods with one of our upgraded plans.":"يمكنك الوصول إلى البيانات الأساسية على مدى فترات زمنية أطول باستخدام إحدى عضوياتنا المدفوعة والمميزة","Take your subscription to the next level":"انقل اشتراكك إلى مستوى أعلى","Get all our upgraded features — no extra charge":"احصل على جميع المزايا من خلال ترقية اشتراكك - بدون رسوم إضافية","Time to make the math work for you. We've got an offer: one month of upgraded features for one dollar.":"حان الوقت لجعل الأمور أسهل بالنسبة لك. لدينا عرض لك: شهر واحد من الميزات المتقدمة مقابل 1 دولار","Buy 6 months, get 6 months free":"اشترِ 6 أشهر واحصل على 6 أشهر أخرى مجانًا","What's better than an annual TradingView plan? An annual TradingView plan with 50% off.":"هل هناك عرض أفضل من عرض عضوية TradingView السنوية؟ أكيد! عضوية TradingView السنوية مع خصم 50٪.","Get yours now":"احصل عليها الآن","More windows mean more options":"المزيد من النوافذ يعني المزيد من الخيارات","With our free account you can open as many windows as you like and get the most out of your multi-monitor setup. Don't have an account yet? Click the button below to get started and start working with multiple windows.":"باستخدام حسابنا المجاني، يمكنك فتح أي عدد تريده من النوافذ والاستفادة إلى أقصى حد من إعداد الشاشات المتعددة. ألا تملك حسابا حتى الآن؟ انقر فوق الزر أدناه لاشتراك وبدء العمل مع العديد من النوافذ.","Export your strategy data":"تصدير بيانات استراتيجيتك","Take your strategies with you: export your performance and overview data to a CSV file, only with our Premium plan. Upgrade today.":"اصطحب استراتيجياتك معك: قم بتصدير بيانات الأداء والنظرة العامة الخاصة بك إلى ملف CSV. متاح على عضوية Premium فقط. قم بالترقية اليوم.",Attention:"تنبيه","Please note all NSE data is available free of charge to any visiting user. You'll be redirected to an open website now.":"يرجى ملاحظة أن جميع بيانات NSE متاحة مجانًا لأي مستخدم زائر. ستتم إعادة توجيهك إلى موقع ويب مفتوح الآن.","Upgrade to Premium today to access backtesting data for any date in a symbol's entire history – at the moment your subscription only allows you to calculate using data loaded on the chart.":"قم بترقية عضويتك اليوم إلى Premium للوصول إلى بيانات الاختبار العكسي لأي تاريخ من التاريخ الكامل للأصل - في الوقت الحالي، يسمح لك اشتراكك فقط باستخدام البيانات المحملة على الرسم البياني فقط.","You can't upgrade to Premium in the app. It sucks, we know.":"لا يمكنك الترقية إلى Premium في التطبيق. نعلم أنه أمر مزعج.",Cancel_input:"إلغاء","Do you really want to delete Chart Layout '{name}' ?":"هل تريد فعلا مسح تصميم مخطط الرسم البيانى‎ ‎{name}‎؟","Load layout":"تحميل التنسيق","Layout name":"اسم التنسيق","Sort by layout name, date changed":"تصنيف حسب اسم التنسيق، وتاريخ التعديل","Layout name (A to Z)":"اسم التنسيق (A إلى Z)","Layout name (Z to A)":"اسم التنسيق (Z إلى A)","Date modified (oldest first)":"تاريخ التعديل (الأقدم أولاً)","Date modified (newest first)":"تاريخ التعديل (الأحدث أولاً)","Manage account via app":"إدارة الحساب عبر التطبيق","You are notified":"تم إعلامك بذلك",Purchase:"شراء","${cost}":"{cost} دولار","{proPlanName} trial ({days_count} day)_free_trial_0":"الفترة التجريبية لـعضوية {proPlanName} ({days_count} يوم)","{proPlanName} trial ({days_count} day)_free_trial_1":"الفترة التجريبية لـعضوية {proPlanName} ({days_count} يوم)","{proPlanName} trial ({days_count} day)_free_trial_2":"الفترة التجريبية لـعضوية {proPlanName} ({days_count} يوم)","{proPlanName} trial ({days_count} day)_free_trial_3":"الفترة التجريبية لـعضوية {proPlanName} ({days_count} أيام)","{proPlanName} trial ({days_count} day)_free_trial_4":"الفترة التجريبية لـعضوية {proPlanName} ({days_count} يوماً)","{proPlanName} trial ({days_count} day)_free_trial_5":"الفترة التجريبية لـعضوية {proPlanName} ({days_count} يوماً)","{proPlanName} trial":"فترة تجريبية ‎{proPlanName}‎","{proPlanName} plan":"العضوية ‎{proPlanName}‎","Accounting for your Early Bird discount, the chosen payment method will be charged {cost} on {billing_date}. The annual payments after this one will be {full_cost}, our regular price.":"عند احتساب خصم Early Bird، سيتم تحصيل {cost}من طريقة الدفع المختارة في {billing_date}. ستكون الدفعات السنوية بعد هذا الدفع {full_cost}، مماثلة لسعرنا المعتاد.","Payable on {billingDate}":"موعد الدفعة في ‎{billingDate}‎","You will not be billed today":"لن تتم عملية الدفع اليوم","Further billing":"المزيد من الفواتير","Back to the chart":"عودة للرسم البياني","Start charting":"ابدأ في إنشاء الرسوم البيانية","I authorize TradingView to charge me automatically every year, until I cancel my subscription.":"أُرخص لـ TradingView اقتطاع رسوم الاشتراك تلقائيًا كل عام حتى ألغي اشتراكي.","I authorize TradingView to charge me automatically every month, until I cancel my subscription.":"أُرخص لـ TradingView اقتطاع رسوم الاشتراك تلقائيًا كل شهر حتى ألغي اشتراكي.","I authorize TradingView to charge me automatically every three months, until I cancel my subscription.":"أُرخص لـ TradingView اقتطاع رسوم الاشتراك تلقائيًا كل 3 أشهر حتى ألغي اشتراكي.","I authorize TradingView to charge me automatically every two years, until I cancel my subscription.":"أُرخص لـ TradingView اقتطاع رسوم الاشتراك تلقائيًا كل عامين حتى ألغي اشتراكي.","I have read and agree with the {iceLink}ICE Subscriber Agreement{closeLink}.":"لقد قرأت ووافقت على {iceLink} اتفاقية المشتركينICE {closeLink}.","I acknowledge that refunds are made according to the Terms of Use.":"أقر بأن عمليات استرداد الأموال تتم وفقًا لشروط الاستخدام.","{acknowledgeText} The subscription can be canceled at any time from the Account and Billing section in the Profile settings. {policyText}":"{acknowledgeText} يمكن إلغاء الاشتراك في أي وقت من قسم الحساب والفوترة في إعدادات الملف الشخصي. {policyText}","{policyText} I confirm that refunds will only be made in line with the situations they describe.":"{policyText} أؤكد أن عمليات رد الأموال ستتم فقط بما يتماشى مع الحالات التي يصفونها.","I have read, and agree to, TradingView's {termsLink}Terms of Use{closeLink} and {privacyLink}Privacy Policy{closeLink}.":"لقد قرأت ووافقت على {termsLink}شروط الاستخدام{closeLink} و{privacyLink}سياسة الخصوصية{closeLink}.","/year":"دولار أمريكي/سنة","/2years":"/سنتين","Special offer. First month of upgraded features for one dollar.":"عرض خاص. شهر واحد من الميزات المتقدمة مقابل 1 دولار.","Most flexible option.":"الخيار الأكثر مرونة.","Special offer — pay for half a year, get the other half at no cost.":"عرض خاص - ادفع لمدة نصف عام واحصل على النصف الآخر مجاناً","We only give this discount for your first year.":"نحن نقدم هذا الخصم للسنة الأولى فقط","Save ${amount} ({profit}%) when compared to the monthly plan.":"وفّر ‎{amount}‎ ({profit} ‎%)‎ عند المقارنة بالنظام الشهري","We only offer this discount for your first year.":"نحن نقدم هذا الخصم للسنة الأولى فقط.","Payment #{receiptId}":"الدفعة #{receiptId}","Thanks for purchasing":"‎ شكراً للشراء","We'll charge your card {price} on {date}. If you cancel auto-renewal before this time, you'll not be charged at all.":"سيتم تحصيل {price} من بطاقتك في {date}. يمكنك إلغاء الفترة التجريبية والتجديد التلقائي قبل هذا اليوم ولن يتم تحصيل أي رسوم منك على الإطلاق.","Woohoo! Let the fun begin":"هيا، فلننطلق!","Your {daysCount}-day free trial is live and kicking, and you've now got free access to loads of additional features. Don't forget: we may also have a special offer or two for you during this trial – keep your eyes peeled.":"الفترة التجريبية المجانية التي مدتها {daysCount} يوماً قد تم تفعيلها! لديك وصول مجاني إلى عدة ميزات إضافية. لا تنس أن تبقي عينيك مفتوحتين للحصول على عروض خاصة أثناء هذه الفترة!","$0.00 USD":"0 دولار أمريكي","Connection Error":"حدث خطأ في الاتصال.","Go now, dive into your new data":"ابدأ الآن، واطلع على بياناتك الجديدة","I need that data":"أحتاج تلك البيانات","I'm good without it":"لا أحتاجها","Show me the available market packages":"أرني حُزم السوق المتاحة","I'll just buy the plan as it is for now":"سأشتري العضوية كما هي الآن","This is a special price for residents of the exchange's home country. The final cost is applied after entering your address in the next step.":"هذا سعر خاص للمقيمين في بلد البورصة. سيتم تطبيق التكلفة النهائية بعد إدخال عنوانك في الخطوة التالية.","{price} /mo":"{price} /شهر","{price} /year":"{price} /سنة","Residents price":"سعر المقيمين","Market Data Provided by ICE Data services":"بيانات السوق متاحة من خلال خدمة بيانات ICE","We provide real-time data for free if it's allowed. {link_start}Some data is delayed{link_end} due to specific exchange regulations and real-time data must be purchased separately on this page below. We are required to collect these payments and remit them to the exchanges.":"نحن نقدم بيانات الأسواق اللحظية مجانًا، إذا سُمح لنا بذلك. {link_start}بعض البيانات تكون متأخرة{link_end} بسبب قوانين بعض البورصات المحددة، ما يستوجب شراء البيانات اللحظية بشكل منفصل من خلال الصفحة أدناه. نحن مطالبون بتحصيل هذه المدفوعات وتحويلها إلى البورصات.","US stock market data is real-time, but provided by CBOE BZX. {link_start}This data is slightly different{link_end} from primary exchanges. If you would like to get real-time data directly from NASDAQ, NYSE or ARCA, you can add this data to your plan.":"بيانات سوق الأسهم الأمريكية هي بيانات لحظية، ولكنها مُقدمة من قبل CBOE BZX. ‎{link_start}‎ تختلف هذه البيانات قليلاً{link_end} عن بيانات الأسواق الأساسية الأخرى. إذا كنت ترغب في الحصول على بيانات لحظية مباشرةً من NASDAQ أو NYSE أو ARCA، فيمكنك إضافة هذه البيانات إلى عضويتك.","Extra market data subscriptions are not available in the Russian Federation and in the Republic of Belarus":"لا تتوفر بعض اشتراكات بيانات السوق الإضافية في الاتحاد الروسي وجمهورية بيلاروسيا","Need extra market data?":"هل تحتاج إلى بيانات سوق إضافية؟","Some extra market data subscriptions are not available in the Russian Federation and in the Republic of Belarus":"لا تتوفر بعض اشتراكات بيانات السوق الإضافية في الاتحاد الروسي وجمهورية بيلاروسيا","Downgrade trial to {plan_name}":"تخفيض مستوى الفترة التجريبية إلى ‎{plan_name}‎","You can downgrade your trial and pick the one that meets your needs. This way you’ll know exactly what you are paying for if wish to continue using this plan after the free trial period.":"يمكنك خفض فترتك التجريبية واختيار الخيار الذي يلبي احتياجاتك. بهذه الطريقة ستعرف بالضبط ما الذي تدفعه مقابل رغبتك في الاستمرار في استخدام هذه الخطة بعد انتهاء الفترة التجريبية المجانية.","If you switch to a different plan, the amount charged at the end of the trial (if you don’t cancel) will change according to the new plan.":"إذا بدلت إلى خطة مختلفة ، فسيتم تغيير المبلغ الذي تم تحصيله في نهاية فترة التجربة (إذا لم يتم إلغاؤه) وفقًا للخطة الجديدة.","Upgrade trial to {plan_name}":"ترقية الفترة التجريبية إلى {plan_name}","You can continue your trial with a different plan for free to check out more features.":"يمكنك استكمال فترتك التجريبية بعضوية مختلفة مجانًا للتعرف على المزيد من الميزات.","If you switch to a better plan, the amount charged at the end of the trial (if you don’t cancel) will change according to the new plan.":"إذا قمت بالتغيير إلى خطة أفضل، فإن المبلغ الذي يتم تحصيله في نهاية التجربة (إذا لم تقم بإلغاء) سوف يتغير وفقا للخطة الجديدة.","Start free {daysCount}-day {proPlan}_free_trial_0":"ابدأ {daysCount}-يوم من {proPlan}","Start free {daysCount}-day {proPlan}_free_trial_1":"ابدأ {daysCount}-يوم من {proPlan}","Start free {daysCount}-day {proPlan}_free_trial_2":"ابدأ {daysCount}-يوم من {proPlan}","Start free {daysCount}-day {proPlan}_free_trial_3":"ابدأ {daysCount}-أيام من {proPlan}","Start free {daysCount}-day {proPlan}_free_trial_4":"ابدأ {daysCount}-يوماً من {proPlan}","Start free {daysCount}-day {proPlan}_free_trial_5":"ابدأ {daysCount}-يوماً من {proPlan}","Link copied":"تم نسخ الرابط","More information about Cookies {lastWord}Policy":"مزيد من المعلومات حول سياسة ملفات تعريف {lastWord} الارتباط","These cookies are used to provide users with services available through a Site and to use some of its features, such as the ability to log-in and access secure areas, provide pop-up notices, and accept language from sign-up forms. These cookies are essential for using and navigating a Site. Without them, basic functions of our Site would not work. Because these cookies are strictly necessary to deliver our Site's essential services, you cannot refuse them.":"ملفات تعريف الارتباط تُستخدم هذه الملفات لتزويد المستخدمين بالخدمات المتاحة من خلال الموقع واستخدام بعض ميزاته، مثل القدرة على تسجيل الدخول والوصول إلى مناطق آمنة وتقديم إشعارات منبثقة وقبول اللغة من صفحة الاشتراك. تعد ملفات تعريف الارتباط هذه ضرورية لاستخدام المواقع والتنقل فيها. بدون ملفات تعريف الارتباط هذه، لن تعمل الوظائف الأساسية لموقعنا. نظرًا لأن ملفات تعريف الارتباط هذه ضرورية جدًا لتقديم خدمات الموقع، فلا يمكنك رفضها.","Performance/Analytics cookies":"الأداء / ملفات تعريف الارتباط التحليلية","These cookies are used to recognize and count the number of Site visitors, gather statistics regarding how visitors move around the Site (including number of page views and the amount time spent on each page) and for conversion tracking and click hotspots. This helps us improve the way our Site works and general user experience. For example, these cookies allow us to ensure that users are able to find what they need easily.":"ملفات تعريف الارتباط هذه تُستخدم للتعرف على زوار الموقع وعددهم، ولجمع إحصائيات تتعلق بكيفية تحرك الزوار داخل الموقع (على غرار عدد مرات مشاهدة الصفحة وعدد الزوار والوقت الذي يقضيه المستخدم في كل صفحة) ولتتبع معدل التحويل والنقر على النقاط الساخنة. وهذا يساعدنا على تحسين طريقة عمل موقعنا وتحسين تجربة المستخدم. على سبيل المثال، تتيح لنا ملفات تعريف الارتباط هذه التأكد من قدرة المستخدمين على العثور على ما يحتاجونه بسهولة.","Advertising cookies":"ملفات تعريف الارتباط الإعلانية","These cookies are used to show advertising that is relevant to you.":"تُستخدم ملفات تعريف الارتباط هذه لعرض الإعلانات ذات الصلة بميولاتك.","Save preferences":"حفظ التفضيلات","Allow all":"السماح للكل","We can't accept your payment right now":"لا يمكننا قبول عملية الدفع الآن","Saved indicators":"المؤشرات المحفوظة","Remember Symbol":"تذكر الرمز","Remember Interval":"تذكر الفاصل الزمني","Confirm Remove Study Tree":"تأكيد إزالة نتائج الدراسة","Do you really want to delete study and all of it's children?":"هل تريد فعلا مسح هذه الدراسة وكل محتوياتها؟","Studies limit exceeded: {number} studies per layout.\nPlease, remove some studies.":"تم تجاوز الحد الأقصى للدراسات : ‎{number}‎ دراسة لكل نسق\nبرجاء حذب البعض","Alert limit reached":"لقد وصلت للحد الأقصى من التنبيهات","Uh oh! Looks like you've reached the {count} alert limit. Please remove any or all unnecessary alerts in order to add any new ones.":"عفواً! يبدو أنك وصلت إلى الحد الأقصى من التنبيهات والبالغ {count}. يرجى إزالة أي/أو كل التنبيهات غير الضرورية لإضافة تنبيهات جديدة.","Username (you'll only be able to change this public username once)":"اسم المستخدم (لن تتمكن من تغيير اسم المستخدم العام هذا إلا مرة واحدة)","First Name":"الاسم الأول","Last Name":"اسم العائلة","Your account is not active yet.":"حسابك لم يتم تفعيله بعد","Please verify your email.":"الرجاء تأكيد بريدك الإلكتروني","If you don't have it in your inbox (check spam/junk box), you can sign up with":"إذا لم يكن موجود في صندوق بريدك الوارد (راجع صندوق البريد المزعج / غير المرغوب فيه)، يمكنك تسجيل الدخول ب",or:"أو","Resend Activation Link":"أعد إرسال رابط التفعيل","Email, username or phone number including country code":"البريد الإلكتروني أو اسم المستخدم أو رقم الهاتف الذي يشمل رمز البلد",Search_forgot_password:"بحث","Sign in with email":"تسجيل الدخول بحساب بريد إلكتروني","Username or Email":"اسم المستخدم أو البريد الإلكتروني","I forgot password or can't sign in":"لقد نسيت كلمة المرور أو لا يمكنني تسجيل الدخول","Remember me":"تذكرنى","Don't have an account?":"أليس لديك حساب؟","Sign up with email":"الاشتراك بحساب بريد إلكتروني","I have read and agree to the {terms_link}Terms of Use{link_end} as well as {privacy_link}Privacy{link_end} and {cookie_link}Cookies Policy{link_end}":"قرأت وموافق على ‎{terms_link}‎ بنود الاستخدام ‎‎{link_end}‎ و ‎{privacy_link}‎ سياسة الخصوصية ‎{link_end}‎ و ‎{cookie_link}‎ وسياسة ملفات تعريف الارتباط ‎{link_end}‎","Already have an account?":"هل لديك حساب بالفعل؟","How do you want to reset your password?":"كيف يمكنك استعادة كلمة المرور؟","Your account was created through a social network":"حسابك تم إنشاؤه بواسطة حساب تواصل اجتماعي","Oops! Looks like there is no email or phone number linked with your account":"للأسف، يبدو أنه لا يوجد بريد إلكتروني أو رقم هاتف تم ربطه بحسابك","Email a link to {email}":"ارسل الرابط عبر البريد الإلكتروني ‎{email}‎","Send a code to a phone number that ends with {phone}":"برجاء إرسال الرمز الذي تم إرساله على رقم الهاتف الذي ينتهي بـ ‎{phone}‎","We found the following information associated with your account.":"لقد وجدنا المعلومات التالية مرتبطة بحسابك.","I can't access my account":"لا يمكنني الدخول إلى حسابي","OR sign in via your social media account that you used in the past":"أو سجل الدخول من خلال حسابك على مواقع التواصل الإجتماعي","We have detected that you have registered with {social_list}. To gain access to your account, log in through your social networks.":"لقد اكتشفنا أنك قمت بالتسجيل بـ‎{social_list}‎. للدخول إلى حسابك، قم بتسجيل الدخول من خلال شبكات التواصل الاجتماعي الخاصة بك.","We are unable to reset your password since you failed to provide your contact details. Please try again or create a new account.":"لا يمكننا إعادة تعيين كلمة المرور الخاصة بك لأنك لم تستطيع إثبات بياناتك، برجاء المحاول مرة أخرى أو إنشاء حساب جديد.","We have sent the mail to {email}. In order to complete the email verification process, you must click on the link inside.":"قمنا بإرسال رسالة إلى البريد الإلكتروني ‎{email}‎، من أجل إكمال عملية التحقق من البريد الإلكتروني قم بالضغط على الرابط الموجود داخل الرسالة","Be sure to check your spam filters if you can't find the email. Haven't receive mail? {blue_text}Send mail again{blue_text_end}":"تأكد من فحص قائمة الرسائل غير المرغوبه إذا لم تجد البريد الإلكتروني. وإذا لم تجده أيضا ‎{blue_text}‎ أرسل الرسالة مرة أخرى‎{blue_text_end}‎","Please check your email":"برجاء التحقق من البريد الإلكتروني","We've sent you a verification code. Once you receive the code, enter it below.":"قمنا بإرسال كود التأكيد، بمجرد وصوله أدخله أدناه",Code_reset_password:"الرمز","I didn't receive the code":"لم استلم الرمز","Check your phone":"تحقق من هاتفك الجوال","Backup code":"الرمز الاحتياطي","SMS or backup code":"خدمة SMS أو الرمز الاحتياطي","Code from your app or backup code":"رمز من تطبيقك أو الرمز الاحتياطي","Two-factor Authentication":"المصادقة الثنائية","Enter the verification code from your Authenticator App or the message you received via SMS. If you don’t have access to your phone, you can enter a previously saved backup code.":"أدخل رمز التحقق المتاح من خلال تطبيق Authenticator الخاص بك أو رسالة SMS التي تلقيتها. إذا كان هاتفك غير متاح، فيمكنك إدخال رمز احتياطي تم حفظه مسبقًا.","Get code":"احصل على الرمز","If you don't receive a code in {codeTTL} seconds, you'll have the option of sending a new one.":"إذا لم تتلق رمزًا خلال {codeTTL} ثانية، فسيكون لديك خيار إرسال رمز جديد.","Sign in to get free trial":"سجل الدخول للحصول على نسخة تجريبية مجانية","Sign up to get free trial":"اشترك للحصول على نسخة تجريبية مجانية","This ends today":"سينتهي هذا اليوم","You've not got long until your discount expires. Might want to grab it before it's too late.":"ليس هناك الكثير من الوقت المتبقي في صلاحية الخصم الخاص بك. ننصحك بالحصول عليه قبل فوات الأوان.","You've upgraded your subscription. Please reload the page to fire up the new changes.":"لقد قمت بترقية اشتراكك. يرجى إعادة تحميل الصفحة لتفعيل التغييرات الجديدة.","Subscription has been modified":"تم تعديل الاشتراك","Copy link to solution":"نسخ الرابط إلى الحل","Free user FAQs":"أسئلة وأجوبة مجانية للمستخدم","Keyboard shortcuts":"اختصارات لوحة المفاتيح","What's new?":"ما الجديد","Pine Script™ Q&A":"أسئلة وأجوبة عن باين سكريبت","Real-time updates":"تحديثات لحظية","Looking for something else?":"هل تبحث عن شيء آخر؟","Click to maximize":"انقر للتكبير","{solution_number} article_0":"‎{solution_number}‎ مقال","{solution_number} article_1":"‎{solution_number}‎ مقال","{solution_number} article_2":"‎{solution_number}‎ مقال","{solution_number} article_3":"‎{solution_number}‎ مقالات","{solution_number} article_4":"‎{solution_number}‎ مقال","{solution_number} article_5":"‎{solution_number}‎ مقال","Find an answer":"ابحث عن جواب","Nothing was found":"لم يتم العثور على أي شيء","Still need help? Open a support ticket and we'll get back to you shortly":"هل مازلت تحتاج للمساعدة؟ افتح بطاقة دعم وسنعاود الاتصال بك قريبًا","Share feedback":"شارك تعليقاتك","High ticket volume":"استفسارات كثيرة","The wait time for a reply from our support team has increased due to unusually high traffic in inquiries and questions. We apologize for any inconvenience and appreciate your patience.":"لقد زاد وقت انتظار الرد من فريق الدعم خاصتنا بسبب كثرة الاستفسارات والأسئلة بشكل غير معتاد. نعتذر عن أي إزعاج ونقدر سعة صدرك.","Don't forget to also search our Help Center – it's got a wealth of answers to all sorts of Support questions.":"لا تنس البحث في مركز المساعدة الخاص بنا أيضًا – فهو يحتوي على مجموعة كبيرة من الإجابات لجميع أنواع أسئلة الدعم.","How can we help?":"كيف يمكننا مساعدتك؟","My support tickets":"بطاقات الدعم الخاصة بي","Select your issue category":"اختر نوع المشكلة","Change symbol":"تغيير الرمز","Hide all drawings":"إخفاء جميع أدوات الرسم","Solution couldn’t be loaded. This may be due to a connection failure. Please try refreshing the page.":"لا يمكن تحميل الحلول حالياً. قد يكون هذا بسبب مشكل في الاتصال. الرجاء إعادة تحميل الصفحة.","Thank you for your feedback!":"شكراً لك على ملاحظاتك!",Folder:"مُجلد","Whoa there, we need some time to check your first tickets before getting round to new ones. Please come back in a bit.":"نحن بحاجة إلى بعض الوقت للتحقق من البطاقات الأولى قبل الانتقال إلى بطاقات جديدة. يرجى العودة بعد قليل.","Popular solutions list couldn’t be loaded. This may be due to a connection failure. Please try refreshing the page.":"لا يمكن تحميل قائمة الحلول الشائعة حالياً. قد يكون هذا بسبب مشكل في الاتصال. الرجاء إعادة تحميل الصفحة.","Your {days}-day free trial is live! You've got free access to additional features. Don't forget to keep your eyes peeled for special offers during the trial!_free_trial_0":"فترتك التجريبية المجانية لمدة ‎{days}‎ يوم قد بدأت! يمكنك الاستفادة من ميزات إضافية مجاناً. تابعنا باستمرار لتستفيد من العروض الخاصة المقدمة أثناء الفترة التجريبية!","Your {days}-day free trial is live! You've got free access to additional features. Don't forget to keep your eyes peeled for special offers during the trial!_free_trial_1":"فترتك التجريبية المجانية لمدة ‎{days}‎ يوم قد بدأت! يمكنك الاستفادة من ميزات إضافية مجاناً. تابعنا باستمرار لتستفيد من العروض الخاصة المقدمة أثناء الفترة التجريبية!","Your {days}-day free trial is live! You've got free access to additional features. Don't forget to keep your eyes peeled for special offers during the trial!_free_trial_2":"فترتك التجريبية المجانية لمدة ‎{days}‎ يوم قد بدأت! يمكنك الاستفادة من ميزات إضافية مجاناً. تابعنا باستمرار لتستفيد من العروض الخاصة المقدمة أثناء الفترة التجريبية!","Your {days}-day free trial is live! You've got free access to additional features. Don't forget to keep your eyes peeled for special offers during the trial!_free_trial_3":"فترتك التجريبية المجانية لمدة ‎{days}‎ أيام قد بدأت! يمكنك الاستفادة من ميزات إضافية مجاناً. تابعنا باستمرار لتستفيد من العروض الخاصة المقدمة أثناء الفترة التجريبية!","Your {days}-day free trial is live! You've got free access to additional features. Don't forget to keep your eyes peeled for special offers during the trial!_free_trial_4":"فترتك التجريبية المجانية لمدة ‎{days}‎ يوماً قد بدأت! يمكنك الاستفادة من ميزات إضافية مجاناً. تابعنا باستمرار لتستفيد من العروض الخاصة المقدمة أثناء الفترة التجريبية!","Your {days}-day free trial is live! You've got free access to additional features. Don't forget to keep your eyes peeled for special offers during the trial!_free_trial_5":"فترتك التجريبية المجانية لمدة ‎{days}‎ يوماً قد بدأت! يمكنك الاستفادة من ميزات إضافية مجاناً. تابعنا باستمرار لتستفيد من العروض الخاصة المقدمة أثناء الفترة التجريبية!","Your {days}-day free trial is live! You've got free access to additional features._free_trial_0":"لقد فعّلت الفترة التجريبية المجانية ‎{days}‎ يوم! يمكنك الآن الوصول إلى الميزات الإضافية مجاناً.","Your {days}-day free trial is live! You've got free access to additional features._free_trial_1":"لقد فعّلت الفترة التجريبية المجانية ‎{days}‎ يوم! يمكنك الآن الوصول إلى الميزات الإضافية مجاناً.","Your {days}-day free trial is live! You've got free access to additional features._free_trial_2":"لقد فعّلت الفترة التجريبية المجانية ‎{days}‎ يوم! يمكنك الآن الوصول إلى الميزات الإضافية مجاناً.","Your {days}-day free trial is live! You've got free access to additional features._free_trial_3":"لقد فعّلت الفترة التجريبية المجانية ‎{days}‎ أيام! يمكنك الآن الوصول إلى الميزات الإضافية مجاناً.","Your {days}-day free trial is live! You've got free access to additional features._free_trial_4":"لقد فعّلت الفترة التجريبية المجانية ‎{days}‎ يوماً! يمكنك الآن الوصول إلى الميزات الإضافية مجاناً.","Your {days}-day free trial is live! You've got free access to additional features._free_trial_5":"لقد فعّلت الفترة التجريبية المجانية ‎{days}‎ يوماً! يمكنك الآن الوصول إلى الميزات الإضافية مجاناً.","Remember, if you don't cancel your trial before it ends, you'll automatically continue on a paid monthly upgraded plan after the trial.":"تذكر أنه إذا لم تقم بإلغاء الفترة التجريبية قبل أن تنتهي، فستستمر تلقائياً في العضوية المدفوعة شهرياً.","If you don't cancel your trial before it ends, you will be automatically converted to an annual paid plan after the trial.":"إذا لم تقم بإلغاء الفترة التجريبية قبل أن تنتهي، فسيتم تحويل اشتراكك تلقائيًا إلى عضوية سنوية مدفوعة بعد الفترة التجريبية.","Get Started!":"ابدأ الآن!","You can request a new code in {timer} seconds. If you are not receiving it, check out possible {linkOpen}solutions{linkClose}.":"يمكنك طلب رمز جديد في غضون {timer} ثانية. إذا كنت غير قادر على تلقي الرمز، فراجع {linkOpen}الحلول{linkClose} الأخرى المتاحة.","Verification successful":"تم التحقق بنجاح","Get the code via SMS":"احصل على الرمز من خلال رسالة SMS","Get the code via phone call":"احصل على الرمز من خلال اتصال هاتفي","Enter phone number":"أدخل رقم الهاتف","Account verification":"التحقق من الحساب","Enter your phone number to receive a confirmation code. If there are any errors with SMS delivery, you can receive your code via automated phone call. Your phone number will not be used for any other purpose other than account verification.":"أدخل رقم هاتفك لتلقي رمز التأكيد. إذا كنت تواجه أي مشكلة في استقبال الرسائل القصيرة، فإنه يمكنك استلام رمزك عبر مكالمة هاتفية آلية. ولن يتم استخدام رقم هاتفك لأي غرض آخر غير التحقق من الحساب.","Enter your email address below. We’ll send you a text message with a confirmation code.":"أدخل عنوان البريد الالكتروني أدناه. سنرسل لك رسالة نصية مع رمز التأكيد.","Now you have access to social features, such as chatting, publishing ideas and following other users.":"الآن يمكنك استخدام خدمات التواصل الاجتماعي مثل المحادثات، ونشر التحليلات ومتابعة أشخاص آخرين.","Now you can receive text messages alerts to your phone":"الآن يمكنك تلقي تنبيهات الرسائل النصية على هاتفك","Select source":"اختر مصدراً","three months":"ثلاثة أشهر","two years":"سنتين",annually:"سنوي","Billed every year.":"فوترة كل عام","Billed every month.":"فوترة كل شهر","Billed every two years.":"فوترة كل سنتين",trial:"فترة تجريبية","card *{paymentHint}":"البطاقة *{paymentHint}","Unknown error happened":"خطأ غير معروف",cfd:"عقود الفروقات",crypto:"العملات الرقمية",dr:"إيصال إيداع",futures:"العقود الآجلة",index:"مؤشر",stock:"سهم",economy:"اقتصاد","Continue purchasing":"استمر في الشراء","Loading...":"جاري التحميل...","Please, try to reload page to edit user data":"الرجاء محاولة إعادة تحميل الصفحة لتعديل بيانات المستخدم","Sorry, an error has occurred":"للأسف، حدث خطأ",Sunday:"الأحد",Monday:"الاثنين",Tuesday:"الثلاثاء",Wednesday:"الأربعاء",Thursday:"الخميس",Friday:"الجمعة",Saturday:"السبت",Sun:"الأحد",Mon:"يوم الاثنين",Tue:"الثلاثاء",Wed:"الأربعاء",Thu:"الخميس",Fri:"الجمعة",Sat:"السبت",Su_day_of_week:"الأحد",Mo_day_of_week:"الاثنين",Tu_day_of_week:"الثلاثاء",We_day_of_week:"الأربعاء",Th_day_of_week:"الخميس",Fr_day_of_week:"الجمعة",Sa_day_of_week:"السبت","Alarm Clock":"ساعة المنبه",Light_colorThemeName:"فاتح",Dark_colorThemeName:"داكن","Save Theme As":"احفظ النسق كـ :","Theme name":"أسم القالب","Color Theme '{themeName}' already exists. Do you really want to replace it?":"نسق الألوان ‎{themeName}‎موجود بالفعل. هل ترغب حقًا في استبداله؟","Do you really want to delete Color Theme '{name}' ?":"هل تريد فعلا مسح مظهر اللون ''{name}' ؟",Normal:"عادي","Dashed line":"خط متقطع","Dotted line":"خط منقط","Line with breaks":"خط ذو فواصل","Step line":"خط متدرج","Step line with diamonds":"خط متدرج مع معيّنات",Histogram:"المدرج الإحصائي",Cross_chart_type:"تقاطع","Area with breaks":"مساحة يتخللها فواصل",Circles:"دوائر",Thickness:"السُّمْك","No exchanges match your criteria":"لا توجد أسواق تطابق المعايير التي عينتها","All sources":"كل المصادر","Symbol & description":"الرمز والوصف",Sources:"مصادر","Same % scale":"نفس مقياس %","New price scale":"مقياس سعر جديد","New pane":"جزء جديد","Add to":"إضافة إلى","Allow extend time scale":"السماح بتمديد النطاق الزمني","No symbols here yet — why not add some?":"لا توجد رموز هنا حالياً — قم بإضافة الرموز","Added symbols":"الرموز المضافة","Recent symbols":"الرموز الحديثة","Compare symbol":"مقارنة الرمز","Manage layout drawings":"إدارة رسومات التنسيق","No indicators matched your criteria.":"لا توجد مؤشرات تتوافق مع معاييرك.","Bring to Front":"وضعه في المقدمة","Send to Back":"إرسال للمؤخرة","Bring Forward":"تقديمه للأمام","Send Backward":"إرسال إلى الخلف","Hide drawings":"إخفاء الرسومات","Show all drawings":"عرض كل الرسومات","Hide indicators":"إخفاء المؤشرات","Show all indicators":"عرض كل المؤشرات","Hide all indicators":"إخفاء كل المؤشرات","Hide positions & orders":"إخفاء المراكز والأوامر","Show all positions & orders":"إظهار المراكز والأوامر","Hide all positions & orders":"إخفاء كل المراكز والأوامر","Hide all":"إخفاء الكل","Show all drawings, indicators, positions & orders":"إظهار كافة الرسومات والمؤشرات والمراكز والأوامر","Show all drawings and indicators":"عرض كل الرسومات والمؤشرات","Hide all drawings, indicators, positions & orders":"إخفاء كافة الرسومات والمؤشرات والمراكز والأوامر","Hide all drawings and indicators":"إخفاء كل الرسومات والمؤشرات","remove all line tools for {symbol}":"حذف كافة خطوط الأدوات لـ {symbol}","{symbolsCount} symbol_symbols_and_drawings_count_0":"‎{symbolsCount}‎ رمز","{symbolsCount} symbol_symbols_and_drawings_count_1":"‎{symbolsCount}‎ رمز","{symbolsCount} symbol_symbols_and_drawings_count_2":"‎{symbolsCount}‎ رمز","{symbolsCount} symbol_symbols_and_drawings_count_3":"‎{symbolsCount}‎ رموز","{symbolsCount} symbol_symbols_and_drawings_count_4":"‎{symbolsCount}‎ رمزاً","{symbolsCount} symbol_symbols_and_drawings_count_5":"‎{symbolsCount}‎ رمزاً","with {drawingsCount} drawing_symbols_and_drawings_count_0":"مع ‎{drawingsCount}‎ رسم","with {drawingsCount} drawing_symbols_and_drawings_count_1":"مع ‎{drawingsCount}‎ رسم","with {drawingsCount} drawing_symbols_and_drawings_count_2":"مع ‎{drawingsCount}‎ رسم","with {drawingsCount} drawing_symbols_and_drawings_count_3":"مع ‎{drawingsCount}‎ رسوم","with {drawingsCount} drawing_symbols_and_drawings_count_4":"مع ‎{drawingsCount}‎ رسماً","with {drawingsCount} drawing_symbols_and_drawings_count_5":"مع ‎{drawingsCount}‎ رسماً","{drawingsCount} drawing_0":"‎{drawingsCount}‎ رسم","{drawingsCount} drawing_1":"‎{drawingsCount}‎ رسم","{drawingsCount} drawing_2":"‎{drawingsCount}‎ رسم","{drawingsCount} drawing_3":"‎{drawingsCount}‎ رسوم","{drawingsCount} drawing_4":"‎{drawingsCount}‎ رسماً","{drawingsCount} drawing_5":"‎{drawingsCount}‎ رسماً","Remove all drawings for this symbol":"إزالة كافة الرسومات لهذا الرمز","No drawings yet":"لا يوجد رسوم حتى الآن","Object tree":"شجرة الكائنات","Create a group of drawings":"أنشئ مجموعة من الرسومات","Clone, Copy":"استنساخ ، نسخ","Group is hidden on current interval":"المجموعة مخفية في الفاصل الزمني الحالي","Drawing is hidden on current interval":"الرسم مخفي على الفاصل الزمني الحالي","move objects":"تحريك العناصر","show objects":"إظهار العناصر","hide objects":"إخفاء العناصر","remove objects":"إزالة العناصر",'Set the "{inputInline}" time and price for "{studyShortDescription}"':"تعيين وقت وسعر {inputInline} لـ {studyShortDescription}",'Set the time and price for "{studyShortDescription}"':'تعيين وقت وسعر "{studyShortDescription}"','Set the "{inputTitle}" time for "{studyShortDescription}"':"نعيين وقت {inputTitle} لـ {studyShortDescription}",'Set the time for "{studyShortDescription}"':'نعيين وقت "{studyShortDescription}"','Set the "{inputTitle}" price for "{studyShortDescription}"':"تعيين سعر {inputTitle} لـ {studyShortDescription}",'Set the price for "{studyShortDescription}"':'تعيين سعر "{studyShortDescription}"',"Add Symbol":"إضافة رمز","Confirm Inputs":"تأكيد المدخلات","Reset settings":"إعادة ضبط الإعدادات","Save as default":"حفظ كافتراضي",Defaults:"الإعدادات الإفتراضية","Apply to all":"تفعيل على الكل","Apply defaults":"تطبيق الإعدادات الافتراضية","Apply Defaults":"تطبيق الإعدادات الافتراضية","apply factory defaults to selected sources":"تطبيق إعدادات المصنع الافتراضية على المصادر المختارة","Selected Drawings":"الرسومات المختارة",Solid:"ثابت",Gradient:"متدرج","No results found":"لا توجد نتائج","Add custom color_Color Picker":"إضافة لون مخصص","Opacity_Color Picker":"الشفافية","Add_Color Picker":"إضافة","Remove color":"إزالة اللون","Please enter the right date format yyyy-mm-dd":"الرجاء إدخال التاريخ بالشكل الصحيح يوم- شهر- سنة","Please enter the right date":"الرجاء إدخال التاريخ بالشكل الصحيح","Please enter the right time format hh:mm":"الرجاء إدخال الوقت بالشكل الصحيح ساعة: دقيقة","recently used_emoji_group":"مستخدَمٌ حديثاً","smiles & people_emoji_group":"الابتسامات والأشخاص","animals & nature_emoji_group":"الحيوانات والطبيعة","food & drink_emoji_group":"الطعام والشراب",activity_emoji_group:"أنشطة","travel & places_emoji_group":"السفر والأماكن",objects_emoji_group:"أشياء",symbols_emoji_group:"رموز",flags_emoji_group:"أعلام"}; \ No newline at end of file diff --git a/charting_library/bundles/042ec21ea57ec386282b5e437ced14a0.svg b/charting_library/bundles/042ec21ea57ec386282b5e437ced14a0.svg new file mode 100644 index 00000000..657028ef --- /dev/null +++ b/charting_library/bundles/042ec21ea57ec386282b5e437ced14a0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/04ec25351d493cec3ade55e686f71c3b.svg b/charting_library/bundles/04ec25351d493cec3ade55e686f71c3b.svg new file mode 100644 index 00000000..50d171a1 --- /dev/null +++ b/charting_library/bundles/04ec25351d493cec3ade55e686f71c3b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/0533bc7f87e4fd35c549693ccb280cbc.svg b/charting_library/bundles/0533bc7f87e4fd35c549693ccb280cbc.svg new file mode 100644 index 00000000..d868ba61 --- /dev/null +++ b/charting_library/bundles/0533bc7f87e4fd35c549693ccb280cbc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/062c248cf8d2c525bd9526653ab95657.svg b/charting_library/bundles/062c248cf8d2c525bd9526653ab95657.svg new file mode 100644 index 00000000..966295d8 --- /dev/null +++ b/charting_library/bundles/062c248cf8d2c525bd9526653ab95657.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/0788cb238b1a4b247dc64b6520a1de87.svg b/charting_library/bundles/0788cb238b1a4b247dc64b6520a1de87.svg new file mode 100644 index 00000000..cb222aef --- /dev/null +++ b/charting_library/bundles/0788cb238b1a4b247dc64b6520a1de87.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/07958991e829b26257b34748fe61b908.svg b/charting_library/bundles/07958991e829b26257b34748fe61b908.svg new file mode 100644 index 00000000..4efd9cab --- /dev/null +++ b/charting_library/bundles/07958991e829b26257b34748fe61b908.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/0be05afe69640ce88aa24265aa2effab.svg b/charting_library/bundles/0be05afe69640ce88aa24265aa2effab.svg new file mode 100644 index 00000000..82162224 --- /dev/null +++ b/charting_library/bundles/0be05afe69640ce88aa24265aa2effab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/0bfbdf5c0e06948136651805ba740256.svg b/charting_library/bundles/0bfbdf5c0e06948136651805ba740256.svg new file mode 100644 index 00000000..af95508a --- /dev/null +++ b/charting_library/bundles/0bfbdf5c0e06948136651805ba740256.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/0da4ec054e8a1847302dceafff367d5f.svg b/charting_library/bundles/0da4ec054e8a1847302dceafff367d5f.svg new file mode 100644 index 00000000..71a73363 --- /dev/null +++ b/charting_library/bundles/0da4ec054e8a1847302dceafff367d5f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/0dccec7ce2c9a2fe85d49d9ab8f1480b.svg b/charting_library/bundles/0dccec7ce2c9a2fe85d49d9ab8f1480b.svg new file mode 100644 index 00000000..d27b1f81 --- /dev/null +++ b/charting_library/bundles/0dccec7ce2c9a2fe85d49d9ab8f1480b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/0f7af004dd47aafc17272eca6e543808.svg b/charting_library/bundles/0f7af004dd47aafc17272eca6e543808.svg new file mode 100644 index 00000000..9523f376 --- /dev/null +++ b/charting_library/bundles/0f7af004dd47aafc17272eca6e543808.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1000.03457f0bee8e78a74471.js b/charting_library/bundles/1000.03457f0bee8e78a74471.js new file mode 100644 index 00000000..f3702bef --- /dev/null +++ b/charting_library/bundles/1000.03457f0bee8e78a74471.js @@ -0,0 +1,4 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1e3],{17683:t=>{t.exports={dialog:"dialog-Nh5Cqdeo",rounded:"rounded-Nh5Cqdeo",shadowed:"shadowed-Nh5Cqdeo",fullscreen:"fullscreen-Nh5Cqdeo",darker:"darker-Nh5Cqdeo",backdrop:"backdrop-Nh5Cqdeo"}},12114:t=>{t.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-hxnnZcZ6",dragging:"dragging-hxnnZcZ6",dialogAnimatedAppearance:"dialogAnimatedAppearance-hxnnZcZ6",dialogAnimation:"dialogAnimation-hxnnZcZ6",dialogTooltip:"dialogTooltip-hxnnZcZ6"}},98526:(t,e,i)=>{"use strict";i.d(e,{Dialog:()=>h});var o=i(59496),s=i(97754),n=i(50655),a=i(88216),r=i(90186),l=i(17683);class h extends o.PureComponent{constructor(){super(...arguments),this._manager=new a.OverlapManager,this._handleSlot=t=>{this._manager.setContainer(t)}}render(){const{rounded:t=!0,shadowed:e=!0,fullscreen:i=!1,darker:a=!1,className:h,backdrop:d}=this.props,c=s(h,l.dialog,t&&l.rounded,e&&l.shadowed,i&&l.fullscreen,a&&l.darker),u=(0,r.filterDataProps)(this.props),g=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return o.createElement(o.Fragment,null,o.createElement(n.SlotContext.Provider,{value:this._manager},d&&o.createElement("div",{onClick:this.props.onClickBackdrop,className:l.backdrop}),o.createElement("div",{...u,className:c,style:g,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:-1},this.props.children)),o.createElement(n.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:t,left:e,width:i,right:o,top:s,zIndex:n,height:a}=this.props;return{bottom:t,left:e,right:o,top:s,zIndex:n,maxWidth:i,height:a}}}},95711:(t,e,i)=>{"use strict";i.d(e,{PopupContext:()=>o});const o=i(59496).createContext(null)},81e3:(t,e,i)=>{"use strict";i.d(e,{PopupDialog:()=>S});var o=i(59496),s=i(97754),n=i(88537),a=i(98526),r=i(86431),l=i(76594),h=i(64514);function d(t,e,i,o){return t+e>o&&(t=o-e),t{if(0!==t.button||this._isTargetNoDraggable(t))return;t.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("mouseup",this._onMouseDragEnd);const e=c(u(t));this._dragStart(e)},this._onTouchDragStart=t=>{if(this._isTargetNoDraggable(t))return;this._canBeTouchClick=!0,t.preventDefault(),this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const e=c(g(t));this._dragStart(e)},this._onMouseDragEnd=t=>{t.target instanceof Node&&this._header.contains(t.target)&&t.preventDefault(), +document.removeEventListener("mousemove",this._onMouseDragMove),document.removeEventListener("mouseup",this._onMouseDragEnd),this._onDragStop()},this._onTouchDragEnd=t=>{this._header.removeEventListener("touchmove",this._onTouchDragMove),this._onDragStop(),this._canBeTouchClick&&(this._canBeTouchClick=!1,function(t){if(t instanceof SVGElement){const e=document.createEvent("SVGEvents");e.initEvent("click",!0,!0),t.dispatchEvent(e)}t instanceof HTMLElement&&t.click()}(t.target))},this._onMouseDragMove=t=>{const e=c(u(t));this._dragMove(e)},this._onTouchDragMove=t=>{this._canBeTouchClick=!1,t.preventDefault();const e=c(g(t));this._dragMove(e)},this._onDragStop=()=>{this._drag=null,this._header.classList.remove("dragging")},this._dialog=t,this._header=e,this._options=i,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}destroy(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)}updateOptions(t){this._options=t}_dragStart(t){const e=this._dialog.getBoundingClientRect();this._drag={startX:t.x,startY:t.y,finishX:t.x,finishY:t.y,dialogX:e.left,dialogY:e.top};const i=Math.round(e.left),o=Math.round(e.top);this._dialog.style.transform=`translate(${i}px, ${o}px)`,this._header.classList.add("dragging"),this._options.onDragStart&&this._options.onDragStart()}_dragMove(t){if(this._drag){if(this._drag.finishX=t.x,this._drag.finishY=t.y,null!==this._frame)return;this._frame=requestAnimationFrame(()=>{if(this._drag){const e=t.x-this._drag.startX,i=t.y-this._drag.startY;this._moveDialog(this._drag.dialogX+e,this._drag.dialogY+i)}this._frame=null})}}_moveDialog(t,e){const i=this._dialog.getBoundingClientRect(),{boundByScreen:o}=this._options,s=d(t,i.width,o?0:-1/0,o?window.innerWidth:1/0),n=d(e,i.height,o?0:-1/0,o?window.innerHeight:1/0);this._dialog.style.transform=`translate(${Math.round(s)}px, ${Math.round(n)}px)`}_isTargetNoDraggable(t){return t.target instanceof Element&&null!==t.target.closest("[data-disable-drag]")}}const _={vertical:0};class m{constructor(t,e){this._frame=null,this._isFullscreen=!1,this._handleResize=()=>{null===this._frame&&(this._frame=requestAnimationFrame(()=>{this.recalculateBounds(),this._frame=null}))},this._dialog=t,this._guard=e.guard||_,this._calculateDialogPosition=e.calculateDialogPosition,this._initialHeight=t.style.height,window.addEventListener("resize",this._handleResize)}updateOptions(t){this._guard=t.guard||_,this._calculateDialogPosition=t.calculateDialogPosition}setFullscreen(t){this._isFullscreen!==t&&(this._isFullscreen=t,this.recalculateBounds())}centerAndFit(){ +const{x:t,y:e}=this.getDialogsTopLeftCoordinates(),i=this._calcAvailableHeight(),o=this._calcDialogHeight();if(i===o)if(this._calculateDialogPosition){const{left:t,top:e}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`}else this._dialog.style.height=o+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${t}px, ${e}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:t,clientWidth:e}=document.documentElement,i=this._calcDialogHeight(),o=e/2-this._dialog.clientWidth/2,s=t/2-i/2;return{x:Math.round(o),y:Math.round(s)}}recalculateBounds(){const{clientHeight:t,clientWidth:e}=document.documentElement;if(this._isFullscreen)this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none";else{const{vertical:i}=this._guard;if(this._calculateDialogPosition){const o=this._calculateDialogPosition(this._dialog,{clientWidth:e,clientHeight:t},{vertical:i}),{left:s,top:n}=o;this._dialog.style.transform=`translate(${Math.round(s)}px, ${Math.round(n)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const o=this._dialog.getBoundingClientRect(),s=t-2*i,n=d(o.left,o.width,0,e),a=d(o.top,o.height,i,t);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(n)}px, ${Math.round(a)}px)`,this._dialog.style.height=s{const{reference:e}=this.props;this._dialog=t,"function"==typeof e&&e(t)},this._handleFocus=t=>{this._moveToTop()},this._handleMouseDown=t=>{this._moveToTop()},this._handleTouchStart=t=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return o.createElement(v.PopupContext.Provider,{value:this},o.createElement(l.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},t=>o.createElement("div",{ref:t,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart,"data-dialog-name":this.props["data-dialog-name"]},o.createElement(a.Dialog,{style:this._applyAnimationCSSVariables(),...this.props,reference:this._handleDialogRef,className:s(D.dialog,this.props.className)},!1,this.props.children))))}componentDidMount(){const{draggable:t,boundByScreen:e,onDragStart:i}=this.props,o=(0,n.ensureNotNull)(this._dialog);if(t){ +const t=o.querySelector("[data-dragg-area]");t&&t instanceof HTMLElement&&(this._drag=new p(o,t,{boundByScreen:Boolean(e),onDragStart:i}))}this.props.autofocus&&!o.contains(document.activeElement)&&o.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,y.setFixedBodyState)(!0);const{guard:s,calculateDialogPosition:a}=this.props;this._resize=new m(o,{guard:s,calculateDialogPosition:a}),this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus&&o.focus()}componentDidUpdate(){if(this._resize){const{guard:t,calculateDialogPosition:e}=this.props;this._resize.updateOptions({guard:t,calculateDialogPosition:e}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){this._drag&&this._drag.destroy(),this._resize&&this._resize.destroy(),(this._isFullScreen()||this.props.fixedBody)&&(0,y.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(t){if(this._resize&&this._dialog){const{x:e,y:i}=t,{x:o,y:s}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",e+"px"),this._dialog.style.setProperty("--animationTranslateStartY",i+"px"),this._dialog.style.setProperty("--animationTranslateEndX",o+"px"),this._dialog.style.setProperty("--animationTranslateEndY",s+"px"),this._dialog.classList.add(D.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}x.contextType=f.PortalContext,x.defaultProps={boundByScreen:!0,draggable:!0,centeredOnMount:!0};const S=(0,r.makeOverlapable)(x)}}]); \ No newline at end of file diff --git a/charting_library/bundles/1065.c486e71c0f4ad53d97a0.css b/charting_library/bundles/1065.c486e71c0f4ad53d97a0.css new file mode 100644 index 00000000..d1ae7099 --- /dev/null +++ b/charting_library/bundles/1065.c486e71c0f4ad53d97a0.css @@ -0,0 +1 @@ +.dialog-sXuYOF5A{overflow-x:hidden;overflow-y:auto;padding:40px;position:relative;width:720px}@media screen and (max-width:767px){.dialog-sXuYOF5A{padding:24px 20px;width:100%}}.dialog-sXuYOF5A.radius-sXuYOF5A{border-radius:0}.container-sXuYOF5A{display:flex;flex:auto;flex-direction:column;justify-content:center;text-align:center}.closeButton-sXuYOF5A{cursor:pointer;right:30px;top:30px}.icon-sXuYOF5A{margin:0 auto}.title-sXuYOF5A{color:#131722;font-size:36px;font-weight:700;line-height:44px;margin-top:25px}html.theme-dark .title-sXuYOF5A{color:#d1d4dc}@media screen and (max-width:767px){.title-sXuYOF5A{font-size:24px;line-height:32px}}.featureDescription-sXuYOF5A{color:#131722;font-size:18px;line-height:28px;margin-top:10px;text-align:left}html.theme-dark .featureDescription-sXuYOF5A{color:#d1d4dc}.description-sXuYOF5A{color:#131722;font-size:18px;line-height:28px;margin-top:15px;text-align:left}html.theme-dark .description-sXuYOF5A{color:#d1d4dc}.description-sXuYOF5A a,html.theme-dark .description-sXuYOF5A a{color:#2962ff}@media (any-hover:hover){.description-sXuYOF5A a:hover,html.theme-dark .description-sXuYOF5A a:hover{color:#1e53e5}}.description-sXuYOF5A p{margin-bottom:13px}.description-sXuYOF5A p:last-child{margin-bottom:0}.wrapperButton-sXuYOF5A{margin-top:40px}.actionButton-sXuYOF5A{cursor:pointer} \ No newline at end of file diff --git a/charting_library/bundles/1065.c486e71c0f4ad53d97a0.rtl.css b/charting_library/bundles/1065.c486e71c0f4ad53d97a0.rtl.css new file mode 100644 index 00000000..fadb0875 --- /dev/null +++ b/charting_library/bundles/1065.c486e71c0f4ad53d97a0.rtl.css @@ -0,0 +1 @@ +.dialog-sXuYOF5A{overflow-x:hidden;overflow-y:auto;padding:40px;position:relative;width:720px}@media screen and (max-width:767px){.dialog-sXuYOF5A{padding:24px 20px;width:100%}}.dialog-sXuYOF5A.radius-sXuYOF5A{border-radius:0}.container-sXuYOF5A{display:flex;flex:auto;flex-direction:column;justify-content:center;text-align:center}.closeButton-sXuYOF5A{cursor:pointer;left:30px;top:30px}.icon-sXuYOF5A{margin:0 auto}.title-sXuYOF5A{color:#131722;font-size:36px;font-weight:700;line-height:44px;margin-top:25px}html.theme-dark .title-sXuYOF5A{color:#d1d4dc}@media screen and (max-width:767px){.title-sXuYOF5A{font-size:24px;line-height:32px}}.featureDescription-sXuYOF5A{color:#131722;font-size:18px;line-height:28px;margin-top:10px;text-align:right}html.theme-dark .featureDescription-sXuYOF5A{color:#d1d4dc}.description-sXuYOF5A{color:#131722;font-size:18px;line-height:28px;margin-top:15px;text-align:right}html.theme-dark .description-sXuYOF5A{color:#d1d4dc}.description-sXuYOF5A a,html.theme-dark .description-sXuYOF5A a{color:#2962ff}@media (any-hover:hover){.description-sXuYOF5A a:hover,html.theme-dark .description-sXuYOF5A a:hover{color:#1e53e5}}.description-sXuYOF5A p{margin-bottom:13px}.description-sXuYOF5A p:last-child{margin-bottom:0}.wrapperButton-sXuYOF5A{margin-top:40px}.actionButton-sXuYOF5A{cursor:pointer} \ No newline at end of file diff --git a/charting_library/bundles/1075.2745aa8533e240f5a5aa.js b/charting_library/bundles/1075.2745aa8533e240f5a5aa.js deleted file mode 100644 index 7ed8c0fc..00000000 --- a/charting_library/bundles/1075.2745aa8533e240f5a5aa.js +++ /dev/null @@ -1,5 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1075],{16059:e=>{e.exports={menuWrap:"menuWrap-8MKeZifP",isMeasuring:"isMeasuring-8MKeZifP",scrollWrap:"scrollWrap-8MKeZifP",momentumBased:"momentumBased-8MKeZifP",menuBox:"menuBox-8MKeZifP",isHidden:"isHidden-8MKeZifP"}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r});var s=n(59496);const r=s.forwardRef((e,t)=>{const{icon:n="",...r}=e;return s.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:n}})})},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>c});const s=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),s=n.style;s.visibility="hidden",s.width="100px",s.msOverflowStyle="scrollbar",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",n.appendChild(i);const o=i.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=r-o}return e}})();function r(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function o(e,t){return parseInt(i(e,t))}let l=0,a=!1;function c(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++l){const e=i(t,"overflow"),l=o(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(r(n,"right",s()+"px"),t.style.paddingRight=l+s()+"px",a=!0),t.classList.add("i-no-scroll")}else if(!e&&l>0&&0==--l&&(t.classList.remove("i-no-scroll"),a)){r(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=s()),t.style.paddingRight=(e<0?0:e)+"px",a=!1}}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>i});var s=n(59496),r=n(39640);function i(e){const{click:t,mouseDown:n,touchEnd:i,touchStart:o,handler:l,reference:a,ownerDocument:c=document}=e,u=(0,s.useRef)(null),d=(0,s.useRef)(new CustomEvent("timestamp").timeStamp);return(0,s.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:i,touchStart:o},s=a?a.current:u.current;return(0,r.addOutsideEventListener)(d.current,s,l,c,e)},[t,n,i,o,l]),a||u}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>r});var s=n(59496);class r extends s.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)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>s});const s=n(59496).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>_,Menu:()=>g}) -;var s=n(59496),r=n(97754),i=n.n(r),o=n(88537),l=n(64514),a=n(54475),c=n(50655),u=n(59064),d=n(88216),h=n(25760),p=n(14758),m=n(64706),f=n(16059);const _=f;class g extends s.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,s,r,i;if(this.state.isMeasureValid&&!t)return;const{position:a}=this.props,c=(0,o.ensureNotNull)(this._containerRef);let u=c.getBoundingClientRect();const d=document.documentElement.clientHeight,h=document.documentElement.clientWidth,p=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let m=d-0-p;const f=u.height>m;if(f){(0,o.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",u=c.getBoundingClientRect()}const{width:_,height:g}=u,v="function"==typeof a?a(_,g,d):a,y=h-(null!==(s=v.overrideWidth)&&void 0!==s?s:_)-0,x=(0,l.clamp)(v.x,0,Math.max(0,y)),C=0+p,w=d-(null!==(r=v.overrideHeight)&&void 0!==r?r:g)-0;let M=(0,l.clamp)(v.y,C,Math.max(C,w));if(v.forbidCorrectYCoord&&M{this._restoreScrollPosition(),e&&e()})},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,o.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null}))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout(()=>{this._handleMeasure({forceRecalcPosition:!0})},80)},this._handleScrollOutside=e=>{ -e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame(()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null})))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize);const t=null!==this.context;this._hotkeys||t||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this._handleGlobalClose()})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":r,children:o,minWidth:l,theme:u=f,className:d,maxHeight:h,onMouseOver:_,onMouseOut:g,onKeyDown:y,onFocus:x,onBlur:C}=this.props,{appearingMenuHeight:w,appearingMenuWidth:M,appearingPosition:b,isMeasureValid:S}=this.state;return s.createElement(m.MenuContext.Provider,{value:this},s.createElement(p.SubmenuHandler,null,s.createElement(c.SlotContext.Provider,{value:this._manager},s.createElement("div",{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":r,className:i()(d,u.menuWrap,!S&&u.isMeasuring),style:{height:w,left:b&&b.x,minWidth:l,position:"fixed",top:b&&b.y,width:M},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:_,onMouseOut:g,onKeyDown:y,onFocus:x,onBlur:C},s.createElement("div",{className:i()(u.scrollWrap,!this.props.noMomentumBasedScroll&&u.momentumBased),style:{overflowY:void 0!==w?"scroll":"auto",maxHeight:h},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},s.createElement(v,{className:u.menuBox},o)))),s.createElement(c.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}}function v(e){const t=(0,o.ensureNotNull)((0,s.useContext)(p.SubmenuContext)),n=s.useRef(null);return s.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(s=e.target,null===(r=n.current)||void 0===r?void 0:r.contains(s))))return;var s,r;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}g.contextType=p.SubmenuContext},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>i,getRootOverlapManager:()=>l}) -;var s=n(88537);class r{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 r,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 s=this._document.createElement("div");if(s.style.position=t.position,s.style.zIndex=this._index.toString(),s.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(s);else if(t.index<=0)this._container.insertBefore(s,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(s,e)}}else"reverse"===t.direction?this._container.insertBefore(s,this._container.firstChild):this._container.appendChild(s);return this._windows.set(e,s),++this._index,s}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 o=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,s.ensureDefined)(o.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 o.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>i});var s=n(59496),r=n(59064);const i=s.createContext(r.globalCloseDelegate)},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>c});var s=n(59496),r=n(87995),i=n(9423),o=n(88216),l=n(50655);class a extends s.PureComponent{constructor(){super(...arguments),this._uuid=(0,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||"",r.createPortal(s.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,o.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext -;const c=s.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>r,SlotContext:()=>i});var s=n(59496);class r extends s.Component{shouldComponentUpdate(){return!1}render(){return s.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const i=s.createContext(null)},14758:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>r,SubmenuHandler:()=>i});var s=n(59496);const r=s.createContext(null);function i(e){const[t,n]=(0,s.useState)(null),i=(0,s.useRef)(null),o=(0,s.useRef)(new Map);return(0,s.useEffect)(()=>()=>{null!==i.current&&clearTimeout(i.current)},[]),s.createElement(r.Provider,{value:{current:t,setCurrent:function(e){null!==i.current&&(clearTimeout(i.current),i.current=null);null===t?n(e):i.current=setTimeout(()=>{i.current=null,n(e)},100)},registerSubmenu:function(e,t){return o.current.set(e,t),()=>{o.current.delete(e)}},isSubmenuNode:function(e){return Array.from(o.current.values()).some(t=>t(e))}}},e.children)}}}]); \ No newline at end of file diff --git a/charting_library/bundles/107ad28074a1e10592eb2dc1a622a199.svg b/charting_library/bundles/107ad28074a1e10592eb2dc1a622a199.svg new file mode 100644 index 00000000..0d27444b --- /dev/null +++ b/charting_library/bundles/107ad28074a1e10592eb2dc1a622a199.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/107e8251a0eb3758b47077295437a81e.svg b/charting_library/bundles/107e8251a0eb3758b47077295437a81e.svg new file mode 100644 index 00000000..959ed12d --- /dev/null +++ b/charting_library/bundles/107e8251a0eb3758b47077295437a81e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1098c7da5fcb389d9ca6f1b830c9dc7b.svg b/charting_library/bundles/1098c7da5fcb389d9ca6f1b830c9dc7b.svg new file mode 100644 index 00000000..8cdf4ade --- /dev/null +++ b/charting_library/bundles/1098c7da5fcb389d9ca6f1b830c9dc7b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/111e5d0e64351b2f7ac606b653993cbe.svg b/charting_library/bundles/111e5d0e64351b2f7ac606b653993cbe.svg new file mode 100644 index 00000000..11e54250 --- /dev/null +++ b/charting_library/bundles/111e5d0e64351b2f7ac606b653993cbe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/115d41d15c6f506cd74214a1b277d0c9.svg b/charting_library/bundles/115d41d15c6f506cd74214a1b277d0c9.svg new file mode 100644 index 00000000..dcaa99e6 --- /dev/null +++ b/charting_library/bundles/115d41d15c6f506cd74214a1b277d0c9.svg @@ -0,0 +1 @@ + diff --git a/charting_library/bundles/118186fbbe46a3201d049161d17aa76a.svg b/charting_library/bundles/118186fbbe46a3201d049161d17aa76a.svg new file mode 100644 index 00000000..91da4a24 --- /dev/null +++ b/charting_library/bundles/118186fbbe46a3201d049161d17aa76a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/11cab6ced9c9b2073f5e8a987766f54f.svg b/charting_library/bundles/11cab6ced9c9b2073f5e8a987766f54f.svg new file mode 100644 index 00000000..2ae707ec --- /dev/null +++ b/charting_library/bundles/11cab6ced9c9b2073f5e8a987766f54f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1201.618e324514476ad87261.js b/charting_library/bundles/1201.618e324514476ad87261.js new file mode 100644 index 00000000..3ddaf622 --- /dev/null +++ b/charting_library/bundles/1201.618e324514476ad87261.js @@ -0,0 +1,94 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1201],{72589:e=>{e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return i(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a-1}t.exports=function(e){return e=e||window.navigator.userAgent,!(o(e)||i(e)||function(e){return e=e||window.navigator.userAgent,!!r(e)&&/Version\/[\d.]+/.test(e)&&!c(e)}(e)||c(e)||function(e){var t=(e=e||window.navigator.userAgent).match(/CriOS\/(\d+)\./);return!!t&&parseInt(t[1],10)<48}(e)||function(e){return!a(e)&&!s(e)&&/samsung/i.test(e)}(e))}},{"./is-android":4,"./is-chrome":6,"./is-ios-firefox":13,"./is-ios-webview":15,"./is-samsung":18}],20:[function(e,t,n){t.exports=e("./dist/is-android")},{"./dist/is-android":4}],21:[function(e,t,n){t.exports=e("./dist/is-chrome-os")},{"./dist/is-chrome-os":5}],22:[function(e,t,n){t.exports=e("./dist/is-chrome")},{"./dist/is-chrome":6}],23:[function(e,t,n){t.exports=e("./dist/is-edge")},{"./dist/is-edge":7}],24:[function(e,t,n){t.exports=e("./dist/is-firefox")},{"./dist/is-firefox":8}],25:[function(e,t,n){t.exports=e("./dist/is-ie")},{"./dist/is-ie":9}],26:[function(e,t,n){t.exports=e("./dist/is-ie10")},{"./dist/is-ie10":10}],27:[function(e,t,n){t.exports=e("./dist/is-ie9")},{"./dist/is-ie9":12}],28:[function(e,t,n){t.exports=e("./dist/is-ios-safari")},{"./dist/is-ios-safari":14}],29:[function(e,t,n){t.exports=e("./dist/is-ios-webview")},{"./dist/is-ios-webview":15}],30:[function(e,t,n){t.exports=e("./dist/is-ios-wkwebview")},{"./dist/is-ios-wkwebview":16}],31:[function(e,t,n){t.exports=e("./dist/is-ios")},{"./dist/is-ios":17}],32:[function(e,t,n){t.exports=e("./dist/supports-popups")},{"./dist/supports-popups":19}],33:[function(e,t,n){"use strict";function r(e){return e.className.trim().split(/\s+/)}function i(e){for(var t=[],n=1;n0},e.createChild=function(t){t.prototype=Object.create(e.prototype,{constructor:t})},e}();t.exports=r},{}],35:[function(e,t,n){"use strict";var r="undefined"!=typeof Promise?Promise:null,i=function(){function e(t){var n=this;"function"!=typeof t?(this._promise=new e.Promise((function(e,t){n._resolveFunction=e,n._rejectFunction=t})),t=t||{},this._onResolve=t.onResolve||e.defaultOnResolve,this._onReject=t.onReject||e.defaultOnReject,e.shouldCatchExceptions(t)&&this._promise.catch((function(){})),this._resetState()):this._promise=new e.Promise(t)}return e.defaultOnResolve=function(t){return e.Promise.resolve(t)},e.defaultOnReject=function(t){return e.Promise.reject(t)},e.setPromise=function(t){e.Promise=t},e.shouldCatchExceptions=function(t){return t.hasOwnProperty("suppressUnhandledPromiseMessage")?Boolean(t.suppressUnhandledPromiseMessage):Boolean(e.suppressUnhandledPromiseMessage)},e.all=function(t){return e.Promise.all(t)},e.allSettled=function(t){return e.Promise.allSettled(t)},e.race=function(t){return e.Promise.race(t)},e.reject=function(t){return e.Promise.reject(t)},e.resolve=function(t){return e.Promise.resolve(t)},e.prototype.then=function(){for(var e,t=[],n=0;n=a&&(c.matchStrength=a),n.push(c);break}}}},{"./clone":48,"./matches":51}],47:[function(e,t,n){"use strict";t.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[624,626],[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[622019,622999],[62207,62209],[622126,622925],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19], +code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},{}],48:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.clone=void 0,n.clone=function(e){return e?JSON.parse(JSON.stringify(e)):null}},{}],49:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.findBestMatch=void 0,n.findBestMatch=function(e){return function(e){var t=e.filter((function(e){return e.matchStrength})).length;return t>0&&t===e.length}(e)?e.reduce((function(e,t){return e?Number(e.matchStrength)=t&&o<=n}(e,t[0],t[1]):function(e,t){return(t=String(t)).substring(0,e.length)===e.substring(0,t.length)}(e,t)}},{}],52:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Framebus=void 0;var r=e("./lib/is-not-string"),i=e("./lib/subscription-args-invalid"),o=e("./lib/broadcast"),a=e("./lib/package-payload"),s=e("./lib/constants"),c="undefined"!=typeof window&&window.Promise,l=function(){function e(e){void 0===e&&(e={}),this.origin=e.origin||"*",this.channel=e.channel||"",this.verifyDomain=e.verifyDomain,this.isDestroyed=!1,this.listeners=[]}return e.setPromise=function(t){e.Promise=t},e.target=function(t){return new e(t)},e.prototype.include=function(e){return null!=e&&null!=e.Window&&e.constructor===e.Window&&(s.childWindows.push(e),!0)},e.prototype.target=function(t){return e.target(t)},e.prototype.emit=function(e,t,n){if(this.isDestroyed)return!1;var i=this.origin;if(e=this.namespaceEvent(e),r.isntString(e))return!1;if(r.isntString(i))return!1;"function"==typeof t&&(n=t,t=void 0) +;var s=a.packagePayload(e,i,t,n);return!!s&&(o.broadcast(window.top||window.self,s,i),!0)},e.prototype.emitAsPromise=function(t,n){var r=this;return new e.Promise((function(e,i){r.emit(t,n,(function(t){e(t)}))||i(new Error('Listener not added for "'+t+'"'))}))},e.prototype.on=function(e,t){if(this.isDestroyed)return!1;var n=this,r=this.origin,o=t;return e=this.namespaceEvent(e),!i.subscriptionArgsInvalid(e,o,r)&&(this.verifyDomain&&(o=function(){for(var e=[],r=0;r=0;o--){var a=i.childWindows[o];a.closed?i.childWindows.splice(o,1):n!==a&&r.broadcast(a.top,e,t)}}},{"./broadcast":56,"./constants":57}],56:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.broadcast=void 0;var r=e("./has-opener");n.broadcast=function e(t,n,i){var o,a=0;try{for(t.postMessage(n,i),r.hasOpener(t)&&t.opener.top!==window.top&&e(t.opener.top,n,i);o=t.frames[a];)e(o,n,i),a++}catch(e){}}},{"./has-opener":59}],57:[function(e,t,n){"use strict" +;Object.defineProperty(n,"__esModule",{value:!0}),n.subscribers=n.childWindows=n.prefix=void 0,n.prefix="/*framebus*/",n.childWindows=[],n.subscribers={}},{}],58:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.dispatch=void 0;var r=e("./constants");n.dispatch=function(e,t,n,i,o){if(r.subscribers[e]&&r.subscribers[e][t]){var a=[];n&&a.push(n),i&&a.push(i);for(var s=0;s-1}(e)}},{"@braintree/browser-detection/is-android":20,"@braintree/browser-detection/is-chrome":22,"@braintree/browser-detection/is-chrome-os":21,"@braintree/browser-detection/is-ie9":27,"@braintree/browser-detection/is-ios":31}],68:[function(e,t,n){"use strict";var r=e("./lib/device");t.exports=function(){return!r.isSamsungBrowser()}},{"./lib/device":67}],69:[function(e,t,n){t.exports=e("./dist/supports-input-formatting")},{"./dist/supports-input-formatting":68}],70:[function(e,t,n){"use strict";var r=e("../lib/braintree-error"),i=e("./errors"),o=e("../lib/assign").assign,a=e("../lib/promise"),s=e("../lib/methods"),c=e("../lib/convert-methods-to-error"),l=e("@braintree/wrap-promise");function u(e){this._client=e.client}u.prototype.getRewardsBalance=function(e){var t,n=e.nonce;return n?(delete(t=o({_meta:{source:"american-express"},paymentMethodNonce:n},e)).nonce,this._client.request({method:"get",endpoint:"payment_methods/amex_rewards_balance",data:t}).catch((function(e){return a.reject(new r({type:i.AMEX_NETWORK_ERROR.type,code:i.AMEX_NETWORK_ERROR.code,message:"A network error occurred when getting the American Express rewards balance.",details:{originalError:e}}))}))):a.reject(new r({type:i.AMEX_NONCE_REQUIRED.type,code:i.AMEX_NONCE_REQUIRED.code,message:"getRewardsBalance must be called with a nonce."}))},u.prototype.getExpressCheckoutProfile=function(e){return e.nonce?this._client.request({method:"get",endpoint:"payment_methods/amex_express_checkout_cards/"+e.nonce,data:{_meta:{source:"american-express"},paymentMethodNonce:e.nonce}}).catch((function(e){return a.reject(new r({type:i.AMEX_NETWORK_ERROR.type,code:i.AMEX_NETWORK_ERROR.code,message:"A network error occurred when getting the American Express Checkout nonce profile.",details:{originalError:e}}))})):a.reject(new r({type:i.AMEX_NONCE_REQUIRED.type,code:i.AMEX_NONCE_REQUIRED.code, +message:"getExpressCheckoutProfile must be called with a nonce."}))},u.prototype.teardown=function(){return c(this,s(u.prototype)),a.resolve()},t.exports=l.wrapPrototype(u)},{"../lib/assign":123,"../lib/braintree-error":126,"../lib/convert-methods-to-error":129,"../lib/methods":157,"../lib/promise":159,"./errors":71,"@braintree/wrap-promise":44}],71:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={AMEX_NONCE_REQUIRED:{type:r.types.MERCHANT,code:"AMEX_NONCE_REQUIRED"},AMEX_NETWORK_ERROR:{type:r.types.NETWORK,code:"AMEX_NETWORK_ERROR"}}},{"../lib/braintree-error":126}],72:[function(e,t,n){"use strict";var r=e("./american-express"),i=e("../lib/basic-component-verification"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("@braintree/wrap-promise");t.exports={create:s((function(e){var t="American Express";return i.verify({name:t,client:e.client,authorization:e.authorization}).then((function(){return o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t})})).then((function(t){return e.client=t,new r(e)}))})),VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"./american-express":70,"@braintree/wrap-promise":44}],73:[function(e,t,n){"use strict";var r=e("../lib/braintree-error"),i=e("../lib/analytics"),o=e("./errors"),a=e("../lib/promise"),s=e("../lib/methods"),c=e("../lib/convert-methods-to-error"),l=e("@braintree/wrap-promise");function u(e){this._instantiatedWithClient=Boolean(!e.useDeferredClient),this._client=e.client,this._createPromise=e.createPromise,this._client&&this._setMerchantIdentifier()}u.prototype._waitForClient=function(){return this._client?a.resolve():this._createPromise.then(function(e){this._client=e,this._setMerchantIdentifier()}.bind(this))},u.prototype._setMerchantIdentifier=function(){var e=this._client.getConfiguration().gatewayConfiguration.applePayWeb;e&&Object.defineProperty(this,"merchantIdentifier",{value:e.merchantIdentifier,configurable:!1,writable:!1})},u.prototype.createPaymentRequest=function(e){return this._instantiatedWithClient?this._createPaymentRequestSynchronously(e):this._waitForClient().then(function(){return this._createPaymentRequestSynchronously(e)}.bind(this))},u.prototype._createPaymentRequestSynchronously=function(e){var t=this._client.getConfiguration().gatewayConfiguration.applePayWeb,n={countryCode:t.countryCode,currencyCode:t.currencyCode,merchantCapabilities:t.merchantCapabilities||["supports3DS"],supportedNetworks:t.supportedNetworks.map((function(e){return"mastercard"===e?"masterCard":e}))};return Object.assign({},n,e)},u.prototype.performValidation=function(e){var t=this;return e&&e.validationURL?this._waitForClient().then((function(){var n={validationUrl:e.validationURL,domainName:e.domainName||window.location.hostname,merchantIdentifier:e.merchantIdentifier||t.merchantIdentifier};return null!=e.displayName&&(n.displayName=e.displayName),t._client.request({method:"post", +endpoint:"apple_pay_web/sessions",data:{_meta:{source:"apple-pay"},applePayWebSession:n}})})).then((function(e){return i.sendEvent(t._client,"applepay.performValidation.succeeded"),a.resolve(e)})).catch((function(e){return i.sendEvent(t._client,"applepay.performValidation.failed"),"CLIENT_REQUEST_ERROR"===e.code?a.reject(new r({type:o.APPLE_PAY_MERCHANT_VALIDATION_FAILED.type,code:o.APPLE_PAY_MERCHANT_VALIDATION_FAILED.code,message:o.APPLE_PAY_MERCHANT_VALIDATION_FAILED.message,details:{originalError:e.details.originalError}})):a.reject(new r({type:o.APPLE_PAY_MERCHANT_VALIDATION_NETWORK.type,code:o.APPLE_PAY_MERCHANT_VALIDATION_NETWORK.code,message:o.APPLE_PAY_MERCHANT_VALIDATION_NETWORK.message,details:{originalError:e}}))})):a.reject(new r(o.APPLE_PAY_VALIDATION_URL_REQUIRED))},u.prototype.tokenize=function(e){var t=this;return e.token?this._waitForClient().then((function(){return t._client.request({method:"post",endpoint:"payment_methods/apple_payment_tokens",data:{_meta:{source:"apple-pay"},applePaymentToken:Object.assign({},e.token,{paymentData:btoa(JSON.stringify(e.token.paymentData))})}})})).then((function(e){return i.sendEvent(t._client,"applepay.tokenize.succeeded"),a.resolve(e.applePayCards[0])})).catch((function(e){return i.sendEvent(t._client,"applepay.tokenize.failed"),a.reject(new r({type:o.APPLE_PAY_TOKENIZATION.type,code:o.APPLE_PAY_TOKENIZATION.code,message:o.APPLE_PAY_TOKENIZATION.message,details:{originalError:e}}))})):a.reject(new r(o.APPLE_PAY_PAYMENT_TOKEN_REQUIRED))},u.prototype.teardown=function(){return c(this,s(u.prototype)),a.resolve()},t.exports=l.wrapPrototype(u)},{"../lib/analytics":121,"../lib/braintree-error":126,"../lib/convert-methods-to-error":129,"../lib/methods":157,"../lib/promise":159,"./errors":74,"@braintree/wrap-promise":44}],74:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={APPLE_PAY_NOT_ENABLED:{type:r.types.MERCHANT,code:"APPLE_PAY_NOT_ENABLED",message:"Apple Pay is not enabled for this merchant."},APPLE_PAY_VALIDATION_URL_REQUIRED:{type:r.types.MERCHANT,code:"APPLE_PAY_VALIDATION_URL_REQUIRED",message:"performValidation must be called with a validationURL."},APPLE_PAY_MERCHANT_VALIDATION_NETWORK:{type:r.types.NETWORK,code:"APPLE_PAY_MERCHANT_VALIDATION_NETWORK",message:"A network error occurred when validating the Apple Pay merchant."},APPLE_PAY_MERCHANT_VALIDATION_FAILED:{type:r.types.MERCHANT,code:"APPLE_PAY_MERCHANT_VALIDATION_FAILED",message:"Make sure you have registered your domain name in the Braintree Control Panel."},APPLE_PAY_PAYMENT_TOKEN_REQUIRED:{type:r.types.MERCHANT,code:"APPLE_PAY_PAYMENT_TOKEN_REQUIRED",message:"tokenize must be called with a payment token."},APPLE_PAY_TOKENIZATION:{type:r.types.NETWORK,code:"APPLE_PAY_TOKENIZATION",message:"A network error occurred when processing the Apple Pay payment."}}},{"../lib/braintree-error":126}],75:[function(e,t,n){"use strict" +;var r=e("./apple-pay"),i=e("../lib/analytics"),o=e("../lib/braintree-error"),a=e("../lib/basic-component-verification"),s=e("../lib/create-assets-url"),c=e("../lib/create-deferred-client"),l=e("../lib/promise"),u=e("./errors"),d=e("@braintree/wrap-promise");t.exports={create:d((function(e){return a.verify({name:"Apple Pay",client:e.client,authorization:e.authorization}).then((function(){var t,n=c.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:s.create(e.authorization),name:"Apple Pay"}).then((function(e){return e.getConfiguration().gatewayConfiguration.applePayWeb?(i.sendEvent(e,"applepay.initialized"),e):l.reject(new o(u.APPLE_PAY_NOT_ENABLED))}));return e.createPromise=n,t=new r(e),e.useDeferredClient?t:n.then((function(e){return t._client=e,t}))}))})),VERSION:"3.76.4"}},{"../lib/analytics":121,"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./apple-pay":73,"./errors":74,"@braintree/wrap-promise":44}],76:[function(e,t,n){"use strict";var r=e("@braintree/browser-detection/is-ie"),i=e("@braintree/browser-detection/is-ie9");t.exports={isIe:r,isIe9:i}},{"@braintree/browser-detection/is-ie":25,"@braintree/browser-detection/is-ie9":27}],77:[function(e,t,n){"use strict";var r=e("./constants").BRAINTREE_VERSION,i=e("./request/graphql"),o=e("./request"),a=e("../lib/is-verified-domain"),s=e("../lib/braintree-error"),c=e("../lib/convert-to-braintree-error"),l=e("./get-configuration").getConfiguration,u=e("../lib/create-authorization-data"),d=e("../lib/add-metadata"),p=e("../lib/promise"),_=e("@braintree/wrap-promise"),E=e("../lib/once"),h=e("../lib/deferred"),f=e("../lib/assign").assign,m=e("../lib/analytics"),y=e("./errors"),A=e("../lib/constants").VERSION,T=e("../lib/constants").GRAPHQL_URLS,I=e("../lib/methods"),N=e("../lib/convert-methods-to-error"),b=e("../lib/assets"),O=e("../lib/constants").FRAUDNET_FNCLS,g=e("../lib/constants").FRAUDNET_SOURCE,v=e("../lib/constants").FRAUDNET_URL,P={};function R(e){var t,n;if(e=e||{},t=JSON.stringify(e),!(n=e.gatewayConfiguration))throw new s(y.CLIENT_MISSING_GATEWAY_CONFIGURATION);["assetsUrl","clientApiUrl","configUrl"].forEach((function(e){if(e in n&&!a(n[e]))throw new s({type:y.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.type,code:y.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.code,message:e+" property is on an invalid domain."})})),this.getConfiguration=function(){return JSON.parse(t)},this._request=o,this._configuration=this.getConfiguration(),this._clientApiBaseUrl=n.clientApiUrl+"/v1/",n.graphQL&&(this._graphQL=new i({graphQL:n.graphQL}))}R.initialize=function(e){var t,n,r=P[e.authorization];if(r)return m.sendEvent(r,"custom.client.load.cached"),r;try{n=u(e.authorization)}catch(e){return p.reject(new s(y.CLIENT_INVALID_AUTHORIZATION))}return r=l(n).then((function(n){return e.debug&&(n.isDebug=!0),n.authorization=e.authorization,t=new R(n)})),P[e.authorization]=r,m.sendEvent(r,"custom.client.load.initialized"),r.then((function(e){ +return m.sendEvent(t,"custom.client.load.succeeded"),e})).catch((function(t){return delete P[e.authorization],p.reject(t)}))},R.clearCache=function(){P={}},R.prototype._findOrCreateFraudnetJSON=function(e){var t,n,r,i,o=document.querySelector('script[fncls="'+O+'"]');o||((o=document.body.appendChild(document.createElement("script"))).type="application/json",o.setAttribute("fncls",O)),t=this.getConfiguration(),n={rda_tenant:"bt_card",mid:t.gatewayConfiguration.merchantId},(r=t.authorizationFingerprint)&&r.split("&").forEach((function(e){var t=e.split("=");"customer_id"===t[0]&&t.length>1&&(n.cid=t[1])})),i={f:e.substr(0,32),fp:n,bu:!1,s:g},o.text=JSON.stringify(i)},R.prototype.request=function(e,t){var n=this,i=new p((function(t,i){var o,a,l,u,p,_=Boolean("payment_methods/credit_cards"===e.endpoint&&n.getConfiguration().gatewayConfiguration.creditCards.collectDeviceData);if("graphQLApi"!==e.api&&(e.method?e.endpoint||(o="options.endpoint"):o="options.method"),o)throw new s({type:y.CLIENT_OPTION_REQUIRED.type,code:y.CLIENT_OPTION_REQUIRED.code,message:o+" is required when making a request."});if(a="api"in e?e.api:"clientApi",u={method:e.method,graphQL:n._graphQL,timeout:e.timeout,metadata:n._configuration.analyticsMetadata},"clientApi"===a)l=n._clientApiBaseUrl,u.data=d(n._configuration,e.data);else{if("graphQLApi"!==a)throw new s({type:y.CLIENT_OPTION_INVALID.type,code:y.CLIENT_OPTION_INVALID.code,message:"options.api is invalid."});l=T[n._configuration.gatewayConfiguration.environment],e.endpoint="",u.method="post",u.data=f({clientSdkMetadata:{platform:n._configuration.analyticsMetadata.platform,source:n._configuration.analyticsMetadata.source,integration:n._configuration.analyticsMetadata.integration,sessionId:n._configuration.analyticsMetadata.sessionId,version:A}},e.data),u.headers={Authorization:"Bearer "+((p=n._configuration).authorizationFingerprint||p.authorization),"Braintree-Version":r}}u.url=l+e.endpoint,u.sendAnalyticsEvent=function(e){m.sendEvent(n,e)},n._request(u,(function(e,r,o){var l,u;(u=function(e,t){var n;if(-1===e?n=new s(y.CLIENT_REQUEST_TIMEOUT):401===e?n=new s(y.CLIENT_AUTHORIZATION_INVALID):403===e?n=new s(y.CLIENT_AUTHORIZATION_INSUFFICIENT):429===e?n=new s(y.CLIENT_RATE_LIMITED):e>=500?n=new s(y.CLIENT_GATEWAY_NETWORK):(e<200||e>=400)&&(n=c(t,{type:y.CLIENT_REQUEST_ERROR.type,code:y.CLIENT_REQUEST_ERROR.code,message:y.CLIENT_REQUEST_ERROR.message})),n)return n.details=n.details||{},n.details.httpStatus=e,n}(o,e))?i(u):"graphQLApi"===a&&r.errors?i(c(r.errors,{type:y.CLIENT_GRAPHQL_REQUEST_ERROR.type,code:y.CLIENT_GRAPHQL_REQUEST_ERROR.code,message:y.CLIENT_GRAPHQL_REQUEST_ERROR.message})):(l=f({_httpStatus:o},r),_&&l.creditCards&&l.creditCards.length>0&&(n._findOrCreateFraudnetJSON(l.creditCards[0].nonce),b.loadScript({src:v,forceScriptReload:!0})),t(l))}))}));return"function"==typeof t?(t=E(h(t)),void i.then((function(e){t(null,e,e._httpStatus)})).catch((function(e){var n=e&&e.details&&e.details.httpStatus;t(e,null,n)}))):i},R.prototype.toJSON=function(){return this.getConfiguration()}, +R.prototype.getVersion=function(){return A},R.prototype.teardown=_((function(){return delete P[this.getConfiguration().authorization],N(this,I(R.prototype)),p.resolve()})),t.exports=R},{"../lib/add-metadata":120,"../lib/analytics":121,"../lib/assets":122,"../lib/assign":123,"../lib/braintree-error":126,"../lib/constants":128,"../lib/convert-methods-to-error":129,"../lib/convert-to-braintree-error":130,"../lib/create-authorization-data":132,"../lib/deferred":134,"../lib/is-verified-domain":155,"../lib/methods":157,"../lib/once":158,"../lib/promise":159,"./constants":78,"./errors":79,"./get-configuration":80,"./request":92,"./request/graphql":90,"@braintree/wrap-promise":44}],78:[function(e,t,n){"use strict";t.exports={BRAINTREE_VERSION:"2018-05-10"}},{}],79:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN:{type:r.types.MERCHANT,code:"CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN"},CLIENT_OPTION_REQUIRED:{type:r.types.MERCHANT,code:"CLIENT_OPTION_REQUIRED"},CLIENT_OPTION_INVALID:{type:r.types.MERCHANT,code:"CLIENT_OPTION_INVALID"},CLIENT_MISSING_GATEWAY_CONFIGURATION:{type:r.types.INTERNAL,code:"CLIENT_MISSING_GATEWAY_CONFIGURATION",message:"Missing gatewayConfiguration."},CLIENT_INVALID_AUTHORIZATION:{type:r.types.MERCHANT,code:"CLIENT_INVALID_AUTHORIZATION",message:"Authorization is invalid. Make sure your client token or tokenization key is valid."},CLIENT_GATEWAY_NETWORK:{type:r.types.NETWORK,code:"CLIENT_GATEWAY_NETWORK",message:"Cannot contact the gateway at this time."},CLIENT_REQUEST_TIMEOUT:{type:r.types.NETWORK,code:"CLIENT_REQUEST_TIMEOUT",message:"Request timed out waiting for a reply."},CLIENT_REQUEST_ERROR:{type:r.types.NETWORK,code:"CLIENT_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_GRAPHQL_REQUEST_ERROR:{type:r.types.NETWORK,code:"CLIENT_GRAPHQL_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_RATE_LIMITED:{type:r.types.MERCHANT,code:"CLIENT_RATE_LIMITED",message:"You are being rate-limited; please try again in a few minutes."},CLIENT_AUTHORIZATION_INSUFFICIENT:{type:r.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INSUFFICIENT",message:"The authorization used has insufficient privileges."},CLIENT_AUTHORIZATION_INVALID:{type:r.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INVALID",message:"Either the client token has expired and a new one should be generated or the tokenization key has been deactivated or deleted."}}},{"../lib/braintree-error":126}],80:[function(e,t,n){"use strict";var r=e("../lib/braintree-error"),i=e("../lib/promise"),o=e("@braintree/wrap-promise"),a=e("./request"),s=e("@braintree/uuid"),c=e("../lib/constants"),l=e("./errors"),u=e("./request/graphql"),d=e("../lib/constants").GRAPHQL_URLS,p=e("../lib/is-date-string-before-or-on"),_=e("./constants").BRAINTREE_VERSION;t.exports={getConfiguration:o((function(e){return new i((function(t,n){var i,o,E,h,f=s(),m={merchantAppId:window.location.host,platform:c.PLATFORM,sdkVersion:c.VERSION,source:c.SOURCE,integration:c.INTEGRATION, +integrationType:c.INTEGRATION,sessionId:f};o=e.attrs,E=e.configUrl,o._meta=m,o.braintreeLibraryVersion=c.BRAINTREE_LIBRARY_VERSION,o.configVersion="3",h={url:E,method:"GET",data:o},o.authorizationFingerprint&&e.graphQL?(p(e.graphQL.date,_)&&(h.graphQL=new u({graphQL:{url:e.graphQL.url,features:["configuration"]}})),h.metadata=m):o.tokenizationKey&&(h.graphQL=new u({graphQL:{url:d[e.environment],features:["configuration"]}}),h.metadata=m),a(h,(function(e,a,s){var c;if(e)return c=403===s?l.CLIENT_AUTHORIZATION_INSUFFICIENT:401===s?l.CLIENT_AUTHORIZATION_INVALID:l.CLIENT_GATEWAY_NETWORK,void n(new r({type:c.type,code:c.code,message:c.message,details:{originalError:e}}));i={authorizationType:o.tokenizationKey?"TOKENIZATION_KEY":"CLIENT_TOKEN",authorizationFingerprint:o.authorizationFingerprint,analyticsMetadata:m,gatewayConfiguration:a},t(i)}))}))}))}},{"../lib/braintree-error":126,"../lib/constants":128,"../lib/is-date-string-before-or-on":153,"../lib/promise":159,"./constants":78,"./errors":79,"./request":92,"./request/graphql":90,"@braintree/uuid":40,"@braintree/wrap-promise":44}],81:[function(e,t,n){"use strict";var r=e("../lib/braintree-error"),i=e("./client"),o=e("../lib/promise"),a=e("@braintree/wrap-promise"),s=e("../lib/errors");t.exports={create:a((function(e){return e.authorization?i.initialize(e):o.reject(new r({type:s.INSTANTIATION_OPTION_REQUIRED.type,code:s.INSTANTIATION_OPTION_REQUIRED.code,message:"options.authorization is required when instantiating a client."}))})),VERSION:"3.76.4"}},{"../lib/braintree-error":126,"../lib/errors":137,"../lib/promise":159,"./client":77,"@braintree/wrap-promise":44}],82:[function(e,t,n){"use strict";var r=e("../../lib/querystring"),i=e("../../lib/assign").assign,o=e("./prep-body"),a=e("./parse-body"),s=e("./xhr"),c=s.isAvailable,l=e("./graphql/request"),u=e("./default-request");t.exports={request:function(e,t){!function e(t,n,d){var p,_,E,h,f,m,y,A=t.url,T=t.graphQL,I=t.timeout,N=s.getRequestObject(),b=d,O=Boolean(T&&T.isGraphQLRequest(A,t.data));t.headers=i({"Content-Type":"application/json"},t.headers),A=(E=O?new l(t):new u(t)).getUrl(),h=E.getBody(),f=E.getMethod(),m=E.getHeaders(),"GET"===f&&(A=r.queryify(A,h),h=null),c?N.onreadystatechange=function(){if(4===N.readyState){if(0===N.status&&O)return delete t.graphQL,void e(t,n,d);if(y=a(N.responseText),_=E.adaptResponseBody(y),(p=E.determineStatus(N.status,y))>=400||p<200){if(O&&function(e){var t=!e.data&&e.errors&&e.errors[0]&&e.errors[0].extensions&&e.errors[0].extensions.errorClass;return"UNKNOWN"===t||"INTERNAL"===t}(y))return delete t.graphQL,void e(t,n,d);if(n<1&&function(e){return!e||408===e}(p))return n++,void e(t,n,d);b(_||"error",null,p||500)}else b(null,_,p)}}:(t.headers&&(A=r.queryify(A,m)),N.onload=function(){b(null,a(N.responseText),N.status)},N.onerror=function(){b("error",null,500)},N.onprogress=function(){},N.ontimeout=function(){b("timeout",null,-1)});try{N.open(f,A,!0)}catch(r){if(!O)throw r;return delete t.graphQL,void e(t,n,d)}N.timeout=I,c&&Object.keys(m).forEach((function(e){ +N.setRequestHeader(e,m[e])}));try{N.send(o(f,h))}catch(e){}}(e,0,t)}}},{"../../lib/assign":123,"../../lib/querystring":160,"./default-request":83,"./graphql/request":91,"./parse-body":95,"./prep-body":96,"./xhr":97}],83:[function(e,t,n){"use strict";function r(e){this._url=e.url,this._data=e.data,this._method=e.method,this._headers=e.headers}r.prototype.getUrl=function(){return this._url},r.prototype.getBody=function(){return this._data},r.prototype.getMethod=function(){return this._method},r.prototype.getHeaders=function(){return this._headers},r.prototype.adaptResponseBody=function(e){return e},r.prototype.determineStatus=function(e){return e},t.exports=r},{}],84:[function(e,t,n){"use strict";t.exports=function(){return window.navigator.userAgent}},{}],85:[function(e,t,n){"use strict";var r=e("./error"),i=e("../../../../lib/assign").assign,o={AMERICAN_EXPRESS:"American Express",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",SOLO:"Solo",UK_MAESTRO:"UK Maestro",UNION_PAY:"UnionPay",VISA:"Visa"},a={VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro"},s={VISA:"Visa",MASTERCARD:"MasterCard",DISCOVER:"Discover",AMERICAN_EXPRESS:"American Express"},c={VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex"},l={VISA:"visa",MASTERCARD:"master",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",DINERS:"diners",INTERNATIONAL_MAESTRO:"maestro",JCB:"jcb"};function u(e,t){return e.reduce((function(e,n){return t.hasOwnProperty(n)?e.concat(t[n]):e}),[])}t.exports=function(e,t){return e.data&&!e.errors?function(e,t){var n,r=e.data.clientConfiguration;return n={environment:r.environment.toLowerCase(),clientApiUrl:r.clientApiUrl,assetsUrl:r.assetsUrl,analytics:{url:r.analyticsUrl},merchantId:r.merchantId,venmo:"off"},r.supportedFeatures&&(n.graphQL={url:t._graphQL._config.url,features:r.supportedFeatures.map((function(e){return e.toLowerCase()}))}),r.braintreeApi&&(n.braintreeApi=r.braintreeApi),r.applePayWeb&&(n.applePayWeb=r.applePayWeb,n.applePayWeb.supportedNetworks=u(r.applePayWeb.supportedCardBrands,a),delete n.applePayWeb.supportedCardBrands),r.ideal&&(n.ideal=r.ideal),r.kount&&(n.kount={kountMerchantId:r.kount.merchantId}),r.creditCard?(n.challenges=r.creditCard.challenges.map((function(e){return e.toLowerCase()})),n.creditCards={supportedCardTypes:u(r.creditCard.supportedCardBrands,o)},n.threeDSecureEnabled=r.creditCard.threeDSecureEnabled,n.threeDSecure=r.creditCard.threeDSecure):(n.challenges=[],n.creditCards={supportedCardTypes:[]},n.threeDSecureEnabled=!1),r.googlePay&&(n.androidPay={displayName:r.googlePay.displayName,enabled:!0,environment:r.googlePay.environment.toLowerCase(),googleAuthorizationFingerprint:r.googlePay.googleAuthorization,paypalClientId:r.googlePay.paypalClientId,supportedNetworks:u(r.googlePay.supportedCardBrands,c)}),r.venmo&&(n.payWithVenmo={merchantId:r.venmo.merchantId,accessToken:r.venmo.accessToken,environment:r.venmo.environment.toLowerCase()}),r.paypal?(n.paypalEnabled=!0, +n.paypal=i({},r.paypal),n.paypal.currencyIsoCode=n.paypal.currencyCode,n.paypal.environment=n.paypal.environment.toLowerCase(),delete n.paypal.currencyCode):n.paypalEnabled=!1,r.unionPay&&(n.unionPay={enabled:!0,merchantAccountId:r.unionPay.merchantAccountId}),r.visaCheckout&&(n.visaCheckout={apikey:r.visaCheckout.apiKey,externalClientId:r.visaCheckout.externalClientId,supportedCardTypes:u(r.visaCheckout.supportedCardBrands,s)}),r.masterpass&&(n.masterpass={merchantCheckoutId:r.masterpass.merchantCheckoutId,supportedNetworks:u(r.masterpass.supportedCardBrands,l)}),r.usBankAccount&&(n.usBankAccount={routeId:r.usBankAccount.routeId,plaid:{publicKey:r.usBankAccount.plaidPublicKey}}),n}(e,t):r(e)}},{"../../../../lib/assign":123,"./error":87}],86:[function(e,t,n){"use strict";var r=e("./error"),i={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"Union Pay",VISA:"Visa"},o={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},a={PSDTWO:"psd2"};t.exports=function(e){return e.data&&!e.errors?(s=e.data.tokenizeCreditCard,c=s.creditCard,l=c.last4?c.last4.substr(2,4):"",(u=c.binData)&&(["commercial","debit","durbinRegulated","healthcare","payroll","prepaid"].forEach((function(e){u[e]?u[e]=o[u[e]]:u[e]="Unknown"})),["issuingBank","countryOfIssuance","productId"].forEach((function(e){u[e]||(u[e]="Unknown")}))),t={creditCards:[{binData:u,consumed:!1,description:l?"ending in "+l:"",nonce:s.token,details:{cardholderName:c.cardholderName,expirationMonth:c.expirationMonth,expirationYear:c.expirationYear,bin:c.bin||"",cardType:i[c.brandCode]||"Unknown",lastFour:c.last4||"",lastTwo:l},type:"CreditCard",threeDSecureInfo:null}]},s.authenticationInsight&&(n=s.authenticationInsight.customerAuthenticationRegulationEnvironment,t.creditCards[0].authenticationInsight={regulationEnvironment:a[n]||n.toLowerCase()}),t):r(e);var t,n,s,c,l,u}},{"./error":87}],87:[function(e,t,n){"use strict";t.exports=function(e){var t=e.errors&&e.errors[0]&&e.errors[0].extensions&&e.errors[0].extensions.errorClass;return"VALIDATION"===t?function(e){var t,n,r=function(e){var t=[];return e.forEach((function(e){e.extensions&&e.extensions.inputPath&&function e(t,n,r){var i,o=n.extensions.legacyCode,a=t[0];1!==t.length?(r.forEach((function(e){e.field===a&&(i=e)})),i||(i={field:a,fieldErrors:[]},r.push(i)),e(t.slice(1),n,i.fieldErrors)):r.push({code:o,field:a,message:n.message})}(e.extensions.inputPath.slice(1),e,t)})),t}(e.errors);return 0===r.length?{error:{message:e.errors[0].message}}:{error:{message:(t=r,n=t[0].field,{creditCard:"Credit card is invalid"}[n])},fieldErrors:r}}(e):t?function(e){return{error:{message:e.errors[0].message},fieldErrors:[]}}(e):{error:{message:"There was a problem serving your request"},fieldErrors:[]}}},{}],88:[function(e,t,n){"use strict";t.exports=function(){return{ +query:"query ClientConfiguration { clientConfiguration { analyticsUrl environment merchantId assetsUrl clientApiUrl creditCard { supportedCardBrands challenges threeDSecureEnabled threeDSecure { cardinalAuthenticationJWT } } applePayWeb { countryCode currencyCode merchantIdentifier supportedCardBrands } googlePay { displayName supportedCardBrands environment googleAuthorization paypalClientId } ideal { routeId assetsUrl } kount { merchantId } masterpass { merchantCheckoutId supportedCardBrands } paypal { displayName clientId privacyUrl userAgreementUrl assetsUrl environment environmentNoNetwork unvettedMerchant braintreeClientId billingAgreementsEnabled merchantAccountId currencyCode payeeEmail } unionPay { merchantAccountId } usBankAccount { routeId plaidPublicKey } venmo { merchantId accessToken environment } visaCheckout { apiKey externalClientId supportedCardBrands } braintreeApi { accessToken url } supportedFeatures } }",operationName:"ClientConfiguration"}}},{}],89:[function(e,t,n){"use strict";var r=e("../../../../lib/assign").assign;function i(e,t){var n=e.creditCard,i=n&&n.billingAddress,o=n&&n.expirationDate,a=n&&(n.expirationMonth||o&&o.split("/")[0].trim()),s=n&&(n.expirationYear||o&&o.split("/")[1].trim()),c={input:{creditCard:{number:n&&n.number,expirationMonth:a,expirationYear:s,cvv:n&&n.cvv,cardholderName:n&&n.cardholderName},options:{}}};return t.hasAuthenticationInsight&&(c.authenticationInsightInput={merchantAccountId:e.merchantAccountId}),i&&(c.input.creditCard.billingAddress=i),c.input=function(e,t){var n;return e.creditCard&&e.creditCard.options&&"boolean"==typeof e.creditCard.options.validate?n=e.creditCard.options.validate:e.authorizationFingerprint&&e.tokenizationKey||e.authorizationFingerprint?n=!0:e.tokenizationKey&&(n=!1),"boolean"==typeof n&&(t.options=r({validate:n},t.options)),t}(e,c.input),c}t.exports=function(e){var t,n,r,o={hasAuthenticationInsight:Boolean(e.authenticationInsight&&e.merchantAccountId)};return{query:(t=o,n=t.hasAuthenticationInsight,r="mutation TokenizeCreditCard($input: TokenizeCreditCardInput!",n&&(r+=", $authenticationInsightInput: AuthenticationInsightInput!"),r+=") { tokenizeCreditCard(input: $input) { token creditCard { bin brandCode last4 cardholderName expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId } } ",n&&(r+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),r+=" } }"), +variables:i(e,o),operationName:"TokenizeCreditCard"}}},{"../../../../lib/assign":123}],90:[function(e,t,n){"use strict";var r=e("../../browser-detection"),i={tokenize_credit_cards:"payment_methods/credit_cards",configuration:"configuration"},o=["creditCard.options.unionPayEnrollment"];function a(e){this._config=e.graphQL}a.prototype.getGraphQLEndpoint=function(){return this._config.url},a.prototype.isGraphQLRequest=function(e,t){var n,a=this.getClientApiPath(e);return!(!this._isGraphQLEnabled()||!a||r.isIe9())&&(n=this._config.features.some((function(e){return i[e]===a})),!function(e){return o.some((function(t){return void 0!==t.split(".").reduce((function(e,t){return e&&e[t]}),e)}))}(t)&&n)},a.prototype.getClientApiPath=function(e){var t,n=e.split("/client_api/v1/");return n.length>1&&(t=n[1].split("?")[0]),t},a.prototype._isGraphQLEnabled=function(){return Boolean(this._config)},t.exports=a},{"../../browser-detection":76}],91:[function(e,t,n){"use strict";var r=e("../../constants").BRAINTREE_VERSION,i=e("../../../lib/assign").assign,o=e("./generators/credit-card-tokenization"),a=e("./adapters/credit-card-tokenization"),s=e("./generators/configuration"),c=e("./adapters/configuration"),l={"payment_methods/credit_cards":o,configuration:s},u={"payment_methods/credit_cards":a,configuration:c};function d(e){var t=e.graphQL.getClientApiPath(e.url);this._graphQL=e.graphQL,this._data=e.data,this._method=e.method,this._headers=e.headers,this._clientSdkMetadata={source:e.metadata.source,integration:e.metadata.integration,sessionId:e.metadata.sessionId},this._sendAnalyticsEvent=e.sendAnalyticsEvent||Function.prototype,this._generator=l[t],this._adapter=u[t],this._sendAnalyticsEvent("graphql.init")}d.prototype.getUrl=function(){return this._graphQL.getGraphQLEndpoint()},d.prototype.getBody=function(){var e=function e(t){var n={};return Object.keys(t).forEach((function(r){var i,o=-1===(i=r).indexOf("_")?i:i.toLowerCase().replace(/(\_\w)/g,(function(e){return e[1].toUpperCase()}));"object"==typeof t[r]?n[o]=e(t[r]):"number"==typeof t[r]?n[o]=String(t[r]):n[o]=t[r]})),n}(this._data),t=this._generator(e),n=i({clientSdkMetadata:this._clientSdkMetadata},t);return JSON.stringify(n)},d.prototype.getMethod=function(){return"POST"},d.prototype.getHeaders=function(){var e,t;return this._data.authorizationFingerprint?(this._sendAnalyticsEvent("graphql.authorization-fingerprint"),e=this._data.authorizationFingerprint):(this._sendAnalyticsEvent("graphql.tokenization-key"),e=this._data.tokenizationKey),t={Authorization:"Bearer "+e,"Braintree-Version":r},i({},this._headers,t)},d.prototype.adaptResponseBody=function(e){return this._adapter(e,this)},d.prototype.determineStatus=function(e,t){var n,r;return 200===e?(r=t.errors&&t.errors[0]&&t.errors[0].extensions&&t.errors[0].extensions.errorClass,n=t.data&&!t.errors?200:"VALIDATION"===r?422:"AUTHORIZATION"===r?403:"AUTHENTICATION"===r?401:function(e,t){return!e&&t.errors[0].message}(r,t)?403:500):n=e||500,this._sendAnalyticsEvent("graphql.status."+e), +this._sendAnalyticsEvent("graphql.determinedStatus."+n),n},t.exports=d},{"../../../lib/assign":123,"../../constants":78,"./adapters/configuration":85,"./adapters/credit-card-tokenization":86,"./generators/configuration":88,"./generators/credit-card-tokenization":89}],92:[function(e,t,n){"use strict";var r,i=e("../../lib/once"),o=e("./jsonp-driver"),a=e("./ajax-driver"),s=e("./get-user-agent"),c=e("./is-http");t.exports=function(e,t){t=i(t||Function.prototype),e.method=(e.method||"GET").toUpperCase(),e.timeout=null==e.timeout?6e4:e.timeout,e.data=e.data||{},null==r&&(r=!(c()&&/MSIE\s(8|9)/.test(s()))),r?a.request(e,t):o.request(e,t)}},{"../../lib/once":158,"./ajax-driver":82,"./get-user-agent":84,"./is-http":93,"./jsonp-driver":94}],93:[function(e,t,n){"use strict";t.exports=function(){return"http:"===window.location.protocol}},{}],94:[function(e,t,n){"use strict";var r,i=e("@braintree/uuid"),o=e("../../lib/querystring"),a={};function s(e){try{delete window[e]}catch(t){window[e]=null}}t.exports={request:function(e,t){var n,c="callback_json_"+i().replace(/-/g,""),l=e.url,u=e.data,d=e.method,p=e.timeout;l=o.queryify(l,u),function(e,t,n){window[n]=function(r){var i=r.status||500,o=null,c=null;delete r.status,i>=400||i<200?o=r:c=r,s(n),function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}(e),clearTimeout(a[n]),t(o,c,i)}}(n=function(e,t){var n=document.createElement("script"),r=!1;return n.src=e,n.async=!0,n.onerror=function(){window[t]({message:"error",status:500})},n.onload=n.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,n.onload=n.onreadystatechange=null)},n}(l=o.queryify(l,{_method:d,callback:c}),c),t,c),function(e,t){a[t]=setTimeout((function(){a[t]=null,window[t]({error:"timeout",status:-1}),window[t]=function(){s(t)}}),e)}(p,c),r||(r=document.getElementsByTagName("head")[0]),r.appendChild(n)}}},{"../../lib/querystring":160,"@braintree/uuid":40}],95:[function(e,t,n){"use strict";t.exports=function(e){try{e=JSON.parse(e)}catch(e){}return e}},{}],96:[function(e,t,n){"use strict";t.exports=function(e,t){if("string"!=typeof e)throw new Error("Method must be a string");return"get"!==e.toLowerCase()&&null!=t&&(t="string"==typeof t?t:JSON.stringify(t)),t}},{}],97:[function(e,t,n){"use strict";var r="undefined"!=typeof window&&window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest;t.exports={isAvailable:r,getRequestObject:function(){return r?new window.XMLHttpRequest:new window.XDomainRequest}}},{}],98:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={DATA_COLLECTOR_KOUNT_NOT_ENABLED:{type:r.types.MERCHANT,code:"DATA_COLLECTOR_KOUNT_NOT_ENABLED",message:"Kount is not enabled for this merchant."},DATA_COLLECTOR_KOUNT_ERROR:{type:r.types.MERCHANT,code:"DATA_COLLECTOR_KOUNT_ERROR"},DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS:{type:r.types.MERCHANT,code:"DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS",message:"Data Collector must be created with Kount and/or PayPal."}}},{"../lib/braintree-error":126}],99:[function(e,t,n){ +"use strict";var r,i=e("../lib/constants").FRAUDNET_FNCLS,o=e("../lib/constants").FRAUDNET_SOURCE,a=e("../lib/constants").FRAUDNET_URL,s=e("../lib/assets").loadScript,c=e("../lib/promise");function l(){}function u(e){e&&e.parentNode&&e.parentNode.removeChild(e)}l.prototype.initialize=function(e){var t,n,c=this;return this.sessionId=r=function(){var e,t="";for(e=0;e<32;e++)t+=Math.floor(16*Math.random()).toString(16);return t}(),this._beaconId=(t=this.sessionId,n=(new Date).getTime()/1e3,"https://b.stats.paypal.com/counter.cgi?i=127.0.0.1&p="+t+"&t="+n+"&a=14"),this._parameterBlock=function(e,t,n){var r=document.body.appendChild(document.createElement("script")),a={f:e,s:o,b:t};return"production"!==n&&(a.sandbox=!0),r.type="application/json",r.setAttribute("fncls",i),r.text=JSON.stringify(a),r}(this.sessionId,this._beaconId,e),s({src:a}).then((function(e){return c._thirdPartyBlock=e,c})).catch((function(){return null}))},l.prototype.teardown=function(){u(document.querySelector('iframe[title="ppfniframe"]')),u(document.querySelector('iframe[title="pbf"]')),u(this._parameterBlock),u(this._thirdPartyBlock)},t.exports={setup:function(e){var t=new l;return r?(t.sessionId=r,c.resolve(t)):t.initialize(e)},clearSessionIdCache:function(){r=null}}},{"../lib/assets":122,"../lib/constants":128,"../lib/promise":159}],100:[function(e,t,n){"use strict";var r=e("./kount"),i=e("./fraudnet"),o=e("../lib/braintree-error"),a=e("../lib/basic-component-verification"),s=e("../lib/create-deferred-client"),c=e("../lib/create-assets-url"),l=e("../lib/methods"),u=e("../lib/convert-methods-to-error"),d=e("../lib/promise"),p=e("@braintree/wrap-promise"),_=e("./errors");t.exports={create:p((function(e){var t,n="Data Collector",E={_instances:[]};return a.verify({name:n,client:e.client,authorization:e.authorization}).then((function(){return E._instantiatedWithAClient=!e.useDeferredClient,E._createPromise=s.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:c.create(e.authorization),name:n}).then((function(n){var i,a=n.getConfiguration();if(!0===e.kount&&a.gatewayConfiguration.kount){try{i=r.setup({environment:a.gatewayConfiguration.environment,merchantId:a.gatewayConfiguration.kount.kountMerchantId})}catch(e){return d.reject(new o({type:_.DATA_COLLECTOR_KOUNT_ERROR.type,code:_.DATA_COLLECTOR_KOUNT_ERROR.code,message:e.message}))}t=i.deviceData,E._instances.push(i)}else t={};return d.resolve(n)})).then((function(e){return i.setup(e.getConfiguration().gatewayConfiguration.environment).then((function(e){e&&(t.correlation_id=e.sessionId,E._instances.push(e))}))})).then((function(){return 0===E._instances.length?d.reject(new o(_.DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS)):(E.deviceData=JSON.stringify(t),E.rawDeviceData=t,E)})),E.teardown=function(e){return p((function(){return e._createPromise.then((function(){e._instances.forEach((function(e){e&&e.teardown()})),u(e,l(e))}))}))}(E),E.getDeviceData=function(e){return p((function(t){return t=t||{},e._createPromise.then((function(){ +return t.raw?d.resolve(e.rawDeviceData):d.resolve(e.deviceData)}))}))}(E),E._instantiatedWithAClient?E._createPromise:E}))})),VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/convert-methods-to-error":129,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/methods":157,"../lib/promise":159,"./errors":98,"./fraudnet":99,"./kount":101,"@braintree/wrap-promise":44}],101:[function(e,t,n){"use strict";var r=e("./vendor/sjcl"),i=e("../lib/camel-case-to-snake-case"),o="https://assets.qa.braintreepayments.com/data",a={development:o,qa:o,sandbox:"https://assets.braintreegateway.com/sandbox/data",production:"https://assets.braintreegateway.com/data"},s={};function c(e){var t=c.getCachedDeviceData(e.merchantId);if(t)return this.deviceData=t,void(this._isCached=!0);this._currentEnvironment=this._initializeEnvironment(e),r.random.startCollectors(),this._deviceSessionId=this._generateDeviceSessionId(),this.deviceData=this._getDeviceData(),c.setCachedDeviceData(e.merchantId,this.deviceData),this._iframe=this._setupIFrame()}c.getCachedDeviceData=function(e){return s[e]},c.setCachedDeviceData=function(e,t){s[e]=t},c.prototype.teardown=function(){this._isCached||(r.random.stopCollectors(),this._removeIframe())},c.prototype._removeIframe=function(){this._iframe.parentNode.removeChild(this._iframe)},c.prototype._getDeviceData=function(){return i({deviceSessionId:this._deviceSessionId,fraudMerchantId:this._currentEnvironment.id})},c.prototype._generateDeviceSessionId=function(){var e;return e=r.random.randomWords(4,0),r.codec.hex.fromBits(e)},c.prototype._setupIFrame=function(){var e,t,n=this;return e="?m="+this._currentEnvironment.id+"&s="+this._deviceSessionId,(t=document.createElement("iframe")).width=1,t.id="braintreeDataFrame-"+this._deviceSessionId,t.height=1,t.frameBorder=0,t.scrolling="no",t.style.position="fixed",t.style.left="-999999px",t.style.top="-999999px",t.title="Braintree-Kount-iframe",t.setAttribute("aria-hidden","true"),document.body.appendChild(t),setTimeout((function(){t.src=n._currentEnvironment.url+"/logo.htm"+e,t.innerHTML=''}),10),t},c.prototype._initializeEnvironment=function(e){var t=a[e.environment];if(null==t)throw new Error(e.environment+" is not a valid environment for kount.environment");return{url:t,name:e.environment,id:e.merchantId}},t.exports={setup:function(e){return new c(null!=e?e:{})},Kount:c,environmentUrls:a}},{"../lib/camel-case-to-snake-case":127,"./vendor/sjcl":102}],102:[function(e,t,n){"use strict";var r={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};function i(e,t,n){ +if(4!==t.length)throw new r.exception.invalid("invalid aes block size");var i=e.b[n],o=t[0]^i[0],a=t[n?3:1]^i[1],s=t[2]^i[2];t=t[n?1:3]^i[3];var c,l,u,d,p=i.length/4-2,_=4,E=[0,0,0,0];e=(c=e.l[n])[0];var h=c[1],f=c[2],m=c[3],y=c[4];for(d=0;d>>24]^h[a>>16&255]^f[s>>8&255]^m[255&t]^i[_],l=e[a>>>24]^h[s>>16&255]^f[t>>8&255]^m[255&o]^i[_+1],u=e[s>>>24]^h[t>>16&255]^f[o>>8&255]^m[255&a]^i[_+2],t=e[t>>>24]^h[o>>16&255]^f[a>>8&255]^m[255&s]^i[_+3],_+=4,o=c,a=l,s=u;for(d=0;4>d;d++)E[n?3&-d:d]=y[o>>>24]<<24^y[a>>16&255]<<16^y[s>>8&255]<<8^y[255&t]^i[_++],c=o,o=a,a=s,s=t,t=c;return E}function o(e,t){var n,r,i,o=e.u,a=e.b,s=o[0],c=o[1],l=o[2],u=o[3],d=o[4],p=o[5],_=o[6],E=o[7];for(n=0;64>n;n++)16>n?r=t[n]:(r=t[n+1&15],i=t[n+14&15],r=t[15&n]=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(i>>>17^i>>>19^i>>>10^i<<15^i<<13)+t[15&n]+t[n+9&15]|0),r=r+E+(d>>>6^d>>>11^d>>>25^d<<26^d<<21^d<<7)+(_^d&(p^_))+a[n],E=_,_=p,p=d,d=u+r|0,u=l,l=c,s=r+((c=s)&l^u&(c^l))+(c>>>2^c>>>13^c>>>22^c<<30^c<<19^c<<10)|0;o[0]=o[0]+s|0,o[1]=o[1]+c|0,o[2]=o[2]+l|0,o[3]=o[3]+u|0,o[4]=o[4]+d|0,o[5]=o[5]+p|0,o[6]=o[6]+_|0,o[7]=o[7]+E|0}function a(e,t){var n,i=r.random.B[e],o=[];for(n in i)i.hasOwnProperty(n)&&o.push(i[n]);for(n=0;nt&&(e.g[t]=e.g[t]+1|0,!e.g[t]);t++);return e.C.encrypt(e.g)}function u(e,t){return function(){t.apply(e,arguments)}}r.cipher.aes=function(e){this.l[0][0][0]||this.G();var t,n,i,o,a=this.l[0][4],s=this.l[1],c=1;if(4!==(t=e.length)&&6!==t&&8!==t)throw new r.exception.invalid("invalid aes key size");for(this.b=[i=e.slice(0),o=[]],e=t;e<4*t+28;e++)n=i[e-1],(0==e%t||8===t&&4==e%t)&&(n=a[n>>>24]<<24^a[n>>16&255]<<16^a[n>>8&255]<<8^a[255&n],0==e%t&&(n=n<<8^n>>>24^c<<24,c=c<<1^283*(c>>7))),i[e]=i[e-t]^n;for(t=0;e;t++,e--)n=i[3&t?e:e-4],o[t]=4>=e||4>t?n:s[0][a[n>>>24]]^s[1][a[n>>16&255]]^s[2][a[n>>8&255]]^s[3][a[255&n]]},r.cipher.aes.prototype={encrypt:function(e){return i(this,e,0)},decrypt:function(e){return i(this,e,1)},l:[[[],[],[],[],[]],[[],[],[],[],[]]],G:function(){var e,t,n,r,i,o,a,s=this.l[0],c=this.l[1],l=s[4],u=c[4],d=[],p=[];for(e=0;256>e;e++)p[(d[e]=e<<1^283*(e>>7))^e]=e;for(t=n=0;!l[t];t^=r||1,n=p[n]||1)for(o=(o=n^n<<1^n<<2^n<<3^n<<4)>>8^255&o^99,l[t]=o,u[o]=t,a=16843009*(i=d[e=d[r=d[t]]])^65537*e^257*r^16843008*t,i=257*d[o]^16843008*o,e=0;4>e;e++)s[e][t]=i=i<<24^i>>>8,c[e][o]=a=a<<24^a>>>8;for(e=0;5>e;e++)s[e]=s[e].slice(0),c[e]=c[e].slice(0)}},r.bitArray={bitSlice:function(e,t,n){return e=r.bitArray.M(e.slice(t/32),32-(31&t)).slice(1),void 0===n?e:r.bitArray.clamp(e,n-t)},extract:function(e,t,n){var r=Math.floor(-t-n&31);return(-32&(t+n-1^t)?e[t/32|0]<<32-r^e[t/32+1|0]>>>r:e[t/32|0]>>>r)&(1<>t-1,1)),e},partial:function(e,t,n){return 32===e?t:(n?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(r.bitArray.bitLength(e)!==r.bitArray.bitLength(t))return!1;var n,i=0;for(n=0;n>>t),n=e[o]<<32-t;return o=e.length?e[e.length-1]:0,e=r.bitArray.getPartial(o),i.push(r.bitArray.partial(t+e&31,32>>24|n>>>8&65280|(65280&n)<<8|n<<24;return e}},r.codec.utf8String={fromBits:function(e){var t,n,i="",o=r.bitArray.bitLength(e);for(t=0;t>>8>>>8>>>8),n<<=8;return decodeURIComponent(escape(i))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,n=[],i=0;for(t=0;tr;i++){for(n=!0,t=2;t*t<=i;t++)if(0==i%t){n=!1;break}n&&(8>r&&(this.K[r]=e(Math.pow(i,.5))),this.b[r]=e(Math.pow(i,1/3)),r++)}}}, +r.prng=function(e){this.c=[new r.hash.sha256],this.i=[0],this.H=0,this.v={},this.F=0,this.J={},this.L=this.f=this.j=this.T=0,this.b=[0,0,0,0,0,0,0,0],this.g=[0,0,0,0],this.C=void 0,this.D=e,this.s=!1,this.B={progress:{},seeded:{}},this.m=this.S=0,this.w=1,this.A=2,this.O=65536,this.I=[0,48,64,96,128,192,256,384,512,768,1024],this.P=3e4,this.N=80},r.prng.prototype={randomWords:function(e,t){var n,i,o=[];if((n=this.isReady(t))===this.m)throw new r.exception.notReady("generator isn't seeded");if(n&this.A){n=!(n&this.w),i=[];var a,s=0;for(this.L=i[0]=(new Date).valueOf()+this.P,a=0;16>a;a++)i.push(4294967296*Math.random()|0);for(a=0;a=1<this.j&&(this.j=s),this.H++,this.b=r.hash.sha256.hash(this.b.concat(i)),this.C=new r.cipher.aes(this.b),n=0;4>n&&(this.g[n]=this.g[n]+1|0,!this.g[n]);n++);}for(n=0;n>>=1;this.c[c].update([i,this.F++,2,t,s,e.length].concat(e))}break;case"string":void 0===t&&(t=e.length),this.c[c].update([i,this.F++,3,t,s,e.length]),this.c[c].update(e);break;default:u=1}if(u)throw new r.exception.bug("random: addEntropy only supports number, array of numbers or string");this.i[c]+=t,this.f+=t,l===this.m&&(this.isReady()!==this.m&&a("seeded",Math.max(this.j,this.f)),a("progress",this.getProgress()))},isReady:function(e){return e=this.I[void 0!==e?e:this.D],this.j&&this.j>=e?this.i[0]>this.N&&(new Date).valueOf()>this.L?this.A|this.w:this.w:this.f>=e?this.A|this.m:this.m},getProgress:function(e){return e=this.I[e||this.D],this.j>=e||this.f>e?1:this.f/e},startCollectors:function(){if(!this.s){if(this.a={loadTimeCollector:u(this,this.V),mouseCollector:u(this,this.W),keyboardCollector:u(this,this.U),accelerometerCollector:u(this,this.R),touchCollector:u(this,this.X)},window.addEventListener)window.addEventListener("load",this.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1), +window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1);else{if(!document.attachEvent)throw new r.exception.bug("can't attach event");document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector)}this.s=!0}},stopCollectors:function(){this.s&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.s=!1)},addEventListener:function(e,t){this.B[e][this.S++]=t},removeEventListener:function(e,t){var n,r,i=this.B[e],o=[];for(r in i)i.hasOwnProperty(r)&&i[r]===t&&o.push(r);for(n=0;n-1&&c.indexOf(e.type)<0:"hidden"!==e.type}function u(e){var t,n;for(t=0;tt-1},indexChange:1}}return{}}(n.direction,c.length);do{if(i+=u.indexChange,u.checkIndexBounds(i))return;s=c[i]}while(!l(s));o.matchFocusElement(s.getAttribute("id"))?t.onTriggerInputFocus(s.getAttribute("data-braintree-type")):s.focus()}}}}},{"../shared/browser-detection":113,"../shared/constants":114,"../shared/find-parent-tags":116,"../shared/focus-intercept":117}],109:[function(e,t,n){"use strict";var r=e("../shared/constants").allowedStyles;t.exports=function(e){var t,n=document.createElement("input"),i={};return"."===e[0]&&(e=e.substring(1)),n.className=e,n.style.display="none !important",n.style.position="fixed !important",n.style.left="-99999px !important",n.style.top="-99999px !important",document.body.appendChild(n),t=window.getComputedStyle(n),r.forEach((function(e){var n=t[e];n&&(i[e]=n)})),document.body.removeChild(n),i}},{"../shared/constants":114}],110:[function(e,t,n){"use strict";var r=e("../../lib/assign").assign,i=e("../../lib/create-assets-url"),o=e("../../lib/is-verified-domain"),a=e("../../lib/destructor"),s=e("@braintree/class-list"),c=e("@braintree/iframer"),l=e("framebus"),u=e("../../lib/create-deferred-client"),d=e("../../lib/braintree-error"),p=e("./compose-url"),_=e("./get-styles-from-class"),E=e("../shared/constants"),h=e("../shared/errors"),f=e("../../lib/constants").INTEGRATION_TIMEOUT_MS,m=e("@braintree/uuid"),y=e("../shared/find-parent-tags"),A=e("../shared/browser-detection"),T=E.events,I=e("@braintree/event-emitter"),N=e("./inject-frame"),b=e("../../lib/analytics"),O=E.allowedFields,g=e("../../lib/methods"),v=e("../../lib/shadow"),P=e("../../lib/find-root-node"),R=e("../../lib/convert-methods-to-error"),C=e("../../lib/errors"),S=e("../shared/get-card-types"),D=e("./attribute-validation-error"),w=e("../../lib/promise"),L=e("@braintree/wrap-promise"),M=e("./focus-change"),U=e("../shared/focus-intercept").destroy;function k(e){return function(t){var n,r=t.merchantPayload,i=r.emittedBy,o=e[i].containerElement +;Object.keys(r.fields).forEach((function(t){r.fields[t].container=e[t].containerElement})),n=r.fields[i],"blur"===t.type&&function(e){var t;A.isIos()&&document.activeElement===document.body&&((t=e.querySelector("input"))||((t=document.createElement("input")).type="button",t.style.height="0px",t.style.width="0px",t.style.opacity="0",t.style.padding="0",t.style.position="absolute",t.style.left="-200%",t.style.top="0px",e.insertBefore(t,e.firstChild)),t.focus(),t.blur())}(o),s.toggle(o,E.externalClasses.FOCUSED,n.isFocused),s.toggle(o,E.externalClasses.VALID,n.isValid),s.toggle(o,E.externalClasses.INVALID,!n.isPotentiallyValid),this._state={cards:r.cards,fields:r.fields},this._emit(t.type,r)}}function F(e){var t,n,y,O,P,D=this,L={},V={},x=[],H=m();if(this._merchantConfigurationOptions=r({},e),e.client?(y=(n=e.client.getConfiguration()).gatewayConfiguration.assetsUrl,O=n.isDebug):(y=i.create(e.authorization),O=Boolean(e.isDebug)),this._clientPromise=u.create({client:e.client,authorization:e.authorization,debug:O,assetsUrl:y,name:"Hosted Fields"}),P=p(y,H,O),!e.fields||0===Object.keys(e.fields).length)throw new d({type:C.INSTANTIATION_OPTION_REQUIRED.type,code:C.INSTANTIATION_OPTION_REQUIRED.code,message:"options.fields is required when instantiating Hosted Fields."});I.call(this),this._injectedNodes=[],this._destructor=new a,this._fields=L,this._state={fields:{},cards:S("")},this._bus=new l({channel:H,verifyDomain:o}),this._destructor.registerFunctionForTeardown((function(){D._bus.teardown()})),e.client?b.sendEvent(this._clientPromise,"custom.hosted-fields.initialized"):b.sendEvent(this._clientPromise,"custom.hosted-fields.initialized.deferred-client"),Object.keys(e.fields).forEach(function(t){var n,r,i,o,a;if(!E.allowedFields.hasOwnProperty(t))throw new d({type:h.HOSTED_FIELDS_INVALID_FIELD_KEY.type,code:h.HOSTED_FIELDS_INVALID_FIELD_KEY.code,message:'"'+t+'" is not a valid field.'});if("string"==typeof(r=(n=e.fields[t]).container||n.selector)&&(r=document.querySelector(r)),!r||1!==r.nodeType)throw new d({type:h.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.type,code:h.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.code,message:h.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.message,details:{fieldSelector:n.selector,fieldContainer:n.container,fieldKey:t}});if(r.querySelector('iframe[name^="braintree-"]'))throw new d({type:h.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.type,code:h.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.code,message:h.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.message,details:{fieldSelector:n.selector,fieldContainer:n.container,fieldKey:t}});if(i=r,v.isShadowElement(i)&&(i=v.transformToSlot(i,"height: 100%")),n.maxlength&&"number"!=typeof n.maxlength)throw new d({type:h.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:h.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:"The value for maxlength must be a number.",details:{fieldKey:t}});if(n.minlength&&"number"!=typeof n.minlength)throw new d({type:h.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:h.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:"The value for minlength must be a number.",details:{ +fieldKey:t}});o=c({type:t,name:"braintree-hosted-field-"+t,style:E.defaultIFrameStyle,title:"Secure Credit Card Frame - "+E.allowedFields[t].label}),this._injectedNodes.push.apply(this._injectedNodes,N(H,o,i,(function(){D._bus.emit(T.TRIGGER_INPUT_FOCUS,{field:t})}))),this._setupLabelFocus(t,r),L[t]={frameElement:o,containerElement:r},a=new w((function(e){V[t]=e})),x.push(a),this._state.fields[t]={isEmpty:!0,isValid:!1,isPotentiallyValid:!0,isFocused:!1,container:r},setTimeout((function(){A.isIE()||A.isEdge()?(o.src="about:blank",setTimeout((function(){o.src=P}),0)):o.src=P}),0)}.bind(this)),this._merchantConfigurationOptions.styles&&Object.keys(this._merchantConfigurationOptions.styles).forEach((function(e){var t=D._merchantConfigurationOptions.styles[e];"string"==typeof t&&(D._merchantConfigurationOptions.styles[e]=_(t))})),this._bus.on(T.REMOVE_FOCUS_INTERCEPTS,(function(e){U(e&&e.id)})),this._bus.on(T.TRIGGER_FOCUS_CHANGE,M.createFocusChangeHandler(H,{onRemoveFocusIntercepts:function(e){D._bus.emit(T.REMOVE_FOCUS_INTERCEPTS,{id:e})},onTriggerInputFocus:function(e){D._bus.emit(T.TRIGGER_INPUT_FOCUS,{field:e})}})),this._bus.on(T.READY_FOR_CLIENT,(function(e){D._clientPromise.then((function(t){e(t)}))})),this._bus.on(T.CARD_FORM_ENTRY_HAS_BEGUN,(function(){b.sendEvent(D._clientPromise,"hosted-fields.input.started")})),this._bus.on(T.BIN_AVAILABLE,(function(e){D._emit("binAvailable",{bin:e})})),t=setTimeout((function(){b.sendEvent(D._clientPromise,"custom.hosted-fields.load.timed-out"),D._emit("timeout")}),f),w.all(x).then((function(e){var n,i,o=e[0];clearTimeout(t),o((n=D._merchantConfigurationOptions,(i=r({},n)).fields=r({},i.fields),Object.keys(i.fields).forEach((function(e){i.fields[e]=r({},i.fields[e]),delete i.fields[e].container})),i)),D._cleanUpFocusIntercepts(),D._emit("ready")})),this._bus.on(T.FRAME_READY,(function(e,t){V[e.field](t)})),this._bus.on(T.INPUT_EVENT,k(L).bind(this)),A.isIos()&&this._bus.on(T.TRIGGER_INPUT_FOCUS,(function(e){var t=L[e.field].containerElement;setTimeout((function(){var e,n,r;e=t.getBoundingClientRect(),n=Math.floor(e.height/2),r=Math.floor(e.width/2),e.top<(window.innerHeight-n||document.documentElement.clientHeight-n)&&e.right>r&&e.bottom>n&&e.left<(window.innerWidth-r||document.documentElement.clientWidth-r)||t.scrollIntoView()}),5)})),this._destructor.registerFunctionForTeardown((function(){var e,t,n;for(e=0;e0&&(e.details.invalidFields={},e.details.invalidFieldKeys.forEach(function(t){e.details.invalidFields[t]=this._fields[t].containerElement}.bind(this)))},F.prototype.getChallenges=function(){return this._clientPromise.then((function(e){return e.getConfiguration().gatewayConfiguration.challenges}))},F.prototype.getSupportedCardTypes=function(){return this._clientPromise.then((function(e){return e.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes.map((function(e){return"MasterCard"===e?"Mastercard":e}))}))},F.prototype.teardown=function(){var e=this;return new w((function(t,n){e._destructor.teardown((function(r){b.sendEvent(e._clientPromise,"custom.hosted-fields.teardown-completed"),r?n(r):t()}))}))},F.prototype.tokenize=function(e){var t=this;return e||(e={}),new w((function(n,r){t._bus.emit(T.TOKENIZATION_REQUEST,e,(function(e){var i=e[0],o=e[1];i?(t._attachInvalidFieldContainersToError(i),r(new d(i))):n(o)}))}))},F.prototype.addClass=function(e,t){var n;return O.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(T.ADD_CLASS,{field:e,classname:t}):n=new d({type:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot add class to "'+e+'" field because it is not part of the current Hosted Fields options.'}):n=new d({type:h.HOSTED_FIELDS_FIELD_INVALID.type,code:h.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when adding a class.'}),n?w.reject(n):w.resolve()},F.prototype.removeClass=function(e,t){var n;return O.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(T.REMOVE_CLASS,{field:e,classname:t}):n=new d({type:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot remove class from "'+e+'" field because it is not part of the current Hosted Fields options.'}):n=new d({type:h.HOSTED_FIELDS_FIELD_INVALID.type,code:h.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when removing a class.'}),n?w.reject(n):w.resolve()},F.prototype.setAttribute=function(e){var t,n +;return O.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=D(e.attribute,e.value))?n=t:this._bus.emit(T.SET_ATTRIBUTE,{field:e.field,attribute:e.attribute,value:e.value}):n=new d({type:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot set attribute for "'+e.field+'" field because it is not part of the current Hosted Fields options.'}):n=new d({type:h.HOSTED_FIELDS_FIELD_INVALID.type,code:h.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e.field+'" is not a valid field. You must use a valid field option when setting an attribute.'}),n?w.reject(n):w.resolve()},F.prototype.setMonthOptions=function(e){var t,n=this,r=this._merchantConfigurationOptions.fields;return r.expirationMonth?r.expirationMonth.select||(t="Expiration month field must be a select element."):t="Expiration month field must exist to use setMonthOptions.",t?w.reject(new d({type:h.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:h.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:t})):new w((function(t){n._bus.emit(T.SET_MONTH_OPTIONS,e,t)}))},F.prototype.setMessage=function(e){this._bus.emit(T.SET_MESSAGE,{field:e.field,message:e.message})},F.prototype.removeAttribute=function(e){var t,n;return O.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=D(e.attribute))?n=t:this._bus.emit(T.REMOVE_ATTRIBUTE,{field:e.field,attribute:e.attribute}):n=new d({type:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot remove attribute for "'+e.field+'" field because it is not part of the current Hosted Fields options.'}):n=new d({type:h.HOSTED_FIELDS_FIELD_INVALID.type,code:h.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e.field+'" is not a valid field. You must use a valid field option when removing an attribute.'}),n?w.reject(n):w.resolve()},F.prototype.setPlaceholder=function(e,t){return this.setAttribute({field:e,attribute:"placeholder",value:t})},F.prototype.clear=function(e){var t;return O.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(T.CLEAR_FIELD,{field:e}):t=new d({type:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot clear "'+e+'" field because it is not part of the current Hosted Fields options.'}):t=new d({type:h.HOSTED_FIELDS_FIELD_INVALID.type,code:h.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when clearing a field.'}),t?w.reject(t):w.resolve()},F.prototype.focus=function(e){var t;return O.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(T.TRIGGER_INPUT_FOCUS,{field:e}):t=new d({type:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:h.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot focus "'+e+'" field because it is not part of the current Hosted Fields options.'}):t=new d({type:h.HOSTED_FIELDS_FIELD_INVALID.type,code:h.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when focusing a field.'}),t?w.reject(t):w.resolve()}, +F.prototype.getState=function(){return this._state},t.exports=L.wrapPrototype(F)},{"../../lib/analytics":121,"../../lib/assign":123,"../../lib/braintree-error":126,"../../lib/constants":128,"../../lib/convert-methods-to-error":129,"../../lib/create-assets-url":131,"../../lib/create-deferred-client":133,"../../lib/destructor":135,"../../lib/errors":137,"../../lib/find-root-node":138,"../../lib/is-verified-domain":155,"../../lib/methods":157,"../../lib/promise":159,"../../lib/shadow":161,"../shared/browser-detection":113,"../shared/constants":114,"../shared/errors":115,"../shared/find-parent-tags":116,"../shared/focus-intercept":117,"../shared/get-card-types":118,"./attribute-validation-error":106,"./compose-url":107,"./focus-change":108,"./get-styles-from-class":109,"./inject-frame":111,"@braintree/class-list":33,"@braintree/event-emitter":34,"@braintree/iframer":36,"@braintree/uuid":40,"@braintree/wrap-promise":44,framebus:53}],111:[function(e,t,n){"use strict";var r=e("../shared/focus-intercept"),i=e("../shared/constants").navigationDirections;t.exports=function(e,t,n,o){var a=t.getAttribute("type"),s=document.createElement("div"),c=document.createDocumentFragment(),l=r.generate(e,a,i.BACK,o),u=r.generate(e,a,i.FORWARD,o);return s.style.clear="both",c.appendChild(l),c.appendChild(t),c.appendChild(u),c.appendChild(s),n.appendChild(c),[t,s]}},{"../shared/constants":114,"../shared/focus-intercept":117}],112:[function(e,t,n){"use strict";var r=e("./external/hosted-fields"),i=e("../lib/basic-component-verification"),o=e("./shared/errors"),a=e("restricted-input/supports-input-formatting"),s=e("@braintree/wrap-promise"),c=e("../lib/braintree-error"),l=e("../lib/promise");t.exports={supportsInputFormatting:a,create:s((function(e){return i.verify({name:"Hosted Fields",authorization:e.authorization,client:e.client}).then((function(){var t=new r(e);return new l((function(e,n){t.on("ready",(function(){e(t)})),t.on("timeout",(function(){n(new c(o.HOSTED_FIELDS_TIMEOUT))}))}))}))})),VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/promise":159,"./external/hosted-fields":110,"./shared/errors":115,"@braintree/wrap-promise":44,"restricted-input/supports-input-formatting":69}],113:[function(e,t,n){"use strict";var r=e("@braintree/browser-detection/is-android"),i=e("@braintree/browser-detection/is-chrome-os"),o=e("@braintree/browser-detection/is-ios"),a=e("@braintree/browser-detection/is-chrome");t.exports={isIE:e("@braintree/browser-detection/is-ie"),isEdge:e("@braintree/browser-detection/is-edge"),isIe9:e("@braintree/browser-detection/is-ie9"),isIe10:e("@braintree/browser-detection/is-ie10"),isAndroid:r,isChromeOS:i,isChromeIos:function(){return a()&&o()},isFirefox:e("@braintree/browser-detection/is-firefox"),isIos:o,isIosWebview:e("@braintree/browser-detection/is-ios-webview"),hasSoftwareKeyboard:function(){return r()||i()||o()}}},{"@braintree/browser-detection/is-android":20,"@braintree/browser-detection/is-chrome":22,"@braintree/browser-detection/is-chrome-os":21, +"@braintree/browser-detection/is-edge":23,"@braintree/browser-detection/is-firefox":24,"@braintree/browser-detection/is-ie":25,"@braintree/browser-detection/is-ie10":26,"@braintree/browser-detection/is-ie9":27,"@braintree/browser-detection/is-ios":31,"@braintree/browser-detection/is-ios-webview":29}],114:[function(e,t,n){"use strict";var r=e("../../lib/enumerate"),i=e("./errors"),o={VERSION:"3.76.4",maxExpirationYearAge:19,externalEvents:{FOCUS:"focus",BLUR:"blur",EMPTY:"empty",NOT_EMPTY:"notEmpty",VALIDITY_CHANGE:"validityChange",CARD_TYPE_CHANGE:"cardTypeChange"},defaultMaxLengths:{number:19,postalCode:8,expirationDate:7,expirationMonth:2,expirationYear:4,cvv:3},externalClasses:{FOCUSED:"braintree-hosted-fields-focused",INVALID:"braintree-hosted-fields-invalid",VALID:"braintree-hosted-fields-valid"},navigationDirections:{BACK:"before",FORWARD:"after"},defaultIFrameStyle:{border:"none",width:"100%",height:"100%",float:"left"},tokenizationErrorCodes:{81724:i.HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE,81736:i.HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED},allowedStyles:["-moz-appearance","-moz-box-shadow","-moz-osx-font-smoothing","-moz-tap-highlight-color","-moz-transition","-webkit-appearance","-webkit-box-shadow","-webkit-font-smoothing","-webkit-tap-highlight-color","-webkit-transition","appearance","box-shadow","color","direction","font","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-weight","letter-spacing","line-height","margin","margin-top","margin-right","margin-bottom","margin-left","opacity","outline","padding","padding-top","padding-right","padding-bottom","padding-left","text-align","text-shadow","transition"],allowedFields:{cardholderName:{name:"cardholder-name",label:"Cardholder Name"},number:{name:"credit-card-number",label:"Credit Card Number"},cvv:{name:"cvv",label:"CVV"},expirationDate:{name:"expiration",label:"Expiration Date"},expirationMonth:{name:"expiration-month",label:"Expiration Month"},expirationYear:{name:"expiration-year",label:"Expiration Year"},postalCode:{name:"postal-code",label:"Postal Code"}},allowedAttributes:{"aria-invalid":"boolean","aria-required":"boolean",disabled:"boolean",placeholder:"string"},autocompleteMappings:{"cardholder-name":"cc-name","credit-card-number":"cc-number",expiration:"cc-exp","expiration-month":"cc-exp-month","expiration-year":"cc-exp-year",cvv:"cc-csc","postal-code":"billing postal-code"}};o.events=r(["ADD_CLASS","AUTOFILL_DATA_AVAILABLE","BIN_AVAILABLE","CARD_FORM_ENTRY_HAS_BEGUN","CLEAR_FIELD","CONFIGURATION","FRAME_READY","INPUT_EVENT","READY_FOR_CLIENT","REMOVE_ATTRIBUTE","REMOVE_CLASS","REMOVE_FOCUS_INTERCEPTS","SET_ATTRIBUTE","SET_MESSAGE","SET_MONTH_OPTIONS","TOKENIZATION_REQUEST","TRIGGER_FOCUS_CHANGE","TRIGGER_INPUT_FOCUS","VALIDATE_STRICT"],"hosted-fields:"),t.exports=o},{"../../lib/enumerate":136,"./errors":115}],115:[function(e,t,n){"use strict" +;var r=e("../../lib/braintree-error");t.exports={HOSTED_FIELDS_TIMEOUT:{type:r.types.UNKNOWN,code:"HOSTED_FIELDS_TIMEOUT",message:"Hosted Fields timed out when attempting to set up."},HOSTED_FIELDS_INVALID_FIELD_KEY:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_INVALID_FIELD_KEY"},HOSTED_FIELDS_INVALID_FIELD_SELECTOR:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_INVALID_FIELD_SELECTOR",message:"Selector does not reference a valid DOM node."},HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME",message:"Element already contains a Braintree iframe."},HOSTED_FIELDS_FIELD_INVALID:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_INVALID"},HOSTED_FIELDS_FIELD_NOT_PRESENT:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_NOT_PRESENT"},HOSTED_FIELDS_TOKENIZATION_NETWORK_ERROR:{type:r.types.NETWORK,code:"HOSTED_FIELDS_TOKENIZATION_NETWORK_ERROR",message:"A tokenization network error occurred."},HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE",message:"This credit card already exists in the merchant's vault."},HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED",message:"CVV verification failed during tokenization."},HOSTED_FIELDS_FAILED_TOKENIZATION:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_FAILED_TOKENIZATION",message:"The supplied card data failed tokenization."},HOSTED_FIELDS_FIELDS_EMPTY:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_FIELDS_EMPTY",message:"All fields are empty. Cannot tokenize empty card fields."},HOSTED_FIELDS_FIELDS_INVALID:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_FIELDS_INVALID",message:"Some payment input fields are invalid. Cannot tokenize invalid card fields."},HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED"},HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED"},HOSTED_FIELDS_FIELD_PROPERTY_INVALID:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_PROPERTY_INVALID"}}},{"../../lib/braintree-error":126}],116:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n=e.parentNode,r=[];null!=n;)null!=n.tagName&&n.tagName.toLowerCase()===t&&r.push(n),n=n.parentNode;return r}},{}],117:[function(e,t,n){"use strict";var r=e("./browser-detection"),i=e("@braintree/class-list"),o=e("./constants"),a=Object.keys(o.allowedFields),s=o.navigationDirections,c={generate:function(e,t,n,o){var a=document.createElement("input");return r.hasSoftwareKeyboard()||r.isFirefox()||r.isIE()?(a.setAttribute("aria-hidden","true"),a.setAttribute("autocomplete","off"),a.setAttribute("data-braintree-direction",n),a.setAttribute("data-braintree-type",t),a.setAttribute("id","bt-"+t+"-"+n+"-"+e),a.setAttribute("style",JSON.stringify({border:"none !important",display:"block !important",height:"1px !important",left:"-1px !important",opacity:"0 !important",position:"absolute !important",top:"-1px !important", +width:"1px !important"}).replace(/[{}"]/g,"").replace(/,/g,";")),i.add(a,"focus-intercept"),a.addEventListener("focus",(function(e){o(e),r.hasSoftwareKeyboard()||a.blur()})),a):document.createDocumentFragment()},destroy:function(e){var t;e?t=[document.getElementById(e)]:(t=document.querySelectorAll("[data-braintree-direction]"),t=[].slice.call(t)),t.forEach((function(e){e&&1===e.nodeType&&c.matchFocusElement(e.getAttribute("id"))&&e.parentNode.removeChild(e)}))},matchFocusElement:function(e){var t,n,r,i;return!!e&&!((t=e.split("-")).length<4)&&(n="bt"===t[0],r=a.indexOf(t[1])>-1,i=t[2]===s.BACK||t[2]===s.FORWARD,Boolean(n&&r&&i))}};t.exports=c},{"./browser-detection":113,"./constants":114,"@braintree/class-list":33}],118:[function(e,t,n){"use strict";var r=e("credit-card-type");t.exports=function(e){var t=r(e);return t.forEach((function(e){"mastercard"===e.type&&(e.type="master-card")})),t}},{"credit-card-type":45}],119:[function(e,t,n){"use strict";var r=e("./american-express"),i=e("./apple-pay"),o=e("./client"),a=e("./data-collector"),s=e("./hosted-fields"),c=e("./local-payment"),l=e("./masterpass"),u=e("./payment-request"),d=e("./paypal"),p=e("./paypal-checkout"),_=e("./google-payment"),E=e("./three-d-secure"),h=e("./unionpay"),f=e("./us-bank-account"),m=e("./vault-manager"),y=e("./venmo"),A=e("./visa-checkout"),T=e("./preferred-payment-methods");t.exports={americanExpress:r,applePay:i,client:o,dataCollector:a,hostedFields:s,localPayment:c,masterpass:l,googlePayment:_,paymentRequest:u,paypal:d,paypalCheckout:p,threeDSecure:E,unionpay:h,usBankAccount:f,vaultManager:m,venmo:y,visaCheckout:A,preferredPaymentMethods:T,VERSION:"3.76.4"}},{"./american-express":72,"./apple-pay":75,"./client":81,"./data-collector":100,"./google-payment":105,"./hosted-fields":112,"./local-payment":166,"./masterpass":169,"./payment-request":174,"./paypal":181,"./paypal-checkout":178,"./preferred-payment-methods":184,"./three-d-secure":194,"./unionpay":198,"./us-bank-account":204,"./vault-manager":207,"./venmo":212,"./visa-checkout":220}],120:[function(e,t,n){"use strict";var r=e("./create-authorization-data"),i=e("./json-clone"),o=e("./constants");t.exports=function(e,t){var n,a=t?i(t):{},s=r(e.authorization).attrs,c=i(e.analyticsMetadata);for(n in a.braintreeLibraryVersion=o.BRAINTREE_LIBRARY_VERSION,a._meta)a._meta.hasOwnProperty(n)&&(c[n]=a._meta[n]);return a._meta=c,s.tokenizationKey?a.tokenizationKey=s.tokenizationKey:a.authorizationFingerprint=s.authorizationFingerprint,a}},{"./constants":128,"./create-authorization-data":132,"./json-clone":156}],121:[function(e,t,n){"use strict";var r=e("./promise"),i=e("./constants"),o=e("./add-metadata");t.exports={sendEvent:function(e,t,n){var a=Date.now();return r.resolve(e).then((function(e){var r=Date.now(),s=e.getConfiguration(),c=e._request,l=s.gatewayConfiguration.analytics.url,u={analytics:[{kind:i.ANALYTICS_PREFIX+t,isAsync:Math.floor(r/1e3)!==Math.floor(a/1e3),timestamp:a}]};c({url:l,method:"post",data:o(s,u),timeout:i.ANALYTICS_REQUEST_TIMEOUT_MS},n)}))}}},{"./add-metadata":120, +"./constants":128,"./promise":159}],122:[function(e,t,n){"use strict";var r=e("@braintree/asset-loader/load-script");t.exports={loadScript:r}},{"@braintree/asset-loader/load-script":3}],123:[function(e,t,n){"use strict";var r="function"==typeof Object.assign?Object.assign:i;function i(e){var t,n,r;for(t=1;t>4&3,n=(15&i)<<4|(o=s.indexOf(e.charAt(a++)))>>2&15,r=(3&o)<<6|63&s.indexOf(e.charAt(a++)),c+=String.fromCharCode(t)+(n?String.fromCharCode(n):"")+(r?String.fromCharCode(r):"")}while(a-1&&t(new i({code:f.LOCAL_PAYMENT_WINDOW_OPEN_FAILED.code,type:f.LOCAL_PAYMENT_WINDOW_OPEN_FAILED.type,message:f.LOCAL_PAYMENT_WINDOW_OPEN_FAILED.message,details:{originalError:o}}));else a&&(window.popupBridge||n._frameService.redirect(n._loadingFrameUrl),n.tokenize(a).then(e).catch(t).then((function(){n._frameService.close()})))}},m.prototype._formatTokenizePayload=function(e){var t,n={};return e.paypalAccounts&&(n=e.paypalAccounts[0]),t={nonce:n.nonce,details:{},type:n.type},n.details&&(n.details.payerInfo&&(t.details=n.details.payerInfo),n.details.correlationId&&(t.correlationId=n.details.correlationId)),t},m.prototype.hasTokenizationParams=function(){var e=_.parse();return!!e.errorcode||Boolean(e.btLpToken&&e.btLpPaymentId&&e.btLpPayerId)},m.prototype._formatTokenizeData=function(e){var t=this._client.getConfiguration().gatewayConfiguration;return{merchantAccountId:this._merchantAccountId,paypalAccount:{correlationId:e.btLpToken||e.token,paymentToken:e.btLpPaymentId||e.paymentId,payerId:e.btLpPayerId||e.PayerID,unilateral:t.paypal.unvettedMerchant,intent:"sale"}}},m.prototype.teardown=function(){return this._frameService.teardown(),l(this,c(m.prototype)),s.sendEvent(this._client,"local-payment.teardown-completed"),d.resolve()},t.exports=E.wrapPrototype(m)},{"../../lib/analytics":121,"../../lib/braintree-error":126,"../../lib/constants":128,"../../lib/convert-methods-to-error":129,"../../lib/convert-to-braintree-error":130,"../../lib/frame-service/external":141,"../../lib/methods":157,"../../lib/promise":159,"../../lib/querystring":160,"../../lib/use-min":162,"../shared/errors":167,"./constants":164,"@braintree/extended-promise":35,"@braintree/wrap-promise":44}],166:[function(e,t,n){"use strict";var r=e("../lib/analytics"),i=e("../lib/basic-component-verification"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("./external/local-payment"),c=e("../lib/promise"),l=e("@braintree/wrap-promise"),u=e("../lib/braintree-error"),d=e("./shared/errors");t.exports={create:l((function(e){var t="Local Payment" +;return i.verify({name:t,client:e.client,authorization:e.authorization}).then((function(){return o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t})})).then((function(t){var n=t.getConfiguration();return e.client=t,!0!==n.gatewayConfiguration.paypalEnabled?c.reject(new u(d.LOCAL_PAYMENT_NOT_ENABLED)):(r.sendEvent(t,"local-payment.initialized"),new s(e)._initialize())}))})),VERSION:"3.76.4"}},{"../lib/analytics":121,"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./external/local-payment":165,"./shared/errors":167,"@braintree/wrap-promise":44}],167:[function(e,t,n){"use strict";var r=e("../../lib/braintree-error");t.exports={LOCAL_PAYMENT_NOT_ENABLED:{type:r.types.MERCHANT,code:"LOCAL_PAYMENT_NOT_ENABLED",message:"LocalPayment is not enabled for this merchant."},LOCAL_PAYMENT_ALREADY_IN_PROGRESS:{type:r.types.MERCHANT,code:"LOCAL_PAYMENT_ALREADY_IN_PROGRESS",message:"LocalPayment payment is already in progress."},LOCAL_PAYMENT_CANCELED:{type:r.types.CUSTOMER,code:"LOCAL_PAYMENT_CANCELED",message:"Customer canceled the LocalPayment before authorizing."},LOCAL_PAYMENT_WINDOW_CLOSED:{type:r.types.CUSTOMER,code:"LOCAL_PAYMENT_WINDOW_CLOSED",message:"Customer closed LocalPayment window before authorizing."},LOCAL_PAYMENT_WINDOW_OPEN_FAILED:{type:r.types.MERCHANT,code:"LOCAL_PAYMENT_WINDOW_OPEN_FAILED",message:"LocalPayment window failed to open; make sure startPayment was called in response to a user action."},LOCAL_PAYMENT_START_PAYMENT_FAILED:{type:r.types.NETWORK,code:"LOCAL_PAYMENT_START_PAYMENT_FAILED",message:"LocalPayment startPayment failed."},LOCAL_PAYMENT_START_PAYMENT_MISSING_REQUIRED_OPTION:{type:r.types.MERCHANT,code:"LOCAL_PAYMENT_START_PAYMENT_MISSING_REQUIRED_OPTION",message:"Missing required option for startPayment."},LOCAL_PAYMENT_TOKENIZATION_FAILED:{type:r.types.NETWORK,code:"LOCAL_PAYMENT_TOKENIZATION_FAILED",message:"Could not tokenize user's local payment method."},LOCAL_PAYMENT_INVALID_PAYMENT_OPTION:{type:r.types.MERCHANT,code:"LOCAL_PAYMENT_INVALID_PAYMENT_OPTION",message:"Local payment options are invalid."}}},{"../../lib/braintree-error":126}],168:[function(e,t,n){"use strict";var r=e("../../lib/promise"),i=e("../../lib/frame-service/external"),o=e("../../lib/braintree-error"),a=e("../shared/errors"),s=e("../../lib/methods"),c=e("@braintree/wrap-promise"),l=e("../../lib/analytics"),u=e("../../lib/convert-methods-to-error"),d=e("../../lib/convert-to-braintree-error"),p=e("../shared/constants"),_=e("../../lib/constants").INTEGRATION_TIMEOUT_MS;function E(e){var t=e.client.getConfiguration();this._client=e.client,this._assetsUrl=t.gatewayConfiguration.assetsUrl+"/web/3.76.4",this._isDebug=t.isDebug,this._authInProgress=!1, +window.popupBridge&&"function"==typeof window.popupBridge.getReturnUrlPrefix?this._callbackUrl=window.popupBridge.getReturnUrlPrefix()+"return":this._callbackUrl=this._assetsUrl+"/html/redirect-frame"+(this._isDebug?"":".min")+".html"}E.prototype._initialize=function(){var e=this;return new r((function(t){var n=setTimeout((function(){l.sendEvent(e._client,"masterpass.load.timed-out")}),_);i.create({name:p.LANDING_FRAME_NAME,height:p.POPUP_HEIGHT,width:p.POPUP_WIDTH,dispatchFrameUrl:e._assetsUrl+"/html/dispatch-frame"+(e._isDebug?"":".min")+".html",openFrameUrl:e._assetsUrl+"/html/masterpass-landing-frame"+(e._isDebug?"":".min")+".html"},(function(r){e._frameService=r,clearTimeout(n),l.sendEvent(e._client,"masterpass.load.succeeded"),t(e)}))}))},E.prototype.tokenize=function(e){var t=this;return!e||function(e){var t,n;for(t=0;t-1?(l.sendEvent(n._client,"masterpass.tokenization.failed.to-open"), +void t(new o({code:a.MASTERPASS_POPUP_OPEN_FAILED.code,type:a.MASTERPASS_POPUP_OPEN_FAILED.type,message:a.MASTERPASS_POPUP_OPEN_FAILED.message,details:{originalError:r}}))):(l.sendEvent(n._client,"masterpass.tokenization.failed"),n._closeWindow(),void t(d(r,a.MASTERPASS_FLOW_FAILED)));n._tokenizeMasterpass(i).then(e).catch(t)}},E.prototype._tokenizeMasterpass=function(e){var t=this;return"success"!==e.mpstatus?(l.sendEvent(t._client,"masterpass.tokenization.closed.by-user"),t._closeWindow(),r.reject(new o(a.MASTERPASS_POPUP_CLOSED))):function(e){return[e.oauth_verifier,e.oauth_token,e.checkout_resource_url].some((function(e){return null==e||"null"===e}))}(e)?(l.sendEvent(t._client,"masterpass.tokenization.closed.missing-payload"),t._closeWindow(),r.reject(new o(a.MASTERPASS_POPUP_MISSING_REQUIRED_PARAMETERS))):t._client.request({endpoint:"payment_methods/masterpass_cards",method:"post",data:{masterpassCard:{checkoutResourceUrl:e.checkout_resource_url,requestToken:e.oauth_token,verifierToken:e.oauth_verifier}}}).then((function(e){return t._closeWindow(),window.popupBridge?l.sendEvent(t._client,"masterpass.tokenization.success-popupbridge"):l.sendEvent(t._client,"masterpass.tokenization.success"),e.masterpassCards[0]})).catch((function(e){return t._closeWindow(),window.popupBridge?l.sendEvent(t._client,"masterpass.tokenization.failed-popupbridge"):l.sendEvent(t._client,"masterpass.tokenization.failed"),r.reject(d(e,a.MASTERPASS_ACCOUNT_TOKENIZATION_FAILED))}))},E.prototype._closeWindow=function(){this._authInProgress=!1,this._frameService.close()},E.prototype.teardown=function(){var e=this;return new r((function(t){e._frameService.teardown(),u(e,s(E.prototype)),l.sendEvent(e._client,"masterpass.teardown-completed"),t()}))},t.exports=c.wrapPrototype(E)},{"../../lib/analytics":121,"../../lib/braintree-error":126,"../../lib/constants":128,"../../lib/convert-methods-to-error":129,"../../lib/convert-to-braintree-error":130,"../../lib/frame-service/external":141,"../../lib/methods":157,"../../lib/promise":159,"../shared/constants":171,"../shared/errors":172,"@braintree/wrap-promise":44}],169:[function(e,t,n){"use strict";var r=e("../lib/braintree-error"),i=e("../lib/basic-component-verification"),o=e("./shared/browser-detection"),a=e("./external/masterpass"),s=e("../lib/create-deferred-client"),c=e("../lib/create-assets-url"),l=e("./shared/errors"),u=e("../lib/promise"),d=e("@braintree/wrap-promise");function p(){return Boolean(window.popupBridge||o.supportsPopups())}t.exports={create:d((function(e){return i.verify({name:"Masterpass",client:e.client,authorization:e.authorization}).then((function(){return p()?u.resolve():u.reject(new r(l.MASTERPASS_BROWSER_NOT_SUPPORTED))})).then((function(){return s.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:c.create(e.authorization),name:"Masterpass"})})).then((function(t){return e.client=t,e.client.getConfiguration().gatewayConfiguration.masterpass?new a(e)._initialize():u.reject(new r(l.MASTERPASS_NOT_ENABLED))}))})),isSupported:p,VERSION:"3.76.4"}},{ +"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./external/masterpass":168,"./shared/browser-detection":170,"./shared/errors":172,"@braintree/wrap-promise":44}],170:[function(e,t,n){"use strict";t.exports={supportsPopups:e("@braintree/browser-detection/supports-popups")}},{"@braintree/browser-detection/supports-popups":32}],171:[function(e,t,n){"use strict";t.exports={LANDING_FRAME_NAME:"braintreemasterpasslanding",POPUP_WIDTH:450,POPUP_HEIGHT:660,MASTERPASS_VERSION:"v6",REQUIRED_OPTIONS_FOR_TOKENIZE:["subtotal","currencyCode"]}},{}],172:[function(e,t,n){"use strict";var r=e("../../lib/braintree-error");t.exports={MASTERPASS_BROWSER_NOT_SUPPORTED:{type:r.types.CUSTOMER,code:"MASTERPASS_BROWSER_NOT_SUPPORTED",message:"Browser is not supported."},MASTERPASS_NOT_ENABLED:{type:r.types.MERCHANT,code:"MASTERPASS_NOT_ENABLED",message:"Masterpass is not enabled for this merchant."},MASTERPASS_TOKENIZE_MISSING_REQUIRED_OPTION:{type:r.types.MERCHANT,code:"MASTERPASS_TOKENIZE_MISSING_REQUIRED_OPTION",message:"Missing required option for tokenize."},MASTERPASS_TOKENIZATION_ALREADY_IN_PROGRESS:{type:r.types.MERCHANT,code:"MASTERPASS_TOKENIZATION_ALREADY_IN_PROGRESS",message:"Masterpass tokenization is already in progress."},MASTERPASS_ACCOUNT_TOKENIZATION_FAILED:{type:r.types.NETWORK,code:"MASTERPASS_ACCOUNT_TOKENIZATION_FAILED",message:"Could not tokenize user's Masterpass account."},MASTERPASS_POPUP_OPEN_FAILED:{type:r.types.MERCHANT,code:"MASTERPASS_POPUP_OPEN_FAILED",message:"Masterpass popup failed to open. Make sure to tokenize in response to a user action, such as a click."},MASTERPASS_POPUP_MISSING_REQUIRED_PARAMETERS:{type:r.types.MERCHANT,code:"MASTERPASS_POPUP_MISSING_REQUIRED_PARAMETERS",message:"Masterpass popup failed to return all required parameters needed to continue tokenization."},MASTERPASS_POPUP_CLOSED:{type:r.types.CUSTOMER,code:"MASTERPASS_POPUP_CLOSED",message:"Customer closed Masterpass popup before authorizing."},MASTERPASS_INVALID_PAYMENT_OPTION:{type:r.types.MERCHANT,code:"MASTERPASS_INVALID_PAYMENT_OPTION",message:"Masterpass payment options are invalid."},MASTERPASS_FLOW_FAILED:{type:r.types.NETWORK,code:"MASTERPASS_FLOW_FAILED",message:"Could not initialize Masterpass flow."}}},{"../../lib/braintree-error":126}],173:[function(e,t,n){"use strict";var r=e("../../lib/analytics"),i=e("../../lib/assign").assign,o=e("framebus"),a=e("../../lib/convert-methods-to-error"),s=e("../../lib/generate-google-pay-configuration"),c=e("@braintree/iframer"),l=e("@braintree/uuid"),u=e("../../lib/use-min"),d=e("../../lib/methods"),p=e("../../lib/promise"),_=e("@braintree/event-emitter"),E=e("../../lib/braintree-error"),h=e("../shared/constants"),f=h.events,m=h.errors,y=e("@braintree/wrap-promise"),A={Visa:"visa",MasterCard:"mastercard","American Express":"amex","Diners Club":"diners",Discover:"discover",JCB:"jcb",UnionPay:"unionpay",Maestro:"maestro"};function T(e){var t=e.enabledPaymentMethods||{} +;_.call(this),this._componentId=l(),this._client=e.client,this._enabledPaymentMethods={basicCard:!1!==t.basicCard,googlePay:!1!==t.googlePay},this._googlePayVersion=2===e.googlePayVersion?2:1,this._googleMerchantId="18278000977346790994",this._supportedPaymentMethods=this._constructDefaultSupportedPaymentMethods(),this._defaultSupportedPaymentMethods=Object.keys(this._supportedPaymentMethods).map(function(e){return this._supportedPaymentMethods[e]}.bind(this)),this._bus=new o({channel:this._componentId})}_.createChild(T),T.prototype._constructDefaultSupportedPaymentMethods=function(){var e=this._client.getConfiguration(),t=e.gatewayConfiguration.androidPay,n=e.gatewayConfiguration.creditCards,r={};return this._enabledPaymentMethods.basicCard&&n&&n.supportedCardTypes.length>0&&(r.basicCard={supportedMethods:"basic-card",data:{supportedNetworks:n.supportedCardTypes.reduce((function(e,t){return t in A&&e.push(A[t]),e}),[])}}),this._enabledPaymentMethods.googlePay&&t&&t.enabled&&(r.googlePay={supportedMethods:"https://google.com/pay",data:s(e,this._googlePayVersion,this._googleMerchantId)}),r},T.prototype.initialize=function(){var e=this._client.getConfiguration(),t=this;return this._frame=c({allowPaymentRequest:!0,name:"braintree-payment-request-frame",class:"braintree-payment-request-frame",height:0,width:0,style:{position:"absolute",left:"-9999px"},title:"Secure Payment Frame"}),0===this._defaultSupportedPaymentMethods.length?p.reject(new E(m.PAYMENT_REQUEST_NO_VALID_SUPPORTED_PAYMENT_METHODS)):new p((function(n){var i,o,a;t._bus.on(f.FRAME_READY,(function(e){e(t._client)})),t._bus.on(f.FRAME_CAN_MAKE_REQUESTS,(function(){r.sendEvent(t._client,"payment-request.initialized"),t._bus.on(f.SHIPPING_ADDRESS_CHANGE,(function(e){var n={target:{shippingAddress:e},updateWith:function(e){t._bus.emit(f.UPDATE_SHIPPING_ADDRESS,e)}};t._emit("shippingAddressChange",n),t._emit("shippingaddresschange",n)})),t._bus.on(f.SHIPPING_OPTION_CHANGE,(function(e){var n={target:{shippingOption:e},updateWith:function(e){t._bus.emit(f.UPDATE_SHIPPING_OPTION,e)}};t._emit("shippingOptionChange",n),t._emit("shippingoptionchange",n)})),n(t)})),t._frame.src=(i=e.gatewayConfiguration.assetsUrl,o=t._componentId,a=e.isDebug,i+"/web/3.76.4/html/payment-request-frame"+u(a)+".html#"+o),document.body.appendChild(t._frame)}))},T.prototype.createSupportedPaymentMethodsConfiguration=function(e,t){var n;if(!e)throw new E(m.PAYMENT_REQUEST_CREATE_SUPPORTED_PAYMENT_METHODS_CONFIGURATION_MUST_INCLUDE_TYPE);if(!this._enabledPaymentMethods[e])throw new E(m.PAYMENT_REQUEST_CREATE_SUPPORTED_PAYMENT_METHODS_CONFIGURATION_TYPE_NOT_ENABLED);return(n=i({},this._supportedPaymentMethods[e])).data=i({},n.data,t),n},T.prototype.tokenize=function(e){var t=this;return new p((function(n,i){t._bus.emit(f.PAYMENT_REQUEST_INITIALIZED,{supportedPaymentMethods:e.supportedPaymentMethods||t._defaultSupportedPaymentMethods,details:e.details,options:e.options},(function(e){var o=e[0],a=e[1];o?i(t._formatTokenizationError(o)):(r.sendEvent(t._client,"payment-request.tokenize.succeeded"), +n({nonce:a.nonce,type:a.type,description:a.description,details:{rawPaymentResponse:a.details.rawPaymentResponse,cardType:a.details.cardType,lastFour:a.details.lastFour,lastTwo:a.details.lastTwo},binData:a.binData}))}))}))},T.prototype.canMakePayment=function(e){var t,n=this;return window.PaymentRequest?e.supportedPaymentMethods&&(e.supportedPaymentMethods.forEach((function(e){var n=e.supportedMethods;n in h.SUPPORTED_METHODS||(t=n)})),t)?p.reject(new E({type:m.PAYMENT_REQUEST_UNSUPPORTED_PAYMENT_METHOD.type,code:m.PAYMENT_REQUEST_UNSUPPORTED_PAYMENT_METHOD.code,message:t+" is not a supported payment method."})):new p((function(t,i){n._bus.emit(f.CAN_MAKE_PAYMENT,{supportedPaymentMethods:e.supportedPaymentMethods||n._defaultSupportedPaymentMethods,details:e.details,options:e.options},(function(e){var o=e[0],a=e[1];o?i(n._formatCanMakePaymentError(o)):(r.sendEvent(n._client,"payment-request.can-make-payment."+a),t(a))}))})):(r.sendEvent(n._client,"payment-request.can-make-payment.not-available"),p.resolve(!1))},T.prototype.teardown=function(){return this._bus.teardown(),this._frame.parentNode.removeChild(this._frame),a(this,d(T.prototype)),r.sendEvent(this._client,"payment-request.teardown-completed"),p.resolve()},T.prototype._formatTokenizationError=function(e){var t;switch(e.name){case"AbortError":return t=new E({type:m.PAYMENT_REQUEST_CANCELED.type,code:m.PAYMENT_REQUEST_CANCELED.code,message:m.PAYMENT_REQUEST_CANCELED.message,details:{originalError:e}}),r.sendEvent(this._client,"payment-request.tokenize.canceled"),t;case"PAYMENT_REQUEST_INITIALIZATION_FAILED":t=new E({type:m.PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED.type,code:m.PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED.code,message:m.PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED.message,details:{originalError:e}});break;case"BRAINTREE_GATEWAY_GOOGLE_PAYMENT_TOKENIZATION_ERROR":t=new E({type:m.PAYMENT_REQUEST_GOOGLE_PAYMENT_FAILED_TO_TOKENIZE.type,code:m.PAYMENT_REQUEST_GOOGLE_PAYMENT_FAILED_TO_TOKENIZE.code,message:m.PAYMENT_REQUEST_GOOGLE_PAYMENT_FAILED_TO_TOKENIZE.message,details:{originalError:e}});break;case"BRAINTREE_GATEWAY_GOOGLE_PAYMENT_PARSING_ERROR":t=new E({type:m.PAYMENT_REQUEST_GOOGLE_PAYMENT_PARSING_ERROR.type,code:m.PAYMENT_REQUEST_GOOGLE_PAYMENT_PARSING_ERROR.code,message:m.PAYMENT_REQUEST_GOOGLE_PAYMENT_PARSING_ERROR.message,details:{originalError:e}});break;default:t=new E({code:m.PAYMENT_REQUEST_NOT_COMPLETED.code,type:e.type||E.types.CUSTOMER,message:m.PAYMENT_REQUEST_NOT_COMPLETED.message,details:{originalError:e}})}return r.sendEvent(this._client,"payment-request.tokenize.failed"),t},T.prototype._formatCanMakePaymentError=function(e){var t;switch(e.name){case"PAYMENT_REQUEST_INITIALIZATION_FAILED":t=new E({type:m.PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED.type,code:m.PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED.code,message:m.PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED.message,details:{originalError:e}});break;case"NotAllowedError":t=new E({type:m.PAYMENT_REQUEST_CAN_MAKE_PAYMENT_NOT_ALLOWED.type, +code:m.PAYMENT_REQUEST_CAN_MAKE_PAYMENT_NOT_ALLOWED.code,message:m.PAYMENT_REQUEST_CAN_MAKE_PAYMENT_NOT_ALLOWED.message,details:{originalError:e}});break;default:t=new E({code:m.PAYMENT_REQUEST_CAN_MAKE_PAYMENT_FAILED.code,type:m.PAYMENT_REQUEST_CAN_MAKE_PAYMENT_FAILED.type,message:m.PAYMENT_REQUEST_CAN_MAKE_PAYMENT_FAILED.message,details:{originalError:e}})}return r.sendEvent(this._client,"payment-request.can-make-payment.failed"),t},t.exports=y.wrapPrototype(T)},{"../../lib/analytics":121,"../../lib/assign":123,"../../lib/braintree-error":126,"../../lib/convert-methods-to-error":129,"../../lib/generate-google-pay-configuration":151,"../../lib/methods":157,"../../lib/promise":159,"../../lib/use-min":162,"../shared/constants":175,"@braintree/event-emitter":34,"@braintree/iframer":36,"@braintree/uuid":40,"@braintree/wrap-promise":44,framebus:53}],174:[function(e,t,n){"use strict";var r=e("./external/payment-request"),i=e("../lib/basic-component-verification"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("@braintree/wrap-promise");t.exports={create:s((function(e){var t="Payment Request";return i.verify({name:t,client:e.client,authorization:e.authorization}).then((function(){return o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t})})).then((function(t){return e.client=t,new r(e).initialize()}))})),VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"./external/payment-request":173,"@braintree/wrap-promise":44}],175:[function(e,t,n){"use strict";var r=e("../../lib/enumerate"),i=e("./errors"),o={};o.events=r(["CAN_MAKE_PAYMENT","FRAME_READY","FRAME_CAN_MAKE_REQUESTS","PAYMENT_REQUEST_INITIALIZED","SHIPPING_ADDRESS_CHANGE","UPDATE_SHIPPING_ADDRESS","SHIPPING_OPTION_CHANGE","UPDATE_SHIPPING_OPTION"],"payment-request:"),o.errors=i,o.SUPPORTED_METHODS={"basic-card":!0,"https://google.com/pay":!0},t.exports=o},{"../../lib/enumerate":136,"./errors":176}],176:[function(e,t,n){"use strict";var r=e("../../lib/braintree-error");t.exports={PAYMENT_REQUEST_NO_VALID_SUPPORTED_PAYMENT_METHODS:{type:r.types.MERCHANT,code:"PAYMENT_REQUEST_NO_VALID_SUPPORTED_PAYMENT_METHODS",message:"There are no supported payment methods associated with this account."},PAYMENT_REQUEST_CANCELED:{type:r.types.CUSTOMER,code:"PAYMENT_REQUEST_CANCELED",message:"Payment request was canceled."},PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED:{type:r.types.MERCHANT,code:"PAYMENT_REQUEST_INITIALIZATION_MISCONFIGURED",message:"Something went wrong when configuring the payment request."},PAYMENT_REQUEST_CAN_MAKE_PAYMENT_FAILED:{type:r.types.UNKNOWN,code:"PAYMENT_REQUEST_CAN_MAKE_PAYMENT_FAILED",message:"Something went wrong when calling `canMakePayment`"},PAYMENT_REQUEST_CAN_MAKE_PAYMENT_NOT_ALLOWED:{type:r.types.MERCHANT,code:"PAYMENT_REQUEST_CAN_MAKE_PAYMENT_NOT_ALLOWED", +message:"Something went wrong when calling `canMakePayment`. Most likely, `canMakePayment` was called multiple times with different supportedMethods configurations."},PAYMENT_REQUEST_UNSUPPORTED_PAYMENT_METHOD:{type:r.types.MERCHANT,code:"PAYMENT_REQUEST_UNSUPPORTED_PAYMENT_METHOD"},PAYMENT_REQUEST_GOOGLE_PAYMENT_FAILED_TO_TOKENIZE:{type:r.types.MERCHANT,code:"PAYMENT_REQUEST_GOOGLE_PAYMENT_FAILED_TO_TOKENIZE",message:"Something went wrong when tokenizing the Google Pay card."},PAYMENT_REQUEST_GOOGLE_PAYMENT_PARSING_ERROR:{type:r.types.UNKNOWN,code:"PAYMENT_REQUEST_GOOGLE_PAYMENT_PARSING_ERROR",message:"Something went wrong when tokenizing the Google Pay card."},PAYMENT_REQUEST_NOT_COMPLETED:{code:"PAYMENT_REQUEST_NOT_COMPLETED",message:"Payment request could not be completed."},PAYMENT_REQUEST_CREATE_SUPPORTED_PAYMENT_METHODS_CONFIGURATION_MUST_INCLUDE_TYPE:{type:r.types.MERCHANT,code:"PAYMENT_REQUEST_CREATE_SUPPORTED_PAYMENT_METHODS_CONFIGURATION_MUST_INCLUDE_TYPE",message:"createSupportedPaymentMethodsConfiguration must include a type parameter."},PAYMENT_REQUEST_CREATE_SUPPORTED_PAYMENT_METHODS_CONFIGURATION_TYPE_NOT_ENABLED:{type:r.types.MERCHANT,code:"PAYMENT_REQUEST_CREATE_SUPPORTED_PAYMENT_METHODS_CONFIGURATION_TYPE_NOT_ENABLED",message:"createSupportedPaymentMethodsConfiguration type parameter must be valid or enabled."}}},{"../../lib/braintree-error":126}],177:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={PAYPAL_NOT_ENABLED:{type:r.types.MERCHANT,code:"PAYPAL_NOT_ENABLED",message:"PayPal is not enabled for this merchant."},PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED:{type:r.types.MERCHANT,code:"PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED",message:"A linked PayPal Sandbox account is required to use PayPal Checkout in Sandbox. See https://developers.braintreepayments.com/guides/paypal/testing-go-live/#linked-paypal-testing for details on linking your PayPal sandbox with Braintree."},PAYPAL_ACCOUNT_TOKENIZATION_FAILED:{type:r.types.NETWORK,code:"PAYPAL_ACCOUNT_TOKENIZATION_FAILED",message:"Could not tokenize user's PayPal account."},PAYPAL_FLOW_FAILED:{type:r.types.NETWORK,code:"PAYPAL_FLOW_FAILED",message:"Could not initialize PayPal flow."},PAYPAL_FLOW_OPTION_REQUIRED:{type:r.types.MERCHANT,code:"PAYPAL_FLOW_OPTION_REQUIRED",message:"PayPal flow property is invalid or missing."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED:{type:r.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED"},PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED:{type:r.types.NETWORK,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED",message:"Something went wrong when setting up the checkout workflow."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED:{type:r.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED",message:"PayPal popup failed to open, make sure to initiate the vault checkout in response to a user action."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED:{type:r.types.CUSTOMER,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED", +message:"Customer closed PayPal popup before authorizing."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS:{type:r.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS",message:"Vault initiated checkout already in progress."},PAYPAL_INVALID_PAYMENT_OPTION:{type:r.types.MERCHANT,code:"PAYPAL_INVALID_PAYMENT_OPTION",message:"PayPal payment options are invalid."}}},{"../lib/braintree-error":126}],178:[function(e,t,n){"use strict";var r=e("../lib/basic-component-verification"),i=e("@braintree/wrap-promise"),o=e("./paypal-checkout");t.exports={create:i((function(e){return r.verify({name:"PayPal Checkout",client:e.client,authorization:e.authorization}).then((function(){return new o(e)._initialize(e)}))})),isSupported:function(){return!0},VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"./paypal-checkout":179,"@braintree/wrap-promise":44}],179:[function(e,t,n){"use strict";var r=e("../lib/analytics"),i=e("../lib/assign").assign,o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("../lib/promise"),c=e("@braintree/extended-promise"),l=e("@braintree/wrap-promise"),u=e("../lib/braintree-error"),d=e("../lib/convert-to-braintree-error"),p=e("./errors"),_=e("../paypal/shared/constants"),E=e("../lib/frame-service/external"),h=e("../lib/create-authorization-data"),f=e("../lib/methods"),m=e("../lib/use-min"),y=e("../lib/convert-methods-to-error"),A=e("../lib/querystring"),T=e("../lib/constants").INTEGRATION_TIMEOUT_MS,I=["amount","currency","vaultInitiatedCheckoutPaymentMethodToken"];function N(e){this._merchantAccountId=e.merchantAccountId,this._autoSetDataUserIdToken=Boolean(e.autoSetDataUserIdToken)}N.prototype._initialize=function(e){var t;return e.client?(t=e.client.getConfiguration(),this._authorizationInformation={fingerprint:t.authorizationFingerprint,environment:t.gatewayConfiguration.environment}):(t=h(e.authorization),this._authorizationInformation={fingerprint:t.attrs.authorizationFingerprint,environment:t.environment}),this._clientPromise=o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:"PayPal Checkout"}).then(function(e){return this._configuration=e.getConfiguration(),this._merchantAccountId||(this._configuration.gatewayConfiguration.paypalEnabled?!0===this._configuration.gatewayConfiguration.paypal.environmentNoNetwork&&(this._setupError=new u(p.PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED)):this._setupError=new u(p.PAYPAL_NOT_ENABLED)),this._setupError?s.reject(this._setupError):(r.sendEvent(e,"paypal-checkout.initialized"),this._frameServicePromise=this._setupFrameService(e),e)}.bind(this)),e.client?this._clientPromise.then(function(){return this}.bind(this)):s.resolve(this)},N.prototype._setupFrameService=function(e){var t=new c,n=e.getConfiguration(),i=setTimeout((function(){r.sendEvent(e,"paypal-checkout.frame-service.timed-out"),t.reject(new u(p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED))}),T);return this._assetsUrl=n.gatewayConfiguration.paypal.assetsUrl+"/web/3.76.4",this._isDebug=n.isDebug, +this._loadingFrameUrl=this._assetsUrl+"/html/paypal-landing-frame"+m(this._isDebug)+".html",E.create({name:"braintreepaypallanding",dispatchFrameUrl:this._assetsUrl+"/html/dispatch-frame"+m(this._isDebug)+".html",openFrameUrl:this._loadingFrameUrl},function(e){this._frameService=e,clearTimeout(i),t.resolve()}.bind(this)),t},N.prototype.createPayment=function(e){return e&&_.FLOW_ENDPOINTS.hasOwnProperty(e.flow)?(r.sendEvent(this._clientPromise,"paypal-checkout.createPayment"),this._createPaymentResource(e).then((function(t){return"checkout"===e.flow?t.paymentResource.redirectUrl.match(/EC-\w+/)[0]:t.agreementSetup.tokenId}))):s.reject(new u(p.PAYPAL_FLOW_OPTION_REQUIRED))},N.prototype._createPaymentResource=function(e,t){var n=this,i="paypal_hermes/"+_.FLOW_ENDPOINTS[e.flow];return delete this.intentFromCreatePayment,t=t||{},!0===e.offerCredit&&r.sendEvent(this._clientPromise,"paypal-checkout.credit.offered"),this._clientPromise.then((function(r){return r.request({endpoint:i,method:"post",data:n._formatPaymentResourceData(e,t)}).then((function(t){return n.intentFromCreatePayment=e.intent,t}))})).catch((function(e){return n._setupError?s.reject(n._setupError):422===(e.details&&e.details.httpStatus)?s.reject(new u({type:p.PAYPAL_INVALID_PAYMENT_OPTION.type,code:p.PAYPAL_INVALID_PAYMENT_OPTION.code,message:p.PAYPAL_INVALID_PAYMENT_OPTION.message,details:{originalError:e}})):s.reject(d(e,{type:p.PAYPAL_FLOW_FAILED.type,code:p.PAYPAL_FLOW_FAILED.code,message:p.PAYPAL_FLOW_FAILED.message}))}))},N.prototype.startVaultInitiatedCheckout=function(e){var t,n=this;return this._vaultInitiatedCheckoutInProgress?(r.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.error.already-in-progress"),s.reject(new u(p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS))):(I.forEach((function(n){e.hasOwnProperty(n)||(t=n)})),t?s.reject(new u({type:p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED.type,code:p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED.code,message:"Required param "+t+" is missing."})):(this._vaultInitiatedCheckoutInProgress=!0,this._addModalBackdrop(e),e=i({},e,{flow:"checkout"}),r.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.started"),this._waitForVaultInitiatedCheckoutDependencies().then((function(){var t=new c,r=n._createPaymentResource(e,{returnUrl:n._constructVaultCheckutUrl("redirect-frame"),cancelUrl:n._constructVaultCheckutUrl("cancel-frame")}).then((function(e){var r=e.paymentResource.redirectUrl;return n._frameService.redirect(r),t}));return n._frameService.open({},n._createFrameServiceCallback(t)),r})).catch((function(e){return n._vaultInitiatedCheckoutInProgress=!1,n._removeModalBackdrop(),"FRAME_SERVICE_FRAME_CLOSED"===e.code?(r.sendEvent(n._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.canceled.by-customer"),s.reject(new u(p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED))):(n._frameService&&n._frameService.close(), +e.code&&e.code.indexOf("FRAME_SERVICE_FRAME_OPEN_FAILED")>-1?(r.sendEvent(n._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.failed.popup-not-opened"),s.reject(new u({code:p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED.code,type:p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED.type,message:p.PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED.message,details:{originalError:e}}))):s.reject(e))})).then((function(e){return n._frameService.close(),n._vaultInitiatedCheckoutInProgress=!1,n._removeModalBackdrop(),r.sendEvent(n._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.succeeded"),s.resolve(e)}))))},N.prototype._addModalBackdrop=function(e){e.optOutOfModalBackdrop||(this._modalBackdrop||(this._modalBackdrop=document.createElement("div"),this._modalBackdrop.setAttribute("data-braintree-paypal-vault-initiated-checkout-modal",!0),this._modalBackdrop.style.position="fixed",this._modalBackdrop.style.top=0,this._modalBackdrop.style.bottom=0,this._modalBackdrop.style.left=0,this._modalBackdrop.style.right=0,this._modalBackdrop.style.zIndex=9999,this._modalBackdrop.style.background="black",this._modalBackdrop.style.opacity="0.7",this._modalBackdrop.addEventListener("click",function(){this.focusVaultInitiatedCheckoutWindow()}.bind(this))),document.body.appendChild(this._modalBackdrop))},N.prototype._removeModalBackdrop=function(){this._modalBackdrop&&this._modalBackdrop.parentNode&&this._modalBackdrop.parentNode.removeChild(this._modalBackdrop)},N.prototype.closeVaultInitiatedCheckoutWindow=function(){return this._vaultInitiatedCheckoutInProgress&&r.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.canceled.by-merchant"),this._waitForVaultInitiatedCheckoutDependencies().then(function(){this._frameService.close()}.bind(this))},N.prototype.focusVaultInitiatedCheckoutWindow=function(){return this._waitForVaultInitiatedCheckoutDependencies().then(function(){this._frameService.focus()}.bind(this))},N.prototype._createFrameServiceCallback=function(e){var t=this;return function(n,r){n?e.reject(n):r&&(t._frameService.redirect(t._loadingFrameUrl),t.tokenizePayment({paymentToken:r.token,payerID:r.PayerID,paymentID:r.paymentId}).then((function(t){e.resolve(t)})).catch((function(t){e.reject(t)})))}},N.prototype._waitForVaultInitiatedCheckoutDependencies=function(){var e=this;return this._clientPromise.then((function(){return e._frameServicePromise}))},N.prototype._constructVaultCheckutUrl=function(e){var t=this._frameService._serviceId;return this._assetsUrl+"/html/"+e+m(this._isDebug)+".html?channel="+t},N.prototype.tokenizePayment=function(e){var t,n=this,i=!0,o={flow:e.billingToken&&!e.paymentID?"vault":"checkout",intent:e.intent||this.intentFromCreatePayment},a={ecToken:e.paymentToken,billingToken:e.billingToken,payerId:e.payerID,paymentId:e.paymentID,shippingOptionsId:e.shippingOptionsId};return e.hasOwnProperty("vault")&&(i=e.vault),o.vault=i,r.sendEvent(this._clientPromise,"paypal-checkout.tokenization.started"),this._clientPromise.then((function(e){ +return e.request({endpoint:"payment_methods/paypal_accounts",method:"post",data:n._formatTokenizeData(o,a)})})).then((function(e){return t=n._formatTokenizePayload(e),r.sendEvent(n._clientPromise,"paypal-checkout.tokenization.success"),t.creditFinancingOffered&&r.sendEvent(n._clientPromise,"paypal-checkout.credit.accepted"),t})).catch((function(e){return n._setupError?s.reject(n._setupError):(r.sendEvent(n._clientPromise,"paypal-checkout.tokenization.failed"),s.reject(d(e,{type:p.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.type,code:p.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.code,message:p.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.message})))}))},N.prototype.getClientId=function(){return this._clientPromise.then((function(e){return e.getConfiguration().gatewayConfiguration.paypal.clientId}))},N.prototype.loadPayPalSDK=function(e){var t,n=new c,r=e&&e.dataAttributes;return t=r&&r["user-id-token"]?r["user-id-token"]:this._authorizationInformation.fingerprint&&this._authorizationInformation.fingerprint.split("?")[0],this._paypalScript=document.createElement("script"),delete(e=i({},{components:"buttons"},e)).dataAttributes,e.vault?e.intent=e.intent||"tokenize":(e.intent=e.intent||"authorize",e.currency=e.currency||"USD"),this._paypalScript.onload=function(){n.resolve()},r&&Object.keys(r).forEach(function(e){this._paypalScript.setAttribute("data-"+e,r[e])}.bind(this)),(e["client-id"]?s.resolve(e["client-id"]):this.getClientId()).then(function(n){e["client-id"]=n,this._autoSetDataUserIdToken&&t&&(this._paypalScript.setAttribute("data-user-id-token",t),this._attachPreloadPixel({id:n,userIdToken:t,amount:r&&r.amount,currency:e.currency,merchantId:e["merchant-id"]})),this._paypalScript.src=A.queryify("https://www.paypal.com/sdk/js?",e),document.head.insertBefore(this._paypalScript,document.head.firstElementChild)}.bind(this)),n.then(function(){return this}.bind(this))},N.prototype._attachPreloadPixel=function(e){var t,n=e.id,r=e.userIdToken,i=this._authorizationInformation.environment,o="https://www.{ENV}paypal.com/smart/buttons/preload".replace("{ENV}","production"===i?"":"sandbox."),a={"client-id":n,"user-id-token":r};e.amount&&(a.amount=e.amount),e.currency&&(a.currency=e.currency),e.merchantId&&(a["merchant-id"]=e.merchantId),(t=new XMLHttpRequest).open("GET",A.queryify(o,a)),t.send()},N.prototype._formatPaymentResourceData=function(e,t){var n,r=this._configuration.gatewayConfiguration,i=e.intent,o={returnUrl:t.returnUrl||"https://www.paypal.com/checkoutnow/error",cancelUrl:t.cancelUrl||"https://www.paypal.com/checkoutnow/error",offerPaypalCredit:!0===e.offerCredit,merchantAccountId:this._merchantAccountId,experienceProfile:{brandName:e.displayName||r.paypal.displayName,localeCode:e.locale,noShipping:(!e.enableShippingAddress).toString(),addressOverride:!1===e.shippingAddressEditable,landingPageType:e.landingPageType},shippingOptions:e.shippingOptions};if("checkout"===e.flow){for(n in o.amount=e.amount,o.currencyIsoCode=e.currency,o.requestBillingAgreement=e.requestBillingAgreement,i&&("capture"===i&&(i="sale"),o.intent=i), +e.hasOwnProperty("lineItems")&&(o.lineItems=e.lineItems),e.hasOwnProperty("vaultInitiatedCheckoutPaymentMethodToken")&&(o.vaultInitiatedCheckoutPaymentMethodToken=e.vaultInitiatedCheckoutPaymentMethodToken),e.hasOwnProperty("shippingOptions")&&(o.shippingOptions=e.shippingOptions),e.shippingAddressOverride)e.shippingAddressOverride.hasOwnProperty(n)&&(o[n]=e.shippingAddressOverride[n]);e.hasOwnProperty("billingAgreementDetails")&&(o.billingAgreementDetails=e.billingAgreementDetails)}else o.shippingAddress=e.shippingAddressOverride,e.billingAgreementDescription&&(o.description=e.billingAgreementDescription);return o},N.prototype._formatTokenizeData=function(e,t){var n=this._configuration,r=n.gatewayConfiguration,i="TOKENIZATION_KEY"===n.authorizationType,o="vault"===e.flow,a={paypalAccount:{correlationId:t.billingToken||t.ecToken,options:{validate:o&&!i&&e.vault}}};return o?a.paypalAccount.billingAgreementToken=t.billingToken:(a.paypalAccount.paymentToken=t.paymentId,a.paypalAccount.payerId=t.payerId,a.paypalAccount.unilateral=r.paypal.unvettedMerchant,e.intent&&(a.paypalAccount.intent=e.intent)),this._merchantAccountId&&(a.merchantAccountId=this._merchantAccountId),a},N.prototype._formatTokenizePayload=function(e){var t,n={};return e.paypalAccounts&&(n=e.paypalAccounts[0]),t={nonce:n.nonce,details:{},type:n.type},n.details&&n.details.payerInfo&&(t.details=n.details.payerInfo),n.details&&n.details.creditFinancingOffered&&(t.creditFinancingOffered=n.details.creditFinancingOffered),n.details&&n.details.shippingOptionId&&(t.shippingOptionId=n.details.shippingOptionId),n.details&&n.details.cobrandedCardLabel&&(t.cobrandedCardLabel=n.details.cobrandedCardLabel),t},N.prototype.teardown=function(){var e=this;return y(this,f(N.prototype)),this._paypalScript&&this._paypalScript.parentNode&&this._paypalScript.parentNode.removeChild(this._paypalScript),this._frameServicePromise.catch((function(){})).then((function(){return e._frameService?e._frameService.teardown():s.resolve()}))},t.exports=l.wrapPrototype(N)},{"../lib/analytics":121,"../lib/assign":123,"../lib/braintree-error":126,"../lib/constants":128,"../lib/convert-methods-to-error":129,"../lib/convert-to-braintree-error":130,"../lib/create-assets-url":131,"../lib/create-authorization-data":132,"../lib/create-deferred-client":133,"../lib/frame-service/external":141,"../lib/methods":157,"../lib/promise":159,"../lib/querystring":160,"../lib/use-min":162,"../paypal/shared/constants":182,"./errors":177,"@braintree/extended-promise":35,"@braintree/wrap-promise":44}],180:[function(e,t,n){"use strict";var r=e("../../lib/frame-service/external"),i=e("../../lib/braintree-error"),o=e("../../lib/convert-to-braintree-error"),a=e("../../lib/use-min"),s=e("../../lib/once"),c=e("../shared/constants"),l=e("../../lib/constants").INTEGRATION_TIMEOUT_MS,u=e("../../lib/analytics"),d=e("../../lib/methods"),p=e("../../lib/deferred"),_=e("../shared/errors"),E=e("../../lib/convert-methods-to-error"),h=e("../../lib/querystring"),f=e("../../lib/promise"),m=e("@braintree/wrap-promise");function y(e){ +this._client=e.client,this._assetsUrl=e.client.getConfiguration().gatewayConfiguration.paypal.assetsUrl+"/web/3.76.4",this._isDebug=e.client.getConfiguration().isDebug,this._loadingFrameUrl=this._assetsUrl+"/html/paypal-landing-frame"+a(this._isDebug)+".html",this._authorizationInProgress=!1}y.prototype._initialize=function(){var e=this,t=this._client,n=setTimeout((function(){u.sendEvent(t,"paypal.load.timed-out")}),l);return new f((function(i){r.create({name:c.LANDING_FRAME_NAME,dispatchFrameUrl:e._assetsUrl+"/html/dispatch-frame"+a(e._isDebug)+".html",openFrameUrl:e._loadingFrameUrl},(function(r){e._frameService=r,clearTimeout(n),u.sendEvent(t,"paypal.load.succeeded"),i(e)}))}))},y.prototype.tokenize=function(e,t){var n,r,o=this,a=this._client;return t&&(t=s(p(t))),e&&c.FLOW_ENDPOINTS.hasOwnProperty(e.flow)?(n=new f((function(t,n){o._authorizationInProgress?(u.sendEvent(a,"paypal.tokenization.error.already-opened"),n(new i(_.PAYPAL_TOKENIZATION_REQUEST_ACTIVE))):(o._authorizationInProgress=!0,window.popupBridge||u.sendEvent(a,"paypal.tokenization.opened"),!0===e.offerCredit&&u.sendEvent(a,"paypal.credit.offered"),!0===e.offerPayLater&&u.sendEvent(a,"paypal.paylater.offered"),o._navigateFrameToAuth(e).catch(n),o._frameService.open({},o._createFrameServiceCallback(e,t,n)))})),t?(n.then((function(e){t(null,e)})).catch(t),this._frameService.createHandler({beforeClose:function(){u.sendEvent(a,"paypal.tokenization.closed.by-merchant")}})):n):(r=new i(_.PAYPAL_FLOW_OPTION_REQUIRED),t?(t(r),this._frameService.createNoopHandler()):f.reject(r))},y.prototype._createFrameServiceCallback=function(e,t,n){var r=this,o=this._client;return window.popupBridge?function(a,s){var c=s&&s.path&&"/cancel"===s.path.substring(0,7);r._authorizationInProgress=!1,a||c?(u.sendEvent(o,"paypal.tokenization.closed-popupbridge.by-user"),n(new i(_.PAYPAL_POPUP_CLOSED))):s&&r._tokenizePayPal(e,s.queryItems).then(t).catch(n)}:function(a,s){r._authorizationInProgress=!1,a?"FRAME_SERVICE_FRAME_CLOSED"===a.code?(u.sendEvent(o,"paypal.tokenization.closed.by-user"),n(new i(_.PAYPAL_POPUP_CLOSED))):a.code&&a.code.indexOf("FRAME_SERVICE_FRAME_OPEN_FAILED")>-1&&n(new i({code:_.PAYPAL_POPUP_OPEN_FAILED.code,type:_.PAYPAL_POPUP_OPEN_FAILED.type,message:_.PAYPAL_POPUP_OPEN_FAILED.message,details:{originalError:a}})):s&&r._tokenizePayPal(e,s).then(t).catch(n)}},y.prototype._tokenizePayPal=function(e,t){var n=this,r=this._client;return window.popupBridge||this._frameService.redirect(this._loadingFrameUrl),r.request({endpoint:"payment_methods/paypal_accounts",method:"post",data:this._formatTokenizeData(e,t)}).then((function(e){var t=n._formatTokenizePayload(e);return window.popupBridge?u.sendEvent(r,"paypal.tokenization.success-popupbridge"):u.sendEvent(r,"paypal.tokenization.success"),t.creditFinancingOffered&&u.sendEvent(r,"paypal.credit.accepted"),n._frameService.close(),t})).catch((function(e){return window.popupBridge?u.sendEvent(r,"paypal.tokenization.failed-popupbridge"):u.sendEvent(r,"paypal.tokenization.failed"),n._frameService.close(),f.reject(o(e,{ +type:_.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.type,code:_.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.code,message:_.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.message}))}))},y.prototype._formatTokenizePayload=function(e){var t,n={};return e.paypalAccounts&&(n=e.paypalAccounts[0]),t={nonce:n.nonce,details:{},type:n.type},n.details&&n.details.payerInfo&&(t.details=n.details.payerInfo),n.details&&n.details.creditFinancingOffered&&(t.creditFinancingOffered=n.details.creditFinancingOffered),t},y.prototype._formatTokenizeData=function(e,t){var n=this._client.getConfiguration(),r=n.gatewayConfiguration,i="TOKENIZATION_KEY"===n.authorizationType,o={paypalAccount:{correlationId:t.ba_token||t.token,options:{validate:"vault"===e.flow&&!i}}};return t.ba_token?o.paypalAccount.billingAgreementToken=t.ba_token:(o.paypalAccount.paymentToken=t.paymentId,o.paypalAccount.payerId=t.PayerID,o.paypalAccount.unilateral=r.paypal.unvettedMerchant,e.hasOwnProperty("intent")&&(o.paypalAccount.intent=e.intent)),o},y.prototype._navigateFrameToAuth=function(e){var t=this,n=this._client,r="paypal_hermes/"+c.FLOW_ENDPOINTS[e.flow];return n.request({endpoint:r,method:"post",data:this._formatPaymentResourceData(e)}).then((function(r){var i;i="checkout"===e.flow?r.paymentResource.redirectUrl:r.agreementSetup.approvalUrl,"commit"===e.useraction&&(i=h.queryify(i,{useraction:"commit"})),window.popupBridge&&u.sendEvent(n,"paypal.tokenization.opened-popupbridge"),t._frameService.redirect(i)})).catch((function(e){var n=e.details&&e.details.httpStatus;return t._frameService.close(),t._authorizationInProgress=!1,422===n?f.reject(new i({type:_.PAYPAL_INVALID_PAYMENT_OPTION.type,code:_.PAYPAL_INVALID_PAYMENT_OPTION.code,message:_.PAYPAL_INVALID_PAYMENT_OPTION.message,details:{originalError:e}})):f.reject(o(e,{type:_.PAYPAL_FLOW_FAILED.type,code:_.PAYPAL_FLOW_FAILED.code,message:_.PAYPAL_FLOW_FAILED.message}))}))},y.prototype._formatPaymentResourceData=function(e){var t,n=this._client.getConfiguration().gatewayConfiguration,r=this._frameService._serviceId,i={returnUrl:n.paypal.assetsUrl+"/web/3.76.4/html/redirect-frame"+a(this._isDebug)+".html?channel="+r,cancelUrl:n.paypal.assetsUrl+"/web/3.76.4/html/cancel-frame"+a(this._isDebug)+".html?channel="+r,offerPaypalCredit:!0===e.offerCredit,offerPayLater:!0===e.offerPayLater,experienceProfile:{brandName:e.displayName||n.paypal.displayName,localeCode:e.locale,noShipping:(!e.enableShippingAddress).toString(),addressOverride:!1===e.shippingAddressEditable,landingPageType:e.landingPageType}};if(window.popupBridge&&"function"==typeof window.popupBridge.getReturnUrlPrefix&&(i.returnUrl=window.popupBridge.getReturnUrlPrefix()+"return",i.cancelUrl=window.popupBridge.getReturnUrlPrefix()+"cancel"),"checkout"===e.flow)for(t in i.amount=e.amount,i.currencyIsoCode=e.currency,e.hasOwnProperty("intent")&&(i.intent=e.intent),e.shippingAddressOverride)e.shippingAddressOverride.hasOwnProperty(t)&&(i[t]=e.shippingAddressOverride[t]);else i.shippingAddress=e.shippingAddressOverride, +e.billingAgreementDescription&&(i.description=e.billingAgreementDescription);return i},y.prototype.closeWindow=function(){this._authorizationInProgress&&u.sendEvent(this._client,"paypal.tokenize.closed.by-merchant"),this._frameService.close()},y.prototype.focusWindow=function(){this._frameService.focus()},y.prototype.teardown=m((function(){return this._frameService.teardown(),E(this,d(y.prototype)),u.sendEvent(this._client,"paypal.teardown-completed"),f.resolve()})),t.exports=y},{"../../lib/analytics":121,"../../lib/braintree-error":126,"../../lib/constants":128,"../../lib/convert-methods-to-error":129,"../../lib/convert-to-braintree-error":130,"../../lib/deferred":134,"../../lib/frame-service/external":141,"../../lib/methods":157,"../../lib/once":158,"../../lib/promise":159,"../../lib/querystring":160,"../../lib/use-min":162,"../shared/constants":182,"../shared/errors":183,"@braintree/wrap-promise":44}],181:[function(e,t,n){"use strict";var r=e("../lib/analytics"),i=e("../lib/basic-component-verification"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("../lib/braintree-error"),c=e("./shared/errors"),l=e("./external/paypal"),u=e("@braintree/wrap-promise"),d=e("../lib/promise");t.exports={create:u((function(e){return i.verify({name:"PayPal",client:e.client,authorization:e.authorization}).then((function(){return o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:"PayPal"})})).then((function(t){var n=t.getConfiguration();return e.client=t,!0!==n.gatewayConfiguration.paypalEnabled?d.reject(new s(c.PAYPAL_NOT_ENABLED)):(r.sendEvent(e.client,"paypal.initialized"),new l(e)._initialize())}))})),isSupported:function(){return!0},VERSION:"3.76.4"}},{"../lib/analytics":121,"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./external/paypal":180,"./shared/errors":183,"@braintree/wrap-promise":44}],182:[function(e,t,n){"use strict";t.exports={LANDING_FRAME_NAME:"braintreepaypallanding",FLOW_ENDPOINTS:{checkout:"create_payment_resource",vault:"setup_billing_agreement"}}},{}],183:[function(e,t,n){"use strict";var r=e("../../lib/braintree-error");t.exports={PAYPAL_NOT_ENABLED:{type:r.types.MERCHANT,code:"PAYPAL_NOT_ENABLED",message:"PayPal is not enabled for this merchant."},PAYPAL_TOKENIZATION_REQUEST_ACTIVE:{type:r.types.MERCHANT,code:"PAYPAL_TOKENIZATION_REQUEST_ACTIVE",message:"Another tokenization request is active."},PAYPAL_ACCOUNT_TOKENIZATION_FAILED:{type:r.types.NETWORK,code:"PAYPAL_ACCOUNT_TOKENIZATION_FAILED",message:"Could not tokenize user's PayPal account."},PAYPAL_FLOW_FAILED:{type:r.types.NETWORK,code:"PAYPAL_FLOW_FAILED",message:"Could not initialize PayPal flow."},PAYPAL_FLOW_OPTION_REQUIRED:{type:r.types.MERCHANT,code:"PAYPAL_FLOW_OPTION_REQUIRED",message:"PayPal flow property is invalid or missing."},PAYPAL_POPUP_OPEN_FAILED:{type:r.types.MERCHANT,code:"PAYPAL_POPUP_OPEN_FAILED", +message:"PayPal popup failed to open, make sure to tokenize in response to a user action."},PAYPAL_POPUP_CLOSED:{type:r.types.CUSTOMER,code:"PAYPAL_POPUP_CLOSED",message:"Customer closed PayPal popup before authorizing."},PAYPAL_INVALID_PAYMENT_OPTION:{type:r.types.MERCHANT,code:"PAYPAL_INVALID_PAYMENT_OPTION",message:"PayPal payment options are invalid."}}},{"../../lib/braintree-error":126}],184:[function(e,t,n){"use strict";var r=e("@braintree/wrap-promise"),i=e("../lib/basic-component-verification"),o=e("./preferred-payment-methods");t.exports={create:r((function(e){return i.verify({name:"PreferredPaymentMethods",client:e.client,authorization:e.authorization}).then((function(){return(new o).initialize(e)}))})),VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"./preferred-payment-methods":185,"@braintree/wrap-promise":44}],185:[function(e,t,n){"use strict";var r=e("@braintree/wrap-promise"),i=e("../lib/analytics"),o=e("../lib/create-assets-url"),a=e("../lib/create-deferred-client"),s=e("../lib/promise");function c(){}c.prototype.initialize=function(e){var t=this;return this._clientPromise=a.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:o.create(e.authorization),name:"PreferredPaymentMethods"}).catch((function(e){return t._setupError=e,s.reject(e)})),i.sendEvent(this._clientPromise,"preferred-payment-methods.initialized"),s.resolve(this)},c.prototype.fetchPreferredPaymentMethods=function(){var e,t=this;return this._clientPromise.then((function(t){return(e=t).request({api:"graphQLApi",data:{query:"query PreferredPaymentMethods { preferredPaymentMethods { paypalPreferred venmoPreferred } }"}})})).then((function(t){var n=t.data.preferredPaymentMethods.paypalPreferred,r=t.data.preferredPaymentMethods.venmoPreferred;return i.sendEvent(e,"preferred-payment-methods.paypal.api-detected."+n),i.sendEvent(e,"preferred-payment-methods.venmo.api-detected."+r),{paypalPreferred:n,venmoPreferred:r}})).catch((function(){return t._setupError?s.reject(t._setupError):(i.sendEvent(e,"preferred-payment-methods.api-error"),{paypalPreferred:!1,venmoPreferred:!1})}))},t.exports=r.wrapPrototype(c)},{"../lib/analytics":121,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"@braintree/wrap-promise":44}],186:[function(e,t,n){"use strict";var r=e("../../../lib/assign").assign,i=e("../../../lib/analytics"),o=e("../../../lib/braintree-error"),a=e("../../../lib/promise"),s=e("../../../lib/is-verified-domain"),c=e("@braintree/extended-promise"),l=e("@braintree/event-emitter"),u=e("../../shared/errors"),d=e("@braintree/iframer"),p=e("framebus"),_=e("../../shared/constants"),E=e("@braintree/uuid"),h=e("../../shared/events"),f=e("../../../lib/use-min"),m=e("../../../lib/constants").BUS_CONFIGURATION_REQUEST_EVENT;function y(e){l.call(this),this._client=e.client,this._createPromise=e.createPromise,this._createOptions=e,this._client?(this._isDebug=this._client.getConfiguration().isDebug, +this._assetsUrl=this._client.getConfiguration().gatewayConfiguration.assetsUrl):(this._isDebug=Boolean(e.isDebug),this._assetsUrl=e.assetsUrl),this._assetsUrl=this._assetsUrl+"/web/3.76.4"}l.createChild(y),y.prototype._waitForClient=function(){return this._client?a.resolve():this._createPromise.then(function(e){this._client=e}.bind(this))},y.prototype.setUpEventListeners=function(){throw new o(u.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED)},y.prototype.verifyCard=function(e,t){var n,r,o=this;return t=t||{},(r=this._checkForVerifyCardError(e,t))?a.reject(r):(this._verifyCardInProgress=!0,n=this._formatVerifyCardOptions(e),this._formatLookupData(n).then((function(e){return i.sendEvent(o._createPromise,"three-d-secure.verification-flow.started"),o._performLookup(n.nonce,e)})).then((function(e){return i.sendEvent(o._createPromise,"three-d-secure.verification-flow.3ds-version."+e.lookup.threeDSecureVersion),o._onLookupComplete(e,n)})).then((function(e){return o.initializeChallengeWithLookupResponse(e,n)})).then((function(e){return o._resetVerificationState(),i.sendEvent(o._createPromise,"three-d-secure.verification-flow.completed"),e})).catch((function(e){return o._resetVerificationState(),i.sendEvent(o._createPromise,"three-d-secure.verification-flow.failed"),a.reject(e)})))},y.prototype._checkForFrameworkSpecificVerifyCardErrors=function(){throw new o(u.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED)},y.prototype._presentChallenge=function(){throw new o(u.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED)},y.prototype.prepareLookup=function(){throw new o(u.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED)},y.prototype._resetVerificationState=function(){this._verifyCardInProgress=!1,this._verifyCardPromisePlus=null},y.prototype._performLookup=function(e,t){var n=this,r="payment_methods/"+e+"/three_d_secure/lookup";return this._waitForClient().then((function(){return n._client.request({endpoint:r,method:"post",data:t}).catch((function(e){var t,r=e&&e.details&&e.details.httpStatus,s="three-d-secure.verification-flow.lookup-failed";return 404===r?(t=u.THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR,s+=".404"):422===r?(t=u.THREEDS_LOOKUP_VALIDATION_ERROR,s+=".422"):t=u.THREEDS_LOOKUP_ERROR,i.sendEvent(n._createPromise,s),a.reject(new o({type:t.type,code:t.code,message:t.message,details:{originalError:e}}))}))}))},y.prototype._checkForVerifyCardError=function(e,t){var n;return!0===this._verifyCardInProgress?new o(u.THREEDS_AUTHENTICATION_IN_PROGRESS):(e.nonce?e.amount||(n="an amount"):n="a nonce",n||(n=this._checkForFrameworkSpecificVerifyCardErrors(e,t)),n?new o({type:u.THREEDS_MISSING_VERIFY_CARD_OPTION.type,code:u.THREEDS_MISSING_VERIFY_CARD_OPTION.code,message:"verifyCard options must include "+n+"."}):null)},y.prototype.initializeChallengeWithLookupResponse=function(e,t){var n=this;return t=t||{},this._lookupPaymentMethod=e.paymentMethod,n._verifyCardPromisePlus=n._verifyCardPromisePlus||new c,n._handleLookupResponse(e,t),n._verifyCardPromisePlus.then((function(e){ +return i.sendEvent(n._createPromise,"three-d-secure.verification-flow.liability-shifted."+String(e.liabilityShifted)),i.sendEvent(n._createPromise,"three-d-secure.verification-flow.liability-shift-possible."+String(e.liabilityShiftPossible)),e}))},y.prototype._handleLookupResponse=function(e,t){var n,r=Boolean(e.lookup&&e.lookup.acsUrl);i.sendEvent(this._createPromise,"three-d-secure.verification-flow.challenge-presented."+String(r)),r?this._presentChallenge(e,t):((n=this._formatAuthResponse(e.paymentMethod,e.threeDSecureInfo)).verificationDetails=e.threeDSecureInfo,this._verifyCardPromisePlus.resolve(n))},y.prototype._onLookupComplete=function(e){return this._lookupPaymentMethod=e.paymentMethod,this._verifyCardPromisePlus=new c,a.resolve(e)},y.prototype._formatAuthResponse=function(e,t){return{nonce:e.nonce,binData:e.binData,details:e.details,description:e.description&&e.description.replace(/\+/g," "),liabilityShifted:t&&t.liabilityShifted,liabilityShiftPossible:t&&t.liabilityShiftPossible,threeDSecureInfo:e.threeDSecureInfo}},y.prototype._formatVerifyCardOptions=function(e){return r({},e)},y.prototype._formatLookupData=function(e){var t={amount:e.amount};return a.resolve(t)},y.prototype._handleV1AuthResponse=function(e){var t=JSON.parse(e.auth_response);t.success?this._verifyCardPromisePlus.resolve(this._formatAuthResponse(t.paymentMethod,t.threeDSecureInfo)):t.threeDSecureInfo&&t.threeDSecureInfo.liabilityShiftPossible?this._verifyCardPromisePlus.resolve(this._formatAuthResponse(this._lookupPaymentMethod,t.threeDSecureInfo)):this._verifyCardPromisePlus.reject(new o({type:o.types.UNKNOWN,code:"UNKNOWN_AUTH_RESPONSE",message:t.error.message}))},y.prototype.cancelVerifyCard=function(){var e,t;return this._verifyCardInProgress=!1,this._lookupPaymentMethod?(t=this._lookupPaymentMethod.threeDSecureInfo,e=r({},this._lookupPaymentMethod,{liabilityShiftPossible:t&&t.liabilityShiftPossible,liabilityShifted:t&&t.liabilityShifted,verificationDetails:t&&t.verificationDetails}),a.resolve(e)):a.reject(new o(u.THREEDS_NO_VERIFICATION_PAYLOAD))},y.prototype._setupV1Bus=function(e){var t=window.location.href.split("#")[0],n=e.lookupResponse,r=E(),i=new p({channel:r,verifyDomain:s}),o=this._assetsUrl+"/html/three-d-secure-authentication-complete-frame.html?channel="+encodeURIComponent(r)+"&";return i.on(m,(function(e){e({acsUrl:n.acsUrl,pareq:n.pareq,termUrl:n.termUrl+"&three_d_secure_version=3.76.4&authentication_complete_base_url="+encodeURIComponent(o),md:n.md,parentUrl:t})})),i.on(h.AUTHENTICATION_COMPLETE,e.handleAuthResponse),i},y.prototype._setupV1Iframe=function(e){var t=this._assetsUrl+"/html/three-d-secure-bank-frame"+f(this._isDebug)+".html?showLoader="+e.showLoader;return d({src:t,height:400,width:400,name:_.LANDING_FRAME_NAME+"_"+this._v1Bus.channel,title:"3D Secure Authorization Frame"})},y.prototype._setupV1Elements=function(e){this._v1Bus=this._setupV1Bus(e),this._v1Iframe=this._setupV1Iframe(e)},y.prototype._teardownV1Elements=function(){this._v1Bus&&(this._v1Bus.teardown(),this._v1Bus=null), +this._v1Iframe&&this._v1Iframe.parentNode&&(this._v1Iframe.parentNode.removeChild(this._v1Iframe),this._v1Iframe=null),this._onV1Keyup&&(document.removeEventListener("keyup",this._onV1Keyup),this._onV1Keyup=null)},y.prototype.teardown=function(){return i.sendEvent(this._createPromise,"three-d-secure.teardown-completed"),this._teardownV1Elements(),a.resolve()},t.exports=y},{"../../../lib/analytics":121,"../../../lib/assign":123,"../../../lib/braintree-error":126,"../../../lib/constants":128,"../../../lib/is-verified-domain":155,"../../../lib/promise":159,"../../../lib/use-min":162,"../../shared/constants":195,"../../shared/errors":196,"../../shared/events":197,"@braintree/event-emitter":34,"@braintree/extended-promise":35,"@braintree/iframer":36,"@braintree/uuid":40,framebus:53}],187:[function(e,t,n){"use strict";var r=e("./songbird");function i(e){r.call(this,e)}i.prototype=Object.create(r.prototype,{constructor:r}),i.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div");return t.innerHTML='',t.querySelector("[data-braintree-v1-fallback-iframe-container]").appendChild(e),t},i.prototype._createCardinalConfigurationOptions=function(e){var t=r.prototype._createCardinalConfigurationOptions.call(this,e);return t.payment.framework="bootstrap3",t},t.exports=i},{"./songbird":192}],188:[function(e,t,n){"use strict";var r=e("./songbird");function i(e){r.call(this,e)}i.prototype=Object.create(r.prototype,{constructor:r}),i.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div"),n=Boolean(this._createOptions&&this._createOptions.cardinalSDKConfig&&this._createOptions.cardinalSDKConfig.payment&&this._createOptions.cardinalSDKConfig.payment.displayExitButton) +;return t.innerHTML='
',n||(t.querySelector("[data-braintree-v1-fallback-close-button]").style.display="none"),t.querySelector("[data-braintree-v1-fallback-iframe-container]").appendChild(e),t},t.exports=i},{"./songbird":192}],189:[function(e,t,n){"use strict";var r=e("./legacy"),i=e("./cardinal-modal"),o=e("./bootstrap3-modal"),a=e("./inline-iframe");t.exports={legacy:r,"cardinal-modal":i,"bootstrap3-modal":o,"inline-iframe":a}},{"./bootstrap3-modal":187,"./cardinal-modal":188,"./inline-iframe":190,"./legacy":191}],190:[function(e,t,n){"use strict";var r=e("./songbird"),i=e("../../../lib/braintree-error"),o=e("../../shared/errors"),a=e("../../../lib/enumerate");function s(e){r.call(this,e)}s.prototype=Object.create(r.prototype,{constructor:r}),s.events=a(["AUTHENTICATION_IFRAME_AVAILABLE"],"inline-iframe-framework:"),s.prototype.setUpEventListeners=function(e){r.prototype.setUpEventListeners.call(this,e),this.on(s.events.AUTHENTICATION_IFRAME_AVAILABLE,(function(t,n){e("authentication-iframe-available",t,n)}))},s.prototype._createCardinalConfigurationOptions=function(e){var t=r.prototype._createCardinalConfigurationOptions.call(this,e);return t.payment.framework="inline",t},s.prototype._addV1IframeToPage=function(){this._emit(s.events.AUTHENTICATION_IFRAME_AVAILABLE,{element:this._v1Modal},(function(){}))},s.prototype._setupFrameworkSpecificListeners=function(){this.setCardinalListener("ui.inline.setup",this._onInlineSetup.bind(this))},s.prototype._onInlineSetup=function(e,t,n,r){var a,c;e&&t?("CCA"!==t.paymentType||"suppress"!==t.data.mode&&"static"!==t.data.mode)&&(c=!0):c=!0,c?r(new i(o.THREEDS_INLINE_IFRAME_DETAILS_INCORRECT)):((a=document.createElement("div")).innerHTML=e,"suppress"===t.data.mode?(a.style.display="none",document.body.appendChild(a),n()):"static"===t.data.mode&&this._emit(s.events.AUTHENTICATION_IFRAME_AVAILABLE,{element:a},(function(){n()})))},t.exports=s},{"../../../lib/braintree-error":126,"../../../lib/enumerate":136,"../../shared/errors":196,"./songbird":192}],191:[function(e,t,n){"use strict";var r=e("./base"),i=e("../../../lib/deferred");function o(e){r.call(this,e)}o.prototype=Object.create(r.prototype,{constructor:o}),o.prototype.setUpEventListeners=function(){}, +o.prototype.transformV1CustomerBillingAddress=function(e){return e.billingAddress.line1=e.billingAddress.streetAddress,e.billingAddress.line2=e.billingAddress.extendedAddress,e.billingAddress.city=e.billingAddress.locality,e.billingAddress.state=e.billingAddress.region,e.billingAddress.countryCode=e.billingAddress.countryCodeAlpha2,delete e.billingAddress.streetAddress,delete e.billingAddress.extendedAddress,delete e.billingAddress.locality,delete e.billingAddress.region,delete e.billingAddress.countryCodeAlpha2,e},o.prototype._createIframe=function(e){var t=this;return this._setupV1Elements({lookupResponse:e.lookupResponse,showLoader:e.showLoader,handleAuthResponse:function(n){t._handleAuthResponse(n,e)}}),this._v1Iframe},o.prototype._handleAuthResponse=function(e,t){this._v1Bus.teardown(),t.removeFrame(),i(function(){this._handleV1AuthResponse(e)}.bind(this))()},o.prototype._checkForFrameworkSpecificVerifyCardErrors=function(e){var t;return"function"!=typeof e.addFrame?t="an addFrame function":"function"!=typeof e.removeFrame&&(t="a removeFrame function"),t},o.prototype._formatVerifyCardOptions=function(e){var t=r.prototype._formatVerifyCardOptions.call(this,e);return t.addFrame=i(e.addFrame),t.removeFrame=i(e.removeFrame),t.showLoader=!1!==e.showLoader,t},o.prototype._formatLookupData=function(e){var t=this;return r.prototype._formatLookupData.call(this,e).then((function(n){return e.customer&&e.customer.billingAddress&&(n.customer=t.transformV1CustomerBillingAddress(e.customer)),n}))},o.prototype._presentChallenge=function(e,t){t.addFrame(null,this._createIframe({showLoader:t.showLoader,lookupResponse:e.lookup,removeFrame:t.removeFrame}))},t.exports=o},{"../../../lib/deferred":134,"./base":186}],192:[function(e,t,n){"use strict";var r=e("./base"),i=e("../../../lib/assign").assign,o=e("../../../lib/deferred"),a=e("../../../lib/braintree-error"),s=e("../../../lib/convert-to-braintree-error"),c=e("../../../lib/analytics"),l=e("../../../lib/assets"),u=e("../../shared/errors"),d=e("../../../lib/enumerate"),p=e("../../shared/constants"),_=e("../../../lib/promise"),E=e("@braintree/extended-promise"),h=e("../../../lib/constants").INTEGRATION_TIMEOUT_MS,f=e("../../../lib/constants").PLATFORM,m=["ui.close","ui.render","ui.renderHidden","ui.loading.close","ui.loading.render"];function y(e){r.call(this,e),this._useV1Fallback=!1,this._clientMetadata={requestedThreeDSecureVersion:"2",sdkVersion:f+"/3.76.4"},this._getDfReferenceIdPromisePlus=new E,this.setupSongbird(e),this._cardinalEvents=[]}function A(e,t,n){t[n+"Line1"]=e.streetAddress,t[n+"Line2"]=e.extendedAddress,t[n+"Line3"]=e.line3,t[n+"City"]=e.locality,t[n+"State"]=e.region,t[n+"PostalCode"]=e.postalCode,t[n+"CountryCode"]=e.countryCodeAlpha2}y.prototype=Object.create(r.prototype,{constructor:y}),y.events=d(["LOOKUP_COMPLETE","CUSTOMER_CANCELED","UI.CLOSE","UI.RENDER","UI.RENDERHIDDEN","UI.LOADING.CLOSE","UI.LOADING.RENDER"],"songbird-framework:"),y.prototype.setUpEventListeners=function(e){this.on(y.events.LOOKUP_COMPLETE,(function(t,n){e("lookup-complete",t,n)})), +this.on(y.events.CUSTOMER_CANCELED,(function(){e("customer-canceled")})),this.on(y.events["UI.CLOSE"],(function(){e("authentication-modal-close")})),this.on(y.events["UI.RENDER"],(function(){e("authentication-modal-render")})),this.on(y.events["UI.RENDERHIDDEN"],(function(){e("authentication-modal-render-hidden")})),this.on(y.events["UI.LOADING.CLOSE"],(function(){e("authentication-modal-loader-close")})),this.on(y.events["UI.LOADING.RENDER"],(function(){e("authentication-modal-loader-render")}))},y.prototype.prepareLookup=function(e){var t=i({},e),n=this;return this.getDfReferenceId().then((function(e){t.dfReferenceId=e})).then((function(){return n._triggerCardinalBinProcess(e.bin)})).catch((function(){})).then((function(){return n._waitForClient()})).then((function(){return t.clientMetadata=n._clientMetadata,t.authorizationFingerprint=n._client.getConfiguration().authorizationFingerprint,t.braintreeLibraryVersion="braintree/web/3.76.4",t}))},y.prototype.initializeChallengeWithLookupResponse=function(e,t){return this.setupSongbird().then(function(){return r.prototype.initializeChallengeWithLookupResponse.call(this,e,t)}.bind(this))},y.prototype._initiateV1Fallback=function(e){this._useV1Fallback=!0,c.sendEvent(this._createPromise,"three-d-secure.v1-fallback."+e),this._songbirdPromise.resolve()},y.prototype._triggerCardinalBinProcess=function(e){var t=this,n=Date.now();return e?window.Cardinal.trigger("bin.process",e).then((function(e){t._clientMetadata.issuerDeviceDataCollectionTimeElapsed=Date.now()-n,t._clientMetadata.issuerDeviceDataCollectionResult=e&&e.Status})):_.resolve()},y.prototype.transformBillingAddress=function(e,t){return t&&(A(t,e,"billing"),e.billingPhoneNumber=t.phoneNumber,e.billingGivenName=t.givenName,e.billingSurname=t.surname),e},y.prototype.transformShippingAddress=function(e){var t=e.shippingAddress;return t&&(A(t,e,"shipping"),delete e.shippingAddress),e},y.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div");return t.innerHTML='
',t.querySelector('[data-braintree-v1-fallback-iframe-container="true"]').appendChild(e),t},y.prototype._createV1IframeModal=function(e){var t=this._createV1IframeModalElement(e),n=t.querySelector("[data-braintree-v1-fallback-close-button]"),r=t.querySelector("[data-braintree-v1-fallback-backdrop]"),i=this;function o(){t.parentNode.removeChild(t),i.cancelVerifyCard(u.THREEDS_CARDINAL_SDK_CANCELED),document.removeEventListener("keyup",i._onV1Keyup),i._onV1Keyup=null}return this._onV1Keyup=function(e){"Escape"===e.key&&t.parentNode&&o()},n&&n.addEventListener("click",o),r&&r.addEventListener("click",o),document.addEventListener("keyup",this._onV1Keyup),t},y.prototype._addV1IframeToPage=function(){document.body.appendChild(this._v1Modal)},y.prototype._handleAuthResponseFromV1Fallback=function(e){this._teardownV1Elements(),this._v1Modal.parentNode.removeChild(this._v1Modal),this._handleV1AuthResponse(e)}, +y.prototype._presentChallengeWithV1Fallback=function(e){var t=this;this._setupV1Elements({lookupResponse:e,showLoader:!0,handleAuthResponse:function(e){t._handleAuthResponseFromV1Fallback(e)}}),this._v1Modal=this._createV1IframeModal(this._v1Iframe),this._addV1IframeToPage()},y.prototype.setupSongbird=function(e){var t=this,n=Date.now();return this._songbirdPromise||(e=e||{},this._songbirdPromise=new E,this._v2SetupFailureReason="reason-unknown",t._loadCardinalScript(e).then((function(){return window.Cardinal?t._configureCardinalSdk({setupOptions:e,setupStartTime:n}):(t._v2SetupFailureReason="cardinal-global-unavailable",_.reject(new a(u.THREEDS_CARDINAL_SDK_SETUP_FAILED)))})).catch((function(e){var n=s(e,{type:u.THREEDS_CARDINAL_SDK_SETUP_FAILED.type,code:u.THREEDS_CARDINAL_SDK_SETUP_FAILED.code,message:u.THREEDS_CARDINAL_SDK_SETUP_FAILED.message});t._getDfReferenceIdPromisePlus.reject(n),window.clearTimeout(t._songbirdSetupTimeoutReference),c.sendEvent(t._client,"three-d-secure.cardinal-sdk.init.setup-failed"),t._initiateV1Fallback("cardinal-sdk-setup-failed."+t._v2SetupFailureReason)}))),this._songbirdPromise},y.prototype._configureCardinalSdk=function(e){var t=this;return this._waitForClient().then((function(){var e=t._client.getConfiguration().gatewayConfiguration.threeDSecure;return e.hasOwnProperty("versionTwo")&&"cardinal"!==e.versionTwo?_.reject(new Error("cardinal-api-not-available-or-configured")):e})).then((function(n){var r=n.cardinalAuthenticationJWT,i=e.setupOptions,o=e.setupStartTime,a=t._createCardinalConfigurationOptions(i);m.forEach((function(e){t.setCardinalListener(e,(function(){t._emit(y.events[e.toUpperCase()])}))})),t.setCardinalListener("payments.setupComplete",t._createPaymentsSetupCompleteCallback()),t._setupFrameworkSpecificListeners(),window.Cardinal.configure(a),window.Cardinal.setup("init",{jwt:r}),t._clientMetadata.cardinalDeviceDataCollectionTimeElapsed=Date.now()-o,t.setCardinalListener("payments.validated",t._createPaymentsValidatedCallback())})).catch((function(e){return"cardinal-api-not-available-or-configured"===e.message?t._v2SetupFailureReason="cardinal-api-not-available-or-configured":t._v2SetupFailureReason="cardinal-configuration-threw-error",_.reject(e)}))},y.prototype.setCardinalListener=function(e,t){this._cardinalEvents.push(e),window.Cardinal.on(e,t)},y.prototype._setupFrameworkSpecificListeners=function(){},y.prototype._createCardinalConfigurationOptions=function(e){var t=e.cardinalSDKConfig||{},n=t.payment||{};return!t.logging&&e.loggingEnabled&&(t.logging={level:"verbose"}),t.payment={},n.hasOwnProperty("displayLoading")&&(t.payment.displayLoading=n.displayLoading),n.hasOwnProperty("displayExitButton")&&(t.payment.displayExitButton=n.displayExitButton),t},y.prototype._loadCardinalScript=function(e){var t=this,n=p.CARDINAL_SCRIPT_SOURCE.sandbox;return this._waitForClient().then((function(){var r="production"===t._client.getConfiguration().gatewayConfiguration.environment;return t._songbirdSetupTimeoutReference=window.setTimeout((function(){ +c.sendEvent(t._client,"three-d-secure.cardinal-sdk.init.setup-timeout"),t._initiateV1Fallback("cardinal-sdk-setup-timeout")}),e.timeout||h),r&&(n=p.CARDINAL_SCRIPT_SOURCE.production),l.loadScript({src:n})})).catch((function(e){return t._v2SetupFailureReason="songbird-js-failed-to-load",_.reject(s(e,u.THREEDS_CARDINAL_SDK_SCRIPT_LOAD_FAILED))}))},y.prototype._createPaymentsSetupCompleteCallback=function(){var e=this;return function(t){e._getDfReferenceIdPromisePlus.resolve(t.sessionId),window.clearTimeout(e._songbirdSetupTimeoutReference),c.sendEvent(e._createPromise,"three-d-secure.cardinal-sdk.init.setup-completed"),e._songbirdPromise.resolve()}},y.prototype.getDfReferenceId=function(){return this._getDfReferenceIdPromisePlus},y.prototype._performJWTValidation=function(e,t){var n=this,r=this._lookupPaymentMethod.nonce,i="payment_methods/"+r+"/three_d_secure/authenticate_from_jwt",o=e&&e.Payment&&e.Payment.ExtendedData&&e.Payment.ExtendedData.ChallengeCancel;return o&&(c.sendEvent(this._createPromise,"three-d-secure.verification-flow.cardinal-sdk.cancel-code."+o),"01"===o&&this._emit(y.events.CUSTOMER_CANCELED)),c.sendEvent(this._createPromise,"three-d-secure.verification-flow.upgrade-payment-method.started"),this._waitForClient().then((function(){return n._client.request({method:"post",endpoint:i,data:{jwt:t,paymentMethodNonce:r}})})).then((function(t){var r=t.paymentMethod||n._lookupPaymentMethod,i=n._formatAuthResponse(r,t.threeDSecureInfo);return i.rawCardinalSDKVerificationData=e,c.sendEvent(n._client,"three-d-secure.verification-flow.upgrade-payment-method.succeeded"),_.resolve(i)})).catch((function(e){var t=new a({type:u.THREEDS_JWT_AUTHENTICATION_FAILED.type,code:u.THREEDS_JWT_AUTHENTICATION_FAILED.code,message:u.THREEDS_JWT_AUTHENTICATION_FAILED.message,details:{originalError:e}});return c.sendEvent(n._client,"three-d-secure.verification-flow.upgrade-payment-method.errored"),_.reject(t)}))},y.prototype._createPaymentsValidatedCallback=function(){var e=this;return function(t,n){var r;if(c.sendEvent(e._createPromise,"three-d-secure.verification-flow.cardinal-sdk.action-code."+t.ActionCode.toLowerCase()),e._verifyCardPromisePlus)switch(t.ActionCode){case"SUCCESS":case"NOACTION":case"FAILURE":e._performJWTValidation(t,n).then((function(t){e._verifyCardPromisePlus.resolve(t)})).catch((function(t){e._verifyCardPromisePlus.reject(t)}));break;case"ERROR":switch(c.sendEvent(e._createPromise,"three-d-secure.verification-flow.cardinal-sdk-error."+t.ErrorNumber),t.ErrorNumber){case 10001:case 10002:r=new a(u.THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT);break;case 10003:case 10007:case 10009:r=new a(u.THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT);break;case 10005:case 10006:r=new a(u.THREEDS_CARDINAL_SDK_BAD_CONFIG);break;case 10008:case 10010:r=new a(u.THREEDS_CARDINAL_SDK_BAD_JWT);break;case 10011:c.sendEvent(e._createPromise,"three-d-secure.verification-flow.canceled"),r=new a(u.THREEDS_CARDINAL_SDK_CANCELED);break;default:r=new a(u.THREEDS_CARDINAL_SDK_ERROR)}r.details={originalError:{code:t.ErrorNumber, +description:t.ErrorDescription}},e._verifyCardPromisePlus.reject(r)}else e._initiateV1Fallback("cardinal-sdk-setup-error.number-"+t.ErrorNumber)}},y.prototype._checkForVerifyCardError=function(e,t){return r.prototype._checkForVerifyCardError.call(this,e,t)},y.prototype._checkForFrameworkSpecificVerifyCardErrors=function(e,t){var n;return"function"==typeof e.onLookupComplete||t.ignoreOnLookupCompleteRequirement||(n="an onLookupComplete function"),n},y.prototype._formatVerifyCardOptions=function(e){var t=r.prototype._formatVerifyCardOptions.call(this,e),n=t.additionalInformation||{};return n=this.transformBillingAddress(n,e.billingAddress),n=this.transformShippingAddress(n),e.onLookupComplete&&(t.onLookupComplete=o(e.onLookupComplete)),e.email&&(n.email=e.email),e.mobilePhoneNumber&&(n.mobilePhoneNumber=e.mobilePhoneNumber),t.additionalInformation=n,t},y.prototype._onLookupComplete=function(e,t){var n=this;return r.prototype._onLookupComplete.call(this,e).then((function(e){return new _((function(r,i){function o(){r(e)}e.requiresUserAuthentication=Boolean(e.lookup&&e.lookup.acsUrl),n._verifyCardPromisePlus.catch(i),t.onLookupComplete?t.onLookupComplete(e,o):n._emit(y.events.LOOKUP_COMPLETE,e,o)}))}))},y.prototype._presentChallenge=function(e){!this._useV1Fallback&&e.lookup.transactionId?window.Cardinal.continue("cca",{AcsUrl:e.lookup.acsUrl,Payload:e.lookup.pareq},{OrderDetails:{TransactionId:e.lookup.transactionId}}):this._presentChallengeWithV1Fallback(e.lookup)},y.prototype._formatLookupData=function(e){var t=this;return r.prototype._formatLookupData.call(this,e).then((function(n){return n.additionalInfo=e.additionalInformation,e.accountType&&(n.accountType=e.accountType),e.challengeRequested&&(n.challengeRequested=e.challengeRequested),e.dataOnlyRequested&&(n.dataOnlyRequested=e.dataOnlyRequested),e.exemptionRequested&&(n.exemptionRequested=e.exemptionRequested),e.bin&&(n.bin=e.bin),t.prepareLookup(n)}))},y.prototype.cancelVerifyCard=function(e){var t=this;return r.prototype.cancelVerifyCard.call(this).then((function(n){return t._verifyCardPromisePlus&&(e=e||new a(u.THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT),t._verifyCardPromisePlus.reject(e)),n}))},y.prototype.teardown=function(){return window.Cardinal&&this._cardinalEvents.forEach((function(e){window.Cardinal.off(e)})),r.prototype.teardown.call(this)},t.exports=y},{"../../../lib/analytics":121,"../../../lib/assets":122,"../../../lib/assign":123,"../../../lib/braintree-error":126,"../../../lib/constants":128,"../../../lib/convert-to-braintree-error":130,"../../../lib/deferred":134,"../../../lib/enumerate":136,"../../../lib/promise":159,"../../shared/constants":195,"../../shared/errors":196,"./base":186,"@braintree/extended-promise":35}],193:[function(e,t,n){"use strict";var r=e("@braintree/wrap-promise"),i=e("../../lib/methods"),o=e("../../lib/convert-methods-to-error"),a=e("@braintree/event-emitter"),s=e("./frameworks");function c(e){var t=this,n=s[e.framework];a.call(this),this._framework=new n(e),this._framework.setUpEventListeners((function(){ +t._emit.apply(t,arguments)}))}a.createChild(c),c.prototype.verifyCard=function(e){var t;return this.hasListener("lookup-complete")&&(t={ignoreOnLookupCompleteRequirement:!0}),this._framework.verifyCard(e,t)},c.prototype.initializeChallengeWithLookupResponse=function(e){return"string"==typeof e&&(e=JSON.parse(e)),this._framework.initializeChallengeWithLookupResponse(e)},c.prototype.prepareLookup=function(e){return this._framework.prepareLookup(e).then((function(e){return JSON.stringify(e)}))},c.prototype.cancelVerifyCard=function(){return this._framework.cancelVerifyCard()},c.prototype.teardown=function(){var e=i(c.prototype).concat(i(a.prototype));return o(this,e),this._framework.teardown()},t.exports=r.wrapPrototype(c)},{"../../lib/convert-methods-to-error":129,"../../lib/methods":157,"./frameworks":189,"@braintree/event-emitter":34,"@braintree/wrap-promise":44}],194:[function(e,t,n){"use strict";var r=e("./external/three-d-secure"),i=e("../lib/is-https").isHTTPS,o=e("../lib/basic-component-verification"),a=e("../lib/create-deferred-client"),s=e("../lib/create-assets-url"),c=e("../lib/braintree-error"),l=e("../lib/analytics"),u=e("./shared/errors"),d=e("../lib/promise"),p=e("@braintree/wrap-promise");t.exports={create:p((function(e){return o.verify({name:"3D Secure",client:e.client,authorization:e.authorization}).then((function(){var t=s.create(e.authorization),n=function(e){var t=String(e.version||"");if(!t||"1"===t)return"legacy";switch(t){case"2":case"2-cardinal-modal":return"cardinal-modal";case"2-bootstrap3-modal":return"bootstrap3-modal";case"2-inline-iframe":return"inline-iframe";default:throw new c({code:u.THREEDS_UNRECOGNIZED_VERSION.code,type:u.THREEDS_UNRECOGNIZED_VERSION.type,message:"Version `"+e.version+"` is not a recognized version. You may need to update the version of your Braintree SDK to support this version."})}}(e),o=a.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:t,name:"3D Secure"}).then((function(t){var r,o=t.getConfiguration(),a=o.gatewayConfiguration;return e.client=t,a.threeDSecureEnabled||(r=u.THREEDS_NOT_ENABLED),"TOKENIZATION_KEY"===o.authorizationType&&(r=u.THREEDS_CAN_NOT_USE_TOKENIZATION_KEY),"production"===a.environment&&!i()&&(r=u.THREEDS_HTTPS_REQUIRED),"legacy"===n||a.threeDSecure&&a.threeDSecure.cardinalAuthenticationJWT||(l.sendEvent(e.client,"three-d-secure.initialization.failed.missing-cardinalAuthenticationJWT"),r=u.THREEDS_NOT_ENABLED_FOR_V2),r?d.reject(new c(r)):(l.sendEvent(e.client,"three-d-secure.initialized"),t)})),p=new r({client:e.client,assetsUrl:t,createPromise:o,loggingEnabled:e.loggingEnabled,cardinalSDKConfig:e.cardinalSDKConfig,framework:n});return e.client?o.then((function(){return p})):p}))})),VERSION:"3.76.4"}},{"../lib/analytics":121,"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/is-https":154,"../lib/promise":159,"./external/three-d-secure":193,"./shared/errors":196,"@braintree/wrap-promise":44}],195:[function(e,t,n){ +"use strict";t.exports={LANDING_FRAME_NAME:"braintreethreedsecurelanding",CARDINAL_SCRIPT_SOURCE:{production:"https://songbird.cardinalcommerce.com/edge/v1/songbird.js",sandbox:"https://songbirdstag.cardinalcommerce.com/edge/v1/songbird.js"}}},{}],196:[function(e,t,n){"use strict";var r=e("../../lib/braintree-error");t.exports={THREEDS_NOT_ENABLED:{type:r.types.MERCHANT,code:"THREEDS_NOT_ENABLED",message:"3D Secure is not enabled for this merchant."},THREEDS_CAN_NOT_USE_TOKENIZATION_KEY:{type:r.types.MERCHANT,code:"THREEDS_CAN_NOT_USE_TOKENIZATION_KEY",message:"3D Secure can not use a tokenization key for authorization."},THREEDS_HTTPS_REQUIRED:{type:r.types.MERCHANT,code:"THREEDS_HTTPS_REQUIRED",message:"3D Secure requires HTTPS."},THREEDS_NOT_ENABLED_FOR_V2:{type:r.types.MERCHANT,code:"THREEDS_NOT_ENABLED_FOR_V2",message:"3D Secure version 2 is not enabled for this merchant. Contact Braintree Support for assistance at https://help.braintreepayments.com/"},THREEDS_UNRECOGNIZED_VERSION:{type:r.types.MERCHANT,code:"THREEDS_UNRECOGNIZED_VERSION"},THREEDS_CARDINAL_SDK_SETUP_FAILED:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_SETUP_FAILED",message:"Something went wrong setting up Cardinal's Songbird.js library."},THREEDS_CARDINAL_SDK_SCRIPT_LOAD_FAILED:{type:r.types.NETWORK,code:"THREEDS_CARDINAL_SDK_SCRIPT_LOAD_FAILED",message:"Cardinal's Songbird.js library could not be loaded."},THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT",message:"Cardinal's Songbird.js took too long to setup."},THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT",message:"Cardinal's API took too long to respond."},THREEDS_CARDINAL_SDK_BAD_CONFIG:{type:r.types.MERCHANT,code:"THREEDS_CARDINAL_SDK_BAD_CONFIG",message:"JWT or other required field missing. Please check your setup configuration."},THREEDS_CARDINAL_SDK_BAD_JWT:{type:r.types.MERCHANT,code:"THREEDS_CARDINAL_SDK_BAD_JWT",message:"Cardinal JWT missing or malformed. Please check your setup configuration."},THREEDS_CARDINAL_SDK_ERROR:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_ERROR",message:"A general error has occurred with Cardinal. See description for more information."},THREEDS_CARDINAL_SDK_CANCELED:{type:r.types.CUSTOMER,code:"THREEDS_CARDINAL_SDK_CANCELED",message:"Canceled by user."},THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT:{type:r.types.MERCHANT,code:"THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT",message:"3D Secure verfication canceled by merchant."},THREEDS_AUTHENTICATION_IN_PROGRESS:{type:r.types.MERCHANT,code:"THREEDS_AUTHENTICATION_IN_PROGRESS",message:"Cannot call verifyCard while existing authentication is in progress."},THREEDS_MISSING_VERIFY_CARD_OPTION:{type:r.types.MERCHANT,code:"THREEDS_MISSING_VERIFY_CARD_OPTION"},THREEDS_JWT_AUTHENTICATION_FAILED:{type:r.types.UNKNOWN,code:"THREEDS_JWT_AUTHENTICATION_FAILED",message:"Something went wrong authenticating the JWT from Cardinal"},THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR:{type:r.types.MERCHANT, +code:"THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR",message:"Either the payment method nonce passed to `verifyCard` does not exist, or it was already consumed"},THREEDS_LOOKUP_VALIDATION_ERROR:{type:r.types.CUSTOMER,code:"THREEDS_LOOKUP_VALIDATION_ERROR",message:"The data passed in `verifyCard` did not pass validation checks. See details for more info"},THREEDS_LOOKUP_ERROR:{type:r.types.UNKNOWN,code:"THREEDS_LOOKUP_ERROR",message:"Something went wrong during the 3D Secure lookup"},THREEDS_INLINE_IFRAME_DETAILS_INCORRECT:{type:r.types.UNKNOWN,code:"THREEDS_INLINE_IFRAME_DETAILS_INCORRECT",message:"Something went wrong when attempting to add the authentication iframe to the page."},THREEDS_NO_VERIFICATION_PAYLOAD:{type:r.types.MERCHANT,code:"THREEDS_NO_VERIFICATION_PAYLOAD",message:"No verification payload available."},THREEDS_TERM_URL_REQUIRES_BRAINTREE_DOMAIN:{type:r.types.INTERNAL,code:"THREEDS_TERM_URL_REQUIRES_BRAINTREE_DOMAIN",message:"Term Url must be on a Braintree domain."},THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED:{type:r.types.INTERNAL,code:"THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED",message:"Method not implemented for this framework."}}},{"../../lib/braintree-error":126}],197:[function(e,t,n){"use strict";var r=e("../../lib/enumerate");t.exports=r(["AUTHENTICATION_COMPLETE"],"threedsecure:")},{"../../lib/enumerate":136}],198:[function(e,t,n){"use strict";var r=e("./shared/unionpay"),i=e("../lib/basic-component-verification"),o=e("../lib/braintree-error"),a=e("../lib/create-deferred-client"),s=e("../lib/create-assets-url"),c=e("../lib/analytics"),l=e("./shared/errors"),u=e("../lib/promise"),d=e("@braintree/wrap-promise");t.exports={create:d((function(e){return i.verify({name:"UnionPay",client:e.client,authorization:e.authorization}).then((function(){return a.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:s.create(e.authorization),name:"UnionPay"})})).then((function(t){var n=t.getConfiguration();return e.client=t,n.gatewayConfiguration.unionPay&&!0===n.gatewayConfiguration.unionPay.enabled?(c.sendEvent(e.client,"unionpay.initialized"),new r(e)):u.reject(new o(l.UNIONPAY_NOT_ENABLED))}))})),VERSION:"3.76.4"}},{"../lib/analytics":121,"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./shared/errors":200,"./shared/unionpay":201,"@braintree/wrap-promise":44}],199:[function(e,t,n){"use strict";var r=e("../../lib/enumerate");t.exports={events:r(["HOSTED_FIELDS_FETCH_CAPABILITIES","HOSTED_FIELDS_ENROLL","HOSTED_FIELDS_TOKENIZE"],"union-pay:"),HOSTED_FIELDS_FRAME_NAME:"braintreeunionpayhostedfields"}},{"../../lib/enumerate":136}],200:[function(e,t,n){"use strict";var r=e("../../lib/braintree-error");t.exports={UNIONPAY_NOT_ENABLED:{type:r.types.MERCHANT,code:"UNIONPAY_NOT_ENABLED",message:"UnionPay is not enabled for this merchant."},UNIONPAY_HOSTED_FIELDS_INSTANCE_INVALID:{type:r.types.MERCHANT,code:"UNIONPAY_HOSTED_FIELDS_INSTANCE_INVALID", +message:"Found an invalid Hosted Fields instance. Please use a valid Hosted Fields instance."},UNIONPAY_HOSTED_FIELDS_INSTANCE_REQUIRED:{type:r.types.MERCHANT,code:"UNIONPAY_HOSTED_FIELDS_INSTANCE_REQUIRED",message:"Could not find the Hosted Fields instance."},UNIONPAY_CARD_OR_HOSTED_FIELDS_INSTANCE_REQUIRED:{type:r.types.MERCHANT,code:"UNIONPAY_CARD_OR_HOSTED_FIELDS_INSTANCE_REQUIRED",message:"A card or a Hosted Fields instance is required. Please supply a card or a Hosted Fields instance."},UNIONPAY_CARD_AND_HOSTED_FIELDS_INSTANCES:{type:r.types.MERCHANT,code:"UNIONPAY_CARD_AND_HOSTED_FIELDS_INSTANCES",message:"Please supply either a card or a Hosted Fields instance, not both."},UNIONPAY_EXPIRATION_DATE_INCOMPLETE:{type:r.types.MERCHANT,code:"UNIONPAY_EXPIRATION_DATE_INCOMPLETE",message:"You must supply expiration month and year or neither."},UNIONPAY_ENROLLMENT_CUSTOMER_INPUT_INVALID:{type:r.types.CUSTOMER,code:"UNIONPAY_ENROLLMENT_CUSTOMER_INPUT_INVALID",message:"Enrollment failed due to user input error."},UNIONPAY_ENROLLMENT_NETWORK_ERROR:{type:r.types.NETWORK,code:"UNIONPAY_ENROLLMENT_NETWORK_ERROR",message:"Could not enroll UnionPay card."},UNIONPAY_FETCH_CAPABILITIES_NETWORK_ERROR:{type:r.types.NETWORK,code:"UNIONPAY_FETCH_CAPABILITIES_NETWORK_ERROR",message:"Could not fetch card capabilities."},UNIONPAY_TOKENIZATION_NETWORK_ERROR:{type:r.types.NETWORK,code:"UNIONPAY_TOKENIZATION_NETWORK_ERROR",message:"A tokenization network error occurred."},UNIONPAY_MISSING_MOBILE_PHONE_DATA:{type:r.types.MERCHANT,code:"UNIONPAY_MISSING_MOBILE_PHONE_DATA",message:"A `mobile` with `countryCode` and `number` is required."},UNIONPAY_FAILED_TOKENIZATION:{type:r.types.CUSTOMER,code:"UNIONPAY_FAILED_TOKENIZATION",message:"The supplied card data failed tokenization."}}},{"../../lib/braintree-error":126}],201:[function(e,t,n){"use strict";var r=e("../../lib/analytics"),i=e("../../lib/braintree-error"),o=e("framebus"),a=e("./constants"),s=e("../../lib/is-verified-domain"),c=e("../../lib/use-min"),l=e("../../lib/convert-methods-to-error"),u=e("./errors"),d=a.events,p=e("@braintree/iframer"),_=e("../../lib/methods"),E=e("@braintree/uuid"),h=e("../../lib/promise"),f=e("@braintree/wrap-promise"),m=e("../../lib/constants").BUS_CONFIGURATION_REQUEST_EVENT;function y(e){this._options=e}y.prototype.fetchCapabilities=function(e){var t=this,n=this._options.client,o=e.card?e.card.number:null,a=e.hostedFields;return o&&a?h.reject(new i(u.UNIONPAY_CARD_AND_HOSTED_FIELDS_INSTANCES)):o?n.request({method:"get",endpoint:"payment_methods/credit_cards/capabilities",data:{_meta:{source:"unionpay"},creditCard:{number:o}}}).then((function(e){return r.sendEvent(n,"unionpay.capabilities-received"),e})).catch((function(e){var t=e.details&&e.details.httpStatus;return r.sendEvent(n,"unionpay.capabilities-failed"),403===t?h.reject(e):h.reject(new i({type:u.UNIONPAY_FETCH_CAPABILITIES_NETWORK_ERROR.type,code:u.UNIONPAY_FETCH_CAPABILITIES_NETWORK_ERROR.code,message:u.UNIONPAY_FETCH_CAPABILITIES_NETWORK_ERROR.message,details:{originalError:e}})) +})):a?a._bus?t._initializeHostedFields().then((function(){return new h((function(e,n){t._bus.emit(d.HOSTED_FIELDS_FETCH_CAPABILITIES,{hostedFields:a},(function(t){t.err?n(new i(t.err)):e(t.payload)}))}))})):h.reject(new i(u.UNIONPAY_HOSTED_FIELDS_INSTANCE_INVALID)):h.reject(new i(u.UNIONPAY_CARD_OR_HOSTED_FIELDS_INSTANCE_REQUIRED))},y.prototype.enroll=function(e){var t,n=this,o=this._options.client,a=e.card,s=e.mobile,c=e.hostedFields;if(!s)return h.reject(new i(u.UNIONPAY_MISSING_MOBILE_PHONE_DATA));if(c)return c._bus?a?h.reject(new i(u.UNIONPAY_CARD_AND_HOSTED_FIELDS_INSTANCES)):new h((function(e,t){n._initializeHostedFields().then((function(){n._bus.emit(d.HOSTED_FIELDS_ENROLL,{hostedFields:c,mobile:s},(function(n){n.err?t(new i(n.err)):e(n.payload)}))}))})):h.reject(new i(u.UNIONPAY_HOSTED_FIELDS_INSTANCE_INVALID));if(a&&a.number){if(t={_meta:{source:"unionpay"},unionPayEnrollment:{number:a.number,mobileCountryCode:s.countryCode,mobileNumber:s.number}},a.expirationDate)t.unionPayEnrollment.expirationDate=a.expirationDate;else if(a.expirationMonth||a.expirationYear){if(!a.expirationMonth||!a.expirationYear)return h.reject(new i(u.UNIONPAY_EXPIRATION_DATE_INCOMPLETE));t.unionPayEnrollment.expirationYear=a.expirationYear,t.unionPayEnrollment.expirationMonth=a.expirationMonth}return o.request({method:"post",endpoint:"union_pay_enrollments",data:t}).then((function(e){return r.sendEvent(o,"unionpay.enrollment-succeeded"),{enrollmentId:e.unionPayEnrollmentId,smsCodeRequired:e.smsCodeRequired}})).catch((function(e){var t,n=e.details&&e.details.httpStatus;return 403===n?t=e:n<500?(t=new i(u.UNIONPAY_ENROLLMENT_CUSTOMER_INPUT_INVALID)).details={originalError:e}:(t=new i(u.UNIONPAY_ENROLLMENT_NETWORK_ERROR)).details={originalError:e},r.sendEvent(o,"unionpay.enrollment-failed"),h.reject(t)}))}return h.reject(new i(u.UNIONPAY_CARD_OR_HOSTED_FIELDS_INSTANCE_REQUIRED))},y.prototype.tokenize=function(e){var t,n=this,o=this._options.client,a=e.card,s=e.hostedFields;return a&&s?h.reject(new i(u.UNIONPAY_CARD_AND_HOSTED_FIELDS_INSTANCES)):a?(t={_meta:{source:"unionpay"},creditCard:{number:e.card.number,options:{unionPayEnrollment:{id:e.enrollmentId}}}},e.smsCode&&(t.creditCard.options.unionPayEnrollment.smsCode=e.smsCode),a.expirationDate?t.creditCard.expirationDate=a.expirationDate:a.expirationMonth&&a.expirationYear&&(t.creditCard.expirationYear=a.expirationYear,t.creditCard.expirationMonth=a.expirationMonth),e.card.cvv&&(t.creditCard.cvv=e.card.cvv),o.request({method:"post",endpoint:"payment_methods/credit_cards",data:t}).then((function(e){var t=e.creditCards[0];return delete t.consumed,delete t.threeDSecureInfo,r.sendEvent(o,"unionpay.nonce-received"),t})).catch((function(e){var t,n=e.details&&e.details.httpStatus;return r.sendEvent(o,"unionpay.nonce-failed"),403===n?t=e:n<500?(t=new i(u.UNIONPAY_FAILED_TOKENIZATION)).details={originalError:e}:(t=new i(u.UNIONPAY_TOKENIZATION_NETWORK_ERROR)).details={originalError:e},h.reject(t)}))):s?s._bus?new h((function(t,r){n._initializeHostedFields().then((function(){ +n._bus.emit(d.HOSTED_FIELDS_TOKENIZE,e,(function(e){e.err?r(new i(e.err)):t(e.payload)}))}))})):h.reject(new i(u.UNIONPAY_HOSTED_FIELDS_INSTANCE_INVALID)):h.reject(new i(u.UNIONPAY_CARD_OR_HOSTED_FIELDS_INSTANCE_REQUIRED))},y.prototype.teardown=function(){return this._bus&&(this._hostedFieldsFrame.parentNode.removeChild(this._hostedFieldsFrame),this._bus.teardown()),l(this,_(y.prototype)),h.resolve()},y.prototype._initializeHostedFields=function(){var e,t,n=E(),r=this;return this._hostedFieldsInitializePromise||(this._hostedFieldsInitializePromise=new h((function(i){e=r._options.client.getConfiguration().gatewayConfiguration.assetsUrl,t=r._options.client.getConfiguration().isDebug,r._bus=new o({channel:n,verifyDomain:s}),r._hostedFieldsFrame=p({name:a.HOSTED_FIELDS_FRAME_NAME+"_"+n,src:e+"/web/3.76.4/html/unionpay-hosted-fields-frame"+c(t)+".html",height:0,width:0}),r._bus.on(m,(function(e){e(r._options.client),i()})),document.body.appendChild(r._hostedFieldsFrame)}))),this._hostedFieldsInitializePromise},t.exports=f.wrapPrototype(y)},{"../../lib/analytics":121,"../../lib/braintree-error":126,"../../lib/constants":128,"../../lib/convert-methods-to-error":129,"../../lib/is-verified-domain":155,"../../lib/methods":157,"../../lib/promise":159,"../../lib/use-min":162,"./constants":199,"./errors":200,"@braintree/iframer":36,"@braintree/uuid":40,"@braintree/wrap-promise":44,framebus:53}],202:[function(e,t,n){"use strict";t.exports={PLAID_LINK_JS:"https://cdn.plaid.com/link/v2/stable/link-initialize.js"}},{}],203:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={US_BANK_ACCOUNT_OPTION_REQUIRED:{type:r.types.MERCHANT,code:"US_BANK_ACCOUNT_OPTION_REQUIRED"},US_BANK_ACCOUNT_MUTUALLY_EXCLUSIVE_OPTIONS:{type:r.types.MERCHANT,code:"US_BANK_ACCOUNT_MUTUALLY_EXCLUSIVE_OPTIONS"},US_BANK_ACCOUNT_LOGIN_LOAD_FAILED:{type:r.types.NETWORK,code:"US_BANK_ACCOUNT_LOGIN_LOAD_FAILED",message:"Bank login flow failed to load."},US_BANK_ACCOUNT_LOGIN_CLOSED:{type:r.types.CUSTOMER,code:"US_BANK_ACCOUNT_LOGIN_CLOSED",message:"Customer closed bank login flow before authorizing."},US_BANK_ACCOUNT_LOGIN_REQUEST_ACTIVE:{type:r.types.MERCHANT,code:"US_BANK_ACCOUNT_LOGIN_REQUEST_ACTIVE",message:"Another bank login tokenization request is active."},US_BANK_ACCOUNT_TOKENIZATION_NETWORK_ERROR:{type:r.types.NETWORK,code:"US_BANK_ACCOUNT_TOKENIZATION_NETWORK_ERROR",message:"A tokenization network error occurred."},US_BANK_ACCOUNT_FAILED_TOKENIZATION:{type:r.types.CUSTOMER,code:"US_BANK_ACCOUNT_FAILED_TOKENIZATION",message:"The supplied data failed tokenization."},US_BANK_ACCOUNT_NOT_ENABLED:{type:r.types.MERCHANT,code:"US_BANK_ACCOUNT_NOT_ENABLED",message:"US bank account is not enabled."},US_BANK_ACCOUNT_BANK_LOGIN_NOT_ENABLED:{type:r.types.MERCHANT,code:"US_BANK_ACCOUNT_BANK_LOGIN_NOT_ENABLED",message:"Bank login is not enabled."}}},{"../lib/braintree-error":126}],204:[function(e,t,n){"use strict" +;var r=e("../lib/basic-component-verification"),i=e("../lib/braintree-error"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("./errors"),c=e("./us-bank-account"),l=e("../lib/promise"),u=e("@braintree/wrap-promise");t.exports={create:u((function(e){var t="US Bank Account";return r.verify({name:t,client:e.client,authorization:e.authorization}).then((function(){return o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t})})).then((function(t){return e.client=t,e.client.getConfiguration().gatewayConfiguration.usBankAccount?new c(e):l.reject(new i(s.US_BANK_ACCOUNT_NOT_ENABLED))}))})),VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./errors":203,"./us-bank-account":205,"@braintree/wrap-promise":44}],205:[function(e,t,n){"use strict";var r=e("../lib/braintree-error"),i=e("./constants"),o=e("./errors"),a=e("../lib/errors"),s=e("../lib/analytics"),c=e("../lib/once"),l=e("../lib/convert-methods-to-error"),u=e("../lib/methods"),d=e("../lib/promise"),p=e("@braintree/wrap-promise"),_=I("UsBankAccount"),E=I("UsBankLogin");function h(e){this._client=e.client,this._isTokenizingBankLogin=!1,s.sendEvent(this._client,"usbankaccount.initialized")}function f(e){var t,n=e.details&&e.details.httpStatus;return(t=new r(401===n?a.BRAINTREE_API_ACCESS_RESTRICTED:n<500?o.US_BANK_ACCOUNT_FAILED_TOKENIZATION:o.US_BANK_ACCOUNT_TOKENIZATION_NETWORK_ERROR)).details={originalError:e},t}function m(e,t){var n=e.data[t].paymentMethod,r="US bank account ending in - "+n.details.last4;return{nonce:n.id,details:{},description:r,type:"us_bank_account"}}function y(e,t){function n(){var r=this.readyState;r&&"loaded"!==r&&"complete"!==r||(e.removeEventListener("error",i),e.removeEventListener("load",n),e.removeEventListener("readystatechange",n),t(null,window.Plaid))}function i(){e.parentNode.removeChild(e),t(new r(o.US_BANK_ACCOUNT_LOGIN_LOAD_FAILED))}e.addEventListener("error",i),e.addEventListener("load",n),e.addEventListener("readystatechange",n)}function A(e){return{streetAddress:e.streetAddress,extendedAddress:e.extendedAddress,city:e.locality,state:e.region,zipCode:e.postalCode}}function T(e,t){"personal"===t.ownershipType?e.individualOwner={firstName:t.firstName,lastName:t.lastName}:"business"===t.ownershipType&&(e.businessOwner={businessName:t.businessName})}function I(e){return"mutation Tokenize"+e+"($input: Tokenize"+e+"Input!) { tokenize"+e+"(input: $input) { paymentMethod { id details { ... on UsBankAccountDetails { last4 } } } }}"}h.prototype.tokenize=function(e){return(e=e||{}).mandateText?e.bankDetails&&e.bankLogin?d.reject(new r({type:o.US_BANK_ACCOUNT_MUTUALLY_EXCLUSIVE_OPTIONS.type,code:o.US_BANK_ACCOUNT_MUTUALLY_EXCLUSIVE_OPTIONS.code,message:"tokenize must be called with bankDetails or bankLogin, not both." +})):e.bankDetails?this._tokenizeBankDetails(e):e.bankLogin?this._tokenizeBankLogin(e):d.reject(new r({type:o.US_BANK_ACCOUNT_OPTION_REQUIRED.type,code:o.US_BANK_ACCOUNT_OPTION_REQUIRED.code,message:"tokenize must be called with bankDetails or bankLogin."})):d.reject(new r({type:o.US_BANK_ACCOUNT_OPTION_REQUIRED.type,code:o.US_BANK_ACCOUNT_OPTION_REQUIRED.code,message:"mandateText property is required."}))},h.prototype._tokenizeBankDetails=function(e){var t=this._client,n=e.bankDetails,r={achMandate:e.mandateText,routingNumber:n.routingNumber,accountNumber:n.accountNumber,accountType:n.accountType.toUpperCase(),billingAddress:A(n.billingAddress||{})};return T(r,n),t.request({api:"graphQLApi",data:{query:_,variables:{input:{usBankAccount:r}}}}).then((function(e){return s.sendEvent(t,"usbankaccount.bankdetails.tokenization.succeeded"),d.resolve(m(e,"tokenizeUsBankAccount"))})).catch((function(e){var n=f(e);return s.sendEvent(t,"usbankaccount.bankdetails.tokenization.failed"),d.reject(n)}))},h.prototype._tokenizeBankLogin=function(e){var t=this,n=this._client,i=n.getConfiguration().gatewayConfiguration,a="production"===i.environment,c=i.usBankAccount.plaid;return e.bankLogin.displayName?c?this._isTokenizingBankLogin?d.reject(new r(o.US_BANK_ACCOUNT_LOGIN_REQUEST_ACTIVE)):(this._isTokenizingBankLogin=!0,new d((function(i,l){t._loadPlaid((function(u,d){u?l(u):(d.create({clientName:e.bankLogin.displayName,apiVersion:"v2",env:a?"production":"sandbox",key:c.publicKey,product:"auth",selectAccount:!0,onExit:function(){t._isTokenizingBankLogin=!1,s.sendEvent(n,"usbankaccount.banklogin.tokenization.closed.by-user"),l(new r(o.US_BANK_ACCOUNT_LOGIN_CLOSED))},onSuccess:function(r,o){var c=e.bankLogin,u={publicToken:r,accountId:a?o.account_id:"plaid_account_id",accountType:o.account.subtype.toUpperCase(),achMandate:e.mandateText,billingAddress:A(c.billingAddress||{})};T(u,c),n.request({api:"graphQLApi",data:{query:E,variables:{input:{usBankLogin:u}}}}).then((function(e){t._isTokenizingBankLogin=!1,s.sendEvent(n,"usbankaccount.banklogin.tokenization.succeeded"),i(m(e,"tokenizeUsBankLogin"))})).catch((function(e){var r;t._isTokenizingBankLogin=!1,r=f(e),s.sendEvent(n,"usbankaccount.banklogin.tokenization.failed"),l(r)}))}}).open(),s.sendEvent(n,"usbankaccount.banklogin.tokenization.started"))}))}))):d.reject(new r(o.US_BANK_ACCOUNT_BANK_LOGIN_NOT_ENABLED)):d.reject(new r({type:o.US_BANK_ACCOUNT_OPTION_REQUIRED.type,code:o.US_BANK_ACCOUNT_OPTION_REQUIRED.code,message:"displayName property is required when using bankLogin."}))},h.prototype._loadPlaid=function(e){var t,n;e=c(e),window.Plaid?e(null,window.Plaid):(t=document.querySelector('script[src="'+i.PLAID_LINK_JS+'"]'))?y(t,e):((n=document.createElement("script")).src=i.PLAID_LINK_JS,n.async=!0,y(n,e),document.body.appendChild(n),this._plaidScript=n)},h.prototype.teardown=function(){return this._plaidScript&&document.body.removeChild(this._plaidScript),l(this,u(h.prototype)),d.resolve()},t.exports=p.wrapPrototype(h)},{"../lib/analytics":121,"../lib/braintree-error":126, +"../lib/convert-methods-to-error":129,"../lib/errors":137,"../lib/methods":157,"../lib/once":158,"../lib/promise":159,"./constants":202,"./errors":203,"@braintree/wrap-promise":44}],206:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN:{type:r.types.MERCHANT,code:"VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN",message:"A client token with a customer id must be used to delete a payment method nonce."},VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND:{type:r.types.MERCHANT,code:"VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND"},VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR:{type:r.types.UNKNOWN,code:"VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR"}}},{"../lib/braintree-error":126}],207:[function(e,t,n){"use strict";var r=e("../lib/basic-component-verification"),i=e("../lib/create-deferred-client"),o=e("../lib/create-assets-url"),a=e("./vault-manager"),s=e("@braintree/wrap-promise");t.exports={create:s((function(e){var t="Vault Manager";return r.verify({name:t,client:e.client,authorization:e.authorization}).then((function(){return new a({createPromise:i.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:o.create(e.authorization),name:t})})}))})),VERSION:"3.76.4"}},{"../lib/basic-component-verification":124,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"./vault-manager":208,"@braintree/wrap-promise":44}],208:[function(e,t,n){"use strict";var r=e("../lib/analytics"),i=e("../lib/braintree-error"),o=e("./errors"),a=e("../lib/convert-methods-to-error"),s=e("../lib/methods"),c=e("../lib/promise"),l=e("@braintree/wrap-promise");function u(e){this._createPromise=e.createPromise}function d(e){var t={nonce:e.nonce,default:e.default,details:e.details,hasSubscription:e.hasSubscription,type:e.type};return e.description&&(t.description=e.description),e.binData&&(t.binData=e.binData),t}u.prototype.fetchPaymentMethods=function(e){var t;return t=!0===(e=e||{}).defaultFirst?1:0,this._createPromise.then((function(e){return e.request({endpoint:"payment_methods",method:"get",data:{defaultFirst:t}})})).then(function(e){return r.sendEvent(this._createPromise,"vault-manager.fetch-payment-methods.succeeded"),e.paymentMethods.map(d)}.bind(this))},u.prototype.deletePaymentMethod=function(e){return this._createPromise.then((function(t){return"CLIENT_TOKEN"===t.getConfiguration().authorizationType?t.request({api:"graphQLApi",data:{query:"mutation DeletePaymentMethodFromSingleUseToken($input: DeletePaymentMethodFromSingleUseTokenInput!) { deletePaymentMethodFromSingleUseToken(input: $input) { clientMutationId }}",variables:{input:{singleUseTokenId:e}},operationName:"DeletePaymentMethodFromSingleUseToken"}}).then((function(){r.sendEvent(t,"vault-manager.delete-payment-method.succeeded")})).catch((function(n){var a,s=n.details.originalError;return r.sendEvent(t,"vault-manager.delete-payment-method.failed"),s[0]&&"NOT_FOUND"===s[0].extensions.errorClass&&(a=new i({ +type:o.VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND.type,code:o.VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND.code,message:"A payment method for payment method nonce `"+e+"` could not be found.",details:{originalError:s}})),a||(a=new i({type:o.VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR.type,code:o.VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR.code,message:"An unknown error occured when attempting to delete the payment method assocaited with the payment method nonce `"+e+"`.",details:{originalError:s}})),c.reject(a)})):c.reject(new i(o.VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN))}))},u.prototype.teardown=function(){return a(this,s(u.prototype)),c.resolve()},t.exports=l.wrapPrototype(u)},{"../lib/analytics":121,"../lib/braintree-error":126,"../lib/convert-methods-to-error":129,"../lib/methods":157,"../lib/promise":159,"./errors":206,"@braintree/wrap-promise":44}],209:[function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e("./venmo-desktop"));t.exports=function(e){return new r.default(e).initialize()}},{"./venmo-desktop":211}],210:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.VENMO_DESKTOP_PAYMENT_RESOURCE_STATUS_QUERY=n.UPDATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY=n.CREATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY=void 0,n.CREATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY="mutation CreateVenmoQRCodePaymentContext($input: CreateVenmoQRCodePaymentContextInput!) {\n createVenmoQRCodePaymentContext(input: $input) {\n clientMutationId\n venmoQRCodePaymentContext {\n id\n merchantId\n createdAt\n expiresAt\n }\n }\n}",n.UPDATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY="mutation UpdateVenmoQRCodePaymentContext($input: UpdateVenmoQRCodePaymentContextInput!) {\n updateVenmoQRCodePaymentContext(input: $input) {\n clientMutationId\n }\n}",n.VENMO_DESKTOP_PAYMENT_RESOURCE_STATUS_QUERY="query PaymentContext($id: ID!) {\n node(id: $id) {\n ... on VenmoQRCodePaymentContext {\n status\n paymentMethodId\n userName\n }\n }\n}"},{}],211:[function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt?this.updateVenmoDesktopPaymentContext("EXPIRED").then((function(){return n.displayError("Something went wrong"),n.sendEvent("venmo.tokenize.desktop.status-change.sdk-timeout"),n.Promise.reject({allowUIToHandleError:!0,reason:"TIMEOUT"})})):this.lookupVenmoDesktopPaymentContext().then((function(r){if(!n.venmoContextId||!r)return n.Promise.resolve();var i=r.status;if(i!==e)switch(e=i,n.sendEvent("venmo.tokenize.desktop.status-change."+e.toLowerCase()),e){case"CREATED":break;case"EXPIRED":case"FAILED":case"CANCELED":var o="CANCELED"===e?"The authorization was canceled":"Something went wrong";return n.displayError(o),n.Promise.reject({allowUIToHandleError:!0,reason:e});case"SCANNED":n.authorizing();break;case"APPROVED":return n.authorize(),n.Promise.resolve(r)}return new n.Promise((function(r,i){setTimeout((function(){n.pollForStatusChange(e,t).then(r).catch(i)}),1e3)}))})):this.Promise.resolve()},e.prototype.teardown=function(){this.bus.teardown(),this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.alertBox.parentNode&&this.alertBox.parentNode.removeChild(this.alertBox)},e.prototype.setAlert=function(e){this.alertBox.style.display=e?"block":"none",this.alertBox.textContent=e},e.prototype.createVenmoDesktopPaymentContext=function(){var e=this,t={environment:this.env,intent:"PAY_FROM_APP"};return this.apiRequest(l.CREATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY,{input:t}).then((function(t){var n=t.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext;e.venmoContextId=n.id;var r=e.profileId||n.merchantId;return{id:n.id,status:n.status,merchantId:r,createdAt:n.createdAt,expiresAt:n.expiresAt}}))},e.prototype.updateVenmoDesktopPaymentContext=function(e,t){if(void 0===t&&(t={}),!this.venmoContextId)return this.Promise.resolve();var n={input:r({id:this.venmoContextId,status:e},t)};return this.apiRequest(l.UPDATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY,n).then((function(){}))},e.prototype.lookupVenmoDesktopPaymentContext=function(){return this.venmoContextId?this.apiRequest(l.VENMO_DESKTOP_PAYMENT_RESOURCE_STATUS_QUERY,{id:this.venmoContextId}).then((function(e){return e.node})):this.Promise.resolve()},e}();n.default=u},{"../shared/events":216,"./queries":210,"@braintree/iframer":36,"@braintree/uuid":40,framebus:53}],212:[function(e,t,n){"use strict" +;var r=e("../lib/analytics"),i=e("../lib/basic-component-verification"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("./shared/errors"),c=e("@braintree/wrap-promise"),l=e("../lib/braintree-error"),u=e("./venmo"),d=e("../lib/promise"),p=e("./shared/supports-venmo");t.exports={create:c((function(e){return i.verify({name:"Venmo",client:e.client,authorization:e.authorization}).then((function(){var t,n;return e.profileId&&"string"!=typeof e.profileId?d.reject(new l(s.VENMO_INVALID_PROFILE_ID)):e.deepLinkReturnUrl&&"string"!=typeof e.deepLinkReturnUrl?d.reject(new l(s.VENMO_INVALID_DEEP_LINK_RETURN_URL)):(t=o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:"Venmo"}).then((function(t){var n=t.getConfiguration();return e.client=t,n.gatewayConfiguration.payWithVenmo?t:d.reject(new l(s.VENMO_NOT_ENABLED))})),e.createPromise=t,n=new u(e),r.sendEvent(t,"venmo.initialized"),t.then((function(){return n})))}))})),isBrowserSupported:function(e){return p.isBrowserSupported(e)},VERSION:"3.76.4"}},{"../lib/analytics":121,"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./shared/errors":215,"./shared/supports-venmo":217,"./venmo":218,"@braintree/wrap-promise":44}],213:[function(e,t,n){"use strict";var r=e("@braintree/browser-detection/is-android"),i=e("@braintree/browser-detection/is-chrome"),o=e("@braintree/browser-detection/is-ios"),a=e("@braintree/browser-detection/is-ios-safari"),s=e("@braintree/browser-detection/is-ios-webview");t.exports={isAndroid:r,isAndroidWebview:function(){return r()&&window.navigator.userAgent.toLowerCase().indexOf("wv")>-1},isChrome:i,isIos:o,isIosSafari:a,isIosWebview:s}},{"@braintree/browser-detection/is-android":20,"@braintree/browser-detection/is-chrome":22,"@braintree/browser-detection/is-ios":31,"@braintree/browser-detection/is-ios-safari":28,"@braintree/browser-detection/is-ios-webview":29}],214:[function(e,t,n){"use strict";t.exports={DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY:500,DEFAULT_PROCESS_RESULTS_DELAY:1e3,VENMO_OPEN_URL:"https://venmo.com/braintree/checkout"}},{}],215:[function(e,t,n){"use strict";var r=e("../../lib/braintree-error");t.exports={VENMO_NOT_ENABLED:{type:r.types.MERCHANT,code:"VENMO_NOT_ENABLED",message:"Venmo is not enabled for this merchant."},VENMO_TOKENIZATION_REQUEST_ACTIVE:{type:r.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_ACTIVE",message:"Another tokenization request is active."},VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE:{type:r.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE",message:"No tokenization in progress."},VENMO_APP_FAILED:{type:r.types.UNKNOWN,code:"VENMO_APP_FAILED",message:"Venmo app encountered a problem."},VENMO_APP_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_APP_CANCELED",message:"Venmo app authorization was canceled."},VENMO_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_CANCELED", +message:"User canceled Venmo authorization, or Venmo app is not available."},VENMO_DESKTOP_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_DESKTOP_CANCELED",message:"User canceled Venmo authorization by closing the Venmo Desktop modal."},VENMO_TOKENIZATION_CANCELED_BY_MERCHANT:{type:r.types.MERCHANT,code:"VENMO_TOKENIZATION_CANCELED_BY_MERCHANT",message:"The Venmo tokenization was canceled by the merchant."},VENMO_DESKTOP_UNKNOWN_ERROR:{type:r.types.UNKNOWN,code:"VENMO_DESKTOP_UNKNOWN_ERROR",message:"Something went wrong with the Venmo Desktop flow."},VENMO_MOBILE_POLLING_SETUP_FAILED:{type:r.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_SETUP_FAILED",message:"Something went wrong setting up Venmo for mobile polling."},VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR:{type:r.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR",message:"Something went wrong during mobile polling."},VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED:{type:r.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED",message:"The Venmo authorization request is expired."},VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED",message:"The Venmo authorization was canceled"},VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT:{type:r.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT",message:"Customer took too long to authorize Venmo payment."},VENMO_MOBILE_POLLING_TOKENIZATION_FAILED:{type:r.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_FAILED",message:"The Venmo authorization failed."},VENMO_INVALID_PROFILE_ID:{type:r.types.MERCHANT,code:"VENMO_INVALID_PROFILE_ID",message:"Venmo profile ID is invalid."},VENMO_INVALID_DEEP_LINK_RETURN_URL:{type:r.types.MERCHANT,code:"VENMO_INVALID_DEEP_LINK_RETURN_URL",message:"Venmo deep link return URL is invalid."}}},{"../../lib/braintree-error":126}],216:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.VENMO_DESKTOP_UNKNOWN_ERROR=n.VENMO_DESKTOP_REQUEST_NEW_QR_CODE=n.VENMO_DESKTOP_CLOSED_FROM_PARENT=n.VENMO_DESKTOP_IFRAME_READY=n.VENMO_DESKTOP_DISPLAY_QR_CODE=n.VENMO_DESKTOP_DISPLAY_ERROR=n.VENMO_DESKTOP_CUSTOMER_CANCELED=n.VENMO_DESKTOP_AUTHORIZATION_COMPLETED=n.VENMO_DESKTOP_AUTHORIZING=n.VENMO_DESKTOP_AUTHORIZE=n.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT=void 0,n.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT="VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT",n.VENMO_DESKTOP_AUTHORIZE="VENMO_DESKTOP_AUTHORIZE",n.VENMO_DESKTOP_AUTHORIZING="VENMO_DESKTOP_AUTHORIZING",n.VENMO_DESKTOP_AUTHORIZATION_COMPLETED="VENMO_DESKTOP_AUTHORIZATION_COMPLETED",n.VENMO_DESKTOP_CUSTOMER_CANCELED="VENMO_DESKTOP_CUSTOMER_CANCELED",n.VENMO_DESKTOP_DISPLAY_ERROR="VENMO_DESKTOP_DISPLAY_ERROR",n.VENMO_DESKTOP_DISPLAY_QR_CODE="VENMO_DESKTOP_DISPLAY_QR_CODE",n.VENMO_DESKTOP_IFRAME_READY="VENMO_DESKTOP_IFRAME_READY",n.VENMO_DESKTOP_CLOSED_FROM_PARENT="VENMO_DESKTOP_CLOSED_FROM_PARENT",n.VENMO_DESKTOP_REQUEST_NEW_QR_CODE="VENMO_DESKTOP_REQUEST_NEW_QR_CODE",n.VENMO_DESKTOP_UNKNOWN_ERROR="VENMO_DESKTOP_UNKNOWN_ERROR"},{}],217:[function(e,t,n){ +"use strict";var r=e("./browser-detection");t.exports={isBrowserSupported:function(e){var t,n,i=r.isAndroid(),o=i||r.isIos(),a=i&&r.isChrome(),s=r.isIosSafari()||a;return n=!0===(e=e||{}).allowDesktop,t=!e.hasOwnProperty("allowNewBrowserTab")||e.allowNewBrowserTab,!(e.hasOwnProperty("allowWebviews")&&!e.allowWebviews&&(r.isAndroidWebview()||r.isIosWebview()))&&(t?!!n||o:!!s||n&&!o)}}},{"./browser-detection":213}],218:[function(e,t,n){"use strict";var r=e("../lib/analytics"),i=e("./shared/supports-venmo"),o=e("./shared/browser-detection"),a=e("./shared/constants"),s=e("./shared/errors"),c=e("../lib/querystring"),l=e("../lib/is-verified-domain"),u=e("../lib/methods"),d=e("../lib/convert-methods-to-error"),p=e("@braintree/wrap-promise"),_=e("../lib/braintree-error"),E=e("../lib/in-iframe"),h=e("../lib/promise"),f=e("@braintree/extended-promise"),m=e("./external/"),y=e("./external/queries");function A(e){var t=this;this._createPromise=e.createPromise,this._allowNewBrowserTab=!1!==e.allowNewBrowserTab,this._allowWebviews=!1!==e.allowWebviews,this._allowDesktop=!0===e.allowDesktop,this._requireManualReturn=!0===e.requireManualReturn,this._useRedirectForIOS=!0===e.useRedirectForIOS,this._profileId=e.profileId,this._deepLinkReturnUrl=e.deepLinkReturnUrl,this._ignoreHistoryChanges=e.ignoreHistoryChanges,this._useDesktopFlow=this._allowDesktop&&this._isDesktop(),this._useMobilePollingStrategy=E()||this._requireManualReturn,r.sendEvent(this._createPromise,"venmo.desktop-flow.configured."+String(Boolean(this._allowDesktop))),this._useDesktopFlow?this._createPromise=this._createPromise.then((function(e){var n=e.getConfiguration().gatewayConfiguration;return m({url:n.assetsUrl+"/web/3.76.4/html/venmo-desktop-frame.html",environment:"production"===n.environment?"PRODUCTION":"SANDBOX",profileId:t._profileId||n.payWithVenmo.merchantId,Promise:h,apiRequest:function(t,n){return e.request({api:"graphQLApi",data:{query:t,variables:n}}).then((function(e){return e.data}))},sendEvent:function(e){r.sendEvent(t._createPromise,e)},verifyDomain:l}).then((function(n){return t._venmoDesktopInstance=n,r.sendEvent(t._createPromise,"venmo.desktop-flow.presented"),e})).catch((function(){return r.sendEvent(t._createPromise,"venmo.desktop-flow.setup-failed"),t._useDesktopFlow=!1,e}))})):this._useMobilePollingStrategy&&(this._mobilePollingInterval=250,this._mobilePollingExpiresThreshold=3e5,this._createPromise=this._createPromise.then((function(e){var n=e.getConfiguration().gatewayConfiguration;return t._mobilePollingContextEnvironment=n.environment.toUpperCase(),e.request({api:"graphQLApi",data:{query:y.CREATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY,variables:{input:{environment:t._mobilePollingContextEnvironment,intent:"PAY_FROM_APP"}}}}).then((function(n){var i=n.data.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext;return t._mobilePollingContextStatus=i.status,t._mobilePollingContextId=i.id,r.sendEvent(t._createPromise,"venmo.mobile-polling.presented"),e})).catch((function(e){ +return r.sendEvent(t._createPromise,"venmo.mobile-polling.setup-failed"),h.reject(new _({type:s.VENMO_MOBILE_POLLING_SETUP_FAILED.type,code:s.VENMO_MOBILE_POLLING_SETUP_FAILED.code,message:s.VENMO_MOBILE_POLLING_SETUP_FAILED.message,details:{originalError:e}}))}))})))}function T(e){return(e||window.location.hash.substring(1)).split("&").reduce((function(e,t){var n=t.split("="),r=decodeURIComponent(n[0]).replace(/\W/g,""),i=decodeURIComponent(n[1]);return e[r]=i,e}),{})}function I(){var e;return void 0!==window.document.hidden?e="visibilitychange":void 0!==window.document.msHidden?e="msvisibilitychange":void 0!==window.document.webkitHidden&&(e="webkitvisibilitychange"),e}A.prototype.getUrl=function(){return this._createPromise.then(function(e){var t=e.getConfiguration(),n={},r=this._deepLinkReturnUrl||window.location.href.replace(window.location.hash,""),i=t.gatewayConfiguration.payWithVenmo,o=t.analyticsMetadata,s=i.accessToken,l={_meta:{version:o.sdkVersion,integration:o.integration,platform:o.platform,sessionId:o.sessionId}};return r=r.replace(/#*$/,""),this._mobilePollingContextId&&(s+="|pcid:"+this._mobilePollingContextId),this._shouldIncludeReturnUrls()?(n["x-success"]=r+"#venmoSuccess=1",n["x-cancel"]=r+"#venmoCancel=1",n["x-error"]=r+"#venmoError=1"):(n["x-success"]="NOOP",n["x-cancel"]="NOOP",n["x-error"]="NOOP"),n.ua=window.navigator.userAgent,n.braintree_merchant_id=this._profileId||i.merchantId,n.braintree_access_token=s,n.braintree_environment=i.environment,n.braintree_sdk_data=btoa(JSON.stringify(l)),a.VENMO_OPEN_URL+"?"+c.stringify(n)}.bind(this))},A.prototype.isBrowserSupported=function(){return i.isBrowserSupported({allowNewBrowserTab:this._allowNewBrowserTab,allowWebviews:this._allowWebviews,allowDesktop:this._allowDesktop})},A.prototype.hasTokenizationResult=function(){return this._hasTokenizationResult()},A.prototype._hasTokenizationResult=function(e){var t=T(e);return void 0!==(t.venmoSuccess||t.venmoError||t.venmoCancel)},A.prototype._shouldIncludeReturnUrls=function(){return!!this._deepLinkReturnUrl||!this._useMobilePollingStrategy},A.prototype._isDesktop=function(){return!(o.isIos()||o.isAndroid())},A.prototype.tokenize=function(e){var t=this;return e=e||{},!0===this._tokenizationInProgress?h.reject(new _(s.VENMO_TOKENIZATION_REQUEST_ACTIVE)):(this._tokenizationInProgress=!0,(this._useDesktopFlow?this._tokenizeForDesktop(e):this._useMobilePollingStrategy?this._tokenizeForMobileWithPolling():this._tokenizeForMobileWithHashChangeListeners(e)).then((function(e){return t._tokenizationInProgress=!1,function(e){return{nonce:e.paymentMethodNonce,type:"VenmoAccount",details:{username:e.username}}}(e)})).catch((function(e){return t._tokenizationInProgress=!1,h.reject(e)})))},A.prototype.cancelTokenization=function(){return this._tokenizationInProgress?(this._removeVisibilityEventListener(),this._tokenizePromise&&this._tokenizePromise.reject(new _(s.VENMO_TOKENIZATION_CANCELED_BY_MERCHANT)), +h.all([this._cancelMobilePollingContext(),this._cancelVenmoDesktopContext()])):h.reject(new _(s.VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE))},A.prototype._pollForStatusChange=function(){var e=this;return Date.now()>e._mobilePollingContextExpiresIn?h.reject(new _(s.VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT)):this._createPromise.then((function(t){return t.request({api:"graphQLApi",data:{query:y.VENMO_DESKTOP_PAYMENT_RESOURCE_STATUS_QUERY,variables:{id:e._mobilePollingContextId}}})})).catch((function(e){return h.reject(new _({type:s.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.type,code:s.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.code,message:s.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.message,details:{originalError:e}}))})).then((function(t){var n=t.data.node,i=n.status;if(i!==e._mobilePollingContextStatus)switch(e._mobilePollingContextStatus=i,r.sendEvent(e._createPromise,"venmo.tokenize.mobile-polling.status-change."+i.toLowerCase()),i){case"EXPIRED":case"FAILED":case"CANCELED":return h.reject(new _(s["VENMO_MOBILE_POLLING_TOKENIZATION_"+i]));case"APPROVED":return h.resolve(n)}return new h((function(t,n){setTimeout((function(){e._pollForStatusChange().then(t).catch(n)}),e._mobilePollingInterval)}))}))},A.prototype._tokenizeForMobileWithPolling=function(){var e=this;return r.sendEvent(this._createPromise,"venmo.tokenize.mobile-polling.start"),this._mobilePollingContextExpiresIn=Date.now()+this._mobilePollingExpiresThreshold,this._tokenizePromise=new f,this._pollForStatusChange().then((function(t){r.sendEvent(e._createPromise,"venmo.tokenize.mobile-polling.success"),e._tokenizePromise.resolve({paymentMethodNonce:t.paymentMethodId,username:"@"+(t.userName||"").replace("@","")})})).catch((function(t){r.sendEvent(e._createPromise,"venmo.tokenize.mobile-polling.failure"),e._tokenizePromise.reject(t)})),this.getUrl().then((function(t){return r.sendEvent(e._createPromise,"venmo.appswitch.start.browser"),o.isIosWebview()||e._shouldUseRedirectStrategy()?window.location.href=t:window.open(t),e._tokenizePromise}))},A.prototype._shouldUseRedirectStrategy=function(){return!!o.isIos()&&this._useRedirectForIOS},A.prototype._tokenizeForMobileWithHashChangeListeners=function(e){var t,n,i=this;if(this.hasTokenizationResult())return this._processResults();function o(e){var t;i._processResults(e).catch((function(e){t=e})).then((function(e){i._ignoreHistoryChanges||window.location.hash===i._previousHash||(window.location.hash=i._previousHash),i._removeVisibilityEventListener(),t?i._tokenizePromise.reject(t):i._tokenizePromise.resolve(e),delete i._tokenizePromise}))}return r.sendEvent(this._createPromise,"venmo.tokenize.mobile.start"),this._tokenizePromise=new f,this._previousHash=window.location.hash,this._onHashChangeListener=function(e){var r=e.newURL.split("#")[1];i._hasTokenizationResult(r)&&(t=!0,clearTimeout(n),o(r))},window.addEventListener("hashchange",this._onHashChangeListener,!1),this._visibilityChangeListener=function(){var r=e.processResultsDelay||a.DEFAULT_PROCESS_RESULTS_DELAY +;window.document.hidden||t||(n=setTimeout(o,r))},this.getUrl().then((function(e){return i._deepLinkReturnUrl?window.navigator.platform&&/iPhone|iPad|iPod/.test(window.navigator.platform)?(r.sendEvent(i._createPromise,"venmo.appswitch.start.ios-webview"),window.location.href=e):window.popupBridge&&"function"==typeof window.popupBridge.open?(r.sendEvent(i._createPromise,"venmo.appswitch.start.popup-bridge"),window.popupBridge.open(e)):(r.sendEvent(i._createPromise,"venmo.appswitch.start.webview"),window.open(e)):(r.sendEvent(i._createPromise,"venmo.appswitch.start.browser"),i._shouldUseRedirectStrategy()?window.location.href=e:window.open(e)),setTimeout((function(){window.document.addEventListener(I(),i._visibilityChangeListener)}),a.DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY),i._tokenizePromise}))},A.prototype._tokenizeForDesktop=function(){var e=this;return r.sendEvent(this._createPromise,"venmo.tokenize.desktop.start"),this._tokenizePromise=new f,this._createPromise.then((function(){return e._venmoDesktopInstance.launchDesktopFlow()})).then((function(t){e._venmoDesktopInstance.hideDesktopFlow(),r.sendEvent(e._createPromise,"venmo.tokenize.desktop.success"),e._tokenizePromise.resolve(t)})).catch((function(t){r.sendEvent(e._createPromise,"venmo.tokenize.desktop.failure"),e._venmoDesktopInstance&&e._venmoDesktopInstance.hideDesktopFlow(),t&&"CUSTOMER_CANCELED"===t.reason?e._tokenizePromise.reject(new _(s.VENMO_DESKTOP_CANCELED)):e._tokenizePromise.reject(new _({type:s.VENMO_DESKTOP_UNKNOWN_ERROR.type,code:s.VENMO_DESKTOP_UNKNOWN_ERROR.code,message:s.VENMO_DESKTOP_UNKNOWN_ERROR.message,details:{originalError:t}}))})),this._tokenizePromise},A.prototype._updateVenmoDesktopPaymentContext=function(e,t){return this._venmoDesktopInstance.updateVenmoDesktopPaymentContext(e,t)},A.prototype._cancelMobilePollingContext=function(){var e=this;return this._createPromise.then((function(t){return e._mobilePollingContextId?t.request({api:"graphQLApi",data:{query:y.UPDATE_VENMO_DESKTOP_PAYMENT_RESOURCE_QUERY,variables:{input:{id:e._mobilePollingContextId,status:"CANCELED"}}}}):h.resolve()}))},A.prototype._cancelVenmoDesktopContext=function(){var e=this;return this._createPromise.then((function(){return e._venmoDesktopInstance&&e._venmoDesktopInstance.updateVenmoDesktopPaymentContext("CANCELED"),h.resolve()}))},A.prototype.teardown=function(){var e=this;return this._removeVisibilityEventListener(),this._createPromise.then(function(){e._venmoDesktopInstance&&e._venmoDesktopInstance.teardown(),e._cancelMobilePollingContext(),d(this,u(A.prototype))}.bind(this))},A.prototype._removeVisibilityEventListener=function(){window.removeEventListener("hashchange",this._onHashChangeListener),window.document.removeEventListener(I(),this._visibilityChangeListener),delete this._visibilityChangeListener,delete this._onHashChangeListener},A.prototype._processResults=function(e){var t=this,n=T(e);return new h((function(e,i){n.venmoSuccess?(r.sendEvent(t._createPromise,"venmo.appswitch.handle.success"), +e(n)):n.venmoError?(r.sendEvent(t._createPromise,"venmo.appswitch.handle.error"),i(new _({type:s.VENMO_APP_FAILED.type,code:s.VENMO_APP_FAILED.code,message:s.VENMO_APP_FAILED.message,details:{originalError:{message:decodeURIComponent(n.errorMessage),code:n.errorCode}}}))):n.venmoCancel?(r.sendEvent(t._createPromise,"venmo.appswitch.handle.cancel"),i(new _(s.VENMO_APP_CANCELED))):(r.sendEvent(t._createPromise,"venmo.appswitch.cancel-or-unavailable"),i(new _(s.VENMO_CANCELED))),t._clearFragmentParameters()}))},A.prototype._clearFragmentParameters=function(){this._ignoreHistoryChanges||"function"==typeof window.history.replaceState&&window.location.hash&&history.pushState({},"",window.location.href.slice(0,window.location.href.indexOf("#")))},t.exports=p.wrapPrototype(A)},{"../lib/analytics":121,"../lib/braintree-error":126,"../lib/convert-methods-to-error":129,"../lib/in-iframe":152,"../lib/is-verified-domain":155,"../lib/methods":157,"../lib/promise":159,"../lib/querystring":160,"./external/":209,"./external/queries":210,"./shared/browser-detection":213,"./shared/constants":214,"./shared/errors":215,"./shared/supports-venmo":217,"@braintree/extended-promise":35,"@braintree/wrap-promise":44}],219:[function(e,t,n){"use strict";var r=e("../lib/braintree-error");t.exports={VISA_CHECKOUT_NOT_ENABLED:{type:r.types.MERCHANT,code:"VISA_CHECKOUT_NOT_ENABLED",message:"Visa Checkout is not enabled for this merchant."},VISA_CHECKOUT_INIT_OPTIONS_REQUIRED:{type:r.types.MERCHANT,code:"VISA_CHECKOUT_INIT_OPTIONS_REQUIRED",message:"initOptions requires an object."},VISA_CHECKOUT_PAYMENT_REQUIRED:{type:r.types.MERCHANT,code:"VISA_CHECKOUT_PAYMENT_REQUIRED",message:"tokenize requires callid, encKey, and encPaymentData."},VISA_CHECKOUT_TOKENIZATION:{type:r.types.NETWORK,code:"VISA_CHECKOUT_TOKENIZATION",message:"A network error occurred when processing the Visa Checkout payment."}}},{"../lib/braintree-error":126}],220:[function(e,t,n){"use strict";var r=e("../lib/basic-component-verification"),i=e("../lib/braintree-error"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("./visa-checkout"),c=e("../lib/analytics"),l=e("./errors"),u=e("../lib/promise"),d=e("@braintree/wrap-promise");t.exports={create:d((function(e){var t="Visa Checkout";return r.verify({name:t,client:e.client,authorization:e.authorization}).then((function(){return o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t})})).then((function(t){return e.client=t,e.client.getConfiguration().gatewayConfiguration.visaCheckout?(c.sendEvent(e.client,"visacheckout.initialized"),new s(e)):u.reject(new i(l.VISA_CHECKOUT_NOT_ENABLED))}))})),VERSION:"3.76.4"}},{"../lib/analytics":121,"../lib/basic-component-verification":124,"../lib/braintree-error":126,"../lib/create-assets-url":131,"../lib/create-deferred-client":133,"../lib/promise":159,"./errors":219,"./visa-checkout":221,"@braintree/wrap-promise":44}],221:[function(e,t,n){"use strict" +;var r=e("../lib/braintree-error"),i=e("../lib/analytics"),o=e("./errors"),a=e("../lib/json-clone"),s=e("../lib/methods"),c=e("../lib/convert-methods-to-error"),l=e("../lib/promise"),u=e("@braintree/wrap-promise"),d={Visa:"VISA",MasterCard:"MASTERCARD",Discover:"DISCOVER","American Express":"AMEX"};function p(e){this._client=e.client}p.prototype.createInitOptions=function(e){var t,n=this._client.getConfiguration().gatewayConfiguration,i=n.visaCheckout;if(!e)throw new r(o.VISA_CHECKOUT_INIT_OPTIONS_REQUIRED);return(t=a(e)).apikey=t.apikey||i.apikey,t.externalClientId=t.externalClientId||i.externalClientId,t.settings=t.settings||{},t.settings.dataLevel="FULL",t.settings.payment=t.settings.payment||{},t.settings.payment.cardBrands||(t.settings.payment.cardBrands=n.visaCheckout.supportedCardTypes.reduce((function(e,t){return d.hasOwnProperty(t)?e.concat(d[t]):e}),[])),t},p.prototype.tokenize=function(e){var t=this;return e.callid&&e.encKey&&e.encPaymentData?this._client.request({method:"post",endpoint:"payment_methods/visa_checkout_cards",data:{_meta:{source:"visa-checkout"},visaCheckoutCard:{callId:e.callid,encryptedPaymentData:e.encPaymentData,encryptedKey:e.encKey}}}).then((function(e){return i.sendEvent(t._client,"visacheckout.tokenize.succeeded"),e.visaCheckoutCards[0]})).catch((function(e){return i.sendEvent(t._client,"visacheckout.tokenize.failed"),l.reject(new r({type:o.VISA_CHECKOUT_TOKENIZATION.type,code:o.VISA_CHECKOUT_TOKENIZATION.code,message:o.VISA_CHECKOUT_TOKENIZATION.message,details:{originalError:e}}))})):l.reject(new r(o.VISA_CHECKOUT_PAYMENT_REQUIRED))},p.prototype.teardown=function(){return c(this,s(p.prototype)),l.resolve()},t.exports=u.wrapPrototype(p)},{"../lib/analytics":121,"../lib/braintree-error":126,"../lib/convert-methods-to-error":129,"../lib/json-clone":156,"../lib/methods":157,"../lib/promise":159,"./errors":219,"@braintree/wrap-promise":44}]},{},[119])(119)},39391:e=>{"use strict";function t(e){return"function"==typeof e?e():e}function n(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}e.exports=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=void 0,a=void 0,s=void 0,c=[];return function(){var u=t(r),d=(new Date).getTime(),p=!o||d-o>u;o=d;for(var _=arguments.length,E=Array(_),h=0;h<_;h++)E[h]=arguments[h];if(p&&i.leading)return i.accumulate?Promise.resolve(e.call(this,[E])).then((function(e){return e[0]})):Promise.resolve(e.call.apply(e,[this].concat(E)));if(a?clearTimeout(s):a=n(),c.push(E),s=setTimeout(l.bind(this),u),i.accumulate){var f=c.length-1;return a.promise.then((function(e){return e[f]}))}return a.promise};function l(){var t=a;clearTimeout(s),Promise.resolve(i.accumulate?e.call(this,c):e.apply(this,c[c.length-1])).then(t.resolve,t.reject),c=[],a=null}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/1253.80f3612c2c0c60fc7435.css b/charting_library/bundles/1253.80f3612c2c0c60fc7435.css new file mode 100644 index 00000000..fc504869 --- /dev/null +++ b/charting_library/bundles/1253.80f3612c2c0c60fc7435.css @@ -0,0 +1 @@ +.back-button-837Z5B3u{background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;height:23px;margin:0;padding:8px;width:23px}html.theme-dark .back-button-837Z5B3u{color:#d1d4dc}@media (any-hover:hover){.back-button-837Z5B3u:hover{background:#f0f3fa;color:#000}html.theme-dark .back-button-837Z5B3u:hover{background:#2a2e39;color:#f0f3fa}}.back-button-837Z5B3u:active{background:#e0e3eb;color:#131722}html.theme-dark .back-button-837Z5B3u:active{background:#1e222d;color:#d1d4dc}.back-button-837Z5B3u{outline:none;overflow:visible;position:relative}.back-button-837Z5B3u:focus{outline:none}.back-button-837Z5B3u:focus-visible{outline:none}.back-button-837Z5B3u:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.back-button-837Z5B3u:focus:after{display:block}.back-button-837Z5B3u:focus-visible:after{display:block}.back-button-837Z5B3u:focus:not(:focus-visible):after{display:none}.back-button-837Z5B3u:after{border-color:#2962ffcc;border-radius:8px}.back-button-837Z5B3u:disabled{color:#131722;cursor:default}@media (any-hover:hover){.back-button-837Z5B3u:disabled:hover{color:#131722;cursor:default}}html.theme-dark .back-button-837Z5B3u:disabled{color:#d1d4dc}@media (any-hover:hover){html.theme-dark .back-button-837Z5B3u:disabled:hover{color:#d1d4dc}}.icon-837Z5B3u,.icon-837Z5B3u svg{height:100%;width:100%}.button-m-837Z5B3u{height:17px;width:17px} \ No newline at end of file diff --git a/charting_library/bundles/1253.80f3612c2c0c60fc7435.rtl.css b/charting_library/bundles/1253.80f3612c2c0c60fc7435.rtl.css new file mode 100644 index 00000000..de27f8ac --- /dev/null +++ b/charting_library/bundles/1253.80f3612c2c0c60fc7435.rtl.css @@ -0,0 +1 @@ +.back-button-837Z5B3u{background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;height:23px;margin:0;padding:8px;width:23px}html.theme-dark .back-button-837Z5B3u{color:#d1d4dc}@media (any-hover:hover){.back-button-837Z5B3u:hover{background:#f0f3fa;color:#000}html.theme-dark .back-button-837Z5B3u:hover{background:#2a2e39;color:#f0f3fa}}.back-button-837Z5B3u:active{background:#e0e3eb;color:#131722}html.theme-dark .back-button-837Z5B3u:active{background:#1e222d;color:#d1d4dc}.back-button-837Z5B3u{outline:none;overflow:visible;position:relative}.back-button-837Z5B3u:focus{outline:none}.back-button-837Z5B3u:focus-visible{outline:none}.back-button-837Z5B3u:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.back-button-837Z5B3u:focus:after{display:block}.back-button-837Z5B3u:focus-visible:after{display:block}.back-button-837Z5B3u:focus:not(:focus-visible):after{display:none}.back-button-837Z5B3u:after{border-color:#2962ffcc;border-radius:8px}.back-button-837Z5B3u:disabled{color:#131722;cursor:default}@media (any-hover:hover){.back-button-837Z5B3u:disabled:hover{color:#131722;cursor:default}}html.theme-dark .back-button-837Z5B3u:disabled{color:#d1d4dc}@media (any-hover:hover){html.theme-dark .back-button-837Z5B3u:disabled:hover{color:#d1d4dc}}.icon-837Z5B3u,.icon-837Z5B3u svg{height:100%;width:100%}.icon-837Z5B3u svg{transform:rotate(180deg)}.button-m-837Z5B3u{height:17px;width:17px} \ No newline at end of file diff --git a/charting_library/bundles/1333.66628a51e9c9fe6d23a6.css b/charting_library/bundles/1333.66628a51e9c9fe6d23a6.css new file mode 100644 index 00000000..fce3ed00 --- /dev/null +++ b/charting_library/bundles/1333.66628a51e9c9fe6d23a6.css @@ -0,0 +1 @@ +.icon-P882WPW5{display:flex}.wrap-TyQYOCnx{position:relative}.input-TyQYOCnx{bottom:0;left:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;top:0} \ No newline at end of file diff --git a/charting_library/bundles/1333.66628a51e9c9fe6d23a6.rtl.css b/charting_library/bundles/1333.66628a51e9c9fe6d23a6.rtl.css new file mode 100644 index 00000000..46a1d955 --- /dev/null +++ b/charting_library/bundles/1333.66628a51e9c9fe6d23a6.rtl.css @@ -0,0 +1 @@ +.icon-P882WPW5{display:flex}.wrap-TyQYOCnx{position:relative}.input-TyQYOCnx{bottom:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;right:0;top:0} \ No newline at end of file diff --git a/charting_library/bundles/1424.d659ebb641f9bc73fab3.css b/charting_library/bundles/1424.d659ebb641f9bc73fab3.css new file mode 100644 index 00000000..274b4f52 --- /dev/null +++ b/charting_library/bundles/1424.d659ebb641f9bc73fab3.css @@ -0,0 +1 @@ +.errorDialog-0R3aCXZS{line-height:1.5}.tv-free-trial-q2JdOW0b{padding:0 40px}@media screen and (max-width:479px){.tv-free-trial-q2JdOW0b{padding:0 20px}}.tv-free-trial__total-q2JdOW0b{padding-bottom:24px}.tv-free-trial__total-separator-q2JdOW0b{border-bottom:1px dashed #c1c4cd;margin:16px 0}.tv-free-trial__total-after-trial-q2JdOW0b,.tv-free-trial__total-today-q2JdOW0b{display:flex}.tv-free-trial__total-after-trial-description-container-q2JdOW0b,.tv-free-trial__total-today-description-container-q2JdOW0b{flex:1.5}.tv-free-trial__total-after-trial-price-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b{color:#131722;flex:1;font-weight:700;text-align:right}html.theme-dark .tv-free-trial__total-after-trial-price-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-price-q2JdOW0b{color:#d1d4dc}.tv-free-trial__total-after-trial-price-q2JdOW0b span+span,.tv-free-trial__total-today-price-q2JdOW0b span+span{margin-left:10px}@media screen and (max-width:767px){.tv-free-trial__total-after-trial-price-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b{text-align:initial}}.tv-free-trial__total-after-trial-price-year-q2JdOW0b,.tv-free-trial__total-today-price-year-q2JdOW0b{color:#ff4a68}html.theme-dark .tv-free-trial__total-after-trial-price-year-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-price-year-q2JdOW0b{color:#cc2f3c}.tv-free-trial__total-after-trial-price-year--crossed-q2JdOW0b,.tv-free-trial__total-today-price-year--crossed-q2JdOW0b{text-decoration:line-through}.tv-free-trial__total-after-trial-description-container-q2JdOW0b,.tv-free-trial__total-after-trial-price-q2JdOW0b:not(:last-child),.tv-free-trial__total-today-description-container-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b:not(:last-child){margin-right:20px}@media screen and (max-width:767px){.tv-free-trial__total-after-trial-description-container-q2JdOW0b,.tv-free-trial__total-after-trial-price-q2JdOW0b:not(:last-child),.tv-free-trial__total-today-description-container-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b:not(:last-child){margin-right:0}.tv-free-trial__total-after-trial-q2JdOW0b,.tv-free-trial__total-today-q2JdOW0b{flex-direction:column}}.tv-free-trial__total-after-trial-price-q2JdOW0b,.tv-free-trial__total-after-trial-title-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b,.tv-free-trial__total-today-title-q2JdOW0b{color:#131722;font-size:24px;line-height:36px}html.theme-dark .tv-free-trial__total-after-trial-price-q2JdOW0b,html.theme-dark .tv-free-trial__total-after-trial-title-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-price-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-title-q2JdOW0b{color:#d1d4dc}.tv-free-trial__total-after-trial-description-q2JdOW0b,.tv-free-trial__total-today-description-q2JdOW0b{color:#787b86;font-size:14px;line-height:21px}html.theme-dark .tv-free-trial__total-after-trial-description-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-description-q2JdOW0b{color:#787b86}.tv-free-trial__footer-info-q2JdOW0b{display:flex}.tv-free-trial__footer-info-block-q2JdOW0b{background-color:#e3effd;border-radius:4px;flex:1;padding:16px 16px 4px}html.theme-dark .tv-free-trial__footer-info-block-q2JdOW0b{background-color:#132042}.tv-free-trial__footer-info-block-q2JdOW0b h3{color:#131722;font-size:18px;margin-bottom:4px}html.theme-dark .tv-free-trial__footer-info-block-q2JdOW0b h3{color:#d1d4dc}.tv-free-trial__footer-info-block-q2JdOW0b p{color:#434651;font-size:16px;line-height:1.6;margin-bottom:12px}html.theme-dark .tv-free-trial__footer-info-block-q2JdOW0b p{color:#b2b5be}.tv-free-trial__footer-info-block-q2JdOW0b:not(:last-child){margin-right:20px}@media screen and (max-width:767px){.tv-free-trial__footer-info-block-q2JdOW0b:not(:last-child){margin-bottom:20px;margin-right:0}.tv-free-trial__footer-info-q2JdOW0b{flex-direction:column}} \ No newline at end of file diff --git a/charting_library/bundles/1424.d659ebb641f9bc73fab3.rtl.css b/charting_library/bundles/1424.d659ebb641f9bc73fab3.rtl.css new file mode 100644 index 00000000..82891044 --- /dev/null +++ b/charting_library/bundles/1424.d659ebb641f9bc73fab3.rtl.css @@ -0,0 +1 @@ +.errorDialog-0R3aCXZS{line-height:1.5}.tv-free-trial-q2JdOW0b{padding:0 40px}@media screen and (max-width:479px){.tv-free-trial-q2JdOW0b{padding:0 20px}}.tv-free-trial__total-q2JdOW0b{padding-bottom:24px}.tv-free-trial__total-separator-q2JdOW0b{border-bottom:1px dashed #c1c4cd;margin:16px 0}.tv-free-trial__total-after-trial-q2JdOW0b,.tv-free-trial__total-today-q2JdOW0b{display:flex}.tv-free-trial__total-after-trial-description-container-q2JdOW0b,.tv-free-trial__total-today-description-container-q2JdOW0b{flex:1.5}.tv-free-trial__total-after-trial-price-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b{color:#131722;flex:1;font-weight:700;text-align:left}html.theme-dark .tv-free-trial__total-after-trial-price-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-price-q2JdOW0b{color:#d1d4dc}.tv-free-trial__total-after-trial-price-q2JdOW0b span+span,.tv-free-trial__total-today-price-q2JdOW0b span+span{margin-right:10px}@media screen and (max-width:767px){.tv-free-trial__total-after-trial-price-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b{text-align:initial}}.tv-free-trial__total-after-trial-price-year-q2JdOW0b,.tv-free-trial__total-today-price-year-q2JdOW0b{color:#ff4a68}html.theme-dark .tv-free-trial__total-after-trial-price-year-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-price-year-q2JdOW0b{color:#cc2f3c}.tv-free-trial__total-after-trial-price-year--crossed-q2JdOW0b,.tv-free-trial__total-today-price-year--crossed-q2JdOW0b{text-decoration:line-through}.tv-free-trial__total-after-trial-description-container-q2JdOW0b,.tv-free-trial__total-after-trial-price-q2JdOW0b:not(:last-child),.tv-free-trial__total-today-description-container-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b:not(:last-child){margin-left:20px}@media screen and (max-width:767px){.tv-free-trial__total-after-trial-description-container-q2JdOW0b,.tv-free-trial__total-after-trial-price-q2JdOW0b:not(:last-child),.tv-free-trial__total-today-description-container-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b:not(:last-child){margin-left:0}.tv-free-trial__total-after-trial-q2JdOW0b,.tv-free-trial__total-today-q2JdOW0b{flex-direction:column}}.tv-free-trial__total-after-trial-price-q2JdOW0b,.tv-free-trial__total-after-trial-title-q2JdOW0b,.tv-free-trial__total-today-price-q2JdOW0b,.tv-free-trial__total-today-title-q2JdOW0b{color:#131722;font-size:24px;line-height:36px}html.theme-dark .tv-free-trial__total-after-trial-price-q2JdOW0b,html.theme-dark .tv-free-trial__total-after-trial-title-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-price-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-title-q2JdOW0b{color:#d1d4dc}.tv-free-trial__total-after-trial-description-q2JdOW0b,.tv-free-trial__total-today-description-q2JdOW0b{color:#787b86;font-size:14px;line-height:21px}html.theme-dark .tv-free-trial__total-after-trial-description-q2JdOW0b,html.theme-dark .tv-free-trial__total-today-description-q2JdOW0b{color:#787b86}.tv-free-trial__footer-info-q2JdOW0b{display:flex}.tv-free-trial__footer-info-block-q2JdOW0b{background-color:#e3effd;border-radius:4px;flex:1;padding:16px 16px 4px}html.theme-dark .tv-free-trial__footer-info-block-q2JdOW0b{background-color:#132042}.tv-free-trial__footer-info-block-q2JdOW0b h3{color:#131722;font-size:18px;margin-bottom:4px}html.theme-dark .tv-free-trial__footer-info-block-q2JdOW0b h3{color:#d1d4dc}.tv-free-trial__footer-info-block-q2JdOW0b p{color:#434651;font-size:16px;line-height:1.6;margin-bottom:12px}html.theme-dark .tv-free-trial__footer-info-block-q2JdOW0b p{color:#b2b5be}.tv-free-trial__footer-info-block-q2JdOW0b:not(:last-child){margin-left:20px}@media screen and (max-width:767px){.tv-free-trial__footer-info-block-q2JdOW0b:not(:last-child){margin-bottom:20px;margin-left:0}.tv-free-trial__footer-info-q2JdOW0b{flex-direction:column}} \ No newline at end of file diff --git a/charting_library/bundles/1482.31d88995d3950d354e71.js b/charting_library/bundles/1482.31d88995d3950d354e71.js new file mode 100644 index 00000000..2e9bb4bc --- /dev/null +++ b/charting_library/bundles/1482.31d88995d3950d354e71.js @@ -0,0 +1,24 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1482],{12857:e=>{e.exports={"textarea-container":"textarea-container-I5L4qQPj","change-highlight":"change-highlight-I5L4qQPj",focused:"focused-I5L4qQPj","resize-vertical":"resize-vertical-I5L4qQPj","resize-horizontal":"resize-horizontal-I5L4qQPj","resize-both":"resize-both-I5L4qQPj",textarea:"textarea-I5L4qQPj"}},74588:e=>{e.exports={wrap:"wrap-sYKPueSl",thicknessItem:"thicknessItem-sYKPueSl",checked:"checked-sYKPueSl",radio:"radio-sYKPueSl",bar:"bar-sYKPueSl"}},9198:e=>{e.exports={innerLabel:"innerLabel-MS9pjVpT"}},44712:e=>{e.exports={controlWrapper:"controlWrapper-y2rn9wiU",hidden:"hidden-y2rn9wiU",control:"control-y2rn9wiU",controlIncrease:"controlIncrease-y2rn9wiU",controlDecrease:"controlDecrease-y2rn9wiU",controlIcon:"controlIcon-y2rn9wiU",title:"title-y2rn9wiU"}},16300:e=>{e.exports={titleWrap:"titleWrap-ZYQL0yaM",groupFooter:"groupFooter-ZYQL0yaM"}},23128:e=>{e.exports={inlineRow:"inlineRow-CqPNtHDN"}},70199:e=>{e.exports={icon:"icon-OTC0ma9h"}},6041:e=>{e.exports={input:"input-pBN3Orju",symbol:"symbol-pBN3Orju",checkbox:"checkbox-pBN3Orju",label:"label-pBN3Orju",dropdownMenu:"dropdownMenu-pBN3Orju",sessionStart:"sessionStart-pBN3Orju",sessionEnd:"sessionEnd-pBN3Orju",sessionInputContainer:"sessionInputContainer-pBN3Orju",sessionDash:"sessionDash-pBN3Orju",inputGroup:"inputGroup-pBN3Orju",textarea:"textarea-pBN3Orju",inlineGroup:"inlineGroup-pBN3Orju",hasTooltip:"hasTooltip-pBN3Orju"}},46828:e=>{e.exports={content:"content-ByXdMGQj",cell:"cell-ByXdMGQj",inner:"inner-ByXdMGQj",first:"first-ByXdMGQj",inlineCell:"inlineCell-ByXdMGQj",fill:"fill-ByXdMGQj",top:"top-ByXdMGQj",topCenter:"topCenter-ByXdMGQj",offset:"offset-ByXdMGQj",inlineRow:"inlineRow-ByXdMGQj",grouped:"grouped-ByXdMGQj",separator:"separator-ByXdMGQj",groupSeparator:"groupSeparator-ByXdMGQj",big:"big-ByXdMGQj",adaptive:"adaptive-ByXdMGQj",checkableTitle:"checkableTitle-ByXdMGQj"}},300:e=>{e.exports={wrap:"wrap-l3G0HrB9",labelWrap:"labelWrap-l3G0HrB9",label:"label-l3G0HrB9",hasTooltip:"hasTooltip-l3G0HrB9"}},91131:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",footer:"footer-xe9kH1lJ",submitButton:"submitButton-xe9kH1lJ",buttons:"buttons-xe9kH1lJ"}},55914:e=>{e.exports={wrap:"wrap-GsOqvniR",icon:"icon-GsOqvniR",text:"text-GsOqvniR",disabled:"disabled-GsOqvniR"}},14348:e=>{e.exports={colorPickerWrap:"colorPickerWrap-pz6IRAmC",focused:"focused-pz6IRAmC",readonly:"readonly-pz6IRAmC",disabled:"disabled-pz6IRAmC","size-small":"size-small-pz6IRAmC","size-medium":"size-medium-pz6IRAmC","size-large":"size-large-pz6IRAmC","font-size-small":"font-size-small-pz6IRAmC","font-size-medium":"font-size-medium-pz6IRAmC","font-size-large":"font-size-large-pz6IRAmC","border-none":"border-none-pz6IRAmC",shadow:"shadow-pz6IRAmC","border-thin":"border-thin-pz6IRAmC","border-thick":"border-thick-pz6IRAmC","intent-default":"intent-default-pz6IRAmC","intent-success":"intent-success-pz6IRAmC","intent-warning":"intent-warning-pz6IRAmC","intent-danger":"intent-danger-pz6IRAmC", +"intent-primary":"intent-primary-pz6IRAmC","corner-top-left":"corner-top-left-pz6IRAmC","corner-top-right":"corner-top-right-pz6IRAmC","corner-bottom-right":"corner-bottom-right-pz6IRAmC","corner-bottom-left":"corner-bottom-left-pz6IRAmC",colorPicker:"colorPicker-pz6IRAmC",swatch:"swatch-pz6IRAmC",placeholderContainer:"placeholderContainer-pz6IRAmC",placeholder:"placeholder-pz6IRAmC",mixedColor:"mixedColor-pz6IRAmC",white:"white-pz6IRAmC",opacitySwatch:"opacitySwatch-pz6IRAmC",colorLine:"colorLine-pz6IRAmC",multiWidth:"multiWidth-pz6IRAmC",line:"line-pz6IRAmC",thicknessContainer:"thicknessContainer-pz6IRAmC",thicknessTitle:"thicknessTitle-pz6IRAmC"}},83421:e=>{e.exports={thicknessContainer:"thicknessContainer-ofeynovw",thicknessTitle:"thicknessTitle-ofeynovw"}},83998:e=>{e.exports={hasTooltip:"hasTooltip-0t5K1wco",uppercase:"uppercase-0t5K1wco"}},26527:e=>{e.exports={wrap:"wrap-dHwHcgvB"}},27345:e=>{e.exports={checkbox:"checkbox-24x04noU",title:"title-24x04noU"}},51842:e=>{e.exports={titleWrap:"titleWrap-O5QDBhZc",title:"title-O5QDBhZc"}},10667:e=>{e.exports={container:"container-WiTVOllB",sectionTitle:"sectionTitle-WiTVOllB",separator:"separator-WiTVOllB",customButton:"customButton-WiTVOllB"}},99565:e=>{e.exports={container:"container-UpS01XRM",form:"form-UpS01XRM",swatch:"swatch-UpS01XRM",inputWrap:"inputWrap-UpS01XRM",inputHash:"inputHash-UpS01XRM",input:"input-UpS01XRM",buttonWrap:"buttonWrap-UpS01XRM",hueSaturationWrap:"hueSaturationWrap-UpS01XRM",saturation:"saturation-UpS01XRM",hue:"hue-UpS01XRM"}},24429:e=>{e.exports={hue:"hue-oQv2KoOx",pointer:"pointer-oQv2KoOx",pointerContainer:"pointerContainer-oQv2KoOx"}},15381:e=>{e.exports={opacity:"opacity-YL5Gjk00",opacitySlider:"opacitySlider-YL5Gjk00",opacitySliderGradient:"opacitySliderGradient-YL5Gjk00",pointer:"pointer-YL5Gjk00",dragged:"dragged-YL5Gjk00",opacityPointerWrap:"opacityPointerWrap-YL5Gjk00",opacityInputWrap:"opacityInputWrap-YL5Gjk00",opacityInput:"opacityInput-YL5Gjk00",opacityInputPercent:"opacityInputPercent-YL5Gjk00"}},88440:e=>{e.exports={saturation:"saturation-lJHGRPyu",pointer:"pointer-lJHGRPyu"}},24590:e=>{e.exports={swatches:"swatches-qgksmXjR",swatch:"swatch-qgksmXjR",hover:"hover-qgksmXjR",empty:"empty-qgksmXjR",white:"white-qgksmXjR",selected:"selected-qgksmXjR",contextItem:"contextItem-qgksmXjR"}},88722:e=>{e.exports={wrap:"wrap-TyQYOCnx",input:"input-TyQYOCnx"}},24451:e=>{e.exports={icon:"icon-P882WPW5"}},2568:(e,t,n)=>{"use strict";n.d(t,{Textarea:()=>y});var o,r=n(59496),s=n(97754),a=n(66092),i=n(29202),l=n(48027),c=n(45812),u=n(47201),p=n(48907),d=n(67029),h=n(78274),m=n(12857),f=n.n(m);!function(e){e.None="none",e.Vertical="vertical",e.Horizontal="horizontal",e.Both="both"}(o||(o={}));const g=r.forwardRef((e,t)=>{ +const{id:n,title:o,tabIndex:a,containerTabIndex:i,role:l,inputClassName:c,autoComplete:u,autoFocus:p,cols:m,disabled:g,isFocused:v,form:C,maxLength:y,minLength:b,name:E,placeholder:S,readonly:N,required:_,rows:w,value:x,defaultValue:T,wrap:k,containerReference:P,onChange:I,onSelect:R,onFocus:B,onContainerFocus:M,onBlur:D,"aria-describedby":O,...V}=e,A={id:n,title:o,tabIndex:a,role:l,autoComplete:u,autoFocus:p,cols:m,disabled:g,form:C,maxLength:y,minLength:b,name:E,placeholder:S,readOnly:N,required:_,rows:w,value:x,defaultValue:T,wrap:k,onChange:I,onSelect:R,onFocus:B,onBlur:D,"aria-describedby":O};return r.createElement(d.ControlSkeleton,{...V,tabIndex:i,disabled:g,readonly:N,isFocused:v,ref:P,onFocus:M,middleSlot:r.createElement(h.MiddleSlot,null,r.createElement("textarea",{...A,className:s(f().textarea,c),ref:t}))})});g.displayName="TextareaView";const v=(e,t,n)=>t?void 0:e?-1:n,C=(e,t,n)=>t?void 0:e?n:-1,y=r.forwardRef((e,t)=>{e=(0,l.useControl)(e);const{className:n,disabled:d,autoSelectOnFocus:h,tabIndex:m=0,borderStyle:y,highlight:b,resize:E,containerReference:S=null,onFocus:N,onBlur:_,...w}=e,x=(0,r.useRef)(null),T=(0,r.useRef)(null),{isMouseDown:k,handleMouseDown:P,handleMouseUp:I}=(0,c.useIsMouseDown)(),[R,B]=(0,i.useFocus)(),M=(0,u.createSafeMulticastEventHandler)(B.onFocus,(function(e){h&&!k.current&&(0,p.selectAllContent)(e.currentTarget)}),N),D=(0,u.createSafeMulticastEventHandler)(B.onBlur,_),O=void 0!==E&&E!==o.None,V=null!=y?y:O?b?"thick":"thin":void 0,A=null!=b?b:!O&&void 0;return r.createElement(g,{...w,className:s(f()["textarea-container"],O&&f()["change-highlight"],E&&E!==o.None&&f()["resize-"+E],R&&f().focused,n),disabled:d,isFocused:R,containerTabIndex:v(R,d,m),tabIndex:C(R,d,m),borderStyle:V,highlight:A,onContainerFocus:function(e){T.current===e.target&&null!==x.current&&x.current.focus()},onFocus:M,onBlur:D,onMouseDown:P,onMouseUp:I,ref:function(e){x.current=e,"function"==typeof t?t(e):t&&(t.current=e)},containerReference:(0,a.useMergedRefs)([S,T])})});y.displayName="Textarea"},92399:(e,t,n)=>{"use strict";n.d(t,{NumberInputView:()=>x});var o=n(59496),r=n(32563),s=n(97754),a=n(67029),i=n(78274),l=n(86623),c=n(86629),u=n(1405),p=n(9198);const d={large:a.InputClasses.FontSizeLarge,medium:a.InputClasses.FontSizeMedium},h={attachment:u.anchors.top.attachment,targetAttachment:u.anchors.top.targetAttachment,attachmentOffsetY:-4};function m(e){const{className:t,inputClassName:n,stretch:r=!0,errorMessage:a,fontSizeStyle:u="large",endSlot:m,button:f,error:g,warning:v,innerLabel:C,inputReference:y,children:b,...E}=e,S=g&&void 0!==a?[a]:void 0,N=v&&void 0!==a?[a]:void 0,_=s(p.inputContainer,d[u],t),w=C?o.createElement(i.StartSlot,{className:p.innerLabel,interactive:!1},C):void 0,x=m||f||b?o.createElement(i.EndSlot,null,m,f,b):void 0;return o.createElement(l.FormInput,{...E,className:_,inputClassName:n,errors:S,warnings:N,hasErrors:g,hasWarnings:v,messagesPosition:c.MessagesPosition.Attached,customErrorsAttachment:h,messagesRoot:"document",inheritMessagesWidthFromTarget:!0,disableMessagesRtlStyles:!0, +iconHidden:!0,stretch:r,reference:y,startSlot:w,endSlot:x})}var f=n(28353),g=n(9745),v=n(81268),C=n(44712);function y(e){const t=s(C.control,C.controlIncrease),n=s(C.control,C.controlDecrease);return o.createElement(o.Fragment,null,void 0!==e.title&&o.createElement("div",{className:C.title},e.title),o.createElement("div",{className:C.controlWrapper},(e.defaultButtonsVisible||e.title)&&o.createElement(o.Fragment,null,o.createElement("button",{type:"button",tabIndex:-1,"aria-label":(0,f.t)("Increase"),className:t,onClick:e.increaseValue},o.createElement(g.Icon,{icon:v,className:C.controlIcon})),o.createElement("button",{type:"button",tabIndex:-1,"aria-label":(0,f.t)("Decrease"),className:n,onClick:e.decreaseValue},o.createElement(g.Icon,{icon:v,className:C.controlIcon})))))}var b=n(70412),E=n(29202),S=n(47201),N=n(68335);const _=[38],w=[40];function x(e){const[t,n]=(0,b.useHover)(),[s,a]=(0,E.useFocus)(),i=(0,S.createSafeMulticastEventHandler)(a.onFocus,e.onFocus),l=(0,S.createSafeMulticastEventHandler)(a.onBlur,e.onBlur),c=(0,o.useCallback)(t=>{!e.disabled&&s&&(t.preventDefault(),t.deltaY<0?e.onValueByStepChange(1):e.onValueByStepChange(-1))},[s,e.disabled,e.onValueByStepChange]);return o.createElement(m,{...n,id:e.id,name:e.name,pattern:e.pattern,borderStyle:e.borderStyle,fontSizeStyle:e.fontSizeStyle,value:e.value,className:e.className,inputClassName:e.inputClassName,button:function(){const{button:n,forceShowControls:a,disabled:i,title:l}=e,c=!i&&!r.mobiletouch&&(a||s||t);return i?void 0:o.createElement(o.Fragment,null,null!=n?n:o.createElement(y,{increaseValue:u,decreaseValue:p,defaultButtonsVisible:c,title:l}))}(),disabled:e.disabled,placeholder:e.placeholder,innerLabel:e.innerLabel,endSlot:e.endSlot,containerReference:e.containerReference,inputReference:e.inputReference,inputMode:e.inputMode,type:e.type,error:e.error,errorMessage:e.errorMessage,onClick:e.onClick,onFocus:i,onBlur:l,onChange:e.onValueChange,onKeyDown:function(t){if(e.disabled||0!==(0,N.modifiersFromEvent)(t.nativeEvent))return;let n=_,o=w;e.controlDecKeyCodes&&(o=o.concat(e.controlDecKeyCodes));e.controlIncKeyCodes&&(n=n.concat(e.controlIncKeyCodes));(o.includes(t.keyCode)||n.includes(t.keyCode))&&(t.preventDefault(),e.onValueByStepChange(o.includes(t.keyCode)?-1:1));e.onKeyDown&&e.onKeyDown(t)},onWheelNoPassive:c,stretch:e.stretch,intent:e.intent,highlight:e.highlight,highlightRemoveRoundBorder:e.highlightRemoveRoundBorder,autoSelectOnFocus:e.autoSelectOnFocus,"data-property-id":e["data-name"]});function u(){e.disabled||e.onValueByStepChange(1)}function p(){e.disabled||e.onValueByStepChange(-1)}}},35726:(e,t,n)=>{"use strict";n.d(t,{splitThousands:()=>r});var o=n(93751);function r(e,t=" "){let n=e+"";-1!==n.indexOf("e")&&(n=function(e){return(0,o.fixComputationError)(e).toFixed(10).replace(/\.?0+$/,"")}(Number(e)));const r=n.split(".");return r[0].replace(/\B(?=(\d{3})+(?!\d))/g,t)+(r[1]?"."+r[1]:"")}},46446:(e,t,n)=>{"use strict";n.d(t,{bind:()=>a,setter:()=>i});var o=n(59496),r=n(617),s=n(27365);function a(e){var t +;return(t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=(e,t,n)=>{const{setValue:o}=this.context,{onChange:r}=this.props;i(o,r)(e,t,n)}}render(){const{input:t}=this.props,{values:n,model:r}=this.context;return o.createElement(e,{...this.props,value:n[t.id],tzName:(0,s.getTimezoneName)(r),onChange:this._onChange})}}).contextType=r.PropertyContext,t}function i(e,t){return(n,o,r)=>{e(o,n,r),t&&t(n,o,r)}}},617:(e,t,n)=>{"use strict";n.d(t,{PropertyContext:()=>c,PropertyContainer:()=>u});var o=n(59496),r=n(88537),s=n(28353),a=n(24980);const i=(0,n(98125).getLogger)("Platform.GUI.StudyInputPropertyContainer"),l=new a.TranslatedString("change {propertyName} property",(0,s.t)("change {propertyName} property")),c=o.createContext(null);class u extends o.PureComponent{constructor(e){super(e),this._setValue=(e,t,n)=>{const{property:o,model:c}=this.props,u=(0,r.ensureDefined)(o.child(e));i.logNormal(`Changing property "${e}" value from "${o.value()}" to "${t}"`);const p=new a.TranslatedString(n,function(e){return(0,s.t)(e,{context:"input"})}(n));c.setProperty(u,t,l.format({propertyName:p}))};const{property:t}=e,n={};t.childNames().forEach(e=>{const o=(0,r.ensureDefined)(t.child(e));n.hasOwnProperty(e)||(n[e]=o.value())}),this.state=n}componentDidMount(){const{property:e,onStudyInputChange:t}=this.props;e.childNames().forEach(n=>{(0,r.ensureDefined)(e.child(n)).subscribe(this,e=>{const o=e.value();i.logNormal(`Property "${n}" updated to value "${o}"`),this.setState({[n]:o}),null==t||t(o,n)})})}componentWillUnmount(){const{property:e}=this.props;e.childNames().forEach(t=>{(0,r.ensureDefined)(e.child(t)).unsubscribeAll(this)})}render(){const{study:e,model:t,children:n}=this.props,r={study:e,model:t,values:this.state,setValue:this._setValue};return o.createElement(c.Provider,{value:r},n)}}},44488:(e,t,n)=>{"use strict";n.d(t,{ModelContext:()=>r,bindModel:()=>s});var o=n(59496);const r=o.createContext(null);function s(e,t){return o.createElement(r.Consumer,null,n=>n?o.createElement(e,{...Object.assign({model:n},t)}):null)}},87536:(e,t,n)=>{"use strict";n.d(t,{StylePropertyContext:()=>s,StylePropertyContainer:()=>a,bindPropertyContext:()=>i});var o=n(59496),r=n(44488);const s=o.createContext(null);class a extends o.PureComponent{constructor(){super(...arguments),this._setValue=(e,t,n)=>{const{model:o}=this.props;o.setProperty(e,t,n)}}componentDidMount(){const{property:e}=this.props;e.subscribe(this,()=>this.forceUpdate())}componentWillUnmount(){const{property:e}=this.props;e.unsubscribeAll(this)}render(){const e={setValue:this._setValue};return o.createElement(s.Provider,{value:e},this.props.children)}}function i(e,t){return(0,r.bindModel)(({model:n})=>o.createElement(a,{model:n,property:t.property},o.createElement(e,{...t})),t)}},65376:(e,t,n)=>{"use strict";n.d(t,{InputTooltip:()=>h});var o=n(59496),r=n(97754),s=n.n(r),a=n(9745),i=n(38780),l=n(32563),c=n(70199),u=n(60495);function p(){document.removeEventListener("scroll",p),document.removeEventListener("touchstart",p),(0,i.hide)()}function d(e){ +l.mobiletouch&&((0,i.showOnElement)(e.currentTarget,{tooltipDelay:0}),document.addEventListener("scroll",p),document.addEventListener("touchstart",p))}function h(e){const{className:t,title:n}=e;return o.createElement(a.Icon,{icon:u,className:s()(t,"apply-common-tooltip",c.icon),title:n,onClick:d})}},95087:(e,t,n)=>{"use strict";n.d(t,{isGroup:()=>r,isInputInlines:()=>s,getInputGroups:()=>a});var o=n(88537);function r(e){return e.hasOwnProperty("groupType")}function s(e){return r(e)&&"inline"===e.groupType}function a(e){const t=[],n=new Map,r=new Map;return r.set(void 0,new Map),e.forEach(e=>{const{group:s,inline:a}=e;if(void 0!==s||void 0!==a)if(void 0!==s)if(void 0!==a)if(n.has(s)){const t=(0,o.ensureDefined)(n.get(s));let l;r.has(t)?l=(0,o.ensureDefined)(r.get(t)):(l=new Map,r.set(t,l)),i(e,"inline",a,l,t.children)}else{const o={id:a,groupType:"inline",children:[e]},i={id:s,groupType:"group",children:[o]},l=new Map;l.set(a,o),r.set(i,l),n.set(s,i),t.push(i)}else i(e,"group",s,n,t);else{const n=(0,o.ensureDefined)(r.get(void 0));i(e,"inline",(0,o.ensureDefined)(a),n,t)}else t.push(e)}),t}function i(e,t,n,r,s){if(r.has(n))(0,o.ensureDefined)(r.get(n)).children.push(e);else{const o={id:n,groupType:t,children:[e]};r.set(n,o),s.push(o)}}},27547:(e,t,n)=>{"use strict";n.d(t,{InputRow:()=>X});var o=n(28353),r=n(59496),s=n(88537),a=n(33266),i=n(26007),l=n(48948),c=n(48100),u=n(97754),p=n.n(u),d=n(31261),h=n(46446),m=n(93379),f=n(6041);class g extends r.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:o,onKeyDown:s,hasTooltip:a}=this.props;return r.createElement(d.InputControl,{className:p()(f.input,a&&f.hasTooltip),value:void 0===t?e:t,onChange:this._onChange,onBlur:o,onKeyDown:s,disabled:n})}}const v=(0,m.debounced)(g),C=(0,h.bind)(v);var y=n(76110),b=n(35868);function E(e){const{className:t}=e,n=(0,r.useContext)(b.PropertyTable.InlineRowContext);return r.createElement("div",{className:u(f.inputGroup,n&&f.inlineGroup,t)},e.children)}var S=n(36565);function N(e=""){const[,t="",n="",o="",r=""]=Array.from(e.match(/^(\d\d)(\d\d)-(\d\d)(\d\d)/)||[]);return[`${t}:${n}`,`${o}:${r}`]}class _ extends r.PureComponent{constructor(e){super(e),this._onStartPick=e=>{this.setState({startTime:e},this._onChange)},this._onEndPick=e=>{this.setState({endTime:e},this._onChange)},this._onChange=()=>{const{input:{id:e,name:t},onChange:n}=this.props,{startTime:o,endTime:r}=this.state;n(o.replace(":","")+"-"+r.replace(":",""),e,t)};const t=e.value||e.input.defval,[n,o]=N(t);this.state={prevValue:t,startTime:n,endTime:o}}render(){const{startTime:e,endTime:t}=this.state,{hasTooltip:n,disabled:o}=this.props;return r.createElement(E,{className:p()(n&&f.hasTooltip)},r.createElement("div",{className:f.sessionStart},r.createElement(S.TimeInput,{className:p()(f.input,f.sessionInputContainer),name:"start",value:(0,s.ensureDefined)(e),onChange:this._onStartPick,disabled:o}),r.createElement("span",{ +className:f.sessionDash}," — ")),r.createElement("div",{className:f.sessionEnd},r.createElement(S.TimeInput,{className:p()(f.input,f.sessionInputContainer),name:"end",value:(0,s.ensureDefined)(t),onChange:this._onEndPick,disabled:o})))}static getDerivedStateFromProps(e,t){if(e.value===t.prevValue)return t;const[n,o]=N(e.value);return{prevValue:e.value,startTime:n,endTime:o}}}const w=(0,h.bind)(_);var x=n(67337),T=n(67072),k=n.n(T),P=n(617),I=n(58368);class R extends r.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:{id:e,defval:t,options:n,optionsTitles:s},value:a,disabled:i,hasTooltip:l}=this.props,c=n.map(e=>{const t=s&&s[e]?s[e]:e;return{value:e,content:(0,o.t)(t,{context:"input"})}}),u=void 0!==a&&n.includes(a)?a:t;return r.createElement(I.Select,{id:e,className:p()(f.input,l&&f.hasTooltip),menuClassName:f.dropdownMenu,value:u,items:c,onChange:this._onChange,disabled:i})}}const B=(0,h.bind)(R);var M=n(72280);const D={open:(0,o.t)("open"),high:(0,o.t)("high"),low:(0,o.t)("low"),close:(0,o.t)("close"),hl2:(0,o.t)("hl2"),hlc3:(0,o.t)("hlc3"),ohlc4:(0,o.t)("ohlc4"),hlcc4:(0,o.t)("hlcc4")};class O extends r.PureComponent{render(){const{input:e}=this.props,{study:t,model:n}=this.context;let o={...D};delete o.hlcc4;const a=(0,M.createAdapter)(t);if(t&&this._isStudy(t)&&t.isChildStudy()){const t=a.parentSource(),n=t.title(),r=k().getChildSourceInputTitles(e,t.metaInfo(),n);o={...o,...r}}if(x.enabled("study_on_study")&&t&&this._isStudy(t)&&(t.isChildStudy()||k().canBeChild(t.metaInfo()))){const e=[t,...a.getAllChildren()];n.model().allStudies().filter(t=>t.canHaveChildren()&&!e.includes(t)).forEach(e=>{const t=e.title(!0,void 0,!0),n=e.sourceId()||"#"+e.id(),r=e.metaInfo(),a=r.styles,i=r.plots||[];if(1===i.length)o[n+"$0"]=t;else if(i.length>1){const e=i.reduce((e,o,r)=>{if(!k().canPlotBeSourceOfChildStudy(o.type))return e;let i;try{i=(0,s.ensureDefined)((0,s.ensureDefined)(a)[o.id]).title}catch(e){i=o.id}return{...e,[`${n}$${r}`]:`${t}: ${i}`}},{});o={...o,...e}}})}const i={...e,type:"text",options:Object.keys(o),optionsTitles:o};return r.createElement(B,{...this.props,input:i})}_isStudy(e){return!e.hasOwnProperty("isInputsStudy")}}O.contextType=P.PropertyContext;var V=n(29823),A=n(9315);const z=void 0,L=["1","3","5","15","30","45","60","120","180","240","1D","1W","1M"];class F extends r.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:e,value:t,disabled:n,hasTooltip:s}=this.props,a=V.Interval.parse(void 0===t?e.defval:t),i=a.isValid()?a.value():t,l=z?z.get().filter(e=>!V.Interval.parse(e).isRange()):[],c=(0,A.mergeResolutions)(L,l);return c.unshift(""),r.createElement(I.Select,{id:e.id,className:p()(f.input,f.resolution,s&&f.hasTooltip),menuClassName:p()(f.dropdownMenu,f.resolution),items:(u=c,u.map(e=>({value:e,content:""===e?(0,o.t)("Chart"):(0,A.getTranslatedResolutionModel)(e).hint}))),value:i,onChange:this._onChange, +disabled:n});var u}}const W=(0,h.bind)(F);var G=n(79946),j=n(87536);class H extends r.PureComponent{render(){return r.createElement(P.PropertyContext.Consumer,null,e=>e?this._getColorInputWithContext(e):null)}_getColorInputWithContext(e){var t;const{input:{id:n},disabled:o,hasTooltip:s}=this.props,{model:a,study:i}=e;if("properties"in i||"tempProperties"in i){const e="properties"in i?i.properties().inputs[n]:null===(t=i.tempProperties)||void 0===t?void 0:t.inputs.child(n);return r.createElement(j.StylePropertyContainer,{model:a,property:e},r.createElement(G.ColorWithThicknessSelect,{className:p()(s&&f.hasTooltip),color:e,disabled:o}))}return null}}class U extends r.PureComponent{render(){const{input:e,disabled:t,onChange:n,tzName:o,hasTooltip:s}=this.props;if((0,a.isStudyInputOptionsInfo)(e))return r.createElement(B,{input:e,disabled:t,onChange:n,hasTooltip:s});switch(e.type){case"integer":return r.createElement(i.IntegerInput,{input:e,disabled:t,onChange:n,hasTooltip:s});case"float":case"price":return r.createElement(l.FloatInput,{input:e,disabled:t,onChange:n,hasTooltip:s});case"bool":return r.createElement(c.BoolInput,{input:e,disabled:t,onChange:n,hasTooltip:s});case"text":return r.createElement(C,{input:e,disabled:t,onChange:n,hasTooltip:s});case"symbol":return r.createElement(y.SymbolInput,{input:e,disabled:t,onChange:n,hasTooltip:s});case"session":return r.createElement(w,{input:e,disabled:t,onChange:n,hasTooltip:s});case"source":return r.createElement(O,{input:e,disabled:t,onChange:n,hasTooltip:s});case"resolution":return r.createElement(W,{input:e,disabled:t,onChange:n,hasTooltip:s});case"time":return null;case"color":return r.createElement(H,{input:e,disabled:t,onChange:n,hasTooltip:s});default:return null}}}var K=n(65376);class X extends r.PureComponent{render(){const{label:e,children:t,input:n,disabled:a,onChange:i,labelAlign:l,grouped:c,tooltip:u,offset:p}=this.props;return r.createElement(b.PropertyTable.Row,null,r.createElement(b.PropertyTable.Cell,{placement:"first",verticalAlign:l,grouped:c,offset:p},void 0!==e?e:(0,o.t)((0,s.ensureDefined)(n).name,{context:"input"})),r.createElement(b.PropertyTable.Cell,{placement:"last",grouped:c},t||r.createElement(U,{input:(0,s.ensureDefined)(n),onChange:i,disabled:a,hasTooltip:Boolean(u)}),u&&r.createElement(K.InputTooltip,{title:u})))}}},22855:(e,t,n)=>{"use strict";n.d(t,{InputsTabContent:()=>V});var o=n(59496),r=n(28353),s=n(617),a=n(35868),i=n(54349),l=n(45631),c=n(88537),u=n(76110),p=n(46446),d=n(65376),h=n(6041);function m(e){const{children:t,input:n,disabled:m,onChange:f,grouped:g,tooltip:v}=e,C=(0,o.useContext)(s.PropertyContext),{values:y,setValue:b}=(0,c.ensureNotNull)(C),E=y[n.id],[S,N]=(0,o.useState)(E?"another-symbol":"main-symbol"),[_,w]=(0,o.useState)(E);return(0,o.useEffect)(()=>{E&&w(E)},[E]),o.createElement(i.SwitchGroup,{name:"symbol-source-"+n.id,values:[S],onChange:function(e){N(e),"main-symbol"===e?(0,p.setter)(b)("",n.id,n.name):"another-symbol"===e&&_&&(0,p.setter)(b,f)(_,n.id,n.name)} +},o.createElement(a.PropertyTable.Row,null,o.createElement(a.PropertyTable.Cell,{colSpan:2,placement:"first",grouped:g},o.createElement(l.RadioButton,{value:"main-symbol",className:h.checkbox,disabled:m,label:o.createElement("span",{className:h.label},(0,r.t)("Main chart symbol",{context:"input"}))}))),o.createElement(a.PropertyTable.Row,null,o.createElement(a.PropertyTable.Cell,{placement:"first",grouped:g},o.createElement(l.RadioButton,{value:"another-symbol",className:h.checkbox,disabled:m,label:o.createElement("span",{className:h.label},(0,r.t)("Another symbol",{context:"input"}))})),o.createElement(a.PropertyTable.Cell,{placement:"last",grouped:g},t||o.createElement(u.SymbolInput,{input:(0,c.ensureDefined)(n),onChange:f,disabled:m||"main-symbol"===S,hasTooltip:Boolean(v)}),v&&o.createElement(d.InputTooltip,{title:v}))))}var f=n(48100);class g extends o.PureComponent{render(){const{label:e,input:t,tooltip:n}=this.props;return o.createElement(a.PropertyTable.Row,null,o.createElement(a.PropertyTable.Cell,{placement:"first",colSpan:2},o.createElement(f.BoolInput,{label:e,input:t,hasTooltip:Boolean(n)}),n&&o.createElement(d.InputTooltip,{title:n})))}}var v=n(27547),C=n(97754),y=n.n(C),b=n(2568),E=n(67029),S=n(93379);class N extends o.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:r,onKeyDown:s}=this.props;return o.createElement(b.Textarea,{className:y()(h.input,h.textarea,E.InputClasses.FontSizeMedium),value:void 0===t?e:t,onChange:this._onChange,onBlur:r,onKeyDown:s,disabled:n})}}const _=(0,S.debounced)(N),w=(0,p.bind)(_);var x=n(300);function T(e){const{input:t,label:n,tooltip:r}=e;return o.createElement(a.PropertyTable.Row,null,o.createElement(a.PropertyTable.Cell,{placement:"first",colSpan:2,className:x.wrap},o.createElement("div",{className:x.labelWrap},o.createElement("span",{className:y()(x.label,r&&x.hasTooltip)},n),r&&o.createElement(d.InputTooltip,{title:r})),o.createElement(w,{input:t})))}function k(e){const{input:t,tooltip:n}=e;return"symbol"===t.type&&t.optional?o.createElement(m,{input:t,tooltip:n}):"bool"===t.type?o.createElement(g,{label:(0,r.t)(t.name,{context:"input"}),input:t,tooltip:n}):"text_area"===t.type?o.createElement(T,{label:(0,r.t)(t.name,{context:"input"}),input:t,tooltip:n}):o.createElement(v.InputRow,{labelAlign:function(e){switch(e){case"session":return"adaptive";case"time":return"topCenter";default:return}}(t.type),input:t,tooltip:n})}var P=n(86067),I=n(23128);function R(e){const{content:t}=e;let n;return o.createElement(a.PropertyTable.InlineRowContext.Provider,{value:!0},o.createElement("div",{className:I.inlineRow},t.children.map((e,r)=>(void 0!==e.tooltip&&(n=e.tooltip),o.createElement(k,{key:e.id,input:e,tooltip:r===t.children.length-1?n:void 0})))))}var B=n(95087),M=n(16300);function D(e){const{content:t}=e;return(0,B.isGroup)(t)?(0,B.isInputInlines)(t)?o.createElement(R,{content:t +}):o.createElement(o.Fragment,null,o.createElement("div",{className:M.titleWrap},o.createElement(P.GroupTitleSection,{title:(0,r.t)(t.id,{context:"input"}),name:t.id})),t.children.map(e=>(0,B.isGroup)(e)?o.createElement(R,{key:e.id,content:e}):o.createElement(k,{key:e.id,input:e,tooltip:e.tooltip})),o.createElement("div",{className:M.groupFooter})):o.createElement(k,{input:t,tooltip:t.tooltip})}const O={offset:(0,r.t)("Offset")};class V extends o.PureComponent{render(){const{reference:e,inputs:t,property:n,study:r,model:s,onStudyInputChange:i,className:l}=this.props,{offset:c,offsets:u}=n;return o.createElement(a.PropertyTable,{reference:e,className:l},o.createElement(A,{study:r,model:s,property:n.inputs,inputs:t,onStudyInputChange:i}),c&&this._createOffsetSection(c),u&&u.childNames().map(e=>{const t=u.childs()[e];return this._createOffsetSection(t)}))}_createOffsetSection(e){const t=e.childs();return o.createElement(A,{key:"offset_"+t.title.value(),study:this.props.study,model:this.props.model,inputs:[z(t)],property:e})}}function A(e){const{study:t,model:n,inputs:r,property:a,onStudyInputChange:i}=e,l=r,c=(0,o.useMemo)(()=>(0,B.getInputGroups)(l),[l]);return o.createElement(s.PropertyContainer,{property:a,study:t,model:n,onStudyInputChange:i},!1,c.map(e=>o.createElement(D,{key:e.id,content:e})))}function z(e){return{id:"val",name:e.title.value()||O.offset,defval:e.val.value(),type:"integer",min:e.min.value(),max:e.max.value()}}},48100:(e,t,n)=>{"use strict";n.d(t,{BoolInputComponent:()=>c,BoolInput:()=>u});var o=n(59496),r=n(15294),s=n(97754),a=n.n(s),i=n(46446),l=n(6041);class c extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{const{input:{id:e,name:t},value:n,onChange:o}=this.props;o(!n,e,t)}}render(){const{input:{defval:e},value:t,disabled:n,label:s,hasTooltip:i}=this.props,c=void 0===t?e:t;return o.createElement(r.Checkbox,{className:a()(l.checkbox,i&&l.hasTooltip),disabled:n,checked:c,onChange:this._onChange,label:o.createElement("span",{className:l.label},s),labelAlignBaseline:!0})}}const u=(0,i.bind)(c)},93379:(e,t,n)=>{"use strict";n.d(t,{debounced:()=>s});var o=n(59496);const r={blur:0,commit:0,change:1/0};function s(e,t=r){return class extends o.PureComponent{constructor(e){super(e),this._onChange=(e,n,o)=>{const r=t.change;r?(clearTimeout(this._timeout),this.setState({value:e},()=>{r!==1/0&&(this._timeout=setTimeout(()=>this._flush(),r))})):this._flush(e)},this._onBlur=()=>{this._debounce(t.blur);const{onBlur:e}=this.props;e&&e()},this._onKeyDown=e=>{13===e.keyCode&&this._debounce(t.commit)},this.state={prevValue:e.value,value:e.value}}componentWillUnmount(){this._flush()}render(){const{value:t}=this.state;return o.createElement(e,{...this.props,value:t,onChange:this._onChange,onBlur:this._onBlur,onKeyDown:this._onKeyDown})}static getDerivedStateFromProps(e,t){return e.value===t.prevValue?t:{prevValue:e.value,value:e.value}}_debounce(e){e?(clearTimeout(this._timeout),e!==1/0&&(this._timeout=setTimeout(()=>this._flush(),e))):this.setState(e=>{this._flush(e.value)})}_flush(e){ +const{input:{id:t,name:n},onChange:o}=this.props,{prevValue:r,value:s}=this.state;clearTimeout(this._timeout);const a=void 0!==e?e:s;void 0!==a&&a!==r&&o(a,t,n)}}}},48948:(e,t,n)=>{"use strict";n.d(t,{FloatInputComponent:()=>p,FloatInput:()=>d});var o=n(59496),r=n(97754),s=n.n(r),a=n(17571),i=n(46446),l=n(93379),c=n(6041);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(a.NumericInput,{...this.props,className:s()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,l.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,i.bind)(p)},26007:(e,t,n)=>{"use strict";n.d(t,{IntegerInputComponent:()=>p,IntegerInput:()=>d});var o=n(59496),r=n(97754),s=n.n(r),a=n(46446),i=n(93379),l=n(17571),c=n(6041);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(l.NumericInput,{...this.props,mode:"integer",className:s()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,i.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,a.bind)(p)},17571:(e,t,n)=>{"use strict";n.d(t,{NumericInput:()=>b});var o=n(59496),r=n(88537),s=n(28353),a=n(60521),i=n(49483),l=n(92399),c=n(35726),u=n(62820);var p=n(95505),d=n(64514);const h=(0,s.t)("Number format is invalid."),m=new class{constructor(e=" "){this._divider=e}format(e){const t=(0,c.splitThousands)(e,this._divider);return(0,u.isRtl)()?(0,u.startWithLTR)(t):t}parse(e){const t=(0,u.stripLTRMarks)(e).split(this._divider).join(""),n=Number(t);return isNaN(n)||/e/i.test(t)?{res:!1}:{res:!0,value:n,suggest:this.format(n)}}},f=/^-?[0-9]*$/,g=9e15;class v extends o.PureComponent{constructor(e){super(e),this._onFocus=e=>{this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus(e)},this._onBlur=e=>{this.setState({displayValue:C(this.props,this.props.value),focused:!1}),this.props.errorHandler&&this.props.errorHandler(!1),this.props.onBlur&&this.props.onBlur(e)},this._onValueChange=e=>{const t=e.target.value;if(void 0!==this.props.onEmptyString&&""===t&&this.props.onEmptyString(),"integer"===this.props.mode&&!f.test(t))return;const n=y(t,this.props.formatter),o=n.res?this._checkValueBoundaries(n.value):{isPassed:!1,msg:void 0},r=n.res&&!o.isPassed,s=n.res&&n.suggest&&!this.state.focused?n.suggest:t,a=r&&o.msg?o.msg:h;this.setState({displayValue:s,errorMsg:a}),n.res&&o.isPassed&&this.props.onValueChange(n.value,"input"),this.props.errorHandler&&this.props.errorHandler(!n.res||r)},this._onValueByStepChange=e=>{const{roundByStep:t=!0,step:n=1,uiStep:o,min:r=n,formatter:s}=this.props,i=y(this.state.displayValue,s),l=null!=o?o:n;let c=n;if(i.res){const o=new a.Big(i.value),s=o.minus(r).mod(n);let u=o.plus(e*l);!s.eq(0)&&t&&(u=u.plus((e>0?0:1)*l).minus(s)),c=u.toNumber()}const{isPassed:u,clampedValue:p}=this._checkValueBoundaries(c);c=u?c:p,this.setState({displayValue:C(this.props,c)}),this.props.onValueChange(c,"step"),this.props.errorHandler&&this.props.errorHandler(!1)};const{value:t}=e;this.state={value:t,displayValue:C(e,t),focused:!1,errorMsg:h}}render(){var e;return o.createElement(l.NumberInputView,{id:this.props.id, +inputMode:null!==(e=this.props.inputMode)&&void 0!==e?e:i.CheckMobile.iOS()?void 0:"numeric",borderStyle:this.props.borderStyle,fontSizeStyle:this.props.fontSizeStyle,value:this.state.displayValue,forceShowControls:this.props.forceShowControls,className:this.props.className,inputClassName:this.props.inputClassName,button:this.props.button,placeholder:this.props.placeholder,innerLabel:this.props.innerLabel,endSlot:this.props.endSlot,disabled:this.props.disabled,error:this.props.error,errorMessage:this.props.errorMessage||this.state.errorMsg,onValueChange:this._onValueChange,onValueByStepChange:this._onValueByStepChange,containerReference:this.props.containerReference,inputReference:this.props.inputReference,onClick:this.props.onClick,onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this.props.onKeyDown,controlDecKeyCodes:this.props.controlDecKeyCodes,controlIncKeyCodes:this.props.controlIncKeyCodes,title:this.props.title,intent:this.props.intent,highlight:this.props.highlight,highlightRemoveRoundBorder:this.props.highlightRemoveRoundBorder,stretch:this.props.stretch,autoSelectOnFocus:!i.CheckMobile.any()})}getClampedValue(){const{min:e=-1/0,max:t=g}=this.props,n=y(this.state.displayValue,this.props.formatter);return n.res?(0,d.clamp)(n.value,e,t):null}static getDerivedStateFromProps(e,t){const{alwaysUpdateValueFromProps:n,value:o}=e;return t.focused&&!n||t.value===o?null:{value:o,displayValue:C(e,o)}}_checkValueBoundaries(e){var t,n,o,r;const{min:a=-1/0,max:i=g}=this.props,l=function(e,t,n){const o=e>=t,r=e<=n;return{passMin:o,passMax:r,pass:o&&r,clamped:(0,d.clamp)(e,t,n)}}(e,a,i);let c;return l.passMax||(c=null!==(n=null===(t=this.props.boundariesErrorMessages)||void 0===t?void 0:t.greaterThanMax)&&void 0!==n?n:(0,s.t)("Specified value is more than the instrument maximum of {max}.",{replace:{max:String(i)}})),l.passMin||(c=null!==(r=null===(o=this.props.boundariesErrorMessages)||void 0===o?void 0:o.lessThanMin)&&void 0!==r?r:(0,s.t)("Specified value is less than the instrument minimum of {min}.",{replace:{min:String(a)}})),{isPassed:l.pass,msg:c,clampedValue:l.clamped}}}function C(e,t){const{useFormatter:n=!0,formatter:o,mode:r}=e;return n&&"integer"!==r?function(e,t=m){return null!==e?t.format(e):""}(t,o):function(e){if(null===e)return"";return p.NumericFormatter.formatNoE(e)}(t)}function y(e,t=m){return t.parse?t.parse(e):{res:!1,error:"Formatter does not support parse"}}class b extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._handleContainerRef=e=>this._container=e,this._onChange=(e,t)=>{const{input:{id:n,name:o},onChange:r,onBlur:s}=this.props;r(e,n,o),"step"===t&&s&&s()},this._onBlur=e=>{const{onBlur:t}=this.props;if(t){const n=(0,r.ensureNotNull)(this._container);n.contains(document.activeElement)||n.contains(e.relatedTarget)||t()}}}render(){const{input:{defval:e,min:t,max:n,step:r},value:s,disabled:a,onKeyDown:i,className:l,mode:c,stretch:u}=this.props;return o.createElement(v,{className:l,value:Number(void 0===s?e:s),min:t,max:n,step:r,mode:c,onBlur:this._onBlur, +onValueChange:this._onChange,onKeyDown:i,disabled:a,containerReference:this._handleContainerRef,fontSizeStyle:"medium",roundByStep:!1,stretch:u})}}},76110:(e,t,n)=>{"use strict";n.d(t,{getSymbolName:()=>c,SymbolInput:()=>u});var o=n(59496),r=n(88537),s=n(617),a=n(46446),i=n(72280),l=n(48897);function c(e,t){const n=(0,i.createAdapter)(t).resolvedSymbolInfoBySymbol(e);return n&&(n.ticker||n.full_name)?n.ticker||n.full_name:e}const u=(0,a.bind)((function(e){const t=(0,o.useContext)(s.PropertyContext),{study:n}=(0,r.ensureNotNull)(t),{input:{defval:a},value:i}=e;return o.createElement(l.SymbolInputsButton,{...e,value:c(i||a||"",n),study:n})}))},79946:(e,t,n)=>{"use strict";n.d(t,{ColorWithThicknessSelect:()=>g});var o=n(59496),r=n(24377),s=n(28353),a=n(24980),i=n(68906),l=n(87536),c=n(58593),u=n(463),p=n(51768);const d=new a.TranslatedString("change thickness",(0,s.t)("change thickness")),h=new a.TranslatedString("change color",(0,s.t)("change color")),m=new a.TranslatedString("change opacity",(0,s.t)("change opacity")),f=[1,2,3,4];class g extends o.PureComponent{constructor(){super(...arguments),this._trackEventLabel=null,this._getTransparencyValue=()=>{const{transparency:e}=this.props;return e?e.value():0},this._getOpacityValue=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);if(t)return(0,i.isHexColor)(t)?(0,i.transparencyToAlpha)(this._getTransparencyValue()):(0,r.parseRgba)(t)[3]},this._getColorValueInHex=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);return t?(0,i.isHexColor)(t)?t:(0,r.rgbToHexString)((0,r.parseRgb)(t)):null},this._onThicknessChange=e=>{const{thickness:t}=this.props;void 0!==t&&this._setProperty(t,e,d)},this._onColorChange=e=>{const{color:t,isPaletteColor:n}=this.props,o=(0,u.getPropertyValue)(t);let s=0;o&&(s=(0,i.isHexColor)(o)?this._getTransparencyValue():(0,i.alphaToTransparency)((0,r.parseRgba)(o)[3])),this._setProperty(t,(0,i.generateColor)(String(e),s,!0),h),this._trackEventLabel="Plot color > "+(n?"Palette":"Single")},this._onOpacityChange=e=>{const{color:t}=this.props,n=(0,u.getPropertyValue)(t);this._setProperty(t,(0,i.generateColor)(n,(0,i.alphaToTransparency)(e),!0),m)},this._onPopupClose=()=>{this._trackEventLabel&&((0,p.trackEvent)("GUI","Study settings",this._trackEventLabel),this._trackEventLabel=null)}}componentWillUnmount(){this._onPopupClose()}render(){const{selectOpacity:e=!0,disabled:t,className:n}=this.props;return o.createElement(c.ColorSelect,{className:n,disabled:t,color:this._getColorValueInHex(),selectOpacity:e,opacity:this._getOpacityValue(),thickness:this._getThicknessValue(),thicknessItems:f,onColorChange:this._onColorChange,onOpacityChange:this._onOpacityChange,onThicknessChange:this._onThicknessChange,onPopupClose:this._onPopupClose})}_getThicknessValue(){const{thickness:e}=this.props;return e?(0,u.getPropertyValue)(e):void 0}_setProperty(e,t,n){const{setValue:o}=this.context;(0,u.setPropertyValue)(e,e=>o(e,t,n))}}g.contextType=l.StylePropertyContext},35868:(e,t,n)=>{"use strict";n.d(t,{PropertyTable:()=>l}) +;var o=n(59496),r=n(97754),s=n(90186),a=n(46828);const i=o.createContext(!1);class l extends o.PureComponent{render(){return o.createElement("div",{ref:this.props.reference,className:r(a.content,this.props.className)},this.props.children)}}l.InlineRowContext=i,l.Row=function(e){const{children:t}=e;return(0,o.useContext)(i)?o.createElement("span",{className:a.inlineRow},t):o.createElement(o.Fragment,null,t)},l.Cell=function(e){const t=(0,o.useContext)(i),n=r(a.cell,e.offset&&a.offset,e.grouped&&a.grouped,t&&a.inlineCell,"top"===e.verticalAlign&&a.top,"topCenter"===e.verticalAlign&&a.topCenter,"adaptive"===e.verticalAlign&&a.adaptive,e.checkableTitle&&a.checkableTitle,2===e.colSpan&&a.fill,"first"===e.placement&&2!==e.colSpan&&a.first,"last"===e.placement&&2!==e.colSpan&&a.last),l=(0,s.filterDataProps)(e);return o.createElement("div",{...l,className:n},o.createElement("div",{className:r(a.inner,e.className)},e.children))},l.Separator=function(e){return o.createElement(l.Row,null,o.createElement("div",{className:r(a.cell,a.separator,a.fill)}))},l.GroupSeparator=function(e){const t=e.size||0;return o.createElement(l.Row,null,o.createElement("div",{className:r(a.cell,a.groupSeparator,a.fill,1===t&&a.big)}))}},463:(e,t,n)=>{"use strict";function o(e){return Array.isArray(e)?e[0].value():e.value()}function r(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)}n.d(t,{getPropertyValue:()=>o,setPropertyValue:()=>r})},50182:(e,t,n)=>{"use strict";n.d(t,{AdaptiveConfirmDialog:()=>d});var o=n(59496),r=n(97754),s=n.n(r),a=n(97737),i=n(88537),l=n(28353),c=n(68335),u=n(85457),p=n(91131);class d extends o.PureComponent{constructor(){super(...arguments),this._dialogRef=o.createRef(),this._handleClose=()=>{const{defaultActionOnClose:e,onSubmit:t,onCancel:n,onClose:o}=this.props;switch(e){case"submit":t();break;case"cancel":n()}o()},this._handleCancel=()=>{this.props.onCancel(),this.props.onClose()},this._handleKeyDown=e=>{const{onSubmit:t,submitButtonDisabled:n,submitOnEnterKey:o}=this.props;13===(0,c.hashFromEvent)(e)&&o&&(e.preventDefault(),n||t())}}render(){const{render:e,onClose:t,onSubmit:n,onCancel:r,footerLeftRenderer:s,submitButtonText:a,submitButtonDisabled:i,defaultActionOnClose:l,submitOnEnterKey:c,...p}=this.props;return o.createElement(u.AdaptivePopupDialog,{...p,ref:this._dialogRef,onKeyDown:this._handleKeyDown,render:this._renderChildren(),onClose:this._handleClose})}focus(){(0,i.ensureNotNull)(this._dialogRef.current).focus()}_renderChildren(){return e=>{const{render:t,footerLeftRenderer:n,additionalButtons:r,submitButtonText:i,submitButtonDisabled:c,onSubmit:u,cancelButtonText:d,showCancelButton:h=!0,submitButtonClassName:m,cancelButtonClassName:f,buttonsWrapperClassName:g}=this.props;return o.createElement(o.Fragment,null,t(e),o.createElement("div",{className:p.footer},n&&n(e.isSmallWidth),o.createElement("div",{className:s()(p.buttons,g)},r,h&&o.createElement(a.Button,{className:f,name:"cancel",appearance:"stroke",onClick:this._handleCancel},null!=d?d:(0,l.t)("Cancel")),o.createElement("span",{ +className:p.submitButton},o.createElement(a.Button,{className:m,disabled:c,name:"submit",onClick:u,"data-name":"submit-button"},null!=i?i:(0,l.t)("Ok"))))))}}}d.defaultProps={defaultActionOnClose:"submit",submitOnEnterKey:!0}},58593:(e,t,n)=>{"use strict";n.d(t,{ColorSelect:()=>w});var o=n(59496),r=n(97754),s=n.n(r),a=n(88537),i=n(68335),l=n(50628),c=n(29202),u=n(27797),p=n(64706);function d(e){const{button:t,children:n,className:r,onPopupClose:s,...d}=e,[h,m]=(0,o.useState)(!1),[f,g]=(0,o.useState)(!1),[v,C]=(0,c.useFocus)(),y=(0,o.useRef)(null);return o.createElement("div",{className:r},o.createElement("div",{tabIndex:e.disabled?void 0:-1,ref:y,onClick:b,onFocus:C.onFocus,onBlur:C.onBlur,onKeyDown:E},"function"==typeof t?t(f,v):t),o.createElement(l.PopupMenu,{isOpened:f,onClose:S,position:function(){const e=(0,a.ensureNotNull)(y.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height}},doNotCloseOn:y.current,onKeyDown:E},o.createElement(p.MenuContext.Consumer,null,e=>o.createElement(u.ColorPicker,{...d,onToggleCustom:m,menu:e})),!h&&n));function b(){e.disabled||(g(e=>!e),m(!1))}function E(e){switch((0,i.hashFromEvent)(e)){case 27:f&&(e.preventDefault(),S())}}function S(){b(),(0,a.ensureNotNull)(y.current).focus(),s&&s()}}var h=n(56512),m=n(68906),f=n(6914),g=n(28353),v=n(54349),C=n(74588);const y=(0,v.makeSwitchGroupItem)(class extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const{name:e,checked:t,value:n}=this.props,s=r(C.thicknessItem,{[C.checked]:t}),a=r(C.bar,{[C.checked]:t}),i={borderTopWidth:parseInt(n)};return o.createElement("div",{className:s},o.createElement("input",{type:"radio",className:C.radio,name:e,value:n,onChange:this._onChange,checked:t}),o.createElement("div",{className:a,style:i}," "))}});function b(e){const{name:t,values:n,selectedValues:r,onChange:s}=e,a=n.map((e,t)=>o.createElement(y,{key:t,value:e.toString()})),i=r.map(e=>e.toString());return o.createElement("div",{className:C.wrap},o.createElement(v.SwitchGroup,{name:t,onChange:e=>{s(parseInt(e))},values:i},a))}var E=n(83421);const S=(0,g.t)("Thickness");function N(e){const{value:t,items:n,onChange:r}=e;return o.createElement("div",{className:E.thicknessContainer},o.createElement("div",{className:E.thicknessTitle},S),o.createElement(b,{name:"color_picker_thickness_select",onChange:r,values:n,selectedValues:"mixed"===t?[]:[t]}))}var _=n(14348);function w(e){const{className:t,selectOpacity:n=void 0!==e.opacity,thickness:r,color:a,disabled:i,opacity:l=1,onColorChange:c,onOpacityChange:u,onThicknessChange:p,thicknessItems:m,onPopupClose:f}=e,[g,v,C]=(0,h.useCustomColors)();return o.createElement(d,{className:t,disabled:i,color:"mixed"!==a?a:null,selectOpacity:n,opacity:l,selectCustom:!0,customColors:g,onColorChange:c,onOpacityChange:a?u:void 0,onAddColor:v,onRemoveCustomColor:C,button:function(e,t){const n=e||t,c=n?"primary":"default";return o.createElement("div",{ +className:s()(_.colorPickerWrap,_["intent-"+c],_["border-thin"],_["size-medium"],n&&_.highlight,n&&_.focused,i&&_.disabled),"data-role":"button","data-name":r?"color-with-thickness-select":"color-select"},o.createElement("div",{className:s()(_.colorPicker,i&&_.disabled)},a&&"mixed"!==a?function(){const e=x(a,l),t=l>=.95&&T(a);return o.createElement("div",{className:_.opacitySwatch},o.createElement("div",{style:{backgroundColor:e},className:s()(_.swatch,t&&_.white)}))}():o.createElement("div",{className:_.placeholderContainer},o.createElement("div",{className:"mixed"===a?_.mixedColor:_.placeholder})),r&&function(){const e=a&&"mixed"!==a?x(a,l):void 0;if("mixed"===r)return o.createElement("div",{className:_.multiWidth},o.createElement("div",{style:{backgroundColor:e},className:_.line}),o.createElement("div",{style:{backgroundColor:e},className:_.line}),o.createElement("div",{style:{backgroundColor:e},className:_.line}));return o.createElement("span",{className:s()(_.colorLine,T(a)&&_.white),style:{height:r,backgroundColor:e}})}()),n&&o.createElement("span",{className:_.shadow}))},onPopupClose:f},r&&m&&o.createElement(N,{value:r,items:m,onChange:function(e){p&&p(e)}}))}function x(e,t){return e?(0,m.generateColor)(e,(0,m.alphaToTransparency)(t)):"#000000"}function T(e){return!!e&&e.toLowerCase()===f.white}},48897:(e,t,n)=>{"use strict";n.d(t,{SymbolInputsButton:()=>w});var o=n(59496),r=n(97754),s=n.n(r),a=n(28353),i=n(88537),l=n(50655),c=n(95711),u=n(67337),p=n(76110),d=n(89453),h=n(1861),m=n(9745),f=n(36826),g=n(55914);function v(e){const{value:t,onClick:n,className:s,startSlot:a,disabled:i=!1}=e;return o.createElement("div",{className:r(g.wrap,i&&g.disabled,s),onClick:n,"data-name":"edit-button"},o.createElement("div",{className:r(g.text,"apply-overflow-tooltip")},void 0!==a&&a,o.createElement("span",null,t)),o.createElement(m.Icon,{icon:f,className:g.icon}))}var C=n(31356),y=n(78260),b=n(7785),E=n(15983),S=n(82708),N=n(83998);function _(e){const{symbol:t,onSymbolChanged:n,disabled:r,className:i}=e,[p,m]=(0,o.useState)(t),f=(0,o.useContext)(l.SlotContext),g=(0,o.useContext)(c.PopupContext);return o.createElement(v,{value:p,onClick:function(){const e=function(e){const t=(0,b.tokenize)(e);return(0,E.isSpread)(t)}(p)?p:(0,S.safeShortName)(p),t=(0,d.getSymbolSearchCompleteOverrideFunction)();(0,h.showSymbolSearchItemsDialog)({onSearchComplete:e=>{t(e[0].symbol).then(e=>{n(e),m(e)})},dialogTitle:(0,a.t)("Change symbol"),defaultValue:e,manager:f,onClose:()=>{g&&g.focus()},showSpreadActions:u.enabled("show_spread_operators")&&u.enabled("studies_symbol_search_spread_operators")})},disabled:r,className:s()(i,u.enabled("uppercase_instrument_names")&&N.uppercase)})}function w(e){if("definition"in e){const{propType:t,properties:n,id:r,title:s=""}=e.definition,a=n[t],l=a.value()||"",c=e=>{a.setValue(e)};return o.createElement(C.CommonSection,{id:r,title:s},o.createElement(y.CellWrap,null,o.createElement(_,{symbol:(0,i.ensureDefined)(l),onSymbolChanged:c})))}{ +const{study:t,value:n,input:{id:r,name:a},onChange:l,disabled:c,hasTooltip:u}=e,d=e=>{const n=(0,p.getSymbolName)(e,t);l(n,r,a)};return o.createElement(_,{symbol:(0,i.ensureDefined)(n),onSymbolChanged:d,disabled:c,className:s()(u&&N.hasTooltip)})}}},72280:(e,t,n)=>{"use strict";n.d(t,{createAdapter:()=>s});var o=n(14291),r=n(81851);function s(e){if((0,o.isLineTool)(e))return{isPine:()=>!1,isStandardPine:()=>!1,canOverrideMinTick:()=>!1,resolvedSymbolInfoBySymbol:()=>{throw new TypeError("Only study is supported.")},symbolsResolved:()=>{throw new TypeError("Only study is supported.")},parentSource:()=>{throw new TypeError("Only study is supported.")},getAllChildren:()=>[],sourceId:()=>{throw new TypeError("Only study is supported.")}};if((0,r.isStudy)(e))return e;if("isInputsStudy"in e)return e;throw new TypeError("Unsupported source type.")}},45560:(e,t,n)=>{"use strict";n.d(t,{useDefinitionProperty:()=>s});var o=n(59496),r=n(71953);const s=e=>{const t="property"in e?e.property:void 0,n="defaultValue"in e?e.defaultValue:e.property.value(),[s,a]=(0,o.useState)(t?t.value():n);(0,o.useEffect)(()=>{if(t){const n={};return a(t.value()),t.subscribe(n,t=>{const n=t.value();e.handler&&e.handler(n),a(n)}),()=>t.unsubscribeAll(n)}return()=>{}},[t]);return[s,e=>{if(void 0!==t){const n=t.value();r.logger.logNormal(`Changing property value from "${n}" to "${e}"`),t.setValue(e)}}]}},78260:(e,t,n)=>{"use strict";n.d(t,{CellWrap:()=>i});var o=n(59496),r=n(97754),s=n.n(r),a=n(26527);function i(e){return o.createElement("div",{className:s()(a.wrap,e.className)},e.children)}},53424:(e,t,n)=>{"use strict";n.d(t,{CheckableTitle:()=>c});var o=n(59496),r=n(15294),s=n(45560);function a(e){const{property:t,...n}=e,[a,i]=(0,s.useDefinitionProperty)({property:t}),l="mixed"===a;return o.createElement(r.Checkbox,{...n,name:"toggle-enabled",checked:l||a,indeterminate:l,onChange:function(){i("mixed"===a||!a)}})}var i=n(78260),l=n(27345);function c(e){const{property:t,disabled:n,title:r,className:s,name:c}=e,u=o.createElement("span",{className:l.title},r);return o.createElement(i.CellWrap,{className:s},t?o.createElement(a,{name:c,className:l.checkbox,property:t,disabled:n,label:u,labelAlignBaseline:!0}):u)}},31356:(e,t,n)=>{"use strict";n.d(t,{CommonSection:()=>a});var o=n(59496),r=n(35868),s=n(53424);function a(e){const{id:t,offset:n,disabled:a,checked:i,title:l,children:c}=e;return o.createElement(r.PropertyTable.Row,null,o.createElement(r.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:n,"data-section-name":t,colSpan:Boolean(c)?void 0:2,checkableTitle:!0},o.createElement(s.CheckableTitle,{name:"is-enabled-"+t,title:l,disabled:a,property:i})),Boolean(c)&&o.createElement(r.PropertyTable.Cell,{placement:"last","data-section-name":t},c))}},86067:(e,t,n)=>{"use strict";n.d(t,{GroupTitleSection:()=>i});var o=n(59496),r=n(35868),s=n(53424),a=n(51842);function i(e){return o.createElement(r.PropertyTable.Row,null,o.createElement(r.PropertyTable.Cell,{className:a.titleWrap,placement:"first",verticalAlign:"adaptive",colSpan:2, +"data-section-name":e.name,checkableTitle:!0},o.createElement(s.CheckableTitle,{title:e.title,name:"is-enabled-"+e.name,className:a.title})))}},71953:(e,t,n)=>{"use strict";n.d(t,{logger:()=>o});const o=(0,n(98125).getLogger)("Platform.GUI.PropertyDefinitionTrace")},27365:(e,t,n)=>{"use strict";n.d(t,{getTimezoneName:()=>o});n(10480);function o(e){const t=e.model().timezone();if("exchange"!==t)return t;const n=e.model().mainSeries().symbolInfo();return null==n?void 0:n.timezone}},27797:(e,t,n)=>{"use strict";n.d(t,{ColorPicker:()=>B});var o=n(59496),r=n(97754),s=n.n(r),a=n(28353),i=n(24377),l=n(88537),c=n(49483),u=n(50628),p=n(16396);const d=o.createContext(void 0);var h=n(6914),m=n(78679),f=n(24590);function g(e){const{index:t,color:n,selected:s,onSelect:i}=e,[g,v]=(0,o.useState)(!1),C=(0,o.useContext)(d),y=(0,o.useRef)(null),b=Boolean(C)&&!c.CheckMobile.any();return o.createElement(o.Fragment,null,o.createElement("div",{ref:y,style:n?{color:n}:void 0,className:r(f.swatch,g&&f.hover,s&&f.selected,!n&&f.empty,String(n).toLowerCase()===h.white&&f.white),onClick:function(){i(n)},onContextMenu:b?E:void 0}),b&&o.createElement(u.PopupMenu,{isOpened:g,onClose:E,position:function(){const e=(0,l.ensureNotNull)(y.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height+4}},onClickOutside:E},o.createElement(p.PopupMenuItem,{className:f.contextItem,label:(0,a.t)("Remove color"),icon:m,onClick:function(){E(),(0,l.ensureDefined)(C)(t)},dontClosePopup:!0})));function E(){v(!g)}}class v extends o.PureComponent{constructor(){super(...arguments),this._onSelect=e=>{const{onSelect:t}=this.props;t&&t(e)}}render(){const{colors:e,color:t,children:n}=this.props;if(!e)return null;const r=t?(0,i.parseRgb)(String(t)):void 0;return o.createElement("div",{className:f.swatches},e.map((e,t)=>o.createElement(g,{key:String(e)+t,index:t,color:e,selected:r&&(0,i.areEqualRgb)(r,(0,i.parseRgb)(String(e))),onSelect:this._onSelect})),n)}}var C=n(54368),y=n(97737);function b(e){const t="Invalid RGB color: "+e;if(null===e)throw new Error(t);const n=e.match(/^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i);if(null===n)throw new Error(t);const[,o,r,s]=n;if(!o||!r||!s)throw new Error(t);const a=parseInt(o,16)/255,i=parseInt(r,16)/255,l=parseInt(s,16)/255,c=Math.max(a,i,l),u=Math.min(a,i,l);let p;const d=c,h=c-u,m=0===c?0:h/c;if(c===u)p=0;else{switch(c){case a:p=(i-l)/h+(i{this._container=e},this._handlePosition=e=>{const{hsv:{h:t},onChange:n}=this.props;if(!n)return;const o=(0,l.ensureNotNull)(this._container).getBoundingClientRect(),r=e.clientX-o.left,s=e.clientY-o.top;let a=r/o.width;a<0?a=0:a>1&&(a=1);let i=1-s/o.height;i<0?i=0:i>1&&(i=1),n({h:t,s:a,v:i})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{ +window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t,s:n,v:r}}=this.props,a=`hsl(${360*t}, 100%, 50%)`;return o.createElement("div",{className:s()(S.saturation,e),style:{backgroundColor:a},ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:S.pointer,style:{left:100*n+"%",top:100*(1-r)+"%"}}))}}var _=n(24429);class w extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=e=>{this._container=e},this._handlePosition=e=>{const{hsv:{s:t,v:n},onChange:o}=this.props;if(!o)return;const r=(0,l.ensureNotNull)(this._container).getBoundingClientRect();let s=(e.clientY-r.top)/r.height;s<0?s=0:s>1&&(s=1),o({h:s,s:t,v:n})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t}}=this.props;return o.createElement("div",{className:s()(_.hue,e)},o.createElement("div",{className:_.pointerContainer,ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:_.pointer,style:{top:100*t+"%"}})))}}var x=n(99565);const T=(0,a.t)("Add",{context:"Color Picker"});class k extends o.PureComponent{constructor(e){super(e),this._handleHSV=e=>{const t=function(e){const{h:t,s:n,v:o}=e;let r,s,a;const i=Math.floor(6*t),l=6*t-i,c=o*(1-n),u=o*(1-l*n),p=o*(1-(1-l)*n);switch(i%6){case 0:r=o,s=p,a=c;break;case 1:r=u,s=o,a=c;break;case 2:r=c,s=o,a=p;break;case 3:r=c,s=u,a=o;break;case 4:r=p,s=c,a=o;break;case 5:r=o,s=c,a=u;break;default:r=0,s=0,a=0}return"#"+[255*r,255*s,255*a].map(e=>("0"+Math.round(e).toString(16)).replace(/.+?([a-f0-9]{2})$/i,"$1")).join("")}(e)||"#000000";this.setState({color:t,inputColor:t.replace(/^#/,""),hsv:e}),this.props.onSelect(t)},this._handleInput=e=>{const t=e.currentTarget.value;try{const e=b(t),n="#"+t;this.setState({color:n,inputColor:t,hsv:e}),this.props.onSelect(n)}catch(e){this.setState({inputColor:t})}},this._handleAddColor=()=>this.props.onAdd(this.state.color);const t=e.color||"#000000";this.state={color:t,inputColor:t.replace(/^#/,""),hsv:b(t)}}render(){const{color:e,hsv:t,inputColor:n}=this.state;return o.createElement("div",{className:x.container},o.createElement("div",{className:x.form},o.createElement("div",{className:x.swatch,style:{backgroundColor:e}}),o.createElement("div",{className:x.inputWrap},o.createElement("span",{className:x.inputHash},"#"),o.createElement("input",{ +type:"text",className:x.input,value:n,onChange:this._handleInput})),o.createElement("div",{className:x.buttonWrap},o.createElement(y.Button,{size:"s",onClick:this._handleAddColor},T))),o.createElement("div",{className:x.hueSaturationWrap},o.createElement(N,{className:x.saturation,hsv:t,onChange:this._handleHSV}),o.createElement(w,{className:x.hue,hsv:t,onChange:this._handleHSV})))}}var P=n(10667);const I=(0,a.t)("Add custom color",{context:"Color Picker"}),R=(0,a.t)("Opacity",{context:"Color Picker"});class B extends o.PureComponent{constructor(e){super(e),this._handleAddColor=e=>{this.setState({isCustom:!1}),this._onToggleCustom(!1);const{onAddColor:t}=this.props;t&&t(e)},this._handleSelectColor=e=>{const{onColorChange:t}=this.props,{isCustom:n}=this.state;t&&t(e,n)},this._handleCustomClick=()=>{this.setState({isCustom:!0}),this._onToggleCustom(!0)},this._handleOpacity=e=>{const{onOpacityChange:t}=this.props;t&&t(e)},this.state={isCustom:!1}}componentDidUpdate(e,t){e.selectOpacity!==this.props.selectOpacity&&this.props.menu&&this.props.menu.update()}render(){const{color:e,opacity:t,selectCustom:n,selectOpacity:r,customColors:a,onRemoveCustomColor:i}=this.props,{isCustom:l}=this.state,c="number"==typeof t?t:1;return l?o.createElement(k,{color:e,onSelect:this._handleSelectColor,onAdd:this._handleAddColor}):o.createElement("div",{className:P.container},o.createElement(v,{colors:h.basic,color:e,onSelect:this._handleSelectColor}),o.createElement(v,{colors:h.extended,color:e,onSelect:this._handleSelectColor}),o.createElement("div",{className:P.separator}),o.createElement(d.Provider,{value:i},o.createElement(v,{colors:a,color:e,onSelect:this._handleSelectColor},n&&o.createElement("div",{className:s()(P.customButton,"apply-common-tooltip"),onClick:this._handleCustomClick,title:I}))),r&&o.createElement(o.Fragment,null,o.createElement("div",{className:P.sectionTitle},R),o.createElement(C.Opacity,{color:e,opacity:c,onChange:this._handleOpacity})))}_onToggleCustom(e){const{onToggleCustom:t}=this.props;t&&t(e)}}},54368:(e,t,n)=>{"use strict";n.d(t,{Opacity:()=>l});var o=n(59496),r=n(97754),s=n(88537),a=n(64514),i=n(15381);class l extends o.PureComponent{constructor(e){super(e),this._container=null,this._pointer=null,this._raf=null,this._refContainer=e=>{this._container=e},this._refPointer=e=>{this._pointer=e},this._handlePosition=e=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const t=(0,s.ensureNotNull)(this._container),n=(0,s.ensureNotNull)(this._pointer),o=t.getBoundingClientRect(),r=n.offsetWidth,i=e.clientX-r/2-o.left,l=(0,a.clamp)(i/(o.width-r),0,1);this.setState({inputOpacity:Math.round(100*l).toString()}),this.props.onChange(l),this._raf=null}))},this._onSliderClick=e=>{this._handlePosition(e.nativeEvent),this._dragSubscribe()},this._mouseUp=e=>{this.setState({isPointerDragged:!1}),this._dragUnsubscribe(),this._handlePosition(e)},this._mouseMove=e=>{this.setState({isPointerDragged:!0}),this._handlePosition(e)},this._onTouchStart=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouch=e=>{ +this.setState({isPointerDragged:!0}),this._handlePosition(e.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this.setState({isPointerDragged:!1})},this._handleInput=e=>{const t=e.currentTarget.value,n=Number(t)/100;this.setState({inputOpacity:t}),Number.isNaN(n)||n>1||this.props.onChange(n)},this.state={inputOpacity:Math.round(100*e.opacity).toString(),isPointerDragged:!1}}componentWillUnmount(){null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),this._dragUnsubscribe()}render(){const{color:e,opacity:t,hideInput:n}=this.props,{inputOpacity:s,isPointerDragged:a}=this.state,l={color:e||void 0};return o.createElement("div",{className:i.opacity},o.createElement("div",{className:i.opacitySlider,style:l,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},o.createElement("div",{className:i.opacitySliderGradient,style:{backgroundImage:`linear-gradient(90deg, transparent, ${e})`}}),o.createElement("div",{className:i.opacityPointerWrap},o.createElement("div",{className:r(i.pointer,a&&i.dragged),style:{left:100*t+"%"},ref:this._refPointer}))),!n&&o.createElement("div",{className:i.opacityInputWrap},o.createElement("input",{type:"text",className:i.opacityInput,value:s,onChange:this._handleInput}),o.createElement("span",{className:i.opacityInputPercent},"%")))}_dragSubscribe(){const e=(0,s.ensureNotNull)(this._container).ownerDocument;e&&(e.addEventListener("mouseup",this._mouseUp),e.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const e=(0,s.ensureNotNull)(this._container).ownerDocument;e&&(e.removeEventListener("mousemove",this._mouseMove),e.removeEventListener("mouseup",this._mouseUp))}}},6914:(e,t,n)=>{"use strict";n.d(t,{white:()=>r,basic:()=>i,extended:()=>c});var o=n(45112);const r=o.colorsPalette["color-white"],s=["ripe-red","tan-orange","banana-yellow","iguana-green","minty-green","sky-blue","tv-blue","deep-blue","grapes-purple","berry-pink"],a=[200,300,400,500,600,700,800,900].map(e=>"color-cold-gray-"+e);a.unshift("color-white"),a.push("color-black"),s.forEach(e=>{a.push(`color-${e}-500`)});const i=a.map(e=>o.colorsPalette[e]),l=[];[100,200,300,400,700,900].forEach(e=>{s.forEach(t=>{l.push(`color-${t}-${e}`)})});const c=l.map(e=>o.colorsPalette[e])},56512:(e,t,n)=>{"use strict";n.d(t,{useCustomColors:()=>l});var o=n(59496),r=n(56840),s=n(76422);function a(e,t){(0,o.useEffect)(()=>(s.subscribe(e,t,null),()=>{s.unsubscribe(e,t,null)}),[e,t])}var i=n(24377);function l(){const[e,t]=(0,o.useState)((0,r.getJSON)("pickerCustomColors",[]));a("add_new_custom_color",n=>t(c(n,e))),a("remove_custom_color",n=>t(u(n,e)));const n=(0,o.useCallback)(t=>{const n=t?(0,i.parseRgb)(t):null;e.some(e=>null!==e&&null!==n&&(0,i.areEqualRgb)((0,i.parseRgb)(e),n))||(s.emit("add_new_custom_color",t),(0,r.setJSON)("pickerCustomColors",c(t,e)))},[e]),l=(0,o.useCallback)(t=>{(t>=0||t29&&n.shift(),n}function u(e,t){return t.filter((t,n)=>e!==n)}},36565:(e,t,n)=>{"use strict";n.d(t,{TimeInput:()=>O});var o=n(49483),r=n(59496),s=n(97754),a=n.n(s),i=n(88537),l=n(47201),c=n(78274),u=n(31261),p=n(9745),d=n(24451),h=n(35692);function m(e){return r.createElement(p.Icon,{className:d.icon,icon:h})}var f=n(29202),g=n(88722);var v=n(58095),C=n(64514);const y={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};function b(e,t,n){const o=[],r=n;let s=0,a=0;const i=e.length,l=r.length;let c=-1,u=0;const p=[],d=i-1,h=[];let m;for(;s{const[n,o]=b(e,!1,t);c(n),g(o)},[t,e]),(0,r.useLayoutEffect)(()=>{const e=(0,i.ensureNotNull)(n.current);d&&(e.setSelectionRange(u,u),h(!1)),p(S(e))},[d]),[t,f,{onChange:function(){const t=(0,i.ensureNotNull)(n.current),o=t.value,[r,s]=b(e,!1,o);c(r),f.current=r;const a=g(s),d=function(e,t,n,o,r,s){if(e!==t){const a=t.length,i=e.length;let l=0,c=0,u=0,p=0,d=0;for(d=o;d=0&&r[d];d--)l++;for(d=o-1;d>=0;d--)r[d]&&u++;for(d=n-1;d>=0;d--)s[d]&&p++;if(o>i)o=10*a;else if(n>=o&&n!==i){if(s[o]){const e=o;o-=p-u,r[o-=l]&&(o=e)}}else o>n&&(o+=u-p,o+=c)}return o}(l,r,u,S(t),s,a);p(d),h(!0)},onSelect:function(){const e=(0,i.ensureNotNull)(n.current);p(S(e))},maxLength:o}];function g(e){const t=m.current;return m.current=e,t}}function S(e){return e.selectionStart||0}function N(e){const{value:t,mask:n,onChange:o,...s}=e,a=(0,r.useRef)(null),[i,l,c]=E(n,t,a);return(0,r.useLayoutEffect)(()=>{void 0!==e.reference&&(e.reference.current=a.current)},[e.reference]),r.createElement(u.InputControl,{...s,maxLength:c.maxLength,value:i,autoComplete:"off",reference:function(e){a.current=e},onChange:function(){c.onChange(),o(l.current)},onSelect:c.onSelect})}var _=n(68335),w=n(50628),x=n(16396),T=n(55257);const k=(()=>{const e=[];for(let t=0;t<24;++t)for(let n=0;n<60;n+=15){const[o,r]=[M(t.toString()),M(n.toString())],s=`${o}:${r}`,a=R(s)?s:B(s);e.push(a)}return e})();function P(e){let t=!1;const n=(0,r.useRef)(null),o=(0,r.useRef)(null),s=(0,r.useRef)(null),l=(0,r.useRef)(null),[u,p]=(0,f.useFocus)(),[d,h]=(0,r.useState)(e.value),g=I(d),y=R(g)?g:B(g),[b,E]=(0, +r.useState)(y),S=u||F().some(e=>null!==e&&e.contains(document.activeElement));(0,r.useLayoutEffect)(()=>h(e.value),[e.value]),(0,r.useLayoutEffect)(()=>E(y),[d,S]),(0,r.useEffect)(()=>W(b===y?"auto":"smooth"),[b]);const P=(0,T.lowerbound)(k,y,(e,t)=>eo&&r>t){const n=(0,C.clamp)(r,0,o),a=(0,C.clamp)(r,0,t);r=Math.max(n,a),s=n>a?e.top-n:e.bottom}else r>t&&(s=e.top-r);return{x:e.left,y:s,overrideWidth:e.width,overrideHeight:r}},closeOnClickOutside:!1,isOpened:S,tabIndex:-1,reference:s},M.map(e=>r.createElement(x.PopupMenuItem,{key:e,label:e,isActive:e===y,isHovered:e===b,reference:e===b?V:void 0,onClick:A,onClickArg:e}))));function O(n){const o=I(n),r=R(o)?o:B(o);h(r),t||(t=!0,e.onChange(r))}function V(e){l.current=e}function A(e){O((0,i.ensureDefined)(e)),(0,i.ensureNotNull)(s.current).blur()}function z(e){return u&&(null!==L(document.activeElement)||null!==L(e.relatedTarget))}function L(e){return e instanceof Node&&F().find(t=>null!==t&&t.contains(e))||null}function F(){return[s.current,o.current]}function W(e="auto"){if(null!==l.current){const t=(0,i.ensureNotNull)(s.current).getBoundingClientRect(),n=l.current.getBoundingClientRect();(t.top>n.top||t.bottom{d.current&&o&&(d.current.defaultValue=o)},[]),(0,r.useLayoutEffect)(()=>{d.current&&o&&(d.current.value=o)},[o]),r.createElement("div",{className:a()(g.wrap,s)},r.createElement(u.InputControl,{...p,type:"text",endSlot:r.createElement(c.EndSlot,{icon:!0},r.createElement(m,null)),value:o,highlight:h,intent:h?"primary":void 0,onFocus:function(e){(0,i.ensureNotNull)(d.current).focus(),n&&n(e)},onChange:function(){}}),r.createElement("input",{...v,disabled:e.disabled,className:g.input,type:"time",onBlur:C,onChange:function(e){const{value:n}=e.currentTarget;t&&n&&t(n)},ref:d}))}:P},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>i});var o=n(59496),r=n(59142),s=n(88537),a=n(49483);function i(e){const{reference:t,children:n,...s}=e,i=(0,o.useRef)(null),c=(0,o.useCallback)(e=>{t&&(t.current=e),a.CheckMobile.iOS()&&(null!==i.current&&(0,r.enableBodyScroll)(i.current),i.current=e,null!==i.current&&(0,r.disableBodyScroll)(i.current,{allowTouchMove:l(i)}))},[t]);return o.createElement("div",{ref:c,...s},n)}function l(e){return t=>{const n=(0,s.ensureNotNull)(e.current),o=document.activeElement;return!n.contains(t)||null!==o&&n.contains(o)&&o.contains(t)}}},36826:e=>{e.exports=''},60495:e=>{e.exports=''},35692:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/14a6b7583a58202c653c5ddbb6c9dca5.jpeg b/charting_library/bundles/14a6b7583a58202c653c5ddbb6c9dca5.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..4fdbe1138668bbf44ca4f1efd4e33178406db9e9 GIT binary patch literal 150188 zcmc$`2Ut|gvNpWPNLEpjBoP4>kR*~3Bp3*SfQW#SgP>%FIEsKs77&R84u~WXNs>h* zCr5Gy$vF&ZNPfLW_qor1&bjy8@A>xLf6oJ~TD_)2Rdv-{)xG%H_j3%QyRLjq86qHn zAOi4#ehxy<0QGMQ;jcpU`wtN@5fS(yAqItnl!SzYl$?x=oZ<)t71hyy^KEeJ|Du7P zU!bGpgh&dAh~Owhc$9$XD8bLKkOVwTBK!~ZyATi(lMs=@{r;+gd;X)2kcgOs0Ms4% zIRH@+5kQ1=M0B9;5JD33K@edCJ$*`mygx+LN)IVSKoB3q3;9Dxdb+=lWMX2BMiN5g z@|pw`1Q0I=7##@&DLh3|kZWpEkpof_0wW>>7xYMc9XWwK2auHNpI$}q8gv{1M1+)w zc|(W=S2SF4icgOEF+9a1LNSl z0$-S}lkmNLABBiw+{V0)`8;h*KVDS0ge_7|aY24W>z#0t*ieiWs8*`^XJq zK5|V+h!}8GUQ?dn3am4PPYIt!q(gL#{z5{$9AKD`raXKX$mFl5IO8Ip1Hl6Gf@c-r z30{!&{=A%5RJ9_~E`ssUBh$c0fav(ZaQ}9iAPyFx3DA3d|GdPc${cABy+1LZJTI~E zMPWWF3Ic-2=X?+e2N-DzT^d*i@@6I!@?fwe9K5hqNugt6d>R1(txyH)M;`j44J23$ zNML3Dga#sjM#~dG9DD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|Jm|S BZbAS6 literal 0 HcmV?d00001 diff --git a/charting_library/bundles/14f7aa04dc24cf83929c244ccad5273d.svg b/charting_library/bundles/14f7aa04dc24cf83929c244ccad5273d.svg new file mode 100644 index 00000000..00b47878 --- /dev/null +++ b/charting_library/bundles/14f7aa04dc24cf83929c244ccad5273d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1536.70b2854033fe86ff8887.js b/charting_library/bundles/1536.70b2854033fe86ff8887.js new file mode 100644 index 00000000..2d95cab9 --- /dev/null +++ b/charting_library/bundles/1536.70b2854033fe86ff8887.js @@ -0,0 +1,4 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1536],{12525:()=>{},41235:()=>{},4502:()=>{},42845:(t,s,e)=>{"use strict";e.d(s,{default:()=>h});var i=e(20497),o=(e(41235),e(23127)),n=e(13398);const a=e(98125).getLogger("Ui.TvControlCheckbox"),l={labelWrapper:'{{#hasLabel}}{{/hasLabel}}{{^hasLabel}}{{> inputWrapper }}{{/hasLabel}}',inputWrapper:'<{{ tag }} class="{{ customClass }}{{#disabled}} i-disabled{{/disabled}}">{{^hasCheckbox}}{{> checkbox }}{{/hasCheckbox}}{{> box }}{{> ripple }}',checkbox:'',checkboxClass:"{{ customClass }}__input",box:''+e(4135)+"",ripple:''};class d{constructor({customClass:t="tv-control-checkbox",$checkbox:s,tag:e,id:i,name:n,checked:l,disabled:d,labelLeft:h,labelRight:c,labelAddClass:r,boxAddClass:u}){this.$el=null,void 0===e&&(e=h||c?"span":"label");const p=s instanceof o&&!!s.length;if(p){if(!s.is("input[type=checkbox]"))return void a.logError("`$checkbox` need to be input[type=checkbox]");if(s.hasClass("i-inited"))return;this._setInputId(s,i),this._setInputClass(s,t),this._setInputName(s,n),this._setInputChecked(s,l),this._setInputDisabled(s,d),l=!!s.prop("checked"),d=!!s.attr("disabled")}this.$el=this.render({$checkbox:s,hasCheckbox:p,customClass:t,tag:e,id:i,name:n,checked:l,disabled:d,labelLeft:h,labelRight:c,hasLabel:h||c,labelAddClass:r,boxAddClass:u}),this.$checkbox=p?s:this.$el.find("input[type=checkbox]")}_setInputId(t,s){void 0!==s&&t.attr("id",s)}_setInputClass(t,s){const e=n.render(l.checkboxClass,{customClass:s});t.addClass(e)}_setInputName(t,s){void 0!==s&&t.attr("name",s)}_setInputChecked(t,s){void 0!==s&&t.prop("checked",!!s)}_setInputDisabled(t,s){void 0!==s&&(s?t.setAttribute("disabled","disabled"):t.removeAttr("disabled"))}render(t){const s=t.$checkbox,e=o(n.render(l.labelWrapper,t,l));if(t.hasCheckbox){e.insertBefore(s);e.find("."+t.customClass).andSelf().filter("."+t.customClass).eq(0).prepend(s.detach()),s.addClass("i-inited")}return e}set checked(t){this._setInputChecked(this.$checkbox,!!t)}get checked(){return!!this.$checkbox.prop("checked")}}o.fn.tvControlCheckbox=(0,i.createTvBlockWithInstance)("tv-control-checkbox",(function(t,s={}){return new d(TradingView.mergeObj(s,{$checkbox:t}))}));const h=d},51536:(t,s,e)=>{"use strict";e.d(s,{TVDialogAbstract:()=>m});var i=e(32563),o=e(68587),n=(e(78754),e(42845)),a=(e(4502),e(12525),e(52014), +e(85459)),l=e.n(a),d=e(88216),h=e(23127),c=e(13398),r=e(25977);let u,p=0,b=[];const g=h(document),f={closeOnEsc:!0,closeButton:!0,focusFirstControl:!0,closeOnOutsideClick:!0,closeButtonAddClass:"",focusClass:"i-focused",template:'
',errorTemplate:'
{{{ error }}}
',titleTemplate:'
{{{ title }}}
',contentWrapTemplate:'
',actionsWrapTemplate:'
',closeButtonTemplate:`
${e(49370)}
`,helpButtonTemplate:'',helpActionsMod:"tv-dialog__section--actions_with-help"},v={default:"tv-button tv-button--default",primary:"tv-button tv-button--primary",success:"tv-button tv-button--success",danger:"tv-button tv-button--danger",warning:"tv-button tv-button--warning",link:"tv-button tv-button--link",checkbox:"tv-control-checkbox tv-control-checkbox--in-actions","default-ghost":"tv-button tv-button--default_ghost","primary-ghost":"tv-button tv-button--primary_ghost","success-ghost":"tv-button tv-button--success_ghost","danger-ghost":"tv-button tv-button--danger_ghost","warning-ghost":"tv-button tv-button--warning_ghost"},_={_default:'
{{ text }}
',"submit-primary":'',"submit-success":''};class m extends(l()){constructor(t={}){if(super(),this.manager=t.manager||(0,d.getRootOverlapManager)(t.ownerDocument),this._id=p++,this.loadingActions=[],this.disabledActions=[],this.firstFocusControl=null,this.options={...f,...t},this.$el=h(c.render(this.options.template,{title:this.options.title,closeButton:this.options.closeButton})),this.$el.addClass("js-dialog"),this.el=this.$el[0],this.options.dataset)for(const[t,s]of Object.entries(this.options.dataset))"string"==typeof s&&this.el.setAttribute("data-"+t,s);for(this.options.addClass&&this.$el.addClass(this.options.addClass),this.options.width&&this.$el.css({width:"100%","max-width":this.options.width}),this.on("beforeOpen",()=>{this.$wrap=this.manager.ensureWindow(this._id)}),this.on("afterClose",()=>{this.$wrap=null,this.manager.unregisterWindow(this._id)}),this.options.title&&(this.$title=h(c.render(this.options.titleTemplate,{title:this.options.title})).appendTo(this.$el)),this.$content=h(this.options.contentWrapTemplate).appendTo(this.$el),this.$contentIn=this.$content;this.$contentIn.length;)this.$contentIn=this.$contentIn.children();if(this.$contentIn=this.$contentIn.end(), +this.options.content&&this.renderContent(this.options.content),(this.options.actions||this.options.help)&&(this.$content.hasClass("tv-dialog__section")&&this.$content.addClass("tv-dialog__section--no-padding_bottom"),this.$actions=h(this.options.actionsWrapTemplate).appendTo(this.$el)),this.options.actions){this.actions={},this.$el.on("click",".js-dialog__action-click",t=>{t.preventDefault(),this.actionDispatcher(h(t.currentTarget).data("name"))});for(let t=this.options.actions.length-1;t>=0;t--){const s=this.options.actions[t];if(s.type||(s.type="default"),s.class||(s.class=v[s.type]?v[s.type]:v.default),"checkbox"===s.type){const t=new n.default({labelRight:s.text,name:s.name,checked:s.checked});this.actions[s.name]=t.$el.appendTo(this.$actions),this.actions[s.name].on("change",()=>{setTimeout(()=>this.actionDispatcher(s.name,t.checked))})}else this.actions[s.name]=h(c.render(s.template?s.template:_[s.type]||_._default,s,s)).appendTo(this.$actions);if(s.method&&"function"==typeof this[s.method]&&this.on("action:"+s.name,this[s.method].bind(this)),s.addClass&&this.actions[s.name].addClass(s.addClass),s.key)if("string"==typeof s.key&&s.key.split("+").length>1){let t=[];const e=s.key.split("+"),i=s=>{t=[]},o=i=>{const o=""+i.keyCode;-1!==e.indexOf(o)&&t.indexOf(o)&&t.push(o),this._focused&&t.length===e.length&&(t=[],this.actionDispatcher(s.name))};this.on("afterOpen",()=>{g.on("keydown",o),g.on("keyup",i)}),this.on("beforeClose",()=>{g.off("keydown",o),g.off("keyup",i)})}else{const t=h.isArray(s.key)?s.key:[s.key],e=e=>{!e.isDefaultPrevented()&&this._focused&&-1!==t.indexOf(e.keyCode)&&this.actionDispatcher(s.name)};this.on("afterOpen",()=>g.on("keydown",e)),this.on("beforeClose",()=>g.off("keydown",e))}}}if(this.options.help&&h(c.render(this.options.helpButtonTemplate,this.options.help)).prependTo(this.$actions.addClass(this.options.helpActionsMod)),this.options.closeButton){const t=h(this.options.closeButtonTemplate);t.addClass(this.options.closeButtonAddClass||"");let s=this.$el;1===this.$el.find(".js-close-button-place").length&&(s=this.$el.find(".js-close-button-place")),t.appendTo(s)}this.setZIndex(110+b.length),t.errorMod&&(this.errorMod=t.errorMod),this.on("afterOpen",()=>{this.$el.focus(),this.options.focusFirstControl&&!i.mobiletouch&&(this.firstFocusControl||this.$el.find('input:not([type="hidden"]), textarea').first()).focus()}),this.$el.on("click",".js-dialog__close",this.close.bind(this)),this.$el.on("mousedown touchstart",this.focus.bind(this)),b.push(this)}renderContent(t){return this.$contentIn.html("function"==typeof t?t(this):t),this}setDestroyOnClose(t){this.options.destroyOnClose=t}setZIndex(t){return this.zIndex=t,this.trigger("change:zIndex",[this]),this}toTop(){for(let t=b.length-1;t>=0;t--)b[t].zIndex>this.zIndex&&b[t].setZIndex(b[t].zIndex-1);return this.setZIndex(110+b.length),this.manager.moveToTop(this._id),this._hotkeys&&this._hotkeys.promote(),this}isEventOut(t){if(this.options.isClickOutFn){const s=this.options.isClickOutFn(t);if(void 0!==s)return s}let s=!0;const e=h(t.target) +;return e.get(0)!==this.$el.get(0)&&(h(">*",this.$el).each((function(){e.get(0)===h(this).get(0)&&(s=!1),0===e.closest("HTML",h(this).get(0)).length&&(s=!1)})),s)}focus(){u&&u!==this&&u.unfocus(),this._setFocused(),this._focused=!0,this.$el.addClass(this.options.focusClass),this.trigger("focus",[this]),setTimeout(()=>{g.on("mousedown.tv-dialog-unfocus-"+this._id,t=>{this.isEventOut(t)&&(this.unfocus(),g.off("mousedown.tv-dialog-unfocus-"+this._id))})},20)}_setFocused(){u!==this&&(u=this)}_setUnfocused(){u===this&&(u=void 0)}unfocus(){u===this&&(this._setUnfocused(),this._focused=!1,this.$el.removeClass(this.options.focusClass).find(":focus").blur(),this.trigger("unfocus",[this]))}isFocused(){return this._focused}setTitle(t,s=!1){return this.$title.toggleClass("tv-dialog__section--one-line apply-overflow-tooltip",s),this.$title.html(t),this}setTitleText(t){this.$title.find(".js-title-text").text(t)}actionDispatcher(t,...s){this.disabledActions.includes(t)||this.loadingActions.includes(t)||this.trigger("action:"+t,[this,...s])}toggleAction(t,s){return s||this.disabledActions.includes(t)?s&&this.disabledActions.includes(t)&&(this.disabledActions=r.without(this.disabledActions,t)):this.disabledActions.push(t),this.actions[t].toggleClass("i-disabled",!s),this}actionLoader(t,s="init"){return this.actions[t].tvButtonLoader(s),"init"===s&&(this.actions[t].off("tv-button-loader:start.dialog-action").on("tv-button-loader:start.dialog-action",()=>{this.loadingActions.push(t)}),this.actions[t].off("tv-button-loader:stop.dialog-action").on("tv-button-loader:stop.dialog-action",()=>{this.loadingActions=r.without(this.loadingActions,t)})),this}error(t){const s=h(c.render(this.options.errorTemplate,{error:t,errorMod:this.errorMod})).appendTo(this.$el);return setTimeout(()=>s.removeClass("i-slided"),20),g.one("touchstart mousedown keydown",()=>{s.addClass("i-slided"),setTimeout(()=>s.remove(),.75*o.dur)}),this.trigger("error",[this,s]),this}destroy(){this.$wrap=null,this.manager.unregisterWindow(this._id),this._hotkeys&&this._hotkeys.destroy(),b=r.without(b,this);for(let t=0;t{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/1784.430d2965a945175c67b1.js b/charting_library/bundles/1550.69cf45361956d097fdfd.js similarity index 50% rename from charting_library/bundles/1784.430d2965a945175c67b1.js rename to charting_library/bundles/1550.69cf45361956d097fdfd.js index 296ae1bd..c9fefbbc 100644 --- a/charting_library/bundles/1784.430d2965a945175c67b1.js +++ b/charting_library/bundles/1550.69cf45361956d097fdfd.js @@ -1,13 +1,12 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1784],{59142:function(o,e){var l,i,n;i=[e],void 0===(n="function"==typeof(l=function(o){"use strict";function e(o){if(Array.isArray(o)){for(var e=0,l=Array(o.length);e{o.exports={button:"button-G7o5fBfa",hover:"hover-G7o5fBfa",bg:"bg-G7o5fBfa",icon:"icon-G7o5fBfa",isActive:"isActive-G7o5fBfa",isTransparent:"isTransparent-G7o5fBfa",isGrayed:"isGrayed-G7o5fBfa", -isHidden:"isHidden-G7o5fBfa"}},96746:o=>{o.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},16842:o=>{o.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},16534:(o,e,l)=>{"use strict";l.d(e,{ToolButton:()=>c});var i=l(59496),n=l(97754),a=l(9745),s=l(90186),t=l(97639);function c(o){const{id:e,activeClass:l,children:c,className:r,icon:d,isActive:T,isGrayed:L,isHidden:h,isTransparent:m,theme:v=t,onClick:z,title:g,buttonHotKey:w,tooltipPosition:u="vertical"}=o;return i.createElement("div",{id:e,className:n(v.button,r,T&&l,{"apply-common-tooltip":Boolean(g),"common-tooltip-vertical":Boolean(g)&&"vertical"===u,[v.isActive]:T,[v.isGrayed]:L,[v.isHidden]:h,[v.isTransparent]:m}),onClick:z,title:g,"data-role":"button","data-tooltip-hotkey":w,...(0,s.filterDataProps)(o)},i.createElement("div",{className:v.bg},d&&("string"==typeof d?i.createElement(a.Icon,{className:v.icon,icon:d}):i.createElement("span",{className:v.icon},d)),c))}},10458:(o,e,l)=>{"use strict";l.d(e,{drawingToolsIcons:()=>i});const i={SyncDrawing:l(69786),arrow:l(69725),cursor:l(52263),dot:l(71908),drawginmode:l(47970),drawginmodeActive:l(87518),eraser:l(94239),group:l(99042),hideAllDrawings:l(59266),hideAllDrawingsActive:l(48111),hideAllIndicators:l(77222),hideAllIndicatorsActive:l(39056),hideAllDrawingTools:l(28407),hideAllDrawingToolsActive:l(43969),hideAllPositionsTools:l(99186),hideAllPositionsToolsActive:l(18968),lockAllDrawings:l(56717),lockAllDrawingsActive:l(28358),magnet:l(32709),strongMagnet:l(76025),measure:l(47291),removeAllDrawingTools:l(78679),showObjectTree:l(17748),zoom:l(29469),"zoom-out":l(23794)}},92469:(o,e,l)=>{"use strict";l.d(e,{lineToolsInfo:()=>v});var i=l(28353),n=l(61814),a=(l(94419),l(45749)),s=l(10458),t=l(60870),c=l(68335);const r=(0,c.humanReadableModifiers)(c.Modifiers.Shift,!1),d=(0,c.humanReadableModifiers)(c.Modifiers.Alt,!1),T=(0,c.humanReadableModifiers)(c.Modifiers.Mod,!1),L={keys:[r],text:(0,i.t)("{hotKey_0} — drawing a straight line at angles of 45")},h={keys:[r],text:(0,i.t)("{hotKey_0} — circle")},m={keys:[r],text:(0,i.t)("{hotKey_0} — square")},v={LineTool5PointsPattern:{icon:a.lineToolsIcons.LineTool5PointsPattern,localizedName:t.lineToolsLocalizedNames.LineTool5PointsPattern},LineToolABCD:{icon:a.lineToolsIcons.LineToolABCD,localizedName:t.lineToolsLocalizedNames.LineToolABCD},LineToolArc:{icon:a.lineToolsIcons.LineToolArc,localizedName:t.lineToolsLocalizedNames.LineToolArc},LineToolArrow:{icon:a.lineToolsIcons.LineToolArrow,localizedName:t.lineToolsLocalizedNames.LineToolArrow},LineToolArrowMarkDown:{icon:a.lineToolsIcons.LineToolArrowMarkDown,localizedName:t.lineToolsLocalizedNames.LineToolArrowMarkDown},LineToolArrowMarkLeft:{icon:a.lineToolsIcons.LineToolArrowMarkLeft,localizedName:t.lineToolsLocalizedNames.LineToolArrowMarkLeft},LineToolArrowMarkRight:{icon:a.lineToolsIcons.LineToolArrowMarkRight, -localizedName:t.lineToolsLocalizedNames.LineToolArrowMarkRight},LineToolArrowMarkUp:{icon:a.lineToolsIcons.LineToolArrowMarkUp,localizedName:t.lineToolsLocalizedNames.LineToolArrowMarkUp},LineToolBalloon:{icon:a.lineToolsIcons.LineToolBalloon,localizedName:t.lineToolsLocalizedNames.LineToolBalloon},LineToolBarsPattern:{icon:a.lineToolsIcons.LineToolBarsPattern,localizedName:t.lineToolsLocalizedNames.LineToolBarsPattern},LineToolBezierCubic:{icon:a.lineToolsIcons.LineToolBezierCubic,localizedName:t.lineToolsLocalizedNames.LineToolBezierCubic},LineToolBezierQuadro:{icon:a.lineToolsIcons.LineToolBezierQuadro,localizedName:t.lineToolsLocalizedNames.LineToolBezierQuadro},LineToolBrush:{icon:a.lineToolsIcons.LineToolBrush,localizedName:t.lineToolsLocalizedNames.LineToolBrush},LineToolCallout:{icon:a.lineToolsIcons.LineToolCallout,localizedName:t.lineToolsLocalizedNames.LineToolCallout},LineToolCircleLines:{icon:a.lineToolsIcons.LineToolCircleLines,localizedName:t.lineToolsLocalizedNames.LineToolCircleLines},LineToolCypherPattern:{icon:a.lineToolsIcons.LineToolCypherPattern,localizedName:t.lineToolsLocalizedNames.LineToolCypherPattern},LineToolDateAndPriceRange:{icon:a.lineToolsIcons.LineToolDateAndPriceRange,localizedName:t.lineToolsLocalizedNames.LineToolDateAndPriceRange},LineToolDateRange:{icon:a.lineToolsIcons.LineToolDateRange,localizedName:t.lineToolsLocalizedNames.LineToolDateRange},LineToolDisjointAngle:{icon:a.lineToolsIcons.LineToolDisjointAngle,localizedName:t.lineToolsLocalizedNames.LineToolDisjointAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolElliottCorrection:{icon:a.lineToolsIcons.LineToolElliottCorrection,localizedName:t.lineToolsLocalizedNames.LineToolElliottCorrection},LineToolElliottDoubleCombo:{icon:a.lineToolsIcons.LineToolElliottDoubleCombo,localizedName:t.lineToolsLocalizedNames.LineToolElliottDoubleCombo},LineToolElliottImpulse:{icon:a.lineToolsIcons.LineToolElliottImpulse,localizedName:t.lineToolsLocalizedNames.LineToolElliottImpulse},LineToolElliottTriangle:{icon:a.lineToolsIcons.LineToolElliottTriangle,localizedName:t.lineToolsLocalizedNames.LineToolElliottTriangle},LineToolElliottTripleCombo:{icon:a.lineToolsIcons.LineToolElliottTripleCombo,localizedName:t.lineToolsLocalizedNames.LineToolElliottTripleCombo},LineToolEllipse:{icon:a.lineToolsIcons.LineToolEllipse,localizedName:t.lineToolsLocalizedNames.LineToolEllipse,hotKey:(0,n.hotKeySerialize)(h)},LineToolExtended:{icon:a.lineToolsIcons.LineToolExtended,localizedName:t.lineToolsLocalizedNames.LineToolExtended},LineToolFibChannel:{icon:a.lineToolsIcons.LineToolFibChannel,localizedName:t.lineToolsLocalizedNames.LineToolFibChannel},LineToolFibCircles:{icon:a.lineToolsIcons.LineToolFibCircles,localizedName:t.lineToolsLocalizedNames.LineToolFibCircles,hotKey:(0,n.hotKeySerialize)(h)},LineToolFibRetracement:{icon:a.lineToolsIcons.LineToolFibRetracement,localizedName:t.lineToolsLocalizedNames.LineToolFibRetracement},LineToolFibSpeedResistanceArcs:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceArcs, -localizedName:t.lineToolsLocalizedNames.LineToolFibSpeedResistanceArcs},LineToolFibSpeedResistanceFan:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceFan,localizedName:t.lineToolsLocalizedNames.LineToolFibSpeedResistanceFan,hotKey:(0,n.hotKeySerialize)(m)},LineToolFibSpiral:{icon:a.lineToolsIcons.LineToolFibSpiral,localizedName:t.lineToolsLocalizedNames.LineToolFibSpiral},LineToolFibTimeZone:{icon:a.lineToolsIcons.LineToolFibTimeZone,localizedName:t.lineToolsLocalizedNames.LineToolFibTimeZone},LineToolFibWedge:{icon:a.lineToolsIcons.LineToolFibWedge,localizedName:t.lineToolsLocalizedNames.LineToolFibWedge},LineToolFlagMark:{icon:a.lineToolsIcons.LineToolFlagMark,localizedName:t.lineToolsLocalizedNames.LineToolFlagMark},LineToolImage:{icon:a.lineToolsIcons.LineToolImage,localizedName:t.lineToolsLocalizedNames.LineToolImage},LineToolFlatBottom:{icon:a.lineToolsIcons.LineToolFlatBottom,localizedName:t.lineToolsLocalizedNames.LineToolFlatBottom,hotKey:(0,n.hotKeySerialize)(L)},LineToolAnchoredVWAP:{icon:a.lineToolsIcons.LineToolAnchoredVWAP,localizedName:t.lineToolsLocalizedNames.LineToolAnchoredVWAP},LineToolGannComplex:{icon:a.lineToolsIcons.LineToolGannComplex,localizedName:t.lineToolsLocalizedNames.LineToolGannComplex},LineToolGannFixed:{icon:a.lineToolsIcons.LineToolGannFixed,localizedName:t.lineToolsLocalizedNames.LineToolGannFixed},LineToolGannFan:{icon:a.lineToolsIcons.LineToolGannFan,localizedName:t.lineToolsLocalizedNames.LineToolGannFan},LineToolGannSquare:{icon:a.lineToolsIcons.LineToolGannSquare,localizedName:t.lineToolsLocalizedNames.LineToolGannSquare,hotKey:(0,n.hotKeySerialize)({keys:[r],text:(0,i.t)("{hotKey_0} — fixed increments")})},LineToolHeadAndShoulders:{icon:a.lineToolsIcons.LineToolHeadAndShoulders,localizedName:t.lineToolsLocalizedNames.LineToolHeadAndShoulders},LineToolHorzLine:{icon:a.lineToolsIcons.LineToolHorzLine,localizedName:t.lineToolsLocalizedNames.LineToolHorzLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"H"],text:"{0} + {1}"})},LineToolHorzRay:{icon:a.lineToolsIcons.LineToolHorzRay,localizedName:t.lineToolsLocalizedNames.LineToolHorzRay},LineToolIcon:{icon:a.lineToolsIcons.LineToolIcon,localizedName:t.lineToolsLocalizedNames.LineToolIcon},LineToolInsidePitchfork:{icon:a.lineToolsIcons.LineToolInsidePitchfork,localizedName:t.lineToolsLocalizedNames.LineToolInsidePitchfork},LineToolNote:{icon:a.lineToolsIcons.LineToolNote,localizedName:t.lineToolsLocalizedNames.LineToolNote},LineToolNoteAbsolute:{icon:a.lineToolsIcons.LineToolNoteAbsolute,localizedName:t.lineToolsLocalizedNames.LineToolNoteAbsolute},LineToolSignpost:{icon:a.lineToolsIcons.LineToolSignpost,localizedName:t.lineToolsLocalizedNames.LineToolSignpost},LineToolParallelChannel:{icon:a.lineToolsIcons.LineToolParallelChannel,localizedName:t.lineToolsLocalizedNames.LineToolParallelChannel,hotKey:(0,n.hotKeySerialize)(L)},LineToolPitchfan:{icon:a.lineToolsIcons.LineToolPitchfan,localizedName:t.lineToolsLocalizedNames.LineToolPitchfan},LineToolPitchfork:{icon:a.lineToolsIcons.LineToolPitchfork, -localizedName:t.lineToolsLocalizedNames.LineToolPitchfork},LineToolPolyline:{icon:a.lineToolsIcons.LineToolPolyline,localizedName:t.lineToolsLocalizedNames.LineToolPolyline},LineToolPath:{icon:a.lineToolsIcons.LineToolPath,localizedName:t.lineToolsLocalizedNames.LineToolPath},LineToolPrediction:{icon:a.lineToolsIcons.LineToolPrediction,localizedName:t.lineToolsLocalizedNames.LineToolPrediction},LineToolPriceLabel:{icon:a.lineToolsIcons.LineToolPriceLabel,localizedName:t.lineToolsLocalizedNames.LineToolPriceLabel},LineToolPriceNote:{icon:a.lineToolsIcons.LineToolPriceNote,localizedName:t.lineToolsLocalizedNames.LineToolPriceNote,hotKey:(0,n.hotKeySerialize)(L)},LineToolArrowMarker:{icon:a.lineToolsIcons.LineToolArrowMarker,localizedName:t.lineToolsLocalizedNames.LineToolArrowMarker},LineToolPriceRange:{icon:a.lineToolsIcons.LineToolPriceRange,localizedName:t.lineToolsLocalizedNames.LineToolPriceRange},LineToolProjection:{icon:a.lineToolsIcons.LineToolProjection,localizedName:t.lineToolsLocalizedNames.LineToolProjection},LineToolRay:{icon:a.lineToolsIcons.LineToolRay,localizedName:t.lineToolsLocalizedNames.LineToolRay},LineToolRectangle:{icon:a.lineToolsIcons.LineToolRectangle,localizedName:t.lineToolsLocalizedNames.LineToolRectangle,hotKey:(0,n.hotKeySerialize)({keys:[r],text:(0,i.t)("{hotKey_0} — square")})},LineToolCircle:{icon:a.lineToolsIcons.LineToolCircle,localizedName:t.lineToolsLocalizedNames.LineToolCircle},LineToolRegressionTrend:{icon:a.lineToolsIcons.LineToolRegressionTrend,localizedName:t.lineToolsLocalizedNames.LineToolRegressionTrend},LineToolRiskRewardLong:{icon:a.lineToolsIcons.LineToolRiskRewardLong,localizedName:t.lineToolsLocalizedNames.LineToolRiskRewardLong},LineToolRiskRewardShort:{icon:a.lineToolsIcons.LineToolRiskRewardShort,localizedName:t.lineToolsLocalizedNames.LineToolRiskRewardShort},LineToolFixedRangeVolumeProfile:{icon:a.lineToolsIcons.LineToolFixedRangeVolumeProfile,localizedName:t.lineToolsLocalizedNames.LineToolFixedRangeVolumeProfile},LineToolRotatedRectangle:{icon:a.lineToolsIcons.LineToolRotatedRectangle,localizedName:t.lineToolsLocalizedNames.LineToolRotatedRectangle,hotKey:(0,n.hotKeySerialize)(L)},LineToolSchiffPitchfork:{icon:a.lineToolsIcons.LineToolSchiffPitchfork,localizedName:t.lineToolsLocalizedNames.LineToolSchiffPitchfork},LineToolSchiffPitchfork2:{icon:a.lineToolsIcons.LineToolSchiffPitchfork2,localizedName:t.lineToolsLocalizedNames.LineToolSchiffPitchfork2},LineToolSineLine:{icon:a.lineToolsIcons.LineToolSineLine,localizedName:t.lineToolsLocalizedNames.LineToolSineLine},LineToolText:{icon:a.lineToolsIcons.LineToolText,localizedName:t.lineToolsLocalizedNames.LineToolText},LineToolTextAbsolute:{icon:a.lineToolsIcons.LineToolTextAbsolute,localizedName:t.lineToolsLocalizedNames.LineToolTextAbsolute},LineToolThreeDrivers:{icon:a.lineToolsIcons.LineToolThreeDrivers,localizedName:t.lineToolsLocalizedNames.LineToolThreeDrivers},LineToolTimeCycles:{icon:a.lineToolsIcons.LineToolTimeCycles,localizedName:t.lineToolsLocalizedNames.LineToolTimeCycles},LineToolTrendAngle:{ -icon:a.lineToolsIcons.LineToolTrendAngle,localizedName:t.lineToolsLocalizedNames.LineToolTrendAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolTrendBasedFibExtension:{icon:a.lineToolsIcons.LineToolTrendBasedFibExtension,localizedName:t.lineToolsLocalizedNames.LineToolTrendBasedFibExtension},LineToolTrendBasedFibTime:{icon:a.lineToolsIcons.LineToolTrendBasedFibTime,localizedName:t.lineToolsLocalizedNames.LineToolTrendBasedFibTime},LineToolTrendLine:{icon:a.lineToolsIcons.LineToolTrendLine,localizedName:t.lineToolsLocalizedNames.LineToolTrendLine,hotKey:(0,n.hotKeySerialize)(L)},LineToolInfoLine:{icon:a.lineToolsIcons.LineToolInfoLine,localizedName:t.lineToolsLocalizedNames.LineToolInfoLine},LineToolTriangle:{icon:a.lineToolsIcons.LineToolTriangle,localizedName:t.lineToolsLocalizedNames.LineToolTriangle},LineToolTrianglePattern:{icon:a.lineToolsIcons.LineToolTrianglePattern,localizedName:t.lineToolsLocalizedNames.LineToolTrianglePattern},LineToolVertLine:{icon:a.lineToolsIcons.LineToolVertLine,localizedName:t.lineToolsLocalizedNames.LineToolVertLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"V"],text:"{0} + {1}"})},LineToolCrossLine:{icon:a.lineToolsIcons.LineToolCrossLine,localizedName:t.lineToolsLocalizedNames.LineToolCrossLine},LineToolHighlighter:{icon:a.lineToolsIcons.LineToolHighlighter,localizedName:t.lineToolsLocalizedNames.LineToolHighlighter},SyncDrawing:{icon:s.drawingToolsIcons.SyncDrawing,iconActive:s.drawingToolsIcons.SyncDrawingActive,localizedName:(0,i.t)("New drawings are replicated to all charts in the layout and shown when the same ticker is selected")},arrow:{icon:s.drawingToolsIcons.arrow,localizedName:(0,i.t)("Arrow")},cursor:{icon:s.drawingToolsIcons.cursor,localizedName:(0,i.t)("Cross")},dot:{icon:s.drawingToolsIcons.dot,localizedName:(0,i.t)("Dot")},drawginmode:{icon:s.drawingToolsIcons.drawginmode,iconActive:s.drawingToolsIcons.drawginmodeActive,localizedName:(0,i.t)("Stay in Drawing Mode")},eraser:{icon:s.drawingToolsIcons.eraser,localizedName:(0,i.t)("Eraser")},group:{icon:s.drawingToolsIcons.group,localizedName:(0,i.t)("Show Hidden Tools")},hideAllDrawings:{icon:s.drawingToolsIcons.hideAllDrawings,iconActive:s.drawingToolsIcons.hideAllDrawingsActive,localizedName:(0,i.t)("Hide All Drawing Tools"),hotKey:(0,n.hotKeySerialize)({keys:[T,d,"H"],text:"{0} + {1} + {2}"})},lockAllDrawings:{icon:s.drawingToolsIcons.lockAllDrawings,iconActive:s.drawingToolsIcons.lockAllDrawingsActive,localizedName:(0,i.t)("Lock All Drawing Tools")},magnet:{icon:s.drawingToolsIcons.magnet,localizedName:(0,i.t)("Magnet Mode snaps drawings placed near price bars to the closest OHLC value"),hotKey:(0,n.hotKeySerialize)({keys:[T],text:"{0}"})},measure:{icon:s.drawingToolsIcons.measure,localizedName:(0,i.t)("Measure"),hotKey:(0,n.hotKeySerialize)({keys:[r],text:(0,i.t)("{hotKey_0} + Click on the chart")})},removeAllDrawingTools:{icon:s.drawingToolsIcons.removeAllDrawingTools,localizedName:(0,i.t)("Remove Drawings")},showObjectsTree:{icon:s.drawingToolsIcons.showObjectTree,localizedName:(0,i.t)("Show Object Tree")},zoom:{ -icon:s.drawingToolsIcons.zoom,localizedName:(0,i.t)("Zoom In")},"zoom-out":{icon:s.drawingToolsIcons["zoom-out"],localizedName:(0,i.t)("Zoom Out")}};v.LineToolGhostFeed={icon:a.lineToolsIcons.LineToolGhostFeed,localizedName:t.lineToolsLocalizedNames.LineToolGhostFeed}},89377:(o,e,l)=>{"use strict";l.d(e,{LinetoolsFavoritesStore:()=>n});var i,n,a=l(2872),s=l.n(a),t=l(56840);!function(o){function e(){o.favorites=[];(0,t.getJSON)("chart.favoriteDrawings",[]).forEach(e=>{l(e.tool||e)&&o.favorites.push(e.tool||e)}),o.favoritesSynced.fire()}function l(o){return"string"==typeof o&&""!==o}o.favorites=[],o.favoritesSynced=new(s()),o.favoriteIndex=function(e){return o.favorites.indexOf(e)},o.isValidLineToolName=l,o.saveFavorites=function(e){(0,t.setJSON)("chart.favoriteDrawings",o.favorites,e)},e(),t.onSync.subscribe(null,e)}(i||(i={})),function(o){function e(o){return i.isValidLineToolName(o)}function l(){return i.favorites.length}function n(o){return-1!==i.favoriteIndex(o)}o.favoriteAdded=new(s()),o.favoriteRemoved=new(s()),o.favoriteMoved=new(s()),o.favoritesSynced=i.favoritesSynced,o.favorites=function(){return i.favorites.slice()},o.isValidLineToolName=e,o.favoritesCount=l,o.favorite=function(o){return o<0||o>=l()?"":i.favorites[o]},o.addFavorite=function(l,a){return!(n(l)||!e(l))&&(i.favorites.push(l),i.saveFavorites(a),o.favoriteAdded.fire(l),!0)},o.removeFavorite=function(e,l){const n=i.favoriteIndex(e);return-1!==n&&(i.favorites.splice(n,1),i.saveFavorites(l),o.favoriteRemoved.fire(e),!0)},o.isFavorite=n,o.moveFavorite=function(n,a,s){if(a<0||a>=l()||!e(n))return!1;const t=i.favoriteIndex(n);return-1!==t&&a!==t&&(i.favorites.splice(t,1),i.favorites.splice(a,0,n),i.saveFavorites(s),o.favoriteMoved.fire(n,t,a),!0)}}(n||(n={}))},24437:(o,e,l)=>{"use strict";l.d(e,{DialogBreakpoints:()=>n});var i=l(96746);const n={SmallHeight:i["small-height-breakpoint"],TabletSmall:i["tablet-small-breakpoint"],TabletNormal:i["tablet-normal-breakpoint"]}},36189:(o,e,l)=>{"use strict";l.d(e,{FavoriteButton:()=>T});var i=l(28353),n=l(59496),a=l(97754),s=l(9745),t=l(20614),c=l(55783),r=l(16842);const d={add:(0,i.t)("Add to favorites"),remove:(0,i.t)("Remove from favorites")};function T(o){const{className:e,isFilled:l,isActive:i,onClick:T,...L}=o;return n.createElement(s.Icon,{...L,className:a(r.favorite,"apply-common-tooltip",l&&r.checked,i&&r.active,e),icon:l?t:c,onClick:T,title:l?d.remove:d.add})}},40173:(o,e,l)=>{"use strict";function i(o,e,l={}){const i=Object.assign({},e);for(const n of Object.keys(e)){const a=l[n]||n;a in o&&(i[n]=[o[a],e[n]].join(" "))}return i}function n(o,e,l={}){return Object.assign({},o,i(o,e,l))}l.d(e,{weakComposeClasses:()=>i,mergeThemes:()=>n})},99042:o=>{ -o.exports=''},69725:o=>{o.exports=''},52263:o=>{o.exports=''},71908:o=>{o.exports=''},87518:o=>{o.exports=''},47970:o=>{o.exports=''},94239:o=>{ -o.exports=''},32709:o=>{o.exports=''},47291:o=>{o.exports=''},17748:o=>{o.exports=''},76025:o=>{o.exports=''},69786:o=>{o.exports=''},43969:o=>{ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1550],{97639:o=>{o.exports={button:"button-G7o5fBfa",hover:"hover-G7o5fBfa",bg:"bg-G7o5fBfa",icon:"icon-G7o5fBfa",isActive:"isActive-G7o5fBfa",isTransparent:"isTransparent-G7o5fBfa",isGrayed:"isGrayed-G7o5fBfa",isHidden:"isHidden-G7o5fBfa"}},16534:(o,e,l)=>{"use strict";l.d(e,{ToolButton:()=>t});var i=l(59496),n=l(97754),a=l(9745),s=l(90186),c=l(97639);function t(o){const{id:e,activeClass:l,children:t,className:r,icon:T,isActive:d,isGrayed:L,isHidden:h,isTransparent:z,theme:m=c,onClick:v,title:g,buttonHotKey:w,tooltipPosition:N="vertical"}=o;return i.createElement("div",{id:e,className:n(m.button,r,d&&l,{"apply-common-tooltip":Boolean(g),"common-tooltip-vertical":Boolean(g)&&"vertical"===N,[m.isActive]:d,[m.isGrayed]:L,[m.isHidden]:h,[m.isTransparent]:z}),onClick:v,title:g,"data-role":"button","data-tooltip-hotkey":w,...(0,s.filterDataProps)(o)},i.createElement("div",{className:m.bg},T&&("string"==typeof T?i.createElement(a.Icon,{className:m.icon,icon:T}):i.createElement("span",{className:m.icon},T)),t))}},10458:(o,e,l)=>{"use strict";l.d(e,{drawingToolsIcons:()=>i});const i={SyncDrawing:l(69786),arrow:l(69725),cursor:l(52263),dot:l(71908),drawginmode:l(47970),drawginmodeActive:l(87518),eraser:l(94239),group:l(99042),hideAllDrawings:l(59266),hideAllDrawingsActive:l(48111),hideAllIndicators:l(77222),hideAllIndicatorsActive:l(39056),hideAllDrawingTools:l(28407),hideAllDrawingToolsActive:l(43969),hideAllPositionsTools:l(99186),hideAllPositionsToolsActive:l(18968),lockAllDrawings:l(56717),lockAllDrawingsActive:l(28358),magnet:l(32709),strongMagnet:l(76025),measure:l(47291),removeAllDrawingTools:l(78679),showObjectTree:l(17748),zoom:l(29469),"zoom-out":l(23794)}},92469:(o,e,l)=>{"use strict";l.d(e,{lineToolsInfo:()=>m});var i=l(28353),n=l(61814),a=(l(94419),l(45749)),s=l(10458),c=l(60870),t=l(68335);const r=(0,t.humanReadableModifiers)(t.Modifiers.Shift,!1),T=(0,t.humanReadableModifiers)(t.Modifiers.Alt,!1),d=(0,t.humanReadableModifiers)(t.Modifiers.Mod,!1),L={keys:[r],text:(0,i.t)("{hotKey_0} — drawing a straight line at angles of 45")},h={keys:[r],text:(0,i.t)("{hotKey_0} — circle")},z={keys:[r],text:(0,i.t)("{hotKey_0} — square")},m={LineTool5PointsPattern:{icon:a.lineToolsIcons.LineTool5PointsPattern,localizedName:c.lineToolsLocalizedNames.LineTool5PointsPattern},LineToolABCD:{icon:a.lineToolsIcons.LineToolABCD,localizedName:c.lineToolsLocalizedNames.LineToolABCD},LineToolArc:{icon:a.lineToolsIcons.LineToolArc,localizedName:c.lineToolsLocalizedNames.LineToolArc},LineToolArrow:{icon:a.lineToolsIcons.LineToolArrow,localizedName:c.lineToolsLocalizedNames.LineToolArrow},LineToolArrowMarkDown:{icon:a.lineToolsIcons.LineToolArrowMarkDown,localizedName:c.lineToolsLocalizedNames.LineToolArrowMarkDown},LineToolArrowMarkLeft:{icon:a.lineToolsIcons.LineToolArrowMarkLeft,localizedName:c.lineToolsLocalizedNames.LineToolArrowMarkLeft},LineToolArrowMarkRight:{icon:a.lineToolsIcons.LineToolArrowMarkRight, +localizedName:c.lineToolsLocalizedNames.LineToolArrowMarkRight},LineToolArrowMarkUp:{icon:a.lineToolsIcons.LineToolArrowMarkUp,localizedName:c.lineToolsLocalizedNames.LineToolArrowMarkUp},LineToolBalloon:{icon:a.lineToolsIcons.LineToolBalloon,localizedName:c.lineToolsLocalizedNames.LineToolBalloon},LineToolBarsPattern:{icon:a.lineToolsIcons.LineToolBarsPattern,localizedName:c.lineToolsLocalizedNames.LineToolBarsPattern},LineToolBezierCubic:{icon:a.lineToolsIcons.LineToolBezierCubic,localizedName:c.lineToolsLocalizedNames.LineToolBezierCubic},LineToolBezierQuadro:{icon:a.lineToolsIcons.LineToolBezierQuadro,localizedName:c.lineToolsLocalizedNames.LineToolBezierQuadro},LineToolBrush:{icon:a.lineToolsIcons.LineToolBrush,localizedName:c.lineToolsLocalizedNames.LineToolBrush},LineToolCallout:{icon:a.lineToolsIcons.LineToolCallout,localizedName:c.lineToolsLocalizedNames.LineToolCallout},LineToolCircleLines:{icon:a.lineToolsIcons.LineToolCircleLines,localizedName:c.lineToolsLocalizedNames.LineToolCircleLines},LineToolCypherPattern:{icon:a.lineToolsIcons.LineToolCypherPattern,localizedName:c.lineToolsLocalizedNames.LineToolCypherPattern},LineToolDateAndPriceRange:{icon:a.lineToolsIcons.LineToolDateAndPriceRange,localizedName:c.lineToolsLocalizedNames.LineToolDateAndPriceRange},LineToolDateRange:{icon:a.lineToolsIcons.LineToolDateRange,localizedName:c.lineToolsLocalizedNames.LineToolDateRange},LineToolDisjointAngle:{icon:a.lineToolsIcons.LineToolDisjointAngle,localizedName:c.lineToolsLocalizedNames.LineToolDisjointAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolElliottCorrection:{icon:a.lineToolsIcons.LineToolElliottCorrection,localizedName:c.lineToolsLocalizedNames.LineToolElliottCorrection},LineToolElliottDoubleCombo:{icon:a.lineToolsIcons.LineToolElliottDoubleCombo,localizedName:c.lineToolsLocalizedNames.LineToolElliottDoubleCombo},LineToolElliottImpulse:{icon:a.lineToolsIcons.LineToolElliottImpulse,localizedName:c.lineToolsLocalizedNames.LineToolElliottImpulse},LineToolElliottTriangle:{icon:a.lineToolsIcons.LineToolElliottTriangle,localizedName:c.lineToolsLocalizedNames.LineToolElliottTriangle},LineToolElliottTripleCombo:{icon:a.lineToolsIcons.LineToolElliottTripleCombo,localizedName:c.lineToolsLocalizedNames.LineToolElliottTripleCombo},LineToolEllipse:{icon:a.lineToolsIcons.LineToolEllipse,localizedName:c.lineToolsLocalizedNames.LineToolEllipse,hotKey:(0,n.hotKeySerialize)(h)},LineToolExtended:{icon:a.lineToolsIcons.LineToolExtended,localizedName:c.lineToolsLocalizedNames.LineToolExtended},LineToolFibChannel:{icon:a.lineToolsIcons.LineToolFibChannel,localizedName:c.lineToolsLocalizedNames.LineToolFibChannel},LineToolFibCircles:{icon:a.lineToolsIcons.LineToolFibCircles,localizedName:c.lineToolsLocalizedNames.LineToolFibCircles,hotKey:(0,n.hotKeySerialize)(h)},LineToolFibRetracement:{icon:a.lineToolsIcons.LineToolFibRetracement,localizedName:c.lineToolsLocalizedNames.LineToolFibRetracement},LineToolFibSpeedResistanceArcs:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceArcs, +localizedName:c.lineToolsLocalizedNames.LineToolFibSpeedResistanceArcs},LineToolFibSpeedResistanceFan:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceFan,localizedName:c.lineToolsLocalizedNames.LineToolFibSpeedResistanceFan,hotKey:(0,n.hotKeySerialize)(z)},LineToolFibSpiral:{icon:a.lineToolsIcons.LineToolFibSpiral,localizedName:c.lineToolsLocalizedNames.LineToolFibSpiral},LineToolFibTimeZone:{icon:a.lineToolsIcons.LineToolFibTimeZone,localizedName:c.lineToolsLocalizedNames.LineToolFibTimeZone},LineToolFibWedge:{icon:a.lineToolsIcons.LineToolFibWedge,localizedName:c.lineToolsLocalizedNames.LineToolFibWedge},LineToolFlagMark:{icon:a.lineToolsIcons.LineToolFlagMark,localizedName:c.lineToolsLocalizedNames.LineToolFlagMark},LineToolImage:{icon:a.lineToolsIcons.LineToolImage,localizedName:c.lineToolsLocalizedNames.LineToolImage},LineToolFlatBottom:{icon:a.lineToolsIcons.LineToolFlatBottom,localizedName:c.lineToolsLocalizedNames.LineToolFlatBottom,hotKey:(0,n.hotKeySerialize)(L)},LineToolAnchoredVWAP:{icon:a.lineToolsIcons.LineToolAnchoredVWAP,localizedName:c.lineToolsLocalizedNames.LineToolAnchoredVWAP},LineToolGannComplex:{icon:a.lineToolsIcons.LineToolGannComplex,localizedName:c.lineToolsLocalizedNames.LineToolGannComplex},LineToolGannFixed:{icon:a.lineToolsIcons.LineToolGannFixed,localizedName:c.lineToolsLocalizedNames.LineToolGannFixed},LineToolGannFan:{icon:a.lineToolsIcons.LineToolGannFan,localizedName:c.lineToolsLocalizedNames.LineToolGannFan},LineToolGannSquare:{icon:a.lineToolsIcons.LineToolGannSquare,localizedName:c.lineToolsLocalizedNames.LineToolGannSquare,hotKey:(0,n.hotKeySerialize)({keys:[r],text:(0,i.t)("{hotKey_0} — fixed increments")})},LineToolHeadAndShoulders:{icon:a.lineToolsIcons.LineToolHeadAndShoulders,localizedName:c.lineToolsLocalizedNames.LineToolHeadAndShoulders},LineToolHorzLine:{icon:a.lineToolsIcons.LineToolHorzLine,localizedName:c.lineToolsLocalizedNames.LineToolHorzLine,hotKey:(0,n.hotKeySerialize)({keys:[T,"H"],text:"{0} + {1}"})},LineToolHorzRay:{icon:a.lineToolsIcons.LineToolHorzRay,localizedName:c.lineToolsLocalizedNames.LineToolHorzRay},LineToolIcon:{icon:a.lineToolsIcons.LineToolIcon,localizedName:c.lineToolsLocalizedNames.LineToolIcon},LineToolInsidePitchfork:{icon:a.lineToolsIcons.LineToolInsidePitchfork,localizedName:c.lineToolsLocalizedNames.LineToolInsidePitchfork},LineToolNote:{icon:a.lineToolsIcons.LineToolNote,localizedName:c.lineToolsLocalizedNames.LineToolNote},LineToolNoteAbsolute:{icon:a.lineToolsIcons.LineToolNoteAbsolute,localizedName:c.lineToolsLocalizedNames.LineToolNoteAbsolute},LineToolSignpost:{icon:a.lineToolsIcons.LineToolSignpost,localizedName:c.lineToolsLocalizedNames.LineToolSignpost},LineToolParallelChannel:{icon:a.lineToolsIcons.LineToolParallelChannel,localizedName:c.lineToolsLocalizedNames.LineToolParallelChannel,hotKey:(0,n.hotKeySerialize)(L)},LineToolPitchfan:{icon:a.lineToolsIcons.LineToolPitchfan,localizedName:c.lineToolsLocalizedNames.LineToolPitchfan},LineToolPitchfork:{icon:a.lineToolsIcons.LineToolPitchfork, +localizedName:c.lineToolsLocalizedNames.LineToolPitchfork},LineToolPolyline:{icon:a.lineToolsIcons.LineToolPolyline,localizedName:c.lineToolsLocalizedNames.LineToolPolyline},LineToolPath:{icon:a.lineToolsIcons.LineToolPath,localizedName:c.lineToolsLocalizedNames.LineToolPath},LineToolPrediction:{icon:a.lineToolsIcons.LineToolPrediction,localizedName:c.lineToolsLocalizedNames.LineToolPrediction},LineToolPriceLabel:{icon:a.lineToolsIcons.LineToolPriceLabel,localizedName:c.lineToolsLocalizedNames.LineToolPriceLabel},LineToolPriceNote:{icon:a.lineToolsIcons.LineToolPriceNote,localizedName:c.lineToolsLocalizedNames.LineToolPriceNote,hotKey:(0,n.hotKeySerialize)(L)},LineToolArrowMarker:{icon:a.lineToolsIcons.LineToolArrowMarker,localizedName:c.lineToolsLocalizedNames.LineToolArrowMarker},LineToolPriceRange:{icon:a.lineToolsIcons.LineToolPriceRange,localizedName:c.lineToolsLocalizedNames.LineToolPriceRange},LineToolProjection:{icon:a.lineToolsIcons.LineToolProjection,localizedName:c.lineToolsLocalizedNames.LineToolProjection},LineToolRay:{icon:a.lineToolsIcons.LineToolRay,localizedName:c.lineToolsLocalizedNames.LineToolRay},LineToolRectangle:{icon:a.lineToolsIcons.LineToolRectangle,localizedName:c.lineToolsLocalizedNames.LineToolRectangle,hotKey:(0,n.hotKeySerialize)({keys:[r],text:(0,i.t)("{hotKey_0} — square")})},LineToolCircle:{icon:a.lineToolsIcons.LineToolCircle,localizedName:c.lineToolsLocalizedNames.LineToolCircle},LineToolRegressionTrend:{icon:a.lineToolsIcons.LineToolRegressionTrend,localizedName:c.lineToolsLocalizedNames.LineToolRegressionTrend},LineToolRiskRewardLong:{icon:a.lineToolsIcons.LineToolRiskRewardLong,localizedName:c.lineToolsLocalizedNames.LineToolRiskRewardLong},LineToolRiskRewardShort:{icon:a.lineToolsIcons.LineToolRiskRewardShort,localizedName:c.lineToolsLocalizedNames.LineToolRiskRewardShort},LineToolFixedRangeVolumeProfile:{icon:a.lineToolsIcons.LineToolFixedRangeVolumeProfile,localizedName:c.lineToolsLocalizedNames.LineToolFixedRangeVolumeProfile},LineToolRotatedRectangle:{icon:a.lineToolsIcons.LineToolRotatedRectangle,localizedName:c.lineToolsLocalizedNames.LineToolRotatedRectangle,hotKey:(0,n.hotKeySerialize)(L)},LineToolSchiffPitchfork:{icon:a.lineToolsIcons.LineToolSchiffPitchfork,localizedName:c.lineToolsLocalizedNames.LineToolSchiffPitchfork},LineToolSchiffPitchfork2:{icon:a.lineToolsIcons.LineToolSchiffPitchfork2,localizedName:c.lineToolsLocalizedNames.LineToolSchiffPitchfork2},LineToolSineLine:{icon:a.lineToolsIcons.LineToolSineLine,localizedName:c.lineToolsLocalizedNames.LineToolSineLine},LineToolText:{icon:a.lineToolsIcons.LineToolText,localizedName:c.lineToolsLocalizedNames.LineToolText},LineToolTextAbsolute:{icon:a.lineToolsIcons.LineToolTextAbsolute,localizedName:c.lineToolsLocalizedNames.LineToolTextAbsolute},LineToolThreeDrivers:{icon:a.lineToolsIcons.LineToolThreeDrivers,localizedName:c.lineToolsLocalizedNames.LineToolThreeDrivers},LineToolTimeCycles:{icon:a.lineToolsIcons.LineToolTimeCycles,localizedName:c.lineToolsLocalizedNames.LineToolTimeCycles},LineToolTrendAngle:{ +icon:a.lineToolsIcons.LineToolTrendAngle,localizedName:c.lineToolsLocalizedNames.LineToolTrendAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolTrendBasedFibExtension:{icon:a.lineToolsIcons.LineToolTrendBasedFibExtension,localizedName:c.lineToolsLocalizedNames.LineToolTrendBasedFibExtension},LineToolTrendBasedFibTime:{icon:a.lineToolsIcons.LineToolTrendBasedFibTime,localizedName:c.lineToolsLocalizedNames.LineToolTrendBasedFibTime},LineToolTrendLine:{icon:a.lineToolsIcons.LineToolTrendLine,localizedName:c.lineToolsLocalizedNames.LineToolTrendLine,hotKey:(0,n.hotKeySerialize)(L)},LineToolInfoLine:{icon:a.lineToolsIcons.LineToolInfoLine,localizedName:c.lineToolsLocalizedNames.LineToolInfoLine},LineToolTriangle:{icon:a.lineToolsIcons.LineToolTriangle,localizedName:c.lineToolsLocalizedNames.LineToolTriangle},LineToolTrianglePattern:{icon:a.lineToolsIcons.LineToolTrianglePattern,localizedName:c.lineToolsLocalizedNames.LineToolTrianglePattern},LineToolVertLine:{icon:a.lineToolsIcons.LineToolVertLine,localizedName:c.lineToolsLocalizedNames.LineToolVertLine,hotKey:(0,n.hotKeySerialize)({keys:[T,"V"],text:"{0} + {1}"})},LineToolCrossLine:{icon:a.lineToolsIcons.LineToolCrossLine,localizedName:c.lineToolsLocalizedNames.LineToolCrossLine},LineToolHighlighter:{icon:a.lineToolsIcons.LineToolHighlighter,localizedName:c.lineToolsLocalizedNames.LineToolHighlighter},SyncDrawing:{icon:s.drawingToolsIcons.SyncDrawing,iconActive:s.drawingToolsIcons.SyncDrawingActive,localizedName:(0,i.t)("New drawings are replicated to all charts in the layout and shown when the same ticker is selected")},arrow:{icon:s.drawingToolsIcons.arrow,localizedName:(0,i.t)("Arrow")},cursor:{icon:s.drawingToolsIcons.cursor,localizedName:(0,i.t)("Cross")},dot:{icon:s.drawingToolsIcons.dot,localizedName:(0,i.t)("Dot")},drawginmode:{icon:s.drawingToolsIcons.drawginmode,iconActive:s.drawingToolsIcons.drawginmodeActive,localizedName:(0,i.t)("Stay in Drawing Mode")},eraser:{icon:s.drawingToolsIcons.eraser,localizedName:(0,i.t)("Eraser")},group:{icon:s.drawingToolsIcons.group,localizedName:(0,i.t)("Show Hidden Tools")},hideAllDrawings:{icon:s.drawingToolsIcons.hideAllDrawings,iconActive:s.drawingToolsIcons.hideAllDrawingsActive,localizedName:(0,i.t)("Hide All Drawing Tools"),hotKey:(0,n.hotKeySerialize)({keys:[d,T,"H"],text:"{0} + {1} + {2}"})},lockAllDrawings:{icon:s.drawingToolsIcons.lockAllDrawings,iconActive:s.drawingToolsIcons.lockAllDrawingsActive,localizedName:(0,i.t)("Lock All Drawing Tools")},magnet:{icon:s.drawingToolsIcons.magnet,localizedName:(0,i.t)("Magnet Mode snaps drawings placed near price bars to the closest OHLC value"),hotKey:(0,n.hotKeySerialize)({keys:[d],text:"{0}"})},measure:{icon:s.drawingToolsIcons.measure,localizedName:(0,i.t)("Measure"),hotKey:(0,n.hotKeySerialize)({keys:[r],text:(0,i.t)("{hotKey_0} + Click on the chart")})},removeAllDrawingTools:{icon:s.drawingToolsIcons.removeAllDrawingTools,localizedName:(0,i.t)("Remove Drawings")},showObjectsTree:{icon:s.drawingToolsIcons.showObjectTree,localizedName:(0,i.t)("Show Object Tree")},zoom:{ +icon:s.drawingToolsIcons.zoom,localizedName:(0,i.t)("Zoom In")},"zoom-out":{icon:s.drawingToolsIcons["zoom-out"],localizedName:(0,i.t)("Zoom Out")}};m.LineToolGhostFeed={icon:a.lineToolsIcons.LineToolGhostFeed,localizedName:c.lineToolsLocalizedNames.LineToolGhostFeed}},89377:(o,e,l)=>{"use strict";l.d(e,{LinetoolsFavoritesStore:()=>n});var i,n,a=l(2872),s=l.n(a),c=l(56840);!function(o){function e(){o.favorites=[];(0,c.getJSON)("chart.favoriteDrawings",[]).forEach(e=>{l(e.tool||e)&&o.favorites.push(e.tool||e)}),o.favoritesSynced.fire()}function l(o){return"string"==typeof o&&""!==o}o.favorites=[],o.favoritesSynced=new(s()),o.favoriteIndex=function(e){return o.favorites.indexOf(e)},o.isValidLineToolName=l,o.saveFavorites=function(e){(0,c.setJSON)("chart.favoriteDrawings",o.favorites,e)},e(),c.onSync.subscribe(null,e)}(i||(i={})),function(o){function e(o){return i.isValidLineToolName(o)}function l(){return i.favorites.length}function n(o){return-1!==i.favoriteIndex(o)}o.favoriteAdded=new(s()),o.favoriteRemoved=new(s()),o.favoriteMoved=new(s()),o.favoritesSynced=i.favoritesSynced,o.favorites=function(){return i.favorites.slice()},o.isValidLineToolName=e,o.favoritesCount=l,o.favorite=function(o){return o<0||o>=l()?"":i.favorites[o]},o.addFavorite=function(l,a){return!(n(l)||!e(l))&&(i.favorites.push(l),i.saveFavorites(a),o.favoriteAdded.fire(l),!0)},o.removeFavorite=function(e,l){const n=i.favoriteIndex(e);return-1!==n&&(i.favorites.splice(n,1),i.saveFavorites(l),o.favoriteRemoved.fire(e),!0)},o.isFavorite=n,o.moveFavorite=function(n,a,s){if(a<0||a>=l()||!e(n))return!1;const c=i.favoriteIndex(n);return-1!==c&&a!==c&&(i.favorites.splice(c,1),i.favorites.splice(a,0,n),i.saveFavorites(s),o.favoriteMoved.fire(n,c,a),!0)}}(n||(n={}))},99042:o=>{o.exports=''},69725:o=>{o.exports=''},52263:o=>{o.exports=''},71908:o=>{o.exports=''},87518:o=>{ +o.exports=''},47970:o=>{o.exports=''},94239:o=>{o.exports=''},32709:o=>{o.exports=''},47291:o=>{ +o.exports=''},17748:o=>{o.exports=''},76025:o=>{o.exports=''},69786:o=>{o.exports=''},43969:o=>{ o.exports=''},39056:o=>{o.exports=''},18968:o=>{ o.exports=''},28358:o=>{o.exports=''},56717:o=>{o.exports=''},59266:o=>{o.exports=''},28407:o=>{ o.exports=''},77222:o=>{o.exports=''},99186:o=>{ -o.exports=''},29469:o=>{o.exports=''},23794:o=>{o.exports=''},37049:o=>{o.exports=''},20614:o=>{o.exports=''},55783:o=>{o.exports=''}}]); \ No newline at end of file +o.exports=''},29469:o=>{o.exports=''},23794:o=>{o.exports=''},37049:o=>{o.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/157dc69b8355dc521689079cb859216d.svg b/charting_library/bundles/157dc69b8355dc521689079cb859216d.svg new file mode 100644 index 00000000..33b0e55e --- /dev/null +++ b/charting_library/bundles/157dc69b8355dc521689079cb859216d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1594.4ef8130762f60c777086.js b/charting_library/bundles/1594.4ef8130762f60c777086.js new file mode 100644 index 00000000..53fd7535 --- /dev/null +++ b/charting_library/bundles/1594.4ef8130762f60c777086.js @@ -0,0 +1,23 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1594],{66783:e=>{"use strict";var t=Object.prototype.hasOwnProperty;function n(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,r){if(n(e,r))return!0;if("object"!=typeof e||null===e||"object"!=typeof r||null===r)return!1;var o=Object.keys(e),s=Object.keys(r);if(o.length!==s.length)return!1;for(var a=0;a{e.exports={button:"button-9pA37sIi",hover:"hover-9pA37sIi",isInteractive:"isInteractive-9pA37sIi",isGrouped:"isGrouped-9pA37sIi",newStyles:"newStyles-9pA37sIi",isActive:"isActive-9pA37sIi",isOpened:"isOpened-9pA37sIi",isDisabled:"isDisabled-9pA37sIi",text:"text-9pA37sIi",icon:"icon-9pA37sIi"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},28712:e=>{e.exports={container:"container-CcsqUMct",inputContainer:"inputContainer-CcsqUMct",withCancel:"withCancel-CcsqUMct",input:"input-CcsqUMct",icon:"icon-CcsqUMct",cancel:"cancel-CcsqUMct"}},74246:e=>{e.exports={actions:"actions-FZxvEi7a",actionButton:"actionButton-FZxvEi7a"}},82132:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",itemRow:"itemRow-uhHv1IHJ",multiLine:"multiLine-uhHv1IHJ",cell:"cell-uhHv1IHJ",itemInfoCell:"itemInfoCell-uhHv1IHJ",description:"description-uhHv1IHJ",symbolDescription:"symbolDescription-uhHv1IHJ",flag:"flag-uhHv1IHJ",exchangeDescription:"exchangeDescription-uhHv1IHJ",marketType:"marketType-uhHv1IHJ",exchangeName:"exchangeName-uhHv1IHJ",actionHandleWrap:"actionHandleWrap-uhHv1IHJ",hover:"hover-uhHv1IHJ",selected:"selected-uhHv1IHJ",active:"active-uhHv1IHJ",highlighted:"highlighted-uhHv1IHJ",light:"light-uhHv1IHJ","highlight-animation-theme-light":"highlight-animation-theme-light-uhHv1IHJ",dark:"dark-uhHv1IHJ","highlight-animation-theme-dark":"highlight-animation-theme-dark-uhHv1IHJ",markedFlag:"markedFlag-uhHv1IHJ",offset:"offset-uhHv1IHJ",descriptionCell:"descriptionCell-uhHv1IHJ",addition:"addition-uhHv1IHJ",exchangeCell:"exchangeCell-uhHv1IHJ",fixedWidth:"fixedWidth-uhHv1IHJ",expandHandle:"expandHandle-uhHv1IHJ",expanded:"expanded-uhHv1IHJ",symbolTitle:"symbolTitle-uhHv1IHJ",invalid:"invalid-uhHv1IHJ",noDescription:"noDescription-uhHv1IHJ",highlightedText:"highlightedText-uhHv1IHJ",icon:"icon-uhHv1IHJ",narrow:"narrow-uhHv1IHJ",dataMode:"dataMode-uhHv1IHJ",actionsCell:"actionsCell-uhHv1IHJ",action:"action-uhHv1IHJ",targetAction:"targetAction-uhHv1IHJ",removeAction:"removeAction-uhHv1IHJ",addAction:"addAction-uhHv1IHJ", +markedFlagWrap:"markedFlagWrap-uhHv1IHJ",markedFlagMobile:"markedFlagMobile-uhHv1IHJ",logo:"logo-uhHv1IHJ",isExpandable:"isExpandable-uhHv1IHJ"}},42608:e=>{e.exports={wrap:"wrap-nJ9riypy",libAllSelected:"libAllSelected-nJ9riypy",container:"container-nJ9riypy",iconWrap:"iconWrap-nJ9riypy",icon:"icon-nJ9riypy",title:"title-nJ9riypy",highlighted:"highlighted-nJ9riypy",description:"description-nJ9riypy",mobile:"mobile-nJ9riypy",allSelected:"allSelected-nJ9riypy",desktop:"desktop-nJ9riypy",allSelectedIcon:"allSelectedIcon-nJ9riypy",selected:"selected-nJ9riypy",titleWithoutDesc:"titleWithoutDesc-nJ9riypy",textBlock:"textBlock-nJ9riypy",bordered:"bordered-nJ9riypy"}},90819:e=>{e.exports={container:"container-ZOfHxh0z",contentList:"contentList-ZOfHxh0z",contentListDesktop:"contentListDesktop-ZOfHxh0z",searchSourceItemsContainer:"searchSourceItemsContainer-ZOfHxh0z",searchSourceItemsContainerDesktop:"searchSourceItemsContainerDesktop-ZOfHxh0z",groupTitleDesktop:"groupTitleDesktop-ZOfHxh0z",emptyText:"emptyText-ZOfHxh0z",noResultsDesktop:"noResultsDesktop-ZOfHxh0z"}},77338:e=>{e.exports={wrap:"wrap-LlwUhJDs",item:"item-LlwUhJDs",small:"small-LlwUhJDs",text:"text-LlwUhJDs",exchange:"exchange-LlwUhJDs"}},74915:e=>{e.exports={wrap:"wrap-SLQfcZ66",watchlist:"watchlist-SLQfcZ66",noFeed:"noFeed-SLQfcZ66",scrollContainer:"scrollContainer-SLQfcZ66",listContainer:"listContainer-SLQfcZ66",multiLineItemsContainer:"multiLineItemsContainer-SLQfcZ66"}},98749:e=>{e.exports={button:"button-v1WheJQo",desktop:"desktop-v1WheJQo"}},92540:e=>{e.exports={search:"search-RSKUFnp7",upperCase:"upperCase-RSKUFnp7",symbolType:"symbolType-RSKUFnp7",spinnerWrap:"spinnerWrap-RSKUFnp7",emptyText:"emptyText-RSKUFnp7",noResultsDesktop:"noResultsDesktop-RSKUFnp7",brokerCheckboxWrap:"brokerCheckboxWrap-RSKUFnp7"}},53474:e=>{e.exports={flagWrap:"flagWrap-7I0uFLqE",icon:"icon-7I0uFLqE",caret:"caret-7I0uFLqE",title:"title-7I0uFLqE"}},6215:e=>{e.exports={dialog:"dialog-JcokGZNe",tabletDialog:"tabletDialog-JcokGZNe",desktopDialog:"desktopDialog-JcokGZNe"}},70516:e=>{e.exports={childrenWrapper:"childrenWrapper-HNZPlz4e",container:"container-HNZPlz4e"}},99167:e=>{e.exports={bubbles:"bubbles-bgopH9MJ",multiLine:"multiLine-bgopH9MJ",bubble:"bubble-bgopH9MJ"}},74765:e=>{e.exports={bubble:"bubble-vcCjkHCG",animated:"animated-vcCjkHCG",content:"content-vcCjkHCG","appearance-default":"appearance-default-vcCjkHCG",active:"active-vcCjkHCG",red:"red-vcCjkHCG",blue:"blue-vcCjkHCG",green:"green-vcCjkHCG",orange:"orange-vcCjkHCG",purple:"purple-vcCjkHCG",cyan:"cyan-vcCjkHCG",pink:"pink-vcCjkHCG","appearance-text":"appearance-text-vcCjkHCG","fontSize-s":"fontSize-s-vcCjkHCG","fontSize-m":"fontSize-m-vcCjkHCG","size-m":"size-m-vcCjkHCG","size-l":"size-l-vcCjkHCG"}},81524:e=>{e.exports={highlighted:"highlighted-YWUtZHTy"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},40367:e=>{e.exports={icon:"icon-AL2odtws",dropped:"dropped-AL2odtws"}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>o});var r=n(59496);const o=r.forwardRef((e,t)=>{const{icon:n="",...o}=e +;return r.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:n}})})},90186:(e,t,n)=>{"use strict";function r(e){return s(e,a)}function o(e){return s(e,i)}function s(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 i(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterDataProps:()=>r,filterAriaProps:()=>o,filterProps:()=>s,isDataAttribute:()=>a,isAriaAttribute:()=>i})},4825:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>l,ToolWidgetButton:()=>c});var r=n(59496),o=n(97754),s=n(9745),a=n(37669),i=n(55576);const l=i,c=r.forwardRef((e,t)=>{const{icon:n,isActive:l,isOpened:c,isDisabled:u,isGrouped:d,isHovered:h,onClick:p,text:m,textBeforeIcon:v,title:f,theme:g=i,className:y,forceInteractive:b,"data-name":S,...x}=e,C=o(y,g.button,f&&"apply-common-tooltip",{[g.isActive]:l,[g.isOpened]:c,[g.isInteractive]:(b||Boolean(p))&&!u,[g.isDisabled]:u,[g.isGrouped]:d,[g.hover]:h,[g.newStyles]:a.hasNewHeaderToolbarStyles}),w=n&&("string"==typeof n?r.createElement(s.Icon,{className:g.icon,icon:n}):r.cloneElement(n,{className:o(g.icon,n.props.className)}));return r.createElement("div",{...x,ref:t,"data-role":"button",className:C,onClick:u?void 0:p,title:f,"data-name":S},v&&m&&r.createElement("div",{className:o("js-button-text",g.text)},m),w,!v&&m&&r.createElement("div",{className:o("js-button-text",g.text)},m))})},37669:(e,t,n)=>{"use strict";n.d(t,{hasNewHeaderToolbarStyles:()=>r});n(67337);const r=!1},47670:(e,t,n)=>{"use strict";n.d(t,{marketType:()=>l});var r=n(28353);n(94419);const o=new Map,s={context:"market_type"},a={cfd:(0,r.t)("cfd",s),bitcoin:(0,r.t)("crypto",s),crypto:(0,r.t)("crypto",s),dr:(0,r.t)("dr",s),forex:(0,r.t)("forex",s),futures:(0,r.t)("futures",s),index:(0,r.t)("index",s),stock:(0,r.t)("stock",s),economic:(0,r.t)("economy",s)},i=new Set(["cfd","spreadbet","defi"]);function l(e,t=[]){const n=t.filter(e=>i.has(e)),l=`${e}_${n.sort().join("_")}`,c=o.get(l);if(void 0!==c)return c;const u=Boolean(t.length)?(0,r.t)(e,s)+" "+n.join(" "):a[e]||e;return o.set(l,u),u}},39640:(e,t,n)=>{"use strict";function r(e,t,n,r,o){function s(o){if(e>o.timeStamp)return;const s=o.target;void 0!==n&&null!==t&&null!==s&&s.ownerDocument===r&&(t.contains(s)||n(o))}return o.click&&r.addEventListener("click",s,!1),o.mouseDown&&r.addEventListener("mousedown",s,!1),o.touchEnd&&r.addEventListener("touchend",s,!1),o.touchStart&&r.addEventListener("touchstart",s,!1),()=>{r.removeEventListener("click",s,!1),r.removeEventListener("mousedown",s,!1),r.removeEventListener("touchend",s,!1),r.removeEventListener("touchstart",s,!1)}}n.d(t,{addOutsideEventListener:()=>r})},68722:(e,t,n)=>{"use strict";n.d(t,{getScrollbarWidth:()=>r,matchMediaMinMax:()=>o,setStyle:()=>s,getCSSProperty:()=>a,getCSSPropertyNumericValue:()=>i});const r=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),r=n.style;r.visibility="hidden",r.width="100px",r.msOverflowStyle="scrollbar", +document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const a=s.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=o-a}return e}})();function o(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function s(e,t,n){null!==e&&e.style.setProperty(t,n)}function a(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function i(e,t){return parseInt(a(e,t))}},43989:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>a});var r=n(68722);let o=0,s=!1;function a(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++o){const e=(0,r.getCSSProperty)(t,"overflow"),o=(0,r.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,r.setStyle)(n,"right",(0,r.getScrollbarWidth)()+"px"),t.style.paddingRight=o+(0,r.getScrollbarWidth)()+"px",s=!0),t.classList.add("i-no-scroll")}else if(!e&&o>0&&0==--o&&(t.classList.remove("i-no-scroll"),s)){(0,r.setStyle)(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,r.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",s=!1}}},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(96746);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>k});var r=n(59496),o=n(88537);var s=n(97754),a=n.n(s),i=n(68335),l=n(35749),c=n(81e3),u=n(1109),d=n(24437),h=n(90692),p=n(95711),m=n(52092),v=n(76422),f=n(9745);const g=r.createContext({setHideClose:()=>{}});var y=n(37257),b=n(91441);function S(e){const{title:t,subtitle:n,showCloseIcon:o=!0,onClose:s,renderBefore:i,renderAfter:l,draggable:c,className:u,unsetAlign:d}=e,[h,p]=(0,r.useState)(!1);return r.createElement(g.Provider,{value:{setHideClose:p}},r.createElement("div",{className:a()(b.container,u,(n||d)&&b.unsetAlign)},i,r.createElement("div",{"data-dragg-area":c,className:b.title},r.createElement("div",{className:b.ellipsis},t),n&&r.createElement("div",{className:a()(b.ellipsis,b.subtitle)},n)),l,o&&!h&&r.createElement(f.Icon,{className:b.close,icon:y,onClick:s,"data-name":"close","data-role":"button"})))}var x=n(67179);const C={vertical:20},w={vertical:0};class k extends r.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(d.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0, +i.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,r=(0,o.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,l.isTextEditingField)(n))return void r.focus();if(r.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;v.subscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;v.unsubscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:o,title:s,dataName:i,onClickOutside:l,additionalElementPos:m,additionalHeaderElement:v,backdrop:f,shouldForceFocus:g=!0,showSeparator:y,subtitle:b,draggable:k=!0,fullScreen:E=!1,showCloseIcon:I=!0,rounded:_=!0,isAnimationEnabled:N,growPoint:H,dialogTooltip:D,unsetHeaderAlign:M,onDragStart:T,dataDialogName:L}=this.props,A="after"!==m?v:void 0,F="after"===m?v:void 0,O="string"==typeof s?s:L||"";return r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.SmallHeight},m=>r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},d=>r.createElement(c.PopupDialog,{rounded:!(d||E)&&_,className:a()(x.dialog,e),isOpened:o,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:l,onClickBackdrop:l,fullscreen:d||E,guard:m?w:C,boundByScreen:d||E,shouldForceFocus:g,backdrop:f,draggable:k,isAnimationEnabled:N,growPoint:H,name:this.props.dataName,dialogTooltip:D,onDragStart:T},r.createElement("div",{className:a()(x.wrapper,t),"data-name":i,"data-dialog-name":O},void 0!==s&&r.createElement(S,{draggable:k&&!(d||E),onClose:this._handleClose,renderAfter:F,renderBefore:A,subtitle:b,title:s,showCloseIcon:I,className:n,unsetAlign:M}),y&&r.createElement(u.Separator,{className:x.separator}),r.createElement(p.PopupContext.Consumer,null,e=>this._renderChildren(e,d||E))))))}}},69654:(e,t,n)=>{"use strict";n.d(t,{DialogSearch:()=>u});var r=n(59496),o=n(97754),s=n.n(o),a=n(28353),i=n(9745),l=n(5639),c=n(28712);function u(e){const{children:t,renderInput:n,onCancel:o,...u}=e +;return r.createElement("div",{className:c.container},r.createElement("div",{className:s()(c.inputContainer,o&&c.withCancel)},n||r.createElement(d,{...u})),t,r.createElement(i.Icon,{className:c.icon,icon:l}),o&&r.createElement("div",{className:c.cancel,onClick:o},(0,a.t)("Cancel")))}function d(e){const{className:t,reference:n,value:o,onChange:a,onFocus:i,onBlur:l,onKeyDown:u,onSelect:d,placeholder:h,...p}=e;return r.createElement("input",{...p,ref:n,type:"text",className:s()(t,c.input),autoComplete:"off","data-role":"search",placeholder:h,value:o,onChange:a,onFocus:i,onBlur:l,onSelect:d,onKeyDown:u})}},5648:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchDialogContentItem:()=>g});var r=n(59496),o=n(97754),s=n.n(o),a=n(88537),i=n(9745),l=(n(67337),n(24637)),c=n(19785),u=n(84524),d=n(24633),h=n(77975),p=n(45345),m=n(32563),v=n(88142),f=n(82132);function g(e){const{dangerousTitleHTML:t,title:n,dangerousDescriptionHTML:o,description:g,searchToken:y,exchangeName:b,marketType:S,onClick:x,isSelected:C,isEod:w=!1,isActive:k=!1,isOffset:E=!1,invalid:I=!1,isHighlighted:_=!1,hideExchange:N=!1,hideMarkedListFlag:H=!1,onExpandClick:D,isExpanded:M,hoverComponent:T,country:L,providerId:A,source:F,type:O,flag:R,itemRef:B,onMouseOut:P,onMouseOver:W,className:J,actions:z,reference:V,fullSymbolName:q,logoId:U,currencyLogoId:Z,baseCurrencyLogoId:G,shortName:j,hideLogo:K=!1}=e,{isSmallWidth:Q,isMobile:$}=(0,a.ensureNotNull)((0,r.useContext)(u.SymbolSearchItemsDialogContext)),Y=Boolean(T),X=!I&&!N&&($||!Y),ee=(0,h.useWatchedValueReadonly)({watchedValue:p.watchedTheme})===d.StdTheme.Dark?f.dark:f.light,te=T;return r.createElement("div",{className:s()(f.itemRow,Q&&f.multiLine,_&&f.highlighted,_&&ee,C&&f.selected,k&&f.active,I&&f.invalid,!$&&m.mobiletouch&&Y&&f.hover,J),onClick:function(e,t){if(!e||t.defaultPrevented)return;t.preventDefault(),e(t)}.bind(null,x),"data-role":e["data-role"]||"list-item","data-active":k,"data-name":"symbol-search-dialog-content-item",onMouseOut:P,onMouseOver:W,ref:V},r.createElement("div",{ref:B,className:s()(f.itemInfoCell,f.cell,E&&f.offset)},r.createElement("div",{className:s()(f.actionHandleWrap,f.fixedWidth)},r.createElement(r.Fragment,null,!1,D&&r.createElement("div",{onClick:function(e){if(!D||e.defaultPrevented)return;e.preventDefault(),D(e)}},r.createElement(i.Icon,{className:s()(f.expandHandle,M&&f.expanded,C&&f.selected),icon:v})),!1)),r.createElement("div",{className:s()(f.description,!1)},n&&r.createElement("div",{className:s()(f.symbolTitle,k&&f.active,I&&f.invalid,!Boolean(o)&&f.noDescription),"data-name":"list-item-title"},"string"==typeof n&&y?r.createElement(l.HighlightedText,{className:f.highlightedText,text:n,queryString:y,rules:(0,c.createRegExpList)(y)}):n,w&&r.createElement("span",{className:f.dataMode},"E")),!n&&t&&r.createElement("div",{className:s()(f.symbolTitle,k&&f.active,I&&f.invalid),"data-name":"list-item-title"},r.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),w&&r.createElement("span",{className:f.dataMode},"E")),Q&&ne())),!Q&&r.createElement("div",{ +className:s()(f.cell,f.descriptionCell,Boolean(te)&&f.addition)},ne(),te?r.createElement(te,{...e,className:f.actions,onMouseOver:void 0,onMouseOut:void 0}):null),Q&&te?r.createElement(te,{...e,className:f.cell,onMouseOver:void 0,onMouseOut:void 0}):null,X&&r.createElement("div",{className:s()(f.exchangeCell,f.cell)},r.createElement("div",{className:s()(f.exchangeDescription)},r.createElement("div",{className:s()(f.marketType,k&&f.active)},S),"economic"===O&&F?r.createElement("div",{className:s()(f.exchangeName,k&&f.active,"apply-common-tooltip",f.narrow),title:F},F):r.createElement("div",{className:s()(f.exchangeName,k&&f.active)},b)),!1),r.createElement("div",{className:s()(f.cell,Boolean(z)&&f.actionsCell)},z));function ne(){if(I)return null;const e=s()(f.symbolDescription,k&&f.active,!m.mobiletouch&&"apply-overflow-tooltip apply-overflow-tooltip--allow-text");return g?r.createElement("div",{className:e},y?r.createElement(l.HighlightedText,{className:f.highlightedText,text:g,queryString:y,rules:(0,c.createRegExpList)(y)}):g):o?r.createElement("div",{className:e,dangerouslySetInnerHTML:{__html:o}}):null}}},58442:(e,t,n)=>{"use strict";n.d(t,{qualifyProName:()=>a,QualifiedSources:()=>r});var r,o=n(88537),s=n(67337);n(81319);function a(e){return e}!function(e){function t(e){return e.pro_name}function n(e){{const t=s.enabled("pay_attention_to_ticker_not_symbol")?e.ticker:e.full_name;return(0,o.ensureDefined)(t)}}e.fromQuotesSnapshot=function(e){return"error"===e.status?e.symbolname:e.values.pro_name},e.fromQuotesResponse=function(e){const{values:n,symbolname:r,status:o}=e;return"error"===o&&r?r:t(n)},e.fromQuotes=t,e.fromSymbolSearchResult=function(e,t){{const{ticker:n,full_name:r}=null!=t?t:e;return s.enabled("pay_attention_to_ticker_not_symbol")?(0,o.ensureDefined)(null!=n?n:r):(0,o.ensureDefined)(r)}},e.fromSymbolInfo=n,e.fromSymbolMessage=function(e,t){return"symbol_resolved"===t.method?n(t.params[1]):e}}(r||(r={}))},24389:(e,t,n)=>{"use strict";n.d(t,{QuoteSessionContext:()=>r});const r=n(59496).createContext(null)},20882:(e,t,n)=>{"use strict";function r(e){return""===e.value()}function o(e,t){return e.filter(e=>e.includes(t))}function s(e){const t=new Map;return e.forEach(e=>{t.has(e.group())?t.get(e.group()).push(e):t.set(e.group(),[e])}),t}function a(e,t){return t.map(t=>new e(t))}n.d(t,{isAllSearchSourcesSelected:()=>r,filterSearchSources:()=>o,splitSearchSourcesByGroup:()=>s,createSearchSources:()=>a})},1861:(e,t,n)=>{"use strict";n.d(t,{showSymbolSearchItemsDialog:()=>c});var r=n(59496),o=n(87995),s=n(50655),a=n(24389),i=n(51826),l=n(12045);function c(e){const{initialMode:t="symbolSearch",autofocus:n=!0,defaultValue:c,showSpreadActions:u,selectSearchOnInit:d,onSearchComplete:h,onSearchFeedReady:p,dialogTitle:m,placeholder:v,fullscreen:f,initialScreen:g,wrapper:y,dialog:b,contentItem:S,onClose:x,footer:C,symbolTypes:w,searchInput:k,emptyState:E,hideMarkedListFlag:I,dialogWidth:_="auto",manager:N}=e +;if(i.dialogsOpenerManager.isOpened("SymbolSearch")||i.dialogsOpenerManager.isOpened("ChangeIntervalDialog"))return;const H=document.createElement("div"),D=r.createElement(s.SlotContext.Provider,{value:null!=N?N:null},r.createElement(a.QuoteSessionContext.Provider,{value:null},r.createElement(l.SymbolSearchItemsDialog,{onClose:M,initialMode:t,defaultValue:c,showSpreadActions:u,hideMarkedListFlag:I,onSearchFeedReady:p,selectSearchOnInit:d,onSearchComplete:h,dialogTitle:m,placeholder:v,fullscreen:f,initialScreen:g,wrapper:y,dialog:b,contentItem:S,footer:C,symbolTypes:w,searchInput:k,emptyState:E,autofocus:n,dialogWidth:_})));function M(){o.unmountComponentAtNode(H),i.dialogsOpenerManager.setAsClosed("SymbolSearch"),x&&x()}return o.render(D,H),i.dialogsOpenerManager.setAsOpened("SymbolSearch"),{close:M}}},70613:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchDialogBodyContext:()=>r});const r=n(59496).createContext(null)},84524:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchItemsDialogContext:()=>r});const r=n(59496).createContext(null)},12045:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchItemsDialog:()=>Pe});var r=n(59496),o=n(97754),s=n.n(o),a=n(28353),i=n(7785),l=n(15983),c=n(84877),u=n(67337),d=n(24437),h=n(85457),p=n(9745),m=n(84524),v=n(69654),f=n(20882),g=n(70516);function y(e){const{children:t,className:n}=e;return r.createElement("div",{className:s()(g.container,n)},r.createElement("div",{className:g.childrenWrapper},t))}var b=n(88537),S=n(78036),x=n(24637),C=n(19785),w=n(29601),k=n(42608);function E(e){const{searchSource:t,onClick:n,queryString:o}=e,{selectedSearchSource:a,isAllSearchSourcesSelected:i,isMobile:l}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),c=(0,b.ensureNotNull)(a).value(),u=i(t),d=t.value()===c,h=(0,r.useMemo)(()=>(0,C.createRegExpList)(o),[o]),v=t.description(),f=v&&!u,g=s()(k.container,l?k.mobile:k.desktop,d&&k.selected,u&&k.allSelected,u&&k.libAllSelected,!u&&l&&k.bordered);return r.createElement("div",{className:s()(!l&&k.wrap,u&&k.libAllSelected),onClick:n},r.createElement("div",{className:g},r.createElement("div",{className:k.iconWrap},!!u&&r.createElement(p.Icon,{className:s()(k.icon,k.allSelectedIcon),icon:w})),r.createElement("div",{className:k.textBlock},r.createElement("div",{className:s()(k.title,!f&&!l&&k.titleWithoutDesc)},r.createElement(x.HighlightedText,{className:s()(d&&k.highlighted),queryString:o,text:t.name(),rules:h})),f&&r.createElement("div",{className:s()(k.description,"apply-overflow-tooltip")},r.createElement(x.HighlightedText,{className:k.highlighted,queryString:o,rules:h,text:v})))))}var I=n(77975),_=n(45345),N=n(26843),H=n(70613),D=n(70029),M=n(72802),T=n(90819);const L={emptyTextClassName:T.emptyText};function A(e){const{searchSources:t}=e,{setSelectedSearchSource:n,setMode:o,isMobile:i,emptyState:l,autofocus:c}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),u=(0,I.useWatchedValueReadonly)({watchedValue:_.watchedTheme})===N.StdTheme.Dark?D:M,[d,h]=(0,r.useState)(""),g=(0,r.useMemo)(()=>[{group:null,sources:(0,f.filterSearchSources)(t,d)}],[t,d]),b=(0, +r.useRef)(null),x=(0,r.useRef)(null);(0,r.useLayoutEffect)(()=>{var e;c&&(null===(e=null==b?void 0:b.current)||void 0===e||e.focus())},[]);const C=l?r.createElement(l,null):r.createElement(y,{className:T.noResultsDesktop},r.createElement(p.Icon,{icon:u}),r.createElement("div",{className:T.emptyText},(0,a.t)("No exchanges match your criteria"))),w=!(g.length&&g.every(e=>0===e.sources.length));return r.createElement(H.SymbolSearchDialogBodyContext.Provider,{value:L},r.createElement(v.DialogSearch,{placeholder:(0,a.t)("Search"),onChange:function(e){h(e.target.value),x&&x.current&&(x.current.scrollTop=0)},reference:b}),w?r.createElement("div",{ref:x,className:s()(T.contentList,!i&&T.contentListDesktop),onTouchStart:function(){var e;null===(e=b.current)||void 0===e||e.blur()}},g.map(e=>{const{group:t,sources:n}=e;return 0===n.length?r.createElement(r.Fragment,{key:t}):r.createElement(r.Fragment,{key:t},!1,r.createElement("div",{className:s()(T.searchSourceItemsContainer,!i&&T.searchSourceItemsContainerDesktop)},n.map(e=>r.createElement(E,{key:e.value(),searchSource:e,queryString:d,onClick:k.bind(null,e)}))))})):C);function k(e){n(e),o("symbolSearch")}}var F=n(87995),O=n(8128);n(76861),n(85198);function R(e){return e.hasOwnProperty("exchange")}async function B(e){return new Promise(t=>{window.ChartApiInstance.searchSymbols(e.text||"",e.exchange||"",e.type||"","",!1,!0,"",!0,"",e=>{t(e)})})}var P=n(81319),W=n(78136),J=n(51768),z=n(68335),V=n(4825),q=n(20832),U=n(21740),Z=n(38927),G=n(43088),j=n(56584),K=n(19586),Q=n(74246);function $(e){var t;const{state:n,update:o}=e,{searchRef:s,forceUpdate:a,upperCaseEnabled:c}=(0,b.ensureNotNull)((0,r.useContext)(m.SymbolSearchItemsDialogContext)),d=(0,i.tokenize)(null===(t=s.current)||void 0===t?void 0:t.value),h=(0,l.validate)(d);let p=[{icon:q,insert:"/",type:"binaryOp",name:"division"},{icon:U,insert:"-",type:"binaryOp",name:"subtraction"},{icon:Z,insert:"+",type:"binaryOp",name:"addition"},{icon:G,insert:"*",type:"binaryOp",name:"multiplication"}];return u.enabled("hide_exponentiation_spread_operator")||(p=p.concat([{icon:j,insert:"^",type:"binaryOp",name:"exponentiation"}])),u.enabled("hide_reciprocal_spread_operator")||(p=p.concat([{icon:K,type:"complete",name:"1/x",callback:()=>{!s.current||h.errors.length||h.warnings.length||(s.current.value=(0,l.stringifyTokens)((0,l.flip)(d)),a())}}])),r.createElement("div",{className:Q.actions},p.map(e=>r.createElement(V.ToolWidgetButton,{className:Q.actionButton,icon:e.icon,key:e.name,isDisabled:Y(e,h),onClick:()=>function(e){var t;if(!Y(e,h)){if(e.insert&&s.current){const t=s.current.value+e.insert;s.current.value=t,s.current.setSelectionRange(t.length,t.length);const[r,,i]=(0,l.getCurrentTokenParamsFromInput)(s.current,c);n.current&&(n.current.selectedIndexValue=-1,n.current.searchSpreadsValue=(0,l.isSpread)(i),n.current.searchTokenValue=r),a(),o()}e.callback&&e.callback(),null===(t=s.current)||void 0===t||t.focus(),(0,J.trackEvent)("GUI","SS",e.name)}}(e)})))}function Y(e,t){let n=!1;if(!t.errors.length)switch(e.type){case"binaryOp": +n="var"===t.currentState;break;case"openBrace":n="var"!==t.currentState;break;case"closeBrace":n="var"===t.currentState&&t.braceBalance>0;break;case"complete":n=!t.errors.length&&!t.warnings.length}return!n}var X=n(90186),ee=n(74765);function te(e){const{title:t,isActive:n,isAnimated:r,activeColor:o,size:a="m",appearance:i="default",fontSize:l="m",className:c}=e;return s()(ee.bubble,n&&ee.active,o&&ee[o],t&&"apply-common-tooltip",a&&ee["size-"+a],l&&ee["fontSize-"+l],i&&ee["appearance-"+i],r&&ee.animated,c)}function ne(e){const{id:t,title:n,tabIndex:o,role:a,contentClassName:i,children:l,onClick:c,onMouseDown:u,reference:d,...h}=e;return r.createElement("span",{...(0,X.filterAriaProps)(h),...(0,X.filterDataProps)(h),id:t,title:n,tabIndex:o,role:a,className:te(e),onClick:c,onMouseDown:u,ref:d},r.createElement("span",{className:s()(ee.content,i)},l))}var re=n(99167);function oe(e){const{className:t,itemClassName:n,itemContentClassName:s,items:a,getItemTitle:i,getItemTooltip:l,getItemKey:c,checkItemIsActive:u,getItemColor:d,onBubbleClick:h,multiline:p,children:m,BubbleComponent:v=ne,reference:f,fontSize:g}=e;return r.createElement("div",{className:o(t,re.bubbles,p&&re.multiLine),ref:f},a.map((e,t)=>r.createElement(v,{key:c?c(e):t,id:c?c(e):t.toString(),className:o(re.bubble,n),contentClassName:s,onClick:function(){h(e)},onMouseDown:function(e){e.preventDefault()},isActive:!!u&&u(e),activeColor:d?d(e):void 0,fontSize:g,title:l?l(e):void 0},i(e))),m)}var se=n(61074),ae=n(69397),ie=n(9837),le=n.n(ie),ce=n(10381),ue=n(53474);function de(e){const{mode:t,setMode:n,searchRef:o,cachedInputValue:i,selectedSearchSource:l,isAllSearchSourcesSelected:c,upperCaseEnabled:u}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),d=(0,b.ensureNotNull)(l),h="symbolSearch"===t,v=c(d);return h?r.createElement("div",{className:s()(ue.flagWrap,"apply-common-tooltip"),title:(0,a.t)("Select source"),onClick:function(){o.current&&(i.current=u?o.current.value.toUpperCase():o.current.value);n("exchange")}},!!v&&r.createElement(p.Icon,{className:ue.icon,icon:w}),r.createElement("div",{className:ue.title},d.name()),r.createElement(ce.ToolWidgetCaret,{className:ue.caret,dropped:!1})):null}var he=n(77338);function pe(e){const{isSmallWidth:t,selectedSearchSource:n,searchSources:o}=(0,b.ensureNotNull)((0,r.useContext)(m.SymbolSearchItemsDialogContext)),i=n&&o.length>1&&!(0,P.exchangeSelectDisabled)();return r.createElement("div",{className:s()(he.wrap,t&&he.small)},r.createElement("div",{className:he.item},r.createElement("div",{className:he.text},t?(0,a.t)("Symbol & description"):(0,a.t)("Symbol"))),r.createElement("div",{className:he.item},!t&&r.createElement("div",{className:he.text},(0,a.t)("Description")),i&&r.createElement("div",{className:he.exchange},r.createElement(de,null))))}var me=n(62820),ve=n(74915);function fe(e){const{onTouchMove:t,listRef:n,className:o,listWrapRef:a,virtualListKey:i,items:l,getItemSize:c,hideFeed:u}=e,{mode:d,isSmallWidth:h,handleListWidth:p}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),[v,f]=(0, +r.useState)(null),g=(0,r.useCallback)(e=>{const{index:t,style:n}=e;return r.createElement("div",{style:n},l[t])},[l]),y=(0,r.useCallback)(e=>(0,b.ensure)(l[e].key),[l]),x="watchlist"===d&&null!==v;return r.createElement(le(),{onMeasure:function(e){f(e.height),p(e.width)}},r.createElement("div",{ref:a,className:s()(ve.wrap,x&&ve.watchlist,u&&ve.noFeed,o),onTouchMove:t},r.createElement("div",{className:s()(ve.scrollContainer,u&&ve.noFeed)},x?r.createElement(ae.VariableSizeList,{key:i,ref:n,className:ve.listContainer,width:"100%",height:(0,b.ensureNotNull)(v),itemCount:l.length,itemSize:c,children:g,itemKey:y,overscanCount:20,direction:(0,me.isRtl)()?"rtl":"ltr"}):r.createElement("div",{className:s()(ve.listContainer,h&&ve.multiLineItemsContainer)},r.createElement(pe,null),...l))))}var ge=n(5648),ye=n(92540);const be=u.enabled("hide_image_invalid_symbol");function Se(e){const{token:t,state:n,otherSymbolsCount:o,onChangeSymbolTypeFilter:s,onResetFilters:a,onListTouchMove:i,brokerTitle:l,isBrokerChecked:c,onBrokerCheckboxChange:u,listRef:d,listWrapRef:h}=e,{mode:p,isMobile:v,selectedSymbolType:f,symbolTypes:g,feedItems:y,contentItem:b,emptyState:x=xe}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),C=l&&r.createElement(BrokerCheckbox,{brokerTitle:l,checked:c,onCheckboxChange:u}),w="symbolSearch"===p&&"good"===n,k=null!=b?b:ge.SymbolSearchDialogContentItem,E=(0,r.useMemo)(()=>y.map(e=>r.createElement(k,{...e,searchToken:t})),[y]);return r.createElement(r.Fragment,null,"symbolSearch"===p&&r.createElement(r.Fragment,null,g.length>0&&r.createElement(oe,{itemClassName:ye.symbolType,items:g,getItemTitle:e=>e.name,getItemKey:e=>e.value,checkItemIsActive:e=>e.value===f,onBubbleClick:s,multiline:!v},!v&&C),v&&g.length>0&&l&&r.createElement("div",{className:ye.brokerCheckboxWrap},C)),r.createElement(fe,{listRef:d,listWrapRef:h,onTouchMove:i,items:E,getItemSize:()=>we,hideFeed:!w}),"loading"===n&&r.createElement("div",{className:ye.spinnerWrap},r.createElement(se.Spinner,null)),"symbolSearch"===p&&r.createElement(r.Fragment,null,!1,"empty"===n&&r.createElement(x,null)))}function xe(e){const t=(0,I.useWatchedValueReadonly)({watchedValue:_.watchedTheme})===N.StdTheme.Dark?D:M;return r.createElement(y,{className:ye.noResultsDesktop},!be&&r.createElement(p.Icon,{icon:t}),r.createElement("div",{className:ye.emptyText},(0,a.t)("No symbols match your criteria")))}const Ce=(0,P.getDefaultSearchSource)(),we=52;function ke(e){const{mode:t,setMode:n,setSelectedIndex:o,isMobile:i,selectedSearchSource:c,setSelectedSearchSource:d,isAllSearchSourcesSelected:h,selectedSymbolType:p,setSelectedSymbolType:f,setRenderSymbolSearchList:g,searchRef:y,cachedInputValue:b,setSearchSpreads:x,showSpreadActions:C,selectedItem:w,onSearchFeedReady:k,forceUpdate:E,placeholder:I,initialScreen:_,footer:N,searchInput:D,upperCaseEnabled:M,externalInput:T,handleKeyDown:L,customSearchSymbols:A}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),V=(0,r.useRef)(t);V.current=t;const q=(0,r.useRef)(new AbortController),[U,Z]=(0,r.useState)(0),[G,j]=(0, +r.useState)("noop"),K=(0,r.useRef)(0),[Q,Y]=(0,r.useState)(b.current),X=(0,r.useRef)(null),ee=(0,r.useRef)(null),te=(0,r.useRef)({selectedIndexValue:-1,searchTokenValue:"",searchSpreadsValue:!0}),ne=(0,r.useRef)(null),re=(0,r.useRef)(null),{broker:oe=null,brokerId:se,brokerTitle:ae,isBrokerChecked:ie=!1,setIsBrokerChecked:le=(()=>{}),unhideSymbolSearchGroups:ce=""}={brokerId:void 0,brokerTitle:void 0};(0,r.useEffect)(()=>()=>{q.current.abort(),Ie()},[]),(0,r.useEffect)(()=>{(null==y?void 0:y.current)&&Y(y.current.value)},[]),(0,r.useEffect)(()=>{const e=y.current;if(e)return e.addEventListener("input",ge),e.addEventListener("focus",ke),e.addEventListener("select",fe),e.addEventListener("click",fe),e.addEventListener("keyup",Ee),T&&L&&e.addEventListener("keydown",L),()=>{e&&(e.removeEventListener("input",ge),e.removeEventListener("focus",ke),e.removeEventListener("select",fe),e.removeEventListener("click",fe),e.removeEventListener("keyup",Ee),T&&L&&e.removeEventListener("keydown",L))}},[L]),(0,r.useEffect)(()=>{Boolean(_)&&""===Q.trim()||(xe(Q,p,c),X.current&&(X.current.scrollTop=0))},[Q,p,c,ie,_]),(0,r.useEffect)(()=>{if(!w||!y.current)return;if(!u.enabled("show_spread_operators"))return y.current.value=w.symbol,void E();const e=R(w)?w.exchange:w.parent.exchange,t={name:w.symbol,exchange:e,prefix:w.prefix,fullName:w.full_name},[n,r]=(0,l.getNextSymbolInputValueAndPosition)(y.current,t,M);y.current.value=n,y.current.setSelectionRange(r,r),E()},[w]);const ue=(0,r.useCallback)(e=>k?k(e):e,[k]),de=null!=_?_:"div",he=Boolean(_)&&"symbolSearch"!==t,pe=null!=D?D:v.DialogSearch,me=(0,r.useMemo)(()=>({listRef:ee,resetRecommends:we,updateRecommends:xe,searchToken:Q,emptyTextClassName:ye.emptyText,isBrokerChecked:ie,symbolSearchState:G,currentMode:V}),[ee,Q,ie,G,V]);return r.createElement(H.SymbolSearchDialogBodyContext.Provider,{value:me},!(T&&"symbolSearch"===t)&&r.createElement(pe,{reference:y,className:s()(ye.search,M&&ye.upperCase),placeholder:I||(0,a.t)("Search")},C&&r.createElement($,{state:te,update:be})),he?r.createElement(de,null):r.createElement(Se,{token:Q,state:G,otherSymbolsCount:U,onListTouchMove:function(){var e;null===(e=y.current)||void 0===e||e.blur()},onChangeSymbolTypeFilter:function(e){const{value:t}=e;f(t),o(-1)},onResetFilters:function(){var e;f((0,P.getAllSymbolTypesValue)()),Ce&&d(Ce);le(!1),i||null===(e=y.current)||void 0===e||e.focus()},brokerTitle:ae,isBrokerChecked:ie,onBrokerCheckboxChange:function(e){le("on"!==e)},listRef:ee,listWrapRef:X}),N);function ve(){if(!y.current)return;const[e,t,n]=(0,l.getCurrentTokenParamsFromInput)(y.current,M);K.current=t,te.current={selectedIndexValue:-1,searchSpreadsValue:(0,l.isSpread)(n),searchTokenValue:e},ne.current||(ne.current=setTimeout(be,0))}function fe(){if(!y.current)return;const[,e]=(0,l.getCurrentTokenParamsFromInput)(y.current,M);e!==K.current&&ve()}function ge(){u.enabled("show_spread_operators")?ve():y.current&&(te.current={selectedIndexValue:-1,searchSpreadsValue:!1,searchTokenValue:y.current.value},ne.current||(ne.current=setTimeout(be,0)))} +function be(){const{selectedIndexValue:e,searchTokenValue:t,searchSpreadsValue:n}=te.current;ne.current=null,(0,F.unstable_batchedUpdates)(()=>{x(n),o(e),Y(M?t.toUpperCase():t)})}async function xe(e,t,n){try{"noop"===G?j("loading"):(Ie(),re.current=setTimeout(()=>{j("loading")},500)),_e();const r=await async function(e,t,n,r){var o,s,a,i;const d=u.enabled("show_spread_operators")?(0,l.shortName)(t):null===(o=y.current)||void 0===o?void 0:o.value;let h;if(ie&&oe){const t=await(0,O.respectAbort)(e,oe.accountMetainfo());h=t.prefix}const p=u.enabled("show_spread_operators")?null!==(a=null!==(s=(0,l.getExchange)(t))&&void 0!==s?s:h)&&void 0!==a?a:null==r?void 0:r.getRequestExchangeValue():null==c?void 0:c.getRequestExchangeValue(),m=(0,l.getExchange)(t)||null===(i=r||c)||void 0===i?void 0:i.getRequestCountryValue(),v={serverHighlight:!1,text:d,exchange:p,country:m,type:n,lang:window.language||"",brokerId:se,onlyTradable:Boolean(se)&&ie,unhideSymbolSearchGroups:ce,signal:e},f=(0,W.getSearchRequestDelay)();void 0!==f&&await(0,O.delay)(e,f);return A?A(v):B(v)}(q.current.signal,e,t,n),o=ue(function(e,t=window.ChartApiInstance.symbolsGrouping()){var n;const r={},o=[];for(let s=0;s{const{defaultSearchSource:t,searchSources:n}=e,r=De.getValue("symboledit.exchangefilter","");return n.find(e=>e.value()===r)||t});return[t,(0,r.useCallback)(e=>{var t;n(e),t=e,De.setValue("symboledit.exchangefilter",t.value())},[])]}function Te(e){const[t,n]=(0,r.useState)(()=>{if(1===e.types.length)return e.types[0].value;const t=De.getValue("symboledit.filter",(0,P.getAllSymbolTypesValue)());return e.types.find(e=>e.value===t)?t:(0,P.getAllSymbolTypesValue)()});return[t,(0,r.useCallback)(e=>{var t;n(e),t=e,De.setValue("symboledit.filter",t)},[])]}var Le=n(36947),Ae=n(82708),Fe=n(6215);const Oe=(0,P.getAvailableSearchSources)(),Re=(0, +P.getDefaultSearchSource)(),Be=u.enabled("uppercase_instrument_names");function Pe(e){var t;const{onClose:n,initialMode:o,defaultValue:s="",showSpreadActions:h,hideMarkedListFlag:p,selectSearchOnInit:v=!0,onSearchComplete:g,onSearchFeedReady:y,dialogTitle:b=(0,a.t)("Symbol Search"),placeholder:S,fullscreen:x,initialScreen:C,wrapper:w,dialog:k,contentItem:E,footer:I,searchInput:_,emptyState:N,autofocus:H,dialogWidth:D,onKeyDown:M,searchSourcesScreen:T,customSearchSymbols:L,isDisableFiltering:F}=e,O=(0,r.useMemo)(()=>F?[]:e.symbolTypes?e.symbolTypes:(0,P.getAvailableSymbolTypes)(),[]),W=void 0!==e.input,J=F?[]:Oe,[V,q]=(0,r.useState)(o),U=(0,r.useRef)(s),[Z,G]=Me({searchSources:J,defaultSearchSource:Re}),[j,K]=Te({types:O}),[Q,$]=(0,r.useState)([]),[Y,X]=(0,r.useState)(!1),[ee,te]=(0,r.useState)(-1),ne=(0,r.useRef)(null!==(t=e.input)&&void 0!==t?t:null),[re,oe]=(0,r.useState)(!1),se=(0,Le.useForceUpdate)(),[ae,ie]=(0,r.useState)(new Set),{broker:le=null,brokerId:ce,unhideSymbolSearchGroups:ue="",displayBrokerSymbol:de=!1}={brokerId:void 0};(0,r.useLayoutEffect)(()=>{var e;!(null==ne?void 0:ne.current)||!W&&Boolean(null===(e=ne.current)||void 0===e?void 0:e.value)||(W||"compare"===V||(ne.current.value=U.current),!H||W&&"symbolSearch"!==V||ne.current.focus())},[V]),(0,r.useEffect)(()=>{(null==ne?void 0:ne.current)&&v&&H&&ne.current.select()},[]);const he=(0,r.useMemo)(()=>Q.reduce((e,t)=>{const n=ze(t),r=ae.has(n);return e.push(t),r&&t.contracts&&e.push(...t.contracts.map(e=>({...e,parent:t}))),e},[]),[Q,ae]),pe=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e;-1!==ee&&(null===(e=pe.current)||void 0===e||e.scrollIntoView({block:"nearest"}))},[ee,pe]);const me=(0,r.useMemo)(()=>he.map((e,t)=>{var n,r,o,s;if(R(e)){const o=ze(e),s=e.contracts?ae.has(o):void 0,a=t===ee;return{key:t,id:o,title:Je(e,de),description:e.description,isOffset:!1,onClick:xe.bind(null,e),providerId:e.provider_id,source:e.source,country:null===(n=e.country)||void 0===n?void 0:n.toLocaleLowerCase(),type:e.type,exchangeName:e.exchange,marketType:(0,Ne.marketType)(e.type,e.typespecs),isEod:null===(r=e.params)||void 0===r?void 0:r.includes("eod"),isExpanded:s,onExpandClick:e.contracts?Ce.bind(null,o):void 0,fullSymbolName:P.isOpenFirstContractEnabled&&e.contracts?He.QualifiedSources.fromSymbolSearchResult(e,e.contracts[0]):He.QualifiedSources.fromSymbolSearchResult(e),itemRef:a?pe:void 0,isSelected:t===ee,hideMarkedListFlag:p,item:e,logoId:e.logoid,currencyLogoId:e["currency-logoid"],baseCurrencyLogoId:e["base-currency-logoid"],shortName:(0,Ae.safeShortName)(He.QualifiedSources.fromSymbolSearchResult(e)),currencyCode:e.currency_code}}{const{parent:n}=e,r=ze(n),a=t===ee;return{key:t,id:r+e.symbol,dangerousTitleHTML:Je(e,de),dangerousDescriptionHTML:`${n.description} (${e.description})`,isOffset:!0,isEod:null===(o=e.params)||void 0===o?void 0:o.includes("eod"),onClick:we.bind(null,e.parent,e),providerId:n.provider_id,country:null===(s=n.country)||void 0===s?void 0:s.toLowerCase(),type:n.type,exchangeName:n.exchange,marketType:(0, +Ne.marketType)(n.type,e.typespecs),fullSymbolName:He.QualifiedSources.fromSymbolSearchResult(e.parent,e),itemRef:a?pe:void 0,isSelected:a,hideMarkedListFlag:p,item:e}}}),[Q,ae,V,ee,M]),ve=null!=k?k:qe,fe=ve!==qe&&!W,ge=(e,t)=>({mode:V,setMode:q,selectedSearchSource:Z,setSelectedSearchSource:G,isAllSearchSourcesSelected:f.isAllSearchSourcesSelected,selectedSymbolType:j,setSelectedSymbolType:K,selectedIndex:ee,setSelectedIndex:te,onClose:n,setRenderSymbolSearchList:$,searchRef:ne,cachedInputValue:U,searchSpreads:Y,setSearchSpreads:X,handleListWidth:Ee,isSmallWidth:re,feedItems:me,isMobile:e,showSpreadActions:h,selectSearchOnInit:v,isTablet:t,selectedItem:he[ee],onSearchFeedReady:y,forceUpdate:se,placeholder:S,initialScreen:C,toggleExpand:Ce,openedItems:ae,onSubmit:Fe,onSearchComplete:g,footer:I,symbolTypes:O,contentItem:E,searchInput:_,emptyState:N,autofocus:H,upperCaseEnabled:Be,externalInput:W,handleKeyDown:fe?void 0:De,customSearchSymbols:L,searchSources:J}),ye=null!=T?T:A,be="exchange"===V?{title:(0,a.t)("Sources"),dataName:"exchanges-search",render:()=>r.createElement(ye,{searchSources:J}),additionalHeaderElement:r.createElement(_e,null),additionalElementPos:"before"}:{title:b,dataName:"symbol-search-items-dialog",render:()=>r.createElement(ke,null),additionalElementPos:"after"},Se=null!=w?w:"div";return r.createElement(Se,null,r.createElement(c.MatchMediaMap,{rules:d.DialogBreakpoints},({TabletSmall:e,TabletNormal:t})=>r.createElement(m.SymbolSearchItemsDialogContext.Provider,{value:ge(e,t)},r.createElement(ve,{...be,fullScreen:x,onClose:n,onClickOutside:n,onKeyDown:fe?void 0:De,isOpened:!0}))));function xe(e){if(e.contracts)return P.isOpenFirstContractEnabled&&e.contracts.length?void we(e,e.contracts[0]):void Ce(ze(e));we(e)}function Ce(e){const t=new Set(ae);t.has(e)?t.delete(e):t.add(e),ie(t)}function we(e,t){const r=t||e,{exchange:o}=e;if(u.enabled("show_spread_operators")){const e={name:r.symbol,exchange:o,prefix:r.prefix,fullName:r.full_name};if(Y)return Ie(e),void se();if(ne.current&&ne.current.value.includes(","))return void Ie(e)}const s=[{resolved:!0,symbol:He.QualifiedSources.fromSymbolSearchResult(e,t),result:r}];g(s),n()}function Ee(e){oe("fixed"===D||e<=640)}function Ie(e){if(!ne.current)return;const[t,n]=(0,l.getNextSymbolInputValueAndPosition)(ne.current,e,Be);ne.current.value=t,ne.current.setSelectionRange(n,n),ne.current.focus()}function De(e){switch((0,z.hashFromEvent)(e)){case 38:if(e.preventDefault(),0===ee)return;if(-1===ee)return void te(0);te(ee-1);break;case 40:if(e.preventDefault(),ee===me.length-1)return;te(ee+1);break;case 37:{if(-1===ee)return;const t=me[ee],{id:n,isOffset:r,onExpandClick:o}=t;if(r||!n||!ae.has(n)||!Boolean(o)||P.isOpenFirstContractEnabled&&Boolean(M)||(e.preventDefault(),Ce(n)),o)return void(null==M||M(e,!0));break}case 39:{if(-1===ee)return;const t=me[ee],{id:n,isOffset:r,onExpandClick:o}=t;if(r||!n||ae.has(n)||!Boolean(o)||P.isOpenFirstContractEnabled&&Boolean(M)||(e.preventDefault(),Ce(n)),o)return void(null==M||M(e,!0));break}case 13:e.preventDefault(),Fe(!0) +;break;case 27:e.preventDefault(),n()}null==M||M(e)}function Fe(e){if(!ne.current)return;const t=ne.current.value;if(u.enabled("show_spread_operators")&&Y&&t){if(t.includes(",")){const r=Ve(t);if(r.some(e=>!Pe(e)))return;return g(r.map(We)),void(e&&n())}if(!Pe(t))return;return g([{symbol:Be?t.toUpperCase():t,resolved:!1}]),void(e&&n())}if(t.includes(","))return g(Ve(t).map(We)),void(e&&n());if(-1!==ee){me[ee].onClick()}else{const r=Be?t.toUpperCase():t;if(r&&""!==r.trim()){const e=Ve(r);if(void 0!==ce&&-1===r.indexOf(":"))(function(e){let t=!1;return Promise.all(e.map(e=>-1!==e.indexOf(":")||t?Promise.resolve({symbol:e,resolved:!1}):(t=!0,async function(e){var t;null===(t=await(null==le?void 0:le.accountMetainfo()))||void 0===t||t.prefix;const n=await B({strictMatch:!0,serverHighlight:!1,text:e,lang:window.language||"",brokerId:ce,onlyTradable:!0,unhideSymbolSearchGroups:ue,exchange:void 0});if(0!==n.length){const e=n[0],{contracts:t}=e,r=t&&t.length>0?t[0]:void 0,o=e.prefix||e.exchange,s=r?r.symbol:e.symbol;if(o&&s)return{symbol:He.QualifiedSources.fromSymbolSearchResult(e,r),resolved:!0,result:e}}return{symbol:e,resolved:!1}}(e))))})(e).then(e=>g(e));else{const t=e.map(We);g(t)}}e&&n()}}function Pe(e){const t=(0,i.tokenize)(e),n=(0,l.validate)(t);if(n.errors.length||n.warnings.length)return!1;const r=me[ee];return!r||void 0===r.isExpanded||(r.onClick(),!1)}}function We(e){return{symbol:Be?e.toUpperCase():e,resolved:!1}}function Je(e,t){const{broker_symbol:n,symbol:r}=e;return`${r}${t&&n?` (${n})`:""}`}function ze(e){return e.symbol+e.exchange+e.description}function Ve(e){return e.split(",").map(e=>e.trim()).filter(e=>""!==e)}function qe(e){const{isMobile:t,isTablet:n}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext);return r.createElement(h.AdaptivePopupDialog,{...e,className:s()(Fe.dialog,!t&&(n?Fe.tabletDialog:Fe.desktopDialog)),backdrop:!0,draggable:!1})}},15983:(e,t,n)=>{"use strict";n.d(t,{validate:()=>a,flip:()=>i,stringifyTokens:()=>l,isSpread:()=>u,shortName:()=>h,getExchange:()=>p,getNextSymbolInputValueAndPosition:()=>v,getCurrentTokenParamsFromInput:()=>f});var r=n(67337),o=n(7785),s=n(81319);function a(e){const t={braceBalance:0,currentState:"var",warnings:[],errors:[]};if(r.enabled("charting_library_base")&&!r.enabled("show_spread_operators"))return t;let n="init";const o=[];for(let r=0;r"symbol"===t.type&&o.symbolTokenEscapeRe.test(t.value)?e+`'${t.value}'`:e+t.value,"")}function c(e){return"plus"===e||"minus"===e||"multiply"===e||"divide"===e||"power"===e}function u(e){return e.length>1&&e.some(e=>c(e.type))}function d(e){e=function(e){const t=[];for(const n of e)"whitespace"!==n.type&&t.push(n);return t}(e);const t=[],n=[];let r;for(let o=0;os.precedence&&(n[n.length-1].minPrecedence=s.precedence);break;case"openBrace":r={minPrecedence:1/0,openBraceIndex:o},n.push(r);break;case"closeBrace":{if(r=n.pop(),!r)break;const s=e[r.openBraceIndex-1],a=e[o+1],i=s&&("plus"===s.type||"multiply"===s.type);(!c(null==a?void 0:a.type)||(null==a?void 0:a.precedence)<=r.minPrecedence)&&(!c(null==s?void 0:s.type)||(null==s?void 0:s.precedence)<(null==r?void 0:r.minPrecedence)||(null==s?void 0:s.precedence)===(null==r?void 0:r.minPrecedence)&&i)&&(t.unshift(r.openBraceIndex),t.push(o),n.length&&n[n.length-1].minPrecedence>r.minPrecedence&&(n[n.length-1].minPrecedence=r.minPrecedence))}}}for(let n=t.length;n--;)e.splice(t[n],1);return e}function h(e){return d((0,o.tokenize)(e)).reduce((e,t)=>{if("symbol"!==t.type)return e+t.value;const[,n]=m(t);return n?e+n:e},"")}function p(e){const t=function(e){const t=(0,o.tokenize)(e),n=[];return t.forEach(e=>{if("symbol"!==e.type)return;const[t]=m(e);t&&n.push(t)}),n}(e);if(1===t.length)return t[0]}function m(e){const t=/^'?(?:([A-Z0-9_]+):)?(.*?)'?$/i.exec(e.value);return null===t?[void 0,void 0]:[t[1],t[2]]}function v(e,t,n){const r=e.value,[a,i]=f(e,n),l=(0,s.getSymbolFullName)(t),c=o.symbolTokenEscapeRe.test(l)?`'${l}'`:l;return[r.substring(0,i)+c+r.substring(i+a.length),i+c.length]}function f(e,t){const{value:n,selectionStart:r}=e,s=(0,o.tokenize)(t?n.toUpperCase():n),a=function(e,t){for(let n=0;n{"use strict";n.d(t,{exchangeSelectDisabled:()=>p,getAllSymbolTypesValue:()=>h,getAvailableExchanges:()=>c,getAvailableSearchSources:()=>l,getAvailableSymbolTypes:()=>d,getDefaultSearchSource:()=>i,getSymbolFullName:()=>a,isOpenFirstContractEnabled:()=>m});var r=n(28353),o=n(20882);class s{constructor(e){this._exchange=e}value(){return this._exchange.value}name(){return(0,o.isAllSearchSourcesSelected)(this)?(0,r.t)("All sources"):this._exchange.name}description(){return this._exchange.desc}country(){return this._exchange.country}providerId(){return this._exchange.providerId}group(){return this._exchange.group}includes(e){return function(e,t){const n=t.toLowerCase(),{name:r,desc:o,searchTerms:s}=e;return r.toLowerCase().includes(n)||o.toLowerCase().includes(n)||void 0!==s&&s.some(e=>e.toLowerCase().includes(n))}(this._exchange,e)}getRequestExchangeValue(){return this._exchange.value}getRequestCountryValue(){}}function a(e){if(e.fullName)return e.fullName;let t;return t=e.prefix||e.exchange?(e.prefix||e.exchange)+":"+e.name:e.name,t.replace(/<\/?[^>]+(>|$)/g,"")}function i(){const e=l();return e.find(o.isAllSearchSourcesSelected)||e[0]||null}function l(){return(0,o.createSearchSources)(s,u())}function c(){return u()}function u(){return window.ChartApiInstance.supportedExchangesList().map(e=>({...e,country:"",providerId:"",flag:""}))}function d(){return window.ChartApiInstance.supportedSymbolsTypes()}function h(){return""}function p(){return!1}const m=!1},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>r,dialogsOpenerManager:()=>o});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 o=new r},82708:(e,t,n)=>{"use strict";n.d(t,{safeShortName:()=>o});var r=n(82029);function o(e){try{return(0,r.shortName)(e)}catch(t){return e}}},7785:(e,t,n)=>{"use strict";n.d(t,{symbolTokenEscapeRe:()=>s,tokenize:()=>l});var r=n(67337);const o=r.enabled("charting_library_base")?/(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF^])(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!:.&])*|'.+?'/:/(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF])(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!|:.&])*|'.+?'/,s=/[+\-/*]/,a={number:/\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))|\.\d+/,incompleteNumber:/\./,symbol:o,incompleteSymbol:/'[^']*/,separatorPrefix:"###",openBrace:"(",closeBrace:")",plus:"+",minus:"-",multiply:"*",divide:"/",power:"^",whitespace:/[\0-\x20\s]+/,unparsed:null},i=new RegExp(Object.values(a).map(e=>{return null===e?"":`(${"string"==typeof e?(t=e,t.replace(/[\^$()[\]{}*+?|\\]/g,"\\$&")):e.source})`;var t}).filter(e=>""!==e).concat(".").join("|"),"g");function l(e){if(!e)return[] +;const t=[],n=Object.keys(a);let r;for(;r=i.exec(e);){let e=!1;for(let o=n.length;o--;)if(r[o+1]){n[o]&&t.push({value:r[o+1],type:n[o],precedence:0,offset:r.index}),e=!0;break}e||t.push({value:r[0],type:"unparsed",precedence:0,offset:r.index})}return t}},19785:(e,t,n)=>{"use strict";n.d(t,{rankedSearch:()=>o,createRegExpList:()=>s,getHighlightedChars:()=>a});var r=n(80643);function o(e){const{data:t,rules:n,queryString:o,isPreventedFromFiltering:s,primaryKey:a,secondaryKey:i=a,optionalPrimaryKey:l}=e;return t.map(e=>{const t=l&&e[l]?e[l]:e[a],s=e[i];let c,u=0;return n.forEach(e=>{var n,a,i,l;const{re:d,fullMatch:h}=e;return d.lastIndex=0,t&&t.toLowerCase()===o.toLowerCase()?(u=3,void(c=null===(n=t.match(h))||void 0===n?void 0:n.index)):(0,r.isString)(t)&&h.test(t)?(u=2,void(c=null===(a=t.match(h))||void 0===a?void 0:a.index)):(0,r.isString)(s)&&h.test(s)?(u=1,void(c=null===(i=s.match(h))||void 0===i?void 0:i.index)):void((0,r.isString)(s)&&d.test(s)&&(u=1,c=null===(l=s.match(d))||void 0===l?void 0:l.index))}),{matchPriority:u,matchIndex:c,item:e}}).filter(e=>s||e.matchPriority).sort((e,t)=>{if(e.matchPriorityt.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndexe)}function s(e,t){const n=[],r=e.toLowerCase(),o=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+i(e):i(e)})`).join("(.*?)")+"(.*)";return n.push({fullMatch:new RegExp(`(${i(e)})`,"i"),re:new RegExp("^"+o,"i"),reserveRe:new RegExp(o,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(r)&&n.push({fullMatch:t[r],re:t[r],fuzzyHighlight:!1}),n}function a(e,t,n){const r=[];return e&&n?(n.forEach(e=>{const{fullMatch:n,re:o,reserveRe:s}=e;n.lastIndex=0,o.lastIndex=0;const a=n.exec(t),i=a||o.exec(t)||s&&s.exec(t);if(e.fuzzyHighlight=!a,i)if(e.fuzzyHighlight){let e=i.index;for(let t=1;t{"use strict";n.d(t,{HighlightedText:()=>i});var r=n(59496),o=n(97754),s=n(19785),a=n(81524);function i(e){const{queryString:t,rules:n,text:i,className:l}=e,c=(0,r.useMemo)(()=>(0,s.getHighlightedChars)(t,i,n),[t,n,i]);return r.createElement(r.Fragment,null,c.length?i.split("").map((e,t)=>r.createElement(r.Fragment,{key:t},c[t]?r.createElement("span",{className:o(a.highlighted,l)},e):r.createElement("span",null,e))):i)}},78036:(e,t,n)=>{"use strict";n.d(t,{useEnsuredContext:()=>s});var r=n(59496),o=n(88537);function s(e){return(0,o.ensureNotNull)((0,r.useContext)(e))}},36947:(e,t,n)=>{"use strict";n.d(t,{useForceUpdate:()=>o});var r=n(59496);const o=()=>{const[,e]=(0,r.useReducer)((e,t)=>e+1,0);return e}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var r=n(59496),o=n(39640);function s(e){ +const{click:t,mouseDown:n,touchEnd:s,touchStart:a,handler:i,reference:l,ownerDocument:c=document}=e,u=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:s,touchStart:a},r=l?l.current:u.current;return(0,o.addOutsideEventListener)(d.current,r,i,c,e)},[t,n,s,a,i]),l||u}},77975:(e,t,n)=>{"use strict";n.d(t,{useWatchedValueReadonly:()=>o});var r=n(59496);const o=(e,t=!1)=>{const n="watchedValue"in e?e.watchedValue:void 0,o="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[s,a]=(0,r.useState)(n?n.value():o);return(t?r.useLayoutEffect:r.useEffect)(()=>{if(n){a(n.value());const e=e=>a(e);return n.subscribe(e),()=>n.unsubscribe(e)}return()=>{}},[n]),s}},84877:(e,t,n)=>{"use strict";n.d(t,{MatchMediaMap:()=>a});var r=n(59496),o=n(66783),s=n.n(o);class a extends r.Component{constructor(e){super(e),this._handleMediaChange=()=>{const e=l(this.state.queries,(e,t)=>t.matches);let t=!1;for(const n in e)if(e.hasOwnProperty(n)&&this.state.matches[n]!==e[n]){t=!0;break}t&&this.setState({matches:e})};const{rules:t}=this.props;this.state=i(t)}shouldComponentUpdate(e,t){return!s()(e,this.props)||(!s()(t.rules,this.state.rules)||!s()(t.matches,this.state.matches))}componentDidMount(){this._migrate(null,this.state.queries)}componentDidUpdate(e,t){s()(e.rules,this.props.rules)||this._migrate(t.queries,this.state.queries)}componentWillUnmount(){this._migrate(this.state.queries,null)}render(){return this.props.children(this.state.matches)}static getDerivedStateFromProps(e,t){if(s()(e.rules,t.rules))return null;const{rules:n}=e;return i(n)}_migrate(e,t){null!==e&&l(e,(e,t)=>{t.removeListener(this._handleMediaChange)}),null!==t&&l(t,(e,t)=>{t.addListener(this._handleMediaChange)})}}function i(e){const t=l(e,(e,t)=>window.matchMedia(t));return{queries:t,matches:l(t,(e,t)=>t.matches),rules:{...e}}}function l(e,t){const n={};for(const r in e)e.hasOwnProperty(r)&&(n[r]=t(r,e[r]));return n}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>o});var r=n(59496);class o extends r.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)}}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>a});var r=n(59496),o=n(97754),s=n(91626);function a(e){return r.createElement("div",{className:o(s.separator,e.className)})}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>o});var r=n(58095);function o(e){const{children:t,...n}=e;return t((0,r.useOutsideEvent)(n))}},88216:(e,t,n)=>{"use strict" +;n.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>i});var r=n(88537);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 s{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 a=new WeakMap;function i(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,r.ensureDefined)(a.get(t));{const t=new s(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 a.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>s});var r=n(59496),o=n(65718);function s(e){return class extends r.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const s=r.createElement(e,{...this.props,zIndex:150});return"parent"===n?s:r.createElement(o.Portal,null,s)}}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>l,PortalContext:()=>c});var r=n(59496),o=n(87995),s=n(9423),a=n(88216),i=n(50655);class l extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.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(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,a.getRootOverlapManager)():this.context}}l.contextType=i.SlotContext;const c=r.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>o,SlotContext:()=>s});var r=n(59496);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 s=r.createContext(null)},61074:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>a});var r=n(59496),o=n(97754),s=n(33134);n(24780);function a(e){const t=o(e.className,"tv-spinner","tv-spinner--shown","tv-spinner--size_"+s.spinnerSizeMap[e.size||s.DEFAULT_SIZE]);return r.createElement("div",{className:t,style:e.style,role:"progressbar"})}},10381:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetCaret:()=>l});var r=n(59496),o=n(97754),s=n(9745),a=n(40367),i=n(81268);function l(e){const{dropped:t,className:n}=e;return r.createElement(s.Icon,{className:o(n,a.icon,{[a.dropped]:t}),icon:i})}},81268:e=>{e.exports=''},64360:e=>{e.exports=''},29601:e=>{e.exports=''},37257:e=>{e.exports=''},70029:e=>{e.exports=''},72802:e=>{ +e.exports=''},5639:e=>{e.exports=''},88142:e=>{e.exports=''},20832:e=>{e.exports=''},19586:e=>{e.exports=''},21740:e=>{e.exports=''},43088:e=>{e.exports=''},38927:e=>{e.exports=''},56584:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/1614841ed51c3d3bebf01c2a573e83ee.svg b/charting_library/bundles/1614841ed51c3d3bebf01c2a573e83ee.svg new file mode 100644 index 00000000..316ce4f3 --- /dev/null +++ b/charting_library/bundles/1614841ed51c3d3bebf01c2a573e83ee.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1692.6d50aa9403d6d71eae69.css b/charting_library/bundles/1692.6d50aa9403d6d71eae69.css new file mode 100644 index 00000000..5da417bb --- /dev/null +++ b/charting_library/bundles/1692.6d50aa9403d6d71eae69.css @@ -0,0 +1 @@ +.button-h8C3IU2n{cursor:default;-webkit-user-select:none;user-select:none}.button-children-h8C3IU2n{display:block;overflow:hidden;padding:0 2px 0 6px;text-overflow:ellipsis;white-space:nowrap;width:100%}.button-children-h8C3IU2n.hiddenArrow-h8C3IU2n{padding-right:6px}.invisibleFocusHandler-h8C3IU2n{height:0;opacity:0;pointer-events:none;width:0}.placeholder-fKHYe1Lk{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .placeholder-fKHYe1Lk{color:#434651} \ No newline at end of file diff --git a/charting_library/bundles/1692.6d50aa9403d6d71eae69.rtl.css b/charting_library/bundles/1692.6d50aa9403d6d71eae69.rtl.css new file mode 100644 index 00000000..3e50bfad --- /dev/null +++ b/charting_library/bundles/1692.6d50aa9403d6d71eae69.rtl.css @@ -0,0 +1 @@ +.button-h8C3IU2n{cursor:default;-webkit-user-select:none;user-select:none}.button-children-h8C3IU2n{display:block;overflow:hidden;padding:0 6px 0 2px;text-overflow:ellipsis;white-space:nowrap;width:100%}.button-children-h8C3IU2n.hiddenArrow-h8C3IU2n{padding-left:6px}.invisibleFocusHandler-h8C3IU2n{height:0;opacity:0;pointer-events:none;width:0}.placeholder-fKHYe1Lk{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .placeholder-fKHYe1Lk{color:#434651} \ No newline at end of file diff --git a/charting_library/bundles/1726.a9cb37f68d1221bfa750.css b/charting_library/bundles/1726.a9cb37f68d1221bfa750.css new file mode 100644 index 00000000..e58be8d4 --- /dev/null +++ b/charting_library/bundles/1726.a9cb37f68d1221bfa750.css @@ -0,0 +1 @@ +.purchaseBlock-8RcOLBfK{display:flex;flex-direction:column;margin-top:40px}.responsive-container-media-mf-legacy-phone .purchaseBlock-8RcOLBfK{align-items:center;flex-direction:row;justify-content:flex-end}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .purchaseBlock-8RcOLBfK{align-items:center;flex-direction:row;justify-content:flex-end}}.pageContainer-yKAVl1gH{position:relative}.spinnerContainer-yKAVl1gH{background-color:#fff;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s;z-index:4}html.theme-dark .spinnerContainer-yKAVl1gH{background-color:#000}.loading-yKAVl1gH{pointer-events:none}.hide-yKAVl1gH{opacity:1;transition:opacity 0s}.title-yKAVl1gH{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:600;line-height:28px;margin:0}html.theme-dark .title-yKAVl1gH{color:#fff}.highlight-yKAVl1gH{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;margin-bottom:16px}html.theme-dark .highlight-yKAVl1gH{color:#d1d4dc}.tabs-yKAVl1gH{-webkit-overflow-scrolling:touch;align-items:center;box-sizing:border-box;display:flex;height:38px;margin-bottom:-5px;margin-top:10px;overflow-x:scroll;padding:0 5px;scrollbar-width:none}.tabs-yKAVl1gH.sb-scrollbar-wrap{display:none}.tabs-yKAVl1gH::-webkit-scrollbar{display:none;height:0;width:0}.tabs-yKAVl1gH::-webkit-scrollbar-thumb,.tabs-yKAVl1gH::-webkit-scrollbar-track{display:none}.tabs-yKAVl1gH::-webkit-scrollbar-corner{display:none}@media screen and (min-width:768px){.tabs-yKAVl1gH{margin-top:22px;padding:0 0 0 5px}}.responsive-container-media-mf-phone-vertical .tabs-yKAVl1gH{margin-top:0}@media screen and (min-width:320px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .tabs-yKAVl1gH{margin-top:0}}.termsCheckboxContainer-yKAVl1gH{margin-top:16px}.responsive-container-media-mf-phone-landscape .termsCheckboxContainer-yKAVl1gH{margin-top:32px}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .termsCheckboxContainer-yKAVl1gH{margin-top:32px}}.purchaseBlock-yKAVl1gH{display:flex;flex-direction:column;margin-top:40px}.responsive-container-media-mf-legacy-phone .purchaseBlock-yKAVl1gH{align-items:center;flex-direction:row;justify-content:flex-end}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .purchaseBlock-yKAVl1gH{align-items:center;flex-direction:row;justify-content:flex-end}}.cardholderName-yKAVl1gH .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.title-3IsblctN{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:600;line-height:28px;padding:24px 0 8px}html.theme-dark .title-3IsblctN{color:#fff}@media screen and (min-width:768px){.title-3IsblctN{padding:40px 0 24px}}@media screen and (min-width:1280px){.title-3IsblctN{padding:30px 0 10px}}.responsive-container-media-mf-phone-vertical .title-3IsblctN{padding:24px 0 16px}@media screen and (min-width:320px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-3IsblctN{padding:24px 0 16px}}.responsive-container-media-mf-tablet-vertical .title-3IsblctN{padding:32px 0 8px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-3IsblctN{padding:32px 0 8px}}.cardForm-3IsblctN .formInput-3IsblctN{display:flex;flex-direction:column}.cardForm-3IsblctN .formInput-3IsblctN .input-3IsblctN{border:1px solid #d1d4dc;border-radius:4px;box-sizing:border-box;display:inline-block;font-size:14px;font-weight:600;height:48px;line-height:20px;padding:12px 8px;transition:border-color .3s;width:100%}html.theme-dark .cardForm-3IsblctN .formInput-3IsblctN .input-3IsblctN{border:1px solid #50535e}.cardForm-3IsblctN .button-container-3IsblctN{display:inline-block;position:relative}.cardForm-3IsblctN .addressField-3IsblctN .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries,.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-state,.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .order-input{border:1px solid #d1d4dc}@media (any-hover:hover){.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries:hover{border:1px solid #d1d4dc}}html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries,html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-state,html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .order-input{border:1px solid #50535e}@media (any-hover:hover){html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries:hover{border:1px solid #50535e}}.creditCardFormContainer-3IsblctN{border-radius:6px;display:flex;flex-direction:column}.creditCardFieldsContainer-3IsblctN{grid-gap:16px 16px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto}.responsive-container-media-mf-tablet-vertical .creditCardFieldsContainer-3IsblctN{align-items:flex-end;grid-template-columns:minmax(auto,50%) 1fr 1fr}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .creditCardFieldsContainer-3IsblctN{align-items:flex-end;grid-template-columns:minmax(auto,50%) 1fr 1fr}}.responsive-container-media-mf-desktop-large .creditCardFieldsContainer-3IsblctN{grid-template-columns:minmax(auto,50%) 1fr 1fr 1fr}@media screen and (min-width:1920px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .creditCardFieldsContainer-3IsblctN{grid-template-columns:minmax(auto,50%) 1fr 1fr 1fr}}.creditCardFieldsContainer-3IsblctN .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.creditCardWrapper-3IsblctN{display:flex;position:relative}.cardTypeIcon-3IsblctN{color:#d1d4dc;height:20px;position:absolute;right:6px;top:14px;width:32px}html.theme-dark .cardTypeIcon-3IsblctN{color:#50535e}.cardNumber-3IsblctN{grid-column:1/3}.responsive-container-media-mf-tablet-vertical .cardNumber-3IsblctN{grid-column:1}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .cardNumber-3IsblctN{grid-column:1}}.cardholderName-3IsblctN{grid-column:1/3}.responsive-container-media-mf-tablet-vertical .cardholderName-3IsblctN{grid-column:1}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .cardholderName-3IsblctN{grid-column:1}}.responsive-container-media-mf-desktop-large .cardholderName-3IsblctN{grid-column:auto}@media screen and (min-width:1920px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .cardholderName-3IsblctN{grid-column:auto}}.cardInput-3IsblctN{color:#131722;font-size:16px}html.theme-dark .cardInput-3IsblctN{color:#d1d4dc}.creditCardNumberInput-3IsblctN{padding-right:40px}#card-number.braintree-hosted-fields-focused,#cardholder-name.braintree-hosted-fields-focused,#cvv.braintree-hosted-fields-focused,#expiration-date.braintree-hosted-fields-focused,#postal-code.braintree-hosted-fields-focused,html.theme-dark #card-number.braintree-hosted-fields-focused,html.theme-dark #cardholder-name.braintree-hosted-fields-focused,html.theme-dark #cvv.braintree-hosted-fields-focused,html.theme-dark #expiration-date.braintree-hosted-fields-focused,html.theme-dark #postal-code.braintree-hosted-fields-focused{border-color:#2962ff}#card-number.braintree-hosted-fields-focused#card-number.braintree-hosted-fields-focused,#cardholder-name.braintree-hosted-fields-focused#cardholder-name.braintree-hosted-fields-focused,#cvv.braintree-hosted-fields-focused#cvv.braintree-hosted-fields-focused,#expiration-date.braintree-hosted-fields-focused#expiration-date.braintree-hosted-fields-focused,#postal-code.braintree-hosted-fields-focused#postal-code.braintree-hosted-fields-focused{border-width:2px;padding:11px}#card-number.braintree-hosted-fields-invalid,#cardholder-name.braintree-hosted-fields-invalid,#cvv.braintree-hosted-fields-invalid,#expiration-date.braintree-hosted-fields-invalid,#postal-code.braintree-hosted-fields-invalid{border-color:#f23645;border-width:1px;padding:12px}html.theme-dark #card-number.braintree-hosted-fields-invalid,html.theme-dark #cardholder-name.braintree-hosted-fields-invalid,html.theme-dark #cvv.braintree-hosted-fields-invalid,html.theme-dark #expiration-date.braintree-hosted-fields-invalid,html.theme-dark #postal-code.braintree-hosted-fields-invalid{border-color:#b22833}#card-number.braintree-hosted-fields-valid,#cardholder-name.braintree-hosted-fields-valid,#cvv.braintree-hosted-fields-valid,#expiration-date.braintree-hosted-fields-valid,#postal-code.braintree-hosted-fields-valid{border-color:#06806b;border-width:1px;padding:12px}html.theme-dark #card-number.braintree-hosted-fields-valid,html.theme-dark #cardholder-name.braintree-hosted-fields-valid,html.theme-dark #cvv.braintree-hosted-fields-valid,html.theme-dark #expiration-date.braintree-hosted-fields-valid,html.theme-dark #postal-code.braintree-hosted-fields-valid{border-color:#06806b}.nameInput-3IsblctN{padding-left:11px}.radio-MOJsE6Ae{margin:24px 0}.title-MOJsE6Ae{padding:24px 0 0}.responsive-container-media-mf-tablet-vertical .title-MOJsE6Ae{padding:20px 0 0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-MOJsE6Ae{padding:20px 0 0}}.responsive-container-media-mf-laptop .title-MOJsE6Ae{padding:32px 0 0}@media screen and (min-width:1280px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-MOJsE6Ae{padding:32px 0 0}}.actionBlock-MOJsE6Ae{align-items:flex-start;display:flex;flex-direction:column}.action-MOJsE6Ae{font-feature-settings:"tnum" on,"lnum" on;background:none;border:none;color:#2962ff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;padding:0;transition:color .35s ease}html.theme-dark .action-MOJsE6Ae{color:#2962ff}.action-MOJsE6Ae:visited{fill:#2962ff;color:#2962ff}html.theme-dark .action-MOJsE6Ae:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.action-MOJsE6Ae:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .action-MOJsE6Ae:hover{fill:#1e53e5;color:#1e53e5}}.action-MOJsE6Ae:focus{outline:auto}.action-MOJsE6Ae:focus-visible{outline:auto}.action-MOJsE6Ae:focus:not(:focus-visible){outline:none}.action-MOJsE6Ae:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .action-MOJsE6Ae:active{fill:#1848cc;color:#1848cc}.icon-MOJsE6Ae{align-items:center;display:flex;margin-right:8px}.radioButton-MOJsE6Ae{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .radioButton-MOJsE6Ae{color:#fff}.radioButton-MOJsE6Ae.radioButtonColor-MOJsE6Ae span{color:#131722}html.theme-dark .radioButton-MOJsE6Ae.radioButtonColor-MOJsE6Ae span{color:#fff}.iconWrapper-MOJsE6Ae{display:flex}.title-eSrDwvYT{padding-bottom:16px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-eSrDwvYT{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-eSrDwvYT{padding-top:32px}}.description-eSrDwvYT{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;margin-bottom:32px}.description-eSrDwvYT,.description-eSrDwvYT .accent-eSrDwvYT{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.description-eSrDwvYT .accent-eSrDwvYT{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:600}.description-eSrDwvYT .block-eSrDwvYT{margin-bottom:8px}.description-eSrDwvYT .listOfCrypto-eSrDwvYT{list-style:none;margin-bottom:16px}.description-eSrDwvYT .vital-eSrDwvYT{margin-bottom:24px}.link-eSrDwvYT{color:#2962ff;cursor:pointer;transition:color .35s ease}html.theme-dark .link-eSrDwvYT{color:#2962ff}.link-eSrDwvYT:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-eSrDwvYT:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-eSrDwvYT:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-eSrDwvYT:hover{fill:#1e53e5;color:#1e53e5}}.link-eSrDwvYT:focus{outline:auto}.link-eSrDwvYT:focus-visible{outline:auto}.link-eSrDwvYT:focus:not(:focus-visible){outline:none}.link-eSrDwvYT:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-eSrDwvYT:active{fill:#1848cc;color:#1848cc}.link-Gp0emyGe{color:#2962ff;cursor:pointer;transition:color .35s ease}html.theme-dark .link-Gp0emyGe{color:#2962ff}.link-Gp0emyGe:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-Gp0emyGe:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-Gp0emyGe:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-Gp0emyGe:hover{fill:#1e53e5;color:#1e53e5}}.link-Gp0emyGe:focus{outline:auto}.link-Gp0emyGe:focus-visible{outline:auto}.link-Gp0emyGe:focus:not(:focus-visible){outline:none}.link-Gp0emyGe:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-Gp0emyGe:active{fill:#1848cc;color:#1848cc}.description-Gp0emyGe{font-size:16px;line-height:24px;margin-bottom:20px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .description-Gp0emyGe{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .description-Gp0emyGe{padding-top:32px}}.title-hLncX8Ky{padding-bottom:10px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-hLncX8Ky{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-hLncX8Ky{padding-top:32px}}.description-hLncX8Ky{font-size:16px;line-height:24px;margin-bottom:20px}.paypalButton-hLncX8Ky{margin:0 auto;max-width:100%;position:relative;text-align:right;width:-webkit-fill-available;width:fill-available}.responsive-container-media-mf-legacy-phone .paypalButton-hLncX8Ky{width:250px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .paypalButton-hLncX8Ky{width:250px}}.disabled-hLncX8Ky{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;z-index:100}.hidden-hLncX8Ky{display:none}.title-vJ96rZdD{padding-bottom:10px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-vJ96rZdD{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-vJ96rZdD{padding-top:32px}}.description-vJ96rZdD{font-size:16px;line-height:24px;margin-bottom:20px}.apple-pay-container-vJ96rZdD{height:48px;margin:0 auto;max-width:750px;min-width:240px;position:relative;width:100%}.termsCheckboxContainer-vJ96rZdD{margin-top:24px}.hidden-vJ96rZdD{display:none}@supports (-webkit-appearance:-apple-pay-button){.apple-pay-button-with-text-vJ96rZdD{-apple-pay-button-type:buy;-webkit-appearance:-apple-pay-button;display:inline-block;height:inherit;width:100%}.apple-pay-button-with-text-white-vJ96rZdD{-apple-pay-button-style:#000}.apple-pay-button-with-text-black-vJ96rZdD{-apple-pay-button-style:#fff}.apple-pay-button-with-text-vJ96rZdD>*{display:none}}.title-9F7Jqc3D{padding-bottom:10px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-9F7Jqc3D{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-9F7Jqc3D{padding-top:32px}}.description-9F7Jqc3D{font-size:16px;line-height:24px;margin-bottom:20px}.google-pay-container-9F7Jqc3D{height:48px;max-width:100%;min-width:240px;position:relative;width:100%}@media screen and (min-width:1024px){.google-pay-container-9F7Jqc3D{height:40px}}.google-pay-button-9F7Jqc3D{height:inherit}.hidden-9F7Jqc3D{display:none}.success-zMRBI9iz{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px 20px}.responsive-container-media-mf-legacy-phone .success-zMRBI9iz{padding-top:120px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .success-zMRBI9iz{padding-top:120px}}.successText-zMRBI9iz{font-size:24px;font-weight:600;line-height:32px;margin:24px 0 8px}.descriptionText-zMRBI9iz{font-size:18px;line-height:28px}.lastText-zMRBI9iz{margin-bottom:40px}.icon-zMRBI9iz{height:120px;width:120px}.button-zMRBI9iz{width:100%}.responsive-container-media-mf-legacy-phone .button-zMRBI9iz{width:auto}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .button-zMRBI9iz{width:auto}}.error-SnZhQzb8{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px;text-align:center}.responsive-container-media-mf-legacy-phone .error-SnZhQzb8{padding-top:120px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .error-SnZhQzb8{padding-top:120px}}.responsive-container-media-mf-tablet-vertical .error-SnZhQzb8{padding-left:40px;padding-right:40px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .error-SnZhQzb8{padding-left:40px;padding-right:40px}}.errorCountry-SnZhQzb8{align-items:start;padding:32px 0 0;text-align:initial}.responsive-container-media-mf-legacy-phone .errorCountry-SnZhQzb8{padding-top:32px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .errorCountry-SnZhQzb8{padding-top:32px}}.responsive-container-media-mf-tablet-vertical .errorCountry-SnZhQzb8{padding-left:0;padding-right:0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .errorCountry-SnZhQzb8{padding-left:0;padding-right:0}}.errorTitleWrapper-SnZhQzb8{align-items:center;display:flex;margin-bottom:8px}.errorText-SnZhQzb8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px;margin:16px 0 8px}.errorCountryText-SnZhQzb8{margin:0 0 0 16px}.descriptionText-SnZhQzb8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.descriptionText-SnZhQzb8:first-letter{text-transform:uppercase}.lastText-SnZhQzb8{margin-bottom:32px}.errorCountryLastText-SnZhQzb8{margin-bottom:16px}.secondButton-SnZhQzb8:first-child{margin:0 0 16px}.responsive-container-media-mf-legacy-phone .secondButton-SnZhQzb8:first-child{margin:0 16px 0 0}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .secondButton-SnZhQzb8:first-child{margin:0 16px 0 0}}.icon-SnZhQzb8{height:44px;width:44px}.button-SnZhQzb8{width:100%}.responsive-container-media-mf-legacy-phone .button-SnZhQzb8{width:auto}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .button-SnZhQzb8{width:auto}}.solutionWrapper-SnZhQzb8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:20px;padding-left:27px}.solutions-SnZhQzb8{text-align:left}.itemLink-SnZhQzb8{color:#2962ff}.price-row-RlX7XxW1{color:#131722;display:flex;margin-top:16px}html.theme-dark .price-row-RlX7XxW1{color:#d1d4dc}.responsive-container-media-mf-phone-landscape .price-row-RlX7XxW1{margin-top:32px}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .price-row-RlX7XxW1{margin-top:32px}}.total-title-RlX7XxW1{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.total-number-RlX7XxW1,.total-title-RlX7XxW1{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.total-number-RlX7XxW1{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600;line-height:24px;margin-left:auto}.tax-row-RlX7XxW1{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .tax-row-RlX7XxW1{color:#787b86}.policyCheckbox-LSoXiIEh{align-items:center;display:flex;flex-direction:row}.checkboxLabel-LSoXiIEh{font-feature-settings:"tnum" on,"lnum" on;color:#131722;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;line-height:21px;margin-left:8px;margin-top:-2px}html.theme-dark .checkboxLabel-LSoXiIEh{color:#fff}.checkboxLabel-LSoXiIEh .link{color:#2962ff;transition:color .35s ease}html.theme-dark .checkboxLabel-LSoXiIEh .link{color:#2962ff}.checkboxLabel-LSoXiIEh .link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .checkboxLabel-LSoXiIEh .link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.checkboxLabel-LSoXiIEh .link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .checkboxLabel-LSoXiIEh .link:hover{fill:#1e53e5;color:#1e53e5}}.checkboxLabel-LSoXiIEh .link:focus{outline:auto}.checkboxLabel-LSoXiIEh .link:focus-visible{outline:auto}.checkboxLabel-LSoXiIEh .link:focus:not(:focus-visible){outline:none}.checkboxLabel-LSoXiIEh .link:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .checkboxLabel-LSoXiIEh .link:active{fill:#1848cc;color:#1848cc}.checkbox-LSoXiIEh{align-self:flex-start;display:flex}.round-tabs-K7mS8XY3{display:flex}.round-tabs-K7mS8XY3.align-start-K7mS8XY3{justify-content:flex-start}.round-tabs-K7mS8XY3.align-center-K7mS8XY3{justify-content:center}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}@media (any-hover:hover){.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:hover{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:hover{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#363a45;--ui-lib-button-default-color-bg:#363a45}}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:active{--ui-lib-button-default-color-bg:#d1d4dc;--ui-lib-button-default-color-border:#d1d4dc;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#434651;--ui-lib-button-default-color-bg:#434651}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-bg:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#fff}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#2962ff}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3{--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3{--ui-lib-button-default-color-content:#d1d4dc}@media (any-hover:hover){.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:hover{--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:hover{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#363a45}}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:active{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}.size-xsmall-K7mS8XY3{margin:-6px 0}.size-xsmall-K7mS8XY3 .tab-K7mS8XY3{margin-bottom:6px;margin-top:6px}.size-xsmall-K7mS8XY3 .tab-K7mS8XY3:not(:last-child){margin-right:12px}.size-small-K7mS8XY3{margin:-8px 0}.size-small-K7mS8XY3 .tab-K7mS8XY3{margin-bottom:8px;margin-top:8px}.size-small-K7mS8XY3 .tab-K7mS8XY3:not(:last-child){margin-right:16px}.size-large-K7mS8XY3{margin:-8px 0}.size-large-K7mS8XY3 .tab-K7mS8XY3{margin-bottom:8px;margin-top:8px}.size-large-K7mS8XY3 .tab-K7mS8XY3:not(:last-child){margin-right:16px}.addressField-MIHsGXyq .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.invalidInput-MIHsGXyq{font-size:16px}.focusInput-MIHsGXyq{color:#131722;font-size:16px}html.theme-dark .focusInput-MIHsGXyq{color:#d1d4dc}.cardInput-MIHsGXyq{color:#c5cbce;font-size:16px}.validInput-MIHsGXyq{font-size:16px}.addressFieldsContainer-MIHsGXyq{grid-gap:17px 20px;display:grid;grid-template-columns:1fr;grid-template-rows:auto}.responsive-container-media-mf-phone-landscape .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr}}.responsive-container-media-mf-desktop-large .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr 1fr}@media screen and (min-width:1920px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr 1fr}}.additionalFieldsContainer-MIHsGXyq{grid-gap:17px 20px;display:grid;grid-column:1/2;grid-template-columns:1fr;grid-template-rows:auto}.responsive-container-media-mf-phone-landscape .additionalFieldsContainer-MIHsGXyq{grid-column:1/3;grid-template-columns:1fr 1fr}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .additionalFieldsContainer-MIHsGXyq{grid-column:1/3;grid-template-columns:1fr 1fr}} \ No newline at end of file diff --git a/charting_library/bundles/1726.a9cb37f68d1221bfa750.rtl.css b/charting_library/bundles/1726.a9cb37f68d1221bfa750.rtl.css new file mode 100644 index 00000000..4b568d6f --- /dev/null +++ b/charting_library/bundles/1726.a9cb37f68d1221bfa750.rtl.css @@ -0,0 +1 @@ +.purchaseBlock-8RcOLBfK{display:flex;flex-direction:column;margin-top:40px}.responsive-container-media-mf-legacy-phone .purchaseBlock-8RcOLBfK{align-items:center;flex-direction:row;justify-content:flex-end}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .purchaseBlock-8RcOLBfK{align-items:center;flex-direction:row;justify-content:flex-end}}.pageContainer-yKAVl1gH{position:relative}.spinnerContainer-yKAVl1gH{background-color:#fff;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s;z-index:4}html.theme-dark .spinnerContainer-yKAVl1gH{background-color:#000}.loading-yKAVl1gH{pointer-events:none}.hide-yKAVl1gH{opacity:1;transition:opacity 0s}.title-yKAVl1gH{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:600;line-height:28px;margin:0}html.theme-dark .title-yKAVl1gH{color:#fff}.highlight-yKAVl1gH{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;margin-bottom:16px}html.theme-dark .highlight-yKAVl1gH{color:#d1d4dc}.tabs-yKAVl1gH{-webkit-overflow-scrolling:touch;align-items:center;box-sizing:border-box;display:flex;height:38px;margin-bottom:-5px;margin-top:10px;overflow-x:scroll;padding:0 5px;scrollbar-width:none}.tabs-yKAVl1gH.sb-scrollbar-wrap{display:none}.tabs-yKAVl1gH::-webkit-scrollbar{display:none;height:0;width:0}.tabs-yKAVl1gH::-webkit-scrollbar-thumb,.tabs-yKAVl1gH::-webkit-scrollbar-track{display:none}.tabs-yKAVl1gH::-webkit-scrollbar-corner{display:none}@media screen and (min-width:768px){.tabs-yKAVl1gH{margin-top:22px;padding:0 5px 0 0}}.responsive-container-media-mf-phone-vertical .tabs-yKAVl1gH{margin-top:0}@media screen and (min-width:320px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .tabs-yKAVl1gH{margin-top:0}}.termsCheckboxContainer-yKAVl1gH{margin-top:16px}.responsive-container-media-mf-phone-landscape .termsCheckboxContainer-yKAVl1gH{margin-top:32px}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .termsCheckboxContainer-yKAVl1gH{margin-top:32px}}.purchaseBlock-yKAVl1gH{display:flex;flex-direction:column;margin-top:40px}.responsive-container-media-mf-legacy-phone .purchaseBlock-yKAVl1gH{align-items:center;flex-direction:row;justify-content:flex-end}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .purchaseBlock-yKAVl1gH{align-items:center;flex-direction:row;justify-content:flex-end}}.cardholderName-yKAVl1gH .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.title-3IsblctN{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:600;line-height:28px;padding:24px 0 8px}html.theme-dark .title-3IsblctN{color:#fff}@media screen and (min-width:768px){.title-3IsblctN{padding:40px 0 24px}}@media screen and (min-width:1280px){.title-3IsblctN{padding:30px 0 10px}}.responsive-container-media-mf-phone-vertical .title-3IsblctN{padding:24px 0 16px}@media screen and (min-width:320px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-3IsblctN{padding:24px 0 16px}}.responsive-container-media-mf-tablet-vertical .title-3IsblctN{padding:32px 0 8px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-3IsblctN{padding:32px 0 8px}}.cardForm-3IsblctN .formInput-3IsblctN{display:flex;flex-direction:column}.cardForm-3IsblctN .formInput-3IsblctN .input-3IsblctN{border:1px solid #d1d4dc;border-radius:4px;box-sizing:border-box;display:inline-block;font-size:14px;font-weight:600;height:48px;line-height:20px;padding:12px 8px;transition:border-color .3s;width:100%}html.theme-dark .cardForm-3IsblctN .formInput-3IsblctN .input-3IsblctN{border:1px solid #50535e}.cardForm-3IsblctN .button-container-3IsblctN{display:inline-block;position:relative}.cardForm-3IsblctN .addressField-3IsblctN .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries,.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-state,.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .order-input{border:1px solid #d1d4dc}@media (any-hover:hover){.cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries:hover{border:1px solid #d1d4dc}}html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries,html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-state,html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .order-input{border:1px solid #50535e}@media (any-hover:hover){html.theme-dark .cardForm-3IsblctN .addressField-3IsblctN .order-field-container .choice-countries:hover{border:1px solid #50535e}}.creditCardFormContainer-3IsblctN{border-radius:6px;display:flex;flex-direction:column}.creditCardFieldsContainer-3IsblctN{grid-gap:16px 16px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto}.responsive-container-media-mf-tablet-vertical .creditCardFieldsContainer-3IsblctN{align-items:flex-end;grid-template-columns:minmax(auto,50%) 1fr 1fr}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .creditCardFieldsContainer-3IsblctN{align-items:flex-end;grid-template-columns:minmax(auto,50%) 1fr 1fr}}.responsive-container-media-mf-desktop-large .creditCardFieldsContainer-3IsblctN{grid-template-columns:minmax(auto,50%) 1fr 1fr 1fr}@media screen and (min-width:1920px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .creditCardFieldsContainer-3IsblctN{grid-template-columns:minmax(auto,50%) 1fr 1fr 1fr}}.creditCardFieldsContainer-3IsblctN .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.creditCardWrapper-3IsblctN{display:flex;position:relative}.cardTypeIcon-3IsblctN{color:#d1d4dc;height:20px;position:absolute;right:6px;top:14px;width:32px}html.theme-dark .cardTypeIcon-3IsblctN{color:#50535e}.cardNumber-3IsblctN{grid-column:1/3}.responsive-container-media-mf-tablet-vertical .cardNumber-3IsblctN{grid-column:1}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .cardNumber-3IsblctN{grid-column:1}}.cardholderName-3IsblctN{grid-column:1/3}.responsive-container-media-mf-tablet-vertical .cardholderName-3IsblctN{grid-column:1}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .cardholderName-3IsblctN{grid-column:1}}.responsive-container-media-mf-desktop-large .cardholderName-3IsblctN{grid-column:auto}@media screen and (min-width:1920px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .cardholderName-3IsblctN{grid-column:auto}}.cardInput-3IsblctN{color:#131722;font-size:16px}html.theme-dark .cardInput-3IsblctN{color:#d1d4dc}.creditCardNumberInput-3IsblctN{padding-left:40px}#card-number.braintree-hosted-fields-focused,#cardholder-name.braintree-hosted-fields-focused,#cvv.braintree-hosted-fields-focused,#expiration-date.braintree-hosted-fields-focused,#postal-code.braintree-hosted-fields-focused,html.theme-dark #card-number.braintree-hosted-fields-focused,html.theme-dark #cardholder-name.braintree-hosted-fields-focused,html.theme-dark #cvv.braintree-hosted-fields-focused,html.theme-dark #expiration-date.braintree-hosted-fields-focused,html.theme-dark #postal-code.braintree-hosted-fields-focused{border-color:#2962ff}#card-number.braintree-hosted-fields-focused#card-number.braintree-hosted-fields-focused,#cardholder-name.braintree-hosted-fields-focused#cardholder-name.braintree-hosted-fields-focused,#cvv.braintree-hosted-fields-focused#cvv.braintree-hosted-fields-focused,#expiration-date.braintree-hosted-fields-focused#expiration-date.braintree-hosted-fields-focused,#postal-code.braintree-hosted-fields-focused#postal-code.braintree-hosted-fields-focused{border-width:2px;padding:11px}#card-number.braintree-hosted-fields-invalid,#cardholder-name.braintree-hosted-fields-invalid,#cvv.braintree-hosted-fields-invalid,#expiration-date.braintree-hosted-fields-invalid,#postal-code.braintree-hosted-fields-invalid{border-color:#f23645;border-width:1px;padding:12px}html.theme-dark #card-number.braintree-hosted-fields-invalid,html.theme-dark #cardholder-name.braintree-hosted-fields-invalid,html.theme-dark #cvv.braintree-hosted-fields-invalid,html.theme-dark #expiration-date.braintree-hosted-fields-invalid,html.theme-dark #postal-code.braintree-hosted-fields-invalid{border-color:#b22833}#card-number.braintree-hosted-fields-valid,#cardholder-name.braintree-hosted-fields-valid,#cvv.braintree-hosted-fields-valid,#expiration-date.braintree-hosted-fields-valid,#postal-code.braintree-hosted-fields-valid{border-color:#06806b;border-width:1px;padding:12px}html.theme-dark #card-number.braintree-hosted-fields-valid,html.theme-dark #cardholder-name.braintree-hosted-fields-valid,html.theme-dark #cvv.braintree-hosted-fields-valid,html.theme-dark #expiration-date.braintree-hosted-fields-valid,html.theme-dark #postal-code.braintree-hosted-fields-valid{border-color:#06806b}.nameInput-3IsblctN{padding-right:11px}.radio-MOJsE6Ae{margin:24px 0}.title-MOJsE6Ae{padding:24px 0 0}.responsive-container-media-mf-tablet-vertical .title-MOJsE6Ae{padding:20px 0 0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-MOJsE6Ae{padding:20px 0 0}}.responsive-container-media-mf-laptop .title-MOJsE6Ae{padding:32px 0 0}@media screen and (min-width:1280px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-MOJsE6Ae{padding:32px 0 0}}.actionBlock-MOJsE6Ae{align-items:flex-start;display:flex;flex-direction:column}.action-MOJsE6Ae{font-feature-settings:"tnum" on,"lnum" on;background:none;border:none;color:#2962ff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;padding:0;transition:color .35s ease}html.theme-dark .action-MOJsE6Ae{color:#2962ff}.action-MOJsE6Ae:visited{fill:#2962ff;color:#2962ff}html.theme-dark .action-MOJsE6Ae:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.action-MOJsE6Ae:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .action-MOJsE6Ae:hover{fill:#1e53e5;color:#1e53e5}}.action-MOJsE6Ae:focus{outline:auto}.action-MOJsE6Ae:focus-visible{outline:auto}.action-MOJsE6Ae:focus:not(:focus-visible){outline:none}.action-MOJsE6Ae:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .action-MOJsE6Ae:active{fill:#1848cc;color:#1848cc}.icon-MOJsE6Ae{align-items:center;display:flex;margin-left:8px}.radioButton-MOJsE6Ae{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .radioButton-MOJsE6Ae{color:#fff}.radioButton-MOJsE6Ae.radioButtonColor-MOJsE6Ae span{color:#131722}html.theme-dark .radioButton-MOJsE6Ae.radioButtonColor-MOJsE6Ae span{color:#fff}.iconWrapper-MOJsE6Ae{display:flex}.title-eSrDwvYT{padding-bottom:16px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-eSrDwvYT{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-eSrDwvYT{padding-top:32px}}.description-eSrDwvYT{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;margin-bottom:32px}.description-eSrDwvYT,.description-eSrDwvYT .accent-eSrDwvYT{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.description-eSrDwvYT .accent-eSrDwvYT{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:600}.description-eSrDwvYT .block-eSrDwvYT{margin-bottom:8px}.description-eSrDwvYT .listOfCrypto-eSrDwvYT{list-style:none;margin-bottom:16px}.description-eSrDwvYT .vital-eSrDwvYT{margin-bottom:24px}.link-eSrDwvYT{color:#2962ff;cursor:pointer;transition:color .35s ease}html.theme-dark .link-eSrDwvYT{color:#2962ff}.link-eSrDwvYT:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-eSrDwvYT:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-eSrDwvYT:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-eSrDwvYT:hover{fill:#1e53e5;color:#1e53e5}}.link-eSrDwvYT:focus{outline:auto}.link-eSrDwvYT:focus-visible{outline:auto}.link-eSrDwvYT:focus:not(:focus-visible){outline:none}.link-eSrDwvYT:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-eSrDwvYT:active{fill:#1848cc;color:#1848cc}.link-Gp0emyGe{color:#2962ff;cursor:pointer;transition:color .35s ease}html.theme-dark .link-Gp0emyGe{color:#2962ff}.link-Gp0emyGe:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-Gp0emyGe:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-Gp0emyGe:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-Gp0emyGe:hover{fill:#1e53e5;color:#1e53e5}}.link-Gp0emyGe:focus{outline:auto}.link-Gp0emyGe:focus-visible{outline:auto}.link-Gp0emyGe:focus:not(:focus-visible){outline:none}.link-Gp0emyGe:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-Gp0emyGe:active{fill:#1848cc;color:#1848cc}.description-Gp0emyGe{font-size:16px;line-height:24px;margin-bottom:20px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .description-Gp0emyGe{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .description-Gp0emyGe{padding-top:32px}}.title-hLncX8Ky{padding-bottom:10px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-hLncX8Ky{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-hLncX8Ky{padding-top:32px}}.description-hLncX8Ky{font-size:16px;line-height:24px;margin-bottom:20px}.paypalButton-hLncX8Ky{margin:0 auto;max-width:100%;position:relative;text-align:left;width:-webkit-fill-available;width:fill-available}.responsive-container-media-mf-legacy-phone .paypalButton-hLncX8Ky{width:250px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .paypalButton-hLncX8Ky{width:250px}}.disabled-hLncX8Ky{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;z-index:100}.hidden-hLncX8Ky{display:none}.title-vJ96rZdD{padding-bottom:10px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-vJ96rZdD{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-vJ96rZdD{padding-top:32px}}.description-vJ96rZdD{font-size:16px;line-height:24px;margin-bottom:20px}.apple-pay-container-vJ96rZdD{height:48px;margin:0 auto;max-width:750px;min-width:240px;position:relative;width:100%}.termsCheckboxContainer-vJ96rZdD{margin-top:24px}.hidden-vJ96rZdD{display:none}@supports (-webkit-appearance:-apple-pay-button){.apple-pay-button-with-text-vJ96rZdD{-apple-pay-button-type:buy;-webkit-appearance:-apple-pay-button;display:inline-block;height:inherit;width:100%}.apple-pay-button-with-text-white-vJ96rZdD{-apple-pay-button-style:#000}.apple-pay-button-with-text-black-vJ96rZdD{-apple-pay-button-style:#fff}.apple-pay-button-with-text-vJ96rZdD>*{display:none}}.title-9F7Jqc3D{padding-bottom:10px;padding-top:24px}.responsive-container-media-mf-tablet-vertical .title-9F7Jqc3D{padding-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .title-9F7Jqc3D{padding-top:32px}}.description-9F7Jqc3D{font-size:16px;line-height:24px;margin-bottom:20px}.google-pay-container-9F7Jqc3D{height:48px;max-width:100%;min-width:240px;position:relative;width:100%}@media screen and (min-width:1024px){.google-pay-container-9F7Jqc3D{height:40px}}.google-pay-button-9F7Jqc3D{height:inherit}.hidden-9F7Jqc3D{display:none}.success-zMRBI9iz{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px 20px}.responsive-container-media-mf-legacy-phone .success-zMRBI9iz{padding-top:120px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .success-zMRBI9iz{padding-top:120px}}.successText-zMRBI9iz{font-size:24px;font-weight:600;line-height:32px;margin:24px 0 8px}.descriptionText-zMRBI9iz{font-size:18px;line-height:28px}.lastText-zMRBI9iz{margin-bottom:40px}.icon-zMRBI9iz{height:120px;width:120px}.button-zMRBI9iz{width:100%}.responsive-container-media-mf-legacy-phone .button-zMRBI9iz{width:auto}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .button-zMRBI9iz{width:auto}}.error-SnZhQzb8{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px;text-align:center}.responsive-container-media-mf-legacy-phone .error-SnZhQzb8{padding-top:120px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .error-SnZhQzb8{padding-top:120px}}.responsive-container-media-mf-tablet-vertical .error-SnZhQzb8{padding-left:40px;padding-right:40px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .error-SnZhQzb8{padding-left:40px;padding-right:40px}}.errorCountry-SnZhQzb8{align-items:start;padding:32px 0 0;text-align:initial}.responsive-container-media-mf-legacy-phone .errorCountry-SnZhQzb8{padding-top:32px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .errorCountry-SnZhQzb8{padding-top:32px}}.responsive-container-media-mf-tablet-vertical .errorCountry-SnZhQzb8{padding-left:0;padding-right:0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .errorCountry-SnZhQzb8{padding-left:0;padding-right:0}}.errorTitleWrapper-SnZhQzb8{align-items:center;display:flex;margin-bottom:8px}.errorText-SnZhQzb8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px;margin:16px 0 8px}.errorCountryText-SnZhQzb8{margin:0 16px 0 0}.descriptionText-SnZhQzb8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.descriptionText-SnZhQzb8:first-letter{text-transform:uppercase}.lastText-SnZhQzb8{margin-bottom:32px}.errorCountryLastText-SnZhQzb8{margin-bottom:16px}.secondButton-SnZhQzb8:first-child{margin:0 0 16px}.responsive-container-media-mf-legacy-phone .secondButton-SnZhQzb8:first-child{margin:0 0 0 16px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .secondButton-SnZhQzb8:first-child{margin:0 0 0 16px}}.icon-SnZhQzb8{height:44px;width:44px}.button-SnZhQzb8{width:100%}.responsive-container-media-mf-legacy-phone .button-SnZhQzb8{width:auto}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .button-SnZhQzb8{width:auto}}.solutionWrapper-SnZhQzb8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:20px;padding-right:27px}.solutions-SnZhQzb8{text-align:right}.itemLink-SnZhQzb8{color:#2962ff}.price-row-RlX7XxW1{color:#131722;display:flex;margin-top:16px}html.theme-dark .price-row-RlX7XxW1{color:#d1d4dc}.responsive-container-media-mf-phone-landscape .price-row-RlX7XxW1{margin-top:32px}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .price-row-RlX7XxW1{margin-top:32px}}.total-title-RlX7XxW1{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.total-number-RlX7XxW1,.total-title-RlX7XxW1{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.total-number-RlX7XxW1{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600;line-height:24px;margin-right:auto}.tax-row-RlX7XxW1{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .tax-row-RlX7XxW1{color:#787b86}.policyCheckbox-LSoXiIEh{align-items:center;display:flex;flex-direction:row}.checkboxLabel-LSoXiIEh{font-feature-settings:"tnum" on,"lnum" on;color:#131722;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;line-height:21px;margin-right:8px;margin-top:-2px}html.theme-dark .checkboxLabel-LSoXiIEh{color:#fff}.checkboxLabel-LSoXiIEh .link{color:#2962ff;transition:color .35s ease}html.theme-dark .checkboxLabel-LSoXiIEh .link{color:#2962ff}.checkboxLabel-LSoXiIEh .link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .checkboxLabel-LSoXiIEh .link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.checkboxLabel-LSoXiIEh .link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .checkboxLabel-LSoXiIEh .link:hover{fill:#1e53e5;color:#1e53e5}}.checkboxLabel-LSoXiIEh .link:focus{outline:auto}.checkboxLabel-LSoXiIEh .link:focus-visible{outline:auto}.checkboxLabel-LSoXiIEh .link:focus:not(:focus-visible){outline:none}.checkboxLabel-LSoXiIEh .link:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .checkboxLabel-LSoXiIEh .link:active{fill:#1848cc;color:#1848cc}.checkbox-LSoXiIEh{align-self:flex-start;display:flex}.round-tabs-K7mS8XY3{display:flex}.round-tabs-K7mS8XY3.align-start-K7mS8XY3{justify-content:flex-start}.round-tabs-K7mS8XY3.align-center-K7mS8XY3{justify-content:center}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}@media (any-hover:hover){.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:hover{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:hover{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#363a45;--ui-lib-button-default-color-bg:#363a45}}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:active{--ui-lib-button-default-color-bg:#d1d4dc;--ui-lib-button-default-color-border:#d1d4dc;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#434651;--ui-lib-button-default-color-bg:#434651}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-bg:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#fff}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-primary-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#2962ff}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3{--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3{--ui-lib-button-default-color-content:#d1d4dc}@media (any-hover:hover){.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:hover{--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:hover{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#363a45}}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:active{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}.round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .round-tabs-K7mS8XY3 .tab-K7mS8XY3.tab-ghost-K7mS8XY3.checked-K7mS8XY3{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}.size-xsmall-K7mS8XY3{margin:-6px 0}.size-xsmall-K7mS8XY3 .tab-K7mS8XY3{margin-bottom:6px;margin-top:6px}.size-xsmall-K7mS8XY3 .tab-K7mS8XY3:not(:last-child){margin-left:12px}.size-small-K7mS8XY3{margin:-8px 0}.size-small-K7mS8XY3 .tab-K7mS8XY3{margin-bottom:8px;margin-top:8px}.size-small-K7mS8XY3 .tab-K7mS8XY3:not(:last-child){margin-left:16px}.size-large-K7mS8XY3{margin:-8px 0}.size-large-K7mS8XY3 .tab-K7mS8XY3{margin-bottom:8px;margin-top:8px}.size-large-K7mS8XY3 .tab-K7mS8XY3:not(:last-child){margin-left:16px}.addressField-MIHsGXyq .order-field-container{margin-bottom:0;margin-left:0;margin-right:0}.invalidInput-MIHsGXyq{font-size:16px}.focusInput-MIHsGXyq{color:#131722;font-size:16px}html.theme-dark .focusInput-MIHsGXyq{color:#d1d4dc}.cardInput-MIHsGXyq{color:#c5cbce;font-size:16px}.validInput-MIHsGXyq{font-size:16px}.addressFieldsContainer-MIHsGXyq{grid-gap:17px 20px;display:grid;grid-template-columns:1fr;grid-template-rows:auto}.responsive-container-media-mf-phone-landscape .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr}}.responsive-container-media-mf-desktop-large .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr 1fr}@media screen and (min-width:1920px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .addressFieldsContainer-MIHsGXyq{grid-template-columns:1fr 1fr 1fr}}.additionalFieldsContainer-MIHsGXyq{grid-gap:17px 20px;display:grid;grid-column:1/2;grid-template-columns:1fr;grid-template-rows:auto}.responsive-container-media-mf-phone-landscape .additionalFieldsContainer-MIHsGXyq{grid-column:1/3;grid-template-columns:1fr 1fr}@media screen and (min-width:568px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .additionalFieldsContainer-MIHsGXyq{grid-column:1/3;grid-template-columns:1fr 1fr}} \ No newline at end of file diff --git a/charting_library/bundles/1729.6e10c6b53c02d0af602e.css b/charting_library/bundles/1729.6e10c6b53c02d0af602e.css new file mode 100644 index 00000000..e14a1fad --- /dev/null +++ b/charting_library/bundles/1729.6e10c6b53c02d0af602e.css @@ -0,0 +1 @@ +.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{cursor:default;height:1.2em;position:absolute;width:1.2em;z-index:2}.ui-slider .ui-slider-range{background-position:0 0;border:0;display:block;font-size:.7em;position:absolute;z-index:1}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{margin-left:-.6em;top:-.3em}.ui-slider-horizontal .ui-slider-range{height:100%;top:0}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{height:100px;width:.8em}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-bottom:-.6em;margin-left:0}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:absolute!important}.ui-helper-reset{border:0;font-size:100%;line-height:1.3;list-style:none;margin:0;outline:0;padding:0;text-decoration:none}.ui-helper-clearfix:after{clear:both;content:".";display:block;height:0;visibility:hidden}.ui-helper-clearfix{display:inline-block}* html .ui-helper-clearfix{height:1%}.ui-helper-clearfix{display:block}.ui-helper-zfix{filter:alpha(opacity=0);height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.ui-state-disabled{cursor:default!important}.ui-icon{background-repeat:no-repeat;display:block;overflow:hidden;text-indent:-99999px}.ui-widget-overlay{height:100%;left:0;position:absolute;top:0;width:100%}.ui-widget{font-size:1.1em}.ui-widget .ui-widget,.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-size:1em}.ui-widget-content{background:#fff 50% 50% repeat-x;border:1px solid #aaa;color:#6b6b6d}html.theme-dark .ui-widget-content{background:#1e222d 50% 50% repeat-x;color:#2f3241}.ui-widget-content a{color:#6b6b6d}html.theme-dark .ui-widget-content a{color:#2f3241}.ui-widget-header{background:#fafafa;border:1px solid #c9cbcd;color:#6b6b6d}html.theme-dark .ui-widget-header{background:#2f3241;border-color:#2f3241;color:#2f3241}.ui-widget-header a{color:#6b6b6d}html.theme-dark .ui-widget-header a{color:#2f3241}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{background:#fafafa;border:1px solid #d3d3d3;color:#555;font-weight:400}html.theme-dark .ui-state-default,html.theme-dark .ui-widget-content .ui-state-default,html.theme-dark .ui-widget-header .ui-state-default{color:#8b8f95}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}html.theme-dark .ui-state-default a,html.theme-dark .ui-state-default a:link,html.theme-dark .ui-state-default a:visited{color:#8b8f95}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{background:#dadada;border:1px solid #999;color:#212121;font-weight:400}.ui-state-hover a{color:#212121;text-decoration:none}@media (any-hover:hover){.ui-state-hover a:hover{color:#212121;text-decoration:none}}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{background:#fff 50% 50% repeat-x;border:1px solid #aaa;color:#212121;font-weight:400}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-widget :active{outline:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{background:#fff8cf;border:1px solid #fde763;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{background:#fef1ec 50% 50% repeat-x;border:1px solid #cd0a0a;color:#cd0a0a}.ui-state-error-text,.ui-state-error a,.ui-widget-content .ui-state-error-text,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error-text,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{filter:alpha(opacity=70);font-weight:400;opacity:.7}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{background-image:none;filter:alpha(opacity=35);opacity:.35}.ui-widget-overlay,.ui-widget-shadow{background:#aaa 50% 50% repeat-x;filter:alpha(opacity=30);opacity:.3}.ui-widget-shadow{border-radius:8px;margin:-8px 0 0 -8px;padding:8px}.ui-resizable{position:relative}.ui-resizable-handle{display:block;font-size:.1px;position:absolute;z-index:99999}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;left:0;top:-5px;width:100%}.ui-resizable-s{bottom:-5px;cursor:s-resize;height:7px;left:0;width:100%}.ui-resizable-e{cursor:e-resize;height:100%;right:-5px;top:0;width:7px}.ui-resizable-w{cursor:w-resize;height:100%;left:-5px;top:0;width:7px}.ui-resizable-se{bottom:1px;cursor:se-resize;height:12px;right:1px;width:12px}.ui-resizable-sw{bottom:-5px;cursor:sw-resize;height:9px;left:-5px;width:9px}.ui-resizable-nw{cursor:nw-resize;height:9px;left:-5px;top:-5px;width:9px}.ui-resizable-ne{cursor:ne-resize;height:9px;right:-5px;top:-5px;width:9px}.ui-selectable-helper{border:1px dotted #000;position:absolute;z-index:100}.ui-autocomplete{cursor:default;position:absolute}* html .ui-autocomplete{width:1px}.ui-menu{display:block;float:left;list-style:none;margin:0;padding:2px}.ui-menu .ui-menu{margin-top:-3px}.ui-menu .ui-menu-item{zoom:1;clear:left;float:left;margin:0;padding:0;width:100%}.ui-menu .ui-menu-item a{zoom:1;display:block;line-height:1.5;padding:.2em .4em;text-decoration:none}.ui-menu .ui-menu-item a.ui-state-active,.ui-menu .ui-menu-item a.ui-state-hover{font-weight:400;margin:-1px}.ui-button{zoom:1;cursor:pointer;display:inline-block;margin-right:.1em;overflow:visible;padding:0;position:relative;text-align:center;text-decoration:none!important}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:1.4}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-icons-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon{margin-top:-8px;position:absolute;top:50%}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-icons-only .ui-button-icon-primary,.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary{left:.5em}.ui-button-icons-only .ui-button-icon-secondary,.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{border-bottom:0!important;float:left;list-style:none;margin:0 .2em 1px 0;padding:0;position:relative;top:1px;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a,.ui-tabs .ui-tabs-nav li.ui-tabs-selected a{cursor:text}.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li a{cursor:pointer}.ui-tabs .ui-tabs-panel{background:none;border-width:0;display:block;margin:5px 0}.ui-tabs .ui-tabs-hide{left:-10000px;position:absolute}.ui-datepicker{border:none;display:none;padding:0}.ui-datepicker .ui-datepicker-header{background-color:#2962ff;border:none;color:#fff;height:53px;line-height:53px;padding:0;position:relative}html.theme-dark .ui-datepicker .ui-datepicker-header{background-color:#21384d;color:#c5cbce}.ui-datepicker .ui-datepicker-header .ui-datepicker-next,.ui-datepicker .ui-datepicker-header .ui-datepicker-prev{background:none;border:none;cursor:pointer;height:100%;opacity:.8;position:absolute;top:0;width:40px}.ui-datepicker .ui-datepicker-header .ui-datepicker-next.ui-state-disabled,.ui-datepicker .ui-datepicker-header .ui-datepicker-prev.ui-state-disabled{opacity:.4}.ui-datepicker .ui-datepicker-header .ui-datepicker-next-hover:not(.ui-state-disabled),.ui-datepicker .ui-datepicker-header .ui-datepicker-prev-hover:not(.ui-state-disabled){background:none;border:none;opacity:1}.ui-datepicker .ui-datepicker-header .ui-datepicker-next{right:0}.ui-datepicker .ui-datepicker-header .ui-datepicker-next span{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14' width='9' height='14' fill='%23fff'%3E%3Cpath d='m2 0l-2 2 5 5-5 5 2 2 7-7z'/%3E%3C/svg%3E");height:14px;margin-left:-5px;width:9px}.ui-datepicker .ui-datepicker-header .ui-datepicker-prev{left:0}.ui-datepicker .ui-datepicker-header .ui-datepicker-prev span{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14' width='9' height='14' fill='%23fff'%3E%3Cpath d='m0 7l7-7 2 2-5 5 5 5-2 2z'/%3E%3C/svg%3E");height:14px;margin-left:-4px;width:9px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;left:50%;margin-left:-8px;margin-top:-8px;position:absolute;top:50%}.ui-datepicker .ui-datepicker-title{margin:0;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{border:1px solid #d6d6d6;border-collapse:collapse;border-top:none;font-size:12px;margin:0;width:100%}html.theme-dark .ui-datepicker table{border-color:#363c4e}.ui-datepicker th{background-color:#f8f8f8;border:none;border-bottom:1px solid #d6d6d6;color:#8d9196;font-weight:400;height:28px;padding:0;text-align:center;width:40px}html.theme-dark .ui-datepicker th{background-color:#2f3241;border-bottom-color:#363c4e}.ui-datepicker td{border:none;margin:0;padding:0}.ui-datepicker td a,.ui-datepicker td a.ui-state-default,.ui-datepicker td span,.ui-datepicker td span.ui-state-default{background:#fff;border:solid #d6d6d6;border-width:0 1px 1px 0;display:block;height:39px;line-height:40px;margin:0;padding:0;position:relative;text-align:center;text-decoration:none}html.theme-dark .ui-datepicker td a,html.theme-dark .ui-datepicker td a.ui-state-default,html.theme-dark .ui-datepicker td span,html.theme-dark .ui-datepicker td span.ui-state-default{background:#1e222d;border-color:#363c4e}.ui-datepicker td a.ui-state-default.ui-state-highlight,.ui-datepicker td a.ui-state-highlight,.ui-datepicker td span.ui-state-default.ui-state-highlight,.ui-datepicker td span.ui-state-highlight{color:#00b9db}.ui-datepicker td a.ui-state-default.ui-state-highlight:after,.ui-datepicker td a.ui-state-highlight:after,.ui-datepicker td span.ui-state-default.ui-state-highlight:after,.ui-datepicker td span.ui-state-highlight:after{border-color:#0000 #00badb #0000 #0000;border-style:solid;border-width:0 11px 11px 0;content:" ";height:0;position:absolute;right:0;top:0;width:0}.ui-datepicker td a.ui-state-default.ui-state-hover,.ui-datepicker td a.ui-state-hover,.ui-datepicker td span.ui-state-default.ui-state-hover,.ui-datepicker td span.ui-state-hover{background:#bbd9fb}html.theme-dark .ui-datepicker td a.ui-state-default.ui-state-hover,html.theme-dark .ui-datepicker td a.ui-state-hover,html.theme-dark .ui-datepicker td span.ui-state-default.ui-state-hover,html.theme-dark .ui-datepicker td span.ui-state-hover{background:#2a2e39}.ui-datepicker td.ui-datepicker-current-day a,.ui-datepicker td.ui-datepicker-current-day span{border:2px solid #2962ff;color:#2962ff;height:36px;line-height:37px}html.theme-dark .ui-datepicker td.ui-datepicker-current-day a,html.theme-dark .ui-datepicker td.ui-datepicker-current-day span{border-color:#2962ff;color:#2962ff}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;border-bottom:0;border-left:0;border-right:0;margin:.7em 0 0;padding:0 .2em}.ui-datepicker .ui-datepicker-buttonpane button{cursor:pointer;float:right;margin:.5em .2em .4em;overflow:visible;padding:.2em .6em .3em;width:auto}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{margin:0 auto .4em;width:95%}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%} \ No newline at end of file diff --git a/charting_library/bundles/1729.6e10c6b53c02d0af602e.rtl.css b/charting_library/bundles/1729.6e10c6b53c02d0af602e.rtl.css new file mode 100644 index 00000000..1086bbdf --- /dev/null +++ b/charting_library/bundles/1729.6e10c6b53c02d0af602e.rtl.css @@ -0,0 +1 @@ +.ui-slider{position:relative;text-align:right}.ui-slider .ui-slider-handle{cursor:default;height:1.2em;position:absolute;width:1.2em;z-index:2}.ui-slider .ui-slider-range{background-position:100% 0;border:0;display:block;font-size:.7em;position:absolute;z-index:1}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{margin-right:-.6em;top:-.3em}.ui-slider-horizontal .ui-slider-range{height:100%;top:0}.ui-slider-horizontal .ui-slider-range-min{right:0}.ui-slider-horizontal .ui-slider-range-max{left:0}.ui-slider-vertical{height:100px;width:.8em}.ui-slider-vertical .ui-slider-handle{margin-bottom:-.6em;margin-right:0;right:-.3em}.ui-slider-vertical .ui-slider-range{right:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:absolute!important}.ui-helper-reset{border:0;font-size:100%;line-height:1.3;list-style:none;margin:0;outline:0;padding:0;text-decoration:none}.ui-helper-clearfix:after{clear:both;content:".";display:block;height:0;visibility:hidden}.ui-helper-clearfix{display:inline-block}* html .ui-helper-clearfix{height:1%}.ui-helper-clearfix{display:block}.ui-helper-zfix{filter:alpha(opacity=0);height:100%;opacity:0;position:absolute;right:0;top:0;width:100%}.ui-state-disabled{cursor:default!important}.ui-icon{background-repeat:no-repeat;display:block;overflow:hidden;text-indent:-99999px}.ui-widget-overlay{height:100%;position:absolute;right:0;top:0;width:100%}.ui-widget{font-size:1.1em}.ui-widget .ui-widget,.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-size:1em}.ui-widget-content{background:#fff 50% 50% repeat-x;border:1px solid #aaa;color:#6b6b6d}html.theme-dark .ui-widget-content{background:#1e222d 50% 50% repeat-x;color:#2f3241}.ui-widget-content a{color:#6b6b6d}html.theme-dark .ui-widget-content a{color:#2f3241}.ui-widget-header{background:#fafafa;border:1px solid #c9cbcd;color:#6b6b6d}html.theme-dark .ui-widget-header{background:#2f3241;border-color:#2f3241;color:#2f3241}.ui-widget-header a{color:#6b6b6d}html.theme-dark .ui-widget-header a{color:#2f3241}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{background:#fafafa;border:1px solid #d3d3d3;color:#555;font-weight:400}html.theme-dark .ui-state-default,html.theme-dark .ui-widget-content .ui-state-default,html.theme-dark .ui-widget-header .ui-state-default{color:#8b8f95}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}html.theme-dark .ui-state-default a,html.theme-dark .ui-state-default a:link,html.theme-dark .ui-state-default a:visited{color:#8b8f95}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{background:#dadada;border:1px solid #999;color:#212121;font-weight:400}.ui-state-hover a{color:#212121;text-decoration:none}@media (any-hover:hover){.ui-state-hover a:hover{color:#212121;text-decoration:none}}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{background:#fff 50% 50% repeat-x;border:1px solid #aaa;color:#212121;font-weight:400}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-widget :active{outline:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{background:#fff8cf;border:1px solid #fde763;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{background:#fef1ec 50% 50% repeat-x;border:1px solid #cd0a0a;color:#cd0a0a}.ui-state-error-text,.ui-state-error a,.ui-widget-content .ui-state-error-text,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error-text,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{filter:alpha(opacity=70);font-weight:400;opacity:.7}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{background-image:none;filter:alpha(opacity=35);opacity:.35}.ui-widget-overlay,.ui-widget-shadow{background:#aaa 50% 50% repeat-x;filter:alpha(opacity=30);opacity:.3}.ui-widget-shadow{border-radius:8px;margin:-8px -8px 0 0;padding:8px}.ui-resizable{position:relative}.ui-resizable-handle{display:block;font-size:.1px;position:absolute;z-index:99999}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;right:0;top:-5px;width:100%}.ui-resizable-s{bottom:-5px;cursor:s-resize;height:7px;right:0;width:100%}.ui-resizable-e{cursor:e-resize;height:100%;left:-5px;top:0;width:7px}.ui-resizable-w{cursor:w-resize;height:100%;right:-5px;top:0;width:7px}.ui-resizable-se{bottom:1px;cursor:sw-resize;height:12px;left:1px;width:12px}.ui-resizable-sw{bottom:-5px;cursor:se-resize;height:9px;right:-5px;width:9px}.ui-resizable-nw{cursor:ne-resize;height:9px;right:-5px;top:-5px;width:9px}.ui-resizable-ne{cursor:nw-resize;height:9px;left:-5px;top:-5px;width:9px}.ui-selectable-helper{border:1px dotted #000;position:absolute;z-index:100}.ui-autocomplete{cursor:default;position:absolute}* html .ui-autocomplete{width:1px}.ui-menu{display:block;float:right;list-style:none;margin:0;padding:2px}.ui-menu .ui-menu{margin-top:-3px}.ui-menu .ui-menu-item{zoom:1;clear:right;float:right;margin:0;padding:0;width:100%}.ui-menu .ui-menu-item a{zoom:1;display:block;line-height:1.5;padding:.2em .4em;text-decoration:none}.ui-menu .ui-menu-item a.ui-state-active,.ui-menu .ui-menu-item a.ui-state-hover{font-weight:400;margin:-1px}.ui-button{zoom:1;cursor:pointer;display:inline-block;margin-left:.1em;overflow:visible;padding:0;position:relative;text-align:center;text-decoration:none!important}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:1.4}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-icons-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon{margin-top:-8px;position:absolute;top:50%}.ui-button-icon-only .ui-icon{margin-right:-8px;right:50%}.ui-button-icons-only .ui-button-icon-primary,.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary{right:.5em}.ui-button-icons-only .ui-button-icon-secondary,.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary{left:.5em}.ui-buttonset{margin-left:7px}.ui-buttonset .ui-button{margin-left:-.3em;margin-right:0}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{border-bottom:0!important;float:right;list-style:none;margin:0 0 1px .2em;padding:0;position:relative;top:1px;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:right;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a,.ui-tabs .ui-tabs-nav li.ui-tabs-selected a{cursor:text}.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li a{cursor:pointer}.ui-tabs .ui-tabs-panel{background:none;border-width:0;display:block;margin:5px 0}.ui-tabs .ui-tabs-hide{position:absolute;right:-10000px}.ui-datepicker{border:none;display:none;padding:0}.ui-datepicker .ui-datepicker-header{background-color:#2962ff;border:none;color:#fff;height:53px;line-height:53px;padding:0;position:relative}html.theme-dark .ui-datepicker .ui-datepicker-header{background-color:#21384d;color:#c5cbce}.ui-datepicker .ui-datepicker-header .ui-datepicker-next,.ui-datepicker .ui-datepicker-header .ui-datepicker-prev{background:none;border:none;cursor:pointer;height:100%;opacity:.8;position:absolute;top:0;width:40px}.ui-datepicker .ui-datepicker-header .ui-datepicker-next.ui-state-disabled,.ui-datepicker .ui-datepicker-header .ui-datepicker-prev.ui-state-disabled{opacity:.4}.ui-datepicker .ui-datepicker-header .ui-datepicker-next-hover:not(.ui-state-disabled),.ui-datepicker .ui-datepicker-header .ui-datepicker-prev-hover:not(.ui-state-disabled){background:none;border:none;opacity:1}.ui-datepicker .ui-datepicker-header .ui-datepicker-next{right:0}.ui-datepicker .ui-datepicker-header .ui-datepicker-next span{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14' width='9' height='14' fill='%23fff'%3E%3Cpath d='m2 0l-2 2 5 5-5 5 2 2 7-7z'/%3E%3C/svg%3E");height:14px;margin-right:-5px;width:9px}.ui-datepicker .ui-datepicker-header .ui-datepicker-prev{left:0}.ui-datepicker .ui-datepicker-header .ui-datepicker-prev span{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14' width='9' height='14' fill='%23fff'%3E%3Cpath d='m0 7l7-7 2 2-5 5 5 5-2 2z'/%3E%3C/svg%3E");height:14px;margin-right:-4px;width:9px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;margin-right:-8px;margin-top:-8px;position:absolute;right:50%;top:50%}.ui-datepicker .ui-datepicker-title{margin:0;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{border:1px solid #d6d6d6;border-collapse:collapse;border-top:none;font-size:12px;margin:0;width:100%}html.theme-dark .ui-datepicker table{border-color:#363c4e}.ui-datepicker th{background-color:#f8f8f8;border:none;border-bottom:1px solid #d6d6d6;color:#8d9196;font-weight:400;height:28px;padding:0;text-align:center;width:40px}html.theme-dark .ui-datepicker th{background-color:#2f3241;border-bottom-color:#363c4e}.ui-datepicker td{border:none;margin:0;padding:0}.ui-datepicker td a,.ui-datepicker td a.ui-state-default,.ui-datepicker td span,.ui-datepicker td span.ui-state-default{background:#fff;border:solid #d6d6d6;border-width:0 0 1px 1px;display:block;height:39px;line-height:40px;margin:0;padding:0;position:relative;text-align:center;text-decoration:none}html.theme-dark .ui-datepicker td a,html.theme-dark .ui-datepicker td a.ui-state-default,html.theme-dark .ui-datepicker td span,html.theme-dark .ui-datepicker td span.ui-state-default{background:#1e222d;border-color:#363c4e}.ui-datepicker td a.ui-state-default.ui-state-highlight,.ui-datepicker td a.ui-state-highlight,.ui-datepicker td span.ui-state-default.ui-state-highlight,.ui-datepicker td span.ui-state-highlight{color:#00b9db}.ui-datepicker td a.ui-state-default.ui-state-highlight:after,.ui-datepicker td a.ui-state-highlight:after,.ui-datepicker td span.ui-state-default.ui-state-highlight:after,.ui-datepicker td span.ui-state-highlight:after{border-color:#0000 #0000 #0000 #00badb;border-style:solid;border-width:0 0 11px 11px;content:" ";height:0;left:0;position:absolute;top:0;width:0}.ui-datepicker td a.ui-state-default.ui-state-hover,.ui-datepicker td a.ui-state-hover,.ui-datepicker td span.ui-state-default.ui-state-hover,.ui-datepicker td span.ui-state-hover{background:#bbd9fb}html.theme-dark .ui-datepicker td a.ui-state-default.ui-state-hover,html.theme-dark .ui-datepicker td a.ui-state-hover,html.theme-dark .ui-datepicker td span.ui-state-default.ui-state-hover,html.theme-dark .ui-datepicker td span.ui-state-hover{background:#2a2e39}.ui-datepicker td.ui-datepicker-current-day a,.ui-datepicker td.ui-datepicker-current-day span{border:2px solid #2962ff;color:#2962ff;height:36px;line-height:37px}html.theme-dark .ui-datepicker td.ui-datepicker-current-day a,html.theme-dark .ui-datepicker td.ui-datepicker-current-day span{border-color:#2962ff;color:#2962ff}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;border-bottom:0;border-left:0;border-right:0;margin:.7em 0 0;padding:0 .2em}.ui-datepicker .ui-datepicker-buttonpane button{cursor:pointer;float:left;margin:.5em .2em .4em;overflow:visible;padding:.2em .6em .3em;width:auto}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:right}.ui-datepicker-multi .ui-datepicker-group table{margin:0 auto .4em;width:95%}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:right}.ui-datepicker-row-break{clear:both;width:100%} \ No newline at end of file diff --git a/charting_library/bundles/1857.10c97feeb46d934b8a25.js b/charting_library/bundles/1857.92ea29314fb71e119d3e.js similarity index 96% rename from charting_library/bundles/1857.10c97feeb46d934b8a25.js rename to charting_library/bundles/1857.92ea29314fb71e119d3e.js index 89197ba6..bd4c0d0d 100644 --- a/charting_library/bundles/1857.10c97feeb46d934b8a25.js +++ b/charting_library/bundles/1857.92ea29314fb71e119d3e.js @@ -1,5 +1,5 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1857],{9465:(e,t)=>{"use strict";function n(e){if(void 0===e)throw new Error("Value is undefined");return e}function r(e){if(null===e)throw new Error("Value is null");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.ensureNever=t.ensure=t.ensureNotNull=t.ensureDefined=t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error("Assertion failed"+(t?": "+t:""))},t.ensureDefined=n,t.ensureNotNull=r,t.ensure=function(e){return r(n(e))},t.ensureNever=function(e){}},58947:(e,t)=>{"use strict";function n(e){return Math.round(1e10*e)/1e10}Object.defineProperty(t,"__esModule",{value:!0}),t.alignTo=t.fixComputationError=t.isNaN=t.isInteger=t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e&&isFinite(e)},t.isInteger=function(e){return"number"==typeof e&&e%1==0},t.isNaN=function(e){return!(e<=0||e>0)},t.fixComputationError=n,t.alignTo=function(e,t){var r=e/t,o=Math.floor(r),u=r-o;return u>2e-10?n(u>.5?(o+1)*t:o*t):e}},88537:(e,t)=>{"use strict";function n(e,t){if(void 0===e)throw new Error((null!=t?t:"Value")+" is undefined");return e}function r(e,t){if(null===e)throw new Error((null!=t?t:"Value")+" is null");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.ensureNever=t.ensure=t.ensureNotNull=t.ensureDefined=t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error("Assertion failed"+(t?": "+t:""))},t.ensureDefined=n,t.ensureNotNull=r,t.ensure=function(e,t){return r(n(e,t),t)},t.ensureNever=function(e){}},93751:(e,t)=>{"use strict";function n(e){return Math.round(1e10*e)/1e10}t.fixComputationError=t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e&&isFinite(e)},t.fixComputationError=n},6617:(e,t)=>{"use strict";t.hasProperty=t.isObject=void 0,t.isObject=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)},t.hasProperty=function(e,t){return t in e}},34026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointInCircle=t.pointInPolygon=t.pointInBox=t.pointInTriangle=t.pointInHalfplane=void 0;var r=n(5531);t.pointInHalfplane=function(e,t){var n=t.edge;return n.A*e.x+n.B*e.y+n.C>0===t.isPositive},t.pointInTriangle=function(e,t,n,o){var u=t.add(n).scaled(.5).add(o).scaled(.5),i=r.intersectLineSegments(t,n,u,e);return null===i&&(null===(i=r.intersectLineSegments(n,o,u,e))&&null===(i=r.intersectLineSegments(o,t,u,e)))},t.pointInBox=function(e,t){return e.x>=t.min.x&&e.x<=t.max.x&&e.y>=t.min.y&&e.y<=t.max.y},t.pointInPolygon=function(e,t){for(var n=t.length-1,r=!1,o=e.x,u=e.y,i=0;i=u||s.y=u)&&a.x+(u-a.y)/(s.y-a.y)*(s.x-a.x){"use strict";function n(e,t,n){var r=t.subtract(e),o=n.subtract(e).dotProduct(r)/r.dotProduct(r);return{coeff:o,distance:e.addScaled(r,o).subtract(n).length()}}Object.defineProperty(t,"__esModule",{value:!0}),t.distanceToSegment=t.distanceToLine=void 0,t.distanceToLine=n, -t.distanceToSegment=function(e,t,r){var o=n(e,t,r);if(0<=o.coeff&&o.coeff<=1)return o;var u=e.subtract(r).length(),i=t.subtract(r).length();return u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.intersectPolygons=t.intersectPolygonAndHalfplane=t.intersectRayAndBox=t.intersectLineAndBox=t.intersectLineSegments=t.intersectLines=t.intersectLineSegmentAndBox=void 0;var r=n(9465),o=n(86441),u=n(4652),i=n(34026);function a(e,t){var n=e.A,r=t.A,u=e.B,i=t.B,a=e.C,s=t.C,d=n*i-r*u;if(Math.abs(d)<1e-6)return null;var c=(u*s-i*a)/d,f=(r*a-n*s)/d;return new o.Point(c,f)}function s(e,t,n,r){var o=function(e,t,n,r){var o=t.subtract(e),u=r.subtract(n),i=o.x*u.y-o.y*u.x;if(Math.abs(i)<1e-6)return null;var a=e.subtract(n);return(a.y*u.x-a.x*u.y)/i}(e,t,n,r);if(null===o)return null;var i=t.subtract(e).scaled(o).add(e),a=u.distanceToSegment(n,r,i);return Math.abs(a.distance)<1e-6?o:null}function d(e,t){for(var n=0,r=e;n0&&(o.equalPoints(e[e.length-1],t)||o.equalPoints(e[0],t)))&&(e.push(t),!0)}function f(e,t){for(var n=[],r=0;r=3?n:null}t.intersectLineSegmentAndBox=function(e,t){var n=e[0].x,r=e[0].y,u=e[1].x,i=e[1].y,a=t.min.x,s=t.min.y,d=t.max.x,c=t.max.y;function f(e,t,n,r,o,u){var i=0;return eo&&(i|=2),tu&&(i|=8),i}for(var l=f(n,r,a,s,d,c),p=f(u,i,a,s,d,c),h=!1,g=0;;){if(g>1e3)throw new Error("Cohen - Sutherland algorithm: infinity loop");if(g++,!(l|p)){h=!0;break}if(l&p)break;var _=l||p,v=void 0,b=void 0;8&_?(v=n+(u-n)*(c-r)/(i-r),b=c):4&_?(v=n+(u-n)*(s-r)/(i-r),b=s):2&_?(b=r+(i-r)*(d-n)/(u-n),v=d):(b=r+(i-r)*(a-n)/(u-n),v=a),_===l?l=f(n=v,r=b,a,s,d,c):p=f(u=v,i=b,a,s,d,c)}return h?o.equalPoints(o.point(n,r),o.point(u,i))?o.point(n,r):o.lineSegment(o.point(n,r),o.point(u,i)):null},t.intersectLines=a,t.intersectLineSegments=s,t.intersectLineAndBox=function(e,t){var n=t.min.x,u=t.min.y,i=t.max.x,a=t.max.y;if(0===e.A){var s=-e.C/e.B;return u<=s&&s<=a?o.lineSegment(o.point(n,s),o.point(i,s)):null}if(0===e.B){var c=-e.C/e.A;return n<=c&&c<=i?o.lineSegment(o.point(c,u),o.point(c,a)):null}var f=[],l=function(t){var n=function(e,t){return-(e.C+e.A*t)/e.B}(e,t);u<=n&&n<=a&&d(f,new o.Point(t,n))},p=function(t){var r=function(e,t){return-(e.C+e.B*t)/e.A}(e,t);n<=r&&r<=i&&d(f,new o.Point(r,t))};switch(l(n),p(u),l(i),p(a),f.length){case 0:return null;case 1:return f[0];case 2:return o.equalPoints(f[0],f[1])?f[0]:o.lineSegment(f[0],f[1])}return r.assert(!1,"We should have at most two intersection points"),null},t.intersectRayAndBox=function(e,t,n){ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1857],{9465:(e,t)=>{"use strict";function n(e){if(void 0===e)throw new Error("Value is undefined");return e}function r(e){if(null===e)throw new Error("Value is null");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.ensureNever=t.ensure=t.ensureNotNull=t.ensureDefined=t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error("Assertion failed"+(t?": "+t:""))},t.ensureDefined=n,t.ensureNotNull=r,t.ensure=function(e){return r(n(e))},t.ensureNever=function(e){}},58947:(e,t)=>{"use strict";function n(e){return Math.round(1e10*e)/1e10}Object.defineProperty(t,"__esModule",{value:!0}),t.alignTo=t.fixComputationError=t.isNaN=t.isInteger=t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e&&isFinite(e)},t.isInteger=function(e){return"number"==typeof e&&e%1==0},t.isNaN=function(e){return!(e<=0||e>0)},t.fixComputationError=n,t.alignTo=function(e,t){var r=e/t,o=Math.floor(r),u=r-o;return u>2e-10?n(u>.5?(o+1)*t:o*t):e}},88537:(e,t)=>{"use strict";function n(e,t){if(void 0===e)throw new Error((null!=t?t:"Value")+" is undefined");return e}function r(e,t){if(null===e)throw new Error((null!=t?t:"Value")+" is null");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.ensureNever=t.ensure=t.ensureNotNull=t.ensureDefined=t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error("Assertion failed"+(t?": "+t:""))},t.ensureDefined=n,t.ensureNotNull=r,t.ensure=function(e,t){return r(n(e,t),t)},t.ensureNever=function(e){}},93751:(e,t)=>{"use strict";function n(e){return Math.round(1e10*e)/1e10}t.fixComputationError=t.isInteger=t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e&&isFinite(e)},t.isInteger=function(e){return"number"==typeof e&&e%1==0},t.fixComputationError=n},6617:(e,t)=>{"use strict";t.hasProperty=t.isObject=void 0,t.isObject=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)},t.hasProperty=function(e,t){return t in e}},34026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointInCircle=t.pointInPolygon=t.pointInBox=t.pointInTriangle=t.pointInHalfplane=void 0;var r=n(5531);t.pointInHalfplane=function(e,t){var n=t.edge;return n.A*e.x+n.B*e.y+n.C>0===t.isPositive},t.pointInTriangle=function(e,t,n,o){var u=t.add(n).scaled(.5).add(o).scaled(.5),i=r.intersectLineSegments(t,n,u,e);return null===i&&(null===(i=r.intersectLineSegments(n,o,u,e))&&null===(i=r.intersectLineSegments(o,t,u,e)))},t.pointInBox=function(e,t){return e.x>=t.min.x&&e.x<=t.max.x&&e.y>=t.min.y&&e.y<=t.max.y},t.pointInPolygon=function(e,t){for(var n=t.length-1,r=!1,o=e.x,u=e.y,i=0;i=u||s.y=u)&&a.x+(u-a.y)/(s.y-a.y)*(s.x-a.x){"use strict";function n(e,t,n){var r=t.subtract(e),o=n.subtract(e).dotProduct(r)/r.dotProduct(r);return{coeff:o,distance:e.addScaled(r,o).subtract(n).length()}}Object.defineProperty(t,"__esModule",{ +value:!0}),t.distanceToSegment=t.distanceToLine=void 0,t.distanceToLine=n,t.distanceToSegment=function(e,t,r){var o=n(e,t,r);if(0<=o.coeff&&o.coeff<=1)return o;var u=e.subtract(r).length(),i=t.subtract(r).length();return u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.intersectPolygons=t.intersectPolygonAndHalfplane=t.intersectRayAndBox=t.intersectLineAndBox=t.intersectLineSegments=t.intersectLines=t.intersectLineSegmentAndBox=void 0;var r=n(9465),o=n(86441),u=n(4652),i=n(34026);function a(e,t){var n=e.A,r=t.A,u=e.B,i=t.B,a=e.C,s=t.C,d=n*i-r*u;if(Math.abs(d)<1e-6)return null;var c=(u*s-i*a)/d,f=(r*a-n*s)/d;return new o.Point(c,f)}function s(e,t,n,r){var o=function(e,t,n,r){var o=t.subtract(e),u=r.subtract(n),i=o.x*u.y-o.y*u.x;if(Math.abs(i)<1e-6)return null;var a=e.subtract(n);return(a.y*u.x-a.x*u.y)/i}(e,t,n,r);if(null===o)return null;var i=t.subtract(e).scaled(o).add(e),a=u.distanceToSegment(n,r,i);return Math.abs(a.distance)<1e-6?o:null}function d(e,t){for(var n=0,r=e;n0&&(o.equalPoints(e[e.length-1],t)||o.equalPoints(e[0],t)))&&(e.push(t),!0)}function f(e,t){for(var n=[],r=0;r=3?n:null}t.intersectLineSegmentAndBox=function(e,t){var n=e[0].x,r=e[0].y,u=e[1].x,i=e[1].y,a=t.min.x,s=t.min.y,d=t.max.x,c=t.max.y;function f(e,t,n,r,o,u){var i=0;return eo&&(i|=2),tu&&(i|=8),i}for(var l=f(n,r,a,s,d,c),p=f(u,i,a,s,d,c),h=!1,g=0;;){if(g>1e3)throw new Error("Cohen - Sutherland algorithm: infinity loop");if(g++,!(l|p)){h=!0;break}if(l&p)break;var _=l||p,v=void 0,b=void 0;8&_?(v=n+(u-n)*(c-r)/(i-r),b=c):4&_?(v=n+(u-n)*(s-r)/(i-r),b=s):2&_?(b=r+(i-r)*(d-n)/(u-n),v=d):(b=r+(i-r)*(a-n)/(u-n),v=a),_===l?l=f(n=v,r=b,a,s,d,c):p=f(u=v,i=b,a,s,d,c)}return h?o.equalPoints(o.point(n,r),o.point(u,i))?o.point(n,r):o.lineSegment(o.point(n,r),o.point(u,i)):null},t.intersectLines=a,t.intersectLineSegments=s,t.intersectLineAndBox=function(e,t){var n=t.min.x,u=t.min.y,i=t.max.x,a=t.max.y;if(0===e.A){var s=-e.C/e.B;return u<=s&&s<=a?o.lineSegment(o.point(n,s),o.point(i,s)):null}if(0===e.B){var c=-e.C/e.A;return n<=c&&c<=i?o.lineSegment(o.point(c,u),o.point(c,a)):null}var f=[],l=function(t){var n=function(e,t){return-(e.C+e.A*t)/e.B}(e,t);u<=n&&n<=a&&d(f,new o.Point(t,n))},p=function(t){var r=function(e,t){return-(e.C+e.B*t)/e.A}(e,t);n<=r&&r<=i&&d(f,new o.Point(r,t))};switch(l(n),p(u),l(i),p(a),f.length){case 0:return null;case 1:return f[0];case 2:return o.equalPoints(f[0],f[1])?f[0]:o.lineSegment(f[0],f[1])}return r.assert(!1,"We should have at most two intersection points"),null},t.intersectRayAndBox=function(e,t,n){ var r=s(e,t,n.min,new o.Point(n.max.x,n.min.y)),u=s(e,t,new o.Point(n.max.x,n.min.y),n.max),a=s(e,t,n.max,new o.Point(n.min.x,n.max.y)),d=s(e,t,new o.Point(n.min.x,n.max.y),n.min),c=[];if(null!==r&&r>=0&&c.push(r),null!==u&&u>=0&&c.push(u),null!==a&&a>=0&&c.push(a),null!==d&&d>=0&&c.push(d),0===c.length)return null;c.sort((function(e,t){return e-t}));var f=i.pointInBox(e,n)?c[0]:c[c.length-1];return e.addScaled(t.subtract(e),f)},t.intersectPolygonAndHalfplane=f,t.intersectPolygons=function(e,t){for(var n=e,r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equalBoxes=t.box=t.halfplaneThroughPoint=t.halfplane=t.lineSegment=t.lineThroughPoints=t.line=t.equalPoints=t.point=t.Point=void 0;var n=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.add=function(t){return new e(this.x+t.x,this.y+t.y)},e.prototype.addScaled=function(t,n){return new e(this.x+n*t.x,this.y+n*t.y)},e.prototype.subtract=function(t){return new e(this.x-t.x,this.y-t.y)},e.prototype.dotProduct=function(e){return this.x*e.x+this.y*e.y},e.prototype.crossProduct=function(e){return this.x*e.y-this.y*e.x},e.prototype.signedAngle=function(e){return Math.atan2(this.crossProduct(e),this.dotProduct(e))},e.prototype.angle=function(e){return Math.acos(this.dotProduct(e)/(this.length()*e.length()))},e.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.scaled=function(t){return new e(this.x*t,this.y*t)},e.prototype.normalized=function(){return this.scaled(1/this.length())},e.prototype.transposed=function(){return new e(-this.y,this.x)},e.prototype.clone=function(){return new e(this.x,this.y)},e}();function r(e,t){return new n(e,t)}function o(e,t){return e.x===t.x&&e.y===t.y}function u(e,t,n){if(0===e&&0===t)throw new Error("A and B can not be both equal to zero.");return{A:e,B:t,C:n}}function i(e,t){return{edge:e,isPositive:t}}t.Point=n,t.point=r,t.equalPoints=o,t.line=u,t.lineThroughPoints=function(e,t){if(o(e,t))throw new Error("Points should be distinct");return u(e.y-t.y,t.x-e.x,e.x*t.y-t.x*e.y)},t.lineSegment=function(e,t){if(o(e,t))throw new Error("Points of a segment should be distinct");return[e,t]},t.halfplane=i,t.halfplaneThroughPoint=function(e,t){return i(e,e.A*t.x+e.B*t.y+e.C>0)},t.box=function(e,t){return{min:r(Math.min(e.x,t.x),Math.min(e.y,t.y)),max:r(Math.max(e.x,t.x),Math.max(e.y,t.y))}},t.equalBoxes=function(e,t){return o(e.min,t.min)&&o(e.max,t.max)}},25422:(e,t,n)=>{"use strict";t.transformPoint=t.translationMatrix=t.scalingMatrix=t.rotationMatrix=void 0;var r=n(86441);t.rotationMatrix=function(e){var t=Math.cos(e),n=Math.sin(e);return[[t,-n,0],[n,t,0],[0,0,1]]},t.scalingMatrix=function(e,t){return[[e,0,0],[0,t,0],[0,0,1]]},t.translationMatrix=function(e,t){return[[1,0,e],[0,1,t],[0,0,1]]},t.transformPoint=function(e,t){for(var n=[t.x,t.y,1],o=[0,0,0],u=0;u<3;u++)for(var i=0;i<3;i++)o[u]+=n[i]*e[u][i] ;return new r.Point(o[0],o[1])}},24377:(e,t,n)=>{"use strict";var r=n(58947);function o(e,t,n){return r.isNaN(t)||tn?n:Math.round(t)}function u(e,t,n){return r.isNaN(t)||tn?n:Math.round(1e4*t)/1e4}function i(e){return o(0,e,255)}function a(e){return o(0,e,255)}function s(e){return o(0,e,255)}function d(e){return u(0,e,1)}function c(e){return u(0,e,1)}function f(e){return u(0,e,1)}function l(e){return u(0,e,1)}function p(e){return u(0,e,1)}function h(e){return u(0,e,1)}function g(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),u=Math.max(t,n,r),i=0,a=0,s=(o+u)/2;if(o===u)i=0,a=0;else{var d=u-o;switch(a=s>.5?d/(2-u-o):d/(u+o),u){case t:i=((n-r)/d+(n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function v(e){var t,n,r,o=e[0],u=e[1],d=e[2];if(0===u)t=n=r=d;else{var c=d<.5?d*(1+u):d+u-d*u,f=2*d-c;t=_(f,c,o+1/3),n=_(f,c,o),r=_(f,c,o-1/3)}return[i(255*t),a(255*n),s(255*r)]}t.normalizeAlphaComponent=d,t.areEqualRgb=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]},t.rgba=function(e,t,n,r){if(Array.isArray(e)){var o=e;return r=t,[o[0],o[1],o[2],d(r)]}var u=t;return n=n||0,r=r||0,[i(e),a(u),s(n),d(r)]},t.areEqualRgba=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]},t.rgbToHsl=g,t.hslToRgb=v;var b=[.199,.687,.114];function y(e){return b[0]*e[0]+b[1]*e[1]+b[2]*e[2]}function m(e,t,n){void 0===n&&(n=.05);var r=g(e),o=r[0]+t*n;return r[0]=c(o-Math.floor(o)),v(r)}function w(e,t,n){void 0===n&&(n=.05);var r=e[0],o=e[1],u=e[2],i=e[3],a=m([r,o,u],t,n);return[a[0],a[1],a[2],i]}t.distanceRgb=function(e,t){var n=e[0],r=e[1],o=e[2],u=t[0]-n,i=t[1]-r,a=t[2]-o;return Math.sqrt(u*u+i*i+a*a)},t.invertRgb=function(e){return[255-e[0],255-e[1],255-e[2]]},t.blendRgba=function(e,t){var n=e[0],r=e[1],o=e[2],u=e[3],c=t[0],f=t[1],l=t[2],p=t[3],h=d(1-(1-p)*(1-u));return[i(c*p/h+n*u*(1-p)/h),a(f*p/h+r*u*(1-p)/h),s(l*p/h+o*u*(1-p)/h),h]},t.shiftRgb=m,t.shiftRgba=w,t.shiftColor=function(e,t,n){return void 0===n&&(n=.05),C(w(I(e),t,n))};var x,k,j,O,S={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22", fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function L(e,t){return t in e}function P(e){var t=x.re.exec(e);return null!==t?x.parse(t):null}function A(e){var t=k.re.exec(e);return null!==t?k.parse(t):null}function E(e){var t=j.re.exec(e);return null!==t?j.parse(t):null}function N(e){var t=O.re.exec(e);return null!==t?O.parse(t):null}function C(e){return"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"}function R(e){if(e=e.toLowerCase(),L(S,e)){var t=A(S[e]);if(null!==t)return t;throw new Error("Invalid named color definition")}var n=P(e);if(null!==n)return n;var r=A(e);if(null!==r)return r;var o=E(e);if(null!==o)return o;var u=N(e);return null!==u?[u[0],u[1],u[2]]:null}function T(e){if(e=e.toLowerCase(),L(S,e)){var t=A(S[e]);if(null!==t)return[t[0],t[1],t[2],1];throw new Error("Invalid named color definition")}var n=P(e);if(null!==n)return[n[0],n[1],n[2],1];var r=A(e);if(null!==r)return[r[0],r[1],r[2],1];var o=E(e);if(null!==o)return[o[0],o[1],o[2],1];var u=N(e);return null!==u?u:null}function I(e){var t=T(e);if(null!==t)return t;throw new Error("Passed color string does not match any of the known color representations")}!function(e){ @@ -17,7 +17,7 @@ r(i(e),(function(t){return u.call(e,t)})))}:o.default},17873:(e,t,n)=>{"use stri ;var u="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=u&&e&&!e.nodeType&&e,a=i&&i.exports===u?r.default.Buffer:void 0;const s=(a?a.isBuffer:void 0)||o},38651:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7492),o=n(17873),u=n(53822),i=n(54814),a=n(29419),s=n(25247),d=n(43744),c=n(54744),f=Object.prototype.hasOwnProperty;const l=function(e){if(null==e)return!0;if((0,a.default)(e)&&((0,i.default)(e)||"string"==typeof e||"function"==typeof e.splice||(0,s.default)(e)||(0,c.default)(e)||(0,u.default)(e)))return!e.length;var t=(0,o.default)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,d.default)(e))return!(0,r.default)(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},16230:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(96425);const o=function(e,t){return(0,r.default)(e,t)}},62942:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(28177),o=n(98279);const u=function(e){if(!(0,o.default)(e))return!1;var t=(0,r.default)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},67702:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});const r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},77973:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});const r=function(e){return null===e}},3308:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(28177),o=n(83527);const u=function(e){return"number"==typeof e||(0,o.default)(e)&&"[object Number]"==(0,r.default)(e)}},98279:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});const r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},83527:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});const r=function(e){return null!=e&&"object"==typeof e}},8875:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(28177),o=n(83527);const u=function(e){return"symbol"==typeof e||(0,o.default)(e)&&"[object Symbol]"==(0,r.default)(e)}},54744:(e,t,n)=>{"use strict";n.d(t,{default:()=>f});var r=n(28177),o=n(67702),u=n(83527),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;const a=function(e){return(0,u.default)(e)&&(0,o.default)(e.length)&&!!i[(0,r.default)(e)]};var s=n(95256),d=n(59283),c=d.default&&d.default.isTypedArray;const f=c?(0,s.default)(c):a},33358:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(31468),o=n(7492),u=n(29419);const i=function(e){return(0,u.default)(e)?(0,r.default)(e):(0,o.default)(e)}},64162:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(31468),o=n(98279),u=n(43744);const i=function(e){var t=[] ;if(null!=e)for(var n in Object(e))t.push(n);return t};var a=Object.prototype.hasOwnProperty;const s=function(e){if(!(0,o.default)(e))return i(e);var t=(0,u.default)(e),n=[];for(var r in e)("constructor"!=r||!t&&a.call(e,r))&&n.push(r);return n};var d=n(29419);const c=function(e){return(0,d.default)(e)?(0,r.default)(e,!0):s(e)}},58121:(e,t,n)=>{"use strict";n.d(t,{default:()=>K});var r=n(96335),o=n(24402),u=n(72575);const i=function(e,t,n){(void 0!==n&&!(0,u.default)(e[t],n)||void 0===n&&!(t in e))&&(0,o.default)(e,t,n)};var a=n(29718),s=n(57508),d=n(39895),c=n(58555),f=n(52222),l=n(53822),p=n(54814),h=n(29419),g=n(83527);const _=function(e){return(0,g.default)(e)&&(0,h.default)(e)};var v=n(25247),b=n(62942),y=n(98279),m=n(28177),w=n(56838),x=Function.prototype,k=Object.prototype,j=x.toString,O=k.hasOwnProperty,S=j.call(Object);const L=function(e){if(!(0,g.default)(e)||"[object Object]"!=(0,m.default)(e))return!1;var t=(0,w.default)(e);if(null===t)return!0;var n=O.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&j.call(n)==S};var P=n(54744);const A=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var E=n(75969),N=n(64162);const C=function(e){return(0,E.default)(e,(0,N.default)(e))};const R=function(e,t,n,r,o,u,a){var h=A(e,n),g=A(t,n),m=a.get(g);if(m)i(e,n,m);else{var w=u?u(h,g,n+"",e,t,a):void 0,x=void 0===w;if(x){var k=(0,p.default)(g),j=!k&&(0,v.default)(g),O=!k&&!j&&(0,P.default)(g);w=g,k||j||O?(0,p.default)(h)?w=h:_(h)?w=(0,c.default)(h):j?(x=!1,w=(0,s.default)(g,!0)):O?(x=!1,w=(0,d.default)(g,!0)):w=[]:L(g)||(0,l.default)(g)?(w=h,(0,l.default)(h)?w=C(h):(0,y.default)(h)&&!(0,b.default)(h)||(w=(0,f.default)(g))):x=!1}x&&(a.set(g,w),o(w,g,r,u,a),a.delete(g)),i(e,n,w)}};const T=function e(t,n,o,u,s){t!==n&&(0,a.default)(n,(function(a,d){if(s||(s=new r.default),(0,y.default)(a))R(t,n,d,o,e,u,s);else{var c=u?u(A(t,d),a,d+"",t,n,s):void 0;void 0===c&&(c=a),i(t,d,c)}}),N.default)};var I=n(99097);const M=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)};var F=Math.max;const z=function(e,t,n){return t=F(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,u=F(r.length-t,0),i=Array(u);++o0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(B);const U=function(e,t){return q(z(e,t,I.default),e+"")};var H=n(17104);const W=function(e,t,n){if(!(0,y.default)(n))return!1;var r=typeof t;return!!("number"==r?(0,h.default)(n)&&(0,H.default)(t,n.length):"string"==r&&t in n)&&(0,u.default)(n[t],e)};const K=function(e){ return U((function(t,n){var r=-1,o=n.length,u=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(u=e.length>3&&"function"==typeof u?(o--,u):void 0,i&&W(n[0],n[1],i)&&(u=o<3?void 0:u,o=1),t=Object(t);++r{"use strict";n.d(t,{default:()=>M});const r=function(e,t,n,r){var o=-1,u=null==e?0:e.length;for(r&&u&&(n=e[++o]);++o{"use strict";n.d(t,{default:()=>r});const r=function(){return[]}},43370:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(4889),o=n(98279);const u=function(e,t,n){var u=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,o.default)(n)&&(u="leading"in n?!!n.leading:u, -i="trailing"in n?!!n.trailing:i),(0,r.default)(e,t,{leading:u,maxWait:t,trailing:i})}},15736:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(54136);const o=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var u=n(80838);const i=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var u=Array(o);++r{"use strict";var n,r=!("undefined"==typeof window||!window.document||!window.document.createElement);function o(){if(n)return n;if(!r||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),n="reverse",e.scrollLeft>0?n="default":(e.scrollLeft=1,0===e.scrollLeft&&(n="negative")),document.body.removeChild(e),n}t.detectScrollType=o,t.getNormalizedScrollLeft=function(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=o();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n}},67337:(e,t,n)=>{"use strict";n.r(t),n.d(t,{disable:()=>f,enable:()=>c,enabled:()=>s,getAllFeatures:()=>l,setEnabled:()=>d}) +i="trailing"in n?!!n.trailing:i),(0,r.default)(e,t,{leading:u,maxWait:t,trailing:i})}},15736:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(54136);const o=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var u=n(80838);const i=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var u=Array(o);++r{"use strict";var n,r=!("undefined"==typeof window||!window.document||!window.document.createElement);function o(){if(n)return n;if(!r||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),n="reverse",e.scrollLeft>0?n="default":(e.scrollLeft=1,0===e.scrollLeft&&(n="negative")),document.body.removeChild(e),n}t.detectScrollType=o,t.getNormalizedScrollLeft=function(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=o();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n},t.setNormalizedScrollLeft=function(e,t,n){if("rtl"===n){var r=o();if("indeterminate"!==r)switch(r){case"negative":e.scrollLeft=e.clientWidth-e.scrollWidth+t;break;case"reverse":e.scrollLeft=e.scrollWidth-e.clientWidth-t;break;default:e.scrollLeft=t}}else e.scrollLeft=t}},67337:(e,t,n)=>{"use strict";n.r(t),n.d(t,{disable:()=>f,enable:()=>c,enabled:()=>s,getAllFeatures:()=>l,setEnabled:()=>d}) ;const r=JSON.parse('{"14851":{},"custom_items_in_context_menu":{},"countdown":{},"symbol_search_parser_mixin":{},"pay_attention_to_ticker_not_symbol":{},"graying_disabled_tools_enabled":{},"update_study_formatter_on_symbol_resolve":{},"constraint_dialogs_movement":{},"phone_verification":{},"show_trading_notifications_history":{},"show_interval_dialog_on_key_press":{},"header_interval_dialog_button":{"subsets":["show_interval_dialog_on_key_press"]},"header_fullscreen_button":{},"header_symbol_search":{},"symbol_search_hot_key":{},"header_resolutions":{"subsets":["header_interval_dialog_button"]},"header_chart_type":{},"header_settings":{},"header_indicators":{},"header_compare":{},"header_undo_redo":{},"header_screenshot":{},"header_saveload":{},"study_on_study":{},"scales_date_format":{},"header_widget":{"subsets":["header_widget_dom_node","header_symbol_search","header_resolutions","header_chart_type","header_settings","header_indicators","header_compare","header_undo_redo","header_fullscreen_button","compare_symbol","header_screenshot"]},"legend_widget":{},"compare_symbol":{"subsets":["header_compare"]},"property_pages":{"subsets":["show_chart_property_page","chart_property_page"]},"show_chart_property_page":{},"chart_property_page":{"subsets":["chart_property_page_scales","chart_property_page_trading","chart_property_page_right_margin_editor"]},"left_toolbar":{},"hide_left_toolbar_by_default":{},"control_bar":{},"widget_logo":{},"timeframes_toolbar":{},"edit_buttons_in_legend":{"subsets":["show_hide_button_in_legend","format_button_in_legend","study_buttons_in_legend","delete_button_in_legend"]},"show_hide_button_in_legend":{},"object_tree_legend_mode":{},"format_button_in_legend":{},"study_buttons_in_legend":{},"delete_button_in_legend":{},"broker_button":{},"buy_sell_buttons":{"subsets":["broker_button"]},"pane_context_menu":{},"scales_context_menu":{},"legend_context_menu":{},"context_menus":{"subsets":["pane_context_menu","scales_context_menu","legend_context_menu","objects_tree_context_menu"]},"items_favoriting":{},"save_chart_properties_to_local_storage":{},"use_localstorage_for_settings":{"subsets":["items_favoriting","save_chart_properties_to_local_storage"]},"handle_scale":{"subsets":["mouse_wheel_scale","pinch_scale","axis_pressed_mouse_move_scale"]},"handle_scroll":{"subsets":["mouse_wheel_scroll","pressed_mouse_move_scroll","horz_touch_drag_scroll","vert_touch_drag_scroll"]},"plain_studymarket":{},"disable_resolution_rebuild":{},"border_around_the_chart":{},"charting_library_debug_mode":{},"saveload_requires_authentication":{},"saveload_storage_customization":{},"volume_force_overlay":{},"create_volume_indicator_by_default":{},"create_volume_indicator_by_default_once":{},"saved_charts_count_restriction":{},"lean_chart_load":{},"stop_study_on_restart":{},"star_some_intervals_by_default":{},"move_logo_to_main_pane":{},"show_animated_logo":{},"link_to_tradingview":{},"logo_without_link":{},"right_bar_stays_on_scroll":{},"chart_content_overrides_by_defaults":{},"snapshot_trading_drawings":{},"allow_supported_resolutions_set_only":{},"widgetbar_tabs":{"subsets":["right_toolbar"]},"show_object_tree":{"subsets":["right_toolbar"]},"dome_widget":{"subsets":["right_toolbar","showdom_button"]},"dom_widget":{"subsets":["right_toolbar","showdom_button"]},"collapsible_header":{},"study_templates":{},"side_toolbar_in_fullscreen_mode":{},"header_in_fullscreen_mode":{},"remove_library_container_border":{},"whotrades_auth_only":{},"support_multicharts":{},"display_market_status":{},"display_data_mode":{},"datasource_copypaste":{},"drawing_templates":{"subsets":["linetoolpropertieswidget_template_button"]},"expand_symbolsearch_items":{},"symbol_search_three_columns_exchanges":{},"symbol_search_flags":{},"symbol_search_limited_exchanges":{},"bugreport_button":{"subsets":["right_toolbar"]},"footer_publish_idea_button":{},"showdom_button":{"subsets":["right_toolbar"]},"text_notes":{},"show_source_code":{},"symbol_info":{},"no_bars_status":{},"clear_bars_on_series_error":{},"hide_loading_screen_on_series_error":{},"seconds_resolution":{},"dont_show_boolean_study_arguments":{},"hide_last_na_study_output":{},"price_scale_always_last_bar_value":{},"study_dialog_fundamentals_economy_addons":{},"uppercase_instrument_names":{},"trading_notifications":{},"chart_crosshair_menu":{},"japanese_chart_styles":{},"hide_series_legend_item":{},"hide_study_overlay_legend_item":{},"hide_study_compare_legend_item":{},"linetoolpropertieswidget_template_button":{},"use_overrides_for_overlay":{},"timezone_menu":{},"main_series_scale_menu":{},"show_login_dialog":{},"remove_img_from_rss":{},"bars_marks":{},"chart_scroll":{},"chart_zoom":{},"source_selection_markers":{},"low_density_bars":{},"end_of_period_timescale_marks":{},"open_account_manager":{},"show_order_panel_on_start":{},"order_panel":{"subsets":["order_panel_close_button","order_panel_undock","right_toolbar","order_info"]},"multiple_watchlists":{},"watchlist_import_export":{},"study_overlay_compare_legend_option":{},"custom_resolutions":{},"referral_program_for_widget_owners":{},"mobile_trading":{},"real_brokers":{},"no_min_chart_width":{},"lock_visible_time_range_on_resize":{},"pricescale_currency":{},"cropped_tick_marks":{},"trading_account_manager":{},"disable_sameinterval_aligning":{},"display_legend_on_all_charts":{},"chart_style_hilo":{},"pricescale_unit":{},"show_spread_operators":{},"hide_exponentiation_spread_operator":{},"hide_reciprocal_spread_operator":{},"compare_symbol_search_spread_operators":{},"studies_symbol_search_spread_operators":{},"hide_resolution_in_legend":{},"hide_unresolved_symbols_in_legend":{},"fix_left_edge":{},"study_symbol_ticker_description":{},"two_character_bar_marks_labels":{},"tick_resolution":{},"secondary_series_extend_time_scale":{},"hide_volume_ma":{},"small_no_display":{},"charting_library_single_symbol_request":{},"use_ticker_on_symbol_info_update":{},"show_zoom_and_move_buttons_on_touch":{},"hide_main_series_symbol_from_indicator_legend":{},"chart_hide_close_position_button":{},"chart_hide_close_order_button":{},"hide_price_scale_global_last_bar_value":{},"keep_object_tree_widget_in_right_toolbar":{},"show_average_close_price_line_and_label":{},"hide_image_invalid_symbol":{},"hide_object_tree_and_price_scale_exchange_label":{},"confirm_overwrite_if_chart_layout_with_name_exists":{},"use_na_string_for_not_available_values":{},"show_last_price_and_change_only_in_series_legend":{},"show_context_menu_in_crosshair_if_only_one_item":{},"tv_production":{"subsets":["auto_enable_symbol_labels","symbol_search_parser_mixin","header_fullscreen_button","header_widget","dont_show_boolean_study_arguments","left_toolbar","buy_sell_buttons","control_bar","symbol_search_hot_key","context_menus","edit_buttons_in_legend","object_tree_legend_mode","uppercase_instrument_names","use_localstorage_for_settings","saveload_requires_authentication","volume_force_overlay","saved_charts_count_restriction","create_volume_indicator_by_default","create_volume_indicator_by_default_once","charts_auto_save","save_old_chart_before_save_as","chart_content_overrides_by_defaults","alerts","header_saveload","header_layouttoggle","datasource_copypaste","show_saved_watchlists","watchlists_from_to_file","add_to_watchlist","property_pages","support_multicharts","display_market_status","display_data_mode","show_chart_warn_message","support_manage_drawings","widgetbar_tabs","study_templates","collapsible_header","drawing_templates","footer_publish_idea_button","text_notes","show_source_code","symbol_info","linetoolpropertieswidget_template_button","trading_notifications","symbol_search_three_columns_exchanges","symbol_search_flags","symbol_search_limited_exchanges","phone_verification","chart_events","custom_resolutions","compare_symbol","study_on_study","japanese_chart_styles","show_login_dialog","dome_widget","dom_widget","bars_marks","chart_scroll","chart_zoom","show_trading_notifications_history","source_selection_markers","study_dialog_fundamentals_economy_addons","multiple_watchlists","marked_symbols","order_panel","pricescale_currency","show_animated_logo","pricescale_currency","show_object_tree","watchlist_import_export","scales_date_format","popup_hints","show_right_widgets_panel_by_default","compare_recent_symbols_enabled","adaptive_trading_sources"]},"widget":{"subsets":["auto_enable_symbol_labels","symbol_search_parser_mixin","uppercase_instrument_names","left_toolbar","control_bar","symbol_search_hot_key","context_menus","edit_buttons_in_legend","object_tree_legend_mode","use_localstorage_for_settings","saveload_requires_authentication","volume_force_overlay","create_volume_indicator_by_default","create_volume_indicator_by_default_once","dont_show_boolean_study_arguments","header_widget_dom_node","header_symbol_search","header_resolutions","header_chart_type","header_compare","header_indicators","star_some_intervals_by_default","display_market_status","display_data_mode","show_chart_warn_message","symbol_info","linetoolpropertieswidget_template_button","symbol_search_three_columns_exchanges","symbol_search_flags","symbol_search_limited_exchanges","widgetbar_tabs","compare_symbol","show_login_dialog","plain_studymarket","japanese_chart_styles","bars_marks","chart_scroll","chart_zoom","source_selection_markers","property_pages","show_right_widgets_panel_by_default"]},"bovespa_widget":{"subsets":["widget","header_settings","linetoolpropertieswidget_template_button","compare_recent_symbols_enabled"]},"charting_library_base":{"subsets":["14851","allow_supported_resolutions_set_only","auto_enable_symbol_labels","border_around_the_chart","collapsible_header","constraint_dialogs_movement","context_menus","control_bar","create_volume_indicator_by_default","custom_items_in_context_menu","datasource_copypaste","uppercase_instrument_names","display_market_status","edit_buttons_in_legend","object_tree_legend_mode","graying_disabled_tools_enabled","header_widget","legend_widget","header_saveload","dont_show_boolean_study_arguments","lean_chart_load","left_toolbar","link_to_tradingview","pay_attention_to_ticker_not_symbol","plain_studymarket","refresh_saved_charts_list_on_dialog_show","right_bar_stays_on_scroll","saveload_storage_customization","stop_study_on_restart","timeframes_toolbar","symbol_search_hot_key","update_study_formatter_on_symbol_resolve","update_timeframes_set_on_symbol_resolve","use_localstorage_for_settings","volume_force_overlay","widget_logo","countdown","use_overrides_for_overlay","trading_notifications","compare_symbol","symbol_info","timezone_menu","main_series_scale_menu","create_volume_indicator_by_default_once","bars_marks","chart_scroll","chart_zoom","source_selection_markers","property_pages","go_to_date","adaptive_logo","show_animated_logo","handle_scale","handle_scroll","shift_visible_range_on_new_bar","chart_content_overrides_by_defaults","cropped_tick_marks","scales_date_format","popup_hints","save_shortcut","show_right_widgets_panel_by_default","show_object_tree","insert_indicator_dialog_shortcut","compare_recent_symbols_enabled","hide_main_series_symbol_from_indicator_legend"]},"charting_library":{"subsets":["charting_library_base"]},"static_charts_service":{"subsets":["charting_library","disable_resolution_rebuild"]},"trading_terminal":{"subsets":["charting_library_base","showdom_button","support_multicharts","header_layouttoggle","japanese_chart_styles","chart_property_page_trading","add_to_watchlist","open_account_manager","show_dom_first_time","order_panel","buy_sell_buttons","multiple_watchlists","show_trading_notifications_history","always_pass_called_order_to_modify","show_object_tree","watchlist_import_export","drawing_templates","trading_account_manager","chart_crosshair_menu","compare_recent_symbols_enabled","adaptive_trading_sources"]}}') ;var o=n.t(r,2);const u=new Map,i=new Map,a=new Set;function s(e){const t=u.get(e);if(void 0!==t)return t;const n=i.get(e);return!!n&&n.some(s)}function d(e,t){u.set(String(e),Boolean(t))}function c(e){d(e,!0)}function f(e){d(e,!1)}function l(){const e=Object.create(null);for(const t of a)e[t]=s(t);return e}!function(){for(const[e,t]of Object.entries(o))if(a.add(e),"subsets"in t)for(const n of t.subsets){a.add(n);let t=i.get(n);void 0===t&&(t=[],i.set(n,t)),t.push(e)}"object"==typeof __initialDisabledFeaturesets&&Array.isArray(__initialDisabledFeaturesets)&&__initialDisabledFeaturesets.forEach(f),"object"==typeof __initialEnabledFeaturesets&&Array.isArray(__initialEnabledFeaturesets)&&__initialEnabledFeaturesets.forEach(c)}()},80643:function(e,t,n){var r;e=n.nmd(e);var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},u=function(e){return"object"==typeof e&&null!==e};function i(e){return"number"==typeof e&&isFinite(e)}function a(e){return null!=e&&e.constructor===Function}function s(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}"undefined"!=typeof window?(r=window.TradingView=window.TradingView||{},window.isNumber=i,window.isFunction=a,window.inherit=s,window.isArray=o):r=this.TradingView=this.TradingView||{},r.isNaN=function(e){return!(e<=0||e>0)},r.isAbsent=function(e){return null==e},r.isExistent=function(e){return null!=e},Number.isNaN=Number.isNaN||function(e){return e!=e},r.isSameType=function(e,t){return Number.isNaN(e)||Number.isNaN(t)?Number.isNaN(e)===Number.isNaN(t):{}.toString.call(e)==={}.toString.call(t)},r.isInteger=function(e){return"number"==typeof e&&e%1==0},r.parseBool=function(e){return!0===e||"true"===e},r.isBoolean=function(e){return!0===e||!1===e},r.isString=function(e){return null!=e&&e.constructor===String},r.isInherited=function(e,t){if(null==e||null==e.prototype)throw new TypeError("isInherited: child should be a constructor function");if(null==t||null==t.prototype)throw new TypeError("isInherited: parent should be a constructor function");return e.prototype instanceof t||e.prototype===t.prototype},r.TypeValidator=function(e){this.m_type=e},r.TypeValidator.prototype.check=function(e){return e.constructor===this.m_type||r.isInherited(e.constructor,this.m_type)},r.PredicateValidator=function(e){this.m_predicate=e},r.PredicateValidator.prototype.check=function(e){return this.m_predicate(e)},r.clone=function(e){if(!e||"object"!=typeof e)return e;var t,n,o;for(n in t="function"==typeof e.pop?[]:{},e)e.hasOwnProperty(n)&&(o=e[n],t[n]=o&&"object"==typeof o?r.clone(o):o);return t},r.deepEquals=function(e,t,n){if(n||(n=""),e===t)return[!0,n];if(a(e)&&(e=void 0),a(t)&&(t=void 0),void 0===e&&void 0!==t)return[!1,n];if(void 0===t&&void 0!==e)return[!1,n];if(null===e&&null!==t)return[!1,n];if(null===t&&null!==e)return[!1,n];if("object"!=typeof e&&"object"!=typeof t)return[e===t,n];if(Array.isArray(e)&&Array.isArray(t)){var u=e.length;if(u!==t.length)return[!1,n];for(var i=0;iu&&(d=1*s),0===d);c++);return d}},e&&e.exports&&(e.exports={inherit:s,clone:r.clone,merge:r.merge,isNumber:i,isInteger:r.isInteger,isBoolean:r.isBoolean,isString:r.isString,isObject:u,isHashObject:function(e){return u(e)&&-1!==e.constructor.toString().indexOf("function Object")},isPromise:function(e){return u(e)&&e.then},isNaN:r.isNaN,isAbsent:r.isAbsent,isExistent:r.isExistent,isSameType:r.isSameType,isArray:o,isFunction:a,parseBool:r.parseBool,deepEquals:r.deepEquals,notNull:function(e){return null!==e},notUndefined:function(e){return void 0!==e},declareClassAsPureInterface:function(e,t){for(var n in e.prototype)"function"==typeof e.prototype[n]&&e.prototype.hasOwnProperty(n)&&(e.prototype[n]=function(){throw new Error(t+"::"+n+" is an interface member declaration and must be overloaded in order to be called")})},requireFullInterfaceImplementation:function(e,t,n,r){for(var o in n.prototype)if("function"==typeof n.prototype[o]&&!e.prototype[o])throw new Error("Interface implementation assertion failed: "+t+" does not implement "+r+"::"+o+" function")}})},94419:(e,t,n)=>{"use strict";n.r(t);var r=n(80643);const o=/{(\w+)}/g,u=/{(\d+)}/g;String.prototype.format=function(...e){const t=(0,r.isObject)(e[0]),n=t?o:u,i=t?(t,n)=>{const r=e[0];return void 0!==r[n]?r[n]:t}:(t,n)=>{const r=parseInt(n,10),o=e[r];return void 0!==o?o:t};return this.replace(n,i)}},9196:()=>{"use strict";var e,t,n,r,o,u;window.parent!==window&&window.CanvasRenderingContext2D&&window.TextMetrics&&(t=window.CanvasRenderingContext2D.prototype)&&t.hasOwnProperty("font")&&t.hasOwnProperty("mozTextStyle")&&"function"==typeof t.__lookupSetter__&&(n=t.__lookupSetter__("font"))&&(t.__defineSetter__("font",(function(e){try{return n.call(this,e)}catch(e){if("NS_ERROR_FAILURE"!==e.name)throw e}})),r=t.measureText,e=function(){this.width=0,this.isFake=!0,this.__proto__=window.TextMetrics.prototype},t.measureText=function(t){try{return r.apply(this,arguments)}catch(t){if("NS_ERROR_FAILURE"!==t.name)throw t;return new e}},o=t.fillText,t.fillText=function(e,t,n,r){try{o.apply(this,arguments)}catch(e){ diff --git a/charting_library/bundles/186115d4ca74152914acd81e26836798.svg b/charting_library/bundles/186115d4ca74152914acd81e26836798.svg new file mode 100644 index 00000000..cc7fa734 --- /dev/null +++ b/charting_library/bundles/186115d4ca74152914acd81e26836798.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1865.9d9f2c055165380e13c9.css b/charting_library/bundles/1865.9d9f2c055165380e13c9.css new file mode 100644 index 00000000..a08f8a8d --- /dev/null +++ b/charting_library/bundles/1865.9d9f2c055165380e13c9.css @@ -0,0 +1 @@ +.billing-date-EEnD87dn{color:#131722;font-size:24px;line-height:36px}html.theme-dark .billing-date-EEnD87dn{color:#d1d4dc}.total-JkT5MEd7{display:flex}@media screen and (max-width:767px){.total-JkT5MEd7{flex-direction:column}}.description-container-JkT5MEd7{flex:1.5}.description-container-JkT5MEd7,.price-JkT5MEd7:not(:last-child){margin-right:20px}@media screen and (max-width:767px){.description-container-JkT5MEd7,.price-JkT5MEd7:not(:last-child){margin-right:0}}.description-JkT5MEd7{color:#787b86;font-size:14px;line-height:21px}html.theme-dark .description-JkT5MEd7{color:#787b86}.price-JkT5MEd7,.title-JkT5MEd7{color:#131722;font-size:24px;line-height:36px}html.theme-dark .price-JkT5MEd7,html.theme-dark .title-JkT5MEd7{color:#d1d4dc}.price-JkT5MEd7{color:#131722;flex:1;font-weight:700;text-align:right}html.theme-dark .price-JkT5MEd7{color:#d1d4dc}@media screen and (max-width:767px){.price-JkT5MEd7{text-align:initial}}.info-block-pdxqWuDM{background-color:#e3effd;border-radius:4px;flex:1;margin-top:24px;padding:16px 16px 4px}html.theme-dark .info-block-pdxqWuDM{background-color:#132042}h3.info-block-title-pdxqWuDM{color:#131722;font-size:18px;margin-bottom:4px}html.theme-dark h3.info-block-title-pdxqWuDM{color:#d1d4dc}p.info-block-description-pdxqWuDM{color:#434651;font-size:16px;line-height:1.6;margin-bottom:12px}html.theme-dark p.info-block-description-pdxqWuDM{color:#b2b5be}.footer-N3Bb7EMK{margin-top:20px}.separator-N3Bb7EMK{border-bottom:1px dashed #c1c4cd;margin:16px 0}.title-iyvXI0en{color:#131722;font-size:31px;line-height:44px;margin:40px 60px 20px 0}html.theme-dark .title-iyvXI0en{color:#d1d4dc}.checkbox-wrap-e1ycFYBm{margin-top:20px}.checkbox-e1ycFYBm{align-items:baseline}p.label-p-e1ycFYBm{color:#434651;font-size:14px;line-height:1.6em;margin-bottom:0}html.theme-dark p.label-p-e1ycFYBm{color:#d1d4dc}.actions-9KDBaBYj{display:flex;justify-content:flex-end;margin-top:20px}.hide-btn-text-9KDBaBYj{opacity:0}.plans-container-GAQ9CocC{display:flex;justify-content:space-between}.plan-box-GAQ9CocC{border-radius:6px;box-sizing:border-box;padding:20px;width:320px}@media screen and (max-width:479px){.plan-box-GAQ9CocC{padding:12px}}.plan-box-GAQ9CocC.one-card-layout-GAQ9CocC{width:100%}.plan--next-GAQ9CocC{background-color:#fff;border:3px solid #2962ff}html.theme-dark .plan--next-GAQ9CocC{background-color:#1e222d;border:3px solid #1848cc}@media screen and (max-width:479px){.plan--next-GAQ9CocC{border-width:2px}}.plan--current-GAQ9CocC{background-color:#f8f9fd}html.theme-dark .plan--current-GAQ9CocC{background-color:#131722}.plan-box--title-GAQ9CocC{color:#131722;display:block;font-size:24px;font-weight:600;line-height:32px;margin-bottom:4px}html.theme-dark .plan-box--title-GAQ9CocC{color:#d1d4dc}@media screen and (max-width:479px){.plan-box--title-GAQ9CocC{font-size:20px;line-height:28px}}.plan-box--description-GAQ9CocC{color:#434651;display:block;font-size:14px;line-height:21px;margin-bottom:12px}html.theme-dark .plan-box--description-GAQ9CocC{color:#b2b5be}@media screen and (max-width:479px){.plan-box--description-GAQ9CocC{display:none}}.plan-box--days-left-GAQ9CocC{color:#131722;display:block;font-size:20px;line-height:36px;margin:0}html.theme-dark .plan-box--days-left-GAQ9CocC{color:#d1d4dc}@media screen and (max-width:479px){.plan-box--days-left-GAQ9CocC{font-size:18px;line-height:28px}}.arrow-GAQ9CocC{align-self:center;color:#131722}html.theme-dark .arrow-GAQ9CocC{color:#d1d4dc}.arrow-GAQ9CocC svg{height:48px;width:48px}.content-X3KKyG5H{padding:0 40px}@media screen and (max-width:479px){.content-X3KKyG5H{padding:0 20px}}.checkboxes-X3KKyG5H{margin-top:20px}.dialog-xQE4WxzT.change-plan-xQE4WxzT{min-width:768px;overflow:hidden;padding-bottom:10px}@media screen and (max-width:767px){.dialog-xQE4WxzT.change-plan-xQE4WxzT{border-radius:0;bottom:0;left:0;min-width:auto;position:fixed;right:0;top:0;width:100%}}.body-xQE4WxzT{display:flex;flex-direction:column}.body-xQE4WxzT.body-xQE4WxzT{padding:0 0 30px;position:relative}.close-button-xQE4WxzT{position:absolute;right:30px;top:30px} \ No newline at end of file diff --git a/charting_library/bundles/1865.9d9f2c055165380e13c9.rtl.css b/charting_library/bundles/1865.9d9f2c055165380e13c9.rtl.css new file mode 100644 index 00000000..c3a6272d --- /dev/null +++ b/charting_library/bundles/1865.9d9f2c055165380e13c9.rtl.css @@ -0,0 +1 @@ +.billing-date-EEnD87dn{color:#131722;font-size:24px;line-height:36px}html.theme-dark .billing-date-EEnD87dn{color:#d1d4dc}.total-JkT5MEd7{display:flex}@media screen and (max-width:767px){.total-JkT5MEd7{flex-direction:column}}.description-container-JkT5MEd7{flex:1.5}.description-container-JkT5MEd7,.price-JkT5MEd7:not(:last-child){margin-left:20px}@media screen and (max-width:767px){.description-container-JkT5MEd7,.price-JkT5MEd7:not(:last-child){margin-left:0}}.description-JkT5MEd7{color:#787b86;font-size:14px;line-height:21px}html.theme-dark .description-JkT5MEd7{color:#787b86}.price-JkT5MEd7,.title-JkT5MEd7{color:#131722;font-size:24px;line-height:36px}html.theme-dark .price-JkT5MEd7,html.theme-dark .title-JkT5MEd7{color:#d1d4dc}.price-JkT5MEd7{color:#131722;flex:1;font-weight:700;text-align:left}html.theme-dark .price-JkT5MEd7{color:#d1d4dc}@media screen and (max-width:767px){.price-JkT5MEd7{text-align:initial}}.info-block-pdxqWuDM{background-color:#e3effd;border-radius:4px;flex:1;margin-top:24px;padding:16px 16px 4px}html.theme-dark .info-block-pdxqWuDM{background-color:#132042}h3.info-block-title-pdxqWuDM{color:#131722;font-size:18px;margin-bottom:4px}html.theme-dark h3.info-block-title-pdxqWuDM{color:#d1d4dc}p.info-block-description-pdxqWuDM{color:#434651;font-size:16px;line-height:1.6;margin-bottom:12px}html.theme-dark p.info-block-description-pdxqWuDM{color:#b2b5be}.footer-N3Bb7EMK{margin-top:20px}.separator-N3Bb7EMK{border-bottom:1px dashed #c1c4cd;margin:16px 0}.title-iyvXI0en{color:#131722;font-size:31px;line-height:44px;margin:40px 0 20px 60px}html.theme-dark .title-iyvXI0en{color:#d1d4dc}.checkbox-wrap-e1ycFYBm{margin-top:20px}.checkbox-e1ycFYBm{align-items:baseline}p.label-p-e1ycFYBm{color:#434651;font-size:14px;line-height:1.6em;margin-bottom:0}html.theme-dark p.label-p-e1ycFYBm{color:#d1d4dc}.actions-9KDBaBYj{display:flex;justify-content:flex-end;margin-top:20px}.hide-btn-text-9KDBaBYj{opacity:0}.plans-container-GAQ9CocC{display:flex;justify-content:space-between}.plan-box-GAQ9CocC{border-radius:6px;box-sizing:border-box;padding:20px;width:320px}@media screen and (max-width:479px){.plan-box-GAQ9CocC{padding:12px}}.plan-box-GAQ9CocC.one-card-layout-GAQ9CocC{width:100%}.plan--next-GAQ9CocC{background-color:#fff;border:3px solid #2962ff}html.theme-dark .plan--next-GAQ9CocC{background-color:#1e222d;border:3px solid #1848cc}@media screen and (max-width:479px){.plan--next-GAQ9CocC{border-width:2px}}.plan--current-GAQ9CocC{background-color:#f8f9fd}html.theme-dark .plan--current-GAQ9CocC{background-color:#131722}.plan-box--title-GAQ9CocC{color:#131722;display:block;font-size:24px;font-weight:600;line-height:32px;margin-bottom:4px}html.theme-dark .plan-box--title-GAQ9CocC{color:#d1d4dc}@media screen and (max-width:479px){.plan-box--title-GAQ9CocC{font-size:20px;line-height:28px}}.plan-box--description-GAQ9CocC{color:#434651;display:block;font-size:14px;line-height:21px;margin-bottom:12px}html.theme-dark .plan-box--description-GAQ9CocC{color:#b2b5be}@media screen and (max-width:479px){.plan-box--description-GAQ9CocC{display:none}}.plan-box--days-left-GAQ9CocC{color:#131722;display:block;font-size:20px;line-height:36px;margin:0}html.theme-dark .plan-box--days-left-GAQ9CocC{color:#d1d4dc}@media screen and (max-width:479px){.plan-box--days-left-GAQ9CocC{font-size:18px;line-height:28px}}.arrow-GAQ9CocC{align-self:center;color:#131722}html.theme-dark .arrow-GAQ9CocC{color:#d1d4dc}.arrow-GAQ9CocC svg{height:48px;width:48px}.content-X3KKyG5H{padding:0 40px}@media screen and (max-width:479px){.content-X3KKyG5H{padding:0 20px}}.checkboxes-X3KKyG5H{margin-top:20px}.dialog-xQE4WxzT.change-plan-xQE4WxzT{min-width:768px;overflow:hidden;padding-bottom:10px}@media screen and (max-width:767px){.dialog-xQE4WxzT.change-plan-xQE4WxzT{border-radius:0;bottom:0;left:0;min-width:auto;position:fixed;right:0;top:0;width:100%}}.body-xQE4WxzT{display:flex;flex-direction:column}.body-xQE4WxzT.body-xQE4WxzT{padding:0 0 30px;position:relative}.close-button-xQE4WxzT{left:30px;position:absolute;top:30px} \ No newline at end of file diff --git a/charting_library/bundles/192a7bbb73684d1f6dae83700fb21173.svg b/charting_library/bundles/192a7bbb73684d1f6dae83700fb21173.svg new file mode 100644 index 00000000..abdfdf5e --- /dev/null +++ b/charting_library/bundles/192a7bbb73684d1f6dae83700fb21173.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1946.c0a666d2f0aa1faa6769.js b/charting_library/bundles/1946.c0a666d2f0aa1faa6769.js new file mode 100644 index 00000000..afad8721 --- /dev/null +++ b/charting_library/bundles/1946.c0a666d2f0aa1faa6769.js @@ -0,0 +1,20 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1946],{35806:(e,t,a)=>{e.exports=a.p+"4419319a45a29943de1cbb904c896305.svg"},96622:(e,t,a)=>{e.exports=a.p+"1614841ed51c3d3bebf01c2a573e83ee.svg"},80875:(e,t,a)=>{e.exports=a.p+"7e42b51d668e0b400a9cb506aec1fc00.svg"},9037:e=>{e.exports={"round-tabs":"round-tabs-K7mS8XY3","align-start":"align-start-K7mS8XY3","align-center":"align-center-K7mS8XY3",tab:"tab-K7mS8XY3","tab-primary":"tab-primary-K7mS8XY3",checked:"checked-K7mS8XY3","tab-ghost":"tab-ghost-K7mS8XY3","size-xsmall":"size-xsmall-K7mS8XY3","size-small":"size-small-K7mS8XY3","size-large":"size-large-K7mS8XY3"}},41207:e=>{e.exports={title:"title-vJ96rZdD title-yKAVl1gH",description:"description-vJ96rZdD","apple-pay-container":"apple-pay-container-vJ96rZdD",termsCheckboxContainer:"termsCheckboxContainer-vJ96rZdD",hidden:"hidden-vJ96rZdD","apple-pay-button-with-text":"apple-pay-button-with-text-vJ96rZdD","apple-pay-button-with-text-white":"apple-pay-button-with-text-white-vJ96rZdD","apple-pay-button-with-text-black":"apple-pay-button-with-text-black-vJ96rZdD"}},41033:e=>{e.exports={title:"title-eSrDwvYT title-yKAVl1gH",description:"description-eSrDwvYT",accent:"accent-eSrDwvYT",block:"block-eSrDwvYT",listOfCrypto:"listOfCrypto-eSrDwvYT",vital:"vital-eSrDwvYT",link:"link-eSrDwvYT"}},48372:e=>{e.exports={title:"title-MIHsGXyq title-3IsblctN",addressField:"addressField-MIHsGXyq",invalidInput:"invalidInput-MIHsGXyq",focusInput:"focusInput-MIHsGXyq",cardInput:"cardInput-MIHsGXyq",validInput:"validInput-MIHsGXyq",addressFieldsContainer:"addressFieldsContainer-MIHsGXyq",additionalFieldsContainer:"additionalFieldsContainer-MIHsGXyq"}},69644:e=>{e.exports={purchaseBlock:"purchaseBlock-8RcOLBfK"}},77150:e=>{e.exports={policyCheckbox:"policyCheckbox-LSoXiIEh",checkboxLabel:"checkboxLabel-LSoXiIEh",checkbox:"checkbox-LSoXiIEh"}},12150:e=>{e.exports={"price-row":"price-row-RlX7XxW1","total-title":"total-title-RlX7XxW1","total-number":"total-number-RlX7XxW1","tax-row":"tax-row-RlX7XxW1"}},68819:e=>{e.exports={title:"title-3IsblctN",highlight:"highlight-3IsblctN highlight-yKAVl1gH",cardForm:"cardForm-3IsblctN",formInput:"formInput-3IsblctN",input:"input-3IsblctN","button-container":"button-container-3IsblctN",addressField:"addressField-3IsblctN",creditCardFormContainer:"creditCardFormContainer-3IsblctN",creditCardFieldsContainer:"creditCardFieldsContainer-3IsblctN",creditCardWrapper:"creditCardWrapper-3IsblctN",cardTypeIcon:"cardTypeIcon-3IsblctN",cardNumber:"cardNumber-3IsblctN",cardholderName:"cardholderName-3IsblctN",cardInput:"cardInput-3IsblctN",creditCardNumberInput:"creditCardNumberInput-3IsblctN",nameInput:"nameInput-3IsblctN"}},37793:e=>{e.exports={link:"link-Gp0emyGe",description:"description-Gp0emyGe"}},37024:e=>{e.exports={error:"error-SnZhQzb8",errorCountry:"errorCountry-SnZhQzb8",errorTitleWrapper:"errorTitleWrapper-SnZhQzb8",errorText:"errorText-SnZhQzb8",errorCountryText:"errorCountryText-SnZhQzb8",descriptionText:"descriptionText-SnZhQzb8",lastText:"lastText-SnZhQzb8", +errorCountryLastText:"errorCountryLastText-SnZhQzb8",secondButton:"secondButton-SnZhQzb8",icon:"icon-SnZhQzb8",button:"button-SnZhQzb8",solutionWrapper:"solutionWrapper-SnZhQzb8",solutions:"solutions-SnZhQzb8",itemLink:"itemLink-SnZhQzb8"}},19230:e=>{e.exports={title:"title-9F7Jqc3D title-yKAVl1gH",description:"description-9F7Jqc3D","google-pay-container":"google-pay-container-9F7Jqc3D","google-pay-button":"google-pay-button-9F7Jqc3D",hidden:"hidden-9F7Jqc3D"}},72443:e=>{e.exports={radio:"radio-MOJsE6Ae",title:"title-MOJsE6Ae title-yKAVl1gH",actionBlock:"actionBlock-MOJsE6Ae",action:"action-MOJsE6Ae",icon:"icon-MOJsE6Ae",radioButton:"radioButton-MOJsE6Ae",radioButtonColor:"radioButtonColor-MOJsE6Ae",iconWrapper:"iconWrapper-MOJsE6Ae"}},72733:e=>{e.exports={pageContainer:"pageContainer-yKAVl1gH",spinnerContainer:"spinnerContainer-yKAVl1gH",loading:"loading-yKAVl1gH",hide:"hide-yKAVl1gH",title:"title-yKAVl1gH",highlight:"highlight-yKAVl1gH",tabs:"tabs-yKAVl1gH",termsCheckboxContainer:"termsCheckboxContainer-yKAVl1gH",purchaseBlock:"purchaseBlock-yKAVl1gH",cardholderName:"cardholderName-yKAVl1gH"}},42729:e=>{e.exports={title:"title-hLncX8Ky title-yKAVl1gH",description:"description-hLncX8Ky",paypalButton:"paypalButton-hLncX8Ky",disabled:"disabled-hLncX8Ky",hidden:"hidden-hLncX8Ky"}},26661:e=>{e.exports={success:"success-zMRBI9iz",successText:"successText-zMRBI9iz",descriptionText:"descriptionText-zMRBI9iz",lastText:"lastText-zMRBI9iz",icon:"icon-zMRBI9iz",button:"button-zMRBI9iz"}},60670:(e,t,a)=>{"use strict";a.d(t,{DEFAULT_ROUND_TABS_THEME:()=>d,RoundTabsButtons:()=>u});var n=a(59496),r=a(5437),o=a(97754);function s(e,t){const{align:a="start",size:n="xsmall"}=t;return o(e["round-tabs"],e["align-"+a],e["size-"+n])}function i(e,t){const{variant:a="primary",isChecked:n}=t;return o(e.tab,e["tab-"+a],n&&e.checked)}var l=a(9037),c=a.n(l);const d=c(),u=n.forwardRef((e,t)=>{const{tabs:a,size:o="xsmall",variant:l="primary",theme:d=c()}=e;return n.createElement("div",{className:s(d,e),ref:t},a.map(e=>{const{isChecked:t,...a}=e;return n.createElement(r.RoundButton,{...a,className:i(d,{...a,variant:l,isChecked:t}),size:o,variant:l})}))});u.displayName="RoundTabsButtons";n.forwardRef((e,t)=>{const{tabs:a,size:o="xsmall",variant:l="primary",theme:d=c()}=e;return n.createElement("div",{className:s(d,e),ref:t},a.map(e=>{const{isChecked:t,...a}=e;return n.createElement(r.RoundAnchorButton,{...a,className:i(d,{...a,variant:l,isChecked:t}),size:o,variant:l})}))}).displayName="RoundTabsAnchors"},74745:(e,t,a)=>{"use strict";a.d(t,{TermsCheckbox:()=>l});var n=a(59496),r=a(28353),o=(a(94419),a(15294)),s=a(77150);const i="policy-checkbox";function l(e){const{onChange:t,checked:a,labelText:l,checkboxId:c=i,children:d,showError:u}=e,m=l||r.t("I have read and agree with TradingView's {termsLink}Terms of Use{closeLink} and {privacyLink}Privacy Policy{closeLink}").format({termsLink:'',privacyLink:'',closeLink:""}) +;return n.createElement("div",{className:s.policyCheckbox},n.createElement(o.Checkbox,{id:c,checked:a,onChange:t,className:s.checkbox,intent:u&&!a?"danger":void 0}),n.createElement("label",{htmlFor:c,dangerouslySetInnerHTML:d?void 0:{__html:m},className:s.checkboxLabel},d))}},14972:(e,t,a)=>{"use strict";a.d(t,{getDeviceData:()=>o});var n=a(72589),r=a.n(n);function o(e){return r().client.create({authorization:e}).then(e=>r().dataCollector.create({client:e,paypal:!0}).then(e=>e.deviceData))}},60679:(e,t,a)=>{"use strict";a.d(t,{PaymentDataType:()=>n,orderDetails:()=>i,onStartTrial:()=>l,onChangeTrial:()=>c,onCoinbasePurchase:()=>d,onEcommpayPurchase:()=>u,onOrderPurchase:()=>m});var n,r=a(85198),o=a(10878);function s(e,t,a,o,s,i){const l={product_id:a};return o===n.Nonce?l.payment_method_nonce=t:o===n.Token&&(l.payment_method_token=t),s&&(l.billing_cycle=s),i&&(l.user_details=i),(0,r.fetch)(e,{method:"POST",credentials:"include",body:JSON.stringify(l)})}function i(){return(0,r.fetch)("/order/details/").then(e=>e.json())}function l(e,t,a,n,r){return s("/trial/new/",e,t[0],a,n,r)}function c(e){const t=new FormData;return t.append("product_id",e),(0,r.fetch)("/trial/change/",{method:"POST",credentials:"include",headers:new Headers({acccept:"application/json","X-Requested-With":"XMLHttpRequest"}),body:t})}async function d(e,t,a){const n=await(0,r.fetch)("/order/coinbase/products/",{method:"POST",credentials:"include",body:JSON.stringify({products:e,billing_cycle:t,...a})});if(!n.ok){const e=await n.json();throw Error(e.detail)}return n.json()}async function u(e,t,a,n){const s=await(0,r.fetch)("/order/ecommpay/products/",{method:"POST",credentials:"include",body:JSON.stringify({products:e,billing_cycle:t,currency:o.Currencies.Rub,is_trial_period:n,...a})});if(!s.ok){const e=await s.json();throw Error(e.detail)}return s.json()}function m(e,t,a,s,i){const l={products:t,currency:o.Currencies.Usd};return a===n.Nonce?l.payment_method_nonce=e:a===n.Token&&(l.payment_method_token=e),s&&(l.billing_cycle=s),i&&(l.user_details=i),(0,r.fetch)("/order/products/",{method:"POST",credentials:"include",body:JSON.stringify(l)})}!function(e){e.Nonce="nonce",e.Token="token"}(n||(n={}))},31946:(e,t,a)=>{"use strict";a.d(t,{PaymentMethod:()=>v});var n=a(59496),r=a(28353),o=a(97754),s=a.n(o),i=a(76266),l=a(76974),c=a(78540),d=a(60679),u=a(88537),m=a(61074),p=a(60670),h=a(57762),y=a(98125),g=a(68769),C=a(72733);const b=(0,y.getLogger)("PaymentsMethod"),f=[h.PaymentTab.OneClick,h.PaymentTab.CreditCard,h.PaymentTab.Ecommpay,h.PaymentTab.ApplePay,h.PaymentTab.GooglePay,h.PaymentTab.Paypal,h.PaymentTab.Coinbase];function v(e){ +const{products:t,billingCycle:a=c.BillingCycle.Monthly,successText:r,hideTotalPrice:o,hideTryAgainButtonCodes:y,defaultTab:f,purchaseButtonText:v,termsText:k,spinnerContainerClassName:_,successTitle:N,errorTitle:S,buttonContainer:A,checked:x=!1,children:I,excludedTabs:w=[],check2faForOneClick:M=!1,inResponsiveContainer:F=!1,onTryAgain:V,onTabChange:B,onSuccess:D,onError:R,onClose:L,onPurchase:O,onCheckboxValidityChange:H,onBillingAddressChange:z,price:U,currency:K,defaultCountry:W,isTrial:Z,blockedCountries:G}=e,[X,Y]=(0,n.useState)(null),[$,q]=(0,n.useState)(null),[J,j]=(0,n.useState)(""),[Q,ee]=(0,n.useState)(""),[te,ae]=(0,n.useState)(""),[ne,re]=(0,n.useState)(null),[oe,se]=(0,n.useState)(!1),[ie,le]=(0,n.useState)(T(w,W)),[ce,de]=(0,n.useState)(!0),[ue,me]=(0,n.useState)(x),[pe,he]=(0,n.useState)(""),[ye,ge]=(0,n.useState)(""),[Ce,be]=(0,n.useState)(),[fe,ve]=(0,n.useState)(!1),Ee=(0,l.useIsMounted)(),Te=(0,n.useCallback)(e=>{Ee.current&&e!==X&&(B&&B(e),Y(e),q(null),de(!0))},[B,X]),Pe=(0,n.useCallback)(e=>{e.preventDefault(),Te(h.PaymentTab.CreditCard)},[Te]),ke=(0,n.useCallback)(e=>{Ee.current&&Ee.current&&(q(h.PaymentResult.Success),de(!1),D&&D(e))},[D]),_e=(0,n.useCallback)((e,t)=>{he(null!=e?e:""),ge(null!=t?t:""),q(h.PaymentResult.Error),de(!1)},[]),Ne=(0,n.useCallback)(e=>{if(H)return H(e);ve(e)},[H]),Se=X!==h.PaymentTab.OneClick?d.PaymentDataType.Nonce:d.PaymentDataType.Token,Ae=(0,n.useCallback)(async(e,n)=>{if(!ue)return void Ne(!ue);const r=await O(e,t,Se,a,n);if(r.ok)return void ke(r);const o=await r.json();o.detail&&o.code&&Ee.current&&_e(o.detail,o.code)},[Se,ke,O,ue,Ne,a,t]),xe=(0,n.useCallback)(async e=>{try{const n=await(0,d.onCoinbasePurchase)(t,a,e);window.open(n.hosted_url,"_self")}catch(e){b.logError(e.message),_e(e.message)}},[t,a]),Ie=(0,n.useCallback)(async e=>{try{const n=await(0,d.onEcommpayPurchase)(t,a,e,Z);window.open(n.payment_page_url,"_self")}catch(e){b.logError(e.message),_e(e.message)}},[t,a,Z]),we=(0,n.useCallback)(()=>{V&&V(),q(null)},[V]);(0,n.useEffect)(()=>{(0,u.ensureDefined)(window.pro).runOrUpdate(()=>be(window.pro)),(0,d.orderDetails)().then(e=>{if(!Ee.current)return;const{client_token:t,payment_methods:a,paypal_client_id:n,google_pay_merchant_id:r,is_2fa_active:o}=e,s=!M||o?a:[],i=null==s?void 0:s.filter(e=>e.is_address_complete);j(t),ee(n),ae(r),re(null!=i?i:[])}).catch(R)},[]),(0,n.useEffect)(()=>{ne&&(0===ne.length?le(T([h.PaymentTab.OneClick,...w],W)):le(T(w,W)))},[ne,w,W]),(0,n.useEffect)(()=>{if(!ne)return;const e=(0,g.showEcommpay)(W),t=(0,i.isFeatureEnabled)("ecommpay_ru");e&&!f?t?Te(h.PaymentTab.Ecommpay):ie.includes(h.PaymentTab.Coinbase)?Te(h.PaymentTab.Coinbase):Te(ie[0]):e&&f&&f!==h.PaymentTab.OneClick?E.includes(f)&&t?Te(h.PaymentTab.Ecommpay):t||f!==h.PaymentTab.Ecommpay?Te(f):Te(ie[0]):e&&t&&f===h.PaymentTab.OneClick?Te(h.PaymentTab.Ecommpay):f&&f!==h.PaymentTab.OneClick?Te(f):0===ne.length?Te(h.PaymentTab.CreditCard):Te(h.PaymentTab.OneClick),se(!0)},[ne,f,W,ie]),(0,n.useEffect)(()=>{me(x)},[x]);const Me=(0, +n.useCallback)(()=>me(!ue),[ue]),Fe=ie.map((e,t)=>({onClick:()=>Te(e),children:n.createElement("span",null,P(e)),isChecked:X===e,key:`tab_${e}_${t}`,role:"tabpanel","aria-controls":"tab-method-"+t,"aria-selected":X===e,id:"tabpanel-method-"+t,disabled:ce||Boolean($)}));return J&&Ce&&oe?n.createElement(n.Fragment,null,n.createElement("div",{className:C.tabs,role:"tablist"},n.createElement(p.RoundTabsButtons,{tabs:Fe,align:"start",size:"xsmall",theme:p.DEFAULT_ROUND_TABS_THEME})),n.createElement("div",{className:s()(C.pageContainer,ce&&C.loading,!F&&"responsive-container-base")},n.createElement("div",{className:s()(C.spinnerContainer,_,ce&&C.hide)},n.createElement(m.Spinner,{size:"medium"})),n.createElement(h.RenderPage,{tab:X,paypalClientId:Q,googlePayMerchantId:te,result:$,errorText:pe,errorCode:ye,errorTitle:S,hideTryAgainButtonCodes:y,onTryAgainHandler:we,onClose:L,successText:r,successTitle:N,onCheckboxValidity:Ne,buttonContainer:A,termsText:k,purchaseButtonText:v,hideTotalPrice:o,showCheckboxError:fe,onCheckboxChange:Me,checkboxChecked:ue,setLoading:de,onNewCard:Pe,products:t,token:J,onPurchaseHandler:Ae,onCoinbasePurchaseHandler:xe,onEcommpayPurchaseHandler:Ie,activePaymentMethods:ne,loading:ce,onErrorPurchaseHandler:_e,onBillingAddressChange:z,price:U,billingCycle:a,defaultCountry:W,currency:K,blockedCountries:G},I))):n.createElement(m.Spinner,{size:"medium"})}const E=[h.PaymentTab.OneClick,h.PaymentTab.GooglePay,h.PaymentTab.ApplePay,h.PaymentTab.CreditCard,h.PaymentTab.Paypal];function T(e,t){const a=new Set(e),n=(0,g.showEcommpay)(t),r=(0,i.isFeatureEnabled)("ecommpay_ru");return r&&n&&E.forEach(e=>a.add(e)),r&&n||a.add(h.PaymentTab.Ecommpay),f.filter(e=>!a.has(e))}function P(e){return{[h.PaymentTab.OneClick]:(0,r.t)("One click"),[h.PaymentTab.CreditCard]:(0,r.t)("Payment card"),[h.PaymentTab.ApplePay]:"Apple Pay",[h.PaymentTab.GooglePay]:"Google Pay",[h.PaymentTab.Paypal]:(0,r.t)("PayPal"),[h.PaymentTab.Coinbase]:(0,r.t)("Crypto"),[h.PaymentTab.Ecommpay]:(0,r.t)("Payment card")}[e]}},57762:(e,t,a)=>{"use strict";a.d(t,{PaymentResult:()=>st,PaymentTab:()=>ot,RenderPage:()=>it});var n=a(59496),r=a(28353),o=a(76974),s=a(76266),i=a(97754),l=a.n(i),c=a(72589),d=a.n(c),u=a(98125),m=a(87995),p=a(42707),h=a(86240),y=a(71036),g=a(69644);function C(e){const{customButton:t,onPurchase:a,disabled:r,buttonText:o,buttonContainer:s}=e;return(null==s?void 0:s.current)?m.createPortal(n.createElement(b,{btn:t,onClick:a,disabled:r,buttonText:o}),s.current):n.createElement("div",{className:g.purchaseBlock},n.createElement(b,{btn:t,onClick:a,disabled:r,buttonText:o}))}function b(e){const{btn:t,onClick:a,disabled:o,buttonText:s}=e,i=(0,p.useSafeMatchMedia)(h["media-mf-tablet-landscape"]);return t||n.createElement(y.SquareButton,{size:i?"medium":"large",onClick:a,disabled:o},s||(0,r.t)("Complete your purchase"))}var f=a(29302),v=a(28805),E=a(35587),T=a(30798);const P=[v.required,v.latin,v.ascii,v.withoutNumbers,v.cardholderName],k={value:"",isValid:!1,errors:[]};function _(e){ +const{onChange:t,value:a,isValid:r,errors:o,label:s,className:i}=e,l=(0,n.useCallback)(e=>t(e.currentTarget.value),[]),[c,d]=n.useState(!1),u=(0,n.useCallback)(()=>d(!0),[]),m=(0,n.useCallback)(()=>d(!1),[]);return n.createElement(f.OrderFieldContainer,{label:s,for:T.OrderInputsConsts.CardholderName},n.createElement(E.OrderInput,{id:T.OrderInputsConsts.CardholderName,name:T.OrderInputsConsts.CardholderName,value:a,type:"text",onChange:l,inputClassName:i,intent:!c&&r?"success":void 0,hasErrors:0!==o.length&&!r&&!c,errors:o,onFocus:u,onBlur:m}))}function N(e){let t=!0,a=[];const n=e.trim();for(const e of P){const{isValid:r,errors:o}=e(n);if(!r){t=r,a=o;break}}return{value:e,isValid:t,errors:a}}var S=a(96722),A=a(76861),x=a(49483),I=a(68769),w=a(9745),M=a(68819);const F=(0,u.getLogger)("Payments.CreditCard"),V={number:"expirationDate",expirationDate:"cvv",cvv:void 0,postalCode:void 0,expirationYear:void 0,expirationMonth:void 0,cardholderName:void 0};class B extends n.PureComponent{constructor(e){super(e),this._hostedFieldsInstance=null,this._creditCardId="card-number",this._expirationDateId="expiration-date",this._cvvId="cvv",this._isMounted=!1,this._createBrainTreeClient=()=>{const{clientToken:e,onError:t}=this.props;d().client.create({authorization:e},(e,a)=>{if(this._isMounted)return e?(F.logError(e.message),t(e.message)):void this._createHostedFields(a)})},this._createHostedFields=e=>{const{onError:t,onLoad:a}=this.props;d().hostedFields.create({client:e,styles:{"form input":{direction:"ltr"},input:M.cardInput},fields:{number:{selector:"#"+this._creditCardId,placeholder:(0,A.isProd)()?(0,r.t)("Credit card number"):"4111 1111 1111 1111"},cvv:{selector:"#"+this._cvvId,placeholder:"CVV",type:"password"},expirationDate:{selector:"#"+this._expirationDateId,placeholder:"MM/YY"}}},(e,n)=>e?(F.logError(e.message),t(e.message)):n?(this._hostedFieldsInstance=n,this._hostedFieldsInstance.on("validityChange",e=>{this.setState({cardFieldValid:this._isCardFieldsValid(e)})}),this._hostedFieldsInstance.on("cardTypeChange",e=>{this._onCardTypeChange(e)}),x.isSafari||this._hostedFieldsInstance.focus("number"),void a(!1)):t())},this._prePurchase=()=>{if(this.props.loading)return;const{allCardFieldsValid:e}=this.state,t=this._isAllFieldsValid();e||this.setState({btFieldsValid:!1}),t||this.props.validateAllFields(),e&&t&&this._onPurchase()},this._onPurchase=()=>{var e;const{onError:t,onLoad:a,onPurchase:n}=this.props,r=(0,I.removeMultipleWhitespace)(this.props.cardholderName.value),o=(0,I.convertAddressStateToModel)(this.props.billingAddress),s={countryCodeAlpha2:o.country_code_alpha2,region:o.region,locality:o.locality,streetAddress:o.street_address,postalCode:o.postal_code};a(!0),null===(e=this._hostedFieldsInstance)||void 0===e||e.tokenize({billingAddress:s,cardholderName:r},(e,a)=>e?(F.logError(e.message),t(e.message)):a?void n(a.nonce):t())},this._isCardFieldsValid=e=>{var t;let a=!0;if(e.emittedBy){const a=V[e.emittedBy],n=e.fields[e.emittedBy] +;n.isFocused&&n.isValid&&a&&(null===(t=this._hostedFieldsInstance)||void 0===t||t.focus(a))}return Object.values(e.fields).forEach(e=>{e.isValid||(a=!1)}),this.setState({allCardFieldsValid:a}),a},this._onCardTypeChange=e=>{if(1!==e.cards.length)return void this.setState({cardTypeIconUrl:I.paymentTypeToIconMap.default});const{type:t}=e.cards[0],a=I.paymentTypeToIconMap[t];a&&this.setState({cardTypeIconUrl:a})},this.state={cardFieldValid:!1,cardTypeIconUrl:I.paymentTypeToIconMap.default,allCardFieldsValid:!1,btFieldsValid:!0}}componentDidMount(){this._createBrainTreeClient(),this._isMounted=!0}componentWillUnmount(){this._isMounted=!1}render(){const{purchaseButtonText:e,buttonContainer:t,cardholderName:a,onCardholderNameChange:o}=this.props,{cardTypeIconUrl:s,btFieldsValid:l}=this.state;return n.createElement(n.Fragment,null,n.createElement("h3",{className:M.title},(0,r.t)("Payment details")),n.createElement("div",{className:M.highlight},(0,r.t)("The bank may hold and release $1 US to verify the card.")),n.createElement("div",{className:M.creditCardFormContainer},n.createElement("form",{action:"/order-coins/",method:"POST"},n.createElement("div",{className:M.cardForm},n.createElement("div",{className:M.creditCardFieldsContainer},n.createElement("div",{className:i(M.formInput,M.cardNumber)},n.createElement(S.Label,{htmlFor:this._creditCardId},(0,r.t)("Payment card number")),n.createElement("div",{id:"credit-cart-wrapper",className:M.creditCardWrapper},s&&(s===I.paymentTypeToIconMap.default?n.createElement(w.Icon,{icon:s,className:M.cardTypeIcon}):n.createElement("img",{src:s,className:M.cardTypeIcon})),n.createElement("div",{id:this._creditCardId,className:i(M.input,M.creditCardNumberInput,!l&&"braintree-hosted-fields-invalid"),tabIndex:1}))),n.createElement("div",{className:M.formInput},n.createElement(S.Label,{htmlFor:this._expirationDateId},(0,r.t)("Expiration date")),n.createElement("div",{id:this._expirationDateId,className:i(M.input,!l&&"braintree-hosted-fields-invalid")})),n.createElement("div",{className:M.formInput},n.createElement(S.Label,{htmlFor:this._cvvId},(0,r.t)("Security code")),n.createElement("div",{id:this._cvvId,className:i(M.input,!l&&"braintree-hosted-fields-invalid")})),n.createElement("div",{className:M.cardholderName},n.createElement(_,{...a,onChange:o,className:M.nameInput,label:(0,r.t)("Cardholder name")})))))),n.createElement(C,{onPurchase:this._prePurchase,buttonText:e,buttonContainer:t}))}_isAllFieldsValid(){return this.state.cardFieldValid&&this.props.isAllFieldsValid}}var D=a(54349),R=a(45631),L=a(25424),O=a(72443);class H extends n.PureComponent{constructor(e){var t;super(e),this._onMethodChange=e=>{const{paymentMethods:t,onBillingAddressChange:a}=this.props;this.setState({method:e});const n=t.find(t=>t.token===e);n&&a&&a((0,I.convertAddressModelToState)(n.billing_address))},this._onPurchase=()=>{const{onLoad:e,isAllFieldsValid:t,onPurchase:a,loading:n,validateTermCheckbox:r}=this.props,{method:o}=this.state;n||(t?(e(!0),a(o)):r())};const a=this.props.paymentMethods[0] +;a&&a.token&&this.props.onBillingAddressChange&&this.props.onBillingAddressChange((0,I.convertAddressModelToState)(a.billing_address)),this.state={method:null!==(t=null==a?void 0:a.token)&&void 0!==t?t:"",expanded:!1}}componentDidMount(){const{paymentMethods:e,onLoad:t}=this.props;e.length>0&&(t(!1),e.length<=3&&this.setState({expanded:!0}))}componentDidUpdate(e){var t;const{paymentMethods:a,onLoad:n}=this.props;e.paymentMethods!==a&&(this.setState({method:(null===(t=a[0])||void 0===t?void 0:t.token)||""}),n(!1)),a.length<=3&&this.setState({expanded:!0})}render(){const{method:e,expanded:t}=this.state,{paymentMethods:a,onNewCard:o,purchaseButtonText:s,buttonContainer:l}=this.props,c=t?a:a.slice(0,3);return n.createElement(n.Fragment,null,n.createElement("h3",{className:O.title},(0,r.t)("Choose your payment method")),c.length>0&&n.createElement(D.SwitchGroup,{name:"payment-method",values:[e],onChange:this._onMethodChange},c.map(e=>{let t;if(1===e.method){const{acct:a}=e,{cardtype:n}=e;t=this._getPaymentMethodIcon(a,n)}else 2===e.method?t=(0,r.t)("PayPal account"):3===e.method?t="Google Pay":4===e.method&&(t="Apple Pay");return n.createElement("div",{className:O.radio,key:e.token},n.createElement(R.RadioButton,{className:i(O.radioButton,O.radioButtonColor),label:t,value:e.token}))})),n.createElement("div",{className:O.actionBlock},n.createElement("a",{href:"#",className:O.action,role:"button",onClick:o},n.createElement(w.Icon,{icon:L,className:O.icon}),n.createElement("span",null,(0,r.t)("Add a new card"))),!t&&n.createElement("button",{className:O.action,onClick:()=>this.setState({expanded:!0})},(0,r.t)("More payment methods"))),n.createElement(C,{onPurchase:this._onPurchase,buttonContainer:l,buttonText:s}))}_getPaymentMethodIcon(e,t){return n.createElement("span",{className:O.iconWrapper},n.createElement("img",{className:O.icon,src:I.braintreePaymentTypeToIconMap[t]}),"*",e)}}var z=a(41033);class U extends n.PureComponent{constructor(){super(...arguments),this._prePurchase=()=>{const{isAllFieldsValid:e}=this.props;e?this._onPurchase():this.props.validateAllFields()},this._onPurchase=async()=>{const{onLoad:e,onPurchase:t}=this.props;e(!0),t()}}componentDidMount(){const{onLoad:e}=this.props;e(!1)}render(){const{purchaseButtonText:e,buttonContainer:t}=this.props;return n.createElement(n.Fragment,null,n.createElement("h3",{className:z.title},(0,r.t)("Crypto")),n.createElement("div",{className:z.description},n.createElement("p",{className:i(z.block,z.accent)},(0,r.t)("What cryptocurrencies are accepted for payments?")),n.createElement("ul",{className:i(z.block,z.listOfCrypto)},n.createElement("li",null,(0,r.t)("Bitcoin (BTC) - Bitcoin network")),n.createElement("li",null,(0,r.t)("Ethereum (ETH) - ERC20 network")),n.createElement("li",null,(0,r.t)("USD Coin (USDC) - ERC20 network")),n.createElement("li",null,(0,r.t)("Litecoin (LTC) - Litecoin network")),n.createElement("li",null,(0,r.t)("Bitcoin Cash (BCH) - Bitcoin Cash network")),n.createElement("li",null,(0, +r.t)("Dogecoin (DOGE) - Dogecoin network")),n.createElement("li",null,(0,r.t)("DAI (DAI) - ERC20 network"))),n.createElement("p",{className:z.vital},(0,r.t)("It's vital that the network you withdraw funds from, and the one you deposit funds to, are the same.")),n.createElement("p",{className:i(z.block,z.accent)},(0,r.t)("Please note that if the funds are sent via a different network, it will result in losing your payment. Please make sure you consider your options and don't always choose the cheapest commission option.")),n.createElement("p",{className:z.block},(0,r.t)("You will be automatically redirected to Coinbase to complete your purchase. Once the payment is completed you will be taken back to the TradingView page.")),n.createElement("p",{className:z.block},(0,r.t)("Please note you do not need to have a Coinbase account to complete the payment - you can use any available wallet.")),n.createElement("p",{className:z.accent},(0,r.t)("This step is highly important so we ask you to not skip or interrupt it."))),n.createElement(C,{onPurchase:this._prePurchase,buttonContainer:t,buttonText:e}))}}var K=a(37793);class W extends n.PureComponent{constructor(){super(...arguments),this._prePurchase=()=>{const{isAllFieldsValid:e}=this.props;e?this._onPurchase():this.props.validateAllFields()},this._onPurchase=async()=>{const{onLoad:e,onPurchase:t}=this.props;e(!0),t()}}componentDidMount(){const{onLoad:e}=this.props;e(!1)}render(){const{purchaseButtonText:e,buttonContainer:t}=this.props;return n.createElement(n.Fragment,null,n.createElement("div",{className:K.description},n.createElement("p",null,(0,r.t)("We'll now send you on to {payment_method} so that you can complete your purchase. After the transaction has gone through, the system will automatically redirect you back to TradingView so you can enjoy your new upgrade.",{replace:{payment_method:"Ecommpay"}})),n.createElement("p",null,n.createElement("b",null,(0,r.t)("This step is highly important so we ask you to please not skip or interrupt it.")))),n.createElement(C,{onPurchase:this._prePurchase,buttonContainer:t,buttonText:e}))}}var Z=a(10878);const G=new Map;function X(e,t={}){let a=G.get(e);return void 0!==a||(a=new Promise((a,n)=>{const r=document.createElement("script");r.type="text/javascript",r.src=e;for(const[e,a]of Object.entries(t))r.setAttribute(e,a);r.onload=a,r.onerror=n,document.head.appendChild(r)}),G.set(e,a)),a}var Y=a(15298),$=a(42729);const q=(0,u.getLogger)("Payments.PayPal");class J extends n.PureComponent{constructor(e){super(e),this._createPayPalCheckout=e=>{const{onError:t,onLoad:a}=this.props;c.paypalCheckout.create({client:e},(e,n)=>{var r;if(e)return q.logError(e.message),t(e.message);null===(r=window.paypal)||void 0===r||r.Buttons({style:{color:"blue",size:"responsive",shape:"rect",tagline:!1},createBillingAgreement:()=>{const{isAllFieldsValid:e,validateAllFields:t,products:a}=this.props;if(!e)return void t();const r=(0,I.getProductsStr)(a);return n.createPayment({flow:"vault",billingAgreementDescription:r+" on TradingView", +enableShippingAddress:!0,shippingAddressEditable:!1,currency:Z.Currencies.Usd})},onApprove:(e,r)=>(this.setState({ready:!1}),a(!0),n.tokenizePayment(e,(e,a)=>{if(e)return q.logError(e.message),t(e.message);this.props.onPurchase(a.nonce)})),onCancel:e=>{q.logInfo(JSON.stringify(e))},onError:e=>{t(e.message)}}).render("#paypal-button").then(()=>{a(!1),this.setState({ready:!0})}).catch(t)})},this._onDisableClick=e=>{const{isAllFieldsValid:t,validateAllFields:a}=this.props;t&&(a(),e.preventDefault(),e.stopPropagation())},this.state={ready:!1}}componentDidMount(){const{paypalClientId:e,onError:t,clientToken:a}=this.props;this.setState({ready:!1});const n=(0,Y.getCspNonce)();if(void 0===n)return t("Nonce not found");X(`https://www.paypal.com/sdk/js?client-id=${e}&vault=true&disable-funding=card`,{"data-csp-nonce":n}).then(()=>{c.client.create({authorization:a},(e,t)=>{e?q.logError(e.message):this._createPayPalCheckout(t)})}).catch(t)}render(){const{buttonContainer:e,isAllFieldsValid:t}=this.props,{ready:a}=this.state,o=n.createElement("div",{className:l()($.paypalButton,!a&&$.hidden),onClickCapture:this._onDisableClick},n.createElement("div",{id:"paypal-button",onClickCapture:this._onDisableClick}),!t&&n.createElement("div",{className:$.disabled}));return n.createElement(n.Fragment,null,n.createElement("h3",{className:$.title},(0,r.t)("PayPal")),n.createElement("div",{className:$.description},n.createElement("p",null,(0,r.t)("We'll now send you on to {payment_method} so that you can complete your purchase. After the transaction has gone through, the system will automatically redirect you back to TradingView so you can enjoy your new upgrade.",{replace:{payment_method:"PayPal"}})),n.createElement("p",null,n.createElement("b",null,(0,r.t)("This step is highly important so we ask you to please not skip or interrupt it.")))),n.createElement(C,{customButton:o,buttonContainer:e}))}}var j=a(6087),Q=a(26843),ee=a(53402),te=a(41207);const ae=(0,u.getLogger)("Payments.ApplePay"),ne=window.ApplePaySession;class re extends n.PureComponent{constructor(e){super(e),this._createClient=()=>{const{onError:e,clientToken:t}=this.props;if(!(null==ne?void 0:ne.canMakePayments())){const t="This device is not capable of making Apple Pay payments";return ae.logError(t),e(t)}d().client.create({authorization:t},(t,a)=>{if(t)return ae.logError(t.message),e(t.message);this._createPaymentInstance(a)})},this._createPaymentInstance=e=>{const{onError:t,onLoad:a}=this.props;d().applePay.create({client:e},(e,n)=>{if(e)return ae.logError(e.message),t(e.message);this._instance=n,a(!1),this.setState({ready:!0})})},this._createSession=()=>{var e;const{onError:t,products:a,onPurchase:n,price:r,isAllFieldsValid:o,validateAllFields:s}=this.props;if(!o)return void s();const i=null===(e=this._instance)||void 0===e?void 0:e.createPaymentRequest({total:{label:"TradingView",amount:(0,ee.round2)(r.totalCostWithTax)},countryCode:"US",currencyCode:Z.Currencies.Usd,supportedNetworks:["amex","chinaUnionPay","elo","jcb","masterCard","visa"], +merchantCapabilities:["supports3DS","supportsCredit","supportsDebit","supportsEMV"],requiredBillingContactFields:["name"]});if(!i||!ne)return;const l=new ne(3,i);l.onvalidatemerchant=e=>{var n;null===(n=this._instance)||void 0===n||n.performValidation({validationURL:e.validationURL,displayName:(0,I.getProductsStr)(a)},(e,a)=>{if(e)return ae.logError(e.message),t(e.message);l.completeMerchantValidation(a)})},l.onpaymentauthorized=e=>{var a;null===(a=this._instance)||void 0===a||a.tokenize({token:e.payment.token},(e,a)=>{if(e)return l.completePayment(ne.STATUS_FAILURE),ae.logError(e.message),t(e.message);n(a.nonce),l.completePayment(ne.STATUS_SUCCESS)})},l.begin()},this.state={ready:!1}}componentDidMount(){this._createClient()}render(){const{buttonContainer:e}=this.props,{ready:t}=this.state,a=n.createElement("div",{className:l()(te["apple-pay-container"],!t&&te.hidden)},n.createElement("div",{onClick:this._createSession,className:l()(te["apple-pay-button-with-text"],(0,j.getCurrentTheme)().name===Q.StdTheme.Dark?te["apple-pay-button-with-text-black"]:te["apple-pay-button-with-text-white"])}));return n.createElement(n.Fragment,null,n.createElement("h3",{className:te.title},"Apple Pay"),n.createElement("div",{className:te.description},n.createElement("p",null,(0,r.t)("We'll now send you on to {payment_method} so that you can complete your purchase. After the transaction has gone through, the system will automatically redirect you back to TradingView so you can enjoy your new upgrade.",{replace:{payment_method:"Apple Pay"}})),n.createElement("p",null,n.createElement("b",null,(0,r.t)("This step is highly important so we ask you to please not skip or interrupt it.")))),n.createElement(C,{customButton:a,buttonContainer:e}))}}var oe=a(19230);const se=(0,u.getLogger)("Payments.GooglePay");class ie extends n.PureComponent{constructor(e){super(e),this._isMounted=!1,this._googlePaymentInstance=null,this._createClient=async()=>{const{onError:e,clientToken:t,googlePayMerchantId:a}=this.props;try{const e=await d().client.create({authorization:t});this._googlePaymentInstance=await d().googlePayment.create({client:e,useDeferredClient:!0,googlePayVersion:2,googleMerchantId:a});const n=await this._googlePaymentInstance.createPaymentDataRequest();this._paymentDataRequest.allowedPaymentMethods=n.allowedPaymentMethods,await this._createPaymentInstance()}catch(t){se.logError(t.statusMessage),e(t.statusMessage)}},this._createPaymentInstance=async()=>{const{onError:e,onLoad:t}=this.props,a=new google.payments.api.PaymentsClient({environment:(0,A.isProd)()?"PRODUCTION":"TEST",paymentDataCallbacks:{onPaymentAuthorized:this._onPaymentAuthorized}}),n=await a.isReadyToPay({...this._paymentDataRequest,existingPaymentMethodRequired:!0}),r=document.querySelector("#google-pay-button");if(!n.result||!r)return;const o=(0,j.getCurrentTheme)().name===Q.StdTheme.Dark,s=a.createButton({buttonColor:o?"white":"black",buttonType:"buy",buttonSizeMode:"fill",onClick:async t=>{t.preventDefault();try{await this._createSession(a)}catch(t){ +"CANCELED"!==t.statusCode&&(se.logError(t.statusMessage),e(t.statusMessage))}}});r.appendChild(s),t(!1),this.setState({ready:!0})},this._createSession=async e=>{const{price:t,isAllFieldsValid:a,validateAllFields:n}=this.props;if(!a)return void n();if(null===this._googlePaymentInstance)return;this._paymentDataRequest.transactionInfo.totalPriceStatus="FINAL",this._paymentDataRequest.transactionInfo.totalPrice=(0,ee.round2)(t.totalCostWithTax);const r=(await this._googlePaymentInstance.createPaymentDataRequest(this._paymentDataRequest)).allowedPaymentMethods[0];r.parameters.billingAddressRequired=!1,r.parameters.billingAddressParameters={format:"MIN"},await e.loadPaymentData({...this._paymentDataRequest,allowedPaymentMethods:[r]})},this._onPaymentAuthorized=async e=>{if(null===this._googlePaymentInstance)return{transactionState:"ERROR",error:{reason:"OTHER_ERROR",message:"Google payment instance is null",intent:"PAYMENT_AUTHORIZATION"}};const{onPurchase:t,onLoad:a}=this.props,n=await this._googlePaymentInstance.parseResponse(e);if(!this._isMounted)return{transactionState:"ERROR",error:{reason:"OTHER_ERROR",message:"Component unmounted",intent:"PAYMENT_AUTHORIZATION"}};this.setState({ready:!1}),a(!0);try{return await t(n.nonce),{transactionState:"SUCCESS"}}catch(e){return{transactionState:"ERROR",error:{reason:"OTHER_ERROR",message:"Cannot pay",intent:"PAYMENT_AUTHORIZATION"}}}};const{price:t}=e;this.state={ready:!1},this._paymentDataRequest={apiVersion:2,apiVersionMinor:0,transactionInfo:{currencyCode:Z.Currencies.Usd,totalPriceStatus:"ESTIMATED",totalPrice:(0,ee.round2)(t.totalCostWithTax),totalPriceLabel:"Total"},allowedPaymentMethods:[],merchantInfo:{merchantId:this.props.googlePayMerchantId},callbackIntents:["PAYMENT_AUTHORIZATION"]}}componentDidMount(){this._isMounted=!0;const{onError:e}=this.props;this.setState({ready:!1});const t=(0,Y.getCspNonce)();if(void 0===t)return e("Nonce not found");X("https://pay.google.com/gp/p/js/pay.js",{nonce:t}).then(this._createClient).catch(e)}componentWillUnmount(){this._isMounted=!1}render(){const{buttonContainer:e}=this.props,{ready:t}=this.state,a=n.createElement("div",{className:l()(oe["google-pay-container"],!t&&oe.hidden)},n.createElement("div",{id:"google-pay-button",className:oe["google-pay-button"]}));return n.createElement(n.Fragment,null,n.createElement("h3",{className:oe.title},"Google Pay"),n.createElement("div",{className:oe.description},n.createElement("p",null,(0,r.t)("We'll now send you on to {payment_method} so that you can complete your purchase. After the transaction has gone through, the system will automatically redirect you back to TradingView so you can enjoy your new upgrade.",{replace:{payment_method:"Google Pay"}})),n.createElement("p",null,n.createElement("b",null,(0,r.t)("This step is highly important so we ask you to please not skip or interrupt it.")))),n.createElement(C,{customButton:a,buttonContainer:e}))}}var le=a(97737),ce=a(80875),de=a(96622),ue=a(26661);function me(e){const{text:t,title:a,onClose:o}=e,s=(0, +j.getCurrentTheme)().name===Q.StdTheme.Dark;return n.createElement("div",{className:ue.success},n.createElement("img",{className:ue.icon,src:s?de:ce}),n.createElement("h3",{className:l()(ue.successText,!t&&ue.lastText)},a||(0,r.t)("Your payment was successful!")),t&&n.createElement("p",{className:l()(ue.descriptionText,ue.lastText)},t),o&&n.createElement(le.Button,{onClick:o,className:ue.button},(0,r.t)("Close",{context:"input"})))}var pe=a(5437),he=a(35806),ye=a(37024);function ge(e){const{text:t,hideTryAgainButton:a,errorTitle:o,showPaymentMethodSolutions:s,buttonClickList:i}=e,c=new RegExp(/\{\w+\}/),d=null==t?void 0:t.split(c);return n.createElement("div",{className:l()(ye.error,s&&ye.errorCountry)},n.createElement("div",{className:s&&ye.errorTitleWrapper},n.createElement("img",{className:ye.icon,src:he}),n.createElement("h3",{className:l()(ye.errorText,{[ye.lastText]:!t,[ye.errorCountryText]:s})},null!=o?o:(0,r.t)("Payment error"))),d&&n.createElement("div",{className:l()(ye.descriptionText,ye.lastText,s&&ye.errorCountryLastText)},d.map((e,t)=>n.createElement("p",{key:t},e))),s&&n.createElement("div",{className:ye.solutionWrapper},n.createElement("ul",{className:ye.solutions},n.createElement("li",{className:ye.item},n.createElement("a",{className:ye.itemLink,href:"/u/?solution=43000485536/"},(0,r.t)("Crypto"))),n.createElement("li",{className:ye.item},n.createElement("a",{className:ye.itemLink,href:"/u/?solution=43000665347/"},(0,r.t)("Mobile"))),n.createElement("li",{className:ye.item},n.createElement("a",{className:ye.itemLink,href:"/u/?solution=43000538306/"},(0,r.t)("TradingView coins"))))),!a&&n.createElement("div",{className:ye.buttonWrapper},i.map((e,t)=>n.createElement(pe.RoundButton,{onClick:e.handler,variant:e.buttonColor||"primary",className:l()(ye.button,i.length>1&&ye.secondButton),key:t},e.message))))}var Ce=a(12150);function be(e){const{cost:t,tax:a,products:o,billingCycle:s,currency:i=Z.Currencies.Usd}=e,l=window.pro;let c=[];l&&(c=o.map(e=>{const t=l.getProduct(e);if(l.isPlan(t)){const e=s?(0,ee.getReadableNumericCycle)(s):"",a=(0,ee.humanizeProPlan)(t.text_id);return(0,r.t)("{plan} plan ({billingCycle}){point}",{replace:{plan:a,billingCycle:e,point:""}})}return t.name}));const d=c.join(", ")+".",u=void 0!==a&&0!==a,m=i===Z.Currencies.Usd?"$":"",p=(0,r.t)("Tax included {currencySign}{tax} {currency}").format({tax:(0,ee.round2)(null!=a?a:0),currency:i,currencySign:m});return n.createElement("div",null,n.createElement("div",{className:Ce["price-row"]},n.createElement("div",{className:Ce["total-title"]},(0,r.t)("Total price")),n.createElement("div",{className:Ce["total-number"]},(0,r.t)("{currencySign}{cost} {currency}").format({currency:i,currencySign:m,cost:(0,ee.round2)(t)}))),u&&n.createElement("div",{className:Ce["tax-row"]},d," ",p))}var fe=a(74745),ve=a(66302);function Ee(e){const{value:t,onChange:a,isValid:r,errors:o,name:s,label:i}=e,l=(0,n.useCallback)(e=>a(e.currentTarget.value),[a]),[c,d]=n.useState(!1),u=(0,n.useCallback)(()=>d(!0),[]),m=(0,n.useCallback)(()=>d(!1),[]) +;return n.createElement(f.OrderFieldContainer,{label:i,for:s},n.createElement(E.OrderInput,{name:s,value:t,type:"text",onChange:l,hasErrors:!c&&0!==o.length&&!r,errors:o,onFocus:u,onBlur:m}))}var Te=a(40161),Pe=a(86629),ke=a(18244);v.required,v.latin;function _e(e){var t;const{value:a,onChange:o,countryCode:s,errors:i,isValid:l}=e,c=null!==(t=ke.stateItems[s])&&void 0!==t?t:[];return n.createElement(f.OrderFieldContainer,{label:r.t("State/Region"),labelId:T.OrderInputsConsts.State},n.createElement(Te.FormSelect,{"aria-labelledby":T.OrderInputsConsts.State,items:c,value:""===a?void 0:a,placeholder:r.t("Select state/region"),onChange:function(e){o(null!=e?e:"")},size:"large",stretch:!0,hasErrors:0!==i.length&&!l,errors:i,messagesPosition:Pe.MessagesPosition.Attached}))}var Ne=a(11298);function Se(e){var t,a,s,i;const{value:l,onChange:c,ignoreCountries:d}=e,[u,m]=(0,n.useState)([]),p=(0,n.useMemo)(()=>{const e={};return u.forEach(t=>{e[t.code]=t}),e},[u]),h=(0,o.useIsMounted)();(0,n.useEffect)(()=>{(0,Ne.getCountries)().then(e=>{h.current&&m(e[0].filter(e=>!(null==d?void 0:d.includes(e.code))))})},[d]);const y=(0,n.useCallback)(e=>c(e.code),[c]);return n.createElement(f.OrderFieldContainer,{label:(0,r.t)("Country"),for:e.name},n.createElement(Ne.CountrySelect,{countries:u,onSelected:y,flagUrl:((null==d?void 0:d.includes(l))?null===(t=p.US)||void 0===t?void 0:t.iconUrl:null===(a=p[l])||void 0===a?void 0:a.iconUrl)||"",text:((null==d?void 0:d.includes(l))?null===(s=p.US)||void 0===s?void 0:s.name:null===(i=p[l])||void 0===i?void 0:i.name)||"",stretch:!0}))}var Ae=a(53876),xe=a(18609);const Ie={AA:[{from:34001,to:34095}],AE:[{from:9001,to:9977}],AP:[{from:96201,to:96698}],AL:[{from:35e3,to:36999}],AK:[{from:99500,to:99999}],AZ:[{from:85e3,to:86999}],AR:[{from:71600,to:72999}],CA:[{from:9e4,to:96699}],CO:[{from:8e4,to:81999}],CT:[{from:6e3,to:6389},{from:6391,to:6999}],DC:[{from:2e4,to:20099},{from:20200,to:20599},{from:56900,to:56999}],DE:[{from:19700,to:19999}],FL:[{from:32e3,to:34999}],GA:[{from:3e4,to:31999},{from:39800,to:39999}],HI:[{from:96700,to:96999}],ID:[{from:83200,to:83999}],IL:[{from:6e4,to:62999}],IN:[{from:46e3,to:47999}],IA:[{from:5e4,to:52999}],KS:[{from:66e3,to:67999}],KY:[{from:4e4,to:42999}],LA:[{from:7e4,to:71599}],ME:[{from:3900,to:4999}],MD:[{from:20600,to:21999}],MA:[{from:1e3,to:2799},{from:5501,to:5501},{from:5544,to:5544}],MI:[{from:48e3,to:49999}],MN:[{from:55e3,to:56899}],MS:[{from:38600,to:39999}],MO:[{from:63e3,to:65999}],MT:[{from:59e3,to:59999}],NE:[{from:68e3,to:69999}],NV:[{from:88900,to:89999}],NH:[{from:3e3,to:3899}],NJ:[{from:7e3,to:8999}],NM:[{from:87e3,to:88499}],NY:[{from:1e4,to:14999},{from:6390,to:6390},{from:501,to:501},{from:544,to:544}],NC:[{from:27e3,to:28999}],ND:[{from:58e3,to:58999}],OH:[{from:43e3,to:45999}],OK:[{from:73e3,to:73199},{from:73400,to:74999}],OR:[{from:97e3,to:97999}],PA:[{from:15e3,to:19699}],PR:[{from:300,to:999}],RI:[{from:2800,to:2999}],SC:[{from:29e3,to:29999}],SD:[{from:57e3,to:57999}],TN:[{from:37e3,to:38599}],TX:[{from:75e3,to:79999},{from:73301, +to:73399},{from:88500,to:88599}],UT:[{from:84e3,to:84999}],VT:[{from:5e3,to:5999}],VA:[{from:20100,to:20199},{from:22e3,to:24699},{from:20598,to:20598}],WA:[{from:98e3,to:99499}],WV:[{from:24700,to:26999}],WI:[{from:53e3,to:54999}],WY:[{from:82e3,to:83199}]},we={NSW:[{from:1e3,to:2599},{from:2619,to:2899},{from:2921,to:2999}],ACT:[{from:200,to:299},{from:2600,to:2618},{from:2900,to:2920}],VIC:[{from:3e3,to:3999},{from:8e3,to:8999}],QLD:[{from:4e3,to:4999},{from:9e3,to:9999}],SA:[{from:5e3,to:5999}],WA:[{from:6e3,to:6797},{from:6800,to:6999}],TAS:[{from:7e3,to:7999}],NT:[{from:800,to:999}],CX:[{from:6798,to:6798}],CC:[{from:6799,to:6799}]},Me={DL:[{from:11e4,to:119999}],HR:[{from:12e4,to:139999}],PB:[{from:14e4,to:159999}],CH:[{from:16e4,to:169999}],HP:[{from:17e4,to:179999}],JK:[{from:18e4,to:199999}],UP:[{from:2e5,to:289999}],RJ:[{from:3e5,to:349999}],GJ:[{from:36e4,to:399999}],MH:[{from:4e5,to:449999}],MP:[{from:45e4,to:489999}],CT:[{from:49e4,to:499999}],TG:[{from:5e5,to:509999}],AP:[{from:51e4,to:539999}],KA:[{from:56e4,to:599999}],TN:[{from:6e5,to:649999}],KL:[{from:67e4,to:699999}],WB:[{from:7e5,to:749999}],OR:[{from:75e4,to:779999}],AS:[{from:78e4,to:789999}],AR:[{from:79e4,to:792999}],ML:[{from:793e3,to:794999}],MN:[{from:795e3,to:795999}],MZ:[{from:796e3,to:796999}],NL:[{from:797e3,to:798999}],TR:[{from:799e3,to:799999}],BR:[{from:8e5,to:859999}],APS:[{from:9e5,to:999999}]},Fe={AB:["T"],BC:["V"],MB:["R"],NB:["E"],NL:["A"],NT:["X"],NS:["B"],NU:["X"],ON:["P","N","M","L","K"],PE:["C"],QC:["J","G","H"],SK:["S"],YT:["Y"]},Ve={Adana:"01",Adiyaman:"02",Afyonkarahisar:"03",Agri:"04",Aksaray:"68",Amasya:"05",Ankara:"06",Antalya:"07",Ardahan:"75",Artvin:"08",Aydin:"09",Balikesir:"10",Bartin:"74",Batman:"72",Bayburt:"69",Bilecik:"11",Bingol:"12",Bitlis:"13",Bolu:"14",Burdur:"15",Bursa:"16",Canakkale:"17",Cankiri:"18",Corum:"19",Denizli:"20",Diyarbakir:"21",Duzce:"81",Edirne:"22",Elazig:"23",Erzincan:"24",Erzurum:"25",Eskisehir:"26",Gaziantep:"27",Giresun:"28",Gumushane:"29",Hakkari:"30",Hatay:"31",Igdir:"76",Isparta:"32",Istanbul:"34",Izmir:"35",Kahramanmaras:"46",Karabuk:"78",Karaman:"70",Kars:"36",Kastamonu:"37",Kayseri:"38",Kirikkale:"71",Kirklareli:"39",Kirsehir:"40",Kilis:"79",Kocaeli:"41",Konya:"42",Kutahya:"43",Malatya:"44",Manisa:"45",Mardin:"47",Mersin:"33",Mugla:"48",Mus:"49",Nevsehir:"50",Nigde:"51",Ordu:"52",Osmaniye:"80",Rize:"53",Sakarya:"54",Samsun:"55",Siirt:"56",Sinop:"57",Sivas:"58",Sanliurfa:"63",Sirnak:"73",Tekirdag:"59",Tokat:"60",Trabzon:"61",Tunceli:"62",Usak:"64",Van:"65",Yalova:"77",Yozgat:"66",Zonguldak:"67"},Be={AT:/^(AT)?(U\d{8})$/i,BE:/^(BE)?(\d{10})$/i,BG:/^(BG)?(\d{9,10})$/i,CY:/^(CY)?(\d{8}[A-Z])$/i,CZ:/^(CZ)?(\d{8,10})?$/i,DE:/^(DE)?(\d{9})$/i,DK:/^(DK)?(\d{8})$/i,EE:/^(EE)?(\d{9})$/i,EL:/^(EL|GR)?(\d{9})$/i,GR:/^(GR|EL)?(\d{9})$/i,ES:/^(ES)?([0-9A-Z][0-9]{7}[0-9A-Z])$/i,FI:/^(FI)?(\d{8})$/i,FR:/^(FR)?([0-9A-Z]{2}[0-9]{9})$/i,GB:/^(GB)?((?:[0-9]{12}|[0-9]{9}|(?:GD|HA)[0-9]{3}))$/i,HR:/^(HR)?(\d{11})$/i,HU:/^(HU)?(\d{8})$/i,IE:/^(IE)?[0-9][0-9A-Z\+\*][0-9]{5}[A-Z]{1,2}$/i, +IT:/^(IT)?(\d{11})$/i,LV:/^(LV)?(\d{11})$/i,LT:/^(LT)?(\d{9}$|\d{12})$/i,LU:/^(LU)?(\d{8})$/i,MT:/^(MT)?(\d{8})$/i,NL:/^(NL)?(\d{9}B\d{2})$/i,PL:/^(PL)?(\d{10})$/i,PT:/^(PT)?(\d{9})$/i,RO:/^(RO)?(\d{2,10})$/i,SI:/^(SI)?(\d{8})$/i,SK:/^(SK)?(\d{10})$/i,SE:/^(SE)?(\d{12})$/i},De={isValid:!1,errors:[(0,r.t)("No matching state found")]};function Re(e,t){const a=parseInt(t,10),n=e.some(e=>e.from<=a&&a<=e.to);return{isValid:n,errors:n?[]:[(0,r.t)("No matching state found")]}}function Le(e){return{isValid:!1,errors:[(0,r.t)("Must be a {length}-digit zip code",{replace:{length:e.toString()}})]}}const Oe=[v.required,Ae.postalCode,e=>(0,Ae.getPostalCodeMaxLengthValidator)(e)];function He(e,t){const a=[...Oe];var n;return"US"===e&&a.push((n=t,e=>{var t;const[a]=null!==(t=null==e?void 0:e.split("-"))&&void 0!==t?t:[];return 5!==(null==a?void 0:a.length)?Le(5):n in Ie?Re(Ie[n],a):De})),"CA"===e&&a.push(function(e){return t=>{var a,n;const o=(0,r.t)("Must be a 6-character alphanumeric code");if(void 0===t)return{isValid:!1,errors:[o]};const s=" "===t[3]?`${t.slice(0,3)}${t.slice(4)}`:t;if(6!==s.length)return{isValid:!1,errors:[o]};return s.split("").every((e,t)=>t%2==0?(0,xe.isLatin)(e)&&isNaN(Number(e)):isFinite(Number(e)))?(null===(a=Fe[e])||void 0===a?void 0:a.includes(null===(n=s[0])||void 0===n?void 0:n.toUpperCase()))?{isValid:!0,errors:[]}:De:{isValid:!1,errors:[(0,r.t)("Unknown format")]}}}(t)),"TR"===e&&a.push(function(e){return t=>{if(5!==(null==t?void 0:t.length)||!isFinite(Number(t)))return Le(5);if(e in Ve){const a=t.startsWith(Ve[e]);return{isValid:a,errors:a?[]:[(0,r.t)("No matching region found")]}}return{isValid:!1,errors:["Unknown region."]}}}(t)),"AU"===e&&a.push(function(e){return t=>4!==(null==t?void 0:t.length)?Le(4):e in we?Re(we[e],t):De}(t)),"IN"===e&&a.push(function(e){return t=>6!==(null==t?void 0:t.length)?Le(6):e in Me?Re(Me[e],t):De}(t)),a}function ze(e){return t=>{if(!Be[e]||!t)return{isValid:!0,errors:[]};const a=Be[e].test(t.replace(/\s/g,""));return{isValid:a,errors:a?[]:[(0,r.t)("VAT number format is incorrect")]}}}const Ue=[v.required,v.latin],Ke=[v.latin],We=[function(e){return isFinite(Number(e))?{isValid:!0,errors:[]}:{isValid:!1,errors:[(0,r.t)("This field only supports numbers")]}},function(e){return 0===e.length||e.length>=9&&e.length<=11?{isValid:!0,errors:[]}:{isValid:!1,errors:[(0,r.t)("Incorrect length")]}}];function Ze(e){return[v.required,v.latin,(t=e.maxLength,(e="")=>e.trim().length>t?{isValid:!1,errors:[(0,r.t)("Incorrect length")]}:{isValid:!0,errors:[]})];var t}var Ge=a(48372);const Xe={value:"US",isValid:!0,errors:[]},Ye={value:"",isValid:!1,errors:[]},$e={country_code_alpha2:Xe,region:Ye,postal_code:Ye,locality:Ye,street_address:Ye,vat_number:{value:"",isValid:!0,errors:[]}};function qe(e){const{onChange:t,addressState:a,blockedCountries:o}=e,l=(0,n.useCallback)(e=>{t({...$e,country_code_alpha2:{value:e,isValid:!0,errors:[]}})},[t]),c=(0,n.useCallback)(e=>{const n=Qe(Ze({maxLength:60 +}),e),r=n.isValid&&""!==a.postal_code.value?Qe(He(a.country_code_alpha2.value,n.value),a.postal_code.value):a.postal_code;t({...a,postal_code:r,region:n})},[t,a]),d=(0,n.useCallback)(e=>{const n=Ze({maxLength:60});t({...a,locality:Qe(n,e)})},[t,a]),u=(0,n.useCallback)(e=>{const n=Ze({maxLength:100});t({...a,street_address:Qe(n,e)})},[t,a]),m=(0,n.useCallback)(e=>{const n=Qe(Ue,a.region.value),r=n.isValid?He(a.country_code_alpha2.value,n.value):Oe;t({...a,region:n,postal_code:Qe(r,e)})},[t,a]),{value:p}=a.country_code_alpha2,h=ve.COUNTRY_WITH_STATE_SELECT.includes(p),y=(0,n.useMemo)(()=>(0,s.isFeatureEnabled)("vertex-tax")&&(0,I.isCountryTaxable)(p)&&((0,I.isCountrySupportVAT)(p)||(0,I.isCountrySupportTIN)(p)),[p]),g=(0,n.useMemo)(()=>ze(p),[p]),C=(0,n.useCallback)(e=>{const n=[...Ke,g],r=(0,I.isCountrySupportTIN)(a.country_code_alpha2.value)?We:n;t({...a,vat_number:Qe(r,e)})},[t,a]);let b=(0,r.t)("VAT number");return(0,I.isCountrySupportTIN)(p)&&(b=(0,r.t)("Tax Identification Number")),n.createElement(n.Fragment,null,n.createElement("h3",{className:Ge.title},(0,r.t)("Address")),n.createElement("div",{className:Ge.addressFieldsContainer},n.createElement("div",{className:Ge.addressField},n.createElement(Se,{value:(null==o?void 0:o.includes(p))?"US":p,onChange:l,name:T.OrderInputsConsts.Country,ignoreCountries:o})),n.createElement("div",{className:Ge.addressField},h?n.createElement(_e,{...a.region,name:T.OrderInputsConsts.State,countryCode:p,onChange:c}):n.createElement(Ee,{...a.region,name:T.OrderInputsConsts.State,onChange:c,label:(0,r.t)("State/Region")})),n.createElement("div",{className:i(Ge.additionalFieldsContainer,Ge.addressField)},n.createElement(Ee,{...a.locality,onChange:d,name:T.OrderInputsConsts.City,label:(0,r.t)("City")}),n.createElement(Ee,{...a.street_address,onChange:u,name:T.OrderInputsConsts.Street,label:(0,r.t)("Street")}),n.createElement(Ee,{...a.postal_code,onChange:m,name:T.OrderInputsConsts.Zip,label:(0,r.t)("Zip/Postal code")}),y&&n.createElement(Ee,{...a.vat_number,onChange:C,name:T.OrderInputsConsts.VatNumber,label:b}))))}function Je(e){return Object.values(e).every(e=>e.isValid)}function je(e){const t=Qe(Ze({maxLength:60}),e.region.value),a=t.isValid?He(e.country_code_alpha2.value,t.value):Oe,n=(0,I.isCountrySupportTIN)(e.country_code_alpha2.value)?We:[...Ke,ze(e.country_code_alpha2.value)],r=Ze({maxLength:60}),o=Ze({maxLength:100});return{country_code_alpha2:e.country_code_alpha2,region:t,postal_code:Qe(a,e.postal_code.value),locality:Qe(r,e.locality.value),street_address:Qe(o,e.street_address.value),vat_number:Qe(n,e.vat_number.value)}}function Qe(e,t){let a=!0,n=[];const r=t.trim();for(const t of e){const{isValid:e,errors:o}=t(r);if(!e){a=e,n=o;break}}return{value:t,isValid:a,errors:n}}var et=a(39391),tt=a.n(et),at=a(14972),nt=a(72733);const rt=(0,u.getLogger)("Payments.RenderPaymentPage");var ot,st;function it(e){ +const{tab:t,paypalClientId:a,googlePayMerchantId:i,result:l,activePaymentMethods:c,errorText:d,errorCode:u,errorTitle:m,hideTryAgainButtonCodes:p=[],onTryAgainHandler:h,onClose:y,successText:g,successTitle:C,children:b,onCheckboxValidity:f,buttonContainer:v,termsText:E,purchaseButtonText:T,hideTotalPrice:P,showCheckboxError:S,onCheckboxChange:A,checkboxChecked:x,loading:w,onErrorPurchaseHandler:M,setLoading:F,onNewCard:V,products:D,token:R,price:L,currency:O,billingCycle:z,defaultCountry:K,blockedCountries:Z}=e,G=(0,o.useIsMounted)(),[X,Y]=(0,n.useState)(function(e){return{...$e,country_code_alpha2:{...Xe,value:null!=e?e:"US"}}}(K)),[$,q]=(0,n.useState)(k),[j,Q]=(0,n.useState)(!1),ee=(0,n.useRef)(null),te=(0,n.useRef)(),ae=(0,n.useRef)(null);(0,n.useEffect)(()=>{(0,at.getDeviceData)(R).then(e=>{te.current=e}).catch(e=>{rt.logError(e.message)})},[R]);const ne=(0,n.useMemo)(()=>tt()(async t=>{if(e.onBillingAddressChange)try{Q(!0);const a=Je((0,I.excludeFieldsForTax)(je(t)));await e.onBillingAddressChange((0,I.convertAddressStateToModel)(t),a)}catch(e){if(!G.current)return;let a;a=(0,s.isFeatureEnabled)("vertex-tax")?[(0,r.t)("Could not calculate tax due to incorrect details")]:[(0,r.t)("No matching state found")],Y({...t,region:{value:t.region.value,errors:a,isValid:!1},postal_code:{value:t.postal_code.value,errors:a,isValid:!1}})}finally{Q(!1)}},300),[e.onBillingAddressChange]),oe=(0,n.useCallback)(async e=>{Y(e),ne(e)},[ne]),se=(0,n.useCallback)(async t=>{if(void 0!==e.onBillingAddressChange){Y(t);try{await e.onBillingAddressChange((0,I.convertAddressStateToModel)(t),!0)}catch(e){rt.logError("OneClick wrong address")}}},[e.onBillingAddressChange]),le=(0,n.useCallback)(t=>e.onPurchaseHandler(t,{device_data:te.current,name:(0,I.removeMultipleWhitespace)($.value),...(0,I.convertAddressStateToUserDetails)(X)}),[e.onPurchaseHandler,X,$.value]),ce=(0,n.useCallback)(t=>e.onPurchaseHandler(t,{device_data:te.current}),[e.onPurchaseHandler]),de=(0,n.useCallback)(()=>e.onCoinbasePurchaseHandler((0,I.convertoUserDetailsToCoinbaseUserData)({name:(0,I.removeMultipleWhitespace)($.value),...(0,I.convertAddressStateToUserDetails)(X)})),[e.onCoinbasePurchaseHandler,X,$]),ue=(0,n.useCallback)(()=>e.onEcommpayPurchaseHandler((0,I.convertoUserDetailsToEcommpayUserData)({name:(0,I.removeMultipleWhitespace)($.value),...(0,I.convertAddressStateToUserDetails)(X)})),[e.onEcommpayPurchaseHandler,X,$]),pe=(0,n.useCallback)(e=>q(N(e)),[]),he=(0,n.useCallback)(()=>{q(N($.value)),Y(je(X)),f(!x),!x&&ae.current&&ae.current.scrollIntoView({behavior:"smooth"})},[X,$,f,x]),ye=(0,n.useCallback)(()=>f(!x),[f,x]),Ce=function(){const e=N($.value);return Je(X)&&e.isValid&&x&&!j}(),ve=x&&!j;if(!l){const e={clientToken:R,products:D,paymentMethods:null!=c?c:[],onNewCard:V,onLoad:F,onError:M,loading:w,purchaseButtonText:T,termsText:E,buttonContainer:null!=v?v:ee,onCheckboxValidityChange:f};return n.createElement(n.Fragment,null,t===ot.OneClick&&n.createElement(H,{...e,onBillingAddressChange:se,onPurchase:ce,validateTermCheckbox:ye,isAllFieldsValid:ve +}),t===ot.Ecommpay&&n.createElement(W,{...e,onPurchase:ue,validateAllFields:he,isAllFieldsValid:Ce}),t===ot.CreditCard&&n.createElement(B,{...e,onPurchase:le,onCardholderNameChange:pe,cardholderName:$,validateAllFields:he,isAllFieldsValid:Ce,billingAddress:X}),t===ot.Paypal&&a&&n.createElement(J,{...e,paypalClientId:a,onPurchase:le,validateAllFields:he,isAllFieldsValid:Ce}),t===ot.ApplePay&&n.createElement(re,{...e,price:L,onPurchase:le,validateAllFields:he,isAllFieldsValid:Ce}),t===ot.GooglePay&&i&&n.createElement(ie,{...e,price:L,googlePayMerchantId:i,onPurchase:le,validateAllFields:he,isAllFieldsValid:Ce}),t===ot.Coinbase&&n.createElement(U,{...e,onPurchase:de,validateAllFields:he,isAllFieldsValid:Ce}),t!==ot.OneClick&&t!==ot.CreditCard&&n.createElement("div",{className:nt.cardholderName},n.createElement(_,{...$,onChange:pe,label:(0,r.t)("Your name")})),t!==ot.OneClick&&n.createElement(qe,{onChange:oe,addressState:X,blockedCountries:Z}),!P&&n.createElement(be,{cost:L.totalCostWithTax,tax:L.tax,products:D,billingCycle:z,currency:O}),n.createElement("div",{className:nt.termsCheckboxContainer,ref:ae},b||n.createElement(fe.TermsCheckbox,{checked:x,onChange:A,labelText:E,showError:S}),!v&&n.createElement("div",{className:nt.purchaseBlock,ref:ee})))}if(l===st.Success)return n.createElement(me,{title:C,text:g,onClose:y});const Ee=[],Te="sanctioned_country"===u;return Te&&y?(Ee.push({message:(0,r.t)("Try another option"),handler:h}),Ee.push({message:(0,r.t)("Close",{context:"input"}),handler:y,buttonColor:"secondary"})):["payments_banned","anonymization_activated"].includes(u)&&y?Ee.push({message:(0,r.t)("Close",{context:"input"}),handler:y}):["trial_not_available","duplicate_payment_method"].includes(u)?Ee.push({message:(0,r.t)("See available plans"),handler:()=>location.href="/gopro/?source=payment_error&feature=duplicate_payment_method"}):Ee.push({message:(0,r.t)("Try again"),handler:h}),n.createElement(ge,{buttonClickList:Ee,showPaymentMethodSolutions:Te,text:d,hideTryAgainButton:p.includes(u),errorTitle:m})}!function(e){e.OneClick="One click",e.CreditCard="Credit card",e.ApplePay="ApplePay",e.GooglePay="GooglePay",e.Paypal="Paypal",e.Coinbase="Coinbase",e.Ecommpay="Ecommpay"}(ot||(ot={})),function(e){e.Success="Success",e.Error="Error"}(st||(st={}))},15298:(e,t,a)=>{"use strict";function n(){const e=document.querySelector("script[nonce]");if(null!==e)return e.getAttribute("nonce")||e.nonce}a.d(t,{getCspNonce:()=>n})},42707:(e,t,a)=>{"use strict";a.d(t,{useSafeMatchMedia:()=>r,useMatchMedia:()=>o});var n=a(59496);function r(e,t=!1){const[a,r]=(0,n.useState)(t);return(0,n.useEffect)(()=>{const t=window.matchMedia(e);function a(){r(t.matches)}return a(),t.addListener(a),()=>{t.removeListener(a)}},[e]),a}function o(e){const t=(0,n.useMemo)(()=>window.matchMedia(e).matches,[]);return r(e,t)}},61074:(e,t,a)=>{"use strict";a.d(t,{Spinner:()=>s});var n=a(59496),r=a(97754),o=a(33134);a(24780);function s(e){const t=r(e.className,"tv-spinner","tv-spinner--shown","tv-spinner--size_"+o.spinnerSizeMap[e.size||o.DEFAULT_SIZE]) +;return n.createElement("div",{className:t,style:e.style,role:"progressbar"})}},25424:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/1985b030fba93c1acee7ccb45534cabd.svg b/charting_library/bundles/1985b030fba93c1acee7ccb45534cabd.svg new file mode 100644 index 00000000..5b9e5dc1 --- /dev/null +++ b/charting_library/bundles/1985b030fba93c1acee7ccb45534cabd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1999.41e6d020269ba779f363.css b/charting_library/bundles/1999.41e6d020269ba779f363.css new file mode 100644 index 00000000..0bf3e06a --- /dev/null +++ b/charting_library/bundles/1999.41e6d020269ba779f363.css @@ -0,0 +1 @@ +.wrap-GsOqvniR{align-items:center;background-color:#f0f3fa;border-radius:4px;box-sizing:border-box;display:flex;height:34px;justify-content:space-between;max-width:180px;min-width:100px;padding:7px 8px 6px}html.theme-dark .wrap-GsOqvniR{background-color:#2a2e39}@media (any-hover:hover){.wrap-GsOqvniR:hover{background-color:#e0e3eb}html.theme-dark .wrap-GsOqvniR:hover{background-color:#434651}.wrap-GsOqvniR:hover .icon-GsOqvniR{color:#131722}html.theme-dark .wrap-GsOqvniR:hover .icon-GsOqvniR{color:#b2b5be}}.text-GsOqvniR{color:#131722;cursor:default;line-height:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.theme-dark .text-GsOqvniR{color:#b2b5be}.icon-GsOqvniR{align-self:flex-start;color:#787b86;height:18px;margin-left:8px}.disabled-GsOqvniR{pointer-events:none}.disabled-GsOqvniR .icon-GsOqvniR,.disabled-GsOqvniR .text-GsOqvniR{color:#b2b5be}html.theme-dark .disabled-GsOqvniR .icon-GsOqvniR,html.theme-dark .disabled-GsOqvniR .text-GsOqvniR{color:#50535e}.content-ByXdMGQj{box-sizing:border-box;color:#131722;display:inline-grid;grid-template-columns:auto 1fr;max-width:550px;padding:16px 20px;width:100%}html.theme-dark .content-ByXdMGQj{color:#b2b5be}.cell-ByXdMGQj .inner-ByXdMGQj{align-items:center;display:flex;padding:8px 0}.cell-ByXdMGQj.first-ByXdMGQj{align-items:center;display:flex;min-width:0}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{word-wrap:break-word;cursor:default;display:block;min-width:0;padding-right:20px}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj:first-letter{text-transform:capitalize}.cell-ByXdMGQj.first-ByXdMGQj.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding-right:0}.cell-ByXdMGQj.fill-ByXdMGQj{grid-column:1/3}.cell-ByXdMGQj.top-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.topCenter-ByXdMGQj{align-items:flex-start;padding-top:8px}.cell-ByXdMGQj:only-child{max-width:340px}.cell-ByXdMGQj.offset-ByXdMGQj{padding-left:26px}.inlineRow-ByXdMGQj{display:flex}.inlineCell-ByXdMGQj{margin-right:8px}.grouped-ByXdMGQj .inner-ByXdMGQj,.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding:4px 0}.separator-ByXdMGQj{background-color:#e0e3eb;height:1px;margin:8px -20px}html.theme-dark .separator-ByXdMGQj{background-color:#434651}.groupSeparator-ByXdMGQj{height:8px}.groupSeparator-ByXdMGQj.big-ByXdMGQj{height:14px}@media screen and (max-width:379px){.content-ByXdMGQj{grid-template-columns:1fr min-content}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{padding:8px 20px 8px 0}.cell-ByXdMGQj.adaptive-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.adaptive-ByXdMGQj:not(.checkableTitle-ByXdMGQj):not(.inlineCell-ByXdMGQj){padding-top:8px}}.wrap-dHwHcgvB{align-items:center;display:flex;max-width:100%;overflow-wrap:break-word}.wrap-dHwHcgvB:before{content:"";flex:none;height:34px;width:0}.checkbox-24x04noU{min-width:0}.title-24x04noU{cursor:default;min-width:0}.hasTooltip-0t5K1wco{margin-right:9px}.uppercase-0t5K1wco{text-transform:uppercase}.innerLabel-MS9pjVpT{color:#d1d4dc;display:flex;flex:0 0 auto;font-size:16px;padding-left:5px}html.theme-dark .innerLabel-MS9pjVpT{color:#50535e}.controlWrapper-y2rn9wiU{box-sizing:border-box;height:100%;overflow:hidden;width:22px}.controlWrapper-y2rn9wiU.hidden-y2rn9wiU{opacity:0}.control-y2rn9wiU{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;color:#787b86;cursor:default;display:flex;flex:0 0 auto;height:50%;padding:0 6px;transition:color .35s ease,background-color .35s ease}.control-y2rn9wiU svg{fill:currentColor}@media (any-hover:hover){.control-y2rn9wiU:hover{background-color:#f0f3fa;color:#131722}html.theme-dark .control-y2rn9wiU:hover{background-color:#363a45;color:#b2b5be}}.controlIncrease-y2rn9wiU{transform:rotate(180deg)}.controlIcon-y2rn9wiU{display:flex;flex:0 0 auto;justify-content:center;width:10px}.controlIcon-y2rn9wiU svg{width:100%}.title-y2rn9wiU{color:#b2b5be;display:flex;flex-direction:column;font-size:12px;justify-content:center;margin-right:9px}html.theme-dark .title-y2rn9wiU{color:#50535e}.wrap-sYKPueSl{display:flex}.thicknessItem-sYKPueSl{align-items:center;background-color:initial;border:1px solid #d1d4dc;box-sizing:border-box;display:inline-flex;flex:1;height:32px;justify-content:center;padding:0 12px;position:relative}html.theme-dark .thicknessItem-sYKPueSl{background-color:initial;border-color:#50535e}@media (any-hover:hover){.thicknessItem-sYKPueSl:hover{background-color:#f0f3fa}html.theme-dark .thicknessItem-sYKPueSl:hover{background-color:#2a2e39}}.thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff;z-index:1}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff}@media (any-hover:hover){.thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}}.thicknessItem-sYKPueSl+.thicknessItem-sYKPueSl{margin-left:-1px}.thicknessItem-sYKPueSl:first-child{border-bottom-left-radius:3px;border-top-left-radius:3px;margin-left:0}.thicknessItem-sYKPueSl:last-child{border-bottom-right-radius:3px;border-top-right-radius:3px}.radio-sYKPueSl{height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;top:0;width:100%}.bar-sYKPueSl{border:0 solid #131722;height:0;width:100%}html.theme-dark .bar-sYKPueSl{border:0 solid #b2b5be}.bar-sYKPueSl.checked-sYKPueSl,html.theme-dark .bar-sYKPueSl.checked-sYKPueSl{border-top-color:#fff}.thicknessContainer-ofeynovw{padding:0 12px}.thicknessTitle-ofeynovw{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-ofeynovw{color:#787b86}.colorPickerWrap-pz6IRAmC{align-items:center;border-color:#d1d4dc;border-radius:4px;border-style:solid;box-sizing:border-box;display:inline-flex;margin:0;position:relative}html.theme-dark .colorPickerWrap-pz6IRAmC{border-color:#50535e}@media (any-hover:hover){.colorPickerWrap-pz6IRAmC:hover{border-color:#a3a6af}html.theme-dark .colorPickerWrap-pz6IRAmC:hover{border-color:#6a6d78}}.colorPickerWrap-pz6IRAmC.focused-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.focused-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#2a2e39;border-color:#50535e}.colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc;color:#b2b5be}html.theme-dark .colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#2a2e39;border-color:#50535e;color:#50535e}.colorPickerWrap-pz6IRAmC.size-small-pz6IRAmC{height:24px}.colorPickerWrap-pz6IRAmC.size-medium-pz6IRAmC{height:34px}.colorPickerWrap-pz6IRAmC.size-large-pz6IRAmC{height:48px}.colorPickerWrap-pz6IRAmC.font-size-medium-pz6IRAmC,.colorPickerWrap-pz6IRAmC.font-size-small-pz6IRAmC{font-size:14px;line-height:20px}.colorPickerWrap-pz6IRAmC.font-size-large-pz6IRAmC{font-size:16px;line-height:24px}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC{border-width:0}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC .shadow-pz6IRAmC{margin:0}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC{border-width:1px}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC .shadow-pz6IRAmC{margin:-1px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC{border-width:2px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC .shadow-pz6IRAmC{margin:-2px}.colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#50535e}.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC{border-color:#06806b}.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC{border-color:#ff9800}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-left-radius:0}.colorPickerWrap-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-right-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-right-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-left-radius:0}.shadow-pz6IRAmC{border:2px solid;border-radius:4px;bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:3}.shadow-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-left-radius:0}.shadow-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-right-radius:0}.shadow-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-right-radius:0}.shadow-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-left-radius:0}.colorPicker-pz6IRAmC{align-items:center;display:flex;justify-content:center;padding:4px}.colorPicker-pz6IRAmC.disabled-pz6IRAmC{opacity:.5}.swatch-pz6IRAmC{border-radius:3px;box-sizing:border-box;display:block;height:100%;width:100%}.placeholderContainer-pz6IRAmC{border-radius:3px;height:24px;overflow:hidden;position:relative;width:24px}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f;height:24px;width:24px}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-left:24px solid #0000;border-top:24px solid #22ab94;content:" ";position:absolute;width:0}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-top:24px solid #22ab94}.placeholderContainer-pz6IRAmC .mixedColor-pz6IRAmC{background:linear-gradient(270deg,#ff2e00,#ffe600 27.27%,#61ff00 50%,#00c2ff 72.44%,#8f00ff);height:100%}.white-pz6IRAmC{border:1px solid #d1d4dc}html.theme-dark .white-pz6IRAmC{border:1px solid #0000}.opacitySwatch-pz6IRAmC{background-color:#fff;background-image:url(a6506134daec7169f68f563f084a9d41.svg);background-size:50%;border-radius:3px;flex:0 0 24px;height:24px;position:relative;width:24px}html.theme-dark .opacitySwatch-pz6IRAmC{background-color:#000}.colorLine-pz6IRAmC{background-color:#131722;border-radius:1px;margin-left:8px;margin-right:4px;width:30px}html.theme-dark .colorLine-pz6IRAmC{background-color:#b2b5be}.colorLine-pz6IRAmC.white-pz6IRAmC{margin-left:7px;margin-right:3px}.multiWidth-pz6IRAmC{margin:0 4px 0 8px;width:30px}.line-pz6IRAmC{background-color:#131722;width:100%}html.theme-dark .line-pz6IRAmC{background-color:#b2b5be}.line-pz6IRAmC:first-child{border-radius:2px;height:3px;margin-bottom:4px}.line-pz6IRAmC:nth-child(2){border-radius:2px;height:2px;margin-bottom:4px}.line-pz6IRAmC:last-child{border-radius:1px;height:1px}.thicknessContainer-pz6IRAmC{padding:0 12px}.thicknessTitle-pz6IRAmC{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-pz6IRAmC{color:#787b86}.textarea-container-I5L4qQPj{font-size:16px;font-style:normal;font-weight:400;line-height:24px;resize:none}.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#d1d4dc)}@media (any-hover:hover){.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#d1d4dc)}}html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#50535e)}@media (any-hover:hover){html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#50535e)}}.textarea-container-I5L4qQPj.resize-vertical-I5L4qQPj{overflow:hidden;resize:vertical}.textarea-container-I5L4qQPj.resize-horizontal-I5L4qQPj{overflow:hidden;resize:horizontal}.textarea-container-I5L4qQPj.resize-both-I5L4qQPj{overflow:hidden;resize:both}.textarea-I5L4qQPj{-webkit-text-fill-color:var(--ui-lib-control-text-fill-color,currentColor);-webkit-appearance:auto;appearance:textfield;background-color:initial;border:0;box-sizing:border-box;display:block;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;margin:0;min-width:0;order:0;outline:0;padding:2px 5px;resize:none;width:100%}.textarea-I5L4qQPj::placeholder{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .textarea-I5L4qQPj::placeholder{color:#434651}.textarea-I5L4qQPj::-webkit-calendar-picker-indicator,.textarea-I5L4qQPj::-webkit-clear-button,.textarea-I5L4qQPj::-webkit-inner-spin-button,.textarea-I5L4qQPj::-webkit-outer-spin-button,.textarea-I5L4qQPj::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.textarea-I5L4qQPj:-webkit-autofill,.textarea-I5L4qQPj:-webkit-autofill:active,.textarea-I5L4qQPj:-webkit-autofill:focus{border-radius:3px}@media (any-hover:hover){.textarea-I5L4qQPj:-webkit-autofill:hover{border-radius:3px}}html.theme-dark .textarea-I5L4qQPj::-webkit-calendar-picker-indicator{filter:invert(1)}.icon-OTC0ma9h{color:#787b86;height:18px;width:18px}.input-pBN3Orju{height:34px;margin-right:12px;width:100px}.input-pBN3Orju.symbol-pBN3Orju{width:150px}.input-pBN3Orju:last-child{margin-right:0}.checkbox-pBN3Orju{max-width:100%}.checkbox-pBN3Orju .label-pBN3Orju{display:inline-block;max-width:100%;min-width:0;overflow-wrap:break-word;vertical-align:top}.checkbox-pBN3Orju .label-pBN3Orju:first-letter{text-transform:capitalize}.dropdownMenu-pBN3Orju{min-width:100px}.sessionEnd-pBN3Orju,.sessionStart-pBN3Orju{align-items:center;display:inline-flex}.sessionInputContainer-pBN3Orju{margin-right:0}.sessionDash-pBN3Orju{flex:1 0 auto}.inputGroup-pBN3Orju{align-items:center;display:flex}.textarea-pBN3Orju{height:200px;padding-top:0;width:100%}@media screen and (max-width:379px){.input-pBN3Orju{margin-bottom:8px}.input-pBN3Orju:last-child{margin-bottom:0}.inputGroup-pBN3Orju{display:block}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju{display:flex}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju .sessionStart-pBN3Orju,.sessionInputContainer-pBN3Orju{margin-bottom:0}.sessionStart-pBN3Orju{margin-bottom:8px}.sessionEnd-pBN3Orju{display:block}}.hasTooltip-pBN3Orju{margin-right:9px}.titleWrap-O5QDBhZc{color:#787b86;height:16px;text-transform:uppercase}.title-O5QDBhZc{font-size:11px}.wrap-l3G0HrB9{flex-direction:column}.labelWrap-l3G0HrB9{align-items:center;display:flex;margin-bottom:6px}.label-l3G0HrB9{word-break:break-word}.label-l3G0HrB9.hasTooltip-l3G0HrB9{margin-right:8px}.inlineRow-CqPNtHDN{align-items:center;display:flex;flex-wrap:wrap;grid-column:1/3;margin-right:-8px;padding:4px 0}.titleWrap-ZYQL0yaM{align-items:center;display:flex;height:34px;padding:24px 0 8px}.titleWrap-ZYQL0yaM:first-child{padding-top:8px}.groupFooter-ZYQL0yaM{height:16px}.groupFooter-ZYQL0yaM:last-child{height:0}.groupFooter-ZYQL0yaM,.titleWrap-ZYQL0yaM{grid-column:1/3}.groupFooter-ZYQL0yaM+.titleWrap-ZYQL0yaM{padding-top:8px} \ No newline at end of file diff --git a/charting_library/bundles/2316.b0ed604f1b75887fab7d.rtl.css b/charting_library/bundles/1999.41e6d020269ba779f363.rtl.css similarity index 52% rename from charting_library/bundles/2316.b0ed604f1b75887fab7d.rtl.css rename to charting_library/bundles/1999.41e6d020269ba779f363.rtl.css index 812fbbc4..894afd05 100644 --- a/charting_library/bundles/2316.b0ed604f1b75887fab7d.rtl.css +++ b/charting_library/bundles/1999.41e6d020269ba779f363.rtl.css @@ -1 +1 @@ -.content-ByXdMGQj{box-sizing:border-box;color:#131722;display:inline-grid;grid-template-columns:auto 1fr;max-width:550px;padding:16px 20px;width:100%}html.theme-dark .content-ByXdMGQj{color:#b2b5be}.cell-ByXdMGQj .inner-ByXdMGQj{align-items:center;display:flex;padding:8px 0}.cell-ByXdMGQj.first-ByXdMGQj{align-items:center;display:flex;min-width:0}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{word-wrap:break-word;cursor:default;display:block;min-width:0;padding-left:20px}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj:first-letter{text-transform:capitalize}.cell-ByXdMGQj.first-ByXdMGQj.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding-left:0}.cell-ByXdMGQj.fill-ByXdMGQj{grid-column:1/3}.cell-ByXdMGQj.top-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.topCenter-ByXdMGQj{align-items:flex-start;padding-top:8px}.cell-ByXdMGQj:only-child{max-width:340px}.cell-ByXdMGQj.offset-ByXdMGQj{padding-right:26px}.inlineRow-ByXdMGQj{display:flex}.inlineCell-ByXdMGQj{margin-left:8px}.grouped-ByXdMGQj .inner-ByXdMGQj,.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding:4px 0}.separator-ByXdMGQj{background-color:#e0e3eb;height:1px;margin:8px -20px}html.theme-dark .separator-ByXdMGQj{background-color:#434651}.groupSeparator-ByXdMGQj{height:8px}.groupSeparator-ByXdMGQj.big-ByXdMGQj{height:14px}@media screen and (max-width:379px){.content-ByXdMGQj{grid-template-columns:1fr min-content}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{padding:8px 0 8px 20px}.cell-ByXdMGQj.adaptive-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.adaptive-ByXdMGQj:not(.checkableTitle-ByXdMGQj):not(.inlineCell-ByXdMGQj){padding-top:8px}}.wrap-GsOqvniR{align-items:center;background-color:#f0f3fa;border-radius:4px;box-sizing:border-box;display:flex;height:34px;justify-content:space-between;max-width:180px;min-width:100px;padding:7px 8px 6px}html.theme-dark .wrap-GsOqvniR{background-color:#2a2e39}@media (any-hover:hover){.wrap-GsOqvniR:hover{background-color:#e0e3eb}html.theme-dark .wrap-GsOqvniR:hover{background-color:#434651}.wrap-GsOqvniR:hover .icon-GsOqvniR{color:#131722}html.theme-dark .wrap-GsOqvniR:hover .icon-GsOqvniR{color:#b2b5be}}.text-GsOqvniR{color:#131722;cursor:default;line-height:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.theme-dark .text-GsOqvniR{color:#b2b5be}.icon-GsOqvniR{align-self:flex-start;color:#787b86;height:18px;margin-right:8px}.disabled-GsOqvniR{pointer-events:none}.disabled-GsOqvniR .icon-GsOqvniR,.disabled-GsOqvniR .text-GsOqvniR{color:#b2b5be}html.theme-dark .disabled-GsOqvniR .icon-GsOqvniR,html.theme-dark .disabled-GsOqvniR .text-GsOqvniR{color:#50535e}.wrap-dHwHcgvB{align-items:center;display:flex;max-width:100%;overflow-wrap:break-word}.wrap-dHwHcgvB:before{content:"";flex:none;height:34px;width:0}.checkbox-24x04noU{min-width:0}.title-24x04noU{cursor:default;min-width:0}.hasTooltip-0t5K1wco{margin-left:9px}.uppercase-0t5K1wco{text-transform:uppercase}.innerLabel-MS9pjVpT{color:#d1d4dc;display:flex;flex:0 0 auto;font-size:16px;padding-right:5px}html.theme-dark .innerLabel-MS9pjVpT{color:#50535e}.controlWrapper-y2rn9wiU{box-sizing:border-box;height:100%;overflow:hidden;width:22px}margin-left:2px;margin-right:0;.controlWrapper-y2rn9wiU.hidden-y2rn9wiU{opacity:0}.control-y2rn9wiU{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;color:#787b86;cursor:default;display:flex;flex:0 0 auto;height:50%;padding:0 6px;transition:color .35s ease,background-color .35s ease}.control-y2rn9wiU svg{fill:currentColor}@media (any-hover:hover){.control-y2rn9wiU:hover{background-color:#f0f3fa;color:#131722}html.theme-dark .control-y2rn9wiU:hover{background-color:#363a45;color:#b2b5be}}.controlIncrease-y2rn9wiU{transform:rotate(-180deg)}.controlIcon-y2rn9wiU{display:flex;flex:0 0 auto;justify-content:center;width:10px}.controlIcon-y2rn9wiU svg{width:100%}.title-y2rn9wiU{color:#b2b5be;display:flex;flex-direction:column;font-size:12px;justify-content:center;margin-left:9px}html.theme-dark .title-y2rn9wiU{color:#50535e}.wrap-sYKPueSl{display:flex}.thicknessItem-sYKPueSl{align-items:center;background-color:initial;border:1px solid #d1d4dc;box-sizing:border-box;display:inline-flex;flex:1;height:32px;justify-content:center;padding:0 12px;position:relative}html.theme-dark .thicknessItem-sYKPueSl{background-color:initial;border-color:#50535e}@media (any-hover:hover){.thicknessItem-sYKPueSl:hover{background-color:#f0f3fa}html.theme-dark .thicknessItem-sYKPueSl:hover{background-color:#2a2e39}}.thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff;z-index:1}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff}@media (any-hover:hover){.thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}}.thicknessItem-sYKPueSl+.thicknessItem-sYKPueSl{margin-right:-1px}.thicknessItem-sYKPueSl:first-child{border-bottom-right-radius:3px;border-top-right-radius:3px;margin-right:0}.thicknessItem-sYKPueSl:last-child{border-bottom-left-radius:3px;border-top-left-radius:3px}.radio-sYKPueSl{height:100%;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.bar-sYKPueSl{border:0 solid #131722;height:0;width:100%}html.theme-dark .bar-sYKPueSl{border:0 solid #b2b5be}.bar-sYKPueSl.checked-sYKPueSl,html.theme-dark .bar-sYKPueSl.checked-sYKPueSl{border-top-color:#fff}.thicknessContainer-ofeynovw{padding:0 12px}.thicknessTitle-ofeynovw{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-ofeynovw{color:#787b86}.colorPickerWrap-pz6IRAmC{align-items:center;border-color:#d1d4dc;border-radius:4px;border-style:solid;box-sizing:border-box;display:inline-flex;margin:0;position:relative}html.theme-dark .colorPickerWrap-pz6IRAmC{border-color:#50535e}@media (any-hover:hover){.colorPickerWrap-pz6IRAmC:hover{border-color:#a3a6af}html.theme-dark .colorPickerWrap-pz6IRAmC:hover{border-color:#6a6d78}}.colorPickerWrap-pz6IRAmC.focused-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.focused-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#2a2e39;border-color:#50535e}.colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc;color:#b2b5be}html.theme-dark .colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#2a2e39;border-color:#50535e;color:#50535e}.colorPickerWrap-pz6IRAmC.size-small-pz6IRAmC{height:24px}.colorPickerWrap-pz6IRAmC.size-medium-pz6IRAmC{height:34px}.colorPickerWrap-pz6IRAmC.size-large-pz6IRAmC{height:48px}.colorPickerWrap-pz6IRAmC.font-size-medium-pz6IRAmC,.colorPickerWrap-pz6IRAmC.font-size-small-pz6IRAmC{font-size:14px;line-height:20px}.colorPickerWrap-pz6IRAmC.font-size-large-pz6IRAmC{font-size:16px;line-height:24px}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC{border-width:0}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC .shadow-pz6IRAmC{margin:0}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC{border-width:1px}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC .shadow-pz6IRAmC{margin:-1px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC{border-width:2px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC .shadow-pz6IRAmC{margin:-2px}.colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#50535e}.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC{border-color:#06806b}.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC{border-color:#ff9800}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-right-radius:0}.colorPickerWrap-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-left-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-left-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-right-radius:0}.shadow-pz6IRAmC{border:2px solid;border-radius:4px;bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:3}.shadow-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-right-radius:0}.shadow-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-left-radius:0}.shadow-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-left-radius:0}.shadow-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-right-radius:0}.colorPicker-pz6IRAmC{align-items:center;display:flex;justify-content:center;padding:4px}.colorPicker-pz6IRAmC.disabled-pz6IRAmC{opacity:.5}.swatch-pz6IRAmC{border-radius:3px;box-sizing:border-box;display:block;height:100%;width:100%}.placeholderContainer-pz6IRAmC{border-radius:3px;height:24px;overflow:hidden;position:relative;width:24px}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f;height:24px;width:24px}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-right:24px solid #0000;border-top:24px solid #22ab94;content:" ";position:absolute;width:0}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-top:24px solid #22ab94}.placeholderContainer-pz6IRAmC .mixedColor-pz6IRAmC{background:linear-gradient(-270deg,#ff2e00,#ffe600 27.27%,#61ff00 50%,#00c2ff 72.44%,#8f00ff);height:100%}.white-pz6IRAmC{border:1px solid #d1d4dc}html.theme-dark .white-pz6IRAmC{border:1px solid #0000}.opacitySwatch-pz6IRAmC{background-color:#fff;background-image:url(a6506134daec7169f68f563f084a9d41.svg);background-size:50%;border-radius:3px;flex:0 0 24px;height:24px;position:relative;width:24px}html.theme-dark .opacitySwatch-pz6IRAmC{background-color:#000}.colorLine-pz6IRAmC{background-color:#131722;border-radius:1px;margin-left:4px;margin-right:8px;width:30px}html.theme-dark .colorLine-pz6IRAmC{background-color:#b2b5be}.colorLine-pz6IRAmC.white-pz6IRAmC{margin-left:3px;margin-right:7px}.multiWidth-pz6IRAmC{margin:0 8px 0 4px;width:30px}.line-pz6IRAmC{background-color:#131722;width:100%}html.theme-dark .line-pz6IRAmC{background-color:#b2b5be}.line-pz6IRAmC:first-child{border-radius:2px;height:3px;margin-bottom:4px}.line-pz6IRAmC:nth-child(2){border-radius:2px;height:2px;margin-bottom:4px}.line-pz6IRAmC:last-child{border-radius:1px;height:1px}.thicknessContainer-pz6IRAmC{padding:0 12px}.thicknessTitle-pz6IRAmC{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-pz6IRAmC{color:#787b86}.radio-vpA3AYsc{-webkit-tap-highlight-color:transparent;align-items:center;cursor:default;display:inline-flex;font-size:14px;font-stretch:normal;font-style:normal;font-weight:400;letter-spacing:normal;line-height:normal;position:relative;-webkit-user-select:none;user-select:none}@media (any-hover:hover){.radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#a3a6af}html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#5d606b}.radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#1e53e5}}.radio-vpA3AYsc.reverse-vpA3AYsc{flex-direction:row-reverse}.radio-vpA3AYsc.reverse-vpA3AYsc .label-vpA3AYsc{margin-left:8px;margin-right:0}.radio-vpA3AYsc .wrapper-vpA3AYsc{display:inline-block;flex-shrink:0;height:18px;position:relative;width:18px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc{display:inline-block;height:100%;position:relative;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{background-color:initial;border:1px solid #b2b5be;border-radius:50%;box-sizing:border-box;content:"";height:100%;position:absolute;transition:border-color .35s ease;width:100%}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{border:1px solid #50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:after{border:2px solid;border-color:#2962ffcc;border-radius:50%;box-sizing:border-box;content:"";height:26px;opacity:0;position:absolute;right:-4px;top:-4px;transform:scale(.69231);width:26px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc.noOutline-vpA3AYsc:after{content:none}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc{cursor:inherit;height:100%;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before{border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#fff;border-color:#2962ff;border-width:6px}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#d1d4dc;border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus-visible+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus:not(:focus-visible)+.box-vpA3AYsc:after{opacity:0;transform:scale(.69231)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#e0e3eb;border-color:#b2b5be}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#2a2e39;border-color:#50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#b2b5be;border-color:#e0e3eb}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#50535e;border-color:#2a2e39}.radio-vpA3AYsc .label-vpA3AYsc{color:#000;margin-right:8px;min-width:0}html.theme-dark .radio-vpA3AYsc .label-vpA3AYsc{color:#b2b5be}.textarea-container-I5L4qQPj{font-size:16px;font-style:normal;font-weight:400;line-height:24px;resize:none}.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#d1d4dc)}@media (any-hover:hover){.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#d1d4dc)}}html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#50535e)}@media (any-hover:hover){html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#50535e)}}.textarea-container-I5L4qQPj.resize-vertical-I5L4qQPj{overflow:hidden;resize:vertical}.textarea-container-I5L4qQPj.resize-horizontal-I5L4qQPj{overflow:hidden;resize:horizontal}.textarea-container-I5L4qQPj.resize-both-I5L4qQPj{overflow:hidden;resize:both}.textarea-I5L4qQPj{-webkit-text-fill-color:var(--ui-lib-control-text-fill-color,currentColor);-webkit-appearance:auto;appearance:textfield;background-color:initial;border:0;box-sizing:border-box;display:block;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;margin:0;min-width:0;order:0;outline:0;padding:2px 5px;resize:none;width:100%}.textarea-I5L4qQPj::placeholder{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .textarea-I5L4qQPj::placeholder{color:#434651}.textarea-I5L4qQPj::-webkit-calendar-picker-indicator,.textarea-I5L4qQPj::-webkit-clear-button,.textarea-I5L4qQPj::-webkit-inner-spin-button,.textarea-I5L4qQPj::-webkit-outer-spin-button,.textarea-I5L4qQPj::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.textarea-I5L4qQPj:-webkit-autofill,.textarea-I5L4qQPj:-webkit-autofill:active,.textarea-I5L4qQPj:-webkit-autofill:focus{border-radius:3px}@media (any-hover:hover){.textarea-I5L4qQPj:-webkit-autofill:hover{border-radius:3px}}html.theme-dark .textarea-I5L4qQPj::-webkit-calendar-picker-indicator{filter:invert(1)}.icon-OTC0ma9h{color:#787b86;height:18px;width:18px}.input-pBN3Orju{height:34px;margin-left:12px;width:100px}.input-pBN3Orju.symbol-pBN3Orju{width:150px}.input-pBN3Orju:last-child{margin-left:0}.checkbox-pBN3Orju{max-width:100%}.checkbox-pBN3Orju .label-pBN3Orju{display:inline-block;max-width:100%;min-width:0;overflow-wrap:break-word;vertical-align:top}.checkbox-pBN3Orju .label-pBN3Orju:first-letter{text-transform:capitalize}.dropdownMenu-pBN3Orju{min-width:100px}.sessionEnd-pBN3Orju,.sessionStart-pBN3Orju{align-items:center;display:inline-flex}.sessionInputContainer-pBN3Orju{margin-left:0}.sessionDash-pBN3Orju{flex:1 0 auto}.inputGroup-pBN3Orju{align-items:center;display:flex}.textarea-pBN3Orju{height:200px;padding-top:0;width:100%}@media screen and (max-width:379px){.input-pBN3Orju{margin-bottom:8px}.input-pBN3Orju:last-child{margin-bottom:0}.inputGroup-pBN3Orju{display:block}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju{display:flex}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju .sessionStart-pBN3Orju,.sessionInputContainer-pBN3Orju{margin-bottom:0}.sessionStart-pBN3Orju{margin-bottom:8px}.sessionEnd-pBN3Orju{display:block}}.hasTooltip-pBN3Orju{margin-left:9px}.titleWrap-O5QDBhZc{color:#787b86;height:16px;text-transform:uppercase}.title-O5QDBhZc{font-size:11px}.wrap-l3G0HrB9{flex-direction:column}.labelWrap-l3G0HrB9{align-items:center;display:flex;margin-bottom:6px}.label-l3G0HrB9{word-break:break-word}.label-l3G0HrB9.hasTooltip-l3G0HrB9{margin-left:8px}.inlineRow-CqPNtHDN{align-items:center;display:flex;flex-wrap:wrap;grid-column:1/3;margin-left:-8px;padding:4px 0}.titleWrap-ZYQL0yaM{align-items:center;display:flex;height:34px;padding:24px 0 8px}.titleWrap-ZYQL0yaM:first-child{padding-top:8px}.groupFooter-ZYQL0yaM{height:16px}.groupFooter-ZYQL0yaM:last-child{height:0}.groupFooter-ZYQL0yaM,.titleWrap-ZYQL0yaM{grid-column:1/3}.groupFooter-ZYQL0yaM+.titleWrap-ZYQL0yaM{padding-top:8px} \ No newline at end of file +.wrap-GsOqvniR{align-items:center;background-color:#f0f3fa;border-radius:4px;box-sizing:border-box;display:flex;height:34px;justify-content:space-between;max-width:180px;min-width:100px;padding:7px 8px 6px}html.theme-dark .wrap-GsOqvniR{background-color:#2a2e39}@media (any-hover:hover){.wrap-GsOqvniR:hover{background-color:#e0e3eb}html.theme-dark .wrap-GsOqvniR:hover{background-color:#434651}.wrap-GsOqvniR:hover .icon-GsOqvniR{color:#131722}html.theme-dark .wrap-GsOqvniR:hover .icon-GsOqvniR{color:#b2b5be}}.text-GsOqvniR{color:#131722;cursor:default;line-height:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.theme-dark .text-GsOqvniR{color:#b2b5be}.icon-GsOqvniR{align-self:flex-start;color:#787b86;height:18px;margin-right:8px}.disabled-GsOqvniR{pointer-events:none}.disabled-GsOqvniR .icon-GsOqvniR,.disabled-GsOqvniR .text-GsOqvniR{color:#b2b5be}html.theme-dark .disabled-GsOqvniR .icon-GsOqvniR,html.theme-dark .disabled-GsOqvniR .text-GsOqvniR{color:#50535e}.content-ByXdMGQj{box-sizing:border-box;color:#131722;display:inline-grid;grid-template-columns:auto 1fr;max-width:550px;padding:16px 20px;width:100%}html.theme-dark .content-ByXdMGQj{color:#b2b5be}.cell-ByXdMGQj .inner-ByXdMGQj{align-items:center;display:flex;padding:8px 0}.cell-ByXdMGQj.first-ByXdMGQj{align-items:center;display:flex;min-width:0}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{word-wrap:break-word;cursor:default;display:block;min-width:0;padding-left:20px}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj:first-letter{text-transform:capitalize}.cell-ByXdMGQj.first-ByXdMGQj.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding-left:0}.cell-ByXdMGQj.fill-ByXdMGQj{grid-column:1/3}.cell-ByXdMGQj.top-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.topCenter-ByXdMGQj{align-items:flex-start;padding-top:8px}.cell-ByXdMGQj:only-child{max-width:340px}.cell-ByXdMGQj.offset-ByXdMGQj{padding-right:26px}.inlineRow-ByXdMGQj{display:flex}.inlineCell-ByXdMGQj{margin-left:8px}.grouped-ByXdMGQj .inner-ByXdMGQj,.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding:4px 0}.separator-ByXdMGQj{background-color:#e0e3eb;height:1px;margin:8px -20px}html.theme-dark .separator-ByXdMGQj{background-color:#434651}.groupSeparator-ByXdMGQj{height:8px}.groupSeparator-ByXdMGQj.big-ByXdMGQj{height:14px}@media screen and (max-width:379px){.content-ByXdMGQj{grid-template-columns:1fr min-content}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{padding:8px 0 8px 20px}.cell-ByXdMGQj.adaptive-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.adaptive-ByXdMGQj:not(.checkableTitle-ByXdMGQj):not(.inlineCell-ByXdMGQj){padding-top:8px}}.wrap-dHwHcgvB{align-items:center;display:flex;max-width:100%;overflow-wrap:break-word}.wrap-dHwHcgvB:before{content:"";flex:none;height:34px;width:0}.checkbox-24x04noU{min-width:0}.title-24x04noU{cursor:default;min-width:0}.hasTooltip-0t5K1wco{margin-left:9px}.uppercase-0t5K1wco{text-transform:uppercase}.innerLabel-MS9pjVpT{color:#d1d4dc;display:flex;flex:0 0 auto;font-size:16px;padding-right:5px}html.theme-dark .innerLabel-MS9pjVpT{color:#50535e}.controlWrapper-y2rn9wiU{box-sizing:border-box;height:100%;overflow:hidden;width:22px}margin-left:2px;margin-right:0;.controlWrapper-y2rn9wiU.hidden-y2rn9wiU{opacity:0}.control-y2rn9wiU{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;color:#787b86;cursor:default;display:flex;flex:0 0 auto;height:50%;padding:0 6px;transition:color .35s ease,background-color .35s ease}.control-y2rn9wiU svg{fill:currentColor}@media (any-hover:hover){.control-y2rn9wiU:hover{background-color:#f0f3fa;color:#131722}html.theme-dark .control-y2rn9wiU:hover{background-color:#363a45;color:#b2b5be}}.controlIncrease-y2rn9wiU{transform:rotate(-180deg)}.controlIcon-y2rn9wiU{display:flex;flex:0 0 auto;justify-content:center;width:10px}.controlIcon-y2rn9wiU svg{width:100%}.title-y2rn9wiU{color:#b2b5be;display:flex;flex-direction:column;font-size:12px;justify-content:center;margin-left:9px}html.theme-dark .title-y2rn9wiU{color:#50535e}.wrap-sYKPueSl{display:flex}.thicknessItem-sYKPueSl{align-items:center;background-color:initial;border:1px solid #d1d4dc;box-sizing:border-box;display:inline-flex;flex:1;height:32px;justify-content:center;padding:0 12px;position:relative}html.theme-dark .thicknessItem-sYKPueSl{background-color:initial;border-color:#50535e}@media (any-hover:hover){.thicknessItem-sYKPueSl:hover{background-color:#f0f3fa}html.theme-dark .thicknessItem-sYKPueSl:hover{background-color:#2a2e39}}.thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff;z-index:1}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff}@media (any-hover:hover){.thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}}.thicknessItem-sYKPueSl+.thicknessItem-sYKPueSl{margin-right:-1px}.thicknessItem-sYKPueSl:first-child{border-bottom-right-radius:3px;border-top-right-radius:3px;margin-right:0}.thicknessItem-sYKPueSl:last-child{border-bottom-left-radius:3px;border-top-left-radius:3px}.radio-sYKPueSl{height:100%;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.bar-sYKPueSl{border:0 solid #131722;height:0;width:100%}html.theme-dark .bar-sYKPueSl{border:0 solid #b2b5be}.bar-sYKPueSl.checked-sYKPueSl,html.theme-dark .bar-sYKPueSl.checked-sYKPueSl{border-top-color:#fff}.thicknessContainer-ofeynovw{padding:0 12px}.thicknessTitle-ofeynovw{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-ofeynovw{color:#787b86}.colorPickerWrap-pz6IRAmC{align-items:center;border-color:#d1d4dc;border-radius:4px;border-style:solid;box-sizing:border-box;display:inline-flex;margin:0;position:relative}html.theme-dark .colorPickerWrap-pz6IRAmC{border-color:#50535e}@media (any-hover:hover){.colorPickerWrap-pz6IRAmC:hover{border-color:#a3a6af}html.theme-dark .colorPickerWrap-pz6IRAmC:hover{border-color:#6a6d78}}.colorPickerWrap-pz6IRAmC.focused-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.focused-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#2a2e39;border-color:#50535e}.colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc;color:#b2b5be}html.theme-dark .colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#2a2e39;border-color:#50535e;color:#50535e}.colorPickerWrap-pz6IRAmC.size-small-pz6IRAmC{height:24px}.colorPickerWrap-pz6IRAmC.size-medium-pz6IRAmC{height:34px}.colorPickerWrap-pz6IRAmC.size-large-pz6IRAmC{height:48px}.colorPickerWrap-pz6IRAmC.font-size-medium-pz6IRAmC,.colorPickerWrap-pz6IRAmC.font-size-small-pz6IRAmC{font-size:14px;line-height:20px}.colorPickerWrap-pz6IRAmC.font-size-large-pz6IRAmC{font-size:16px;line-height:24px}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC{border-width:0}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC .shadow-pz6IRAmC{margin:0}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC{border-width:1px}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC .shadow-pz6IRAmC{margin:-1px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC{border-width:2px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC .shadow-pz6IRAmC{margin:-2px}.colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#50535e}.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC{border-color:#06806b}.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC{border-color:#ff9800}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-right-radius:0}.colorPickerWrap-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-left-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-left-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-right-radius:0}.shadow-pz6IRAmC{border:2px solid;border-radius:4px;bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:3}.shadow-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-right-radius:0}.shadow-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-left-radius:0}.shadow-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-left-radius:0}.shadow-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-right-radius:0}.colorPicker-pz6IRAmC{align-items:center;display:flex;justify-content:center;padding:4px}.colorPicker-pz6IRAmC.disabled-pz6IRAmC{opacity:.5}.swatch-pz6IRAmC{border-radius:3px;box-sizing:border-box;display:block;height:100%;width:100%}.placeholderContainer-pz6IRAmC{border-radius:3px;height:24px;overflow:hidden;position:relative;width:24px}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f;height:24px;width:24px}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-right:24px solid #0000;border-top:24px solid #22ab94;content:" ";position:absolute;width:0}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-top:24px solid #22ab94}.placeholderContainer-pz6IRAmC .mixedColor-pz6IRAmC{background:linear-gradient(-270deg,#ff2e00,#ffe600 27.27%,#61ff00 50%,#00c2ff 72.44%,#8f00ff);height:100%}.white-pz6IRAmC{border:1px solid #d1d4dc}html.theme-dark .white-pz6IRAmC{border:1px solid #0000}.opacitySwatch-pz6IRAmC{background-color:#fff;background-image:url(a6506134daec7169f68f563f084a9d41.svg);background-size:50%;border-radius:3px;flex:0 0 24px;height:24px;position:relative;width:24px}html.theme-dark .opacitySwatch-pz6IRAmC{background-color:#000}.colorLine-pz6IRAmC{background-color:#131722;border-radius:1px;margin-left:4px;margin-right:8px;width:30px}html.theme-dark .colorLine-pz6IRAmC{background-color:#b2b5be}.colorLine-pz6IRAmC.white-pz6IRAmC{margin-left:3px;margin-right:7px}.multiWidth-pz6IRAmC{margin:0 8px 0 4px;width:30px}.line-pz6IRAmC{background-color:#131722;width:100%}html.theme-dark .line-pz6IRAmC{background-color:#b2b5be}.line-pz6IRAmC:first-child{border-radius:2px;height:3px;margin-bottom:4px}.line-pz6IRAmC:nth-child(2){border-radius:2px;height:2px;margin-bottom:4px}.line-pz6IRAmC:last-child{border-radius:1px;height:1px}.thicknessContainer-pz6IRAmC{padding:0 12px}.thicknessTitle-pz6IRAmC{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-pz6IRAmC{color:#787b86}.textarea-container-I5L4qQPj{font-size:16px;font-style:normal;font-weight:400;line-height:24px;resize:none}.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#d1d4dc)}@media (any-hover:hover){.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#d1d4dc)}}html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#50535e)}@media (any-hover:hover){html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#50535e)}}.textarea-container-I5L4qQPj.resize-vertical-I5L4qQPj{overflow:hidden;resize:vertical}.textarea-container-I5L4qQPj.resize-horizontal-I5L4qQPj{overflow:hidden;resize:horizontal}.textarea-container-I5L4qQPj.resize-both-I5L4qQPj{overflow:hidden;resize:both}.textarea-I5L4qQPj{-webkit-text-fill-color:var(--ui-lib-control-text-fill-color,currentColor);-webkit-appearance:auto;appearance:textfield;background-color:initial;border:0;box-sizing:border-box;display:block;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;margin:0;min-width:0;order:0;outline:0;padding:2px 5px;resize:none;width:100%}.textarea-I5L4qQPj::placeholder{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .textarea-I5L4qQPj::placeholder{color:#434651}.textarea-I5L4qQPj::-webkit-calendar-picker-indicator,.textarea-I5L4qQPj::-webkit-clear-button,.textarea-I5L4qQPj::-webkit-inner-spin-button,.textarea-I5L4qQPj::-webkit-outer-spin-button,.textarea-I5L4qQPj::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.textarea-I5L4qQPj:-webkit-autofill,.textarea-I5L4qQPj:-webkit-autofill:active,.textarea-I5L4qQPj:-webkit-autofill:focus{border-radius:3px}@media (any-hover:hover){.textarea-I5L4qQPj:-webkit-autofill:hover{border-radius:3px}}html.theme-dark .textarea-I5L4qQPj::-webkit-calendar-picker-indicator{filter:invert(1)}.icon-OTC0ma9h{color:#787b86;height:18px;width:18px}.input-pBN3Orju{height:34px;margin-left:12px;width:100px}.input-pBN3Orju.symbol-pBN3Orju{width:150px}.input-pBN3Orju:last-child{margin-left:0}.checkbox-pBN3Orju{max-width:100%}.checkbox-pBN3Orju .label-pBN3Orju{display:inline-block;max-width:100%;min-width:0;overflow-wrap:break-word;vertical-align:top}.checkbox-pBN3Orju .label-pBN3Orju:first-letter{text-transform:capitalize}.dropdownMenu-pBN3Orju{min-width:100px}.sessionEnd-pBN3Orju,.sessionStart-pBN3Orju{align-items:center;display:inline-flex}.sessionInputContainer-pBN3Orju{margin-left:0}.sessionDash-pBN3Orju{flex:1 0 auto}.inputGroup-pBN3Orju{align-items:center;display:flex}.textarea-pBN3Orju{height:200px;padding-top:0;width:100%}@media screen and (max-width:379px){.input-pBN3Orju{margin-bottom:8px}.input-pBN3Orju:last-child{margin-bottom:0}.inputGroup-pBN3Orju{display:block}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju{display:flex}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju .sessionStart-pBN3Orju,.sessionInputContainer-pBN3Orju{margin-bottom:0}.sessionStart-pBN3Orju{margin-bottom:8px}.sessionEnd-pBN3Orju{display:block}}.hasTooltip-pBN3Orju{margin-left:9px}.titleWrap-O5QDBhZc{color:#787b86;height:16px;text-transform:uppercase}.title-O5QDBhZc{font-size:11px}.wrap-l3G0HrB9{flex-direction:column}.labelWrap-l3G0HrB9{align-items:center;display:flex;margin-bottom:6px}.label-l3G0HrB9{word-break:break-word}.label-l3G0HrB9.hasTooltip-l3G0HrB9{margin-left:8px}.inlineRow-CqPNtHDN{align-items:center;display:flex;flex-wrap:wrap;grid-column:1/3;margin-left:-8px;padding:4px 0}.titleWrap-ZYQL0yaM{align-items:center;display:flex;height:34px;padding:24px 0 8px}.titleWrap-ZYQL0yaM:first-child{padding-top:8px}.groupFooter-ZYQL0yaM{height:16px}.groupFooter-ZYQL0yaM:last-child{height:0}.groupFooter-ZYQL0yaM,.titleWrap-ZYQL0yaM{grid-column:1/3}.groupFooter-ZYQL0yaM+.titleWrap-ZYQL0yaM{padding-top:8px} \ No newline at end of file diff --git a/charting_library/bundles/1a129ec3eee7754e48466838566ab14e.svg b/charting_library/bundles/1a129ec3eee7754e48466838566ab14e.svg new file mode 100644 index 00000000..8c3abfbe --- /dev/null +++ b/charting_library/bundles/1a129ec3eee7754e48466838566ab14e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1b4c2ab61dabdd769b277a4707937a9d.svg b/charting_library/bundles/1b4c2ab61dabdd769b277a4707937a9d.svg new file mode 100644 index 00000000..3d22b6a7 --- /dev/null +++ b/charting_library/bundles/1b4c2ab61dabdd769b277a4707937a9d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1bf2c1b06e7ab37b765dd3f5b891a241.svg b/charting_library/bundles/1bf2c1b06e7ab37b765dd3f5b891a241.svg new file mode 100644 index 00000000..22448bdc --- /dev/null +++ b/charting_library/bundles/1bf2c1b06e7ab37b765dd3f5b891a241.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1c6b280e81b3d23ee72a86dedc751351.svg b/charting_library/bundles/1c6b280e81b3d23ee72a86dedc751351.svg new file mode 100644 index 00000000..82ed06e6 --- /dev/null +++ b/charting_library/bundles/1c6b280e81b3d23ee72a86dedc751351.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1ca623399e6a505e1816c5f4169c60a3.svg b/charting_library/bundles/1ca623399e6a505e1816c5f4169c60a3.svg new file mode 100644 index 00000000..b816257f --- /dev/null +++ b/charting_library/bundles/1ca623399e6a505e1816c5f4169c60a3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1cab1bbf2efbf21183e3f253d0cdd698.svg b/charting_library/bundles/1cab1bbf2efbf21183e3f253d0cdd698.svg new file mode 100644 index 00000000..eddacc86 --- /dev/null +++ b/charting_library/bundles/1cab1bbf2efbf21183e3f253d0cdd698.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1d27ff98c6f9247fd9df181f3fba5d3e.svg b/charting_library/bundles/1d27ff98c6f9247fd9df181f3fba5d3e.svg new file mode 100644 index 00000000..a7653bd5 --- /dev/null +++ b/charting_library/bundles/1d27ff98c6f9247fd9df181f3fba5d3e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1d3eecfc50933a84c28985cffe2fbb4e.svg b/charting_library/bundles/1d3eecfc50933a84c28985cffe2fbb4e.svg new file mode 100644 index 00000000..566b9355 --- /dev/null +++ b/charting_library/bundles/1d3eecfc50933a84c28985cffe2fbb4e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1d59e7669186b321ec8cffdfd2369210.svg b/charting_library/bundles/1d59e7669186b321ec8cffdfd2369210.svg new file mode 100644 index 00000000..cd592768 --- /dev/null +++ b/charting_library/bundles/1d59e7669186b321ec8cffdfd2369210.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1e193459d0a9e9fc9ef95beffa15de1c.svg b/charting_library/bundles/1e193459d0a9e9fc9ef95beffa15de1c.svg new file mode 100644 index 00000000..82ce29c2 --- /dev/null +++ b/charting_library/bundles/1e193459d0a9e9fc9ef95beffa15de1c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1e2e718c683b1d6325a427dff2d6c78f.svg b/charting_library/bundles/1e2e718c683b1d6325a427dff2d6c78f.svg new file mode 100644 index 00000000..5c2c1dfe --- /dev/null +++ b/charting_library/bundles/1e2e718c683b1d6325a427dff2d6c78f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1e9f070f7e9ad9001725ada71182816b.jpeg b/charting_library/bundles/1e9f070f7e9ad9001725ada71182816b.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..0a7520bfea52585a399c9787bb75e46f75b15515 GIT binary patch literal 126580 zcmeFZc~}$K);C(269^Czn&B{5fk48M8DEe=sQ@Yvh6tQ)2b3u&woC#FI6x92gP?|x zW<~-6D&4J^#sL~dq993&fHXEBh$tY^G&2f_aI4Szo#*}jxc9mDKF@pa)8D;khpH@U z$lkST)!uup_50Ok|K=NjqyLi}_CLuQ5i$P=fWP;_iyn{w_ycT0HCrT04Uu6pmgwG4gIfk z|Lb1-A6zR4pQ8s~XDs|V3Pb@B00?*jF+ezA0ZTT36<`h6ZN38B03_ni^5+`)XF;R> zTw~B^6dH@cV*k0|2zV@xfWu<(%6Nj(p9PkP%1XpP|M~Mr{_|8M28F^X;jp-W9`b){ zwfP88$D^NM02IOyK&m59>WIxJfIe)y|0@4O2M8nzjltsZ1b8=#1Rzi-BnpGUVo*pl z28lz!=c1_AXeN1YDCPt&uM$f!yxpo{#JE zrLq@+f7S&*Kd3+d5dYFP09S?hS6y!E@D2p59W()nMq^MI*tC!+bu^i3jiE5HdqeYZ z8iqC}c$K&3dPa?0Tj%lqVewzty75Jtv~XjSfGXMMAV7pGfE%a|xB!~~SAWd7_r4n1 zB%T-kkgblljjEaNL*1e^uJ@i?zsLAkXvyL3+pcEEc~p@zN` ziUezJ<4=H+DW096t(7Gy13e$PQpO6z$dJn1W!K%V_$Ks(|7npB5Iabf|L&D2(5|S$ zuCj6z>bi8-b8Msd!b|M*MpZ{J)+XClz{fm{)RgU$uS(j!_@gCB!b0CS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=D$HXPN6o zfndgK!6`0`AEg&=?%?R)@_{#ccop literal 0 HcmV?d00001 diff --git a/charting_library/bundles/1eafeadca5e616cc4525be1fb1caafc7.svg b/charting_library/bundles/1eafeadca5e616cc4525be1fb1caafc7.svg new file mode 100644 index 00000000..b7e92eae --- /dev/null +++ b/charting_library/bundles/1eafeadca5e616cc4525be1fb1caafc7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2006.21f12914e3a7a7515a25.css b/charting_library/bundles/2006.21f12914e3a7a7515a25.css new file mode 100644 index 00000000..8db400df --- /dev/null +++ b/charting_library/bundles/2006.21f12914e3a7a7515a25.css @@ -0,0 +1 @@ +.calendar-U9DgB4FB{background-color:#fff;box-sizing:border-box;color:#131722;cursor:default;direction:ltr;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;height:100%;padding:12px;-webkit-user-select:none;user-select:none;width:286px}html.theme-dark .calendar-U9DgB4FB{background-color:#1e222d;color:#b2b5be}.popupStyle-U9DgB4FB{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003}html.theme-dark .popupStyle-U9DgB4FB{background-color:#1e222d;box-shadow:0 2px 4px #0006}.header-U9DgB4FB{align-items:center;display:flex;justify-content:space-between;padding-left:3px;padding-right:3px}.header-U9DgB4FB .title-U9DgB4FB{font-size:16px;line-height:24px;max-width:160px}.header-U9DgB4FB .switchBtn-U9DgB4FB{border-radius:4px;cursor:pointer;font-size:0;margin:-3px;padding:3px}@media (any-hover:hover){.header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#f0f3fa}html.theme-dark .header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#2a2e39}}.header-U9DgB4FB .switchBtn-U9DgB4FB.prev-U9DgB4FB{transform:scale(-1)}.month-U9DgB4FB{display:flex;flex-direction:column}.month-U9DgB4FB .weekdays-U9DgB4FB{align-items:center;background-color:#f8f9fd;border-radius:4px;display:flex;justify-content:space-between;margin-top:12px;padding-bottom:2px;padding-top:2px}html.theme-dark .month-U9DgB4FB .weekdays-U9DgB4FB{background-color:#2a2e39}.month-U9DgB4FB .weekdays-U9DgB4FB>span{color:#787b86;font-size:13px;line-height:20px;text-align:center;width:34px}.month-U9DgB4FB .weeks-U9DgB4FB{display:flex;flex-direction:column;margin-top:12px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB{display:flex;justify-content:space-between}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child .day-U9DgB4FB+.day-U9DgB4FB,.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child .day-U9DgB4FB+.day-U9DgB4FB{margin-left:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child{justify-content:flex-end}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child{justify-content:flex-start}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB+.week-U9DgB4FB{margin-top:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB{align-items:center;border-radius:4px;box-sizing:border-box;display:flex;font-size:14px;height:34px;justify-content:center;width:34px}@media (any-hover:hover){.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#f0f3fa}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#2a2e39}}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#b2b5be;cursor:not-allowed}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#50535e}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB{color:#2962ff;position:relative}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff;border-radius:1px;bottom:5px;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:20px}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#e3effd;border:2px solid #2962ff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#132042;border:2px solid #2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#e3effd}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#132042}.pickerInput-sZbzL9zH{position:relative}.pickerInput-sZbzL9zH .icon-sZbzL9zH{align-items:center;cursor:pointer;display:inline-flex;opacity:.5;padding:0 6px}.pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86;height:16px;width:16px}html.theme-dark .pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86}.pickerInput-sZbzL9zH .icon-sZbzL9zH.disabled-sZbzL9zH{opacity:.1}.picker-sZbzL9zH{transition:opacity .2625s ease;z-index:99}.fixed-sZbzL9zH{position:fixed}.absolute-sZbzL9zH{position:absolute}.nativePicker-sZbzL9zH{bottom:0;left:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;top:0} \ No newline at end of file diff --git a/charting_library/bundles/2006.21f12914e3a7a7515a25.rtl.css b/charting_library/bundles/2006.21f12914e3a7a7515a25.rtl.css new file mode 100644 index 00000000..558f50e6 --- /dev/null +++ b/charting_library/bundles/2006.21f12914e3a7a7515a25.rtl.css @@ -0,0 +1 @@ +.calendar-U9DgB4FB{background-color:#fff;box-sizing:border-box;color:#131722;cursor:default;direction:ltr;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;height:100%;padding:12px;-webkit-user-select:none;user-select:none;width:286px}html.theme-dark .calendar-U9DgB4FB{background-color:#1e222d;color:#b2b5be}.popupStyle-U9DgB4FB{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003}html.theme-dark .popupStyle-U9DgB4FB{background-color:#1e222d;box-shadow:0 2px 4px #0006}.header-U9DgB4FB{align-items:center;display:flex;justify-content:space-between;padding-left:3px;padding-right:3px}.header-U9DgB4FB .title-U9DgB4FB{font-size:16px;line-height:24px;max-width:160px}.header-U9DgB4FB .switchBtn-U9DgB4FB{border-radius:4px;cursor:pointer;font-size:0;margin:-3px;padding:3px}@media (any-hover:hover){.header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#f0f3fa}html.theme-dark .header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#2a2e39}}.header-U9DgB4FB .switchBtn-U9DgB4FB.prev-U9DgB4FB{transform:scale(-1)}.month-U9DgB4FB{display:flex;flex-direction:column}.month-U9DgB4FB .weekdays-U9DgB4FB{align-items:center;background-color:#f8f9fd;border-radius:4px;display:flex;justify-content:space-between;margin-top:12px;padding-bottom:2px;padding-top:2px}html.theme-dark .month-U9DgB4FB .weekdays-U9DgB4FB{background-color:#2a2e39}.month-U9DgB4FB .weekdays-U9DgB4FB>span{color:#787b86;font-size:13px;line-height:20px;text-align:center;width:34px}.month-U9DgB4FB .weeks-U9DgB4FB{display:flex;flex-direction:column;margin-top:12px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB{display:flex;justify-content:space-between}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child .day-U9DgB4FB+.day-U9DgB4FB,.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child .day-U9DgB4FB+.day-U9DgB4FB{margin-right:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child{justify-content:flex-end}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child{justify-content:flex-start}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB+.week-U9DgB4FB{margin-top:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB{align-items:center;border-radius:4px;box-sizing:border-box;display:flex;font-size:14px;height:34px;justify-content:center;width:34px}@media (any-hover:hover){.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#f0f3fa}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#2a2e39}}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#b2b5be;cursor:not-allowed}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#50535e}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB{color:#2962ff;position:relative}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff;border-radius:1px;bottom:5px;content:"";height:2px;position:absolute;right:50%;transform:translateX(50%);width:20px}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#e3effd;border:2px solid #2962ff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#132042;border:2px solid #2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#e3effd}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#132042}.pickerInput-sZbzL9zH{position:relative}.pickerInput-sZbzL9zH .icon-sZbzL9zH{align-items:center;cursor:pointer;display:inline-flex;opacity:.5;padding:0 6px}.pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86;height:16px;width:16px}html.theme-dark .pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86}.pickerInput-sZbzL9zH .icon-sZbzL9zH.disabled-sZbzL9zH{opacity:.1}.picker-sZbzL9zH{transition:opacity .2625s ease;z-index:99}.fixed-sZbzL9zH{position:fixed}.absolute-sZbzL9zH{position:absolute}.nativePicker-sZbzL9zH{bottom:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;right:0;top:0} \ No newline at end of file diff --git a/charting_library/bundles/206725c980d03acbd1cc0e7f5ce69e40.svg b/charting_library/bundles/206725c980d03acbd1cc0e7f5ce69e40.svg new file mode 100644 index 00000000..f9e9eb97 --- /dev/null +++ b/charting_library/bundles/206725c980d03acbd1cc0e7f5ce69e40.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2267.47b8ff4cd471e21cabab.css b/charting_library/bundles/2267.47b8ff4cd471e21cabab.css new file mode 100644 index 00000000..e7a361ad --- /dev/null +++ b/charting_library/bundles/2267.47b8ff4cd471e21cabab.css @@ -0,0 +1 @@ +.slow-warning-warhOVjI{flex-shrink:0;margin-bottom:36px} \ No newline at end of file diff --git a/charting_library/bundles/2267.47b8ff4cd471e21cabab.rtl.css b/charting_library/bundles/2267.47b8ff4cd471e21cabab.rtl.css new file mode 100644 index 00000000..e7a361ad --- /dev/null +++ b/charting_library/bundles/2267.47b8ff4cd471e21cabab.rtl.css @@ -0,0 +1 @@ +.slow-warning-warhOVjI{flex-shrink:0;margin-bottom:36px} \ No newline at end of file diff --git a/charting_library/bundles/2288.d3106e5fe660e6e0712c.css b/charting_library/bundles/2288.d3106e5fe660e6e0712c.css new file mode 100644 index 00000000..5d649a43 --- /dev/null +++ b/charting_library/bundles/2288.d3106e5fe660e6e0712c.css @@ -0,0 +1 @@ +.tv-rename-chart-dialog__field{display:block;font-size:13px}.tv-rename-chart-dialog__field:not(:last-child){margin-bottom:13px}.tv-rename-chart-dialog__label{display:inline-block;margin-bottom:10px}.tv-rename-chart-dialog__label a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-rename-chart-dialog__label a{color:#2962ff}.tv-rename-chart-dialog__label a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-rename-chart-dialog__label a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-rename-chart-dialog__label a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-rename-chart-dialog__label a:hover{fill:#1e53e5;color:#1e53e5}}.tv-rename-chart-dialog__label a:focus{outline:auto}.tv-rename-chart-dialog__label a:focus:not(:-moz-focusring){outline:none}.tv-rename-chart-dialog__label a:-moz-focusring{outline:auto}.tv-rename-chart-dialog__label a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-rename-chart-dialog__label a:active{fill:#1848cc;color:#1848cc}.tv-rename-chart-dialog__hint{display:inline-block;height:16px;margin-left:5px;vertical-align:middle;width:16px}.tv-rename-chart-dialog__hint:before{content:url(70464b308617ebaa2bc504b4a50c3463.svg);filter:invert(50%)}.clock-LMkaUMzm{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column}html.theme-dark .clock-LMkaUMzm{background-color:#1e222d;box-shadow:0 2px 4px #0006}.header-LMkaUMzm{border-bottom:1px solid #eceff2;box-sizing:border-box;color:#262b3e;cursor:default;flex:0 0 50px;font-size:24px;height:50px;line-height:1;padding:10px 0;text-align:center}html.theme-dark .header-LMkaUMzm{border-bottom-color:#363c4e;color:#c5cbce}.header-LMkaUMzm .number-LMkaUMzm{cursor:pointer;padding:0 3px}.header-LMkaUMzm .number-LMkaUMzm.active-LMkaUMzm{color:#2962ff}.body-LMkaUMzm{background:#f7f8fa;display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding:10px}html.theme-dark .body-LMkaUMzm{background:#1c2030}.clockFace-LMkaUMzm{background:#fff;border-radius:50%;box-sizing:border-box;height:200px;margin:0 auto;position:relative;width:200px}html.theme-dark .clockFace-LMkaUMzm{background:#262b3e}.clockFace-LMkaUMzm div{height:100%;position:absolute;width:100%}.clockFace-LMkaUMzm .face-LMkaUMzm{border-radius:50%;font-size:15px;left:0;pointer-events:none;position:absolute;top:0}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm{align-items:center;border-radius:50%;color:#262b3e;cursor:pointer;display:flex;height:28px;margin-left:-14px;margin-top:-14px;pointer-events:all;position:absolute;text-align:center;transition:background-color 60ms ease;-webkit-user-select:none;user-select:none;width:28px}html.theme-dark .clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm{color:#c5cbce}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm>span{flex:1 1 auto}@media (any-hover:hover){.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:hover{background-color:#f7f8fa80}html.theme-dark .clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:hover{background-color:#1c203080}}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:active{background-color:#f7f8fa}html.theme-dark .clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:active{background-color:#1c2030}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm.inner-LMkaUMzm{font-size:120%}.clockFace-LMkaUMzm .hand-LMkaUMzm{background:#2962ff;bottom:50%;display:block;left:50%;margin-left:-.5px;pointer-events:none;position:absolute;transform-origin:50% 100%;width:1px}.clockFace-LMkaUMzm .hand-LMkaUMzm .knob-LMkaUMzm{border:2px solid #2962ff;border-radius:50%;box-sizing:border-box;height:26px;left:50%;margin-left:-13px;position:absolute;top:-26px;width:26px}html.theme-dark .clockFace-LMkaUMzm .hand-LMkaUMzm .knob-LMkaUMzm{border-color:#2962ff}.clockFace-LMkaUMzm .centerDot-LMkaUMzm{background:#2962ff;border-radius:50%;content:"";height:4px;left:50%;margin-left:-2px;margin-top:-2px;position:absolute;top:50%;width:4px}.tv-alert-dialog__title-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-alert-dialog__fieldset-label--small{padding-right:0!important;padding-top:5px!important}@media screen and (max-width:479px){.tv-alert-dialog__fieldset-label--empty{display:none!important}}.tv-alert-dialog__fieldset-value{margin-bottom:15px;position:relative}.tv-alert-dialog__fieldset-value--group{font-size:0}.tv-alert-dialog__fieldset-value--wide{width:100%!important}.tv-alert-dialog__fieldset-value--space-bottom{margin-bottom:23px}.tv-alert-dialog__fieldset-value--no-margin{margin-bottom:0}.tv-alert-dialog__fieldset-value--with-hint{width:calc(70% - 24px)}.tv-alert-dialog__expiration{display:flex}.tv-alert-dialog__expiration .tv-alert-dialog__group-item--right{flex:0 0 100px}.tv-alert-dialog__group-item{box-sizing:border-box;display:inline-block;position:relative;vertical-align:top}.tv-alert-dialog__group-item--left{width:57%}.tv-alert-dialog__group-item--right{padding-left:10px;width:43%}.tv-alert-dialog__group-item--right-lbl{padding-right:15px}.tv-alert-dialog__group-item--right-lbl-wide{padding-right:30px}.tv-alert-dialog__group-item--left-lbl{padding-left:25px}.tv-alert-dialog__date-icon-wrap{cursor:pointer;display:block;height:14px;margin-top:-7px;position:absolute;right:7px;top:50%;transition:opacity .35s;width:14px}.tv-alert-dialog__date-icon-wrap>svg{fill:#758696;height:14px;width:14px}.tv-alert-dialog__date-icon-wrap.i-disabled{opacity:.2;pointer-events:none}.tv-alert-dialog__input-lbl{display:block;font-size:13px;height:27px;line-height:27px;position:absolute;top:0}.tv-alert-dialog__input-lbl--right{right:0}.tv-alert-dialog__input-lbl--left{left:10px}.tv-alert-dialog__date-time-input.container{height:27px}.tv-alert-dialog__fieldset-value-item{display:block;margin:12px 0 7px}.tv-alert-dialog__fieldset-value-item:first-child{margin-top:7px}.tv-alert-dialog__fieldset-value-item--nested{height:37px;margin:0;opacity:1;transition:margin-top .23333333s,height .23333333s cubic-bezier(.645,.045,.355,1),opacity .23333333s}.tv-alert-dialog__fieldset-value-item--collapsed{height:0;margin-top:-7px;opacity:0;pointer-events:none}.tv-alert-dialog__fieldset-value-item--open-ended{font-size:14px;margin:9px 0 4px}.tv-alert-dialog__fieldset-wrapper{margin-bottom:9px;opacity:0;overflow:hidden;pointer-events:none;transition:opacity .23333333s}.tv-alert-dialog__fieldset-wrapper-toggle{color:#6a6d78;cursor:pointer;font-size:13px;margin-top:7px;padding:18px 0 14px;position:relative;-webkit-user-select:none;user-select:none}html.theme-dark .tv-alert-dialog__fieldset-wrapper-toggle{color:#787b86}.tv-alert-dialog__fieldset-wrapper-toggle-arrow svg{position:absolute;top:50%;transform:translateY(-50%) rotate(180deg);transition:transform .23333333s;width:13px}.tv-alert-dialog__fieldset-wrapper-toggle.i-active .tv-alert-dialog__fieldset-wrapper-toggle-arrow svg{transform:translateY(-50%) rotate(1turn)}.tv-alert-dialog__fieldset-wrapper-toggle.i-active .tv-alert-dialog__fieldset-wrapper-toggle-text--more{opacity:0}.tv-alert-dialog__fieldset-wrapper-toggle.i-active .tv-alert-dialog__fieldset-wrapper-toggle-text--less{opacity:1}.tv-alert-dialog__fieldset-wrapper-toggle-text{left:22px;position:absolute;top:50%;transform:translateY(-50%)}.tv-alert-dialog__fieldset-wrapper-toggle-text--less{opacity:0}.tv-alert-dialog__fieldset-wrapper.i-active{opacity:1;pointer-events:all}.tv-alert-dialog__frequency_control{margin-top:7px}.tv-alert-dialog__checkbox-label{font-size:13px}.tv-alert-dialog__select-placeholder{font-size:13px;height:27px;line-height:27px}.tv-alert-dialog__delete-button{float:left}.tv-alert-dialog__sound-select-option{position:relative}.tv-alert-dialog__sound-toggle{border-radius:50%;cursor:pointer;display:block;height:18px;margin-top:-9px;position:absolute;right:8px;top:50%;transition:background-color .35s;width:18px}.tv-alert-dialog__sound-toggle svg{fill:#758696;display:block;height:8px;left:5px;position:relative;top:5px;width:8px}@media (any-hover:hover){.tv-alert-dialog__sound-toggle:hover{background-color:#ececec}}.tv-alert-dialog__sound-toggle--playing svg{background-color:#758696}.tv-alert-dialog__button-caption{overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.tv-alert-dialog__info{background:none;border:none;cursor:pointer;display:inline-flex;margin-left:8px;padding:0;vertical-align:middle}.tv-alert-dialog__info svg{fill:#2962ff}.tv-alert-dialog__info--interactive svg{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-alert-dialog__info--interactive svg{color:#2962ff}.tv-alert-dialog__info--interactive svg:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-alert-dialog__info--interactive svg:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-alert-dialog__info--interactive svg:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .tv-alert-dialog__info--interactive svg:hover{fill:#1e53e5;color:#1e53e5}}.tv-alert-dialog__info--interactive svg:focus{outline:auto}.tv-alert-dialog__info--interactive svg:focus-visible{outline:auto}.tv-alert-dialog__info--interactive svg:focus:not(:focus-visible){outline:none}.tv-alert-dialog__info--interactive svg:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .tv-alert-dialog__info--interactive svg:active{fill:#1848cc;color:#1848cc}.tv-alert-dialog__info--inside-text,.tv-alert-dialog__info--no-indent{margin-left:0;vertical-align:text-bottom}.tv-alert-dialog__info--outstanding{bottom:4px;position:absolute;right:-24px}.tv-alert-dialog__text-message{color:#787b86;display:block;font-size:13px;margin:10px 0 0}html.theme-dark .tv-alert-dialog__text-message{color:#758696}.tv-alert-dialog__actions{padding-top:20px}.tv-alert-dialog__number-input{min-width:0}.tv-buttons-group{display:flex}.tv-buttons-group--table-like+.tv-buttons-group--table-like{margin-top:-1px}.tv-buttons-group--table-like .tv-buttons-group__option{border-radius:0}.tv-buttons-group--table-like .tv-buttons-group__option.i-active,.tv-buttons-group--table-like .tv-buttons-group__option.i-active:active{position:relative}@media (any-hover:hover){.tv-buttons-group--table-like .tv-buttons-group__option.i-active:hover{position:relative}}.tv-buttons-group--table-like:first-child .tv-buttons-group__option:first-child{border-radius:2px 0 0 0}.tv-buttons-group--table-like:first-child .tv-buttons-group__option:last-child{border-radius:0 2px 0 0}.tv-buttons-group--table-like:last-child .tv-buttons-group__option:first-child{border-radius:0 0 0 2px}.tv-buttons-group--table-like:last-child .tv-buttons-group__option:last-child{border-radius:0 0 2px 0}.tv-buttons-group__option{border:1px solid #b2b5be;border-right:#b2b5be;box-sizing:border-box;color:#6a6d78;cursor:pointer;display:flex;flex:1 1 0%;font-size:14px;font-weight:700;justify-content:center;line-height:32px;overflow:hidden;text-decoration:none;transition:background-color .35s ease,border-color .35s ease,color .35s ease;-webkit-user-select:none;user-select:none;white-space:nowrap}html.theme-dark .tv-buttons-group__option{border-color:#363a45;color:#787b86}@media (any-hover:hover){.tv-buttons-group__option:hover{background-color:#f2f2f2;transition-duration:.06s}html.theme-dark .tv-buttons-group__option:hover{background-color:#262b3e}}.tv-buttons-group__option:active{background-color:#ececec;transition-duration:.06s}html.theme-dark .tv-buttons-group__option:active{background-color:#2f3241}.tv-buttons-group__option:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.tv-buttons-group__option:last-child{border-bottom-right-radius:2px;border-style:solid;border-top-right-radius:2px;border-width:1px}.tv-buttons-group__option.i-active{border:1px solid}.tv-buttons-group__option.i-active+.tv-buttons-group__option{border-left:none}.tv-buttons-group__option--content{overflow-x:hidden;text-align:center;text-overflow:ellipsis;width:100%}.tv-buttons-group__option--padding_normal{padding:0 12px}.tv-buttons-group__option--padding_small{padding:0 6px}.tv-buttons-group--primary .tv-buttons-group__option.i-active,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active{border-color:#2962ff}.tv-buttons-group--primary .tv-buttons-group__option.i-active{background-color:#2962ff;color:#fff}html.theme-dark .tv-buttons-group--primary .tv-buttons-group__option.i-active{color:#e1ecf2}.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active{background-color:initial;color:#2962ff;font-weight:400}@media (any-hover:hover){.tv-buttons-group--primary .tv-buttons-group__option.i-active:hover,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover{background-color:#1e53e5;border-color:#1e53e5;color:#fff}html.theme-dark .tv-buttons-group--primary .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover{color:#e1ecf2}}.tv-buttons-group--primary .tv-buttons-group__option.i-active:active,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:active{background-color:#1848cc;border-color:#1848cc;color:#fff}html.theme-dark .tv-buttons-group--primary .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:active{color:#e1ecf2}.tv-buttons-group--primary .tv-buttons-group__option.i-active+.tv-buttons-group__option,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active+.tv-buttons-group__option{border-left-color:#2962ff}@media (any-hover:hover){.tv-buttons-group--primary .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{border-left-color:#1e53e5}}.tv-buttons-group--primary .tv-buttons-group__option.i-active:active+.tv-buttons-group__option,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{border-left-color:#1848cc}.tv-buttons-group--primary_ghost .tv-buttons-group__option{border-color:#dadde0;font-weight:400}@media (any-hover:hover){.tv-buttons-group--primary_ghost .tv-buttons-group__option:hover{border-bottom-color:#c1c4cd;border-top-color:#c1c4cd}html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option:hover{border-bottom-color:#50535e;border-top-color:#50535e}.tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:last-child{border-right-color:#c1c4cd}html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:last-child{border-right-color:#50535e}.tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:first-child{border-left-color:#c1c4cd}html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:first-child{border-left-color:#50535e}.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover:last-child{border-right-color:#1e53e5}.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover:first-child{border-left-color:#1e53e5}}.tv-buttons-group__option.i-disabled,.tv-buttons-group__option.i-disabled:active{background-color:#fff;border-bottom-color:#e0e3eb;border-top-color:#e0e3eb;color:#e0e3eb;cursor:default}@media (any-hover:hover){.tv-buttons-group__option.i-disabled:hover{background-color:#fff;border-bottom-color:#e0e3eb;border-top-color:#e0e3eb;color:#e0e3eb;cursor:default}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{color:#2a2e39}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{border-bottom-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{border-bottom-color:#2a2e39}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{border-top-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{border-top-color:#2a2e39}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{background-color:#1e222d}}.tv-buttons-group__option.i-disabled+.tv-buttons-group__option.i-disabled{border-left-color:#e0e3eb}html.theme-dark .tv-buttons-group__option.i-disabled+.tv-buttons-group__option.i-disabled{border-left-color:#2a2e39}.tv-buttons-group__option:last-child.i-disabled{border-right-color:#e0e3eb}@media (any-hover:hover){.tv-buttons-group__option:last-child.i-disabled:hover{border-right-color:#e0e3eb}}html.theme-dark .tv-buttons-group__option:last-child.i-disabled{border-right-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option:last-child.i-disabled:hover{border-right-color:#2a2e39}}.tv-buttons-group__option:first-child.i-disabled{border-left-color:#e0e3eb}@media (any-hover:hover){.tv-buttons-group__option:first-child.i-disabled:hover{border-left-color:#e0e3eb}}html.theme-dark .tv-buttons-group__option:first-child.i-disabled{border-left-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option:first-child.i-disabled:hover{border-left-color:#2a2e39}}.tv-buttons-group.i-disabled .tv-buttons-group__option,.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,.tv-buttons-group.i-disabled .tv-buttons-group__option:active{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}@media (any-hover:hover){.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,.tv-buttons-group.i-disabled .tv-buttons-group__option:hover{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:active{color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:hover{color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:active{border-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:hover{border-color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:active{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:hover{background-color:#1e222d}}.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}@media (any-hover:hover){.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{border-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{border-color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{background-color:#1e222d}}.tv-buttons-group--readonly .tv-buttons-group__option{background-color:#fff;border-color:#b4b4b4;color:#b4b4b4;cursor:text;-webkit-user-select:text;user-select:text}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option{background-color:#1e222d}.tv-buttons-group--readonly .tv-buttons-group__option.i-active{background-color:#f2f2f2;border:1px solid #c1c4cd;color:#6a6d78;transition:background-color .35s ease,border-color .35s ease,color .35s ease}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option.i-active{background-color:#262b3e;border:1px solid #50535e;color:#787b86}@media (any-hover:hover){.tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover{background-color:#f2f2f2;border-color:#c1c4cd;color:#6a6d78}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover{background-color:#262b3e;border-color:#50535e;color:#787b86}.tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover:first-child{border-left-color:#c1c4cd}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover:first-child{border-left-color:#50535e}}.tv-buttons-group--size-small .tv-buttons-group__option{font-size:13px;line-height:25px}.tv-control-number-input{display:flex;flex-direction:row}.tv-control-number-input--mobile .tv-control-number-input__controls{display:none}.tv-control-number-input--mobile .tv-control-number-input__input{border-radius:2px}.tv-control-number-input__input{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;border-radius:2px 0 0 2px;box-sizing:border-box;color:#434651;color:#535353;display:block;font-size:13px;height:34px;min-width:1px;padding:4px 8px;transition:border-color .35s ease,background-color .35s ease;transition:background-color .35s ease,color .35s ease,border-color .35s ease;width:100%}html.theme-dark .tv-control-number-input__input{background-color:#1e222d;border-color:#363a45;color:#c5cbce;color:#d1d4dc}.tv-control-number-input__input::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-number-input__input::placeholder{color:#50535e}.tv-control-number-input__input:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-number-input__input--size_xsmall{height:19px}.tv-control-number-input__input--size_small{height:27px}.tv-control-number-input__input--size_large{font-size:16px;height:48px}.tv-control-number-input__input--connect{border-left:0;border-radius:0;border-right:0}.tv-control-number-input__input--connect_left{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-number-input__input--connect_right{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}@media (any-hover:hover){.tv-control-number-input__input:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-number-input__input:hover{border-color:#50535e}}.tv-control-number-input__input:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-number-input__input[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-number-input__input[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-number-input__input[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-number-input__input[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-number-input__input[readonly]:hover{border-color:#2a2e39!important}}.tv-control-number-input__input--readonly_dark,.tv-control-number-input__input--readonly_dark[readonly],html.theme-dark .tv-control-number-input__input--readonly_dark,html.theme-dark .tv-control-number-input__input--readonly_dark[readonly]{color:#50535e}.tv-control-number-input__input.i-disabled,.tv-control-number-input__input[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-number-input__input.i-disabled,html.theme-dark .tv-control-number-input__input[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-number-input__input.i-disabled::placeholder,.tv-control-number-input__input[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-number-input__input.i-disabled::placeholder,html.theme-dark .tv-control-number-input__input[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-number-input__input.i-disabled:hover,.tv-control-number-input__input[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-number-input__input.i-disabled:hover,html.theme-dark .tv-control-number-input__input[disabled]:hover{border-color:#2a2e39!important}}.tv-control-number-input__input.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-number-input__input.i-error:hover{border-color:#f24965!important}}.tv-control-number-input__input.i-error:focus{border-color:#ff173e!important}.tv-control-number-input__input.i-success{border-color:#089981!important}html.theme-dark .tv-control-number-input__input.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-number-input__input.i-success:hover,html.theme-dark .tv-control-number-input__input.i-success:hover{border-color:#06806b!important}}.tv-control-number-input__input.i-success:active,.tv-control-number-input__input.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-number-input__input.i-success:active,html.theme-dark .tv-control-number-input__input.i-success:focus{border-color:#089981!important}.tv-control-number-input__input--phone{direction:ltr;text-align:left}.tv-control-number-input__controls{align-items:center;border:1px solid #e0e3eb;border-left:none;border-radius:0 2px 2px 0;box-sizing:border-box;cursor:pointer;display:flex;flex:0 0 14px;flex-direction:column;justify-content:space-around;transition:border-color .35s ease,background-color .35s ease}html.theme-dark .tv-control-number-input__controls{border-color:#363a45}.tv-control-number-input__wrapper{align-items:center;display:flex;height:12px;justify-content:center;transition:background-color .35s ease;width:100%}.tv-control-number-input__up{fill:currentColor;color:#9db2bd;transition:color .35s ease}.tv-control-number-input__up>svg{display:block;height:6px;transform:scaleY(-1);width:7px}.tv-control-number-input__splinter{border-bottom:1px solid #e0e3eb;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-number-input__splinter{border-bottom-color:#363a45}.tv-control-number-input__down{fill:currentColor;color:#9db2bd;transition:color .35s ease}.tv-control-number-input__down>svg{display:block;height:6px;width:7px}@media (any-hover:hover){.tv-control-number-input__wrapper:hover{background-color:#e0e3eb;transition-duration:.06s}html.theme-dark .tv-control-number-input__wrapper:hover{background-color:#1e222d}}.tv-control-number-input__wrapper:active{background-color:#e0e3eb;transition-duration:.06s}html.theme-dark .tv-control-number-input__wrapper:active{background-color:#2a2e39}@media (any-hover:hover){.tv-control-number-input:not(.i-active):hover .tv-control-number-input__controls,.tv-control-number-input:not(.i-active):hover .tv-control-number-input__input,.tv-control-number-input:not(.i-active):hover .tv-control-number-input__splinter{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-number-input:not(.i-active):hover .tv-control-number-input__controls,html.theme-dark .tv-control-number-input:not(.i-active):hover .tv-control-number-input__input,html.theme-dark .tv-control-number-input:not(.i-active):hover .tv-control-number-input__splinter{border-color:#50535e}}.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__down,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__up{color:#ff4a68}.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__controls,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__input,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__splinter{border-color:#ff4a68}@media (any-hover:hover){.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__down,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__up{color:#ff4a68}.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__controls,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__input,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__splinter{border-color:#ff4a68}}.tv-control-number-input.i-active .tv-control-number-input__controls,.tv-control-number-input.i-active .tv-control-number-input__input,.tv-control-number-input.i-active .tv-control-number-input__splinter{border-color:#2962ff}@media (any-hover:hover){.tv-control-number-input.i-active:hover .tv-control-number-input__controls,.tv-control-number-input.i-active:hover .tv-control-number-input__input,.tv-control-number-input.i-active:hover .tv-control-number-input__splinter{border-color:#2962ff}}.tv-control-number-input.i-active .tv-control-number-input__down,.tv-control-number-input.i-active .tv-control-number-input__up{color:#2962ff}.tv-control-number-input.i-disabled .tv-control-number-input__wrapper:active{background-color:#fff}@media (any-hover:hover){.tv-control-number-input.i-disabled .tv-control-number-input__wrapper:hover{background-color:#fff}}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__wrapper:active{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__wrapper:hover{background-color:#1e222d}}.tv-control-number-input.i-disabled .tv-control-number-input__input{color:#e0e3eb}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__input{color:#363a45}.tv-control-number-input.i-disabled .tv-control-number-input__controls{cursor:default}.tv-control-number-input.i-disabled .tv-control-number-input__down,.tv-control-number-input.i-disabled .tv-control-number-input__up{color:#e0e3eb}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__down,html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__up{color:#363a45}.tv-control-number-input.i-disabled .tv-control-number-input__controls,.tv-control-number-input.i-disabled .tv-control-number-input__input,.tv-control-number-input.i-disabled .tv-control-number-input__splinter{border-color:#e0e3eb}@media (any-hover:hover){.tv-control-number-input.i-disabled:hover .tv-control-number-input__controls,.tv-control-number-input.i-disabled:hover .tv-control-number-input__input,.tv-control-number-input.i-disabled:hover .tv-control-number-input__splinter{border-color:#e0e3eb}}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__controls,html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__input,html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__splinter{border-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-control-number-input.i-disabled:hover .tv-control-number-input__controls,html.theme-dark .tv-control-number-input.i-disabled:hover .tv-control-number-input__input,html.theme-dark .tv-control-number-input.i-disabled:hover .tv-control-number-input__splinter{border-color:#2a2e39}}.tv-control-input{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;padding:0 12px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-input{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-control-input::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-input::placeholder{color:#50535e}.tv-control-input:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-input--size_xsmall{height:19px}.tv-control-input--size_small{height:27px}.tv-control-input--size_large{font-size:16px;height:48px}.tv-control-input--connect{border-left:0;border-radius:0;border-right:0}.tv-control-input--connect_left{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-input--connect_right{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}@media (any-hover:hover){.tv-control-input:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-input:hover{border-color:#50535e}}.tv-control-input:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-input[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-input[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-input[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-input[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-input[readonly]:hover{border-color:#2a2e39!important}}.tv-control-input--readonly_dark,.tv-control-input--readonly_dark[readonly],html.theme-dark .tv-control-input--readonly_dark,html.theme-dark .tv-control-input--readonly_dark[readonly]{color:#50535e}.tv-control-input.i-disabled,.tv-control-input[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-input.i-disabled,html.theme-dark .tv-control-input[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-input.i-disabled::placeholder,.tv-control-input[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-input.i-disabled::placeholder,html.theme-dark .tv-control-input[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-input.i-disabled:hover,.tv-control-input[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-input.i-disabled:hover,html.theme-dark .tv-control-input[disabled]:hover{border-color:#2a2e39!important}}.tv-control-input.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-input.i-error:hover{border-color:#f24965!important}}.tv-control-input.i-error:focus{border-color:#ff173e!important}.tv-control-input.i-success{border-color:#089981!important}html.theme-dark .tv-control-input.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-input.i-success:hover,html.theme-dark .tv-control-input.i-success:hover{border-color:#06806b!important}}.tv-control-input.i-success:active,.tv-control-input.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-input.i-success:active,html.theme-dark .tv-control-input.i-success:focus{border-color:#089981!important}.tv-control-input--phone{direction:ltr;text-align:left}.tv-control-input--file{display:none}.tv-control-fieldset{display:block;margin-bottom:30px;min-width:0}.tv-control-fieldset:after{clear:both;content:"";display:table}.tv-control-fieldset--spacing_small{margin-bottom:20px}.tv-control-fieldset--spacing_xsmall{margin-bottom:10px}.tv-control-fieldset--first{margin-top:12px}.tv-control-fieldset:last-child{margin-bottom:0}.tv-control-fieldset--force-spacing{margin-bottom:30px}.tv-control-fieldset--force-spacing.tv-control-fieldset--spacing_small{margin-bottom:20px}@media screen and (max-width:767px){.tv-control-fieldset{margin-bottom:20px}}.tv-control-fieldset__group{display:flex;justify-content:space-between}.tv-control-fieldset__label,.tv-control-fieldset__value{box-sizing:border-box;display:block;float:left}.tv-control-fieldset__label--vertical,.tv-control-fieldset__value--vertical{float:none}.tv-control-fieldset__label--checkbox,.tv-control-fieldset__value--checkbox{padding-top:2px!important}@media screen and (max-width:479px){.tv-control-fieldset__label,.tv-control-fieldset__value{float:none}}.tv-control-fieldset__label{clear:left;color:#787b86;font-size:13px;padding:10px 20px 0 0;width:30%}html.theme-dark .tv-control-fieldset__label{color:#787b86}.tv-control-fieldset__label--top{padding-top:0}.tv-control-fieldset__label--vertical{padding:0 0 4px;width:auto}.tv-control-fieldset__label--color_dark{color:#1c2030}html.theme-dark .tv-control-fieldset__label--color_dark{color:#f7f8fa}.tv-control-fieldset__label--width_small{width:26%}@media screen and (max-width:479px){.tv-control-fieldset__label--width_small{width:auto}}.tv-control-fieldset__label--size_small{padding-top:4px}@media screen and (max-width:479px){.tv-control-fieldset__label{padding:0 0 10px;width:auto}}.tv-control-fieldset__label-icon{display:inline-block;font-size:12px;height:12px;line-height:1;vertical-align:super}.tv-control-fieldset__label-icon svg{height:100%;width:auto}.tv-control-fieldset__value{width:70%}.tv-control-fieldset__value--vertical{width:auto}.tv-control-fieldset__value--width_big{width:74%}@media screen and (max-width:479px){.tv-control-fieldset__value,.tv-control-fieldset__value--width_big{width:auto}}.tv-control-fieldset__text{margin-bottom:12px}.tv-control-fieldset__text:last-of-type{margin-bottom:0}.tv-control-fieldset--block .tv-control-fieldset__label,.tv-control-fieldset--block .tv-control-fieldset__value{float:none;padding:0;width:auto}.tv-control-fieldset--block .tv-control-fieldset__label{margin-bottom:10px}.tv-control-fieldset__value-control{display:block}.tv-control-fieldset__input-value{flex:1;margin-right:12px}.tv-control-fieldset .tv-control-fieldset__group-btn{padding:0}.tv-control-fieldset .tv-control-fieldset__group-btn svg{margin-bottom:1px}.tv-control-fieldset__group-btn:first-child{margin-right:5px}.tv-control-fieldset .tv-control-fieldset__single-icon-btn{padding:0 12px}.tv-control-fieldset .tv-control-fieldset__single-icon-btn svg{margin-bottom:4px}.tv-control-fieldset__trash-icon svg{color:red}.tv-control-fieldset__hint{color:#434651;display:block;font-size:13px;line-height:1.4;margin-bottom:10px;margin-top:10px}html.theme-dark .tv-control-fieldset__hint{color:#c5cbce}.tv-control-fieldset__hint a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-control-fieldset__hint a{color:#2962ff}.tv-control-fieldset__hint a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-control-fieldset__hint a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-control-fieldset__hint a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-control-fieldset__hint a:hover{fill:#1e53e5;color:#1e53e5}}.tv-control-fieldset__hint a:focus{outline:auto}.tv-control-fieldset__hint a:focus:not(:-moz-focusring){outline:none}.tv-control-fieldset__hint a:-moz-focusring{outline:auto}.tv-control-fieldset__hint a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-control-fieldset__hint a:active{fill:#1848cc;color:#1848cc}.tv-control-fieldset .tv-control-input[readonly],html.theme-dark .tv-control-fieldset .tv-control-input[readonly]{color:#787b86}.tv-control-fieldset .tv-control-input--readonly_dark,.tv-control-fieldset .tv-control-input--readonly_dark[readonly],html.theme-dark .tv-control-fieldset .tv-control-input--readonly_dark,html.theme-dark .tv-control-fieldset .tv-control-input--readonly_dark[readonly]{color:#50535e}.tv-control-fieldset .tv-control-input.i-disabled::placeholder,.tv-control-fieldset .tv-control-input[disabled]::placeholder,.tv-control-fieldset .tv-control-number-input__input.i-disabled::placeholder,.tv-control-fieldset .tv-control-number-input__input[disabled]::placeholder,.tv-control-fieldset .tv-control-select__control.i-disabled::placeholder,.tv-control-fieldset .tv-control-select__control[disabled]::placeholder,.tv-control-fieldset select.tv-control-select.i-disabled::placeholder,.tv-control-fieldset select.tv-control-select[disabled]::placeholder,html.theme-dark .tv-control-fieldset .tv-control-input.i-disabled::placeholder,html.theme-dark .tv-control-fieldset .tv-control-input[disabled]::placeholder,html.theme-dark .tv-control-fieldset .tv-control-number-input__input.i-disabled::placeholder,html.theme-dark .tv-control-fieldset .tv-control-number-input__input[disabled]::placeholder,html.theme-dark .tv-control-fieldset .tv-control-select__control.i-disabled::placeholder,html.theme-dark .tv-control-fieldset .tv-control-select__control[disabled]::placeholder,html.theme-dark .tv-control-fieldset select.tv-control-select.i-disabled::placeholder,html.theme-dark .tv-control-fieldset select.tv-control-select[disabled]::placeholder{color:#787b86}.tv-control-textarea{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;height:auto;padding:9px 12px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-textarea{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-control-textarea::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-textarea::placeholder{color:#50535e}.tv-control-textarea:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-textarea--size_xsmall{height:19px}.tv-control-textarea--size_small{height:27px}.tv-control-textarea--size_large{font-size:16px;height:48px}.tv-control-textarea--connect{border-left:0;border-radius:0;border-right:0}.tv-control-textarea--connect_left{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-textarea--connect_right{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}@media (any-hover:hover){.tv-control-textarea:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-textarea:hover{border-color:#50535e}}.tv-control-textarea:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-textarea[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-textarea[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-textarea[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-textarea[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-textarea[readonly]:hover{border-color:#2a2e39!important}}.tv-control-textarea.i-disabled,.tv-control-textarea[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-textarea.i-disabled,html.theme-dark .tv-control-textarea[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-textarea.i-disabled::placeholder,.tv-control-textarea[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-textarea.i-disabled::placeholder,html.theme-dark .tv-control-textarea[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-textarea.i-disabled:hover,.tv-control-textarea[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-textarea.i-disabled:hover,html.theme-dark .tv-control-textarea[disabled]:hover{border-color:#2a2e39!important}}.tv-control-textarea.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-textarea.i-error:hover{border-color:#f24965!important}}.tv-control-textarea.i-error:focus{border-color:#ff173e!important}.tv-control-textarea.i-success{border-color:#089981!important}html.theme-dark .tv-control-textarea.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-textarea.i-success:hover,html.theme-dark .tv-control-textarea.i-success:hover{border-color:#06806b!important}}.tv-control-textarea.i-success:active,.tv-control-textarea.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-textarea.i-success:active,html.theme-dark .tv-control-textarea.i-success:focus{border-color:#089981!important}.tv-control-textarea--phone{direction:ltr;text-align:left}.tv-control-textarea--readonly_dark,.tv-control-textarea--readonly_dark[readonly],html.theme-dark .tv-control-textarea--readonly_dark,html.theme-dark .tv-control-textarea--readonly_dark[readonly]{color:#50535e} \ No newline at end of file diff --git a/charting_library/bundles/2288.d3106e5fe660e6e0712c.rtl.css b/charting_library/bundles/2288.d3106e5fe660e6e0712c.rtl.css new file mode 100644 index 00000000..407de796 --- /dev/null +++ b/charting_library/bundles/2288.d3106e5fe660e6e0712c.rtl.css @@ -0,0 +1 @@ +.tv-rename-chart-dialog__field{display:block;font-size:13px}.tv-rename-chart-dialog__field:not(:last-child){margin-bottom:13px}.tv-rename-chart-dialog__label{display:inline-block;margin-bottom:10px}.tv-rename-chart-dialog__label a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-rename-chart-dialog__label a{color:#2962ff}.tv-rename-chart-dialog__label a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-rename-chart-dialog__label a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-rename-chart-dialog__label a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-rename-chart-dialog__label a:hover{fill:#1e53e5;color:#1e53e5}}.tv-rename-chart-dialog__label a:focus{outline:auto}.tv-rename-chart-dialog__label a:focus:not(:-moz-focusring){outline:none}.tv-rename-chart-dialog__label a:-moz-focusring{outline:auto}.tv-rename-chart-dialog__label a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-rename-chart-dialog__label a:active{fill:#1848cc;color:#1848cc}.tv-rename-chart-dialog__hint{display:inline-block;height:16px;margin-right:5px;vertical-align:middle;width:16px}.tv-rename-chart-dialog__hint:before{content:url(70464b308617ebaa2bc504b4a50c3463.svg);filter:invert(50%)}.clock-LMkaUMzm{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column}html.theme-dark .clock-LMkaUMzm{background-color:#1e222d;box-shadow:0 2px 4px #0006}.header-LMkaUMzm{border-bottom:1px solid #eceff2;box-sizing:border-box;color:#262b3e;cursor:default;flex:0 0 50px;font-size:24px;height:50px;line-height:1;padding:10px 0;text-align:center}html.theme-dark .header-LMkaUMzm{border-bottom-color:#363c4e;color:#c5cbce}.header-LMkaUMzm .number-LMkaUMzm{cursor:pointer;padding:0 3px}.header-LMkaUMzm .number-LMkaUMzm.active-LMkaUMzm{color:#2962ff}.body-LMkaUMzm{background:#f7f8fa;display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding:10px}html.theme-dark .body-LMkaUMzm{background:#1c2030}.clockFace-LMkaUMzm{background:#fff;border-radius:50%;box-sizing:border-box;height:200px;margin:0 auto;position:relative;width:200px}html.theme-dark .clockFace-LMkaUMzm{background:#262b3e}.clockFace-LMkaUMzm div{height:100%;position:absolute;width:100%}.clockFace-LMkaUMzm .face-LMkaUMzm{border-radius:50%;font-size:15px;pointer-events:none;position:absolute;right:0;top:0}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm{align-items:center;border-radius:50%;color:#262b3e;cursor:pointer;display:flex;height:28px;margin-left:-14px;margin-top:-14px;pointer-events:all;position:absolute;text-align:center;transition:background-color 60ms ease;-webkit-user-select:none;user-select:none;width:28px}html.theme-dark .clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm{color:#c5cbce}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm>span{flex:1 1 auto}@media (any-hover:hover){.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:hover{background-color:#f7f8fa80}html.theme-dark .clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:hover{background-color:#1c203080}}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:active{background-color:#f7f8fa}html.theme-dark .clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm:active{background-color:#1c2030}.clockFace-LMkaUMzm .face-LMkaUMzm .number-LMkaUMzm.inner-LMkaUMzm{font-size:120%}.clockFace-LMkaUMzm .hand-LMkaUMzm{background:#2962ff;bottom:50%;display:block;margin-right:-.5px;pointer-events:none;position:absolute;right:50%;transform-origin:50% 100%;width:1px}.clockFace-LMkaUMzm .hand-LMkaUMzm .knob-LMkaUMzm{border:2px solid #2962ff;border-radius:50%;box-sizing:border-box;height:26px;margin-right:-13px;position:absolute;right:50%;top:-26px;width:26px}html.theme-dark .clockFace-LMkaUMzm .hand-LMkaUMzm .knob-LMkaUMzm{border-color:#2962ff}.clockFace-LMkaUMzm .centerDot-LMkaUMzm{background:#2962ff;border-radius:50%;content:"";height:4px;margin-right:-2px;margin-top:-2px;position:absolute;right:50%;top:50%;width:4px}.tv-alert-dialog__title-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-alert-dialog__fieldset-label--small{padding-left:0!important;padding-top:5px!important}@media screen and (max-width:479px){.tv-alert-dialog__fieldset-label--empty{display:none!important}}.tv-alert-dialog__fieldset-value{margin-bottom:15px;position:relative}.tv-alert-dialog__fieldset-value--group{font-size:0}.tv-alert-dialog__fieldset-value--wide{width:100%!important}.tv-alert-dialog__fieldset-value--space-bottom{margin-bottom:23px}.tv-alert-dialog__fieldset-value--no-margin{margin-bottom:0}.tv-alert-dialog__fieldset-value--with-hint{width:calc(70% - 24px)}.tv-alert-dialog__expiration{display:flex}.tv-alert-dialog__expiration .tv-alert-dialog__group-item--right{flex:0 0 100px}.tv-alert-dialog__group-item{box-sizing:border-box;display:inline-block;position:relative;vertical-align:top}.tv-alert-dialog__group-item--left{width:57%}.tv-alert-dialog__group-item--right{padding-right:10px;width:43%}.tv-alert-dialog__group-item--right-lbl{padding-left:15px}.tv-alert-dialog__group-item--right-lbl-wide{padding-left:30px}.tv-alert-dialog__group-item--left-lbl{padding-right:25px}.tv-alert-dialog__date-icon-wrap{cursor:pointer;display:block;height:14px;left:7px;margin-top:-7px;position:absolute;top:50%;transition:opacity .35s;width:14px}.tv-alert-dialog__date-icon-wrap>svg{fill:#758696;height:14px;width:14px}.tv-alert-dialog__date-icon-wrap.i-disabled{opacity:.2;pointer-events:none}.tv-alert-dialog__input-lbl{display:block;font-size:13px;height:27px;line-height:27px;position:absolute;top:0}.tv-alert-dialog__input-lbl--right{left:0}.tv-alert-dialog__input-lbl--left{right:10px}.tv-alert-dialog__date-time-input.container{height:27px}.tv-alert-dialog__fieldset-value-item{display:block;margin:12px 0 7px}.tv-alert-dialog__fieldset-value-item:first-child{margin-top:7px}.tv-alert-dialog__fieldset-value-item--nested{height:37px;margin:0;opacity:1;transition:margin-top .23333333s,height .23333333s cubic-bezier(.645,.045,.355,1),opacity .23333333s}.tv-alert-dialog__fieldset-value-item--collapsed{height:0;margin-top:-7px;opacity:0;pointer-events:none}.tv-alert-dialog__fieldset-value-item--open-ended{font-size:14px;margin:9px 0 4px}.tv-alert-dialog__fieldset-wrapper{margin-bottom:9px;opacity:0;overflow:hidden;pointer-events:none;transition:opacity .23333333s}.tv-alert-dialog__fieldset-wrapper-toggle{color:#6a6d78;cursor:pointer;font-size:13px;margin-top:7px;padding:18px 0 14px;position:relative;-webkit-user-select:none;user-select:none}html.theme-dark .tv-alert-dialog__fieldset-wrapper-toggle{color:#787b86}.tv-alert-dialog__fieldset-wrapper-toggle-arrow svg{position:absolute;top:50%;transform:translateY(-50%) rotate(-180deg);transition:transform .23333333s;width:13px}.tv-alert-dialog__fieldset-wrapper-toggle.i-active .tv-alert-dialog__fieldset-wrapper-toggle-arrow svg{transform:translateY(-50%) rotate(-1turn)}.tv-alert-dialog__fieldset-wrapper-toggle.i-active .tv-alert-dialog__fieldset-wrapper-toggle-text--more{opacity:0}.tv-alert-dialog__fieldset-wrapper-toggle.i-active .tv-alert-dialog__fieldset-wrapper-toggle-text--less{opacity:1}.tv-alert-dialog__fieldset-wrapper-toggle-text{position:absolute;right:22px;top:50%;transform:translateY(-50%)}.tv-alert-dialog__fieldset-wrapper-toggle-text--less{opacity:0}.tv-alert-dialog__fieldset-wrapper.i-active{opacity:1;pointer-events:all}.tv-alert-dialog__frequency_control{margin-top:7px}.tv-alert-dialog__checkbox-label{font-size:13px}.tv-alert-dialog__select-placeholder{font-size:13px;height:27px;line-height:27px}.tv-alert-dialog__delete-button{float:right}.tv-alert-dialog__sound-select-option{position:relative}.tv-alert-dialog__sound-toggle{border-radius:50%;cursor:pointer;display:block;height:18px;left:8px;margin-top:-9px;position:absolute;top:50%;transition:background-color .35s;width:18px}.tv-alert-dialog__sound-toggle svg{fill:#758696;display:block;height:8px;position:relative;right:5px;top:5px;width:8px}@media (any-hover:hover){.tv-alert-dialog__sound-toggle:hover{background-color:#ececec}}.tv-alert-dialog__sound-toggle--playing svg{background-color:#758696}.tv-alert-dialog__button-caption{overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.tv-alert-dialog__info{background:none;border:none;cursor:pointer;display:inline-flex;margin-right:8px;padding:0;vertical-align:middle}.tv-alert-dialog__info svg{fill:#2962ff}.tv-alert-dialog__info--interactive svg{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-alert-dialog__info--interactive svg{color:#2962ff}.tv-alert-dialog__info--interactive svg:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-alert-dialog__info--interactive svg:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-alert-dialog__info--interactive svg:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .tv-alert-dialog__info--interactive svg:hover{fill:#1e53e5;color:#1e53e5}}.tv-alert-dialog__info--interactive svg:focus{outline:auto}.tv-alert-dialog__info--interactive svg:focus-visible{outline:auto}.tv-alert-dialog__info--interactive svg:focus:not(:focus-visible){outline:none}.tv-alert-dialog__info--interactive svg:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .tv-alert-dialog__info--interactive svg:active{fill:#1848cc;color:#1848cc}.tv-alert-dialog__info--inside-text,.tv-alert-dialog__info--no-indent{margin-right:0;vertical-align:text-bottom}.tv-alert-dialog__info--outstanding{bottom:4px;left:-24px;position:absolute}.tv-alert-dialog__text-message{color:#787b86;display:block;font-size:13px;margin:10px 0 0}html.theme-dark .tv-alert-dialog__text-message{color:#758696}.tv-alert-dialog__actions{padding-top:20px}.tv-alert-dialog__number-input{min-width:0}.tv-buttons-group{display:flex}.tv-buttons-group--table-like+.tv-buttons-group--table-like{margin-top:-1px}.tv-buttons-group--table-like .tv-buttons-group__option{border-radius:0}.tv-buttons-group--table-like .tv-buttons-group__option.i-active,.tv-buttons-group--table-like .tv-buttons-group__option.i-active:active{position:relative}@media (any-hover:hover){.tv-buttons-group--table-like .tv-buttons-group__option.i-active:hover{position:relative}}.tv-buttons-group--table-like:first-child .tv-buttons-group__option:first-child{border-radius:0 2px 0 0}.tv-buttons-group--table-like:first-child .tv-buttons-group__option:last-child{border-radius:2px 0 0 0}.tv-buttons-group--table-like:last-child .tv-buttons-group__option:first-child{border-radius:0 0 2px 0}.tv-buttons-group--table-like:last-child .tv-buttons-group__option:last-child{border-radius:0 0 0 2px}.tv-buttons-group__option{border:1px solid #b2b5be;border-left:#b2b5be;box-sizing:border-box;color:#6a6d78;cursor:pointer;display:flex;flex:1 1 0%;font-size:14px;font-weight:700;justify-content:center;line-height:32px;overflow:hidden;text-decoration:none;transition:background-color .35s ease,border-color .35s ease,color .35s ease;-webkit-user-select:none;user-select:none;white-space:nowrap}html.theme-dark .tv-buttons-group__option{border-color:#363a45;color:#787b86}@media (any-hover:hover){.tv-buttons-group__option:hover{background-color:#f2f2f2;transition-duration:.06s}html.theme-dark .tv-buttons-group__option:hover{background-color:#262b3e}}.tv-buttons-group__option:active{background-color:#ececec;transition-duration:.06s}html.theme-dark .tv-buttons-group__option:active{background-color:#2f3241}.tv-buttons-group__option:first-child{border-bottom-right-radius:2px;border-top-right-radius:2px}.tv-buttons-group__option:last-child{border-bottom-left-radius:2px;border-style:solid;border-top-left-radius:2px;border-width:1px}.tv-buttons-group__option.i-active{border:1px solid}.tv-buttons-group__option.i-active+.tv-buttons-group__option{border-right:none}.tv-buttons-group__option--content{overflow-x:hidden;text-align:center;text-overflow:ellipsis;width:100%}.tv-buttons-group__option--padding_normal{padding:0 12px}.tv-buttons-group__option--padding_small{padding:0 6px}.tv-buttons-group--primary .tv-buttons-group__option.i-active,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active{border-color:#2962ff}.tv-buttons-group--primary .tv-buttons-group__option.i-active{background-color:#2962ff;color:#fff}html.theme-dark .tv-buttons-group--primary .tv-buttons-group__option.i-active{color:#e1ecf2}.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active{background-color:initial;color:#2962ff;font-weight:400}@media (any-hover:hover){.tv-buttons-group--primary .tv-buttons-group__option.i-active:hover,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover{background-color:#1e53e5;border-color:#1e53e5;color:#fff}html.theme-dark .tv-buttons-group--primary .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover{color:#e1ecf2}}.tv-buttons-group--primary .tv-buttons-group__option.i-active:active,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:active{background-color:#1848cc;border-color:#1848cc;color:#fff}html.theme-dark .tv-buttons-group--primary .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:active{color:#e1ecf2}.tv-buttons-group--primary .tv-buttons-group__option.i-active+.tv-buttons-group__option,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active+.tv-buttons-group__option{border-right-color:#2962ff}@media (any-hover:hover){.tv-buttons-group--primary .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{border-right-color:#1e53e5}}.tv-buttons-group--primary .tv-buttons-group__option.i-active:active+.tv-buttons-group__option,.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{border-right-color:#1848cc}.tv-buttons-group--primary_ghost .tv-buttons-group__option{border-color:#dadde0;font-weight:400}@media (any-hover:hover){.tv-buttons-group--primary_ghost .tv-buttons-group__option:hover{border-bottom-color:#c1c4cd;border-top-color:#c1c4cd}html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option:hover{border-bottom-color:#50535e;border-top-color:#50535e}.tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:last-child{border-left-color:#c1c4cd}html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:last-child{border-left-color:#50535e}.tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:first-child{border-right-color:#c1c4cd}html.theme-dark .tv-buttons-group--primary_ghost .tv-buttons-group__option:hover:first-child{border-right-color:#50535e}.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover:last-child{border-left-color:#1e53e5}.tv-buttons-group--primary_ghost .tv-buttons-group__option.i-active:hover:first-child{border-right-color:#1e53e5}}.tv-buttons-group__option.i-disabled,.tv-buttons-group__option.i-disabled:active{background-color:#fff;border-bottom-color:#e0e3eb;border-top-color:#e0e3eb;color:#e0e3eb;cursor:default}@media (any-hover:hover){.tv-buttons-group__option.i-disabled:hover{background-color:#fff;border-bottom-color:#e0e3eb;border-top-color:#e0e3eb;color:#e0e3eb;cursor:default}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{color:#2a2e39}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{border-bottom-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{border-bottom-color:#2a2e39}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{border-top-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{border-top-color:#2a2e39}}html.theme-dark .tv-buttons-group__option.i-disabled,html.theme-dark .tv-buttons-group__option.i-disabled:active{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option.i-disabled:hover{background-color:#1e222d}}.tv-buttons-group__option.i-disabled+.tv-buttons-group__option.i-disabled{border-right-color:#e0e3eb}html.theme-dark .tv-buttons-group__option.i-disabled+.tv-buttons-group__option.i-disabled{border-right-color:#2a2e39}.tv-buttons-group__option:last-child.i-disabled{border-left-color:#e0e3eb}@media (any-hover:hover){.tv-buttons-group__option:last-child.i-disabled:hover{border-left-color:#e0e3eb}}html.theme-dark .tv-buttons-group__option:last-child.i-disabled{border-left-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option:last-child.i-disabled:hover{border-left-color:#2a2e39}}.tv-buttons-group__option:first-child.i-disabled{border-right-color:#e0e3eb}@media (any-hover:hover){.tv-buttons-group__option:first-child.i-disabled:hover{border-right-color:#e0e3eb}}html.theme-dark .tv-buttons-group__option:first-child.i-disabled{border-right-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group__option:first-child.i-disabled:hover{border-right-color:#2a2e39}}.tv-buttons-group.i-disabled .tv-buttons-group__option,.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,.tv-buttons-group.i-disabled .tv-buttons-group__option:active{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}@media (any-hover:hover){.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,.tv-buttons-group.i-disabled .tv-buttons-group__option:hover{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:active{color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:hover{color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:active{border-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:hover{border-color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:active{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option:hover{background-color:#1e222d}}.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}@media (any-hover:hover){.tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{background-color:#fff;border-color:#e0e3eb;color:#e0e3eb;cursor:default}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{border-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{border-color:#2a2e39}}html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active+.tv-buttons-group__option,html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:active+.tv-buttons-group__option{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-buttons-group.i-disabled .tv-buttons-group__option.i-active:hover+.tv-buttons-group__option{background-color:#1e222d}}.tv-buttons-group--readonly .tv-buttons-group__option{background-color:#fff;border-color:#b4b4b4;color:#b4b4b4;cursor:text;-webkit-user-select:text;user-select:text}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option{background-color:#1e222d}.tv-buttons-group--readonly .tv-buttons-group__option.i-active{background-color:#f2f2f2;border:1px solid #c1c4cd;color:#6a6d78;transition:background-color .35s ease,border-color .35s ease,color .35s ease}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option.i-active{background-color:#262b3e;border:1px solid #50535e;color:#787b86}@media (any-hover:hover){.tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover{background-color:#f2f2f2;border-color:#c1c4cd;color:#6a6d78}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover{background-color:#262b3e;border-color:#50535e;color:#787b86}.tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover:first-child{border-right-color:#c1c4cd}html.theme-dark .tv-buttons-group--readonly .tv-buttons-group__option.i-active:hover:first-child{border-right-color:#50535e}}.tv-buttons-group--size-small .tv-buttons-group__option{font-size:13px;line-height:25px}.tv-control-number-input{display:flex;flex-direction:row}.tv-control-number-input--mobile .tv-control-number-input__controls{display:none}.tv-control-number-input--mobile .tv-control-number-input__input{border-radius:2px}.tv-control-number-input__input{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;border-radius:0 2px 2px 0;box-sizing:border-box;color:#434651;color:#535353;direction:ltr;display:block;font-size:13px;height:34px;min-width:1px;padding:4px 8px;text-align:right;transition:border-color .35s ease,background-color .35s ease;transition:background-color .35s ease,color .35s ease,border-color .35s ease;width:100%}html.theme-dark .tv-control-number-input__input{background-color:#1e222d;border-color:#363a45;color:#c5cbce;color:#d1d4dc}.tv-control-number-input__input::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-number-input__input::placeholder{color:#50535e}.tv-control-number-input__input:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-number-input__input--size_xsmall{height:19px}.tv-control-number-input__input--size_small{height:27px}.tv-control-number-input__input--size_large{font-size:16px;height:48px}.tv-control-number-input__input--connect{border-left:0;border-radius:0;border-right:0}.tv-control-number-input__input--connect_left{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.tv-control-number-input__input--connect_right{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-number-input__input--connect_right#id_username{direction:ltr;text-align:right}@media (any-hover:hover){.tv-control-number-input__input:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-number-input__input:hover{border-color:#50535e}}.tv-control-number-input__input:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-number-input__input[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-number-input__input[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-number-input__input[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-number-input__input[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-number-input__input[readonly]:hover{border-color:#2a2e39!important}}.tv-control-number-input__input--readonly_dark,.tv-control-number-input__input--readonly_dark[readonly],html.theme-dark .tv-control-number-input__input--readonly_dark,html.theme-dark .tv-control-number-input__input--readonly_dark[readonly]{color:#50535e}.tv-control-number-input__input.i-disabled,.tv-control-number-input__input[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-number-input__input.i-disabled,html.theme-dark .tv-control-number-input__input[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-number-input__input.i-disabled::placeholder,.tv-control-number-input__input[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-number-input__input.i-disabled::placeholder,html.theme-dark .tv-control-number-input__input[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-number-input__input.i-disabled:hover,.tv-control-number-input__input[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-number-input__input.i-disabled:hover,html.theme-dark .tv-control-number-input__input[disabled]:hover{border-color:#2a2e39!important}}.tv-control-number-input__input.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-number-input__input.i-error:hover{border-color:#f24965!important}}.tv-control-number-input__input.i-error:focus{border-color:#ff173e!important}.tv-control-number-input__input.i-success{border-color:#089981!important}html.theme-dark .tv-control-number-input__input.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-number-input__input.i-success:hover,html.theme-dark .tv-control-number-input__input.i-success:hover{border-color:#06806b!important}}.tv-control-number-input__input.i-success:active,.tv-control-number-input__input.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-number-input__input.i-success:active,html.theme-dark .tv-control-number-input__input.i-success:focus{border-color:#089981!important}.tv-control-number-input__input--phone{direction:ltr;text-align:right}.tv-control-number-input__controls{align-items:center;border:1px solid #e0e3eb;border-radius:2px 0 0 2px;border-right:none;box-sizing:border-box;cursor:pointer;display:flex;flex:0 0 14px;flex-direction:column;justify-content:space-around;transition:border-color .35s ease,background-color .35s ease}html.theme-dark .tv-control-number-input__controls{border-color:#363a45}.tv-control-number-input__wrapper{align-items:center;display:flex;height:12px;justify-content:center;transition:background-color .35s ease;width:100%}.tv-control-number-input__up{fill:currentColor;color:#9db2bd;transition:color .35s ease}.tv-control-number-input__up>svg{display:block;height:6px;transform:scaleY(-1);width:7px}.tv-control-number-input__splinter{border-bottom:1px solid #e0e3eb;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-number-input__splinter{border-bottom-color:#363a45}.tv-control-number-input__down{fill:currentColor;color:#9db2bd;transition:color .35s ease}.tv-control-number-input__down>svg{display:block;height:6px;width:7px}@media (any-hover:hover){.tv-control-number-input__wrapper:hover{background-color:#e0e3eb;transition-duration:.06s}html.theme-dark .tv-control-number-input__wrapper:hover{background-color:#1e222d}}.tv-control-number-input__wrapper:active{background-color:#e0e3eb;transition-duration:.06s}html.theme-dark .tv-control-number-input__wrapper:active{background-color:#2a2e39}@media (any-hover:hover){.tv-control-number-input:not(.i-active):hover .tv-control-number-input__controls,.tv-control-number-input:not(.i-active):hover .tv-control-number-input__input,.tv-control-number-input:not(.i-active):hover .tv-control-number-input__splinter{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-number-input:not(.i-active):hover .tv-control-number-input__controls,html.theme-dark .tv-control-number-input:not(.i-active):hover .tv-control-number-input__input,html.theme-dark .tv-control-number-input:not(.i-active):hover .tv-control-number-input__splinter{border-color:#50535e}}.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__down,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__up{color:#ff4a68}.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__controls,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__input,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active) .tv-control-number-input__splinter{border-color:#ff4a68}@media (any-hover:hover){.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__down,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__up{color:#ff4a68}.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__controls,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__input,.tv-control-number-input.i-error:not(.i-disabled):not(.i-active):hover .tv-control-number-input__splinter{border-color:#ff4a68}}.tv-control-number-input.i-active .tv-control-number-input__controls,.tv-control-number-input.i-active .tv-control-number-input__input,.tv-control-number-input.i-active .tv-control-number-input__splinter{border-color:#2962ff}@media (any-hover:hover){.tv-control-number-input.i-active:hover .tv-control-number-input__controls,.tv-control-number-input.i-active:hover .tv-control-number-input__input,.tv-control-number-input.i-active:hover .tv-control-number-input__splinter{border-color:#2962ff}}.tv-control-number-input.i-active .tv-control-number-input__down,.tv-control-number-input.i-active .tv-control-number-input__up{color:#2962ff}.tv-control-number-input.i-disabled .tv-control-number-input__wrapper:active{background-color:#fff}@media (any-hover:hover){.tv-control-number-input.i-disabled .tv-control-number-input__wrapper:hover{background-color:#fff}}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__wrapper:active{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__wrapper:hover{background-color:#1e222d}}.tv-control-number-input.i-disabled .tv-control-number-input__input{color:#e0e3eb}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__input{color:#363a45}.tv-control-number-input.i-disabled .tv-control-number-input__controls{cursor:default}.tv-control-number-input.i-disabled .tv-control-number-input__down,.tv-control-number-input.i-disabled .tv-control-number-input__up{color:#e0e3eb}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__down,html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__up{color:#363a45}.tv-control-number-input.i-disabled .tv-control-number-input__controls,.tv-control-number-input.i-disabled .tv-control-number-input__input,.tv-control-number-input.i-disabled .tv-control-number-input__splinter{border-color:#e0e3eb}@media (any-hover:hover){.tv-control-number-input.i-disabled:hover .tv-control-number-input__controls,.tv-control-number-input.i-disabled:hover .tv-control-number-input__input,.tv-control-number-input.i-disabled:hover .tv-control-number-input__splinter{border-color:#e0e3eb}}html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__controls,html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__input,html.theme-dark .tv-control-number-input.i-disabled .tv-control-number-input__splinter{border-color:#2a2e39}@media (any-hover:hover){html.theme-dark .tv-control-number-input.i-disabled:hover .tv-control-number-input__controls,html.theme-dark .tv-control-number-input.i-disabled:hover .tv-control-number-input__input,html.theme-dark .tv-control-number-input.i-disabled:hover .tv-control-number-input__splinter{border-color:#2a2e39}}.tv-control-input{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;padding:0 12px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-input{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-control-input::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-input::placeholder{color:#50535e}.tv-control-input:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-input--size_xsmall{height:19px}.tv-control-input--size_small{height:27px}.tv-control-input--size_large{font-size:16px;height:48px}.tv-control-input--connect{border-left:0;border-radius:0;border-right:0}.tv-control-input--connect_left{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.tv-control-input--connect_right{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-input--connect_right#id_username{direction:ltr;text-align:right}@media (any-hover:hover){.tv-control-input:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-input:hover{border-color:#50535e}}.tv-control-input:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-input[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-input[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-input[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-input[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-input[readonly]:hover{border-color:#2a2e39!important}}.tv-control-input--readonly_dark,.tv-control-input--readonly_dark[readonly],html.theme-dark .tv-control-input--readonly_dark,html.theme-dark .tv-control-input--readonly_dark[readonly]{color:#50535e}.tv-control-input.i-disabled,.tv-control-input[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-input.i-disabled,html.theme-dark .tv-control-input[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-input.i-disabled::placeholder,.tv-control-input[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-input.i-disabled::placeholder,html.theme-dark .tv-control-input[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-input.i-disabled:hover,.tv-control-input[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-input.i-disabled:hover,html.theme-dark .tv-control-input[disabled]:hover{border-color:#2a2e39!important}}.tv-control-input.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-input.i-error:hover{border-color:#f24965!important}}.tv-control-input.i-error:focus{border-color:#ff173e!important}.tv-control-input.i-success{border-color:#089981!important}html.theme-dark .tv-control-input.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-input.i-success:hover,html.theme-dark .tv-control-input.i-success:hover{border-color:#06806b!important}}.tv-control-input.i-success:active,.tv-control-input.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-input.i-success:active,html.theme-dark .tv-control-input.i-success:focus{border-color:#089981!important}.tv-control-input--phone{direction:ltr;text-align:right}.tv-control-input--file{display:none}.tv-control-fieldset{display:block;margin-bottom:30px;min-width:0}.tv-control-fieldset:after{clear:both;content:"";display:table}.tv-control-fieldset--spacing_small{margin-bottom:20px}.tv-control-fieldset--spacing_xsmall{margin-bottom:10px}.tv-control-fieldset--first{margin-top:12px}.tv-control-fieldset:last-child{margin-bottom:0}.tv-control-fieldset--force-spacing{margin-bottom:30px}.tv-control-fieldset--force-spacing.tv-control-fieldset--spacing_small{margin-bottom:20px}@media screen and (max-width:767px){.tv-control-fieldset{margin-bottom:20px}}.tv-control-fieldset__group{display:flex;justify-content:space-between}.tv-control-fieldset__label,.tv-control-fieldset__value{box-sizing:border-box;display:block;float:right}.tv-control-fieldset__label--vertical,.tv-control-fieldset__value--vertical{float:none}.tv-control-fieldset__label--checkbox,.tv-control-fieldset__value--checkbox{padding-top:2px!important}@media screen and (max-width:479px){.tv-control-fieldset__label,.tv-control-fieldset__value{float:none}}.tv-control-fieldset__label{clear:right;color:#787b86;font-size:13px;padding:10px 0 0 20px;width:30%}html.theme-dark .tv-control-fieldset__label{color:#787b86}.tv-control-fieldset__label--top{padding-top:0}.tv-control-fieldset__label--vertical{padding:0 0 4px;width:auto}.tv-control-fieldset__label--color_dark{color:#1c2030}html.theme-dark .tv-control-fieldset__label--color_dark{color:#f7f8fa}.tv-control-fieldset__label--width_small{width:26%}@media screen and (max-width:479px){.tv-control-fieldset__label--width_small{width:auto}}.tv-control-fieldset__label--size_small{padding-top:4px}@media screen and (max-width:479px){.tv-control-fieldset__label{padding:0 0 10px;width:auto}}.tv-control-fieldset__label-icon{display:inline-block;font-size:12px;height:12px;line-height:1;vertical-align:super}.tv-control-fieldset__label-icon svg{height:100%;width:auto}.tv-control-fieldset__value{width:70%}.tv-control-fieldset__value--vertical{width:auto}.tv-control-fieldset__value--width_big{width:74%}@media screen and (max-width:479px){.tv-control-fieldset__value,.tv-control-fieldset__value--width_big{width:auto}}.tv-control-fieldset__text{margin-bottom:12px}.tv-control-fieldset__text:last-of-type{margin-bottom:0}.tv-control-fieldset--block .tv-control-fieldset__label,.tv-control-fieldset--block .tv-control-fieldset__value{float:none;padding:0;width:auto}.tv-control-fieldset--block .tv-control-fieldset__label{margin-bottom:10px}.tv-control-fieldset__value-control{display:block}.tv-control-fieldset__input-value{flex:1;margin-left:12px}.tv-control-fieldset .tv-control-fieldset__group-btn{padding:0}.tv-control-fieldset .tv-control-fieldset__group-btn svg{margin-bottom:1px}.tv-control-fieldset__group-btn:first-child{margin-left:5px}.tv-control-fieldset .tv-control-fieldset__single-icon-btn{padding:0 12px}.tv-control-fieldset .tv-control-fieldset__single-icon-btn svg{margin-bottom:4px}.tv-control-fieldset__trash-icon svg{color:red}.tv-control-fieldset__hint{color:#434651;display:block;font-size:13px;line-height:1.4;margin-bottom:10px;margin-top:10px}html.theme-dark .tv-control-fieldset__hint{color:#c5cbce}.tv-control-fieldset__hint a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-control-fieldset__hint a{color:#2962ff}.tv-control-fieldset__hint a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-control-fieldset__hint a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-control-fieldset__hint a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-control-fieldset__hint a:hover{fill:#1e53e5;color:#1e53e5}}.tv-control-fieldset__hint a:focus{outline:auto}.tv-control-fieldset__hint a:focus:not(:-moz-focusring){outline:none}.tv-control-fieldset__hint a:-moz-focusring{outline:auto}.tv-control-fieldset__hint a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-control-fieldset__hint a:active{fill:#1848cc;color:#1848cc}.tv-control-fieldset .tv-control-input[readonly],html.theme-dark .tv-control-fieldset .tv-control-input[readonly]{color:#787b86}.tv-control-fieldset .tv-control-input--readonly_dark,.tv-control-fieldset .tv-control-input--readonly_dark[readonly],html.theme-dark .tv-control-fieldset .tv-control-input--readonly_dark,html.theme-dark .tv-control-fieldset .tv-control-input--readonly_dark[readonly]{color:#50535e}.tv-control-fieldset .tv-control-input.i-disabled::placeholder,.tv-control-fieldset .tv-control-input[disabled]::placeholder,.tv-control-fieldset .tv-control-number-input__input.i-disabled::placeholder,.tv-control-fieldset .tv-control-number-input__input[disabled]::placeholder,.tv-control-fieldset .tv-control-select__control.i-disabled::placeholder,.tv-control-fieldset .tv-control-select__control[disabled]::placeholder,.tv-control-fieldset select.tv-control-select.i-disabled::placeholder,.tv-control-fieldset select.tv-control-select[disabled]::placeholder,html.theme-dark .tv-control-fieldset .tv-control-input.i-disabled::placeholder,html.theme-dark .tv-control-fieldset .tv-control-input[disabled]::placeholder,html.theme-dark .tv-control-fieldset .tv-control-number-input__input.i-disabled::placeholder,html.theme-dark .tv-control-fieldset .tv-control-number-input__input[disabled]::placeholder,html.theme-dark .tv-control-fieldset .tv-control-select__control.i-disabled::placeholder,html.theme-dark .tv-control-fieldset .tv-control-select__control[disabled]::placeholder,html.theme-dark .tv-control-fieldset select.tv-control-select.i-disabled::placeholder,html.theme-dark .tv-control-fieldset select.tv-control-select[disabled]::placeholder{color:#787b86}.tv-control-textarea{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;height:auto;padding:9px 12px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-textarea{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-control-textarea::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-textarea::placeholder{color:#50535e}.tv-control-textarea:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-textarea--size_xsmall{height:19px}.tv-control-textarea--size_small{height:27px}.tv-control-textarea--size_large{font-size:16px;height:48px}.tv-control-textarea--connect{border-left:0;border-radius:0;border-right:0}.tv-control-textarea--connect_left{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.tv-control-textarea--connect_right{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-textarea--connect_right#id_username{direction:ltr;text-align:right}@media (any-hover:hover){.tv-control-textarea:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-textarea:hover{border-color:#50535e}}.tv-control-textarea:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-textarea[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-textarea[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-textarea[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-textarea[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-textarea[readonly]:hover{border-color:#2a2e39!important}}.tv-control-textarea.i-disabled,.tv-control-textarea[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-textarea.i-disabled,html.theme-dark .tv-control-textarea[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-textarea.i-disabled::placeholder,.tv-control-textarea[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-textarea.i-disabled::placeholder,html.theme-dark .tv-control-textarea[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-textarea.i-disabled:hover,.tv-control-textarea[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-textarea.i-disabled:hover,html.theme-dark .tv-control-textarea[disabled]:hover{border-color:#2a2e39!important}}.tv-control-textarea.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-textarea.i-error:hover{border-color:#f24965!important}}.tv-control-textarea.i-error:focus{border-color:#ff173e!important}.tv-control-textarea.i-success{border-color:#089981!important}html.theme-dark .tv-control-textarea.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-textarea.i-success:hover,html.theme-dark .tv-control-textarea.i-success:hover{border-color:#06806b!important}}.tv-control-textarea.i-success:active,.tv-control-textarea.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-textarea.i-success:active,html.theme-dark .tv-control-textarea.i-success:focus{border-color:#089981!important}.tv-control-textarea--phone{direction:ltr;text-align:right}.tv-control-textarea--readonly_dark,.tv-control-textarea--readonly_dark[readonly],html.theme-dark .tv-control-textarea--readonly_dark,html.theme-dark .tv-control-textarea--readonly_dark[readonly]{color:#50535e} \ No newline at end of file diff --git a/charting_library/bundles/2301.327e64f11055caec2fc9.js b/charting_library/bundles/2301.327e64f11055caec2fc9.js deleted file mode 100644 index 99d12160..00000000 --- a/charting_library/bundles/2301.327e64f11055caec2fc9.js +++ /dev/null @@ -1,21 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2301],{66783:e=>{"use strict";var t=Object.prototype.hasOwnProperty;function n(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,r){if(n(e,r))return!0;if("object"!=typeof e||null===e||"object"!=typeof r||null===r)return!1;var o=Object.keys(e),a=Object.keys(r);if(o.length!==a.length)return!1;for(var s=0;s{e.exports={button:"button-9pA37sIi",hover:"hover-9pA37sIi",isInteractive:"isInteractive-9pA37sIi",isGrouped:"isGrouped-9pA37sIi",newStyles:"newStyles-9pA37sIi",isActive:"isActive-9pA37sIi",isOpened:"isOpened-9pA37sIi",isDisabled:"isDisabled-9pA37sIi",text:"text-9pA37sIi",icon:"icon-9pA37sIi"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},28712:e=>{e.exports={container:"container-CcsqUMct",inputContainer:"inputContainer-CcsqUMct",withCancel:"withCancel-CcsqUMct",input:"input-CcsqUMct",icon:"icon-CcsqUMct",cancel:"cancel-CcsqUMct"}},74246:e=>{e.exports={actions:"actions-FZxvEi7a",actionButton:"actionButton-FZxvEi7a"}},82132:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",itemRow:"itemRow-uhHv1IHJ",multiLine:"multiLine-uhHv1IHJ",cell:"cell-uhHv1IHJ",itemInfoCell:"itemInfoCell-uhHv1IHJ",description:"description-uhHv1IHJ",symbolDescription:"symbolDescription-uhHv1IHJ",flag:"flag-uhHv1IHJ",exchangeDescription:"exchangeDescription-uhHv1IHJ",marketType:"marketType-uhHv1IHJ",exchangeName:"exchangeName-uhHv1IHJ",actionHandleWrap:"actionHandleWrap-uhHv1IHJ",hover:"hover-uhHv1IHJ",selected:"selected-uhHv1IHJ",active:"active-uhHv1IHJ",highlighted:"highlighted-uhHv1IHJ",light:"light-uhHv1IHJ","highlight-animation-theme-light":"highlight-animation-theme-light-uhHv1IHJ",dark:"dark-uhHv1IHJ","highlight-animation-theme-dark":"highlight-animation-theme-dark-uhHv1IHJ",markedFlag:"markedFlag-uhHv1IHJ",offset:"offset-uhHv1IHJ",descriptionCell:"descriptionCell-uhHv1IHJ",addition:"addition-uhHv1IHJ",exchangeCell:"exchangeCell-uhHv1IHJ",fixedWidth:"fixedWidth-uhHv1IHJ",expandHandle:"expandHandle-uhHv1IHJ",expanded:"expanded-uhHv1IHJ",symbolTitle:"symbolTitle-uhHv1IHJ",invalid:"invalid-uhHv1IHJ",noDescription:"noDescription-uhHv1IHJ",highlightedText:"highlightedText-uhHv1IHJ",icon:"icon-uhHv1IHJ",narrow:"narrow-uhHv1IHJ",dataMode:"dataMode-uhHv1IHJ",actionsCell:"actionsCell-uhHv1IHJ",action:"action-uhHv1IHJ",targetAction:"targetAction-uhHv1IHJ",removeAction:"removeAction-uhHv1IHJ",addAction:"addAction-uhHv1IHJ", -markedFlagWrap:"markedFlagWrap-uhHv1IHJ",markedFlagMobile:"markedFlagMobile-uhHv1IHJ",logo:"logo-uhHv1IHJ",isExpandable:"isExpandable-uhHv1IHJ"}},42608:e=>{e.exports={wrap:"wrap-nJ9riypy",libAllSelected:"libAllSelected-nJ9riypy",container:"container-nJ9riypy",iconWrap:"iconWrap-nJ9riypy",icon:"icon-nJ9riypy",title:"title-nJ9riypy",highlighted:"highlighted-nJ9riypy",description:"description-nJ9riypy",mobile:"mobile-nJ9riypy",allSelected:"allSelected-nJ9riypy",desktop:"desktop-nJ9riypy",allSelectedIcon:"allSelectedIcon-nJ9riypy",selected:"selected-nJ9riypy",titleWithoutDesc:"titleWithoutDesc-nJ9riypy",textBlock:"textBlock-nJ9riypy",bordered:"bordered-nJ9riypy"}},90819:e=>{e.exports={container:"container-ZOfHxh0z",contentList:"contentList-ZOfHxh0z",contentListDesktop:"contentListDesktop-ZOfHxh0z",searchSourceItemsContainer:"searchSourceItemsContainer-ZOfHxh0z",searchSourceItemsContainerDesktop:"searchSourceItemsContainerDesktop-ZOfHxh0z",groupTitleDesktop:"groupTitleDesktop-ZOfHxh0z",emptyText:"emptyText-ZOfHxh0z",noResultsDesktop:"noResultsDesktop-ZOfHxh0z"}},77338:e=>{e.exports={wrap:"wrap-LlwUhJDs",item:"item-LlwUhJDs",small:"small-LlwUhJDs",text:"text-LlwUhJDs",exchange:"exchange-LlwUhJDs"}},74915:e=>{e.exports={wrap:"wrap-SLQfcZ66",watchlist:"watchlist-SLQfcZ66",noFeed:"noFeed-SLQfcZ66",scrollContainer:"scrollContainer-SLQfcZ66",listContainer:"listContainer-SLQfcZ66",multiLineItemsContainer:"multiLineItemsContainer-SLQfcZ66"}},98749:e=>{e.exports={button:"button-v1WheJQo",desktop:"desktop-v1WheJQo"}},92540:e=>{e.exports={search:"search-RSKUFnp7",upperCase:"upperCase-RSKUFnp7",symbolType:"symbolType-RSKUFnp7",spinnerWrap:"spinnerWrap-RSKUFnp7",emptyText:"emptyText-RSKUFnp7",noResultsDesktop:"noResultsDesktop-RSKUFnp7",brokerCheckboxWrap:"brokerCheckboxWrap-RSKUFnp7"}},53474:e=>{e.exports={flagWrap:"flagWrap-7I0uFLqE",icon:"icon-7I0uFLqE",caret:"caret-7I0uFLqE",title:"title-7I0uFLqE"}},6215:e=>{e.exports={dialog:"dialog-JcokGZNe",tabletDialog:"tabletDialog-JcokGZNe",desktopDialog:"desktopDialog-JcokGZNe"}},70516:e=>{e.exports={childrenWrapper:"childrenWrapper-HNZPlz4e",container:"container-HNZPlz4e"}},99167:e=>{e.exports={bubbles:"bubbles-bgopH9MJ",multiLine:"multiLine-bgopH9MJ",bubble:"bubble-bgopH9MJ"}},74765:e=>{e.exports={bubble:"bubble-vcCjkHCG",animated:"animated-vcCjkHCG",content:"content-vcCjkHCG","appearance-default":"appearance-default-vcCjkHCG",active:"active-vcCjkHCG",red:"red-vcCjkHCG",blue:"blue-vcCjkHCG",green:"green-vcCjkHCG",orange:"orange-vcCjkHCG",purple:"purple-vcCjkHCG",cyan:"cyan-vcCjkHCG",pink:"pink-vcCjkHCG","appearance-text":"appearance-text-vcCjkHCG","fontSize-s":"fontSize-s-vcCjkHCG","fontSize-m":"fontSize-m-vcCjkHCG","size-m":"size-m-vcCjkHCG","size-l":"size-l-vcCjkHCG"}},81524:e=>{e.exports={highlighted:"highlighted-YWUtZHTy"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},40367:e=>{e.exports={icon:"icon-AL2odtws",dropped:"dropped-AL2odtws"}},90186:(e,t,n)=>{"use strict";function r(e){return a(e,s)}function o(e){return a(e,l)}function a(e,t){ -const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function s(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,{filterDataProps:()=>r,filterAriaProps:()=>o,filterProps:()=>a,isDataAttribute:()=>s,isAriaAttribute:()=>l})},4825:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>i,ToolWidgetButton:()=>c});var r=n(59496),o=n(97754),a=n(9745),s=n(37669),l=n(55576);const i=l,c=r.forwardRef((e,t)=>{const{icon:n,isActive:i,isOpened:c,isDisabled:u,isGrouped:d,isHovered:h,onClick:p,text:m,textBeforeIcon:v,title:f,theme:g=l,className:y,forceInteractive:b,"data-name":S,...x}=e,C=o(y,g.button,f&&"apply-common-tooltip",{[g.isActive]:i,[g.isOpened]:c,[g.isInteractive]:(b||Boolean(p))&&!u,[g.isDisabled]:u,[g.isGrouped]:d,[g.hover]:h,[g.newStyles]:s.hasNewHeaderToolbarStyles}),k=n&&("string"==typeof n?r.createElement(a.Icon,{className:g.icon,icon:n}):r.cloneElement(n,{className:o(g.icon,n.props.className)}));return r.createElement("div",{...x,ref:t,"data-role":"button",className:C,onClick:u?void 0:p,title:f,"data-name":S},v&&m&&r.createElement("div",{className:o("js-button-text",g.text)},m),k,!v&&m&&r.createElement("div",{className:o("js-button-text",g.text)},m))})},37669:(e,t,n)=>{"use strict";n.d(t,{hasNewHeaderToolbarStyles:()=>r});n(67337);const r=!1},47670:(e,t,n)=>{"use strict";n.d(t,{marketType:()=>i});var r=n(28353);n(94419);const o=new Map,a={context:"market_type"},s={cfd:(0,r.t)("cfd",a),bitcoin:(0,r.t)("crypto",a),crypto:(0,r.t)("crypto",a),dr:(0,r.t)("dr",a),forex:(0,r.t)("forex",a),futures:(0,r.t)("futures",a),index:(0,r.t)("index",a),stock:(0,r.t)("stock",a),economic:(0,r.t)("economy",a)},l=new Set(["cfd","spreadbet","defi"]);function i(e,t=[]){const n=t.filter(e=>l.has(e)),i=`${e}_${n.sort().join("_")}`,c=o.get(i);if(void 0!==c)return c;const u=Boolean(t.length)?(0,r.t)(e,a)+" "+n.join(" "):s[e]||e;return o.set(i,u),u}},39640:(e,t,n)=>{"use strict";function r(e,t,n,r,o){function a(o){if(e>o.timeStamp)return;const a=o.target;void 0!==n&&null!==t&&null!==a&&a.ownerDocument===r&&(t.contains(a)||n(o))}return o.click&&r.addEventListener("click",a,!1),o.mouseDown&&r.addEventListener("mousedown",a,!1),o.touchEnd&&r.addEventListener("touchend",a,!1),o.touchStart&&r.addEventListener("touchstart",a,!1),()=>{r.removeEventListener("click",a,!1),r.removeEventListener("mousedown",a,!1),r.removeEventListener("touchend",a,!1),r.removeEventListener("touchstart",a,!1)}}n.d(t,{addOutsideEventListener:()=>r})},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(96746);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>E});var r=n(59496),o=n(88537);var a=n(97754),s=n.n(a),l=n(68335),i=n(35749),c=n(63016),u=n(1109),d=n(24437),h=n(90692),p=n(95711),m=n(52092),v=n(76422),f=n(9745);const g=r.createContext({setHideClose:()=>{}});var y=n(37257),b=n(91441);function S(e){ -const{title:t,subtitle:n,showCloseIcon:o=!0,onClose:a,renderBefore:l,renderAfter:i,draggable:c,className:u,unsetAlign:d}=e,[h,p]=(0,r.useState)(!1);return r.createElement(g.Provider,{value:{setHideClose:p}},r.createElement("div",{className:s()(b.container,u,(n||d)&&b.unsetAlign)},l,r.createElement("div",{"data-dragg-area":c,className:b.title},r.createElement("div",{className:b.ellipsis},t),n&&r.createElement("div",{className:s()(b.ellipsis,b.subtitle)},n)),i,o&&!h&&r.createElement(f.Icon,{className:b.close,icon:y,onClick:a,"data-name":"close","data-role":"button"})))}var x=n(67179);const C={vertical:20},k={vertical:0};class E extends r.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(d.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,l.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,r=(0,o.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,i.isTextEditingField)(n))return void r.focus();if(r.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;v.subscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;v.unsubscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){ -const{className:e,wrapperClassName:t,headerClassName:n,isOpened:o,title:a,dataName:l,onClickOutside:i,additionalElementPos:m,additionalHeaderElement:v,backdrop:f,shouldForceFocus:g=!0,showSeparator:y,subtitle:b,draggable:E=!0,fullScreen:w=!1,showCloseIcon:I=!0,rounded:N=!0,isAnimationEnabled:H,growPoint:_,dialogTooltip:D,unsetHeaderAlign:T,onDragStart:M,dataDialogName:L}=this.props,A="after"!==m?v:void 0,F="after"===m?v:void 0,O="string"==typeof a?a:L||"";return r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.SmallHeight},m=>r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},d=>r.createElement(c.PopupDialog,{rounded:!(d||w)&&N,className:s()(x.dialog,e),isOpened:o,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:i,onClickBackdrop:i,fullscreen:d||w,guard:m?k:C,boundByScreen:d||w,shouldForceFocus:g,backdrop:f,draggable:E,isAnimationEnabled:H,growPoint:_,name:this.props.dataName,dialogTooltip:D,onDragStart:M},r.createElement("div",{className:s()(x.wrapper,t),"data-name":l,"data-dialog-name":O},void 0!==a&&r.createElement(S,{draggable:E&&!(d||w),onClose:this._handleClose,renderAfter:F,renderBefore:A,subtitle:b,title:a,showCloseIcon:I,className:n,unsetAlign:T}),y&&r.createElement(u.Separator,{className:x.separator}),r.createElement(p.PopupContext.Consumer,null,e=>this._renderChildren(e,d||w))))))}}},69654:(e,t,n)=>{"use strict";n.d(t,{DialogSearch:()=>u});var r=n(59496),o=n(97754),a=n.n(o),s=n(28353),l=n(9745),i=n(5639),c=n(28712);function u(e){const{children:t,renderInput:n,onCancel:o,...u}=e;return r.createElement("div",{className:c.container},r.createElement("div",{className:a()(c.inputContainer,o&&c.withCancel)},n||r.createElement(d,{...u})),t,r.createElement(l.Icon,{className:c.icon,icon:i}),o&&r.createElement("div",{className:c.cancel,onClick:o},(0,s.t)("Cancel")))}function d(e){const{className:t,reference:n,value:o,onChange:s,onFocus:l,onBlur:i,onKeyDown:u,onSelect:d,placeholder:h,...p}=e;return r.createElement("input",{...p,ref:n,type:"text",className:a()(t,c.input),autoComplete:"off","data-role":"search",placeholder:h,value:o,onChange:s,onFocus:l,onBlur:i,onSelect:d,onKeyDown:u})}},5648:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchDialogContentItem:()=>g});var r=n(59496),o=n(97754),a=n.n(o),s=n(88537),l=n(9745),i=(n(67337),n(24637)),c=n(19785),u=n(84524),d=n(24633),h=n(77975),p=n(45345),m=n(32563),v=n(88142),f=n(82132);function g(e){const{dangerousTitleHTML:t,title:n,dangerousDescriptionHTML:o,description:g,searchToken:y,exchangeName:b,marketType:S,onClick:x,isSelected:C,isEod:k=!1,isActive:E=!1,isOffset:w=!1,invalid:I=!1,isHighlighted:N=!1,hideExchange:H=!1,hideMarkedListFlag:_=!1,onExpandClick:D,isExpanded:T,hoverComponent:M,country:L,providerId:A,source:F,type:O,flag:R,itemRef:B,onMouseOut:P,onMouseOver:J,className:z,actions:V,reference:W,fullSymbolName:U,logoId:q,currencyLogoId:Z,baseCurrencyLogoId:G,shortName:j,hideLogo:K=!1}=e,{isSmallWidth:Q,isMobile:$}=(0,s.ensureNotNull)((0, -r.useContext)(u.SymbolSearchItemsDialogContext)),Y=Boolean(M),X=!I&&!H&&($||!Y),ee=(0,h.useWatchedValueReadonly)({watchedValue:p.watchedTheme})===d.StdTheme.Dark?f.dark:f.light,te=M;return r.createElement("div",{className:a()(f.itemRow,Q&&f.multiLine,N&&f.highlighted,N&&ee,C&&f.selected,E&&f.active,I&&f.invalid,!$&&m.mobiletouch&&Y&&f.hover,z),onClick:function(e,t){if(!e||t.defaultPrevented)return;t.preventDefault(),e(t)}.bind(null,x),"data-role":e["data-role"]||"list-item","data-active":E,"data-name":"symbol-search-dialog-content-item",onMouseOut:P,onMouseOver:J,ref:W},r.createElement("div",{ref:B,className:a()(f.itemInfoCell,f.cell,w&&f.offset)},r.createElement("div",{className:a()(f.actionHandleWrap,f.fixedWidth)},r.createElement(r.Fragment,null,!1,D&&r.createElement("div",{onClick:function(e){if(!D||e.defaultPrevented)return;e.preventDefault(),D(e)}},r.createElement(l.Icon,{className:a()(f.expandHandle,T&&f.expanded,C&&f.selected),icon:v})),!1)),r.createElement("div",{className:a()(f.description,!1)},n&&r.createElement("div",{className:a()(f.symbolTitle,E&&f.active,I&&f.invalid,!Boolean(o)&&f.noDescription),"data-name":"list-item-title"},"string"==typeof n&&y?r.createElement(i.HighlightedText,{className:f.highlightedText,text:n,queryString:y,rules:(0,c.createRegExpList)(y)}):n,k&&r.createElement("span",{className:f.dataMode},"E")),!n&&t&&r.createElement("div",{className:a()(f.symbolTitle,E&&f.active,I&&f.invalid),"data-name":"list-item-title"},r.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),k&&r.createElement("span",{className:f.dataMode},"E")),Q&&ne())),!Q&&r.createElement("div",{className:a()(f.cell,f.descriptionCell,Boolean(te)&&f.addition)},ne(),te?r.createElement(te,{...e,className:f.actions,onMouseOver:void 0,onMouseOut:void 0}):null),Q&&te?r.createElement(te,{...e,className:f.cell,onMouseOver:void 0,onMouseOut:void 0}):null,X&&r.createElement("div",{className:a()(f.exchangeCell,f.cell)},r.createElement("div",{className:a()(f.exchangeDescription)},r.createElement("div",{className:a()(f.marketType,E&&f.active)},S),"economic"===O&&F?r.createElement("div",{className:a()(f.exchangeName,E&&f.active,"apply-common-tooltip",f.narrow),title:F},F):r.createElement("div",{className:a()(f.exchangeName,E&&f.active)},b)),!1),r.createElement("div",{className:a()(f.cell,Boolean(V)&&f.actionsCell)},V));function ne(){if(I)return null;const e=a()(f.symbolDescription,E&&f.active,!m.mobiletouch&&"apply-overflow-tooltip apply-overflow-tooltip--allow-text");return g?r.createElement("div",{className:e},y?r.createElement(i.HighlightedText,{className:f.highlightedText,text:g,queryString:y,rules:(0,c.createRegExpList)(y)}):g):o?r.createElement("div",{className:e,dangerouslySetInnerHTML:{__html:o}}):null}}},58442:(e,t,n)=>{"use strict";n.d(t,{qualifyProName:()=>s,QualifiedSources:()=>r});var r,o=n(88537),a=n(67337);n(81319);function s(e){return e}!function(e){function t(e){return e.pro_name}function n(e){{const t=a.enabled("pay_attention_to_ticker_not_symbol")?e.ticker:e.full_name;return(0,o.ensureDefined)(t)}} -e.fromQuotesSnapshot=function(e){return"error"===e.status?e.symbolname:e.values.pro_name},e.fromQuotesResponse=function(e){const{values:n,symbolname:r,status:o}=e;return"error"===o&&r?r:t(n)},e.fromQuotes=t,e.fromSymbolSearchResult=function(e,t){{const{ticker:n,full_name:r}=null!=t?t:e;return a.enabled("pay_attention_to_ticker_not_symbol")?(0,o.ensureDefined)(null!=n?n:r):(0,o.ensureDefined)(r)}},e.fromSymbolInfo=n,e.fromSymbolMessage=function(e,t){return"symbol_resolved"===t.method?n(t.params[1]):e}}(r||(r={}))},24389:(e,t,n)=>{"use strict";n.d(t,{QuoteSessionContext:()=>r});const r=n(59496).createContext(null)},20882:(e,t,n)=>{"use strict";function r(e){return""===e.value()}function o(e,t){return e.filter(e=>e.includes(t))}function a(e){const t=new Map;return e.forEach(e=>{t.has(e.group())?t.get(e.group()).push(e):t.set(e.group(),[e])}),t}function s(e,t){return t.map(t=>new e(t))}n.d(t,{isAllSearchSourcesSelected:()=>r,filterSearchSources:()=>o,splitSearchSourcesByGroup:()=>a,createSearchSources:()=>s})},1861:(e,t,n)=>{"use strict";n.d(t,{showSymbolSearchItemsDialog:()=>c});var r=n(59496),o=n(87995),a=n(50655),s=n(24389),l=n(51826),i=n(12045);function c(e){const{initialMode:t="symbolSearch",autofocus:n=!0,defaultValue:c,showSpreadActions:u,selectSearchOnInit:d,onSearchComplete:h,onSearchFeedReady:p,dialogTitle:m,placeholder:v,fullscreen:f,initialScreen:g,wrapper:y,dialog:b,contentItem:S,onClose:x,footer:C,symbolTypes:k,searchInput:E,emptyState:w,hideMarkedListFlag:I,dialogWidth:N="auto",manager:H}=e;if(l.dialogsOpenerManager.isOpened("SymbolSearch")||l.dialogsOpenerManager.isOpened("ChangeIntervalDialog"))return;const _=document.createElement("div"),D=r.createElement(a.SlotContext.Provider,{value:null!=H?H:null},r.createElement(s.QuoteSessionContext.Provider,{value:null},r.createElement(i.SymbolSearchItemsDialog,{onClose:T,initialMode:t,defaultValue:c,showSpreadActions:u,hideMarkedListFlag:I,onSearchFeedReady:p,selectSearchOnInit:d,onSearchComplete:h,dialogTitle:m,placeholder:v,fullscreen:f,initialScreen:g,wrapper:y,dialog:b,contentItem:S,footer:C,symbolTypes:k,searchInput:E,emptyState:w,autofocus:n,dialogWidth:N})));function T(){o.unmountComponentAtNode(_),l.dialogsOpenerManager.setAsClosed("SymbolSearch"),x&&x()}return o.render(D,_),l.dialogsOpenerManager.setAsOpened("SymbolSearch"),{close:T}}},70613:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchDialogBodyContext:()=>r});const r=n(59496).createContext(null)},84524:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchItemsDialogContext:()=>r});const r=n(59496).createContext(null)},12045:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchItemsDialog:()=>Pe});var r=n(59496),o=n(97754),a=n.n(o),s=n(28353),l=n(7785),i=n(15983),c=n(84877),u=n(67337),d=n(24437),h=n(85457),p=n(9745),m=n(84524),v=n(69654),f=n(20882),g=n(70516);function y(e){const{children:t,className:n}=e;return r.createElement("div",{className:a()(g.container,n)},r.createElement("div",{className:g.childrenWrapper},t))}var b=n(88537),S=n(78036),x=n(24637),C=n(19785),k=n(29601),E=n(42608);function w(e){ -const{searchSource:t,onClick:n,queryString:o}=e,{selectedSearchSource:s,isAllSearchSourcesSelected:l,isMobile:i}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),c=(0,b.ensureNotNull)(s).value(),u=l(t),d=t.value()===c,h=(0,r.useMemo)(()=>(0,C.createRegExpList)(o),[o]),v=t.description(),f=v&&!u,g=a()(E.container,i?E.mobile:E.desktop,d&&E.selected,u&&E.allSelected,u&&E.libAllSelected,!u&&i&&E.bordered);return r.createElement("div",{className:a()(!i&&E.wrap,u&&E.libAllSelected),onClick:n},r.createElement("div",{className:g},r.createElement("div",{className:E.iconWrap},!!u&&r.createElement(p.Icon,{className:a()(E.icon,E.allSelectedIcon),icon:k})),r.createElement("div",{className:E.textBlock},r.createElement("div",{className:a()(E.title,!f&&!i&&E.titleWithoutDesc)},r.createElement(x.HighlightedText,{className:a()(d&&E.highlighted),queryString:o,text:t.name(),rules:h})),f&&r.createElement("div",{className:a()(E.description,"apply-overflow-tooltip")},r.createElement(x.HighlightedText,{className:E.highlighted,queryString:o,rules:h,text:v})))))}var I=n(77975),N=n(45345),H=n(26843),_=n(70613),D=n(70029),T=n(72802),M=n(90819);const L={emptyTextClassName:M.emptyText};function A(e){const{searchSources:t}=e,{setSelectedSearchSource:n,setMode:o,isMobile:l,emptyState:i,autofocus:c}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),u=(0,I.useWatchedValueReadonly)({watchedValue:N.watchedTheme})===H.StdTheme.Dark?D:T,[d,h]=(0,r.useState)(""),g=(0,r.useMemo)(()=>[{group:null,sources:(0,f.filterSearchSources)(t,d)}],[t,d]),b=(0,r.useRef)(null),x=(0,r.useRef)(null);(0,r.useLayoutEffect)(()=>{var e;c&&(null===(e=null==b?void 0:b.current)||void 0===e||e.focus())},[]);const C=i?r.createElement(i,null):r.createElement(y,{className:M.noResultsDesktop},r.createElement(p.Icon,{icon:u}),r.createElement("div",{className:M.emptyText},(0,s.t)("No exchanges match your criteria"))),k=!(g.length&&g.every(e=>0===e.sources.length));return r.createElement(_.SymbolSearchDialogBodyContext.Provider,{value:L},r.createElement(v.DialogSearch,{placeholder:(0,s.t)("Search"),onChange:function(e){h(e.target.value),x&&x.current&&(x.current.scrollTop=0)},reference:b}),k?r.createElement("div",{ref:x,className:a()(M.contentList,!l&&M.contentListDesktop),onTouchStart:function(){var e;null===(e=b.current)||void 0===e||e.blur()}},g.map(e=>{const{group:t,sources:n}=e;return 0===n.length?r.createElement(r.Fragment,{key:t}):r.createElement(r.Fragment,{key:t},!1,r.createElement("div",{className:a()(M.searchSourceItemsContainer,!l&&M.searchSourceItemsContainerDesktop)},n.map(e=>r.createElement(w,{key:e.value(),searchSource:e,queryString:d,onClick:E.bind(null,e)}))))})):C);function E(e){n(e),o("symbolSearch")}}var F=n(87995),O=n(8128);n(76861),n(85198);function R(e){return e.hasOwnProperty("exchange")}async function B(e){return new Promise(t=>{window.ChartApiInstance.searchSymbols(e.text||"",e.exchange||"",e.type||"","",!1,!0,"",!0,"",e=>{t(e)})})} -var P=n(81319),J=n(78136),z=n(51768),V=n(68335),W=n(4825),U=n(20832),q=n(21740),Z=n(38927),G=n(43088),j=n(56584),K=n(19586),Q=n(74246);function $(e){var t;const{state:n,update:o}=e,{searchRef:a,forceUpdate:s,upperCaseEnabled:c}=(0,b.ensureNotNull)((0,r.useContext)(m.SymbolSearchItemsDialogContext)),d=(0,l.tokenize)(null===(t=a.current)||void 0===t?void 0:t.value),h=(0,i.validate)(d);let p=[{icon:U,insert:"/",type:"binaryOp",name:"division"},{icon:q,insert:"-",type:"binaryOp",name:"subtraction"},{icon:Z,insert:"+",type:"binaryOp",name:"addition"},{icon:G,insert:"*",type:"binaryOp",name:"multiplication"}];return u.enabled("hide_exponentiation_spread_operator")||(p=p.concat([{icon:j,insert:"^",type:"binaryOp",name:"exponentiation"}])),u.enabled("hide_reciprocal_spread_operator")||(p=p.concat([{icon:K,type:"complete",name:"1/x",callback:()=>{!a.current||h.errors.length||h.warnings.length||(a.current.value=(0,i.stringifyTokens)((0,i.flip)(d)),s())}}])),r.createElement("div",{className:Q.actions},p.map(e=>r.createElement(W.ToolWidgetButton,{className:Q.actionButton,icon:e.icon,key:e.name,isDisabled:Y(e,h),onClick:()=>function(e){var t;if(!Y(e,h)){if(e.insert&&a.current){const t=a.current.value+e.insert;a.current.value=t,a.current.setSelectionRange(t.length,t.length);const[r,,l]=(0,i.getCurrentTokenParamsFromInput)(a.current,c);n.current&&(n.current.selectedIndexValue=-1,n.current.searchSpreadsValue=(0,i.isSpread)(l),n.current.searchTokenValue=r),s(),o()}e.callback&&e.callback(),null===(t=a.current)||void 0===t||t.focus(),(0,z.trackEvent)("GUI","SS",e.name)}}(e)})))}function Y(e,t){let n=!1;if(!t.errors.length)switch(e.type){case"binaryOp":n="var"===t.currentState;break;case"openBrace":n="var"!==t.currentState;break;case"closeBrace":n="var"===t.currentState&&t.braceBalance>0;break;case"complete":n=!t.errors.length&&!t.warnings.length}return!n}var X=n(90186),ee=n(74765);function te(e){const{title:t,isActive:n,isAnimated:r,activeColor:o,size:s="m",appearance:l="default",fontSize:i="m",className:c}=e;return a()(ee.bubble,n&&ee.active,o&&ee[o],t&&"apply-common-tooltip",s&&ee["size-"+s],i&&ee["fontSize-"+i],l&&ee["appearance-"+l],r&&ee.animated,c)}function ne(e){const{id:t,title:n,tabIndex:o,role:s,contentClassName:l,children:i,onClick:c,onMouseDown:u,reference:d,...h}=e;return r.createElement("span",{...(0,X.filterAriaProps)(h),...(0,X.filterDataProps)(h),id:t,title:n,tabIndex:o,role:s,className:te(e),onClick:c,onMouseDown:u,ref:d},r.createElement("span",{className:a()(ee.content,l)},i))}var re=n(99167);function oe(e){const{className:t,itemClassName:n,itemContentClassName:a,items:s,getItemTitle:l,getItemTooltip:i,getItemKey:c,checkItemIsActive:u,getItemColor:d,onBubbleClick:h,multiline:p,children:m,BubbleComponent:v=ne,reference:f,fontSize:g}=e;return r.createElement("div",{className:o(t,re.bubbles,p&&re.multiLine),ref:f},s.map((e,t)=>r.createElement(v,{key:c?c(e):t,id:c?c(e):t.toString(),className:o(re.bubble,n),contentClassName:a,onClick:function(){h(e)},onMouseDown:function(e){e.preventDefault()},isActive:!!u&&u(e), -activeColor:d?d(e):void 0,fontSize:g,title:i?i(e):void 0},l(e))),m)}var ae=n(61074),se=n(83199),le=n(9837),ie=n.n(le),ce=n(10381),ue=n(53474);function de(e){const{mode:t,setMode:n,searchRef:o,cachedInputValue:l,selectedSearchSource:i,isAllSearchSourcesSelected:c,upperCaseEnabled:u}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),d=(0,b.ensureNotNull)(i),h="symbolSearch"===t,v=c(d);return h?r.createElement("div",{className:a()(ue.flagWrap,"apply-common-tooltip"),title:(0,s.t)("Select source"),onClick:function(){o.current&&(l.current=u?o.current.value.toUpperCase():o.current.value);n("exchange")}},!!v&&r.createElement(p.Icon,{className:ue.icon,icon:k}),r.createElement("div",{className:ue.title},d.name()),r.createElement(ce.ToolWidgetCaret,{className:ue.caret,dropped:!1})):null}var he=n(77338);function pe(e){const{isSmallWidth:t,selectedSearchSource:n,searchSources:o}=(0,b.ensureNotNull)((0,r.useContext)(m.SymbolSearchItemsDialogContext)),l=n&&o.length>1&&!(0,P.exchangeSelectDisabled)();return r.createElement("div",{className:a()(he.wrap,t&&he.small)},r.createElement("div",{className:he.item},r.createElement("div",{className:he.text},t?(0,s.t)("Symbol & description"):(0,s.t)("Symbol"))),r.createElement("div",{className:he.item},!t&&r.createElement("div",{className:he.text},(0,s.t)("Description")),l&&r.createElement("div",{className:he.exchange},r.createElement(de,null))))}var me=n(62820),ve=n(74915);function fe(e){const{onTouchMove:t,listRef:n,className:o,listWrapRef:s,virtualListKey:l,items:i,getItemSize:c,hideFeed:u}=e,{mode:d,isSmallWidth:h,handleListWidth:p}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),[v,f]=(0,r.useState)(null),g=(0,r.useCallback)(e=>{const{index:t,style:n}=e;return r.createElement("div",{style:n},i[t])},[i]),y=(0,r.useCallback)(e=>(0,b.ensure)(i[e].key),[i]),x="watchlist"===d&&null!==v;return r.createElement(ie(),{onMeasure:function(e){f(e.height),p(e.width)}},r.createElement("div",{ref:s,className:a()(ve.wrap,x&&ve.watchlist,u&&ve.noFeed,o),onTouchMove:t},r.createElement("div",{className:a()(ve.scrollContainer,u&&ve.noFeed)},x?r.createElement(se.VariableSizeList,{key:l,ref:n,className:ve.listContainer,width:"100%",height:(0,b.ensureNotNull)(v),itemCount:i.length,itemSize:c,children:g,itemKey:y,overscanCount:20,direction:(0,me.isRtl)()?"rtl":"ltr"}):r.createElement("div",{className:a()(ve.listContainer,h&&ve.multiLineItemsContainer)},r.createElement(pe,null),...i))))}var ge=n(5648),ye=n(92540);const be=u.enabled("hide_image_invalid_symbol");function Se(e){const{token:t,state:n,otherSymbolsCount:o,onChangeSymbolTypeFilter:a,onResetFilters:s,onListTouchMove:l,brokerTitle:i,isBrokerChecked:c,onBrokerCheckboxChange:u,listRef:d,listWrapRef:h}=e,{mode:p,isMobile:v,selectedSymbolType:f,symbolTypes:g,feedItems:y,contentItem:b,emptyState:x=xe}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),C=i&&r.createElement(BrokerCheckbox,{brokerTitle:i,checked:c,onCheckboxChange:u}),k="symbolSearch"===p&&"good"===n,E=null!=b?b:ge.SymbolSearchDialogContentItem,w=(0, -r.useMemo)(()=>y.map(e=>r.createElement(E,{...e,searchToken:t})),[y]);return r.createElement(r.Fragment,null,"symbolSearch"===p&&r.createElement(r.Fragment,null,g.length>0&&r.createElement(oe,{itemClassName:ye.symbolType,items:g,getItemTitle:e=>e.name,getItemKey:e=>e.value,checkItemIsActive:e=>e.value===f,onBubbleClick:a,multiline:!v},!v&&C),v&&g.length>0&&i&&r.createElement("div",{className:ye.brokerCheckboxWrap},C)),r.createElement(fe,{listRef:d,listWrapRef:h,onTouchMove:l,items:w,getItemSize:()=>ke,hideFeed:!k}),"loading"===n&&r.createElement("div",{className:ye.spinnerWrap},r.createElement(ae.Spinner,null)),"symbolSearch"===p&&r.createElement(r.Fragment,null,!1,"empty"===n&&r.createElement(x,null)))}function xe(e){const t=(0,I.useWatchedValueReadonly)({watchedValue:N.watchedTheme})===H.StdTheme.Dark?D:T;return r.createElement(y,{className:ye.noResultsDesktop},!be&&r.createElement(p.Icon,{icon:t}),r.createElement("div",{className:ye.emptyText},(0,s.t)("No symbols match your criteria")))}const Ce=(0,P.getDefaultSearchSource)(),ke=52;function Ee(e){const{mode:t,setMode:n,setSelectedIndex:o,isMobile:l,selectedSearchSource:c,setSelectedSearchSource:d,isAllSearchSourcesSelected:h,selectedSymbolType:p,setSelectedSymbolType:f,setRenderSymbolSearchList:g,searchRef:y,cachedInputValue:b,setSearchSpreads:x,showSpreadActions:C,selectedItem:k,onSearchFeedReady:E,forceUpdate:w,placeholder:I,initialScreen:N,footer:H,searchInput:D,upperCaseEnabled:T,externalInput:M,handleKeyDown:L,customSearchSymbols:A}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext),W=(0,r.useRef)(t);W.current=t;const U=(0,r.useRef)(new AbortController),[q,Z]=(0,r.useState)(0),[G,j]=(0,r.useState)("noop"),K=(0,r.useRef)(0),[Q,Y]=(0,r.useState)(b.current),X=(0,r.useRef)(null),ee=(0,r.useRef)(null),te=(0,r.useRef)({selectedIndexValue:-1,searchTokenValue:"",searchSpreadsValue:!0}),ne=(0,r.useRef)(null),re=(0,r.useRef)(null),{broker:oe=null,brokerId:ae,brokerTitle:se,isBrokerChecked:le=!1,setIsBrokerChecked:ie=(()=>{}),unhideSymbolSearchGroups:ce=""}={brokerId:void 0,brokerTitle:void 0};(0,r.useEffect)(()=>()=>{U.current.abort(),Ie()},[]),(0,r.useEffect)(()=>{(null==y?void 0:y.current)&&Y(y.current.value)},[]),(0,r.useEffect)(()=>{const e=y.current;if(e)return e.addEventListener("input",ge),e.addEventListener("focus",Ee),e.addEventListener("select",fe),e.addEventListener("click",fe),e.addEventListener("keyup",we),M&&L&&e.addEventListener("keydown",L),()=>{e&&(e.removeEventListener("input",ge),e.removeEventListener("focus",Ee),e.removeEventListener("select",fe),e.removeEventListener("click",fe),e.removeEventListener("keyup",we),M&&L&&e.removeEventListener("keydown",L))}},[L]),(0,r.useEffect)(()=>{Boolean(N)&&""===Q.trim()||(xe(Q,p,c),X.current&&(X.current.scrollTop=0))},[Q,p,c,le,N]),(0,r.useEffect)(()=>{if(!k||!y.current)return;if(!u.enabled("show_spread_operators"))return y.current.value=k.symbol,void w();const e=R(k)?k.exchange:k.parent.exchange,t={name:k.symbol,exchange:e,prefix:k.prefix,fullName:k.full_name},[n,r]=(0, -i.getNextSymbolInputValueAndPosition)(y.current,t,T);y.current.value=n,y.current.setSelectionRange(r,r),w()},[k]);const ue=(0,r.useCallback)(e=>E?E(e):e,[E]),de=null!=N?N:"div",he=Boolean(N)&&"symbolSearch"!==t,pe=null!=D?D:v.DialogSearch,me=(0,r.useMemo)(()=>({listRef:ee,resetRecommends:ke,updateRecommends:xe,searchToken:Q,emptyTextClassName:ye.emptyText,isBrokerChecked:le,symbolSearchState:G,currentMode:W}),[ee,Q,le,G,W]);return r.createElement(_.SymbolSearchDialogBodyContext.Provider,{value:me},!(M&&"symbolSearch"===t)&&r.createElement(pe,{reference:y,className:a()(ye.search,T&&ye.upperCase),placeholder:I||(0,s.t)("Search")},C&&r.createElement($,{state:te,update:be})),he?r.createElement(de,null):r.createElement(Se,{token:Q,state:G,otherSymbolsCount:q,onListTouchMove:function(){var e;null===(e=y.current)||void 0===e||e.blur()},onChangeSymbolTypeFilter:function(e){const{value:t}=e;f(t),o(-1)},onResetFilters:function(){var e;f((0,P.getAllSymbolTypesValue)()),Ce&&d(Ce);ie(!1),l||null===(e=y.current)||void 0===e||e.focus()},brokerTitle:se,isBrokerChecked:le,onBrokerCheckboxChange:function(e){ie("on"!==e)},listRef:ee,listWrapRef:X}),H);function ve(){if(!y.current)return;const[e,t,n]=(0,i.getCurrentTokenParamsFromInput)(y.current,T);K.current=t,te.current={selectedIndexValue:-1,searchSpreadsValue:(0,i.isSpread)(n),searchTokenValue:e},ne.current||(ne.current=setTimeout(be,0))}function fe(){if(!y.current)return;const[,e]=(0,i.getCurrentTokenParamsFromInput)(y.current,T);e!==K.current&&ve()}function ge(){u.enabled("show_spread_operators")?ve():y.current&&(te.current={selectedIndexValue:-1,searchSpreadsValue:!1,searchTokenValue:y.current.value},ne.current||(ne.current=setTimeout(be,0)))}function be(){const{selectedIndexValue:e,searchTokenValue:t,searchSpreadsValue:n}=te.current;ne.current=null,(0,F.unstable_batchedUpdates)(()=>{x(n),o(e),Y(T?t.toUpperCase():t)})}async function xe(e,t,n){try{"noop"===G?j("loading"):(Ie(),re.current=setTimeout(()=>{j("loading")},500)),Ne();const r=await async function(e,t,n,r){var o,a,s,l;const d=u.enabled("show_spread_operators")?(0,i.shortName)(t):null===(o=y.current)||void 0===o?void 0:o.value;let h;if(le&&oe){const t=await(0,O.respectAbort)(e,oe.accountMetainfo());h=t.prefix}const p=u.enabled("show_spread_operators")?null!==(s=null!==(a=(0,i.getExchange)(t))&&void 0!==a?a:h)&&void 0!==s?s:null==r?void 0:r.getRequestExchangeValue():null==c?void 0:c.getRequestExchangeValue(),m=(0,i.getExchange)(t)||null===(l=r||c)||void 0===l?void 0:l.getRequestCountryValue(),v={serverHighlight:!1,text:d,exchange:p,country:m,type:n,lang:window.language||"",brokerId:ae,onlyTradable:Boolean(ae)&&le,unhideSymbolSearchGroups:ce,signal:e},f=(0,J.getSearchRequestDelay)();void 0!==f&&await(0,O.delay)(e,f);return A?A(v):B(v)}(U.current.signal,e,t,n),o=ue(function(e,t=window.ChartApiInstance.symbolsGrouping()){var n;const r={},o=[];for(let a=0;a{const{defaultSearchSource:t,searchSources:n}=e,r=De.getValue("symboledit.exchangefilter","");return n.find(e=>e.value()===r)||t});return[t,(0,r.useCallback)(e=>{var t;n(e),t=e,De.setValue("symboledit.exchangefilter",t.value())},[])]}function Me(e){const[t,n]=(0,r.useState)(()=>{if(1===e.types.length)return e.types[0].value;const t=De.getValue("symboledit.filter",(0,P.getAllSymbolTypesValue)());return e.types.find(e=>e.value===t)?t:(0,P.getAllSymbolTypesValue)()});return[t,(0,r.useCallback)(e=>{var t;n(e),t=e,De.setValue("symboledit.filter",t)},[])]}var Le=n(36947),Ae=n(82708),Fe=n(6215);const Oe=(0,P.getAvailableSearchSources)(),Re=(0,P.getDefaultSearchSource)(),Be=u.enabled("uppercase_instrument_names");function Pe(e){var t;const{onClose:n,initialMode:o,defaultValue:a="",showSpreadActions:h,hideMarkedListFlag:p,selectSearchOnInit:v=!0,onSearchComplete:g,onSearchFeedReady:y,dialogTitle:b=(0,s.t)("Symbol Search"),placeholder:S,fullscreen:x,initialScreen:C,wrapper:k,dialog:E,contentItem:w,footer:I,searchInput:N,emptyState:H,autofocus:_,dialogWidth:D,onKeyDown:T,searchSourcesScreen:M,customSearchSymbols:L,isDisableFiltering:F}=e,O=(0,r.useMemo)(()=>F?[]:e.symbolTypes?e.symbolTypes:(0,P.getAvailableSymbolTypes)(),[]),J=void 0!==e.input,z=F?[]:Oe,[W,U]=(0,r.useState)(o),q=(0,r.useRef)(a),[Z,G]=Te({searchSources:z,defaultSearchSource:Re}),[j,K]=Me({types:O}),[Q,$]=(0,r.useState)([]),[Y,X]=(0,r.useState)(!1),[ee,te]=(0,r.useState)(-1),ne=(0,r.useRef)(null!==(t=e.input)&&void 0!==t?t:null),[re,oe]=(0,r.useState)(!1),ae=(0,Le.useForceUpdate)(),[se,le]=(0,r.useState)(new Set),{broker:ie=null,brokerId:ce,unhideSymbolSearchGroups:ue="",displayBrokerSymbol:de=!1}={brokerId:void 0};(0,r.useLayoutEffect)(()=>{var e;!(null==ne?void 0:ne.current)||!J&&Boolean(null===(e=ne.current)||void 0===e?void 0:e.value)||(J||"compare"===W||(ne.current.value=q.current),!_||J&&"symbolSearch"!==W||ne.current.focus())},[W]),(0,r.useEffect)(()=>{(null==ne?void 0:ne.current)&&v&&_&&ne.current.select()},[]);const he=(0, -r.useMemo)(()=>Q.reduce((e,t)=>{const n=Ve(t),r=se.has(n);return e.push(t),r&&t.contracts&&e.push(...t.contracts.map(e=>({...e,parent:t}))),e},[]),[Q,se]),pe=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e;-1!==ee&&(null===(e=pe.current)||void 0===e||e.scrollIntoView({block:"nearest"}))},[ee,pe]);const me=(0,r.useMemo)(()=>he.map((e,t)=>{var n,r,o,a;if(R(e)){const o=Ve(e),a=e.contracts?se.has(o):void 0,s=t===ee;return{key:t,id:o,title:ze(e,de),description:e.description,isOffset:!1,onClick:xe.bind(null,e),providerId:e.provider_id,source:e.source,country:null===(n=e.country)||void 0===n?void 0:n.toLocaleLowerCase(),type:e.type,exchangeName:e.exchange,marketType:(0,He.marketType)(e.type,e.typespecs),isEod:null===(r=e.params)||void 0===r?void 0:r.includes("eod"),isExpanded:a,onExpandClick:e.contracts?Ce.bind(null,o):void 0,fullSymbolName:P.isOpenFirstContractEnabled&&e.contracts?_e.QualifiedSources.fromSymbolSearchResult(e,e.contracts[0]):_e.QualifiedSources.fromSymbolSearchResult(e),itemRef:s?pe:void 0,isSelected:t===ee,hideMarkedListFlag:p,item:e,logoId:e.logoid,currencyLogoId:e["currency-logoid"],baseCurrencyLogoId:e["base-currency-logoid"],shortName:(0,Ae.safeShortName)(_e.QualifiedSources.fromSymbolSearchResult(e)),currencyCode:e.currency_code}}{const{parent:n}=e,r=Ve(n),s=t===ee;return{key:t,id:r+e.symbol,dangerousTitleHTML:ze(e,de),dangerousDescriptionHTML:`${n.description} (${e.description})`,isOffset:!0,isEod:null===(o=e.params)||void 0===o?void 0:o.includes("eod"),onClick:ke.bind(null,e.parent,e),providerId:n.provider_id,country:null===(a=n.country)||void 0===a?void 0:a.toLowerCase(),type:n.type,exchangeName:n.exchange,marketType:(0,He.marketType)(n.type,e.typespecs),fullSymbolName:_e.QualifiedSources.fromSymbolSearchResult(e.parent,e),itemRef:s?pe:void 0,isSelected:s,hideMarkedListFlag:p,item:e}}}),[Q,se,W,ee,T]),ve=null!=E?E:Ue,fe=ve!==Ue&&!J,ge=(e,t)=>({mode:W,setMode:U,selectedSearchSource:Z,setSelectedSearchSource:G,isAllSearchSourcesSelected:f.isAllSearchSourcesSelected,selectedSymbolType:j,setSelectedSymbolType:K,selectedIndex:ee,setSelectedIndex:te,onClose:n,setRenderSymbolSearchList:$,searchRef:ne,cachedInputValue:q,searchSpreads:Y,setSearchSpreads:X,handleListWidth:we,isSmallWidth:re,feedItems:me,isMobile:e,showSpreadActions:h,selectSearchOnInit:v,isTablet:t,selectedItem:he[ee],onSearchFeedReady:y,forceUpdate:ae,placeholder:S,initialScreen:C,toggleExpand:Ce,openedItems:se,onSubmit:Fe,onSearchComplete:g,footer:I,symbolTypes:O,contentItem:w,searchInput:N,emptyState:H,autofocus:_,upperCaseEnabled:Be,externalInput:J,handleKeyDown:fe?void 0:De,customSearchSymbols:L,searchSources:z}),ye=null!=M?M:A,be="exchange"===W?{title:(0,s.t)("Sources"),dataName:"exchanges-search",render:()=>r.createElement(ye,{searchSources:z}),additionalHeaderElement:r.createElement(Ne,null),additionalElementPos:"before"}:{title:b,dataName:"symbol-search-items-dialog",render:()=>r.createElement(Ee,null),additionalElementPos:"after"},Se=null!=k?k:"div";return r.createElement(Se,null,r.createElement(c.MatchMediaMap,{ -rules:d.DialogBreakpoints},({TabletSmall:e,TabletNormal:t})=>r.createElement(m.SymbolSearchItemsDialogContext.Provider,{value:ge(e,t)},r.createElement(ve,{...be,fullScreen:x,onClose:n,onClickOutside:n,onKeyDown:fe?void 0:De,isOpened:!0}))));function xe(e){if(e.contracts)return P.isOpenFirstContractEnabled&&e.contracts.length?void ke(e,e.contracts[0]):void Ce(Ve(e));ke(e)}function Ce(e){const t=new Set(se);t.has(e)?t.delete(e):t.add(e),le(t)}function ke(e,t){const r=t||e,{exchange:o}=e;if(u.enabled("show_spread_operators")){const e={name:r.symbol,exchange:o,prefix:r.prefix,fullName:r.full_name};if(Y)return Ie(e),void ae();if(ne.current&&ne.current.value.includes(","))return void Ie(e)}const a=[{resolved:!0,symbol:_e.QualifiedSources.fromSymbolSearchResult(e,t),result:r}];g(a),n()}function we(e){oe("fixed"===D||e<=640)}function Ie(e){if(!ne.current)return;const[t,n]=(0,i.getNextSymbolInputValueAndPosition)(ne.current,e,Be);ne.current.value=t,ne.current.setSelectionRange(n,n),ne.current.focus()}function De(e){switch((0,V.hashFromEvent)(e)){case 38:if(e.preventDefault(),0===ee)return;if(-1===ee)return void te(0);te(ee-1);break;case 40:if(e.preventDefault(),ee===me.length-1)return;te(ee+1);break;case 37:{if(-1===ee)return;const t=me[ee],{id:n,isOffset:r,onExpandClick:o}=t;if(r||!n||!se.has(n)||!Boolean(o)||P.isOpenFirstContractEnabled&&Boolean(T)||(e.preventDefault(),Ce(n)),o)return void(null==T||T(e,!0));break}case 39:{if(-1===ee)return;const t=me[ee],{id:n,isOffset:r,onExpandClick:o}=t;if(r||!n||se.has(n)||!Boolean(o)||P.isOpenFirstContractEnabled&&Boolean(T)||(e.preventDefault(),Ce(n)),o)return void(null==T||T(e,!0));break}case 13:e.preventDefault(),Fe(!0);break;case 27:e.preventDefault(),n()}null==T||T(e)}function Fe(e){if(!ne.current)return;const t=ne.current.value;if(u.enabled("show_spread_operators")&&Y&&t){if(t.includes(",")){const r=We(t);if(r.some(e=>!Pe(e)))return;return g(r.map(Je)),void(e&&n())}if(!Pe(t))return;return g([{symbol:Be?t.toUpperCase():t,resolved:!1}]),void(e&&n())}if(t.includes(","))return g(We(t).map(Je)),void(e&&n());if(-1!==ee){me[ee].onClick()}else{const r=Be?t.toUpperCase():t;if(r&&""!==r.trim()){const e=We(r);if(void 0!==ce&&-1===r.indexOf(":"))(function(e){let t=!1;return Promise.all(e.map(e=>-1!==e.indexOf(":")||t?Promise.resolve({symbol:e,resolved:!1}):(t=!0,async function(e){var t;null===(t=await(null==ie?void 0:ie.accountMetainfo()))||void 0===t||t.prefix;const n=await B({strictMatch:!0,serverHighlight:!1,text:e,lang:window.language||"",brokerId:ce,onlyTradable:!0,unhideSymbolSearchGroups:ue,exchange:void 0});if(0!==n.length){const e=n[0],{contracts:t}=e,r=t&&t.length>0?t[0]:void 0,o=e.prefix||e.exchange,a=r?r.symbol:e.symbol;if(o&&a)return{symbol:_e.QualifiedSources.fromSymbolSearchResult(e,r),resolved:!0,result:e}}return{symbol:e,resolved:!1}}(e))))})(e).then(e=>g(e));else{const t=e.map(Je);g(t)}}e&&n()}}function Pe(e){const t=(0,l.tokenize)(e),n=(0,i.validate)(t);if(n.errors.length||n.warnings.length)return!1;const r=me[ee];return!r||void 0===r.isExpanded||(r.onClick(),!1)}} -function Je(e){return{symbol:Be?e.toUpperCase():e,resolved:!1}}function ze(e,t){const{broker_symbol:n,symbol:r}=e;return`${r}${t&&n?` (${n})`:""}`}function Ve(e){return e.symbol+e.exchange+e.description}function We(e){return e.split(",").map(e=>e.trim()).filter(e=>""!==e)}function Ue(e){const{isMobile:t,isTablet:n}=(0,S.useEnsuredContext)(m.SymbolSearchItemsDialogContext);return r.createElement(h.AdaptivePopupDialog,{...e,className:a()(Fe.dialog,!t&&(n?Fe.tabletDialog:Fe.desktopDialog)),backdrop:!0,draggable:!1})}},15983:(e,t,n)=>{"use strict";n.d(t,{validate:()=>s,flip:()=>l,stringifyTokens:()=>i,isSpread:()=>u,shortName:()=>h,getExchange:()=>p,getNextSymbolInputValueAndPosition:()=>v,getCurrentTokenParamsFromInput:()=>f});var r=n(67337),o=n(7785),a=n(81319);function s(e){const t={braceBalance:0,currentState:"var",warnings:[],errors:[]};if(r.enabled("charting_library_base")&&!r.enabled("show_spread_operators"))return t;let n="init";const o=[];for(let r=0;r"symbol"===t.type&&o.symbolTokenEscapeRe.test(t.value)?e+`'${t.value}'`:e+t.value,"")}function c(e){return"plus"===e||"minus"===e||"multiply"===e||"divide"===e||"power"===e}function u(e){return e.length>1&&e.some(e=>c(e.type))}function d(e){e=function(e){ -const t=[];for(const n of e)"whitespace"!==n.type&&t.push(n);return t}(e);const t=[],n=[];let r;for(let o=0;oa.precedence&&(n[n.length-1].minPrecedence=a.precedence);break;case"openBrace":r={minPrecedence:1/0,openBraceIndex:o},n.push(r);break;case"closeBrace":{if(r=n.pop(),!r)break;const a=e[r.openBraceIndex-1],s=e[o+1],l=a&&("plus"===a.type||"multiply"===a.type);(!c(null==s?void 0:s.type)||(null==s?void 0:s.precedence)<=r.minPrecedence)&&(!c(null==a?void 0:a.type)||(null==a?void 0:a.precedence)<(null==r?void 0:r.minPrecedence)||(null==a?void 0:a.precedence)===(null==r?void 0:r.minPrecedence)&&l)&&(t.unshift(r.openBraceIndex),t.push(o),n.length&&n[n.length-1].minPrecedence>r.minPrecedence&&(n[n.length-1].minPrecedence=r.minPrecedence))}}}for(let n=t.length;n--;)e.splice(t[n],1);return e}function h(e){return d((0,o.tokenize)(e)).reduce((e,t)=>{if("symbol"!==t.type)return e+t.value;const[,n]=m(t);return n?e+n:e},"")}function p(e){const t=function(e){const t=(0,o.tokenize)(e),n=[];return t.forEach(e=>{if("symbol"!==e.type)return;const[t]=m(e);t&&n.push(t)}),n}(e);if(1===t.length)return t[0]}function m(e){const t=/^'?(?:([A-Z0-9_]+):)?(.*?)'?$/i.exec(e.value);return null===t?[void 0,void 0]:[t[1],t[2]]}function v(e,t,n){const r=e.value,[s,l]=f(e,n),i=(0,a.getSymbolFullName)(t),c=o.symbolTokenEscapeRe.test(i)?`'${i}'`:i;return[r.substring(0,l)+c+r.substring(l+s.length),l+c.length]}function f(e,t){const{value:n,selectionStart:r}=e,a=(0,o.tokenize)(t?n.toUpperCase():n),s=function(e,t){for(let n=0;n{"use strict";n.d(t,{exchangeSelectDisabled:()=>p,getAllSymbolTypesValue:()=>h,getAvailableExchanges:()=>c,getAvailableSearchSources:()=>i,getAvailableSymbolTypes:()=>d,getDefaultSearchSource:()=>l,getSymbolFullName:()=>s,isOpenFirstContractEnabled:()=>m});var r=n(28353),o=n(20882);class a{constructor(e){this._exchange=e}value(){return this._exchange.value}name(){return(0,o.isAllSearchSourcesSelected)(this)?(0,r.t)("All sources"):this._exchange.name}description(){return this._exchange.desc}country(){return this._exchange.country}providerId(){return this._exchange.providerId}group(){return this._exchange.group}includes(e){return function(e,t){const n=t.toLowerCase(),{name:r,desc:o,searchTerms:a}=e;return r.toLowerCase().includes(n)||o.toLowerCase().includes(n)||void 0!==a&&a.some(e=>e.toLowerCase().includes(n))}(this._exchange,e)}getRequestExchangeValue(){return this._exchange.value}getRequestCountryValue(){}}function s(e){if(e.fullName)return e.fullName;let t;return t=e.prefix||e.exchange?(e.prefix||e.exchange)+":"+e.name:e.name,t.replace(/<\/?[^>]+(>|$)/g,"")}function l(){const e=i();return e.find(o.isAllSearchSourcesSelected)||e[0]||null} -function i(){return(0,o.createSearchSources)(a,u())}function c(){return u()}function u(){return window.ChartApiInstance.supportedExchangesList().map(e=>({...e,country:"",providerId:"",flag:""}))}function d(){return window.ChartApiInstance.supportedSymbolsTypes()}function h(){return""}function p(){return!1}const m=!1},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>r,dialogsOpenerManager:()=>o});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 o=new r},82708:(e,t,n)=>{"use strict";n.d(t,{safeShortName:()=>o});var r=n(82029);function o(e){try{return(0,r.shortName)(e)}catch(t){return e}}},7785:(e,t,n)=>{"use strict";n.d(t,{symbolTokenEscapeRe:()=>a,tokenize:()=>i});var r=n(67337);const o=r.enabled("charting_library_base")?/(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF^])(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!:.&])*|'.+?'/:/(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF])(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!|:.&])*|'.+?'/,a=/[+\-/*]/,s={number:/\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))|\.\d+/,incompleteNumber:/\./,symbol:o,incompleteSymbol:/'[^']*/,separatorPrefix:"###",openBrace:"(",closeBrace:")",plus:"+",minus:"-",multiply:"*",divide:"/",power:"^",whitespace:/[\0-\x20\s]+/,unparsed:null},l=new RegExp(Object.values(s).map(e=>{return null===e?"":`(${"string"==typeof e?(t=e,t.replace(/[\^$()[\]{}*+?|\\]/g,"\\$&")):e.source})`;var t}).filter(e=>""!==e).concat(".").join("|"),"g");function i(e){if(!e)return[];const t=[],n=Object.keys(s);let r;for(;r=l.exec(e);){let e=!1;for(let o=n.length;o--;)if(r[o+1]){n[o]&&t.push({value:r[o+1],type:n[o],precedence:0,offset:r.index}),e=!0;break}e||t.push({value:r[0],type:"unparsed",precedence:0,offset:r.index})}return t}},19785:(e,t,n)=>{"use strict";n.d(t,{rankedSearch:()=>o,createRegExpList:()=>a,getHighlightedChars:()=>s});var r=n(80643);function o(e){const{data:t,rules:n,queryString:o,isPreventedFromFiltering:a,primaryKey:s,secondaryKey:l=s,optionalPrimaryKey:i}=e;return t.map(e=>{const t=i&&e[i]?e[i]:e[s],a=e[l];let c,u=0;return n.forEach(e=>{var n,s,l,i;const{re:d,fullMatch:h}=e;return d.lastIndex=0,t&&t.toLowerCase()===o.toLowerCase()?(u=3,void(c=null===(n=t.match(h))||void 0===n?void 0:n.index)):(0,r.isString)(t)&&h.test(t)?(u=2,void(c=null===(s=t.match(h))||void 0===s?void 0:s.index)):(0,r.isString)(a)&&h.test(a)?(u=1,void(c=null===(l=a.match(h))||void 0===l?void 0:l.index)):void((0,r.isString)(a)&&d.test(a)&&(u=1,c=null===(i=a.match(d))||void 0===i?void 0:i.index))}),{matchPriority:u,matchIndex:c,item:e}}).filter(e=>a||e.matchPriority).sort((e,t)=>{if(e.matchPriorityt.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndexe)} -function a(e,t){const n=[],r=e.toLowerCase(),o=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+l(e):l(e)})`).join("(.*?)")+"(.*)";return n.push({fullMatch:new RegExp(`(${l(e)})`,"i"),re:new RegExp("^"+o,"i"),reserveRe:new RegExp(o,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(r)&&n.push({fullMatch:t[r],re:t[r],fuzzyHighlight:!1}),n}function s(e,t,n){const r=[];return e&&n?(n.forEach(e=>{const{fullMatch:n,re:o,reserveRe:a}=e;n.lastIndex=0,o.lastIndex=0;const s=n.exec(t),l=s||o.exec(t)||a&&a.exec(t);if(e.fuzzyHighlight=!s,l)if(e.fuzzyHighlight){let e=l.index;for(let t=1;t{"use strict";n.d(t,{HighlightedText:()=>l});var r=n(59496),o=n(97754),a=n(19785),s=n(81524);function l(e){const{queryString:t,rules:n,text:l,className:i}=e,c=(0,r.useMemo)(()=>(0,a.getHighlightedChars)(t,l,n),[t,n,l]);return r.createElement(r.Fragment,null,c.length?l.split("").map((e,t)=>r.createElement(r.Fragment,{key:t},c[t]?r.createElement("span",{className:o(s.highlighted,i)},e):r.createElement("span",null,e))):l)}},78036:(e,t,n)=>{"use strict";n.d(t,{useEnsuredContext:()=>a});var r=n(59496),o=n(88537);function a(e){return(0,o.ensureNotNull)((0,r.useContext)(e))}},36947:(e,t,n)=>{"use strict";n.d(t,{useForceUpdate:()=>o});var r=n(59496);const o=()=>{const[,e]=(0,r.useReducer)((e,t)=>e+1,0);return e}},77975:(e,t,n)=>{"use strict";n.d(t,{useWatchedValueReadonly:()=>o});var r=n(59496);const o=(e,t=!1)=>{const n="watchedValue"in e?e.watchedValue:void 0,o="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[a,s]=(0,r.useState)(n?n.value():o);return(t?r.useLayoutEffect:r.useEffect)(()=>{if(n){s(n.value());const e=e=>s(e);return n.subscribe(e),()=>n.unsubscribe(e)}return()=>{}},[n]),a}},84877:(e,t,n)=>{"use strict";n.d(t,{MatchMediaMap:()=>s});var r=n(59496),o=n(66783),a=n.n(o);class s extends r.Component{constructor(e){super(e),this._handleMediaChange=()=>{const e=i(this.state.queries,(e,t)=>t.matches);let t=!1;for(const n in e)if(e.hasOwnProperty(n)&&this.state.matches[n]!==e[n]){t=!0;break}t&&this.setState({matches:e})};const{rules:t}=this.props;this.state=l(t)}shouldComponentUpdate(e,t){return!a()(e,this.props)||(!a()(t.rules,this.state.rules)||!a()(t.matches,this.state.matches))}componentDidMount(){this._migrate(null,this.state.queries)}componentDidUpdate(e,t){a()(e.rules,this.props.rules)||this._migrate(t.queries,this.state.queries)}componentWillUnmount(){this._migrate(this.state.queries,null)}render(){return this.props.children(this.state.matches)}static getDerivedStateFromProps(e,t){if(a()(e.rules,t.rules))return null;const{rules:n}=e;return l(n)}_migrate(e,t){null!==e&&i(e,(e,t)=>{t.removeListener(this._handleMediaChange)}),null!==t&&i(t,(e,t)=>{t.addListener(this._handleMediaChange)})}}function l(e){const t=i(e,(e,t)=>window.matchMedia(t));return{queries:t,matches:i(t,(e,t)=>t.matches), -rules:{...e}}}function i(e,t){const n={};for(const r in e)e.hasOwnProperty(r)&&(n[r]=t(r,e[r]));return n}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>s});var r=n(59496),o=n(97754),a=n(91626);function s(e){return r.createElement("div",{className:o(a.separator,e.className)})}},61074:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>s});var r=n(59496),o=n(97754),a=n(33134);n(24780);function s(e){const t=o(e.className,"tv-spinner","tv-spinner--shown","tv-spinner--size_"+a.spinnerSizeMap[e.size||a.DEFAULT_SIZE]);return r.createElement("div",{className:t,style:e.style,role:"progressbar"})}},10381:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetCaret:()=>i});var r=n(59496),o=n(97754),a=n(9745),s=n(40367),l=n(81268);function i(e){const{dropped:t,className:n}=e;return r.createElement(a.Icon,{className:o(n,s.icon,{[s.dropped]:t}),icon:l})}},81268:e=>{e.exports=''},64360:e=>{e.exports=''},29601:e=>{e.exports=''},37257:e=>{e.exports=''},70029:e=>{e.exports=''},72802:e=>{ -e.exports=''},5639:e=>{e.exports=''},88142:e=>{e.exports=''},20832:e=>{e.exports=''},19586:e=>{e.exports=''},21740:e=>{e.exports=''},43088:e=>{e.exports=''},38927:e=>{e.exports=''},56584:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/2316.b0ed604f1b75887fab7d.css b/charting_library/bundles/2316.b0ed604f1b75887fab7d.css deleted file mode 100644 index 0eaa9159..00000000 --- a/charting_library/bundles/2316.b0ed604f1b75887fab7d.css +++ /dev/null @@ -1 +0,0 @@ -.content-ByXdMGQj{box-sizing:border-box;color:#131722;display:inline-grid;grid-template-columns:auto 1fr;max-width:550px;padding:16px 20px;width:100%}html.theme-dark .content-ByXdMGQj{color:#b2b5be}.cell-ByXdMGQj .inner-ByXdMGQj{align-items:center;display:flex;padding:8px 0}.cell-ByXdMGQj.first-ByXdMGQj{align-items:center;display:flex;min-width:0}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{word-wrap:break-word;cursor:default;display:block;min-width:0;padding-right:20px}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj:first-letter{text-transform:capitalize}.cell-ByXdMGQj.first-ByXdMGQj.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding-right:0}.cell-ByXdMGQj.fill-ByXdMGQj{grid-column:1/3}.cell-ByXdMGQj.top-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.topCenter-ByXdMGQj{align-items:flex-start;padding-top:8px}.cell-ByXdMGQj:only-child{max-width:340px}.cell-ByXdMGQj.offset-ByXdMGQj{padding-left:26px}.inlineRow-ByXdMGQj{display:flex}.inlineCell-ByXdMGQj{margin-right:8px}.grouped-ByXdMGQj .inner-ByXdMGQj,.inlineCell-ByXdMGQj .inner-ByXdMGQj{padding:4px 0}.separator-ByXdMGQj{background-color:#e0e3eb;height:1px;margin:8px -20px}html.theme-dark .separator-ByXdMGQj{background-color:#434651}.groupSeparator-ByXdMGQj{height:8px}.groupSeparator-ByXdMGQj.big-ByXdMGQj{height:14px}@media screen and (max-width:379px){.content-ByXdMGQj{grid-template-columns:1fr min-content}.cell-ByXdMGQj.first-ByXdMGQj .inner-ByXdMGQj{padding:8px 20px 8px 0}.cell-ByXdMGQj.adaptive-ByXdMGQj{align-items:flex-start}.cell-ByXdMGQj.adaptive-ByXdMGQj:not(.checkableTitle-ByXdMGQj):not(.inlineCell-ByXdMGQj){padding-top:8px}}.wrap-GsOqvniR{align-items:center;background-color:#f0f3fa;border-radius:4px;box-sizing:border-box;display:flex;height:34px;justify-content:space-between;max-width:180px;min-width:100px;padding:7px 8px 6px}html.theme-dark .wrap-GsOqvniR{background-color:#2a2e39}@media (any-hover:hover){.wrap-GsOqvniR:hover{background-color:#e0e3eb}html.theme-dark .wrap-GsOqvniR:hover{background-color:#434651}.wrap-GsOqvniR:hover .icon-GsOqvniR{color:#131722}html.theme-dark .wrap-GsOqvniR:hover .icon-GsOqvniR{color:#b2b5be}}.text-GsOqvniR{color:#131722;cursor:default;line-height:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.theme-dark .text-GsOqvniR{color:#b2b5be}.icon-GsOqvniR{align-self:flex-start;color:#787b86;height:18px;margin-left:8px}.disabled-GsOqvniR{pointer-events:none}.disabled-GsOqvniR .icon-GsOqvniR,.disabled-GsOqvniR .text-GsOqvniR{color:#b2b5be}html.theme-dark .disabled-GsOqvniR .icon-GsOqvniR,html.theme-dark .disabled-GsOqvniR .text-GsOqvniR{color:#50535e}.wrap-dHwHcgvB{align-items:center;display:flex;max-width:100%;overflow-wrap:break-word}.wrap-dHwHcgvB:before{content:"";flex:none;height:34px;width:0}.checkbox-24x04noU{min-width:0}.title-24x04noU{cursor:default;min-width:0}.hasTooltip-0t5K1wco{margin-right:9px}.uppercase-0t5K1wco{text-transform:uppercase}.innerLabel-MS9pjVpT{color:#d1d4dc;display:flex;flex:0 0 auto;font-size:16px;padding-left:5px}html.theme-dark .innerLabel-MS9pjVpT{color:#50535e}.controlWrapper-y2rn9wiU{box-sizing:border-box;height:100%;overflow:hidden;width:22px}.controlWrapper-y2rn9wiU.hidden-y2rn9wiU{opacity:0}.control-y2rn9wiU{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;color:#787b86;cursor:default;display:flex;flex:0 0 auto;height:50%;padding:0 6px;transition:color .35s ease,background-color .35s ease}.control-y2rn9wiU svg{fill:currentColor}@media (any-hover:hover){.control-y2rn9wiU:hover{background-color:#f0f3fa;color:#131722}html.theme-dark .control-y2rn9wiU:hover{background-color:#363a45;color:#b2b5be}}.controlIncrease-y2rn9wiU{transform:rotate(180deg)}.controlIcon-y2rn9wiU{display:flex;flex:0 0 auto;justify-content:center;width:10px}.controlIcon-y2rn9wiU svg{width:100%}.title-y2rn9wiU{color:#b2b5be;display:flex;flex-direction:column;font-size:12px;justify-content:center;margin-right:9px}html.theme-dark .title-y2rn9wiU{color:#50535e}.wrap-sYKPueSl{display:flex}.thicknessItem-sYKPueSl{align-items:center;background-color:initial;border:1px solid #d1d4dc;box-sizing:border-box;display:inline-flex;flex:1;height:32px;justify-content:center;padding:0 12px;position:relative}html.theme-dark .thicknessItem-sYKPueSl{background-color:initial;border-color:#50535e}@media (any-hover:hover){.thicknessItem-sYKPueSl:hover{background-color:#f0f3fa}html.theme-dark .thicknessItem-sYKPueSl:hover{background-color:#2a2e39}}.thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff;z-index:1}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl{background-color:#2962ff;border-color:#2962ff}@media (any-hover:hover){.thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}html.theme-dark .thicknessItem-sYKPueSl.checked-sYKPueSl:hover{background-color:#2962ff;border-color:#2962ff}}.thicknessItem-sYKPueSl+.thicknessItem-sYKPueSl{margin-left:-1px}.thicknessItem-sYKPueSl:first-child{border-bottom-left-radius:3px;border-top-left-radius:3px;margin-left:0}.thicknessItem-sYKPueSl:last-child{border-bottom-right-radius:3px;border-top-right-radius:3px}.radio-sYKPueSl{height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;top:0;width:100%}.bar-sYKPueSl{border:0 solid #131722;height:0;width:100%}html.theme-dark .bar-sYKPueSl{border:0 solid #b2b5be}.bar-sYKPueSl.checked-sYKPueSl,html.theme-dark .bar-sYKPueSl.checked-sYKPueSl{border-top-color:#fff}.thicknessContainer-ofeynovw{padding:0 12px}.thicknessTitle-ofeynovw{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-ofeynovw{color:#787b86}.colorPickerWrap-pz6IRAmC{align-items:center;border-color:#d1d4dc;border-radius:4px;border-style:solid;box-sizing:border-box;display:inline-flex;margin:0;position:relative}html.theme-dark .colorPickerWrap-pz6IRAmC{border-color:#50535e}@media (any-hover:hover){.colorPickerWrap-pz6IRAmC:hover{border-color:#a3a6af}html.theme-dark .colorPickerWrap-pz6IRAmC:hover{border-color:#6a6d78}}.colorPickerWrap-pz6IRAmC.focused-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.focused-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.readonly-pz6IRAmC{background-color:#2a2e39;border-color:#50535e}.colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#f0f3fa;border-color:#d1d4dc;color:#b2b5be}html.theme-dark .colorPickerWrap-pz6IRAmC.disabled-pz6IRAmC{background-color:#2a2e39;border-color:#50535e;color:#50535e}.colorPickerWrap-pz6IRAmC.size-small-pz6IRAmC{height:24px}.colorPickerWrap-pz6IRAmC.size-medium-pz6IRAmC{height:34px}.colorPickerWrap-pz6IRAmC.size-large-pz6IRAmC{height:48px}.colorPickerWrap-pz6IRAmC.font-size-medium-pz6IRAmC,.colorPickerWrap-pz6IRAmC.font-size-small-pz6IRAmC{font-size:14px;line-height:20px}.colorPickerWrap-pz6IRAmC.font-size-large-pz6IRAmC{font-size:16px;line-height:24px}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC{border-width:0}.colorPickerWrap-pz6IRAmC.border-none-pz6IRAmC .shadow-pz6IRAmC{margin:0}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC{border-width:1px}.colorPickerWrap-pz6IRAmC.border-thin-pz6IRAmC .shadow-pz6IRAmC{margin:-1px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC{border-width:2px}.colorPickerWrap-pz6IRAmC.border-thick-pz6IRAmC .shadow-pz6IRAmC{margin:-2px}.colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#d1d4dc}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-default-pz6IRAmC .shadow-pz6IRAmC{border-color:#50535e}.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-success-pz6IRAmC .shadow-pz6IRAmC{border-color:#06806b}.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-warning-pz6IRAmC .shadow-pz6IRAmC{border-color:#ff9800}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#f23645}html.theme-dark .colorPickerWrap-pz6IRAmC.intent-danger-pz6IRAmC .shadow-pz6IRAmC{border-color:#b22833}.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,.colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC,html.theme-dark .colorPickerWrap-pz6IRAmC.intent-primary-pz6IRAmC .shadow-pz6IRAmC{border-color:#2962ff}.colorPickerWrap-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-left-radius:0}.colorPickerWrap-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-right-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-right-radius:0}.colorPickerWrap-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-left-radius:0}.shadow-pz6IRAmC{border:2px solid;border-radius:4px;bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:3}.shadow-pz6IRAmC.corner-top-left-pz6IRAmC{border-top-left-radius:0}.shadow-pz6IRAmC.corner-top-right-pz6IRAmC{border-top-right-radius:0}.shadow-pz6IRAmC.corner-bottom-right-pz6IRAmC{border-bottom-right-radius:0}.shadow-pz6IRAmC.corner-bottom-left-pz6IRAmC{border-bottom-left-radius:0}.colorPicker-pz6IRAmC{align-items:center;display:flex;justify-content:center;padding:4px}.colorPicker-pz6IRAmC.disabled-pz6IRAmC{opacity:.5}.swatch-pz6IRAmC{border-radius:3px;box-sizing:border-box;display:block;height:100%;width:100%}.placeholderContainer-pz6IRAmC{border-radius:3px;height:24px;overflow:hidden;position:relative;width:24px}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f;height:24px;width:24px}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC{background-color:#f7525f}.placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-left:24px solid #0000;border-top:24px solid #22ab94;content:" ";position:absolute;width:0}html.theme-dark .placeholderContainer-pz6IRAmC .placeholder-pz6IRAmC:after{border-top:24px solid #22ab94}.placeholderContainer-pz6IRAmC .mixedColor-pz6IRAmC{background:linear-gradient(270deg,#ff2e00,#ffe600 27.27%,#61ff00 50%,#00c2ff 72.44%,#8f00ff);height:100%}.white-pz6IRAmC{border:1px solid #d1d4dc}html.theme-dark .white-pz6IRAmC{border:1px solid #0000}.opacitySwatch-pz6IRAmC{background-color:#fff;background-image:url(a6506134daec7169f68f563f084a9d41.svg);background-size:50%;border-radius:3px;flex:0 0 24px;height:24px;position:relative;width:24px}html.theme-dark .opacitySwatch-pz6IRAmC{background-color:#000}.colorLine-pz6IRAmC{background-color:#131722;border-radius:1px;margin-left:8px;margin-right:4px;width:30px}html.theme-dark .colorLine-pz6IRAmC{background-color:#b2b5be}.colorLine-pz6IRAmC.white-pz6IRAmC{margin-left:7px;margin-right:3px}.multiWidth-pz6IRAmC{margin:0 4px 0 8px;width:30px}.line-pz6IRAmC{background-color:#131722;width:100%}html.theme-dark .line-pz6IRAmC{background-color:#b2b5be}.line-pz6IRAmC:first-child{border-radius:2px;height:3px;margin-bottom:4px}.line-pz6IRAmC:nth-child(2){border-radius:2px;height:2px;margin-bottom:4px}.line-pz6IRAmC:last-child{border-radius:1px;height:1px}.thicknessContainer-pz6IRAmC{padding:0 12px}.thicknessTitle-pz6IRAmC{color:#787b86;font-size:12px;line-height:14px;margin:6px 0 4px}html.theme-dark .thicknessTitle-pz6IRAmC{color:#787b86}.radio-vpA3AYsc{-webkit-tap-highlight-color:transparent;align-items:center;cursor:default;display:inline-flex;font-size:14px;font-stretch:normal;font-style:normal;font-weight:400;letter-spacing:normal;line-height:normal;position:relative;-webkit-user-select:none;user-select:none}@media (any-hover:hover){.radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#a3a6af}html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#5d606b}.radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#1e53e5}}.radio-vpA3AYsc.reverse-vpA3AYsc{flex-direction:row-reverse}.radio-vpA3AYsc.reverse-vpA3AYsc .label-vpA3AYsc{margin-left:0;margin-right:8px}.radio-vpA3AYsc .wrapper-vpA3AYsc{display:inline-block;flex-shrink:0;height:18px;position:relative;width:18px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc{display:inline-block;height:100%;position:relative;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{background-color:initial;border:1px solid #b2b5be;border-radius:50%;box-sizing:border-box;content:"";height:100%;position:absolute;transition:border-color .35s ease;width:100%}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{border:1px solid #50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:after{border:2px solid;border-color:#2962ffcc;border-radius:50%;box-sizing:border-box;content:"";height:26px;left:-4px;opacity:0;position:absolute;top:-4px;transform:scale(.69231);width:26px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc.noOutline-vpA3AYsc:after{content:none}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc{cursor:inherit;height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;top:0;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before{border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#fff;border-color:#2962ff;border-width:6px}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#d1d4dc;border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus-visible+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus:not(:focus-visible)+.box-vpA3AYsc:after{opacity:0;transform:scale(.69231)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#e0e3eb;border-color:#b2b5be}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#2a2e39;border-color:#50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#b2b5be;border-color:#e0e3eb}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#50535e;border-color:#2a2e39}.radio-vpA3AYsc .label-vpA3AYsc{color:#000;margin-left:8px;min-width:0}html.theme-dark .radio-vpA3AYsc .label-vpA3AYsc{color:#b2b5be}.textarea-container-I5L4qQPj{font-size:16px;font-style:normal;font-weight:400;line-height:24px;resize:none}.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#d1d4dc)}@media (any-hover:hover){.textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#d1d4dc)}}html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj{border-color:var(--ui-lib-intent-color,#50535e)}@media (any-hover:hover){html.theme-dark .textarea-container-I5L4qQPj.change-highlight-I5L4qQPj.focused-I5L4qQPj:hover{border-color:var(--ui-lib-intent-color,#50535e)}}.textarea-container-I5L4qQPj.resize-vertical-I5L4qQPj{overflow:hidden;resize:vertical}.textarea-container-I5L4qQPj.resize-horizontal-I5L4qQPj{overflow:hidden;resize:horizontal}.textarea-container-I5L4qQPj.resize-both-I5L4qQPj{overflow:hidden;resize:both}.textarea-I5L4qQPj{-webkit-text-fill-color:var(--ui-lib-control-text-fill-color,currentColor);-webkit-appearance:auto;appearance:textfield;background-color:initial;border:0;box-sizing:border-box;display:block;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;margin:0;min-width:0;order:0;outline:0;padding:2px 5px;resize:none;width:100%}.textarea-I5L4qQPj::placeholder{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .textarea-I5L4qQPj::placeholder{color:#434651}.textarea-I5L4qQPj::-webkit-calendar-picker-indicator,.textarea-I5L4qQPj::-webkit-clear-button,.textarea-I5L4qQPj::-webkit-inner-spin-button,.textarea-I5L4qQPj::-webkit-outer-spin-button,.textarea-I5L4qQPj::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.textarea-I5L4qQPj:-webkit-autofill,.textarea-I5L4qQPj:-webkit-autofill:active,.textarea-I5L4qQPj:-webkit-autofill:focus{border-radius:3px}@media (any-hover:hover){.textarea-I5L4qQPj:-webkit-autofill:hover{border-radius:3px}}html.theme-dark .textarea-I5L4qQPj::-webkit-calendar-picker-indicator{filter:invert(1)}.icon-OTC0ma9h{color:#787b86;height:18px;width:18px}.input-pBN3Orju{height:34px;margin-right:12px;width:100px}.input-pBN3Orju.symbol-pBN3Orju{width:150px}.input-pBN3Orju:last-child{margin-right:0}.checkbox-pBN3Orju{max-width:100%}.checkbox-pBN3Orju .label-pBN3Orju{display:inline-block;max-width:100%;min-width:0;overflow-wrap:break-word;vertical-align:top}.checkbox-pBN3Orju .label-pBN3Orju:first-letter{text-transform:capitalize}.dropdownMenu-pBN3Orju{min-width:100px}.sessionEnd-pBN3Orju,.sessionStart-pBN3Orju{align-items:center;display:inline-flex}.sessionInputContainer-pBN3Orju{margin-right:0}.sessionDash-pBN3Orju{flex:1 0 auto}.inputGroup-pBN3Orju{align-items:center;display:flex}.textarea-pBN3Orju{height:200px;padding-top:0;width:100%}@media screen and (max-width:379px){.input-pBN3Orju{margin-bottom:8px}.input-pBN3Orju:last-child{margin-bottom:0}.inputGroup-pBN3Orju{display:block}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju{display:flex}.inputGroup-pBN3Orju.inlineGroup-pBN3Orju .sessionStart-pBN3Orju,.sessionInputContainer-pBN3Orju{margin-bottom:0}.sessionStart-pBN3Orju{margin-bottom:8px}.sessionEnd-pBN3Orju{display:block}}.hasTooltip-pBN3Orju{margin-right:9px}.titleWrap-O5QDBhZc{color:#787b86;height:16px;text-transform:uppercase}.title-O5QDBhZc{font-size:11px}.wrap-l3G0HrB9{flex-direction:column}.labelWrap-l3G0HrB9{align-items:center;display:flex;margin-bottom:6px}.label-l3G0HrB9{word-break:break-word}.label-l3G0HrB9.hasTooltip-l3G0HrB9{margin-right:8px}.inlineRow-CqPNtHDN{align-items:center;display:flex;flex-wrap:wrap;grid-column:1/3;margin-right:-8px;padding:4px 0}.titleWrap-ZYQL0yaM{align-items:center;display:flex;height:34px;padding:24px 0 8px}.titleWrap-ZYQL0yaM:first-child{padding-top:8px}.groupFooter-ZYQL0yaM{height:16px}.groupFooter-ZYQL0yaM:last-child{height:0}.groupFooter-ZYQL0yaM,.titleWrap-ZYQL0yaM{grid-column:1/3}.groupFooter-ZYQL0yaM+.titleWrap-ZYQL0yaM{padding-top:8px} \ No newline at end of file diff --git a/charting_library/bundles/2331.3b08f9cb7e919f979749.js b/charting_library/bundles/2331.3b08f9cb7e919f979749.js new file mode 100644 index 00000000..9c899c94 --- /dev/null +++ b/charting_library/bundles/2331.3b08f9cb7e919f979749.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2331],{12331:(e,t,a)=>{var n=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,n={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof s?new s(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=c.reach);w+=x.value.length,x=x.next){var A=x.value;if(a.length>t.length)return;if(!(A instanceof s)){var $,S=1;if(b){if(!($=i(k,w,t,v))||$.index>=t.length)break;var E=$.index,_=$.index+$[0].length,j=w;for(j+=x.value.length;E>=j;)x=x.next,j+=x.value.length;if(j-=x.value.length,w=j,x.value instanceof s)continue;for(var C=x;C!==a.tail&&(j<_||"string"==typeof C.value);C=C.next)S++,j+=C.value.length;S--,A=t.slice(w,j),$.index-=w}else if(!($=i(k,0,A,v)))continue;E=$.index;var L=$[0],z=A.slice(0,E),O=A.slice(E+L.length),P=w+A.length;c&&P>c.reach&&(c.reach=P);var T=x.prev;z&&(T=o(a,T,z),w+=z.length),u(a,T,S);var M=new s(d,m?r.tokenize(L,m):L,y,L);if(x=o(a,T,M),O&&o(a,x,O),S>1){var D={cause:d+","+h,reach:P};e(t,a,n,x.prev,w,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(e,g,t,g.head,0),function(e){var t=[],a=e.head.next;for(;a!==e.tail;)t.push(a.value),a=a.next;return t}(g)},hooks:{all:{},add:function(e,t){var a=r.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=r.hooks.all[e];if(a&&a.length)for(var n,s=0;n=a[s++];)n(t)}},Token:s};function s(e,t,a,n){this.type=e,this.content=t,this.alias=a,this.length=0|(n||"").length}function i(e,t,a,n){e.lastIndex=t;var r=e.exec(a);if(r&&n&&r[1]){var s=r[1].length;r.index+=s,r[0]=r[0].slice(s)}return r}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function o(e,t,a){var n=t.next,r={value:a,prev:t,next:n};return t.next=r,n.prev=r,e.length++,r}function u(e,t,a){for(var n=t.next,r=0;r"+s.content+""},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var a=JSON.parse(t.data),n=a.language,s=a.code,i=a.immediateClose;e.postMessage(r.highlight(s,r.languages[n],n)),i&&e.close()}),!1),r):r;var g=r.util.currentScript();function c(){r.manual||r.highlightAll()}if(g&&(r.filename=g.src,g.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var d=document.readyState;"loading"===d||"interactive"===d&&g&&g.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=n),void 0!==a.g&&(a.g.Prism=n),n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var a={};a["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[t]},a.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:a}};r["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var s={};s[e]={ +pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},n.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(e,t){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:n.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var a=e.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{ +pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}], +constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(void 0!==n&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])';n.hooks.add("before-highlightall",(function(e){e.selector+=", "+t})),n.hooks.add("before-sanity-check",(function(a){var r=a.element;if(r.matches(t)){a.code="",r.setAttribute("data-src-status","loading");var s=r.appendChild(document.createElement("CODE"));s.textContent="Loading…";var i=r.getAttribute("data-src"),l=a.language;if("none"===l){var o=(/\.(\w+)$/.exec(i)||[,"none"])[1];l=e[o]||o}n.util.setLanguage(s,l),n.util.setLanguage(r,l);var u=n.plugins.autoloader;u&&u.loadLanguages(l),function(e,t,a){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){var e,r;4==n.readyState&&(n.status<400&&n.responseText?t(n.responseText):n.status>=400?a((e=n.status,r=n.statusText,"✖ Error "+e+" while fetching file: "+r)):a("✖ Error: File does not exist or is empty"))},n.send(null)}(i,(function(e){r.setAttribute("data-src-status","loaded");var t=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var a=Number(t[1]),n=t[2],r=t[3];return n?r?[a,Number(r)]:[a,void 0]:[a,a]}}(r.getAttribute("data-range"));if(t){var a=e.split(/\r\n?|\n/g),i=t[0],l=null==t[1]?a.length:t[1];i<0&&(i+=a.length),i=Math.max(0,Math.min(i-1,a.length)),l<0&&(l+=a.length),l=Math.max(0,Math.min(l,a.length)),e=a.slice(i,l).join("\n"),r.hasAttribute("data-start")||r.setAttribute("data-start",String(i+1))}s.textContent=e,n.highlightElement(s)}),(function(e){ +r.setAttribute("data-src-status","failed"),s.textContent=e}))}})),n.plugins.fileHighlight={highlight:function(e){for(var a,r=(e||document).querySelectorAll(t),s=0;a=r[s++];)n.highlightElement(a)}};var a=!1;n.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}}]); \ No newline at end of file diff --git a/charting_library/bundles/2340.36ca0d43eb91dba77fa4.css b/charting_library/bundles/2340.36ca0d43eb91dba77fa4.css new file mode 100644 index 00000000..3274bfc1 --- /dev/null +++ b/charting_library/bundles/2340.36ca0d43eb91dba77fa4.css @@ -0,0 +1 @@ +.trial-notification-f8oxI7Em{max-width:427px} \ No newline at end of file diff --git a/charting_library/bundles/2340.36ca0d43eb91dba77fa4.rtl.css b/charting_library/bundles/2340.36ca0d43eb91dba77fa4.rtl.css new file mode 100644 index 00000000..3274bfc1 --- /dev/null +++ b/charting_library/bundles/2340.36ca0d43eb91dba77fa4.rtl.css @@ -0,0 +1 @@ +.trial-notification-f8oxI7Em{max-width:427px} \ No newline at end of file diff --git a/charting_library/bundles/23b30bfe2f6b2e6edf84470252fa5d54.svg b/charting_library/bundles/23b30bfe2f6b2e6edf84470252fa5d54.svg new file mode 100644 index 00000000..ba328461 --- /dev/null +++ b/charting_library/bundles/23b30bfe2f6b2e6edf84470252fa5d54.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2454.68d0887ef7e51d7bc269.js b/charting_library/bundles/2454.68d0887ef7e51d7bc269.js new file mode 100644 index 00000000..838a99ff --- /dev/null +++ b/charting_library/bundles/2454.68d0887ef7e51d7bc269.js @@ -0,0 +1,35 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2454,9255,1e3],{59255:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_), +window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,o=Object.keys(t);n0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new o,D=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),o=new E(t,n,this);_.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){D.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));const S=void 0!==r.ResizeObserver?r.ResizeObserver:D},90896:e=>{e.exports={wrapper:"wrapper-oPZWoMdB",focused:"focused-oPZWoMdB",readonly:"readonly-oPZWoMdB",disabled:"disabled-oPZWoMdB","size-small":"size-small-oPZWoMdB","size-medium":"size-medium-oPZWoMdB","size-large":"size-large-oPZWoMdB","font-size-small":"font-size-small-oPZWoMdB","font-size-medium":"font-size-medium-oPZWoMdB","font-size-large":"font-size-large-oPZWoMdB","border-none":"border-none-oPZWoMdB",shadow:"shadow-oPZWoMdB","border-thin":"border-thin-oPZWoMdB","border-thick":"border-thick-oPZWoMdB","intent-default":"intent-default-oPZWoMdB","intent-success":"intent-success-oPZWoMdB","intent-warning":"intent-warning-oPZWoMdB","intent-danger":"intent-danger-oPZWoMdB","intent-primary":"intent-primary-oPZWoMdB","corner-top-left":"corner-top-left-oPZWoMdB","corner-top-right":"corner-top-right-oPZWoMdB","corner-bottom-right":"corner-bottom-right-oPZWoMdB","corner-bottom-left":"corner-bottom-left-oPZWoMdB",childrenContainer:"childrenContainer-oPZWoMdB"}},58858:e=>{e.exports={defaultSelect:"defaultSelect-6eXd0Ihx"}},78781:e=>{e.exports={itemWrap:"itemWrap-YXml6gvK",item:"item-YXml6gvK",icon:"icon-YXml6gvK",selected:"selected-YXml6gvK",label:"label-YXml6gvK"}},5717:e=>{e.exports={lineEndSelect:"lineEndSelect-RMwVB5BV",right:"right-RMwVB5BV"}},73084:e=>{e.exports={lineStyleSelect:"lineStyleSelect-2BDVWQbf",multipleStyles:"multipleStyles-2BDVWQbf"} +},218:e=>{e.exports={lineWidthSelect:"lineWidthSelect-TYbMx0kd",bar:"bar-TYbMx0kd",isActive:"isActive-TYbMx0kd",item:"item-TYbMx0kd"}},56994:e=>{e.exports={container:"container-Wq7zjnRZ",active:"active-Wq7zjnRZ",disabled:"disabled-Wq7zjnRZ",icon:"icon-Wq7zjnRZ"}},21818:e=>{e.exports={wrap:"wrap-CLB8ZlH6",disabled:"disabled-CLB8ZlH6"}},52465:e=>{e.exports={dropdown:"dropdown-KoV1659s",dropdownMenu:"dropdownMenu-KoV1659s",firstColorPicker:"firstColorPicker-KoV1659s"}},31650:e=>{e.exports={row:"row-kB7roDMw",wrap:"wrap-kB7roDMw",breakpointNormal:"breakpointNormal-kB7roDMw",breakpointMedium:"breakpointMedium-kB7roDMw",breakpointSmall:"breakpointSmall-kB7roDMw"}},51285:e=>{e.exports={coordinates:"coordinates-V0LzFOLU",input:"input-V0LzFOLU"}},9688:e=>{e.exports={wrapper:"wrapper-IjSbS0mB",checkbox:"checkbox-IjSbS0mB",colorSelect:"colorSelect-IjSbS0mB"}},29148:e=>{e.exports={withoutPadding:"withoutPadding-VwIbEpbX"}},67474:e=>{e.exports={input:"input-SCyh9tQM",control:"control-SCyh9tQM",item:"item-SCyh9tQM",cell:"cell-SCyh9tQM",fragmentCell:"fragmentCell-SCyh9tQM",withTitle:"withTitle-SCyh9tQM",title:"title-SCyh9tQM"}},55368:e=>{e.exports={line:"line-er8glV8W",control:"control-er8glV8W",valueInput:"valueInput-er8glV8W",valueUnit:"valueUnit-er8glV8W",input:"input-er8glV8W"}},80346:e=>{e.exports={unit:"unit-yU23iRoD",input:"input-yU23iRoD",normal:"normal-yU23iRoD",big:"big-yU23iRoD",dropdown:"dropdown-yU23iRoD",dropdownMenu:"dropdownMenu-yU23iRoD"}},89477:e=>{e.exports={dropdown:"dropdown-TevhCNe0",normal:"normal-TevhCNe0",big:"big-TevhCNe0",dropdownMenu:"dropdownMenu-TevhCNe0"}},94245:e=>{e.exports={range:"range-DTExo36Q",valueInput:"valueInput-DTExo36Q",rangeSlider:"rangeSlider-DTExo36Q",rangeSlider_mixed:"rangeSlider_mixed-DTExo36Q",input:"input-DTExo36Q"}},45449:e=>{e.exports={colorPicker:"colorPicker-zLqwzQsC",fontStyleButton:"fontStyleButton-zLqwzQsC",dropdown:"dropdown-zLqwzQsC",dropdownMenu:"dropdownMenu-zLqwzQsC"}},35048:e=>{e.exports={twoColors:"twoColors-0m0hhV3v",colorPicker:"colorPicker-0m0hhV3v"}},33126:e=>{e.exports={dropdown:"dropdown-8h1M1df3",menu:"menu-8h1M1df3"}},17683:e=>{e.exports={dialog:"dialog-Nh5Cqdeo",rounded:"rounded-Nh5Cqdeo",shadowed:"shadowed-Nh5Cqdeo",fullscreen:"fullscreen-Nh5Cqdeo",darker:"darker-Nh5Cqdeo",backdrop:"backdrop-Nh5Cqdeo"}},12114:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-hxnnZcZ6",dragging:"dragging-hxnnZcZ6",dialogAnimatedAppearance:"dialogAnimatedAppearance-hxnnZcZ6",dialogAnimation:"dialogAnimation-hxnnZcZ6",dialogTooltip:"dialogTooltip-hxnnZcZ6"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},99339:e=>{e.exports={wrapper:"wrapper-3LlhL6R6",emoji:"emoji-3LlhL6R6"}},83341:e=>{e.exports={list:"list-mYbRQuGD"}},70358:e=>{e.exports={wrapper:"wrapper-KYBibz0a"}},39897:e=>{e.exports={wrapper:"wrapper-EVXZqxr4",emojiItem:"emojiItem-EVXZqxr4"}},40681:e=>{e.exports={ +wrapper:"wrapper-wFgLbqCx",isActive:"isActive-wFgLbqCx"}},88436:e=>{e.exports={wrapper:"wrapper-z9lPbT43"}},16859:e=>{e.exports={wrapper:"wrapper-s7880WH7"}},95076:e=>{e.exports={desktopSize:"desktopSize-iVjStStf",drawer:"drawer-iVjStStf",menuBox:"menuBox-iVjStStf"}},65830:e=>{e.exports={range:"range-w7rMmNtQ",disabled:"disabled-w7rMmNtQ",rangeSlider:"rangeSlider-w7rMmNtQ",rangeSliderMiddleWrap:"rangeSliderMiddleWrap-w7rMmNtQ",rangeSliderMiddle:"rangeSliderMiddle-w7rMmNtQ",dragged:"dragged-w7rMmNtQ",pointer:"pointer-w7rMmNtQ",rangePointerWrap:"rangePointerWrap-w7rMmNtQ"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},40233:(e,t,n)=>{"use strict";n.d(t,{VerticalAttachEdge:()=>o,HorizontalAttachEdge:()=>i,VerticalDropDirection:()=>r,HorizontalDropDirection:()=>a,getPopupPositioner:()=>c});var o,i,r,a,s=n(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(o||(o={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(r||(r={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const l={verticalAttachEdge:o.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:r.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function c(e,t){return(n,c)=>{const d=(0,s.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:u=l.verticalAttachEdge,verticalDropDirection:p=l.verticalDropDirection,horizontalAttachEdge:h=l.horizontalAttachEdge,horizontalDropDirection:m=l.horizontalDropDirection,horizontalMargin:f=l.horizontalMargin,verticalMargin:v=l.verticalMargin,matchButtonAndListboxWidths:g=l.matchButtonAndListboxWidths}=t,y=u===o.Top?-1*v:v,b=h===i.Right?d.right:d.left,w=u===o.Top?d.top:d.bottom,E={x:b-(m===a.FromRightToLeft?n:0)+f,y:w-(p===r.FromBottomToTop?c:0)+y};return g&&(E.overrideWidth=d.width),E}}},32449:(e,t,n)=>{"use strict";function o(e,t,n){const o=new Map,i=void 0!==t?t[0]:e=>e,r=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,a={value:()=>i(e.value()),setValue:t=>{e.setValue(r(t))},subscribe:(t,n)=>{const i=e=>{n(a)};o.set(n,i),e.subscribe(t,i)},unsubscribe:(t,n)=>{const i=o.get(n);i&&(e.unsubscribe(t,i),o.delete(n))},unsubscribeAll:t=>{e.unsubscribeAll(t),o.clear()},destroy:()=>{null==n||n()}};return a}function i(e){const t=o(e);return t.destroy=()=>{e.destroy()},t}function r(e,t,n,i,r,a){const s=o(t,i,a),l=void 0!==i?void 0!==i[1]?i[1]:i[0]:e=>e;return s.setValue=null!=r?r:o=>e.setProperty(t,l(o),n),s}n.d(t,{makeProxyDefinitionProperty:()=>o,makeProxyDefinitionPropertyDestroyable:()=>i,convertToDefinitionProperty:()=>r})},50366:(e,t,n)=>{"use strict";function o(e,t){return{propType:"checkable",properties:e,...t}}function i(e,t,n){return{propType:"checkableSet",properties:e,childrenDefinitions:n,...t}}function r(e,t){return{propType:"color",properties:e,noAlpha:!1,...t}}n.d(t,{ +convertFromReadonlyWVToDefinitionProperty:()=>O,convertFromWVToDefinitionProperty:()=>H,convertToDefinitionProperty:()=>W.convertToDefinitionProperty,createCheckablePropertyDefinition:()=>o,createCheckableSetPropertyDefinition:()=>i,createColorPropertyDefinition:()=>r,createCoordinatesPropertyDefinition:()=>P,createEmojiPropertyDefinition:()=>k,createLeveledLinePropertyDefinition:()=>m,createLinePropertyDefinition:()=>u,createNumberPropertyDefinition:()=>f,createOptionsPropertyDefinition:()=>v,createPropertyDefinitionsGeneralGroup:()=>R,createPropertyDefinitionsLeveledLinesGroup:()=>I,createRangePropertyDefinition:()=>T,createSessionPropertyDefinition:()=>z,createStudyInputsPropertyDefinition:()=>A,createSymbolPropertyDefinition:()=>V,createTextPropertyDefinition:()=>x,createTransparencyPropertyDefinition:()=>N,createTwoColorsPropertyDefinition:()=>M,createTwoOptionsPropertyDefinition:()=>g,destroyDefinitions:()=>J,getColorDefinitionProperty:()=>G,getLockPriceScaleDefinitionProperty:()=>Z,getPriceScaleSelectionStrategyDefinitionProperty:()=>j,getScaleRatioDefinitionProperty:()=>U,getSymbolDefinitionProperty:()=>K,isPropertyDefinitionsGroup:()=>$});var a=n(49612),s=n(43891);const l=[s.LINESTYLE_SOLID,s.LINESTYLE_DOTTED,s.LINESTYLE_DASHED],c=[1,2,3,4],d=[a.LineEnd.Normal,a.LineEnd.Arrow];function u(e,t){const n={propType:"line",properties:e,...t};return void 0!==n.properties.style&&(n.styleValues=l),void 0!==n.properties.width&&(n.widthValues=c),void 0===n.properties.leftEnd&&void 0===n.properties.rightEnd||void 0!==n.endsValues||(n.endsValues=d),void 0!==n.properties.value&&void 0===n.valueType&&(n.valueType=1),n}const p=[s.LINESTYLE_SOLID,s.LINESTYLE_DOTTED,s.LINESTYLE_DASHED],h=[1,2,3,4];function m(e,t){const n={propType:"leveledLine",properties:e,...t};return void 0!==n.properties.style&&(n.styleValues=p),void 0!==n.properties.width&&(n.widthValues=h),n}function f(e,t){return{propType:"number",properties:e,type:1,...t}}function v(e,t){return{propType:"options",properties:e,...t}}function g(e,t){return{propType:"twoOptions",properties:e,...t}}var y=n(28353);const b=[{id:"bottom",value:"bottom",title:(0,y.t)("Top")},{id:"middle",value:"middle",title:(0,y.t)("Middle")},{id:"top",value:"top",title:(0,y.t)("Bottom")}],w=[{id:"left",value:"left",title:(0,y.t)("Left")},{id:"center",value:"center",title:(0,y.t)("Center")},{id:"right",value:"right",title:(0,y.t)("Right")}],E=[{id:"horizontal",value:"horizontal",title:(0,y.t)("Horizontal")},{id:"vertical",value:"vertical",title:(0,y.t)("Vertical")}],_=[10,11,12,14,16,20,24,28,32,40].map(e=>({title:String(e),value:e})),D=[1,2,3,4],S=(0,y.t)("Text alignment"),C=(0,y.t)("Text orientation");function x(e,t){const n={propType:"text",properties:e,...t,isEditable:t.isEditable||!1};return void 0!==n.properties.size&&void 0===n.sizeItems&&(n.sizeItems=_),void 0!==n.properties.alignmentVertical&&void 0===n.alignmentVerticalItems&&(n.alignmentVerticalItems=b),void 0!==n.properties.alignmentHorizontal&&void 0===n.alignmentHorizontalItems&&(n.alignmentHorizontalItems=w), +(n.alignmentVerticalItems||n.alignmentHorizontalItems)&&void 0===n.alignmentTitle&&(n.alignmentTitle=S),void 0!==n.properties.orientation&&(void 0===n.orientationItems&&(n.orientationItems=E),void 0===n.orientationTitle&&(n.orientationTitle=C)),void 0!==n.properties.borderWidth&&void 0===n.borderWidthItems&&(n.borderWidthItems=D),n}function M(e,t){return{propType:"twoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}function P(e,t){return{propType:"coordinates",properties:e,...t}}function T(e,t){return{propType:"range",properties:e,...t}}function N(e,t){return{propType:"transparency",properties:e,...t}}function V(e,t){return{propType:"symbol",properties:e,...t}}function z(e,t){return{propType:"session",properties:e,...t}}function k(e,t){return{propType:"emoji",properties:e,...t}}function A(e,t){return{propType:"studyInputs",properties:e,...t}}var B=n(52714),L=n.n(B);function R(e,t,n,o){return{id:t,title:n,visible:o,groupType:"general",definitions:new(L())(e)}}function I(e,t,n){return{id:t,title:n,groupType:"leveledLines",definitions:new(L())(e)}}var W=n(32449);function F(e,t){const n=new Map,o=void 0!==t?t[0]:e=>e,i=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,r={value:()=>o(e.value()),setValue:t=>{var n;null===(n=e.setValue)||void 0===n||n.call(e,i(t))},subscribe:(t,o)=>{const i=()=>{o(r)};let a=n.get(t);void 0===a?(a=new Map,a.set(o,i),n.set(t,a)):a.set(o,i),e.subscribe(i)},unsubscribe:(t,o)=>{const i=n.get(t);if(void 0!==i){const t=i.get(o);void 0!==t&&(e.unsubscribe(t),i.delete(o))}},unsubscribeAll:t=>{const o=n.get(t);void 0!==o&&(o.forEach((t,n)=>{e.unsubscribe(t)}),o.clear())}};return r}function H(e,t,n,o){const i=F(t,o),r=void 0!==o?void 0!==o[1]?o[1]:o[0]:e=>e;return i.setValue=o=>e.setWatchedValue(t,r(o),n),i}function O(e,t){return function(e,t,n){const o=new Map;return F({subscribe:(n,i)=>{const r=e=>n(t(e));o.set(n,r),e.subscribe(r,i)},unsubscribe:t=>{if(t){const n=o.get(t);n&&(e.unsubscribe(n),o.delete(t))}else o.clear(),e.unsubscribe()},value:()=>t(e.value())},n)}(e,e=>e,t)}function j(e,t){const n=(0,W.makeProxyDefinitionProperty)(t);return n.setValue=t=>e.setPriceScaleSelectionStrategy(t),n}function Z(e,t,n,o){const i=(0,W.makeProxyDefinitionProperty)(t);return i.setValue=t=>{const i={lockScale:t};e.setPriceScaleMode(i,n,o)},i}function U(e,t,n,o){const i=(0,W.makeProxyDefinitionProperty)(t,o);return i.setValue=o=>{e.setScaleRatioProperty(t,o,n)},i}var Y=n(24377),Q=n(68906),q=n(81465);function X(e,t){if((0,Q.isHexColor)(e)){const n=(0,Y.parseRgb)(e);return(0,Y.rgbaToString)((0,Y.rgba)(n,(100-t)/100))}return e}function G(e,t,n,o,i){let r;if(null!==n){const e=(0,q.combineProperty)(X,t,n);r=(0,W.makeProxyDefinitionPropertyDestroyable)(e)}else r=(0,W.makeProxyDefinitionProperty)(t,[()=>X(t.value(),0),e=>e]);return r.setValue=n=>{i&&e.beginUndoMacro(o),e.setProperty(t,n,o),i&&e.endUndoMacro()},r}function K(e,t,n,o,i,r){const a=[(s=n,l=t,e=>{const t=s(l);if(e===l.value()&&null!==t){const e=t.ticker||t.full_name;if(e)return e}return e}),e=>e];var s,l;const c=(0,W.convertToDefinitionProperty)(e,t,i,a) +;r&&(c.setValue=r);const d=new Map;c.subscribe=(e,n)=>{const o=e=>{n(c)};d.set(n,o),t.subscribe(e,o)},c.unsubscribe=(e,n)=>{const o=d.get(n);o&&(t.unsubscribe(e,o),d.delete(n))};const u={};return o.subscribe(u,()=>{d.forEach((e,t)=>{t(c)})}),c.destroy=()=>{o.unsubscribeAll(u),d.clear()},c}function $(e){return e.hasOwnProperty("groupType")}function J(e){e.forEach(e=>{if(e.hasOwnProperty("propType")){Object.keys(e.properties).forEach(t=>{const n=e.properties[t];void 0!==n&&void 0!==n.destroy&&n.destroy()})}else J(e.definitions.value())})}},66045:(e,t,n)=>{"use strict";n.d(t,{FontSizeSelect:()=>c});var o=n(59496),i=n(97754),r=n.n(i),a=n(58368),s=n(90186),l=n(58858);function c(e){const{id:t,fontSize:n,fontSizes:i=[],className:c,disabled:d,fontSizeChange:u}=e;return o.createElement(a.Select,{id:t,disabled:d,className:r()(c,l.defaultSelect),menuClassName:l.defaultSelect,items:(p=i,p.map(e=>({value:e.value,content:e.title}))),value:n,onChange:u,...(0,s.filterDataProps)(e)});var p}},94697:(e,t,n)=>{"use strict";n.d(t,{IconDropdown:()=>c,DisplayItem:()=>d,DropItem:()=>u});var o=n(59496),i=n(97754),r=n.n(i),a=n(58368),s=n(9745),l=n(78781);function c(e){const{menuItemClassName:t,...n}=e;return o.createElement(a.Select,{...n,menuItemClassName:r()(t,l.itemWrap)})}function d(e){return o.createElement("div",{className:r()(l.item,l.selected,e.className)},o.createElement(s.Icon,{className:l.icon,icon:e.icon}))}function u(e){return o.createElement("div",{className:l.item},o.createElement(s.Icon,{className:r()(l.icon,e.iconClassName),icon:e.icon}),o.createElement("div",{className:l.label},e.label))}},53598:(e,t,n)=>{"use strict";n.d(t,{LineStyleSelect:()=>f});var o=n(28353),i=n(59496),r=n(97754),a=n.n(r),s=n(43891),l=n(94697),c=n(20618),d=n(19726),u=n(56326),p=n(50303),h=n(73084);const m=[{type:s.LINESTYLE_SOLID,icon:c,label:(0,o.t)("Line")},{type:s.LINESTYLE_DASHED,icon:d,label:(0,o.t)("Dashed line")},{type:s.LINESTYLE_DOTTED,icon:u,label:(0,o.t)("Dotted line")}];class f extends i.PureComponent{render(){const{id:e,lineStyle:t,className:n,lineStyleChange:o,disabled:r,additionalItems:s,allowedLineStyles:c}=this.props;let d=function(e){let t=[...m];return void 0!==e&&(t=t.filter(t=>e.includes(t.type))),t.map(e=>({value:e.type,selectedContent:i.createElement(l.DisplayItem,{icon:e.icon}),content:i.createElement(l.DropItem,{icon:e.icon,label:e.label})}))}(c);return s&&(d=[{readonly:!0,content:s},...d]),i.createElement(l.IconDropdown,{id:e,disabled:r,className:a()(h.lineStyleSelect,n),hideArrowButton:!0,items:d,value:t,onChange:o,"data-name":"line-style-select",addPlaceholderToItems:!1,placeholder:i.createElement(l.DisplayItem,{icon:p,className:h.multipleStyles})})}}},50890:(e,t,n)=>{"use strict";n.d(t,{LineWidthSelect:()=>d});var o=n(59496),i=n(97754),r=n(58368),a=n(218);const s=[1,2,3,4];function l(e){const{id:t,value:n,items:l=s,disabled:c,onChange:d}=e;return o.createElement(r.Select,{id:t,disabled:c,hideArrowButton:!0,className:a.lineWidthSelect,items:(u=l,u.map(e=>({value:e,selectedContent:p(e,!0),content:p(e)}))),value:n,onChange:d, +"data-name":"line-width-select"});var u;function p(e,t){const r={borderTopWidth:e};return o.createElement("div",{className:a.item},o.createElement("div",{className:i(a.bar,{[a.isActive]:e===n&&!t}),style:r}," "))}}var c=n(45560);function d(e){const{property:t}=e,[n,i]=(0,c.useDefinitionProperty)({property:t});return o.createElement(l,{...e,value:n,onChange:i})}},66849:(e,t,n)=>{"use strict";n.d(t,{ControlCustomWidthContext:()=>i,ControlCustomHeightContext:()=>r});var o=n(59496);const i=o.createContext({}),r=o.createContext({})},90545:(e,t,n)=>{"use strict";n.d(t,{Section:()=>tn});var o=n(59496),i=n(50366),r=n(48897),a=n(45560),s=n(31356);function l(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r},title:l},offset:c}=e,[d]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[u]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0});return u?o.createElement(s.CommonSection,{id:t,offset:c,checked:n,title:l,disabled:e.disabled||d}):null}var c=n(97754),d=n.n(c),u=n(22064),p=n(53598);function h(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(p.LineStyleSelect,{...e,lineStyle:n,lineStyleChange:i})}var m=n(50890),f=n(60521),v=n(88537);function g(e){return"mixed"===e}function y(e,t,n){const[i,r]=(0,o.useState)(e),a=(0,o.useRef)(i);return(0,o.useEffect)(()=>{r(e)},[e,n]),[i,function(e){a.current=e,r(e)},function(){t(a.current)},function(){a.current=e,r(e)}]}var b=n(68335),w=n(92399),E=n(64514),_=n(95505),D=n(49483);function S(e){const{property:t,...n}=e,[i,r]=(0,o.useState)(performance.now()),[s,l]=(0,a.useDefinitionProperty)({property:t,handler:()=>r(performance.now())}),c=y(s,l,i);return o.createElement(C,{...n,valueHash:i,sharedBuffer:c})}function C(e){const{sharedBuffer:t,min:n,max:i,step:r,...a}=e,[s,l,c,d]=t,u=(0,o.useRef)(null),p=(0,o.useRef)(null),h={flushed:!1};return o.createElement(M,{...a,ref:p,onValueChange:function(e,t){l(e),"step"!==t||h.flushed||(c(),h.flushed=!0)},onKeyDown:function(e){if(e.defaultPrevented||h.flushed)return;switch((0,b.hashFromEvent)(e.nativeEvent)){case 27:d(),h.flushed=!0;break;case 13:e.preventDefault();const t=(0,v.ensureNotNull)(p.current).getClampedValue();null!==t&&(l(t),c(),h.flushed=!0)}},onBlur:function(e){const t=(0,v.ensureNotNull)(u.current);if(!t.contains(document.activeElement)&&!t.contains(e.relatedTarget)){const e=(0,v.ensureNotNull)(p.current).getClampedValue();null===e||h.flushed||(l(e),c(),h.flushed=!0)}},value:s,roundByStep:!1,containerReference:function(e){u.current=e},inputMode:D.CheckMobile.iOS()?void 0:"numeric",min:n,max:i,step:r,stretch:!1})}const x={mode:"float",min:-Number.MAX_VALUE,max:Number.MAX_VALUE,step:1,precision:0,inheritPrecisionFromStep:!0};class M extends o.PureComponent{constructor(e){super(e),this._selection=null,this._restoreSelection=!1,this._input=null,this._handleSelectionChange=()=>{this._restoreSelection||document.activeElement!==(0,v.ensureNotNull)(this._input)||this._saveSelection((0,v.ensureNotNull)(this._input))},this._handleInputReference=e=>{this._input=e, +this.props.inputReference&&this.props.inputReference(e)},this._onFocus=e=>{this._saveSelection((0,v.ensureNotNull)(this._input)),this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus(e)},this._onBlur=e=>{this._selection=null,this.setState({displayValue:N(this.props,this.props.value,V(this.props)),focused:!1}),this.props.onBlur&&this.props.onBlur(e)},this._onValueChange=e=>{const t=e.currentTarget,n=t.value,o=function(e,t,n){switch(n){case"integer":return P.test(t)?t:e;case"float":return t=t.replace(/,/g,"."),T.test(t)?t:e}}(this.state.displayValue,n,this.props.mode),i=k(o),r=this._checkValueBoundaries(i);var a,s;this.setState({displayValue:o}),o!==n&&(a=this.state.displayValue,s=(s=o).replace(/,/g,"."),(a=a.replace(/,/g,".")).includes(".")||!s.includes("."))?(this._restoreSelection=!0,this.forceUpdate()):this._saveSelection(t),r.value&&N(this.props,i)===o&&this.props.onValueChange(i,"input")},this._onValueByStepChange=e=>{const{roundByStep:t=!0,step:n=1}=this.props,o=k(this.state.displayValue);let i;if(isNaN(o)){const{defaultValue:e}=this.props;if(void 0===e)return;i=e}else{const r=new f.Big(o),a=new f.Big(n),s=r.mod(a);let l=r.plus(e*n);!s.eq(0)&&t&&(l=l.plus((e>0?0:1)*n).minus(s)),i=l.toNumber()}this._checkValueBoundaries(i).value&&(this.setState({displayValue:N(this.props,i,V(this.props))}),this.props.onValueChange(i,"step"))},this.state={value:A(this.props.value),displayValue:N(this.props,this.props.value,V(this.props)),focused:!1,valueHash:this.props.valueHash}}componentDidMount(){document.addEventListener("selectionchange",this._handleSelectionChange)}componentWillUnmount(){document.removeEventListener("selectionchange",this._handleSelectionChange)}componentDidUpdate(){const e=(0,v.ensureNotNull)(this._input),t=this._selection;if(null!==t&&this._restoreSelection&&document.activeElement===e){const{start:n,end:o,direction:i}=t;e.setSelectionRange(n,o,i)}this._restoreSelection=!1}render(){return o.createElement(w.NumberInputView,{type:"text",inputMode:this.props.inputMode,name:this.props.name,fontSizeStyle:"medium",value:this.state.displayValue,className:this.props.className,placeholder:this.props.placeholder,disabled:this.props.disabled,stretch:this.props.stretch,onValueChange:this._onValueChange,onValueByStepChange:this._onValueByStepChange,containerReference:this.props.containerReference,inputReference:this._handleInputReference,onClick:this.props.onClick,onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this.props.onKeyDown,autoSelectOnFocus:!0,"data-name":this.props["data-name"]})}getClampedValue(){const{min:e,max:t}=this.props,n=k(this.state.displayValue);return isNaN(n)?null:(0,E.clamp)(n,e,t)}static getDerivedStateFromProps(e,t){const{valueHash:n}=e,o=A(e.value);if(t.value!==o||t.valueHash!==n){return{value:o,valueHash:n,displayValue:N(e,o,t.focused&&t.valueHash===n?void 0:V(e))}}return null}_saveSelection(e){const{selectionStart:t,selectionEnd:n,selectionDirection:o}=e;null!==t&&null!==n&&null!==o&&(this._selection={start:t,end:n,direction:o})}_checkValueBoundaries(e){ +const{min:t,max:n}=this.props;return{value:function(e,t,n){const o=e>=t,i=e<=n;return{passMin:o,passMax:i,pass:o&&i,clamped:(0,E.clamp)(e,t,n)}}(e,t,n).pass}}}M.defaultProps=x;const P=/^-?[0-9]*$/,T=/^(-?([0-9]+\.?[0-9]*)|(-?[0-9]*))$/;function N(e,t,n){return g(t=A(t))?"—":(null!==t&&void 0!==n&&(n=Math.max(z(t),n)),function(e,t){if(null===e)return"";return new _.NumericFormatter(t).format(e)}(t,n))}function V(e){let t=0;return e.inheritPrecisionFromStep&&e.step<=1&&(t=z(e.step)),Math.max(e.precision,t)||void 0}function z(e){const t=Math.trunc(e).toString();return(0,E.clamp)(_.NumericFormatter.formatNoE(e).length-t.length-1,0,15)}function k(e,t){return new _.NumericFormatter(t).parse(e)}function A(e){return"number"==typeof e&&Number.isFinite(e)||g(e)?e:null}var B=n(24377),L=n(58593),R=n(68906);function I(e){const{color:t,thickness:n,thicknessItems:i,noAlpha:r}=e,[s,l]=(0,a.useDefinitionProperty)({property:t}),[c,d]=(0,a.useDefinitionProperty)(n?{property:n}:{defaultValue:void 0});return o.createElement(L.ColorSelect,{...e,color:function(){if(!s)return null;if("mixed"===s)return"mixed";return(0,B.rgbToHexString)((0,B.parseRgb)(s))}(),onColorChange:function(e){const t=s&&"mixed"!==s?(0,R.alphaToTransparency)((0,B.parseRgba)(s)[3]):0;l((0,R.generateColor)(String(e),t,!0))},thickness:c,thicknessItems:i,onThicknessChange:d,opacity:r?void 0:s&&"mixed"!==s?(0,B.parseRgba)(s)[3]:void 0,onOpacityChange:r?void 0:function(e){l((0,R.generateColor)(s,(0,R.alphaToTransparency)(e),!0))}})}var W=n(28353),F=n(49612),H=n(94697),O=n(90186),j=n(23848),Z=n(56775),U=n(5717);const Y=[{type:F.LineEnd.Normal,icon:j,label:(0,W.t)("Normal")},{type:F.LineEnd.Arrow,icon:Z,label:(0,W.t)("Arrow")}];class Q extends o.PureComponent{constructor(e){super(e),this._items=[],this._items=Y.map(t=>({value:t.type,selectedContent:o.createElement(H.DisplayItem,{icon:t.icon}),content:o.createElement(H.DropItem,{icon:t.icon,iconClassName:d()(e.isRight&&U.right),label:t.label})}))}render(){const{id:e,lineEnd:t,className:n,lineEndChange:i,isRight:r,disabled:a}=this.props;return o.createElement(H.IconDropdown,{id:e,disabled:a,className:d()(U.lineEndSelect,r&&U.right,n),items:this._items,value:t,onChange:i,hideArrowButton:!0,...(0,O.filterDataProps)(this.props)})}}function q(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(Q,{...e,lineEnd:n,lineEndChange:i})}var X=n(78260),G=n(31650);function K(e){const{children:t,className:n,breakPoint:i="Normal"}=e;return o.createElement(X.CellWrap,{className:c(G.wrap,n,G["breakpoint"+i])},o.Children.map(t,e=>o.isValidElement(e)?o.createElement("span",{key:null===e.key?void 0:e.key,className:G.row},e):e))}const $={1:"float",0:"integer"};var J=n(77975),ee=n(55368);function te(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r,leftEnd:l,rightEnd:d,value:p,extendLeft:f,extendRight:v},title:g,valueMin:y,valueMax:b,valueStep:w,valueUnit:E,extendLeftTitle:_,extendRightTitle:D},offset:C}=e,[x]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[M]=(0, +a.useDefinitionProperty)({property:i,defaultValue:!1}),[P]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),T=(0,J.useWatchedValueReadonly)({watchedValue:y,defaultValue:void 0}),N=(0,J.useWatchedValueReadonly)({watchedValue:b,defaultValue:void 0}),V=(0,J.useWatchedValueReadonly)({watchedValue:w,defaultValue:void 0}),z=(0,J.useWatchedValueReadonly)({watchedValue:E,defaultValue:void 0}),k=e.disabled||!x;return P?o.createElement(o.Fragment,null,o.createElement(s.CommonSection,{id:t,offset:C,checked:n,title:g,disabled:e.disabled||M},o.createElement(K,{className:ee.line,breakPoint:"Small"},o.createElement(o.Fragment,null,function(){const{definition:{properties:{color:n,width:i},widthValues:r}}=e;if(n)return o.createElement("span",{className:ee.control},o.createElement(I,{color:n,thickness:i,disabled:k,thicknessItems:r}));return i&&o.createElement("span",{className:ee.control},o.createElement(m.LineWidthSelect,{id:(0,u.createDomId)(t,"line-width-select"),items:r,property:i,disabled:k}))}(),function(){const{definition:{properties:{style:n}}}=e;return n&&o.createElement("span",{className:ee.control},o.createElement(h,{id:(0,u.createDomId)(t,"line-style-select"),property:n,disabled:k}))}()),(l||d||p)&&o.createElement(o.Fragment,null,o.createElement(o.Fragment,null,l&&o.createElement(q,{id:(0,u.createDomId)(t,"left-end-select"),"data-name":"left-end-select",className:ee.control,property:l,disabled:k}),d&&o.createElement(q,{id:(0,u.createDomId)(t,"right-end-select"),"data-name":"right-end-select",className:ee.control,property:d,disabled:k,isRight:!0})),function(){const{definition:{valueType:t}}=e;return p&&o.createElement("span",{className:c(ee.valueInput,ee.control)},o.createElement(S,{className:ee.input,property:p,min:T,max:N,step:V,disabled:k,mode:void 0!==t?$[t]:void 0,name:"line-value-input"}),o.createElement("span",{className:ee.valueUnit},z))}()))),f&&o.createElement(s.CommonSection,{id:t+"ExtendLeft",offset:C,checked:f,title:_,disabled:e.disabled||M}),v&&o.createElement(s.CommonSection,{id:t+"ExtendRight",offset:C,checked:v,title:D,disabled:e.disabled||M})):null}var ne=n(49642),oe=n(58368),ie=n(36947);function re(e){const{property:t,options:n,...i}=e,[r,s]=(0,a.useDefinitionProperty)({property:t}),l=(0,ie.useForceUpdate)();return(0,o.useEffect)(()=>{const e=()=>l();return Array.isArray(n)||n.subscribe(e),()=>{Array.isArray(n)||n.unsubscribe(e)}},[]),o.createElement(oe.Select,{...i,onChange:s,value:r,items:(Array.isArray(n)?n:n.value()).map(e=>e.readonly?{content:e.title,readonly:e.readonly}:{content:e.title,value:e.value,disabled:e.disabled,id:e.id})})}var ae=n(52465);const se=[{title:(0,W.t)("Solid"),value:ne.ColorType.Solid},{title:(0,W.t)("Gradient"),value:ne.ColorType.Gradient}];function le(e){const{id:t,disabled:n,noAlpha:i,properties:r}=e,{color:s,gradientColor1:l,gradientColor2:c,type:d}=r,[p]=(0,a.useDefinitionProperty)({property:d,defaultValue:ne.ColorType.Solid});return o.createElement(K,null,o.createElement(re,{id:(0,u.createDomId)(t,"background-type-options-dropdown"), +"data-name":"background-type-options-dropdown",className:ae.dropdown,menuClassName:ae.dropdownMenu,disabled:n,property:d,options:se}),p===ne.ColorType.Solid?o.createElement(I,{color:s,disabled:n,noAlpha:i}):o.createElement(o.Fragment,null,o.createElement(I,{className:ae.firstColorPicker,color:l,disabled:n,noAlpha:i}),o.createElement(I,{color:c,disabled:n,noAlpha:i})))}function ce(e){const{definition:{id:t,properties:n,title:i,noAlpha:r},offset:l}=e,{color:c,checked:d,disabled:u,visible:p}=n,[h]=(0,a.useDefinitionProperty)({property:d,defaultValue:!0}),[m]=(0,a.useDefinitionProperty)({property:u,defaultValue:!1}),[f]=(0,a.useDefinitionProperty)({property:p,defaultValue:!0}),v=e.disabled||!h;return f?o.createElement(s.CommonSection,{id:t,offset:l,checked:d,title:i,disabled:e.disabled||m},o.createElement(X.CellWrap,null,n.hasOwnProperty("type")?o.createElement(le,{id:t,properties:n,disabled:v,noAlpha:r}):o.createElement(I,{color:c,disabled:v,noAlpha:r}))):null}var de=n(54368),ue=n(45112),pe=n(21818);function he(e){const{value:t,disabled:n,onChange:i,className:r}=e;return o.createElement("div",{className:c(pe.wrap,r,{[pe.disabled]:n})},o.createElement(de.Opacity,{hideInput:!0,color:ue.colorsPalette["color-tv-blue-500"],opacity:1-t/100,onChange:function(e){n||i(100-100*e)}}))}function me(e){const{property:t,...n}=e,[i,r]=(0,a.useDefinitionProperty)({property:t});return o.createElement(he,{...n,value:i,onChange:r})}function fe(e){const{definition:{id:t,properties:{transparency:n,checked:i,disabled:r,visible:l},title:c},offset:d}=e,[u]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),[p]=(0,a.useDefinitionProperty)({property:r,defaultValue:!1}),[h]=(0,a.useDefinitionProperty)({property:l,defaultValue:!0}),m=e.disabled||!u;return h?o.createElement(s.CommonSection,{id:t,offset:d,checked:i,title:c,disabled:e.disabled||p},o.createElement(X.CellWrap,null,o.createElement(me,{property:n,disabled:m}))):null}var ve=n(35048);function ge(e){const{definition:{id:t,properties:{color1:n,color2:i,checked:r,disabled:l,visible:c},title:d,noAlpha1:u,noAlpha2:p},offset:h}=e,[m]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[f]=(0,a.useDefinitionProperty)({property:l,defaultValue:!1}),[v]=(0,a.useDefinitionProperty)({property:c,defaultValue:!0}),g=e.disabled||!m||f;return v?o.createElement(s.CommonSection,{id:t,offset:h,checked:r,title:d,disabled:e.disabled||f},o.createElement(X.CellWrap,{className:ve.twoColors},y(n,u),y(i,p))):null;function y(e,t){return o.createElement("span",{className:ve.colorPicker},o.createElement(I,{color:e,disabled:g,noAlpha:t}))}}var ye=n(66849),be=n(80346);function we(e){const{definition:{id:t,properties:{checked:n,value:i,unitOptionsValue:r,disabled:l,visible:d},min:p,max:h,step:m,title:f,unit:g,unitOptions:y,type:b},offset:w}=e,[E]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[_]=(0,a.useDefinitionProperty)({property:l,defaultValue:!1}),[D]=(0,a.useDefinitionProperty)({property:d,defaultValue:!0}),C=(0,J.useWatchedValueReadonly)({watchedValue:p,defaultValue:void 0}),x=(0, +J.useWatchedValueReadonly)({watchedValue:h,defaultValue:void 0}),M=(0,J.useWatchedValueReadonly)({watchedValue:m,defaultValue:void 0}),P=(0,J.useWatchedValueReadonly)({watchedValue:g,defaultValue:void 0}),T=(0,o.useContext)(ye.ControlCustomWidthContext),N=e.disabled||!E;return D?o.createElement(s.CommonSection,{id:t,offset:w,checked:n,title:f,disabled:e.disabled||_},o.createElement(X.CellWrap,null,o.createElement(K,null,o.createElement(S,{className:c(be.input,T[t]&&be[T[t]]),property:i,min:C,max:x,step:M,disabled:N,mode:$[b],name:"number-input","data-name":t}),r&&o.createElement(re,{id:(0,u.createDomId)(t,"unit-options-dropdown"),"data-name":"unit-options-dropdown",className:be.dropdown,menuClassName:be.dropdownMenu,disabled:N,property:r,options:(0,v.ensureDefined)(y)})),o.createElement("span",{className:be.unit},P))):null}function Ee(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r},childrenDefinitions:l,title:c},offset:d}=e,[u]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[p]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[h]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),m=e.disabled||!u;return h?o.createElement(o.Fragment,null,o.createElement(s.CommonSection,{id:t,offset:d,checked:n,title:c,disabled:e.disabled||p}),l.map(e=>o.createElement(tn,{key:e.id,disabled:m,definition:e,offset:!0}))):null}var _e=n(66045);function De(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(_e.FontSizeSelect,{...e,fontSize:n,fontSizeChange:i,"data-name":"font-size-select"})}var Se=n(9745),Ce=n(56994);function xe(e){const{className:t,checked:n,icon:i,disabled:r,onClick:a}=e;return o.createElement("div",{className:d()(t,Ce.container,n&&!r&&Ce.active,r&&Ce.disabled),onClick:r?void 0:a,"data-role":"button",...(0,O.filterDataProps)(e)},o.createElement(Se.Icon,{className:Ce.icon,icon:i}))}function Me(e){const{icon:t,className:n,property:i,disabled:r}=e,[s,l]=(0,a.useDefinitionProperty)({property:i});return o.createElement(xe,{className:n,icon:t,checked:s,onClick:function(){l(!s)},disabled:r,...(0,O.filterDataProps)(e)})}var Pe=n(67029),Te=n(35868),Ne=n(2568);function Ve(e){const{property:t,...n}=e,[i,r]=(0,a.useDefinitionProperty)({property:t}),s=(0,o.useCallback)(e=>r(e.target.value),[r]);return o.createElement(Ne.Textarea,{...n,value:i,onChange:s})}var ze=n(86508),ke=n(27603),Ae=n(45449);const Be=e=>({content:e.title,title:e.title,value:e.value,id:e.id}),Le=e=>({content:e.title,title:e.title,value:e.value,id:e.id});function Re(e){const{definition:{id:t,properties:{color:n,size:i,checked:r,disabled:l,bold:c,italic:d,text:p,alignmentHorizontal:h,alignmentVertical:m,orientation:f,backgroundVisible:v,backgroundColor:g,borderVisible:y,borderColor:b,borderWidth:w,wrap:E},title:_,sizeItems:D,alignmentTitle:S,alignmentHorizontalItems:C,alignmentVerticalItems:x,orientationTitle:M,orientationItems:P,backgroundTitle:T,borderTitle:N,borderWidthItems:V,wrapTitle:z},offset:k}=e,A=(0,o.useContext)(ye.ControlCustomHeightContext),[B]=(0, +a.useDefinitionProperty)({property:r,defaultValue:!0}),[L]=(0,a.useDefinitionProperty)({property:l,defaultValue:!1}),[R,W]=(0,a.useDefinitionProperty)({property:m,defaultValue:void 0}),[F,H]=(0,a.useDefinitionProperty)({property:f,defaultValue:"horizontal"}),[O,j]=(0,a.useDefinitionProperty)({property:h,defaultValue:void 0}),[Z]=(0,a.useDefinitionProperty)({property:v,defaultValue:!1}),[U]=(0,a.useDefinitionProperty)({property:y,defaultValue:!1}),Y=e.disabled||!B;return o.createElement(o.Fragment,null,function(){if(_)return o.createElement(s.CommonSection,{id:t,offset:k,checked:r,title:_,disabled:e.disabled||L},o.createElement(K,{breakPoint:"Small"},G(),$()));return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",colSpan:2,offset:k,"data-section-name":t},G(),$()))}(),p&&o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",colSpan:2,offset:k,"data-section-name":t},o.createElement(Ve,{className:Pe.InputClasses.FontSizeMedium,rows:(Q=A[t],"big"===Q?9:5),stretch:!0,property:p,disabled:Y,onFocus:function(e){e.target.select()},name:"text-input"}))),(h||m)&&o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:k,"data-section-name":t},o.createElement(X.CellWrap,null,S)),o.createElement(Te.PropertyTable.Cell,{placement:"last",verticalAlign:"adaptive","data-section-name":t},o.createElement(K,{breakPoint:"Small"},void 0!==R&&void 0!==x&&o.createElement(oe.Select,{id:(0,u.createDomId)(t,"alignment-vertical-select"),"data-name":"alignment-vertical-select",className:Ae.dropdown,menuClassName:Ae.dropdownMenu,disabled:Y,value:R,items:x.map(Be),onChange:W}),void 0!==O&&void 0!==C&&o.createElement(oe.Select,{id:(0,u.createDomId)(t,"alignment-horizontal-select"),"data-name":"alignment-horizontal-select",className:Ae.dropdown,menuClassName:Ae.dropdownMenu,disabled:Y,value:O,items:C.map(Be),onChange:j})))),void 0!==f&&void 0!==P&&o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:k,"data-section-name":t},o.createElement(X.CellWrap,null,M)),o.createElement(Te.PropertyTable.Cell,{placement:"last",verticalAlign:"adaptive","data-section-name":t},o.createElement(K,{breakPoint:"Small"},o.createElement(oe.Select,{id:(0,u.createDomId)(t,"orientation-select"),"data-name":"orientation-select",className:Ae.dropdown,menuClassName:Ae.dropdownMenu,disabled:Y,value:F,items:P.map(Le),onChange:H})))),J(T,v,g,!!v&&!Z),J(N,y,b,!!y&&!U,w,V),E&&o.createElement(s.CommonSection,{id:t+"Wrap",offset:k,checked:E,title:z,disabled:e.disabled||L}));var Q;function q(e,t,n){return e?o.createElement(Me,{className:Ae.fontStyleButton,icon:t,property:e,disabled:Y,"data-name":n}):null}function G(){return o.createElement(o.Fragment,null,n&&o.createElement("div",{className:Ae.colorPicker},o.createElement(I,{color:n,disabled:Y})),i&&D&&o.createElement(De,{id:(0,u.createDomId)(t,"font-size-select"),property:i,fontSizes:D, +disabled:Y}))}function $(){return o.createElement(o.Fragment,null,q(c,ze,"toggle-bold"),q(d,ke,"toggle-italic"))}function J(e,n,i,r,a,l){return i||n?o.createElement(s.CommonSection,{id:t+"ColorSelect",offset:k,checked:n,title:e,disabled:Y},i&&o.createElement(I,{color:i,thickness:a,thicknessItems:l,disabled:Y||r})):null}}var Ie=n(51285);function We(e){const{definition:{properties:{x:t,y:n,disabled:i},id:r,minX:a,maxX:s,stepX:l,minY:c,maxY:d,stepY:u,title:p,typeX:h,typeY:m},offset:f}=e,v=i&&i.value()||e.disabled,g=(0,J.useWatchedValueReadonly)({watchedValue:a,defaultValue:void 0}),y=(0,J.useWatchedValueReadonly)({watchedValue:s,defaultValue:void 0}),b=(0,J.useWatchedValueReadonly)({watchedValue:l,defaultValue:void 0}),w=(0,J.useWatchedValueReadonly)({watchedValue:c,defaultValue:void 0}),E=(0,J.useWatchedValueReadonly)({watchedValue:d,defaultValue:void 0}),_=(0,J.useWatchedValueReadonly)({watchedValue:u,defaultValue:void 0});return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{verticalAlign:"adaptive",placement:"first",offset:f,"data-section-name":r},o.createElement("span",{className:Ie.coordinates},p)),(t||n)&&o.createElement(Te.PropertyTable.Cell,{placement:"last",offset:f,"data-section-name":r},o.createElement(K,{breakPoint:"Medium"},n&&o.createElement(S,{className:Ie.input,property:n,min:w,max:E,step:_,disabled:v,name:"y-input",mode:void 0!==m?$[m]:"integer"}),t&&o.createElement(S,{className:Ie.input,property:t,min:g,max:y,step:b,disabled:v,name:"x-input",mode:void 0!==h?$[h]:"integer"}))))}var Fe=n(89477);function He(e){const{definition:{id:t,properties:{checked:n,option:i,disabled:r,visible:l},title:c,options:p},offset:h}=e,[m]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[f]=(0,a.useDefinitionProperty)({property:r,defaultValue:!1}),[v]=(0,a.useDefinitionProperty)({property:l,defaultValue:!0}),g=(0,o.useContext)(ye.ControlCustomWidthContext),y=e.disabled||!m;return v?o.createElement(s.CommonSection,{id:t,offset:h,checked:n,title:c,disabled:e.disabled||f},o.createElement(X.CellWrap,null,o.createElement(re,{id:(0,u.createDomId)(t,"options-dropdown"),"data-name":"options-dropdown",className:d()(Fe.dropdown,g[t]&&Fe[g[t]]),menuClassName:d()(Fe.dropdownMenu,g[t]&&Fe[g[t]]),disabled:y||f,property:i,options:p}))):null}var Oe=n(71953);var je=n(62820),Ze=n(65830);class Ue extends o.PureComponent{constructor(e){super(e),this._container=null,this._pointer=null,this._rafPosition=null,this._rafDragStop=null,this._refContainer=e=>{this._container=e},this._refPointer=e=>{this._pointer=e},this._handlePosition=e=>{null!==this._rafPosition||this.props.disabled||(this._rafPosition=requestAnimationFrame(()=>{const{from:t,to:n,min:o,max:i}=this.props,r=this._getNewPosition(e),a=1===this._detectPointerMode(e),s=a?(0,E.clamp)(r,o,n):t,l=a?n:(0,E.clamp)(r,t,i);s<=l&&this._handleChange(s,l),this._rafPosition=null}))},this._handleDragStop=()=>{null!==this._rafDragStop||this.props.disabled||(this._rafDragStop=requestAnimationFrame(()=>{this.setState({pointerDragMode:0}),this._rafDragStop=null, +this.props.onCommit()}))},this._onSliderClick=e=>{D.CheckMobile.any()||(this._handlePosition(e.nativeEvent),this._dragSubscribe())},this._mouseUp=e=>{this._dragUnsubscribe(),this._handlePosition(e),this._handleDragStop()},this._mouseMove=e=>{this._handlePosition(e)},this._onTouchStart=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this._handleDragStop()},this.state={pointerDragMode:0}}componentWillUnmount(){null!==this._rafPosition&&(cancelAnimationFrame(this._rafPosition),this._rafPosition=null),null!==this._rafDragStop&&(cancelAnimationFrame(this._rafDragStop),this._rafDragStop=null),this._dragUnsubscribe()}render(){const{className:e,disabled:t,from:n,to:i,min:r,max:a}=this.props,{pointerDragMode:s}=this.state,l=0!==s,d=a-r,u=0===d?r:(n-r)/d,p=0===d?a:(i-r)/d,h=(0,je.isRtl)()?"right":"left";return o.createElement("div",{className:c(e,Ze.range,t&&Ze.disabled)},o.createElement("div",{className:Ze.rangeSlider,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},o.createElement("div",{className:Ze.rangeSliderMiddleWrap},o.createElement("div",{className:c(Ze.rangeSliderMiddle,l&&Ze.dragged),style:{[h]:100*u+"%",width:100*(p-u)+"%"}})),o.createElement("div",{className:Ze.rangePointerWrap},o.createElement("div",{className:c(Ze.pointer,l&&Ze.dragged),style:{[h]:100*u+"%"},ref:this._refPointer})),o.createElement("div",{className:Ze.rangePointerWrap},o.createElement("div",{className:c(Ze.pointer,l&&Ze.dragged),style:{[h]:100*p+"%"}}))))}_dragSubscribe(){const e=(0,v.ensureNotNull)(this._container).ownerDocument;e&&(e.addEventListener("mouseup",this._mouseUp),e.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const e=(0,v.ensureNotNull)(this._container).ownerDocument;e&&(e.removeEventListener("mousemove",this._mouseMove),e.removeEventListener("mouseup",this._mouseUp))}_getNewPosition(e){const{min:t,max:n}=this.props,o=n-t,i=(0,v.ensureNotNull)(this._container),r=(0,v.ensureNotNull)(this._pointer),a=i.getBoundingClientRect(),s=r.offsetWidth;let l=e.clientX-s/2-a.left;return(0,je.isRtl)()&&(l=a.width-l-s),(0,E.clamp)(l/(a.width-s),0,1)*o+t}_detectPointerMode(e){const{from:t,to:n}=this.props,{pointerDragMode:o}=this.state;if(0!==o)return o;const i=this._getNewPosition(e),r=Math.abs(t-i),a=Math.abs(n-i),s=r===a?io.createElement(K,{breakPoint:"Medium"},o.createElement(o.Fragment,null,o.createElement("span",{className:Qe.valueInput},o.createElement(C,{className:Qe.input,sharedBuffer:M,min:b,max:g(z)?w:z,step:1,disabled:L,name:"from-input",mode:"integer",defaultValue:b}),e?o.createElement("span",{className:Qe.rangeSlider},"—"):o.createElement(Ue,{className:d()(Qe.rangeSlider,B&&Qe.rangeSlider_mixed),from:B?b:P,to:B?w:z,min:b,max:w,onChange:I,onCommit:W,disabled:L}))),o.createElement(o.Fragment,null,o.createElement("span",{className:Qe.valueInput},o.createElement(C,{className:Qe.input,sharedBuffer:V,min:g(P)?b:P,max:w,step:1,disabled:L,name:"to-input",mode:"integer",defaultValue:w})))))}()));function I(e,t){T(Math.round(e)),k(Math.round(t))}function W(){R.flushed||(N(),A(),R.flushed=!0)}}var Xe=n(86067),Ge=n(53424),Ke=n(67474);function $e(e){const{definitions:t,name:n,offset:i}=e;return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{className:d()(Ke.cell,Ke.fragmentCell),offset:i,placement:"first",verticalAlign:"adaptive",colSpan:2,"data-section-name":n,checkableTitle:!0},t.map(e=>o.createElement("div",{className:Ke.item,key:e.id,"data-section-name":e.id},o.createElement(et,{definition:e})))))}function Je(e){const{definition:t,offset:n}=e;return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{className:Ke.cell,offset:n,placement:"first",verticalAlign:"adaptive",colSpan:2,checkableTitle:!0},o.createElement(et,{definition:t})))}function et(e){const{definition:{id:t,properties:{disabled:n,checked:i,color:r,level:s,width:l,style:c},title:p,widthValues:m,styleValues:f}}=e,[v]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),[g]=(0,a.useDefinitionProperty)({property:n,defaultValue:!1}),y=g||!v;return o.createElement(o.Fragment,null,o.createElement(Ge.CheckableTitle,{name:"is-enabled-"+t,className:d()(p&&Ke.withTitle),title:p&&o.createElement("span",{className:Ke.title},p),property:i,disabled:g}),s&&o.createElement(S,{className:d()(Ke.input,Ke.control),property:s,disabled:y}),r&&o.createElement(I,{className:Ke.control,disabled:y,color:r,thickness:l,thicknessItems:m}),c&&o.createElement(h,{id:(0,u.createDomId)(t,"leveled-line-style-select"),className:Ke.control,property:c,disabled:y,allowedLineStyles:f}))}var tt=n(33126);function nt(e){const{definition:{id:t,properties:{option1:n,option2:i,checked:r,disabled:l},title:c,optionsItems1:d,optionsItems2:p},offset:h}=e,[m]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[f]=(0,a.useDefinitionProperty)({property:l, +defaultValue:!1}),v=e.disabled||!m;return o.createElement(s.CommonSection,{id:t,offset:h,checked:r,title:c,disabled:e.disabled||f},o.createElement(K,{className:tt.twoOptions},o.createElement(re,{id:(0,u.createDomId)(t,"two-options-dropdown-1"),"data-name":"two-options-dropdown-1",className:tt.dropdown,menuClassName:tt.menu,property:n,disabled:v,options:d}),o.createElement(re,{id:(0,u.createDomId)(t,"two-options-dropdown-2"),"data-name":"two-options-dropdown-2",className:tt.dropdown,menuClassName:tt.menu,property:i,disabled:v,options:p})))}var ot=n(22855),it=n(29148);function rt(e){const{source:t,inputs:n,model:i,inputsTabProperty:r}=e.definition;return o.createElement(ot.InputsTabContent,{className:it.withoutPadding,property:r,model:i,study:t,inputs:n})}var at=n(15294),st=n(56840),lt=n(59255);var ct=n(40681);function dt(e){const{tab:t,icon:n,isActive:i,onTabClick:r}=e;return o.createElement("div",{className:d()(ct.wrapper,i&&ct.isActive),onClick:function(){r(t)}},o.createElement(Se.Icon,{icon:n}))}var ut=n(88436);function pt(e){const{activeTab:t,emojis:n,onTabClick:i}=e;return o.createElement("div",{className:ut.wrapper},n.map(({title:e,icon:n})=>o.createElement(dt,{key:e,tab:e,icon:n,isActive:t===e,onTabClick:i})))}var ht=n(69397),mt=n(16859);function ft(e){const{title:t}=e;return o.createElement("div",{className:mt.wrapper},t)}var vt=n(72077),gt=n(99339);const yt=34;function bt(e){const{className:t,emoji:n,size:i=yt,onClick:r}=e,a=(0,vt.getTwemojiUrl)(n,"png");return o.createElement("div",{className:d()(gt.wrapper,t),style:{width:i,height:i},onClick:function(){r(n)}},o.createElement("img",{className:gt.emoji,src:a,decoding:"async",width:"24",height:"24",alt:"",draggable:!1,onContextMenu:function(e){e.preventDefault()}}))}var wt=n(39897);const Et=o.memo(e=>{const{emojis:t,itemSize:n,onEmojiClick:i}=e;return o.createElement("div",{className:wt.wrapper},t.map(e=>o.createElement(bt,{key:e,className:wt.emojiItem,emoji:e,size:n,onClick:i})))});var _t=n(78036),Dt=n(83341);const St=o.createContext(null);function Ct(e){const{listRef:t,emojiGroups:n,emojiSize:i,onSelect:r,onContentRendered:a}=e;(0,o.useEffect)(()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.resetAfterIndex(0,!0)},[n]);const s=(0,o.useCallback)(e=>"title"===n[e].type?30:38,[n]),l=(0,o.useCallback)(({visibleStartIndex:e})=>{const{relatedTitle:t}=n[e];a(t)},[n,a]);return o.createElement(St.Provider,{value:(0,o.useMemo)(()=>({size:i,onSelect:r}),[i,r])},o.createElement(ht.VariableSizeList,{className:Dt.list,ref:t,width:"100%",height:Math.min(330,window.innerHeight-60),itemData:n,itemCount:n.length,children:xt,onItemsRendered:l,itemSize:s}))}const xt=o.memo(e=>{const{style:t,index:n,data:i}=e,r=i[n],{size:a,onSelect:s}=(0,_t.useEnsuredContext)(St);return"title"===r.type?o.createElement("div",{style:t},o.createElement(ft,{title:r.relatedTitle})):o.createElement("div",{style:t},o.createElement(Et,{emojis:r.content,itemSize:a,onEmojiClick:s}))});var Mt=n(70358);function Pt(e){var t;const{className:n,emojis:i,onSelect:r}=e,a=(0,o.useRef)(null),[s,l]=(0, +o.useState)(0),c=(0,o.useMemo)(()=>function(e,t){if(0===t)return[];const n=[];return e.forEach(({title:e,emojis:o})=>{n.push({type:"title",relatedTitle:e,content:[e]});let i=[];for(const r of o)i.length{n.current=e,null!==i.current&&(i.current.disconnect(),null!==e&&i.current.observe(e))},[n,i]);return(0,o.useEffect)(()=>(i.current=new lt.default((e,t)=>{r.current(e,t)}),n.current&&a(n.current),()=>{var e;null===(e=i.current)||void 0===e||e.disconnect()}),[n,...t]),a}((function(e){const[t]=e,{width:n}=t.contentRect,o=Math.floor((n-12)/38);l(o)})),[p,h]=(0,o.useState)((null===(t=c[0])||void 0===t?void 0:t.relatedTitle)||"");return o.createElement("div",{className:d()(Mt.wrapper,n)},o.createElement(pt,{emojis:i,activeTab:p,onTabClick:function(e){!function(e){var t;null===(t=a.current)||void 0===t||t.scrollToItem(e,"start"),requestAnimationFrame(()=>{var t;return null===(t=a.current)||void 0===t?void 0:t.scrollToItem(e,"start")})}(function(e){return c.findIndex(({relatedTitle:t,type:n})=>"title"===n&&t===e)}(e))}}),o.createElement("div",{ref:u},o.createElement(Ct,{listRef:a,emojiGroups:c,emojiSize:38,onSelect:r,onContentRendered:h})))}var Tt=n(80781),Nt=n(67978),Vt=n(36311),zt=n(31006),kt=n(75614),At=n(1033),Bt=n(42925),Lt=n(40526),Rt=n(72843);const It=[{title:(0,W.t)("recently used",{context:"emoji_group"}),emojis:[],icon:Tt},{title:(0,W.t)("smiles & people",{context:"emoji_group"}), +emojis:["😀","😃","😄","😁","😆","😅","😂","🤣","☺️","😊","😇","🙂","🙃","😉","😌","😍","🥰","😘","😗","😙","😚","😋","😛","😝","😜","🤪","🤨","🧐","🤓","😎","🤩","🥳","😏","😒","😞","😔","😟","😕","🙁","☹️","😣","😖","😫","😩","🥺","😢","😭","😤","😠","😡","🤬","🤯","😳","🥵","🥶","😱","😨","😰","😥","😓","🤗","🤔","🤭","🤫","🤥","😶","😐","😑","😬","🙄","😯","😦","😧","😮","😲","🥱","😴","🤤","😪","😵","🤐","🥴","🤢","🤮","🤧","😷","🤒","🤕","🤑","🤠","😈","👿","👹","👺","🤡","💩","👻","💀","☠️","👽","👾","🤖","🎃","😺","😸","😹","😻","😼","😽","🙀","😿","😾","👋","🤚","🖐","✋","🖖","👌","🤏","✌️","🤞","🤟","🤘","🤙","👈","👉","👆","🖕","👇","☝️","👍","👎","✊","👊","🤛","🤜","👏","🙌","👐","🤲","🤝","🙏","✍️","💅","🤳","💪","🦾","🦵","🦿","🦶","👂","🦻","👃","🧠","🦷","🦴","👀","👁","👅","👄","💋","🩸","👶","🧒","👦","👧","🧑","👱","👨","🧔","👨‍🦰","👨‍🦱","👨‍🦳","👨‍🦲","👩","👩‍🦰","🧑‍🦰","👩‍🦱","🧑‍🦱","👩‍🦳","🧑‍🦳","👩‍🦲","🧑‍🦲","👱‍♀️","👱‍♂️","🧓","👴","👵","🙍","🙍‍♂️","🙍‍♀️","🙎","🙎‍♂️","🙎‍♀️","🙅","🙅‍♂️","🙅‍♀️","🙆","🙆‍♂️","🙆‍♀️","💁","💁‍♂️","💁‍♀️","🙋","🙋‍♂️","🙋‍♀️","🧏","🧏‍♂️","🧏‍♀️","🙇","🙇‍♂️","🙇‍♀️","🤦","🤦‍♂️","🤦‍♀️","🤷","🤷‍♂️","🤷‍♀️","🧑‍⚕️","👨‍⚕️","👩‍⚕️","🧑‍🎓","👨‍🎓","👩‍🎓","🧑‍🏫","👨‍🏫","👩‍🏫","🧑‍⚖️","👨‍⚖️","👩‍⚖️","🧑‍🌾","👨‍🌾","👩‍🌾","🧑‍🍳","👨‍🍳","👩‍🍳","🧑‍🔧","👨‍🔧","👩‍🔧","🧑‍🏭","👨‍🏭","👩‍🏭","🧑‍💼","👨‍💼","👩‍💼","🧑‍🔬","👨‍🔬","👩‍🔬","🧑‍💻","👨‍💻","👩‍💻","🧑‍🎤","👨‍🎤","👩‍🎤","🧑‍🎨","👨‍🎨","👩‍🎨","🧑‍✈️","👨‍✈️","👩‍✈️","🧑‍🚀","👨‍🚀","👩‍🚀","🧑‍🚒","👨‍🚒","👩‍🚒","👮","👮‍♂️","👮‍♀️","🕵","🕵️‍♂️","🕵️‍♀️","💂","💂‍♂️","💂‍♀️","👷","👷‍♂️","👷‍♀️","🤴","👸","👳","👳‍♂️","👳‍♀️","👲","🧕","🤵","👰","🤰","🤱","👼","🎅","🤶","🦸","🦸‍♂️","🦸‍♀️","🦹","🦹‍♂️","🦹‍♀️","🧙","🧙‍♂️","🧙‍♀️","🧚","🧚‍♂️","🧚‍♀️","🧛","🧛‍♂️","🧛‍♀️","🧜","🧜‍♂️","🧜‍♀️","🧝","🧝‍♂️","🧝‍♀️","🧞","🧞‍♂️","🧞‍♀️","🧟","🧟‍♂️","🧟‍♀️","💆","💆‍♂️","💆‍♀️","💇","💇‍♂️","💇‍♀️","🚶","🚶‍♂️","🚶‍♀️","🧍","🧍‍♂️","🧍‍♀️","🧎","🧎‍♂️","🧎‍♀️","🧑‍🦯","👨‍🦯","👩‍🦯","🧑‍🦼","👨‍🦼","👩‍🦼","🧑‍🦽","👨‍🦽","👩‍🦽","🏃","🏃‍♂️","🏃‍♀️","💃","🕺","🕴","👯","👯‍♂️","👯‍♀️","🧖","🧖‍♂️","🧖‍♀️","🧑‍🤝‍🧑","👭","👫","👬","💏","👨‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","💑","👨‍❤️‍👨","👩‍❤️‍👩","👪","👨‍👩‍👦","👨‍👩‍👧","👨‍👩‍👧‍👦","👨‍👩‍👦‍👦","👨‍👩‍👧‍👧","👨‍👨‍👦","👨‍👨‍👧","👨‍👨‍👧‍👦","👨‍👨‍👦‍👦","👨‍👨‍👧‍👧","👩‍👩‍👦","👩‍👩‍👧","👩‍👩‍👧‍👦","👩‍👩‍👦‍👦","👩‍👩‍👧‍👧","👨‍👦","👨‍👦‍👦","👨‍👧","👨‍👧‍👦","👨‍👧‍👧","👩‍👦","👩‍👦‍👦","👩‍👧","👩‍👧‍👦","👩‍👧‍👧","🗣","👤","👥","👣"],icon:Nt},{title:(0,W.t)("animals & nature",{context:"emoji_group"}), +emojis:["🐶","🐱","🐭","🐹","🐰","🦊","🐻","🐼","🐨","🐯","🦁","🐮","🐷","🐽","🐸","🐵","🙈","🙉","🙊","🐒","🐔","🐧","🐦","🐤","🐣","🐥","🦆","🦅","🦉","🦇","🐺","🐗","🐴","🦄","🐝","🐛","🦋","🐌","🐞","🐜","🦟","🦗","🕷","🕸","🦂","🐢","🐍","🦎","🦖","🦕","🐙","🦑","🦐","🦞","🦀","🐡","🐠","🐟","🐬","🐳","🐋","🦈","🐊","🐅","🐆","🦓","🦍","🦧","🐘","🦛","🦏","🐪","🐫","🦒","🦘","🐃","🐂","🐄","🐎","🐖","🐏","🐑","🦙","🐐","🦌","🐕","🐩","🦮","🐕‍🦺","🐈","🐓","🦃","🦚","🦜","🦢","🦩","🕊","🐇","🦝","🦨","🦡","🦦","🦥","🐁","🐀","🐿","🦔","🐾","🐉","🐲","🌵","🎄","🌲","🌳","🌴","🌱","🌿","☘️","🍀","🎍","🎋","🍃","🍂","🍁","🍄","🐚","🌾","💐","🌷","🌹","🥀","🌺","🌸","🌼","🌻","🌞","🌝","🌛","🌜","🌚","🌕","🌖","🌗","🌘","🌑","🌒","🌓","🌔","🌙","🌎","🌍","🌏","🪐","💫","⭐️","🌟","✨","⚡️","☄️","💥","🔥","🌪","🌈","☀️","🌤","⛅️","🌥","☁️","🌦","🌧","⛈","🌩","🌨","❄️","☃️","⛄️","🌬","💨","💧","💦","☔️","🌊","🌫"],icon:Vt},{title:(0,W.t)("food & drink",{context:"emoji_group"}),emojis:["🍏","🍎","🍐","🍊","🍋","🍌","🍉","🍇","🍓","🍈","🍒","🍑","🥭","🍍","🥥","🥝","🍅","🍆","🥑","🥦","🥬","🥒","🌶","🌽","🥕","🧄","🧅","🥔","🍠","🥐","🥯","🍞","🥖","🥨","🧀","🥚","🍳","🧈","🥞","🧇","🥓","🥩","🍗","🍖","🌭","🍔","🍟","🍕","🥪","🥙","🧆","🌮","🌯","🥗","🥘","🥫","🍝","🍜","🍲","🍛","🍣","🍱","🥟","🦪","🍤","🍙","🍚","🍘","🍥","🥠","🥮","🍢","🍡","🍧","🍨","🍦","🥧","🧁","🍰","🎂","🍮","🍭","🍬","🍫","🍿","🍩","🍪","🌰","🥜","🍯","🥛","🍼","☕️","🍵","🧃","🥤","🍶","🍺","🍻","🥂","🍷","🥃","🍸","🍹","🧉","🍾","🧊","🥄","🍴","🍽","🥣","🥡","🥢","🧂"],icon:zt},{title:(0,W.t)("activity",{context:"emoji_group"}),emojis:["⚽️","🏀","🏈","⚾️","🥎","🎾","🏐","🏉","🥏","🎱","🪀","🏓","🏸","🏒","🏑","🥍","🏏","🥅","⛳️","🪁","🏹","🎣","🤿","🥊","🥋","🎽","🛹","🛷","⛸","🥌","🎿","⛷","🏂","🪂","🏋️","🏋️‍♂️","🏋️‍♀️","🤼","🤼‍♂️","🤼‍♀️","🤸‍♀️","🤸","🤸‍♂️","⛹️","⛹️‍♂️","⛹️‍♀️","🤺","🤾","🤾‍♂️","🤾‍♀️","🏌️","🏌️‍♂️","🏌️‍♀️","🏇","🧘","🧘‍♂️","🧘‍♀️","🏄","🏄‍♂️","🏄‍♀️","🏊","🏊‍♂️","🏊‍♀️","🤽","🤽‍♂️","🤽‍♀️","🚣","🚣‍♂️","🚣‍♀️","🧗","🧗‍♂️","🧗‍♀️","🚵","🚵‍♂️","🚵‍♀️","🚴","🚴‍♂️","🚴‍♀️","🏆","🥇","🥈","🥉","🏅","🎖","🏵","🎗","🎫","🎟","🎪","🤹","🤹‍♂️","🤹‍♀️","🎭","🎨","🎬","🎤","🎧","🎼","🎹","🥁","🎷","🎺","🎸","🪕","🎻","🎲","🎯","🎳","🎮","🎰","🧩"],icon:kt},{title:(0,W.t)("travel & places",{context:"emoji_group"}),emojis:["🚗","🚕","🚙","🚌","🚎","🏎","🚓","🚑","🚒","🚐","🚚","🚛","🚜","🦯","🦽","🦼","🛴","🚲","🛵","🏍","🛺","🚨","🚔","🚍","🚘","🚖","🚡","🚠","🚟","🚃","🚋","🚞","🚝","🚄","🚅","🚈","🚂","🚆","🚇","🚊","🚉","✈️","🛫","🛬","🛩","💺","🛰","🚀","🛸","🚁","🛶","⛵️","🚤","🛥","🛳","⛴","🚢","⚓️","⛽️","🚧","🚦","🚥","🚏","🗺","🗿","🗽","🗼","🏰","🏯","🏟","🎡","🎢","🎠","⛲️","⛱","🏖","🏝","🏜","🌋","⛰","🏔","🗻","🏕","⛺️","🏠","🏡","🏘","🏚","🏗","🏭","🏢","🏬","🏣","🏤","🏥","🏦","🏨","🏪","🏫","🏩","💒","🏛","⛪️","🕌","🕍","🛕","🕋","⛩","🛤","🛣","🗾","🎑","🏞","🌅","🌄","🌠","🎇","🎆","🌇","🌆","🏙","🌃","🌌","🌉","🌁"],icon:At},{title:(0,W.t)("objects",{context:"emoji_group"}), +emojis:["⌚️","📱","📲","💻","⌨️","🖥","🖨","🖱","🖲","🕹","🗜","💽","💾","💿","📀","📼","📷","📸","📹","🎥","📽","🎞","📞","☎️","📟","📠","📺","📻","🎙","🎚","🎛","🧭","⏱","⏲","⏰","🕰","⌛️","⏳","📡","🔋","🔌","💡","🔦","🕯","🪔","🧯","🛢","💸","💵","💴","💶","💷","💰","💳","💎","⚖️","🧰","🔧","🔨","⚒","🛠","⛏","🔩","⚙️","🧱","⛓","🧲","🔫","💣","🧨","🪓","🔪","🗡","⚔️","🛡","🚬","⚰️","⚱️","🏺","🔮","📿","🧿","💈","⚗️","🔭","🔬","🕳","🩹","🩺","💊","💉","🧬","🦠","🧫","🧪","🌡","🧹","🧺","🧻","🚽","🚰","🚿","🛁","🛀","🧼","🪒","🧽","🧴","🛎","🔑","🗝","🚪","🪑","🛋","🛏","🛌","🧸","🖼","🛍","🛒","🎁","🎈","🎏","🎀","🎊","🎉","🎎","🏮","🎐","🧧","✉️","📩","📨","📧","💌","📥","📤","📦","🏷","📪","📫","📬","📭","📮","📯","📜","📃","📄","📑","🧾","📊","📈","📉","🗒","🗓","📆","📅","🗑","📇","🗃","🗳","🗄","📋","📁","📂","🗂","🗞","📰","📓","📔","📒","📕","📗","📘","📙","📚","📖","🔖","🧷","🔗","📎","🖇","📐","📏","🧮","📌","📍","✂️","🖊","🖋","✒️","🖌","🖍","📝","✏️","🔍","🔎","🔏","🔐","🔒","🔓","🧳","🌂","☂️","🧵","🧶","👓","🕶","🥽","🥼","🦺","👔","👕","👖","🧣","🧤","🧥","🧦","👗","👘","🥻","🩱","🩲","🩳","👙","👚","👛","👜","👝","🎒","👞","👟","🥾","🥿","👠","👡","🩰","👢","👑","👒","🎩","🎓","🧢","⛑","💄","💍","💼"],icon:Bt},{title:(0,W.t)("symbols",{context:"emoji_group"}),emojis:["❤️","🧡","💛","💚","💙","💜","🖤","🤍","🤎","💔","❣️","💕","💞","💓","💗","💖","💘","💝","💟","☮️","✝️","☪️","🕉","☸️","✡️","🔯","🕎","☯️","☦️","🛐","⛎","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","🆔","⚛️","🉑","☢️","☣️","📴","📳","🈶","🈚️","🈸","🈺","🈷️","✴️","🆚","💮","🉐","㊙️","㊗️","🈴","🈵","🈹","🈲","🅰️","🅱️","🆎","🆑","🅾️","🆘","❌","⭕️","🛑","⛔️","📛","🚫","💯","💢","♨️","🚷","🚯","🚳","🚱","🔞","📵","🚭","❗️","❕","❓","❔","‼️","⁉️","🔅","🔆","〽️","⚠️","🚸","🔱","⚜️","🔰","♻️","✅","🈯️","💹","❇️","✳️","❎","🌐","💠","Ⓜ️","🌀","💤","🏧","🚾","♿️","🅿️","🈳","🈂️","🛂","🛃","🛄","🛅","🚹","🚺","🚼","🚻","🚮","🎦","📶","🈁","🔣","ℹ️","🔤","🔡","🔠","🆖","🆗","🆙","🆒","🆕","🆓","0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣","🔟","🔢","#️⃣","*️⃣","⏏️","▶️","⏸","⏯","⏹","⏺","⏭","⏮","⏩","⏪","⏫","⏬","◀️","🔼","🔽","➡️","⬅️","⬆️","⬇️","↗️","↘️","↙️","↖️","↕️","↔️","↪️","↩️","⤴️","⤵️","🔀","🔁","🔂","🔄","🔃","🎵","🎶","➕","➖","➗","✖️","♾","💲","💱","™️","©️","®️","〰️","➰","➿","🔚","🔙","🔛","🔝","🔜","✔️","☑️","🔘","🔴","🟠","🟡","🟢","🔵","🟣","⚫️","⚪️","🟤","🔺","🔻","🔸","🔹","🔶","🔷","🔳","🔲","▪️","▫️","◾️","◽️","◼️","◻️","🟥","🟧","🟨","🟩","🟦","🟪","⬛️","⬜️","🟫","🔈","🔇","🔉","🔊","🔔","🔕","📣","📢","👁‍🗨","💬","💭","🗯","♠️","♣️","♥️","♦️","🃏","🎴","🀄️","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧"],icon:Lt},{title:(0,W.t)("flags",{context:"emoji_group"}), +emojis:["🏳️","🏴","🏁","🚩","🏳️‍🌈","🏴‍☠️","🇦🇫","🇦🇽","🇦🇱","🇩🇿","🇦🇸","🇦🇩","🇦🇴","🇦🇮","🇦🇶","🇦🇬","🇦🇷","🇦🇲","🇦🇼","🇦🇺","🇦🇹","🇦🇿","🇧🇸","🇧🇭","🇧🇩","🇧🇧","🇧🇾","🇧🇪","🇧🇿","🇧🇯","🇧🇲","🇧🇹","🇧🇴","🇧🇦","🇧🇼","🇧🇷","🇮🇴","🇻🇬","🇧🇳","🇧🇬","🇧🇫","🇧🇮","🇰🇭","🇨🇲","🇨🇦","🇮🇨","🇨🇻","🇧🇶","🇰🇾","🇨🇫","🇹🇩","🇨🇱","🇨🇳","🇨🇽","🇨🇨","🇨🇴","🇰🇲","🇨🇬","🇨🇩","🇨🇰","🇨🇷","🇨🇮","🇭🇷","🇨🇺","🇨🇼","🇨🇾","🇨🇿","🇩🇰","🇩🇯","🇩🇲","🇩🇴","🇪🇨","🇪🇬","🇸🇻","🇬🇶","🇪🇷","🇪🇪","🇪🇹","🇪🇺","🇫🇰","🇫🇴","🇫🇯","🇫🇮","🇫🇷","🇬🇫","🇵🇫","🇹🇫","🇬🇦","🇬🇲","🇬🇪","🇩🇪","🇬🇭","🇬🇮","🇬🇷","🇬🇱","🇬🇩","🇬🇵","🇬🇺","🇬🇹","🇬🇬","🇬🇳","🇬🇼","🇬🇾","🇭🇹","🇭🇳","🇭🇰","🇭🇺","🇮🇸","🇮🇳","🇮🇩","🇮🇷","🇮🇶","🇮🇪","🇮🇲","🇮🇱","🇮🇹","🇯🇲","🇯🇵","🎌","🇯🇪","🇯🇴","🇰🇿","🇰🇪","🇰🇮","🇽🇰","🇰🇼","🇰🇬","🇱🇦","🇱🇻","🇱🇧","🇱🇸","🇱🇷","🇱🇾","🇱🇮","🇱🇹","🇱🇺","🇲🇴","🇲🇰","🇲🇬","🇲🇼","🇲🇾","🇲🇻","🇲🇱","🇲🇹","🇲🇭","🇲🇶","🇲🇷","🇲🇺","🇾🇹","🇲🇽","🇫🇲","🇲🇩","🇲🇨","🇲🇳","🇲🇪","🇲🇸","🇲🇦","🇲🇿","🇲🇲","🇳🇦","🇳🇷","🇳🇵","🇳🇱","🇳🇨","🇳🇿","🇳🇮","🇳🇪","🇳🇬","🇳🇺","🇳🇫","🇰🇵","🇲🇵","🇳🇴","🇴🇲","🇵🇰","🇵🇼","🇵🇸","🇵🇦","🇵🇬","🇵🇾","🇵🇪","🇵🇭","🇵🇳","🇵🇱","🇵🇹","🇵🇷","🇶🇦","🇷🇪","🇷🇴","🇷🇺","🇷🇼","🇼🇸","🇸🇲","🇸🇦","🇸🇳","🇷🇸","🇸🇨","🇸🇱","🇸🇬","🇸🇽","🇸🇰","🇸🇮","🇬🇸","🇸🇧","🇸🇴","🇿🇦","🇰🇷","🇸🇸","🇪🇸","🇱🇰","🇧🇱","🇸🇭","🇰🇳","🇱🇨","🇵🇲","🇻🇨","🇸🇩","🇸🇷","🇸🇿","🇸🇪","🇨🇭","🇸🇾","🇹🇼","🇹🇯","🇹🇿","🇹🇭","🇹🇱","🇹🇬","🇹🇰","🇹🇴","🇹🇹","🇹🇳","🇹🇷","🇹🇲","🇹🇨","🇹🇻","🇻🇮","🇺🇬","🇺🇦","🇦🇪","🇬🇧","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇻🇺","🇻🇦","🇻🇪","🇻🇳","🇼🇫","🇪🇭","🇾🇪","🇿🇲","🇿🇼"],icon:Rt}];var Wt=n(50628),Ft=n(37558),Ht=n(41590),Ot=n(27317),jt=n(40173);var Zt=n(40233),Ut=n(24437),Yt=n(90896);function Qt(e){const{children:t,highlight:n,disabled:i,reference:r}=e,a=n?"primary":"default";return o.createElement("div",{ref:r,className:d()(Yt.wrapper,Yt["intent-"+a],Yt["border-thin"],Yt["size-medium"],n&&Yt.highlight,n&&Yt.focused,i&&Yt.disabled),"data-role":"button"},o.createElement("div",{className:d()(Yt.childrenContainer,i&&Yt.disabled)},t),n&&o.createElement("span",{className:Yt.shadow}))}var qt=n(95076);const Xt=()=>null,Gt=(0,jt.mergeThemes)(Ot.DEFAULT_MENU_THEME,{menuBox:qt.menuBox});function Kt(e){const{value:t,disabled:n,onSelect:i}=e,r=(0,o.useRef)(null),{current:a}=(0,o.useRef)(st.getJSON("RecentlyUsedEmojis",[t])),[s,l]=(0,o.useState)(a),[c,d]=(0,o.useState)(!1),u=(0,o.useCallback)(()=>d(!1),[]);var p;p=u,(0,o.useEffect)(()=>(document.addEventListener("scroll",p),()=>{document.removeEventListener("scroll",p)}),[p]);const h=(0,o.useCallback)(e=>{const t=Array.from(new Set([e,...s])).slice(0,18);st.setJSON("RecentlyUsedEmojis",t),l(t),i(e),u()},[s,i]),m=(f=s,(0,o.useMemo)(()=>(It[0].emojis=f,[...It]),[f]));var f;return o.createElement(o.Fragment,null,o.createElement(Qt,{reference:r, +highlight:c,disabled:n},o.createElement(bt,{emoji:t,onClick:function(){n||d(!0)}})),o.createElement(Ye.MatchMedia,{rule:Ut.DialogBreakpoints.TabletSmall},e=>c&&o.createElement(Ft.DrawerManager,null,e?o.createElement(Ht.Drawer,{className:qt.drawer,position:"Bottom",onClose:u},o.createElement(Pt,{emojis:m,onSelect:h})):o.createElement(Wt.PopupMenu,{theme:Gt,isOpened:!0,position:(0,Zt.getPopupPositioner)(r.current,{horizontalDropDirection:Zt.HorizontalDropDirection.FromLeftToRight,horizontalAttachEdge:Zt.HorizontalAttachEdge.Left}),onClickOutside:u,onClose:Xt},o.createElement(Pt,{className:qt.desktopSize,emojis:m,onSelect:h})))))}var $t=n(9688);function Jt(e){const{definition:{title:t,properties:n}}=e,{checked:i,emoji:r,backgroundColor:s}=n,[l,c]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[d,u]=(0,a.useDefinitionProperty)({property:r,defaultValue:"🙂"}),[p,h]=(0,a.useDefinitionProperty)({property:s,defaultValue:ue.colorsPalette["color-tv-blue-a600"]});return o.createElement("div",{className:$t.wrapper},o.createElement(at.Checkbox,{className:$t.checkbox,label:t,checked:l,onChange:function(){c(!l)}}),o.createElement(Kt,{value:d,disabled:!l,onSelect:u}),o.createElement(L.ColorSelect,{className:$t.colorSelect,disabled:!l,color:p,onColorChange:h}))}function en(e){const{definition:{id:t,properties:{disabled:n,visible:i},childrenDefinitions:r,title:l},offset:c}=e,[d]=(0,a.useDefinitionProperty)({property:n,defaultValue:!1}),[u]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),p=e.disabled;return u?o.createElement(o.Fragment,null,l&&o.createElement(s.CommonSection,{id:t,offset:c,title:l,disabled:e.disabled||d}),r.map(e=>o.createElement(tn,{key:e.id,disabled:p,definition:e,offset:Boolean(l)}))):null}function tn(e){const{definition:t,offset:n,disabled:a}=e;if(function(e){(0,o.useEffect)(()=>{if(void 0===e)return;const t={...e.properties};return Object.entries(t).forEach(([n,o])=>{void 0!==o&&o.subscribe(t,()=>Oe.logger.logNormal(`Property "${n}" in definition "${e.id}" was updated to value "${o.value()}"`))}),()=>{Object.entries(t).forEach(([,e])=>{void 0!==e&&e.unsubscribeAll(t)})}},[e])}((0,i.isPropertyDefinitionsGroup)(t)?void 0:t),(0,i.isPropertyDefinitionsGroup)(t))return o.createElement(nn,{definition:t,offset:n,disabled:a});switch(t.propType){case"line":return o.createElement(te,{...e,definition:t});case"checkable":return o.createElement(l,{...e,definition:t});case"color":return o.createElement(ce,{...e,definition:t});case"transparency":return o.createElement(fe,{...e,definition:t});case"twoColors":return o.createElement(ge,{...e,definition:t});case"number":return o.createElement(we,{...e,definition:t});case"symbol":return o.createElement(r.SymbolInputsButton,{...e,definition:t});case"text":return o.createElement(Re,{...e,definition:t});case"checkableSet":return o.createElement(Ee,{...e,definition:t});case"set":return o.createElement(en,{...e,definition:t});case"options":return o.createElement(He,{...e,definition:t});case"range":return o.createElement(qe,{...e,definition:t});case"coordinates": +return o.createElement(We,{...e,definition:t});case"twoOptions":return o.createElement(nt,{...e,definition:t});case"leveledLine":return o.createElement(Je,{...e,definition:t});case"emoji":return o.createElement(Jt,{...e,definition:t});case"image":return null;case"studyInputs":return o.createElement(rt,{...e,definition:t});default:return null}}function nn(e){const{definition:t}=e,n=(0,J.useWatchedValueReadonly)({watchedValue:t.definitions});return(0,J.useWatchedValueReadonly)({watchedValue:t.visible,defaultValue:!0})?o.createElement(o.Fragment,null,t.title&&o.createElement(Xe.GroupTitleSection,{title:t.title,name:t.id}),n&&(r=n,r.reduce((e,t)=>{if((0,i.isPropertyDefinitionsGroup)(t)||"leveledLine"!==t.propType)e.push(t);else{const n=e[e.length-1];Array.isArray(n)?n.push(t):e.push([t])}return e},[])).map(n=>Array.isArray(n)?o.createElement($e,{key:n[0].id,name:t.id,definitions:n}):o.createElement(tn,{key:n.id,...e,definition:n})),"general"===t.groupType&&o.createElement(Te.PropertyTable.GroupSeparator,{size:1})):null;var r}},98526:(e,t,n)=>{"use strict";n.d(t,{Dialog:()=>c});var o=n(59496),i=n(97754),r=n(50655),a=n(88216),s=n(90186),l=n(17683);class c extends o.PureComponent{constructor(){super(...arguments),this._manager=new a.OverlapManager,this._handleSlot=e=>{this._manager.setContainer(e)}}render(){const{rounded:e=!0,shadowed:t=!0,fullscreen:n=!1,darker:a=!1,className:c,backdrop:d}=this.props,u=i(c,l.dialog,e&&l.rounded,t&&l.shadowed,n&&l.fullscreen,a&&l.darker),p=(0,s.filterDataProps)(this.props),h=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return o.createElement(o.Fragment,null,o.createElement(r.SlotContext.Provider,{value:this._manager},d&&o.createElement("div",{onClick:this.props.onClickBackdrop,className:l.backdrop}),o.createElement("div",{...p,className:u,style:h,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:-1},this.props.children)),o.createElement(r.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:e,left:t,width:n,right:o,top:i,zIndex:r,height:a}=this.props;return{bottom:e,left:t,right:o,top:i,zIndex:r,maxWidth:n,height:a}}}},95711:(e,t,n)=>{"use strict";n.d(t,{PopupContext:()=>o});const o=n(59496).createContext(null)},81e3:(e,t,n)=>{"use strict";n.d(t,{PopupDialog:()=>_});var o=n(59496),i=n(97754),r=n(88537),a=n(98526),s=n(86431),l=n(76594),c=n(64514);function d(e,t,n,o){return e+t>o&&(e=o-t),e{if(0!==e.button||this._isTargetNoDraggable(e))return;e.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove), +document.addEventListener("mouseup",this._onMouseDragEnd);const t=u(p(e));this._dragStart(t)},this._onTouchDragStart=e=>{if(this._isTargetNoDraggable(e))return;this._canBeTouchClick=!0,e.preventDefault(),this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const t=u(h(e));this._dragStart(t)},this._onMouseDragEnd=e=>{e.target instanceof Node&&this._header.contains(e.target)&&e.preventDefault(),document.removeEventListener("mousemove",this._onMouseDragMove),document.removeEventListener("mouseup",this._onMouseDragEnd),this._onDragStop()},this._onTouchDragEnd=e=>{this._header.removeEventListener("touchmove",this._onTouchDragMove),this._onDragStop(),this._canBeTouchClick&&(this._canBeTouchClick=!1,function(e){if(e instanceof SVGElement){const t=document.createEvent("SVGEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}e instanceof HTMLElement&&e.click()}(e.target))},this._onMouseDragMove=e=>{const t=u(p(e));this._dragMove(t)},this._onTouchDragMove=e=>{this._canBeTouchClick=!1,e.preventDefault();const t=u(h(e));this._dragMove(t)},this._onDragStop=()=>{this._drag=null,this._header.classList.remove("dragging")},this._dialog=e,this._header=t,this._options=n,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}destroy(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)}updateOptions(e){this._options=e}_dragStart(e){const t=this._dialog.getBoundingClientRect();this._drag={startX:e.x,startY:e.y,finishX:e.x,finishY:e.y,dialogX:t.left,dialogY:t.top};const n=Math.round(t.left),o=Math.round(t.top);this._dialog.style.transform=`translate(${n}px, ${o}px)`,this._header.classList.add("dragging"),this._options.onDragStart&&this._options.onDragStart()}_dragMove(e){if(this._drag){if(this._drag.finishX=e.x,this._drag.finishY=e.y,null!==this._frame)return;this._frame=requestAnimationFrame(()=>{if(this._drag){const t=e.x-this._drag.startX,n=e.y-this._drag.startY;this._moveDialog(this._drag.dialogX+t,this._drag.dialogY+n)}this._frame=null})}}_moveDialog(e,t){const n=this._dialog.getBoundingClientRect(),{boundByScreen:o}=this._options,i=d(e,n.width,o?0:-1/0,o?window.innerWidth:1/0),r=d(t,n.height,o?0:-1/0,o?window.innerHeight:1/0);this._dialog.style.transform=`translate(${Math.round(i)}px, ${Math.round(r)}px)`}_isTargetNoDraggable(e){return e.target instanceof Element&&null!==e.target.closest("[data-disable-drag]")}}const f={vertical:0};class v{constructor(e,t){this._frame=null,this._isFullscreen=!1,this._handleResize=()=>{null===this._frame&&(this._frame=requestAnimationFrame(()=>{this.recalculateBounds(),this._frame=null}))},this._dialog=e, +this._guard=t.guard||f,this._calculateDialogPosition=t.calculateDialogPosition,this._initialHeight=e.style.height,window.addEventListener("resize",this._handleResize)}updateOptions(e){this._guard=e.guard||f,this._calculateDialogPosition=e.calculateDialogPosition}setFullscreen(e){this._isFullscreen!==e&&(this._isFullscreen=e,this.recalculateBounds())}centerAndFit(){const{x:e,y:t}=this.getDialogsTopLeftCoordinates(),n=this._calcAvailableHeight(),o=this._calcDialogHeight();if(n===o)if(this._calculateDialogPosition){const{left:e,top:t}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(e)}px, ${Math.round(t)}px)`}else this._dialog.style.height=o+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${e}px, ${t}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:e,clientWidth:t}=document.documentElement,n=this._calcDialogHeight(),o=t/2-this._dialog.clientWidth/2,i=e/2-n/2;return{x:Math.round(o),y:Math.round(i)}}recalculateBounds(){const{clientHeight:e,clientWidth:t}=document.documentElement;if(this._isFullscreen)this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none";else{const{vertical:n}=this._guard;if(this._calculateDialogPosition){const o=this._calculateDialogPosition(this._dialog,{clientWidth:t,clientHeight:e},{vertical:n}),{left:i,top:r}=o;this._dialog.style.transform=`translate(${Math.round(i)}px, ${Math.round(r)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const o=this._dialog.getBoundingClientRect(),i=e-2*n,r=d(o.left,o.width,0,t),a=d(o.top,o.height,n,e);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(r)}px, ${Math.round(a)}px)`,this._dialog.style.height=i{const{reference:t}=this.props;this._dialog=e,"function"==typeof t&&t(e)},this._handleFocus=e=>{this._moveToTop()},this._handleMouseDown=e=>{this._moveToTop()},this._handleTouchStart=e=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return o.createElement(y.PopupContext.Provider,{value:this},o.createElement(l.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},e=>o.createElement("div",{ref:e,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart, +"data-dialog-name":this.props["data-dialog-name"]},o.createElement(a.Dialog,{style:this._applyAnimationCSSVariables(),...this.props,reference:this._handleDialogRef,className:i(w.dialog,this.props.className)},!1,this.props.children))))}componentDidMount(){const{draggable:e,boundByScreen:t,onDragStart:n}=this.props,o=(0,r.ensureNotNull)(this._dialog);if(e){const e=o.querySelector("[data-dragg-area]");e&&e instanceof HTMLElement&&(this._drag=new m(o,e,{boundByScreen:Boolean(t),onDragStart:n}))}this.props.autofocus&&!o.contains(document.activeElement)&&o.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,b.setFixedBodyState)(!0);const{guard:i,calculateDialogPosition:a}=this.props;this._resize=new v(o,{guard:i,calculateDialogPosition:a}),this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus&&o.focus()}componentDidUpdate(){if(this._resize){const{guard:e,calculateDialogPosition:t}=this.props;this._resize.updateOptions({guard:e,calculateDialogPosition:t}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){this._drag&&this._drag.destroy(),this._resize&&this._resize.destroy(),(this._isFullScreen()||this.props.fixedBody)&&(0,b.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(e){if(this._resize&&this._dialog){const{x:t,y:n}=e,{x:o,y:i}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",t+"px"),this._dialog.style.setProperty("--animationTranslateStartY",n+"px"),this._dialog.style.setProperty("--animationTranslateEndX",o+"px"),this._dialog.style.setProperty("--animationTranslateEndY",i+"px"),this._dialog.classList.add(w.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}E.contextType=g.PortalContext,E.defaultProps={boundByScreen:!0,draggable:!0,centeredOnMount:!0};const _=(0,s.makeOverlapable)(E)},95276:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosure:()=>c});var o=n(59496),i=n(66092),r=n(26597),a=n(72887),s=n(68721),l=n(66230);const c=o.forwardRef((e,t)=>{const{id:n,tabIndex:c,disabled:d,highlight:u,intent:p,children:h,onClick:m,onFocus:f,onBlur:v,listboxAria:g,...y}=e,b=(0,o.useRef)({"aria-labelledby":n}),{listboxId:w,isOpened:E,isFocused:_,buttonTabIndex:D,listboxTabIndex:S,highlight:C,intent:x,onOpen:M,close:P,toggle:T,buttonFocusBindings:N,onButtonClick:V,buttonRef:z,listboxRef:k,buttonAria:A}=(0, +s.useControlDisclosure)({id:n,disabled:d,buttonTabIndex:c,intent:p,highlight:u,onFocus:f,onBlur:v,onClick:m}),B=(0,r.useKeyboardToggle)(T),L=(0,r.useKeyboardClose)(E,P),R=(0,r.useKeyboardActionHandler)([27],P,(0,o.useCallback)(()=>E,[E])),I=(0,r.useKeyboardEventHandler)(B,L),W=(0,r.useKeyboardEventHandler)(R);return o.createElement(a.ControlDisclosureView,{...y,...N,...A,id:n,role:"button",tabIndex:D,disabled:d,isOpened:E,isFocused:_,ref:(0,i.useMergedRefs)([z,t]),highlight:C,intent:x,onClose:P,onOpen:M,onClick:V,onKeyDown:I,listboxId:w,listboxTabIndex:S,listboxReference:k,listboxAria:null!=g?g:b.current,onListboxKeyDown:W},h,o.createElement("span",{className:l.invisibleFocusHandler,tabIndex:0,"aria-hidden":!0,onFocus:P}))});c.displayName="ControlDisclosure"},37558:(e,t,n)=>{"use strict";n.d(t,{DrawerManager:()=>i,DrawerContext:()=>r});var o=n(59496);class i extends o.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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.createElement(r.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const r=o.createContext(null)},41590:(e,t,n)=>{"use strict";n.d(t,{Drawer:()=>h});var o=n(59496),i=n(88537),r=n(97754),a=n(59142),s=n(43989),l=n(65718),c=n(37558),d=n(49483),u=n(29197),p=n(66998);function h(e){const{position:t="Bottom",onClose:n,children:h,className:m,theme:f=p}=e,v=(0,i.ensureNotNull)((0,o.useContext)(c.DrawerContext)),[g,y]=(0,o.useState)(0),b=(0,o.useRef)(null),w=(0,o.useContext)(u.CloseDelegateContext);return(0,o.useEffect)(()=>{const e=(0,i.ensureNotNull)(b.current);return e.focus({preventScroll:!0}),w.subscribe(v,n),0===v.currentDrawer&&(0,s.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,a.disableBodyScroll)(e),y(v.addDrawer()),()=>{w.unsubscribe(v,n);const t=v.removeDrawer();d.CheckMobile.iOS()&&(0,a.enableBodyScroll)(e),0===t&&(0,s.setFixedBodyState)(!1)}},[]),o.createElement(l.Portal,null,o.createElement("div",{className:r(p.wrap,p["position"+t])},g===v.currentDrawer&&o.createElement("div",{className:p.backdrop,onClick:n}),o.createElement("div",{className:r(p.drawer,f.drawer,p["position"+t],m),ref:b,tabIndex:-1,"data-name":e["data-name"]},h)))}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>d});var o=n(28353),i=n(59496),r=n(97754),a=n(9745),s=n(73366),l=n(73432);const c={remove:(0,o.t)("Remove")};function d(e){const{className:t,isActive:n,onClick:o,onMouseDown:d,title:u,hidden:p,"data-name":h="remove-button",...m}=e;return i.createElement(a.Icon,{...m,"data-name":h,className:r(l.button,"apply-common-tooltip",n&&l.active,p&&l.hidden,t),icon:s,onClick:o,onMouseDown:d,title:u||c.remove})}},40173:(e,t,n)=>{"use strict";function o(e,t,n={}){const o=Object.assign({},t);for(const i of Object.keys(t)){const r=n[i]||i;r in e&&(o[i]=[e[r],t[i]].join(" "))}return o}function i(e,t,n={}){ +return Object.assign({},e,o(e,t,n))}n.d(t,{weakComposeClasses:()=>o,mergeThemes:()=>i})},31328:e=>{e.exports=''},73366:e=>{e.exports=''},19726:e=>{e.exports=''},56326:e=>{e.exports=''},50303:e=>{e.exports=''},20618:e=>{e.exports=''},56775:e=>{e.exports=''},23848:e=>{e.exports=''},86508:e=>{e.exports=''},27603:e=>{e.exports=''},75614:e=>{ +e.exports=''},36311:e=>{ +e.exports=''},72843:e=>{e.exports=''},31006:e=>{ +e.exports=''},42925:e=>{e.exports=''},80781:e=>{e.exports=''},67978:e=>{ +e.exports=''},40526:e=>{e.exports=''},1033:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/245f40c6e1d758167db8571398efaef2.svg b/charting_library/bundles/245f40c6e1d758167db8571398efaef2.svg new file mode 100644 index 00000000..4e11fe62 --- /dev/null +++ b/charting_library/bundles/245f40c6e1d758167db8571398efaef2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2502.82e28010896833a0f183.js b/charting_library/bundles/2502.82e28010896833a0f183.js new file mode 100644 index 00000000..d4db8060 --- /dev/null +++ b/charting_library/bundles/2502.82e28010896833a0f183.js @@ -0,0 +1,4 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2502],{6539:e=>{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},91131:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",footer:"footer-xe9kH1lJ",submitButton:"submitButton-xe9kH1lJ",buttons:"buttons-xe9kH1lJ"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},97737:(e,t,n)=>{"use strict";n.d(t,{AnchorButton:()=>d,Button:()=>c});var r=n(59496),o=n(71036);function s(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function a(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function i(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function l(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:l,...c}=e;return{...c,color:a(t),size:i(n),variant:s(r),stretch:o,startIcon:l}}function c(e){return r.createElement(o.SquareButton,{...l(e)})}function u(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:l,...c}=e;return{...c,color:a(t),size:i(n),variant:s(r),stretch:o,startIcon:l}}function d(e){return r.createElement(o.SquareAnchorButton,{...u(e)})}},71036:(e,t,n)=>{"use strict";n.d(t,{SquareAnchorButton:()=>f,SquareButton:()=>h});var r=n(59496),o=n(97754),s=n(95604),a=n(9745),i=n(6539),l=n.n(i);function c(e){const{color:t="brand",size:n="medium",variant:r="primary",stretch:a=!1,icon:i,startIcon:c,endIcon:u,iconOnly:d=!1,className:p,isGrouped:m,cellState:h,disablePositionAdjustment:v=!1}=e,f=function(e){let t="";return 0!==e&&(1&e&&(t=o(t,l()["no-corner-top-left"])), +2&e&&(t=o(t,l()["no-corner-top-right"])),4&e&&(t=o(t,l()["no-corner-bottom-right"])),8&e&&(t=o(t,l()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(h));return o(p,l().button,l()["size-"+n],l()["color-"+t],l()["variant-"+r],a&&l().stretch,(i||c)&&l()["with-start-icon"],u&&l()["with-end-icon"],d&&l()["icon-only"],f,m&&l().grouped,m&&!v&&l()["adjust-position"],m&&h.isTop&&l()["first-row"],m&&h.isLeft&&l()["first-col"])}function u(e){const{size:t,startIcon:n,icon:o,iconOnly:s,children:i,endIcon:c}=e,u=null!=n?n:o;return r.createElement(r.Fragment,null,u&&"xsmall"!==t&&r.createElement(a.Icon,{icon:u,className:l()["start-icon-wrap"]}),i&&r.createElement("span",{className:l().content},i),c&&!s&&"xsmall"!==t&&r.createElement(a.Icon,{icon:c,className:l()["end-icon-wrap"]}))}var d=n(86332),p=n(90186);function m(e){const{className:t,color:n,variant:r,size:o,stretch:s,animated:a,icon:i,iconOnly:l,startIcon:c,endIcon:u,...d}=e;return{...d,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function h(e){const{reference:t,...n}=e,{isGrouped:o,cellState:s,disablePositionAdjustment:a}=(0,r.useContext)(d.ControlGroupContext),i=c({...n,isGrouped:o,cellState:s,disablePositionAdjustment:a});return r.createElement("button",{...m(n),className:i,ref:t},r.createElement(u,{...n}))}function v(e){const{className:t,color:n,variant:r,size:o,stretch:s,animated:a,icon:i,iconOnly:l,startIcon:c,endIcon:u,...d}=e;return{...d,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function f(e){const{reference:t}=e,{isGrouped:n,cellState:o,disablePositionAdjustment:s}=(0,r.useContext)(d.ControlGroupContext),a=c({...e,isGrouped:n,cellState:o,disablePositionAdjustment:s});return r.createElement("a",{...v(e),className:a,ref:t},r.createElement(u,{...e}))}},50182:(e,t,n)=>{"use strict";n.d(t,{AdaptiveConfirmDialog:()=>p});var r=n(59496),o=n(97754),s=n.n(o),a=n(97737),i=n(88537),l=n(28353),c=n(68335),u=n(85457),d=n(91131);class p extends r.PureComponent{constructor(){super(...arguments),this._dialogRef=r.createRef(),this._handleClose=()=>{const{defaultActionOnClose:e,onSubmit:t,onCancel:n,onClose:r}=this.props;switch(e){case"submit":t();break;case"cancel":n()}r()},this._handleCancel=()=>{this.props.onCancel(),this.props.onClose()},this._handleKeyDown=e=>{const{onSubmit:t,submitButtonDisabled:n,submitOnEnterKey:r}=this.props;13===(0,c.hashFromEvent)(e)&&r&&(e.preventDefault(),n||t())}}render(){const{render:e,onClose:t,onSubmit:n,onCancel:o,footerLeftRenderer:s,submitButtonText:a,submitButtonDisabled:i,defaultActionOnClose:l,submitOnEnterKey:c,...d}=this.props;return r.createElement(u.AdaptivePopupDialog,{...d,ref:this._dialogRef,onKeyDown:this._handleKeyDown,render:this._renderChildren(),onClose:this._handleClose})}focus(){(0,i.ensureNotNull)(this._dialogRef.current).focus()}_renderChildren(){return e=>{ +const{render:t,footerLeftRenderer:n,additionalButtons:o,submitButtonText:i,submitButtonDisabled:c,onSubmit:u,cancelButtonText:p,showCancelButton:m=!0,submitButtonClassName:h,cancelButtonClassName:v,buttonsWrapperClassName:f}=this.props;return r.createElement(r.Fragment,null,t(e),r.createElement("div",{className:d.footer},n&&n(e.isSmallWidth),r.createElement("div",{className:s()(d.buttons,f)},o,m&&r.createElement(a.Button,{className:v,name:"cancel",appearance:"stroke",onClick:this._handleCancel},null!=p?p:(0,l.t)("Cancel")),r.createElement("span",{className:d.submitButton},r.createElement(a.Button,{className:h,disabled:c,name:"submit",onClick:u,"data-name":"submit-button"},null!=i?i:(0,l.t)("Ok"))))))}}}p.defaultProps={defaultActionOnClose:"submit",submitOnEnterKey:!0}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>N});var r=n(59496),o=n(88537);var s=n(97754),a=n.n(s),i=n(68335),l=n(35749),c=n(81e3),u=n(1109),d=n(24437),p=n(90692),m=n(95711),h=n(52092),v=n(76422),f=n(9745);const C=r.createContext({setHideClose:()=>{}});var g=n(37257),w=n(91441);function b(e){const{title:t,subtitle:n,showCloseIcon:o=!0,onClose:s,renderBefore:i,renderAfter:l,draggable:c,className:u,unsetAlign:d}=e,[p,m]=(0,r.useState)(!1);return r.createElement(C.Provider,{value:{setHideClose:m}},r.createElement("div",{className:a()(w.container,u,(n||d)&&w.unsetAlign)},i,r.createElement("div",{"data-dragg-area":c,className:w.title},r.createElement("div",{className:w.ellipsis},t),n&&r.createElement("div",{className:a()(w.ellipsis,w.subtitle)},n)),l,o&&!p&&r.createElement(f.Icon,{className:w.close,icon:g,onClick:s,"data-name":"close","data-role":"button"})))}var E=n(67179);const _={vertical:20},k={vertical:0};class N extends r.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(d.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,i.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,r=(0,o.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,l.isTextEditingField)(n))return void r.focus();if(r.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t +;v.subscribe(h.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;v.unsubscribe(h.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:o,title:s,dataName:i,onClickOutside:l,additionalElementPos:h,additionalHeaderElement:v,backdrop:f,shouldForceFocus:C=!0,showSeparator:g,subtitle:w,draggable:N=!0,fullScreen:y=!1,showCloseIcon:O=!0,rounded:x=!0,isAnimationEnabled:A,growPoint:K,dialogTooltip:D,unsetHeaderAlign:j,onDragStart:S,dataDialogName:z}=this.props,B="after"!==h?v:void 0,Y="after"===h?v:void 0,P="string"==typeof s?s:z||"";return r.createElement(p.MatchMedia,{rule:d.DialogBreakpoints.SmallHeight},h=>r.createElement(p.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},d=>r.createElement(c.PopupDialog,{rounded:!(d||y)&&x,className:a()(E.dialog,e),isOpened:o,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:l,onClickBackdrop:l,fullscreen:d||y,guard:h?k:_,boundByScreen:d||y,shouldForceFocus:C,backdrop:f,draggable:N,isAnimationEnabled:A,growPoint:K,name:this.props.dataName,dialogTooltip:D,onDragStart:S},r.createElement("div",{className:a()(E.wrapper,t),"data-name":i,"data-dialog-name":P},void 0!==s&&r.createElement(b,{draggable:N&&!(d||y),onClose:this._handleClose,renderAfter:Y,renderBefore:B,subtitle:w,title:s,showCloseIcon:O,className:n,unsetAlign:j}),g&&r.createElement(u.Separator,{className:E.separator}),r.createElement(m.PopupContext.Consumer,null,e=>this._renderChildren(e,d||y))))))}}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>a});var r=n(59496),o=n(97754),s=n(91626);function a(e){return r.createElement("div",{className:o(s.separator,e.className)})}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>o});var r=n(58095);function o(e){const{children:t,...n}=e;return t((0,r.useOutsideEvent)(n))}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>s});var r=n(59496),o=n(65718);function s(e){return class extends r.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const s=r.createElement(e,{...this.props,zIndex:150});return"parent"===n?s:r.createElement(o.Portal,null,s)}}}},37257:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/2525.1b05122f135a2c7f4818.css b/charting_library/bundles/2525.1b05122f135a2c7f4818.css new file mode 100644 index 00000000..d023c3d1 --- /dev/null +++ b/charting_library/bundles/2525.1b05122f135a2c7f4818.css @@ -0,0 +1 @@ +.orderInputs-xDWk5IzT{padding:0 37px}@media screen and (max-width:479px){.orderInputs-xDWk5IzT{padding:0 12px}}.container-xDWk5IzT{display:flex;flex-wrap:wrap}.inputContainer-xDWk5IzT{align-items:flex-start;display:flex;flex:1 45%;flex-direction:column;font-size:16px;justify-content:flex-start;margin-bottom:21px;margin-left:5px;margin-right:5px;position:relative}@media screen and (max-width:479px){.inputContainer-xDWk5IzT{flex-basis:100%}}.errors-xDWk5IzT{background-color:#2a2c39;border-radius:3px;bottom:100%;color:#fff;font-size:12px;margin-bottom:1px;max-width:100%;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;right:0;transform:scale(.85) translateY(3px);transition:opacity .35s cubic-bezier(.215,.61,.355,1),transform .35s cubic-bezier(.215,.61,.355,1)}.titleText-xDWk5IzT{color:#131722;font-size:24px;font-weight:700;margin:0 0 17px}html.theme-dark .titleText-xDWk5IzT{color:#d1d4dc}@media screen and (max-width:479px){.titleText-xDWk5IzT{padding:0 8px}}.orderInput-UR1489uv:-webkit-autofill{-webkit-text-fill-color:#131722;box-shadow:inset 0 0 0 30px #fff}html.theme-dark .orderInput-UR1489uv:-webkit-autofill{-webkit-text-fill-color:#d1d4dc;box-shadow:inset 0 0 0 30px #131722}.zip-bAIksqmB{direction:ltr} \ No newline at end of file diff --git a/charting_library/bundles/2525.1b05122f135a2c7f4818.rtl.css b/charting_library/bundles/2525.1b05122f135a2c7f4818.rtl.css new file mode 100644 index 00000000..465f3f24 --- /dev/null +++ b/charting_library/bundles/2525.1b05122f135a2c7f4818.rtl.css @@ -0,0 +1 @@ +.orderInputs-xDWk5IzT{padding:0 37px}@media screen and (max-width:479px){.orderInputs-xDWk5IzT{padding:0 12px}}.container-xDWk5IzT{display:flex;flex-wrap:wrap}.inputContainer-xDWk5IzT{align-items:flex-start;display:flex;flex:1 45%;flex-direction:column;font-size:16px;justify-content:flex-start;margin-bottom:21px;margin-left:5px;margin-right:5px;position:relative}@media screen and (max-width:479px){.inputContainer-xDWk5IzT{flex-basis:100%}}.errors-xDWk5IzT{background-color:#2a2c39;border-radius:3px;bottom:100%;color:#fff;font-size:12px;left:0;margin-bottom:1px;max-width:100%;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;transform:scale(.85) translateY(3px);transition:opacity .35s cubic-bezier(.215,.61,.355,1),transform .35s cubic-bezier(.215,.61,.355,1)}.titleText-xDWk5IzT{color:#131722;font-size:24px;font-weight:700;margin:0 0 17px}html.theme-dark .titleText-xDWk5IzT{color:#d1d4dc}@media screen and (max-width:479px){.titleText-xDWk5IzT{padding:0 8px}}.orderInput-UR1489uv:-webkit-autofill{-webkit-text-fill-color:#131722;box-shadow:inset 0 0 0 30px #fff}html.theme-dark .orderInput-UR1489uv:-webkit-autofill{-webkit-text-fill-color:#d1d4dc;box-shadow:inset 0 0 0 30px #131722}.zip-bAIksqmB{direction:ltr} \ No newline at end of file diff --git a/charting_library/bundles/25b2c84d5406c64eefab940998518f5c.svg b/charting_library/bundles/25b2c84d5406c64eefab940998518f5c.svg new file mode 100644 index 00000000..37073d6d --- /dev/null +++ b/charting_library/bundles/25b2c84d5406c64eefab940998518f5c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2624.f55c13c46f516986e4a2.css b/charting_library/bundles/2624.f55c13c46f516986e4a2.css new file mode 100644 index 00000000..ced18dd9 --- /dev/null +++ b/charting_library/bundles/2624.f55c13c46f516986e4a2.css @@ -0,0 +1 @@ +.tv-start-free-trial-bt-8jVavR5U{background:#fff;border-radius:6px;min-height:500px;padding:40px 0}html.theme-dark .tv-start-free-trial-bt-8jVavR5U{background:#131722}.tv-start-free-trial-bt__section-8jVavR5U{padding:0}.tv-start-free-trial-bt__title-8jVavR5U{border-bottom:none;color:#131722;font-size:36px;line-height:44px;margin-bottom:20px;padding:0 40px}html.theme-dark .tv-start-free-trial-bt__title-8jVavR5U{color:#d1d4dc}@media screen and (max-width:479px){.tv-start-free-trial-bt__title-8jVavR5U{padding:0 20px}}.tv-start-free-trial-bt__card-container-8jVavR5U{padding:0 40px}.tv-start-free-trial-bt__footer-container-8jVavR5U{margin-bottom:20px;padding:0}.paymentMethodSpinnerContainer-8jVavR5U{margin:0 -20px} \ No newline at end of file diff --git a/charting_library/bundles/2624.f55c13c46f516986e4a2.rtl.css b/charting_library/bundles/2624.f55c13c46f516986e4a2.rtl.css new file mode 100644 index 00000000..ced18dd9 --- /dev/null +++ b/charting_library/bundles/2624.f55c13c46f516986e4a2.rtl.css @@ -0,0 +1 @@ +.tv-start-free-trial-bt-8jVavR5U{background:#fff;border-radius:6px;min-height:500px;padding:40px 0}html.theme-dark .tv-start-free-trial-bt-8jVavR5U{background:#131722}.tv-start-free-trial-bt__section-8jVavR5U{padding:0}.tv-start-free-trial-bt__title-8jVavR5U{border-bottom:none;color:#131722;font-size:36px;line-height:44px;margin-bottom:20px;padding:0 40px}html.theme-dark .tv-start-free-trial-bt__title-8jVavR5U{color:#d1d4dc}@media screen and (max-width:479px){.tv-start-free-trial-bt__title-8jVavR5U{padding:0 20px}}.tv-start-free-trial-bt__card-container-8jVavR5U{padding:0 40px}.tv-start-free-trial-bt__footer-container-8jVavR5U{margin-bottom:20px;padding:0}.paymentMethodSpinnerContainer-8jVavR5U{margin:0 -20px} \ No newline at end of file diff --git a/charting_library/bundles/26b5353498b2ca25fcc597890e574005.svg b/charting_library/bundles/26b5353498b2ca25fcc597890e574005.svg new file mode 100644 index 00000000..4565d901 --- /dev/null +++ b/charting_library/bundles/26b5353498b2ca25fcc597890e574005.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/27419b53618cdc6022ec621a38a2e27e.svg b/charting_library/bundles/27419b53618cdc6022ec621a38a2e27e.svg new file mode 100644 index 00000000..c9aa5a8f --- /dev/null +++ b/charting_library/bundles/27419b53618cdc6022ec621a38a2e27e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9309.aceadf5355c94350ec2c.css b/charting_library/bundles/279.9540b575371a0ecfc0bc.css similarity index 96% rename from charting_library/bundles/9309.aceadf5355c94350ec2c.css rename to charting_library/bundles/279.9540b575371a0ecfc0bc.css index 8dff537f..d2f88f7b 100644 --- a/charting_library/bundles/9309.aceadf5355c94350ec2c.css +++ b/charting_library/bundles/279.9540b575371a0ecfc0bc.css @@ -1 +1 @@ -.actionButton-EGu7SRYD{margin:0 6px}.actionButton-EGu7SRYD:first-child{margin-right:0}.actionButton-EGu7SRYD:last-child{margin-left:0}.actionButton-EGu7SRYD.small-EGu7SRYD{margin:6px 0}.actionButton-EGu7SRYD.small-EGu7SRYD:first-child{margin-top:0}.actionButton-EGu7SRYD.small-EGu7SRYD:last-child{margin-bottom:0}.hiddenTitle-EGu7SRYD{visibility:hidden}.popupDialog-2AC2DTdZ{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-2AC2DTdZ{cursor:default;display:flex;overflow:hidden}.main-2AC2DTdZ{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 0 40px 40px}html.theme-dark .main-2AC2DTdZ{color:#b2b5be}.main-2AC2DTdZ.small-2AC2DTdZ{margin:20px 0 20px 20px}.title-2AC2DTdZ{align-items:center;display:flex;flex:none;font-size:20px;font-style:normal;font-weight:600;line-height:28px;margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-2AC2DTdZ.small-2AC2DTdZ{width:calc(100% - 29px)}.content-2AC2DTdZ{-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-2AC2DTdZ{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-2AC2DTdZ{min-height:auto}}.content-2AC2DTdZ::-webkit-scrollbar{height:5px;width:5px}.content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-2AC2DTdZ::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-2AC2DTdZ::-webkit-scrollbar-corner{display:none}.content-2AC2DTdZ.small-2AC2DTdZ{margin:0 -20px;padding:8px 20px}.content-2AC2DTdZ.html-2AC2DTdZ{display:block}.content-2AC2DTdZ.html-2AC2DTdZ a,html.theme-dark .content-2AC2DTdZ.html-2AC2DTdZ a{color:#2962ff}.footer-2AC2DTdZ{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-2AC2DTdZ.small-2AC2DTdZ{flex-direction:column}.close-2AC2DTdZ{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px 8px 0 -2px;width:34px}html.theme-dark .close-2AC2DTdZ{color:#b2b5be}@media (any-hover:hover){.close-2AC2DTdZ:hover{background-color:#f0f3fa}html.theme-dark .close-2AC2DTdZ:hover{background-color:#2a2e39}}.close-2AC2DTdZ.small-2AC2DTdZ{margin-left:-22px}.label-lgIqilXY{color:#787b86;font-size:14px;line-height:21px}.input-lgIqilXY{word-break:normal} \ No newline at end of file +.actionButton-EGu7SRYD{margin:0 6px}.actionButton-EGu7SRYD:first-child{margin-right:0}.actionButton-EGu7SRYD:last-child{margin-left:0}.actionButton-EGu7SRYD.small-EGu7SRYD{margin:6px 0}.actionButton-EGu7SRYD.small-EGu7SRYD:first-child{margin-top:0}.actionButton-EGu7SRYD.small-EGu7SRYD:last-child{margin-bottom:0}.hiddenTitle-EGu7SRYD{visibility:hidden}.popupDialog-2AC2DTdZ{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-2AC2DTdZ{cursor:default;display:flex;overflow:hidden}.main-2AC2DTdZ{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 0 40px 40px}html.theme-dark .main-2AC2DTdZ{color:#b2b5be}.main-2AC2DTdZ.small-2AC2DTdZ{margin:20px 0 20px 20px}.title-2AC2DTdZ{align-items:center;display:flex;flex:none;font-size:20px;font-style:normal;font-weight:600;line-height:28px;margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-2AC2DTdZ.small-2AC2DTdZ{width:calc(100% - 29px)}.content-2AC2DTdZ{-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-2AC2DTdZ{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-2AC2DTdZ{min-height:auto}}.content-2AC2DTdZ::-webkit-scrollbar{height:5px;width:5px}.content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-2AC2DTdZ::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-2AC2DTdZ::-webkit-scrollbar-corner{display:none}.content-2AC2DTdZ.small-2AC2DTdZ{margin:0 -20px;padding:8px 20px}.content-2AC2DTdZ.html-2AC2DTdZ{display:block}.content-2AC2DTdZ.html-2AC2DTdZ a,html.theme-dark .content-2AC2DTdZ.html-2AC2DTdZ a{color:#2962ff}.footer-2AC2DTdZ{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-2AC2DTdZ.small-2AC2DTdZ{flex-direction:column}.close-2AC2DTdZ{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px 8px 0 -2px;width:34px}html.theme-dark .close-2AC2DTdZ{color:#b2b5be}@media (any-hover:hover){.close-2AC2DTdZ:hover{background-color:#f0f3fa}html.theme-dark .close-2AC2DTdZ:hover{background-color:#2a2e39}}.close-2AC2DTdZ.small-2AC2DTdZ{margin-left:-22px} \ No newline at end of file diff --git a/charting_library/bundles/9309.aceadf5355c94350ec2c.rtl.css b/charting_library/bundles/279.9540b575371a0ecfc0bc.rtl.css similarity index 96% rename from charting_library/bundles/9309.aceadf5355c94350ec2c.rtl.css rename to charting_library/bundles/279.9540b575371a0ecfc0bc.rtl.css index c2fc6627..9a108220 100644 --- a/charting_library/bundles/9309.aceadf5355c94350ec2c.rtl.css +++ b/charting_library/bundles/279.9540b575371a0ecfc0bc.rtl.css @@ -1 +1 @@ -.actionButton-EGu7SRYD{margin:0 6px}.actionButton-EGu7SRYD:first-child{margin-left:0}.actionButton-EGu7SRYD:last-child{margin-right:0}.actionButton-EGu7SRYD.small-EGu7SRYD{margin:6px 0}.actionButton-EGu7SRYD.small-EGu7SRYD:first-child{margin-top:0}.actionButton-EGu7SRYD.small-EGu7SRYD:last-child{margin-bottom:0}.hiddenTitle-EGu7SRYD{visibility:hidden}.popupDialog-2AC2DTdZ{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-2AC2DTdZ{cursor:default;display:flex;overflow:hidden}.main-2AC2DTdZ{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 40px 40px 0}html.theme-dark .main-2AC2DTdZ{color:#b2b5be}.main-2AC2DTdZ.small-2AC2DTdZ{margin:20px 20px 20px 0}.title-2AC2DTdZ{align-items:center;display:flex;flex:none;font-size:20px;font-style:normal;font-weight:600;line-height:28px;margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-2AC2DTdZ.small-2AC2DTdZ{width:calc(100% - 29px)}.content-2AC2DTdZ{-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-2AC2DTdZ{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-2AC2DTdZ{min-height:auto}}.content-2AC2DTdZ::-webkit-scrollbar{height:5px;width:5px}.content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-2AC2DTdZ::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-2AC2DTdZ::-webkit-scrollbar-corner{display:none}.content-2AC2DTdZ.small-2AC2DTdZ{margin:0 -20px;padding:8px 20px}.content-2AC2DTdZ.html-2AC2DTdZ{display:block}.content-2AC2DTdZ.html-2AC2DTdZ a,html.theme-dark .content-2AC2DTdZ.html-2AC2DTdZ a{color:#2962ff}.footer-2AC2DTdZ{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-2AC2DTdZ.small-2AC2DTdZ{flex-direction:column}.close-2AC2DTdZ{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px -2px 0 8px;width:34px}html.theme-dark .close-2AC2DTdZ{color:#b2b5be}@media (any-hover:hover){.close-2AC2DTdZ:hover{background-color:#f0f3fa}html.theme-dark .close-2AC2DTdZ:hover{background-color:#2a2e39}}.close-2AC2DTdZ.small-2AC2DTdZ{margin-right:-22px}.label-lgIqilXY{color:#787b86;font-size:14px;line-height:21px}.input-lgIqilXY{word-break:normal} \ No newline at end of file +.actionButton-EGu7SRYD{margin:0 6px}.actionButton-EGu7SRYD:first-child{margin-left:0}.actionButton-EGu7SRYD:last-child{margin-right:0}.actionButton-EGu7SRYD.small-EGu7SRYD{margin:6px 0}.actionButton-EGu7SRYD.small-EGu7SRYD:first-child{margin-top:0}.actionButton-EGu7SRYD.small-EGu7SRYD:last-child{margin-bottom:0}.hiddenTitle-EGu7SRYD{visibility:hidden}.popupDialog-2AC2DTdZ{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-2AC2DTdZ{cursor:default;display:flex;overflow:hidden}.main-2AC2DTdZ{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 40px 40px 0}html.theme-dark .main-2AC2DTdZ{color:#b2b5be}.main-2AC2DTdZ.small-2AC2DTdZ{margin:20px 20px 20px 0}.title-2AC2DTdZ{align-items:center;display:flex;flex:none;font-size:20px;font-style:normal;font-weight:600;line-height:28px;margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-2AC2DTdZ.small-2AC2DTdZ{width:calc(100% - 29px)}.content-2AC2DTdZ{-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-2AC2DTdZ{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-2AC2DTdZ{min-height:auto}}.content-2AC2DTdZ::-webkit-scrollbar{height:5px;width:5px}.content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-2AC2DTdZ::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-2AC2DTdZ::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-2AC2DTdZ::-webkit-scrollbar-corner{display:none}.content-2AC2DTdZ.small-2AC2DTdZ{margin:0 -20px;padding:8px 20px}.content-2AC2DTdZ.html-2AC2DTdZ{display:block}.content-2AC2DTdZ.html-2AC2DTdZ a,html.theme-dark .content-2AC2DTdZ.html-2AC2DTdZ a{color:#2962ff}.footer-2AC2DTdZ{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-2AC2DTdZ.small-2AC2DTdZ{flex-direction:column}.close-2AC2DTdZ{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px -2px 0 8px;width:34px}html.theme-dark .close-2AC2DTdZ{color:#b2b5be}@media (any-hover:hover){.close-2AC2DTdZ:hover{background-color:#f0f3fa}html.theme-dark .close-2AC2DTdZ:hover{background-color:#2a2e39}}.close-2AC2DTdZ.small-2AC2DTdZ{margin-right:-22px} \ No newline at end of file diff --git a/charting_library/bundles/27ed1587b819df769e0fcdb40c17bc0a.svg b/charting_library/bundles/27ed1587b819df769e0fcdb40c17bc0a.svg new file mode 100644 index 00000000..2479c772 --- /dev/null +++ b/charting_library/bundles/27ed1587b819df769e0fcdb40c17bc0a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4194.f5256f014a8f2810c953.css b/charting_library/bundles/2888.658aee2f9aacb50e4bc9.css similarity index 50% rename from charting_library/bundles/4194.f5256f014a8f2810c953.css rename to charting_library/bundles/2888.658aee2f9aacb50e4bc9.css index cce737db..d9208dc0 100644 --- a/charting_library/bundles/4194.f5256f014a8f2810c953.css +++ b/charting_library/bundles/2888.658aee2f9aacb50e4bc9.css @@ -1 +1 @@ -.dialog-Nh5Cqdeo{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:left}html.theme-dark .dialog-Nh5Cqdeo{background-color:#1e222d}.dialog-Nh5Cqdeo.rounded-Nh5Cqdeo{border-radius:6px}.dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0006}.dialog-Nh5Cqdeo.fullscreen-Nh5Cqdeo{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#fff}html.theme-dark .dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#131722}.backdrop-Nh5Cqdeo{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-Nh5Cqdeo{background-color:#0c0e15}.dialog-hxnnZcZ6{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-hxnnZcZ6 [data-dragg-area=true]{cursor:grab}.dialog-hxnnZcZ6 [data-dragg-area=true].dragging-hxnnZcZ6{cursor:grabbing}.dialogAnimatedAppearance-hxnnZcZ6{animation-duration:.3s;animation-name:dialogAnimation-hxnnZcZ6;transform-origin:0 0}@keyframes dialogAnimation-hxnnZcZ6{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-hxnnZcZ6{color:#fff;font-size:14px;left:50%;line-height:21px;max-width:540px;position:absolute;top:-20px;transform:translateX(-50%);width:max-content}@media screen and (max-width:768px){.dialogTooltip-hxnnZcZ6{max-width:240px}} \ No newline at end of file +.dialog-Nh5Cqdeo{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:left}html.theme-dark .dialog-Nh5Cqdeo{background-color:#1e222d}.dialog-Nh5Cqdeo.rounded-Nh5Cqdeo{border-radius:6px}.dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0006}.dialog-Nh5Cqdeo.fullscreen-Nh5Cqdeo{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#fff}html.theme-dark .dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#131722}.backdrop-Nh5Cqdeo{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-Nh5Cqdeo{background-color:#0c0e15} \ No newline at end of file diff --git a/charting_library/bundles/2888.658aee2f9aacb50e4bc9.rtl.css b/charting_library/bundles/2888.658aee2f9aacb50e4bc9.rtl.css new file mode 100644 index 00000000..9c278c8e --- /dev/null +++ b/charting_library/bundles/2888.658aee2f9aacb50e4bc9.rtl.css @@ -0,0 +1 @@ +.dialog-Nh5Cqdeo{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:right}html.theme-dark .dialog-Nh5Cqdeo{background-color:#1e222d}.dialog-Nh5Cqdeo.rounded-Nh5Cqdeo{border-radius:6px}.dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0006}.dialog-Nh5Cqdeo.fullscreen-Nh5Cqdeo{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#fff}html.theme-dark .dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#131722}.backdrop-Nh5Cqdeo{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-Nh5Cqdeo{background-color:#0c0e15} \ No newline at end of file diff --git a/charting_library/bundles/2917.f809088053f9a1f9296c.js b/charting_library/bundles/2917.f809088053f9a1f9296c.js new file mode 100644 index 00000000..ca16cdf1 --- /dev/null +++ b/charting_library/bundles/2917.f809088053f9a1f9296c.js @@ -0,0 +1,28 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2917],{32917:n=>{n.exports=function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)e.d(r,o,function(t){return n[t]}.bind(null,o));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=149)}([function(n,t,e){var r=e(55),o=e(14),a=e(61),i=e(5);n.exports=function(n,t){return(i(n)?r:o)(n,a(t))}},function(n,t,e){var r=e(124);n.exports=function(n,t,e){var o=null==n?void 0:r(n,t);return void 0===o?e:o}},function(n,t,e){var r=e(93),o=e(7),a=e(94),i=e(5);n.exports=function(n,t){return(i(n)?r:a)(n,o(t,3))}},function(n,t,e){var r=e(147),o=e(148);n.exports=function(n,t,e){var a=t&&e||0;"string"==typeof n&&(t="binary"===n?new Array(16):null,n=null);var i=(n=n||{}).random||(n.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var c=0;c<16;++c)t[a+c]=i[c];return t||o(i)}},function(n,t){n.exports=function(n){return void 0===n}},function(n,t){var e=Array.isArray;n.exports=e},function(n,t){n.exports=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}},function(n,t,e){var r=e(64),o=e(85),a=e(91),i=e(5),c=e(92);n.exports=function(n){return"function"==typeof n?n:null==n?a:"object"==typeof n?i(n)?o(n[0],n[1]):r(n):c(n)}},function(n,t){var e=Array.isArray;n.exports=e},function(n,t,e){var r=e(68);n.exports=function(n,t){for(var e=n.length;e--;)if(r(n[e][0],t))return e;return-1}},function(n,t,e){var r=e(109);n.exports=function(n,t){for(var e=n.length;e--;)if(r(n[e][0],t))return e;return-1}},function(n,t,e){var r=e(25),o=e(5),a=e(28);n.exports=function(n){return"string"==typeof n||!o(n)&&a(n)&&"[object String]"==r(n)}},function(n,t){var e=Object.prototype.hasOwnProperty;n.exports=function(n,t){return null!=n&&e.call(n,t)}},function(n,t,e){var r=e(125),o=e(126),a=e(43),i=e(8),c=e(143);n.exports=function(n,t,e){var u=i(n)?r:o;return e&&c(n,t,e)&&(t=void 0),u(n,a(t,3))}},function(n,t,e){var r=e(23),o=e(58)(r);n.exports=o},function(n,t,e){var r=e(24)(Object.keys,Object);n.exports=r},function(n,t,e){var r=e(59),o=e(60);n.exports=function(n){return null!=n&&o(n.length)&&!r(n)}},function(n,t,e){var r=e(106),o=e(37);n.exports=function n(t,e,a,i,c){return t===e||(null==t||null==e||!o(t)&&!o(e)?t!=t&&e!=e:r(t,e,a,i,n,c))}},function(n,t){n.exports=function(n,t){return function(e){return n(t(e))}}},function(n,t,e){ +var r=e(32);n.exports=function(n){return"number"==typeof n&&n==r(n)}},function(n,t,e){var r=e(17);n.exports=function(n,t){return r(n,t)}},function(n,t){n.exports=function(n){for(var t=-1,e=null==n?0:n.length,r=0,o=[];++t>>((3&t)<<3)&255;return o}}},function(n,t){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);n.exports=function(n,t){var r=t||0,o=e;return[o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]]].join("")}},function(n,t,e){var r=e(107),o=e(108),a=e(110),i=e(111),c=e(112);function u(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t0?t+",1,s":n+",0");return new r.TimeZone(r.olson.timezones[i])},date_is_dst:function(t){var r=t.getMonth()>7,a=r?o(t.getFullYear()):e(t.getFullYear()),i=a-n(t);return a<0||r?0!==i:i<0},dst_start_for:function(n){var t=new Date(2010,6,15,1,0,0,0);return{"America/Denver":new Date(2011,2,13,3,0,0,0),"America/Mazatlan":new Date(2011,3,3,3,0,0,0),"America/Chicago":new Date(2011,2,13,3,0,0,0),"America/Mexico_City":new Date(2011,3,3,3,0,0,0),"America/Asuncion":new Date(2012,9,7,3,0,0,0),"America/Santiago":new Date(2012,9,3,3,0,0,0),"America/Campo_Grande":new Date(2012,9,21,5,0,0,0),"America/Montevideo":new Date(2011,9,2,3,0,0,0),"America/Sao_Paulo":new Date(2011,9,16,5,0,0,0),"America/Los_Angeles":new Date(2011,2,13,8,0,0,0),"America/Santa_Isabel":new Date(2011,3,5,8,0,0,0),"America/Havana":new Date(2012,2,10,2,0,0,0),"America/New_York":new Date(2012,2,10,7,0,0,0),"Europe/Helsinki":new Date(2013,2,31,5,0,0,0),"Pacific/Auckland":new Date(2011,8,26,7,0,0,0),"America/Halifax":new Date(2011,2,13,6,0,0,0),"America/Goose_Bay":new Date(2011,2,13,2,1,0,0),"America/Miquelon":new Date(2011,2,13,5,0,0,0),"America/Godthab":new Date(2011,2,27,1,0,0,0),"Europe/Moscow":t,"Asia/Amman":new Date(2013,2,29,1,0,0,0),"Asia/Beirut":new Date(2013,2,31,2,0,0,0),"Asia/Damascus":new Date(2013,3,6,2,0,0,0),"Asia/Jerusalem":new Date(2013,2,29,5,0,0,0),"Asia/Yekaterinburg":t,"Asia/Omsk":t,"Asia/Krasnoyarsk":t,"Asia/Irkutsk":t,"Asia/Yakutsk":t,"Asia/Vladivostok":t,"Asia/Baku":new Date(2013,2,31,4,0,0),"Asia/Yerevan":new Date(2013,2,31,3,0,0),"Asia/Kamchatka":t,"Asia/Gaza":new Date(2010,2,27,4,0,0),"Africa/Cairo":new Date(2010,4,1,3,0,0),"Europe/Minsk":t,"Pacific/Apia":new Date(2010,10,1,1,0,0,0),"Pacific/Fiji":new Date(2010,11,1,0,0,0),"Australia/Perth":new Date(2008,10,1,1,0,0,0)}[n]}}}()).TimeZone=function(n){"use strict";var t={"America/Denver":["America/Denver","America/Mazatlan"],"America/Chicago":["America/Chicago","America/Mexico_City"], +"America/Santiago":["America/Santiago","America/Asuncion","America/Campo_Grande"],"America/Montevideo":["America/Montevideo","America/Sao_Paulo"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Asia/Beirut","Europe/Helsinki","Asia/Damascus"],"Pacific/Auckland":["Pacific/Auckland","Pacific/Fiji"],"America/Los_Angeles":["America/Los_Angeles","America/Santa_Isabel"],"America/New_York":["America/Havana","America/New_York"],"America/Halifax":["America/Goose_Bay","America/Halifax"],"America/Godthab":["America/Miquelon","America/Godthab"],"Asia/Dubai":["Europe/Moscow"],"Asia/Dhaka":["Asia/Yekaterinburg"],"Asia/Jakarta":["Asia/Omsk"],"Asia/Shanghai":["Asia/Krasnoyarsk","Australia/Perth"],"Asia/Tokyo":["Asia/Irkutsk"],"Australia/Brisbane":["Asia/Yakutsk"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Tarawa":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk"],"Asia/Baku":["Asia/Yerevan","Asia/Baku"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]},e=n;return void 0!==t[e]&&function(){for(var n=t[e],o=n.length,a=0,i=n[0];a>5]|=128<<24-e%32,t[15+(e+64>>>9<<4)]=e;for(var l=0;l>>31}var w=(i<<5|i>>>27)+f+(a[h]>>>0)+(h<20?1518500249+(c&u|~c&s):h<40?1859775393+(c^u^s):h<60?(c&u|c&s|u&s)-1894007588:(c^u^s)-899497514);f=s,s=u,u=c<<30|c>>>2,c=i,i=w}i+=p,c+=d,u+=m,s+=v,f+=g}return[i,c,u,s,f]}(n));return t&&t.asBytes?e:t&&t.asString?a.bytesToString(e):r.bytesToHex(e)})._blocksize=16,i._digestsize=20,n.exports=i},function(n,t,e){var r=e(98)(e(99));n.exports=r},function(n,t,e){var r=e(101),o=e(23),a=e(7);n.exports=function(n,t){var e={};return t=a(t,3),o(n,(function(n,o,a){r(e,o,t(n,o,a))})),e}},function(n,t,e){var r=e(104),o=e(105),a=o;a.v1=r,a.v4=o,n.exports=a},function(n,t,e){var r=e(41),o=e(146),a=e(37),i=Function.prototype,c=Object.prototype,u=i.toString,s=c.hasOwnProperty,f=u.call(Object);n.exports=function(n){if(!a(n)||"[object Object]"!=r(n))return!1;var t=o(n);if(null===t)return!0;var e=s.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&u.call(e)==f}},function(n){n.exports=JSON.parse('{"a":"2.17.3"}')},function(n,t,e){},function(n,t){n.exports=function(n,t){for(var e=-1,r=null==n?0:n.length;++e-1&&n%1==0&&n<=9007199254740991}},function(n,t){n.exports=function(n){return n}},function(n,t){n.exports=function(n,t){for(var e=-1,r=null==n?0:n.length,o=0,a=[];++e-1}},function(n,t,e){var r=e(9);n.exports=function(n,t){var e=this.__data__,o=r(e,n);return o<0?(++this.size,e.push([n,t])):e[o][1]=t,this}},function(n,t,e){var r=e(26),o=e(73),a=e(78),i=e(79),c=e(81),u=e(5),s=e(82),f=e(83),l="[object Object]",p=Object.prototype.hasOwnProperty;n.exports=function(n,t,e,d,m,v){var g=u(n),h=u(t),y=g?"[object Array]":c(n),w=h?"[object Array]":c(t),b=(y="[object Arguments]"==y?l:y)==l,k=(w="[object Arguments]"==w?l:w)==l,A=y==w;if(A&&s(n)){if(!s(t))return!1;g=!0,b=!1}if(A&&!b)return v||(v=new r),g||f(n)?o(n,t,e,d,m,v):a(n,t,y,e,d,m,v);if(!(1&e)){var x=b&&p.call(n,"__wrapped__"),_=k&&p.call(t,"__wrapped__");if(x||_){var S=x?n.value():n,O=_?t.value():t;return v||(v=new r),m(S,O,e,d,v)}}return!!A&&(v||(v=new r),i(n,t,e,d,m,v))}},function(n,t,e){var r=e(74),o=e(75),a=e(76);n.exports=function(n,t,e,i,c,u){var s=1&e,f=n.length,l=t.length;if(f!=l&&!(s&&l>f))return!1;var p=u.get(n),d=u.get(t);if(p&&d)return p==t&&d==n;var m=-1,v=!0,g=2&e?new r:void 0;for(u.set(n,t),u.set(t,n);++m-1}},function(n,t){n.exports=function(n,t,e){for(var r=e-1,o=n.length;++r>>32-t},rotr:function(n,t){return n<<32-t|n>>>t},endian:function(n){if(n.constructor==Number)return 16711935&r.rotl(n,8)|4278255360&r.rotl(n,24);for(var t=0;t0;n--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(n){for(var t=[],e=0,r=0;e>>5]|=n[e]<<24-r%32;return t},wordsToBytes:function(n){for(var t=[],e=0;e<32*n.length;e+=8)t.push(n[e>>>5]>>>24-e%32&255);return t},bytesToHex:function(n){for(var t=[],e=0;e>>4).toString(16)),t.push((15&n[e]).toString(16));return t.join("")},hexToBytes:function(n){for(var t=[],e=0;e>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/gi,"") +;for(var t=[],r=0,o=0;r>>6-2*o);return t}},n.exports=r},function(n,t,e){var r=e(7),o=e(16),a=e(15);n.exports=function(n){return function(t,e,i){var c=Object(t);if(!o(t)){var u=r(e,3);t=a(t),e=function(n){return u(c[n],n,c)}}var s=n(t,e,i);return s>-1?c[u?t[s]:s]:void 0}}},function(n,t,e){var r=e(100),o=e(7),a=e(32),i=Math.max;n.exports=function(n,t,e){var c=null==n?0:n.length;if(!c)return-1;var u=null==e?0:a(e);return u<0&&(u=i(c+u,0)),r(n,o(t,3),u)}},function(n,t){n.exports=function(n,t,e,r){for(var o=n.length,a=e+(r?1:-1);r?a--:++ac)&&void 0===n.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=m,u=v,o=p;var h=(1e4*(268435455&(m+=122192928e5))+v)%4294967296;f[s++]=h>>>24&255,f[s++]=h>>>16&255,f[s++]=h>>>8&255,f[s++]=255&h;var y=m/4294967296*1e4&268435455;f[s++]=y>>>8&255,f[s++]=255&y,f[s++]=y>>>24&15|16,f[s++]=y>>>16&255,f[s++]=p>>>8|128,f[s++]=255&p;for(var w=0;w<6;++w)f[s+w]=l[w];return t||i(f)}},function(n,t,e){var r=e(34),o=e(35);n.exports=function(n,t,e){var a=t&&e||0;"string"==typeof n&&(t="binary"===n?new Array(16):null,n=null);var i=(n=n||{}).random||(n.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var c=0;c<16;++c)t[a+c]=i[c];return t||o(i)}},function(n,t,e){var r=e(36),o=e(113),a=e(118),i=e(119),c=e(121),u=e(8),s=e(122),f=e(123),l="[object Object]",p=Object.prototype.hasOwnProperty;n.exports=function(n,t,e,d,m,v){var g=u(n),h=u(t),y=g?"[object Array]":c(n),w=h?"[object Array]":c(t),b=(y="[object Arguments]"==y?l:y)==l,k=(w="[object Arguments]"==w?l:w)==l,A=y==w;if(A&&s(n)){if(!s(t))return!1;g=!0,b=!1}if(A&&!b)return v||(v=new r),g||f(n)?o(n,t,e,d,m,v):a(n,t,y,e,d,m,v);if(!(1&e)){var x=b&&p.call(n,"__wrapped__"),_=k&&p.call(t,"__wrapped__");if(x||_){var S=x?n.value():n,O=_?t.value():t;return v||(v=new r),m(S,O,e,d,v)}}return!!A&&(v||(v=new r),i(n,t,e,d,m,v))}},function(n,t){n.exports=function(){this.__data__=[],this.size=0}},function(n,t,e){var r=e(10),o=Array.prototype.splice;n.exports=function(n){var t=this.__data__,e=r(t,n);return!(e<0)&&(e==t.length-1?t.pop():o.call(t,e,1),--this.size,!0)}},function(n,t){n.exports=function(n,t){return n===t||n!=n&&t!=t}},function(n,t,e){ +var r=e(10);n.exports=function(n){var t=this.__data__,e=r(t,n);return e<0?void 0:t[e][1]}},function(n,t,e){var r=e(10);n.exports=function(n){return r(this.__data__,n)>-1}},function(n,t,e){var r=e(10);n.exports=function(n,t){var e=this.__data__,o=r(e,n);return o<0?(++this.size,e.push([n,t])):e[o][1]=t,this}},function(n,t,e){var r=e(114),o=e(115),a=e(116);n.exports=function(n,t,e,i,c,u){var s=1&e,f=n.length,l=t.length;if(f!=l&&!(s&&l>f))return!1;var p=u.get(n),d=u.get(t);if(p&&d)return p==t&&d==n;var m=-1,v=!0,g=2&e?new r:void 0;for(u.set(n,t),u.set(t,n);++m-1}},function(n,t){n.exports=function(n,t,e){for(var r=e-1,o=n.length;++r-1&&n%1==0&&n<=9007199254740991}},function(n,t,e){var r=e(134),o=e(135),a=e(45);n.exports=function(n){var t=o(n);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(e){return e===n||r(e,n,t)}}},function(n,t,e){var r=e(36),o=e(17);n.exports=function(n,t,e,a){var i=e.length,c=i,u=!a;if(null==n)return!c;for(n=Object(n);i--;){var s=e[i];if(u&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++i>>((3&t)<<3)&255;return o}}},function(n,t){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);n.exports=function(n,t){var r=t||0,o=e;return[o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]]].join("")}},function(n,t,e){"use strict";e.r(t),e.d(t,"Snowplow",(function(){return ot})),e.d(t,"snowplowTracker",(function(){return it}));e(54);var r=e(0),o=e.n(r),a=e(46),i=e.n(a),c=e(11),u=e.n(c),s=e(4),f=e.n(s),l=e(6),p=e.n(l),d=e(2),m=e.n(d),v=window,g=document,h=window.localStorage,y=window.sessionStorage;function w(n){if(!u()(n)){n=n.text||"" +;var t=g.getElementsByTagName("title");t&&!f()(t[0])&&(n=t[0].text)}return n}function b(n){var t=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)").exec(n);return t?t[1]:n}function k(n){var t=n.length;return"."===n.charAt(--t)&&(n=n.slice(0,t)),"*."===n.slice(0,2)&&(n=n.slice(1)),n}function A(n){var t="",e=_("referrer",v.location.href)||_("referer",v.location.href);if(e)return e;if(n)return n;try{t=v.top.document.referrer}catch(n){if(v.parent)try{t=v.parent.document.referrer}catch(n){t=""}}return""===t&&(t=g.referrer),t}function x(n,t,e,r){return n.addEventListener?(n.addEventListener(t,e,r),!0):n.attachEvent?n.attachEvent("on"+t,e):void(n["on"+t]=e)}function _(n,t){var e=new RegExp("^[^#]*[?&]"+n+"=([^&#]*)").exec(t);return e?decodeURIComponent(e[1].replace(/\+/g," ")):null}function S(n){var t=Array.prototype.slice.call(arguments,1);return i()(m()(n,(function(n){if("function"!=typeof n)return n;try{return n.apply(null,t)}catch(n){}})))}function O(n){"undefined"!=typeof console&&console.warn("Snowplow: "+n)}function C(n){return n.className.match(/\S+/g)||[]}function j(n,t){if(Array.isArray(n)||!p()(n))return function(){return!0};if(n.hasOwnProperty("filter"))return n.filter;var e=n.hasOwnProperty("whitelist"),r=n.whitelist||n.blacklist;Array.isArray(r)||(r=[r]);for(var o={},a=0;a2&&void 0!==arguments[2]?arguments[2]:63072e3;try{var r=Date.now()+1e3*e;return h.setItem("".concat(n,".expires"),r),h.setItem(n,t),!0}catch(n){return!1}}function P(n){try{return h.removeItem(n),h.removeItem(n+".expires"),!0}catch(n){return!1}}function I(n,t){for(var e=0;e1?g.cookie=n+"="+encodeURIComponent(t)+(e?"; Expires="+new Date(+new Date+1e3*e).toUTCString():"")+(r?"; Path="+r:"")+(o?"; Domain="+o:"")+(a?"; SameSite="+a:"")+(i?"; Secure":""):decodeURIComponent((("; "+g.cookie).split("; "+n+"=")[1]||"").split(";")[0])}function N(n){var t=parseInt(n);return isNaN(t)?void 0:t}function M(n){var t=parseFloat(n);return isNaN(t)?void 0:t}function U(n){return!(!n||"function"!=typeof n)}function B(n,t,e,r,o){var a={};function i(n){var t=[];if(n&&0!==n.length)for(var e=0;e1?t[1].split(";"):[]]}function l(){var n,t,e,r,o,f,l,p;for(n=0;n=55296&&r<=57343?(t+=4,e++):t+=r<65535?3:4}return t}function I(){for(;g.length&&"string"!=typeof g[0]&&"object"!==cn(g[0]);)g.shift();if(g.length<1)k=!1;else{if(!u()(v))throw"No collector configured";k=!0;var n=g[0];if(S){var t,e,o;_?(t=N(n),e=D(t,!1),o=1):(e=D(t=v,!0),o=function(n){for(var t=0,e=0;t=c);)t+=1;return t}(g));var a=setTimeout((function(){e.abort(),k=!1}),l);function i(n){for(var t=0;t=200&&e.status<400?(clearTimeout(a),x&&!w&&function(n,t){try{y.setItem(n,t)}catch(n){return!1}}(h,!0),i(o)):4===e.readyState&&e.status>=400&&(clearTimeout(a),k=!1)},_)e.send();else{var s=g.slice(0,o);if(s.length>0){var b;w=w||x&&function(n){try{return y.getItem(n)}catch(n){return}}(h);var A=m()(s,(function(n){return n.evt}));if(w){var O=new Blob([E(L(A))],{type:"application/json"});try{b=navigator.sendBeacon(t,O)}catch(n){b=!1}}!0===b&&i(o),x&&b||e.send(E(L(A)))}}}else if(p)k=!1;else{var C=new Image(1,1),j=!0;C.onload=function(){j&&(j=!1,g.shift(),r&&T(d,JSON.stringify(g.slice(0,f))),I())},C.onerror=function(){j&&(j=!1,k=!1)},C.src=N(n),setTimeout((function(){j&&k&&(j=!1,I())}),l)}}}function D(n,t){var e=new XMLHttpRequest;return t?(e.open("POST",n,!0),e.setRequestHeader("Content-Type","application/json; charset=UTF-8")):e.open("GET",n,!0),e.withCredentials=!0,p&&e.setRequestHeader("SP-Anonymous","*"),e}function E(n){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:n})}function L(n){for(var t=(new Date).getTime().toString(),e=0;e1&&e.bufferFlushers.push((function(){k||I()})),{enqueueRequest:function(n,t){if(v=t+j,C){var e=function(n){var t=an()(n,(function(n){return n.toString()}));return{evt:t,bytes:P(JSON.stringify(t))}}(n);if(e.bytes>=c)return O("Event ("+e.bytes+"B) too big, max is "+c),void D(v,!0).send(E(L([e.evt])));g.push(e)}else g.push(function(n){var t="?",e={co:!0,cx:!0},r=!0;for(var o in n)n.hasOwnProperty(o)&&!e.hasOwnProperty(o)&&(r?r=!1:t+="&",t+=encodeURIComponent(o)+"="+encodeURIComponent(n[o]));for(var a in e)n.hasOwnProperty(a)&&e.hasOwnProperty(a)&&(t+="&"+a+"="+encodeURIComponent(n[a]));return t}(n));var o=!1;r&&(o=T(d,JSON.stringify(g.slice(0,f)))),k||o&&!(g.length>=i)||I()},executeQueue:function(){k||I()},setUseLocalStorage:function(n){r=n},setAnonymousTracking:function(n){p=n},setCollectorUrl:function(n){v=n+j}}}function sn(n){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){ +return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var fn=e(51),ln=e(20),pn=e.n(ln),dn=e(12),mn=e.n(dn),vn=e(1),gn=e.n(vn),hn=e(13),yn=e.n(hn),wn=e(21),bn=e.n(wn),kn=e(22),An=e.n(kn),xn=e(52),_n=e.n(xn);function Sn(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function On(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function Cn(n){return(Cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function jn(n,t){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=Pn(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return i=n.done,n},e:function(n){c=!0,a=n},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw a}}}}function Tn(n){return function(n){if(Array.isArray(n))return In(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||Pn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pn(n,t){if(n){if("string"==typeof n)return In(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?In(n,t):void 0}}function In(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e>16&255,e=u>>8&255,r=255&u,p[l++]=64===i?String.fromCharCode(t):64===c?String.fromCharCode(t,e):String.fromCharCode(t,e,r)}while(f>18&63,e=a>>12&63,r=a>>6&63,o=63&a,s[u++]=i.charAt(t)+i.charAt(e)+i.charAt(r)+i.charAt(o)}while(c0&&0===e)return!0;if(0===r&&e>0)return!1;return!1}(n[0],r))return Qn(n[1],t,e,r);return[]}(n,t,e,r);if(o&&0!==o.length)return o}));return(o=[]).concat.apply(o,Tn(bn()(i)))}(t,e,a,o);return i.push.apply(i,Tn(u)),i};return{getGlobalPrimitives:function(){return n},getConditionalProviders:function(){return t},addGlobalContexts:function(e){var r,o=[],a=[],i=jn(e);try{for(i.s();!(r=i.n()).done;){var c=r.value;Wn(c)?o.push(c):qn(c)&&a.push(c)}}catch(n){i.e(n)}finally{i.f()}n=n.concat(a),t=t.concat(o)},clearGlobalContexts:function(){t=[],n=[]},removeGlobalContexts:function(e){var r,o=jn(e);try{var a=function(){var e=r.value;Wn(e)?t=t.filter((function(n){return!pn()(n,e)})):qn(e)&&(n=n.filter((function(n){return!pn()(n,e)})))};for(o.s();!(r=o.n()).done;)a()}catch(n){o.e(n)}finally{o.f()}},getApplicableContexts:function(n){var t,r=n.build();if(Ln(t=r)&&"e"in t&&"string"==typeof t.e){var o=function(n){var t=function(n){for(var t=1;t1)&&function(n){if("*"===n[0]||"*"===n[1])return!1;if(n.slice(2).length>0){var t,e=!1,r=jn(n.slice(2));try{for(r.s();!(t=r.n()).done;){if("*"===t.value)e=!0;else if(e)return!1}}catch(n){r.e(n)}finally{r.f()}return!0}return 2==n.length}(t)}function zn(n){var t=new RegExp("^iglu:((?:(?:[a-zA-Z0-9-_]+|\\*).)+(?:[a-zA-Z0-9-_]+|\\*))/([a-zA-Z0-9-_.]+|\\*)/jsonschema/([1-9][0-9]*|\\*)-(0|[1-9][0-9]*|\\*)-(0|[1-9][0-9]*|\\*)$").exec(n);if(null!==t&&Bn(t[1]))return t.slice(1,6)}function Fn(n){var t=zn(n);if(t){var e=t[0];return 5===t.length&&Bn(e)}return!1}function Rn(n){return function(n){return Array.isArray(n)&&n.every((function(n){return"string"==typeof n}))}(n)?n.every((function(n){return Fn(n)})):"string"==typeof n&&Fn(n)}function Vn(n){var t=n;return!!(Ln(t)&&"schema"in t&&"data"in t)&&("string"==typeof t.schema&&"object"===Cn(t.data))}function Hn(n){return"function"==typeof n&&n.length<=1}function Gn(n){return"function"==typeof n&&n.length<=1}function qn(n){return Hn(n)||Vn(n)}function Yn(n){return!(!Array.isArray(n)||2!==n.length)&&(Array.isArray(n[1])?Gn(n[0])&&yn()(n[1],qn):Gn(n[0])&&qn(n[1]))}function Jn(n){return!(!Array.isArray(n)||2!==n.length)&&(!!function(n){var t=n,e=0;if(_n()(n)){if(mn()(t,"accept")){if(!Rn(t.accept))return!1;e+=1}if(mn()(t,"reject")){if(!Rn(t.reject))return!1;e+=1}return e>0&&e<=2}return!1}(n[0])&&(Array.isArray(n[1])?yn()(n[1],qn):qn(n[1])))}function Wn(n){return Yn(n)||Jn(n)}function Kn(n,t){if(!Fn(n))return!1;var e=zn(n),r=function(n){var t=new RegExp("^iglu:([a-zA-Z0-9-_.]+)/([a-zA-Z0-9-_]+)/jsonschema/([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$").exec(n);if(null!==t)return t.slice(1,6)}(t);if(e&&r){if(!function(n,t){var e=t.split("."),r=n.split(".");if(e&&r){if(e.length!==r.length)return!1;for(var o=0;o1e3*In&&(z=tt()(),Yn++);n.add("vp",function(){var n=G,t="inner";"innerWidth"in G||(t="client",n=J.documentElement||J.body);var e=n[t+"Width"],r=n[t+"Height"];return e>=0&&r>=0?e+"x"+r:null}()),n.add("ds",function(){var n=J.documentElement,t=J.body,e=t?Math.max(t.offsetHeight,t.scrollHeight):0,r=Math.max(n.clientWidth,n.offsetWidth,n.scrollWidth),o=Math.max(n.clientHeight,n.offsetHeight,n.scrollHeight,e);return isNaN(r)||isNaN(o)?"":r+"x"+o}()),n.add("vid",r(Yn)),n.add("sid",r(z)),n.add("duid",e(f)),n.add("uid",e(R)),dt(),n.add("refr",gt(i||gn)),n.add("url",gt(u||vn)),"none"!=Fn&&(Ct(f,l,Yn,o,v,z),Ot());Gn=(new Date).getTime()}(n),function(n,t){var e,o=new Date;e=!!p&&!!L(p);Tn||e||($n.enqueueRequest(n.build(),c),r.expireDateTime=o.getTime()+t)}(n,kn)})),en=!1,on={},an={},cn={},fn=document,ln=window,pn=navigator,dn=(screen,V(fn.domain,ln.location.href,A())),mn=k(dn[0]),vn=dn[1],gn=dn[2],hn=a.hasOwnProperty("platform")?a.platform:"web",yn=a.hasOwnProperty("postPath")?a.postPath:"/com.snowplowanalytics.snowplow/tp2",wn=a.hasOwnProperty("appId")?a.appId:"",bn=fn.title,kn=a.hasOwnProperty("pageUnloadTimer")?a.pageUnloadTimer:500,An=!a.hasOwnProperty("resetActivityTrackingOnPageView")||a.resetActivityTrackingOnPageView,xn=a.hasOwnProperty("cookieName")?a.cookieName:"_sp_",_n=a.hasOwnProperty("cookieDomain")?a.cookieDomain:null,Sn="/",On=a.hasOwnProperty("cookieSameSite")?a.cookieSameSite:"None",Cn=!a.hasOwnProperty("cookieSecure")||a.cookieSecure,jn=pn.doNotTrack||pn.msDoNotTrack||ln.doNotTrack,Tn=!!a.hasOwnProperty("respectDoNotTrack")&&(a.respectDoNotTrack&&("yes"===jn||"1"===jn)),Pn=a.hasOwnProperty("cookieLifetime")?a.cookieLifetime:63072e3,In=a.hasOwnProperty("sessionCookieTimeout")?a.sessionCookieTimeout:1800,Dn=fn.characterSet||fn.charset,En=!!a.hasOwnProperty("forceSecureTracker")&&!0===a.forceSecureTracker,Ln=!(En||!a.hasOwnProperty("forceUnsecureTracker"))&&!0===a.forceUnsecureTracker,Nn=Y(a),Mn=W(a),Un=X(a),Bn=!a.hasOwnProperty("useLocalStorage")||(O("argmap.useLocalStorage is deprecated. Use argmap.stateStorageStrategy instead."), +a.useLocalStorage),zn=!a.hasOwnProperty("useCookies")||(O("argmap.useCookies is deprecated. Use argmap.stateStorageStrategy instead."),a.useCookies),Fn=q(a),Rn=pn.userLanguage||pn.language,Vn=K(),Hn=n+"_"+t,Gn=(new Date).getTime(),qn=$.a,Yn=1,Jn={transaction:{},items:[]},Wn=new Q(nn,Hn,Et),Kn=new tn(nn,Hn,Et),Xn=new rn(nn),$n=new un(n,t,r,"localStorage"==Fn||"cookieAndLocalStorage"==Fn,a.eventMethod,yn,a.bufferSize,a.maxPostBytes||4e4,a.useStm,a.maxLocalStorageQueueSize||1e3,a.connectionTimeout||5e3,Mn),Qn=!1,nt=a.contexts||{},et=[],rt=[],ot=!1,at=!1,it={enabled:!1,installed:!1,configurations:{}},ct=null;nt.clientHints&&pn.userAgentData&&(ct={isMobile:pn.userAgentData.mobile,brands:pn.userAgentData.brands},nt.clientHints.includeHighEntropy&&pn.userAgentData.getHighEntropyValues&&pn.userAgentData.getHighEntropyValues(["platform","platformVersion","architecture","model","uaFullVersion"]).then((function(n){ct.architecture=n.architecture,ct.model=n.model,ct.platform=n.platform,ct.uaFullVersion=n.uaFullVersion,ct.platformVersion=n.platformVersion})));var ut,st=a.skippedBrowserFeatures||[],ft={};for(var lt in a.hasOwnProperty("discoverRootDomain")&&a.discoverRootDomain&&(_n=function(n,t){for(var e="_sp_root_domain_test_"+(new Date).getTime(),r="_test_value_"+(new Date).getTime(),o=v.location.hostname.split("."),a=o.length-1;a>=0;){var i=o.slice(a,o.length).join(".");if(L(e,r,0,"/",i,n,t),L(e)===r){D(e,i,n,t);for(var c=E("_sp_root_domain_test_"),u=0;u-1}function dt(){(dn=V(fn.domain,ln.location.href,A()))[1]!==vn&&(gn=A(vn)),mn=k(dn[0]),vn=dn[1]}function mt(){var n=(new Date).getTime();this.href&&(this.href=function(n,t,e){var r=t+"="+e,o=n.split("#"),a=o[0].split("?"),i=a.shift(),c=a.join("?");if(c){for(var u=!0,s=c.split("&"),f=0;fDate.now()?h.getItem(n):(h.removeItem(n),void h.removeItem(n+".expires"))}catch(n){}}(t):"cookie"==Fn||"cookieAndLocalStorage"==Fn?L(t):void 0}function bt(){dt(),U=qn((_n||mn)+(Sn||"/")).slice(0,4)}function kt(){var n=new Date;g=n.getTime()}function At(){!function(){var n=xt(),t=n[0];tS&&(S=t);var e=n[1];ej&&(j=e)}(),kt()}function xt(){var n=fn.compatMode&&"BackCompat"!==fn.compatMode?fn.documentElement:fn.body;return[n.scrollLeft||ln.pageXOffset,n.scrollTop||ln.pageYOffset]}function _t(){var n=xt(),t=n[0];y=t,S=t;var e=n[1];C=e,j=e}function St(n){var t=Math.round(n);if(!isNaN(t))return t}function Ot(){jt(yt("ses"),"*",In)}function Ct(n,t,e,r,o,a){jt(yt("id"),n+"."+t+"."+e+"."+r+"."+o+"."+a,Pn)}function jt(n,t,e){Un&&!Nn||("localStorage"==Fn?T(n,t,e):"cookie"!=Fn&&"cookieAndLocalStorage"!=Fn||L(n,t,e,Sn,_n,On,Cn))}function Tt(){var n=yt("id"),t=yt("ses");P(n),P(t),D(n,_n,On,Cn),D(t,_n,On,Cn)}function Pt(){if(!Un||Nn){var n="none"!=Fn&&!!wt("ses"),t=It();t[1]?B=t[1]:Un?(B="",t[1]=B):(B=tt()(),t[1]=B),z=t[6],n||(t[3]++,z=tt()(),t[6]=z,t[5]=t[4]),"none"!=Fn&&(Ot(),t[4]=Math.round((new Date).getTime()/1e3),t.shift(),Ct.apply(null,t))}}function It(){if("none"==Fn)return[];var n,t=new Date,e=Math.round(t.getTime()/1e3),r=wt("id");return r?(n=r.split(".")).unshift("0"):n=["1",B,e,0,e,""],n[6]||(n[6]=tt()()),n}function Dt(n){return En?"https://"+n:Ln?"http://"+n:("https:"===fn.location.protocol?"https":"http")+"://"+n}function Et(n){var t,e,r=et.concat(n||[]);if(nt.webPage&&r.push({schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:Nt()}}),nt.performanceTiming){var a=function(){var n=["navigationStart","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","unloadEventStart","unloadEventEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","msFirstPaint","chromeFirstPaint","requestEnd","proxyStart","proxyEnd"],t=ln.performance||ln.mozPerformance||ln.msPerformance||ln.webkitPerformance;if(t){var e={};for(var r in t.timing)I(r,n)&&null!==t.timing[r]&&(e[r]=t.timing[r]);return delete e.requestEnd,{schema:"iglu:org.w3/PerformanceTiming/jsonschema/1-0-0",data:e}}}();a&&r.push(a)}if(ln.optimizely){if(nt.optimizelySummary){var i=m()((t=Mt("state"),e=Mt("experiments"),m()(t&&e&&t.activeExperiments,(function(n){var r=e[n];return{activeExperimentId:n.toString(),variation:t.variationIdsMap[n][0].toString(),conditional:r&&r.conditional,manual:r&&r.manual,name:r&&r.name}}))),(function(n){return{schema:"iglu:com.optimizely.snowplow/optimizely_summary/jsonschema/1-0-0",data:n}}));o()(i,(function(n){r.push(n)}))}if(nt.optimizelyXSummary){i=function(){return m()((n=Ut("state"), +t=n&&n.getActiveExperimentIds(),e=n&&n.getVariationMap(),r=Ut("visitor"),m()(t,(function(n){var t=e[n],o=t&&t.name&&t.name.toString()||null,a=t&&t.id,i=r&&r.visitorId&&r.visitorId.toString()||null;return{experimentId:N(n)||null,variationName:o,variation:N(a)||null,visitorId:i}}))),(function(n){return{schema:"iglu:com.optimizely.optimizelyx/summary/jsonschema/1-0-0",data:n}}));var n,t,e,r}();o()(i,(function(n){r.push(n)}))}if(nt.optimizelyExperiments)for(var c=function(){var n=Mt("experiments");if(n){var t=[];for(var e in n)if(n.hasOwnProperty(e)){var r={};r.id=e;var o=n[e];r.code=o.code,r.manual=o.manual,r.conditional=o.conditional,r.name=o.name,r.variationIds=o.variation_ids,t.push({schema:"iglu:com.optimizely/experiment/jsonschema/1-0-0",data:r})}return t}return[]}(),u=0;uo.getTime()&&r(n.callback,zt(t,e))};0!=n.configMinimumVisitLength?n.activityInterval=setTimeout((function(){var a=new Date;g+n.configMinimumVisitLength>a.getTime()&&r(n.callback,zt(t,e)),n.activityInterval=setInterval(o,n.configHeartBeatTimer)}),n.configMinimumVisitLength):n.activityInterval=setInterval(o,n.configHeartBeatTimer)}function Rt(n,t,e){return F()(n)&&F()(t)?{configMinimumVisitLength:1e3*n,configHeartBeatTimer:1e3*t,activityInterval:null,callback:e}:(O("Activity tracking not enabled, please provide integer values for minimumVisitLength and heartBeatDelay."),{})}function Vt(n){var t=n.context,e=n.minXOffset,r=n.minYOffset,o=n.maxXOffset,a=n.maxYOffset,c=fn.title;c!==bn&&(bn=c,s=null),nn.trackPagePing(gt(u||vn),w(s||bn),gt(i||gn),St(e),St(o),St(r),St(a),Et(t))}function Ht(n,t,e,r,o,a,i,c,u){nn.trackEcommerceTransactionItem(n,t,e,r,o,a,i,Et(c),u)}function Gt(n,t){return""!==n?n+t.charAt(0).toUpperCase()+t.slice(1):t}function qt(n){var t,e,r,o=["","webkit","ms","moz"];if(!d)for(e=0;e=0&&(n=n.slice(0,e)),(e=n.lastIndexOf("/"))!==n.length-1&&(n=n.slice(0,e+1)),n+t)}(vn,n)},on.setDocumentTitle=function(n){bn=fn.title,s=n},on.discardHashTag=function(n){f=n},on.discardBrace=function(n){l=n},on.setCookieNamePrefix=function(n){O("setCookieNamePrefix"+Wt+"cookieName"),xn=n},on.setCookieDomain=function(n){O("setCookieDomain"+Wt+"cookieDomain"),_n=k(n),bt()},on.setCookiePath=function(n){Sn=n,bt()},on.setVisitorCookieTimeout=function(n){Pn=n},on.setSessionCookieTimeout=function(n){O("setSessionCookieTimeout"+Wt+"sessionCookieTimeout"),In=n},on.setUserFingerprintSeed=function(){O(Jt)},on.enableUserFingerprint=function(){O(Jt)},on.respectDoNotTrack=function(n){O("respectDoNotTrack"+Wt+"respectDoNotTrack");var t=pn.doNotTrack||pn.msDoNotTrack;Tn=n&&("yes"===t||"1"===t)},on.crossDomainLinker=function(n){vt(n)},on.enableLinkClickTracking=function(n,t,e,o){r.hasLoaded?(Wn.configureLinkClickTracking(n,t,e,o),Wn.addClickListeners()):r.registeredOnLoadHandlers.push((function(){Wn.configureLinkClickTracking(n,t,e,o),Wn.addClickListeners()}))},on.refreshLinkClickTracking=function(){r.hasLoaded?Wn.addClickListeners():r.registeredOnLoadHandlers.push((function(){Wn.addClickListeners()}))},on.enableActivityTracking=function(n,t){it.enabled=!0,it.configurations.pagePing=Rt(n,t,Vt)},on.enableActivityTrackingCallback=function(n,t,e){it.enabled=!0,it.configurations.callback=Rt(n,t,e)},on.updatePageActivity=function(){kt()},on.enableFormTracking=function(n,t){r.hasLoaded?(Kn.configureFormTracking(n),Kn.addFormListeners(t)):r.registeredOnLoadHandlers.push((function(){Kn.configureFormTracking(n),Kn.addFormListeners(t)}))},on.killFrame=function(){ln.location!==ln.top.location&&(ln.top.location=ln.location)},on.redirectFile=function(n){"file:"===ln.location.protocol&&(ln.location=n)},on.setOptOutCookie=function(n){p=n},on.setCountPreRendered=function(n){d=n},on.setUserId=function(n){R=n},on.identifyUser=function(n){on.setUserId(n)},on.setUserIdFromLocation=function(n){dt(),R=_(n,vn)},on.setUserIdFromReferrer=function(n){dt(),R=_(n,gn)}, +on.setUserIdFromCookie=function(n){R=L(n)},on.setCollectorCf=function(n){c=function(n){return Dt(n+".cloudfront.net")}(n),$n.setCollectorUrl(c)},on.setCollectorUrl=function(n){c=Dt(n),$n.setCollectorUrl(c)},on.setPlatform=function(n){O("setPlatform"+Wt+"platform"),nn.setPlatform(n)},on.encodeBase64=function(n){O("encodeBase64"+Wt+"encodeBase64"),nn.setBase64Encoding(n)},on.flushBuffer=function(){$n.executeQueue()},on.enableGeolocationContext=Bt,on.trackPageView=function(n,t,e,r,a){qt((function(){!function(n,t,e,r,a){dt(),at&&Lt(),at=!0,bn=fn.title;var c=w((s=n)||bn);nn.trackPageView(gt(u||vn),c,gt(i||gn),Et(zt(t,e)),r,a);var f=new Date,l=!1;if(it.enabled&&!it.installed){it.installed=!0,l=!0;var p={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var n=!1,t=Object.defineProperty({},"passive",{get:function(){n=!0}}),e=function(){};window.addEventListener("testPassiveEventSupport",e,t),window.removeEventListener("testPassiveEventSupport",e,t),p.hasSupport=n}}};p.update();var d="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(p,"hasSupport")?x(fn,d,kt,{passive:!0}):x(fn,d,kt),_t();var m=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kt;return function(n){return x(fn,n,t)}};o()(["click","mouseup","mousedown","mousemove","keypress","keydown","keyup"],m(fn)),o()(["resize","focus","blur"],m(ln)),m(ln,At)("scroll")}if(it.enabled&&(An||l))for(var v in g=f.getTime(),it.configurations)if(it.configurations.hasOwnProperty(v)){var h=it.configurations[v];clearInterval(h.activityInterval),Ft(h,t,e)}}(n,t,e,r,a)}))},on.trackStructEvent=function(n,t,e,r,o,a,i,c){qt((function(){nn.trackStructEvent(n,t,e,r,o,Et(a),i,c)}))},on.trackSelfDescribingEvent=function(n,t,e,r){qt((function(){nn.trackSelfDescribingEvent(n,Et(t),e,r)}))},on.trackUnstructEvent=function(n,t,e){qt((function(){nn.trackSelfDescribingEvent(n,Et(t),e)}))},on.addTrans=function(n,t,e,r,o,a,i,c,u,s,f){Jn.transaction={orderId:n,affiliation:t,total:e,tax:r,shipping:o,city:a,state:i,country:c,currency:u,context:s,tstamp:f}},on.addItem=function(n,t,e,r,o,a,i,c,u){Jn.items.push({orderId:n,sku:t,name:e,category:r,price:o,quantity:a,currency:i,context:c,tstamp:u})},on.trackTrans=function(){qt((function(){var n,t,e,r,o,a,i,c,u,s,f;n=Jn.transaction.orderId,t=Jn.transaction.affiliation,e=Jn.transaction.total,r=Jn.transaction.tax,o=Jn.transaction.shipping,a=Jn.transaction.city,i=Jn.transaction.state,c=Jn.transaction.country,u=Jn.transaction.currency,s=Jn.transaction.context,f=Jn.transaction.tstamp,nn.trackEcommerceTransaction(n,t,e,r,o,a,i,c,u,Et(s),f);for(var l=0;l1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=Z[n];o?(nt.gdprBasis=!0,ft={gdprBasis:o,gdprDocId:t,gdprDocVer:e,gdprDocDesc:r}):O("enableGdprContext failed. basisForProcessing must be set to one of: consent, legalObligation, vitalInterests publicTask, legitimateInterests")},on.addGlobalContexts=function(n){nn.addGlobalContexts(n)},on.removeGlobalContexts=function(n){nn.removeGlobalContexts(n)},on.clearGlobalContexts=function(){nn.clearGlobalContexts()},on.enableErrorTracking=function(n,t){ +Xn.enableErrorTracking(n,t,Et())},on.trackError=function(n,t,e,r,o,a){var i=Et(a);Xn.trackError(n,t,e,r,o,i)},on.preservePageViewId=function(){ot=!0},on.disableAnonymousTracking=function(n){n?(a.stateStorageStrategy=n,a.anonymousTracking=!1,Fn=q(a)):a.anonymousTracking=!1,Un=X(a),Nn=Y(a),Mn=W(a),$n.setUseLocalStorage("localStorage"==Fn||"cookieAndLocalStorage"==Fn),$n.setAnonymousTracking(Mn),Pt(),$n.executeQueue()},on.enableAnonymousTracking=function(n){a.anonymousTracking=n||!0,Un=X(a),Nn=Y(a),Mn=W(a),Nn||Lt(),$n.setAnonymousTracking(Mn)},on.clearUserData=Tt,on.setDebug=function(n){en=Boolean(n).valueOf(),Yt()},an=function(n){var t={};return"object"===sn(n)&&null!==n&&Object.getOwnPropertyNames(n).forEach((function(e,r,o){var a;"function"==typeof n[e]&&(t[e]=(a=n[e],function(){try{return a.apply(this,arguments)}catch(n){}}))})),t}(on),Yt(),cn}var rt=e(53);function ot(n,t){var e,r=document,a=window,i="js-"+rt.a,c={outQueues:[],bufferFlushers:[],expireDateTime:null,hasLoaded:!1,registeredOnLoadHandlers:[],pageViewId:null};function u(){var n;if(!c.hasLoaded)for(c.hasLoaded=!0,n=0;n0})).length)break}while(n.getTime() \ No newline at end of file diff --git a/charting_library/bundles/2947.01756d0de30a0c1fdebe.js b/charting_library/bundles/2947.01756d0de30a0c1fdebe.js new file mode 100644 index 00000000..71a2a3c1 --- /dev/null +++ b/charting_library/bundles/2947.01756d0de30a0c1fdebe.js @@ -0,0 +1,8 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2947],{21103:e=>{e.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:e=>{e.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:e=>{e.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},66230:e=>{e.exports={button:"button-h8C3IU2n","button-children":"button-children-h8C3IU2n",hiddenArrow:"hiddenArrow-h8C3IU2n",invisibleFocusHandler:"invisibleFocusHandler-h8C3IU2n"}},99171:e=>{e.exports={button:"button-1ARG85Og",disabled:"disabled-1ARG85Og",hidden:"hidden-1ARG85Og",icon:"icon-1ARG85Og",dropped:"dropped-1ARG85Og"}},79756:e=>{e.exports={placeholder:"placeholder-fKHYe1Lk"}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>o});const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>v,InputClasses:()=>g});var o=n(59496),r=n(97754),l=n(88537),s=n(66092),i=n(90186),a=n(86332),c=n(95604);var u=n(21103),d=n.n(u);function f(e){let t="";return 0!==e&&(1&e&&(t=r(t,d()["no-corner-top-left"])),2&e&&(t=r(t,d()["no-corner-top-right"])),4&e&&(t=r(t,d()["no-corner-bottom-right"])),8&e&&(t=r(t,d()["no-corner-bottom-left"]))),t}function p(e,t,n,o){const{removeRoundBorder:l,className:s,intent:i="default",borderStyle:a="thin",size:u,highlight:p,disabled:h,readonly:g,stretch:b,noReadonlyStyles:m,isFocused:v}=e,C=f(null!=l?l:(0,c.getGroupCellRemoveRoundBorders)(n)) +;return r(d().container,d()["intent-"+i],d()["border-"+a],u&&d()["size-"+u],C,p&&d()["with-highlight"],h&&d().disabled,g&&!m&&d().readonly,v&&d().focused,b&&d().stretch,t&&d().grouped,!o&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],s)}function h(e,t){const{highlight:n,highlightRemoveRoundBorder:o}=e;if(!n)return d().highlight;const l=f(null!=o?o:(0,c.getGroupCellRemoveRoundBorders)(t));return r(d().highlight,d().shown,l)}const g={FontSizeMedium:(0,l.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,l.ensureDefined)(d()["font-size-large"])},b={passive:!1};function m(e,t){const{id:n,role:r,onFocus:l,onBlur:c,onMouseOver:u,onMouseOut:d,onMouseDown:f,onMouseUp:g,onKeyDown:m,onClick:v,tabIndex:C,startSlot:x,middleSlot:S,endSlot:w,onWheel:y,onWheelNoPassive:R=null}=e,{isGrouped:E,cellState:k,disablePositionAdjustment:I=!1}=(0,o.useContext)(a.ControlGroupContext),M=function(e,t=null,n){const r=(0,o.useRef)(null),l=(0,o.useRef)(null),s=(0,o.useCallback)(()=>{if(null===r.current||null===l.current)return;const[e,t,n]=l.current;null!==t&&r.current.addEventListener(e,t,n)},[]),i=(0,o.useCallback)(()=>{if(null===r.current||null===l.current)return;const[e,t,n]=l.current;null!==t&&r.current.removeEventListener(e,t,n)},[]),a=(0,o.useCallback)(e=>{i(),r.current=e,s()},[]);return(0,o.useEffect)(()=>(l.current=[e,t,n],s(),i),[e,t,n]),a}("wheel",R,b);return o.createElement("span",{id:n,role:r,className:p(e,E,k,I),tabIndex:C,ref:(0,s.useMergedRefs)([t,M]),onFocus:l,onBlur:c,onMouseOver:u,onMouseOut:d,onMouseDown:f,onMouseUp:g,onKeyDown:m,onClick:v,onWheel:y,...(0,i.filterDataProps)(e),...(0,i.filterAriaProps)(e)},x,S,w,o.createElement("span",{className:h(e,k)}))}m.displayName="ControlSkeleton";const v=o.forwardRef(m)},78274:(e,t,n)=>{"use strict";n.d(t,{BeforeSlot:()=>i,StartSlot:()=>a,MiddleSlot:()=>c,EndSlot:()=>u,AfterSlot:()=>d});var o=n(59496),r=n(97754),l=n(10306),s=n.n(l);function i(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["before-slot"],t)},n)}function a(e){const{className:t,interactive:n=!0,icon:l=!1,children:i}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,l&&s().icon,t)},i)}function c(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["inner-slot"],s()["inner-middle-slot"],t)},n)}function u(e){const{className:t,interactive:n=!0,icon:l=!1,children:i}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,l&&s().icon,t)},i)}function d(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>v});var o=n(59496),r=n(97754),l=n(90186),s=n(47201),i=n(48907),a=n(66092),c=n(48027),u=n(29202),d=n(45812),f=n(67029),p=n(78274),h=n(66579),g=n.n(h);function b(e){return!(0,l.isAriaAttribute)(e)&&!(0,l.isDataAttribute)(e)}function m(e){ +const{id:t,title:n,role:s,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:h,draggable:m,autoComplete:v,autoFocus:C,maxLength:x,min:S,max:w,step:y,pattern:R,inputMode:E,onSelect:k,onFocus:I,onBlur:M,onKeyDown:F,onKeyUp:A,onKeyPress:N,onChange:O,onDragStart:z,size:B="medium",className:D,inputClassName:j,disabled:_,readonly:H,containerTabIndex:K,startSlot:L,endSlot:T,reference:W,containerReference:V,onContainerFocus:G,...P}=e,U=(0,l.filterProps)(P,b),Q={...(0,l.filterAriaProps)(P),...(0,l.filterDataProps)(P),id:t,title:n,role:s,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:h,draggable:m,autoComplete:v,autoFocus:C,maxLength:x,min:S,max:w,step:y,pattern:R,inputMode:E,onSelect:k,onFocus:I,onBlur:M,onKeyDown:F,onKeyUp:A,onKeyPress:N,onChange:O,onDragStart:z};return o.createElement(f.ControlSkeleton,{...U,disabled:_,readonly:H,tabIndex:K,className:r(g().container,D),size:B,ref:V,onFocus:G,startSlot:L,middleSlot:o.createElement(p.MiddleSlot,null,o.createElement("input",{...Q,className:r(g().input,j,L&&g()["with-start-slot"],T&&g()["with-end-slot"]),disabled:_,readOnly:H,ref:W})),endSlot:T})}function v(e){e=(0,c.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:l,onBlur:f,reference:p,containerReference:h=null}=e,g=(0,o.useRef)(null),b=(0,o.useRef)(null),[v,C]=(0,u.useFocus)(),x=t?void 0:v?-1:r,S=t?void 0:v?r:-1,{isMouseDown:w,handleMouseDown:y,handleMouseUp:R}=(0,d.useIsMouseDown)(),E=(0,s.createSafeMulticastEventHandler)(C.onFocus,(function(e){n&&!w.current&&(0,i.selectAllContent)(e.currentTarget)}),l),k=(0,s.createSafeMulticastEventHandler)(C.onBlur,f),I=(0,o.useCallback)(e=>{g.current=e,p&&("function"==typeof p&&p(e),"object"==typeof p&&(p.current=e))},[g,p]);return o.createElement(m,{...e,isFocused:v,containerTabIndex:x,tabIndex:S,onContainerFocus:function(e){b.current===e.target&&null!==g.current&&g.current.focus()},onFocus:E,onBlur:k,reference:I,containerReference:(0,a.useMergedRefs)([b,h]),onMouseDown:y,onMouseUp:R})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>l});var o=n(47201),r=n(29202);function l(e){const{onFocus:t,onBlur:n,intent:l,highlight:s,disabled:i}=e,[a,c]=(0,r.useFocus)(void 0,i),u=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onFocus,t),d=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onBlur,n);return{...e,intent:l||(a?"primary":"default"),highlight:null!=s?s:a,onFocus:u,onBlur:d}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(59496);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t&&n&&r(!1)},[t,n]);const l={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,l]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(59496);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)(()=>{e.current=!0},[e]),n=(0,o.useCallback)(()=>{e.current=!1},[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},66092:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>r}) +;var o=n(59496);function r(e){return(0,o.useCallback)(function(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(e),e)}},71131:(e,t,n)=>{"use strict";n.d(t,{useScrollIntoViewHelper:()=>d});var o=n(59496),r=n(88537),l=n(74991);const s={duration:200,additionalScroll:0},i={vertical:{scrollSize:"scrollHeight",clientSize:"clientHeight",start:"top",end:"bottom",size:"height"},horizontal:{scrollSize:"scrollWidth",clientSize:"clientWidth",start:"left",end:"right",size:"width"}};function a(e,t){const n=i[e];return t[n.scrollSize]>t[n.clientSize]}function c(e,t,n,o,r,s){const a=function(e,t,n,o=0){const r=i[e];return{start:-1*o,middle:-1*(Math.floor(n[r.size]/2)-Math.floor(t[r.size]/2)),end:-1*(n[r.size]-t[r.size])+o}}(e,o,r,s.additionalScroll);let c=0;if(function(e,t,n){const o=i[e];return t[o.start]n[o.end]+n[o.size]/2}(e,o,r))c=a.middle;else{const t=function(e){const{start:t,middle:n,end:o}=e,r=new Map([[Math.abs(t),{key:"start",value:Math.sign(t)}],[Math.abs(n),{key:"middle",value:Math.sign(n)}],[Math.abs(o),{key:"end",value:Math.sign(o)}]]),l=Math.min(...r.keys());return r.get(l)}(function(e,t,n,o=0){const r=i[e],l=t[r.start]+Math.floor(t[r.size]/2),s=n[r.start]+Math.floor(n[r.size]/2);return{start:t[r.start]-n[r.start]-o,middle:l-s,end:t[r.end]-n[r.end]+o}}(e,o,r,s.additionalScroll));c=void 0!==t?a[t.key]:0}return function(e){const{additionalScroll:t=0,duration:n=l.dur,func:o=l.easingFunc.easeInOutCubic,onScrollEnd:r,target:s,wrap:i,direction:a="vertical"}=e;let{targetRect:c,wrapRect:u}=e;c=null!=c?c:s.getBoundingClientRect(),u=null!=u?u:i.getBoundingClientRect();const d=("vertical"===a?c.top-u.top:c.left-u.left)+t,f="vertical"===a?"scrollTop":"scrollLeft",p=i?i[f]:0;let h,g=0;return g=window.requestAnimationFrame((function e(t){let l;if(h?l=t-h:(l=0,h=t),l>=n)return i[f]=p+d,void(r&&r());const s=p+d*o(l/n);i[f]=Math.floor(s),g=window.requestAnimationFrame(e)})),function(){window.cancelAnimationFrame(g),r&&r()}}({...s,target:t,targetRect:o,wrap:n,wrapRect:r,additionalScroll:c,direction:e})}class u{constructor(e=null){this._container=null,this._lastScrolledElement=null,this._stopVerticalScroll=null,this._stopHorizontalScroll=null,this._container=e}scrollTo(e,t=s){if(null!==this._container&&null!==e&&!function(e,t){const n=e.getBoundingClientRect(),o=t.getBoundingClientRect();return n.top>=o.top&&n.bottom<=o.bottom&&n.left>=o.left&&n.right<=o.right}(e,this._container)){const n=e.getBoundingClientRect(),o=this._container.getBoundingClientRect();this.stopScroll(),a("vertical",this._container)&&(this._stopVerticalScroll=c("vertical",e,this._container,n,o,this._modifyOptions("vertical",t))),a("horizontal",this._container)&&(this._stopHorizontalScroll=c("horizontal",e,this._container,n,o,this._modifyOptions("horizontal",t)))}this._lastScrolledElement=e}scrollToLastElement(e){this.scrollTo(this._lastScrolledElement,e)}stopScroll(){null!==this._stopVerticalScroll&&this._stopVerticalScroll(),null!==this._stopHorizontalScroll&&this._stopHorizontalScroll()} +getContainer(){return this._container}setContainer(e){var t;this._container=e,(null===(t=this._container)||void 0===t?void 0:t.contains(this._lastScrolledElement))||(this._lastScrolledElement=null)}destroy(){this.stopScroll(),this._container=null,this._lastScrolledElement=null}_handleScrollEnd(e){"vertical"===e?this._stopVerticalScroll=null:this._stopHorizontalScroll=null}_modifyOptions(e,t){return Object.assign({},t,{onScrollEnd:()=>{this._handleScrollEnd(e),void 0!==t.onScrollEnd&&t.onScrollEnd()}})}}function d(e){const t=(0,o.useRef)(null);return(0,o.useEffect)(()=>(t.current=new u(e),()=>(0,r.ensureNotNull)(t.current).destroy()),[]),t}},22064:(e,t,n)=>{"use strict";n.d(t,{createDomId:()=>a,joinDomIds:()=>c});const o=/\s/g;function r(e){return"string"==typeof e}function l(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function s(e){return e.trim().length>0}function i(e){return e.replace(o,"-")}function a(...e){const t=e.map(l).filter(r).filter(s).map(i);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function c(...e){return e.map(l).filter(r).filter(s).join(" ")}},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},47201:(e,t,n)=>{"use strict";function o(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>o})},72887:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosureView:()=>m});var o=n(59496),r=n(97754),l=n.n(r),s=n(66092),i=n(67029),a=n(78274),c=n(50628),u=n(88537);function d(e,t){return(0,o.useCallback)(()=>function(e,t){const n=(0,u.ensureNotNull)(e).getBoundingClientRect(),o={x:n.left,y:n.top+n.height};return t&&(o.overrideWidth=n.width),o}(e.current,t),[e,t])}var f=n(86240);const p=parseInt(f["size-header-height"]);function h(e){const{button:t,popupChildren:n,buttonRef:r,listboxId:l,listboxClassName:s,listboxTabIndex:i,matchButtonAndListboxWidths:a,isOpened:u,scrollWrapReference:f,listboxReference:h,onClose:g,onOpen:b,onListboxFocus:m,onListboxBlur:v,onListboxKeyDown:C,listboxAria:x,repositionOnScroll:S=!0,closeOnHeaderOverlap:w=!1}=e,y=d(r,a),R=w?p:0;return o.createElement(o.Fragment,null,t,o.createElement(c.PopupMenu,{...x,id:l,className:s,tabIndex:i,isOpened:u,position:y,repositionOnScroll:S,onClose:g,onOpen:b,doNotCloseOn:r.current,reference:h,scrollWrapReference:f,onFocus:m,onBlur:v,onKeyDown:C,closeOnScrollOutsideOffset:R},n))}var g=n(93211),b=n(66230);const m=o.forwardRef((e,t)=>{const{listboxId:n,className:r,listboxClassName:c,listboxTabIndex:u,hideArrowButton:d,matchButtonAndListboxWidths:f,disabled:p,isOpened:m,scrollWrapReference:v,repositionOnScroll:C,closeOnHeaderOverlap:x,listboxReference:S,size:w="medium",onClose:y,onOpen:R,onListboxFocus:E,onListboxBlur:k,onListboxKeyDown:I,buttonChildren:M,children:F,caretClassName:A,listboxAria:N,...O}=e,z=(0,o.useRef)(null),B=!d&&o.createElement(a.EndSlot,null,o.createElement(g.Caret,{isDropped:m,disabled:p,className:A +}));return o.createElement(h,{buttonRef:z,listboxId:n,listboxClassName:c,listboxTabIndex:u,isOpened:m,onClose:y,onOpen:R,listboxReference:S,scrollWrapReference:v,onListboxFocus:E,onListboxBlur:k,onListboxKeyDown:I,listboxAria:N,matchButtonAndListboxWidths:f,button:o.createElement(i.ControlSkeleton,{...O,"data-role":"listbox",disabled:p,className:l()(b.button,r),size:w,ref:(0,s.useMergedRefs)([z,t]),middleSlot:o.createElement(a.MiddleSlot,null,o.createElement("span",{className:l()(b["button-children"],d&&b.hiddenArrow)},M)),endSlot:B}),popupChildren:F,repositionOnScroll:C,closeOnHeaderOverlap:x})});m.displayName="ControlDisclosureView"},68721:(e,t,n)=>{"use strict";n.d(t,{useControlDisclosure:()=>c});var o=n(59496),r=n(88537),l=n(29202),s=n(47201),i=n(22064),a=n(35749);function c(e){const{intent:t,highlight:n,...c}=e,{isFocused:u,...d}=function(e){const{id:t,disabled:n,buttonTabIndex:c=0,onFocus:u,onBlur:d,onClick:f}=e,[p,h]=(0,o.useState)(!1),[g,b]=(0,l.useFocus)(),m=g||p,v=void 0!==t?(0,i.createDomId)(t,"listbox"):void 0,C=(0,o.useRef)(null),x=(0,o.useCallback)(e=>(0,r.ensureNotNull)(C.current).focus(e),[C]),S=(0,o.useRef)(null),w=(0,o.useCallback)(()=>(0,r.ensureNotNull)(S.current).focus(),[S]),y=(0,o.useCallback)(()=>h(!0),[h]),R=(0,o.useCallback)((e=!1)=>{h(!1);const{activeElement:t}=document;t&&(0,a.isTextEditingField)(t)||x({preventScroll:e})},[h,x]),E=(0,o.useCallback)(()=>{p?R():y()},[p,R,y]),k=n?[]:[u,b.onFocus],I=n?[]:[d,b.onBlur],M=n?[]:[f,E],F=(0,s.createSafeMulticastEventHandler)(...k),A=(0,s.createSafeMulticastEventHandler)(...I),N=(0,s.createSafeMulticastEventHandler)(...M);return{listboxId:v,isOpened:p,isFocused:m,buttonTabIndex:n?-1:c,listboxTabIndex:-1,open:y,close:R,toggle:E,onOpen:w,buttonFocusBindings:{onFocus:F,onBlur:A},onButtonClick:N,buttonRef:C,listboxRef:S,buttonAria:{"aria-controls":p?v:void 0,"aria-expanded":p,"aria-disabled":n}}}(c);return{...d,isFocused:u,highlight:null!=n?n:u,intent:null!=t?t:u?"primary":"default"}}},26597:(e,t,n)=>{"use strict";n.d(t,{useKeyboardActionHandler:()=>s,useComposedKeyboardActionHandlers:()=>i,useKeyboardEventHandler:()=>a,useKeyboardToggle:()=>c,useKeyboardClose:()=>u,useKeyboardOpen:()=>d});var o=n(59496),r=n(68335);const l=()=>!0;function s(e,t,n=l){return(0,o.useCallback)(o=>{const r=e.map(e=>"function"==typeof e?e():e);return!(!n()||!r.includes(o))&&(t(),!0)},[...e,t,n])}function i(...e){return(0,o.useCallback)(t=>{for(const n of e)if(n(t))return!0;return!1},[...e])}function a(...e){const t=i(...e);return(0,o.useCallback)(e=>{t((0,r.hashFromEvent)(e))&&e.preventDefault()},[t])}function c(e){return s([13,32],e)}function u(e,t){return s([9,(0,o.useCallback)(()=>r.Modifiers.Shift+9,[]),27],t,(0,o.useCallback)(()=>e,[e]))}function d(e,t){return s([40,38],t,(0,o.useCallback)(()=>!e,[e]))}},93211:(e,t,n)=>{"use strict";n.d(t,{Caret:()=>u});var o=n(59496),r=n(97754),l=n.n(r),s=n(9745),i=n(89974),a=n(99171);function c(e){const{isDropped:t}=e;return o.createElement(s.Icon,{className:l()(a.icon,t&&a.dropped),icon:i})}function u(e){ +const{className:t,disabled:n,isDropped:r}=e;return o.createElement("span",{className:l()(a.button,n&&a.disabled,t)},o.createElement(c,{isDropped:r}))}},58368:(e,t,n)=>{"use strict";n.d(t,{Select:()=>S});var o=n(59496),r=n(22064),l=n(66092),s=n(88537),i=n(71131);var a=n(16396),c=n(4889),u=n(43370);var d=n(62820),f=n(26597);function p(e,t){return e>=0?e%t:(t-Math.abs(e)%t)%t}const h={next:[40,()=>(0,d.isRtl)()?37:39],previous:[38,()=>(0,d.isRtl)()?39:37],first:[33,36],last:[34,35]};var g=n(72887),b=n(68721),m=n(79756);function v(e){return!e.readonly}function C(e,t){var n;return null!==(n=null==t?void 0:t.id)&&void 0!==n?n:(0,r.createDomId)(e,"item",null==t?void 0:t.value)}function x(e){var t,n;const{selectedItem:r,placeholder:l}=e;if(!r)return o.createElement("span",{className:m.placeholder},l);const s=null!==(n=null!==(t=r.selectedContent)&&void 0!==t?t:r.content)&&void 0!==n?n:r.value;return o.createElement("span",null,s)}const S=o.forwardRef((e,t)=>{const{id:n,menuClassName:d,menuItemClassName:m,tabIndex:S,disabled:w,highlight:y,intent:R,hideArrowButton:E,placeholder:k,addPlaceholderToItems:I=!0,value:M,"aria-labelledby":F,onFocus:A,onBlur:N,onClick:O,onChange:z,repositionOnScroll:B=!0,...D}=e;let{items:j}=e;if(k&&I){j=[{value:void 0,content:k,id:(0,r.createDomId)(n,"placeholder")},...j]}const{listboxId:_,isOpened:H,isFocused:K,buttonTabIndex:L,listboxTabIndex:T,highlight:W,intent:V,open:G,onOpen:P,close:U,toggle:Q,buttonFocusBindings:q,onButtonClick:J,buttonRef:Y,listboxRef:X,buttonAria:Z}=(0,b.useControlDisclosure)({id:n,disabled:w,buttonTabIndex:S,intent:R,highlight:y,onFocus:A,onBlur:N,onClick:O}),$=j.filter(v),ee=$.find(e=>e.value===M),[te,ne,oe]=function(e,t){const n=(0,o.useRef)(null),r=(0,o.useRef)(new WeakMap),l=(0,i.useScrollIntoViewHelper)(n.current),a=(0,o.useCallback)(()=>{null!==l.current&&null!==n.current&&l.current.getContainer()!==n.current&&l.current.setContainer(n.current)},[l,n]),c=(0,o.useCallback)(e=>{n.current=e},[n]),u=(0,o.useCallback)((e,t)=>{r.current.set(e,t)},[r]),d=(0,o.useCallback)((e,t)=>{if(!e)return;const n=r.current.get(e);n&&(a(),(0,s.ensureNotNull)(l.current).scrollTo(n,t))},[r,l]);return(0,o.useEffect)(()=>d(e,t),[d,e]),[c,u,d]}(ee),re=(0,r.joinDomIds)(F,n),le=re.length>0?re:void 0,se=(0,o.useMemo)(()=>({role:"listbox","aria-labelledby":F,"aria-activedescendant":C(n,ee)}),[F,ee]),ie=(0,o.useCallback)(e=>e.value===M,[M]),ae=(0,o.useCallback)(e=>z&&z(e.value),[z]),ce=function(e,t,n,r=!0,l={}){const s=(0,o.useCallback)(()=>{const o=e.findIndex(t);if(o===e.length-1&&!r)return;const l=p(o+1,e.length);n&&n(e[l])},[e,t,n,r]),i=(0,o.useCallback)(()=>{const o=e.findIndex(t);if(0===o&&!r)return;const l=p(o-1,e.length);n&&n(e[l])},[e,t,n,r]),a=(0,o.useCallback)(()=>{n&&n(e[0])},[n,e]),c=(0,o.useCallback)(()=>{n&&n(e[e.length-1])},[n,e]),{next:u=h.next,previous:d=h.previous,first:g=h.first,last:b=h.last}=l;return(0,f.useComposedKeyboardActionHandlers)((0,f.useKeyboardActionHandler)(u,s),(0,f.useKeyboardActionHandler)(d,i),(0,f.useKeyboardActionHandler)(g,a),(0, +f.useKeyboardActionHandler)(b,c))}($,ie,ae,!1,{next:[40],previous:[38]}),ue=(0,f.useKeyboardToggle)(Q),de=(0,f.useKeyboardClose)(H,U),fe=(0,f.useKeyboardOpen)(H,G),pe=(0,f.useKeyboardEventHandler)(ue,de,fe),he=(0,f.useKeyboardEventHandler)(ce,ue,de),ge=function(e){const t=(0,o.useRef)(""),n=(0,o.useMemo)(()=>(0,c.default)(()=>{t.current=""},500),[]),r=(0,o.useMemo)(()=>(0,u.default)(e,200),[e]);return(0,o.useCallback)(e=>{e.key.length>0&&e.key.length<3&&(t.current+=e.key,r(t.current,e),n())},[n,r])}((e,t)=>{const n=function(e,t){return e.find(e=>{var n;const o=t.toLowerCase();return!e.readonly&&(!e.readonly&&("string"==typeof e.content&&e.content.toLowerCase().startsWith(o)||String(null!==(n=e.value)&&void 0!==n?n:"").toLowerCase().startsWith(o)))})}($,e);void 0!==n&&z&&(t.stopPropagation(),H||G(),z(n.value))});return o.createElement(g.ControlDisclosureView,{...D,...Z,...q,id:n,role:"button",tabIndex:L,"aria-owns":Z["aria-controls"],"aria-haspopup":"listbox","aria-labelledby":le,disabled:w,hideArrowButton:E,isFocused:K,isOpened:H,highlight:W,intent:V,ref:(0,l.useMergedRefs)([Y,t]),onClick:J,onOpen:function(){oe(ee,{duration:0}),P()},onClose:U,onKeyDown:function(e){pe(e),e.defaultPrevented||ge(e)},listboxId:_,listboxTabIndex:T,listboxClassName:d,listboxAria:se,listboxReference:X,scrollWrapReference:te,onListboxKeyDown:function(e){he(e),e.defaultPrevented||ge(e)},buttonChildren:o.createElement(x,{selectedItem:ee,placeholder:k}),repositionOnScroll:B},j.map((e,t)=>{var r;if(e.readonly)return o.createElement(o.Fragment,{key:"readonly_item_"+t},e.content);const l=C(n,e);return o.createElement(a.PopupMenuItem,{key:l,id:l,className:m,role:"option","aria-selected":M===e.value,isActive:M===e.value,label:null!==(r=e.content)&&void 0!==r?r:e.value,onClick:be,onClickArg:e.value,isDisabled:e.disabled,reference:t=>ne(e,t)})}));function be(e){z&&z(e)}});S.displayName="Select"},89974:e=>{e.exports=''},86240:e=>{"use strict";e.exports=JSON.parse('{"size-header-height":"64px","media-phone":"screen and (max-width: 767px)","media-mf-phone-landscape":"screen and (min-width: 568px)","media-mf-tablet-vertical":"screen and (min-width: 768px)","media-mf-tablet-landscape":"screen and (min-width: 1024px)","media-mf-laptop":"screen and (min-width: 1280px)"}')}}]); \ No newline at end of file diff --git a/charting_library/bundles/29545fef24e0ecc8478adab4816bba30.svg b/charting_library/bundles/29545fef24e0ecc8478adab4816bba30.svg new file mode 100644 index 00000000..5cc4ddef --- /dev/null +++ b/charting_library/bundles/29545fef24e0ecc8478adab4816bba30.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2aecc106c5eb83ecada117376a8c8f2a.svg b/charting_library/bundles/2aecc106c5eb83ecada117376a8c8f2a.svg new file mode 100644 index 00000000..5d49944b --- /dev/null +++ b/charting_library/bundles/2aecc106c5eb83ecada117376a8c8f2a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2b993200d16755e7ff303ad0c32f4919.svg b/charting_library/bundles/2b993200d16755e7ff303ad0c32f4919.svg new file mode 100644 index 00000000..cbe4e4f6 --- /dev/null +++ b/charting_library/bundles/2b993200d16755e7ff303ad0c32f4919.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2c22bc38345265a3c18504acca3e0d56.svg b/charting_library/bundles/2c22bc38345265a3c18504acca3e0d56.svg new file mode 100644 index 00000000..c92c6693 --- /dev/null +++ b/charting_library/bundles/2c22bc38345265a3c18504acca3e0d56.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2c713a3aca13638904167e66cf9eeab0.svg b/charting_library/bundles/2c713a3aca13638904167e66cf9eeab0.svg new file mode 100644 index 00000000..2485b961 --- /dev/null +++ b/charting_library/bundles/2c713a3aca13638904167e66cf9eeab0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2d4c81f5074ead4d91e24dce1782b828.svg b/charting_library/bundles/2d4c81f5074ead4d91e24dce1782b828.svg new file mode 100644 index 00000000..86a57498 --- /dev/null +++ b/charting_library/bundles/2d4c81f5074ead4d91e24dce1782b828.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2d9e49752791b82092387b7ffd7e427f.svg b/charting_library/bundles/2d9e49752791b82092387b7ffd7e427f.svg new file mode 100644 index 00000000..6b707997 --- /dev/null +++ b/charting_library/bundles/2d9e49752791b82092387b7ffd7e427f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2dab12e8a6c93cdc361b475dcd7b3074.svg b/charting_library/bundles/2dab12e8a6c93cdc361b475dcd7b3074.svg new file mode 100644 index 00000000..8cc41c24 --- /dev/null +++ b/charting_library/bundles/2dab12e8a6c93cdc361b475dcd7b3074.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2e59cb1da31075c39dc3b0c1e75e5fd7.svg b/charting_library/bundles/2e59cb1da31075c39dc3b0c1e75e5fd7.svg new file mode 100644 index 00000000..76393490 --- /dev/null +++ b/charting_library/bundles/2e59cb1da31075c39dc3b0c1e75e5fd7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2f1e9623d075ac187394740ee1f6c377.svg b/charting_library/bundles/2f1e9623d075ac187394740ee1f6c377.svg new file mode 100644 index 00000000..086b4b09 --- /dev/null +++ b/charting_library/bundles/2f1e9623d075ac187394740ee1f6c377.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2f71391908131b082aab4d129f7b5272.svg b/charting_library/bundles/2f71391908131b082aab4d129f7b5272.svg new file mode 100644 index 00000000..4a46e2cd --- /dev/null +++ b/charting_library/bundles/2f71391908131b082aab4d129f7b5272.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/2fc23c00813c60848572b5d28ee7dfb9.svg b/charting_library/bundles/2fc23c00813c60848572b5d28ee7dfb9.svg new file mode 100644 index 00000000..d2eb7ae6 --- /dev/null +++ b/charting_library/bundles/2fc23c00813c60848572b5d28ee7dfb9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3014.516162fd8b06ec2cad15.js b/charting_library/bundles/3014.516162fd8b06ec2cad15.js new file mode 100644 index 00000000..cb71545d --- /dev/null +++ b/charting_library/bundles/3014.516162fd8b06ec2cad15.js @@ -0,0 +1,10 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3014],{13398:function(e,t){var n,r,o,i;i=function(e){var t=Object.prototype.toString,n=Array.isArray||function(e){return"[object Array]"===t.call(e)};function r(e){return"function"==typeof e}function o(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(e,t){return null!=e&&"object"==typeof e&&t in e}var a=RegExp.prototype.test,s=/\S/;function f(e){return!function(e,t){return a.call(e,t)}(s,e)}var c={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},u=/\s*/,p=/\s+/,l=/\s*=/,d=/\s*\}/,h=/#|\^|\/|>|\{|&|=|!/;function m(e){this.string=e,this.tail=e,this.pos=0}function v(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function y(){this.cache={}}m.prototype.eos=function(){return""===this.tail},m.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},m.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},v.prototype.push=function(e){return new v(e,this)},v.prototype.lookup=function(e){var t,n=this.cache;if(n.hasOwnProperty(e))t=n[e];else{for(var o,a,s=this,f=!1;s;){if(e.indexOf(".")>0)for(t=s.view,o=e.split("."),a=0;null!=t&&a0?o[o.length-1][4]:n;break;default:r.push(t)}return n +}(function(e){for(var t,n,r=[],o=0,i=e.length;o"===i?a=this.renderPartial(o,t,n,r):"&"===i?a=this.unescapedValue(o,t):"name"===i?a=this.escapedValue(o,t):"text"===i&&(a=this.rawValue(o)),void 0!==a&&(s+=a);return s},y.prototype.renderSection=function(e,t,o,i){var a=this,s="",f=t.lookup(e[1]);if(f){if(n(f))for(var c=0,u=f.length;c"'`=\/]/g,(function(e){return c[e]}))},e.Scanner=m,e.Context=v,e.Writer=y},t&&"string"!=typeof t.nodeName?i(t):(r=[t],void 0===(o="function"==typeof(n=i)?n.apply(t,r):n)||(e.exports=o))},61970:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,i){try{return function e(i,a){if(i===a)return!0;if(i&&a&&"object"==typeof i&&"object"==typeof a){if(i.constructor!==a.constructor)return!1;var s,f,c,u;if(Array.isArray(i)){if((s=i.length)!=a.length)return!1;for(f=s;0!=f--;)if(!e(i[f],a[f]))return!1;return!0}if(n&&i instanceof Map&&a instanceof Map){if(i.size!==a.size)return!1;for(u=i.entries();!(f=u.next()).done;)if(!a.has(f.value[0]))return!1;for(u=i.entries();!(f=u.next()).done;)if(!e(f.value[1],a.get(f.value[0])))return!1;return!0} +if(r&&i instanceof Set&&a instanceof Set){if(i.size!==a.size)return!1;for(u=i.entries();!(f=u.next()).done;)if(!a.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(a)){if((s=i.length)!=a.length)return!1;for(f=s;0!=f--;)if(i[f]!==a[f])return!1;return!0}if(i.constructor===RegExp)return i.source===a.source&&i.flags===a.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===a.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===a.toString();if((s=(c=Object.keys(i)).length)!==Object.keys(a).length)return!1;for(f=s;0!=f--;)if(!Object.prototype.hasOwnProperty.call(a,c[f]))return!1;if(t&&i instanceof Element)return!1;for(f=s;0!=f--;)if(("_owner"!==c[f]&&"__v"!==c[f]&&"__o"!==c[f]||!i.$$typeof)&&!e(i[c[f]],a[c[f]]))return!1;return!0}return i!=i&&a!=a}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},2998:(e,t,n)=>{"use strict";n.d(t,{ManagerReferenceNodeContext:()=>o,ManagerReferenceNodeSetterContext:()=>i,Manager:()=>a});var r=n(59496),o=r.createContext(),i=r.createContext();function a(e){var t=e.children,n=r.useState(null),a=n[0],s=n[1];return r.useEffect((function(){return function(){s(null)}}),[s]),r.createElement(o.Provider,{value:a},r.createElement(i.Provider,{value:s},t))}},4298:(e,t,n)=>{"use strict";n.d(t,{Popper:()=>ve});var r=n(59496),o=n(2998),i=n(58949);function a(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function s(e){return e instanceof a(e).Element||e instanceof Element}function f(e){return e instanceof a(e).HTMLElement||e instanceof HTMLElement}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof a(e).ShadowRoot||e instanceof ShadowRoot)}var u=Math.round;function p(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;return f(e)&&t&&(r=n.width/e.offsetWidth||1,o=n.height/e.offsetHeight||1),{width:u(n.width/r),height:u(n.height/o),top:u(n.top/o),right:u(n.right/r),bottom:u(n.bottom/o),left:u(n.left/r),x:u(n.left/r),y:u(n.top/o)}}function l(e){var t=a(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function d(e){return e?(e.nodeName||"").toLowerCase():null}function h(e){return((s(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return p(h(e)).left+l(e).scrollLeft}function v(e){return a(e).getComputedStyle(e)}function y(e){var t=v(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function g(e,t,n){void 0===n&&(n=!1);var r,o,i=f(t),s=f(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),c=h(t),u=p(e,s),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(i||!i&&!n)&&(("body"!==d(t)||y(c))&&(v=(r=t)!==a(r)&&f(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:l(r)),f(t)?((g=p(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):c&&(g.x=m(c))),{x:u.left+v.scrollLeft-g.x,y:u.top+v.scrollTop-g.y,width:u.width, +height:u.height}}function b(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function w(e){return"html"===d(e)?e:e.assignedSlot||e.parentNode||(c(e)?e.host:null)||h(e)}function x(e,t){var n;void 0===t&&(t=[]);var r=function e(t){return["html","body","#document"].indexOf(d(t))>=0?t.ownerDocument.body:f(t)&&y(t)?t:e(w(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=a(r),s=o?[i].concat(i.visualViewport||[],y(r)?r:[]):r,c=t.concat(s);return o?c:c.concat(x(w(s)))}function O(e){return["table","td","th"].indexOf(d(e))>=0}function E(e){return f(e)&&"fixed"!==v(e).position?e.offsetParent:null}function k(e){for(var t=a(e),n=E(e);n&&O(n)&&"static"===v(n).position;)n=E(n);return n&&("html"===d(n)||"body"===d(n)&&"static"===v(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&f(e)&&"fixed"===v(e).position)return null;for(var n=w(e);f(n)&&["html","body"].indexOf(d(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var j="top",R="bottom",D="right",S="left",A=[j,R,D,S],M=A.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),P=[].concat(A,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),C=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function U(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}var L={placement:"bottom",modifiers:[],strategy:"absolute"};function T(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function N(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?V(o):null,a=o?I(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case j:t={x:s,y:n.y-r.height};break;case R:t={x:s,y:n.y+n.height};break;case D:t={x:n.x+n.width,y:f};break;case S:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?q(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case"start":t[c]=t[c]-(n[u]/2-r[u]/2);break;case"end":t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}const F={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=N({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var _=Math.max,z=Math.min,$=Math.round,X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Y(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,s=e.position,f=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:$($(t*r)/r)||0,y:$($(n*r)/r)||0} +}(i):"function"==typeof u?u(i):i,l=p.x,d=void 0===l?0:l,m=p.y,y=void 0===m?0:m,g=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),w=S,x=j,O=window;if(c){var E=k(n),A="clientHeight",M="clientWidth";E===a(n)&&"static"!==v(E=h(n)).position&&(A="scrollHeight",M="scrollWidth"),E=E,o===j&&(x=R,y-=E[A]-r.height,y*=f?1:-1),o===S&&(w=D,d-=E[M]-r.width,d*=f?1:-1)}var P,C=Object.assign({position:s},c&&X);return f?Object.assign({},C,((P={})[x]=b?"0":"",P[w]=g?"0":"",P.transform=(O.devicePixelRatio||1)<2?"translate("+d+"px, "+y+"px)":"translate3d("+d+"px, "+y+"px, 0)",P)):Object.assign({},C,((t={})[x]=b?y+"px":"",t[w]=g?d+"px":"",t.transform="",t))}var G={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,(function(e){return G[e]}))}var K={start:"end",end:"start"};function Q(e){return e.replace(/start|end/g,(function(e){return K[e]}))}function Z(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&c(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function te(e,t){return"viewport"===t?ee(function(e){var t=a(e),n=h(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,f=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,f=r.offsetTop)),{width:o,height:i,x:s+m(e),y:f}}(e)):f(t)?function(e){var t=p(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ee(function(e){var t,n=h(e),r=l(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=_(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=_(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+m(e),f=-r.scrollTop;return"rtl"===v(o||n).direction&&(s+=_(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:f}}(h(e)))}function ne(e,t,n){var r="clippingParents"===t?function(e){var t=x(w(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&f(e)?k(e):e;return s(n)?t.filter((function(e){return s(e)&&Z(e,n)&&"body"!==d(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=te(e,n);return t.top=_(r.top,t.top),t.right=z(r.right,t.right),t.bottom=z(r.bottom,t.bottom),t.left=_(r.left,t.left),t}),te(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function re(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function oe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ie(e,t){void 0===t&&(t={}) +;var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,f=n.rootBoundary,c=void 0===f?"viewport":f,u=n.elementContext,l=void 0===u?"popper":u,d=n.altBoundary,m=void 0!==d&&d,v=n.padding,y=void 0===v?0:v,g=re("number"!=typeof y?y:oe(y,A)),b="popper"===l?"reference":"popper",w=e.elements.reference,x=e.rects.popper,O=e.elements[m?b:l],E=ne(s(O)?O:O.contextElement||h(e.elements.popper),a,c),k=p(w),S=N({reference:k,element:x,strategy:"absolute",placement:o}),M=ee(Object.assign({},x,S)),P="popper"===l?M:k,C={top:E.top-P.top+g.top,bottom:P.bottom-E.bottom+g.bottom,left:E.left-P.left+g.left,right:P.right-E.right+g.right},U=e.modifiersData.offset;if("popper"===l&&U){var L=U[o];Object.keys(C).forEach((function(e){var t=[D,R].indexOf(e)>=0?1:-1,n=[j,R].indexOf(e)>=0?"y":"x";C[e]+=L[n]*t}))}return C}function ae(e,t,n){return _(e,z(t,n))}function se(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[j,D,R,S].some((function(t){return e[t]>=0}))}var ce=B({defaultModifiers:[H,F,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Y(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];f(o)&&d(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});f(r)&&d(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=P.reduce((function(e,n){return e[n]=function(e,t,n){ +var r=V(e),o=[S,j].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[S,D].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,v=t.options.placement,y=V(v),g=f||(y===v||!h?[J(v)]:function(e){if("auto"===V(e))return[];var t=J(e);return[Q(e),t,Q(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat("auto"===V(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?P:f,u=I(r),p=u?s?M:M.filter((function(e){return I(e)===u})):A,l=p.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=p);var d=l.reduce((function(t,n){return t[n]=ie(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[V(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:u,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,E=!0,k=b[0],C=0;C=0,W=B?"width":"height",H=ie(t,{placement:U,boundary:u,rootBoundary:p,altBoundary:l,padding:c}),q=B?T?D:S:T?R:j;w[W]>x[W]&&(q=J(q));var N=J(q),F=[];if(i&&F.push(H[L]<=0),s&&F.push(H[q]<=0,H[N]<=0),F.every((function(e){return e}))){k=U,E=!1;break}O.set(U,F)}if(E)for(var _=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},z=h?3:1;z>0;z--){if("break"===_(z))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,f=n.boundary,c=n.rootBoundary,u=n.altBoundary,p=n.padding,l=n.tether,d=void 0===l||l,h=n.tetherOffset,m=void 0===h?0:h,v=ie(t,{boundary:f,rootBoundary:c,padding:p,altBoundary:u}),y=V(t.placement),g=I(t.placement),w=!g,x=q(y),O="x"===x?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,M=t.rects.popper,P="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C={x:0,y:0};if(E){if(i||s){var U="y"===x?j:S,L="y"===x?R:D,T="y"===x?"height":"width",B=E[x],W=E[x]+v[U],H=E[x]-v[L],N=d?-M[T]/2:0,F="start"===g?A[T]:M[T],$="start"===g?-M[T]:-A[T],X=t.elements.arrow,Y=d&&X?b(X):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0 +},J=G[U],K=G[L],Q=ae(0,A[T],Y[T]),Z=w?A[T]/2-N-Q-J-P:F-Q-J-P,ee=w?-A[T]/2+N+Q+K+P:$+Q+K+P,te=t.elements.arrow&&k(t.elements.arrow),ne=te?"y"===x?te.clientTop||0:te.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,oe=E[x]+Z-re-ne,se=E[x]+ee-re;if(i){var fe=ae(d?z(W,oe):W,B,d?_(H,se):H);E[x]=fe,C[x]=fe-B}if(s){var ce="x"===x?j:S,ue="x"===x?R:D,pe=E[O],le=pe+v[ce],de=pe-v[ue],he=ae(d?z(le,oe):le,pe,d?_(de,se):de);E[O]=he,C[O]=he-pe}}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=V(n.placement),f=q(s),c=[S,D].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return re("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:oe(e,A))}(o.padding,n),p=b(i),l="y"===f?j:S,d="y"===f?R:D,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],v=k(i),y=v?"y"===f?v.clientHeight||0:v.clientWidth||0:0,g=h/2-m/2,w=u[l],x=y-p[c]-u[d],O=y/2-p[c]/2+g,E=ae(w,O,x),M=f;n.modifiersData[r]=((t={})[M]=E,t.centerOffset=E-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Z(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ie(t,{elementContext:"reference"}),s=ie(t,{altBoundary:!0}),f=se(a,r),c=se(s,o,i),u=fe(f),p=fe(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}}]}),ue=n(61970),pe=n.n(ue),le=[],de=function(){},he=function(){return Promise.resolve(null)},me=[];function ve(e){var t=e.placement,n=void 0===t?"bottom":t,a=e.strategy,s=void 0===a?"absolute":a,f=e.modifiers,c=void 0===f?me:f,u=e.referenceElement,p=e.onFirstUpdate,l=e.innerRef,d=e.children,h=r.useContext(o.ManagerReferenceNodeContext),m=r.useState(null),v=m[0],y=m[1],g=r.useState(null),b=g[0],w=g[1];r.useEffect((function(){(0,i.setRef)(l,v)}),[l,v]);var x=r.useMemo((function(){return{placement:n,strategy:s,onFirstUpdate:p,modifiers:[].concat(c,[{name:"arrow",enabled:null!=b,options:{element:b}}])}}),[n,s,p,c,b]),O=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||le},s=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"}},attributes:{}}),f=s[0],c=s[1],u=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);c({styles:(0,i.fromEntries)(n.map((function(e){ +return[e,t.styles[e]||{}]}))),attributes:(0,i.fromEntries)(n.map((function(e){return[e,t.attributes[e]]})))})},requires:["computeStyles"]}}),[]),p=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return pe()(o.current,e)?o.current||e:(o.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),l=r.useRef();return(0,i.useIsomorphicLayoutEffect)((function(){l.current&&l.current.setOptions(p)}),[p]),(0,i.useIsomorphicLayoutEffect)((function(){if(null!=e&&null!=t){var r=(n.createPopper||ce)(e,t,p);return l.current=r,function(){r.destroy(),l.current=null}}}),[e,t,n.createPopper]),{state:l.current?l.current.state:null,styles:f.styles,attributes:f.attributes,update:l.current?l.current.update:null,forceUpdate:l.current?l.current.forceUpdate:null}}(u||h,v,x),E=O.state,k=O.styles,j=O.forceUpdate,R=O.update,D=r.useMemo((function(){return{ref:y,style:k.popper,placement:E?E.placement:n,hasPopperEscaped:E&&E.modifiersData.hide?E.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:E&&E.modifiersData.hide?E.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:k.arrow,ref:w},forceUpdate:j||de,update:R||he}}),[y,w,n,E,k,R,j]);return(0,i.unwrapArray)(d)(D)}},64118:(e,t,n)=>{"use strict";n.d(t,{Reference:()=>f});var r=n(59496),o=n(91190),i=n.n(o),a=n(2998),s=n(58949);function f(e){var t=e.children,n=e.innerRef,o=r.useContext(a.ManagerReferenceNodeSetterContext),f=r.useCallback((function(e){(0,s.setRef)(n,e),(0,s.safeInvoke)(o,e)}),[n,o]);return r.useEffect((function(){return function(){return(0,s.setRef)(n,null)}})),r.useEffect((function(){i()(Boolean(o),"`Reference` should not be used outside of a `Manager` component.")}),[o]),(0,s.unwrapArray)(t)({ref:f})}},58949:(e,t,n)=>{"use strict";n.d(t,{unwrapArray:()=>o,safeInvoke:()=>i,setRef:()=>a,fromEntries:()=>s,useIsomorphicLayoutEffect:()=>f});var r=n(59496),o=function(e){return Array.isArray(e)?e[0]:e},i=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{"use strict";var t=function(){};e.exports=t}}]); \ No newline at end of file diff --git a/charting_library/bundles/3016.47e1775fafc08b9df6b1.js b/charting_library/bundles/3016.47e1775fafc08b9df6b1.js deleted file mode 100644 index 24425fa1..00000000 --- a/charting_library/bundles/3016.47e1775fafc08b9df6b1.js +++ /dev/null @@ -1,4 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3016],{17683:t=>{t.exports={dialog:"dialog-Nh5Cqdeo",rounded:"rounded-Nh5Cqdeo",shadowed:"shadowed-Nh5Cqdeo",fullscreen:"fullscreen-Nh5Cqdeo",darker:"darker-Nh5Cqdeo",backdrop:"backdrop-Nh5Cqdeo"}},12114:t=>{t.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-hxnnZcZ6",dragging:"dragging-hxnnZcZ6",dialogAnimatedAppearance:"dialogAnimatedAppearance-hxnnZcZ6",dialogAnimation:"dialogAnimation-hxnnZcZ6",dialogTooltip:"dialogTooltip-hxnnZcZ6"}},95711:(t,e,i)=>{"use strict";i.d(e,{PopupContext:()=>s});const s=i(59496).createContext(null)},63016:(t,e,i)=>{"use strict";i.d(e,{PopupDialog:()=>w});var s=i(59496),o=i(97754),n=i(88537),a=i(50655),r=i(88216),l=i(90186),h=i(17683);class d extends s.PureComponent{constructor(){super(...arguments),this._manager=new r.OverlapManager,this._handleSlot=t=>{this._manager.setContainer(t)}}render(){const{rounded:t=!0,shadowed:e=!0,fullscreen:i=!1,darker:n=!1,className:r,backdrop:d}=this.props,c=o(r,h.dialog,t&&h.rounded,e&&h.shadowed,i&&h.fullscreen,n&&h.darker),u=(0,l.filterDataProps)(this.props),g=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return s.createElement(s.Fragment,null,s.createElement(a.SlotContext.Provider,{value:this._manager},d&&s.createElement("div",{onClick:this.props.onClickBackdrop,className:h.backdrop}),s.createElement("div",{...u,className:c,style:g,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:-1},this.props.children)),s.createElement(a.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:t,left:e,width:i,right:s,top:o,zIndex:n,height:a}=this.props;return{bottom:t,left:e,right:s,top:o,zIndex:n,maxWidth:i,height:a}}}var c=i(86431),u=i(76594),g=i(64514);function p(t,e,i,s){return t+e>s&&(t=s-e),t{if(0!==t.button||this._isTargetNoDraggable(t))return;t.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("mouseup",this._onMouseDragEnd);const e=_(m(t));this._dragStart(e)},this._onTouchDragStart=t=>{if(this._isTargetNoDraggable(t))return;this._canBeTouchClick=!0,t.preventDefault(),this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const e=_(f(t));this._dragStart(e)},this._onMouseDragEnd=t=>{t.target instanceof Node&&this._header.contains(t.target)&&t.preventDefault(),document.removeEventListener("mousemove",this._onMouseDragMove),document.removeEventListener("mouseup",this._onMouseDragEnd),this._onDragStop() -},this._onTouchDragEnd=t=>{this._header.removeEventListener("touchmove",this._onTouchDragMove),this._onDragStop(),this._canBeTouchClick&&(this._canBeTouchClick=!1,function(t){if(t instanceof SVGElement){const e=document.createEvent("SVGEvents");e.initEvent("click",!0,!0),t.dispatchEvent(e)}t instanceof HTMLElement&&t.click()}(t.target))},this._onMouseDragMove=t=>{const e=_(m(t));this._dragMove(e)},this._onTouchDragMove=t=>{this._canBeTouchClick=!1,t.preventDefault();const e=_(f(t));this._dragMove(e)},this._onDragStop=()=>{this._drag=null,this._header.classList.remove("dragging")},this._dialog=t,this._header=e,this._options=i,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}destroy(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)}updateOptions(t){this._options=t}_dragStart(t){const e=this._dialog.getBoundingClientRect();this._drag={startX:t.x,startY:t.y,finishX:t.x,finishY:t.y,dialogX:e.left,dialogY:e.top};const i=Math.round(e.left),s=Math.round(e.top);this._dialog.style.transform=`translate(${i}px, ${s}px)`,this._header.classList.add("dragging"),this._options.onDragStart&&this._options.onDragStart()}_dragMove(t){if(this._drag){if(this._drag.finishX=t.x,this._drag.finishY=t.y,null!==this._frame)return;this._frame=requestAnimationFrame(()=>{if(this._drag){const e=t.x-this._drag.startX,i=t.y-this._drag.startY;this._moveDialog(this._drag.dialogX+e,this._drag.dialogY+i)}this._frame=null})}}_moveDialog(t,e){const i=this._dialog.getBoundingClientRect(),{boundByScreen:s}=this._options,o=p(t,i.width,s?0:-1/0,s?window.innerWidth:1/0),n=p(e,i.height,s?0:-1/0,s?window.innerHeight:1/0);this._dialog.style.transform=`translate(${Math.round(o)}px, ${Math.round(n)}px)`}_isTargetNoDraggable(t){return t.target instanceof Element&&null!==t.target.closest("[data-disable-drag]")}}const y={vertical:0};class D{constructor(t,e){this._frame=null,this._isFullscreen=!1,this._handleResize=()=>{null===this._frame&&(this._frame=requestAnimationFrame(()=>{this.recalculateBounds(),this._frame=null}))},this._dialog=t,this._guard=e.guard||y,this._calculateDialogPosition=e.calculateDialogPosition,this._initialHeight=t.style.height,window.addEventListener("resize",this._handleResize)}updateOptions(t){this._guard=t.guard||y,this._calculateDialogPosition=t.calculateDialogPosition}setFullscreen(t){this._isFullscreen!==t&&(this._isFullscreen=t,this.recalculateBounds())}centerAndFit(){const{x:t,y:e}=this.getDialogsTopLeftCoordinates(),i=this._calcAvailableHeight(),s=this._calcDialogHeight();if(i===s)if(this._calculateDialogPosition){ -const{left:t,top:e}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`}else this._dialog.style.height=s+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${t}px, ${e}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:t,clientWidth:e}=document.documentElement,i=this._calcDialogHeight(),s=e/2-this._dialog.clientWidth/2,o=t/2-i/2;return{x:Math.round(s),y:Math.round(o)}}recalculateBounds(){const{clientHeight:t,clientWidth:e}=document.documentElement;if(this._isFullscreen)this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none";else{const{vertical:i}=this._guard;if(this._calculateDialogPosition){const s=this._calculateDialogPosition(this._dialog,{clientWidth:e,clientHeight:t},{vertical:i}),{left:o,top:n}=s;this._dialog.style.transform=`translate(${Math.round(o)}px, ${Math.round(n)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const s=this._dialog.getBoundingClientRect(),o=t-2*i,n=p(s.left,s.width,0,e),a=p(s.top,s.height,i,t);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(n)}px, ${Math.round(a)}px)`,this._dialog.style.height=o{const{reference:e}=this.props;this._dialog=t,"function"==typeof e&&e(t)},this._handleFocus=t=>{this._moveToTop()},this._handleMouseDown=t=>{this._moveToTop()},this._handleTouchStart=t=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return s.createElement(E.PopupContext.Provider,{value:this},s.createElement(u.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},t=>s.createElement("div",{ref:t,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart,"data-dialog-name":this.props["data-dialog-name"]},s.createElement(d,{style:this._applyAnimationCSSVariables(),...this.props,reference:this._handleDialogRef,className:o(T.dialog,this.props.className)},!1,this.props.children))))}componentDidMount(){const{draggable:t,boundByScreen:e,onDragStart:i}=this.props,s=(0,n.ensureNotNull)(this._dialog);if(t){const t=s.querySelector("[data-dragg-area]");t&&t instanceof HTMLElement&&(this._drag=new v(s,t,{boundByScreen:Boolean(e),onDragStart:i}))} -this.props.autofocus&&!s.contains(document.activeElement)&&s.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!0);const{guard:o,calculateDialogPosition:a}=this.props;this._resize=new D(s,{guard:o,calculateDialogPosition:a}),this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus&&s.focus()}componentDidUpdate(){if(this._resize){const{guard:t,calculateDialogPosition:e}=this.props;this._resize.updateOptions({guard:t,calculateDialogPosition:e}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){this._drag&&this._drag.destroy(),this._resize&&this._resize.destroy(),(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(t){if(this._resize&&this._dialog){const{x:e,y:i}=t,{x:s,y:o}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",e+"px"),this._dialog.style.setProperty("--animationTranslateStartY",i+"px"),this._dialog.style.setProperty("--animationTranslateEndX",s+"px"),this._dialog.style.setProperty("--animationTranslateEndY",o+"px"),this._dialog.classList.add(T.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}M.contextType=x.PortalContext,M.defaultProps={boundByScreen:!0,draggable:!0,centeredOnMount:!0};const w=(0,c.makeOverlapable)(M)},76594:(t,e,i)=>{"use strict";i.d(e,{OutsideEvent:()=>o});var s=i(58095);function o(t){const{children:e,...i}=t;return e((0,s.useOutsideEvent)(i))}},86431:(t,e,i)=>{"use strict";i.d(e,{makeOverlapable:()=>n});var s=i(59496),o=i(65718);function n(t){return class extends s.PureComponent{render(){const{isOpened:e,root:i}=this.props;if(!e)return null;const n=s.createElement(t,{...this.props,zIndex:150});return"parent"===i?n:s.createElement(o.Portal,null,n)}}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/3118.c14bad0abc6803f7cc64.css b/charting_library/bundles/3118.c14bad0abc6803f7cc64.css new file mode 100644 index 00000000..d125f533 --- /dev/null +++ b/charting_library/bundles/3118.c14bad0abc6803f7cc64.css @@ -0,0 +1 @@ +.tv-control-checkbox{-webkit-tap-highlight-color:transparent;cursor:pointer}.tv-control-checkbox--in-actions{max-width:50%}@media screen and (max-width:479px){.tv-control-checkbox--in-actions{max-width:none}}.tv-control-checkbox,.tv-control-checkbox__label{display:inline-block;position:relative;-webkit-user-select:none;user-select:none;vertical-align:middle}.tv-control-checkbox--nowrap,.tv-control-checkbox__label--nowrap{white-space:nowrap}.tv-control-checkbox__input{height:18px;left:0;opacity:0;position:absolute;top:0;width:18px}.tv-control-checkbox__box{border-radius:3px;box-sizing:border-box;display:block;height:18px;line-height:1;pointer-events:none;transition:background-color .35s ease;width:18px}.tv-control-checkbox__box:before{background-color:initial;border-radius:3px;left:50%;margin-left:-9px;margin-top:-9px;top:50%;transform:scale(1);transition:transform .35s ease,background-color .35s ease,border-radius .35s ease}.tv-control-checkbox__box:after,.tv-control-checkbox__box:before{content:"";display:block;height:18px;position:absolute;width:18px}.tv-control-checkbox__box:after{border:2px solid #758696;border-radius:3px;box-sizing:border-box;left:0;top:0;transition:border-color .35s ease}.tv-control-checkbox__box svg{stroke:#0000;display:block;height:12px;left:50%;margin-left:-6px;margin-top:-6px;position:absolute;top:50%;transform:scale(0);transition:stroke .35s ease 1ms,transform .35s ease 1ms;width:12px}.tv-control-checkbox__label{margin-right:10px;white-space:normal}.tv-control-checkbox__label--two-lines{width:155px}.tv-control-checkbox__label--nowrap{white-space:nowrap}.tv-control-checkbox__label--lil-line-height{line-height:16px;max-width:80%;min-width:45%}.tv-control-checkbox__label+.tv-control-checkbox{margin-left:0}.tv-control-checkbox+.tv-control-checkbox__label{margin-left:10px;margin-right:0;max-width:calc(100% - 1ex - 28px)}.tv-control-checkbox:active .tv-control-checkbox__box,.tv-control-checkbox__input:focus+.tv-control-checkbox__box{will-change:background-color}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__box{will-change:background-color}}.tv-control-checkbox:active .tv-control-checkbox__box:before,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:before{will-change:transform,border-radius}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__box:before{will-change:transform,border-radius}}.tv-control-checkbox:active .tv-control-checkbox__box:after,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:after{will-change:border-color}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__box:after{border-color:#627384;will-change:border-color}}.tv-control-checkbox:active .tv-control-checkbox__box:after,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input:focus+.tv-control-checkbox__box:after{border-color:#2962ff}.tv-control-checkbox__input:checked+.tv-control-checkbox__box,html.theme-dark .tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#2962ff}.tv-control-checkbox__input:checked+.tv-control-checkbox__box,.tv-control-checkbox__input:checked+.tv-control-checkbox__box:after,.tv-control-checkbox__input:checked+.tv-control-checkbox__box:before{transition-timing-function:cubic-bezier(.215,.61,.355,1)}.tv-control-checkbox__input:checked+.tv-control-checkbox__box:before{border-radius:50%;transform:scale(0)}.tv-control-checkbox__input:checked+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after{border-color:#2962ff}.tv-control-checkbox__input:checked+.tv-control-checkbox__box svg{stroke:#fff;transform:scale(1);transition-delay:.0875s;transition-timing-function:cubic-bezier(.215,.61,.355,1);will-change:stroke,transform}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#1e53e5}.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after{border-color:#1e53e5}}.tv-control-checkbox:active .tv-control-checkbox__input:checked+.tv-control-checkbox__box,.tv-control-checkbox__input:focus:checked+.tv-control-checkbox__box{background-color:#2962ff}.tv-control-checkbox:active .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after,.tv-control-checkbox__input:focus:checked+.tv-control-checkbox__box:after{border-color:#2962ff}.tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,.tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after,.tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,.tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#e0e3eb}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#e0e3eb}}html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-control-checkbox:hover .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#363a45}}.tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:before,.tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:before{background-color:#bbd9fb;transition:background-color .35s ease}html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:before,html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:before{background-color:#2a2e39}.tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box,.tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box{background-color:#dadde0}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box{background-color:#dadde0}}.tv-control-checkbox__ripple{border-radius:50%;display:block;height:100%;margin:-10px;-webkit-mask-image:radial-gradient(circle,#fff 100%,#000 0);mask-image:radial-gradient(circle,#fff 100%,#000 0);overflow:hidden;padding:10px;position:absolute;right:0;top:0;width:100%}.tv-control-checkbox__input:checked+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple{background-color:#2962ff40}.tv-control-checkbox__input[disabled]+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple,.tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple{background-color:initial}.tv-control-checkbox.i-error .tv-control-checkbox__box:after{border-color:#ff4a68}.tv-control-checkbox.i-disabled{cursor:default}.tv-dialog__section{border-bottom:1px solid #e0e3eb;padding:30px}html.theme-dark .tv-dialog__section{border-bottom-color:#363a45}.tv-dialog__section--last,.tv-dialog__section--no-border,.tv-dialog__section:last-child{border-bottom:none!important}@media screen and (max-width:767px){.tv-dialog__section{padding:20px}}.tv-dialog__section--no-padding_bottom{padding-bottom:0}.tv-dialog__section--actions{box-sizing:border-box;display:inline-block;padding-bottom:40px;text-align:right;white-space:nowrap;width:100%}.tv-dialog__section--actions_with-help:after{clear:both;content:"";display:table}.tv-dialog__section--actions_with-border{border-top:1px solid #e0e3eb;padding-top:29px}html.theme-dark .tv-dialog__section--actions_with-border{border-top-color:#363a45}@media screen and (max-width:767px){.tv-dialog__section--actions_with-border{padding:19px}}.tv-dialog__section--actions_multiline{padding-top:24px;white-space:normal}@media screen and (max-width:479px){.tv-dialog__section--actions_multiline{padding-top:20px}}.tv-dialog__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:24px;width:100%}@media screen and (max-width:479px){.tv-dialog__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:0}.tv-dialog__section--actions-adaptive{display:flex;flex-flow:column-reverse wrap}.tv-dialog__section--actions-adaptive .tv-button{margin-top:10px}.tv-dialog__section--actions-adaptive .tv-control-checkbox{order:1}.tv-dialog__section--actions-adaptive .tv-button:first-child,.tv-dialog__section--actions-adaptive .tv-button:last-child{margin-left:0}}.tv-dialog__section--title{padding-right:70px}.tv-dialog__section--one-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-dialog{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;box-sizing:border-box;display:inline-block;min-width:280px;position:relative;text-align:left;transition-property:none}html.theme-dark .tv-dialog{background-color:#1e222d;box-shadow:0 2px 4px #0006}.tv-dialog .tv-text p:last-child,.tv-dialog ul:last-child{margin-bottom:0}.tv-dialog--animated{transition:transform .2625s cubic-bezier(.215,.61,.355,1),opacity .2625s cubic-bezier(.215,.61,.355,1),box-shadow .2625s cubic-bezier(.215,.61,.355,1)}.tv-dialog.i-focused{box-shadow:0 1px 6px 1px rgba(0,0,0,.275)}.tv-dialog--signin{transition-delay:.2625s}.tv-dialog--signin.i-closing{transition-delay:1ms;transition-duration:.175s}.tv-dialog--signin,.tv-dialog--signin.i-focused{background-color:initial;box-shadow:none!important}html.theme-dark .tv-dialog--signin,html.theme-dark .tv-dialog--signin.i-focused{background-color:initial}.tv-dialog--popup{width:calc(100% - 20px)}.tv-dialog__modal-wrap,.tv-dialog__overlay{bottom:0;box-sizing:border-box;contain:layout style size;left:0;position:fixed;right:0;top:0;z-index:110}.tv-dialog__modal-wrap--contain-size,.tv-dialog__overlay--contain-size{contain:size}.tv-dialog__overlay{background-color:#9598a1;opacity:.5;transition:opacity .2625s cubic-bezier(.215,.61,.355,1)}html.theme-dark .tv-dialog__overlay{background-color:#0c0e15}.tv-dialog__overlay.i-closed{opacity:0;transition-duration:.175s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.tv-dialog__overlay--signin{background-color:#fff;opacity:1}html.theme-dark .tv-dialog__overlay--signin{background-color:#131722}.tv-dialog__overlay--signin.i-closing{transition-delay:.175s}.tv-dialog__modal-wrap{-webkit-overflow-scrolling:touch;overflow-x:hidden;overflow-y:auto}.tv-dialog__modal-wrap.i-closed .tv-dialog{opacity:0;transform:translateY(20px);transition-duration:.175s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.tv-dialog__modal-wrap.i-closed .tv-dialog--signin{transform:scale(.9)}.tv-dialog__modal-wrap.i-closed .tv-dialog--signin.i-closing{transform:scale(1.1)}.tv-dialog__modal-container{border:0;box-sizing:border-box;height:100%;margin:0;padding:0;text-align:center}.tv-dialog__modal-container--recovery-container{align-items:center;display:flex}.tv-dialog__modal-container--two-factor{max-width:340px;width:100%}.tv-dialog__modal-container:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-dialog__modal-body{box-sizing:border-box;display:inline-block;font-size:14px;padding:40px 20px;vertical-align:middle;width:100%}@media screen and (max-width:1019px){.tv-dialog__modal-body{padding:20px}}.tv-dialog__error{background:#fff;border:1px solid #f7525f;border-radius:3px 3px 0 0;box-sizing:border-box;color:#f7525f;left:0;padding:30px;position:absolute;right:0;top:0;transform-origin:top center;transition:transform .175s cubic-bezier(.215,.61,.355,1),opacity .175s cubic-bezier(.215,.61,.355,1);z-index:1}html.theme-dark .tv-dialog__error{background:#1e222d;border:1px solid #cc2f3c;color:#cc2f3c}.tv-dialog__error.i-slided{opacity:0;transform:translateY(-5px) scaleY(.85);transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.tv-dialog__error.i-fixed{margin:0 auto;position:fixed;top:10px}@media screen and (max-width:767px){.tv-dialog__error{padding:20px}}.tv-dialog__error a{color:#f7525f;text-decoration:underline;transition:color .35s ease}html.theme-dark .tv-dialog__error a{color:#cc2f3c}.tv-dialog__error a:visited{fill:#f7525f;color:#f7525f}html.theme-dark .tv-dialog__error a:visited{fill:#cc2f3c;color:#cc2f3c}@media (any-hover:hover){.tv-dialog__error a:hover{fill:#f23645;color:#f23645;transition-duration:.06s}html.theme-dark .tv-dialog__error a:hover{fill:#f23645;color:#f23645}}.tv-dialog__error a:focus{outline:auto}.tv-dialog__error a:focus:not(:-moz-focusring){outline:none}.tv-dialog__error a:-moz-focusring{outline:auto}.tv-dialog__error a:active{fill:#cc2f3c;color:#cc2f3c;transition-duration:.06s}html.theme-dark .tv-dialog__error a:active{fill:#f7525f;color:#f7525f}.tv-dialog__header{display:flex;padding-top:10px}@media screen and (max-width:479px){.tv-dialog__header--adaptive{flex-direction:column;text-align:center}}.tv-dialog__header-logo{flex:0 0 auto;margin-bottom:10px;margin-right:20px}.tv-dialog__header-logo svg{max-height:95px}.tv-dialog__header-title{flex:1 1 auto}.tv-dialog__grab{cursor:grab}.tv-dialog__grab:active,.ui-draggable-dragging .tv-dialog__grab{cursor:grabbing}.tv-dialog__title{color:#434651;font-size:14px;font-weight:700}html.theme-dark .tv-dialog__title{color:#d1d4dc}.tv-dialog__title--relative{position:relative}.tv-dialog__close{color:#434651;cursor:pointer;opacity:.5;padding:15px;position:absolute;right:15px;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tv-dialog__close{color:#d1d4dc}@media screen and (max-width:767px){.tv-dialog__close{right:7px;top:7px}}@media (any-hover:hover){.tv-dialog__close:hover{opacity:1;transition-duration:.06s}}.tv-dialog__close svg{display:block;height:13px;width:13px}.tv-dialog__close--new-style svg{fill:#4c525e;height:21px;width:21px}.tv-dialog__widetextarea{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-left:none;border-radius:2px;border-radius:0;border-right:none;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;height:auto;padding:25px 30px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-dialog__widetextarea{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-dialog__widetextarea::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-dialog__widetextarea::placeholder{color:#50535e}.tv-dialog__widetextarea:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-dialog__widetextarea--size_xsmall{height:19px}.tv-dialog__widetextarea--size_small{height:27px}.tv-dialog__widetextarea--size_large{font-size:16px;height:48px}.tv-dialog__widetextarea--connect{border-left:0;border-radius:0;border-right:0}.tv-dialog__widetextarea--connect_left{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-dialog__widetextarea--connect_right{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}@media (any-hover:hover){.tv-dialog__widetextarea:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-dialog__widetextarea:hover{border-color:#50535e}}.tv-dialog__widetextarea:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-dialog__widetextarea[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-dialog__widetextarea[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-dialog__widetextarea[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-dialog__widetextarea[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-dialog__widetextarea[readonly]:hover{border-color:#2a2e39!important}}.tv-dialog__widetextarea.i-disabled,.tv-dialog__widetextarea[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-dialog__widetextarea.i-disabled,html.theme-dark .tv-dialog__widetextarea[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-dialog__widetextarea.i-disabled::placeholder,.tv-dialog__widetextarea[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-dialog__widetextarea.i-disabled::placeholder,html.theme-dark .tv-dialog__widetextarea[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-dialog__widetextarea.i-disabled:hover,.tv-dialog__widetextarea[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-dialog__widetextarea.i-disabled:hover,html.theme-dark .tv-dialog__widetextarea[disabled]:hover{border-color:#2a2e39!important}}.tv-dialog__widetextarea.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-dialog__widetextarea.i-error:hover{border-color:#f24965!important}}.tv-dialog__widetextarea.i-error:focus{border-color:#ff173e!important}.tv-dialog__widetextarea.i-success{border-color:#089981!important}html.theme-dark .tv-dialog__widetextarea.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-dialog__widetextarea.i-success:hover,html.theme-dark .tv-dialog__widetextarea.i-success:hover{border-color:#06806b!important}}.tv-dialog__widetextarea.i-success:active,.tv-dialog__widetextarea.i-success:focus{border-color:#056656!important}html.theme-dark .tv-dialog__widetextarea.i-success:active,html.theme-dark .tv-dialog__widetextarea.i-success:focus{border-color:#089981!important}.tv-dialog__widetextarea--phone{direction:ltr;text-align:left}.tv-dialog__widetextarea--readonly_dark,.tv-dialog__widetextarea--readonly_dark[readonly],html.theme-dark .tv-dialog__widetextarea--readonly_dark,html.theme-dark .tv-dialog__widetextarea--readonly_dark[readonly]{color:#50535e}@media screen and (max-width:767px){.tv-dialog__widetextarea{padding:15px 20px}}.tv-dialog__expand-section{margin:0 -30px}@media screen and (max-width:767px){.tv-dialog__expand-section{margin:0 -20px}}.tv-dialog--popup{position:fixed}.tv-dialog--popup.i-closed{opacity:0;transform:scale(.925)}.tv-dialog__help{border:1px solid #787b86;border-radius:50%;color:#787b86;float:left;font-size:13px;height:18px;line-height:16px;margin-right:15px;position:relative;top:8px;transition:border-color .35s ease,color .35s ease;width:18px}html.theme-dark .tv-dialog__help{border-color:#787b86;color:#787b86}.tv-dialog__help:after{content:"?";display:inline-block;left:7px;position:absolute;top:2px}@media (any-hover:hover){.tv-dialog__help:hover{border:1px solid #434651;color:#212121;transition-duration:.06s}html.theme-dark .tv-dialog__help:hover{border-color:#d1d4dc}}.tv-dialog__username-pretext{margin-right:5px}.tv-dialog__chat-username-input{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;padding:0 12px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-dialog__chat-username-input{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-dialog__chat-username-input::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-dialog__chat-username-input::placeholder{color:#50535e}.tv-dialog__chat-username-input:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-dialog__chat-username-input--size_xsmall{height:19px}.tv-dialog__chat-username-input--size_small{height:27px}.tv-dialog__chat-username-input--size_large{font-size:16px;height:48px}.tv-dialog__chat-username-input--connect{border-left:0;border-radius:0;border-right:0}.tv-dialog__chat-username-input--connect_left{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-dialog__chat-username-input--connect_right{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}@media (any-hover:hover){.tv-dialog__chat-username-input:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-dialog__chat-username-input:hover{border-color:#50535e}}.tv-dialog__chat-username-input:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-dialog__chat-username-input[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-dialog__chat-username-input[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-dialog__chat-username-input[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-dialog__chat-username-input[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-dialog__chat-username-input[readonly]:hover{border-color:#2a2e39!important}}.tv-dialog__chat-username-input--readonly_dark,.tv-dialog__chat-username-input--readonly_dark[readonly],html.theme-dark .tv-dialog__chat-username-input--readonly_dark,html.theme-dark .tv-dialog__chat-username-input--readonly_dark[readonly]{color:#50535e}.tv-dialog__chat-username-input.i-disabled,.tv-dialog__chat-username-input[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-dialog__chat-username-input.i-disabled,html.theme-dark .tv-dialog__chat-username-input[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-dialog__chat-username-input.i-disabled::placeholder,.tv-dialog__chat-username-input[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-dialog__chat-username-input.i-disabled::placeholder,html.theme-dark .tv-dialog__chat-username-input[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-dialog__chat-username-input.i-disabled:hover,.tv-dialog__chat-username-input[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-dialog__chat-username-input.i-disabled:hover,html.theme-dark .tv-dialog__chat-username-input[disabled]:hover{border-color:#2a2e39!important}}.tv-dialog__chat-username-input.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-dialog__chat-username-input.i-error:hover{border-color:#f24965!important}}.tv-dialog__chat-username-input.i-error:focus{border-color:#ff173e!important}.tv-dialog__chat-username-input.i-success{border-color:#089981!important}html.theme-dark .tv-dialog__chat-username-input.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-dialog__chat-username-input.i-success:hover,html.theme-dark .tv-dialog__chat-username-input.i-success:hover{border-color:#06806b!important}}.tv-dialog__chat-username-input.i-success:active,.tv-dialog__chat-username-input.i-success:focus{border-color:#056656!important}html.theme-dark .tv-dialog__chat-username-input.i-success:active,html.theme-dark .tv-dialog__chat-username-input.i-success:focus{border-color:#089981!important}.tv-dialog__chat-username-input--phone{direction:ltr;text-align:left}.tv-dialog__chat-username-input.tv-dialog__chat-username-input{background-color:#fff;border-width:0;color:#434651;display:inline-block;height:15px;width:85%}html.theme-dark .tv-dialog__chat-username-input.tv-dialog__chat-username-input{background-color:#1e222d;color:#d1d4dc}.tv-dialog__chat-username-input--error{background-color:#f7525f}html.theme-dark .tv-dialog__chat-username-input--error{background-color:#cc2f3c}.tv-dialog__scroll-wrap{position:relative}.tv-dialog__scroll-wrap.i-scrollable{overflow:hidden}.feature-mobiletouch .tv-dialog__scroll-wrap.i-scrollable{overflow-x:hidden;overflow-y:scroll}.tv-dialog__scroll-wrap-inner{padding-bottom:0;position:relative}.tv-dialog__scroll-wrap.i-with-actions.i-scrollable .tv-dialog__scroll-wrap-inner{padding-bottom:30px}@media screen and (max-width:767px){.tv-dialog__scroll-wrap.i-with-actions.i-scrollable .tv-dialog__scroll-wrap-inner{padding-bottom:20px}}.tv-dialog__link{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-dialog__link{color:#2962ff}.tv-dialog__link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-dialog__link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-dialog__link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-dialog__link:hover{fill:#1e53e5;color:#1e53e5}}.tv-dialog__link:focus{outline:auto}.tv-dialog__link:focus:not(:-moz-focusring){outline:none}.tv-dialog__link:-moz-focusring{outline:auto}.tv-dialog__link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-dialog__link:active{fill:#1848cc;color:#1848cc}.i-hidden{display:none!important}.i-invisible{visibility:hidden!important}.i-clearfix:after{clear:both;content:"";display:table}.i-align_left{text-align:left!important}.i-align_right{text-align:right!important}.i-align_center{text-align:center!important}.i-float_left{float:left!important}.i-float_right{float:right!important}.i-float_none{float:none!important}@media screen and (min-width:1020px){.i-device-only{display:none!important}}@media screen and (max-width:1019px){.i-desktop-only{display:none!important}}@media screen and (min-width:479px){.i-phones-only{display:none!important}}@media screen and (max-width:479px){.i-except-phones-only{display:none!important}}.i-no-break{white-space:nowrap} \ No newline at end of file diff --git a/charting_library/bundles/3118.c14bad0abc6803f7cc64.rtl.css b/charting_library/bundles/3118.c14bad0abc6803f7cc64.rtl.css new file mode 100644 index 00000000..f2f6f9ec --- /dev/null +++ b/charting_library/bundles/3118.c14bad0abc6803f7cc64.rtl.css @@ -0,0 +1 @@ +.tv-control-checkbox{-webkit-tap-highlight-color:transparent;cursor:pointer}.tv-control-checkbox--in-actions{max-width:50%}@media screen and (max-width:479px){.tv-control-checkbox--in-actions{max-width:none}}.tv-control-checkbox,.tv-control-checkbox__label{display:inline-block;position:relative;-webkit-user-select:none;user-select:none;vertical-align:middle}.tv-control-checkbox--nowrap,.tv-control-checkbox__label--nowrap{white-space:nowrap}.tv-control-checkbox__input{height:18px;opacity:0;position:absolute;right:0;top:0;width:18px}.tv-control-checkbox__box{border-radius:3px;box-sizing:border-box;display:block;height:18px;line-height:1;pointer-events:none;transition:background-color .35s ease;width:18px}.tv-control-checkbox__box:before{background-color:initial;border-radius:3px;margin-right:-9px;margin-top:-9px;right:50%;top:50%;transform:scale(1);transition:transform .35s ease,background-color .35s ease,border-radius .35s ease}.tv-control-checkbox__box:after,.tv-control-checkbox__box:before{content:"";display:block;height:18px;position:absolute;width:18px}.tv-control-checkbox__box:after{border:2px solid #758696;border-radius:3px;box-sizing:border-box;right:0;top:0;transition:border-color .35s ease}.tv-control-checkbox__box svg{stroke:#0000;display:block;height:12px;margin-right:-6px;margin-top:-6px;position:absolute;right:50%;top:50%;transform:scale(0);transition:stroke .35s ease 1ms,transform .35s ease 1ms;width:12px}.tv-control-checkbox__label{margin-left:10px;white-space:normal}.tv-control-checkbox__label--two-lines{width:155px}.tv-control-checkbox__label--nowrap{white-space:nowrap}.tv-control-checkbox__label--lil-line-height{line-height:16px;max-width:80%;min-width:45%}.tv-control-checkbox__label+.tv-control-checkbox{margin-right:0}.tv-control-checkbox+.tv-control-checkbox__label{margin-left:0;margin-right:10px;max-width:calc(100% - 1ex - 28px)}.tv-control-checkbox:active .tv-control-checkbox__box,.tv-control-checkbox__input:focus+.tv-control-checkbox__box{will-change:background-color}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__box{will-change:background-color}}.tv-control-checkbox:active .tv-control-checkbox__box:before,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:before{will-change:transform,border-radius}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__box:before{will-change:transform,border-radius}}.tv-control-checkbox:active .tv-control-checkbox__box:after,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:after{will-change:border-color}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__box:after{border-color:#627384;will-change:border-color}}.tv-control-checkbox:active .tv-control-checkbox__box:after,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input:focus+.tv-control-checkbox__box:after{border-color:#2962ff}.tv-control-checkbox__input:checked+.tv-control-checkbox__box,html.theme-dark .tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#2962ff}.tv-control-checkbox__input:checked+.tv-control-checkbox__box,.tv-control-checkbox__input:checked+.tv-control-checkbox__box:after,.tv-control-checkbox__input:checked+.tv-control-checkbox__box:before{transition-timing-function:cubic-bezier(.215,.61,.355,1)}.tv-control-checkbox__input:checked+.tv-control-checkbox__box:before{border-radius:50%;transform:scale(0)}.tv-control-checkbox__input:checked+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after{border-color:#2962ff}.tv-control-checkbox__input:checked+.tv-control-checkbox__box svg{stroke:#fff;transform:scale(1);transition-delay:.0875s;transition-timing-function:cubic-bezier(.215,.61,.355,1);will-change:stroke,transform}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#1e53e5}.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after{border-color:#1e53e5}}.tv-control-checkbox:active .tv-control-checkbox__input:checked+.tv-control-checkbox__box,.tv-control-checkbox__input:focus:checked+.tv-control-checkbox__box{background-color:#2962ff}.tv-control-checkbox:active .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after,.tv-control-checkbox__input:focus:checked+.tv-control-checkbox__box:after{border-color:#2962ff}.tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,.tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after,.tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,.tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#e0e3eb}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#e0e3eb}}html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-control-checkbox:hover .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:after,html.theme-dark .tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:after{border-color:#363a45}}.tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:before,.tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:before{background-color:#bbd9fb;transition:background-color .35s ease}html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]+.tv-control-checkbox__box:before,html.theme-dark .tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box:before{background-color:#2a2e39}.tv-control-checkbox:active .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box,.tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box{background-color:#dadde0}@media (any-hover:hover){.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box{background-color:#dadde0}}.tv-control-checkbox__ripple{border-radius:50%;display:block;height:100%;left:0;margin:-10px;-webkit-mask-image:radial-gradient(circle,#fff 100%,#000 0);mask-image:radial-gradient(circle,#fff 100%,#000 0);overflow:hidden;padding:10px;position:absolute;top:0;width:100%}.tv-control-checkbox__input:checked+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple{background-color:#2962ff40}.tv-control-checkbox__input[disabled]+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple,.tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple{background-color:initial}.tv-control-checkbox.i-error .tv-control-checkbox__box:after{border-color:#ff4a68}.tv-control-checkbox.i-disabled{cursor:default}.tv-dialog__section{border-bottom:1px solid #e0e3eb;padding:30px}html.theme-dark .tv-dialog__section{border-bottom-color:#363a45}.tv-dialog__section--last,.tv-dialog__section--no-border,.tv-dialog__section:last-child{border-bottom:none!important}@media screen and (max-width:767px){.tv-dialog__section{padding:20px}}.tv-dialog__section--no-padding_bottom{padding-bottom:0}.tv-dialog__section--actions{box-sizing:border-box;display:inline-block;padding-bottom:40px;text-align:left;white-space:nowrap;width:100%}.tv-dialog__section--actions_with-help:after{clear:both;content:"";display:table}.tv-dialog__section--actions_with-border{border-top:1px solid #e0e3eb;padding-top:29px}html.theme-dark .tv-dialog__section--actions_with-border{border-top-color:#363a45}@media screen and (max-width:767px){.tv-dialog__section--actions_with-border{padding:19px}}.tv-dialog__section--actions_multiline{padding-top:24px;white-space:normal}@media screen and (max-width:479px){.tv-dialog__section--actions_multiline{padding-top:20px}}.tv-dialog__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:24px;width:100%}@media screen and (max-width:479px){.tv-dialog__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:0}.tv-dialog__section--actions-adaptive{display:flex;flex-flow:column-reverse wrap}.tv-dialog__section--actions-adaptive .tv-button{margin-top:10px}.tv-dialog__section--actions-adaptive .tv-control-checkbox{order:1}.tv-dialog__section--actions-adaptive .tv-button:first-child,.tv-dialog__section--actions-adaptive .tv-button:last-child{margin-right:0}}.tv-dialog__section--title{padding-left:70px}.tv-dialog__section--one-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-dialog{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;box-sizing:border-box;display:inline-block;min-width:280px;position:relative;text-align:right;transition-property:none}html.theme-dark .tv-dialog{background-color:#1e222d;box-shadow:0 2px 4px #0006}.tv-dialog .tv-text p:last-child,.tv-dialog ul:last-child{margin-bottom:0}.tv-dialog--animated{transition:transform .2625s cubic-bezier(.215,.61,.355,1),opacity .2625s cubic-bezier(.215,.61,.355,1),box-shadow .2625s cubic-bezier(.215,.61,.355,1)}.tv-dialog.i-focused{box-shadow:0 1px 6px 1px rgba(0,0,0,.275)}.tv-dialog--signin{transition-delay:.2625s}.tv-dialog--signin.i-closing{transition-delay:1ms;transition-duration:.175s}.tv-dialog--signin,.tv-dialog--signin.i-focused{background-color:initial;box-shadow:none!important}html.theme-dark .tv-dialog--signin,html.theme-dark .tv-dialog--signin.i-focused{background-color:initial}.tv-dialog--popup{width:calc(100% - 20px)}.tv-dialog__modal-wrap,.tv-dialog__overlay{bottom:0;box-sizing:border-box;contain:layout style size;left:0;position:fixed;right:0;top:0;z-index:110}.tv-dialog__modal-wrap--contain-size,.tv-dialog__overlay--contain-size{contain:size}.tv-dialog__overlay{background-color:#9598a1;opacity:.5;transition:opacity .2625s cubic-bezier(.215,.61,.355,1)}html.theme-dark .tv-dialog__overlay{background-color:#0c0e15}.tv-dialog__overlay.i-closed{opacity:0;transition-duration:.175s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.tv-dialog__overlay--signin{background-color:#fff;opacity:1}html.theme-dark .tv-dialog__overlay--signin{background-color:#131722}.tv-dialog__overlay--signin.i-closing{transition-delay:.175s}.tv-dialog__modal-wrap{-webkit-overflow-scrolling:touch;overflow-x:hidden;overflow-y:auto}.tv-dialog__modal-wrap.i-closed .tv-dialog{opacity:0;transform:translateY(20px);transition-duration:.175s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.tv-dialog__modal-wrap.i-closed .tv-dialog--signin{transform:scale(.9)}.tv-dialog__modal-wrap.i-closed .tv-dialog--signin.i-closing{transform:scale(1.1)}.tv-dialog__modal-container{border:0;box-sizing:border-box;height:100%;margin:0;padding:0;text-align:center}.tv-dialog__modal-container--recovery-container{align-items:center;display:flex}.tv-dialog__modal-container--two-factor{max-width:340px;width:100%}.tv-dialog__modal-container:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-dialog__modal-body{box-sizing:border-box;display:inline-block;font-size:14px;padding:40px 20px;vertical-align:middle;width:100%}@media screen and (max-width:1019px){.tv-dialog__modal-body{padding:20px}}.tv-dialog__error{background:#fff;border:1px solid #f7525f;border-radius:3px 3px 0 0;box-sizing:border-box;color:#f7525f;left:0;padding:30px;position:absolute;right:0;top:0;transform-origin:top center;transition:transform .175s cubic-bezier(.215,.61,.355,1),opacity .175s cubic-bezier(.215,.61,.355,1);z-index:1}html.theme-dark .tv-dialog__error{background:#1e222d;border:1px solid #cc2f3c;color:#cc2f3c}.tv-dialog__error.i-slided{opacity:0;transform:translateY(-5px) scaleY(.85);transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.tv-dialog__error.i-fixed{margin:0 auto;position:fixed;top:10px}@media screen and (max-width:767px){.tv-dialog__error{padding:20px}}.tv-dialog__error a{color:#f7525f;text-decoration:underline;transition:color .35s ease}html.theme-dark .tv-dialog__error a{color:#cc2f3c}.tv-dialog__error a:visited{fill:#f7525f;color:#f7525f}html.theme-dark .tv-dialog__error a:visited{fill:#cc2f3c;color:#cc2f3c}@media (any-hover:hover){.tv-dialog__error a:hover{fill:#f23645;color:#f23645;transition-duration:.06s}html.theme-dark .tv-dialog__error a:hover{fill:#f23645;color:#f23645}}.tv-dialog__error a:focus{outline:auto}.tv-dialog__error a:focus:not(:-moz-focusring){outline:none}.tv-dialog__error a:-moz-focusring{outline:auto}.tv-dialog__error a:active{fill:#cc2f3c;color:#cc2f3c;transition-duration:.06s}html.theme-dark .tv-dialog__error a:active{fill:#f7525f;color:#f7525f}.tv-dialog__header{display:flex;padding-top:10px}@media screen and (max-width:479px){.tv-dialog__header--adaptive{flex-direction:column;text-align:center}}.tv-dialog__header-logo{flex:0 0 auto;margin-bottom:10px;margin-left:20px}.tv-dialog__header-logo svg{max-height:95px}.tv-dialog__header-title{flex:1 1 auto}.tv-dialog__grab{cursor:grab}.tv-dialog__grab:active,.ui-draggable-dragging .tv-dialog__grab{cursor:grabbing}.tv-dialog__title{color:#434651;font-size:14px;font-weight:700}html.theme-dark .tv-dialog__title{color:#d1d4dc}.tv-dialog__title--relative{position:relative}.tv-dialog__close{color:#434651;cursor:pointer;left:15px;opacity:.5;padding:15px;position:absolute;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tv-dialog__close{color:#d1d4dc}@media screen and (max-width:767px){.tv-dialog__close{left:7px;top:7px}}@media (any-hover:hover){.tv-dialog__close:hover{opacity:1;transition-duration:.06s}}.tv-dialog__close svg{display:block;height:13px;width:13px}.tv-dialog__close--new-style svg{fill:#4c525e;height:21px;width:21px}.tv-dialog__widetextarea{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-left:none;border-radius:2px;border-radius:0;border-right:none;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;height:auto;padding:25px 30px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-dialog__widetextarea{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-dialog__widetextarea::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-dialog__widetextarea::placeholder{color:#50535e}.tv-dialog__widetextarea:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-dialog__widetextarea--size_xsmall{height:19px}.tv-dialog__widetextarea--size_small{height:27px}.tv-dialog__widetextarea--size_large{font-size:16px;height:48px}.tv-dialog__widetextarea--connect{border-left:0;border-radius:0;border-right:0}.tv-dialog__widetextarea--connect_left{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.tv-dialog__widetextarea--connect_right{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-dialog__widetextarea--connect_right#id_username{direction:ltr;text-align:right}@media (any-hover:hover){.tv-dialog__widetextarea:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-dialog__widetextarea:hover{border-color:#50535e}}.tv-dialog__widetextarea:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-dialog__widetextarea[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-dialog__widetextarea[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-dialog__widetextarea[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-dialog__widetextarea[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-dialog__widetextarea[readonly]:hover{border-color:#2a2e39!important}}.tv-dialog__widetextarea.i-disabled,.tv-dialog__widetextarea[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-dialog__widetextarea.i-disabled,html.theme-dark .tv-dialog__widetextarea[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-dialog__widetextarea.i-disabled::placeholder,.tv-dialog__widetextarea[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-dialog__widetextarea.i-disabled::placeholder,html.theme-dark .tv-dialog__widetextarea[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-dialog__widetextarea.i-disabled:hover,.tv-dialog__widetextarea[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-dialog__widetextarea.i-disabled:hover,html.theme-dark .tv-dialog__widetextarea[disabled]:hover{border-color:#2a2e39!important}}.tv-dialog__widetextarea.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-dialog__widetextarea.i-error:hover{border-color:#f24965!important}}.tv-dialog__widetextarea.i-error:focus{border-color:#ff173e!important}.tv-dialog__widetextarea.i-success{border-color:#089981!important}html.theme-dark .tv-dialog__widetextarea.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-dialog__widetextarea.i-success:hover,html.theme-dark .tv-dialog__widetextarea.i-success:hover{border-color:#06806b!important}}.tv-dialog__widetextarea.i-success:active,.tv-dialog__widetextarea.i-success:focus{border-color:#056656!important}html.theme-dark .tv-dialog__widetextarea.i-success:active,html.theme-dark .tv-dialog__widetextarea.i-success:focus{border-color:#089981!important}.tv-dialog__widetextarea--phone{direction:ltr;text-align:right}.tv-dialog__widetextarea--readonly_dark,.tv-dialog__widetextarea--readonly_dark[readonly],html.theme-dark .tv-dialog__widetextarea--readonly_dark,html.theme-dark .tv-dialog__widetextarea--readonly_dark[readonly]{color:#50535e}@media screen and (max-width:767px){.tv-dialog__widetextarea{padding:15px 20px}}.tv-dialog__expand-section{margin:0 -30px}@media screen and (max-width:767px){.tv-dialog__expand-section{margin:0 -20px}}.tv-dialog--popup{position:fixed}.tv-dialog--popup.i-closed{opacity:0;transform:scale(.925)}.tv-dialog__help{border:1px solid #787b86;border-radius:50%;color:#787b86;float:right;font-size:13px;height:18px;line-height:16px;margin-left:15px;position:relative;top:8px;transition:border-color .35s ease,color .35s ease;width:18px}html.theme-dark .tv-dialog__help{border-color:#787b86;color:#787b86}.tv-dialog__help:after{content:"?";display:inline-block;position:absolute;right:7px;top:2px}@media (any-hover:hover){.tv-dialog__help:hover{border:1px solid #434651;color:#212121;transition-duration:.06s}html.theme-dark .tv-dialog__help:hover{border-color:#d1d4dc}}.tv-dialog__username-pretext{margin-left:5px}.tv-dialog__chat-username-input{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;padding:0 12px;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-dialog__chat-username-input{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-dialog__chat-username-input::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-dialog__chat-username-input::placeholder{color:#50535e}.tv-dialog__chat-username-input:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-dialog__chat-username-input--size_xsmall{height:19px}.tv-dialog__chat-username-input--size_small{height:27px}.tv-dialog__chat-username-input--size_large{font-size:16px;height:48px}.tv-dialog__chat-username-input--connect{border-left:0;border-radius:0;border-right:0}.tv-dialog__chat-username-input--connect_left{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.tv-dialog__chat-username-input--connect_right{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-dialog__chat-username-input--connect_right#id_username{direction:ltr;text-align:right}@media (any-hover:hover){.tv-dialog__chat-username-input:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-dialog__chat-username-input:hover{border-color:#50535e}}.tv-dialog__chat-username-input:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-dialog__chat-username-input[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-dialog__chat-username-input[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-dialog__chat-username-input[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-dialog__chat-username-input[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-dialog__chat-username-input[readonly]:hover{border-color:#2a2e39!important}}.tv-dialog__chat-username-input--readonly_dark,.tv-dialog__chat-username-input--readonly_dark[readonly],html.theme-dark .tv-dialog__chat-username-input--readonly_dark,html.theme-dark .tv-dialog__chat-username-input--readonly_dark[readonly]{color:#50535e}.tv-dialog__chat-username-input.i-disabled,.tv-dialog__chat-username-input[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-dialog__chat-username-input.i-disabled,html.theme-dark .tv-dialog__chat-username-input[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-dialog__chat-username-input.i-disabled::placeholder,.tv-dialog__chat-username-input[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-dialog__chat-username-input.i-disabled::placeholder,html.theme-dark .tv-dialog__chat-username-input[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-dialog__chat-username-input.i-disabled:hover,.tv-dialog__chat-username-input[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-dialog__chat-username-input.i-disabled:hover,html.theme-dark .tv-dialog__chat-username-input[disabled]:hover{border-color:#2a2e39!important}}.tv-dialog__chat-username-input.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-dialog__chat-username-input.i-error:hover{border-color:#f24965!important}}.tv-dialog__chat-username-input.i-error:focus{border-color:#ff173e!important}.tv-dialog__chat-username-input.i-success{border-color:#089981!important}html.theme-dark .tv-dialog__chat-username-input.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-dialog__chat-username-input.i-success:hover,html.theme-dark .tv-dialog__chat-username-input.i-success:hover{border-color:#06806b!important}}.tv-dialog__chat-username-input.i-success:active,.tv-dialog__chat-username-input.i-success:focus{border-color:#056656!important}html.theme-dark .tv-dialog__chat-username-input.i-success:active,html.theme-dark .tv-dialog__chat-username-input.i-success:focus{border-color:#089981!important}.tv-dialog__chat-username-input--phone{direction:ltr;text-align:right}.tv-dialog__chat-username-input.tv-dialog__chat-username-input{background-color:#fff;border-width:0;color:#434651;display:inline-block;height:15px;width:85%}html.theme-dark .tv-dialog__chat-username-input.tv-dialog__chat-username-input{background-color:#1e222d;color:#d1d4dc}.tv-dialog__chat-username-input--error{background-color:#f7525f}html.theme-dark .tv-dialog__chat-username-input--error{background-color:#cc2f3c}.tv-dialog__scroll-wrap{position:relative}.tv-dialog__scroll-wrap.i-scrollable{overflow:hidden}.feature-mobiletouch .tv-dialog__scroll-wrap.i-scrollable{overflow-x:hidden;overflow-y:scroll}.tv-dialog__scroll-wrap-inner{padding-bottom:0;position:relative}.tv-dialog__scroll-wrap.i-with-actions.i-scrollable .tv-dialog__scroll-wrap-inner{padding-bottom:30px}@media screen and (max-width:767px){.tv-dialog__scroll-wrap.i-with-actions.i-scrollable .tv-dialog__scroll-wrap-inner{padding-bottom:20px}}.tv-dialog__link{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-dialog__link{color:#2962ff}.tv-dialog__link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-dialog__link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-dialog__link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-dialog__link:hover{fill:#1e53e5;color:#1e53e5}}.tv-dialog__link:focus{outline:auto}.tv-dialog__link:focus:not(:-moz-focusring){outline:none}.tv-dialog__link:-moz-focusring{outline:auto}.tv-dialog__link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-dialog__link:active{fill:#1848cc;color:#1848cc}.i-hidden{display:none!important}.i-invisible{visibility:hidden!important}.i-clearfix:after{clear:both;content:"";display:table}.i-align_left{text-align:right!important}.i-align_right{text-align:left!important}.i-align_center{text-align:center!important}.i-float_left{float:right!important}.i-float_right{float:left!important}.i-float_none{float:none!important}@media screen and (min-width:1020px){.i-device-only{display:none!important}}@media screen and (max-width:1019px){.i-desktop-only{display:none!important}}@media screen and (min-width:479px){.i-phones-only{display:none!important}}@media screen and (max-width:479px){.i-except-phones-only{display:none!important}}.i-no-break{white-space:nowrap} \ No newline at end of file diff --git a/charting_library/bundles/3199.f9bb1cc19bce0ed4e13a.js b/charting_library/bundles/3199.f9bb1cc19bce0ed4e13a.js deleted file mode 100644 index 518089f4..00000000 --- a/charting_library/bundles/3199.f9bb1cc19bce0ed4e13a.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3199],{83199:(t,e,r)=>{r.d(e,{FixedSizeList:()=>x,VariableSizeList:()=>z});var n=r(19624),o=r(11430);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,o.default)(t,e)}var a=r(75542),l=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function s(t,e){if(t.length!==e.length)return!1;for(var r=0;r=e?t.call(null):n.id=requestAnimationFrame(o)}))};return n}var m=null;function p(t){if(void 0===t&&(t=!1),null===m||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?m="positive-descending":(e.scrollLeft=1,m=0===e.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(e),m}return m}var v=function(t,e){return t};function g(t){var e,r,o=t.getItemOffset,l=t.getEstimatedTotalSize,s=t.getItemSize,f=t.getOffsetForIndexAndAlignment,m=t.getStartIndexForOffset,g=t.getStopIndexForStartIndex,I=t.initInstanceProps,_=t.shouldResetStyleCacheOnItemSizeChange,M=t.validateProps;return r=e=function(t){function e(e){var r;return(r=t.call(this,e)||this)._instanceProps=I(r.props,(0,a.default)((0,a.default)(r))),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:(0,a.default)((0,a.default)(r)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=c((function(t,e,n,o){return r.props.onItemsRendered({overscanStartIndex:t,overscanStopIndex:e,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=c((function(t,e,n){return r.props.onScroll({scrollDirection:t,scrollOffset:e,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(t){var e,n=r.props,i=n.direction,a=n.itemSize,l=n.layout,c=r._getItemStyleCache(_&&a,_&&l,_&&i);if(c.hasOwnProperty(t))e=c[t];else{var u=o(r.props,t,r._instanceProps),f=s(r.props,t,r._instanceProps),d="horizontal"===i||"horizontal"===l,h="rtl"===i,m=d?u:0;c[t]=e={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:d?0:u,height:d?"100%":f,width:d?f:"100%"}}return e},r._getItemStyleCache=void 0,r._getItemStyleCache=c((function(t,e,r){return{}})),r._onScrollHorizontal=function(t){ -var e=t.currentTarget,n=e.clientWidth,o=e.scrollLeft,i=e.scrollWidth;r.setState((function(t){if(t.scrollOffset===o)return null;var e=r.props.direction,a=o;if("rtl"===e)switch(p()){case"negative":a=-o;break;case"positive-descending":a=i-n-o}return a=Math.max(0,Math.min(a,i-n)),{isScrolling:!0,scrollDirection:t.scrollOffset0)for(var b=w;b<=C;b++)R.push((0, -u.createElement)(e,{data:d,key:m(b,d),index:b,isScrolling:_?y:void 0,style:this._getItemStyle(b)}));var T=l(this.props,this._instanceProps);return(0,u.createElement)(g||S||"div",{className:r,onScroll:x,ref:this._outerRefSetter,style:(0,n.default)({position:"relative",height:i,width:M,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},I)},(0,u.createElement)(s||c||"div",{children:R,ref:a,style:{height:z?"100%":T,pointerEvents:y?"none":void 0,width:z?T:"100%"}}))},r._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var t=this._getRangeToRender(),e=t[0],r=t[1],n=t[2],o=t[3];this._callOnItemsRendered(e,r,n,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},r._getRangeToRender=function(){var t=this.props,e=t.itemCount,r=t.overscanCount,n=this.state,o=n.isScrolling,i=n.scrollDirection,a=n.scrollOffset;if(0===e)return[0,0,0,0];var l=m(this.props,a,this._instanceProps),s=g(this.props,l,a,this._instanceProps),c=o&&"backward"!==i?1:Math.max(1,r),u=o&&"forward"!==i?1:Math.max(1,r);return[Math.max(0,l-c),Math.max(0,Math.min(e-1,s+u)),l,s]},e}(u.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var S=function(t,e){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,e.instance},I=function(t,e,r){var n=t.itemSize,o=r.itemMetadataMap,i=r.lastMeasuredIndex;if(e>i){var a=0;if(i>=0){var l=o[i];a=l.offset+l.size}for(var s=i+1;s<=e;s++){var c=n(s);o[s]={offset:a,size:c},a+=c}r.lastMeasuredIndex=e}return o[e]},_=function(t,e,r,n,o){for(;n<=r;){var i=n+Math.floor((r-n)/2),a=I(t,i,e).offset;if(a===o)return i;ao&&(r=i-1)}return n>0?n-1:0},M=function(t,e,r,n){for(var o=t.itemCount,i=1;r=r&&(i=r-1),i>=0){var l=n[i];a=l.offset+l.size}return a+(r-i-1)*o},z=g({getItemOffset:function(t,e,r){return I(t,e,r).offset},getItemSize:function(t,e,r){return r.itemMetadataMap[e].size},getEstimatedTotalSize:y,getOffsetForIndexAndAlignment:function(t,e,r,n,o){var i=t.direction,a=t.height,l=t.layout,s=t.width,c="horizontal"===i||"horizontal"===l?s:a,u=I(t,e,o),f=y(t,o),d=Math.max(0,Math.min(f-c,u.offset)),h=Math.max(0,u.offset-c+u.size);switch("smart"===r&&(r=n>=h-c&&n<=d+c?"auto":"center"),r){case"start":return d;case"end":return h;case"center":return Math.round(h+(d-h)/2);case"auto":default:return n>=h&&n<=d?n:n0?n[o].offset:0)>=r?_(t,e,o,0,r):M(t,e,Math.max(0,o),r)}(t,r,e)},getStopIndexForStartIndex:function(t,e,r,n){ -for(var o=t.direction,i=t.height,a=t.itemCount,l=t.layout,s=t.width,c="horizontal"===o||"horizontal"===l?s:i,u=I(t,e,n),f=r+c,d=u.offset+u.size,h=e;h=h-u&&n<=d+u?"auto":"center"),r){case"start":return d;case"end":return h;case"center":var m=Math.round(h+(d-h)/2);return mf+Math.floor(u/2)?f:m;case"auto":default:return n>=h&&n<=d?n:n \ No newline at end of file diff --git a/charting_library/bundles/3245.428fb1c689b8d7beb80e.js b/charting_library/bundles/3245.428fb1c689b8d7beb80e.js new file mode 100644 index 00000000..cc79ab50 --- /dev/null +++ b/charting_library/bundles/3245.428fb1c689b8d7beb80e.js @@ -0,0 +1,9 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3245],{67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},89185:e=>{e.exports={itemRow:"itemRow-9Sl1Rwzy",favoriteButton:"favoriteButton-9Sl1Rwzy",active:"active-9Sl1Rwzy",selected:"selected-9Sl1Rwzy",mobile:"mobile-9Sl1Rwzy",itemInfo:"itemInfo-9Sl1Rwzy",title:"title-9Sl1Rwzy",details:"details-9Sl1Rwzy",itemInfoWithPadding:"itemInfoWithPadding-9Sl1Rwzy",favorite:"favorite-9Sl1Rwzy",removeButton:"removeButton-9Sl1Rwzy"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},97623:e=>{e.exports={scrollWrap:"scrollWrap-9M00JHkT"}},62230:e=>{e.exports={wrap:"wrap-Shy8LdqT","wrap--horizontal":"wrap--horizontal-Shy8LdqT",bar:"bar-Shy8LdqT",barInner:"barInner-Shy8LdqT","barInner--horizontal":"barInner--horizontal-Shy8LdqT","bar--horizontal":"bar--horizontal-Shy8LdqT"}},16059:e=>{e.exports={menuWrap:"menuWrap-8MKeZifP",isMeasuring:"isMeasuring-8MKeZifP",scrollWrap:"scrollWrap-8MKeZifP",momentumBased:"momentumBased-8MKeZifP",menuBox:"menuBox-8MKeZifP",isHidden:"isHidden-8MKeZifP"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>o});var r=n(59496);const o=r.forwardRef((e,t)=>{const{icon:n="",...o}=e;return r.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:n}})})},39640:(e,t,n)=>{"use strict";function r(e,t,n,r,o){function s(o){if(e>o.timeStamp)return;const s=o.target;void 0!==n&&null!==t&&null!==s&&s.ownerDocument===r&&(t.contains(s)||n(o))}return o.click&&r.addEventListener("click",s,!1),o.mouseDown&&r.addEventListener("mousedown",s,!1),o.touchEnd&&r.addEventListener("touchend",s,!1),o.touchStart&&r.addEventListener("touchstart",s,!1),()=>{r.removeEventListener("click",s,!1),r.removeEventListener("mousedown",s,!1),r.removeEventListener("touchend",s,!1),r.removeEventListener("touchstart",s,!1)}}n.d(t,{addOutsideEventListener:()=>r})},68722:(e,t,n)=>{"use strict";n.d(t,{getScrollbarWidth:()=>r,matchMediaMinMax:()=>o,setStyle:()=>s,getCSSProperty:()=>i,getCSSPropertyNumericValue:()=>l});const r=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),r=n.style;r.visibility="hidden",r.width="100px",r.msOverflowStyle="scrollbar",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const i=s.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=o-i}return e}})();function o(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function s(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function l(e,t){return parseInt(i(e,t))}},43989:(e,t,n)=>{"use strict";n.d(t,{ +setFixedBodyState:()=>i});var r=n(68722);let o=0,s=!1;function i(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++o){const e=(0,r.getCSSProperty)(t,"overflow"),o=(0,r.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,r.setStyle)(n,"right",(0,r.getScrollbarWidth)()+"px"),t.style.paddingRight=o+(0,r.getScrollbarWidth)()+"px",s=!0),t.classList.add("i-no-scroll")}else if(!e&&o>0&&0==--o&&(t.classList.remove("i-no-scroll"),s)){(0,r.setStyle)(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,r.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",s=!1}}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>b});var r=n(59496),o=n(88537);var s=n(97754),i=n.n(s),l=n(68335),a=n(35749),c=n(81e3),u=n(1109),d=n(24437),h=n(90692),p=n(95711),m=n(52092),f=n(76422),v=n(9745);const g=r.createContext({setHideClose:()=>{}});var _=n(37257),C=n(91441);function E(e){const{title:t,subtitle:n,showCloseIcon:o=!0,onClose:s,renderBefore:l,renderAfter:a,draggable:c,className:u,unsetAlign:d}=e,[h,p]=(0,r.useState)(!1);return r.createElement(g.Provider,{value:{setHideClose:p}},r.createElement("div",{className:i()(C.container,u,(n||d)&&C.unsetAlign)},l,r.createElement("div",{"data-dragg-area":c,className:C.title},r.createElement("div",{className:C.ellipsis},t),n&&r.createElement("div",{className:i()(C.ellipsis,C.subtitle)},n)),a,o&&!h&&r.createElement(v.Icon,{className:C.close,icon:_,onClick:s,"data-name":"close","data-role":"button"})))}var w=n(67179);const y={vertical:20},S={vertical:0};class b extends r.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(d.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,l.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,r=(0,o.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,a.isTextEditingField)(n))return void r.focus();if(r.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;f.subscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(), +void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;f.unsubscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:o,title:s,dataName:l,onClickOutside:a,additionalElementPos:m,additionalHeaderElement:f,backdrop:v,shouldForceFocus:g=!0,showSeparator:_,subtitle:C,draggable:b=!0,fullScreen:x=!1,showCloseIcon:M=!0,rounded:N=!0,isAnimationEnabled:O,growPoint:P,dialogTooltip:D,unsetHeaderAlign:R,onDragStart:W,dataDialogName:z}=this.props,L="after"!==m?f:void 0,T="after"===m?f:void 0,k="string"==typeof s?s:z||"";return r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.SmallHeight},m=>r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},d=>r.createElement(c.PopupDialog,{rounded:!(d||x)&&N,className:i()(w.dialog,e),isOpened:o,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:a,onClickBackdrop:a,fullscreen:d||x,guard:m?S:y,boundByScreen:d||x,shouldForceFocus:g,backdrop:v,draggable:b,isAnimationEnabled:O,growPoint:P,name:this.props.dataName,dialogTooltip:D,onDragStart:W},r.createElement("div",{className:i()(w.wrapper,t),"data-name":l,"data-dialog-name":k},void 0!==s&&r.createElement(E,{draggable:b&&!(d||x),onClose:this._handleClose,renderAfter:T,renderBefore:L,subtitle:C,title:s,showCloseIcon:M,className:n,unsetAlign:R}),_&&r.createElement(u.Separator,{className:w.separator}),r.createElement(p.PopupContext.Consumer,null,e=>this._renderChildren(e,d||x))))))}}},64530:(e,t,n)=>{"use strict";n.d(t,{DialogContentItem:()=>d});var r=n(59496),o=n(97754),s=n.n(o),i=n(49483),l=n(36189),a=n(96040);function c(e){const{url:t,...n}=e;return t?r.createElement("a",{...n,href:t}):r.createElement("div",{...n})}var u=n(89185);function d(e){const{title:t,subtitle:n,removeBtnLabel:o,onClick:d,onClickFavorite:p,onClickRemove:m,isActive:f,isSelected:v,isFavorite:g,isMobile:_=!1,showFavorite:C=!0,...E}=e;return r.createElement(c,{...E,className:s()(u.itemRow,f&&!v&&u.active,_&&u.mobile,v&&u.selected),onClick:h.bind(null,d),"data-role":"list-item","data-active":f},C&&p&&r.createElement(l.FavoriteButton,{className:s()(u.favoriteButton,g&&u.favorite,i.CheckMobile.any()&&u.mobile),isActive:f&&!v,isFilled:g,onClick:h.bind(null,p),"data-name":"list-item-favorite-button","data-favorite":g}),r.createElement("div",{className:s()(u.itemInfo,!C&&u.itemInfoWithPadding)},r.createElement("div",{className:s()(u.title,f&&!v&&u.active,_&&u.mobile), +"data-name":"list-item-title"},t),r.createElement("div",{className:s()(u.details,f&&!v&&u.active,_&&u.mobile)},n)),r.createElement(a.RemoveButton,{className:u.removeButton,isActive:f&&!v,onClick:h.bind(null,m),"data-name":"list-item-remove-button",title:o}))}function h(e,t){t.defaultPrevented||(t.preventDefault(),e(t))}},3085:(e,t,n)=>{"use strict";n.d(t,{OverlayScrollContainer:()=>p});var r=n(59496),o=n(97754),s=n.n(o),i=n(88537),l=n(64514),a=n(62820);const c=n(62230);function u(e){const{size:t,scrollSize:n,clientSize:o,scrollProgress:u,onScrollProgressChange:d,horizontal:h,theme:p=c,onDragStart:m,onDragEnd:f,minBarSize:v=40}=e,g=(0,r.useRef)(null),_=(0,r.useRef)(null),[C,E]=(0,r.useState)(!1),w=(0,r.useRef)(0);(0,r.useEffect)(()=>{const e=(0,i.ensureNotNull)(g.current).ownerDocument;return C?(m&&m(),e&&(e.addEventListener("mousemove",N),e.addEventListener("mouseup",O))):f&&f(),()=>{e&&(e.removeEventListener("mousemove",N),e.removeEventListener("mouseup",O))}},[C]);const y=t/n||0,S=o*y||0,b=Math.max(S,v),x=(t-b)/(t-S),M=function(e){if((0,a.isRtl)()&&h)return e-n+o;return e}((0,l.clamp)(u,0,n-t));return r.createElement("div",{ref:g,className:s()(p.wrap,h&&p["wrap--horizontal"]),style:{[h?"width":"height"]:t},onMouseDown:function(e){if(e.isDefaultPrevented())return;e.preventDefault();const r=(0,i.ensureNotNull)(_.current).getBoundingClientRect();w.current=(h?r.width:r.height)/2;const o=n-t;let s=P(e.nativeEvent,(0,i.ensureNotNull)(g.current))-w.current;s<0?(s=0,w.current=P(e.nativeEvent,(0,i.ensureNotNull)(g.current))):s>o*y*x&&(s=o*y*x,w.current=P(e.nativeEvent,(0,i.ensureNotNull)(g.current))-s);d(s/y/x),E(!0)}},r.createElement("div",{ref:_,className:s()(p.bar,h&&p["bar--horizontal"]),style:{[h?"minWidth":"minHeight"]:v,[h?"width":"height"]:b,transform:`translate${h?"X":"Y"}(${M*y*x||0}px)`},onMouseDown:function(e){e.preventDefault(),w.current=P(e.nativeEvent,(0,i.ensureNotNull)(_.current)),E(!0)}},r.createElement("div",{className:s()(p.barInner,h&&p["barInner--horizontal"])})));function N(e){const t=P(e,(0,i.ensureNotNull)(g.current))-w.current;d(t/y/x)}function O(e){E(!1)}function P(e,t){const n=t.getBoundingClientRect();return h?e.clientX-n.left:e.clientY-n.top}}var d=n(70412),h=n(97623);function p(e){const{reference:t,className:n,containerHeight:s=0,containerWidth:i=0,contentHeight:l=0,contentWidth:a=0,scrollPosTop:c=0,scrollPosLeft:p=0,onVerticalChange:m,onHorizontalChange:f,visible:v}=e,[g,_]=(0,d.useHover)(),[C,E]=(0,r.useState)(!1),w=s{"use strict";n.d(t,{useDimensions:()=>o});var r=n(59496);function o(){ +const[e,t]=(0,r.useState)(null);return[(0,r.useCallback)(n=>{n.width===(null==e?void 0:e.width)&&n.height===e.height||t(n)},[e]),e]}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>s,useAccurateHover:()=>i,useHover:()=>o});var r=n(59496);function o(){const[e,t]=(0,r.useState)(!1);return[e,{onMouseOver:function(e){s(e)&&t(!0)},onMouseOut:function(e){s(e)&&t(!1)}}]}function s(e){return!e.currentTarget.contains(e.relatedTarget)}function i(e){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const t=t=>{if(null===e.current)return;const r=e.current.contains(t.target);n(r)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var r=n(59496),o=n(39640);function s(e){const{click:t,mouseDown:n,touchEnd:s,touchStart:i,handler:l,reference:a,ownerDocument:c=document}=e,u=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:s,touchStart:i},r=a?a.current:u.current;return(0,o.addOutsideEventListener)(d.current,r,l,c,e)},[t,n,s,i,l]),a||u}},33127:(e,t,n)=>{"use strict";n.d(t,{useOverlayScroll:()=>a});var r=n(59496),o=n(88537),s=n(70412),i=n(49483);const l={onMouseOver:()=>{},onMouseOut:()=>{}};function a(e,t=i.CheckMobile.any()){const n=(0,r.useRef)(null),a=e||(0,r.useRef)(null),[c,u]=(0,s.useHover)(),[d,h]=(0,r.useState)({reference:n,containerHeight:0,containerWidth:0,contentHeight:0,contentWidth:0,scrollPosTop:0,scrollPosLeft:0,onVerticalChange:function(e){h(t=>({...t,scrollPosTop:e})),(0,o.ensureNotNull)(a.current).scrollTop=e},onHorizontalChange:function(e){h(t=>({...t,scrollPosLeft:e})),(0,o.ensureNotNull)(a.current).scrollLeft=e},visible:c}),p=(0,r.useCallback)(()=>{if(!a.current)return;const{clientHeight:e,scrollHeight:t,scrollTop:r,clientWidth:o,scrollWidth:s,scrollLeft:i}=a.current,l=n.current?n.current.offsetTop:0;h(n=>({...n,containerHeight:e-l,contentHeight:t-l,scrollPosTop:r,containerWidth:o,contentWidth:s,scrollPosLeft:i}))},[]);function m(){h(e=>({...e,scrollPosTop:(0,o.ensureNotNull)(a.current).scrollTop,scrollPosLeft:(0,o.ensureNotNull)(a.current).scrollLeft}))}return(0,r.useEffect)(()=>{c&&p(),h(e=>({...e,visible:c}))},[c]),(0,r.useEffect)(()=>{const e=a.current;return e&&e.addEventListener("scroll",m),()=>{e&&e.removeEventListener("scroll",m)}},[a]),[d,t?l:u,a,p]}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>o});var r=n(59496);class o extends r.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)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>r});const r=n(59496).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>v,Menu:()=>g});var r=n(59496),o=n(97754),s=n.n(o),i=n(88537),l=n(64514),a=n(54475),c=n(50655),u=n(59064),d=n(88216),h=n(25760),p=n(14758),m=n(64706),f=n(16059);const v=f;class g extends r.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,r,o,s;if(this.state.isMeasureValid&&!t)return;const{position:a}=this.props,c=(0,i.ensureNotNull)(this._containerRef);let u=c.getBoundingClientRect();const d=document.documentElement.clientHeight,h=document.documentElement.clientWidth,p=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let m=d-0-p;const f=u.height>m;if(f){(0,i.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",u=c.getBoundingClientRect()}const{width:v,height:g}=u,_="function"==typeof a?a(v,g,d):a,C=h-(null!==(r=_.overrideWidth)&&void 0!==r?r:v)-0,E=(0,l.clamp)(_.x,0,Math.max(0,C)),w=0+p,y=d-(null!==(o=_.overrideHeight)&&void 0!==o?o:g)-0;let S=(0,l.clamp)(_.y,w,Math.max(w,y));if(_.forbidCorrectYCoord&&S<_.y&&(m-=_.y-S,S=_.y),t&&void 0!==this.props.closeOnScrollOutsideOffset&&_.y<=this.props.closeOnScrollOutsideOffset)return void this._handleGlobalClose(!0);const b=null!==(s=_.overrideHeight)&&void 0!==s?s:f?m:void 0;this.setState({appearingMenuHeight:t?this.state.appearingMenuHeight:b,appearingMenuWidth:t?this.state.appearingMenuWidth:_.overrideWidth,appearingPosition:{x:E,y:S},isMeasureValid:!0},()=>{this._restoreScrollPosition(),e&&e()})},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,i.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null}))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0, +i.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout(()=>{this._handleMeasure({forceRecalcPosition:!0})},80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame(()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null})))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize);const t=null!==this.context;this._hotkeys||t||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this._handleGlobalClose()})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":o,children:i,minWidth:l,theme:u=f,className:d,maxHeight:h,onMouseOver:v,onMouseOut:g,onKeyDown:C,onFocus:E,onBlur:w}=this.props,{appearingMenuHeight:y,appearingMenuWidth:S,appearingPosition:b,isMeasureValid:x}=this.state;return r.createElement(m.MenuContext.Provider,{value:this},r.createElement(p.SubmenuHandler,null,r.createElement(c.SlotContext.Provider,{value:this._manager},r.createElement("div",{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":o,className:s()(d,u.menuWrap,!x&&u.isMeasuring),style:{height:y,left:b&&b.x,minWidth:l,position:"fixed",top:b&&b.y,width:S},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:v,onMouseOut:g,onKeyDown:C,onFocus:E,onBlur:w},r.createElement("div",{className:s()(u.scrollWrap,!this.props.noMomentumBasedScroll&&u.momentumBased),style:{overflowY:void 0!==y?"scroll":"auto",maxHeight:h},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},r.createElement(_,{className:u.menuBox},i)))),r.createElement(c.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}}function _(e){const t=(0,i.ensureNotNull)((0,r.useContext)(p.SubmenuContext)),n=r.useRef(null);return r.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(r=e.target, +null===(o=n.current)||void 0===o?void 0:o.contains(r))))return;var r,o;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}g.contextType=p.SubmenuContext},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>i});var r=n(59496),o=n(97754),s=n(91626);function i(e){return r.createElement("div",{className:o(s.separator,e.className)})}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>o});var r=n(58095);function o(e){const{children:t,...n}=e;return t((0,r.useOutsideEvent)(n))}},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>l});var r=n(88537);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 s{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 i=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,r.ensureDefined)(i.get(t));{const t=new s(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 i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>s});var r=n(59496),o=n(65718);function s(e){return class extends r.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const s=r.createElement(e,{...this.props,zIndex:150});return"parent"===n?s:r.createElement(o.Portal,null,s)}}}},29197:(e,t,n)=>{"use strict" +;n.d(t,{CloseDelegateContext:()=>s});var r=n(59496),o=n(59064);const s=r.createContext(o.globalCloseDelegate)},50628:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>c});var r=n(59496),o=n(87995),s=n(65718),i=n(27317),l=n(29197),a=n(58095);function c(e){const{controller:t,children:n,isOpened:c,closeOnClickOutside:u=!0,doNotCloseOn:d,onClickOutside:h,onClose:p,...m}=e,f=(0,r.useContext)(l.CloseDelegateContext),v=(0,a.useOutsideEvent)({handler:function(e){h&&h(e);if(!u)return;if(d&&e.target instanceof Node){const t=o.findDOMNode(d);if(t instanceof Node&&t.contains(e.target))return}p()},mouseDown:!0,touchStart:!0});return c?r.createElement(s.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},r.createElement("span",{ref:v,style:{pointerEvents:"auto"}},r.createElement(i.Menu,{...m,onClose:p,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:f,ref:t},n))):null}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>c});var r=n(59496),o=n(87995),s=n(9423),i=n(88216),l=n(50655);class a extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.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(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const c=r.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>o,SlotContext:()=>s});var r=n(59496);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 s=r.createContext(null)},14758:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>o,SubmenuHandler:()=>s});var r=n(59496);const o=r.createContext(null);function s(e){const[t,n]=(0,r.useState)(null),s=(0,r.useRef)(null),i=(0,r.useRef)(new Map);return(0,r.useEffect)(()=>()=>{null!==s.current&&clearTimeout(s.current)},[]),r.createElement(o.Provider,{value:{current:t,setCurrent:function(e){null!==s.current&&(clearTimeout(s.current),s.current=null);null===t?n(e):s.current=setTimeout(()=>{s.current=null,n(e)},100)},registerSubmenu:function(e,t){return i.current.set(e,t),()=>{i.current.delete(e)}},isSubmenuNode:function(e){return Array.from(i.current.values()).some(t=>t(e))}}},e.children)}},37257:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/32c094ea79fdd66912058ade88c27860.svg b/charting_library/bundles/32c094ea79fdd66912058ade88c27860.svg new file mode 100644 index 00000000..3d6f3f3b --- /dev/null +++ b/charting_library/bundles/32c094ea79fdd66912058ade88c27860.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/32cface5c212ebc32a5fd783e6072dd5.svg b/charting_library/bundles/32cface5c212ebc32a5fd783e6072dd5.svg new file mode 100644 index 00000000..780ae8ba --- /dev/null +++ b/charting_library/bundles/32cface5c212ebc32a5fd783e6072dd5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3304.02b3db44475a7ac3c3c1.js b/charting_library/bundles/3304.02b3db44475a7ac3c3c1.js new file mode 100644 index 00000000..65bcf572 --- /dev/null +++ b/charting_library/bundles/3304.02b3db44475a7ac3c3c1.js @@ -0,0 +1,10 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3304],{9837:function(e,t,n){var r,o,i;e.exports=(r=n(59496),o=n(87995),i=n(59255),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var t=n.getDimensions(n._node,e),r="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(t[e]!==n._lastDimensions[e])return n.props.onMeasure(t),r&&void 0!==n&&n.setState({dimensions:t}),n._lastDimensions=t,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new l.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){var t=(e.config,e.whitelist),n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=u.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin;return(0,c.default)(e,{margin:t})}},{ +key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(i.Component);f.propTypes={whitelist:s.default.array,blacklist:s.default.array,includeMargin:s.default.bool,useClone:s.default.bool,cloneOptions:s.default.object,shouldMeasure:s.default.bool,onMeasure:s.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=f,e.exports=t.default},function(e,t){e.exports=r},function(e,t,n){(function(t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if("production"!==t.env.NODE_ENV){var o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(5)((function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e&&e.$$typeof===o}),!0)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(){h&&p&&(h=!1,p.length?d=p.concat(d):m=-1,d.length&&a())}function a(){if(!h){var e=o(i);h=!0;for(var t=d.length;t;){for(p=d,d=[];++m1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.getBoundingClientRect(),o=void 0,i=void 0,a=void 0;return t.margin&&(a=(0,r.default)(getComputedStyle(e))),t.margin?(o=a.left+n.width+a.right,i=a.top+n.height+a.bottom):(o=n.width,i=n.height),{width:o,height:i,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(16));e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:n((e=e||{}).marginTop),right:n(e.marginRight),bottom:n(e.marginBottom),left:n(e.marginLeft)}};var n=function(e){return parseInt(e)||0};e.exports=t.default}]))},69397:(e,t,n)=>{"use strict";n.d(t,{FixedSizeList:()=>w,VariableSizeList:()=>_});var r=n(19624),o=n(55682),i=n(75542),a=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function s(e,t){if(e.length!==t.length)return!1;for(var n=0;n=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var d=null;function h(e){if(void 0===e&&(e=!1),null===d||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t), +t.scrollLeft>0?d="positive-descending":(t.scrollLeft=1,d=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),d}return d}var m=function(e,t){return e};function v(e){var t,n,a=e.getItemOffset,s=e.getEstimatedTotalSize,c=e.getItemSize,d=e.getOffsetForIndexAndAlignment,v=e.getStartIndexForOffset,g=e.getStopIndexForStartIndex,b=e.initInstanceProps,S=e.shouldResetStyleCacheOnItemSizeChange,O=e.validateProps;return n=t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=b(n.props,(0,i.default)((0,i.default)(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:(0,i.default)((0,i.default)(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=u((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=u((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,r=n.props,o=r.direction,i=r.itemSize,s=r.layout,u=n._getItemStyleCache(S&&i,S&&s,S&&o);if(u.hasOwnProperty(e))t=u[e];else{var l=a(n.props,e,n._instanceProps),f=c(n.props,e,n._instanceProps),p="horizontal"===o||"horizontal"===s,d="rtl"===o,h=p?l:0;u[e]=t={position:"absolute",left:d?void 0:h,right:d?h:void 0,top:p?0:l,height:p?"100%":f,width:p?f:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=u((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(h()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset0)for(var E=T;E<=M;E++)R.push((0,l.createElement)(t,{data:p,key:h(E,p),index:E,isScrolling:S?_:void 0,style:this._getItemStyle(E)}));var P=s(this.props,this._instanceProps);return(0,l.createElement)(y||g||"div",{className:n,onScroll:x,ref:this._outerRefSetter,style:(0,r.default)({position:"relative",height:i,width:O,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},b)},(0,l.createElement)(u||c||"div",{children:R,ref:a,style:{height:w?"100%":P,pointerEvents:_?"none":void 0,width:w?P:"100%"}}))},n._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,s=i.scrollOffset,u=i.scrollUpdateWasRequested;this._callOnScroll(a,s,u)}},n._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var s=v(this.props,a,this._instanceProps),u=g(this.props,s,a,this._instanceProps),l=o&&"backward"!==i?1:Math.max(1,n),c=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,s-l),Math.max(0,Math.min(t-1,u+c)),s,u]},t}(l.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2, +useIsScrolling:!1},n}var y=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},g=function(e,t,n){var r=e.itemSize,o=n.itemMetadataMap,i=n.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var s=o[i];a=s.offset+s.size}for(var u=i+1;u<=t;u++){var l=r(u);o[u]={offset:a,size:l},a+=l}n.lastMeasuredIndex=t}return o[t]},b=function(e,t,n,r,o){for(;r<=n;){var i=r+Math.floor((n-r)/2),a=g(e,i,t).offset;if(a===o)return i;ao&&(n=i-1)}return r>0?r-1:0},S=function(e,t,n,r){for(var o=e.itemCount,i=1;n=n&&(i=n-1),i>=0){var s=r[i];a=s.offset+s.size}return a+(n-i-1)*o},_=v({getItemOffset:function(e,t,n){return g(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:O,getOffsetForIndexAndAlignment:function(e,t,n,r,o){var i=e.direction,a=e.height,s=e.layout,u=e.width,l="horizontal"===i||"horizontal"===s?u:a,c=g(e,t,o),f=O(e,o),p=Math.max(0,Math.min(f-l,c.offset)),d=Math.max(0,c.offset-l+c.size);switch("smart"===n&&(n=r>=d-l&&r<=p+l?"auto":"center"),n){case"start":return p;case"end":return d;case"center":return Math.round(d+(p-d)/2);case"auto":default:return r>=d&&r<=p?r:r0?r[o].offset:0)>=n?b(e,t,o,0,n):S(e,t,Math.max(0,o),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var o=e.direction,i=e.height,a=e.itemCount,s=e.layout,u=e.width,l="horizontal"===o||"horizontal"===s?u:i,c=g(e,t,r),f=n+l,p=c.offset+c.size,d=t;d=d-c&&r<=p+c?"auto":"center"),n){case"start":return p;case"end":return d;case"center":var h=Math.round(d+(p-d)/2);return hf+Math.floor(c/2)?f:h;case"auto":default:return r>=d&&r<=p?r:r{"use strict";n.d(t,{default:()=>o});var r=n(11430);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.default)(e,t)}}}]); \ No newline at end of file diff --git a/charting_library/bundles/3332346bb9d5603152808536c3251c00.svg b/charting_library/bundles/3332346bb9d5603152808536c3251c00.svg new file mode 100644 index 00000000..e865840e --- /dev/null +++ b/charting_library/bundles/3332346bb9d5603152808536c3251c00.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/335343b286c304fe0ff472256b515659.svg b/charting_library/bundles/335343b286c304fe0ff472256b515659.svg new file mode 100644 index 00000000..a0ca0b7f --- /dev/null +++ b/charting_library/bundles/335343b286c304fe0ff472256b515659.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/33e4a650ec09d861a47f0f2c2d912774.svg b/charting_library/bundles/33e4a650ec09d861a47f0f2c2d912774.svg new file mode 100644 index 00000000..c3a6095f --- /dev/null +++ b/charting_library/bundles/33e4a650ec09d861a47f0f2c2d912774.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/33ead7196e74520279899683905fa945.svg b/charting_library/bundles/33ead7196e74520279899683905fa945.svg new file mode 100644 index 00000000..530a9f5d --- /dev/null +++ b/charting_library/bundles/33ead7196e74520279899683905fa945.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/36a36b038ee2b086d99f0dff97512fec.svg b/charting_library/bundles/36a36b038ee2b086d99f0dff97512fec.svg new file mode 100644 index 00000000..48f1c53b --- /dev/null +++ b/charting_library/bundles/36a36b038ee2b086d99f0dff97512fec.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7176.90e52d563ea0d904aceb.css b/charting_library/bundles/3713.d298aa7c89e61a75e4e2.css similarity index 85% rename from charting_library/bundles/7176.90e52d563ea0d904aceb.css rename to charting_library/bundles/3713.d298aa7c89e61a75e4e2.css index 2a693640..7f18438b 100644 --- a/charting_library/bundles/7176.90e52d563ea0d904aceb.css +++ b/charting_library/bundles/3713.d298aa7c89e61a75e4e2.css @@ -1 +1 @@ -.errors-Cv6NxnRZ{background-color:#2a2e39;border-radius:3px;box-sizing:border-box;color:#fff;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;text-align:center;z-index:2}html.theme-dark .errors-Cv6NxnRZ{background-color:#363c4e}.errors-Cv6NxnRZ:empty{display:none}.errors-Cv6NxnRZ.show-Cv6NxnRZ{opacity:1}.errors-Cv6NxnRZ .error-Cv6NxnRZ{font-size:12px;line-height:1.4;margin-top:10px;text-transform:none;word-break:break-word}.errors-Cv6NxnRZ .error-Cv6NxnRZ:first-child{margin-top:0}.error-icon-llFIA0b4{display:inline-flex}.error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#f23645}html.theme-dark .error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#b22833}.error-icon-llFIA0b4.intent-warning-llFIA0b4,html.theme-dark .error-icon-llFIA0b4.intent-warning-llFIA0b4{color:#ff9800}.error-icon-llFIA0b4 svg{height:16px;width:16px}.static-messages-Yp0dNSLN{flex-flow:column nowrap;font-size:12px;font-style:normal;font-weight:400;line-height:17px}.static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#f23645}html.theme-dark .static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#b22833}.static-messages-Yp0dNSLN.warnings-Yp0dNSLN,html.theme-dark .static-messages-Yp0dNSLN.warnings-Yp0dNSLN{color:#ff9800}.static-messages-Yp0dNSLN .message-Yp0dNSLN{margin:0}.icon-P882WPW5{display:flex}.wrap-TyQYOCnx{position:relative}.input-TyQYOCnx{bottom:0;left:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;top:0} \ No newline at end of file +.errors-Cv6NxnRZ{background-color:#2a2e39;border-radius:3px;box-sizing:border-box;color:#fff;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;text-align:center;z-index:2}html.theme-dark .errors-Cv6NxnRZ{background-color:#363c4e}.errors-Cv6NxnRZ:empty{display:none}.errors-Cv6NxnRZ.show-Cv6NxnRZ{opacity:1}.errors-Cv6NxnRZ .error-Cv6NxnRZ{font-size:12px;line-height:1.4;margin-top:10px;text-transform:none;word-break:break-word}.errors-Cv6NxnRZ .error-Cv6NxnRZ:first-child{margin-top:0}.error-icon-llFIA0b4{display:inline-flex}.error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#f23645}html.theme-dark .error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#b22833}.error-icon-llFIA0b4.intent-warning-llFIA0b4,html.theme-dark .error-icon-llFIA0b4.intent-warning-llFIA0b4{color:#ff9800}.error-icon-llFIA0b4 svg{height:16px;width:16px}.static-messages-Yp0dNSLN{flex-flow:column nowrap;font-size:12px;font-style:normal;font-weight:400;line-height:17px}.static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#f23645}html.theme-dark .static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#b22833}.static-messages-Yp0dNSLN.warnings-Yp0dNSLN,html.theme-dark .static-messages-Yp0dNSLN.warnings-Yp0dNSLN{color:#ff9800}.static-messages-Yp0dNSLN .message-Yp0dNSLN{margin:0} \ No newline at end of file diff --git a/charting_library/bundles/7176.90e52d563ea0d904aceb.rtl.css b/charting_library/bundles/3713.d298aa7c89e61a75e4e2.rtl.css similarity index 85% rename from charting_library/bundles/7176.90e52d563ea0d904aceb.rtl.css rename to charting_library/bundles/3713.d298aa7c89e61a75e4e2.rtl.css index 52fb0c42..7f18438b 100644 --- a/charting_library/bundles/7176.90e52d563ea0d904aceb.rtl.css +++ b/charting_library/bundles/3713.d298aa7c89e61a75e4e2.rtl.css @@ -1 +1 @@ -.errors-Cv6NxnRZ{background-color:#2a2e39;border-radius:3px;box-sizing:border-box;color:#fff;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;text-align:center;z-index:2}html.theme-dark .errors-Cv6NxnRZ{background-color:#363c4e}.errors-Cv6NxnRZ:empty{display:none}.errors-Cv6NxnRZ.show-Cv6NxnRZ{opacity:1}.errors-Cv6NxnRZ .error-Cv6NxnRZ{font-size:12px;line-height:1.4;margin-top:10px;text-transform:none;word-break:break-word}.errors-Cv6NxnRZ .error-Cv6NxnRZ:first-child{margin-top:0}.error-icon-llFIA0b4{display:inline-flex}.error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#f23645}html.theme-dark .error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#b22833}.error-icon-llFIA0b4.intent-warning-llFIA0b4,html.theme-dark .error-icon-llFIA0b4.intent-warning-llFIA0b4{color:#ff9800}.error-icon-llFIA0b4 svg{height:16px;width:16px}.static-messages-Yp0dNSLN{flex-flow:column nowrap;font-size:12px;font-style:normal;font-weight:400;line-height:17px}.static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#f23645}html.theme-dark .static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#b22833}.static-messages-Yp0dNSLN.warnings-Yp0dNSLN,html.theme-dark .static-messages-Yp0dNSLN.warnings-Yp0dNSLN{color:#ff9800}.static-messages-Yp0dNSLN .message-Yp0dNSLN{margin:0}.icon-P882WPW5{display:flex}.wrap-TyQYOCnx{position:relative}.input-TyQYOCnx{bottom:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;right:0;top:0} \ No newline at end of file +.errors-Cv6NxnRZ{background-color:#2a2e39;border-radius:3px;box-sizing:border-box;color:#fff;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;text-align:center;z-index:2}html.theme-dark .errors-Cv6NxnRZ{background-color:#363c4e}.errors-Cv6NxnRZ:empty{display:none}.errors-Cv6NxnRZ.show-Cv6NxnRZ{opacity:1}.errors-Cv6NxnRZ .error-Cv6NxnRZ{font-size:12px;line-height:1.4;margin-top:10px;text-transform:none;word-break:break-word}.errors-Cv6NxnRZ .error-Cv6NxnRZ:first-child{margin-top:0}.error-icon-llFIA0b4{display:inline-flex}.error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#f23645}html.theme-dark .error-icon-llFIA0b4.intent-danger-llFIA0b4{color:#b22833}.error-icon-llFIA0b4.intent-warning-llFIA0b4,html.theme-dark .error-icon-llFIA0b4.intent-warning-llFIA0b4{color:#ff9800}.error-icon-llFIA0b4 svg{height:16px;width:16px}.static-messages-Yp0dNSLN{flex-flow:column nowrap;font-size:12px;font-style:normal;font-weight:400;line-height:17px}.static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#f23645}html.theme-dark .static-messages-Yp0dNSLN.errors-Yp0dNSLN{color:#b22833}.static-messages-Yp0dNSLN.warnings-Yp0dNSLN,html.theme-dark .static-messages-Yp0dNSLN.warnings-Yp0dNSLN{color:#ff9800}.static-messages-Yp0dNSLN .message-Yp0dNSLN{margin:0} \ No newline at end of file diff --git a/charting_library/bundles/373623728d1fd56d6b7b9d228a6a2dd4.svg b/charting_library/bundles/373623728d1fd56d6b7b9d228a6a2dd4.svg new file mode 100644 index 00000000..1ab1d595 --- /dev/null +++ b/charting_library/bundles/373623728d1fd56d6b7b9d228a6a2dd4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3738.66fe7fbb64065ac70351.js b/charting_library/bundles/3738.66fe7fbb64065ac70351.js new file mode 100644 index 00000000..a57ddd69 --- /dev/null +++ b/charting_library/bundles/3738.66fe7fbb64065ac70351.js @@ -0,0 +1,9 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3738],{80353:(e,t,a)=>{e.exports=a.p+"ec5d7209357ae85877aeb054c2bdb313.svg"},37061:(e,t,a)=>{e.exports=a.p+"acbf476d27fe229ca0b0c1fc6df67e35.svg"},37780:(e,t,a)=>{e.exports=a.p+"6fd906b30d990590754ae2e98b02d371.svg"},86284:(e,t,a)=>{e.exports=a.p+"a824441dbd28500e1d345c0b62aa4220.svg"},82044:(e,t,a)=>{e.exports=a.p+"7db71d6fd67fb9a029dbe9640728e788.svg"},28527:(e,t,a)=>{e.exports=a.p+"0533bc7f87e4fd35c549693ccb280cbc.svg"},21415:(e,t,a)=>{e.exports=a.p+"b4dd685fee80f6fff4b6e34f4e7725ac.svg"},51770:(e,t,a)=>{e.exports=a.p+"af2c0f390cd0b5ef8d2bd4ba4e521a34.svg"},59524:(e,t,a)=>{e.exports=a.p+"107ad28074a1e10592eb2dc1a622a199.svg"},3796:(e,t,a)=>{e.exports=a.p+"373623728d1fd56d6b7b9d228a6a2dd4.svg"},69139:(e,t,a)=>{e.exports=a.p+"59e2b70bcb3a208d8b8dbe2b35a9dfb0.svg"},12600:(e,t,a)=>{e.exports=a.p+"1c6b280e81b3d23ee72a86dedc751351.svg"},46801:(e,t,a)=>{e.exports=a.p+"d7b56af17bc6de43c045962d843a94f3.svg"},39894:e=>{e.exports={orderInput:"orderInput-UR1489uv"}},52264:e=>{e.exports={zip:"zip-bAIksqmB"}},16271:e=>{e.exports={orderInputs:"orderInputs-xDWk5IzT",container:"container-xDWk5IzT",inputContainer:"inputContainer-xDWk5IzT",errors:"errors-xDWk5IzT",titleText:"titleText-xDWk5IzT"}},98898:e=>{e.exports={countrySelect:"countrySelect-zsy9fYkd",flagSlot:"flagSlot-zsy9fYkd",flag:"flag-zsy9fYkd",textSlot:"textSlot-zsy9fYkd"}},28335:e=>{e.exports={label:"label-UvIfeuIB"}},76974:(e,t,a)=>{"use strict";a.d(t,{useIsMounted:()=>n});var r=a(59496);const n=()=>{const e=(0,r.useRef)(!1);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},68769:(e,t,a)=>{"use strict";a.d(t,{paymentTypeToIconMap:()=>f,braintreePaymentTypeToIconMap:()=>S,removeMultipleWhitespace:()=>y,getProductsStr:()=>b,canShowPaypalPaymentMethod:()=>E,isCountryTaxable:()=>I,isCountrySupportVAT:()=>T,isCountrySupportTIN:()=>O,convertAddressModelToState:()=>N,convertAddressStateToModel:()=>A,convertoUserDetailsToCoinbaseUserData:()=>k,convertoUserDetailsToEcommpayUserData:()=>V,convertAddressStateToUserDetails:()=>_,excludeFieldsForTax:()=>M,marketBlockedCountries:()=>B,isRussian:()=>w,ecommpayAvailableCountries:()=>x,showEcommpay:()=>D});var r=a(76266),n=a(46801),s=a(59524),o=a(80353),i=a(37780),l=a(86284),u=a(21415),c=a(3796),d=a(69139),m=a(82044),h=a(51770),p=a(12600),g=a(37061),v=a(28527),C=a(8003);const f={visa:n,"master-card":s,"american-express":o,"diners-club":i,discover:l,jcb:u,unionpay:p,maestro:h,elo:m,mir:c,paypal:d,"google-pay":v,"apple-pay":g,default:C},S={Discover:f.discover,Elo:f.elo,Visa:f.visa,UnionPay:f.unionpay,JCB:f.jcb,"American Express":f["american-express"],MasterCard:f["master-card"]};function y(e){return e.trim().replace(/\s{2,}/g," ")}function b(e){let t=e.map(e=>{var t;const a=null===(t=window.pro)||void 0===t?void 0:t.getProduct(e);if(a)return a.name}).filter(e=>void 0!==e).join(", ");return t.length>240&&(t=t.slice(0,236)+"..."),t}function E(e){return!((0,r.isFeatureEnabled)("hide_paypal_payment_method")&&e&&["IN"].includes(e))}function I(e){ +return["AU","IN"].includes(e)}function T(e){return["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","EL","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","XI"].includes(e)}function O(e){return"AU"===e}function N(e){var t,a,r,n,s;const o={isValid:!0,errors:[],value:""};return{country_code_alpha2:{...o,value:null!==(t=e.country_code_alpha2)&&void 0!==t?t:""},region:{...o,value:null!==(a=e.region)&&void 0!==a?a:""},postal_code:{...o,value:null!==(r=e.postal_code)&&void 0!==r?r:""},locality:{...o,value:null!==(n=e.locality)&&void 0!==n?n:""},street_address:{...o,value:null!==(s=e.street_address)&&void 0!==s?s:""},vat_number:{...o}}}function A(e){return{street_address:y(e.street_address.value),locality:y(e.locality.value),country_code_alpha2:y(e.country_code_alpha2.value),postal_code:y(e.postal_code.value),region:y(e.region.value)}}function k(e){var t,a,r,n,s;return{name:String(e.name),STREET:String(null===(t=e.billing_address)||void 0===t?void 0:t.street_address),CITY:String(null===(a=e.billing_address)||void 0===a?void 0:a.locality),COUNTRY:String(null===(r=e.billing_address)||void 0===r?void 0:r.country_code_alpha2),ZIP:String(null===(n=e.billing_address)||void 0===n?void 0:n.postal_code),STATE:String(null===(s=e.billing_address)||void 0===s?void 0:s.region),vat_number:e.vat_number}}function V(e){return{name:String(e.name),billing_address:e.billing_address,vat_number:e.vat_number}}function _(e){const t={billing_address:A(e)},a=y(e.vat_number.value);return""!==a&&(t.vat_number=a),t}const F={value:"",isValid:!0,errors:[]};function M(e){return{...e,street_address:F,vat_number:F}}const B=["RU","BY"];function w(e){return B.includes(e||"")}const x=["RU"];function D(e){return x.includes(e||"")}},10878:(e,t,a)=>{"use strict";var r;a.d(t,{Currencies:()=>r}),function(e){e.Usd="USD",e.Btc="BTC",e.Tvc="TVC",e.Rub="RUB"}(r||(r={}))},29302:(e,t,a)=>{"use strict";a.d(t,{OrderFieldContainer:()=>i});var r=a(59496),n=a(97754),s=a(96722),o=a(16271);function i(e){return r.createElement("div",{className:n(o.inputContainer,"order-field-container"),"data-html2canvas-ignore":!0},r.createElement(s.Label,{id:e.labelId,htmlFor:e.for},e.label),e.children)}},35587:(e,t,a)=>{"use strict";a.d(t,{OrderInput:()=>u});var r=a(59496),n=a(97754),s=a.n(n),o=a(86623),i=a(86629),l=a(39894);function u(e){const{className:t,inputClassName:a}=e;return r.createElement(o.FormInput,{...e,className:s()(t,"order-input"),inputClassName:s()(a,l.orderInput,"js-validate-ignore"),size:"large",messagesPosition:i.MessagesPosition.Attached,stretch:!0})}},18244:(e,t,a)=>{"use strict";a.d(t,{StateSelect:()=>y,stateItems:()=>S});var r=a(59496),n=a(28353) +;const s=JSON.parse('{"AA":"Armed Forces America","AE":"Armed Forces","AP":"Armed Forces Pacific","AL":"Alabama","AK":"Alaska","AZ":"Arizona","AR":"Arkansas","CA":"California","CO":"Colorado","CT":"Connecticut","DC":"District of Columbia","DE":"Delaware","FL":"Florida","GA":"Georgia","HI":"Hawaii","ID":"Idaho","IL":"Illinois","IN":"Indiana","IA":"Iowa","KS":"Kansas","KY":"Kentucky","LA":"Louisiana","ME":"Maine","MD":"Maryland","MA":"Massachusetts","MI":"Michigan","MN":"Minnesota","MS":"Mississippi","MO":"Missouri","MT":"Montana","NE":"Nebraska","NV":"Nevada","NH":"New Hampshire","NJ":"New Jersey","NM":"New Mexico","NY":"New York","NC":"North Carolina","ND":"North Dakota","OH":"Ohio","OK":"Oklahoma","OR":"Oregon","PA":"Pennsylvania","RI":"Rhode Island","SC":"South Carolina","SD":"South Dakota","TN":"Tennessee","TX":"Texas","UT":"Utah","VT":"Vermont","VA":"Virginia","WA":"Washington","WV":"West Virginia","WI":"Wisconsin","WY":"Wyoming"}'),o=JSON.parse('{"AB":"Alberta","BC":"British Columbia","MB":"Manitoba","NB":"New Brunswick","NL":"Newfoundland and Labrador","NT":"Northwest Territories","NS":"Nova Scotia","NU":"Nunavut","ON":"Ontario","PE":"Prince Edward Island","QC":"Quebec","SK":"Saskatchewan","YT":"Yukon"}'),i=JSON.parse('{"Adana":"Adana","Adiyaman":"Adıyaman","Afyonkarahisar":"Afyonkarahisar","Agri":"Ağrı","Amasya":"Amasya","Ankara":"Ankara","Antalya":"Antalya","Artvin":"Artvin","Aydin":"Aydın","Balikesir":"Balıkesir","Bilecik":"Bilecik","Bingol":"Bingöl","Bitlis":"Bitlis","Bolu":"Bolu","Burdur":"Burdur","Bursa":"Bursa","Canakkale":"Çanakkale","Cankiri":"Çankırı","Corum":"Çorum","Denizli":"Denizli","Diyarbakir":"Diyarbakır","Edirne":"Edirne","Elazig":"Elâzığ","Erzincan":"Erzincan","Erzurum":"Erzurum","Eskisehir":"Eskişehir","Gaziantep":"Gaziantep","Giresun":"Giresun","Gumushane":"Gümüşhane","Hakkari":"Hakkâri","Hatay":"Hatay","Isparta":"Isparta","Mersin":"Mersin","Istanbul":"Istanbul","Izmir":"İzmir","Kars":"Kars","Kastamonu":"Kastamonu","Kayseri":"Kayseri","Kirklareli":"Kırklareli","Kirsehir":"Kırşehir","Kocaeli":"Kocaeli","Konya":"Konya","Kutahya":"Kütahya","Malatya":"Malatya","Manisa":"Manisa","Kahramanmaras":"Kahramanmaraş","Mardin":"Mardin","Mugla":"Muğla","Mus":"Muş","Nevsehir":"Nevşehir","Nigde":"Niğde","Ordu":"Ordu","Rize":"Rize","Sakarya":"Sakarya","Samsun":"Samsun","Siirt":"Siirt","Sinop":"Sinop","Sivas":"Sivas","Tekirdag":"Tekirdağ","Tokat":"Tokat","Trabzon":"Trabzon","Tunceli":"Tunceli","Sanliurfa":"Şanlıurfa","Usak":"Uşak","Van":"Van","Yozgat":"Yozgat","Zonguldak":"Zonguldak","Aksaray":"Aksaray","Bayburt":"Bayburt","Karaman":"Karaman","Kirikkale":"Kırıkkale","Batman":"Batman","Sirnak":"Şırnak","Bartin":"Bartın","Ardahan":"Ardahan","Igdir":"Iğdır","Yalova":"Yalova","Karabuk":"Karabük","Kilis":"Kilis","Osmaniye":"Osmaniye","Duzce":"Düzce"}'),l=JSON.parse('{"NSW":"New South Wales (Norfolk Island included)","ACT":"Australian Capital Territory","VIC":"Victoria","QLD":"Queensland","SA":"South Australia","WA":"Western Australia","TAS":"Tasmania","NT":"Northern Territory","CX":"Christmas Island","CC":"Cocos (Keeling) Islands"}'),u=JSON.parse('{"DL":"Delhi","HR":"Haryana","PB":"Punjab","CH":"Chandigarh","HP":"Himachal Pradesh","JK":"Jammu & Kashmir","UP":"Uttaar Pradesh","RJ":"Rajasthan","GJ":"Gujarath","MH":"Maharastra","MP":"Madhya Pradesh","CT":"Chhattisgarh","TG":"Telangana","AP":"Andhra Pradesh","KA":"Karnataka","TN":"Tamil Nadu","KL":"Kerala","WB":"West Bengal","OR":"Orissa","AS":"Assam","AR":"Arunachal Pradesh","ML":"Meghalaya","MN":"Manipur","MZ":"Mizoram","NL":"Nagaland","TR":"Tripura","BR":"Bihar","APS":"Army Postal Service"}') +;var c=a(29302),d=a(28805),m=a(89655),h=a(30798),p=a(40161),g=a(86629),v=a(16271);const C=[d.required,d.latin];function f(e){return Object.keys(e).sort((t,a)=>{const r=e[t],n=e[a];return rn?1:0}).map(t=>({content:e[t],value:t,id:t}))}const S={US:f(s),CA:f(o),TR:f(i),AU:f(l),IN:f(u)};function y(e){var t;const{value:a,onChange:s,countryCode:o,setValidator:i,isDefaultValid:l=!0}=e,{isValid:u,errors:f,validate:y,setValidateResults:E}=(0,m.useFieldValidation)(C),I=null!==(t=S[o])&&void 0!==t?t:[];return(0,r.useEffect)(()=>{const e=a?y(a)&&b(o,a):l;s(a,e)},[o]),(0,r.useEffect)(()=>{i&&i(()=>{const e=y(a),t=b(o,a);t||E((0,d.required)()),s(a,e&&t)})},[a,o]),r.createElement(c.OrderFieldContainer,{label:n.t("State/Region"),labelId:h.OrderInputsConsts.State},r.createElement(p.FormSelect,{"aria-labelledby":h.OrderInputsConsts.State,items:I,value:""===a?void 0:a,placeholder:r.createElement("span",{className:v.selectPlaceholder},n.t("Select state/region")),onChange:function(e){const t=y(null!=e?e:"");s(null!=e?e:"",t)},size:"large",stretch:!0,hasErrors:!u,errors:f,messagesPosition:g.MessagesPosition.Attached,className:v.selectButton}))}function b(e,t){return!!S[e]&&S[e].some(e=>e.value===t)}},89655:(e,t,a)=>{"use strict";a.d(t,{useFieldValidation:()=>n});var r=a(59496);function n(e){const[t,a]=(0,r.useState)(!0),[n,s]=(0,r.useState)([]);return{isValid:t,errors:n,validate:function(t){for(const r of e){const{isValid:e,errors:n}=r(t);if(!e)return a(e),s(n),e}return a(!0),s([]),!0},setValidateResults:function(e){a(e.isValid),s(e.errors)}}}},28805:(e,t,a)=>{"use strict";a.d(t,{required:()=>s,withoutNumbers:()=>o,latin:()=>i,email:()=>u,ascii:()=>d,cardholderName:()=>h,yourName:()=>p});var r=a(28353),n=a(18609);function s(e){const t=void 0!==e&&e.trim().length>0;return{isValid:t,errors:t?[]:[r.t("This field is required")]}}function o(e){const t=void 0!==e&&!/\d/.test(e);return{isValid:t,errors:t?[]:[r.t("This field only supports letters")]}}function i(e){const t=void 0!==e&&(0,n.isLatin)(e);return{isValid:t,errors:t?[]:[r.t("This field only supports English characters")]}}const l=/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i;function u(e){const t=e&&l.test(e);return{isValid:Boolean(t),errors:t?[]:[r.t("Please enter a valid email address")]}}const c=/^[\u0000-\u007f]*$/;function d(e){const t=Boolean(e)&&c.test(e||"");return{isValid:t,errors:t?[]:[r.t("Must contain only ASCII characters")]}}function m(e){return t=>{if(!t)return s(t);const a=t.trim().split(/\s/g).filter(e=>e.length),n=[];return a.length<2&&n.push(e),a[0]&&a[0].length>30&&n.push(r.t("First name mustn't be longer than 30 characters")),a[1]&&a[1].length>30&&n.push(r.t("Last name mustn't be longer than 30 characters")),{isValid:0===n.length,errors:n}}}const h=m(r.t("Your cardholder name seems incomplete")),p=m(r.t("Your name seems incomplete"))},53876:(e,t,a)=>{"use strict";a.d(t,{ZipInput:()=>d,postalCode:()=>h,getPostalCodeMaxLengthValidator:()=>p}) +;var r=a(59496),n=a(28353),s=a(29302),o=a(28805),i=a(89655),l=a(35587),u=a(52264);const c=[o.required,h,e=>p(e)];function d(e){const{value:t,onChange:a,setValidator:o,name:d}=e,{isValid:m,errors:h,validate:p}=(0,i.useFieldValidation)(c),g=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{const e=p(t);a(t,e)},[]),(0,r.useEffect)(()=>{o&&o(()=>{g.current=!0;const e=p(t);a(t,e)})},[t]),r.createElement(s.OrderFieldContainer,{label:n.t("Zip/Postal code"),for:d},r.createElement(l.OrderInput,{id:d,name:d,value:t,type:"text",onChange:function(e){g.current=!0;const t=p(e.currentTarget.value);a(e.currentTarget.value,t)},hasErrors:g.current&&!m,errors:h,inputClassName:u.zip}))}const m=/^(\d|\w)+(\d|\w|\s|-)*$/;function h(e){const t=Boolean(e)&&m.test(e||"");return{isValid:t,errors:t?[]:[n.t("Postal codes must start with a letter or a number, and can only contain letters, numbers, spaces, and hyphens.")]}}function p(e=""){const t=function(e){const t=e?e.split(""):[];return t.filter(e=>!g.test(e)).join("")}(e).trim().length<=9;return{isValid:t,errors:t?[]:[n.t("Postal codes must contain no more than nine letters or numbers")]}}const g=/\s|-/},66302:(e,t,a)=>{"use strict";a.d(t,{COUNTRY_WITH_STATE_SELECT:()=>N,OrderInputs:()=>k});var r=a(59496),n=a(97754),s=a.n(n),o=a(28353),i=a(29302),l=a(28805),u=a(89655),c=a(35587);const d=[l.required,l.latin];const m=[l.required,l.latin];var h=a(30798);const p=[l.required,l.latin];function g(e){const{value:t,onChange:a,setValidator:n,isDefaultValid:s=!0}=e,{isValid:l,errors:d,validate:m}=(0,u.useFieldValidation)(p);return(0,r.useEffect)(()=>{let e=s;t&&(e=m(t)),a(t,e)},[]),(0,r.useEffect)(()=>{n&&n(()=>{const e=m(t);a(t,e)})},[t]),r.createElement(i.OrderFieldContainer,{label:o.t("State/Region"),for:h.OrderInputsConsts.State},r.createElement(c.OrderInput,{name:h.OrderInputsConsts.State,value:t,type:"text",onChange:function(e){const t=m(e.currentTarget.value);a(e.currentTarget.value,t)},hasErrors:!l,errors:d}))}const v=[l.required,l.latin];var C=a(53876),f=a(11298),S=a(76974),y=a(68769),b=a(76266),E=a(16271);const I=[l.required];var T=a(18244);const O=[l.required,l.latin,l.yourName,l.ascii];const N=["US","CA","TR","AU","IN"],A={[h.OrderInputsConsts.BillToEmail]:function(e){const{value:t,onChange:a,setValidator:n,name:s}=e,{isValid:m,errors:h,validate:p,setValidateResults:g}=(0,u.useFieldValidation)(d);return(0,r.useEffect)(()=>{const e=!t||p(t);a(t,e)},[]),(0,r.useEffect)(()=>{n&&n(()=>{const e=p(t),r=(0,l.email)(t);r.isValid||g(r),a(t,e&&r.isValid)})},[t]),r.createElement(i.OrderFieldContainer,{label:o.t("Email"),for:s},r.createElement(c.OrderInput,{name:s,value:t,type:"text",onChange:function(e){const t=p(e.currentTarget.value);a(e.currentTarget.value,t)},hasErrors:!m,errors:h}))},[h.OrderInputsConsts.City]:function(e){const{value:t,onChange:a,setValidator:n,name:s}=e,{isValid:l,errors:d,validate:h}=(0,u.useFieldValidation)(m),p=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{const e=h(t);a(t,e)},[]),(0,r.useEffect)(()=>{n&&n(()=>{p.current=!0;const e=h(t);a(t,e)})},[t]), +r.createElement(i.OrderFieldContainer,{label:o.t("City"),for:s},r.createElement(c.OrderInput,{name:s,value:t,type:"text",onChange:function(e){p.current=!0;const t=h(e.currentTarget.value);a(e.currentTarget.value,t)},hasErrors:p.current&&!l,errors:d}))},[h.OrderInputsConsts.Street]:function(e){const{value:t,onChange:a,setValidator:n,name:s}=e,{isValid:l,errors:d,validate:m}=(0,u.useFieldValidation)(v),h=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{const e=m(t);a(t,e)},[]),(0,r.useEffect)(()=>{n&&n(()=>{h.current=!0;const e=m(t);a(t,e)})},[t]),r.createElement(i.OrderFieldContainer,{label:o.t("Street"),for:s},r.createElement(c.OrderInput,{name:s,value:t,type:"text",onChange:function(e){h.current=!0;const t=m(e.currentTarget.value);a(e.currentTarget.value,t)},hasErrors:h.current&&!l,errors:d}))},[h.OrderInputsConsts.Zip]:C.ZipInput,[h.OrderInputsConsts.Country]:function(e){const[t,a]=(0,r.useState)([]),[n,s]=(0,r.useState)(),{isValid:l,errors:c,validate:d}=(0,u.useFieldValidation)(I),{setValidator:m}=e,h=(0,S.useIsMounted)();(0,r.useEffect)(()=>{(0,f.getCountries)().then(t=>{const[r,n]=t,o=r.find(t=>t.code===e.value),i=r.find(e=>e.code===n),l=o||i||r[0];if(!h.current)return;const u=d(l.name),c=(0,b.isFeatureEnabled)("RU_SF_disable");a(c?r.filter(e=>!y.marketBlockedCountries.includes(e.code)):r);const m=c&&!y.marketBlockedCountries.includes(l.code)?l:r[0];s(m),e.onChange(m.code,u),e.onCountryChange&&e.onCountryChange(m.code)})},[]),(0,r.useEffect)(()=>{m&&m(()=>{if(!h.current)return;s(n);const t=d((null==n?void 0:n.name)||"");e.onChange((null==n?void 0:n.code)||"",t)})},[n]);const p=(0,r.useCallback)(t=>{s(t);const a=d(t.name);e.onChange(t.code,a),e.onCountryChange&&e.onCountryChange(t.code)},[]);return r.createElement(i.OrderFieldContainer,{label:o.t("Country"),for:e.name},r.createElement(r.Fragment,null,r.createElement(f.CountrySelect,{countries:t,onSelected:p,flagUrl:(null==n?void 0:n.iconUrl)||"",text:(null==n?void 0:n.name)||"",stretch:!0}),!l&&r.createElement("div",{className:E.errors},c)))},[h.OrderInputsConsts.Company]:function(e){const{value:t,onChange:a,name:n}=e;return r.createElement(i.OrderFieldContainer,{label:o.t("Company (optional)"),for:n},r.createElement(c.OrderInput,{name:n,value:t,type:"text",onChange:function(e){a(e.currentTarget.value,!0)}}))},[h.OrderInputsConsts.CardholderName]:function(e){const{value:t,onChange:a,setValidator:n,name:s,label:l,isDefaultValid:d=!0}=e,{isValid:m,errors:h,validate:p,setValidateResults:g}=(0,u.useFieldValidation)(O);(0,r.useEffect)(()=>{let e=d;t&&(e=p(t)),a(t,e)},[]),(0,r.useEffect)(()=>{n&&n(()=>{const e=p(t);a(t,e)}),g({isValid:!0,errors:[]})},[t]);const v=(0,r.useCallback)(e=>{const r=p(t);a(t,r)},[t]);return r.createElement(i.OrderFieldContainer,{label:l||o.t("Your name"),for:s},r.createElement(c.OrderInput,{name:s,value:t,type:"text",onChange:function(e){const t=p(e.currentTarget.value);a(e.currentTarget.value,t)},onBlur:v,hasErrors:!m,errors:h}))}};class k extends r.PureComponent{constructor(e){super(e),this._onSetValidator=e=>t=>{this.props.onSetValidators(e,t) +},this._onFieldChange=e=>(t,a)=>{void 0!==this.state[e]&&this.setState({[e]:{value:t,isValid:a}})};const t={},a=function(e,t){return t?{[h.OrderInputsConsts.State]:e.billing_state,[h.OrderInputsConsts.Country]:e.billing_country,[h.OrderInputsConsts.BillToEmail]:e.payment_email,[h.OrderInputsConsts.CardholderName]:e.fullName}:{[h.OrderInputsConsts.Zip]:e.billing_zip,[h.OrderInputsConsts.Street]:e.billing_street,[h.OrderInputsConsts.City]:e.billing_city,[h.OrderInputsConsts.State]:e.billing_state,[h.OrderInputsConsts.Country]:e.billing_country,[h.OrderInputsConsts.CountryCode]:e.billing_countrycode,[h.OrderInputsConsts.BillToEmail]:e.payment_email,[h.OrderInputsConsts.BillToStreet]:e.billing_street,[h.OrderInputsConsts.BillToZip]:e.billing_zip,[h.OrderInputsConsts.Company]:e.company,[h.OrderInputsConsts.Company]:e.company,[h.OrderInputsConsts.CardholderName]:e.fullName}}(e.billingInfo);Object.values(h.OrderInputsConsts).forEach(e=>{const r=a[e];t[e]={value:r,isValid:!0}}),this.state=t}componentDidMount(){this.props.onChange(this._getOnChangeData()),this.setState({showStateSelect:this._showStateField()})}componentDidUpdate(e,t){this.props.onChange(this._getOnChangeData());const a=this._showStateField();a&&!0!==t.showStateSelect?this.setState({showStateSelect:!0}):a||!1===t.showStateSelect||(!0===t.showStateSelect&&this.setState({[h.OrderInputsConsts.State]:{value:"",isValid:!0}}),this.setState({showStateSelect:!1}))}render(){const{addressTitle:e,showEmail:t,showAddress:a,className:n}=this.props,o=r.createElement(r.Fragment,null,this._getInput(h.OrderInputsConsts.Country),this._getStateField());return r.createElement("div",{className:s()(E.orderInputs,n)},r.createElement("div",{className:E.container},!a&&o,this._getInput(h.OrderInputsConsts.CardholderName),t&&this._getInput(h.OrderInputsConsts.BillToEmail)),a&&r.createElement(r.Fragment,null,e?r.createElement("h3",{className:E.titleText},e):"",r.createElement("div",{className:E.container},r.createElement(r.Fragment,null,o,this._getInput(h.OrderInputsConsts.City),this._getInput(h.OrderInputsConsts.Street),this._getInput(h.OrderInputsConsts.Company),this._getInput(h.OrderInputsConsts.Zip)))))}_getStateField(){var e,t;if(this.props.excludedFields.has(h.OrderInputsConsts.State))return null;const a=null===(e=this.state[h.OrderInputsConsts.Country])||void 0===e?void 0:e.value;let n;const s={value:(null===(t=this.state[h.OrderInputsConsts.State])||void 0===t?void 0:t.value)||"",onChange:this._onFieldChange(h.OrderInputsConsts.State),setValidator:this._onSetValidator(h.OrderInputsConsts.State),name:h.OrderInputsConsts.State};return n=this.state.showStateSelect?r.createElement(T.StateSelect,{countryCode:a,...s}):r.createElement(g,{...s}),n}_showStateField(){var e;const t=null===(e=this.state[h.OrderInputsConsts.Country])||void 0===e?void 0:e.value;return void 0!==this.state[h.OrderInputsConsts.Country]&&N.includes(t)}_getInput(e){var t;if(this.props.excludedFields.has(e))return null;const a=A[e];return r.createElement(a,{ +value:(null===(t=this.state[e])||void 0===t?void 0:t.value)||"",onChange:this._onFieldChange(e),setValidator:this._onSetValidator(e),onCountryChange:this.props.onCountryChange,name:e})}_getOnChangeData(){const{showStateSelect:e,...t}=this.state,a={isValid:Object.values(t).every(e=>e&&(null==e?void 0:e.isValid))};return Object.values(h.OrderInputsConsts).forEach(e=>{var t;const r=null===(t=this.state[e])||void 0===t?void 0:t.value;r&&(a[e]=r)}),a}}},30798:(e,t,a)=>{"use strict";var r;a.d(t,{OrderInputsConsts:()=>r}),function(e){e.Zip="ZIP",e.Street="STREET",e.State="STATE",e.City="CITY",e.Country="COUNTRY",e.CountryCode="COUNTRYCODE",e.BillToEmail="BILLTOEMAIL",e.BillToStreet="BILLTOSTREET",e.BillToZip="BILLTOZIP",e.Company="company",e.CardholderName="cardholderName",e.VatNumber="vatnumber"}(r||(r={}))},12107:(e,t,a)=>{"use strict";a.d(t,{trackTrialAction:()=>n});var r=a(91955);function n(e,t,a,n){(0,r.getTracker)().then(r=>{r&&r.trackTrial(e,t,a,n)})}},18609:(e,t,a)=>{"use strict";function r(e){return!/[\u0370-\u1FFF\u2E80-\uFDFF\uFE20-\uFFFF]/gu.test(e)}a.d(t,{isLatin:()=>r})},11298:(e,t,a)=>{"use strict";a.d(t,{CountrySelect:()=>S,getCountries:()=>y});var r=a(59496),n=a(97754),s=a(28353),o=a(22064),i=a(67029),l=a(78274),u=a(93211),c=a(9481),d=a(68721),m=a(26597),h=a(86629),p=a(93573);const g=r.lazy(async()=>({default:(await Promise.all([a.e(9129),a.e(2888),a.e(4956),a.e(7245),a.e(1e3),a.e(6973)]).then(a.bind(a,56973))).CountryList}));function v(e){const{isOpen:t,countries:a,onSelected:n,selectedCountry:s,onClose:o,className:i,attachment:l,targetAttachment:u}=e;return r.createElement(r.Fragment,null,t&&r.createElement(r.Suspense,{fallback:null},r.createElement(g,{className:i,onClose:o,selectedCountry:s,onSelected:n,countries:a,attachment:l,targetAttachment:u})))}var C=a(98898);let f;function S(e){var t;const{flagUrl:a,disabled:s=!1,countries:p,selectedCountry:g,onSelected:f,onToggle:S,className:y,dropDownClassName:b,stretch:E,dropdownAttachment:I,text:T,buttonSize:O="large","aria-labelledby":N,id:A,hasErrors:k,errors:V}=e,_=(0,h.useControlValidationLayout)({hasErrors:k,errors:V}),{isOpened:F,isFocused:M,buttonTabIndex:B,highlight:w,intent:x,open:D,close:K,toggle:R,buttonFocusBindings:z,onButtonClick:P,buttonRef:U,buttonAria:L}=(0,d.useControlDisclosure)({id:A,disabled:s}),H=(0,o.joinDomIds)(N,A),W=H.length>0?H:void 0,Y=(0,m.useKeyboardToggle)(R),Z=(0,m.useKeyboardClose)(F,K),j=(0,m.useKeyboardOpen)(F,D),q=(0,m.useKeyboardEventHandler)(Y,Z,j);return(0,r.useEffect)(()=>{S&&S(F)},[F]),r.createElement(r.Fragment,null,r.createElement(c.KeyboardDocumentListener,{keyCode:27,handler:K}),r.createElement(v,{className:b,onClose:K,selectedCountry:g,onSelected:f,countries:p,isOpen:F,attachment:null==I?void 0:I.attachment,targetAttachment:null==I?void 0:I.targetAttachment}),r.createElement(i.ControlSkeleton,{...z,...L,className:n(C.countrySelect,y),intent:null!==(t=_.intent)&&void 0!==t?t:x,highlight:w,isFocused:M,size:O,stretch:E,disabled:s,role:"button",tabIndex:B,"aria-haspopup":"listbox","aria-labelledby":W,ref:U,onClick:P, +onKeyDown:q,startSlot:a&&r.createElement(l.StartSlot,{className:C.flagSlot},r.createElement("img",{className:C.flag,src:a,role:"presentation"})),middleSlot:r.createElement(l.MiddleSlot,{className:C.textSlot},T),endSlot:r.createElement(l.EndSlot,null,r.createElement(u.Caret,{isDropped:F,disabled:s,className:C.caretSelectBtn}))}),_.renderedErrors)}async function y(){return f||(f=(0,p.getCountries)().then(e=>{const t=[];if(Object.keys(e.countries).forEach(a=>{t.push({code:a,name:s.t(e.countries[a]),iconUrl:`/static/images/svg/common/flags/flag-square-${a.toLowerCase()}.svg`})}),t.length%3!=0){const e=t.length%3,a=e?3-e:0;for(let e=0;e{"use strict";a.d(t,{FormSelect:()=>l});var r=a(59496),n=a(58368),s=a(86629),o=a(47201),i=a(66092);const l=r.forwardRef((e,t)=>{var a;const{intent:l,onFocus:u,onBlur:c,onMouseOver:d,onMouseOut:m,hasErrors:h,hasWarnings:p,errors:g,warnings:v,alwaysShowAttachedErrors:C,messagesPosition:f,messagesAttachment:S,inheritMessagesWidthFromTarget:y,...b}=e,E=(0,s.useControlValidationLayout)({hasErrors:h,hasWarnings:p,errors:g,warnings:v,alwaysShowAttachedErrors:C,messagesPosition:f,messagesAttachment:S,iconHidden:!0,inheritMessagesWidthFromTarget:y}),I=(0,o.createSafeMulticastEventHandler)(u,E.onFocus),T=(0,o.createSafeMulticastEventHandler)(c,E.onBlur),O=(0,o.createSafeMulticastEventHandler)(d,E.onMouseOver),N=(0,o.createSafeMulticastEventHandler)(m,E.onMouseOut);return r.createElement(r.Fragment,null,r.createElement(n.Select,{...b,intent:null!==(a=E.intent)&&void 0!==a?a:l,onFocus:I,onBlur:T,onMouseOver:O,onMouseOut:N,ref:(0,i.useMergedRefs)([E.containerReference,t])}),E.renderedErrors)});l.displayName="FormSelect"},96722:(e,t,a)=>{"use strict";a.d(t,{Label:()=>l});var r=a(59496),n=a(97754),s=a.n(n),o=a(78274),i=a(28335);function l(e){const{htmlFor:t,children:a,className:n,id:l,...u}=e;return r.createElement(o.BeforeSlot,{...u,className:s()(i.label,n)},r.createElement("label",{id:l,htmlFor:t},a))}},8003:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/3812.21e37b91c0c961133d11.js b/charting_library/bundles/3812.21e37b91c0c961133d11.js new file mode 100644 index 00000000..ef9b67d2 --- /dev/null +++ b/charting_library/bundles/3812.21e37b91c0c961133d11.js @@ -0,0 +1,6 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3812],{72535:(t,e,n)=>{"use strict";var r=n(56237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(t){return r.isMemo(t)?a:u[t.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var s=Object.defineProperty,p=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(d){var o=h(n);o&&o!==d&&t(e,o,r)}var a=p(n);l&&(a=a.concat(l(n)));for(var u=c(e),v=c(n),m=0;m{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},27720:(t,e,n)=>{var r=n(70901);t.exports=h,t.exports.parse=i,t.exports.compile=function(t,e){return u(i(t,e),e)},t.exports.tokensToFunction=u,t.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,e){for(var n,r=[],i=0,a=0,u="",p=e&&e.delimiter||"/";null!=(n=o.exec(t));){var l=n[0],f=n[1],h=n.index;if(u+=t.slice(a,h),a=h+l.length,f)u+=f[1];else{var d=t[a],v=n[2],m=n[3],y=n[4],g=n[5],x=n[6],b=n[7];u&&(r.push(u),u="");var w=null!=v&&null!=d&&d!==v,E="+"===x||"*"===x,C="?"===x||"*"===x,P=n[2]||p,A=y||g;r.push({name:m||i++,prefix:v||"",delimiter:P,optional:C,repeat:E,partial:w,asterisk:!!b,pattern:A?s(A):b?".*":"[^"+c(P)+"]+?"})}}return a{"use strict";n.d(e,{MemoryRouter:()=>k,Redirect:()=>S,Route:()=>I,Switch:()=>V,useHistory:()=>J,useParams:()=>G});var r=n(55682),o=n(59496),i=n(19036),a=n.n(i),u=n(19624);function c(t){return"/"===t.charAt(0)}function s(t,e){for(var n=e,r=n+1,o=t.length;r=0;f--){var h=o[f];"."===h?s(o,f):".."===h?(s(o,f),l++):l&&(s(o,f),l--)}if(!u)for(;l--;l)o.unshift("..");!u||""===o[0]||o[0]&&c(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function l(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}const f=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"==typeof e||"object"==typeof n){var r=l(e),o=l(n);return r!==e||o!==n?t(r,o):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1};function h(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function d(t,e,n,r){var o;"string"==typeof t?(o=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(o=(0,u.default)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="", +o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=p(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function v(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;re?n.splice(e,n.length-e,r):n.push(r),l({action:"PUSH",location:r,index:e,entries:n})}}))},replace:function(t,e){var r=d(t,e,f(),w.location);p.confirmTransitionTo(r,"REPLACE",n,(function(t){t&&(w.entries[w.index]=r,l({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(t){var e=w.index+t;return e>=0&&e{"use strict";n.d(e,{default:()=>o});var r=n(11430);function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,r.default)(t,e)}}}]); \ No newline at end of file diff --git a/charting_library/bundles/2385.a7490fb24192a7cb071d.css b/charting_library/bundles/3848.d011e1be1e35f2c09044.css similarity index 51% rename from charting_library/bundles/2385.a7490fb24192a7cb071d.css rename to charting_library/bundles/3848.d011e1be1e35f2c09044.css index fa76821f..2a0b013e 100644 --- a/charting_library/bundles/2385.a7490fb24192a7cb071d.css +++ b/charting_library/bundles/3848.d011e1be1e35f2c09044.css @@ -1 +1 @@ -.button-1ARG85Og{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;cursor:default;display:flex;flex:none;height:100%;justify-content:center;margin:0;outline:none!important;padding:0;width:21px}@media (any-hover:hover){.button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#f0f3fa}html.theme-dark .button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#363a45}}.button-1ARG85Og.hidden-1ARG85Og{display:none}.icon-1ARG85Og{align-items:center;display:flex;flex:none;justify-content:center;transition:transform .35s ease}.icon-1ARG85Og.dropped-1ARG85Og{transform:rotate(180deg)}.button-h8C3IU2n{cursor:default;-webkit-user-select:none;user-select:none}.button-children-h8C3IU2n{display:block;overflow:hidden;padding:0 2px 0 6px;text-overflow:ellipsis;white-space:nowrap;width:100%}.button-children-h8C3IU2n.hiddenArrow-h8C3IU2n{padding-right:6px}.invisibleFocusHandler-h8C3IU2n{height:0;opacity:0;pointer-events:none;width:0}.placeholder-fKHYe1Lk{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .placeholder-fKHYe1Lk{color:#434651} \ No newline at end of file +.button-1ARG85Og{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;cursor:default;display:flex;flex:none;height:100%;justify-content:center;margin:0;outline:none!important;padding:0;width:21px}@media (any-hover:hover){.button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#f0f3fa}html.theme-dark .button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#363a45}}.button-1ARG85Og.hidden-1ARG85Og{display:none}.icon-1ARG85Og{align-items:center;display:flex;flex:none;justify-content:center;transition:transform .35s ease}.icon-1ARG85Og.dropped-1ARG85Og{transform:rotate(180deg)} \ No newline at end of file diff --git a/charting_library/bundles/2385.a7490fb24192a7cb071d.rtl.css b/charting_library/bundles/3848.d011e1be1e35f2c09044.rtl.css similarity index 57% rename from charting_library/bundles/2385.a7490fb24192a7cb071d.rtl.css rename to charting_library/bundles/3848.d011e1be1e35f2c09044.rtl.css index 91e6f7a8..998ba84c 100644 --- a/charting_library/bundles/2385.a7490fb24192a7cb071d.rtl.css +++ b/charting_library/bundles/3848.d011e1be1e35f2c09044.rtl.css @@ -1 +1 @@ -.button-1ARG85Og{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;cursor:default;display:flex;flex:none;height:100%;justify-content:center;margin:0;outline:none!important;padding:0;width:21px}@media (any-hover:hover){.button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#f0f3fa}html.theme-dark .button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#363a45}}.button-1ARG85Og.hidden-1ARG85Og{display:none}.icon-1ARG85Og{align-items:center;display:flex;flex:none;justify-content:center;transition:transform .35s ease}.icon-1ARG85Og.dropped-1ARG85Og{transform:rotate(-180deg)}.button-h8C3IU2n{cursor:default;-webkit-user-select:none;user-select:none}.button-children-h8C3IU2n{display:block;overflow:hidden;padding:0 6px 0 2px;text-overflow:ellipsis;white-space:nowrap;width:100%}.button-children-h8C3IU2n.hiddenArrow-h8C3IU2n{padding-left:6px}.invisibleFocusHandler-h8C3IU2n{height:0;opacity:0;pointer-events:none;width:0}.placeholder-fKHYe1Lk{-webkit-text-fill-color:currentColor;color:#a3a6af;opacity:1}html.theme-dark .placeholder-fKHYe1Lk{color:#434651} \ No newline at end of file +.button-1ARG85Og{align-items:center;background-color:initial;border:none;border-radius:2px;box-sizing:border-box;cursor:default;display:flex;flex:none;height:100%;justify-content:center;margin:0;outline:none!important;padding:0;width:21px}@media (any-hover:hover){.button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#f0f3fa}html.theme-dark .button-1ARG85Og:hover:not(.disabled-1ARG85Og){background-color:#363a45}}.button-1ARG85Og.hidden-1ARG85Og{display:none}.icon-1ARG85Og{align-items:center;display:flex;flex:none;justify-content:center;transition:transform .35s ease}.icon-1ARG85Og.dropped-1ARG85Og{transform:rotate(-180deg)} \ No newline at end of file diff --git a/charting_library/bundles/386646a0d8b2c0e75d201d07083beb35.svg b/charting_library/bundles/386646a0d8b2c0e75d201d07083beb35.svg new file mode 100644 index 00000000..077443a1 --- /dev/null +++ b/charting_library/bundles/386646a0d8b2c0e75d201d07083beb35.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3952276d502a2b3659f3cb3c163e9541.svg b/charting_library/bundles/3952276d502a2b3659f3cb3c163e9541.svg new file mode 100644 index 00000000..bfc367aa --- /dev/null +++ b/charting_library/bundles/3952276d502a2b3659f3cb3c163e9541.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3aeb0bb0575de40834fc666660380ae0.svg b/charting_library/bundles/3aeb0bb0575de40834fc666660380ae0.svg new file mode 100644 index 00000000..954d9d37 --- /dev/null +++ b/charting_library/bundles/3aeb0bb0575de40834fc666660380ae0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3aedcdb787ab2003b4f84578eabe8839.svg b/charting_library/bundles/3aedcdb787ab2003b4f84578eabe8839.svg new file mode 100644 index 00000000..e0d50e27 --- /dev/null +++ b/charting_library/bundles/3aedcdb787ab2003b4f84578eabe8839.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3b2b883e642979810780b787f4769e95.jpeg b/charting_library/bundles/3b2b883e642979810780b787f4769e95.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..d8464803f807dbd74a252c67fc2878bff37ee623 GIT binary patch literal 86743 zcmeFZ2~-nVw?A4{Nq{6084~a!*d!2!gh?Aj;HqH=qhJ!|AfrPwiOh6Es|7NKh6ZF3 zTMd(h(V!p^L?TFwiroHpwUaoy#qFINYEhvxsm@&Bt`=tGB74k|kRu6U;= zD+X6Edq_d!zxfOO?H4-gFZ2&z=wv^Zv!V}IL7RN@Z|JChLuaHWrYic3ed&KNG5HHE zRnY%@G(PRiSYO%~jyD}n@b^`G1}WaUKnlPD+yEy9{daADljpGp0NAwz0En``?Tb1C z0DXA?u;t0$_8D>kU~?`2T>UjMGCA^3W{`?4bmRyCd}sjx)nEY76afGx10FyEa1gLiP&)uCU^}q$^HabXfWR;9%NF|5kccl^ z6cUL*Dxs8={(LK=Rg{#`%1TN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9ZaIlpb zfNfuu{wfpsh|?{y*1E3q7(TFwhcawNOTb1+qd@mz7OlclL|~pI#*Pp00kRhe;RjR{ zkIpW2uT|rAo745zap4=|grntX^!!xOe#qI;Bc%se@RvKI$d+aUiG{F}GZzA57LZa$ zUrD|qG$mqrmLadFJ0*-$?lMssU}n+-;7CspEIQ{^uE7A~5=bQ$L_A>hj3&Y@SRPk+ z^JpJow24puvc0FxDx+!e<_pWbz-4EF9nn$6A#)}S zn_Uqq<-Q^MJa?5;T&0mcV*K2CDCZoz3E%h?IQ=%{w!G34hTt@S0D8kEugW@9%8VqBeyP>+t`eNSnms>eC$P9P=$9_Lzu zq{H!k^HZ6^@0xG9U{tIXeTE87>w046Qt)Z8(2U|GabUUkS$cl<0-*VMwdt2$Sf}5F z3{nB)6^@~I($X9wJZ{!^MIaNL2te8ISc~5x4 zG@)yJnq&HOQPajm;K}FHw?O(l-(GU){}ueow0x{rL&<5PWk>JSFLra0V3TcNqD6#0 do{@AoS@@D-cZB}uE}QM&Z \ No newline at end of file diff --git a/charting_library/bundles/3ce97881321c8c909b3d05f641fad866.svg b/charting_library/bundles/3ce97881321c8c909b3d05f641fad866.svg new file mode 100644 index 00000000..4085721f --- /dev/null +++ b/charting_library/bundles/3ce97881321c8c909b3d05f641fad866.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3d1dbbd08f14657e981c2a0759373a97.svg b/charting_library/bundles/3d1dbbd08f14657e981c2a0759373a97.svg new file mode 100644 index 00000000..9a273aa7 --- /dev/null +++ b/charting_library/bundles/3d1dbbd08f14657e981c2a0759373a97.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3daf0fa39e9e67bfc0f12166dd01adfd.svg b/charting_library/bundles/3daf0fa39e9e67bfc0f12166dd01adfd.svg new file mode 100644 index 00000000..ac4f4c66 --- /dev/null +++ b/charting_library/bundles/3daf0fa39e9e67bfc0f12166dd01adfd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3f0b266c14a3e0a41685729a6dd63515.svg b/charting_library/bundles/3f0b266c14a3e0a41685729a6dd63515.svg new file mode 100644 index 00000000..6ea3a550 --- /dev/null +++ b/charting_library/bundles/3f0b266c14a3e0a41685729a6dd63515.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/3fd81bada8bbd48683f94d307a01fac4.svg b/charting_library/bundles/3fd81bada8bbd48683f94d307a01fac4.svg new file mode 100644 index 00000000..e0dcb3f7 --- /dev/null +++ b/charting_library/bundles/3fd81bada8bbd48683f94d307a01fac4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4002.3b0ae1c4e1bdb1e18c74.js b/charting_library/bundles/4002.3b0ae1c4e1bdb1e18c74.js new file mode 100644 index 00000000..130b9b40 --- /dev/null +++ b/charting_library/bundles/4002.3b0ae1c4e1bdb1e18c74.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4002,9725],{89725:(t,s,e)=>{e.r(s),e.d(s,{createDialog:()=>h});var i=e(976),o=e(77544);function h(t){const s=t.type||"popup";return delete t.type,"modal"===s?new i.TVModal(t):new o.TVPopup(t)}},976:(t,s,e)=>{e.d(s,{TVModal:()=>v});var i=e(28353),o=e(68587),h=e(49483),n=e(43989),r=e(51536),l=e(4185),a=e(85739),d=e(25760),c=e(23127),p=e(25977);let g=[];const u={ajax:{},closingDuration:o.dur/2,fixBodyState:!0,overlayTemplate:'

',containerTemplate:'
',ajaxErrorTemplate:`
${(0,i.t)("Error")}
`};class v extends r.TVDialogAbstract{constructor(t={}){if(super({...u,...t}),this.$overlay=c(this.options.overlayTemplate),this.$modalWrap=c(this.options.containerTemplate),this.$body=this.$modalWrap.find(".tv-dialog__modal-body").append(this.$el),this.options.closeOnOutsideClick&&this.$overlay.add(this.$modalWrap).click(t=>{this.isEventOut(t)&&this.close()}),this.on("change:zIndex",()=>{this.$overlay.css("z-index",this.zIndex),this.$modalWrap.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$overlay.remove(),this.$modalWrap.remove()};this.opened?(this.close(),setTimeout(t,this.options.closingDuration)):t()}),this.on("beforeOpen",()=>{g.push(this)}),this.options.ajax.url){const t=this.options.ajax.beforeSend||c.noop,s=this.options.ajax.success||!1,e=this.options.ajax.error||c.noop;c.extend(this.options.ajax,{beforeSend:()=>{this.trigger("beforeLoading",[this]),this.startSpinner(),t(this)},success:t=>{this.trigger("afterLoading",[this]),this.renderContent(s?s(this,t):t).showContent(),this.trigger("afterLoadingShow",[this])},error:()=>{this.renderContent(this.options.ajaxErrorTemplate),e(this),this.trigger("errorLoading",[this])}})}this.on("error",(t,s)=>{this.$modalWrap[0].getBoundingClientRect().height!this.opened,modal:!0}),this.options.closeOnEsc&&this._hotkeys.add({desc:"close",hotkey:27,handler:()=>this.close()}));const t=()=>{this.focus(),this.toTop(),this.trigger("beforeOpen",[this]),c(this.$wrap).append(this.$overlay.addClass("i-hidden i-closed").css("z-index",this.zIndex)).append(this.$modalWrap.addClass("i-hidden i-closed").css("z-index",this.zIndex)),this.$overlay.removeClass("i-hidden"),setTimeout(()=>{this.$overlay.removeClass("i-closed")},20),this.options.ajax.url?this.ajaxRequest=c.ajax(this.options.ajax):this.showContent()};return h.isSafari?setTimeout(()=>t(),50):t(),this}close(){if(this.opened)return this.opened=!1, +this._keyboardBinderLockId&&a.enable(this._keyboardBinderLockId),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(()=>{this.$modalWrap.addClass("i-hidden").detach(),this.$overlay.addClass("i-hidden").detach(),g=p.without(g,this),this.options.fixBodyState&&(0,n.setFixedBodyState)(!1),this.trigger("afterClose",[this]),this.unfocus(),g.length>0&&g[g.length-1].focus(),this.options.destroyOnClose&&this.destroy()},this.options.closingDuration),this}showContent(){return this.$modalWrap.removeClass("i-hidden"),setTimeout(()=>{this.$modalWrap.removeClass("i-closed")},20),setTimeout(()=>{this.trigger("afterOpen",[this]),this.spinner&&this.stopSpinner()},.75*o.dur+20),this}hideContent(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}startSpinner(){return this.spinner=new l.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}stopSpinner(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}},77544:(t,s,e)=>{e.d(s,{TVPopup:()=>g});var i=e(68587),o=e(52150),h=e(51536),n=e(30812),r=e(35190),l=e(25760),a=e(23127);const d=a("body"),c=a(window),p={closeOnClickAtOtherDialogs:!0,draggable:!0,scrollWrap:'
',scrollWrapInner:'
',withScroll:!0};class g extends h.TVDialogAbstract{constructor(t={}){super({...p,...t}),this.$scrollWrap=this.$content.hasClass("js-dialog__scroll-wrap")?this.$content:this.$content.find(".js-dialog__scroll-wrap"),this.$scrollWrap.length?this.$scrollWrapInner=this.$scrollWrap.children().first():(this.$scrollWrap=this.$content.wrap(a(this.options.scrollWrap)).parent(),this.$scrollWrapInner=this.$content.wrap(a(this.options.scrollWrapInner)).parent()),this.$actions&&this.$scrollWrap.addClass("i-with-actions"),this.options.withScroll&&(this.scroll=new n.SidebarCustomScroll(this.$scrollWrap[0],this.$scrollWrapInner[0]),this.scroll.scrolled.subscribe(null,()=>this.trigger("scroll"))),this.$scrollWrap.css("overflow","");const s=this.getDialogId();this.$el.addClass("tv-dialog--popup i-closed i-hidden"),this.options.width&&this.$el.css({width:"calc(100% - 20px)","max-width":this.options.width}),this._hotkeys=l.createGroup({desc:"Dialog",isDisabled:()=>!this.opened,modal:!1}),this.options.closeOnEsc&&this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this.close()}),this.$el.on("mousedown touchstart",this.toTop.bind(this)),this.options.closeOnOutsideClick&&(this._preventClick=!0,this.on("beforeOpen",()=>{setTimeout(()=>{this.opened&&(a(document).on("mousedown touchstart",()=>{this._preventClick=!1}),a(document).on("click.tv-popup-"+s,t=>{if(this._preventClick)return;const s=a(t.target).closest(".js-dialog");(this.options.closeOnClickAtOtherDialogs||0===s.length)&&this.isEventOut(t)&&this.close()}))},0)}),this.on("beforeClose",()=>a(document).off("click.tv-popup-"+s))),this.on("change:zIndex",()=>{ +this.$el.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$el.remove(),this._hotkeys.destroy()};this.opened?(this.close(),setTimeout(t,i.dur/2)):t()})}open(){return this.opened||(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.$wrap).removeClass("i-hidden").css((()=>{this.calcHeight();const t=c.height(),s=c.width(),e=this.$el.height(),i=this.$el.width();let o=this.options.position;return o||(o={top:t/2-e/2,left:s/2-i/2}),o.top>t-e&&(o.top=t-e),o.left>s-i&&(o.left=s-i),o.top<10&&(o.top=10),o.left<10&&(o.left=10),o})()),this.focus(),this.toTop(),this._doOpenAnimation().then(()=>{this.opened&&(this.$el.removeClass("i-closed"),this.options.draggable&&((0,r.lazyJqueryUI)(this.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing",stop:(t,s)=>{this.trigger("dragEnd",[this])}}),this.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),this.trigger("afterOpen",[this]))}),c.on("resize.tv-popup-"+this.getDialogId(),()=>{this.calcHeight(),this.fixPos()})),this}close(){if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(()=>{this.opened||((0,r.lazyJqueryUI)(this.$el).draggable("instance").then(t=>{t&&t.destroy()}),this.$el.addClass("i-hidden").detach(),d.css("cursor","auto"),this.trigger("afterClose",[this]),this.options.destroyOnClose&&this.destroy())}),c.off("resize.tv-popup-"+this.getDialogId()),this}hide(){this.$el.addClass("i-hidden")}show(){this.$el.removeClass("i-hidden")}fixPos(){const t=this.$el[0].getBoundingClientRect(),s={};t.bottom>o.mediaState.height-10&&(s.top=o.mediaState.height-10-t.height,s.top<10&&(s.top=10)),t.right>o.mediaState.width-10&&(s.left=o.mediaState.width-10-t.width,s.left<10&&(s.left=10)),(s.top||s.left)&&this.$el.css(s)}calcHeight(){const t=this.$el[0].getBoundingClientRect(),s=this.$scrollWrapInner[0].getBoundingClientRect(),e=this.$scrollWrap[0].getBoundingClientRect();let i=this.options.height&&this.options.heighti)&&(i-=t.height-e.height,i<60&&(i=60),this.$scrollWrap.css({height:i})),this.options.withScroll&&this.scroll.resize();const n=i{e.d(s,{mediaState:()=>a});var i=e(85459),o=e.n(i),h=e(69677),n=e(74664),r=e(68722);class l extends(o()){constructor(){super(),this.width=0,this.height=0,this.device=null, +this.breakpoints=n.breakpoints,this._checkDevice(),window.addEventListener("resize",this._checkDevice),Object.entries(n.breakpoints).sort(([t,s],[e,i])=>s-i).forEach(([t,s],e,i)=>{let o;if(0!==e){const[,t]=i[e-1];o=t+1}else o=0;const h=(0,r.matchMediaMinMax)(o,s);h.matches&&this._setNewDevice(t),h.addListener(s=>{s.matches&&(this._checkDevice(),this._setNewDevice(t))})}),(0,h.whenDocumentReady)(this._checkDevice.bind(this)),this.isPhoneSizeDevice.bind(this)}isPhoneSizeDevice(){return"phone"===this.device||"phone-vertical"===this.device}_checkDevice(){this.width=window.innerWidth,this.height=window.innerHeight}_setNewDevice(t){const s=this.device;this.device=t,this.trigger("changeDevice",[t,s])}}const a=new l}}]); \ No newline at end of file diff --git a/charting_library/bundles/4194.f5256f014a8f2810c953.rtl.css b/charting_library/bundles/4194.f5256f014a8f2810c953.rtl.css deleted file mode 100644 index a2ba428f..00000000 --- a/charting_library/bundles/4194.f5256f014a8f2810c953.rtl.css +++ /dev/null @@ -1 +0,0 @@ -.dialog-Nh5Cqdeo{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:right}html.theme-dark .dialog-Nh5Cqdeo{background-color:#1e222d}.dialog-Nh5Cqdeo.rounded-Nh5Cqdeo{border-radius:6px}.dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-Nh5Cqdeo.shadowed-Nh5Cqdeo{box-shadow:0 2px 4px #0006}.dialog-Nh5Cqdeo.fullscreen-Nh5Cqdeo{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#fff}html.theme-dark .dialog-Nh5Cqdeo.darker-Nh5Cqdeo{background-color:#131722}.backdrop-Nh5Cqdeo{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-Nh5Cqdeo{background-color:#0c0e15}.dialog-hxnnZcZ6{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-hxnnZcZ6 [data-dragg-area=true]{cursor:grab}.dialog-hxnnZcZ6 [data-dragg-area=true].dragging-hxnnZcZ6{cursor:grabbing}.dialogAnimatedAppearance-hxnnZcZ6{animation-duration:.3s;animation-name:dialogAnimation-hxnnZcZ6;transform-origin:100% 0}@keyframes dialogAnimation-hxnnZcZ6{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-hxnnZcZ6{color:#fff;font-size:14px;line-height:21px;max-width:540px;position:absolute;right:50%;top:-20px;transform:translateX(50%);width:max-content}@media screen and (max-width:768px){.dialogTooltip-hxnnZcZ6{max-width:240px}} \ No newline at end of file diff --git a/charting_library/bundles/428cfc463b541dfa1321f35af861fada.svg b/charting_library/bundles/428cfc463b541dfa1321f35af861fada.svg new file mode 100644 index 00000000..adaa5b85 --- /dev/null +++ b/charting_library/bundles/428cfc463b541dfa1321f35af861fada.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4364.857d262773326a44c55e.js b/charting_library/bundles/4364.857d262773326a44c55e.js new file mode 100644 index 00000000..3840b248 --- /dev/null +++ b/charting_library/bundles/4364.857d262773326a44c55e.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4364],{59142:function(e,t){var n,r,o;r=[t],void 0===(o="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV", +"variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},62092:e=>{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY",black:"black-MuZZSHRY",white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},41227:e=>{e.exports={actionButton:"actionButton-EGu7SRYD",small:"small-EGu7SRYD",hiddenTitle:"hiddenTitle-EGu7SRYD"}},87992:e=>{e.exports={popupDialog:"popupDialog-2AC2DTdZ",wrap:"wrap-2AC2DTdZ",main:"main-2AC2DTdZ",small:"small-2AC2DTdZ",title:"title-2AC2DTdZ",content:"content-2AC2DTdZ",html:"html-2AC2DTdZ",footer:"footer-2AC2DTdZ",close:"close-2AC2DTdZ"}},97737:(e,t,n)=>{"use strict";n.d(t,{AnchorButton:()=>d,Button:()=>c});var r=n(59496),o=n(71036);function i(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function s(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function a(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function l(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:l,...c}=e;return{...c,color:s(t),size:a(n),variant:i(r),stretch:o,startIcon:l}}function c(e){return r.createElement(o.SquareButton,{...l(e)})}function u(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:l,...c}=e;return{...c,color:s(t),size:a(n),variant:i(r),stretch:o,startIcon:l}}function d(e){return r.createElement(o.SquareAnchorButton,{...u(e)})}},71036:(e,t,n)=>{"use strict";n.d(t,{SquareAnchorButton:()=>f,SquareButton:()=>p});var r=n(59496),o=n(97754),i=n(95604),s=n(9745),a=n(6539),l=n.n(a);function c(e){const{color:t="brand",size:n="medium",variant:r="primary",stretch:s=!1,icon:a,startIcon:c,endIcon:u,iconOnly:d=!1,className:m,isGrouped:h,cellState:p,disablePositionAdjustment:v=!1}=e,f=function(e){ +let t="";return 0!==e&&(1&e&&(t=o(t,l()["no-corner-top-left"])),2&e&&(t=o(t,l()["no-corner-top-right"])),4&e&&(t=o(t,l()["no-corner-bottom-right"])),8&e&&(t=o(t,l()["no-corner-bottom-left"]))),t}((0,i.getGroupCellRemoveRoundBorders)(p));return o(m,l().button,l()["size-"+n],l()["color-"+t],l()["variant-"+r],s&&l().stretch,(a||c)&&l()["with-start-icon"],u&&l()["with-end-icon"],d&&l()["icon-only"],f,h&&l().grouped,h&&!v&&l()["adjust-position"],h&&p.isTop&&l()["first-row"],h&&p.isLeft&&l()["first-col"])}function u(e){const{size:t,startIcon:n,icon:o,iconOnly:i,children:a,endIcon:c}=e,u=null!=n?n:o;return r.createElement(r.Fragment,null,u&&"xsmall"!==t&&r.createElement(s.Icon,{icon:u,className:l()["start-icon-wrap"]}),a&&r.createElement("span",{className:l().content},a),c&&!i&&"xsmall"!==t&&r.createElement(s.Icon,{icon:c,className:l()["end-icon-wrap"]}))}var d=n(86332),m=n(90186);function h(e){const{className:t,color:n,variant:r,size:o,stretch:i,animated:s,icon:a,iconOnly:l,startIcon:c,endIcon:u,...d}=e;return{...d,...(0,m.filterDataProps)(e),...(0,m.filterAriaProps)(e)}}function p(e){const{reference:t,...n}=e,{isGrouped:o,cellState:i,disablePositionAdjustment:s}=(0,r.useContext)(d.ControlGroupContext),a=c({...n,isGrouped:o,cellState:i,disablePositionAdjustment:s});return r.createElement("button",{...h(n),className:a,ref:t},r.createElement(u,{...n}))}function v(e){const{className:t,color:n,variant:r,size:o,stretch:i,animated:s,icon:a,iconOnly:l,startIcon:c,endIcon:u,...d}=e;return{...d,...(0,m.filterDataProps)(e),...(0,m.filterAriaProps)(e)}}function f(e){const{reference:t}=e,{isGrouped:n,cellState:o,disablePositionAdjustment:i}=(0,r.useContext)(d.ControlGroupContext),s=c({...e,isGrouped:n,cellState:o,disablePositionAdjustment:i});return r.createElement("a",{...v(e),className:s,ref:t},r.createElement(u,{...e}))}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>r});const r=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function r(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>r})},76974:(e,t,n)=>{"use strict";n.d(t,{useIsMounted:()=>o});var r=n(59496);const o=()=>{const e=(0,r.useRef)(!1);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>o});var r=n(59496);const o=r.forwardRef((e,t)=>{const{icon:n="",...o}=e;return r.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:n}})})},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>c});var r,o=n(59496),i=n(97754),s=n(74991),a=n(62092),l=n.n(a);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class c extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,s=i(l().item,l()[t],l()[n]);return o.createElement("span",{ +className:i(l().loader,r&&l().static,this._getStateClass(),e)},o.createElement("span",{className:s}),o.createElement("span",{className:s}),o.createElement("span",{className:s}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:r.Active})},2*s.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return l()["loader-initial"];case r.Appear:return l()["loader-appear"];default:return""}}}},90186:(e,t,n)=>{"use strict";function r(e){return i(e,s)}function o(e){return i(e,a)}function i(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function s(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterDataProps:()=>r,filterAriaProps:()=>o,filterProps:()=>i,isDataAttribute:()=>s,isAriaAttribute:()=>a})},39640:(e,t,n)=>{"use strict";function r(e,t,n,r,o){function i(o){if(e>o.timeStamp)return;const i=o.target;void 0!==n&&null!==t&&null!==i&&i.ownerDocument===r&&(t.contains(i)||n(o))}return o.click&&r.addEventListener("click",i,!1),o.mouseDown&&r.addEventListener("mousedown",i,!1),o.touchEnd&&r.addEventListener("touchend",i,!1),o.touchStart&&r.addEventListener("touchstart",i,!1),()=>{r.removeEventListener("click",i,!1),r.removeEventListener("mousedown",i,!1),r.removeEventListener("touchend",i,!1),r.removeEventListener("touchstart",i,!1)}}n.d(t,{addOutsideEventListener:()=>r})},68722:(e,t,n)=>{"use strict";n.d(t,{getScrollbarWidth:()=>r,matchMediaMinMax:()=>o,setStyle:()=>i,getCSSProperty:()=>s,getCSSPropertyNumericValue:()=>a});const r=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),r=n.style;r.visibility="hidden",r.width="100px",r.msOverflowStyle="scrollbar",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",n.appendChild(i);const s=i.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=o-s}return e}})();function o(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function i(e,t,n){null!==e&&e.style.setProperty(t,n)}function s(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function a(e,t){return parseInt(s(e,t))}},43989:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>s});var r=n(68722);let o=0,i=!1;function s(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++o){const e=(0,r.getCSSProperty)(t,"overflow"),o=(0,r.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,r.setStyle)(n,"right",(0,r.getScrollbarWidth)()+"px"),t.style.paddingRight=o+(0,r.getScrollbarWidth)()+"px",i=!0),t.classList.add("i-no-scroll")}else if(!e&&o>0&&0==--o&&(t.classList.remove("i-no-scroll"),i)){(0,r.setStyle)(n,"right","0px");let e=0;0, +t.scrollHeight<=t.clientHeight&&(e-=(0,r.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",i=!1}}},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(96746);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},87456:(e,t,n)=>{"use strict";n.d(t,{SimpleDialogContext:()=>r});const r=n(59496).createContext({isSmallTablet:!1,dialogCloseHandler:()=>{}})},96050:(e,t,n)=>{"use strict";n.d(t,{SimpleDialog:()=>E});var r=n(59496),o=n(97754),i=n(9745),s=n(76422),a=n(81e3),l=n(68335),c=n(90692),u=n(52092),d=n(24437),m=n(86656),h=n(97737),p=n(26996),v=n(88537),f=n(76974),g=n(50655),w=n(87456),C=n(41227);function y(e){const{disabled:t,name:n,title:i,appearance:s,intent:a,handler:l,reference:c}=e,{isSmallTablet:u,dialogCloseHandler:d}=(0,r.useContext)(w.SimpleDialogContext),m=(0,v.ensureNotNull)((0,r.useContext)(g.SlotContext)),y=(0,f.useIsMounted)(),[b,S]=(0,r.useState)(!1);return r.createElement(h.Button,{disabled:t,reference:c,className:o(C.actionButton,u&&C.small),name:n,size:u?"l":void 0,appearance:s,intent:a,onClick:function(){if(b)return;const e=l({dialogClose:d,innerManager:m});e&&(S(!0),e.then(()=>{y.current&&S(!1)}))}},r.createElement("span",{className:o(b&&C.hiddenTitle)},i),b&&r.createElement(p.Loader,{color:"white"}))}var b=n(37257),S=n(87992);function E(e){const{title:t,onClose:n,actions:h,dataName:p,popupDialogClassName:v,backdrop:f,closeOnOutsideClick:g=!0}=e;(0,r.useEffect)(()=>(s.subscribe(u.CLOSE_POPUPS_AND_DIALOGS_COMMAND,n,null),()=>{s.unsubscribe(u.CLOSE_POPUPS_AND_DIALOGS_COMMAND,n,null)}),[n]);const[C,E]=(0,r.useState)(!0),x=(0,r.useRef)(null);return r.createElement(c.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},s=>r.createElement(w.SimpleDialogContext.Provider,{value:{isSmallTablet:s,dialogCloseHandler:n}},r.createElement(a.PopupDialog,{className:o(S.popupDialog,v),isOpened:C,backdrop:f,onClickBackdrop:k,onClickOutside:g?k:void 0,onKeyDown:_,autofocus:!0,fixedBody:!0},r.createElement("div",{className:S.wrap,"data-name":p},r.createElement("div",{className:o(S.main,s&&S.small)},r.createElement("div",{className:o(S.title,s&&S.small)},t),function(t){if("html"in e)return r.createElement(m.TouchScrollContainer,{className:o(S.content,t&&S.small,S.html),dangerouslySetInnerHTML:{__html:e.html}});if("content"in e)return r.createElement(m.TouchScrollContainer,{className:o(S.content,t&&S.small)},e.content);return null}(s),h&&h.length>0&&r.createElement("div",{className:o(S.footer,s&&S.small)},h.map((e,t)=>r.createElement(y,{...e,key:e.name,reference:0===t?x:void 0})))),r.createElement(i.Icon,{className:o(S.close,s&&S.small),icon:b,onClick:k,"data-name":"close","data-role":"button"})))));function _(e){switch((0,l.hashFromEvent)(e)){case 27:C&&(e.preventDefault(),n());break;case 13:if(C&&h&&h.length){e.preventDefault();const t=x.current;t&&t.click()}}}function k(){E(!1),n()}}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>i});var r=n(59496),o=n(39640);function i(e){ +const{click:t,mouseDown:n,touchEnd:i,touchStart:s,handler:a,reference:l,ownerDocument:c=document}=e,u=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:i,touchStart:s},r=l?l.current:u.current;return(0,o.addOutsideEventListener)(d.current,r,a,c,e)},[t,n,i,s,a]),l||u}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>o});var r=n(59496);class o extends r.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)}}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>o});var r=n(58095);function o(e){const{children:t,...n}=e;return t((0,r.useOutsideEvent)(n))}},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>i,getRootOverlapManager:()=>a});var r=n(88537);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(0,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}}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>i});var r=n(59496),o=n(65718);function i(e){return class extends r.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const i=r.createElement(e,{...this.props,zIndex:150});return"parent"===n?i:r.createElement(o.Portal,null,i)}}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>l,PortalContext:()=>c});var r=n(59496),o=n(87995),i=n(9423),s=n(88216),a=n(50655);class l extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,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(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,s.getRootOverlapManager)():this.context}}l.contextType=a.SlotContext;const c=r.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>o,SlotContext:()=>i});var r=n(59496);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)},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>a});var r=n(59496),o=n(59142),i=n(88537),s=n(49483);function a(e){const{reference:t,children:n,...i}=e,a=(0,r.useRef)(null),c=(0,r.useCallback)(e=>{t&&(t.current=e),s.CheckMobile.iOS()&&(null!==a.current&&(0,o.enableBodyScroll)(a.current),a.current=e,null!==a.current&&(0,o.disableBodyScroll)(a.current,{allowTouchMove:l(a)}))},[t]);return r.createElement("div",{ref:c,...i},n)}function l(e){return t=>{const n=(0,i.ensureNotNull)(e.current),r=document.activeElement;return!n.contains(t)||null!==r&&n.contains(r)&&r.contains(t)}}},37257:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/43c5b49b5b8e01e4505c7c251746a8b7.svg b/charting_library/bundles/43c5b49b5b8e01e4505c7c251746a8b7.svg new file mode 100644 index 00000000..cf7ccafe --- /dev/null +++ b/charting_library/bundles/43c5b49b5b8e01e4505c7c251746a8b7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6560.f01881003ac6fef45147.css b/charting_library/bundles/4408.433afc31cc517d90040c.css similarity index 86% rename from charting_library/bundles/6560.f01881003ac6fef45147.css rename to charting_library/bundles/4408.433afc31cc517d90040c.css index 99198123..a6371ae1 100644 --- a/charting_library/bundles/6560.f01881003ac6fef45147.css +++ b/charting_library/bundles/4408.433afc31cc517d90040c.css @@ -1 +1 @@ -.switcher-GT7Z98Io{-webkit-tap-highlight-color:transparent;display:inline-block;flex:0 0 auto;height:var(--tv-switcher-wrapper-height);position:relative;vertical-align:middle;width:var(--tv-switcher-wrapper-width);z-index:0}.switcher-GT7Z98Io:not(.disable-cursor-pointer-GT7Z98Io) .input-GT7Z98Io{cursor:pointer}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#c1c4cd;--ui-lib-switcher-default-color-track-border-off:#c1c4cd;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#2962ffcc}html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-off:#5d606b}.switcher-GT7Z98Io,.switcher-GT7Z98Io.size-small-GT7Z98Io{--tv-switcher-wrapper-width:38px;--tv-switcher-wrapper-height:20px;--tv-switcher-wrapper-radius:10px;--tv-switcher-thumb-size:14px}.switcher-GT7Z98Io.size-large-GT7Z98Io{--tv-switcher-wrapper-height:34px;--tv-switcher-wrapper-width:64px;--tv-switcher-thumb-size:28px;--tv-switcher-wrapper-radius:28px}@media (any-hover:hover){.switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#787b86;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-on:#1e53e5}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1e53e5;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-off:#787b86}}.switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#5d606b;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-on:#1848cc}html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1848cc;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#434651}.switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#3179f5;--ui-lib-switcher-default-color-track-border-off:#3179f5;--ui-lib-switcher-default-color-track-bg-on:#24b29b;--ui-lib-switcher-default-color-track-border-on:#24b29b;--ui-lib-switcher-default-color-focus-outline-on:#24b29bcc}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#06806bcc;--ui-lib-switcher-default-color-track-border-on:#06806b;--ui-lib-switcher-default-color-track-bg-on:#06806b;--ui-lib-switcher-default-color-track-border-off:#1e53e5;--ui-lib-switcher-default-color-track-bg-off:#1e53e5}.switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}@media (any-hover:hover){.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}}.switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#e0e3eb;--ui-lib-switcher-default-color-track-border-off:#b2b5be;--ui-lib-switcher-default-color-track-bg-on:#e0e3eb;--ui-lib-switcher-default-color-track-border-on:#b2b5be;--ui-lib-switcher-default-color-thumb:#b2b5be}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-thumb:#5d606b;--ui-lib-switcher-default-color-track-border-on:#434651;--ui-lib-switcher-default-color-track-bg-on:#363a45;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#363a45}.input-GT7Z98Io{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.input-GT7Z98Io:checked,.input-GT7Z98Io:disabled,.input-GT7Z98Io:focus{border:0;outline:0}.input-GT7Z98Io:focus+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus-visible+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus:not(:focus-visible)+.thumb-wrapper-GT7Z98Io:after{display:none}.thumb-wrapper-GT7Z98Io{height:100%;outline:none;overflow:visible;position:relative;width:100%;z-index:0}.thumb-wrapper-GT7Z98Io:focus{outline:none}.thumb-wrapper-GT7Z98Io:focus-visible{outline:none}.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-off,var(--ui-lib-switcher-default-color-focus-outline-off));border-radius:calc(var(--tv-switcher-wrapper-radius) + 4px);border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-on,var(--ui-lib-switcher-default-color-focus-outline-on))}.track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-off,var(--ui-lib-switcher-default-color-track-bg-off));border:1px solid var(--ui-lib-switcher-color-track-border-off,var(--ui-lib-switcher-default-color-track-border-off));border-radius:var(--tv-switcher-wrapper-radius);height:calc(100% - 2px);left:0;position:absolute;top:0;width:calc(100% - 2px)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-on,var(--ui-lib-switcher-default-color-track-bg-on));border-color:var(--ui-lib-switcher-color-track-border-on,var(--ui-lib-switcher-default-color-track-border-on))}.thumb-GT7Z98Io{background:var(--ui-lib-switcher-color-thumb,var(--ui-lib-switcher-default-color-thumb));border-radius:var(--tv-switcher-thumb-size);height:var(--tv-switcher-thumb-size);transform:translate(3px,3px);transition-duration:.25s;transition-property:transform;transition-timing-function:ease-out;width:var(--tv-switcher-thumb-size)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .thumb-GT7Z98Io{transform:translate(calc(var(--tv-switcher-wrapper-width) - var(--tv-switcher-thumb-size) - 3px),3px)}.wrapper-IbP2mmCe{align-content:flex-start;align-items:flex-start;background-color:#fff;color:#131722;display:flex;flex-direction:row;justify-content:space-between;padding:6px 10px 2px 12px;white-space:nowrap}html.theme-dark .wrapper-IbP2mmCe{background-color:#1e222d;color:#b2b5be}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{color:#131722}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{color:#131722}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{color:#c1c4cd}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{color:#c1c4cd}}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{background-color:#f0f3fa}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{background-color:#f0f3fa}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{background-color:#2a2e39}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{background-color:#2a2e39}}.wrapper-IbP2mmCe:before{content:"";display:block;height:20px}.labelRow-IbP2mmCe{flex:1 1 auto;min-width:0;padding:2px 0 6px}.label-IbP2mmCe{font-size:14px;margin-right:12px;overflow:hidden}.labelHint-IbP2mmCe{color:#787b86;contain:content;font-size:12px;font-weight:400;margin-top:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .25s ease-in,margin-top .25s ease-in,opacity .35s linear;white-space:normal}.labelOn-IbP2mmCe+.labelHint-IbP2mmCe{margin-top:4px;max-height:34px;opacity:1;transition:max-height .2s ease-out,margin-top .2s ease-out,opacity .35s linear} \ No newline at end of file +.switcher-GT7Z98Io{-webkit-tap-highlight-color:transparent;display:inline-block;flex:0 0 auto;height:var(--tv-switcher-wrapper-height);position:relative;vertical-align:middle;width:var(--tv-switcher-wrapper-width);z-index:0}.switcher-GT7Z98Io:not(.disable-cursor-pointer-GT7Z98Io) .input-GT7Z98Io{cursor:pointer}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#c1c4cd;--ui-lib-switcher-default-color-track-border-off:#c1c4cd;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#2962ffcc}html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-off:#5d606b}.switcher-GT7Z98Io,.switcher-GT7Z98Io.size-small-GT7Z98Io{--tv-switcher-wrapper-width:38px;--tv-switcher-wrapper-height:20px;--tv-switcher-wrapper-radius:10px;--tv-switcher-thumb-size:14px}.switcher-GT7Z98Io.size-large-GT7Z98Io{--tv-switcher-wrapper-height:34px;--tv-switcher-wrapper-width:64px;--tv-switcher-thumb-size:28px;--tv-switcher-wrapper-radius:28px}@media (any-hover:hover){.switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#787b86;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-on:#1e53e5}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1e53e5;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-off:#787b86}}.switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#5d606b;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-on:#1848cc}html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1848cc;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#434651}.switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#3179f5;--ui-lib-switcher-default-color-track-border-off:#3179f5;--ui-lib-switcher-default-color-track-bg-on:#24b29b;--ui-lib-switcher-default-color-track-border-on:#24b29b;--ui-lib-switcher-default-color-focus-outline-on:#24b29bcc}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#06806bcc;--ui-lib-switcher-default-color-track-border-on:#06806b;--ui-lib-switcher-default-color-track-bg-on:#06806b;--ui-lib-switcher-default-color-track-border-off:#1e53e5;--ui-lib-switcher-default-color-track-bg-off:#1e53e5}.switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}@media (any-hover:hover){.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}}.switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#e0e3eb;--ui-lib-switcher-default-color-track-border-off:#b2b5be;--ui-lib-switcher-default-color-track-bg-on:#e0e3eb;--ui-lib-switcher-default-color-track-border-on:#b2b5be;--ui-lib-switcher-default-color-thumb:#b2b5be}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-thumb:#5d606b;--ui-lib-switcher-default-color-track-border-on:#434651;--ui-lib-switcher-default-color-track-bg-on:#363a45;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#363a45}.input-GT7Z98Io{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.input-GT7Z98Io:checked,.input-GT7Z98Io:disabled,.input-GT7Z98Io:focus{border:0;outline:0}.input-GT7Z98Io:focus+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus-visible+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus:not(:focus-visible)+.thumb-wrapper-GT7Z98Io:after{display:none}.thumb-wrapper-GT7Z98Io{height:100%;outline:none;overflow:visible;position:relative;width:100%;z-index:0}.thumb-wrapper-GT7Z98Io:focus{outline:none}.thumb-wrapper-GT7Z98Io:focus-visible{outline:none}.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-off,var(--ui-lib-switcher-default-color-focus-outline-off));border-radius:calc(var(--tv-switcher-wrapper-radius) + 4px);border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-on,var(--ui-lib-switcher-default-color-focus-outline-on))}.track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-off,var(--ui-lib-switcher-default-color-track-bg-off));border:1px solid var(--ui-lib-switcher-color-track-border-off,var(--ui-lib-switcher-default-color-track-border-off));border-radius:var(--tv-switcher-wrapper-radius);height:calc(100% - 2px);left:0;position:absolute;top:0;width:calc(100% - 2px)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-on,var(--ui-lib-switcher-default-color-track-bg-on));border-color:var(--ui-lib-switcher-color-track-border-on,var(--ui-lib-switcher-default-color-track-border-on))}.thumb-GT7Z98Io{background:var(--ui-lib-switcher-color-thumb,var(--ui-lib-switcher-default-color-thumb));border-radius:var(--tv-switcher-thumb-size);height:var(--tv-switcher-thumb-size);transform:translate(3px,3px);transition-duration:.25s;transition-property:transform;transition-timing-function:ease-out;width:var(--tv-switcher-thumb-size)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .thumb-GT7Z98Io{transform:translate(calc(var(--tv-switcher-wrapper-width) - var(--tv-switcher-thumb-size) - 3px),3px)} \ No newline at end of file diff --git a/charting_library/bundles/6560.f01881003ac6fef45147.rtl.css b/charting_library/bundles/4408.433afc31cc517d90040c.rtl.css similarity index 86% rename from charting_library/bundles/6560.f01881003ac6fef45147.rtl.css rename to charting_library/bundles/4408.433afc31cc517d90040c.rtl.css index 33c23f39..57ca0b2b 100644 --- a/charting_library/bundles/6560.f01881003ac6fef45147.rtl.css +++ b/charting_library/bundles/4408.433afc31cc517d90040c.rtl.css @@ -1 +1 @@ -.switcher-GT7Z98Io{-webkit-tap-highlight-color:transparent;display:inline-block;flex:0 0 auto;height:var(--tv-switcher-wrapper-height);position:relative;vertical-align:middle;width:var(--tv-switcher-wrapper-width);z-index:0}.switcher-GT7Z98Io:not(.disable-cursor-pointer-GT7Z98Io) .input-GT7Z98Io{cursor:pointer}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#c1c4cd;--ui-lib-switcher-default-color-track-border-off:#c1c4cd;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#2962ffcc}html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-off:#5d606b}.switcher-GT7Z98Io,.switcher-GT7Z98Io.size-small-GT7Z98Io{--tv-switcher-wrapper-width:38px;--tv-switcher-wrapper-height:20px;--tv-switcher-wrapper-radius:10px;--tv-switcher-thumb-size:14px}.switcher-GT7Z98Io.size-large-GT7Z98Io{--tv-switcher-wrapper-height:34px;--tv-switcher-wrapper-width:64px;--tv-switcher-thumb-size:28px;--tv-switcher-wrapper-radius:28px}@media (any-hover:hover){.switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#787b86;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-on:#1e53e5}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1e53e5;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-off:#787b86}}.switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#5d606b;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-on:#1848cc}html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1848cc;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#434651}.switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#3179f5;--ui-lib-switcher-default-color-track-border-off:#3179f5;--ui-lib-switcher-default-color-track-bg-on:#24b29b;--ui-lib-switcher-default-color-track-border-on:#24b29b;--ui-lib-switcher-default-color-focus-outline-on:#24b29bcc}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#06806bcc;--ui-lib-switcher-default-color-track-border-on:#06806b;--ui-lib-switcher-default-color-track-bg-on:#06806b;--ui-lib-switcher-default-color-track-border-off:#1e53e5;--ui-lib-switcher-default-color-track-bg-off:#1e53e5}.switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}@media (any-hover:hover){.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}}.switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#e0e3eb;--ui-lib-switcher-default-color-track-border-off:#b2b5be;--ui-lib-switcher-default-color-track-bg-on:#e0e3eb;--ui-lib-switcher-default-color-track-border-on:#b2b5be;--ui-lib-switcher-default-color-thumb:#b2b5be}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-thumb:#5d606b;--ui-lib-switcher-default-color-track-border-on:#434651;--ui-lib-switcher-default-color-track-bg-on:#363a45;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#363a45}.input-GT7Z98Io{height:100%;opacity:0;position:absolute;right:0;top:0;width:100%;z-index:1}.input-GT7Z98Io:checked,.input-GT7Z98Io:disabled,.input-GT7Z98Io:focus{border:0;outline:0}.input-GT7Z98Io:focus+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus-visible+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus:not(:focus-visible)+.thumb-wrapper-GT7Z98Io:after{display:none}.thumb-wrapper-GT7Z98Io{height:100%;outline:none;overflow:visible;position:relative;width:100%;z-index:0}.thumb-wrapper-GT7Z98Io:focus{outline:none}.thumb-wrapper-GT7Z98Io:focus-visible{outline:none}.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-off,var(--ui-lib-switcher-default-color-focus-outline-off));border-radius:calc(var(--tv-switcher-wrapper-radius) + 4px);border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-on,var(--ui-lib-switcher-default-color-focus-outline-on))}.track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-off,var(--ui-lib-switcher-default-color-track-bg-off));border:1px solid var(--ui-lib-switcher-color-track-border-off,var(--ui-lib-switcher-default-color-track-border-off));border-radius:var(--tv-switcher-wrapper-radius);height:calc(100% - 2px);position:absolute;right:0;top:0;width:calc(100% - 2px)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-on,var(--ui-lib-switcher-default-color-track-bg-on));border-color:var(--ui-lib-switcher-color-track-border-on,var(--ui-lib-switcher-default-color-track-border-on))}.thumb-GT7Z98Io{background:var(--ui-lib-switcher-color-thumb,var(--ui-lib-switcher-default-color-thumb));border-radius:var(--tv-switcher-thumb-size);height:var(--tv-switcher-thumb-size);transform:translate(-3px,3px);transform:translate(calc(-1*($thumb-padding)),$thumb-padding);transition-duration:.25s;transition-property:transform;transition-timing-function:ease-out;width:var(--tv-switcher-thumb-size)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .thumb-GT7Z98Io{transform:translate(calc(var(--tv-switcher-wrapper-width)*-1 - var(--tv-switcher-thumb-size)*-1 - -3px),3px)}.wrapper-IbP2mmCe{align-content:flex-start;align-items:flex-start;background-color:#fff;color:#131722;display:flex;flex-direction:row;justify-content:space-between;padding:6px 12px 2px 10px;white-space:nowrap}html.theme-dark .wrapper-IbP2mmCe{background-color:#1e222d;color:#b2b5be}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{color:#131722}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{color:#131722}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{color:#c1c4cd}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{color:#c1c4cd}}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{background-color:#f0f3fa}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{background-color:#f0f3fa}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{background-color:#2a2e39}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{background-color:#2a2e39}}.wrapper-IbP2mmCe:before{content:"";display:block;height:20px}.labelRow-IbP2mmCe{flex:1 1 auto;min-width:0;padding:2px 0 6px}.label-IbP2mmCe{font-size:14px;margin-left:12px;overflow:hidden}.labelHint-IbP2mmCe{color:#787b86;contain:content;font-size:12px;font-weight:400;margin-top:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .25s ease-in,margin-top .25s ease-in,opacity .35s linear;white-space:normal}.labelOn-IbP2mmCe+.labelHint-IbP2mmCe{margin-top:4px;max-height:34px;opacity:1;transition:max-height .2s ease-out,margin-top .2s ease-out,opacity .35s linear} \ No newline at end of file +.switcher-GT7Z98Io{-webkit-tap-highlight-color:transparent;display:inline-block;flex:0 0 auto;height:var(--tv-switcher-wrapper-height);position:relative;vertical-align:middle;width:var(--tv-switcher-wrapper-width);z-index:0}.switcher-GT7Z98Io:not(.disable-cursor-pointer-GT7Z98Io) .input-GT7Z98Io{cursor:pointer}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#c1c4cd;--ui-lib-switcher-default-color-track-border-off:#c1c4cd;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc}.switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#2962ffcc}html.theme-dark .switcher-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-off:#2962ffcc;--ui-lib-switcher-default-color-thumb:#fff;--ui-lib-switcher-default-color-track-border-on:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#2962ff;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-off:#5d606b}.switcher-GT7Z98Io,.switcher-GT7Z98Io.size-small-GT7Z98Io{--tv-switcher-wrapper-width:38px;--tv-switcher-wrapper-height:20px;--tv-switcher-wrapper-radius:10px;--tv-switcher-thumb-size:14px}.switcher-GT7Z98Io.size-large-GT7Z98Io{--tv-switcher-wrapper-height:34px;--tv-switcher-wrapper-width:64px;--tv-switcher-thumb-size:28px;--tv-switcher-wrapper-radius:28px}@media (any-hover:hover){.switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#787b86;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-on:#1e53e5}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1e53e5;--ui-lib-switcher-default-color-track-bg-on:#1e53e5;--ui-lib-switcher-default-color-track-border-off:#787b86;--ui-lib-switcher-default-color-track-bg-off:#787b86}}.switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#5d606b;--ui-lib-switcher-default-color-track-border-off:#5d606b;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-on:#1848cc}html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#1848cc;--ui-lib-switcher-default-color-track-bg-on:#1848cc;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#434651}.switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#3179f5;--ui-lib-switcher-default-color-track-border-off:#3179f5;--ui-lib-switcher-default-color-track-bg-on:#24b29b;--ui-lib-switcher-default-color-track-border-on:#24b29b;--ui-lib-switcher-default-color-focus-outline-on:#24b29bcc}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-focus-outline-on:#06806bcc;--ui-lib-switcher-default-color-track-border-on:#06806b;--ui-lib-switcher-default-color-track-bg-on:#06806b;--ui-lib-switcher-default-color-track-border-off:#1e53e5;--ui-lib-switcher-default-color-track-bg-off:#1e53e5}.switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}@media (any-hover:hover){.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff;--ui-lib-switcher-default-color-track-border-off:#2962ff;--ui-lib-switcher-default-color-track-bg-on:#42bda8;--ui-lib-switcher-default-color-track-border-on:#42bda8}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-on:#056656}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-border-off:#2962ff}}html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io:not(.disable-active-state-styles-GT7Z98Io) .input-GT7Z98Io:active+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}@media (any-hover:hover){html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:hover+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#2962ff}}.switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,.switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-track-bg-off:#e0e3eb;--ui-lib-switcher-default-color-track-border-off:#b2b5be;--ui-lib-switcher-default-color-track-bg-on:#e0e3eb;--ui-lib-switcher-default-color-track-border-on:#b2b5be;--ui-lib-switcher-default-color-thumb:#b2b5be}html.theme-dark .switcher-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-default-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io,html.theme-dark .switcher-GT7Z98Io.intent-select-GT7Z98Io .input-GT7Z98Io:disabled+.thumb-wrapper-GT7Z98Io{--ui-lib-switcher-default-color-thumb:#5d606b;--ui-lib-switcher-default-color-track-border-on:#434651;--ui-lib-switcher-default-color-track-bg-on:#363a45;--ui-lib-switcher-default-color-track-border-off:#434651;--ui-lib-switcher-default-color-track-bg-off:#363a45}.input-GT7Z98Io{height:100%;opacity:0;position:absolute;right:0;top:0;width:100%;z-index:1}.input-GT7Z98Io:checked,.input-GT7Z98Io:disabled,.input-GT7Z98Io:focus{border:0;outline:0}.input-GT7Z98Io:focus+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus-visible+.thumb-wrapper-GT7Z98Io:after{display:block}.input-GT7Z98Io:focus:not(:focus-visible)+.thumb-wrapper-GT7Z98Io:after{display:none}.thumb-wrapper-GT7Z98Io{height:100%;outline:none;overflow:visible;position:relative;width:100%;z-index:0}.thumb-wrapper-GT7Z98Io:focus{outline:none}.thumb-wrapper-GT7Z98Io:focus-visible{outline:none}.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-off,var(--ui-lib-switcher-default-color-focus-outline-off));border-radius:calc(var(--tv-switcher-wrapper-radius) + 4px);border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io:after{border-color:var(--ui-lib-switcher-color-focus-outline-on,var(--ui-lib-switcher-default-color-focus-outline-on))}.track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-off,var(--ui-lib-switcher-default-color-track-bg-off));border:1px solid var(--ui-lib-switcher-color-track-border-off,var(--ui-lib-switcher-default-color-track-border-off));border-radius:var(--tv-switcher-wrapper-radius);height:calc(100% - 2px);position:absolute;right:0;top:0;width:calc(100% - 2px)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .track-GT7Z98Io{background-color:var(--ui-lib-switcher-color-track-bg-on,var(--ui-lib-switcher-default-color-track-bg-on));border-color:var(--ui-lib-switcher-color-track-border-on,var(--ui-lib-switcher-default-color-track-border-on))}.thumb-GT7Z98Io{background:var(--ui-lib-switcher-color-thumb,var(--ui-lib-switcher-default-color-thumb));border-radius:var(--tv-switcher-thumb-size);height:var(--tv-switcher-thumb-size);transform:translate(-3px,3px);transform:translate(calc(-1*($thumb-padding)),$thumb-padding);transition-duration:.25s;transition-property:transform;transition-timing-function:ease-out;width:var(--tv-switcher-thumb-size)}.input-GT7Z98Io:checked+.thumb-wrapper-GT7Z98Io .thumb-GT7Z98Io{transform:translate(calc(var(--tv-switcher-wrapper-width)*-1 - var(--tv-switcher-thumb-size)*-1 - -3px),3px)} \ No newline at end of file diff --git a/charting_library/bundles/4419319a45a29943de1cbb904c896305.svg b/charting_library/bundles/4419319a45a29943de1cbb904c896305.svg new file mode 100644 index 00000000..4d0b292b --- /dev/null +++ b/charting_library/bundles/4419319a45a29943de1cbb904c896305.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/44239307acfe2269d7827563273f2bfa.svg b/charting_library/bundles/44239307acfe2269d7827563273f2bfa.svg new file mode 100644 index 00000000..74e23ace --- /dev/null +++ b/charting_library/bundles/44239307acfe2269d7827563273f2bfa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4497.3ced329964413f9bf307.css b/charting_library/bundles/4497.3ced329964413f9bf307.css new file mode 100644 index 00000000..a51a1aa0 --- /dev/null +++ b/charting_library/bundles/4497.3ced329964413f9bf307.css @@ -0,0 +1 @@ +.tv-card-info-collector__tab-wrapper{padding-top:17px}.tv-card-info-collector__tabs-container{padding:0 40px}@media screen and (max-width:479px){.tv-card-info-collector__tabs-container{padding:0 20px}}.tv-card-info-collector__tabs#tabs{margin-top:-5px}.tv-card-info-collector .tv-card-info-collector__tab.tv-tabs__tab{font-size:17px;padding:0 0 17px}.tv-card-info-collector .tv-card-info-collector__tab.tv-tabs__tab:not(:last-child){padding-right:25px}.tv-card-info-collector__payment-message{min-height:139px;padding:0 40px 40px}@media screen and (max-width:479px){.tv-card-info-collector__payment-message{padding:0 20px 20px}}.tv-card-info-collector .tv-card-info-collector__payment-text{color:#131722;font-size:16px;line-height:25px}.tv-card-info-collector__complete-text,.tv-card-info-collector__error-text{color:#535353;font-size:15px}.tv-card-info-collector__complete-text a,.tv-card-info-collector__error-text a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-card-info-collector__complete-text a,html.theme-dark .tv-card-info-collector__error-text a{color:#2962ff}.tv-card-info-collector__complete-text a:visited,.tv-card-info-collector__error-text a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-card-info-collector__complete-text a:visited,html.theme-dark .tv-card-info-collector__error-text a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-card-info-collector__complete-text a:hover,.tv-card-info-collector__error-text a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-card-info-collector__complete-text a:hover,html.theme-dark .tv-card-info-collector__error-text a:hover{fill:#1e53e5;color:#1e53e5}}.tv-card-info-collector__complete-text a:focus,.tv-card-info-collector__error-text a:focus{outline:auto}.tv-card-info-collector__complete-text a:focus:not(:-moz-focusring),.tv-card-info-collector__error-text a:focus:not(:-moz-focusring){outline:none}.tv-card-info-collector__complete-text a:-moz-focusring,.tv-card-info-collector__error-text a:-moz-focusring{outline:auto}.tv-card-info-collector__complete-text a:active,.tv-card-info-collector__error-text a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-card-info-collector__complete-text a:active,html.theme-dark .tv-card-info-collector__error-text a:active{fill:#1848cc;color:#1848cc}.tv-card-info-collector__complete-text,.tv-card-info-collector__error-text{padding:0 40px}.tv-card-info-collector__complete-text+.tv-card-info-collector__complete-text,.tv-card-info-collector__complete-text+.tv-card-info-collector__error-text,.tv-card-info-collector__error-text+.tv-card-info-collector__complete-text,.tv-card-info-collector__error-text+.tv-card-info-collector__error-text{margin-top:20px}.tv-card-info-collector__error-text{padding:15px 40px 35px}.tv-card-info-collector__actions{padding-top:20px}.tv-card-info-collector__actions--horz-offset{padding-left:40px;padding-right:40px}@media screen and (max-width:479px){.tv-card-info-collector__actions--horz-offset{padding-left:20px;padding-right:20px}}.tv-card-info-collector__actions-container{display:flex;justify-content:flex-end}.tv-card-info-collector__actions--cancel-button{font-weight:400;margin-right:25px;top:7px}@media screen and (max-width:767px){.tv-card-info-collector__actions-container{flex-direction:column-reverse}.tv-card-info-collector__actions--cancel-button{margin-right:0;margin-top:15px}.tv-card-info-collector__actions .tv-button+.tv-button{margin-left:0}}.tv-card-info-collector__title-text{color:#131722;font-size:24px;font-weight:700;padding:0 40px}html.theme-dark .tv-card-info-collector__title-text{color:#d1d4dc}@media screen and (max-width:479px){.tv-card-info-collector__title-text{padding:0 20px}}.tv-card-info-collector__card-wrapper{direction:ltr;overflow:visible;padding:0 40px 24px;position:relative}@media screen and (max-width:479px){.tv-card-info-collector__card-wrapper{padding:0 20px 20px}}.tv-card-info-collector__card-parts{display:flex;flex-wrap:wrap;margin-bottom:17px}.tv-card-info-collector__card-parts:last-child{margin-bottom:0}.tv-card-info-collector__input-holder{flex:1;margin-right:10px}.tv-card-info-collector__input-holder:last-child{margin-right:0}.tv-card-info-collector__input-holder:first-child{flex:2}.tv-card-info-collector__input-holder__card-input{border-radius:4px}.tv-card-info-collector__input-holder .tv-control-error__icon{padding-right:5px}@media screen and (max-width:1019px){.tv-card-info-collector__input-holder{flex-basis:30%}.tv-card-info-collector__input-holder:first-child{flex-basis:70%;margin-right:0}.tv-card-info-collector__input-holder:not(:first-child){margin-top:10px}}.tv-card-info-collector__input-name{color:#787b86;font-size:14px;letter-spacing:.4px;line-height:21px}.tv-card-info-collector__fieldset.tv-control-fieldset{margin-bottom:20px}.tv-card-info-collector__fieldset.tv-control-fieldset:last-child{margin-bottom:0}.tv-card-info-collector__message{padding:0 40px}@media screen and (max-width:479px){.tv-card-info-collector__message{padding:0 20px 20px}}.tv-card-info-collector__footer-message{padding:0 40px 10px}.tv-card-info-collector__non-pro-container{display:inline-block;margin-bottom:20px;width:100%}.tv-card-info-collector__non-pro-label{font-size:14px;line-height:22px;margin-left:10px}.tv-card-info-collector__non-pro-help-button{display:inline-block;line-height:1;vertical-align:middle}.tv-card-info-collector__non-pro-help-button svg{fill:currentColor;height:18px;width:18px}.tv-card-info-collector__non-pro-checkbox{margin-top:2px}.tv-card-info-collector__policy-container{display:inline-block;margin-bottom:20px;width:100%}@media screen and (max-width:767px){.tv-card-info-collector__policy-container{margin-bottom:30px}}.tv-card-info-collector__policy-terms{font-size:14px;line-height:1.6em;margin-left:10px}.tv-card-info-collector__policy-terms a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-card-info-collector__policy-terms a{color:#2962ff}.tv-card-info-collector__policy-terms a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-card-info-collector__policy-terms a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-card-info-collector__policy-terms a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-card-info-collector__policy-terms a:hover{fill:#1e53e5;color:#1e53e5}}.tv-card-info-collector__policy-terms a:focus{outline:auto}.tv-card-info-collector__policy-terms a:focus:not(:-moz-focusring){outline:none}.tv-card-info-collector__policy-terms a:-moz-focusring{outline:auto}.tv-card-info-collector__policy-terms a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-card-info-collector__policy-terms a:active{fill:#1848cc;color:#1848cc}.tv-card-info-collector__policy-checkbox{margin-top:2px}.tv-card-info-collector__ice-message-container{display:inline-block;margin-bottom:20px;width:100%}@media screen and (max-width:767px){.tv-card-info-collector__ice-message-container{margin-bottom:30px}}.tv-card-info-collector__ice-message-label{font-size:14px;line-height:1.6em;margin-left:10px}.tv-card-info-collector__ice-message-label a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-card-info-collector__ice-message-label a{color:#2962ff}.tv-card-info-collector__ice-message-label a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-card-info-collector__ice-message-label a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-card-info-collector__ice-message-label a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-card-info-collector__ice-message-label a:hover{fill:#1e53e5;color:#1e53e5}}.tv-card-info-collector__ice-message-label a:focus{outline:auto}.tv-card-info-collector__ice-message-label a:focus:not(:-moz-focusring){outline:none}.tv-card-info-collector__ice-message-label a:-moz-focusring{outline:auto}.tv-card-info-collector__ice-message-label a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-card-info-collector__ice-message-label a:active{fill:#1848cc;color:#1848cc}.tv-card-info-collector__ice-message-checkbox{margin-top:2px}.tv-card-info-collector__ice-message-label,.tv-card-info-collector__non-pro-label,.tv-card-info-collector__policy-terms{color:#131722}.tv-card-info-collector__ice-message-container .tv-control-error__messages,.tv-card-info-collector__non-pro-container .tv-control-error__messages,.tv-card-info-collector__policy-container .tv-control-error__messages{left:0;right:auto}.tv-card-info-collector .tv-card-info-collector__ice-message-checkbox,.tv-card-info-collector .tv-card-info-collector__non-pro-checkbox,.tv-card-info-collector .tv-card-info-collector__policy-checkbox{vertical-align:top}.tv-card-info-collector .tv-control-select__control,.tv-card-info-collector .tv-control-select__option-wrap{color:#434651;font-size:16px!important}.tv-card-info-collector__countries-select{max-width:167px}@media screen and (max-width:1530px){.tv-card-info-collector__countries-select{max-width:135px}}@media screen and (max-width:1019px){.tv-card-info-collector__countries-select{max-width:none}}.tv-card-info-collector__card-input{border-radius:4px}.tv-tabs{-webkit-tap-highlight-color:transparent;display:flex;height:53px;line-height:53px;overflow:hidden;padding:0 16px;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.tv-tabs:before{background-color:#e0e3eb;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;right:0}html.theme-dark .tv-tabs:before{background-color:#363a45}.tv-tabs::-webkit-scrollbar{display:none}.tv-tabs.i-loaded{padding:0}.tv-tabs--category-content{padding:0 6px}.tv-tabs__scroll-wrap{-webkit-overflow-scrolling:touch;display:block;height:100%;overflow-x:scroll;overflow-y:hidden;padding-bottom:100px;position:relative;-webkit-transform:translateZ(0);white-space:nowrap;width:100%}.tv-tabs__scroll-box{display:flex;position:relative}.tv-tabs.i-loaded .tv-tabs__scroll-box{padding:0 16px}.tv-tabs__additional-info{color:#b2b5be;transition:inherit}.tv-tabs__tab{-webkit-tap-highlight-color:transparent;box-sizing:border-box;color:#131722;cursor:pointer;display:block;font-size:14px;height:53px;line-height:53px;margin:0;padding:0 16px;position:relative;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tv-tabs__tab{color:#d1d4dc}.tv-tabs__tab:active{transition-duration:.06s}@media (any-hover:hover){.tv-tabs__tab:hover{transition-duration:.06s}}.tv-tabs__tab.i-active,.tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){.tv-tabs__tab:hover{color:#2962ff}}html.theme-dark .tv-tabs__tab.i-active,html.theme-dark .tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){html.theme-dark .tv-tabs__tab:hover{color:#2962ff}}.tv-tabs__tab.i-disabled,.tv-tabs__tab:disabled,.tv-tabs__tab[disabled]{color:#e0e3eb;cursor:default}html.theme-dark .tv-tabs__tab.i-disabled,html.theme-dark .tv-tabs__tab:disabled,html.theme-dark .tv-tabs__tab[disabled]{color:#363a45}.tv-tabs__tab--no-padding{padding:0}.tv-tabs__tab--right-shifter{margin-left:auto}.tv-tabs__tab--icon-tab{padding:0}.tv-tabs--category-header{height:46px}.tv-tabs--category-header .tv-tabs__tab{color:#131722;font-size:18px;height:46px;line-height:46px;padding-left:24px;padding-right:24px}@media (any-hover:hover){.tv-tabs--category-header .tv-tabs__tab:hover,.tv-tabs--category-header .tv-tabs__tab:hover .tv-tabs__additional-info{color:#1e53e5}}.tv-tabs--category-header .tv-tabs__tab.i-active{cursor:default}.tv-tabs--category-header .tv-tabs__tab.i-active,.tv-tabs--category-header .tv-tabs__tab.i-active .tv-tabs__additional-info{color:#2962ff}.tv-tabs__slider,.tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0;display:block;height:3px;pointer-events:none;position:absolute}html.theme-dark .tv-tabs__slider,html.theme-dark .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--compact,.tv-tabs--compact .tv-tabs__scroll-box,.tv-tabs--compact .tv-tabs__tab{height:23px}.tv-tabs--compact .tv-tabs__tab{font-size:13px;line-height:23px}.tv-tabs--semi-compact,.tv-tabs--semi-compact .tv-tabs__scroll-box,.tv-tabs--semi-compact .tv-tabs__tab{height:38px}.tv-tabs--semi-compact .tv-tabs__tab{line-height:38px}.tv-tabs--category-header.i-loaded,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--compact,.tv-tabs--compact.i-loaded .tv-tabs__scroll-box,.tv-tabs--semi-compact,.tv-tabs--semi-compact.i-loaded .tv-tabs__scroll-box{padding-left:0;padding-right:0}.tv-tabs--category-header,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--category-header .tv-tabs__scroll-box{padding-left:20px;padding-right:20px}.tv-tabs--category-header:before,.tv-tabs--compact:before,.tv-tabs--semi-compact:before{bottom:0}.tv-tabs--compact .tv-tabs__tab:first-child,.tv-tabs--semi-compact .tv-tabs__tab:first-child{margin-left:-16px}.tv-tabs--compact .tv-tabs__tab:last-child,.tv-tabs--semi-compact .tv-tabs__tab:last-child{margin-right:-16px}.tv-tabs--category-header .tv-tabs__tab:first-child{margin-left:-24px}.tv-tabs--category-header .tv-tabs__tab:last-child{margin-right:-24px}.page-wide .tv-tabs--category-header .tv-tabs__tab{padding-left:32px;padding-right:32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:first-child{margin-left:-32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:last-child{margin-right:-32px}.tv-tabs--compact .tv-tabs__tab.i-hidden:first-child+.tv-tabs__tab{margin-left:-16px}.tv-tabs--compact .tv-tabs__slider,.tv-tabs--compact .tv-tabs__tab.i-active:after{bottom:0;height:1px}@media screen and (max-width:767px){.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:first-child{margin-left:0;padding-left:0}.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:nth-last-child(2){margin-right:0;padding-right:0}}.tv-tabs--no-margin .tv-tabs__tab:first-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:first-child{margin-left:0}.tv-tabs--no-margin .tv-tabs__tab:last-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:last-child{margin-right:0}.tv-tabs--secondary-active .tv-tabs__wrap{align-items:center;background-color:#f0f3fa;border-radius:25px;display:flex;height:23px;padding:0 14px}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap{background-color:#2a2e39}@media (any-hover:hover){.tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#e0e3eb}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#363a45}}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__wrap{height:26px;padding:0 12px}.tv-tabs--secondary-active.tv-tabs--semi-compact{padding:0 14px}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#131722;padding:2px}html.theme-dark .tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#b2b5be}.tv-tabs--secondary-active .tv-tabs__tab{align-items:center;display:flex;font-size:13px;padding:0 6px}.tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#2962ff;color:#fff}html.theme-dark .tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#1848cc;color:#fff}.tv-tabs--no-border:before{display:none}.tv-tabs--no-padding,.tv-tabs--no-padding.i-loaded .tv-tabs__scroll-box{padding:0}.tv-tabs--no-padding .tv-tabs__tab{padding:0 16px}.tv-tabs--no-padding .tv-tabs__tab.tv-tabs__tab--no-padding{padding:0}.tv-tabs.i-loaded .tv-tabs__tab.i-active:after{content:none;display:none}.tv-tabs__left-arrow,.tv-tabs__right-arrow{align-items:center;background-color:#fff;bottom:0;box-sizing:initial;cursor:pointer;direction:ltr;display:flex;padding:0 5px;position:absolute;top:0;-webkit-user-select:none;user-select:none;width:36px}.tv-tabs__left-arrow:after,.tv-tabs__right-arrow:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-tabs__left-arrow svg,.tv-tabs__right-arrow svg{display:inline-block;height:12px;transform:scale(1);transition:fill .35s ease;vertical-align:middle;width:12px}@media (any-hover:hover){.tv-tabs__left-arrow:hover svg,.tv-tabs__right-arrow:hover svg{fill:#4f5966;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:hover svg,html.theme-dark .tv-tabs__right-arrow:hover svg{fill:#c5cbce}}.tv-tabs__left-arrow:active svg,.tv-tabs__right-arrow:active svg{fill:#271d2b;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:active svg,html.theme-dark .tv-tabs__right-arrow:active svg{fill:#9db2bd}.tv-tabs__right-arrow{justify-content:flex-end}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{bottom:3px;margin-top:-1px}.tv-tabs--category-header .tv-tabs__left-arrow svg,.tv-tabs--category-header .tv-tabs__right-arrow svg{vertical-align:top}.tv-tabs__left-arrow{background:linear-gradient(90deg,#fff,#ffffffd9,#fff0);left:0;text-align:left;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__left-arrow.i-slided{transform:translateX(-100%)}.tv-tabs__right-arrow{background:linear-gradient(270deg,#fff,#ffffffd9,#fff0);right:0;text-align:right;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__right-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__right-arrow.i-slided{transform:translateX(100%)}.tv-tabs--compact .tv-tabs__left-arrow,.tv-tabs--compact .tv-tabs__right-arrow{width:23px}.tv-tabs--semi-compact .tv-tabs__left-arrow,.tv-tabs--semi-compact .tv-tabs__right-arrow{width:34px}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{width:45px}.tv-tabs--searchbar:before{display:none}.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:80px}@media screen and (max-width:1019px){.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:54px}}.tv-tabs--searchbar .tv-tabs__slider,.tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff;bottom:0}html.theme-dark .tv-tabs--searchbar .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff}.tv-tabs--searchbar-profile .tv-tabs__slider,.tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--searchbar .tv-tabs__left-arrow svg,.tv-tabs--searchbar .tv-tabs__right-arrow svg{fill:#fff;opacity:.65}.tv-tabs--searchbar .tv-tabs__left-arrow:active svg,.tv-tabs--searchbar .tv-tabs__right-arrow:active svg{fill:#fff;opacity:1}@media (any-hover:hover){.tv-tabs--searchbar .tv-tabs__left-arrow:hover svg,.tv-tabs--searchbar .tv-tabs__right-arrow:hover svg{fill:#fff;opacity:1}}.tv-tabs--searchbar .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar .tv-tabs__right-arrow,html.theme-dark .tv-tabs--searchbar .tv-tabs__right-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar_sub,.tv-tabs--searchbar_sub .tv-tabs__scroll-box{height:40px;line-height:40px}.tv-tabs--searchbar_sub .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#265aeb 0,#265aeb 15%,#265aeb00)}.tv-tabs--searchbar_sub .tv-tabs__right-arrow,html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#265aeb00 0,#265aeb 85%,#265aeb)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(90deg,#fff 0,#fff 45%,#fff0)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d 0,#1e222d 45%,#1e222d00)}.tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(90deg,#fff0 0,#fff 55%,#fff)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(90deg,#1e222d00 0,#1e222d 55%,#1e222d)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow,.tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#434651}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#d1d4dc}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#f0f3fa 0,#f0f3fa 45%,#f0f3fa00)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#2a2e39 0,#2a2e39 45%,#2a2e3900)}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#f0f3fa00 0,#f0f3fa 55%,#f0f3fa)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#2a2e3900 0,#2a2e39 55%,#2a2e39)}.tv-start-free-trial-7bqZMNHV{background:#fff;border-radius:6px;padding:40px 0}html.theme-dark .tv-start-free-trial-7bqZMNHV{background:#1e222d}.tv-start-free-trial__section-7bqZMNHV{padding:0}.tv-start-free-trial__title-7bqZMNHV{border-bottom:none;color:#131722;font-size:36px;line-height:44px;padding:0 40px}html.theme-dark .tv-start-free-trial__title-7bqZMNHV{color:#d1d4dc}@media screen and (max-width:479px){.tv-start-free-trial__title-7bqZMNHV{padding:0 20px}}@media screen and (max-width:1530px){.tv-start-free-trial-7bqZMNHV .tv-card-info-collector__countries-select{max-width:none}}.tv-start-free-trial-7bqZMNHV .tv-card-info-collector__policy-terms{color:#131722}html.theme-dark .tv-start-free-trial-7bqZMNHV .tv-card-info-collector__policy-terms{color:#d1d4dc}.tv-start-free-trial-7bqZMNHV .tv-tabs:before{background-color:#d1d4dc}html.theme-dark .tv-start-free-trial-7bqZMNHV .tv-tabs:before{background-color:#434651}.tv-start-free-trial-7bqZMNHV .tv-control-input:-webkit-autofill{-webkit-text-fill-color:#131722!important;box-shadow:inset 0 0 0 1000px #fff!important}html.theme-dark .tv-start-free-trial-7bqZMNHV .tv-control-input:-webkit-autofill{-webkit-text-fill-color:#d1d4dc!important;box-shadow:inset 0 0 0 1000px #1e222d!important} \ No newline at end of file diff --git a/charting_library/bundles/4497.3ced329964413f9bf307.rtl.css b/charting_library/bundles/4497.3ced329964413f9bf307.rtl.css new file mode 100644 index 00000000..bb2848fa --- /dev/null +++ b/charting_library/bundles/4497.3ced329964413f9bf307.rtl.css @@ -0,0 +1 @@ +.tv-card-info-collector__tab-wrapper{padding-top:17px}.tv-card-info-collector__tabs-container{padding:0 40px}@media screen and (max-width:479px){.tv-card-info-collector__tabs-container{padding:0 20px}}.tv-card-info-collector__tabs#tabs{margin-top:-5px}.tv-card-info-collector .tv-card-info-collector__tab.tv-tabs__tab{font-size:17px;padding:0 0 17px}.tv-card-info-collector .tv-card-info-collector__tab.tv-tabs__tab:not(:last-child){padding-left:25px}.tv-card-info-collector__payment-message{min-height:139px;padding:0 40px 40px}@media screen and (max-width:479px){.tv-card-info-collector__payment-message{padding:0 20px 20px}}.tv-card-info-collector .tv-card-info-collector__payment-text{color:#131722;font-size:16px;line-height:25px}.tv-card-info-collector__complete-text,.tv-card-info-collector__error-text{color:#535353;font-size:15px}.tv-card-info-collector__complete-text a,.tv-card-info-collector__error-text a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-card-info-collector__complete-text a,html.theme-dark .tv-card-info-collector__error-text a{color:#2962ff}.tv-card-info-collector__complete-text a:visited,.tv-card-info-collector__error-text a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-card-info-collector__complete-text a:visited,html.theme-dark .tv-card-info-collector__error-text a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-card-info-collector__complete-text a:hover,.tv-card-info-collector__error-text a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-card-info-collector__complete-text a:hover,html.theme-dark .tv-card-info-collector__error-text a:hover{fill:#1e53e5;color:#1e53e5}}.tv-card-info-collector__complete-text a:focus,.tv-card-info-collector__error-text a:focus{outline:auto}.tv-card-info-collector__complete-text a:focus:not(:-moz-focusring),.tv-card-info-collector__error-text a:focus:not(:-moz-focusring){outline:none}.tv-card-info-collector__complete-text a:-moz-focusring,.tv-card-info-collector__error-text a:-moz-focusring{outline:auto}.tv-card-info-collector__complete-text a:active,.tv-card-info-collector__error-text a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-card-info-collector__complete-text a:active,html.theme-dark .tv-card-info-collector__error-text a:active{fill:#1848cc;color:#1848cc}.tv-card-info-collector__complete-text,.tv-card-info-collector__error-text{padding:0 40px}.tv-card-info-collector__complete-text+.tv-card-info-collector__complete-text,.tv-card-info-collector__complete-text+.tv-card-info-collector__error-text,.tv-card-info-collector__error-text+.tv-card-info-collector__complete-text,.tv-card-info-collector__error-text+.tv-card-info-collector__error-text{margin-top:20px}.tv-card-info-collector__error-text{padding:15px 40px 35px}.tv-card-info-collector__actions{padding-top:20px}.tv-card-info-collector__actions--horz-offset{padding-left:40px;padding-right:40px}@media screen and (max-width:479px){.tv-card-info-collector__actions--horz-offset{padding-left:20px;padding-right:20px}}.tv-card-info-collector__actions-container{display:flex;justify-content:flex-end}.tv-card-info-collector__actions--cancel-button{font-weight:400;margin-left:25px;top:7px}@media screen and (max-width:767px){.tv-card-info-collector__actions-container{flex-direction:column-reverse}.tv-card-info-collector__actions--cancel-button{margin-left:0;margin-top:15px}.tv-card-info-collector__actions .tv-button+.tv-button{margin-right:0}}.tv-card-info-collector__title-text{color:#131722;font-size:24px;font-weight:700;padding:0 40px}html.theme-dark .tv-card-info-collector__title-text{color:#d1d4dc}@media screen and (max-width:479px){.tv-card-info-collector__title-text{padding:0 20px}}.tv-card-info-collector__card-wrapper{direction:ltr;overflow:visible;padding:0 40px 24px;position:relative}@media screen and (max-width:479px){.tv-card-info-collector__card-wrapper{padding:0 20px 20px}}.tv-card-info-collector__card-parts{display:flex;flex-wrap:wrap;margin-bottom:17px}.tv-card-info-collector__card-parts:last-child{margin-bottom:0}.tv-card-info-collector__input-holder{flex:1;margin-left:10px}.tv-card-info-collector__input-holder:last-child{margin-left:0}.tv-card-info-collector__input-holder:first-child{flex:2}.tv-card-info-collector__input-holder__card-input{border-radius:4px}.tv-card-info-collector__input-holder .tv-control-error__icon{padding-left:5px}@media screen and (max-width:1019px){.tv-card-info-collector__input-holder{flex-basis:30%}.tv-card-info-collector__input-holder:first-child{flex-basis:70%;margin-left:0}.tv-card-info-collector__input-holder:not(:first-child){margin-top:10px}}.tv-card-info-collector__input-name{color:#787b86;font-size:14px;letter-spacing:.4px;line-height:21px}.tv-card-info-collector__fieldset.tv-control-fieldset{margin-bottom:20px}.tv-card-info-collector__fieldset.tv-control-fieldset:last-child{margin-bottom:0}.tv-card-info-collector__message{padding:0 40px}@media screen and (max-width:479px){.tv-card-info-collector__message{padding:0 20px 20px}}.tv-card-info-collector__footer-message{padding:0 40px 10px}.tv-card-info-collector__non-pro-container{display:inline-block;margin-bottom:20px;width:100%}.tv-card-info-collector__non-pro-label{font-size:14px;line-height:22px;margin-right:10px}.tv-card-info-collector__non-pro-help-button{display:inline-block;line-height:1;vertical-align:middle}.tv-card-info-collector__non-pro-help-button svg{fill:currentColor;height:18px;width:18px}.tv-card-info-collector__non-pro-checkbox{margin-top:2px}.tv-card-info-collector__policy-container{display:inline-block;margin-bottom:20px;width:100%}@media screen and (max-width:767px){.tv-card-info-collector__policy-container{margin-bottom:30px}}.tv-card-info-collector__policy-terms{font-size:14px;line-height:1.6em;margin-right:10px}.tv-card-info-collector__policy-terms a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-card-info-collector__policy-terms a{color:#2962ff}.tv-card-info-collector__policy-terms a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-card-info-collector__policy-terms a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-card-info-collector__policy-terms a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-card-info-collector__policy-terms a:hover{fill:#1e53e5;color:#1e53e5}}.tv-card-info-collector__policy-terms a:focus{outline:auto}.tv-card-info-collector__policy-terms a:focus:not(:-moz-focusring){outline:none}.tv-card-info-collector__policy-terms a:-moz-focusring{outline:auto}.tv-card-info-collector__policy-terms a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-card-info-collector__policy-terms a:active{fill:#1848cc;color:#1848cc}.tv-card-info-collector__policy-checkbox{margin-top:2px}.tv-card-info-collector__ice-message-container{display:inline-block;margin-bottom:20px;width:100%}@media screen and (max-width:767px){.tv-card-info-collector__ice-message-container{margin-bottom:30px}}.tv-card-info-collector__ice-message-label{font-size:14px;line-height:1.6em;margin-right:10px}.tv-card-info-collector__ice-message-label a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-card-info-collector__ice-message-label a{color:#2962ff}.tv-card-info-collector__ice-message-label a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-card-info-collector__ice-message-label a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-card-info-collector__ice-message-label a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-card-info-collector__ice-message-label a:hover{fill:#1e53e5;color:#1e53e5}}.tv-card-info-collector__ice-message-label a:focus{outline:auto}.tv-card-info-collector__ice-message-label a:focus:not(:-moz-focusring){outline:none}.tv-card-info-collector__ice-message-label a:-moz-focusring{outline:auto}.tv-card-info-collector__ice-message-label a:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-card-info-collector__ice-message-label a:active{fill:#1848cc;color:#1848cc}.tv-card-info-collector__ice-message-checkbox{margin-top:2px}.tv-card-info-collector__ice-message-label,.tv-card-info-collector__non-pro-label,.tv-card-info-collector__policy-terms{color:#131722}.tv-card-info-collector__ice-message-container .tv-control-error__messages,.tv-card-info-collector__non-pro-container .tv-control-error__messages,.tv-card-info-collector__policy-container .tv-control-error__messages{left:auto;right:0}.tv-card-info-collector .tv-card-info-collector__ice-message-checkbox,.tv-card-info-collector .tv-card-info-collector__non-pro-checkbox,.tv-card-info-collector .tv-card-info-collector__policy-checkbox{vertical-align:top}.tv-card-info-collector .tv-control-select__control,.tv-card-info-collector .tv-control-select__option-wrap{color:#434651;font-size:16px!important}.tv-card-info-collector__countries-select{max-width:167px}@media screen and (max-width:1530px){.tv-card-info-collector__countries-select{max-width:135px}}@media screen and (max-width:1019px){.tv-card-info-collector__countries-select{max-width:none}}.tv-card-info-collector__card-input{border-radius:4px}.tv-tabs{-webkit-tap-highlight-color:transparent;display:flex;height:53px;line-height:53px;overflow:hidden;padding:0 16px;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.tv-tabs:before{background-color:#e0e3eb;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;right:0}html.theme-dark .tv-tabs:before{background-color:#363a45}.tv-tabs::-webkit-scrollbar{display:none}.tv-tabs.i-loaded{padding:0}.tv-tabs--category-content{padding:0 6px}.tv-tabs__scroll-wrap{-webkit-overflow-scrolling:touch;display:block;height:100%;overflow-x:scroll;overflow-y:hidden;padding-bottom:100px;position:relative;-webkit-transform:translateZ(0);white-space:nowrap;width:100%}.tv-tabs__scroll-box{display:flex;position:relative}.tv-tabs.i-loaded .tv-tabs__scroll-box{padding:0 16px}.tv-tabs__additional-info{color:#b2b5be;transition:inherit}.tv-tabs__tab{-webkit-tap-highlight-color:transparent;box-sizing:border-box;color:#131722;cursor:pointer;display:block;font-size:14px;height:53px;line-height:53px;margin:0;padding:0 16px;position:relative;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tv-tabs__tab{color:#d1d4dc}.tv-tabs__tab:active{transition-duration:.06s}@media (any-hover:hover){.tv-tabs__tab:hover{transition-duration:.06s}}.tv-tabs__tab.i-active,.tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){.tv-tabs__tab:hover{color:#2962ff}}html.theme-dark .tv-tabs__tab.i-active,html.theme-dark .tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){html.theme-dark .tv-tabs__tab:hover{color:#2962ff}}.tv-tabs__tab.i-disabled,.tv-tabs__tab:disabled,.tv-tabs__tab[disabled]{color:#e0e3eb;cursor:default}html.theme-dark .tv-tabs__tab.i-disabled,html.theme-dark .tv-tabs__tab:disabled,html.theme-dark .tv-tabs__tab[disabled]{color:#363a45}.tv-tabs__tab--no-padding{padding:0}.tv-tabs__tab--right-shifter{margin-right:auto}.tv-tabs__tab--icon-tab{padding:0}.tv-tabs--category-header{height:46px}.tv-tabs--category-header .tv-tabs__tab{color:#131722;font-size:18px;height:46px;line-height:46px;padding-left:24px;padding-right:24px}@media (any-hover:hover){.tv-tabs--category-header .tv-tabs__tab:hover,.tv-tabs--category-header .tv-tabs__tab:hover .tv-tabs__additional-info{color:#1e53e5}}.tv-tabs--category-header .tv-tabs__tab.i-active{cursor:default}.tv-tabs--category-header .tv-tabs__tab.i-active,.tv-tabs--category-header .tv-tabs__tab.i-active .tv-tabs__additional-info{color:#2962ff}.tv-tabs__slider,.tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0;display:block;height:3px;pointer-events:none;position:absolute}html.theme-dark .tv-tabs__slider,html.theme-dark .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--compact,.tv-tabs--compact .tv-tabs__scroll-box,.tv-tabs--compact .tv-tabs__tab{height:23px}.tv-tabs--compact .tv-tabs__tab{font-size:13px;line-height:23px}.tv-tabs--semi-compact,.tv-tabs--semi-compact .tv-tabs__scroll-box,.tv-tabs--semi-compact .tv-tabs__tab{height:38px}.tv-tabs--semi-compact .tv-tabs__tab{line-height:38px}.tv-tabs--category-header.i-loaded,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--compact,.tv-tabs--compact.i-loaded .tv-tabs__scroll-box,.tv-tabs--semi-compact,.tv-tabs--semi-compact.i-loaded .tv-tabs__scroll-box{padding-left:0;padding-right:0}.tv-tabs--category-header,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--category-header .tv-tabs__scroll-box{padding-left:20px;padding-right:20px}.tv-tabs--category-header:before,.tv-tabs--compact:before,.tv-tabs--semi-compact:before{bottom:0}.tv-tabs--compact .tv-tabs__tab:first-child,.tv-tabs--semi-compact .tv-tabs__tab:first-child{margin-right:-16px}.tv-tabs--compact .tv-tabs__tab:last-child,.tv-tabs--semi-compact .tv-tabs__tab:last-child{margin-left:-16px}.tv-tabs--category-header .tv-tabs__tab:first-child{margin-right:-24px}.tv-tabs--category-header .tv-tabs__tab:last-child{margin-left:-24px}.page-wide .tv-tabs--category-header .tv-tabs__tab{padding-left:32px;padding-right:32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:first-child{margin-right:-32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:last-child{margin-left:-32px}.tv-tabs--compact .tv-tabs__tab.i-hidden:first-child+.tv-tabs__tab{margin-right:-16px}.tv-tabs--compact .tv-tabs__slider,.tv-tabs--compact .tv-tabs__tab.i-active:after{bottom:0;height:1px}@media screen and (max-width:767px){.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:first-child{margin-right:0;padding-right:0}.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:nth-last-child(2){margin-left:0;padding-left:0}}.tv-tabs--no-margin .tv-tabs__tab:first-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:first-child{margin-right:0}.tv-tabs--no-margin .tv-tabs__tab:last-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:last-child{margin-left:0}.tv-tabs--secondary-active .tv-tabs__wrap{align-items:center;background-color:#f0f3fa;border-radius:25px;display:flex;height:23px;padding:0 14px}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap{background-color:#2a2e39}@media (any-hover:hover){.tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#e0e3eb}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#363a45}}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__wrap{height:26px;padding:0 12px}.tv-tabs--secondary-active.tv-tabs--semi-compact{padding:0 14px}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#131722;padding:2px}html.theme-dark .tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#b2b5be}.tv-tabs--secondary-active .tv-tabs__tab{align-items:center;display:flex;font-size:13px;padding:0 6px}.tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#2962ff;color:#fff}html.theme-dark .tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#1848cc;color:#fff}.tv-tabs--no-border:before{display:none}.tv-tabs--no-padding,.tv-tabs--no-padding.i-loaded .tv-tabs__scroll-box{padding:0}.tv-tabs--no-padding .tv-tabs__tab{padding:0 16px}.tv-tabs--no-padding .tv-tabs__tab.tv-tabs__tab--no-padding{padding:0}.tv-tabs.i-loaded .tv-tabs__tab.i-active:after{content:none;display:none}.tv-tabs__left-arrow,.tv-tabs__right-arrow{align-items:center;background-color:#fff;bottom:0;box-sizing:initial;cursor:pointer;direction:ltr;display:flex;padding:0 5px;position:absolute;top:0;-webkit-user-select:none;user-select:none;width:36px}.tv-tabs__left-arrow:after,.tv-tabs__right-arrow:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-tabs__left-arrow svg,.tv-tabs__right-arrow svg{display:inline-block;height:12px;transform:scale(1);transition:fill .35s ease;vertical-align:middle;width:12px}@media (any-hover:hover){.tv-tabs__left-arrow:hover svg,.tv-tabs__right-arrow:hover svg{fill:#4f5966;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:hover svg,html.theme-dark .tv-tabs__right-arrow:hover svg{fill:#c5cbce}}.tv-tabs__left-arrow:active svg,.tv-tabs__right-arrow:active svg{fill:#271d2b;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:active svg,html.theme-dark .tv-tabs__right-arrow:active svg{fill:#9db2bd}.tv-tabs__right-arrow{justify-content:flex-end}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{bottom:3px;margin-top:-1px}.tv-tabs--category-header .tv-tabs__left-arrow svg,.tv-tabs--category-header .tv-tabs__right-arrow svg{vertical-align:top}.tv-tabs__left-arrow{background:linear-gradient(90deg,#fff,#ffffffd9,#fff0);left:0;text-align:left;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__left-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__left-arrow.i-slided{transform:translateX(-100%)}.tv-tabs__right-arrow{background:linear-gradient(270deg,#fff,#ffffffd9,#fff0);right:0;text-align:right;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__right-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__right-arrow.i-slided{transform:translateX(100%)}.tv-tabs--compact .tv-tabs__left-arrow,.tv-tabs--compact .tv-tabs__right-arrow{width:23px}.tv-tabs--semi-compact .tv-tabs__left-arrow,.tv-tabs--semi-compact .tv-tabs__right-arrow{width:34px}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{width:45px}.tv-tabs--searchbar:before{display:none}.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:80px}@media screen and (max-width:1019px){.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:54px}}.tv-tabs--searchbar .tv-tabs__slider,.tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff;bottom:0}html.theme-dark .tv-tabs--searchbar .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff}.tv-tabs--searchbar-profile .tv-tabs__slider,.tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--searchbar .tv-tabs__left-arrow svg,.tv-tabs--searchbar .tv-tabs__right-arrow svg{fill:#fff;opacity:.65}.tv-tabs--searchbar .tv-tabs__left-arrow:active svg,.tv-tabs--searchbar .tv-tabs__right-arrow:active svg{fill:#fff;opacity:1}@media (any-hover:hover){.tv-tabs--searchbar .tv-tabs__left-arrow:hover svg,.tv-tabs--searchbar .tv-tabs__right-arrow:hover svg{fill:#fff;opacity:1}}.tv-tabs--searchbar .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar .tv-tabs__right-arrow,html.theme-dark .tv-tabs--searchbar .tv-tabs__left-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}html.theme-dark .tv-tabs--searchbar .tv-tabs__right-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar_sub,.tv-tabs--searchbar_sub .tv-tabs__scroll-box{height:40px;line-height:40px}.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#265aeb 0,#265aeb 15%,#265aeb00)}html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(270deg,#265aeb 0,#265aeb 15%,#265aeb00)}.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#265aeb00 0,#265aeb 85%,#265aeb)}html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(270deg,#265aeb00 0,#265aeb 85%,#265aeb)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(90deg,#fff 0,#fff 45%,#fff0)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(270deg,#1e222d 0,#1e222d 45%,#1e222d00)}.tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(90deg,#fff0 0,#fff 55%,#fff)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(270deg,#1e222d00 0,#1e222d 55%,#1e222d)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow,.tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#434651}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#d1d4dc}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#f0f3fa 0,#f0f3fa 45%,#f0f3fa00)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(270deg,#2a2e39 0,#2a2e39 45%,#2a2e3900)}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#f0f3fa00 0,#f0f3fa 55%,#f0f3fa)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(270deg,#2a2e3900 0,#2a2e39 55%,#2a2e39)}.tv-start-free-trial-7bqZMNHV{background:#fff;border-radius:6px;padding:40px 0}html.theme-dark .tv-start-free-trial-7bqZMNHV{background:#1e222d}.tv-start-free-trial__section-7bqZMNHV{padding:0}.tv-start-free-trial__title-7bqZMNHV{border-bottom:none;color:#131722;font-size:36px;line-height:44px;padding:0 40px}html.theme-dark .tv-start-free-trial__title-7bqZMNHV{color:#d1d4dc}@media screen and (max-width:479px){.tv-start-free-trial__title-7bqZMNHV{padding:0 20px}}@media screen and (max-width:1530px){.tv-start-free-trial-7bqZMNHV .tv-card-info-collector__countries-select{max-width:none}}.tv-start-free-trial-7bqZMNHV .tv-card-info-collector__policy-terms{color:#131722}html.theme-dark .tv-start-free-trial-7bqZMNHV .tv-card-info-collector__policy-terms{color:#d1d4dc}.tv-start-free-trial-7bqZMNHV .tv-tabs:before{background-color:#d1d4dc}html.theme-dark .tv-start-free-trial-7bqZMNHV .tv-tabs:before{background-color:#434651}.tv-start-free-trial-7bqZMNHV .tv-control-input:-webkit-autofill{-webkit-text-fill-color:#131722!important;box-shadow:inset 0 0 0 1000px #fff!important}html.theme-dark .tv-start-free-trial-7bqZMNHV .tv-control-input:-webkit-autofill{-webkit-text-fill-color:#d1d4dc!important;box-shadow:inset 0 0 0 1000px #1e222d!important} \ No newline at end of file diff --git a/charting_library/bundles/455e18987c2c85ec010fd1456751ab61.svg b/charting_library/bundles/455e18987c2c85ec010fd1456751ab61.svg new file mode 100644 index 00000000..eb3a00de --- /dev/null +++ b/charting_library/bundles/455e18987c2c85ec010fd1456751ab61.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4634.2a4010396de3915172a8.css b/charting_library/bundles/4634.2a4010396de3915172a8.css new file mode 100644 index 00000000..05358d68 --- /dev/null +++ b/charting_library/bundles/4634.2a4010396de3915172a8.css @@ -0,0 +1 @@ +.label-lgIqilXY{color:#787b86;font-size:14px;line-height:21px}.input-lgIqilXY{word-break:normal} \ No newline at end of file diff --git a/charting_library/bundles/4634.2a4010396de3915172a8.rtl.css b/charting_library/bundles/4634.2a4010396de3915172a8.rtl.css new file mode 100644 index 00000000..05358d68 --- /dev/null +++ b/charting_library/bundles/4634.2a4010396de3915172a8.rtl.css @@ -0,0 +1 @@ +.label-lgIqilXY{color:#787b86;font-size:14px;line-height:21px}.input-lgIqilXY{word-break:normal} \ No newline at end of file diff --git a/charting_library/bundles/46eec22a6748063a64a9d7fdce4efc95.svg b/charting_library/bundles/46eec22a6748063a64a9d7fdce4efc95.svg new file mode 100644 index 00000000..81fcf5e3 --- /dev/null +++ b/charting_library/bundles/46eec22a6748063a64a9d7fdce4efc95.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4752624c631776e721a978174febf46b.svg b/charting_library/bundles/4752624c631776e721a978174febf46b.svg new file mode 100644 index 00000000..7f6f714f --- /dev/null +++ b/charting_library/bundles/4752624c631776e721a978174febf46b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4791e97b8673d0b0ec66d93ef3f02bb0.svg b/charting_library/bundles/4791e97b8673d0b0ec66d93ef3f02bb0.svg new file mode 100644 index 00000000..e79c27bb --- /dev/null +++ b/charting_library/bundles/4791e97b8673d0b0ec66d93ef3f02bb0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/47b1e1cc6cc78ac578822f22213f5eb3.svg b/charting_library/bundles/47b1e1cc6cc78ac578822f22213f5eb3.svg new file mode 100644 index 00000000..f34f8680 --- /dev/null +++ b/charting_library/bundles/47b1e1cc6cc78ac578822f22213f5eb3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/47f09a2aa1752e19fb33290fcc46c47a.svg b/charting_library/bundles/47f09a2aa1752e19fb33290fcc46c47a.svg new file mode 100644 index 00000000..e7ae3a66 --- /dev/null +++ b/charting_library/bundles/47f09a2aa1752e19fb33290fcc46c47a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4891.f1952d185e606d135bad.js b/charting_library/bundles/4891.f1952d185e606d135bad.js deleted file mode 100644 index 5299109d..00000000 --- a/charting_library/bundles/4891.f1952d185e606d135bad.js +++ /dev/null @@ -1,27 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4891],{37593:e=>{e.exports={wrapper:"wrapper-5Xd5conM",input:"input-5Xd5conM",box:"box-5Xd5conM",icon:"icon-5Xd5conM",noOutline:"noOutline-5Xd5conM","intent-danger":"intent-danger-5Xd5conM",check:"check-5Xd5conM",dot:"dot-5Xd5conM"}},96670:e=>{e.exports={checkbox:"checkbox-GxG6nBa7",reverse:"reverse-GxG6nBa7",label:"label-GxG6nBa7",baseline:"baseline-GxG6nBa7"}},12857:e=>{e.exports={"textarea-container":"textarea-container-I5L4qQPj","change-highlight":"change-highlight-I5L4qQPj",focused:"focused-I5L4qQPj","resize-vertical":"resize-vertical-I5L4qQPj","resize-horizontal":"resize-horizontal-I5L4qQPj","resize-both":"resize-both-I5L4qQPj",textarea:"textarea-I5L4qQPj"}},15994:e=>{e.exports={radio:"radio-vpA3AYsc",input:"input-vpA3AYsc",box:"box-vpA3AYsc",reverse:"reverse-vpA3AYsc",label:"label-vpA3AYsc",wrapper:"wrapper-vpA3AYsc",noOutline:"noOutline-vpA3AYsc"}},74588:e=>{e.exports={wrap:"wrap-sYKPueSl",thicknessItem:"thicknessItem-sYKPueSl",checked:"checked-sYKPueSl",radio:"radio-sYKPueSl",bar:"bar-sYKPueSl"}},9198:e=>{e.exports={innerLabel:"innerLabel-MS9pjVpT"}},44712:e=>{e.exports={controlWrapper:"controlWrapper-y2rn9wiU",hidden:"hidden-y2rn9wiU",control:"control-y2rn9wiU",controlIncrease:"controlIncrease-y2rn9wiU",controlDecrease:"controlDecrease-y2rn9wiU",controlIcon:"controlIcon-y2rn9wiU",title:"title-y2rn9wiU"}},16300:e=>{e.exports={titleWrap:"titleWrap-ZYQL0yaM",groupFooter:"groupFooter-ZYQL0yaM"}},23128:e=>{e.exports={inlineRow:"inlineRow-CqPNtHDN"}},70199:e=>{e.exports={icon:"icon-OTC0ma9h"}},6041:e=>{e.exports={input:"input-pBN3Orju",symbol:"symbol-pBN3Orju",checkbox:"checkbox-pBN3Orju",label:"label-pBN3Orju",dropdownMenu:"dropdownMenu-pBN3Orju",sessionStart:"sessionStart-pBN3Orju",sessionEnd:"sessionEnd-pBN3Orju",sessionInputContainer:"sessionInputContainer-pBN3Orju",sessionDash:"sessionDash-pBN3Orju",inputGroup:"inputGroup-pBN3Orju",textarea:"textarea-pBN3Orju",inlineGroup:"inlineGroup-pBN3Orju",hasTooltip:"hasTooltip-pBN3Orju"}},46828:e=>{e.exports={content:"content-ByXdMGQj",cell:"cell-ByXdMGQj",inner:"inner-ByXdMGQj",first:"first-ByXdMGQj",inlineCell:"inlineCell-ByXdMGQj",fill:"fill-ByXdMGQj",top:"top-ByXdMGQj",topCenter:"topCenter-ByXdMGQj",offset:"offset-ByXdMGQj",inlineRow:"inlineRow-ByXdMGQj",grouped:"grouped-ByXdMGQj",separator:"separator-ByXdMGQj",groupSeparator:"groupSeparator-ByXdMGQj",big:"big-ByXdMGQj",adaptive:"adaptive-ByXdMGQj",checkableTitle:"checkableTitle-ByXdMGQj"}},300:e=>{e.exports={wrap:"wrap-l3G0HrB9",labelWrap:"labelWrap-l3G0HrB9",label:"label-l3G0HrB9",hasTooltip:"hasTooltip-l3G0HrB9"}},55914:e=>{e.exports={wrap:"wrap-GsOqvniR",icon:"icon-GsOqvniR",text:"text-GsOqvniR",disabled:"disabled-GsOqvniR"}},14348:e=>{e.exports={colorPickerWrap:"colorPickerWrap-pz6IRAmC",focused:"focused-pz6IRAmC",readonly:"readonly-pz6IRAmC",disabled:"disabled-pz6IRAmC","size-small":"size-small-pz6IRAmC","size-medium":"size-medium-pz6IRAmC","size-large":"size-large-pz6IRAmC","font-size-small":"font-size-small-pz6IRAmC", -"font-size-medium":"font-size-medium-pz6IRAmC","font-size-large":"font-size-large-pz6IRAmC","border-none":"border-none-pz6IRAmC",shadow:"shadow-pz6IRAmC","border-thin":"border-thin-pz6IRAmC","border-thick":"border-thick-pz6IRAmC","intent-default":"intent-default-pz6IRAmC","intent-success":"intent-success-pz6IRAmC","intent-warning":"intent-warning-pz6IRAmC","intent-danger":"intent-danger-pz6IRAmC","intent-primary":"intent-primary-pz6IRAmC","corner-top-left":"corner-top-left-pz6IRAmC","corner-top-right":"corner-top-right-pz6IRAmC","corner-bottom-right":"corner-bottom-right-pz6IRAmC","corner-bottom-left":"corner-bottom-left-pz6IRAmC",colorPicker:"colorPicker-pz6IRAmC",swatch:"swatch-pz6IRAmC",placeholderContainer:"placeholderContainer-pz6IRAmC",placeholder:"placeholder-pz6IRAmC",mixedColor:"mixedColor-pz6IRAmC",white:"white-pz6IRAmC",opacitySwatch:"opacitySwatch-pz6IRAmC",colorLine:"colorLine-pz6IRAmC",multiWidth:"multiWidth-pz6IRAmC",line:"line-pz6IRAmC",thicknessContainer:"thicknessContainer-pz6IRAmC",thicknessTitle:"thicknessTitle-pz6IRAmC"}},83421:e=>{e.exports={thicknessContainer:"thicknessContainer-ofeynovw",thicknessTitle:"thicknessTitle-ofeynovw"}},83998:e=>{e.exports={hasTooltip:"hasTooltip-0t5K1wco",uppercase:"uppercase-0t5K1wco"}},26527:e=>{e.exports={wrap:"wrap-dHwHcgvB"}},27345:e=>{e.exports={checkbox:"checkbox-24x04noU",title:"title-24x04noU"}},51842:e=>{e.exports={titleWrap:"titleWrap-O5QDBhZc",title:"title-O5QDBhZc"}},10667:e=>{e.exports={container:"container-WiTVOllB",sectionTitle:"sectionTitle-WiTVOllB",separator:"separator-WiTVOllB",customButton:"customButton-WiTVOllB"}},99565:e=>{e.exports={container:"container-UpS01XRM",form:"form-UpS01XRM",swatch:"swatch-UpS01XRM",inputWrap:"inputWrap-UpS01XRM",inputHash:"inputHash-UpS01XRM",input:"input-UpS01XRM",buttonWrap:"buttonWrap-UpS01XRM",hueSaturationWrap:"hueSaturationWrap-UpS01XRM",saturation:"saturation-UpS01XRM",hue:"hue-UpS01XRM"}},24429:e=>{e.exports={hue:"hue-oQv2KoOx",pointer:"pointer-oQv2KoOx",pointerContainer:"pointerContainer-oQv2KoOx"}},15381:e=>{e.exports={opacity:"opacity-YL5Gjk00",opacitySlider:"opacitySlider-YL5Gjk00",opacitySliderGradient:"opacitySliderGradient-YL5Gjk00",pointer:"pointer-YL5Gjk00",dragged:"dragged-YL5Gjk00",opacityPointerWrap:"opacityPointerWrap-YL5Gjk00",opacityInputWrap:"opacityInputWrap-YL5Gjk00",opacityInput:"opacityInput-YL5Gjk00",opacityInputPercent:"opacityInputPercent-YL5Gjk00"}},88440:e=>{e.exports={saturation:"saturation-lJHGRPyu",pointer:"pointer-lJHGRPyu"}},24590:e=>{e.exports={swatches:"swatches-qgksmXjR",swatch:"swatch-qgksmXjR",hover:"hover-qgksmXjR",empty:"empty-qgksmXjR",white:"white-qgksmXjR",selected:"selected-qgksmXjR",contextItem:"contextItem-qgksmXjR"}},66230:e=>{e.exports={button:"button-h8C3IU2n","button-children":"button-children-h8C3IU2n",hiddenArrow:"hiddenArrow-h8C3IU2n",invisibleFocusHandler:"invisibleFocusHandler-h8C3IU2n"}},99171:e=>{e.exports={button:"button-1ARG85Og",disabled:"disabled-1ARG85Og",hidden:"hidden-1ARG85Og",icon:"icon-1ARG85Og",dropped:"dropped-1ARG85Og"}},79756:e=>{e.exports={ -placeholder:"placeholder-fKHYe1Lk"}},84413:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>c});var o=n(59496),s=n(97754),r=n(9745),a=n(49154),i=n(37593),l=n.n(i);function c(e){const t=s(l().box,l()["intent-"+e.intent],{[l().check]:!Boolean(e.indeterminate),[l().dot]:Boolean(e.indeterminate),[l().noOutline]:-1===e.tabIndex}),n=s(l().wrapper,e.className);return o.createElement("span",{className:n,title:e.title},o.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}),o.createElement("span",{className:t},o.createElement(r.Icon,{icon:a,className:l().icon})))}},15294:(e,t,n)=>{"use strict";n.d(t,{Checkbox:()=>c});var o=n(59496),s=n(97754),r=n(54349),a=n(84413),i=n(96670),l=n.n(i);class c extends o.PureComponent{render(){const{inputClassName:e,labelClassName:t,...n}=this.props,r=s(this.props.className,l().checkbox,{[l().reverse]:Boolean(this.props.labelPositionReverse),[l().baseline]:Boolean(this.props.labelAlignBaseline)}),i=s(l().label,t,{[l().disabled]:this.props.disabled});let c=null;return this.props.label&&(c=o.createElement("span",{className:i,title:this.props.title},this.props.label)),o.createElement("label",{className:r},o.createElement(a.CheckboxInput,{...n,className:e}),c)}}c.defaultProps={value:"on"};(0,r.makeSwitchGroupItem)(c)},2568:(e,t,n)=>{"use strict";n.d(t,{Textarea:()=>f});var o,s=n(59496),r=n(97754),a=n(66092),i=n(29202),l=n(48027),c=n(45812),u=n(47201),p=n(48907),d=n(67029),h=n(78274),m=n(12857),g=n.n(m);!function(e){e.None="none",e.Vertical="vertical",e.Horizontal="horizontal",e.Both="both"}(o||(o={}));const b=s.forwardRef((e,t)=>{const{id:n,title:o,tabIndex:a,containerTabIndex:i,role:l,inputClassName:c,autoComplete:u,autoFocus:p,cols:m,disabled:b,isFocused:v,form:C,maxLength:f,minLength:y,name:E,placeholder:S,readonly:x,required:_,rows:w,value:N,defaultValue:k,wrap:I,containerReference:T,onChange:P,onSelect:R,onFocus:B,onContainerFocus:M,onBlur:O,"aria-describedby":A,...D}=e,z={id:n,title:o,tabIndex:a,role:l,autoComplete:u,autoFocus:p,cols:m,disabled:b,form:C,maxLength:f,minLength:y,name:E,placeholder:S,readOnly:x,required:_,rows:w,value:N,defaultValue:k,wrap:I,onChange:P,onSelect:R,onFocus:B,onBlur:O,"aria-describedby":A};return s.createElement(d.ControlSkeleton,{...D,tabIndex:i,disabled:b,readonly:x,isFocused:v,ref:T,onFocus:M,middleSlot:s.createElement(h.MiddleSlot,null,s.createElement("textarea",{...z,className:r(g().textarea,c),ref:t}))})});b.displayName="TextareaView";const v=(e,t,n)=>t?void 0:e?-1:n,C=(e,t,n)=>t?void 0:e?n:-1,f=s.forwardRef((e,t)=>{e=(0,l.useControl)(e);const{className:n,disabled:d,autoSelectOnFocus:h,tabIndex:m=0,borderStyle:f,highlight:y,resize:E,containerReference:S=null,onFocus:x,onBlur:_,...w}=e,N=(0,s.useRef)(null),k=(0,s.useRef)(null),{isMouseDown:I,handleMouseDown:T,handleMouseUp:P}=(0,c.useIsMouseDown)(),[R,B]=(0,i.useFocus)(),M=(0, -u.createSafeMulticastEventHandler)(B.onFocus,(function(e){h&&!I.current&&(0,p.selectAllContent)(e.currentTarget)}),x),O=(0,u.createSafeMulticastEventHandler)(B.onBlur,_),A=void 0!==E&&E!==o.None,D=null!=f?f:A?y?"thick":"thin":void 0,z=null!=y?y:!A&&void 0;return s.createElement(b,{...w,className:r(g()["textarea-container"],A&&g()["change-highlight"],E&&E!==o.None&&g()["resize-"+E],R&&g().focused,n),disabled:d,isFocused:R,containerTabIndex:v(R,d,m),tabIndex:C(R,d,m),borderStyle:D,highlight:z,onContainerFocus:function(e){k.current===e.target&&null!==N.current&&N.current.focus()},onFocus:M,onBlur:O,onMouseDown:T,onMouseUp:P,ref:function(e){N.current=e,"function"==typeof t?t(e):t&&(t.current=e)},containerReference:(0,a.useMergedRefs)([S,k])})});f.displayName="Textarea"},54349:(e,t,n)=>{"use strict";n.d(t,{SwitchGroup:()=>r,makeSwitchGroupItem:()=>a});var o=n(59496),s=n(19036);class r extends o.PureComponent{constructor(){super(...arguments),this._subscriptions=new Set,this._getName=()=>this.props.name,this._getValues=()=>this.props.values,this._getOnChange=()=>this.props.onChange,this._subscribe=e=>{this._subscriptions.add(e)},this._unsubscribe=e=>{this._subscriptions.delete(e)}}getChildContext(){return{switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}}render(){return this.props.children}componentDidUpdate(e){this._notify(this._getUpdates(this.props.values,e.values))}_notify(e){this._subscriptions.forEach(t=>t(e))}_getUpdates(e,t){return[...t,...e].filter(n=>t.includes(n)?!e.includes(n):e.includes(n))}}function a(e){var t;return(t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=e=>{this.context.switchGroupContext.getOnChange()(e)},this._onUpdate=e=>{e.includes(this.props.value)&&this.forceUpdate()}}componentDidMount(){this.context.switchGroupContext.subscribe(this._onUpdate)}render(){return o.createElement(e,{...this.props,name:this._getName(),onChange:this._onChange,checked:this._isChecked()})}componentWillUnmount(){this.context.switchGroupContext.unsubscribe(this._onUpdate)}_getName(){return this.context.switchGroupContext.getName()}_isChecked(){return this.context.switchGroupContext.getValues().includes(this.props.value)}}).contextTypes={switchGroupContext:s.any.isRequired},t}r.childContextTypes={switchGroupContext:s.any.isRequired}},22064:(e,t,n)=>{"use strict";n.d(t,{createDomId:()=>l,joinDomIds:()=>c});const o=/\s/g;function s(e){return"string"==typeof e}function r(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function a(e){return e.trim().length>0}function i(e){return e.replace(o,"-")}function l(...e){const t=e.map(r).filter(s).filter(a).map(i);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function c(...e){return e.map(r).filter(s).filter(a).join(" ")}},92399:(e,t,n)=>{"use strict";n.d(t,{NumberInputView:()=>N}) -;var o=n(59496),s=n(32563),r=n(97754),a=n(67029),i=n(78274),l=n(86623),c=n(84275),u=n(1405),p=n(9198);const d={large:a.InputClasses.FontSizeLarge,medium:a.InputClasses.FontSizeMedium},h={attachment:u.anchors.top.attachment,targetAttachment:u.anchors.top.targetAttachment,attachmentOffsetY:-4};function m(e){const{className:t,inputClassName:n,stretch:s=!0,errorMessage:a,fontSizeStyle:u="large",endSlot:m,button:g,error:b,warning:v,innerLabel:C,inputReference:f,children:y,...E}=e,S=b&&void 0!==a?[a]:void 0,x=v&&void 0!==a?[a]:void 0,_=r(p.inputContainer,d[u],t),w=C?o.createElement(i.StartSlot,{className:p.innerLabel,interactive:!1},C):void 0,N=m||g||y?o.createElement(i.EndSlot,null,m,g,y):void 0;return o.createElement(l.FormInput,{...E,className:_,inputClassName:n,errors:S,warnings:x,hasErrors:b,hasWarnings:v,messagesPosition:c.MessagesPosition.Attached,customErrorsAttachment:h,messagesRoot:"document",inheritMessagesWidthFromTarget:!0,disableMessagesRtlStyles:!0,iconHidden:!0,stretch:s,reference:f,startSlot:w,endSlot:N})}var g=n(28353),b=n(9745),v=n(81268),C=n(44712);function f(e){const t=r(C.control,C.controlIncrease),n=r(C.control,C.controlDecrease);return o.createElement(o.Fragment,null,void 0!==e.title&&o.createElement("div",{className:C.title},e.title),o.createElement("div",{className:C.controlWrapper},(e.defaultButtonsVisible||e.title)&&o.createElement(o.Fragment,null,o.createElement("button",{type:"button",tabIndex:-1,"aria-label":(0,g.t)("Increase"),className:t,onClick:e.increaseValue},o.createElement(b.Icon,{icon:v,className:C.controlIcon})),o.createElement("button",{type:"button",tabIndex:-1,"aria-label":(0,g.t)("Decrease"),className:n,onClick:e.decreaseValue},o.createElement(b.Icon,{icon:v,className:C.controlIcon})))))}var y=n(70412),E=n(29202),S=n(47201),x=n(68335);const _=[38],w=[40];function N(e){const[t,n]=(0,y.useHover)(),[r,a]=(0,E.useFocus)(),i=(0,S.createSafeMulticastEventHandler)(a.onFocus,e.onFocus),l=(0,S.createSafeMulticastEventHandler)(a.onBlur,e.onBlur),c=(0,o.useCallback)(t=>{!e.disabled&&r&&(t.preventDefault(),t.deltaY<0?e.onValueByStepChange(1):e.onValueByStepChange(-1))},[r,e.disabled,e.onValueByStepChange]);return o.createElement(m,{...n,id:e.id,name:e.name,pattern:e.pattern,borderStyle:e.borderStyle,fontSizeStyle:e.fontSizeStyle,value:e.value,className:e.className,inputClassName:e.inputClassName,button:function(){const{button:n,forceShowControls:a,disabled:i,title:l}=e,c=!i&&!s.mobiletouch&&(a||r||t);return i?void 0:o.createElement(o.Fragment,null,null!=n?n:o.createElement(f,{increaseValue:u,decreaseValue:p,defaultButtonsVisible:c,title:l}))}(),disabled:e.disabled,placeholder:e.placeholder,innerLabel:e.innerLabel,endSlot:e.endSlot,containerReference:e.containerReference,inputReference:e.inputReference,inputMode:e.inputMode,type:e.type,error:e.error,errorMessage:e.errorMessage,onClick:e.onClick,onFocus:i,onBlur:l,onChange:e.onValueChange,onKeyDown:function(t){if(e.disabled||0!==(0,x.modifiersFromEvent)(t.nativeEvent))return;let n=_,o=w;e.controlDecKeyCodes&&(o=o.concat(e.controlDecKeyCodes)) -;e.controlIncKeyCodes&&(n=n.concat(e.controlIncKeyCodes));(o.includes(t.keyCode)||n.includes(t.keyCode))&&(t.preventDefault(),e.onValueByStepChange(o.includes(t.keyCode)?-1:1));e.onKeyDown&&e.onKeyDown(t)},onWheelNoPassive:c,stretch:e.stretch,intent:e.intent,highlight:e.highlight,highlightRemoveRoundBorder:e.highlightRemoveRoundBorder,autoSelectOnFocus:e.autoSelectOnFocus,"data-property-id":e["data-name"]});function u(){e.disabled||e.onValueByStepChange(1)}function p(){e.disabled||e.onValueByStepChange(-1)}}},35726:(e,t,n)=>{"use strict";n.d(t,{splitThousands:()=>s});var o=n(93751);function s(e,t=" "){let n=e+"";-1!==n.indexOf("e")&&(n=function(e){return(0,o.fixComputationError)(e).toFixed(10).replace(/\.?0+$/,"")}(Number(e)));const s=n.split(".");return s[0].replace(/\B(?=(\d{3})+(?!\d))/g,t)+(s[1]?"."+s[1]:"")}},46446:(e,t,n)=>{"use strict";n.d(t,{bind:()=>a,setter:()=>i});var o=n(59496),s=n(617),r=n(27365);function a(e){var t;return(t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=(e,t,n)=>{const{setValue:o}=this.context,{onChange:s}=this.props;i(o,s)(e,t,n)}}render(){const{input:t}=this.props,{values:n,model:s}=this.context;return o.createElement(e,{...this.props,value:n[t.id],tzName:(0,r.getTimezoneName)(s),onChange:this._onChange})}}).contextType=s.PropertyContext,t}function i(e,t){return(n,o,s)=>{e(o,n,s),t&&t(n,o,s)}}},617:(e,t,n)=>{"use strict";n.d(t,{PropertyContext:()=>c,PropertyContainer:()=>u});var o=n(59496),s=n(88537),r=n(28353),a=n(24980);const i=(0,n(98125).getLogger)("Platform.GUI.StudyInputPropertyContainer"),l=new a.TranslatedString("change {propertyName} property",(0,r.t)("change {propertyName} property")),c=o.createContext(null);class u extends o.PureComponent{constructor(e){super(e),this._setValue=(e,t,n)=>{const{property:o,model:c}=this.props,u=(0,s.ensureDefined)(o.child(e));i.logNormal(`Changing property "${e}" value from "${o.value()}" to "${t}"`);const p=new a.TranslatedString(n,function(e){return(0,r.t)(e,{context:"input"})}(n));c.setProperty(u,t,l.format({propertyName:p}))};const{property:t}=e,n={};t.childNames().forEach(e=>{const o=(0,s.ensureDefined)(t.child(e));n.hasOwnProperty(e)||(n[e]=o.value())}),this.state=n}componentDidMount(){const{property:e,onStudyInputChange:t}=this.props;e.childNames().forEach(n=>{(0,s.ensureDefined)(e.child(n)).subscribe(this,e=>{const o=e.value();i.logNormal(`Property "${n}" updated to value "${o}"`),this.setState({[n]:o}),null==t||t(o,n)})})}componentWillUnmount(){const{property:e}=this.props;e.childNames().forEach(t=>{(0,s.ensureDefined)(e.child(t)).unsubscribeAll(this)})}render(){const{study:e,model:t,children:n}=this.props,s={study:e,model:t,values:this.state,setValue:this._setValue};return o.createElement(c.Provider,{value:s},n)}}},44488:(e,t,n)=>{"use strict";n.d(t,{ModelContext:()=>s,bindModel:()=>r});var o=n(59496);const s=o.createContext(null);function r(e,t){return o.createElement(s.Consumer,null,n=>n?o.createElement(e,{...Object.assign({model:n},t)}):null)}},87536:(e,t,n)=>{"use strict";n.d(t,{ -StylePropertyContext:()=>r,StylePropertyContainer:()=>a,bindPropertyContext:()=>i});var o=n(59496),s=n(44488);const r=o.createContext(null);class a extends o.PureComponent{constructor(){super(...arguments),this._setValue=(e,t,n)=>{const{model:o}=this.props;o.setProperty(e,t,n)}}componentDidMount(){const{property:e}=this.props;e.subscribe(this,()=>this.forceUpdate())}componentWillUnmount(){const{property:e}=this.props;e.unsubscribeAll(this)}render(){const e={setValue:this._setValue};return o.createElement(r.Provider,{value:e},this.props.children)}}function i(e,t){return(0,s.bindModel)(({model:n})=>o.createElement(a,{model:n,property:t.property},o.createElement(e,{...t})),t)}},65376:(e,t,n)=>{"use strict";n.d(t,{InputTooltip:()=>h});var o=n(59496),s=n(97754),r=n.n(s),a=n(9745),i=n(38780),l=n(32563),c=n(70199),u=n(60495);function p(){document.removeEventListener("scroll",p),document.removeEventListener("touchstart",p),(0,i.hide)()}function d(e){l.mobiletouch&&((0,i.showOnElement)(e.currentTarget,{tooltipDelay:0}),document.addEventListener("scroll",p),document.addEventListener("touchstart",p))}function h(e){const{className:t,title:n}=e;return o.createElement(a.Icon,{icon:u,className:r()(t,"apply-common-tooltip",c.icon),title:n,onClick:d})}},95087:(e,t,n)=>{"use strict";n.d(t,{isGroup:()=>s,isInputInlines:()=>r,getInputGroups:()=>a});var o=n(88537);function s(e){return e.hasOwnProperty("groupType")}function r(e){return s(e)&&"inline"===e.groupType}function a(e){const t=[],n=new Map,s=new Map;return s.set(void 0,new Map),e.forEach(e=>{const{group:r,inline:a}=e;if(void 0!==r||void 0!==a)if(void 0!==r)if(void 0!==a)if(n.has(r)){const t=(0,o.ensureDefined)(n.get(r));let l;s.has(t)?l=(0,o.ensureDefined)(s.get(t)):(l=new Map,s.set(t,l)),i(e,"inline",a,l,t.children)}else{const o={id:a,groupType:"inline",children:[e]},i={id:r,groupType:"group",children:[o]},l=new Map;l.set(a,o),s.set(i,l),n.set(r,i),t.push(i)}else i(e,"group",r,n,t);else{const n=(0,o.ensureDefined)(s.get(void 0));i(e,"inline",(0,o.ensureDefined)(a),n,t)}else t.push(e)}),t}function i(e,t,n,s,r){if(s.has(n))(0,o.ensureDefined)(s.get(n)).children.push(e);else{const o={id:n,groupType:t,children:[e]};s.set(n,o),r.push(o)}}},27547:(e,t,n)=>{"use strict";n.d(t,{InputRow:()=>X});var o=n(28353),s=n(59496),r=n(88537),a=n(33266),i=n(26007),l=n(48948),c=n(48100),u=n(97754),p=n.n(u),d=n(31261),h=n(46446),m=n(93379),g=n(6041);class b extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:o,onKeyDown:r,hasTooltip:a}=this.props;return s.createElement(d.InputControl,{className:p()(g.input,a&&g.hasTooltip),value:void 0===t?e:t,onChange:this._onChange,onBlur:o,onKeyDown:r,disabled:n})}}const v=(0,m.debounced)(b),C=(0,h.bind)(v);var f=n(76110),y=n(35868);function E(e){const{className:t}=e,n=(0,s.useContext)(y.PropertyTable.InlineRowContext);return s.createElement("div",{className:u(g.inputGroup,n&&g.inlineGroup,t)},e.children) -}var S=n(36565);function x(e=""){const[,t="",n="",o="",s=""]=Array.from(e.match(/^(\d\d)(\d\d)-(\d\d)(\d\d)/)||[]);return[`${t}:${n}`,`${o}:${s}`]}class _ extends s.PureComponent{constructor(e){super(e),this._onStartPick=e=>{this.setState({startTime:e},this._onChange)},this._onEndPick=e=>{this.setState({endTime:e},this._onChange)},this._onChange=()=>{const{input:{id:e,name:t},onChange:n}=this.props,{startTime:o,endTime:s}=this.state;n(o.replace(":","")+"-"+s.replace(":",""),e,t)};const t=e.value||e.input.defval,[n,o]=x(t);this.state={prevValue:t,startTime:n,endTime:o}}render(){const{startTime:e,endTime:t}=this.state,{hasTooltip:n,disabled:o}=this.props;return s.createElement(E,{className:p()(n&&g.hasTooltip)},s.createElement("div",{className:g.sessionStart},s.createElement(S.TimeInput,{className:p()(g.input,g.sessionInputContainer),name:"start",value:(0,r.ensureDefined)(e),onChange:this._onStartPick,disabled:o}),s.createElement("span",{className:g.sessionDash}," — ")),s.createElement("div",{className:g.sessionEnd},s.createElement(S.TimeInput,{className:p()(g.input,g.sessionInputContainer),name:"end",value:(0,r.ensureDefined)(t),onChange:this._onEndPick,disabled:o})))}static getDerivedStateFromProps(e,t){if(e.value===t.prevValue)return t;const[n,o]=x(e.value);return{prevValue:e.value,startTime:n,endTime:o}}}const w=(0,h.bind)(_);var N=n(67337),k=n(67072),I=n.n(k),T=n(617),P=n(45685);class R extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:{id:e,defval:t,options:n,optionsTitles:r},value:a,disabled:i,hasTooltip:l}=this.props,c=n.map(e=>{const t=r&&r[e]?r[e]:e;return{value:e,content:(0,o.t)(t,{context:"input"})}}),u=void 0!==a&&n.includes(a)?a:t;return s.createElement(P.Select,{id:e,className:p()(g.input,l&&g.hasTooltip),menuClassName:g.dropdownMenu,value:u,items:c,onChange:this._onChange,disabled:i})}}const B=(0,h.bind)(R);var M=n(72280);const O={open:(0,o.t)("open"),high:(0,o.t)("high"),low:(0,o.t)("low"),close:(0,o.t)("close"),hl2:(0,o.t)("hl2"),hlc3:(0,o.t)("hlc3"),ohlc4:(0,o.t)("ohlc4"),hlcc4:(0,o.t)("hlcc4")};class A extends s.PureComponent{render(){const{input:e}=this.props,{study:t,model:n}=this.context;let o={...O};delete o.hlcc4;const a=(0,M.createAdapter)(t);if(t&&this._isStudy(t)&&t.isChildStudy()){const t=a.parentSource(),n=t.title(),s=I().getChildSourceInputTitles(e,t.metaInfo(),n);o={...o,...s}}if(N.enabled("study_on_study")&&t&&this._isStudy(t)&&(t.isChildStudy()||I().canBeChild(t.metaInfo()))){const e=[t,...a.getAllChildren()];n.model().allStudies().filter(t=>t.canHaveChildren()&&!e.includes(t)).forEach(e=>{const t=e.title(!0,void 0,!0),n=e.sourceId()||"#"+e.id(),s=e.metaInfo(),a=s.styles,i=s.plots||[];if(1===i.length)o[n+"$0"]=t;else if(i.length>1){const e=i.reduce((e,o,s)=>{if(!I().canPlotBeSourceOfChildStudy(o.type))return e;let i;try{i=(0,r.ensureDefined)((0,r.ensureDefined)(a)[o.id]).title}catch(e){i=o.id}return{...e,[`${n}$${s}`]:`${t}: ${i}`}},{});o={...o,...e}}})}const i={...e,type:"text", -options:Object.keys(o),optionsTitles:o};return s.createElement(B,{...this.props,input:i})}_isStudy(e){return!e.hasOwnProperty("isInputsStudy")}}A.contextType=T.PropertyContext;var D=n(29823),z=n(9315);const V=void 0,F=["1","3","5","15","30","45","60","120","180","240","1D","1W","1M"];class L extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:e,value:t,disabled:n,hasTooltip:r}=this.props,a=D.Interval.parse(void 0===t?e.defval:t),i=a.isValid()?a.value():t,l=V?V.get().filter(e=>!D.Interval.parse(e).isRange()):[],c=(0,z.mergeResolutions)(F,l);return c.unshift(""),s.createElement(P.Select,{id:e.id,className:p()(g.input,g.resolution,r&&g.hasTooltip),menuClassName:p()(g.dropdownMenu,g.resolution),items:(u=c,u.map(e=>({value:e,content:""===e?(0,o.t)("Chart"):(0,z.getTranslatedResolutionModel)(e).hint}))),value:i,onChange:this._onChange,disabled:n});var u}}const G=(0,h.bind)(L);var W=n(79946),j=n(87536);class H extends s.PureComponent{render(){return s.createElement(T.PropertyContext.Consumer,null,e=>e?this._getColorInputWithContext(e):null)}_getColorInputWithContext(e){var t;const{input:{id:n},disabled:o,hasTooltip:r}=this.props,{model:a,study:i}=e;if("properties"in i||"tempProperties"in i){const e="properties"in i?i.properties().inputs[n]:null===(t=i.tempProperties)||void 0===t?void 0:t.inputs.child(n);return s.createElement(j.StylePropertyContainer,{model:a,property:e},s.createElement(W.ColorWithThicknessSelect,{className:p()(r&&g.hasTooltip),color:e,disabled:o}))}return null}}class K extends s.PureComponent{render(){const{input:e,disabled:t,onChange:n,tzName:o,hasTooltip:r}=this.props;if((0,a.isStudyInputOptionsInfo)(e))return s.createElement(B,{input:e,disabled:t,onChange:n,hasTooltip:r});switch(e.type){case"integer":return s.createElement(i.IntegerInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"float":case"price":return s.createElement(l.FloatInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"bool":return s.createElement(c.BoolInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"text":return s.createElement(C,{input:e,disabled:t,onChange:n,hasTooltip:r});case"symbol":return s.createElement(f.SymbolInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"session":return s.createElement(w,{input:e,disabled:t,onChange:n,hasTooltip:r});case"source":return s.createElement(A,{input:e,disabled:t,onChange:n,hasTooltip:r});case"resolution":return s.createElement(G,{input:e,disabled:t,onChange:n,hasTooltip:r});case"time":return null;case"color":return s.createElement(H,{input:e,disabled:t,onChange:n,hasTooltip:r});default:return null}}}var U=n(65376);class X extends s.PureComponent{render(){const{label:e,children:t,input:n,disabled:a,onChange:i,labelAlign:l,grouped:c,tooltip:u,offset:p}=this.props;return s.createElement(y.PropertyTable.Row,null,s.createElement(y.PropertyTable.Cell,{placement:"first",verticalAlign:l,grouped:c,offset:p},void 0!==e?e:(0,o.t)((0,r.ensureDefined)(n).name,{context:"input" -})),s.createElement(y.PropertyTable.Cell,{placement:"last",grouped:c},t||s.createElement(K,{input:(0,r.ensureDefined)(n),onChange:i,disabled:a,hasTooltip:Boolean(u)}),u&&s.createElement(U.InputTooltip,{title:u})))}}},27423:(e,t,n)=>{"use strict";n.d(t,{InputsTabContent:()=>F});var o,s=n(59496),r=n(28353),a=n(617),i=n(35868),l=n(54349),c=n(97754),u=n.n(c),p=n(15994),d=n.n(p);const h=(0,l.makeSwitchGroupItem)(((o=class extends s.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const e=c(this.props.className,d().radio,{[d().reverse]:Boolean(this.props.labelPositionReverse)}),t=c(d().label,{[d().disabled]:this.props.disabled}),n=c(d().box,{[d().noOutline]:-1===this.props.tabIndex});let o=null;return this.props.label&&(o=s.createElement("span",{className:t},this.props.label)),s.createElement("label",{className:e},s.createElement("span",{className:d().wrapper,title:this.props.title},s.createElement("input",{id:this.props.id,tabIndex:this.props.tabIndex,autoFocus:this.props.autoFocus,role:this.props.role,className:d().input,type:"radio",name:this.props.name,checked:this.props.checked,disabled:this.props.disabled,value:this.props.value,onChange:this._onChange,ref:this.props.reference}),s.createElement("span",{className:n})),o)}}).defaultProps={value:"on"},o));var m=n(88537),g=n(76110),b=n(46446),v=n(65376),C=n(6041);function f(e){const{children:t,input:n,disabled:o,onChange:c,grouped:u,tooltip:p}=e,d=(0,s.useContext)(a.PropertyContext),{values:f,setValue:y}=(0,m.ensureNotNull)(d),E=f[n.id],[S,x]=(0,s.useState)(E?"another-symbol":"main-symbol"),[_,w]=(0,s.useState)(E);return(0,s.useEffect)(()=>{E&&w(E)},[E]),s.createElement(l.SwitchGroup,{name:"symbol-source-"+n.id,values:[S],onChange:function(e){x(e),"main-symbol"===e?(0,b.setter)(y)("",n.id,n.name):"another-symbol"===e&&_&&(0,b.setter)(y,c)(_,n.id,n.name)}},s.createElement(i.PropertyTable.Row,null,s.createElement(i.PropertyTable.Cell,{colSpan:2,placement:"first",grouped:u},s.createElement(h,{value:"main-symbol",className:C.checkbox,disabled:o,label:s.createElement("span",{className:C.label},(0,r.t)("Main chart symbol",{context:"input"}))}))),s.createElement(i.PropertyTable.Row,null,s.createElement(i.PropertyTable.Cell,{placement:"first",grouped:u},s.createElement(h,{value:"another-symbol",className:C.checkbox,disabled:o,label:s.createElement("span",{className:C.label},(0,r.t)("Another symbol",{context:"input"}))})),s.createElement(i.PropertyTable.Cell,{placement:"last",grouped:u},t||s.createElement(g.SymbolInput,{input:(0,m.ensureDefined)(n),onChange:c,disabled:o||"main-symbol"===S,hasTooltip:Boolean(p)}),p&&s.createElement(v.InputTooltip,{title:p}))))}var y=n(48100);class E extends s.PureComponent{render(){const{label:e,input:t,tooltip:n}=this.props;return s.createElement(i.PropertyTable.Row,null,s.createElement(i.PropertyTable.Cell,{placement:"first",colSpan:2},s.createElement(y.BoolInput,{label:e,input:t,hasTooltip:Boolean(n)}),n&&s.createElement(v.InputTooltip,{title:n})))}} -var S=n(27547),x=n(2568),_=n(67029),w=n(93379);class N extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:o,onKeyDown:r}=this.props;return s.createElement(x.Textarea,{className:u()(C.input,C.textarea,_.InputClasses.FontSizeMedium),value:void 0===t?e:t,onChange:this._onChange,onBlur:o,onKeyDown:r,disabled:n})}}const k=(0,w.debounced)(N),I=(0,b.bind)(k);var T=n(300);function P(e){const{input:t,label:n,tooltip:o}=e;return s.createElement(i.PropertyTable.Row,null,s.createElement(i.PropertyTable.Cell,{placement:"first",colSpan:2,className:T.wrap},s.createElement("div",{className:T.labelWrap},s.createElement("span",{className:u()(T.label,o&&T.hasTooltip)},n),o&&s.createElement(v.InputTooltip,{title:o})),s.createElement(I,{input:t})))}function R(e){const{input:t,tooltip:n}=e;return"symbol"===t.type&&t.optional?s.createElement(f,{input:t,tooltip:n}):"bool"===t.type?s.createElement(E,{label:(0,r.t)(t.name,{context:"input"}),input:t,tooltip:n}):"text_area"===t.type?s.createElement(P,{label:(0,r.t)(t.name,{context:"input"}),input:t,tooltip:n}):s.createElement(S.InputRow,{labelAlign:function(e){switch(e){case"session":return"adaptive";case"time":return"topCenter";default:return}}(t.type),input:t,tooltip:n})}var B=n(86067),M=n(23128);function O(e){const{content:t}=e;let n;return s.createElement(i.PropertyTable.InlineRowContext.Provider,{value:!0},s.createElement("div",{className:M.inlineRow},t.children.map((e,o)=>(void 0!==e.tooltip&&(n=e.tooltip),s.createElement(R,{key:e.id,input:e,tooltip:o===t.children.length-1?n:void 0})))))}var A=n(95087),D=n(16300);function z(e){const{content:t}=e;return(0,A.isGroup)(t)?(0,A.isInputInlines)(t)?s.createElement(O,{content:t}):s.createElement(s.Fragment,null,s.createElement("div",{className:D.titleWrap},s.createElement(B.GroupTitleSection,{title:(0,r.t)(t.id,{context:"input"}),name:t.id})),t.children.map(e=>(0,A.isGroup)(e)?s.createElement(O,{key:e.id,content:e}):s.createElement(R,{key:e.id,input:e,tooltip:e.tooltip})),s.createElement("div",{className:D.groupFooter})):s.createElement(R,{input:t,tooltip:t.tooltip})}const V={offset:(0,r.t)("Offset")};class F extends s.PureComponent{render(){const{reference:e,inputs:t,property:n,study:o,model:r,onStudyInputChange:a,className:l}=this.props,{offset:c,offsets:u}=n;return s.createElement(i.PropertyTable,{reference:e,className:l},s.createElement(L,{study:o,model:r,property:n.inputs,inputs:t,onStudyInputChange:a}),c&&this._createOffsetSection(c),u&&u.childNames().map(e=>{const t=u.childs()[e];return this._createOffsetSection(t)}))}_createOffsetSection(e){const t=e.childs();return s.createElement(L,{key:"offset_"+t.title.value(),study:this.props.study,model:this.props.model,inputs:[G(t)],property:e})}}function L(e){const{study:t,model:n,inputs:o,property:r,onStudyInputChange:i}=e,l=o,c=(0,s.useMemo)(()=>(0,A.getInputGroups)(l),[l]);return s.createElement(a.PropertyContainer,{property:r, -study:t,model:n,onStudyInputChange:i},!1,c.map(e=>s.createElement(z,{key:e.id,content:e})))}function G(e){return{id:"val",name:e.title.value()||V.offset,defval:e.val.value(),type:"integer",min:e.min.value(),max:e.max.value()}}},48100:(e,t,n)=>{"use strict";n.d(t,{BoolInputComponent:()=>c,BoolInput:()=>u});var o=n(59496),s=n(15294),r=n(97754),a=n.n(r),i=n(46446),l=n(6041);class c extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{const{input:{id:e,name:t},value:n,onChange:o}=this.props;o(!n,e,t)}}render(){const{input:{defval:e},value:t,disabled:n,label:r,hasTooltip:i}=this.props,c=void 0===t?e:t;return o.createElement(s.Checkbox,{className:a()(l.checkbox,i&&l.hasTooltip),disabled:n,checked:c,onChange:this._onChange,label:o.createElement("span",{className:l.label},r),labelAlignBaseline:!0})}}const u=(0,i.bind)(c)},93379:(e,t,n)=>{"use strict";n.d(t,{debounced:()=>r});var o=n(59496);const s={blur:0,commit:0,change:1/0};function r(e,t=s){return class extends o.PureComponent{constructor(e){super(e),this._onChange=(e,n,o)=>{const s=t.change;s?(clearTimeout(this._timeout),this.setState({value:e},()=>{s!==1/0&&(this._timeout=setTimeout(()=>this._flush(),s))})):this._flush(e)},this._onBlur=()=>{this._debounce(t.blur);const{onBlur:e}=this.props;e&&e()},this._onKeyDown=e=>{13===e.keyCode&&this._debounce(t.commit)},this.state={prevValue:e.value,value:e.value}}componentWillUnmount(){this._flush()}render(){const{value:t}=this.state;return o.createElement(e,{...this.props,value:t,onChange:this._onChange,onBlur:this._onBlur,onKeyDown:this._onKeyDown})}static getDerivedStateFromProps(e,t){return e.value===t.prevValue?t:{prevValue:e.value,value:e.value}}_debounce(e){e?(clearTimeout(this._timeout),e!==1/0&&(this._timeout=setTimeout(()=>this._flush(),e))):this.setState(e=>{this._flush(e.value)})}_flush(e){const{input:{id:t,name:n},onChange:o}=this.props,{prevValue:s,value:r}=this.state;clearTimeout(this._timeout);const a=void 0!==e?e:r;void 0!==a&&a!==s&&o(a,t,n)}}}},48948:(e,t,n)=>{"use strict";n.d(t,{FloatInputComponent:()=>p,FloatInput:()=>d});var o=n(59496),s=n(97754),r=n.n(s),a=n(17571),i=n(46446),l=n(93379),c=n(6041);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(a.NumericInput,{...this.props,className:r()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,l.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,i.bind)(p)},26007:(e,t,n)=>{"use strict";n.d(t,{IntegerInputComponent:()=>p,IntegerInput:()=>d});var o=n(59496),s=n(97754),r=n.n(s),a=n(46446),i=n(93379),l=n(17571),c=n(6041);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(l.NumericInput,{...this.props,mode:"integer",className:r()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,i.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,a.bind)(p)},17571:(e,t,n)=>{"use strict";n.d(t,{NumericInput:()=>y});var o=n(59496),s=n(88537),r=n(28353),a=n(60521),i=n(49483),l=n(92399),c=n(35726),u=n(62820);var p=n(95505),d=n(64514);const h=(0, -r.t)("Number format is invalid."),m=new class{constructor(e=" "){this._divider=e}format(e){const t=(0,c.splitThousands)(e,this._divider);return(0,u.isRtl)()?(0,u.startWithLTR)(t):t}parse(e){const t=(0,u.stripLTRMarks)(e).split(this._divider).join(""),n=Number(t);return isNaN(n)||/e/i.test(t)?{res:!1}:{res:!0,value:n,suggest:this.format(n)}}},g=/^-?[0-9]*$/,b=9e15;class v extends o.PureComponent{constructor(e){super(e),this._onFocus=e=>{this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus(e)},this._onBlur=e=>{this.setState({displayValue:C(this.props,this.props.value),focused:!1}),this.props.errorHandler&&this.props.errorHandler(!1),this.props.onBlur&&this.props.onBlur(e)},this._onValueChange=e=>{const t=e.target.value;if(void 0!==this.props.onEmptyString&&""===t&&this.props.onEmptyString(),"integer"===this.props.mode&&!g.test(t))return;const n=f(t,this.props.formatter),o=n.res?this._checkValueBoundaries(n.value):{isPassed:!1,msg:void 0},s=n.res&&!o.isPassed,r=n.res&&n.suggest&&!this.state.focused?n.suggest:t,a=s&&o.msg?o.msg:h;this.setState({displayValue:r,errorMsg:a}),n.res&&o.isPassed&&this.props.onValueChange(n.value,"input"),this.props.errorHandler&&this.props.errorHandler(!n.res||s)},this._onValueByStepChange=e=>{const{roundByStep:t=!0,step:n=1,uiStep:o,min:s=n,formatter:r}=this.props,i=f(this.state.displayValue,r),l=null!=o?o:n;let c=n;if(i.res){const o=new a.Big(i.value),r=o.minus(s).mod(n);let u=o.plus(e*l);!r.eq(0)&&t&&(u=u.plus((e>0?0:1)*l).minus(r)),c=u.toNumber()}const{isPassed:u,clampedValue:p}=this._checkValueBoundaries(c);c=u?c:p,this.setState({displayValue:C(this.props,c)}),this.props.onValueChange(c,"step"),this.props.errorHandler&&this.props.errorHandler(!1)};const{value:t}=e;this.state={value:t,displayValue:C(e,t),focused:!1,errorMsg:h}}render(){var e;return o.createElement(l.NumberInputView,{id:this.props.id,inputMode:null!==(e=this.props.inputMode)&&void 0!==e?e:i.CheckMobile.iOS()?void 0:"numeric",borderStyle:this.props.borderStyle,fontSizeStyle:this.props.fontSizeStyle,value:this.state.displayValue,forceShowControls:this.props.forceShowControls,className:this.props.className,inputClassName:this.props.inputClassName,button:this.props.button,placeholder:this.props.placeholder,innerLabel:this.props.innerLabel,endSlot:this.props.endSlot,disabled:this.props.disabled,error:this.props.error,errorMessage:this.props.errorMessage||this.state.errorMsg,onValueChange:this._onValueChange,onValueByStepChange:this._onValueByStepChange,containerReference:this.props.containerReference,inputReference:this.props.inputReference,onClick:this.props.onClick,onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this.props.onKeyDown,controlDecKeyCodes:this.props.controlDecKeyCodes,controlIncKeyCodes:this.props.controlIncKeyCodes,title:this.props.title,intent:this.props.intent,highlight:this.props.highlight,highlightRemoveRoundBorder:this.props.highlightRemoveRoundBorder,stretch:this.props.stretch,autoSelectOnFocus:!i.CheckMobile.any()})}getClampedValue(){ -const{min:e=-1/0,max:t=b}=this.props,n=f(this.state.displayValue,this.props.formatter);return n.res?(0,d.clamp)(n.value,e,t):null}static getDerivedStateFromProps(e,t){const{alwaysUpdateValueFromProps:n,value:o}=e;return t.focused&&!n||t.value===o?null:{value:o,displayValue:C(e,o)}}_checkValueBoundaries(e){var t,n,o,s;const{min:a=-1/0,max:i=b}=this.props,l=function(e,t,n){const o=e>=t,s=e<=n;return{passMin:o,passMax:s,pass:o&&s,clamped:(0,d.clamp)(e,t,n)}}(e,a,i);let c;return l.passMax||(c=null!==(n=null===(t=this.props.boundariesErrorMessages)||void 0===t?void 0:t.greaterThanMax)&&void 0!==n?n:(0,r.t)("Specified value is more than the instrument maximum of {max}.",{replace:{max:String(i)}})),l.passMin||(c=null!==(s=null===(o=this.props.boundariesErrorMessages)||void 0===o?void 0:o.lessThanMin)&&void 0!==s?s:(0,r.t)("Specified value is less than the instrument minimum of {min}.",{replace:{min:String(a)}})),{isPassed:l.pass,msg:c,clampedValue:l.clamped}}}function C(e,t){const{useFormatter:n=!0,formatter:o,mode:s}=e;return n&&"integer"!==s?function(e,t=m){return null!==e?t.format(e):""}(t,o):function(e){if(null===e)return"";return p.NumericFormatter.formatNoE(e)}(t)}function f(e,t=m){return t.parse?t.parse(e):{res:!1,error:"Formatter does not support parse"}}class y extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._handleContainerRef=e=>this._container=e,this._onChange=(e,t)=>{const{input:{id:n,name:o},onChange:s,onBlur:r}=this.props;s(e,n,o),"step"===t&&r&&r()},this._onBlur=e=>{const{onBlur:t}=this.props;if(t){const n=(0,s.ensureNotNull)(this._container);n.contains(document.activeElement)||n.contains(e.relatedTarget)||t()}}}render(){const{input:{defval:e,min:t,max:n,step:s},value:r,disabled:a,onKeyDown:i,className:l,mode:c,stretch:u}=this.props;return o.createElement(v,{className:l,value:Number(void 0===r?e:r),min:t,max:n,step:s,mode:c,onBlur:this._onBlur,onValueChange:this._onChange,onKeyDown:i,disabled:a,containerReference:this._handleContainerRef,fontSizeStyle:"medium",roundByStep:!1,stretch:u})}}},76110:(e,t,n)=>{"use strict";n.d(t,{getSymbolName:()=>c,SymbolInput:()=>u});var o=n(59496),s=n(88537),r=n(617),a=n(46446),i=n(72280),l=n(48897);function c(e,t){const n=(0,i.createAdapter)(t).resolvedSymbolInfoBySymbol(e);return n&&(n.ticker||n.full_name)?n.ticker||n.full_name:e}const u=(0,a.bind)((function(e){const t=(0,o.useContext)(r.PropertyContext),{study:n}=(0,s.ensureNotNull)(t),{input:{defval:a},value:i}=e;return o.createElement(l.SymbolInputsButton,{...e,value:c(i||a||"",n),study:n})}))},79946:(e,t,n)=>{"use strict";n.d(t,{ColorWithThicknessSelect:()=>b});var o=n(59496),s=n(24377),r=n(28353),a=n(24980),i=n(68906),l=n(87536),c=n(58593),u=n(463),p=n(51768);const d=new a.TranslatedString("change thickness",(0,r.t)("change thickness")),h=new a.TranslatedString("change color",(0,r.t)("change color")),m=new a.TranslatedString("change opacity",(0,r.t)("change opacity")),g=[1,2,3,4];class b extends o.PureComponent{constructor(){super(...arguments),this._trackEventLabel=null, -this._getTransparencyValue=()=>{const{transparency:e}=this.props;return e?e.value():0},this._getOpacityValue=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);if(t)return(0,i.isHexColor)(t)?(0,i.transparencyToAlpha)(this._getTransparencyValue()):(0,s.parseRgba)(t)[3]},this._getColorValueInHex=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);return t?(0,i.isHexColor)(t)?t:(0,s.rgbToHexString)((0,s.parseRgb)(t)):null},this._onThicknessChange=e=>{const{thickness:t}=this.props;void 0!==t&&this._setProperty(t,e,d)},this._onColorChange=e=>{const{color:t,isPaletteColor:n}=this.props,o=(0,u.getPropertyValue)(t);let r=0;o&&(r=(0,i.isHexColor)(o)?this._getTransparencyValue():(0,i.alphaToTransparency)((0,s.parseRgba)(o)[3])),this._setProperty(t,(0,i.generateColor)(String(e),r,!0),h),this._trackEventLabel="Plot color > "+(n?"Palette":"Single")},this._onOpacityChange=e=>{const{color:t}=this.props,n=(0,u.getPropertyValue)(t);this._setProperty(t,(0,i.generateColor)(n,(0,i.alphaToTransparency)(e),!0),m)},this._onPopupClose=()=>{this._trackEventLabel&&((0,p.trackEvent)("GUI","Study settings",this._trackEventLabel),this._trackEventLabel=null)}}componentWillUnmount(){this._onPopupClose()}render(){const{selectOpacity:e=!0,disabled:t,className:n}=this.props;return o.createElement(c.ColorSelect,{className:n,disabled:t,color:this._getColorValueInHex(),selectOpacity:e,opacity:this._getOpacityValue(),thickness:this._getThicknessValue(),thicknessItems:g,onColorChange:this._onColorChange,onOpacityChange:this._onOpacityChange,onThicknessChange:this._onThicknessChange,onPopupClose:this._onPopupClose})}_getThicknessValue(){const{thickness:e}=this.props;return e?(0,u.getPropertyValue)(e):void 0}_setProperty(e,t,n){const{setValue:o}=this.context;(0,u.setPropertyValue)(e,e=>o(e,t,n))}}b.contextType=l.StylePropertyContext},35868:(e,t,n)=>{"use strict";n.d(t,{PropertyTable:()=>l});var o=n(59496),s=n(97754),r=n(90186),a=n(46828);const i=o.createContext(!1);class l extends o.PureComponent{render(){return o.createElement("div",{ref:this.props.reference,className:s(a.content,this.props.className)},this.props.children)}}l.InlineRowContext=i,l.Row=function(e){const{children:t}=e;return(0,o.useContext)(i)?o.createElement("span",{className:a.inlineRow},t):o.createElement(o.Fragment,null,t)},l.Cell=function(e){const t=(0,o.useContext)(i),n=s(a.cell,e.offset&&a.offset,e.grouped&&a.grouped,t&&a.inlineCell,"top"===e.verticalAlign&&a.top,"topCenter"===e.verticalAlign&&a.topCenter,"adaptive"===e.verticalAlign&&a.adaptive,e.checkableTitle&&a.checkableTitle,2===e.colSpan&&a.fill,"first"===e.placement&&2!==e.colSpan&&a.first,"last"===e.placement&&2!==e.colSpan&&a.last),l=(0,r.filterDataProps)(e);return o.createElement("div",{...l,className:n},o.createElement("div",{className:s(a.inner,e.className)},e.children))},l.Separator=function(e){return o.createElement(l.Row,null,o.createElement("div",{className:s(a.cell,a.separator,a.fill)}))},l.GroupSeparator=function(e){const t=e.size||0;return o.createElement(l.Row,null,o.createElement("div",{ -className:s(a.cell,a.groupSeparator,a.fill,1===t&&a.big)}))}},463:(e,t,n)=>{"use strict";function o(e){return Array.isArray(e)?e[0].value():e.value()}function s(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)}n.d(t,{getPropertyValue:()=>o,setPropertyValue:()=>s})},58593:(e,t,n)=>{"use strict";n.d(t,{ColorSelect:()=>w});var o=n(59496),s=n(97754),r=n.n(s),a=n(88537),i=n(68335),l=n(50628),c=n(29202),u=n(27797),p=n(64706);function d(e){const{button:t,children:n,className:s,onPopupClose:r,...d}=e,[h,m]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[v,C]=(0,c.useFocus)(),f=(0,o.useRef)(null);return o.createElement("div",{className:s},o.createElement("div",{tabIndex:e.disabled?void 0:-1,ref:f,onClick:y,onFocus:C.onFocus,onBlur:C.onBlur,onKeyDown:E},"function"==typeof t?t(g,v):t),o.createElement(l.PopupMenu,{isOpened:g,onClose:S,position:function(){const e=(0,a.ensureNotNull)(f.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height}},doNotCloseOn:f.current,onKeyDown:E},o.createElement(p.MenuContext.Consumer,null,e=>o.createElement(u.ColorPicker,{...d,onToggleCustom:m,menu:e})),!h&&n));function y(){e.disabled||(b(e=>!e),m(!1))}function E(e){switch((0,i.hashFromEvent)(e)){case 27:g&&(e.preventDefault(),S())}}function S(){y(),(0,a.ensureNotNull)(f.current).focus(),r&&r()}}var h=n(56512),m=n(68906),g=n(6914),b=n(28353),v=n(54349),C=n(74588);const f=(0,v.makeSwitchGroupItem)(class extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const{name:e,checked:t,value:n}=this.props,r=s(C.thicknessItem,{[C.checked]:t}),a=s(C.bar,{[C.checked]:t}),i={borderTopWidth:parseInt(n)};return o.createElement("div",{className:r},o.createElement("input",{type:"radio",className:C.radio,name:e,value:n,onChange:this._onChange,checked:t}),o.createElement("div",{className:a,style:i}," "))}});function y(e){const{name:t,values:n,selectedValues:s,onChange:r}=e,a=n.map((e,t)=>o.createElement(f,{key:t,value:e.toString()})),i=s.map(e=>e.toString());return o.createElement("div",{className:C.wrap},o.createElement(v.SwitchGroup,{name:t,onChange:e=>{r(parseInt(e))},values:i},a))}var E=n(83421);const S=(0,b.t)("Thickness");function x(e){const{value:t,items:n,onChange:s}=e;return o.createElement("div",{className:E.thicknessContainer},o.createElement("div",{className:E.thicknessTitle},S),o.createElement(y,{name:"color_picker_thickness_select",onChange:s,values:n,selectedValues:"mixed"===t?[]:[t]}))}var _=n(14348);function w(e){const{className:t,selectOpacity:n=void 0!==e.opacity,thickness:s,color:a,disabled:i,opacity:l=1,onColorChange:c,onOpacityChange:u,onThicknessChange:p,thicknessItems:m,onPopupClose:g}=e,[b,v,C]=(0,h.useCustomColors)();return o.createElement(d,{className:t,disabled:i,color:"mixed"!==a?a:null,selectOpacity:n,opacity:l,selectCustom:!0,customColors:b,onColorChange:c,onOpacityChange:a?u:void 0,onAddColor:v,onRemoveCustomColor:C,button:function(e,t){const n=e||t,c=n?"primary":"default";return o.createElement("div",{ -className:r()(_.colorPickerWrap,_["intent-"+c],_["border-thin"],_["size-medium"],n&&_.highlight,n&&_.focused,i&&_.disabled),"data-role":"button","data-name":s?"color-with-thickness-select":"color-select"},o.createElement("div",{className:r()(_.colorPicker,i&&_.disabled)},a&&"mixed"!==a?function(){const e=N(a,l),t=l>=.95&&k(a);return o.createElement("div",{className:_.opacitySwatch},o.createElement("div",{style:{backgroundColor:e},className:r()(_.swatch,t&&_.white)}))}():o.createElement("div",{className:_.placeholderContainer},o.createElement("div",{className:"mixed"===a?_.mixedColor:_.placeholder})),s&&function(){const e=a&&"mixed"!==a?N(a,l):void 0;if("mixed"===s)return o.createElement("div",{className:_.multiWidth},o.createElement("div",{style:{backgroundColor:e},className:_.line}),o.createElement("div",{style:{backgroundColor:e},className:_.line}),o.createElement("div",{style:{backgroundColor:e},className:_.line}));return o.createElement("span",{className:r()(_.colorLine,k(a)&&_.white),style:{height:s,backgroundColor:e}})}()),n&&o.createElement("span",{className:_.shadow}))},onPopupClose:g},s&&m&&o.createElement(x,{value:s,items:m,onChange:function(e){p&&p(e)}}))}function N(e,t){return e?(0,m.generateColor)(e,(0,m.alphaToTransparency)(t)):"#000000"}function k(e){return!!e&&e.toLowerCase()===g.white}},48897:(e,t,n)=>{"use strict";n.d(t,{SymbolInputsButton:()=>w});var o=n(59496),s=n(97754),r=n.n(s),a=n(28353),i=n(88537),l=n(50655),c=n(95711),u=n(67337),p=n(76110),d=n(89453),h=n(1861),m=n(9745),g=n(36826),b=n(55914);function v(e){const{value:t,onClick:n,className:r,startSlot:a,disabled:i=!1}=e;return o.createElement("div",{className:s(b.wrap,i&&b.disabled,r),onClick:n,"data-name":"edit-button"},o.createElement("div",{className:s(b.text,"apply-overflow-tooltip")},void 0!==a&&a,o.createElement("span",null,t)),o.createElement(m.Icon,{icon:g,className:b.icon}))}var C=n(31356),f=n(78260),y=n(7785),E=n(15983),S=n(82708),x=n(83998);function _(e){const{symbol:t,onSymbolChanged:n,disabled:s,className:i}=e,[p,m]=(0,o.useState)(t),g=(0,o.useContext)(l.SlotContext),b=(0,o.useContext)(c.PopupContext);return o.createElement(v,{value:p,onClick:function(){const e=function(e){const t=(0,y.tokenize)(e);return(0,E.isSpread)(t)}(p)?p:(0,S.safeShortName)(p),t=(0,d.getSymbolSearchCompleteOverrideFunction)();(0,h.showSymbolSearchItemsDialog)({onSearchComplete:e=>{t(e[0].symbol).then(e=>{n(e),m(e)})},dialogTitle:(0,a.t)("Change symbol"),defaultValue:e,manager:g,onClose:()=>{b&&b.focus()},showSpreadActions:u.enabled("show_spread_operators")&&u.enabled("studies_symbol_search_spread_operators")})},disabled:s,className:r()(i,u.enabled("uppercase_instrument_names")&&x.uppercase)})}function w(e){if("definition"in e){const{propType:t,properties:n,id:s,title:r=""}=e.definition,a=n[t],l=a.value()||"",c=e=>{a.setValue(e)};return o.createElement(C.CommonSection,{id:s,title:r},o.createElement(f.CellWrap,null,o.createElement(_,{symbol:(0,i.ensureDefined)(l),onSymbolChanged:c})))}{ -const{study:t,value:n,input:{id:s,name:a},onChange:l,disabled:c,hasTooltip:u}=e,d=e=>{const n=(0,p.getSymbolName)(e,t);l(n,s,a)};return o.createElement(_,{symbol:(0,i.ensureDefined)(n),onSymbolChanged:d,disabled:c,className:r()(u&&x.hasTooltip)})}}},72280:(e,t,n)=>{"use strict";n.d(t,{createAdapter:()=>r});var o=n(14291),s=n(81851);function r(e){if((0,o.isLineTool)(e))return{isPine:()=>!1,isStandardPine:()=>!1,canOverrideMinTick:()=>!1,resolvedSymbolInfoBySymbol:()=>{throw new TypeError("Only study is supported.")},symbolsResolved:()=>{throw new TypeError("Only study is supported.")},parentSource:()=>{throw new TypeError("Only study is supported.")},getAllChildren:()=>[],sourceId:()=>{throw new TypeError("Only study is supported.")}};if((0,s.isStudy)(e))return e;if("isInputsStudy"in e)return e;throw new TypeError("Unsupported source type.")}},45560:(e,t,n)=>{"use strict";n.d(t,{useDefinitionProperty:()=>r});var o=n(59496),s=n(71953);const r=e=>{const t="property"in e?e.property:void 0,n="defaultValue"in e?e.defaultValue:e.property.value(),[r,a]=(0,o.useState)(t?t.value():n);(0,o.useEffect)(()=>{if(t){const n={};return a(t.value()),t.subscribe(n,t=>{const n=t.value();e.handler&&e.handler(n),a(n)}),()=>t.unsubscribeAll(n)}return()=>{}},[t]);return[r,e=>{if(void 0!==t){const n=t.value();s.logger.logNormal(`Changing property value from "${n}" to "${e}"`),t.setValue(e)}}]}},78260:(e,t,n)=>{"use strict";n.d(t,{CellWrap:()=>i});var o=n(59496),s=n(97754),r=n.n(s),a=n(26527);function i(e){return o.createElement("div",{className:r()(a.wrap,e.className)},e.children)}},53424:(e,t,n)=>{"use strict";n.d(t,{CheckableTitle:()=>c});var o=n(59496),s=n(15294),r=n(45560);function a(e){const{property:t,...n}=e,[a,i]=(0,r.useDefinitionProperty)({property:t}),l="mixed"===a;return o.createElement(s.Checkbox,{...n,name:"toggle-enabled",checked:l||a,indeterminate:l,onChange:function(){i("mixed"===a||!a)}})}var i=n(78260),l=n(27345);function c(e){const{property:t,disabled:n,title:s,className:r,name:c}=e,u=o.createElement("span",{className:l.title},s);return o.createElement(i.CellWrap,{className:r},t?o.createElement(a,{name:c,className:l.checkbox,property:t,disabled:n,label:u,labelAlignBaseline:!0}):u)}},31356:(e,t,n)=>{"use strict";n.d(t,{CommonSection:()=>a});var o=n(59496),s=n(35868),r=n(53424);function a(e){const{id:t,offset:n,disabled:a,checked:i,title:l,children:c}=e;return o.createElement(s.PropertyTable.Row,null,o.createElement(s.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:n,"data-section-name":t,colSpan:Boolean(c)?void 0:2,checkableTitle:!0},o.createElement(r.CheckableTitle,{name:"is-enabled-"+t,title:l,disabled:a,property:i})),Boolean(c)&&o.createElement(s.PropertyTable.Cell,{placement:"last","data-section-name":t},c))}},86067:(e,t,n)=>{"use strict";n.d(t,{GroupTitleSection:()=>i});var o=n(59496),s=n(35868),r=n(53424),a=n(51842);function i(e){return o.createElement(s.PropertyTable.Row,null,o.createElement(s.PropertyTable.Cell,{className:a.titleWrap,placement:"first",verticalAlign:"adaptive",colSpan:2, -"data-section-name":e.name,checkableTitle:!0},o.createElement(r.CheckableTitle,{title:e.title,name:"is-enabled-"+e.name,className:a.title})))}},71953:(e,t,n)=>{"use strict";n.d(t,{logger:()=>o});const o=(0,n(98125).getLogger)("Platform.GUI.PropertyDefinitionTrace")},27797:(e,t,n)=>{"use strict";n.d(t,{ColorPicker:()=>B});var o=n(59496),s=n(97754),r=n.n(s),a=n(28353),i=n(24377),l=n(88537),c=n(49483),u=n(50628),p=n(16396);const d=o.createContext(void 0);var h=n(6914),m=n(78679),g=n(24590);function b(e){const{index:t,color:n,selected:r,onSelect:i}=e,[b,v]=(0,o.useState)(!1),C=(0,o.useContext)(d),f=(0,o.useRef)(null),y=Boolean(C)&&!c.CheckMobile.any();return o.createElement(o.Fragment,null,o.createElement("div",{ref:f,style:n?{color:n}:void 0,className:s(g.swatch,b&&g.hover,r&&g.selected,!n&&g.empty,String(n).toLowerCase()===h.white&&g.white),onClick:function(){i(n)},onContextMenu:y?E:void 0}),y&&o.createElement(u.PopupMenu,{isOpened:b,onClose:E,position:function(){const e=(0,l.ensureNotNull)(f.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height+4}},onClickOutside:E},o.createElement(p.PopupMenuItem,{className:g.contextItem,label:(0,a.t)("Remove color"),icon:m,onClick:function(){E(),(0,l.ensureDefined)(C)(t)},dontClosePopup:!0})));function E(){v(!b)}}class v extends o.PureComponent{constructor(){super(...arguments),this._onSelect=e=>{const{onSelect:t}=this.props;t&&t(e)}}render(){const{colors:e,color:t,children:n}=this.props;if(!e)return null;const s=t?(0,i.parseRgb)(String(t)):void 0;return o.createElement("div",{className:g.swatches},e.map((e,t)=>o.createElement(b,{key:String(e)+t,index:t,color:e,selected:s&&(0,i.areEqualRgb)(s,(0,i.parseRgb)(String(e))),onSelect:this._onSelect})),n)}}var C=n(54368),f=n(94720);function y(e){const t="Invalid RGB color: "+e;if(null===e)throw new Error(t);const n=e.match(/^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i);if(null===n)throw new Error(t);const[,o,s,r]=n;if(!o||!s||!r)throw new Error(t);const a=parseInt(o,16)/255,i=parseInt(s,16)/255,l=parseInt(r,16)/255,c=Math.max(a,i,l),u=Math.min(a,i,l);let p;const d=c,h=c-u,m=0===c?0:h/c;if(c===u)p=0;else{switch(c){case a:p=(i-l)/h+(i{this._container=e},this._handlePosition=e=>{const{hsv:{h:t},onChange:n}=this.props;if(!n)return;const o=(0,l.ensureNotNull)(this._container).getBoundingClientRect(),s=e.clientX-o.left,r=e.clientY-o.top;let a=s/o.width;a<0?a=0:a>1&&(a=1);let i=1-r/o.height;i<0?i=0:i>1&&(i=1),n({h:t,s:a,v:i})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{ -this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t,s:n,v:s}}=this.props,a=`hsl(${360*t}, 100%, 50%)`;return o.createElement("div",{className:r()(S.saturation,e),style:{backgroundColor:a},ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:S.pointer,style:{left:100*n+"%",top:100*(1-s)+"%"}}))}}var _=n(24429);class w extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=e=>{this._container=e},this._handlePosition=e=>{const{hsv:{s:t,v:n},onChange:o}=this.props;if(!o)return;const s=(0,l.ensureNotNull)(this._container).getBoundingClientRect();let r=(e.clientY-s.top)/s.height;r<0?r=0:r>1&&(r=1),o({h:r,s:t,v:n})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t}}=this.props;return o.createElement("div",{className:r()(_.hue,e)},o.createElement("div",{className:_.pointerContainer,ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:_.pointer,style:{top:100*t+"%"}})))}}var N=n(99565);const k=(0,a.t)("Add",{context:"Color Picker"});class I extends o.PureComponent{constructor(e){super(e),this._handleHSV=e=>{const t=function(e){const{h:t,s:n,v:o}=e;let s,r,a;const i=Math.floor(6*t),l=6*t-i,c=o*(1-n),u=o*(1-l*n),p=o*(1-(1-l)*n);switch(i%6){case 0:s=o,r=p,a=c;break;case 1:s=u,r=o,a=c;break;case 2:s=c,r=o,a=p;break;case 3:s=c,r=u,a=o;break;case 4:s=p,r=c,a=o;break;case 5:s=o,r=c,a=u;break;default:s=0,r=0,a=0}return"#"+[255*s,255*r,255*a].map(e=>("0"+Math.round(e).toString(16)).replace(/.+?([a-f0-9]{2})$/i,"$1")).join("")}(e)||"#000000";this.setState({color:t,inputColor:t.replace(/^#/,""),hsv:e}),this.props.onSelect(t)},this._handleInput=e=>{const t=e.currentTarget.value;try{const e=y(t),n="#"+t;this.setState({color:n,inputColor:t,hsv:e}),this.props.onSelect(n)}catch(e){this.setState({inputColor:t})}},this._handleAddColor=()=>this.props.onAdd(this.state.color);const t=e.color||"#000000";this.state={color:t,inputColor:t.replace(/^#/,""),hsv:y(t)}}render(){const{color:e,hsv:t,inputColor:n}=this.state;return o.createElement("div",{className:N.container},o.createElement("div",{className:N.form},o.createElement("div",{className:N.swatch,style:{backgroundColor:e}}),o.createElement("div",{className:N.inputWrap},o.createElement("span",{className:N.inputHash},"#"),o.createElement("input",{type:"text",className:N.input,value:n,onChange:this._handleInput})),o.createElement("div",{className:N.buttonWrap},o.createElement(f.Button,{size:"s",onClick:this._handleAddColor},k))),o.createElement("div",{ -className:N.hueSaturationWrap},o.createElement(x,{className:N.saturation,hsv:t,onChange:this._handleHSV}),o.createElement(w,{className:N.hue,hsv:t,onChange:this._handleHSV})))}}var T=n(10667);const P=(0,a.t)("Add custom color",{context:"Color Picker"}),R=(0,a.t)("Opacity",{context:"Color Picker"});class B extends o.PureComponent{constructor(e){super(e),this._handleAddColor=e=>{this.setState({isCustom:!1}),this._onToggleCustom(!1);const{onAddColor:t}=this.props;t&&t(e)},this._handleSelectColor=e=>{const{onColorChange:t}=this.props,{isCustom:n}=this.state;t&&t(e,n)},this._handleCustomClick=()=>{this.setState({isCustom:!0}),this._onToggleCustom(!0)},this._handleOpacity=e=>{const{onOpacityChange:t}=this.props;t&&t(e)},this.state={isCustom:!1}}componentDidUpdate(e,t){e.selectOpacity!==this.props.selectOpacity&&this.props.menu&&this.props.menu.update()}render(){const{color:e,opacity:t,selectCustom:n,selectOpacity:s,customColors:a,onRemoveCustomColor:i}=this.props,{isCustom:l}=this.state,c="number"==typeof t?t:1;return l?o.createElement(I,{color:e,onSelect:this._handleSelectColor,onAdd:this._handleAddColor}):o.createElement("div",{className:T.container},o.createElement(v,{colors:h.basic,color:e,onSelect:this._handleSelectColor}),o.createElement(v,{colors:h.extended,color:e,onSelect:this._handleSelectColor}),o.createElement("div",{className:T.separator}),o.createElement(d.Provider,{value:i},o.createElement(v,{colors:a,color:e,onSelect:this._handleSelectColor},n&&o.createElement("div",{className:r()(T.customButton,"apply-common-tooltip"),onClick:this._handleCustomClick,title:P}))),s&&o.createElement(o.Fragment,null,o.createElement("div",{className:T.sectionTitle},R),o.createElement(C.Opacity,{color:e,opacity:c,onChange:this._handleOpacity})))}_onToggleCustom(e){const{onToggleCustom:t}=this.props;t&&t(e)}}},54368:(e,t,n)=>{"use strict";n.d(t,{Opacity:()=>l});var o=n(59496),s=n(97754),r=n(88537),a=n(64514),i=n(15381);class l extends o.PureComponent{constructor(e){super(e),this._container=null,this._pointer=null,this._raf=null,this._refContainer=e=>{this._container=e},this._refPointer=e=>{this._pointer=e},this._handlePosition=e=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const t=(0,r.ensureNotNull)(this._container),n=(0,r.ensureNotNull)(this._pointer),o=t.getBoundingClientRect(),s=n.offsetWidth,i=e.clientX-s/2-o.left,l=(0,a.clamp)(i/(o.width-s),0,1);this.setState({inputOpacity:Math.round(100*l).toString()}),this.props.onChange(l),this._raf=null}))},this._onSliderClick=e=>{this._handlePosition(e.nativeEvent),this._dragSubscribe()},this._mouseUp=e=>{this.setState({isPointerDragged:!1}),this._dragUnsubscribe(),this._handlePosition(e)},this._mouseMove=e=>{this.setState({isPointerDragged:!0}),this._handlePosition(e)},this._onTouchStart=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouch=e=>{this.setState({isPointerDragged:!0}),this._handlePosition(e.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this.setState({isPointerDragged:!1})},this._handleInput=e=>{ -const t=e.currentTarget.value,n=Number(t)/100;this.setState({inputOpacity:t}),Number.isNaN(n)||n>1||this.props.onChange(n)},this.state={inputOpacity:Math.round(100*e.opacity).toString(),isPointerDragged:!1}}componentWillUnmount(){null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),this._dragUnsubscribe()}render(){const{color:e,opacity:t,hideInput:n}=this.props,{inputOpacity:r,isPointerDragged:a}=this.state,l={color:e||void 0};return o.createElement("div",{className:i.opacity},o.createElement("div",{className:i.opacitySlider,style:l,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},o.createElement("div",{className:i.opacitySliderGradient,style:{backgroundImage:`linear-gradient(90deg, transparent, ${e})`}}),o.createElement("div",{className:i.opacityPointerWrap},o.createElement("div",{className:s(i.pointer,a&&i.dragged),style:{left:100*t+"%"},ref:this._refPointer}))),!n&&o.createElement("div",{className:i.opacityInputWrap},o.createElement("input",{type:"text",className:i.opacityInput,value:r,onChange:this._handleInput}),o.createElement("span",{className:i.opacityInputPercent},"%")))}_dragSubscribe(){const e=(0,r.ensureNotNull)(this._container).ownerDocument;e&&(e.addEventListener("mouseup",this._mouseUp),e.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const e=(0,r.ensureNotNull)(this._container).ownerDocument;e&&(e.removeEventListener("mousemove",this._mouseMove),e.removeEventListener("mouseup",this._mouseUp))}}},6914:(e,t,n)=>{"use strict";n.d(t,{white:()=>s,basic:()=>i,extended:()=>c});var o=n(45112);const s=o.colorsPalette["color-white"],r=["ripe-red","tan-orange","banana-yellow","iguana-green","minty-green","sky-blue","tv-blue","deep-blue","grapes-purple","berry-pink"],a=[200,300,400,500,600,700,800,900].map(e=>"color-cold-gray-"+e);a.unshift("color-white"),a.push("color-black"),r.forEach(e=>{a.push(`color-${e}-500`)});const i=a.map(e=>o.colorsPalette[e]),l=[];[100,200,300,400,700,900].forEach(e=>{r.forEach(t=>{l.push(`color-${t}-${e}`)})});const c=l.map(e=>o.colorsPalette[e])},46059:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosureView:()=>E});var o=n(59496),s=n(97754),r=n.n(s),a=n(66092),i=n(67029),l=n(78274),c=n(50628),u=n(88537);function p(e,t){return(0,o.useCallback)(()=>function(e,t){const n=(0,u.ensureNotNull)(e).getBoundingClientRect(),o={x:n.left,y:n.top+n.height};return t&&(o.overrideWidth=n.width),o}(e.current,t),[e,t])}const d=JSON.parse('{"size-header-height":"64px"}'),h=parseInt(d["size-header-height"]);function m(e){const{button:t,popupChildren:n,buttonRef:s,listboxId:r,listboxClassName:a,listboxTabIndex:i,matchButtonAndListboxWidths:l,isOpened:u,scrollWrapReference:d,listboxReference:m,onClose:g,onOpen:b,onListboxFocus:v,onListboxBlur:C,onListboxKeyDown:f,listboxAria:y,repositionOnScroll:E=!0,closeOnHeaderOverlap:S=!1}=e,x=p(s,l),_=S?h:0;return o.createElement(o.Fragment,null,t,o.createElement(c.PopupMenu,{...y,id:r,className:a,tabIndex:i,isOpened:u,position:x, -repositionOnScroll:E,onClose:g,onOpen:b,doNotCloseOn:s.current,reference:m,scrollWrapReference:d,onFocus:v,onBlur:C,onKeyDown:f,closeOnScrollOutsideOffset:_},n))}var g=n(9745),b=n(89974),v=n(99171);function C(e){const{isDropped:t}=e;return o.createElement(g.Icon,{className:r()(v.icon,t&&v.dropped),icon:b})}function f(e){const{className:t,disabled:n,isDropped:s}=e;return o.createElement("span",{className:r()(v.button,n&&v.disabled,t)},o.createElement(C,{isDropped:s}))}var y=n(66230);const E=o.forwardRef((e,t)=>{const{listboxId:n,className:s,listboxClassName:c,listboxTabIndex:u,hideArrowButton:p,matchButtonAndListboxWidths:d,disabled:h,isOpened:g,scrollWrapReference:b,repositionOnScroll:v,closeOnHeaderOverlap:C,listboxReference:E,size:S="medium",onClose:x,onOpen:_,onListboxFocus:w,onListboxBlur:N,onListboxKeyDown:k,buttonChildren:I,children:T,caretClassName:P,listboxAria:R,...B}=e,M=(0,o.useRef)(null),O=!p&&o.createElement(l.EndSlot,null,o.createElement(f,{isDropped:g,disabled:h,className:P}));return o.createElement(m,{buttonRef:M,listboxId:n,listboxClassName:c,listboxTabIndex:u,isOpened:g,onClose:x,onOpen:_,listboxReference:E,scrollWrapReference:b,onListboxFocus:w,onListboxBlur:N,onListboxKeyDown:k,listboxAria:R,matchButtonAndListboxWidths:d,button:o.createElement(i.ControlSkeleton,{...B,"data-role":"listbox",disabled:h,className:r()(y.button,s),size:S,ref:(0,a.useMergedRefs)([M,t]),middleSlot:o.createElement(l.MiddleSlot,null,o.createElement("span",{className:r()(y["button-children"],p&&y.hiddenArrow)},I)),endSlot:O}),popupChildren:T,repositionOnScroll:v,closeOnHeaderOverlap:C})});E.displayName="ControlDisclosureView"},68721:(e,t,n)=>{"use strict";n.d(t,{useControlDisclosure:()=>c});var o=n(59496),s=n(88537),r=n(29202),a=n(47201),i=n(22064),l=n(35749);function c(e){const{intent:t,highlight:n,...c}=e,{isFocused:u,...p}=function(e){const{id:t,disabled:n,buttonTabIndex:c=0,onFocus:u,onBlur:p,onClick:d}=e,[h,m]=(0,o.useState)(!1),[g,b]=(0,r.useFocus)(),v=g||h,C=void 0!==t?(0,i.createDomId)(t,"listbox"):void 0,f=(0,o.useRef)(null),y=(0,o.useCallback)(e=>(0,s.ensureNotNull)(f.current).focus(e),[f]),E=(0,o.useRef)(null),S=(0,o.useCallback)(()=>(0,s.ensureNotNull)(E.current).focus(),[E]),x=(0,o.useCallback)(()=>m(!0),[m]),_=(0,o.useCallback)((e=!1)=>{m(!1);const{activeElement:t}=document;t&&(0,l.isTextEditingField)(t)||y({preventScroll:e})},[m,y]),w=(0,o.useCallback)(()=>{h?_():x()},[h,_,x]),N=n?[]:[u,b.onFocus],k=n?[]:[p,b.onBlur],I=n?[]:[d,w],T=(0,a.createSafeMulticastEventHandler)(...N),P=(0,a.createSafeMulticastEventHandler)(...k),R=(0,a.createSafeMulticastEventHandler)(...I);return{listboxId:C,isOpened:h,isFocused:v,buttonTabIndex:n?-1:c,listboxTabIndex:-1,open:x,close:_,toggle:w,onOpen:S,buttonFocusBindings:{onFocus:T,onBlur:P},onButtonClick:R,buttonRef:f,listboxRef:E,buttonAria:{"aria-controls":h?C:void 0,"aria-expanded":h,"aria-disabled":n}}}(c);return{...p,isFocused:u,highlight:null!=n?n:u,intent:null!=t?t:u?"primary":"default"}}},26597:(e,t,n)=>{"use strict";n.d(t,{useKeyboardActionHandler:()=>a, -useComposedKeyboardActionHandlers:()=>i,useKeyboardEventHandler:()=>l,useKeyboardToggle:()=>c,useKeyboardClose:()=>u,useKeyboardOpen:()=>p});var o=n(59496),s=n(68335);const r=()=>!0;function a(e,t,n=r){return(0,o.useCallback)(o=>{const s=e.map(e=>"function"==typeof e?e():e);return!(!n()||!s.includes(o))&&(t(),!0)},[...e,t,n])}function i(...e){return(0,o.useCallback)(t=>{for(const n of e)if(n(t))return!0;return!1},[...e])}function l(...e){const t=i(...e);return(0,o.useCallback)(e=>{t((0,s.hashFromEvent)(e))&&e.preventDefault()},[t])}function c(e){return a([13,32],e)}function u(e,t){return a([9,(0,o.useCallback)(()=>s.Modifiers.Shift+9,[]),27],t,(0,o.useCallback)(()=>e,[e]))}function p(e,t){return a([40,38],t,(0,o.useCallback)(()=>!e,[e]))}},56512:(e,t,n)=>{"use strict";n.d(t,{useCustomColors:()=>l});var o=n(59496),s=n(56840),r=n(76422);function a(e,t){(0,o.useEffect)(()=>(r.subscribe(e,t,null),()=>{r.unsubscribe(e,t,null)}),[e,t])}var i=n(24377);function l(){const[e,t]=(0,o.useState)((0,s.getJSON)("pickerCustomColors",[]));a("add_new_custom_color",n=>t(c(n,e))),a("remove_custom_color",n=>t(u(n,e)));const n=(0,o.useCallback)(t=>{const n=t?(0,i.parseRgb)(t):null;e.some(e=>null!==e&&null!==n&&(0,i.areEqualRgb)((0,i.parseRgb)(e),n))||(r.emit("add_new_custom_color",t),(0,s.setJSON)("pickerCustomColors",c(t,e)))},[e]),l=(0,o.useCallback)(t=>{(t>=0||t29&&n.shift(),n}function u(e,t){return t.filter((t,n)=>e!==n)}},45685:(e,t,n)=>{"use strict";n.d(t,{Select:()=>k});var o=n(59496),s=n(22064),r=n(66092),a=n(88537),i=n(74991);const l={duration:200,additionalScroll:0},c={vertical:{scrollSize:"scrollHeight",clientSize:"clientHeight",start:"top",end:"bottom",size:"height"},horizontal:{scrollSize:"scrollWidth",clientSize:"clientWidth",start:"left",end:"right",size:"width"}};function u(e,t){const n=c[e];return t[n.scrollSize]>t[n.clientSize]}function p(e,t,n,o,s,r){const a=function(e,t,n,o=0){const s=c[e];return{start:-1*o,middle:-1*(Math.floor(n[s.size]/2)-Math.floor(t[s.size]/2)),end:-1*(n[s.size]-t[s.size])+o}}(e,o,s,r.additionalScroll);let l=0;if(function(e,t,n){const o=c[e];return t[o.start]n[o.end]+n[o.size]/2}(e,o,s))l=a.middle;else{const t=function(e){const{start:t,middle:n,end:o}=e,s=new Map([[Math.abs(t),{key:"start",value:Math.sign(t)}],[Math.abs(n),{key:"middle",value:Math.sign(n)}],[Math.abs(o),{key:"end",value:Math.sign(o)}]]),r=Math.min(...s.keys());return s.get(r)}(function(e,t,n,o=0){const s=c[e],r=t[s.start]+Math.floor(t[s.size]/2),a=n[s.start]+Math.floor(n[s.size]/2);return{start:t[s.start]-n[s.start]-o,middle:r-a,end:t[s.end]-n[s.end]+o}}(e,o,s,r.additionalScroll));l=void 0!==t?a[t.key]:0}return function(e){const{additionalScroll:t=0,duration:n=i.dur,func:o=i.easingFunc.easeInOutCubic,onScrollEnd:s,target:r,wrap:a,direction:l="vertical"}=e;let{targetRect:c,wrapRect:u}=e;c=null!=c?c:r.getBoundingClientRect(), -u=null!=u?u:a.getBoundingClientRect();const p=("vertical"===l?c.top-u.top:c.left-u.left)+t,d="vertical"===l?"scrollTop":"scrollLeft",h=a?a[d]:0;let m,g=0;return g=window.requestAnimationFrame((function e(t){let r;if(m?r=t-m:(r=0,m=t),r>=n)return a[d]=h+p,void(s&&s());const i=h+p*o(r/n);a[d]=Math.floor(i),g=window.requestAnimationFrame(e)})),function(){window.cancelAnimationFrame(g),s&&s()}}({...r,target:t,targetRect:o,wrap:n,wrapRect:s,additionalScroll:l,direction:e})}class d{constructor(e=null){this._container=null,this._lastScrolledElement=null,this._stopVerticalScroll=null,this._stopHorizontalScroll=null,this._container=e}scrollTo(e,t=l){if(null!==this._container&&null!==e&&!function(e,t){const n=e.getBoundingClientRect(),o=t.getBoundingClientRect();return n.top>=o.top&&n.bottom<=o.bottom&&n.left>=o.left&&n.right<=o.right}(e,this._container)){const n=e.getBoundingClientRect(),o=this._container.getBoundingClientRect();this.stopScroll(),u("vertical",this._container)&&(this._stopVerticalScroll=p("vertical",e,this._container,n,o,this._modifyOptions("vertical",t))),u("horizontal",this._container)&&(this._stopHorizontalScroll=p("horizontal",e,this._container,n,o,this._modifyOptions("horizontal",t)))}this._lastScrolledElement=e}scrollToLastElement(e){this.scrollTo(this._lastScrolledElement,e)}stopScroll(){null!==this._stopVerticalScroll&&this._stopVerticalScroll(),null!==this._stopHorizontalScroll&&this._stopHorizontalScroll()}getContainer(){return this._container}setContainer(e){var t;this._container=e,(null===(t=this._container)||void 0===t?void 0:t.contains(this._lastScrolledElement))||(this._lastScrolledElement=null)}destroy(){this.stopScroll(),this._container=null,this._lastScrolledElement=null}_handleScrollEnd(e){"vertical"===e?this._stopVerticalScroll=null:this._stopHorizontalScroll=null}_modifyOptions(e,t){return Object.assign({},t,{onScrollEnd:()=>{this._handleScrollEnd(e),void 0!==t.onScrollEnd&&t.onScrollEnd()}})}}function h(e,t){const n=(0,o.useRef)(null),s=(0,o.useRef)(new WeakMap),r=function(e){const t=(0,o.useRef)(null);return(0,o.useEffect)(()=>(t.current=new d(e),()=>(0,a.ensureNotNull)(t.current).destroy()),[]),t}(n.current),i=(0,o.useCallback)(()=>{null!==r.current&&null!==n.current&&r.current.getContainer()!==n.current&&r.current.setContainer(n.current)},[r,n]),l=(0,o.useCallback)(e=>{n.current=e},[n]),c=(0,o.useCallback)((e,t)=>{s.current.set(e,t)},[s]),u=(0,o.useCallback)((e,t)=>{if(!e)return;const n=s.current.get(e);n&&(i(),(0,a.ensureNotNull)(r.current).scrollTo(n,t))},[s,r]);return(0,o.useEffect)(()=>u(e,t),[u,e]),[l,c,u]}var m=n(16396),g=n(4889),b=n(43370);var v=n(62820),C=n(26597);function f(e,t){return e>=0?e%t:(t-Math.abs(e)%t)%t}const y={next:[40,()=>(0,v.isRtl)()?37:39],previous:[38,()=>(0,v.isRtl)()?39:37],first:[33,36],last:[34,35]};var E=n(46059),S=n(68721),x=n(79756);function _(e){return!e.readonly}function w(e,t){var n;return null!==(n=null==t?void 0:t.id)&&void 0!==n?n:(0,s.createDomId)(e,"item",null==t?void 0:t.value)}function N(e){var t,n;const{selectedItem:s,placeholder:r}=e -;if(!s)return o.createElement("span",{className:x.placeholder},r);const a=null!==(n=null!==(t=s.selectedContent)&&void 0!==t?t:s.content)&&void 0!==n?n:s.value;return o.createElement("span",null,a)}const k=o.forwardRef((e,t)=>{const{id:n,menuClassName:a,menuItemClassName:i,tabIndex:l,disabled:c,highlight:u,intent:p,hideArrowButton:d,placeholder:v,addPlaceholderToItems:x=!0,value:k,"aria-labelledby":I,onFocus:T,onBlur:P,onClick:R,onChange:B,repositionOnScroll:M=!0,...O}=e;let{items:A}=e;if(v&&x){A=[{value:void 0,content:v,id:(0,s.createDomId)(n,"placeholder")},...A]}const{listboxId:D,isOpened:z,isFocused:V,buttonTabIndex:F,listboxTabIndex:L,highlight:G,intent:W,open:j,onOpen:H,close:K,toggle:U,buttonFocusBindings:X,onButtonClick:Q,buttonRef:q,listboxRef:Y,buttonAria:$}=(0,S.useControlDisclosure)({id:n,disabled:c,buttonTabIndex:l,intent:p,highlight:u,onFocus:T,onBlur:P,onClick:R}),J=A.filter(_),Z=J.find(e=>e.value===k),[ee,te,ne]=h(Z),oe=(0,s.joinDomIds)(I,n),se=oe.length>0?oe:void 0,re=(0,o.useMemo)(()=>({role:"listbox","aria-labelledby":I,"aria-activedescendant":w(n,Z)}),[I,Z]),ae=(0,o.useCallback)(e=>e.value===k,[k]),ie=(0,o.useCallback)(e=>B&&B(e.value),[B]),le=function(e,t,n,s=!0,r={}){const a=(0,o.useCallback)(()=>{const o=e.findIndex(t);if(o===e.length-1&&!s)return;const r=f(o+1,e.length);n&&n(e[r])},[e,t,n,s]),i=(0,o.useCallback)(()=>{const o=e.findIndex(t);if(0===o&&!s)return;const r=f(o-1,e.length);n&&n(e[r])},[e,t,n,s]),l=(0,o.useCallback)(()=>{n&&n(e[0])},[n,e]),c=(0,o.useCallback)(()=>{n&&n(e[e.length-1])},[n,e]),{next:u=y.next,previous:p=y.previous,first:d=y.first,last:h=y.last}=r;return(0,C.useComposedKeyboardActionHandlers)((0,C.useKeyboardActionHandler)(u,a),(0,C.useKeyboardActionHandler)(p,i),(0,C.useKeyboardActionHandler)(d,l),(0,C.useKeyboardActionHandler)(h,c))}(J,ae,ie,!1,{next:[40],previous:[38]}),ce=(0,C.useKeyboardToggle)(U),ue=(0,C.useKeyboardClose)(z,K),pe=(0,C.useKeyboardOpen)(z,j),de=(0,C.useKeyboardEventHandler)(ce,ue,pe),he=(0,C.useKeyboardEventHandler)(le,ce,ue),me=function(e){const t=(0,o.useRef)(""),n=(0,o.useMemo)(()=>(0,g.default)(()=>{t.current=""},500),[]),s=(0,o.useMemo)(()=>(0,b.default)(e,200),[e]);return(0,o.useCallback)(e=>{e.key.length>0&&e.key.length<3&&(t.current+=e.key,s(t.current,e),n())},[n,s])}((e,t)=>{const n=function(e,t){return e.find(e=>{var n;const o=t.toLowerCase();return!e.readonly&&(!e.readonly&&("string"==typeof e.content&&e.content.toLowerCase().startsWith(o)||String(null!==(n=e.value)&&void 0!==n?n:"").toLowerCase().startsWith(o)))})}(J,e);void 0!==n&&B&&(t.stopPropagation(),z||j(),B(n.value))});return o.createElement(E.ControlDisclosureView,{...O,...$,...X,id:n,role:"button",tabIndex:F,"aria-owns":$["aria-controls"],"aria-haspopup":"listbox","aria-labelledby":se,disabled:c,hideArrowButton:d,isFocused:V,isOpened:z,highlight:G,intent:W,ref:(0,r.useMergedRefs)([q,t]),onClick:Q,onOpen:function(){ne(Z,{duration:0}),H()},onClose:K,onKeyDown:function(e){de(e),e.defaultPrevented||me(e)},listboxId:D,listboxTabIndex:L,listboxClassName:a,listboxAria:re, -listboxReference:Y,scrollWrapReference:ee,onListboxKeyDown:function(e){he(e),e.defaultPrevented||me(e)},buttonChildren:o.createElement(N,{selectedItem:Z,placeholder:v}),repositionOnScroll:M},A.map((e,t)=>{var s;if(e.readonly)return o.createElement(o.Fragment,{key:"readonly_item_"+t},e.content);const r=w(n,e);return o.createElement(m.PopupMenuItem,{key:r,id:r,className:i,role:"option","aria-selected":k===e.value,isActive:k===e.value,label:null!==(s=e.content)&&void 0!==s?s:e.value,onClick:ge,onClickArg:e.value,isDisabled:e.disabled,reference:t=>te(e,t)})}));function ge(e){B&&B(e)}});k.displayName="Select"},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>i});var o=n(59496),s=n(59142),r=n(88537),a=n(49483);function i(e){const{reference:t,children:n,...r}=e,i=(0,o.useRef)(null),c=(0,o.useCallback)(e=>{t&&(t.current=e),a.CheckMobile.iOS()&&(null!==i.current&&(0,s.enableBodyScroll)(i.current),i.current=e,null!==i.current&&(0,s.disableBodyScroll)(i.current,{allowTouchMove:l(i)}))},[t]);return o.createElement("div",{ref:c,...r},n)}function l(e){return t=>{const n=(0,r.ensureNotNull)(e.current),o=document.activeElement;return!n.contains(t)||null!==o&&n.contains(o)&&o.contains(t)}}},49154:e=>{e.exports=''},89974:e=>{e.exports=''},36826:e=>{e.exports=''},60495:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/492d9a718a2c25d234151474b0206977.svg b/charting_library/bundles/492d9a718a2c25d234151474b0206977.svg new file mode 100644 index 00000000..6552615b --- /dev/null +++ b/charting_library/bundles/492d9a718a2c25d234151474b0206977.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4956.5be5245cef3e7dc84a04.css b/charting_library/bundles/4956.5be5245cef3e7dc84a04.css new file mode 100644 index 00000000..3e4b404b --- /dev/null +++ b/charting_library/bundles/4956.5be5245cef3e7dc84a04.css @@ -0,0 +1 @@ +.dialog-hxnnZcZ6{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-hxnnZcZ6 [data-dragg-area=true]{cursor:grab}.dialog-hxnnZcZ6 [data-dragg-area=true].dragging-hxnnZcZ6{cursor:grabbing}.dialogAnimatedAppearance-hxnnZcZ6{animation-duration:.3s;animation-name:dialogAnimation-hxnnZcZ6;transform-origin:0 0}@keyframes dialogAnimation-hxnnZcZ6{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-hxnnZcZ6{color:#fff;font-size:14px;left:50%;line-height:21px;max-width:540px;position:absolute;top:-20px;transform:translateX(-50%);width:max-content}@media screen and (max-width:768px){.dialogTooltip-hxnnZcZ6{max-width:240px}} \ No newline at end of file diff --git a/charting_library/bundles/4956.5be5245cef3e7dc84a04.rtl.css b/charting_library/bundles/4956.5be5245cef3e7dc84a04.rtl.css new file mode 100644 index 00000000..4d1cb2e9 --- /dev/null +++ b/charting_library/bundles/4956.5be5245cef3e7dc84a04.rtl.css @@ -0,0 +1 @@ +.dialog-hxnnZcZ6{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-hxnnZcZ6 [data-dragg-area=true]{cursor:grab}.dialog-hxnnZcZ6 [data-dragg-area=true].dragging-hxnnZcZ6{cursor:grabbing}.dialogAnimatedAppearance-hxnnZcZ6{animation-duration:.3s;animation-name:dialogAnimation-hxnnZcZ6;transform-origin:100% 0}@keyframes dialogAnimation-hxnnZcZ6{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-hxnnZcZ6{color:#fff;font-size:14px;line-height:21px;max-width:540px;position:absolute;right:50%;top:-20px;transform:translateX(50%);width:max-content}@media screen and (max-width:768px){.dialogTooltip-hxnnZcZ6{max-width:240px}} \ No newline at end of file diff --git a/charting_library/bundles/4958ef32c0c1820de94cfe8a01f2f1cf.svg b/charting_library/bundles/4958ef32c0c1820de94cfe8a01f2f1cf.svg new file mode 100644 index 00000000..16487c3d --- /dev/null +++ b/charting_library/bundles/4958ef32c0c1820de94cfe8a01f2f1cf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/49d1ea5b7ccbfbae29bbc21c506e617c.svg b/charting_library/bundles/49d1ea5b7ccbfbae29bbc21c506e617c.svg new file mode 100644 index 00000000..8400044d --- /dev/null +++ b/charting_library/bundles/49d1ea5b7ccbfbae29bbc21c506e617c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4aaf8ecd499671f5404f7355e9b94ffa.svg b/charting_library/bundles/4aaf8ecd499671f5404f7355e9b94ffa.svg new file mode 100644 index 00000000..4eb21d3a --- /dev/null +++ b/charting_library/bundles/4aaf8ecd499671f5404f7355e9b94ffa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4bba9cb57057b411f436fdcb98ab3e32.svg b/charting_library/bundles/4bba9cb57057b411f436fdcb98ab3e32.svg new file mode 100644 index 00000000..eca10187 --- /dev/null +++ b/charting_library/bundles/4bba9cb57057b411f436fdcb98ab3e32.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4bc8348594c9430c735366fc72d9f36b.svg b/charting_library/bundles/4bc8348594c9430c735366fc72d9f36b.svg new file mode 100644 index 00000000..025b0158 --- /dev/null +++ b/charting_library/bundles/4bc8348594c9430c735366fc72d9f36b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4bd2362d901778b20ccc963f023833f6.svg b/charting_library/bundles/4bd2362d901778b20ccc963f023833f6.svg new file mode 100644 index 00000000..9002bf48 --- /dev/null +++ b/charting_library/bundles/4bd2362d901778b20ccc963f023833f6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4c2b4fdaa4afbe49682badbe3e6d5092.svg b/charting_library/bundles/4c2b4fdaa4afbe49682badbe3e6d5092.svg new file mode 100644 index 00000000..931401d0 --- /dev/null +++ b/charting_library/bundles/4c2b4fdaa4afbe49682badbe3e6d5092.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4f21dea2767b186965157eba97f085b2.svg b/charting_library/bundles/4f21dea2767b186965157eba97f085b2.svg new file mode 100644 index 00000000..9e6a3ec9 --- /dev/null +++ b/charting_library/bundles/4f21dea2767b186965157eba97f085b2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/4f7347b954545a7137c5b906707789e6.svg b/charting_library/bundles/4f7347b954545a7137c5b906707789e6.svg new file mode 100644 index 00000000..7dbf983d --- /dev/null +++ b/charting_library/bundles/4f7347b954545a7137c5b906707789e6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5030.f9501920ecfa388929c3.css b/charting_library/bundles/5030.f9501920ecfa388929c3.css new file mode 100644 index 00000000..b94eed61 --- /dev/null +++ b/charting_library/bundles/5030.f9501920ecfa388929c3.css @@ -0,0 +1 @@ +.dialog-tq2E4Gaq{overflow-x:hidden;overflow-y:auto;position:relative}.container-tq2E4Gaq{display:flex;flex-flow:column nowrap;height:100%;justify-content:space-between;padding:40px 20px 20px}@media screen and (min-width:568px){.container-tq2E4Gaq{height:auto;padding:40px}}.closeButton-tq2E4Gaq{cursor:pointer;right:17px;top:17px}.header-tq2E4Gaq{align-items:center;display:flex;flex-flow:column nowrap;margin-bottom:8px}@media screen and (min-width:568px){.header-tq2E4Gaq{margin-bottom:16px}}.image-tq2E4Gaq{height:120px;margin-bottom:24px;width:120px}.title-tq2E4Gaq{color:#131722;font-size:28px;font-style:normal;font-weight:600;line-height:36px;width:100%}html.theme-dark .title-tq2E4Gaq{color:#d1d4dc}@media screen and (min-width:568px){.title-tq2E4Gaq{font-size:36px;font-style:normal;font-weight:600;line-height:44px;text-align:center}}.main-content-tq2E4Gaq{color:#131722;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-bottom:32px}html.theme-dark .main-content-tq2E4Gaq{color:#d1d4dc}@media screen and (min-width:568px){.main-content-tq2E4Gaq{font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:40px}}.list-tq2E4Gaq,.paragraph-tq2E4Gaq{margin-bottom:10px}.list-tq2E4Gaq:last-child,.paragraph-tq2E4Gaq:last-child{margin-bottom:0}.list-tq2E4Gaq{margin-top:16px}.list-item-tq2E4Gaq{margin-bottom:12px;margin-left:20px}.list-item-tq2E4Gaq:last-child{margin-bottom:0}@media screen and (min-width:568px){.list-item-tq2E4Gaq{margin-left:30px}}.strong-tq2E4Gaq{color:#131722;font-weight:700}html.theme-dark .strong-tq2E4Gaq{color:#f0f3fa}.actions-tq2E4Gaq{display:flex;flex-flow:column-reverse nowrap}.button-content-tq2E4Gaq{display:flex;margin:auto}.button-tq2E4Gaq{margin-bottom:8px}.button-tq2E4Gaq:first-child{margin-bottom:0}@media screen and (min-width:568px){.button-tq2E4Gaq{margin-bottom:16px}.button-tq2E4Gaq:last-child{margin-right:0}}.countDown-tq2E4Gaq{display:flex;justify-content:center;margin:24px 0 40px} \ No newline at end of file diff --git a/charting_library/bundles/5030.f9501920ecfa388929c3.rtl.css b/charting_library/bundles/5030.f9501920ecfa388929c3.rtl.css new file mode 100644 index 00000000..8d6716c2 --- /dev/null +++ b/charting_library/bundles/5030.f9501920ecfa388929c3.rtl.css @@ -0,0 +1 @@ +.dialog-tq2E4Gaq{overflow-x:hidden;overflow-y:auto;position:relative}.container-tq2E4Gaq{display:flex;flex-flow:column nowrap;height:100%;justify-content:space-between;padding:40px 20px 20px}@media screen and (min-width:568px){.container-tq2E4Gaq{height:auto;padding:40px}}.closeButton-tq2E4Gaq{cursor:pointer;left:17px;top:17px}.header-tq2E4Gaq{align-items:center;display:flex;flex-flow:column nowrap;margin-bottom:8px}@media screen and (min-width:568px){.header-tq2E4Gaq{margin-bottom:16px}}.image-tq2E4Gaq{height:120px;margin-bottom:24px;width:120px}.title-tq2E4Gaq{color:#131722;font-size:28px;font-style:normal;font-weight:600;line-height:36px;width:100%}html.theme-dark .title-tq2E4Gaq{color:#d1d4dc}@media screen and (min-width:568px){.title-tq2E4Gaq{font-size:36px;font-style:normal;font-weight:600;line-height:44px;text-align:center}}.main-content-tq2E4Gaq{color:#131722;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-bottom:32px}html.theme-dark .main-content-tq2E4Gaq{color:#d1d4dc}@media screen and (min-width:568px){.main-content-tq2E4Gaq{font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:40px}}.list-tq2E4Gaq,.paragraph-tq2E4Gaq{margin-bottom:10px}.list-tq2E4Gaq:last-child,.paragraph-tq2E4Gaq:last-child{margin-bottom:0}.list-tq2E4Gaq{margin-top:16px}.list-item-tq2E4Gaq{margin-bottom:12px;margin-right:20px}.list-item-tq2E4Gaq:last-child{margin-bottom:0}@media screen and (min-width:568px){.list-item-tq2E4Gaq{margin-right:30px}}.strong-tq2E4Gaq{color:#131722;font-weight:700}html.theme-dark .strong-tq2E4Gaq{color:#f0f3fa}.actions-tq2E4Gaq{display:flex;flex-flow:column-reverse nowrap}.button-content-tq2E4Gaq{display:flex;margin:auto}.button-tq2E4Gaq{margin-bottom:8px}.button-tq2E4Gaq:first-child{margin-bottom:0}@media screen and (min-width:568px){.button-tq2E4Gaq{margin-bottom:16px}.button-tq2E4Gaq:last-child{margin-left:0}}.countDown-tq2E4Gaq{display:flex;justify-content:center;margin:24px 0 40px} \ No newline at end of file diff --git a/charting_library/bundles/5064.1f384128ead8182b3a33.css b/charting_library/bundles/5064.1f384128ead8182b3a33.css new file mode 100644 index 00000000..91c0381f --- /dev/null +++ b/charting_library/bundles/5064.1f384128ead8182b3a33.css @@ -0,0 +1 @@ +.toast-positioning-wrapper-uEa3054V{bottom:0;max-width:100%;position:absolute;transition:transform .25s ease-in-out,opacity .25s ease-in-out;width:max-content}.toast-positioning-wrapper-uEa3054V.compact-uEa3054V{width:100%}.toast-positioning-wrapper-uEa3054V.location-bottom-left-uEa3054V{left:0}.toast-positioning-wrapper-uEa3054V.location-bottom-right-uEa3054V{right:0}.hidden-uEa3054V{opacity:0}.added-uEa3054V{transition-duration:0s}.toast-wrapper-LaQcqQbu{margin:0 16px 8px}.toast-wrapper-LaQcqQbu.compact-LaQcqQbu{margin:0 4px 4px} \ No newline at end of file diff --git a/charting_library/bundles/5064.1f384128ead8182b3a33.rtl.css b/charting_library/bundles/5064.1f384128ead8182b3a33.rtl.css new file mode 100644 index 00000000..c2f5fbd9 --- /dev/null +++ b/charting_library/bundles/5064.1f384128ead8182b3a33.rtl.css @@ -0,0 +1 @@ +.toast-positioning-wrapper-uEa3054V{bottom:0;max-width:100%;position:absolute;transition:transform .25s ease-in-out,opacity .25s ease-in-out;width:max-content}.toast-positioning-wrapper-uEa3054V.compact-uEa3054V{width:100%}.toast-positioning-wrapper-uEa3054V.location-bottom-left-uEa3054V{right:0}.toast-positioning-wrapper-uEa3054V.location-bottom-right-uEa3054V{left:0}.hidden-uEa3054V{opacity:0}.added-uEa3054V{transition-duration:0s}.toast-wrapper-LaQcqQbu{margin:0 16px 8px}.toast-wrapper-LaQcqQbu.compact-LaQcqQbu{margin:0 4px 4px} \ No newline at end of file diff --git a/charting_library/bundles/5069.3451a537bfe99e8c44be.css b/charting_library/bundles/5069.3451a537bfe99e8c44be.css new file mode 100644 index 00000000..c1cf6f29 --- /dev/null +++ b/charting_library/bundles/5069.3451a537bfe99e8c44be.css @@ -0,0 +1 @@ +.popupDialog-1s1uy4Yi{max-width:450px}.content-1s1uy4Yi .row-1s1uy4Yi{display:flex;padding-bottom:12px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi{font-size:13px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#868993}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#787b86}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#434651;font-weight:700}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#d1d4dc}.content-1s1uy4Yi .row-1s1uy4Yi .columnTitle-1s1uy4Yi{text-align:left}.content-1s1uy4Yi .row-1s1uy4Yi .columnValue-1s1uy4Yi{margin-left:auto;text-align:right} \ No newline at end of file diff --git a/charting_library/bundles/5069.3451a537bfe99e8c44be.rtl.css b/charting_library/bundles/5069.3451a537bfe99e8c44be.rtl.css new file mode 100644 index 00000000..122a4bc1 --- /dev/null +++ b/charting_library/bundles/5069.3451a537bfe99e8c44be.rtl.css @@ -0,0 +1 @@ +.popupDialog-1s1uy4Yi{max-width:450px}.content-1s1uy4Yi .row-1s1uy4Yi{display:flex;padding-bottom:12px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi{font-size:13px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#868993}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#787b86}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#434651;font-weight:700}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#d1d4dc}.content-1s1uy4Yi .row-1s1uy4Yi .columnTitle-1s1uy4Yi{text-align:right}.content-1s1uy4Yi .row-1s1uy4Yi .columnValue-1s1uy4Yi{margin-right:auto;text-align:left} \ No newline at end of file diff --git a/charting_library/bundles/509.2aa31cf384069ff4cd5e.css b/charting_library/bundles/509.2aa31cf384069ff4cd5e.css new file mode 100644 index 00000000..ef6f83a8 --- /dev/null +++ b/charting_library/bundles/509.2aa31cf384069ff4cd5e.css @@ -0,0 +1 @@ +.tv-button{fill:currentColor;-webkit-tap-highlight-color:transparent;background-color:initial;border:none;border-radius:4px;box-sizing:border-box;color:#757575;cursor:pointer;display:inline-block;font-size:14px;line-height:32px;margin:0;min-width:40px;outline:0;overflow:hidden;padding:1px 22px;position:relative;text-align:center;text-decoration:none;transition:background-color .35s ease,border-color .35s ease,color .35s ease;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.tv-button.tv-button--danger_ghost,.tv-button.tv-button--default,.tv-button.tv-button--default_ghost,.tv-button.tv-button--primary_ghost,.tv-button.tv-button--secondary_ghost,.tv-button.tv-button--state,.tv-button.tv-button--success_ghost,.tv-button.tv-button--warning_ghost{padding:0 21px}.tv-button.i-active,.tv-button.i-hover,.tv-button:active{transition-duration:.06s}@media (any-hover:hover){.tv-button:hover{transition-duration:.06s}}.tv-button svg{vertical-align:middle}.tv-button--block{display:block;text-align:center;width:100%}.tv-button+.tv-button{margin-left:15px}.tv-button.tv-button--no-left-margin{margin-left:0}.tv-button__text{display:inline-block;position:relative}.tv-button__text--full-height{word-wrap:break-word;align-items:center;display:flex;height:100%;justify-content:center;line-height:1.2em;margin:11px 5px;white-space:normal;width:100%}.tv-button--default,.tv-button--default_ghost,a.tv-button--default:visited{background-color:#fff;border-color:#fff;color:#fff}html.theme-dark .tv-button--default,html.theme-dark .tv-button--default_ghost,html.theme-dark a.tv-button--default:visited{background-color:#1e222d;border-color:#1e222d}.tv-button--default_ghost{color:#fff}html.theme-dark .tv-button--default_ghost{color:#1e222d}.tv-button--default_ghost.i-checked{background-color:#fff;border-color:#fff;color:#fff}html.theme-dark .tv-button--default_ghost.i-checked{background-color:#1e222d;border-color:#1e222d}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{background-color:#ececec;border-color:#ececec;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--default.i-active,html.theme-dark .tv-button--default:active,html.theme-dark .tv-button--default_ghost.i-active,html.theme-dark .tv-button--default_ghost:active{background-color:#1c2030;border-color:#1c2030}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{background-color:#e0e3eb;border-color:#e0e3eb;color:#fff}@media (any-hover:hover){.tv-button--default:hover,.tv-button--default_ghost:hover{background-color:#e0e3eb;border-color:#e0e3eb;color:#fff}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{background-color:#1e222d}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#1e222d}}.tv-button--default_ghost .tv-button__loader-item{background-color:#e0e3eb}html.theme-dark .tv-button--default_ghost .tv-button__loader-item{background-color:#1e222d}.tv-button--default_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--default_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--default,.tv-button--default.i-checked,.tv-button--default_ghost,.tv-button--default_ghost.i-checked{border:1px solid #b2b5be;color:#6a6d78}html.theme-dark .tv-button--default,html.theme-dark .tv-button--default.i-checked,html.theme-dark .tv-button--default_ghost,html.theme-dark .tv-button--default_ghost.i-checked{border-color:#363a45;color:#787b86}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{border-color:#b2b5be;color:#6a6d78}@media (any-hover:hover){.tv-button--default:hover,.tv-button--default_ghost:hover{border-color:#b2b5be;color:#6a6d78}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#363a45}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{color:#787b86}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{color:#787b86}}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{border-color:#b2b5be;color:#6a6d78}html.theme-dark .tv-button--default.i-active,html.theme-dark .tv-button--default:active,html.theme-dark .tv-button--default_ghost.i-active,html.theme-dark .tv-button--default_ghost:active{border-color:#363a45;color:#787b86}.tv-button--primary,.tv-button--primary_ghost,a.tv-button--primary:visited{background-color:#2962ff;border-color:#2962ff;color:#fff}html.theme-dark .tv-button--primary,html.theme-dark .tv-button--primary_ghost,html.theme-dark a.tv-button--primary:visited{background-color:#2962ff;border-color:#2962ff;color:#fff}.tv-button--primary_ghost,html.theme-dark .tv-button--primary_ghost{color:#2962ff}.tv-button--primary_ghost.i-checked{background-color:#2962ff;border-color:#2962ff;color:#fff}html.theme-dark .tv-button--primary_ghost.i-checked{background-color:#2962ff;border-color:#2962ff;color:#fff}.tv-button--primary.i-active,.tv-button--primary:active,.tv-button--primary_ghost.i-active,.tv-button--primary_ghost:active{background-color:#1848cc;border-color:#1848cc;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--primary.i-active,html.theme-dark .tv-button--primary:active,html.theme-dark .tv-button--primary_ghost.i-active,html.theme-dark .tv-button--primary_ghost:active{background-color:#1848cc;border-color:#1848cc;color:#fff}.tv-button--primary.i-hover,.tv-button--primary_ghost.i-hover{background-color:#1e53e5;border-color:#1e53e5;color:#fff}@media (any-hover:hover){.tv-button--primary:hover,.tv-button--primary_ghost:hover{background-color:#1e53e5;border-color:#1e53e5;color:#fff}}html.theme-dark .tv-button--primary.i-hover,html.theme-dark .tv-button--primary_ghost.i-hover{background-color:#1e53e5}@media (any-hover:hover){html.theme-dark .tv-button--primary:hover,html.theme-dark .tv-button--primary_ghost:hover{background-color:#1e53e5}}html.theme-dark .tv-button--primary.i-hover,html.theme-dark .tv-button--primary_ghost.i-hover{border-color:#1e53e5}@media (any-hover:hover){html.theme-dark .tv-button--primary:hover,html.theme-dark .tv-button--primary_ghost:hover{border-color:#1e53e5}}html.theme-dark .tv-button--primary.i-hover,html.theme-dark .tv-button--primary_ghost.i-hover{color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--primary:hover,html.theme-dark .tv-button--primary_ghost:hover{color:#fff}}.tv-button--primary_ghost .tv-button__loader-item,html.theme-dark .tv-button--primary_ghost .tv-button__loader-item{background-color:#1e53e5}.tv-button--primary_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--primary_ghost:hover .tv-button__loader-item{background-color:#fff}}html.theme-dark .tv-button--primary_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--primary_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--secondary,.tv-button--secondary_ghost,a.tv-button--secondary:visited{background-color:#e9eff2;border-color:#e9eff2;color:#757575}.tv-button--secondary_ghost{color:#757575}.tv-button--secondary_ghost.i-checked{background-color:#e9eff2;border-color:#e9eff2;color:#757575}.tv-button--secondary.i-active,.tv-button--secondary:active,.tv-button--secondary_ghost.i-active,.tv-button--secondary_ghost:active{background-color:#cfdce3;border-color:#cfdce3;color:#757575;transform:translateY(1px)}.tv-button--secondary.i-hover,.tv-button--secondary_ghost.i-hover{background-color:#dce6ea;border-color:#dce6ea;color:#757575}@media (any-hover:hover){.tv-button--secondary:hover,.tv-button--secondary_ghost:hover{background-color:#dce6ea;border-color:#dce6ea;color:#757575}}.tv-button--secondary_ghost .tv-button__loader-item{background-color:#dce6ea}.tv-button--secondary_ghost.i-hover .tv-button__loader-item{background-color:#757575}@media (any-hover:hover){.tv-button--secondary_ghost:hover .tv-button__loader-item{background-color:#757575}}.tv-button--success,.tv-button--success_ghost,a.tv-button--success:visited{background-color:#089981;border-color:#089981;color:#fff}html.theme-dark .tv-button--success,html.theme-dark .tv-button--success_ghost,html.theme-dark a.tv-button--success:visited{background-color:#056656;border-color:#056656;color:#fff}.tv-button--success_ghost{color:#089981}html.theme-dark .tv-button--success_ghost{color:#056656}.tv-button--success_ghost.i-checked{background-color:#089981;border-color:#089981;color:#fff}html.theme-dark .tv-button--success_ghost.i-checked{background-color:#056656;border-color:#056656;color:#fff}.tv-button--success.i-active,.tv-button--success:active,.tv-button--success_ghost.i-active,.tv-button--success_ghost:active{background-color:#056656;border-color:#056656;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--success.i-active,html.theme-dark .tv-button--success:active,html.theme-dark .tv-button--success_ghost.i-active,html.theme-dark .tv-button--success_ghost:active{background-color:#089981;border-color:#089981;color:#fff}.tv-button--success.i-hover,.tv-button--success_ghost.i-hover{background-color:#06806b;border-color:#06806b;color:#fff}@media (any-hover:hover){.tv-button--success:hover,.tv-button--success_ghost:hover{background-color:#06806b;border-color:#06806b;color:#fff}}html.theme-dark .tv-button--success.i-hover,html.theme-dark .tv-button--success_ghost.i-hover{background-color:#06806b}@media (any-hover:hover){html.theme-dark .tv-button--success:hover,html.theme-dark .tv-button--success_ghost:hover{background-color:#06806b}}html.theme-dark .tv-button--success.i-hover,html.theme-dark .tv-button--success_ghost.i-hover{border-color:#06806b}@media (any-hover:hover){html.theme-dark .tv-button--success:hover,html.theme-dark .tv-button--success_ghost:hover{border-color:#06806b}}html.theme-dark .tv-button--success.i-hover,html.theme-dark .tv-button--success_ghost.i-hover{color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--success:hover,html.theme-dark .tv-button--success_ghost:hover{color:#fff}}.tv-button--success_ghost .tv-button__loader-item,html.theme-dark .tv-button--success_ghost .tv-button__loader-item{background-color:#06806b}.tv-button--success_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--success_ghost:hover .tv-button__loader-item{background-color:#fff}}html.theme-dark .tv-button--success_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--success_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--danger,.tv-button--danger_ghost,a.tv-button--danger:visited{background-color:#f7525f;border-color:#f7525f;color:#fff}html.theme-dark .tv-button--danger,html.theme-dark .tv-button--danger_ghost,html.theme-dark a.tv-button--danger:visited{background-color:#b22833;border-color:#b22833;color:#fff}.tv-button--danger_ghost{color:#f7525f}html.theme-dark .tv-button--danger_ghost{color:#b22833}.tv-button--danger_ghost.i-checked{background-color:#f7525f;border-color:#f7525f;color:#fff}html.theme-dark .tv-button--danger_ghost.i-checked{background-color:#b22833;border-color:#b22833;color:#fff}.tv-button--danger.i-active,.tv-button--danger:active,.tv-button--danger_ghost.i-active,.tv-button--danger_ghost:active{background-color:#b22833;border-color:#b22833;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--danger.i-active,html.theme-dark .tv-button--danger:active,html.theme-dark .tv-button--danger_ghost.i-active,html.theme-dark .tv-button--danger_ghost:active{background-color:#f23645;border-color:#f23645;color:#fff}.tv-button--danger.i-hover,.tv-button--danger_ghost.i-hover{background-color:#cc2f3c;border-color:#cc2f3c;color:#fff}@media (any-hover:hover){.tv-button--danger:hover,.tv-button--danger_ghost:hover{background-color:#cc2f3c;border-color:#cc2f3c;color:#fff}}html.theme-dark .tv-button--danger.i-hover,html.theme-dark .tv-button--danger_ghost.i-hover{background-color:#cc2f3c}@media (any-hover:hover){html.theme-dark .tv-button--danger:hover,html.theme-dark .tv-button--danger_ghost:hover{background-color:#cc2f3c}}html.theme-dark .tv-button--danger.i-hover,html.theme-dark .tv-button--danger_ghost.i-hover{border-color:#cc2f3c}@media (any-hover:hover){html.theme-dark .tv-button--danger:hover,html.theme-dark .tv-button--danger_ghost:hover{border-color:#cc2f3c}}html.theme-dark .tv-button--danger.i-hover,html.theme-dark .tv-button--danger_ghost.i-hover{color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--danger:hover,html.theme-dark .tv-button--danger_ghost:hover{color:#fff}}.tv-button--danger_ghost .tv-button__loader-item,html.theme-dark .tv-button--danger_ghost .tv-button__loader-item{background-color:#cc2f3c}.tv-button--danger_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--danger_ghost:hover .tv-button__loader-item{background-color:#fff}}html.theme-dark .tv-button--danger_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--danger_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--warning,.tv-button--warning_ghost,a.tv-button--warning:visited{background-color:#f89e30;border-color:#f89e30;color:#fff}.tv-button--warning_ghost{color:#f89e30}.tv-button--warning_ghost.i-checked{background-color:#f89e30;border-color:#f89e30;color:#fff}.tv-button--warning.i-active,.tv-button--warning:active,.tv-button--warning_ghost.i-active,.tv-button--warning_ghost:active{background-color:#d47807;border-color:#d47807;color:#fff;transform:translateY(1px)}.tv-button--warning.i-hover,.tv-button--warning_ghost.i-hover{background-color:#f79217;border-color:#f79217;color:#fff}@media (any-hover:hover){.tv-button--warning:hover,.tv-button--warning_ghost:hover{background-color:#f79217;border-color:#f79217;color:#fff}}.tv-button--warning_ghost .tv-button__loader-item{background-color:#f79217}.tv-button--warning_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--warning_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--link{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-button--link{color:#2962ff}.tv-button--link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-button--link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-button--link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-button--link:hover{fill:#1e53e5;color:#1e53e5}}.tv-button--link:focus{outline:auto}.tv-button--link:focus:not(:-moz-focusring){outline:none}.tv-button--link:-moz-focusring{outline:auto}.tv-button--link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-button--link:active{fill:#1848cc;color:#1848cc}.tv-button--danger_ghost,.tv-button--default_ghost,.tv-button--primary_ghost,.tv-button--secondary_ghost,.tv-button--success_ghost,.tv-button--warning_ghost{background-color:initial;border-style:solid;border-width:1px}html.theme-dark .tv-button--danger_ghost,html.theme-dark .tv-button--default_ghost,html.theme-dark .tv-button--primary_ghost,html.theme-dark .tv-button--secondary_ghost,html.theme-dark .tv-button--success_ghost,html.theme-dark .tv-button--warning_ghost{background-color:initial}.tv-button--danger_ghost.tv-button--size_large,.tv-button--default_ghost.tv-button--size_large,.tv-button--primary_ghost.tv-button--size_large,.tv-button--secondary_ghost.tv-button--size_large,.tv-button--success_ghost.tv-button--size_large,.tv-button--warning_ghost.tv-button--size_large{border-width:2px}.tv-button--danger_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--default_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--primary_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--secondary_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--success_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--warning_ghost.tv-button--size_large.tv-button--thin-border{border-width:1px}.tv-button .tv-ripple{background-color:#ffffff40}.tv-button--default .tv-ripple,.tv-button--default_ghost .tv-ripple{background-color:#75869640}.tv-button.i-disabled .tv-ripple{background-color:initial}.tv-button.i-disabled,.tv-button.i-disabled:active,.tv-button:disabled,.tv-button:disabled:active{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be;cursor:default}@media (any-hover:hover){.tv-button.i-disabled:hover,.tv-button:disabled:hover{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be;cursor:default}}html.theme-dark .tv-button.i-disabled,html.theme-dark .tv-button.i-disabled:active,html.theme-dark .tv-button:disabled,html.theme-dark .tv-button:disabled:active{background-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{background-color:#363a45}}html.theme-dark .tv-button.i-disabled,html.theme-dark .tv-button.i-disabled:active,html.theme-dark .tv-button:disabled,html.theme-dark .tv-button:disabled:active{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{border-color:#363a45}}html.theme-dark .tv-button.i-disabled,html.theme-dark .tv-button.i-disabled:active,html.theme-dark .tv-button:disabled,html.theme-dark .tv-button:disabled:active{color:#50535e}@media (any-hover:hover){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{color:#50535e}}.tv-button.i-disabled:active,.tv-button:disabled:active{transform:translateY(0)}.tv-button--size_xsmall{border-radius:1px;font-size:11px;font-weight:400;line-height:15px;padding:2px 7px}.tv-button--size_xsmall.tv-button--danger_ghost,.tv-button--size_xsmall.tv-button--default,.tv-button--size_xsmall.tv-button--default_ghost,.tv-button--size_xsmall.tv-button--primary_ghost,.tv-button--size_xsmall.tv-button--secondary_ghost,.tv-button--size_xsmall.tv-button--state,.tv-button--size_xsmall.tv-button--success_ghost,.tv-button--size_xsmall.tv-button--warning_ghost{padding:1px 6px}.tv-button--size_xsmall+.tv-button--size_xsmall{margin-left:10px}.tv-button--size_small{font-size:13px;line-height:25px;padding:1px 12px}.tv-button--size_small.tv-button--danger_ghost,.tv-button--size_small.tv-button--default,.tv-button--size_small.tv-button--default_ghost,.tv-button--size_small.tv-button--primary_ghost,.tv-button--size_small.tv-button--secondary_ghost,.tv-button--size_small.tv-button--state,.tv-button--size_small.tv-button--success_ghost,.tv-button--size_small.tv-button--warning_ghost{padding:0 11px}.tv-button--size_small+.tv-button--size_small{margin-left:10px}.tv-button--size_large{font-size:17px;line-height:44px;padding:1px 30px}.tv-button--size_large.tv-button--danger_ghost,.tv-button--size_large.tv-button--default,.tv-button--size_large.tv-button--default_ghost,.tv-button--size_large.tv-button--primary_ghost,.tv-button--size_large.tv-button--secondary_ghost,.tv-button--size_large.tv-button--state,.tv-button--size_large.tv-button--success_ghost,.tv-button--size_large.tv-button--warning_ghost{padding:0 29px}.tv-button--size_promo{border-radius:120px;font-size:24px;line-height:54px;padding:1px 40px}.tv-button--size_promo.tv-button--danger_ghost,.tv-button--size_promo.tv-button--default,.tv-button--size_promo.tv-button--default_ghost,.tv-button--size_promo.tv-button--primary_ghost,.tv-button--size_promo.tv-button--secondary_ghost,.tv-button--size_promo.tv-button--state,.tv-button--size_promo.tv-button--success_ghost,.tv-button--size_promo.tv-button--warning_ghost{padding:0 39px}.tv-button--no-padding{padding:1px}.tv-button--no-padding.tv-button--danger_ghost,.tv-button--no-padding.tv-button--default,.tv-button--no-padding.tv-button--default_ghost,.tv-button--no-padding.tv-button--primary_ghost,.tv-button--no-padding.tv-button--secondary_ghost,.tv-button--no-padding.tv-button--state,.tv-button--no-padding.tv-button--success_ghost,.tv-button--no-padding.tv-button--warning_ghost{padding:0}.tv-button--state{background:#0000;border-style:solid;border-width:1px;text-align:center}html.theme-dark .tv-button--state{background:#0000}.tv-button--state:after{content:"";display:inline-block}.tv-button--state__checked,.tv-button--state__uncheck-hint,.tv-button--state__unchecked{display:block;height:0;transition:opacity .2625s ease,transform .2625s ease}.tv-button--state__ellipsis-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__checked,.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint,.tv-button--state.i-checked:hover .tv-button--state__unchecked{will-change:opacity,transform}}.tv-button--state.i-checked .tv-button--state__unchecked,.tv-button--state__checked,.tv-button--state__uncheck-hint{opacity:0}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__checked{opacity:0}}.tv-button--state.i-checked .tv-button--state__checked,.tv-button--state__unchecked{opacity:1}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{opacity:1}.tv-button--state.i-checked:hover .tv-button--state__checked{transform:translateY(-5px)}}.tv-button--state.i-checked .tv-button--state__unchecked,.tv-button--state__checked,.tv-button--state__uncheck-hint{transform:translateY(5px)}.tv-button--state.i-checked .tv-button--state__checked{transform:translateY(0)}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{transform:translateY(0)}}.tv-button--state.tv-button--success{background-color:initial;color:#089981}html.theme-dark .tv-button--state.tv-button--success{background-color:initial;color:#056656}.tv-button--state.tv-button--success.i-checked{background-color:#089981;color:#fff}html.theme-dark .tv-button--state.tv-button--success.i-checked{background-color:#056656;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--success:hover{background-color:#06806b;color:#fff}html.theme-dark .tv-button--state.tv-button--success:hover{background-color:#06806b;color:#fff}}.tv-button--state.tv-button--success:active{background-color:#056656;color:#fff}html.theme-dark .tv-button--state.tv-button--success:active{background-color:#089981;color:#fff}.tv-button--state.tv-button--danger{background-color:initial;color:#f7525f}html.theme-dark .tv-button--state.tv-button--danger{background-color:initial;color:#b22833}.tv-button--state.tv-button--danger.i-checked{background-color:#ff4a68;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--danger:hover{background-color:#f24965;color:#fff}}.tv-button--state.tv-button--danger:active{background-color:#ff173e;color:#fff}.tv-button--state.tv-button--primary{background-color:initial;color:#2962ff}html.theme-dark .tv-button--state.tv-button--primary{background-color:initial;color:#2962ff}.tv-button--state.tv-button--primary.i-checked{background-color:#2962ff;color:#fff}html.theme-dark .tv-button--state.tv-button--primary.i-checked{background-color:#2962ff;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--primary:hover{background-color:#1e53e5;color:#fff}html.theme-dark .tv-button--state.tv-button--primary:hover{background-color:#1e53e5;color:#fff}}.tv-button--state.tv-button--primary:active{background-color:#1848cc;color:#fff}html.theme-dark .tv-button--state.tv-button--primary:active{background-color:#1848cc;color:#fff}.tv-button--state.tv-button--primary_ghost-hover.i-checked{background-color:initial;color:#2962ff}html.theme-dark .tv-button--state.tv-button--primary_ghost-hover.i-checked{background-color:initial;color:#2962ff}@media (any-hover:hover){.tv-button--state.tv-button--primary_ghost-hover:hover{background-color:#1e53e5;color:#fff}html.theme-dark .tv-button--state.tv-button--primary_ghost-hover:hover{background-color:#1e53e5;color:#fff}}.tv-button--state.tv-button--primary_ghost-hover:active{background-color:#1848cc;color:#fff}html.theme-dark .tv-button--state.tv-button--primary_ghost-hover:active{background-color:#1848cc;color:#fff}.tv-button--state.tv-button--secondary{background-color:initial;color:#757575}.tv-button--state.tv-button--secondary.i-checked{background-color:#e9eff2;color:#757575}@media (any-hover:hover){.tv-button--state.tv-button--secondary:hover{background-color:#dce6ea;color:#757575}}.tv-button--state.tv-button--secondary:active{background-color:#cfdce3;color:#757575}.tv-button--state.tv-button--warning{background-color:initial;color:#f89e30}.tv-button--state.tv-button--warning.i-checked{background-color:#f89e30;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--warning:hover{background-color:#f79217;color:#fff}}.tv-button--state.tv-button--warning:active{background-color:#d47807;color:#fff}.tv-button--state.tv-button--icon-with-text svg{margin-bottom:-8px;margin-right:6px;vertical-align:unset}.tv-button--icon{align-items:center;display:inline-flex;height:34px;justify-content:center;min-width:auto;padding:0!important;width:34px}.tv-button--icon.tv-button--size_xsmall{height:19px;width:19px}.tv-button--icon.tv-button--size_small{height:27px;width:27px}.tv-button--icon.tv-button--size_large{height:46px;width:46px}.tv-button__icon{display:flex;margin-right:7px}.tv-button--loader .tv-button__text{transition:opacity .175s ease,transform .175s ease}.tv-button--loader.i-start-load .tv-button__text{opacity:0;transform:translateY(-5px)}.tv-button--loader.i-loading .tv-button__text{opacity:0;transform:translateY(5px)}.tv-button--loader.i-stop-load .tv-button__text{opacity:1;transform:translateY(0);transition-delay:.175s}.tv-button__loader{bottom:0;font-size:0;height:100%;left:0;margin:0 auto;opacity:0;position:absolute;right:0;text-align:center;top:0;transition:opacity .35s ease}.tv-button__loader:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-button--loader.i-loading .tv-button__loader,.tv-button--loader.i-start-load .tv-button__loader{opacity:1}.tv-button--loader.i-stop-load .tv-button__loader{opacity:0}.tv-button__loader-item{background-color:#fff;border-radius:100%;display:inline-block;height:10px;margin-left:2px;margin-right:2px;opacity:0;transform:translateY(12px) scale(.6);transition:transform .35s cubic-bezier(.68,-.55,.265,1.55),opacity .35s ease;vertical-align:middle;width:10px}.tv-button__loader-item:nth-child(2){transition-delay:.11666667s}.tv-button__loader-item:nth-child(3){transition-delay:.23333333s}.tv-button--default .tv-button__loader-item{background-color:#757575}.tv-button--loader.i-loading .tv-button__loader-item,.tv-button--loader.i-start-load .tv-button__loader-item{opacity:1}.tv-button--loader.i-stop-load .tv-button__loader-item{opacity:0}.tv-button--loader.i-loading .tv-button__loader-item,.tv-button--loader.i-start-load .tv-button__loader-item,.tv-button--loader.i-stop-load .tv-button__loader-item{transform:translateY(0) scale(.6)}.tv-button--loader.i-loading .tv-button__loader-item,.tv-button--loader.i-stop-load .tv-button__loader-item{animation:tv-button-loader .96s ease-in-out infinite both}.tv-button--loader.i-loading .tv-button__loader-item:nth-child(2),.tv-button--loader.i-stop-load .tv-button__loader-item:nth-child(2){animation-delay:.151s}.tv-button--loader.i-loading .tv-button__loader-item:nth-child(3),.tv-button--loader.i-stop-load .tv-button__loader-item:nth-child(3){animation-delay:.32s}.tv-button--no-border-radius{border-radius:0}.tv-button--no-border{border:none}.tv-button--connect{border-radius:0}.tv-button--connect_left{border-bottom-left-radius:0;border-top-left-radius:0}.tv-button--connect_right{border-bottom-right-radius:0;border-top-right-radius:0}.tv-button--with-icon{align-items:center;display:inline-flex;transform:translate(0)}@keyframes tv-button-loader{0%,to{transform:scale(.6)}50%{transform:scale(.9)}} \ No newline at end of file diff --git a/charting_library/bundles/509.2aa31cf384069ff4cd5e.rtl.css b/charting_library/bundles/509.2aa31cf384069ff4cd5e.rtl.css new file mode 100644 index 00000000..937d4c23 --- /dev/null +++ b/charting_library/bundles/509.2aa31cf384069ff4cd5e.rtl.css @@ -0,0 +1 @@ +.tv-button{fill:currentColor;-webkit-tap-highlight-color:transparent;background-color:initial;border:none;border-radius:4px;box-sizing:border-box;color:#757575;cursor:pointer;display:inline-block;font-size:14px;line-height:32px;margin:0;min-width:40px;outline:0;overflow:hidden;padding:1px 22px;position:relative;text-align:center;text-decoration:none;transition:background-color .35s ease,border-color .35s ease,color .35s ease;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.tv-button.tv-button--danger_ghost,.tv-button.tv-button--default,.tv-button.tv-button--default_ghost,.tv-button.tv-button--primary_ghost,.tv-button.tv-button--secondary_ghost,.tv-button.tv-button--state,.tv-button.tv-button--success_ghost,.tv-button.tv-button--warning_ghost{padding:0 21px}.tv-button.i-active,.tv-button.i-hover,.tv-button:active{transition-duration:.06s}@media (any-hover:hover){.tv-button:hover{transition-duration:.06s}}.tv-button svg{vertical-align:middle}.tv-button--block{display:block;text-align:center;width:100%}.tv-button+.tv-button{margin-right:15px}.tv-button.tv-button--no-left-margin{margin-right:0}.tv-button__text{display:inline-block;position:relative}.tv-button__text--full-height{word-wrap:break-word;align-items:center;display:flex;height:100%;justify-content:center;line-height:1.2em;margin:11px 5px;white-space:normal;width:100%}.tv-button--default,.tv-button--default_ghost,a.tv-button--default:visited{background-color:#fff;border-color:#fff;color:#fff}html.theme-dark .tv-button--default,html.theme-dark .tv-button--default_ghost,html.theme-dark a.tv-button--default:visited{background-color:#1e222d;border-color:#1e222d}.tv-button--default_ghost{color:#fff}html.theme-dark .tv-button--default_ghost{color:#1e222d}.tv-button--default_ghost.i-checked{background-color:#fff;border-color:#fff;color:#fff}html.theme-dark .tv-button--default_ghost.i-checked{background-color:#1e222d;border-color:#1e222d}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{background-color:#ececec;border-color:#ececec;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--default.i-active,html.theme-dark .tv-button--default:active,html.theme-dark .tv-button--default_ghost.i-active,html.theme-dark .tv-button--default_ghost:active{background-color:#1c2030;border-color:#1c2030}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{background-color:#e0e3eb;border-color:#e0e3eb;color:#fff}@media (any-hover:hover){.tv-button--default:hover,.tv-button--default_ghost:hover{background-color:#e0e3eb;border-color:#e0e3eb;color:#fff}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{background-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{background-color:#1e222d}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#1e222d}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#1e222d}}.tv-button--default_ghost .tv-button__loader-item{background-color:#e0e3eb}html.theme-dark .tv-button--default_ghost .tv-button__loader-item{background-color:#1e222d}.tv-button--default_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--default_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--default,.tv-button--default.i-checked,.tv-button--default_ghost,.tv-button--default_ghost.i-checked{border:1px solid #b2b5be;color:#6a6d78}html.theme-dark .tv-button--default,html.theme-dark .tv-button--default.i-checked,html.theme-dark .tv-button--default_ghost,html.theme-dark .tv-button--default_ghost.i-checked{border-color:#363a45;color:#787b86}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{border-color:#b2b5be;color:#6a6d78}@media (any-hover:hover){.tv-button--default:hover,.tv-button--default_ghost:hover{border-color:#b2b5be;color:#6a6d78}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#363a45}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{color:#787b86}@media (any-hover:hover){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{color:#787b86}}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{border-color:#b2b5be;color:#6a6d78}html.theme-dark .tv-button--default.i-active,html.theme-dark .tv-button--default:active,html.theme-dark .tv-button--default_ghost.i-active,html.theme-dark .tv-button--default_ghost:active{border-color:#363a45;color:#787b86}.tv-button--primary,.tv-button--primary_ghost,a.tv-button--primary:visited{background-color:#2962ff;border-color:#2962ff;color:#fff}html.theme-dark .tv-button--primary,html.theme-dark .tv-button--primary_ghost,html.theme-dark a.tv-button--primary:visited{background-color:#2962ff;border-color:#2962ff;color:#fff}.tv-button--primary_ghost,html.theme-dark .tv-button--primary_ghost{color:#2962ff}.tv-button--primary_ghost.i-checked{background-color:#2962ff;border-color:#2962ff;color:#fff}html.theme-dark .tv-button--primary_ghost.i-checked{background-color:#2962ff;border-color:#2962ff;color:#fff}.tv-button--primary.i-active,.tv-button--primary:active,.tv-button--primary_ghost.i-active,.tv-button--primary_ghost:active{background-color:#1848cc;border-color:#1848cc;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--primary.i-active,html.theme-dark .tv-button--primary:active,html.theme-dark .tv-button--primary_ghost.i-active,html.theme-dark .tv-button--primary_ghost:active{background-color:#1848cc;border-color:#1848cc;color:#fff}.tv-button--primary.i-hover,.tv-button--primary_ghost.i-hover{background-color:#1e53e5;border-color:#1e53e5;color:#fff}@media (any-hover:hover){.tv-button--primary:hover,.tv-button--primary_ghost:hover{background-color:#1e53e5;border-color:#1e53e5;color:#fff}}html.theme-dark .tv-button--primary.i-hover,html.theme-dark .tv-button--primary_ghost.i-hover{background-color:#1e53e5}@media (any-hover:hover){html.theme-dark .tv-button--primary:hover,html.theme-dark .tv-button--primary_ghost:hover{background-color:#1e53e5}}html.theme-dark .tv-button--primary.i-hover,html.theme-dark .tv-button--primary_ghost.i-hover{border-color:#1e53e5}@media (any-hover:hover){html.theme-dark .tv-button--primary:hover,html.theme-dark .tv-button--primary_ghost:hover{border-color:#1e53e5}}html.theme-dark .tv-button--primary.i-hover,html.theme-dark .tv-button--primary_ghost.i-hover{color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--primary:hover,html.theme-dark .tv-button--primary_ghost:hover{color:#fff}}.tv-button--primary_ghost .tv-button__loader-item,html.theme-dark .tv-button--primary_ghost .tv-button__loader-item{background-color:#1e53e5}.tv-button--primary_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--primary_ghost:hover .tv-button__loader-item{background-color:#fff}}html.theme-dark .tv-button--primary_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--primary_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--secondary,.tv-button--secondary_ghost,a.tv-button--secondary:visited{background-color:#e9eff2;border-color:#e9eff2;color:#757575}.tv-button--secondary_ghost{color:#757575}.tv-button--secondary_ghost.i-checked{background-color:#e9eff2;border-color:#e9eff2;color:#757575}.tv-button--secondary.i-active,.tv-button--secondary:active,.tv-button--secondary_ghost.i-active,.tv-button--secondary_ghost:active{background-color:#cfdce3;border-color:#cfdce3;color:#757575;transform:translateY(1px)}.tv-button--secondary.i-hover,.tv-button--secondary_ghost.i-hover{background-color:#dce6ea;border-color:#dce6ea;color:#757575}@media (any-hover:hover){.tv-button--secondary:hover,.tv-button--secondary_ghost:hover{background-color:#dce6ea;border-color:#dce6ea;color:#757575}}.tv-button--secondary_ghost .tv-button__loader-item{background-color:#dce6ea}.tv-button--secondary_ghost.i-hover .tv-button__loader-item{background-color:#757575}@media (any-hover:hover){.tv-button--secondary_ghost:hover .tv-button__loader-item{background-color:#757575}}.tv-button--success,.tv-button--success_ghost,a.tv-button--success:visited{background-color:#089981;border-color:#089981;color:#fff}html.theme-dark .tv-button--success,html.theme-dark .tv-button--success_ghost,html.theme-dark a.tv-button--success:visited{background-color:#056656;border-color:#056656;color:#fff}.tv-button--success_ghost{color:#089981}html.theme-dark .tv-button--success_ghost{color:#056656}.tv-button--success_ghost.i-checked{background-color:#089981;border-color:#089981;color:#fff}html.theme-dark .tv-button--success_ghost.i-checked{background-color:#056656;border-color:#056656;color:#fff}.tv-button--success.i-active,.tv-button--success:active,.tv-button--success_ghost.i-active,.tv-button--success_ghost:active{background-color:#056656;border-color:#056656;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--success.i-active,html.theme-dark .tv-button--success:active,html.theme-dark .tv-button--success_ghost.i-active,html.theme-dark .tv-button--success_ghost:active{background-color:#089981;border-color:#089981;color:#fff}.tv-button--success.i-hover,.tv-button--success_ghost.i-hover{background-color:#06806b;border-color:#06806b;color:#fff}@media (any-hover:hover){.tv-button--success:hover,.tv-button--success_ghost:hover{background-color:#06806b;border-color:#06806b;color:#fff}}html.theme-dark .tv-button--success.i-hover,html.theme-dark .tv-button--success_ghost.i-hover{background-color:#06806b}@media (any-hover:hover){html.theme-dark .tv-button--success:hover,html.theme-dark .tv-button--success_ghost:hover{background-color:#06806b}}html.theme-dark .tv-button--success.i-hover,html.theme-dark .tv-button--success_ghost.i-hover{border-color:#06806b}@media (any-hover:hover){html.theme-dark .tv-button--success:hover,html.theme-dark .tv-button--success_ghost:hover{border-color:#06806b}}html.theme-dark .tv-button--success.i-hover,html.theme-dark .tv-button--success_ghost.i-hover{color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--success:hover,html.theme-dark .tv-button--success_ghost:hover{color:#fff}}.tv-button--success_ghost .tv-button__loader-item,html.theme-dark .tv-button--success_ghost .tv-button__loader-item{background-color:#06806b}.tv-button--success_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--success_ghost:hover .tv-button__loader-item{background-color:#fff}}html.theme-dark .tv-button--success_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--success_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--danger,.tv-button--danger_ghost,a.tv-button--danger:visited{background-color:#f7525f;border-color:#f7525f;color:#fff}html.theme-dark .tv-button--danger,html.theme-dark .tv-button--danger_ghost,html.theme-dark a.tv-button--danger:visited{background-color:#b22833;border-color:#b22833;color:#fff}.tv-button--danger_ghost{color:#f7525f}html.theme-dark .tv-button--danger_ghost{color:#b22833}.tv-button--danger_ghost.i-checked{background-color:#f7525f;border-color:#f7525f;color:#fff}html.theme-dark .tv-button--danger_ghost.i-checked{background-color:#b22833;border-color:#b22833;color:#fff}.tv-button--danger.i-active,.tv-button--danger:active,.tv-button--danger_ghost.i-active,.tv-button--danger_ghost:active{background-color:#b22833;border-color:#b22833;color:#fff;transform:translateY(1px)}html.theme-dark .tv-button--danger.i-active,html.theme-dark .tv-button--danger:active,html.theme-dark .tv-button--danger_ghost.i-active,html.theme-dark .tv-button--danger_ghost:active{background-color:#f23645;border-color:#f23645;color:#fff}.tv-button--danger.i-hover,.tv-button--danger_ghost.i-hover{background-color:#cc2f3c;border-color:#cc2f3c;color:#fff}@media (any-hover:hover){.tv-button--danger:hover,.tv-button--danger_ghost:hover{background-color:#cc2f3c;border-color:#cc2f3c;color:#fff}}html.theme-dark .tv-button--danger.i-hover,html.theme-dark .tv-button--danger_ghost.i-hover{background-color:#cc2f3c}@media (any-hover:hover){html.theme-dark .tv-button--danger:hover,html.theme-dark .tv-button--danger_ghost:hover{background-color:#cc2f3c}}html.theme-dark .tv-button--danger.i-hover,html.theme-dark .tv-button--danger_ghost.i-hover{border-color:#cc2f3c}@media (any-hover:hover){html.theme-dark .tv-button--danger:hover,html.theme-dark .tv-button--danger_ghost:hover{border-color:#cc2f3c}}html.theme-dark .tv-button--danger.i-hover,html.theme-dark .tv-button--danger_ghost.i-hover{color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--danger:hover,html.theme-dark .tv-button--danger_ghost:hover{color:#fff}}.tv-button--danger_ghost .tv-button__loader-item,html.theme-dark .tv-button--danger_ghost .tv-button__loader-item{background-color:#cc2f3c}.tv-button--danger_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--danger_ghost:hover .tv-button__loader-item{background-color:#fff}}html.theme-dark .tv-button--danger_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){html.theme-dark .tv-button--danger_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--warning,.tv-button--warning_ghost,a.tv-button--warning:visited{background-color:#f89e30;border-color:#f89e30;color:#fff}.tv-button--warning_ghost{color:#f89e30}.tv-button--warning_ghost.i-checked{background-color:#f89e30;border-color:#f89e30;color:#fff}.tv-button--warning.i-active,.tv-button--warning:active,.tv-button--warning_ghost.i-active,.tv-button--warning_ghost:active{background-color:#d47807;border-color:#d47807;color:#fff;transform:translateY(1px)}.tv-button--warning.i-hover,.tv-button--warning_ghost.i-hover{background-color:#f79217;border-color:#f79217;color:#fff}@media (any-hover:hover){.tv-button--warning:hover,.tv-button--warning_ghost:hover{background-color:#f79217;border-color:#f79217;color:#fff}}.tv-button--warning_ghost .tv-button__loader-item{background-color:#f79217}.tv-button--warning_ghost.i-hover .tv-button__loader-item{background-color:#fff}@media (any-hover:hover){.tv-button--warning_ghost:hover .tv-button__loader-item{background-color:#fff}}.tv-button--link{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-button--link{color:#2962ff}.tv-button--link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-button--link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-button--link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-button--link:hover{fill:#1e53e5;color:#1e53e5}}.tv-button--link:focus{outline:auto}.tv-button--link:focus:not(:-moz-focusring){outline:none}.tv-button--link:-moz-focusring{outline:auto}.tv-button--link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-button--link:active{fill:#1848cc;color:#1848cc}.tv-button--danger_ghost,.tv-button--default_ghost,.tv-button--primary_ghost,.tv-button--secondary_ghost,.tv-button--success_ghost,.tv-button--warning_ghost{background-color:initial;border-style:solid;border-width:1px}html.theme-dark .tv-button--danger_ghost,html.theme-dark .tv-button--default_ghost,html.theme-dark .tv-button--primary_ghost,html.theme-dark .tv-button--secondary_ghost,html.theme-dark .tv-button--success_ghost,html.theme-dark .tv-button--warning_ghost{background-color:initial}.tv-button--danger_ghost.tv-button--size_large,.tv-button--default_ghost.tv-button--size_large,.tv-button--primary_ghost.tv-button--size_large,.tv-button--secondary_ghost.tv-button--size_large,.tv-button--success_ghost.tv-button--size_large,.tv-button--warning_ghost.tv-button--size_large{border-width:2px}.tv-button--danger_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--default_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--primary_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--secondary_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--success_ghost.tv-button--size_large.tv-button--thin-border,.tv-button--warning_ghost.tv-button--size_large.tv-button--thin-border{border-width:1px}.tv-button .tv-ripple{background-color:#ffffff40}.tv-button--default .tv-ripple,.tv-button--default_ghost .tv-ripple{background-color:#75869640}.tv-button.i-disabled .tv-ripple{background-color:initial}.tv-button.i-disabled,.tv-button.i-disabled:active,.tv-button:disabled,.tv-button:disabled:active{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be;cursor:default}@media (any-hover:hover){.tv-button.i-disabled:hover,.tv-button:disabled:hover{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be;cursor:default}}html.theme-dark .tv-button.i-disabled,html.theme-dark .tv-button.i-disabled:active,html.theme-dark .tv-button:disabled,html.theme-dark .tv-button:disabled:active{background-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{background-color:#363a45}}html.theme-dark .tv-button.i-disabled,html.theme-dark .tv-button.i-disabled:active,html.theme-dark .tv-button:disabled,html.theme-dark .tv-button:disabled:active{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{border-color:#363a45}}html.theme-dark .tv-button.i-disabled,html.theme-dark .tv-button.i-disabled:active,html.theme-dark .tv-button:disabled,html.theme-dark .tv-button:disabled:active{color:#50535e}@media (any-hover:hover){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{color:#50535e}}.tv-button.i-disabled:active,.tv-button:disabled:active{transform:translateY(0)}.tv-button--size_xsmall{border-radius:1px;font-size:11px;font-weight:400;line-height:15px;padding:2px 7px}.tv-button--size_xsmall.tv-button--danger_ghost,.tv-button--size_xsmall.tv-button--default,.tv-button--size_xsmall.tv-button--default_ghost,.tv-button--size_xsmall.tv-button--primary_ghost,.tv-button--size_xsmall.tv-button--secondary_ghost,.tv-button--size_xsmall.tv-button--state,.tv-button--size_xsmall.tv-button--success_ghost,.tv-button--size_xsmall.tv-button--warning_ghost{padding:1px 6px}.tv-button--size_xsmall+.tv-button--size_xsmall{margin-right:10px}.tv-button--size_small{font-size:13px;line-height:25px;padding:1px 12px}.tv-button--size_small.tv-button--danger_ghost,.tv-button--size_small.tv-button--default,.tv-button--size_small.tv-button--default_ghost,.tv-button--size_small.tv-button--primary_ghost,.tv-button--size_small.tv-button--secondary_ghost,.tv-button--size_small.tv-button--state,.tv-button--size_small.tv-button--success_ghost,.tv-button--size_small.tv-button--warning_ghost{padding:0 11px}.tv-button--size_small+.tv-button--size_small{margin-right:10px}.tv-button--size_large{font-size:17px;line-height:44px;padding:1px 30px}.tv-button--size_large.tv-button--danger_ghost,.tv-button--size_large.tv-button--default,.tv-button--size_large.tv-button--default_ghost,.tv-button--size_large.tv-button--primary_ghost,.tv-button--size_large.tv-button--secondary_ghost,.tv-button--size_large.tv-button--state,.tv-button--size_large.tv-button--success_ghost,.tv-button--size_large.tv-button--warning_ghost{padding:0 29px}.tv-button--size_promo{border-radius:120px;font-size:24px;line-height:54px;padding:1px 40px}.tv-button--size_promo.tv-button--danger_ghost,.tv-button--size_promo.tv-button--default,.tv-button--size_promo.tv-button--default_ghost,.tv-button--size_promo.tv-button--primary_ghost,.tv-button--size_promo.tv-button--secondary_ghost,.tv-button--size_promo.tv-button--state,.tv-button--size_promo.tv-button--success_ghost,.tv-button--size_promo.tv-button--warning_ghost{padding:0 39px}.tv-button--no-padding{padding:1px}.tv-button--no-padding.tv-button--danger_ghost,.tv-button--no-padding.tv-button--default,.tv-button--no-padding.tv-button--default_ghost,.tv-button--no-padding.tv-button--primary_ghost,.tv-button--no-padding.tv-button--secondary_ghost,.tv-button--no-padding.tv-button--state,.tv-button--no-padding.tv-button--success_ghost,.tv-button--no-padding.tv-button--warning_ghost{padding:0}.tv-button--state{background:#0000;border-style:solid;border-width:1px;text-align:center}html.theme-dark .tv-button--state{background:#0000}.tv-button--state:after{content:"";display:inline-block}.tv-button--state__checked,.tv-button--state__uncheck-hint,.tv-button--state__unchecked{display:block;height:0;transition:opacity .2625s ease,transform .2625s ease}.tv-button--state__ellipsis-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__checked,.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint,.tv-button--state.i-checked:hover .tv-button--state__unchecked{will-change:opacity,transform}}.tv-button--state.i-checked .tv-button--state__unchecked,.tv-button--state__checked,.tv-button--state__uncheck-hint{opacity:0}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__checked{opacity:0}}.tv-button--state.i-checked .tv-button--state__checked,.tv-button--state__unchecked{opacity:1}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{opacity:1}.tv-button--state.i-checked:hover .tv-button--state__checked{transform:translateY(-5px)}}.tv-button--state.i-checked .tv-button--state__unchecked,.tv-button--state__checked,.tv-button--state__uncheck-hint{transform:translateY(5px)}.tv-button--state.i-checked .tv-button--state__checked{transform:translateY(0)}@media (any-hover:hover){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{transform:translateY(0)}}.tv-button--state.tv-button--success{background-color:initial;color:#089981}html.theme-dark .tv-button--state.tv-button--success{background-color:initial;color:#056656}.tv-button--state.tv-button--success.i-checked{background-color:#089981;color:#fff}html.theme-dark .tv-button--state.tv-button--success.i-checked{background-color:#056656;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--success:hover{background-color:#06806b;color:#fff}html.theme-dark .tv-button--state.tv-button--success:hover{background-color:#06806b;color:#fff}}.tv-button--state.tv-button--success:active{background-color:#056656;color:#fff}html.theme-dark .tv-button--state.tv-button--success:active{background-color:#089981;color:#fff}.tv-button--state.tv-button--danger{background-color:initial;color:#f7525f}html.theme-dark .tv-button--state.tv-button--danger{background-color:initial;color:#b22833}.tv-button--state.tv-button--danger.i-checked{background-color:#ff4a68;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--danger:hover{background-color:#f24965;color:#fff}}.tv-button--state.tv-button--danger:active{background-color:#ff173e;color:#fff}.tv-button--state.tv-button--primary{background-color:initial;color:#2962ff}html.theme-dark .tv-button--state.tv-button--primary{background-color:initial;color:#2962ff}.tv-button--state.tv-button--primary.i-checked{background-color:#2962ff;color:#fff}html.theme-dark .tv-button--state.tv-button--primary.i-checked{background-color:#2962ff;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--primary:hover{background-color:#1e53e5;color:#fff}html.theme-dark .tv-button--state.tv-button--primary:hover{background-color:#1e53e5;color:#fff}}.tv-button--state.tv-button--primary:active{background-color:#1848cc;color:#fff}html.theme-dark .tv-button--state.tv-button--primary:active{background-color:#1848cc;color:#fff}.tv-button--state.tv-button--primary_ghost-hover.i-checked{background-color:initial;color:#2962ff}html.theme-dark .tv-button--state.tv-button--primary_ghost-hover.i-checked{background-color:initial;color:#2962ff}@media (any-hover:hover){.tv-button--state.tv-button--primary_ghost-hover:hover{background-color:#1e53e5;color:#fff}html.theme-dark .tv-button--state.tv-button--primary_ghost-hover:hover{background-color:#1e53e5;color:#fff}}.tv-button--state.tv-button--primary_ghost-hover:active{background-color:#1848cc;color:#fff}html.theme-dark .tv-button--state.tv-button--primary_ghost-hover:active{background-color:#1848cc;color:#fff}.tv-button--state.tv-button--secondary{background-color:initial;color:#757575}.tv-button--state.tv-button--secondary.i-checked{background-color:#e9eff2;color:#757575}@media (any-hover:hover){.tv-button--state.tv-button--secondary:hover{background-color:#dce6ea;color:#757575}}.tv-button--state.tv-button--secondary:active{background-color:#cfdce3;color:#757575}.tv-button--state.tv-button--warning{background-color:initial;color:#f89e30}.tv-button--state.tv-button--warning.i-checked{background-color:#f89e30;color:#fff}@media (any-hover:hover){.tv-button--state.tv-button--warning:hover{background-color:#f79217;color:#fff}}.tv-button--state.tv-button--warning:active{background-color:#d47807;color:#fff}.tv-button--state.tv-button--icon-with-text svg{margin-bottom:-8px;margin-left:6px;vertical-align:unset}.tv-button--icon{align-items:center;display:inline-flex;height:34px;justify-content:center;min-width:auto;padding:0!important;width:34px}.tv-button--icon.tv-button--size_xsmall{height:19px;width:19px}.tv-button--icon.tv-button--size_small{height:27px;width:27px}.tv-button--icon.tv-button--size_large{height:46px;width:46px}.tv-button__icon{display:flex;margin-left:7px}.tv-button--loader .tv-button__text{transition:opacity .175s ease,transform .175s ease}.tv-button--loader.i-start-load .tv-button__text{opacity:0;transform:translateY(-5px)}.tv-button--loader.i-loading .tv-button__text{opacity:0;transform:translateY(5px)}.tv-button--loader.i-stop-load .tv-button__text{opacity:1;transform:translateY(0);transition-delay:.175s}.tv-button__loader{bottom:0;font-size:0;height:100%;left:0;margin:0 auto;opacity:0;position:absolute;right:0;text-align:center;top:0;transition:opacity .35s ease}.tv-button__loader:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-button--loader.i-loading .tv-button__loader,.tv-button--loader.i-start-load .tv-button__loader{opacity:1}.tv-button--loader.i-stop-load .tv-button__loader{opacity:0}.tv-button__loader-item{background-color:#fff;border-radius:100%;display:inline-block;height:10px;margin-left:2px;margin-right:2px;opacity:0;transform:translateY(12px) scale(.6);transition:transform .35s cubic-bezier(.68,-.55,.265,1.55),opacity .35s ease;vertical-align:middle;width:10px}.tv-button__loader-item:nth-child(2){transition-delay:.11666667s}.tv-button__loader-item:nth-child(3){transition-delay:.23333333s}.tv-button--default .tv-button__loader-item{background-color:#757575}.tv-button--loader.i-loading .tv-button__loader-item,.tv-button--loader.i-start-load .tv-button__loader-item{opacity:1}.tv-button--loader.i-stop-load .tv-button__loader-item{opacity:0}.tv-button--loader.i-loading .tv-button__loader-item,.tv-button--loader.i-start-load .tv-button__loader-item,.tv-button--loader.i-stop-load .tv-button__loader-item{transform:translateY(0) scale(.6)}.tv-button--loader.i-loading .tv-button__loader-item,.tv-button--loader.i-stop-load .tv-button__loader-item{animation:tv-button-loader .96s ease-in-out infinite both}.tv-button--loader.i-loading .tv-button__loader-item:nth-child(2),.tv-button--loader.i-stop-load .tv-button__loader-item:nth-child(2){animation-delay:.151s}.tv-button--loader.i-loading .tv-button__loader-item:nth-child(3),.tv-button--loader.i-stop-load .tv-button__loader-item:nth-child(3){animation-delay:.32s}.tv-button--no-border-radius{border-radius:0}.tv-button--no-border{border:none}.tv-button--connect{border-radius:0}.tv-button--connect_left{border-bottom-right-radius:0;border-top-right-radius:0}.tv-button--connect_right{border-bottom-left-radius:0;border-top-left-radius:0}.tv-button--with-icon{align-items:center;display:inline-flex;transform:translate(0)}@keyframes tv-button-loader{0%,to{transform:scale(.6)}50%{transform:scale(.9)}} \ No newline at end of file diff --git a/charting_library/bundles/5096c47e88bb219a61b3192d3f3ee85c.svg b/charting_library/bundles/5096c47e88bb219a61b3192d3f3ee85c.svg new file mode 100644 index 00000000..20bf8a45 --- /dev/null +++ b/charting_library/bundles/5096c47e88bb219a61b3192d3f3ee85c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5097be3164fb04ace2889628055b01cb.webp b/charting_library/bundles/5097be3164fb04ace2889628055b01cb.webp new file mode 100644 index 0000000000000000000000000000000000000000..a77b8b21eaf4c0931f8e13cdf94fba71d7b83371 GIT binary patch literal 53448 zcma&NQ;;r9uq-;ZZQHhOn`>-)W{qvHv2EM7ZQJ&I_uu>V#yN4`Iy*YDD(a;oBePYc zB_#Uifq*o{MU*s@xQLqnJ12yL<^aC_-;AE&MUp0C0c>YvRN4udzJ;Nl(jvz>Q0NTG4Py(R*CVa2!{}SPS z1N7SOLH_Q2#7{Zg0|37@fT^Fhx0)Z(U&!CP=e<6FFyRm&&0iV-{(1K^_uID_|0URw z2jt%em<1es72P|0O1>k$?H%?0{C@MZ0xn-50P?>!0Eae<%CdaO9RJ_F9l;2|z2S@h zGobPZ@E!?}{mA$NyaEH>w)TnvlYozpp^v=Jz4l(w-^fqFFTk3QC*UmAKMQa-Gj|JE z1U#IFNBT>!Vf=dirY*=w@>%>aipKk}fdcNx7y+NB&tGG(0DPpq_je5c3t;}6#Cf0U z!Axy@$j)i%lK%^sb#*1UVk%9sBmbXA{g?Hn|0IQPn_#R=|M&j?1uVw@Z;ehG_kfc13DWf3jatM(jzC3j3C;+wjU-vFL zNOI3_nA#^c2W%4<3z0$WUH!w(GP~6)OodgqBS$N@o8^#UN$`2-7@d$%LGg zz8gKmCEF|{y|FLdpjbgBv~lB@;3$uTdKSX3U0RRtUa1Fe7?tG6mkep|4-9swD%FC3VL2uUvD9w=7gR=7h4FxnlTl%-Q^fz;$(~UX;)UBqRu(!<3I4bB#MfkRPBP%lTa7kQ zn#IbEO?{b|AsR=LFK-o?4nh_!gmYAuGVBB0t$&7{W}c3hMNnlRnMo>7!y4esrOL`= z%9O6L#f2%)F$L+gjyQj7Ua$K{KCrf)i4J?HQAfoEx|junE9qc7kHARK$&2K;+xV=l zS6ky@P3W^-xrutalc?XZhYFcG@wu!2a=n6VZ0<*VruZ&Y7Q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3F zMQ=+oj#@wg4Bp~PrkVF1%E}P0_20j`psE?0I6$q!gFL^+g^P#+u?sG2lIAyYBqMAZyhhvlJT3r?3eN5e2W|$om-bRDBH=`(;>PuV^{IpEP#U;>U--p&W!)5if-r8Jkl8PFl+Q5HQn86jM5&jEdoqVd|ijjsFDFzH!V0jm$ zu%(;@GoX=^H};AJm?oY@tTF?Tj=8Wjp}zN`@_OnF#L-gF<@9RJ8Yo=^QUiMlqT0BW zTI~luCHCjHGyD?yp}2__mRf)#uwzHEZ1mp0pDnjE1WfNoFf=t{SpurTk^tgDgc}{1 zu`HqK50fiAkGl?F2;TC7$=!_(*R0B{eef29hjE6Px*IHBUkV8(CF0`GR1OE54Q6;r zfhW3i9Lwe^lMC$ab%H`L;sbcB5mZz`0%F5r-;;MKyLl{}z+Nk-9PpBuzv`2g;0a`d zWgO0T@}2@*_^gK5gcV@^uKqQnf4iRr{c&H=1qy+5_GAwvpCQ+l4oIK#cGeUIox7X$ z&iP>t#Pf|oz?}zDX;MK>THb(Qp43|k;d+Je5rXn~2egaXv}7IaPJrq?sLmiZ@UNfo z=H?iW6WNn<|1kRR%>X9NiWwpN1R;#~l-kgfAHObKNT+(Q? zPw9xMo{o43=V=V(kj?sJIzWgVdGuTq#6n$4ukQae&Es@8u7XjF9!{2%01Dt&NTBU= z-6tF7#1Qy9KGTIhZ?p{#ITF$;V6QQO?P&+ZF9kxvuM*Ihf{&W|>wCtYBJxC+--&G= zi1C!Y6E&@@kUoX1oTAH8zr;glQ2b=f?4W<-#bi&_)x=epzfZ^$v{M)aGqc#=A$1ke a`VGa67|AAa8EC}e5XY03JngZ#h5!J2Dj9 \ No newline at end of file diff --git a/charting_library/bundles/5212daa031fa87a8a8ff5860132af72a.jpeg b/charting_library/bundles/5212daa031fa87a8a8ff5860132af72a.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..5845273c0e72e5ac21baa0defcf3bf00358e80c9 GIT binary patch literal 55290 zcmd41XH-*L*e<#-YHWaAlt5HOL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YX3R*+={-qYC$6nBcUFtIjJ6nKPQ)1CyZ0!O3^N}q&p z&1=bTtQLjzy>`n3G#fbSliuMCqP5y!L#VCl!O3XLCqU-yzmGR^xj6eHwz_tSR7EhFi{Ct&=;udrc|Cq`ov3Hcd48Dx}qbD)` z)TM}6l9|?TytHi5)MIorzUv|-EufMx#N`>fVmoobnSwz7cfqr9dt@qMgR zMK30j977~zV+Yh`j+K>n! zwY2+uMxuJ{Qq!LUJrt8hXuxb$qYY_2lYC%P!X0l65OkzVT`A)L-*irYca2uvw_N)d z?LHuYj0Z(Ru(?-fbz*JQwD}EWVl0^RT%O~IcDGVI+>;OTRH{gG|1o6Z&M103c8mi!^$@N(=jJ^>m)}N$Vv@QVjX@+qI4{25 zw{-J9XApC*58c+?c=e9AXFCcM53sy?%T01{`ow^&z$G6SokJvt2=EkhJBKR@H@4(; z%&??|iNODdw|Z66Y=Qs*D>KNPeX#9|Z#^Vw z{2a|%6wFyVd#^!V(_Jc{=9U5Skdo2&<2Wd-_2fTTzuCluK^wYe6 z;p7!hAgBzw2^=>)f5`+#@~EIR*W-@@mVtu@X)ytus7u#nCY)&mPR8AYkQm566TdhD z{f@x;fM20^etS2f2rB!eR|T@4G`tts>G~CuY0{9smo)h!0Iya(x@vExi<*9tJI-bl z8QZRt*l;Nlx4Iw`R9ZYag3XBLHK#c)U)x|tBUcFn1oEn7`?3(gB8rEMmmeEN<+&O& z8pmuBkcsjtp1*kZz1khiZxE7dv^)5ao>q(=uR-RJ!LKa@zXhc)lkxGt@DdUvvGoK9 zdWuLUDs(|Ed_Cb=2kf69t6x*^Aj \ No newline at end of file diff --git a/charting_library/bundles/5298.90af5ad1a39fe163f644.css b/charting_library/bundles/5298.90af5ad1a39fe163f644.css new file mode 100644 index 00000000..b84ef5d0 --- /dev/null +++ b/charting_library/bundles/5298.90af5ad1a39fe163f644.css @@ -0,0 +1 @@ +.row-9XF0QIKT{grid-gap:12px;display:grid;grid-template-columns:150px 100px;margin-bottom:16px;padding-left:20px;padding-right:20px}.mobileRow-9XF0QIKT{justify-content:flex-start;padding-left:20px}.tooltip-QKiUU4Ng{background-color:#2a2e39;border-radius:2px;color:#f0f3fa;padding:4px 8px;white-space:nowrap}html.theme-dark .tooltip-QKiUU4Ng{background-color:#434651}.container-tZN1pb1A{display:inline-block;position:relative}.icon-tZN1pb1A{color:var(--ui-lib-control-default-slot-color,currentColor);font-size:0}.tooltip-tZN1pb1A{bottom:calc(100% + 4px);left:50%;pointer-events:none;position:absolute;transform:translateX(-50%)}.date-tZN1pb1A{max-width:150px}.time-tZN1pb1A{max-width:100px}.calendar-wVs9kh0I{margin-left:8px;margin-right:8px;padding-bottom:15px;padding-top:1px}.dialogWrapper-70bfoXiO{min-width:302px}.dialogWrapperSmall-70bfoXiO{max-width:419px;width:100%}.tabs-70bfoXiO{padding-top:1px}.content-70bfoXiO{overflow:auto;padding-top:17px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .content-70bfoXiO{scrollbar-color:#363a45 #0000}.content-70bfoXiO::-webkit-scrollbar{height:5px;width:5px}.content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-70bfoXiO::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-70bfoXiO::-webkit-scrollbar-corner{display:none}.contentMobile-70bfoXiO{display:flex;flex-direction:column;flex-grow:1}.bodyWrapper-70bfoXiO{flex:0 1 201px} \ No newline at end of file diff --git a/charting_library/bundles/5298.90af5ad1a39fe163f644.rtl.css b/charting_library/bundles/5298.90af5ad1a39fe163f644.rtl.css new file mode 100644 index 00000000..06c75baf --- /dev/null +++ b/charting_library/bundles/5298.90af5ad1a39fe163f644.rtl.css @@ -0,0 +1 @@ +.row-9XF0QIKT{grid-gap:12px;display:grid;grid-template-columns:150px 100px;margin-bottom:16px;padding-left:20px;padding-right:20px}.mobileRow-9XF0QIKT{justify-content:flex-start;padding-right:20px}.tooltip-QKiUU4Ng{background-color:#2a2e39;border-radius:2px;color:#f0f3fa;padding:4px 8px;white-space:nowrap}html.theme-dark .tooltip-QKiUU4Ng{background-color:#434651}.container-tZN1pb1A{display:inline-block;position:relative}.icon-tZN1pb1A{color:var(--ui-lib-control-default-slot-color,currentColor);font-size:0}.tooltip-tZN1pb1A{bottom:calc(100% + 4px);pointer-events:none;position:absolute;right:50%;transform:translateX(50%)}.date-tZN1pb1A{max-width:150px}.time-tZN1pb1A{max-width:100px}.calendar-wVs9kh0I{margin-left:8px;margin-right:8px;padding-bottom:15px;padding-top:1px}.dialogWrapper-70bfoXiO{min-width:302px}.dialogWrapperSmall-70bfoXiO{max-width:419px;width:100%}.tabs-70bfoXiO{padding-top:1px}.content-70bfoXiO{overflow:auto;padding-top:17px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .content-70bfoXiO{scrollbar-color:#363a45 #0000}.content-70bfoXiO::-webkit-scrollbar{height:5px;width:5px}.content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-70bfoXiO::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-70bfoXiO::-webkit-scrollbar-corner{display:none}.contentMobile-70bfoXiO{display:flex;flex-direction:column;flex-grow:1}.bodyWrapper-70bfoXiO{flex:0 1 201px} \ No newline at end of file diff --git a/charting_library/bundles/52be2cab70919abd4ba4dffefe331384.svg b/charting_library/bundles/52be2cab70919abd4ba4dffefe331384.svg new file mode 100644 index 00000000..81fc5036 --- /dev/null +++ b/charting_library/bundles/52be2cab70919abd4ba4dffefe331384.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/52d1261e628f634b5e62c0d6071d82c1.svg b/charting_library/bundles/52d1261e628f634b5e62c0d6071d82c1.svg new file mode 100644 index 00000000..1107bb51 --- /dev/null +++ b/charting_library/bundles/52d1261e628f634b5e62c0d6071d82c1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/52d36f2ef75daabe5d00dc144cc9d4d6.svg b/charting_library/bundles/52d36f2ef75daabe5d00dc144cc9d4d6.svg new file mode 100644 index 00000000..289f06d8 --- /dev/null +++ b/charting_library/bundles/52d36f2ef75daabe5d00dc144cc9d4d6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5376.2aa38050f70a10c75dee.js b/charting_library/bundles/5376.2aa38050f70a10c75dee.js new file mode 100644 index 00000000..81619950 --- /dev/null +++ b/charting_library/bundles/5376.2aa38050f70a10c75dee.js @@ -0,0 +1,5 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5376],{77034:function(e,r,n){var i;i=function(){var e=!0;function r(r){function n(e){var n=r.match(e);return n&&n.length>1&&n[1]||""}function i(e){var n=r.match(e);return n&&n.length>1&&n[2]||""}var t,o=n(/(ipod|iphone|ipad)/i).toLowerCase(),a=!/like android/i.test(r)&&/android/i.test(r),d=/nexus\s*[0-6]\s*/i.test(r),c=!d&&/nexus\s*[0-9]+/i.test(r),u=/CrOS/.test(r),p=/silk/i.test(r),l=/sailfish/i.test(r),h=/tizen/i.test(r),f=/(web|hpw)(o|0)s/i.test(r),m=/windows phone/i.test(r),v=(/SamsungBrowser/i.test(r),!m&&/windows/i.test(r)),w=!o&&!p&&/macintosh/i.test(r),b=!a&&!l&&!h&&!f&&/linux/i.test(r),g=i(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),y=n(/version\/(\d+(\.\d+)?)/i),k=/tablet/i.test(r)&&!/tablet pc/i.test(r),x=!k&&/[^-]mobi/i.test(r),S=/xbox/i.test(r);/opera/i.test(r)?t={name:"Opera",opera:e,version:y||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(r)?t={name:"Opera",opera:e,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||y}:/SamsungBrowser/i.test(r)?t={name:"Samsung Internet for Android",samsungBrowser:e,version:y||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(r)?t={name:"NAVER Whale browser",whale:e,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(r)?t={name:"MZ Browser",mzbrowser:e,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(r)?t={name:"Opera Coast",coast:e,version:y||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(r)?t={name:"Focus",focus:e,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(r)?t={name:"Yandex Browser",yandexbrowser:e,version:y||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(r)?t={name:"UC Browser",ucbrowser:e,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(r)?t={name:"Maxthon",maxthon:e,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(r)?t={name:"Epiphany",epiphany:e,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(r)?t={name:"Puffin",puffin:e,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(r)?t={name:"Sleipnir",sleipnir:e,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(r)?t={name:"K-Meleon",kMeleon:e,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:m?(t={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},g?(t.msedge=e,t.version=g):(t.msie=e,t.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(r)?t={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?t={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(r)?t={name:"Microsoft Edge",msedge:e,version:g}:/vivaldi/i.test(r)?t={name:"Vivaldi",vivaldi:e,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||y}:l?t={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(r)?t={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(r)?(t={name:"Firefox",firefox:e, +version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(r)&&(t.firefoxos=e,t.osname="Firefox OS")):p?t={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(r)?t={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(r)?t={name:"SlimerJS",slimer:e,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(r)||/rim\stablet/i.test(r)?t={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:y||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:f?(t={name:"WebOS",osname:"WebOS",webos:e,version:y||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(r)&&(t.touchpad=e)):/bada/i.test(r)?t={name:"Bada",osname:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:h?t={name:"Tizen",osname:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||y}:/qupzilla/i.test(r)?t={name:"QupZilla",qupzilla:e,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||y}:/chromium/i.test(r)?t={name:"Chromium",chromium:e,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||y}:/chrome|crios|crmo/i.test(r)?t={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?t={name:"Android",version:y}:/safari|applewebkit/i.test(r)?(t={name:"Safari",safari:e},y&&(t.version=y)):o?(t={name:"iphone"==o?"iPhone":"ipad"==o?"iPad":"iPod"},y&&(t.version=y)):t=/googlebot/i.test(r)?{name:"Googlebot",googlebot:e,version:n(/googlebot\/(\d+(\.\d+))/i)||y}:{name:n(/^(.*)\/(.*) /),version:i(/^(.*)\/(.*) /)},!t.msedge&&/(apple)?webkit/i.test(r)?(/(apple)?webkit\/537\.36/i.test(r)?(t.name=t.name||"Blink",t.blink=e):(t.name=t.name||"Webkit",t.webkit=e),!t.version&&y&&(t.version=y)):!t.opera&&/gecko\//i.test(r)&&(t.name=t.name||"Gecko",t.gecko=e,t.version=t.version||n(/gecko\/(\d+(\.\d+)?)/i)),t.windowsphone||!a&&!t.silk?!t.windowsphone&&o?(t[o]=e,t.ios=e,t.osname="iOS"):w?(t.mac=e,t.osname="macOS"):S?(t.xbox=e,t.osname="Xbox"):v?(t.windows=e,t.osname="Windows"):b&&(t.linux=e,t.osname="Linux"):(t.android=e,t.osname="Android");var T="";t.windows?T=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):t.windowsphone?T=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):t.mac?T=(T=n(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):o?T=(T=n(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):a?T=n(/android[ \/-](\d+(\.\d+)*)/i):t.webos?T=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):t.blackberry?T=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):t.bada?T=n(/bada\/(\d+(\.\d+)*)/i):t.tizen&&(T=n(/tizen[\/\s](\d+(\.\d+)*)/i)),T&&(t.osversion=T);var B=!t.windows&&T.split(".")[0];return k||c||"ipad"==o||a&&(3==B||B>=4&&!x)||t.silk?t.tablet=e:(x||"iphone"==o||"ipod"==o||a||d||t.blackberry||t.webos||t.bada)&&(t.mobile=e), +t.msedge||t.msie&&t.version>=10||t.yandexbrowser&&t.version>=15||t.vivaldi&&t.version>=1||t.chrome&&t.version>=20||t.samsungBrowser&&t.version>=4||t.whale&&1===s([t.version,"1.0"])||t.mzbrowser&&1===s([t.version,"6.0"])||t.focus&&1===s([t.version,"1.0"])||t.firefox&&t.version>=20||t.safari&&t.version>=6||t.opera&&t.version>=10||t.ios&&t.osversion&&t.osversion.split(".")[0]>=6||t.blackberry&&t.version>=10.1||t.chromium&&t.version>=20?t.a=e:t.msie&&t.version<10||t.chrome&&t.version<20||t.firefox&&t.version<20||t.safari&&t.version<6||t.opera&&t.version<10||t.ios&&t.osversion&&t.osversion.split(".")[0]<6||t.chromium&&t.version<20?t.c=e:t.x=e,t}var n=r("undefined"!=typeof navigator&&navigator.userAgent||"");function i(e){return e.split(".").length}function t(e,r){var n,i=[];if(Array.prototype.map)return Array.prototype.map.call(e,r);for(n=0;n=0;){if(n[0][r]>n[1][r])return 1;if(n[0][r]!==n[1][r])return-1;if(0===r)return 0}}function o(e,i,t){var o=n;"string"==typeof i&&(t=i,i=void 0),void 0===i&&(i=!1),t&&(o=r(t));var a=""+o.version;for(var d in e)if(e.hasOwnProperty(d)&&o[d]){if("string"!=typeof e[d])throw new Error("Browser version in the minVersion map should be a string: "+d+": "+String(e));return s([a,e[d]])<0}return i}return n.test=function(e){for(var r=0;r":">",'"':""","'":"'","/":"/","`":"`","=":"="},u=/\s*/,p=/\s+/,l=/\s*=/,h=/\s*\}/,f=/#|\^|\/|>|\{|&|=|!/;function m(e){this.string=e,this.tail=e,this.pos=0}function v(e,r){this.view=e,this.cache={".":this.view},this.parent=r}function w(){this.cache={}}m.prototype.eos=function(){return""===this.tail},m.prototype.scan=function(e){var r=this.tail.match(e);if(!r||0!==r.index)return"";var n=r[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},m.prototype.scanUntil=function(e){var r,n=this.tail.search(e);switch(n){case-1:r=this.tail,this.tail="";break;case 0:r="";break;default:r=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=r.length,r},v.prototype.push=function(e){return new v(e,this)},v.prototype.lookup=function(e){var r,n=this.cache;if(n.hasOwnProperty(e))r=n[e];else{for(var t,o,a=this,d=!1;a;){ +if(e.indexOf(".")>0)for(r=a.view,t=e.split("."),o=0;null!=r&&o0?t[t.length-1][4]:n;break;default:i.push(r)}return n}(function(e){for(var r,n,i=[],t=0,s=e.length;t"===s?o=this.renderPartial(t,r,n,i):"&"===s?o=this.unescapedValue(t,r):"name"===s?o=this.escapedValue(t,r):"text"===s&&(o=this.rawValue(t)),void 0!==o&&(a+=o);return a},w.prototype.renderSection=function(e,r,t,s){var o=this,a="",d=r.lookup(e[1]);if(d){if(n(d))for(var c=0,u=d.length;c"'`=\/]/g,(function(e){return c[e]}))},e.Scanner=m,e.Context=v,e.Writer=w},r&&"string"!=typeof r.nodeName?s(r):(i=[r],void 0===(t="function"==typeof(n=s)?n.apply(r,i):n)||(e.exports=t))}}]); \ No newline at end of file diff --git a/charting_library/bundles/5380.0fcbeffa9d76b47d7552.css b/charting_library/bundles/5380.0fcbeffa9d76b47d7552.css new file mode 100644 index 00000000..7771a0c2 --- /dev/null +++ b/charting_library/bundles/5380.0fcbeffa9d76b47d7552.css @@ -0,0 +1 @@ +.round-button-p9ma7wH8{align-items:center;background-color:var(--ui-lib-button-color-bg,var(--ui-lib-button-default-color-bg));border-color:var(--ui-lib-button-color-border,var(--ui-lib-button-default-color-border));border-style:solid;box-sizing:border-box;color:var(--ui-lib-button-color-content,var(--ui-lib-button-default-color-content));display:inline-flex;justify-content:center;max-width:100%;position:relative}.round-button-p9ma7wH8:active{transform:translateY(1px)}.round-button-p9ma7wH8:after{border-color:var(--ui-lib-button-color-focus-outline,var(--ui-lib-button-default-color-focus-outline))}.content-p9ma7wH8{align-items:center;display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-brand-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#2962ff}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-bg:#1e53e5}}.color-brand-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-bg:#1848cc}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#fff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}.color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#131722;--ui-lib-button-default-color-bg:#131722}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}}.color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#2962ff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#2962ff}}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}.color-brand-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-bg:#1e53e5}}.color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-bg:#1848cc}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000}.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8,html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}}.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-bg:#1848cc}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#2962ff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}.color-gray-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#363a45;--ui-lib-button-default-color-bg:#363a45}}.color-gray-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}.color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#131722;--ui-lib-button-default-color-bg:#131722}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}}.color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}.color-gray-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#434651;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}}.color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#363a45;--ui-lib-button-default-color-bg:#363a45}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}.color-gray-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#434651;--ui-lib-button-default-color-bg:#0000}}.color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}.color-red-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-bg:#f23645}@media (any-hover:hover){.color-red-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-bg:#cc2f3c}}.color-red-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-bg:#b22833}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#fff}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}.color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#131722;--ui-lib-button-default-color-bg:#131722}@media (any-hover:hover){.color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}}.color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#ffebec;--ui-lib-button-default-color-border:#ffebec;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#331f20;--ui-lib-button-default-color-bg:#331f20}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#f23645}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#f23645}}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#ffebec;--ui-lib-button-default-color-border:#ffebec;--ui-lib-button-default-color-content:#f23645}.color-red-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-red-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-bg:#cc2f3c}}.color-red-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-bg:#b22833}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}.color-red-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000}.color-red-p9ma7wH8.variant-ghost-p9ma7wH8,html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-red-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-bg:#0000}}.color-red-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-bg:#b22833}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#f23645}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}.color-brand-p9ma7wH8,.color-gray-p9ma7wH8,html.theme-dark .color-brand-p9ma7wH8,html.theme-dark .color-gray-p9ma7wH8{--ui-lib-button-default-color-focus-outline:#2962ffcc}.color-red-p9ma7wH8,html.theme-dark .color-red-p9ma7wH8{--ui-lib-button-default-color-focus-outline:#f23645cc}.variant-primary-p9ma7wH8:disabled{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be;transform:none}html.theme-dark .variant-primary-p9ma7wH8:disabled{background-color:#363a45;border-color:#363a45;color:#5d606b}.variant-primary-p9ma7wH8:disabled:after{display:none}.variant-quiet-primary-p9ma7wH8:disabled,html.theme-dark .variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be}.variant-quiet-primary-p9ma7wH8:disabled{transform:none}html.theme-dark .variant-quiet-primary-p9ma7wH8:disabled{background-color:#363a45;border-color:#363a45;color:#5d606b}.variant-quiet-primary-p9ma7wH8:disabled:after{display:none}html.theme-dark .variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be}.variant-secondary-p9ma7wH8:disabled{background-color:initial;border-color:#e0e3eb;color:#b2b5be;transform:none}html.theme-dark .variant-secondary-p9ma7wH8:disabled{background-color:initial;border-color:#363a45;color:#5d606b}.variant-secondary-p9ma7wH8:disabled:after{display:none}html.theme-dark .variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:initial;border-color:#e0e3eb;color:#b2b5be}.variant-ghost-p9ma7wH8:disabled{background-color:initial;border-color:#0000;color:#b2b5be;transform:none}html.theme-dark .variant-ghost-p9ma7wH8:disabled{background-color:initial;border-color:#0000;color:#5d606b}.variant-ghost-p9ma7wH8:disabled:after{display:none}html.theme-dark .variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:initial;border-color:#0000;color:#b2b5be}.size-xsmall-p9ma7wH8{border-radius:14px;border-width:1px;height:28px}.size-xsmall-p9ma7wH8.icon-only-p9ma7wH8{width:28px}.size-xsmall-p9ma7wH8:not(.size-xsmall-p9ma7wH8.icon-only-p9ma7wH8){padding:0 11px}.size-xsmall-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-xsmall-p9ma7wH8:focus{outline:none}.size-xsmall-p9ma7wH8:focus-visible{outline:none}.size-xsmall-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.size-xsmall-p9ma7wH8:focus:after{display:block}.size-xsmall-p9ma7wH8:focus-visible:after{display:block}.size-xsmall-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-xsmall-p9ma7wH8:after{border-radius:18px}.size-small-p9ma7wH8{border-radius:17px;border-width:1px;height:34px}.size-small-p9ma7wH8.icon-only-p9ma7wH8{width:34px}.size-small-p9ma7wH8:not(.size-small-p9ma7wH8.icon-only-p9ma7wH8){padding:0 15px}.size-small-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-small-p9ma7wH8:focus{outline:none}.size-small-p9ma7wH8:focus-visible{outline:none}.size-small-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.size-small-p9ma7wH8:focus:after{display:block}.size-small-p9ma7wH8:focus-visible:after{display:block}.size-small-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-small-p9ma7wH8:after{border-radius:21px}.size-medium-p9ma7wH8{border-radius:20px;border-width:1px;height:40px}.size-medium-p9ma7wH8.icon-only-p9ma7wH8{width:40px}.size-medium-p9ma7wH8:not(.size-medium-p9ma7wH8.icon-only-p9ma7wH8){padding:0 15px}.size-medium-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-medium-p9ma7wH8:focus{outline:none}.size-medium-p9ma7wH8:focus-visible{outline:none}.size-medium-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.size-medium-p9ma7wH8:focus:after{display:block}.size-medium-p9ma7wH8:focus-visible:after{display:block}.size-medium-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-medium-p9ma7wH8:after{border-radius:24px}.size-large-p9ma7wH8{border-radius:24px;border-width:1px;height:48px}.size-large-p9ma7wH8.icon-only-p9ma7wH8{width:48px}.size-large-p9ma7wH8:not(.size-large-p9ma7wH8.icon-only-p9ma7wH8){padding:0 23px}.size-large-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-large-p9ma7wH8:focus{outline:none}.size-large-p9ma7wH8:focus-visible{outline:none}.size-large-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.size-large-p9ma7wH8:focus:after{display:block}.size-large-p9ma7wH8:focus-visible:after{display:block}.size-large-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-large-p9ma7wH8:after{border-radius:28px}.size-xlarge-p9ma7wH8{border-radius:28px;border-width:1px;height:56px}.size-xlarge-p9ma7wH8.icon-only-p9ma7wH8{width:56px}.size-xlarge-p9ma7wH8:not(.size-xlarge-p9ma7wH8.icon-only-p9ma7wH8){padding:0 31px}.size-xlarge-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-xlarge-p9ma7wH8:focus{outline:none}.size-xlarge-p9ma7wH8:focus-visible{outline:none}.size-xlarge-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.size-xlarge-p9ma7wH8:focus:after{display:block}.size-xlarge-p9ma7wH8:focus-visible:after{display:block}.size-xlarge-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-xlarge-p9ma7wH8:after{border-radius:32px}.size-xxlarge-p9ma7wH8{border-radius:40px;border-width:2px;height:80px}.size-xxlarge-p9ma7wH8.icon-only-p9ma7wH8{width:80px}.size-xxlarge-p9ma7wH8:not(.size-xxlarge-p9ma7wH8.icon-only-p9ma7wH8){padding:0 30px}.size-xxlarge-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-xxlarge-p9ma7wH8:focus{outline:none}.size-xxlarge-p9ma7wH8:focus-visible{outline:none}.size-xxlarge-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 12px);left:-6px;pointer-events:none;position:absolute;top:-6px;width:calc(100% + 12px);z-index:1}.size-xxlarge-p9ma7wH8:focus:after{display:block}.size-xxlarge-p9ma7wH8:focus-visible:after{display:block}.size-xxlarge-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-xxlarge-p9ma7wH8:after{border-radius:44px}.size-xsmall-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}.size-small-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400}.size-medium-p9ma7wH8 .content-p9ma7wH8,.size-small-p9ma7wH8 .content-p9ma7wH8{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.size-medium-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:500}.size-large-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.size-xlarge-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600}.size-xlarge-p9ma7wH8 .content-p9ma7wH8,.size-xxlarge-p9ma7wH8 .content-p9ma7wH8{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.size-xxlarge-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:20px;font-style:normal;font-weight:600}.animated-p9ma7wH8{transition-duration:.2s;transition-property:border-color,background-color,color;transition-timing-function:ease-in-out}.animated-p9ma7wH8:after{display:block;opacity:0;transition:opacity .2s ease-in-out,visibility 0s ease-in-out .2s;visibility:hidden}.animated-p9ma7wH8:focus:after{opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.animated-p9ma7wH8:focus-visible:after{opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.animated-p9ma7wH8:focus:not(:focus-visible):after{opacity:0;transition:opacity .2s ease-in-out,visibility 0s ease-in-out .2s;visibility:hidden}.stretch-p9ma7wH8{width:100%} \ No newline at end of file diff --git a/charting_library/bundles/5380.0fcbeffa9d76b47d7552.rtl.css b/charting_library/bundles/5380.0fcbeffa9d76b47d7552.rtl.css new file mode 100644 index 00000000..71f997ac --- /dev/null +++ b/charting_library/bundles/5380.0fcbeffa9d76b47d7552.rtl.css @@ -0,0 +1 @@ +.round-button-p9ma7wH8{align-items:center;background-color:var(--ui-lib-button-color-bg,var(--ui-lib-button-default-color-bg));border-color:var(--ui-lib-button-color-border,var(--ui-lib-button-default-color-border));border-style:solid;box-sizing:border-box;color:var(--ui-lib-button-color-content,var(--ui-lib-button-default-color-content));display:inline-flex;justify-content:center;max-width:100%;position:relative}.round-button-p9ma7wH8:active{transform:translateY(1px)}.round-button-p9ma7wH8:after{border-color:var(--ui-lib-button-color-focus-outline,var(--ui-lib-button-default-color-focus-outline))}.content-p9ma7wH8{align-items:center;display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-brand-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#2962ff}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-bg:#1e53e5}}.color-brand-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-bg:#1848cc}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#fff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-brand-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}.color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#131722;--ui-lib-button-default-color-bg:#131722}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}}.color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#2962ff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#2962ff}}html.theme-dark .color-brand-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}.color-brand-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-bg:#1e53e5}}.color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-bg:#1848cc}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#1e53e5;--ui-lib-button-default-color-border:#1e53e5;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-brand-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000}.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8,html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-bg:#0000}}.color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-bg:#1848cc}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#2962ff}@media (any-hover:hover){html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#2962ff;--ui-lib-button-default-color-content:#2962ff}}html.theme-dark .color-brand-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#1848cc;--ui-lib-button-default-color-border:#1848cc;--ui-lib-button-default-color-content:#fff}.color-gray-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#363a45;--ui-lib-button-default-color-bg:#363a45}}.color-gray-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}.color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#131722;--ui-lib-button-default-color-bg:#131722}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}}.color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#2962ff;--ui-lib-button-default-color-border:#132042;--ui-lib-button-default-color-bg:#132042}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e3effd;--ui-lib-button-default-color-border:#e3effd;--ui-lib-button-default-color-content:#2962ff}.color-gray-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#434651;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}}.color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#363a45;--ui-lib-button-default-color-bg:#363a45}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#e0e3eb;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}.color-gray-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-content:#d1d4dc;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#434651;--ui-lib-button-default-color-bg:#0000}}.color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#131722}@media (any-hover:hover){html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#e0e3eb;--ui-lib-button-default-color-content:#131722}}html.theme-dark .color-gray-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#131722}.color-red-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-bg:#f23645}@media (any-hover:hover){.color-red-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-bg:#cc2f3c}}.color-red-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-bg:#b22833}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#fff}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-red-p9ma7wH8.variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}.color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#131722;--ui-lib-button-default-color-bg:#131722}@media (any-hover:hover){.color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#2a2e39;--ui-lib-button-default-color-bg:#2a2e39}}.color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#ffebec;--ui-lib-button-default-color-border:#ffebec;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8:active{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#331f20;--ui-lib-button-default-color-bg:#331f20}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#fff;--ui-lib-button-default-color-border:#fff;--ui-lib-button-default-color-content:#f23645}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#f0f3fa;--ui-lib-button-default-color-border:#f0f3fa;--ui-lib-button-default-color-content:#f23645}}html.theme-dark .color-red-p9ma7wH8.variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#ffebec;--ui-lib-button-default-color-border:#ffebec;--ui-lib-button-default-color-content:#f23645}.color-red-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-red-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8:hover{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-bg:#cc2f3c}}.color-red-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-bg:#b22833}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#cc2f3c;--ui-lib-button-default-color-border:#cc2f3c;--ui-lib-button-default-color-content:#fff}}html.theme-dark .color-red-p9ma7wH8.variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}.color-red-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000}.color-red-p9ma7wH8.variant-ghost-p9ma7wH8,html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8{--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-bg:#0000}@media (any-hover:hover){.color-red-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8:hover{--ui-lib-button-default-color-content:#f23645;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-bg:#0000}}.color-red-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8:active{--ui-lib-button-default-color-content:#fff;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-bg:#b22833}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#0000;--ui-lib-button-default-color-content:#f23645}@media (any-hover:hover){html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:hover{--ui-lib-button-default-color-bg:#0000;--ui-lib-button-default-color-border:#f23645;--ui-lib-button-default-color-content:#f23645}}html.theme-dark .color-red-p9ma7wH8.variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:active{--ui-lib-button-default-color-bg:#b22833;--ui-lib-button-default-color-border:#b22833;--ui-lib-button-default-color-content:#fff}.color-brand-p9ma7wH8,.color-gray-p9ma7wH8,html.theme-dark .color-brand-p9ma7wH8,html.theme-dark .color-gray-p9ma7wH8{--ui-lib-button-default-color-focus-outline:#2962ffcc}.color-red-p9ma7wH8,html.theme-dark .color-red-p9ma7wH8{--ui-lib-button-default-color-focus-outline:#f23645cc}.variant-primary-p9ma7wH8:disabled{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be;transform:none}html.theme-dark .variant-primary-p9ma7wH8:disabled{background-color:#363a45;border-color:#363a45;color:#5d606b}.variant-primary-p9ma7wH8:disabled:after{display:none}.variant-quiet-primary-p9ma7wH8:disabled,html.theme-dark .variant-primary-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be}.variant-quiet-primary-p9ma7wH8:disabled{transform:none}html.theme-dark .variant-quiet-primary-p9ma7wH8:disabled{background-color:#363a45;border-color:#363a45;color:#5d606b}.variant-quiet-primary-p9ma7wH8:disabled:after{display:none}html.theme-dark .variant-quiet-primary-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:#e0e3eb;border-color:#e0e3eb;color:#b2b5be}.variant-secondary-p9ma7wH8:disabled{background-color:initial;border-color:#e0e3eb;color:#b2b5be;transform:none}html.theme-dark .variant-secondary-p9ma7wH8:disabled{background-color:initial;border-color:#363a45;color:#5d606b}.variant-secondary-p9ma7wH8:disabled:after{display:none}html.theme-dark .variant-secondary-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:initial;border-color:#e0e3eb;color:#b2b5be}.variant-ghost-p9ma7wH8:disabled{background-color:initial;border-color:#0000;color:#b2b5be;transform:none}html.theme-dark .variant-ghost-p9ma7wH8:disabled{background-color:initial;border-color:#0000;color:#5d606b}.variant-ghost-p9ma7wH8:disabled:after{display:none}html.theme-dark .variant-ghost-p9ma7wH8.disable-themes-p9ma7wH8:disabled{background-color:initial;border-color:#0000;color:#b2b5be}.size-xsmall-p9ma7wH8{border-radius:14px;border-width:1px;height:28px}.size-xsmall-p9ma7wH8.icon-only-p9ma7wH8{width:28px}.size-xsmall-p9ma7wH8:not(.size-xsmall-p9ma7wH8.icon-only-p9ma7wH8){padding:0 11px}.size-xsmall-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-xsmall-p9ma7wH8:focus{outline:none}.size-xsmall-p9ma7wH8:focus-visible{outline:none}.size-xsmall-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.size-xsmall-p9ma7wH8:focus:after{display:block}.size-xsmall-p9ma7wH8:focus-visible:after{display:block}.size-xsmall-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-xsmall-p9ma7wH8:after{border-radius:18px}.size-small-p9ma7wH8{border-radius:17px;border-width:1px;height:34px}.size-small-p9ma7wH8.icon-only-p9ma7wH8{width:34px}.size-small-p9ma7wH8:not(.size-small-p9ma7wH8.icon-only-p9ma7wH8){padding:0 15px}.size-small-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-small-p9ma7wH8:focus{outline:none}.size-small-p9ma7wH8:focus-visible{outline:none}.size-small-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.size-small-p9ma7wH8:focus:after{display:block}.size-small-p9ma7wH8:focus-visible:after{display:block}.size-small-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-small-p9ma7wH8:after{border-radius:21px}.size-medium-p9ma7wH8{border-radius:20px;border-width:1px;height:40px}.size-medium-p9ma7wH8.icon-only-p9ma7wH8{width:40px}.size-medium-p9ma7wH8:not(.size-medium-p9ma7wH8.icon-only-p9ma7wH8){padding:0 15px}.size-medium-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-medium-p9ma7wH8:focus{outline:none}.size-medium-p9ma7wH8:focus-visible{outline:none}.size-medium-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.size-medium-p9ma7wH8:focus:after{display:block}.size-medium-p9ma7wH8:focus-visible:after{display:block}.size-medium-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-medium-p9ma7wH8:after{border-radius:24px}.size-large-p9ma7wH8{border-radius:24px;border-width:1px;height:48px}.size-large-p9ma7wH8.icon-only-p9ma7wH8{width:48px}.size-large-p9ma7wH8:not(.size-large-p9ma7wH8.icon-only-p9ma7wH8){padding:0 23px}.size-large-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-large-p9ma7wH8:focus{outline:none}.size-large-p9ma7wH8:focus-visible{outline:none}.size-large-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.size-large-p9ma7wH8:focus:after{display:block}.size-large-p9ma7wH8:focus-visible:after{display:block}.size-large-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-large-p9ma7wH8:after{border-radius:28px}.size-xlarge-p9ma7wH8{border-radius:28px;border-width:1px;height:56px}.size-xlarge-p9ma7wH8.icon-only-p9ma7wH8{width:56px}.size-xlarge-p9ma7wH8:not(.size-xlarge-p9ma7wH8.icon-only-p9ma7wH8){padding:0 31px}.size-xlarge-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-xlarge-p9ma7wH8:focus{outline:none}.size-xlarge-p9ma7wH8:focus-visible{outline:none}.size-xlarge-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.size-xlarge-p9ma7wH8:focus:after{display:block}.size-xlarge-p9ma7wH8:focus-visible:after{display:block}.size-xlarge-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-xlarge-p9ma7wH8:after{border-radius:32px}.size-xxlarge-p9ma7wH8{border-radius:40px;border-width:2px;height:80px}.size-xxlarge-p9ma7wH8.icon-only-p9ma7wH8{width:80px}.size-xxlarge-p9ma7wH8:not(.size-xxlarge-p9ma7wH8.icon-only-p9ma7wH8){padding:0 30px}.size-xxlarge-p9ma7wH8{outline:none;overflow:visible;position:relative}.size-xxlarge-p9ma7wH8:focus{outline:none}.size-xxlarge-p9ma7wH8:focus-visible{outline:none}.size-xxlarge-p9ma7wH8:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 12px);pointer-events:none;position:absolute;right:-6px;top:-6px;width:calc(100% + 12px);z-index:1}.size-xxlarge-p9ma7wH8:focus:after{display:block}.size-xxlarge-p9ma7wH8:focus-visible:after{display:block}.size-xxlarge-p9ma7wH8:focus:not(:focus-visible):after{display:none}.size-xxlarge-p9ma7wH8:after{border-radius:44px}.size-xsmall-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}.size-small-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400}.size-medium-p9ma7wH8 .content-p9ma7wH8,.size-small-p9ma7wH8 .content-p9ma7wH8{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.size-medium-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:500}.size-large-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.size-xlarge-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600}.size-xlarge-p9ma7wH8 .content-p9ma7wH8,.size-xxlarge-p9ma7wH8 .content-p9ma7wH8{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.size-xxlarge-p9ma7wH8 .content-p9ma7wH8{font-feature-settings:"tnum" on,"lnum" on;font-size:20px;font-style:normal;font-weight:600}.animated-p9ma7wH8{transition-duration:.2s;transition-property:border-color,background-color,color;transition-timing-function:ease-in-out}.animated-p9ma7wH8:after{display:block;opacity:0;transition:opacity .2s ease-in-out,visibility 0s ease-in-out .2s;visibility:hidden}.animated-p9ma7wH8:focus:after{opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.animated-p9ma7wH8:focus-visible:after{opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.animated-p9ma7wH8:focus:not(:focus-visible):after{opacity:0;transition:opacity .2s ease-in-out,visibility 0s ease-in-out .2s;visibility:hidden}.stretch-p9ma7wH8{width:100%} \ No newline at end of file diff --git a/charting_library/bundles/6324.365b73847767a54140ab.css b/charting_library/bundles/5399.5b37bdc7d523b1c795fb.css similarity index 72% rename from charting_library/bundles/6324.365b73847767a54140ab.css rename to charting_library/bundles/5399.5b37bdc7d523b1c795fb.css index 827c1f81..869f7f9f 100644 --- a/charting_library/bundles/6324.365b73847767a54140ab.css +++ b/charting_library/bundles/5399.5b37bdc7d523b1c795fb.css @@ -1 +1 @@ -.header-Dtkdqc5O{border-bottom:1px solid #e0e3eb;color:#212121;font-size:14px;font-weight:700;padding:30px 60px 30px 30px;position:relative}html.theme-dark .header-Dtkdqc5O{border-bottom-color:#363a45;color:#c5cbce}@media screen and (max-width:767px){.header-Dtkdqc5O{padding:20px 60px 20px 20px}}.header-Dtkdqc5O .close-Dtkdqc5O{color:#434651;cursor:pointer;opacity:.5;padding:15px;position:absolute;right:15px;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .header-Dtkdqc5O .close-Dtkdqc5O{color:#d1d4dc}@media screen and (max-width:767px){.header-Dtkdqc5O .close-Dtkdqc5O{right:7px;top:7px}}@media (any-hover:hover){.header-Dtkdqc5O .close-Dtkdqc5O:hover{opacity:1;transition-duration:.06s}}.header-Dtkdqc5O .close-Dtkdqc5O svg{display:block;height:13px;width:13px}.footer-hDDUbPct{padding:0 30px 30px}@media screen and (max-width:767px){.footer-hDDUbPct{padding:0 20px 20px}}.body-sm3KMBIc{-webkit-overflow-scrolling:touch;flex-grow:1;overflow:auto;padding:30px}.body-sm3KMBIc::-webkit-scrollbar{height:5px;width:5px}.body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.body-sm3KMBIc::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.body-sm3KMBIc::-webkit-scrollbar-corner{display:none}@media screen and (max-width:767px){.body-sm3KMBIc{padding:20px}}.message-d3vP5HJI{background:#ebf9f5;color:#37bc9b;font-size:14px;left:0;padding:30px;position:absolute;right:0;text-align:center;top:0;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-d3vP5HJI{background:#21384d}.message-d3vP5HJI.error-d3vP5HJI{background:#ffedf0;color:#f7525f}html.theme-dark .message-d3vP5HJI.error-d3vP5HJI{background:#6f2626}.popupDialog-1s1uy4Yi{max-width:450px}.content-1s1uy4Yi .row-1s1uy4Yi{display:flex;padding-bottom:12px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi{font-size:13px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#868993}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#787b86}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#434651;font-weight:700}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#d1d4dc}.content-1s1uy4Yi .row-1s1uy4Yi .columnTitle-1s1uy4Yi{text-align:left}.content-1s1uy4Yi .row-1s1uy4Yi .columnValue-1s1uy4Yi{margin-left:auto;text-align:right} \ No newline at end of file +.header-Dtkdqc5O{border-bottom:1px solid #e0e3eb;color:#212121;font-size:14px;font-weight:700;padding:30px 60px 30px 30px;position:relative}html.theme-dark .header-Dtkdqc5O{border-bottom-color:#363a45;color:#c5cbce}@media screen and (max-width:767px){.header-Dtkdqc5O{padding:20px 60px 20px 20px}}.header-Dtkdqc5O .close-Dtkdqc5O{color:#434651;cursor:pointer;opacity:.5;padding:15px;position:absolute;right:15px;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .header-Dtkdqc5O .close-Dtkdqc5O{color:#d1d4dc}@media screen and (max-width:767px){.header-Dtkdqc5O .close-Dtkdqc5O{right:7px;top:7px}}@media (any-hover:hover){.header-Dtkdqc5O .close-Dtkdqc5O:hover{opacity:1;transition-duration:.06s}}.header-Dtkdqc5O .close-Dtkdqc5O svg{display:block;height:13px;width:13px}.footer-hDDUbPct{padding:0 30px 30px}@media screen and (max-width:767px){.footer-hDDUbPct{padding:0 20px 20px}}.body-sm3KMBIc{-webkit-overflow-scrolling:touch;flex-grow:1;overflow:auto;padding:30px}.body-sm3KMBIc::-webkit-scrollbar{height:5px;width:5px}.body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.body-sm3KMBIc::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.body-sm3KMBIc::-webkit-scrollbar-corner{display:none}@media screen and (max-width:767px){.body-sm3KMBIc{padding:20px}}.message-d3vP5HJI{background:#ebf9f5;color:#37bc9b;font-size:14px;left:0;padding:30px;position:absolute;right:0;text-align:center;top:0;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-d3vP5HJI{background:#21384d}.message-d3vP5HJI.error-d3vP5HJI{background:#ffedf0;color:#f7525f}html.theme-dark .message-d3vP5HJI.error-d3vP5HJI{background:#6f2626} \ No newline at end of file diff --git a/charting_library/bundles/6324.365b73847767a54140ab.rtl.css b/charting_library/bundles/5399.5b37bdc7d523b1c795fb.rtl.css similarity index 72% rename from charting_library/bundles/6324.365b73847767a54140ab.rtl.css rename to charting_library/bundles/5399.5b37bdc7d523b1c795fb.rtl.css index cebf26c6..a6eb7edb 100644 --- a/charting_library/bundles/6324.365b73847767a54140ab.rtl.css +++ b/charting_library/bundles/5399.5b37bdc7d523b1c795fb.rtl.css @@ -1 +1 @@ -.header-Dtkdqc5O{border-bottom:1px solid #e0e3eb;color:#212121;font-size:14px;font-weight:700;padding:30px 30px 30px 60px;position:relative}html.theme-dark .header-Dtkdqc5O{border-bottom-color:#363a45;color:#c5cbce}@media screen and (max-width:767px){.header-Dtkdqc5O{padding:20px 20px 20px 60px}}.header-Dtkdqc5O .close-Dtkdqc5O{color:#434651;cursor:pointer;left:15px;opacity:.5;padding:15px;position:absolute;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .header-Dtkdqc5O .close-Dtkdqc5O{color:#d1d4dc}@media screen and (max-width:767px){.header-Dtkdqc5O .close-Dtkdqc5O{left:7px;top:7px}}@media (any-hover:hover){.header-Dtkdqc5O .close-Dtkdqc5O:hover{opacity:1;transition-duration:.06s}}.header-Dtkdqc5O .close-Dtkdqc5O svg{display:block;height:13px;width:13px}.footer-hDDUbPct{padding:0 30px 30px}@media screen and (max-width:767px){.footer-hDDUbPct{padding:0 20px 20px}}.body-sm3KMBIc{-webkit-overflow-scrolling:touch;flex-grow:1;overflow:auto;padding:30px}.body-sm3KMBIc::-webkit-scrollbar{height:5px;width:5px}.body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.body-sm3KMBIc::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.body-sm3KMBIc::-webkit-scrollbar-corner{display:none}@media screen and (max-width:767px){.body-sm3KMBIc{padding:20px}}.message-d3vP5HJI{background:#ebf9f5;color:#37bc9b;font-size:14px;left:0;padding:30px;position:absolute;right:0;text-align:center;top:0;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-d3vP5HJI{background:#21384d}.message-d3vP5HJI.error-d3vP5HJI{background:#ffedf0;color:#f7525f}html.theme-dark .message-d3vP5HJI.error-d3vP5HJI{background:#6f2626}.popupDialog-1s1uy4Yi{max-width:450px}.content-1s1uy4Yi .row-1s1uy4Yi{display:flex;padding-bottom:12px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi{font-size:13px}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#868993}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .title-1s1uy4Yi{color:#787b86}.content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#434651;font-weight:700}html.theme-dark .content-1s1uy4Yi .row-1s1uy4Yi .column-1s1uy4Yi .value-1s1uy4Yi{color:#d1d4dc}.content-1s1uy4Yi .row-1s1uy4Yi .columnTitle-1s1uy4Yi{text-align:right}.content-1s1uy4Yi .row-1s1uy4Yi .columnValue-1s1uy4Yi{margin-right:auto;text-align:left} \ No newline at end of file +.header-Dtkdqc5O{border-bottom:1px solid #e0e3eb;color:#212121;font-size:14px;font-weight:700;padding:30px 30px 30px 60px;position:relative}html.theme-dark .header-Dtkdqc5O{border-bottom-color:#363a45;color:#c5cbce}@media screen and (max-width:767px){.header-Dtkdqc5O{padding:20px 20px 20px 60px}}.header-Dtkdqc5O .close-Dtkdqc5O{color:#434651;cursor:pointer;left:15px;opacity:.5;padding:15px;position:absolute;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .header-Dtkdqc5O .close-Dtkdqc5O{color:#d1d4dc}@media screen and (max-width:767px){.header-Dtkdqc5O .close-Dtkdqc5O{left:7px;top:7px}}@media (any-hover:hover){.header-Dtkdqc5O .close-Dtkdqc5O:hover{opacity:1;transition-duration:.06s}}.header-Dtkdqc5O .close-Dtkdqc5O svg{display:block;height:13px;width:13px}.footer-hDDUbPct{padding:0 30px 30px}@media screen and (max-width:767px){.footer-hDDUbPct{padding:0 20px 20px}}.body-sm3KMBIc{-webkit-overflow-scrolling:touch;flex-grow:1;overflow:auto;padding:30px}.body-sm3KMBIc::-webkit-scrollbar{height:5px;width:5px}.body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .body-sm3KMBIc::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.body-sm3KMBIc::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.body-sm3KMBIc::-webkit-scrollbar-corner{display:none}@media screen and (max-width:767px){.body-sm3KMBIc{padding:20px}}.message-d3vP5HJI{background:#ebf9f5;color:#37bc9b;font-size:14px;left:0;padding:30px;position:absolute;right:0;text-align:center;top:0;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-d3vP5HJI{background:#21384d}.message-d3vP5HJI.error-d3vP5HJI{background:#ffedf0;color:#f7525f}html.theme-dark .message-d3vP5HJI.error-d3vP5HJI{background:#6f2626} \ No newline at end of file diff --git a/charting_library/bundles/53f95b864ea8104267dc566bfb803a23.svg b/charting_library/bundles/53f95b864ea8104267dc566bfb803a23.svg new file mode 100644 index 00000000..d528b6d3 --- /dev/null +++ b/charting_library/bundles/53f95b864ea8104267dc566bfb803a23.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/53fe5ab19eeaaea654235a0bdb7f71f1.svg b/charting_library/bundles/53fe5ab19eeaaea654235a0bdb7f71f1.svg new file mode 100644 index 00000000..4ad03aae --- /dev/null +++ b/charting_library/bundles/53fe5ab19eeaaea654235a0bdb7f71f1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5423.7c2e49576fea7390d5de.js b/charting_library/bundles/5423.7c2e49576fea7390d5de.js new file mode 100644 index 00000000..cf959d49 --- /dev/null +++ b/charting_library/bundles/5423.7c2e49576fea7390d5de.js @@ -0,0 +1,4 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5423],{60403:t=>{t.exports={dialog:"dialog-5BeaIUa1",visible:"visible-5BeaIUa1",title:"title-5BeaIUa1",text:"text-5BeaIUa1",actions:"actions-5BeaIUa1",close:"close-5BeaIUa1",minimize:"minimize-5BeaIUa1",handle:"handle-5BeaIUa1",control:"control-5BeaIUa1",wrap:"wrap-5BeaIUa1",touch:"touch-5BeaIUa1",dragging:"dragging-5BeaIUa1"}},52014:()=>{},20497:(t,s,i)=>{"use strict";var e=i(23127);const o=i(98125).getLogger("CommonUI.CreateTVBlockPlugin");t.exports.createTvBlockWithInstance=function(t,s){if(t&&s)return t=t.toString(),function(n,a,l){var d,h,r;return"get"===n?d=a:(h=a,"object"==typeof n&&void 0===a?(h=n,n="init"):"string"!=typeof n&&(n="init")),"getInstance"===n?e(this).eq(0).data(t):"destroy"===n?(r=e(this).eq(0).data(t))?void("function"==typeof r.destroy?(i(r,"destroy",h),e(this).eq(0).removeData(t)):o.logError("[Block Plugin] "+t+" does not support destroy command")):void console.warn("[Block Plugin] Trying to execute destroy method of "+t+" but it has not been inited"):"get"===n?(r=e(this).eq(0).data(t))?"function"==typeof r[d]?i(r,d,l):r[d]:void console.warn("[Block Plugin] Trying to get prop or execute method of "+t+" but it has not been inited"):e(this).each((function(){var a=e(this),l=a.data(t);void 0===l&&(l=void 0===h?s(a):s(a,h),a.data(t,l)),"init"!==n&&("function"==typeof l[n]?i(l,n,h):o.logError("[Block Plugin] "+t+" does not support command "+n))}))};function i(t,s,i){return void 0===i?t[s]():t[s](i)}}},78754:(t,s,i)=>{"use strict";i.d(s,{buttonLoader:()=>a});i(52014);var e=i(20497),o=i(68587),n=i(23127);function a(t){return new l(n(t))}n.fn.tvButtonLoader=(0,e.createTvBlockWithInstance)("tv-button-loader",(function(t){return new l(t)}));class l{constructor(t){this.$btn=n(t).addClass("tv-button--loader"),0===this.$btn.find(".tv-button__loader").length&&this.$btn.html(''+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}_start(){this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(()=>{this.loading=!0,this.starting=!1,this._startPromise=!1,this.$btn.addClass("i-loading"),this.$btn.removeClass("i-start-load"),this._stopPromise&&this._stop()},2*o.dur)}start(){this.starting||(this.stopping?this._startPromise=!0:this._start())}_stop(){this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(()=>{this.loading=!1,this.stopping=!1,this._stopPromise=!1,this.$btn.removeClass("i-loading i-start-load i-stop-load"),this._startPromise&&this._start()},o.dur)}stop(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}toggle(){this.loading?this.stop():this.start()}contentHtml(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}contentNojQuery(){return this.$btn.get(0) +}disable(){this.stop(),this.$btn.addClass("i-disabled")}enable(){this.$btn.removeClass("i-disabled")}}},94673:(t,s,i)=>{"use strict";i.d(s,{createFullscreenDialog:()=>C});var e=i(60403),o=i(51536),n=i(32563),a=i(25760);class l{constructor(t){this._dialog=t.dialog,this._animation=t.animation}close(){return this._animation.close().then(()=>(this._dialog.unfocus(),this._dialog.options.destroyOnClose&&this._dialog.destroy(),this._dialog))}}class d{constructor(t){this._dialog=t.dialog,this._animation=t.animation}open(){return this._dialog.$wrap?(this._dialog.$el.appendTo(this._dialog.$wrap),this._animation.open().then(()=>(this._dialog.focus(),this._dialog))):Promise.resolve(this._dialog)}}class h{constructor(t){this._dialog=t.dialog,this._animation=t.animation,this._dialog.$el.on("click",".js-dialog__minimize",this._dialog.minimize.bind(this._dialog))}minimize(){return this._animation.close().then(()=>(this._dialog.unfocus(),this._dialog.options.destroyOnClose?this._dialog.destroy():document.activeElement.blur(),this._dialog))}}class r{constructor(t){this._handler=()=>{this._dialog.$el.remove(),this._resolve()},this._dialog=t.dialog,this._dialog.on("destroy",this._handler)}destroy(t){return new Promise(s=>{this._resolve=()=>s(this._dialog),t()})}}class c{constructor(t){this._handler=()=>{this._dialog.$el.css("z-index",this._dialog.zIndex),this._resolve()},this._dialog=t.dialog,this._dialog.on("change:zIndex",this._handler)}setZIndex(t,s){return new Promise(i=>{this._resolve=()=>i(this._dialog),s(t)})}}var _=i(43370),g=i(56840);class u{constructor(t){this._initialXCoord=0,this._initialWidth=0,this._width=0,this._settingsKey="publish.dialog.width",this._onMouseDown=t=>{t.preventDefault(),this._initialXCoord=t.clientX,this._initialWidth=this._dialog.el.offsetWidth,this._dialog.el.classList.add(e.dragging),document.addEventListener("mousemove",this._mouseMove),document.addEventListener("mouseup",this._onMouseUp)},this._onMouseUp=()=>{p(this._settingsKey,this._width),this._dialog.el.classList.remove(e.dragging),document.removeEventListener("mousemove",this._mouseMove),document.removeEventListener("mouseup",this._onMouseUp)},this._onMouseMove=t=>{const s=t.clientX,i=this._calcWidth(s);this._setWidth(i),this._opts.onResize&&this._opts.onResize(i)},this._opts=t,this._dialog=t.dialog,this._dialog.el.style.left="auto",this._dialog.el.style.right="0",this._handleEl=this._creteHandleElem(),this._mouseMove=(0,_.default)(this._onMouseMove,30),void 0!==t.settingsKey&&(this._settingsKey=t.settingsKey),this._appendHandleElem(),this._setInitialWidth()}_creteHandleElem(){const t=document.createElement("div");return t.classList.add(e.handle),t.innerHTML=`

`,t.setAttribute("data-name","dialog-resize-handle"),t.addEventListener("mousedown",this._onMouseDown),t}_appendHandleElem(){this._dialog.el.appendChild(this._handleEl)}_setInitialWidth(){let t=document.documentElement.clientWidth;try{const s=g.getInt(this._settingsKey);s&&!m(s)&&(t=s)}catch(s){p(this._settingsKey,t,!0)}this._setWidth(t)}_setWidth(t){ +this._width=t,this._dialog.el.style.width=function(t){return t/document.documentElement.clientWidth*100}(t)+"%"}_calcWidth(t){const s=t-this._initialXCoord;let i=this._initialWidth-s;return m(i)&&(i=document.documentElement.clientWidth),i<350&&(i=350),i}}function m(t){return t>document.documentElement.clientWidth}function p(t,s,i){var e;e=s,!isNaN(parseFloat(e))&&isFinite(e)&&g.setValue(t,s,{forceFlush:i})}var v=i(74664);const b={maxWidth:v.breakpoints.desktopHd,class:"dialog-media__desktop-hd"},f={maxWidth:v.breakpoints.tablet,class:"dialog-media__tablet"};class w{constructor(t){this._onTabletBreakpoint=t=>{const s=this._dialog.el.offsetWidth;t.matches&&s<=f.maxWidth?this._dialog.el.classList.add(f.class):this._dialog.el.classList.remove(f.class)},this._onDesktopHdBreakpoint=t=>{const s=this._dialog.el.offsetWidth;t.matches&&s<=b.maxWidth?this._dialog.el.classList.add(b.class):this._dialog.el.classList.remove(b.class)},this._dialog=t.dialog}init(){this._tabletMq=window.matchMedia(`(max-width: ${f.maxWidth}px)`),this._desktopHdMq=window.matchMedia(`(max-width: ${b.maxWidth}px)`),this._tabletMq.addListener(this._onTabletBreakpoint),this._desktopHdMq.addListener(this._onDesktopHdBreakpoint);const t=this._dialog.el.offsetWidth;this.setMediaClassByWidth(t)}destroy(){this._tabletMq.removeListener(this._onTabletBreakpoint),this._desktopHdMq.removeListener(this._onDesktopHdBreakpoint)}setMediaClassByWidth(t){this._dialog.el.classList.remove(b.class,f.class),t<=f.maxWidth&&this._dialog.el.classList.add(f.class),t<=b.maxWidth&&this._dialog.el.classList.add(b.class)}}class y{constructor(t){this._dialog=t.dialog}open(){return this._dialog.$el.addClass(e.visible),Promise.resolve(this._dialog.el)}close(){return this._dialog.$el.removeClass(e.visible),Promise.resolve(this._dialog.el)}}var x=i(2112),$=i(34357);function B({minimizeButton:t=!0,closeButton:s=!0}){const i=`${x}`,o=`${$}`;return`\n\t\t
\n\t\t\t
{{{ title }}}
\n\t\t\t\n\t\t\t\t${t?i:""}\n\t\t\t\t${s?o:""}\n\t\t\t\n\t\t
`}const k={closeButton:!1,contentWrapTemplate:`
`,destroyOnClose:!0,template:`
`};function C(t){const s=Object.assign({titleTemplate:B({minimizeButton:t.minimizeButton})},k,t);return new z(s)}class z extends o.TVDialogAbstract{constructor(t){super(t),this._animation=t.animation||new y({dialog:this}),this._openable=t.openable||new d({dialog:this,animation:this._animation}),this._closeable=t.closeable||new l({dialog:this,animation:this._animation}),this._destroyable=t.destroyable||new r({dialog:this}),this._minimizeable=t.minimizeable||new h({dialog:this,animation:this._animation}),this._arrangeable=t.arrangeable||new c({dialog:this}),this._adaptive=t.adaptive||new w({dialog:this}),t.horizontalResize&&!n.mobiletouch&&new u({dialog:this,settingsKey:t.horizontalResizeSettingsKey,onResize:t=>{ +this._adaptive.setMediaClassByWidth(t)}}),t.onClose&&(this.$el.off("click",".js-dialog__close"),this.$el.on("click",".js-dialog__close",t.onClose)),this.$el.off("mousedown touchstart"),this.setZIndex(this.zIndex),this._hotkeys=a.createGroup({desc:"Fullscreen dialog",isDisabled:()=>!this.isOpened(),modal:!1}),this.options.closeOnEsc&&this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this.close()})}open(){const t=this.options.beforeOpen,s=this.options.afterOpen,i=()=>{this.opened=!0,this._openable.open().then(()=>{if(this._adaptive.init(),"iPad"!==navigator.platform){const t=this.el.querySelector("."+e.wrap);t&&t.classList.add(e.touch)}s&&s()})};this.trigger("beforeOpen",this),t?t(i):i()}close(){const t=this.options.beforeClose,s=this.options.afterClose,i=()=>{this.opened=!1,this._closeable.close().then(()=>{this.trigger("afterClose",this),this._adaptive.destroy(),s&&s()})};t?t(i):i()}minimize(){const t=this.options.beforeMinimize,s=this.options.afterMinimize,i=()=>this._minimizeable.minimize().then(()=>{s&&s()});t?t(i):i()}destroy(){const t=this.options.onDestroy;this._destroyable.destroy(super.destroy.bind(this)).then(()=>{t&&t()})}setZIndex(t){const s=this.options.onZIndexUpdate;this._arrangeable?this._arrangeable.setZIndex(t,super.setZIndex.bind(this)).then(()=>{s&&s()}):super.setZIndex(t)}focus(){this._focused=!0,this._setFocused(),this.el.classList.add(this.options.focusClass),this.el.focus()}unfocus(){this._focused=!1,this._setUnfocused(),this.el.classList.remove(this.options.focusClass),this.el.blur()}}},61074:(t,s,i)=>{"use strict";i.d(s,{Spinner:()=>a});var e=i(59496),o=i(97754),n=i(33134);i(24780);function a(t){const s=o(t.className,"tv-spinner","tv-spinner--shown","tv-spinner--size_"+n.spinnerSizeMap[t.size||n.DEFAULT_SIZE]);return e.createElement("div",{className:s,style:t.style,role:"progressbar"})}},34357:t=>{t.exports=''},4135:t=>{t.exports=''},2112:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/54405675d653aa1a161b6abcb43291ed.svg b/charting_library/bundles/54405675d653aa1a161b6abcb43291ed.svg new file mode 100644 index 00000000..85ca1f63 --- /dev/null +++ b/charting_library/bundles/54405675d653aa1a161b6abcb43291ed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/548b90a6603f1a11a0104f3be28274d5.svg b/charting_library/bundles/548b90a6603f1a11a0104f3be28274d5.svg new file mode 100644 index 00000000..6fa745d0 --- /dev/null +++ b/charting_library/bundles/548b90a6603f1a11a0104f3be28274d5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/553d50cd29b02ff10f3cb53302bece54.svg b/charting_library/bundles/553d50cd29b02ff10f3cb53302bece54.svg new file mode 100644 index 00000000..8073a819 --- /dev/null +++ b/charting_library/bundles/553d50cd29b02ff10f3cb53302bece54.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5579d8b53d2a1a0e6007198f97b91039.svg b/charting_library/bundles/5579d8b53d2a1a0e6007198f97b91039.svg new file mode 100644 index 00000000..d241f82a --- /dev/null +++ b/charting_library/bundles/5579d8b53d2a1a0e6007198f97b91039.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/559bbd43de542185b04c719bc152c540.svg b/charting_library/bundles/559bbd43de542185b04c719bc152c540.svg new file mode 100644 index 00000000..719c3f9a --- /dev/null +++ b/charting_library/bundles/559bbd43de542185b04c719bc152c540.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5618.8a62799c789da2a8c8a0.css b/charting_library/bundles/5618.8a62799c789da2a8c8a0.css new file mode 100644 index 00000000..7a6935ca --- /dev/null +++ b/charting_library/bundles/5618.8a62799c789da2a8c8a0.css @@ -0,0 +1 @@ +.icon-cKcckIVa{height:72px;margin-right:16px;width:72px}.checkbox-OpxH0OVy{align-self:start;font:inherit}.description-XND8Gzdp{margin-bottom:16px}.link-XND8Gzdp{color:#2962ff;transition:color .35s ease}html.theme-dark .link-XND8Gzdp{color:#2962ff}.link-XND8Gzdp:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-XND8Gzdp:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-XND8Gzdp:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-XND8Gzdp:hover{fill:#1e53e5;color:#1e53e5}}.link-XND8Gzdp:focus{outline:auto}.link-XND8Gzdp:focus-visible{outline:auto}.link-XND8Gzdp:focus:not(:focus-visible){outline:none}.link-XND8Gzdp:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-XND8Gzdp:active{fill:#1848cc;color:#1848cc} \ No newline at end of file diff --git a/charting_library/bundles/5618.8a62799c789da2a8c8a0.rtl.css b/charting_library/bundles/5618.8a62799c789da2a8c8a0.rtl.css new file mode 100644 index 00000000..32449d53 --- /dev/null +++ b/charting_library/bundles/5618.8a62799c789da2a8c8a0.rtl.css @@ -0,0 +1 @@ +.icon-cKcckIVa{height:72px;margin-left:16px;width:72px}.checkbox-OpxH0OVy{align-self:start;font:inherit}.description-XND8Gzdp{margin-bottom:16px}.link-XND8Gzdp{color:#2962ff;transition:color .35s ease}html.theme-dark .link-XND8Gzdp{color:#2962ff}.link-XND8Gzdp:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-XND8Gzdp:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-XND8Gzdp:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-XND8Gzdp:hover{fill:#1e53e5;color:#1e53e5}}.link-XND8Gzdp:focus{outline:auto}.link-XND8Gzdp:focus-visible{outline:auto}.link-XND8Gzdp:focus:not(:focus-visible){outline:none}.link-XND8Gzdp:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-XND8Gzdp:active{fill:#1848cc;color:#1848cc} \ No newline at end of file diff --git a/charting_library/bundles/5708.c3364a7566b555162c99.css b/charting_library/bundles/5708.c3364a7566b555162c99.css new file mode 100644 index 00000000..5b8217a9 --- /dev/null +++ b/charting_library/bundles/5708.c3364a7566b555162c99.css @@ -0,0 +1 @@ +.tv-control-error{display:block;position:relative}.tv-control-error:after{clear:both;content:"";display:table}.tv-control-error__icon{display:block;opacity:0;padding:7px;pointer-events:none;position:absolute;right:1px;top:1px;transition:opacity .35s ease}.tv-control-error__icon svg{fill:#ff4a68;display:block;height:18px;width:18px}.tv-control-error__icon--material-input{top:5px}.tv-control-select__wrap+.tv-control-error__icon{right:33px}.tv-control-error--size_small .tv-control-error__icon{padding:5px}.tv-control-error--size_small .tv-control-error__icon svg{height:15px;width:15px}.tv-control-error--size_large .tv-control-error__icon{padding:13px}.tv-control-error--size_large .tv-control-error__icon svg{height:21px;width:21px}.tv-control-error--for-number-input .tv-control-error__icon{right:16px}.tv-control-error--fix_size .tv-control-error__width-control-wrapper{min-width:170px}.tv-control-error__width-control-wrapper{opacity:0;position:absolute;right:0;top:0;width:100%;z-index:100}.tv-control-error__width-control-wrapper--from-left{left:0;right:auto}.tv-control-error__messages{background-color:#2a2c39;border-radius:3px;bottom:100%;color:#fff;margin-bottom:1px;max-width:100%;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;right:0;transform:scale(.85) translateY(3px);transform-origin:bottom right;transition:opacity .35s cubic-bezier(.215,.61,.355,1),transform .35s cubic-bezier(.215,.61,.355,1)}.tv-control-error__messages:empty{display:none}.tv-control-error__width-control-wrapper--from-left .tv-control-error__messages{left:0;right:auto;transform-origin:bottom left}.tv-control-error__message{display:block;font-size:12px;line-height:1.4;margin-bottom:10px;text-transform:none}.tv-control-error__message:last-child{margin-bottom:0}.tv-control-error__message a{color:#fff;transition:color .35s ease}.tv-control-error__message a:visited{fill:#fff;color:#fff}@media (any-hover:hover){.tv-control-error__message a:hover{fill:#eaecef;color:#eaecef;transition-duration:.06s}}.tv-control-error__message a:focus{outline:auto}.tv-control-error__message a:focus:not(:-moz-focusring){outline:none}.tv-control-error__message a:-moz-focusring{outline:auto}.tv-control-error__message a:active{fill:#e9eff2;color:#e9eff2;transition-duration:.06s}.tv-control-error.i-error .tv-control-error__icon{opacity:1;transition-duration:.06s}.tv-control-error.i-error.i-focus .tv-control-error__width-control-wrapper{opacity:1}@media (any-hover:hover){.tv-control-error.i-error:hover .tv-control-error__width-control-wrapper{opacity:1}}.tv-control-error.i-error.i-focus .tv-control-error__messages{opacity:1;transform:scale(1) translateY(0);transition-duration:.06s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}@media (any-hover:hover){.tv-control-error.i-error:hover .tv-control-error__messages{opacity:1;transform:scale(1) translateY(0);transition-duration:.06s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}}.tv-control-error.i-error.i-focus-touch .tv-control-error__messages,.tv-control-error.i-error.i-focus-touch .tv-control-error__width-control-wrapper{opacity:1}.tv-control-error--msg_left .tv-control-error__width-control-wrapper{left:0;right:auto}.tv-control-error--msg_left .tv-control-error__messages{transform-origin:bottom left}.tv-control-error--material-input .tv-control-error__icon{top:5px}.tv-control-error__brand-dark-bg-cascade .tv-control-error__messages{background-color:#2a2c39;border:1px solid #4e5866;color:#ff4a68} \ No newline at end of file diff --git a/charting_library/bundles/5708.c3364a7566b555162c99.rtl.css b/charting_library/bundles/5708.c3364a7566b555162c99.rtl.css new file mode 100644 index 00000000..7f097a6e --- /dev/null +++ b/charting_library/bundles/5708.c3364a7566b555162c99.rtl.css @@ -0,0 +1 @@ +.tv-control-error{display:block;position:relative}.tv-control-error:after{clear:both;content:"";display:table}.tv-control-error__icon{display:block;left:1px;opacity:0;padding:7px;pointer-events:none;position:absolute;top:1px;transition:opacity .35s ease}.tv-control-error__icon svg{fill:#ff4a68;display:block;height:18px;width:18px}.tv-control-error__icon--material-input{top:5px}.tv-control-select__wrap+.tv-control-error__icon{left:33px}.tv-control-error--size_small .tv-control-error__icon{padding:5px}.tv-control-error--size_small .tv-control-error__icon svg{height:15px;width:15px}.tv-control-error--size_large .tv-control-error__icon{padding:13px}.tv-control-error--size_large .tv-control-error__icon svg{height:21px;width:21px}.tv-control-error--for-number-input .tv-control-error__icon{left:16px}.tv-control-error--fix_size .tv-control-error__width-control-wrapper{min-width:170px}.tv-control-error__width-control-wrapper{left:0;opacity:0;position:absolute;top:0;width:100%;z-index:100}.tv-control-error__width-control-wrapper--from-left{left:auto;right:0}.tv-control-error__messages{background-color:#2a2c39;border-radius:3px;bottom:100%;color:#fff;left:0;margin-bottom:1px;max-width:100%;opacity:0;padding:10px 15px;pointer-events:none;position:absolute;transform:scale(.85) translateY(3px);transform-origin:bottom left;transition:opacity .35s cubic-bezier(.215,.61,.355,1),transform .35s cubic-bezier(.215,.61,.355,1)}.tv-control-error__messages:empty{display:none}.tv-control-error__width-control-wrapper--from-left .tv-control-error__messages{left:auto;right:0;transform-origin:bottom right}.tv-control-error__message{display:block;font-size:12px;line-height:1.4;margin-bottom:10px;text-transform:none}.tv-control-error__message:last-child{margin-bottom:0}.tv-control-error__message a{color:#fff;transition:color .35s ease}.tv-control-error__message a:visited{fill:#fff;color:#fff}@media (any-hover:hover){.tv-control-error__message a:hover{fill:#eaecef;color:#eaecef;transition-duration:.06s}}.tv-control-error__message a:focus{outline:auto}.tv-control-error__message a:focus:not(:-moz-focusring){outline:none}.tv-control-error__message a:-moz-focusring{outline:auto}.tv-control-error__message a:active{fill:#e9eff2;color:#e9eff2;transition-duration:.06s}.tv-control-error.i-error .tv-control-error__icon{opacity:1;transition-duration:.06s}.tv-control-error.i-error.i-focus .tv-control-error__width-control-wrapper{opacity:1}@media (any-hover:hover){.tv-control-error.i-error:hover .tv-control-error__width-control-wrapper{opacity:1}}.tv-control-error.i-error.i-focus .tv-control-error__messages{opacity:1;transform:scale(1) translateY(0);transition-duration:.06s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}@media (any-hover:hover){.tv-control-error.i-error:hover .tv-control-error__messages{opacity:1;transform:scale(1) translateY(0);transition-duration:.06s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}}.tv-control-error.i-error.i-focus-touch .tv-control-error__messages,.tv-control-error.i-error.i-focus-touch .tv-control-error__width-control-wrapper{opacity:1}.tv-control-error--msg_left .tv-control-error__width-control-wrapper{left:auto;right:0}.tv-control-error--msg_left .tv-control-error__messages{transform-origin:bottom right}.tv-control-error--material-input .tv-control-error__icon{top:5px}.tv-control-error__brand-dark-bg-cascade .tv-control-error__messages{background-color:#2a2c39;border:1px solid #4e5866;color:#ff4a68} \ No newline at end of file diff --git a/charting_library/bundles/5733.ff2d007e3096cc677a13.css b/charting_library/bundles/5733.ff2d007e3096cc677a13.css new file mode 100644 index 00000000..ca27a929 --- /dev/null +++ b/charting_library/bundles/5733.ff2d007e3096cc677a13.css @@ -0,0 +1 @@ +.container-xBgZHjTk{display:inline-block;height:1em;line-height:1;overflow:hidden;perspective:1px;position:relative;width:1ch}.wrap-xBgZHjTk{display:flex;flex-direction:column;position:absolute}.digit-xBgZHjTk{display:inline-block;height:1em;text-align:center;width:1ch}.animated-xBgZHjTk{transition:transform .35s ease}.price-fplyypVB{align-items:center;display:inline-flex}.countdown-7K6OansE{display:grid;grid-auto-flow:column}.size-m-7K6OansE{grid-gap:8px}@media screen and (min-width:568px){.size-m-7K6OansE{grid-gap:24px}}.size-m-7K6OansE .card-7K6OansE{height:80px;min-width:70px}@media screen and (min-width:568px){.size-m-7K6OansE .card-7K6OansE{min-width:80px}}.size-s-7K6OansE{grid-gap:8px;grid-template-columns:repeat(4,minmax(56px,96px))}@media screen and (min-width:568px){.size-s-7K6OansE{grid-gap:16px}}@media screen and (min-width:768px){.size-s-7K6OansE{grid-template-columns:repeat(4,72px)}}.size-s-7K6OansE .card-7K6OansE{height:68px;min-width:auto}@media screen and (min-width:568px){.size-s-7K6OansE .card-7K6OansE{min-width:72px}}.size-custom-7K6OansE{grid-gap:var(--gap);grid-template-columns:repeat(var(--cards-count),var(--max-card-width))}.size-custom-7K6OansE .card-7K6OansE{height:var(--card-height)}.size-custom-7K6OansE .card-7K6OansE .number-7K6OansE{font-size:var(--number-font-size);height:1em;line-height:1em}.size-custom-7K6OansE .card-7K6OansE .label-7K6OansE{font-size:var(--label-font-size);line-height:1em}.card-7K6OansE{background:#fff;border-radius:6px;box-shadow:0 2px 4px #0003;box-sizing:border-box;color:#131722;display:flex;flex-flow:column nowrap;justify-content:center;padding:4px;text-align:center}html.theme-dark .card-7K6OansE{background:#2a2e39;box-shadow:0 2px 4px #0006;color:#d1d4dc}.profile-7K6OansE .card-7K6OansE{background:#e3effd;box-shadow:none;color:#131722}html.theme-dark .profile-7K6OansE .card-7K6OansE{background:#2a2e39;box-shadow:none;color:#d1d4dc}.black-friday-7K6OansE .card-7K6OansE,.cyber-monday-7K6OansE .card-7K6OansE,html.theme-dark .black-friday-7K6OansE .card-7K6OansE,html.theme-dark .cyber-monday-7K6OansE .card-7K6OansE{background:#0c0e15;box-shadow:0 2px 4px #0003;color:#fff}html.theme-dark .black-friday-7K6OansE .card-7K6OansE,html.theme-dark .cyber-monday-7K6OansE .card-7K6OansE,html.theme-dark html.theme-dark .black-friday-7K6OansE .card-7K6OansE,html.theme-dark html.theme-dark .cyber-monday-7K6OansE .card-7K6OansE{box-shadow:0 2px 4px #0006}@media screen and (max-width:479px){.card-7K6OansE{margin:0 4px;min-width:70px;padding:8px 9px}}html.theme-dark .card-7K6OansE{box-shadow:none}.number-7K6OansE{font-size:36px;font-style:normal;font-weight:600;font-weight:700;height:36px;line-height:44px;padding-bottom:4px}.size-s-7K6OansE .number-7K6OansE{font-size:24px;height:24px;line-height:24px}.label-7K6OansE{font-size:14px;line-height:21px;text-transform:uppercase}.size-s-7K6OansE .label-7K6OansE{font-size:11px;line-height:11px}.container-7Eixwdg2{display:flex;flex-flow:row nowrap;justify-content:center;margin-top:16px;padding:0 20px}@media screen and (min-width:1280px){.container-7Eixwdg2{margin-top:24px}}.countdown-ended-text-7Eixwdg2{color:#131722;font-size:24px;font-style:normal;font-weight:600;font-weight:700;line-height:32px}html.theme-dark .countdown-ended-text-7Eixwdg2{color:#d1d4dc}.upgradeNotificationDescription-N6e9zdP9{font-size:24px;line-height:36px}.countDown-N6e9zdP9{display:flex;justify-content:center;margin:24px 0 40px}.dialog-78lAG3GO{overflow-x:hidden;overflow-y:auto;padding:40px;position:relative;width:720px}@media screen and (max-width:767px){.dialog-78lAG3GO{padding:24px 20px;width:100%}}.dialog-78lAG3GO.radius-78lAG3GO{border-radius:0}.container-78lAG3GO{flex:auto;text-align:center}.closeButton-78lAG3GO{cursor:pointer;right:17px;top:17px}.wrapperImage-78lAG3GO{height:120px;margin:0 auto;width:120px}@media screen and (max-width:767px){.wrapperImage-78lAG3GO{margin-top:20px}}.title-78lAG3GO{color:#131722;font-size:36px;font-weight:700;line-height:44px;margin-top:25px}html.theme-dark .title-78lAG3GO{color:#d1d4dc}@media screen and (max-width:767px){.title-78lAG3GO{font-size:24px;line-height:32px}}.subtitle-78lAG3GO{color:#131722;font-size:18px;line-height:28px;margin-top:10px;text-align:left}html.theme-dark .subtitle-78lAG3GO{color:#d1d4dc}.description-78lAG3GO{color:#131722;font-size:18px;line-height:28px;margin-top:15px}html.theme-dark .description-78lAG3GO{color:#d1d4dc}.description-78lAG3GO a,html.theme-dark .description-78lAG3GO a{color:#2962ff}@media (any-hover:hover){.description-78lAG3GO a:hover,html.theme-dark .description-78lAG3GO a:hover{color:#1e53e5}}.description-78lAG3GO p{margin-bottom:13px}.description-78lAG3GO p:last-child{margin-bottom:0}.description-78lAG3GO.center-78lAG3GO{text-align:center}.description-78lAG3GO.left-78lAG3GO{text-align:left}.wrapperButton-78lAG3GO{align-items:center;display:flex;flex-direction:column;margin-top:40px}.actionButton-78lAG3GO{cursor:pointer;margin-bottom:13px;min-height:56px}.actionButton-78lAG3GO:last-child{margin-bottom:0}.upgrade-not-available-tlc6NtlG{font-size:18px;font-weight:700} \ No newline at end of file diff --git a/charting_library/bundles/5733.ff2d007e3096cc677a13.rtl.css b/charting_library/bundles/5733.ff2d007e3096cc677a13.rtl.css new file mode 100644 index 00000000..441702f4 --- /dev/null +++ b/charting_library/bundles/5733.ff2d007e3096cc677a13.rtl.css @@ -0,0 +1 @@ +.container-xBgZHjTk{display:inline-block;height:1em;line-height:1;overflow:hidden;perspective:1px;position:relative;width:1ch}.wrap-xBgZHjTk{display:flex;flex-direction:column;position:absolute}.digit-xBgZHjTk{display:inline-block;height:1em;text-align:center;width:1ch}.animated-xBgZHjTk{transition:transform .35s ease}.price-fplyypVB{align-items:center;direction:ltr;display:inline-flex}.countdown-7K6OansE{display:grid;grid-auto-flow:column}.size-m-7K6OansE{grid-gap:8px}@media screen and (min-width:568px){.size-m-7K6OansE{grid-gap:24px}}.size-m-7K6OansE .card-7K6OansE{height:80px;min-width:70px}@media screen and (min-width:568px){.size-m-7K6OansE .card-7K6OansE{min-width:80px}}.size-s-7K6OansE{grid-gap:8px;grid-template-columns:repeat(4,minmax(56px,96px))}@media screen and (min-width:568px){.size-s-7K6OansE{grid-gap:16px}}@media screen and (min-width:768px){.size-s-7K6OansE{grid-template-columns:repeat(4,72px)}}.size-s-7K6OansE .card-7K6OansE{height:68px;min-width:auto}@media screen and (min-width:568px){.size-s-7K6OansE .card-7K6OansE{min-width:72px}}.size-custom-7K6OansE{grid-gap:var(--gap);grid-template-columns:repeat(var(--cards-count),var(--max-card-width))}.size-custom-7K6OansE .card-7K6OansE{height:var(--card-height)}.size-custom-7K6OansE .card-7K6OansE .number-7K6OansE{font-size:var(--number-font-size);height:1em;line-height:1em}.size-custom-7K6OansE .card-7K6OansE .label-7K6OansE{font-size:var(--label-font-size);line-height:1em}.card-7K6OansE{background:#fff;border-radius:6px;box-shadow:0 2px 4px #0003;box-sizing:border-box;color:#131722;display:flex;flex-flow:column nowrap;justify-content:center;padding:4px;text-align:center}html.theme-dark .card-7K6OansE{background:#2a2e39;box-shadow:0 2px 4px #0006;color:#d1d4dc}.profile-7K6OansE .card-7K6OansE{background:#e3effd;box-shadow:none;color:#131722}html.theme-dark .profile-7K6OansE .card-7K6OansE{background:#2a2e39;box-shadow:none;color:#d1d4dc}.black-friday-7K6OansE .card-7K6OansE,.cyber-monday-7K6OansE .card-7K6OansE,html.theme-dark .black-friday-7K6OansE .card-7K6OansE,html.theme-dark .cyber-monday-7K6OansE .card-7K6OansE{background:#0c0e15;box-shadow:0 2px 4px #0003;color:#fff}html.theme-dark .black-friday-7K6OansE .card-7K6OansE,html.theme-dark .cyber-monday-7K6OansE .card-7K6OansE,html.theme-dark html.theme-dark .black-friday-7K6OansE .card-7K6OansE,html.theme-dark html.theme-dark .cyber-monday-7K6OansE .card-7K6OansE{box-shadow:0 2px 4px #0006}@media screen and (max-width:479px){.card-7K6OansE{margin:0 4px;min-width:70px;padding:8px 9px}}html.theme-dark .card-7K6OansE{box-shadow:none}.number-7K6OansE{font-size:36px;font-style:normal;font-weight:600;font-weight:700;height:36px;line-height:44px;padding-bottom:4px}.size-s-7K6OansE .number-7K6OansE{font-size:24px;height:24px;line-height:24px}.label-7K6OansE{font-size:14px;line-height:21px;text-transform:uppercase}.size-s-7K6OansE .label-7K6OansE{font-size:11px;line-height:11px}.container-7Eixwdg2{display:flex;flex-flow:row nowrap;justify-content:center;margin-top:16px;padding:0 20px}@media screen and (min-width:1280px){.container-7Eixwdg2{margin-top:24px}}.countdown-ended-text-7Eixwdg2{color:#131722;font-size:24px;font-style:normal;font-weight:600;font-weight:700;line-height:32px}html.theme-dark .countdown-ended-text-7Eixwdg2{color:#d1d4dc}.upgradeNotificationDescription-N6e9zdP9{font-size:24px;line-height:36px}.countDown-N6e9zdP9{display:flex;justify-content:center;margin:24px 0 40px}.dialog-78lAG3GO{overflow-x:hidden;overflow-y:auto;padding:40px;position:relative;width:720px}@media screen and (max-width:767px){.dialog-78lAG3GO{padding:24px 20px;width:100%}}.dialog-78lAG3GO.radius-78lAG3GO{border-radius:0}.container-78lAG3GO{flex:auto;text-align:center}.closeButton-78lAG3GO{cursor:pointer;left:17px;top:17px}.wrapperImage-78lAG3GO{height:120px;margin:0 auto;width:120px}@media screen and (max-width:767px){.wrapperImage-78lAG3GO{margin-top:20px}}.title-78lAG3GO{color:#131722;font-size:36px;font-weight:700;line-height:44px;margin-top:25px}html.theme-dark .title-78lAG3GO{color:#d1d4dc}@media screen and (max-width:767px){.title-78lAG3GO{font-size:24px;line-height:32px}}.subtitle-78lAG3GO{color:#131722;font-size:18px;line-height:28px;margin-top:10px;text-align:right}html.theme-dark .subtitle-78lAG3GO{color:#d1d4dc}.description-78lAG3GO{color:#131722;font-size:18px;line-height:28px;margin-top:15px}html.theme-dark .description-78lAG3GO{color:#d1d4dc}.description-78lAG3GO a,html.theme-dark .description-78lAG3GO a{color:#2962ff}@media (any-hover:hover){.description-78lAG3GO a:hover,html.theme-dark .description-78lAG3GO a:hover{color:#1e53e5}}.description-78lAG3GO p{margin-bottom:13px}.description-78lAG3GO p:last-child{margin-bottom:0}.description-78lAG3GO.center-78lAG3GO{text-align:center}.description-78lAG3GO.left-78lAG3GO{text-align:right}.wrapperButton-78lAG3GO{align-items:center;display:flex;flex-direction:column;margin-top:40px}.actionButton-78lAG3GO{cursor:pointer;margin-bottom:13px;min-height:56px}.actionButton-78lAG3GO:last-child{margin-bottom:0}.upgrade-not-available-tlc6NtlG{font-size:18px;font-weight:700} \ No newline at end of file diff --git a/charting_library/bundles/576e6465e16da65acd139607cb0febde.svg b/charting_library/bundles/576e6465e16da65acd139607cb0febde.svg new file mode 100644 index 00000000..cb91d6f8 --- /dev/null +++ b/charting_library/bundles/576e6465e16da65acd139607cb0febde.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5802.92bc0e290d3769e49cfb.css b/charting_library/bundles/5802.92bc0e290d3769e49cfb.css deleted file mode 100644 index cf155a19..00000000 --- a/charting_library/bundles/5802.92bc0e290d3769e49cfb.css +++ /dev/null @@ -1 +0,0 @@ -.row-9XF0QIKT{grid-gap:12px;display:grid;grid-template-columns:150px 100px;margin-bottom:16px;padding-left:20px;padding-right:20px}.mobileRow-9XF0QIKT{justify-content:flex-start;padding-left:20px}.calendar-U9DgB4FB{background-color:#fff;box-sizing:border-box;color:#131722;cursor:default;direction:ltr;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;height:100%;padding:12px;-webkit-user-select:none;user-select:none;width:286px}html.theme-dark .calendar-U9DgB4FB{background-color:#1e222d;color:#b2b5be}.popupStyle-U9DgB4FB{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003}html.theme-dark .popupStyle-U9DgB4FB{background-color:#1e222d;box-shadow:0 2px 4px #0006}.header-U9DgB4FB{align-items:center;display:flex;justify-content:space-between;padding-left:3px;padding-right:3px}.header-U9DgB4FB .title-U9DgB4FB{font-size:16px;line-height:24px;max-width:160px}.header-U9DgB4FB .switchBtn-U9DgB4FB{border-radius:4px;cursor:pointer;font-size:0;margin:-3px;padding:3px}@media (any-hover:hover){.header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#f0f3fa}html.theme-dark .header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#2a2e39}}.header-U9DgB4FB .switchBtn-U9DgB4FB.prev-U9DgB4FB{transform:scale(-1)}.month-U9DgB4FB{display:flex;flex-direction:column}.month-U9DgB4FB .weekdays-U9DgB4FB{align-items:center;background-color:#f8f9fd;border-radius:4px;display:flex;justify-content:space-between;margin-top:12px;padding-bottom:2px;padding-top:2px}html.theme-dark .month-U9DgB4FB .weekdays-U9DgB4FB{background-color:#2a2e39}.month-U9DgB4FB .weekdays-U9DgB4FB>span{color:#787b86;font-size:13px;line-height:20px;text-align:center;width:34px}.month-U9DgB4FB .weeks-U9DgB4FB{display:flex;flex-direction:column;margin-top:12px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB{display:flex;justify-content:space-between}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child .day-U9DgB4FB+.day-U9DgB4FB,.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child .day-U9DgB4FB+.day-U9DgB4FB{margin-left:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child{justify-content:flex-end}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child{justify-content:flex-start}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB+.week-U9DgB4FB{margin-top:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB{align-items:center;border-radius:4px;box-sizing:border-box;display:flex;font-size:14px;height:34px;justify-content:center;width:34px}@media (any-hover:hover){.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#f0f3fa}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#2a2e39}}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#b2b5be;cursor:not-allowed}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#50535e}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB{color:#2962ff;position:relative}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff;border-radius:1px;bottom:5px;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:20px}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#e3effd;border:2px solid #2962ff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#132042;border:2px solid #2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#e3effd}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#132042}.pickerInput-sZbzL9zH{position:relative}.pickerInput-sZbzL9zH .icon-sZbzL9zH{align-items:center;cursor:pointer;display:inline-flex;opacity:.5;padding:0 6px}.pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86;height:16px;width:16px}html.theme-dark .pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86}.pickerInput-sZbzL9zH .icon-sZbzL9zH.disabled-sZbzL9zH{opacity:.1}.picker-sZbzL9zH{transition:opacity .2625s ease;z-index:99}.fixed-sZbzL9zH{position:fixed}.absolute-sZbzL9zH{position:absolute}.nativePicker-sZbzL9zH{bottom:0;left:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;top:0}.tooltip-QKiUU4Ng{background-color:#2a2e39;border-radius:2px;color:#f0f3fa;padding:4px 8px;white-space:nowrap}html.theme-dark .tooltip-QKiUU4Ng{background-color:#434651}.container-tZN1pb1A{display:inline-block;position:relative}.icon-tZN1pb1A{color:var(--ui-lib-control-default-slot-color,currentColor);font-size:0}.tooltip-tZN1pb1A{bottom:calc(100% + 4px);left:50%;pointer-events:none;position:absolute;transform:translateX(-50%)}.date-tZN1pb1A{max-width:150px}.time-tZN1pb1A{max-width:100px}.calendar-wVs9kh0I{margin-left:8px;margin-right:8px;padding-bottom:15px;padding-top:1px}.dialogWrapper-70bfoXiO{min-width:302px}.dialogWrapperSmall-70bfoXiO{max-width:419px;width:100%}.tabs-70bfoXiO{padding-top:1px}.content-70bfoXiO{overflow:auto;padding-top:17px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .content-70bfoXiO{scrollbar-color:#363a45 #0000}.content-70bfoXiO::-webkit-scrollbar{height:5px;width:5px}.content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-70bfoXiO::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-70bfoXiO::-webkit-scrollbar-corner{display:none}.contentMobile-70bfoXiO{display:flex;flex-direction:column;flex-grow:1}.bodyWrapper-70bfoXiO{flex:0 1 201px} \ No newline at end of file diff --git a/charting_library/bundles/5802.92bc0e290d3769e49cfb.rtl.css b/charting_library/bundles/5802.92bc0e290d3769e49cfb.rtl.css deleted file mode 100644 index 39890e12..00000000 --- a/charting_library/bundles/5802.92bc0e290d3769e49cfb.rtl.css +++ /dev/null @@ -1 +0,0 @@ -.row-9XF0QIKT{grid-gap:12px;display:grid;grid-template-columns:150px 100px;margin-bottom:16px;padding-left:20px;padding-right:20px}.mobileRow-9XF0QIKT{justify-content:flex-start;padding-right:20px}.calendar-U9DgB4FB{background-color:#fff;box-sizing:border-box;color:#131722;cursor:default;direction:ltr;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;height:100%;padding:12px;-webkit-user-select:none;user-select:none;width:286px}html.theme-dark .calendar-U9DgB4FB{background-color:#1e222d;color:#b2b5be}.popupStyle-U9DgB4FB{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003}html.theme-dark .popupStyle-U9DgB4FB{background-color:#1e222d;box-shadow:0 2px 4px #0006}.header-U9DgB4FB{align-items:center;display:flex;justify-content:space-between;padding-left:3px;padding-right:3px}.header-U9DgB4FB .title-U9DgB4FB{font-size:16px;line-height:24px;max-width:160px}.header-U9DgB4FB .switchBtn-U9DgB4FB{border-radius:4px;cursor:pointer;font-size:0;margin:-3px;padding:3px}@media (any-hover:hover){.header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#f0f3fa}html.theme-dark .header-U9DgB4FB .switchBtn-U9DgB4FB:hover{background-color:#2a2e39}}.header-U9DgB4FB .switchBtn-U9DgB4FB.prev-U9DgB4FB{transform:scale(-1)}.month-U9DgB4FB{display:flex;flex-direction:column}.month-U9DgB4FB .weekdays-U9DgB4FB{align-items:center;background-color:#f8f9fd;border-radius:4px;display:flex;justify-content:space-between;margin-top:12px;padding-bottom:2px;padding-top:2px}html.theme-dark .month-U9DgB4FB .weekdays-U9DgB4FB{background-color:#2a2e39}.month-U9DgB4FB .weekdays-U9DgB4FB>span{color:#787b86;font-size:13px;line-height:20px;text-align:center;width:34px}.month-U9DgB4FB .weeks-U9DgB4FB{display:flex;flex-direction:column;margin-top:12px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB{display:flex;justify-content:space-between}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child .day-U9DgB4FB+.day-U9DgB4FB,.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child .day-U9DgB4FB+.day-U9DgB4FB{margin-right:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:first-child{justify-content:flex-end}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB:last-child{justify-content:flex-start}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB+.week-U9DgB4FB{margin-top:4px}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB{align-items:center;border-radius:4px;box-sizing:border-box;display:flex;font-size:14px;height:34px;justify-content:center;width:34px}@media (any-hover:hover){.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#f0f3fa}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB:hover:not(.disabled-U9DgB4FB):not(.selected-U9DgB4FB){background-color:#2a2e39}}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#b2b5be;cursor:not-allowed}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.disabled-U9DgB4FB{color:#50535e}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB{color:#2962ff;position:relative}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff;border-radius:1px;bottom:5px;content:"";height:2px;position:absolute;right:50%;transform:translateX(50%);width:20px}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#e3effd;border:2px solid #2962ff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.isOnHighlightedEdge-U9DgB4FB:not(.selected-U9DgB4FB){background-color:#132042;border:2px solid #2962ff}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB{background-color:#2962ff;color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#fff}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.selected-U9DgB4FB.currentDay-U9DgB4FB:after{background-color:#f0f3fa}.month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#e3effd}html.theme-dark .month-U9DgB4FB .weeks-U9DgB4FB .week-U9DgB4FB .day-U9DgB4FB.withinSelectedRange-U9DgB4FB{background-color:#132042}.pickerInput-sZbzL9zH{position:relative}.pickerInput-sZbzL9zH .icon-sZbzL9zH{align-items:center;cursor:pointer;display:inline-flex;opacity:.5;padding:0 6px}.pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86;height:16px;width:16px}html.theme-dark .pickerInput-sZbzL9zH .icon-sZbzL9zH svg{fill:#787b86}.pickerInput-sZbzL9zH .icon-sZbzL9zH.disabled-sZbzL9zH{opacity:.1}.picker-sZbzL9zH{transition:opacity .2625s ease;z-index:99}.fixed-sZbzL9zH{position:fixed}.absolute-sZbzL9zH{position:absolute}.nativePicker-sZbzL9zH{bottom:0;margin:0;max-width:100%;min-width:100%;opacity:0;position:absolute;right:0;top:0}.tooltip-QKiUU4Ng{background-color:#2a2e39;border-radius:2px;color:#f0f3fa;padding:4px 8px;white-space:nowrap}html.theme-dark .tooltip-QKiUU4Ng{background-color:#434651}.container-tZN1pb1A{display:inline-block;position:relative}.icon-tZN1pb1A{color:var(--ui-lib-control-default-slot-color,currentColor);font-size:0}.tooltip-tZN1pb1A{bottom:calc(100% + 4px);pointer-events:none;position:absolute;right:50%;transform:translateX(50%)}.date-tZN1pb1A{max-width:150px}.time-tZN1pb1A{max-width:100px}.calendar-wVs9kh0I{margin-left:8px;margin-right:8px;padding-bottom:15px;padding-top:1px}.dialogWrapper-70bfoXiO{min-width:302px}.dialogWrapperSmall-70bfoXiO{max-width:419px;width:100%}.tabs-70bfoXiO{padding-top:1px}.content-70bfoXiO{overflow:auto;padding-top:17px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .content-70bfoXiO{scrollbar-color:#363a45 #0000}.content-70bfoXiO::-webkit-scrollbar{height:5px;width:5px}.content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-70bfoXiO::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-70bfoXiO::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-70bfoXiO::-webkit-scrollbar-corner{display:none}.contentMobile-70bfoXiO{display:flex;flex-direction:column;flex-grow:1}.bodyWrapper-70bfoXiO{flex:0 1 201px} \ No newline at end of file diff --git a/charting_library/bundles/5824a756d7227972e0d24375246ee236.svg b/charting_library/bundles/5824a756d7227972e0d24375246ee236.svg new file mode 100644 index 00000000..66cf744d --- /dev/null +++ b/charting_library/bundles/5824a756d7227972e0d24375246ee236.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5835.ed17059c36bd9c957c54.css b/charting_library/bundles/5835.ed17059c36bd9c957c54.css new file mode 100644 index 00000000..99f4f0b6 --- /dev/null +++ b/charting_library/bundles/5835.ed17059c36bd9c957c54.css @@ -0,0 +1 @@ +.container-4Rvuptlt{bottom:70px;display:flex;justify-content:center;left:10px;pointer-events:none;position:absolute;right:10px}.centerElement-4Rvuptlt{pointer-events:auto;z-index:1}.text-4Rvuptlt{word-wrap:break-word;color:#fff;font-size:14px;line-height:21px;margin-bottom:auto} \ No newline at end of file diff --git a/charting_library/bundles/5835.ed17059c36bd9c957c54.rtl.css b/charting_library/bundles/5835.ed17059c36bd9c957c54.rtl.css new file mode 100644 index 00000000..99f4f0b6 --- /dev/null +++ b/charting_library/bundles/5835.ed17059c36bd9c957c54.rtl.css @@ -0,0 +1 @@ +.container-4Rvuptlt{bottom:70px;display:flex;justify-content:center;left:10px;pointer-events:none;position:absolute;right:10px}.centerElement-4Rvuptlt{pointer-events:auto;z-index:1}.text-4Rvuptlt{word-wrap:break-word;color:#fff;font-size:14px;line-height:21px;margin-bottom:auto} \ No newline at end of file diff --git a/charting_library/bundles/584a79e77d4432cf0ca27a1063d9ba0d.svg b/charting_library/bundles/584a79e77d4432cf0ca27a1063d9ba0d.svg new file mode 100644 index 00000000..add1b574 --- /dev/null +++ b/charting_library/bundles/584a79e77d4432cf0ca27a1063d9ba0d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5904.25a33d6d7b0935e49721.css b/charting_library/bundles/5904.25a33d6d7b0935e49721.css new file mode 100644 index 00000000..02a28684 --- /dev/null +++ b/charting_library/bundles/5904.25a33d6d7b0935e49721.css @@ -0,0 +1 @@ +.tv-trial-dialog-success__header{margin-top:0}.tv-trial-dialog-success .tv-trial-dialog-success__subtitle{margin-bottom:20px}.tv-trial-dialog-success__section{border-bottom:1px solid #e0e3eb;padding:40px 40px 0}html.theme-dark .tv-trial-dialog-success__section{border-bottom-color:#363a45}.tv-trial-dialog-success__section--last,.tv-trial-dialog-success__section--no-border,.tv-trial-dialog-success__section:last-child{border-bottom:none!important}@media screen and (max-width:767px){.tv-trial-dialog-success__section{padding:20px}}.tv-trial-dialog-success__section--no-padding_bottom{padding-bottom:0}.tv-trial-dialog-success__section--actions{box-sizing:border-box;display:inline-block;padding-bottom:40px;text-align:right;white-space:nowrap;width:100%}.tv-trial-dialog-success__section--actions_with-help:after{clear:both;content:"";display:table}.tv-trial-dialog-success__section--actions_with-border{border-top:1px solid #e0e3eb;padding-top:29px}html.theme-dark .tv-trial-dialog-success__section--actions_with-border{border-top-color:#363a45}@media screen and (max-width:767px){.tv-trial-dialog-success__section--actions_with-border{padding:19px}}.tv-trial-dialog-success__section--actions_multiline{padding-top:24px;white-space:normal}@media screen and (max-width:479px){.tv-trial-dialog-success__section--actions_multiline{padding-top:20px}}.tv-trial-dialog-success__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:24px;width:100%}@media screen and (max-width:479px){.tv-trial-dialog-success__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:0}.tv-trial-dialog-success__section--actions-adaptive{display:flex;flex-flow:column-reverse wrap}.tv-trial-dialog-success__section--actions-adaptive .tv-button{margin-top:10px}.tv-trial-dialog-success__section--actions-adaptive .tv-control-checkbox{order:1}.tv-trial-dialog-success__section--actions-adaptive .tv-button:first-child,.tv-trial-dialog-success__section--actions-adaptive .tv-button:last-child{margin-left:0}}.tv-trial-dialog-success__section--title{padding-right:70px}.tv-trial-dialog-success__section--one-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-trial-dialog-success__section--actions{padding:10px 40px 40px} \ No newline at end of file diff --git a/charting_library/bundles/5904.25a33d6d7b0935e49721.rtl.css b/charting_library/bundles/5904.25a33d6d7b0935e49721.rtl.css new file mode 100644 index 00000000..48841b96 --- /dev/null +++ b/charting_library/bundles/5904.25a33d6d7b0935e49721.rtl.css @@ -0,0 +1 @@ +.tv-trial-dialog-success__header{margin-top:0}.tv-trial-dialog-success .tv-trial-dialog-success__subtitle{margin-bottom:20px}.tv-trial-dialog-success__section{border-bottom:1px solid #e0e3eb;padding:40px 40px 0}html.theme-dark .tv-trial-dialog-success__section{border-bottom-color:#363a45}.tv-trial-dialog-success__section--last,.tv-trial-dialog-success__section--no-border,.tv-trial-dialog-success__section:last-child{border-bottom:none!important}@media screen and (max-width:767px){.tv-trial-dialog-success__section{padding:20px}}.tv-trial-dialog-success__section--no-padding_bottom{padding-bottom:0}.tv-trial-dialog-success__section--actions{box-sizing:border-box;display:inline-block;padding-bottom:40px;text-align:left;white-space:nowrap;width:100%}.tv-trial-dialog-success__section--actions_with-help:after{clear:both;content:"";display:table}.tv-trial-dialog-success__section--actions_with-border{border-top:1px solid #e0e3eb;padding-top:29px}html.theme-dark .tv-trial-dialog-success__section--actions_with-border{border-top-color:#363a45}@media screen and (max-width:767px){.tv-trial-dialog-success__section--actions_with-border{padding:19px}}.tv-trial-dialog-success__section--actions_multiline{padding-top:24px;white-space:normal}@media screen and (max-width:479px){.tv-trial-dialog-success__section--actions_multiline{padding-top:20px}}.tv-trial-dialog-success__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:24px;width:100%}@media screen and (max-width:479px){.tv-trial-dialog-success__section--actions_multiline .tv-control-checkbox--do-not-show-again{margin-bottom:0}.tv-trial-dialog-success__section--actions-adaptive{display:flex;flex-flow:column-reverse wrap}.tv-trial-dialog-success__section--actions-adaptive .tv-button{margin-top:10px}.tv-trial-dialog-success__section--actions-adaptive .tv-control-checkbox{order:1}.tv-trial-dialog-success__section--actions-adaptive .tv-button:first-child,.tv-trial-dialog-success__section--actions-adaptive .tv-button:last-child{margin-right:0}}.tv-trial-dialog-success__section--title{padding-left:70px}.tv-trial-dialog-success__section--one-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-trial-dialog-success__section--actions{padding:10px 40px 40px} \ No newline at end of file diff --git a/charting_library/bundles/5911.25d75d2a641c68537541.css b/charting_library/bundles/5911.25d75d2a641c68537541.css new file mode 100644 index 00000000..d25e2708 --- /dev/null +++ b/charting_library/bundles/5911.25d75d2a641c68537541.css @@ -0,0 +1 @@ +.cyber-monday-button-YrzjxNPj{--ui-lib-button-color-border:#00e5ff;--ui-lib-button-color-focus-outline:#00e5ffcc}.cyber-monday-button-YrzjxNPj:active{--ui-lib-button-color-bg:#00b8d4;--ui-lib-button-color-border:#00b8d4}@media (any-hover:hover){.cyber-monday-button-YrzjxNPj:hover{--ui-lib-button-color-bg:#00b8d4;--ui-lib-button-color-border:#00b8d4}}.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj{--ui-lib-button-color-bg:#00e5ff}.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj,.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj:active{--ui-lib-button-color-content:#131722}@media (any-hover:hover){.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj:hover{--ui-lib-button-color-content:#131722}}.cyber-monday-button-YrzjxNPj.variant-secondary-YrzjxNPj{--ui-lib-button-color-content:#00e5ff}.cyber-monday-button-YrzjxNPj.variant-secondary-YrzjxNPj:active{--ui-lib-button-color-content:#131722}@media (any-hover:hover){.cyber-monday-button-YrzjxNPj.variant-secondary-YrzjxNPj:hover{--ui-lib-button-color-content:#131722}}.title-sE9E93fC{color:#f23645;font-family:EuclidCircularLatinBold,sans-serif;font-weight:600;line-height:1em;text-transform:uppercase}@media screen and (min-width:768px){.title-sE9E93fC{font-size:36px}}@media screen and (min-width:1280px){.title-sE9E93fC{font-size:48px}}.title-sE9E93fC.cyber_monday-sE9E93fC{color:#00e5ff}.offer-sE9E93fC{color:#fff}.up-to-v4RmmzYp{color:#d1d4dc;font-size:18px;line-height:28px;margin-top:8px}@media screen and (min-width:768px){.up-to-v4RmmzYp{margin-top:16px}}.off-v4RmmzYp{color:#fff;font-family:EuclidCircularLatinBold,sans-serif;font-size:48px;font-weight:600;line-height:1em;text-transform:uppercase;word-spacing:-10px}@media screen and (min-width:768px){.off-v4RmmzYp{font-size:64px}}@media screen and (min-width:1280px){.off-v4RmmzYp{font-size:100px}}.free-month-v4RmmzYp{font-feature-settings:"tnum" on,"lnum" on;color:#f23645;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;text-transform:uppercase}.cyber_monday-v4RmmzYp .free-month-v4RmmzYp{color:#00e5ff}.countdown-MqLubNEz{margin-top:8px}@media screen and (min-width:568px){.countdown-MqLubNEz{max-width:368px}}.offer-ends-MqLubNEz{color:#d1d4dc;font-size:18px;letter-spacing:-.4px;line-height:28px;text-align:center}.background-19guwtkm{bottom:0;display:flex;justify-content:center;left:0;overflow:hidden;position:absolute;right:0;top:0}.background-19guwtkm.page-19guwtkm{top:-64px}.picture-19guwtkm{align-items:flex-start;display:flex;justify-content:stretch;position:relative}.background-img-19guwtkm{position:relative}.vertical-stretch-19guwtkm .background-img-19guwtkm{min-height:100%}.center-19guwtkm .background-img-19guwtkm{top:50%;transform:translateY(-50%)}.bottom-19guwtkm .background-img-19guwtkm{top:100%;transform:translateY(-100%)}.source-19guwtkm{position:absolute}.gradient-19guwtkm{bottom:0;left:0;position:absolute;right:0;top:0}.banner-main-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 320px)}@media screen and (min-width:568px){.banner-main-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 240px)}}@media screen and (min-width:1920px){.banner-main-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 320px)}}.banner-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 160px)}.dialog-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 65px)}@media screen and (min-width:320px){.dialog-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 246px)}}@media screen and (min-width:768px){.dialog-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 200px)}}@font-face{font-display:swap;font-family:EuclidCircularLatinBold;font-style:normal;font-weight:600;src:url(cddf468f55cf701e442982e83f9a67f6.woff2) format("woff2")}.banner-VFW2MkIn{background-color:#000;box-sizing:border-box;padding-left:20px;padding-right:20px;position:relative}.banner-VFW2MkIn.in-dialog-VFW2MkIn{padding-bottom:var(--v-rhythm-spacing-4-phone);padding-top:var(--v-rhythm-header-1-space-phone)}.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-bottom:var(--v-rhythm-spacing-4);padding-top:var(--v-rhythm-spacing-4)}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-left:32px;padding-right:32px}}@media screen and (min-width:1440px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-left:40px;padding-right:40px}}@media screen and (min-width:1920px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-left:100px;padding-right:100px}}.container-VFW2MkIn{grid-gap:16px;display:grid;justify-content:center;margin:0 auto;max-width:1152px;position:relative}@media screen and (min-width:768px){.container-VFW2MkIn{grid-gap:24px}}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{grid-auto-flow:column;justify-content:space-between}}@media screen and (min-width:1440px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{max-width:1280px}}@media screen and (min-width:1920px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{max-width:1520px}}@media screen and (min-width:2560px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{max-width:1880px}}.title-group-VFW2MkIn{text-align:center}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .title-group-VFW2MkIn{text-align:left}}.actions-wrapper-VFW2MkIn{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.learn-more-VFW2MkIn{margin-top:32px}@media screen and (min-width:768px){.learn-more-VFW2MkIn{margin-top:40px}}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .learn-more-VFW2MkIn{margin-top:16px;width:100%}}.dialog-close-VulYnFJT.close-VulYnFJT{color:#d1d4dc;height:16px;opacity:1;padding:15px;right:16px;top:16px;transition:color .35s ease;width:16px}.dialog-close-VulYnFJT.close-VulYnFJT svg{height:100%;width:100%}@media (any-hover:hover){.dialog-close-VulYnFJT.close-VulYnFJT:hover{color:#f8f9fd}}.tv-dialog-VulYnFJT.tv-blackfriday-popup-VulYnFJT{padding:0}@media screen and (max-width:767px){.modal-body-VulYnFJT{padding:0}.banner-VulYnFJT{align-items:center;display:flex;min-height:100vh}} \ No newline at end of file diff --git a/charting_library/bundles/5911.25d75d2a641c68537541.rtl.css b/charting_library/bundles/5911.25d75d2a641c68537541.rtl.css new file mode 100644 index 00000000..8da72f1b --- /dev/null +++ b/charting_library/bundles/5911.25d75d2a641c68537541.rtl.css @@ -0,0 +1 @@ +.cyber-monday-button-YrzjxNPj{--ui-lib-button-color-border:#00e5ff;--ui-lib-button-color-focus-outline:#00e5ffcc}.cyber-monday-button-YrzjxNPj:active{--ui-lib-button-color-bg:#00b8d4;--ui-lib-button-color-border:#00b8d4}@media (any-hover:hover){.cyber-monday-button-YrzjxNPj:hover{--ui-lib-button-color-bg:#00b8d4;--ui-lib-button-color-border:#00b8d4}}.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj{--ui-lib-button-color-bg:#00e5ff}.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj,.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj:active{--ui-lib-button-color-content:#131722}@media (any-hover:hover){.cyber-monday-button-YrzjxNPj.variant-primary-YrzjxNPj:hover{--ui-lib-button-color-content:#131722}}.cyber-monday-button-YrzjxNPj.variant-secondary-YrzjxNPj{--ui-lib-button-color-content:#00e5ff}.cyber-monday-button-YrzjxNPj.variant-secondary-YrzjxNPj:active{--ui-lib-button-color-content:#131722}@media (any-hover:hover){.cyber-monday-button-YrzjxNPj.variant-secondary-YrzjxNPj:hover{--ui-lib-button-color-content:#131722}}.title-sE9E93fC{color:#f23645;font-family:EuclidCircularLatinBold,sans-serif;font-weight:600;line-height:1em;text-transform:uppercase}@media screen and (min-width:768px){.title-sE9E93fC{font-size:36px}}@media screen and (min-width:1280px){.title-sE9E93fC{font-size:48px}}.title-sE9E93fC.cyber_monday-sE9E93fC{color:#00e5ff}.offer-sE9E93fC{color:#fff}.up-to-v4RmmzYp{color:#d1d4dc;font-size:18px;line-height:28px;margin-top:8px}@media screen and (min-width:768px){.up-to-v4RmmzYp{margin-top:16px}}.off-v4RmmzYp{color:#fff;font-family:EuclidCircularLatinBold,sans-serif;font-size:48px;font-weight:600;line-height:1em;text-transform:uppercase;word-spacing:-10px}@media screen and (min-width:768px){.off-v4RmmzYp{font-size:64px}}@media screen and (min-width:1280px){.off-v4RmmzYp{font-size:100px}}.free-month-v4RmmzYp{font-feature-settings:"tnum" on,"lnum" on;color:#f23645;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;text-transform:uppercase}.cyber_monday-v4RmmzYp .free-month-v4RmmzYp{color:#00e5ff}.countdown-MqLubNEz{margin-top:8px}@media screen and (min-width:568px){.countdown-MqLubNEz{max-width:368px}}.offer-ends-MqLubNEz{color:#d1d4dc;font-size:18px;letter-spacing:-.4px;line-height:28px;text-align:center}.background-19guwtkm{bottom:0;display:flex;justify-content:center;left:0;overflow:hidden;position:absolute;right:0;top:0}.background-19guwtkm.page-19guwtkm{top:-64px}.picture-19guwtkm{align-items:flex-start;display:flex;justify-content:stretch;position:relative}.background-img-19guwtkm{position:relative}.vertical-stretch-19guwtkm .background-img-19guwtkm{min-height:100%}.center-19guwtkm .background-img-19guwtkm{top:50%;transform:translateY(-50%)}.bottom-19guwtkm .background-img-19guwtkm{top:100%;transform:translateY(-100%)}.source-19guwtkm{position:absolute}.gradient-19guwtkm{bottom:0;left:0;position:absolute;right:0;top:0}.banner-main-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 320px)}@media screen and (min-width:568px){.banner-main-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 240px)}}@media screen and (min-width:1920px){.banner-main-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 320px)}}.banner-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 160px)}.dialog-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 65px)}@media screen and (min-width:320px){.dialog-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 246px)}}@media screen and (min-width:768px){.dialog-19guwtkm .gradient-19guwtkm{background:linear-gradient(0deg,#000,#0000 200px)}}@font-face{font-display:swap;font-family:EuclidCircularLatinBold;font-style:normal;font-weight:600;src:url(cddf468f55cf701e442982e83f9a67f6.woff2) format("woff2")}.banner-VFW2MkIn{background-color:#000;box-sizing:border-box;padding-left:20px;padding-right:20px;position:relative}.banner-VFW2MkIn.in-dialog-VFW2MkIn{padding-bottom:var(--v-rhythm-spacing-4-phone);padding-top:var(--v-rhythm-header-1-space-phone)}.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-bottom:var(--v-rhythm-spacing-4);padding-top:var(--v-rhythm-spacing-4)}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-left:32px;padding-right:32px}}@media screen and (min-width:1440px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-left:40px;padding-right:40px}}@media screen and (min-width:1920px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn){padding-left:100px;padding-right:100px}}.container-VFW2MkIn{grid-gap:16px;display:grid;justify-content:center;margin:0 auto;max-width:1152px;position:relative}@media screen and (min-width:768px){.container-VFW2MkIn{grid-gap:24px}}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{grid-auto-flow:column;justify-content:space-between}}@media screen and (min-width:1440px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{max-width:1280px}}@media screen and (min-width:1920px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{max-width:1520px}}@media screen and (min-width:2560px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .container-VFW2MkIn{max-width:1880px}}.title-group-VFW2MkIn{text-align:center}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .title-group-VFW2MkIn{text-align:right}}.actions-wrapper-VFW2MkIn{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.learn-more-VFW2MkIn{margin-top:32px}@media screen and (min-width:768px){.learn-more-VFW2MkIn{margin-top:40px}}@media screen and (min-width:1280px){.banner-VFW2MkIn:not(.in-dialog-VFW2MkIn) .learn-more-VFW2MkIn{margin-top:16px;width:100%}}.dialog-close-VulYnFJT.close-VulYnFJT{color:#d1d4dc;height:16px;left:16px;opacity:1;padding:15px;top:16px;transition:color .35s ease;width:16px}.dialog-close-VulYnFJT.close-VulYnFJT svg{height:100%;width:100%}@media (any-hover:hover){.dialog-close-VulYnFJT.close-VulYnFJT:hover{color:#f8f9fd}}.tv-dialog-VulYnFJT.tv-blackfriday-popup-VulYnFJT{padding:0}@media screen and (max-width:767px){.modal-body-VulYnFJT{padding:0}.banner-VulYnFJT{align-items:center;display:flex;min-height:100vh}} \ No newline at end of file diff --git a/charting_library/bundles/5962c52be69d3c2cb79834452a20bf16.svg b/charting_library/bundles/5962c52be69d3c2cb79834452a20bf16.svg new file mode 100644 index 00000000..bd599f19 --- /dev/null +++ b/charting_library/bundles/5962c52be69d3c2cb79834452a20bf16.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.css b/charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.css new file mode 100644 index 00000000..eee0e3a6 --- /dev/null +++ b/charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.css @@ -0,0 +1 @@ +code[class*=language-],pre[class*=language-]{word-wrap:normal;background:none;color:#000;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;-webkit-hyphens:none;hyphens:none;line-height:1.5;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal}pre[class*=language-]{margin:.5em 0;overflow:visible;padding:1px;position:relative}pre[class*=language-]>code{background-attachment:local;background-color:#fdfdfd;background-image:linear-gradient(#0000 50%,#458ed10a 0);background-origin:content-box;background-size:3em 3em;border-left:10px solid #358ccb;box-shadow:-1px 0 0 0 #358ccb,0 0 0 1px #dfdfdf;position:relative;z-index:1}code[class*=language-]{display:block;height:inherit;max-height:inherit;overflow:auto;padding:0 1em}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#fdfdfd;box-sizing:border-box;margin-bottom:1em}:not(pre)>code[class*=language-]{border:1px solid #0000001a;border-radius:.3em;color:#c92c2c;display:inline;padding:.2em;position:relative;white-space:normal}pre[class*=language-]:after,pre[class*=language-]:before{bottom:.75em;box-shadow:0 13px 8px #979797;content:"";display:block;height:20%;left:.18em;max-height:13em;position:absolute;transform:rotate(-2deg);width:40%}pre[class*=language-]:after{left:auto;right:.75em;transform:rotate(2deg)}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#7d8b99}.token.punctuation{color:#5f6364}.token.boolean,.token.constant,.token.deleted,.token.function-name,.token.number,.token.property,.token.symbol,.token.tag{color:#c92c2c}.token.attr-name,.token.builtin,.token.char,.token.function,.token.inserted,.token.selector,.token.string{color:#2f9c0a}.token.entity,.token.operator,.token.url,.token.variable{background:#ffffff80;color:#a67f59}.token.atrule,.token.attr-value,.token.class-name,.token.keyword{color:#1990b8}.token.important,.token.regex{color:#e90}.language-css .token.string,.style .token.string{background:#ffffff80;color:#a67f59}.token.important{font-weight:400}.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.7}@media screen and (max-width:767px){pre[class*=language-]:after,pre[class*=language-]:before{bottom:14px;box-shadow:none}}pre[class*=language-].line-numbers.line-numbers{padding-left:0}pre[class*=language-].line-numbers.line-numbers code{padding-left:3.8em}pre[class*=language-].line-numbers.line-numbers .line-numbers-rows{left:0}pre[class*=language-][data-line]{padding-bottom:0;padding-left:0;padding-top:0}pre[data-line] code{padding-left:4em;position:relative}pre .line-highlight{margin-top:0}code[class*=language-],pre[class*=language-]{font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace} \ No newline at end of file diff --git a/charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.rtl.css b/charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.rtl.css new file mode 100644 index 00000000..7f31154f --- /dev/null +++ b/charting_library/bundles/5971.b0e199fd9ea9b0b05ed7.rtl.css @@ -0,0 +1 @@ +code[class*=language-],pre[class*=language-]{word-wrap:normal;background:none;color:#000;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;-webkit-hyphens:none;hyphens:none;line-height:1.5;tab-size:4;text-align:right;white-space:pre;word-break:normal;word-spacing:normal}pre[class*=language-]{margin:.5em 0;overflow:visible;padding:1px;position:relative}pre[class*=language-]>code{background-attachment:local;background-color:#fdfdfd;background-image:linear-gradient(#0000 50%,#458ed10a 0);background-origin:content-box;background-size:3em 3em;border-right:10px solid #358ccb;box-shadow:1px 0 0 0 #358ccb,0 0 0 1px #dfdfdf;position:relative;z-index:1}code[class*=language-]{display:block;height:inherit;max-height:inherit;overflow:auto;padding:0 1em}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#fdfdfd;box-sizing:border-box;margin-bottom:1em}:not(pre)>code[class*=language-]{border:1px solid #0000001a;border-radius:.3em;color:#c92c2c;display:inline;padding:.2em;position:relative;white-space:normal}pre[class*=language-]:after,pre[class*=language-]:before{bottom:.75em;box-shadow:0 13px 8px #979797;content:"";display:block;height:20%;max-height:13em;position:absolute;right:.18em;transform:rotate(2deg);width:40%}pre[class*=language-]:after{left:.75em;right:auto;transform:rotate(-2deg)}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#7d8b99}.token.punctuation{color:#5f6364}.token.boolean,.token.constant,.token.deleted,.token.function-name,.token.number,.token.property,.token.symbol,.token.tag{color:#c92c2c}.token.attr-name,.token.builtin,.token.char,.token.function,.token.inserted,.token.selector,.token.string{color:#2f9c0a}.token.entity,.token.operator,.token.url,.token.variable{background:#ffffff80;color:#a67f59}.token.atrule,.token.attr-value,.token.class-name,.token.keyword{color:#1990b8}.token.important,.token.regex{color:#e90}.language-css .token.string,.style .token.string{background:#ffffff80;color:#a67f59}.token.important{font-weight:400}.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.7}@media screen and (max-width:767px){pre[class*=language-]:after,pre[class*=language-]:before{bottom:14px;box-shadow:none}}pre[class*=language-].line-numbers.line-numbers{padding-right:0}pre[class*=language-].line-numbers.line-numbers code{padding-right:3.8em}pre[class*=language-].line-numbers.line-numbers .line-numbers-rows{right:0}pre[class*=language-][data-line]{padding-bottom:0;padding-right:0;padding-top:0}pre[data-line] code{padding-right:4em;position:relative}pre .line-highlight{margin-top:0}code[class*=language-],pre[class*=language-]{font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace} \ No newline at end of file diff --git a/charting_library/bundles/5980ed8829231afb216d42cd14dfc746.svg b/charting_library/bundles/5980ed8829231afb216d42cd14dfc746.svg new file mode 100644 index 00000000..6c77916e --- /dev/null +++ b/charting_library/bundles/5980ed8829231afb216d42cd14dfc746.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5995.3a632f64335891f1e50f.js b/charting_library/bundles/5995.3a632f64335891f1e50f.js new file mode 100644 index 00000000..73d3a821 --- /dev/null +++ b/charting_library/bundles/5995.3a632f64335891f1e50f.js @@ -0,0 +1,13 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5995],{13398:function(e,t){var i,n,r,s;s=function(e){var t=Object.prototype.toString,i=Array.isArray||function(e){return"[object Array]"===t.call(e)};function n(e){return"function"==typeof e}function r(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function s(e,t){return null!=e&&"object"==typeof e&&t in e}var o=RegExp.prototype.test,l=/\S/;function a(e){return!function(e,t){return o.call(e,t)}(l,e)}var u={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},p=/\s*/,c=/\s+/,h=/\s*=/,d=/\s*\}/,f=/#|\^|\/|>|\{|&|=|!/;function m(e){this.string=e,this.tail=e,this.pos=0}function g(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function v(){this.cache={}}m.prototype.eos=function(){return""===this.tail},m.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var i=t[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i},m.prototype.scanUntil=function(e){var t,i=this.tail.search(e);switch(i){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=t.length,t},g.prototype.push=function(e){return new g(e,this)},g.prototype.lookup=function(e){var t,i=this.cache;if(i.hasOwnProperty(e))t=i[e];else{for(var r,o,l=this,a=!1;l;){if(e.indexOf(".")>0)for(t=l.view,r=e.split("."),o=0;null!=t&&o0?r[r.length-1][4]:i;break;default:n.push(t)}return i +}(function(e){for(var t,i,n=[],r=0,s=e.length;r"===s?o=this.renderPartial(r,t,i,n):"&"===s?o=this.unescapedValue(r,t):"name"===s?o=this.escapedValue(r,t):"text"===s&&(o=this.rawValue(r)),void 0!==o&&(l+=o);return l},v.prototype.renderSection=function(e,t,r,s){var o=this,l="",a=t.lookup(e[1]);if(a){if(i(a))for(var u=0,p=a.length;u"'`=\/]/g,(function(e){return u[e]}))},e.Scanner=m,e.Context=g,e.Writer=v},t&&"string"!=typeof t.nodeName?s(t):(n=[t],void 0===(r="function"==typeof(i=s)?i.apply(t,n):i)||(e.exports=r))},62974:function(e,t,i){e=i.nmd(e);var n=i(23127);(function(){var t,i,r,s,o,l,a,u,p=[].slice,c={}.hasOwnProperty;a=function(){},i=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,i,n,r;if(i=arguments[0],e=2<=arguments.length?p.call(arguments,1):[],this._callbacks=this._callbacks||{},t=this._callbacks[i])for(n=0,r=t.length;n
'),this.element.appendChild(t)),(i=t.getElementsByTagName("span")[0])&&(i.textContent=this.options.dictFallbackMessage),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,i,n;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},i=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=i*t.optHeight:null==t.optHeight&&(t.optHeight=1/i*t.optWidth),n=t.optWidth/t.optHeight,e.heightn?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*n):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/n),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:a,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var t,i,n,s,o,l,a,u,p,c,h,d,f;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=r.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),n=0,l=(p=e.previewElement.querySelectorAll("[data-dz-name]")).length;n'+this.options.dictRemoveFile+"
"), +e.previewElement.appendChild(e._removeLink)),f=this,t=function(t){return t.preventDefault(),t.stopPropagation(),e.status===r.UPLOADING?r.confirm(f.options.dictCancelUploadConfirmation,(function(){return f.removeFile(e)})):f.options.dictRemoveFileConfirmation?r.confirm(f.options.dictRemoveFileConfirmation,(function(){return f.removeFile(e)})):f.removeFile(e)},d=[],o=0,u=(h=e.previewElement.querySelectorAll("[data-dz-remove]")).length;o\n
\n
\n
\n
\n
\n
\n
\n
\n \n Check\n \n \n \n \n \n
\n
\n \n Error\n \n \n \n \n \n \n \n
\n
' +},t=function(){var e,t,i,n,r,s,o;for(n=arguments[0],s=0,o=(i=2<=arguments.length?p.call(arguments,1):[]).length;s'+this.options.dictDefaultMessage+"
")),this.clickableElements.length&&(a=this,(i=function(){return a.hiddenFileInput&&document.body.removeChild(a.hiddenFileInput),a.hiddenFileInput=document.createElement("input"),a.hiddenFileInput.setAttribute("type","file"),(null==a.options.maxFiles||a.options.maxFiles>1)&&a.hiddenFileInput.setAttribute("multiple","multiple"),a.hiddenFileInput.className="dz-hidden-input",null!=a.options.acceptedFiles&&a.hiddenFileInput.setAttribute("accept",a.options.acceptedFiles),null!=a.options.capture&&a.hiddenFileInput.setAttribute("capture",a.options.capture),a.hiddenFileInput.style.visibility="hidden",a.hiddenFileInput.style.position="absolute",a.hiddenFileInput.style.top="0",a.hiddenFileInput.style.left="0",a.hiddenFileInput.style.height="0",a.hiddenFileInput.style.width="0",document.body.appendChild(a.hiddenFileInput),a.hiddenFileInput.addEventListener("change",(function(){var e,t,n,r;if((t=a.hiddenFileInput.files).length)for(n=0,r=t.length;n',this.options.dictFallbackText&&(i+="

"+this.options.dictFallbackText+"

"),i+='
',t=r.createElement(i),"FORM"!==this.element.tagName?(n=r.createElement('
')).appendChild(t):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=n?n:t)},r.prototype.getExistingFallback=function(){var e,t,i,n,r,s;for(t=function(e){var t,i,n;for(i=0,n=e.length;i=Math.pow(this.options.filesizeBase,4-t)/10){i=e/Math.pow(this.options.filesizeBase,4-t),n=r;break}return""+(i=Math.round(10*i)/10)+" "+n},r.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},r.prototype.drop=function(e){var t,i;e.dataTransfer&&(this.emit("drop",e),(t=e.dataTransfer.files).length&&((i=e.dataTransfer.items)&&i.length&&null!=i[0].webkitGetAsEntry?this._addFilesFromItems(i):this.handleFiles(t)))},r.prototype.paste=function(e){var t,i;if(null!=(null!=e&&null!=(i=e.clipboardData)?i.items:void 0))return this.emit("paste",e),(t=e.clipboardData.items).length?this._addFilesFromItems(t):void 0},r.prototype.handleFiles=function(e){var t,i,n,r;for(r=[],i=0,n=e.length;i1024*this.options.maxFilesize*1024?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):r.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}, +r.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=r.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,(t=this,function(i){return i?(e.accepted=!1,t._errorProcessing([e],i)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}));var t},r.prototype.enqueueFiles=function(e){var t,i,n;for(i=0,n=e.length;i=t)&&(n=this.getQueuedFiles()).length>0){if(this.options.uploadMultiple)return this.processFiles(n.slice(0,t-i));for(;e=R;p=0<=R?++S:--S)s.append(this._getParamName(p),e[p],e[p].name);return E.send(s)},r.prototype._finished=function(e,t,i){var n,s,o;for(s=0,o=e.length;sa;)0===n[4*(o-1)+3]?r=o:a=o,o=r+a>>1;return 0===(l=o/s)?1:l},l=function(e,t,i,n,r,s,l,a,u,p){var c;return c=o(t),e.drawImage(t,i,n,r,s,l,a,u,p/c)},s=function(e,t){var i,n,r,s,o,l,a,u,p;if(r=!1,p=!0,n=e.document,u=n.documentElement,i=n.addEventListener?"addEventListener":"attachEvent",a=n.addEventListener?"removeEventListener":"detachEvent",l=n.addEventListener?"":"on",s=function(i){if("readystatechange"!==i.type||"complete"===n.readyState)return("load"===i.type?e:n)[a](l+i.type,s,!1),!r&&(r=!0)?t.call(e,i.type||i):void 0},o=function(){try{u.doScroll("left")}catch(e){return e,void setTimeout(o,50)}return s("poll")},"complete"!==n.readyState){if(n.createEventObject&&u.doScroll){try{p=!e.frameElement}catch(e){}p&&o()}return n[i](l+"DOMContentLoaded",s,!1),n[i](l+"readystatechange",s,!1),e[i](l+"load",s,!1)}},t._autoDiscoverFunction=function(){if(t.autoDiscover)return t.discover()},s(window,t._autoDiscoverFunction)}).call(this)},48743:(e,t,i)=>{"use strict";i.d(t,{lazyVelocity:()=>r});i(23127);var n=i(23127);async function r(){await i.e(2112).then(i.t.bind(i,37356,23))}n.fn.velocity=function(...e){return r().then(()=>{n.fn.velocity.apply(this,e)}),this}}}]); \ No newline at end of file diff --git a/charting_library/bundles/59e2b70bcb3a208d8b8dbe2b35a9dfb0.svg b/charting_library/bundles/59e2b70bcb3a208d8b8dbe2b35a9dfb0.svg new file mode 100644 index 00000000..d32f22e7 --- /dev/null +++ b/charting_library/bundles/59e2b70bcb3a208d8b8dbe2b35a9dfb0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5b42511a0696d2cbb686e323db88556c.svg b/charting_library/bundles/5b42511a0696d2cbb686e323db88556c.svg new file mode 100644 index 00000000..81f6045c --- /dev/null +++ b/charting_library/bundles/5b42511a0696d2cbb686e323db88556c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5c347ffc08d08d0f94ff06366781743d.svg b/charting_library/bundles/5c347ffc08d08d0f94ff06366781743d.svg new file mode 100644 index 00000000..58b21cfb --- /dev/null +++ b/charting_library/bundles/5c347ffc08d08d0f94ff06366781743d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5c568c6ba25fd3ccffedc7df6cdbcfc6.svg b/charting_library/bundles/5c568c6ba25fd3ccffedc7df6cdbcfc6.svg new file mode 100644 index 00000000..87034f2e --- /dev/null +++ b/charting_library/bundles/5c568c6ba25fd3ccffedc7df6cdbcfc6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5c8483c70efc4d71c6bec8491e2ea918.svg b/charting_library/bundles/5c8483c70efc4d71c6bec8491e2ea918.svg new file mode 100644 index 00000000..cfd7de1a --- /dev/null +++ b/charting_library/bundles/5c8483c70efc4d71c6bec8491e2ea918.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/5ca11f2dcd2b23a00d19e2160797c25d.jpeg b/charting_library/bundles/5ca11f2dcd2b23a00d19e2160797c25d.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..1f5d3bb6bbce8d576d46603c772e6218310ad50d GIT binary patch literal 114397 zcmeEv2|yIr(r$In^bE|fDItG&tf0DA1_5p@N7I z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l>bbWXF~ws@<&hz0-aCz3fw*q zfF+=At^mXm!c-0VON2m@8w{%9KgZUfta=Kw3FSqyNS=`(i+?z8+=!4-9TXzC!rz(O#bnYV_5>2WYkhOKxZF?2yQ;YhKPg3w%vp) qnVg_{_UkO7d*Xjx`fpwLwlZ@KNF?UcpHc2@y|bUrywmtS{C@xt0=F6f literal 0 HcmV?d00001 diff --git a/charting_library/bundles/5dfba3ffcfb87b70fcff70fe469745e0.svg b/charting_library/bundles/5dfba3ffcfb87b70fcff70fe469745e0.svg new file mode 100644 index 00000000..96df65a2 --- /dev/null +++ b/charting_library/bundles/5dfba3ffcfb87b70fcff70fe469745e0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/60542233074e88f72cb7738cd671069f.svg b/charting_library/bundles/60542233074e88f72cb7738cd671069f.svg new file mode 100644 index 00000000..7a7264af --- /dev/null +++ b/charting_library/bundles/60542233074e88f72cb7738cd671069f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6055.2fa2dff6b27ad1aa8299.js b/charting_library/bundles/6055.2fa2dff6b27ad1aa8299.js new file mode 100644 index 00000000..b3f3e805 --- /dev/null +++ b/charting_library/bundles/6055.2fa2dff6b27ad1aa8299.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6055],{5641:()=>{},21249:()=>{},94897:()=>{},22358:(t,e,s)=>{"use strict";s.d(e,{controlError:()=>r});s(5641);var o=s(20497),i=s(68587),l=s(23127);class n{constructor(t,{addFocusEvents:e=!0,addErrorOnElement:o=!0,leftMessageAlign:i=!1,maxWidth:n,doNotShowIcon:r=!1}={}){function h(t,e){return t.some(t=>e.test(t))}let d=l(t);const a=d.hasClass("tv-control-checkbox__input"),c=d.hasClass("tv-control-radio__input"),p=d.hasClass("tv-control-number-input"),u=h(d.attr("class").split(/\s+/),/^.+--size_small$/),_=h(d.attr("class").split(/\s+/),/^.+--size_large$/);this.options={smallMode:u,addErrorOnElement:o,maxWidth:n},a&&(d=d.closest(".tv-control-checkbox")),c&&(d=d.closest(".tv-control-radio-group")),this.errors={},this.$control=d;const g=d.get(0);d.data("tv-control-material")?this.$toWrap=d.data("tv-control-material").$el:"tvControlErrorWrap"in g.dataset?this.$toWrap=l(g.dataset.tvControlErrorWrap):d.data("tv-control-error-wrap")?this.$toWrap=d.data("tv-control-error-wrap"):this.$toWrap=d,this.$toWrap.parent().hasClass("tv-control-error")||this.$toWrap.wrap(`

`),this.$el=this.$toWrap.parent(),a&&this.$el.addClass("tv-control-error--msg_left"),u&&this.$el.addClass("tv-control-error--size_small"),_&&this.$el.addClass("tv-control-error--size_large"),a||r||(this.$icon=this.$el.find(".tv-control-error__icon"),this.$icon.length||(this.$icon=l(`${l("
").append(l(s(53870)).attr("focusable","false")).html()}`).appendTo(this.$el)),d.data("tv-control-material")&&this.$icon.addClass("tv-control-error__icon--material-input")),this.$widthControlWrapper=this.$el.find(".tv-control-error__width-control-wrapper"),this.$widthControlWrapper.length||(this.$widthControlWrapper=l('
').appendTo(this.$el)),this.$widthControlWrapper.css("width",this.options.maxWidth),i&&this.$widthControlWrapper.addClass("tv-control-error__width-control-wrapper--from-left"),this.$messages=this.$el.find(".tv-control-error__messages"),this.$messages.length||(this.$messages=l('').appendTo(this.$widthControlWrapper)),d.on("focus",()=>{this.$el.addClass("i-focus"),d.removeClass("i-error"),e&&d.on("keyup.tv-control-error",t=>{9!==t.keyCode&&16!==t.keyCode&&(this.clear().render(),this.$el.removeClass("i-focus"),d.off("keyup.tv-control-error"))})}),d.on("blur",()=>{this.$el.removeClass("i-focus"),this.hasErrors()&&d.addClass("i-error")})}add({id:t,message:e}){return this.errors[t]=e,this}remove({id:t}){return delete this.errors[t],this}clear(){return this.errors={},this}hasErrors(){return!!Object.keys(this.errors).length}render(){this.emptyTimeout&&clearTimeout(this.emptyTimeout);var t=Object.keys(this.errors);if(t.length){this.$messages.empty(),this.$el.addClass("i-error"),this.options.addErrorOnElement&&this.$control.addClass("i-error") +;for(var e=0;e${this.errors[t[e]]}`).appendTo(this.$messages)}else this.$el.removeClass("i-error"),this.$control.removeClass("i-error"),this.emptyTimeout=setTimeout(()=>{this.$messages.empty()},i.dur);return this}}function r(t,e){return new n(l(t),e)}l.fn.tvControlError=(0,o.createTvBlockWithInstance)("tv-control-error",(function(t,e){return new n(t,e)}))},8250:(t,e,s)=>{"use strict";var o=s(28353),i=s(32563),l=(s(21249),s(20497)),n=(s(56479),s(94897),s(30812));var r=s(23127);class h{constructor(t,e={}){this.$el=t,this.$wrap=e.$wrap||t.find(".tv-dropdown-behavior__button"),this.$body=e.$body||t.find(".tv-dropdown-behavior__body"),this.notCloseWithCtrl=!!e.notCloseWithCtrl&&e.notCloseWithCtrl,this.closeWithEsc=void 0===e.closeWithEsc||e.closeWithEsc,this.closeWithEsc&&this.$el.attr("tabIndex",0),(t.data("scroll")||e.scroll)&&(this.$scroll=this.$body.find(".tv-dropdown-behavior__scroll"),this.$inScroll=this.$scroll.find(".tv-dropdown-behavior__inscroll"),this.scroll=new n.SidebarCustomScroll(this.$scroll[0],this.$inScroll[0],{showTopShadow:!1,showBottomShadow:!1}),this.$scrollBar=r(this.scroll.getScrollBar()),this.$scrollBar&&this.$scrollBar.on("mousedown.tv-dropdown-view-scroll",()=>{this.offClickOutside(),r(document).on("mouseup.tv-dropdown-view-scroll",()=>{this.onClickOutside(),r(document).off("mouseup.tv-dropdown-view-scroll")})})),(t.data("adaptBody")||e.adaptBody)&&(this._adaptBody=!0),(t.data("adaptOnlyInScrollHeight")||e.adaptOnlyInScrollHeight)&&(this._adaptOnlyInScrollHeight=!0),this._fitScreen=t.data("fitScreen")||e.fitScreen,this._maxHeight=t.data("maxHeight")||e.maxHeight,this._dropdownWidth=t.data("dropdownWidth")||e.dropdownWidth,this._boundingElement=e.boundingElement,this.$wrap.add(t.find(".js-dropdown-toggle")).on("click",t=>{r(t.currentTarget).hasClass("js-prevent-dropdown")||this.toggle()}),this._checkIgnoreClickOutside=[]}toggle(){this.opened?this.close(!0):this.open()}open(){this.opened||this.disabled||this.readonly||(this.$el.trigger("beforeOpenMenu"),this.$body.removeClass("i-hidden").addClass("i-opened"),this.$wrap.addClass("i-dropped"),this.$el.addClass("i-opened"),"horz"===this._fitScreen&&this.fitHorizontally(),this._adaptBody&&this.adaptBody(),this.onClickOutside(),this.$el.trigger("updateScroll"),this.$el.trigger("afterOpenMenu"),this.opened=!0,this.closeWithEsc&&this.$el.on("keypress keyup",t=>{27===t.keyCode&&this.close(!0)}))}onClickOutside(){setTimeout(()=>{this.$body.on("clickoutside",t=>{this._checkIgnoreClickOutside.length&&this._checkIgnoreClickOutside.some(e=>e(t))||this.close(!0)})},0)}offClickOutside(){this.$body.off("clickoutside")}setCheckIgnoreClickOutside(t){this._checkIgnoreClickOutside.push(t)}dropCheckIgnoreClickOutside(t){var e=this._checkIgnoreClickOutside.indexOf(t);-1!==e&&this._checkIgnoreClickOutside.splice(e,1)}close(t=!1){!this.opened||this.disabled||this.readonly||!t&&this.notCloseWithCtrl&&(window.event.ctrlKey||window.event.metaKey)||(this.offClickOutside(), +this.$wrap.removeClass("i-dropped"),this.$el.trigger("beforeCloseMenu"),this.$body.removeClass("i-opened").addClass("i-hidden"),this.$el.removeClass("i-opened"),this.closeWithEsc&&this.$el.off("keypress keyup"),this.opened=!1,this.$el.trigger("afterCloseMenu"))}isOpened(){return this.opened}updateScroll(){this.scroll&&(this.scroll.updateScrollBar(),this.scroll.scrollToStart())}enable(){this.$wrap.removeClass("i-disabled"),this.disabled=!1}disable(){this.$wrap.addClass("i-disabled"),this.disabled=!0}setReadonly(t){this.readonly=t}adaptBody(){const t=this.$body,e=this.$wrap.get(0).getBoundingClientRect(),s=this._boundingElement?this._boundingElement.getBoundingClientRect():{top:0,bottom:window.innerHeight,height:window.innerHeight},o=parseFloat(t.css("padding-top")),i=parseFloat(t.css("padding-bottom")),l=this.$inScroll.outerHeight(!0)+o+i;if(this.scroll&&this.scroll.scrollToStart(),this._adaptOnlyInScrollHeight){const o=t.find(".js-dropdown-dummy"),l=o?parseFloat(o.css("padding-bottom"))+parseFloat(o.css("margin-bottom")):0,n=e.top+e.height+l;return void this.$el.find(".tv-dropdown-behavior__scroll").css("maxHeight",s.bottom-i-n-25)}const n=this._maxHeight||l,r=e.top+n+25<=s.bottom,h=s.top+15+n<=e.bottom;let d,a=this._maxHeight||"auto";if(r)d=-o;else if(h)d=-n+e.height+i;else{d=-e.top+s.top+15;const t=s.height-15-25;n>t&&(a=t)}t.css("top",d),t.height(a),this._dropdownWidth&&t.width(this._dropdownWidth)}fitHorizontally(){this.$body.css("marginLeft",0);const t=document.body.getBoundingClientRect(),e=parseFloat(r(document.body).css("paddingRight")),s=this.$body.offset();s.right=s.left+this.$body.outerWidth();const o=Math.max(Math.min(0,t.right-e-s.right),t.left-s.left);o&&this.$body.css("marginLeft",o)}destroy(){this.scroll&&this.scroll.destroy(),this.offClickOutside(),this.$el.find(".js-dropdown-toggle").off("click"),this.$wrap.off("click")}}r.fn.tvDropdown=(0,l.createTvBlockWithInstance)("tv-dropdown",(function(t,e={}){return new h(t,e)}));var d=s(23127),a=s(13398),c=s(25977);const p={wrap:'{{^ touch }}{{> route }}{{/ touch }}',route:"{{# items }}{{# option }}{{> option }}{{/ option }}{{^ option }}{{# optgroup }}{{> optgroup }}{{/ optgroup }}{{/ option }}{{/ items }}", +optgroup:'{{# label }}{{ label }}{{/ label }}{{> route }}{{# separator }}
{{/ separator }}',option:`\n\t\t\t\n\t\t\t{{# multiple }}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t${s(4135)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t{{ label }}\n\t\t\t{{/ multiple }}\n\t\t\t{{^ multiple }}\n\t\t\t\t{{ label }}\n\t\t\t{{/ multiple }}\n\t\t\t\n\t\t`};class u{constructor(t={}){this._options=Object.assign({noAnimation:!0},t),this.touch=i.mobiletouch,this.$select=this._options.$select,this._selectElement=this.$select[0],this.multiple=Boolean(this.$select.attr("multiple")),this._minDisplayCount=this._options.minDisplayCount||1,this._emptyString=this._options.emptyString||(0,o.t)("Nothing selected",{context:"combobox_input"}),this._defaultPlaceHoder=this._options.defaultPlaceHoder||!1,this.disabled=Boolean(this.$select.is(":disabled")),this.readonly=this._options.readonly,this.options=[],this.filterQuery=[],this.items=this._parseDomItems(this.$select),this._render(),t.initialValue&&this.val(t.initialValue),this.$el.insertBefore(this.$select),this.$select.detach().addClass("i-inited").appendTo(this.$el)}val(t){this.multiple?this._setMultipleValues(t):this._setSingleValue(this._findOption(t))}enable(){this.disabled=!1,this.$el.add(this.$dropdown).removeClass("i-disabled"),this.touch||(this.$el.tvDropdown("enable"),this.$control.attr("tabindex",this.$select.attr("tabindex")||0))}disable(){this.disabled=!0,this.$el.add(this.$dropdown).addClass("i-disabled"),this.touch||(this.$el.tvDropdown("disable"),this.$control.removeAttr("tabindex"))}setReadonly(t){this.readonly=t,this.$el.toggleClass("tv-control-select__wrap--readonly",t),this.$controlInner.toggleClass("tv-control-select__control-inner--readonly",t),this.$el.tvDropdown("setReadonly",t)}toggle(){this.disabled||this.readonly||(this.touch?this.$select.click():this.$el.tvDropdown("toggle"))}open(){this.disabled||this.readonly||(this.touch?this.$select.click():this.$el.tvDropdown("open"))}close(){this.disabled||this.readonly||(this.touch?this.$select.click():(this._focusOption(this._selectElement.selectedIndex),this.$el.tvDropdown("close")))}destroy(){this.$select.off("change"),this.$dropdown&&this.$dropdown.off("click"),this.$select.removeClass("i-inited").insertBefore(this.$el),this.$el.tvDropdown("destroy"),this.$el.remove()}updateItems(){this.options=[],this.items=this._parseDomItems(this.$select);const t=this._renderDropdown();if(!this.touch){this.$dropdown.find(".tv-control-select__option").remove() +;const e=this.$dropdown.find(".tv-dropdown-behavior__inscroll");this.$options=t.find(".tv-control-select__option");for(let t=0;tthis.options[this._findOption(e)].id>t);s.splice(o?s.indexOf(o):0,0,e)}else s.push(e);this._setMultipleValues(s)}_updateCheckBoxes(){const t=this.$select.val()||[];for(let e=0;ethis._minDisplayCount)this.$controlInner.text((0,o.t)("{number} item",{plural:"{number} items",count:t.length,context:"combobox_input"}).format(t.length));else{const e=t.map(t=>this.options[this._findOption(t)].label);this.$controlInner.text(e.join(", "))}else this.$controlInner.text(this._emptyString)}_setMultipleValues(t){this.$select.find("option").prop("selected",!1);for(let e=0;e{this.multiple?(this._updateSelectBoxTitle(),this._updateCheckBoxes()):this._updateSingleView(this._findOption(this.$select.val()))}),this.touch||(this.$el.tvDropdown({scroll:!0,adaptBody:!0,boundingElement:this._options.boundingElement,maxHeight:this._options.maxHeight,dropdownWidth:this._options.dropdownWidth,noAnimation:this._options.noAnimation,closeWithEsc:this._options.closeWithEsc}),this.dropdownScroll=this.$el.tvDropdown("get","scroll"),this.$dropdown.on("click",".tv-control-select__option",t=>{const e=parseInt(d(t.currentTarget).data("id"));this.options[e]&&!this.options[e].disabled&&(this.multiple?this._toggleOption(e):(this._setSingleValue(e),this.close()))}),this.$el.on("beforeOpenMenu",()=>{this.opened=!0}),this.$el.on("afterCloseMenu",()=>{this.opened=!1,this.filterQuery=[],this.multiple||this._focusedOption.toString()===this._selectElement.selectedIndex.toString()||this._focusOption(this._selectElement.selectedIndex),this.multiple&&this._clearFocus()}),this.$el.on("click",()=>{this.$control.focus()}),this.$el.on("keydown",t=>{this._filter(t)}),this.disabled?this.disable():this.enable())}_renderDropdown(){return d(a.render(p.wrap,{items:this.items,class:this.$select.attr("class"),touch:this.touch,multiple:this.multiple,disabled:this.disabled,readonly:this.readonly,dropdown_class:this._options.addDropdownClass},p)).removeClass("tv-control-select")}_filter(t){if(9===t.which)return void this.close();if(13===t.which&&!this.opened)return;if((40===t.which||32===t.which)&&!this.opened)return this.open(),void t.preventDefault();t.preventDefault(),this.opened||this.open();const e=String.fromCharCode(t.which).toLowerCase();if(e&&-1===[9,13,27,38,40].indexOf(t.which)){this.filterQuery.push(e);const t=this.filterQuery.join("");let s;const o=Object.keys(this.options);for(let e=0;e{this.filterQuery=[]},500)}32!==t.which&&13!==t.which||!this.opened||(this.multiple?this._toggleOption(this._focusedOption):(this._setSingleValue(this._focusedOption),this.close(),this.$el.one("keyup",t=>t.stopPropagation())));const s=t=>{let e;if(this.options[this._focusedOption]){ +const s=this.options[this._focusedOption].$el[t](this.$dropdown,".tv-control-select__option:not(.i-disabled)");e=s.length?s.data("id"):this._focusedOption}else e=this.$options.first(".tv-control-select__option:not(.i-disabled)").data("id");return e};40===t.which&&(this.filterQuery=[],this._focusOption(s("nextUntil"))),38===t.which&&(this.filterQuery=[],this._focusOption(s("prevUntil"))),27===t.which&&this.close()}}d.fn.tvControlSelect=(0,l.createTvBlockWithInstance)("tv-control-select",(function(t,e={}){return new u(c.extend(e,{$select:t}))}))},53870:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/6085.69a003daf8ea012f4dc7.js b/charting_library/bundles/6085.69a003daf8ea012f4dc7.js deleted file mode 100644 index 95acdb62..00000000 --- a/charting_library/bundles/6085.69a003daf8ea012f4dc7.js +++ /dev/null @@ -1,12 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6085],{6539:t=>{t.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},21103:t=>{t.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:t=>{t.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:t=>{t.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},91131:t=>{t.exports={"small-height-breakpoint":"screen and (max-height: 360px)",footer:"footer-xe9kH1lJ",submitButton:"submitButton-xe9kH1lJ",buttons:"buttons-xe9kH1lJ"}},66875:t=>{t.exports={errors:"errors-Cv6NxnRZ",show:"show-Cv6NxnRZ",error:"error-Cv6NxnRZ"}},93314:t=>{t.exports={"error-icon":"error-icon-llFIA0b4","intent-danger":"intent-danger-llFIA0b4", -"intent-warning":"intent-warning-llFIA0b4"}},88722:t=>{t.exports={wrap:"wrap-TyQYOCnx",input:"input-TyQYOCnx"}},24451:t=>{t.exports={icon:"icon-P882WPW5"}},52965:t=>{t.exports={"static-messages":"static-messages-Yp0dNSLN",errors:"errors-Yp0dNSLN",warnings:"warnings-Yp0dNSLN",message:"message-Yp0dNSLN"}},23576:t=>{t.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},94720:(t,e,n)=>{"use strict";n.d(e,{Button:()=>w});var o=n(59496),r=n(97754),s=n(95604),i=n(9745),a=n(6539),c=n.n(a);function l(t){const{color:e="brand",size:n="medium",variant:o="primary",stretch:i=!1,icon:a,startIcon:l,endIcon:u,iconOnly:h=!1,className:d,isGrouped:m,cellState:p,disablePositionAdjustment:f=!1}=t,g=function(t){let e="";return 0!==t&&(1&t&&(e=r(e,c()["no-corner-top-left"])),2&t&&(e=r(e,c()["no-corner-top-right"])),4&t&&(e=r(e,c()["no-corner-bottom-right"])),8&t&&(e=r(e,c()["no-corner-bottom-left"]))),e}((0,s.getGroupCellRemoveRoundBorders)(p));return r(d,c().button,c()["size-"+n],c()["color-"+e],c()["variant-"+o],i&&c().stretch,(a||l)&&c()["with-start-icon"],u&&c()["with-end-icon"],h&&c()["icon-only"],g,m&&c().grouped,m&&!f&&c()["adjust-position"],m&&p.isTop&&c()["first-row"],m&&p.isLeft&&c()["first-col"])}function u(t){const{size:e,startIcon:n,icon:r,iconOnly:s,children:a,endIcon:l}=t,u=null!=n?n:r;return o.createElement(o.Fragment,null,u&&"xsmall"!==e&&o.createElement(i.Icon,{icon:u,className:c()["start-icon-wrap"]}),a&&o.createElement("span",{className:c().content},a),l&&!s&&"xsmall"!==e&&o.createElement(i.Icon,{icon:l,className:c()["end-icon-wrap"]}))}var h=n(86332),d=n(90186);function m(t){const{className:e,color:n,variant:o,size:r,stretch:s,animated:i,icon:a,iconOnly:c,startIcon:l,endIcon:u,...h}=t;return{...h,...(0,d.filterDataProps)(t),...(0,d.filterAriaProps)(t)}}function p(t){const{reference:e,...n}=t,{isGrouped:r,cellState:s,disablePositionAdjustment:i}=(0,o.useContext)(h.ControlGroupContext),a=l({...n,isGrouped:r,cellState:s,disablePositionAdjustment:i});return o.createElement("button",{...m(n),className:a,ref:e},o.createElement(u,{...n}))}function f(t="default"){switch(t){case"default":return"primary";case"stroke":return"secondary"}}function g(t="primary"){switch(t){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function v(t="m"){switch(t){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function b(t){const{intent:e,size:n,appearance:o,useFullWidth:r,icon:s,...i}=t;return{...i,color:g(e),size:v(n),variant:f(o),stretch:r,startIcon:s}}function w(t){return o.createElement(p,{...b(t)})}},86332:(t,e,n)=>{"use strict";n.d(e,{ControlGroupContext:()=>o});const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0, -isLeft:!0}})},95604:(t,e,n)=>{"use strict";function o(t){let e=0;return t.isTop&&t.isLeft||(e+=1),t.isTop&&t.isRight||(e+=2),t.isBottom&&t.isLeft||(e+=8),t.isBottom&&t.isRight||(e+=4),e}n.d(e,{getGroupCellRemoveRoundBorders:()=>o})},67029:(t,e,n)=>{"use strict";n.d(e,{ControlSkeleton:()=>b,InputClasses:()=>f});var o=n(59496),r=n(97754),s=n(88537),i=n(66092),a=n(90186),c=n(86332),l=n(95604);var u=n(21103),h=n.n(u);function d(t){let e="";return 0!==t&&(1&t&&(e=r(e,h()["no-corner-top-left"])),2&t&&(e=r(e,h()["no-corner-top-right"])),4&t&&(e=r(e,h()["no-corner-bottom-right"])),8&t&&(e=r(e,h()["no-corner-bottom-left"]))),e}function m(t,e,n,o){const{removeRoundBorder:s,className:i,intent:a="default",borderStyle:c="thin",size:u,highlight:m,disabled:p,readonly:f,stretch:g,noReadonlyStyles:v,isFocused:b}=t,w=d(null!=s?s:(0,l.getGroupCellRemoveRoundBorders)(n));return r(h().container,h()["intent-"+a],h()["border-"+c],u&&h()["size-"+u],w,m&&h()["with-highlight"],p&&h().disabled,f&&!v&&h().readonly,b&&h().focused,g&&h().stretch,e&&h().grouped,!o&&h()["adjust-position"],n.isTop&&h()["first-row"],n.isLeft&&h()["first-col"],i)}function p(t,e){const{highlight:n,highlightRemoveRoundBorder:o}=t;if(!n)return h().highlight;const s=d(null!=o?o:(0,l.getGroupCellRemoveRoundBorders)(e));return r(h().highlight,h().shown,s)}const f={FontSizeMedium:(0,s.ensureDefined)(h()["font-size-medium"]),FontSizeLarge:(0,s.ensureDefined)(h()["font-size-large"])},g={passive:!1};function v(t,e){const{id:n,role:r,onFocus:s,onBlur:l,onMouseOver:u,onMouseOut:h,onMouseDown:d,onMouseUp:f,onKeyDown:v,onClick:b,tabIndex:w,startSlot:C,middleSlot:E,endSlot:S,onWheel:y,onWheelNoPassive:k=null}=t,{isGrouped:x,cellState:M,disablePositionAdjustment:N=!1}=(0,o.useContext)(c.ControlGroupContext),A=function(t,e=null,n){const r=(0,o.useRef)(null),s=(0,o.useRef)(null),i=(0,o.useCallback)(()=>{if(null===r.current||null===s.current)return;const[t,e,n]=s.current;null!==e&&r.current.addEventListener(t,e,n)},[]),a=(0,o.useCallback)(()=>{if(null===r.current||null===s.current)return;const[t,e,n]=s.current;null!==e&&r.current.removeEventListener(t,e,n)},[]),c=(0,o.useCallback)(t=>{a(),r.current=t,i()},[]);return(0,o.useEffect)(()=>(s.current=[t,e,n],i(),a),[t,e,n]),c}("wheel",k,g);return o.createElement("span",{id:n,role:r,className:m(t,x,M,N),tabIndex:w,ref:(0,i.useMergedRefs)([e,A]),onFocus:s,onBlur:l,onMouseOver:u,onMouseOut:h,onMouseDown:d,onMouseUp:f,onKeyDown:v,onClick:b,onWheel:y,...(0,a.filterDataProps)(t),...(0,a.filterAriaProps)(t)},C,E,S,o.createElement("span",{className:p(t,M)}))}v.displayName="ControlSkeleton";const b=o.forwardRef(v)},78274:(t,e,n)=>{"use strict";n.d(e,{StartSlot:()=>a,MiddleSlot:()=>c,EndSlot:()=>l,AfterSlot:()=>u});var o=n(59496),r=n(97754),s=n(10306),i=n.n(s);function a(t){const{className:e,interactive:n=!0,icon:s=!1,children:a}=t;return o.createElement("span",{className:r(i()["inner-slot"],n&&i().interactive,s&&i().icon,e)},a)}function c(t){const{className:e,children:n}=t;return o.createElement("span",{ -className:r(i()["inner-slot"],i()["inner-middle-slot"],e)},n)}function l(t){const{className:e,interactive:n=!0,icon:s=!1,children:a}=t;return o.createElement("span",{className:r(i()["inner-slot"],n&&i().interactive,s&&i().icon,e)},a)}function u(t){const{className:e,children:n}=t;return o.createElement("span",{className:r(i()["after-slot"],e)},n)}},31261:(t,e,n)=>{"use strict";n.d(e,{InputControl:()=>b});var o=n(59496),r=n(97754),s=n(90186),i=n(47201),a=n(48907),c=n(66092),l=n(48027),u=n(29202),h=n(45812),d=n(67029),m=n(78274),p=n(66579),f=n.n(p);function g(t){return!(0,s.isAriaAttribute)(t)&&!(0,s.isDataAttribute)(t)}function v(t){const{id:e,title:n,role:i,tabIndex:a,placeholder:c,name:l,type:u,value:h,defaultValue:p,draggable:v,autoComplete:b,autoFocus:w,maxLength:C,min:E,max:S,step:y,pattern:k,inputMode:x,onSelect:M,onFocus:N,onBlur:A,onKeyDown:R,onKeyUp:O,onKeyPress:F,onChange:j,onDragStart:z,size:B="medium",className:I,inputClassName:T,disabled:D,readonly:P,containerTabIndex:_,startSlot:K,endSlot:W,reference:V,containerReference:Y,onContainerFocus:L,...H}=t,G=(0,s.filterProps)(H,g),U={...(0,s.filterAriaProps)(H),...(0,s.filterDataProps)(H),id:e,title:n,role:i,tabIndex:a,placeholder:c,name:l,type:u,value:h,defaultValue:p,draggable:v,autoComplete:b,autoFocus:w,maxLength:C,min:E,max:S,step:y,pattern:k,inputMode:x,onSelect:M,onFocus:N,onBlur:A,onKeyDown:R,onKeyUp:O,onKeyPress:F,onChange:j,onDragStart:z};return o.createElement(d.ControlSkeleton,{...G,disabled:D,readonly:P,tabIndex:_,className:r(f().container,I),size:B,ref:Y,onFocus:L,startSlot:K,middleSlot:o.createElement(m.MiddleSlot,null,o.createElement("input",{...U,className:r(f().input,T,K&&f()["with-start-slot"],W&&f()["with-end-slot"]),disabled:D,readOnly:P,ref:V})),endSlot:W})}function b(t){t=(0,l.useControl)(t);const{disabled:e,autoSelectOnFocus:n,tabIndex:r=0,onFocus:s,onBlur:d,reference:m,containerReference:p=null}=t,f=(0,o.useRef)(null),g=(0,o.useRef)(null),[b,w]=(0,u.useFocus)(),C=e?void 0:b?-1:r,E=e?void 0:b?r:-1,{isMouseDown:S,handleMouseDown:y,handleMouseUp:k}=(0,h.useIsMouseDown)(),x=(0,i.createSafeMulticastEventHandler)(w.onFocus,(function(t){n&&!S.current&&(0,a.selectAllContent)(t.currentTarget)}),s),M=(0,i.createSafeMulticastEventHandler)(w.onBlur,d),N=(0,o.useCallback)(t=>{f.current=t,m&&("function"==typeof m&&m(t),"object"==typeof m&&(m.current=t))},[f,m]);return o.createElement(v,{...t,isFocused:b,containerTabIndex:C,tabIndex:E,onContainerFocus:function(t){g.current===t.target&&null!==f.current&&f.current.focus()},onFocus:x,onBlur:M,reference:N,containerReference:(0,c.useMergedRefs)([g,p]),onMouseDown:y,onMouseUp:k})}},48027:(t,e,n)=>{"use strict";n.d(e,{useControl:()=>s});var o=n(47201),r=n(29202);function s(t){const{onFocus:e,onBlur:n,intent:s,highlight:i,disabled:a}=t,[c,l]=(0,r.useFocus)(void 0,a),u=(0,o.createSafeMulticastEventHandler)(a?void 0:l.onFocus,e),h=(0,o.createSafeMulticastEventHandler)(a?void 0:l.onBlur,n);return{...t,intent:s||(c?"primary":"default"),highlight:null!=i?i:c,onFocus:u,onBlur:h}}},29202:(t,e,n)=>{"use strict" -;n.d(e,{useFocus:()=>r});var o=n(59496);function r(t,e){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{e&&n&&r(!1)},[e,n]);const s={onFocus:(0,o.useCallback)((function(e){void 0!==t&&t.current!==e.target||r(!0)}),[t]),onBlur:(0,o.useCallback)((function(e){void 0!==t&&t.current!==e.target||r(!1)}),[t])};return[n,s]}},45812:(t,e,n)=>{"use strict";n.d(e,{useIsMouseDown:()=>r});var o=n(59496);function r(){const t=(0,o.useRef)(!1),e=(0,o.useCallback)(()=>{t.current=!0},[t]),n=(0,o.useCallback)(()=>{t.current=!1},[t]);return{isMouseDown:t,handleMouseDown:e,handleMouseUp:n}}},66092:(t,e,n)=>{"use strict";n.d(e,{useMergedRefs:()=>r});var o=n(59496);function r(t){return(0,o.useCallback)(function(t){return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}}(t),t)}},48907:(t,e,n)=>{"use strict";function o(t){null!==t&&t.setSelectionRange(0,t.value.length)}n.d(e,{selectAllContent:()=>o})},47201:(t,e,n)=>{"use strict";function o(...t){return e=>{for(const n of t)void 0!==n&&n(e)}}n.d(e,{createSafeMulticastEventHandler:()=>o})},50182:(t,e,n)=>{"use strict";n.d(e,{AdaptiveConfirmDialog:()=>d});var o=n(59496),r=n(97754),s=n.n(r),i=n(94720),a=n(88537),c=n(28353),l=n(68335),u=n(85457),h=n(91131);class d extends o.PureComponent{constructor(){super(...arguments),this._dialogRef=o.createRef(),this._handleClose=()=>{const{defaultActionOnClose:t,onSubmit:e,onCancel:n,onClose:o}=this.props;switch(t){case"submit":e();break;case"cancel":n()}o()},this._handleCancel=()=>{this.props.onCancel(),this.props.onClose()},this._handleKeyDown=t=>{const{onSubmit:e,submitButtonDisabled:n,submitOnEnterKey:o}=this.props;13===(0,l.hashFromEvent)(t)&&o&&(t.preventDefault(),n||e())}}render(){const{render:t,onClose:e,onSubmit:n,onCancel:r,footerLeftRenderer:s,submitButtonText:i,submitButtonDisabled:a,defaultActionOnClose:c,submitOnEnterKey:l,...h}=this.props;return o.createElement(u.AdaptivePopupDialog,{...h,ref:this._dialogRef,onKeyDown:this._handleKeyDown,render:this._renderChildren(),onClose:this._handleClose})}focus(){(0,a.ensureNotNull)(this._dialogRef.current).focus()}_renderChildren(){return t=>{const{render:e,footerLeftRenderer:n,additionalButtons:r,submitButtonText:a,submitButtonDisabled:l,onSubmit:u,cancelButtonText:d,showCancelButton:m=!0,submitButtonClassName:p,cancelButtonClassName:f,buttonsWrapperClassName:g}=this.props;return o.createElement(o.Fragment,null,e(t),o.createElement("div",{className:h.footer},n&&n(t.isSmallWidth),o.createElement("div",{className:s()(h.buttons,g)},r,m&&o.createElement(i.Button,{className:f,name:"cancel",appearance:"stroke",onClick:this._handleCancel},null!=d?d:(0,c.t)("Cancel")),o.createElement("span",{className:h.submitButton},o.createElement(i.Button,{className:p,disabled:l,name:"submit",onClick:u,"data-name":"submit-button"},null!=a?a:(0,c.t)("Ok"))))))}}}d.defaultProps={defaultActionOnClose:"submit",submitOnEnterKey:!0}},27365:(t,e,n)=>{"use strict";n.d(e,{getTimezoneName:()=>o});n(10480);function o(t){const e=t.model().timezone();if("exchange"!==e)return e -;const n=t.model().mainSeries().symbolInfo();return null==n?void 0:n.timezone}},1405:(t,e,n)=>{"use strict";n.d(e,{anchors:()=>o});n(59496);const o={bottom:{attachment:{horizontal:"left",vertical:"top"},targetAttachment:{horizontal:"left",vertical:"bottom"}},top:{attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},topRight:{attachment:{horizontal:"right",vertical:"bottom"},targetAttachment:{horizontal:"right",vertical:"top"}},bottomRight:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"bottom"}}}},70412:(t,e,n)=>{"use strict";n.d(e,{hoverMouseEventFilter:()=>s,useAccurateHover:()=>i,useHover:()=>r});var o=n(59496);function r(){const[t,e]=(0,o.useState)(!1);return[t,{onMouseOver:function(t){s(t)&&e(!0)},onMouseOut:function(t){s(t)&&e(!1)}}]}function s(t){return!t.currentTarget.contains(t.relatedTarget)}function i(t){const[e,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{const e=e=>{if(null===t.current)return;const o=t.current.contains(e.target);n(o)};return document.addEventListener("mouseover",e),()=>document.removeEventListener("mouseover",e)},[]),e}},86623:(t,e,n)=>{"use strict";n.d(e,{FormInput:()=>l});var o=n(59496),r=n(31261),s=n(84275),i=n(78274),a=n(47201),c=n(66092);function l(t){var e;const{intent:n,onFocus:l,onBlur:u,onMouseOver:h,onMouseOut:d,containerReference:m=null,endSlot:p,hasErrors:f,hasWarnings:g,errors:v,warnings:b,alwaysShowAttachedErrors:w,iconHidden:C,messagesPosition:E,messagesAttachment:S,customErrorsAttachment:y,messagesRoot:k,inheritMessagesWidthFromTarget:x,disableMessagesRtlStyles:M,...N}=t,A=(0,s.useControlValidationLayout)({hasErrors:f,hasWarnings:g,errors:v,warnings:b,alwaysShowAttachedErrors:w,iconHidden:C,messagesPosition:E,messagesAttachment:S,customErrorsAttachment:y,messagesRoot:k,inheritMessagesWidthFromTarget:x,disableMessagesRtlStyles:M}),R=(0,a.createSafeMulticastEventHandler)(l,A.onFocus),O=(0,a.createSafeMulticastEventHandler)(u,A.onBlur),F=(0,a.createSafeMulticastEventHandler)(h,A.onMouseOver),j=(0,a.createSafeMulticastEventHandler)(d,A.onMouseOut);return o.createElement(o.Fragment,null,o.createElement(r.InputControl,{...N,intent:null!==(e=A.intent)&&void 0!==e?e:n,onFocus:R,onBlur:O,onMouseOver:F,onMouseOut:j,containerReference:(0,c.useMergedRefs)([m,A.containerReference]),endSlot:o.createElement(o.Fragment,null,A.icon&&o.createElement(i.EndSlot,{icon:!0},A.icon),p)}),A.renderedErrors)}},36565:(t,e,n)=>{"use strict";n.d(e,{TimeInput:()=>I});var o=n(49483),r=n(59496),s=n(97754),i=n.n(s),a=n(88537),c=n(47201),l=n(78274),u=n(31261),h=n(9745),d=n(24451),m=n(35692);function p(t){return r.createElement(h.Icon,{className:d.icon,icon:m})}var f=n(29202),g=n(88722);var v=n(58095),b=n(64514);const w={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};function C(t,e,n){const o=[],r=n;let s=0,i=0;const a=t.length,c=r.length;let l=-1,u=0;const h=[],d=a-1,m=[];let p;for(;s{const[n,o]=C(t,!1,e);l(n),g(o)},[e,t]),(0,r.useLayoutEffect)(()=>{const t=(0,a.ensureNotNull)(n.current);d&&(t.setSelectionRange(u,u),m(!1)),h(S(t))},[d]),[e,f,{onChange:function(){const e=(0,a.ensureNotNull)(n.current),o=e.value,[r,s]=C(t,!1,o);l(r),f.current=r;const i=g(s),d=function(t,e,n,o,r,s){if(t!==e){const i=e.length,a=t.length;let c=0,l=0,u=0,h=0,d=0;for(d=o;d=0&&r[d];d--)c++;for(d=o-1;d>=0;d--)r[d]&&u++;for(d=n-1;d>=0;d--)s[d]&&h++;if(o>a)o=10*i;else if(n>=o&&n!==a){if(s[o]){const t=o;o-=h-u,r[o-=c]&&(o=t)}}else o>n&&(o+=u-h,o+=l)}return o}(c,r,u,S(e),s,i);h(d),m(!0)},onSelect:function(){const t=(0,a.ensureNotNull)(n.current);h(S(t))},maxLength:o}];function g(t){const e=p.current;return p.current=t,e}}function S(t){return t.selectionStart||0}function y(t){const{value:e,mask:n,onChange:o,...s}=t,i=(0,r.useRef)(null),[a,c,l]=E(n,e,i);return(0,r.useLayoutEffect)(()=>{void 0!==t.reference&&(t.reference.current=i.current)},[t.reference]),r.createElement(u.InputControl,{...s,maxLength:l.maxLength,value:a,autoComplete:"off",reference:function(t){i.current=t},onChange:function(){l.onChange(),o(c.current)},onSelect:l.onSelect})}var k=n(68335),x=n(50628),M=n(16396),N=n(55257);const A=(()=>{const t=[];for(let e=0;e<24;++e)for(let n=0;n<60;n+=15){const[o,r]=[z(e.toString()),z(n.toString())],s=`${o}:${r}`,i=F(s)?s:j(s);t.push(i)}return t})();function R(t){let e=!1;const n=(0,r.useRef)(null),o=(0,r.useRef)(null),s=(0,r.useRef)(null),c=(0,r.useRef)(null),[u,h]=(0,f.useFocus)(),[d,m]=(0,r.useState)(t.value),g=O(d),w=F(g)?g:j(g),[C,E]=(0,r.useState)(w),S=u||K().some(t=>null!==t&&t.contains(document.activeElement));(0,r.useLayoutEffect)(()=>m(t.value),[t.value]),(0,r.useLayoutEffect)(()=>E(w),[d,S]),(0,r.useEffect)(()=>W(C===w?"auto":"smooth"),[C]);const R=(0,N.lowerbound)(A,w,(t,e)=>to&&r>e){const n=(0,b.clamp)(r,0,o),i=(0,b.clamp)(r,0,e);r=Math.max(n,i),s=n>i?t.top-n:t.bottom}else r>e&&(s=t.top-r);return{x:t.left,y:s,overrideWidth:t.width,overrideHeight:r}},closeOnClickOutside:!1,isOpened:S,tabIndex:-1,reference:s},z.map(t=>r.createElement(M.PopupMenuItem,{key:t,label:t,isActive:t===w,isHovered:t===C,reference:t===C?T:void 0,onClick:D,onClickArg:t}))));function I(n){const o=O(n),r=F(o)?o:j(o);m(r),e||(e=!0,t.onChange(r))}function T(t){c.current=t}function D(t){I((0,a.ensureDefined)(t)),(0,a.ensureNotNull)(s.current).blur()}function P(t){return u&&(null!==_(document.activeElement)||null!==_(t.relatedTarget))}function _(t){return t instanceof Node&&K().find(e=>null!==e&&e.contains(t))||null}function K(){return[s.current,o.current]}function W(t="auto"){if(null!==c.current){const e=(0,a.ensureNotNull)(s.current).getBoundingClientRect(),n=c.current.getBoundingClientRect();(e.top>n.top||e.bottom{d.current&&o&&(d.current.defaultValue=o)},[]),(0,r.useLayoutEffect)(()=>{d.current&&o&&(d.current.value=o)},[o]),r.createElement("div",{className:i()(g.wrap,s)},r.createElement(u.InputControl,{...h,type:"text",endSlot:r.createElement(l.EndSlot,{icon:!0},r.createElement(p,null)),value:o,highlight:m,intent:m?"primary":void 0, -onFocus:function(t){(0,a.ensureNotNull)(d.current).focus(),n&&n(t)},onChange:function(){}}),r.createElement("input",{...v,disabled:t.disabled,className:g.input,type:"time",onBlur:b,onChange:function(t){const{value:n}=t.currentTarget;e&&n&&e(n)},ref:d}))}:R},84275:(t,e,n)=>{"use strict";n.d(e,{MessagesPosition:()=>E,useControlValidationLayout:()=>O});var o=n(59496),r=n(97754),s=n(29202),i=n(70412),a=n(78274),c=n(1405),l=n(86431),u=n(87995);var h=n(66875),d=n(62820);class m extends o.PureComponent{render(){const{children:t=[],show:e=!1,customErrorClass:n,disableRtlStyles:s}=this.props,i=r(h.errors,{[h.show]:e},n),a=t.map((t,e)=>o.createElement("div",{className:h.error,key:e},t));let c={position:"absolute",top:this.props.top,width:this.props.width,height:this.props.height,bottom:void 0!==this.props.bottom?this.props.bottom:"100%",right:void 0!==this.props.right?this.props.right:0,left:this.props.left,zIndex:this.props.zIndex,maxWidth:this.props.maxWidth};if((0,d.isRtl)()&&!s){const{left:t,right:e}=c;c={...c,left:e,right:t}}return o.createElement("div",{style:c,className:i},a)}}const p=(0,l.makeOverlapable)((f=m,(g=class extends o.PureComponent{constructor(t){super(t),this._getComponentInstance=t=>{this._instance=t},this._throttleCalcProps=()=>{requestAnimationFrame(()=>this.setState(this._calcProps(this.props)))},this.state=this._getStateFromProps()}componentDidMount(){this._instanceElem=u.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this.setState(this._calcProps(this.props))}componentDidUpdate(t){t.children===this.props.children&&t.top===this.props.top&&t.left===this.props.left&&t.width===this.props.width||this.setState(this._getStateFromProps(),()=>this.setState(this._calcProps(this.props)))}render(){return o.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0}},o.createElement(f,{...this.props,ref:this._getComponentInstance,top:this.state.top,bottom:void 0!==this.state.bottom?this.state.bottom:"auto",right:void 0!==this.state.right?this.state.right:"auto",left:this.state.left,width:this.state.width,maxWidth:this.state.maxWidth},this.props.children))}componentWillUnmount(){this._unsubsribe()}_getStateFromProps(){return{bottom:this.props.bottom,left:this.props.left,right:this.props.right,top:void 0!==this.props.top?this.props.top:-1e4,width:this.props.inheritWidthFromTarget?this.props.target&&this.props.target.getBoundingClientRect().width:this.props.width,maxWidth:this.props.inheritMaxWidthFromTarget&&this.props.target&&this.props.target.getBoundingClientRect().width}}_calcProps(t){if(t.target&&t.attachment&&t.targetAttachment){const e=this._calcTargetProps(t.target,t.attachment,t.targetAttachment);if(null===e)return{};const{width:n,inheritWidthFromTarget:o=!0,inheritMaxWidthFromTarget:r=!1}=this.props,s={width:o?e.width:n,maxWidth:r?e.width:void 0};switch(t.attachment.vertical){case"bottom":case"middle":s.top=e.y;break;default:s[t.attachment.vertical]=e.y}switch(t.attachment.horizontal){case"right":case"center":s.left=e.x;break;default:s[t.attachment.horizontal]=e.x} -return s}return{}}_calcTargetProps(t,e,n){const o=t.getBoundingClientRect(),r=this._instanceElem.getBoundingClientRect(),s="parent"===this.props.root?this._getCoordsRelToParentEl(t,o):this._getCoordsRelToDocument(o);if(null===s)return null;const i=this._getDimensions(r),a=this._getDimensions(o).width;let c=0,l=0;switch(e.vertical){case"top":l=s[n.vertical];break;case"bottom":l=s[n.vertical]-i.height;break;case"middle":l=s[n.vertical]-i.height/2}switch(e.horizontal){case"left":c=s[n.horizontal];break;case"right":c=s[n.horizontal]-i.width;break;case"center":c=s[n.horizontal]-i.width/2}return"number"==typeof this.props.attachmentOffsetY&&(l+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(c+=this.props.attachmentOffsetX),{x:c,y:l,width:a}}_getCoordsRelToDocument(t){const e=pageYOffset,n=pageXOffset,o=t.top+e,r=t.bottom+e,s=t.left+n;return{top:o,bottom:r,left:s,right:t.right+n,middle:(o+t.height)/2,center:s+t.width/2}}_getCoordsRelToParentEl(t,e){const n=t.offsetParent;if(null===n)return null;const o=n.scrollTop,r=n.scrollLeft,s=t.offsetTop+o,i=t.offsetLeft+r,a=e.width+i;return{top:s,bottom:e.height+s,left:i,right:a,middle:(s+e.height)/2,center:(i+e.width)/2}}_getDimensions(t){return{height:t.height,width:t.width}}_subscribe(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))}_unsubsribe(){window.removeEventListener("scroll",this._throttleCalcProps,!0),window.removeEventListener("resize",this._throttleCalcProps)}}).displayName="Attachable Component",g));var f,g,v=n(9745),b=n(83546),w=n(93314);function C(t){const{intent:e="danger"}=t;return o.createElement(v.Icon,{icon:b,className:r(w["error-icon"],w["intent-"+e])})}var E,S,y=n(52965);!function(t){t[t.Attached=0]="Attached",t[t.Static=1]="Static",t[t.Hidden=2]="Hidden"}(E||(E={})),function(t){t.Top="top",t.Bottom="bottom"}(S||(S={}));const k={top:{attachment:c.anchors.topRight.attachment,targetAttachment:c.anchors.topRight.targetAttachment,attachmentOffsetY:-4},bottom:{attachment:c.anchors.bottomRight.attachment,targetAttachment:c.anchors.bottomRight.targetAttachment,attachmentOffsetY:4}};function x(t){const{isOpened:e,target:n,errorAttachment:r=S.Top,customErrorsAttachment:s,root:i="parent",inheritWidthFromTarget:a=!1,disableRtlStyles:c,children:l}=t,{attachment:u,targetAttachment:h,attachmentOffsetY:d}=null!=s?s:k[r];return o.createElement(p,{isOpened:e,target:n,root:i,inheritWidthFromTarget:a,attachment:u,targetAttachment:h,attachmentOffsetY:d,disableRtlStyles:c,inheritMaxWidthFromTarget:!0,show:!0},l)}function M(t,e){return Boolean(t)&&void 0!==e&&e.length>0}function N(t,e,n){return t===E.Attached&&M(e,n)}function A(t,e,n){return t===E.Static&&M(e,n)}function R(t,e,n){const{hasErrors:o,hasWarnings:r,alwaysShowAttachedErrors:s,iconHidden:i,errors:a,warnings:c,messagesPosition:l=E.Static}=t,u=N(l,o,a),h=N(l,r,c),d=u&&(e||n||Boolean(s)),m=!d&&h&&(e||n),p=A(l,o,a),f=!p&&A(l,r,c),g=!i&&Boolean(o);return{hasAttachedErrorMessages:u, -hasAttachedWarningMessages:h,showAttachedErrorMessages:d,showAttachedWarningMessages:m,showStaticErrorMessages:p,showStaticWarningMessages:f,showErrorIcon:g,showWarningIcon:!i&&!g&&Boolean(r),intent:function(t,e){return Boolean(t)?"danger":Boolean(e)?"warning":void 0}(o,r)}}function O(t){var e,n;const{errors:c,warnings:l,messagesAttachment:u,customErrorsAttachment:h,messagesRoot:d,inheritMessagesWidthFromTarget:m,disableMessagesRtlStyles:p}=t,[f,g]=(0,s.useFocus)(),[v,b]=(0,i.useHover)(),w=(0,o.useRef)(null),{hasAttachedErrorMessages:E,hasAttachedWarningMessages:S,showAttachedErrorMessages:k,showAttachedWarningMessages:M,showStaticErrorMessages:N,showStaticWarningMessages:A,showErrorIcon:O,showWarningIcon:F,intent:j}=R(t,f,v),z=O||F?o.createElement(C,{intent:O?"danger":"warning"}):void 0,B=E?o.createElement(x,{errorAttachment:u,customErrorsAttachment:h,isOpened:k,target:w.current,root:d,inheritWidthFromTarget:m,disableRtlStyles:p,children:c}):void 0,I=S?o.createElement(x,{errorAttachment:u,isOpened:M,target:w.current,root:d,inheritWidthFromTarget:m,disableRtlStyles:p,children:l}):void 0,T=N?o.createElement(a.AfterSlot,{className:r(y["static-messages"],y.errors)},null==c?void 0:c.map((t,e)=>o.createElement("p",{key:e,className:y.message},t))):void 0,D=A?o.createElement(a.AfterSlot,{className:r(y["static-messages"],y.warnings)},null==l?void 0:l.map((t,e)=>o.createElement("p",{key:e,className:y.message},t))):void 0;return{icon:z,renderedErrors:null!==(n=null!==(e=null!=B?B:I)&&void 0!==e?e:T)&&void 0!==n?n:D,containerReference:w,intent:j,...g,...b}}},16396:(t,e,n)=>{"use strict";n.d(e,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>l,PopupMenuItem:()=>d});var o=n(59496),r=n(97754),s=n(59064),i=n(51768),a=n(90186),c=n(23576);const l=c;function u(t){const{reference:e,...n}=t,r={...n,ref:e};return o.createElement(t.href?"a":"div",r)}function h(t){t.stopPropagation()}function d(t){const{id:e,role:n,"aria-selected":l,className:d,title:m,labelRowClassName:p,labelClassName:f,shortcut:g,forceShowShortcuts:v,icon:b,isActive:w,isDisabled:C,isHovered:E,appearAsDisabled:S,label:y,link:k,showToolboxOnHover:x,target:M,rel:N,toolbox:A,reference:R,onMouseOut:O,onMouseOver:F,suppressToolboxClick:j=!0,theme:z=c}=t,B=(0,a.filterDataProps)(t),I=(0,o.useRef)(null);return o.createElement(u,{...B,id:e,role:n,"aria-selected":l,className:r(d,z.item,b&&z.withIcon,{[z.isActive]:w,[z.isDisabled]:C||S,[z.hovered]:E}),title:m,href:k,target:M,rel:N,reference:function(t){I.current=t,"function"==typeof R&&R(t);"object"==typeof R&&(R.current=t)},onClick:function(e){const{dontClosePopup:n,onClick:o,onClickArg:r,trackEventObject:a}=t;if(C)return;a&&(0,i.trackEvent)(a.category,a.event,a.label);o&&o(r,e);n||(0,s.globalCloseMenu)()},onContextMenu:function(e){const{trackEventObject:n,trackRightClick:o}=t;n&&o&&(0,i.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(e){const{trackEventObject:n,trackMouseWheelClick:o}=t;if(1===e.button&&k&&n){let t=n.label;o&&(t+="_mouseWheelClick"),(0,i.trackEvent)(n.category,n.event,t)}},onMouseOver:F,onMouseOut:O -},void 0!==b&&o.createElement("div",{className:z.icon,dangerouslySetInnerHTML:{__html:b}}),o.createElement("div",{className:r(z.labelRow,p)},o.createElement("div",{className:r(z.label,f)},y)),(void 0!==g||v)&&o.createElement("div",{className:z.shortcut},(T=g)&&T.split("+").join(" + ")),void 0!==A&&o.createElement("div",{onClick:j?h:void 0,className:r(z.toolbox,{[z.showOnHover]:x})},A));var T}},50628:(t,e,n)=>{"use strict";n.d(e,{PopupMenu:()=>l});var o=n(59496),r=n(87995),s=n(65718),i=n(27317),a=n(29197),c=n(58095);function l(t){const{controller:e,children:n,isOpened:l,closeOnClickOutside:u=!0,doNotCloseOn:h,onClickOutside:d,onClose:m,...p}=t,f=(0,o.useContext)(a.CloseDelegateContext),g=(0,c.useOutsideEvent)({handler:function(t){d&&d(t);if(!u)return;if(h&&t.target instanceof Node){const e=r.findDOMNode(h);if(e instanceof Node&&e.contains(t.target))return}m()},mouseDown:!0,touchStart:!0});return l?o.createElement(s.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},o.createElement("span",{ref:g,style:{pointerEvents:"auto"}},o.createElement(i.Menu,{...p,onClose:m,onScroll:function(e){const{onScroll:n}=t;n&&n(e)},customCloseDelegate:f,ref:e},n))):null}},83546:t=>{t.exports=''},35692:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/60df35582c6fbf690ee8aad4f66b528c.svg b/charting_library/bundles/60df35582c6fbf690ee8aad4f66b528c.svg new file mode 100644 index 00000000..3f8e74f4 --- /dev/null +++ b/charting_library/bundles/60df35582c6fbf690ee8aad4f66b528c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/614cf27f508c538c23fd1e41dec69981.svg b/charting_library/bundles/614cf27f508c538c23fd1e41dec69981.svg new file mode 100644 index 00000000..e8c2af45 --- /dev/null +++ b/charting_library/bundles/614cf27f508c538c23fd1e41dec69981.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6169c60c8d04924d194452dff1191b8e.svg b/charting_library/bundles/6169c60c8d04924d194452dff1191b8e.svg new file mode 100644 index 00000000..0599ac33 --- /dev/null +++ b/charting_library/bundles/6169c60c8d04924d194452dff1191b8e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/61da80123bd4db4b54f857a53d7718da.svg b/charting_library/bundles/61da80123bd4db4b54f857a53d7718da.svg new file mode 100644 index 00000000..0bc2a316 --- /dev/null +++ b/charting_library/bundles/61da80123bd4db4b54f857a53d7718da.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/62bf57b352114c25f178d892fef2c1d8.svg b/charting_library/bundles/62bf57b352114c25f178d892fef2c1d8.svg new file mode 100644 index 00000000..1ae53dd8 --- /dev/null +++ b/charting_library/bundles/62bf57b352114c25f178d892fef2c1d8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/637fc842362a44cdfab2f5a1945f5ad8.svg b/charting_library/bundles/637fc842362a44cdfab2f5a1945f5ad8.svg new file mode 100644 index 00000000..40a43f9c --- /dev/null +++ b/charting_library/bundles/637fc842362a44cdfab2f5a1945f5ad8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/638.a7dbcc3801adb93fdc91.js b/charting_library/bundles/638.a7dbcc3801adb93fdc91.js new file mode 100644 index 00000000..979c8dda --- /dev/null +++ b/charting_library/bundles/638.a7dbcc3801adb93fdc91.js @@ -0,0 +1,5 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[638],{55576:e=>{e.exports={button:"button-9pA37sIi",hover:"hover-9pA37sIi",isInteractive:"isInteractive-9pA37sIi",isGrouped:"isGrouped-9pA37sIi",newStyles:"newStyles-9pA37sIi",isActive:"isActive-9pA37sIi",isOpened:"isOpened-9pA37sIi",isDisabled:"isDisabled-9pA37sIi",text:"text-9pA37sIi",icon:"icon-9pA37sIi"}},64547:e=>{e.exports={button:"button-SS83RYhy"}},71123:e=>{e.exports={button:"button-khcLBZEz",hover:"hover-khcLBZEz",arrow:"arrow-khcLBZEz",arrowWrap:"arrowWrap-khcLBZEz",newStyles:"newStyles-khcLBZEz",isOpened:"isOpened-khcLBZEz"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},40367:e=>{e.exports={icon:"icon-AL2odtws",dropped:"dropped-AL2odtws"}},90186:(e,t,o)=>{"use strict";function r(e){return n(e,a)}function i(e){return n(e,s)}function n(e,t){const o=Object.entries(e).filter(t),r={};for(const[e,t]of o)r[e]=t;return r}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function s(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>r,filterAriaProps:()=>i,filterProps:()=>n,isDataAttribute:()=>a,isAriaAttribute:()=>s})},40233:(e,t,o)=>{"use strict";o.d(t,{VerticalAttachEdge:()=>r,HorizontalAttachEdge:()=>i,VerticalDropDirection:()=>n,HorizontalDropDirection:()=>a,getPopupPositioner:()=>c});var r,i,n,a,s=o(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(r||(r={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(n||(n={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const l={verticalAttachEdge:r.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:n.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function c(e,t){return(o,c)=>{const d=(0, +s.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:p=l.verticalAttachEdge,verticalDropDirection:h=l.verticalDropDirection,horizontalAttachEdge:u=l.horizontalAttachEdge,horizontalDropDirection:m=l.horizontalDropDirection,horizontalMargin:v=l.horizontalMargin,verticalMargin:w=l.verticalMargin,matchButtonAndListboxWidths:f=l.matchButtonAndListboxWidths}=t,b=p===r.Top?-1*w:w,g=u===i.Right?d.right:d.left,D=p===r.Top?d.top:d.bottom,k={x:g-(m===a.FromRightToLeft?o:0)+v,y:D-(h===n.FromBottomToTop?c:0)+b};return f&&(k.overrideWidth=d.width),k}}},4825:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>l,ToolWidgetButton:()=>c});var r=o(59496),i=o(97754),n=o(9745),a=o(37669),s=o(55576);const l=s,c=r.forwardRef((e,t)=>{const{icon:o,isActive:l,isOpened:c,isDisabled:d,isGrouped:p,isHovered:h,onClick:u,text:m,textBeforeIcon:v,title:w,theme:f=s,className:b,forceInteractive:g,"data-name":D,...k}=e,x=i(b,f.button,w&&"apply-common-tooltip",{[f.isActive]:l,[f.isOpened]:c,[f.isInteractive]:(g||Boolean(u))&&!d,[f.isDisabled]:d,[f.isGrouped]:p,[f.hover]:h,[f.newStyles]:a.hasNewHeaderToolbarStyles}),E=o&&("string"==typeof o?r.createElement(n.Icon,{className:f.icon,icon:o}):r.cloneElement(o,{className:i(f.icon,o.props.className)}));return r.createElement("div",{...k,ref:t,"data-role":"button",className:x,onClick:d?void 0:u,title:w,"data-name":D},v&&m&&r.createElement("div",{className:i("js-button-text",f.text)},m),E,!v&&m&&r.createElement("div",{className:i("js-button-text",f.text)},m))})},14593:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetIconButton:()=>s});var r=o(59496),i=o(97754),n=o(4825),a=o(64547);const s=r.forwardRef((e,t)=>{const{className:o,id:s,...l}=e;return r.createElement(n.ToolWidgetButton,{"data-name":s,...l,ref:t,className:i(o,a.button)})})},35390:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetMenu:()=>m});var r=o(59496),i=o(97754),n=o(50628),a=o(10381),s=o(90186),l=o(37558),c=o(41590),d=o(40233),p=o(90692),h=o(37669),u=o(71123);class m extends r.PureComponent{constructor(e){super(e),this._wrapperRef=null,this._controller=r.createRef(),this._handleWrapperRef=e=>{this._wrapperRef=e,this.props.reference&&this.props.reference(e)},this._handleClick=e=>{e.target instanceof Node&&e.currentTarget.contains(e.target)&&(this._handleToggleDropdown(),this.props.onClick&&this.props.onClick(e,!this.state.isOpened))},this._handleToggleDropdown=e=>{const{onClose:t,onOpen:o}=this.props,{isOpened:r}=this.state,i="boolean"==typeof e?e:!r;this.setState({isOpened:i}),i&&o&&o(),!i&&t&&t()},this._handleClose=()=>{this.close()},this.state={isOpened:!1}}render(){const{id:e,arrow:t,content:o,isDisabled:n,isDrawer:l,isShowTooltip:c,title:d,className:u,hotKey:m,theme:v,drawerBreakpoint:w}=this.props,{isOpened:f}=this.state,b=i(u,v.button,{"apply-common-tooltip":c||!n,[v.isDisabled]:n,[v.isOpened]:f,[v.newStyles]:h.hasNewHeaderToolbarStyles});return r.createElement("div",{id:e,className:b,onClick:n?void 0:this._handleClick,title:d,"data-tooltip-hotkey":m,ref:this._handleWrapperRef,"data-role":"button",...(0, +s.filterDataProps)(this.props)},o,t&&r.createElement("div",{className:v.arrow},r.createElement("div",{className:v.arrowWrap},r.createElement(a.ToolWidgetCaret,{dropped:f}))),this.state.isOpened&&(w?r.createElement(p.MatchMedia,{rule:w},e=>this._renderContent(e)):this._renderContent(l)))}close(){this._handleToggleDropdown(!1)}update(){null!==this._controller.current&&this._controller.current.update()}_renderContent(e){const{menuDataName:t,minWidth:o,menuClassName:i,maxHeight:a,drawerPosition:s="Bottom",children:p}=this.props,{isOpened:h}=this.state,u={horizontalMargin:this.props.horizontalMargin||0,verticalMargin:this.props.verticalMargin||2,verticalAttachEdge:this.props.verticalAttachEdge,horizontalAttachEdge:this.props.horizontalAttachEdge,verticalDropDirection:this.props.verticalDropDirection,horizontalDropDirection:this.props.horizontalDropDirection,matchButtonAndListboxWidths:this.props.matchButtonAndListboxWidths},m=Boolean(h&&e&&s),v=function(e){return"function"==typeof e}(p)?p({isDrawer:m}):p;return m?r.createElement(l.DrawerManager,null,r.createElement(c.Drawer,{onClose:this._handleClose,position:s,"data-name":t},v)):r.createElement(n.PopupMenu,{controller:this._controller,closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:h,minWidth:o,onClose:this._handleClose,position:(0,d.getPopupPositioner)(this._wrapperRef,u),className:i,maxHeight:a,"data-name":t},v)}}m.defaultProps={arrow:!0,closeOnClickOutside:!0,theme:u}},37669:(e,t,o)=>{"use strict";o.d(t,{hasNewHeaderToolbarStyles:()=>r});o(67337);const r=!1},24437:(e,t,o)=>{"use strict";o.d(t,{DialogBreakpoints:()=>i});var r=o(96746);const i={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerManager:()=>i,DrawerContext:()=>n});var r=o(59496);class i extends r.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 r.createElement(n.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const n=r.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>u});var r=o(59496),i=o(88537),n=o(97754),a=o(59142),s=o(43989),l=o(65718),c=o(37558),d=o(49483),p=o(29197),h=o(66998);function u(e){const{position:t="Bottom",onClose:o,children:u,className:m,theme:v=h}=e,w=(0,i.ensureNotNull)((0,r.useContext)(c.DrawerContext)),[f,b]=(0,r.useState)(0),g=(0,r.useRef)(null),D=(0,r.useContext)(p.CloseDelegateContext);return(0,r.useEffect)(()=>{const e=(0,i.ensureNotNull)(g.current);return e.focus({preventScroll:!0}),D.subscribe(w,o),0===w.currentDrawer&&(0,s.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,a.disableBodyScroll)(e),b(w.addDrawer()),()=>{D.unsubscribe(w,o);const t=w.removeDrawer();d.CheckMobile.iOS()&&(0, +a.enableBodyScroll)(e),0===t&&(0,s.setFixedBodyState)(!1)}},[]),r.createElement(l.Portal,null,r.createElement("div",{className:n(h.wrap,h["position"+t])},f===w.currentDrawer&&r.createElement("div",{className:h.backdrop,onClick:o}),r.createElement("div",{className:n(h.drawer,v.drawer,h["position"+t],m),ref:g,tabIndex:-1,"data-name":e["data-name"]},u)))}},36189:(e,t,o)=>{"use strict";o.d(t,{FavoriteButton:()=>p});var r=o(28353),i=o(59496),n=o(97754),a=o(9745),s=o(20614),l=o(55783),c=o(16842);const d={add:(0,r.t)("Add to favorites"),remove:(0,r.t)("Remove from favorites")};function p(e){const{className:t,isFilled:o,isActive:r,onClick:p,...h}=e;return i.createElement(a.Icon,{...h,className:n(c.favorite,"apply-common-tooltip",o&&c.checked,r&&c.active,t),icon:o?s:l,onClick:p,title:o?d.remove:d.add})}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>h});var r=o(59496),i=o(97754),n=o(59064),a=o(51768),s=o(90186),l=o(23576);const c=l;function d(e){const{reference:t,...o}=e,i={...o,ref:t};return r.createElement(e.href?"a":"div",i)}function p(e){e.stopPropagation()}function h(e){const{id:t,role:o,"aria-selected":c,className:h,title:u,labelRowClassName:m,labelClassName:v,shortcut:w,forceShowShortcuts:f,icon:b,isActive:g,isDisabled:D,isHovered:k,appearAsDisabled:x,label:E,link:C,showToolboxOnHover:T,target:O,rel:N,toolbox:A,reference:B,onMouseOut:S,onMouseOver:y,suppressToolboxClick:M=!0,theme:L=l}=e,_=(0,s.filterDataProps)(e),F=(0,r.useRef)(null);return r.createElement(d,{..._,id:t,role:o,"aria-selected":c,className:i(h,L.item,b&&L.withIcon,{[L.isActive]:g,[L.isDisabled]:D||x,[L.hovered]:k}),title:u,href:C,target:O,rel:N,reference:function(e){F.current=e,"function"==typeof B&&B(e);"object"==typeof B&&(B.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:r,onClickArg:i,trackEventObject:s}=e;if(D)return;s&&(0,a.trackEvent)(s.category,s.event,s.label);r&&r(i,t);o||(0,n.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:r}=e;o&&r&&(0,a.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:r}=e;if(1===t.button&&C&&o){let e=o.label;r&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:y,onMouseOut:S},void 0!==b&&r.createElement("div",{className:L.icon,dangerouslySetInnerHTML:{__html:b}}),r.createElement("div",{className:i(L.labelRow,m)},r.createElement("div",{className:i(L.label,v)},E)),(void 0!==w||f)&&r.createElement("div",{className:L.shortcut},(R=w)&&R.split("+").join(" + ")),void 0!==A&&r.createElement("div",{onClick:M?p:void 0,className:i(L.toolbox,{[L.showOnHover]:T})},A));var R}},96040:(e,t,o)=>{"use strict";o.d(t,{RemoveButton:()=>d});var r=o(28353),i=o(59496),n=o(97754),a=o(9745),s=o(73366),l=o(73432);const c={remove:(0,r.t)("Remove")};function d(e){const{className:t,isActive:o,onClick:r,onMouseDown:d,title:p,hidden:h,"data-name":u="remove-button",...m}=e;return i.createElement(a.Icon,{...m,"data-name":u, +className:n(l.button,"apply-common-tooltip",o&&l.active,h&&l.hidden,t),icon:s,onClick:r,onMouseDown:d,title:p||c.remove})}},10381:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetCaret:()=>l});var r=o(59496),i=o(97754),n=o(9745),a=o(40367),s=o(81268);function l(e){const{dropped:t,className:o}=e;return r.createElement(n.Icon,{className:i(o,a.icon,{[a.dropped]:t}),icon:s})}},81268:e=>{e.exports=''},73366:e=>{e.exports=''},16788:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/63bccd48089718d7044ce87890d1af22.svg b/charting_library/bundles/63bccd48089718d7044ce87890d1af22.svg new file mode 100644 index 00000000..10c26ab9 --- /dev/null +++ b/charting_library/bundles/63bccd48089718d7044ce87890d1af22.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6438.d13cf32db05c4395beed.js b/charting_library/bundles/6438.d13cf32db05c4395beed.js new file mode 100644 index 00000000..7a366624 --- /dev/null +++ b/charting_library/bundles/6438.d13cf32db05c4395beed.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6438,8673],{59142:function(e,t){var n,r,o;r=[t],void 0===(o="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var t=n.getDimensions(n._node,e),r="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(t[e]!==n._lastDimensions[e])return n.props.onMeasure(t),r&&void 0!==n&&n.setState({dimensions:t}),n._lastDimensions=t,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new c.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){var t=(e.config,e.whitelist),n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=s.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin;return(0,l.default)(e,{margin:t})}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children +;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(i.Component);f.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=f,e.exports=t.default},function(e,t){e.exports=r},function(e,t,n){(function(t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if("production"!==t.env.NODE_ENV){var o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(5)((function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e&&e.$$typeof===o}),!0)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(){y&&p&&(y=!1,p.length?d=p.concat(d):v=-1,d.length&&u())}function u(){if(!y){var e=o(i);y=!0;for(var t=d.length;t;){for(p=d,d=[];++v1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.getBoundingClientRect(),o=void 0,i=void 0,u=void 0;return t.margin&&(u=(0,r.default)(getComputedStyle(e))),t.margin?(o=u.left+n.width+u.right,i=u.top+n.height+u.bottom):(o=n.width,i=n.height),{width:o,height:i,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(16));e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:n((e=e||{}).marginTop),right:n(e.marginRight),bottom:n(e.marginBottom),left:n(e.marginLeft)}};var n=function(e){return parseInt(e)||0};e.exports=t.default}]))}}]); \ No newline at end of file diff --git a/charting_library/bundles/6464.654bf43eb72d501be562.css b/charting_library/bundles/6464.654bf43eb72d501be562.css new file mode 100644 index 00000000..95d92141 --- /dev/null +++ b/charting_library/bundles/6464.654bf43eb72d501be562.css @@ -0,0 +1 @@ +.toast-x9aer5B8{background:#fff;border-radius:4px;box-shadow:0 2px 4px #0003;box-sizing:border-box;display:flex;flex-flow:row-reverse nowrap;max-width:600px;padding:12px;position:relative;text-align:left}html.theme-dark .toast-x9aer5B8{background:#1e222d;box-shadow:0 2px 4px #0006}.toast-x9aer5B8.intent-danger-x9aer5B8,.toast-x9aer5B8.intent-success-x9aer5B8,.toast-x9aer5B8.intent-warning-x9aer5B8{border-left-style:solid;border-left-width:6px}.toast-x9aer5B8.intent-success-x9aer5B8,html.theme-dark .toast-x9aer5B8.intent-success-x9aer5B8{border-color:#06806b}.toast-x9aer5B8.intent-warning-x9aer5B8,html.theme-dark .toast-x9aer5B8.intent-warning-x9aer5B8{border-color:#ff9800}.toast-x9aer5B8.intent-danger-x9aer5B8{border-color:#f23645}html.theme-dark .toast-x9aer5B8.intent-danger-x9aer5B8{border-color:#b22833}.image-x9aer5B8{align-items:center;display:flex;flex-shrink:0;height:110px;justify-content:center;margin:-4px -4px 0 12px;width:100px}.image-x9aer5B8 img{max-height:110px;max-width:100px}.main-content-x9aer5B8{cursor:default;display:flex;flex-flow:column nowrap;width:100%}.title-x9aer5B8{color:#131722;display:block;font-size:14px;font-style:normal;font-weight:400;font-weight:700;line-height:21px;margin:0 0 4px}html.theme-dark .title-x9aer5B8{color:#d1d4dc}.main-text-x9aer5B8{color:#131722;font-size:13px;font-style:normal;font-weight:400;line-height:19px;margin:0;white-space:pre-wrap}html.theme-dark .main-text-x9aer5B8{color:#d1d4dc}.secondary-text-x9aer5B8{color:#787b86;font-size:12px;font-style:normal;font-weight:400;line-height:17px;margin:8px 0 0}html.theme-dark .secondary-text-x9aer5B8{color:#787b86}.actions-x9aer5B8{margin-top:auto;padding-top:8px}.close-icon-x9aer5B8{display:flex}.close-icon-x9aer5B8,.close-icon-x9aer5B8 svg{height:10px;width:10px}.close-button-x9aer5B8{background:#787b861a;background-clip:padding-box;border:2px solid #0000;border-radius:4px;box-sizing:border-box;color:#787b86;cursor:pointer;height:22px;margin:0;padding:4px;position:absolute;right:12px;top:12px;transition:color .35s ease,border-color .35s ease;width:22px}html.theme-dark .close-button-x9aer5B8{background:#787b861a;color:#787b86}@media (any-hover:hover){.close-button-x9aer5B8:hover{color:#131722;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:hover{color:#b2b5be}}.close-button-x9aer5B8:active{color:#2962ff;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:active{color:#2962ff}.close-button-x9aer5B8:focus{border-color:#2962ff80;outline:none;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:focus{border-color:#2962ff80}.close-button-x9aer5B8:focus-visible{border-color:#2962ff80;outline:none;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:focus-visible{border-color:#2962ff80}.close-button-x9aer5B8:focus:not(:focus-visible){border-color:#0000}.adjust-for-close-button-x9aer5B8{margin-right:28px} \ No newline at end of file diff --git a/charting_library/bundles/6464.654bf43eb72d501be562.rtl.css b/charting_library/bundles/6464.654bf43eb72d501be562.rtl.css new file mode 100644 index 00000000..58c4eeda --- /dev/null +++ b/charting_library/bundles/6464.654bf43eb72d501be562.rtl.css @@ -0,0 +1 @@ +.toast-x9aer5B8{background:#fff;border-radius:4px;box-shadow:0 2px 4px #0003;box-sizing:border-box;display:flex;flex-flow:row-reverse nowrap;max-width:600px;padding:12px;position:relative;text-align:right}html.theme-dark .toast-x9aer5B8{background:#1e222d;box-shadow:0 2px 4px #0006}.toast-x9aer5B8.intent-danger-x9aer5B8,.toast-x9aer5B8.intent-success-x9aer5B8,.toast-x9aer5B8.intent-warning-x9aer5B8{border-right-style:solid;border-right-width:6px}.toast-x9aer5B8.intent-success-x9aer5B8,html.theme-dark .toast-x9aer5B8.intent-success-x9aer5B8{border-color:#06806b}.toast-x9aer5B8.intent-warning-x9aer5B8,html.theme-dark .toast-x9aer5B8.intent-warning-x9aer5B8{border-color:#ff9800}.toast-x9aer5B8.intent-danger-x9aer5B8{border-color:#f23645}html.theme-dark .toast-x9aer5B8.intent-danger-x9aer5B8{border-color:#b22833}.image-x9aer5B8{align-items:center;display:flex;flex-shrink:0;height:110px;justify-content:center;margin:-4px 12px 0 -4px;width:100px}.image-x9aer5B8 img{max-height:110px;max-width:100px}.main-content-x9aer5B8{cursor:default;display:flex;flex-flow:column nowrap;width:100%}.title-x9aer5B8{color:#131722;display:block;font-size:14px;font-style:normal;font-weight:400;font-weight:700;line-height:21px;margin:0 0 4px}html.theme-dark .title-x9aer5B8{color:#d1d4dc}.main-text-x9aer5B8{color:#131722;font-size:13px;font-style:normal;font-weight:400;line-height:19px;margin:0;white-space:pre-wrap}html.theme-dark .main-text-x9aer5B8{color:#d1d4dc}.secondary-text-x9aer5B8{color:#787b86;font-size:12px;font-style:normal;font-weight:400;line-height:17px;margin:8px 0 0}html.theme-dark .secondary-text-x9aer5B8{color:#787b86}.actions-x9aer5B8{margin-top:auto;padding-top:8px}.close-icon-x9aer5B8{display:flex}.close-icon-x9aer5B8,.close-icon-x9aer5B8 svg{height:10px;width:10px}.close-button-x9aer5B8{background:#787b861a;background-clip:padding-box;border:2px solid #0000;border-radius:4px;box-sizing:border-box;color:#787b86;cursor:pointer;height:22px;left:12px;margin:0;padding:4px;position:absolute;top:12px;transition:color .35s ease,border-color .35s ease;width:22px}html.theme-dark .close-button-x9aer5B8{background:#787b861a;color:#787b86}@media (any-hover:hover){.close-button-x9aer5B8:hover{color:#131722;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:hover{color:#b2b5be}}.close-button-x9aer5B8:active{color:#2962ff;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:active{color:#2962ff}.close-button-x9aer5B8:focus{border-color:#2962ff80;outline:none;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:focus{border-color:#2962ff80}.close-button-x9aer5B8:focus-visible{border-color:#2962ff80;outline:none;transition-duration:60ms}html.theme-dark .close-button-x9aer5B8:focus-visible{border-color:#2962ff80}.close-button-x9aer5B8:focus:not(:focus-visible){border-color:#0000}.adjust-for-close-button-x9aer5B8{margin-left:28px} \ No newline at end of file diff --git a/charting_library/bundles/6474d98d9f212d0a5b3edc7c81fce0a4.svg b/charting_library/bundles/6474d98d9f212d0a5b3edc7c81fce0a4.svg new file mode 100644 index 00000000..45db999f --- /dev/null +++ b/charting_library/bundles/6474d98d9f212d0a5b3edc7c81fce0a4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6475.249a3b34f1b557decee6.js b/charting_library/bundles/6475.249a3b34f1b557decee6.js new file mode 100644 index 00000000..285efe09 --- /dev/null +++ b/charting_library/bundles/6475.249a3b34f1b557decee6.js @@ -0,0 +1,8 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6475],{59142:function(e,t){var n,o,s;o=[t],void 0===(s="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{e.exports={wrapper:"wrapper-5Xd5conM",input:"input-5Xd5conM",box:"box-5Xd5conM",icon:"icon-5Xd5conM",noOutline:"noOutline-5Xd5conM","intent-danger":"intent-danger-5Xd5conM",check:"check-5Xd5conM", +dot:"dot-5Xd5conM"}},62092:e=>{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY",black:"black-MuZZSHRY",white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},88797:e=>{e.exports={loaderWrap:"loaderWrap-wpeeczk7",big:"big-wpeeczk7",loader:"loader-wpeeczk7"}},19119:e=>{e.exports={item:"item-tPYeYcJa",interactive:"interactive-tPYeYcJa",hovered:"hovered-tPYeYcJa",disabled:"disabled-tPYeYcJa",active:"active-tPYeYcJa",shortcut:"shortcut-tPYeYcJa",normal:"normal-tPYeYcJa",big:"big-tPYeYcJa",iconCell:"iconCell-tPYeYcJa",icon:"icon-tPYeYcJa",checkmark:"checkmark-tPYeYcJa",content:"content-tPYeYcJa",label:"label-tPYeYcJa",checked:"checked-tPYeYcJa",toolbox:"toolbox-tPYeYcJa",showToolboxOnHover:"showToolboxOnHover-tPYeYcJa",arrowIcon:"arrowIcon-tPYeYcJa",subMenu:"subMenu-tPYeYcJa",invisibleHotkey:"invisibleHotkey-tPYeYcJa"}},52506:e=>{e.exports={row:"row-Bc0VIp30",line:"line-Bc0VIp30",hint:"hint-Bc0VIp30"}},33549:e=>{e.exports={menu:"menu-qOMHRo3C"}},61999:e=>{e.exports={item:"item-zoYF2FPa",emptyIcons:"emptyIcons-zoYF2FPa",loading:"loading-zoYF2FPa",disabled:"disabled-zoYF2FPa",interactive:"interactive-zoYF2FPa",hovered:"hovered-zoYF2FPa",normal:"normal-zoYF2FPa",big:"big-zoYF2FPa",icon:"icon-zoYF2FPa",label:"label-zoYF2FPa",title:"title-zoYF2FPa",nested:"nested-zoYF2FPa",shortcut:"shortcut-zoYF2FPa",remove:"remove-zoYF2FPa"}},76860:e=>{e.exports={separator:"separator-ErQ6N9mF"}},84413:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>c});var o=n(59496),s=n(97754),a=n(9745),r=n(49154),i=n(37593),l=n.n(i);function c(e){const t=s(l().box,l()["intent-"+e.intent],{[l().check]:!Boolean(e.indeterminate),[l().dot]:Boolean(e.indeterminate),[l().noOutline]:-1===e.tabIndex}),n=s(l().wrapper,e.className);return o.createElement("span",{className:n,title:e.title},o.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}),o.createElement("span",{className:t},o.createElement(a.Icon,{icon:r,className:l().icon})))}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>c});var o,s=n(59496),a=n(97754),r=n(74991),i=n(62092),l=n.n(i);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(o||(o={}));class c extends s.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:o.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:o}=this.props,r=a(l().item,l()[t],l()[n]);return s.createElement("span",{className:a(l().loader,o&&l().static,this._getStateClass(),e)},s.createElement("span",{className:r}),s.createElement("span",{className:r}),s.createElement("span",{className:r}))}componentDidMount(){this.setState({state:o.Appear}), +this._stateChangeTimeout=setTimeout(()=>{this.setState({state:o.Active})},2*r.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case o.Initial:return l()["loader-initial"];case o.Appear:return l()["loader-appear"];default:return""}}}},8312:(e,t,n)=>{"use strict";n.d(t,{ActionsTable:()=>I});var o=n(59496),s=n(52506);function a(e){return o.createElement("tr",{className:s.row},o.createElement("td",null,o.createElement("div",{className:s.line})),o.createElement("td",null,o.createElement("div",{className:s.line}),e.hint?o.createElement("div",{className:s.hint},e.hint):null))}var r=n(88537),i=n(97754),l=n.n(i),c=n(84413),u=n(49483),h=n(32563);var d=n(96040),p=n(36189),m=n(99025),v=n(25812),b=n(51956),g=n(37049),f=n(19119);class E extends o.PureComponent{constructor(){super(...arguments),this._handleMouseOver=e=>{(function(e){const t=e.sourceCapabilities;let n=t&&t.firesTouchEvents;return void 0===n&&(n=h.touch),n})(e.nativeEvent)||this.props.onMouseOver&&this.props.onMouseOver()},this._handleClickToolbox=e=>{e.stopPropagation(),this.props.onClickToolbox&&this.props.onClickToolbox()}}render(){const{hasSubItems:e,shortcutHint:t,hint:n,invisibleHotkey:s,favourite:a,theme:r=f,size:l="normal"}=this.props,c=this.props.checkable&&this.props.checkboxInput?"label":"div";return o.createElement(o.Fragment,null,o.createElement("tr",{className:i(r.item,!this.props.noInteractive&&r.interactive,this.props.hovered&&r.hovered,this.props.disabled&&r.disabled,this.props.active&&r.active,this.props.selected&&r.selected,r[l]),onClick:this.props.onClick,onMouseOver:this._handleMouseOver,ref:this.props.reference,"data-action-name":this.props.actionName},void 0!==a&&o.createElement("td",null,o.createElement(p.FavoriteButton,{className:r.favourite,isFilled:a,onClick:this.props.onFavouriteClick})),o.createElement("td",{className:i(r.iconCell),"data-icon-cell":!0},this._icon(r)),o.createElement("td",{className:r.contentCell},o.createElement(c,{className:r.content},o.createElement("span",{className:i(r.label,this.props.checked&&r.checked),"data-label":!0},this.props.label),this._toolbox(r),e&&o.createElement("span",{className:r.arrowIcon,dangerouslySetInnerHTML:{__html:g},"data-submenu-arrow":!0}),!e&&t&&!u.CheckMobile.any()&&o.createElement(m.Hint,{className:i(s&&r.invisibleHotkey),text:t}),!e&&!t&&n&&o.createElement(m.Hint,{text:n})))),o.createElement("tr",{className:r.subMenu},o.createElement("td",null,this.props.children)))}_icon(e){if(this.props.checkable){if(this.props.checkboxInput)return o.createElement(c.CheckboxInput,{className:i(e.icon,e.checkboxInput),checked:this.props.checked});if(this.props.checked){const t=!this.props.icon&&!this.props.iconChecked,n=this.props.iconChecked||this.props.icon||b;return o.createElement("span",{className:i(e.icon,t&&e.checkmark),dangerouslySetInnerHTML:{__html:n},"data-icon-checkmark":t})}return this.props.icon?o.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{ +__html:this.props.icon}}):o.createElement("span",{className:e.icon})}return this.props.icon?o.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):null}_toolbox(e){return this.props.toolbox?o.createElement("span",{className:i(e.toolbox,this.props.showToolboxOnHover&&e.showToolboxOnHover),onClick:this._handleClickToolbox,"data-toolbox":!0},this._renderToolboxContent()):null}_renderToolboxContent(){if(this.props.toolbox)switch(this.props.toolbox.type){case v.ToolboxType.Delete:return o.createElement(d.RemoveButton,{onClick:this.props.toolbox.action})}return null}}var w=n(29332),x=n(59064),C=n(51768),k=n(62820);var _=n(14758),S=n(26996),M=n(88797);function y(e){const{size:t="normal"}=e;return o.createElement(E,{size:t,label:o.createElement("div",{className:l()(M.loaderWrap,M[t])},o.createElement(S.Loader,{className:M.loader})),noInteractive:!0,onMouseOver:e.onMouseOver})}class N extends o.PureComponent{constructor(e){super(e),this._itemRef=null,this._menuElementRef=o.createRef(),this._menuRef=null,this._handleClick=e=>{e.isDefaultPrevented()||this.state.disabled||(this._hasSubItems()?this._showSubMenu():(this.state.doNotCloseOnClick||(0,x.globalCloseMenu)(),this.props.action.execute(),this._trackEvent(),this.props.onExecute&&this.props.onExecute(this.props.action)))},this._handleClickToolbox=()=>{(0,x.globalCloseMenu)()},this._handleItemMouseOver=()=>{this._showSubMenu(),this._setCurrentContextValue()},this._handleMenuMouseOver=()=>{this._setCurrentContextValue()},this._showSubMenu=()=>{this.props.onShowSubMenu(this.props.action)},this._calcSubMenuPos=e=>function(e,t,n={x:0,y:10}){if(t){const{left:n,right:o,top:s}=t.getBoundingClientRect(),a=document.documentElement.clientWidth,r={x:n-e,y:s},i={x:o,y:s};return(0,k.isRtl)()?n<=e?i:r:a-o>=e?i:r}return n}(e,this._itemRef),this._updateState=e=>{this.setState(e.getState())},this._setItemRef=e=>{this._itemRef=e},this._handleMenuRef=e=>{this._menuRef=e},this._registerSubmenu=()=>{var e;return null===(e=this.context)||void 0===e?void 0:e.registerSubmenu(this.props.action.id,e=>(0,r.ensureNotNull)(this._itemRef).contains(e)||null!==this._menuElementRef.current&&this._menuElementRef.current.contains(e))},this.state={...this.props.action.getState()}}componentDidMount(){this.props.action.onUpdate().subscribe(this,this._updateState),this.state.subItems.length&&(this._unsubscribe=this._registerSubmenu()),this.props.reference&&(this._itemRef=this.props.reference.current)}componentDidUpdate(e,t){var n,o,s;t.loading!==this.state.loading&&(null===(o=(n=this.props).onRequestUpdate)||void 0===o||o.call(n)),0===t.subItems.length&&this.state.subItems.length>0&&(this._unsubscribe=this._registerSubmenu()),t.subItems.length>0&&0===this.state.subItems.length&&(null===(s=this._unsubscribe)||void 0===s||s.call(this)),t.subItems!==this.state.subItems&&null!==this._menuRef&&this._menuRef.update()}componentWillUnmount(){this.props.action.onUpdate().unsubscribe(this,this._updateState),this._unsubscribe&&this._unsubscribe()}render(){var e,t,n +;const s=null!==(e=this.state.jsxLabel)&&void 0!==e?e:this.state.label,a=(null===(t=this.context)||void 0===t?void 0:t.current)?this.context.current===this.props.action.id:this.props.isSubMenuOpened;return this.state.loading?o.createElement(y,{size:this.state.size}):o.createElement(E,{theme:this.props.theme,reference:null!==(n=this.props.reference)&&void 0!==n?n:this._setItemRef,onClick:this._handleClick,onClickToolbox:this._handleClickToolbox,onMouseOver:this._handleItemMouseOver,hovered:a,hasSubItems:this._hasSubItems(),actionName:this.state.name,checkboxInput:this.props.checkboxInput,selected:this.props.selected,...this.state,label:s},o.createElement(w.ContextMenu,{isOpened:a,items:this.state.subItems,position:this._calcSubMenuPos,menuStatName:this.props.menuStatName,parentStatName:this._getStatName(),menuElementReference:this._menuElementRef,onMouseOver:this.state.subItems.length?this._handleMenuMouseOver:void 0,ref:this._handleMenuRef}))}_setCurrentContextValue(){var e;this.state.subItems.length&&(null===(e=this.context)||void 0===e||e.setCurrent(this.props.action.id))}_hasSubItems(){return this.state.subItems.length>0}_trackEvent(){const e=this._getStatName();(0,C.trackEvent)("ContextMenuClick",this.props.menuStatName||"",e)}_getStatName(){return[this.props.parentStatName,this.state.statName].filter(e=>Boolean(e)).join(".")}}N.contextType=_.SubmenuContext;class I extends o.PureComponent{constructor(e){super(e),this._handleShowSubMenu=e=>{const t=e.getState();this.setState({showSubMenuOf:t.subItems.length?e:void 0})},this.state={}}render(){return o.createElement("table",null,o.createElement("tbody",null,this.props.items.map(e=>this._item(e))))}static getDerivedStateFromProps(e,t){return!e.parentIsOpened&&t.showSubMenuOf?{showSubMenuOf:void 0}:null}_item(e){switch(e.type){case"separator":return o.createElement(a,{key:e.id,hint:e.getHint()});case"action":return o.createElement(N,{key:e.id,action:e,onShowSubMenu:this._handleShowSubMenu,isSubMenuOpened:this.state.showSubMenuOf===e,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName,onRequestUpdate:this.props.onRequestUpdate})}}}},29332:(e,t,n)=>{"use strict";n.d(t,{ContextMenu:()=>_,OverlapContextMenu:()=>S});var o=n(59496),s=n(97754),a=n.n(s),r=n(86431),i=n(27317),l=n(76594),c=n(9481),u=n(8312),h=n(37558),d=n(90692),p=n(76860);function m(e){return o.createElement("li",{className:p.separator})}var v=n(23829),b=n(41590),g=n(59064);function f(e){const{action:t}=e,[n,s]=(0,o.useState)(()=>t.getState()),[a,r]=(0,o.useState)(!1),i=!!n.subItems.length,l=i&&a;return(0,o.useEffect)(()=>{const e=()=>s(t.getState());return t.onUpdate().subscribe(null,e),()=>{t.onUpdate().unsubscribe(null,e)}},[]),o.createElement(v.ContextMenuItem,{...n,onClick:function(e){if(n.disabled||e.defaultPrevented)return;if(i)return void r(!0);n.doNotCloseOnClick||(0,g.globalCloseMenu)();t.execute()},isLoading:n.loading,isHovered:l},l&&o.createElement(b.Drawer,{onClose:c},o.createElement(x,{items:n.subItems,parentAction:t,closeNested:c})));function c(e){e&&e.preventDefault(), +r(!1)}}var E=n(54627),w=n(4301);function x(e){const{items:t,parentAction:n,closeNested:s}=e,a=!Boolean(n)&&t.every(e=>!Boolean("separator"!==e.type&&(e.getState().icon||e.getState().checkable)));return o.createElement(E.EmptyIconsContext.Provider,{value:a},o.createElement("ul",null,n&&o.createElement(o.Fragment,null,o.createElement(v.ContextMenuItem,{label:n.getState().label,isTitle:!0,active:!1,disabled:!1,subItems:[],checkable:!1,checked:!1,doNotCloseOnClick:!1,icon:w,onClick:s}),o.createElement(m,null)),t.map(e=>{switch(e.type){case"action":return o.createElement(f,{key:e.id,action:e});case"separator":return o.createElement(m,{key:e.id})}})))}const C=o.createContext(null);var k=n(33549);class _ extends o.PureComponent{constructor(e){super(e),this._menuRef=o.createRef(),this._handleRequestUpdate=()=>{this.update()},this._handleClose=()=>{this.props.onClose&&this.props.onClose()},this._handleOutsideClickClose=e=>{const{doNotCloseOn:t,onClose:n}=this.props;!n||void 0!==t&&t.contains(e.target)||n()},this._handleFocusOnOpen=()=>{var e,t;(null===(e=this.props.menuElementReference)||void 0===e?void 0:e.current)&&this.props.takeFocus&&(null===(t=this.props.menuElementReference)||void 0===t||t.current.focus({preventScroll:!0}))},this.state={}}render(){const{isOpened:e,onClose:t,items:n,doNotCloseOn:s,menuStatName:r,parentStatName:p,takeFocus:m,...v}=this.props;return e?o.createElement(h.DrawerManager,null,o.createElement(c.KeyboardDocumentListener,{keyCode:27,eventType:"keyup",handler:this._handleClose}),o.createElement(d.MatchMedia,{rule:"screen and (max-width: 428px)"},t=>this._isDrawer(t)?o.createElement(C.Provider,{value:{type:"drawer"}},o.createElement(b.Drawer,{onClose:this._handleClose,position:"Bottom","data-name":v["data-name"]},o.createElement(x,{items:n}))):o.createElement(C.Provider,{value:{type:"menu"}},o.createElement(l.OutsideEvent,{handler:this._handleOutsideClickClose,mouseDown:!0,touchStart:!0,reference:this.props.menuElementReference},t=>o.createElement(i.Menu,{...v,reference:t,className:a()(k.menu,"context-menu"),onClose:this._handleClose,noMomentumBasedScroll:!0,ref:this._menuRef,tabIndex:m?-1:void 0,onOpen:this._handleFocusOnOpen},o.createElement(u.ActionsTable,{items:n,menuStatName:r,parentStatName:p,parentIsOpened:e,onRequestUpdate:this._handleRequestUpdate})))))):null}update(){this._menuRef.current&&this._menuRef.current.update()}_isDrawer(e){return void 0===this.props.mode?e:"drawer"===this.props.mode}}const S=(0,r.makeOverlapable)(_)},99025:(e,t,n)=>{"use strict";n.d(t,{Hint:()=>i});var o=n(59496),s=n(97754),a=n.n(s),r=n(19119);function i(e){const{text:t="",className:n}=e;return o.createElement("span",{className:a()(r.shortcut,n)},t)}},23829:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>m});var o=n(59496),s=n(97754),a=n.n(s),r=n(9745),i=n(26996),l=n(54627),c=n(99025),u=n(86440),h=n(4585),d=n(74471),p=n(61999);function m(e){ +const{isTitle:t,isLoading:n,isHovered:s,active:m,checkable:v,disabled:b,checked:g,icon:f,iconChecked:E,hint:w,subItems:x,label:C,onClick:k,children:_,toolbox:S,jsxLabel:M,size:y="normal"}=e,N=(0,o.useContext)(l.EmptyIconsContext),I=!!x.length;return n?o.createElement("li",{className:a()(p.item,p.loading,p[y])},o.createElement(i.Loader,null)):o.createElement("li",{className:a()(p.item,p.interactive,t&&p.title,b&&p.disabled,s&&p.hovered,m&&p.active,N&&p.emptyIcons,p[y]),onClick:k},o.createElement(r.Icon,{className:a()(p.icon),icon:function(){if(v&&g)return E||f||u;return f}()}),o.createElement("span",{className:a()(p.label)},null!=M?M:C),!!S&&o.createElement(r.Icon,{onClick:function(){S&&S.action()},className:p.remove,icon:d}),!I&&w&&o.createElement(c.Hint,{className:p.shortcut,text:w}),I&&o.createElement(r.Icon,{className:p.nested,icon:h}),_)}},54627:(e,t,n)=>{"use strict";n.d(t,{EmptyIconsContext:()=>o});const o=n(59496).createContext(!1)},9481:(e,t,n)=>{"use strict";n.d(t,{KeyboardDocumentListener:()=>s});var o=n(59496);class s extends o.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>s});var o=n(58095);function s(e){const{children:t,...n}=e;return t((0,o.useOutsideEvent)(n))}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>a});var o=n(59496),s=n(65718);function a(e){return class extends o.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const a=o.createElement(e,{...this.props,zIndex:150});return"parent"===n?a:o.createElement(s.Portal,null,a)}}}},49154:e=>{e.exports=''},4301:e=>{e.exports=''},4585:e=>{e.exports=''},51956:e=>{e.exports=''},86440:e=>{e.exports=''},74471:e=>{ +e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/650a8fb9d8083fd5887fa14d5a48b917.svg b/charting_library/bundles/650a8fb9d8083fd5887fa14d5a48b917.svg new file mode 100644 index 00000000..85bf6665 --- /dev/null +++ b/charting_library/bundles/650a8fb9d8083fd5887fa14d5a48b917.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6543950df881e52d4ca8007a6013f7d0.svg b/charting_library/bundles/6543950df881e52d4ca8007a6013f7d0.svg new file mode 100644 index 00000000..1d25d71b --- /dev/null +++ b/charting_library/bundles/6543950df881e52d4ca8007a6013f7d0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/65876f64a690a9c40a4f3d84367678ad.svg b/charting_library/bundles/65876f64a690a9c40a4f3d84367678ad.svg new file mode 100644 index 00000000..20d40c86 --- /dev/null +++ b/charting_library/bundles/65876f64a690a9c40a4f3d84367678ad.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6602.a297e70e35cceabe17ef.js b/charting_library/bundles/6602.a297e70e35cceabe17ef.js new file mode 100644 index 00000000..dda8643f --- /dev/null +++ b/charting_library/bundles/6602.a297e70e35cceabe17ef.js @@ -0,0 +1,29 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6602],{68647:(t,e,n)=>{var r,i,s;s="object"==typeof self&&self.self==self&&self||"object"==typeof n.g&&n.g.global==n.g&&n.g,r=[n(25977),n(23127),e],void 0===(i=function(t,e,n){s.Backbone=function(t,e,n,r){var i=t.Backbone,s=[].slice;e.VERSION="1.2.1",e.$=r,e.noConflict=function(){return t.Backbone=i,this},e.emulateHTTP=!1,e.emulateJSON=!1;var a=function(t,e,r){n.each(e,(function(e,i){n[i]&&(t.prototype[i]=function(t,e,r){switch(t){case 1:return function(){return n[e](this[r])};case 2:return function(t){return n[e](this[r],t)};case 3:return function(t,i){return n[e](this[r],t,i)};case 4:return function(t,i,s){return n[e](this[r],t,i,s)};default:return function(){var t=s.call(arguments);return t.unshift(this[r]),n[e].apply(n,t)}}}(e,i,r))}))},o=e.Events={},u=/\s+/,c=function(t,e,r,i,s){var a,o=0;if(r&&"object"==typeof r){void 0!==i&&"context"in s&&void 0===s.context&&(s.context=i);for(a=n.keys(r);o1&&~~(t/10)%10!=1}function i(t,e,n){var i=t+" ";switch(n){case"m":return e?"minuta":"minutę";case"mm":return i+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(r(t)?"godziny":"godzin");case"MM":return i+(r(t)?"miesiące":"miesięcy");case"yy":return i+(r(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,r){return""===r?"("+n[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(r)?n[t.month()]:e[t.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:i,y:"rok",yy:i},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(24951))},44283:function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(24951))},39171:function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm", +LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(24951))},57023:function(t,e,n){!function(t){"use strict";function e(t,e,n){var r,i;return"m"===n?e?"минута":"минуту":t+" "+(r=+t,i={mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}t.defineLocale("ru",{months:function(t,e){return{nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative"][t.month()]},monthsShort:function(t,e){return{nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative"][t.month()]},weekdays:function(t,e){return{nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")}[/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(e)?"accusative":"nominative"][t.day()]},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:7}})}(n(24951)) +},52853:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(t){if(0===t)return t+"'ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(24951))},14105:(t,e,n)=>{var r={"./en-gb":62110,"./en-gb.js":62110,"./es":8977,"./es.js":8977,"./it":55229,"./it.js":55229,"./ja":50124,"./ja.js":50124,"./ko":89568,"./ko.js":89568,"./pl":30684,"./pl.js":30684,"./pt":39171,"./pt-br":44283,"./pt-br.js":44283,"./pt.js":39171,"./ru":57023,"./ru.js":57023,"./tr":52853,"./tr.js":52853};function i(t){var e=s(t);return n(e)}function s(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=s,t.exports=i,i.id=14105},24951:function(t,e,n){(t=n.nmd(t)).exports=function(){"use strict";var e;function r(){return e.apply(null,arguments)}function i(t){return"[object Array]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function u(t,e,n,r){return Et(t,e,n,r,!0).utc()}function c(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}),t._pf}function l(t){if(null==t._isValid){var e=c(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function h(t){var e=u(NaN);return null!=t?o(c(e),t):c(e).userInvalidated=!0,e}var d=r.momentProperties=[];function f(t,e){var n,r,i +;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=c(e)),void 0!==e._locale&&(t._locale=e._locale),d.length>0)for(n in d)void 0!==(i=e[r=d[n]])&&(t[r]=i);return t}var _=!1;function m(t){f(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),!1===_&&(_=!0,r.updateOffset(this),_=!1)}function p(t){return t instanceof m||null!=t&&null!=t._isAMomentObject}function y(t){return t<0?Math.ceil(t):Math.floor(t)}function v(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=y(e)),n}function g(t,e,n){var r,i=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),a=0;for(r=0;r0;){if(r=b(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&g(i,n,!0)>=e-1)break;e--}s++}return null}(t)}var T={};function x(t,e){var n=t.toLowerCase();T[n]=T[n+"s"]=T[e]=t}function O(t){return"string"==typeof t?T[t]||T[t.toLowerCase()]:void 0}function H(t){var e,n,r={};for(n in t)a(t,n)&&(e=O(n))&&(r[e]=t[n]);return r}function A(t,e){return function(n){return null!=n?(E(this,t,n),r.updateOffset(this,e),this):F(this,t)}}function F(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function E(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function P(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if("function"==typeof this[t=O(t)])return this[t](e);return this}function j(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var W=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},I={};function U(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(I[t]=i),e&&(I[e[0]]=function(){return j(i.apply(this,arguments),e[1],e[2])}),n&&(I[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function N(t,e){return t.isValid()?(e=G(e,t.localeData()),z[e]=z[e]||function(t){var e,n,r,i=t.match(W);for(e=0,n=i.length;e=0&&C.test(t);)t=t.replace(C,r),C.lastIndex=0,n-=1;return t}var J=/\d/,$=/\d\d/,R=/\d{3}/,q=/\d{4}/,B=/[+-]?\d{6}/,V=/\d\d?/,Z=/\d{1,3}/,Q=/\d{1,4}/,K=/[+-]?\d{1,6}/,X=/\d+/,tt=/[+-]?\d+/,et=/Z|[+-]\d\d:?\d\d/gi,nt=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,rt={};function it(t,e,n){var r;rt[t]="function"==typeof(r=e)&&"[object Function]"===Object.prototype.toString.call(r)?e:function(t){return t&&n?n:e}}function st(t,e){return a(rt,t)?rt[t](e._strict,e._locale):new RegExp(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i})).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))}var at={};function ot(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(r=function(t,n){n[e]=v(t)}),n=0;n11?1:n[2]<1||n[2]>lt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,c(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),c(t).overflow=e),t}function pt(t){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function yt(t,e){var n=!0;return o((function(){return n&&(pt(t+"\n"+(new Error).stack),n=!1),e.apply(this,arguments)}),e)}var vt={};r.suppressDeprecationWarnings=!1 +;var gt=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],wt=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Yt=/^\/?Date\((\-?\d+)/i;function Dt(t){var e,n,r=t._i,i=gt.exec(r);if(i){for(c(t).iso=!0,e=0,n=Mt.length;e68?1900:2e3)};var Tt=A("FullYear",!1);function xt(t,e,n){var r,i=n-e,s=n-t.day();return s>i&&(s-=7),s0?t:t-1,dayOfYear:s>0?s:kt(t-1)+s}}(n,r,i,a,s),t._a[0]=o.year,t._dayOfYear=o.dayOfYear}(t),t._dayOfYear&&(i=Ot(t._a[0],r[0]),t._dayOfYear>kt(i)&&(c(t)._overflowDayOfYear=!0),n=St(i,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?St:bt).apply(null,s), +null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24)}}function At(t){if(t._f!==r.ISO_8601){t._a=[],c(t).empty=!0;var e,n,i,s,a,o=""+t._i,u=o.length,l=0;for(i=G(t._f,t._locale).match(W)||[],e=0;e0&&c(t).unusedInput.push(a),o=o.slice(o.indexOf(n)+n.length),l+=n.length),I[s]?(n?c(t).empty=!1:c(t).unusedTokens.push(s),ct(s,n,t)):t._strict&&!n&&c(t).unusedTokens.push(s);c(t).charsLeftOver=u-l,o.length>0&&c(t).unusedInput.push(o),!0===c(t).bigHour&&t._a[3]<=12&&t._a[3]>0&&(c(t).bigHour=void 0),t._a[3]=function(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),Ht(t),mt(t)}else Dt(t)}function Ft(t){var e=t._i,n=t._f;return t._locale=t._locale||L(t._l),null===e||void 0===n&&""===e?h({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),p(e)?new m(mt(e)):(i(n)?function(t){var e,n,r,i,s;if(0===t._f.length)return c(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t}));function Ct(t,e){var n,r;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return Pt();for(n=e[0],r=1;r+(t=p(t)?t:Pt(t)):(p(t)?+t:+Pt(t))<+this.clone().startOf(e)},Me.isBefore=function(t,e){var n;return"millisecond"===(e=O(void 0!==e?e:"millisecond"))?+this<+(t=p(t)?t:Pt(t)):(n=p(t)?+t:+Pt(t),+this.clone().endOf(e)this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Me.isDSTShifted=function(){if(void 0!==this._isDSTShifted)return this._isDSTShifted;var t={};if(f(t,this),(t=Ft(t))._a){ +var e=t._isUTC?u(t._a):Pt(t._a);this._isDSTShifted=this.isValid()&&g(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted},Me.isLocal=function(){return!this._isUTC},Me.isUtcOffset=function(){return this._isUTC},Me.isUtc=Rt,Me.isUTC=Rt,Me.zoneAbbr=function(){return this._isUTC?"UTC":""},Me.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Me.dates=yt("dates accessor is deprecated. Use date instead.",ue),Me.months=yt("months accessor is deprecated. Use month instead",_t),Me.years=yt("years accessor is deprecated. Use year instead",Tt),Me.zone=yt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}));var we=Me;function Ye(t){return t}var De=M.prototype;function be(t,e,n,r){var i=L(),s=u().set(r,e);return i[n](s,t)}function Se(t,e,n,r,i){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return be(t,e,n,i);var s,a=[];for(s=0;s0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},De.set=function(t){var e,n;for(n in t)"function"==typeof(e=t[n])?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},De.months=function(t){return this._months[t.month()]},De._months=ht,De.monthsShort=function(t){return this._monthsShort[t.month()]},De._monthsShort=dt,De.monthsParse=function(t,e,n){var r,i,s;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")), +n||this._monthsParse[r]||(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},De.week=function(t){return xt(t,this._week.dow,this._week.doy).week},De._week={dow:0,doy:6},De.firstDayOfYear=function(){return this._week.doy},De.firstDayOfWeek=function(){return this._week.dow},De.weekdays=function(t){return this._weekdays[t.day()]},De._weekdays=ce,De.weekdaysMin=function(t){return this._weekdaysMin[t.day()]},De._weekdaysMin=he,De.weekdaysShort=function(t){return this._weekdaysShort[t.day()]},De._weekdaysShort=le,De.weekdaysParse=function(t){var e,n,r;for(this._weekdaysParse=this._weekdaysParse||[],e=0;e<7;e++)if(this._weekdaysParse[e]||(n=Pt([2e3,1]).day(e),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},De.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},De._meridiemParse=/[ap]\.?m?\.?/i,De.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},S("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===v(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=yt("moment.lang is deprecated. Use moment.locale instead.",S),r.langData=yt("moment.langData is deprecated. Use moment.localeData instead.",L);var ke=Math.abs;function Le(t,e,n,r){var i=Vt(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Te(t){return t<0?Math.floor(t):Math.ceil(t)}function xe(t){return 4800*t/146097}function Oe(t){return 146097*t/4800}function He(t){return function(){return this.as(t)}}var Ae=He("ms"),Fe=He("s"),Ee=He("m"),Pe=He("h"),je=He("d"),We=He("w"),Ce=He("M"),ze=He("y");function Ie(t){return function(){return this._data[t]}}var Ue=Ie("milliseconds"),Ne=Ie("seconds"),Ge=Ie("minutes"),Je=Ie("hours"),$e=Ie("days"),Re=Ie("months"),qe=Ie("years"),Be=Math.round,Ve={s:45,m:45,h:22,d:26,M:11};function Ze(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}var Qe=Math.abs;function Ke(){var t,e,n=Qe(this._milliseconds)/1e3,r=Qe(this._days),i=Qe(this._months);t=y(n/60),e=y(t/60),n%=60,t%=60;var s=y(i/12),a=i%=12,o=r,u=e,c=t,l=n,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(s?s+"Y":"")+(a?a+"M":"")+(o?o+"D":"")+(u||c||l?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(l?l+"S":""):"P0D"}var Xe=zt.prototype;return Xe.abs=function(){var t=this._data;return this._milliseconds=ke(this._milliseconds),this._days=ke(this._days),this._months=ke(this._months),t.milliseconds=ke(t.milliseconds),t.seconds=ke(t.seconds),t.minutes=ke(t.minutes),t.hours=ke(t.hours),t.months=ke(t.months),t.years=ke(t.years),this},Xe.add=function(t,e){return Le(this,t,e,1)},Xe.subtract=function(t,e){return Le(this,t,e,-1)},Xe.as=function(t){var e,n,r=this._milliseconds;if("month"===(t=O(t))||"year"===t)return e=this._days+r/864e5, +n=this._months+xe(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Oe(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Xe.asMilliseconds=Ae,Xe.asSeconds=Fe,Xe.asMinutes=Ee,Xe.asHours=Pe,Xe.asDays=je,Xe.asWeeks=We,Xe.asMonths=Ce,Xe.asYears=ze,Xe.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)},Xe._bubble=function(){var t,e,n,r,i,s=this._milliseconds,a=this._days,o=this._months,u=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Te(Oe(o)+a),a=0,o=0),u.milliseconds=s%1e3,t=y(s/1e3),u.seconds=t%60,e=y(t/60),u.minutes=e%60,n=y(e/60),u.hours=n%24,a+=y(n/24),i=y(xe(a)),o+=i,a-=Te(Oe(i)),r=y(o/12),o%=12,u.days=a,u.months=o,u.years=r,this},Xe.get=function(t){return this[(t=O(t))+"s"]()},Xe.milliseconds=Ue,Xe.seconds=Ne,Xe.minutes=Ge,Xe.hours=Je,Xe.days=$e,Xe.weeks=function(){return y(this.days()/7)},Xe.months=Re,Xe.years=qe,Xe.humanize=function(t){var e=this.localeData(),n=function(t,e,n){var r=Vt(t).abs(),i=Be(r.as("s")),s=Be(r.as("m")),a=Be(r.as("h")),o=Be(r.as("d")),u=Be(r.as("M")),c=Be(r.as("y")),l=i0,l[4]=n,Ze.apply(null,l)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Xe.toISOString=Ke,Xe.toString=Ke,Xe.toJSON=Ke,Xe.locale=re,Xe.localeData=se,Xe.toIsoString=yt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ke),Xe.lang=ie,U("X",0,0,"unix"),U("x",0,0,"valueOf"),it("x",tt),it("X",/[+-]?\d+(\.\d{1,3})?/),ot("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),ot("x",(function(t,e,n){n._d=new Date(v(t))})),r.version="2.10.6",e=Pt,r.fn=we,r.min=function(){var t=[].slice.call(arguments,0);return Ct("isBefore",t)},r.max=function(){var t=[].slice.call(arguments,0);return Ct("isAfter",t)},r.utc=u,r.unix=function(t){return Pt(1e3*t)},r.months=function(t,e){return Se(t,e,"months",12,"month")},r.isDate=s,r.locale=S,r.invalid=h,r.duration=Vt,r.isMoment=p,r.weekdays=function(t,e){return Se(t,e,"weekdays",7,"day")},r.parseZone=function(){return Pt.apply(null,arguments).parseZone()},r.localeData=L,r.isDuration=It,r.monthsShort=function(t,e){return Se(t,e,"monthsShort",12,"month")},r.weekdaysMin=function(t,e){return Se(t,e,"weekdaysMin",7,"day")},r.defineLocale=k,r.weekdaysShort=function(t,e){return Se(t,e,"weekdaysShort",7,"day")},r.normalizeUnits=O,r.relativeTimeThreshold=function(t,e){return void 0!==Ve[t]&&(void 0===e?Ve[t]:(Ve[t]=e,!0))},r}()},25977:function(t,e){var n;(function(){var r=this,i=r._,s=Array.prototype,a=Object.prototype,o=Function.prototype,u=s.push,c=s.slice,l=a.toString,h=a.hasOwnProperty,d=Array.isArray,f=Object.keys,_=o.bind,m=Object.create,p=function(){},y=function(t){ +return t instanceof y?t:this instanceof y?void(this._wrapped=t):new y(t)};t.exports&&(e=t.exports=y),e._=y,y.VERSION="1.8.3";var v=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,s){return t.call(e,n,r,i,s)}}return function(){return t.apply(e,arguments)}},g=function(t,e,n){return null==t?y.identity:y.isFunction(t)?v(t,e,n):y.isObject(t)?y.matcher(t):y.property(t)};y.iteratee=function(t,e){return g(t,e,1/0)};var M=function(t,e){return function(n){var r=arguments.length;if(r<2||null==n)return n;for(var i=1;i=0&&e<=D};function k(t){function e(e,n,r,i,s,a){for(;s>=0&&s0?0:o-1;return arguments.length<3&&(i=n[a?a[u]:u],u+=t),e(n,r,i,a,u,o)}}y.each=y.forEach=function(t,e,n){var r,i;if(e=v(e,n),S(t))for(r=0,i=t.length;r=0},y.invoke=function(t,e){var n=c.call(arguments,2),r=y.isFunction(e);return y.map(t,(function(t){var i=r?e:t[e];return null==i?i:i.apply(t,n)}))},y.pluck=function(t,e){return y.map(t,y.property(e))},y.where=function(t,e){return y.filter(t,y.matcher(e))},y.findWhere=function(t,e){return y.find(t,y.matcher(e))},y.max=function(t,e,n){var r,i,s=-1/0,a=-1/0;if(null==e&&null!=t)for(var o=0,u=(t=S(t)?t:y.values(t)).length;os&&(s=r);else e=g(e,n),y.each(t,(function(t,n,r){((i=e(t,n,r))>a||i===-1/0&&s===-1/0)&&(s=t,a=i)}));return s},y.min=function(t,e,n){var r,i,s=1/0,a=1/0 +;if(null==e&&null!=t)for(var o=0,u=(t=S(t)?t:y.values(t)).length;or||void 0===n)return 1;if(n0?0:i-1;s>=0&&s0?a=s>=0?s:Math.max(s+o,a):o=s>=0?Math.min(s+1,o):s+o+1;else if(n&&s&&o)return r[s=n(r,i)]===i?s:-1;if(i!=i)return(s=e(c.call(r,a,o),y.isNaN))>=0?s+a:-1;for(s=t>0?a:o-1;s>=0&&se?(a&&(clearTimeout(a),a=null),o=c,s=t.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(u,l)),s}},y.debounce=function(t,e,n){var r,i,s,a,o,u=function(){var c=y.now()-a;c=0?r=setTimeout(u,e-c):(r=null,n||(o=t.apply(s,i),r||(s=i=null)))};return function(){s=this,i=arguments,a=y.now();var c=n&&!r;return r||(r=setTimeout(u,e)),c&&(o=t.apply(s,i),s=i=null),o}},y.wrap=function(t,e){return y.partial(e,t)},y.negate=function(t){return function(){return!t.apply(this,arguments)}},y.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},y.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},y.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},y.once=y.partial(y.before,2);var A=!{toString:null}.propertyIsEnumerable("toString"),F=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function E(t,e){var n=F.length,r=t.constructor,i=y.isFunction(r)&&r.prototype||a,s="constructor" +;for(y.has(t,s)&&!y.contains(e,s)&&e.push(s);n--;)(s=F[n])in t&&t[s]!==i[s]&&!y.contains(e,s)&&e.push(s)}y.keys=function(t){if(!y.isObject(t))return[];if(f)return f(t);var e=[];for(var n in t)y.has(t,n)&&e.push(n);return A&&E(t,e),e},y.allKeys=function(t){if(!y.isObject(t))return[];var e=[];for(var n in t)e.push(n);return A&&E(t,e),e},y.values=function(t){for(var e=y.keys(t),n=e.length,r=Array(n),i=0;i":">",'"':""","'":"'","`":"`"},W=y.invert(j),C=function(t){var e=function(e){return t[e]},n="(?:"+y.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}};y.escape=C(j),y.unescape=C(W),y.result=function(t,e,n){var r=null==t?void 0:t[e];return void 0===r&&(r=n),y.isFunction(r)?r.call(t):r};var z=0;y.uniqueId=function(t){var e=++z+"";return t?t+e:e},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var I=/(.)^/,U={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},N=/\\|'|\r|\n|\u2028|\u2029/g,G=function(t){return"\\"+U[t]};y.template=function(t,e,n){!e&&n&&(e=n),e=y.defaults({},e,y.templateSettings);var r=RegExp([(e.escape||I).source,(e.interpolate||I).source,(e.evaluate||I).source].join("|")+"|$","g"),i=0,s="__p+='";t.replace(r,(function(e,n,r,a,o){return s+=t.slice(i,o).replace(N,G),i=o+e.length,n?s+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?s+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(s+="';\n"+a+"\n__p+='"),e})),s+="';\n",e.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{var a=new Function(e.variable||"obj","_",s)}catch(t){throw t.source=s,t}var o=function(t){return a.call(this,t,y)},u=e.variable||"obj";return o.source="function("+u+"){\n"+s+"}",o},y.chain=function(t){var e=y(t);return e._chain=!0,e};var J=function(t,e){return t._chain?y(e).chain():e};y.mixin=function(t){y.each(y.functions(t),(function(e){var n=y[e]=t[e];y.prototype[e]=function(){var t=[this._wrapped];return u.apply(t,arguments),J(this,n.apply(y,t))}}))},y.mixin(y), +y.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=s[t];y.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],J(this,n)}})),y.each(["concat","join","slice"],(function(t){var e=s[t];y.prototype[t]=function(){return J(this,e.apply(this._wrapped,arguments))}})),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return""+this._wrapped},void 0===(n=function(){return y}.apply(e,[]))||(t.exports=n)}).call(this)}}]); \ No newline at end of file diff --git a/charting_library/bundles/66b0098c00f242056c72b05aa3796de9.svg b/charting_library/bundles/66b0098c00f242056c72b05aa3796de9.svg new file mode 100644 index 00000000..adff78d9 --- /dev/null +++ b/charting_library/bundles/66b0098c00f242056c72b05aa3796de9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6708.c5991a4180881ef8eaec.css b/charting_library/bundles/6708.c5991a4180881ef8eaec.css new file mode 100644 index 00000000..8ecb2c84 --- /dev/null +++ b/charting_library/bundles/6708.c5991a4180881ef8eaec.css @@ -0,0 +1 @@ +.sb-inner-shadow{background:#fff;bottom:-10px;box-shadow:0 0 5px #00000026;height:10px;pointer-events:none;position:absolute;transform:translateY(0);transition:opacity .11666667s ease,transform .11666667s ease;width:100%;z-index:5}html.theme-dark .sb-inner-shadow{background:#1e222d}.sb-inner-shadow.top{box-shadow:0 0 5px #00000026;top:-10px}.sb-inner-shadow.i-invisible{transform:translateY(5px)}.sb-inner-shadow.i-invisible.top{transform:translateY(-5px)}.sb-inner-shadow.i-invisible{opacity:0}.sb-scrollbar{opacity:0;position:absolute!important;right:1px;top:73px;transition:opacity .3s;width:7px;z-index:1}.sb-scrollbar.active,.sb-scrollbar.active-always{opacity:1}.sb-scrollbar__content-wrapper--scroll-inited{position:relative}.sb-scrollbar__content--scroll-inited{position:absolute}.sb-scrollbar-wrap{height:100%;position:absolute;right:1px;top:0;width:6px;z-index:1}.sb-scrollbar-wrap .sb-scrollbar{right:0}.sb-scrollbar-body{background:#d1d4dc;border:0;width:6px}html.theme-dark .sb-scrollbar-body{background:#50535e}.gray .sb-scrollbar-body{background:#75757a;border-color:#75757a;border-radius:3px}.sb-scrollbar-bottom,.sb-scrollbar-top{display:none}.active-always.gray,.gray{opacity:.5}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd{-webkit-overflow-scrolling:touch;overflow-y:auto}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar{height:5px;width:5px}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-corner{display:none} \ No newline at end of file diff --git a/charting_library/bundles/6708.c5991a4180881ef8eaec.rtl.css b/charting_library/bundles/6708.c5991a4180881ef8eaec.rtl.css new file mode 100644 index 00000000..dbc16511 --- /dev/null +++ b/charting_library/bundles/6708.c5991a4180881ef8eaec.rtl.css @@ -0,0 +1 @@ +.sb-inner-shadow{background:#fff;bottom:-10px;box-shadow:0 0 5px #00000026;height:10px;pointer-events:none;position:absolute;transform:translateY(0);transition:opacity .11666667s ease,transform .11666667s ease;width:100%;z-index:5}html.theme-dark .sb-inner-shadow{background:#1e222d}.sb-inner-shadow.top{box-shadow:0 0 5px #00000026;top:-10px}.sb-inner-shadow.i-invisible{transform:translateY(5px)}.sb-inner-shadow.i-invisible.top{transform:translateY(-5px)}.sb-inner-shadow.i-invisible{opacity:0}.sb-scrollbar{left:1px;opacity:0;position:absolute!important;top:73px;transition:opacity .3s;width:7px;z-index:1}.sb-scrollbar.active,.sb-scrollbar.active-always{opacity:1}.sb-scrollbar__content-wrapper--scroll-inited{position:relative}.sb-scrollbar__content--scroll-inited{position:absolute}.sb-scrollbar-wrap{height:100%;left:1px;position:absolute;top:0;width:6px;z-index:1}.sb-scrollbar-wrap .sb-scrollbar{left:0}.sb-scrollbar-body{background:#d1d4dc;border:0;width:6px}html.theme-dark .sb-scrollbar-body{background:#50535e}.gray .sb-scrollbar-body{background:#75757a;border-color:#75757a;border-radius:3px}.sb-scrollbar-bottom,.sb-scrollbar-top{display:none}.active-always.gray,.gray{opacity:.5}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd{-webkit-overflow-scrolling:touch;overflow-y:auto}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar{height:5px;width:5px}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.wrapper-BaEDTGCd.touch-BaEDTGCd.wrapper-BaEDTGCd.touch-BaEDTGCd::-webkit-scrollbar-corner{display:none} \ No newline at end of file diff --git a/charting_library/bundles/673445ed0114e00b2249801cf1fa2810.webp b/charting_library/bundles/673445ed0114e00b2249801cf1fa2810.webp new file mode 100644 index 0000000000000000000000000000000000000000..b7e2642273507a83b4c08076f313422e4748754d GIT binary patch literal 106680 zcmdSAb9i0tx-XnGww*M#twxO++qP}nMjP9WZQFJlG-+&mp0+PmyVg4A+w1IeUHkg} znsbh1Vm#x1?)#@9FD4>Vl?@D}BK%%fS(bw!|NC>qcMuuCR6x-DV7yRo{P<&gz`=nC zX=$6HX-bzn0f)pVHh>Fwz;n^vYewa+1cds-lilh#GXS88Fh`i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charting_library/bundles/6750.9ee7b735c78b915db6f7.css b/charting_library/bundles/6750.9ee7b735c78b915db6f7.css new file mode 100644 index 00000000..e208479c --- /dev/null +++ b/charting_library/bundles/6750.9ee7b735c78b915db6f7.css @@ -0,0 +1 @@ +.radio-vpA3AYsc{-webkit-tap-highlight-color:transparent;align-items:center;cursor:default;display:inline-flex;font-size:14px;font-stretch:normal;font-style:normal;font-weight:400;letter-spacing:normal;line-height:normal;position:relative;-webkit-user-select:none;user-select:none}@media (any-hover:hover){.radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#a3a6af}html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#5d606b}.radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#1e53e5}}.radio-vpA3AYsc.reverse-vpA3AYsc{flex-direction:row-reverse}.radio-vpA3AYsc.reverse-vpA3AYsc .label-vpA3AYsc{margin-left:0;margin-right:8px}.radio-vpA3AYsc .wrapper-vpA3AYsc{display:inline-block;flex-shrink:0;height:18px;position:relative;width:18px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc{display:inline-block;height:100%;position:relative;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{background-color:initial;border:1px solid #b2b5be;border-radius:50%;box-sizing:border-box;content:"";height:100%;position:absolute;transition:border-color .35s ease;width:100%}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{border:1px solid #50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:after{border:2px solid;border-color:#2962ffcc;border-radius:50%;box-sizing:border-box;content:"";height:26px;left:-4px;opacity:0;position:absolute;top:-4px;transform:scale(.69231);width:26px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc.noOutline-vpA3AYsc:after{content:none}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc{cursor:inherit;height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;top:0;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before{border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#fff;border-color:#2962ff;border-width:6px}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#d1d4dc;border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus-visible+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus:not(:focus-visible)+.box-vpA3AYsc:after{opacity:0;transform:scale(.69231)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#e0e3eb;border-color:#b2b5be}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#2a2e39;border-color:#50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#b2b5be;border-color:#e0e3eb}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#50535e;border-color:#2a2e39}.radio-vpA3AYsc .label-vpA3AYsc{color:#000;margin-left:8px;min-width:0}html.theme-dark .radio-vpA3AYsc .label-vpA3AYsc{color:#b2b5be} \ No newline at end of file diff --git a/charting_library/bundles/6750.9ee7b735c78b915db6f7.rtl.css b/charting_library/bundles/6750.9ee7b735c78b915db6f7.rtl.css new file mode 100644 index 00000000..6c71caf1 --- /dev/null +++ b/charting_library/bundles/6750.9ee7b735c78b915db6f7.rtl.css @@ -0,0 +1 @@ +.radio-vpA3AYsc{-webkit-tap-highlight-color:transparent;align-items:center;cursor:default;display:inline-flex;font-size:14px;font-stretch:normal;font-style:normal;font-weight:400;letter-spacing:normal;line-height:normal;position:relative;-webkit-user-select:none;user-select:none}@media (any-hover:hover){.radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#a3a6af}html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#5d606b}.radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc:hover .input-vpA3AYsc:checked:not(:focus):not(:disabled)+.box-vpA3AYsc:before{border-color:#1e53e5}}.radio-vpA3AYsc.reverse-vpA3AYsc{flex-direction:row-reverse}.radio-vpA3AYsc.reverse-vpA3AYsc .label-vpA3AYsc{margin-left:8px;margin-right:0}.radio-vpA3AYsc .wrapper-vpA3AYsc{display:inline-block;flex-shrink:0;height:18px;position:relative;width:18px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc{display:inline-block;height:100%;position:relative;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{background-color:initial;border:1px solid #b2b5be;border-radius:50%;box-sizing:border-box;content:"";height:100%;position:absolute;transition:border-color .35s ease;width:100%}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:before{border:1px solid #50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc:after{border:2px solid;border-color:#2962ffcc;border-radius:50%;box-sizing:border-box;content:"";height:26px;opacity:0;position:absolute;right:-4px;top:-4px;transform:scale(.69231);width:26px}.radio-vpA3AYsc .wrapper-vpA3AYsc .box-vpA3AYsc.noOutline-vpA3AYsc:after{content:none}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc{cursor:inherit;height:100%;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before,html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:active:not(:disabled)+.box-vpA3AYsc:before{border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#fff;border-color:#2962ff;border-width:6px}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked+.box-vpA3AYsc:before{background-color:#d1d4dc;border-color:#2962ff}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus-visible+.box-vpA3AYsc:after{opacity:1;transform:scale(1)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:focus:not(:focus-visible)+.box-vpA3AYsc:after{opacity:0;transform:scale(.69231)}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#e0e3eb;border-color:#b2b5be}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:disabled+.box-vpA3AYsc:before{background-color:#2a2e39;border-color:#50535e}.radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#b2b5be;border-color:#e0e3eb}html.theme-dark .radio-vpA3AYsc .wrapper-vpA3AYsc .input-vpA3AYsc:checked:disabled+.box-vpA3AYsc:before{background-color:#50535e;border-color:#2a2e39}.radio-vpA3AYsc .label-vpA3AYsc{color:#000;margin-right:8px;min-width:0}html.theme-dark .radio-vpA3AYsc .label-vpA3AYsc{color:#b2b5be} \ No newline at end of file diff --git a/charting_library/bundles/6767.4ce0a318e0eb8861d505.css b/charting_library/bundles/6767.4ce0a318e0eb8861d505.css new file mode 100644 index 00000000..86ddc34e --- /dev/null +++ b/charting_library/bundles/6767.4ce0a318e0eb8861d505.css @@ -0,0 +1 @@ +.container-PxtBx6dp{align-items:flex-start;background:#fff;border:1px solid;border-radius:4px;color:#131722;display:flex;font-size:13px;font-style:normal;font-weight:400;line-height:19px;padding:11px 12px}html.theme-dark .container-PxtBx6dp{background:#1e222d;color:#d1d4dc}.container-PxtBx6dp.container-danger-PxtBx6dp{border-color:#f23645}.container-PxtBx6dp.container-danger-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-danger-PxtBx6dp .icon-PxtBx6dp{color:#f23645}.container-PxtBx6dp.container-warning-PxtBx6dp{border-color:#ff9800}.container-PxtBx6dp.container-warning-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-warning-PxtBx6dp .icon-PxtBx6dp{color:#ff9800}.container-PxtBx6dp.container-success-PxtBx6dp{border-color:#089981}.container-PxtBx6dp.container-success-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-success-PxtBx6dp .icon-PxtBx6dp{color:#089981}.container-PxtBx6dp.container-default-PxtBx6dp{background-color:#f0f3fa;border-color:#f0f3fa}html.theme-dark .container-PxtBx6dp.container-default-PxtBx6dp{background-color:#2a2e39;border-color:#2a2e39}.container-PxtBx6dp.container-default-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-default-PxtBx6dp .icon-PxtBx6dp{color:#787b86}.container-PxtBx6dp .icon-PxtBx6dp{display:flex;margin-right:8px}.container-PxtBx6dp .text-wrap-PxtBx6dp{align-self:center;margin-right:4px}.container-PxtBx6dp .header-PxtBx6dp{font-weight:700}.close-button-PxtBx6dp{flex-shrink:0;position:static} \ No newline at end of file diff --git a/charting_library/bundles/6767.4ce0a318e0eb8861d505.rtl.css b/charting_library/bundles/6767.4ce0a318e0eb8861d505.rtl.css new file mode 100644 index 00000000..e4e4929c --- /dev/null +++ b/charting_library/bundles/6767.4ce0a318e0eb8861d505.rtl.css @@ -0,0 +1 @@ +.container-PxtBx6dp{align-items:flex-start;background:#fff;border:1px solid;border-radius:4px;color:#131722;display:flex;font-size:13px;font-style:normal;font-weight:400;line-height:19px;padding:11px 12px}html.theme-dark .container-PxtBx6dp{background:#1e222d;color:#d1d4dc}.container-PxtBx6dp.container-danger-PxtBx6dp{border-color:#f23645}.container-PxtBx6dp.container-danger-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-danger-PxtBx6dp .icon-PxtBx6dp{color:#f23645}.container-PxtBx6dp.container-warning-PxtBx6dp{border-color:#ff9800}.container-PxtBx6dp.container-warning-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-warning-PxtBx6dp .icon-PxtBx6dp{color:#ff9800}.container-PxtBx6dp.container-success-PxtBx6dp{border-color:#089981}.container-PxtBx6dp.container-success-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-success-PxtBx6dp .icon-PxtBx6dp{color:#089981}.container-PxtBx6dp.container-default-PxtBx6dp{background-color:#f0f3fa;border-color:#f0f3fa}html.theme-dark .container-PxtBx6dp.container-default-PxtBx6dp{background-color:#2a2e39;border-color:#2a2e39}.container-PxtBx6dp.container-default-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-default-PxtBx6dp .icon-PxtBx6dp{color:#787b86}.container-PxtBx6dp .icon-PxtBx6dp{display:flex;margin-left:8px}.container-PxtBx6dp .text-wrap-PxtBx6dp{align-self:center;margin-left:4px}.container-PxtBx6dp .header-PxtBx6dp{font-weight:700}.close-button-PxtBx6dp{flex-shrink:0;position:static} \ No newline at end of file diff --git a/charting_library/bundles/677ba99bfad6904fb5ff8b117e32715d.svg b/charting_library/bundles/677ba99bfad6904fb5ff8b117e32715d.svg new file mode 100644 index 00000000..a3842bce --- /dev/null +++ b/charting_library/bundles/677ba99bfad6904fb5ff8b117e32715d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/67ffddaaa5ddf676068d1d3f2fb47029.svg b/charting_library/bundles/67ffddaaa5ddf676068d1d3f2fb47029.svg new file mode 100644 index 00000000..eb45a020 --- /dev/null +++ b/charting_library/bundles/67ffddaaa5ddf676068d1d3f2fb47029.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6895.5f890042edec19c4b9d3.css b/charting_library/bundles/6895.5f890042edec19c4b9d3.css new file mode 100644 index 00000000..020ecc92 --- /dev/null +++ b/charting_library/bundles/6895.5f890042edec19c4b9d3.css @@ -0,0 +1 @@ +.container-64c268VA{bottom:30px;display:flex;justify-content:center;left:4px;pointer-events:none;position:absolute;right:4px}.container-64c268VA.bottomPadding-64c268VA{bottom:70px}.centerElement-64c268VA{pointer-events:auto;z-index:1}.notice-64c268VA{opacity:0;transform:translateY(10px);transition:transform .2s ease-in-out,opacity .2s ease-in-out}.notice-showed-64c268VA{opacity:1;transform:translateY(0)} \ No newline at end of file diff --git a/charting_library/bundles/6895.5f890042edec19c4b9d3.rtl.css b/charting_library/bundles/6895.5f890042edec19c4b9d3.rtl.css new file mode 100644 index 00000000..020ecc92 --- /dev/null +++ b/charting_library/bundles/6895.5f890042edec19c4b9d3.rtl.css @@ -0,0 +1 @@ +.container-64c268VA{bottom:30px;display:flex;justify-content:center;left:4px;pointer-events:none;position:absolute;right:4px}.container-64c268VA.bottomPadding-64c268VA{bottom:70px}.centerElement-64c268VA{pointer-events:auto;z-index:1}.notice-64c268VA{opacity:0;transform:translateY(10px);transition:transform .2s ease-in-out,opacity .2s ease-in-out}.notice-showed-64c268VA{opacity:1;transform:translateY(0)} \ No newline at end of file diff --git a/charting_library/bundles/696572b26ab674046f403ec18f2b5e5d.svg b/charting_library/bundles/696572b26ab674046f403ec18f2b5e5d.svg new file mode 100644 index 00000000..2d8fbc1e --- /dev/null +++ b/charting_library/bundles/696572b26ab674046f403ec18f2b5e5d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6973.1014b5c98b0834d66915.js b/charting_library/bundles/6973.1014b5c98b0834d66915.js new file mode 100644 index 00000000..1958e76d --- /dev/null +++ b/charting_library/bundles/6973.1014b5c98b0834d66915.js @@ -0,0 +1,2 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6973],{33289:e=>{e.exports={item:"item-jkLmJiis",flag:"flag-jkLmJiis",text:"text-jkLmJiis",mobile:"mobile-jkLmJiis",selected:"selected-jkLmJiis"}},64069:e=>{e.exports={"country-list":"country-list-I1oZlw8z","list-contain":"list-contain-I1oZlw8z",list:"list-I1oZlw8z","one-column":"one-column-I1oZlw8z","country-list-wrapper":"country-list-wrapper-I1oZlw8z"}},71410:e=>{e.exports={"country-search":"country-search-Kmw4TESj",search:"search-Kmw4TESj",input:"input-Kmw4TESj","magnifier-icon":"magnifier-icon-Kmw4TESj","reset-icon":"reset-icon-Kmw4TESj"}},56973:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CountryList:()=>x});var l=n(59496),o=n(97754),r=n(4889),c=n(74664),s=n(76594),i=n(90692),a=n(28353),u=n(47201),m=n(9745),d=n(78274),h=n(31261),p=n(55170),f=n(16539),g=n(71410);function v(e){const[t,n]=(0,l.useState)(""),{countries:o}=e,r=(0,u.createSafeMulticastEventHandler)((function(t){const n=t.currentTarget.value,l=o.filter(e=>e.name.trim().toLowerCase().startsWith(n.trim().toLowerCase()));n.length>0&&e.debounceOnScroll();l.length>0?e.searchCountries(l):e.searchCountries(o)}),e=>n(e.currentTarget.value)),c=l.createElement(d.StartSlot,null,l.createElement(m.Icon,{icon:p,className:g["magnifier-icon"]})),s=l.createElement(d.EndSlot,null,l.createElement(m.Icon,{icon:f,className:g["reset-icon"],onClick:function(){t.length>0?(n(""),e.searchCountries(o)):e.onClose()}}));return l.createElement("div",{className:g["country-search"]},l.createElement(h.InputControl,{value:t,type:"text",className:g.search,inputClassName:g.input,placeholder:a.t("Search Country"),onChange:r,reference:function(e){e&&e.focus()},startSlot:c,endSlot:s,highlight:!1,stretch:!0}))}var w=n(33289);function E(e){const{country:t,isSelected:n,isMobile:r,onSelected:c}=e;return l.createElement("div",{className:o(w.item,r&&w.mobile,n&&w.selected),onClick:()=>c(t)},l.createElement("img",{alt:"",src:t.iconUrl,className:w.flag}),l.createElement("span",{className:w.text},t.name))}function C({countries:e,selectedCountry:t,isMobile:n,onSelected:o}){return e.map(e=>l.createElement(E,{key:e.code,country:e,isSelected:Boolean(t&&t.code===e.code),isMobile:n,onSelected:o}))}var S=n(81e3),y=n(62820),k=n(64069);const N={horizontal:(0,y.isRtl)()?"right":"left",vertical:"top"},b={horizontal:(0,y.isRtl)()?"right":"left",vertical:"top"};function x(e){const{selectedCountry:t,className:n,attachment:a=N,targetAttachment:u=b}=e,[m,d]=(0,l.useState)(e.countries),[h,p]=(0,l.useState)(!1),f=(0,l.useRef)(null),g=(0,r.default)((function(){var e;null===(e=f.current)||void 0===e||e.scrollIntoView({block:"nearest"})}),400),w=o({[k["one-column"]]:h}),E=o(k.list,w);return l.createElement(i.MatchMedia,{rule:`screen and (max-width: ${c.breakpoints.phone}px)`},r=>r?l.createElement(S.PopupDialog,{isOpened:!0,fullscreen:!0},l.createElement("div",{className:o(n,k["country-list"]),ref:f},l.createElement(v,{onClose:e.onClose,countries:e.countries,searchCountries:M,debounceOnScroll:g}),l.createElement("div",{className:k["list-contain"] +},l.createElement("div",{className:E},C({countries:m,selectedCountry:t,onSelected:x,isMobile:!1}))))):l.createElement(s.OutsideEvent,{mouseDown:!0,handler:y},r=>l.createElement("div",{ref:r,className:k["country-list-wrapper"],style:{[u.horizontal]:0,[u.vertical]:0}},l.createElement("div",{className:o(n,k["country-list"]),ref:f,style:{[a.horizontal]:-5,[a.vertical]:-5}},l.createElement(v,{onClose:e.onClose,countries:e.countries,searchCountries:M,debounceOnScroll:g}),l.createElement("div",{className:k["list-contain"]},l.createElement("div",{className:E},C({countries:m,selectedCountry:t,onSelected:x,isMobile:!1})))))));function y(){e.onClose()}function x(t){e.onSelected(t),e.onClose()}function M(e){d(e),p(e.length<84)}}},55170:e=>{e.exports=''},16539:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/69938b544b1d77792db3e429284a98c1.svg b/charting_library/bundles/69938b544b1d77792db3e429284a98c1.svg new file mode 100644 index 00000000..4c35429d --- /dev/null +++ b/charting_library/bundles/69938b544b1d77792db3e429284a98c1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6ae825abf83e791f0247b4143d5a85ad.svg b/charting_library/bundles/6ae825abf83e791f0247b4143d5a85ad.svg new file mode 100644 index 00000000..91addfe0 --- /dev/null +++ b/charting_library/bundles/6ae825abf83e791f0247b4143d5a85ad.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6b4a6bb049ac33e322b700e50fc5b926.svg b/charting_library/bundles/6b4a6bb049ac33e322b700e50fc5b926.svg new file mode 100644 index 00000000..f8627041 --- /dev/null +++ b/charting_library/bundles/6b4a6bb049ac33e322b700e50fc5b926.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6c45a28c69aad8a75655bdd555d86f68.svg b/charting_library/bundles/6c45a28c69aad8a75655bdd555d86f68.svg new file mode 100644 index 00000000..efb23545 --- /dev/null +++ b/charting_library/bundles/6c45a28c69aad8a75655bdd555d86f68.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6ca6e081b7d7a80d94f38bf6ef9db3fa.svg b/charting_library/bundles/6ca6e081b7d7a80d94f38bf6ef9db3fa.svg new file mode 100644 index 00000000..234d288e --- /dev/null +++ b/charting_library/bundles/6ca6e081b7d7a80d94f38bf6ef9db3fa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6cc5af4752574eb61f0c8075ca1b7881.svg b/charting_library/bundles/6cc5af4752574eb61f0c8075ca1b7881.svg new file mode 100644 index 00000000..b3fe7b2e --- /dev/null +++ b/charting_library/bundles/6cc5af4752574eb61f0c8075ca1b7881.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6ce4af2df856e7fd43f8786a3c3a2e5d.svg b/charting_library/bundles/6ce4af2df856e7fd43f8786a3c3a2e5d.svg new file mode 100644 index 00000000..e2ace2f7 --- /dev/null +++ b/charting_library/bundles/6ce4af2df856e7fd43f8786a3c3a2e5d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6cfd08ce7e4a1dbbd15225a8bf79a4e3.svg b/charting_library/bundles/6cfd08ce7e4a1dbbd15225a8bf79a4e3.svg new file mode 100644 index 00000000..03796c9b --- /dev/null +++ b/charting_library/bundles/6cfd08ce7e4a1dbbd15225a8bf79a4e3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6d9fd8899d084d7f9698d9b2d5862c00.svg b/charting_library/bundles/6d9fd8899d084d7f9698d9b2d5862c00.svg new file mode 100644 index 00000000..a8abe0f7 --- /dev/null +++ b/charting_library/bundles/6d9fd8899d084d7f9698d9b2d5862c00.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6dfaf2afda613a97ef15734acea4f691.svg b/charting_library/bundles/6dfaf2afda613a97ef15734acea4f691.svg new file mode 100644 index 00000000..fc9fb500 --- /dev/null +++ b/charting_library/bundles/6dfaf2afda613a97ef15734acea4f691.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6e8ce773ae74687cfa9576d1210fe5f6.svg b/charting_library/bundles/6e8ce773ae74687cfa9576d1210fe5f6.svg new file mode 100644 index 00000000..069c8863 --- /dev/null +++ b/charting_library/bundles/6e8ce773ae74687cfa9576d1210fe5f6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6fcde21723892d962edac0d9998528d0.svg b/charting_library/bundles/6fcde21723892d962edac0d9998528d0.svg new file mode 100644 index 00000000..83f065eb --- /dev/null +++ b/charting_library/bundles/6fcde21723892d962edac0d9998528d0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/6fd906b30d990590754ae2e98b02d371.svg b/charting_library/bundles/6fd906b30d990590754ae2e98b02d371.svg new file mode 100644 index 00000000..536af718 --- /dev/null +++ b/charting_library/bundles/6fd906b30d990590754ae2e98b02d371.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7037.6c0a17273325fb793ea5.css b/charting_library/bundles/7037.6c0a17273325fb793ea5.css deleted file mode 100644 index d7686614..00000000 --- a/charting_library/bundles/7037.6c0a17273325fb793ea5.css +++ /dev/null @@ -1 +0,0 @@ -.close-button-WaM0Er9G{background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;margin:0;padding:8px}html.theme-dark .close-button-WaM0Er9G{color:#b2b5be}@media (any-hover:hover){.close-button-WaM0Er9G:hover{background:#f0f3fa}html.theme-dark .close-button-WaM0Er9G:hover{background:#2a2e39}}.close-button-WaM0Er9G:active{background:#e0e3eb}html.theme-dark .close-button-WaM0Er9G:active{background:#1e222d}.close-button-WaM0Er9G{outline:none;overflow:visible;position:absolute}.close-button-WaM0Er9G:focus{outline:none}.close-button-WaM0Er9G:focus-visible{outline:none}.close-button-WaM0Er9G:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.close-button-WaM0Er9G:focus:after{display:block}.close-button-WaM0Er9G:focus-visible:after{display:block}.close-button-WaM0Er9G:focus:not(:focus-visible):after{display:none}.close-button-WaM0Er9G:after{border-color:#2962ffcc;border-radius:8px}.close-icon-WaM0Er9G,.close-icon-WaM0Er9G svg{display:block;height:100%}.button-l-WaM0Er9G{height:23px;padding:8px;width:23px}.button-m-WaM0Er9G{height:17px;padding:8px;width:17px}.button-s-WaM0Er9G{height:13px;padding:8px;width:13px}.button-xs-WaM0Er9G{height:11px;padding:4px;width:11px}.button-xxs-WaM0Er9G{height:9px;padding:4px;width:9px}.container-PxtBx6dp{align-items:flex-start;background:#fff;border:1px solid;border-radius:4px;color:#131722;display:flex;font-size:13px;font-style:normal;font-weight:400;line-height:19px;padding:11px 12px}html.theme-dark .container-PxtBx6dp{background:#1e222d;color:#d1d4dc}.container-PxtBx6dp.container-danger-PxtBx6dp{border-color:#f23645}.container-PxtBx6dp.container-danger-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-danger-PxtBx6dp .icon-PxtBx6dp{color:#f23645}.container-PxtBx6dp.container-warning-PxtBx6dp{border-color:#ff9800}.container-PxtBx6dp.container-warning-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-warning-PxtBx6dp .icon-PxtBx6dp{color:#ff9800}.container-PxtBx6dp.container-success-PxtBx6dp{border-color:#089981}.container-PxtBx6dp.container-success-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-success-PxtBx6dp .icon-PxtBx6dp{color:#089981}.container-PxtBx6dp.container-default-PxtBx6dp{background-color:#f0f3fa;border-color:#f0f3fa}html.theme-dark .container-PxtBx6dp.container-default-PxtBx6dp{background-color:#2a2e39;border-color:#2a2e39}.container-PxtBx6dp.container-default-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-default-PxtBx6dp .icon-PxtBx6dp{color:#787b86}.container-PxtBx6dp .icon-PxtBx6dp{display:flex;margin-right:8px}.container-PxtBx6dp .text-wrap-PxtBx6dp{align-self:center;margin-right:4px}.container-PxtBx6dp .header-PxtBx6dp{font-weight:700}.close-button-PxtBx6dp{flex-shrink:0;position:static}.container-64c268VA{bottom:30px;display:flex;justify-content:center;left:4px;pointer-events:none;position:absolute;right:4px}.container-64c268VA.bottomPadding-64c268VA{bottom:70px}.centerElement-64c268VA{pointer-events:auto;z-index:1}.notice-64c268VA{opacity:0;transform:translateY(10px);transition:transform .2s ease-in-out,opacity .2s ease-in-out}.notice-showed-64c268VA{opacity:1;transform:translateY(0)} \ No newline at end of file diff --git a/charting_library/bundles/7037.6c0a17273325fb793ea5.rtl.css b/charting_library/bundles/7037.6c0a17273325fb793ea5.rtl.css deleted file mode 100644 index 4fcacf93..00000000 --- a/charting_library/bundles/7037.6c0a17273325fb793ea5.rtl.css +++ /dev/null @@ -1 +0,0 @@ -.close-button-WaM0Er9G{background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;margin:0;padding:8px}html.theme-dark .close-button-WaM0Er9G{color:#b2b5be}@media (any-hover:hover){.close-button-WaM0Er9G:hover{background:#f0f3fa}html.theme-dark .close-button-WaM0Er9G:hover{background:#2a2e39}}.close-button-WaM0Er9G:active{background:#e0e3eb}html.theme-dark .close-button-WaM0Er9G:active{background:#1e222d}.close-button-WaM0Er9G{outline:none;overflow:visible;position:absolute}.close-button-WaM0Er9G:focus{outline:none}.close-button-WaM0Er9G:focus-visible{outline:none}.close-button-WaM0Er9G:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.close-button-WaM0Er9G:focus:after{display:block}.close-button-WaM0Er9G:focus-visible:after{display:block}.close-button-WaM0Er9G:focus:not(:focus-visible):after{display:none}.close-button-WaM0Er9G:after{border-color:#2962ffcc;border-radius:8px}.close-icon-WaM0Er9G,.close-icon-WaM0Er9G svg{display:block;height:100%}.button-l-WaM0Er9G{height:23px;padding:8px;width:23px}.button-m-WaM0Er9G{height:17px;padding:8px;width:17px}.button-s-WaM0Er9G{height:13px;padding:8px;width:13px}.button-xs-WaM0Er9G{height:11px;padding:4px;width:11px}.button-xxs-WaM0Er9G{height:9px;padding:4px;width:9px}.container-PxtBx6dp{align-items:flex-start;background:#fff;border:1px solid;border-radius:4px;color:#131722;display:flex;font-size:13px;font-style:normal;font-weight:400;line-height:19px;padding:11px 12px}html.theme-dark .container-PxtBx6dp{background:#1e222d;color:#d1d4dc}.container-PxtBx6dp.container-danger-PxtBx6dp{border-color:#f23645}.container-PxtBx6dp.container-danger-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-danger-PxtBx6dp .icon-PxtBx6dp{color:#f23645}.container-PxtBx6dp.container-warning-PxtBx6dp{border-color:#ff9800}.container-PxtBx6dp.container-warning-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-warning-PxtBx6dp .icon-PxtBx6dp{color:#ff9800}.container-PxtBx6dp.container-success-PxtBx6dp{border-color:#089981}.container-PxtBx6dp.container-success-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-success-PxtBx6dp .icon-PxtBx6dp{color:#089981}.container-PxtBx6dp.container-default-PxtBx6dp{background-color:#f0f3fa;border-color:#f0f3fa}html.theme-dark .container-PxtBx6dp.container-default-PxtBx6dp{background-color:#2a2e39;border-color:#2a2e39}.container-PxtBx6dp.container-default-PxtBx6dp .header-PxtBx6dp,.container-PxtBx6dp.container-default-PxtBx6dp .icon-PxtBx6dp{color:#787b86}.container-PxtBx6dp .icon-PxtBx6dp{display:flex;margin-left:8px}.container-PxtBx6dp .text-wrap-PxtBx6dp{align-self:center;margin-left:4px}.container-PxtBx6dp .header-PxtBx6dp{font-weight:700}.close-button-PxtBx6dp{flex-shrink:0;position:static}.container-64c268VA{bottom:30px;display:flex;justify-content:center;left:4px;pointer-events:none;position:absolute;right:4px}.container-64c268VA.bottomPadding-64c268VA{bottom:70px}.centerElement-64c268VA{pointer-events:auto;z-index:1}.notice-64c268VA{opacity:0;transform:translateY(10px);transition:transform .2s ease-in-out,opacity .2s ease-in-out}.notice-showed-64c268VA{opacity:1;transform:translateY(0)} \ No newline at end of file diff --git a/charting_library/bundles/703f250335bd4e9b78c998de059612b2.svg b/charting_library/bundles/703f250335bd4e9b78c998de059612b2.svg new file mode 100644 index 00000000..64a14706 --- /dev/null +++ b/charting_library/bundles/703f250335bd4e9b78c998de059612b2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7042e54b024475a394cb498377852b96.svg b/charting_library/bundles/7042e54b024475a394cb498377852b96.svg new file mode 100644 index 00000000..87d039df --- /dev/null +++ b/charting_library/bundles/7042e54b024475a394cb498377852b96.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/70464b308617ebaa2bc504b4a50c3463.svg b/charting_library/bundles/70464b308617ebaa2bc504b4a50c3463.svg new file mode 100644 index 00000000..e25d5241 --- /dev/null +++ b/charting_library/bundles/70464b308617ebaa2bc504b4a50c3463.svg @@ -0,0 +1 @@ + diff --git a/charting_library/bundles/70717ad43398a435ef78d38d226c6c37.svg b/charting_library/bundles/70717ad43398a435ef78d38d226c6c37.svg new file mode 100644 index 00000000..913f358e --- /dev/null +++ b/charting_library/bundles/70717ad43398a435ef78d38d226c6c37.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7087220f54cd749f878bda12494954eb.svg b/charting_library/bundles/7087220f54cd749f878bda12494954eb.svg new file mode 100644 index 00000000..bb8503d2 --- /dev/null +++ b/charting_library/bundles/7087220f54cd749f878bda12494954eb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/71968c0503e30bbb4fe32b57c8fdd68d.svg b/charting_library/bundles/71968c0503e30bbb4fe32b57c8fdd68d.svg new file mode 100644 index 00000000..3c0e48f2 --- /dev/null +++ b/charting_library/bundles/71968c0503e30bbb4fe32b57c8fdd68d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7210.9206636bbf39a902a0a9.js b/charting_library/bundles/7210.9206636bbf39a902a0a9.js deleted file mode 100644 index 9debb5ef..00000000 --- a/charting_library/bundles/7210.9206636bbf39a902a0a9.js +++ /dev/null @@ -1,7 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7210],{37593:e=>{e.exports={wrapper:"wrapper-5Xd5conM",input:"input-5Xd5conM",box:"box-5Xd5conM",icon:"icon-5Xd5conM",noOutline:"noOutline-5Xd5conM","intent-danger":"intent-danger-5Xd5conM",check:"check-5Xd5conM",dot:"dot-5Xd5conM"}},62092:e=>{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY",black:"black-MuZZSHRY",white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},88797:e=>{e.exports={loaderWrap:"loaderWrap-wpeeczk7",big:"big-wpeeczk7",loader:"loader-wpeeczk7"}},19119:e=>{e.exports={item:"item-tPYeYcJa",interactive:"interactive-tPYeYcJa",hovered:"hovered-tPYeYcJa",disabled:"disabled-tPYeYcJa",active:"active-tPYeYcJa",shortcut:"shortcut-tPYeYcJa",normal:"normal-tPYeYcJa",big:"big-tPYeYcJa",iconCell:"iconCell-tPYeYcJa",icon:"icon-tPYeYcJa",checkmark:"checkmark-tPYeYcJa",content:"content-tPYeYcJa",label:"label-tPYeYcJa",checked:"checked-tPYeYcJa",toolbox:"toolbox-tPYeYcJa",showToolboxOnHover:"showToolboxOnHover-tPYeYcJa",arrowIcon:"arrowIcon-tPYeYcJa",subMenu:"subMenu-tPYeYcJa",invisibleHotkey:"invisibleHotkey-tPYeYcJa"}},52506:e=>{e.exports={row:"row-Bc0VIp30",line:"line-Bc0VIp30",hint:"hint-Bc0VIp30"}},33549:e=>{e.exports={menu:"menu-qOMHRo3C"}},61999:e=>{e.exports={item:"item-zoYF2FPa",emptyIcons:"emptyIcons-zoYF2FPa",loading:"loading-zoYF2FPa",disabled:"disabled-zoYF2FPa",interactive:"interactive-zoYF2FPa",hovered:"hovered-zoYF2FPa",normal:"normal-zoYF2FPa",big:"big-zoYF2FPa",icon:"icon-zoYF2FPa",label:"label-zoYF2FPa",title:"title-zoYF2FPa",nested:"nested-zoYF2FPa",shortcut:"shortcut-zoYF2FPa",remove:"remove-zoYF2FPa"}},76860:e=>{e.exports={separator:"separator-ErQ6N9mF"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},84413:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>c});var s=n(59496),o=n(97754),a=n(9745),r=n(49154),i=n(37593),l=n.n(i);function c(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 s.createElement("span",{className:n,title:e.title},s.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}),s.createElement("span",{className:t},s.createElement(a.Icon,{icon:r,className:l().icon})))}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>c});var s,o=n(59496),a=n(97754),r=n(74991),i=n(62092),l=n.n(i);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(s||(s={}));class c extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={ -state:s.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:s}=this.props,r=a(l().item,l()[t],l()[n]);return o.createElement("span",{className:a(l().loader,s&&l().static,this._getStateClass(),e)},o.createElement("span",{className:r}),o.createElement("span",{className:r}),o.createElement("span",{className:r}))}componentDidMount(){this.setState({state:s.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:s.Active})},2*r.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case s.Initial:return l()["loader-initial"];case s.Appear:return l()["loader-appear"];default:return""}}}},8312:(e,t,n)=>{"use strict";n.d(t,{ActionsTable:()=>Y});var s=n(59496),o=n(52506);function a(e){return s.createElement("tr",{className:o.row},s.createElement("td",null,s.createElement("div",{className:o.line})),s.createElement("td",null,s.createElement("div",{className:o.line}),e.hint?s.createElement("div",{className:o.hint},e.hint):null))}var r=n(88537),i=n(97754),l=n.n(i),c=n(84413),u=n(49483),h=n(32563);var p=n(96040),d=n(36189),m=n(99025),b=n(25812),v=n(51956),x=n(37049),C=n(19119);class g extends s.PureComponent{constructor(){super(...arguments),this._handleMouseOver=e=>{(function(e){const t=e.sourceCapabilities;let n=t&&t.firesTouchEvents;return void 0===n&&(n=h.touch),n})(e.nativeEvent)||this.props.onMouseOver&&this.props.onMouseOver()},this._handleClickToolbox=e=>{e.stopPropagation(),this.props.onClickToolbox&&this.props.onClickToolbox()}}render(){const{hasSubItems:e,shortcutHint:t,hint:n,invisibleHotkey:o,favourite:a,theme:r=C,size:l="normal"}=this.props,c=this.props.checkable&&this.props.checkboxInput?"label":"div";return s.createElement(s.Fragment,null,s.createElement("tr",{className:i(r.item,!this.props.noInteractive&&r.interactive,this.props.hovered&&r.hovered,this.props.disabled&&r.disabled,this.props.active&&r.active,this.props.selected&&r.selected,r[l]),onClick:this.props.onClick,onMouseOver:this._handleMouseOver,ref:this.props.reference,"data-action-name":this.props.actionName},void 0!==a&&s.createElement("td",null,s.createElement(d.FavoriteButton,{className:r.favourite,isFilled:a,onClick:this.props.onFavouriteClick})),s.createElement("td",{className:i(r.iconCell),"data-icon-cell":!0},this._icon(r)),s.createElement("td",{className:r.contentCell},s.createElement(c,{className:r.content},s.createElement("span",{className:i(r.label,this.props.checked&&r.checked),"data-label":!0},this.props.label),this._toolbox(r),e&&s.createElement("span",{className:r.arrowIcon,dangerouslySetInnerHTML:{__html:x},"data-submenu-arrow":!0}),!e&&t&&!u.CheckMobile.any()&&s.createElement(m.Hint,{className:i(o&&r.invisibleHotkey),text:t}),!e&&!t&&n&&s.createElement(m.Hint,{text:n})))),s.createElement("tr",{className:r.subMenu},s.createElement("td",null,this.props.children)))}_icon(e){if(this.props.checkable){if(this.props.checkboxInput)return s.createElement(c.CheckboxInput,{ -className:i(e.icon,e.checkboxInput),checked:this.props.checked});if(this.props.checked){const t=!this.props.icon&&!this.props.iconChecked,n=this.props.iconChecked||this.props.icon||v;return s.createElement("span",{className:i(e.icon,t&&e.checkmark),dangerouslySetInnerHTML:{__html:n},"data-icon-checkmark":t})}return this.props.icon?s.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):s.createElement("span",{className:e.icon})}return this.props.icon?s.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):null}_toolbox(e){return this.props.toolbox?s.createElement("span",{className:i(e.toolbox,this.props.showToolboxOnHover&&e.showToolboxOnHover),onClick:this._handleClickToolbox,"data-toolbox":!0},this._renderToolboxContent()):null}_renderToolboxContent(){if(this.props.toolbox)switch(this.props.toolbox.type){case b.ToolboxType.Delete:return s.createElement(p.RemoveButton,{onClick:this.props.toolbox.action})}return null}}var k=n(29332),E=n(59064),w=n(51768),_=n(62820);var f=n(14758),M=n(26996),S=n(88797);function N(e){const{size:t="normal"}=e;return s.createElement(g,{size:t,label:s.createElement("div",{className:l()(S.loaderWrap,S[t])},s.createElement(M.Loader,{className:S.loader})),noInteractive:!0,onMouseOver:e.onMouseOver})}class I extends s.PureComponent{constructor(e){super(e),this._itemRef=null,this._menuElementRef=s.createRef(),this._menuRef=null,this._handleClick=e=>{e.isDefaultPrevented()||this.state.disabled||(this._hasSubItems()?this._showSubMenu():(this.state.doNotCloseOnClick||(0,E.globalCloseMenu)(),this.props.action.execute(),this._trackEvent(),this.props.onExecute&&this.props.onExecute(this.props.action)))},this._handleClickToolbox=()=>{(0,E.globalCloseMenu)()},this._handleItemMouseOver=()=>{this._showSubMenu(),this._setCurrentContextValue()},this._handleMenuMouseOver=()=>{this._setCurrentContextValue()},this._showSubMenu=()=>{this.props.onShowSubMenu(this.props.action)},this._calcSubMenuPos=e=>function(e,t,n={x:0,y:10}){if(t){const{left:n,right:s,top:o}=t.getBoundingClientRect(),a=document.documentElement.clientWidth,r={x:n-e,y:o},i={x:s,y:o};return(0,_.isRtl)()?n<=e?i:r:a-s>=e?i:r}return n}(e,this._itemRef),this._updateState=e=>{this.setState(e.getState())},this._setItemRef=e=>{this._itemRef=e},this._handleMenuRef=e=>{this._menuRef=e},this._registerSubmenu=()=>{var e;return null===(e=this.context)||void 0===e?void 0:e.registerSubmenu(this.props.action.id,e=>(0,r.ensureNotNull)(this._itemRef).contains(e)||null!==this._menuElementRef.current&&this._menuElementRef.current.contains(e))},this.state={...this.props.action.getState()}}componentDidMount(){this.props.action.onUpdate().subscribe(this,this._updateState),this.state.subItems.length&&(this._unsubscribe=this._registerSubmenu()),this.props.reference&&(this._itemRef=this.props.reference.current)}componentDidUpdate(e,t){var n,s,o;t.loading!==this.state.loading&&(null===(s=(n=this.props).onRequestUpdate)||void 0===s||s.call(n)), -0===t.subItems.length&&this.state.subItems.length>0&&(this._unsubscribe=this._registerSubmenu()),t.subItems.length>0&&0===this.state.subItems.length&&(null===(o=this._unsubscribe)||void 0===o||o.call(this)),t.subItems!==this.state.subItems&&null!==this._menuRef&&this._menuRef.update()}componentWillUnmount(){this.props.action.onUpdate().unsubscribe(this,this._updateState),this._unsubscribe&&this._unsubscribe()}render(){var e,t,n;const o=null!==(e=this.state.jsxLabel)&&void 0!==e?e:this.state.label,a=(null===(t=this.context)||void 0===t?void 0:t.current)?this.context.current===this.props.action.id:this.props.isSubMenuOpened;return this.state.loading?s.createElement(N,{size:this.state.size}):s.createElement(g,{theme:this.props.theme,reference:null!==(n=this.props.reference)&&void 0!==n?n:this._setItemRef,onClick:this._handleClick,onClickToolbox:this._handleClickToolbox,onMouseOver:this._handleItemMouseOver,hovered:a,hasSubItems:this._hasSubItems(),actionName:this.state.name,checkboxInput:this.props.checkboxInput,selected:this.props.selected,...this.state,label:o},s.createElement(k.ContextMenu,{isOpened:a,items:this.state.subItems,position:this._calcSubMenuPos,menuStatName:this.props.menuStatName,parentStatName:this._getStatName(),menuElementReference:this._menuElementRef,onMouseOver:this.state.subItems.length?this._handleMenuMouseOver:void 0,ref:this._handleMenuRef}))}_setCurrentContextValue(){var e;this.state.subItems.length&&(null===(e=this.context)||void 0===e||e.setCurrent(this.props.action.id))}_hasSubItems(){return this.state.subItems.length>0}_trackEvent(){const e=this._getStatName();(0,w.trackEvent)("ContextMenuClick",this.props.menuStatName||"",e)}_getStatName(){return[this.props.parentStatName,this.state.statName].filter(e=>Boolean(e)).join(".")}}I.contextType=f.SubmenuContext;class Y extends s.PureComponent{constructor(e){super(e),this._handleShowSubMenu=e=>{const t=e.getState();this.setState({showSubMenuOf:t.subItems.length?e:void 0})},this.state={}}render(){return s.createElement("table",null,s.createElement("tbody",null,this.props.items.map(e=>this._item(e))))}static getDerivedStateFromProps(e,t){return!e.parentIsOpened&&t.showSubMenuOf?{showSubMenuOf:void 0}:null}_item(e){switch(e.type){case"separator":return s.createElement(a,{key:e.id,hint:e.getHint()});case"action":return s.createElement(I,{key:e.id,action:e,onShowSubMenu:this._handleShowSubMenu,isSubMenuOpened:this.state.showSubMenuOf===e,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName,onRequestUpdate:this.props.onRequestUpdate})}}}},29332:(e,t,n)=>{"use strict";n.d(t,{ContextMenu:()=>f,OverlapContextMenu:()=>M});var s=n(59496),o=n(97754),a=n.n(o),r=n(86431),i=n(27317),l=n(76594),c=n(9481),u=n(8312),h=n(37558),p=n(90692),d=n(76860);function m(e){return s.createElement("li",{className:d.separator})}var b=n(23829),v=n(41590),x=n(59064);function C(e){const{action:t}=e,[n,o]=(0,s.useState)(()=>t.getState()),[a,r]=(0,s.useState)(!1),i=!!n.subItems.length,l=i&&a;return(0,s.useEffect)(()=>{const e=()=>o(t.getState()) -;return t.onUpdate().subscribe(null,e),()=>{t.onUpdate().unsubscribe(null,e)}},[]),s.createElement(b.ContextMenuItem,{...n,onClick:function(e){if(n.disabled||e.defaultPrevented)return;if(i)return void r(!0);n.doNotCloseOnClick||(0,x.globalCloseMenu)();t.execute()},isLoading:n.loading,isHovered:l},l&&s.createElement(v.Drawer,{onClose:c},s.createElement(E,{items:n.subItems,parentAction:t,closeNested:c})));function c(e){e&&e.preventDefault(),r(!1)}}var g=n(54627),k=n(4301);function E(e){const{items:t,parentAction:n,closeNested:o}=e,a=!Boolean(n)&&t.every(e=>!Boolean("separator"!==e.type&&(e.getState().icon||e.getState().checkable)));return s.createElement(g.EmptyIconsContext.Provider,{value:a},s.createElement("ul",null,n&&s.createElement(s.Fragment,null,s.createElement(b.ContextMenuItem,{label:n.getState().label,isTitle:!0,active:!1,disabled:!1,subItems:[],checkable:!1,checked:!1,doNotCloseOnClick:!1,icon:k,onClick:o}),s.createElement(m,null)),t.map(e=>{switch(e.type){case"action":return s.createElement(C,{key:e.id,action:e});case"separator":return s.createElement(m,{key:e.id})}})))}const w=s.createContext(null);var _=n(33549);class f extends s.PureComponent{constructor(e){super(e),this._menuRef=s.createRef(),this._handleRequestUpdate=()=>{this.update()},this._handleClose=()=>{this.props.onClose&&this.props.onClose()},this._handleOutsideClickClose=e=>{const{doNotCloseOn:t,onClose:n}=this.props;!n||void 0!==t&&t.contains(e.target)||n()},this._handleFocusOnOpen=()=>{var e,t;(null===(e=this.props.menuElementReference)||void 0===e?void 0:e.current)&&this.props.takeFocus&&(null===(t=this.props.menuElementReference)||void 0===t||t.current.focus({preventScroll:!0}))},this.state={}}render(){const{isOpened:e,onClose:t,items:n,doNotCloseOn:o,menuStatName:r,parentStatName:d,takeFocus:m,...b}=this.props;return e?s.createElement(h.DrawerManager,null,s.createElement(c.KeyboardDocumentListener,{keyCode:27,eventType:"keyup",handler:this._handleClose}),s.createElement(p.MatchMedia,{rule:"screen and (max-width: 428px)"},t=>this._isDrawer(t)?s.createElement(w.Provider,{value:{type:"drawer"}},s.createElement(v.Drawer,{onClose:this._handleClose,position:"Bottom","data-name":b["data-name"]},s.createElement(E,{items:n}))):s.createElement(w.Provider,{value:{type:"menu"}},s.createElement(l.OutsideEvent,{handler:this._handleOutsideClickClose,mouseDown:!0,touchStart:!0,reference:this.props.menuElementReference},t=>s.createElement(i.Menu,{...b,reference:t,className:a()(_.menu,"context-menu"),onClose:this._handleClose,noMomentumBasedScroll:!0,ref:this._menuRef,tabIndex:m?-1:void 0,onOpen:this._handleFocusOnOpen},s.createElement(u.ActionsTable,{items:n,menuStatName:r,parentStatName:d,parentIsOpened:e,onRequestUpdate:this._handleRequestUpdate})))))):null}update(){this._menuRef.current&&this._menuRef.current.update()}_isDrawer(e){return void 0===this.props.mode?e:"drawer"===this.props.mode}}const M=(0,r.makeOverlapable)(f)},99025:(e,t,n)=>{"use strict";n.d(t,{Hint:()=>i});var s=n(59496),o=n(97754),a=n.n(o),r=n(19119);function i(e){ -const{text:t="",className:n}=e;return s.createElement("span",{className:a()(r.shortcut,n)},t)}},23829:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>m});var s=n(59496),o=n(97754),a=n.n(o),r=n(9745),i=n(26996),l=n(54627),c=n(99025),u=n(86440),h=n(4585),p=n(74471),d=n(61999);function m(e){const{isTitle:t,isLoading:n,isHovered:o,active:m,checkable:b,disabled:v,checked:x,icon:C,iconChecked:g,hint:k,subItems:E,label:w,onClick:_,children:f,toolbox:M,jsxLabel:S,size:N="normal"}=e,I=(0,s.useContext)(l.EmptyIconsContext),Y=!!E.length;return n?s.createElement("li",{className:a()(d.item,d.loading,d[N])},s.createElement(i.Loader,null)):s.createElement("li",{className:a()(d.item,d.interactive,t&&d.title,v&&d.disabled,o&&d.hovered,m&&d.active,I&&d.emptyIcons,d[N]),onClick:_},s.createElement(r.Icon,{className:a()(d.icon),icon:function(){if(b&&x)return g||C||u;return C}()}),s.createElement("span",{className:a()(d.label)},null!=S?S:w),!!M&&s.createElement(r.Icon,{onClick:function(){M&&M.action()},className:d.remove,icon:p}),!Y&&k&&s.createElement(c.Hint,{className:d.shortcut,text:k}),Y&&s.createElement(r.Icon,{className:d.nested,icon:h}),f)}},54627:(e,t,n)=>{"use strict";n.d(t,{EmptyIconsContext:()=>s});const s=n(59496).createContext(!1)},9481:(e,t,n)=>{"use strict";n.d(t,{KeyboardDocumentListener:()=>o});var s=n(59496);class o extends s.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>o});var s=n(58095);function o(e){const{children:t,...n}=e;return t((0,s.useOutsideEvent)(n))}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>a});var s=n(59496),o=n(65718);function a(e){return class extends s.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const a=s.createElement(e,{...this.props,zIndex:150});return"parent"===n?a:s.createElement(o.Portal,null,a)}}}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>u});var s=n(28353),o=n(59496),a=n(97754),r=n(9745),i=n(73366),l=n(73432);const c={remove:(0,s.t)("Remove")};function u(e){const{className:t,isActive:n,onClick:s,onMouseDown:u,title:h,hidden:p,"data-name":d="remove-button",...m}=e;return o.createElement(r.Icon,{...m,"data-name":d,className:a(l.button,"apply-common-tooltip",n&&l.active,p&&l.hidden,t),icon:i,onClick:s,onMouseDown:u,title:h||c.remove})}},49154:e=>{e.exports=''},4301:e=>{e.exports=''},4585:e=>{ -e.exports=''},51956:e=>{e.exports=''},86440:e=>{e.exports=''},73366:e=>{e.exports=''},74471:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/7231b99c7054c64e47372a672c441a6d.svg b/charting_library/bundles/7231b99c7054c64e47372a672c441a6d.svg new file mode 100644 index 00000000..60d33b64 --- /dev/null +++ b/charting_library/bundles/7231b99c7054c64e47372a672c441a6d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7232.eeabaf3541dfcb1398bb.css b/charting_library/bundles/7232.eeabaf3541dfcb1398bb.css new file mode 100644 index 00000000..fa638379 --- /dev/null +++ b/charting_library/bundles/7232.eeabaf3541dfcb1398bb.css @@ -0,0 +1 @@ +.modal-yz1wLnOP{position:relative}.crossButton-yz1wLnOP{height:49px;width:49px}.dialog-yz1wLnOP{max-width:511px;padding:44px 40px 41px}@media screen and (max-width:767px){.dialog-yz1wLnOP{box-sizing:border-box;max-width:296px;padding:30px 20px 22px}}.body-yz1wLnOP{color:#131722;line-height:22px}html.theme-dark .body-yz1wLnOP{color:#d1d4dc}.header-yz1wLnOP{color:#131722;font-size:36px;font-weight:700;line-height:44px;margin-bottom:24px;padding-left:89px;position:relative}html.theme-dark .header-yz1wLnOP{color:#d1d4dc}@media screen and (max-width:767px){.header-yz1wLnOP{font-size:28px;line-height:36px;padding:0 8px 2px 76px}}.warningIcon-yz1wLnOP{left:0;position:absolute;top:-4px}@media screen and (max-width:767px){.warningIcon-yz1wLnOP{top:-9px}}.footerButtons-yz1wLnOP{display:flex;justify-content:flex-end;margin-top:20px}@media screen and (max-width:767px){.footerButtons-yz1wLnOP{display:flex;flex-direction:column-reverse;justify-content:center;margin-top:41px}}.cancelButton-yz1wLnOP{margin-right:20px}@media screen and (max-width:767px){.cancelButton-yz1wLnOP{margin-right:0;margin-top:13px}} \ No newline at end of file diff --git a/charting_library/bundles/7232.eeabaf3541dfcb1398bb.rtl.css b/charting_library/bundles/7232.eeabaf3541dfcb1398bb.rtl.css new file mode 100644 index 00000000..a9dbf268 --- /dev/null +++ b/charting_library/bundles/7232.eeabaf3541dfcb1398bb.rtl.css @@ -0,0 +1 @@ +.modal-yz1wLnOP{position:relative}.crossButton-yz1wLnOP{height:49px;width:49px}.dialog-yz1wLnOP{max-width:511px;padding:44px 40px 41px}@media screen and (max-width:767px){.dialog-yz1wLnOP{box-sizing:border-box;max-width:296px;padding:30px 20px 22px}}.body-yz1wLnOP{color:#131722;line-height:22px}html.theme-dark .body-yz1wLnOP{color:#d1d4dc}.header-yz1wLnOP{color:#131722;font-size:36px;font-weight:700;line-height:44px;margin-bottom:24px;padding-right:89px;position:relative}html.theme-dark .header-yz1wLnOP{color:#d1d4dc}@media screen and (max-width:767px){.header-yz1wLnOP{font-size:28px;line-height:36px;padding:0 76px 2px 8px}}.warningIcon-yz1wLnOP{position:absolute;right:0;top:-4px}@media screen and (max-width:767px){.warningIcon-yz1wLnOP{top:-9px}}.footerButtons-yz1wLnOP{display:flex;justify-content:flex-end;margin-top:20px}@media screen and (max-width:767px){.footerButtons-yz1wLnOP{display:flex;flex-direction:column-reverse;justify-content:center;margin-top:41px}}.cancelButton-yz1wLnOP{margin-left:20px}@media screen and (max-width:767px){.cancelButton-yz1wLnOP{margin-left:0;margin-top:13px}} \ No newline at end of file diff --git a/charting_library/bundles/724.e580ce07c322679b0578.css b/charting_library/bundles/724.e580ce07c322679b0578.css new file mode 100644 index 00000000..cf666661 --- /dev/null +++ b/charting_library/bundles/724.e580ce07c322679b0578.css @@ -0,0 +1 @@ +.closeButton-oXu4cxSp{position:absolute;right:63px;top:56px}.tabHeader-oXu4cxSp{margin-top:24px}.responsive-container-media-mf-tablet-vertical .tabHeader-oXu4cxSp{margin-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .tabHeader-oXu4cxSp{margin-top:32px}}.tabHeader-oXu4cxSp .title-oXu4cxSp{font-feature-settings:"tnum" on,"lnum" on;font-size:28px;font-style:normal;font-weight:700;line-height:36px}.tabHeader-oXu4cxSp .description-oXu4cxSp,.tabHeader-oXu4cxSp .title-oXu4cxSp{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.tabHeader-oXu4cxSp .description-oXu4cxSp{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-top:9px}.backButton-oXu4cxSp{left:54px;position:absolute;top:67px}.privacyPreferenceDialog-vDbnNLqD{color:#131722;display:flex;flex-direction:column;justify-content:space-between;padding:0 30px;position:relative}html.theme-dark .privacyPreferenceDialog-vDbnNLqD{color:#d1d4dc}.responsive-container-media-mf-tablet-vertical .privacyPreferenceDialog-vDbnNLqD{padding:0 80px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .privacyPreferenceDialog-vDbnNLqD{padding:0 80px}}.privacyPreference-vDbnNLqD{margin-top:32px}.close-vDbnNLqD{right:17px;top:22px}.title-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;margin-right:39px}.availableCookieElement-vDbnNLqD{margin-top:32px}.cookieTitle-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;align-items:center;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.switchTitle-vDbnNLqD{cursor:default;margin-left:8px}.cookieContent-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;margin-top:8px}.cookieContent-vDbnNLqD,.moreInfoLink-vDbnNLqD{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.moreInfoLink-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;display:block;font-size:16px;font-style:normal;font-weight:600;margin:32px 0;text-decoration:none;transition:color .35s ease}html.theme-dark .moreInfoLink-vDbnNLqD{color:#2962ff}.moreInfoLink-vDbnNLqD:visited{fill:#2962ff;color:#2962ff}html.theme-dark .moreInfoLink-vDbnNLqD:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.moreInfoLink-vDbnNLqD:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .moreInfoLink-vDbnNLqD:hover{fill:#1e53e5;color:#1e53e5}}.moreInfoLink-vDbnNLqD:focus{outline:auto}.moreInfoLink-vDbnNLqD:focus-visible{outline:auto}.moreInfoLink-vDbnNLqD:focus:not(:focus-visible){outline:none}.moreInfoLink-vDbnNLqD:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .moreInfoLink-vDbnNLqD:active{fill:#1848cc;color:#1848cc}.nowrap-vDbnNLqD{white-space:nowrap}.icon-vDbnNLqD{display:inline-block;vertical-align:-4px}.btnBlock-vDbnNLqD{background-color:#fff;bottom:0;display:flex;flex-direction:column-reverse;justify-content:flex-end;padding:8px 0 24px;position:sticky}html.theme-dark .btnBlock-vDbnNLqD{background-color:#131722}.responsive-container-media-mf-legacy-phone .btnBlock-vDbnNLqD{flex-direction:row}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .btnBlock-vDbnNLqD{flex-direction:row}}.savePreferences-vDbnNLqD{margin-top:12px}.responsive-container-media-mf-legacy-phone .savePreferences-vDbnNLqD{margin-right:12px;margin-top:0}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .savePreferences-vDbnNLqD{margin-right:12px;margin-top:0}}.cookiesNotification-W4Y0hWcd{max-width:480px;padding:16px}.cookies-link-W4Y0hWcd{color:#2962ff;transition:color .35s ease}html.theme-dark .cookies-link-W4Y0hWcd{color:#2962ff}.cookies-link-W4Y0hWcd:visited{fill:#2962ff;color:#2962ff}html.theme-dark .cookies-link-W4Y0hWcd:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.cookies-link-W4Y0hWcd:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .cookies-link-W4Y0hWcd:hover{fill:#1e53e5;color:#1e53e5}}.cookies-link-W4Y0hWcd:focus{outline:auto}.cookies-link-W4Y0hWcd:focus-visible{outline:auto}.cookies-link-W4Y0hWcd:focus:not(:focus-visible){outline:none}.cookies-link-W4Y0hWcd:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .cookies-link-W4Y0hWcd:active{fill:#1848cc;color:#1848cc}.actionBtn-W4Y0hWcd{display:grid;grid-template-columns:1fr;margin-top:8px}@media screen and (min-width:320px){.actionBtn-W4Y0hWcd{grid-template-columns:1fr 1fr}}.acceptAll-W4Y0hWcd{order:1}@media screen and (min-width:320px){.acceptAll-W4Y0hWcd{order:2}}.managePreferences-W4Y0hWcd{--ui-lib-button-color-border:#0000;margin-top:12px;order:2}@media screen and (min-width:320px){.managePreferences-W4Y0hWcd{margin-right:8px;margin-top:0;order:1}} \ No newline at end of file diff --git a/charting_library/bundles/724.e580ce07c322679b0578.rtl.css b/charting_library/bundles/724.e580ce07c322679b0578.rtl.css new file mode 100644 index 00000000..0ac31f59 --- /dev/null +++ b/charting_library/bundles/724.e580ce07c322679b0578.rtl.css @@ -0,0 +1 @@ +.closeButton-oXu4cxSp{left:63px;position:absolute;top:56px}.tabHeader-oXu4cxSp{margin-top:24px}.responsive-container-media-mf-tablet-vertical .tabHeader-oXu4cxSp{margin-top:32px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .tabHeader-oXu4cxSp{margin-top:32px}}.tabHeader-oXu4cxSp .title-oXu4cxSp{font-feature-settings:"tnum" on,"lnum" on;font-size:28px;font-style:normal;font-weight:700;line-height:36px}.tabHeader-oXu4cxSp .description-oXu4cxSp,.tabHeader-oXu4cxSp .title-oXu4cxSp{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.tabHeader-oXu4cxSp .description-oXu4cxSp{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-top:9px}.backButton-oXu4cxSp{position:absolute;right:54px;top:67px}.privacyPreferenceDialog-vDbnNLqD{color:#131722;display:flex;flex-direction:column;justify-content:space-between;padding:0 30px;position:relative}html.theme-dark .privacyPreferenceDialog-vDbnNLqD{color:#d1d4dc}.responsive-container-media-mf-tablet-vertical .privacyPreferenceDialog-vDbnNLqD{padding:0 80px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .privacyPreferenceDialog-vDbnNLqD{padding:0 80px}}.privacyPreference-vDbnNLqD{margin-top:32px}.close-vDbnNLqD{left:17px;top:22px}.title-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;margin-left:39px}.availableCookieElement-vDbnNLqD{margin-top:32px}.cookieTitle-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;align-items:center;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.switchTitle-vDbnNLqD{cursor:default;margin-right:8px}.cookieContent-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;margin-top:8px}.cookieContent-vDbnNLqD,.moreInfoLink-vDbnNLqD{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.moreInfoLink-vDbnNLqD{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;display:block;font-size:16px;font-style:normal;font-weight:600;margin:32px 0;text-decoration:none;transition:color .35s ease}html.theme-dark .moreInfoLink-vDbnNLqD{color:#2962ff}.moreInfoLink-vDbnNLqD:visited{fill:#2962ff;color:#2962ff}html.theme-dark .moreInfoLink-vDbnNLqD:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.moreInfoLink-vDbnNLqD:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .moreInfoLink-vDbnNLqD:hover{fill:#1e53e5;color:#1e53e5}}.moreInfoLink-vDbnNLqD:focus{outline:auto}.moreInfoLink-vDbnNLqD:focus-visible{outline:auto}.moreInfoLink-vDbnNLqD:focus:not(:focus-visible){outline:none}.moreInfoLink-vDbnNLqD:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .moreInfoLink-vDbnNLqD:active{fill:#1848cc;color:#1848cc}.nowrap-vDbnNLqD{white-space:nowrap}.icon-vDbnNLqD{display:inline-block;vertical-align:-4px}.btnBlock-vDbnNLqD{background-color:#fff;bottom:0;display:flex;flex-direction:column-reverse;justify-content:flex-end;padding:8px 0 24px;position:sticky}html.theme-dark .btnBlock-vDbnNLqD{background-color:#131722}.responsive-container-media-mf-legacy-phone .btnBlock-vDbnNLqD{flex-direction:row}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .btnBlock-vDbnNLqD{flex-direction:row}}.savePreferences-vDbnNLqD{margin-top:12px}.responsive-container-media-mf-legacy-phone .savePreferences-vDbnNLqD{margin-left:12px;margin-top:0}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .savePreferences-vDbnNLqD{margin-left:12px;margin-top:0}}.cookiesNotification-W4Y0hWcd{max-width:480px;padding:16px}.cookies-link-W4Y0hWcd{color:#2962ff;transition:color .35s ease}html.theme-dark .cookies-link-W4Y0hWcd{color:#2962ff}.cookies-link-W4Y0hWcd:visited{fill:#2962ff;color:#2962ff}html.theme-dark .cookies-link-W4Y0hWcd:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.cookies-link-W4Y0hWcd:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .cookies-link-W4Y0hWcd:hover{fill:#1e53e5;color:#1e53e5}}.cookies-link-W4Y0hWcd:focus{outline:auto}.cookies-link-W4Y0hWcd:focus-visible{outline:auto}.cookies-link-W4Y0hWcd:focus:not(:focus-visible){outline:none}.cookies-link-W4Y0hWcd:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .cookies-link-W4Y0hWcd:active{fill:#1848cc;color:#1848cc}.actionBtn-W4Y0hWcd{display:grid;grid-template-columns:1fr;margin-top:8px}@media screen and (min-width:320px){.actionBtn-W4Y0hWcd{grid-template-columns:1fr 1fr}}.acceptAll-W4Y0hWcd{order:1}@media screen and (min-width:320px){.acceptAll-W4Y0hWcd{order:2}}.managePreferences-W4Y0hWcd{--ui-lib-button-color-border:#0000;margin-top:12px;order:2}@media screen and (min-width:320px){.managePreferences-W4Y0hWcd{margin-left:8px;margin-top:0;order:1}} \ No newline at end of file diff --git a/charting_library/bundles/7245.1a82c73b622453a96bf6.css b/charting_library/bundles/7245.1a82c73b622453a96bf6.css new file mode 100644 index 00000000..a739fa54 --- /dev/null +++ b/charting_library/bundles/7245.1a82c73b622453a96bf6.css @@ -0,0 +1 @@ +.country-search-Kmw4TESj{align-items:center;background-color:#fff;border-bottom:1px solid;border-color:#e0e3eb;border-top-left-radius:3px;border-top-right-radius:3px;display:flex;height:37px;justify-content:center;min-height:37px;padding-top:1px;width:100%}html.theme-dark .country-search-Kmw4TESj{background-color:#131722;border-color:#363a45}@media screen and (max-width:767px){.country-search-Kmw4TESj{border-top-left-radius:0;border-top-right-radius:0;position:sticky;top:0}}.search-Kmw4TESj{border:none;height:100%}.search-Kmw4TESj .input-Kmw4TESj::placeholder{-webkit-text-fill-color:#a3a6af;color:#a3a6af}.magnifier-icon-Kmw4TESj{align-items:center;color:#787b86;display:inline-flex;padding:0 8px 0 18px}.magnifier-icon-Kmw4TESj svg{height:18px;width:18px}.reset-icon-Kmw4TESj{fill:#787b86;align-items:center;cursor:pointer;display:inline-flex;padding:0 10px}.reset-icon-Kmw4TESj svg{height:13px;width:13px}.item-jkLmJiis{align-items:center;box-sizing:border-box;break-inside:avoid;color:#131722;cursor:pointer;display:flex;font-size:16px;font-style:normal;font-weight:400;height:36px;line-height:24px;padding:0 13px;width:100%}html.theme-dark .item-jkLmJiis{color:#d1d4dc}@media (any-hover:hover){.item-jkLmJiis:hover{background:#f0f3fa}html.theme-dark .item-jkLmJiis:hover{background:#2a2e39}}.item-jkLmJiis .flag-jkLmJiis{border-radius:50%;height:18px;margin-right:9px;width:18px}.item-jkLmJiis .text-jkLmJiis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-jkLmJiis.mobile-jkLmJiis{font-size:18px;font-style:normal;font-weight:400;height:52px;line-height:28px;padding:0 22px}.item-jkLmJiis.mobile-jkLmJiis .flag-jkLmJiis{height:24px;margin-right:14px;width:24px}.item-jkLmJiis.selected-jkLmJiis{background:#2962ff;color:#fff}html.theme-dark .item-jkLmJiis.selected-jkLmJiis{background:#2962ff;color:#fff}.country-list-I1oZlw8z{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;height:315px;overflow:hidden;position:absolute;width:630px;z-index:10}html.theme-dark .country-list-I1oZlw8z{background-color:#131722;box-shadow:0 2px 4px #0006}@media screen and (max-width:767px){.country-list-I1oZlw8z{align-items:stretch;border-radius:0;box-shadow:none;display:flex;flex-direction:column;height:100vh;overflow:scroll;position:static;width:100%}html.theme-dark .country-list-I1oZlw8z{box-shadow:none}}.list-contain-I1oZlw8z{-webkit-overflow-scrolling:touch;height:274px;overflow-x:scroll;padding:8px 8px 0;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-contain-I1oZlw8z{scrollbar-color:#363a45 #0000}@media screen and (max-width:767px){.list-contain-I1oZlw8z{height:auto}}.list-contain-I1oZlw8z::-webkit-scrollbar{height:5px;width:5px}.list-contain-I1oZlw8z::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-contain-I1oZlw8z::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-contain-I1oZlw8z::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-contain-I1oZlw8z::-webkit-scrollbar-corner{display:none}.list-I1oZlw8z{column-count:3;column-gap:0}@media screen and (max-width:767px){.list-I1oZlw8z{column-count:1}}.list-I1oZlw8z span{color:#131722;font-size:14px;line-height:21px;padding-top:1px}html.theme-dark .list-I1oZlw8z span{color:#d1d4dc}.one-column-I1oZlw8z{column-count:1}.country-list-wrapper-I1oZlw8z{position:absolute} \ No newline at end of file diff --git a/charting_library/bundles/7245.1a82c73b622453a96bf6.rtl.css b/charting_library/bundles/7245.1a82c73b622453a96bf6.rtl.css new file mode 100644 index 00000000..ff644cc7 --- /dev/null +++ b/charting_library/bundles/7245.1a82c73b622453a96bf6.rtl.css @@ -0,0 +1 @@ +.country-search-Kmw4TESj{align-items:center;background-color:#fff;border-bottom:1px solid;border-color:#e0e3eb;border-top-left-radius:3px;border-top-right-radius:3px;display:flex;height:37px;justify-content:center;min-height:37px;padding-top:1px;width:100%}html.theme-dark .country-search-Kmw4TESj{background-color:#131722;border-color:#363a45}@media screen and (max-width:767px){.country-search-Kmw4TESj{border-top-left-radius:0;border-top-right-radius:0;position:sticky;top:0}}.search-Kmw4TESj{border:none;height:100%}.search-Kmw4TESj .input-Kmw4TESj::placeholder{-webkit-text-fill-color:#a3a6af;color:#a3a6af}.magnifier-icon-Kmw4TESj{align-items:center;color:#787b86;display:inline-flex;padding:0 18px 0 8px}.magnifier-icon-Kmw4TESj svg{height:18px;width:18px}.reset-icon-Kmw4TESj{fill:#787b86;align-items:center;cursor:pointer;display:inline-flex;padding:0 10px}.reset-icon-Kmw4TESj svg{height:13px;width:13px}.item-jkLmJiis{align-items:center;box-sizing:border-box;break-inside:avoid;color:#131722;cursor:pointer;display:flex;font-size:16px;font-style:normal;font-weight:400;height:36px;line-height:24px;padding:0 13px;width:100%}html.theme-dark .item-jkLmJiis{color:#d1d4dc}@media (any-hover:hover){.item-jkLmJiis:hover{background:#f0f3fa}html.theme-dark .item-jkLmJiis:hover{background:#2a2e39}}.item-jkLmJiis .flag-jkLmJiis{border-radius:50%;height:18px;margin-left:9px;width:18px}.item-jkLmJiis .text-jkLmJiis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-jkLmJiis.mobile-jkLmJiis{font-size:18px;font-style:normal;font-weight:400;height:52px;line-height:28px;padding:0 22px}.item-jkLmJiis.mobile-jkLmJiis .flag-jkLmJiis{height:24px;margin-left:14px;width:24px}.item-jkLmJiis.selected-jkLmJiis{background:#2962ff;color:#fff}html.theme-dark .item-jkLmJiis.selected-jkLmJiis{background:#2962ff;color:#fff}.country-list-I1oZlw8z{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;height:315px;overflow:hidden;position:absolute;width:630px;z-index:10}html.theme-dark .country-list-I1oZlw8z{background-color:#131722;box-shadow:0 2px 4px #0006}@media screen and (max-width:767px){.country-list-I1oZlw8z{align-items:stretch;border-radius:0;box-shadow:none;display:flex;flex-direction:column;height:100vh;overflow:scroll;position:static;width:100%}html.theme-dark .country-list-I1oZlw8z{box-shadow:none}}.list-contain-I1oZlw8z{-webkit-overflow-scrolling:touch;height:274px;overflow-x:scroll;padding:8px 8px 0;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-contain-I1oZlw8z{scrollbar-color:#363a45 #0000}@media screen and (max-width:767px){.list-contain-I1oZlw8z{height:auto}}.list-contain-I1oZlw8z::-webkit-scrollbar{height:5px;width:5px}.list-contain-I1oZlw8z::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-contain-I1oZlw8z::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-contain-I1oZlw8z::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-contain-I1oZlw8z::-webkit-scrollbar-corner{display:none}.list-I1oZlw8z{column-count:3;column-gap:0}@media screen and (max-width:767px){.list-I1oZlw8z{column-count:1}}.list-I1oZlw8z span{color:#131722;font-size:14px;line-height:21px;padding-top:1px}html.theme-dark .list-I1oZlw8z span{color:#d1d4dc}.one-column-I1oZlw8z{column-count:1}.country-list-wrapper-I1oZlw8z{position:absolute} \ No newline at end of file diff --git a/charting_library/bundles/727813bcf45ceaaa481f086bcd697b95.svg b/charting_library/bundles/727813bcf45ceaaa481f086bcd697b95.svg new file mode 100644 index 00000000..187f4956 --- /dev/null +++ b/charting_library/bundles/727813bcf45ceaaa481f086bcd697b95.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/727ca3bc1d3c5915d9ccc4ba3eee978a.svg b/charting_library/bundles/727ca3bc1d3c5915d9ccc4ba3eee978a.svg new file mode 100644 index 00000000..e29d67af --- /dev/null +++ b/charting_library/bundles/727ca3bc1d3c5915d9ccc4ba3eee978a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/72c3a3b432d2ad933ee80184f0524e7c.webp b/charting_library/bundles/72c3a3b432d2ad933ee80184f0524e7c.webp new file mode 100644 index 0000000000000000000000000000000000000000..4cb78d9884ede7cd0fdcfbeef8d46faa13c7e6e0 GIT binary patch literal 81472 zcmc$_WmFu{wkC+X1`kefcL)S`cZXoX-QC^YU4y%O2=49@+}*Xh$nAb_-tD{A%-ree z{#B<|opaXS`)v8Pl%j;FC?_u{h?;NWgsc&6b^A0m+WmODP|0~Fh<7t|EWHCS-UPfC0H!zI4&O_>yPxHTHcm7s zb_jc4Ro-XcUtTxI7AYU9A1=nci{6|7@DGbNgJ$~-=RSG>e7+9A^7AGD9FX$7>Atzh zw+L7PP`qs3!oCVU5#DtlZ*KB+`8WZ(?`Pj9&waXLE;p|LEWFSFiT4Kp{OiLR;3DT8 zdBR4r`{7N%rxT$1((wj(Il9xj1$$R}r+9y8G?cb>BETtkl~?jT?g`K~X*Ky)FLsmj_Eh^; z@VH?MShxx~I4{tR_2B}j9gfpS+e|edZkP}Pj;o(@-a8`zv(Fy;EP(6~-PaDp?wjWv z-^*a~pu`9nnhNz=gZ>Ci+W(Uu828#X7C=J28G7g#^oPIDb2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qy#E-JH?7xa&pdozYT4_JjpfP$Rtwo=enfvP6cWw08) z@W6mUjLb`NzWM`umoff8vwt@q)N$WCo!-o{Ric;aVLh)G+?txYdr(%a)t0Lb<|e|; zkcZm}Vi9&+T{*>;2r44XSIM+gH^^1vp(WPL<2kFL*2@-8$sNV@f`E9v<=hpoPQT&QlnwmF>c$MJ0o&h!`apk7 zKs615z9HGB#h_u=74Q}7CXJn68&>3cISdlbZbp%S+|Y=@4rD6%!TfkyKe~hH#_i_p zK~#GsY`;f$i+;S-YpJD95qQq(`N{#T+xnN&{9EKc5 zrKd@4^%7#$R8U^Y5AaJI`J?8u$@+`<3AtdUE(x%)EKLC_mhi~|mHggDTr)e}l-h%e zoQ1Z;a($wE1u;Mq-fG^iXh{zV1QlSGPj!G88SvAkcHNa67vSt|J?99@(c5NLR)IGC zOfpgh%&GLun9iE70;8sxw}x|b5QNU?_JdOfRFvKFc4PXm7odbCp1fhRS2732SzvSL zQ`TB-ZIrsGDC8W$66=RMhHOiM6VGm-mt|?i*iX!JrqhzYhuZ5u zkL;S;%u%gi(dq)C^!4Vuno6)o&ze|x#U0;)@`D>?T-+-R5P%=APmmR9@s-TcD)IE* zcOq1^uEl0UVfB<+t?9y_QbMEs}@J zx@*B`MhYA7*eOaN?}Z3~WI*}goMPU#hFKX@jvf^vk=;X>u9~w@M7D!WKZ-jyC2th|tbdH-NdmOJNMGKg;+`0)Po) z=aOYaGBc!hqhM5sWpfBnG0W{t7$ZJt7_=ZHTor>}YpI~X;&SjSbQ6k;dQ!CaP%eN! fFhO7P1zcD5T_*f*<&G?xK#b$842b~eI)DHG%L \ No newline at end of file diff --git a/charting_library/bundles/74009555a8dd165b067723f234f915a5.svg b/charting_library/bundles/74009555a8dd165b067723f234f915a5.svg new file mode 100644 index 00000000..3f43ad43 --- /dev/null +++ b/charting_library/bundles/74009555a8dd165b067723f234f915a5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7404.8ea65939d80e9ab20e73.js b/charting_library/bundles/7404.8ea65939d80e9ab20e73.js new file mode 100644 index 00000000..40cec90f --- /dev/null +++ b/charting_library/bundles/7404.8ea65939d80e9ab20e73.js @@ -0,0 +1,12 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7404],{21103:t=>{t.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:t=>{t.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:t=>{t.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},12539:t=>{t.exports={calendar:"calendar-U9DgB4FB",popupStyle:"popupStyle-U9DgB4FB",header:"header-U9DgB4FB",title:"title-U9DgB4FB",switchBtn:"switchBtn-U9DgB4FB",prev:"prev-U9DgB4FB",month:"month-U9DgB4FB",weekdays:"weekdays-U9DgB4FB",weeks:"weeks-U9DgB4FB",week:"week-U9DgB4FB",day:"day-U9DgB4FB",disabled:"disabled-U9DgB4FB",selected:"selected-U9DgB4FB",currentDay:"currentDay-U9DgB4FB",isOnHighlightedEdge:"isOnHighlightedEdge-U9DgB4FB",withinSelectedRange:"withinSelectedRange-U9DgB4FB"}},554:t=>{t.exports={pickerInput:"pickerInput-sZbzL9zH",icon:"icon-sZbzL9zH",disabled:"disabled-sZbzL9zH",picker:"picker-sZbzL9zH",fixed:"fixed-sZbzL9zH",absolute:"absolute-sZbzL9zH",nativePicker:"nativePicker-sZbzL9zH"}},66875:t=>{t.exports={errors:"errors-Cv6NxnRZ",show:"show-Cv6NxnRZ",error:"error-Cv6NxnRZ"}},93314:t=>{t.exports={"error-icon":"error-icon-llFIA0b4","intent-danger":"intent-danger-llFIA0b4","intent-warning":"intent-warning-llFIA0b4"}},52965:t=>{t.exports={"static-messages":"static-messages-Yp0dNSLN",errors:"errors-Yp0dNSLN",warnings:"warnings-Yp0dNSLN",message:"message-Yp0dNSLN"}},86332:(t,e,s)=>{"use strict";s.d(e,{ControlGroupContext:()=>n});const n=s(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(t,e,s)=>{"use strict";function n(t){let e=0;return t.isTop&&t.isLeft||(e+=1),t.isTop&&t.isRight||(e+=2),t.isBottom&&t.isLeft||(e+=8),t.isBottom&&t.isRight||(e+=4),e}s.d(e,{getGroupCellRemoveRoundBorders:()=>n})}, +67029:(t,e,s)=>{"use strict";s.d(e,{ControlSkeleton:()=>w,InputClasses:()=>g});var n=s(59496),r=s(97754),o=s(88537),i=s(66092),a=s(90186),l=s(86332),c=s(95604);var h=s(21103),u=s.n(h);function p(t){let e="";return 0!==t&&(1&t&&(e=r(e,u()["no-corner-top-left"])),2&t&&(e=r(e,u()["no-corner-top-right"])),4&t&&(e=r(e,u()["no-corner-bottom-right"])),8&t&&(e=r(e,u()["no-corner-bottom-left"]))),e}function d(t,e,s,n){const{removeRoundBorder:o,className:i,intent:a="default",borderStyle:l="thin",size:h,highlight:d,disabled:m,readonly:g,stretch:f,noReadonlyStyles:v,isFocused:w}=t,b=p(null!=o?o:(0,c.getGroupCellRemoveRoundBorders)(s));return r(u().container,u()["intent-"+a],u()["border-"+l],h&&u()["size-"+h],b,d&&u()["with-highlight"],m&&u().disabled,g&&!v&&u().readonly,w&&u().focused,f&&u().stretch,e&&u().grouped,!n&&u()["adjust-position"],s.isTop&&u()["first-row"],s.isLeft&&u()["first-col"],i)}function m(t,e){const{highlight:s,highlightRemoveRoundBorder:n}=t;if(!s)return u().highlight;const o=p(null!=n?n:(0,c.getGroupCellRemoveRoundBorders)(e));return r(u().highlight,u().shown,o)}const g={FontSizeMedium:(0,o.ensureDefined)(u()["font-size-medium"]),FontSizeLarge:(0,o.ensureDefined)(u()["font-size-large"])},f={passive:!1};function v(t,e){const{id:s,role:r,onFocus:o,onBlur:c,onMouseOver:h,onMouseOut:u,onMouseDown:p,onMouseUp:g,onKeyDown:v,onClick:w,tabIndex:b,startSlot:y,middleSlot:S,endSlot:D,onWheel:_,onWheelNoPassive:E=null}=t,{isGrouped:C,cellState:k,disablePositionAdjustment:F=!1}=(0,n.useContext)(l.ControlGroupContext),M=function(t,e=null,s){const r=(0,n.useRef)(null),o=(0,n.useRef)(null),i=(0,n.useCallback)(()=>{if(null===r.current||null===o.current)return;const[t,e,s]=o.current;null!==e&&r.current.addEventListener(t,e,s)},[]),a=(0,n.useCallback)(()=>{if(null===r.current||null===o.current)return;const[t,e,s]=o.current;null!==e&&r.current.removeEventListener(t,e,s)},[]),l=(0,n.useCallback)(t=>{a(),r.current=t,i()},[]);return(0,n.useEffect)(()=>(o.current=[t,e,s],i(),a),[t,e,s]),l}("wheel",E,f);return n.createElement("span",{id:s,role:r,className:d(t,C,k,F),tabIndex:b,ref:(0,i.useMergedRefs)([e,M]),onFocus:o,onBlur:c,onMouseOver:h,onMouseOut:u,onMouseDown:p,onMouseUp:g,onKeyDown:v,onClick:w,onWheel:_,...(0,a.filterDataProps)(t),...(0,a.filterAriaProps)(t)},y,S,D,n.createElement("span",{className:m(t,k)}))}v.displayName="ControlSkeleton";const w=n.forwardRef(v)},78274:(t,e,s)=>{"use strict";s.d(e,{BeforeSlot:()=>a,StartSlot:()=>l,MiddleSlot:()=>c,EndSlot:()=>h,AfterSlot:()=>u});var n=s(59496),r=s(97754),o=s(10306),i=s.n(o);function a(t){const{className:e,children:s}=t;return n.createElement("span",{className:r(i()["before-slot"],e)},s)}function l(t){const{className:e,interactive:s=!0,icon:o=!1,children:a}=t;return n.createElement("span",{className:r(i()["inner-slot"],s&&i().interactive,o&&i().icon,e)},a)}function c(t){const{className:e,children:s}=t;return n.createElement("span",{className:r(i()["inner-slot"],i()["inner-middle-slot"],e)},s)}function h(t){const{className:e,interactive:s=!0,icon:o=!1,children:a}=t +;return n.createElement("span",{className:r(i()["inner-slot"],s&&i().interactive,o&&i().icon,e)},a)}function u(t){const{className:e,children:s}=t;return n.createElement("span",{className:r(i()["after-slot"],e)},s)}},31261:(t,e,s)=>{"use strict";s.d(e,{InputControl:()=>w});var n=s(59496),r=s(97754),o=s(90186),i=s(47201),a=s(48907),l=s(66092),c=s(48027),h=s(29202),u=s(45812),p=s(67029),d=s(78274),m=s(66579),g=s.n(m);function f(t){return!(0,o.isAriaAttribute)(t)&&!(0,o.isDataAttribute)(t)}function v(t){const{id:e,title:s,role:i,tabIndex:a,placeholder:l,name:c,type:h,value:u,defaultValue:m,draggable:v,autoComplete:w,autoFocus:b,maxLength:y,min:S,max:D,step:_,pattern:E,inputMode:C,onSelect:k,onFocus:F,onBlur:M,onKeyDown:R,onKeyUp:x,onKeyPress:N,onChange:I,onDragStart:B,size:A="medium",className:z,inputClassName:P,disabled:T,readonly:W,containerTabIndex:O,startSlot:H,endSlot:L,reference:j,containerReference:U,onContainerFocus:V,...K}=t,Y=(0,o.filterProps)(K,f),G={...(0,o.filterAriaProps)(K),...(0,o.filterDataProps)(K),id:e,title:s,role:i,tabIndex:a,placeholder:l,name:c,type:h,value:u,defaultValue:m,draggable:v,autoComplete:w,autoFocus:b,maxLength:y,min:S,max:D,step:_,pattern:E,inputMode:C,onSelect:k,onFocus:F,onBlur:M,onKeyDown:R,onKeyUp:x,onKeyPress:N,onChange:I,onDragStart:B};return n.createElement(p.ControlSkeleton,{...Y,disabled:T,readonly:W,tabIndex:O,className:r(g().container,z),size:A,ref:U,onFocus:V,startSlot:H,middleSlot:n.createElement(d.MiddleSlot,null,n.createElement("input",{...G,className:r(g().input,P,H&&g()["with-start-slot"],L&&g()["with-end-slot"]),disabled:T,readOnly:W,ref:j})),endSlot:L})}function w(t){t=(0,c.useControl)(t);const{disabled:e,autoSelectOnFocus:s,tabIndex:r=0,onFocus:o,onBlur:p,reference:d,containerReference:m=null}=t,g=(0,n.useRef)(null),f=(0,n.useRef)(null),[w,b]=(0,h.useFocus)(),y=e?void 0:w?-1:r,S=e?void 0:w?r:-1,{isMouseDown:D,handleMouseDown:_,handleMouseUp:E}=(0,u.useIsMouseDown)(),C=(0,i.createSafeMulticastEventHandler)(b.onFocus,(function(t){s&&!D.current&&(0,a.selectAllContent)(t.currentTarget)}),o),k=(0,i.createSafeMulticastEventHandler)(b.onBlur,p),F=(0,n.useCallback)(t=>{g.current=t,d&&("function"==typeof d&&d(t),"object"==typeof d&&(d.current=t))},[g,d]);return n.createElement(v,{...t,isFocused:w,containerTabIndex:y,tabIndex:S,onContainerFocus:function(t){f.current===t.target&&null!==g.current&&g.current.focus()},onFocus:C,onBlur:k,reference:F,containerReference:(0,l.useMergedRefs)([f,m]),onMouseDown:_,onMouseUp:E})}},48027:(t,e,s)=>{"use strict";s.d(e,{useControl:()=>o});var n=s(47201),r=s(29202);function o(t){const{onFocus:e,onBlur:s,intent:o,highlight:i,disabled:a}=t,[l,c]=(0,r.useFocus)(void 0,a),h=(0,n.createSafeMulticastEventHandler)(a?void 0:c.onFocus,e),u=(0,n.createSafeMulticastEventHandler)(a?void 0:c.onBlur,s);return{...t,intent:o||(l?"primary":"default"),highlight:null!=i?i:l,onFocus:h,onBlur:u}}},29202:(t,e,s)=>{"use strict";s.d(e,{useFocus:()=>r});var n=s(59496);function r(t,e){const[s,r]=(0,n.useState)(!1);(0,n.useEffect)(()=>{e&&s&&r(!1)},[e,s]);const o={ +onFocus:(0,n.useCallback)((function(e){void 0!==t&&t.current!==e.target||r(!0)}),[t]),onBlur:(0,n.useCallback)((function(e){void 0!==t&&t.current!==e.target||r(!1)}),[t])};return[s,o]}},45812:(t,e,s)=>{"use strict";s.d(e,{useIsMouseDown:()=>r});var n=s(59496);function r(){const t=(0,n.useRef)(!1),e=(0,n.useCallback)(()=>{t.current=!0},[t]),s=(0,n.useCallback)(()=>{t.current=!1},[t]);return{isMouseDown:t,handleMouseDown:e,handleMouseUp:s}}},66092:(t,e,s)=>{"use strict";s.d(e,{useMergedRefs:()=>r});var n=s(59496);function r(t){return(0,n.useCallback)(function(t){return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}}(t),t)}},90186:(t,e,s)=>{"use strict";function n(t){return o(t,i)}function r(t){return o(t,a)}function o(t,e){const s=Object.entries(t).filter(e),n={};for(const[t,e]of s)n[t]=e;return n}function i(t){const[e,s]=t;return 0===e.indexOf("data-")&&"string"==typeof s}function a(t){return 0===t[0].indexOf("aria-")}s.d(e,{filterDataProps:()=>n,filterAriaProps:()=>r,filterProps:()=>o,isDataAttribute:()=>i,isAriaAttribute:()=>a})},48907:(t,e,s)=>{"use strict";function n(t){null!==t&&t.setSelectionRange(0,t.value.length)}s.d(e,{selectAllContent:()=>n})},47201:(t,e,s)=>{"use strict";function n(...t){return e=>{for(const s of t)void 0!==s&&s(e)}}s.d(e,{createSafeMulticastEventHandler:()=>n})},1405:(t,e,s)=>{"use strict";s.d(e,{anchors:()=>n});s(59496);const n={bottom:{attachment:{horizontal:"left",vertical:"top"},targetAttachment:{horizontal:"left",vertical:"bottom"}},top:{attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},topRight:{attachment:{horizontal:"right",vertical:"bottom"},targetAttachment:{horizontal:"right",vertical:"top"}},bottomRight:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"bottom"}}}},48154:(t,e,s)=>{"use strict";s.d(e,{Calendar:()=>g});var n=s(59496),r=s(97754),o=s(28353),i=s(9745),a=s(23935),l=s(1860),c=s(12539);class h extends n.PureComponent{constructor(){super(...arguments),this._dateFormatter=new l.DateFormatter,this._onClick=()=>{this.props.onClick&&!this.props.isDisabled&&this.props.onClick(new Date(this.props.day))}}render(){const t=r(c.day,{[c.selected]:this.props.isSelected,[c.disabled]:this.props.isDisabled,[c.withinSelectedRange]:this._withinSelectedRange(),[c.isOnHighlightedEdge]:this._isOnHighlightedEdge(),[c.currentDay]:this._isCurrentDay()});return n.createElement("span",{className:t,onClick:this._onClick,"data-day":this._dateFormatter.formatLocal(this.props.day)},this.props.day.getDate())}_isOnHighlightedEdge(){const{day:t,highlightedFrom:e,highlightedTo:s}=this.props;return!(!e||!s)&&((0,a.isSameDay)(t,e)||(0,a.isSameDay)(t,s))}_withinSelectedRange(){const{day:t,highlightedFrom:e,highlightedTo:s}=this.props;return!(!e||!s)&&this._isBetweenByDay(e,t,s)}_isCurrentDay(){return(0,a.isSameDay)(new Date,this.props.day)}_isBetweenByDay(t,e,s){const n=(0,a.resetToDayStart)(t),r=(0,a.resetToDayStart)(e),o=(0,a.resetToDayStart)(s);return nu.map(t=>n.createElement("span",{key:t},t))}render(){return n.createElement("div",{className:c.month},n.createElement("div",{className:c.weekdays},this._renderWeekdays()),n.createElement("div",{className:c.weeks},this._renderWeeks()))}_renderWeeks(){const t=[];let e=(0,a.resetToWeekStart)((0,a.resetToMonthStart)(this.props.viewDate),!0);for(let s=0;s<6;s++)t.push(this._renderWeek(e)),e=new Date((0,a.addOneWeek)(e));return t}_renderWeek(t){const e=[];for(let s=0;s<7;s++){const r=new Date(t);r.setDate(r.getDate()+s),(0,a.isSameMonth)(r,this.props.viewDate)&&e.push(n.createElement(h,{key:s,day:r,isDisabled:this._isDayDisabled(r),isSelected:(0,a.isSameDay)(r,this.props.selectedDate),onClick:this.props.onClickDay,highlightedFrom:this.props.highlightedFrom,highlightedTo:this.props.highlightedTo}))}if(0===e.length)return null;const s=(0,a.getNumberOfWeek)(t);return n.createElement("div",{className:c.week,key:s},e)}_isDayDisabled(t){if(!(0,a.isInRange)(t,this.props.minDate,this.props.maxDate))return!0;const e=[6,0].includes(t.getDay());return!!this.props.disableWeekends&&e}}var d=s(30360);const m=[(0,o.t)("January"),(0,o.t)("February"),(0,o.t)("March"),(0,o.t)("April"),(0,o.t)("May"),(0,o.t)("June"),(0,o.t)("July"),(0,o.t)("August"),(0,o.t)("September"),(0,o.t)("October"),(0,o.t)("November"),(0,o.t)("December")];class g extends n.PureComponent{constructor(t){super(t),this._prevMonth=()=>{const t=new Date(this.state.viewDate);t.setMonth(t.getMonth()-1),this.setState({viewDate:t}),this.props.onMonthSwitch&&this.props.onMonthSwitch()},this._nextMonth=()=>{const t=new Date(this.state.viewDate);t.setMonth(t.getMonth()+1),this.setState({viewDate:t}),this.props.onMonthSwitch&&this.props.onMonthSwitch()},this._onClickDay=t=>{this.setState({viewDate:new Date(t)}),this.props.onSelect&&this.props.onSelect(new Date(t))},this.state={viewDate:t.selectedDate}}render(){return n.createElement("div",{className:r(c.calendar,this.props.popupStyle&&c.popupStyle,this.props.className),tabIndex:-1},n.createElement("div",{className:c.header},n.createElement(i.Icon,{icon:d,onClick:this._prevMonth,className:r(c.switchBtn,c.prev)}),n.createElement("div",{className:c.title},`${m[this.state.viewDate.getMonth()]} ${this.state.viewDate.getFullYear()}`),n.createElement(i.Icon,{icon:d,onClick:this._nextMonth,className:r(c.switchBtn,c.next)})),n.createElement(p,{viewDate:this.state.viewDate,selectedDate:this.props.selectedDate,maxDate:this.props.maxDate,minDate:this.props.minDate,onClickDay:this._onClickDay,disableWeekends:this.props.disableWeekends,highlightedFrom:this.props.highlightedFrom,highlightedTo:this.props.highlightedTo}))}}g.defaultProps={popupStyle:!0}},27404:(t,e,s)=>{"use strict";s.d(e,{DatePicker:()=>m}) +;var n=s(28353),r=s(59496),o=s(97754),i=s(32563),a=s(1860),l=s(48154),c=s(44384),h=s(23982),u=s(23935),p=s(67029),d=s(71767);class m extends r.PureComponent{constructor(t){super(t),this._pickerInputContainerRef=r.createRef(),this._dateFormatter=new a.DateFormatter,this._fixValue=t=>(t=(t=t.substring(0,10)).replace(/-+/g,"-"),(/^\d{4}$/.test(t)||/^\d{4}-\d{2}$/.test(t))&&(t+="-"),t),this._isValid=t=>{if(/^[0-9]{4}(-[0-9]{2}){2}/.test(t)){const e=new Date(t.concat("T00:00"));return!(0,u.isInvalidDateObj)(e)&&(!!this.props.noRangeValidation||(0,u.isInRange)(e,this.props.minDate,this.props.maxDate))}return!1},this._onBlur=t=>{var e;if(!this.props.revertInvalidData||(null===(e=this._pickerInputContainerRef.current)||void 0===e?void 0:e.contains(t.relatedTarget)))return;const{value:s}=t.target;if(!this._isValid(s)){const e=new Date(this.state.date);this.setState({pickerInputKey:t.timeStamp,date:e,isInvalid:!1}),this.props.onPick(e)}},this._onType=t=>{const e=this._isValid(t)?new Date(t.concat("T00:00")):null;e?this.setState({date:e,isInvalid:!1}):this.setState({isInvalid:!0}),this.props.onPick(e)},this._onSelect=t=>{this.setState({date:t,showCalendar:!1,isInvalid:!1}),this.props.onPick(t)},this._showCalendar=()=>{this.setState({showCalendar:!0})},this._hideCalendar=()=>{this.setState({showCalendar:!1})},this._getErrors=()=>{const t=this.props.errors?[...this.props.errors]:[];return this.state.isInvalid&&t.push((0,n.t)("Please enter the right date format yyyy-mm-dd")),t},this.state={pickerInputKey:0,date:t.initial,showCalendar:!1,isInvalid:!this._isValid(this._dateFormatter.formatLocal(t.initial))}}render(){return i.mobiletouch?r.createElement(h.NativePickerInput,{value:this._dateFormatter.formatLocal(this.state.date),type:"date",onChange:this._onType,icon:d,disabled:this.props.disabled,size:this.props.size,min:this.props.minDate&&this._dateFormatter.formatLocal(this.props.minDate),max:this.props.maxDate&&this._dateFormatter.formatLocal(this.props.maxDate),errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:o(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:this.props.inputReference,InputComponent:this.props.InputComponent}):r.createElement("div",{ref:this._pickerInputContainerRef},r.createElement(c.PickerInput,{key:this.state.pickerInputKey,value:this._dateFormatter.formatLocal(this.state.date),inputRegex:/[0-9.]/,fixValue:this._fixValue,onType:this._onType,onBlur:this._onBlur,onShowPicker:this._showCalendar,onHidePicker:this._hideCalendar,showPicker:this.state.showCalendar&&this.props.withCalendar,showOnFocus:this.props.showOnFocus,icon:d,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,position:this.props.position,className:o(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:this.props.inputReference,InputComponent:this.props.InputComponent +},r.createElement(l.Calendar,{selectedDate:this.state.date,maxDate:this.props.maxDate,minDate:this.props.minDate,onSelect:this._onSelect})))}UNSAFE_componentWillReceiveProps(t){this.props.initial!==t.initial&&this.setState({date:t.initial})}_getFontSizeClassName(t){return t?"large"===t?p.InputClasses.FontSizeLarge:p.InputClasses.FontSizeMedium:void 0}}m.defaultProps={position:"fixed",withCalendar:!0}},23982:(t,e,s)=>{"use strict";s.d(e,{NativePickerInput:()=>h});var n=s(59496),r=s(97754),o=s(9745),i=s(86623),a=s(86629),l=s(78274),c=s(554);class h extends n.PureComponent{constructor(t){super(t),this._input=null,this._nativeInputRef=n.createRef(),this._handleInputRef=t=>{this._input=t,this.props.inputReference&&this.props.inputReference(this._input)},this._onFocus=()=>{this.setState({isFocused:!0})},this._onBlur=()=>{this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.state.value),this.setState({isFocused:!1})},this._onChange=t=>{const{value:e}=t.target;e&&(this.setState({value:e}),this.props.onChange(e))},this.state={value:t.value,isFocused:!1}}componentDidMount(){this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.props.value)}render(){const{className:t,disabled:e,errors:s,InputComponent:h=i.FormInput}=this.props,u=!this.props.readonly&&!e,p=this.props.showErrorMessages&&s&&s.length>0;return n.createElement("div",{className:c.pickerInput},n.createElement(h,{value:this.state.value,readonly:!0,noReadonlyStyles:!0,endSlot:s&&s.length?void 0:n.createElement(l.EndSlot,null,n.createElement(o.Icon,{icon:this.props.icon,className:r(c.icon,e&&c.disabled)})),className:t,inputClassName:c.textInput,size:this.props.size,disabled:e,hasErrors:p,errors:s,alwaysShowAttachedErrors:!0,messagesPosition:a.MessagesPosition.Attached,name:u?void 0:this.props.name,reference:this._handleInputRef,highlight:this.state.isFocused,intent:!p&&this.state.isFocused?"primary":void 0}),u&&n.createElement("input",{ref:this._nativeInputRef,type:this.props.type,className:c.nativePicker,onChange:this._onChange,onInput:this._onChange,min:this.props.min,max:this.props.max,name:this.props.name,onFocus:this._onFocus,onBlur:this._onBlur}))}}},44384:(t,e,s)=>{"use strict";s.d(e,{PickerInput:()=>d});var n=s(59496),r=s(97754),o=s(88537),i=s(9745),a=s(86623),l=s(86629),c=s(78274),h=s(76594),u=s(65718),p=s(554);class d extends n.PureComponent{constructor(t){super(t),this._input=null,this._inputContainer=null,this._handleFocus=()=>{this.props.showOnFocus&&this.props.onShowPicker()},this._handleInputRef=t=>{this._input=t,this.props.inputReference&&this.props.inputReference(this._input)},this._handleContainerRef=t=>{this._inputContainer=t},this._onShowPicker=t=>{if(t&&this._inputContainer){const e=t.getBoundingClientRect(),s=this._inputContainer.getBoundingClientRect();e.width&&e.width>window.innerWidth-s.left?(t.style.right="0",t.style.left="auto"):(t.style.right="auto",t.style.left=s.left+"px");const n=window.innerHeight-s.bottom,r=s.top;if(n>=e.height)return void(t.style.top=s.bottom+"px");t.style.top="auto", +t.style.bottom=r{const t=(0,o.ensureNotNull)(this._input).value;this.setState({value:t}),this.props.onType(t)},this._onKeyDown=t=>{this.props.onHidePicker()},this._onKeyPress=t=>{if(t.charCode){const e=String.fromCharCode(t.charCode);this.props.inputRegex.test(e)||t.preventDefault()}},this._onKeyUp=t=>{if(8!==t.keyCode){const t=(0,o.ensureNotNull)(this._input).value,e=this.props.fixValue(t);e!==t&&this.setState({value:e})}},this.state={value:t.value}}UNSAFE_componentWillReceiveProps(t){t.value!==this.props.value&&this.setState({value:t.value})}render(){const{position:t="fixed",className:e,size:s,disabled:o,readonly:d,errors:m,icon:g,InputComponent:f=a.FormInput}=this.props;return n.createElement("div",{className:p.pickerInput,ref:this._handleContainerRef},n.createElement(f,{value:this.state.value,onBlur:this.props.onBlur,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onChange:this._onChange,onFocus:this._handleFocus,onClick:this.props.onShowPicker,reference:this._handleInputRef,className:e,size:s,disabled:o,errors:m,messagesPosition:l.MessagesPosition.Attached,hasErrors:this.props.showErrorMessages&&m&&m.length>0,name:this.props.name,readonly:d,endSlot:m&&m.length?void 0:n.createElement(c.EndSlot,null,n.createElement(i.Icon,{icon:g,className:r(p.icon,o&&p.disabled),onClick:o||d?void 0:this.props.onShowPicker})),"data-name":this.props.name}),this.props.showPicker&&!d?n.createElement(u.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},n.createElement(h.OutsideEvent,{mouseDown:!0,handler:this.props.onHidePicker},e=>n.createElement("span",{ref:e,style:{pointerEvents:"auto"}},n.createElement("div",{className:r(p.picker,p[t]),key:"0",ref:this._onShowPicker},this.props.children)))):null)}}d.defaultProps={showOnFocus:!0}},23935:(t,e,s)=>{"use strict";function n(t,e,s=1){const n=Math.max(Math.ceil((e-t)/s),0),r=Array(n);for(let e=0;e6)throw new Error("Invalid day is provided");return 0===t?6:t-1}(s.getDay()):s.getDay();return s.setDate(s.getDate()-n),s}function l(t){const e=o(t);return e.setDate(1),e}function c(t,e){return Number(o(t))===Number(o(e))}function h(t,e){return Number(l(t))===Number(l(e))}function u(t){const e=new Date(t.getFullYear(),0,1),s=(Number(t)-Number(e))/864e5;return Math.ceil((s+e.getDay()+1)/7)}function p(t){const e=new Date(t);return e.setDate(e.getDate()+7),e}function d(t,e,s){const n=!e||Number(o(e))-Number(o(t))<=0;return(!s||Number(o(s))-Number(o(t))>=0)&&n}function m(t){return Number.isNaN(Number(t))}function g(t){return new Date(t).getTimezoneOffset()/60}function f(t){const e=new Date(t);return e.setHours(e.getHours()+g(e)),e}function v(t){const e=new Date(t) +;return e.setHours(e.getHours()-g(e)),e}s.d(e,{range:()=>n,twoDigitsFormat:()=>r,resetToDayStart:()=>o,resetToDayEnd:()=>i,resetToWeekStart:()=>a,resetToMonthStart:()=>l,isSameDay:()=>c,isSameMonth:()=>h,getNumberOfWeek:()=>u,addOneWeek:()=>p,isInRange:()=>d,isInvalidDateObj:()=>m,subtractLocalTime:()=>f,addLocalTime:()=>v})},70412:(t,e,s)=>{"use strict";s.d(e,{hoverMouseEventFilter:()=>o,useAccurateHover:()=>i,useHover:()=>r});var n=s(59496);function r(){const[t,e]=(0,n.useState)(!1);return[t,{onMouseOver:function(t){o(t)&&e(!0)},onMouseOut:function(t){o(t)&&e(!1)}}]}function o(t){return!t.currentTarget.contains(t.relatedTarget)}function i(t){const[e,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const e=e=>{if(null===t.current)return;const n=t.current.contains(e.target);s(n)};return document.addEventListener("mouseover",e),()=>document.removeEventListener("mouseover",e)},[]),e}},10959:(t,e,s)=>{"use strict";s.d(e,{ErrorIcon:()=>l});var n=s(59496),r=s(97754),o=s(9745),i=s(83546),a=s(93314);function l(t){const{intent:e="danger"}=t;return n.createElement(o.Icon,{icon:i,className:r(a["error-icon"],a["intent-"+e])})}},86623:(t,e,s)=>{"use strict";s.d(e,{FormInput:()=>c});var n=s(59496),r=s(31261),o=s(86629),i=s(78274),a=s(47201),l=s(66092);function c(t){var e;const{intent:s,onFocus:c,onBlur:h,onMouseOver:u,onMouseOut:p,containerReference:d=null,endSlot:m,hasErrors:g,hasWarnings:f,errors:v,warnings:w,alwaysShowAttachedErrors:b,iconHidden:y,messagesPosition:S,messagesAttachment:D,customErrorsAttachment:_,messagesRoot:E,inheritMessagesWidthFromTarget:C,disableMessagesRtlStyles:k,...F}=t,M=(0,o.useControlValidationLayout)({hasErrors:g,hasWarnings:f,errors:v,warnings:w,alwaysShowAttachedErrors:b,iconHidden:y,messagesPosition:S,messagesAttachment:D,customErrorsAttachment:_,messagesRoot:E,inheritMessagesWidthFromTarget:C,disableMessagesRtlStyles:k}),R=(0,a.createSafeMulticastEventHandler)(c,M.onFocus),x=(0,a.createSafeMulticastEventHandler)(h,M.onBlur),N=(0,a.createSafeMulticastEventHandler)(u,M.onMouseOver),I=(0,a.createSafeMulticastEventHandler)(p,M.onMouseOut);return n.createElement(n.Fragment,null,n.createElement(r.InputControl,{...F,intent:null!==(e=M.intent)&&void 0!==e?e:s,onFocus:R,onBlur:x,onMouseOver:N,onMouseOut:I,containerReference:(0,l.useMergedRefs)([d,M.containerReference]),endSlot:n.createElement(n.Fragment,null,M.icon&&n.createElement(i.EndSlot,{icon:!0},M.icon),m)}),M.renderedErrors)}},86629:(t,e,s)=>{"use strict";s.d(e,{MessagesPosition:()=>v,useControlValidationLayout:()=>F});var n=s(59496),r=s(97754),o=s(29202),i=s(70412),a=s(78274),l=s(1405),c=s(86431),h=s(87995);var u=s(66875),p=s(62820);class d extends n.PureComponent{render(){const{children:t=[],show:e=!1,customErrorClass:s,disableRtlStyles:o}=this.props,i=r(u.errors,{[u.show]:e},s),a=t.map((t,e)=>n.createElement("div",{className:u.error,key:e},t));let l={position:"absolute",top:this.props.top,width:this.props.width,height:this.props.height,bottom:void 0!==this.props.bottom?this.props.bottom:"100%",right:void 0!==this.props.right?this.props.right:0, +left:this.props.left,zIndex:this.props.zIndex,maxWidth:this.props.maxWidth};if((0,p.isRtl)()&&!o){const{left:t,right:e}=l;l={...l,left:e,right:t}}return n.createElement("div",{style:l,className:i},a)}}const m=(0,c.makeOverlapable)((g=d,(f=class extends n.PureComponent{constructor(t){super(t),this._getComponentInstance=t=>{this._instance=t},this._throttleCalcProps=()=>{requestAnimationFrame(()=>this.setState(this._calcProps(this.props)))},this.state=this._getStateFromProps()}componentDidMount(){this._instanceElem=h.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this.setState(this._calcProps(this.props))}componentDidUpdate(t){t.children===this.props.children&&t.top===this.props.top&&t.left===this.props.left&&t.width===this.props.width||this.setState(this._getStateFromProps(),()=>this.setState(this._calcProps(this.props)))}render(){return n.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0}},n.createElement(g,{...this.props,ref:this._getComponentInstance,top:this.state.top,bottom:void 0!==this.state.bottom?this.state.bottom:"auto",right:void 0!==this.state.right?this.state.right:"auto",left:this.state.left,width:this.state.width,maxWidth:this.state.maxWidth},this.props.children))}componentWillUnmount(){this._unsubsribe()}_getStateFromProps(){return{bottom:this.props.bottom,left:this.props.left,right:this.props.right,top:void 0!==this.props.top?this.props.top:-1e4,width:this.props.inheritWidthFromTarget?this.props.target&&this.props.target.getBoundingClientRect().width:this.props.width,maxWidth:this.props.inheritMaxWidthFromTarget&&this.props.target&&this.props.target.getBoundingClientRect().width}}_calcProps(t){if(t.target&&t.attachment&&t.targetAttachment){const e=this._calcTargetProps(t.target,t.attachment,t.targetAttachment);if(null===e)return{};const{width:s,inheritWidthFromTarget:n=!0,inheritMaxWidthFromTarget:r=!1}=this.props,o={width:n?e.width:s,maxWidth:r?e.width:void 0};switch(t.attachment.vertical){case"bottom":case"middle":o.top=e.y;break;default:o[t.attachment.vertical]=e.y}switch(t.attachment.horizontal){case"right":case"center":o.left=e.x;break;default:o[t.attachment.horizontal]=e.x}return o}return{}}_calcTargetProps(t,e,s){const n=t.getBoundingClientRect(),r=this._instanceElem.getBoundingClientRect(),o="parent"===this.props.root?this._getCoordsRelToParentEl(t,n):this._getCoordsRelToDocument(n);if(null===o)return null;const i=this._getDimensions(r),a=this._getDimensions(n).width;let l=0,c=0;switch(e.vertical){case"top":c=o[s.vertical];break;case"bottom":c=o[s.vertical]-i.height;break;case"middle":c=o[s.vertical]-i.height/2}switch(e.horizontal){case"left":l=o[s.horizontal];break;case"right":l=o[s.horizontal]-i.width;break;case"center":l=o[s.horizontal]-i.width/2}return"number"==typeof this.props.attachmentOffsetY&&(c+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(l+=this.props.attachmentOffsetX),{x:l,y:c,width:a}}_getCoordsRelToDocument(t){const e=pageYOffset,s=pageXOffset,n=t.top+e,r=t.bottom+e,o=t.left+s;return{top:n,bottom:r, +left:o,right:t.right+s,middle:(n+t.height)/2,center:o+t.width/2}}_getCoordsRelToParentEl(t,e){const s=t.offsetParent;if(null===s)return null;const n=s.scrollTop,r=s.scrollLeft,o=t.offsetTop+n,i=t.offsetLeft+r,a=e.width+i;return{top:o,bottom:e.height+o,left:i,right:a,middle:(o+e.height)/2,center:(i+e.width)/2}}_getDimensions(t){return{height:t.height,width:t.width}}_subscribe(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))}_unsubsribe(){window.removeEventListener("scroll",this._throttleCalcProps,!0),window.removeEventListener("resize",this._throttleCalcProps)}}).displayName="Attachable Component",f));var g,f,v,w,b=s(10959),y=s(52965);!function(t){t[t.Attached=0]="Attached",t[t.Static=1]="Static",t[t.Hidden=2]="Hidden"}(v||(v={})),function(t){t.Top="top",t.Bottom="bottom"}(w||(w={}));const S={top:{attachment:l.anchors.topRight.attachment,targetAttachment:l.anchors.topRight.targetAttachment,attachmentOffsetY:-4},bottom:{attachment:l.anchors.bottomRight.attachment,targetAttachment:l.anchors.bottomRight.targetAttachment,attachmentOffsetY:4}};function D(t){const{isOpened:e,target:s,errorAttachment:r=w.Top,customErrorsAttachment:o,root:i="parent",inheritWidthFromTarget:a=!1,disableRtlStyles:l,children:c}=t,{attachment:h,targetAttachment:u,attachmentOffsetY:p}=null!=o?o:S[r];return n.createElement(m,{isOpened:e,target:s,root:i,inheritWidthFromTarget:a,attachment:h,targetAttachment:u,attachmentOffsetY:p,disableRtlStyles:l,inheritMaxWidthFromTarget:!0,show:!0},c)}function _(t,e){return Boolean(t)&&void 0!==e&&e.length>0}function E(t,e,s){return t===v.Attached&&_(e,s)}function C(t,e,s){return t===v.Static&&_(e,s)}function k(t,e,s){const{hasErrors:n,hasWarnings:r,alwaysShowAttachedErrors:o,iconHidden:i,errors:a,warnings:l,messagesPosition:c=v.Static}=t,h=E(c,n,a),u=E(c,r,l),p=h&&(e||s||Boolean(o)),d=!p&&u&&(e||s),m=C(c,n,a),g=!m&&C(c,r,l),f=!i&&Boolean(n);return{hasAttachedErrorMessages:h,hasAttachedWarningMessages:u,showAttachedErrorMessages:p,showAttachedWarningMessages:d,showStaticErrorMessages:m,showStaticWarningMessages:g,showErrorIcon:f,showWarningIcon:!i&&!f&&Boolean(r),intent:function(t,e){return Boolean(t)?"danger":Boolean(e)?"warning":void 0}(n,r)}}function F(t){var e,s;const{errors:l,warnings:c,messagesAttachment:h,customErrorsAttachment:u,messagesRoot:p,inheritMessagesWidthFromTarget:d,disableMessagesRtlStyles:m}=t,[g,f]=(0,o.useFocus)(),[v,w]=(0,i.useHover)(),S=(0,n.useRef)(null),{hasAttachedErrorMessages:_,hasAttachedWarningMessages:E,showAttachedErrorMessages:C,showAttachedWarningMessages:F,showStaticErrorMessages:M,showStaticWarningMessages:R,showErrorIcon:x,showWarningIcon:N,intent:I}=k(t,g,v),B=x||N?n.createElement(b.ErrorIcon,{intent:x?"danger":"warning"}):void 0,A=_?n.createElement(D,{errorAttachment:h,customErrorsAttachment:u,isOpened:C,target:S.current,root:p,inheritWidthFromTarget:d,disableRtlStyles:m,children:l}):void 0,z=E?n.createElement(D,{errorAttachment:h,isOpened:F,target:S.current,root:p, +inheritWidthFromTarget:d,disableRtlStyles:m,children:c}):void 0,P=M?n.createElement(a.AfterSlot,{className:r(y["static-messages"],y.errors)},null==l?void 0:l.map((t,e)=>n.createElement("p",{key:e,className:y.message},t))):void 0,T=R?n.createElement(a.AfterSlot,{className:r(y["static-messages"],y.warnings)},null==c?void 0:c.map((t,e)=>n.createElement("p",{key:e,className:y.message},t))):void 0;return{icon:B,renderedErrors:null!==(s=null!==(e=null!=A?A:z)&&void 0!==e?e:P)&&void 0!==s?s:T,containerReference:S,intent:I,...f,...w}}},30360:t=>{t.exports=''},71767:t=>{t.exports=''},83546:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/743d0db623f41a2597c1e441233e4a78.svg b/charting_library/bundles/743d0db623f41a2597c1e441233e4a78.svg new file mode 100644 index 00000000..c78426bf --- /dev/null +++ b/charting_library/bundles/743d0db623f41a2597c1e441233e4a78.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/752c67ea7ac85fb0cd2f01623bd213bc.svg b/charting_library/bundles/752c67ea7ac85fb0cd2f01623bd213bc.svg new file mode 100644 index 00000000..3fef3858 --- /dev/null +++ b/charting_library/bundles/752c67ea7ac85fb0cd2f01623bd213bc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/756e573bd5155c508a91d07c586c3669.svg b/charting_library/bundles/756e573bd5155c508a91d07c586c3669.svg new file mode 100644 index 00000000..eadcc8d3 --- /dev/null +++ b/charting_library/bundles/756e573bd5155c508a91d07c586c3669.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7585c22521c2b4c30ed2c64d13bcb872.svg b/charting_library/bundles/7585c22521c2b4c30ed2c64d13bcb872.svg new file mode 100644 index 00000000..79656f3b --- /dev/null +++ b/charting_library/bundles/7585c22521c2b4c30ed2c64d13bcb872.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/75af36c37801a630adf29c84bcb12855.svg b/charting_library/bundles/75af36c37801a630adf29c84bcb12855.svg new file mode 100644 index 00000000..59c97d47 --- /dev/null +++ b/charting_library/bundles/75af36c37801a630adf29c84bcb12855.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7678.2a02d7fc5a1d8b8dff1f.js b/charting_library/bundles/7678.2a02d7fc5a1d8b8dff1f.js new file mode 100644 index 00000000..b4725957 --- /dev/null +++ b/charting_library/bundles/7678.2a02d7fc5a1d8b8dff1f.js @@ -0,0 +1,9 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7678],{52014:()=>{},69445:()=>{},99158:t=>{t.exports={wrapper:"wrapper-BaEDTGCd",touch:"touch-BaEDTGCd"}},13398:function(t,e){var i,s,n,o;o=function(t){var e=Object.prototype.toString,i=Array.isArray||function(t){return"[object Array]"===e.call(t)};function s(t){return"function"==typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,e){return null!=t&&"object"==typeof t&&e in t}var r=RegExp.prototype.test,a=/\S/;function h(t){return!function(t,e){return r.call(t,e)}(a,t)}var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},p=/\s*/,c=/\s+/,d=/\s*=/,u=/\s*\}/,_=/#|\^|\/|>|\{|&|=|!/;function g(t){this.string=t,this.tail=t,this.pos=0}function f(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function v(){this.cache={}}g.prototype.eos=function(){return""===this.tail},g.prototype.scan=function(t){var e=this.tail.match(t);if(!e||0!==e.index)return"";var i=e[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i},g.prototype.scanUntil=function(t){var e,i=this.tail.search(t);switch(i){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=e.length,e},f.prototype.push=function(t){return new f(t,this)},f.prototype.lookup=function(t){var e,i=this.cache;if(i.hasOwnProperty(t))e=i[t];else{for(var n,r,a=this,h=!1;a;){if(t.indexOf(".")>0)for(e=a.view,n=t.split("."),r=0;null!=e&&r0?n[n.length-1][4]:i;break;default:s.push(e)}return i}(function(t){for(var e,i,s=[],n=0,o=t.length;n"===o?r=this.renderPartial(n,e,i,s):"&"===o?r=this.unescapedValue(n,e):"name"===o?r=this.escapedValue(n,e):"text"===o&&(r=this.rawValue(n)),void 0!==r&&(a+=r);return a},v.prototype.renderSection=function(t,e,n,o){var r=this,a="",h=e.lookup(t[1]);if(h){if(i(h))for(var l=0,p=h.length;l"'`=\/]/g,(function(t){return l[t]}))},t.Scanner=g,t.Context=f,t.Writer=v},e&&"string"!=typeof e.nodeName?o(e):(s=[e],void 0===(n="function"==typeof(i=o)?i.apply(e,s):i)||(t.exports=n))},30812:(t,e,i)=>{"use strict";i.d(e,{SidebarCustomScroll:()=>d});var s=i(32563),n=i(2872),o=i.n(n),r=i(15828),a=i(59199),h=i(53364);const l=[()=>navigator.userAgent.includes("Win")&&navigator.userAgent.includes("Chrome")?1/window.devicePixelRatio:1,()=>16,(t=(()=>0))=>{var e;return.8*(null!==(e=t())&&void 0!==e?e:0)}];i(69445);var p=i(99158);const c={headerHeight:0,additionalClass:"",alwaysVisible:!1,showBottomShadow:!0,scrollMarginTop:1,bubbleScrollEvent:!1};class d{constructor(t,e,i={}){if(this.scrolled=new(o()),this.scrolltoend=new(o()),this.scrolltostart=new(o()), +this.visibilityCallbacks=[],this._scrollTargetTop=0,this._scrollSpeed=40,this._shadowOffset=10,this._shadowTop=null,this._shadowBottom=null,this._bottomFixed=!1,this._dragInitialized=!1,this._dragging=!1,this._draggable=null,this._atStart=!1,this._atEnd=!1,this._stickyBottom=null,this._tempIntervalID=void 0,this._animation=null,this._saved=null,this._options={...c,...i},this._wrapper=t,this._wrapper.classList.add(p.wrapper),this._content=e,this._headerHeight=this._options.headerHeight,this._scrollMarginTop=this._options.scrollMarginTop,this._scrollBar=document.createElement("div"),this._scrollBar.classList.add("sb-scrollbar","sb-scrollbar-body"),this._options.additionalClass&&this._scrollBar.classList.add(this._options.additionalClass),this._scrollBar.classList.toggle("active-always",this._options.alwaysVisible),this._scrollBarWrapper=document.createElement("div"),this._scrollBarWrapper.classList.add("sb-scrollbar-wrap"),this._touch=s.touch,this._touch)return this._content.style.position="relative",this._wrapper.classList.add(p.touch),void this._wrapper.addEventListener("scroll",()=>this._onScroll());this._wrapper.style.overflow="hidden",this._unsubscribe=(()=>{const t=()=>{this._bottomFixed||this._dragging||(this._options.alwaysVisible||this._scrollBar.classList.add("active"),this._onScroll())},e=()=>{this._bottomFixed||this._dragging||(this._options.alwaysVisible||this._scrollBar.classList.remove("active"),this._onScroll())},i=t=>{if(!t.defaultPrevented){const e=function(t,e=(()=>({}))){return{x:t.deltaX*l[t.deltaMode](()=>e().width),y:t.deltaY*l[t.deltaMode](()=>e().height)}}(t,()=>({height:this._wrapper.clientHeight})).y;this.scroll(-e,1)||(t.stopPropagation(),t.preventDefault())}};return this._wrapper.addEventListener("mouseenter",t),this._wrapper.addEventListener("mouseleave",e),this._wrapper.addEventListener("wheel",i),()=>{this._wrapper.removeEventListener("mouseenter",t),this._wrapper.removeEventListener("mouseleave",e),this._wrapper.removeEventListener("wheel",i)}})(),!1!==this._options.showTopShadow&&(this._shadowTop=document.createElement("div"),this._shadowTop.classList.add("sb-inner-shadow","top","i-invisible"),this._wrapper.appendChild(this._shadowTop)),!1!==this._options.showBottomShadow&&(this._shadowBottom=document.createElement("div"),this._shadowBottom.classList.add("sb-inner-shadow"),this._wrapper.appendChild(this._shadowBottom)),this._shadowTop&&this._headerHeight&&(this._shadowTop.style.top=this._headerHeight-this._shadowOffset+"px"),this._wrapper.appendChild(this._scrollBarWrapper),this._scrollBarWrapper.appendChild(this._scrollBar),this._onScroll()}isTouch(){return this._touch}getScrollBar(){return this._scrollBar}initDraggable(){return this._dragInitialized||(this._draggable=new h.Draggable({axis:"y",source:this._scrollBar,containment:this._scrollBarWrapper,start:()=>{this._dragging=!0},stop:()=>{this._dragging=!1},drag:()=>{this.updateScroll()}}),this._dragInitialized=!0),this}updateScroll(){if(this._touch)return this;const t=Math.ceil((0, +r.position)(this._scrollBar).top-this._scrollMarginTop-this._headerHeight),e=this.getContainerHeightWithoutHeader(),i=(0,r.outerHeight)(this._content),s=i-e-1;return e<=0||(this._scrollTargetTop=s<=0?this._headerHeight:Math.min(-t*i/e+this._headerHeight,this._headerHeight),t+(0,r.contentHeight)(this._scrollBar)+2>=e?this.scrollToEnd():(this._content.style.top=this._scrollTargetTop+"px",this._onScroll())),this}getContainerHeightWithoutHeader(){return this._wrapper.getBoundingClientRect().height-this._headerHeight}getContainerHeight(){return this._wrapper.getBoundingClientRect().height}getContentHeight(){return this._content.getBoundingClientRect().height}updateScrollBar(){if(this._touch)return this;const t=(0,r.position)(this._content).top,e=this.getContentHeight(),i=this.getContainerHeight(),s=this.getContainerHeightWithoutHeader(),n=1+this._headerHeight,o=s-2,a=(Math.abs(t)-this._headerHeight)*o/e,h=i*i/e;return this.isContentShort()?(this._scrollBar.classList.add("js-hidden"),this._wrapper.classList.remove("sb-scroll-active")):(this._scrollBar.classList.remove("js-hidden"),this._scrollBar.style.height=h+"px",this._scrollBar.style.top=n+a+"px",this._wrapper.classList.add("sb-scroll-active"),this.initDraggable()),this}scroll(t,e){const i=(0,r.position)(this._content).top,s=(0,r.outerHeight)(this._content)-this.getContainerHeightWithoutHeader()-1,n=e||this._scrollSpeed;return s<=0||(this._scrollTargetTop=Math.max(-s+this._headerHeight,Math.min(this._headerHeight,i+t*n)),this.setContentTop(this._scrollTargetTop),this._onScroll())}animateTo(t){if(this._touch)return this;const e=(0,r.outerHeight)(this._content)-this.getContainerHeightWithoutHeader()-1;if(e<=0)return!0;this._scrollTargetTop=Math.max(-e+this._headerHeight,Math.min(this._headerHeight,-t)),this._animation&&this._animation.stop(),this._animation=(0,a.doAnimate)({duration:500,from:parseFloat(getComputedStyle(this._content).top),to:this._scrollTargetTop,onStep:(t,e)=>{this._content.style.top=e+"px"},onComplete:()=>{this._onScroll()}})}resize(){if(this._bottomFixed)return;const t=(0,r.outerHeight)(this._content),e=(0,r.outerHeight)(this._wrapper);!this._options.vAlignBottom&&ta&&t+i.areaHeighth?h-t-i.areaHeight:a-t +}else"top"===i.position&&(l=a-t);return this.scroll(l,1),this._onScroll(),!1}scrollToEnd(){const t=(0,r.position)(this._content).top,e=(0,r.outerHeight)(this._content),i=(0,r.outerHeight)(this._wrapper),s=e>i?t+(i-(e+t))+1:1;return this.setContentTop(s),this._onScroll(),this}scrollToStart(){return this.setContentTop(this._headerHeight),this._onScroll(),this}currentPosition(){return Math.round((0,r.position)(this._content).top)}atStart(){return Math.round((0,r.position)(this._content).top)>=this._headerHeight}atEnd(t){"number"==typeof t&&isFinite(t)||(t=0);const e=Math.round((0,r.position)(this._content).top),i=Math.round((0,r.outerHeight)(this._content)),s=Math.round((0,r.outerHeight)(this._wrapper));return i-Math.abs(e)-1<=s+t}checkContentVisibility(){this._onContentVisible()}subscribeToContentVisible(t,e,i){this.visibilityCallbacks.push({id:t,element:e,callback:i})}triggerVisibilityCallbacks(t){this._onContentVisible(t)}save(){return this._saved={top:(0,r.position)(this._content).top,height:(0,r.outerHeight)(this._content)},this}restore(){if(this._saved){if(this._saved.top===(0,r.position)(this._content).top&&this._saved.height===(0,r.outerHeight)(this._content))return this._saved=null,this;this._options.vAlignBottom&&(this._saved.top-=(0,r.outerHeight)(this._content)-this._saved.height,this._saved.top>this._headerHeight&&(this._saved.top=this._headerHeight)),this.setContentTop(this._saved.top),this._saved=null,this._onScroll(!0)}return this}fixBottom(){if(this._bottomFixed)return this;if(this._touch){const t=(0,r.outerHeight)(this._content),e=this._wrapper.scrollTop;this._tempIntervalID=setInterval(()=>{this._wrapper.scrollTop=e+((0,r.outerHeight)(this._content)-t)},0)}else this._content.style.top="auto",this._content.style.bottom=(0,r.outerHeight)(this._wrapper)-(0,r.position)(this._content).top-(0,r.outerHeight)(this._content)+"px";return this._bottomFixed=!0,this}releaseBottom(){return this._bottomFixed?(this._touch?clearInterval(this._tempIntervalID):(this._content.style.bottom="auto",this._content.style.top=(0,r.position)(this._content).top+"px"),this._bottomFixed=!1,this._onScroll(),this):this}setContentTop(t){return this._touch?this._options.vAlignBottom&&(0,r.outerHeight)(this._content)<(0,r.outerHeight)(this._wrapper)?(this._wrapper.style.overflowY="visible",this._content.style.position="absolute",this._content.style.bottom="0px"):(this._content.style.position="relative",this._content.style.position="auto",this._wrapper.style.overflowY="auto",this._wrapper.scrollTop=-t):this._content.style.top=t+"px",this}isContentShort(){return this.getContentHeight()<=this.getContainerHeightWithoutHeader()}destroy(){var t;this._animation&&this._animation.stop(),this._scrollBarWrapper&&this._scrollBarWrapper.remove(),this._shadowBottom&&this._shadowBottom.remove(),this._shadowTop&&this._shadowTop.remove(),this._draggable&&(this._draggable.destroy(),this._draggable=null),this._content.style.cssText="",this._wrapper.style.cssText="",null===(t=this._unsubscribe)||void 0===t||t.call(this)}_onScroll(t){ +this._touch||(this._content.style.bottom="auto"),this.scrolled.fire(),this._dragging&&!0!==t||this.updateScrollBar();const e=this.atStart(),i=this.atEnd();return this._shadowTop&&this._shadowTop.classList.toggle("i-invisible",!!e),this._shadowBottom&&this._shadowBottom.classList.toggle("i-invisible",!!i),this._onContentVisible(),!this._atStart&&e?(this._atStart=!0,this.scrolltostart.fire()):this._atStart&&!e&&(this._atStart=!1),!this._atEnd&&i?(this._atEnd=!0,this.scrolltoend.fire()):this._atEnd&&!i&&(this._atEnd=!1),this._options.vAlignBottom&&(this._stickyBottom=(0,r.outerHeight)(this._content)-Math.abs((0,r.position)(this._content).top)-(0,r.outerHeight)(this._wrapper)),(this._atStart||this._atEnd)&&("function"==typeof this._options.bubbleScrollEvent?Boolean(this._options.bubbleScrollEvent()):Boolean(this._options.bubbleScrollEvent))}_contentIsVisible(t){return(0,r.position)(t.element).top>-1*this.currentPosition()}_onContentVisible(t){if(!this.visibilityCallbacks.length)return;const e=t||this._contentIsVisible.bind(this),i=[],s=this.visibilityCallbacks.filter((t,s)=>{if(!this._content.contains(t.element))return!1;const n=e(t);return n&&i.push(s),!n});i.forEach(e=>{this.visibilityCallbacks[e].callback(!!t)}),this.visibilityCallbacks=s}}},20497:(t,e,i)=>{"use strict";var s=i(23127);const n=i(98125).getLogger("CommonUI.CreateTVBlockPlugin");t.exports.createTvBlockWithInstance=function(t,e){if(t&&e)return t=t.toString(),function(o,r,a){var h,l,p;return"get"===o?h=r:(l=r,"object"==typeof o&&void 0===r?(l=o,o="init"):"string"!=typeof o&&(o="init")),"getInstance"===o?s(this).eq(0).data(t):"destroy"===o?(p=s(this).eq(0).data(t))?void("function"==typeof p.destroy?(i(p,"destroy",l),s(this).eq(0).removeData(t)):n.logError("[Block Plugin] "+t+" does not support destroy command")):void console.warn("[Block Plugin] Trying to execute destroy method of "+t+" but it has not been inited"):"get"===o?(p=s(this).eq(0).data(t))?"function"==typeof p[h]?i(p,h,a):p[h]:void console.warn("[Block Plugin] Trying to get prop or execute method of "+t+" but it has not been inited"):s(this).each((function(){var r=s(this),a=r.data(t);void 0===a&&(a=void 0===l?e(r):e(r,l),r.data(t,a)),"init"!==o&&("function"==typeof a[o]?i(a,o,l):n.logError("[Block Plugin] "+t+" does not support command "+o))}))};function i(t,e,i){return void 0===i?t[e]():t[e](i)}}},78754:(t,e,i)=>{"use strict";i.d(e,{buttonLoader:()=>r});i(52014);var s=i(20497),n=i(68587),o=i(23127);function r(t){return new a(o(t))}o.fn.tvButtonLoader=(0,s.createTvBlockWithInstance)("tv-button-loader",(function(t){return new a(t)}));class a{constructor(t){this.$btn=o(t).addClass("tv-button--loader"),0===this.$btn.find(".tv-button__loader").length&&this.$btn.html(''+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}_start(){this.starting=!0,this.$btn.addClass("i-start-load"), +this.$btn.trigger("tv-button-loader:start"),setTimeout(()=>{this.loading=!0,this.starting=!1,this._startPromise=!1,this.$btn.addClass("i-loading"),this.$btn.removeClass("i-start-load"),this._stopPromise&&this._stop()},2*n.dur)}start(){this.starting||(this.stopping?this._startPromise=!0:this._start())}_stop(){this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(()=>{this.loading=!1,this.stopping=!1,this._stopPromise=!1,this.$btn.removeClass("i-loading i-start-load i-stop-load"),this._startPromise&&this._start()},n.dur)}stop(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}toggle(){this.loading?this.stop():this.start()}contentHtml(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}contentNojQuery(){return this.$btn.get(0)}disable(){this.stop(),this.$btn.addClass("i-disabled")}enable(){this.$btn.removeClass("i-disabled")}}},53364:(t,e,i)=>{"use strict";i.d(e,{Draggable:()=>a});var s=i(88537),n=i(15828),o=i(49483),r=i(32563);class a{constructor(t){var e,i;this._helper=null,this._handleDragStart=t=>{var e;if(null!==this._helper)return;const i=this._source;i.classList.add("ui-draggable-dragging");const[s,o]=[(0,n.outerWidth)(i),(0,n.outerHeight)(i)];this._helper={startTop:parseFloat(i.style.top)||0,startLeft:parseFloat(i.style.left)||0,nextTop:null,nextLeft:null,raf:null,size:[s,o],containment:this._containment instanceof HTMLElement?[parseInt(getComputedStyle(this._containment).borderLeftWidth)+parseInt(getComputedStyle(this._containment).paddingLeft),parseInt(getComputedStyle(this._containment).borderTopWidth)+parseInt(getComputedStyle(this._containment).paddingTop),this._containment.offsetWidth-parseInt(getComputedStyle(this._containment).borderRightWidth)-parseInt(getComputedStyle(this._containment).paddingRight)-parseInt(getComputedStyle(i).marginLeft)-parseInt(getComputedStyle(i).marginRight)-s,this._containment.offsetHeight-parseInt(getComputedStyle(this._containment).borderBottomWidth)-parseInt(getComputedStyle(this._containment).paddingBottom)-parseInt(getComputedStyle(i).marginTop)-parseInt(getComputedStyle(i).marginBottom)-o]:"window"===this._containment?[window.scrollX,window.scrollY,window.scrollX+document.documentElement.offsetWidth-s,window.scrollY+document.documentElement.offsetHeight-o]:null},null===(e=this._start)||void 0===e||e.call(this)},this._handleDragMove=t=>{var e;if(null===this._helper)return;const{current:i,initial:s}=t.detail,n=this._source,o=this._helper.nextTop,r=this._helper.nextLeft,a="y"===this._axis||!1===this._axis||0!==i.movementY;if(a){const t=this._helper.startTop;isFinite(t)&&(this._helper.nextTop=i.clientY-s.clientY+t)}const h="x"===this._axis||!1===this._axis||0!==i.movementY;if(h){const t=this._helper.startLeft;isFinite(t)&&(this._helper.nextLeft=i.clientX-s.clientX+t)}if(null!==this._helper.containment){const[t,e,i,s]=this._helper.containment;a&&this._helper.nextTop&&(this._helper.nextTop=Math.min(this._helper.nextTop,s), +this._helper.nextTop=Math.max(this._helper.nextTop,e)),h&&this._helper.nextLeft&&(this._helper.nextLeft=Math.min(this._helper.nextLeft,i),this._helper.nextLeft=Math.max(this._helper.nextLeft,t))}null!==this._helper.raf||o===this._helper.nextTop&&r===this._helper.nextLeft||(this._helper.raf=requestAnimationFrame(()=>{null!==this._helper&&(null!==this._helper.nextTop&&(n.style.top=this._helper.nextTop+"px",this._helper.nextTop=null),null!==this._helper.nextLeft&&(n.style.left=this._helper.nextLeft+"px",this._helper.nextLeft=null),this._helper.raf=null)})),null===(e=this._drag)||void 0===e||e.call(this)},this._handleDragStop=t=>{var e;if(null===this._helper)return;this._source.classList.remove("ui-draggable-dragging"),this._helper=null,null===(e=this._stop)||void 0===e||e.call(this)};const s=this._source=t.source;s.classList.add("ui-draggable");const o=this._handle=null!==(e=t.handle?s.querySelector(t.handle):null)&&void 0!==e?e:s;o.classList.add("ui-draggable-handle"),this._start=t.start,this._stop=t.stop,this._drag=t.drag,this._backend=new h({handle:o,onDragStart:this._handleDragStart,onDragMove:this._handleDragMove,onDragStop:this._handleDragStop}),this._axis=null!==(i=t.axis)&&void 0!==i&&i,this._containment=t.containment}destroy(){const t=this._source;t.classList.remove("ui-draggable"),t.classList.remove("ui-draggable-dragging");this._handle.classList.remove("ui-draggable-handle"),this._backend.destroy(),null!==this._helper&&(this._helper.raf&&cancelAnimationFrame(this._helper.raf),this._helper=null)}}class h{constructor(t){this._initial=null,this._handlePointerDown=t=>{if(null!==this._initial)return;if(!(t.target instanceof Element&&this._handle.contains(t.target)))return;if(this._initial=t,!this._dispatchEvent(this._createEvent("pointer-drag-start",t)))return void(this._initial=null);t.preventDefault();const e=this._getEventTarget();e.addEventListener("pointermove",this._handlePointerMove),e.addEventListener("pointerup",this._handlePointerUp),e.addEventListener("pointercancel",this._handlePointerUp),e.addEventListener("lostpointercapture",this._handlePointerUp),e.setPointerCapture(t.pointerId)},this._handlePointerMove=t=>{null!==this._initial&&this._initial.pointerId===t.pointerId&&(t.preventDefault(),this._dispatchEvent(this._createEvent("pointer-drag-move",t)))},this._handlePointerUp=t=>{if(null===this._initial||this._initial.pointerId!==t.pointerId)return;t.preventDefault();const e=this._getEventTarget();e.removeEventListener("pointermove",this._handlePointerMove),e.removeEventListener("pointerup",this._handlePointerUp),e.removeEventListener("pointercancel",this._handlePointerUp),e.removeEventListener("lostpointercapture",this._handlePointerUp),e.releasePointerCapture(this._initial.pointerId),this._dispatchEvent(this._createEvent("pointer-drag-stop",t)),this._initial=null};const e=this._handle=t.handle;this._onDragStart=t.onDragStart,this._onDragMove=t.onDragMove,this._onDragStop=t.onDragStop,e.style.touchAction="none";this._getEventTarget().addEventListener("pointerdown",this._handlePointerDown)}destroy(){ +this._handle.style.touchAction="";const t=this._getEventTarget();t.removeEventListener("pointerdown",this._handlePointerDown),t.removeEventListener("pointermove",this._handlePointerMove),t.removeEventListener("pointerup",this._handlePointerUp),t.removeEventListener("pointercancel",this._handlePointerUp),t.removeEventListener("lostpointercapture",this._handlePointerUp),null!==this._initial&&(t.releasePointerCapture(this._initial.pointerId),this._initial=null)}_getEventTarget(){return o.CheckMobile.iOS()||(0,o.isMac)()&&r.touch?window.document.documentElement:this._handle}_dispatchEvent(t){switch(t.type){case"pointer-drag-start":this._onDragStart(t);break;case"pointer-drag-move":this._onDragMove(t);break;case"pointer-drag-stop":this._onDragStop(t)}return!t.defaultPrevented}_createEvent(t,e){return(0,s.assert)(null!==this._initial),new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:{backend:this,initial:this._initial,current:e}})}}},15828:(t,e,i)=>{"use strict";i.d(e,{contentHeight:()=>n,outerHeight:()=>o,outerWidth:()=>r,position:()=>h});var s=i(88537);function n(t){const{paddingTop:e,paddingBottom:i}=window.getComputedStyle(t);return[e,i].reduce((t,e)=>t-Number((e||"").replace("px","")),t.clientHeight)}function o(t,e=!1){const i=getComputedStyle(t),s=[i.height];return"border-box"!==i.boxSizing&&s.push(i.paddingTop,i.paddingBottom,i.borderTopWidth,i.borderBottomWidth),e&&s.push(i.marginTop,i.marginBottom),s.reduce((t,e)=>t+(parseFloat(e)||0),0)}function r(t,e=!1){const i=getComputedStyle(t),s=[i.width];return"border-box"!==i.boxSizing&&s.push(i.paddingLeft,i.paddingRight,i.borderLeftWidth,i.borderRightWidth),e&&s.push(i.marginLeft,i.marginRight),s.reduce((t,e)=>t+(parseFloat(e)||0),0)}function a(t){if(!t.getClientRects().length)return{top:0,left:0};const e=t.getBoundingClientRect(),i=(0,s.ensureNotNull)(t.ownerDocument.defaultView);return{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}}function h(t){const e=getComputedStyle(t);let i,s={top:0,left:0};if("fixed"===e.position)i=t.getBoundingClientRect();else{i=a(t);const e=t.ownerDocument;let n=t.offsetParent||e.documentElement;for(;n&&(n===e.body||n===e.documentElement)&&"static"===getComputedStyle(n).position;)n=n.parentElement;n&&n!==t&&1===n.nodeType&&(s=a(n),s.top+=parseFloat(getComputedStyle(n).borderTopWidth),s.left+=parseFloat(getComputedStyle(n).borderLeftWidth))}return{top:i.top-s.top-parseFloat(e.marginTop),left:i.left-s.left-parseFloat(e.marginLeft)}}},4135:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/7b48652cf0047a3b3b7bad1b1741ad9f.svg b/charting_library/bundles/7b48652cf0047a3b3b7bad1b1741ad9f.svg new file mode 100644 index 00000000..6038e050 --- /dev/null +++ b/charting_library/bundles/7b48652cf0047a3b3b7bad1b1741ad9f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7c1bfcd1b31737c6e9ec505673a6b3c7.jpeg b/charting_library/bundles/7c1bfcd1b31737c6e9ec505673a6b3c7.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..35a8750e2db6a6aca048ee31016e8c2a533921dc GIT binary patch literal 81225 zcmeFZ2Ut^S*C_fXz<{6>X@k_k0wR)8M=3!Fqv$9~5u_KD0Y*^iRZ3(=5l|RKK&3^L zq9_Q6^ddnr5`jTLL}>wIXhP_r-?h>C%76d=oO|#0o#&qCob%=(?CiI%clEXQUVXRP zhlGzFI&ui%a0ubxgI4?T%0~_ya4^?&jo#+`kOjgC<3&i|zTzjtfh&raTs(1;CxK3*_6EcR!(7IXP>9e`b* z`Eq>?yY@0WaRAy-;9A+`AFj{*!?nMUhYz&*18eW-;e}my!L|1JbH3PISix4j-s!?g zQ}}NQe=^7$oj`}tk8u5OEq{lndpbfIGYE10{`Y%l?jTfr8KH0A|NY(;3PM7^A@sc2 zU%&C&jiTZbl9G~wB2v;)5}U*%Bqgvxa9B?s9{z8>;g=9vFC_8*x~$e95k4Lg zKjOkEBD@HWO9Z!C2OGfsRsI424$sBS^9?T_)anZZ%Ht6?5AGW-9$wf3FT&wPxW3z^ z$Gy?ywC5!rQN`Ui?tSxPzSxN~FIspv@9_%1$v(iC5I0Si*z&`#TOAL^)nb#ZO#u_* z{+a`Z`P(GgBG@E2{5Lop&o?|=++2WCc#(}zFA5Wxoc=~kaku9s-XCw=%Wv7d<-`ky z_?|No2Taq$*%Pbp(RwcEEW#y%bkQn8eE4vbjVB`%1)r45Boi^gKE%fl(<)x-(&sit zBr#zgk{CkV#_$$h< zSWFl`Ftj2p8CEK6j8hC(QRd6$$42Dik0MjB&%Xu)Y%zSz0K>@`&f!%Er}P0Xu*oPg9)k`b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)!B1;dUDo+Vs}|z?oz^ptk4|m-=?V4FLGZr^MuBhr zfoPD?!GA30gD zij3-9#Qk@%ps^FFz!}4W1)zr-C_L^(3J@h4m6oBQsEfk4gmb^WBAn|9+c5?N!geeL z`p_&1sX4`4lH(zLAu)zS9lx-SB#*|Z_w4vra0CD~NJVro^4J4_>#CW7C4!{h z&g`ne{IdTbv5SzMgQ)(8&Jxo!g=W?X5lf z>OZ*}F~@ED*B`Q7!|!05H#Cy|Z|^tky`XP+zllMQ{*VMfeB64!yP%yLPB;R*=uk~j zqchdTp%8F6FwsFpqh>4Np#$J&K?Ntz7Z3oaA`ckgz@VrLgNN&XF%Sy=Oga~FsOO4+ zOvw8h9x5!GzPd_1)0C;f9z{_^W(__vS&>UP#M6(9pp z&jGfj_$EN=1w0K9=63!y2?8b \ No newline at end of file diff --git a/charting_library/bundles/7db71d6fd67fb9a029dbe9640728e788.svg b/charting_library/bundles/7db71d6fd67fb9a029dbe9640728e788.svg new file mode 100644 index 00000000..68f9a85b --- /dev/null +++ b/charting_library/bundles/7db71d6fd67fb9a029dbe9640728e788.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7e42b51d668e0b400a9cb506aec1fc00.svg b/charting_library/bundles/7e42b51d668e0b400a9cb506aec1fc00.svg new file mode 100644 index 00000000..9c539b46 --- /dev/null +++ b/charting_library/bundles/7e42b51d668e0b400a9cb506aec1fc00.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7eb7a15aebedb479210436be19e02f7f.svg b/charting_library/bundles/7eb7a15aebedb479210436be19e02f7f.svg new file mode 100644 index 00000000..87587adf --- /dev/null +++ b/charting_library/bundles/7eb7a15aebedb479210436be19e02f7f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7ef32ae8f080d2d6c6f0784e334e30e1.svg b/charting_library/bundles/7ef32ae8f080d2d6c6f0784e334e30e1.svg new file mode 100644 index 00000000..9f9b5dc6 --- /dev/null +++ b/charting_library/bundles/7ef32ae8f080d2d6c6f0784e334e30e1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7f2643ac80c1d0560f78aa22b6e8b501.svg b/charting_library/bundles/7f2643ac80c1d0560f78aa22b6e8b501.svg new file mode 100644 index 00000000..b5ae51ca --- /dev/null +++ b/charting_library/bundles/7f2643ac80c1d0560f78aa22b6e8b501.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7f429d95a310b5fadba4ee69da66b4eb.svg b/charting_library/bundles/7f429d95a310b5fadba4ee69da66b4eb.svg new file mode 100644 index 00000000..8eada474 --- /dev/null +++ b/charting_library/bundles/7f429d95a310b5fadba4ee69da66b4eb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7fb90d13db9ad6d2ddec01d48b241d85.svg b/charting_library/bundles/7fb90d13db9ad6d2ddec01d48b241d85.svg new file mode 100644 index 00000000..26ca9a4f --- /dev/null +++ b/charting_library/bundles/7fb90d13db9ad6d2ddec01d48b241d85.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/7fc3c4075dd1ab62905126ce5623a7b5.svg b/charting_library/bundles/7fc3c4075dd1ab62905126ce5623a7b5.svg new file mode 100644 index 00000000..867668ab --- /dev/null +++ b/charting_library/bundles/7fc3c4075dd1ab62905126ce5623a7b5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/802533204295f3c58b0072fdd6d46d1d.svg b/charting_library/bundles/802533204295f3c58b0072fdd6d46d1d.svg new file mode 100644 index 00000000..8a1b587a --- /dev/null +++ b/charting_library/bundles/802533204295f3c58b0072fdd6d46d1d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/1594.34c11d6cc8a67dec7867.css b/charting_library/bundles/8054.34c11d6cc8a67dec7867.css similarity index 100% rename from charting_library/bundles/1594.34c11d6cc8a67dec7867.css rename to charting_library/bundles/8054.34c11d6cc8a67dec7867.css diff --git a/charting_library/bundles/1594.34c11d6cc8a67dec7867.rtl.css b/charting_library/bundles/8054.34c11d6cc8a67dec7867.rtl.css similarity index 100% rename from charting_library/bundles/1594.34c11d6cc8a67dec7867.rtl.css rename to charting_library/bundles/8054.34c11d6cc8a67dec7867.rtl.css diff --git a/charting_library/bundles/8138.26729089e9f03458af35.css b/charting_library/bundles/8138.26729089e9f03458af35.css new file mode 100644 index 00000000..56e43548 --- /dev/null +++ b/charting_library/bundles/8138.26729089e9f03458af35.css @@ -0,0 +1 @@ +.code-w1JWVjk5{align-items:center;color:#131722;display:flex;height:100%;left:11px;line-height:normal;position:absolute}html.theme-dark .code-w1JWVjk5{color:#d1d4dc}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-1-w1JWVjk5{padding-left:12px}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-2-w1JWVjk5{padding-left:33px}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-3-w1JWVjk5{padding-left:42px}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-4-w1JWVjk5{padding-left:48px}.input-disable-mode-safari-w1JWVjk5{color:#5d606b}@media screen and (max-width:767px){.button-box-code-ykdczZxH{grid-column:1/3;grid-row:2/3;padding-bottom:16px}}.small-buttons-ykdczZxH{grid-gap:6px;display:grid;grid-template-columns:1fr}@media screen and (min-width:768px){.small-buttons-ykdczZxH{grid-template-columns:86px 86px}}.arrowHolder-ykdczZxH{position:absolute}.arrowHolder-ykdczZxH:after{border:0 solid #2a2e39;box-sizing:border-box;content:"";display:block;height:0;position:absolute;width:0}html.theme-dark .arrowHolder-ykdczZxH:after{border-color:#363a45}.arrowHolder--above-ykdczZxH:after,.arrowHolder--below-ykdczZxH:after{border-left:6px solid #0000;border-right:6px solid #0000;left:50%;margin-left:-6px}html.theme-dark .arrowHolder--above-ykdczZxH:after,html.theme-dark .arrowHolder--below-ykdczZxH:after{border-left-color:#0000;border-right-color:#0000}.arrowHolder--below-ykdczZxH:after{border-bottom-width:4px;bottom:100%}.arrowHolder--above-ykdczZxH:after{border-top-width:4px;top:100%}.arrowHolder--after-ykdczZxH:after,.arrowHolder--before-ykdczZxH:after{border-bottom:6px solid #0000;border-top:6px solid #0000;margin-top:-6px;top:50%}html.theme-dark .arrowHolder--after-ykdczZxH:after,html.theme-dark .arrowHolder--before-ykdczZxH:after{border-bottom-color:#0000;border-top-color:#0000}.arrowHolder--before-ykdczZxH:after{border-right-width:4px;right:100%}.arrowHolder--after-ykdczZxH:after{border-left-width:4px;left:100%}.arrowHolder-ykdczZxH.arrowHolder--above-ykdczZxH{bottom:0}.tooltip-ykdczZxH{background:#2a2e39;color:#f0f3fa}html.theme-dark .tooltip-ykdczZxH{background:#363a45}@media screen and (max-width:767px){.tv-dialog__verification-modal{width:480px}}@media screen and (max-width:479px){.tv-dialog__verification-modal{height:100%;padding:0;width:100%}}@media screen and (max-width:767px){.tv-dialog__verification-modal .tv-dialog{height:100%}}.content-wrap-template-SuBxKHcJ{box-sizing:border-box;color:#131722;padding:40px;position:relative;width:620px}html.theme-dark .content-wrap-template-SuBxKHcJ{color:#d1d4dc}@media screen and (max-width:767px){.content-wrap-template-SuBxKHcJ{height:100%;padding:20px;width:100%}}.title-SuBxKHcJ{font-size:36px;line-height:44px;padding-bottom:16px}@media screen and (max-width:767px){.title-SuBxKHcJ{font-size:28px;line-height:36px;padding-bottom:9px}}.description-SuBxKHcJ{font-size:16px;line-height:24px;padding-bottom:40px}.close-button-SuBxKHcJ{right:17px;top:17px;z-index:1}@media screen and (max-width:767px){.close-button-SuBxKHcJ{right:0;top:15px}}.phone-block-SuBxKHcJ{grid-gap:21px;align-items:center;display:grid;grid-template-columns:min-content auto 178px}@media screen and (max-width:767px){.phone-block-SuBxKHcJ{grid-gap:16px;grid-template-columns:min-content auto}}.email-block-SuBxKHcJ{grid-gap:21px;align-items:center;display:grid;grid-template-columns:341px 178px}@media screen and (max-width:767px){.email-block-SuBxKHcJ{grid-gap:16px;grid-template-columns:1fr}.email-block-SuBxKHcJ .input-SuBxKHcJ{grid-column:1/3}}.code-block-SuBxKHcJ{grid-gap:21px;align-items:flex-end;display:grid;grid-template-columns:341px 178px;padding-bottom:16px;padding-top:16px}@media screen and (max-width:767px){.code-block-SuBxKHcJ{grid-gap:16px;grid-template-columns:1fr 116px}}.timer-block-SuBxKHcJ{background-color:#e3effd;border-radius:6px;color:#131722;font-size:14px;line-height:21px;padding:12px}html.theme-dark .timer-block-SuBxKHcJ{background-color:#2a2e39;color:#9598a1}@media screen and (max-width:767px){.timer-block-SuBxKHcJ{font-size:12px;line-height:17px}}.spinner-wrap-SuBxKHcJ{position:relative}.hide-country-select-SuBxKHcJ{visibility:hidden}.okay-button-SuBxKHcJ{float:right;margin-bottom:40px}@media screen and (max-width:479px){.tv-dialog__verification-content{height:100%}}@media screen and (max-width:767px){.wrapper-content-SuBxKHcJ,.wrapper-content-successful-SuBxKHcJ{display:flex;flex-direction:column;height:100%;justify-content:center}.wrapper-content-successful-SuBxKHcJ{align-items:center;padding:40px 0;text-align:center}}@media screen and (max-width:479px){.wrapper-content-successful-SuBxKHcJ{padding:0}}.link-SuBxKHcJ{color:#2962ff;cursor:pointer}html.theme-dark .link-SuBxKHcJ{color:#2962ff}.link-SuBxKHcJ:active{color:#1e53e5}@media (any-hover:hover){.link-SuBxKHcJ:hover{color:#1e53e5}}html.theme-dark .link-SuBxKHcJ:active{color:#1e53e5}@media (any-hover:hover){html.theme-dark .link-SuBxKHcJ:hover{color:#1e53e5}}.labeled-input-SuBxKHcJ{align-items:center}@media screen and (max-width:1530px){.description-SuBxKHcJ{padding-bottom:32px}}@media screen and (max-width:767px){.description-SuBxKHcJ{padding-bottom:24px}} \ No newline at end of file diff --git a/charting_library/bundles/8138.26729089e9f03458af35.rtl.css b/charting_library/bundles/8138.26729089e9f03458af35.rtl.css new file mode 100644 index 00000000..1c8fab26 --- /dev/null +++ b/charting_library/bundles/8138.26729089e9f03458af35.rtl.css @@ -0,0 +1 @@ +.code-w1JWVjk5{align-items:center;color:#131722;display:flex;height:100%;line-height:normal;position:absolute;right:11px}html.theme-dark .code-w1JWVjk5{color:#d1d4dc}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-1-w1JWVjk5{padding-right:12px}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-2-w1JWVjk5{padding-right:33px}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-3-w1JWVjk5{padding-right:42px}.ui-kit-input-w1JWVjk5.input-w1JWVjk5.digit-4-w1JWVjk5{padding-right:48px}.input-disable-mode-safari-w1JWVjk5{color:#5d606b}@media screen and (max-width:767px){.button-box-code-ykdczZxH{grid-column:1/3;grid-row:2/3;padding-bottom:16px}}.small-buttons-ykdczZxH{grid-gap:6px;display:grid;grid-template-columns:1fr}@media screen and (min-width:768px){.small-buttons-ykdczZxH{grid-template-columns:86px 86px}}.arrowHolder-ykdczZxH{position:absolute}.arrowHolder-ykdczZxH:after{border:0 solid #2a2e39;box-sizing:border-box;content:"";display:block;height:0;position:absolute;width:0}html.theme-dark .arrowHolder-ykdczZxH:after{border-color:#363a45}.arrowHolder--above-ykdczZxH:after,.arrowHolder--below-ykdczZxH:after{border-left:6px solid #0000;border-right:6px solid #0000;left:50%;margin-left:-6px}html.theme-dark .arrowHolder--above-ykdczZxH:after,html.theme-dark .arrowHolder--below-ykdczZxH:after{border-left-color:#0000;border-right-color:#0000}.arrowHolder--below-ykdczZxH:after{border-bottom-width:4px;bottom:100%}.arrowHolder--above-ykdczZxH:after{border-top-width:4px;top:100%}.arrowHolder--after-ykdczZxH:after,.arrowHolder--before-ykdczZxH:after{border-bottom:6px solid #0000;border-top:6px solid #0000;margin-top:-6px;top:50%}html.theme-dark .arrowHolder--after-ykdczZxH:after,html.theme-dark .arrowHolder--before-ykdczZxH:after{border-bottom-color:#0000;border-top-color:#0000}.arrowHolder--before-ykdczZxH:after{border-right-width:4px;right:100%}.arrowHolder--after-ykdczZxH:after{border-left-width:4px;left:100%}.arrowHolder-ykdczZxH.arrowHolder--above-ykdczZxH{bottom:0}.tooltip-ykdczZxH{background:#2a2e39;color:#f0f3fa}html.theme-dark .tooltip-ykdczZxH{background:#363a45}@media screen and (max-width:767px){.tv-dialog__verification-modal{width:480px}}@media screen and (max-width:479px){.tv-dialog__verification-modal{height:100%;padding:0;width:100%}}@media screen and (max-width:767px){.tv-dialog__verification-modal .tv-dialog{height:100%}}.content-wrap-template-SuBxKHcJ{box-sizing:border-box;color:#131722;padding:40px;position:relative;width:620px}html.theme-dark .content-wrap-template-SuBxKHcJ{color:#d1d4dc}@media screen and (max-width:767px){.content-wrap-template-SuBxKHcJ{height:100%;padding:20px;width:100%}}.title-SuBxKHcJ{font-size:36px;line-height:44px;padding-bottom:16px}@media screen and (max-width:767px){.title-SuBxKHcJ{font-size:28px;line-height:36px;padding-bottom:9px}}.description-SuBxKHcJ{font-size:16px;line-height:24px;padding-bottom:40px}.close-button-SuBxKHcJ{left:17px;top:17px;z-index:1}@media screen and (max-width:767px){.close-button-SuBxKHcJ{left:0;top:15px}}.phone-block-SuBxKHcJ{grid-gap:21px;align-items:center;display:grid;grid-template-columns:min-content auto 178px}@media screen and (max-width:767px){.phone-block-SuBxKHcJ{grid-gap:16px;grid-template-columns:min-content auto}}.email-block-SuBxKHcJ{grid-gap:21px;align-items:center;display:grid;grid-template-columns:341px 178px}@media screen and (max-width:767px){.email-block-SuBxKHcJ{grid-gap:16px;grid-template-columns:1fr}.email-block-SuBxKHcJ .input-SuBxKHcJ{grid-column:1/3}}.code-block-SuBxKHcJ{grid-gap:21px;align-items:flex-end;display:grid;grid-template-columns:341px 178px;padding-bottom:16px;padding-top:16px}@media screen and (max-width:767px){.code-block-SuBxKHcJ{grid-gap:16px;grid-template-columns:1fr 116px}}.timer-block-SuBxKHcJ{background-color:#e3effd;border-radius:6px;color:#131722;font-size:14px;line-height:21px;padding:12px}html.theme-dark .timer-block-SuBxKHcJ{background-color:#2a2e39;color:#9598a1}@media screen and (max-width:767px){.timer-block-SuBxKHcJ{font-size:12px;line-height:17px}}.spinner-wrap-SuBxKHcJ{position:relative}.hide-country-select-SuBxKHcJ{visibility:hidden}.okay-button-SuBxKHcJ{float:left;margin-bottom:40px}@media screen and (max-width:479px){.tv-dialog__verification-content{height:100%}}@media screen and (max-width:767px){.wrapper-content-SuBxKHcJ,.wrapper-content-successful-SuBxKHcJ{display:flex;flex-direction:column;height:100%;justify-content:center}.wrapper-content-successful-SuBxKHcJ{align-items:center;padding:40px 0;text-align:center}}@media screen and (max-width:479px){.wrapper-content-successful-SuBxKHcJ{padding:0}}.link-SuBxKHcJ{color:#2962ff;cursor:pointer}html.theme-dark .link-SuBxKHcJ{color:#2962ff}.link-SuBxKHcJ:active{color:#1e53e5}@media (any-hover:hover){.link-SuBxKHcJ:hover{color:#1e53e5}}html.theme-dark .link-SuBxKHcJ:active{color:#1e53e5}@media (any-hover:hover){html.theme-dark .link-SuBxKHcJ:hover{color:#1e53e5}}.labeled-input-SuBxKHcJ{align-items:center}@media screen and (max-width:1530px){.description-SuBxKHcJ{padding-bottom:32px}}@media screen and (max-width:767px){.description-SuBxKHcJ{padding-bottom:24px}} \ No newline at end of file diff --git a/charting_library/bundles/8178.183edf2ef18efa241210.js b/charting_library/bundles/8178.183edf2ef18efa241210.js new file mode 100644 index 00000000..f79c5141 --- /dev/null +++ b/charting_library/bundles/8178.183edf2ef18efa241210.js @@ -0,0 +1,10 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8178],{6539:e=>{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},37593:e=>{e.exports={wrapper:"wrapper-5Xd5conM",input:"input-5Xd5conM",box:"box-5Xd5conM",icon:"icon-5Xd5conM",noOutline:"noOutline-5Xd5conM","intent-danger":"intent-danger-5Xd5conM",check:"check-5Xd5conM",dot:"dot-5Xd5conM"}},96670:e=>{e.exports={checkbox:"checkbox-GxG6nBa7",reverse:"reverse-GxG6nBa7",label:"label-GxG6nBa7",baseline:"baseline-GxG6nBa7"}},15994:e=>{e.exports={radio:"radio-vpA3AYsc",input:"input-vpA3AYsc",box:"box-vpA3AYsc",reverse:"reverse-vpA3AYsc",label:"label-vpA3AYsc",wrapper:"wrapper-vpA3AYsc",noOutline:"noOutline-vpA3AYsc"}},66875:e=>{e.exports={errors:"errors-Cv6NxnRZ",show:"show-Cv6NxnRZ",error:"error-Cv6NxnRZ"}},93314:e=>{e.exports={"error-icon":"error-icon-llFIA0b4","intent-danger":"intent-danger-llFIA0b4","intent-warning":"intent-warning-llFIA0b4"}},52965:e=>{e.exports={"static-messages":"static-messages-Yp0dNSLN",errors:"errors-Yp0dNSLN",warnings:"warnings-Yp0dNSLN",message:"message-Yp0dNSLN"}},16059:e=>{e.exports={menuWrap:"menuWrap-8MKeZifP",isMeasuring:"isMeasuring-8MKeZifP",scrollWrap:"scrollWrap-8MKeZifP",momentumBased:"momentumBased-8MKeZifP",menuBox:"menuBox-8MKeZifP",isHidden:"isHidden-8MKeZifP"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},97737:(e,t,n)=>{"use strict";n.d(t,{AnchorButton:()=>u,Button:()=>c});var r=n(59496),o=n(71036);function s(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function i(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}} +function a(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function l(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:l,...c}=e;return{...c,color:i(t),size:a(n),variant:s(r),stretch:o,startIcon:l}}function c(e){return r.createElement(o.SquareButton,{...l(e)})}function h(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:l,...c}=e;return{...c,color:i(t),size:a(n),variant:s(r),stretch:o,startIcon:l}}function u(e){return r.createElement(o.SquareAnchorButton,{...h(e)})}},71036:(e,t,n)=>{"use strict";n.d(t,{SquareAnchorButton:()=>f,SquareButton:()=>m});var r=n(59496),o=n(97754),s=n(95604),i=n(9745),a=n(6539),l=n.n(a);function c(e){const{color:t="brand",size:n="medium",variant:r="primary",stretch:i=!1,icon:a,startIcon:c,endIcon:h,iconOnly:u=!1,className:d,isGrouped:p,cellState:m,disablePositionAdjustment:g=!1}=e,f=function(e){let t="";return 0!==e&&(1&e&&(t=o(t,l()["no-corner-top-left"])),2&e&&(t=o(t,l()["no-corner-top-right"])),4&e&&(t=o(t,l()["no-corner-bottom-right"])),8&e&&(t=o(t,l()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(m));return o(d,l().button,l()["size-"+n],l()["color-"+t],l()["variant-"+r],i&&l().stretch,(a||c)&&l()["with-start-icon"],h&&l()["with-end-icon"],u&&l()["icon-only"],f,p&&l().grouped,p&&!g&&l()["adjust-position"],p&&m.isTop&&l()["first-row"],p&&m.isLeft&&l()["first-col"])}function h(e){const{size:t,startIcon:n,icon:o,iconOnly:s,children:a,endIcon:c}=e,h=null!=n?n:o;return r.createElement(r.Fragment,null,h&&"xsmall"!==t&&r.createElement(i.Icon,{icon:h,className:l()["start-icon-wrap"]}),a&&r.createElement("span",{className:l().content},a),c&&!s&&"xsmall"!==t&&r.createElement(i.Icon,{icon:c,className:l()["end-icon-wrap"]}))}var u=n(86332),d=n(90186);function p(e){const{className:t,color:n,variant:r,size:o,stretch:s,animated:i,icon:a,iconOnly:l,startIcon:c,endIcon:h,...u}=e;return{...u,...(0,d.filterDataProps)(e),...(0,d.filterAriaProps)(e)}}function m(e){const{reference:t,...n}=e,{isGrouped:o,cellState:s,disablePositionAdjustment:i}=(0,r.useContext)(u.ControlGroupContext),a=c({...n,isGrouped:o,cellState:s,disablePositionAdjustment:i});return r.createElement("button",{...p(n),className:a,ref:t},r.createElement(h,{...n}))}function g(e){const{className:t,color:n,variant:r,size:o,stretch:s,animated:i,icon:a,iconOnly:l,startIcon:c,endIcon:h,...u}=e;return{...u,...(0,d.filterDataProps)(e),...(0,d.filterAriaProps)(e)}}function f(e){const{reference:t}=e,{isGrouped:n,cellState:o,disablePositionAdjustment:s}=(0,r.useContext)(u.ControlGroupContext),i=c({...e,isGrouped:n,cellState:o,disablePositionAdjustment:s});return r.createElement("a",{...g(e),className:i,ref:t},r.createElement(h,{...e}))}},84413:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>c});var r=n(59496),o=n(97754),s=n(9745),i=n(49154),a=n(37593),l=n.n(a);function c(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 r.createElement("span",{className:n,title:e.title},r.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}),r.createElement("span",{className:t},r.createElement(s.Icon,{icon:i,className:l().icon})))}},15294:(e,t,n)=>{"use strict";n.d(t,{Checkbox:()=>c,GroupedCheckbox:()=>h});var r=n(59496),o=n(97754),s=n(54349),i=n(84413),a=n(96670),l=n.n(a);class c extends r.PureComponent{render(){const{inputClassName:e,labelClassName:t,...n}=this.props,s=o(this.props.className,l().checkbox,{[l().reverse]:Boolean(this.props.labelPositionReverse),[l().baseline]:Boolean(this.props.labelAlignBaseline)}),a=o(l().label,t,{[l().disabled]:this.props.disabled});let c=null;return this.props.label&&(c=r.createElement("span",{className:a,title:this.props.title},this.props.label)),r.createElement("label",{className:s},r.createElement(i.CheckboxInput,{...n,className:e}),c)}}c.defaultProps={value:"on"};const h=(0,s.makeSwitchGroupItem)(c)},45631:(e,t,n)=>{"use strict";n.d(t,{RadioButton:()=>c});var r,o=n(59496),s=n(97754),i=n(54349),a=n(15994),l=n.n(a);const c=(0,i.makeSwitchGroupItem)(((r=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const e=s(this.props.className,l().radio,{[l().reverse]:Boolean(this.props.labelPositionReverse)}),t=s(l().label,{[l().disabled]:this.props.disabled}),n=s(l().box,{[l().noOutline]:-1===this.props.tabIndex});let r=null;return this.props.label&&(r=o.createElement("span",{className:t},this.props.label)),o.createElement("label",{className:e},o.createElement("span",{className:l().wrapper,title:this.props.title},o.createElement("input",{id:this.props.id,tabIndex:this.props.tabIndex,autoFocus:this.props.autoFocus,role:this.props.role,className:l().input,type:"radio",name:this.props.name,checked:this.props.checked,disabled:this.props.disabled,value:this.props.value,onChange:this._onChange,ref:this.props.reference}),o.createElement("span",{className:n})),r)}}).defaultProps={value:"on"},r))},54349:(e,t,n)=>{"use strict";n.d(t,{SwitchGroup:()=>s,makeSwitchGroupItem:()=>i});var r=n(59496),o=n(19036);class s extends r.PureComponent{constructor(){super(...arguments),this._subscriptions=new Set,this._getName=()=>this.props.name,this._getValues=()=>this.props.values,this._getOnChange=()=>this.props.onChange,this._subscribe=e=>{this._subscriptions.add(e)},this._unsubscribe=e=>{this._subscriptions.delete(e)}}getChildContext(){return{switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}}render(){return this.props.children}componentDidUpdate(e){this._notify(this._getUpdates(this.props.values,e.values))}_notify(e){this._subscriptions.forEach(t=>t(e))}_getUpdates(e,t){ +return[...t,...e].filter(n=>t.includes(n)?!e.includes(n):e.includes(n))}}function i(e){var t;return(t=class extends r.PureComponent{constructor(){super(...arguments),this._onChange=e=>{this.context.switchGroupContext.getOnChange()(e)},this._onUpdate=e=>{e.includes(this.props.value)&&this.forceUpdate()}}componentDidMount(){this.context.switchGroupContext.subscribe(this._onUpdate)}render(){return r.createElement(e,{...this.props,name:this._getName(),onChange:this._onChange,checked:this._isChecked()})}componentWillUnmount(){this.context.switchGroupContext.unsubscribe(this._onUpdate)}_getName(){return this.context.switchGroupContext.getName()}_isChecked(){return this.context.switchGroupContext.getValues().includes(this.props.value)}}).contextTypes={switchGroupContext:o.any.isRequired},t}s.childContextTypes={switchGroupContext:o.any.isRequired}},1405:(e,t,n)=>{"use strict";n.d(t,{anchors:()=>r});n(59496);const r={bottom:{attachment:{horizontal:"left",vertical:"top"},targetAttachment:{horizontal:"left",vertical:"bottom"}},top:{attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},topRight:{attachment:{horizontal:"right",vertical:"bottom"},targetAttachment:{horizontal:"right",vertical:"top"}},bottomRight:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"bottom"}}}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>s,useAccurateHover:()=>i,useHover:()=>o});var r=n(59496);function o(){const[e,t]=(0,r.useState)(!1);return[e,{onMouseOver:function(e){s(e)&&t(!0)},onMouseOut:function(e){s(e)&&t(!1)}}]}function s(e){return!e.currentTarget.contains(e.relatedTarget)}function i(e){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const t=t=>{if(null===e.current)return;const r=e.current.contains(t.target);n(r)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},10959:(e,t,n)=>{"use strict";n.d(t,{ErrorIcon:()=>l});var r=n(59496),o=n(97754),s=n(9745),i=n(83546),a=n(93314);function l(e){const{intent:t="danger"}=e;return r.createElement(s.Icon,{icon:i,className:o(a["error-icon"],a["intent-"+t])})}},86623:(e,t,n)=>{"use strict";n.d(t,{FormInput:()=>c});var r=n(59496),o=n(31261),s=n(86629),i=n(78274),a=n(47201),l=n(66092);function c(e){var t;const{intent:n,onFocus:c,onBlur:h,onMouseOver:u,onMouseOut:d,containerReference:p=null,endSlot:m,hasErrors:g,hasWarnings:f,errors:v,warnings:b,alwaysShowAttachedErrors:w,iconHidden:C,messagesPosition:_,messagesAttachment:x,customErrorsAttachment:E,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:y,...k}=e,O=(0,s.useControlValidationLayout)({hasErrors:g,hasWarnings:f,errors:v,warnings:b,alwaysShowAttachedErrors:w,iconHidden:C,messagesPosition:_,messagesAttachment:x,customErrorsAttachment:E,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:y}),N=(0,a.createSafeMulticastEventHandler)(c,O.onFocus),A=(0,a.createSafeMulticastEventHandler)(h,O.onBlur),R=(0, +a.createSafeMulticastEventHandler)(u,O.onMouseOver),P=(0,a.createSafeMulticastEventHandler)(d,O.onMouseOut);return r.createElement(r.Fragment,null,r.createElement(o.InputControl,{...k,intent:null!==(t=O.intent)&&void 0!==t?t:n,onFocus:N,onBlur:A,onMouseOver:R,onMouseOut:P,containerReference:(0,l.useMergedRefs)([p,O.containerReference]),endSlot:r.createElement(r.Fragment,null,O.icon&&r.createElement(i.EndSlot,{icon:!0},O.icon),m)}),O.renderedErrors)}},86629:(e,t,n)=>{"use strict";n.d(t,{MessagesPosition:()=>v,useControlValidationLayout:()=>k});var r=n(59496),o=n(97754),s=n(29202),i=n(70412),a=n(78274),l=n(1405),c=n(86431),h=n(87995);var u=n(66875),d=n(62820);class p extends r.PureComponent{render(){const{children:e=[],show:t=!1,customErrorClass:n,disableRtlStyles:s}=this.props,i=o(u.errors,{[u.show]:t},n),a=e.map((e,t)=>r.createElement("div",{className:u.error,key:t},e));let l={position:"absolute",top:this.props.top,width:this.props.width,height:this.props.height,bottom:void 0!==this.props.bottom?this.props.bottom:"100%",right:void 0!==this.props.right?this.props.right:0,left:this.props.left,zIndex:this.props.zIndex,maxWidth:this.props.maxWidth};if((0,d.isRtl)()&&!s){const{left:e,right:t}=l;l={...l,left:t,right:e}}return r.createElement("div",{style:l,className:i},a)}}const m=(0,c.makeOverlapable)((g=p,(f=class extends r.PureComponent{constructor(e){super(e),this._getComponentInstance=e=>{this._instance=e},this._throttleCalcProps=()=>{requestAnimationFrame(()=>this.setState(this._calcProps(this.props)))},this.state=this._getStateFromProps()}componentDidMount(){this._instanceElem=h.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this.setState(this._calcProps(this.props))}componentDidUpdate(e){e.children===this.props.children&&e.top===this.props.top&&e.left===this.props.left&&e.width===this.props.width||this.setState(this._getStateFromProps(),()=>this.setState(this._calcProps(this.props)))}render(){return r.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0}},r.createElement(g,{...this.props,ref:this._getComponentInstance,top:this.state.top,bottom:void 0!==this.state.bottom?this.state.bottom:"auto",right:void 0!==this.state.right?this.state.right:"auto",left:this.state.left,width:this.state.width,maxWidth:this.state.maxWidth},this.props.children))}componentWillUnmount(){this._unsubsribe()}_getStateFromProps(){return{bottom:this.props.bottom,left:this.props.left,right:this.props.right,top:void 0!==this.props.top?this.props.top:-1e4,width:this.props.inheritWidthFromTarget?this.props.target&&this.props.target.getBoundingClientRect().width:this.props.width,maxWidth:this.props.inheritMaxWidthFromTarget&&this.props.target&&this.props.target.getBoundingClientRect().width}}_calcProps(e){if(e.target&&e.attachment&&e.targetAttachment){const t=this._calcTargetProps(e.target,e.attachment,e.targetAttachment);if(null===t)return{};const{width:n,inheritWidthFromTarget:r=!0,inheritMaxWidthFromTarget:o=!1}=this.props,s={width:r?t.width:n,maxWidth:o?t.width:void 0};switch(e.attachment.vertical){ +case"bottom":case"middle":s.top=t.y;break;default:s[e.attachment.vertical]=t.y}switch(e.attachment.horizontal){case"right":case"center":s.left=t.x;break;default:s[e.attachment.horizontal]=t.x}return s}return{}}_calcTargetProps(e,t,n){const r=e.getBoundingClientRect(),o=this._instanceElem.getBoundingClientRect(),s="parent"===this.props.root?this._getCoordsRelToParentEl(e,r):this._getCoordsRelToDocument(r);if(null===s)return null;const i=this._getDimensions(o),a=this._getDimensions(r).width;let l=0,c=0;switch(t.vertical){case"top":c=s[n.vertical];break;case"bottom":c=s[n.vertical]-i.height;break;case"middle":c=s[n.vertical]-i.height/2}switch(t.horizontal){case"left":l=s[n.horizontal];break;case"right":l=s[n.horizontal]-i.width;break;case"center":l=s[n.horizontal]-i.width/2}return"number"==typeof this.props.attachmentOffsetY&&(c+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(l+=this.props.attachmentOffsetX),{x:l,y:c,width:a}}_getCoordsRelToDocument(e){const t=pageYOffset,n=pageXOffset,r=e.top+t,o=e.bottom+t,s=e.left+n;return{top:r,bottom:o,left:s,right:e.right+n,middle:(r+e.height)/2,center:s+e.width/2}}_getCoordsRelToParentEl(e,t){const n=e.offsetParent;if(null===n)return null;const r=n.scrollTop,o=n.scrollLeft,s=e.offsetTop+r,i=e.offsetLeft+o,a=t.width+i;return{top:s,bottom:t.height+s,left:i,right:a,middle:(s+t.height)/2,center:(i+t.width)/2}}_getDimensions(e){return{height:e.height,width:e.width}}_subscribe(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))}_unsubsribe(){window.removeEventListener("scroll",this._throttleCalcProps,!0),window.removeEventListener("resize",this._throttleCalcProps)}}).displayName="Attachable Component",f));var g,f,v,b,w=n(10959),C=n(52965);!function(e){e[e.Attached=0]="Attached",e[e.Static=1]="Static",e[e.Hidden=2]="Hidden"}(v||(v={})),function(e){e.Top="top",e.Bottom="bottom"}(b||(b={}));const _={top:{attachment:l.anchors.topRight.attachment,targetAttachment:l.anchors.topRight.targetAttachment,attachmentOffsetY:-4},bottom:{attachment:l.anchors.bottomRight.attachment,targetAttachment:l.anchors.bottomRight.targetAttachment,attachmentOffsetY:4}};function x(e){const{isOpened:t,target:n,errorAttachment:o=b.Top,customErrorsAttachment:s,root:i="parent",inheritWidthFromTarget:a=!1,disableRtlStyles:l,children:c}=e,{attachment:h,targetAttachment:u,attachmentOffsetY:d}=null!=s?s:_[o];return r.createElement(m,{isOpened:t,target:n,root:i,inheritWidthFromTarget:a,attachment:h,targetAttachment:u,attachmentOffsetY:d,disableRtlStyles:l,inheritMaxWidthFromTarget:!0,show:!0},c)}function E(e,t){return Boolean(e)&&void 0!==t&&t.length>0}function M(e,t,n){return e===v.Attached&&E(t,n)}function S(e,t,n){return e===v.Static&&E(t,n)}function y(e,t,n){const{hasErrors:r,hasWarnings:o,alwaysShowAttachedErrors:s,iconHidden:i,errors:a,warnings:l,messagesPosition:c=v.Static}=e,h=M(c,r,a),u=M(c,o,l),d=h&&(t||n||Boolean(s)),p=!d&&u&&(t||n),m=S(c,r,a),g=!m&&S(c,o,l),f=!i&&Boolean(r) +;return{hasAttachedErrorMessages:h,hasAttachedWarningMessages:u,showAttachedErrorMessages:d,showAttachedWarningMessages:p,showStaticErrorMessages:m,showStaticWarningMessages:g,showErrorIcon:f,showWarningIcon:!i&&!f&&Boolean(o),intent:function(e,t){return Boolean(e)?"danger":Boolean(t)?"warning":void 0}(r,o)}}function k(e){var t,n;const{errors:l,warnings:c,messagesAttachment:h,customErrorsAttachment:u,messagesRoot:d,inheritMessagesWidthFromTarget:p,disableMessagesRtlStyles:m}=e,[g,f]=(0,s.useFocus)(),[v,b]=(0,i.useHover)(),_=(0,r.useRef)(null),{hasAttachedErrorMessages:E,hasAttachedWarningMessages:M,showAttachedErrorMessages:S,showAttachedWarningMessages:k,showStaticErrorMessages:O,showStaticWarningMessages:N,showErrorIcon:A,showWarningIcon:R,intent:P}=y(e,g,v),W=A||R?r.createElement(w.ErrorIcon,{intent:A?"danger":"warning"}):void 0,T=E?r.createElement(x,{errorAttachment:h,customErrorsAttachment:u,isOpened:S,target:_.current,root:d,inheritWidthFromTarget:p,disableRtlStyles:m,children:l}):void 0,F=M?r.createElement(x,{errorAttachment:h,isOpened:k,target:_.current,root:d,inheritWidthFromTarget:p,disableRtlStyles:m,children:c}):void 0,z=O?r.createElement(a.AfterSlot,{className:o(C["static-messages"],C.errors)},null==l?void 0:l.map((e,t)=>r.createElement("p",{key:t,className:C.message},e))):void 0,I=N?r.createElement(a.AfterSlot,{className:o(C["static-messages"],C.warnings)},null==c?void 0:c.map((e,t)=>r.createElement("p",{key:t,className:C.message},e))):void 0;return{icon:W,renderedErrors:null!==(n=null!==(t=null!=T?T:F)&&void 0!==t?t:z)&&void 0!==n?n:I,containerReference:_,intent:P,...f,...b}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>r});const r=n(59496).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>f,Menu:()=>v});var r=n(59496),o=n(97754),s=n.n(o),i=n(88537),a=n(64514),l=n(54475),c=n(50655),h=n(59064),u=n(88216),d=n(25760),p=n(14758),m=n(64706),g=n(16059);const f=g;class v extends r.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new u.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,r,o,s;if(this.state.isMeasureValid&&!t)return;const{position:l}=this.props,c=(0,i.ensureNotNull)(this._containerRef);let h=c.getBoundingClientRect();const u=document.documentElement.clientHeight,d=document.documentElement.clientWidth,p=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let m=u-0-p;const g=h.height>m;if(g){(0, +i.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",h=c.getBoundingClientRect()}const{width:f,height:v}=h,b="function"==typeof l?l(f,v,u):l,w=d-(null!==(r=b.overrideWidth)&&void 0!==r?r:f)-0,C=(0,a.clamp)(b.x,0,Math.max(0,w)),_=0+p,x=u-(null!==(o=b.overrideHeight)&&void 0!==o?o:v)-0;let E=(0,a.clamp)(b.y,_,Math.max(_,x));if(b.forbidCorrectYCoord&&E{this._restoreScrollPosition(),e&&e()})},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,i.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null}))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout(()=>{this._handleMeasure({forceRecalcPosition:!0})},80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame(()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null})))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=h.globalCloseDelegate}=this.props;e.subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize);const t=null!==this.context;this._hotkeys||t||(this._hotkeys=d.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this._handleGlobalClose()})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=h.globalCloseDelegate}=this.props;e.unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){ +const{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":o,children:i,minWidth:a,theme:h=g,className:u,maxHeight:d,onMouseOver:f,onMouseOut:v,onKeyDown:w,onFocus:C,onBlur:_}=this.props,{appearingMenuHeight:x,appearingMenuWidth:E,appearingPosition:M,isMeasureValid:S}=this.state;return r.createElement(m.MenuContext.Provider,{value:this},r.createElement(p.SubmenuHandler,null,r.createElement(c.SlotContext.Provider,{value:this._manager},r.createElement("div",{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":o,className:s()(u,h.menuWrap,!S&&h.isMeasuring),style:{height:x,left:M&&M.x,minWidth:a,position:"fixed",top:M&&M.y,width:E},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:l.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:f,onMouseOut:v,onKeyDown:w,onFocus:C,onBlur:_},r.createElement("div",{className:s()(h.scrollWrap,!this.props.noMomentumBasedScroll&&h.momentumBased),style:{overflowY:void 0!==x?"scroll":"auto",maxHeight:d},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},r.createElement(b,{className:h.menuBox},i)))),r.createElement(c.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}}function b(e){const t=(0,i.ensureNotNull)((0,r.useContext)(p.SubmenuContext)),n=r.useRef(null);return r.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(r=e.target,null===(o=n.current)||void 0===o?void 0:o.contains(r))))return;var r,o;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}v.contextType=p.SubmenuContext},16396:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>d});var r=n(59496),o=n(97754),s=n(59064),i=n(51768),a=n(90186),l=n(23576);const c=l;function h(e){const{reference:t,...n}=e,o={...n,ref:t};return r.createElement(e.href?"a":"div",o)}function u(e){e.stopPropagation()}function d(e){const{id:t,role:n,"aria-selected":c,className:d,title:p,labelRowClassName:m,labelClassName:g,shortcut:f,forceShowShortcuts:v,icon:b,isActive:w,isDisabled:C,isHovered:_,appearAsDisabled:x,label:E,link:M,showToolboxOnHover:S,target:y,rel:k,toolbox:O,reference:N,onMouseOut:A,onMouseOver:R,suppressToolboxClick:P=!0,theme:W=l}=e,T=(0,a.filterDataProps)(e),F=(0,r.useRef)(null);return r.createElement(h,{...T,id:t,role:n,"aria-selected":c,className:o(d,W.item,b&&W.withIcon,{[W.isActive]:w,[W.isDisabled]:C||x,[W.hovered]:_}),title:p,href:M,target:y,rel:k,reference:function(e){F.current=e,"function"==typeof N&&N(e);"object"==typeof N&&(N.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:r,onClickArg:o,trackEventObject:a}=e;if(C)return;a&&(0,i.trackEvent)(a.category,a.event,a.label);r&&r(o,t);n||(0,s.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:r}=e;n&&r&&(0,i.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:r}=e;if(1===t.button&&M&&n){ +let e=n.label;r&&(e+="_mouseWheelClick"),(0,i.trackEvent)(n.category,n.event,e)}},onMouseOver:R,onMouseOut:A},void 0!==b&&r.createElement("div",{className:W.icon,dangerouslySetInnerHTML:{__html:b}}),r.createElement("div",{className:o(W.labelRow,m)},r.createElement("div",{className:o(W.label,g)},E)),(void 0!==f||v)&&r.createElement("div",{className:W.shortcut},(z=f)&&z.split("+").join(" + ")),void 0!==O&&r.createElement("div",{onClick:P?u:void 0,className:o(W.toolbox,{[W.showOnHover]:S})},O));var z}},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>s});var r=n(59496),o=n(59064);const s=r.createContext(o.globalCloseDelegate)},50628:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>c});var r=n(59496),o=n(87995),s=n(65718),i=n(27317),a=n(29197),l=n(58095);function c(e){const{controller:t,children:n,isOpened:c,closeOnClickOutside:h=!0,doNotCloseOn:u,onClickOutside:d,onClose:p,...m}=e,g=(0,r.useContext)(a.CloseDelegateContext),f=(0,l.useOutsideEvent)({handler:function(e){d&&d(e);if(!h)return;if(u&&e.target instanceof Node){const t=o.findDOMNode(u);if(t instanceof Node&&t.contains(e.target))return}p()},mouseDown:!0,touchStart:!0});return c?r.createElement(s.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},r.createElement("span",{ref:f,style:{pointerEvents:"auto"}},r.createElement(i.Menu,{...m,onClose:p,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:g,ref:t},n))):null}},14758:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>o,SubmenuHandler:()=>s});var r=n(59496);const o=r.createContext(null);function s(e){const[t,n]=(0,r.useState)(null),s=(0,r.useRef)(null),i=(0,r.useRef)(new Map);return(0,r.useEffect)(()=>()=>{null!==s.current&&clearTimeout(s.current)},[]),r.createElement(o.Provider,{value:{current:t,setCurrent:function(e){null!==s.current&&(clearTimeout(s.current),s.current=null);null===t?n(e):s.current=setTimeout(()=>{s.current=null,n(e)},100)},registerSubmenu:function(e,t){return i.current.set(e,t),()=>{i.current.delete(e)}},isSubmenuNode:function(e){return Array.from(i.current.values()).some(t=>t(e))}}},e.children)}},49154:e=>{e.exports=''},83546:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/81f2326cf9c77d248b96f6bc5f80c13d.svg b/charting_library/bundles/81f2326cf9c77d248b96f6bc5f80c13d.svg new file mode 100644 index 00000000..f4885afa --- /dev/null +++ b/charting_library/bundles/81f2326cf9c77d248b96f6bc5f80c13d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8247.92c794a740a939962228.css b/charting_library/bundles/8247.92c794a740a939962228.css new file mode 100644 index 00000000..ea06511f --- /dev/null +++ b/charting_library/bundles/8247.92c794a740a939962228.css @@ -0,0 +1 @@ +.dialog-5BeaIUa1{background-color:#fff;border:1px solid #e0e3eb;box-sizing:border-box;display:none;flex-direction:column;height:100%;left:0;position:fixed;top:0;transform:translateZ(0);width:100%;will-change:transform}html.theme-dark .dialog-5BeaIUa1{background-color:#131722;border-color:#363a45}.dialog-5BeaIUa1.visible-5BeaIUa1{display:flex}.dialog-5BeaIUa1 .title-5BeaIUa1{border-bottom:1px solid #e0e3eb;flex:0 0 auto;padding:28px;position:relative}html.theme-dark .dialog-5BeaIUa1 .title-5BeaIUa1{border-bottom-color:#363a45}.dialog-5BeaIUa1 .title-5BeaIUa1 .text-5BeaIUa1{font-size:22px;font-weight:400;letter-spacing:1.1px;line-height:1;text-align:left}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1{display:inline-flex;position:absolute;right:25px;top:14px}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1{align-items:center;cursor:pointer;display:inline-flex;opacity:.5;padding:14px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{height:19px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{stroke:#434651;stroke-width:2px}html.theme-dark .dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{stroke:#d1d4dc}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1{align-items:flex-end;cursor:pointer;display:inline-flex;opacity:.5;padding:14px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{height:2px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{stroke:#434651;stroke-width:100%}html.theme-dark .dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{stroke:#d1d4dc}@media screen and (max-width:767px){.dialog-5BeaIUa1 .title-5BeaIUa1{padding:12px 20px}.dialog-5BeaIUa1 .title-5BeaIUa1 .text-5BeaIUa1{font-size:18px;font-weight:700}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1{right:0;top:0}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1{cursor:pointer;display:inline-flex;opacity:.5;padding:12px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{height:19px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1{cursor:pointer;display:inline-flex;opacity:.5;padding:12px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{height:2px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}}.dialog-5BeaIUa1 .handle-5BeaIUa1{align-items:center;bottom:0;display:flex;left:0;position:absolute;top:0;width:20px}.dialog-5BeaIUa1 .handle-5BeaIUa1 .control-5BeaIUa1{background-color:#9598a1;border-radius:3px;height:76px;margin-left:12px;width:4px}html.theme-dark .dialog-5BeaIUa1 .handle-5BeaIUa1 .control-5BeaIUa1{background-color:#787b86}@media (any-hover:hover){.dialog-5BeaIUa1 .handle-5BeaIUa1:hover{cursor:col-resize}.dialog-5BeaIUa1 .handle-5BeaIUa1:hover .control-5BeaIUa1{background-color:#787b86}html.theme-dark .dialog-5BeaIUa1 .handle-5BeaIUa1:hover .control-5BeaIUa1{background-color:#9598a1}}.dialog-5BeaIUa1 .handle-5BeaIUa1:active .control-5BeaIUa1{background-color:#5d606b}html.theme-dark .dialog-5BeaIUa1 .handle-5BeaIUa1:active .control-5BeaIUa1{background-color:#b2b5be}.dialog-5BeaIUa1 .wrap-5BeaIUa1{display:flex;flex-grow:1;overflow:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .dialog-5BeaIUa1 .wrap-5BeaIUa1{scrollbar-color:#363a45 #0000}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar{height:5px;width:5px}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-corner{display:none}.dialog-5BeaIUa1 .wrap-5BeaIUa1.touch-5BeaIUa1{-webkit-overflow-scrolling:touch}.dialog-5BeaIUa1.dragging-5BeaIUa1{-webkit-user-select:none;user-select:none} \ No newline at end of file diff --git a/charting_library/bundles/8247.92c794a740a939962228.rtl.css b/charting_library/bundles/8247.92c794a740a939962228.rtl.css new file mode 100644 index 00000000..7f17749d --- /dev/null +++ b/charting_library/bundles/8247.92c794a740a939962228.rtl.css @@ -0,0 +1 @@ +.dialog-5BeaIUa1{background-color:#fff;border:1px solid #e0e3eb;box-sizing:border-box;display:none;flex-direction:column;height:100%;position:fixed;right:0;top:0;transform:translateZ(0);width:100%;will-change:transform}html.theme-dark .dialog-5BeaIUa1{background-color:#131722;border-color:#363a45}.dialog-5BeaIUa1.visible-5BeaIUa1{display:flex}.dialog-5BeaIUa1 .title-5BeaIUa1{border-bottom:1px solid #e0e3eb;flex:0 0 auto;padding:28px;position:relative}html.theme-dark .dialog-5BeaIUa1 .title-5BeaIUa1{border-bottom-color:#363a45}.dialog-5BeaIUa1 .title-5BeaIUa1 .text-5BeaIUa1{font-size:22px;font-weight:400;letter-spacing:1.1px;line-height:1;text-align:right}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1{display:inline-flex;left:25px;position:absolute;top:14px}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1{align-items:center;cursor:pointer;display:inline-flex;opacity:.5;padding:14px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{height:19px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{stroke:#434651;stroke-width:2px}html.theme-dark .dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{stroke:#d1d4dc}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1{align-items:flex-end;cursor:pointer;display:inline-flex;opacity:.5;padding:14px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{height:2px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{stroke:#434651;stroke-width:100%}html.theme-dark .dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{stroke:#d1d4dc}@media screen and (max-width:767px){.dialog-5BeaIUa1 .title-5BeaIUa1{padding:12px 20px}.dialog-5BeaIUa1 .title-5BeaIUa1 .text-5BeaIUa1{font-size:18px;font-weight:700}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1{left:0;top:0}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1{cursor:pointer;display:inline-flex;opacity:.5;padding:12px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1 svg{height:19px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .close-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1{cursor:pointer;display:inline-flex;opacity:.5;padding:12px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1 svg{height:2px;width:19px}@media (any-hover:hover){.dialog-5BeaIUa1 .title-5BeaIUa1 .actions-5BeaIUa1 .minimize-5BeaIUa1:hover{opacity:1;transition-duration:.06s}}}.dialog-5BeaIUa1 .handle-5BeaIUa1{align-items:center;bottom:0;display:flex;left:0;position:absolute;top:0;width:20px}.dialog-5BeaIUa1 .handle-5BeaIUa1 .control-5BeaIUa1{background-color:#9598a1;border-radius:3px;height:76px;margin-right:12px;width:4px}html.theme-dark .dialog-5BeaIUa1 .handle-5BeaIUa1 .control-5BeaIUa1{background-color:#787b86}@media (any-hover:hover){.dialog-5BeaIUa1 .handle-5BeaIUa1:hover{cursor:col-resize}.dialog-5BeaIUa1 .handle-5BeaIUa1:hover .control-5BeaIUa1{background-color:#787b86}html.theme-dark .dialog-5BeaIUa1 .handle-5BeaIUa1:hover .control-5BeaIUa1{background-color:#9598a1}}.dialog-5BeaIUa1 .handle-5BeaIUa1:active .control-5BeaIUa1{background-color:#5d606b}html.theme-dark .dialog-5BeaIUa1 .handle-5BeaIUa1:active .control-5BeaIUa1{background-color:#b2b5be}.dialog-5BeaIUa1 .wrap-5BeaIUa1{display:flex;flex-grow:1;overflow:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .dialog-5BeaIUa1 .wrap-5BeaIUa1{scrollbar-color:#363a45 #0000}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar{height:5px;width:5px}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.dialog-5BeaIUa1 .wrap-5BeaIUa1::-webkit-scrollbar-corner{display:none}.dialog-5BeaIUa1 .wrap-5BeaIUa1.touch-5BeaIUa1{-webkit-overflow-scrolling:touch}.dialog-5BeaIUa1.dragging-5BeaIUa1{-webkit-user-select:none;user-select:none} \ No newline at end of file diff --git a/charting_library/bundles/832264ecc6d4da63cbcff71ea9186b3e.svg b/charting_library/bundles/832264ecc6d4da63cbcff71ea9186b3e.svg new file mode 100644 index 00000000..aca79f69 --- /dev/null +++ b/charting_library/bundles/832264ecc6d4da63cbcff71ea9186b3e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/833a14929e5d24379a09b7fab2f54002.svg b/charting_library/bundles/833a14929e5d24379a09b7fab2f54002.svg new file mode 100644 index 00000000..29d1e476 --- /dev/null +++ b/charting_library/bundles/833a14929e5d24379a09b7fab2f54002.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8367.7c0a1d12f9627a67aa36.css b/charting_library/bundles/8367.7c0a1d12f9627a67aa36.css new file mode 100644 index 00000000..e5343788 --- /dev/null +++ b/charting_library/bundles/8367.7c0a1d12f9627a67aa36.css @@ -0,0 +1 @@ +.dialog-VogZFLY8{align-content:center;align-items:center;background-color:#1e222d;display:flex;justify-content:center;position:relative}.dialog-VogZFLY8.border-VogZFLY8{border-radius:0}.closeButton-VogZFLY8{color:#d1d4dc;position:absolute;right:16px;top:16px}@media screen and (min-width:1280px){.closeButton-VogZFLY8{right:32px;top:32px}}@media screen and (min-device-width:375px) and (max-device-height:812px) and (orientation:landscape){.closeButton-VogZFLY8{right:8px;top:8px}}@media (any-hover:hover){.closeButton-VogZFLY8:hover{background:#2a2e39;color:#f0f3fa}}.closeButton-VogZFLY8:active{background:#1e222d;color:#fff}.container-VogZFLY8{align-content:center;align-items:center;display:flex;height:100vh;justify-content:center;position:relative;width:100vw}.container-VogZFLY8 .img-VogZFLY8{margin:0;max-height:80%;max-width:100%;position:absolute}@media screen and (min-width:1024px){.container-VogZFLY8 .img-VogZFLY8{border-radius:6px;max-height:72%;width:auto}}@media screen and (min-device-width:375px) and (max-device-height:812px) and (orientation:landscape){.container-VogZFLY8 .img-VogZFLY8{max-height:70%;width:auto}} \ No newline at end of file diff --git a/charting_library/bundles/8367.7c0a1d12f9627a67aa36.rtl.css b/charting_library/bundles/8367.7c0a1d12f9627a67aa36.rtl.css new file mode 100644 index 00000000..36ff9e56 --- /dev/null +++ b/charting_library/bundles/8367.7c0a1d12f9627a67aa36.rtl.css @@ -0,0 +1 @@ +.dialog-VogZFLY8{align-content:center;align-items:center;background-color:#1e222d;display:flex;justify-content:center;position:relative}.dialog-VogZFLY8.border-VogZFLY8{border-radius:0}.closeButton-VogZFLY8{color:#d1d4dc;left:16px;position:absolute;top:16px}@media screen and (min-width:1280px){.closeButton-VogZFLY8{left:32px;top:32px}}@media screen and (min-device-width:375px) and (max-device-height:812px) and (orientation:landscape){.closeButton-VogZFLY8{left:8px;top:8px}}@media (any-hover:hover){.closeButton-VogZFLY8:hover{background:#2a2e39;color:#f0f3fa}}.closeButton-VogZFLY8:active{background:#1e222d;color:#fff}.container-VogZFLY8{align-content:center;align-items:center;display:flex;height:100vh;justify-content:center;position:relative;width:100vw}.container-VogZFLY8 .img-VogZFLY8{margin:0;max-height:80%;max-width:100%;position:absolute}@media screen and (min-width:1024px){.container-VogZFLY8 .img-VogZFLY8{border-radius:6px;max-height:72%;width:auto}}@media screen and (min-device-width:375px) and (max-device-height:812px) and (orientation:landscape){.container-VogZFLY8 .img-VogZFLY8{max-height:70%;width:auto}} \ No newline at end of file diff --git a/charting_library/bundles/8386a0d291cb7eb9183b942d59c52947.svg b/charting_library/bundles/8386a0d291cb7eb9183b942d59c52947.svg new file mode 100644 index 00000000..596d100e --- /dev/null +++ b/charting_library/bundles/8386a0d291cb7eb9183b942d59c52947.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/842fcb191878b2812c044528ff533832.svg b/charting_library/bundles/842fcb191878b2812c044528ff533832.svg new file mode 100644 index 00000000..f1c0c015 --- /dev/null +++ b/charting_library/bundles/842fcb191878b2812c044528ff533832.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/85398f0b883442712a726600cec9c27d.svg b/charting_library/bundles/85398f0b883442712a726600cec9c27d.svg new file mode 100644 index 00000000..a67b9554 --- /dev/null +++ b/charting_library/bundles/85398f0b883442712a726600cec9c27d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/858bcfa8c8d9c8d8551fcb9a8cdc2499.svg b/charting_library/bundles/858bcfa8c8d9c8d8551fcb9a8cdc2499.svg new file mode 100644 index 00000000..aad2faf2 --- /dev/null +++ b/charting_library/bundles/858bcfa8c8d9c8d8551fcb9a8cdc2499.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/85f9662bfe09fc2b79d5d962fc3b6e1a.svg b/charting_library/bundles/85f9662bfe09fc2b79d5d962fc3b6e1a.svg new file mode 100644 index 00000000..fc655bb6 --- /dev/null +++ b/charting_library/bundles/85f9662bfe09fc2b79d5d962fc3b6e1a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8673.cddd661446f4cbe31273.js b/charting_library/bundles/8673.cddd661446f4cbe31273.js new file mode 100644 index 00000000..bcfea958 --- /dev/null +++ b/charting_library/bundles/8673.cddd661446f4cbe31273.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8673,6438],{59142:function(e,t){var n,r,o;r=[t],void 0===(o="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var t=n.getDimensions(n._node,e),r="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(t[e]!==n._lastDimensions[e])return n.props.onMeasure(t),r&&void 0!==n&&n.setState({dimensions:t}),n._lastDimensions=t,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new c.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){var t=(e.config,e.whitelist),n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=s.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin;return(0,l.default)(e,{margin:t})}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children +;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(i.Component);f.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=f,e.exports=t.default},function(e,t){e.exports=r},function(e,t,n){(function(t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if("production"!==t.env.NODE_ENV){var o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(5)((function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e&&e.$$typeof===o}),!0)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(){y&&p&&(y=!1,p.length?d=p.concat(d):v=-1,d.length&&u())}function u(){if(!y){var e=o(i);y=!0;for(var t=d.length;t;){for(p=d,d=[];++v1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.getBoundingClientRect(),o=void 0,i=void 0,u=void 0;return t.margin&&(u=(0,r.default)(getComputedStyle(e))),t.margin?(o=u.left+n.width+u.right,i=u.top+n.height+u.bottom):(o=n.width,i=n.height),{width:o,height:i,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(16));e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:n((e=e||{}).marginTop),right:n(e.marginRight),bottom:n(e.marginBottom),left:n(e.marginLeft)}};var n=function(e){return parseInt(e)||0};e.exports=t.default}]))}}]); \ No newline at end of file diff --git a/charting_library/bundles/869b5f01bc7105cc3788b584c5bc1bef.svg b/charting_library/bundles/869b5f01bc7105cc3788b584c5bc1bef.svg new file mode 100644 index 00000000..257eeba0 --- /dev/null +++ b/charting_library/bundles/869b5f01bc7105cc3788b584c5bc1bef.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/86e22a99d9d9ee81924e0b438e204dd7.svg b/charting_library/bundles/86e22a99d9d9ee81924e0b438e204dd7.svg new file mode 100644 index 00000000..43f65bdf --- /dev/null +++ b/charting_library/bundles/86e22a99d9d9ee81924e0b438e204dd7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8756.2b636aa87bb90a37e76d.css b/charting_library/bundles/8756.2b636aa87bb90a37e76d.css new file mode 100644 index 00000000..141e06da --- /dev/null +++ b/charting_library/bundles/8756.2b636aa87bb90a37e76d.css @@ -0,0 +1 @@ +.banner-EZ3DKk2H{align-items:center;background:#fff;display:flex;flex-flow:column-reverse nowrap;margin:0 -8px;padding:72px 20px}html.theme-dark .banner-EZ3DKk2H{background:#1e222d}@media screen and (min-width:480px){.banner-EZ3DKk2H{padding:72px 64px}}@media screen and (min-width:1020px){.banner-EZ3DKk2H{border-radius:6px;box-shadow:0 2px 4px #0003;flex-flow:row nowrap;margin-top:0;padding:64px}html.theme-dark .banner-EZ3DKk2H{box-shadow:0 2px 4px #0006}}.countdown-section-EZ3DKk2H{align-items:center;display:flex;flex-flow:column nowrap;flex-grow:1;margin-bottom:32px}@media screen and (min-width:1020px){.countdown-section-EZ3DKk2H{margin-bottom:0;padding-left:32px}}.main-section-EZ3DKk2H{align-items:center;display:flex;flex-flow:column nowrap}@media screen and (min-width:1020px){.main-section-EZ3DKk2H{align-items:flex-start}}.title-EZ3DKk2H{color:#131722;font-size:48px;font-style:normal;font-weight:600;line-height:56px;margin-bottom:16px;text-align:center}html.theme-dark .title-EZ3DKk2H{color:#d1d4dc}@media screen and (max-width:767px){.title-EZ3DKk2H{font-size:32px;font-style:normal;font-weight:600;line-height:40px}}@media screen and (min-width:1020px){.title-EZ3DKk2H{flex-flow:row nowrap;text-align:initial}}.main-text-EZ3DKk2H{color:#131722;font-size:24px;font-style:normal;font-weight:400;line-height:36px;margin-bottom:32px;text-align:center}html.theme-dark .main-text-EZ3DKk2H{color:#d1d4dc}@media screen and (min-width:1020px){.main-text-EZ3DKk2H{text-align:initial}}.image-EZ3DKk2H{height:120px;margin-bottom:40px;width:120px}@media screen and (min-width:1020px){.image-EZ3DKk2H{margin-bottom:24px}} \ No newline at end of file diff --git a/charting_library/bundles/8756.2b636aa87bb90a37e76d.rtl.css b/charting_library/bundles/8756.2b636aa87bb90a37e76d.rtl.css new file mode 100644 index 00000000..88327ce3 --- /dev/null +++ b/charting_library/bundles/8756.2b636aa87bb90a37e76d.rtl.css @@ -0,0 +1 @@ +.banner-EZ3DKk2H{align-items:center;background:#fff;display:flex;flex-flow:column-reverse nowrap;margin:0 -8px;padding:72px 20px}html.theme-dark .banner-EZ3DKk2H{background:#1e222d}@media screen and (min-width:480px){.banner-EZ3DKk2H{padding:72px 64px}}@media screen and (min-width:1020px){.banner-EZ3DKk2H{border-radius:6px;box-shadow:0 2px 4px #0003;flex-flow:row nowrap;margin-top:0;padding:64px}html.theme-dark .banner-EZ3DKk2H{box-shadow:0 2px 4px #0006}}.countdown-section-EZ3DKk2H{align-items:center;display:flex;flex-flow:column nowrap;flex-grow:1;margin-bottom:32px}@media screen and (min-width:1020px){.countdown-section-EZ3DKk2H{margin-bottom:0;padding-right:32px}}.main-section-EZ3DKk2H{align-items:center;display:flex;flex-flow:column nowrap}@media screen and (min-width:1020px){.main-section-EZ3DKk2H{align-items:flex-start}}.title-EZ3DKk2H{color:#131722;font-size:48px;font-style:normal;font-weight:600;line-height:56px;margin-bottom:16px;text-align:center}html.theme-dark .title-EZ3DKk2H{color:#d1d4dc}@media screen and (max-width:767px){.title-EZ3DKk2H{font-size:32px;font-style:normal;font-weight:600;line-height:40px}}@media screen and (min-width:1020px){.title-EZ3DKk2H{flex-flow:row nowrap;text-align:initial}}.main-text-EZ3DKk2H{color:#131722;font-size:24px;font-style:normal;font-weight:400;line-height:36px;margin-bottom:32px;text-align:center}html.theme-dark .main-text-EZ3DKk2H{color:#d1d4dc}@media screen and (min-width:1020px){.main-text-EZ3DKk2H{text-align:initial}}.image-EZ3DKk2H{height:120px;margin-bottom:40px;width:120px}@media screen and (min-width:1020px){.image-EZ3DKk2H{margin-bottom:24px}} \ No newline at end of file diff --git a/charting_library/bundles/883627aca446035b3986466acc71a69b.svg b/charting_library/bundles/883627aca446035b3986466acc71a69b.svg new file mode 100644 index 00000000..546481c9 --- /dev/null +++ b/charting_library/bundles/883627aca446035b3986466acc71a69b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8844.902c220eb319c5a7b057.css b/charting_library/bundles/8844.902c220eb319c5a7b057.css new file mode 100644 index 00000000..aecd400d --- /dev/null +++ b/charting_library/bundles/8844.902c220eb319c5a7b057.css @@ -0,0 +1 @@ +.close-button-WaM0Er9G{background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;margin:0;padding:8px}html.theme-dark .close-button-WaM0Er9G{color:#b2b5be}@media (any-hover:hover){.close-button-WaM0Er9G:hover{background:#f0f3fa}html.theme-dark .close-button-WaM0Er9G:hover{background:#2a2e39}}.close-button-WaM0Er9G:active{background:#e0e3eb}html.theme-dark .close-button-WaM0Er9G:active{background:#1e222d}.close-button-WaM0Er9G{outline:none;overflow:visible;position:absolute}.close-button-WaM0Er9G:focus{outline:none}.close-button-WaM0Er9G:focus-visible{outline:none}.close-button-WaM0Er9G:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.close-button-WaM0Er9G:focus:after{display:block}.close-button-WaM0Er9G:focus-visible:after{display:block}.close-button-WaM0Er9G:focus:not(:focus-visible):after{display:none}.close-button-WaM0Er9G:after{border-color:#2962ffcc;border-radius:8px}.close-icon-WaM0Er9G,.close-icon-WaM0Er9G svg{display:block;height:100%}.button-l-WaM0Er9G{height:23px;padding:8px;width:23px}.button-m-WaM0Er9G{height:17px;padding:8px;width:17px}.button-s-WaM0Er9G{height:13px;padding:8px;width:13px}.button-xs-WaM0Er9G{height:11px;padding:4px;width:11px}.button-xxs-WaM0Er9G{height:9px;padding:4px;width:9px} \ No newline at end of file diff --git a/charting_library/bundles/8844.902c220eb319c5a7b057.rtl.css b/charting_library/bundles/8844.902c220eb319c5a7b057.rtl.css new file mode 100644 index 00000000..998c6ee9 --- /dev/null +++ b/charting_library/bundles/8844.902c220eb319c5a7b057.rtl.css @@ -0,0 +1 @@ +.close-button-WaM0Er9G{background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;margin:0;padding:8px}html.theme-dark .close-button-WaM0Er9G{color:#b2b5be}@media (any-hover:hover){.close-button-WaM0Er9G:hover{background:#f0f3fa}html.theme-dark .close-button-WaM0Er9G:hover{background:#2a2e39}}.close-button-WaM0Er9G:active{background:#e0e3eb}html.theme-dark .close-button-WaM0Er9G:active{background:#1e222d}.close-button-WaM0Er9G{outline:none;overflow:visible;position:absolute}.close-button-WaM0Er9G:focus{outline:none}.close-button-WaM0Er9G:focus-visible{outline:none}.close-button-WaM0Er9G:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.close-button-WaM0Er9G:focus:after{display:block}.close-button-WaM0Er9G:focus-visible:after{display:block}.close-button-WaM0Er9G:focus:not(:focus-visible):after{display:none}.close-button-WaM0Er9G:after{border-color:#2962ffcc;border-radius:8px}.close-icon-WaM0Er9G,.close-icon-WaM0Er9G svg{display:block;height:100%}.button-l-WaM0Er9G{height:23px;padding:8px;width:23px}.button-m-WaM0Er9G{height:17px;padding:8px;width:17px}.button-s-WaM0Er9G{height:13px;padding:8px;width:13px}.button-xs-WaM0Er9G{height:11px;padding:4px;width:11px}.button-xxs-WaM0Er9G{height:9px;padding:4px;width:9px} \ No newline at end of file diff --git a/charting_library/bundles/885565ce0ebf9919066eb4196290c711.svg b/charting_library/bundles/885565ce0ebf9919066eb4196290c711.svg new file mode 100644 index 00000000..650c08df --- /dev/null +++ b/charting_library/bundles/885565ce0ebf9919066eb4196290c711.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8883.edd50cff73a3164330f4.js b/charting_library/bundles/8883.edd50cff73a3164330f4.js deleted file mode 100644 index c9319d8f..00000000 --- a/charting_library/bundles/8883.edd50cff73a3164330f4.js +++ /dev/null @@ -1,37 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8883,3016,1075],{90896:e=>{e.exports={wrapper:"wrapper-oPZWoMdB",focused:"focused-oPZWoMdB",readonly:"readonly-oPZWoMdB",disabled:"disabled-oPZWoMdB","size-small":"size-small-oPZWoMdB","size-medium":"size-medium-oPZWoMdB","size-large":"size-large-oPZWoMdB","font-size-small":"font-size-small-oPZWoMdB","font-size-medium":"font-size-medium-oPZWoMdB","font-size-large":"font-size-large-oPZWoMdB","border-none":"border-none-oPZWoMdB",shadow:"shadow-oPZWoMdB","border-thin":"border-thin-oPZWoMdB","border-thick":"border-thick-oPZWoMdB","intent-default":"intent-default-oPZWoMdB","intent-success":"intent-success-oPZWoMdB","intent-warning":"intent-warning-oPZWoMdB","intent-danger":"intent-danger-oPZWoMdB","intent-primary":"intent-primary-oPZWoMdB","corner-top-left":"corner-top-left-oPZWoMdB","corner-top-right":"corner-top-right-oPZWoMdB","corner-bottom-right":"corner-bottom-right-oPZWoMdB","corner-bottom-left":"corner-bottom-left-oPZWoMdB",childrenContainer:"childrenContainer-oPZWoMdB"}},58858:e=>{e.exports={defaultSelect:"defaultSelect-6eXd0Ihx"}},78781:e=>{e.exports={itemWrap:"itemWrap-YXml6gvK",item:"item-YXml6gvK",icon:"icon-YXml6gvK",selected:"selected-YXml6gvK",label:"label-YXml6gvK"}},5717:e=>{e.exports={lineEndSelect:"lineEndSelect-RMwVB5BV",right:"right-RMwVB5BV"}},73084:e=>{e.exports={lineStyleSelect:"lineStyleSelect-2BDVWQbf",multipleStyles:"multipleStyles-2BDVWQbf"}},218:e=>{e.exports={lineWidthSelect:"lineWidthSelect-TYbMx0kd",bar:"bar-TYbMx0kd",isActive:"isActive-TYbMx0kd",item:"item-TYbMx0kd"}},56994:e=>{e.exports={container:"container-Wq7zjnRZ",active:"active-Wq7zjnRZ",disabled:"disabled-Wq7zjnRZ",icon:"icon-Wq7zjnRZ"}},21818:e=>{e.exports={wrap:"wrap-CLB8ZlH6",disabled:"disabled-CLB8ZlH6"}},52465:e=>{e.exports={dropdown:"dropdown-KoV1659s",dropdownMenu:"dropdownMenu-KoV1659s",firstColorPicker:"firstColorPicker-KoV1659s"}},31650:e=>{e.exports={row:"row-kB7roDMw",wrap:"wrap-kB7roDMw",breakpointNormal:"breakpointNormal-kB7roDMw",breakpointMedium:"breakpointMedium-kB7roDMw",breakpointSmall:"breakpointSmall-kB7roDMw"}},51285:e=>{e.exports={coordinates:"coordinates-V0LzFOLU",input:"input-V0LzFOLU"}},9688:e=>{e.exports={wrapper:"wrapper-IjSbS0mB",checkbox:"checkbox-IjSbS0mB",colorSelect:"colorSelect-IjSbS0mB"}},29148:e=>{e.exports={withoutPadding:"withoutPadding-VwIbEpbX"}},67474:e=>{e.exports={input:"input-SCyh9tQM",control:"control-SCyh9tQM",item:"item-SCyh9tQM",cell:"cell-SCyh9tQM",fragmentCell:"fragmentCell-SCyh9tQM",withTitle:"withTitle-SCyh9tQM",title:"title-SCyh9tQM"}},55368:e=>{e.exports={line:"line-er8glV8W",control:"control-er8glV8W",valueInput:"valueInput-er8glV8W",valueUnit:"valueUnit-er8glV8W",input:"input-er8glV8W"}},80346:e=>{e.exports={unit:"unit-yU23iRoD",input:"input-yU23iRoD",normal:"normal-yU23iRoD",big:"big-yU23iRoD",dropdown:"dropdown-yU23iRoD",dropdownMenu:"dropdownMenu-yU23iRoD"}},89477:e=>{e.exports={dropdown:"dropdown-TevhCNe0",normal:"normal-TevhCNe0",big:"big-TevhCNe0",dropdownMenu:"dropdownMenu-TevhCNe0"}},94245:e=>{ -e.exports={range:"range-DTExo36Q",valueInput:"valueInput-DTExo36Q",rangeSlider:"rangeSlider-DTExo36Q",rangeSlider_mixed:"rangeSlider_mixed-DTExo36Q",input:"input-DTExo36Q"}},45449:e=>{e.exports={colorPicker:"colorPicker-zLqwzQsC",fontStyleButton:"fontStyleButton-zLqwzQsC",dropdown:"dropdown-zLqwzQsC",dropdownMenu:"dropdownMenu-zLqwzQsC"}},35048:e=>{e.exports={twoColors:"twoColors-0m0hhV3v",colorPicker:"colorPicker-0m0hhV3v"}},33126:e=>{e.exports={dropdown:"dropdown-8h1M1df3",menu:"menu-8h1M1df3"}},17683:e=>{e.exports={dialog:"dialog-Nh5Cqdeo",rounded:"rounded-Nh5Cqdeo",shadowed:"shadowed-Nh5Cqdeo",fullscreen:"fullscreen-Nh5Cqdeo",darker:"darker-Nh5Cqdeo",backdrop:"backdrop-Nh5Cqdeo"}},12114:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-hxnnZcZ6",dragging:"dragging-hxnnZcZ6",dialogAnimatedAppearance:"dialogAnimatedAppearance-hxnnZcZ6",dialogAnimation:"dialogAnimation-hxnnZcZ6",dialogTooltip:"dialogTooltip-hxnnZcZ6"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},99339:e=>{e.exports={wrapper:"wrapper-3LlhL6R6",emoji:"emoji-3LlhL6R6"}},83341:e=>{e.exports={list:"list-mYbRQuGD"}},70358:e=>{e.exports={wrapper:"wrapper-KYBibz0a"}},39897:e=>{e.exports={wrapper:"wrapper-EVXZqxr4",emojiItem:"emojiItem-EVXZqxr4"}},40681:e=>{e.exports={wrapper:"wrapper-wFgLbqCx",isActive:"isActive-wFgLbqCx"}},88436:e=>{e.exports={wrapper:"wrapper-z9lPbT43"}},16859:e=>{e.exports={wrapper:"wrapper-s7880WH7"}},95076:e=>{e.exports={desktopSize:"desktopSize-iVjStStf",drawer:"drawer-iVjStStf",menuBox:"menuBox-iVjStStf"}},16059:e=>{e.exports={menuWrap:"menuWrap-8MKeZifP",isMeasuring:"isMeasuring-8MKeZifP",scrollWrap:"scrollWrap-8MKeZifP",momentumBased:"momentumBased-8MKeZifP",menuBox:"menuBox-8MKeZifP",isHidden:"isHidden-8MKeZifP"}},65830:e=>{e.exports={range:"range-w7rMmNtQ",disabled:"disabled-w7rMmNtQ",rangeSlider:"rangeSlider-w7rMmNtQ",rangeSliderMiddleWrap:"rangeSliderMiddleWrap-w7rMmNtQ",rangeSliderMiddle:"rangeSliderMiddle-w7rMmNtQ",dragged:"dragged-w7rMmNtQ",pointer:"pointer-w7rMmNtQ",rangePointerWrap:"rangePointerWrap-w7rMmNtQ"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>i});var o=n(59496);const i=o.forwardRef((e,t)=>{const{icon:n="",...i}=e;return o.createElement("span",{...i,ref:t,dangerouslySetInnerHTML:{__html:n}})})},40233:(e,t,n)=>{"use strict";n.d(t,{VerticalAttachEdge:()=>o,HorizontalAttachEdge:()=>i,VerticalDropDirection:()=>r,HorizontalDropDirection:()=>a,getPopupPositioner:()=>c});var o,i,r,a,s=n(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(o||(o={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(r||(r={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight", -e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const l={verticalAttachEdge:o.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:r.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function c(e,t){return(n,c)=>{const d=(0,s.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:u=l.verticalAttachEdge,verticalDropDirection:p=l.verticalDropDirection,horizontalAttachEdge:h=l.horizontalAttachEdge,horizontalDropDirection:m=l.horizontalDropDirection,horizontalMargin:f=l.horizontalMargin,verticalMargin:g=l.verticalMargin,matchButtonAndListboxWidths:v=l.matchButtonAndListboxWidths}=t,y=u===o.Top?-1*g:g,b=h===i.Right?d.right:d.left,w=u===o.Top?d.top:d.bottom,_={x:b-(m===a.FromRightToLeft?n:0)+f,y:w-(p===r.FromBottomToTop?c:0)+y};return v&&(_.overrideWidth=d.width),_}}},32449:(e,t,n)=>{"use strict";function o(e,t,n){const o=new Map,i=void 0!==t?t[0]:e=>e,r=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,a={value:()=>i(e.value()),setValue:t=>{e.setValue(r(t))},subscribe:(t,n)=>{const i=e=>{n(a)};o.set(n,i),e.subscribe(t,i)},unsubscribe:(t,n)=>{const i=o.get(n);i&&(e.unsubscribe(t,i),o.delete(n))},unsubscribeAll:t=>{e.unsubscribeAll(t),o.clear()},destroy:()=>{null==n||n()}};return a}function i(e){const t=o(e);return t.destroy=()=>{e.destroy()},t}function r(e,t,n,i,r,a){const s=o(t,i,a),l=void 0!==i?void 0!==i[1]?i[1]:i[0]:e=>e;return s.setValue=null!=r?r:o=>e.setProperty(t,l(o),n),s}n.d(t,{makeProxyDefinitionProperty:()=>o,makeProxyDefinitionPropertyDestroyable:()=>i,convertToDefinitionProperty:()=>r})},50366:(e,t,n)=>{"use strict";function o(e,t){return{propType:"checkable",properties:e,...t}}function i(e,t,n){return{propType:"checkableSet",properties:e,childrenDefinitions:n,...t}}function r(e,t){return{propType:"color",properties:e,noAlpha:!1,...t}}n.d(t,{convertFromReadonlyWVToDefinitionProperty:()=>O,convertFromWVToDefinitionProperty:()=>H,convertToDefinitionProperty:()=>I.convertToDefinitionProperty,createCheckablePropertyDefinition:()=>o,createCheckableSetPropertyDefinition:()=>i,createColorPropertyDefinition:()=>r,createCoordinatesPropertyDefinition:()=>P,createEmojiPropertyDefinition:()=>k,createLeveledLinePropertyDefinition:()=>m,createLinePropertyDefinition:()=>u,createNumberPropertyDefinition:()=>f,createOptionsPropertyDefinition:()=>g,createPropertyDefinitionsGeneralGroup:()=>L,createPropertyDefinitionsLeveledLinesGroup:()=>A,createRangePropertyDefinition:()=>T,createSessionPropertyDefinition:()=>z,createStudyInputsPropertyDefinition:()=>B,createSymbolPropertyDefinition:()=>V,createTextPropertyDefinition:()=>D,createTransparencyPropertyDefinition:()=>N,createTwoColorsPropertyDefinition:()=>M,createTwoOptionsPropertyDefinition:()=>v,destroyDefinitions:()=>J,getColorDefinitionProperty:()=>X,getLockPriceScaleDefinitionProperty:()=>Z,getPriceScaleSelectionStrategyDefinitionProperty:()=>j,getScaleRatioDefinitionProperty:()=>U,getSymbolDefinitionProperty:()=>G,isPropertyDefinitionsGroup:()=>$});var a=n(49612),s=n(43891) -;const l=[s.LINESTYLE_SOLID,s.LINESTYLE_DOTTED,s.LINESTYLE_DASHED],c=[1,2,3,4],d=[a.LineEnd.Normal,a.LineEnd.Arrow];function u(e,t){const n={propType:"line",properties:e,...t};return void 0!==n.properties.style&&(n.styleValues=l),void 0!==n.properties.width&&(n.widthValues=c),void 0===n.properties.leftEnd&&void 0===n.properties.rightEnd||void 0!==n.endsValues||(n.endsValues=d),void 0!==n.properties.value&&void 0===n.valueType&&(n.valueType=1),n}const p=[s.LINESTYLE_SOLID,s.LINESTYLE_DOTTED,s.LINESTYLE_DASHED],h=[1,2,3,4];function m(e,t){const n={propType:"leveledLine",properties:e,...t};return void 0!==n.properties.style&&(n.styleValues=p),void 0!==n.properties.width&&(n.widthValues=h),n}function f(e,t){return{propType:"number",properties:e,type:1,...t}}function g(e,t){return{propType:"options",properties:e,...t}}function v(e,t){return{propType:"twoOptions",properties:e,...t}}var y=n(28353);const b=[{id:"bottom",value:"bottom",title:(0,y.t)("Top")},{id:"middle",value:"middle",title:(0,y.t)("Middle")},{id:"top",value:"top",title:(0,y.t)("Bottom")}],w=[{id:"left",value:"left",title:(0,y.t)("Left")},{id:"center",value:"center",title:(0,y.t)("Center")},{id:"right",value:"right",title:(0,y.t)("Right")}],_=[{id:"horizontal",value:"horizontal",title:(0,y.t)("Horizontal")},{id:"vertical",value:"vertical",title:(0,y.t)("Vertical")}],E=[10,11,12,14,16,20,24,28,32,40].map(e=>({title:String(e),value:e})),C=[1,2,3,4],S=(0,y.t)("Text alignment"),x=(0,y.t)("Text orientation");function D(e,t){const n={propType:"text",properties:e,...t,isEditable:t.isEditable||!1};return void 0!==n.properties.size&&void 0===n.sizeItems&&(n.sizeItems=E),void 0!==n.properties.alignmentVertical&&void 0===n.alignmentVerticalItems&&(n.alignmentVerticalItems=b),void 0!==n.properties.alignmentHorizontal&&void 0===n.alignmentHorizontalItems&&(n.alignmentHorizontalItems=w),(n.alignmentVerticalItems||n.alignmentHorizontalItems)&&void 0===n.alignmentTitle&&(n.alignmentTitle=S),void 0!==n.properties.orientation&&(void 0===n.orientationItems&&(n.orientationItems=_),void 0===n.orientationTitle&&(n.orientationTitle=x)),void 0!==n.properties.borderWidth&&void 0===n.borderWidthItems&&(n.borderWidthItems=C),n}function M(e,t){return{propType:"twoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}function P(e,t){return{propType:"coordinates",properties:e,...t}}function T(e,t){return{propType:"range",properties:e,...t}}function N(e,t){return{propType:"transparency",properties:e,...t}}function V(e,t){return{propType:"symbol",properties:e,...t}}function z(e,t){return{propType:"session",properties:e,...t}}function k(e,t){return{propType:"emoji",properties:e,...t}}function B(e,t){return{propType:"studyInputs",properties:e,...t}}var R=n(52714),W=n.n(R);function L(e,t,n,o){return{id:t,title:n,visible:o,groupType:"general",definitions:new(W())(e)}}function A(e,t,n){return{id:t,title:n,groupType:"leveledLines",definitions:new(W())(e)}}var I=n(32449);function F(e,t){const n=new Map,o=void 0!==t?t[0]:e=>e,i=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,r={value:()=>o(e.value()), -setValue:t=>{var n;null===(n=e.setValue)||void 0===n||n.call(e,i(t))},subscribe:(t,o)=>{const i=()=>{o(r)};let a=n.get(t);void 0===a?(a=new Map,a.set(o,i),n.set(t,a)):a.set(o,i),e.subscribe(i)},unsubscribe:(t,o)=>{const i=n.get(t);if(void 0!==i){const t=i.get(o);void 0!==t&&(e.unsubscribe(t),i.delete(o))}},unsubscribeAll:t=>{const o=n.get(t);void 0!==o&&(o.forEach((t,n)=>{e.unsubscribe(t)}),o.clear())}};return r}function H(e,t,n,o){const i=F(t,o),r=void 0!==o?void 0!==o[1]?o[1]:o[0]:e=>e;return i.setValue=o=>e.setWatchedValue(t,r(o),n),i}function O(e,t){return function(e,t,n){const o=new Map;return F({subscribe:(n,i)=>{const r=e=>n(t(e));o.set(n,r),e.subscribe(r,i)},unsubscribe:t=>{if(t){const n=o.get(t);n&&(e.unsubscribe(n),o.delete(t))}else o.clear(),e.unsubscribe()},value:()=>t(e.value())},n)}(e,e=>e,t)}function j(e,t){const n=(0,I.makeProxyDefinitionProperty)(t);return n.setValue=t=>e.setPriceScaleSelectionStrategy(t),n}function Z(e,t,n,o){const i=(0,I.makeProxyDefinitionProperty)(t);return i.setValue=t=>{const i={lockScale:t};e.setPriceScaleMode(i,n,o)},i}function U(e,t,n,o){const i=(0,I.makeProxyDefinitionProperty)(t,o);return i.setValue=o=>{e.setScaleRatioProperty(t,o,n)},i}var Y=n(24377),q=n(68906),Q=n(81465);function K(e,t){if((0,q.isHexColor)(e)){const n=(0,Y.parseRgb)(e);return(0,Y.rgbaToString)((0,Y.rgba)(n,(100-t)/100))}return e}function X(e,t,n,o,i){let r;if(null!==n){const e=(0,Q.combineProperty)(K,t,n);r=(0,I.makeProxyDefinitionPropertyDestroyable)(e)}else r=(0,I.makeProxyDefinitionProperty)(t,[()=>K(t.value(),0),e=>e]);return r.setValue=n=>{i&&e.beginUndoMacro(o),e.setProperty(t,n,o),i&&e.endUndoMacro()},r}function G(e,t,n,o,i,r){const a=[(s=n,l=t,e=>{const t=s(l);if(e===l.value()&&null!==t){const e=t.ticker||t.full_name;if(e)return e}return e}),e=>e];var s,l;const c=(0,I.convertToDefinitionProperty)(e,t,i,a);r&&(c.setValue=r);const d=new Map;c.subscribe=(e,n)=>{const o=e=>{n(c)};d.set(n,o),t.subscribe(e,o)},c.unsubscribe=(e,n)=>{const o=d.get(n);o&&(t.unsubscribe(e,o),d.delete(n))};const u={};return o.subscribe(u,()=>{d.forEach((e,t)=>{t(c)})}),c.destroy=()=>{o.unsubscribeAll(u),d.clear()},c}function $(e){return e.hasOwnProperty("groupType")}function J(e){e.forEach(e=>{if(e.hasOwnProperty("propType")){Object.keys(e.properties).forEach(t=>{const n=e.properties[t];void 0!==n&&void 0!==n.destroy&&n.destroy()})}else J(e.definitions.value())})}},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>c});const o=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),o=n.style;o.visibility="hidden",o.width="100px",o.msOverflowStyle="scrollbar",document.body.appendChild(n);const i=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const a=r.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=i-a}return e}})();function i(e,t,n){null!==e&&e.style.setProperty(t,n)}function r(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function a(e,t){return parseInt(r(e,t))}let s=0,l=!1;function c(e){ -const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++s){const e=r(t,"overflow"),s=a(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(i(n,"right",o()+"px"),t.style.paddingRight=s+o()+"px",l=!0),t.classList.add("i-no-scroll")}else if(!e&&s>0&&0==--s&&(t.classList.remove("i-no-scroll"),l)){i(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=o()),t.style.paddingRight=(e<0?0:e)+"px",l=!1}}},66045:(e,t,n)=>{"use strict";n.d(t,{FontSizeSelect:()=>c});var o=n(59496),i=n(97754),r=n.n(i),a=n(45685),s=n(90186),l=n(58858);function c(e){const{id:t,fontSize:n,fontSizes:i=[],className:c,disabled:d,fontSizeChange:u}=e;return o.createElement(a.Select,{id:t,disabled:d,className:r()(c,l.defaultSelect),menuClassName:l.defaultSelect,items:(p=i,p.map(e=>({value:e.value,content:e.title}))),value:n,onChange:u,...(0,s.filterDataProps)(e)});var p}},94697:(e,t,n)=>{"use strict";n.d(t,{IconDropdown:()=>c,DisplayItem:()=>d,DropItem:()=>u});var o=n(59496),i=n(97754),r=n.n(i),a=n(45685),s=n(9745),l=n(78781);function c(e){const{menuItemClassName:t,...n}=e;return o.createElement(a.Select,{...n,menuItemClassName:r()(t,l.itemWrap)})}function d(e){return o.createElement("div",{className:r()(l.item,l.selected,e.className)},o.createElement(s.Icon,{className:l.icon,icon:e.icon}))}function u(e){return o.createElement("div",{className:l.item},o.createElement(s.Icon,{className:r()(l.icon,e.iconClassName),icon:e.icon}),o.createElement("div",{className:l.label},e.label))}},53598:(e,t,n)=>{"use strict";n.d(t,{LineStyleSelect:()=>f});var o=n(28353),i=n(59496),r=n(97754),a=n.n(r),s=n(43891),l=n(94697),c=n(20618),d=n(19726),u=n(56326),p=n(50303),h=n(73084);const m=[{type:s.LINESTYLE_SOLID,icon:c,label:(0,o.t)("Line")},{type:s.LINESTYLE_DASHED,icon:d,label:(0,o.t)("Dashed line")},{type:s.LINESTYLE_DOTTED,icon:u,label:(0,o.t)("Dotted line")}];class f extends i.PureComponent{render(){const{id:e,lineStyle:t,className:n,lineStyleChange:o,disabled:r,additionalItems:s,allowedLineStyles:c}=this.props;let d=function(e){let t=[...m];return void 0!==e&&(t=t.filter(t=>e.includes(t.type))),t.map(e=>({value:e.type,selectedContent:i.createElement(l.DisplayItem,{icon:e.icon}),content:i.createElement(l.DropItem,{icon:e.icon,label:e.label})}))}(c);return s&&(d=[{readonly:!0,content:s},...d]),i.createElement(l.IconDropdown,{id:e,disabled:r,className:a()(h.lineStyleSelect,n),hideArrowButton:!0,items:d,value:t,onChange:o,"data-name":"line-style-select",addPlaceholderToItems:!1,placeholder:i.createElement(l.DisplayItem,{icon:p,className:h.multipleStyles})})}}},50890:(e,t,n)=>{"use strict";n.d(t,{LineWidthSelect:()=>d});var o=n(59496),i=n(97754),r=n(45685),a=n(218);const s=[1,2,3,4];function l(e){const{id:t,value:n,items:l=s,disabled:c,onChange:d}=e;return o.createElement(r.Select,{id:t,disabled:c,hideArrowButton:!0,className:a.lineWidthSelect,items:(u=l,u.map(e=>({value:e,selectedContent:p(e,!0),content:p(e)}))),value:n,onChange:d,"data-name":"line-width-select"});var u;function p(e,t){const r={borderTopWidth:e} -;return o.createElement("div",{className:a.item},o.createElement("div",{className:i(a.bar,{[a.isActive]:e===n&&!t}),style:r}," "))}}var c=n(45560);function d(e){const{property:t}=e,[n,i]=(0,c.useDefinitionProperty)({property:t});return o.createElement(l,{...e,value:n,onChange:i})}},66849:(e,t,n)=>{"use strict";n.d(t,{ControlCustomWidthContext:()=>i,ControlCustomHeightContext:()=>r});var o=n(59496);const i=o.createContext({}),r=o.createContext({})},90545:(e,t,n)=>{"use strict";n.d(t,{Section:()=>tn});var o=n(59496),i=n(50366),r=n(48897),a=n(45560),s=n(31356);function l(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r},title:l},offset:c}=e,[d]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[u]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0});return u?o.createElement(s.CommonSection,{id:t,offset:c,checked:n,title:l,disabled:e.disabled||d}):null}var c=n(97754),d=n.n(c),u=n(22064),p=n(53598);function h(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(p.LineStyleSelect,{...e,lineStyle:n,lineStyleChange:i})}var m=n(50890),f=n(60521),g=n(88537);function v(e){return"mixed"===e}function y(e,t,n){const[i,r]=(0,o.useState)(e),a=(0,o.useRef)(i);return(0,o.useEffect)(()=>{r(e)},[e,n]),[i,function(e){a.current=e,r(e)},function(){t(a.current)},function(){a.current=e,r(e)}]}var b=n(68335),w=n(92399),_=n(64514),E=n(95505),C=n(49483);function S(e){const{property:t,...n}=e,[i,r]=(0,o.useState)(performance.now()),[s,l]=(0,a.useDefinitionProperty)({property:t,handler:()=>r(performance.now())}),c=y(s,l,i);return o.createElement(x,{...n,valueHash:i,sharedBuffer:c})}function x(e){const{sharedBuffer:t,min:n,max:i,step:r,...a}=e,[s,l,c,d]=t,u=(0,o.useRef)(null),p=(0,o.useRef)(null),h={flushed:!1};return o.createElement(M,{...a,ref:p,onValueChange:function(e,t){l(e),"step"!==t||h.flushed||(c(),h.flushed=!0)},onKeyDown:function(e){if(e.defaultPrevented||h.flushed)return;switch((0,b.hashFromEvent)(e.nativeEvent)){case 27:d(),h.flushed=!0;break;case 13:e.preventDefault();const t=(0,g.ensureNotNull)(p.current).getClampedValue();null!==t&&(l(t),c(),h.flushed=!0)}},onBlur:function(e){const t=(0,g.ensureNotNull)(u.current);if(!t.contains(document.activeElement)&&!t.contains(e.relatedTarget)){const e=(0,g.ensureNotNull)(p.current).getClampedValue();null===e||h.flushed||(l(e),c(),h.flushed=!0)}},value:s,roundByStep:!1,containerReference:function(e){u.current=e},inputMode:C.CheckMobile.iOS()?void 0:"numeric",min:n,max:i,step:r,stretch:!1})}const D={mode:"float",min:-Number.MAX_VALUE,max:Number.MAX_VALUE,step:1,precision:0,inheritPrecisionFromStep:!0};class M extends o.PureComponent{constructor(e){super(e),this._selection=null,this._restoreSelection=!1,this._input=null,this._handleSelectionChange=()=>{this._restoreSelection||document.activeElement!==(0,g.ensureNotNull)(this._input)||this._saveSelection((0,g.ensureNotNull)(this._input))},this._handleInputReference=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(e)},this._onFocus=e=>{ -this._saveSelection((0,g.ensureNotNull)(this._input)),this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus(e)},this._onBlur=e=>{this._selection=null,this.setState({displayValue:N(this.props,this.props.value,V(this.props)),focused:!1}),this.props.onBlur&&this.props.onBlur(e)},this._onValueChange=e=>{const t=e.currentTarget,n=t.value,o=function(e,t,n){switch(n){case"integer":return P.test(t)?t:e;case"float":return t=t.replace(/,/g,"."),T.test(t)?t:e}}(this.state.displayValue,n,this.props.mode),i=k(o),r=this._checkValueBoundaries(i);var a,s;this.setState({displayValue:o}),o!==n&&(a=this.state.displayValue,s=(s=o).replace(/,/g,"."),(a=a.replace(/,/g,".")).includes(".")||!s.includes("."))?(this._restoreSelection=!0,this.forceUpdate()):this._saveSelection(t),r.value&&N(this.props,i)===o&&this.props.onValueChange(i,"input")},this._onValueByStepChange=e=>{const{roundByStep:t=!0,step:n=1}=this.props,o=k(this.state.displayValue);let i;if(isNaN(o)){const{defaultValue:e}=this.props;if(void 0===e)return;i=e}else{const r=new f.Big(o),a=new f.Big(n),s=r.mod(a);let l=r.plus(e*n);!s.eq(0)&&t&&(l=l.plus((e>0?0:1)*n).minus(s)),i=l.toNumber()}this._checkValueBoundaries(i).value&&(this.setState({displayValue:N(this.props,i,V(this.props))}),this.props.onValueChange(i,"step"))},this.state={value:B(this.props.value),displayValue:N(this.props,this.props.value,V(this.props)),focused:!1,valueHash:this.props.valueHash}}componentDidMount(){document.addEventListener("selectionchange",this._handleSelectionChange)}componentWillUnmount(){document.removeEventListener("selectionchange",this._handleSelectionChange)}componentDidUpdate(){const e=(0,g.ensureNotNull)(this._input),t=this._selection;if(null!==t&&this._restoreSelection&&document.activeElement===e){const{start:n,end:o,direction:i}=t;e.setSelectionRange(n,o,i)}this._restoreSelection=!1}render(){return o.createElement(w.NumberInputView,{type:"text",inputMode:this.props.inputMode,name:this.props.name,fontSizeStyle:"medium",value:this.state.displayValue,className:this.props.className,placeholder:this.props.placeholder,disabled:this.props.disabled,stretch:this.props.stretch,onValueChange:this._onValueChange,onValueByStepChange:this._onValueByStepChange,containerReference:this.props.containerReference,inputReference:this._handleInputReference,onClick:this.props.onClick,onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this.props.onKeyDown,autoSelectOnFocus:!0,"data-name":this.props["data-name"]})}getClampedValue(){const{min:e,max:t}=this.props,n=k(this.state.displayValue);return isNaN(n)?null:(0,_.clamp)(n,e,t)}static getDerivedStateFromProps(e,t){const{valueHash:n}=e,o=B(e.value);if(t.value!==o||t.valueHash!==n){return{value:o,valueHash:n,displayValue:N(e,o,t.focused&&t.valueHash===n?void 0:V(e))}}return null}_saveSelection(e){const{selectionStart:t,selectionEnd:n,selectionDirection:o}=e;null!==t&&null!==n&&null!==o&&(this._selection={start:t,end:n,direction:o})}_checkValueBoundaries(e){const{min:t,max:n}=this.props;return{value:function(e,t,n){const o=e>=t,i=e<=n;return{passMin:o, -passMax:i,pass:o&&i,clamped:(0,_.clamp)(e,t,n)}}(e,t,n).pass}}}M.defaultProps=D;const P=/^-?[0-9]*$/,T=/^(-?([0-9]+\.?[0-9]*)|(-?[0-9]*))$/;function N(e,t,n){return v(t=B(t))?"—":(null!==t&&void 0!==n&&(n=Math.max(z(t),n)),function(e,t){if(null===e)return"";return new E.NumericFormatter(t).format(e)}(t,n))}function V(e){let t=0;return e.inheritPrecisionFromStep&&e.step<=1&&(t=z(e.step)),Math.max(e.precision,t)||void 0}function z(e){const t=Math.trunc(e).toString();return(0,_.clamp)(E.NumericFormatter.formatNoE(e).length-t.length-1,0,15)}function k(e,t){return new E.NumericFormatter(t).parse(e)}function B(e){return"number"==typeof e&&Number.isFinite(e)||v(e)?e:null}var R=n(24377),W=n(58593),L=n(68906);function A(e){const{color:t,thickness:n,thicknessItems:i,noAlpha:r}=e,[s,l]=(0,a.useDefinitionProperty)({property:t}),[c,d]=(0,a.useDefinitionProperty)(n?{property:n}:{defaultValue:void 0});return o.createElement(W.ColorSelect,{...e,color:function(){if(!s)return null;if("mixed"===s)return"mixed";return(0,R.rgbToHexString)((0,R.parseRgb)(s))}(),onColorChange:function(e){const t=s&&"mixed"!==s?(0,L.alphaToTransparency)((0,R.parseRgba)(s)[3]):0;l((0,L.generateColor)(String(e),t,!0))},thickness:c,thicknessItems:i,onThicknessChange:d,opacity:r?void 0:s&&"mixed"!==s?(0,R.parseRgba)(s)[3]:void 0,onOpacityChange:r?void 0:function(e){l((0,L.generateColor)(s,(0,L.alphaToTransparency)(e),!0))}})}var I=n(28353),F=n(49612),H=n(94697),O=n(90186),j=n(23848),Z=n(56775),U=n(5717);const Y=[{type:F.LineEnd.Normal,icon:j,label:(0,I.t)("Normal")},{type:F.LineEnd.Arrow,icon:Z,label:(0,I.t)("Arrow")}];class q extends o.PureComponent{constructor(e){super(e),this._items=[],this._items=Y.map(t=>({value:t.type,selectedContent:o.createElement(H.DisplayItem,{icon:t.icon}),content:o.createElement(H.DropItem,{icon:t.icon,iconClassName:d()(e.isRight&&U.right),label:t.label})}))}render(){const{id:e,lineEnd:t,className:n,lineEndChange:i,isRight:r,disabled:a}=this.props;return o.createElement(H.IconDropdown,{id:e,disabled:a,className:d()(U.lineEndSelect,r&&U.right,n),items:this._items,value:t,onChange:i,hideArrowButton:!0,...(0,O.filterDataProps)(this.props)})}}function Q(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(q,{...e,lineEnd:n,lineEndChange:i})}var K=n(78260),X=n(31650);function G(e){const{children:t,className:n,breakPoint:i="Normal"}=e;return o.createElement(K.CellWrap,{className:c(X.wrap,n,X["breakpoint"+i])},o.Children.map(t,e=>o.isValidElement(e)?o.createElement("span",{key:null===e.key?void 0:e.key,className:X.row},e):e))}const $={1:"float",0:"integer"};var J=n(77975),ee=n(55368);function te(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r,leftEnd:l,rightEnd:d,value:p,extendLeft:f,extendRight:g},title:v,valueMin:y,valueMax:b,valueStep:w,valueUnit:_,extendLeftTitle:E,extendRightTitle:C},offset:x}=e,[D]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[M]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[P]=(0,a.useDefinitionProperty)({property:r, -defaultValue:!0}),T=(0,J.useWatchedValueReadonly)({watchedValue:y,defaultValue:void 0}),N=(0,J.useWatchedValueReadonly)({watchedValue:b,defaultValue:void 0}),V=(0,J.useWatchedValueReadonly)({watchedValue:w,defaultValue:void 0}),z=(0,J.useWatchedValueReadonly)({watchedValue:_,defaultValue:void 0}),k=e.disabled||!D;return P?o.createElement(o.Fragment,null,o.createElement(s.CommonSection,{id:t,offset:x,checked:n,title:v,disabled:e.disabled||M},o.createElement(G,{className:ee.line,breakPoint:"Small"},o.createElement(o.Fragment,null,function(){const{definition:{properties:{color:n,width:i},widthValues:r}}=e;if(n)return o.createElement("span",{className:ee.control},o.createElement(A,{color:n,thickness:i,disabled:k,thicknessItems:r}));return i&&o.createElement("span",{className:ee.control},o.createElement(m.LineWidthSelect,{id:(0,u.createDomId)(t,"line-width-select"),items:r,property:i,disabled:k}))}(),function(){const{definition:{properties:{style:n}}}=e;return n&&o.createElement("span",{className:ee.control},o.createElement(h,{id:(0,u.createDomId)(t,"line-style-select"),property:n,disabled:k}))}()),(l||d||p)&&o.createElement(o.Fragment,null,o.createElement(o.Fragment,null,l&&o.createElement(Q,{id:(0,u.createDomId)(t,"left-end-select"),"data-name":"left-end-select",className:ee.control,property:l,disabled:k}),d&&o.createElement(Q,{id:(0,u.createDomId)(t,"right-end-select"),"data-name":"right-end-select",className:ee.control,property:d,disabled:k,isRight:!0})),function(){const{definition:{valueType:t}}=e;return p&&o.createElement("span",{className:c(ee.valueInput,ee.control)},o.createElement(S,{className:ee.input,property:p,min:T,max:N,step:V,disabled:k,mode:void 0!==t?$[t]:void 0,name:"line-value-input"}),o.createElement("span",{className:ee.valueUnit},z))}()))),f&&o.createElement(s.CommonSection,{id:t+"ExtendLeft",offset:x,checked:f,title:E,disabled:e.disabled||M}),g&&o.createElement(s.CommonSection,{id:t+"ExtendRight",offset:x,checked:g,title:C,disabled:e.disabled||M})):null}var ne=n(49642),oe=n(45685),ie=n(36947);function re(e){const{property:t,options:n,...i}=e,[r,s]=(0,a.useDefinitionProperty)({property:t}),l=(0,ie.useForceUpdate)();return(0,o.useEffect)(()=>{const e=()=>l();return Array.isArray(n)||n.subscribe(e),()=>{Array.isArray(n)||n.unsubscribe(e)}},[]),o.createElement(oe.Select,{...i,onChange:s,value:r,items:(Array.isArray(n)?n:n.value()).map(e=>e.readonly?{content:e.title,readonly:e.readonly}:{content:e.title,value:e.value,disabled:e.disabled,id:e.id})})}var ae=n(52465);const se=[{title:(0,I.t)("Solid"),value:ne.ColorType.Solid},{title:(0,I.t)("Gradient"),value:ne.ColorType.Gradient}];function le(e){const{id:t,disabled:n,noAlpha:i,properties:r}=e,{color:s,gradientColor1:l,gradientColor2:c,type:d}=r,[p]=(0,a.useDefinitionProperty)({property:d,defaultValue:ne.ColorType.Solid});return o.createElement(G,null,o.createElement(re,{id:(0,u.createDomId)(t,"background-type-options-dropdown"),"data-name":"background-type-options-dropdown",className:ae.dropdown,menuClassName:ae.dropdownMenu,disabled:n,property:d, -options:se}),p===ne.ColorType.Solid?o.createElement(A,{color:s,disabled:n,noAlpha:i}):o.createElement(o.Fragment,null,o.createElement(A,{className:ae.firstColorPicker,color:l,disabled:n,noAlpha:i}),o.createElement(A,{color:c,disabled:n,noAlpha:i})))}function ce(e){const{definition:{id:t,properties:n,title:i,noAlpha:r},offset:l}=e,{color:c,checked:d,disabled:u,visible:p}=n,[h]=(0,a.useDefinitionProperty)({property:d,defaultValue:!0}),[m]=(0,a.useDefinitionProperty)({property:u,defaultValue:!1}),[f]=(0,a.useDefinitionProperty)({property:p,defaultValue:!0}),g=e.disabled||!h;return f?o.createElement(s.CommonSection,{id:t,offset:l,checked:d,title:i,disabled:e.disabled||m},o.createElement(K.CellWrap,null,n.hasOwnProperty("type")?o.createElement(le,{id:t,properties:n,disabled:g,noAlpha:r}):o.createElement(A,{color:c,disabled:g,noAlpha:r}))):null}var de=n(54368),ue=n(45112),pe=n(21818);function he(e){const{value:t,disabled:n,onChange:i,className:r}=e;return o.createElement("div",{className:c(pe.wrap,r,{[pe.disabled]:n})},o.createElement(de.Opacity,{hideInput:!0,color:ue.colorsPalette["color-tv-blue-500"],opacity:1-t/100,onChange:function(e){n||i(100-100*e)}}))}function me(e){const{property:t,...n}=e,[i,r]=(0,a.useDefinitionProperty)({property:t});return o.createElement(he,{...n,value:i,onChange:r})}function fe(e){const{definition:{id:t,properties:{transparency:n,checked:i,disabled:r,visible:l},title:c},offset:d}=e,[u]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),[p]=(0,a.useDefinitionProperty)({property:r,defaultValue:!1}),[h]=(0,a.useDefinitionProperty)({property:l,defaultValue:!0}),m=e.disabled||!u;return h?o.createElement(s.CommonSection,{id:t,offset:d,checked:i,title:c,disabled:e.disabled||p},o.createElement(K.CellWrap,null,o.createElement(me,{property:n,disabled:m}))):null}var ge=n(35048);function ve(e){const{definition:{id:t,properties:{color1:n,color2:i,checked:r,disabled:l,visible:c},title:d,noAlpha1:u,noAlpha2:p},offset:h}=e,[m]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[f]=(0,a.useDefinitionProperty)({property:l,defaultValue:!1}),[g]=(0,a.useDefinitionProperty)({property:c,defaultValue:!0}),v=e.disabled||!m||f;return g?o.createElement(s.CommonSection,{id:t,offset:h,checked:r,title:d,disabled:e.disabled||f},o.createElement(K.CellWrap,{className:ge.twoColors},y(n,u),y(i,p))):null;function y(e,t){return o.createElement("span",{className:ge.colorPicker},o.createElement(A,{color:e,disabled:v,noAlpha:t}))}}var ye=n(66849),be=n(80346);function we(e){const{definition:{id:t,properties:{checked:n,value:i,unitOptionsValue:r,disabled:l,visible:d},min:p,max:h,step:m,title:f,unit:v,unitOptions:y,type:b},offset:w}=e,[_]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[E]=(0,a.useDefinitionProperty)({property:l,defaultValue:!1}),[C]=(0,a.useDefinitionProperty)({property:d,defaultValue:!0}),x=(0,J.useWatchedValueReadonly)({watchedValue:p,defaultValue:void 0}),D=(0,J.useWatchedValueReadonly)({watchedValue:h,defaultValue:void 0}),M=(0,J.useWatchedValueReadonly)({watchedValue:m, -defaultValue:void 0}),P=(0,J.useWatchedValueReadonly)({watchedValue:v,defaultValue:void 0}),T=(0,o.useContext)(ye.ControlCustomWidthContext),N=e.disabled||!_;return C?o.createElement(s.CommonSection,{id:t,offset:w,checked:n,title:f,disabled:e.disabled||E},o.createElement(K.CellWrap,null,o.createElement(G,null,o.createElement(S,{className:c(be.input,T[t]&&be[T[t]]),property:i,min:x,max:D,step:M,disabled:N,mode:$[b],name:"number-input","data-name":t}),r&&o.createElement(re,{id:(0,u.createDomId)(t,"unit-options-dropdown"),"data-name":"unit-options-dropdown",className:be.dropdown,menuClassName:be.dropdownMenu,disabled:N,property:r,options:(0,g.ensureDefined)(y)})),o.createElement("span",{className:be.unit},P))):null}function _e(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r},childrenDefinitions:l,title:c},offset:d}=e,[u]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[p]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[h]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),m=e.disabled||!u;return h?o.createElement(o.Fragment,null,o.createElement(s.CommonSection,{id:t,offset:d,checked:n,title:c,disabled:e.disabled||p}),l.map(e=>o.createElement(tn,{key:e.id,disabled:m,definition:e,offset:!0}))):null}var Ee=n(66045);function Ce(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(Ee.FontSizeSelect,{...e,fontSize:n,fontSizeChange:i,"data-name":"font-size-select"})}var Se=n(9745),xe=n(56994);function De(e){const{className:t,checked:n,icon:i,disabled:r,onClick:a}=e;return o.createElement("div",{className:d()(t,xe.container,n&&!r&&xe.active,r&&xe.disabled),onClick:r?void 0:a,"data-role":"button",...(0,O.filterDataProps)(e)},o.createElement(Se.Icon,{className:xe.icon,icon:i}))}function Me(e){const{icon:t,className:n,property:i,disabled:r}=e,[s,l]=(0,a.useDefinitionProperty)({property:i});return o.createElement(De,{className:n,icon:t,checked:s,onClick:function(){l(!s)},disabled:r,...(0,O.filterDataProps)(e)})}var Pe=n(67029),Te=n(35868),Ne=n(2568);function Ve(e){const{property:t,...n}=e,[i,r]=(0,a.useDefinitionProperty)({property:t}),s=(0,o.useCallback)(e=>r(e.target.value),[r]);return o.createElement(Ne.Textarea,{...n,value:i,onChange:s})}var ze=n(86508),ke=n(27603),Be=n(45449);const Re=e=>({content:e.title,title:e.title,value:e.value,id:e.id}),We=e=>({content:e.title,title:e.title,value:e.value,id:e.id});function Le(e){const{definition:{id:t,properties:{color:n,size:i,checked:r,disabled:l,bold:c,italic:d,text:p,alignmentHorizontal:h,alignmentVertical:m,orientation:f,backgroundVisible:g,backgroundColor:v,borderVisible:y,borderColor:b,borderWidth:w,wrap:_},title:E,sizeItems:C,alignmentTitle:S,alignmentHorizontalItems:x,alignmentVerticalItems:D,orientationTitle:M,orientationItems:P,backgroundTitle:T,borderTitle:N,borderWidthItems:V,wrapTitle:z},offset:k}=e,B=(0,o.useContext)(ye.ControlCustomHeightContext),[R]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[W]=(0,a.useDefinitionProperty)({property:l,defaultValue:!1}),[L,I]=(0, -a.useDefinitionProperty)({property:m,defaultValue:void 0}),[F,H]=(0,a.useDefinitionProperty)({property:f,defaultValue:"horizontal"}),[O,j]=(0,a.useDefinitionProperty)({property:h,defaultValue:void 0}),[Z]=(0,a.useDefinitionProperty)({property:g,defaultValue:!1}),[U]=(0,a.useDefinitionProperty)({property:y,defaultValue:!1}),Y=e.disabled||!R;return o.createElement(o.Fragment,null,function(){if(E)return o.createElement(s.CommonSection,{id:t,offset:k,checked:r,title:E,disabled:e.disabled||W},o.createElement(G,{breakPoint:"Small"},X(),$()));return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",colSpan:2,offset:k,"data-section-name":t},X(),$()))}(),p&&o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",colSpan:2,offset:k,"data-section-name":t},o.createElement(Ve,{className:Pe.InputClasses.FontSizeMedium,rows:(q=B[t],"big"===q?9:5),stretch:!0,property:p,disabled:Y,onFocus:function(e){e.target.select()},name:"text-input"}))),(h||m)&&o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:k,"data-section-name":t},o.createElement(K.CellWrap,null,S)),o.createElement(Te.PropertyTable.Cell,{placement:"last",verticalAlign:"adaptive","data-section-name":t},o.createElement(G,{breakPoint:"Small"},void 0!==L&&void 0!==D&&o.createElement(oe.Select,{id:(0,u.createDomId)(t,"alignment-vertical-select"),"data-name":"alignment-vertical-select",className:Be.dropdown,menuClassName:Be.dropdownMenu,disabled:Y,value:L,items:D.map(Re),onChange:I}),void 0!==O&&void 0!==x&&o.createElement(oe.Select,{id:(0,u.createDomId)(t,"alignment-horizontal-select"),"data-name":"alignment-horizontal-select",className:Be.dropdown,menuClassName:Be.dropdownMenu,disabled:Y,value:O,items:x.map(Re),onChange:j})))),void 0!==f&&void 0!==P&&o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:k,"data-section-name":t},o.createElement(K.CellWrap,null,M)),o.createElement(Te.PropertyTable.Cell,{placement:"last",verticalAlign:"adaptive","data-section-name":t},o.createElement(G,{breakPoint:"Small"},o.createElement(oe.Select,{id:(0,u.createDomId)(t,"orientation-select"),"data-name":"orientation-select",className:Be.dropdown,menuClassName:Be.dropdownMenu,disabled:Y,value:F,items:P.map(We),onChange:H})))),J(T,g,v,!!g&&!Z),J(N,y,b,!!y&&!U,w,V),_&&o.createElement(s.CommonSection,{id:t+"Wrap",offset:k,checked:_,title:z,disabled:e.disabled||W}));var q;function Q(e,t,n){return e?o.createElement(Me,{className:Be.fontStyleButton,icon:t,property:e,disabled:Y,"data-name":n}):null}function X(){return o.createElement(o.Fragment,null,n&&o.createElement("div",{className:Be.colorPicker},o.createElement(A,{color:n,disabled:Y})),i&&C&&o.createElement(Ce,{id:(0,u.createDomId)(t,"font-size-select"),property:i,fontSizes:C,disabled:Y}))}function $(){return o.createElement(o.Fragment,null,Q(c,ze,"toggle-bold"),Q(d,ke,"toggle-italic"))} -function J(e,n,i,r,a,l){return i||n?o.createElement(s.CommonSection,{id:t+"ColorSelect",offset:k,checked:n,title:e,disabled:Y},i&&o.createElement(A,{color:i,thickness:a,thicknessItems:l,disabled:Y||r})):null}}var Ae=n(51285);function Ie(e){const{definition:{properties:{x:t,y:n,disabled:i},id:r,minX:a,maxX:s,stepX:l,minY:c,maxY:d,stepY:u,title:p,typeX:h,typeY:m},offset:f}=e,g=i&&i.value()||e.disabled,v=(0,J.useWatchedValueReadonly)({watchedValue:a,defaultValue:void 0}),y=(0,J.useWatchedValueReadonly)({watchedValue:s,defaultValue:void 0}),b=(0,J.useWatchedValueReadonly)({watchedValue:l,defaultValue:void 0}),w=(0,J.useWatchedValueReadonly)({watchedValue:c,defaultValue:void 0}),_=(0,J.useWatchedValueReadonly)({watchedValue:d,defaultValue:void 0}),E=(0,J.useWatchedValueReadonly)({watchedValue:u,defaultValue:void 0});return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{verticalAlign:"adaptive",placement:"first",offset:f,"data-section-name":r},o.createElement("span",{className:Ae.coordinates},p)),(t||n)&&o.createElement(Te.PropertyTable.Cell,{placement:"last",offset:f,"data-section-name":r},o.createElement(G,{breakPoint:"Medium"},n&&o.createElement(S,{className:Ae.input,property:n,min:w,max:_,step:E,disabled:g,name:"y-input",mode:void 0!==m?$[m]:"integer"}),t&&o.createElement(S,{className:Ae.input,property:t,min:v,max:y,step:b,disabled:g,name:"x-input",mode:void 0!==h?$[h]:"integer"}))))}var Fe=n(89477);function He(e){const{definition:{id:t,properties:{checked:n,option:i,disabled:r,visible:l},title:c,options:p},offset:h}=e,[m]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[f]=(0,a.useDefinitionProperty)({property:r,defaultValue:!1}),[g]=(0,a.useDefinitionProperty)({property:l,defaultValue:!0}),v=(0,o.useContext)(ye.ControlCustomWidthContext),y=e.disabled||!m;return g?o.createElement(s.CommonSection,{id:t,offset:h,checked:n,title:c,disabled:e.disabled||f},o.createElement(K.CellWrap,null,o.createElement(re,{id:(0,u.createDomId)(t,"options-dropdown"),"data-name":"options-dropdown",className:d()(Fe.dropdown,v[t]&&Fe[v[t]]),menuClassName:d()(Fe.dropdownMenu,v[t]&&Fe[v[t]]),disabled:y||f,property:i,options:p}))):null}var Oe=n(71953);var je=n(62820),Ze=n(65830);class Ue extends o.PureComponent{constructor(e){super(e),this._container=null,this._pointer=null,this._rafPosition=null,this._rafDragStop=null,this._refContainer=e=>{this._container=e},this._refPointer=e=>{this._pointer=e},this._handlePosition=e=>{null!==this._rafPosition||this.props.disabled||(this._rafPosition=requestAnimationFrame(()=>{const{from:t,to:n,min:o,max:i}=this.props,r=this._getNewPosition(e),a=1===this._detectPointerMode(e),s=a?(0,_.clamp)(r,o,n):t,l=a?n:(0,_.clamp)(r,t,i);s<=l&&this._handleChange(s,l),this._rafPosition=null}))},this._handleDragStop=()=>{null!==this._rafDragStop||this.props.disabled||(this._rafDragStop=requestAnimationFrame(()=>{this.setState({pointerDragMode:0}),this._rafDragStop=null,this.props.onCommit()}))},this._onSliderClick=e=>{C.CheckMobile.any()||(this._handlePosition(e.nativeEvent), -this._dragSubscribe())},this._mouseUp=e=>{this._dragUnsubscribe(),this._handlePosition(e),this._handleDragStop()},this._mouseMove=e=>{this._handlePosition(e)},this._onTouchStart=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this._handleDragStop()},this.state={pointerDragMode:0}}componentWillUnmount(){null!==this._rafPosition&&(cancelAnimationFrame(this._rafPosition),this._rafPosition=null),null!==this._rafDragStop&&(cancelAnimationFrame(this._rafDragStop),this._rafDragStop=null),this._dragUnsubscribe()}render(){const{className:e,disabled:t,from:n,to:i,min:r,max:a}=this.props,{pointerDragMode:s}=this.state,l=0!==s,d=a-r,u=0===d?r:(n-r)/d,p=0===d?a:(i-r)/d,h=(0,je.isRtl)()?"right":"left";return o.createElement("div",{className:c(e,Ze.range,t&&Ze.disabled)},o.createElement("div",{className:Ze.rangeSlider,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},o.createElement("div",{className:Ze.rangeSliderMiddleWrap},o.createElement("div",{className:c(Ze.rangeSliderMiddle,l&&Ze.dragged),style:{[h]:100*u+"%",width:100*(p-u)+"%"}})),o.createElement("div",{className:Ze.rangePointerWrap},o.createElement("div",{className:c(Ze.pointer,l&&Ze.dragged),style:{[h]:100*u+"%"},ref:this._refPointer})),o.createElement("div",{className:Ze.rangePointerWrap},o.createElement("div",{className:c(Ze.pointer,l&&Ze.dragged),style:{[h]:100*p+"%"}}))))}_dragSubscribe(){const e=(0,g.ensureNotNull)(this._container).ownerDocument;e&&(e.addEventListener("mouseup",this._mouseUp),e.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const e=(0,g.ensureNotNull)(this._container).ownerDocument;e&&(e.removeEventListener("mousemove",this._mouseMove),e.removeEventListener("mouseup",this._mouseUp))}_getNewPosition(e){const{min:t,max:n}=this.props,o=n-t,i=(0,g.ensureNotNull)(this._container),r=(0,g.ensureNotNull)(this._pointer),a=i.getBoundingClientRect(),s=r.offsetWidth;let l=e.clientX-s/2-a.left;return(0,je.isRtl)()&&(l=a.width-l-s),(0,_.clamp)(l/(a.width-s),0,1)*o+t}_detectPointerMode(e){const{from:t,to:n}=this.props,{pointerDragMode:o}=this.state;if(0!==o)return o;const i=this._getNewPosition(e),r=Math.abs(t-i),a=Math.abs(n-i),s=r===a?io.createElement(G,{breakPoint:"Medium"},o.createElement(o.Fragment,null,o.createElement("span",{className:qe.valueInput},o.createElement(x,{className:qe.input,sharedBuffer:M,min:b,max:v(z)?w:z,step:1,disabled:W,name:"from-input",mode:"integer",defaultValue:b}),e?o.createElement("span",{className:qe.rangeSlider},"—"):o.createElement(Ue,{className:d()(qe.rangeSlider,R&&qe.rangeSlider_mixed),from:R?b:P,to:R?w:z,min:b,max:w,onChange:A,onCommit:I,disabled:W}))),o.createElement(o.Fragment,null,o.createElement("span",{className:qe.valueInput},o.createElement(x,{className:qe.input,sharedBuffer:V,min:v(P)?b:P,max:w,step:1,disabled:W,name:"to-input",mode:"integer",defaultValue:w})))))}()));function A(e,t){T(Math.round(e)),k(Math.round(t))}function I(){L.flushed||(N(),B(),L.flushed=!0)}}var Ke=n(86067),Xe=n(53424),Ge=n(67474);function $e(e){const{definitions:t,name:n,offset:i}=e;return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{className:d()(Ge.cell,Ge.fragmentCell),offset:i,placement:"first",verticalAlign:"adaptive",colSpan:2,"data-section-name":n,checkableTitle:!0},t.map(e=>o.createElement("div",{className:Ge.item,key:e.id,"data-section-name":e.id},o.createElement(et,{definition:e})))))}function Je(e){const{definition:t,offset:n}=e;return o.createElement(Te.PropertyTable.Row,null,o.createElement(Te.PropertyTable.Cell,{className:Ge.cell,offset:n,placement:"first",verticalAlign:"adaptive",colSpan:2,checkableTitle:!0},o.createElement(et,{definition:t})))}function et(e){const{definition:{id:t,properties:{disabled:n,checked:i,color:r,level:s,width:l,style:c},title:p,widthValues:m,styleValues:f}}=e,[g]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),[v]=(0,a.useDefinitionProperty)({property:n,defaultValue:!1}),y=v||!g;return o.createElement(o.Fragment,null,o.createElement(Xe.CheckableTitle,{name:"is-enabled-"+t,className:d()(p&&Ge.withTitle),title:p&&o.createElement("span",{className:Ge.title},p),property:i,disabled:v}),s&&o.createElement(S,{className:d()(Ge.input,Ge.control),property:s,disabled:y}),r&&o.createElement(A,{className:Ge.control,disabled:y,color:r,thickness:l,thicknessItems:m}),c&&o.createElement(h,{id:(0,u.createDomId)(t,"leveled-line-style-select"),className:Ge.control,property:c,disabled:y,allowedLineStyles:f}))}var tt=n(33126);function nt(e){const{definition:{id:t,properties:{option1:n,option2:i,checked:r,disabled:l},title:c,optionsItems1:d,optionsItems2:p},offset:h}=e,[m]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[f]=(0,a.useDefinitionProperty)({property:l,defaultValue:!1}),g=e.disabled||!m;return o.createElement(s.CommonSection,{id:t,offset:h, -checked:r,title:c,disabled:e.disabled||f},o.createElement(G,{className:tt.twoOptions},o.createElement(re,{id:(0,u.createDomId)(t,"two-options-dropdown-1"),"data-name":"two-options-dropdown-1",className:tt.dropdown,menuClassName:tt.menu,property:n,disabled:g,options:d}),o.createElement(re,{id:(0,u.createDomId)(t,"two-options-dropdown-2"),"data-name":"two-options-dropdown-2",className:tt.dropdown,menuClassName:tt.menu,property:i,disabled:g,options:p})))}var ot=n(27423),it=n(29148);function rt(e){const{source:t,inputs:n,model:i,inputsTabProperty:r}=e.definition;return o.createElement(ot.InputsTabContent,{className:it.withoutPadding,property:r,model:i,study:t,inputs:n})}var at=n(15294),st=n(56840),lt=n(59255);var ct=n(40681);function dt(e){const{tab:t,icon:n,isActive:i,onTabClick:r}=e;return o.createElement("div",{className:d()(ct.wrapper,i&&ct.isActive),onClick:function(){r(t)}},o.createElement(Se.Icon,{icon:n}))}var ut=n(88436);function pt(e){const{activeTab:t,emojis:n,onTabClick:i}=e;return o.createElement("div",{className:ut.wrapper},n.map(({title:e,icon:n})=>o.createElement(dt,{key:e,tab:e,icon:n,isActive:t===e,onTabClick:i})))}var ht=n(83199),mt=n(16859);function ft(e){const{title:t}=e;return o.createElement("div",{className:mt.wrapper},t)}var gt=n(72077),vt=n(99339);const yt=34;function bt(e){const{className:t,emoji:n,size:i=yt,onClick:r}=e,a=(0,gt.getTwemojiUrl)(n,"png");return o.createElement("div",{className:d()(vt.wrapper,t),style:{width:i,height:i},onClick:function(){r(n)}},o.createElement("img",{className:vt.emoji,src:a,decoding:"async",width:"24",height:"24",alt:"",draggable:!1,onContextMenu:function(e){e.preventDefault()}}))}var wt=n(39897);const _t=o.memo(e=>{const{emojis:t,itemSize:n,onEmojiClick:i}=e;return o.createElement("div",{className:wt.wrapper},t.map(e=>o.createElement(bt,{key:e,className:wt.emojiItem,emoji:e,size:n,onClick:i})))});var Et=n(78036),Ct=n(83341);const St=o.createContext(null);function xt(e){const{listRef:t,emojiGroups:n,emojiSize:i,onSelect:r,onContentRendered:a}=e;(0,o.useEffect)(()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.resetAfterIndex(0,!0)},[n]);const s=(0,o.useCallback)(e=>"title"===n[e].type?30:38,[n]),l=(0,o.useCallback)(({visibleStartIndex:e})=>{const{relatedTitle:t}=n[e];a(t)},[n,a]);return o.createElement(St.Provider,{value:(0,o.useMemo)(()=>({size:i,onSelect:r}),[i,r])},o.createElement(ht.VariableSizeList,{className:Ct.list,ref:t,width:"100%",height:Math.min(330,window.innerHeight-60),itemData:n,itemCount:n.length,children:Dt,onItemsRendered:l,itemSize:s}))}const Dt=o.memo(e=>{const{style:t,index:n,data:i}=e,r=i[n],{size:a,onSelect:s}=(0,Et.useEnsuredContext)(St);return"title"===r.type?o.createElement("div",{style:t},o.createElement(ft,{title:r.relatedTitle})):o.createElement("div",{style:t},o.createElement(_t,{emojis:r.content,itemSize:a,onEmojiClick:s}))});var Mt=n(70358);function Pt(e){var t;const{className:n,emojis:i,onSelect:r}=e,a=(0,o.useRef)(null),[s,l]=(0,o.useState)(0),c=(0,o.useMemo)(()=>function(e,t){if(0===t)return[];const n=[] -;return e.forEach(({title:e,emojis:o})=>{n.push({type:"title",relatedTitle:e,content:[e]});let i=[];for(const r of o)i.length{n.current=e,null!==i.current&&(i.current.disconnect(),null!==e&&i.current.observe(e))},[n,i]);return(0,o.useEffect)(()=>(i.current=new lt.default((e,t)=>{r.current(e,t)}),n.current&&a(n.current),()=>{var e;null===(e=i.current)||void 0===e||e.disconnect()}),[n,...t]),a}((function(e){const[t]=e,{width:n}=t.contentRect,o=Math.floor((n-12)/38);l(o)})),[p,h]=(0,o.useState)((null===(t=c[0])||void 0===t?void 0:t.relatedTitle)||"");return o.createElement("div",{className:d()(Mt.wrapper,n)},o.createElement(pt,{emojis:i,activeTab:p,onTabClick:function(e){!function(e){var t;null===(t=a.current)||void 0===t||t.scrollToItem(e,"start"),requestAnimationFrame(()=>{var t;return null===(t=a.current)||void 0===t?void 0:t.scrollToItem(e,"start")})}(function(e){return c.findIndex(({relatedTitle:t,type:n})=>"title"===n&&t===e)}(e))}}),o.createElement("div",{ref:u},o.createElement(xt,{listRef:a,emojiGroups:c,emojiSize:38,onSelect:r,onContentRendered:h})))}var Tt=n(80781),Nt=n(67978),Vt=n(36311),zt=n(31006),kt=n(75614),Bt=n(1033),Rt=n(42925),Wt=n(40526),Lt=n(72843);const At=[{title:(0,I.t)("recently used",{context:"emoji_group"}),emojis:[],icon:Tt},{title:(0,I.t)("smiles & people",{context:"emoji_group"}), -emojis:["😀","😃","😄","😁","😆","😅","😂","🤣","☺️","😊","😇","🙂","🙃","😉","😌","😍","🥰","😘","😗","😙","😚","😋","😛","😝","😜","🤪","🤨","🧐","🤓","😎","🤩","🥳","😏","😒","😞","😔","😟","😕","🙁","☹️","😣","😖","😫","😩","🥺","😢","😭","😤","😠","😡","🤬","🤯","😳","🥵","🥶","😱","😨","😰","😥","😓","🤗","🤔","🤭","🤫","🤥","😶","😐","😑","😬","🙄","😯","😦","😧","😮","😲","🥱","😴","🤤","😪","😵","🤐","🥴","🤢","🤮","🤧","😷","🤒","🤕","🤑","🤠","😈","👿","👹","👺","🤡","💩","👻","💀","☠️","👽","👾","🤖","🎃","😺","😸","😹","😻","😼","😽","🙀","😿","😾","👋","🤚","🖐","✋","🖖","👌","🤏","✌️","🤞","🤟","🤘","🤙","👈","👉","👆","🖕","👇","☝️","👍","👎","✊","👊","🤛","🤜","👏","🙌","👐","🤲","🤝","🙏","✍️","💅","🤳","💪","🦾","🦵","🦿","🦶","👂","🦻","👃","🧠","🦷","🦴","👀","👁","👅","👄","💋","🩸","👶","🧒","👦","👧","🧑","👱","👨","🧔","👨‍🦰","👨‍🦱","👨‍🦳","👨‍🦲","👩","👩‍🦰","🧑‍🦰","👩‍🦱","🧑‍🦱","👩‍🦳","🧑‍🦳","👩‍🦲","🧑‍🦲","👱‍♀️","👱‍♂️","🧓","👴","👵","🙍","🙍‍♂️","🙍‍♀️","🙎","🙎‍♂️","🙎‍♀️","🙅","🙅‍♂️","🙅‍♀️","🙆","🙆‍♂️","🙆‍♀️","💁","💁‍♂️","💁‍♀️","🙋","🙋‍♂️","🙋‍♀️","🧏","🧏‍♂️","🧏‍♀️","🙇","🙇‍♂️","🙇‍♀️","🤦","🤦‍♂️","🤦‍♀️","🤷","🤷‍♂️","🤷‍♀️","🧑‍⚕️","👨‍⚕️","👩‍⚕️","🧑‍🎓","👨‍🎓","👩‍🎓","🧑‍🏫","👨‍🏫","👩‍🏫","🧑‍⚖️","👨‍⚖️","👩‍⚖️","🧑‍🌾","👨‍🌾","👩‍🌾","🧑‍🍳","👨‍🍳","👩‍🍳","🧑‍🔧","👨‍🔧","👩‍🔧","🧑‍🏭","👨‍🏭","👩‍🏭","🧑‍💼","👨‍💼","👩‍💼","🧑‍🔬","👨‍🔬","👩‍🔬","🧑‍💻","👨‍💻","👩‍💻","🧑‍🎤","👨‍🎤","👩‍🎤","🧑‍🎨","👨‍🎨","👩‍🎨","🧑‍✈️","👨‍✈️","👩‍✈️","🧑‍🚀","👨‍🚀","👩‍🚀","🧑‍🚒","👨‍🚒","👩‍🚒","👮","👮‍♂️","👮‍♀️","🕵","🕵️‍♂️","🕵️‍♀️","💂","💂‍♂️","💂‍♀️","👷","👷‍♂️","👷‍♀️","🤴","👸","👳","👳‍♂️","👳‍♀️","👲","🧕","🤵","👰","🤰","🤱","👼","🎅","🤶","🦸","🦸‍♂️","🦸‍♀️","🦹","🦹‍♂️","🦹‍♀️","🧙","🧙‍♂️","🧙‍♀️","🧚","🧚‍♂️","🧚‍♀️","🧛","🧛‍♂️","🧛‍♀️","🧜","🧜‍♂️","🧜‍♀️","🧝","🧝‍♂️","🧝‍♀️","🧞","🧞‍♂️","🧞‍♀️","🧟","🧟‍♂️","🧟‍♀️","💆","💆‍♂️","💆‍♀️","💇","💇‍♂️","💇‍♀️","🚶","🚶‍♂️","🚶‍♀️","🧍","🧍‍♂️","🧍‍♀️","🧎","🧎‍♂️","🧎‍♀️","🧑‍🦯","👨‍🦯","👩‍🦯","🧑‍🦼","👨‍🦼","👩‍🦼","🧑‍🦽","👨‍🦽","👩‍🦽","🏃","🏃‍♂️","🏃‍♀️","💃","🕺","🕴","👯","👯‍♂️","👯‍♀️","🧖","🧖‍♂️","🧖‍♀️","🧑‍🤝‍🧑","👭","👫","👬","💏","👨‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","💑","👨‍❤️‍👨","👩‍❤️‍👩","👪","👨‍👩‍👦","👨‍👩‍👧","👨‍👩‍👧‍👦","👨‍👩‍👦‍👦","👨‍👩‍👧‍👧","👨‍👨‍👦","👨‍👨‍👧","👨‍👨‍👧‍👦","👨‍👨‍👦‍👦","👨‍👨‍👧‍👧","👩‍👩‍👦","👩‍👩‍👧","👩‍👩‍👧‍👦","👩‍👩‍👦‍👦","👩‍👩‍👧‍👧","👨‍👦","👨‍👦‍👦","👨‍👧","👨‍👧‍👦","👨‍👧‍👧","👩‍👦","👩‍👦‍👦","👩‍👧","👩‍👧‍👦","👩‍👧‍👧","🗣","👤","👥","👣"],icon:Nt},{title:(0,I.t)("animals & nature",{context:"emoji_group"}), -emojis:["🐶","🐱","🐭","🐹","🐰","🦊","🐻","🐼","🐨","🐯","🦁","🐮","🐷","🐽","🐸","🐵","🙈","🙉","🙊","🐒","🐔","🐧","🐦","🐤","🐣","🐥","🦆","🦅","🦉","🦇","🐺","🐗","🐴","🦄","🐝","🐛","🦋","🐌","🐞","🐜","🦟","🦗","🕷","🕸","🦂","🐢","🐍","🦎","🦖","🦕","🐙","🦑","🦐","🦞","🦀","🐡","🐠","🐟","🐬","🐳","🐋","🦈","🐊","🐅","🐆","🦓","🦍","🦧","🐘","🦛","🦏","🐪","🐫","🦒","🦘","🐃","🐂","🐄","🐎","🐖","🐏","🐑","🦙","🐐","🦌","🐕","🐩","🦮","🐕‍🦺","🐈","🐓","🦃","🦚","🦜","🦢","🦩","🕊","🐇","🦝","🦨","🦡","🦦","🦥","🐁","🐀","🐿","🦔","🐾","🐉","🐲","🌵","🎄","🌲","🌳","🌴","🌱","🌿","☘️","🍀","🎍","🎋","🍃","🍂","🍁","🍄","🐚","🌾","💐","🌷","🌹","🥀","🌺","🌸","🌼","🌻","🌞","🌝","🌛","🌜","🌚","🌕","🌖","🌗","🌘","🌑","🌒","🌓","🌔","🌙","🌎","🌍","🌏","🪐","💫","⭐️","🌟","✨","⚡️","☄️","💥","🔥","🌪","🌈","☀️","🌤","⛅️","🌥","☁️","🌦","🌧","⛈","🌩","🌨","❄️","☃️","⛄️","🌬","💨","💧","💦","☔️","🌊","🌫"],icon:Vt},{title:(0,I.t)("food & drink",{context:"emoji_group"}),emojis:["🍏","🍎","🍐","🍊","🍋","🍌","🍉","🍇","🍓","🍈","🍒","🍑","🥭","🍍","🥥","🥝","🍅","🍆","🥑","🥦","🥬","🥒","🌶","🌽","🥕","🧄","🧅","🥔","🍠","🥐","🥯","🍞","🥖","🥨","🧀","🥚","🍳","🧈","🥞","🧇","🥓","🥩","🍗","🍖","🌭","🍔","🍟","🍕","🥪","🥙","🧆","🌮","🌯","🥗","🥘","🥫","🍝","🍜","🍲","🍛","🍣","🍱","🥟","🦪","🍤","🍙","🍚","🍘","🍥","🥠","🥮","🍢","🍡","🍧","🍨","🍦","🥧","🧁","🍰","🎂","🍮","🍭","🍬","🍫","🍿","🍩","🍪","🌰","🥜","🍯","🥛","🍼","☕️","🍵","🧃","🥤","🍶","🍺","🍻","🥂","🍷","🥃","🍸","🍹","🧉","🍾","🧊","🥄","🍴","🍽","🥣","🥡","🥢","🧂"],icon:zt},{title:(0,I.t)("activity",{context:"emoji_group"}),emojis:["⚽️","🏀","🏈","⚾️","🥎","🎾","🏐","🏉","🥏","🎱","🪀","🏓","🏸","🏒","🏑","🥍","🏏","🥅","⛳️","🪁","🏹","🎣","🤿","🥊","🥋","🎽","🛹","🛷","⛸","🥌","🎿","⛷","🏂","🪂","🏋️","🏋️‍♂️","🏋️‍♀️","🤼","🤼‍♂️","🤼‍♀️","🤸‍♀️","🤸","🤸‍♂️","⛹️","⛹️‍♂️","⛹️‍♀️","🤺","🤾","🤾‍♂️","🤾‍♀️","🏌️","🏌️‍♂️","🏌️‍♀️","🏇","🧘","🧘‍♂️","🧘‍♀️","🏄","🏄‍♂️","🏄‍♀️","🏊","🏊‍♂️","🏊‍♀️","🤽","🤽‍♂️","🤽‍♀️","🚣","🚣‍♂️","🚣‍♀️","🧗","🧗‍♂️","🧗‍♀️","🚵","🚵‍♂️","🚵‍♀️","🚴","🚴‍♂️","🚴‍♀️","🏆","🥇","🥈","🥉","🏅","🎖","🏵","🎗","🎫","🎟","🎪","🤹","🤹‍♂️","🤹‍♀️","🎭","🎨","🎬","🎤","🎧","🎼","🎹","🥁","🎷","🎺","🎸","🪕","🎻","🎲","🎯","🎳","🎮","🎰","🧩"],icon:kt},{title:(0,I.t)("travel & places",{context:"emoji_group"}),emojis:["🚗","🚕","🚙","🚌","🚎","🏎","🚓","🚑","🚒","🚐","🚚","🚛","🚜","🦯","🦽","🦼","🛴","🚲","🛵","🏍","🛺","🚨","🚔","🚍","🚘","🚖","🚡","🚠","🚟","🚃","🚋","🚞","🚝","🚄","🚅","🚈","🚂","🚆","🚇","🚊","🚉","✈️","🛫","🛬","🛩","💺","🛰","🚀","🛸","🚁","🛶","⛵️","🚤","🛥","🛳","⛴","🚢","⚓️","⛽️","🚧","🚦","🚥","🚏","🗺","🗿","🗽","🗼","🏰","🏯","🏟","🎡","🎢","🎠","⛲️","⛱","🏖","🏝","🏜","🌋","⛰","🏔","🗻","🏕","⛺️","🏠","🏡","🏘","🏚","🏗","🏭","🏢","🏬","🏣","🏤","🏥","🏦","🏨","🏪","🏫","🏩","💒","🏛","⛪️","🕌","🕍","🛕","🕋","⛩","🛤","🛣","🗾","🎑","🏞","🌅","🌄","🌠","🎇","🎆","🌇","🌆","🏙","🌃","🌌","🌉","🌁"],icon:Bt},{title:(0,I.t)("objects",{context:"emoji_group"}), -emojis:["⌚️","📱","📲","💻","⌨️","🖥","🖨","🖱","🖲","🕹","🗜","💽","💾","💿","📀","📼","📷","📸","📹","🎥","📽","🎞","📞","☎️","📟","📠","📺","📻","🎙","🎚","🎛","🧭","⏱","⏲","⏰","🕰","⌛️","⏳","📡","🔋","🔌","💡","🔦","🕯","🪔","🧯","🛢","💸","💵","💴","💶","💷","💰","💳","💎","⚖️","🧰","🔧","🔨","⚒","🛠","⛏","🔩","⚙️","🧱","⛓","🧲","🔫","💣","🧨","🪓","🔪","🗡","⚔️","🛡","🚬","⚰️","⚱️","🏺","🔮","📿","🧿","💈","⚗️","🔭","🔬","🕳","🩹","🩺","💊","💉","🧬","🦠","🧫","🧪","🌡","🧹","🧺","🧻","🚽","🚰","🚿","🛁","🛀","🧼","🪒","🧽","🧴","🛎","🔑","🗝","🚪","🪑","🛋","🛏","🛌","🧸","🖼","🛍","🛒","🎁","🎈","🎏","🎀","🎊","🎉","🎎","🏮","🎐","🧧","✉️","📩","📨","📧","💌","📥","📤","📦","🏷","📪","📫","📬","📭","📮","📯","📜","📃","📄","📑","🧾","📊","📈","📉","🗒","🗓","📆","📅","🗑","📇","🗃","🗳","🗄","📋","📁","📂","🗂","🗞","📰","📓","📔","📒","📕","📗","📘","📙","📚","📖","🔖","🧷","🔗","📎","🖇","📐","📏","🧮","📌","📍","✂️","🖊","🖋","✒️","🖌","🖍","📝","✏️","🔍","🔎","🔏","🔐","🔒","🔓","🧳","🌂","☂️","🧵","🧶","👓","🕶","🥽","🥼","🦺","👔","👕","👖","🧣","🧤","🧥","🧦","👗","👘","🥻","🩱","🩲","🩳","👙","👚","👛","👜","👝","🎒","👞","👟","🥾","🥿","👠","👡","🩰","👢","👑","👒","🎩","🎓","🧢","⛑","💄","💍","💼"],icon:Rt},{title:(0,I.t)("symbols",{context:"emoji_group"}),emojis:["❤️","🧡","💛","💚","💙","💜","🖤","🤍","🤎","💔","❣️","💕","💞","💓","💗","💖","💘","💝","💟","☮️","✝️","☪️","🕉","☸️","✡️","🔯","🕎","☯️","☦️","🛐","⛎","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","🆔","⚛️","🉑","☢️","☣️","📴","📳","🈶","🈚️","🈸","🈺","🈷️","✴️","🆚","💮","🉐","㊙️","㊗️","🈴","🈵","🈹","🈲","🅰️","🅱️","🆎","🆑","🅾️","🆘","❌","⭕️","🛑","⛔️","📛","🚫","💯","💢","♨️","🚷","🚯","🚳","🚱","🔞","📵","🚭","❗️","❕","❓","❔","‼️","⁉️","🔅","🔆","〽️","⚠️","🚸","🔱","⚜️","🔰","♻️","✅","🈯️","💹","❇️","✳️","❎","🌐","💠","Ⓜ️","🌀","💤","🏧","🚾","♿️","🅿️","🈳","🈂️","🛂","🛃","🛄","🛅","🚹","🚺","🚼","🚻","🚮","🎦","📶","🈁","🔣","ℹ️","🔤","🔡","🔠","🆖","🆗","🆙","🆒","🆕","🆓","0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣","🔟","🔢","#️⃣","*️⃣","⏏️","▶️","⏸","⏯","⏹","⏺","⏭","⏮","⏩","⏪","⏫","⏬","◀️","🔼","🔽","➡️","⬅️","⬆️","⬇️","↗️","↘️","↙️","↖️","↕️","↔️","↪️","↩️","⤴️","⤵️","🔀","🔁","🔂","🔄","🔃","🎵","🎶","➕","➖","➗","✖️","♾","💲","💱","™️","©️","®️","〰️","➰","➿","🔚","🔙","🔛","🔝","🔜","✔️","☑️","🔘","🔴","🟠","🟡","🟢","🔵","🟣","⚫️","⚪️","🟤","🔺","🔻","🔸","🔹","🔶","🔷","🔳","🔲","▪️","▫️","◾️","◽️","◼️","◻️","🟥","🟧","🟨","🟩","🟦","🟪","⬛️","⬜️","🟫","🔈","🔇","🔉","🔊","🔔","🔕","📣","📢","👁‍🗨","💬","💭","🗯","♠️","♣️","♥️","♦️","🃏","🎴","🀄️","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧"],icon:Wt},{title:(0,I.t)("flags",{context:"emoji_group"}), -emojis:["🏳️","🏴","🏁","🚩","🏳️‍🌈","🏴‍☠️","🇦🇫","🇦🇽","🇦🇱","🇩🇿","🇦🇸","🇦🇩","🇦🇴","🇦🇮","🇦🇶","🇦🇬","🇦🇷","🇦🇲","🇦🇼","🇦🇺","🇦🇹","🇦🇿","🇧🇸","🇧🇭","🇧🇩","🇧🇧","🇧🇾","🇧🇪","🇧🇿","🇧🇯","🇧🇲","🇧🇹","🇧🇴","🇧🇦","🇧🇼","🇧🇷","🇮🇴","🇻🇬","🇧🇳","🇧🇬","🇧🇫","🇧🇮","🇰🇭","🇨🇲","🇨🇦","🇮🇨","🇨🇻","🇧🇶","🇰🇾","🇨🇫","🇹🇩","🇨🇱","🇨🇳","🇨🇽","🇨🇨","🇨🇴","🇰🇲","🇨🇬","🇨🇩","🇨🇰","🇨🇷","🇨🇮","🇭🇷","🇨🇺","🇨🇼","🇨🇾","🇨🇿","🇩🇰","🇩🇯","🇩🇲","🇩🇴","🇪🇨","🇪🇬","🇸🇻","🇬🇶","🇪🇷","🇪🇪","🇪🇹","🇪🇺","🇫🇰","🇫🇴","🇫🇯","🇫🇮","🇫🇷","🇬🇫","🇵🇫","🇹🇫","🇬🇦","🇬🇲","🇬🇪","🇩🇪","🇬🇭","🇬🇮","🇬🇷","🇬🇱","🇬🇩","🇬🇵","🇬🇺","🇬🇹","🇬🇬","🇬🇳","🇬🇼","🇬🇾","🇭🇹","🇭🇳","🇭🇰","🇭🇺","🇮🇸","🇮🇳","🇮🇩","🇮🇷","🇮🇶","🇮🇪","🇮🇲","🇮🇱","🇮🇹","🇯🇲","🇯🇵","🎌","🇯🇪","🇯🇴","🇰🇿","🇰🇪","🇰🇮","🇽🇰","🇰🇼","🇰🇬","🇱🇦","🇱🇻","🇱🇧","🇱🇸","🇱🇷","🇱🇾","🇱🇮","🇱🇹","🇱🇺","🇲🇴","🇲🇰","🇲🇬","🇲🇼","🇲🇾","🇲🇻","🇲🇱","🇲🇹","🇲🇭","🇲🇶","🇲🇷","🇲🇺","🇾🇹","🇲🇽","🇫🇲","🇲🇩","🇲🇨","🇲🇳","🇲🇪","🇲🇸","🇲🇦","🇲🇿","🇲🇲","🇳🇦","🇳🇷","🇳🇵","🇳🇱","🇳🇨","🇳🇿","🇳🇮","🇳🇪","🇳🇬","🇳🇺","🇳🇫","🇰🇵","🇲🇵","🇳🇴","🇴🇲","🇵🇰","🇵🇼","🇵🇸","🇵🇦","🇵🇬","🇵🇾","🇵🇪","🇵🇭","🇵🇳","🇵🇱","🇵🇹","🇵🇷","🇶🇦","🇷🇪","🇷🇴","🇷🇺","🇷🇼","🇼🇸","🇸🇲","🇸🇦","🇸🇳","🇷🇸","🇸🇨","🇸🇱","🇸🇬","🇸🇽","🇸🇰","🇸🇮","🇬🇸","🇸🇧","🇸🇴","🇿🇦","🇰🇷","🇸🇸","🇪🇸","🇱🇰","🇧🇱","🇸🇭","🇰🇳","🇱🇨","🇵🇲","🇻🇨","🇸🇩","🇸🇷","🇸🇿","🇸🇪","🇨🇭","🇸🇾","🇹🇼","🇹🇯","🇹🇿","🇹🇭","🇹🇱","🇹🇬","🇹🇰","🇹🇴","🇹🇹","🇹🇳","🇹🇷","🇹🇲","🇹🇨","🇹🇻","🇻🇮","🇺🇬","🇺🇦","🇦🇪","🇬🇧","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇻🇺","🇻🇦","🇻🇪","🇻🇳","🇼🇫","🇪🇭","🇾🇪","🇿🇲","🇿🇼"],icon:Lt}];var It=n(50628),Ft=n(37558),Ht=n(41590),Ot=n(27317),jt=n(40173);var Zt=n(40233),Ut=n(24437),Yt=n(90896);function qt(e){const{children:t,highlight:n,disabled:i,reference:r}=e,a=n?"primary":"default";return o.createElement("div",{ref:r,className:d()(Yt.wrapper,Yt["intent-"+a],Yt["border-thin"],Yt["size-medium"],n&&Yt.highlight,n&&Yt.focused,i&&Yt.disabled),"data-role":"button"},o.createElement("div",{className:d()(Yt.childrenContainer,i&&Yt.disabled)},t),n&&o.createElement("span",{className:Yt.shadow}))}var Qt=n(95076);const Kt=()=>null,Xt=(0,jt.mergeThemes)(Ot.DEFAULT_MENU_THEME,{menuBox:Qt.menuBox});function Gt(e){const{value:t,disabled:n,onSelect:i}=e,r=(0,o.useRef)(null),{current:a}=(0,o.useRef)(st.getJSON("RecentlyUsedEmojis",[t])),[s,l]=(0,o.useState)(a),[c,d]=(0,o.useState)(!1),u=(0,o.useCallback)(()=>d(!1),[]);var p;p=u,(0,o.useEffect)(()=>(document.addEventListener("scroll",p),()=>{document.removeEventListener("scroll",p)}),[p]);const h=(0,o.useCallback)(e=>{const t=Array.from(new Set([e,...s])).slice(0,18);st.setJSON("RecentlyUsedEmojis",t),l(t),i(e),u()},[s,i]),m=(f=s,(0,o.useMemo)(()=>(At[0].emojis=f,[...At]),[f]));var f;return o.createElement(o.Fragment,null,o.createElement(qt,{reference:r, -highlight:c,disabled:n},o.createElement(bt,{emoji:t,onClick:function(){n||d(!0)}})),o.createElement(Ye.MatchMedia,{rule:Ut.DialogBreakpoints.TabletSmall},e=>c&&o.createElement(Ft.DrawerManager,null,e?o.createElement(Ht.Drawer,{className:Qt.drawer,position:"Bottom",onClose:u},o.createElement(Pt,{emojis:m,onSelect:h})):o.createElement(It.PopupMenu,{theme:Xt,isOpened:!0,position:(0,Zt.getPopupPositioner)(r.current,{horizontalDropDirection:Zt.HorizontalDropDirection.FromLeftToRight,horizontalAttachEdge:Zt.HorizontalAttachEdge.Left}),onClickOutside:u,onClose:Kt},o.createElement(Pt,{className:Qt.desktopSize,emojis:m,onSelect:h})))))}var $t=n(9688);function Jt(e){const{definition:{title:t,properties:n}}=e,{checked:i,emoji:r,backgroundColor:s}=n,[l,c]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[d,u]=(0,a.useDefinitionProperty)({property:r,defaultValue:"🙂"}),[p,h]=(0,a.useDefinitionProperty)({property:s,defaultValue:ue.colorsPalette["color-tv-blue-a600"]});return o.createElement("div",{className:$t.wrapper},o.createElement(at.Checkbox,{className:$t.checkbox,label:t,checked:l,onChange:function(){c(!l)}}),o.createElement(Gt,{value:d,disabled:!l,onSelect:u}),o.createElement(W.ColorSelect,{className:$t.colorSelect,disabled:!l,color:p,onColorChange:h}))}function en(e){const{definition:{id:t,properties:{disabled:n,visible:i},childrenDefinitions:r,title:l},offset:c}=e,[d]=(0,a.useDefinitionProperty)({property:n,defaultValue:!1}),[u]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),p=e.disabled;return u?o.createElement(o.Fragment,null,l&&o.createElement(s.CommonSection,{id:t,offset:c,title:l,disabled:e.disabled||d}),r.map(e=>o.createElement(tn,{key:e.id,disabled:p,definition:e,offset:Boolean(l)}))):null}function tn(e){const{definition:t,offset:n,disabled:a}=e;if(function(e){(0,o.useEffect)(()=>{if(void 0===e)return;const t={...e.properties};return Object.entries(t).forEach(([n,o])=>{void 0!==o&&o.subscribe(t,()=>Oe.logger.logNormal(`Property "${n}" in definition "${e.id}" was updated to value "${o.value()}"`))}),()=>{Object.entries(t).forEach(([,e])=>{void 0!==e&&e.unsubscribeAll(t)})}},[e])}((0,i.isPropertyDefinitionsGroup)(t)?void 0:t),(0,i.isPropertyDefinitionsGroup)(t))return o.createElement(nn,{definition:t,offset:n,disabled:a});switch(t.propType){case"line":return o.createElement(te,{...e,definition:t});case"checkable":return o.createElement(l,{...e,definition:t});case"color":return o.createElement(ce,{...e,definition:t});case"transparency":return o.createElement(fe,{...e,definition:t});case"twoColors":return o.createElement(ve,{...e,definition:t});case"number":return o.createElement(we,{...e,definition:t});case"symbol":return o.createElement(r.SymbolInputsButton,{...e,definition:t});case"text":return o.createElement(Le,{...e,definition:t});case"checkableSet":return o.createElement(_e,{...e,definition:t});case"set":return o.createElement(en,{...e,definition:t});case"options":return o.createElement(He,{...e,definition:t});case"range":return o.createElement(Qe,{...e,definition:t});case"coordinates": -return o.createElement(Ie,{...e,definition:t});case"twoOptions":return o.createElement(nt,{...e,definition:t});case"leveledLine":return o.createElement(Je,{...e,definition:t});case"emoji":return o.createElement(Jt,{...e,definition:t});case"image":return null;case"studyInputs":return o.createElement(rt,{...e,definition:t});default:return null}}function nn(e){const{definition:t}=e,n=(0,J.useWatchedValueReadonly)({watchedValue:t.definitions});return(0,J.useWatchedValueReadonly)({watchedValue:t.visible,defaultValue:!0})?o.createElement(o.Fragment,null,t.title&&o.createElement(Ke.GroupTitleSection,{title:t.title,name:t.id}),n&&(r=n,r.reduce((e,t)=>{if((0,i.isPropertyDefinitionsGroup)(t)||"leveledLine"!==t.propType)e.push(t);else{const n=e[e.length-1];Array.isArray(n)?n.push(t):e.push([t])}return e},[])).map(n=>Array.isArray(n)?o.createElement($e,{key:n[0].id,name:t.id,definitions:n}):o.createElement(tn,{key:n.id,...e,definition:n})),"general"===t.groupType&&o.createElement(Te.PropertyTable.GroupSeparator,{size:1})):null;var r}},95711:(e,t,n)=>{"use strict";n.d(t,{PopupContext:()=>o});const o=n(59496).createContext(null)},63016:(e,t,n)=>{"use strict";n.d(t,{PopupDialog:()=>D});var o=n(59496),i=n(97754),r=n(88537),a=n(50655),s=n(88216),l=n(90186),c=n(17683);class d extends o.PureComponent{constructor(){super(...arguments),this._manager=new s.OverlapManager,this._handleSlot=e=>{this._manager.setContainer(e)}}render(){const{rounded:e=!0,shadowed:t=!0,fullscreen:n=!1,darker:r=!1,className:s,backdrop:d}=this.props,u=i(s,c.dialog,e&&c.rounded,t&&c.shadowed,n&&c.fullscreen,r&&c.darker),p=(0,l.filterDataProps)(this.props),h=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return o.createElement(o.Fragment,null,o.createElement(a.SlotContext.Provider,{value:this._manager},d&&o.createElement("div",{onClick:this.props.onClickBackdrop,className:c.backdrop}),o.createElement("div",{...p,className:u,style:h,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:-1},this.props.children)),o.createElement(a.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:e,left:t,width:n,right:o,top:i,zIndex:r,height:a}=this.props;return{bottom:e,left:t,right:o,top:i,zIndex:r,maxWidth:n,height:a}}}var u=n(86431),p=n(76594),h=n(64514);function m(e,t,n,o){return e+t>o&&(e=o-t),e{if(0!==e.button||this._isTargetNoDraggable(e))return;e.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("mouseup",this._onMouseDragEnd);const t=f(g(e));this._dragStart(t)}, -this._onTouchDragStart=e=>{if(this._isTargetNoDraggable(e))return;this._canBeTouchClick=!0,e.preventDefault(),this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const t=f(v(e));this._dragStart(t)},this._onMouseDragEnd=e=>{e.target instanceof Node&&this._header.contains(e.target)&&e.preventDefault(),document.removeEventListener("mousemove",this._onMouseDragMove),document.removeEventListener("mouseup",this._onMouseDragEnd),this._onDragStop()},this._onTouchDragEnd=e=>{this._header.removeEventListener("touchmove",this._onTouchDragMove),this._onDragStop(),this._canBeTouchClick&&(this._canBeTouchClick=!1,function(e){if(e instanceof SVGElement){const t=document.createEvent("SVGEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}e instanceof HTMLElement&&e.click()}(e.target))},this._onMouseDragMove=e=>{const t=f(g(e));this._dragMove(t)},this._onTouchDragMove=e=>{this._canBeTouchClick=!1,e.preventDefault();const t=f(v(e));this._dragMove(t)},this._onDragStop=()=>{this._drag=null,this._header.classList.remove("dragging")},this._dialog=e,this._header=t,this._options=n,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}destroy(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)}updateOptions(e){this._options=e}_dragStart(e){const t=this._dialog.getBoundingClientRect();this._drag={startX:e.x,startY:e.y,finishX:e.x,finishY:e.y,dialogX:t.left,dialogY:t.top};const n=Math.round(t.left),o=Math.round(t.top);this._dialog.style.transform=`translate(${n}px, ${o}px)`,this._header.classList.add("dragging"),this._options.onDragStart&&this._options.onDragStart()}_dragMove(e){if(this._drag){if(this._drag.finishX=e.x,this._drag.finishY=e.y,null!==this._frame)return;this._frame=requestAnimationFrame(()=>{if(this._drag){const t=e.x-this._drag.startX,n=e.y-this._drag.startY;this._moveDialog(this._drag.dialogX+t,this._drag.dialogY+n)}this._frame=null})}}_moveDialog(e,t){const n=this._dialog.getBoundingClientRect(),{boundByScreen:o}=this._options,i=m(e,n.width,o?0:-1/0,o?window.innerWidth:1/0),r=m(t,n.height,o?0:-1/0,o?window.innerHeight:1/0);this._dialog.style.transform=`translate(${Math.round(i)}px, ${Math.round(r)}px)`}_isTargetNoDraggable(e){return e.target instanceof Element&&null!==e.target.closest("[data-disable-drag]")}}const b={vertical:0};class w{constructor(e,t){this._frame=null,this._isFullscreen=!1,this._handleResize=()=>{null===this._frame&&(this._frame=requestAnimationFrame(()=>{this.recalculateBounds(),this._frame=null}))},this._dialog=e,this._guard=t.guard||b,this._calculateDialogPosition=t.calculateDialogPosition, -this._initialHeight=e.style.height,window.addEventListener("resize",this._handleResize)}updateOptions(e){this._guard=e.guard||b,this._calculateDialogPosition=e.calculateDialogPosition}setFullscreen(e){this._isFullscreen!==e&&(this._isFullscreen=e,this.recalculateBounds())}centerAndFit(){const{x:e,y:t}=this.getDialogsTopLeftCoordinates(),n=this._calcAvailableHeight(),o=this._calcDialogHeight();if(n===o)if(this._calculateDialogPosition){const{left:e,top:t}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(e)}px, ${Math.round(t)}px)`}else this._dialog.style.height=o+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${e}px, ${t}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:e,clientWidth:t}=document.documentElement,n=this._calcDialogHeight(),o=t/2-this._dialog.clientWidth/2,i=e/2-n/2;return{x:Math.round(o),y:Math.round(i)}}recalculateBounds(){const{clientHeight:e,clientWidth:t}=document.documentElement;if(this._isFullscreen)this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none";else{const{vertical:n}=this._guard;if(this._calculateDialogPosition){const o=this._calculateDialogPosition(this._dialog,{clientWidth:t,clientHeight:e},{vertical:n}),{left:i,top:r}=o;this._dialog.style.transform=`translate(${Math.round(i)}px, ${Math.round(r)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const o=this._dialog.getBoundingClientRect(),i=e-2*n,r=m(o.left,o.width,0,t),a=m(o.top,o.height,n,e);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(r)}px, ${Math.round(a)}px)`,this._dialog.style.height=i{const{reference:t}=this.props;this._dialog=e,"function"==typeof t&&t(e)},this._handleFocus=e=>{this._moveToTop()},this._handleMouseDown=e=>{this._moveToTop()},this._handleTouchStart=e=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return o.createElement(E.PopupContext.Provider,{value:this},o.createElement(p.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},e=>o.createElement("div",{ref:e,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart,"data-dialog-name":this.props["data-dialog-name"]},o.createElement(d,{style:this._applyAnimationCSSVariables(), -...this.props,reference:this._handleDialogRef,className:i(S.dialog,this.props.className)},!1,this.props.children))))}componentDidMount(){const{draggable:e,boundByScreen:t,onDragStart:n}=this.props,o=(0,r.ensureNotNull)(this._dialog);if(e){const e=o.querySelector("[data-dragg-area]");e&&e instanceof HTMLElement&&(this._drag=new y(o,e,{boundByScreen:Boolean(t),onDragStart:n}))}this.props.autofocus&&!o.contains(document.activeElement)&&o.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,C.setFixedBodyState)(!0);const{guard:i,calculateDialogPosition:a}=this.props;this._resize=new w(o,{guard:i,calculateDialogPosition:a}),this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus&&o.focus()}componentDidUpdate(){if(this._resize){const{guard:e,calculateDialogPosition:t}=this.props;this._resize.updateOptions({guard:e,calculateDialogPosition:t}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){this._drag&&this._drag.destroy(),this._resize&&this._resize.destroy(),(this._isFullScreen()||this.props.fixedBody)&&(0,C.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(e){if(this._resize&&this._dialog){const{x:t,y:n}=e,{x:o,y:i}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",t+"px"),this._dialog.style.setProperty("--animationTranslateStartY",n+"px"),this._dialog.style.setProperty("--animationTranslateEndX",o+"px"),this._dialog.style.setProperty("--animationTranslateEndY",i+"px"),this._dialog.classList.add(S.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}x.contextType=_.PortalContext,x.defaultProps={boundByScreen:!0,draggable:!0,centeredOnMount:!0};const D=(0,u.makeOverlapable)(x)},95276:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosure:()=>c});var o=n(59496),i=n(66092),r=n(26597),a=n(46059),s=n(68721),l=n(66230);const c=o.forwardRef((e,t)=>{const{id:n,tabIndex:c,disabled:d,highlight:u,intent:p,children:h,onClick:m,onFocus:f,onBlur:g,listboxAria:v,...y}=e,b=(0,o.useRef)({"aria-labelledby":n}),{listboxId:w,isOpened:_,isFocused:E,buttonTabIndex:C,listboxTabIndex:S,highlight:x,intent:D,onOpen:M,close:P,toggle:T,buttonFocusBindings:N,onButtonClick:V,buttonRef:z,listboxRef:k,buttonAria:B}=(0,s.useControlDisclosure)({id:n,disabled:d,buttonTabIndex:c,intent:p,highlight:u,onFocus:f,onBlur:g,onClick:m}),R=(0, -r.useKeyboardToggle)(T),W=(0,r.useKeyboardClose)(_,P),L=(0,r.useKeyboardActionHandler)([27],P,(0,o.useCallback)(()=>_,[_])),A=(0,r.useKeyboardEventHandler)(R,W),I=(0,r.useKeyboardEventHandler)(L);return o.createElement(a.ControlDisclosureView,{...y,...N,...B,id:n,role:"button",tabIndex:C,disabled:d,isOpened:_,isFocused:E,ref:(0,i.useMergedRefs)([z,t]),highlight:x,intent:D,onClose:P,onOpen:M,onClick:V,onKeyDown:A,listboxId:w,listboxTabIndex:S,listboxReference:k,listboxAria:null!=v?v:b.current,onListboxKeyDown:I},h,o.createElement("span",{className:l.invisibleFocusHandler,tabIndex:0,"aria-hidden":!0,onFocus:P}))});c.displayName="ControlDisclosure"},37558:(e,t,n)=>{"use strict";n.d(t,{DrawerManager:()=>i,DrawerContext:()=>r});var o=n(59496);class i extends o.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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.createElement(r.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const r=o.createContext(null)},41590:(e,t,n)=>{"use strict";n.d(t,{Drawer:()=>h});var o=n(59496),i=n(88537),r=n(97754),a=n(59142),s=n(99054),l=n(65718),c=n(37558),d=n(49483),u=n(29197),p=n(66998);function h(e){const{position:t="Bottom",onClose:n,children:h,className:m,theme:f=p}=e,g=(0,i.ensureNotNull)((0,o.useContext)(c.DrawerContext)),[v,y]=(0,o.useState)(0),b=(0,o.useRef)(null),w=(0,o.useContext)(u.CloseDelegateContext);return(0,o.useEffect)(()=>{const e=(0,i.ensureNotNull)(b.current);return e.focus({preventScroll:!0}),w.subscribe(g,n),0===g.currentDrawer&&(0,s.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,a.disableBodyScroll)(e),y(g.addDrawer()),()=>{w.unsubscribe(g,n);const t=g.removeDrawer();d.CheckMobile.iOS()&&(0,a.enableBodyScroll)(e),0===t&&(0,s.setFixedBodyState)(!1)}},[]),o.createElement(l.Portal,null,o.createElement("div",{className:r(p.wrap,p["position"+t])},v===g.currentDrawer&&o.createElement("div",{className:p.backdrop,onClick:n}),o.createElement("div",{className:r(p.drawer,f.drawer,p["position"+t],m),ref:b,tabIndex:-1,"data-name":e["data-name"]},h)))}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>r});var o=n(59496),i=n(39640);function r(e){const{click:t,mouseDown:n,touchEnd:r,touchStart:a,handler:s,reference:l,ownerDocument:c=document}=e,d=(0,o.useRef)(null),u=(0,o.useRef)(new CustomEvent("timestamp").timeStamp);return(0,o.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:r,touchStart:a},o=l?l.current:d.current;return(0,i.addOutsideEventListener)(u.current,o,s,c,e)},[t,n,r,a,s]),l||d}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>i});var o=n(59496);class i extends o.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)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>o});const o=n(59496).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>g,Menu:()=>v});var o=n(59496),i=n(97754),r=n.n(i),a=n(88537),s=n(64514),l=n(54475),c=n(50655),d=n(59064),u=n(88216),p=n(25760),h=n(14758),m=n(64706),f=n(16059);const g=f;class v extends o.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new u.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,o,i,r;if(this.state.isMeasureValid&&!t)return;const{position:l}=this.props,c=(0,a.ensureNotNull)(this._containerRef);let d=c.getBoundingClientRect();const u=document.documentElement.clientHeight,p=document.documentElement.clientWidth,h=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let m=u-0-h;const f=d.height>m;if(f){(0,a.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",d=c.getBoundingClientRect()}const{width:g,height:v}=d,y="function"==typeof l?l(g,v,u):l,b=p-(null!==(o=y.overrideWidth)&&void 0!==o?o:g)-0,w=(0,s.clamp)(y.x,0,Math.max(0,b)),_=0+h,E=u-(null!==(i=y.overrideHeight)&&void 0!==i?i:v)-0;let C=(0,s.clamp)(y.y,_,Math.max(_,E));if(y.forbidCorrectYCoord&&C{this._restoreScrollPosition(),e&&e()})},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,a.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,a.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{ -null===this._raf&&(this._raf=requestAnimationFrame(()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null}))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,a.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout(()=>{this._handleMeasure({forceRecalcPosition:!0})},80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame(()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null})))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=d.globalCloseDelegate}=this.props;e.subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize);const t=null!==this.context;this._hotkeys||t||(this._hotkeys=p.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this._handleGlobalClose()})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=d.globalCloseDelegate}=this.props;e.unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":i,children:a,minWidth:s,theme:d=f,className:u,maxHeight:p,onMouseOver:g,onMouseOut:v,onKeyDown:b,onFocus:w,onBlur:_}=this.props,{appearingMenuHeight:E,appearingMenuWidth:C,appearingPosition:S,isMeasureValid:x}=this.state;return o.createElement(m.MenuContext.Provider,{value:this},o.createElement(h.SubmenuHandler,null,o.createElement(c.SlotContext.Provider,{value:this._manager},o.createElement("div",{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":i,className:r()(u,d.menuWrap,!x&&d.isMeasuring),style:{height:E,left:S&&S.x,minWidth:s,position:"fixed",top:S&&S.y,width:C},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:l.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:g,onMouseOut:v,onKeyDown:b,onFocus:w,onBlur:_},o.createElement("div",{className:r()(d.scrollWrap,!this.props.noMomentumBasedScroll&&d.momentumBased),style:{overflowY:void 0!==E?"scroll":"auto",maxHeight:p},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},o.createElement(y,{className:d.menuBox},a)))),o.createElement(c.Slot,{reference:this._handleSlot})))} -update(e){e?this._resizeForced():this._resize()}}function y(e){const t=(0,a.ensureNotNull)((0,o.useContext)(h.SubmenuContext)),n=o.useRef(null);return o.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(o=e.target,null===(i=n.current)||void 0===i?void 0:i.contains(o))))return;var o,i;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}v.contextType=h.SubmenuContext},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>i});var o=n(58095);function i(e){const{children:t,...n}=e;return t((0,o.useOutsideEvent)(n))}},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>r,getRootOverlapManager:()=>s});var o=n(88537);class i{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 r{constructor(e=document){this._storage=new i,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 o=this._document.createElement("div");if(o.style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(o);else if(t.index<=0)this._container.insertBefore(o,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(o,e)}}else"reverse"===t.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(e,o),++this._index,o}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 a=new WeakMap;function s(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,o.ensureDefined)(a.get(t));{const t=new r(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 a.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>r});var o=n(59496),i=n(65718);function r(e){return class extends o.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const r=o.createElement(e,{ -...this.props,zIndex:150});return"parent"===n?r:o.createElement(i.Portal,null,r)}}}},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>r});var o=n(59496),i=n(59064);const r=o.createContext(i.globalCloseDelegate)},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>l,PortalContext:()=>c});var o=n(59496),i=n(87995),r=n(9423),a=n(88216),s=n(50655);class l extends o.PureComponent{constructor(){super(...arguments),this._uuid=(0,r.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||"",i.createPortal(o.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,a.getRootOverlapManager)():this.context}}l.contextType=s.SlotContext;const c=o.createContext(null)},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>d});var o=n(28353),i=n(59496),r=n(97754),a=n(9745),s=n(73366),l=n(73432);const c={remove:(0,o.t)("Remove")};function d(e){const{className:t,isActive:n,onClick:o,onMouseDown:d,title:u,hidden:p,"data-name":h="remove-button",...m}=e;return i.createElement(a.Icon,{...m,"data-name":h,className:r(l.button,"apply-common-tooltip",n&&l.active,p&&l.hidden,t),icon:s,onClick:o,onMouseDown:d,title:u||c.remove})}},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>i,SlotContext:()=>r});var o=n(59496);class i extends o.Component{shouldComponentUpdate(){return!1}render(){return o.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const r=o.createContext(null)},14758:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>i,SubmenuHandler:()=>r});var o=n(59496);const i=o.createContext(null);function r(e){const[t,n]=(0,o.useState)(null),r=(0,o.useRef)(null),a=(0,o.useRef)(new Map);return(0,o.useEffect)(()=>()=>{null!==r.current&&clearTimeout(r.current)},[]),o.createElement(i.Provider,{value:{current:t,setCurrent:function(e){null!==r.current&&(clearTimeout(r.current),r.current=null);null===t?n(e):r.current=setTimeout(()=>{r.current=null,n(e)},100)},registerSubmenu:function(e,t){return a.current.set(e,t),()=>{a.current.delete(e)}},isSubmenuNode:function(e){return Array.from(a.current.values()).some(t=>t(e))}}},e.children)}},40173:(e,t,n)=>{"use strict";function o(e,t,n={}){const o=Object.assign({},t);for(const i of Object.keys(t)){const r=n[i]||i;r in e&&(o[i]=[e[r],t[i]].join(" "))}return o}function i(e,t,n={}){return Object.assign({},e,o(e,t,n))}n.d(t,{weakComposeClasses:()=>o,mergeThemes:()=>i})},31328:e=>{ -e.exports=''},73366:e=>{e.exports=''},19726:e=>{e.exports=''},56326:e=>{e.exports=''},50303:e=>{e.exports=''},20618:e=>{e.exports=''},56775:e=>{e.exports=''},23848:e=>{e.exports=''},86508:e=>{e.exports=''},27603:e=>{e.exports=''},75614:e=>{ -e.exports=''},36311:e=>{ -e.exports=''},72843:e=>{e.exports=''},31006:e=>{ -e.exports=''},42925:e=>{e.exports=''},80781:e=>{e.exports=''},67978:e=>{ -e.exports=''},40526:e=>{e.exports=''},1033:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/8948.b703bd84d23db0af187d.css b/charting_library/bundles/8948.b703bd84d23db0af187d.css new file mode 100644 index 00000000..af9e91b4 --- /dev/null +++ b/charting_library/bundles/8948.b703bd84d23db0af187d.css @@ -0,0 +1 @@ +.text-button-jmRlvG08{align-items:center;background:none;border:none;border-radius:4px;box-sizing:border-box;display:inline-flex;justify-content:center;max-width:100%;outline:none;overflow:visible;padding:0;position:relative}.text-button-jmRlvG08:focus{outline:none}.text-button-jmRlvG08:focus-visible{outline:none}.text-button-jmRlvG08:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 4px);left:-2px;pointer-events:none;position:absolute;top:-2px;width:calc(100% + 4px);z-index:1}.text-button-jmRlvG08:focus:after{display:block}.text-button-jmRlvG08:focus-visible:after{display:block}.text-button-jmRlvG08:focus:not(:focus-visible):after{display:none}.text-button-jmRlvG08:after{border-color:#2962ffcc;border-radius:8px}.text-button-jmRlvG08 .content-jmRlvG08{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:0}.text-button-brand-small-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .text-button-brand-small-jmRlvG08{color:#2962ff}.text-button-brand-small-jmRlvG08:after{height:calc(100% + 16px);left:-12px;top:-8px;width:calc(100% + 24px)}.text-button-brand-small-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-8px;width:calc(100% + 16px)}.text-button-brand-small-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 20px)}.text-button-brand-small-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-4px;position:absolute;right:-8px;width:calc(100% + 12px)}.text-button-brand-small-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);left:-12px;top:-8px;width:calc(100% + 20px)}.text-button-brand-small-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-4px;width:calc(100% + 12px)}.text-button-brand-small-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-right:4px;z-index:0}.text-button-brand-small-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-left:2px;z-index:0}@media (any-hover:hover){.text-button-brand-small-jmRlvG08:hover,html.theme-dark .text-button-brand-small-jmRlvG08:hover{color:#2962ff}.text-button-brand-small-jmRlvG08:hover .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-small-jmRlvG08:hover .background-jmRlvG08{background:#132042}}.text-button-brand-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-brand-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-brand-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-brand-small-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-brand-small-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-brand-small-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-brand-small-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-brand-small-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-brand-small-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-brand-small-jmRlvG08:disabled{color:#5d606b}.text-button-brand-small-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-brand-medium-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-brand-medium-jmRlvG08{color:#2962ff}.text-button-brand-medium-jmRlvG08:after{height:calc(100% + 16px);left:-14px;top:-8px;width:calc(100% + 28px)}.text-button-brand-medium-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-10px;width:calc(100% + 20px)}.text-button-brand-medium-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);left:-10px;top:-8px;width:calc(100% + 24px)}.text-button-brand-medium-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-6px;position:absolute;right:-10px;width:calc(100% + 16px)}.text-button-brand-medium-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);left:-14px;top:-8px;width:calc(100% + 24px)}.text-button-brand-medium-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-6px;width:calc(100% + 16px)}.text-button-brand-medium-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-right:6px;z-index:0}.text-button-brand-medium-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-left:4px;z-index:0}@media (any-hover:hover){.text-button-brand-medium-jmRlvG08:hover,html.theme-dark .text-button-brand-medium-jmRlvG08:hover{color:#2962ff}.text-button-brand-medium-jmRlvG08:hover .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-medium-jmRlvG08:hover .background-jmRlvG08{background:#132042}}.text-button-brand-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-brand-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-brand-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-brand-medium-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-brand-medium-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-brand-medium-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-brand-medium-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-brand-medium-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-brand-medium-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-brand-medium-jmRlvG08:disabled{color:#5d606b}.text-button-brand-medium-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-brand-large-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-brand-large-jmRlvG08{color:#2962ff}.text-button-brand-large-jmRlvG08:after{height:calc(100% + 16px);left:-16px;top:-8px;width:calc(100% + 32px)}.text-button-brand-large-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-12px;width:calc(100% + 24px)}.text-button-brand-large-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);left:-12px;top:-8px;width:calc(100% + 28px)}.text-button-brand-large-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-12px;width:calc(100% + 20px)}.text-button-brand-large-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);left:-16px;top:-8px;width:calc(100% + 28px)}.text-button-brand-large-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-8px;width:calc(100% + 20px)}.text-button-brand-large-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-right:8px;z-index:0}.text-button-brand-large-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-left:6px;z-index:0}@media (any-hover:hover){.text-button-brand-large-jmRlvG08:hover,html.theme-dark .text-button-brand-large-jmRlvG08:hover{color:#2962ff}.text-button-brand-large-jmRlvG08:hover .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-large-jmRlvG08:hover .background-jmRlvG08{background:#132042}}.text-button-brand-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-brand-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-brand-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-brand-large-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-brand-large-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-brand-large-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-brand-large-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-brand-large-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-brand-large-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-brand-large-jmRlvG08:disabled{color:#5d606b}.text-button-brand-large-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-gray-small-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .text-button-gray-small-jmRlvG08{color:#d1d4dc}.text-button-gray-small-jmRlvG08:after{height:calc(100% + 16px);left:-12px;top:-8px;width:calc(100% + 24px)}.text-button-gray-small-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-8px;width:calc(100% + 16px)}.text-button-gray-small-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 20px)}.text-button-gray-small-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-4px;position:absolute;right:-8px;width:calc(100% + 12px)}.text-button-gray-small-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);left:-12px;top:-8px;width:calc(100% + 20px)}.text-button-gray-small-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-4px;width:calc(100% + 12px)}.text-button-gray-small-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-right:4px;z-index:0}.text-button-gray-small-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-left:2px;z-index:0}@media (any-hover:hover){.text-button-gray-small-jmRlvG08:hover{color:#131722}html.theme-dark .text-button-gray-small-jmRlvG08:hover{color:#fff}.text-button-gray-small-jmRlvG08:hover .background-jmRlvG08{background:#f8f9fd;display:block}html.theme-dark .text-button-gray-small-jmRlvG08:hover .background-jmRlvG08{background:#2a2e39}}.text-button-gray-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-gray-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-gray-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-gray-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-gray-small-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-gray-small-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-gray-small-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-gray-small-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-gray-small-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-gray-small-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-gray-small-jmRlvG08:disabled{color:#5d606b}.text-button-gray-small-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-gray-medium-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-gray-medium-jmRlvG08{color:#d1d4dc}.text-button-gray-medium-jmRlvG08:after{height:calc(100% + 16px);left:-14px;top:-8px;width:calc(100% + 28px)}.text-button-gray-medium-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-10px;width:calc(100% + 20px)}.text-button-gray-medium-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);left:-10px;top:-8px;width:calc(100% + 24px)}.text-button-gray-medium-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-6px;position:absolute;right:-10px;width:calc(100% + 16px)}.text-button-gray-medium-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);left:-14px;top:-8px;width:calc(100% + 24px)}.text-button-gray-medium-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-6px;width:calc(100% + 16px)}.text-button-gray-medium-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-right:6px;z-index:0}.text-button-gray-medium-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-left:4px;z-index:0}@media (any-hover:hover){.text-button-gray-medium-jmRlvG08:hover{color:#131722}html.theme-dark .text-button-gray-medium-jmRlvG08:hover{color:#fff}.text-button-gray-medium-jmRlvG08:hover .background-jmRlvG08{background:#f8f9fd;display:block}html.theme-dark .text-button-gray-medium-jmRlvG08:hover .background-jmRlvG08{background:#2a2e39}}.text-button-gray-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-gray-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-gray-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-gray-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-gray-medium-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-gray-medium-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-gray-medium-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-gray-medium-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-gray-medium-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-gray-medium-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-gray-medium-jmRlvG08:disabled{color:#5d606b}.text-button-gray-medium-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-gray-large-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-gray-large-jmRlvG08{color:#d1d4dc}.text-button-gray-large-jmRlvG08:after{height:calc(100% + 16px);left:-16px;top:-8px;width:calc(100% + 32px)}.text-button-gray-large-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-12px;width:calc(100% + 24px)}.text-button-gray-large-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);left:-12px;top:-8px;width:calc(100% + 28px)}.text-button-gray-large-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-12px;width:calc(100% + 20px)}.text-button-gray-large-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);left:-16px;top:-8px;width:calc(100% + 28px)}.text-button-gray-large-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-8px;width:calc(100% + 20px)}.text-button-gray-large-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-right:8px;z-index:0}.text-button-gray-large-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-left:6px;z-index:0}@media (any-hover:hover){.text-button-gray-large-jmRlvG08:hover{color:#131722}html.theme-dark .text-button-gray-large-jmRlvG08:hover{color:#fff}.text-button-gray-large-jmRlvG08:hover .background-jmRlvG08{background:#f8f9fd;display:block}html.theme-dark .text-button-gray-large-jmRlvG08:hover .background-jmRlvG08{background:#2a2e39}}.text-button-gray-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-gray-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-gray-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-gray-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-gray-large-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-gray-large-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-gray-large-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-gray-large-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-gray-large-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-gray-large-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-gray-large-jmRlvG08:disabled{color:#5d606b}.text-button-gray-large-jmRlvG08:disabled .background-jmRlvG08{display:none}.logo-jrIJiOY8{align-items:center;background:#fff;color:#131722;display:flex;justify-content:center;left:0;padding:20px 0 16px;position:absolute;right:0;top:0;z-index:2}html.theme-dark .logo-jrIJiOY8{background:#000;color:#fff}@media screen and (min-width:1024px){.logo-jrIJiOY8{padding:40px 0}}.back-button-ysmLHxY9{color:#131722;left:12px;position:absolute;top:14px;z-index:3}html.theme-dark .back-button-ysmLHxY9{color:#d1d4dc}@media screen and (min-width:1024px){.back-button-ysmLHxY9{display:none;left:auto;top:auto;transform:translate(calc(14px - 100%),-2px)}}.back-button-ysmLHxY9.hidden-ysmLHxY9{display:none}.textButton-ysmLHxY9.textButton-ysmLHxY9{display:none;z-index:3}@media screen and (min-width:1024px){.textButton-ysmLHxY9.textButton-ysmLHxY9{display:flex;left:40px;position:absolute;top:74px}}@media screen and (min-width:1920px){.textButton-ysmLHxY9{left:103px}}.textButton-ysmLHxY9.hidden-ysmLHxY9{display:none}.close-button-ysmLHxY9{position:absolute;right:12px;top:14px;z-index:3}@media screen and (min-width:1024px){.close-button-ysmLHxY9{right:32px;top:32px}}.close-button-ysmLHxY9.hidden-ysmLHxY9{display:none}.next-payment-info-bDg2DFsp{font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:21px}.dialog-ekStf8bO{background-color:#fff;opacity:0;transition:opacity .2625s cubic-bezier(.215,.61,.355,1)}html.theme-dark .dialog-ekStf8bO{background-color:#000}.dialog-ekStf8bO.open-animation-ekStf8bO,.dialog-ekStf8bO.open-animation-ekStf8bO .dialog-section-ekStf8bO{opacity:1}.dialog-section-ekStf8bO{display:flex;flex:auto;opacity:0;overflow:hidden;transition:opacity 175ms cubic-bezier(.55,.055,.675,.19) .2625s}.dialog-section-ekStf8bO.two-column-ekStf8bO{padding:72px 0 124px}@media screen and (min-width:1024px){.dialog-section-ekStf8bO.two-column-ekStf8bO{margin:0 auto;padding:105px 0 0;width:calc(100% - 80px)}}@media screen and (min-width:1920px){.dialog-section-ekStf8bO.two-column-ekStf8bO{width:calc(100% - 200px)}}.dialog-section-ekStf8bO.one-column-ekStf8bO{padding-top:61px}@media screen and (min-width:1024px){.dialog-section-ekStf8bO.one-column-ekStf8bO{padding-top:105px}}.body-ekStf8bO{grid-gap:40px;-webkit-overflow-scrolling:auto;align-items:stretch;color:#131722;display:grid;flex-grow:1;grid-template-columns:minmax(auto,100%);overflow-y:scroll;padding:0 20px;scrollbar-width:none}html.theme-dark .body-ekStf8bO{color:#fff}.body-ekStf8bO.sb-scrollbar-wrap{display:none}.body-ekStf8bO::-webkit-scrollbar{display:none;height:0;width:0}.body-ekStf8bO::-webkit-scrollbar-thumb,.body-ekStf8bO::-webkit-scrollbar-track{display:none}.body-ekStf8bO::-webkit-scrollbar-corner{display:none}@media screen and (min-width:1024px){.body-ekStf8bO{grid-template-columns:minmax(auto,calc(100% - 440px)) 400px;padding-left:0;padding-right:0}}@media screen and (min-width:1920px){.body-ekStf8bO{grid-gap:80px;grid-template-columns:minmax(auto,calc(100% - 720px)) 640px}}.one-column-ekStf8bO .body-ekStf8bO{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:0}.main-ekStf8bO{max-height:100%;padding-left:4px;position:relative}@media screen and (max-width:767px){.main-ekStf8bO.mainMobile-ekStf8bO{width:100%}}@media screen and (min-width:1024px){.cart-ekStf8bO{position:sticky;position:-webkit-sticky}}.hidden-ekStf8bO{display:none}.cart-bjdgLkZK{--paddingTopNotebook:105px;background-color:#f8f9fd;bottom:0;box-sizing:border-box;display:flex;flex-direction:column;left:0;padding:24px 0 72px;position:absolute;right:0;z-index:3}html.theme-dark .cart-bjdgLkZK{background-color:#131722}@media screen and (min-width:1024px){.cart-bjdgLkZK{border-radius:16px;height:auto;max-height:calc(100vh - var(--paddingTopNotebook) - 6px);padding-bottom:0;padding-top:7px;position:sticky;position:-webkit-sticky;top:0}}.purchase-info-bjdgLkZK{display:none}@media screen and (min-width:1024px){.purchase-info-bjdgLkZK{display:block}}.cart-bjdgLkZK.mobile-opened-bjdgLkZK .purchase-info-bjdgLkZK{display:block}.cart-bjdgLkZK.mobile-opened-bjdgLkZK{top:0}.row-layout-bjdgLkZK{grid-gap:8px;display:grid;grid-template-columns:1fr max-content}.product-name-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;text-transform:capitalize}html.theme-dark .product-name-bjdgLkZK{color:#fff}.product-cost-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}html.theme-dark .product-cost-bjdgLkZK{color:#fff}.productTrial-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.mobile-total-title-bjdgLkZK,.productTrial-bjdgLkZK{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.mobile-total-title-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-size:16px;font-style:normal;font-weight:400;line-height:24px}html.theme-dark .mobile-total-title-bjdgLkZK{color:#fff}.mobile-total-cost-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .mobile-total-cost-bjdgLkZK{color:#fff}.actions-bjdgLkZK{border-top-left-radius:16px;border-top-right-radius:16px;bottom:0;display:flex;flex-direction:column;left:0;padding:14px 20px 20px;position:absolute;right:0}@media screen and (min-width:1024px){.actions-bjdgLkZK{bottom:0;display:block;padding:0 24px 24px;position:sticky;position:-webkit-sticky}}@media screen and (max-width:1019px){.actions-bjdgLkZK{background-color:#f8f9fd}html.theme-dark .actions-bjdgLkZK{background-color:#131722}}@media screen and (min-width:1531px){.withPaymentDropdown-bjdgLkZK{display:inline-flex;flex-direction:row;gap:16px;justify-content:flex-end}}@media screen and (max-width:1530px){.withPaymentDropdown-bjdgLkZK{grid-gap:20px;display:grid;grid-template-columns:auto;grid-template-rows:auto}}.mobile-wrapper-bjdgLkZK{align-items:center;display:grid;gap:16px;grid-template-columns:max-content 1fr;margin-top:14px}.mobile-wrapper-bjdgLkZK.mobile-wrapper-opened-bjdgLkZK{grid-template-columns:1fr;margin-top:10px}@media screen and (min-width:1024px){.mobile-wrapper-bjdgLkZK{grid-template-columns:1fr;margin-top:0}}.mobile-total-bjdgLkZK{display:flex;flex-direction:column}@media screen and (min-width:1024px){.mobile-total-bjdgLkZK{display:none}}.mobile-opened-bjdgLkZK .mobile-total-bjdgLkZK{display:none}.caret-button-bjdgLkZK{align-content:center;cursor:pointer;display:flex;height:28px;margin:0 auto;width:28px}@media screen and (min-width:1024px){.caret-button-bjdgLkZK{display:none}}.header-caret-button-bjdgLkZK,.mobile-opened-bjdgLkZK .actions-bjdgLkZK .caret-button-bjdgLkZK{display:none}.mobile-opened-bjdgLkZK .header-caret-button-bjdgLkZK{display:block}@media screen and (min-width:1024px){.mobile-opened-bjdgLkZK .header-caret-button-bjdgLkZK{display:none}}.icon-bjdgLkZK{align-items:center;display:flex;flex:none;justify-content:center;transform:rotate(-180deg);transition:transform .35s ease}.icon-bjdgLkZK.dropped-bjdgLkZK{transform:rotate(0)}.badge-yHuWj4ze{--ui-lib-badge-default-color-focus-outline:#2962ffcc;align-items:center;background:var(--ui-lib-badge-background,var(--ui-lib-badge-default-background,#f0f3fa));border:none;border-radius:var(--ui-lib-badge-border-radius,var(--ui-lib-badge-default-border-radius));color:var(--ui-lib-badge-color-content,var(--ui-lib-badge-default-color-content,#131722));display:inline-flex;flex-flow:row nowrap;padding:var(--ui-lib-badge-padding-top,0) var(--ui-lib-badge-padding-right,var(--ui-lib-badge-default-padding-right)) var(--ui-lib-badge-padding-bottom,0) var(--ui-lib-badge-padding-left,var(--ui-lib-badge-default-padding-left));text-transform:uppercase;-webkit-user-select:none;user-select:none}html.theme-dark .badge-yHuWj4ze{background:var(--ui-lib-badge-background,var(--ui-lib-badge-default-background,#2a2e39));color:var(--ui-lib-badge-color-content,var(--ui-lib-badge-default-color-content,#fff))}.badge-yHuWj4ze{outline:none;overflow:visible;position:relative}.badge-yHuWj4ze:focus{outline:none}.badge-yHuWj4ze:focus-visible{outline:none}.badge-yHuWj4ze:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.badge-yHuWj4ze:focus:after{display:block}.badge-yHuWj4ze:focus-visible:after{display:block}.badge-yHuWj4ze:focus:not(:focus-visible):after{display:none}.badge-yHuWj4ze:after{border-color:var(--ui-lib-badge-color-focus-outline,var(--ui-lib-badge-default-color-focus-outline));border-radius:calc(var(--ui-lib-badge-border-radius, var(--ui-lib-badge-default-border-radius)) + 4px)}.content-yHuWj4ze{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.anchor-yHuWj4ze:active,.button-yHuWj4ze:active{transform:scale(.95)}.size-xsmall-yHuWj4ze{--ui-lib-badge-default-padding-left:4px;--ui-lib-badge-default-padding-right:4px;--ui-lib-badge-default-border-radius:3px;font-size:8px;font-weight:700;height:12px;letter-spacing:.5px;line-height:12px}.size-small-yHuWj4ze{--ui-lib-badge-default-padding-left:6px;--ui-lib-badge-default-padding-right:6px;--ui-lib-badge-default-border-radius:3px;font-size:11px;font-weight:600;height:16px;letter-spacing:.02em;line-height:16px}.size-medium-yHuWj4ze{--ui-lib-badge-default-padding-left:8px;--ui-lib-badge-default-padding-right:8px;--ui-lib-badge-default-border-radius:4px;font-size:11px;font-weight:600;height:20px;letter-spacing:.05em;line-height:18px}.size-large-yHuWj4ze{--ui-lib-badge-default-padding-left:10px;--ui-lib-badge-default-padding-right:10px;--ui-lib-badge-default-border-radius:6px;font-size:14px;font-weight:600;height:24px;letter-spacing:normal;line-height:18px}.size-xlarge-yHuWj4ze{--ui-lib-badge-default-padding-left:12px;--ui-lib-badge-default-padding-right:12px;--ui-lib-badge-default-border-radius:8px;font-size:17px;font-weight:700;height:32px;letter-spacing:.02em;line-height:24px}.badge-3HaOrC7Y{--ui-lib-badge-color-content:#fff;white-space:nowrap}.stocks-3HaOrC7Y{--ui-lib-badge-background:#ff9800}.futures-3HaOrC7Y{--ui-lib-badge-background:#2962ff}.indices-3HaOrC7Y{--ui-lib-badge-background:#9c27b0}.currency-3HaOrC7Y{--ui-lib-badge-background:#8d6e63}.certificates-3HaOrC7Y{--ui-lib-badge-background:#e91e63}.cryptocurrency-3HaOrC7Y{--ui-lib-badge-background:#4caf50}.badge-35MDaV7L{display:inline-flex}.description-35MDaV7L .badge-35MDaV7L:not(:last-child),.description-35MDaV7L .product-name-35MDaV7L:not(:last-child){margin-right:5px}.exchanges-hTiOOCdh{list-style-type:none}.row-layout-O7MPIjhm{grid-gap:16px;color:#131722;display:grid;grid-template-columns:1fr max-content}html.theme-dark .row-layout-O7MPIjhm{color:#d1d4dc}.row-name-O7MPIjhm{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400}.row-name-O7MPIjhm,.row-value-O7MPIjhm{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.row-value-O7MPIjhm{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:500;text-align:right}.purchase-info-8I7iMxAC{overflow-y:scroll;padding:0 20px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .purchase-info-8I7iMxAC{scrollbar-color:#363a45 #0000}.purchase-info-8I7iMxAC::-webkit-scrollbar{height:5px;width:5px}.purchase-info-8I7iMxAC::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .purchase-info-8I7iMxAC::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.purchase-info-8I7iMxAC::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.purchase-info-8I7iMxAC::-webkit-scrollbar-corner{display:none}@media screen and (min-width:1024px){.purchase-info-8I7iMxAC{padding:0 24px}}.cart-section-8I7iMxAC{padding:16px 0}.cart-section-8I7iMxAC:not(:last-child){border-bottom:1px solid #e0e3eb}html.theme-dark .cart-section-8I7iMxAC:not(:last-child){border-bottom:1px solid #434651}.exchange-item-8I7iMxAC{padding:8px 0}.exchange-item-8I7iMxAC:first-child{padding-top:0}.exchange-item-8I7iMxAC:last-child{padding-bottom:0}.total-8I7iMxAC{display:grid;grid-template-columns:1fr max-content}.total-title-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px}html.theme-dark .total-title-8I7iMxAC{color:#fff}.total-cost-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .total-cost-8I7iMxAC{color:#fff}.billing-freq-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .billing-freq-8I7iMxAC{color:#787b86}.highlightTitle-8I7iMxAC{font-weight:700}.highlight-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;background-color:#e3effd;border-radius:8px;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:18px;margin-top:16px;padding:12px}html.theme-dark .highlight-8I7iMxAC{background-color:#132042}.highlight-8I7iMxAC~.highlight-8I7iMxAC{margin-top:24px}.product-trial-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.cost-trial-8I7iMxAC,.product-trial-8I7iMxAC{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.cost-trial-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600;line-height:24px}.total-tax-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:18px;margin-top:2px}html.theme-dark .total-tax-8I7iMxAC{color:#787b86}.container-1PoDYo3m{grid-gap:12px;display:grid;grid-template-columns:max-content 1fr}@media screen and (min-width:1020px){.container-1PoDYo3m{grid-template-columns:1fr}}@media screen and (min-width:1531px){.container-1PoDYo3m{grid-auto-flow:column;grid-template-columns:auto;justify-content:flex-end}}.dropdown-item-1PoDYo3m{grid-gap:8px;align-items:center;display:grid;font-size:16px;grid-template-columns:max-content 1fr;line-height:20px}.icon-1PoDYo3m{align-items:center;display:flex;height:20px;width:32px}.icon-1PoDYo3m svg{height:100%;width:100%}.childrenWrapper-W0mNxTYg{opacity:0}.childrenWrapper-W0mNxTYg.shown-W0mNxTYg{opacity:1}.loader-W0mNxTYg{display:none}.loader-W0mNxTYg.shown-W0mNxTYg{display:block}.next-1Ts5vcta{display:grid}.title-i6YYU4Ty{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px}html.theme-dark .title-i6YYU4Ty{color:#fff}.description-i6YYU4Ty{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-top:8px}html.theme-dark .description-i6YYU4Ty{color:#fff}.button-RmahEtr8{align-items:flex-start;display:flex;margin-top:3px}.item-RmahEtr8{grid-gap:2px 8px;display:grid;grid-template-columns:min-content auto;padding:19px 0 13px}.item-RmahEtr8:not(:last-child){border-bottom:1px solid #e0e3eb}html.theme-dark .item-RmahEtr8:not(:last-child){border-bottom:1px solid #434651}@media screen and (min-width:1024px){.item-RmahEtr8{padding:21px 0 13px}}.title-RmahEtr8{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:4px}html.theme-dark .title-RmahEtr8{color:#fff}.description-RmahEtr8{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:2/4;line-height:18px;margin-bottom:6px}html.theme-dark .description-RmahEtr8{color:#787b86}@media screen and (min-width:768px){.description-RmahEtr8{grid-column:2/3}}.list-YclYOAXu{display:flex;flex-direction:column;padding-left:4px}.item-YclYOAXu{align-items:flex-start;border-bottom:1px solid #e0e3eb;cursor:pointer;display:flex;padding:16px 21px 16px 6px;position:relative}html.theme-dark .item-YclYOAXu{border-bottom:1px solid #363a45}.item-YclYOAXu:first-of-type{padding-top:29px}@media screen and (min-width:768px){.item-YclYOAXu{padding-left:25px}}@media screen and (min-width:1024px){.item-YclYOAXu{padding-left:0;padding-right:25px}}.item-disabled-YclYOAXu{cursor:default;opacity:.5}.info-YclYOAXu{grid-gap:0 6px;align-self:center;display:grid;flex-grow:1;grid-template-columns:min-content min-content 1fr}.checkbox-YclYOAXu{display:inline-block;position:relative}.title-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px}html.theme-dark .title-YclYOAXu{color:#fff}.exchange-name-YclYOAXu{direction:ltr;display:inline-block;margin-bottom:4px;margin-right:4px}.exchangeBadge-YclYOAXu{display:inline-flex;margin-bottom:4px;margin-left:2px;margin-right:4px;vertical-align:top}.flag-YclYOAXu{border-radius:50%;display:inline-block;height:18px;vertical-align:middle;width:18px}.description-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:3/4;line-height:18px;margin-top:0}html.theme-dark .description-YclYOAXu{color:#787b86}.prices-YclYOAXu{align-items:flex-start;position:relative}.price-YclYOAXu,.prices-YclYOAXu{display:flex;flex-direction:column}.price-YclYOAXu{align-items:flex-end}.month-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px;white-space:nowrap}html.theme-dark .month-YclYOAXu{color:#fff}.year-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;white-space:nowrap}@media screen and (max-width:767px){.year-YclYOAXu{margin-left:18px}}@media screen and (min-width:1024px){.year-YclYOAXu{margin-top:4px}}.resident-price-YclYOAXu{align-items:flex-start;display:flex;margin-bottom:10px}.infoIcon-YclYOAXu{color:#787b86;display:inline-flex}html.theme-dark .infoIcon-YclYOAXu{color:#d1d4dc}.infoIcon-YclYOAXu svg{height:20px;width:20px}@media (any-hover:hover){.infoIcon-YclYOAXu:hover{color:#434651}html.theme-dark .infoIcon-YclYOAXu:hover{color:#9598a1}}.infoIcon-YclYOAXu:focus{color:#131722}html.theme-dark .infoIcon-YclYOAXu:focus{color:#d1d4dc}.infoIcon-YclYOAXu:active{color:#131722}html.theme-dark .infoIcon-YclYOAXu:active{color:#d1d4dc}.tooltipTitle-YclYOAXu{display:inline-flex;margin-left:4px}.infoIconContainer-YclYOAXu{display:inline-flex}.spinner-YclYOAXu{min-height:80px;position:relative}.badge-YclYOAXu{color:#131722;position:absolute;right:-30px}html.theme-dark .badge-YclYOAXu{color:#fff}.info-Y4tMc12a{margin-top:10px}@media screen and (min-width:768px){.info-Y4tMc12a{margin-top:15px}}.link-Y4tMc12a{color:#2962ff;transition:color .35s ease}html.theme-dark .link-Y4tMc12a{color:#2962ff}.link-Y4tMc12a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-Y4tMc12a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-Y4tMc12a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-Y4tMc12a:hover{fill:#1e53e5;color:#1e53e5}}.link-Y4tMc12a:focus{outline:auto}.link-Y4tMc12a:focus-visible{outline:auto}.link-Y4tMc12a:focus:not(:focus-visible){outline:none}.link-Y4tMc12a:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-Y4tMc12a:active{fill:#1848cc;color:#1848cc}.text-Y4tMc12a{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;padding-bottom:16px}html.theme-dark .text-Y4tMc12a{color:#fff}.informer-Y4tMc12a{width:fit-content}.footer-ENI3UToR{margin:25px 0 20px}.info-ENI3UToR{margin-bottom:25px}.title-ENI3UToR{display:flex}.text-ENI3UToR{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px;margin-left:8px;margin-top:-2px}html.theme-dark .text-ENI3UToR{color:#fff}.description-ENI3UToR{margin-top:4px}.description-ENI3UToR,.description-logo-ENI3UToR{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;display:block;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}.description-logo-ENI3UToR{margin-top:2px}.ice-icon-ENI3UToR{direction:ltr}.icon-ENI3UToR{color:#131722}html.theme-dark .icon-ENI3UToR{color:#fff}.highlight-wrap-iKO7WU8n .highligh-extra-data-iKO7WU8n{animation-duration:1.3s;animation-iteration-count:1;animation-name:payment-highlight-light-iKO7WU8n;animation-timing-function:ease-in-out;background-color:initial}html.theme-dark .highlight-wrap-iKO7WU8n .highligh-extra-data-iKO7WU8n{animation-name:payment-highlight-dark-iKO7WU8n}@keyframes payment-highlight-light-iKO7WU8n{38%{background-color:#fff3e0}61%{background-color:#fff3e0}to{background-color:initial}}@keyframes payment-highlight-dark-iKO7WU8n{38%{background-color:#132042}61%{background-color:#132042}to{background-color:initial}}.group-kxBajQCf{border-radius:6px;margin-top:13px}.switcher-kxBajQCf{margin:0;padding:0}.switcher-kxBajQCf.margin-kxBajQCf{margin-top:15px}.tabs-kxBajQCf{-webkit-overflow-scrolling:touch;align-items:center;box-sizing:border-box;display:flex;height:38px;margin-top:10px;overflow-x:scroll;padding:0 5px;scrollbar-width:none}.tabs-kxBajQCf.sb-scrollbar-wrap{display:none}.tabs-kxBajQCf::-webkit-scrollbar{display:none;height:0;width:0}.tabs-kxBajQCf::-webkit-scrollbar-thumb,.tabs-kxBajQCf::-webkit-scrollbar-track{display:none}.tabs-kxBajQCf::-webkit-scrollbar-corner{display:none}.container-jJ28DorJ{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:0 10px}.icon-jJ28DorJ{color:#f23645}.title-jJ28DorJ{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px;margin-top:16px}html.theme-dark .title-jJ28DorJ{color:#fff}.description-jJ28DorJ{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;text-align:center}html.theme-dark .description-jJ28DorJ{color:#fff}.button-jJ28DorJ{margin-top:32px}.card-padding-ErxLIKiI{padding:0 22px}@media screen and (min-width:1024px){.card-padding-ErxLIKiI{padding:0 24px}}.card-ErxLIKiI{background:#fff;box-sizing:border-box;color:#131722;display:flex;flex-direction:column;padding-top:47px;position:relative;text-align:center}html.theme-dark .card-ErxLIKiI{background:#000}.card-ErxLIKiI .button-ErxLIKiI{margin-bottom:12px;margin-top:auto;padding-top:33px;width:100%}.cardLayout-ErxLIKiI{align-items:center;display:flex;flex-direction:column;position:relative;text-align:center}.wrapperFeatures-YtR0Roin{background:#fff;display:flex;padding-bottom:32px;position:relative;text-align:left}html.theme-dark .wrapperFeatures-YtR0Roin{background:#000}.padding-YtR0Roin{flex:0 1 308px;padding-top:2px}@media screen and (min-width:768px){.padding-YtR0Roin{flex:auto}}@media screen and (min-width:1440px){.padding-YtR0Roin{padding-top:0}}.titleFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px;margin-bottom:12px;text-align:left}html.theme-dark .titleFeatures-YtR0Roin{color:#fff}@media screen and (min-width:768px){.titleFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:14px}}.listFeatures-YtR0Roin{column-count:auto;list-style:none;padding-left:14px;text-align:left}.itemFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;align-content:center;color:#434651;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;margin-bottom:8px;position:relative;width:100%}html.theme-dark .itemFeatures-YtR0Roin{color:#b2b5be}@media screen and (min-width:768px){.itemFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}}.itemFeatures-YtR0Roin:last-child{margin-bottom:0}.itemFeatures-YtR0Roin:before{background:#d1d4dc;border-radius:50%;content:"";height:3px;left:-13px;position:absolute;top:8px;width:3px}html.theme-dark .itemFeatures-YtR0Roin:before{background:#434651}@media screen and (min-width:768px){.itemFeatures-YtR0Roin:before{top:12px}}.tooltipIcon-YtR0Roin{align-items:center;color:#131722;display:inline-flex;height:22px;width:22px}html.theme-dark .tooltipIcon-YtR0Roin{color:#d1d4dc}.tooltipTitle-YtR0Roin{display:inline-flex;margin-left:2px}.offerPrice-wCGVDggm{display:flex;height:65px;justify-content:center}.offerPrice-wCGVDggm .measure-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;justify-content:flex-end;line-height:18px;margin:0 0 10px 7px;position:relative}.measure-wCGVDggm{color:#787b86;font-size:12px;margin-left:-3px;text-align:left}html.theme-dark .measure-wCGVDggm{color:#787b86}@media screen and (min-width:1440px){.measure-wCGVDggm{margin-left:0}}.mainPrice-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;align-items:center;color:#131722;display:inline-flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:36px;font-style:normal;font-weight:600;line-height:44px;text-decoration:none}html.theme-dark .mainPrice-wCGVDggm{color:#fff}@media screen and (min-width:768px){.mainPrice-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:48px;font-style:normal;font-weight:600;line-height:56px}}.color-red-wCGVDggm .mainPrice-wCGVDggm,.color-red-wCGVDggm .mainPriceLetter-wCGVDggm,.color-red-wCGVDggm .sup-wCGVDggm{color:#f23645}html.theme-dark .color-red-wCGVDggm .mainPrice-wCGVDggm,html.theme-dark .color-red-wCGVDggm .mainPriceLetter-wCGVDggm,html.theme-dark .color-red-wCGVDggm .sup-wCGVDggm{color:#b22833}.color-green-wCGVDggm .mainPrice-wCGVDggm,.color-green-wCGVDggm .mainPriceLetter-wCGVDggm,.color-green-wCGVDggm .measure-wCGVDggm,html.theme-dark .color-green-wCGVDggm .mainPrice-wCGVDggm,html.theme-dark .color-green-wCGVDggm .mainPriceLetter-wCGVDggm,html.theme-dark .color-green-wCGVDggm .measure-wCGVDggm{color:#24b29b}.sup-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:700;line-height:28px;margin:10px 4px 0 0;position:relative}html.theme-dark .sup-wCGVDggm{color:#fff}@media screen and (min-width:768px){.sup-wCGVDggm{margin:10px 2px 0 0}}@media screen and (min-width:1440px){.sup-wCGVDggm{margin:10px 3px 0 0}}.button-oKQ8GSG1{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;height:40px;line-height:24px}@media screen and (min-width:1024px){.button-oKQ8GSG1{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;height:56px;line-height:24px}}.link-oKQ8GSG1{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;transition:color .35s ease}html.theme-dark .link-oKQ8GSG1{color:#2962ff}.link-oKQ8GSG1:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-oKQ8GSG1:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-oKQ8GSG1:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-oKQ8GSG1:hover{fill:#1e53e5;color:#1e53e5}}.link-oKQ8GSG1:focus{outline:auto}.link-oKQ8GSG1:focus-visible{outline:auto}.link-oKQ8GSG1:focus:not(:focus-visible){outline:none}.link-oKQ8GSG1:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-oKQ8GSG1:active{fill:#1848cc;color:#1848cc}.info-icon-PvYAVz99{color:#131722;height:19px;width:18px}html.theme-dark .info-icon-PvYAVz99{color:#fff}.info-icon-wrap-PvYAVz99{align-items:center;display:flex;margin-left:6px}.label-PvYAVz99{font-feature-settings:"tnum" on,"lnum" on;align-self:center;background:#08998126;border-radius:4px;color:#131722;display:flex;flex-flow:row nowrap;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px;overflow:hidden;padding:6px 10px;position:relative}html.theme-dark .label-PvYAVz99{color:#fff}@media screen and (min-width:768px){.label-PvYAVz99{margin-top:5px}}html.theme-dark .label-PvYAVz99{background:#08998140}.tooltip-wrap-PvYAVz99{height:80%;left:-20px;position:absolute;top:10%;width:200%}.cardTitle-omURZg64{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:600;line-height:36px;text-align:center}html.theme-dark .cardTitle-omURZg64{color:#fff}@media screen and (min-width:768px){.cardTitle-omURZg64{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:36px;font-style:normal;font-weight:600;line-height:44px}}.cardDescription-nrU0JU6d{font-feature-settings:"tnum" on,"lnum" on;color:#434651;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;height:45px;line-height:18px;margin-top:6px;padding-bottom:24px}html.theme-dark .cardDescription-nrU0JU6d{color:#b2b5be}@media screen and (min-width:768px){.cardDescription-nrU0JU6d{height:90px}}@media screen and (min-width:1024px){.cardDescription-nrU0JU6d{height:67px}}@media screen and (min-width:768px){.cardDescription-nrU0JU6d{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-top:5px}}.label-HkY0BJBZ{border-radius:4px 4px 0 4px;box-sizing:border-box;color:#fff;position:absolute;text-align:center;z-index:1}html.theme-dark .label-HkY0BJBZ{color:#fff}.label-HkY0BJBZ .icon-HkY0BJBZ{display:flex;height:28px;width:28px}.label-HkY0BJBZ:after{border-bottom:5px solid #0000;border-right:5px solid #0000;bottom:0;content:"";position:absolute;right:0;transform:translateY(9.8px);z-index:1}.label-HkY0BJBZ.discount-HkY0BJBZ{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.label-HkY0BJBZ.discount-HkY0BJBZ,.label-HkY0BJBZ.gift-HkY0BJBZ{padding:4px 12px;right:-13px;top:16px}.label-HkY0BJBZ.no-active-card-HkY0BJBZ{right:-11px}.label-discount-upsell-HkY0BJBZ{background:#b22833}html.theme-dark .label-discount-upsell-HkY0BJBZ{background:#801922}.label-discount-upsell-HkY0BJBZ:after{border-left:5px solid #801922;border-top:5px solid #801922}html.theme-dark .label-discount-upsell-HkY0BJBZ:after{border-left:5px solid #802028;border-top:5px solid #802028}.label-discount--pro-HkY0BJBZ{background:#f7525f}html.theme-dark .label-discount--pro-HkY0BJBZ{background:#cc2f3c}.label-discount--pro-HkY0BJBZ:after{border-left:5px solid #b22833;border-top:5px solid #b22833}html.theme-dark .label-discount--pro-HkY0BJBZ:after{border-left:5px solid #801922;border-top:5px solid #801922}.label-discount--pro_realtime-HkY0BJBZ{background:#f23645}html.theme-dark .label-discount--pro_realtime-HkY0BJBZ{background:#b22833}.label-discount--pro_realtime-HkY0BJBZ:after{border-left:5px solid #991f29;border-top:5px solid #991f29}html.theme-dark .label-discount--pro_realtime-HkY0BJBZ:after{border-left:5px solid #801922;border-top:5px solid #801922}.label-discount--pro_premium-HkY0BJBZ{background:#cc2f3c}html.theme-dark .label-discount--pro_premium-HkY0BJBZ{background:#991f29}.label-discount--pro_premium-HkY0BJBZ:after{border-left:5px solid #801922;border-top:5px solid #801922}html.theme-dark .label-discount--pro_premium-HkY0BJBZ:after{border-left:5px solid #801922;border-top:5px solid #801922}.label-gift--pro-HkY0BJBZ,html.theme-dark .label-gift--pro-HkY0BJBZ{background:#2962ff}.label-gift--pro-HkY0BJBZ:after{border-left:5px solid #1848cc;border-top:5px solid #1848cc}html.theme-dark .label-gift--pro-HkY0BJBZ:after{border-left:5px solid #1848cc;border-top:5px solid #1848cc}.label-gift--pro_realtime-HkY0BJBZ,html.theme-dark .label-gift--pro_realtime-HkY0BJBZ{background:#2962ff}.label-gift--pro_realtime-HkY0BJBZ:after{border-left:5px solid #1848cc;border-top:5px solid #1848cc}html.theme-dark .label-gift--pro_realtime-HkY0BJBZ:after{border-left:5px solid #1848cc;border-top:5px solid #1848cc}.label-gift--pro_premium-HkY0BJBZ,html.theme-dark .label-gift--pro_premium-HkY0BJBZ{background:#2962ff}.label-gift--pro_premium-HkY0BJBZ:after{border-left:5px solid #1848cc;border-top:5px solid #1848cc}html.theme-dark .label-gift--pro_premium-HkY0BJBZ:after{border-left:5px solid #1848cc;border-top:5px solid #1848cc}.cards-wrap-QQXm7yVo{margin:32px auto 0;max-width:1250px;padding:0}@media screen and (min-width:768px){.cards-wrap-QQXm7yVo{padding:0 19px}}@media screen and (min-width:1024px){.cards-wrap-QQXm7yVo{padding:0 30px}}@media screen and (min-width:1280px){.cards-wrap-QQXm7yVo{margin-top:40px}}@media screen and (min-width:1440px){.cards-wrap-QQXm7yVo{margin-top:48px;max-width:1235px}}.cards-QQXm7yVo{-webkit-overflow-scrolling:touch;overflow:scroll;scrollbar-width:none}.cards-QQXm7yVo.sb-scrollbar-wrap{display:none}.cards-QQXm7yVo::-webkit-scrollbar{display:none;height:0;width:0}.cards-QQXm7yVo::-webkit-scrollbar-thumb,.cards-QQXm7yVo::-webkit-scrollbar-track{display:none}.cards-QQXm7yVo::-webkit-scrollbar-corner{display:none}@media screen and (min-width:768px){.cards-QQXm7yVo{overflow:initial}}.cards-scroll-wrap-QQXm7yVo{display:grid;grid-template-areas:"top-0 top-1 top-2" "bottom-0 bottom-1 bottom-2";grid-template-columns:repeat(3,1fr);justify-content:flex-start;min-width:fit-content;padding:0 20px;position:relative}@media screen and (min-width:768px){.cards-scroll-wrap-QQXm7yVo{justify-content:center;padding:0}}.secondary-action-sizes-QQXm7yVo{margin-bottom:9px;min-height:38px}@media screen and (min-width:768px){.secondary-action-sizes-QQXm7yVo{min-height:52px}}@media screen and (min-width:1024px){.secondary-action-sizes-QQXm7yVo{margin-bottom:0;min-height:62px}}@media screen and (min-width:1440px){.secondary-action-sizes-QQXm7yVo{min-height:64px}}.has-active-QQXm7yVo .bottom-0-QQXm7yVo.is-active-QQXm7yVo~.bottom-1-QQXm7yVo,.has-active-QQXm7yVo .top-0-QQXm7yVo.is-active-QQXm7yVo~.top-1-QQXm7yVo{border-left-color:#2962ff;border-left-width:3px}html.theme-dark .has-active-QQXm7yVo .bottom-0-QQXm7yVo.is-active-QQXm7yVo~.bottom-1-QQXm7yVo,html.theme-dark .has-active-QQXm7yVo .top-0-QQXm7yVo.is-active-QQXm7yVo~.top-1-QQXm7yVo{border-left-color:#2962ff}.has-active-QQXm7yVo .bottom-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.bottom-1-QQXm7yVo,.has-active-QQXm7yVo .top-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.top-1-QQXm7yVo{border-right-color:#2962ff;border-right-width:3px}html.theme-dark .has-active-QQXm7yVo .bottom-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.bottom-1-QQXm7yVo,html.theme-dark .has-active-QQXm7yVo .top-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.top-1-QQXm7yVo{border-right-color:#2962ff}.has-active-QQXm7yVo .is-active-QQXm7yVo{border-color:#2962ff;border-width:3px}html.theme-dark .has-active-QQXm7yVo .is-active-QQXm7yVo{border-color:#2962ff}.top-QQXm7yVo{border:1px #e0e3eb;border-style:solid solid none;min-width:260px}html.theme-dark .top-QQXm7yVo{border-color:#2a2e39}@media screen and (min-width:768px){.top-QQXm7yVo{min-width:242px}}.top-0-QQXm7yVo{border-right-style:none;border-top-left-radius:12px;grid-area:top-0}.top-1-QQXm7yVo{grid-area:top-1}.top-2-QQXm7yVo{border-left-style:none;border-top-right-radius:12px;grid-area:top-2}.bottom-QQXm7yVo{border:1px solid #e0e3eb;border-top-style:none;min-width:260px}html.theme-dark .bottom-QQXm7yVo{border-color:#2a2e39}@media screen and (min-width:768px){.bottom-QQXm7yVo{min-width:242px}}.bottom-0-QQXm7yVo{border-bottom-left-radius:12px;border-right-style:none;grid-area:bottom-0}@media screen and (min-width:768px){.bottom-0-QQXm7yVo{border-bottom-left-radius:0}}.bottom-1-QQXm7yVo{grid-area:bottom-1}.bottom-2-QQXm7yVo{border-bottom-right-radius:12px;border-left-style:none;grid-area:bottom-2}@media screen and (min-width:768px){.bottom-2-QQXm7yVo{border-bottom-right-radius:0}}.skipTrial-7OCYXd1m{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .skipTrial-7OCYXd1m{color:#fff}.skipTrial-7OCYXd1m .link-7OCYXd1m{color:#2962ff;transition:color .35s ease}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m{color:#2962ff}.skipTrial-7OCYXd1m .link-7OCYXd1m:visited{fill:#2962ff;color:#2962ff}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.skipTrial-7OCYXd1m .link-7OCYXd1m:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m:hover{fill:#1e53e5;color:#1e53e5}}.skipTrial-7OCYXd1m .link-7OCYXd1m:focus{outline:auto}.skipTrial-7OCYXd1m .link-7OCYXd1m:focus-visible{outline:auto}.skipTrial-7OCYXd1m .link-7OCYXd1m:focus:not(:focus-visible){outline:none}.skipTrial-7OCYXd1m .link-7OCYXd1m:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m:active{fill:#1848cc;color:#1848cc}.change-trial-ntk0pgwQ{color:#2962ff;cursor:pointer;font-size:14px;font-style:normal;font-weight:400;line-height:21px;transition:color .35s ease}html.theme-dark .change-trial-ntk0pgwQ{color:#2962ff}.change-trial-ntk0pgwQ:visited{fill:#2962ff;color:#2962ff}html.theme-dark .change-trial-ntk0pgwQ:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.change-trial-ntk0pgwQ:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .change-trial-ntk0pgwQ:hover{fill:#1e53e5;color:#1e53e5}}.change-trial-ntk0pgwQ:focus{outline:auto}.change-trial-ntk0pgwQ:focus-visible{outline:auto}.change-trial-ntk0pgwQ:focus:not(:focus-visible){outline:none}.change-trial-ntk0pgwQ:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .change-trial-ntk0pgwQ:active{fill:#1848cc;color:#1848cc}.current-trial-ntk0pgwQ{color:#131722;font-size:14px;font-style:normal;font-weight:400;line-height:21px}html.theme-dark .current-trial-ntk0pgwQ{color:#d1d4dc}.description-d5Tocwga{color:#131722;font-size:14px;font-style:normal;font-weight:400;line-height:21px}html.theme-dark .description-d5Tocwga{color:#fff}.link-d5Tocwga{color:#2962ff;cursor:pointer;transition:color .35s ease}html.theme-dark .link-d5Tocwga{color:#2962ff}.link-d5Tocwga:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-d5Tocwga:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-d5Tocwga:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-d5Tocwga:hover{fill:#1e53e5;color:#1e53e5}}.link-d5Tocwga:focus{outline:auto}.link-d5Tocwga:focus-visible{outline:auto}.link-d5Tocwga:focus:not(:focus-visible){outline:none}.link-d5Tocwga:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-d5Tocwga:active{fill:#1848cc;color:#1848cc}.container-5CQYJZ9F{font-feature-settings:"tnum" on,"lnum" on;align-items:center;color:#2962ff;cursor:pointer;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;grid-column:1/4;justify-content:flex-start;line-height:24px;padding:20px;position:relative;transition:color .35s ease;width:100%}html.theme-dark .container-5CQYJZ9F{color:#2962ff}.container-5CQYJZ9F:visited{fill:#2962ff;color:#2962ff}html.theme-dark .container-5CQYJZ9F:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.container-5CQYJZ9F:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .container-5CQYJZ9F:hover{fill:#1e53e5;color:#1e53e5}}.container-5CQYJZ9F:focus{outline:auto}.container-5CQYJZ9F:focus-visible{outline:auto}.container-5CQYJZ9F:focus:not(:focus-visible){outline:none}.container-5CQYJZ9F:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .container-5CQYJZ9F:active{fill:#1848cc;color:#1848cc}@media screen and (min-width:568px){.container-5CQYJZ9F{padding:22px 20px}}@media screen and (min-width:768px){.container-5CQYJZ9F{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;justify-content:center;line-height:24px;padding:16px 0}}.text-5CQYJZ9F{margin-right:auto}@media screen and (min-width:768px){.text-5CQYJZ9F{margin-right:0}}.icon-5CQYJZ9F{align-items:center;display:flex;height:26px;margin-left:17px;width:20px}@media screen and (min-width:768px){.icon-5CQYJZ9F{margin-left:5px}}.icon-mrROUtv5{color:#2962ff;transition:color .35s ease}html.theme-dark .icon-mrROUtv5{color:#2962ff}.icon-mrROUtv5:visited{fill:#2962ff;color:#2962ff}html.theme-dark .icon-mrROUtv5:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.icon-mrROUtv5:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .icon-mrROUtv5:hover{fill:#1e53e5;color:#1e53e5}}.icon-mrROUtv5:focus{outline:auto}.icon-mrROUtv5:focus-visible{outline:auto}.icon-mrROUtv5:focus:not(:focus-visible){outline:none}.icon-mrROUtv5:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .icon-mrROUtv5:active{fill:#1848cc;color:#1848cc}.under-cards-5bi7tudm{background:#fff;border-bottom:1px solid #e0e3eb;border-left:1px solid #e0e3eb;border-radius:0 0 12px 12px;border-right:1px solid #e0e3eb;border-top-color:#e0e3eb;border-top-width:1px;display:flex;position:relative}html.theme-dark .under-cards-5bi7tudm{background:#131722;border-color:#2a2e39}.under-cards-5bi7tudm,html.theme-dark .under-cards-5bi7tudm{background-color:initial;border-color:#0000}@media screen and (min-width:768px){.under-cards-5bi7tudm,html.theme-dark .under-cards-5bi7tudm{border-color:#e0e3eb}html.theme-dark .under-cards-5bi7tudm,html.theme-dark html.theme-dark .under-cards-5bi7tudm{border-color:#2a2e39}}.light-button-1f5iHRsw{align-items:center;background-color:var(--ui-lib-light-button-color-bg,var(--ui-lib-light-button-default-color-bg));border:1px solid var(--ui-lib-light-button-color-border,var(--ui-lib-light-button-default-color-border));border-radius:8px;box-sizing:border-box;color:var(--ui-lib-light-button-color-content,var(--ui-lib-light-button-default-color-content));display:inline-flex;justify-content:center;max-width:100%;min-width:40px;outline:none;overflow:visible;position:relative}.light-button-1f5iHRsw:focus{outline:none}.light-button-1f5iHRsw:focus-visible{outline:none}.light-button-1f5iHRsw:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.light-button-1f5iHRsw:focus:after{display:block}.light-button-1f5iHRsw:focus-visible:after{display:block}.light-button-1f5iHRsw:focus:not(:focus-visible):after{display:none}.light-button-1f5iHRsw:after{border-radius:12px}.light-button-1f5iHRsw.disable-cursor-pointer-1f5iHRsw{cursor:default}.light-button-1f5iHRsw .content-1f5iHRsw{align-items:center;align-self:stretch;display:inline-flex;overflow:hidden;white-space:nowrap}.light-button-1f5iHRsw .ellipsis-container-1f5iHRsw{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-button-1f5iHRsw .icon-1f5iHRsw{display:inline-flex;flex-shrink:0;max-height:28px;max-width:28px;min-height:18px;min-width:18px}.light-button-1f5iHRsw .content-1f5iHRsw:not(:last-child),.light-button-1f5iHRsw .icon-1f5iHRsw:not(:last-child){margin-inline-end:4px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#fff;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#fff;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#fff;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#06806bcc}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#fff;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#06806bcc}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#fff;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#f23645cc}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#b22833}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#fff;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#f23645cc}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#b22833}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#434651;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#bbd9fb;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#143a87;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#434651;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#bbd9fb;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#143a87;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#0000;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#0000;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#0000;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#0000;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#0000;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#06806bcc}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#0000;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#06806bcc}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#0000;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#f23645cc}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#f23645}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#0000;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#f23645cc}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#f23645}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(180deg)}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.group-7eb3l0ph{display:inline-grid;grid-template-columns:repeat(var(--ui-lib-control-group-cols),minmax(0,auto));grid-template-rows:repeat(var(--ui-lib-control-group-rows),minmax(0,auto))}.light-button-group-7mI4HslZ{border:1px solid #e0e3eb;border-radius:12px;gap:4px;padding:3px}html.theme-dark .light-button-group-7mI4HslZ{border:1px solid #434651}.label-GH2s1rfd{font-feature-settings:"tnum" on,"lnum" on;background:#08998126;border-radius:8px;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:21px;line-height:18px;padding:8px 16px;text-align:center}html.theme-dark .label-GH2s1rfd{background:#08998140;color:#fff}@media screen and (min-width:568px){.label-GH2s1rfd{max-width:250px}}@media screen and (min-width:768px){.label-GH2s1rfd{align-items:center;display:flex;max-width:none;padding:10px 16px}}.container-13Vfp93l{align-items:center;display:flex;flex-direction:column;margin-top:16px;padding:0 20px}@media screen and (min-width:1280px){.container-13Vfp93l{margin-top:24px}}.switcher-13Vfp93l{margin-bottom:8px;position:relative}.arrow-curve-13Vfp93l{position:absolute;right:-48px;top:4px}@media screen and (min-width:768px){.arrow-curve-13Vfp93l{right:-52px}}.emoji-13Vfp93l{font-size:20px;line-height:22px;vertical-align:top}.nowrap-13Vfp93l{white-space:nowrap}@media screen and (min-width:568px){.nowrap-13Vfp93l{display:initial}}@media screen and (min-width:768px){.nowrap-13Vfp93l{align-items:center;display:flex}}.title-vjlx3nMq{font-size:48px;font-style:normal;font-weight:600;line-height:56px;margin-bottom:16px;text-align:center}@media screen and (max-width:767px){.title-vjlx3nMq{font-size:32px;font-style:normal;font-weight:600;line-height:40px}}@media screen and (min-width:1280px){.title-vjlx3nMq{margin-bottom:24px}}.secondary-vjlx3nMq{font-size:18px;font-style:normal;font-weight:400;line-height:28px;text-align:center}.titleContainer-vjlx3nMq{color:#131722;padding:0 8px 48px}@media screen and (max-width:1530px){.titleContainer-vjlx3nMq{padding-bottom:32px}}@media screen and (max-width:767px){.titleContainer-vjlx3nMq{padding-bottom:24px}}.title-vrUcGhJD{margin:0 auto;max-width:800px;padding:0 20px}@media screen and (min-width:1280px){.title-vrUcGhJD{margin-bottom:0}}.title-vrUcGhJD h1{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:EuclidCircularSemibold,sans-serif;font-size:40px;font-style:normal;font-weight:600;letter-spacing:-.02em;line-height:40px;margin-bottom:0}html.theme-dark .title-vrUcGhJD h1{color:#fff}@media screen and (min-width:768px){.title-vrUcGhJD h1{font-feature-settings:"tnum" on,"lnum" on;font-family:EuclidCircularSemibold,sans-serif;font-size:56px;font-style:normal;font-weight:600;letter-spacing:-.02em;line-height:56px}}@media screen and (min-width:1280px){.title-vrUcGhJD h1{font-feature-settings:"tnum" on,"lnum" on;font-family:EuclidCircularSemibold,sans-serif;font-size:80px;font-style:normal;font-weight:600;letter-spacing:-.02em;line-height:80px}}.secondary-vrUcGhJD{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:24px}html.theme-dark .secondary-vrUcGhJD{color:#d1d4dc}@media screen and (min-width:768px){.secondary-vrUcGhJD{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:400;line-height:32px}}@media screen and (min-width:1280px){.secondary-vrUcGhJD{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:400;line-height:40px}}@media screen and (min-width:1440px){.secondary-vrUcGhJD{margin-bottom:23px}}.link-vrUcGhJD{color:#2962ff;transition:color .35s ease}html.theme-dark .link-vrUcGhJD{color:#2962ff}.link-vrUcGhJD:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-vrUcGhJD:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-vrUcGhJD:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-vrUcGhJD:hover{fill:#1e53e5;color:#1e53e5}}.link-vrUcGhJD:focus{outline:auto}.link-vrUcGhJD:focus-visible{outline:auto}.link-vrUcGhJD:focus:not(:focus-visible){outline:none}.link-vrUcGhJD:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-vrUcGhJD:active{fill:#1848cc;color:#1848cc}.title-X4q9jvDs{font-size:36px;font-style:normal;font-weight:600;line-height:44px;margin:0 20px}@media screen and (max-width:767px){.title-X4q9jvDs{font-size:28px;font-style:normal;font-weight:600;line-height:36px}}.secondary-X4q9jvDs{font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-top:16px}@media screen and (max-width:767px){.secondary-X4q9jvDs{margin-top:12px}}.titleContainer-X4q9jvDs{color:#131722;margin-bottom:48px;text-align:center}html.theme-dark .titleContainer-X4q9jvDs{color:#d1d4dc}@media screen and (max-width:1530px){.titleContainer-X4q9jvDs{margin-bottom:32px}}@media screen and (max-width:767px){.titleContainer-X4q9jvDs{margin-bottom:24px}}.cards-xDk5tnZJ{margin-bottom:80px;max-width:min(100vw,1235px)}.container-xDk5tnZJ{display:grid;flex-direction:column;justify-content:center}@media screen and (min-width:1024px){.container-xDk5tnZJ{margin:20px;width:980px}}@media screen and (min-width:1480px){.container-xDk5tnZJ{width:1480px}}.vertical-alignment-height-xDk5tnZJ{max-height:100%}.block-wrap-xDk5tnZJ{display:block}@media screen and (max-width:1530px){.cards-xDk5tnZJ{margin-bottom:72px}}@media screen and (max-width:767px){.cards-xDk5tnZJ{margin-bottom:56px}}.termsCheckboxesContainer-IxYXs9Hp{grid-row-gap:20px;display:grid;grid-template-columns:100%;grid-template-rows:auto;margin-bottom:20px}.infoIcon-IxYXs9Hp,.nonProLable-IxYXs9Hp{align-items:center;display:flex}.infoIcon-IxYXs9Hp{margin-left:4px}.infoIcon-IxYXs9Hp svg{height:18px;width:18px}.swithcherContainer-OB6hG3Dv{margin:0}.swithcherContainer-RrUqgK2t{margin:0;padding:0}.trialSubtitle-RrUqgK2t{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin:8px 0 12px}.changeTrialTerms-RrUqgK2t{margin-top:32px}.billing-cycle-item-1JAaqBgk{grid-gap:4px 12px;cursor:pointer;display:grid;grid-template-columns:min-content 1fr max-content;margin:0 -6px;padding:16px 6px}@media screen and (min-width:1024px){.billing-cycle-item-1JAaqBgk{grid-gap:4px 9px;margin:0;padding:16px 16px 16px 0}}.billing-cycle-item-1JAaqBgk:not(:last-child){border-bottom:1px solid #e0e3eb}html.theme-dark .billing-cycle-item-1JAaqBgk:not(:last-child){border-bottom:1px solid #434651}.billing-cycle-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;text-transform:capitalize}html.theme-dark .billing-cycle-1JAaqBgk{color:#fff}.description-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:2/3;line-height:18px;margin-bottom:6px}html.theme-dark .description-1JAaqBgk{color:#787b86}.highlight-1JAaqBgk{background-color:#fff3e0;border-radius:6px;padding:8px 12px}html.theme-dark .highlight-1JAaqBgk{background-color:#132042}@media screen and (min-width:1280px){.highlight-1JAaqBgk{width:max-content}}.highlight-1JAaqBgk>*{color:#787b86}html.theme-dark .highlight-1JAaqBgk>*{color:#d1d4dc}.price-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;grid-column:3/4;grid-row:1/2;line-height:24px;text-align:right}html.theme-dark .price-1JAaqBgk{color:#fff}.full-price-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:3/4;line-height:18px;text-align:right}html.theme-dark .full-price-1JAaqBgk{color:#787b86}.disabled-1JAaqBgk{cursor:auto}.disabled-1JAaqBgk .billing-cycle-1JAaqBgk,.disabled-1JAaqBgk .description-1JAaqBgk,.disabled-1JAaqBgk .full-price-1JAaqBgk,.disabled-1JAaqBgk .price-1JAaqBgk{opacity:.4}.billing-cycles-qU0k2PxV{margin-top:16px}.button-c4OTPHT1{margin-top:32px}.vertical-alignment-height-z3YnaYkd{max-height:100%}.wrapper-z3YnaYkd{align-items:center;display:flex;flex-direction:column;padding-top:20px}@media screen and (min-width:1280px){.wrapper-z3YnaYkd{padding-top:0}}.container-z3YnaYkd{align-items:center;display:grid;gap:40px;grid-template-columns:minmax(auto,560px);justify-content:center;margin:0 20px}@media screen and (min-width:768px){.container-z3YnaYkd{grid-template-columns:560px}}@media screen and (min-width:1280px){.container-z3YnaYkd{grid-template-columns:repeat(2,560px)}}.icon-z3YnaYkd{color:#089981}.icon-z3YnaYkd svg{height:44px;width:44px}.title-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px;margin-top:16px;text-align:center}html.theme-dark .title-z3YnaYkd{color:#fff}.cheque-z3YnaYkd{background-color:#f8f9fd;border-radius:16px;padding:24px}html.theme-dark .cheque-z3YnaYkd{background-color:#131722}.highlightBlock-z3YnaYkd{grid-column:1;justify-self:end;margin-top:20px;padding:20px}@media screen and (min-width:1280px){.highlightBlock-z3YnaYkd{grid-column:1/3;width:520px}}.grid-z3YnaYkd{display:grid}.flex-z3YnaYkd{align-content:center;align-items:center;display:flex;justify-content:space-between}.paymentInfo-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.description-z3YnaYkd,.paymentInfo-z3YnaYkd{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.description-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-size:11px;font-style:normal;font-weight:400;letter-spacing:.4px;line-height:16px;margin-top:20px;padding-bottom:5px;text-transform:uppercase}.descriptionBlock-z3YnaYkd{max-width:730px;text-align:center}.border-z3YnaYkd{border-top:1px solid #e0e3eb}html.theme-dark .border-z3YnaYkd{border-top:1px solid #434651}.paddingRow-z3YnaYkd{grid-gap:24px;grid-template-columns:1fr max-content;margin-top:0;padding:10px 0}.paddingRow-z3YnaYkd:first-child{padding:0 0 10px}.paddingRow-z3YnaYkd:last-child{padding:10px 0 0}.trialPaddingRow-z3YnaYkd{padding:0 0 20px}.proPlanPaddingRow-z3YnaYkd{padding:20px 0}.trialFirstPaddingRow-z3YnaYkd{padding-bottom:24px}.exchangesListWrapper-z3YnaYkd{padding:20px 0}.productText-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;align-items:center;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}html.theme-dark .productText-z3YnaYkd{color:#fff}.wrapperTotalCost-z3YnaYkd{padding-top:20px}.total-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:30px}html.theme-dark .total-z3YnaYkd{color:#fff}.totalCost-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:20px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .totalCost-z3YnaYkd{color:#fff}.button-z3YnaYkd{margin-top:32px}.tax-z3YnaYkd{padding:20px 0}.trial-tax-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:18px;margin-top:2px}html.theme-dark .trial-tax-z3YnaYkd{color:#787b86}.product-trial-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.cost-trial-z3YnaYkd,.product-trial-z3YnaYkd{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.cost-trial-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600;line-height:24px}.agreement-switch-xGfsY7aB{margin-top:32px}.legend-xGfsY7aB{font-weight:700}.error-wrapper-xGfsY7aB{align-items:center;display:flex;height:28px;margin-top:12px}.error-icon-xGfsY7aB{display:flex;margin-left:auto}.switch-group-xGfsY7aB{grid-gap:20px;display:grid;grid-template-columns:min-content min-content}@media screen and (max-width:1530px){.agreement-switch-xGfsY7aB{margin-top:24px}}@media screen and (max-width:767px){.agreement-switch-xGfsY7aB{margin-top:16px}}.checkbox-PDtI2r2Z{color:#131722}.error-wrapper-PDtI2r2Z{align-items:center;display:flex;height:28px}.error-icon-PDtI2r2Z{display:flex;margin-left:auto}.occupation-GVt2ue8G{grid-gap:16px;display:grid;margin-top:16px}.nothing-selected-GVt2ue8G{color:#a3a6af;opacity:.6}html.theme-dark .nothing-selected-GVt2ue8G{color:#50535e}.occupation-menu-GVt2ue8G .nothing-selected-GVt2ue8G{padding-left:12px}.subscribers-inputs-okfUHTUP{grid-gap:16px;display:grid;grid-template-columns:1fr;margin-top:32px}.subscribers-inputs-okfUHTUP .dropdown-okfUHTUP{left:auto;right:-5px}@media screen and (min-width:768px){.subscribers-inputs-okfUHTUP{grid-template-columns:1fr 1fr}}.country-select-container-okfUHTUP{position:relative}.page-RRWggudg{background:linear-gradient(62.99deg,#5b9cf6,#2962ff 50%,#1848cc)}@media screen and (min-width:768px){.page-RRWggudg{padding:80px 0}}.sheet-RRWggudg{background:#fff;border-radius:4px;box-sizing:border-box;color:#131722;font-size:16px;line-height:24px;margin:0 auto;max-width:760px;padding:16px 16px 32px;position:relative}html.theme-dark .sheet-RRWggudg{background:#131722;color:#d1d4dc}@media screen and (min-width:768px){.sheet-RRWggudg{padding:32px 32px 68px}}.page-title-RRWggudg{font-size:24px;font-weight:700;line-height:32px}.page-sub-title-RRWggudg{margin-top:8px}.exchange-agreement-description-RRWggudg{margin-top:32px}.exchange-file-link-RRWggudg{color:#2962ff;display:block;margin-top:12px;transition:color .35s ease}html.theme-dark .exchange-file-link-RRWggudg{color:#2962ff}.exchange-file-link-RRWggudg:visited{fill:#2962ff;color:#2962ff}html.theme-dark .exchange-file-link-RRWggudg:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.exchange-file-link-RRWggudg:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .exchange-file-link-RRWggudg:hover{fill:#1e53e5;color:#1e53e5}}.exchange-file-link-RRWggudg:focus{outline:auto}.exchange-file-link-RRWggudg:focus-visible{outline:auto}.exchange-file-link-RRWggudg:focus:not(:focus-visible){outline:none}.exchange-file-link-RRWggudg:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .exchange-file-link-RRWggudg:active{fill:#1848cc;color:#1848cc}.section-title-RRWggudg{font-size:20px;line-height:28px;margin-top:48px}.section-terms-description-RRWggudg{margin-top:12px}.questions-title-RRWggudg{font-size:18px;font-weight:700;line-height:26px;margin-top:32px}.questions-RRWggudg{padding-left:20px}.question-RRWggudg{margin-top:16px}.actions-RRWggudg{grid-gap:16px;display:grid;grid-auto-flow:row;margin-top:48px}@media screen and (min-width:768px){.actions-RRWggudg{grid-auto-flow:column;justify-content:flex-end}}.checkbox-margin-RRWggudg{margin-top:32px}.accept-terms-checkbox-margin-RRWggudg{margin-top:12px}@media screen and (max-width:1530px){.exchange-agreement-description-RRWggudg{margin-top:24px}}@media screen and (max-width:767px){.exchange-agreement-description-RRWggudg{margin-top:16px}}@media screen and (max-width:1530px){.section-title-RRWggudg{margin-top:32px}}@media screen and (max-width:767px){.section-title-RRWggudg{margin-top:24px}}@media screen and (max-width:1530px){.questions-title-RRWggudg{margin-top:24px}}@media screen and (max-width:767px){.questions-title-RRWggudg{margin-top:16px}}@media screen and (max-width:1530px){.actions-RRWggudg{margin-top:32px}}@media screen and (max-width:767px){.actions-RRWggudg{margin-top:24px}}@media screen and (max-width:1530px){.checkbox-margin-RRWggudg{margin-top:24px}}@media screen and (max-width:767px){.checkbox-margin-RRWggudg{margin-top:16px}}.container-gg7uxeBC{margin:0 auto;max-width:760px;padding:32px 32px 68px}@media screen and (max-width:767px){.container-gg7uxeBC{margin:0}}.container-XzdX3itL{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center}.icon-XzdX3itL{color:#42bda8}html.theme-dark .icon-XzdX3itL{color:#089981}.title-XzdX3itL{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:700;line-height:28px;margin-top:20px}@media screen and (max-width:479px){.title-XzdX3itL{margin-top:5px;text-align:center}}.descriptionBlock-XzdX3itL{margin-top:30px;max-width:730px;text-align:center} \ No newline at end of file diff --git a/charting_library/bundles/8948.b703bd84d23db0af187d.rtl.css b/charting_library/bundles/8948.b703bd84d23db0af187d.rtl.css new file mode 100644 index 00000000..ea33e2c6 --- /dev/null +++ b/charting_library/bundles/8948.b703bd84d23db0af187d.rtl.css @@ -0,0 +1 @@ +.text-button-jmRlvG08{align-items:center;background:none;border:none;border-radius:4px;box-sizing:border-box;display:inline-flex;justify-content:center;max-width:100%;outline:none;overflow:visible;padding:0;position:relative}.text-button-jmRlvG08:focus{outline:none}.text-button-jmRlvG08:focus-visible{outline:none}.text-button-jmRlvG08:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 4px);pointer-events:none;position:absolute;right:-2px;top:-2px;width:calc(100% + 4px);z-index:1}.text-button-jmRlvG08:focus:after{display:block}.text-button-jmRlvG08:focus-visible:after{display:block}.text-button-jmRlvG08:focus:not(:focus-visible):after{display:none}.text-button-jmRlvG08:after{border-color:#2962ffcc;border-radius:8px}.text-button-jmRlvG08 .content-jmRlvG08{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:0}.text-button-brand-small-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .text-button-brand-small-jmRlvG08{color:#2962ff}.text-button-brand-small-jmRlvG08:after{height:calc(100% + 16px);right:-12px;top:-8px;width:calc(100% + 24px)}.text-button-brand-small-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-8px;width:calc(100% + 16px)}.text-button-brand-small-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 20px)}.text-button-brand-small-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-4px;width:calc(100% + 12px)}.text-button-brand-small-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);right:-12px;top:-8px;width:calc(100% + 20px)}.text-button-brand-small-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-4px;position:absolute;right:-8px;width:calc(100% + 12px)}.text-button-brand-small-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-left:4px;z-index:0}.text-button-brand-small-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-right:2px;z-index:0}@media (any-hover:hover){.text-button-brand-small-jmRlvG08:hover,html.theme-dark .text-button-brand-small-jmRlvG08:hover{color:#2962ff}.text-button-brand-small-jmRlvG08:hover .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-small-jmRlvG08:hover .background-jmRlvG08{background:#132042}}.text-button-brand-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-brand-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-brand-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-brand-small-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-brand-small-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-brand-small-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-brand-small-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-brand-small-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-brand-small-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-brand-small-jmRlvG08:disabled{color:#5d606b}.text-button-brand-small-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-brand-medium-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-brand-medium-jmRlvG08{color:#2962ff}.text-button-brand-medium-jmRlvG08:after{height:calc(100% + 16px);right:-14px;top:-8px;width:calc(100% + 28px)}.text-button-brand-medium-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-10px;width:calc(100% + 20px)}.text-button-brand-medium-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);right:-10px;top:-8px;width:calc(100% + 24px)}.text-button-brand-medium-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-6px;width:calc(100% + 16px)}.text-button-brand-medium-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);right:-14px;top:-8px;width:calc(100% + 24px)}.text-button-brand-medium-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-6px;position:absolute;right:-10px;width:calc(100% + 16px)}.text-button-brand-medium-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-left:6px;z-index:0}.text-button-brand-medium-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-right:4px;z-index:0}@media (any-hover:hover){.text-button-brand-medium-jmRlvG08:hover,html.theme-dark .text-button-brand-medium-jmRlvG08:hover{color:#2962ff}.text-button-brand-medium-jmRlvG08:hover .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-medium-jmRlvG08:hover .background-jmRlvG08{background:#132042}}.text-button-brand-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-brand-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-brand-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-brand-medium-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-brand-medium-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-brand-medium-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-brand-medium-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-brand-medium-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-brand-medium-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-brand-medium-jmRlvG08:disabled{color:#5d606b}.text-button-brand-medium-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-brand-large-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-brand-large-jmRlvG08{color:#2962ff}.text-button-brand-large-jmRlvG08:after{height:calc(100% + 16px);right:-16px;top:-8px;width:calc(100% + 32px)}.text-button-brand-large-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-12px;width:calc(100% + 24px)}.text-button-brand-large-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);right:-12px;top:-8px;width:calc(100% + 28px)}.text-button-brand-large-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-8px;width:calc(100% + 20px)}.text-button-brand-large-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);right:-16px;top:-8px;width:calc(100% + 28px)}.text-button-brand-large-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-12px;width:calc(100% + 20px)}.text-button-brand-large-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-left:8px;z-index:0}.text-button-brand-large-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-right:6px;z-index:0}@media (any-hover:hover){.text-button-brand-large-jmRlvG08:hover,html.theme-dark .text-button-brand-large-jmRlvG08:hover{color:#2962ff}.text-button-brand-large-jmRlvG08:hover .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-large-jmRlvG08:hover .background-jmRlvG08{background:#132042}}.text-button-brand-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-brand-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-brand-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-brand-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-brand-large-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-brand-large-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-brand-large-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-brand-large-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-brand-large-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-brand-large-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-brand-large-jmRlvG08:disabled{color:#5d606b}.text-button-brand-large-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-gray-small-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .text-button-gray-small-jmRlvG08{color:#d1d4dc}.text-button-gray-small-jmRlvG08:after{height:calc(100% + 16px);right:-12px;top:-8px;width:calc(100% + 24px)}.text-button-gray-small-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-8px;width:calc(100% + 16px)}.text-button-gray-small-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 20px)}.text-button-gray-small-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-4px;width:calc(100% + 12px)}.text-button-gray-small-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);right:-12px;top:-8px;width:calc(100% + 20px)}.text-button-gray-small-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-4px;position:absolute;right:-8px;width:calc(100% + 12px)}.text-button-gray-small-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-left:4px;z-index:0}.text-button-gray-small-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-right:2px;z-index:0}@media (any-hover:hover){.text-button-gray-small-jmRlvG08:hover{color:#131722}html.theme-dark .text-button-gray-small-jmRlvG08:hover{color:#fff}.text-button-gray-small-jmRlvG08:hover .background-jmRlvG08{background:#f8f9fd;display:block}html.theme-dark .text-button-gray-small-jmRlvG08:hover .background-jmRlvG08{background:#2a2e39}}.text-button-gray-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-gray-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-gray-small-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-gray-small-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-gray-small-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-gray-small-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-gray-small-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-gray-small-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-gray-small-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-gray-small-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-gray-small-jmRlvG08:disabled{color:#5d606b}.text-button-gray-small-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-gray-medium-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-gray-medium-jmRlvG08{color:#d1d4dc}.text-button-gray-medium-jmRlvG08:after{height:calc(100% + 16px);right:-14px;top:-8px;width:calc(100% + 28px)}.text-button-gray-medium-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-10px;width:calc(100% + 20px)}.text-button-gray-medium-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);right:-10px;top:-8px;width:calc(100% + 24px)}.text-button-gray-medium-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-10px;position:absolute;right:-6px;width:calc(100% + 16px)}.text-button-gray-medium-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);right:-14px;top:-8px;width:calc(100% + 24px)}.text-button-gray-medium-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-6px;position:absolute;right:-10px;width:calc(100% + 16px)}.text-button-gray-medium-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-left:6px;z-index:0}.text-button-gray-medium-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-right:4px;z-index:0}@media (any-hover:hover){.text-button-gray-medium-jmRlvG08:hover{color:#131722}html.theme-dark .text-button-gray-medium-jmRlvG08:hover{color:#fff}.text-button-gray-medium-jmRlvG08:hover .background-jmRlvG08{background:#f8f9fd;display:block}html.theme-dark .text-button-gray-medium-jmRlvG08:hover .background-jmRlvG08{background:#2a2e39}}.text-button-gray-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-gray-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-gray-medium-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-gray-medium-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-gray-medium-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-gray-medium-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-gray-medium-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-gray-medium-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-gray-medium-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-gray-medium-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-gray-medium-jmRlvG08:disabled{color:#5d606b}.text-button-gray-medium-jmRlvG08:disabled .background-jmRlvG08{display:none}.text-button-gray-large-jmRlvG08{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .text-button-gray-large-jmRlvG08{color:#d1d4dc}.text-button-gray-large-jmRlvG08:after{height:calc(100% + 16px);right:-16px;top:-8px;width:calc(100% + 32px)}.text-button-gray-large-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-12px;width:calc(100% + 24px)}.text-button-gray-large-jmRlvG08.with-start-icon-jmRlvG08:after{height:calc(100% + 16px);right:-12px;top:-8px;width:calc(100% + 28px)}.text-button-gray-large-jmRlvG08.with-start-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-12px;position:absolute;right:-8px;width:calc(100% + 20px)}.text-button-gray-large-jmRlvG08.with-end-icon-jmRlvG08:after{height:calc(100% + 16px);right:-16px;top:-8px;width:calc(100% + 28px)}.text-button-gray-large-jmRlvG08.with-end-icon-jmRlvG08 .background-jmRlvG08{background:#0000;border-radius:4px;box-sizing:border-box;display:none;height:calc(100% + 8px);left:-8px;position:absolute;right:-12px;width:calc(100% + 20px)}.text-button-gray-large-jmRlvG08.with-start-icon-jmRlvG08 .start-icon-jmRlvG08{display:inline-flex;margin-left:8px;z-index:0}.text-button-gray-large-jmRlvG08.with-end-icon-jmRlvG08 .end-icon-jmRlvG08{display:inline-flex;margin-right:6px;z-index:0}@media (any-hover:hover){.text-button-gray-large-jmRlvG08:hover{color:#131722}html.theme-dark .text-button-gray-large-jmRlvG08:hover{color:#fff}.text-button-gray-large-jmRlvG08:hover .background-jmRlvG08{background:#f8f9fd;display:block}html.theme-dark .text-button-gray-large-jmRlvG08:hover .background-jmRlvG08{background:#2a2e39}}.text-button-gray-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,.text-button-gray-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#e3effd;display:block}html.theme-dark .text-button-gray-large-jmRlvG08.selected-jmRlvG08 .background-jmRlvG08,html.theme-dark .text-button-gray-large-jmRlvG08:active:not(:disabled) .background-jmRlvG08{background:#132042}.text-button-gray-large-jmRlvG08:active:not(:disabled){color:#1e53e5;transform:translateY(1px)}html.theme-dark .text-button-gray-large-jmRlvG08:active:not(:disabled){color:#1e53e5}.text-button-gray-large-jmRlvG08.selected-jmRlvG08,html.theme-dark .text-button-gray-large-jmRlvG08.selected-jmRlvG08{color:#2962ff}.text-button-gray-large-jmRlvG08.selected-jmRlvG08 .caret-jmRlvG08{transform:rotateX(180deg)}.text-button-gray-large-jmRlvG08:disabled{color:#b2b5be}html.theme-dark .text-button-gray-large-jmRlvG08:disabled{color:#5d606b}.text-button-gray-large-jmRlvG08:disabled .background-jmRlvG08{display:none}.logo-jrIJiOY8{align-items:center;background:#fff;color:#131722;display:flex;justify-content:center;left:0;padding:20px 0 16px;position:absolute;right:0;top:0;z-index:2}html.theme-dark .logo-jrIJiOY8{background:#000;color:#fff}@media screen and (min-width:1024px){.logo-jrIJiOY8{padding:40px 0}}.back-button-ysmLHxY9{color:#131722;position:absolute;right:12px;top:14px;z-index:3}html.theme-dark .back-button-ysmLHxY9{color:#d1d4dc}@media screen and (min-width:1024px){.back-button-ysmLHxY9{display:none;right:auto;top:auto;transform:translate(calc(-14px - -100%),-2px)}}.back-button-ysmLHxY9.hidden-ysmLHxY9{display:none}.textButton-ysmLHxY9.textButton-ysmLHxY9{display:none;z-index:3}@media screen and (min-width:1024px){.textButton-ysmLHxY9.textButton-ysmLHxY9{display:flex;position:absolute;right:40px;top:74px}}@media screen and (min-width:1920px){.textButton-ysmLHxY9{right:103px}}.textButton-ysmLHxY9.hidden-ysmLHxY9{display:none}.close-button-ysmLHxY9{left:12px;position:absolute;top:14px;z-index:3}@media screen and (min-width:1024px){.close-button-ysmLHxY9{left:32px;top:32px}}.close-button-ysmLHxY9.hidden-ysmLHxY9{display:none}.next-payment-info-bDg2DFsp{font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:21px}.dialog-ekStf8bO{background-color:#fff;opacity:0;transition:opacity .2625s cubic-bezier(.215,.61,.355,1)}html.theme-dark .dialog-ekStf8bO{background-color:#000}.dialog-ekStf8bO.open-animation-ekStf8bO,.dialog-ekStf8bO.open-animation-ekStf8bO .dialog-section-ekStf8bO{opacity:1}.dialog-section-ekStf8bO{display:flex;flex:auto;opacity:0;overflow:hidden;transition:opacity 175ms cubic-bezier(.55,.055,.675,.19) .2625s}.dialog-section-ekStf8bO.two-column-ekStf8bO{padding:72px 0 124px}@media screen and (min-width:1024px){.dialog-section-ekStf8bO.two-column-ekStf8bO{margin:0 auto;padding:105px 0 0;width:calc(100% - 80px)}}@media screen and (min-width:1920px){.dialog-section-ekStf8bO.two-column-ekStf8bO{width:calc(100% - 200px)}}.dialog-section-ekStf8bO.one-column-ekStf8bO{padding-top:61px}@media screen and (min-width:1024px){.dialog-section-ekStf8bO.one-column-ekStf8bO{padding-top:105px}}.body-ekStf8bO{grid-gap:40px;-webkit-overflow-scrolling:auto;align-items:stretch;color:#131722;display:grid;flex-grow:1;grid-template-columns:minmax(auto,100%);overflow-y:scroll;padding:0 20px;scrollbar-width:none}html.theme-dark .body-ekStf8bO{color:#fff}.body-ekStf8bO.sb-scrollbar-wrap{display:none}.body-ekStf8bO::-webkit-scrollbar{display:none;height:0;width:0}.body-ekStf8bO::-webkit-scrollbar-thumb,.body-ekStf8bO::-webkit-scrollbar-track{display:none}.body-ekStf8bO::-webkit-scrollbar-corner{display:none}@media screen and (min-width:1024px){.body-ekStf8bO{grid-template-columns:minmax(auto,calc(100% - 440px)) 400px;padding-left:0;padding-right:0}}@media screen and (min-width:1920px){.body-ekStf8bO{grid-gap:80px;grid-template-columns:minmax(auto,calc(100% - 720px)) 640px}}.one-column-ekStf8bO .body-ekStf8bO{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:0}.main-ekStf8bO{max-height:100%;padding-right:4px;position:relative}@media screen and (max-width:767px){.main-ekStf8bO.mainMobile-ekStf8bO{width:100%}}@media screen and (min-width:1024px){.cart-ekStf8bO{position:sticky;position:-webkit-sticky}}.hidden-ekStf8bO{display:none}.cart-bjdgLkZK{--paddingTopNotebook:105px;background-color:#f8f9fd;bottom:0;box-sizing:border-box;display:flex;flex-direction:column;left:0;padding:24px 0 72px;position:absolute;right:0;z-index:3}html.theme-dark .cart-bjdgLkZK{background-color:#131722}@media screen and (min-width:1024px){.cart-bjdgLkZK{border-radius:16px;height:auto;max-height:calc(100vh - var(--paddingTopNotebook) - 6px);padding-bottom:0;padding-top:7px;position:sticky;position:-webkit-sticky;top:0}}.purchase-info-bjdgLkZK{display:none}@media screen and (min-width:1024px){.purchase-info-bjdgLkZK{display:block}}.cart-bjdgLkZK.mobile-opened-bjdgLkZK .purchase-info-bjdgLkZK{display:block}.cart-bjdgLkZK.mobile-opened-bjdgLkZK{top:0}.row-layout-bjdgLkZK{grid-gap:8px;display:grid;grid-template-columns:1fr max-content}.product-name-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;text-transform:capitalize}html.theme-dark .product-name-bjdgLkZK{color:#fff}.product-cost-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}html.theme-dark .product-cost-bjdgLkZK{color:#fff}.productTrial-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.mobile-total-title-bjdgLkZK,.productTrial-bjdgLkZK{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.mobile-total-title-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-size:16px;font-style:normal;font-weight:400;line-height:24px}html.theme-dark .mobile-total-title-bjdgLkZK{color:#fff}.mobile-total-cost-bjdgLkZK{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .mobile-total-cost-bjdgLkZK{color:#fff}.actions-bjdgLkZK{border-top-left-radius:16px;border-top-right-radius:16px;bottom:0;display:flex;flex-direction:column;left:0;padding:14px 20px 20px;position:absolute;right:0}@media screen and (min-width:1024px){.actions-bjdgLkZK{bottom:0;display:block;padding:0 24px 24px;position:sticky;position:-webkit-sticky}}@media screen and (max-width:1019px){.actions-bjdgLkZK{background-color:#f8f9fd}html.theme-dark .actions-bjdgLkZK{background-color:#131722}}@media screen and (min-width:1531px){.withPaymentDropdown-bjdgLkZK{display:inline-flex;flex-direction:row;gap:16px;justify-content:flex-end}}@media screen and (max-width:1530px){.withPaymentDropdown-bjdgLkZK{grid-gap:20px;display:grid;grid-template-columns:auto;grid-template-rows:auto}}.mobile-wrapper-bjdgLkZK{align-items:center;display:grid;gap:16px;grid-template-columns:max-content 1fr;margin-top:14px}.mobile-wrapper-bjdgLkZK.mobile-wrapper-opened-bjdgLkZK{grid-template-columns:1fr;margin-top:10px}@media screen and (min-width:1024px){.mobile-wrapper-bjdgLkZK{grid-template-columns:1fr;margin-top:0}}.mobile-total-bjdgLkZK{display:flex;flex-direction:column}@media screen and (min-width:1024px){.mobile-total-bjdgLkZK{display:none}}.mobile-opened-bjdgLkZK .mobile-total-bjdgLkZK{display:none}.caret-button-bjdgLkZK{align-content:center;cursor:pointer;display:flex;height:28px;margin:0 auto;width:28px}@media screen and (min-width:1024px){.caret-button-bjdgLkZK{display:none}}.header-caret-button-bjdgLkZK,.mobile-opened-bjdgLkZK .actions-bjdgLkZK .caret-button-bjdgLkZK{display:none}.mobile-opened-bjdgLkZK .header-caret-button-bjdgLkZK{display:block}@media screen and (min-width:1024px){.mobile-opened-bjdgLkZK .header-caret-button-bjdgLkZK{display:none}}.icon-bjdgLkZK{align-items:center;display:flex;flex:none;justify-content:center;transform:rotate(180deg);transition:transform .35s ease}.icon-bjdgLkZK.dropped-bjdgLkZK{transform:rotate(0)}.badge-yHuWj4ze{--ui-lib-badge-default-color-focus-outline:#2962ffcc;align-items:center;background:var(--ui-lib-badge-background,var(--ui-lib-badge-default-background,#f0f3fa));border:none;border-radius:var(--ui-lib-badge-border-radius,var(--ui-lib-badge-default-border-radius));color:var(--ui-lib-badge-color-content,var(--ui-lib-badge-default-color-content,#131722));display:inline-flex;flex-flow:row nowrap;padding:var(--ui-lib-badge-padding-top,0) var(--ui-lib-badge-padding-left,var(--ui-lib-badge-default-padding-left)) var(--ui-lib-badge-padding-bottom,0) var(--ui-lib-badge-padding-right,var(--ui-lib-badge-default-padding-right));text-transform:uppercase;-webkit-user-select:none;user-select:none}html.theme-dark .badge-yHuWj4ze{background:var(--ui-lib-badge-background,var(--ui-lib-badge-default-background,#2a2e39));color:var(--ui-lib-badge-color-content,var(--ui-lib-badge-default-color-content,#fff))}.badge-yHuWj4ze{outline:none;overflow:visible;position:relative}.badge-yHuWj4ze:focus{outline:none}.badge-yHuWj4ze:focus-visible{outline:none}.badge-yHuWj4ze:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.badge-yHuWj4ze:focus:after{display:block}.badge-yHuWj4ze:focus-visible:after{display:block}.badge-yHuWj4ze:focus:not(:focus-visible):after{display:none}.badge-yHuWj4ze:after{border-color:var(--ui-lib-badge-color-focus-outline,var(--ui-lib-badge-default-color-focus-outline));border-radius:calc(var(--ui-lib-badge-border-radius, var(--ui-lib-badge-default-border-radius)) + 4px)}.content-yHuWj4ze{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.anchor-yHuWj4ze:active,.button-yHuWj4ze:active{transform:scale(.95)}.size-xsmall-yHuWj4ze{--ui-lib-badge-default-padding-left:4px;--ui-lib-badge-default-padding-right:4px;--ui-lib-badge-default-border-radius:3px;font-size:8px;font-weight:700;height:12px;letter-spacing:.5px;line-height:12px}.size-small-yHuWj4ze{--ui-lib-badge-default-padding-left:6px;--ui-lib-badge-default-padding-right:6px;--ui-lib-badge-default-border-radius:3px;font-size:11px;font-weight:600;height:16px;letter-spacing:.02em;line-height:16px}.size-medium-yHuWj4ze{--ui-lib-badge-default-padding-left:8px;--ui-lib-badge-default-padding-right:8px;--ui-lib-badge-default-border-radius:4px;font-size:11px;font-weight:600;height:20px;letter-spacing:.05em;line-height:18px}.size-large-yHuWj4ze{--ui-lib-badge-default-padding-left:10px;--ui-lib-badge-default-padding-right:10px;--ui-lib-badge-default-border-radius:6px;font-size:14px;font-weight:600;height:24px;letter-spacing:normal;line-height:18px}.size-xlarge-yHuWj4ze{--ui-lib-badge-default-padding-left:12px;--ui-lib-badge-default-padding-right:12px;--ui-lib-badge-default-border-radius:8px;font-size:17px;font-weight:700;height:32px;letter-spacing:.02em;line-height:24px}.badge-3HaOrC7Y{--ui-lib-badge-color-content:#fff;white-space:nowrap}.stocks-3HaOrC7Y{--ui-lib-badge-background:#ff9800}.futures-3HaOrC7Y{--ui-lib-badge-background:#2962ff}.indices-3HaOrC7Y{--ui-lib-badge-background:#9c27b0}.currency-3HaOrC7Y{--ui-lib-badge-background:#8d6e63}.certificates-3HaOrC7Y{--ui-lib-badge-background:#e91e63}.cryptocurrency-3HaOrC7Y{--ui-lib-badge-background:#4caf50}.badge-35MDaV7L{display:inline-flex}.description-35MDaV7L .badge-35MDaV7L:not(:last-child),.description-35MDaV7L .product-name-35MDaV7L:not(:last-child){margin-left:5px}.exchanges-hTiOOCdh{list-style-type:none}.row-layout-O7MPIjhm{grid-gap:16px;color:#131722;display:grid;grid-template-columns:1fr max-content}html.theme-dark .row-layout-O7MPIjhm{color:#d1d4dc}.row-name-O7MPIjhm{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400}.row-name-O7MPIjhm,.row-value-O7MPIjhm{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;line-height:24px}.row-value-O7MPIjhm{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:500;text-align:left}.purchase-info-8I7iMxAC{overflow-y:scroll;padding:0 20px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .purchase-info-8I7iMxAC{scrollbar-color:#363a45 #0000}.purchase-info-8I7iMxAC::-webkit-scrollbar{height:5px;width:5px}.purchase-info-8I7iMxAC::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .purchase-info-8I7iMxAC::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.purchase-info-8I7iMxAC::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.purchase-info-8I7iMxAC::-webkit-scrollbar-corner{display:none}@media screen and (min-width:1024px){.purchase-info-8I7iMxAC{padding:0 24px}}.cart-section-8I7iMxAC{padding:16px 0}.cart-section-8I7iMxAC:not(:last-child){border-bottom:1px solid #e0e3eb}html.theme-dark .cart-section-8I7iMxAC:not(:last-child){border-bottom:1px solid #434651}.exchange-item-8I7iMxAC{padding:8px 0}.exchange-item-8I7iMxAC:first-child{padding-top:0}.exchange-item-8I7iMxAC:last-child{padding-bottom:0}.total-8I7iMxAC{display:grid;grid-template-columns:1fr max-content}.total-title-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px}html.theme-dark .total-title-8I7iMxAC{color:#fff}.total-cost-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .total-cost-8I7iMxAC{color:#fff}.billing-freq-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .billing-freq-8I7iMxAC{color:#787b86}.highlightTitle-8I7iMxAC{font-weight:700}.highlight-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;background-color:#e3effd;border-radius:8px;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:18px;margin-top:16px;padding:12px}html.theme-dark .highlight-8I7iMxAC{background-color:#132042}.highlight-8I7iMxAC~.highlight-8I7iMxAC{margin-top:24px}.product-trial-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.cost-trial-8I7iMxAC,.product-trial-8I7iMxAC{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.cost-trial-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600;line-height:24px}.total-tax-8I7iMxAC{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:18px;margin-top:2px}html.theme-dark .total-tax-8I7iMxAC{color:#787b86}.container-1PoDYo3m{grid-gap:12px;display:grid;grid-template-columns:max-content 1fr}@media screen and (min-width:1020px){.container-1PoDYo3m{grid-template-columns:1fr}}@media screen and (min-width:1531px){.container-1PoDYo3m{grid-auto-flow:column;grid-template-columns:auto;justify-content:flex-end}}.dropdown-item-1PoDYo3m{grid-gap:8px;align-items:center;display:grid;font-size:16px;grid-template-columns:max-content 1fr;line-height:20px}.icon-1PoDYo3m{align-items:center;display:flex;height:20px;width:32px}.icon-1PoDYo3m svg{height:100%;width:100%}.childrenWrapper-W0mNxTYg{opacity:0}.childrenWrapper-W0mNxTYg.shown-W0mNxTYg{opacity:1}.loader-W0mNxTYg{display:none}.loader-W0mNxTYg.shown-W0mNxTYg{display:block}.next-1Ts5vcta{display:grid}.title-i6YYU4Ty{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px}html.theme-dark .title-i6YYU4Ty{color:#fff}.description-i6YYU4Ty{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-top:8px}html.theme-dark .description-i6YYU4Ty{color:#fff}.button-RmahEtr8{align-items:flex-start;display:flex;margin-top:3px}.item-RmahEtr8{grid-gap:2px 8px;display:grid;grid-template-columns:min-content auto;padding:19px 0 13px}.item-RmahEtr8:not(:last-child){border-bottom:1px solid #e0e3eb}html.theme-dark .item-RmahEtr8:not(:last-child){border-bottom:1px solid #434651}@media screen and (min-width:1024px){.item-RmahEtr8{padding:21px 0 13px}}.title-RmahEtr8{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:4px}html.theme-dark .title-RmahEtr8{color:#fff}.description-RmahEtr8{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:2/4;line-height:18px;margin-bottom:6px}html.theme-dark .description-RmahEtr8{color:#787b86}@media screen and (min-width:768px){.description-RmahEtr8{grid-column:2/3}}.list-YclYOAXu{display:flex;flex-direction:column;padding-right:4px}.item-YclYOAXu{align-items:flex-start;border-bottom:1px solid #e0e3eb;cursor:pointer;display:flex;padding:16px 6px 16px 21px;position:relative}html.theme-dark .item-YclYOAXu{border-bottom:1px solid #363a45}.item-YclYOAXu:first-of-type{padding-top:29px}@media screen and (min-width:768px){.item-YclYOAXu{padding-right:25px}}@media screen and (min-width:1024px){.item-YclYOAXu{padding-left:25px;padding-right:0}}.item-disabled-YclYOAXu{cursor:default;opacity:.5}.info-YclYOAXu{grid-gap:0 6px;align-self:center;display:grid;flex-grow:1;grid-template-columns:min-content min-content 1fr}.checkbox-YclYOAXu{display:inline-block;position:relative}.title-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px}html.theme-dark .title-YclYOAXu{color:#fff}.exchange-name-YclYOAXu{direction:ltr;display:inline-block;margin-bottom:4px;margin-left:4px}.exchangeBadge-YclYOAXu{display:inline-flex;margin-bottom:4px;margin-left:4px;margin-right:2px;vertical-align:top}.flag-YclYOAXu{border-radius:50%;display:inline-block;height:18px;vertical-align:middle;width:18px}.description-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:3/4;line-height:18px;margin-top:0}html.theme-dark .description-YclYOAXu{color:#787b86}.prices-YclYOAXu{align-items:flex-start;position:relative}.price-YclYOAXu,.prices-YclYOAXu{display:flex;flex-direction:column}.price-YclYOAXu{align-items:flex-end}.month-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px;white-space:nowrap}html.theme-dark .month-YclYOAXu{color:#fff}.year-YclYOAXu{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;white-space:nowrap}@media screen and (max-width:767px){.year-YclYOAXu{margin-right:18px}}@media screen and (min-width:1024px){.year-YclYOAXu{margin-top:4px}}.resident-price-YclYOAXu{align-items:flex-start;display:flex;margin-bottom:10px}.infoIcon-YclYOAXu{color:#787b86;display:inline-flex}html.theme-dark .infoIcon-YclYOAXu{color:#d1d4dc}.infoIcon-YclYOAXu svg{height:20px;width:20px}@media (any-hover:hover){.infoIcon-YclYOAXu:hover{color:#434651}html.theme-dark .infoIcon-YclYOAXu:hover{color:#9598a1}}.infoIcon-YclYOAXu:focus{color:#131722}html.theme-dark .infoIcon-YclYOAXu:focus{color:#d1d4dc}.infoIcon-YclYOAXu:active{color:#131722}html.theme-dark .infoIcon-YclYOAXu:active{color:#d1d4dc}.tooltipTitle-YclYOAXu{display:inline-flex;margin-right:4px}.infoIconContainer-YclYOAXu{display:inline-flex}.spinner-YclYOAXu{min-height:80px;position:relative}.badge-YclYOAXu{color:#131722;left:-30px;position:absolute}html.theme-dark .badge-YclYOAXu{color:#fff}.info-Y4tMc12a{margin-top:10px}@media screen and (min-width:768px){.info-Y4tMc12a{margin-top:15px}}.link-Y4tMc12a{color:#2962ff;transition:color .35s ease}html.theme-dark .link-Y4tMc12a{color:#2962ff}.link-Y4tMc12a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-Y4tMc12a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-Y4tMc12a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-Y4tMc12a:hover{fill:#1e53e5;color:#1e53e5}}.link-Y4tMc12a:focus{outline:auto}.link-Y4tMc12a:focus-visible{outline:auto}.link-Y4tMc12a:focus:not(:focus-visible){outline:none}.link-Y4tMc12a:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-Y4tMc12a:active{fill:#1848cc;color:#1848cc}.text-Y4tMc12a{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;padding-bottom:16px}html.theme-dark .text-Y4tMc12a{color:#fff}.informer-Y4tMc12a{width:fit-content}.footer-ENI3UToR{margin:25px 0 20px}.info-ENI3UToR{margin-bottom:25px}.title-ENI3UToR{display:flex}.text-ENI3UToR{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px;margin-right:8px;margin-top:-2px}html.theme-dark .text-ENI3UToR{color:#fff}.description-ENI3UToR{margin-top:4px}.description-ENI3UToR,.description-logo-ENI3UToR{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;display:block;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}.description-logo-ENI3UToR{margin-top:2px}.ice-icon-ENI3UToR{direction:ltr}.icon-ENI3UToR{color:#131722}html.theme-dark .icon-ENI3UToR{color:#fff}.highlight-wrap-iKO7WU8n .highligh-extra-data-iKO7WU8n{animation-duration:1.3s;animation-iteration-count:1;animation-name:payment-highlight-light-iKO7WU8n;animation-timing-function:ease-in-out;background-color:initial}html.theme-dark .highlight-wrap-iKO7WU8n .highligh-extra-data-iKO7WU8n{animation-name:payment-highlight-dark-iKO7WU8n}@keyframes payment-highlight-light-iKO7WU8n{38%{background-color:#fff3e0}61%{background-color:#fff3e0}to{background-color:initial}}@keyframes payment-highlight-dark-iKO7WU8n{38%{background-color:#132042}61%{background-color:#132042}to{background-color:initial}}.group-kxBajQCf{border-radius:6px;margin-top:13px}.switcher-kxBajQCf{margin:0;padding:0}.switcher-kxBajQCf.margin-kxBajQCf{margin-top:15px}.tabs-kxBajQCf{-webkit-overflow-scrolling:touch;align-items:center;box-sizing:border-box;display:flex;height:38px;margin-top:10px;overflow-x:scroll;padding:0 5px;scrollbar-width:none}.tabs-kxBajQCf.sb-scrollbar-wrap{display:none}.tabs-kxBajQCf::-webkit-scrollbar{display:none;height:0;width:0}.tabs-kxBajQCf::-webkit-scrollbar-thumb,.tabs-kxBajQCf::-webkit-scrollbar-track{display:none}.tabs-kxBajQCf::-webkit-scrollbar-corner{display:none}.container-jJ28DorJ{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:0 10px}.icon-jJ28DorJ{color:#f23645}.title-jJ28DorJ{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px;margin-top:16px}html.theme-dark .title-jJ28DorJ{color:#fff}.description-jJ28DorJ{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;text-align:center}html.theme-dark .description-jJ28DorJ{color:#fff}.button-jJ28DorJ{margin-top:32px}.card-padding-ErxLIKiI{padding:0 22px}@media screen and (min-width:1024px){.card-padding-ErxLIKiI{padding:0 24px}}.card-ErxLIKiI{background:#fff;box-sizing:border-box;color:#131722;display:flex;flex-direction:column;padding-top:47px;position:relative;text-align:center}html.theme-dark .card-ErxLIKiI{background:#000}.card-ErxLIKiI .button-ErxLIKiI{margin-bottom:12px;margin-top:auto;padding-top:33px;width:100%}.cardLayout-ErxLIKiI{align-items:center;display:flex;flex-direction:column;position:relative;text-align:center}.wrapperFeatures-YtR0Roin{background:#fff;display:flex;padding-bottom:32px;position:relative;text-align:right}html.theme-dark .wrapperFeatures-YtR0Roin{background:#000}.padding-YtR0Roin{flex:0 1 308px;padding-top:2px}@media screen and (min-width:768px){.padding-YtR0Roin{flex:auto}}@media screen and (min-width:1440px){.padding-YtR0Roin{padding-top:0}}.titleFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px;margin-bottom:12px;text-align:right}html.theme-dark .titleFeatures-YtR0Roin{color:#fff}@media screen and (min-width:768px){.titleFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:14px}}.listFeatures-YtR0Roin{column-count:auto;list-style:none;padding-right:14px;text-align:right}.itemFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;align-content:center;color:#434651;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;margin-bottom:8px;position:relative;width:100%}html.theme-dark .itemFeatures-YtR0Roin{color:#b2b5be}@media screen and (min-width:768px){.itemFeatures-YtR0Roin{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}}.itemFeatures-YtR0Roin:last-child{margin-bottom:0}.itemFeatures-YtR0Roin:before{background:#d1d4dc;border-radius:50%;content:"";height:3px;position:absolute;right:-13px;top:8px;width:3px}html.theme-dark .itemFeatures-YtR0Roin:before{background:#434651}@media screen and (min-width:768px){.itemFeatures-YtR0Roin:before{top:12px}}.tooltipIcon-YtR0Roin{align-items:center;color:#131722;display:inline-flex;height:22px;width:22px}html.theme-dark .tooltipIcon-YtR0Roin{color:#d1d4dc}.tooltipTitle-YtR0Roin{display:inline-flex;margin-right:2px}.offerPrice-wCGVDggm{direction:ltr;display:flex;height:65px;justify-content:center}.offerPrice-wCGVDggm .measure-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;justify-content:flex-end;line-height:18px;margin:0 7px 10px 0;position:relative}.measure-wCGVDggm{color:#787b86;font-size:12px;margin-right:-3px;text-align:right}html.theme-dark .measure-wCGVDggm{color:#787b86}@media screen and (min-width:1440px){.measure-wCGVDggm{margin-right:0}}.mainPrice-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;align-items:center;color:#131722;display:inline-flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:36px;font-style:normal;font-weight:600;line-height:44px;text-decoration:none}html.theme-dark .mainPrice-wCGVDggm{color:#fff}@media screen and (min-width:768px){.mainPrice-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:48px;font-style:normal;font-weight:600;line-height:56px}}.color-red-wCGVDggm .mainPrice-wCGVDggm,.color-red-wCGVDggm .mainPriceLetter-wCGVDggm,.color-red-wCGVDggm .sup-wCGVDggm{color:#f23645}html.theme-dark .color-red-wCGVDggm .mainPrice-wCGVDggm,html.theme-dark .color-red-wCGVDggm .mainPriceLetter-wCGVDggm,html.theme-dark .color-red-wCGVDggm .sup-wCGVDggm{color:#b22833}.color-green-wCGVDggm .mainPrice-wCGVDggm,.color-green-wCGVDggm .mainPriceLetter-wCGVDggm,.color-green-wCGVDggm .measure-wCGVDggm,html.theme-dark .color-green-wCGVDggm .mainPrice-wCGVDggm,html.theme-dark .color-green-wCGVDggm .mainPriceLetter-wCGVDggm,html.theme-dark .color-green-wCGVDggm .measure-wCGVDggm{color:#24b29b}.sup-wCGVDggm{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:700;line-height:28px;margin:10px 0 0 4px;position:relative}html.theme-dark .sup-wCGVDggm{color:#fff}@media screen and (min-width:768px){.sup-wCGVDggm{margin:10px 0 0 2px}}@media screen and (min-width:1440px){.sup-wCGVDggm{margin:10px 0 0 3px}}.button-oKQ8GSG1{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;height:40px;line-height:24px}@media screen and (min-width:1024px){.button-oKQ8GSG1{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;height:56px;line-height:24px}}.link-oKQ8GSG1{font-feature-settings:"tnum" on,"lnum" on;color:#2962ff;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;transition:color .35s ease}html.theme-dark .link-oKQ8GSG1{color:#2962ff}.link-oKQ8GSG1:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-oKQ8GSG1:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-oKQ8GSG1:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-oKQ8GSG1:hover{fill:#1e53e5;color:#1e53e5}}.link-oKQ8GSG1:focus{outline:auto}.link-oKQ8GSG1:focus-visible{outline:auto}.link-oKQ8GSG1:focus:not(:focus-visible){outline:none}.link-oKQ8GSG1:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-oKQ8GSG1:active{fill:#1848cc;color:#1848cc}.info-icon-PvYAVz99{color:#131722;height:19px;width:18px}html.theme-dark .info-icon-PvYAVz99{color:#fff}.info-icon-wrap-PvYAVz99{align-items:center;display:flex;margin-right:6px}.label-PvYAVz99{font-feature-settings:"tnum" on,"lnum" on;align-self:center;background:#08998126;border-radius:4px;color:#131722;display:flex;flex-flow:row nowrap;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:18px;overflow:hidden;padding:6px 10px;position:relative}html.theme-dark .label-PvYAVz99{color:#fff}@media screen and (min-width:768px){.label-PvYAVz99{margin-top:5px}}html.theme-dark .label-PvYAVz99{background:#08998140}.tooltip-wrap-PvYAVz99{height:80%;position:absolute;right:-20px;top:10%;width:200%}.cardTitle-omURZg64{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:600;line-height:36px;text-align:center}html.theme-dark .cardTitle-omURZg64{color:#fff}@media screen and (min-width:768px){.cardTitle-omURZg64{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:36px;font-style:normal;font-weight:600;line-height:44px}}.cardDescription-nrU0JU6d{font-feature-settings:"tnum" on,"lnum" on;color:#434651;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;height:45px;line-height:18px;margin-top:6px;padding-bottom:24px}html.theme-dark .cardDescription-nrU0JU6d{color:#b2b5be}@media screen and (min-width:768px){.cardDescription-nrU0JU6d{height:90px}}@media screen and (min-width:1024px){.cardDescription-nrU0JU6d{height:67px}}@media screen and (min-width:768px){.cardDescription-nrU0JU6d{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-top:5px}}.label-HkY0BJBZ{border-radius:4px 4px 4px 0;box-sizing:border-box;color:#fff;position:absolute;text-align:center;z-index:1}html.theme-dark .label-HkY0BJBZ{color:#fff}.label-HkY0BJBZ .icon-HkY0BJBZ{display:flex;height:28px;width:28px}.label-HkY0BJBZ:after{border-bottom:5px solid #0000;border-left:5px solid #0000;bottom:0;content:"";left:0;position:absolute;transform:translateY(9.8px);z-index:1}.label-HkY0BJBZ.discount-HkY0BJBZ{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.label-HkY0BJBZ.discount-HkY0BJBZ,.label-HkY0BJBZ.gift-HkY0BJBZ{left:-13px;padding:4px 12px;top:16px}.label-HkY0BJBZ.no-active-card-HkY0BJBZ{left:-11px}.label-discount-upsell-HkY0BJBZ{background:#b22833}html.theme-dark .label-discount-upsell-HkY0BJBZ{background:#801922}.label-discount-upsell-HkY0BJBZ:after{border-right:5px solid #801922;border-top:5px solid #801922}html.theme-dark .label-discount-upsell-HkY0BJBZ:after{border-right:5px solid #802028;border-top:5px solid #802028}.label-discount--pro-HkY0BJBZ{background:#f7525f}html.theme-dark .label-discount--pro-HkY0BJBZ{background:#cc2f3c}.label-discount--pro-HkY0BJBZ:after{border-right:5px solid #b22833;border-top:5px solid #b22833}html.theme-dark .label-discount--pro-HkY0BJBZ:after{border-right:5px solid #801922;border-top:5px solid #801922}.label-discount--pro_realtime-HkY0BJBZ{background:#f23645}html.theme-dark .label-discount--pro_realtime-HkY0BJBZ{background:#b22833}.label-discount--pro_realtime-HkY0BJBZ:after{border-right:5px solid #991f29;border-top:5px solid #991f29}html.theme-dark .label-discount--pro_realtime-HkY0BJBZ:after{border-right:5px solid #801922;border-top:5px solid #801922}.label-discount--pro_premium-HkY0BJBZ{background:#cc2f3c}html.theme-dark .label-discount--pro_premium-HkY0BJBZ{background:#991f29}.label-discount--pro_premium-HkY0BJBZ:after{border-right:5px solid #801922;border-top:5px solid #801922}html.theme-dark .label-discount--pro_premium-HkY0BJBZ:after{border-right:5px solid #801922;border-top:5px solid #801922}.label-gift--pro-HkY0BJBZ,html.theme-dark .label-gift--pro-HkY0BJBZ{background:#2962ff}.label-gift--pro-HkY0BJBZ:after{border-right:5px solid #1848cc;border-top:5px solid #1848cc}html.theme-dark .label-gift--pro-HkY0BJBZ:after{border-right:5px solid #1848cc;border-top:5px solid #1848cc}.label-gift--pro_realtime-HkY0BJBZ,html.theme-dark .label-gift--pro_realtime-HkY0BJBZ{background:#2962ff}.label-gift--pro_realtime-HkY0BJBZ:after{border-right:5px solid #1848cc;border-top:5px solid #1848cc}html.theme-dark .label-gift--pro_realtime-HkY0BJBZ:after{border-right:5px solid #1848cc;border-top:5px solid #1848cc}.label-gift--pro_premium-HkY0BJBZ,html.theme-dark .label-gift--pro_premium-HkY0BJBZ{background:#2962ff}.label-gift--pro_premium-HkY0BJBZ:after{border-right:5px solid #1848cc;border-top:5px solid #1848cc}html.theme-dark .label-gift--pro_premium-HkY0BJBZ:after{border-right:5px solid #1848cc;border-top:5px solid #1848cc}.cards-wrap-QQXm7yVo{margin:32px auto 0;max-width:1250px;padding:0}@media screen and (min-width:768px){.cards-wrap-QQXm7yVo{padding:0 19px}}@media screen and (min-width:1024px){.cards-wrap-QQXm7yVo{padding:0 30px}}@media screen and (min-width:1280px){.cards-wrap-QQXm7yVo{margin-top:40px}}@media screen and (min-width:1440px){.cards-wrap-QQXm7yVo{margin-top:48px;max-width:1235px}}.cards-QQXm7yVo{-webkit-overflow-scrolling:touch;overflow:scroll;scrollbar-width:none}.cards-QQXm7yVo.sb-scrollbar-wrap{display:none}.cards-QQXm7yVo::-webkit-scrollbar{display:none;height:0;width:0}.cards-QQXm7yVo::-webkit-scrollbar-thumb,.cards-QQXm7yVo::-webkit-scrollbar-track{display:none}.cards-QQXm7yVo::-webkit-scrollbar-corner{display:none}@media screen and (min-width:768px){.cards-QQXm7yVo{overflow:initial}}.cards-scroll-wrap-QQXm7yVo{display:grid;grid-template-areas:"top-0 top-1 top-2" "bottom-0 bottom-1 bottom-2";grid-template-columns:repeat(3,1fr);justify-content:flex-start;min-width:fit-content;padding:0 20px;position:relative}@media screen and (min-width:768px){.cards-scroll-wrap-QQXm7yVo{justify-content:center;padding:0}}.secondary-action-sizes-QQXm7yVo{margin-bottom:9px;min-height:38px}@media screen and (min-width:768px){.secondary-action-sizes-QQXm7yVo{min-height:52px}}@media screen and (min-width:1024px){.secondary-action-sizes-QQXm7yVo{margin-bottom:0;min-height:62px}}@media screen and (min-width:1440px){.secondary-action-sizes-QQXm7yVo{min-height:64px}}.has-active-QQXm7yVo .bottom-0-QQXm7yVo.is-active-QQXm7yVo~.bottom-1-QQXm7yVo,.has-active-QQXm7yVo .top-0-QQXm7yVo.is-active-QQXm7yVo~.top-1-QQXm7yVo{border-right-color:#2962ff;border-right-width:3px}html.theme-dark .has-active-QQXm7yVo .bottom-0-QQXm7yVo.is-active-QQXm7yVo~.bottom-1-QQXm7yVo,html.theme-dark .has-active-QQXm7yVo .top-0-QQXm7yVo.is-active-QQXm7yVo~.top-1-QQXm7yVo{border-right-color:#2962ff}.has-active-QQXm7yVo .bottom-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.bottom-1-QQXm7yVo,.has-active-QQXm7yVo .top-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.top-1-QQXm7yVo{border-left-color:#2962ff;border-left-width:3px}html.theme-dark .has-active-QQXm7yVo .bottom-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.bottom-1-QQXm7yVo,html.theme-dark .has-active-QQXm7yVo .top-0-QQXm7yVo:not(.is-active-QQXm7yVo)~.top-1-QQXm7yVo{border-left-color:#2962ff}.has-active-QQXm7yVo .is-active-QQXm7yVo{border-color:#2962ff;border-width:3px}html.theme-dark .has-active-QQXm7yVo .is-active-QQXm7yVo{border-color:#2962ff}.top-QQXm7yVo{border:1px #e0e3eb;border-style:solid solid none;min-width:260px}html.theme-dark .top-QQXm7yVo{border-color:#2a2e39}@media screen and (min-width:768px){.top-QQXm7yVo{min-width:242px}}.top-0-QQXm7yVo{border-left-style:none;border-top-right-radius:12px;grid-area:top-0}.top-1-QQXm7yVo{grid-area:top-1}.top-2-QQXm7yVo{border-right-style:none;border-top-left-radius:12px;grid-area:top-2}.bottom-QQXm7yVo{border:1px solid #e0e3eb;border-top-style:none;min-width:260px}html.theme-dark .bottom-QQXm7yVo{border-color:#2a2e39}@media screen and (min-width:768px){.bottom-QQXm7yVo{min-width:242px}}.bottom-0-QQXm7yVo{border-bottom-right-radius:12px;border-left-style:none;grid-area:bottom-0}@media screen and (min-width:768px){.bottom-0-QQXm7yVo{border-bottom-right-radius:0}}.bottom-1-QQXm7yVo{grid-area:bottom-1}.bottom-2-QQXm7yVo{border-bottom-left-radius:12px;border-right-style:none;grid-area:bottom-2}@media screen and (min-width:768px){.bottom-2-QQXm7yVo{border-bottom-left-radius:0}}.skipTrial-7OCYXd1m{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .skipTrial-7OCYXd1m{color:#fff}.skipTrial-7OCYXd1m .link-7OCYXd1m{color:#2962ff;transition:color .35s ease}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m{color:#2962ff}.skipTrial-7OCYXd1m .link-7OCYXd1m:visited{fill:#2962ff;color:#2962ff}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.skipTrial-7OCYXd1m .link-7OCYXd1m:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m:hover{fill:#1e53e5;color:#1e53e5}}.skipTrial-7OCYXd1m .link-7OCYXd1m:focus{outline:auto}.skipTrial-7OCYXd1m .link-7OCYXd1m:focus-visible{outline:auto}.skipTrial-7OCYXd1m .link-7OCYXd1m:focus:not(:focus-visible){outline:none}.skipTrial-7OCYXd1m .link-7OCYXd1m:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .skipTrial-7OCYXd1m .link-7OCYXd1m:active{fill:#1848cc;color:#1848cc}.change-trial-ntk0pgwQ{color:#2962ff;cursor:pointer;font-size:14px;font-style:normal;font-weight:400;line-height:21px;transition:color .35s ease}html.theme-dark .change-trial-ntk0pgwQ{color:#2962ff}.change-trial-ntk0pgwQ:visited{fill:#2962ff;color:#2962ff}html.theme-dark .change-trial-ntk0pgwQ:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.change-trial-ntk0pgwQ:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .change-trial-ntk0pgwQ:hover{fill:#1e53e5;color:#1e53e5}}.change-trial-ntk0pgwQ:focus{outline:auto}.change-trial-ntk0pgwQ:focus-visible{outline:auto}.change-trial-ntk0pgwQ:focus:not(:focus-visible){outline:none}.change-trial-ntk0pgwQ:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .change-trial-ntk0pgwQ:active{fill:#1848cc;color:#1848cc}.current-trial-ntk0pgwQ{color:#131722;font-size:14px;font-style:normal;font-weight:400;line-height:21px}html.theme-dark .current-trial-ntk0pgwQ{color:#d1d4dc}.description-d5Tocwga{color:#131722;font-size:14px;font-style:normal;font-weight:400;line-height:21px}html.theme-dark .description-d5Tocwga{color:#fff}.link-d5Tocwga{color:#2962ff;cursor:pointer;transition:color .35s ease}html.theme-dark .link-d5Tocwga{color:#2962ff}.link-d5Tocwga:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-d5Tocwga:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-d5Tocwga:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-d5Tocwga:hover{fill:#1e53e5;color:#1e53e5}}.link-d5Tocwga:focus{outline:auto}.link-d5Tocwga:focus-visible{outline:auto}.link-d5Tocwga:focus:not(:focus-visible){outline:none}.link-d5Tocwga:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-d5Tocwga:active{fill:#1848cc;color:#1848cc}.container-5CQYJZ9F{font-feature-settings:"tnum" on,"lnum" on;align-items:center;color:#2962ff;cursor:pointer;display:flex;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;grid-column:1/4;justify-content:flex-start;line-height:24px;padding:20px;position:relative;transition:color .35s ease;width:100%}html.theme-dark .container-5CQYJZ9F{color:#2962ff}.container-5CQYJZ9F:visited{fill:#2962ff;color:#2962ff}html.theme-dark .container-5CQYJZ9F:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.container-5CQYJZ9F:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .container-5CQYJZ9F:hover{fill:#1e53e5;color:#1e53e5}}.container-5CQYJZ9F:focus{outline:auto}.container-5CQYJZ9F:focus-visible{outline:auto}.container-5CQYJZ9F:focus:not(:focus-visible){outline:none}.container-5CQYJZ9F:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .container-5CQYJZ9F:active{fill:#1848cc;color:#1848cc}@media screen and (min-width:568px){.container-5CQYJZ9F{padding:22px 20px}}@media screen and (min-width:768px){.container-5CQYJZ9F{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;justify-content:center;line-height:24px;padding:16px 0}}.text-5CQYJZ9F{margin-left:auto}@media screen and (min-width:768px){.text-5CQYJZ9F{margin-left:0}}.icon-5CQYJZ9F{align-items:center;display:flex;height:26px;margin-right:17px;width:20px}@media screen and (min-width:768px){.icon-5CQYJZ9F{margin-right:5px}}.icon-mrROUtv5{color:#2962ff;transition:color .35s ease}html.theme-dark .icon-mrROUtv5{color:#2962ff}.icon-mrROUtv5:visited{fill:#2962ff;color:#2962ff}html.theme-dark .icon-mrROUtv5:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.icon-mrROUtv5:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .icon-mrROUtv5:hover{fill:#1e53e5;color:#1e53e5}}.icon-mrROUtv5:focus{outline:auto}.icon-mrROUtv5:focus-visible{outline:auto}.icon-mrROUtv5:focus:not(:focus-visible){outline:none}.icon-mrROUtv5:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .icon-mrROUtv5:active{fill:#1848cc;color:#1848cc}.under-cards-5bi7tudm{background:#fff;border-bottom:1px solid #e0e3eb;border-left:1px solid #e0e3eb;border-radius:0 0 12px 12px;border-right:1px solid #e0e3eb;border-top-color:#e0e3eb;border-top-width:1px;display:flex;position:relative}html.theme-dark .under-cards-5bi7tudm{background:#131722;border-color:#2a2e39}.under-cards-5bi7tudm,html.theme-dark .under-cards-5bi7tudm{background-color:initial;border-color:#0000}@media screen and (min-width:768px){.under-cards-5bi7tudm,html.theme-dark .under-cards-5bi7tudm{border-color:#e0e3eb}html.theme-dark .under-cards-5bi7tudm,html.theme-dark html.theme-dark .under-cards-5bi7tudm{border-color:#2a2e39}}.light-button-1f5iHRsw{align-items:center;background-color:var(--ui-lib-light-button-color-bg,var(--ui-lib-light-button-default-color-bg));border:1px solid var(--ui-lib-light-button-color-border,var(--ui-lib-light-button-default-color-border));border-radius:8px;box-sizing:border-box;color:var(--ui-lib-light-button-color-content,var(--ui-lib-light-button-default-color-content));display:inline-flex;justify-content:center;max-width:100%;min-width:40px;outline:none;overflow:visible;position:relative}.light-button-1f5iHRsw:focus{outline:none}.light-button-1f5iHRsw:focus-visible{outline:none}.light-button-1f5iHRsw:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.light-button-1f5iHRsw:focus:after{display:block}.light-button-1f5iHRsw:focus-visible:after{display:block}.light-button-1f5iHRsw:focus:not(:focus-visible):after{display:none}.light-button-1f5iHRsw:after{border-radius:12px}.light-button-1f5iHRsw.disable-cursor-pointer-1f5iHRsw{cursor:default}.light-button-1f5iHRsw .content-1f5iHRsw{align-items:center;align-self:stretch;display:inline-flex;overflow:hidden;white-space:nowrap}.light-button-1f5iHRsw .ellipsis-container-1f5iHRsw{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-button-1f5iHRsw .icon-1f5iHRsw{display:inline-flex;flex-shrink:0;max-height:28px;max-width:28px;min-height:18px;min-width:18px}.light-button-1f5iHRsw .content-1f5iHRsw:not(:last-child),.light-button-1f5iHRsw .icon-1f5iHRsw:not(:last-child){margin-inline-end:4px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#fff;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#fff;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-border:#e3effd;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e3effd;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#e3effd;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#132042;--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-bg:#132042}.variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#fff;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#06806bcc}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#fff;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#06806bcc}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#fff;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#f23645cc}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#b22833}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#fff;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#fff;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#131722;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#131722}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#f23645cc}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#b22833}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#b22833;--ui-lib-light-button-default-color-bg:#331f20}.variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-quiet-primary-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#434651;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#bbd9fb;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#143a87;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#434651;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#bbd9fb;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#143a87;--ui-lib-light-button-default-color-bg:#0000}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-secondary-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#0000;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#2962ffcc}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#0000;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#0000;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#d1d4dc;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#2962ffcc}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#2962ff}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#2962ff;--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#131722;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#fff;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#0000;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-gray-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#0000;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#06806bcc}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#0000;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#06806bcc}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-border:#daf2ee;--ui-lib-light-button-default-color-content:#089981}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#daf2ee;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-border:#daf2ee;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#082621;--ui-lib-light-button-default-color-content:#089981;--ui-lib-light-button-default-color-bg:#082621}.variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-green-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#0000;height:40px;min-width:40px;padding:0 15px}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:after{border-color:#f23645cc}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:11px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:11px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw,.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 5px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#f23645}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-medium-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#0000;height:34px;min-width:34px;padding:0 11px}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw{--ui-lib-light-button-default-color-border:#0000;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#0000}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after,html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:after{border-color:#f23645cc}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-ltr-1f5iHRsw{direction:ltr}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.force-direction-rtl-1f5iHRsw{direction:rtl}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-grouped-1f5iHRsw.variant-quiet-primary-1f5iHRsw:not(.selected-1f5iHRsw):not(:hover){--ui-lib-light-button-default-color-bg:#0000;--ui-lib-light-button-default-color-border:#0000}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-small-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.typography-medium-1f5iHRsw{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-start-icon-1f5iHRsw{padding-inline-start:7px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.with-end-icon-1f5iHRsw{padding-inline-end:7px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw{padding:0 2px}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.no-content-1f5iHRsw.with-start-icon-1f5iHRsw.with-end-icon-1f5iHRsw{padding:0 7px}@media (any-hover:hover){.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-bg:#f0f3fa;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#f0f3fa}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:hover{--ui-lib-light-button-default-color-border:#2a2e39;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#2a2e39}}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-border:#ffebec;--ui-lib-light-button-default-color-content:#f23645}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw{--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw.selected-1f5iHRsw .caret-1f5iHRsw{transform:rotate(-180deg)}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-bg:#ffebec;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-border:#ffebec;transform:translateY(1px)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:not(.disable-active-state-styles-1f5iHRsw):active{--ui-lib-light-button-default-color-border:#331f20;--ui-lib-light-button-default-color-content:#f23645;--ui-lib-light-button-default-color-bg:#331f20}.variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-bg:#e0e3eb;--ui-lib-light-button-default-color-content:#b2b5be;--ui-lib-light-button-default-color-border:#e0e3eb;transform:translateY(0)}html.theme-dark .variant-ghost-1f5iHRsw.color-red-1f5iHRsw.size-small-1f5iHRsw:disabled{--ui-lib-light-button-default-color-border:#363a45;--ui-lib-light-button-default-color-content:#5d606b;--ui-lib-light-button-default-color-bg:#363a45}.group-7eb3l0ph{display:inline-grid;grid-template-columns:repeat(var(--ui-lib-control-group-cols),minmax(0,auto));grid-template-rows:repeat(var(--ui-lib-control-group-rows),minmax(0,auto))}.light-button-group-7mI4HslZ{border:1px solid #e0e3eb;border-radius:12px;gap:4px;padding:3px}html.theme-dark .light-button-group-7mI4HslZ{border:1px solid #434651}.label-GH2s1rfd{font-feature-settings:"tnum" on,"lnum" on;background:#08998126;border-radius:8px;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:21px;line-height:18px;padding:8px 16px;text-align:center}html.theme-dark .label-GH2s1rfd{background:#08998140;color:#fff}@media screen and (min-width:568px){.label-GH2s1rfd{max-width:250px}}@media screen and (min-width:768px){.label-GH2s1rfd{align-items:center;display:flex;max-width:none;padding:10px 16px}}.container-13Vfp93l{align-items:center;display:flex;flex-direction:column;margin-top:16px;padding:0 20px}@media screen and (min-width:1280px){.container-13Vfp93l{margin-top:24px}}.switcher-13Vfp93l{margin-bottom:8px;position:relative}.arrow-curve-13Vfp93l{left:-48px;position:absolute;top:4px;transform:rotateY(180deg)}@media screen and (min-width:768px){.arrow-curve-13Vfp93l{left:-52px}}.emoji-13Vfp93l{font-size:20px;line-height:22px;vertical-align:top}.nowrap-13Vfp93l{white-space:nowrap}@media screen and (min-width:568px){.nowrap-13Vfp93l{display:initial}}@media screen and (min-width:768px){.nowrap-13Vfp93l{align-items:center;display:flex}}.title-vjlx3nMq{font-size:48px;font-style:normal;font-weight:600;line-height:56px;margin-bottom:16px;text-align:center}@media screen and (max-width:767px){.title-vjlx3nMq{font-size:32px;font-style:normal;font-weight:600;line-height:40px}}@media screen and (min-width:1280px){.title-vjlx3nMq{margin-bottom:24px}}.secondary-vjlx3nMq{font-size:18px;font-style:normal;font-weight:400;line-height:28px;text-align:center}.titleContainer-vjlx3nMq{color:#131722;padding:0 8px 48px}@media screen and (max-width:1530px){.titleContainer-vjlx3nMq{padding-bottom:32px}}@media screen and (max-width:767px){.titleContainer-vjlx3nMq{padding-bottom:24px}}.title-vrUcGhJD{margin:0 auto;max-width:800px;padding:0 20px}@media screen and (min-width:1280px){.title-vrUcGhJD{margin-bottom:0}}.title-vrUcGhJD h1{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:EuclidCircularSemibold,sans-serif;font-size:40px;font-style:normal;font-weight:600;letter-spacing:-.02em;line-height:40px;margin-bottom:0}html.theme-dark .title-vrUcGhJD h1{color:#fff}@media screen and (min-width:768px){.title-vrUcGhJD h1{font-feature-settings:"tnum" on,"lnum" on;font-family:EuclidCircularSemibold,sans-serif;font-size:56px;font-style:normal;font-weight:600;letter-spacing:-.02em;line-height:56px}}@media screen and (min-width:1280px){.title-vrUcGhJD h1{font-feature-settings:"tnum" on,"lnum" on;font-family:EuclidCircularSemibold,sans-serif;font-size:80px;font-style:normal;font-weight:600;letter-spacing:-.02em;line-height:80px}}.secondary-vrUcGhJD{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:24px}html.theme-dark .secondary-vrUcGhJD{color:#d1d4dc}@media screen and (min-width:768px){.secondary-vrUcGhJD{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:400;line-height:32px}}@media screen and (min-width:1280px){.secondary-vrUcGhJD{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:400;line-height:40px}}@media screen and (min-width:1440px){.secondary-vrUcGhJD{margin-bottom:23px}}.link-vrUcGhJD{color:#2962ff;transition:color .35s ease}html.theme-dark .link-vrUcGhJD{color:#2962ff}.link-vrUcGhJD:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-vrUcGhJD:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-vrUcGhJD:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-vrUcGhJD:hover{fill:#1e53e5;color:#1e53e5}}.link-vrUcGhJD:focus{outline:auto}.link-vrUcGhJD:focus-visible{outline:auto}.link-vrUcGhJD:focus:not(:focus-visible){outline:none}.link-vrUcGhJD:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-vrUcGhJD:active{fill:#1848cc;color:#1848cc}.title-X4q9jvDs{font-size:36px;font-style:normal;font-weight:600;line-height:44px;margin:0 20px}@media screen and (max-width:767px){.title-X4q9jvDs{font-size:28px;font-style:normal;font-weight:600;line-height:36px}}.secondary-X4q9jvDs{font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-top:16px}@media screen and (max-width:767px){.secondary-X4q9jvDs{margin-top:12px}}.titleContainer-X4q9jvDs{color:#131722;margin-bottom:48px;text-align:center}html.theme-dark .titleContainer-X4q9jvDs{color:#d1d4dc}@media screen and (max-width:1530px){.titleContainer-X4q9jvDs{margin-bottom:32px}}@media screen and (max-width:767px){.titleContainer-X4q9jvDs{margin-bottom:24px}}.cards-xDk5tnZJ{margin-bottom:80px;max-width:min(100vw,1235px)}.container-xDk5tnZJ{display:grid;flex-direction:column;justify-content:center}@media screen and (min-width:1024px){.container-xDk5tnZJ{margin:20px;width:980px}}@media screen and (min-width:1480px){.container-xDk5tnZJ{width:1480px}}.vertical-alignment-height-xDk5tnZJ{max-height:100%}.block-wrap-xDk5tnZJ{display:block}@media screen and (max-width:1530px){.cards-xDk5tnZJ{margin-bottom:72px}}@media screen and (max-width:767px){.cards-xDk5tnZJ{margin-bottom:56px}}.termsCheckboxesContainer-IxYXs9Hp{grid-row-gap:20px;display:grid;grid-template-columns:100%;grid-template-rows:auto;margin-bottom:20px}.infoIcon-IxYXs9Hp,.nonProLable-IxYXs9Hp{align-items:center;display:flex}.infoIcon-IxYXs9Hp{margin-right:4px}.infoIcon-IxYXs9Hp svg{height:18px;width:18px}.swithcherContainer-OB6hG3Dv{margin:0}.swithcherContainer-RrUqgK2t{margin:0;padding:0}.trialSubtitle-RrUqgK2t{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin:8px 0 12px}.changeTrialTerms-RrUqgK2t{margin-top:32px}.billing-cycle-item-1JAaqBgk{grid-gap:4px 12px;cursor:pointer;display:grid;grid-template-columns:min-content 1fr max-content;margin:0 -6px;padding:16px 6px}@media screen and (min-width:1024px){.billing-cycle-item-1JAaqBgk{grid-gap:4px 9px;margin:0;padding:16px 0 16px 16px}}.billing-cycle-item-1JAaqBgk:not(:last-child){border-bottom:1px solid #e0e3eb}html.theme-dark .billing-cycle-item-1JAaqBgk:not(:last-child){border-bottom:1px solid #434651}.billing-cycle-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;line-height:24px;text-transform:capitalize}html.theme-dark .billing-cycle-1JAaqBgk{color:#fff}.description-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:2/3;line-height:18px;margin-bottom:6px}html.theme-dark .description-1JAaqBgk{color:#787b86}.highlight-1JAaqBgk{background-color:#fff3e0;border-radius:6px;padding:8px 12px}html.theme-dark .highlight-1JAaqBgk{background-color:#132042}@media screen and (min-width:1280px){.highlight-1JAaqBgk{width:max-content}}.highlight-1JAaqBgk>*{color:#787b86}html.theme-dark .highlight-1JAaqBgk>*{color:#d1d4dc}.price-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:18px;font-style:normal;font-weight:600;grid-column:3/4;grid-row:1/2;line-height:24px;text-align:left}html.theme-dark .price-1JAaqBgk{color:#fff}.full-price-1JAaqBgk{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:3/4;line-height:18px;text-align:left}html.theme-dark .full-price-1JAaqBgk{color:#787b86}.disabled-1JAaqBgk{cursor:auto}.disabled-1JAaqBgk .billing-cycle-1JAaqBgk,.disabled-1JAaqBgk .description-1JAaqBgk,.disabled-1JAaqBgk .full-price-1JAaqBgk,.disabled-1JAaqBgk .price-1JAaqBgk{opacity:.4}.billing-cycles-qU0k2PxV{margin-top:16px}.button-c4OTPHT1{margin-top:32px}.vertical-alignment-height-z3YnaYkd{max-height:100%}.wrapper-z3YnaYkd{align-items:center;display:flex;flex-direction:column;padding-top:20px}@media screen and (min-width:1280px){.wrapper-z3YnaYkd{padding-top:0}}.container-z3YnaYkd{align-items:center;display:grid;gap:40px;grid-template-columns:minmax(auto,560px);justify-content:center;margin:0 20px}@media screen and (min-width:768px){.container-z3YnaYkd{grid-template-columns:560px}}@media screen and (min-width:1280px){.container-z3YnaYkd{grid-template-columns:repeat(2,560px)}}.icon-z3YnaYkd{color:#089981}.icon-z3YnaYkd svg{height:44px;width:44px}.title-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:28px;font-style:normal;font-weight:700;line-height:36px;margin-top:16px;text-align:center}html.theme-dark .title-z3YnaYkd{color:#fff}.cheque-z3YnaYkd{background-color:#f8f9fd;border-radius:16px;padding:24px}html.theme-dark .cheque-z3YnaYkd{background-color:#131722}.highlightBlock-z3YnaYkd{grid-column:1;justify-self:end;margin-top:20px;padding:20px}@media screen and (min-width:1280px){.highlightBlock-z3YnaYkd{grid-column:1/3;width:520px}}.grid-z3YnaYkd{display:grid}.flex-z3YnaYkd{align-content:center;align-items:center;display:flex;justify-content:space-between}.paymentInfo-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.description-z3YnaYkd,.paymentInfo-z3YnaYkd{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.description-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-size:11px;font-style:normal;font-weight:400;letter-spacing:.4px;line-height:16px;margin-top:20px;padding-bottom:5px;text-transform:uppercase}.descriptionBlock-z3YnaYkd{max-width:730px;text-align:center}.border-z3YnaYkd{border-top:1px solid #e0e3eb}html.theme-dark .border-z3YnaYkd{border-top:1px solid #434651}.paddingRow-z3YnaYkd{grid-gap:24px;grid-template-columns:1fr max-content;margin-top:0;padding:10px 0}.paddingRow-z3YnaYkd:first-child{padding:0 0 10px}.paddingRow-z3YnaYkd:last-child{padding:10px 0 0}.trialPaddingRow-z3YnaYkd{padding:0 0 20px}.proPlanPaddingRow-z3YnaYkd{padding:20px 0}.trialFirstPaddingRow-z3YnaYkd{padding-bottom:24px}.exchangesListWrapper-z3YnaYkd{padding:20px 0}.productText-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;align-items:center;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px}html.theme-dark .productText-z3YnaYkd{color:#fff}.wrapperTotalCost-z3YnaYkd{padding-top:20px}.total-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:30px}html.theme-dark .total-z3YnaYkd{color:#fff}.totalCost-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#131722;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:20px;font-style:normal;font-weight:600;line-height:24px}html.theme-dark .totalCost-z3YnaYkd{color:#fff}.button-z3YnaYkd{margin-top:32px}.tax-z3YnaYkd{padding:20px 0}.trial-tax-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;grid-column:1/3;line-height:18px;margin-top:2px}html.theme-dark .trial-tax-z3YnaYkd{color:#787b86}.product-trial-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.cost-trial-z3YnaYkd,.product-trial-z3YnaYkd{font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif}.cost-trial-z3YnaYkd{font-feature-settings:"tnum" on,"lnum" on;font-size:18px;font-style:normal;font-weight:600;line-height:24px}.agreement-switch-xGfsY7aB{margin-top:32px}.legend-xGfsY7aB{font-weight:700}.error-wrapper-xGfsY7aB{align-items:center;display:flex;height:28px;margin-top:12px}.error-icon-xGfsY7aB{display:flex;margin-right:auto}.switch-group-xGfsY7aB{grid-gap:20px;display:grid;grid-template-columns:min-content min-content}@media screen and (max-width:1530px){.agreement-switch-xGfsY7aB{margin-top:24px}}@media screen and (max-width:767px){.agreement-switch-xGfsY7aB{margin-top:16px}}.checkbox-PDtI2r2Z{color:#131722}.error-wrapper-PDtI2r2Z{align-items:center;display:flex;height:28px}.error-icon-PDtI2r2Z{display:flex;margin-right:auto}.occupation-GVt2ue8G{grid-gap:16px;display:grid;margin-top:16px}.nothing-selected-GVt2ue8G{color:#a3a6af;opacity:.6}html.theme-dark .nothing-selected-GVt2ue8G{color:#50535e}.occupation-menu-GVt2ue8G .nothing-selected-GVt2ue8G{padding-right:12px}.subscribers-inputs-okfUHTUP{grid-gap:16px;display:grid;grid-template-columns:1fr;margin-top:32px}.subscribers-inputs-okfUHTUP .dropdown-okfUHTUP{left:-5px;right:auto}@media screen and (min-width:768px){.subscribers-inputs-okfUHTUP{grid-template-columns:1fr 1fr}}.country-select-container-okfUHTUP{position:relative}.page-RRWggudg{background:linear-gradient(-62.99deg,#5b9cf6,#2962ff 50%,#1848cc)}@media screen and (min-width:768px){.page-RRWggudg{padding:80px 0}}.sheet-RRWggudg{background:#fff;border-radius:4px;box-sizing:border-box;color:#131722;font-size:16px;line-height:24px;margin:0 auto;max-width:760px;padding:16px 16px 32px;position:relative}html.theme-dark .sheet-RRWggudg{background:#131722;color:#d1d4dc}@media screen and (min-width:768px){.sheet-RRWggudg{padding:32px 32px 68px}}.page-title-RRWggudg{font-size:24px;font-weight:700;line-height:32px}.page-sub-title-RRWggudg{margin-top:8px}.exchange-agreement-description-RRWggudg{margin-top:32px}.exchange-file-link-RRWggudg{color:#2962ff;display:block;margin-top:12px;transition:color .35s ease}html.theme-dark .exchange-file-link-RRWggudg{color:#2962ff}.exchange-file-link-RRWggudg:visited{fill:#2962ff;color:#2962ff}html.theme-dark .exchange-file-link-RRWggudg:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.exchange-file-link-RRWggudg:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .exchange-file-link-RRWggudg:hover{fill:#1e53e5;color:#1e53e5}}.exchange-file-link-RRWggudg:focus{outline:auto}.exchange-file-link-RRWggudg:focus-visible{outline:auto}.exchange-file-link-RRWggudg:focus:not(:focus-visible){outline:none}.exchange-file-link-RRWggudg:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .exchange-file-link-RRWggudg:active{fill:#1848cc;color:#1848cc}.section-title-RRWggudg{font-size:20px;line-height:28px;margin-top:48px}.section-terms-description-RRWggudg{margin-top:12px}.questions-title-RRWggudg{font-size:18px;font-weight:700;line-height:26px;margin-top:32px}.questions-RRWggudg{padding-right:20px}.question-RRWggudg{margin-top:16px}.actions-RRWggudg{grid-gap:16px;display:grid;grid-auto-flow:row;margin-top:48px}@media screen and (min-width:768px){.actions-RRWggudg{grid-auto-flow:column;justify-content:flex-end}}.checkbox-margin-RRWggudg{margin-top:32px}.accept-terms-checkbox-margin-RRWggudg{margin-top:12px}@media screen and (max-width:1530px){.exchange-agreement-description-RRWggudg{margin-top:24px}}@media screen and (max-width:767px){.exchange-agreement-description-RRWggudg{margin-top:16px}}@media screen and (max-width:1530px){.section-title-RRWggudg{margin-top:32px}}@media screen and (max-width:767px){.section-title-RRWggudg{margin-top:24px}}@media screen and (max-width:1530px){.questions-title-RRWggudg{margin-top:24px}}@media screen and (max-width:767px){.questions-title-RRWggudg{margin-top:16px}}@media screen and (max-width:1530px){.actions-RRWggudg{margin-top:32px}}@media screen and (max-width:767px){.actions-RRWggudg{margin-top:24px}}@media screen and (max-width:1530px){.checkbox-margin-RRWggudg{margin-top:24px}}@media screen and (max-width:767px){.checkbox-margin-RRWggudg{margin-top:16px}}.container-gg7uxeBC{margin:0 auto;max-width:760px;padding:32px 32px 68px}@media screen and (max-width:767px){.container-gg7uxeBC{margin:0}}.container-XzdX3itL{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center}.icon-XzdX3itL{color:#42bda8}html.theme-dark .icon-XzdX3itL{color:#089981}.title-XzdX3itL{font-feature-settings:"tnum" on,"lnum" on;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:24px;font-style:normal;font-weight:700;line-height:28px;margin-top:20px}@media screen and (max-width:479px){.title-XzdX3itL{margin-top:5px;text-align:center}}.descriptionBlock-XzdX3itL{margin-top:30px;max-width:730px;text-align:center} \ No newline at end of file diff --git a/charting_library/bundles/8994.447098231daab300c4b8.js b/charting_library/bundles/8994.447098231daab300c4b8.js new file mode 100644 index 00000000..f4ea48bb --- /dev/null +++ b/charting_library/bundles/8994.447098231daab300c4b8.js @@ -0,0 +1,5 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8994],{16059:e=>{e.exports={menuWrap:"menuWrap-8MKeZifP",isMeasuring:"isMeasuring-8MKeZifP",scrollWrap:"scrollWrap-8MKeZifP",momentumBased:"momentumBased-8MKeZifP",menuBox:"menuBox-8MKeZifP",isHidden:"isHidden-8MKeZifP"}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r});var s=n(59496);const r=s.forwardRef((e,t)=>{const{icon:n="",...r}=e;return s.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:n}})})},39640:(e,t,n)=>{"use strict";function s(e,t,n,s,r){function o(r){if(e>r.timeStamp)return;const o=r.target;void 0!==n&&null!==t&&null!==o&&o.ownerDocument===s&&(t.contains(o)||n(r))}return r.click&&s.addEventListener("click",o,!1),r.mouseDown&&s.addEventListener("mousedown",o,!1),r.touchEnd&&s.addEventListener("touchend",o,!1),r.touchStart&&s.addEventListener("touchstart",o,!1),()=>{s.removeEventListener("click",o,!1),s.removeEventListener("mousedown",o,!1),s.removeEventListener("touchend",o,!1),s.removeEventListener("touchstart",o,!1)}}n.d(t,{addOutsideEventListener:()=>s})},68722:(e,t,n)=>{"use strict";n.d(t,{getScrollbarWidth:()=>s,matchMediaMinMax:()=>r,setStyle:()=>o,getCSSProperty:()=>i,getCSSPropertyNumericValue:()=>l});const s=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),s=n.style;s.visibility="hidden",s.width="100px",s.msOverflowStyle="scrollbar",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",n.appendChild(o);const i=o.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=r-i}return e}})();function r(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function o(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function l(e,t){return parseInt(i(e,t))}},43989:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>i});var s=n(68722);let r=0,o=!1;function i(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++r){const e=(0,s.getCSSProperty)(t,"overflow"),r=(0,s.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,s.setStyle)(n,"right",(0,s.getScrollbarWidth)()+"px"),t.style.paddingRight=r+(0,s.getScrollbarWidth)()+"px",o=!0),t.classList.add("i-no-scroll")}else if(!e&&r>0&&0==--r&&(t.classList.remove("i-no-scroll"),o)){(0,s.setStyle)(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,s.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",o=!1}}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>o});var s=n(59496),r=n(39640);function o(e){const{click:t,mouseDown:n,touchEnd:o,touchStart:i,handler:l,reference:a,ownerDocument:c=document}=e,u=(0,s.useRef)(null),d=(0,s.useRef)(new CustomEvent("timestamp").timeStamp);return(0,s.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:o,touchStart:i},s=a?a.current:u.current;return(0, +r.addOutsideEventListener)(d.current,s,l,c,e)},[t,n,o,i,l]),a||u}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>r});var s=n(59496);class r extends s.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)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>s});const s=n(59496).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>g,Menu:()=>_});var s=n(59496),r=n(97754),o=n.n(r),i=n(88537),l=n(64514),a=n(54475),c=n(50655),u=n(59064),d=n(88216),h=n(25760),p=n(14758),m=n(64706),f=n(16059);const g=f;class _ extends s.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,s,r,o;if(this.state.isMeasureValid&&!t)return;const{position:a}=this.props,c=(0,i.ensureNotNull)(this._containerRef);let u=c.getBoundingClientRect();const d=document.documentElement.clientHeight,h=document.documentElement.clientWidth,p=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let m=d-0-p;const f=u.height>m;if(f){(0,i.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",u=c.getBoundingClientRect()}const{width:g,height:_}=u,v="function"==typeof a?a(g,_,d):a,y=h-(null!==(s=v.overrideWidth)&&void 0!==s?s:g)-0,C=(0,l.clamp)(v.x,0,Math.max(0,y)),w=0+p,x=d-(null!==(r=v.overrideHeight)&&void 0!==r?r:_)-0;let S=(0,l.clamp)(v.y,w,Math.max(w,x));if(v.forbidCorrectYCoord&&S{this._restoreScrollPosition(),e&&e()})},this._restoreScrollPosition=()=>{ +const e=document.activeElement,t=(0,i.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null}))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout(()=>{this._handleMeasure({forceRecalcPosition:!0})},80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame(()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null})))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize);const t=null!==this.context;this._hotkeys||t||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this._handleGlobalClose()})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":r,children:i,minWidth:l,theme:u=f,className:d,maxHeight:h,onMouseOver:g,onMouseOut:_,onKeyDown:y,onFocus:C,onBlur:w}=this.props,{appearingMenuHeight:x,appearingMenuWidth:S,appearingPosition:M,isMeasureValid:b}=this.state;return s.createElement(m.MenuContext.Provider,{value:this},s.createElement(p.SubmenuHandler,null,s.createElement(c.SlotContext.Provider,{value:this._manager},s.createElement("div",{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":r,className:o()(d,u.menuWrap,!b&&u.isMeasuring),style:{height:x,left:M&&M.x,minWidth:l,position:"fixed",top:M&&M.y,width:S},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:g, +onMouseOut:_,onKeyDown:y,onFocus:C,onBlur:w},s.createElement("div",{className:o()(u.scrollWrap,!this.props.noMomentumBasedScroll&&u.momentumBased),style:{overflowY:void 0!==x?"scroll":"auto",maxHeight:h},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},s.createElement(v,{className:u.menuBox},i)))),s.createElement(c.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}}function v(e){const t=(0,i.ensureNotNull)((0,s.useContext)(p.SubmenuContext)),n=s.useRef(null);return s.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(s=e.target,null===(r=n.current)||void 0===r?void 0:r.contains(s))))return;var s,r;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}_.contextType=p.SubmenuContext},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>o,getRootOverlapManager:()=>l});var s=n(88537);class r{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 o{constructor(e=document){this._storage=new r,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 s=this._document.createElement("div");if(s.style.position=t.position,s.style.zIndex=this._index.toString(),s.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(s);else if(t.index<=0)this._container.insertBefore(s,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(s,e)}}else"reverse"===t.direction?this._container.insertBefore(s,this._container.firstChild):this._container.appendChild(s);return this._windows.set(e,s),++this._index,s}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 i=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,s.ensureDefined)(i.get(t));{const t=new o(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 i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}}, +29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>o});var s=n(59496),r=n(59064);const o=s.createContext(r.globalCloseDelegate)},50628:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>c});var s=n(59496),r=n(87995),o=n(65718),i=n(27317),l=n(29197),a=n(58095);function c(e){const{controller:t,children:n,isOpened:c,closeOnClickOutside:u=!0,doNotCloseOn:d,onClickOutside:h,onClose:p,...m}=e,f=(0,s.useContext)(l.CloseDelegateContext),g=(0,a.useOutsideEvent)({handler:function(e){h&&h(e);if(!u)return;if(d&&e.target instanceof Node){const t=r.findDOMNode(d);if(t instanceof Node&&t.contains(e.target))return}p()},mouseDown:!0,touchStart:!0});return c?s.createElement(o.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},s.createElement("span",{ref:g,style:{pointerEvents:"auto"}},s.createElement(i.Menu,{...m,onClose:p,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:f,ref:t},n))):null}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>c});var s=n(59496),r=n(87995),o=n(9423),i=n(88216),l=n(50655);class a extends s.PureComponent{constructor(){super(...arguments),this._uuid=(0,o.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||"",r.createPortal(s.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const c=s.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>r,SlotContext:()=>o});var s=n(59496);class r extends s.Component{shouldComponentUpdate(){return!1}render(){return s.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const o=s.createContext(null)},14758:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>r,SubmenuHandler:()=>o});var s=n(59496);const r=s.createContext(null);function o(e){const[t,n]=(0,s.useState)(null),o=(0,s.useRef)(null),i=(0,s.useRef)(new Map);return(0,s.useEffect)(()=>()=>{null!==o.current&&clearTimeout(o.current)},[]),s.createElement(r.Provider,{value:{current:t,setCurrent:function(e){null!==o.current&&(clearTimeout(o.current),o.current=null);null===t?n(e):o.current=setTimeout(()=>{o.current=null,n(e)},100)},registerSubmenu:function(e,t){return i.current.set(e,t),()=>{i.current.delete(e)}},isSubmenuNode:function(e){return Array.from(i.current.values()).some(t=>t(e))}}},e.children)}},40173:(e,t,n)=>{"use strict";function s(e,t,n={}){const s=Object.assign({},t);for(const r of Object.keys(t)){const o=n[r]||r;o in e&&(s[r]=[e[o],t[r]].join(" "))}return s}function r(e,t,n={}){return Object.assign({},e,s(e,t,n))}n.d(t,{weakComposeClasses:()=>s,mergeThemes:()=>r})}}]); \ No newline at end of file diff --git a/charting_library/bundles/8a2b9871f3bdcda5fc3c8633ef6eef01.svg b/charting_library/bundles/8a2b9871f3bdcda5fc3c8633ef6eef01.svg new file mode 100644 index 00000000..e7a719d7 --- /dev/null +++ b/charting_library/bundles/8a2b9871f3bdcda5fc3c8633ef6eef01.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8a93b4ee0b50a4c92979c153ece2bcbd.webp b/charting_library/bundles/8a93b4ee0b50a4c92979c153ece2bcbd.webp new file mode 100644 index 0000000000000000000000000000000000000000..f935fa10964c362e0b4726ed4cc01c2adfee604f GIT binary patch literal 64994 zcmeFYW07A0D?ty4T@+qP}nwr$(CZQHi1PT98Z*WF*w^z=OQJoo;-lYcTY-!~(6 zM8@8+a;=pL;vym&UjP8A!UA$Ca%}iBf3*<|K(hfU06>R8cz(f!2;@VAF&p3`0Q}L= z>;=;^BYZ^vXx-J@z3E^4I-%Z};Fd)GY`yNK<8(30?e&$tmwW&}_Rar_`}4El8^!DD zd-1dT0=UOJx2X3DuSYlchhKNLx81k;2l?CgJNHHQ z9~UX#Lw>@4I+u2@a=&vQa-Mv%dfs@)zx6*seWia0ekwPyUsiug2U*``zjl9qZa=|& zE`6V$D}L@iYVSb5Nq^9P@Lqm;e}2A4f6RSvzI{Lae1Dz~z5#zWi|~ed-`|#BPriEF zcpG|}zjZ%rJ8idl1MwbPXf1tFxy^n~4r?#*ZraIK|z z5c;2DSxRyt^xj7^6=j3yybY(zO9wD`{_h9>@8bObe&=u*QtDg@Ui{%a|34)M9FF>x zgd}gJ`41UqN z7B1NU9X9ZI_G5599yWv9kY`=XN(R34ROEuE6D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GBRFeMkXgVQ+V_RYR+z2;WOkK zZ-!~uxVk!YS_9w_AFQJ4fj-En5UJlhFucPC24pwt&ThgPN}1Yj1rwYHqChLiV;x(b zAAlg^W7?Pje-Iz3M$2+>M`Rwf%p|hy1|+YkRXrYX^0wMlhomn*;>tCH?+Xd2DnCj1QO@>t~&h2z1f%O+IDX(||B z7k)6dqUt9Z;IhOxNc81W>5D1=*5`Q>S=FQh&3lR8u7*sC&q-R!s$SQx;v{(dA9 zqku7WcmZvItXwJGRhK@dJBQPy`NGh$AwC69+KgoYgV$oV%msH- ML3Y>Gtp5N2019z%IRF3v literal 0 HcmV?d00001 diff --git a/charting_library/bundles/8aac8f79a7e13ea8992d4cb7ea372de7.svg b/charting_library/bundles/8aac8f79a7e13ea8992d4cb7ea372de7.svg new file mode 100644 index 00000000..076f35f1 --- /dev/null +++ b/charting_library/bundles/8aac8f79a7e13ea8992d4cb7ea372de7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8b5301ac782c0b3c5144e7aae810127a.svg b/charting_library/bundles/8b5301ac782c0b3c5144e7aae810127a.svg new file mode 100644 index 00000000..6288942e --- /dev/null +++ b/charting_library/bundles/8b5301ac782c0b3c5144e7aae810127a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8bb689bddb6ff6d200d2aaaea2402f9f.svg b/charting_library/bundles/8bb689bddb6ff6d200d2aaaea2402f9f.svg new file mode 100644 index 00000000..dccb44ae --- /dev/null +++ b/charting_library/bundles/8bb689bddb6ff6d200d2aaaea2402f9f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8bb7f62042bd238c645c4213b08db12e.svg b/charting_library/bundles/8bb7f62042bd238c645c4213b08db12e.svg new file mode 100644 index 00000000..3182746c --- /dev/null +++ b/charting_library/bundles/8bb7f62042bd238c645c4213b08db12e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8bf52e61de18aca35d5a9e2f5ce14ae2.svg b/charting_library/bundles/8bf52e61de18aca35d5a9e2f5ce14ae2.svg new file mode 100644 index 00000000..ceca6d16 --- /dev/null +++ b/charting_library/bundles/8bf52e61de18aca35d5a9e2f5ce14ae2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8c3b568f1adc6a626342305c8f60b203.svg b/charting_library/bundles/8c3b568f1adc6a626342305c8f60b203.svg new file mode 100644 index 00000000..996bef68 --- /dev/null +++ b/charting_library/bundles/8c3b568f1adc6a626342305c8f60b203.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8c6b45f07db2a25f33f279d2da19dc3b.svg b/charting_library/bundles/8c6b45f07db2a25f33f279d2da19dc3b.svg new file mode 100644 index 00000000..b9607c16 --- /dev/null +++ b/charting_library/bundles/8c6b45f07db2a25f33f279d2da19dc3b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8cf9d19315d87fe9bb98469d22f78a72.svg b/charting_library/bundles/8cf9d19315d87fe9bb98469d22f78a72.svg new file mode 100644 index 00000000..64bd2715 --- /dev/null +++ b/charting_library/bundles/8cf9d19315d87fe9bb98469d22f78a72.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8d4be41f3f5d5923bc7574128be4cbe4.svg b/charting_library/bundles/8d4be41f3f5d5923bc7574128be4cbe4.svg new file mode 100644 index 00000000..d21a19cb --- /dev/null +++ b/charting_library/bundles/8d4be41f3f5d5923bc7574128be4cbe4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8dafbfd19f6d49a5e3ee8e41edc3264c.svg b/charting_library/bundles/8dafbfd19f6d49a5e3ee8e41edc3264c.svg new file mode 100644 index 00000000..107f19df --- /dev/null +++ b/charting_library/bundles/8dafbfd19f6d49a5e3ee8e41edc3264c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8dd2c8c165617fcccdc1a1e26990caba.svg b/charting_library/bundles/8dd2c8c165617fcccdc1a1e26990caba.svg new file mode 100644 index 00000000..938ac18b --- /dev/null +++ b/charting_library/bundles/8dd2c8c165617fcccdc1a1e26990caba.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8dd843123d511ff5adee498714213548.svg b/charting_library/bundles/8dd843123d511ff5adee498714213548.svg new file mode 100644 index 00000000..13572235 --- /dev/null +++ b/charting_library/bundles/8dd843123d511ff5adee498714213548.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8e74262607de7641e1443e206ecf02d8.svg b/charting_library/bundles/8e74262607de7641e1443e206ecf02d8.svg new file mode 100644 index 00000000..48d37871 --- /dev/null +++ b/charting_library/bundles/8e74262607de7641e1443e206ecf02d8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8ed702249e5be2de3aa98fb61301b23f.svg b/charting_library/bundles/8ed702249e5be2de3aa98fb61301b23f.svg new file mode 100644 index 00000000..68b727fa --- /dev/null +++ b/charting_library/bundles/8ed702249e5be2de3aa98fb61301b23f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8f0a3dbc200954cc05d71f00f94c9918.svg b/charting_library/bundles/8f0a3dbc200954cc05d71f00f94c9918.svg new file mode 100644 index 00000000..8693a64d --- /dev/null +++ b/charting_library/bundles/8f0a3dbc200954cc05d71f00f94c9918.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/8fdaa57f804bba3dc62f43d8ee0e76ce.svg b/charting_library/bundles/8fdaa57f804bba3dc62f43d8ee0e76ce.svg new file mode 100644 index 00000000..f4c088eb --- /dev/null +++ b/charting_library/bundles/8fdaa57f804bba3dc62f43d8ee0e76ce.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9040.ef836fce63b5692a00a3.js b/charting_library/bundles/9040.ef836fce63b5692a00a3.js new file mode 100644 index 00000000..c266e272 --- /dev/null +++ b/charting_library/bundles/9040.ef836fce63b5692a00a3.js @@ -0,0 +1,9 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9040],{40994:(e,s,a)=>{e.exports=a.p+"e5dccab09e22148aa733ae7e0962f0a4.svg"},51564:(e,s,a)=>{e.exports=a.p+"042ec21ea57ec386282b5e437ced14a0.svg"},70912:(e,s,a)=>{e.exports=a.p+"7087220f54cd749f878bda12494954eb.svg"},35398:(e,s,a)=>{e.exports=a.p+"f10291bc2bf8e3dea0bb036041d3e89f.svg"},149:(e,s,a)=>{e.exports=a.p+"ad82bf804943b35baebe7dff417a2904.svg"},87699:(e,s,a)=>{e.exports=a.p+"cd8614eed2c9ecd0111030d6ae43b07c.svg"},99451:(e,s,a)=>{e.exports=a.p+"ab0aa08606b4a9db4f1d6115cbff1246.svg"},83623:(e,s,a)=>{e.exports=a.p+"2dab12e8a6c93cdc361b475dcd7b3074.svg"},91184:(e,s,a)=>{e.exports=a.p+"8e74262607de7641e1443e206ecf02d8.svg"},83327:(e,s,a)=>{e.exports=a.p+"a1276c0533823933334715fc20c6742e.svg"},98863:(e,s,a)=>{e.exports=a.p+"de7f5bc35af05c24d9640b6fd0910bdf.svg"},49797:(e,s,a)=>{e.exports=a.p+"f5ed10ec1625eb393ada7073b9afd17e.svg"},64035:(e,s,a)=>{e.exports=a.p+"c2a5c0fb8c6ef112474fde18c2946640.svg"},76142:(e,s,a)=>{e.exports=a.p+"9b5c4a3a01194407c91bf996bba0c1a4.svg"},80792:(e,s,a)=>{e.exports=a.p+"cc72d282b465b57676eca56e46cf1e8c.svg"},14426:(e,s,a)=>{e.exports=a.p+"8c3b568f1adc6a626342305c8f60b203.svg"},99655:(e,s,a)=>{e.exports=a.p+"95a7715d1c9835b4b280996e2493639c.svg"},22136:(e,s,a)=>{e.exports=a.p+"3ce97881321c8c909b3d05f641fad866.svg"},44331:(e,s,a)=>{e.exports=a.p+"e7b7ff011682d59763997a75104c9979.svg"},82532:(e,s,a)=>{e.exports=a.p+"ec6d305d7d06a84ea3f54c3d6db5e83a.svg"},12345:(e,s,a)=>{e.exports=a.p+"e7ed49ce872797c8630fd5f8446ffbee.svg"},5214:(e,s,a)=>{e.exports=a.p+"86e22a99d9d9ee81924e0b438e204dd7.svg"},56480:(e,s,a)=>{e.exports=a.p+"d369378aefaaed47363bffaedb308143.svg"},81665:(e,s,a)=>{e.exports=a.p+"d1f58926528e2a3debceb59dff7e58b0.svg"},56830:(e,s,a)=>{e.exports=a.p+"3fd81bada8bbd48683f94d307a01fac4.svg"},85503:(e,s,a)=>{e.exports=a.p+"c7b2bfd6a12a1c0991a575c3b31ad7b6.svg"},31969:(e,s,a)=>{e.exports=a.p+"95127900436e4305bca6653ca8d9957f.svg"},33663:(e,s,a)=>{e.exports=a.p+"65876f64a690a9c40a4f3d84367678ad.svg"},55451:(e,s,a)=>{e.exports=a.p+"47b1e1cc6cc78ac578822f22213f5eb3.svg"},2664:(e,s,a)=>{e.exports=a.p+"0788cb238b1a4b247dc64b6520a1de87.svg"},47141:(e,s,a)=>{e.exports=a.p+"f869295c1d9ceedfc8c6ddd92efb8ca2.svg"},26545:(e,s,a)=>{e.exports=a.p+"de4367c3fa9f075bbf58943188ba32b3.svg"},54677:(e,s,a)=>{e.exports=a.p+"a7de26af1e65164293180f1c5ddcf8de.svg"},64539:(e,s,a)=>{e.exports=a.p+"6cc5af4752574eb61f0c8075ca1b7881.svg"},1250:(e,s,a)=>{e.exports=a.p+"6b4a6bb049ac33e322b700e50fc5b926.svg"},38720:(e,s,a)=>{e.exports=a.p+"5c568c6ba25fd3ccffedc7df6cdbcfc6.svg"},67839:(e,s,a)=>{e.exports=a.p+"a6b73d85f90f4b55b4d8560f175fb635.svg"},82211:(e,s,a)=>{e.exports=a.p+"bc4c0e86357177d9b1ed96f8568684d1.svg"},51945:(e,s,a)=>{e.exports=a.p+"ed5c3ae146310a1a24fcde23e7b60bb1.svg"},49377:(e,s,a)=>{e.exports=a.p+"869b5f01bc7105cc3788b584c5bc1bef.svg"},14064:(e,s,a)=>{e.exports=a.p+"69938b544b1d77792db3e429284a98c1.svg"},53593:(e,s,a)=>{e.exports=a.p+"2d9e49752791b82092387b7ffd7e427f.svg"},56561:(e,s,a)=>{ +e.exports=a.p+"81f2326cf9c77d248b96f6bc5f80c13d.svg"},61894:(e,s,a)=>{e.exports=a.p+"5962c52be69d3c2cb79834452a20bf16.svg"},25927:(e,s,a)=>{e.exports=a.p+"a54eae35e396c3f9ec2c154c8389933e.svg"},31089:(e,s,a)=>{e.exports=a.p+"1a129ec3eee7754e48466838566ab14e.svg"},76736:(e,s,a)=>{e.exports=a.p+"ab02a73c827877d701e4dd32eb729ed9.svg"},64820:(e,s,a)=>{e.exports=a.p+"ed080993df791efad30f99a0e698601e.svg"},30388:(e,s,a)=>{e.exports=a.p+"6e8ce773ae74687cfa9576d1210fe5f6.svg"},31273:(e,s,a)=>{e.exports=a.p+"e8b18b343c3c9e2d653fc3a550de819f.svg"},74573:(e,s,a)=>{e.exports=a.p+"696572b26ab674046f403ec18f2b5e5d.svg"},50579:(e,s,a)=>{e.exports=a.p+"32cface5c212ebc32a5fd783e6072dd5.svg"},74478:(e,s,a)=>{e.exports=a.p+"cf8abee42c4cb03e0a2105caec8909eb.svg"},7494:(e,s,a)=>{e.exports=a.p+"52d1261e628f634b5e62c0d6071d82c1.svg"},8792:(e,s,a)=>{e.exports=a.p+"27419b53618cdc6022ec621a38a2e27e.svg"},84126:(e,s,a)=>{e.exports=a.p+"c3bf6a8b432dba36fcdb79e0e7b892e4.svg"},54672:(e,s,a)=>{e.exports=a.p+"52452294a138eb19309852a5bba8fdf2.svg"},69386:(e,s,a)=>{e.exports=a.p+"883627aca446035b3986466acc71a69b.svg"},8524:(e,s,a)=>{e.exports=a.p+"3332346bb9d5603152808536c3251c00.svg"},5555:(e,s,a)=>{e.exports=a.p+"5dfba3ffcfb87b70fcff70fe469745e0.svg"},25008:(e,s,a)=>{e.exports=a.p+"9a4ecd71d78aab6194857007fcc20464.svg"},79649:(e,s,a)=>{e.exports=a.p+"6474d98d9f212d0a5b3edc7c81fce0a4.svg"},68614:(e,s,a)=>{e.exports=a.p+"386646a0d8b2c0e75d201d07083beb35.svg"},28523:(e,s,a)=>{e.exports=a.p+"c416c4db2f76c13e5cfb1cd73b057264.svg"},57070:(e,s,a)=>{e.exports=a.p+"0f7af004dd47aafc17272eca6e543808.svg"},86474:(e,s,a)=>{e.exports=a.p+"fe631cd46d01b4816097228f3591db19.svg"},68198:(e,s,a)=>{e.exports=a.p+"062c248cf8d2c525bd9526653ab95657.svg"},39721:(e,s,a)=>{e.exports=a.p+"e62b523f0ed069cf4e2afa903fece44f.svg"},30412:(e,s,a)=>{e.exports=a.p+"1d3eecfc50933a84c28985cffe2fbb4e.svg"},64211:(e,s,a)=>{e.exports=a.p+"fe924d5d871ef07299ad5e11db2c8a70.svg"},76945:(e,s,a)=>{e.exports=a.p+"4c2b4fdaa4afbe49682badbe3e6d5092.svg"},30537:(e,s,a)=>{e.exports=a.p+"650a8fb9d8083fd5887fa14d5a48b917.svg"},97324:(e,s,a)=>{e.exports=a.p+"a846e4087642a8ea8bf05187847140c6.svg"},33594:(e,s,a)=>{e.exports=a.p+"e561e7a86e83dab817de9b4fba1be15e.svg"},1197:(e,s,a)=>{e.exports=a.p+"6c45a28c69aad8a75655bdd555d86f68.svg"},25387:(e,s,a)=>{e.exports=a.p+"dddac09a7572568f517e22700f4c8474.svg"},3483:(e,s,a)=>{e.exports=a.p+"e2fa422bd9aedee688fb7765794fd5c2.svg"},75157:(e,s,a)=>{e.exports=a.p+"9e8a00c2e2b16d8ece1e344906002df9.svg"},80823:(e,s,a)=>{e.exports=a.p+"cddf3ae477d555d4eed060347c2268eb.svg"},78538:(e,s,a)=>{e.exports=a.p+"4bc8348594c9430c735366fc72d9f36b.svg"},52138:(e,s,a)=>{e.exports=a.p+"e8e5b1c68e4f95acd9322863c0b363f6.svg"},96438:(e,s,a)=>{e.exports=a.p+"6cfd08ce7e4a1dbbd15225a8bf79a4e3.svg"},52813:(e,s,a)=>{e.exports=a.p+"44239307acfe2269d7827563273f2bfa.svg"},28090:(e,s,a)=>{e.exports=a.p+"4752624c631776e721a978174febf46b.svg"},94429:(e,s,a)=>{e.exports=a.p+"953f6834f68153142229a6d2237076cf.svg"},35740:(e,s,a)=>{e.exports=a.p+"5579d8b53d2a1a0e6007198f97b91039.svg"}, +13906:(e,s,a)=>{e.exports=a.p+"584a79e77d4432cf0ca27a1063d9ba0d.svg"},51607:(e,s,a)=>{e.exports=a.p+"2c713a3aca13638904167e66cf9eeab0.svg"},18363:(e,s,a)=>{e.exports=a.p+"4791e97b8673d0b0ec66d93ef3f02bb0.svg"},71327:(e,s,a)=>{e.exports=a.p+"f8f54d8b574077d60ffb81a4bc19ed57.svg"},56143:(e,s,a)=>{e.exports=a.p+"dea459c5c4ebb211e652e99cd6ba6354.svg"},36982:(e,s,a)=>{e.exports=a.p+"8bb7f62042bd238c645c4213b08db12e.svg"},56832:(e,s,a)=>{e.exports=a.p+"157dc69b8355dc521689079cb859216d.svg"},79317:(e,s,a)=>{e.exports=a.p+"885565ce0ebf9919066eb4196290c711.svg"},95892:(e,s,a)=>{e.exports=a.p+"1eafeadca5e616cc4525be1fb1caafc7.svg"},96250:(e,s,a)=>{e.exports=a.p+"8b5301ac782c0b3c5144e7aae810127a.svg"},62769:(e,s,a)=>{e.exports=a.p+"9d7b9ed22b710cbeeb852226989e1bc7.svg"},10472:(e,s,a)=>{e.exports=a.p+"a6ccd18373271b1e45b1ca35f8825c8d.svg"},2279:(e,s,a)=>{e.exports=a.p+"23b30bfe2f6b2e6edf84470252fa5d54.svg"},3311:(e,s,a)=>{e.exports=a.p+"c4ba5e799038b2fac1d8a5cee58aac2d.svg"},65665:(e,s,a)=>{e.exports=a.p+"e97d7f751ade192748c3e05a54ead255.svg"},29452:(e,s,a)=>{e.exports=a.p+"d9da6caea5ca1cd55417f1978b047b13.svg"},31451:(e,s,a)=>{e.exports=a.p+"2e59cb1da31075c39dc3b0c1e75e5fd7.svg"},33881:(e,s,a)=>{e.exports=a.p+"2aecc106c5eb83ecada117376a8c8f2a.svg"},83145:(e,s,a)=>{e.exports=a.p+"32c094ea79fdd66912058ade88c27860.svg"},95970:(e,s,a)=>{e.exports=a.p+"6ca6e081b7d7a80d94f38bf6ef9db3fa.svg"},62888:(e,s,a)=>{e.exports=a.p+"118186fbbe46a3201d049161d17aa76a.svg"},55108:(e,s,a)=>{e.exports=a.p+"a83c7f196f69856c6661350dcd280ca2.svg"},82885:(e,s,a)=>{e.exports=a.p+"b6a66bf5808bbb5de2d3bf45a5971fbd.svg"},19042:(e,s,a)=>{e.exports=a.p+"9d67227cfad5ec4cdbe9f0cd169856c5.svg"},94550:(e,s,a)=>{e.exports=a.p+"6d9fd8899d084d7f9698d9b2d5862c00.svg"},27312:(e,s,a)=>{e.exports=a.p+"e01f83be117e562a91ac14daa904e198.svg"},5765:(e,s,a)=>{e.exports=a.p+"802533204295f3c58b0072fdd6d46d1d.svg"},76003:(e,s,a)=>{e.exports=a.p+"c8d5bc45cecd625d597da5bc33011da7.svg"},33482:(e,s,a)=>{e.exports=a.p+"52d36f2ef75daabe5d00dc144cc9d4d6.svg"},75456:(e,s,a)=>{e.exports=a.p+"6ae825abf83e791f0247b4143d5a85ad.svg"},76126:(e,s,a)=>{e.exports=a.p+"1985b030fba93c1acee7ccb45534cabd.svg"},31781:(e,s,a)=>{e.exports=a.p+"b1cad18bd8a6be021c3177353bda5345.svg"},17678:(e,s,a)=>{e.exports=a.p+"c33468197e6cfac63316a6cd3a67cd6c.svg"},88833:(e,s,a)=>{e.exports=a.p+"a825a6c4082ba46b45131ab0bd16d96c.svg"},78210:(e,s,a)=>{e.exports=a.p+"8c6b45f07db2a25f33f279d2da19dc3b.svg"},50998:(e,s,a)=>{e.exports=a.p+"46eec22a6748063a64a9d7fdce4efc95.svg"},78113:(e,s,a)=>{e.exports=a.p+"e129b4d2d79d07ecf5b6b7c4d10b83fb.svg"},22547:(e,s,a)=>{e.exports=a.p+"f15ab85cea9ea5749e2befe786e1c9d3.svg"},51177:(e,s,a)=>{e.exports=a.p+"291ae25931a5df9f61006569e1fb2819.svg"},85210:(e,s,a)=>{e.exports=a.p+"428cfc463b541dfa1321f35af861fada.svg"},68618:(e,s,a)=>{e.exports=a.p+"548b90a6603f1a11a0104f3be28274d5.svg"},31829:(e,s,a)=>{e.exports=a.p+"b1ee1e8ecc3caeb6e4e1dd6d5a45e2c8.svg"},75800:(e,s,a)=>{e.exports=a.p+"ebca4cec794b70db74c63a7e6aca8ed8.svg"},32890:(e,s,a)=>{ +e.exports=a.p+"9b979eba8adb5bda46b48a4d26ccf2de.svg"},76401:(e,s,a)=>{e.exports=a.p+"5824a756d7227972e0d24375246ee236.svg"},67432:(e,s,a)=>{e.exports=a.p+"d4b8b8cb1909ea6d3f0a3182c8ec0a96.svg"},50760:(e,s,a)=>{e.exports=a.p+"2d4c81f5074ead4d91e24dce1782b828.svg"},4067:(e,s,a)=>{e.exports=a.p+"2c22bc38345265a3c18504acca3e0d56.svg"},68105:(e,s,a)=>{e.exports=a.p+"66b0098c00f242056c72b05aa3796de9.svg"},74457:(e,s,a)=>{e.exports=a.p+"7ef32ae8f080d2d6c6f0784e334e30e1.svg"},45802:(e,s,a)=>{e.exports=a.p+"49d1ea5b7ccbfbae29bbc21c506e617c.svg"},39579:(e,s,a)=>{e.exports=a.p+"ec31494f78cee41a02dbfbafba232515.svg"},83999:(e,s,a)=>{e.exports=a.p+"53fe5ab19eeaaea654235a0bdb7f71f1.svg"},7762:(e,s,a)=>{e.exports=a.p+"efef6421ade56c03ee355809562ecbc0.svg"},32745:(e,s,a)=>{e.exports=a.p+"7fb90d13db9ad6d2ddec01d48b241d85.svg"},88393:(e,s,a)=>{e.exports=a.p+"192a7bbb73684d1f6dae83700fb21173.svg"},27882:(e,s,a)=>{e.exports=a.p+"43c5b49b5b8e01e4505c7c251746a8b7.svg"},9403:(e,s,a)=>{e.exports=a.p+"74009555a8dd165b067723f234f915a5.svg"},93184:(e,s,a)=>{e.exports=a.p+"7231b99c7054c64e47372a672c441a6d.svg"},22629:(e,s,a)=>{e.exports=a.p+"e30c321e33a1859340a2bb6037bff515.svg"},72312:(e,s,a)=>{e.exports=a.p+"492d9a718a2c25d234151474b0206977.svg"},76482:(e,s,a)=>{e.exports=a.p+"7042e54b024475a394cb498377852b96.svg"},1779:(e,s,a)=>{e.exports=a.p+"c65f8d4a514fd5839e611a6c7f146acb.svg"},1137:(e,s,a)=>{e.exports=a.p+"aca94e827472fdbe847af7982d2e10f1.svg"},41647:(e,s,a)=>{e.exports=a.p+"27ed1587b819df769e0fcdb40c17bc0a.svg"},97163:(e,s,a)=>{e.exports=a.p+"455e18987c2c85ec010fd1456751ab61.svg"},79231:(e,s,a)=>{e.exports=a.p+"8bf52e61de18aca35d5a9e2f5ce14ae2.svg"},33644:(e,s,a)=>{e.exports=a.p+"f3530d099857810e5d04b52373b1cb41.svg"},6140:(e,s,a)=>{e.exports=a.p+"31dc9f78a1a526c14002cfcece0cc5d9.svg"},98745:(e,s,a)=>{e.exports=a.p+"61da80123bd4db4b54f857a53d7718da.svg"},34997:(e,s,a)=>{e.exports=a.p+"f4d0c0597f2db7dcd7cd774b822de366.svg"},76710:(e,s,a)=>{e.exports=a.p+"c229767ec3f6e517744b027e36b24831.svg"},27975:(e,s,a)=>{e.exports=a.p+"53f95b864ea8104267dc566bfb803a23.svg"},41778:(e,s,a)=>{e.exports=a.p+"c26643f969ec665d63ddfe7dbcf16871.svg"},58438:(e,s,a)=>{e.exports=a.p+"5980ed8829231afb216d42cd14dfc746.svg"},75914:(e,s,a)=>{e.exports=a.p+"33ead7196e74520279899683905fa945.svg"},43418:(e,s,a)=>{e.exports=a.p+"e9a1bd918b9924de48740078fc49f7c8.svg"},57746:(e,s,a)=>{e.exports=a.p+"1098c7da5fcb389d9ca6f1b830c9dc7b.svg"},95838:(e,s,a)=>{e.exports=a.p+"52be2cab70919abd4ba4dffefe331384.svg"},75671:(e,s,a)=>{e.exports=a.p+"47f09a2aa1752e19fb33290fcc46c47a.svg"},58578:(e,s,a)=>{e.exports=a.p+"0bfbdf5c0e06948136651805ba740256.svg"},3827:(e,s,a)=>{e.exports=a.p+"3952276d502a2b3659f3cb3c163e9541.svg"},72028:(e,s,a)=>{e.exports=a.p+"8cf9d19315d87fe9bb98469d22f78a72.svg"},21628:(e,s,a)=>{e.exports=a.p+"4f21dea2767b186965157eba97f085b2.svg"},13452:(e,s,a)=>{e.exports=a.p+"7fc3c4075dd1ab62905126ce5623a7b5.svg"},84943:(e,s,a)=>{e.exports=a.p+"939c709099ed020091dc58cbd5207cbd.svg"},2854:(e,s,a)=>{e.exports=a.p+"a685e425d7c7db0c14c7b97352f4dd4b.svg"},93202:(e,s,a)=>{ +e.exports=a.p+"a86b168bc533484e6274628d63888308.svg"},16702:(e,s,a)=>{e.exports=a.p+"ea2822078cff5228899c74ce3525125c.svg"},79609:(e,s,a)=>{e.exports=a.p+"f073a4ed2f2edbf549bad8b3c546af03.svg"},304:(e,s,a)=>{e.exports=a.p+"fd1f2a821ac21b8c757f95ba0b5032e0.svg"},78154:(e,s,a)=>{e.exports=a.p+"c4978c8d35ff46ddde11765f574e2586.svg"},28199:(e,s,a)=>{e.exports=a.p+"33e4a650ec09d861a47f0f2c2d912774.svg"},99436:(e,s,a)=>{e.exports=a.p+"e097b411b3e34f5a4a979cc428c289b1.svg"},55325:(e,s,a)=>{e.exports=a.p+"9b10f00f014bc0f9d1a452e07a0d161a.svg"},51237:(e,s,a)=>{e.exports=a.p+"b755b85a9536ead06ef26ecd24724e0c.svg"},30267:(e,s,a)=>{e.exports=a.p+"e33a72eb50fe28dc0289c2257014fc6a.svg"},16336:(e,s,a)=>{e.exports=a.p+"63bccd48089718d7044ce87890d1af22.svg"},96356:(e,s,a)=>{e.exports=a.p+"0dccec7ce2c9a2fe85d49d9ab8f1480b.svg"},72361:(e,s,a)=>{e.exports=a.p+"1bf2c1b06e7ab37b765dd3f5b891a241.svg"},63801:(e,s,a)=>{e.exports=a.p+"d3c2e6ce4be2a5b1bf9ca5a18d2d1238.svg"},8362:(e,s,a)=>{e.exports=a.p+"107e8251a0eb3758b47077295437a81e.svg"},75842:(e,s,a)=>{e.exports=a.p+"1e2e718c683b1d6325a427dff2d6c78f.svg"},61851:(e,s,a)=>{e.exports=a.p+"e8e5b1c68e4f95acd9322863c0b363f6.svg"},28302:(e,s,a)=>{e.exports=a.p+"36a36b038ee2b086d99f0dff97512fec.svg"},75064:(e,s,a)=>{e.exports=a.p+"e40ab9cc58df416f4b384648a7af369c.svg"},25878:(e,s,a)=>{e.exports=a.p+"d17555267bdf6ed9e01a7f4d525ef080.svg"},81617:(e,s,a)=>{e.exports=a.p+"3daf0fa39e9e67bfc0f12166dd01adfd.svg"},66278:(e,s,a)=>{e.exports=a.p+"62bf57b352114c25f178d892fef2c1d8.svg"},65306:(e,s,a)=>{e.exports=a.p+"6169c60c8d04924d194452dff1191b8e.svg"},57752:(e,s,a)=>{e.exports=a.p+"60542233074e88f72cb7738cd671069f.svg"},39252:(e,s,a)=>{e.exports=a.p+"85398f0b883442712a726600cec9c27d.svg"},6427:(e,s,a)=>{e.exports=a.p+"6ce4af2df856e7fd43f8786a3c3a2e5d.svg"},94444:(e,s,a)=>{e.exports=a.p+"bbd4456a4e25c099b7f49fe4f00e032f.svg"},56925:(e,s,a)=>{e.exports=a.p+"858bcfa8c8d9c8d8551fcb9a8cdc2499.svg"},48022:(e,s,a)=>{e.exports=a.p+"f071c28bf387d220afe4bd2c6f60323a.svg"},55117:(e,s,a)=>{e.exports=a.p+"bf89688b20c1bf96847619b6059daaf5.svg"},74319:(e,s,a)=>{e.exports=a.p+"c5bcb60600a07405427fb25b45bc6e53.svg"},40491:(e,s,a)=>{e.exports=a.p+"7cc409e9b4b8e2ad95146d0ae8be70e5.svg"},89079:(e,s,a)=>{e.exports=a.p+"5c347ffc08d08d0f94ff06366781743d.svg"},58092:(e,s,a)=>{e.exports=a.p+"cab55de6e22849402b5982a8e390c8fb.svg"},53663:(e,s,a)=>{e.exports=a.p+"ff8661f5c81b7137caa81145ed74b154.svg"},13654:(e,s,a)=>{e.exports=a.p+"54405675d653aa1a161b6abcb43291ed.svg"},91315:(e,s,a)=>{e.exports=a.p+"ca21ee51c72ab8851ed796a469ec00b8.svg"},38451:(e,s,a)=>{e.exports=a.p+"2fc23c00813c60848572b5d28ee7dfb9.svg"},71765:(e,s,a)=>{e.exports=a.p+"bf56aba49a57eba71be490bc83a7071c.svg"},90823:(e,s,a)=>{e.exports=a.p+"832264ecc6d4da63cbcff71ea9186b3e.svg"},98886:(e,s,a)=>{e.exports=a.p+"9f9bbea98fd39966101544a0c55e14e5.svg"},2891:(e,s,a)=>{e.exports=a.p+"b31adf0f45d2fb04730c422394eb6ae2.svg"},29434:(e,s,a)=>{e.exports=a.p+"3d1dbbd08f14657e981c2a0759373a97.svg"},91991:(e,s,a)=>{e.exports=a.p+"111e5d0e64351b2f7ac606b653993cbe.svg"}, +39723:(e,s,a)=>{e.exports=a.p+"c7232e3bcddb5cf2fedab803b86d4e88.svg"},93830:(e,s,a)=>{e.exports=a.p+"8dd843123d511ff5adee498714213548.svg"},91899:(e,s,a)=>{e.exports=a.p+"b119250cad0725ccc4f8288726f56f6b.svg"},43642:(e,s,a)=>{e.exports=a.p+"d92d6ecce7375134958d8e623f59dd3e.svg"},33228:(e,s,a)=>{e.exports=a.p+"2f71391908131b082aab4d129f7b5272.svg"},7327:(e,s,a)=>{e.exports=a.p+"5b42511a0696d2cbb686e323db88556c.svg"},47246:(e,s,a)=>{e.exports=a.p+"f89dbcaf40a5563735910a76243dc1b3.svg"},85738:(e,s,a)=>{e.exports=a.p+"ccac1949542b285e1ce6a4fe7f67d942.svg"},80907:(e,s,a)=>{e.exports=a.p+"70717ad43398a435ef78d38d226c6c37.svg"},11055:(e,s,a)=>{e.exports=a.p+"727ca3bc1d3c5915d9ccc4ba3eee978a.svg"},60296:(e,s,a)=>{e.exports=a.p+"a61ec3126315febd0304300cb8098ae5.svg"},63166:(e,s,a)=>{e.exports=a.p+"cbd8834b7f336d8d6aa529e87ea89c5d.svg"},61203:(e,s,a)=>{e.exports=a.p+"3bceb8e8c9086be15f6d9034fbb8ab90.svg"},79851:(e,s,a)=>{e.exports=a.p+"3f0b266c14a3e0a41685729a6dd63515.svg"},46831:(e,s,a)=>{e.exports=a.p+"6dfaf2afda613a97ef15734acea4f691.svg"},36765:(e,s,a)=>{e.exports=a.p+"9e8a00c2e2b16d8ece1e344906002df9.svg"},56337:(e,s,a)=>{e.exports=a.p+"b51b73c5dc965960d789d4616c9372e5.svg"},35561:(e,s,a)=>{e.exports=a.p+"752c67ea7ac85fb0cd2f01623bd213bc.svg"},82746:(e,s,a)=>{e.exports=a.p+"8ed702249e5be2de3aa98fb61301b23f.svg"},2269:(e,s,a)=>{e.exports=a.p+"9efe6680cb2318c0ff0e818ade988fa1.svg"},85836:(e,s,a)=>{e.exports=a.p+"842fcb191878b2812c044528ff533832.svg"},22162:(e,s,a)=>{e.exports=a.p+"743d0db623f41a2597c1e441233e4a78.svg"},1331:(e,s,a)=>{e.exports=a.p+"71968c0503e30bbb4fe32b57c8fdd68d.svg"},65204:(e,s,a)=>{e.exports=a.p+"fba03cbebf73ac8a537f901ec25dd0be.svg"},67008:(e,s,a)=>{e.exports=a.p+"f8385849a7dacc12bc2195528ceb1085.svg"},65407:(e,s,a)=>{e.exports=a.p+"727813bcf45ceaaa481f086bcd697b95.svg"},97622:(e,s,a)=>{e.exports=a.p+"e8e5b1c68e4f95acd9322863c0b363f6.svg"},44656:(e,s,a)=>{e.exports=a.p+"b8b5ebf760eccf4bd10d0c3ccd100800.svg"},77042:(e,s,a)=>{e.exports=a.p+"115d41d15c6f506cd74214a1b277d0c9.svg"},64917:(e,s,a)=>{e.exports=a.p+"8f0a3dbc200954cc05d71f00f94c9918.svg"},48310:(e,s,a)=>{e.exports=a.p+"8aac8f79a7e13ea8992d4cb7ea372de7.svg"},28936:(e,s,a)=>{e.exports=a.p+"b9a5c368e039eba4bf66e0f75e899eb7.svg"},41375:(e,s,a)=>{e.exports=a.p+"07958991e829b26257b34748fe61b908.svg"},19545:(e,s,a)=>{e.exports=a.p+"ba8de9bab341fb25cc068a78171500ba.svg"},51233:(e,s,a)=>{e.exports=a.p+"7eb7a15aebedb479210436be19e02f7f.svg"},62092:e=>{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY",black:"black-MuZZSHRY",white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},40872:()=>{},26996:(e,s,a)=>{"use strict";a.d(s,{Loader:()=>p});var g,f=a(59496),c=a(97754),r=a(74991),b=a(62092),d=a.n(b);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(g||(g={}));class p extends f.PureComponent{ +constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:g.Initial}}render(){const{className:e,color:s="black",size:a="medium",staticPosition:g}=this.props,r=c(d().item,d()[s],d()[a]);return f.createElement("span",{className:c(d().loader,g&&d().static,this._getStateClass(),e)},f.createElement("span",{className:r}),f.createElement("span",{className:r}),f.createElement("span",{className:r}))}componentDidMount(){this.setState({state:g.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:g.Active})},2*r.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case g.Initial:return d()["loader-initial"];case g.Appear:return d()["loader-appear"];default:return""}}}},44065:(e,s,a)=>{"use strict";a.d(s,{flagUrl:()=>r});var g=a(24633);const f={erl:"eu",uk:"gb",bitcoin:"btc"};function c(e,s){e in f&&(e=f[e]);try{return a(33207)("./flag-square-"+e+".svg")}catch(e){return function(e){return e===g.StdTheme.Dark?a(1137):a(41647)}(s)}}function r(e){return c(e)}},54325:(e,s,a)=>{"use strict";a.d(s,{toCountryCode:()=>f});(0,a(98125).getLogger)("Lib.CountryCode");const g=/^[A-Z]{2}$/;function f(e){if(function(e){return g.test(e)}(e))return e;throw new Error("Invalid country code")}},33207:(e,s,a)=>{var g={"./flag-square-ad.svg":40994,"./flag-square-ae.svg":51564,"./flag-square-af.svg":70912,"./flag-square-ag.svg":35398,"./flag-square-ai.svg":149,"./flag-square-al.svg":87699,"./flag-square-am.svg":99451,"./flag-square-ao.svg":83623,"./flag-square-ar.svg":91184,"./flag-square-as.svg":83327,"./flag-square-at.svg":98863,"./flag-square-au.svg":49797,"./flag-square-aw.svg":64035,"./flag-square-ax.svg":76142,"./flag-square-az.svg":80792,"./flag-square-ba.svg":14426,"./flag-square-bb.svg":99655,"./flag-square-bd.svg":22136,"./flag-square-be.svg":44331,"./flag-square-bf.svg":82532,"./flag-square-bg.svg":12345,"./flag-square-bh.svg":5214,"./flag-square-bi.svg":56480,"./flag-square-bj.svg":81665,"./flag-square-bl.svg":56830,"./flag-square-bm.svg":85503,"./flag-square-bn.svg":31969,"./flag-square-bo.svg":33663,"./flag-square-bq.svg":55451,"./flag-square-br.svg":2664,"./flag-square-bs.svg":47141,"./flag-square-bt.svg":26545,"./flag-square-btc.svg":54677,"./flag-square-bw.svg":64539,"./flag-square-by.svg":1250,"./flag-square-bz.svg":38720,"./flag-square-ca.svg":67839,"./flag-square-cc.svg":82211,"./flag-square-cd.svg":51945,"./flag-square-cf.svg":49377,"./flag-square-cg.svg":14064,"./flag-square-ch.svg":53593,"./flag-square-ci.svg":56561,"./flag-square-ck.svg":61894,"./flag-square-cl.svg":25927,"./flag-square-cm.svg":31089,"./flag-square-cn.svg":76736,"./flag-square-co.svg":64820,"./flag-square-cr.svg":30388,"./flag-square-cu.svg":31273,"./flag-square-cv.svg":74573,"./flag-square-cw.svg":50579,"./flag-square-cx.svg":74478,"./flag-square-cy.svg":7494,"./flag-square-cz.svg":8792,"./flag-square-de.svg":84126,"./flag-square-dj.svg":54672,"./flag-square-dk.svg":69386,"./flag-square-dm.svg":8524, +"./flag-square-do.svg":5555,"./flag-square-dz.svg":25008,"./flag-square-ec.svg":79649,"./flag-square-ee.svg":68614,"./flag-square-eg.svg":28523,"./flag-square-eh.svg":57070,"./flag-square-er.svg":86474,"./flag-square-es.svg":68198,"./flag-square-et.svg":39721,"./flag-square-eu.svg":30412,"./flag-square-fi.svg":64211,"./flag-square-fj.svg":76945,"./flag-square-fk.svg":30537,"./flag-square-fm.svg":97324,"./flag-square-fo.svg":33594,"./flag-square-forex.svg":1197,"./flag-square-fr.svg":25387,"./flag-square-ga.svg":3483,"./flag-square-gb.svg":75157,"./flag-square-gd.svg":80823,"./flag-square-ge.svg":78538,"./flag-square-gf.svg":52138,"./flag-square-gg.svg":96438,"./flag-square-gh.svg":52813,"./flag-square-gi.svg":28090,"./flag-square-gl.svg":94429,"./flag-square-gm.svg":35740,"./flag-square-gn.svg":13906,"./flag-square-gp.svg":51607,"./flag-square-gq.svg":18363,"./flag-square-gr.svg":71327,"./flag-square-gs.svg":56143,"./flag-square-gt.svg":36982,"./flag-square-gu.svg":56832,"./flag-square-gw.svg":79317,"./flag-square-gy.svg":95892,"./flag-square-hk.svg":96250,"./flag-square-hn.svg":62769,"./flag-square-hr.svg":10472,"./flag-square-ht.svg":2279,"./flag-square-hu.svg":3311,"./flag-square-id.svg":65665,"./flag-square-ie.svg":29452,"./flag-square-ik.svg":31451,"./flag-square-il.svg":33881,"./flag-square-im.svg":83145,"./flag-square-in.svg":95970,"./flag-square-io.svg":62888,"./flag-square-iq.svg":55108,"./flag-square-ir.svg":82885,"./flag-square-is.svg":19042,"./flag-square-it.svg":94550,"./flag-square-je.svg":27312,"./flag-square-jm.svg":5765,"./flag-square-jo.svg":76003,"./flag-square-jp.svg":33482,"./flag-square-ke.svg":75456,"./flag-square-kg.svg":76126,"./flag-square-kh.svg":31781,"./flag-square-ki.svg":17678,"./flag-square-km.svg":88833,"./flag-square-kn.svg":78210,"./flag-square-kp.svg":50998,"./flag-square-kr.svg":78113,"./flag-square-kw.svg":22547,"./flag-square-ky.svg":51177,"./flag-square-kz.svg":85210,"./flag-square-la.svg":68618,"./flag-square-lb.svg":31829,"./flag-square-lc.svg":75800,"./flag-square-li.svg":32890,"./flag-square-lk.svg":76401,"./flag-square-lr.svg":67432,"./flag-square-ls.svg":50760,"./flag-square-lt.svg":4067,"./flag-square-lu.svg":68105,"./flag-square-lv.svg":74457,"./flag-square-ly.svg":45802,"./flag-square-ma.svg":39579,"./flag-square-mc.svg":83999,"./flag-square-md.svg":7762,"./flag-square-me.svg":32745,"./flag-square-mf.svg":88393,"./flag-square-mg.svg":27882,"./flag-square-mh.svg":9403,"./flag-square-mk.svg":93184,"./flag-square-ml.svg":22629,"./flag-square-mm.svg":72312,"./flag-square-mn.svg":76482,"./flag-square-mo.svg":1779,"./flag-square-mock-dark.svg":1137,"./flag-square-mock.svg":41647,"./flag-square-mp.svg":97163,"./flag-square-mq.svg":79231,"./flag-square-mr.svg":33644,"./flag-square-ms.svg":6140,"./flag-square-mt.svg":98745,"./flag-square-mu.svg":34997,"./flag-square-mv.svg":76710,"./flag-square-mw.svg":27975,"./flag-square-mx.svg":41778,"./flag-square-my.svg":58438,"./flag-square-mz.svg":75914,"./flag-square-na.svg":43418,"./flag-square-nc.svg":57746, +"./flag-square-ne.svg":95838,"./flag-square-nf.svg":75671,"./flag-square-ng.svg":58578,"./flag-square-ni.svg":3827,"./flag-square-nl.svg":72028,"./flag-square-no.svg":21628,"./flag-square-np.svg":13452,"./flag-square-nr.svg":84943,"./flag-square-nu.svg":2854,"./flag-square-nz.svg":93202,"./flag-square-om.svg":16702,"./flag-square-pa.svg":79609,"./flag-square-pe.svg":304,"./flag-square-pf.svg":78154,"./flag-square-pg.svg":28199,"./flag-square-ph.svg":99436,"./flag-square-pk.svg":55325,"./flag-square-pl.svg":51237,"./flag-square-pm.svg":30267,"./flag-square-pr.svg":16336,"./flag-square-ps.svg":96356,"./flag-square-pt.svg":72361,"./flag-square-pw.svg":63801,"./flag-square-py.svg":8362,"./flag-square-qa.svg":75842,"./flag-square-re.svg":61851,"./flag-square-ro.svg":28302,"./flag-square-rs.svg":75064,"./flag-square-ru.svg":25878,"./flag-square-rw.svg":81617,"./flag-square-sa.svg":66278,"./flag-square-sb.svg":65306,"./flag-square-sc.svg":57752,"./flag-square-sd.svg":39252,"./flag-square-se.svg":6427,"./flag-square-sg.svg":94444,"./flag-square-sh.svg":56925,"./flag-square-si.svg":48022,"./flag-square-sj.svg":55117,"./flag-square-sk.svg":74319,"./flag-square-sl.svg":40491,"./flag-square-sm.svg":89079,"./flag-square-sn.svg":58092,"./flag-square-so.svg":53663,"./flag-square-sr.svg":13654,"./flag-square-ss.svg":91315,"./flag-square-st.svg":38451,"./flag-square-sv.svg":71765,"./flag-square-sx.svg":90823,"./flag-square-sy.svg":98886,"./flag-square-sz.svg":2891,"./flag-square-tc.svg":29434,"./flag-square-td.svg":91991,"./flag-square-tg.svg":39723,"./flag-square-th.svg":93830,"./flag-square-tj.svg":91899,"./flag-square-tk.svg":43642,"./flag-square-tl.svg":33228,"./flag-square-tm.svg":7327,"./flag-square-tn.svg":47246,"./flag-square-to.svg":85738,"./flag-square-tr.svg":80907,"./flag-square-tt.svg":11055,"./flag-square-tv.svg":60296,"./flag-square-tw.svg":63166,"./flag-square-tz.svg":61203,"./flag-square-ua.svg":79851,"./flag-square-ug.svg":46831,"./flag-square-uk.svg":36765,"./flag-square-us.svg":56337,"./flag-square-uy.svg":35561,"./flag-square-uz.svg":82746,"./flag-square-va.svg":2269,"./flag-square-vc.svg":85836,"./flag-square-ve.svg":22162,"./flag-square-vg.svg":1331,"./flag-square-vi.svg":65204,"./flag-square-vn.svg":67008,"./flag-square-vu.svg":65407,"./flag-square-wf.svg":97622,"./flag-square-ws.svg":44656,"./flag-square-ww.svg":77042,"./flag-square-xk.svg":64917,"./flag-square-ye.svg":48310,"./flag-square-yt.svg":28936,"./flag-square-za.svg":41375,"./flag-square-zm.svg":19545,"./flag-square-zw.svg":51233};function f(e){var s=c(e);return a(s)}function c(e){if(!a.o(g,e)){var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}return g[e]}f.keys=function(){return Object.keys(g)},f.resolve=c,e.exports=f,f.id=33207}}]); \ No newline at end of file diff --git a/charting_library/bundles/90751c9bb2971c193dfbff053292e624.svg b/charting_library/bundles/90751c9bb2971c193dfbff053292e624.svg new file mode 100644 index 00000000..ac0efc87 --- /dev/null +++ b/charting_library/bundles/90751c9bb2971c193dfbff053292e624.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9179ddcfe12cfa621d2c0a261757a2fb.svg b/charting_library/bundles/9179ddcfe12cfa621d2c0a261757a2fb.svg new file mode 100644 index 00000000..354dbe48 --- /dev/null +++ b/charting_library/bundles/9179ddcfe12cfa621d2c0a261757a2fb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9297.20467c2b9cdcf6544815.css b/charting_library/bundles/9297.20467c2b9cdcf6544815.css new file mode 100644 index 00000000..1de61286 --- /dev/null +++ b/charting_library/bundles/9297.20467c2b9cdcf6544815.css @@ -0,0 +1 @@ +.breadcrumbs-qk2FRuwQ{margin:-5px;overflow:hidden;position:relative;width:100%}.breadcrumbs-qk2FRuwQ:after,.breadcrumbs-qk2FRuwQ:before{content:"";display:block;height:100%;position:absolute;top:0;transition:opacity .35s ease-in-out,transform .35s ease-in-out;width:50px;z-index:2}.breadcrumbs-qk2FRuwQ:before{background:linear-gradient(90deg,#fff,#fff0);left:0;transform:translateX(-50px)}html.theme-dark .breadcrumbs-qk2FRuwQ:before{background:linear-gradient(90deg,#131722,#13172200)}.breadcrumbs-qk2FRuwQ:after{background:linear-gradient(-90deg,#fff,#fff0);right:0;transform:translateX(50px)}html.theme-dark .breadcrumbs-qk2FRuwQ:after{background:linear-gradient(-90deg,#131722,#13172200)}.breadcrumbs-qk2FRuwQ.left-fade-qk2FRuwQ:before,.breadcrumbs-qk2FRuwQ.right-fade-qk2FRuwQ:after{transform:translateX(0)}.breadcrumbs-inner-qk2FRuwQ{-webkit-overflow-scrolling:touch;overflow-x:scroll;padding:5px;scrollbar-width:none;white-space:nowrap;width:100%}.breadcrumbs-inner-qk2FRuwQ.sb-scrollbar-wrap{display:none}.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar{display:none;height:0;width:0}.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar-thumb,.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar-track{display:none}.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar-corner{display:none}.breadcrumb-qk2FRuwQ{color:#b2b5be;transition:color .35s ease}html.theme-dark .breadcrumb-qk2FRuwQ{color:#787b86}.breadcrumb-qk2FRuwQ:visited{fill:#b2b5be;color:#b2b5be}html.theme-dark .breadcrumb-qk2FRuwQ:visited{fill:#787b86;color:#787b86}@media (any-hover:hover){.breadcrumb-qk2FRuwQ:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .breadcrumb-qk2FRuwQ:hover{fill:#1e53e5;color:#1e53e5}}.breadcrumb-qk2FRuwQ:focus{outline:auto}.breadcrumb-qk2FRuwQ:focus-visible{outline:auto}.breadcrumb-qk2FRuwQ:focus:not(:focus-visible){outline:none}.breadcrumb-qk2FRuwQ:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .breadcrumb-qk2FRuwQ:active{fill:#1848cc;color:#1848cc}.breadcrumb-qk2FRuwQ{outline:none;overflow:visible;position:relative}.breadcrumb-qk2FRuwQ:focus{outline:none}.breadcrumb-qk2FRuwQ:focus-visible{outline:none}.breadcrumb-qk2FRuwQ:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.breadcrumb-qk2FRuwQ:focus:after{display:block}.breadcrumb-qk2FRuwQ:focus-visible:after{display:block}.breadcrumb-qk2FRuwQ:focus:not(:focus-visible):after{display:none}.breadcrumb-qk2FRuwQ:after{border-color:#2962ffcc;border-radius:8px}.breadcrumb-qk2FRuwQ[aria-disabled]{cursor:default}.breadcrumb-qk2FRuwQ[aria-disabled]:active{fill:#b2b5be;color:#b2b5be}@media (any-hover:hover){.breadcrumb-qk2FRuwQ[aria-disabled]:hover{fill:#b2b5be;color:#b2b5be}}html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:active{fill:#787b86}@media (any-hover:hover){html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:hover{fill:#787b86}}html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:active{color:#787b86}@media (any-hover:hover){html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:hover{color:#787b86}}.breadcrumb-qk2FRuwQ[aria-disabled]:focus{outline:none}.divider-qk2FRuwQ{color:#b2b5be;padding:0 .6em}html.theme-dark .divider-qk2FRuwQ{color:#787b86}.wizard-header-CjoBuNmK{align-items:center;display:flex;flex-flow:row wrap;flex-shrink:0;justify-content:space-between;margin-bottom:8px}.responsive-container-media-mf-tablet-vertical .wizard-header-CjoBuNmK{margin-bottom:24px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wizard-header-CjoBuNmK{margin-bottom:24px}}.wizard-header-CjoBuNmK.wizard-header-dialog-CjoBuNmK{margin-bottom:8px}.wizard-title-IDEICbHG{color:#131722;font-size:36px;font-style:normal;font-weight:600;line-height:44px;margin-bottom:16px;margin-right:24px}html.theme-dark .wizard-title-IDEICbHG{color:#b2b5be}@media screen and (max-width:767px){.wizard-title-IDEICbHG{font-size:28px;font-style:normal;font-weight:600;line-height:36px}}.responsive-container-media-mf-tablet-vertical .wizard-title-IDEICbHG{margin-bottom:0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wizard-title-IDEICbHG{margin-bottom:0}}.wizard-title-IDEICbHG.wizard-title-dialog-IDEICbHG{margin-bottom:16px}.page-title-KvjIyxe2{color:#131722;font-size:24px;font-style:normal;font-weight:600;line-height:32px;margin-bottom:16px}html.theme-dark .page-title-KvjIyxe2{color:#b2b5be}.tiles-2ojDbEbo{grid-gap:8px 8px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));justify-content:stretch;margin-bottom:52px;margin-left:-12px;margin-right:-12px;transform:translateZ(0)}@media screen and (min-width:480px){.tiles-2ojDbEbo{margin-left:0;margin-right:0}}.responsive-container-media-mf-tablet-vertical .tiles-2ojDbEbo{grid-gap:21px 18px;margin-right:0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .tiles-2ojDbEbo{grid-gap:21px 18px;margin-right:0}}.problems-nav-item-wrap-7e1JpK6O{height:82px}.problems-nav-item-7e1JpK6O{align-items:center;background-color:#f0f3fa;border:none;border-radius:4px;box-sizing:border-box;color:#131722;display:flex;font-size:18px;font-style:normal;font-weight:400;height:100%;justify-content:space-between;line-height:28px;line-height:21px;padding:0 20px;text-align:left;vertical-align:middle;width:100%}html.theme-dark .problems-nav-item-7e1JpK6O{background-color:#1e222d;color:#b2b5be}@media (any-hover:hover){.problems-nav-item-7e1JpK6O:hover{background-color:#2962ff;color:#fff}html.theme-dark .problems-nav-item-7e1JpK6O:hover{background-color:#1848cc;color:#fff}.problems-nav-item-7e1JpK6O:hover span,html.theme-dark .problems-nav-item-7e1JpK6O:hover span{color:#fff}}.problems-nav-item-7e1JpK6O:active{background-color:#1e53e5;color:#fff}html.theme-dark .problems-nav-item-7e1JpK6O:active{background-color:#1e53e5;color:#fff}.problems-nav-item-7e1JpK6O:active span,html.theme-dark .problems-nav-item-7e1JpK6O:active span{color:#fff}.problems-nav-item-7e1JpK6O{outline:none;overflow:visible;position:relative}.problems-nav-item-7e1JpK6O:focus{outline:none}.problems-nav-item-7e1JpK6O:focus-visible{outline:none}.problems-nav-item-7e1JpK6O:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.problems-nav-item-7e1JpK6O:focus:after{display:block}.problems-nav-item-7e1JpK6O:focus-visible:after{display:block}.problems-nav-item-7e1JpK6O:focus:not(:focus-visible):after{display:none}.problems-nav-item-7e1JpK6O:after{border-color:#2962ffcc;border-radius:8px}.icon-7e1JpK6O,.icon-7e1JpK6O svg{height:32px;width:32px}.icon-7e1JpK6O svg{vertical-align:middle}.column-7e1JpK6O{display:flex;flex-direction:column}.count-7e1JpK6O{color:#787b86;font-size:13px;line-height:19px;padding-top:2px}.text-7e1JpK6O{vertical-align:middle}.blackfriday-tile-7e1JpK6O{background:#000;color:#fff;font-size:22px;font-weight:700;line-height:24px;text-transform:uppercase}html.theme-dark .blackfriday-tile-7e1JpK6O{background:#000;color:#fff}@media (any-hover:hover){.blackfriday-tile-7e1JpK6O:hover{background:#131722}html.theme-dark .blackfriday-tile-7e1JpK6O:hover{background:#0c0e15}}.list-xevOrWvR{list-style-type:none;margin:0 -20px;padding:0}@media screen and (min-width:768px){.list-xevOrWvR{margin:0 -8px}}.responsive-container-media-mf-legacy-phone .list-xevOrWvR{margin:0 -16px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .list-xevOrWvR{margin:0 -16px}}.button-xevOrWvR{align-items:baseline;background:#0000;border:none;border-top:1px solid #e0e3eb;box-sizing:border-box;color:#131722;cursor:pointer;display:flex;flex-flow:row nowrap;font-size:16px;font-style:normal;font-weight:400;justify-content:space-between;line-height:24px;padding:12px 20px;text-align:left;transition:color .35s ease;width:100%}html.theme-dark .button-xevOrWvR{border-top:1px solid #2a2e39;color:#b2b5be}.button-xevOrWvR:visited{fill:#131722;color:#131722}html.theme-dark .button-xevOrWvR:visited{fill:#b2b5be;color:#b2b5be}@media (any-hover:hover){.button-xevOrWvR:hover{fill:#131722;color:#131722;transition-duration:60ms}html.theme-dark .button-xevOrWvR:hover{fill:#b2b5be;color:#b2b5be}}.button-xevOrWvR:focus{outline:auto}.button-xevOrWvR:focus-visible{outline:auto}.button-xevOrWvR:focus:not(:focus-visible){outline:none}.button-xevOrWvR:active{fill:#131722;color:#131722;transition-duration:60ms}html.theme-dark .button-xevOrWvR:active{fill:#b2b5be;color:#b2b5be}@media screen and (min-width:768px){.button-xevOrWvR{padding:12px 8px}}.responsive-container-media-mf-legacy-phone .button-xevOrWvR{padding:12px 16px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .button-xevOrWvR{padding:12px 16px}}.button-xevOrWvR:active,.button-xevOrWvR:focus,.focus-xevOrWvR .button-xevOrWvR,.item-xevOrWvR.focus-xevOrWvR+.item-xevOrWvR .button-xevOrWvR,.item-xevOrWvR:active+.item-xevOrWvR .button-xevOrWvR,.item-xevOrWvR:first-child .button-xevOrWvR,.item-xevOrWvR:focus-within+.item-xevOrWvR .button-xevOrWvR{border-color:#fff}@media (any-hover:hover){.button-xevOrWvR:hover,.item-xevOrWvR:hover+.item-xevOrWvR:not(:focus-within):not(.focus-xevOrWvR) .button-xevOrWvR{border-color:#fff}}html.theme-dark .button-xevOrWvR:active,html.theme-dark .button-xevOrWvR:focus,html.theme-dark .focus-xevOrWvR .button-xevOrWvR,html.theme-dark .item-xevOrWvR.focus-xevOrWvR+.item-xevOrWvR .button-xevOrWvR,html.theme-dark .item-xevOrWvR:active+.item-xevOrWvR .button-xevOrWvR,html.theme-dark .item-xevOrWvR:first-child .button-xevOrWvR,html.theme-dark .item-xevOrWvR:focus-within+.item-xevOrWvR .button-xevOrWvR{border-color:#131722}@media (any-hover:hover){html.theme-dark .button-xevOrWvR:hover,html.theme-dark .item-xevOrWvR:hover+.item-xevOrWvR:not(:focus-within):not(.focus-xevOrWvR) .button-xevOrWvR{border-color:#131722}}.button-xevOrWvR:active,.button-xevOrWvR:focus,.focus-xevOrWvR .button-xevOrWvR{border-radius:4px}@media (any-hover:hover){.button-xevOrWvR:hover{background:#f0f3fa;border-radius:4px}html.theme-dark .button-xevOrWvR:hover{background:#1e222d}}.button-xevOrWvR:active{background:#e0e3eb}html.theme-dark .button-xevOrWvR:active{background:#2a2e39}.button-xevOrWvR{outline:none;overflow:visible;position:relative}.button-xevOrWvR:focus{outline:none}.button-xevOrWvR:focus-visible{outline:none}.button-xevOrWvR:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:1}.button-xevOrWvR:focus:after{display:block}.button-xevOrWvR:focus-visible:after{display:block}.button-xevOrWvR:focus:not(:focus-visible):after{display:none}.button-xevOrWvR:after{border-color:#2962ffcc;border-radius:4px}.focus-xevOrWvR .button-xevOrWvR:after{display:block}.content-xevOrWvR{width:calc(100% - 26px)}.icon-xevOrWvR{display:inline-flex;padding:0 11px 0 7px}.icon-xevOrWvR,.icon-xevOrWvR svg{height:12px;width:8px}.spinner-container-wvKRiFX3{height:150px;position:relative}.search-block-FdunOPoq{margin-bottom:40px;position:relative}.search-input-container-FdunOPoq{font-size:16px;font-style:normal;font-weight:400;line-height:24px;position:relative}.search-input-container-FdunOPoq input::placeholder{color:#a3a6af}html.theme-dark .search-input-container-FdunOPoq input::placeholder{color:#787b86}.search-icon-FdunOPoq{align-items:center;color:#a3a6af;display:inline-flex;padding:0 6px}html.theme-dark .search-icon-FdunOPoq{color:#b2b5be}.search-block-FdunOPoq:focus-within .search-icon-FdunOPoq{color:#131722}html.theme-dark .search-block-FdunOPoq:focus-within .search-icon-FdunOPoq{color:#b2b5be}.solution-FdunOPoq{color:#131722}html.theme-dark .solution-FdunOPoq{color:#b2b5be}.solution-FdunOPoq a{word-wrap:break-word;color:#2962ff;transition:color .35s ease}html.theme-dark .solution-FdunOPoq a{color:#2962ff}.solution-FdunOPoq a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .solution-FdunOPoq a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.solution-FdunOPoq a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .solution-FdunOPoq a:hover{fill:#1e53e5;color:#1e53e5}}.solution-FdunOPoq a:focus{outline:auto}.solution-FdunOPoq a:focus-visible{outline:auto}.solution-FdunOPoq a:focus:not(:focus-visible){outline:none}.solution-FdunOPoq a:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .solution-FdunOPoq a:active{fill:#1848cc;color:#1848cc}.solution-FdunOPoq ol,.solution-FdunOPoq ul{margin-left:40px}.solution-FdunOPoq ol,.solution-FdunOPoq p,.solution-FdunOPoq pre,.solution-FdunOPoq ul{margin-bottom:16px}.solution-FdunOPoq table td{border:1px solid #131722;padding:4px}html.theme-dark .solution-FdunOPoq table td{border:1px solid #b2b5be}.solution-FdunOPoq iframe{height:400px;width:100%}.solution-FdunOPoq [data-img-border]{background:#e3effd;border-radius:6px;box-sizing:border-box;display:flex;flex-flow:row nowrap;justify-content:center;margin:24px 0;padding:20px;width:100%}html.theme-dark .solution-FdunOPoq [data-img-border]{background:#2a2e39}.responsive-container-media-mf-legacy-phone .solution-FdunOPoq [data-img-border]{padding:40px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .solution-FdunOPoq [data-img-border]{padding:40px}}@media (any-hover:hover){.solution-FdunOPoq [data-img-border][role=button]:hover{cursor:zoom-in}}.solution-FdunOPoq [data-img-border]{outline:none;overflow:visible;position:relative}.solution-FdunOPoq [data-img-border]:focus{outline:none}.solution-FdunOPoq [data-img-border]:focus-visible{outline:none}.solution-FdunOPoq [data-img-border]:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 12px);left:-6px;pointer-events:none;position:absolute;top:-6px;width:calc(100% + 12px);z-index:1}.solution-FdunOPoq [data-img-border]:focus:after{display:block}.solution-FdunOPoq [data-img-border]:focus-visible:after{display:block}.solution-FdunOPoq [data-img-border]:focus:not(:focus-visible):after{display:none}.solution-FdunOPoq [data-img-border]:after,html.theme-dark .solution-FdunOPoq [data-img-border]:after{border-color:#2962ffcc}.solution-FdunOPoq [data-img-border]:after{border-radius:10px}.solution-FdunOPoq img:not([data-float-left]):not([data-float-right]){border-radius:6px;box-shadow:0 2px 4px #0003;display:block;height:auto;height:intrinsic;margin:0;max-width:100%;width:100%}html.theme-dark .solution-FdunOPoq img:not([data-float-left]):not([data-float-right]){box-shadow:0 2px 4px #0006}.solution-FdunOPoq img[data-float-left]{float:left;margin:0 1em 1em 0}.solution-FdunOPoq img[data-float-right]{float:right;margin:0 0 1em 1em}.solution-FdunOPoq blockquote{background-color:#e3effd;border-radius:6px;margin:0 0 16px;padding:24px}html.theme-dark .solution-FdunOPoq blockquote{background-color:#2a2e39}.solution-FdunOPoq blockquote ::selection{background-color:#bbd9fb}html.theme-dark .solution-FdunOPoq blockquote ::selection{background-color:#143a87}.solution-FdunOPoq blockquote ol:last-child,.solution-FdunOPoq blockquote p:last-child,.solution-FdunOPoq blockquote pre:last-child,.solution-FdunOPoq blockquote ul:last-child{margin-bottom:0}.support-textarea-FdunOPoq{max-height:490px;min-height:106px}.list-HVdG1RMD{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px #0003;left:0;margin:0;overflow:hidden;position:absolute;top:36px;width:100%;z-index:1}html.theme-dark .list-HVdG1RMD{background-color:#131722;box-shadow:0 2px 4px #0006}.responsive-container-media-mf-legacy-phone .list-HVdG1RMD{margin:0}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .list-HVdG1RMD{margin:0}}.empty-HVdG1RMD{font-size:18px;height:40px;line-height:40px;text-align:center}.itemWrapper-HVdG1RMD{word-wrap:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-HVdG1RMD,.responsive-container-base .item-HVdG1RMD{margin:0}.highlight-HVdG1RMD{color:#2962ff}.fixed-header-k70B48fN{background:#fff;border-bottom:1px solid #f0f3fa;box-sizing:border-box;height:72px;left:0;opacity:0;pointer-events:none;position:fixed;right:0;top:0;transform:translateY(-20%);transition:opacity .2s ease-in-out,transform .2s ease-in-out;width:100%;z-index:4}html.theme-dark .fixed-header-k70B48fN{background:#131722;border-bottom:1px solid #2a2e39}.fixed-header-k70B48fN.visible-k70B48fN{opacity:1;pointer-events:auto;transform:translateY(0)}.fixed-header-content-k70B48fN{align-items:center;box-sizing:border-box;display:flex;flex-flow:row nowrap;height:100%;justify-content:space-between;margin:0 auto;max-width:904px;padding:0 20px;width:100%}@media screen and (min-width:320px){.fixed-header-content-k70B48fN{padding-left:27.5px;padding-right:32.5px;width:calc(100% - 5px)}}.responsive-container-media-mf-legacy-phone .fixed-header-content-k70B48fN{padding-left:77.5px;padding-right:102.5px}@supports (scrollbar-width:thin){@media screen and (min-width:320px){.fixed-header-content-k70B48fN{padding-left:24.5px;padding-right:35.5px;width:calc(100% - 11px)}}.responsive-container-media-mf-legacy-phone .fixed-header-content-k70B48fN{padding-left:74.5px;padding-right:105.5px}}.wrap-vLznnRjl{box-sizing:border-box;display:flex;flex-flow:column nowrap;flex-grow:1;margin:0 auto;max-width:904px;padding:55px 20px 40px;position:relative;-webkit-user-select:text;user-select:text;width:100%}.responsive-container-media-mf-legacy-phone-vertical .wrap-vLznnRjl{padding:55px 30px 40px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wrap-vLznnRjl{padding:55px 30px 40px}}.responsive-container-media-mf-legacy-phone .wrap-vLznnRjl{padding:66px 80px 66px 100px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wrap-vLznnRjl{padding:66px 80px 66px 100px}}.close-button-vLznnRjl{margin:0;position:absolute;right:12px;top:8px;z-index:1}.responsive-container-media-mf-legacy-phone-vertical .close-button-vLznnRjl{right:22px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .close-button-vLznnRjl{right:22px}}.responsive-container-media-mf-legacy-phone .close-button-vLznnRjl{top:67px}.responsive-container-media-mf-legacy-phone .close-button-vLznnRjl.with-search-vLznnRjl{top:63px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .close-button-vLznnRjl{top:67px}.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .close-button-vLznnRjl.with-search-vLznnRjl{top:63px}}.back-button-vLznnRjl{left:8px;position:absolute;top:8px}.responsive-container-media-mf-legacy-phone-vertical .back-button-vLznnRjl{left:18px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .back-button-vLznnRjl{left:18px}}.responsive-container-media-mf-legacy-phone .back-button-vLznnRjl{left:42px;top:100px}.responsive-container-media-mf-legacy-phone .back-button-vLznnRjl.with-search-vLznnRjl{top:174px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .back-button-vLznnRjl{left:42px;top:100px}.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .back-button-vLznnRjl.with-search-vLznnRjl{top:174px}}.responsive-container-base .fixed-header-button-vLznnRjl{right:auto;top:auto}.responsive-container-base .fixed-header-back-button-vLznnRjl{left:-12px;position:relative}.responsive-container-media-mf-legacy-phone .fixed-header-back-button-vLznnRjl{left:-38px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .fixed-header-back-button-vLznnRjl{left:-38px}}.fixed-header-close-button-vLznnRjl{position:absolute}.responsive-container-base .fixed-header-close-button-vLznnRjl{right:17px}@media screen and (min-width:320px){.responsive-container-base .fixed-header-close-button-vLznnRjl{right:27px}}@supports (scrollbar-width:thin){.responsive-container-base .fixed-header-close-button-vLznnRjl{right:12px}@media screen and (min-width:320px){.responsive-container-base .fixed-header-close-button-vLznnRjl{right:33px}}}.responsive-container-media-mf-legacy-phone .fixed-header-close-button-vLznnRjl{right:27px}@supports (scrollbar-width:thin){.responsive-container-media-mf-legacy-phone .fixed-header-close-button-vLznnRjl{right:33px}}.breadcrumbs-vLznnRjl{font-size:14px;font-style:normal;font-weight:400;line-height:21px;margin:0 -20px 16px;min-height:21px;position:relative;width:calc(100% + 40px)}.responsive-container-media-mf-legacy-phone-vertical .breadcrumbs-vLznnRjl{margin-left:-30px;margin-right:-30px;width:calc(100% + 60px)}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl{margin-left:-30px;margin-right:-30px;width:calc(100% + 60px)}}.responsive-container-media-mf-legacy-phone .breadcrumbs-vLznnRjl{margin-left:-5px;margin-right:-5px;width:auto}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl{margin-left:-5px;margin-right:-5px;width:auto}}.breadcrumbs-vLznnRjl:after,.breadcrumbs-vLznnRjl:before{display:none}.responsive-container-media-mf-legacy-phone .breadcrumbs-vLznnRjl:after,.responsive-container-media-mf-legacy-phone .breadcrumbs-vLznnRjl:before{display:block}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl:after,.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl:before{display:block}}.breadcrumbs-inner-vLznnRjl{box-sizing:border-box;padding-left:20px;padding-right:20px}.responsive-container-media-mf-legacy-phone-vertical .breadcrumbs-inner-vLznnRjl{padding-left:30px;padding-right:30px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-inner-vLznnRjl{padding-left:30px;padding-right:30px}}.responsive-container-media-mf-legacy-phone .breadcrumbs-inner-vLznnRjl{padding-left:5px;padding-right:5px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-inner-vLznnRjl{padding-left:5px;padding-right:5px}}@supports (-webkit-overflow-scrolling:touch){.disabledForIos-vLznnRjl{display:none}}.title-TQlEhltv{margin-top:45px}.externalLink-TQlEhltv{align-items:center;border:1px solid #e0e3eb;border-radius:6px;display:flex;flex-flow:column nowrap;justify-content:center;padding:24px}html.theme-dark .externalLink-TQlEhltv{border:1px solid #363a45}@media (any-hover:hover){.externalLink-TQlEhltv:hover{background-color:#f8f9fd}html.theme-dark .externalLink-TQlEhltv:hover{background-color:#1e222d}}.externalLink-TQlEhltv:active{background-color:#e0e3eb}html.theme-dark .externalLink-TQlEhltv:active{background-color:#363a45}.externalLink-TQlEhltv{outline:none;overflow:visible;position:relative}.externalLink-TQlEhltv:focus{outline:none}.externalLink-TQlEhltv:focus-visible{outline:none}.externalLink-TQlEhltv:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);left:-5px;pointer-events:none;position:absolute;top:-5px;width:calc(100% + 10px);z-index:1}.externalLink-TQlEhltv:focus:after{display:block}.externalLink-TQlEhltv:focus-visible:after{display:block}.externalLink-TQlEhltv:focus:not(:focus-visible):after{display:none}.externalLink-TQlEhltv:after{border-color:#2962ffcc;border-radius:10px}.externalIcon-TQlEhltv{background-position:50%;background-repeat:no-repeat;background-size:contain;height:120px;width:120px}.externalIcon--free-user-faqs-TQlEhltv{background-image:url(186115d4ca74152914acd81e26836798.svg)}html.theme-dark .externalIcon--free-user-faqs-TQlEhltv{background-image:url(11cab6ced9c9b2073f5e8a987766f54f.svg)}.externalIcon--shortcuts-TQlEhltv{background-image:url(335343b286c304fe0ff472256b515659.svg)}html.theme-dark .externalIcon--shortcuts-TQlEhltv{background-image:url(8386a0d291cb7eb9183b942d59c52947.svg)}.externalIcon--new-TQlEhltv{background-image:url(0be05afe69640ce88aa24265aa2effab.svg)}html.theme-dark .externalIcon--new-TQlEhltv{background-image:url(9bd0f4d3395d3c7f81660e6885b07378.svg)}.externalIcon--feature-TQlEhltv{background-image:url(614cf27f508c538c23fd1e41dec69981.svg)}html.theme-dark .externalIcon--feature-TQlEhltv{background-image:url(9619f52114e3eb5ddafad0f641d090cf.svg)}.externalIcon--pine-TQlEhltv{background-image:url(2f1e9623d075ac187394740ee1f6c377.svg)}html.theme-dark .externalIcon--pine-TQlEhltv{background-image:url(576e6465e16da65acd139607cb0febde.svg)}.externalIcon--pine-script-TQlEhltv{background-image:url(4aaf8ecd499671f5404f7355e9b94ffa.svg)}html.theme-dark .externalIcon--pine-script-TQlEhltv{background-image:url(677ba99bfad6904fb5ff8b117e32715d.svg)}.externalIcon--update-TQlEhltv{background-image:url(1d59e7669186b321ec8cffdfd2369210.svg)}html.theme-dark .externalIcon--update-TQlEhltv{background-image:url(29545fef24e0ecc8478adab4816bba30.svg)}.externalIcon--status-TQlEhltv{background-image:url(f98fa40daa7d9e2981645268d2a38d52.svg)}html.theme-dark .externalIcon--status-TQlEhltv{background-image:url(3aeb0bb0575de40834fc666660380ae0.svg)}.externalTitle-TQlEhltv{color:#131722;font-size:18px;line-height:28px;margin-top:10px;text-align:center}html.theme-dark .externalTitle-TQlEhltv{color:#d1d4dc}.openingIcon-TQlEhltv{color:#131722;position:absolute;right:4px;top:4px}html.theme-dark .openingIcon-TQlEhltv{color:#d1d4dc}.actions-gJT1zWiK{display:flex;flex-flow:row wrap;justify-content:flex-start}.actions--align_center-gJT1zWiK,.actions--align_right-gJT1zWiK{flex-direction:row-reverse}.actions--align_center-gJT1zWiK{justify-content:center}.actions--align_right-gJT1zWiK .button-gJT1zWiK{margin-left:16px;margin-right:0}.actions--align_right-gJT1zWiK .button-gJT1zWiK:last-child{margin-left:0}.actions--align_center-gJT1zWiK .button-gJT1zWiK,.actions--align_center-gJT1zWiK .button-gJT1zWiK:last-child{margin-left:8px;margin-right:8px}.button-gJT1zWiK{margin-bottom:16px;margin-left:0;margin-right:16px}.button-gJT1zWiK:last-child{margin-right:0}.text-gJT1zWiK{opacity:0}.text-gJT1zWiK.shown-gJT1zWiK{opacity:1}.loader-gJT1zWiK{display:none}.loader-gJT1zWiK.shown-gJT1zWiK{display:block}.paragraph-q0Pd3eEh{color:#131722;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:16px}html.theme-dark .paragraph-q0Pd3eEh{color:#b2b5be}.success-page-w9EDOZYy{align-items:center;display:flex;flex-flow:column nowrap;height:100%;justify-content:center;text-align:center}.link-w9EDOZYy{color:#2962ff;transition:color .35s ease}html.theme-dark .link-w9EDOZYy{color:#2962ff}.link-w9EDOZYy:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-w9EDOZYy:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-w9EDOZYy:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-w9EDOZYy:hover{fill:#1e53e5;color:#1e53e5}}.link-w9EDOZYy:focus{outline:auto}.link-w9EDOZYy:focus-visible{outline:auto}.link-w9EDOZYy:focus:not(:focus-visible){outline:none}.link-w9EDOZYy:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-w9EDOZYy:active{fill:#1848cc;color:#1848cc}.responsive-container-media-mf-legacy-phone .success-page-title-w9EDOZYy{margin-bottom:16px}.responsive-container-media-mf-legacy-phone .success-page-text-w9EDOZYy{margin-bottom:32px}.icon-eFQRlZi6{display:inline-flex;left:20px;position:absolute;top:15px}@media screen and (min-width:768px){.icon-eFQRlZi6{left:8px}}.responsive-container-media-mf-legacy-phone .icon-eFQRlZi6{left:16px;top:13px}.responsive-container-media-mf-legacy-phone .icon-eFQRlZi6,.responsive-container-media-mf-legacy-phone .icon-eFQRlZi6 svg{height:22px;width:22px}.container-eFQRlZi6{margin-top:28px;position:relative}.responsive-container-media-mf-legacy-phone .container-eFQRlZi6{margin-top:64px}.item-eFQRlZi6:only-child .innerItem-eFQRlZi6{border-top-color:#e0e3eb}html.theme-dark .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{border-top-color:#434651}.item-eFQRlZi6:only-child .innerItem-eFQRlZi6:active{border-top-color:#0000}@media (any-hover:hover){.item-eFQRlZi6:only-child .innerItem-eFQRlZi6:hover{border-top-color:#0000}}html.theme-dark .item-eFQRlZi6:only-child .innerItem-eFQRlZi6:active{border-top-color:#0000}@media (any-hover:hover){html.theme-dark .item-eFQRlZi6:only-child .innerItem-eFQRlZi6:hover{border-top-color:#0000}}.responsive-container-base .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{padding-left:46px}@media screen and (min-width:768px){.responsive-container-base .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{padding-left:34px}}.responsive-container-media-mf-legacy-phone .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{padding-left:49px}.code-highlighter-OSu8zI0r [rel=highlighter]{background-color:#e3effd;border-radius:6px;margin:0;overflow:hidden}html.theme-dark .code-highlighter-OSu8zI0r [rel=highlighter]{background-color:#2a2e39}.code-highlighter-OSu8zI0r [rel=highlighter]>code.language-js{background-color:initial;background-image:none;border:none;box-shadow:none;color:#131722;display:block;font-size:16px;font-style:normal;font-weight:400;line-height:24px;overflow:auto;padding:24px}html.theme-dark .code-highlighter-OSu8zI0r [rel=highlighter]>code.language-js{color:#d1d4dc}.code-highlighter-OSu8zI0r [rel=highlighter]>code.language-js .token.operator{background-color:initial}.code-highlighter-OSu8zI0r [rel=highlighter] ::selection{background-color:#bbd9fb}html.theme-dark .code-highlighter-OSu8zI0r [rel=highlighter] ::selection{background-color:#143a87}.code-highlighter-OSu8zI0r [rel=highlighter]:after,.code-highlighter-OSu8zI0r [rel=highlighter]:before{display:none}.wrapper-copy-link-button-v1B2IYZi{display:inline;white-space:nowrap}.copy-link-button-v1B2IYZi{background:#0000;border:none;box-sizing:initial;color:#131722;height:28px;margin:0 0 0 8px;padding:0;width:28px}html.theme-dark .copy-link-button-v1B2IYZi{color:#d1d4dc}@media (any-hover:hover){.copy-link-button-v1B2IYZi:hover{color:#000}html.theme-dark .copy-link-button-v1B2IYZi:hover{color:#f0f3fa}.copy-link-button-v1B2IYZi:hover:before{background:#f0f3fa}html.theme-dark .copy-link-button-v1B2IYZi:hover:before{background:#2a2e39}}.copy-link-button-v1B2IYZi:active:before{background:#e0e3eb}html.theme-dark .copy-link-button-v1B2IYZi:active:before{background:#1e222d}.copy-link-button-v1B2IYZi:before{background:#0000;border:none;border-radius:4px;content:"";height:calc(100% + 16px);left:-8px;position:absolute;top:-8px;width:calc(100% + 16px);z-index:-1}.copy-link-button-v1B2IYZi{outline:none;overflow:visible;position:relative}.copy-link-button-v1B2IYZi:focus{outline:none}.copy-link-button-v1B2IYZi:focus-visible{outline:none}.copy-link-button-v1B2IYZi:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 24px);left:-12px;pointer-events:none;position:absolute;top:-12px;width:calc(100% + 24px);z-index:1}.copy-link-button-v1B2IYZi:focus:after{display:block}.copy-link-button-v1B2IYZi:focus-visible:after{display:block}.copy-link-button-v1B2IYZi:focus:not(:focus-visible):after{display:none}.copy-link-button-v1B2IYZi:after{border-color:#2962ffcc;border-radius:8px}.icon-v1B2IYZi{display:inline-flex;height:100%;width:100%}.solution-Iy6Ippd7 h4{font-size:20px;font-style:normal;font-weight:600;line-height:28px;margin:40px 0 8px}.solution-Iy6Ippd7 h5{font-size:18px;font-style:normal;font-weight:600;line-height:26px;margin:32px 0 4px}.solution-Iy6Ippd7 h5~ol,.solution-Iy6Ippd7 h5~p,.solution-Iy6Ippd7 h5~pre,.solution-Iy6Ippd7 h5~ul{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.solution-Iy6Ippd7 h6{font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin:24px 0 4px}.solution-Iy6Ippd7 h6~ol,.solution-Iy6Ippd7 h6~p,.solution-Iy6Ippd7 h6~pre,.solution-Iy6Ippd7 h6~ul{font-size:14px;font-style:normal;font-weight:400;line-height:21px}.solution-Iy6Ippd7 h5~h4~ol,.solution-Iy6Ippd7 h5~h4~p,.solution-Iy6Ippd7 h5~h4~pre,.solution-Iy6Ippd7 h5~h4~ul,.solution-Iy6Ippd7 h6~h4~ol,.solution-Iy6Ippd7 h6~h4~p,.solution-Iy6Ippd7 h6~h4~pre,.solution-Iy6Ippd7 h6~h4~ul,.solution-Iy6Ippd7 h6~h5~ol,.solution-Iy6Ippd7 h6~h5~p,.solution-Iy6Ippd7 h6~h5~pre,.solution-Iy6Ippd7 h6~h5~ul,.solution-Iy6Ippd7 ol,.solution-Iy6Ippd7 p,.solution-Iy6Ippd7 pre,.solution-Iy6Ippd7 ul{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.solution-Iy6Ippd7.images-hidden-Iy6Ippd7 [data-img-border] img,.solution-Iy6Ippd7.images-hidden-Iy6Ippd7 img[data-float-left],.solution-Iy6Ippd7.images-hidden-Iy6Ippd7 img[data-float-right]{display:none}.spinner-Iy6Ippd7{height:5em;position:relative}.launch-chart-banner-Iy6Ippd7{margin-top:32px}.copy-link-button-Iy6Ippd7{display:inline-block;margin-top:-1px;vertical-align:middle}.item-title-bztm5Sql{display:block;width:100%}.solutions-count-bztm5Sql{color:#787b86;display:block;font-size:13px;font-style:normal;font-weight:400;line-height:19px}html.theme-dark .solutions-count-bztm5Sql{color:#787b86}.spinner-e4BIGvhd{height:5em;position:relative}.tv-support-portal{background-color:#fff;display:flex;flex-flow:column nowrap;min-height:80vh}html.theme-dark .tv-support-portal{background-color:#131722}.support_portal body{background-color:#fff}html.theme-dark .support_portal body{background-color:#131722}.wizard-nYCqoM4n{display:flex;flex-flow:column nowrap;flex-grow:1;position:relative;width:100%}.wizard-nYCqoM4n button:not(:disabled){cursor:pointer} \ No newline at end of file diff --git a/charting_library/bundles/9297.20467c2b9cdcf6544815.rtl.css b/charting_library/bundles/9297.20467c2b9cdcf6544815.rtl.css new file mode 100644 index 00000000..be077b05 --- /dev/null +++ b/charting_library/bundles/9297.20467c2b9cdcf6544815.rtl.css @@ -0,0 +1 @@ +.breadcrumbs-qk2FRuwQ{margin:-5px;overflow:hidden;position:relative;width:100%}.breadcrumbs-qk2FRuwQ:after,.breadcrumbs-qk2FRuwQ:before{content:"";display:block;height:100%;position:absolute;top:0;transition:opacity .35s ease-in-out,transform .35s ease-in-out;width:50px;z-index:2}.breadcrumbs-qk2FRuwQ:before{background:linear-gradient(-90deg,#fff,#fff0);right:0;transform:translateX(50px)}html.theme-dark .breadcrumbs-qk2FRuwQ:before{background:linear-gradient(-90deg,#131722,#13172200)}.breadcrumbs-qk2FRuwQ:after{background:linear-gradient(90deg,#fff,#fff0);left:0;transform:translateX(-50px)}html.theme-dark .breadcrumbs-qk2FRuwQ:after{background:linear-gradient(90deg,#131722,#13172200)}.breadcrumbs-qk2FRuwQ.left-fade-qk2FRuwQ:before,.breadcrumbs-qk2FRuwQ.right-fade-qk2FRuwQ:after{transform:translateX(0)}.breadcrumbs-inner-qk2FRuwQ{-webkit-overflow-scrolling:touch;overflow-x:scroll;padding:5px;scrollbar-width:none;white-space:nowrap;width:100%}.breadcrumbs-inner-qk2FRuwQ.sb-scrollbar-wrap{display:none}.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar{display:none;height:0;width:0}.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar-thumb,.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar-track{display:none}.breadcrumbs-inner-qk2FRuwQ::-webkit-scrollbar-corner{display:none}.breadcrumb-qk2FRuwQ{color:#b2b5be;transition:color .35s ease}html.theme-dark .breadcrumb-qk2FRuwQ{color:#787b86}.breadcrumb-qk2FRuwQ:visited{fill:#b2b5be;color:#b2b5be}html.theme-dark .breadcrumb-qk2FRuwQ:visited{fill:#787b86;color:#787b86}@media (any-hover:hover){.breadcrumb-qk2FRuwQ:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .breadcrumb-qk2FRuwQ:hover{fill:#1e53e5;color:#1e53e5}}.breadcrumb-qk2FRuwQ:focus{outline:auto}.breadcrumb-qk2FRuwQ:focus-visible{outline:auto}.breadcrumb-qk2FRuwQ:focus:not(:focus-visible){outline:none}.breadcrumb-qk2FRuwQ:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .breadcrumb-qk2FRuwQ:active{fill:#1848cc;color:#1848cc}.breadcrumb-qk2FRuwQ{outline:none;overflow:visible;position:relative}.breadcrumb-qk2FRuwQ:focus{outline:none}.breadcrumb-qk2FRuwQ:focus-visible{outline:none}.breadcrumb-qk2FRuwQ:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.breadcrumb-qk2FRuwQ:focus:after{display:block}.breadcrumb-qk2FRuwQ:focus-visible:after{display:block}.breadcrumb-qk2FRuwQ:focus:not(:focus-visible):after{display:none}.breadcrumb-qk2FRuwQ:after{border-color:#2962ffcc;border-radius:8px}.breadcrumb-qk2FRuwQ[aria-disabled]{cursor:default}.breadcrumb-qk2FRuwQ[aria-disabled]:active{fill:#b2b5be;color:#b2b5be}@media (any-hover:hover){.breadcrumb-qk2FRuwQ[aria-disabled]:hover{fill:#b2b5be;color:#b2b5be}}html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:active{fill:#787b86}@media (any-hover:hover){html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:hover{fill:#787b86}}html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:active{color:#787b86}@media (any-hover:hover){html.theme-dark .breadcrumb-qk2FRuwQ[aria-disabled]:hover{color:#787b86}}.breadcrumb-qk2FRuwQ[aria-disabled]:focus{outline:none}.divider-qk2FRuwQ{color:#b2b5be;padding:0 .6em}html.theme-dark .divider-qk2FRuwQ{color:#787b86}.wizard-header-CjoBuNmK{align-items:center;display:flex;flex-flow:row wrap;flex-shrink:0;justify-content:space-between;margin-bottom:8px}.responsive-container-media-mf-tablet-vertical .wizard-header-CjoBuNmK{margin-bottom:24px}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wizard-header-CjoBuNmK{margin-bottom:24px}}.wizard-header-CjoBuNmK.wizard-header-dialog-CjoBuNmK{margin-bottom:8px}.wizard-title-IDEICbHG{color:#131722;font-size:36px;font-style:normal;font-weight:600;line-height:44px;margin-bottom:16px;margin-left:24px}html.theme-dark .wizard-title-IDEICbHG{color:#b2b5be}@media screen and (max-width:767px){.wizard-title-IDEICbHG{font-size:28px;font-style:normal;font-weight:600;line-height:36px}}.responsive-container-media-mf-tablet-vertical .wizard-title-IDEICbHG{margin-bottom:0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wizard-title-IDEICbHG{margin-bottom:0}}.wizard-title-IDEICbHG.wizard-title-dialog-IDEICbHG{margin-bottom:16px}.page-title-KvjIyxe2{color:#131722;font-size:24px;font-style:normal;font-weight:600;line-height:32px;margin-bottom:16px}html.theme-dark .page-title-KvjIyxe2{color:#b2b5be}.tiles-2ojDbEbo{grid-gap:8px 8px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));justify-content:stretch;margin-bottom:52px;margin-left:-12px;margin-right:-12px;transform:translateZ(0)}@media screen and (min-width:480px){.tiles-2ojDbEbo{margin-left:0;margin-right:0}}.responsive-container-media-mf-tablet-vertical .tiles-2ojDbEbo{grid-gap:21px 18px;margin-left:0}@media screen and (min-width:768px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .tiles-2ojDbEbo{grid-gap:21px 18px;margin-left:0}}.problems-nav-item-wrap-7e1JpK6O{height:82px}.problems-nav-item-7e1JpK6O{align-items:center;background-color:#f0f3fa;border:none;border-radius:4px;box-sizing:border-box;color:#131722;display:flex;font-size:18px;font-style:normal;font-weight:400;height:100%;justify-content:space-between;line-height:28px;line-height:21px;padding:0 20px;text-align:right;vertical-align:middle;width:100%}html.theme-dark .problems-nav-item-7e1JpK6O{background-color:#1e222d;color:#b2b5be}@media (any-hover:hover){.problems-nav-item-7e1JpK6O:hover{background-color:#2962ff;color:#fff}html.theme-dark .problems-nav-item-7e1JpK6O:hover{background-color:#1848cc;color:#fff}.problems-nav-item-7e1JpK6O:hover span,html.theme-dark .problems-nav-item-7e1JpK6O:hover span{color:#fff}}.problems-nav-item-7e1JpK6O:active{background-color:#1e53e5;color:#fff}html.theme-dark .problems-nav-item-7e1JpK6O:active{background-color:#1e53e5;color:#fff}.problems-nav-item-7e1JpK6O:active span,html.theme-dark .problems-nav-item-7e1JpK6O:active span{color:#fff}.problems-nav-item-7e1JpK6O{outline:none;overflow:visible;position:relative}.problems-nav-item-7e1JpK6O:focus{outline:none}.problems-nav-item-7e1JpK6O:focus-visible{outline:none}.problems-nav-item-7e1JpK6O:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.problems-nav-item-7e1JpK6O:focus:after{display:block}.problems-nav-item-7e1JpK6O:focus-visible:after{display:block}.problems-nav-item-7e1JpK6O:focus:not(:focus-visible):after{display:none}.problems-nav-item-7e1JpK6O:after{border-color:#2962ffcc;border-radius:8px}.icon-7e1JpK6O,.icon-7e1JpK6O svg{height:32px;width:32px}.icon-7e1JpK6O svg{vertical-align:middle}.column-7e1JpK6O{display:flex;flex-direction:column}.count-7e1JpK6O{color:#787b86;font-size:13px;line-height:19px;padding-top:2px}.text-7e1JpK6O{vertical-align:middle}.blackfriday-tile-7e1JpK6O{background:#000;color:#fff;font-size:22px;font-weight:700;line-height:24px;text-transform:uppercase}html.theme-dark .blackfriday-tile-7e1JpK6O{background:#000;color:#fff}@media (any-hover:hover){.blackfriday-tile-7e1JpK6O:hover{background:#131722}html.theme-dark .blackfriday-tile-7e1JpK6O:hover{background:#0c0e15}}.list-xevOrWvR{list-style-type:none;margin:0 -20px;padding:0}@media screen and (min-width:768px){.list-xevOrWvR{margin:0 -8px}}.responsive-container-media-mf-legacy-phone .list-xevOrWvR{margin:0 -16px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .list-xevOrWvR{margin:0 -16px}}.button-xevOrWvR{align-items:baseline;background:#0000;border:none;border-top:1px solid #e0e3eb;box-sizing:border-box;color:#131722;cursor:pointer;display:flex;flex-flow:row nowrap;font-size:16px;font-style:normal;font-weight:400;justify-content:space-between;line-height:24px;padding:12px 20px;text-align:right;transition:color .35s ease;width:100%}html.theme-dark .button-xevOrWvR{border-top:1px solid #2a2e39;color:#b2b5be}.button-xevOrWvR:visited{fill:#131722;color:#131722}html.theme-dark .button-xevOrWvR:visited{fill:#b2b5be;color:#b2b5be}@media (any-hover:hover){.button-xevOrWvR:hover{fill:#131722;color:#131722;transition-duration:60ms}html.theme-dark .button-xevOrWvR:hover{fill:#b2b5be;color:#b2b5be}}.button-xevOrWvR:focus{outline:auto}.button-xevOrWvR:focus-visible{outline:auto}.button-xevOrWvR:focus:not(:focus-visible){outline:none}.button-xevOrWvR:active{fill:#131722;color:#131722;transition-duration:60ms}html.theme-dark .button-xevOrWvR:active{fill:#b2b5be;color:#b2b5be}@media screen and (min-width:768px){.button-xevOrWvR{padding:12px 8px}}.responsive-container-media-mf-legacy-phone .button-xevOrWvR{padding:12px 16px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .button-xevOrWvR{padding:12px 16px}}.button-xevOrWvR:active,.button-xevOrWvR:focus,.focus-xevOrWvR .button-xevOrWvR,.item-xevOrWvR.focus-xevOrWvR+.item-xevOrWvR .button-xevOrWvR,.item-xevOrWvR:active+.item-xevOrWvR .button-xevOrWvR,.item-xevOrWvR:first-child .button-xevOrWvR,.item-xevOrWvR:focus-within+.item-xevOrWvR .button-xevOrWvR{border-color:#fff}@media (any-hover:hover){.button-xevOrWvR:hover,.item-xevOrWvR:hover+.item-xevOrWvR:not(:focus-within):not(.focus-xevOrWvR) .button-xevOrWvR{border-color:#fff}}html.theme-dark .button-xevOrWvR:active,html.theme-dark .button-xevOrWvR:focus,html.theme-dark .focus-xevOrWvR .button-xevOrWvR,html.theme-dark .item-xevOrWvR.focus-xevOrWvR+.item-xevOrWvR .button-xevOrWvR,html.theme-dark .item-xevOrWvR:active+.item-xevOrWvR .button-xevOrWvR,html.theme-dark .item-xevOrWvR:first-child .button-xevOrWvR,html.theme-dark .item-xevOrWvR:focus-within+.item-xevOrWvR .button-xevOrWvR{border-color:#131722}@media (any-hover:hover){html.theme-dark .button-xevOrWvR:hover,html.theme-dark .item-xevOrWvR:hover+.item-xevOrWvR:not(:focus-within):not(.focus-xevOrWvR) .button-xevOrWvR{border-color:#131722}}.button-xevOrWvR:active,.button-xevOrWvR:focus,.focus-xevOrWvR .button-xevOrWvR{border-radius:4px}@media (any-hover:hover){.button-xevOrWvR:hover{background:#f0f3fa;border-radius:4px}html.theme-dark .button-xevOrWvR:hover{background:#1e222d}}.button-xevOrWvR:active{background:#e0e3eb}html.theme-dark .button-xevOrWvR:active{background:#2a2e39}.button-xevOrWvR{outline:none;overflow:visible;position:relative}.button-xevOrWvR:focus{outline:none}.button-xevOrWvR:focus-visible{outline:none}.button-xevOrWvR:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:1}.button-xevOrWvR:focus:after{display:block}.button-xevOrWvR:focus-visible:after{display:block}.button-xevOrWvR:focus:not(:focus-visible):after{display:none}.button-xevOrWvR:after{border-color:#2962ffcc;border-radius:4px}.focus-xevOrWvR .button-xevOrWvR:after{display:block}.content-xevOrWvR{width:calc(100% - 26px)}.icon-xevOrWvR{display:inline-flex;padding:0 7px 0 11px}.icon-xevOrWvR,.icon-xevOrWvR svg{height:12px;width:8px}.spinner-container-wvKRiFX3{height:150px;position:relative}.search-block-FdunOPoq{margin-bottom:40px;position:relative}.search-input-container-FdunOPoq{font-size:16px;font-style:normal;font-weight:400;line-height:24px;position:relative}.search-input-container-FdunOPoq input::placeholder{color:#a3a6af}html.theme-dark .search-input-container-FdunOPoq input::placeholder{color:#787b86}.search-icon-FdunOPoq{align-items:center;color:#a3a6af;display:inline-flex;padding:0 6px}html.theme-dark .search-icon-FdunOPoq{color:#b2b5be}.search-block-FdunOPoq:focus-within .search-icon-FdunOPoq{color:#131722}html.theme-dark .search-block-FdunOPoq:focus-within .search-icon-FdunOPoq{color:#b2b5be}.solution-FdunOPoq{color:#131722}html.theme-dark .solution-FdunOPoq{color:#b2b5be}.solution-FdunOPoq a{word-wrap:break-word;color:#2962ff;transition:color .35s ease}html.theme-dark .solution-FdunOPoq a{color:#2962ff}.solution-FdunOPoq a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .solution-FdunOPoq a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.solution-FdunOPoq a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .solution-FdunOPoq a:hover{fill:#1e53e5;color:#1e53e5}}.solution-FdunOPoq a:focus{outline:auto}.solution-FdunOPoq a:focus-visible{outline:auto}.solution-FdunOPoq a:focus:not(:focus-visible){outline:none}.solution-FdunOPoq a:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .solution-FdunOPoq a:active{fill:#1848cc;color:#1848cc}.solution-FdunOPoq ol,.solution-FdunOPoq ul{margin-right:40px}.solution-FdunOPoq ol,.solution-FdunOPoq p,.solution-FdunOPoq pre,.solution-FdunOPoq ul{margin-bottom:16px}.solution-FdunOPoq table td{border:1px solid #131722;padding:4px}html.theme-dark .solution-FdunOPoq table td{border:1px solid #b2b5be}.solution-FdunOPoq iframe{height:400px;width:100%}.solution-FdunOPoq [data-img-border]{background:#e3effd;border-radius:6px;box-sizing:border-box;display:flex;flex-flow:row nowrap;justify-content:center;margin:24px 0;padding:20px;width:100%}html.theme-dark .solution-FdunOPoq [data-img-border]{background:#2a2e39}.responsive-container-media-mf-legacy-phone .solution-FdunOPoq [data-img-border]{padding:40px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .solution-FdunOPoq [data-img-border]{padding:40px}}@media (any-hover:hover){.solution-FdunOPoq [data-img-border][role=button]:hover{cursor:zoom-in}}.solution-FdunOPoq [data-img-border]{outline:none;overflow:visible;position:relative}.solution-FdunOPoq [data-img-border]:focus{outline:none}.solution-FdunOPoq [data-img-border]:focus-visible{outline:none}.solution-FdunOPoq [data-img-border]:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 12px);pointer-events:none;position:absolute;right:-6px;top:-6px;width:calc(100% + 12px);z-index:1}.solution-FdunOPoq [data-img-border]:focus:after{display:block}.solution-FdunOPoq [data-img-border]:focus-visible:after{display:block}.solution-FdunOPoq [data-img-border]:focus:not(:focus-visible):after{display:none}.solution-FdunOPoq [data-img-border]:after,html.theme-dark .solution-FdunOPoq [data-img-border]:after{border-color:#2962ffcc}.solution-FdunOPoq [data-img-border]:after{border-radius:10px}.solution-FdunOPoq img:not([data-float-left]):not([data-float-right]){border-radius:6px;box-shadow:0 2px 4px #0003;display:block;height:auto;height:intrinsic;margin:0;max-width:100%;width:100%}html.theme-dark .solution-FdunOPoq img:not([data-float-left]):not([data-float-right]){box-shadow:0 2px 4px #0006}.solution-FdunOPoq img[data-float-left]{float:right;margin:0 0 1em 1em}.solution-FdunOPoq img[data-float-right]{float:left;margin:0 1em 1em 0}.solution-FdunOPoq blockquote{background-color:#e3effd;border-radius:6px;margin:0 0 16px;padding:24px}html.theme-dark .solution-FdunOPoq blockquote{background-color:#2a2e39}.solution-FdunOPoq blockquote ::selection{background-color:#bbd9fb}html.theme-dark .solution-FdunOPoq blockquote ::selection{background-color:#143a87}.solution-FdunOPoq blockquote ol:last-child,.solution-FdunOPoq blockquote p:last-child,.solution-FdunOPoq blockquote pre:last-child,.solution-FdunOPoq blockquote ul:last-child{margin-bottom:0}.support-textarea-FdunOPoq{max-height:490px;min-height:106px}.list-HVdG1RMD{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px #0003;margin:0;overflow:hidden;position:absolute;right:0;top:36px;width:100%;z-index:1}html.theme-dark .list-HVdG1RMD{background-color:#131722;box-shadow:0 2px 4px #0006}.responsive-container-media-mf-legacy-phone .list-HVdG1RMD{margin:0}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .list-HVdG1RMD{margin:0}}.empty-HVdG1RMD{font-size:18px;height:40px;line-height:40px;text-align:center}.itemWrapper-HVdG1RMD{word-wrap:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-HVdG1RMD,.responsive-container-base .item-HVdG1RMD{margin:0}.highlight-HVdG1RMD{color:#2962ff}.fixed-header-k70B48fN{background:#fff;border-bottom:1px solid #f0f3fa;box-sizing:border-box;height:72px;left:0;opacity:0;pointer-events:none;position:fixed;right:0;top:0;transform:translateY(-20%);transition:opacity .2s ease-in-out,transform .2s ease-in-out;width:100%;z-index:4}html.theme-dark .fixed-header-k70B48fN{background:#131722;border-bottom:1px solid #2a2e39}.fixed-header-k70B48fN.visible-k70B48fN{opacity:1;pointer-events:auto;transform:translateY(0)}.fixed-header-content-k70B48fN{align-items:center;box-sizing:border-box;display:flex;flex-flow:row nowrap;height:100%;justify-content:space-between;margin:0 auto;max-width:904px;padding:0 20px;width:100%}@media screen and (min-width:320px){.fixed-header-content-k70B48fN{padding-left:32.5px;padding-right:27.5px;width:calc(100% - 5px)}}.responsive-container-media-mf-legacy-phone .fixed-header-content-k70B48fN{padding-left:102.5px;padding-right:77.5px}@supports (scrollbar-width:thin){@media screen and (min-width:320px){.fixed-header-content-k70B48fN{padding-left:35.5px;padding-right:24.5px;width:calc(100% - 11px)}}.responsive-container-media-mf-legacy-phone .fixed-header-content-k70B48fN{padding-left:105.5px;padding-right:74.5px}}.wrap-vLznnRjl{box-sizing:border-box;display:flex;flex-flow:column nowrap;flex-grow:1;margin:0 auto;max-width:904px;padding:55px 20px 40px;position:relative;-webkit-user-select:text;user-select:text;width:100%}.responsive-container-media-mf-legacy-phone-vertical .wrap-vLznnRjl{padding:55px 30px 40px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wrap-vLznnRjl{padding:55px 30px 40px}}.responsive-container-media-mf-legacy-phone .wrap-vLznnRjl{padding:66px 100px 66px 80px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .wrap-vLznnRjl{padding:66px 100px 66px 80px}}.close-button-vLznnRjl{left:12px;margin:0;position:absolute;top:8px;z-index:1}.responsive-container-media-mf-legacy-phone-vertical .close-button-vLznnRjl{left:22px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .close-button-vLznnRjl{left:22px}}.responsive-container-media-mf-legacy-phone .close-button-vLznnRjl{top:67px}.responsive-container-media-mf-legacy-phone .close-button-vLznnRjl.with-search-vLznnRjl{top:63px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .close-button-vLznnRjl{top:67px}.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .close-button-vLznnRjl.with-search-vLznnRjl{top:63px}}.back-button-vLznnRjl{position:absolute;right:8px;top:8px}.responsive-container-media-mf-legacy-phone-vertical .back-button-vLznnRjl{right:18px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .back-button-vLznnRjl{right:18px}}.responsive-container-media-mf-legacy-phone .back-button-vLznnRjl{right:42px;top:100px}.responsive-container-media-mf-legacy-phone .back-button-vLznnRjl.with-search-vLznnRjl{top:174px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .back-button-vLznnRjl{right:42px;top:100px}.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .back-button-vLznnRjl.with-search-vLznnRjl{top:174px}}.responsive-container-base .fixed-header-button-vLznnRjl{left:auto;top:auto}.responsive-container-base .fixed-header-back-button-vLznnRjl{position:relative;right:-12px}.responsive-container-media-mf-legacy-phone .fixed-header-back-button-vLznnRjl{right:-38px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .fixed-header-back-button-vLznnRjl{right:-38px}}.fixed-header-close-button-vLznnRjl{position:absolute}.responsive-container-base .fixed-header-close-button-vLznnRjl{left:17px}@media screen and (min-width:320px){.responsive-container-base .fixed-header-close-button-vLznnRjl{left:27px}}@supports (scrollbar-width:thin){.responsive-container-base .fixed-header-close-button-vLznnRjl{left:12px}@media screen and (min-width:320px){.responsive-container-base .fixed-header-close-button-vLznnRjl{left:33px}}}.responsive-container-media-mf-legacy-phone .fixed-header-close-button-vLznnRjl{left:27px}@supports (scrollbar-width:thin){.responsive-container-media-mf-legacy-phone .fixed-header-close-button-vLznnRjl{left:33px}}.breadcrumbs-vLznnRjl{font-size:14px;font-style:normal;font-weight:400;line-height:21px;margin:0 -20px 16px;min-height:21px;position:relative;width:calc(100% + 40px)}.responsive-container-media-mf-legacy-phone-vertical .breadcrumbs-vLznnRjl{margin-left:-30px;margin-right:-30px;width:calc(100% + 60px)}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl{margin-left:-30px;margin-right:-30px;width:calc(100% + 60px)}}.responsive-container-media-mf-legacy-phone .breadcrumbs-vLznnRjl{margin-left:-5px;margin-right:-5px;width:auto}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl{margin-left:-5px;margin-right:-5px;width:auto}}.breadcrumbs-vLznnRjl:after,.breadcrumbs-vLznnRjl:before{display:none}.responsive-container-media-mf-legacy-phone .breadcrumbs-vLznnRjl:after,.responsive-container-media-mf-legacy-phone .breadcrumbs-vLznnRjl:before{display:block}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl:after,.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-vLznnRjl:before{display:block}}.breadcrumbs-inner-vLznnRjl{box-sizing:border-box;padding-left:20px;padding-right:20px}.responsive-container-media-mf-legacy-phone-vertical .breadcrumbs-inner-vLznnRjl{padding-left:30px;padding-right:30px}@media screen and (min-width:330px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-inner-vLznnRjl{padding-left:30px;padding-right:30px}}.responsive-container-media-mf-legacy-phone .breadcrumbs-inner-vLznnRjl{padding-left:5px;padding-right:5px}@media screen and (min-width:480px){.responsive-container-base:not(.responsive-container-media-mf-phone-vertical) .breadcrumbs-inner-vLznnRjl{padding-left:5px;padding-right:5px}}@supports (-webkit-overflow-scrolling:touch){.disabledForIos-vLznnRjl{display:none}}.title-TQlEhltv{margin-top:45px}.externalLink-TQlEhltv{align-items:center;border:1px solid #e0e3eb;border-radius:6px;display:flex;flex-flow:column nowrap;justify-content:center;padding:24px}html.theme-dark .externalLink-TQlEhltv{border:1px solid #363a45}@media (any-hover:hover){.externalLink-TQlEhltv:hover{background-color:#f8f9fd}html.theme-dark .externalLink-TQlEhltv:hover{background-color:#1e222d}}.externalLink-TQlEhltv:active{background-color:#e0e3eb}html.theme-dark .externalLink-TQlEhltv:active{background-color:#363a45}.externalLink-TQlEhltv{outline:none;overflow:visible;position:relative}.externalLink-TQlEhltv:focus{outline:none}.externalLink-TQlEhltv:focus-visible{outline:none}.externalLink-TQlEhltv:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 10px);pointer-events:none;position:absolute;right:-5px;top:-5px;width:calc(100% + 10px);z-index:1}.externalLink-TQlEhltv:focus:after{display:block}.externalLink-TQlEhltv:focus-visible:after{display:block}.externalLink-TQlEhltv:focus:not(:focus-visible):after{display:none}.externalLink-TQlEhltv:after{border-color:#2962ffcc;border-radius:10px}.externalIcon-TQlEhltv{background-position:50%;background-repeat:no-repeat;background-size:contain;height:120px;width:120px}.externalIcon--free-user-faqs-TQlEhltv{background-image:url(186115d4ca74152914acd81e26836798.svg)}html.theme-dark .externalIcon--free-user-faqs-TQlEhltv{background-image:url(11cab6ced9c9b2073f5e8a987766f54f.svg)}.externalIcon--shortcuts-TQlEhltv{background-image:url(335343b286c304fe0ff472256b515659.svg)}html.theme-dark .externalIcon--shortcuts-TQlEhltv{background-image:url(8386a0d291cb7eb9183b942d59c52947.svg)}.externalIcon--new-TQlEhltv{background-image:url(0be05afe69640ce88aa24265aa2effab.svg)}html.theme-dark .externalIcon--new-TQlEhltv{background-image:url(9bd0f4d3395d3c7f81660e6885b07378.svg)}.externalIcon--feature-TQlEhltv{background-image:url(614cf27f508c538c23fd1e41dec69981.svg)}html.theme-dark .externalIcon--feature-TQlEhltv{background-image:url(9619f52114e3eb5ddafad0f641d090cf.svg)}.externalIcon--pine-TQlEhltv{background-image:url(2f1e9623d075ac187394740ee1f6c377.svg)}html.theme-dark .externalIcon--pine-TQlEhltv{background-image:url(576e6465e16da65acd139607cb0febde.svg)}.externalIcon--pine-script-TQlEhltv{background-image:url(4aaf8ecd499671f5404f7355e9b94ffa.svg)}html.theme-dark .externalIcon--pine-script-TQlEhltv{background-image:url(677ba99bfad6904fb5ff8b117e32715d.svg)}.externalIcon--update-TQlEhltv{background-image:url(1d59e7669186b321ec8cffdfd2369210.svg)}html.theme-dark .externalIcon--update-TQlEhltv{background-image:url(29545fef24e0ecc8478adab4816bba30.svg)}.externalIcon--status-TQlEhltv{background-image:url(f98fa40daa7d9e2981645268d2a38d52.svg)}html.theme-dark .externalIcon--status-TQlEhltv{background-image:url(3aeb0bb0575de40834fc666660380ae0.svg)}.externalTitle-TQlEhltv{color:#131722;font-size:18px;line-height:28px;margin-top:10px;text-align:center}html.theme-dark .externalTitle-TQlEhltv{color:#d1d4dc}.openingIcon-TQlEhltv{color:#131722;left:4px;position:absolute;top:4px}html.theme-dark .openingIcon-TQlEhltv{color:#d1d4dc}.actions-gJT1zWiK{display:flex;flex-flow:row wrap;justify-content:flex-start}.actions--align_center-gJT1zWiK,.actions--align_right-gJT1zWiK{flex-direction:row-reverse}.actions--align_center-gJT1zWiK{justify-content:center}.actions--align_right-gJT1zWiK .button-gJT1zWiK{margin-left:0;margin-right:16px}.actions--align_right-gJT1zWiK .button-gJT1zWiK:last-child{margin-right:0}.actions--align_center-gJT1zWiK .button-gJT1zWiK,.actions--align_center-gJT1zWiK .button-gJT1zWiK:last-child{margin-left:8px;margin-right:8px}.button-gJT1zWiK{margin-bottom:16px;margin-left:16px;margin-right:0}.button-gJT1zWiK:last-child{margin-left:0}.text-gJT1zWiK{opacity:0}.text-gJT1zWiK.shown-gJT1zWiK{opacity:1}.loader-gJT1zWiK{display:none}.loader-gJT1zWiK.shown-gJT1zWiK{display:block}.paragraph-q0Pd3eEh{color:#131722;font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:16px}html.theme-dark .paragraph-q0Pd3eEh{color:#b2b5be}.success-page-w9EDOZYy{align-items:center;display:flex;flex-flow:column nowrap;height:100%;justify-content:center;text-align:center}.link-w9EDOZYy{color:#2962ff;transition:color .35s ease}html.theme-dark .link-w9EDOZYy{color:#2962ff}.link-w9EDOZYy:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-w9EDOZYy:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-w9EDOZYy:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-w9EDOZYy:hover{fill:#1e53e5;color:#1e53e5}}.link-w9EDOZYy:focus{outline:auto}.link-w9EDOZYy:focus-visible{outline:auto}.link-w9EDOZYy:focus:not(:focus-visible){outline:none}.link-w9EDOZYy:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-w9EDOZYy:active{fill:#1848cc;color:#1848cc}.responsive-container-media-mf-legacy-phone .success-page-title-w9EDOZYy{margin-bottom:16px}.responsive-container-media-mf-legacy-phone .success-page-text-w9EDOZYy{margin-bottom:32px}.icon-eFQRlZi6{display:inline-flex;position:absolute;right:20px;top:15px}@media screen and (min-width:768px){.icon-eFQRlZi6{right:8px}}.responsive-container-media-mf-legacy-phone .icon-eFQRlZi6{right:16px;top:13px}.responsive-container-media-mf-legacy-phone .icon-eFQRlZi6,.responsive-container-media-mf-legacy-phone .icon-eFQRlZi6 svg{height:22px;width:22px}.container-eFQRlZi6{margin-top:28px;position:relative}.responsive-container-media-mf-legacy-phone .container-eFQRlZi6{margin-top:64px}.item-eFQRlZi6:only-child .innerItem-eFQRlZi6{border-top-color:#e0e3eb}html.theme-dark .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{border-top-color:#434651}.item-eFQRlZi6:only-child .innerItem-eFQRlZi6:active{border-top-color:#0000}@media (any-hover:hover){.item-eFQRlZi6:only-child .innerItem-eFQRlZi6:hover{border-top-color:#0000}}html.theme-dark .item-eFQRlZi6:only-child .innerItem-eFQRlZi6:active{border-top-color:#0000}@media (any-hover:hover){html.theme-dark .item-eFQRlZi6:only-child .innerItem-eFQRlZi6:hover{border-top-color:#0000}}.responsive-container-base .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{padding-right:46px}@media screen and (min-width:768px){.responsive-container-base .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{padding-right:34px}}.responsive-container-media-mf-legacy-phone .item-eFQRlZi6:only-child .innerItem-eFQRlZi6{padding-right:49px}.code-highlighter-OSu8zI0r [rel=highlighter]{background-color:#e3effd;border-radius:6px;margin:0;overflow:hidden}html.theme-dark .code-highlighter-OSu8zI0r [rel=highlighter]{background-color:#2a2e39}.code-highlighter-OSu8zI0r [rel=highlighter]>code.language-js{background-color:initial;background-image:none;border:none;box-shadow:none;color:#131722;display:block;font-size:16px;font-style:normal;font-weight:400;line-height:24px;overflow:auto;padding:24px}html.theme-dark .code-highlighter-OSu8zI0r [rel=highlighter]>code.language-js{color:#d1d4dc}.code-highlighter-OSu8zI0r [rel=highlighter]>code.language-js .token.operator{background-color:initial}.code-highlighter-OSu8zI0r [rel=highlighter] ::selection{background-color:#bbd9fb}html.theme-dark .code-highlighter-OSu8zI0r [rel=highlighter] ::selection{background-color:#143a87}.code-highlighter-OSu8zI0r [rel=highlighter]:after,.code-highlighter-OSu8zI0r [rel=highlighter]:before{display:none}.wrapper-copy-link-button-v1B2IYZi{display:inline;white-space:nowrap}.copy-link-button-v1B2IYZi{background:#0000;border:none;box-sizing:initial;color:#131722;height:28px;margin:0 8px 0 0;padding:0;width:28px}html.theme-dark .copy-link-button-v1B2IYZi{color:#d1d4dc}@media (any-hover:hover){.copy-link-button-v1B2IYZi:hover{color:#000}html.theme-dark .copy-link-button-v1B2IYZi:hover{color:#f0f3fa}.copy-link-button-v1B2IYZi:hover:before{background:#f0f3fa}html.theme-dark .copy-link-button-v1B2IYZi:hover:before{background:#2a2e39}}.copy-link-button-v1B2IYZi:active:before{background:#e0e3eb}html.theme-dark .copy-link-button-v1B2IYZi:active:before{background:#1e222d}.copy-link-button-v1B2IYZi:before{background:#0000;border:none;border-radius:4px;content:"";height:calc(100% + 16px);position:absolute;right:-8px;top:-8px;width:calc(100% + 16px);z-index:-1}.copy-link-button-v1B2IYZi{outline:none;overflow:visible;position:relative}.copy-link-button-v1B2IYZi:focus{outline:none}.copy-link-button-v1B2IYZi:focus-visible{outline:none}.copy-link-button-v1B2IYZi:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 24px);pointer-events:none;position:absolute;right:-12px;top:-12px;width:calc(100% + 24px);z-index:1}.copy-link-button-v1B2IYZi:focus:after{display:block}.copy-link-button-v1B2IYZi:focus-visible:after{display:block}.copy-link-button-v1B2IYZi:focus:not(:focus-visible):after{display:none}.copy-link-button-v1B2IYZi:after{border-color:#2962ffcc;border-radius:8px}.icon-v1B2IYZi{display:inline-flex;height:100%;width:100%}.solution-Iy6Ippd7 h4{font-size:20px;font-style:normal;font-weight:600;line-height:28px;margin:40px 0 8px}.solution-Iy6Ippd7 h5{font-size:18px;font-style:normal;font-weight:600;line-height:26px;margin:32px 0 4px}.solution-Iy6Ippd7 h5~ol,.solution-Iy6Ippd7 h5~p,.solution-Iy6Ippd7 h5~pre,.solution-Iy6Ippd7 h5~ul{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.solution-Iy6Ippd7 h6{font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin:24px 0 4px}.solution-Iy6Ippd7 h6~ol,.solution-Iy6Ippd7 h6~p,.solution-Iy6Ippd7 h6~pre,.solution-Iy6Ippd7 h6~ul{font-size:14px;font-style:normal;font-weight:400;line-height:21px}.solution-Iy6Ippd7 h5~h4~ol,.solution-Iy6Ippd7 h5~h4~p,.solution-Iy6Ippd7 h5~h4~pre,.solution-Iy6Ippd7 h5~h4~ul,.solution-Iy6Ippd7 h6~h4~ol,.solution-Iy6Ippd7 h6~h4~p,.solution-Iy6Ippd7 h6~h4~pre,.solution-Iy6Ippd7 h6~h4~ul,.solution-Iy6Ippd7 h6~h5~ol,.solution-Iy6Ippd7 h6~h5~p,.solution-Iy6Ippd7 h6~h5~pre,.solution-Iy6Ippd7 h6~h5~ul,.solution-Iy6Ippd7 ol,.solution-Iy6Ippd7 p,.solution-Iy6Ippd7 pre,.solution-Iy6Ippd7 ul{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.solution-Iy6Ippd7.images-hidden-Iy6Ippd7 [data-img-border] img,.solution-Iy6Ippd7.images-hidden-Iy6Ippd7 img[data-float-left],.solution-Iy6Ippd7.images-hidden-Iy6Ippd7 img[data-float-right]{display:none}.spinner-Iy6Ippd7{height:5em;position:relative}.launch-chart-banner-Iy6Ippd7{margin-top:32px}.copy-link-button-Iy6Ippd7{display:inline-block;margin-top:-1px;vertical-align:middle}.item-title-bztm5Sql{display:block;width:100%}.solutions-count-bztm5Sql{color:#787b86;display:block;font-size:13px;font-style:normal;font-weight:400;line-height:19px}html.theme-dark .solutions-count-bztm5Sql{color:#787b86}.spinner-e4BIGvhd{height:5em;position:relative}.tv-support-portal{background-color:#fff;display:flex;flex-flow:column nowrap;min-height:80vh}html.theme-dark .tv-support-portal{background-color:#131722}.support_portal body{background-color:#fff}html.theme-dark .support_portal body{background-color:#131722}.wizard-nYCqoM4n{display:flex;flex-flow:column nowrap;flex-grow:1;position:relative;width:100%}.wizard-nYCqoM4n button:not(:disabled){cursor:pointer} \ No newline at end of file diff --git a/charting_library/bundles/93748b7538eb622034881a9206d82dda.svg b/charting_library/bundles/93748b7538eb622034881a9206d82dda.svg new file mode 100644 index 00000000..1b0b040c --- /dev/null +++ b/charting_library/bundles/93748b7538eb622034881a9206d82dda.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/939c709099ed020091dc58cbd5207cbd.svg b/charting_library/bundles/939c709099ed020091dc58cbd5207cbd.svg new file mode 100644 index 00000000..0e393449 --- /dev/null +++ b/charting_library/bundles/939c709099ed020091dc58cbd5207cbd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9410.cede90b73dc7bda7578a.css b/charting_library/bundles/9410.cede90b73dc7bda7578a.css new file mode 100644 index 00000000..8f79f0c2 --- /dev/null +++ b/charting_library/bundles/9410.cede90b73dc7bda7578a.css @@ -0,0 +1 @@ +.label-UvIfeuIB{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;display:block;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .label-UvIfeuIB{color:#787b86}.countrySelect-zsy9fYkd .flagSlot-zsy9fYkd{padding-left:6px}.countrySelect-zsy9fYkd .flag-zsy9fYkd{border-radius:50%;height:18px;width:18px}.countrySelect-zsy9fYkd .textSlot-zsy9fYkd{justify-content:flex-start;padding-left:4px} \ No newline at end of file diff --git a/charting_library/bundles/9410.cede90b73dc7bda7578a.rtl.css b/charting_library/bundles/9410.cede90b73dc7bda7578a.rtl.css new file mode 100644 index 00000000..ca7d1dd4 --- /dev/null +++ b/charting_library/bundles/9410.cede90b73dc7bda7578a.rtl.css @@ -0,0 +1 @@ +.label-UvIfeuIB{font-feature-settings:"tnum" on,"lnum" on;color:#787b86;display:block;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px}html.theme-dark .label-UvIfeuIB{color:#787b86}.countrySelect-zsy9fYkd .flagSlot-zsy9fYkd{padding-right:6px}.countrySelect-zsy9fYkd .flag-zsy9fYkd{border-radius:50%;height:18px;width:18px}.countrySelect-zsy9fYkd .textSlot-zsy9fYkd{justify-content:flex-start;padding-right:4px} \ No newline at end of file diff --git a/charting_library/bundles/9505.033a769154fc53ff7eca.js b/charting_library/bundles/9505.033a769154fc53ff7eca.js deleted file mode 100644 index b4124464..00000000 --- a/charting_library/bundles/9505.033a769154fc53ff7eca.js +++ /dev/null @@ -1,4 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9505],{55576:e=>{e.exports={button:"button-9pA37sIi",hover:"hover-9pA37sIi",isInteractive:"isInteractive-9pA37sIi",isGrouped:"isGrouped-9pA37sIi",newStyles:"newStyles-9pA37sIi",isActive:"isActive-9pA37sIi",isOpened:"isOpened-9pA37sIi",isDisabled:"isDisabled-9pA37sIi",text:"text-9pA37sIi",icon:"icon-9pA37sIi"}},71123:e=>{e.exports={button:"button-khcLBZEz",hover:"hover-khcLBZEz",arrow:"arrow-khcLBZEz",arrowWrap:"arrowWrap-khcLBZEz",newStyles:"newStyles-khcLBZEz",isOpened:"isOpened-khcLBZEz"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},40367:e=>{e.exports={icon:"icon-AL2odtws",dropped:"dropped-AL2odtws"}},90186:(e,t,o)=>{"use strict";function r(e){return i(e,s)}function n(e){return i(e,a)}function i(e,t){const o=Object.entries(e).filter(t),r={};for(const[e,t]of o)r[e]=t;return r}function s(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function a(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>r,filterAriaProps:()=>n,filterProps:()=>i,isDataAttribute:()=>s,isAriaAttribute:()=>a})},40233:(e,t,o)=>{"use strict";o.d(t,{VerticalAttachEdge:()=>r,HorizontalAttachEdge:()=>n,VerticalDropDirection:()=>i,HorizontalDropDirection:()=>s,getPopupPositioner:()=>l});var r,n,i,s,a=o(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(r||(r={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(n||(n={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(i||(i={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(s||(s={}));const c={verticalAttachEdge:r.Bottom,horizontalAttachEdge:n.Left,verticalDropDirection:i.FromTopToBottom,horizontalDropDirection:s.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function l(e,t){return(o,l)=>{const d=(0,a.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:p=c.verticalAttachEdge,verticalDropDirection:u=c.verticalDropDirection,horizontalAttachEdge:h=c.horizontalAttachEdge,horizontalDropDirection:m=c.horizontalDropDirection,horizontalMargin:v=c.horizontalMargin,verticalMargin:f=c.verticalMargin,matchButtonAndListboxWidths:w=c.matchButtonAndListboxWidths}=t,g=p===r.Top?-1*f:f,D=h===n.Right?d.right:d.left,E=p===r.Top?d.top:d.bottom,b={x:D-(m===s.FromRightToLeft?o:0)+v,y:E-(u===i.FromBottomToTop?l:0)+g};return w&&(b.overrideWidth=d.width),b}}},4825:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>c,ToolWidgetButton:()=>l}) -;var r=o(59496),n=o(97754),i=o(9745),s=o(37669),a=o(55576);const c=a,l=r.forwardRef((e,t)=>{const{icon:o,isActive:c,isOpened:l,isDisabled:d,isGrouped:p,isHovered:u,onClick:h,text:m,textBeforeIcon:v,title:f,theme:w=a,className:g,forceInteractive:D,"data-name":E,...b}=e,C=n(g,w.button,f&&"apply-common-tooltip",{[w.isActive]:c,[w.isOpened]:l,[w.isInteractive]:(D||Boolean(h))&&!d,[w.isDisabled]:d,[w.isGrouped]:p,[w.hover]:u,[w.newStyles]:s.hasNewHeaderToolbarStyles}),O=o&&("string"==typeof o?r.createElement(i.Icon,{className:w.icon,icon:o}):r.cloneElement(o,{className:n(w.icon,o.props.className)}));return r.createElement("div",{...b,ref:t,"data-role":"button",className:C,onClick:d?void 0:h,title:f,"data-name":E},v&&m&&r.createElement("div",{className:n("js-button-text",w.text)},m),O,!v&&m&&r.createElement("div",{className:n("js-button-text",w.text)},m))})},35390:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetMenu:()=>m});var r=o(59496),n=o(97754),i=o(50628),s=o(10381),a=o(90186),c=o(37558),l=o(41590),d=o(40233),p=o(90692),u=o(37669),h=o(71123);class m extends r.PureComponent{constructor(e){super(e),this._wrapperRef=null,this._controller=r.createRef(),this._handleWrapperRef=e=>{this._wrapperRef=e,this.props.reference&&this.props.reference(e)},this._handleClick=e=>{e.target instanceof Node&&e.currentTarget.contains(e.target)&&(this._handleToggleDropdown(),this.props.onClick&&this.props.onClick(e,!this.state.isOpened))},this._handleToggleDropdown=e=>{const{onClose:t,onOpen:o}=this.props,{isOpened:r}=this.state,n="boolean"==typeof e?e:!r;this.setState({isOpened:n}),n&&o&&o(),!n&&t&&t()},this._handleClose=()=>{this.close()},this.state={isOpened:!1}}render(){const{id:e,arrow:t,content:o,isDisabled:i,isDrawer:c,isShowTooltip:l,title:d,className:h,hotKey:m,theme:v,drawerBreakpoint:f}=this.props,{isOpened:w}=this.state,g=n(h,v.button,{"apply-common-tooltip":l||!i,[v.isDisabled]:i,[v.isOpened]:w,[v.newStyles]:u.hasNewHeaderToolbarStyles});return r.createElement("div",{id:e,className:g,onClick:i?void 0:this._handleClick,title:d,"data-tooltip-hotkey":m,ref:this._handleWrapperRef,"data-role":"button",...(0,a.filterDataProps)(this.props)},o,t&&r.createElement("div",{className:v.arrow},r.createElement("div",{className:v.arrowWrap},r.createElement(s.ToolWidgetCaret,{dropped:w}))),this.state.isOpened&&(f?r.createElement(p.MatchMedia,{rule:f},e=>this._renderContent(e)):this._renderContent(c)))}close(){this._handleToggleDropdown(!1)}update(){null!==this._controller.current&&this._controller.current.update()}_renderContent(e){const{menuDataName:t,minWidth:o,menuClassName:n,maxHeight:s,drawerPosition:a="Bottom",children:p}=this.props,{isOpened:u}=this.state,h={horizontalMargin:this.props.horizontalMargin||0,verticalMargin:this.props.verticalMargin||2,verticalAttachEdge:this.props.verticalAttachEdge,horizontalAttachEdge:this.props.horizontalAttachEdge,verticalDropDirection:this.props.verticalDropDirection,horizontalDropDirection:this.props.horizontalDropDirection,matchButtonAndListboxWidths:this.props.matchButtonAndListboxWidths -},m=Boolean(u&&e&&a),v=function(e){return"function"==typeof e}(p)?p({isDrawer:m}):p;return m?r.createElement(c.DrawerManager,null,r.createElement(l.Drawer,{onClose:this._handleClose,position:a,"data-name":t},v)):r.createElement(i.PopupMenu,{controller:this._controller,closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:u,minWidth:o,onClose:this._handleClose,position:(0,d.getPopupPositioner)(this._wrapperRef,h),className:n,maxHeight:s,"data-name":t},v)}}m.defaultProps={arrow:!0,closeOnClickOutside:!0,theme:h}},37669:(e,t,o)=>{"use strict";o.d(t,{hasNewHeaderToolbarStyles:()=>r});o(67337);const r=!1},39640:(e,t,o)=>{"use strict";function r(e,t,o,r,n){function i(n){if(e>n.timeStamp)return;const i=n.target;void 0!==o&&null!==t&&null!==i&&i.ownerDocument===r&&(t.contains(i)||o(n))}return n.click&&r.addEventListener("click",i,!1),n.mouseDown&&r.addEventListener("mousedown",i,!1),n.touchEnd&&r.addEventListener("touchend",i,!1),n.touchStart&&r.addEventListener("touchstart",i,!1),()=>{r.removeEventListener("click",i,!1),r.removeEventListener("mousedown",i,!1),r.removeEventListener("touchend",i,!1),r.removeEventListener("touchstart",i,!1)}}o.d(t,{addOutsideEventListener:()=>r})},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerManager:()=>n,DrawerContext:()=>i});var r=o(59496);class n extends r.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 r.createElement(i.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const i=r.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>h});var r=o(59496),n=o(88537),i=o(97754),s=o(59142),a=o(99054),c=o(65718),l=o(37558),d=o(49483),p=o(29197),u=o(66998);function h(e){const{position:t="Bottom",onClose:o,children:h,className:m,theme:v=u}=e,f=(0,n.ensureNotNull)((0,r.useContext)(l.DrawerContext)),[w,g]=(0,r.useState)(0),D=(0,r.useRef)(null),E=(0,r.useContext)(p.CloseDelegateContext);return(0,r.useEffect)(()=>{const e=(0,n.ensureNotNull)(D.current);return e.focus({preventScroll:!0}),E.subscribe(f,o),0===f.currentDrawer&&(0,a.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,s.disableBodyScroll)(e),g(f.addDrawer()),()=>{E.unsubscribe(f,o);const t=f.removeDrawer();d.CheckMobile.iOS()&&(0,s.enableBodyScroll)(e),0===t&&(0,a.setFixedBodyState)(!1)}},[]),r.createElement(c.Portal,null,r.createElement("div",{className:i(u.wrap,u["position"+t])},w===f.currentDrawer&&r.createElement("div",{className:u.backdrop,onClick:o}),r.createElement("div",{className:i(u.drawer,v.drawer,u["position"+t],m),ref:D,tabIndex:-1,"data-name":e["data-name"]},h)))}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>l,PopupMenuItem:()=>u});var r=o(59496),n=o(97754),i=o(59064),s=o(51768),a=o(90186),c=o(23576);const l=c;function d(e){const{reference:t,...o}=e,n={ -...o,ref:t};return r.createElement(e.href?"a":"div",n)}function p(e){e.stopPropagation()}function u(e){const{id:t,role:o,"aria-selected":l,className:u,title:h,labelRowClassName:m,labelClassName:v,shortcut:f,forceShowShortcuts:w,icon:g,isActive:D,isDisabled:E,isHovered:b,appearAsDisabled:C,label:O,link:T,showToolboxOnHover:k,target:x,rel:N,toolbox:A,reference:y,onMouseOut:S,onMouseOver:L,suppressToolboxClick:B=!0,theme:M=c}=e,_=(0,a.filterDataProps)(e),F=(0,r.useRef)(null);return r.createElement(d,{..._,id:t,role:o,"aria-selected":l,className:n(u,M.item,g&&M.withIcon,{[M.isActive]:D,[M.isDisabled]:E||C,[M.hovered]:b}),title:h,href:T,target:x,rel:N,reference:function(e){F.current=e,"function"==typeof y&&y(e);"object"==typeof y&&(y.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:r,onClickArg:n,trackEventObject:a}=e;if(E)return;a&&(0,s.trackEvent)(a.category,a.event,a.label);r&&r(n,t);o||(0,i.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:r}=e;o&&r&&(0,s.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:r}=e;if(1===t.button&&T&&o){let e=o.label;r&&(e+="_mouseWheelClick"),(0,s.trackEvent)(o.category,o.event,e)}},onMouseOver:L,onMouseOut:S},void 0!==g&&r.createElement("div",{className:M.icon,dangerouslySetInnerHTML:{__html:g}}),r.createElement("div",{className:n(M.labelRow,m)},r.createElement("div",{className:n(M.label,v)},O)),(void 0!==f||w)&&r.createElement("div",{className:M.shortcut},(H=f)&&H.split("+").join(" + ")),void 0!==A&&r.createElement("div",{onClick:B?p:void 0,className:n(M.toolbox,{[M.showOnHover]:k})},A));var H}},50628:(e,t,o)=>{"use strict";o.d(t,{PopupMenu:()=>l});var r=o(59496),n=o(87995),i=o(65718),s=o(27317),a=o(29197),c=o(58095);function l(e){const{controller:t,children:o,isOpened:l,closeOnClickOutside:d=!0,doNotCloseOn:p,onClickOutside:u,onClose:h,...m}=e,v=(0,r.useContext)(a.CloseDelegateContext),f=(0,c.useOutsideEvent)({handler:function(e){u&&u(e);if(!d)return;if(p&&e.target instanceof Node){const t=n.findDOMNode(p);if(t instanceof Node&&t.contains(e.target))return}h()},mouseDown:!0,touchStart:!0});return l?r.createElement(i.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},r.createElement("span",{ref:f,style:{pointerEvents:"auto"}},r.createElement(s.Menu,{...m,onClose:h,onScroll:function(t){const{onScroll:o}=e;o&&o(t)},customCloseDelegate:v,ref:t},o))):null}},10381:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetCaret:()=>c});var r=o(59496),n=o(97754),i=o(9745),s=o(40367),a=o(81268);function c(e){const{dropped:t,className:o}=e;return r.createElement(i.Icon,{className:n(o,s.icon,{[s.dropped]:t}),icon:a})}},81268:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/95127900436e4305bca6653ca8d9957f.svg b/charting_library/bundles/95127900436e4305bca6653ca8d9957f.svg new file mode 100644 index 00000000..59ca5137 --- /dev/null +++ b/charting_library/bundles/95127900436e4305bca6653ca8d9957f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/953f6834f68153142229a6d2237076cf.svg b/charting_library/bundles/953f6834f68153142229a6d2237076cf.svg new file mode 100644 index 00000000..e0978d64 --- /dev/null +++ b/charting_library/bundles/953f6834f68153142229a6d2237076cf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9565.c69166c3f0d2b77c3979.css b/charting_library/bundles/9565.c69166c3f0d2b77c3979.css new file mode 100644 index 00000000..a490bba5 --- /dev/null +++ b/charting_library/bundles/9565.c69166c3f0d2b77c3979.css @@ -0,0 +1 @@ +.tv-flag-country{border-radius:50%;display:inline-block;height:20px;overflow:hidden;vertical-align:middle;width:20px}.tv-flag-country--size_block-title{height:22px;width:22px}.tv-flag-country--forex{border-radius:0;color:#363a45;overflow:visible}html.theme-dark .tv-flag-country--forex{color:#fff}.tv-flag-country--btc{border-radius:0;overflow:visible} \ No newline at end of file diff --git a/charting_library/bundles/9565.c69166c3f0d2b77c3979.rtl.css b/charting_library/bundles/9565.c69166c3f0d2b77c3979.rtl.css new file mode 100644 index 00000000..a490bba5 --- /dev/null +++ b/charting_library/bundles/9565.c69166c3f0d2b77c3979.rtl.css @@ -0,0 +1 @@ +.tv-flag-country{border-radius:50%;display:inline-block;height:20px;overflow:hidden;vertical-align:middle;width:20px}.tv-flag-country--size_block-title{height:22px;width:22px}.tv-flag-country--forex{border-radius:0;color:#363a45;overflow:visible}html.theme-dark .tv-flag-country--forex{color:#fff}.tv-flag-country--btc{border-radius:0;overflow:visible} \ No newline at end of file diff --git a/charting_library/bundles/957.7e1da618288b536c77d2.css b/charting_library/bundles/957.7e1da618288b536c77d2.css new file mode 100644 index 00000000..f201b313 --- /dev/null +++ b/charting_library/bundles/957.7e1da618288b536c77d2.css @@ -0,0 +1 @@ +.dialog-xvLVYmhd{overflow-x:hidden;overflow-y:auto}.container-xvLVYmhd{display:flex;flex-flow:column nowrap;height:100%;justify-content:space-between;padding:40px 20px 20px;position:relative}@media screen and (min-width:568px){.container-xvLVYmhd{height:auto;padding:40px}}.header-xvLVYmhd{align-items:center;display:flex;flex-flow:column nowrap;margin-bottom:8px}@media screen and (min-width:568px){.header-xvLVYmhd{margin-bottom:16px}}.image-xvLVYmhd{height:120px;margin-bottom:24px;width:120px}.title-xvLVYmhd{color:#131722;font-size:28px;font-style:normal;font-weight:600;line-height:36px;width:100%}html.theme-dark .title-xvLVYmhd{color:#d1d4dc}@media screen and (min-width:568px){.title-xvLVYmhd{font-size:36px;font-style:normal;font-weight:600;line-height:44px;text-align:center}}.main-content-xvLVYmhd{color:#131722;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-bottom:32px}html.theme-dark .main-content-xvLVYmhd{color:#d1d4dc}@media screen and (min-width:568px){.main-content-xvLVYmhd{font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:40px}}.list-xvLVYmhd,.paragraph-xvLVYmhd{margin-bottom:10px}.list-xvLVYmhd:last-child,.paragraph-xvLVYmhd:last-child{margin-bottom:0}.list--bold-xvLVYmhd,.paragraph--bold-xvLVYmhd{font-weight:700}.list-xvLVYmhd{margin-top:16px}.list-item-xvLVYmhd{margin-bottom:12px;margin-left:20px}.list-item-xvLVYmhd:last-child{margin-bottom:0}@media screen and (min-width:568px){.list-item-xvLVYmhd{margin-left:30px}}.strong-xvLVYmhd{color:#131722;font-weight:700}html.theme-dark .strong-xvLVYmhd{color:#f0f3fa}.actions-xvLVYmhd{display:flex;flex-flow:column-reverse nowrap}.button-content-xvLVYmhd{display:flex;margin:auto}.button-xvLVYmhd{margin-bottom:8px}.button-xvLVYmhd:first-child{margin-bottom:0}@media screen and (min-width:568px){.button-xvLVYmhd{margin-bottom:16px}.button-xvLVYmhd:last-child{margin-right:0}}.countDown-xvLVYmhd{display:flex;justify-content:center;margin:24px 0 40px}.closeButton-xvLVYmhd{right:17px;top:17px} \ No newline at end of file diff --git a/charting_library/bundles/957.7e1da618288b536c77d2.rtl.css b/charting_library/bundles/957.7e1da618288b536c77d2.rtl.css new file mode 100644 index 00000000..fc3441b3 --- /dev/null +++ b/charting_library/bundles/957.7e1da618288b536c77d2.rtl.css @@ -0,0 +1 @@ +.dialog-xvLVYmhd{overflow-x:hidden;overflow-y:auto}.container-xvLVYmhd{display:flex;flex-flow:column nowrap;height:100%;justify-content:space-between;padding:40px 20px 20px;position:relative}@media screen and (min-width:568px){.container-xvLVYmhd{height:auto;padding:40px}}.header-xvLVYmhd{align-items:center;display:flex;flex-flow:column nowrap;margin-bottom:8px}@media screen and (min-width:568px){.header-xvLVYmhd{margin-bottom:16px}}.image-xvLVYmhd{height:120px;margin-bottom:24px;width:120px}.title-xvLVYmhd{color:#131722;font-size:28px;font-style:normal;font-weight:600;line-height:36px;width:100%}html.theme-dark .title-xvLVYmhd{color:#d1d4dc}@media screen and (min-width:568px){.title-xvLVYmhd{font-size:36px;font-style:normal;font-weight:600;line-height:44px;text-align:center}}.main-content-xvLVYmhd{color:#131722;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-bottom:32px}html.theme-dark .main-content-xvLVYmhd{color:#d1d4dc}@media screen and (min-width:568px){.main-content-xvLVYmhd{font-size:18px;font-style:normal;font-weight:400;line-height:28px;margin-bottom:40px}}.list-xvLVYmhd,.paragraph-xvLVYmhd{margin-bottom:10px}.list-xvLVYmhd:last-child,.paragraph-xvLVYmhd:last-child{margin-bottom:0}.list--bold-xvLVYmhd,.paragraph--bold-xvLVYmhd{font-weight:700}.list-xvLVYmhd{margin-top:16px}.list-item-xvLVYmhd{margin-bottom:12px;margin-right:20px}.list-item-xvLVYmhd:last-child{margin-bottom:0}@media screen and (min-width:568px){.list-item-xvLVYmhd{margin-right:30px}}.strong-xvLVYmhd{color:#131722;font-weight:700}html.theme-dark .strong-xvLVYmhd{color:#f0f3fa}.actions-xvLVYmhd{display:flex;flex-flow:column-reverse nowrap}.button-content-xvLVYmhd{display:flex;margin:auto}.button-xvLVYmhd{margin-bottom:8px}.button-xvLVYmhd:first-child{margin-bottom:0}@media screen and (min-width:568px){.button-xvLVYmhd{margin-bottom:16px}.button-xvLVYmhd:last-child{margin-left:0}}.countDown-xvLVYmhd{display:flex;justify-content:center;margin:24px 0 40px}.closeButton-xvLVYmhd{left:17px;top:17px} \ No newline at end of file diff --git a/charting_library/bundles/9570.6e130410c18a92e289cd.css b/charting_library/bundles/9570.6e130410c18a92e289cd.css new file mode 100644 index 00000000..f2008c6e --- /dev/null +++ b/charting_library/bundles/9570.6e130410c18a92e289cd.css @@ -0,0 +1 @@ +.tv-control-material-input,.tv-control-material-input__control{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;background-color:initial!important;border:none;border-bottom:1px solid #dadde0;border-radius:2px;border-radius:0;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;padding:0;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-material-input,html.theme-dark .tv-control-material-input__control{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-control-material-input::placeholder,.tv-control-material-input__control::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-material-input::placeholder,html.theme-dark .tv-control-material-input__control::placeholder{color:#50535e}.tv-control-material-input:-webkit-autofill,.tv-control-material-input__control:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-material-input--size_xsmall,.tv-control-material-input__control--size_xsmall{height:19px}.tv-control-material-input--size_small,.tv-control-material-input__control--size_small{height:27px}.tv-control-material-input--size_large,.tv-control-material-input__control--size_large{font-size:16px;height:48px}.tv-control-material-input--connect,.tv-control-material-input__control--connect{border-left:0;border-radius:0;border-right:0}.tv-control-material-input--connect_left,.tv-control-material-input__control--connect_left{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-material-input--connect_right,.tv-control-material-input__control--connect_right{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}@media (any-hover:hover){.tv-control-material-input:hover,.tv-control-material-input__control:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-material-input:hover,html.theme-dark .tv-control-material-input__control:hover{border-color:#50535e}}.tv-control-material-input:focus,.tv-control-material-input__control:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-material-input[readonly],.tv-control-material-input__control[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-material-input[readonly]:focus,.tv-control-material-input__control[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-material-input[readonly]:hover,.tv-control-material-input__control[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-material-input[readonly]:focus,html.theme-dark .tv-control-material-input__control[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-material-input[readonly]:hover,html.theme-dark .tv-control-material-input__control[readonly]:hover{border-color:#2a2e39!important}}.tv-control-material-input--readonly_dark,.tv-control-material-input--readonly_dark[readonly],.tv-control-material-input__control--readonly_dark,.tv-control-material-input__control--readonly_dark[readonly],html.theme-dark .tv-control-material-input--readonly_dark,html.theme-dark .tv-control-material-input--readonly_dark[readonly],html.theme-dark .tv-control-material-input__control--readonly_dark,html.theme-dark .tv-control-material-input__control--readonly_dark[readonly]{color:#50535e}.tv-control-material-input.i-disabled,.tv-control-material-input[disabled],.tv-control-material-input__control.i-disabled,.tv-control-material-input__control[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-material-input.i-disabled,html.theme-dark .tv-control-material-input[disabled],html.theme-dark .tv-control-material-input__control.i-disabled,html.theme-dark .tv-control-material-input__control[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-material-input.i-disabled::placeholder,.tv-control-material-input[disabled]::placeholder,.tv-control-material-input__control.i-disabled::placeholder,.tv-control-material-input__control[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-material-input.i-disabled::placeholder,html.theme-dark .tv-control-material-input[disabled]::placeholder,html.theme-dark .tv-control-material-input__control.i-disabled::placeholder,html.theme-dark .tv-control-material-input__control[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-material-input.i-disabled:hover,.tv-control-material-input[disabled]:hover,.tv-control-material-input__control.i-disabled:hover,.tv-control-material-input__control[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-material-input.i-disabled:hover,html.theme-dark .tv-control-material-input[disabled]:hover,html.theme-dark .tv-control-material-input__control.i-disabled:hover,html.theme-dark .tv-control-material-input__control[disabled]:hover{border-color:#2a2e39!important}}.tv-control-material-input.i-error,.tv-control-material-input__control.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-material-input.i-error:hover,.tv-control-material-input__control.i-error:hover{border-color:#f24965!important}}.tv-control-material-input.i-error:focus,.tv-control-material-input__control.i-error:focus{border-color:#ff173e!important}.tv-control-material-input.i-success,.tv-control-material-input__control.i-success{border-color:#089981!important}html.theme-dark .tv-control-material-input.i-success,html.theme-dark .tv-control-material-input__control.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-material-input.i-success:hover,.tv-control-material-input__control.i-success:hover,html.theme-dark .tv-control-material-input.i-success:hover,html.theme-dark .tv-control-material-input__control.i-success:hover{border-color:#06806b!important}}.tv-control-material-input.i-success:active,.tv-control-material-input.i-success:focus,.tv-control-material-input__control.i-success:active,.tv-control-material-input__control.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-material-input.i-success:active,html.theme-dark .tv-control-material-input.i-success:focus,html.theme-dark .tv-control-material-input__control.i-success:active,html.theme-dark .tv-control-material-input__control.i-success:focus{border-color:#089981!important}.tv-control-material-input--phone,.tv-control-material-input__control--phone{direction:ltr;text-align:left}@media (any-hover:hover){.tv-control-material-input:hover,.tv-control-material-input__control:hover{border-color:#4f5966}}.tv-control-material-input:focus,.tv-control-material-input__control:focus,html.theme-dark .tv-control-material-input:focus,html.theme-dark .tv-control-material-input__control:focus{border-color:#2962ff}.tv-control-material-input--reset-password,.tv-control-material-input__control--reset-password{font-size:16px;height:44px;margin:12px 0;padding:12px 0}.tv-control-material-input__wrap{display:block;position:relative;width:100%}.tv-control-material-input__label{color:#adaeb0;font-size:13px;left:0;pointer-events:none;position:absolute;top:9px;transform-origin:0 0;transition:color .35s ease,transform .35s ease;-webkit-user-select:none;user-select:none}.tv-control-material-input__label.i-up{transform:translateY(-24px) scale(.85)}.tv-control-material-input__label--reset-password{bottom:14px;color:#758696;font-size:14px;top:auto}.tv-control-material-input__hint{color:#4f5966}.tv-control-material-input--dark{border-color:#363c4e;color:#fff}.title-TQ5uusV5{font-size:24px;font-weight:400;margin-bottom:24px;text-align:center}.footer-TQ5uusV5{align-items:center;background:#fff;border-top:1px solid #e0e3eb;bottom:0;display:flex;height:63px;justify-content:center;left:0;opacity:1;position:fixed;right:0}html.theme-dark .footer-TQ5uusV5{background:#131722;border-top:1px solid #434651}.hide-animated-TQ5uusV5 .animated-TQ5uusV5,.tv-dialog__modal-wrap.i-closed .animated-TQ5uusV5,.tv-dialog__modal-wrap.i-closing .animated-TQ5uusV5{opacity:0}.animated-TQ5uusV5{opacity:1;transition:opacity 175ms cubic-bezier(.55,.055,.675,.19);will-change:opacity}.footer-padding-TQ5uusV5{padding-bottom:64px}.link-TQ5uusV5{color:#2962ff;cursor:pointer;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .link-TQ5uusV5{color:#2962ff}.link-TQ5uusV5:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-TQ5uusV5:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-TQ5uusV5:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-TQ5uusV5:hover{fill:#1e53e5;color:#1e53e5}}.link-TQ5uusV5:focus{outline:auto}.link-TQ5uusV5:focus-visible{outline:auto}.link-TQ5uusV5:focus:not(:focus-visible){outline:none}.link-TQ5uusV5:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-TQ5uusV5:active{fill:#1848cc;color:#1848cc}@media screen and (max-width:767px){.title-TQ5uusV5{margin-bottom:16px}}.tv-control-radio{-webkit-tap-highlight-color:transparent;cursor:pointer;margin-left:4px}.tv-control-radio--in-actions{max-width:50%}@media screen and (max-width:479px){.tv-control-radio--in-actions{max-width:none}}.tv-control-radio,.tv-control-radio__label{display:inline-block;position:relative;-webkit-user-select:none;user-select:none;vertical-align:middle}.tv-control-radio--nowrap,.tv-control-radio__label--nowrap{white-space:nowrap}.tv-control-radio__input{height:18px;left:0;opacity:0;position:absolute;top:0;width:18px}.tv-control-radio__box{box-sizing:border-box;line-height:1;pointer-events:none;transition:background-color .35s ease}.tv-control-radio__box,.tv-control-radio__box:before{border-radius:3px;display:block;height:18px;width:18px}.tv-control-radio__box:before{background-color:initial;content:"";left:50%;margin-left:-9px;margin-top:-9px;position:absolute;top:50%;transform:scale(1);transition:transform .35s ease,background-color .35s ease,border-radius .35s ease}.tv-control-radio__box:after{border:2px solid #758696;border-radius:3px;box-sizing:border-box;content:"";display:block;height:18px;left:0;position:absolute;top:0;transition:border-color .35s ease;width:18px}.tv-control-radio__box svg{stroke:#0000;display:block;height:12px;left:50%;margin-left:-6px;margin-top:-6px;position:absolute;top:50%;transform:scale(0);transition:stroke .35s ease 1ms,transform .35s ease 1ms;width:12px}.tv-control-radio__label{margin-right:10px;white-space:normal}.tv-control-radio__label--two-lines{width:155px}.tv-control-radio__label--nowrap{white-space:nowrap}.tv-control-radio__label--lil-line-height{line-height:16px;max-width:80%;min-width:45%}.tv-control-radio__label+.tv-control-radio{margin-left:0}.tv-control-radio+.tv-control-radio__label{margin-left:10px;margin-right:0;max-width:calc(100% - 1ex - 28px)}.tv-control-radio:active .tv-control-radio__box,.tv-control-radio__input:focus+.tv-control-radio__box{will-change:background-color}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__box{will-change:background-color}}.tv-control-radio:active .tv-control-radio__box:before,.tv-control-radio__input:focus+.tv-control-radio__box:before{will-change:transform,border-radius}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__box:before{will-change:transform,border-radius}}.tv-control-radio:active .tv-control-radio__box:after,.tv-control-radio__input:focus+.tv-control-radio__box:after{will-change:border-color}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__box:after{border-color:#627384;will-change:border-color}}.tv-control-radio:active .tv-control-radio__box:after,.tv-control-radio__input:focus+.tv-control-radio__box:after,html.theme-dark .tv-control-radio:active .tv-control-radio__box:after,html.theme-dark .tv-control-radio__input:focus+.tv-control-radio__box:after{border-color:#2962ff}.tv-control-radio__input:checked+.tv-control-radio__box,html.theme-dark .tv-control-radio__input:checked+.tv-control-radio__box{background-color:#2962ff}.tv-control-radio__input:checked+.tv-control-radio__box,.tv-control-radio__input:checked+.tv-control-radio__box:after,.tv-control-radio__input:checked+.tv-control-radio__box:before{transition-timing-function:cubic-bezier(.215,.61,.355,1)}.tv-control-radio__input:checked+.tv-control-radio__box:before{border-radius:50%;transform:scale(0)}.tv-control-radio__input:checked+.tv-control-radio__box:after,html.theme-dark .tv-control-radio__input:checked+.tv-control-radio__box:after{border-color:#2962ff}.tv-control-radio__input:checked+.tv-control-radio__box svg{stroke:#fff;transform:scale(1);transition-delay:.0875s;transition-timing-function:cubic-bezier(.215,.61,.355,1);will-change:stroke,transform}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input:checked+.tv-control-radio__box{background-color:#1e53e5}.tv-control-radio:hover .tv-control-radio__input:checked+.tv-control-radio__box:after{border-color:#1e53e5}}.tv-control-radio:active .tv-control-radio__input:checked+.tv-control-radio__box,.tv-control-radio__input:focus:checked+.tv-control-radio__box{background-color:#2962ff}.tv-control-radio:active .tv-control-radio__input:checked+.tv-control-radio__box:after,.tv-control-radio__input:focus:checked+.tv-control-radio__box:after{border-color:#2962ff}.tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:after,.tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after,.tv-control-radio__input[disabled]+.tv-control-radio__box:after,.tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#e0e3eb}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input[disabled]+.tv-control-radio__box:after,.tv-control-radio:hover .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#e0e3eb}}html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:after,html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after,html.theme-dark .tv-control-radio__input[disabled]+.tv-control-radio__box:after,html.theme-dark .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-control-radio:hover .tv-control-radio__input[disabled]+.tv-control-radio__box:after,html.theme-dark .tv-control-radio:hover .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#363a45}}.tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:before,.tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:before{background-color:#bbd9fb;transition:background-color .35s ease}html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:before,html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:before{background-color:#2a2e39}.tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box,.tv-control-radio__input[disabled]:checked+.tv-control-radio__box{background-color:#dadde0}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input[disabled]:checked+.tv-control-radio__box{background-color:#dadde0}}.tv-control-radio__ripple{border-radius:50%;display:block;height:100%;margin:-10px;-webkit-mask-image:radial-gradient(circle,#fff 100%,#000 0);mask-image:radial-gradient(circle,#fff 100%,#000 0);overflow:hidden;padding:10px;position:absolute;right:0;top:0;width:100%}.tv-control-radio__input:checked+.tv-control-radio__box+.tv-control-radio__ripple .tv-ripple{background-color:#2962ff40}.tv-control-radio__input[disabled]+.tv-control-radio__box+.tv-control-radio__ripple .tv-ripple,.tv-control-radio__input[disabled]:checked+.tv-control-radio__box+.tv-control-radio__ripple .tv-ripple{background-color:initial}.tv-control-radio.i-error .tv-control-radio__box:after{border-color:#ff4a68}.tv-control-radio.i-disabled{cursor:default}.tv-control-radio__box{border-radius:50%;height:10px;overflow:visible;width:10px}.tv-control-radio__box:after{border-radius:50%;left:-4px;top:-4px}.tv-control-radio__box:before{background-color:#2962ff;height:10px;margin-left:-5px;margin-top:-5px;transform:scale(0);width:10px}.tv-control-radio__input{left:-4px;top:-4px}.tv-control-radio__input:checked+.tv-control-radio__box:before{transform:scale(1);transition-duration:.06s}.tv-control-radio__input:checked+.tv-control-radio__box{background-color:#fff;transition-duration:.06s}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input:checked+.tv-control-radio__box{background-color:#fff;transition-duration:.06s}}.grecaptcha-badge{display:none!important}.remember-label-dNMMjHmM{cursor:pointer;-webkit-user-select:none;user-select:none}.remember-dNMMjHmM{color:#787b86;padding-right:5px;text-align:left}html.theme-dark .remember-dNMMjHmM{color:#787b86}.back-button-dNMMjHmM{left:-10px;position:absolute;top:calc(50% - 17px)}.title-dNMMjHmM{font-size:24px;font-weight:400;line-height:36px;margin-bottom:32px;text-align:center}.header-dNMMjHmM{box-sizing:border-box;padding:0 20px;position:relative}.forgot-dNMMjHmM{color:#2962ff;cursor:pointer;font-size:14px;margin-bottom:40px;transition:color .35s ease;-webkit-user-select:none;user-select:none;width:100%}html.theme-dark .forgot-dNMMjHmM{color:#2962ff}.forgot-dNMMjHmM:visited{fill:#2962ff;color:#2962ff}html.theme-dark .forgot-dNMMjHmM:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.forgot-dNMMjHmM:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .forgot-dNMMjHmM:hover{fill:#1e53e5;color:#1e53e5}}.forgot-dNMMjHmM:focus{outline:auto}.forgot-dNMMjHmM:focus-visible{outline:auto}.forgot-dNMMjHmM:focus:not(:focus-visible){outline:none}.forgot-dNMMjHmM:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .forgot-dNMMjHmM:active{fill:#1848cc;color:#1848cc}.recaptchaContainer-dNMMjHmM>div:first-of-type{margin:0 auto}@media screen and (max-width:1530px){.title-dNMMjHmM{margin-bottom:24px}}@media screen and (max-width:767px){.title-dNMMjHmM{margin-bottom:16px}}.second-authentication-BUCgUS88 .title-BUCgUS88{margin-bottom:24px}.second-authentication-BUCgUS88 .signin-input-BUCgUS88.code-input-BUCgUS88{color:#131722;margin:0}html.theme-dark .second-authentication-BUCgUS88 .signin-input-BUCgUS88.code-input-BUCgUS88{color:#fff}.second-authentication-BUCgUS88 .authenticator-link-BUCgUS88,.second-authentication-BUCgUS88 .backup-link-BUCgUS88,.second-authentication-BUCgUS88 .get-code-BUCgUS88{font-size:16px;line-height:24px}.second-authentication-BUCgUS88 .input-container-BUCgUS88{margin-bottom:40px;margin-top:12px;position:relative}.second-authentication-BUCgUS88 .get-code-BUCgUS88{align-items:center;bottom:0;display:inline-flex;position:absolute;right:0;top:0}.second-authentication-BUCgUS88 .button-link-BUCgUS88{background:none;border:none}.second-authentication-BUCgUS88 .button-link-BUCgUS88:disabled{color:#6a6d78}.second-authentication-BUCgUS88 .hide-BUCgUS88{display:none}.second-authentication-BUCgUS88 .spinner-container-BUCgUS88{height:100%;position:absolute;right:10px;top:0}.second-authentication-BUCgUS88 .code-ttl-BUCgUS88{color:#131722}html.theme-dark .second-authentication-BUCgUS88 .code-ttl-BUCgUS88{color:#fff}.second-authentication-BUCgUS88 .link-BUCgUS88{color:#2962ff;text-decoration:none;transition:color .35s ease}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88{color:#2962ff}.second-authentication-BUCgUS88 .link-BUCgUS88:visited{fill:#2962ff;color:#2962ff}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.second-authentication-BUCgUS88 .link-BUCgUS88:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88:hover{fill:#1e53e5;color:#1e53e5}}.second-authentication-BUCgUS88 .link-BUCgUS88:focus{outline:auto}.second-authentication-BUCgUS88 .link-BUCgUS88:focus-visible{outline:auto}.second-authentication-BUCgUS88 .link-BUCgUS88:focus:not(:focus-visible){outline:none}.second-authentication-BUCgUS88 .link-BUCgUS88:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88:active{fill:#1848cc;color:#1848cc}@media screen and (max-width:767px){.title-BUCgUS88{margin-bottom:16px}}@media screen and (max-width:1530px){.input-container-BUCgUS88{margin-bottom:32px}}@media screen and (max-width:767px){.input-container-BUCgUS88{margin-bottom:24px}}.tv-tabs{-webkit-tap-highlight-color:transparent;display:flex;height:53px;line-height:53px;overflow:hidden;padding:0 16px;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.tv-tabs:before{background-color:#e0e3eb;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;right:0}html.theme-dark .tv-tabs:before{background-color:#363a45}.tv-tabs::-webkit-scrollbar{display:none}.tv-tabs.i-loaded{padding:0}.tv-tabs--category-content{padding:0 6px}.tv-tabs__scroll-wrap{-webkit-overflow-scrolling:touch;display:block;height:100%;overflow-x:scroll;overflow-y:hidden;padding-bottom:100px;position:relative;-webkit-transform:translateZ(0);white-space:nowrap;width:100%}.tv-tabs__scroll-box{display:flex;position:relative}.tv-tabs.i-loaded .tv-tabs__scroll-box{padding:0 16px}.tv-tabs__additional-info{color:#b2b5be;transition:inherit}.tv-tabs__tab{-webkit-tap-highlight-color:transparent;box-sizing:border-box;color:#131722;cursor:pointer;display:block;font-size:14px;height:53px;line-height:53px;margin:0;padding:0 16px;position:relative;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tv-tabs__tab{color:#d1d4dc}.tv-tabs__tab:active{transition-duration:.06s}@media (any-hover:hover){.tv-tabs__tab:hover{transition-duration:.06s}}.tv-tabs__tab.i-active,.tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){.tv-tabs__tab:hover{color:#2962ff}}html.theme-dark .tv-tabs__tab.i-active,html.theme-dark .tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){html.theme-dark .tv-tabs__tab:hover{color:#2962ff}}.tv-tabs__tab.i-disabled,.tv-tabs__tab:disabled,.tv-tabs__tab[disabled]{color:#e0e3eb;cursor:default}html.theme-dark .tv-tabs__tab.i-disabled,html.theme-dark .tv-tabs__tab:disabled,html.theme-dark .tv-tabs__tab[disabled]{color:#363a45}.tv-tabs__tab--no-padding{padding:0}.tv-tabs__tab--right-shifter{margin-left:auto}.tv-tabs__tab--icon-tab{padding:0}.tv-tabs--category-header{height:46px}.tv-tabs--category-header .tv-tabs__tab{color:#131722;font-size:18px;height:46px;line-height:46px;padding-left:24px;padding-right:24px}@media (any-hover:hover){.tv-tabs--category-header .tv-tabs__tab:hover,.tv-tabs--category-header .tv-tabs__tab:hover .tv-tabs__additional-info{color:#1e53e5}}.tv-tabs--category-header .tv-tabs__tab.i-active{cursor:default}.tv-tabs--category-header .tv-tabs__tab.i-active,.tv-tabs--category-header .tv-tabs__tab.i-active .tv-tabs__additional-info{color:#2962ff}.tv-tabs__slider,.tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0;display:block;height:3px;pointer-events:none;position:absolute}html.theme-dark .tv-tabs__slider,html.theme-dark .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--compact,.tv-tabs--compact .tv-tabs__scroll-box,.tv-tabs--compact .tv-tabs__tab{height:23px}.tv-tabs--compact .tv-tabs__tab{font-size:13px;line-height:23px}.tv-tabs--semi-compact,.tv-tabs--semi-compact .tv-tabs__scroll-box,.tv-tabs--semi-compact .tv-tabs__tab{height:38px}.tv-tabs--semi-compact .tv-tabs__tab{line-height:38px}.tv-tabs--category-header.i-loaded,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--compact,.tv-tabs--compact.i-loaded .tv-tabs__scroll-box,.tv-tabs--semi-compact,.tv-tabs--semi-compact.i-loaded .tv-tabs__scroll-box{padding-left:0;padding-right:0}.tv-tabs--category-header,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--category-header .tv-tabs__scroll-box{padding-left:20px;padding-right:20px}.tv-tabs--category-header:before,.tv-tabs--compact:before,.tv-tabs--semi-compact:before{bottom:0}.tv-tabs--compact .tv-tabs__tab:first-child,.tv-tabs--semi-compact .tv-tabs__tab:first-child{margin-left:-16px}.tv-tabs--compact .tv-tabs__tab:last-child,.tv-tabs--semi-compact .tv-tabs__tab:last-child{margin-right:-16px}.tv-tabs--category-header .tv-tabs__tab:first-child{margin-left:-24px}.tv-tabs--category-header .tv-tabs__tab:last-child{margin-right:-24px}.page-wide .tv-tabs--category-header .tv-tabs__tab{padding-left:32px;padding-right:32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:first-child{margin-left:-32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:last-child{margin-right:-32px}.tv-tabs--compact .tv-tabs__tab.i-hidden:first-child+.tv-tabs__tab{margin-left:-16px}.tv-tabs--compact .tv-tabs__slider,.tv-tabs--compact .tv-tabs__tab.i-active:after{bottom:0;height:1px}@media screen and (max-width:767px){.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:first-child{margin-left:0;padding-left:0}.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:nth-last-child(2){margin-right:0;padding-right:0}}.tv-tabs--no-margin .tv-tabs__tab:first-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:first-child{margin-left:0}.tv-tabs--no-margin .tv-tabs__tab:last-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:last-child{margin-right:0}.tv-tabs--secondary-active .tv-tabs__wrap{align-items:center;background-color:#f0f3fa;border-radius:25px;display:flex;height:23px;padding:0 14px}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap{background-color:#2a2e39}@media (any-hover:hover){.tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#e0e3eb}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#363a45}}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__wrap{height:26px;padding:0 12px}.tv-tabs--secondary-active.tv-tabs--semi-compact{padding:0 14px}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#131722;padding:2px}html.theme-dark .tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#b2b5be}.tv-tabs--secondary-active .tv-tabs__tab{align-items:center;display:flex;font-size:13px;padding:0 6px}.tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#2962ff;color:#fff}html.theme-dark .tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#1848cc;color:#fff}.tv-tabs--no-border:before{display:none}.tv-tabs--no-padding,.tv-tabs--no-padding.i-loaded .tv-tabs__scroll-box{padding:0}.tv-tabs--no-padding .tv-tabs__tab{padding:0 16px}.tv-tabs--no-padding .tv-tabs__tab.tv-tabs__tab--no-padding{padding:0}.tv-tabs.i-loaded .tv-tabs__tab.i-active:after{content:none;display:none}.tv-tabs__left-arrow,.tv-tabs__right-arrow{align-items:center;background-color:#fff;bottom:0;box-sizing:initial;cursor:pointer;direction:ltr;display:flex;padding:0 5px;position:absolute;top:0;-webkit-user-select:none;user-select:none;width:36px}.tv-tabs__left-arrow:after,.tv-tabs__right-arrow:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-tabs__left-arrow svg,.tv-tabs__right-arrow svg{display:inline-block;height:12px;transform:scale(1);transition:fill .35s ease;vertical-align:middle;width:12px}@media (any-hover:hover){.tv-tabs__left-arrow:hover svg,.tv-tabs__right-arrow:hover svg{fill:#4f5966;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:hover svg,html.theme-dark .tv-tabs__right-arrow:hover svg{fill:#c5cbce}}.tv-tabs__left-arrow:active svg,.tv-tabs__right-arrow:active svg{fill:#271d2b;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:active svg,html.theme-dark .tv-tabs__right-arrow:active svg{fill:#9db2bd}.tv-tabs__right-arrow{justify-content:flex-end}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{bottom:3px;margin-top:-1px}.tv-tabs--category-header .tv-tabs__left-arrow svg,.tv-tabs--category-header .tv-tabs__right-arrow svg{vertical-align:top}.tv-tabs__left-arrow{background:linear-gradient(90deg,#fff,#ffffffd9,#fff0);left:0;text-align:left;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__left-arrow.i-slided{transform:translateX(-100%)}.tv-tabs__right-arrow{background:linear-gradient(270deg,#fff,#ffffffd9,#fff0);right:0;text-align:right;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__right-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__right-arrow.i-slided{transform:translateX(100%)}.tv-tabs--compact .tv-tabs__left-arrow,.tv-tabs--compact .tv-tabs__right-arrow{width:23px}.tv-tabs--semi-compact .tv-tabs__left-arrow,.tv-tabs--semi-compact .tv-tabs__right-arrow{width:34px}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{width:45px}.tv-tabs--searchbar:before{display:none}.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:80px}@media screen and (max-width:1019px){.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:54px}}.tv-tabs--searchbar .tv-tabs__slider,.tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff;bottom:0}html.theme-dark .tv-tabs--searchbar .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff}.tv-tabs--searchbar-profile .tv-tabs__slider,.tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--searchbar .tv-tabs__left-arrow svg,.tv-tabs--searchbar .tv-tabs__right-arrow svg{fill:#fff;opacity:.65}.tv-tabs--searchbar .tv-tabs__left-arrow:active svg,.tv-tabs--searchbar .tv-tabs__right-arrow:active svg{fill:#fff;opacity:1}@media (any-hover:hover){.tv-tabs--searchbar .tv-tabs__left-arrow:hover svg,.tv-tabs--searchbar .tv-tabs__right-arrow:hover svg{fill:#fff;opacity:1}}.tv-tabs--searchbar .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar .tv-tabs__right-arrow,html.theme-dark .tv-tabs--searchbar .tv-tabs__right-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar_sub,.tv-tabs--searchbar_sub .tv-tabs__scroll-box{height:40px;line-height:40px}.tv-tabs--searchbar_sub .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#265aeb 0,#265aeb 15%,#265aeb00)}.tv-tabs--searchbar_sub .tv-tabs__right-arrow,html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#265aeb00 0,#265aeb 85%,#265aeb)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(90deg,#fff 0,#fff 45%,#fff0)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d 0,#1e222d 45%,#1e222d00)}.tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(90deg,#fff0 0,#fff 55%,#fff)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(90deg,#1e222d00 0,#1e222d 55%,#1e222d)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow,.tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#434651}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#d1d4dc}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#f0f3fa 0,#f0f3fa 45%,#f0f3fa00)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#2a2e39 0,#2a2e39 45%,#2a2e3900)}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#f0f3fa00 0,#f0f3fa 55%,#f0f3fa)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#2a2e3900 0,#2a2e39 55%,#2a2e39)}.tv-signin-dialog-tabs{-webkit-tap-highlight-color:transparent;display:flex;height:53px;height:63px;line-height:53px;overflow:hidden;overflow:visible;padding:0 16px;position:relative;text-align:center;-webkit-user-select:none;user-select:none;white-space:nowrap}.tv-signin-dialog-tabs:before{background-color:#e0e3eb;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;right:0}html.theme-dark .tv-signin-dialog-tabs:before{background-color:#363a45}.tv-signin-dialog-tabs::-webkit-scrollbar{display:none}.tv-signin-dialog-tabs.i-loaded{padding:0}.tv-signin-dialog-tabs--category-content{padding:0 6px}.tv-signin-dialog-tabs__scroll-wrap{-webkit-overflow-scrolling:touch;display:block;height:100%;overflow-x:scroll;overflow-y:hidden;padding-bottom:100px;position:relative;-webkit-transform:translateZ(0);white-space:nowrap;width:100%}.tv-signin-dialog-tabs__scroll-box{display:flex;position:relative}.tv-signin-dialog-tabs.i-loaded .tv-signin-dialog-tabs__scroll-box{padding:0 16px}.tv-signin-dialog-tabs__additional-info{color:#b2b5be;transition:inherit}.tv-signin-dialog-tabs__tab{-webkit-tap-highlight-color:transparent;box-sizing:border-box;cursor:pointer;display:block;font-size:14px;height:53px;line-height:53px;margin:0;padding:0 16px;position:relative;transition:color .35s ease;-webkit-user-select:none;user-select:none}.tv-signin-dialog-tabs__tab:active{transition-duration:.06s}@media (any-hover:hover){.tv-signin-dialog-tabs__tab:hover{transition-duration:.06s}}.tv-signin-dialog-tabs__tab.i-disabled,.tv-signin-dialog-tabs__tab:disabled,.tv-signin-dialog-tabs__tab[disabled]{color:#e0e3eb;cursor:default}html.theme-dark .tv-signin-dialog-tabs__tab.i-disabled,html.theme-dark .tv-signin-dialog-tabs__tab:disabled,html.theme-dark .tv-signin-dialog-tabs__tab[disabled]{color:#363a45}.tv-signin-dialog-tabs__tab--no-padding{padding:0}.tv-signin-dialog-tabs__tab--right-shifter{margin-left:auto}.tv-signin-dialog-tabs__tab--icon-tab{padding:0}.tv-signin-dialog-tabs--category-header{height:46px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab{color:#131722;font-size:18px;height:46px;line-height:46px;padding-left:24px;padding-right:24px}@media (any-hover:hover){.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:hover,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:hover .tv-tabs__additional-info{color:#1e53e5}}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab.i-active{cursor:default}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab.i-active,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab.i-active .tv-tabs__additional-info{color:#2962ff}.tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff;bottom:0;display:block;height:3px;pointer-events:none;position:absolute}html.theme-dark .tv-signin-dialog-tabs__slider,html.theme-dark .tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff}.tv-signin-dialog-tabs--compact,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab{height:23px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab{font-size:13px;line-height:23px}.tv-signin-dialog-tabs--semi-compact,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{height:38px}.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{line-height:38px}.tv-signin-dialog-tabs--category-header.i-loaded,.tv-signin-dialog-tabs--category-header.i-loaded .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--compact,.tv-signin-dialog-tabs--compact.i-loaded .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--semi-compact,.tv-signin-dialog-tabs--semi-compact.i-loaded .tv-signin-dialog-tabs__scroll-box{padding-left:0;padding-right:0}.tv-signin-dialog-tabs--category-header,.tv-signin-dialog-tabs--category-header.i-loaded .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__scroll-box{padding-left:20px;padding-right:20px}.tv-signin-dialog-tabs--category-header:before,.tv-signin-dialog-tabs--compact:before,.tv-signin-dialog-tabs--semi-compact:before{bottom:0}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab:first-child,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab:first-child{margin-left:-16px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab:last-child,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab:last-child{margin-right:-16px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:first-child{margin-left:-24px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:last-child{margin-right:-24px}.page-wide .tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab{padding-left:32px;padding-right:32px}.page-wide .tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:first-child{margin-left:-32px}.page-wide .tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:last-child{margin-right:-32px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab.i-hidden:first-child+.tv-signin-dialog-tabs__tab{margin-left:-16px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab.i-active:after{bottom:0;height:1px}@media screen and (max-width:767px){.tv-signin-dialog-tabs--with-wrap-padding-mobile .tv-signin-dialog-tabs__tab:first-child{margin-left:0;padding-left:0}.tv-signin-dialog-tabs--with-wrap-padding-mobile .tv-signin-dialog-tabs__tab:nth-last-child(2){margin-right:0;padding-right:0}}.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:first-child,.tv-signin-dialog-tabs--semi-compact.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:first-child{margin-left:0}.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:last-child,.tv-signin-dialog-tabs--semi-compact.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:last-child{margin-right:0}.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap{align-items:center;background-color:#f0f3fa;border-radius:25px;display:flex;height:23px;padding:0 14px}html.theme-dark .tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap{background-color:#2a2e39}@media (any-hover:hover){.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap:hover{background-color:#e0e3eb}html.theme-dark .tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap:hover{background-color:#363a45}}.tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__wrap{height:26px;padding:0 12px}.tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact{padding:0 14px}.tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{color:#131722;padding:2px}html.theme-dark .tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{color:#b2b5be}.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__tab{align-items:center;display:flex;font-size:13px;padding:0 6px}.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__tab.i-active .tv-signin-dialog-tabs__wrap{background-color:#2962ff;color:#fff}html.theme-dark .tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__tab.i-active .tv-signin-dialog-tabs__wrap{background-color:#1848cc;color:#fff}.tv-signin-dialog-tabs--no-border:before{display:none}.tv-signin-dialog-tabs--no-padding,.tv-signin-dialog-tabs--no-padding.i-loaded .tv-signin-dialog-tabs__scroll-box{padding:0}.tv-signin-dialog-tabs--no-padding .tv-signin-dialog-tabs__tab{padding:0 16px}.tv-signin-dialog-tabs--no-padding .tv-signin-dialog-tabs__tab.tv-signin-dialog-tabs__tab--no-padding{padding:0}.tv-signin-dialog-tabs.i-loaded .tv-signin-dialog-tabs__tab.i-active:after{content:none;display:none}.tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs__right-arrow{align-items:center;background-color:#fff;bottom:0;box-sizing:initial;cursor:pointer;direction:ltr;display:flex;padding:0 5px;position:absolute;top:0;-webkit-user-select:none;user-select:none;width:36px}.tv-signin-dialog-tabs__left-arrow:after,.tv-signin-dialog-tabs__right-arrow:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-signin-dialog-tabs__left-arrow svg,.tv-signin-dialog-tabs__right-arrow svg{display:inline-block;height:12px;transform:scale(1);transition:fill .35s ease;vertical-align:middle;width:12px}@media (any-hover:hover){.tv-signin-dialog-tabs__left-arrow:hover svg,.tv-signin-dialog-tabs__right-arrow:hover svg{fill:#4f5966;transition-duration:.06s}html.theme-dark .tv-signin-dialog-tabs__left-arrow:hover svg,html.theme-dark .tv-signin-dialog-tabs__right-arrow:hover svg{fill:#c5cbce}}.tv-signin-dialog-tabs__left-arrow:active svg,.tv-signin-dialog-tabs__right-arrow:active svg{fill:#271d2b;transition-duration:.06s}html.theme-dark .tv-signin-dialog-tabs__left-arrow:active svg,html.theme-dark .tv-signin-dialog-tabs__right-arrow:active svg{fill:#9db2bd}.tv-signin-dialog-tabs__right-arrow{justify-content:flex-end}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__right-arrow{bottom:3px;margin-top:-1px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__left-arrow svg,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__right-arrow svg{vertical-align:top}.tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#fff,#ffffffd9,#fff0);left:0;text-align:left;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs__left-arrow.i-slided{transform:translateX(-100%)}.tv-signin-dialog-tabs__right-arrow{background:linear-gradient(270deg,#fff,#ffffffd9,#fff0);right:0;text-align:right;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs__right-arrow.i-slided{transform:translateX(100%)}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__right-arrow{width:23px}.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__right-arrow{width:34px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__right-arrow{width:45px}.tv-signin-dialog-tabs--searchbar:before{display:none}.tv-signin-dialog-tabs--searchbar,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__scroll-box{height:80px}@media screen and (max-width:1019px){.tv-signin-dialog-tabs--searchbar,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__scroll-box{height:54px}}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__tab.i-active:after{background-color:#fff;bottom:0}html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__slider,html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__tab.i-active:after{background-color:#fff}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff;bottom:0}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__slider,html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow svg,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow svg{fill:#fff;opacity:.65}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow:active svg,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow:active svg{fill:#fff;opacity:1}@media (any-hover:hover){.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow:hover svg,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow:hover svg{fill:#fff;opacity:1}}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow,html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow,html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs--searchbar_sub,.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__scroll-box{height:40px;line-height:40px}.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow,html.theme-dark .tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#265aeb 0,#265aeb 15%,#265aeb00)}.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow,html.theme-dark .tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#265aeb00 0,#265aeb 85%,#265aeb)}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#fff 0,#fff 45%,#fff0)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#1e222d 0,#1e222d 45%,#1e222d00)}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#fff0 0,#fff 55%,#fff)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#1e222d00 0,#1e222d 55%,#1e222d)}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{color:#434651}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow,html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{color:#d1d4dc}.tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#f0f3fa 0,#f0f3fa 45%,#f0f3fa00)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#2a2e39 0,#2a2e39 45%,#2a2e3900)}.tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#f0f3fa00 0,#f0f3fa 55%,#f0f3fa)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#2a2e3900 0,#2a2e39 55%,#2a2e39)}.tv-signin-dialog-tabs.tv-tabs:before{display:none}.tv-signin-dialog-tabs .tv-tabs__scroll-wrap{overflow-x:visible;overflow-y:visible}.tv-signin-dialog-tabs.i-loaded .tv-signin-dialog-tabs__scroll-box{padding:0}.tv-signin-dialog-tabs .tv-tabs__slider{background-color:#2962ff;bottom:0}html.theme-dark .tv-signin-dialog-tabs .tv-tabs__slider{background-color:#2962ff}.tv-signin-dialog-tabs__tab{color:#131722;font-size:24px;margin:3px auto 0;padding:0;text-transform:uppercase}html.theme-dark .tv-signin-dialog-tabs__tab{color:#d1d4dc}@media screen and (max-width:479px){.tv-signin-dialog-tabs__tab{font-size:20px}}.tv-signin-dialog-tabs__tab.i-active,.tv-signin-dialog-tabs__tab:active{color:#2962ff}@media (any-hover:hover){.tv-signin-dialog-tabs__tab:hover{color:#2962ff}}html.theme-dark .tv-signin-dialog-tabs__tab.i-active,html.theme-dark .tv-signin-dialog-tabs__tab:active{color:#2962ff}@media (any-hover:hover){html.theme-dark .tv-signin-dialog-tabs__tab:hover{color:#2962ff}}.tv-signin-dialog-tabs__scroll-box{height:63px}.tv-signin-dialog-tabs__wrap{margin-bottom:32px;position:relative}@media screen and (max-width:479px){.tv-signin-dialog-tabs__wrap{margin-bottom:24px}}.tv-signin-dialog-tabs__wrap:before{background-color:#e0e3eb;bottom:1px;content:"";display:block;height:1px;left:-3000px;left:-50vw;position:absolute;right:-3000px;right:-50vw;transition:left .35s cubic-bezier(.215,.61,.355,1) .175s,right .35s cubic-bezier(.215,.61,.355,1) .175s}html.theme-dark .tv-signin-dialog-tabs__wrap:before{background-color:#434651}.i-closed .tv-signin-dialog-tabs__wrap:before{left:0;right:0;transition-delay:.35s}.tv-signin-dialog{color:#131722}html.theme-dark .tv-signin-dialog{color:#d1d4dc}.tv-signin-dialog__title{font-size:24px;margin-bottom:60px;text-align:center}.tv-signin-dialog__title--withtext{color:#131722;margin-bottom:32px;max-width:calc(100% - 35px)}html.theme-dark .tv-signin-dialog__title--withtext{color:#d1d4dc}.tv-signin-dialog__title--logo{font-size:36px;padding-right:10px}.tv-signin-dialog__title--logo svg{display:inline-block;height:38.17px;margin-right:20px;vertical-align:initial;width:66px}.tv-signin-dialog__title--logo div{display:inline-block;vertical-align:text-top}.tv-signin-dialog__title--resend{line-height:1.6;margin-bottom:10px;margin-top:100px}.tv-signin-dialog__text{color:#131722;line-height:1.43;margin-bottom:32px}html.theme-dark .tv-signin-dialog__text{color:#d1d4dc}.tv-signin-dialog__text--description{color:#758696;margin:0}.tv-signin-dialog__text--link{color:#2962ff;cursor:pointer;display:inline-block;font-size:14px;margin:0;transition:color .35s ease}html.theme-dark .tv-signin-dialog__text--link{color:#2962ff}.tv-signin-dialog__text--link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__text--link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__text--link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--link:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__text--link:focus{outline:auto}.tv-signin-dialog__text--link:focus:not(:-moz-focusring){outline:none}.tv-signin-dialog__text--link:-moz-focusring{outline:auto}.tv-signin-dialog__text--link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--link:active{fill:#1848cc;color:#1848cc}.tv-signin-dialog__text--social-text{color:#131722;display:block;line-height:1.43;margin:24px 0 12px;text-align:left;width:100%}html.theme-dark .tv-signin-dialog__text--social-text{color:#d1d4dc}.tv-signin-dialog__text--text-retry{color:#2962ff;cursor:pointer;display:block;font-size:17px;margin-top:20px;text-align:center;transition:color .35s ease}html.theme-dark .tv-signin-dialog__text--text-retry{color:#2962ff}.tv-signin-dialog__text--text-retry:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__text--text-retry:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__text--text-retry:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--text-retry:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__text--text-retry:focus{outline:auto}.tv-signin-dialog__text--text-retry:focus:not(:-moz-focusring){outline:none}.tv-signin-dialog__text--text-retry:-moz-focusring{outline:auto}.tv-signin-dialog__text--text-retry:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--text-retry:active{fill:#1848cc;color:#1848cc}.tv-signin-dialog__text--text-email{margin-bottom:24px}.tv-signin-dialog__socials{display:flex;flex-wrap:nowrap;justify-content:space-between;margin:20px 0}@media screen and (max-width:479px){.tv-signin-dialog__socials{margin:12px 0}}.tv-signin-dialog__socials--resend{margin-bottom:10px}.tv-signin-dialog__social{align-items:center;background-color:#fff;border:1px solid #e0e3eb;border-radius:4px;color:#131722;cursor:pointer;display:flex;flex-grow:1;height:40px;justify-content:center;position:relative;transition:background-color .35s ease}html.theme-dark .tv-signin-dialog__social{background-color:#131722;border:1px solid #434651;color:#d1d4dc}@media (any-hover:hover){.tv-signin-dialog__social:hover{background-color:#f0f3fa}html.theme-dark .tv-signin-dialog__social:hover{background-color:#2a2e39}}.tv-signin-dialog__social:active{background-color:#e0e3eb}html.theme-dark .tv-signin-dialog__social:active{background-color:#1e222d}.tv-signin-dialog__social:after{content:"";display:block;padding-bottom:100%}.tv-signin-dialog__social--big{background-color:#fff;font-size:16px;line-height:24px;width:160px}html.theme-dark .tv-signin-dialog__social--big{background-color:#131722}.tv-signin-dialog__social--big svg{margin-right:6px}@media (any-hover:hover){.tv-signin-dialog__social--big:hover{background-color:#f0f3fa}html.theme-dark .tv-signin-dialog__social--big:hover{background-color:#2a2e39}}.tv-signin-dialog__social--big:active{background-color:#e0e3eb}html.theme-dark .tv-signin-dialog__social--big:active{background-color:#1e222d}.tv-signin-dialog__social--apple{color:#131722}@media (any-hover:hover){.tv-signin-dialog__social--apple:hover{color:#131722}}html.theme-dark .tv-signin-dialog__social--apple{color:#fff}@media (any-hover:hover){html.theme-dark .tv-signin-dialog__social--apple:hover{color:#fff}}.tv-signin-dialog .tv-social__title{padding-top:1px}.tv-signin-dialog__social:not(:last-child){margin-right:20px}@media screen and (max-width:479px){.tv-signin-dialog__social:not(:last-child){margin-right:12px}}.tv-signin-dialog__input.tv-signin-dialog__input{background-color:initial!important;border-color:#e0e3eb;color:#131722;font-size:16px;height:44px;margin:12px 0;padding:12px 0}html.theme-dark .tv-signin-dialog__input.tv-signin-dialog__input{border-color:#434651;color:#d1d4dc}.tv-signin-dialog__input--forgot{margin-bottom:24px}.tv-signin-dialog__input.tv-signin-dialog__input:-webkit-autofill{-webkit-text-fill-color:#131722!important;box-shadow:inset 0 0 0 1000px #fff!important;caret-color:#131722!important}html.theme-dark .tv-signin-dialog__input.tv-signin-dialog__input:-webkit-autofill{-webkit-text-fill-color:#d1d4dc!important;box-shadow:inset 0 0 0 1000px #131722!important;caret-color:#d1d4dc!important}@media (any-hover:hover){.tv-signin-dialog__input:hover,html.theme-dark .tv-signin-dialog__input:hover{border-color:#2962ff}}.tv-signin-dialog__input.tv-signin-dialog__input:focus,html.theme-dark .tv-signin-dialog__input.tv-signin-dialog__input:focus{border-color:#2962ff}.tv-signin-dialog__recaptcha{height:78px;margin-bottom:24px}.tv-signin-dialog__recaptcha>*{margin:0 auto}.tv-signin-dialog .tv-control-material-input__label{bottom:14px;color:#787b86;font-size:14px;top:auto;transform-origin:0 0}html.theme-dark .tv-signin-dialog .tv-control-material-input__label{color:#787b86}.tv-signin-dialog .tv-control-material-input__label.i-up{transform:translateY(-24px) scale(.85)}.tv-signin-dialog__separator{margin-bottom:34px;padding-top:6px;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.tv-signin-dialog__separator:before{background-color:#e0e3eb;content:"";display:block;height:1px;left:0;position:absolute;right:0;top:15px}html.theme-dark .tv-signin-dialog__separator:before{background-color:#434651}.tv-signin-dialog__separator-text{background-color:#fff;border-radius:50%;color:#787b86;display:inline-block;padding:0 15px;position:relative}html.theme-dark .tv-signin-dialog__separator-text{background-color:#131722;color:#787b86}.tv-signin-dialog__toggle-email svg{margin-right:6px}.tv-signin-dialog__cancel{color:#2962ff;cursor:pointer;display:flex;font-size:17px;justify-content:center;line-height:48px;margin-top:30px;padding:0 20px}.tv-signin-dialog .tv-control-checkbox__box:before{background-color:#fff}html.theme-dark .tv-signin-dialog .tv-control-checkbox__box:before{background-color:#131722}.tv-signin-dialog .tv-control-checkbox__label{color:#131722;margin-left:4px}html.theme-dark .tv-signin-dialog .tv-control-checkbox__label{color:#d1d4dc}.tv-signin-dialog__gdpr,.tv-signin-dialog__marketing-emails{display:block;margin:20px 0 24px}.tv-signin-dialog__gdpr a,.tv-signin-dialog__marketing-emails a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-signin-dialog__gdpr a,html.theme-dark .tv-signin-dialog__marketing-emails a{color:#2962ff}.tv-signin-dialog__gdpr a:visited,.tv-signin-dialog__marketing-emails a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__gdpr a:visited,html.theme-dark .tv-signin-dialog__marketing-emails a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__gdpr a:hover,.tv-signin-dialog__marketing-emails a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .tv-signin-dialog__gdpr a:hover,html.theme-dark .tv-signin-dialog__marketing-emails a:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__gdpr a:focus,.tv-signin-dialog__marketing-emails a:focus{outline:auto}.tv-signin-dialog__gdpr a:focus-visible,.tv-signin-dialog__marketing-emails a:focus-visible{outline:auto}.tv-signin-dialog__gdpr a:focus:not(:focus-visible),.tv-signin-dialog__marketing-emails a:focus:not(:focus-visible){outline:none}.tv-signin-dialog__gdpr a:active,.tv-signin-dialog__marketing-emails a:active{fill:#2962ff;color:#2962ff;transition-duration:60ms}html.theme-dark .tv-signin-dialog__gdpr a:active,html.theme-dark .tv-signin-dialog__marketing-emails a:active{fill:#2962ff;color:#2962ff}.tv-signin-dialog__gdpr-checkbox.tv-control-checkbox,.tv-signin-dialog__marketing-emails-checkbox.tv-control-checkbox{vertical-align:top}.tv-signin-dialog__gdpr-text,.tv-signin-dialog__marketing-emails-text{color:#131722;font-size:14px;line-height:1.43}html.theme-dark .tv-signin-dialog__gdpr-text,html.theme-dark .tv-signin-dialog__marketing-emails-text{color:#d1d4dc}.tv-signin-dialog__footer{display:table;padding-bottom:1px;width:100%}.tv-signin-dialog__footer--login{margin:40px 0 0}.tv-signin-dialog__footer-item{display:table-cell;vertical-align:middle}.tv-signin-dialog__footer-item--login{padding-left:5px;text-align:right}.tv-signin-dialog__footer-item--activate-continue{text-align:center}.tv-signin-dialog__close{cursor:pointer;opacity:.5;padding:32px;position:absolute;right:0;top:0;transition:opacity .35s ease}@media screen and (max-width:1019px){.tv-signin-dialog__close{padding:30px}}@media screen and (max-width:767px){.tv-signin-dialog__close{padding:20px}}.tv-signin-dialog__close .i-opening{opacity:0}.tv-signin-dialog__close svg{color:#131722;display:block;height:25px;width:25px}html.theme-dark .tv-signin-dialog__close svg{color:#d1d4dc}@media screen and (max-width:767px){.tv-signin-dialog__close svg{height:15px;width:15px}}.tv-signin-dialog__close:active{opacity:1;transition-duration:.06s}@media (any-hover:hover){.tv-signin-dialog__close:hover{opacity:1;transition-duration:.06s}}.tv-signin-dialog__resend{margin-top:42px}.tv-signin-dialog__activation-link:active{transform:translateY(1px)}.tv-signin-dialog__dropzone{cursor:pointer;display:block;position:relative}.tv-signin-dialog__dropzone-wrap{border:1px dashed #4e5866;height:160px;margin:0 auto 40px;position:relative;-webkit-user-select:none;user-select:none;width:160px}.tv-signin-dialog__dropzone,.tv-signin-dialog__dropzone-img,.tv-signin-dialog__dropzone-preview,.tv-signin-dialog__dropzone-text{bottom:0;height:160px;left:0;position:absolute;right:0;top:0;width:160px}.tv-signin-dialog__dropzone-img{display:block;height:160px;width:160px}.tv-signin-dialog__dropzone-text{cursor:default;line-height:160px;text-align:center;transition:background-color .35s ease,opacity .35s ease;vertical-align:middle}@media (any-hover:hover){.tv-signin-dialog__dropzone-wrap:hover .tv-signin-dialog__dropzone-text{background-color:hsla(0,0%,100%,.075);transition-duration:.06s}}.tv-signin-dialog__dropzone-wrap.i-with-preview .tv-signin-dialog__dropzone-text{opacity:0}@media (any-hover:hover){.tv-signin-dialog__dropzone-wrap.i-with-preview:hover .tv-signin-dialog__dropzone-text{background-color:#2a2c3980;opacity:1}}.tv-signin-dialog__dropzone-wrap.i-processing .tv-signin-dialog__dropzone-text{opacity:0}@media (any-hover:hover){.tv-signin-dialog__dropzone-wrap.i-processing:hover .tv-signin-dialog__dropzone-text{opacity:0}}.tv-signin-dialog__label{color:#131722;text-align:left;white-space:nowrap}html.theme-dark .tv-signin-dialog__label{color:#d1d4dc}.tv-signin-dialog__label--reset-method{color:#131722}html.theme-dark .tv-signin-dialog__label--reset-method{color:#d1d4dc}@media screen and (max-width:479px){.tv-signin-dialog__label{white-space:normal}}.tv-signin-dialog__radio-wrap{display:inline-block;margin-bottom:18px;margin-left:-4px;text-align:left;width:100%}.tv-signin-dialog__radio-wrap:last-child{margin-bottom:32px}.tv-signin-dialog__reset-password-form{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.tv-signin-dialog__reset-password-form--link{color:#2962ff;cursor:pointer;display:inline-block;font-size:14px;margin-top:14px;transition:color .35s ease}html.theme-dark .tv-signin-dialog__reset-password-form--link{color:#2962ff}.tv-signin-dialog__reset-password-form--link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__reset-password-form--link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__reset-password-form--link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-signin-dialog__reset-password-form--link:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__reset-password-form--link:focus{outline:auto}.tv-signin-dialog__reset-password-form--link:focus:not(:-moz-focusring){outline:none}.tv-signin-dialog__reset-password-form--link:-moz-focusring{outline:auto}.tv-signin-dialog__reset-password-form--link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-signin-dialog__reset-password-form--link:active{fill:#1848cc;color:#1848cc} \ No newline at end of file diff --git a/charting_library/bundles/9570.6e130410c18a92e289cd.rtl.css b/charting_library/bundles/9570.6e130410c18a92e289cd.rtl.css new file mode 100644 index 00000000..ab886374 --- /dev/null +++ b/charting_library/bundles/9570.6e130410c18a92e289cd.rtl.css @@ -0,0 +1 @@ +.tv-control-material-input,.tv-control-material-input__control{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;background-color:initial!important;border:none;border-bottom:1px solid #dadde0;border-radius:2px;border-radius:0;box-sizing:border-box;color:#434651;display:block;font-size:13px;height:34px;padding:0;transition:border-color .35s ease,background-color .35s ease;width:100%}html.theme-dark .tv-control-material-input,html.theme-dark .tv-control-material-input__control{background-color:#1e222d;border-color:#363a45;color:#d1d4dc}.tv-control-material-input::placeholder,.tv-control-material-input__control::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-material-input::placeholder,html.theme-dark .tv-control-material-input__control::placeholder{color:#50535e}.tv-control-material-input:-webkit-autofill,.tv-control-material-input__control:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-material-input--size_xsmall,.tv-control-material-input__control--size_xsmall{height:19px}.tv-control-material-input--size_small,.tv-control-material-input__control--size_small{height:27px}.tv-control-material-input--size_large,.tv-control-material-input__control--size_large{font-size:16px;height:48px}.tv-control-material-input--connect,.tv-control-material-input__control--connect{border-left:0;border-radius:0;border-right:0}.tv-control-material-input--connect_left,.tv-control-material-input__control--connect_left{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.tv-control-material-input--connect_right,.tv-control-material-input__control--connect_right{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-material-input--connect_right#id_username,.tv-control-material-input__control--connect_right#id_username{direction:ltr;text-align:right}@media (any-hover:hover){.tv-control-material-input:hover,.tv-control-material-input__control:hover{border-color:#c1c4cd;transition-duration:.06s}html.theme-dark .tv-control-material-input:hover,html.theme-dark .tv-control-material-input__control:hover{border-color:#50535e}}.tv-control-material-input:focus,.tv-control-material-input__control:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-material-input[readonly],.tv-control-material-input__control[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-material-input[readonly]:focus,.tv-control-material-input__control[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-material-input[readonly]:hover,.tv-control-material-input__control[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-material-input[readonly]:focus,html.theme-dark .tv-control-material-input__control[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-material-input[readonly]:hover,html.theme-dark .tv-control-material-input__control[readonly]:hover{border-color:#2a2e39!important}}.tv-control-material-input--readonly_dark,.tv-control-material-input--readonly_dark[readonly],.tv-control-material-input__control--readonly_dark,.tv-control-material-input__control--readonly_dark[readonly],html.theme-dark .tv-control-material-input--readonly_dark,html.theme-dark .tv-control-material-input--readonly_dark[readonly],html.theme-dark .tv-control-material-input__control--readonly_dark,html.theme-dark .tv-control-material-input__control--readonly_dark[readonly]{color:#50535e}.tv-control-material-input.i-disabled,.tv-control-material-input[disabled],.tv-control-material-input__control.i-disabled,.tv-control-material-input__control[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-material-input.i-disabled,html.theme-dark .tv-control-material-input[disabled],html.theme-dark .tv-control-material-input__control.i-disabled,html.theme-dark .tv-control-material-input__control[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-material-input.i-disabled::placeholder,.tv-control-material-input[disabled]::placeholder,.tv-control-material-input__control.i-disabled::placeholder,.tv-control-material-input__control[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-material-input.i-disabled::placeholder,html.theme-dark .tv-control-material-input[disabled]::placeholder,html.theme-dark .tv-control-material-input__control.i-disabled::placeholder,html.theme-dark .tv-control-material-input__control[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-material-input.i-disabled:hover,.tv-control-material-input[disabled]:hover,.tv-control-material-input__control.i-disabled:hover,.tv-control-material-input__control[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-material-input.i-disabled:hover,html.theme-dark .tv-control-material-input[disabled]:hover,html.theme-dark .tv-control-material-input__control.i-disabled:hover,html.theme-dark .tv-control-material-input__control[disabled]:hover{border-color:#2a2e39!important}}.tv-control-material-input.i-error,.tv-control-material-input__control.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-material-input.i-error:hover,.tv-control-material-input__control.i-error:hover{border-color:#f24965!important}}.tv-control-material-input.i-error:focus,.tv-control-material-input__control.i-error:focus{border-color:#ff173e!important}.tv-control-material-input.i-success,.tv-control-material-input__control.i-success{border-color:#089981!important}html.theme-dark .tv-control-material-input.i-success,html.theme-dark .tv-control-material-input__control.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-material-input.i-success:hover,.tv-control-material-input__control.i-success:hover,html.theme-dark .tv-control-material-input.i-success:hover,html.theme-dark .tv-control-material-input__control.i-success:hover{border-color:#06806b!important}}.tv-control-material-input.i-success:active,.tv-control-material-input.i-success:focus,.tv-control-material-input__control.i-success:active,.tv-control-material-input__control.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-material-input.i-success:active,html.theme-dark .tv-control-material-input.i-success:focus,html.theme-dark .tv-control-material-input__control.i-success:active,html.theme-dark .tv-control-material-input__control.i-success:focus{border-color:#089981!important}.tv-control-material-input--phone,.tv-control-material-input__control--phone{direction:ltr;text-align:right}@media (any-hover:hover){.tv-control-material-input:hover,.tv-control-material-input__control:hover{border-color:#4f5966}}.tv-control-material-input:focus,.tv-control-material-input__control:focus,html.theme-dark .tv-control-material-input:focus,html.theme-dark .tv-control-material-input__control:focus{border-color:#2962ff}.tv-control-material-input--reset-password,.tv-control-material-input__control--reset-password{font-size:16px;height:44px;margin:12px 0;padding:12px 0}.tv-control-material-input__wrap{display:block;position:relative;width:100%}.tv-control-material-input__label{color:#adaeb0;font-size:13px;pointer-events:none;position:absolute;right:0;top:9px;transform-origin:100% 0;transition:color .35s ease,transform .35s ease;-webkit-user-select:none;user-select:none}.tv-control-material-input__label.i-up{transform:translateY(-24px) scale(.85)}.tv-control-material-input__label--reset-password{bottom:14px;color:#758696;font-size:14px;top:auto}.tv-control-material-input__hint{color:#4f5966}.tv-control-material-input--dark{border-color:#363c4e;color:#fff}.title-TQ5uusV5{font-size:24px;font-weight:400;margin-bottom:24px;text-align:center}.footer-TQ5uusV5{align-items:center;background:#fff;border-top:1px solid #e0e3eb;bottom:0;display:flex;height:63px;justify-content:center;left:0;opacity:1;position:fixed;right:0}html.theme-dark .footer-TQ5uusV5{background:#131722;border-top:1px solid #434651}.hide-animated-TQ5uusV5 .animated-TQ5uusV5,.tv-dialog__modal-wrap.i-closed .animated-TQ5uusV5,.tv-dialog__modal-wrap.i-closing .animated-TQ5uusV5{opacity:0}.animated-TQ5uusV5{opacity:1;transition:opacity 175ms cubic-bezier(.55,.055,.675,.19);will-change:opacity}.footer-padding-TQ5uusV5{padding-bottom:64px}.link-TQ5uusV5{color:#2962ff;cursor:pointer;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .link-TQ5uusV5{color:#2962ff}.link-TQ5uusV5:visited{fill:#2962ff;color:#2962ff}html.theme-dark .link-TQ5uusV5:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.link-TQ5uusV5:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .link-TQ5uusV5:hover{fill:#1e53e5;color:#1e53e5}}.link-TQ5uusV5:focus{outline:auto}.link-TQ5uusV5:focus-visible{outline:auto}.link-TQ5uusV5:focus:not(:focus-visible){outline:none}.link-TQ5uusV5:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .link-TQ5uusV5:active{fill:#1848cc;color:#1848cc}@media screen and (max-width:767px){.title-TQ5uusV5{margin-bottom:16px}}.tv-control-radio{-webkit-tap-highlight-color:transparent;cursor:pointer;margin-right:4px}.tv-control-radio--in-actions{max-width:50%}@media screen and (max-width:479px){.tv-control-radio--in-actions{max-width:none}}.tv-control-radio,.tv-control-radio__label{display:inline-block;position:relative;-webkit-user-select:none;user-select:none;vertical-align:middle}.tv-control-radio--nowrap,.tv-control-radio__label--nowrap{white-space:nowrap}.tv-control-radio__input{height:18px;opacity:0;position:absolute;right:0;top:0;width:18px}.tv-control-radio__box{box-sizing:border-box;line-height:1;pointer-events:none;transition:background-color .35s ease}.tv-control-radio__box,.tv-control-radio__box:before{border-radius:3px;display:block;height:18px;width:18px}.tv-control-radio__box:before{background-color:initial;content:"";margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%;transform:scale(1);transition:transform .35s ease,background-color .35s ease,border-radius .35s ease}.tv-control-radio__box:after{border:2px solid #758696;border-radius:3px;box-sizing:border-box;content:"";display:block;height:18px;position:absolute;right:0;top:0;transition:border-color .35s ease;width:18px}.tv-control-radio__box svg{stroke:#0000;display:block;height:12px;margin-right:-6px;margin-top:-6px;position:absolute;right:50%;top:50%;transform:scale(0);transition:stroke .35s ease 1ms,transform .35s ease 1ms;width:12px}.tv-control-radio__label{margin-left:10px;white-space:normal}.tv-control-radio__label--two-lines{width:155px}.tv-control-radio__label--nowrap{white-space:nowrap}.tv-control-radio__label--lil-line-height{line-height:16px;max-width:80%;min-width:45%}.tv-control-radio__label+.tv-control-radio{margin-right:0}.tv-control-radio+.tv-control-radio__label{margin-left:0;margin-right:10px;max-width:calc(100% - 1ex - 28px)}.tv-control-radio:active .tv-control-radio__box,.tv-control-radio__input:focus+.tv-control-radio__box{will-change:background-color}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__box{will-change:background-color}}.tv-control-radio:active .tv-control-radio__box:before,.tv-control-radio__input:focus+.tv-control-radio__box:before{will-change:transform,border-radius}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__box:before{will-change:transform,border-radius}}.tv-control-radio:active .tv-control-radio__box:after,.tv-control-radio__input:focus+.tv-control-radio__box:after{will-change:border-color}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__box:after{border-color:#627384;will-change:border-color}}.tv-control-radio:active .tv-control-radio__box:after,.tv-control-radio__input:focus+.tv-control-radio__box:after,html.theme-dark .tv-control-radio:active .tv-control-radio__box:after,html.theme-dark .tv-control-radio__input:focus+.tv-control-radio__box:after{border-color:#2962ff}.tv-control-radio__input:checked+.tv-control-radio__box,html.theme-dark .tv-control-radio__input:checked+.tv-control-radio__box{background-color:#2962ff}.tv-control-radio__input:checked+.tv-control-radio__box,.tv-control-radio__input:checked+.tv-control-radio__box:after,.tv-control-radio__input:checked+.tv-control-radio__box:before{transition-timing-function:cubic-bezier(.215,.61,.355,1)}.tv-control-radio__input:checked+.tv-control-radio__box:before{border-radius:50%;transform:scale(0)}.tv-control-radio__input:checked+.tv-control-radio__box:after,html.theme-dark .tv-control-radio__input:checked+.tv-control-radio__box:after{border-color:#2962ff}.tv-control-radio__input:checked+.tv-control-radio__box svg{stroke:#fff;transform:scale(1);transition-delay:.0875s;transition-timing-function:cubic-bezier(.215,.61,.355,1);will-change:stroke,transform}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input:checked+.tv-control-radio__box{background-color:#1e53e5}.tv-control-radio:hover .tv-control-radio__input:checked+.tv-control-radio__box:after{border-color:#1e53e5}}.tv-control-radio:active .tv-control-radio__input:checked+.tv-control-radio__box,.tv-control-radio__input:focus:checked+.tv-control-radio__box{background-color:#2962ff}.tv-control-radio:active .tv-control-radio__input:checked+.tv-control-radio__box:after,.tv-control-radio__input:focus:checked+.tv-control-radio__box:after{border-color:#2962ff}.tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:after,.tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after,.tv-control-radio__input[disabled]+.tv-control-radio__box:after,.tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#e0e3eb}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input[disabled]+.tv-control-radio__box:after,.tv-control-radio:hover .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#e0e3eb}}html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:after,html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after,html.theme-dark .tv-control-radio__input[disabled]+.tv-control-radio__box:after,html.theme-dark .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#363a45}@media (any-hover:hover){html.theme-dark .tv-control-radio:hover .tv-control-radio__input[disabled]+.tv-control-radio__box:after,html.theme-dark .tv-control-radio:hover .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:after{border-color:#363a45}}.tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:before,.tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:before{background-color:#bbd9fb;transition:background-color .35s ease}html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]+.tv-control-radio__box:before,html.theme-dark .tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box:before{background-color:#2a2e39}.tv-control-radio:active .tv-control-radio__input[disabled]:checked+.tv-control-radio__box,.tv-control-radio__input[disabled]:checked+.tv-control-radio__box{background-color:#dadde0}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input[disabled]:checked+.tv-control-radio__box{background-color:#dadde0}}.tv-control-radio__ripple{border-radius:50%;display:block;height:100%;left:0;margin:-10px;-webkit-mask-image:radial-gradient(circle,#fff 100%,#000 0);mask-image:radial-gradient(circle,#fff 100%,#000 0);overflow:hidden;padding:10px;position:absolute;top:0;width:100%}.tv-control-radio__input:checked+.tv-control-radio__box+.tv-control-radio__ripple .tv-ripple{background-color:#2962ff40}.tv-control-radio__input[disabled]+.tv-control-radio__box+.tv-control-radio__ripple .tv-ripple,.tv-control-radio__input[disabled]:checked+.tv-control-radio__box+.tv-control-radio__ripple .tv-ripple{background-color:initial}.tv-control-radio.i-error .tv-control-radio__box:after{border-color:#ff4a68}.tv-control-radio.i-disabled{cursor:default}.tv-control-radio__box{border-radius:50%;height:10px;overflow:visible;width:10px}.tv-control-radio__box:after{border-radius:50%;right:-4px;top:-4px}.tv-control-radio__box:before{background-color:#2962ff;height:10px;margin-right:-5px;margin-top:-5px;transform:scale(0);width:10px}.tv-control-radio__input{right:-4px;top:-4px}.tv-control-radio__input:checked+.tv-control-radio__box:before{transform:scale(1);transition-duration:.06s}.tv-control-radio__input:checked+.tv-control-radio__box{background-color:#fff;transition-duration:.06s}@media (any-hover:hover){.tv-control-radio:hover .tv-control-radio__input:checked+.tv-control-radio__box{background-color:#fff;transition-duration:.06s}}.grecaptcha-badge{display:none!important}.remember-label-dNMMjHmM{cursor:pointer;-webkit-user-select:none;user-select:none}.remember-dNMMjHmM{color:#787b86;padding-left:5px;text-align:right}html.theme-dark .remember-dNMMjHmM{color:#787b86}.back-button-dNMMjHmM{position:absolute;right:-10px;top:calc(50% - 17px)}.title-dNMMjHmM{font-size:24px;font-weight:400;line-height:36px;margin-bottom:32px;text-align:center}.header-dNMMjHmM{box-sizing:border-box;padding:0 20px;position:relative}.forgot-dNMMjHmM{color:#2962ff;cursor:pointer;font-size:14px;margin-bottom:40px;transition:color .35s ease;-webkit-user-select:none;user-select:none;width:100%}html.theme-dark .forgot-dNMMjHmM{color:#2962ff}.forgot-dNMMjHmM:visited{fill:#2962ff;color:#2962ff}html.theme-dark .forgot-dNMMjHmM:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.forgot-dNMMjHmM:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .forgot-dNMMjHmM:hover{fill:#1e53e5;color:#1e53e5}}.forgot-dNMMjHmM:focus{outline:auto}.forgot-dNMMjHmM:focus-visible{outline:auto}.forgot-dNMMjHmM:focus:not(:focus-visible){outline:none}.forgot-dNMMjHmM:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .forgot-dNMMjHmM:active{fill:#1848cc;color:#1848cc}.recaptchaContainer-dNMMjHmM>div:first-of-type{margin:0 auto}@media screen and (max-width:1530px){.title-dNMMjHmM{margin-bottom:24px}}@media screen and (max-width:767px){.title-dNMMjHmM{margin-bottom:16px}}.second-authentication-BUCgUS88 .title-BUCgUS88{margin-bottom:24px}.second-authentication-BUCgUS88 .signin-input-BUCgUS88.code-input-BUCgUS88{color:#131722;margin:0}html.theme-dark .second-authentication-BUCgUS88 .signin-input-BUCgUS88.code-input-BUCgUS88{color:#fff}.second-authentication-BUCgUS88 .authenticator-link-BUCgUS88,.second-authentication-BUCgUS88 .backup-link-BUCgUS88,.second-authentication-BUCgUS88 .get-code-BUCgUS88{font-size:16px;line-height:24px}.second-authentication-BUCgUS88 .input-container-BUCgUS88{margin-bottom:40px;margin-top:12px;position:relative}.second-authentication-BUCgUS88 .get-code-BUCgUS88{align-items:center;bottom:0;display:inline-flex;left:0;position:absolute;top:0}.second-authentication-BUCgUS88 .button-link-BUCgUS88{background:none;border:none}.second-authentication-BUCgUS88 .button-link-BUCgUS88:disabled{color:#6a6d78}.second-authentication-BUCgUS88 .hide-BUCgUS88{display:none}.second-authentication-BUCgUS88 .spinner-container-BUCgUS88{height:100%;left:10px;position:absolute;top:0}.second-authentication-BUCgUS88 .code-ttl-BUCgUS88{color:#131722}html.theme-dark .second-authentication-BUCgUS88 .code-ttl-BUCgUS88{color:#fff}.second-authentication-BUCgUS88 .link-BUCgUS88{color:#2962ff;text-decoration:none;transition:color .35s ease}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88{color:#2962ff}.second-authentication-BUCgUS88 .link-BUCgUS88:visited{fill:#2962ff;color:#2962ff}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.second-authentication-BUCgUS88 .link-BUCgUS88:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88:hover{fill:#1e53e5;color:#1e53e5}}.second-authentication-BUCgUS88 .link-BUCgUS88:focus{outline:auto}.second-authentication-BUCgUS88 .link-BUCgUS88:focus-visible{outline:auto}.second-authentication-BUCgUS88 .link-BUCgUS88:focus:not(:focus-visible){outline:none}.second-authentication-BUCgUS88 .link-BUCgUS88:active{fill:#1848cc;color:#1848cc;transition-duration:60ms}html.theme-dark .second-authentication-BUCgUS88 .link-BUCgUS88:active{fill:#1848cc;color:#1848cc}@media screen and (max-width:767px){.title-BUCgUS88{margin-bottom:16px}}@media screen and (max-width:1530px){.input-container-BUCgUS88{margin-bottom:32px}}@media screen and (max-width:767px){.input-container-BUCgUS88{margin-bottom:24px}}.tv-tabs{-webkit-tap-highlight-color:transparent;display:flex;height:53px;line-height:53px;overflow:hidden;padding:0 16px;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.tv-tabs:before{background-color:#e0e3eb;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;right:0}html.theme-dark .tv-tabs:before{background-color:#363a45}.tv-tabs::-webkit-scrollbar{display:none}.tv-tabs.i-loaded{padding:0}.tv-tabs--category-content{padding:0 6px}.tv-tabs__scroll-wrap{-webkit-overflow-scrolling:touch;display:block;height:100%;overflow-x:scroll;overflow-y:hidden;padding-bottom:100px;position:relative;-webkit-transform:translateZ(0);white-space:nowrap;width:100%}.tv-tabs__scroll-box{display:flex;position:relative}.tv-tabs.i-loaded .tv-tabs__scroll-box{padding:0 16px}.tv-tabs__additional-info{color:#b2b5be;transition:inherit}.tv-tabs__tab{-webkit-tap-highlight-color:transparent;box-sizing:border-box;color:#131722;cursor:pointer;display:block;font-size:14px;height:53px;line-height:53px;margin:0;padding:0 16px;position:relative;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tv-tabs__tab{color:#d1d4dc}.tv-tabs__tab:active{transition-duration:.06s}@media (any-hover:hover){.tv-tabs__tab:hover{transition-duration:.06s}}.tv-tabs__tab.i-active,.tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){.tv-tabs__tab:hover{color:#2962ff}}html.theme-dark .tv-tabs__tab.i-active,html.theme-dark .tv-tabs__tab:active{color:#2962ff}@media (any-hover:hover){html.theme-dark .tv-tabs__tab:hover{color:#2962ff}}.tv-tabs__tab.i-disabled,.tv-tabs__tab:disabled,.tv-tabs__tab[disabled]{color:#e0e3eb;cursor:default}html.theme-dark .tv-tabs__tab.i-disabled,html.theme-dark .tv-tabs__tab:disabled,html.theme-dark .tv-tabs__tab[disabled]{color:#363a45}.tv-tabs__tab--no-padding{padding:0}.tv-tabs__tab--right-shifter{margin-right:auto}.tv-tabs__tab--icon-tab{padding:0}.tv-tabs--category-header{height:46px}.tv-tabs--category-header .tv-tabs__tab{color:#131722;font-size:18px;height:46px;line-height:46px;padding-left:24px;padding-right:24px}@media (any-hover:hover){.tv-tabs--category-header .tv-tabs__tab:hover,.tv-tabs--category-header .tv-tabs__tab:hover .tv-tabs__additional-info{color:#1e53e5}}.tv-tabs--category-header .tv-tabs__tab.i-active{cursor:default}.tv-tabs--category-header .tv-tabs__tab.i-active,.tv-tabs--category-header .tv-tabs__tab.i-active .tv-tabs__additional-info{color:#2962ff}.tv-tabs__slider,.tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0;display:block;height:3px;pointer-events:none;position:absolute}html.theme-dark .tv-tabs__slider,html.theme-dark .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--compact,.tv-tabs--compact .tv-tabs__scroll-box,.tv-tabs--compact .tv-tabs__tab{height:23px}.tv-tabs--compact .tv-tabs__tab{font-size:13px;line-height:23px}.tv-tabs--semi-compact,.tv-tabs--semi-compact .tv-tabs__scroll-box,.tv-tabs--semi-compact .tv-tabs__tab{height:38px}.tv-tabs--semi-compact .tv-tabs__tab{line-height:38px}.tv-tabs--category-header.i-loaded,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--compact,.tv-tabs--compact.i-loaded .tv-tabs__scroll-box,.tv-tabs--semi-compact,.tv-tabs--semi-compact.i-loaded .tv-tabs__scroll-box{padding-left:0;padding-right:0}.tv-tabs--category-header,.tv-tabs--category-header.i-loaded .tv-tabs__scroll-box,.tv-tabs--category-header .tv-tabs__scroll-box{padding-left:20px;padding-right:20px}.tv-tabs--category-header:before,.tv-tabs--compact:before,.tv-tabs--semi-compact:before{bottom:0}.tv-tabs--compact .tv-tabs__tab:first-child,.tv-tabs--semi-compact .tv-tabs__tab:first-child{margin-right:-16px}.tv-tabs--compact .tv-tabs__tab:last-child,.tv-tabs--semi-compact .tv-tabs__tab:last-child{margin-left:-16px}.tv-tabs--category-header .tv-tabs__tab:first-child{margin-right:-24px}.tv-tabs--category-header .tv-tabs__tab:last-child{margin-left:-24px}.page-wide .tv-tabs--category-header .tv-tabs__tab{padding-left:32px;padding-right:32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:first-child{margin-right:-32px}.page-wide .tv-tabs--category-header .tv-tabs__tab:last-child{margin-left:-32px}.tv-tabs--compact .tv-tabs__tab.i-hidden:first-child+.tv-tabs__tab{margin-right:-16px}.tv-tabs--compact .tv-tabs__slider,.tv-tabs--compact .tv-tabs__tab.i-active:after{bottom:0;height:1px}@media screen and (max-width:767px){.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:first-child{margin-right:0;padding-right:0}.tv-tabs--with-wrap-padding-mobile .tv-tabs__tab:nth-last-child(2){margin-left:0;padding-left:0}}.tv-tabs--no-margin .tv-tabs__tab:first-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:first-child{margin-right:0}.tv-tabs--no-margin .tv-tabs__tab:last-child,.tv-tabs--semi-compact.tv-tabs--no-margin .tv-tabs__tab:last-child{margin-left:0}.tv-tabs--secondary-active .tv-tabs__wrap{align-items:center;background-color:#f0f3fa;border-radius:25px;display:flex;height:23px;padding:0 14px}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap{background-color:#2a2e39}@media (any-hover:hover){.tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#e0e3eb}html.theme-dark .tv-tabs--secondary-active .tv-tabs__wrap:hover{background-color:#363a45}}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__wrap{height:26px;padding:0 12px}.tv-tabs--secondary-active.tv-tabs--semi-compact{padding:0 14px}.tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#131722;padding:2px}html.theme-dark .tv-tabs--secondary-active.tv-tabs--semi-compact .tv-tabs__tab{color:#b2b5be}.tv-tabs--secondary-active .tv-tabs__tab{align-items:center;display:flex;font-size:13px;padding:0 6px}.tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#2962ff;color:#fff}html.theme-dark .tv-tabs--secondary-active .tv-tabs__tab.i-active .tv-tabs__wrap{background-color:#1848cc;color:#fff}.tv-tabs--no-border:before{display:none}.tv-tabs--no-padding,.tv-tabs--no-padding.i-loaded .tv-tabs__scroll-box{padding:0}.tv-tabs--no-padding .tv-tabs__tab{padding:0 16px}.tv-tabs--no-padding .tv-tabs__tab.tv-tabs__tab--no-padding{padding:0}.tv-tabs.i-loaded .tv-tabs__tab.i-active:after{content:none;display:none}.tv-tabs__left-arrow,.tv-tabs__right-arrow{align-items:center;background-color:#fff;bottom:0;box-sizing:initial;cursor:pointer;direction:ltr;display:flex;padding:0 5px;position:absolute;top:0;-webkit-user-select:none;user-select:none;width:36px}.tv-tabs__left-arrow:after,.tv-tabs__right-arrow:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-tabs__left-arrow svg,.tv-tabs__right-arrow svg{display:inline-block;height:12px;transform:scale(1);transition:fill .35s ease;vertical-align:middle;width:12px}@media (any-hover:hover){.tv-tabs__left-arrow:hover svg,.tv-tabs__right-arrow:hover svg{fill:#4f5966;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:hover svg,html.theme-dark .tv-tabs__right-arrow:hover svg{fill:#c5cbce}}.tv-tabs__left-arrow:active svg,.tv-tabs__right-arrow:active svg{fill:#271d2b;transition-duration:.06s}html.theme-dark .tv-tabs__left-arrow:active svg,html.theme-dark .tv-tabs__right-arrow:active svg{fill:#9db2bd}.tv-tabs__right-arrow{justify-content:flex-end}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{bottom:3px;margin-top:-1px}.tv-tabs--category-header .tv-tabs__left-arrow svg,.tv-tabs--category-header .tv-tabs__right-arrow svg{vertical-align:top}.tv-tabs__left-arrow{background:linear-gradient(90deg,#fff,#ffffffd9,#fff0);left:0;text-align:left;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__left-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__left-arrow.i-slided{transform:translateX(-100%)}.tv-tabs__right-arrow{background:linear-gradient(270deg,#fff,#ffffffd9,#fff0);right:0;text-align:right;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-tabs__right-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs__right-arrow.i-slided{transform:translateX(100%)}.tv-tabs--compact .tv-tabs__left-arrow,.tv-tabs--compact .tv-tabs__right-arrow{width:23px}.tv-tabs--semi-compact .tv-tabs__left-arrow,.tv-tabs--semi-compact .tv-tabs__right-arrow{width:34px}.tv-tabs--category-header .tv-tabs__left-arrow,.tv-tabs--category-header .tv-tabs__right-arrow{width:45px}.tv-tabs--searchbar:before{display:none}.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:80px}@media screen and (max-width:1019px){.tv-tabs--searchbar,.tv-tabs--searchbar .tv-tabs__scroll-box{height:54px}}.tv-tabs--searchbar .tv-tabs__slider,.tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff;bottom:0}html.theme-dark .tv-tabs--searchbar .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar .tv-tabs__tab.i-active:after{background-color:#fff}.tv-tabs--searchbar-profile .tv-tabs__slider,.tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff;bottom:0}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__slider,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__tab.i-active:after{background-color:#2962ff}.tv-tabs--searchbar .tv-tabs__left-arrow svg,.tv-tabs--searchbar .tv-tabs__right-arrow svg{fill:#fff;opacity:.65}.tv-tabs--searchbar .tv-tabs__left-arrow:active svg,.tv-tabs--searchbar .tv-tabs__right-arrow:active svg{fill:#fff;opacity:1}@media (any-hover:hover){.tv-tabs--searchbar .tv-tabs__left-arrow:hover svg,.tv-tabs--searchbar .tv-tabs__right-arrow:hover svg{fill:#fff;opacity:1}}.tv-tabs--searchbar .tv-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar .tv-tabs__right-arrow,html.theme-dark .tv-tabs--searchbar .tv-tabs__left-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}html.theme-dark .tv-tabs--searchbar .tv-tabs__right-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-tabs--searchbar_sub,.tv-tabs--searchbar_sub .tv-tabs__scroll-box{height:40px;line-height:40px}.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#265aeb 0,#265aeb 15%,#265aeb00)}html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(270deg,#265aeb 0,#265aeb 15%,#265aeb00)}.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#265aeb00 0,#265aeb 85%,#265aeb)}html.theme-dark .tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(270deg,#265aeb00 0,#265aeb 85%,#265aeb)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(90deg,#fff 0,#fff 45%,#fff0)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow{background:linear-gradient(270deg,#1e222d 0,#1e222d 45%,#1e222d00)}.tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(90deg,#fff0 0,#fff 55%,#fff)}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{background:linear-gradient(270deg,#1e222d00 0,#1e222d 55%,#1e222d)}.tv-tabs--searchbar-profile .tv-tabs__left-arrow,.tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#434651}html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__left-arrow,html.theme-dark .tv-tabs--searchbar-profile .tv-tabs__right-arrow{color:#d1d4dc}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(90deg,#f0f3fa 0,#f0f3fa 45%,#f0f3fa00)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__left-arrow{background:linear-gradient(270deg,#2a2e39 0,#2a2e39 45%,#2a2e3900)}.tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(90deg,#f0f3fa00 0,#f0f3fa 55%,#f0f3fa)}html.theme-dark .tv-tabs--searchbar-profile.tv-tabs--searchbar_sub .tv-tabs__right-arrow{background:linear-gradient(270deg,#2a2e3900 0,#2a2e39 55%,#2a2e39)}.tv-signin-dialog-tabs{-webkit-tap-highlight-color:transparent;display:flex;height:53px;height:63px;line-height:53px;overflow:hidden;overflow:visible;padding:0 16px;position:relative;text-align:center;-webkit-user-select:none;user-select:none;white-space:nowrap}.tv-signin-dialog-tabs:before{background-color:#e0e3eb;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;right:0}html.theme-dark .tv-signin-dialog-tabs:before{background-color:#363a45}.tv-signin-dialog-tabs::-webkit-scrollbar{display:none}.tv-signin-dialog-tabs.i-loaded{padding:0}.tv-signin-dialog-tabs--category-content{padding:0 6px}.tv-signin-dialog-tabs__scroll-wrap{-webkit-overflow-scrolling:touch;display:block;height:100%;overflow-x:scroll;overflow-y:hidden;padding-bottom:100px;position:relative;-webkit-transform:translateZ(0);white-space:nowrap;width:100%}.tv-signin-dialog-tabs__scroll-box{display:flex;position:relative}.tv-signin-dialog-tabs.i-loaded .tv-signin-dialog-tabs__scroll-box{padding:0 16px}.tv-signin-dialog-tabs__additional-info{color:#b2b5be;transition:inherit}.tv-signin-dialog-tabs__tab{-webkit-tap-highlight-color:transparent;box-sizing:border-box;cursor:pointer;display:block;font-size:14px;height:53px;line-height:53px;margin:0;padding:0 16px;position:relative;transition:color .35s ease;-webkit-user-select:none;user-select:none}.tv-signin-dialog-tabs__tab:active{transition-duration:.06s}@media (any-hover:hover){.tv-signin-dialog-tabs__tab:hover{transition-duration:.06s}}.tv-signin-dialog-tabs__tab.i-disabled,.tv-signin-dialog-tabs__tab:disabled,.tv-signin-dialog-tabs__tab[disabled]{color:#e0e3eb;cursor:default}html.theme-dark .tv-signin-dialog-tabs__tab.i-disabled,html.theme-dark .tv-signin-dialog-tabs__tab:disabled,html.theme-dark .tv-signin-dialog-tabs__tab[disabled]{color:#363a45}.tv-signin-dialog-tabs__tab--no-padding{padding:0}.tv-signin-dialog-tabs__tab--right-shifter{margin-right:auto}.tv-signin-dialog-tabs__tab--icon-tab{padding:0}.tv-signin-dialog-tabs--category-header{height:46px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab{color:#131722;font-size:18px;height:46px;line-height:46px;padding-left:24px;padding-right:24px}@media (any-hover:hover){.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:hover,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:hover .tv-tabs__additional-info{color:#1e53e5}}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab.i-active{cursor:default}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab.i-active,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab.i-active .tv-tabs__additional-info{color:#2962ff}.tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff;bottom:0;display:block;height:3px;pointer-events:none;position:absolute}html.theme-dark .tv-signin-dialog-tabs__slider,html.theme-dark .tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff}.tv-signin-dialog-tabs--compact,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab{height:23px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab{font-size:13px;line-height:23px}.tv-signin-dialog-tabs--semi-compact,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{height:38px}.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{line-height:38px}.tv-signin-dialog-tabs--category-header.i-loaded,.tv-signin-dialog-tabs--category-header.i-loaded .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--compact,.tv-signin-dialog-tabs--compact.i-loaded .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--semi-compact,.tv-signin-dialog-tabs--semi-compact.i-loaded .tv-signin-dialog-tabs__scroll-box{padding-left:0;padding-right:0}.tv-signin-dialog-tabs--category-header,.tv-signin-dialog-tabs--category-header.i-loaded .tv-signin-dialog-tabs__scroll-box,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__scroll-box{padding-left:20px;padding-right:20px}.tv-signin-dialog-tabs--category-header:before,.tv-signin-dialog-tabs--compact:before,.tv-signin-dialog-tabs--semi-compact:before{bottom:0}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab:first-child,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab:first-child{margin-right:-16px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab:last-child,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab:last-child{margin-left:-16px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:first-child{margin-right:-24px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:last-child{margin-left:-24px}.page-wide .tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab{padding-left:32px;padding-right:32px}.page-wide .tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:first-child{margin-right:-32px}.page-wide .tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__tab:last-child{margin-left:-32px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab.i-hidden:first-child+.tv-signin-dialog-tabs__tab{margin-right:-16px}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__tab.i-active:after{bottom:0;height:1px}@media screen and (max-width:767px){.tv-signin-dialog-tabs--with-wrap-padding-mobile .tv-signin-dialog-tabs__tab:first-child{margin-right:0;padding-right:0}.tv-signin-dialog-tabs--with-wrap-padding-mobile .tv-signin-dialog-tabs__tab:nth-last-child(2){margin-left:0;padding-left:0}}.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:first-child,.tv-signin-dialog-tabs--semi-compact.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:first-child{margin-right:0}.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:last-child,.tv-signin-dialog-tabs--semi-compact.tv-signin-dialog-tabs--no-margin .tv-signin-dialog-tabs__tab:last-child{margin-left:0}.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap{align-items:center;background-color:#f0f3fa;border-radius:25px;display:flex;height:23px;padding:0 14px}html.theme-dark .tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap{background-color:#2a2e39}@media (any-hover:hover){.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap:hover{background-color:#e0e3eb}html.theme-dark .tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__wrap:hover{background-color:#363a45}}.tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__wrap{height:26px;padding:0 12px}.tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact{padding:0 14px}.tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{color:#131722;padding:2px}html.theme-dark .tv-signin-dialog-tabs--secondary-active.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__tab{color:#b2b5be}.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__tab{align-items:center;display:flex;font-size:13px;padding:0 6px}.tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__tab.i-active .tv-signin-dialog-tabs__wrap{background-color:#2962ff;color:#fff}html.theme-dark .tv-signin-dialog-tabs--secondary-active .tv-signin-dialog-tabs__tab.i-active .tv-signin-dialog-tabs__wrap{background-color:#1848cc;color:#fff}.tv-signin-dialog-tabs--no-border:before{display:none}.tv-signin-dialog-tabs--no-padding,.tv-signin-dialog-tabs--no-padding.i-loaded .tv-signin-dialog-tabs__scroll-box{padding:0}.tv-signin-dialog-tabs--no-padding .tv-signin-dialog-tabs__tab{padding:0 16px}.tv-signin-dialog-tabs--no-padding .tv-signin-dialog-tabs__tab.tv-signin-dialog-tabs__tab--no-padding{padding:0}.tv-signin-dialog-tabs.i-loaded .tv-signin-dialog-tabs__tab.i-active:after{content:none;display:none}.tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs__right-arrow{align-items:center;background-color:#fff;bottom:0;box-sizing:initial;cursor:pointer;direction:ltr;display:flex;padding:0 5px;position:absolute;top:0;-webkit-user-select:none;user-select:none;width:36px}.tv-signin-dialog-tabs__left-arrow:after,.tv-signin-dialog-tabs__right-arrow:after{content:"";display:inline-block;height:100%;vertical-align:middle}.tv-signin-dialog-tabs__left-arrow svg,.tv-signin-dialog-tabs__right-arrow svg{display:inline-block;height:12px;transform:scale(1);transition:fill .35s ease;vertical-align:middle;width:12px}@media (any-hover:hover){.tv-signin-dialog-tabs__left-arrow:hover svg,.tv-signin-dialog-tabs__right-arrow:hover svg{fill:#4f5966;transition-duration:.06s}html.theme-dark .tv-signin-dialog-tabs__left-arrow:hover svg,html.theme-dark .tv-signin-dialog-tabs__right-arrow:hover svg{fill:#c5cbce}}.tv-signin-dialog-tabs__left-arrow:active svg,.tv-signin-dialog-tabs__right-arrow:active svg{fill:#271d2b;transition-duration:.06s}html.theme-dark .tv-signin-dialog-tabs__left-arrow:active svg,html.theme-dark .tv-signin-dialog-tabs__right-arrow:active svg{fill:#9db2bd}.tv-signin-dialog-tabs__right-arrow{justify-content:flex-end}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__right-arrow{bottom:3px;margin-top:-1px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__left-arrow svg,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__right-arrow svg{vertical-align:top}.tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#fff,#ffffffd9,#fff0);left:0;text-align:left;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs__left-arrow.i-slided{transform:translateX(-100%)}.tv-signin-dialog-tabs__right-arrow{background:linear-gradient(270deg,#fff,#ffffffd9,#fff0);right:0;text-align:right;transform:translateX(0);transition:transform ease-in-out;transition-duration:.17s}html.theme-dark .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs__right-arrow.i-slided{transform:translateX(100%)}.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--compact .tv-signin-dialog-tabs__right-arrow{width:23px}.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--semi-compact .tv-signin-dialog-tabs__right-arrow{width:34px}.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--category-header .tv-signin-dialog-tabs__right-arrow{width:45px}.tv-signin-dialog-tabs--searchbar:before{display:none}.tv-signin-dialog-tabs--searchbar,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__scroll-box{height:80px}@media screen and (max-width:1019px){.tv-signin-dialog-tabs--searchbar,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__scroll-box{height:54px}}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__tab.i-active:after{background-color:#fff;bottom:0}html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__slider,html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__tab.i-active:after{background-color:#fff}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__slider,.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff;bottom:0}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__slider,html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__tab.i-active:after{background-color:#2962ff}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow svg,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow svg{fill:#fff;opacity:.65}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow:active svg,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow:active svg{fill:#fff;opacity:1}@media (any-hover:hover){.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow:hover svg,.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow:hover svg{fill:#fff;opacity:1}}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow,html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(270deg,#1e222d,#1e222dd9,#1e222d00)}html.theme-dark .tv-signin-dialog-tabs--searchbar .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#1e222d,#1e222dd9,#1e222d00)}.tv-signin-dialog-tabs--searchbar_sub,.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__scroll-box{height:40px;line-height:40px}.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#265aeb 0,#265aeb 15%,#265aeb00)}html.theme-dark .tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(270deg,#265aeb 0,#265aeb 15%,#265aeb00)}.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#265aeb00 0,#265aeb 85%,#265aeb)}html.theme-dark .tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(270deg,#265aeb00 0,#265aeb 85%,#265aeb)}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#fff 0,#fff 45%,#fff0)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(270deg,#1e222d 0,#1e222d 45%,#1e222d00)}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#fff0 0,#fff 55%,#fff)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(270deg,#1e222d00 0,#1e222d 55%,#1e222d)}.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow,.tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{color:#434651}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__left-arrow,html.theme-dark .tv-signin-dialog-tabs--searchbar-profile .tv-signin-dialog-tabs__right-arrow{color:#d1d4dc}.tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(90deg,#f0f3fa 0,#f0f3fa 45%,#f0f3fa00)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__left-arrow{background:linear-gradient(270deg,#2a2e39 0,#2a2e39 45%,#2a2e3900)}.tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(90deg,#f0f3fa00 0,#f0f3fa 55%,#f0f3fa)}html.theme-dark .tv-signin-dialog-tabs--searchbar-profile.tv-signin-dialog-tabs--searchbar_sub .tv-signin-dialog-tabs__right-arrow{background:linear-gradient(270deg,#2a2e3900 0,#2a2e39 55%,#2a2e39)}.tv-signin-dialog-tabs.tv-tabs:before{display:none}.tv-signin-dialog-tabs .tv-tabs__scroll-wrap{overflow-x:visible;overflow-y:visible}.tv-signin-dialog-tabs.i-loaded .tv-signin-dialog-tabs__scroll-box{padding:0}.tv-signin-dialog-tabs .tv-tabs__slider{background-color:#2962ff;bottom:0}html.theme-dark .tv-signin-dialog-tabs .tv-tabs__slider{background-color:#2962ff}.tv-signin-dialog-tabs__tab{color:#131722;font-size:24px;margin:3px auto 0;padding:0;text-transform:uppercase}html.theme-dark .tv-signin-dialog-tabs__tab{color:#d1d4dc}@media screen and (max-width:479px){.tv-signin-dialog-tabs__tab{font-size:20px}}.tv-signin-dialog-tabs__tab.i-active,.tv-signin-dialog-tabs__tab:active{color:#2962ff}@media (any-hover:hover){.tv-signin-dialog-tabs__tab:hover{color:#2962ff}}html.theme-dark .tv-signin-dialog-tabs__tab.i-active,html.theme-dark .tv-signin-dialog-tabs__tab:active{color:#2962ff}@media (any-hover:hover){html.theme-dark .tv-signin-dialog-tabs__tab:hover{color:#2962ff}}.tv-signin-dialog-tabs__scroll-box{height:63px}.tv-signin-dialog-tabs__wrap{margin-bottom:32px;position:relative}@media screen and (max-width:479px){.tv-signin-dialog-tabs__wrap{margin-bottom:24px}}.tv-signin-dialog-tabs__wrap:before{background-color:#e0e3eb;bottom:1px;content:"";display:block;height:1px;left:-3000px;left:-50vw;position:absolute;right:-3000px;right:-50vw;transition:right .35s cubic-bezier(.215,.61,.355,1) .175s,left .35s cubic-bezier(.215,.61,.355,1) .175s}html.theme-dark .tv-signin-dialog-tabs__wrap:before{background-color:#434651}.i-closed .tv-signin-dialog-tabs__wrap:before{left:0;right:0;transition-delay:.35s}.tv-signin-dialog{color:#131722}html.theme-dark .tv-signin-dialog{color:#d1d4dc}.tv-signin-dialog__title{font-size:24px;margin-bottom:60px;text-align:center}.tv-signin-dialog__title--withtext{color:#131722;margin-bottom:32px;max-width:calc(100% - 35px)}html.theme-dark .tv-signin-dialog__title--withtext{color:#d1d4dc}.tv-signin-dialog__title--logo{font-size:36px;padding-left:10px}.tv-signin-dialog__title--logo svg{display:inline-block;height:38.17px;margin-left:20px;vertical-align:initial;width:66px}.tv-signin-dialog__title--logo div{display:inline-block;vertical-align:text-top}.tv-signin-dialog__title--resend{line-height:1.6;margin-bottom:10px;margin-top:100px}.tv-signin-dialog__text{color:#131722;line-height:1.43;margin-bottom:32px}html.theme-dark .tv-signin-dialog__text{color:#d1d4dc}.tv-signin-dialog__text--description{color:#758696;margin:0}.tv-signin-dialog__text--link{color:#2962ff;cursor:pointer;display:inline-block;font-size:14px;margin:0;transition:color .35s ease}html.theme-dark .tv-signin-dialog__text--link{color:#2962ff}.tv-signin-dialog__text--link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__text--link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__text--link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--link:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__text--link:focus{outline:auto}.tv-signin-dialog__text--link:focus:not(:-moz-focusring){outline:none}.tv-signin-dialog__text--link:-moz-focusring{outline:auto}.tv-signin-dialog__text--link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--link:active{fill:#1848cc;color:#1848cc}.tv-signin-dialog__text--social-text{color:#131722;display:block;line-height:1.43;margin:24px 0 12px;text-align:right;width:100%}html.theme-dark .tv-signin-dialog__text--social-text{color:#d1d4dc}.tv-signin-dialog__text--text-retry{color:#2962ff;cursor:pointer;display:block;font-size:17px;margin-top:20px;text-align:center;transition:color .35s ease}html.theme-dark .tv-signin-dialog__text--text-retry{color:#2962ff}.tv-signin-dialog__text--text-retry:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__text--text-retry:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__text--text-retry:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--text-retry:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__text--text-retry:focus{outline:auto}.tv-signin-dialog__text--text-retry:focus:not(:-moz-focusring){outline:none}.tv-signin-dialog__text--text-retry:-moz-focusring{outline:auto}.tv-signin-dialog__text--text-retry:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-signin-dialog__text--text-retry:active{fill:#1848cc;color:#1848cc}.tv-signin-dialog__text--text-email{margin-bottom:24px}.tv-signin-dialog__socials{display:flex;flex-wrap:nowrap;justify-content:space-between;margin:20px 0}@media screen and (max-width:479px){.tv-signin-dialog__socials{margin:12px 0}}.tv-signin-dialog__socials--resend{margin-bottom:10px}.tv-signin-dialog__social{align-items:center;background-color:#fff;border:1px solid #e0e3eb;border-radius:4px;color:#131722;cursor:pointer;display:flex;flex-grow:1;height:40px;justify-content:center;position:relative;transition:background-color .35s ease}html.theme-dark .tv-signin-dialog__social{background-color:#131722;border:1px solid #434651;color:#d1d4dc}@media (any-hover:hover){.tv-signin-dialog__social:hover{background-color:#f0f3fa}html.theme-dark .tv-signin-dialog__social:hover{background-color:#2a2e39}}.tv-signin-dialog__social:active{background-color:#e0e3eb}html.theme-dark .tv-signin-dialog__social:active{background-color:#1e222d}.tv-signin-dialog__social:after{content:"";display:block;padding-bottom:100%}.tv-signin-dialog__social--big{background-color:#fff;font-size:16px;line-height:24px;width:160px}html.theme-dark .tv-signin-dialog__social--big{background-color:#131722}.tv-signin-dialog__social--big svg{margin-left:6px}@media (any-hover:hover){.tv-signin-dialog__social--big:hover{background-color:#f0f3fa}html.theme-dark .tv-signin-dialog__social--big:hover{background-color:#2a2e39}}.tv-signin-dialog__social--big:active{background-color:#e0e3eb}html.theme-dark .tv-signin-dialog__social--big:active{background-color:#1e222d}.tv-signin-dialog__social--apple{color:#131722}@media (any-hover:hover){.tv-signin-dialog__social--apple:hover{color:#131722}}html.theme-dark .tv-signin-dialog__social--apple{color:#fff}@media (any-hover:hover){html.theme-dark .tv-signin-dialog__social--apple:hover{color:#fff}}.tv-signin-dialog .tv-social__title{padding-top:1px}.tv-signin-dialog__social:not(:last-child){margin-left:20px}@media screen and (max-width:479px){.tv-signin-dialog__social:not(:last-child){margin-left:12px}}.tv-signin-dialog__input.tv-signin-dialog__input{background-color:initial!important;border-color:#e0e3eb;color:#131722;font-size:16px;height:44px;margin:12px 0;padding:12px 0}html.theme-dark .tv-signin-dialog__input.tv-signin-dialog__input{border-color:#434651;color:#d1d4dc}.tv-signin-dialog__input--forgot{margin-bottom:24px}.tv-signin-dialog__input.tv-signin-dialog__input:-webkit-autofill{-webkit-text-fill-color:#131722!important;box-shadow:inset 0 0 0 1000px #fff!important;caret-color:#131722!important}html.theme-dark .tv-signin-dialog__input.tv-signin-dialog__input:-webkit-autofill{-webkit-text-fill-color:#d1d4dc!important;box-shadow:inset 0 0 0 1000px #131722!important;caret-color:#d1d4dc!important}@media (any-hover:hover){.tv-signin-dialog__input:hover,html.theme-dark .tv-signin-dialog__input:hover{border-color:#2962ff}}.tv-signin-dialog__input.tv-signin-dialog__input:focus,html.theme-dark .tv-signin-dialog__input.tv-signin-dialog__input:focus{border-color:#2962ff}.tv-signin-dialog__recaptcha{height:78px;margin-bottom:24px}.tv-signin-dialog__recaptcha>*{margin:0 auto}.tv-signin-dialog .tv-control-material-input__label{bottom:14px;color:#787b86;font-size:14px;top:auto;transform-origin:100% 0}html.theme-dark .tv-signin-dialog .tv-control-material-input__label{color:#787b86}.tv-signin-dialog .tv-control-material-input__label.i-up{transform:translateY(-24px) scale(.85)}.tv-signin-dialog__separator{margin-bottom:34px;padding-top:6px;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.tv-signin-dialog__separator:before{background-color:#e0e3eb;content:"";display:block;height:1px;left:0;position:absolute;right:0;top:15px}html.theme-dark .tv-signin-dialog__separator:before{background-color:#434651}.tv-signin-dialog__separator-text{background-color:#fff;border-radius:50%;color:#787b86;display:inline-block;padding:0 15px;position:relative}html.theme-dark .tv-signin-dialog__separator-text{background-color:#131722;color:#787b86}.tv-signin-dialog__toggle-email svg{margin-left:6px}.tv-signin-dialog__cancel{color:#2962ff;cursor:pointer;display:flex;font-size:17px;justify-content:center;line-height:48px;margin-top:30px;padding:0 20px}.tv-signin-dialog .tv-control-checkbox__box:before{background-color:#fff}html.theme-dark .tv-signin-dialog .tv-control-checkbox__box:before{background-color:#131722}.tv-signin-dialog .tv-control-checkbox__label{color:#131722;margin-right:4px}html.theme-dark .tv-signin-dialog .tv-control-checkbox__label{color:#d1d4dc}.tv-signin-dialog__gdpr,.tv-signin-dialog__marketing-emails{display:block;margin:20px 0 24px}.tv-signin-dialog__gdpr a,.tv-signin-dialog__marketing-emails a{color:#2962ff;transition:color .35s ease}html.theme-dark .tv-signin-dialog__gdpr a,html.theme-dark .tv-signin-dialog__marketing-emails a{color:#2962ff}.tv-signin-dialog__gdpr a:visited,.tv-signin-dialog__marketing-emails a:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__gdpr a:visited,html.theme-dark .tv-signin-dialog__marketing-emails a:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__gdpr a:hover,.tv-signin-dialog__marketing-emails a:hover{fill:#1e53e5;color:#1e53e5;transition-duration:60ms}html.theme-dark .tv-signin-dialog__gdpr a:hover,html.theme-dark .tv-signin-dialog__marketing-emails a:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__gdpr a:focus,.tv-signin-dialog__marketing-emails a:focus{outline:auto}.tv-signin-dialog__gdpr a:focus-visible,.tv-signin-dialog__marketing-emails a:focus-visible{outline:auto}.tv-signin-dialog__gdpr a:focus:not(:focus-visible),.tv-signin-dialog__marketing-emails a:focus:not(:focus-visible){outline:none}.tv-signin-dialog__gdpr a:active,.tv-signin-dialog__marketing-emails a:active{fill:#2962ff;color:#2962ff;transition-duration:60ms}html.theme-dark .tv-signin-dialog__gdpr a:active,html.theme-dark .tv-signin-dialog__marketing-emails a:active{fill:#2962ff;color:#2962ff}.tv-signin-dialog__gdpr-checkbox.tv-control-checkbox,.tv-signin-dialog__marketing-emails-checkbox.tv-control-checkbox{vertical-align:top}.tv-signin-dialog__gdpr-text,.tv-signin-dialog__marketing-emails-text{color:#131722;font-size:14px;line-height:1.43}html.theme-dark .tv-signin-dialog__gdpr-text,html.theme-dark .tv-signin-dialog__marketing-emails-text{color:#d1d4dc}.tv-signin-dialog__footer{display:table;padding-bottom:1px;width:100%}.tv-signin-dialog__footer--login{margin:40px 0 0}.tv-signin-dialog__footer-item{display:table-cell;vertical-align:middle}.tv-signin-dialog__footer-item--login{padding-right:5px;text-align:left}.tv-signin-dialog__footer-item--activate-continue{text-align:center}.tv-signin-dialog__close{cursor:pointer;left:0;opacity:.5;padding:32px;position:absolute;top:0;transition:opacity .35s ease}@media screen and (max-width:1019px){.tv-signin-dialog__close{padding:30px}}@media screen and (max-width:767px){.tv-signin-dialog__close{padding:20px}}.tv-signin-dialog__close .i-opening{opacity:0}.tv-signin-dialog__close svg{color:#131722;display:block;height:25px;width:25px}html.theme-dark .tv-signin-dialog__close svg{color:#d1d4dc}@media screen and (max-width:767px){.tv-signin-dialog__close svg{height:15px;width:15px}}.tv-signin-dialog__close:active{opacity:1;transition-duration:.06s}@media (any-hover:hover){.tv-signin-dialog__close:hover{opacity:1;transition-duration:.06s}}.tv-signin-dialog__resend{margin-top:42px}.tv-signin-dialog__activation-link:active{transform:translateY(1px)}.tv-signin-dialog__dropzone{cursor:pointer;display:block;position:relative}.tv-signin-dialog__dropzone-wrap{border:1px dashed #4e5866;height:160px;margin:0 auto 40px;position:relative;-webkit-user-select:none;user-select:none;width:160px}.tv-signin-dialog__dropzone,.tv-signin-dialog__dropzone-img,.tv-signin-dialog__dropzone-preview,.tv-signin-dialog__dropzone-text{bottom:0;height:160px;left:0;position:absolute;right:0;top:0;width:160px}.tv-signin-dialog__dropzone-img{display:block;height:160px;width:160px}.tv-signin-dialog__dropzone-text{cursor:default;line-height:160px;text-align:center;transition:background-color .35s ease,opacity .35s ease;vertical-align:middle}@media (any-hover:hover){.tv-signin-dialog__dropzone-wrap:hover .tv-signin-dialog__dropzone-text{background-color:hsla(0,0%,100%,.075);transition-duration:.06s}}.tv-signin-dialog__dropzone-wrap.i-with-preview .tv-signin-dialog__dropzone-text{opacity:0}@media (any-hover:hover){.tv-signin-dialog__dropzone-wrap.i-with-preview:hover .tv-signin-dialog__dropzone-text{background-color:#2a2c3980;opacity:1}}.tv-signin-dialog__dropzone-wrap.i-processing .tv-signin-dialog__dropzone-text{opacity:0}@media (any-hover:hover){.tv-signin-dialog__dropzone-wrap.i-processing:hover .tv-signin-dialog__dropzone-text{opacity:0}}.tv-signin-dialog__label{color:#131722;text-align:right;white-space:nowrap}html.theme-dark .tv-signin-dialog__label{color:#d1d4dc}.tv-signin-dialog__label--reset-method{color:#131722}html.theme-dark .tv-signin-dialog__label--reset-method{color:#d1d4dc}@media screen and (max-width:479px){.tv-signin-dialog__label{white-space:normal}}.tv-signin-dialog__radio-wrap{display:inline-block;margin-bottom:18px;margin-right:-4px;text-align:right;width:100%}.tv-signin-dialog__radio-wrap:last-child{margin-bottom:32px}.tv-signin-dialog__reset-password-form{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.tv-signin-dialog__reset-password-form--link{color:#2962ff;cursor:pointer;display:inline-block;font-size:14px;margin-top:14px;transition:color .35s ease}html.theme-dark .tv-signin-dialog__reset-password-form--link{color:#2962ff}.tv-signin-dialog__reset-password-form--link:visited{fill:#2962ff;color:#2962ff}html.theme-dark .tv-signin-dialog__reset-password-form--link:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.tv-signin-dialog__reset-password-form--link:hover{fill:#1e53e5;color:#1e53e5;transition-duration:.06s}html.theme-dark .tv-signin-dialog__reset-password-form--link:hover{fill:#1e53e5;color:#1e53e5}}.tv-signin-dialog__reset-password-form--link:focus{outline:auto}.tv-signin-dialog__reset-password-form--link:focus:not(:-moz-focusring){outline:none}.tv-signin-dialog__reset-password-form--link:-moz-focusring{outline:auto}.tv-signin-dialog__reset-password-form--link:active{fill:#1848cc;color:#1848cc;transition-duration:.06s}html.theme-dark .tv-signin-dialog__reset-password-form--link:active{fill:#1848cc;color:#1848cc} \ No newline at end of file diff --git a/charting_library/bundles/9593.734c4bb23892ab13dac8.css b/charting_library/bundles/9593.734c4bb23892ab13dac8.css new file mode 100644 index 00000000..31bdf234 --- /dev/null +++ b/charting_library/bundles/9593.734c4bb23892ab13dac8.css @@ -0,0 +1 @@ +.tv-control-select__wrap{display:block;min-width:40px;position:relative;-webkit-user-select:none;user-select:none}.tv-control-select__wrap--readonly{border-color:#b4b4b4;color:#b4b4b4;cursor:text;-webkit-user-select:text;user-select:text}.tv-control-select__control,select.tv-control-select{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;color:#535353;cursor:pointer;display:block;font-size:13px;height:34px;line-height:34px;padding:0 12px;position:relative;transition:border-color .35s ease,background-color .35s ease;transition:color .35s ease;white-space:nowrap;width:100%}html.theme-dark .tv-control-select__control,html.theme-dark select.tv-control-select{background-color:#1e222d;border-color:#363a45;color:#c5cbce;color:#d1d4dc}.tv-control-select__control::placeholder,select.tv-control-select::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-select__control::placeholder,html.theme-dark select.tv-control-select::placeholder{color:#50535e}.tv-control-select__control:-webkit-autofill,select.tv-control-select:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-select__control--size_xsmall,select.tv-control-select--size_xsmall{height:19px}.tv-control-select__control--size_small,select.tv-control-select--size_small{height:27px}.tv-control-select__control--size_large,select.tv-control-select--size_large{font-size:16px;height:48px}.tv-control-select__control--connect,select.tv-control-select--connect{border-left:0;border-radius:0;border-right:0}.tv-control-select__control--connect_left,select.tv-control-select--connect_left{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-select__control--connect_right,select.tv-control-select--connect_right{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}@media (any-hover:hover){.tv-control-select__control:hover,select.tv-control-select:hover{border-color:#c1c4cd;transition-duration:.06s}}.tv-control-select__control:focus,select.tv-control-select:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-select__control[readonly],select.tv-control-select[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-select__control[readonly]:focus,select.tv-control-select[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-select__control[readonly]:hover,select.tv-control-select[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-select__control[readonly]:focus,html.theme-dark select.tv-control-select[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-select__control[readonly]:hover,html.theme-dark select.tv-control-select[readonly]:hover{border-color:#2a2e39!important}}.tv-control-select__control--readonly_dark,.tv-control-select__control--readonly_dark[readonly],html.theme-dark .tv-control-select__control--readonly_dark,html.theme-dark .tv-control-select__control--readonly_dark[readonly],html.theme-dark select.tv-control-select--readonly_dark,html.theme-dark select.tv-control-select--readonly_dark[readonly],select.tv-control-select--readonly_dark,select.tv-control-select--readonly_dark[readonly]{color:#50535e}.tv-control-select__control.i-disabled,.tv-control-select__control[disabled],select.tv-control-select.i-disabled,select.tv-control-select[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-select__control.i-disabled,html.theme-dark .tv-control-select__control[disabled],html.theme-dark select.tv-control-select.i-disabled,html.theme-dark select.tv-control-select[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-select__control.i-disabled::placeholder,.tv-control-select__control[disabled]::placeholder,select.tv-control-select.i-disabled::placeholder,select.tv-control-select[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-select__control.i-disabled::placeholder,html.theme-dark .tv-control-select__control[disabled]::placeholder,html.theme-dark select.tv-control-select.i-disabled::placeholder,html.theme-dark select.tv-control-select[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-select__control.i-disabled:hover,.tv-control-select__control[disabled]:hover,select.tv-control-select.i-disabled:hover,select.tv-control-select[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-select__control.i-disabled:hover,html.theme-dark .tv-control-select__control[disabled]:hover,html.theme-dark select.tv-control-select.i-disabled:hover,html.theme-dark select.tv-control-select[disabled]:hover{border-color:#2a2e39!important}}.tv-control-select__control.i-error,select.tv-control-select.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-select__control.i-error:hover,select.tv-control-select.i-error:hover{border-color:#f24965!important}}.tv-control-select__control.i-error:focus,select.tv-control-select.i-error:focus{border-color:#ff173e!important}.tv-control-select__control.i-success,select.tv-control-select.i-success{border-color:#089981!important}html.theme-dark .tv-control-select__control.i-success,html.theme-dark select.tv-control-select.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-select__control.i-success:hover,html.theme-dark .tv-control-select__control.i-success:hover,html.theme-dark select.tv-control-select.i-success:hover,select.tv-control-select.i-success:hover{border-color:#06806b!important}}.tv-control-select__control.i-success:active,.tv-control-select__control.i-success:focus,select.tv-control-select.i-success:active,select.tv-control-select.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-select__control.i-success:active,html.theme-dark .tv-control-select__control.i-success:focus,html.theme-dark select.tv-control-select.i-success:active,html.theme-dark select.tv-control-select.i-success:focus{border-color:#089981!important}.tv-control-select__control--phone,select.tv-control-select--phone{direction:ltr;text-align:left}@media (any-hover:hover){.tv-control-select__control:hover,select.tv-control-select:hover{border-color:#c1c4cd}html.theme-dark .tv-control-select__control:hover,html.theme-dark select.tv-control-select:hover{border-color:#50535e}}.tv-control-select__control.i-disabled,.tv-control-select__control[disabled],select.tv-control-select.i-disabled,select.tv-control-select[disabled]{border-color:#e0e3eb;cursor:default}html.theme-dark .tv-control-select__control.i-disabled,html.theme-dark .tv-control-select__control[disabled],html.theme-dark select.tv-control-select.i-disabled,html.theme-dark select.tv-control-select[disabled]{border-color:#2a2e39}.i-error .tv-control-select__control,.i-error select.tv-control-select{border-color:#ff4a68!important}@media (any-hover:hover){.i-error .tv-control-select__control:hover,.i-error select.tv-control-select:hover{border-color:#f04561!important}}.i-error .tv-control-select__control:focus,.i-error select.tv-control-select:focus{border-color:#ff173e!important}.tv-control-select--size_xsmall .tv-control-select__control{height:19px;line-height:19px}.tv-control-select--size_small .tv-control-select__control{height:27px;line-height:27px}.tv-control-select--size_large .tv-control-select__control{height:48px;line-height:48px}.tv-control-select__control-inner{display:block;margin-right:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-control-select__control-inner--option-disabled{color:#a3a6af}html.theme-dark .tv-control-select__control-inner--option-disabled{color:#50535e}.tv-control-select__control-inner--readonly{border-color:#b4b4b4;color:#b4b4b4;cursor:text;-webkit-user-select:text;user-select:text}.tv-control-select__control-inner:after{content:"\200E"}select.tv-control-select.i-inited{display:none}.tv-control-select__caret{bottom:0;cursor:pointer;position:absolute;right:0;top:0;width:40px}.tv-control-select__caret:after{border-left:4px solid #0000;border-right:4px solid #0000;border-top:4px solid #787b86;content:"";display:block;left:auto;margin-top:-2px;position:absolute;right:15px;top:50%;transition:transform .35s ease,border-color .35s ease}html.theme-dark .tv-control-select__caret:after{border-top-color:#787b86}@media (any-hover:hover){.tv-control-select__wrap:hover .tv-control-select__caret:after{border-color:#434651 #0000 #0000;transition-duration:.06s}html.theme-dark .tv-control-select__wrap:hover .tv-control-select__caret:after{border-color:#d1d4dc #0000 #0000}}.tv-control-select__wrap.i-opened .tv-control-select__caret:after{transform:rotate(-180deg)}@media (any-hover:hover){.tv-control-select__wrap.i-opened:hover .tv-control-select__caret:after,html.theme-dark .tv-control-select__wrap.i-opened:hover .tv-control-select__caret:after{border-color:#787b86 #0000 #0000}.tv-control-select__wrap.i-opened .tv-control-select__caret:hover:after{border-color:#434651 #0000 #0000;transition-duration:.06s}html.theme-dark .tv-control-select__wrap.i-opened .tv-control-select__caret:hover:after{border-color:#d1d4dc #0000 #0000}}.tv-control-select__wrap.i-closing .tv-control-select__caret{z-index:98}.tv-control-select__wrap.i-closing .tv-control-select__caret:after{transform:rotate(0)}.tv-control-select__wrap.i-disabled .tv-control-select__caret{cursor:default}.tv-control-select__wrap.i-disabled .tv-control-select__caret:after{border-color:#e0e3eb #0000 #0000}@media (any-hover:hover){.tv-control-select__wrap.i-disabled:hover .tv-control-select__caret:after{border-color:#e0e3eb #0000 #0000}}html.theme-dark .tv-control-select__wrap.i-disabled .tv-control-select__caret:after{border-color:#2a2e39 #0000 #0000}@media (any-hover:hover){html.theme-dark .tv-control-select__wrap.i-disabled:hover .tv-control-select__caret:after{border-color:#2a2e39 #0000 #0000}}.tv-control-select__dropdown{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;font-size:13px;left:0;line-height:1;padding:15px 0;position:absolute;top:-15px;z-index:99}html.theme-dark .tv-control-select__dropdown{background-color:#1e222d;box-shadow:0 2px 4px #0006}.tv-control-select__dropdown--under-trigger{top:100%;top:calc(100% - 1px)}.tv-control-select__dropdown--over-trigger{top:0}.tv-control-select__dropdown--position_right{left:auto;right:0}.tv-control-select__dropdown--position_outer_right{left:100%}.tv-control-select__dropdown.tv-control-select__dropdown{cursor:default;left:-7px;right:-7px;top:-14px}.tv-control-select__scroll{height:100%}.tv-control-select__option-wrap{cursor:pointer;display:block;overflow:hidden;padding:10px 15px;position:relative;text-align:left;text-overflow:ellipsis;transition:color .35s ease,background-color .35s ease;white-space:nowrap}.tv-control-select__option-wrap,.tv-control-select__option-wrap:visited{color:#2f3241}html.theme-dark .tv-control-select__option-wrap,html.theme-dark .tv-control-select__option-wrap:visited{color:#d6d8e0}@media (any-hover:hover){.tv-control-select__option-wrap:hover:not(.i-active){background-color:#f0f3fa;color:#434651;transition-duration:.06s}html.theme-dark .tv-control-select__option-wrap:hover:not(.i-active){background-color:#2a2e39;color:#d1d4dc}}.tv-control-select__option-wrap:active{background-color:#3179f52e;color:#434651}html.theme-dark .tv-control-select__option-wrap:active{color:#d1d4dc}.tv-control-select__option-wrap.i-active{color:#434651}html.theme-dark .tv-control-select__option-wrap.i-active{color:#d1d4dc}.tv-control-select__option-wrap.i-active,.tv-control-select__option-wrap.i-active:active{background-color:#3179f52e}@media (any-hover:hover){.tv-control-select__option-wrap.i-active:hover{background-color:#3179f52e}}.tv-control-select__option-wrap.i-disabled,.tv-control-select__option-wrap.i-disabled:active{background-color:initial;color:#e5e5e8;cursor:default}@media (any-hover:hover){.tv-control-select__option-wrap.i-disabled:hover{background-color:initial;color:#e5e5e8;cursor:default}}html.theme-dark .tv-control-select__option-wrap.i-disabled,html.theme-dark .tv-control-select__option-wrap.i-disabled:active{color:#758696}@media (any-hover:hover){html.theme-dark .tv-control-select__option-wrap.i-disabled:hover{color:#758696}}.tv-control-select__option-wrap--subitem{padding:10px 15px 10px 30px}@media (any-hover:hover){.tv-control-select__option-wrap--not-interactive:hover{background-color:initial}}.tv-control-select__option-wrap--not-interactive.i-active,.tv-control-select__option-wrap--not-interactive:active{background-color:initial}@media (any-hover:hover){.tv-control-select__option-wrap--not-interactive.i-active:hover{background-color:initial}}.tv-control-select__option-wrap--not-interactive.i-active:active{background-color:initial}.tv-control-select__option-wrap.tv-control-select__option-wrap{font-size:13px;padding-left:20px;padding-right:20px}.tv-control-select__option.i-active .tv-control-select__option-wrap{color:#434651}html.theme-dark .tv-control-select__option.i-active .tv-control-select__option-wrap{color:#d1d4dc}.tv-control-select__option.i-active .tv-control-select__option-wrap,.tv-control-select__option.i-active .tv-control-select__option-wrap:active{background-color:#3179f52e}@media (any-hover:hover){.tv-control-select__option.i-active .tv-control-select__option-wrap:hover{background-color:#3179f52e}}.tv-control-select__option.i-disabled .tv-control-select__option-wrap{background-color:initial;color:#c1c4cd;cursor:default}@media (any-hover:hover){.tv-control-select__option.i-disabled .tv-control-select__option-wrap:hover{color:#c1c4cd}}html.theme-dark .tv-control-select__option.i-disabled .tv-control-select__option-wrap{color:#50535e}@media (any-hover:hover){html.theme-dark .tv-control-select__option.i-disabled .tv-control-select__option-wrap:hover{color:#50535e}.tv-control-select__option.i-disabled:hover .tv-control-select__option-wrap{background-color:initial}}.tv-control-select__optgroup{display:block}.tv-control-select__optgroup-label{color:#bdbec0;display:block;font-size:14px;font-size:13px;font-weight:700;line-height:1;margin-top:10px;padding:10px 20px;text-transform:uppercase}.tv-control-select__optgroup-label:first-child{margin-top:0}.tv-control-select__optgroup-separator{display:none}.tv-control-select__optgroup-separator:not(:last-of-type){background:#e0e3eb;border:none;display:block;height:1px;margin:8px 0}html.theme-dark .tv-control-select__optgroup-separator:not(:last-of-type){background:#434651}.tv-control-select__optgroup-items{display:block}.tv-control-select__wrap--touch .tv-control-select__caret,.tv-control-select__wrap--touch .tv-control-select__control{pointer-events:none}.tv-control-select__wrap--touch .tv-control-select.i-inited{bottom:0;display:block;left:0;opacity:0;position:absolute;right:0;top:0}.tv-dropdown{position:relative;vertical-align:middle}.tv-dropdown--inline{display:inline-block}.tv-dropdown.i-inactive .tv-dropdown__item,.tv-dropdown__group.i-inactive .tv-dropdown__item{background-color:initial;color:#adaeb0;cursor:default}@media (any-hover:hover){.tv-dropdown.i-inactive .tv-dropdown__item:hover,.tv-dropdown__group.i-inactive .tv-dropdown__item:hover{background-color:initial;color:#adaeb0;cursor:default}}.tv-dropdown__desc{color:#adaeb0;display:block;font-size:11px;margin-top:2px;transition:color .35s ease}@media (any-hover:hover){.tv-dropdown__item:hover .tv-dropdown__desc{color:#757575;transition-duration:.06s}}.tv-dropdown.i-inactive .tv-dropdown__desc,.tv-dropdown__group.i-inactive .tv-dropdown__desc{color:#c8c8c8;transition-duration:.06s}.tv-dropdown__button{cursor:pointer}.tv-dropdown__button--dashed{border-bottom-style:dashed}.tv-dropdown__group--divided{border-bottom:1px solid #eaecef}.tv-dropdown__group--divided:last-child{border-bottom:none}.tv-dropdown__body{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;font-size:13px;left:0;line-height:1;padding:15px 0;position:absolute;top:-15px;z-index:99}html.theme-dark .tv-dropdown__body{background-color:#1e222d;box-shadow:0 2px 4px #0006}.tv-dropdown__body--under-trigger{top:100%;top:calc(100% - 1px)}.tv-dropdown__body--over-trigger{top:0}.tv-dropdown__body--position_right{left:auto;right:0}.tv-dropdown__body--position_outer_right{left:100%}.tv-dropdown__title{color:#bdbec0;font-size:14px;font-weight:700;margin-top:10px;padding:10px 15px;text-transform:uppercase}.tv-dropdown__title:first-child{margin-top:0}.tv-dropdown__item{cursor:pointer;display:block;overflow:hidden;padding:10px 15px;position:relative;text-align:left;text-overflow:ellipsis;transition:color .35s ease,background-color .35s ease;white-space:nowrap}.tv-dropdown__item,.tv-dropdown__item:visited{color:#2f3241}html.theme-dark .tv-dropdown__item,html.theme-dark .tv-dropdown__item:visited{color:#d6d8e0}@media (any-hover:hover){.tv-dropdown__item:hover:not(.i-active){background-color:#f0f3fa;color:#434651;transition-duration:.06s}html.theme-dark .tv-dropdown__item:hover:not(.i-active){background-color:#2a2e39;color:#d1d4dc}}.tv-dropdown__item:active{background-color:#3179f52e;color:#434651}html.theme-dark .tv-dropdown__item:active{color:#d1d4dc}.tv-dropdown__item.i-active{color:#434651}html.theme-dark .tv-dropdown__item.i-active{color:#d1d4dc}.tv-dropdown__item.i-active,.tv-dropdown__item.i-active:active{background-color:#3179f52e}@media (any-hover:hover){.tv-dropdown__item.i-active:hover{background-color:#3179f52e}}.tv-dropdown__item.i-disabled,.tv-dropdown__item.i-disabled:active{background-color:initial;color:#e5e5e8;cursor:default}@media (any-hover:hover){.tv-dropdown__item.i-disabled:hover{background-color:initial;color:#e5e5e8;cursor:default}}html.theme-dark .tv-dropdown__item.i-disabled,html.theme-dark .tv-dropdown__item.i-disabled:active{color:#758696}@media (any-hover:hover){html.theme-dark .tv-dropdown__item.i-disabled:hover{color:#758696}}.tv-dropdown__item--subitem{padding:10px 15px 10px 30px}@media (any-hover:hover){.tv-dropdown__item--not-interactive:hover{background-color:initial}}.tv-dropdown__item--not-interactive.i-active,.tv-dropdown__item--not-interactive:active{background-color:initial}@media (any-hover:hover){.tv-dropdown__item--not-interactive.i-active:hover{background-color:initial}}.tv-dropdown__item--not-interactive.i-active:active{background-color:initial}.tv-dropdown__item-text{vertical-align:middle}.tv-dropdown-behavior__body{box-sizing:border-box;display:none}.tv-dropdown-behavior__body.i-opened{display:block}.tv-dropdown-behavior__body--width_full{min-width:100%}.tv-dropdown-behavior__button{cursor:pointer}.tv-dropdown-behavior__inscroll,.tv-dropdown-behavior__item,.tv-dropdown-behavior__scroll{display:block;position:relative}.tv-dropdown-behavior__scroll{overflow:hidden} \ No newline at end of file diff --git a/charting_library/bundles/9593.734c4bb23892ab13dac8.rtl.css b/charting_library/bundles/9593.734c4bb23892ab13dac8.rtl.css new file mode 100644 index 00000000..22455cc0 --- /dev/null +++ b/charting_library/bundles/9593.734c4bb23892ab13dac8.rtl.css @@ -0,0 +1 @@ +.tv-control-select__wrap{display:block;min-width:40px;position:relative;-webkit-user-select:none;user-select:none}.tv-control-select__wrap--readonly{border-color:#b4b4b4;color:#b4b4b4;cursor:text;-webkit-user-select:text;user-select:text}.tv-control-select__control,select.tv-control-select{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #e0e3eb;border-radius:2px;box-sizing:border-box;color:#434651;color:#535353;cursor:pointer;display:block;font-size:13px;height:34px;line-height:34px;padding:0 12px;position:relative;transition:border-color .35s ease,background-color .35s ease;transition:color .35s ease;white-space:nowrap;width:100%}html.theme-dark .tv-control-select__control,html.theme-dark select.tv-control-select{background-color:#1e222d;border-color:#363a45;color:#c5cbce;color:#d1d4dc}.tv-control-select__control::placeholder,select.tv-control-select::placeholder{color:#a3a6af;opacity:1}html.theme-dark .tv-control-select__control::placeholder,html.theme-dark select.tv-control-select::placeholder{color:#50535e}.tv-control-select__control:-webkit-autofill,select.tv-control-select:-webkit-autofill{-webkit-text-fill-color:#535353!important;box-shadow:inset 0 0 0 1000px #fff!important}.tv-control-select__control--size_xsmall,select.tv-control-select--size_xsmall{height:19px}.tv-control-select__control--size_small,select.tv-control-select--size_small{height:27px}.tv-control-select__control--size_large,select.tv-control-select--size_large{font-size:16px;height:48px}.tv-control-select__control--connect,select.tv-control-select--connect{border-left:0;border-radius:0;border-right:0}.tv-control-select__control--connect_left,select.tv-control-select--connect_left{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.tv-control-select__control--connect_right,select.tv-control-select--connect_right{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.tv-control-select__control--connect_right#id_username,select.tv-control-select--connect_right#id_username{direction:ltr;text-align:right}@media (any-hover:hover){.tv-control-select__control:hover,select.tv-control-select:hover{border-color:#c1c4cd;transition-duration:.06s}}.tv-control-select__control:focus,select.tv-control-select:focus{border-color:#2962ff!important;transition-duration:.06s}.tv-control-select__control[readonly],select.tv-control-select[readonly]{border-color:#dadde0;color:#8a8a8a}.tv-control-select__control[readonly]:focus,select.tv-control-select[readonly]:focus{border-color:#e0e3eb!important}@media (any-hover:hover){.tv-control-select__control[readonly]:hover,select.tv-control-select[readonly]:hover{border-color:#e0e3eb!important}}html.theme-dark .tv-control-select__control[readonly]:focus,html.theme-dark select.tv-control-select[readonly]:focus{border-color:#2a2e39!important}@media (any-hover:hover){html.theme-dark .tv-control-select__control[readonly]:hover,html.theme-dark select.tv-control-select[readonly]:hover{border-color:#2a2e39!important}}.tv-control-select__control--readonly_dark,.tv-control-select__control--readonly_dark[readonly],html.theme-dark .tv-control-select__control--readonly_dark,html.theme-dark .tv-control-select__control--readonly_dark[readonly],html.theme-dark select.tv-control-select--readonly_dark,html.theme-dark select.tv-control-select--readonly_dark[readonly],select.tv-control-select--readonly_dark,select.tv-control-select--readonly_dark[readonly]{color:#50535e}.tv-control-select__control.i-disabled,.tv-control-select__control[disabled],select.tv-control-select.i-disabled,select.tv-control-select[disabled]{border-color:#e0e3eb!important;color:#e0e3eb!important}html.theme-dark .tv-control-select__control.i-disabled,html.theme-dark .tv-control-select__control[disabled],html.theme-dark select.tv-control-select.i-disabled,html.theme-dark select.tv-control-select[disabled]{border-color:#2a2e39!important;color:#2a2e39!important}.tv-control-select__control.i-disabled::placeholder,.tv-control-select__control[disabled]::placeholder,select.tv-control-select.i-disabled::placeholder,select.tv-control-select[disabled]::placeholder{color:#e0e3eb!important}html.theme-dark .tv-control-select__control.i-disabled::placeholder,html.theme-dark .tv-control-select__control[disabled]::placeholder,html.theme-dark select.tv-control-select.i-disabled::placeholder,html.theme-dark select.tv-control-select[disabled]::placeholder{color:#2a2e39!important}@media (any-hover:hover){.tv-control-select__control.i-disabled:hover,.tv-control-select__control[disabled]:hover,select.tv-control-select.i-disabled:hover,select.tv-control-select[disabled]:hover{border-color:#e0e3eb!important}html.theme-dark .tv-control-select__control.i-disabled:hover,html.theme-dark .tv-control-select__control[disabled]:hover,html.theme-dark select.tv-control-select.i-disabled:hover,html.theme-dark select.tv-control-select[disabled]:hover{border-color:#2a2e39!important}}.tv-control-select__control.i-error,select.tv-control-select.i-error{border-color:#ff4a68!important}@media (any-hover:hover){.tv-control-select__control.i-error:hover,select.tv-control-select.i-error:hover{border-color:#f24965!important}}.tv-control-select__control.i-error:focus,select.tv-control-select.i-error:focus{border-color:#ff173e!important}.tv-control-select__control.i-success,select.tv-control-select.i-success{border-color:#089981!important}html.theme-dark .tv-control-select__control.i-success,html.theme-dark select.tv-control-select.i-success{border-color:#056656!important}@media (any-hover:hover){.tv-control-select__control.i-success:hover,html.theme-dark .tv-control-select__control.i-success:hover,html.theme-dark select.tv-control-select.i-success:hover,select.tv-control-select.i-success:hover{border-color:#06806b!important}}.tv-control-select__control.i-success:active,.tv-control-select__control.i-success:focus,select.tv-control-select.i-success:active,select.tv-control-select.i-success:focus{border-color:#056656!important}html.theme-dark .tv-control-select__control.i-success:active,html.theme-dark .tv-control-select__control.i-success:focus,html.theme-dark select.tv-control-select.i-success:active,html.theme-dark select.tv-control-select.i-success:focus{border-color:#089981!important}.tv-control-select__control--phone,select.tv-control-select--phone{direction:ltr;text-align:right}@media (any-hover:hover){.tv-control-select__control:hover,select.tv-control-select:hover{border-color:#c1c4cd}html.theme-dark .tv-control-select__control:hover,html.theme-dark select.tv-control-select:hover{border-color:#50535e}}.tv-control-select__control.i-disabled,.tv-control-select__control[disabled],select.tv-control-select.i-disabled,select.tv-control-select[disabled]{border-color:#e0e3eb;cursor:default}html.theme-dark .tv-control-select__control.i-disabled,html.theme-dark .tv-control-select__control[disabled],html.theme-dark select.tv-control-select.i-disabled,html.theme-dark select.tv-control-select[disabled]{border-color:#2a2e39}.i-error .tv-control-select__control,.i-error select.tv-control-select{border-color:#ff4a68!important}@media (any-hover:hover){.i-error .tv-control-select__control:hover,.i-error select.tv-control-select:hover{border-color:#f04561!important}}.i-error .tv-control-select__control:focus,.i-error select.tv-control-select:focus{border-color:#ff173e!important}.tv-control-select--size_xsmall .tv-control-select__control{height:19px;line-height:19px}.tv-control-select--size_small .tv-control-select__control{height:27px;line-height:27px}.tv-control-select--size_large .tv-control-select__control{height:48px;line-height:48px}.tv-control-select__control-inner{display:block;margin-left:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-control-select__control-inner--option-disabled{color:#a3a6af}html.theme-dark .tv-control-select__control-inner--option-disabled{color:#50535e}.tv-control-select__control-inner--readonly{border-color:#b4b4b4;color:#b4b4b4;cursor:text;-webkit-user-select:text;user-select:text}.tv-control-select__control-inner:after{content:"\200E"}select.tv-control-select.i-inited{display:none}.tv-control-select__caret{bottom:0;cursor:pointer;left:0;position:absolute;top:0;width:40px}.tv-control-select__caret:after{border-left:4px solid #0000;border-right:4px solid #0000;border-top:4px solid #787b86;content:"";display:block;left:15px;margin-top:-2px;position:absolute;right:auto;top:50%;transition:transform .35s ease,border-color .35s ease}html.theme-dark .tv-control-select__caret:after{border-top-color:#787b86}@media (any-hover:hover){.tv-control-select__wrap:hover .tv-control-select__caret:after{border-color:#434651 #0000 #0000;transition-duration:.06s}html.theme-dark .tv-control-select__wrap:hover .tv-control-select__caret:after{border-color:#d1d4dc #0000 #0000}}.tv-control-select__wrap.i-opened .tv-control-select__caret:after{transform:rotate(180deg)}@media (any-hover:hover){.tv-control-select__wrap.i-opened:hover .tv-control-select__caret:after,html.theme-dark .tv-control-select__wrap.i-opened:hover .tv-control-select__caret:after{border-color:#787b86 #0000 #0000}.tv-control-select__wrap.i-opened .tv-control-select__caret:hover:after{border-color:#434651 #0000 #0000;transition-duration:.06s}html.theme-dark .tv-control-select__wrap.i-opened .tv-control-select__caret:hover:after{border-color:#d1d4dc #0000 #0000}}.tv-control-select__wrap.i-closing .tv-control-select__caret{z-index:98}.tv-control-select__wrap.i-closing .tv-control-select__caret:after{transform:rotate(0)}.tv-control-select__wrap.i-disabled .tv-control-select__caret{cursor:default}.tv-control-select__wrap.i-disabled .tv-control-select__caret:after{border-color:#e0e3eb #0000 #0000}@media (any-hover:hover){.tv-control-select__wrap.i-disabled:hover .tv-control-select__caret:after{border-color:#e0e3eb #0000 #0000}}html.theme-dark .tv-control-select__wrap.i-disabled .tv-control-select__caret:after{border-color:#2a2e39 #0000 #0000}@media (any-hover:hover){html.theme-dark .tv-control-select__wrap.i-disabled:hover .tv-control-select__caret:after{border-color:#2a2e39 #0000 #0000}}.tv-control-select__dropdown{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;font-size:13px;line-height:1;padding:15px 0;position:absolute;right:0;top:-15px;z-index:99}html.theme-dark .tv-control-select__dropdown{background-color:#1e222d;box-shadow:0 2px 4px #0006}.tv-control-select__dropdown--under-trigger{top:100%;top:calc(100% - 1px)}.tv-control-select__dropdown--over-trigger{top:0}.tv-control-select__dropdown--position_right{left:0;right:auto}.tv-control-select__dropdown--position_outer_right{right:100%}.tv-control-select__dropdown.tv-control-select__dropdown{cursor:default;left:-7px;right:-7px;top:-14px}.tv-control-select__scroll{height:100%}.tv-control-select__option-wrap{cursor:pointer;display:block;overflow:hidden;padding:10px 15px;position:relative;text-align:right;text-overflow:ellipsis;transition:color .35s ease,background-color .35s ease;white-space:nowrap}.tv-control-select__option-wrap,.tv-control-select__option-wrap:visited{color:#2f3241}html.theme-dark .tv-control-select__option-wrap,html.theme-dark .tv-control-select__option-wrap:visited{color:#d6d8e0}@media (any-hover:hover){.tv-control-select__option-wrap:hover:not(.i-active){background-color:#f0f3fa;color:#434651;transition-duration:.06s}html.theme-dark .tv-control-select__option-wrap:hover:not(.i-active){background-color:#2a2e39;color:#d1d4dc}}.tv-control-select__option-wrap:active{background-color:#3179f52e;color:#434651}html.theme-dark .tv-control-select__option-wrap:active{color:#d1d4dc}.tv-control-select__option-wrap.i-active{color:#434651}html.theme-dark .tv-control-select__option-wrap.i-active{color:#d1d4dc}.tv-control-select__option-wrap.i-active,.tv-control-select__option-wrap.i-active:active{background-color:#3179f52e}@media (any-hover:hover){.tv-control-select__option-wrap.i-active:hover{background-color:#3179f52e}}.tv-control-select__option-wrap.i-disabled,.tv-control-select__option-wrap.i-disabled:active{background-color:initial;color:#e5e5e8;cursor:default}@media (any-hover:hover){.tv-control-select__option-wrap.i-disabled:hover{background-color:initial;color:#e5e5e8;cursor:default}}html.theme-dark .tv-control-select__option-wrap.i-disabled,html.theme-dark .tv-control-select__option-wrap.i-disabled:active{color:#758696}@media (any-hover:hover){html.theme-dark .tv-control-select__option-wrap.i-disabled:hover{color:#758696}}.tv-control-select__option-wrap--subitem{padding:10px 30px 10px 15px}@media (any-hover:hover){.tv-control-select__option-wrap--not-interactive:hover{background-color:initial}}.tv-control-select__option-wrap--not-interactive.i-active,.tv-control-select__option-wrap--not-interactive:active{background-color:initial}@media (any-hover:hover){.tv-control-select__option-wrap--not-interactive.i-active:hover{background-color:initial}}.tv-control-select__option-wrap--not-interactive.i-active:active{background-color:initial}.tv-control-select__option-wrap.tv-control-select__option-wrap{font-size:13px;padding-left:20px;padding-right:20px}.tv-control-select__option.i-active .tv-control-select__option-wrap{color:#434651}html.theme-dark .tv-control-select__option.i-active .tv-control-select__option-wrap{color:#d1d4dc}.tv-control-select__option.i-active .tv-control-select__option-wrap,.tv-control-select__option.i-active .tv-control-select__option-wrap:active{background-color:#3179f52e}@media (any-hover:hover){.tv-control-select__option.i-active .tv-control-select__option-wrap:hover{background-color:#3179f52e}}.tv-control-select__option.i-disabled .tv-control-select__option-wrap{background-color:initial;color:#c1c4cd;cursor:default}@media (any-hover:hover){.tv-control-select__option.i-disabled .tv-control-select__option-wrap:hover{color:#c1c4cd}}html.theme-dark .tv-control-select__option.i-disabled .tv-control-select__option-wrap{color:#50535e}@media (any-hover:hover){html.theme-dark .tv-control-select__option.i-disabled .tv-control-select__option-wrap:hover{color:#50535e}.tv-control-select__option.i-disabled:hover .tv-control-select__option-wrap{background-color:initial}}.tv-control-select__optgroup{display:block}.tv-control-select__optgroup-label{color:#bdbec0;display:block;font-size:14px;font-size:13px;font-weight:700;line-height:1;margin-top:10px;padding:10px 20px;text-transform:uppercase}.tv-control-select__optgroup-label:first-child{margin-top:0}.tv-control-select__optgroup-separator{display:none}.tv-control-select__optgroup-separator:not(:last-of-type){background:#e0e3eb;border:none;display:block;height:1px;margin:8px 0}html.theme-dark .tv-control-select__optgroup-separator:not(:last-of-type){background:#434651}.tv-control-select__optgroup-items{display:block}.tv-control-select__wrap--touch .tv-control-select__caret,.tv-control-select__wrap--touch .tv-control-select__control{pointer-events:none}.tv-control-select__wrap--touch .tv-control-select.i-inited{bottom:0;display:block;left:0;opacity:0;position:absolute;right:0;top:0}.tv-dropdown{position:relative;vertical-align:middle}.tv-dropdown--inline{display:inline-block}.tv-dropdown.i-inactive .tv-dropdown__item,.tv-dropdown__group.i-inactive .tv-dropdown__item{background-color:initial;color:#adaeb0;cursor:default}@media (any-hover:hover){.tv-dropdown.i-inactive .tv-dropdown__item:hover,.tv-dropdown__group.i-inactive .tv-dropdown__item:hover{background-color:initial;color:#adaeb0;cursor:default}}.tv-dropdown__desc{color:#adaeb0;display:block;font-size:11px;margin-top:2px;transition:color .35s ease}@media (any-hover:hover){.tv-dropdown__item:hover .tv-dropdown__desc{color:#757575;transition-duration:.06s}}.tv-dropdown.i-inactive .tv-dropdown__desc,.tv-dropdown__group.i-inactive .tv-dropdown__desc{color:#c8c8c8;transition-duration:.06s}.tv-dropdown__button{cursor:pointer}.tv-dropdown__button--dashed{border-bottom-style:dashed}.tv-dropdown__group--divided{border-bottom:1px solid #eaecef}.tv-dropdown__group--divided:last-child{border-bottom:none}.tv-dropdown__body{background-color:#fff;border-radius:3px;box-shadow:0 2px 4px #0003;font-size:13px;line-height:1;padding:15px 0;position:absolute;right:0;top:-15px;z-index:99}html.theme-dark .tv-dropdown__body{background-color:#1e222d;box-shadow:0 2px 4px #0006}.tv-dropdown__body--under-trigger{top:100%;top:calc(100% - 1px)}.tv-dropdown__body--over-trigger{top:0}.tv-dropdown__body--position_right{left:0;right:auto}.tv-dropdown__body--position_outer_right{right:100%}.tv-dropdown__title{color:#bdbec0;font-size:14px;font-weight:700;margin-top:10px;padding:10px 15px;text-transform:uppercase}.tv-dropdown__title:first-child{margin-top:0}.tv-dropdown__item{cursor:pointer;display:block;overflow:hidden;padding:10px 15px;position:relative;text-align:right;text-overflow:ellipsis;transition:color .35s ease,background-color .35s ease;white-space:nowrap}.tv-dropdown__item,.tv-dropdown__item:visited{color:#2f3241}html.theme-dark .tv-dropdown__item,html.theme-dark .tv-dropdown__item:visited{color:#d6d8e0}@media (any-hover:hover){.tv-dropdown__item:hover:not(.i-active){background-color:#f0f3fa;color:#434651;transition-duration:.06s}html.theme-dark .tv-dropdown__item:hover:not(.i-active){background-color:#2a2e39;color:#d1d4dc}}.tv-dropdown__item:active{background-color:#3179f52e;color:#434651}html.theme-dark .tv-dropdown__item:active{color:#d1d4dc}.tv-dropdown__item.i-active{color:#434651}html.theme-dark .tv-dropdown__item.i-active{color:#d1d4dc}.tv-dropdown__item.i-active,.tv-dropdown__item.i-active:active{background-color:#3179f52e}@media (any-hover:hover){.tv-dropdown__item.i-active:hover{background-color:#3179f52e}}.tv-dropdown__item.i-disabled,.tv-dropdown__item.i-disabled:active{background-color:initial;color:#e5e5e8;cursor:default}@media (any-hover:hover){.tv-dropdown__item.i-disabled:hover{background-color:initial;color:#e5e5e8;cursor:default}}html.theme-dark .tv-dropdown__item.i-disabled,html.theme-dark .tv-dropdown__item.i-disabled:active{color:#758696}@media (any-hover:hover){html.theme-dark .tv-dropdown__item.i-disabled:hover{color:#758696}}.tv-dropdown__item--subitem{padding:10px 30px 10px 15px}@media (any-hover:hover){.tv-dropdown__item--not-interactive:hover{background-color:initial}}.tv-dropdown__item--not-interactive.i-active,.tv-dropdown__item--not-interactive:active{background-color:initial}@media (any-hover:hover){.tv-dropdown__item--not-interactive.i-active:hover{background-color:initial}}.tv-dropdown__item--not-interactive.i-active:active{background-color:initial}.tv-dropdown__item-text{vertical-align:middle}.tv-dropdown-behavior__body{box-sizing:border-box;display:none}.tv-dropdown-behavior__body.i-opened{display:block}.tv-dropdown-behavior__body--width_full{min-width:100%}.tv-dropdown-behavior__button{cursor:pointer}.tv-dropdown-behavior__inscroll,.tv-dropdown-behavior__item,.tv-dropdown-behavior__scroll{display:block;position:relative}.tv-dropdown-behavior__scroll{overflow:hidden} \ No newline at end of file diff --git a/charting_library/bundles/95a7715d1c9835b4b280996e2493639c.svg b/charting_library/bundles/95a7715d1c9835b4b280996e2493639c.svg new file mode 100644 index 00000000..8c993694 --- /dev/null +++ b/charting_library/bundles/95a7715d1c9835b4b280996e2493639c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9619f52114e3eb5ddafad0f641d090cf.svg b/charting_library/bundles/9619f52114e3eb5ddafad0f641d090cf.svg new file mode 100644 index 00000000..057a6e0d --- /dev/null +++ b/charting_library/bundles/9619f52114e3eb5ddafad0f641d090cf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9725.34bc625d639194ea9363.js b/charting_library/bundles/9725.34bc625d639194ea9363.js new file mode 100644 index 00000000..1d9a4f83 --- /dev/null +++ b/charting_library/bundles/9725.34bc625d639194ea9363.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9725,4002],{89725:(t,s,e)=>{e.r(s),e.d(s,{createDialog:()=>h});var i=e(976),o=e(77544);function h(t){const s=t.type||"popup";return delete t.type,"modal"===s?new i.TVModal(t):new o.TVPopup(t)}},976:(t,s,e)=>{e.d(s,{TVModal:()=>v});var i=e(28353),o=e(68587),h=e(49483),n=e(43989),r=e(51536),l=e(4185),a=e(85739),d=e(25760),c=e(23127),p=e(25977);let g=[];const u={ajax:{},closingDuration:o.dur/2,fixBodyState:!0,overlayTemplate:'

',containerTemplate:'
',ajaxErrorTemplate:`
${(0,i.t)("Error")}
`};class v extends r.TVDialogAbstract{constructor(t={}){if(super({...u,...t}),this.$overlay=c(this.options.overlayTemplate),this.$modalWrap=c(this.options.containerTemplate),this.$body=this.$modalWrap.find(".tv-dialog__modal-body").append(this.$el),this.options.closeOnOutsideClick&&this.$overlay.add(this.$modalWrap).click(t=>{this.isEventOut(t)&&this.close()}),this.on("change:zIndex",()=>{this.$overlay.css("z-index",this.zIndex),this.$modalWrap.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$overlay.remove(),this.$modalWrap.remove()};this.opened?(this.close(),setTimeout(t,this.options.closingDuration)):t()}),this.on("beforeOpen",()=>{g.push(this)}),this.options.ajax.url){const t=this.options.ajax.beforeSend||c.noop,s=this.options.ajax.success||!1,e=this.options.ajax.error||c.noop;c.extend(this.options.ajax,{beforeSend:()=>{this.trigger("beforeLoading",[this]),this.startSpinner(),t(this)},success:t=>{this.trigger("afterLoading",[this]),this.renderContent(s?s(this,t):t).showContent(),this.trigger("afterLoadingShow",[this])},error:()=>{this.renderContent(this.options.ajaxErrorTemplate),e(this),this.trigger("errorLoading",[this])}})}this.on("error",(t,s)=>{this.$modalWrap[0].getBoundingClientRect().height!this.opened,modal:!0}),this.options.closeOnEsc&&this._hotkeys.add({desc:"close",hotkey:27,handler:()=>this.close()}));const t=()=>{this.focus(),this.toTop(),this.trigger("beforeOpen",[this]),c(this.$wrap).append(this.$overlay.addClass("i-hidden i-closed").css("z-index",this.zIndex)).append(this.$modalWrap.addClass("i-hidden i-closed").css("z-index",this.zIndex)),this.$overlay.removeClass("i-hidden"),setTimeout(()=>{this.$overlay.removeClass("i-closed")},20),this.options.ajax.url?this.ajaxRequest=c.ajax(this.options.ajax):this.showContent()};return h.isSafari?setTimeout(()=>t(),50):t(),this}close(){if(this.opened)return this.opened=!1, +this._keyboardBinderLockId&&a.enable(this._keyboardBinderLockId),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(()=>{this.$modalWrap.addClass("i-hidden").detach(),this.$overlay.addClass("i-hidden").detach(),g=p.without(g,this),this.options.fixBodyState&&(0,n.setFixedBodyState)(!1),this.trigger("afterClose",[this]),this.unfocus(),g.length>0&&g[g.length-1].focus(),this.options.destroyOnClose&&this.destroy()},this.options.closingDuration),this}showContent(){return this.$modalWrap.removeClass("i-hidden"),setTimeout(()=>{this.$modalWrap.removeClass("i-closed")},20),setTimeout(()=>{this.trigger("afterOpen",[this]),this.spinner&&this.stopSpinner()},.75*o.dur+20),this}hideContent(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}startSpinner(){return this.spinner=new l.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}stopSpinner(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}},77544:(t,s,e)=>{e.d(s,{TVPopup:()=>g});var i=e(68587),o=e(52150),h=e(51536),n=e(30812),r=e(35190),l=e(25760),a=e(23127);const d=a("body"),c=a(window),p={closeOnClickAtOtherDialogs:!0,draggable:!0,scrollWrap:'
',scrollWrapInner:'
',withScroll:!0};class g extends h.TVDialogAbstract{constructor(t={}){super({...p,...t}),this.$scrollWrap=this.$content.hasClass("js-dialog__scroll-wrap")?this.$content:this.$content.find(".js-dialog__scroll-wrap"),this.$scrollWrap.length?this.$scrollWrapInner=this.$scrollWrap.children().first():(this.$scrollWrap=this.$content.wrap(a(this.options.scrollWrap)).parent(),this.$scrollWrapInner=this.$content.wrap(a(this.options.scrollWrapInner)).parent()),this.$actions&&this.$scrollWrap.addClass("i-with-actions"),this.options.withScroll&&(this.scroll=new n.SidebarCustomScroll(this.$scrollWrap[0],this.$scrollWrapInner[0]),this.scroll.scrolled.subscribe(null,()=>this.trigger("scroll"))),this.$scrollWrap.css("overflow","");const s=this.getDialogId();this.$el.addClass("tv-dialog--popup i-closed i-hidden"),this.options.width&&this.$el.css({width:"calc(100% - 20px)","max-width":this.options.width}),this._hotkeys=l.createGroup({desc:"Dialog",isDisabled:()=>!this.opened,modal:!1}),this.options.closeOnEsc&&this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this.close()}),this.$el.on("mousedown touchstart",this.toTop.bind(this)),this.options.closeOnOutsideClick&&(this._preventClick=!0,this.on("beforeOpen",()=>{setTimeout(()=>{this.opened&&(a(document).on("mousedown touchstart",()=>{this._preventClick=!1}),a(document).on("click.tv-popup-"+s,t=>{if(this._preventClick)return;const s=a(t.target).closest(".js-dialog");(this.options.closeOnClickAtOtherDialogs||0===s.length)&&this.isEventOut(t)&&this.close()}))},0)}),this.on("beforeClose",()=>a(document).off("click.tv-popup-"+s))),this.on("change:zIndex",()=>{ +this.$el.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$el.remove(),this._hotkeys.destroy()};this.opened?(this.close(),setTimeout(t,i.dur/2)):t()})}open(){return this.opened||(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.$wrap).removeClass("i-hidden").css((()=>{this.calcHeight();const t=c.height(),s=c.width(),e=this.$el.height(),i=this.$el.width();let o=this.options.position;return o||(o={top:t/2-e/2,left:s/2-i/2}),o.top>t-e&&(o.top=t-e),o.left>s-i&&(o.left=s-i),o.top<10&&(o.top=10),o.left<10&&(o.left=10),o})()),this.focus(),this.toTop(),this._doOpenAnimation().then(()=>{this.opened&&(this.$el.removeClass("i-closed"),this.options.draggable&&((0,r.lazyJqueryUI)(this.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing",stop:(t,s)=>{this.trigger("dragEnd",[this])}}),this.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),this.trigger("afterOpen",[this]))}),c.on("resize.tv-popup-"+this.getDialogId(),()=>{this.calcHeight(),this.fixPos()})),this}close(){if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(()=>{this.opened||((0,r.lazyJqueryUI)(this.$el).draggable("instance").then(t=>{t&&t.destroy()}),this.$el.addClass("i-hidden").detach(),d.css("cursor","auto"),this.trigger("afterClose",[this]),this.options.destroyOnClose&&this.destroy())}),c.off("resize.tv-popup-"+this.getDialogId()),this}hide(){this.$el.addClass("i-hidden")}show(){this.$el.removeClass("i-hidden")}fixPos(){const t=this.$el[0].getBoundingClientRect(),s={};t.bottom>o.mediaState.height-10&&(s.top=o.mediaState.height-10-t.height,s.top<10&&(s.top=10)),t.right>o.mediaState.width-10&&(s.left=o.mediaState.width-10-t.width,s.left<10&&(s.left=10)),(s.top||s.left)&&this.$el.css(s)}calcHeight(){const t=this.$el[0].getBoundingClientRect(),s=this.$scrollWrapInner[0].getBoundingClientRect(),e=this.$scrollWrap[0].getBoundingClientRect();let i=this.options.height&&this.options.heighti)&&(i-=t.height-e.height,i<60&&(i=60),this.$scrollWrap.css({height:i})),this.options.withScroll&&this.scroll.resize();const n=i{e.d(s,{mediaState:()=>a});var i=e(85459),o=e.n(i),h=e(69677),n=e(74664),r=e(68722);class l extends(o()){constructor(){super(),this.width=0,this.height=0,this.device=null, +this.breakpoints=n.breakpoints,this._checkDevice(),window.addEventListener("resize",this._checkDevice),Object.entries(n.breakpoints).sort(([t,s],[e,i])=>s-i).forEach(([t,s],e,i)=>{let o;if(0!==e){const[,t]=i[e-1];o=t+1}else o=0;const h=(0,r.matchMediaMinMax)(o,s);h.matches&&this._setNewDevice(t),h.addListener(s=>{s.matches&&(this._checkDevice(),this._setNewDevice(t))})}),(0,h.whenDocumentReady)(this._checkDevice.bind(this)),this.isPhoneSizeDevice.bind(this)}isPhoneSizeDevice(){return"phone"===this.device||"phone-vertical"===this.device}_checkDevice(){this.width=window.innerWidth,this.height=window.innerHeight}_setNewDevice(t){const s=this.device;this.device=t,this.trigger("changeDevice",[t,s])}}const a=new l}}]); \ No newline at end of file diff --git a/charting_library/bundles/976.93143479d06a7878a2a0.css b/charting_library/bundles/976.93143479d06a7878a2a0.css new file mode 100644 index 00000000..2ff784d2 --- /dev/null +++ b/charting_library/bundles/976.93143479d06a7878a2a0.css @@ -0,0 +1 @@ +.wrapper-IbP2mmCe{align-content:flex-start;align-items:flex-start;background-color:#fff;color:#131722;display:flex;flex-direction:row;justify-content:space-between;padding:6px 10px 2px 12px;white-space:nowrap}html.theme-dark .wrapper-IbP2mmCe{background-color:#1e222d;color:#b2b5be}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{color:#131722}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{color:#131722}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{color:#c1c4cd}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{color:#c1c4cd}}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{background-color:#f0f3fa}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{background-color:#f0f3fa}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{background-color:#2a2e39}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{background-color:#2a2e39}}.wrapper-IbP2mmCe:before{content:"";display:block;height:20px}.labelRow-IbP2mmCe{flex:1 1 auto;min-width:0;padding:2px 0 6px}.label-IbP2mmCe{font-size:14px;margin-right:12px;overflow:hidden}.labelHint-IbP2mmCe{color:#787b86;contain:content;font-size:12px;font-weight:400;margin-top:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .25s ease-in,margin-top .25s ease-in,opacity .35s linear;white-space:normal}.labelOn-IbP2mmCe+.labelHint-IbP2mmCe{margin-top:4px;max-height:34px;opacity:1;transition:max-height .2s ease-out,margin-top .2s ease-out,opacity .35s linear} \ No newline at end of file diff --git a/charting_library/bundles/976.93143479d06a7878a2a0.rtl.css b/charting_library/bundles/976.93143479d06a7878a2a0.rtl.css new file mode 100644 index 00000000..215931fe --- /dev/null +++ b/charting_library/bundles/976.93143479d06a7878a2a0.rtl.css @@ -0,0 +1 @@ +.wrapper-IbP2mmCe{align-content:flex-start;align-items:flex-start;background-color:#fff;color:#131722;display:flex;flex-direction:row;justify-content:space-between;padding:6px 12px 2px 10px;white-space:nowrap}html.theme-dark .wrapper-IbP2mmCe{background-color:#1e222d;color:#b2b5be}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{color:#131722}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{color:#131722}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{color:#c1c4cd}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{color:#c1c4cd}}.wrapper-IbP2mmCe.hovered-IbP2mmCe,.wrapper-IbP2mmCe:active{background-color:#f0f3fa}@media (any-hover:hover){.wrapper-IbP2mmCe:hover{background-color:#f0f3fa}}html.theme-dark .wrapper-IbP2mmCe.hovered-IbP2mmCe,html.theme-dark .wrapper-IbP2mmCe:active{background-color:#2a2e39}@media (any-hover:hover){html.theme-dark .wrapper-IbP2mmCe:hover{background-color:#2a2e39}}.wrapper-IbP2mmCe:before{content:"";display:block;height:20px}.labelRow-IbP2mmCe{flex:1 1 auto;min-width:0;padding:2px 0 6px}.label-IbP2mmCe{font-size:14px;margin-left:12px;overflow:hidden}.labelHint-IbP2mmCe{color:#787b86;contain:content;font-size:12px;font-weight:400;margin-top:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .25s ease-in,margin-top .25s ease-in,opacity .35s linear;white-space:normal}.labelOn-IbP2mmCe+.labelHint-IbP2mmCe{margin-top:4px;max-height:34px;opacity:1;transition:max-height .2s ease-out,margin-top .2s ease-out,opacity .35s linear} \ No newline at end of file diff --git a/charting_library/bundles/9811.b2796acbfd658ee82791.js b/charting_library/bundles/9811.b2796acbfd658ee82791.js deleted file mode 100644 index 47049349..00000000 --- a/charting_library/bundles/9811.b2796acbfd658ee82791.js +++ /dev/null @@ -1,5 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9811],{96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},89185:e=>{e.exports={itemRow:"itemRow-9Sl1Rwzy",favoriteButton:"favoriteButton-9Sl1Rwzy",active:"active-9Sl1Rwzy",selected:"selected-9Sl1Rwzy",mobile:"mobile-9Sl1Rwzy",itemInfo:"itemInfo-9Sl1Rwzy",title:"title-9Sl1Rwzy",details:"details-9Sl1Rwzy",itemInfoWithPadding:"itemInfoWithPadding-9Sl1Rwzy",favorite:"favorite-9Sl1Rwzy",removeButton:"removeButton-9Sl1Rwzy"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},97623:e=>{e.exports={scrollWrap:"scrollWrap-9M00JHkT"}},62230:e=>{e.exports={wrap:"wrap-Shy8LdqT","wrap--horizontal":"wrap--horizontal-Shy8LdqT",bar:"bar-Shy8LdqT",barInner:"barInner-Shy8LdqT","barInner--horizontal":"barInner--horizontal-Shy8LdqT","bar--horizontal":"bar--horizontal-Shy8LdqT"}},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(96746);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>D});var r=n(59496),o=n(88537);var i=n(97754),l=n.n(i),s=n(68335),a=n(35749),c=n(63016),u=n(1109),d=n(24437),h=n(90692),v=n(95711),m=n(52092),p=n(76422),f=n(9745);const g=r.createContext({setHideClose:()=>{}});var b=n(37257),w=n(91441);function E(e){const{title:t,subtitle:n,showCloseIcon:o=!0,onClose:i,renderBefore:s,renderAfter:a,draggable:c,className:u,unsetAlign:d}=e,[h,v]=(0,r.useState)(!1);return r.createElement(g.Provider,{value:{setHideClose:v}},r.createElement("div",{className:l()(w.container,u,(n||d)&&w.unsetAlign)},s,r.createElement("div",{"data-dragg-area":c,className:w.title},r.createElement("div",{className:w.ellipsis},t),n&&r.createElement("div",{className:l()(w.ellipsis,w.subtitle)},n)),a,o&&!h&&r.createElement(f.Icon,{className:w.close,icon:b,onClick:i,"data-name":"close","data-role":"button"})))}var C=n(67179);const N={vertical:20},S={vertical:0};class D extends r.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})), -this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(d.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,s.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,r=(0,o.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,a.isTextEditingField)(n))return void r.focus();if(r.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;p.subscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;p.unsubscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:o,title:i,dataName:s,onClickOutside:a,additionalElementPos:m,additionalHeaderElement:p,backdrop:f,shouldForceFocus:g=!0,showSeparator:b,subtitle:w,draggable:D=!0,fullScreen:z=!1,showCloseIcon:_=!0,rounded:k=!0,isAnimationEnabled:y,growPoint:L,dialogTooltip:x,unsetHeaderAlign:P,onDragStart:O,dataDialogName:M}=this.props,R="after"!==m?p:void 0,A="after"===m?p:void 0,B="string"==typeof i?i:M||"";return r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.SmallHeight},m=>r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},d=>r.createElement(c.PopupDialog,{rounded:!(d||z)&&k,className:l()(C.dialog,e),isOpened:o,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:a,onClickBackdrop:a,fullscreen:d||z,guard:m?S:N,boundByScreen:d||z,shouldForceFocus:g,backdrop:f,draggable:D,isAnimationEnabled:y,growPoint:L,name:this.props.dataName,dialogTooltip:x,onDragStart:O},r.createElement("div",{className:l()(C.wrapper,t),"data-name":s,"data-dialog-name":B},void 0!==i&&r.createElement(E,{draggable:D&&!(d||z),onClose:this._handleClose,renderAfter:A,renderBefore:R,subtitle:w,title:i,showCloseIcon:_, -className:n,unsetAlign:P}),b&&r.createElement(u.Separator,{className:C.separator}),r.createElement(v.PopupContext.Consumer,null,e=>this._renderChildren(e,d||z))))))}}},64530:(e,t,n)=>{"use strict";n.d(t,{DialogContentItem:()=>d});var r=n(59496),o=n(97754),i=n.n(o),l=n(49483),s=n(36189),a=n(96040);function c(e){const{url:t,...n}=e;return t?r.createElement("a",{...n,href:t}):r.createElement("div",{...n})}var u=n(89185);function d(e){const{title:t,subtitle:n,removeBtnLabel:o,onClick:d,onClickFavorite:v,onClickRemove:m,isActive:p,isSelected:f,isFavorite:g,isMobile:b=!1,showFavorite:w=!0,...E}=e;return r.createElement(c,{...E,className:i()(u.itemRow,p&&!f&&u.active,b&&u.mobile,f&&u.selected),onClick:h.bind(null,d),"data-role":"list-item","data-active":p},w&&v&&r.createElement(s.FavoriteButton,{className:i()(u.favoriteButton,g&&u.favorite,l.CheckMobile.any()&&u.mobile),isActive:p&&!f,isFilled:g,onClick:h.bind(null,v),"data-name":"list-item-favorite-button","data-favorite":g}),r.createElement("div",{className:i()(u.itemInfo,!w&&u.itemInfoWithPadding)},r.createElement("div",{className:i()(u.title,p&&!f&&u.active,b&&u.mobile),"data-name":"list-item-title"},t),r.createElement("div",{className:i()(u.details,p&&!f&&u.active,b&&u.mobile)},n)),r.createElement(a.RemoveButton,{className:u.removeButton,isActive:p&&!f,onClick:h.bind(null,m),"data-name":"list-item-remove-button",title:o}))}function h(e,t){t.defaultPrevented||(t.preventDefault(),e(t))}},3085:(e,t,n)=>{"use strict";n.d(t,{OverlayScrollContainer:()=>v});var r=n(59496),o=n(97754),i=n.n(o),l=n(88537),s=n(64514),a=n(62820);const c=n(62230);function u(e){const{size:t,scrollSize:n,clientSize:o,scrollProgress:u,onScrollProgressChange:d,horizontal:h,theme:v=c,onDragStart:m,onDragEnd:p,minBarSize:f=40}=e,g=(0,r.useRef)(null),b=(0,r.useRef)(null),[w,E]=(0,r.useState)(!1),C=(0,r.useRef)(0);(0,r.useEffect)(()=>{const e=(0,l.ensureNotNull)(g.current).ownerDocument;return w?(m&&m(),e&&(e.addEventListener("mousemove",k),e.addEventListener("mouseup",y))):p&&p(),()=>{e&&(e.removeEventListener("mousemove",k),e.removeEventListener("mouseup",y))}},[w]);const N=t/n||0,S=o*N||0,D=Math.max(S,f),z=(t-D)/(t-S),_=function(e){if((0,a.isRtl)()&&h)return e-n+o;return e}((0,s.clamp)(u,0,n-t));return r.createElement("div",{ref:g,className:i()(v.wrap,h&&v["wrap--horizontal"]),style:{[h?"width":"height"]:t},onMouseDown:function(e){if(e.isDefaultPrevented())return;e.preventDefault();const r=(0,l.ensureNotNull)(b.current).getBoundingClientRect();C.current=(h?r.width:r.height)/2;const o=n-t;let i=L(e.nativeEvent,(0,l.ensureNotNull)(g.current))-C.current;i<0?(i=0,C.current=L(e.nativeEvent,(0,l.ensureNotNull)(g.current))):i>o*N*z&&(i=o*N*z,C.current=L(e.nativeEvent,(0,l.ensureNotNull)(g.current))-i);d(i/N/z),E(!0)}},r.createElement("div",{ref:b,className:i()(v.bar,h&&v["bar--horizontal"]),style:{[h?"minWidth":"minHeight"]:f,[h?"width":"height"]:D,transform:`translate${h?"X":"Y"}(${_*N*z||0}px)`},onMouseDown:function(e){e.preventDefault(),C.current=L(e.nativeEvent,(0,l.ensureNotNull)(b.current)),E(!0)} -},r.createElement("div",{className:i()(v.barInner,h&&v["barInner--horizontal"])})));function k(e){const t=L(e,(0,l.ensureNotNull)(g.current))-C.current;d(t/N/z)}function y(e){E(!1)}function L(e,t){const n=t.getBoundingClientRect();return h?e.clientX-n.left:e.clientY-n.top}}var d=n(70412),h=n(97623);function v(e){const{reference:t,className:n,containerHeight:i=0,containerWidth:l=0,contentHeight:s=0,contentWidth:a=0,scrollPosTop:c=0,scrollPosLeft:v=0,onVerticalChange:m,onHorizontalChange:p,visible:f}=e,[g,b]=(0,d.useHover)(),[w,E]=(0,r.useState)(!1),C=i{"use strict";n.d(t,{FavoriteButton:()=>d});var r=n(28353),o=n(59496),i=n(97754),l=n(9745),s=n(20614),a=n(55783),c=n(16842);const u={add:(0,r.t)("Add to favorites"),remove:(0,r.t)("Remove from favorites")};function d(e){const{className:t,isFilled:n,isActive:r,onClick:d,...h}=e;return o.createElement(l.Icon,{...h,className:i(c.favorite,"apply-common-tooltip",n&&c.checked,r&&c.active,t),icon:n?s:a,onClick:d,title:n?u.remove:u.add})}},898:(e,t,n)=>{"use strict";n.d(t,{useDimensions:()=>o});var r=n(59496);function o(){const[e,t]=(0,r.useState)(null);return[(0,r.useCallback)(n=>{n.width===(null==e?void 0:e.width)&&n.height===e.height||t(n)},[e]),e]}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>i,useAccurateHover:()=>l,useHover:()=>o});var r=n(59496);function o(){const[e,t]=(0,r.useState)(!1);return[e,{onMouseOver:function(e){i(e)&&t(!0)},onMouseOut:function(e){i(e)&&t(!1)}}]}function i(e){return!e.currentTarget.contains(e.relatedTarget)}function l(e){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const t=t=>{if(null===e.current)return;const r=e.current.contains(t.target);n(r)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},33127:(e,t,n)=>{"use strict";n.d(t,{useOverlayScroll:()=>a});var r=n(59496),o=n(88537),i=n(70412),l=n(49483);const s={onMouseOver:()=>{},onMouseOut:()=>{}};function a(e,t=l.CheckMobile.any()){const n=(0,r.useRef)(null),a=e||(0,r.useRef)(null),[c,u]=(0,i.useHover)(),[d,h]=(0,r.useState)({reference:n,containerHeight:0,containerWidth:0,contentHeight:0,contentWidth:0,scrollPosTop:0,scrollPosLeft:0,onVerticalChange:function(e){h(t=>({...t,scrollPosTop:e})),(0,o.ensureNotNull)(a.current).scrollTop=e},onHorizontalChange:function(e){h(t=>({...t,scrollPosLeft:e})),(0,o.ensureNotNull)(a.current).scrollLeft=e},visible:c}),v=(0,r.useCallback)(()=>{if(!a.current)return -;const{clientHeight:e,scrollHeight:t,scrollTop:r,clientWidth:o,scrollWidth:i,scrollLeft:l}=a.current,s=n.current?n.current.offsetTop:0;h(n=>({...n,containerHeight:e-s,contentHeight:t-s,scrollPosTop:r,containerWidth:o,contentWidth:i,scrollPosLeft:l}))},[]);function m(){h(e=>({...e,scrollPosTop:(0,o.ensureNotNull)(a.current).scrollTop,scrollPosLeft:(0,o.ensureNotNull)(a.current).scrollLeft}))}return(0,r.useEffect)(()=>{c&&v(),h(e=>({...e,visible:c}))},[c]),(0,r.useEffect)(()=>{const e=a.current;return e&&e.addEventListener("scroll",m),()=>{e&&e.removeEventListener("scroll",m)}},[a]),[d,t?s:u,a,v]}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>l});var r=n(59496),o=n(97754),i=n(91626);function l(e){return r.createElement("div",{className:o(i.separator,e.className)})}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>u});var r=n(28353),o=n(59496),i=n(97754),l=n(9745),s=n(73366),a=n(73432);const c={remove:(0,r.t)("Remove")};function u(e){const{className:t,isActive:n,onClick:r,onMouseDown:u,title:d,hidden:h,"data-name":v="remove-button",...m}=e;return o.createElement(l.Icon,{...m,"data-name":v,className:i(a.button,"apply-common-tooltip",n&&a.active,h&&a.hidden,t),icon:s,onClick:r,onMouseDown:u,title:d||c.remove})}},73366:e=>{e.exports=''},37257:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/9837.80435cf54dcab1a9fa8e.js b/charting_library/bundles/9837.80435cf54dcab1a9fa8e.js deleted file mode 100644 index a8b89ef0..00000000 --- a/charting_library/bundles/9837.80435cf54dcab1a9fa8e.js +++ /dev/null @@ -1,9 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9837,9255],{59255:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_), -window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;u.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),O="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);O.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));const T=void 0!==i.ResizeObserver?i.ResizeObserver:E},9837:function(e,t,n){var r,o,i;e.exports=(r=n(59496),o=n(87995),i=n(59255),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var t=n.getDimensions(n._node,e),r="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(t[e]!==n._lastDimensions[e])return n.props.onMeasure(t),r&&void 0!==n&&n.setState({dimensions:t}),n._lastDimensions=t,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new c.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){var t=(e.config,e.whitelist),n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=a.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin;return(0,f.default)(e,{margin:t})}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(i.Component);l.propTypes={whitelist:u.default.array,blacklist:u.default.array,includeMargin:u.default.bool,useClone:u.default.bool,cloneOptions:u.default.object,shouldMeasure:u.default.bool,onMeasure:u.default.func},l.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=l,e.exports=t.default},function(e,t){e.exports=r},function(e,t,n){(function(t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if("production"!==t.env.NODE_ENV){var o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(5)((function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e&&e.$$typeof===o}),!0)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){ -throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(){h&&p&&(h=!1,p.length?d=p.concat(d):v=-1,d.length&&s())}function s(){if(!h){var e=o(i);h=!0;for(var t=d.length;t;){for(p=d,d=[];++v1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.getBoundingClientRect(),o=void 0,i=void 0,s=void 0;return t.margin&&(s=(0,r.default)(getComputedStyle(e))),t.margin?(o=s.left+n.width+s.right,i=s.top+n.height+s.bottom):(o=n.width,i=n.height),{width:o, -height:i,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(16));e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:n((e=e||{}).marginTop),right:n(e.marginRight),bottom:n(e.marginBottom),left:n(e.marginLeft)}};var n=function(e){return parseInt(e)||0};e.exports=t.default}]))}}]); \ No newline at end of file diff --git a/charting_library/bundles/984b9115a6a09b9e5aa9d3a9bee31479.svg b/charting_library/bundles/984b9115a6a09b9e5aa9d3a9bee31479.svg new file mode 100644 index 00000000..4e6a8378 --- /dev/null +++ b/charting_library/bundles/984b9115a6a09b9e5aa9d3a9bee31479.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/98d0d092bc4bf410d77c985fe872f359.webp b/charting_library/bundles/98d0d092bc4bf410d77c985f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@Aljj>gvcQuaz6Mb4p?Zm)tQ%O~NTWVM z_FCv3sFji9%*P>e?Xd0eBZc5Zlng@8P}+jKsQv3Dcyux0^GH`nmh@ne?jWQ^a>Vz5I8s?W7*oA6 zsqtU~T7_ba&4h{FX9-bWB#;qa3ll}QTR%(Ui+Pi!F0ZGcd>Fp9! z_E4lRFdi-yV4(R1+Yz~2wj#uW+HKl~MfPK+s$83LA)llYf*!YNcJfovj9zRCg8tf< zZ2{Wb{2=p4!F+_kq!-Szp7dH@?GqJsO|O5!o}k{EO~bXHixSKw!HlEQEhQix_fmRQ zV^t}^zg;!psY(+@71J9e!Wm#?V4El{$Kn@LK0%wU>+&g \ No newline at end of file diff --git a/charting_library/bundles/9957.6106d5c99e3556405b69.js b/charting_library/bundles/9957.6106d5c99e3556405b69.js new file mode 100644 index 00000000..ba6caa00 --- /dev/null +++ b/charting_library/bundles/9957.6106d5c99e3556405b69.js @@ -0,0 +1,4 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9957],{6539:e=>{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},16178:e=>{e.exports={"close-button":"close-button-WaM0Er9G","close-icon":"close-icon-WaM0Er9G","button-l":"button-l-WaM0Er9G","button-m":"button-m-WaM0Er9G","button-s":"button-s-WaM0Er9G","button-xs":"button-xs-WaM0Er9G","button-xxs":"button-xxs-WaM0Er9G"}},87823:e=>{e.exports={"back-button":"back-button-837Z5B3u",icon:"icon-837Z5B3u","button-m":"button-m-837Z5B3u"}},71036:(e,t,o)=>{"use strict";o.d(t,{SquareAnchorButton:()=>v,SquareButton:()=>h});var n=o(59496),a=o(97754),r=o(95604),s=o(9745),i=o(6539),c=o.n(i);function l(e){const{color:t="brand",size:o="medium",variant:n="primary",stretch:s=!1,icon:i,startIcon:l,endIcon:m,iconOnly:d=!1,className:p,isGrouped:u,cellState:h,disablePositionAdjustment:f=!1}=e,v=function(e){let t="";return 0!==e&&(1&e&&(t=a(t,c()["no-corner-top-left"])),2&e&&(t=a(t,c()["no-corner-top-right"])),4&e&&(t=a(t,c()["no-corner-bottom-right"])),8&e&&(t=a(t,c()["no-corner-bottom-left"]))),t}((0,r.getGroupCellRemoveRoundBorders)(h));return a(p,c().button,c()["size-"+o],c()["color-"+t],c()["variant-"+n],s&&c().stretch,(i||l)&&c()["with-start-icon"],m&&c()["with-end-icon"],d&&c()["icon-only"],v,u&&c().grouped,u&&!f&&c()["adjust-position"],u&&h.isTop&&c()["first-row"],u&&h.isLeft&&c()["first-col"])}function m(e){const{size:t,startIcon:o,icon:a,iconOnly:r,children:i,endIcon:l}=e,m=null!=o?o:a;return n.createElement(n.Fragment,null,m&&"xsmall"!==t&&n.createElement(s.Icon,{icon:m,className:c()["start-icon-wrap"]}),i&&n.createElement("span",{className:c().content},i),l&&!r&&"xsmall"!==t&&n.createElement(s.Icon,{icon:l,className:c()["end-icon-wrap"]}))}var d=o(86332),p=o(90186);function u(e){const{className:t,color:o,variant:n,size:a,stretch:r,animated:s,icon:i,iconOnly:c,startIcon:l,endIcon:m,...d}=e;return{...d,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function h(e){ +const{reference:t,...o}=e,{isGrouped:a,cellState:r,disablePositionAdjustment:s}=(0,n.useContext)(d.ControlGroupContext),i=l({...o,isGrouped:a,cellState:r,disablePositionAdjustment:s});return n.createElement("button",{...u(o),className:i,ref:t},n.createElement(m,{...o}))}function f(e){const{className:t,color:o,variant:n,size:a,stretch:r,animated:s,icon:i,iconOnly:c,startIcon:l,endIcon:m,...d}=e;return{...d,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function v(e){const{reference:t}=e,{isGrouped:o,cellState:a,disablePositionAdjustment:r}=(0,n.useContext)(d.ControlGroupContext),s=l({...e,isGrouped:o,cellState:a,disablePositionAdjustment:r});return n.createElement("a",{...f(e),className:s,ref:t},n.createElement(m,{...e}))}},35582:(e,t,o)=>{"use strict";o.d(t,{CloseButton:()=>h});var n=o(59496),a=o(97754),r=o(9745),s=o(64120),i=o(12565),c=o(95781),l=o(7801),m=o(33584),d=o(16178),p=o.n(d);function u(e="l"){switch(e){case"l":return s;case"m":return i;case"s":return c;case"xs":return l;case"xxs":return m;default:return i}}const h=n.forwardRef((e,t)=>{const{className:o,size:s,...i}=e,c=a(p()["close-button"],p()["button-"+s],o);return n.createElement("button",{...i,type:"button",className:c,ref:t},n.createElement(r.Icon,{icon:u(s),className:p()["close-icon"],"aria-hidden":!0}))})},74664:(e,t,o)=>{"use strict";o.d(t,{breakpoints:()=>n,mobileFirstBreakpoints:()=>a,mobileFirstLegacyBreakpoints:()=>r});const n={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019},a={base:0,"media-mf-phone-vertical":320,"media-mf-phone-landscape":568,"media-mf-tablet-vertical":768,"media-mf-tablet-landscape":1024,"media-mf-laptop":1280,"media-mf-desktop-medium":1440,"media-mf-desktop-large":1920,"media-mf-desktop-extra-large":2560},r={"media-mf-legacy-phone-vertical":330,"media-mf-legacy-phone":480,"media-mf-legacy-notebook":1020,"media-mf-legacy-desktop-medium":1480,"media-mf-legacy-desktop":1531}},41145:(e,t,o)=>{"use strict";o.d(t,{BackButton:()=>m});var n=o(59496),a=o(97754),r=o(9745),s=o(70895),i=o(81925),c=o(99803),l=o(87823);const m=n.forwardRef((e,t)=>{const{className:o,size:m,...d}=e,p=a(l["back-button"],l["button-"+m],o);return n.createElement("button",{...d,type:"button",className:p,ref:t},n.createElement(r.Icon,{icon:function(e="l"){switch(e){case"l":return s;case"m":return i;case"s":return c;default:return s}}(m),className:l.icon}))})},67844:(e,t,o)=>{"use strict";o.d(t,{CloseButton:()=>n.CloseButton});var n=o(35582)},54690:(e,t,o)=>{"use strict";o.d(t,{ResponsiveContainer:()=>f});var n=o(59496),a=o(97754),r=o(59255),s=o(88537),i=o(74664);const c={...i.mobileFirstBreakpoints,...i.mobileFirstLegacyBreakpoints},l=["base","media-mf-phone-vertical","media-mf-legacy-phone-vertical","media-mf-legacy-phone","media-mf-phone-landscape","media-mf-tablet-vertical","media-mf-legacy-notebook","media-mf-tablet-landscape","media-mf-laptop","media-mf-desktop-medium","media-mf-legacy-desktop-medium","media-mf-legacy-desktop","media-mf-desktop-large","media-mf-desktop-extra-large"],m={base:!0,"media-mf-phone-vertical":!1, +"media-mf-phone-landscape":!1,"media-mf-tablet-vertical":!1,"media-mf-tablet-landscape":!1,"media-mf-laptop":!1,"media-mf-desktop-medium":!1,"media-mf-desktop-large":!1,"media-mf-desktop-extra-large":!1,"media-mf-legacy-phone-vertical":!1,"media-mf-legacy-phone":!1,"media-mf-legacy-notebook":!1,"media-mf-legacy-desktop-medium":!1,"media-mf-legacy-desktop":!1};var d;function p(e){const t=Object.values(c).filter(t=>t>e);return[...l].reverse().slice(t.length)}!function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"}(d||(d={}));const u={base:"responsive-container-base","media-mf-phone-vertical":"responsive-container-media-mf-phone-vertical","media-mf-phone-landscape":"responsive-container-media-mf-phone-landscape","media-mf-tablet-vertical":"responsive-container-media-mf-tablet-vertical","media-mf-tablet-landscape":"responsive-container-media-mf-tablet-landscape","media-mf-laptop":"responsive-container-media-mf-laptop","media-mf-desktop-medium":"responsive-container-media-mf-desktop-medium","media-mf-desktop-large":"responsive-container-media-mf-desktop-large","media-mf-desktop-extra-large":"responsive-container-media-mf-desktop-extra-large","media-mf-legacy-phone-vertical":"responsive-container-media-mf-legacy-phone-vertical","media-mf-legacy-phone":"responsive-container-media-mf-legacy-phone","media-mf-legacy-notebook":"responsive-container-media-mf-legacy-notebook","media-mf-legacy-desktop-medium":"responsive-container-media-mf-legacy-desktop-medium","media-mf-legacy-desktop":"responsive-container-media-mf-legacy-desktop"};const h=n.createContext(m);class f extends n.PureComponent{constructor(e){super(e),this._ref=n.createRef(),this._lastChange=null,this._floatingBreakpoints={...c},this._handleResize=e=>{const{activeBreakpoints:t,firstUpdate:o}=this.state,n=e[0].contentRect.width,a=l.filter(e=>n>=this._floatingBreakpoints[e]).reverse();a.length!==t.length&&(o||(this._lastChange=a.length>t.length?d.Increase:d.Decrease),this.setState({activeBreakpoints:a}))};const{initialBreakPoint:t}=e,o=void 0===t?document.documentElement.offsetWidth:c[t];this.state={activeBreakpoints:p(o),firstUpdate:!0},this._resizeObserver=new r.default(this._handleResize)}componentDidMount(){const e=(0,s.ensureNotNull)(this._ref.current);this._resizeObserver.observe(e),void 0!==this.props.initialBreakPoint&&this.setState({activeBreakpoints:p(e.offsetWidth)})}componentWillUnmount(){const e=(0,s.ensureNotNull)(this._ref.current);this._resizeObserver.unobserve(e)}render(){const{children:e,className:t,onMouseUp:o}=this.props,{activeBreakpoints:r}=this.state,s={...m};for(const e in s)s.hasOwnProperty(e)&&(s[e]=r.includes(e));const i=r.map(e=>u[e]);return n.createElement(h.Provider,{value:s},n.createElement("div",{ref:this._ref,onMouseUp:o,className:a(t,i),"data-name":this.props["data-name"]},e))}componentDidUpdate(){const e=(0,s.ensureNotNull)(this._ref.current).offsetWidth;if(this.state.firstUpdate)return void this.setState({firstUpdate:!1,activeBreakpoints:p(e)});const{activeBreakpoints:t}=this.state,o=t[0],n=l[t.length] +;this._floatingBreakpoints={...c},this._lastChange===d.Increase?this._floatingBreakpoints[o]=e:this._lastChange===d.Decrease&&(this._floatingBreakpoints[n]=e+1),this._lastChange=null}}},64120:e=>{e.exports=''},95781:e=>{e.exports=''},7801:e=>{e.exports=''},33584:e=>{e.exports=''},70895:e=>{e.exports=''},81925:e=>{e.exports=''},99803:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/9961.9ec3499981d0cb5615f7.css b/charting_library/bundles/9961.9ec3499981d0cb5615f7.css new file mode 100644 index 00000000..e52a1d30 --- /dev/null +++ b/charting_library/bundles/9961.9ec3499981d0cb5615f7.css @@ -0,0 +1 @@ +.wrap-2oYqsh7S{-webkit-overflow-scrolling:touch;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transform:translateZ(0)}.wrap-2oYqsh7S::-webkit-scrollbar{display:none}.container-2oYqsh7S{height:100%;text-align:center}.container-2oYqsh7S:after{content:"";display:inline-block;height:100%;vertical-align:middle}.backdrop-2oYqsh7S{background-color:#9598a180;bottom:0;left:0;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-2oYqsh7S{background-color:#0c0e1580}.modal-2oYqsh7S{display:inline-block;vertical-align:middle}.dialog-2oYqsh7S{margin:0 auto} \ No newline at end of file diff --git a/charting_library/bundles/9961.9ec3499981d0cb5615f7.rtl.css b/charting_library/bundles/9961.9ec3499981d0cb5615f7.rtl.css new file mode 100644 index 00000000..e52a1d30 --- /dev/null +++ b/charting_library/bundles/9961.9ec3499981d0cb5615f7.rtl.css @@ -0,0 +1 @@ +.wrap-2oYqsh7S{-webkit-overflow-scrolling:touch;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transform:translateZ(0)}.wrap-2oYqsh7S::-webkit-scrollbar{display:none}.container-2oYqsh7S{height:100%;text-align:center}.container-2oYqsh7S:after{content:"";display:inline-block;height:100%;vertical-align:middle}.backdrop-2oYqsh7S{background-color:#9598a180;bottom:0;left:0;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-2oYqsh7S{background-color:#0c0e1580}.modal-2oYqsh7S{display:inline-block;vertical-align:middle}.dialog-2oYqsh7S{margin:0 auto} \ No newline at end of file diff --git a/charting_library/bundles/9a4ecd71d78aab6194857007fcc20464.svg b/charting_library/bundles/9a4ecd71d78aab6194857007fcc20464.svg new file mode 100644 index 00000000..9f2ea869 --- /dev/null +++ b/charting_library/bundles/9a4ecd71d78aab6194857007fcc20464.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9b07bb7dc3737b56b1b93989582dfcae.webp b/charting_library/bundles/9b07bb7dc3737b56b1b93989582dfcae.webp new file mode 100644 index 0000000000000000000000000000000000000000..3f34ef7ac7305a83dfc47871dc36e9d5884bcdd5 GIT binary patch literal 42212 zcmd4119+revo0J>Y$p?EV%xTjiESqn+qP}nnTc(i6WeB=nfcy*&OYDP+4}c?U3GQ$ zdU`$mtg3a_UA3xOQ9@L7y$}dUO+-*$Ri2$-`q$^HERZZ9teQvXzx^mu|ZiaqN=ITZOumJ+kX&3hoUbh~$Z(9OBHr_pekhi7% zl4-CP9}U1#h0lvlqbs_PM?UBW9XozKVEA4H00#(yLBY2EAC>aC#^H%m8h6i;?Yo<$ zlJS&sE-#BDf8E(l!=6(-c=gd<7P8L+N8VwKR{%drx z*uD)(?tay=@f_Ke$=Cn0tZc?D>tAc!m8|}?#%$(=zC(oHYyS1U;lCite3H%qWKk*_ z{J-8wNcz5uL(sUpoe{As3%>K}H_S~MtSFf!amaRCXEsWkw+y=npY@F~=gk!3Eb6rC zei&UB&oKOw@+vOf82z4v!3^O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g@IP!_LG1tl literal 0 HcmV?d00001 diff --git a/charting_library/bundles/9b10f00f014bc0f9d1a452e07a0d161a.svg b/charting_library/bundles/9b10f00f014bc0f9d1a452e07a0d161a.svg new file mode 100644 index 00000000..a70f38b6 --- /dev/null +++ b/charting_library/bundles/9b10f00f014bc0f9d1a452e07a0d161a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9b5c4a3a01194407c91bf996bba0c1a4.svg b/charting_library/bundles/9b5c4a3a01194407c91bf996bba0c1a4.svg new file mode 100644 index 00000000..911d04eb --- /dev/null +++ b/charting_library/bundles/9b5c4a3a01194407c91bf996bba0c1a4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9b979eba8adb5bda46b48a4d26ccf2de.svg b/charting_library/bundles/9b979eba8adb5bda46b48a4d26ccf2de.svg new file mode 100644 index 00000000..124cc132 --- /dev/null +++ b/charting_library/bundles/9b979eba8adb5bda46b48a4d26ccf2de.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9bd0f4d3395d3c7f81660e6885b07378.svg b/charting_library/bundles/9bd0f4d3395d3c7f81660e6885b07378.svg new file mode 100644 index 00000000..168ae472 --- /dev/null +++ b/charting_library/bundles/9bd0f4d3395d3c7f81660e6885b07378.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9ca15e62dcca53e34d89a4e5dc98522c.svg b/charting_library/bundles/9ca15e62dcca53e34d89a4e5dc98522c.svg new file mode 100644 index 00000000..a1f795ae --- /dev/null +++ b/charting_library/bundles/9ca15e62dcca53e34d89a4e5dc98522c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9cd754df5f0f7f46944a9abd08f279f6.svg b/charting_library/bundles/9cd754df5f0f7f46944a9abd08f279f6.svg new file mode 100644 index 00000000..70b49485 --- /dev/null +++ b/charting_library/bundles/9cd754df5f0f7f46944a9abd08f279f6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9d4c66fc04fd990e8bfd29411fb33650.svg b/charting_library/bundles/9d4c66fc04fd990e8bfd29411fb33650.svg new file mode 100644 index 00000000..5bc4e1b1 --- /dev/null +++ b/charting_library/bundles/9d4c66fc04fd990e8bfd29411fb33650.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9d67227cfad5ec4cdbe9f0cd169856c5.svg b/charting_library/bundles/9d67227cfad5ec4cdbe9f0cd169856c5.svg new file mode 100644 index 00000000..2bea4b7e --- /dev/null +++ b/charting_library/bundles/9d67227cfad5ec4cdbe9f0cd169856c5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9d7b9ed22b710cbeeb852226989e1bc7.svg b/charting_library/bundles/9d7b9ed22b710cbeeb852226989e1bc7.svg new file mode 100644 index 00000000..fc2ae6b4 --- /dev/null +++ b/charting_library/bundles/9d7b9ed22b710cbeeb852226989e1bc7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9e8a00c2e2b16d8ece1e344906002df9.svg b/charting_library/bundles/9e8a00c2e2b16d8ece1e344906002df9.svg new file mode 100644 index 00000000..fd89c2f7 --- /dev/null +++ b/charting_library/bundles/9e8a00c2e2b16d8ece1e344906002df9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9efe6680cb2318c0ff0e818ade988fa1.svg b/charting_library/bundles/9efe6680cb2318c0ff0e818ade988fa1.svg new file mode 100644 index 00000000..2250c042 --- /dev/null +++ b/charting_library/bundles/9efe6680cb2318c0ff0e818ade988fa1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/9f9bbea98fd39966101544a0c55e14e5.svg b/charting_library/bundles/9f9bbea98fd39966101544a0c55e14e5.svg new file mode 100644 index 00000000..b22da834 --- /dev/null +++ b/charting_library/bundles/9f9bbea98fd39966101544a0c55e14e5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a1276c0533823933334715fc20c6742e.svg b/charting_library/bundles/a1276c0533823933334715fc20c6742e.svg new file mode 100644 index 00000000..6c41dd20 --- /dev/null +++ b/charting_library/bundles/a1276c0533823933334715fc20c6742e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a2f98c60137c8c2eb3d3fb96c7767876.svg b/charting_library/bundles/a2f98c60137c8c2eb3d3fb96c7767876.svg new file mode 100644 index 00000000..87873ccc --- /dev/null +++ b/charting_library/bundles/a2f98c60137c8c2eb3d3fb96c7767876.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a54eae35e396c3f9ec2c154c8389933e.svg b/charting_library/bundles/a54eae35e396c3f9ec2c154c8389933e.svg new file mode 100644 index 00000000..473ed15f --- /dev/null +++ b/charting_library/bundles/a54eae35e396c3f9ec2c154c8389933e.svg @@ -0,0 +1 @@ + diff --git a/charting_library/bundles/a61ec3126315febd0304300cb8098ae5.svg b/charting_library/bundles/a61ec3126315febd0304300cb8098ae5.svg new file mode 100644 index 00000000..d215bffa --- /dev/null +++ b/charting_library/bundles/a61ec3126315febd0304300cb8098ae5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a6827773500226a7aa4fb09ce14ad72d.svg b/charting_library/bundles/a6827773500226a7aa4fb09ce14ad72d.svg new file mode 100644 index 00000000..9f4f9781 --- /dev/null +++ b/charting_library/bundles/a6827773500226a7aa4fb09ce14ad72d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a685e425d7c7db0c14c7b97352f4dd4b.svg b/charting_library/bundles/a685e425d7c7db0c14c7b97352f4dd4b.svg new file mode 100644 index 00000000..65485c78 --- /dev/null +++ b/charting_library/bundles/a685e425d7c7db0c14c7b97352f4dd4b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a6b73d85f90f4b55b4d8560f175fb635.svg b/charting_library/bundles/a6b73d85f90f4b55b4d8560f175fb635.svg new file mode 100644 index 00000000..f9b60129 --- /dev/null +++ b/charting_library/bundles/a6b73d85f90f4b55b4d8560f175fb635.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a6ccd18373271b1e45b1ca35f8825c8d.svg b/charting_library/bundles/a6ccd18373271b1e45b1ca35f8825c8d.svg new file mode 100644 index 00000000..e896d9b7 --- /dev/null +++ b/charting_library/bundles/a6ccd18373271b1e45b1ca35f8825c8d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a7de26af1e65164293180f1c5ddcf8de.svg b/charting_library/bundles/a7de26af1e65164293180f1c5ddcf8de.svg new file mode 100644 index 00000000..b875f3a1 --- /dev/null +++ b/charting_library/bundles/a7de26af1e65164293180f1c5ddcf8de.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a824441dbd28500e1d345c0b62aa4220.svg b/charting_library/bundles/a824441dbd28500e1d345c0b62aa4220.svg new file mode 100644 index 00000000..48c5f0ff --- /dev/null +++ b/charting_library/bundles/a824441dbd28500e1d345c0b62aa4220.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a825a6c4082ba46b45131ab0bd16d96c.svg b/charting_library/bundles/a825a6c4082ba46b45131ab0bd16d96c.svg new file mode 100644 index 00000000..658711ed --- /dev/null +++ b/charting_library/bundles/a825a6c4082ba46b45131ab0bd16d96c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a83c7f196f69856c6661350dcd280ca2.svg b/charting_library/bundles/a83c7f196f69856c6661350dcd280ca2.svg new file mode 100644 index 00000000..57522ebf --- /dev/null +++ b/charting_library/bundles/a83c7f196f69856c6661350dcd280ca2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a846e4087642a8ea8bf05187847140c6.svg b/charting_library/bundles/a846e4087642a8ea8bf05187847140c6.svg new file mode 100644 index 00000000..af74470d --- /dev/null +++ b/charting_library/bundles/a846e4087642a8ea8bf05187847140c6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/a86b168bc533484e6274628d63888308.svg b/charting_library/bundles/a86b168bc533484e6274628d63888308.svg new file mode 100644 index 00000000..90abf5b2 --- /dev/null +++ b/charting_library/bundles/a86b168bc533484e6274628d63888308.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ab02a73c827877d701e4dd32eb729ed9.svg b/charting_library/bundles/ab02a73c827877d701e4dd32eb729ed9.svg new file mode 100644 index 00000000..cd0bd2d6 --- /dev/null +++ b/charting_library/bundles/ab02a73c827877d701e4dd32eb729ed9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ab0aa08606b4a9db4f1d6115cbff1246.svg b/charting_library/bundles/ab0aa08606b4a9db4f1d6115cbff1246.svg new file mode 100644 index 00000000..0b29dcef --- /dev/null +++ b/charting_library/bundles/ab0aa08606b4a9db4f1d6115cbff1246.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ab7157b7c6ad79e8d21141a860febcfa.svg b/charting_library/bundles/ab7157b7c6ad79e8d21141a860febcfa.svg new file mode 100644 index 00000000..1028f8c1 --- /dev/null +++ b/charting_library/bundles/ab7157b7c6ad79e8d21141a860febcfa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/aca94e827472fdbe847af7982d2e10f1.svg b/charting_library/bundles/aca94e827472fdbe847af7982d2e10f1.svg new file mode 100644 index 00000000..2377c83f --- /dev/null +++ b/charting_library/bundles/aca94e827472fdbe847af7982d2e10f1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/acbf476d27fe229ca0b0c1fc6df67e35.svg b/charting_library/bundles/acbf476d27fe229ca0b0c1fc6df67e35.svg new file mode 100644 index 00000000..5baf7c2b --- /dev/null +++ b/charting_library/bundles/acbf476d27fe229ca0b0c1fc6df67e35.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ad82bf804943b35baebe7dff417a2904.svg b/charting_library/bundles/ad82bf804943b35baebe7dff417a2904.svg new file mode 100644 index 00000000..387f7bfa --- /dev/null +++ b/charting_library/bundles/ad82bf804943b35baebe7dff417a2904.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/add-compare-dialog.2967dfb4ca0b9cbae879.js b/charting_library/bundles/add-compare-dialog.2967dfb4ca0b9cbae879.js new file mode 100644 index 00000000..1fa77824 --- /dev/null +++ b/charting_library/bundles/add-compare-dialog.2967dfb4ca0b9cbae879.js @@ -0,0 +1,10 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[731],{59142:function(e,t){var o,n,r;n=[t],void 0===(r="function"==typeof(o=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t{e.exports={wrapper:"wrapper-5Xd5conM",input:"input-5Xd5conM",box:"box-5Xd5conM",icon:"icon-5Xd5conM",noOutline:"noOutline-5Xd5conM","intent-danger":"intent-danger-5Xd5conM",check:"check-5Xd5conM", +dot:"dot-5Xd5conM"}},71489:e=>{e.exports={button:"button-MtWCmkmc",bordersVisible:"bordersVisible-MtWCmkmc",selected:"selected-MtWCmkmc"}},72142:e=>{e.exports={footer:"footer-C0oTZgbU"}},35725:e=>{e.exports={wrap:"wrap-IVoYCPDG",header:"header-IVoYCPDG",item:"item-IVoYCPDG"}},74618:e=>{e.exports={label:"label-jkX9S6js"}},61257:e=>{e.exports={scrollable:"scrollable-JgZSADtd",spinnerWrap:"spinnerWrap-JgZSADtd",item:"item-JgZSADtd",heading:"heading-JgZSADtd",checkboxWrap:"checkboxWrap-JgZSADtd",checkbox:"checkbox-JgZSADtd",emptyState:"emptyState-JgZSADtd",image:"image-JgZSADtd",text:"text-JgZSADtd"}},20512:e=>{e.exports={dialog:"dialog-VLZxw4Dg",tablet:"tablet-VLZxw4Dg"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},84413:(e,t,o)=>{"use strict";o.d(t,{CheckboxInput:()=>s});var n=o(59496),r=o(97754),a=o(9745),l=o(49154),c=o(37593),i=o.n(c);function s(e){const t=r(i().box,i()["intent-"+e.intent],{[i().check]:!Boolean(e.indeterminate),[i().dot]:Boolean(e.indeterminate),[i().noOutline]:-1===e.tabIndex}),o=r(i().wrapper,e.className);return n.createElement("span",{className:o,title:e.title},n.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:i().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}),n.createElement("span",{className:t},n.createElement(a.Icon,{icon:l,className:i().icon})))}},39362:(e,t,o)=>{"use strict";o.d(t,{SymbolSearchDialogFooter:()=>c});var n=o(59496),r=o(97754),a=o.n(r),l=o(72142);function c(e){const{className:t,children:o}=e;return n.createElement("div",{className:a()(l.footer,t)},o)}},89035:(e,t,o)=>{"use strict";o.r(t),o.d(t,{getCompareDialogRenderer:()=>ie});var n=o(59496),r=o(28353),a=o(32563),l=o(67337),c=o(89453),i=o(97754),s=o.n(i),d=o(9837),u=o.n(d),m=o(88537),p=o(9745),h=o(86656),v=o(77975),f=o(61074),g=o(26843),b=o(45345),S=o(84524),C=o(5648);const w=n.createContext(null);var y=o(70412),x=o(78036);const E=n.createContext(null);var I=o(16396),k=o(41590),M=o(37558),D=o(71489);function N(e){const{theme:t=D,children:o,onClick:r,isSelected:a,areBordersVisible:l,isItemSelected:c,className:i,value:d,name:u}=e;return n.createElement("button",{type:"button",className:s()(i,t.button,a&&t.selected,l&&!a&&!c&&t.bordersVisible),name:u,value:d,onClick:r},o)}function O(e){const{value:t,onClick:o,...r}=e,a=(0,n.useCallback)(e=>o(t,e),[t,o]);return n.createElement(N,{...r,value:String(t),onClick:a})}var T=o(46148),A=o(35725);const _={sameScale:(0, +r.t)("Same % scale"),newPriceScale:(0,r.t)("New price scale"),newPane:(0,r.t)("New pane")};function P(e){const{fullSymbolName:t,isSelected:o,className:a}=e,{isMobile:l,searchRef:i,setMode:d}=(0,x.useEnsuredContext)(S.SymbolSearchItemsDialogContext),{compareModel:u,selectedCompareOption:m,setHoveredItemId:p,clearInput:h,allowExtendTimeScale:v}=(0,x.useEnsuredContext)(w),{callback:f}=(0,x.useEnsuredContext)(E);return l?n.createElement(M.DrawerManager,null,n.createElement(k.Drawer,{position:"Bottom",onClose:g.bind(null,!1)},n.createElement("div",{className:A.header},(0,r.t)("Add to")),n.createElement(I.PopupMenuItem,{className:A.item,onClick:b,onClickArg:T.CompareOption.SameScale,label:_.sameScale}),n.createElement(I.PopupMenuItem,{className:A.item,onClick:b,onClickArg:T.CompareOption.NewPriceScale,label:_.newPriceScale}),n.createElement(I.PopupMenuItem,{className:A.item,onClick:b,onClickArg:T.CompareOption.NewPane,label:_.newPane}))):n.createElement("div",{className:s()(A.wrap,a),"data-name":"compare-buttons-group"},n.createElement(O,{onClick:b,value:T.CompareOption.SameScale,isItemSelected:Boolean(o),isSelected:o&&m===T.CompareOption.SameScale},_.sameScale),n.createElement(O,{onClick:b,value:T.CompareOption.NewPriceScale,isItemSelected:Boolean(o),isSelected:o&&m===T.CompareOption.NewPriceScale},_.newPriceScale),n.createElement(O,{onClick:b,value:T.CompareOption.NewPane,isItemSelected:Boolean(o),isSelected:o&&m===T.CompareOption.NewPane},_.newPane));function g(e){l&&f&&f(),h&&e&&h(i,d)}function b(e,o){if(o.preventDefault(),u&&t&&void 0!==e){(0,c.getSymbolSearchCompleteOverrideFunction)()(t).then(t=>{u.applyStudy(t,e,v),p(""),g(!0)})}}}function B(e){const{isSelected:t,fullSymbolName:o,onExpandClick:r,actions:l,id:i,isOffset:s}=e,{isMobile:d,toggleExpand:u,searchSpreads:m,searchRef:p,setMode:h,mode:v}=(0,x.useEnsuredContext)(S.SymbolSearchItemsDialogContext),{compareModel:f,hoveredItemId:g,setHoveredItemId:b,clearInput:I,allowExtendTimeScale:k}=(0,x.useEnsuredContext)(w),[M,D]=(0,n.useState)(!1),N=(0,n.useRef)(null),O=(0,y.useAccurateHover)(N),A=(0,n.useMemo)(()=>({callback:R}),[R]),_=!Boolean(r)&&!Boolean(l),B=i===g;return n.createElement(E.Provider,{value:A},n.createElement(C.SymbolSearchDialogContentItem,{hideMarkedListFlag:"compare"===v,...e,reference:N,onClick:function(t){if(Boolean(r)&&i&&!s)return t.preventDefault(),void u(i);if(!M&&d)return void D(!0);if(m&&e.onClick)return void e.onClick(t);if((a.mobiletouch?B:!M)&&o){(0,c.getSymbolSearchCompleteOverrideFunction)()(o).then(e=>{f.applyStudy(e,T.CompareOption.SameScale,k)}),b(""),I&&I(p,h)}a.mobiletouch&&!d&&!B&&i&&b(i)},hoverComponent:function(){if(!_)return!1;if(d)return M;if(a.mobiletouch)return B;return Boolean(O||t)}()?P:void 0}));function R(){D(!1)}}var R=o(35932),H=o(68974),L=o(86440),z=o(61257);function F(e){const{handleListWidth:t}=(0,m.ensureNotNull)((0,n.useContext)(S.SymbolSearchItemsDialogContext)),{compareModel:o,selectedCompareIndex:a,selectedItemRef:l}=(0,m.ensureNotNull)((0,n.useContext)(w)),c=(0,v.useWatchedValueReadonly)({ +watchedValue:o.isDataReady()}),i=(0,v.useWatchedValueReadonly)({watchedValue:o.studies()}),d=(0,v.useWatchedValueReadonly)({watchedValue:o.highlightedSymbol()}),y=(0,n.useMemo)(()=>i.filter(e=>e.checked),[i]),x=(0,n.useMemo)(()=>i.filter(e=>!e.checked),[i]);return(0,n.useEffect)(()=>(o.chartModel().dataSourceCollectionChanged().subscribe(o,o.handleSourcesChange),()=>o.chartModel().dataSourceCollectionChanged().unsubscribe(o,o.handleSourcesChange)),[o]),n.createElement(u(),{onMeasure:function(e){t(e.width)}},n.createElement(h.TouchScrollContainer,{className:z.scrollable},function(){if(!c)return n.createElement("div",{className:z.spinnerWrap},n.createElement(f.Spinner,null));if(!Boolean(y.length)&&!Boolean(x.length)){const e=b.watchedTheme.value()===g.StdTheme.Dark?H:R;return n.createElement("div",{className:z.emptyState},n.createElement(p.Icon,{className:z.image,icon:e}),n.createElement("div",{className:z.text},(0,r.t)("No symbols here yet — why not add some?")))}return n.createElement(n.Fragment,null,Boolean(y.length)&&n.createElement(n.Fragment,null,n.createElement("div",{className:z.heading},(0,r.t)("Added symbols")),y.map((e,t)=>n.createElement(C.SymbolSearchDialogContentItem,{"data-role":"added-symbol-item",className:z.item,key:e.id,id:e.id,shortName:e.title,title:e.title,logoId:e.logoId,currencyLogoId:e.currencyLogoId,baseCurrencyLogoId:e.baseCurrencyLogoId,dangerousDescriptionHTML:e.description,exchangeName:e.exchangeName,marketType:e.marketType,country:e.country,providerId:e.providerId,onClick:E.bind(null,e),isHighlighted:e.id===d,isSelected:I(e),itemRef:I(e)?l:void 0,actions:n.createElement("div",{className:z.checkboxWrap},n.createElement(N,{className:z.checkbox,onClick:E.bind(null,e),isSelected:I(e)},n.createElement(p.Icon,{icon:L})))}))),Boolean(x.length)&&n.createElement(n.Fragment,null,n.createElement("div",{className:z.heading},(0,r.t)("Recent symbols")),x.map(e=>n.createElement(B,{"data-role":"recent-symbol-item",className:s()(z.item,e.id===d&&z.highlighted),key:e.id,id:e.id,shortName:e.title,logoId:e.logoId,currencyLogoId:e.currencyLogoId,baseCurrencyLogoId:e.baseCurrencyLogoId,title:e.title,dangerousDescriptionHTML:e.description,exchangeName:e.exchangeName,marketType:e.marketType,country:e.country,providerId:e.providerId,fullSymbolName:e.symbol,isSelected:I(e),itemRef:I(e)?l:void 0}))))}()));function E(e,t){t.preventDefault(),o.removeStudy(e)}function I(e){return i.indexOf(e)===a}}var V=o(56840);class W extends n.PureComponent{constructor(e){super(e),this._selectedItemRef=n.createRef(),this._getContextValue=()=>{const{compareModel:e}=this.props,{selectedCompareOption:t,selectedCompareIndex:o,hoveredItemId:n,allowExtendTimeScale:r}=this.state;return{compareModel:e,selectedCompareOption:t,setSelectedCompareOption:this._setSelectedCompareOption,hoveredItemId:n,setHoveredItemId:this._setHoveredItemId,selectedCompareIndex:o,setSelectedCompareIndex:this._setSelectedCompareIndex,selectedItemRef:this._selectedItemRef,clearInput:this._clearInput,allowExtendTimeScale:r, +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;V.setValue("showAddSymbolDialog.extendCheckboxState",e),this.setState({allowExtendTimeScale:e})},this.state={selectedCompareOption:0,selectedCompareIndex:-1,hoveredItemId:void 0,allowExtendTimeScale:Boolean(V.getBool("showAddSymbolDialog.extendCheckboxState"))}}render(){const{children:e}=this.props;return n.createElement(w.Provider,{value:this._getContextValue()},e)}}var G=o(68335),J=o(85457),Z=o(20512);const j=Object.keys(T.CompareOption).length/2;function X(e){const{openedItems:t,searchRef:o,feedItems:r,selectedIndex:a,toggleExpand:l,onSearchComplete:c,mode:s,setMode:d,setSelectedIndex:u,isMobile:m,isTablet:p,onClose:h,upperCaseEnabled:f}=(0,x.useEnsuredContext)(S.SymbolSearchItemsDialogContext),{compareModel:g,hoveredItemId:b,setHoveredItemId:C,selectedCompareOption:y,setSelectedCompareOption:E,selectedCompareIndex:I,setSelectedCompareIndex:k,selectedItemRef:M,clearInput:D,allowExtendTimeScale:N}=(0,x.useEnsuredContext)(w),O=(0,v.useWatchedValueReadonly)({watchedValue:g.studies()}),T=r[a],A="compare"===s;return(0,n.useEffect)(()=>{b&&C(""),I&&k(-1)},[s]),n.createElement(J.AdaptivePopupDialog,{...e,className:i(Z.dialog,!m&&p&&Z.tablet),onKeyDown:function(e){var n;const i=(0,G.hashFromEvent)(e),s=A?I:a,u=A?O:r;switch(i){case 38:if(e.preventDefault(),0===s)return;if(-1===s)return void _(0);_(s-1);break;case 40:if(e.preventDefault(),s===u.length-1)return;_(s+1);break;case 37:{const o=B();if(o&&t.has(o))return e.preventDefault(),void l(o);if(!y||o)return;e.preventDefault(),E(y-1);break}case 39:{const o=B();if(o&&!t.has(o))return e.preventDefault(),void l(o);if(y===j-1||o)return;e.preventDefault(),E(y+1);break}case 13:{if(A)return void function(){if(-1===I)return;const e=O[I];e.checked?g.removeStudy(e):g.applyStudy(e.symbol,y,N);k(-1)}();const t=B();if(t)return e.preventDefault(),void l(t);e.preventDefault();const r=null===(n=null==o?void 0:o.current)||void 0===n?void 0:n.value.trim();r&&D&&(c([{symbol:f?r.toUpperCase():r,resolved:!1,compareOption:y,allowExtendTimeScale:N}]),D(o,d));break}case 27:e.preventDefault(),h()}},dataName:"compare-dialog",draggable:!0});function _(e){A?k(e,P):u(e)}function P(){var e;null===(e=M.current)||void 0===e||e.scrollIntoView({block:"nearest"})}function B(){if(!T)return;const{id:e,isOffset:t,onExpandClick:o}=T;return!t&&Boolean(o)&&e?e:void 0}}var Q=o(87995),U=o(24389),Y=o(12045),K=(o(1861),o(22729));class q extends K.DialogRenderer{constructor(e){super(),this._props=e}show(){if(this.visible().value())return;const e=n.createElement(U.QuoteSessionContext.Provider,{value:null},n.createElement(Y.SymbolSearchItemsDialog,{...this._props, +initialMode:this._props.initialMode||"symbolSearch",onClose:()=>this.hide()}));Q.render(e,this._container),this._setVisibility(!0)}hide(){var e,t;Q.unmountComponentAtNode(this._container),this._visibility.setValue(!1),null===(t=(e=this._props).onClose)||void 0===t||t.call(e)}}var $=o(81319),ee=o(69654),te=o(70613);function oe(e){const{searchRef:t,setMode:o}=(0,x.useEnsuredContext)(S.SymbolSearchItemsDialogContext),{currentMode:r}=(0,x.useEnsuredContext)(te.SymbolSearchDialogBodyContext);return(0,n.useEffect)(()=>{const e=t.current;if(e)return e.addEventListener("input",a),()=>{e&&e.removeEventListener("input",a)}},[]),n.createElement(ee.DialogSearch,{...e});function a(){var e,n,a,l;t.current&&r&&("compare"!==r.current||""===(null===(n=null===(e=null==t?void 0:t.current)||void 0===e?void 0:e.value)||void 0===n?void 0:n.trim())?"symbolSearch"===r.current&&""===(null===(l=null===(a=null==t?void 0:t.current)||void 0===a?void 0:a.value)||void 0===l?void 0:l.trim())&&o("compare"):o("symbolSearch"))}}var ne=o(84413),re=o(39362),ae=o(74618);function le(e){const{allowExtendTimeScale:t,toggleAllowExtendTimeScale:o}=(0,m.ensureNotNull)((0,n.useContext)(w));return n.createElement(re.SymbolSearchDialogFooter,null,n.createElement("label",null,n.createElement(ne.CheckboxInput,{checked:t,value:t?"on":"off",onChange:o}),n.createElement("span",{className:ae.label},(0,r.t)("Allow extend time scale"))))}const ce=l.enabled("secondary_series_extend_time_scale");function ie(e){return new q({wrapper:(t=e,e=>n.createElement(W,{...e,compareModel:t})),dialog:X,contentItem:B,initialScreen:F,searchInput:oe,footer:ce?n.createElement(le):void 0,initialMode:"compare",dialogTitle:(0,r.t)("Compare symbol"),autofocus:!a.mobiletouch,dialogWidth:"fixed",onSearchComplete:t=>{const{compareOption:o,allowExtendTimeScale:n}=t[0];if(void 0!==o){(0,c.getSymbolSearchCompleteOverrideFunction)()(t[0].symbol).then(t=>{e.applyStudy(t,o,n)})}},symbolTypes:(0,$.getAvailableSymbolTypes)(),showSpreadActions:l.enabled("show_spread_operators")&&l.enabled("compare_symbol_search_spread_operators")});var t}},46148:(e,t,o)=>{"use strict";var n;o.d(t,{CompareOption:()=>n}),function(e){e[e.SameScale=0]="SameScale",e[e.NewPriceScale=1]="NewPriceScale",e[e.NewPane=2]="NewPane"}(n||(n={}))},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerManager:()=>r,DrawerContext:()=>a});var n=o(59496);class r extends n.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 n.createElement(a.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const a=n.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>p});var n=o(59496),r=o(88537),a=o(97754),l=o(59142),c=o(43989),i=o(65718),s=o(37558),d=o(49483),u=o(29197),m=o(66998);function p(e){ +const{position:t="Bottom",onClose:o,children:p,className:h,theme:v=m}=e,f=(0,r.ensureNotNull)((0,n.useContext)(s.DrawerContext)),[g,b]=(0,n.useState)(0),S=(0,n.useRef)(null),C=(0,n.useContext)(u.CloseDelegateContext);return(0,n.useEffect)(()=>{const e=(0,r.ensureNotNull)(S.current);return e.focus({preventScroll:!0}),C.subscribe(f,o),0===f.currentDrawer&&(0,c.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,l.disableBodyScroll)(e),b(f.addDrawer()),()=>{C.unsubscribe(f,o);const t=f.removeDrawer();d.CheckMobile.iOS()&&(0,l.enableBodyScroll)(e),0===t&&(0,c.setFixedBodyState)(!1)}},[]),n.createElement(i.Portal,null,n.createElement("div",{className:a(m.wrap,m["position"+t])},g===f.currentDrawer&&n.createElement("div",{className:m.backdrop,onClick:o}),n.createElement("div",{className:a(m.drawer,v.drawer,m["position"+t],h),ref:S,tabIndex:-1,"data-name":e["data-name"]},p)))}},70412:(e,t,o)=>{"use strict";o.d(t,{hoverMouseEventFilter:()=>a,useAccurateHover:()=>l,useHover:()=>r});var n=o(59496);function r(){const[e,t]=(0,n.useState)(!1);return[e,{onMouseOver:function(e){a(e)&&t(!0)},onMouseOut:function(e){a(e)&&t(!1)}}]}function a(e){return!e.currentTarget.contains(e.relatedTarget)}function l(e){const[t,o]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const t=t=>{if(null===e.current)return;const n=e.current.contains(t.target);o(n)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>s,PopupMenuItem:()=>m});var n=o(59496),r=o(97754),a=o(59064),l=o(51768),c=o(90186),i=o(23576);const s=i;function d(e){const{reference:t,...o}=e,r={...o,ref:t};return n.createElement(e.href?"a":"div",r)}function u(e){e.stopPropagation()}function m(e){const{id:t,role:o,"aria-selected":s,className:m,title:p,labelRowClassName:h,labelClassName:v,shortcut:f,forceShowShortcuts:g,icon:b,isActive:S,isDisabled:C,isHovered:w,appearAsDisabled:y,label:x,link:E,showToolboxOnHover:I,target:k,rel:M,toolbox:D,reference:N,onMouseOut:O,onMouseOver:T,suppressToolboxClick:A=!0,theme:_=i}=e,P=(0,c.filterDataProps)(e),B=(0,n.useRef)(null);return n.createElement(d,{...P,id:t,role:o,"aria-selected":s,className:r(m,_.item,b&&_.withIcon,{[_.isActive]:S,[_.isDisabled]:C||y,[_.hovered]:w}),title:p,href:E,target:k,rel:M,reference:function(e){B.current=e,"function"==typeof N&&N(e);"object"==typeof N&&(N.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:n,onClickArg:r,trackEventObject:c}=e;if(C)return;c&&(0,l.trackEvent)(c.category,c.event,c.label);n&&n(r,t);o||(0,a.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:n}=e;o&&n&&(0,l.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:n}=e;if(1===t.button&&E&&o){let e=o.label;n&&(e+="_mouseWheelClick"),(0,l.trackEvent)(o.category,o.event,e)}},onMouseOver:T,onMouseOut:O},void 0!==b&&n.createElement("div",{className:_.icon,dangerouslySetInnerHTML:{__html:b}}),n.createElement("div",{ +className:r(_.labelRow,h)},n.createElement("div",{className:r(_.label,v)},x)),(void 0!==f||g)&&n.createElement("div",{className:_.shortcut},(R=f)&&R.split("+").join(" + ")),void 0!==D&&n.createElement("div",{onClick:A?u:void 0,className:r(_.toolbox,{[_.showOnHover]:I})},D));var R}},29197:(e,t,o)=>{"use strict";o.d(t,{CloseDelegateContext:()=>a});var n=o(59496),r=o(59064);const a=n.createContext(r.globalCloseDelegate)},86656:(e,t,o)=>{"use strict";o.d(t,{TouchScrollContainer:()=>c});var n=o(59496),r=o(59142),a=o(88537),l=o(49483);function c(e){const{reference:t,children:o,...a}=e,c=(0,n.useRef)(null),s=(0,n.useCallback)(e=>{t&&(t.current=e),l.CheckMobile.iOS()&&(null!==c.current&&(0,r.enableBodyScroll)(c.current),c.current=e,null!==c.current&&(0,r.disableBodyScroll)(c.current,{allowTouchMove:i(c)}))},[t]);return n.createElement("div",{ref:s,...a},o)}function i(e){return t=>{const o=(0,a.ensureNotNull)(e.current),n=document.activeElement;return!o.contains(t)||null!==n&&o.contains(n)&&n.contains(t)}}},49154:e=>{e.exports=''},86440:e=>{e.exports=''},68974:e=>{ +e.exports=''},35932:e=>{ +e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/add-compare-dialog.afe8089e0ca57f411f21.js b/charting_library/bundles/add-compare-dialog.afe8089e0ca57f411f21.js deleted file mode 100644 index 0dad510c..00000000 --- a/charting_library/bundles/add-compare-dialog.afe8089e0ca57f411f21.js +++ /dev/null @@ -1,11 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[731],{59142:function(e,t){var n,o,r;o=[t],void 0===(r="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{e.exports={wrapper:"wrapper-5Xd5conM",input:"input-5Xd5conM",box:"box-5Xd5conM",icon:"icon-5Xd5conM",noOutline:"noOutline-5Xd5conM","intent-danger":"intent-danger-5Xd5conM",check:"check-5Xd5conM", -dot:"dot-5Xd5conM"}},71489:e=>{e.exports={button:"button-MtWCmkmc",bordersVisible:"bordersVisible-MtWCmkmc",selected:"selected-MtWCmkmc"}},72142:e=>{e.exports={footer:"footer-C0oTZgbU"}},35725:e=>{e.exports={wrap:"wrap-IVoYCPDG",header:"header-IVoYCPDG",item:"item-IVoYCPDG"}},74618:e=>{e.exports={label:"label-jkX9S6js"}},61257:e=>{e.exports={scrollable:"scrollable-JgZSADtd",spinnerWrap:"spinnerWrap-JgZSADtd",item:"item-JgZSADtd",heading:"heading-JgZSADtd",checkboxWrap:"checkboxWrap-JgZSADtd",checkbox:"checkbox-JgZSADtd",emptyState:"emptyState-JgZSADtd",image:"image-JgZSADtd",text:"text-JgZSADtd"}},20512:e=>{e.exports={dialog:"dialog-VLZxw4Dg",tablet:"tablet-VLZxw4Dg"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},84413:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>c});var o=n(59496),r=n(97754),a=n(9745),l=n(49154),i=n(37593),s=n.n(i);function c(e){const t=r(s().box,s()["intent-"+e.intent],{[s().check]:!Boolean(e.indeterminate),[s().dot]:Boolean(e.indeterminate),[s().noOutline]:-1===e.tabIndex}),n=r(s().wrapper,e.className);return o.createElement("span",{className:n,title:e.title},o.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:s().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}),o.createElement("span",{className:t},o.createElement(a.Icon,{icon:l,className:s().icon})))}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r});var o=n(59496);const r=o.forwardRef((e,t)=>{const{icon:n="",...r}=e;return o.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:n}})})},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>c});const o=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),o=n.style;o.visibility="hidden",o.width="100px",o.msOverflowStyle="scrollbar",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const l=a.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=r-l}return e}})();function r(e,t,n){null!==e&&e.style.setProperty(t,n)}function a(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function l(e,t){return parseInt(a(e,t))}let i=0,s=!1;function c(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++i){const e=a(t,"overflow"),i=l(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(r(n,"right",o()+"px"),t.style.paddingRight=i+o()+"px",s=!0), -t.classList.add("i-no-scroll")}else if(!e&&i>0&&0==--i&&(t.classList.remove("i-no-scroll"),s)){r(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=o()),t.style.paddingRight=(e<0?0:e)+"px",s=!1}}},39362:(e,t,n)=>{"use strict";n.d(t,{SymbolSearchDialogFooter:()=>i});var o=n(59496),r=n(97754),a=n.n(r),l=n(72142);function i(e){const{className:t,children:n}=e;return o.createElement("div",{className:a()(l.footer,t)},n)}},89035:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getCompareDialogRenderer:()=>se});var o=n(59496),r=n(28353),a=n(32563),l=n(67337),i=n(89453),s=n(97754),c=n.n(s),d=n(9837),u=n.n(d),m=n(88537),h=n(9745),p=n(86656),v=n(77975),f=n(61074),g=n(26843),b=n(45345),w=n(84524),S=n(5648);const C=o.createContext(null);var y=n(70412),x=n(78036);const E=o.createContext(null);var I=n(16396),M=n(41590),D=n(37558),k=n(71489);function _(e){const{theme:t=k,children:n,onClick:r,isSelected:a,areBordersVisible:l,isItemSelected:i,className:s,value:d,name:u}=e;return o.createElement("button",{type:"button",className:c()(s,t.button,a&&t.selected,l&&!a&&!i&&t.bordersVisible),name:u,value:d,onClick:r},n)}function N(e){const{value:t,onClick:n,...r}=e,a=(0,o.useCallback)(e=>n(t,e),[t,n]);return o.createElement(_,{...r,value:String(t),onClick:a})}var O=n(46148),T=n(35725);const P={sameScale:(0,r.t)("Same % scale"),newPriceScale:(0,r.t)("New price scale"),newPane:(0,r.t)("New pane")};function A(e){const{fullSymbolName:t,isSelected:n,className:a}=e,{isMobile:l,searchRef:s,setMode:d}=(0,x.useEnsuredContext)(w.SymbolSearchItemsDialogContext),{compareModel:u,selectedCompareOption:m,setHoveredItemId:h,clearInput:p,allowExtendTimeScale:v}=(0,x.useEnsuredContext)(C),{callback:f}=(0,x.useEnsuredContext)(E);return l?o.createElement(D.DrawerManager,null,o.createElement(M.Drawer,{position:"Bottom",onClose:g.bind(null,!1)},o.createElement("div",{className:T.header},(0,r.t)("Add to")),o.createElement(I.PopupMenuItem,{className:T.item,onClick:b,onClickArg:O.CompareOption.SameScale,label:P.sameScale}),o.createElement(I.PopupMenuItem,{className:T.item,onClick:b,onClickArg:O.CompareOption.NewPriceScale,label:P.newPriceScale}),o.createElement(I.PopupMenuItem,{className:T.item,onClick:b,onClickArg:O.CompareOption.NewPane,label:P.newPane}))):o.createElement("div",{className:c()(T.wrap,a),"data-name":"compare-buttons-group"},o.createElement(N,{onClick:b,value:O.CompareOption.SameScale,isItemSelected:Boolean(n),isSelected:n&&m===O.CompareOption.SameScale},P.sameScale),o.createElement(N,{onClick:b,value:O.CompareOption.NewPriceScale,isItemSelected:Boolean(n),isSelected:n&&m===O.CompareOption.NewPriceScale},P.newPriceScale),o.createElement(N,{onClick:b,value:O.CompareOption.NewPane,isItemSelected:Boolean(n),isSelected:n&&m===O.CompareOption.NewPane},P.newPane));function g(e){l&&f&&f(),p&&e&&p(s,d)}function b(e,n){if(n.preventDefault(),u&&t&&void 0!==e){(0,i.getSymbolSearchCompleteOverrideFunction)()(t).then(t=>{u.applyStudy(t,e,v),h(""),g(!0)})}}}function B(e){ -const{isSelected:t,fullSymbolName:n,onExpandClick:r,actions:l,id:s,isOffset:c}=e,{isMobile:d,toggleExpand:u,searchSpreads:m,searchRef:h,setMode:p,mode:v}=(0,x.useEnsuredContext)(w.SymbolSearchItemsDialogContext),{compareModel:f,hoveredItemId:g,setHoveredItemId:b,clearInput:I,allowExtendTimeScale:M}=(0,x.useEnsuredContext)(C),[D,k]=(0,o.useState)(!1),_=(0,o.useRef)(null),N=(0,y.useAccurateHover)(_),T=(0,o.useMemo)(()=>({callback:L}),[L]),P=!Boolean(r)&&!Boolean(l),B=s===g;return o.createElement(E.Provider,{value:T},o.createElement(S.SymbolSearchDialogContentItem,{hideMarkedListFlag:"compare"===v,...e,reference:_,onClick:function(t){if(Boolean(r)&&s&&!c)return t.preventDefault(),void u(s);if(!D&&d)return void k(!0);if(m&&e.onClick)return void e.onClick(t);if((a.mobiletouch?B:!D)&&n){(0,i.getSymbolSearchCompleteOverrideFunction)()(n).then(e=>{f.applyStudy(e,O.CompareOption.SameScale,M)}),b(""),I&&I(h,p)}a.mobiletouch&&!d&&!B&&s&&b(s)},hoverComponent:function(){if(!P)return!1;if(d)return D;if(a.mobiletouch)return B;return Boolean(N||t)}()?A:void 0}));function L(){k(!1)}}var L=n(35932),R=n(68974),H=n(86440),z=n(61257);function W(e){const{handleListWidth:t}=(0,m.ensureNotNull)((0,o.useContext)(w.SymbolSearchItemsDialogContext)),{compareModel:n,selectedCompareIndex:a,selectedItemRef:l}=(0,m.ensureNotNull)((0,o.useContext)(C)),i=(0,v.useWatchedValueReadonly)({watchedValue:n.isDataReady()}),s=(0,v.useWatchedValueReadonly)({watchedValue:n.studies()}),d=(0,v.useWatchedValueReadonly)({watchedValue:n.highlightedSymbol()}),y=(0,o.useMemo)(()=>s.filter(e=>e.checked),[s]),x=(0,o.useMemo)(()=>s.filter(e=>!e.checked),[s]);return(0,o.useEffect)(()=>(n.chartModel().dataSourceCollectionChanged().subscribe(n,n.handleSourcesChange),()=>n.chartModel().dataSourceCollectionChanged().unsubscribe(n,n.handleSourcesChange)),[n]),o.createElement(u(),{onMeasure:function(e){t(e.width)}},o.createElement(p.TouchScrollContainer,{className:z.scrollable},function(){if(!i)return o.createElement("div",{className:z.spinnerWrap},o.createElement(f.Spinner,null));if(!Boolean(y.length)&&!Boolean(x.length)){const e=b.watchedTheme.value()===g.StdTheme.Dark?R:L;return o.createElement("div",{className:z.emptyState},o.createElement(h.Icon,{className:z.image,icon:e}),o.createElement("div",{className:z.text},(0,r.t)("No symbols here yet — why not add some?")))}return o.createElement(o.Fragment,null,Boolean(y.length)&&o.createElement(o.Fragment,null,o.createElement("div",{className:z.heading},(0,r.t)("Added symbols")),y.map((e,t)=>o.createElement(S.SymbolSearchDialogContentItem,{"data-role":"added-symbol-item",className:z.item,key:e.id,id:e.id,shortName:e.title,title:e.title,logoId:e.logoId,currencyLogoId:e.currencyLogoId,baseCurrencyLogoId:e.baseCurrencyLogoId,dangerousDescriptionHTML:e.description,exchangeName:e.exchangeName,marketType:e.marketType,country:e.country,providerId:e.providerId,onClick:E.bind(null,e),isHighlighted:e.id===d,isSelected:I(e),itemRef:I(e)?l:void 0,actions:o.createElement("div",{className:z.checkboxWrap},o.createElement(_,{ -className:z.checkbox,onClick:E.bind(null,e),isSelected:I(e)},o.createElement(h.Icon,{icon:H})))}))),Boolean(x.length)&&o.createElement(o.Fragment,null,o.createElement("div",{className:z.heading},(0,r.t)("Recent symbols")),x.map(e=>o.createElement(B,{"data-role":"recent-symbol-item",className:c()(z.item,e.id===d&&z.highlighted),key:e.id,id:e.id,shortName:e.title,logoId:e.logoId,currencyLogoId:e.currencyLogoId,baseCurrencyLogoId:e.baseCurrencyLogoId,title:e.title,dangerousDescriptionHTML:e.description,exchangeName:e.exchangeName,marketType:e.marketType,country:e.country,providerId:e.providerId,fullSymbolName:e.symbol,isSelected:I(e),itemRef:I(e)?l:void 0}))))}()));function E(e,t){t.preventDefault(),n.removeStudy(e)}function I(e){return s.indexOf(e)===a}}var F=n(56840);class V extends o.PureComponent{constructor(e){super(e),this._selectedItemRef=o.createRef(),this._getContextValue=()=>{const{compareModel:e}=this.props,{selectedCompareOption:t,selectedCompareIndex:n,hoveredItemId:o,allowExtendTimeScale:r}=this.state;return{compareModel:e,selectedCompareOption:t,setSelectedCompareOption:this._setSelectedCompareOption,hoveredItemId:o,setHoveredItemId:this._setHoveredItemId,selectedCompareIndex:n,setSelectedCompareIndex:this._setSelectedCompareIndex,selectedItemRef:this._selectedItemRef,clearInput:this._clearInput,allowExtendTimeScale:r,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;F.setValue("showAddSymbolDialog.extendCheckboxState",e),this.setState({allowExtendTimeScale:e})},this.state={selectedCompareOption:0,selectedCompareIndex:-1,hoveredItemId:void 0,allowExtendTimeScale:Boolean(F.getBool("showAddSymbolDialog.extendCheckboxState"))}}render(){const{children:e}=this.props;return o.createElement(C.Provider,{value:this._getContextValue()},e)}}var G=n(68335),J=n(85457),Z=n(20512);const q=Object.keys(O.CompareOption).length/2;function U(e){const{openedItems:t,searchRef:n,feedItems:r,selectedIndex:a,toggleExpand:l,onSearchComplete:i,mode:c,setMode:d,setSelectedIndex:u,isMobile:m,isTablet:h,onClose:p,upperCaseEnabled:f}=(0,x.useEnsuredContext)(w.SymbolSearchItemsDialogContext),{compareModel:g,hoveredItemId:b,setHoveredItemId:S,selectedCompareOption:y,setSelectedCompareOption:E,selectedCompareIndex:I,setSelectedCompareIndex:M,selectedItemRef:D,clearInput:k,allowExtendTimeScale:_}=(0,x.useEnsuredContext)(C),N=(0,v.useWatchedValueReadonly)({watchedValue:g.studies()}),O=r[a],T="compare"===c;return(0,o.useEffect)(()=>{b&&S(""),I&&M(-1)},[c]),o.createElement(J.AdaptivePopupDialog,{...e,className:s(Z.dialog,!m&&h&&Z.tablet),onKeyDown:function(e){var o;const s=(0,G.hashFromEvent)(e),c=T?I:a,u=T?N:r;switch(s){case 38:if(e.preventDefault(),0===c)return -;if(-1===c)return void P(0);P(c-1);break;case 40:if(e.preventDefault(),c===u.length-1)return;P(c+1);break;case 37:{const n=B();if(n&&t.has(n))return e.preventDefault(),void l(n);if(!y||n)return;e.preventDefault(),E(y-1);break}case 39:{const n=B();if(n&&!t.has(n))return e.preventDefault(),void l(n);if(y===q-1||n)return;e.preventDefault(),E(y+1);break}case 13:{if(T)return void function(){if(-1===I)return;const e=N[I];e.checked?g.removeStudy(e):g.applyStudy(e.symbol,y,_);M(-1)}();const t=B();if(t)return e.preventDefault(),void l(t);e.preventDefault();const r=null===(o=null==n?void 0:n.current)||void 0===o?void 0:o.value.trim();r&&k&&(i([{symbol:f?r.toUpperCase():r,resolved:!1,compareOption:y,allowExtendTimeScale:_}]),k(n,d));break}case 27:e.preventDefault(),p()}},dataName:"compare-dialog",draggable:!0});function P(e){T?M(e,A):u(e)}function A(){var e;null===(e=D.current)||void 0===e||e.scrollIntoView({block:"nearest"})}function B(){if(!O)return;const{id:e,isOffset:t,onExpandClick:n}=O;return!t&&Boolean(n)&&e?e:void 0}}var j=n(87995),X=n(24389),Q=n(12045),Y=(n(1861),n(22729));class K extends Y.DialogRenderer{constructor(e){super(),this._props=e}show(){if(this.visible().value())return;const e=o.createElement(X.QuoteSessionContext.Provider,{value:null},o.createElement(Q.SymbolSearchItemsDialog,{...this._props,initialMode:this._props.initialMode||"symbolSearch",onClose:()=>this.hide()}));j.render(e,this._container),this._setVisibility(!0)}hide(){var e,t;j.unmountComponentAtNode(this._container),this._visibility.setValue(!1),null===(t=(e=this._props).onClose)||void 0===t||t.call(e)}}var $=n(81319),ee=n(69654),te=n(70613);function ne(e){const{searchRef:t,setMode:n}=(0,x.useEnsuredContext)(w.SymbolSearchItemsDialogContext),{currentMode:r}=(0,x.useEnsuredContext)(te.SymbolSearchDialogBodyContext);return(0,o.useEffect)(()=>{const e=t.current;if(e)return e.addEventListener("input",a),()=>{e&&e.removeEventListener("input",a)}},[]),o.createElement(ee.DialogSearch,{...e});function a(){var e,o,a,l;t.current&&r&&("compare"!==r.current||""===(null===(o=null===(e=null==t?void 0:t.current)||void 0===e?void 0:e.value)||void 0===o?void 0:o.trim())?"symbolSearch"===r.current&&""===(null===(l=null===(a=null==t?void 0:t.current)||void 0===a?void 0:a.value)||void 0===l?void 0:l.trim())&&n("compare"):n("symbolSearch"))}}var oe=n(84413),re=n(39362),ae=n(74618);function le(e){const{allowExtendTimeScale:t,toggleAllowExtendTimeScale:n}=(0,m.ensureNotNull)((0,o.useContext)(C));return o.createElement(re.SymbolSearchDialogFooter,null,o.createElement("label",null,o.createElement(oe.CheckboxInput,{checked:t,value:t?"on":"off",onChange:n}),o.createElement("span",{className:ae.label},(0,r.t)("Allow extend time scale"))))}const ie=l.enabled("secondary_series_extend_time_scale");function se(e){return new K({wrapper:(t=e,e=>o.createElement(V,{...e,compareModel:t})),dialog:U,contentItem:B,initialScreen:W,searchInput:ne,footer:ie?o.createElement(le):void 0,initialMode:"compare",dialogTitle:(0,r.t)("Compare symbol"),autofocus:!a.mobiletouch,dialogWidth:"fixed", -onSearchComplete:t=>{const{compareOption:n,allowExtendTimeScale:o}=t[0];if(void 0!==n){(0,i.getSymbolSearchCompleteOverrideFunction)()(t[0].symbol).then(t=>{e.applyStudy(t,n,o)})}},symbolTypes:(0,$.getAvailableSymbolTypes)(),showSpreadActions:l.enabled("show_spread_operators")&&l.enabled("compare_symbol_search_spread_operators")});var t}},46148:(e,t,n)=>{"use strict";var o;n.d(t,{CompareOption:()=>o}),function(e){e[e.SameScale=0]="SameScale",e[e.NewPriceScale=1]="NewPriceScale",e[e.NewPane=2]="NewPane"}(o||(o={}))},37558:(e,t,n)=>{"use strict";n.d(t,{DrawerManager:()=>r,DrawerContext:()=>a});var o=n(59496);class r extends o.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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.createElement(a.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const a=o.createContext(null)},41590:(e,t,n)=>{"use strict";n.d(t,{Drawer:()=>h});var o=n(59496),r=n(88537),a=n(97754),l=n(59142),i=n(99054),s=n(65718),c=n(37558),d=n(49483),u=n(29197),m=n(66998);function h(e){const{position:t="Bottom",onClose:n,children:h,className:p,theme:v=m}=e,f=(0,r.ensureNotNull)((0,o.useContext)(c.DrawerContext)),[g,b]=(0,o.useState)(0),w=(0,o.useRef)(null),S=(0,o.useContext)(u.CloseDelegateContext);return(0,o.useEffect)(()=>{const e=(0,r.ensureNotNull)(w.current);return e.focus({preventScroll:!0}),S.subscribe(f,n),0===f.currentDrawer&&(0,i.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,l.disableBodyScroll)(e),b(f.addDrawer()),()=>{S.unsubscribe(f,n);const t=f.removeDrawer();d.CheckMobile.iOS()&&(0,l.enableBodyScroll)(e),0===t&&(0,i.setFixedBodyState)(!1)}},[]),o.createElement(s.Portal,null,o.createElement("div",{className:a(m.wrap,m["position"+t])},g===f.currentDrawer&&o.createElement("div",{className:m.backdrop,onClick:n}),o.createElement("div",{className:a(m.drawer,v.drawer,m["position"+t],p),ref:w,tabIndex:-1,"data-name":e["data-name"]},h)))}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>a,useAccurateHover:()=>l,useHover:()=>r});var o=n(59496);function r(){const[e,t]=(0,o.useState)(!1);return[e,{onMouseOver:function(e){a(e)&&t(!0)},onMouseOut:function(e){a(e)&&t(!1)}}]}function a(e){return!e.currentTarget.contains(e.relatedTarget)}function l(e){const[t,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{const t=t=>{if(null===e.current)return;const o=e.current.contains(t.target);n(o)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>a});var o=n(59496),r=n(39640);function a(e){const{click:t,mouseDown:n,touchEnd:a,touchStart:l,handler:i,reference:s,ownerDocument:c=document}=e,d=(0,o.useRef)(null),u=(0,o.useRef)(new CustomEvent("timestamp").timeStamp);return(0,o.useLayoutEffect)(()=>{const e={click:t,mouseDown:n, -touchEnd:a,touchStart:l},o=s?s.current:d.current;return(0,r.addOutsideEventListener)(u.current,o,i,c,e)},[t,n,a,l,i]),s||d}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>r});var o=n(59496);class r extends o.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)}}},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>a,getRootOverlapManager:()=>i});var o=n(88537);class r{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 a{constructor(e=document){this._storage=new r,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 o=this._document.createElement("div");if(o.style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(o);else if(t.index<=0)this._container.insertBefore(o,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(o,e)}}else"reverse"===t.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(e,o),++this._index,o}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 l=new WeakMap;function i(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,o.ensureDefined)(l.get(t));{const t=new a(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 l.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}}, -16396:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>m});var o=n(59496),r=n(97754),a=n(59064),l=n(51768),i=n(90186),s=n(23576);const c=s;function d(e){const{reference:t,...n}=e,r={...n,ref:t};return o.createElement(e.href?"a":"div",r)}function u(e){e.stopPropagation()}function m(e){const{id:t,role:n,"aria-selected":c,className:m,title:h,labelRowClassName:p,labelClassName:v,shortcut:f,forceShowShortcuts:g,icon:b,isActive:w,isDisabled:S,isHovered:C,appearAsDisabled:y,label:x,link:E,showToolboxOnHover:I,target:M,rel:D,toolbox:k,reference:_,onMouseOut:N,onMouseOver:O,suppressToolboxClick:T=!0,theme:P=s}=e,A=(0,i.filterDataProps)(e),B=(0,o.useRef)(null);return o.createElement(d,{...A,id:t,role:n,"aria-selected":c,className:r(m,P.item,b&&P.withIcon,{[P.isActive]:w,[P.isDisabled]:S||y,[P.hovered]:C}),title:h,href:E,target:M,rel:D,reference:function(e){B.current=e,"function"==typeof _&&_(e);"object"==typeof _&&(_.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:o,onClickArg:r,trackEventObject:i}=e;if(S)return;i&&(0,l.trackEvent)(i.category,i.event,i.label);o&&o(r,t);n||(0,a.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:o}=e;n&&o&&(0,l.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:o}=e;if(1===t.button&&E&&n){let e=n.label;o&&(e+="_mouseWheelClick"),(0,l.trackEvent)(n.category,n.event,e)}},onMouseOver:O,onMouseOut:N},void 0!==b&&o.createElement("div",{className:P.icon,dangerouslySetInnerHTML:{__html:b}}),o.createElement("div",{className:r(P.labelRow,p)},o.createElement("div",{className:r(P.label,v)},x)),(void 0!==f||g)&&o.createElement("div",{className:P.shortcut},(L=f)&&L.split("+").join(" + ")),void 0!==k&&o.createElement("div",{onClick:T?u:void 0,className:r(P.toolbox,{[P.showOnHover]:I})},k));var L}},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>a});var o=n(59496),r=n(59064);const a=o.createContext(r.globalCloseDelegate)},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>s,PortalContext:()=>c});var o=n(59496),r=n(87995),a=n(9423),l=n(88216),i=n(50655);class s extends o.PureComponent{constructor(){super(...arguments),this._uuid=(0,a.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||"",r.createPortal(o.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,l.getRootOverlapManager)():this.context}}s.contextType=i.SlotContext;const c=o.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>r,SlotContext:()=>a});var o=n(59496);class r extends o.Component{shouldComponentUpdate(){return!1}render(){return o.createElement("div",{style:{position:"fixed", -zIndex:150,left:0,top:0},ref:this.props.reference})}}const a=o.createContext(null)},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>i});var o=n(59496),r=n(59142),a=n(88537),l=n(49483);function i(e){const{reference:t,children:n,...a}=e,i=(0,o.useRef)(null),c=(0,o.useCallback)(e=>{t&&(t.current=e),l.CheckMobile.iOS()&&(null!==i.current&&(0,r.enableBodyScroll)(i.current),i.current=e,null!==i.current&&(0,r.disableBodyScroll)(i.current,{allowTouchMove:s(i)}))},[t]);return o.createElement("div",{ref:c,...a},n)}function s(e){return t=>{const n=(0,a.ensureNotNull)(e.current),o=document.activeElement;return!n.contains(t)||null!==o&&n.contains(o)&&o.contains(t)}}},49154:e=>{e.exports=''},86440:e=>{e.exports=''},68974:e=>{e.exports=''},35932:e=>{ -e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/add0043e9139708b7ec71b15a1cfdf4c.svg b/charting_library/bundles/add0043e9139708b7ec71b15a1cfdf4c.svg new file mode 100644 index 00000000..07badc5b --- /dev/null +++ b/charting_library/bundles/add0043e9139708b7ec71b15a1cfdf4c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/af2c0f390cd0b5ef8d2bd4ba4e521a34.svg b/charting_library/bundles/af2c0f390cd0b5ef8d2bd4ba4e521a34.svg new file mode 100644 index 00000000..c440bb6a --- /dev/null +++ b/charting_library/bundles/af2c0f390cd0b5ef8d2bd4ba4e521a34.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/af585e7389cfe3a827192dbe445b4935.svg b/charting_library/bundles/af585e7389cfe3a827192dbe445b4935.svg new file mode 100644 index 00000000..7d68bda2 --- /dev/null +++ b/charting_library/bundles/af585e7389cfe3a827192dbe445b4935.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/aff9c5fc514db3e7e69d496ce27c6a19.svg b/charting_library/bundles/aff9c5fc514db3e7e69d496ce27c6a19.svg new file mode 100644 index 00000000..08eb943b --- /dev/null +++ b/charting_library/bundles/aff9c5fc514db3e7e69d496ce27c6a19.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/alarm_clock.48d3df0afe4d4981523b8a12e4e25f92.mp3 b/charting_library/bundles/alarm_clock.48d3df0afe4d4981523b8a12e4e25f92.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8ee39eba34ad7ee7ef2e4aad4bfe9afb8325db56 GIT binary patch literal 4005 zcmd6q`8!m9|HscT%-GEsWh|3@nU9ez5rwhud)bX$5m`dvGeg!;NOm!@jV;phAt6gq z*~tefYobM2lJ(qY?(4q4*Y~>aKj6L}zr5e)ea^Yg<9f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XNZoaqs=`d4a>ZjYYqcg_ z|E5ffA}>Xyzq5K&b&i(2?iN~%scjC^3L~mr4T1tw!_HmblPW3B?cn4{t!c6%U@%gq z_eyXQO(}lr9lj2z^cHlusI^AR{B)EM>h1__X128^`|aoPXIse8wwe|u-BsN6T8s$v zd&JGi*?i`5?U)|H>0pH(+^x989t5U5UJE(EA)1_#_80rLI|OQjG;?%Znj3HY!X(n7 zT%K3dP1U|mW4^l{9b@g7y$syAWA(K~oqN15&vh8?yPEm!QN280rLqo{WRr6nh yE>|1N+_sKpPSd80CM|rXqyhgWm;ZPyz2#aN5~mn35^$5wH?i(lGU5L#a{mB7e4~;8 literal 0 HcmV?d00001 diff --git a/charting_library/bundles/alert-dialog.42e245eb82504c55c632.js b/charting_library/bundles/alert-dialog.42e245eb82504c55c632.js new file mode 100644 index 00000000..f0d09a2b --- /dev/null +++ b/charting_library/bundles/alert-dialog.42e245eb82504c55c632.js @@ -0,0 +1,25 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2465],{39227:()=>{},89213:()=>{},69423:()=>{},6891:()=>{},56912:()=>{},73168:()=>{},74437:()=>{},66927:t=>{t.exports={clock:"clock-LMkaUMzm",header:"header-LMkaUMzm",number:"number-LMkaUMzm",active:"active-LMkaUMzm",body:"body-LMkaUMzm",clockFace:"clockFace-LMkaUMzm",face:"face-LMkaUMzm",inner:"inner-LMkaUMzm",hand:"hand-LMkaUMzm",knob:"knob-LMkaUMzm",centerDot:"centerDot-LMkaUMzm"}},9745:(t,e,s)=>{"use strict";s.d(e,{Icon:()=>i});var n=s(59496);const i=n.forwardRef((t,e)=>{const{icon:s="",...i}=t;return n.createElement("span",{...i,ref:e,dangerouslySetInnerHTML:{__html:s}})})},1787:(t,e,s)=>{"use strict";s.d(e,{solutionIds:()=>n});const n=JSON.parse('{"EXTENDED_HOURS":43000502023,"PRE_MARKET":43000502023,"POST_MARKET":43000502023,"SPREAD_CHARTS":43000502298,"ALERTS":43000520149,"ALERT_ON_STRATEGY":43000481368,"ALERT_WEBHOOK":43000529348,"ALERT_DESCRIPTION_PLACEHOLDER":43000531021,"VOLUME_PROFILE":43000502040,"VOLUME_PROFILE_INDICATOR":43000557450,"RENKO":43000502284,"KAGI":43000502272,"LINE_BREAK":43000502273,"PNF":43000502276,"FINANCIAL_DATA":43000543506,"BROKER_RATING":43000542490,"CRYPTO_MARKET_CAP":43000540941,"CRYPTO_PAYMENT":43000485536,"ALERT_ON_SPREAD":43000478406,"ALERT_ON_CUSTOM_SCRIPT":43000478415,"ALERT_FUNCTION":43000597494,"SMS_VERIFICATION":43000553429,"MAGNET_MODE":43000537270,"PINE_CANNOT_DETERMINE":43000587849,"PRIVACY_SETTINGS":43000548335,"PUBLICATION_TYPE":43000609497,"SCRIPT_ACCESS":43000482573,"MEMORY_LIMITS_EXCEEDED":43000590233,"FREE_USER_FAQS":43000590947,"STRATEGY_UNREALISTIC_RESULTS":43000481029,"STRATEGY_FUTURE_DATA":43000614705,"STREAM_RULES":43000591348,"HOW_TO_USE_PAPER":43000516466,"HOW_TO_USE_CQG":43000516372,"HOW_TO_USE_OANDA":43000516375,"HOW_TO_USE_FOREXCOM":43000516374,"FAVORITE_IDEA":43000555216,"YOUTUBE_ERROR":43000612153,"AUTHORS_INSTRUCTIONS_PUBCLICATION":43000549951,"AUTHORS_INSTRUCTIONS_EDIT":43000614618,"SCRIPT_INSTRUCTIONS":43000482573,"BAR_REPLAY_UNAVAILABILITY":43000475470,"WHAT_IS_CBOE_BZX_EXCHANGE":43000473924,"GOPRO_UPGRADE_DESCRIPTION":43000473324,"GOPRO_DOWNGRADE_DESCRIPTION":43000485437,"BROKERAGE_REVIEWS":43000591351,"CHANGE_SUBSCRIPTION":43000635806,"PINE_LIBRARY_INFO":43000638371,"HOW_TO_CREATE_A_STREAM":43000560174,"HOW_DO_I_UPDATE_DESKTOP_APP":43000647779,"TECHNICAL_RATINGS":43000614331,"BACKTESTING_WIDGET":43000561856,"DEEP_BACKTESTING_WIDGET":43000670566,"DEEP_BACKTESTING":43000666199,"DEEP_BACKTESTING_AVAILABLE_DATA":43000668210}')},91426:(t,e,s)=>{"use strict";s.r(e),s.d(e,{AlertDialog:()=>Wt});s(46322);var n=s(97754),i=s.n(n),o=s(43370),a=s(4889),r=s(28353),l=(s(8250),s(42845),s(78754),s(22358),s(77544)),c=s(16256),d=s(52714),h=s.n(d);class p{constructor(t,e){this._src=t,this._state=new(h())(!1),e&&(this._selected=!0)}play(){c.play(this._src.path),this._state.setValue(!0),c.onStopped(this._src.path,()=>this._state.setValue(!1))}stop(){c.stop(this._src.path),this._state.setValue(!1)}toggle(){c.isPlaying(this._src.path)?this.stop():this.play()}get selected(){return!!this._selected} +get value(){return this._src.path}get caption(){return this._src.title}get state(){return this._state}}var u=s(72781);s(74437);var _=s(23127);const m="yes",v="close";class g{constructor({label:t,name:e,maxLength:s,error:n=""}){this._name=e,this._field=document.createElement("label"),this._field.classList.add("tv-rename-chart-dialog__field");const i=document.createElement("span");i.classList.add("tv-rename-chart-dialog__label"),i.innerHTML=t,this._inputElement=document.createElement("input"),this._inputElement.classList.add("tv-control-input"),this._inputElement.setAttribute("type","text"),this._inputElement.setAttribute("name",e),this._inputElement.setAttribute("maxlength",s),this._field.appendChild(i),this._field.appendChild(this._inputElement),this._error=n}appendTo(t){t.appendChild(this._field)}focus(){this._inputElement.focus()}select(){this.focus(),this._inputElement.select()}set value(t){this._inputElement.value=t}get value(){return this._inputElement.value}get name(){return this._name}get valid(){return!!this._inputElement.value.trim()}set error(t){this._error=t}get error(){return this._error}}class f extends g{constructor(t){const e=t.regExp;delete t.regExp,super(t),this._regExp=e}get valid(){return this._regExp.test(this.value)}}var b=s(76861),C=s(23127);class w extends class{constructor({fields:t,confirm:e,manager:s,title:n="",destroyOnClose:i=!0,modal:o=!1}={}){this._form=document.createElement("div"),this._fields=t,this._appendFieldsToForm(),this._title=n,this._destroyOnClose=i,this._modal=o,this._manager=s,this._isConfirmDialogOpened=!1,e&&(this._needCheckConfirm=!0,this._shouldShowConfirm=e.shouldShowDialog,this._getConfirmMessage=e.getMessage)}setField(t,e){this._fields.find(e=>e.name===t).value=e}show(){const t=this._createDialog();return new Promise(e=>{t.then(t=>{t.on("action:submit",t=>this._onSubmit(t,e)),t.open(),t.on("beforeClose",this._unmountFields.bind(this)),this._fields[0].select()})})}_appendFieldsToForm(){this._fields.forEach(t=>{t.appendTo(this._form)})}async _createDialog(){const{createDialog:t}=await Promise.all([s.e(509),s.e(3118),s.e(1729),s.e(6708),s.e(1536),s.e(7678),s.e(4834)]).then(s.bind(s,89725));return t({type:this._modal?"modal":"popup",title:this._title,content:_(this._form),actionsWrapTemplate:'

',width:470,destroyOnClose:this._destroyOnClose,manager:this._manager,isClickOutFn:()=>{if(this._isConfirmDialogOpened)return!1},actions:[{name:"submit",type:"primary",text:(0,r.t)("Save"),key:13,addClass:"js-submit-button"},{name:"cancel",type:"default",text:(0,r.t)("Cancel"),method:"close",addClass:"js-cancel-button"}]})}_onSubmit(t,e){const s=this._validate();if(s)t.error(s.error),s.focus();else{if(!this._needCheckConfirm)return e(this._collectValues(),t),void t.close();Promise.resolve(this._shouldShowConfirm(this._collectValues())).then(s=>{if(!s)return e(this._collectValues(),t),void t.close();this._showConfirmDialog().then(s=>{s===v&&(t.focus(),this._fields[0].focus()), +s===m&&(e(this._collectValues(),t),t.close())})})}}_showConfirmDialog(){return new Promise(t=>{Promise.resolve(this._getConfirmMessage(this._collectValues())).then(e=>{this._isConfirmDialogOpened=!0,async function(t){const e={actions:[{key:13,name:"yes",text:r.t("Yes"),type:"success"},{method:"close",name:"no",text:r.t("No"),type:"default"}],actionsWrapTemplate:'
',content:r.t("Are you sure?"),contentWrapTemplate:'

',destroyOnClose:!0,title:r.t("Confirmation"),width:400,dataset:{"dialog-type":"confirm-dialog"}},{createDialog:n}=await Promise.all([s.e(509),s.e(3118),s.e(1729),s.e(6708),s.e(1536),s.e(7678),s.e(4834)]).then(s.bind(s,89725));return n({...e,...t})}({type:"modal",content:document.createTextNode(e),manager:this._manager}).then(e=>{e.on("action:yes",e=>{t(m),e.close()}),e.on("afterClose",()=>{t(v),this._isConfirmDialogOpened=!1}),e.open()})})})}_validate(){return this._fields.find(t=>!t.valid)}_collectValues(){return this._fields.reduce((t,e)=>(t[e.name]=e.value,t),{})}_unmountFields(){this._fields.forEach(t=>{t.unmount&&t.unmount()})}}{constructor({paramName:t,dialogTitle:e="",initialValue:s="",fieldLabel:n="",maxLength:i=null,validateRegExp:o=null,error:a="",destroyOnClose:r=!0,modal:l=!1}={}){const c={label:n,name:t,maxLength:i,error:a};let d;o?(c.regExp=o,d=f):d=g;super({fields:[new d(c)],title:e,destroyOnClose:r,modal:l}),s&&(this.value=s),this._paramName=t}_onSubmit(t,e){if(this._isLoading(t))return;const s=this._validate();if(s)this._showError(t,s);else{this._setLoading(t);const s=this._collectValues()[this._paramName];this._updateValue(s).then(n=>{t.close(),n&&n.email_changed?(0,u.createNoticeDialog)({type:"modal",title:(0,r.t)("Confirm your email"),content:(0,r.t)("Check {changed_email} to confirm your email address. You won't get any notifications until you confirm it.").format({changed_email:s})}).then((function(t){t.open(),t.on("destroy",()=>{e(n)})})):e(n)}).catch(e=>{this._setLoading(t,"stop"),this._showError(t,this._fields[0],e&&e.message||(0,r.t)("Unknown Error"))})}}_isLoading(t){return t.$actions.find(".js-submit-button").is(".i-loading")}_setLoading(t,e="start"){t.$actions.find(".js-submit-button").tvButtonLoader(e)}_updateValue(t){return new Promise((e,s)=>{!function(t){if(!t||!t.name||void 0===t.value)return void console.warn("Required options.name and options.value");function e(t){var e=Array.prototype.slice.call(arguments);e.shift(),"function"==typeof t&&t.apply(this,e)}function s(s){403===s.status?e(t.onError,(0,r.t)("Please, try to reload page to edit user data")):e(t.onError,(0,b.isProd)()?(0,r.t)("Sorry, an error has occurred"):s.responseText)}if("sms_email"===t.name&&""===t.value.trim())return s({}),void e(t.onComplete);var n={};n[t.name]=t.value;let i="/accounts/change_status/";"email"===t.name&&(i="/api/v1/users/change-email/"),C.post(i,n,(function(s){ +!s.errors||C.isEmptyObject(s.errors)?("email"!==t.name&&(user[t.name]=s[t.name]),e(t.onSuccess,s)):"email"===t.name?e(t.onError,Object.values(s.errors)):e(t.onError,s.errors[t.name])})).error((function(t){s(t)})).always((function(){e(t.onComplete)}))}({name:this._paramName,value:t,onSuccess:e,onError:t=>s(new Error((t||[]).join(" ")))})})}_showError(t,e,s){t.error(s||e.error),e.focus()}}var E=s(2872),y=s.n(E),S=s(62867),x=s(55306),k=s(56840);var T=s(33550),I=s(85459),M=s.n(I),$=s(55532),O=s.n($),D=s(59496),P=s(87995),N=s(27404),A=s(88537),R=s(66927);class j extends D.PureComponent{constructor(){super(...arguments),this._renderNumber=(t,e)=>{const s=n(R.number,{[R.active]:t===this.props.activeNumber,[R.inner]:this.props.isInner}),i=this.props.format?this.props.format(t):t.toString();return D.createElement("span",{key:t,className:s,style:this._numberStyle(this.props.radius-this.props.spacing,e),"data-value":i},D.createElement("span",null,i))}}render(){return D.createElement("div",{className:R.face,style:this._faceStyle(),onMouseDown:this.props.onMouseDown,onTouchStart:this.props.onTouchStart},this.props.numbers.map(this._renderNumber))}_faceStyle(){return{height:2*this.props.radius,width:2*this.props.radius}}_numberStyle(t,e){const s=Math.PI/180*360/12*e;return{left:t+t*Math.sin(s)+this.props.spacing,top:t-t*Math.cos(s)+this.props.spacing}}}class L extends D.PureComponent{constructor(t){super(t),this._onMouseMove=t=>{this._move(W(t))},this._onTouchMove=t=>{this._move(z(t))},this._onMouseUp=()=>{document.removeEventListener("mousemove",this._onMouseMove),document.removeEventListener("mouseup",this._onMouseUp),this._endMove()},this._onTouchEnd=t=>{document.removeEventListener("touchmove",this._onTouchMove),document.removeEventListener("touchend",this._onTouchEnd),this._endMove(t)}}componentWillUnmount(){document.removeEventListener("mousemove",this._onMouseMove),document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("touchmove",this._onTouchMove),document.removeEventListener("touchend",this._onTouchEnd)}render(){const t={height:this.props.length,transform:`rotate(${this.props.angle}deg)`};return D.createElement("div",{className:R.hand,style:t},D.createElement("span",{className:R.knob}))}mouseStart(t){document.addEventListener("mousemove",this._onMouseMove),document.addEventListener("mouseup",this._onMouseUp),this._move(W(t.nativeEvent))}touchStart(t){document.addEventListener("touchmove",this._onTouchMove),document.addEventListener("touchend",this._onTouchEnd),this._move(z(t.nativeEvent)),t.stopPropagation()}_endMove(t){this.props.onMoveEnd&&this.props.onMoveEnd(t)}_move(t){const e=this._trimAngleToValue(this._positionToAngle(t)),s=this._getPositionRadius(t);!this.props.onMove||isNaN(e)||isNaN(s)||this.props.onMove(360===e?0:e,s)}_trimAngleToValue(t){return this.props.step*Math.round(t/this.props.step)}_positionToAngle(t){return function(t,e,s,n){const i=function(t,e,s,n){return 180*(Math.atan2(n-e,s-t)+Math.PI/2)/Math.PI}(t,e,s,n);return i<0?360+i:i +}(this.props.center.x,this.props.center.y,t.x,t.y)}_getPositionRadius(t){const e=this.props.center.x-t.x,s=this.props.center.y-t.y;return Math.sqrt(e*e+s*s)}}function W(t){return{x:t.pageX-window.scrollX,y:t.pageY-window.scrollY}}function z(t){return{x:t.touches[0].pageX-window.scrollX,y:t.touches[0].pageY-window.scrollY}}var F=s(23935);const V=[0,...(0,F.range)(13,24)],H=[12,...(0,F.range)(1,12)];class U extends D.PureComponent{constructor(t){super(t),this._onMouseDown=t=>{this._hand.mouseStart(t)},this._onTouchStart=t=>{this._hand.touchStart(t)},this._onHandMove=(t,e)=>{const s=e{this.props.onChange(this._valueFromDegrees(t))}):this.props.onChange(this._valueFromDegrees(t))},this._onHandMoveEnd=()=>{this.props.onSelect&&this.props.onSelect()},this.state={isInner:this.props.selected>0&&this.props.selected<=12}}render(){const{center:t,radius:e,spacing:s,selected:n}=this.props;return D.createElement("div",null,D.createElement(j,{radius:e,spacing:s,numbers:V,activeNumber:n,format:F.twoDigitsFormat,onMouseDown:this._onMouseDown,onTouchStart:this._onTouchStart}),this._renderInnerFace(.46*e),D.createElement(L,{ref:t=>this._hand=t,length:e-(this.state.isInner?.46*e:s)-this.props.numberRadius,angle:30*n,step:30,center:t,onMove:this._onHandMove,onMoveEnd:this._onHandMoveEnd}))}_renderInnerFace(t){return D.createElement(j,{radius:this.props.radius,spacing:t,numbers:H,activeNumber:this.props.selected,onMouseDown:this._onMouseDown,onTouchStart:this._onTouchStart,isInner:!0})}_valueFromDegrees(t){return this.state.isInner?H[t/30]:V[t/30]}}const B=(0,F.range)(0,60,5);class G extends D.PureComponent{constructor(){super(...arguments),this._onMouseDown=t=>{this._hand.mouseStart(t)},this._onTouchStart=t=>{this._hand.touchStart(t)},this._onHandMove=t=>{this.props.onChange(t/6)},this._onHandMoveEnd=t=>{this.props.onSelect&&this.props.onSelect(t)}}render(){return D.createElement("div",null,D.createElement(j,{radius:this.props.radius,spacing:this.props.spacing,numbers:B,activeNumber:this.props.selected,format:F.twoDigitsFormat,onMouseDown:this._onMouseDown,onTouchStart:this._onTouchStart}),D.createElement(L,{ref:t=>this._hand=t,length:this.props.radius-this.props.spacing-this.props.numberRadius,angle:6*this.props.selected,step:6,center:this.props.center,onMove:this._onHandMove,onMoveEnd:this._onHandMoveEnd}))}}var Y;!function(t){t[t.Hours=0]="Hours",t[t.Minutes=1]="Minutes"}(Y||(Y={}));class q extends D.PureComponent{constructor(t){super(t),this._clockFace=null,this._raf=null,this._recalculateTimeout=null,this._calculateShapeBinded=this._calculateShape.bind(this),this._onChangeHours=t=>{this.state.time.hours()!==t&&this._onChange(this.state.time.clone().hours(t))},this._onChangeMinutes=t=>{this.state.time.minutes()!==t&&this._onChange(this.state.time.clone().minutes(t))},this._onSelectHours=()=>{this._displayMinutes()},this._onSelectMinutes=t=>{t&&t.target instanceof Node&&this._clockFace&&this._clockFace.contains(t.target)&&t.preventDefault(), +this.props.onSelect&&this.props.onSelect(this.state.time.clone())},this._displayHours=()=>{this.setState({faceType:Y.Hours})},this._displayMinutes=()=>{this.setState({faceType:Y.Minutes})},this._setClockFace=t=>{this._clockFace=t},this.state={center:{x:0,y:0},radius:0,time:this.props.selectedTime,faceType:Y.Hours}}render(){return D.createElement("div",{className:n(R.clock,this.props.className)},D.createElement("div",{className:R.header},D.createElement("span",{className:n(R.number,{[R.active]:this.state.faceType===Y.Hours}),onClick:this._displayHours},this.state.time.format("HH")),D.createElement("span",null,":"),D.createElement("span",{className:n(R.number,{[R.active]:this.state.faceType===Y.Minutes}),onClick:this._displayMinutes},this.state.time.format("mm"))),D.createElement("div",{className:R.body},D.createElement("div",{className:R.clockFace,ref:this._setClockFace},this.state.faceType===Y.Hours?this._renderHours():null,this.state.faceType===Y.Minutes?this._renderMinutes():null,D.createElement("span",{className:R.centerDot}))))}componentDidMount(){this._calculateShape(),this._recalculateTimeout=setTimeout(this._calculateShapeBinded,1),window.addEventListener("resize",this._calculateShapeBinded),window.addEventListener("scroll",this._calculateShapeBinded,!0)}componentWillUnmount(){this._clearTimeout(),window.removeEventListener("resize",this._calculateShapeBinded),window.removeEventListener("scroll",this._calculateShapeBinded,!0),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)}_clearTimeout(){null!==this._recalculateTimeout&&(clearTimeout(this._recalculateTimeout),this._recalculateTimeout=null)}_renderHours(){return D.createElement(U,{center:this.state.center,radius:this.state.radius,spacing:.18*this.state.radius,selected:this.state.time.hours(),numberRadius:13,onChange:this._onChangeHours,onSelect:this._onSelectHours})}_renderMinutes(){return D.createElement(G,{center:this.state.center,radius:this.state.radius,spacing:.18*this.state.radius,selected:this.state.time.minutes(),numberRadius:13,onChange:this._onChangeMinutes,onSelect:this._onSelectMinutes})}_onChange(t){this.setState({time:t}),this.props.onChange&&this.props.onChange(t.clone())}_calculateShape(){null===this._raf&&(this._raf=requestAnimationFrame(()=>{const{left:t,top:e,width:s}=(0,A.ensureNotNull)(this._clockFace).getBoundingClientRect();this.setState({center:{x:t+s/2,y:e+s/2},radius:s/2}),this._raf=null}))}}var K=s(76685),X=s(32563),J=s(44384),Z=s(23982),Q=s(67029);class tt extends D.PureComponent{constructor(t){super(t),this._format="HH:mm",this._fixValue=t=>((t=(t=t.substring(0,5)).replace(/:+/g,":")).endsWith(":")||2!==t.length||(t+=":"),t),this._isValid=t=>/^[0-9]{2}:[0-9]{2}/.test(t)&&$(t,this._format).isValid(),this._onType=t=>{const e=this._isValid(t)?$(t,this._format):null;e?this.setState({time:e,isInvalid:!1}):this.setState({isInvalid:!0}),this.props.onPick(e)},this._onSelect=t=>{this.setState({time:t,showClock:!1,isInvalid:!1}),this.props.onPick(t)},this._showClock=()=>{this.setState({showClock:!0})},this._hideClock=()=>{ +this.setState({showClock:!1})},this._getErrors=()=>{const t=this.props.errors?[...this.props.errors]:[];return this.state.isInvalid&&t.push((0,r.t)("Please enter the right time format hh:mm")),t},this.state={time:t.initial,showClock:!1,isInvalid:!this._isValid(t.initial.format(this._format))}}render(){return X.mobiletouch?D.createElement(Z.NativePickerInput,{value:this.state.time.format(this._format),type:"time",onChange:this._onType,icon:K,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:n(this._getFontSizeClassName(this.props.size),this.props.className),InputComponent:this.props.InputComponent}):D.createElement(J.PickerInput,{value:this.state.time.format(this._format),inputRegex:/[0-9:]/,fixValue:this._fixValue,onType:this._onType,onShowPicker:this._showClock,onHidePicker:this._hideClock,showPicker:this.state.showClock,icon:K,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:n(this._getFontSizeClassName(this.props.size),this.props.className),InputComponent:this.props.InputComponent},D.createElement(q,{selectedTime:this.state.time,onSelect:this._onSelect}))}UNSAFE_componentWillReceiveProps(t){this.props.initial!==t.initial&&this.setState({time:t.initial,isInvalid:!this._isValid(t.initial.format(this._format))})}_getFontSizeClassName(t){return t?"large"===t?Q.InputClasses.FontSizeLarge:Q.InputClasses.FontSizeMedium:void 0}}class et extends(M()){constructor({min:t=new Date(-864e13),max:e=new Date(864e13),value:s=new Date,noRangeValidation:n=!1,showErrorMessages:i=!0,readonly:o=!1,dateContainer:a,timeContainer:r,size:l,dateName:c,timeName:d,className:h}){super(),this._min=t,this._max=e,this._momentMin=O()(t),this._momentMax=O()(e),this._initValue=O()(s),this._dateContainer=a,this._timeContainer=r,this._noRangeValidation=n,this._size=l,this._showErrorMessages=i,this._dateName=c,this._timeName=d,this._readonly=o,this._className=h,this._dateValue=this._initValue.clone().startOf("day"),this._timeValue=this._initValue.clone(),this._disabled=!1,this._customErrors=[],this._errors={time:!1,date:!1,dateRange:!this._noRangeValidation&&!this._isInRange(s)},this._onDatePick=t=>{const e=t?O()(t):null;this.emit("pick",e),e?(this._errors.date=!1,e.isSame(this._dateValue)||(this._dateValue=e,this._resolveFullDateUpdate(),this._renderComponents())):this._errors.date=!0},this._onTimePick=t=>{this.emit("pick",t),t?(this._errors.time=!1,t.isSame(this._timeValue)||(this._timeValue=t,this._resolveFullDateUpdate(),this._renderComponents())):this._errors.time=!0},this._renderComponents()}isValid(){return!Object.values(this._errors).some(t=>t)&&!this._customErrors.length}destroy(){P.unmountComponentAtNode(this._dateContainer),P.unmountComponentAtNode(this._timeContainer)}setDisabled(t){this._disabled=t,this._renderComponents()}setErrors(t){ +for(const e of t)this._customErrors.includes(e)||this._customErrors.push(e);this._renderComponents()}removeErrors(t){for(const e of t){const t=this._customErrors.indexOf(e);-1!==t&&this._customErrors.splice(t,1)}this._renderComponents()}setCurrentDateTime(){const t=O()(new Date);this._onDatePick(t.toDate()),this._onTimePick(t),this._initValue=t}_isInRange(t){return this._min<=t&&this._max>=t}_resolveFullDateUpdate(){const t=this._getFullDate();t&&(this._noRangeValidation||this._isInRange(t)?(this._errors.dateRange=!1,this.emit("change",t)):this._errors.dateRange=!0)}_getFullDate(){return this._errors.date||this._errors.time?null:this._dateValue.clone().hours(this._timeValue.hours()).minutes(this._timeValue.minutes()).toDate()}_renderComponents(){const t=[...this._customErrors];this._errors.dateRange&&t.push((0,r.t)("Specified date is not within the allowed range")),P.render(D.createElement(N.DatePicker,{initial:this._initValue.toDate(),onPick:this._onDatePick,minDate:this._momentMin.toDate(),maxDate:this._momentMax.toDate(),disabled:this._disabled,noRangeValidation:!0,errors:t,size:this._size,showErrorMessages:this._showErrorMessages,name:this._dateName,readonly:this._readonly,className:this._className}),this._dateContainer),P.render(D.createElement(tt,{initial:this._initValue,onPick:this._onTimePick,disabled:this._disabled,errors:t,size:this._size,showErrorMessages:this._showErrorMessages,name:this._timeName,readonly:this._readonly,className:this._className}),this._timeContainer)}}var st=s(87463),nt=s(94738),it=s(84015),ot=s(59255),at=s(35908),rt=s(51768),lt=s(48743),ct=s(1787),dt=s(30152),ht=s(51712),pt=s(78599),ut=s(81268),_t=s.n(ut),mt=s(68587),vt=(s(73168),s(39227),s(6891),s(69423),s(89213),s(56912),s(23127)),gt=s(13398);const ft=(0,r.t)("Click here to learn more about webhooks"),bt=(0,r.t)("Click here to learn more about placeholders"),Ct=(0,r.t)("Click here to learn more about alerts on strategy"),wt=(0,r.t)("Click here to learn more about alert function usage");function Et(t,e,n){return`\n\t\t\n\t\t\t${s(17681)}\n\t\t`}function yt(){return`\n\t\t
\n\t\t\t\n\t\t
`}function St(){ +return`\n\t\t
\n\t\t\t\n\t\t
`}function xt(){return`\n\t\t
\n\t\t\t\n\t\t
`}function kt(){return`\n\t\t
\n\t\t\t\n\t\t\t${Et("js-webhook-solution-btn",ft)}\n\t\t
\n\t\t
\n\t\t\t\n\t\t
`}function Tt(){return`\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
`}function It(){return`\n\t\t
\n\t\t\t\n\t\t
`}function Mt(t,e){return`\n\t\t${t.join("\n")}\n\t\t\n\t\t
\n\t\t\t
${s(88613)}
\n\t\t\t${(0,r.t)("More actions")}\n\t\t\t${(0,r.t)("Fewer actions")}\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t${e.join("\n")}\n\t\t\t
\n\t\t
`}function $t(t,e){t.click(()=>{(0,dt.showSupportDialog)({solutionId:e})})}const Ot=(0,it.isOnMobileAppPage)("any"),Dt={title_wrap:'
{{title}}
',base:`
\n\t\t\t
\n\n\t\t\t\t{{#display_condition}}
\n\t\t\t\t
\n\t\t\t\t
{{/display_condition}}\n\n\t\t\t\t{{#display_frequency}}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t{{/display_frequency}}\n\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{{#display_open_ended}}\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{{/display_open_ended}}\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{#is_screener_alert}}\n\t\t\t\t\t${Mt([St(),xt()],[Tt(),It()])}\n\t\t\t\t\t{{/is_screener_alert}}\n\n\t\t\t\t\t{{^is_screener_alert}}\n\t\t\t\t\t\t{{#is_mobile_app}}\n\t\t\t\t\t\t${Mt([yt()],[St(),xt(),kt(),Tt(),It()])}\n\t\t\t\t\t\t{{/is_mobile_app}}\n\n\t\t\t\t\t\t{{^is_mobile_app}}\n\t\t\t\t\t\t${Mt([yt(),St(),xt(),kt()],[Tt(),It()])}\n\t\t\t\t\t\t{{/is_mobile_app}}\n\t\t\t\t\t{{/is_screener_alert}}\n\t\t\t\t\n\n\t\t\t\t{{#display_alert_name}}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t{{/display_alert_name}}\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{{#display_placeholders_hint}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t${(0,r.t)("You can use special placeholders such as {listOfPlaceholders}, etc.").format({listOfPlaceholders:"{{close}}, {{time}}, {{plot_0}}"})}\n\t\t\t\t\t\t\t${Et("js-placeholders-solution-btn",bt,"tv-alert-dialog__info--inside-text")}\n\t\t\t\t\t\t\n\t\t\t\t\t\t{{/display_placeholders_hint}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
`,condition_row:'\n\t\t\n\t\t\t
\n\t\t\t
\n\t\t
',condition_operators_row:'\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t',select:'',groupedSelect:'',readonly:'{{#caption}}{{/caption}}', +select_placeholder_width_hidden_input:'{{#showStrategyHint}}'+Et("js-strategy-solution-btn",Ct,"tv-alert-dialog__info--no-indent")+'{{/showStrategyHint}}{{^showStrategyHint}} {{/showStrategyHint}}',number_input:`
\n\t\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
${_t()}
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
${_t()}
\n\t\t\t\t
\n\t\t\t
\n\t\t
`,number_input_label:'{{{text}}}'},Pt=t=>!1===t?Promise.resolve(!1):(k.getBool("alerts.push.showDialog",!0)&&s.e(1662).then(s.bind(s,80208)).then(({showAlertsPushDialog:t})=>t()).then(t=>{k.setValue("alerts.push.showDialog",!t)}),Promise.resolve(!0)),Nt=({$numberInput:t,step:e,min:s,max:n,formatter:i=null,value:o=null,onChange:a=(t=>{}),readonly:r=!1}={})=>{const l=t.find(".js-input-up"),c=t.find(".js-input-down"),d=t.find("input"),h=t=>Math.min(n,Math.max(s,t));let p,u;p=i&&i.format?t=>i.format(t):t=>""+Math.floor(t),u=i&&i.parse?t=>{const e=i.parse(t);return"number"==typeof e?e:e.res?e.value:NaN}:t=>parseInt(t);const _=()=>{const t=u(d.val());isNaN(t)||(o=h(t)),isNaN(o)&&(o=s)},m=(t,e)=>{const s=d.val(),n=p(h(o));(n!==s||e)&&(d.val(n),!0!==t&&d.trigger("change"),a(o))},v=(t=1)=>{r||(o=h(o+e*t),m())};null===o&&_(),l.on("click",()=>v()),c.on("click",()=>v(-1)),d.on("change",()=>{_(),m(!0,!0)}),X.mobiletouch?d.on("input",()=>{_(),a(o)}):d.on("mousewheel",t=>{var e=t.deltaY*(t.deltaFactor/100);t.preventDefault(),v(e)}),d.on("focus",()=>t.addClass("i-active")).on("blur",()=>t.removeClass("i-active")),m()},At=(t,e,s,n,i,o=!1)=>1===e.length?Lt(t,e[0],s,o):Rt(t,e,s,n,i),Rt=(t,e,s,n,i)=>{const o=vt(gt.render(Dt.select,{name:t,options:e}));return s.append(o),o.tvControlSelect({boundingElement:i}),"function"==typeof n&&o.on("change",n),o},jt=(t,e,s,n,i)=>{const o=vt(gt.render(Dt.groupedSelect,{name:t,groups:e}));return s.append(o),o.tvControlSelect({boundingElement:i,showOptgroupSeparators:!0}),"function"==typeof n&&o.on("change",n),o},Lt=(t,e,s,n=!1)=>{const i=vt(gt.render(Dt.readonly,{name:t,value:e.value,caption:n||!e.caption?null:e.caption}));return s.append(i),i};class Wt extends l.TVPopup{constructor(t={}){let e=!1;const s=t.conditionEditor;s&&(delete t.conditionEditor,e=s.hasCondition()) +;const n=t.alertState,i=t.readonly,a=t.hasInfiniteExpiration;delete t.alertState,delete t.readonly,delete t.hasInfiniteExpiration;const l=(d=n.soundParams.name,c.availableSounds.filter(t=>t.soundForAlerts).map(t=>new p(t,d===t.path)));var d;const h=function(t){const e=[{value:"0",caption:(0,r.t)("Once")},{value:"5",caption:(0,r.t)("5 seconds")},{value:"10",caption:(0,r.t)("10 seconds")},{value:"30",caption:(0,r.t)("30 seconds")},{value:"60",caption:(0,r.t)("Minute")}];return t&&e.forEach(e=>{e.value===t&&(e.selected=!0)}),e}(String((0,at.ensureDurationInSeconds)(n.soundParams.duration)));var u;i||((u=n).notifyWith.email&&!user.has_active_email&&(u.notifyWith.email=!1),u.notifyWith.sms&&!user.sms_email&&(u.notifyWith.sms=!1));const _=t.alertCategory===nt.AlertCategory.Price,m=t.alertCategory===nt.AlertCategory.Screener;t.content=gt.render(Dt.base,{is_mobile_app:Ot,is_screener_alert:m,display_condition:e,display_frequency:e&&Boolean(n.frequency),display_open_ended:a,display_placeholders_hint:_,display_alert_name:_,inf_exp:n.noExpiration,actions_popup:n.notifyWith.popup,actions_sound:n.notifyWith.sound,actions_email:n.notifyWith.email,actions_sms:n.notifyWith.sms,actions_push:n.notifyWith.push,sounds:l,sound_durations:h,description:n.message,description_textarea_rows:5,webhook_url_active:null!==n.webhookUrl,webhook_url_value:n.webhookUrl||"",name_value:n.name}),t.actions=[],i||t.actions.push({name:"submit",type:"primary",text:t.submitCaption||(0,r.t)("Create",{context:"alert"}),key:13,addClass:"js-submit-button"}),t.actions.push({name:"cancel",type:"default",text:(0,r.t)("Cancel"),addClass:"js-cancel-button"}),!i&&t.enableDeleteButton&&(t.actions.push({name:"delete",type:"danger",text:t.deleteCaption||(0,r.t)("Delete"),addClass:"tv-alert-dialog__delete-button js-delete-button"}),delete t.enableDeleteButton),t.title&&(t.title=gt.render(Dt.title_wrap,{title:t.title})),super(t),this.stateChange=new(y()),this._alertState=n,this._sounds=l,this._soundDurations=h,this._readonly=i,this._setupExpiration(),this._setupAction("popup","show-popup"),this._setupAction("sound","play-sound");const v=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;this._setupAction("email","send-email",t=>(({newValue:t,paramName:e,paramExistsFlagName:s,dialogTitle:n="",fieldLabel:i="",regExp:o=null,error:a=""})=>!1===t?Promise.resolve(t):user[e]||user[s]?Promise.resolve(!0):new w({paramName:e,dialogTitle:n,fieldLabel:i,maxLength:300,validateRegExp:o,error:a,modal:!0}).show().then(()=>!0))({newValue:t,paramName:"email",paramExistsFlagName:"has_active_email",dialogTitle:(0,r.t)("Set email"),fieldLabel:(0,r.t)("Please, enter your email"),regExp:v,error:(0,r.t)("Enter a valid email address")})),this._setupAction("sms","send-sms",t=>{return(e=t)&&!window.user.sms_email?(0,pt.createSMSEmailDialog)({featureSource:"alert_sms_to_email"}).then(t=>(t.open(),new Promise(e=>{t.on("verification:success",()=>e(!0)),t.on("verification:cancel",()=>e(!1)) +}))):Promise.resolve(e);var e}),this._setupAction("push","send-push",t=>Pt(t)),this._setupSoundControls(),this._setupWebhookControls(),this._setUpAlertName(),this._setupActionsWrapperToggle(),this._setupDescription(),this.$content.find("textarea").on("keydown",t=>t.stopPropagation()),e&&this._setupCondition(s);const g=this.$actions.find(".js-submit-button");g&&g.tvButtonLoader();const f=this.$actions.find(".js-delete-button");f&&f.size()&&f.tvButtonLoader();const b=this.$actions.find(".js-cancel-button");this.on("action:submit",()=>{if(this.isLoading())return;const{notifyWith:t}=this.getAlertState();for(const e in t)t[e]&&(0,rt.trackEvent)("alert","notification",e);this._disableTimeoutId=setTimeout(()=>this._setInputsDisabledState(!0),300),g.tvButtonLoader("start"),b.addClass("i-disabled")}).on("action:delete",()=>{this.isLoading()||(this._disableTimeoutId=setTimeout(()=>this._setInputsDisabledState(!0),300),f.tvButtonLoader("start"),b.addClass("i-disabled"))}).on("action:cancel",()=>{b.is(".i-disabled")||this.close()}),i&&this._setInputsReadonlyState();const C=new ot.default((0,o.default)(()=>{this.calcHeight(),this.fixPos()},100));C.observe(this.$scrollWrapInner[0]),this.on("destroy",()=>{C.disconnect()})}restoreButtons(){this.$actions.find(".js-submit-button").tvButtonLoader("stop"),this.$actions.find(".js-cancel-button").removeClass("i-disabled");const t=this.$actions.find(".js-delete-button");t.size()&&t.tvButtonLoader("stop"),clearTimeout(this._disableTimeoutId),this._setInputsDisabledState(!1)}getAlertState(){return this._alertState}setAlertState(t){this._alertState=t}isLoading(){if(this.$actions.find(".js-submit-button").tvButtonLoader("get","loading"))return!0;const t=this.$actions.find(".js-delete-button");return!(!t.size()||!t.tvButtonLoader("get","loading"))}error(t,e){let s=null;if(e){if("expirationDate"===e)return this.$scrollWrap.is(".i-scrollable")?void super.error(t):(this._dateTimeInput.setErrors([t]),void this._dateTimeInput.once("pick",()=>{this._dateTimeInput.removeErrors([t])}));s=this.$content.find(`[name="${e}"]`)}s&&s.size()?(s.is(".js-number-input")&&(s=s.closest(".js-number-input__wrap")),s.tvControlError("add",{id:t,message:t,maxWidth:210}).tvControlError("render").one("change input",e=>{s.tvControlError("remove",{id:t}).tvControlError("render")})):super.error(t)}_setInputsReadonlyState(){this.$content.find("select").tvControlSelect("setReadonly",!0),this.$content.find("input, textarea").toArray().forEach(t=>{const e=vt(t),s=e.attr("type");"text"===s||"url"===s?e.prop("readonly",!0):"checkbox"===s&&e.prop("disabled",!0)})}_setInputsDisabledState(t){this._dateTimeInput.setDisabled(t),this.$content.find("select").tvControlSelect(t?"disable":"enable"),this.$content.find("input, textarea").toArray().forEach(e=>{const s=vt(e),n=s.attr("type");"text"!==n&&"checkbox"!==n||(s.prop("disabled",t),s.is(".js-number-input")&&s.closest(".js-number-input__wrap").toggleClass("i-disabled",t))})}_onConditionMainSeriesChange(){ +const t=this._$mainSeriesInput.val(),e=this._conditionEditor.getMainSeriesSelectOptions().filter(e=>e.value===t).map(t=>t.actualSymbol)[0];this._conditionEditor.updateMainSeriesIdForAlert(t,e)&&this._setupConditionOperators(),this._updateConditionFirstOperand(),this._onConditionChange()}_setupConditionMainSeries(){this._conditionPlaceholders.$first.html(gt.render(Dt.condition_row,{label:(0,r.t)("Condition"),js_left_wrap_class:"js-main-series-select-wrap",js_right_wrap_class:"js-main-series-plot-index-select-wrap",left_width:"50%",right_width:"50%"})),this._$mainSeriesInput=At("main-series",this._conditionEditor.getMainSeriesSelectOptions(),this._conditionPlaceholders.$first.find(".js-main-series-select-wrap"),()=>this._onConditionMainSeriesChange(),this.$scrollWrap.get(0)),this._onConditionMainSeriesChange()}_onConditionOperatorChange(){const t=this._$operatorInput.val();this._conditionEditor.updateOperator(t)&&this._updateConditionFirstOperand(),this._onConditionChange()}_setupConditionOperators(){const t=this._conditionEditor.getOperatorOptionGroups(),e=1===t.length&&1===t[0].length?t[0][0]:null;if(e&&!e.caption)return void this._conditionPlaceholders.$operator.empty();this._conditionPlaceholders.$operator.html(Dt.condition_operators_row);const s=this._conditionPlaceholders.$operator.find(".js-condition-operator-input-wrap");s.empty(),this._$operatorInput=((t,e,s,n,i,o=!1)=>1===e.length&&1===e[0].length?Lt(t,e[0][0],s,o):jt(t,e,s,n,i))("condition-id",t,s,()=>this._onConditionOperatorChange(),this.$scrollWrap.get(0))}_setupSecondOperandMoving(t,e,s){const n=vt(gt.render(Dt.condition_row,{js_left_wrap_class:"js-second-operand-move-value-wrap",js_right_wrap_class:"js-second-operand-move-period-wrap",left_width:"45%",right_width:"55%",last:!0,with_labels:!0})),i=vt(gt.render(Dt.number_input,{js_wrap_class:"js-move-value-input-wrap",name:t.name})),o=vt(gt.render(Dt.number_input_label,{right:!0,text:s})),a=vt(gt.render(Dt.number_input_label,{left:!0,text:(0,r.t)("in")})),l=vt(gt.render(Dt.number_input,{js_wrap_class:"js-period-input-wrap",name:e.name})),c=vt(gt.render(Dt.number_input_label,{right:!0,text:(0,r.t)("bars")}));n.find(".js-second-operand-move-value-wrap").append(i).append(o),n.find(".js-second-operand-move-period-wrap").append(a).append(l).append(c),this._conditionPlaceholders.$second.append(n);Nt({$numberInput:i,value:t.value,step:t.step,min:t.min,max:t.max,formatter:t.formatter,onChange:t=>{this._conditionEditor.updateMovingValue(t),this._onConditionChange()},readonly:this._readonly}),Nt({$numberInput:l,value:e.value,step:e.step,min:e.min,max:e.max,onChange:t=>{this._conditionEditor.updateMovingPeriod(t),this._onConditionChange()},readonly:this._readonly})}_onSecondOperandSeriesChange(t,e){const s=e.val();this._conditionEditor.updateSecondOperandSeriesIdForAlert(s,t);const n=this._conditionEditor.getSecondOperandSeriesValueType(t),i=this._conditionPlaceholders.$second.find(".js-second-operand-value-wrap__"+t.name);i.empty();const o=t.valueName,a=e=>{this._conditionEditor.updateSecondOperandValue(e,t), +this._onConditionChange()};if("value"===n){const e="js-second-operand-value__"+o,s=vt(gt.render(Dt.number_input,{js_wrap_class:e,name:o}));i.append(s);const n=this._conditionEditor.getSecondOperandSeriesValueOptions(t);Nt({$numberInput:s,value:n.value,step:n.step||1,min:n.min||0,max:n.max||1/0,formatter:n.formatter,onChange:a,readonly:this._readonly}),a(n.value)}else if("plotIndex"===n){const e=this._conditionEditor.getSecondOperandPlotIndexOptions(s,t),n=At(o,e,i,()=>{a(n.val()),this._updateConditionSecondOperand()},this.$scrollWrap.get(0),this._conditionEditor.getSecondOperandPlots(t).length<=1);a(n.val())}}_setupSecondOperandSeries(t,e){const s="js-second-operand-select-wrap__"+t.name,n="js-second-operand-value-wrap__"+t.name,i=vt(gt.render(Dt.condition_row,{label:t.label,js_left_wrap_class:s,js_right_wrap_class:n,left_width:"50%",right_width:"50%",last:e}));this._conditionPlaceholders.$second.append(i);const o=this._conditionPlaceholders.$second.find("."+s),a=t.options;let r;const l=()=>{o.empty(),r=At(t.name,a,o,()=>{this._onSecondOperandSeriesChange(t,r),(()=>{const t=r.val(),e=a.length;for(let s=e-1;s>=0;--s){const e=a[s];e.value!==t&&e.removeOnChange&&a.splice(s,1)}return e!==a.length})()&&l(),this._updateConditionSecondOperand()},this.$scrollWrap.get(0))};l(),this._onSecondOperandSeriesChange(t,r)}_setupConditionSecondOperandRow(t,e){t.isMoving?this._setupSecondOperandMoving(t.value,t.period,t.unit):this._setupSecondOperandSeries(t,e)}_updateConditionFirstOperand(){const t=this._conditionEditor.getMainSeriesPlotIndexOptions(),e=this._conditionPlaceholders.$first.find(".js-main-series-plot-index-select-wrap");if(Array.isArray(t)&&t.length){e.empty();const s=()=>{this._conditionEditor.updateMainSeriesPlotIndex(n.val()),this._updateConditionSecondOperand(),this._onConditionChange()},n=At("main-series-plot-index",t,e,s,this.$scrollWrap.get(0),!0);s()}else{e.html(gt.render(Dt.select_placeholder_width_hidden_input,{name:"main-series-plot-index",value:"0",showStrategyHint:this._conditionEditor.isStrategy()&&!this._conditionEditor.isSeriesWithAlertFunction()}));$t(e.find(".js-strategy-solution-btn"),ct.solutionIds.ALERT_ON_STRATEGY),this._updateConditionSecondOperand()}}_updateConditionSecondOperand(){const t=this._conditionEditor.getSecondOperandInputs();if(Array.isArray(t)){this._conditionPlaceholders.$second.empty();for(let e=0;ethis._onConditionChangeImpl(),1),this._setupConditionOperators(),this._setupConditionMainSeries(),this._conditionEditor.isDescriptionSetByUser()?this._isCustomDescription=!0:this.$content.find('[name="description"]').one("input",()=>{this._isCustomDescription=!0}),this._conditionEditor.isNameSetByUser()?this._isCustomName=!0:this.$content.find('[name="alert-name"]').one("input",()=>{this._isCustomName=!0})}_updateFireRate(){const t=t=>{const{frequency:e,autoDeactivation:s}=(n=t,JSON.parse(n));var n;this._alertState.autoDeactivation=s,this._alertState.frequency=e,this.stateChange.fire([{name:"frequency"},{name:"autoDeactivation"}])},e=this._conditionEditor?this._conditionEditor.getFireRateOptions():[];e.forEach(t=>{t.value=zt(t.value.autoDeactivation,t.value.frequency)});let s=zt(this._alertState.autoDeactivation,this._alertState.frequency);!e.some(t=>t.value===s)&&e.length>0&&(s=e[0].value);const n=this.$content.find(".js-fire-rate-row");if(1\n\t\t\t
`);if(s.append(a),t.forEach(t=>{const s=vt(`
\n\t\t\t\t
${t.caption}
\n\t\t\t
`);t.disabled?s.addClass("i-disabled"):t.value===e&&s.addClass("i-active"),a.append(s)}),!i){a.find(".js-buttons-group-option").click(e=>{const i=vt(e.target).closest(".js-buttons-group-option");if(!i.hasClass("i-disabled")){s.find(".js-buttons-group-option").removeClass("i-active"),i.addClass("i-active") +;const e=t[i.index()];n&&e&&n(e.value)}})}}a>1&&s.find(".js-buttons-group").addClass("tv-buttons-group--table-like")}(e,s,i,t,this._readonly)}else n.addClass("i-hidden");t(s)}_setupExpiration(){const t=this._alertState.expirationDate;this._dateTimeInput=new et({min:this.options.minExpire instanceof Date?this.options.minExpire:new Date,max:this.options.maxExpire instanceof Date?this.options.maxExpire:void 0,value:t,dateContainer:this.$content.find(".js-date-container")[0],timeContainer:this.$content.find(".js-time-container")[0],noRangeValidation:!0,size:"small",dateName:"alert_exp_date",timeName:"alert_exp_time",readonly:this._readonly,className:"tv-alert-dialog__date-time-input container"}),this._dateTimeInput.on("change",t=>{this._alertState.expirationDate=t,this.stateChange.fire([{name:"expirationDate"}])}),this._dateTimeInput.on("pick",t=>{this.toggleAction("submit",!!t)}),this.on("beforeClose",()=>{this._dateTimeInput.destroy()});const e=this.$content.find(".js-inf-exp").get(0);if(e){function s(t){this._alertState.noExpiration=t,this.stateChange.fire([{name:"noExpiration"}]),e.checked=t,this._dateTimeInput.setDisabled(t)}e.addEventListener("click",()=>{(0,st.trackGoProFeature)("alertsNoExpiration"),e.checked=!e.checked,e.checked?s.call(this,!1):(0,ht.runOrGoPro)(()=>{s.call(this,!0)},S.ProductFeatures.ALERTS_NO_EXPIRATION,{feature:"alertsNoExpiration"})}),e.checked&&this._dateTimeInput.setDisabled(!0)}}_setupAction(t,e,s){const n=this.$content.find(`[name="${e}"]`);n.on("click",e=>setTimeout(()=>{if("function"==typeof s){const e=n.prop("checked");n.prop("checked",!e),s(e).then(e=>{n.prop("checked",e),e!==this._alertState.notifyWith[t]&&(this._alertState.notifyWith[t]=e,this.stateChange.fire([{name:["notifyWith",t]}]))})}else this._alertState.notifyWith[t]=n.prop("checked"),this.stateChange.fire([{name:["notifyWith",t]}])},0))}_setupWebhookControls(){const t=this.$content.find('input[name="webhook-toggle"]'),e=this.$content.find('input[name="webhook-url"]'),s=this.$content.find(".js-webhook-input-wrap"),n=this.$content.find(".js-webhook-solution-btn"),i=t=>{s.toggleClass("tv-alert-dialog__fieldset-value-item--collapsed",t)},o=t=>{n.toggleClass("i-hidden",!t)},a=()=>{const s=t.prop("checked");if(s&&!(0,T.enabled)(S.ProductFeatures.ALERTS_WEBHOOK))return(0,x.showGoProAlertsWebhookDialog)(),void t.prop("checked",!1);i(!s),o(s),r(s?e.val().trim():null)},r=t=>{this._alertState.webhookUrl=t,this.stateChange.fire([{name:"webhookUrl"}])},l=t.prop("checked");i(!l),o(l),t.on("change",()=>setTimeout(a,0)),e.on("change input",()=>{r(e.val().trim())}),$t(n,ct.solutionIds.ALERT_WEBHOOK)}_setUpAlertName(){const t=(0,r.t)("Alert name can't be longer than {charCount} character.",{plural:"Alert name can't be longer than {charCount} characters.",count:300}).format({charCount:300});this._setupLimitInputHandler(this.$content.find('input[name="alert-name"]'),300,"name",t)}_setupSoundControls(){ +const t=this.$content.find('input[name="play-sound"]'),e=this.$content.find(".js-sound-settings"),n=()=>e.toggleClass("tv-alert-dialog__fieldset-value-item--collapsed",!t.prop("checked"));n(),t.on("change",()=>setTimeout(n,0));const i=this.$content.find('select[name="sound-name"]'),o=this.$content.find('select[name="sound-duration"]');i.tvControlSelect(),o.tvControlSelect();const a=i.data("tvControlSelect"),r=()=>this._sounds.forEach(t=>{const e=a.items.find(e=>e.value===t.value).$el;if(e.is(".js-has-sound-player"))return;const n=vt(`${s(73362)}`).on("click",e=>{e.stopPropagation(),t.toggle()}).appendTo(e);t.state.subscribe(t=>n.toggleClass("tv-alert-dialog__sound-toggle--playing",t)),e.addClass("tv-alert-dialog__sound-select_option js-has-sound-player")});i.data("tvControlSelect").$el.on("beforeOpenMenu",()=>r()),i.on("change",t=>{const e=i.val();this._alertState.soundParams.name!==e&&(this._alertState.soundParams.name=e,this.stateChange.fire([{name:["soundParams","name"]}]))}),o.on("change",t=>{const e=Number(o.val());this._alertState.soundParams.duration!==e&&(this._alertState.soundParams.duration=e,this.stateChange.fire([{name:["soundParams","duration"]}]))})}_setupActionsWrapperToggle(){const t=mt.dur/1.5;let e=!1;const s=this.$content.find(".js-fieldset-wrapper"),n=this.$content.find(".js-fieldset-wrapper-container"),i=this.$content.find(".js-fieldset-wrapper-toggle").on("click",()=>{e||(e=!0,(0,lt.lazyVelocity)().then(()=>{const o=i.is(".i-active");i.toggleClass("i-active"),o&&s.css({maxHeight:s.height(),overflow:""}),s.velocity({"max-height":o?0:n.height()},{duration:t,complete(){o||s.css({maxHeight:"",overflow:"visible"}),e=!1}}),s.toggleClass("i-active")}))})}_setupDescription(){const t=(0,r.t)("Your message can't be longer than {charCount} character.",{plural:"Your message can't be longer than {charCount} characters.",count:4e3}).format({charCount:4e3});this._setupLimitInputHandler(this.$content.find('[name="description"]'),4e3,"message",t),$t(this.$content.find(".js-placeholders-solution-btn"),ct.solutionIds.ALERT_DESCRIPTION_PLACEHOLDER)}_setupLimitInputHandler(t,e,s,n){t.tvControlError("render"),t.on("change input",()=>{let i=t.val().trim();i.length>e?(i=i.slice(0,e),t.val(i),t.tvControlError("add",{id:n,message:n}).tvControlError("render")):t.tvControlError("hasErrors")&&t.tvControlError("remove",{id:n}).tvControlError("render"),this._alertState[s]!==i&&(this._alertState[s]=i,this.stateChange.fire([{name:s}]))})}}function zt(t,e){return JSON.stringify({autoDeactivation:t,frequency:e})}},77544:(t,e,s)=>{"use strict";s.d(e,{TVPopup:()=>u});var n=s(68587),i=s(52150),o=s(51536),a=s(30812),r=s(35190),l=s(25760),c=s(23127);const d=c("body"),h=c(window),p={closeOnClickAtOtherDialogs:!0,draggable:!0,scrollWrap:'
',scrollWrapInner:'
',withScroll:!0};class u extends o.TVDialogAbstract{constructor(t={}){super({...p,...t}), +this.$scrollWrap=this.$content.hasClass("js-dialog__scroll-wrap")?this.$content:this.$content.find(".js-dialog__scroll-wrap"),this.$scrollWrap.length?this.$scrollWrapInner=this.$scrollWrap.children().first():(this.$scrollWrap=this.$content.wrap(c(this.options.scrollWrap)).parent(),this.$scrollWrapInner=this.$content.wrap(c(this.options.scrollWrapInner)).parent()),this.$actions&&this.$scrollWrap.addClass("i-with-actions"),this.options.withScroll&&(this.scroll=new a.SidebarCustomScroll(this.$scrollWrap[0],this.$scrollWrapInner[0]),this.scroll.scrolled.subscribe(null,()=>this.trigger("scroll"))),this.$scrollWrap.css("overflow","");const e=this.getDialogId();this.$el.addClass("tv-dialog--popup i-closed i-hidden"),this.options.width&&this.$el.css({width:"calc(100% - 20px)","max-width":this.options.width}),this._hotkeys=l.createGroup({desc:"Dialog",isDisabled:()=>!this.opened,modal:!1}),this.options.closeOnEsc&&this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this.close()}),this.$el.on("mousedown touchstart",this.toTop.bind(this)),this.options.closeOnOutsideClick&&(this._preventClick=!0,this.on("beforeOpen",()=>{setTimeout(()=>{this.opened&&(c(document).on("mousedown touchstart",()=>{this._preventClick=!1}),c(document).on("click.tv-popup-"+e,t=>{if(this._preventClick)return;const e=c(t.target).closest(".js-dialog");(this.options.closeOnClickAtOtherDialogs||0===e.length)&&this.isEventOut(t)&&this.close()}))},0)}),this.on("beforeClose",()=>c(document).off("click.tv-popup-"+e))),this.on("change:zIndex",()=>{this.$el.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$el.remove(),this._hotkeys.destroy()};this.opened?(this.close(),setTimeout(t,n.dur/2)):t()})}open(){return this.opened||(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.$wrap).removeClass("i-hidden").css((()=>{this.calcHeight();const t=h.height(),e=h.width(),s=this.$el.height(),n=this.$el.width();let i=this.options.position;return i||(i={top:t/2-s/2,left:e/2-n/2}),i.top>t-s&&(i.top=t-s),i.left>e-n&&(i.left=e-n),i.top<10&&(i.top=10),i.left<10&&(i.left=10),i})()),this.focus(),this.toTop(),this._doOpenAnimation().then(()=>{this.opened&&(this.$el.removeClass("i-closed"),this.options.draggable&&((0,r.lazyJqueryUI)(this.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing",stop:(t,e)=>{this.trigger("dragEnd",[this])}}),this.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),this.trigger("afterOpen",[this]))}),h.on("resize.tv-popup-"+this.getDialogId(),()=>{this.calcHeight(),this.fixPos()})),this}close(){if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(()=>{this.opened||((0,r.lazyJqueryUI)(this.$el).draggable("instance").then(t=>{t&&t.destroy()}),this.$el.addClass("i-hidden").detach(),d.css("cursor","auto"),this.trigger("afterClose",[this]),this.options.destroyOnClose&&this.destroy())}), +h.off("resize.tv-popup-"+this.getDialogId()),this}hide(){this.$el.addClass("i-hidden")}show(){this.$el.removeClass("i-hidden")}fixPos(){const t=this.$el[0].getBoundingClientRect(),e={};t.bottom>i.mediaState.height-10&&(e.top=i.mediaState.height-10-t.height,e.top<10&&(e.top=10)),t.right>i.mediaState.width-10&&(e.left=i.mediaState.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}calcHeight(){const t=this.$el[0].getBoundingClientRect(),e=this.$scrollWrapInner[0].getBoundingClientRect(),s=this.$scrollWrap[0].getBoundingClientRect();let n=this.options.height&&this.options.heightn)&&(n-=t.height-s.height,n<60&&(n=60),this.$scrollWrap.css({height:n})),this.options.withScroll&&this.scroll.resize();const a=n{"use strict";s.d(e,{showSupportDialog:()=>n});s(51872);function n(t){return Promise.all([s.e(9685),s.e(5514),s.e(8463),s.e(9289),s.e(509),s.e(3118),s.e(5998),s.e(8844),s.e(1253),s.e(8247),s.e(9297),s.e(9255),s.e(3812),s.e(5376),s.e(1536),s.e(5423),s.e(9957),s.e(7274)]).then(s.bind(s,89053)).then(e=>new e.SupportDialog(t).open())}},78599:(t,e,s)=>{"use strict";async function n(t){return(await Promise.all([s.e(8463),s.e(509),s.e(3118),s.e(5998),s.e(3848),s.e(8844),s.e(9410),s.e(5113),s.e(9565),s.e(8138),s.e(3014),s.e(1536),s.e(9040),s.e(8606)]).then(s.bind(s,44279))).createPhoneDialog(t)}async function i(t){return(await Promise.all([s.e(8463),s.e(509),s.e(3118),s.e(5998),s.e(3848),s.e(8844),s.e(9410),s.e(5113),s.e(9565),s.e(8138),s.e(3014),s.e(1536),s.e(9040),s.e(8606)]).then(s.bind(s,44279))).createEmailDialog(t)}s.d(e,{createPhoneDialog:()=>n,createSMSEmailDialog:()=>i})},48743:(t,e,s)=>{"use strict";s.d(e,{lazyVelocity:()=>i});s(23127);var n=s(23127);async function i(){await s.e(2112).then(s.t.bind(s,37356,23))}n.fn.velocity=function(...t){return i().then(()=>{n.fn.velocity.apply(this,t)}),this}},39640:(t,e,s)=>{"use strict";function n(t,e,s,n,i){function o(i){if(t>i.timeStamp)return;const o=i.target;void 0!==s&&null!==e&&null!==o&&o.ownerDocument===n&&(e.contains(o)||s(i))}return i.click&&n.addEventListener("click",o,!1),i.mouseDown&&n.addEventListener("mousedown",o,!1),i.touchEnd&&n.addEventListener("touchend",o,!1),i.touchStart&&n.addEventListener("touchstart",o,!1),()=>{n.removeEventListener("click",o,!1),n.removeEventListener("mousedown",o,!1),n.removeEventListener("touchend",o,!1),n.removeEventListener("touchstart",o,!1)}}s.d(e,{addOutsideEventListener:()=>n})}, +74664:(t,e,s)=>{"use strict";s.d(e,{breakpoints:()=>n,mobileFirstBreakpoints:()=>i,mobileFirstLegacyBreakpoints:()=>o});const n={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019},i={base:0,"media-mf-phone-vertical":320,"media-mf-phone-landscape":568,"media-mf-tablet-vertical":768,"media-mf-tablet-landscape":1024,"media-mf-laptop":1280,"media-mf-desktop-medium":1440,"media-mf-desktop-large":1920,"media-mf-desktop-extra-large":2560},o={"media-mf-legacy-phone-vertical":330,"media-mf-legacy-phone":480,"media-mf-legacy-notebook":1020,"media-mf-legacy-desktop-medium":1480,"media-mf-legacy-desktop":1531}},68722:(t,e,s)=>{"use strict";s.d(e,{getScrollbarWidth:()=>n,matchMediaMinMax:()=>i,setStyle:()=>o,getCSSProperty:()=>a,getCSSPropertyNumericValue:()=>r});const n=(()=>{let t;return()=>{var e;if(void 0===t){const s=document.createElement("div"),n=s.style;n.visibility="hidden",n.width="100px",n.msOverflowStyle="scrollbar",document.body.appendChild(s);const i=s.offsetWidth;s.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",s.appendChild(o);const a=o.offsetWidth;null===(e=s.parentNode)||void 0===e||e.removeChild(s),t=i-a}return t}})();function i(t,e){return e===1/0?window.matchMedia(`(min-width: ${t}px)`):window.matchMedia(`(min-width: ${t}px) and (max-width: ${e}px)`)}function o(t,e,s){null!==t&&t.style.setProperty(e,s)}function a(t,e){return getComputedStyle(t,null).getPropertyValue(e)}function r(t,e){return parseInt(a(t,e))}},52150:(t,e,s)=>{"use strict";s.d(e,{mediaState:()=>c});var n=s(85459),i=s.n(n),o=s(69677),a=s(74664),r=s(68722);class l extends(i()){constructor(){super(),this.width=0,this.height=0,this.device=null,this.breakpoints=a.breakpoints,this._checkDevice(),window.addEventListener("resize",this._checkDevice),Object.entries(a.breakpoints).sort(([t,e],[s,n])=>e-n).forEach(([t,e],s,n)=>{let i;if(0!==s){const[,t]=n[s-1];i=t+1}else i=0;const o=(0,r.matchMediaMinMax)(i,e);o.matches&&this._setNewDevice(t),o.addListener(e=>{e.matches&&(this._checkDevice(),this._setNewDevice(t))})}),(0,o.whenDocumentReady)(this._checkDevice.bind(this)),this.isPhoneSizeDevice.bind(this)}isPhoneSizeDevice(){return"phone"===this.device||"phone-vertical"===this.device}_checkDevice(){this.width=window.innerWidth,this.height=window.innerHeight}_setNewDevice(t){const e=this.device;this.device=t,this.trigger("changeDevice",[t,e])}}const c=new l},58095:(t,e,s)=>{"use strict";s.d(e,{useOutsideEvent:()=>o});var n=s(59496),i=s(39640);function o(t){const{click:e,mouseDown:s,touchEnd:o,touchStart:a,handler:r,reference:l,ownerDocument:c=document}=t,d=(0,n.useRef)(null),h=(0,n.useRef)(new CustomEvent("timestamp").timeStamp);return(0,n.useLayoutEffect)(()=>{const t={click:e,mouseDown:s,touchEnd:o,touchStart:a},n=l?l.current:d.current;return(0,i.addOutsideEventListener)(h.current,n,r,c,t)},[e,s,o,a,r]),l||d}},76594:(t,e,s)=>{"use strict";s.d(e,{OutsideEvent:()=>i});var n=s(58095);function i(t){const{children:e,...s}=t;return e((0,n.useOutsideEvent)(s))}},88216:(t,e,s)=>{"use strict";s.d(e,{ +OverlapManager:()=>o,getRootOverlapManager:()=>r});var n=s(88537);class i{constructor(){this._storage=[]}add(t){this._storage.push(t)}remove(t){this._storage=this._storage.filter(e=>t!==e)}has(t){return this._storage.includes(t)}getItems(){return this._storage}}class o{constructor(t=document){this._storage=new i,this._windows=new Map,this._index=0,this._document=t,this._container=t.createDocumentFragment()}setContainer(t){const e=this._container,s=null===t?this._document.createDocumentFragment():t;!function(t,e){Array.from(t.childNodes).forEach(t=>{t.nodeType===Node.ELEMENT_NODE&&e.appendChild(t)})}(e,s),this._container=s}registerWindow(t){this._storage.has(t)||this._storage.add(t)}ensureWindow(t,e={position:"fixed",direction:"normal"}){const s=this._windows.get(t);if(void 0!==s)return s;this.registerWindow(t);const n=this._document.createElement("div");if(n.style.position=e.position,n.style.zIndex=this._index.toString(),n.dataset.id=t,void 0!==e.index){const t=this._container.childNodes.length;if(e.index>=t)this._container.appendChild(n);else if(e.index<=0)this._container.insertBefore(n,this._container.firstChild);else{const t=this._container.childNodes[e.index];this._container.insertBefore(n,t)}}else"reverse"===e.direction?this._container.insertBefore(n,this._container.firstChild):this._container.appendChild(n);return this._windows.set(t,n),++this._index,n}unregisterWindow(t){this._storage.remove(t);const e=this._windows.get(t);void 0!==e&&(null!==e.parentElement&&e.parentElement.removeChild(e),this._windows.delete(t))}getZindex(t){const e=this.ensureWindow(t);return parseInt(e.style.zIndex||"0")}moveToTop(t){if(this.getZindex(t)!==this._index){this.ensureWindow(t).style.zIndex=(++this._index).toString()}}removeWindow(t){this.unregisterWindow(t)}}const a=new WeakMap;function r(t=document){const e=t.getElementById("overlap-manager-root");if(null!==e)return(0,n.ensureDefined)(a.get(e));{const e=new o(t),s=function(t){const e=t.createElement("div");return e.style.position="absolute",e.style.zIndex=150..toString(),e.style.top="0px",e.style.left="0px",e.id="overlap-manager-root",e}(t);return a.set(s,e),e.setContainer(s),t.body.appendChild(s),e}}},86431:(t,e,s)=>{"use strict";s.d(e,{makeOverlapable:()=>o});var n=s(59496),i=s(65718);function o(t){return class extends n.PureComponent{render(){const{isOpened:e,root:s}=this.props;if(!e)return null;const o=n.createElement(t,{...this.props,zIndex:150});return"parent"===s?o:n.createElement(i.Portal,null,o)}}}},65718:(t,e,s)=>{"use strict";s.d(e,{Portal:()=>l,PortalContext:()=>c});var n=s(59496),i=s(87995),o=s(9423),a=s(88216),r=s(50655);class l extends n.PureComponent{constructor(){super(...arguments),this._uuid=(0,o.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const t=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return t.style.top=this.props.top||"",t.style.bottom=this.props.bottom||"",t.style.left=this.props.left||"",t.style.right=this.props.right||"",t.style.pointerEvents=this.props.pointerEvents||"", +i.createPortal(n.createElement(c.Provider,{value:this},this.props.children),t)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,a.getRootOverlapManager)():this.context}}l.contextType=r.SlotContext;const c=n.createContext(null)},50655:(t,e,s)=>{"use strict";s.d(e,{Slot:()=>i,SlotContext:()=>o});var n=s(59496);class i extends n.Component{shouldComponentUpdate(){return!1}render(){return n.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const o=n.createContext(null)},81268:t=>{t.exports=''},88613:t=>{t.exports=''},76685:t=>{t.exports=''},73362:t=>{t.exports=''},17681:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/alert-editor-impl.31bd1bd6a919d8561787.js b/charting_library/bundles/alert-editor-impl.31bd1bd6a919d8561787.js new file mode 100644 index 00000000..fb35cfa1 --- /dev/null +++ b/charting_library/bundles/alert-editor-impl.31bd1bd6a919d8561787.js @@ -0,0 +1,15 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[273],{86782:(e,t,r)=>{e.exports=r.p+"alarm_clock.48d3df0afe4d4981523b8a12e4e25f92.mp3"},47740:(e,t,r)=>{"use strict";r.d(t,{AlertConditionEditor:()=>c});var i=r(28353),a=r(2495),n=r(37387),o=r.n(n),s=r(98125),l=r(9423),d=r(50993);const u=(0,s.getLogger)("Alerts.Price.ConditionEditor");class c{constructor(e){this._dialogCreator=e,this._alert=e.alert,this._extra=this._alert&&this._alert.get("extra")||null,this._operatorsData=o().defaults(),this._secondOperandIdsForAlert={},this._valueBands={}}hasCondition(){return!!this._extra}getMainSeriesPlotIndexOptions(){const e=this._extra.alertSeries();if(!e)return[];const t=this._extra.conditionData();return["pine_script","pine_alertcondition_plot","alerts"].includes(t.type)?[]:this._getPlotIndexOptions(e)}getMainSeriesSelectOptions(){const e=this._extra.alertSeries().id,t=this._extra.drawing(),r={selectedValue:e,shortTitle:!0};return t&&(r.excluded=[{id:t.id}],r.excludeAlertConditionsOnly=!0),this._dialogCreator.getSeriesSelectOptions(r)}updateMainSeriesIdForAlert(e,t){return this._extra.alertSeries().id!==e&&(this._dialogCreator.update({alertSeries:this._dialogCreator.prepareBandForExtra(e,void 0,t)}),!0)}updateMainSeriesPlotIndex(e){if("number"!=typeof e&&(e=+e),isFinite(e)){const t=this._extra.alertSeries();"number"==typeof t.plotIndex&&e!==t.plotIndex&&(t.plotIndex=e,this._dialogCreator.update({alertSeries:t}))}}getOperatorOptionGroups(){const e=this._extra.state().condition,t=o().ordered(this._extra,{isGrouped:!0}),r=[];for(const i of t){const t=[];for(const r of i)t.push({value:r.id,caption:r.title||null,selected:Boolean(e&&r.id===e.id)});r.push(t)}return r}updateOperator(e){const t=this._extra.state().condition,r=t&&this._operatorsData[t.id],i=this._operatorsData[e];return t.id!==e&&this._dialogCreator.update({conditionId:e}),this._getSecondOperandType(r)!==this._getSecondOperandType(i)}getSecondOperandInputs(){const e=this._extra.state().condition;if(!(e&&this._operatorsData[e.id])){const e=this._extra.conditionData();return["pine_script","pine_alertcondition_plot","alerts","strategy","strategy_and_alerts"].includes(e.type)?[]:void u.logError("Unable to get condition operator data")}const t=[],r=o().getData(e.id,this._extra);if("comparison"===r.type)if(r.isChannel)if(this._alert.isDrawing()){const e=this._extra.drawing();t.push({name:"fake-drawing-band-main",isDrawing:!0,options:[{value:e.id,caption:e.title}]})}else t.push({label:(0,i.t)("Upper Bound"),name:"upper-band-main",valueName:"upper-band-additional",options:this._getSecondOperandSeriesOptions(this._extra.getUpperBand(),"upper-band-main")}),t.push({label:(0,i.t)("Lower Bound"),name:"lower-band-main",valueName:"lower-band-additional",options:this._getSecondOperandSeriesOptions(this._extra.getLowerBand(),"lower-band-main")});else t.push({name:"band-main",valueName:"band-additional",options:this._getSecondOperandSeriesOptions(this._extra.getBand(),"band-main")});else if("moving"===r.type){const e=this._extra.value();let i=1,a=null +;r.percents?(i=.01,a={format:e=>Number(e).toFixed(2),parse:e=>parseFloat(e)}):(a=this._getFormatter(),i=this._getPriceStep(e,a)),t.push({isMoving:!0,unit:r.percents?"%":"",value:{name:"moving-value",value:e,min:i,max:1/0,step:i,formatter:a},period:{name:"moving-period",value:this._extra.period(),min:Math.max(1,this._dialogCreator.minMovingPeriod(this._extra.alertSeries())),max:this._dialogCreator.maxMovingPeriod(),step:1}})}return t}updateMovingValue(e){this._dialogCreator.update({value:e})}updateMovingPeriod(e){this._dialogCreator.update({period:e})}updateSecondOperandSeriesIdForAlert(e,t){const r=this._getBandNameByInputName(t.name);this._secondOperandIdsForAlert[r]=e}updateSecondOperandValue(e,t){const r=this._getBandNameByInputName(t.name),i=this._getBandByBandName(r);if("Value"===i.type)i.value=e,this._updateValueBand(r,e);else{const t=+e;isFinite(t)&&t!==i.plotIndex&&Array.isArray(i.plots)&&void 0!==i.plots[t]&&(i.plotIndex=t)}const a={};a[r]=i,this._dialogCreator.update(a)}getSecondOperandSeriesValueType(e){if(e.isDrawing)return"drawing";const t=this._getBandNameByInputName(e.name),r=this._getBandByBandName(t);if(r){if("band"===t){const e=this._extra.drawing();if(e&&e.id===r.id)return"drawing"}return"Value"===r.type?"value":"plotIndex"}u.logError("Unable to get band for second operand")}getSecondOperandSeriesValueOptions(e){const t=this._getBandNameByInputName(e.name),r=this._getValueBand(t),i=parseFloat(r.value);"Value"!==r.type&&u.logError(`Band "${t}" is not of "Value" type`);const a=this._getFormatter();return{value:i,formatter:a,step:this._getPriceStep(i,a),min:-1/0,max:1/0}}isStrategy(){if(!this._extra)return!1;const e=this._extra.conditionData();return"strategy"===e.type||"strategy_and_alerts"===e.type}isOnlyAlertFunctionCondition(){if(!this._extra)return!1;return"alerts"===this._extra.conditionData().type}isSeriesWithAlertFunction(){return!!this._extra&&this._extra.hasAlertFunction()}_getFormatter(){let e=this._alert.getFormatter();if(!e){const t=this._extra.alertSeries(),r=this._dialogCreator.getStateForAlertById(t.id);r&&r.formatter&&(e=r.formatter())}return e}_getPriceStep(e,t){let r=this._getPriceStepByFormatter(t);return r||(r=this._calculatePriceStep(e,t)),r}getSecondOperandPlotIndexOptions(e,t){const r=this._getBandByInputName(t.name),i=this._getSecondOperandPlotsToExclude(e,t.name);return this._getPlotIndexOptions(r,i)}getSecondOperandPlots(e){const t=this._getBandNameByInputName(e.name),r=this._getBandByBandName(t);return r&&Array.isArray(r.plots)?r.plots:[]}_getSecondOperandPlotsToExclude(e,t){const r=this,i=[],a=this._extra.alertSeries();if(a&&a.id===e&&n(a),"lower-band-main"===t){const t=this._getBandByInputName("upper-band-main");t&&t.id===e&&n(t)}function n(e){const t=r._getPlotIndexOptions(e);for(let e=0;ee.plots.length-e.plots.filter(d.isAlertConditionPlot).length,r=[];if("upper-band-main"===e){const e=this._getBandByInputName("lower-band-main");Array.isArray(e.plots)&&t(e)<=1&&r.push({id:e.id})}if("lower-band-main"===e){const e=this._getBandByInputName("upper-band-main");Array.isArray(e.plots)&&t(e)<=1&&r.push({id:e.id})}const i=this._extra.alertSeries();if(i&&"MainSeries"!==i.type)if(Array.isArray(i.plots)){const a=t(i);if(a<=1&&r.push({id:i.id}),2===a){if("upper-band-main"===e){const e=this._getIdForAlertByInputName("lower-band-main");i.id===e&&r.push({id:e})}if("lower-band-main"===e){const e=this._getIdForAlertByInputName("upper-band-main");i.id===e&&r.push({id:e})}}}else r.push({id:i.id});return r}_getBandNameByInputName(e){return"band-main"===e?"band":"upper-band-main"===e?"upperBand":"lower-band-main"===e?"lowerBand":null}_getBandByInputName(e){return this._getBandByBandName(this._getBandNameByInputName(e))}_getIdForAlertByInputName(e){return this._secondOperandIdsForAlert[this._getBandNameByInputName(e)]}_getBandByBandName(e){const t="function"==typeof this._extra[e]&&this._extra[e]()||null;if(null!=this._secondOperandIdsForAlert[e]){const r=this._secondOperandIdsForAlert[e],i=void 0 +;return this._dialogCreator.prepareBandForExtra(r,t?t.plotIndex:void 0,i)}return t}_getValueBand(e){if(this._valueBands[e])return this._valueBands[e];let t=this._extra[e]();if("Value"!==t.type){var r=(0,l.randomHashN)(6);t={id:r,uniqueId:r,type:"Value",value:0}}return this._valueBands[e]=t,t}_updateValueBand(e,t){this._getValueBand(e).value=t}_checkIsExistingAlertType(){return"edit_alert"===this._dialogCreator.getType()||"show_alert"===this._dialogCreator.getType()}}},79540:(e,t,r)=>{"use strict";var i=r(23127),a=r(28353).t,n=r(25531).Alert,o=r(7298).AlertExtra,s=r(37387),l=r(2495),d=l.alertBandFactory,u=l.AlertBandValue,c=l.AlertBandStudy,p=r(62591).isStudyStateForAlertType,h=r(47740).AlertConditionEditor,g=r(16256).DEFAULT_SOUNDS,_=r(82992).linking,m=r(38874).loadTVScript,f=r(76861);const{trackGoProFeature:y}=r(87463);var S=r(2872),v=r(66712),b=r(99486).getAlertDialogType,A=r(33550).enabled,w=r(62867).ProductFeatures,x=r(84015).isOnMobileAppPage,B=r(9423),P=r(98125).getLogger("Alerts.Price.AlertEditor"),D=r(94738).AlertCategory,I=r(72154).createAlertDataSourceBridge,T=r(58352).canSubmitAlert,O=r(58352).AlertSubmitFailReason,E=r(22822).canPlaceAlertOnResolution,C=r(24993).AlertEditorAbortReason,F=r(26978).validateWebhookUrl,V=r(26978).WebhookValidationResult,M=new Map([[V.EmptyUrl,a("A Webhook url is required")],[V.BadUrl,a("This url is invalid")],[V.BadScheme,a("A http(s) protocol is required")],[V.BadHTTPPort,a("Only port 80 is allowed for HTTP")],[V.BadHTTPSPort,a("Only port 443 is allowed for HTTPS")],[V.BadHost,a("This host is not allowed")]]);function k(e,t){f.isLocal()&&(window._exposed_alertEditor=this),this._options=t||{},this._prepareOptions();var r=this._options.abortSignal;if(r){var i=this._abort.bind(this,C.ManualAbort);if(r.value())return void i();r.subscribe(i),this._releaseAbortSignal=function(){r.unsubscribe(i)}}this._priceAlertsDispatcher=e,this._dataSourceHub=this._options.dataSourceHub,this.dialogOpened=new S,this._options.onDialogOpened&&this.dialogOpened.subscribe(null,this._options.onDialogOpened,!0),this._options.silent=this._options.silent||!1,this._type=b(this._options),this._saveAlertFunc=this._options.saveAlertFunc,this._deleteAlertFunc=this._options.deleteAlertFunc,this._cache={},this._createAlertEditor(this._dataSourceHub)}function N(e,t,r,i,a){r&&(!t||t.id()!==r.id())&&r.detachAlert(),t?t.setAlert(e.id).then(()=>{e.get("extra").mainSeries().id===t.model().mainSeries().stateForAlert().id&&t.synchronizeAlert(!0),i()}).catch(a):i()}k.prototype._prepareOptions=function(){this._options.series&&!this._options.series.alertCreationAvailable()&&delete this._options.series,this._options.drawing&&!this._options.drawing.alertCreationAvailable()&&delete this._options.drawing},k.prototype._createAlertEditor=function(e){var t=e?e.mainSeries():null,r=t?t.symbolInfo():null;if(!e||r)this._init();else{var i=this;!function(){e.mainSeries().dataEvents().symbolResolved().subscribe(null,r);var t=setTimeout((function(){e.mainSeries().dataEvents().symbolResolved().unsubscribe(null,r), +i._abort(C.SymbolInfoTimeout)}),2e4);function r(a){clearTimeout(t),a?(e.mainSeries().dataEvents().symbolResolved().unsubscribe(null,r),i._init()):i._abort(C.SymbolIsInvalid)}}()}m()},k.prototype._init=function(){var e;this._dataSourceHub?(e=this.mainSeries(),this._symbol=e.actualSymbol(),this._symbolInternal=e.getSymbolString(),this._resolution=e.interval()):(this._symbol=_.symbol.value(),this._resolution=_.interval.value()||"1"),I(this._dataSourceHub).then(function(e){this._dataSourceBridge=e,this._initCurrentAlert(),this._options.alert&&this._options.alert.saveState(),this._options.silent?T(this.alert,this._dataSourceBridge).then(function(e){e.canSubmit?this._placeAlert(this.alert):this._abort(e.reason===O.DangerousSource?C.SourceIsDangerous:C.MisleadingPriceScale)}.bind(this)):this._createDialog(),window.lineToolPropertiesToolbar&&window.lineToolPropertiesToolbar.hide()}.bind(this))},k.prototype._hide=function(){this.dialog&&this.dialog.hide()},k.prototype._show=function(){this.dialog&&this.dialog.show()},k.prototype.destroy=function(e){!0!==e&&this.dialog?this.dialog.close():this._onDestroyAsync()},k.prototype._onDestroyAsync=function(){if(this._generationPromise){var e=this;this._generationPromise.then((function(t){"cancelled: new alert already generating"!==t&&e._onDestroy()}))}else this._onDestroy()},k.prototype._onDestroy=function(){if("edit_alert"===this._type){if(this.alert&&this._onOkSucceed&&this.alert.saveState(),this._onOkSucceed&&"function"==typeof this._options.onEditSuccess&&this._options.onEditSuccess(),this.alert&&!this._onOkSucceed){const e=this.alert.state(),t=this._originalState,r=["active","fireTime","fire_bar_time","startTime","stopTime","stopReason"];for(const i of r)e.hasOwnProperty(i)&&(t[i]=e[i]);this.alert.restoreState(t)}this._onOkSucceed||"function"!=typeof this._options.onEditCancel||this._options.onEditCancel(),"function"==typeof this._options.onEditComplete&&this._options.onEditComplete()}this.alert&&(this.alert.off("destroy",this.destroy,this),this.alert.isNew()&&this._priceAlertsDispatcher.deleteAlert(this.alert)),"function"==typeof this._options.onDestroy&&this._options.onDestroy(),this._releaseAbortSignal&&this._releaseAbortSignal(),window.lineToolPropertiesToolbar&&window.lineToolPropertiesToolbar.refresh()},k._createValueDataSource=function(e){var t=B.randomHashN(6);return{id:t,uniqueId:t,type:"Value",value:e}},k.prototype._initCurrentAlert=function(){var e=this._options.alert,t=!1;if(e instanceof n)t=this._defaultDescriptionBySavedState(e)!==e.get("description"),this._originalState=e.getSavedState()||e.state(),e.saveState(),this.alert=e;else{if(!this._dataSourceHub)return void P.logError("Can't create alert without chart widget");var r=this.defaults({type:"alert"});e=this._priceAlertsDispatcher.createLocalAlert(r,!0),this.alert=e;var a=this.defaults({type:"extra"}),s=new o(a);e.set("extra",s);var l=s.getDependencies();if(e.set("scriptDeps",l),s.conditionId(this.defaults({name:"conditionId"})),this._options.drawing){var d=this._options.drawing.stateForAlert(),u=d.plots||[] +;d=i.extend(!0,{},d),1===u.length?s.band(i.extend(!0,{plotIndex:0},d)):1{e&&P.logError(String(e)),this._onDestroyAsync()},i={success:e=>N(e,t,null,()=>{},r),error:r,actionSource:this._options.actionSource};this._generationPromise="create_alert"===this._type?this._priceAlertsDispatcher.createAlert(e,i):this._priceAlertsDispatcher.restartAlert(e,i)},k.prototype.update=function(e){var t=this.alert;e=e||{};var r=this._dataSourceBridge.getMainSeriesState();if(t){var i=t.get("extra");if(i){var a=i.conditionId(),n=t.frequencyController.getAvailable();if(this._cachedConditionOptions||(this._cachedConditionOptions={}),e.alertSeries){var o=i.alertSeries().id;i.alertSeries(e.alertSeries);var l=i.alertSeries().id;const a=i.hasAlertCondition(),n=i.hasAlertFunction();o===l||!a&&!n||e.conditionId||(e.conditionId=s.ordered(i)[0].id),this._updateAlertSymbol(),r&&(this._bandIsInAlertState(e.alertSeries)?this._restoreMainSeriesAndResolution():i.mainSeries(r)),t.trigger("change:alertSeries",t)}for(var d=["upperBand","lowerBand","band","value","period"],u=d.length-1;u>=0;u--){var c=d[u];i[c]()&&(this._cachedConditionOptions[c]=i[c]())}e.conditionId&&i.conditionId(e.conditionId,!0);var p=i.conditionData(),h=void 0!==e.conditionId||a!==i.conditionId()||void 0!==e.upperBand||void 0!==e.lowerBand||void 0!==e.band||void 0!==e.value||void 0!==e.period;if(h){switch(i.clearOptionalConditions(!0),p.type){case"comparison":p.isChannel?(i.upperBand(e.upperBand||this._cachedConditionOptions.upperBand||this.defaults({name:"upperBand"}),!0),i.lowerBand(e.lowerBand||this._cachedConditionOptions.lowerBand||this.defaults({name:"lowerBand"}))):i.band(e.band||this._cachedConditionOptions.band||this.defaults({name:"band"}));break;case"moving":var g=e.value;void 0===g&&(g=this._cachedConditionOptions.value),void 0===g&&(g=this.defaults({name:"value"}));var _=e.period;void 0===_&&(_=this._cachedConditionOptions.period),void 0===_&&(_=this.defaults({name:"period"})),i.value(g),i.period(_);break;case"pine_alertcondition_plot":case"pine_script":case"alerts":case"strategy":case"strategy_and_alerts":break;default:P.logError("Unknown condition type")}var m=t.get("crossInterval"),f=t.getSavedState()&&t.getSavedState().crossInterval;if(r&&!m&&f){var y=i.alertSeries() +;"MainSeries"===y.type&&y.actualSymbol===r.actualSymbol&&(i.mainSeries(r),i.alertSeries(r),this._updateAlertSymbol())}}var S=i.getDependencies();t.set("scriptDeps",S);var v=t.frequencyController.getAvailable();i.getAvailableBands().forEach((function(r){e[r]&&JSON.stringify(n)!==JSON.stringify(v)&&t.frequencyController.switchFrequencies()})),(e.alertSeries||h)&&t.syncAlertType()}var b,A,w,x,B=["expired","showPopup","description","playSound","soundFile","soundDuration","sendSms","sendEmail","sendPush","noExpiration","webhookUrl","name"];for(u=0;u0&&t.set(D)}},k.prototype._updateAlertSymbol=function(){var e=this.alert.get("extra"),t=e&&e.getAlertSeries();t&&("MainSeries"===t.type()?this.alert.set({symbol:t.getActualSymbol(),symbolInternal:t.getSymbolString(),resolution:this.alert.get("crossInterval")?"1":t.getInterval()}):this.alert.set({symbol:this._symbol,symbolInternal:this._symbolInternal,resolution:this.alert.get("crossInterval")?"1":this._resolution}))},k.prototype._bandIsInAlertState=function(e){if(this.alert&&this.alert.getSavedState())for(var t=this.alert.getSavedState().extra.bandsArray("object"),r=0;r0){var h=void 0!==t&&t{t._validate(e)?T(t.alert,t._dataSourceBridge).then((function(r){r.canSubmit?t._onSubmit(e):e.restoreButtons()})):e.restoreButtons()},300)})).on("action:delete",(function(e){if(!e.isLoading()){var r={success:function(){t.destroy(),t._options.onDeleteSuccess&&t._options.onDeleteSuccess()},error:function(){e.error(a("Alert deleting failed. Please, try again"))}};t._deleteAlertFunc?t._deleteAlertFunc(t.alert,r):(r.showConfirm=!0,r.cancel=function(){e.restoreButtons()},t._priceAlertsDispatcher.deleteAlert(t.alert,r))}})).on("afterOpen",(function(e){t._validate(e),t.dialogOpened.fire()})).on("beforeClose",(function(){t.alert.set("isBeingEdited",!1),t.destroy(!0)})),t.dialog.open()}))},k.prototype._validate=function(e){if(!this.alert)return!1;if(!this.alert.get("noExpiration")){var t=this.alert.get("expired");if(t<=Date.now())return e.error(a("Expiration date must be in the future"),"expirationDate"),!1;var r=this.defaults({name:"maxExpired"});if(r&&t>r)return e.error(a("Maximum expiration time is {days} days",{replace:{days:Math.round((r-Date.now())/864e5)}}),"expirationDate"),!1}var i=this.alert.get("webhookUrl");if("string"==typeof i){var n=F(i);if(n!==V.Ok)return e.error(M.get(n),"webhook-url"),!1}var o=this.alert.get("extra"),s=o&&o.conditionData();if(s&&s.isChannel){var l=o.upperBand(),d=o.lowerBand();if("Value"===l.type&&"Value"===d.type){var u=+l.value;if(!isFinite(u))return e.error(a("Please enter correct upper bound value"),"upper-band-additional"),!1;var c=+d.value +;if(!isFinite(c))return e.error(a("Please enter correct lower bound value"),"lower-band-additional"),!1;if(u<=c){var p=a("Upper bound value must be greater than lower bound value");return e.error(p,"upper-band-additional"),e.error(p,"lower-band-additional"),!1}}}if("moving"===s.type){if(o.value()<=0)return e.error(a("Moving value should be a positive number"),"moving-value"),!1;var h=o.period(),g=this.minMovingPeriod(),_=this.maxMovingPeriod();if(h_)return e.error(a("Moving period must be in range from {min} to {max}",{replace:{min:g,max:_}}),"moving-period"),!1}return!0},k.prototype._onSubmit=function(e){const t=this,r=this.alert,i=this._getAlertPreviousDrawingDataSource(),n=this._getAlertDrawingDataSource(),o={success:e=>N(e,n,i,s,l),error:l,complete:function(){d()},actionSource:this._options.actionSource};function s(){d(),t._onOkSucceed=!0,t.destroy()}function l(r,i){r&&P.logError(String(r)),t._show(),!0!==i&&e&&e.error(a("Alert saving failed. Please, try again"))}function d(){e&&e.restoreButtons()}y("alerts",this._options.trackEvent),TVSettings.setValue("alerts.creating.send_email",!!r.get("sendEmail")),TVSettings.setValue("alerts.creating.send_sms",!!r.get("sendSms")),TVSettings.setValue("alerts.creating.send_push",!!r.get("sendPush")),TVSettings.setValue("alerts.creating.show_popup",!!r.get("showPopup")),TVSettings.setValue("alerts.creating.play_sound",!!r.get("playSound")),TVSettings.setValue("alerts.creating.sound_file",r.get("soundFile")),TVSettings.setValue("alerts.creating.sound_duration",r.get("soundDuration")),TVSettings.setValue("alerts.creating.webhook_url",r.get("webhookUrl")||""),TVSettings.setValue("alerts.creating.no_expiration",!!r.get("noExpiration")),t._hide(),t._saveAlertFunc?t._saveAlertFunc(r,o):"create_alert"===t._type?t._generationPromise=this._priceAlertsDispatcher.createAlert(r,o):(r.isDrawing()&&this._updateDrawing(),t._generationPromise=this._priceAlertsDispatcher.restartAlert(r,o))},k.prototype._updateDrawing=function(){var e=this.alert.get("extra"),t=e.drawing(),r=t&&this.getDataSourceById(t.id);if(r){var i=e.alertSeries(),a=r.model().mainSeries();"MainSeries"===i.type&&i.id===a.idForAlert()&&e.drawing(r)}},k.prototype.getSeriesSelectOptions=function(e){var t=e.prepend?Array.isArray(e.prepend)?e.prepend:[e.prepend]:[];e=e||{};var r=this.alert;function a(e,t){var i=e.id();if(t&&Array.isArray(t)&&i){if(-1!==t.map((function(e){return e.id})).indexOf(i))return!0;if(r.get("crossInterval")&&"MainSeries"===e.type()){var a=g(e),n=t.map((function(e){return e.band&&"MainSeries"===e.band.type()&&g(e.band)}));return a&&-1!==n.indexOf(a)}return!1}return!1}function n(e){return a(e,i.map(t,(function(e){return{id:e.value,band:e.band}})))}function o(t){return t.id()!==e.selectedValue&&(t.getStyleInputs&&t.getStyleInputs()&&"ATR"===t.getStyleInputs().style)}function s(t){if(t.id()===e.selectedValue)return!1;return(t.getActualSymbol()||"").startsWith("ECONOMICS:")}function l(t){return a(t,e.excluded)||e.excludeTypes&&e.excludeTypes.includes(v.type())}var p=!1;function h(r){ +void 0!==e.selectedValue&&r.value===e.selectedValue&&(r.selected=!0,p=!0),t.push(r)}function g(e){var t={actualSymbol:e.getActualSymbol(),sessionId:e.sessionId(),style:e.getStyle(),styleInputs:e.getStyleInputs()||{},dividendsAdjustment:e.getDividendsAdjustment(),backAdjustment:e.getBackAdjustment(),settlementAsClose:e.getSettlementAsClose()};return JSON.stringify(t,(function(e,t){return null!==t?t:void 0}))}function _(e){return e instanceof c&&e.isTVLibrary()}var m=this._dataSourceBridge.getMainSeriesState();if(r&&r.getSavedState())for(var f=r.getSavedState().extra.bandsArray("model"),y=0;y{"use strict";var i=r(23127);var a,n=(a=null,function(){return a||(a=i.Deferred(),r.e(3646).then(r.t.bind(r,16087,23)).then(()=>{a.resolve()})),a.promise()});TradingView.loadTVScript=n,t.loadTVScript=n},72154:(e,t,r)=>{"use strict";r.d(t,{createAlertDataSourceBridge:()=>o});var i=r(86811),a=r(14291);class n{constructor(e=null){this._idToState=new Map,this._dataSourceHub=e;const t=e&&e.mainSeries();this._mainSeriesId=t&&t.idForAlert();const r=t?t.lastValueData(4,!0,!0).price:void 0;this._mainSeriesLastPrice=void 0!==r?r:0}init(){return this._getChartDataSourcesForOptions().then(e=>{e.forEach(e=>{const t=e.stateForAlert&&e.stateForAlert();t&&this._idToState.set(t.id,t)})})}getStateById(e){return this._idToState.get(e)||null}getDataSourceById(e){return this._getChartDataSources().find(t=>t.alertCreationAvailable()&&t.idForAlert()===e)||null}getStatesForAlert(){return Array.from(this._idToState.values())}getMainSeriesState(){return this._mainSeriesId&&this._idToState.get(this._mainSeriesId)||null}getMainSeriesLastPrice(){return this._mainSeriesLastPrice}isSetOnLogarithmicScale(e){var t,r;return Boolean(null===(r=null===(t=this.getDataSourceById(e))||void 0===t?void 0:t.priceScale())||void 0===r?void 0:r.isLog())}_getChartDataSources(){return this._dataSourceHub?this._dataSourceHub.orderedDataSources():[]}_getChartDataSourcesForOptions(){if(!this._dataSourceHub)return Promise.resolve([]);const e=this._dataSourceHub.orderedDataSources(!0),t=this._dataSourceHub.mainSeries(),r=e.filter(e=>!(0,a.isLineTool)(e)&&e.alertCreationAvailable());return(0,i.filterAccessibleDataSources)(r).then(e=>(e.splice(e.indexOf(t),1),e.unshift(t),e))}}function o(e){return new Promise(t=>{const r=new n(e);r.init().then(()=>t(r))})}},58352:(e,t,r)=>{"use strict";r.d(t,{AlertSubmitFailReason:()=>n, +canSubmitAlert:()=>s});var i=r(56840);async function a(e){const t="alerts.no_warning."+e;if(i.getBool(t,!1))return!0;const{canContinue:a,doNotShow:n}=await(await Promise.all([r.e(5514),r.e(9129),r.e(2888),r.e(4956),r.e(8463),r.e(7427),r.e(5998),r.e(7552),r.e(279),r.e(5618),r.e(1e3),r.e(4364),r.e(7136)]).then(r.bind(r,71270))).showAlertsTriggerWarningDialogImpl(e);return n&&i.setValue(t,!0),a}var n,o=r(88537);async function s(e,t){return await async function(e){const t=(0,o.ensureDefined)(e.get("extra"));for(const e of t.bandsArray()){const t=e.dangerReason;if(t)return a(t)}return!0}(e)?await async function(e,t){const r=(0,o.ensureDefined)(e.get("extra")).alertSeries();if(r&&t.isSetOnLogarithmicScale(r.id))return a("logarithmic-scale");return!0}(e,t)?{canSubmit:!0}:{canSubmit:!1,reason:n.LogarithmicScale}:{canSubmit:!1,reason:n.DangerousSource}}!function(e){e[e.DangerousSource=0]="DangerousSource",e[e.LogarithmicScale=1]="LogarithmicScale"}(n||(n={}))},94738:(e,t,r)=>{"use strict";var i;r.d(t,{AlertCategory:()=>i}),function(e){e.Price="price",e.Screener="screener"}(i||(i={}))},26978:(e,t,r)=>{"use strict";r.d(t,{WebhookValidationResult:()=>i,validateWebhookUrl:()=>u});var i,a=r(75072);!function(e){e[e.Ok=0]="Ok",e[e.EmptyUrl=1]="EmptyUrl",e[e.BadUrl=2]="BadUrl",e[e.BadScheme=3]="BadScheme",e[e.BadHTTPPort=4]="BadHTTPPort",e[e.BadHTTPSPort=5]="BadHTTPSPort",e[e.BadHost=6]="BadHost"}(i||(i={}));const n={http:"80",https:"443"},o=Object.keys(n).map(e=>e+":"),s=new Set(["localhost","[::1]"]),l=function(){const e="(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])";return["0\\.0\\.0\\.0",`10\\.${e}\\.${e}\\.${e}`,`172\\.(?:1[6-9]|2[0-9]|3[0-1])\\.${e}\\.${e}`,`192\\.168\\.${e}\\.${e}`,`127\\.${e}\\.${e}\\.${e}`].map(e=>new RegExp(`^${e}$`))}(),d=new RegExp("^([a-z]+):\\/\\/(\\[[:.0-9A-Fa-f]+\\]|[^\\s/:#?@]+?)(?::(\\d+))?(\\/[^\\s#]*)?$");function u(e){if(""===e)return i.EmptyUrl;if(!o.some(t=>e.startsWith(t)))return i.BadScheme;const t=d.exec(e);if(null===t)return i.BadUrl;const r=t[1],u=t[2].toLowerCase(),c=t[3];return c&&n[r]!==c?"http"===r?i.BadHTTPPort:i.BadHTTPSPort:s.has(u)||(0,a.isInternalHost)(u,"tradingview.com")||(0,a.isInternalHost)(u,window.location.hostname)||l.some(e=>e.test(u))?i.BadHost:i.Ok}},66712:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createAlertDialog:()=>a});const i={title:(0,r(28353).t)("Create Alert"),width:450,destroyOnClose:!0,focusFirstControl:!1,closeOnOutsideClick:!1,closeOnClickAtOtherDialogs:!1,contentWrapTemplate:'

',actionsWrapTemplate:'
'};function a(e){return Promise.all([r.e(5514),r.e(9289),r.e(509),r.e(3118),r.e(1729),r.e(3713),r.e(6708),r.e(5708),r.e(9593),r.e(2006),r.e(2288),r.e(9255),r.e(1536),r.e(7678),r.e(7404),r.e(6055),r.e(2465)]).then(r.bind(r,91426)).then(t=>{const r=t.AlertDialog;return Promise.resolve(new r({...i,...e}))})}},75072:(e,t,r)=>{"use strict" +;function i(e){const t=new URL(e,document.baseURI);return o(t)&&n(t)&&a(t)}r.d(t,{isInternalUrl:()=>i,isInternalHost:()=>s});const a=e=>!e.username,n=e=>"http:"===e.protocol||"https:"===e.protocol,o=e=>e.hostname===location.hostname||!/^\d+\.\d+\.\d+\.\d+$/.test(e.hostname)&&s(e.hostname);function s(e,t=window.location.hostname){const r="."===t.slice(-1)?3:2,i=t.toLowerCase().split(".").slice(-r),a=e.toLowerCase().split(".").slice(-i.length);return i.join(".")===a.join(".")}},16256:(e,t,r)=>{"use strict";r.d(t,{DEFAULT_SOUNDS:()=>u,availableSounds:()=>c,play:()=>h,stop:()=>g,onStopped:()=>_,isPlaying:()=>m});var i=r(28353),a=r(84015),n=r(98125),o=r(52714),s=r.n(o),l=r(86782);const d=(0,n.getLogger)("Lib.Sound",{color:"#dea433"}),u={sound:"notification/notification",alert:"alert/fired"},c=[{title:(0,i.t)("Alarm Clock"),path:"alert/alarm_clock",soundForAlerts:!0,filePath:l}];const p={};function h(e=u.sound,t){if((0,a.isOnMobileAppPage)("any"))return Promise.resolve();d.logNormal(`Sound play attempt for "${e}" duration-${t}s;`);return y(e).play(t)}function g(e){if((0,a.isOnMobileAppPage)("any"))return;let t=[];e?t.push(y(e)):t=Object.values(p),t.forEach(e=>{e.stop()})}function _(e,t){(0,a.isOnMobileAppPage)("any")||y(e).playing.subscribe(e=>{e||t()},{once:!0})}function m(e){return!(0,a.isOnMobileAppPage)("any")&&y(e).playing.value()}function f(e){if((0,a.isOnMobileAppPage)("any"))return;if(!e)return;if(!/iPhone|iPad|iPod|Android|BlackBerry|BB10|Silk|Mobi/i.test(window.navigator.userAgent))return;if(Array.isArray(e)||(e=[e]),0===(e=e.filter(e=>{const t=y(e);return!(!t||!t.el.load||t._mobilePreloadActive)&&(t._mobilePreloadActive=!0,!0)})).length)return void d.logNormal("enableForMobile no sounds passed");const t=()=>{const i=[];Array.isArray(e)&&e.forEach(e=>{const t=y(e);t.el.load();const r=t.play().catch(e=>{if("AbortError"!==e.name)throw d.logError(`enableForMobile for "${t.el.src}" preload error: - ${e.message}`),e});t.el.pause(),i.push(r)}),Promise.all(i).then(()=>{d.logNormal("enableForMobile sounds initialized")}),r.forEach(e=>{document.removeEventListener(e,t,!0)})},r=["click","touchend","keydown"];r.forEach(e=>{document.addEventListener(e,t,!0)})}const y=e=>{if(e in p)return p[e];d.logNormal(`requested sound ${e} not cached, building a new audio element`);const t=c.find(t=>t.path===e);if(void 0===t)throw new Error(`Cannot find sound "${e}"`);const r=new Audio(t.filePath),i={el:r,playing:new(s())(!1),play:(t=0)=>i.playing.value()?(d.logNormal("sound already playing"),Promise.reject("already playing")):(i.playing.setValue(!0),new Promise((r,a)=>{let n=t>0;const o=()=>{(function(e){try{d.logNormal(`"${e.el.src}" triggering html5 play method, readyState - ${e.el.readyState}; muted - ${e.el.muted}; volume - ${e.el.volume}; currentTime - ${e.el.currentTime}`);let t=e.el.play();return t||(t=Promise.resolve()),t}catch(t){return d.logError(`play method for "${e.el.src}" catch error - ${t.message}`),Promise.reject(t)}})(i).catch(t=>{d.logNormal(`stop counting sound "${e}"; as playing due to an error: ${t.message}`), +i.stop(),a(t)})};i._onEnded=()=>{n?o():(i.stop(),r())},i.el.addEventListener("ended",i._onEnded),n&&setTimeout(()=>{d.logNormal(`"${e}" repeat timeout - ${t}s off`),n=!1},1e3*t),o()})),stop:()=>{i.el.pause(),i.playing.setValue(!1),i._onEnded&&i.el.removeEventListener("ended",i._onEnded)}};p[e]=i;return["canplaythrough","error"].forEach(t=>{r.addEventListener(t,()=>{d.logNormal(`for sound "${e}", event - ${t} is fired`)},!1)}),d.logNormal("canPlayType - "+r.canPlayType("audio/mp3")),p[e]};f(c.filter(e=>!!e.common).map(e=>e.path))},95695:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var i=r(51768);const a={filterNamesMap:{script_type:"Indicators and Strategies","script_type-indicators":"Indicators","script_type-strategies":"Strategies",stream:"All Markets","stream-stocks":"Stocks","stream-indices":"Indices","stream-commodities":"Commodities","stream-currencies":"Currencies","stream-bitcoin":"Bitcoin","interval-all":"All Intervals","interval-m":"Short Term","interval-h":"Medium Term","interval-dwm":"Long Term","sort-unmoderated":"Unmoderated","sort-trending":"Trending","sort-discussed":"Most Discussed","sort-viewed":"Most Viewed","sort-agreed":"Most Agreed","sort-suggested":"Suggested","sort-recent":"All Ideas","time-day":"Today","time-week":"This Week","time-month":"This Month","time-all":"All Time","by-everyone":"Everyone","by-following":"Following","by-me":"My Ideas"},goProFeaturesMap:{customIntervals:"Add Custom Interval",intradaySpread:"Inraday Spread",kagiRenko:"Japanese Intraday Chart",alerts:{prefix:"New Alerts Limit",widget:"Widget",chart:"Chart Header"},multipleCharts:"Multiple Charts Layout",savedChartsLimit:"Save Chart Limit",studyLimit:"Studies Limit",multipleWatchLists:{prefix:"Watchlists",new:"Create New List",rename:"Rename List",saveAs:"Save List As"},importWatchlist:"Watchlists Import Watchlist",exportWatchlist:"Watchlists Export Watchlist",BATSExchangePopup:"BATS Exchange Popup",DataQualityPopup:"Data Quality Popup",FreeDelayPopup:"Free Delay Popup",proRTProduct:"Volume Profile",studyOnStudy:"Unlimited Study on Study"},trackFeature:{savedChartsLimit:!0,BATSExchangePopup:!0,FreeDelayPopup:!0,DataQualityPopup:!0,intradaySpread:!0,studyOnStudy:!0},trackGoPro:function(e,t,r){r&&!t&&(t=r,r=null);var n=a.goProFeaturesMap[t];if(n){if(r){if("string"==typeof n)return;n="{0} {1}".format(n.prefix,n[r])}(0,i.trackEvent)(e,n)}}},n=a},87463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{trackGoProFeature:()=>a});var i=r(95695);function a(e,t){i.default.trackGoPro("Gopro Features",e,t)}}}]); \ No newline at end of file diff --git a/charting_library/bundles/alert-utils-has-user-access-to-data-source.0e28597ad557f8895261.js b/charting_library/bundles/alert-utils-has-user-access-to-data-source.0e28597ad557f8895261.js new file mode 100644 index 00000000..a99a52ee --- /dev/null +++ b/charting_library/bundles/alert-utils-has-user-access-to-data-source.0e28597ad557f8895261.js @@ -0,0 +1,2 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3441],{93337:(e,r,t)=>{var n;e=t.nmd(e),"undefined"!=typeof window&&(n=window.TVScript=window.TVScript||{}),(n=n||{}).Access={},n.Access.ACCESS_OPEN_NO_AUTH="open_no_auth",n.Access.ACCESS_CLOSED_NO_AUTH="closed_no_auth",n.Access.ACCESS_CLOSED_NEEDS_AUTH="closed_needs_auth",n.Access.MAP_ID_TO_NAME={1:n.Access.ACCESS_OPEN_NO_AUTH,2:n.Access.ACCESS_CLOSED_NO_AUTH,3:n.Access.ACCESS_CLOSED_NEEDS_AUTH},n.Access.MAP_NAME_TO_ID={},Object.keys(n.Access.MAP_ID_TO_NAME).forEach((function(e){n.Access.MAP_NAME_TO_ID[n.Access.MAP_ID_TO_NAME[e]]=e})),n.PinePrefix={},n.PinePrefix.USER="USER;",n.PinePrefix.PUB="PUB;",n.PinePrefix.STD="STD;",n.PinePrefix.TV="TV_",n.PinePrefix.EDGR="EDGR_",n.PineType={},n.PineType.UserSaved="PineType_UserSaved",n.PineType.UserPublished="PineType_UserPublished",n.PineType.BuiltIn="PineType_BuiltIn",n.PineType.Addon="PineType_Addon",n.Type=n.Type||function(){},n.Type.VOID="void",n.Type.INTEGER="integer",n.Type.FLOAT="float",n.Type.STRING="string",n.Type.BOOL="bool",n.Type.COLOR="color",n.Type.SERIES="series",n.Type.PLOT="plot",n.Type.HLINE="hline",n.Type.BARCOLOR="barcolor",n.Type.BGCOLOR="bgcolor",n.Type.PLOTSHAPES="plotshape",n.Type.PLOTCHARS="plotchar",n.Type.PLOTARROWS="plotarrow",n.Type.NA="na",n.Type.ARRAY="array",n.TranslatorDefaultVersion=1,n.TranslatorReferenceVersioningIntroduced=4,n.TranslatorLastVersion=5,n.pineType=function(e){return e.startsWith(n.PinePrefix.USER)?n.PineType.UserSaved:e.startsWith(n.PinePrefix.PUB)?n.PineType.UserPublished:e.startsWith(n.PinePrefix.STD)||e.startsWith(n.PinePrefix.TV)||e.startsWith(n.PinePrefix.EDGR)?n.PineType.BuiltIn:n.PineType.Addon},n.patchILTemplate=function(e,r,t){var s=t||{};return n._patchTemplate(/<(in_\d+)>/g,e,r,s)},n.decorateQuotes=function(e){if(!e)return e;var r=/([^\\']+?)(')[^']*?/g,t=e;return"'"==t.charAt(0)&&"'"==t.charAt(t.length-1)?"'"+(t=t.substr(1,t.length-2)).replace(r,"$1\\$2")+"'":t.replace(r,"$1\\$2")},n.patchInputs=function(e,r){var t={};for(var n in e)if(e.hasOwnProperty(n)){var s,i=e[n];s=i.isFake?{v:r[i.id],f:!0,t:i.type}:r[i.id],t[i.id]=s}return t},n._patchTemplate=function(e,r,t,s){var i=s||{};return r.replace(e,(function(e,r){for(var s=(r in i?i[r]:t.defaults.inputs[r]),a=0;a=0)s="'"+n.decorateQuotes(s)+"'";else if("source"===t.inputs[a].type){var o=s.split("$");o[0]="'"+o[0]+"'",s="source("+o.join(",")+")"}return s}))},n.isStrategy=function(e){return/^\s*strategy\s*\(/m.test(e)};var s=/^\s*\/\/\s*?@version\s*?=\s*?(\S*?)\s*?$/gm,i=/^[0-9]+$/;n.extractVersion=function(e){s.lastIndex=0;var r=s.exec(e);if(null===r)return n.TranslatorDefaultVersion;var t=r[1],a=i.test(t)?Number(t):NaN;return isNaN(a)?n.TranslatorDefaultVersion:a},n.canUpgradeVersion=function(e){return e>=3&&e=4&&e<=n.TranslatorLastVersion}, +e&&e.exports&&(e.exports=n)},57467:(e,r,t)=>{"use strict";t.r(r),t.d(r,{hasUserAccessToDataSource:()=>c,filterAccessibleDataSources:()=>u});var n=t(81851),s=t(14905),i=t(80815),a=t(88537),o=t(93337);async function c(e){return 1===(await u([e])).length}async function u(e){const r=new Set;if(e.forEach(e=>{(0,n.isStudy)(e)&&p(e)&&r.add(e.metaInfo().scriptIdPart)}),0===r.size)return[...e];const t=await(0,i.info)(Array.from(r),!0).promise(),s=new Set((0,a.ensureDefined)(t).filter(T).map(e=>e.scriptIdPart));return e.filter(e=>!(0,n.isStudy)(e)||!p(e)||s.has(e.metaInfo().scriptIdPart))}function p(e){const r=e.metaInfo();return r.scriptIdPart&&(0,s.isPublishedPineId)(r.scriptIdPart)}function T(e){return o.Access.MAP_ID_TO_NAME[e.access]!==o.Access.ACCESS_CLOSED_NEEDS_AUTH||e.userHaveAccess}},80815:(e,r,t)=>{"use strict";var n,s=t(23127),i=(n={},{suggest:function(e,r){var t=s.ajax({url:r||"/pubscripts-suggest-json/",type:"GET",data:{search:e},dataType:"json"});return t.done((function(e){if(e&&e.results)for(var r=0;r{"use strict";i.r(e),i.d(e,{showAlertsPushDialog:()=>r});var o=i(28353),s=(i(94419),i(89725)),n=i(82595);const a='

'+(0,o.t)("Install TradingView Mobile App")+"

";function r(){const t={width:480,closeOnOutsideClick:!1,destroyOnClose:!0,closeButton:!1,focusFirstControl:!1,type:"modal",contentWrapTemplate:'
',actionsWrapTemplate:'
',content:a,actions:[{name:"confirm",type:"primary",text:(0,o.t)("Got it"),method:"close",key:[13,32]},{name:"do-not-show",type:"checkbox",text:(0,o.t)("Do not show this message again"),addClass:"tv-control-checkbox tv-control-checkbox--in-actions i-align_left i-float_left"}]};return new Promise(e=>{let i=!1;const o=(0,s.createDialog)(t);o.on("action:do-not-show",(t,e)=>{i=e}),o.on("destroy",()=>{e(i)}),o.open()})}},89725:(t,e,i)=>{"use strict";i.r(e),i.d(e,{createDialog:()=>n});var o=i(976),s=i(77544);function n(t){const e=t.type||"popup";return delete t.type,"modal"===e?new o.TVModal(t):new s.TVPopup(t)}},976:(t,e,i)=>{"use strict";i.d(e,{TVModal:()=>v});var o=i(28353),s=i(68587),n=i(49483),a=i(43989),r=i(51536),d=i(4185),l=i(85739),h=i(25760),c=i(23127),p=i(25977);let g=[];const u={ajax:{},closingDuration:s.dur/2,fixBodyState:!0,overlayTemplate:'
',containerTemplate:'
',ajaxErrorTemplate:`
${(0,o.t)("Error")}
`};class v extends r.TVDialogAbstract{constructor(t={}){if(super({...u,...t}),this.$overlay=c(this.options.overlayTemplate), +this.$modalWrap=c(this.options.containerTemplate),this.$body=this.$modalWrap.find(".tv-dialog__modal-body").append(this.$el),this.options.closeOnOutsideClick&&this.$overlay.add(this.$modalWrap).click(t=>{this.isEventOut(t)&&this.close()}),this.on("change:zIndex",()=>{this.$overlay.css("z-index",this.zIndex),this.$modalWrap.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$overlay.remove(),this.$modalWrap.remove()};this.opened?(this.close(),setTimeout(t,this.options.closingDuration)):t()}),this.on("beforeOpen",()=>{g.push(this)}),this.options.ajax.url){const t=this.options.ajax.beforeSend||c.noop,e=this.options.ajax.success||!1,i=this.options.ajax.error||c.noop;c.extend(this.options.ajax,{beforeSend:()=>{this.trigger("beforeLoading",[this]),this.startSpinner(),t(this)},success:t=>{this.trigger("afterLoading",[this]),this.renderContent(e?e(this,t):t).showContent(),this.trigger("afterLoadingShow",[this])},error:()=>{this.renderContent(this.options.ajaxErrorTemplate),i(this),this.trigger("errorLoading",[this])}})}this.on("error",(t,e)=>{this.$modalWrap[0].getBoundingClientRect().height!this.opened,modal:!0}),this.options.closeOnEsc&&this._hotkeys.add({desc:"close",hotkey:27,handler:()=>this.close()}));const t=()=>{this.focus(),this.toTop(),this.trigger("beforeOpen",[this]),c(this.$wrap).append(this.$overlay.addClass("i-hidden i-closed").css("z-index",this.zIndex)).append(this.$modalWrap.addClass("i-hidden i-closed").css("z-index",this.zIndex)),this.$overlay.removeClass("i-hidden"),setTimeout(()=>{this.$overlay.removeClass("i-closed")},20),this.options.ajax.url?this.ajaxRequest=c.ajax(this.options.ajax):this.showContent()};return n.isSafari?setTimeout(()=>t(),50):t(),this}close(){if(this.opened)return this.opened=!1,this._keyboardBinderLockId&&l.enable(this._keyboardBinderLockId),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(()=>{this.$modalWrap.addClass("i-hidden").detach(),this.$overlay.addClass("i-hidden").detach(),g=p.without(g,this),this.options.fixBodyState&&(0,a.setFixedBodyState)(!1),this.trigger("afterClose",[this]),this.unfocus(),g.length>0&&g[g.length-1].focus(),this.options.destroyOnClose&&this.destroy()},this.options.closingDuration),this}showContent(){return this.$modalWrap.removeClass("i-hidden"),setTimeout(()=>{this.$modalWrap.removeClass("i-closed")},20),setTimeout(()=>{this.trigger("afterOpen",[this]),this.spinner&&this.stopSpinner()},.75*s.dur+20),this}hideContent(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}startSpinner(){ +return this.spinner=new d.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}stopSpinner(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}},43989:(t,e,i)=>{"use strict";i.d(e,{setFixedBodyState:()=>a});var o=i(68722);let s=0,n=!1;function a(t){const{body:e}=document,i=e.querySelector(".widgetbar-wrap");if(t&&1==++s){const t=(0,o.getCSSProperty)(e,"overflow"),s=(0,o.getCSSPropertyNumericValue)(e,"padding-right");"hidden"!==t.toLowerCase()&&e.scrollHeight>e.offsetHeight&&((0,o.setStyle)(i,"right",(0,o.getScrollbarWidth)()+"px"),e.style.paddingRight=s+(0,o.getScrollbarWidth)()+"px",n=!0),e.classList.add("i-no-scroll")}else if(!t&&s>0&&0==--s&&(e.classList.remove("i-no-scroll"),n)){(0,o.setStyle)(i,"right","0px");let t=0;0,e.scrollHeight<=e.clientHeight&&(t-=(0,o.getScrollbarWidth)()),e.style.paddingRight=(t<0?0:t)+"px",n=!1}}},82595:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/alerts-trigger-warning-dialog-impl.9bffee22d66ddcf75e00.js b/charting_library/bundles/alerts-trigger-warning-dialog-impl.9bffee22d66ddcf75e00.js new file mode 100644 index 00000000..ea08d1d8 --- /dev/null +++ b/charting_library/bundles/alerts-trigger-warning-dialog-impl.9bffee22d66ddcf75e00.js @@ -0,0 +1,4 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7136],{37593:e=>{e.exports={wrapper:"wrapper-5Xd5conM",input:"input-5Xd5conM",box:"box-5Xd5conM",icon:"icon-5Xd5conM",noOutline:"noOutline-5Xd5conM","intent-danger":"intent-danger-5Xd5conM",check:"check-5Xd5conM",dot:"dot-5Xd5conM"}},96670:e=>{e.exports={checkbox:"checkbox-GxG6nBa7",reverse:"reverse-GxG6nBa7",label:"label-GxG6nBa7",baseline:"baseline-GxG6nBa7"}},71349:e=>{e.exports={description:"description-XND8Gzdp",link:"link-XND8Gzdp"}},18586:e=>{e.exports={checkbox:"checkbox-OpxH0OVy"}},74371:e=>{e.exports={icon:"icon-cKcckIVa"}},84413:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>c});var a=n(59496),s=n(97754),o=n(9745),i=n(49154),r=n(37593),l=n.n(r);function c(e){const t=s(l().box,l()["intent-"+e.intent],{[l().check]:!Boolean(e.indeterminate),[l().dot]:Boolean(e.indeterminate),[l().noOutline]:-1===e.tabIndex}),n=s(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(o.Icon,{icon:i,className:l().icon})))}},15294:(e,t,n)=>{"use strict";n.d(t,{Checkbox:()=>c,GroupedCheckbox:()=>u});var a=n(59496),s=n(97754),o=n(54349),i=n(84413),r=n(96670),l=n.n(r);class c extends a.PureComponent{render(){const{inputClassName:e,labelClassName:t,...n}=this.props,o=s(this.props.className,l().checkbox,{[l().reverse]:Boolean(this.props.labelPositionReverse),[l().baseline]:Boolean(this.props.labelAlignBaseline)}),r=s(l().label,t,{[l().disabled]:this.props.disabled});let c=null;return this.props.label&&(c=a.createElement("span",{className:r,title:this.props.title},this.props.label)),a.createElement("label",{className:o},a.createElement(i.CheckboxInput,{...n,className:e}),c)}}c.defaultProps={value:"on"};const u=(0,o.makeSwitchGroupItem)(c)},54349:(e,t,n)=>{"use strict";n.d(t,{SwitchGroup:()=>o,makeSwitchGroupItem:()=>i});var a=n(59496),s=n(19036);class o extends a.PureComponent{constructor(){super(...arguments),this._subscriptions=new Set,this._getName=()=>this.props.name,this._getValues=()=>this.props.values,this._getOnChange=()=>this.props.onChange,this._subscribe=e=>{this._subscriptions.add(e)},this._unsubscribe=e=>{this._subscriptions.delete(e)}}getChildContext(){return{switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}}render(){return this.props.children}componentDidUpdate(e){this._notify(this._getUpdates(this.props.values,e.values))}_notify(e){this._subscriptions.forEach(t=>t(e))}_getUpdates(e,t){return[...t,...e].filter(n=>t.includes(n)?!e.includes(n):e.includes(n))}}function i(e){var t;return(t=class extends a.PureComponent{constructor(){super(...arguments),this._onChange=e=>{ +this.context.switchGroupContext.getOnChange()(e)},this._onUpdate=e=>{e.includes(this.props.value)&&this.forceUpdate()}}componentDidMount(){this.context.switchGroupContext.subscribe(this._onUpdate)}render(){return a.createElement(e,{...this.props,name:this._getName(),onChange:this._onChange,checked:this._isChecked()})}componentWillUnmount(){this.context.switchGroupContext.unsubscribe(this._onUpdate)}_getName(){return this.context.switchGroupContext.getName()}_isChecked(){return this.context.switchGroupContext.getValues().includes(this.props.value)}}).contextTypes={switchGroupContext:s.any.isRequired},t}o.childContextTypes={switchGroupContext:s.any.isRequired}},1787:(e,t,n)=>{"use strict";n.d(t,{solutionIds:()=>a});const a=JSON.parse('{"EXTENDED_HOURS":43000502023,"PRE_MARKET":43000502023,"POST_MARKET":43000502023,"SPREAD_CHARTS":43000502298,"ALERTS":43000520149,"ALERT_ON_STRATEGY":43000481368,"ALERT_WEBHOOK":43000529348,"ALERT_DESCRIPTION_PLACEHOLDER":43000531021,"VOLUME_PROFILE":43000502040,"VOLUME_PROFILE_INDICATOR":43000557450,"RENKO":43000502284,"KAGI":43000502272,"LINE_BREAK":43000502273,"PNF":43000502276,"FINANCIAL_DATA":43000543506,"BROKER_RATING":43000542490,"CRYPTO_MARKET_CAP":43000540941,"CRYPTO_PAYMENT":43000485536,"ALERT_ON_SPREAD":43000478406,"ALERT_ON_CUSTOM_SCRIPT":43000478415,"ALERT_FUNCTION":43000597494,"SMS_VERIFICATION":43000553429,"MAGNET_MODE":43000537270,"PINE_CANNOT_DETERMINE":43000587849,"PRIVACY_SETTINGS":43000548335,"PUBLICATION_TYPE":43000609497,"SCRIPT_ACCESS":43000482573,"MEMORY_LIMITS_EXCEEDED":43000590233,"FREE_USER_FAQS":43000590947,"STRATEGY_UNREALISTIC_RESULTS":43000481029,"STRATEGY_FUTURE_DATA":43000614705,"STREAM_RULES":43000591348,"HOW_TO_USE_PAPER":43000516466,"HOW_TO_USE_CQG":43000516372,"HOW_TO_USE_OANDA":43000516375,"HOW_TO_USE_FOREXCOM":43000516374,"FAVORITE_IDEA":43000555216,"YOUTUBE_ERROR":43000612153,"AUTHORS_INSTRUCTIONS_PUBCLICATION":43000549951,"AUTHORS_INSTRUCTIONS_EDIT":43000614618,"SCRIPT_INSTRUCTIONS":43000482573,"BAR_REPLAY_UNAVAILABILITY":43000475470,"WHAT_IS_CBOE_BZX_EXCHANGE":43000473924,"GOPRO_UPGRADE_DESCRIPTION":43000473324,"GOPRO_DOWNGRADE_DESCRIPTION":43000485437,"BROKERAGE_REVIEWS":43000591351,"CHANGE_SUBSCRIPTION":43000635806,"PINE_LIBRARY_INFO":43000638371,"HOW_TO_CREATE_A_STREAM":43000560174,"HOW_DO_I_UPDATE_DESKTOP_APP":43000647779,"TECHNICAL_RATINGS":43000614331,"BACKTESTING_WIDGET":43000561856,"DEEP_BACKTESTING_WIDGET":43000670566,"DEEP_BACKTESTING":43000666199,"DEEP_BACKTESTING_AVAILABLE_DATA":43000668210}')},71270:(e,t,n)=>{"use strict";n.r(t),n.d(t,{showAlertsTriggerWarningDialogImpl:()=>x});var a=n(59496),s=n(87995),o=n(28353),i=n(96050),r=n(9745),l=n(74371);function c(e){return a.createElement(a.Fragment,null,a.createElement(r.Icon,{icon:e.icon,className:l.icon}),e.text)}var u=n(15294),h=n(18586);function p(e){return a.createElement(u.Checkbox,{checked:e.checked,onChange:e.onChange,label:e.label||(0,o.t)("Don't show again"),className:h.checkbox})}var d=n(77975),E=n(45345);var _=n(26843),m=n(1787),T=n(30152),C=n(68361),A=n(55746),g=n(71349) +;const R=(0,o.t)("Got it"),I=(0,o.t)("Cancel"),N=(0,o.t)("Continue anyway"),O={spread:(0,o.t)("Spread alerts may trigger differently from what you expect"),"pine-repainting":(0,o.t)("Alert may trigger differently from what you expect"),cryptocap:(0,o.t)("CRYPTOCAP alerts may trigger differently from what you expect"),"logarithmic-scale":(0,o.t)("Alert may trigger differently from what you expect")},S={spread:(0,o.t)("This is because the tick data of price movements within a bar are not included in historical bars. Have a read of our {solutionLinkStart}Help Center{linkEnd} for more info."),"pine-repainting":(0,o.t)("This is because it’s based on an indicator or strategy that can get repainted. Have a read of our {solutionLinkStart}Help Center{linkEnd} for more info."),cryptocap:(0,o.t)("This is because the calculation for these symbols may return different results when using historical and real-time data. Have a read of our {solutionLinkStart}Help Center{linkEnd} for more info."),"logarithmic-scale":(0,o.t)("This is because, at the moment, calculations are based on a linear scale, not a logarithmic one.")},b={spread:m.solutionIds.ALERT_ON_SPREAD,"pine-repainting":m.solutionIds.ALERT_ON_CUSTOM_SCRIPT,cryptocap:m.solutionIds.CRYPTO_MARKET_CAP},f=/(.*){solutionLinkStart}(.*){linkEnd}(.*)/;function x(e){return new Promise(t=>{const n=document.createElement("div");let o=!1;function r(){s.render(a.createElement(i.SimpleDialog,{title:a.createElement(v,{title:O[e]}),onClose:c,content:a.createElement(a.Fragment,null,a.createElement("p",{className:g.description},w(e)),a.createElement(p,{checked:o,onChange:l,label:R})),actions:[{name:"continue",title:N,handler:u},{name:"cancel",title:I,intent:"default",appearance:"stroke",handler:c}],dataName:"alerts-trigger-warning-dialog-"+e}),n)}function l(){o=!o,r()}function c(){s.unmountComponentAtNode(n),t({doNotShow:o,canContinue:!1})}function u(){s.unmountComponentAtNode(n),t({doNotShow:o,canContinue:!0})}r()})}function w(e){const t=S[e],n=t.match(f),s=b[e];if(!n||!s)return t;return a.createElement(a.Fragment,null,n[1],a.createElement("a",{className:g.link,onClick:function(e){e.preventDefault(),(0,T.showSupportDialog)({solutionId:s})},href:`/support/solutions/${s}/`},n[2]),n[3])}function v(e){const t=(0,d.useWatchedValueReadonly)({watchedValue:E.watchedTheme});return a.createElement(c,{text:e.title,icon:t===_.StdTheme.Light?C:A})}},30152:(e,t,n)=>{"use strict";n.d(t,{showSupportDialog:()=>a});n(51872);function a(e){return Promise.all([n.e(9685),n.e(5514),n.e(8463),n.e(9289),n.e(509),n.e(3118),n.e(5998),n.e(8844),n.e(1253),n.e(8247),n.e(9297),n.e(9255),n.e(3812),n.e(5376),n.e(1536),n.e(5423),n.e(9957),n.e(7274)]).then(n.bind(n,89053)).then(t=>new t.SupportDialog(e).open())}},77975:(e,t,n)=>{"use strict";n.d(t,{useWatchedValueReadonly:()=>s});var a=n(59496);const s=(e,t=!1)=>{const n="watchedValue"in e?e.watchedValue:void 0,s="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[o,i]=(0,a.useState)(n?n.value():s);return(t?a.useLayoutEffect:a.useEffect)(()=>{if(n){i(n.value()) +;const e=e=>i(e);return n.subscribe(e),()=>n.unsubscribe(e)}return()=>{}},[n]),o}},49154:e=>{e.exports=''},55746:e=>{e.exports=''},68361:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/b0d7e0e6fa1209b8a82a5566879e8439.svg b/charting_library/bundles/b0d7e0e6fa1209b8a82a5566879e8439.svg new file mode 100644 index 00000000..5e311711 --- /dev/null +++ b/charting_library/bundles/b0d7e0e6fa1209b8a82a5566879e8439.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b119250cad0725ccc4f8288726f56f6b.svg b/charting_library/bundles/b119250cad0725ccc4f8288726f56f6b.svg new file mode 100644 index 00000000..f93f1d03 --- /dev/null +++ b/charting_library/bundles/b119250cad0725ccc4f8288726f56f6b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b1cad18bd8a6be021c3177353bda5345.svg b/charting_library/bundles/b1cad18bd8a6be021c3177353bda5345.svg new file mode 100644 index 00000000..013a6d8f --- /dev/null +++ b/charting_library/bundles/b1cad18bd8a6be021c3177353bda5345.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b1ee1e8ecc3caeb6e4e1dd6d5a45e2c8.svg b/charting_library/bundles/b1ee1e8ecc3caeb6e4e1dd6d5a45e2c8.svg new file mode 100644 index 00000000..4188e3f1 --- /dev/null +++ b/charting_library/bundles/b1ee1e8ecc3caeb6e4e1dd6d5a45e2c8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b2011711183a64af88730986168af032.svg b/charting_library/bundles/b2011711183a64af88730986168af032.svg new file mode 100644 index 00000000..a065333a --- /dev/null +++ b/charting_library/bundles/b2011711183a64af88730986168af032.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b31adf0f45d2fb04730c422394eb6ae2.svg b/charting_library/bundles/b31adf0f45d2fb04730c422394eb6ae2.svg new file mode 100644 index 00000000..2c19de63 --- /dev/null +++ b/charting_library/bundles/b31adf0f45d2fb04730c422394eb6ae2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b4dd685fee80f6fff4b6e34f4e7725ac.svg b/charting_library/bundles/b4dd685fee80f6fff4b6e34f4e7725ac.svg new file mode 100644 index 00000000..d092e303 --- /dev/null +++ b/charting_library/bundles/b4dd685fee80f6fff4b6e34f4e7725ac.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b51b73c5dc965960d789d4616c9372e5.svg b/charting_library/bundles/b51b73c5dc965960d789d4616c9372e5.svg new file mode 100644 index 00000000..19ec34d8 --- /dev/null +++ b/charting_library/bundles/b51b73c5dc965960d789d4616c9372e5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b66a640126ab548895d37446e81edb06.svg b/charting_library/bundles/b66a640126ab548895d37446e81edb06.svg new file mode 100644 index 00000000..b9bca5ae --- /dev/null +++ b/charting_library/bundles/b66a640126ab548895d37446e81edb06.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b6a66bf5808bbb5de2d3bf45a5971fbd.svg b/charting_library/bundles/b6a66bf5808bbb5de2d3bf45a5971fbd.svg new file mode 100644 index 00000000..40d18170 --- /dev/null +++ b/charting_library/bundles/b6a66bf5808bbb5de2d3bf45a5971fbd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b755b85a9536ead06ef26ecd24724e0c.svg b/charting_library/bundles/b755b85a9536ead06ef26ecd24724e0c.svg new file mode 100644 index 00000000..e5e57a9f --- /dev/null +++ b/charting_library/bundles/b755b85a9536ead06ef26ecd24724e0c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b8b5ebf760eccf4bd10d0c3ccd100800.svg b/charting_library/bundles/b8b5ebf760eccf4bd10d0c3ccd100800.svg new file mode 100644 index 00000000..4f7f9774 --- /dev/null +++ b/charting_library/bundles/b8b5ebf760eccf4bd10d0c3ccd100800.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b9a5c368e039eba4bf66e0f75e899eb7.svg b/charting_library/bundles/b9a5c368e039eba4bf66e0f75e899eb7.svg new file mode 100644 index 00000000..6971894d --- /dev/null +++ b/charting_library/bundles/b9a5c368e039eba4bf66e0f75e899eb7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/b9ef74d4cc68a3ee92fc345b70753629.svg b/charting_library/bundles/b9ef74d4cc68a3ee92fc345b70753629.svg new file mode 100644 index 00000000..cb0d6a84 --- /dev/null +++ b/charting_library/bundles/b9ef74d4cc68a3ee92fc345b70753629.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ba436c3f80a5432a73402891d8ed04bf.svg b/charting_library/bundles/ba436c3f80a5432a73402891d8ed04bf.svg new file mode 100644 index 00000000..3155c328 --- /dev/null +++ b/charting_library/bundles/ba436c3f80a5432a73402891d8ed04bf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ba8de9bab341fb25cc068a78171500ba.svg b/charting_library/bundles/ba8de9bab341fb25cc068a78171500ba.svg new file mode 100644 index 00000000..3e220144 --- /dev/null +++ b/charting_library/bundles/ba8de9bab341fb25cc068a78171500ba.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/bbcdb3a466a748485f84b550145804dc.svg b/charting_library/bundles/bbcdb3a466a748485f84b550145804dc.svg new file mode 100644 index 00000000..86b6a622 --- /dev/null +++ b/charting_library/bundles/bbcdb3a466a748485f84b550145804dc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/bbd4456a4e25c099b7f49fe4f00e032f.svg b/charting_library/bundles/bbd4456a4e25c099b7f49fe4f00e032f.svg new file mode 100644 index 00000000..ddc2f52d --- /dev/null +++ b/charting_library/bundles/bbd4456a4e25c099b7f49fe4f00e032f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/bc4c0e86357177d9b1ed96f8568684d1.svg b/charting_library/bundles/bc4c0e86357177d9b1ed96f8568684d1.svg new file mode 100644 index 00000000..2cf1e87f --- /dev/null +++ b/charting_library/bundles/bc4c0e86357177d9b1ed96f8568684d1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/bdb5b8a0770dc62f8db3d518656ad60f.webp b/charting_library/bundles/bdb5b8a0770dc62f8db3d518656ad60f.webp new file mode 100644 index 0000000000000000000000000000000000000000..919bab9c2a1cc05b7b23cc9aa6bd3c45a80c8c80 GIT binary patch literal 105078 zcmdSBV|-j)`!*amP8z$h8naPjyD=IxMq}Hy*{HE?G;D0!wmI)4y{`Md?mwOn@B88X zJ)ic>-ZOjFUh7<^j^mgw;vymzDWD)K!UA&2a-Rsl0bieOL8pUKgTV4Zetr+_%b)dL z4Brb4#7AAD{UB8Wv+CU#!Kepu9mPln-~|A1=iZ=S?&_FytbLaHEwxv=Er1SK^K5^r zIU-7a34Jaf&^}wO&0ts>+`jqhu?UENEC+m$_ap*Xo`OHGc8FF3L;-lvQ` z_XE$Xmjl;z049L>_T3BpZ`o`5)748}-WMC*drttM{_NLF;>#@n@VE-vKGQx0xCi*3 zN&@--_0LFmo`9DhyuUoB0oyN+&!Yf9R^);9cKe}c!870<1aNuW`~(ijSLF=_Twm5- zAl(CO+D)IndepyY-|#jO%%|Mm@PYv#cm-!vo>xA-)W6JTo;J0ecu0^PAK)M!Gd!1z z@k#(}k6@mW9!GOMZ=Skd?g5r_6c6=}mdd9OEmQ6}M~u%95J?FDL)_jY|0GM?Dh%Bg zi{EMi=gma_f1K)}2pBeXY{NEQj;co3v@;?5e|2yW7-A2fhhtb_*Qe=ndb`#C{ilqy z5mKg3-H`sj9oWniTF>T7Wp29+Yq?h6?)ZQ0DfpT26CK9lb%P3A?* z1~6zO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){^WNh1FdSIx4G+=mak#1ltSx#=WGEl6WEUaaU0j!y$t=b6R@yOk zKS8rvh1L6?Db$!az`C-2FWmYxN|U91Pj^7lgRu;Z9Kf-e60bZ?BX-}ZZr|;nK5{uF zmb3Ar#t!h5~Soq29X?>%XH2&F?W;57jGvr`Ti!`^HIch%~>W%cH3 z_{8?iU-jv16I6*#L!AIa8Qq<+J3(!hIknRlj#HW7jz@2T2d_hi1C|rF!G3XMgjUfa zjOOY$ph?HGz~djY7JNC699O?#KW>-rxMaqACp5(#1j*-lh$uGCv?~odB^2w)kfNlZ zME3v-A$0h;HAMA!Lhy=z#~2j%{EBmc5cDA0i$oy`|4DcT(luajC@6dHclGW^dKm;; zBWXk4i1DB+`7L3oLG_1$Q)vsOtToV*&w%5<75MSh#iXN7a`mc~A?tuNx9w&d5bmrk zKm?z(KUx2GH?0m&zCg!1ftcZm)+$j4vQG-t-R+ckxq4x%OWfoZ`Vh_HMTOx)V1-)L zSpARk%K!8PorKt%E5*KLeLO@$Upr7iVU?Jvat)t3&UG2ligYqc5(jc0sl!v$A2nr+ zgl(q&Pgk6yOy2 z`lMQlCF8D;>A2$j$xZ%G+i2p%hV^T$5EwE!5= zxjSiRz(q_ls zwY>eC(E(Lk1Sic>%D@R&6Z|J>znUFrM#R3(gXokWHyW8y>fRHr*gjSzVtSkE?b8+< zJJ~8ZrMxP?pN$sh%|%4u(I^rVU;7!@z`on(yGp69kvFUr5!!6z7_Wz#Gc(?ZLrzR3 zIP3_X8iIH4AXMW%c?sXP)d`maiJ1Jq{5PWI5S1RE&f>~JeuvN
`,contentWrapTemplate:"
",closeButtonTemplate:`
${o(12565)}
`});return e.on("beforeOpen",e=>{const t=t=>{t.preventDefault(),(0,a.trackEvent)("Black Friday","BF pop-up Buy now"),window.open("/black-friday/","_blank"),e.destroy()};s.render(i.createElement("div",null,i.createElement(ne.KeyboardDocumentListener,{keyCode:13,handler:t}),i.createElement(se,{availableOffers:window.user.available_offers,className:ae.banner,onLearnMore:t,inDialog:!0})),e.$content.get(0))}),e.on("beforeClose",e=>{s.unmountComponentAtNode(e.$content.get(0))}),e.on("afterClose",()=>{(0,a.trackEvent)("Black Friday","BF pop-up close")}),e.open(),e}},89725:(e,t,o)=>{"use strict";o.r(t), +o.d(t,{createDialog:()=>n});var i=o(976),s=o(77544);function n(e){const t=e.type||"popup";return delete e.type,"modal"===t?new i.TVModal(e):new s.TVPopup(e)}},976:(e,t,o)=>{"use strict";o.d(t,{TVModal:()=>g});var i=o(28353),s=o(68587),n=o(49483),a=o(43989),r=o(51536),l=o(4185),c=o(85739),d=o(25760),h=o(23127),p=o(25977);let m=[];const u={ajax:{},closingDuration:s.dur/2,fixBodyState:!0,overlayTemplate:'
',containerTemplate:'
',ajaxErrorTemplate:`
${(0,i.t)("Error")}
`};class g extends r.TVDialogAbstract{constructor(e={}){if(super({...u,...e}),this.$overlay=h(this.options.overlayTemplate),this.$modalWrap=h(this.options.containerTemplate),this.$body=this.$modalWrap.find(".tv-dialog__modal-body").append(this.$el),this.options.closeOnOutsideClick&&this.$overlay.add(this.$modalWrap).click(e=>{this.isEventOut(e)&&this.close()}),this.on("change:zIndex",()=>{this.$overlay.css("z-index",this.zIndex),this.$modalWrap.css("z-index",this.zIndex)}),this.on("destroy",()=>{const e=()=>{this.$overlay.remove(),this.$modalWrap.remove()};this.opened?(this.close(),setTimeout(e,this.options.closingDuration)):e()}),this.on("beforeOpen",()=>{m.push(this)}),this.options.ajax.url){const e=this.options.ajax.beforeSend||h.noop,t=this.options.ajax.success||!1,o=this.options.ajax.error||h.noop;h.extend(this.options.ajax,{beforeSend:()=>{this.trigger("beforeLoading",[this]),this.startSpinner(),e(this)},success:e=>{this.trigger("afterLoading",[this]),this.renderContent(t?t(this,e):e).showContent(),this.trigger("afterLoadingShow",[this])},error:()=>{this.renderContent(this.options.ajaxErrorTemplate),o(this),this.trigger("errorLoading",[this])}})}this.on("error",(e,t)=>{this.$modalWrap[0].getBoundingClientRect().height!this.opened,modal:!0}),this.options.closeOnEsc&&this._hotkeys.add({desc:"close",hotkey:27,handler:()=>this.close()}));const e=()=>{this.focus(),this.toTop(),this.trigger("beforeOpen",[this]),h(this.$wrap).append(this.$overlay.addClass("i-hidden i-closed").css("z-index",this.zIndex)).append(this.$modalWrap.addClass("i-hidden i-closed").css("z-index",this.zIndex)),this.$overlay.removeClass("i-hidden"),setTimeout(()=>{this.$overlay.removeClass("i-closed")},20),this.options.ajax.url?this.ajaxRequest=h.ajax(this.options.ajax):this.showContent()};return n.isSafari?setTimeout(()=>e(),50):e(),this}close(){if(this.opened)return this.opened=!1,this._keyboardBinderLockId&&c.enable(this._keyboardBinderLockId),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null), +this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(()=>{this.$modalWrap.addClass("i-hidden").detach(),this.$overlay.addClass("i-hidden").detach(),m=p.without(m,this),this.options.fixBodyState&&(0,a.setFixedBodyState)(!1),this.trigger("afterClose",[this]),this.unfocus(),m.length>0&&m[m.length-1].focus(),this.options.destroyOnClose&&this.destroy()},this.options.closingDuration),this}showContent(){return this.$modalWrap.removeClass("i-hidden"),setTimeout(()=>{this.$modalWrap.removeClass("i-closed")},20),setTimeout(()=>{this.trigger("afterOpen",[this]),this.spinner&&this.stopSpinner()},.75*s.dur+20),this}hideContent(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}startSpinner(){return this.spinner=new l.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}stopSpinner(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}},77544:(e,t,o)=>{"use strict";o.d(t,{TVPopup:()=>m});var i=o(68587),s=o(52150),n=o(51536),a=o(30812),r=o(35190),l=o(25760),c=o(23127);const d=c("body"),h=c(window),p={closeOnClickAtOtherDialogs:!0,draggable:!0,scrollWrap:'
',scrollWrapInner:'
',withScroll:!0};class m extends n.TVDialogAbstract{constructor(e={}){super({...p,...e}),this.$scrollWrap=this.$content.hasClass("js-dialog__scroll-wrap")?this.$content:this.$content.find(".js-dialog__scroll-wrap"),this.$scrollWrap.length?this.$scrollWrapInner=this.$scrollWrap.children().first():(this.$scrollWrap=this.$content.wrap(c(this.options.scrollWrap)).parent(),this.$scrollWrapInner=this.$content.wrap(c(this.options.scrollWrapInner)).parent()),this.$actions&&this.$scrollWrap.addClass("i-with-actions"),this.options.withScroll&&(this.scroll=new a.SidebarCustomScroll(this.$scrollWrap[0],this.$scrollWrapInner[0]),this.scroll.scrolled.subscribe(null,()=>this.trigger("scroll"))),this.$scrollWrap.css("overflow","");const t=this.getDialogId();this.$el.addClass("tv-dialog--popup i-closed i-hidden"),this.options.width&&this.$el.css({width:"calc(100% - 20px)","max-width":this.options.width}),this._hotkeys=l.createGroup({desc:"Dialog",isDisabled:()=>!this.opened,modal:!1}),this.options.closeOnEsc&&this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this.close()}),this.$el.on("mousedown touchstart",this.toTop.bind(this)),this.options.closeOnOutsideClick&&(this._preventClick=!0,this.on("beforeOpen",()=>{setTimeout(()=>{this.opened&&(c(document).on("mousedown touchstart",()=>{this._preventClick=!1}),c(document).on("click.tv-popup-"+t,e=>{if(this._preventClick)return;const t=c(e.target).closest(".js-dialog");(this.options.closeOnClickAtOtherDialogs||0===t.length)&&this.isEventOut(e)&&this.close()}))},0)}),this.on("beforeClose",()=>c(document).off("click.tv-popup-"+t))),this.on("change:zIndex",()=>{this.$el.css("z-index",this.zIndex)}),this.on("destroy",()=>{const e=()=>{this.$el.remove(),this._hotkeys.destroy()} +;this.opened?(this.close(),setTimeout(e,i.dur/2)):e()})}open(){return this.opened||(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.$wrap).removeClass("i-hidden").css((()=>{this.calcHeight();const e=h.height(),t=h.width(),o=this.$el.height(),i=this.$el.width();let s=this.options.position;return s||(s={top:e/2-o/2,left:t/2-i/2}),s.top>e-o&&(s.top=e-o),s.left>t-i&&(s.left=t-i),s.top<10&&(s.top=10),s.left<10&&(s.left=10),s})()),this.focus(),this.toTop(),this._doOpenAnimation().then(()=>{this.opened&&(this.$el.removeClass("i-closed"),this.options.draggable&&((0,r.lazyJqueryUI)(this.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing",stop:(e,t)=>{this.trigger("dragEnd",[this])}}),this.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),this.trigger("afterOpen",[this]))}),h.on("resize.tv-popup-"+this.getDialogId(),()=>{this.calcHeight(),this.fixPos()})),this}close(){if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(()=>{this.opened||((0,r.lazyJqueryUI)(this.$el).draggable("instance").then(e=>{e&&e.destroy()}),this.$el.addClass("i-hidden").detach(),d.css("cursor","auto"),this.trigger("afterClose",[this]),this.options.destroyOnClose&&this.destroy())}),h.off("resize.tv-popup-"+this.getDialogId()),this}hide(){this.$el.addClass("i-hidden")}show(){this.$el.removeClass("i-hidden")}fixPos(){const e=this.$el[0].getBoundingClientRect(),t={};e.bottom>s.mediaState.height-10&&(t.top=s.mediaState.height-10-e.height,t.top<10&&(t.top=10)),e.right>s.mediaState.width-10&&(t.left=s.mediaState.width-10-e.width,t.left<10&&(t.left=10)),(t.top||t.left)&&this.$el.css(t)}calcHeight(){const e=this.$el[0].getBoundingClientRect(),t=this.$scrollWrapInner[0].getBoundingClientRect(),o=this.$scrollWrap[0].getBoundingClientRect();let i=this.options.height&&this.options.heighti)&&(i-=e.height-o.height,i<60&&(i=60),this.$scrollWrap.css({height:i})),this.options.withScroll&&this.scroll.resize();const a=i{"use strict";o.d(t,{mediaState:()=>c});var i=o(85459),s=o.n(i),n=o(69677),a=o(74664),r=o(68722);class l extends(s()){constructor(){super(),this.width=0,this.height=0,this.device=null,this.breakpoints=a.breakpoints,this._checkDevice(),window.addEventListener("resize",this._checkDevice), +Object.entries(a.breakpoints).sort(([e,t],[o,i])=>t-i).forEach(([e,t],o,i)=>{let s;if(0!==o){const[,e]=i[o-1];s=e+1}else s=0;const n=(0,r.matchMediaMinMax)(s,t);n.matches&&this._setNewDevice(e),n.addListener(t=>{t.matches&&(this._checkDevice(),this._setNewDevice(e))})}),(0,n.whenDocumentReady)(this._checkDevice.bind(this)),this.isPhoneSizeDevice.bind(this)}isPhoneSizeDevice(){return"phone"===this.device||"phone-vertical"===this.device}_checkDevice(){this.width=window.innerWidth,this.height=window.innerHeight}_setNewDevice(e){const t=this.device;this.device=e,this.trigger("changeDevice",[e,t])}}const c=new l},86240:e=>{"use strict";e.exports=JSON.parse('{"size-header-height":"64px","media-phone":"screen and (max-width: 767px)","media-mf-phone-landscape":"screen and (min-width: 568px)","media-mf-tablet-vertical":"screen and (min-width: 768px)","media-mf-tablet-landscape":"screen and (min-width: 1024px)","media-mf-laptop":"screen and (min-width: 1280px)"}')}}]); \ No newline at end of file diff --git a/charting_library/bundles/c229767ec3f6e517744b027e36b24831.svg b/charting_library/bundles/c229767ec3f6e517744b027e36b24831.svg new file mode 100644 index 00000000..6c3f73f0 --- /dev/null +++ b/charting_library/bundles/c229767ec3f6e517744b027e36b24831.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c26643f969ec665d63ddfe7dbcf16871.svg b/charting_library/bundles/c26643f969ec665d63ddfe7dbcf16871.svg new file mode 100644 index 00000000..a6b615d1 --- /dev/null +++ b/charting_library/bundles/c26643f969ec665d63ddfe7dbcf16871.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c2a5c0fb8c6ef112474fde18c2946640.svg b/charting_library/bundles/c2a5c0fb8c6ef112474fde18c2946640.svg new file mode 100644 index 00000000..1482f621 --- /dev/null +++ b/charting_library/bundles/c2a5c0fb8c6ef112474fde18c2946640.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c33468197e6cfac63316a6cd3a67cd6c.svg b/charting_library/bundles/c33468197e6cfac63316a6cd3a67cd6c.svg new file mode 100644 index 00000000..eea7af92 --- /dev/null +++ b/charting_library/bundles/c33468197e6cfac63316a6cd3a67cd6c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c3bf6a8b432dba36fcdb79e0e7b892e4.svg b/charting_library/bundles/c3bf6a8b432dba36fcdb79e0e7b892e4.svg new file mode 100644 index 00000000..0d207458 --- /dev/null +++ b/charting_library/bundles/c3bf6a8b432dba36fcdb79e0e7b892e4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c3e25206d17a8de5275c5c18c6377d52.svg b/charting_library/bundles/c3e25206d17a8de5275c5c18c6377d52.svg new file mode 100644 index 00000000..3ad0e8e6 --- /dev/null +++ b/charting_library/bundles/c3e25206d17a8de5275c5c18c6377d52.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c416c4db2f76c13e5cfb1cd73b057264.svg b/charting_library/bundles/c416c4db2f76c13e5cfb1cd73b057264.svg new file mode 100644 index 00000000..f9f635ad --- /dev/null +++ b/charting_library/bundles/c416c4db2f76c13e5cfb1cd73b057264.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c4978c8d35ff46ddde11765f574e2586.svg b/charting_library/bundles/c4978c8d35ff46ddde11765f574e2586.svg new file mode 100644 index 00000000..8c77b43e --- /dev/null +++ b/charting_library/bundles/c4978c8d35ff46ddde11765f574e2586.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c4ba5e799038b2fac1d8a5cee58aac2d.svg b/charting_library/bundles/c4ba5e799038b2fac1d8a5cee58aac2d.svg new file mode 100644 index 00000000..f28035a1 --- /dev/null +++ b/charting_library/bundles/c4ba5e799038b2fac1d8a5cee58aac2d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c5bcb60600a07405427fb25b45bc6e53.svg b/charting_library/bundles/c5bcb60600a07405427fb25b45bc6e53.svg new file mode 100644 index 00000000..2417a94e --- /dev/null +++ b/charting_library/bundles/c5bcb60600a07405427fb25b45bc6e53.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c65f8d4a514fd5839e611a6c7f146acb.svg b/charting_library/bundles/c65f8d4a514fd5839e611a6c7f146acb.svg new file mode 100644 index 00000000..47514c2b --- /dev/null +++ b/charting_library/bundles/c65f8d4a514fd5839e611a6c7f146acb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c6c91cffc0948504960b9ffa03ec3eb8.svg b/charting_library/bundles/c6c91cffc0948504960b9ffa03ec3eb8.svg new file mode 100644 index 00000000..0810c302 --- /dev/null +++ b/charting_library/bundles/c6c91cffc0948504960b9ffa03ec3eb8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c7232e3bcddb5cf2fedab803b86d4e88.svg b/charting_library/bundles/c7232e3bcddb5cf2fedab803b86d4e88.svg new file mode 100644 index 00000000..b84de633 --- /dev/null +++ b/charting_library/bundles/c7232e3bcddb5cf2fedab803b86d4e88.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c7b2bfd6a12a1c0991a575c3b31ad7b6.svg b/charting_library/bundles/c7b2bfd6a12a1c0991a575c3b31ad7b6.svg new file mode 100644 index 00000000..c418a240 --- /dev/null +++ b/charting_library/bundles/c7b2bfd6a12a1c0991a575c3b31ad7b6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c7c3797c2ad50f90c7c5e767a4822af2.svg b/charting_library/bundles/c7c3797c2ad50f90c7c5e767a4822af2.svg new file mode 100644 index 00000000..7d49ee8e --- /dev/null +++ b/charting_library/bundles/c7c3797c2ad50f90c7c5e767a4822af2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c8d5bc45cecd625d597da5bc33011da7.svg b/charting_library/bundles/c8d5bc45cecd625d597da5bc33011da7.svg new file mode 100644 index 00000000..480b080c --- /dev/null +++ b/charting_library/bundles/c8d5bc45cecd625d597da5bc33011da7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/c9fe6a08de1ec5ba4f5ab0f80ce4d761.jpeg b/charting_library/bundles/c9fe6a08de1ec5ba4f5ab0f80ce4d761.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..5b506313bd6cc1ba226b981bc5bc1130cc4e5caf GIT binary patch literal 131065 zcmeFZ30M=^wlKOXl>x&LY@&c5ghmBg8Jrj-K&dT=${@}YL_uj45m6Bop@Qwu-3kGm zT4YdA#0i{15rVW5v=tQxY_N?QL=iDYkQv@8Jbli&|99_u|NFjs?tkC+Zt+1XReSHX z_S$Q&dDB1N``yfa!g>e*FPMb)|EbqM=(+YNfO9JVDf`E>WxoPk*$!az$3LD8%K{Mm z2ynS7Vrk^keq`AAm$hOAfF>6}cL9LGeE|NVzYzUL-+!#de=t`O_A$kIuEn2F2!rJy z0&fV1V6elxG2j5B!LhFvCIiW0F6J+Z7n{pwE-fyX!yTZ-=MT^tFo3Tk(BW(AX%85n zJ5X0opsznrpRe65j%AAVCf! z`hJ6<$h&`Cf1?4xBH0`*9(Mq~o~REj76Y2aCV3>A1w0^F11-qW6Texyjy+Rq@GXa% zd}PeIGM<*ua?%5Jz{^jA#x9E-mS8w}-1mcnQ*a2AzlJCNqA}ozYz~))FUJqWJ%x1X z2f-mZ*apWZExs8&kW~5YXn9kuqW`Fnf)qnV3LZOy#hVBLO%nec*_M^b*=mYYY^LfF}b& zO{&5Jzy|af^a7_k__J*wi{?}KtvCT7hb7Z4;FNJG!(qrX0PYaG=QhO=5pryxUCHIc zc9BpY!2uY`C=k*CL=+T?6f6}DW)$$`g5;v9kOR)xfQS*5QTjQo1O&(6rUfh+pR$u1 zvW;P}3`pE%?S#h321nsx1F#=vWX%%N{s<1g1x^GAAf|F^Sjuf8?G%6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*mwkGa~NToI&-MO`%EMr9^oJO4Q``KRtCBaW$1sto&F!~+W$+J zIp#+G1ZsZ_6+l>Yp(_HPP5|S53p}B#0J-Utaa3RuVaKTCH?Jzc{@-35q$r#}IkcfpTmD9Z z|GB1KP!%{g_xm`` z<3~&5$h>I>(Pe;x2pA}IId-7*bk3as*~LyX2c=>WBTryf@(hH%$PYmEZG|A0^7fis zV-&xZF?p_2mrn!S2@pB*&TT?-=hH#ba7d?-uw3}lVTE)zs>ZE6M74K-+?h@@K20Di zq`F?8^QDL2;QA*DMYoAPQ&E-Kt`=+u+^x@P)-R~~X19q?e5Abt?y$j6f6fb#73+LT zzN~<`=v7Y<1E07?oOe9}Ja73yecl07Nh8d zTi}UP3j{grWrb1zk00EJtH3b>k*+aiI<`cRdlw^Oa7XgkRAI95 z!^Klz0qt})*#5?3xX*>I>EnY;;WQmFkPb@{TY3(JQv+!58f09zYKvx?l?F(4~81&cWy2Ry*vG)BT_J&E9OUn4Qz{kLG%#6_C| zlT>%KFVAg)7!VEPYFSA^RkWd8Y?q%8O2nx6c zk5f-bui3?~Q8gc{W!KCu%MxGzF*Yna!j!_iJZUI7))&=YTWNc$Lbgt<%X(tAq6+FO zjSv9a`Xwu4tM$KrMb6hu^qeRLfF%1?faCuV$JYOdK(uWx2ZR{M*8+Q}6(nZ4QU#!J zu%Un__36Qq_X7%}O@)NN^$7-$#65PeI8TBU?aTHjOzq69U^!q<4F!8t@{TgyY49Wm gh~(S;<+oEOI<3t&+RiXT!Kh=u>3?fW|1 \ No newline at end of file diff --git a/charting_library/bundles/cab55de6e22849402b5982a8e390c8fb.svg b/charting_library/bundles/cab55de6e22849402b5982a8e390c8fb.svg new file mode 100644 index 00000000..918c4fc8 --- /dev/null +++ b/charting_library/bundles/cab55de6e22849402b5982a8e390c8fb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/cbd8834b7f336d8d6aa529e87ea89c5d.svg b/charting_library/bundles/cbd8834b7f336d8d6aa529e87ea89c5d.svg new file mode 100644 index 00000000..14ec52cf --- /dev/null +++ b/charting_library/bundles/cbd8834b7f336d8d6aa529e87ea89c5d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/cc72d282b465b57676eca56e46cf1e8c.svg b/charting_library/bundles/cc72d282b465b57676eca56e46cf1e8c.svg new file mode 100644 index 00000000..a0302715 --- /dev/null +++ b/charting_library/bundles/cc72d282b465b57676eca56e46cf1e8c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ccac1949542b285e1ce6a4fe7f67d942.svg b/charting_library/bundles/ccac1949542b285e1ce6a4fe7f67d942.svg new file mode 100644 index 00000000..a5813109 --- /dev/null +++ b/charting_library/bundles/ccac1949542b285e1ce6a4fe7f67d942.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/cd8614eed2c9ecd0111030d6ae43b07c.svg b/charting_library/bundles/cd8614eed2c9ecd0111030d6ae43b07c.svg new file mode 100644 index 00000000..52e1561f --- /dev/null +++ b/charting_library/bundles/cd8614eed2c9ecd0111030d6ae43b07c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/cddf3ae477d555d4eed060347c2268eb.svg b/charting_library/bundles/cddf3ae477d555d4eed060347c2268eb.svg new file mode 100644 index 00000000..ee04f3b2 --- /dev/null +++ b/charting_library/bundles/cddf3ae477d555d4eed060347c2268eb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/cddf468f55cf701e442982e83f9a67f6.woff2 b/charting_library/bundles/cddf468f55cf701e442982e83f9a67f6.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..ebfb832d0025a0afd8d45022156a94188919c83e GIT binary patch literal 20060 zcmV)4K+3;&Pew8T0RR9108U&05C8xG0NV@z08RP;0{}t*00000000000000000000 z0000Rfsh6UU;u?C2q+1Ha}g8@fyrQjvQZMZBmp)8Bm;_Y3x!|+1Rw>57zZE>fj1k7 z%O{L>yC+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mGOG>_cdS)U$mV(2=eIW9i z>_)pp^zJ9Q_ly<-M92M`^d1V#vZR%0_ab`qnWuo2l9F5{AmrKe9yt%z*)i^Y#rFl+ z@E!SHjok(4+M`%hi0b@39g+ij-gSUd%zau!9&g5uqg>}Qb_4gQG~?DkLt5y5RzP0z zVuV{f9f9ri-&5Ccb_waq+0WBAIyHEW$f;pK{!g_=+~Eis?T+{r2P*B^)A;D~!E?5MVqd=?V)&&A7~Mr{i9El`X0-j(+h_s&vcmBg5U;2tA09Ty$blu=yZ zu`G{{6~)I$*TX=M(}D~E5d#jus-4mlvGAz{7-B)X%r;U3zo51C*iqDGR$+~ zeDRp*J86VD#>EmiJ~GxZFoH(Q1dfIT9yN*JV~x~8+jHKX7sTFC!8o`RQXdZPk*O!b zJ!*Askn8PHpC^QKFQAYG=z~2z@tJD(mhI<0>)~b}Qcu6eJ%|26U#`+8Ju%utRWy5< zzPG3QzVf)IUcc_0^qe9 zB4nMge~ui>op788Z+|3?mHX#H%j}PmbZ~z(fhSIk?2rB1p5>@{Z~uN2^^qC~E0Mo- zz$IUx6fx-x39v%83hddj>je0eGsV;9!Ix4%rQu}iCH<79h+|7X=ZF)UvA950M^{BM zDkb)px}ou_6Z$-0-xmHqhhR5}%_Xj-WDb)8v{wThNJRKHrgF7j`E0D{|%R!7Fczi~tK62rxVF7f`gMcxZ5mgjc|pD97!o2p6A2NrXct zf^##H<03CE9zjit|7t9xq^Lq_>_yO(PwV%f4*VA2uk81cKGpiI^ecZ;Kl&S60RR91 D^m(mD literal 0 HcmV?d00001 diff --git a/charting_library/bundles/cec10b6e9e7839abaff324919dae8402.webp b/charting_library/bundles/cec10b6e9e7839abaff324919dae8402.webp new file mode 100644 index 0000000000000000000000000000000000000000..03a31f1c047d1c15b86e7b88c72691a569deb830 GIT binary patch literal 31276 zcmb@tb980jvo9L6lg^H9+qP}nwr$(C?WEH&JGN~*9rNY;J8ztE-nr-9d+xjMpFLL9 zthHy&T2-IIURzN@RFv2g2uMvtP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cb03e0a2105caec8909eb.svg b/charting_library/bundles/cf8abee42c4cb03e0a2105caec8909eb.svg new file mode 100644 index 00000000..bb911ad4 --- /dev/null +++ b/charting_library/bundles/cf8abee42c4cb03e0a2105caec8909eb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/change-interval-dialog.79c9929e7fd0b7e6c245.js b/charting_library/bundles/change-interval-dialog.79c9929e7fd0b7e6c245.js new file mode 100644 index 00000000..091dc98e --- /dev/null +++ b/charting_library/bundles/change-interval-dialog.79c9929e7fd0b7e6c245.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2077],{21103:e=>{e.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:e=>{e.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:e=>{e.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},86605:e=>{e.exports={dialog:"dialog-LHVt4Nih",dialogInner:"dialogInner-LHVt4Nih",titleWrapper:"titleWrapper-LHVt4Nih",title:"title-LHVt4Nih",infoHint:"infoHint-LHVt4Nih",form:"form-LHVt4Nih",inputWrapper:"inputWrapper-LHVt4Nih",input:"input-LHVt4Nih",hint:"hint-LHVt4Nih",error:"error-LHVt4Nih"}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>o});const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>y,InputClasses:()=>f});var o=n(59496),r=n(97754),i=n(88537),s=n(66092),l=n(90186),a=n(86332),u=n(95604);var c=n(21103),d=n.n(c);function p(e){let t="";return 0!==e&&(1&e&&(t=r(t,d()["no-corner-top-left"])),2&e&&(t=r(t,d()["no-corner-top-right"])),4&e&&(t=r(t,d()["no-corner-bottom-right"])),8&e&&(t=r(t,d()["no-corner-bottom-left"]))),t}function h(e,t,n,o){const{removeRoundBorder:i,className:s,intent:l="default",borderStyle:a="thin",size:c,highlight:h,disabled:g,readonly:f,stretch:m,noReadonlyStyles:v,isFocused:y}=e,w=p(null!=i?i:(0,u.getGroupCellRemoveRoundBorders)(n)) +;return r(d().container,d()["intent-"+l],d()["border-"+a],c&&d()["size-"+c],w,h&&d()["with-highlight"],g&&d().disabled,f&&!v&&d().readonly,y&&d().focused,m&&d().stretch,t&&d().grouped,!o&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],s)}function g(e,t){const{highlight:n,highlightRemoveRoundBorder:o}=e;if(!n)return d().highlight;const i=p(null!=o?o:(0,u.getGroupCellRemoveRoundBorders)(t));return r(d().highlight,d().shown,i)}const f={FontSizeMedium:(0,i.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,i.ensureDefined)(d()["font-size-large"])},m={passive:!1};function v(e,t){const{id:n,role:r,onFocus:i,onBlur:u,onMouseOver:c,onMouseOut:d,onMouseDown:p,onMouseUp:f,onKeyDown:v,onClick:y,tabIndex:w,startSlot:C,middleSlot:b,endSlot:S,onWheel:E,onWheelNoPassive:x=null}=e,{isGrouped:M,cellState:N,disablePositionAdjustment:_=!1}=(0,o.useContext)(a.ControlGroupContext),I=function(e,t=null,n){const r=(0,o.useRef)(null),i=(0,o.useRef)(null),s=(0,o.useCallback)(()=>{if(null===r.current||null===i.current)return;const[e,t,n]=i.current;null!==t&&r.current.addEventListener(e,t,n)},[]),l=(0,o.useCallback)(()=>{if(null===r.current||null===i.current)return;const[e,t,n]=i.current;null!==t&&r.current.removeEventListener(e,t,n)},[]),a=(0,o.useCallback)(e=>{l(),r.current=e,s()},[]);return(0,o.useEffect)(()=>(i.current=[e,t,n],s(),l),[e,t,n]),a}("wheel",x,m);return o.createElement("span",{id:n,role:r,className:h(e,M,N,_),tabIndex:w,ref:(0,s.useMergedRefs)([t,I]),onFocus:i,onBlur:u,onMouseOver:c,onMouseOut:d,onMouseDown:p,onMouseUp:f,onKeyDown:v,onClick:y,onWheel:E,...(0,l.filterDataProps)(e),...(0,l.filterAriaProps)(e)},C,b,S,o.createElement("span",{className:g(e,N)}))}v.displayName="ControlSkeleton";const y=o.forwardRef(v)},78274:(e,t,n)=>{"use strict";n.d(t,{BeforeSlot:()=>l,StartSlot:()=>a,MiddleSlot:()=>u,EndSlot:()=>c,AfterSlot:()=>d});var o=n(59496),r=n(97754),i=n(10306),s=n.n(i);function l(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["before-slot"],t)},n)}function a(e){const{className:t,interactive:n=!0,icon:i=!1,children:l}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,i&&s().icon,t)},l)}function u(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["inner-slot"],s()["inner-middle-slot"],t)},n)}function c(e){const{className:t,interactive:n=!0,icon:i=!1,children:l}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,i&&s().icon,t)},l)}function d(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>y});var o=n(59496),r=n(97754),i=n(90186),s=n(47201),l=n(48907),a=n(66092),u=n(48027),c=n(29202),d=n(45812),p=n(67029),h=n(78274),g=n(66579),f=n.n(g);function m(e){return!(0,i.isAriaAttribute)(e)&&!(0,i.isDataAttribute)(e)}function v(e){ +const{id:t,title:n,role:s,tabIndex:l,placeholder:a,name:u,type:c,value:d,defaultValue:g,draggable:v,autoComplete:y,autoFocus:w,maxLength:C,min:b,max:S,step:E,pattern:x,inputMode:M,onSelect:N,onFocus:_,onBlur:I,onKeyDown:D,onKeyUp:L,onKeyPress:R,onChange:O,onDragStart:j,size:k="medium",className:W,inputClassName:F,disabled:A,readonly:H,containerTabIndex:V,startSlot:z,endSlot:P,reference:B,containerReference:T,onContainerFocus:U,...G}=e,K=(0,i.filterProps)(G,m),q={...(0,i.filterAriaProps)(G),...(0,i.filterDataProps)(G),id:t,title:n,role:s,tabIndex:l,placeholder:a,name:u,type:c,value:d,defaultValue:g,draggable:v,autoComplete:y,autoFocus:w,maxLength:C,min:b,max:S,step:E,pattern:x,inputMode:M,onSelect:N,onFocus:_,onBlur:I,onKeyDown:D,onKeyUp:L,onKeyPress:R,onChange:O,onDragStart:j};return o.createElement(p.ControlSkeleton,{...K,disabled:A,readonly:H,tabIndex:V,className:r(f().container,W),size:k,ref:T,onFocus:U,startSlot:z,middleSlot:o.createElement(h.MiddleSlot,null,o.createElement("input",{...q,className:r(f().input,F,z&&f()["with-start-slot"],P&&f()["with-end-slot"]),disabled:A,readOnly:H,ref:B})),endSlot:P})}function y(e){e=(0,u.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:i,onBlur:p,reference:h,containerReference:g=null}=e,f=(0,o.useRef)(null),m=(0,o.useRef)(null),[y,w]=(0,c.useFocus)(),C=t?void 0:y?-1:r,b=t?void 0:y?r:-1,{isMouseDown:S,handleMouseDown:E,handleMouseUp:x}=(0,d.useIsMouseDown)(),M=(0,s.createSafeMulticastEventHandler)(w.onFocus,(function(e){n&&!S.current&&(0,l.selectAllContent)(e.currentTarget)}),i),N=(0,s.createSafeMulticastEventHandler)(w.onBlur,p),_=(0,o.useCallback)(e=>{f.current=e,h&&("function"==typeof h&&h(e),"object"==typeof h&&(h.current=e))},[f,h]);return o.createElement(v,{...e,isFocused:y,containerTabIndex:C,tabIndex:b,onContainerFocus:function(e){m.current===e.target&&null!==f.current&&f.current.focus()},onFocus:M,onBlur:N,reference:_,containerReference:(0,a.useMergedRefs)([m,g]),onMouseDown:E,onMouseUp:x})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>i});var o=n(47201),r=n(29202);function i(e){const{onFocus:t,onBlur:n,intent:i,highlight:s,disabled:l}=e,[a,u]=(0,r.useFocus)(void 0,l),c=(0,o.createSafeMulticastEventHandler)(l?void 0:u.onFocus,t),d=(0,o.createSafeMulticastEventHandler)(l?void 0:u.onBlur,n);return{...e,intent:i||(a?"primary":"default"),highlight:null!=s?s:a,onFocus:c,onBlur:d}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(59496);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t&&n&&r(!1)},[t,n]);const i={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,i]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(59496);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)(()=>{e.current=!0},[e]),n=(0,o.useCallback)(()=>{e.current=!1},[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},66092:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>r}) +;var o=n(59496);function r(e){return(0,o.useCallback)(function(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(e),e)}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r});var o=n(59496);const r=o.forwardRef((e,t)=>{const{icon:n="",...r}=e;return o.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:n}})})},90186:(e,t,n)=>{"use strict";function o(e){return i(e,s)}function r(e){return i(e,l)}function i(e,t){const n=Object.entries(e).filter(t),o={};for(const[e,t]of n)o[e]=t;return o}function s(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,{filterDataProps:()=>o,filterAriaProps:()=>r,filterProps:()=>i,isDataAttribute:()=>s,isAriaAttribute:()=>l})},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},47201:(e,t,n)=>{"use strict";function o(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>o})},30349:(e,t,n)=>{"use strict";n.r(t),n.d(t,{showChangeIntervalDialog:()=>E});var o=n(59496),r=n(87995),i=n(97754),s=n.n(i),l=n(28353),a=n(31261),u=n(67029),c=n(82992),d=n(81e3),p=n(9745),h=n(60495);const g=(0,l.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)"),f=(0,l.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 m(e){const{className:t,isSecondsEnabled:n}=e;return o.createElement(p.Icon,{icon:h,className:s()("apply-common-tooltip",t),title:n?f:g})}var v=n(38318),y=n(9315);var w=n(29823),C=n(86605);function b(e){const{initVal:t,selectOnInit:n,onClose:r}=e,i=(0,o.useRef)(null),[p,h]=(0,o.useState)(t.toUpperCase()),g=(0,o.useMemo)(()=>(0,v.parseIntervalValue)(p),[p]),f=function(e,t){return(0,o.useMemo)(()=>{let n=!t.error&&(0,v.intervalIsSupported)(e);if(!n)return!1;const o=t.unit;if("R"===o&&t.qty>(0,y.getMaxResolutionValue)("R"))n=!1;else if(null===o||"H"===o){t.qty*("H"===o?60:1)>(0,y.getMaxResolutionValue)("1")&&(n=!1)}else"S"===o?t.qty>(0,y.getMaxResolutionValue)("S")&&(n=!1):"T"===o&&1!==t.qty&&(n=!1);return n},[e,t])}(p,g),b=(0,o.useMemo)(()=>{if(!f)return null;const e=g.qty+(g.unit||"");return(0,y.getTranslatedResolutionModel)(e).hint},[f,g]);return(0,o.useLayoutEffect)(()=>{var e,t;n?null===(e=i.current)||void 0===e||e.select():null===(t=i.current)||void 0===t||t.focus()},[n]),o.createElement(d.PopupDialog,{className:C.dialog,"data-dialog-name":"change-interval-dialog",isOpened:!0,onClickOutside:r,onFocus:function(){var e;null===(e=i.current)||void 0===e||e.focus()},onKeyDown:function(e){27===e.keyCode&&(null==r||r())}},o.createElement("div",{className:C.dialogInner},o.createElement("div",{className:C.titleWrapper +},o.createElement("div",{className:C.title},(0,l.t)("Change interval")),o.createElement(m,{className:C.infoHint,isSecondsEnabled:(0,y.isSecondsEnabled)()})),o.createElement("form",{className:C.form,onSubmit:function(e){e.preventDefault();const t=c.linking.interval.value(),n=w.Interval.normalize(p);n&&t!==n&&f&&(o=n,(0,y.setLastUsedResolution)(o),c.linking.interval.setValue(o));var o;null==r||r()}},o.createElement(a.InputControl,{className:s()(C.inputWrapper,u.InputClasses.FontSizeLarge),inputClassName:C.input,type:"text",size:"large",reference:i,value:p,maxLength:8,intent:f?void 0:"danger",onChange:function(e){const{value:t}=e.target;h(t.toUpperCase())}})),f?o.createElement("div",{className:C.hint},b):o.createElement("div",{className:s()(C.hint,C.error)},(0,l.t)("Not applicable"))))}var S=n(51826);function E(e){if(S.dialogsOpenerManager.isOpened("ChangeIntervalDialog")||S.dialogsOpenerManager.isOpened("SymbolSearch"))return;const t=document.createElement("div"),{initVal:n,selectOnInit:i,onClose:s}=e,l=o.createElement(b,{initVal:n,selectOnInit:i,onClose:function(){r.unmountComponentAtNode(t),S.dialogsOpenerManager.setAsClosed("ChangeIntervalDialog"),null==s||s()}});r.render(l,t),S.dialogsOpenerManager.setAsOpened("ChangeIntervalDialog")}},39640:(e,t,n)=>{"use strict";function o(e,t,n,o,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==n&&null!==t&&null!==i&&i.ownerDocument===o&&(t.contains(i)||n(r))}return r.click&&o.addEventListener("click",i,!1),r.mouseDown&&o.addEventListener("mousedown",i,!1),r.touchEnd&&o.addEventListener("touchend",i,!1),r.touchStart&&o.addEventListener("touchstart",i,!1),()=>{o.removeEventListener("click",i,!1),o.removeEventListener("mousedown",i,!1),o.removeEventListener("touchend",i,!1),o.removeEventListener("touchstart",i,!1)}}n.d(t,{addOutsideEventListener:()=>o})},68722:(e,t,n)=>{"use strict";n.d(t,{getScrollbarWidth:()=>o,matchMediaMinMax:()=>r,setStyle:()=>i,getCSSProperty:()=>s,getCSSPropertyNumericValue:()=>l});const o=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),o=n.style;o.visibility="hidden",o.width="100px",o.msOverflowStyle="scrollbar",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",n.appendChild(i);const s=i.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=r-s}return e}})();function r(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function i(e,t,n){null!==e&&e.style.setProperty(t,n)}function s(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function l(e,t){return parseInt(s(e,t))}},43989:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>s});var o=n(68722);let r=0,i=!1;function s(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++r){const e=(0,o.getCSSProperty)(t,"overflow"),r=(0,o.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0, +o.setStyle)(n,"right",(0,o.getScrollbarWidth)()+"px"),t.style.paddingRight=r+(0,o.getScrollbarWidth)()+"px",i=!0),t.classList.add("i-no-scroll")}else if(!e&&r>0&&0==--r&&(t.classList.remove("i-no-scroll"),i)){(0,o.setStyle)(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,o.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",i=!1}}},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>o,dialogsOpenerManager:()=>r});class o{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 r=new o},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>i});var o=n(59496),r=n(39640);function i(e){const{click:t,mouseDown:n,touchEnd:i,touchStart:s,handler:l,reference:a,ownerDocument:u=document}=e,c=(0,o.useRef)(null),d=(0,o.useRef)(new CustomEvent("timestamp").timeStamp);return(0,o.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:i,touchStart:s},o=a?a.current:c.current;return(0,r.addOutsideEventListener)(d.current,o,l,u,e)},[t,n,i,s,l]),a||c}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>r});var o=n(58095);function r(e){const{children:t,...n}=e;return t((0,o.useOutsideEvent)(n))}},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>i,getRootOverlapManager:()=>l});var o=n(88537);class r{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 r,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 o=this._document.createElement("div");if(o.style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(o);else if(t.index<=0)this._container.insertBefore(o,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(o,e)}}else"reverse"===t.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(e,o),++this._index,o}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 l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,o.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}}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>i});var o=n(59496),r=n(65718);function i(e){return class extends o.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const i=o.createElement(e,{...this.props,zIndex:150});return"parent"===n?i:o.createElement(r.Portal,null,i)}}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>u});var o=n(59496),r=n(87995),i=n(9423),s=n(88216),l=n(50655);class a extends o.PureComponent{constructor(){super(...arguments),this._uuid=(0,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||"",r.createPortal(o.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,s.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const u=o.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>r,SlotContext:()=>i});var o=n(59496);class r extends o.Component{shouldComponentUpdate(){return!1}render(){return o.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const i=o.createContext(null)},60495:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/change-interval-dialog.d42e666ed16322d7bc67.js b/charting_library/bundles/change-interval-dialog.d42e666ed16322d7bc67.js deleted file mode 100644 index 64f7a279..00000000 --- a/charting_library/bundles/change-interval-dialog.d42e666ed16322d7bc67.js +++ /dev/null @@ -1,7 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2077],{21103:e=>{e.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:e=>{e.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:e=>{e.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},86605:e=>{e.exports={dialog:"dialog-LHVt4Nih",dialogInner:"dialogInner-LHVt4Nih",titleWrapper:"titleWrapper-LHVt4Nih",title:"title-LHVt4Nih",infoHint:"infoHint-LHVt4Nih",form:"form-LHVt4Nih",inputWrapper:"inputWrapper-LHVt4Nih",input:"input-LHVt4Nih",hint:"hint-LHVt4Nih",error:"error-LHVt4Nih"}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>o});const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>y,InputClasses:()=>f});var o=n(59496),r=n(97754),i=n(88537),s=n(66092),l=n(90186),a=n(86332),u=n(95604);var c=n(21103),d=n.n(c);function p(e){let t="";return 0!==e&&(1&e&&(t=r(t,d()["no-corner-top-left"])),2&e&&(t=r(t,d()["no-corner-top-right"])),4&e&&(t=r(t,d()["no-corner-bottom-right"])),8&e&&(t=r(t,d()["no-corner-bottom-left"]))),t}function g(e,t,n,o){const{removeRoundBorder:i,className:s,intent:l="default",borderStyle:a="thin",size:c,highlight:g,disabled:h,readonly:f,stretch:m,noReadonlyStyles:v,isFocused:y}=e,w=p(null!=i?i:(0,u.getGroupCellRemoveRoundBorders)(n)) -;return r(d().container,d()["intent-"+l],d()["border-"+a],c&&d()["size-"+c],w,g&&d()["with-highlight"],h&&d().disabled,f&&!v&&d().readonly,y&&d().focused,m&&d().stretch,t&&d().grouped,!o&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],s)}function h(e,t){const{highlight:n,highlightRemoveRoundBorder:o}=e;if(!n)return d().highlight;const i=p(null!=o?o:(0,u.getGroupCellRemoveRoundBorders)(t));return r(d().highlight,d().shown,i)}const f={FontSizeMedium:(0,i.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,i.ensureDefined)(d()["font-size-large"])},m={passive:!1};function v(e,t){const{id:n,role:r,onFocus:i,onBlur:u,onMouseOver:c,onMouseOut:d,onMouseDown:p,onMouseUp:f,onKeyDown:v,onClick:y,tabIndex:w,startSlot:C,middleSlot:b,endSlot:E,onWheel:x,onWheelNoPassive:S=null}=e,{isGrouped:M,cellState:_,disablePositionAdjustment:N=!1}=(0,o.useContext)(a.ControlGroupContext),D=function(e,t=null,n){const r=(0,o.useRef)(null),i=(0,o.useRef)(null),s=(0,o.useCallback)(()=>{if(null===r.current||null===i.current)return;const[e,t,n]=i.current;null!==t&&r.current.addEventListener(e,t,n)},[]),l=(0,o.useCallback)(()=>{if(null===r.current||null===i.current)return;const[e,t,n]=i.current;null!==t&&r.current.removeEventListener(e,t,n)},[]),a=(0,o.useCallback)(e=>{l(),r.current=e,s()},[]);return(0,o.useEffect)(()=>(i.current=[e,t,n],s(),l),[e,t,n]),a}("wheel",S,m);return o.createElement("span",{id:n,role:r,className:g(e,M,_,N),tabIndex:w,ref:(0,s.useMergedRefs)([t,D]),onFocus:i,onBlur:u,onMouseOver:c,onMouseOut:d,onMouseDown:p,onMouseUp:f,onKeyDown:v,onClick:y,onWheel:x,...(0,l.filterDataProps)(e),...(0,l.filterAriaProps)(e)},C,b,E,o.createElement("span",{className:h(e,_)}))}v.displayName="ControlSkeleton";const y=o.forwardRef(v)},78274:(e,t,n)=>{"use strict";n.d(t,{StartSlot:()=>l,MiddleSlot:()=>a,EndSlot:()=>u,AfterSlot:()=>c});var o=n(59496),r=n(97754),i=n(10306),s=n.n(i);function l(e){const{className:t,interactive:n=!0,icon:i=!1,children:l}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,i&&s().icon,t)},l)}function a(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["inner-slot"],s()["inner-middle-slot"],t)},n)}function u(e){const{className:t,interactive:n=!0,icon:i=!1,children:l}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,i&&s().icon,t)},l)}function c(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>y});var o=n(59496),r=n(97754),i=n(90186),s=n(47201),l=n(48907),a=n(66092),u=n(48027),c=n(29202),d=n(45812),p=n(67029),g=n(78274),h=n(66579),f=n.n(h);function m(e){return!(0,i.isAriaAttribute)(e)&&!(0,i.isDataAttribute)(e)}function v(e){ -const{id:t,title:n,role:s,tabIndex:l,placeholder:a,name:u,type:c,value:d,defaultValue:h,draggable:v,autoComplete:y,autoFocus:w,maxLength:C,min:b,max:E,step:x,pattern:S,inputMode:M,onSelect:_,onFocus:N,onBlur:D,onKeyDown:I,onKeyUp:L,onKeyPress:R,onChange:O,onDragStart:j,size:k="medium",className:F,inputClassName:A,disabled:H,readonly:W,containerTabIndex:V,startSlot:z,endSlot:B,reference:P,containerReference:T,onContainerFocus:U,...G}=e,K=(0,i.filterProps)(G,m),q={...(0,i.filterAriaProps)(G),...(0,i.filterDataProps)(G),id:t,title:n,role:s,tabIndex:l,placeholder:a,name:u,type:c,value:d,defaultValue:h,draggable:v,autoComplete:y,autoFocus:w,maxLength:C,min:b,max:E,step:x,pattern:S,inputMode:M,onSelect:_,onFocus:N,onBlur:D,onKeyDown:I,onKeyUp:L,onKeyPress:R,onChange:O,onDragStart:j};return o.createElement(p.ControlSkeleton,{...K,disabled:H,readonly:W,tabIndex:V,className:r(f().container,F),size:k,ref:T,onFocus:U,startSlot:z,middleSlot:o.createElement(g.MiddleSlot,null,o.createElement("input",{...q,className:r(f().input,A,z&&f()["with-start-slot"],B&&f()["with-end-slot"]),disabled:H,readOnly:W,ref:P})),endSlot:B})}function y(e){e=(0,u.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:i,onBlur:p,reference:g,containerReference:h=null}=e,f=(0,o.useRef)(null),m=(0,o.useRef)(null),[y,w]=(0,c.useFocus)(),C=t?void 0:y?-1:r,b=t?void 0:y?r:-1,{isMouseDown:E,handleMouseDown:x,handleMouseUp:S}=(0,d.useIsMouseDown)(),M=(0,s.createSafeMulticastEventHandler)(w.onFocus,(function(e){n&&!E.current&&(0,l.selectAllContent)(e.currentTarget)}),i),_=(0,s.createSafeMulticastEventHandler)(w.onBlur,p),N=(0,o.useCallback)(e=>{f.current=e,g&&("function"==typeof g&&g(e),"object"==typeof g&&(g.current=e))},[f,g]);return o.createElement(v,{...e,isFocused:y,containerTabIndex:C,tabIndex:b,onContainerFocus:function(e){m.current===e.target&&null!==f.current&&f.current.focus()},onFocus:M,onBlur:_,reference:N,containerReference:(0,a.useMergedRefs)([m,h]),onMouseDown:x,onMouseUp:S})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>i});var o=n(47201),r=n(29202);function i(e){const{onFocus:t,onBlur:n,intent:i,highlight:s,disabled:l}=e,[a,u]=(0,r.useFocus)(void 0,l),c=(0,o.createSafeMulticastEventHandler)(l?void 0:u.onFocus,t),d=(0,o.createSafeMulticastEventHandler)(l?void 0:u.onBlur,n);return{...e,intent:i||(a?"primary":"default"),highlight:null!=s?s:a,onFocus:c,onBlur:d}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(59496);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t&&n&&r(!1)},[t,n]);const i={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,i]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(59496);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)(()=>{e.current=!0},[e]),n=(0,o.useCallback)(()=>{e.current=!1},[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},66092:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>r}) -;var o=n(59496);function r(e){return(0,o.useCallback)(function(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(e),e)}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r});var o=n(59496);const r=o.forwardRef((e,t)=>{const{icon:n="",...r}=e;return o.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:n}})})},90186:(e,t,n)=>{"use strict";function o(e){return i(e,s)}function r(e){return i(e,l)}function i(e,t){const n=Object.entries(e).filter(t),o={};for(const[e,t]of n)o[e]=t;return o}function s(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,{filterDataProps:()=>o,filterAriaProps:()=>r,filterProps:()=>i,isDataAttribute:()=>s,isAriaAttribute:()=>l})},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},47201:(e,t,n)=>{"use strict";function o(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>o})},30349:(e,t,n)=>{"use strict";n.r(t),n.d(t,{showChangeIntervalDialog:()=>x});var o=n(59496),r=n(87995),i=n(97754),s=n.n(i),l=n(28353),a=n(31261),u=n(67029),c=n(82992),d=n(63016),p=n(9745),g=n(60495);const h=(0,l.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)"),f=(0,l.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 m(e){const{className:t,isSecondsEnabled:n}=e;return o.createElement(p.Icon,{icon:g,className:s()("apply-common-tooltip",t),title:n?f:h})}var v=n(38318),y=n(9315);var w=n(29823),C=n(86605);function b(e){const{initVal:t,selectOnInit:n,onClose:r}=e,i=(0,o.useRef)(null),[p,g]=(0,o.useState)(t.toUpperCase()),h=(0,o.useMemo)(()=>(0,v.parseIntervalValue)(p),[p]),f=function(e,t){return(0,o.useMemo)(()=>{let n=!t.error&&(0,v.intervalIsSupported)(e);if(!n)return!1;const o=t.unit;if("R"===o&&t.qty>(0,y.getMaxResolutionValue)("R"))n=!1;else if(null===o||"H"===o){t.qty*("H"===o?60:1)>(0,y.getMaxResolutionValue)("1")&&(n=!1)}else"S"===o?t.qty>(0,y.getMaxResolutionValue)("S")&&(n=!1):"T"===o&&1!==t.qty&&(n=!1);return n},[e,t])}(p,h),b=(0,o.useMemo)(()=>{if(!f)return null;const e=h.qty+(h.unit||"");return(0,y.getTranslatedResolutionModel)(e).hint},[f,h]);return(0,o.useLayoutEffect)(()=>{var e,t;n?null===(e=i.current)||void 0===e||e.select():null===(t=i.current)||void 0===t||t.focus()},[n]),o.createElement(d.PopupDialog,{className:C.dialog,"data-dialog-name":"change-interval-dialog",isOpened:!0,onClickOutside:r,onFocus:function(){var e;null===(e=i.current)||void 0===e||e.focus()},onKeyDown:function(e){27===e.keyCode&&(null==r||r())}},o.createElement("div",{className:C.dialogInner},o.createElement("div",{className:C.titleWrapper -},o.createElement("div",{className:C.title},(0,l.t)("Change interval")),o.createElement(m,{className:C.infoHint,isSecondsEnabled:(0,y.isSecondsEnabled)()})),o.createElement("form",{className:C.form,onSubmit:function(e){e.preventDefault();const t=c.linking.interval.value(),n=w.Interval.normalize(p);n&&t!==n&&f&&(o=n,(0,y.setLastUsedResolution)(o),c.linking.interval.setValue(o));var o;null==r||r()}},o.createElement(a.InputControl,{className:s()(C.inputWrapper,u.InputClasses.FontSizeLarge),inputClassName:C.input,type:"text",size:"large",reference:i,value:p,maxLength:8,intent:f?void 0:"danger",onChange:function(e){const{value:t}=e.target;g(t.toUpperCase())}})),f?o.createElement("div",{className:C.hint},b):o.createElement("div",{className:s()(C.hint,C.error)},(0,l.t)("Not applicable"))))}var E=n(51826);function x(e){if(E.dialogsOpenerManager.isOpened("ChangeIntervalDialog")||E.dialogsOpenerManager.isOpened("SymbolSearch"))return;const t=document.createElement("div"),{initVal:n,selectOnInit:i,onClose:s}=e,l=o.createElement(b,{initVal:n,selectOnInit:i,onClose:function(){r.unmountComponentAtNode(t),E.dialogsOpenerManager.setAsClosed("ChangeIntervalDialog"),null==s||s()}});r.render(l,t),E.dialogsOpenerManager.setAsOpened("ChangeIntervalDialog")}},39640:(e,t,n)=>{"use strict";function o(e,t,n,o,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==n&&null!==t&&null!==i&&i.ownerDocument===o&&(t.contains(i)||n(r))}return r.click&&o.addEventListener("click",i,!1),r.mouseDown&&o.addEventListener("mousedown",i,!1),r.touchEnd&&o.addEventListener("touchend",i,!1),r.touchStart&&o.addEventListener("touchstart",i,!1),()=>{o.removeEventListener("click",i,!1),o.removeEventListener("mousedown",i,!1),o.removeEventListener("touchend",i,!1),o.removeEventListener("touchstart",i,!1)}}n.d(t,{addOutsideEventListener:()=>o})},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const o=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),o=n.style;o.visibility="hidden",o.width="100px",o.msOverflowStyle="scrollbar",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",n.appendChild(i);const s=i.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=r-s}return e}})();function r(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function s(e,t){return parseInt(i(e,t))}let l=0,a=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++l){const e=i(t,"overflow"),l=s(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(r(n,"right",o()+"px"),t.style.paddingRight=l+o()+"px",a=!0),t.classList.add("i-no-scroll")}else if(!e&&l>0&&0==--l&&(t.classList.remove("i-no-scroll"),a)){r(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=o()),t.style.paddingRight=(e<0?0:e)+"px",a=!1}}},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>o,dialogsOpenerManager:()=>r});class o{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 r=new o},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>i});var o=n(59496),r=n(39640);function i(e){const{click:t,mouseDown:n,touchEnd:i,touchStart:s,handler:l,reference:a,ownerDocument:u=document}=e,c=(0,o.useRef)(null),d=(0,o.useRef)(new CustomEvent("timestamp").timeStamp);return(0,o.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:i,touchStart:s},o=a?a.current:c.current;return(0,r.addOutsideEventListener)(d.current,o,l,u,e)},[t,n,i,s,l]),a||c}},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>i,getRootOverlapManager:()=>l});var o=n(88537);class r{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 r,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 o=this._document.createElement("div");if(o.style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(o);else if(t.index<=0)this._container.insertBefore(o,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(o,e)}}else"reverse"===t.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(e,o),++this._index,o}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 l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,o.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}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>u});var o=n(59496),r=n(87995),i=n(9423),s=n(88216),l=n(50655);class a extends o.PureComponent{constructor(){ -super(...arguments),this._uuid=(0,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||"",r.createPortal(o.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,s.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const u=o.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>r,SlotContext:()=>i});var o=n(59496);class r extends o.Component{shouldComponentUpdate(){return!1}render(){return o.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const i=o.createContext(null)},60495:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/change-plan-dialog-impl.010252ca2577d034ddb4.js b/charting_library/bundles/change-plan-dialog-impl.010252ca2577d034ddb4.js new file mode 100644 index 00000000..95c5e3d6 --- /dev/null +++ b/charting_library/bundles/change-plan-dialog-impl.010252ca2577d034ddb4.js @@ -0,0 +1,9 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1566],{2742:e=>{e.exports={body:"body-sm3KMBIc"}},13520:e=>{e.exports={header:"header-Dtkdqc5O",close:"close-Dtkdqc5O"}},82561:e=>{e.exports={message:"message-d3vP5HJI",error:"error-d3vP5HJI"}},64402:e=>{e.exports={actions:"actions-9KDBaBYj","hide-btn-text":"hide-btn-text-9KDBaBYj"}},30516:e=>{e.exports={content:"content-X3KKyG5H",checkboxes:"checkboxes-X3KKyG5H"}},69236:e=>{e.exports={"plans-container":"plans-container-GAQ9CocC","plan-box":"plan-box-GAQ9CocC","one-card-layout":"one-card-layout-GAQ9CocC","plan--next":"plan--next-GAQ9CocC","plan--current":"plan--current-GAQ9CocC","plan-box--title":"plan-box--title-GAQ9CocC","plan-box--description":"plan-box--description-GAQ9CocC","plan-box--days-left":"plan-box--days-left-GAQ9CocC",arrow:"arrow-GAQ9CocC"}},29856:e=>{e.exports={"checkbox-wrap":"checkbox-wrap-e1ycFYBm",checkbox:"checkbox-e1ycFYBm","label-p":"label-p-e1ycFYBm"}},35855:e=>{e.exports={dialog:"dialog-xQE4WxzT","change-plan":"change-plan-xQE4WxzT",body:"body-xQE4WxzT","close-button":"close-button-xQE4WxzT"}},82587:e=>{e.exports={"billing-date":"billing-date-EEnD87dn"}},96240:e=>{e.exports={footer:"footer-N3Bb7EMK",separator:"separator-N3Bb7EMK"}},64331:e=>{e.exports={"info-block":"info-block-pdxqWuDM","info-block-title":"info-block-title-pdxqWuDM","info-block-description":"info-block-description-pdxqWuDM"}},37050:e=>{e.exports={total:"total-JkT5MEd7","description-container":"description-container-JkT5MEd7",price:"price-JkT5MEd7",description:"description-JkT5MEd7",title:"title-JkT5MEd7"}},29883:e=>{e.exports={title:"title-iyvXI0en"}},37062:e=>{e.exports={footer:"footer-hDDUbPct"}},55701:(e,n,t)=>{"use strict";t.r(n),t.d(n,{ChangePlanDialog:()=>ve,changePlanDialog:()=>Pe});var a=t(59496),l=t(87995),r=t(97754),o=t(28353),c=t(9423),i=t(88216),s=t(67844),p=t(9182),d=t(3767),u=t(91955);function h(e,n,t,a,l){(0,u.getTracker)().then(r=>{r&&r.trackChangeProPlan(e,n,t,a,l)})}var y=t(33040),m=t(53402);function g(e){const{currency:n,price:t}=e;if("USD"===n)return a.createElement("span",{className:"i-no-break"},"$",(0,m.round2)(t)," ",(0,o.t)("US"));let l=t.toString();return"TVC"===n&&(l=(0,o.t)("{value} coin",{plural:"{value} coins",count:t,replace:{value:t.toString()}})),a.createElement("span",{className:"i-no-break"},l)}var v=t(82587);function f(e){const n=(0,o.t)("Payable on {billing_date}").split(/{billing_date}/);return a.createElement("div",{className:v["billing-date"]},n[0]," ",a.createElement("span",{className:"i-no-break"},e.billingDate))}var P=t(64464),x=t(33666),C=t(19514),b=t(15510);var E=t(7043);function w(e){return(0,o.t)("{daysCount} day",{plural:"{daysCount} days",count:e,replace:{daysCount:e.toString()}})}var T=t(83317),_=t(37050);function M(e){const{type:n,billingCycle:t,current:l,next:r}=e;if(!(l.days_left&&l.pro_plan&&r.days_left&&r.pro_plan&&n!==y.ChangePlanType.TvcoinsUpgrade))return null;const c=(0,m.isTrialProduct)(l.pro_plan),i=c?(0,m.getProductForTrial)(l.pro_plan):l.pro_plan,s=(0, +m.humanizeProPlan)(i,c),p=w(l.days_left),d=(0,m.humanizeProPlan)(r.pro_plan),u=w(r.days_left);let h=(0,o.t)("Your {currentDays} {currentProPlan} convert to {nextDays} of {nextProPlan}",{replace:{currentDays:p,currentProPlan:s,nextDays:u,nextProPlan:d}});return n===y.ChangePlanType.TvcoinsExtend&&(h=(0,o.t)("Your {currentProPlan} extend for a {billingCycle}",{replace:{currentProPlan:s,billingCycle:(0,m.billingCycleToTimeUnit)(t)}})),a.createElement("div",{className:_.description},h)}function k(e){const{currentPayment:n,...t}=e;return a.createElement("div",{className:_.total},a.createElement("div",{className:_["description-container"]},a.createElement("div",{className:_.title},(0,o.t)("Payable today")),a.createElement(M,{...t})),a.createElement("div",{className:_.price},a.createElement(g,{...n})))}function z(e){var n,t,l,r,c;const{nextPayment:i,type:s,productId:p,next:d}=e;let u=new Date(i.date);if(s===y.ChangePlanType.Upgrade||s===y.ChangePlanType.TvcoinsUpgrade||s===y.ChangePlanType.TvcoinsExtend){const e=null!==(n=d.days_left)&&void 0!==n?n:0;u=new Date(Date.now()),u.setDate(u.getDate()+e)}const h=E.dateFormatFunctions["MMM dd, yyyy"](u,!1),v=i.price,w=null!==(l=null===(t=null==v?void 0:v.tax)||void 0===t?void 0:t.tax)&&void 0!==l?l:0,M=0!==w,k=null==i?void 0:i.payment_method_details;let z;k&&(z=null===(r=function(e){const n=e.hint;if("P"===n){const e=(0,o.t)("PayPal account");return{icon:P,hint:e,fullHint:e}}if("A"===n){const e="Apple Pay";return{icon:b,hint:e,fullHint:e}}if("G"===n){const e="Google Pay";return{icon:C,hint:e,fullHint:e}}if(n){const e="*"+n,t=(0,o.t)("card *{paymentHint}",{replace:{paymentHint:n}});return{icon:x,hint:e,fullHint:t}}if(["apple","google"].includes(e.merchant)){const e="Mobile App";return{hint:e,fullHint:e}}return null}(k))||void 0===r?void 0:r.fullHint);const D=s===y.ChangePlanType.TvcoinsExtend||s===y.ChangePlanType.TvcoinsUpgrade,N=(0,m.humanizeProPlan)(p),A=(0,m.getReadableNumericCycle)(e.billingCycle),B=M?".":"";let S=(0,o.t)("{plan} plan ({billingCycle}){point}",{replace:{plan:N,billingCycle:A,point:B}});D&&z&&(S=(0,o.t)("{plan} plan ({billingCycle}), payment method - {paymentMethodHint}{point}",{replace:{plan:N,billingCycle:A,paymentMethodHint:z,point:B}}));const H=null!==(c=null==v?void 0:v.currency)&&void 0!==c?c:"",U=(0,T.getCurrencySign)(H),I=(0,o.t)("Tax included {currencySign}{tax} {currency}").format({tax:(0,m.round2)(w),currency:H,currencySign:U});return a.createElement("div",{className:_.total},a.createElement("div",{className:_["description-container"]},a.createElement(f,{billingDate:h}),a.createElement("div",{className:_.description},S," ",M&&I)),v&&a.createElement("div",{className:_.price},a.createElement(g,{price:v.total,currency:H})))}var D=t(64331),N=t.n(D);function A(e){var n;const{type:t,current:l,next:r}=e,c=void 0===l.pro_plan,i={title:(0,o.t)("You won't be billed today"),description:(0,o.t)("We'll just update the number of days left on your new subscription.")},s={title:(0,o.t)("Your subscription will change on the next billing cycle"),description:(0, +o.t)("We'll switch you onto your new plan after your current one finishes")};let p="";if(l.pro_plan&&l.days_left){const e=(0,m.isTrialProduct)(l.pro_plan),n=e?(0,m.getProductForTrial)(l.pro_plan):l.pro_plan,t=(0,m.humanizeProPlan)(n,e);p=(0,o.t)("Your account has {currentDays} day left in the current {currentProPlan} plan.",{plural:"Your account has {currentDays} days left in the current {currentProPlan} plan.",count:l.days_left,replace:{currentDays:l.days_left.toString(),currentProPlan:t}})}const d=(0,o.t)("We'll convert this remaining time into an equivalent value of days on your new plan.");let u="";if(r.pro_plan&&r.days_left){const e=(0,m.humanizeProPlan)(r.pro_plan);u=(0,o.t)("Your {nextProPlan} plan will have {nextDays} day after the purchase.",{plural:"Your {nextProPlan} plan will have {nextDays} days after the purchase.",count:r.days_left,replace:{nextDays:r.days_left.toString(),nextProPlan:e}})}const h={description:`${p} ${d} ${u}`,title:null},g=null!==(n=r.days_left)&&void 0!==n?n:0,v=new Date(Date.now());v.setDate(v.getDate()+g);const f={title:(0,o.t)("Your subscription will not auto renew"),description:(0,o.t)("You will have access until {date}.",{replace:{date:E.dateFormatFunctions["MMM dd, yyyy"](v,!1)}})},P={[y.ChangePlanType.Downgrade]:s,[y.ChangePlanType.Switch]:s,[y.ChangePlanType.Reactivate]:s,[y.ChangePlanType.Upgrade]:i,[y.ChangePlanType.TvcoinsUpgrade]:c?f:h,[y.ChangePlanType.TvcoinsExtend]:i}[t];return a.createElement("div",{className:N()["info-block"]},P.title&&a.createElement("h3",{className:N()["info-block-title"]},P.title),a.createElement("p",{className:N()["info-block-description"]},P.description))}var B=t(96240);function S(e){const{productData:n,billingCycle:t,current:l,next:r,type:o,nextPayment:c,currentPayment:i}=e,s=o===y.ChangePlanType.Upgrade||o===y.ChangePlanType.TvcoinsUpgrade||o===y.ChangePlanType.TvcoinsExtend,p=null!=c,d=o!==y.ChangePlanType.TvcoinsExtend;return a.createElement("div",{className:B.footer},s&&a.createElement(k,{currentPayment:i,current:l,next:r,billingCycle:t,type:o}),s&&p&&a.createElement("div",{className:B.separator}),c&&a.createElement(z,{billingCycle:t,productId:n.text_id,nextPayment:c,type:o,next:r}),d&&a.createElement(A,{type:o,current:l,next:r}))}var H=t(29883);function U(e){const n=(0,o.t)("Upgrade subscription to the next level"),t={[y.ChangePlanType.Reactivate]:(0,o.t)("Reactivate subscription"),[y.ChangePlanType.Downgrade]:(0,o.t)("Downgrade subscription"),[y.ChangePlanType.Upgrade]:n,[y.ChangePlanType.TvcoinsUpgrade]:n,[y.ChangePlanType.TvcoinsExtend]:(0,o.t)("Extend current subscription"),[y.ChangePlanType.Switch]:(0,o.t)("Switch subscription's billing cycle")}[e.type];return a.createElement("h2",{className:H.title},t)}var I,R=t(44943),F=t(15294),V=t(86629),Y=t(78540),O=t(76266),L=t(1405),G=t(29856);function Q(e){const n=(0,o.t)("I have read and agreed with the {policiesLinkTag}Terms of Use{linkCloseTag} and {pivacyPolicyLinkTag}Privacy Policy{linkCloseTag}"),t=(0, +o.t)("I authorize TradingView to charge me automatically every year until I cancel my subscription."),l=(0,o.t)("I authorize TradingView to charge me automatically every month until I cancel my subscription."),r=(0,o.t)("I acknowledge that refunds are NOT available for monthly payments."),c=(0,o.t)("If the auto renewal fails for an annual plan I will automatically be switched to a monthly plan for {cost} per month.").split(/{cost}/),{billingCycle:i,productData:s}=e,p=n.split(/{policiesLinkTag}|{linkCloseTag}|{pivacyPolicyLinkTag}/),d=window.pro.getCost(s,Y.BillingCycle.Monthly);return a.createElement("div",null,a.createElement("p",{className:G["label-p"]},i===Y.BillingCycle.OneYear?t:l),a.createElement("p",{className:G["label-p"]},i===Y.BillingCycle.Monthly&&r,i===Y.BillingCycle.OneYear&&!(0,O.isFeatureEnabled)("switching_trial_year_to_month_disabled")&&a.createElement("span",null,c[0]," ",a.createElement(g,{price:d,currency:"USD"})," ",c[2]),a.createElement("span",null,p[0],a.createElement("a",{target:"_blank",tabIndex:-1,href:"/policies/"},p[1]),p[2],a.createElement("a",{target:"_blank",tabIndex:-1,href:"/privacy-policy/"},p[3]),p[4])))}!function(e){e.ReadAndAcceptTerms="read_and_accept_terms"}(I||(I={}));const W={[I.ReadAndAcceptTerms]:!1};function K(e){const{validationResults:n,value:t,onChange:l,billingCycle:r,productData:o}=e,c=(0,V.useControlValidationLayout)({hasErrors:!n.isValid,errors:n.errors,messagesPosition:V.MessagesPosition.Attached,customErrorsAttachment:{attachment:L.anchors.top.attachment,targetAttachment:L.anchors.top.targetAttachment,attachmentOffsetY:-4}});return a.createElement("div",{className:G["checkbox-wrap"],onFocus:c.onFocus,onBlur:c.onBlur,onMouseOver:c.onMouseOver,onMouseOut:c.onMouseOut,ref:c.containerReference},a.createElement(F.Checkbox,{className:G.checkbox,checked:t,label:a.createElement(Q,{billingCycle:r,productData:o}),name:I.ReadAndAcceptTerms.toString(),onChange:l,intent:n.isValid?"primary":"danger"}),c.renderedErrors)}var q=t(46198);const J=(0,o.t)("You need to accept our Terms of Use and Privacy Policy to continue");function $(e=!1){const n=Boolean(e);return{isValid:n,errors:n?[]:[J]}}function j(e){var n;return null!==(n={[q.ProPlans.Pro]:(0,o.t)("Distraction-free trading and investing, with more charts, intervals and indicators"),[q.ProPlans.ProRealtime]:(0,o.t)("Intraday technical analysis for day traders looking to take things to the next level"),[q.ProPlans.ProPremium]:(0,o.t)("Highest precision and maximum data to capture all possible opportunities")}[e])&&void 0!==n?n:""}function X(e){return(0,o.t)("{daysCount} day",{plural:"{daysCount} days",count:e}).format({daysCount:e.toString()})}var Z=t(26996),ee=t(18662),ne=t(71036),te=t(76974),ae=t(64402);function le(e){const{validateForm:n,type:t,onSuccess:l,onError:c,next:i,offer:s}=e,[p,d]=(0,a.useState)(!1),u=i.pro_plan?(0,o.t)("Upgrade to {proPlan}",{replace:{proPlan:(0,m.humanizeProPlan)(i.pro_plan)}}):void 0,h={[y.ChangePlanType.Reactivate]:(0,o.t)("Reactivate"),[y.ChangePlanType.Downgrade]:(0,o.t)("Downgrade"), +[y.ChangePlanType.Upgrade]:u,[y.ChangePlanType.TvcoinsUpgrade]:u,[y.ChangePlanType.TvcoinsExtend]:(0,o.t)("Extend"),[y.ChangePlanType.Switch]:(0,o.t)("Switch")}[t],g=(0,te.useIsMounted)(),v=(0,a.useCallback)(async()=>{if(n()&&!p){d(!0);try{t===y.ChangePlanType.Upgrade?await(0,ee.postUpgrade)({pro_plan:i.pro_plan,billing_cycle:i.billing_cycle}):t===y.ChangePlanType.Downgrade||t===y.ChangePlanType.Reactivate||t===y.ChangePlanType.Switch?await(0,ee.postDowngrade)({pro_plan:i.pro_plan,billing_cycle:i.billing_cycle,offer:s}):t!==y.ChangePlanType.TvcoinsUpgrade&&t!==y.ChangePlanType.TvcoinsExtend||await(0,ee.postTvcoinsProPlan)({pro_plan:i.pro_plan,billing_cycle:i.billing_cycle}),l()}catch(e){c(e.message)}finally{g.current&&d(!1)}}},[p,n,t,i,s]);return a.createElement("div",{className:ae.actions},a.createElement(ne.SquareButton,{className:ae["footer-button"],onClick:v},a.createElement("span",{className:r(p&&ae["hide-btn-text"])},h),p&&a.createElement(Z.Loader,{color:"white"})))}var re=t(9745),oe=t(4585),ce=t(69236);const ie=E.dateFormatFunctions["MMM dd, yyyy"];function se(e){var n,t;const{type:l,current:c,next:i,nextPayment:s}=e,p=l===y.ChangePlanType.Reactivate,d=l===y.ChangePlanType.Downgrade,u=i.pro_plan,h=void 0!==c.pro_plan&&(0,m.isTrialProduct)(c.pro_plan),g=c.pro_plan&&h?(0,m.getProductForTrial)(c.pro_plan):c.pro_plan,v=p||!g;let f=X(null!==(n=c.days_left)&&void 0!==n?n:0),P=X(null!==(t=i.days_left)&&void 0!==t?t:0);const x=r(ce["plan--current"],ce["plan-box"],v&&ce["one-card-layout"]),C=r(ce["plan--next"],ce["plan-box"],v&&ce["one-card-layout"]);if(d&&s){const e=new Date(s.date);e.setDate(e.getDate()-1),f=(0,o.t)("Until {date}",{replace:{date:ie(e,!1)}});const n=new Date(s.date);P=(0,o.t)("Starting from {date}",{replace:{date:ie(n,!1)}})}return a.createElement("div",{className:ce["plans-container"]},g&&a.createElement("div",{className:x},a.createElement("span",{className:ce["plan-box--title"]},(0,m.humanizeProPlan)(g,h)),a.createElement("span",{className:ce["plan-box--description"]},j(g)),a.createElement("span",{className:ce["plan-box--days-left"]},f)),!v&&a.createElement(re.Icon,{icon:oe,className:ce.arrow}),!p&&u&&a.createElement("div",{className:C},a.createElement("span",{className:ce["plan-box--title"]},(0,m.humanizeProPlan)(u)),a.createElement("span",{className:ce["plan-box--description"]},j(u)),a.createElement("span",{className:ce["plan-box--days-left"]},P)))}var pe=t(30516);const de=[I.ReadAndAcceptTerms];function ue(e){const{type:n,nextPayment:t,current:l,next:r,currentPayment:o,onError:c,onSuccess:i,offer:s}=e,p=n===y.ChangePlanType.Switch,d=r.billing_cycle,u=r.pro_plan;if(!u||!d)return null;const h=window.pro.getProduct(u),m={[I.ReadAndAcceptTerms]:t?$:R.dumbValidator},[g,v,f]=(0,R.useFormValidation)(de,m,W);return a.createElement("div",{className:pe.content},a.createElement(U,{type:n}),!p&&a.createElement(se,{next:r,current:l,type:n,nextPayment:t}),a.createElement(S,{productData:h,billingCycle:d,nextPayment:t,type:n,current:l,next:r,currentPayment:o}),t&&a.createElement(K,{...g[I.ReadAndAcceptTerms], +billingCycle:d,productData:h,onChange:function(){const e=I.ReadAndAcceptTerms,n=!g[e].value;f({[e]:m[e](n)}),g[e].onChange(n)}}),a.createElement(le,{type:n,validateForm:v,next:r,onError:c,onSuccess:i,offer:s}))}var he=t(37005),ye=t(25760);var me=t(35855);const ge={[y.ChangePlanType.Downgrade]:"downgrade",[y.ChangePlanType.Switch]:"switch",[y.ChangePlanType.Upgrade]:"upgrade",[y.ChangePlanType.Reactivate]:"reactivate",[y.ChangePlanType.TvcoinsUpgrade]:"upgrade-tvcoins",[y.ChangePlanType.TvcoinsExtend]:"extend-tvcoins"};function ve(e){const{isOpened:n,...t}=e,{current:l,next:c,type:i}=t,u=(0,o.t)("Close",{context:"input"}),[y,m]=(0,a.useState)(null),g=(0,te.useIsMounted)(),v=l&&l.billing_cycle,f=c&&c.billing_cycle,P=(0,a.useCallback)(()=>{h(c.pro_plan,l.pro_plan,"close-"+ge[i],v,f),e.onClose()},[e.onClose]);return(0,a.useEffect)(()=>{h(c.pro_plan,l.pro_plan,"show-"+ge[i],v,f)},[]),(0,he.useFixedBody)(),function(e){const n=(0,a.useRef)(null),t=(0,a.useRef)(null);(0,a.useEffect)(()=>(n.current=ye.createGroup({desc:"Change plan popup",modal:!0}),t.current=n.current.add({desc:"close",hotkey:27,handler:e.onClose}),()=>{var e;null===(e=n.current)||void 0===e||e.destroy()}),[]),(0,a.useEffect)(()=>{var a,l;t.current&&(null===(a=n.current)||void 0===a||a.remove(t.current)),t.current=null===(l=n.current)||void 0===l?void 0:l.add({desc:"close",hotkey:27,handler:e.onClose})},[e.onClose])}({onClose:P}),a.createElement(d.Modal,{className:r(me.dialog,me["change-plan"]),width:768,isOpened:n,onClick:function(){null!==y&&m(null)}},null!==y&&a.createElement(p.Message,{isError:!0,text:y}),a.createElement(p.Body,{className:me.body},a.createElement(ue,{...t,onError:function(e){g.current&&m(e)}}),a.createElement(s.CloseButton,{className:me["close-button"],"aria-label":u,onClick:P})))}let fe=!1;async function Pe(e){const{current:n,next:t}=e;if(!n.pro_plan||!t.pro_plan||fe)return;const r=(0,c.guid)(),o=(0,i.getRootOverlapManager)(),s=o.ensureWindow(r);function p(){e.onSuccess&&e.onSuccess(),d()}function d(){fe=!1,l.unmountComponentAtNode(s),o.removeWindow(r)}window.pro.runOrUpdate((function(){fe=!0,l.render(a.createElement(ve,{...e,onSuccess:p,onClose:d,isOpened:!0}),s)}))}},9182:(e,n,t)=>{"use strict";t.d(n,{Body:()=>p,Header:()=>i,Message:()=>h});var a=t(59496),l=t(97754),r=t(13520),o=t(49370),c=t(9745);function i(e){const n=e.hideIcon?null:a.createElement(c.Icon,{className:r.close,icon:o,onClick:e.onClose});return a.createElement("div",{className:l(r.header,e.className),"data-dragg-area":!0,ref:e.reference},e.children,n)}t(37062);var s=t(2742);function p(e){return a.createElement("div",{className:l(s.body,e.className),ref:e.reference},e.children)}var d=t(58095),u=t(82561);function h(e){let n;e.text?n=a.createElement("span",null,e.text):e.html&&(n=a.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}}));const t=(0,d.useOutsideEvent)({mouseDown:!0,touchStart:!0,handler:e.onClickOutside});if(!n)return null;const r=l(u.message,e.className,{[u.error]:e.isError});return a.createElement("div",{className:r,key:"0" +},a.createElement("span",{ref:t},n))}},4585:e=>{e.exports=''},15510:e=>{e.exports=''},33666:e=>{e.exports=''},19514:e=>{ +e.exports=''},64464:e=>{e.exports=''},49370:e=>{ +e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/chart-bottom-toolbar.398cd093b8aefc945d7a.js b/charting_library/bundles/chart-bottom-toolbar.398cd093b8aefc945d7a.js deleted file mode 100644 index 23efbdad..00000000 --- a/charting_library/bundles/chart-bottom-toolbar.398cd093b8aefc945d7a.js +++ /dev/null @@ -1,16 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7260],{59142:function(e,t){var s,n,i;n=[t],void 0===(i="function"==typeof(s=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,s=Array(e.length);t{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY",black:"black-MuZZSHRY", -white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},32925:e=>{e.exports={button:"button-WhrIKIq9",hover:"hover-WhrIKIq9",inner:"inner-WhrIKIq9"}},78966:e=>{e.exports={title:"title-mAu74Mtg"}},43527:e=>{e.exports={toolbar:"toolbar-sFd8og5Y",dateRangeWrapper:"dateRangeWrapper-sFd8og5Y",seriesControlWrapper:"seriesControlWrapper-sFd8og5Y",dateRangeExpanded:"dateRangeExpanded-sFd8og5Y",dateRangeCollapsed:"dateRangeCollapsed-sFd8og5Y",item:"item-sFd8og5Y",first:"first-sFd8og5Y",last:"last-sFd8og5Y",inline:"inline-sFd8og5Y",timezone:"timezone-sFd8og5Y",session:"session-sFd8og5Y",icon:"icon-sFd8og5Y",hidden:"hidden-sFd8og5Y",collapsed:"collapsed-sFd8og5Y"}},47393:e=>{e.exports={button:"button-YwWuPcCo",separator:"separator-YwWuPcCo"}},25033:e=>{e.exports={button:"button-wNyKS1Qc",hover:"hover-wNyKS1Qc",icon:"icon-wNyKS1Qc"}},71922:e=>{e.exports={separator:"separator-ArqK8T1e"}},70439:e=>{e.exports={headerMenuText:"headerMenuText-suXx3uas"}},17963:e=>{e.exports={button:"button-U8Px2hz6"}},22880:e=>{e.exports={item:"item-G1QqQDLk",hover:"hover-G1QqQDLk",isActive:"isActive-G1QqQDLk",isFirst:"isFirst-G1QqQDLk",isLast:"isLast-G1QqQDLk"}},72767:e=>{e.exports={slider:"slider-eR7xmZ00",inner:"inner-eR7xmZ00"}},38952:e=>{e.exports={sliderRow:"sliderRow-DtHrLXA3"}},19119:e=>{e.exports={item:"item-tPYeYcJa",interactive:"interactive-tPYeYcJa",hovered:"hovered-tPYeYcJa",disabled:"disabled-tPYeYcJa",active:"active-tPYeYcJa",shortcut:"shortcut-tPYeYcJa",normal:"normal-tPYeYcJa",big:"big-tPYeYcJa",iconCell:"iconCell-tPYeYcJa",icon:"icon-tPYeYcJa",checkmark:"checkmark-tPYeYcJa",content:"content-tPYeYcJa",label:"label-tPYeYcJa",checked:"checked-tPYeYcJa",toolbox:"toolbox-tPYeYcJa",showToolboxOnHover:"showToolboxOnHover-tPYeYcJa",arrowIcon:"arrowIcon-tPYeYcJa",subMenu:"subMenu-tPYeYcJa",invisibleHotkey:"invisibleHotkey-tPYeYcJa"}},61999:e=>{e.exports={item:"item-zoYF2FPa",emptyIcons:"emptyIcons-zoYF2FPa",loading:"loading-zoYF2FPa",disabled:"disabled-zoYF2FPa",interactive:"interactive-zoYF2FPa",hovered:"hovered-zoYF2FPa",normal:"normal-zoYF2FPa",big:"big-zoYF2FPa",icon:"icon-zoYF2FPa",label:"label-zoYF2FPa",title:"title-zoYF2FPa",nested:"nested-zoYF2FPa",shortcut:"shortcut-zoYF2FPa",remove:"remove-zoYF2FPa"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},37740:e=>{e.exports={tabs:"tabs-rKFlMYkc",tab:"tab-rKFlMYkc",noBorder:"noBorder-rKFlMYkc",disabled:"disabled-rKFlMYkc",active:"active-rKFlMYkc",defaultCursor:"defaultCursor-rKFlMYkc",slider:"slider-rKFlMYkc",content:"content-rKFlMYkc"}},26996:(e,t,s)=>{"use strict";s.d(t,{Loader:()=>c});var n,i=s(59496),a=s(97754),o=s(74991),r=s(62092),l=s.n(r);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(n||(n={}));class c extends i.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:n.Initial}}render(){ -const{className:e,color:t="black",size:s="medium",staticPosition:n}=this.props,o=a(l().item,l()[t],l()[s]);return i.createElement("span",{className:a(l().loader,n&&l().static,this._getStateClass(),e)},i.createElement("span",{className:o}),i.createElement("span",{className:o}),i.createElement("span",{className:o}))}componentDidMount(){this.setState({state:n.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:n.Active})},2*o.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case n.Initial:return l()["loader-initial"];case n.Appear:return l()["loader-appear"];default:return""}}}},49466:(e,t,s)=>{"use strict";s.d(t,{ToolWidgetMenuSummary:()=>o});var n=s(59496),i=s(97754),a=s(78966);function o(e){return n.createElement("div",{className:i(e.className,a.title)},e.children)}},50168:(e,t,s)=>{"use strict";s.r(t),s.d(t,{BottomToolbarRenderer:()=>nt});var n=s(59496),i=s(87995),a=s(28353),o=s(19036),r=s(97754),l=s(9837),c=s(67337),d=s(35390),h=s(40233),u=s(59064),m=s(90692),g=s(16396),p=s(51613),v=s(88537),b=s(51768),_=s(55402),C=s(2872),S=s.n(C),f=s(16654);class y{constructor(e){this._state={ranges:[]},this._change=new(S()),this._rangeChangedListenerBound=this._onRangeChanged.bind(this);const{chartWidget:t}=this._context=e;t.withModel(null,()=>{const e=t.model(),s=e.mainSeries();s.onStatusChanged().subscribe(this,this._updateAvailableRanges),c.enabled("update_timeframes_set_on_symbol_resolve")&&s.dataEvents().symbolResolved().subscribe(this,this._updateAvailableRanges),s.priceScale().properties().childs().lockScale.subscribe(this,this._updateAvailableRanges);const n=e.model().appliedTimeFrame();n.subscribe(this._rangeChangedListenerBound),this._rangeChangedListenerBound(n.value()),this._updateAvailableRanges()})}state(){return this._state}onChange(){return this._change}selectRange(e){this._setState({activeRange:e.value.value});const{chartWidgetCollection:t}=this._context,s={val:e.value,res:e.targetResolution};t.setTimeFrame(s)}destroy(){const{chartWidget:e}=this._context;e.withModel(null,()=>{const t=e.model(),s=t.mainSeries();s.onStatusChanged().unsubscribe(this,this._updateAvailableRanges),c.enabled("update_timeframes_set_on_symbol_resolve")&&s.dataEvents().symbolResolved().unsubscribe(this,this._updateAvailableRanges),s.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 s=t.model().mainSeries(),n=s.status();if(n===f.STATUS_LOADING||n===f.STATUS_RESOLVING)return;const i=e(s.symbolInfo(),s.status());0!==i.length&&this._setState({ranges:i})}}const x=(0, -_.registryContextType)();function E(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._handleUpdate=e=>{this.setState(e)},this._handleSelectRange=e=>{var t,s;(0,b.trackEvent)("GUI","Chart Bottom Toolbar","range "+e.value),null===(s=(t=this.props).onSelectRange)||void 0===s||s.call(t,e),this._binding.selectRange(e)},(0,_.validateRegistry)(t,{availableTimeFrames:o.any.isRequired,chartWidgetCollection:o.any.isRequired,chartWidget:o.any.isRequired}),M.has(t.chartWidget)||M.set(t.chartWidget,new y(t));const s=this._binding=(0,v.ensureDefined)(M.get(t.chartWidget));this.state=s.state()}componentDidMount(){this._binding.onChange().subscribe(this,this._handleUpdate)}componentWillUnmount(){this._binding.onChange().unsubscribe(this,this._handleUpdate)}render(){return n.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 M=new WeakMap;var R=s(94420),k=s(23829),w=s(1109),T=s(82724),A=s(52360),W=s(47393);function N(e){const{ranges:t,activeRange:s,onSelectRange:i}=e;return n.createElement(n.Fragment,null,t.map(e=>n.createElement(k.ContextMenuItem,{key:e.value.value,label:e.description||e.text,active:s===e.value.value,checked:s===e.value.value,checkable:!0,disabled:!1,onClick:a.bind(null,e),doNotCloseOnClick:!1,subItems:[]})));function a(e){e&&i&&i(e),(0,u.globalCloseMenu)()}}function B(e){const{onGoToDateClick:t}=e;return n.createElement(n.Fragment,null,n.createElement(w.Separator,{className:W.separator}),n.createElement(k.ContextMenuItem,{icon:A,label:(0,T.appendEllipsis)((0,a.t)("Go to")),onClick:t,active:!1,checked:!1,checkable:!1,disabled:!1,doNotCloseOnClick:!1,subItems:[]}))}const F={title:(0,a.t)("Date Range"),goToDate:(0,T.appendEllipsis)((0,a.t)("Go to"))},P=(0,_.registryContextType)();class z extends n.PureComponent{constructor(e,t){super(e,t),this._handleGoToDateClick=()=>{const{chartWidget:e}=this.context;(0,R.showGoToDateDialog)(e),(0,u.globalCloseMenu)()},this._handleRangeSelect=e=>{e&&this.props.onSelectRange&&this.props.onSelectRange(e),(0,u.globalCloseMenu)()},this._renderChildren=e=>{const{ranges:t,activeRange:s,goToDateButton:i}=this.props;return e?n.createElement(n.Fragment,null,n.createElement(N,{ranges:t,activeRange:s,onSelectRange:this._handleRangeSelect}),i&&n.createElement(B,{onGoToDateClick:this._handleGoToDateClick})):n.createElement(n.Fragment,null,t.map(e=>n.createElement(g.PopupMenuItem,{key:e.value.value,label:e.description||e.text,isActive:s===e.value.value,onClick:this._handleRangeSelect,onClickArg:e})),i&&n.createElement(p.PopupMenuSeparator,null),i&&n.createElement(g.PopupMenuItem,{label:F.goToDate,onClick:this._handleGoToDateClick}))},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired})}render(){return n.createElement(m.MatchMedia,{rule:"screen and (max-width: 428px)"},e=>n.createElement(d.ToolWidgetMenu,{className:W.button,content:F.title,arrow:!0,verticalAttachEdge:h.VerticalAttachEdge.Top, -verticalDropDirection:h.VerticalDropDirection.FromBottomToTop,horizontalMargin:4,"data-name":"date-ranges-menu",isDrawer:e,onClick:this._trackClick},this._renderChildren(e)))}_trackClick(){0}}z.contextType=P;const D=E(z);var Y=s(64205),L=s(22880);function I(e){const t=r(e.className,L.item,{[L.isActive]:e.isActive,[L.isFirst]:e.isFirst,[L.isLast]:e.isLast});return n.createElement("div",{className:t,onClick:e.onClick,ref:e.reference},e.children)}var H=s(40173),j=s(72767);const Z=(0,H.mergeThemes)(Y.DEFAULT_SLIDER_THEME,j);var G=s(38952);const q=(0,Y.factory)((function(e){return n.createElement("div",{className:r(e.className,Z.slider),ref:e.reference},n.createElement("div",{className:Z.inner}))}));const O=E((function(e){const{className:t,ranges:s,activeRange:i,onSelectRange:a}=e;return n.createElement(q,{className:r(G.sliderRow,t),"data-name":"date-ranges-tabs"},s.map((e,t)=>n.createElement(I,{key:e.value.value,value:e.value.value,isFirst:0===t,isLast:t===s.length-1,isActive:i===e.value.value,onClick:a&&a.bind(null,e)},n.createElement("div",{title:e.description||e.text,className:"apply-common-tooltip"},e.text))))}));var U=s(9745),V=s(61814),J=s(68335),K=s(68139),Q=s(25033);const X=(0,V.hotKeySerialize)({keys:[(0,J.humanReadableModifiers)(J.Modifiers.Alt,!1),"G"],text:"{0} + {1}"}),$=(0,_.registryContextType)();class ee extends n.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidget:e}=this.context;(0,b.trackEvent)("GUI","Chart Bottom Toolbar","go to"),(0,R.showGoToDateDialog)(e)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired})}render(){const{className:e,ranges:t}=this.props;return t.length>0&&n.createElement("div",{className:r("apply-common-tooltip",Q.button,e),"data-name":"go-to-date","data-tooltip-hotkey":X,onClick:this._handleClick,title:(0,a.t)("Go to")},n.createElement(U.Icon,{className:Q.icon,icon:K}))}}ee.contextType=$;const te=E(ee);var se=s(32925);function ne(e){const{reference:t,className:s,children:i,...a}=e;return n.createElement("button",{...a,className:r(s,se.button),ref:t},n.createElement("span",{className:se.inner},i))}var ie=s(23095),ae=s(64806),oe=s(28296),re=s(97056);class le extends n.PureComponent{constructor(e){super(e),this._element=null,this._menuShown=!1,this._preventShowingMenu=!1,this._handleRef=e=>{this._element=e},this._onMouseDown=()=>{this._preventShowingMenu=this._menuShown},this._showMenu=()=>{if(this._preventShowingMenu)return void re.ContextMenuManager.hideAll();const{getActions:e}=this.props,t=(0,v.ensureNotNull)(this._element),s=e();if(0===s.length)return;const n=t.getBoundingClientRect();re.ContextMenuManager.showMenu(s,{clientX:n.left,clientY:n.top,attachToYBy:"bottom"},void 0,{menuName:"TimezoneMenuContextMenu"},()=>{this._menuShown=!1}).then(()=>{this._menuShown=!0})}}render(){const{children:e}=this.props;return n.createElement("span",{onClick:this._showMenu,onMouseDown:this._onMouseDown,ref:this._handleRef},e)}}var ce=s(10480),de=s(17963);const he={hint:(0,a.t)("Timezone")};const ue=(0,_.registryContextType)() -;class me extends n.PureComponent{constructor(e,t){super(e,t),this._timeFormatter=new ae.TimeFormatter,this._tickInterval=void 0,this._tickClock=()=>{const{chartApiInstance:e}=this.context;if(void 0!==this._timezone){const t=(0,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)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired,chartApiInstance:o.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().childs().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().childs().timezone.unsubscribe(this,this.updateTimezonesButton)})}render(){const{className:e,withMenu:t}=this.props,{time:s}=this.state,i=void 0!==this._timezone?(0,ie.parseTzOffset)(this._timezone.name()).string:null;return n.createElement(le,{getActions:this._getActions},n.createElement(ne,{className:r(e,de.button,"apply-common-tooltip"),title:t?he.hint:void 0,disabled:!t,"data-name":"time-zone-menu"},s&&i&&`${s} (${i})`))}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 s=(0,v.ensureNotNull)(e.model().mainSeries().symbolInfo()).timezone;s&&(t=s)}this._timezone=(0,ce.get_timezone)(t),this._tickClock()}}me.contextType=ue;var ge=s(71922);function pe(e){return n.createElement("span",{className:r(ge.separator,e.className)})}var ve=s(4825),be=s(24980),_e=s(49483);class Ce{constructor(e,t,s){this._highlighted=!1,this._chartWidget=e,this._priceScaleGetter=t,this._owner=s,this._setHighlight=this._setHighlight.bind(this),this._removeHighlight=this._removeHighlight.bind(this)}destroy(){this._highlighted&&this._removeHighlight()}handlers(){const e=_e.CheckMobile.any();return{onMouseEnter:e?void 0:this._setHighlight,onMouseLeave:e?void 0:this._removeHighlight}}_setHighlight(){if(!this._chartWidget.hasModel())return;const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries()),s=this._priceScaleGetter();if(null===t||null===s)return;const n=this._chartWidget.paneByState(t);if(null!==n){const t=n.rightPriceAxisesContainer().findAxisWidgetForScale(s);let i=null;null!==t&&(i=t.axisInfo());const a=n.leftPriceAxisesContainer().findAxisWidgetForScale(s);null!==a&&(i=a.axisInfo());const o=n.highlightedPriceAxis() -;null!==i&&o.value().axis!==i&&(o.setValue({owner:this._owner,axis:i}),e.lightUpdate(),this._highlighted=!0)}}_removeHighlight(){if(!this._chartWidget.hasModel())return;const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries());if(null===t)return;const s=this._chartWidget.paneByState(t);if(null!==s){const t=s.highlightedPriceAxis(),n=t.value();null!==n.axis&&n.owner===this._owner&&(t.setValue({owner:this._owner,axis:null}),e.lightUpdate(),this._highlighted=!1)}}}const Se=(0,_.registryContextType)(),fe=new be.TranslatedString("toggle log scale",(0,a.t)("toggle log scale"));const ye=(0,_.registryContextType)(),xe=new be.TranslatedString("toggle auto scale",(0,a.t)("toggle auto scale"));const Ee=(0,_.registryContextType)(),Me=new be.TranslatedString("toggle percentage scale",(0,a.t)("toggle percentage scale"));const Re=(0,_.registryContextType)();var ke=s(42142),we=s(54475),Te=s(49466),Ae=s(56450),We=s(70439);const Ne=new be.TranslatedString("change session",(0,a.t)("change session")),Be={hint:(0,a.t)("Session"),headerMenuText:(0,a.t)("Sessions")},Fe=(0,_.registryContextType)();class Pe extends n.PureComponent{constructor(e,t){super(e,t),(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired,chartApiInstance:o.any.isRequired}),this.state={availableSessions:[]}}componentDidMount(){const{chartWidget:e}=this.context;e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().subscribe(this,this.updateSessionButton),t.model().mainSeries().properties().childs().sessionId.subscribe(this,this.updateSessionButton),this.updateSessionButton()})}componentWillUnmount(){const{chartWidget:e}=this.context;e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().unsubscribe(this,this.updateSessionButton),t.model().mainSeries().properties().childs().sessionId.unsubscribe(this,this.updateSessionButton)})}render(){const{className:e,withMenu:t}=this.props,{sessionName:s}=this.state;return n.createElement(d.ToolWidgetMenu,{arrow:!1,isDisabled:!t,content:s,className:e,closeOnClickOutside:!0,title:t?Be.hint:void 0,"data-name":"session-menu",verticalDropDirection:h.VerticalDropDirection.FromBottomToTop,verticalAttachEdge:h.VerticalAttachEdge.Top,onClick:this._trackClick},this._menuItems())}updateSessionButton(){var e,t;const{chartWidget:s}=this.context;if(!s.model())return;const n=s.model().mainSeries().symbolInfo();if(null===n)return;const i=n.subsession_id,a=null!==(t=null===(e=n.subsessions)||void 0===e?void 0:e.filter(e=>!e.private))&&void 0!==t?t:[],o=a.find(e=>e.id===i);this.setState({sessionId:i,sessionName:(0,Ae.translateSessionShortDescription)((null==o?void 0:o.description)||""),availableSessions:a})}_menuItems(){if(!this.props.withMenu)return[];const{chartWidget:e}=this.context,{availableSessions:t}=this.state;if(!e.model())return[];const s=e.model().mainSeries(),i=[n.createElement(Te.ToolWidgetMenuSummary,{key:"header_menu_text",className:We.headerMenuText},Be.headerMenuText.toUpperCase())];for(const a of t){const t={category:"SetSession", -event:a.id},o=()=>{e.model().setProperty(s.properties().childs().sessionId,a.id,Ne)};i.push(n.createElement(g.PopupMenuItem,{key:a.id,label:(0,Ae.translateSessionDescription)(a.description),isActive:this.state.sessionId===a.id,trackEventObject:t,onClick:o}))}return i}_trackClick(){0}}Pe.contextType=Fe;var ze=s(99499),De=s(11178),Ye=s(43527);const Le={extLabel:(0,a.t)("ext"),extHint:(0,a.t)("Extended Hours is available only for intraday charts"),percentageHint:(0,a.t)("Toggle Percentage"),logLabel:(0,a.t)("log",{context:"scale"}),logHint:(0,a.t)("Toggle Log Scale"),autoLabel:(0,a.t)("auto",{context:"scale"}),autoHint:(0,a.t)("Toggle Auto Scale"),fullscreenHint:(0,a.t)("Toggle Maximize Chart"),adjLabel:(0,a.t)("adj",{context:"adjustments"}),adjHint:(0,a.t)("Adjust data for dividends"),adjForDividendsOnlyHint:(0,a.t)("Main symbol data is adjusted for dividends only"),adjForSplitsOnlyHint:(0,a.t)("Main symbol data is adjusted for splits only"),backAdjustLabel:(0,a.t)("b-adj",{context:"adjustments"}),backAdjustHint:(0,a.t)("Adjust for contract changes"),settlementAsCloseLabel:(0,a.t)("set",{context:"adjustments"}),settlementAsCloseHint:(0,a.t)("Use settlement as close on daily interval")},Ie=(He=e=>n.createElement(ve.ToolWidgetButton,{text:Le.logLabel,title:Le.logHint,className:e.className,isActive:e.isLogarithm,isGrouped:!0,onClick:Qe(e.onClick,"log",e.isLogarithm),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"logarithm"}),(je=class extends n.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=(0,v.ensureNotNull)(this.state.series),s=t.priceScale(),n=s.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({log:!n.log},s,fe)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new Ce(this.context.chartWidget,()=>this._priceScale,"logarithm")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),s=t.priceScale();this._handleMainSeriesPriceScaleChanged(s),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},s.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:s}=this.state;return n.createElement(He,{...this._priceAxisHighlighter.handlers(),className:e,isLogarithm:t,isDisabled:null===s,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=Se,je);var He,je;const Ze=function(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=(0,v.ensureNotNull)(this.state.series).priceScale(),s=t.mode();e.setPriceScaleMode({autoScale:!s.autoScale},t,xe)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new Ce(this.context.chartWidget,()=>this._priceScale,"auto")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),s=t.priceScale();this._handleMainSeriesPriceScaleChanged(s),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},s.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:s,series:i}=this.state;return n.createElement(e,{...this._priceAxisHighlighter.handlers(),className:t,isAuto:s,isDisabled:null===i,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.autoScale)!==this.state.isActive&&this.setState({isActive:Boolean(t.autoScale)})}}).contextType=ye,t}(e=>n.createElement(ve.ToolWidgetButton,{text:Le.autoLabel,title:Le.autoHint,className:e.className,isActive:e.isAuto,isGrouped:!0,onClick:Qe(e.onClick,"auto",e.isAuto),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"auto"})),Ge=function(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=(0,v.ensureNotNull)(this.state.series),s=t.priceScale(),n=s.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({percentage:!n.percentage},s,Me)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new Ce(this.context.chartWidget,()=>this._priceScale,"percentage")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),s=t.priceScale();this._handleMainSeriesPriceScaleChanged(s),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleScaleChange({},s.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:s,series:i}=this.state;return n.createElement(e,{...this._priceAxisHighlighter.handlers(),className:t,isPercentage:s,isDisabled:null===i,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=Ee,t}(e=>n.createElement(ve.ToolWidgetButton,{icon:ze,title:Le.percentageHint,className:e.className,isActive:e.isPercentage,isDisabled:e.isDisabled,isGrouped:!0,onClick:Qe(e.onClick,"percent",e.isPercentage),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"percentage"}));const qe=(0,V.hotKeySerialize)({keys:[(0,J.humanReadableModifiers)(J.Modifiers.Alt,!1),"Enter"],text:"{0} + {1}"}),Oe=function(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._handleClick=e=>{const{resizerDetacher:t,chartWidgetCollection:s}=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},(0,_.validateRegistry)(t,{chartWidgetCollection:o.any.isRequired,resizerDetacher:o.any.isRequired});const{resizerDetacher:s}=t;this.state={isFullscreen:s.fullscreen.value(),isChangeLayoutButton:this._isChangeLayoutButton()}}componentDidMount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:s}=this.props;e.fullscreen.subscribe(this._handleLayoutChange)}componentWillUnmount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:s}=this.props;e.fullscreen.unsubscribe(this._handleLayoutChange)}render(){const{className:t}=this.props,{isFullscreen:s,isChangeLayoutButton:i}=this.state;return n.createElement(e,{className:t,isFullscreen:s,onClick:this._handleClick})}_isChangeLayoutButton(){return!1}}).contextType=Re,t}(e=>n.createElement(ve.ToolWidgetButton,{icon:De,title:Le.fullscreenHint,className:e.className,isActive:e.isFullscreen,onClick:Qe(e.onClick,"maximize chart",e.isFullscreen),"data-tooltip-hotkey":qe,"data-name":"fullscreen"})),Ue={properties:!0,fullscreen:!0,preventPhoneLayout:!0},Ve={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,backAdj:5,settlementAsClose:6},Je=(()=>{const e=new Map;return e.set(Ie,"logarithm"),e.set(Ge,"percentage"), -e.set(Ze,"auto"),e.set(Pe,"session"),e.set(Oe,"fullscreen"),e})();function Ke(e){0}function Qe(e,t,s){return t=>{e(t)}}const Xe={dateRangeMode:"hidden",separator:!0,timeZones:!0,fullscreen:!0,preventPhoneLayout:!0,properties:!0,auto:!0,logarithm:!0,percentage:!0,session:!0,adj:!0,backAdj:!0,settlementAsClose:!0},$e=(0,_.registryContextType)();class et extends n.PureComponent{constructor(e,t){var s,a;super(e,t),this._timezoneButtonRef=null,this._layout=Object.assign({},Xe),this._raf=null,this._toolbar=null,this._rangeExpanded=null,this._rangeCollapsed=null,this._seriesComponents={},this._injector=(s=()=>this._layout,a=(e,t)=>this._seriesComponents[t]=e,(e,t,i)=>{if(n.isValidElement(e)&&"string"!=typeof e.type){const{props:o}=e;if("string"==typeof o.className){const l={className:r(o.className,0===t&&Ye.first,t===i.length-1&&Ye.last)},c=s(),d=(0,v.ensureDefined)(Je.get(e.type));return n.createElement("div",{key:null===e.key?void 0:e.key,className:r(Ye.inline,c[d]&&Ye.collapsed),ref:e=>a(e,d),onClick:()=>Ke()},n.cloneElement(e,l))}}return e}),this._updateButtonsVisibility=()=>{const{chartWidget:e}=this.context,t=e.model().model(),s=t.mainSeries(),n=s.symbolInfo(),i=!s.isDWMProperty().value();if(s.symbolResolvingActive().value())return void this._setStateWithResize({intervalAllowsSessionButton:i});const a=((null==n?void 0:n.subsessions)||[]).filter(e=>!e.private).length>1;this._setStateWithResize({intervalAllowsSessionButton:i,symbolAllowsSessionButton:a})},this._handleResize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const e=this._layout,t=(0,v.ensureNotNull)(this._toolbar),s=(0,v.ensureNotNull)(this._rangeExpanded),n=(a=function(e){const t={};return Object.keys(e).forEach(s=>{const n=e[s];if(null!==n){const e=i.findDOMNode(n);null!==e&&(t[s]=e)}}),t}(this._seriesComponents),Object.keys(a).map(e=>({name:e,width:a[e].offsetWidth})).sort((e,t)=>Ve[e.name]-Ve[t.name]));var a;const o=t.offsetWidth,r=n.reduce((e,t)=>e+t.width,0),l=s.offsetWidth,c=!Boolean(s.textContent)||o-r-l<=0?"collapsed":"expanded";if(Object.assign(e,{dateRangeMode:c}),"expanded"!==c){const t=o-(0,v.ensureNotNull)(this._rangeCollapsed).offsetWidth-0;let s=0,i=0;for(const a of n)s+=a.width,a.name in Ue?(i+=a.width,Object.assign(e,{[a.name]:!1})):Object.assign(e,{[a.name]:t<=s});t<=i&&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,settlementAsClose:!1,backAdj:!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},(0,_.validateRegistry)(t,{onContentBoxChanged:o.any.isRequired,chartApiInstance:o.any.isRequired,chartWidget:o.any.isRequired,chartWidgetCollection:o.any.isRequired,resizerDetacher:o.any.isRequired});const{resizerDetacher:l}=this.context;this.state={isFullscreenable:l.fullscreenable.value(),isPreventPhoneLayoutButton:this._isPreventPhoneLayoutButton()}}componentDidMount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:s,chartWidget:n}=this.context;e.subscribe(this,this._handleResize),t.fullscreenable.subscribe(this._handleFullscreenableChange),n.withModel(null,()=>{const e=n.model(),t=e.model();e.mainSeries().isDWMProperty().subscribe(this,this._updateButtonsVisibility),t.symbolSourceResolvingActive().subscribe(this._updateButtonsVisibility),t.symbolSourceCollectionChanged().subscribe(this,this._updateButtonsVisibility),this._updateButtonsVisibility()}),this.updateTimezonesButton(),this.resizeUI()}componentWillUnmount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:s,chartWidget:n}=this.context;e.unsubscribe(this,this._handleResize),t.fullscreenable.unsubscribe(this._handleFullscreenableChange),n.withModel(null,()=>{const e=n.model(),t=e.model();e.mainSeries().isDWMProperty().unsubscribe(this,this._updateButtonsVisibility),e.mainSeries().isBackAdjustmentForbiddenProperty().unsubscribe(this,this._updateButtonsVisibility),e.mainSeries().isSettlementAsCloseForbiddenProperty().unsubscribe(this,this._updateButtonsVisibility),t.symbolSourceCollectionChanged().unsubscribe(this,this._updateButtonsVisibility),t.symbolSourceResolvingActive().unsubscribe(this._updateButtonsVisibility)}),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)}render(){const e=this._layout,{timeFramesWidgetEnabled:t,timeWidgetEnabled:s,percentageScaleButtonEnabled:i,logScaleButtonEnabled:a,autoScaleButtonEnabled:o,fullscreenButtonEnabled:d}=this.props;return n.createElement("div",{className:Ye.toolbar,ref:this._handleToolbarRef,onContextMenu:we.preventDefault},t&&n.createElement(ke.FragmentMap,null,n.createElement("div",{className:r(Ye.dateRangeWrapper,"collapsed"!==e.dateRangeMode&&Ye.collapsed),ref:this._handleRangeCollapsedRef},n.createElement("div",{className:r(Ye.dateRangeCollapsed)},n.createElement(D,{goToDateButton:this.props.goToDateEnabled}))),n.createElement(l,{onMeasure:this._handleMeasure},n.createElement("div",{className:r(Ye.dateRangeWrapper,"expanded"!==e.dateRangeMode&&Ye.collapsed),ref:this._handleRangeExpandedRef},n.createElement("div",{className:r(Ye.dateRangeExpanded)},n.createElement(O,{onSelectRange:this._trackRangeButtonClick}),this.props.goToDateEnabled&&n.createElement(pe,null),this.props.goToDateEnabled&&n.createElement(te,null))))),n.createElement("div",{className:Ye.seriesControlWrapper},s&&n.createElement(l,{onMeasure:this._handleMeasure},n.createElement("div",{className:r(Ye.inline,e.timeZones&&Ye.collapsed),ref:this._handleTimeZonesRef -},n.createElement("div",{className:Ye.inline,onClick:this._trackTimezonesButtonClick},n.createElement(me,{className:Ye.timezone,withMenu:this.props.timezoneMenuEnabled,ref:this._handleTimezoneButtonRef})))),this.props.sessionIdButtonEnabled&&this.state.symbolAllowsSessionButton&&this.state.intervalAllowsSessionButton&&n.createElement(l,{onMeasure:this._handleMeasure},n.createElement("div",{className:r(Ye.inline,e.session&&Ye.collapsed),ref:this._handleSessionsRef},n.createElement("div",{className:Ye.inline},n.createElement(Pe,{className:Ye.session,withMenu:this.props.sessionIdButtonEnabled})))),n.createElement("div",{ref:this._handleSeparatorRef,className:r(Ye.inline,e.separator&&Ye.collapsed)},n.createElement(pe,null)),n.createElement(ke.FragmentMap,{map:this._injector},!1,!1,!1,i&&!c.enabled("fundamental_widget")&&n.createElement(Ge,{className:Ye.icon}),a&&n.createElement(Ie,{className:Ye.item}),o&&n.createElement(Ze,{className:Ye.item}),d&&this.state.isFullscreenable&&n.createElement(Oe,{className:Ye.icon,mobileChangeLayoutEnabled:this.props.mobileChangeLayoutEnabled}),!1)))}updateTimezonesButton(){null!==this._timezoneButtonRef&&this._timezoneButtonRef.updateTimezonesButton()}resizeUI(){this._handleResize()}_trackRangeButtonClick(e){0}_trackTimezonesButtonClick(){Ke()}_setStateWithResize(e){Object.assign(this._layout,Xe),this._applyResizing(),this.setState(e,()=>this._handleResize())}_applyResizing(){const{dateRangeMode:e,...t}=this._layout;this._rangeExpanded&&this._rangeExpanded.classList.toggle(Ye.collapsed,"expanded"!==e),this._rangeCollapsed&&this._rangeCollapsed.classList.toggle(Ye.collapsed,"collapsed"!==e),Object.keys(t).forEach(e=>{const s=e,n=this._seriesComponents[s];n&&n.classList.toggle(Ye.collapsed,t[s])})}_isPreventPhoneLayoutButton(){return!1}}et.contextType=$e;const tt={onContentBoxChanged:o.any,computeContentBox:o.any,chartWidget:o.any,chartApiInstance:o.any,chartWidgetCollection:o.any,resizerDetacher:o.any,availableTimeFrames:o.any};class st extends n.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,s={timeFramesWidgetEnabled:t.timeFramesWidgetEnabled,goToDateEnabled:t.timeFramesWidget.goToDateEnabled,timeWidgetEnabled:t.timeWidgetEnabled,timezoneMenuEnabled:t.timeWidget&&t.timeWidget.timezoneMenuEnabled,sessionIdButtonEnabled:t.sessionIdButtonEnabled,backAdjustmentButtonEnabled:t.backAdjustmentButtonEnabled,settlementAsCloseButtonEnabled:t.settlementAsCloseButtonEnabled,adjustForDividendsButtonEnabled:t.adjustForDividendsButtonEnabled,logScaleButtonEnabled:t.logScaleButtonEnabled, -percentageScaleButtonEnabled:t.percentageScaleButtonEnabled,autoScaleButtonEnabled:t.autoScaleButtonEnabled,fullscreenButtonEnabled:t.fullscreenButtonEnabled,mobileChangeLayoutEnabled:t.mobileChangeLayoutEnabled};return n.createElement(_.RegistryProvider,{validation:tt,value:this._registry},n.createElement(et,{key:e.id(),...s}))}_defineRegistry(e){const{onContentBoxChanged:t,computeContentBox:s,chartApiInstance:n,chartWidgetCollection:i,options:{timeFramesWidgetEnabled:a,timeFramesWidget:o}}=this.props,r=a?o.availableTimeFrames:void 0;this._registry={onContentBoxChanged:t,computeContentBox:s,chartWidget:e,availableTimeFrames:r,chartApiInstance:n,chartWidgetCollection:i,resizerDetacher:e.getResizerDetacher()}}}class nt{constructor(e,t,s,a,o,r,l){this._container=e;const c=n.createElement(st,{onContentBoxChanged:t,computeContentBox:s,chartWidgetCollection:a,chartApiInstance:o,chartWidgetOptions:r,options:l});i.render(c,e),e.setAttribute("data-initialized","true")}destroy(){i.unmountComponentAtNode(this._container),this._container.removeAttribute("data-initialized")}}},55402:(e,t,s)=>{"use strict";s.d(t,{validateRegistry:()=>r,RegistryProvider:()=>l,registryContextType:()=>c});var n=s(59496),i=s(19036),a=s.n(i);const o=n.createContext({});function r(e,t){a().checkPropTypes(t,e,"context","RegistryContext")}function l(e){const{validation:t,value:s}=e;return r(s,t),n.createElement(o.Provider,{value:s},e.children)}function c(){return o}},56450:(e,t,s)=>{"use strict";s.d(t,{translateSessionDescription:()=>a,translateSessionShortDescription:()=>r});var n=s(28353);const i=new Map([["Premarket",(0,n.t)("Premarket",{context:"sessions"})],["Postmarket",(0,n.t)("Postmarket",{context:"sessions"})],["Regular Trading Hours",(0,n.t)("Regular trading hours",{context:"sessions"})],["Extended Trading Hours",(0,n.t)("Extended trading hours",{context:"sessions"})],["Electronic Trading Hours",(0,n.t)("Electronic trading hours",{context:"sessions"})]]);function a(e){var t;return null!==(t=i.get(e))&&void 0!==t?t:e}const o=new Map([["Premarket",(0,n.t)("PRE",{context:"sessions"})],["Postmarket",(0,n.t)("POST",{context:"sessions"})],["Regular Trading Hours",(0,n.t)("RTH",{context:"sessions"})],["Extended Trading Hours",(0,n.t)("ETH",{context:"sessions"})],["Electronic Trading Hours",(0,n.t)("ETH",{context:"sessions"})]]);function r(e){var t;return null!==(t=o.get(e))&&void 0!==t?t:e}},42142:(e,t,s)=>{"use strict";s.d(t,{FragmentMap:()=>i});var n=s(59496);function i(e){if(e.map){return n.Children.toArray(e.children).map(e.map)}return e.children}},99025:(e,t,s)=>{"use strict";s.d(t,{Hint:()=>r});var n=s(59496),i=s(97754),a=s.n(i),o=s(19119);function r(e){const{text:t="",className:s}=e;return n.createElement("span",{className:a()(o.shortcut,s)},t)}},23829:(e,t,s)=>{"use strict";s.d(t,{ContextMenuItem:()=>g});var n=s(59496),i=s(97754),a=s.n(i),o=s(9745),r=s(26996),l=s(54627),c=s(99025),d=s(86440),h=s(4585),u=s(74471),m=s(61999);function g(e){ -const{isTitle:t,isLoading:s,isHovered:i,active:g,checkable:p,disabled:v,checked:b,icon:_,iconChecked:C,hint:S,subItems:f,label:y,onClick:x,children:E,toolbox:M,jsxLabel:R,size:k="normal"}=e,w=(0,n.useContext)(l.EmptyIconsContext),T=!!f.length;return s?n.createElement("li",{className:a()(m.item,m.loading,m[k])},n.createElement(r.Loader,null)):n.createElement("li",{className:a()(m.item,m.interactive,t&&m.title,v&&m.disabled,i&&m.hovered,g&&m.active,w&&m.emptyIcons,m[k]),onClick:x},n.createElement(o.Icon,{className:a()(m.icon),icon:function(){if(p&&b)return C||_||d;return _}()}),n.createElement("span",{className:a()(m.label)},null!=R?R:y),!!M&&n.createElement(o.Icon,{onClick:function(){M&&M.action()},className:m.remove,icon:u}),!T&&S&&n.createElement(c.Hint,{className:m.shortcut,text:S}),T&&n.createElement(o.Icon,{className:m.nested,icon:h}),E)}},54627:(e,t,s)=>{"use strict";s.d(t,{EmptyIconsContext:()=>n});const n=s(59496).createContext(!1)},1109:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>o});var n=s(59496),i=s(97754),a=s(91626);function o(e){return n.createElement("div",{className:i(a.separator,e.className)})}},51613:(e,t,s)=>{"use strict";s.d(t,{PopupMenuSeparator:()=>r});var n=s(59496),i=s(97754),a=s.n(i),o=s(524);function r(e){const{size:t="normal",className:s}=e;return n.createElement("div",{className:a()(o.separator,"small"===t&&o.small,"normal"===t&&o.normal,"large"===t&&o.large,s)})}},64205:(e,t,s)=>{"use strict";s.d(t,{DEFAULT_SLIDER_THEME:()=>r,SliderItem:()=>l,factory:()=>c});var n=s(59496),i=s(97754),a=s(88537),o=s(37740);const r=o;function l(e){const t=i(e.className,o.tab,{[o.active]:e.isActive,[o.disabled]:e.isDisabled,[o.defaultCursor]:!!e.shouldUseDefaultCursor,[o.noBorder]:!!e.noBorder});return n.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 n.PureComponent{constructor(){super(...arguments),this.activeTab={current:null}}componentDidUpdate(){(0,a.ensureNotNull)(this._slider).style.transition="transform 350ms",this._componentDidUpdate()}componentDidMount(){this._componentDidUpdate()}render(){const{className:t}=this.props,s=this._generateTabs();return n.createElement("div",{className:i(t,o.tabs),"data-name":this.props["data-name"]},s,n.createElement(e,{reference:e=>{this._slider=e}}))}_generateTabs(){return this.activeTab.current=null,n.Children.map(this.props.children,e=>{const t=e,s=Boolean(t.props.isActive),i={reference:e=>{s&&(this.activeTab.current=e),t.props.reference&&t.props.reference(e)}};return n.cloneElement(t,i)})}_componentDidUpdate(){const e=(0,a.ensureNotNull)(this._slider).style;if(this.activeTab.current){const t=this.activeTab.current.offsetWidth,s=this.activeTab.current.offsetLeft;e.transform=`translateX(${s}px)`,e.width=t+"px",e.opacity="1"}else e.opacity="0"}}}c((function(e){return n.createElement("div",{className:o.slider,ref:e.reference})}))},40173:(e,t,s)=>{"use strict";function n(e,t,s={}){ -const n=Object.assign({},t);for(const i of Object.keys(t)){const a=s[i]||i;a in e&&(n[i]=[e[a],t[i]].join(" "))}return n}function i(e,t,s={}){return Object.assign({},e,n(e,t,s))}s.d(t,{weakComposeClasses:()=>n,mergeThemes:()=>i})},4585:e=>{e.exports=''},11178:e=>{e.exports=''},99499:e=>{e.exports=''},86440:e=>{e.exports=''},74471:e=>{e.exports=''},52360:e=>{e.exports=''},68139:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/chart-bottom-toolbar.61a521bae909ba6271cb.js b/charting_library/bundles/chart-bottom-toolbar.61a521bae909ba6271cb.js new file mode 100644 index 00000000..d2124f6e --- /dev/null +++ b/charting_library/bundles/chart-bottom-toolbar.61a521bae909ba6271cb.js @@ -0,0 +1,19 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7260],{62092:e=>{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY",black:"black-MuZZSHRY",white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},32925:e=>{e.exports={button:"button-WhrIKIq9",hover:"hover-WhrIKIq9",inner:"inner-WhrIKIq9"}},55576:e=>{e.exports={button:"button-9pA37sIi",hover:"hover-9pA37sIi",isInteractive:"isInteractive-9pA37sIi",isGrouped:"isGrouped-9pA37sIi",newStyles:"newStyles-9pA37sIi",isActive:"isActive-9pA37sIi",isOpened:"isOpened-9pA37sIi",isDisabled:"isDisabled-9pA37sIi",text:"text-9pA37sIi",icon:"icon-9pA37sIi"}},78966:e=>{e.exports={title:"title-mAu74Mtg"}},71123:e=>{e.exports={button:"button-khcLBZEz",hover:"hover-khcLBZEz",arrow:"arrow-khcLBZEz",arrowWrap:"arrowWrap-khcLBZEz",newStyles:"newStyles-khcLBZEz",isOpened:"isOpened-khcLBZEz"}},43527:e=>{e.exports={toolbar:"toolbar-sFd8og5Y",dateRangeWrapper:"dateRangeWrapper-sFd8og5Y",seriesControlWrapper:"seriesControlWrapper-sFd8og5Y",dateRangeExpanded:"dateRangeExpanded-sFd8og5Y",dateRangeCollapsed:"dateRangeCollapsed-sFd8og5Y",item:"item-sFd8og5Y",first:"first-sFd8og5Y",last:"last-sFd8og5Y",inline:"inline-sFd8og5Y",timezone:"timezone-sFd8og5Y",session:"session-sFd8og5Y",icon:"icon-sFd8og5Y",hidden:"hidden-sFd8og5Y",collapsed:"collapsed-sFd8og5Y"}},47393:e=>{e.exports={button:"button-YwWuPcCo",separator:"separator-YwWuPcCo"}},25033:e=>{e.exports={button:"button-wNyKS1Qc",hover:"hover-wNyKS1Qc",icon:"icon-wNyKS1Qc"}},71922:e=>{e.exports={separator:"separator-ArqK8T1e"}},70439:e=>{e.exports={headerMenuText:"headerMenuText-suXx3uas"}},17963:e=>{e.exports={button:"button-U8Px2hz6"}},22880:e=>{e.exports={item:"item-G1QqQDLk",hover:"hover-G1QqQDLk",isActive:"isActive-G1QqQDLk",isFirst:"isFirst-G1QqQDLk",isLast:"isLast-G1QqQDLk"}},72767:e=>{e.exports={slider:"slider-eR7xmZ00",inner:"inner-eR7xmZ00"}},38952:e=>{e.exports={sliderRow:"sliderRow-DtHrLXA3"}},19119:e=>{e.exports={item:"item-tPYeYcJa",interactive:"interactive-tPYeYcJa",hovered:"hovered-tPYeYcJa",disabled:"disabled-tPYeYcJa",active:"active-tPYeYcJa",shortcut:"shortcut-tPYeYcJa",normal:"normal-tPYeYcJa",big:"big-tPYeYcJa",iconCell:"iconCell-tPYeYcJa",icon:"icon-tPYeYcJa",checkmark:"checkmark-tPYeYcJa",content:"content-tPYeYcJa",label:"label-tPYeYcJa",checked:"checked-tPYeYcJa",toolbox:"toolbox-tPYeYcJa",showToolboxOnHover:"showToolboxOnHover-tPYeYcJa",arrowIcon:"arrowIcon-tPYeYcJa",subMenu:"subMenu-tPYeYcJa",invisibleHotkey:"invisibleHotkey-tPYeYcJa"}},61999:e=>{e.exports={item:"item-zoYF2FPa",emptyIcons:"emptyIcons-zoYF2FPa",loading:"loading-zoYF2FPa",disabled:"disabled-zoYF2FPa",interactive:"interactive-zoYF2FPa",hovered:"hovered-zoYF2FPa",normal:"normal-zoYF2FPa",big:"big-zoYF2FPa",icon:"icon-zoYF2FPa",label:"label-zoYF2FPa",title:"title-zoYF2FPa",nested:"nested-zoYF2FPa", +shortcut:"shortcut-zoYF2FPa",remove:"remove-zoYF2FPa"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},37740:e=>{e.exports={tabs:"tabs-rKFlMYkc",tab:"tab-rKFlMYkc",noBorder:"noBorder-rKFlMYkc",disabled:"disabled-rKFlMYkc",active:"active-rKFlMYkc",defaultCursor:"defaultCursor-rKFlMYkc",slider:"slider-rKFlMYkc",content:"content-rKFlMYkc"}},40367:e=>{e.exports={icon:"icon-AL2odtws",dropped:"dropped-AL2odtws"}},26996:(e,t,s)=>{"use strict";s.d(t,{Loader:()=>c});var n,i=s(59496),a=s(97754),o=s(74991),r=s(62092),l=s.n(r);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(n||(n={}));class c extends i.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:n.Initial}}render(){const{className:e,color:t="black",size:s="medium",staticPosition:n}=this.props,o=a(l().item,l()[t],l()[s]);return i.createElement("span",{className:a(l().loader,n&&l().static,this._getStateClass(),e)},i.createElement("span",{className:o}),i.createElement("span",{className:o}),i.createElement("span",{className:o}))}componentDidMount(){this.setState({state:n.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:n.Active})},2*o.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case n.Initial:return l()["loader-initial"];case n.Appear:return l()["loader-appear"];default:return""}}}},90186:(e,t,s)=>{"use strict";function n(e){return a(e,o)}function i(e){return a(e,r)}function a(e,t){const s=Object.entries(e).filter(t),n={};for(const[e,t]of s)n[e]=t;return n}function o(e){const[t,s]=e;return 0===t.indexOf("data-")&&"string"==typeof s}function r(e){return 0===e[0].indexOf("aria-")}s.d(t,{filterDataProps:()=>n,filterAriaProps:()=>i,filterProps:()=>a,isDataAttribute:()=>o,isAriaAttribute:()=>r})},40233:(e,t,s)=>{"use strict";s.d(t,{VerticalAttachEdge:()=>n,HorizontalAttachEdge:()=>i,VerticalDropDirection:()=>a,HorizontalDropDirection:()=>o,getPopupPositioner:()=>c});var n,i,a,o,r=s(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(n||(n={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(a||(a={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight", +e[e.FromRightToLeft=1]="FromRightToLeft"}(o||(o={}));const l={verticalAttachEdge:n.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:a.FromTopToBottom,horizontalDropDirection:o.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function c(e,t){return(s,c)=>{const h=(0,r.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:d=l.verticalAttachEdge,verticalDropDirection:u=l.verticalDropDirection,horizontalAttachEdge:m=l.horizontalAttachEdge,horizontalDropDirection:p=l.horizontalDropDirection,horizontalMargin:g=l.horizontalMargin,verticalMargin:v=l.verticalMargin,matchButtonAndListboxWidths:b=l.matchButtonAndListboxWidths}=t,_=d===n.Top?-1*v:v,C=m===i.Right?h.right:h.left,f=d===n.Top?h.top:h.bottom,S={x:C-(p===o.FromRightToLeft?s:0)+g,y:f-(u===a.FromBottomToTop?c:0)+_};return b&&(S.overrideWidth=h.width),S}}},4825:(e,t,s)=>{"use strict";s.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>l,ToolWidgetButton:()=>c});var n=s(59496),i=s(97754),a=s(9745),o=s(37669),r=s(55576);const l=r,c=n.forwardRef((e,t)=>{const{icon:s,isActive:l,isOpened:c,isDisabled:h,isGrouped:d,isHovered:u,onClick:m,text:p,textBeforeIcon:g,title:v,theme:b=r,className:_,forceInteractive:C,"data-name":f,...S}=e,x=i(_,b.button,v&&"apply-common-tooltip",{[b.isActive]:l,[b.isOpened]:c,[b.isInteractive]:(C||Boolean(m))&&!h,[b.isDisabled]:h,[b.isGrouped]:d,[b.hover]:u,[b.newStyles]:o.hasNewHeaderToolbarStyles}),E=s&&("string"==typeof s?n.createElement(a.Icon,{className:b.icon,icon:s}):n.cloneElement(s,{className:i(b.icon,s.props.className)}));return n.createElement("div",{...S,ref:t,"data-role":"button",className:x,onClick:h?void 0:m,title:v,"data-name":f},g&&p&&n.createElement("div",{className:i("js-button-text",b.text)},p),E,!g&&p&&n.createElement("div",{className:i("js-button-text",b.text)},p))})},49466:(e,t,s)=>{"use strict";s.d(t,{ToolWidgetMenuSummary:()=>o});var n=s(59496),i=s(97754),a=s(78966);function o(e){return n.createElement("div",{className:i(e.className,a.title)},e.children)}},35390:(e,t,s)=>{"use strict";s.d(t,{ToolWidgetMenu:()=>p});var n=s(59496),i=s(97754),a=s(50628),o=s(10381),r=s(90186),l=s(37558),c=s(41590),h=s(40233),d=s(90692),u=s(37669),m=s(71123);class p extends n.PureComponent{constructor(e){super(e),this._wrapperRef=null,this._controller=n.createRef(),this._handleWrapperRef=e=>{this._wrapperRef=e,this.props.reference&&this.props.reference(e)},this._handleClick=e=>{e.target instanceof Node&&e.currentTarget.contains(e.target)&&(this._handleToggleDropdown(),this.props.onClick&&this.props.onClick(e,!this.state.isOpened))},this._handleToggleDropdown=e=>{const{onClose:t,onOpen:s}=this.props,{isOpened:n}=this.state,i="boolean"==typeof e?e:!n;this.setState({isOpened:i}),i&&s&&s(),!i&&t&&t()},this._handleClose=()=>{this.close()},this.state={isOpened:!1}}render(){const{id:e,arrow:t,content:s,isDisabled:a,isDrawer:l,isShowTooltip:c,title:h,className:m,hotKey:p,theme:g,drawerBreakpoint:v}=this.props,{isOpened:b}=this.state,_=i(m,g.button,{"apply-common-tooltip":c||!a,[g.isDisabled]:a,[g.isOpened]:b, +[g.newStyles]:u.hasNewHeaderToolbarStyles});return n.createElement("div",{id:e,className:_,onClick:a?void 0:this._handleClick,title:h,"data-tooltip-hotkey":p,ref:this._handleWrapperRef,"data-role":"button",...(0,r.filterDataProps)(this.props)},s,t&&n.createElement("div",{className:g.arrow},n.createElement("div",{className:g.arrowWrap},n.createElement(o.ToolWidgetCaret,{dropped:b}))),this.state.isOpened&&(v?n.createElement(d.MatchMedia,{rule:v},e=>this._renderContent(e)):this._renderContent(l)))}close(){this._handleToggleDropdown(!1)}update(){null!==this._controller.current&&this._controller.current.update()}_renderContent(e){const{menuDataName:t,minWidth:s,menuClassName:i,maxHeight:o,drawerPosition:r="Bottom",children:d}=this.props,{isOpened:u}=this.state,m={horizontalMargin:this.props.horizontalMargin||0,verticalMargin:this.props.verticalMargin||2,verticalAttachEdge:this.props.verticalAttachEdge,horizontalAttachEdge:this.props.horizontalAttachEdge,verticalDropDirection:this.props.verticalDropDirection,horizontalDropDirection:this.props.horizontalDropDirection,matchButtonAndListboxWidths:this.props.matchButtonAndListboxWidths},p=Boolean(u&&e&&r),g=function(e){return"function"==typeof e}(d)?d({isDrawer:p}):d;return p?n.createElement(l.DrawerManager,null,n.createElement(c.Drawer,{onClose:this._handleClose,position:r,"data-name":t},g)):n.createElement(a.PopupMenu,{controller:this._controller,closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:u,minWidth:s,onClose:this._handleClose,position:(0,h.getPopupPositioner)(this._wrapperRef,m),className:i,maxHeight:o,"data-name":t},g)}}p.defaultProps={arrow:!0,closeOnClickOutside:!0,theme:m}},50168:(e,t,s)=>{"use strict";s.r(t),s.d(t,{BottomToolbarRenderer:()=>nt});var n=s(59496),i=s(87995),a=s(28353),o=s(19036),r=s(97754),l=s(9837),c=s(67337),h=s(35390),d=s(40233),u=s(59064),m=s(90692),p=s(16396),g=s(51613),v=s(88537),b=s(51768),_=s(55402),C=s(2872),f=s.n(C),S=s(16654);class x{constructor(e){this._state={ranges:[]},this._change=new(f()),this._rangeChangedListenerBound=this._onRangeChanged.bind(this);const{chartWidget:t}=this._context=e;t.withModel(null,()=>{const e=t.model(),s=e.mainSeries();s.onStatusChanged().subscribe(this,this._updateAvailableRanges),c.enabled("update_timeframes_set_on_symbol_resolve")&&s.dataEvents().symbolResolved().subscribe(this,this._updateAvailableRanges),s.priceScale().properties().childs().lockScale.subscribe(this,this._updateAvailableRanges);const n=e.model().appliedTimeFrame();n.subscribe(this._rangeChangedListenerBound),this._rangeChangedListenerBound(n.value()),this._updateAvailableRanges()})}state(){return this._state}onChange(){return this._change}selectRange(e){this._setState({activeRange:e.value.value});const{chartWidgetCollection:t}=this._context,s={val:e.value,res:e.targetResolution};t.setTimeFrame(s)}destroy(){const{chartWidget:e}=this._context;e.withModel(null,()=>{const t=e.model(),s=t.mainSeries();s.onStatusChanged().unsubscribe(this,this._updateAvailableRanges), +c.enabled("update_timeframes_set_on_symbol_resolve")&&s.dataEvents().symbolResolved().unsubscribe(this,this._updateAvailableRanges),s.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 s=t.model().mainSeries(),n=s.status();if(n===S.STATUS_LOADING||n===S.STATUS_RESOLVING)return;const i=e(s.symbolInfo(),s.status());0!==i.length&&this._setState({ranges:i})}}const E=(0,_.registryContextType)();function y(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._handleUpdate=e=>{this.setState(e)},this._handleSelectRange=e=>{var t,s;(0,b.trackEvent)("GUI","Chart Bottom Toolbar","range "+e.value),null===(s=(t=this.props).onSelectRange)||void 0===s||s.call(t,e),this._binding.selectRange(e)},(0,_.validateRegistry)(t,{availableTimeFrames:o.any.isRequired,chartWidgetCollection:o.any.isRequired,chartWidget:o.any.isRequired}),M.has(t.chartWidget)||M.set(t.chartWidget,new x(t));const s=this._binding=(0,v.ensureDefined)(M.get(t.chartWidget));this.state=s.state()}componentDidMount(){this._binding.onChange().subscribe(this,this._handleUpdate)}componentWillUnmount(){this._binding.onChange().unsubscribe(this,this._handleUpdate)}render(){return n.createElement(e,{goToDateButton:this.props.goToDateButton,className:this.props.className,ranges:this.state.ranges,activeRange:this.state.activeRange,onSelectRange:this._handleSelectRange})}}).contextType=E,t}const M=new WeakMap;var w=s(94420),T=s(23829),k=s(1109),R=s(82724),A=s(52360),N=s(47393);function D(e){const{ranges:t,activeRange:s,onSelectRange:i}=e;return n.createElement(n.Fragment,null,t.map(e=>n.createElement(T.ContextMenuItem,{key:e.value.value,label:e.description||e.text,active:s===e.value.value,checked:s===e.value.value,checkable:!0,disabled:!1,onClick:a.bind(null,e),doNotCloseOnClick:!1,subItems:[]})));function a(e){e&&i&&i(e),(0,u.globalCloseMenu)()}}function B(e){const{onGoToDateClick:t}=e;return n.createElement(n.Fragment,null,n.createElement(k.Separator,{className:N.separator}),n.createElement(T.ContextMenuItem,{icon:A,label:(0,R.appendEllipsis)((0,a.t)("Go to")),onClick:t,active:!1,checked:!1,checkable:!1,disabled:!1,doNotCloseOnClick:!1,subItems:[]}))}const W={title:(0,a.t)("Date Range"),goToDate:(0,R.appendEllipsis)((0,a.t)("Go to"))},F=(0,_.registryContextType)();class P extends n.PureComponent{constructor(e,t){super(e,t),this._handleGoToDateClick=()=>{const{chartWidget:e}=this.context;(0,w.showGoToDateDialog)(e),(0,u.globalCloseMenu)()},this._handleRangeSelect=e=>{e&&this.props.onSelectRange&&this.props.onSelectRange(e),(0,u.globalCloseMenu)()},this._renderChildren=e=>{ +const{ranges:t,activeRange:s,goToDateButton:i}=this.props;return e?n.createElement(n.Fragment,null,n.createElement(D,{ranges:t,activeRange:s,onSelectRange:this._handleRangeSelect}),i&&n.createElement(B,{onGoToDateClick:this._handleGoToDateClick})):n.createElement(n.Fragment,null,t.map(e=>n.createElement(p.PopupMenuItem,{key:e.value.value,label:e.description||e.text,isActive:s===e.value.value,onClick:this._handleRangeSelect,onClickArg:e})),i&&n.createElement(g.PopupMenuSeparator,null),i&&n.createElement(p.PopupMenuItem,{label:W.goToDate,onClick:this._handleGoToDateClick}))},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired})}render(){return n.createElement(m.MatchMedia,{rule:"screen and (max-width: 428px)"},e=>n.createElement(h.ToolWidgetMenu,{className:N.button,content:W.title,arrow:!0,verticalAttachEdge:d.VerticalAttachEdge.Top,verticalDropDirection:d.VerticalDropDirection.FromBottomToTop,horizontalMargin:4,"data-name":"date-ranges-menu",isDrawer:e,onClick:this._trackClick},this._renderChildren(e)))}_trackClick(){0}}P.contextType=F;const z=y(P);var L=s(64205),I=s(22880);function H(e){const t=r(e.className,I.item,{[I.isActive]:e.isActive,[I.isFirst]:e.isFirst,[I.isLast]:e.isLast});return n.createElement("div",{className:t,onClick:e.onClick,ref:e.reference},e.children)}var Y=s(40173),O=s(72767);const j=(0,Y.mergeThemes)(L.DEFAULT_SLIDER_THEME,O);var G=s(38952);const Z=(0,L.factory)((function(e){return n.createElement("div",{className:r(e.className,j.slider),ref:e.reference},n.createElement("div",{className:j.inner}))}));const V=y((function(e){const{className:t,ranges:s,activeRange:i,onSelectRange:a}=e;return n.createElement(Z,{className:r(G.sliderRow,t),"data-name":"date-ranges-tabs"},s.map((e,t)=>n.createElement(H,{key:e.value.value,value:e.value.value,isFirst:0===t,isLast:t===s.length-1,isActive:i===e.value.value,onClick:a&&a.bind(null,e)},n.createElement("div",{title:e.description||e.text,className:"apply-common-tooltip"},e.text))))}));var U=s(9745),q=s(61814),J=s(68335),K=s(68139),Q=s(25033);const X=(0,q.hotKeySerialize)({keys:[(0,J.humanReadableModifiers)(J.Modifiers.Alt,!1),"G"],text:"{0} + {1}"}),$=(0,_.registryContextType)();class ee extends n.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidget:e}=this.context;(0,b.trackEvent)("GUI","Chart Bottom Toolbar","go to"),(0,w.showGoToDateDialog)(e)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired})}render(){const{className:e,ranges:t}=this.props;return t.length>0&&n.createElement("div",{className:r("apply-common-tooltip",Q.button,e),"data-name":"go-to-date","data-tooltip-hotkey":X,onClick:this._handleClick,title:(0,a.t)("Go to")},n.createElement(U.Icon,{className:Q.icon,icon:K}))}}ee.contextType=$;const te=y(ee);var se=s(32925);function ne(e){const{reference:t,className:s,children:i,...a}=e;return n.createElement("button",{...a,className:r(s,se.button),ref:t},n.createElement("span",{className:se.inner},i))}var ie=s(23095),ae=s(64806),oe=s(28296),re=s(97056);class le extends n.PureComponent{constructor(e){super(e), +this._element=null,this._menuShown=!1,this._preventShowingMenu=!1,this._handleRef=e=>{this._element=e},this._onMouseDown=()=>{this._preventShowingMenu=this._menuShown},this._showMenu=()=>{if(this._preventShowingMenu)return void re.ContextMenuManager.hideAll();const{getActions:e}=this.props,t=(0,v.ensureNotNull)(this._element),s=e();if(0===s.length)return;const n=t.getBoundingClientRect();re.ContextMenuManager.showMenu(s,{clientX:n.left,clientY:n.top,attachToYBy:"bottom"},void 0,{menuName:"TimezoneMenuContextMenu"},()=>{this._menuShown=!1}).then(()=>{this._menuShown=!0})}}render(){const{children:e}=this.props;return n.createElement("span",{onClick:this._showMenu,onMouseDown:this._onMouseDown,ref:this._handleRef},e)}}var ce=s(10480),he=s(17963);const de={hint:(0,a.t)("Timezone")};const ue=(0,_.registryContextType)();class me extends n.PureComponent{constructor(e,t){super(e,t),this._timeFormatter=new ae.TimeFormatter,this._tickInterval=void 0,this._tickClock=()=>{const{chartApiInstance:e}=this.context;if(void 0!==this._timezone){const t=(0,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)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired,chartApiInstance:o.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().childs().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().childs().timezone.unsubscribe(this,this.updateTimezonesButton)})}render(){const{className:e,withMenu:t}=this.props,{time:s}=this.state,i=void 0!==this._timezone?(0,ie.parseTzOffset)(this._timezone.name()).string:null;return n.createElement(le,{getActions:this._getActions},n.createElement(ne,{className:r(e,he.button,"apply-common-tooltip"),title:t?de.hint:void 0,disabled:!t,"data-name":"time-zone-menu"},s&&i&&`${s} (${i})`))}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 s=(0,v.ensureNotNull)(e.model().mainSeries().symbolInfo()).timezone;s&&(t=s)}this._timezone=(0,ce.get_timezone)(t),this._tickClock()}}me.contextType=ue;var pe=s(71922);function ge(e){return n.createElement("span",{className:r(pe.separator,e.className)})}var ve=s(4825),be=s(24980),_e=s(49483);class Ce{constructor(e,t,s){this._highlighted=!1,this._chartWidget=e, +this._priceScaleGetter=t,this._owner=s,this._setHighlight=this._setHighlight.bind(this),this._removeHighlight=this._removeHighlight.bind(this)}destroy(){this._highlighted&&this._removeHighlight()}handlers(){const e=_e.CheckMobile.any();return{onMouseEnter:e?void 0:this._setHighlight,onMouseLeave:e?void 0:this._removeHighlight}}_setHighlight(){if(!this._chartWidget.hasModel())return;const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries()),s=this._priceScaleGetter();if(null===t||null===s)return;const n=this._chartWidget.paneByState(t);if(null!==n){const t=n.rightPriceAxisesContainer().findAxisWidgetForScale(s);let i=null;null!==t&&(i=t.axisInfo());const a=n.leftPriceAxisesContainer().findAxisWidgetForScale(s);null!==a&&(i=a.axisInfo());const o=n.highlightedPriceAxis();null!==i&&o.value().axis!==i&&(o.setValue({owner:this._owner,axis:i}),e.lightUpdate(),this._highlighted=!0)}}_removeHighlight(){if(!this._chartWidget.hasModel())return;const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries());if(null===t)return;const s=this._chartWidget.paneByState(t);if(null!==s){const t=s.highlightedPriceAxis(),n=t.value();null!==n.axis&&n.owner===this._owner&&(t.setValue({owner:this._owner,axis:null}),e.lightUpdate(),this._highlighted=!1)}}}const fe=(0,_.registryContextType)(),Se=new be.TranslatedString("toggle log scale",(0,a.t)("toggle log scale"));const xe=(0,_.registryContextType)(),Ee=new be.TranslatedString("toggle auto scale",(0,a.t)("toggle auto scale"));const ye=(0,_.registryContextType)(),Me=new be.TranslatedString("toggle percentage scale",(0,a.t)("toggle percentage scale"));const we=(0,_.registryContextType)();var Te=s(42142),ke=s(54475),Re=s(49466),Ae=s(56450),Ne=s(70439);const De=new be.TranslatedString("change session",(0,a.t)("change session")),Be={hint:(0,a.t)("Session"),headerMenuText:(0,a.t)("Sessions")},We=(0,_.registryContextType)();class Fe extends n.PureComponent{constructor(e,t){super(e,t),(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired,chartApiInstance:o.any.isRequired}),this.state={availableSessions:[]}}componentDidMount(){const{chartWidget:e}=this.context;e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().subscribe(this,this.updateSessionButton),t.model().mainSeries().properties().childs().sessionId.subscribe(this,this.updateSessionButton),this.updateSessionButton()})}componentWillUnmount(){const{chartWidget:e}=this.context;e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().unsubscribe(this,this.updateSessionButton),t.model().mainSeries().properties().childs().sessionId.unsubscribe(this,this.updateSessionButton)})}render(){const{className:e,withMenu:t}=this.props,{sessionName:s}=this.state;return n.createElement(h.ToolWidgetMenu,{arrow:!1,isDisabled:!t,content:s,className:e,closeOnClickOutside:!0,title:t?Be.hint:void 0,"data-name":"session-menu",verticalDropDirection:d.VerticalDropDirection.FromBottomToTop,verticalAttachEdge:d.VerticalAttachEdge.Top,onClick:this._trackClick +},this._menuItems())}updateSessionButton(){var e,t;const{chartWidget:s}=this.context;if(!s.model())return;const n=s.model().mainSeries().symbolInfo();if(null===n)return;const i=n.subsession_id,a=null!==(t=null===(e=n.subsessions)||void 0===e?void 0:e.filter(e=>!e.private))&&void 0!==t?t:[],o=a.find(e=>e.id===i);this.setState({sessionId:i,sessionName:(0,Ae.translateSessionShortDescription)((null==o?void 0:o.description)||""),availableSessions:a})}_menuItems(){if(!this.props.withMenu)return[];const{chartWidget:e}=this.context,{availableSessions:t}=this.state;if(!e.model())return[];const s=e.model().mainSeries(),i=[n.createElement(Re.ToolWidgetMenuSummary,{key:"header_menu_text",className:Ne.headerMenuText},Be.headerMenuText.toUpperCase())];for(const a of t){const t={category:"SetSession",event:a.id},o=()=>{e.model().setProperty(s.properties().childs().sessionId,a.id,De)};i.push(n.createElement(p.PopupMenuItem,{key:a.id,label:(0,Ae.translateSessionDescription)(a.description),isActive:this.state.sessionId===a.id,trackEventObject:t,onClick:o}))}return i}_trackClick(){0}}Fe.contextType=We;var Pe=s(99499),ze=s(11178),Le=s(43527);const Ie={extLabel:(0,a.t)("ext"),extHint:(0,a.t)("Extended Hours is available only for intraday charts"),percentageHint:(0,a.t)("Toggle Percentage"),logLabel:(0,a.t)("log",{context:"scale"}),logHint:(0,a.t)("Toggle Log Scale"),autoLabel:(0,a.t)("auto",{context:"scale"}),autoHint:(0,a.t)("Toggle Auto Scale"),fullscreenHint:(0,a.t)("Toggle Maximize Chart"),adjLabel:(0,a.t)("adj",{context:"adjustments"}),adjHint:(0,a.t)("Adjust data for dividends"),adjForDividendsOnlyHint:(0,a.t)("Main symbol data is adjusted for dividends only"),adjForSplitsOnlyHint:(0,a.t)("Main symbol data is adjusted for splits only"),backAdjustLabel:(0,a.t)("b-adj",{context:"adjustments"}),backAdjustHint:(0,a.t)("Adjust for contract changes"),settlementAsCloseLabel:(0,a.t)("set",{context:"adjustments"}),settlementAsCloseHint:(0,a.t)("Use settlement as close on daily interval")},He=(Ye=e=>n.createElement(ve.ToolWidgetButton,{text:Ie.logLabel,title:Ie.logHint,className:e.className,isActive:e.isLogarithm,isGrouped:!0,onClick:Qe(e.onClick,"log",e.isLogarithm),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"logarithm"}),(Oe=class extends n.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=(0,v.ensureNotNull)(this.state.series),s=t.priceScale(),n=s.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({log:!n.log},s,Se)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new Ce(this.context.chartWidget,()=>this._priceScale,"logarithm")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),s=t.priceScale();this._handleMainSeriesPriceScaleChanged(s),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},s.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:s}=this.state;return n.createElement(Ye,{...this._priceAxisHighlighter.handlers(),className:e,isLogarithm:t,isDisabled:null===s,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=fe,Oe);var Ye,Oe;const je=function(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=(0,v.ensureNotNull)(this.state.series).priceScale(),s=t.mode();e.setPriceScaleMode({autoScale:!s.autoScale},t,Ee)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new Ce(this.context.chartWidget,()=>this._priceScale,"auto")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),s=t.priceScale();this._handleMainSeriesPriceScaleChanged(s),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},s.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:s,series:i}=this.state;return n.createElement(e,{...this._priceAxisHighlighter.handlers(),className:t,isAuto:s,isDisabled:null===i,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.autoScale)!==this.state.isActive&&this.setState({isActive:Boolean(t.autoScale)})}}).contextType=xe,t}(e=>n.createElement(ve.ToolWidgetButton,{text:Ie.autoLabel,title:Ie.autoHint,className:e.className,isActive:e.isAuto,isGrouped:!0,onClick:Qe(e.onClick,"auto",e.isAuto),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"auto"})),Ge=function(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._priceScale=null, +this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=(0,v.ensureNotNull)(this.state.series),s=t.priceScale(),n=s.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({percentage:!n.percentage},s,Me)},(0,_.validateRegistry)(t,{chartWidget:o.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new Ce(this.context.chartWidget,()=>this._priceScale,"percentage")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),s=t.priceScale();this._handleMainSeriesPriceScaleChanged(s),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleScaleChange({},s.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:s,series:i}=this.state;return n.createElement(e,{...this._priceAxisHighlighter.handlers(),className:t,isPercentage:s,isDisabled:null===i,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=ye,t}(e=>n.createElement(ve.ToolWidgetButton,{icon:Pe,title:Ie.percentageHint,className:e.className,isActive:e.isPercentage,isDisabled:e.isDisabled,isGrouped:!0,onClick:Qe(e.onClick,"percent",e.isPercentage),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"percentage"}));const Ze=(0,q.hotKeySerialize)({keys:[(0,J.humanReadableModifiers)(J.Modifiers.Alt,!1),"Enter"],text:"{0} + {1}"}),Ve=function(e){var t;return(t=class extends n.PureComponent{constructor(e,t){super(e,t),this._handleClick=e=>{const{resizerDetacher:t,chartWidgetCollection:s}=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},(0,_.validateRegistry)(t,{chartWidgetCollection:o.any.isRequired,resizerDetacher:o.any.isRequired});const{resizerDetacher:s}=t;this.state={isFullscreen:s.fullscreen.value(),isChangeLayoutButton:this._isChangeLayoutButton()}}componentDidMount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:s}=this.props;e.fullscreen.subscribe(this._handleLayoutChange)}componentWillUnmount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:s}=this.props;e.fullscreen.unsubscribe(this._handleLayoutChange)}render(){ +const{className:t}=this.props,{isFullscreen:s,isChangeLayoutButton:i}=this.state;return n.createElement(e,{className:t,isFullscreen:s,onClick:this._handleClick})}_isChangeLayoutButton(){return!1}}).contextType=we,t}(e=>n.createElement(ve.ToolWidgetButton,{icon:ze,title:Ie.fullscreenHint,className:e.className,isActive:e.isFullscreen,onClick:Qe(e.onClick,"maximize chart",e.isFullscreen),"data-tooltip-hotkey":Ze,"data-name":"fullscreen"})),Ue={properties:!0,fullscreen:!0,preventPhoneLayout:!0},qe={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,backAdj:5,settlementAsClose:6},Je=(()=>{const e=new Map;return e.set(He,"logarithm"),e.set(Ge,"percentage"),e.set(je,"auto"),e.set(Fe,"session"),e.set(Ve,"fullscreen"),e})();function Ke(e){0}function Qe(e,t,s){return t=>{e(t)}}const Xe={dateRangeMode:"hidden",separator:!0,timeZones:!0,fullscreen:!0,preventPhoneLayout:!0,properties:!0,auto:!0,logarithm:!0,percentage:!0,session:!0,adj:!0,backAdj:!0,settlementAsClose:!0},$e=(0,_.registryContextType)();class et extends n.PureComponent{constructor(e,t){var s,a;super(e,t),this._timezoneButtonRef=null,this._layout=Object.assign({},Xe),this._raf=null,this._toolbar=null,this._rangeExpanded=null,this._rangeCollapsed=null,this._seriesComponents={},this._injector=(s=()=>this._layout,a=(e,t)=>this._seriesComponents[t]=e,(e,t,i)=>{if(n.isValidElement(e)&&"string"!=typeof e.type){const{props:o}=e;if("string"==typeof o.className){const l={className:r(o.className,0===t&&Le.first,t===i.length-1&&Le.last)},c=s(),h=(0,v.ensureDefined)(Je.get(e.type));return n.createElement("div",{key:null===e.key?void 0:e.key,className:r(Le.inline,c[h]&&Le.collapsed),ref:e=>a(e,h),onClick:()=>Ke()},n.cloneElement(e,l))}}return e}),this._updateButtonsVisibility=()=>{const{chartWidget:e}=this.context,t=e.model().model(),s=t.mainSeries(),n=s.symbolInfo(),i=!s.isDWMProperty().value();if(s.symbolResolvingActive().value())return void this._setStateWithResize({intervalAllowsSessionButton:i});const a=((null==n?void 0:n.subsessions)||[]).filter(e=>!e.private).length>1;this._setStateWithResize({intervalAllowsSessionButton:i,symbolAllowsSessionButton:a})},this._handleResize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const e=this._layout,t=(0,v.ensureNotNull)(this._toolbar),s=(0,v.ensureNotNull)(this._rangeExpanded),n=(a=function(e){const t={};return Object.keys(e).forEach(s=>{const n=e[s];if(null!==n){const e=i.findDOMNode(n);null!==e&&(t[s]=e)}}),t}(this._seriesComponents),Object.keys(a).map(e=>({name:e,width:a[e].offsetWidth})).sort((e,t)=>qe[e.name]-qe[t.name]));var a;const o=t.offsetWidth,r=n.reduce((e,t)=>e+t.width,0),l=s.offsetWidth,c=!Boolean(s.textContent)||o-r-l<=0?"collapsed":"expanded";if(Object.assign(e,{dateRangeMode:c}),"expanded"!==c){const t=o-(0,v.ensureNotNull)(this._rangeCollapsed).offsetWidth-0;let s=0,i=0;for(const a of n)s+=a.width,a.name in Ue?(i+=a.width,Object.assign(e,{[a.name]:!1 +})):Object.assign(e,{[a.name]:t<=s});t<=i&&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,settlementAsClose:!1,backAdj:!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},(0,_.validateRegistry)(t,{onContentBoxChanged:o.any.isRequired,chartApiInstance:o.any.isRequired,chartWidget:o.any.isRequired,chartWidgetCollection:o.any.isRequired,resizerDetacher:o.any.isRequired});const{resizerDetacher:l}=this.context;this.state={isFullscreenable:l.fullscreenable.value(),isPreventPhoneLayoutButton:this._isPreventPhoneLayoutButton()}}componentDidMount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:s,chartWidget:n}=this.context;e.subscribe(this,this._handleResize),t.fullscreenable.subscribe(this._handleFullscreenableChange),n.withModel(null,()=>{const e=n.model(),t=e.model();e.mainSeries().isDWMProperty().subscribe(this,this._updateButtonsVisibility),t.symbolSourceResolvingActive().subscribe(this._updateButtonsVisibility),t.symbolSourceCollectionChanged().subscribe(this,this._updateButtonsVisibility),this._updateButtonsVisibility()}),this.updateTimezonesButton(),this.resizeUI()}componentWillUnmount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:s,chartWidget:n}=this.context;e.unsubscribe(this,this._handleResize),t.fullscreenable.unsubscribe(this._handleFullscreenableChange),n.withModel(null,()=>{const e=n.model(),t=e.model();e.mainSeries().isDWMProperty().unsubscribe(this,this._updateButtonsVisibility),e.mainSeries().isBackAdjustmentForbiddenProperty().unsubscribe(this,this._updateButtonsVisibility),e.mainSeries().isSettlementAsCloseForbiddenProperty().unsubscribe(this,this._updateButtonsVisibility),t.symbolSourceCollectionChanged().unsubscribe(this,this._updateButtonsVisibility),t.symbolSourceResolvingActive().unsubscribe(this._updateButtonsVisibility)}),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)}render(){const e=this._layout,{timeFramesWidgetEnabled:t,timeWidgetEnabled:s,percentageScaleButtonEnabled:i,logScaleButtonEnabled:a,autoScaleButtonEnabled:o,fullscreenButtonEnabled:h}=this.props;return n.createElement("div",{className:Le.toolbar,ref:this._handleToolbarRef,onContextMenu:ke.preventDefault},t&&n.createElement(Te.FragmentMap,null,n.createElement("div",{ +className:r(Le.dateRangeWrapper,"collapsed"!==e.dateRangeMode&&Le.collapsed),ref:this._handleRangeCollapsedRef},n.createElement("div",{className:r(Le.dateRangeCollapsed)},n.createElement(z,{goToDateButton:this.props.goToDateEnabled}))),n.createElement(l,{onMeasure:this._handleMeasure},n.createElement("div",{className:r(Le.dateRangeWrapper,"expanded"!==e.dateRangeMode&&Le.collapsed),ref:this._handleRangeExpandedRef},n.createElement("div",{className:r(Le.dateRangeExpanded)},n.createElement(V,{onSelectRange:this._trackRangeButtonClick}),this.props.goToDateEnabled&&n.createElement(ge,null),this.props.goToDateEnabled&&n.createElement(te,null))))),n.createElement("div",{className:Le.seriesControlWrapper},s&&n.createElement(l,{onMeasure:this._handleMeasure},n.createElement("div",{className:r(Le.inline,e.timeZones&&Le.collapsed),ref:this._handleTimeZonesRef},n.createElement("div",{className:Le.inline,onClick:this._trackTimezonesButtonClick},n.createElement(me,{className:Le.timezone,withMenu:this.props.timezoneMenuEnabled,ref:this._handleTimezoneButtonRef})))),this.props.sessionIdButtonEnabled&&this.state.symbolAllowsSessionButton&&this.state.intervalAllowsSessionButton&&n.createElement(l,{onMeasure:this._handleMeasure},n.createElement("div",{className:r(Le.inline,e.session&&Le.collapsed),ref:this._handleSessionsRef},n.createElement("div",{className:Le.inline},n.createElement(Fe,{className:Le.session,withMenu:this.props.sessionIdButtonEnabled})))),n.createElement("div",{ref:this._handleSeparatorRef,className:r(Le.inline,e.separator&&Le.collapsed)},n.createElement(ge,null)),n.createElement(Te.FragmentMap,{map:this._injector},!1,!1,!1,i&&!c.enabled("fundamental_widget")&&n.createElement(Ge,{className:Le.icon}),a&&n.createElement(He,{className:Le.item}),o&&n.createElement(je,{className:Le.item}),h&&this.state.isFullscreenable&&n.createElement(Ve,{className:Le.icon,mobileChangeLayoutEnabled:this.props.mobileChangeLayoutEnabled}),!1)))}updateTimezonesButton(){null!==this._timezoneButtonRef&&this._timezoneButtonRef.updateTimezonesButton()}resizeUI(){this._handleResize()}_trackRangeButtonClick(e){0}_trackTimezonesButtonClick(){Ke()}_setStateWithResize(e){Object.assign(this._layout,Xe),this._applyResizing(),this.setState(e,()=>this._handleResize())}_applyResizing(){const{dateRangeMode:e,...t}=this._layout;this._rangeExpanded&&this._rangeExpanded.classList.toggle(Le.collapsed,"expanded"!==e),this._rangeCollapsed&&this._rangeCollapsed.classList.toggle(Le.collapsed,"collapsed"!==e),Object.keys(t).forEach(e=>{const s=e,n=this._seriesComponents[s];n&&n.classList.toggle(Le.collapsed,t[s])})}_isPreventPhoneLayoutButton(){return!1}}et.contextType=$e;const tt={onContentBoxChanged:o.any,computeContentBox:o.any,chartWidget:o.any,chartApiInstance:o.any,chartWidgetCollection:o.any,resizerDetacher:o.any,availableTimeFrames:o.any};class st extends n.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,s={timeFramesWidgetEnabled:t.timeFramesWidgetEnabled,goToDateEnabled:t.timeFramesWidget.goToDateEnabled,timeWidgetEnabled:t.timeWidgetEnabled,timezoneMenuEnabled:t.timeWidget&&t.timeWidget.timezoneMenuEnabled,sessionIdButtonEnabled:t.sessionIdButtonEnabled,backAdjustmentButtonEnabled:t.backAdjustmentButtonEnabled,settlementAsCloseButtonEnabled:t.settlementAsCloseButtonEnabled,adjustForDividendsButtonEnabled:t.adjustForDividendsButtonEnabled,logScaleButtonEnabled:t.logScaleButtonEnabled,percentageScaleButtonEnabled:t.percentageScaleButtonEnabled,autoScaleButtonEnabled:t.autoScaleButtonEnabled,fullscreenButtonEnabled:t.fullscreenButtonEnabled,mobileChangeLayoutEnabled:t.mobileChangeLayoutEnabled};return n.createElement(_.RegistryProvider,{validation:tt,value:this._registry},n.createElement(et,{key:e.id(),...s}))}_defineRegistry(e){const{onContentBoxChanged:t,computeContentBox:s,chartApiInstance:n,chartWidgetCollection:i,options:{timeFramesWidgetEnabled:a,timeFramesWidget:o}}=this.props,r=a?o.availableTimeFrames:void 0;this._registry={onContentBoxChanged:t,computeContentBox:s,chartWidget:e,availableTimeFrames:r,chartApiInstance:n,chartWidgetCollection:i,resizerDetacher:e.getResizerDetacher()}}}class nt{constructor(e,t,s,a,o,r,l){this._container=e;const c=n.createElement(st,{onContentBoxChanged:t,computeContentBox:s,chartWidgetCollection:a,chartApiInstance:o,chartWidgetOptions:r,options:l});i.render(c,e),e.setAttribute("data-initialized","true")}destroy(){i.unmountComponentAtNode(this._container),this._container.removeAttribute("data-initialized")}}},37669:(e,t,s)=>{"use strict";s.d(t,{hasNewHeaderToolbarStyles:()=>n});s(67337);const n=!1},55402:(e,t,s)=>{"use strict";s.d(t,{validateRegistry:()=>r,RegistryProvider:()=>l,registryContextType:()=>c});var n=s(59496),i=s(19036),a=s.n(i);const o=n.createContext({});function r(e,t){a().checkPropTypes(t,e,"context","RegistryContext")}function l(e){const{validation:t,value:s}=e;return r(s,t),n.createElement(o.Provider,{value:s},e.children)}function c(){return o}},56450:(e,t,s)=>{"use strict";s.d(t,{translateSessionDescription:()=>a,translateSessionShortDescription:()=>r});var n=s(28353);const i=new Map([["Premarket",(0,n.t)("Premarket",{context:"sessions"})],["Postmarket",(0,n.t)("Postmarket",{context:"sessions"})],["Regular Trading Hours",(0,n.t)("Regular trading hours",{context:"sessions"})],["Extended Trading Hours",(0,n.t)("Extended trading hours",{context:"sessions"})],["Electronic Trading Hours",(0,n.t)("Electronic trading hours",{context:"sessions"})]]);function a(e){var t;return null!==(t=i.get(e))&&void 0!==t?t:e}const o=new Map([["Premarket",(0,n.t)("PRE",{context:"sessions"})],["Postmarket",(0,n.t)("POST",{context:"sessions" +})],["Regular Trading Hours",(0,n.t)("RTH",{context:"sessions"})],["Extended Trading Hours",(0,n.t)("ETH",{context:"sessions"})],["Electronic Trading Hours",(0,n.t)("ETH",{context:"sessions"})]]);function r(e){var t;return null!==(t=o.get(e))&&void 0!==t?t:e}},42142:(e,t,s)=>{"use strict";s.d(t,{FragmentMap:()=>i});var n=s(59496);function i(e){if(e.map){return n.Children.toArray(e.children).map(e.map)}return e.children}},99025:(e,t,s)=>{"use strict";s.d(t,{Hint:()=>r});var n=s(59496),i=s(97754),a=s.n(i),o=s(19119);function r(e){const{text:t="",className:s}=e;return n.createElement("span",{className:a()(o.shortcut,s)},t)}},23829:(e,t,s)=>{"use strict";s.d(t,{ContextMenuItem:()=>p});var n=s(59496),i=s(97754),a=s.n(i),o=s(9745),r=s(26996),l=s(54627),c=s(99025),h=s(86440),d=s(4585),u=s(74471),m=s(61999);function p(e){const{isTitle:t,isLoading:s,isHovered:i,active:p,checkable:g,disabled:v,checked:b,icon:_,iconChecked:C,hint:f,subItems:S,label:x,onClick:E,children:y,toolbox:M,jsxLabel:w,size:T="normal"}=e,k=(0,n.useContext)(l.EmptyIconsContext),R=!!S.length;return s?n.createElement("li",{className:a()(m.item,m.loading,m[T])},n.createElement(r.Loader,null)):n.createElement("li",{className:a()(m.item,m.interactive,t&&m.title,v&&m.disabled,i&&m.hovered,p&&m.active,k&&m.emptyIcons,m[T]),onClick:E},n.createElement(o.Icon,{className:a()(m.icon),icon:function(){if(g&&b)return C||_||h;return _}()}),n.createElement("span",{className:a()(m.label)},null!=w?w:x),!!M&&n.createElement(o.Icon,{onClick:function(){M&&M.action()},className:m.remove,icon:u}),!R&&f&&n.createElement(c.Hint,{className:m.shortcut,text:f}),R&&n.createElement(o.Icon,{className:m.nested,icon:d}),y)}},54627:(e,t,s)=>{"use strict";s.d(t,{EmptyIconsContext:()=>n});const n=s(59496).createContext(!1)},37558:(e,t,s)=>{"use strict";s.d(t,{DrawerManager:()=>i,DrawerContext:()=>a});var n=s(59496);class i extends n.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 n.createElement(a.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const a=n.createContext(null)},41590:(e,t,s)=>{"use strict";s.d(t,{Drawer:()=>m});var n=s(59496),i=s(88537),a=s(97754),o=s(59142),r=s(43989),l=s(65718),c=s(37558),h=s(49483),d=s(29197),u=s(66998);function m(e){const{position:t="Bottom",onClose:s,children:m,className:p,theme:g=u}=e,v=(0,i.ensureNotNull)((0,n.useContext)(c.DrawerContext)),[b,_]=(0,n.useState)(0),C=(0,n.useRef)(null),f=(0,n.useContext)(d.CloseDelegateContext);return(0,n.useEffect)(()=>{const e=(0,i.ensureNotNull)(C.current);return e.focus({preventScroll:!0}),f.subscribe(v,s),0===v.currentDrawer&&(0,r.setFixedBodyState)(!0),h.CheckMobile.iOS()&&(0,o.disableBodyScroll)(e),_(v.addDrawer()),()=>{f.unsubscribe(v,s);const t=v.removeDrawer();h.CheckMobile.iOS()&&(0, +o.enableBodyScroll)(e),0===t&&(0,r.setFixedBodyState)(!1)}},[]),n.createElement(l.Portal,null,n.createElement("div",{className:a(u.wrap,u["position"+t])},b===v.currentDrawer&&n.createElement("div",{className:u.backdrop,onClick:s}),n.createElement("div",{className:a(u.drawer,g.drawer,u["position"+t],p),ref:C,tabIndex:-1,"data-name":e["data-name"]},m)))}},1109:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>o});var n=s(59496),i=s(97754),a=s(91626);function o(e){return n.createElement("div",{className:i(a.separator,e.className)})}},16396:(e,t,s)=>{"use strict";s.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>u});var n=s(59496),i=s(97754),a=s(59064),o=s(51768),r=s(90186),l=s(23576);const c=l;function h(e){const{reference:t,...s}=e,i={...s,ref:t};return n.createElement(e.href?"a":"div",i)}function d(e){e.stopPropagation()}function u(e){const{id:t,role:s,"aria-selected":c,className:u,title:m,labelRowClassName:p,labelClassName:g,shortcut:v,forceShowShortcuts:b,icon:_,isActive:C,isDisabled:f,isHovered:S,appearAsDisabled:x,label:E,link:y,showToolboxOnHover:M,target:w,rel:T,toolbox:k,reference:R,onMouseOut:A,onMouseOver:N,suppressToolboxClick:D=!0,theme:B=l}=e,W=(0,r.filterDataProps)(e),F=(0,n.useRef)(null);return n.createElement(h,{...W,id:t,role:s,"aria-selected":c,className:i(u,B.item,_&&B.withIcon,{[B.isActive]:C,[B.isDisabled]:f||x,[B.hovered]:S}),title:m,href:y,target:w,rel:T,reference:function(e){F.current=e,"function"==typeof R&&R(e);"object"==typeof R&&(R.current=e)},onClick:function(t){const{dontClosePopup:s,onClick:n,onClickArg:i,trackEventObject:r}=e;if(f)return;r&&(0,o.trackEvent)(r.category,r.event,r.label);n&&n(i,t);s||(0,a.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:s,trackRightClick:n}=e;s&&n&&(0,o.trackEvent)(s.category,s.event,s.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:s,trackMouseWheelClick:n}=e;if(1===t.button&&y&&s){let e=s.label;n&&(e+="_mouseWheelClick"),(0,o.trackEvent)(s.category,s.event,e)}},onMouseOver:N,onMouseOut:A},void 0!==_&&n.createElement("div",{className:B.icon,dangerouslySetInnerHTML:{__html:_}}),n.createElement("div",{className:i(B.labelRow,p)},n.createElement("div",{className:i(B.label,g)},E)),(void 0!==v||b)&&n.createElement("div",{className:B.shortcut},(P=v)&&P.split("+").join(" + ")),void 0!==k&&n.createElement("div",{onClick:D?d:void 0,className:i(B.toolbox,{[B.showOnHover]:M})},k));var P}},51613:(e,t,s)=>{"use strict";s.d(t,{PopupMenuSeparator:()=>r});var n=s(59496),i=s(97754),a=s.n(i),o=s(524);function r(e){const{size:t="normal",className:s}=e;return n.createElement("div",{className:a()(o.separator,"small"===t&&o.small,"normal"===t&&o.normal,"large"===t&&o.large,s)})}},64205:(e,t,s)=>{"use strict";s.d(t,{DEFAULT_SLIDER_THEME:()=>r,SliderItem:()=>l,factory:()=>c});var n=s(59496),i=s(97754),a=s(88537),o=s(37740);const r=o;function l(e){const t=i(e.className,o.tab,{[o.active]:e.isActive,[o.disabled]:e.isDisabled,[o.defaultCursor]:!!e.shouldUseDefaultCursor,[o.noBorder]:!!e.noBorder});return n.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 n.PureComponent{constructor(){super(...arguments),this.activeTab={current:null}}componentDidUpdate(){(0,a.ensureNotNull)(this._slider).style.transition="transform 350ms",this._componentDidUpdate()}componentDidMount(){this._componentDidUpdate()}render(){const{className:t}=this.props,s=this._generateTabs();return n.createElement("div",{className:i(t,o.tabs),"data-name":this.props["data-name"]},s,n.createElement(e,{reference:e=>{this._slider=e}}))}_generateTabs(){return this.activeTab.current=null,n.Children.map(this.props.children,e=>{const t=e,s=Boolean(t.props.isActive),i={reference:e=>{s&&(this.activeTab.current=e),t.props.reference&&t.props.reference(e)}};return n.cloneElement(t,i)})}_componentDidUpdate(){const e=(0,a.ensureNotNull)(this._slider).style;if(this.activeTab.current){const t=this.activeTab.current.offsetWidth,s=this.activeTab.current.offsetLeft;e.transform=`translateX(${s}px)`,e.width=t+"px",e.opacity="1"}else e.opacity="0"}}}c((function(e){return n.createElement("div",{className:o.slider,ref:e.reference})}))},10381:(e,t,s)=>{"use strict";s.d(t,{ToolWidgetCaret:()=>l});var n=s(59496),i=s(97754),a=s(9745),o=s(40367),r=s(81268);function l(e){const{dropped:t,className:s}=e;return n.createElement(a.Icon,{className:i(s,o.icon,{[o.dropped]:t}),icon:r})}},81268:e=>{e.exports=''},4585:e=>{e.exports=''},11178:e=>{e.exports=''},99499:e=>{e.exports=''},86440:e=>{e.exports=''},74471:e=>{e.exports=''},52360:e=>{ +e.exports=''},68139:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/chart-event-hint.2772e96b4497fbe5a15b.js b/charting_library/bundles/chart-event-hint.2772e96b4497fbe5a15b.js deleted file mode 100644 index 300da089..00000000 --- a/charting_library/bundles/chart-event-hint.2772e96b4497fbe5a15b.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6166],{79995:e=>{e.exports={container:"container-4Rvuptlt",centerElement:"centerElement-4Rvuptlt",text:"text-4Rvuptlt"}},44443:e=>{e.exports={container:"container-vZPBcQQO",content:"content-vZPBcQQO",arrowHolder:"arrowHolder-vZPBcQQO","arrowHolder--below":"arrowHolder--below-vZPBcQQO","arrowHolder--above":"arrowHolder--above-vZPBcQQO","arrowHolder--before":"arrowHolder--before-vZPBcQQO","arrowHolder--after":"arrowHolder--after-vZPBcQQO","arrowHolder--above-fix":"arrowHolder--above-fix-vZPBcQQO","arrowHolder--before-rtl-fix":"arrowHolder--before-rtl-fix-vZPBcQQO","arrowHolder--after-ltr-fix":"arrowHolder--after-ltr-fix-vZPBcQQO",label:"label-vZPBcQQO",closeButton:"closeButton-vZPBcQQO"}},9745:(e,t,r)=>{"use strict";r.d(t,{Icon:()=>o});var n=r(59496);const o=n.forwardRef((e,t)=>{const{icon:r="",...o}=e;return n.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:r}})})},5015:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ChartEventHintRenderer:()=>p});var n=r(59496),o=r(87995),s=r(97754),i=r(9745),a=(r(65718),r(73366)),l=r(44443);n.PureComponent;function c(e){const{className:t,containerClassName:r,contentClassName:o,reference:c,style:d,arrow:h=!0,arrowClassName:p,arrowReference:u,onClose:m,arrowStyle:w,children:v,..._}=e;return n.createElement("div",{..._,className:t,ref:c,style:d},h&&n.createElement("div",{className:p,ref:u,style:w}),n.createElement("div",{className:s(l.container,r)},n.createElement("div",{className:s(l.content,o)},v),m&&n.createElement(i.Icon,{className:l.closeButton,icon:a,onClick:m})))}var d=r(79995);function h(e){const{text:t,onClose:r}=e;return n.createElement("div",{className:d.container},n.createElement("div",{className:d.centerElement},n.createElement(c,{arrow:!1,onClose:r},n.createElement("div",{className:d.text},t))))}class p{constructor(e){this._wrap=document.createElement("div"),this._container=e}show(e,t){if(!this._wrap)return;this.hide(),this._container.append(this._wrap);const r={text:e,onClose:()=>{t&&t(),this.hide()}};o.render(n.createElement(h,{...r}),this._wrap)}hide(){this._wrap&&(o.unmountComponentAtNode(this._wrap),this._wrap.remove())}destroy(){this.hide(),delete this._wrap}}},88216:(e,t,r)=>{"use strict";r.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>a});var n=r(88537);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 s{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,r=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach(e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)})}(t,r),this._container=r}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const r=this._windows.get(e);if(void 0!==r)return r -;this.registerWindow(e);const n=this._document.createElement("div");if(n.style.position=t.position,n.style.zIndex=this._index.toString(),n.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(n);else if(t.index<=0)this._container.insertBefore(n,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(n,e)}}else"reverse"===t.direction?this._container.insertBefore(n,this._container.firstChild):this._container.appendChild(n);return this._windows.set(e,n),++this._index,n}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 i=new WeakMap;function a(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,n.ensureDefined)(i.get(t));{const t=new s(e),r=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 i.set(r,t),t.setContainer(r),e.body.appendChild(r),t}}},65718:(e,t,r)=>{"use strict";r.d(t,{Portal:()=>l,PortalContext:()=>c});var n=r(59496),o=r(87995),s=r(9423),i=r(88216),a=r(50655);class l extends n.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.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(n.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}l.contextType=a.SlotContext;const c=n.createContext(null)},50655:(e,t,r)=>{"use strict";r.d(t,{Slot:()=>o,SlotContext:()=>s});var n=r(59496);class o extends n.Component{shouldComponentUpdate(){return!1}render(){return n.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const s=n.createContext(null)},73366:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/chart-event-hint.7174ec43ce875310edd1.js b/charting_library/bundles/chart-event-hint.7174ec43ce875310edd1.js new file mode 100644 index 00000000..a2b3d9f6 --- /dev/null +++ b/charting_library/bundles/chart-event-hint.7174ec43ce875310edd1.js @@ -0,0 +1,2 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6166],{79995:e=>{e.exports={container:"container-4Rvuptlt",centerElement:"centerElement-4Rvuptlt",text:"text-4Rvuptlt"}},44443:e=>{e.exports={container:"container-vZPBcQQO",content:"content-vZPBcQQO",arrowHolder:"arrowHolder-vZPBcQQO","arrowHolder--below":"arrowHolder--below-vZPBcQQO","arrowHolder--above":"arrowHolder--above-vZPBcQQO","arrowHolder--before":"arrowHolder--before-vZPBcQQO","arrowHolder--after":"arrowHolder--after-vZPBcQQO","arrowHolder--above-fix":"arrowHolder--above-fix-vZPBcQQO","arrowHolder--before-rtl-fix":"arrowHolder--before-rtl-fix-vZPBcQQO","arrowHolder--after-ltr-fix":"arrowHolder--after-ltr-fix-vZPBcQQO",label:"label-vZPBcQQO",closeButton:"closeButton-vZPBcQQO"}},9745:(e,t,r)=>{"use strict";r.d(t,{Icon:()=>o});var n=r(59496);const o=n.forwardRef((e,t)=>{const{icon:r="",...o}=e;return n.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:r}})})},91759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ChartEventHintRenderer:()=>l});var n=r(59496),o=r(87995),s=r(18041),i=r(79995);function a(e){const{text:t,onClose:r}=e;return n.createElement("div",{className:i.container},n.createElement("div",{className:i.centerElement},n.createElement(s.TooltipWidget,{arrow:!1,onClose:r},n.createElement("div",{className:i.text},t))))}class l{constructor(e){this._wrap=document.createElement("div"),this._container=e}show(e,t){if(!this._wrap)return;this.hide(),this._container.append(this._wrap);const r={text:e,onClose:()=>{t&&t(),this.hide()}};o.render(n.createElement(a,{...r}),this._wrap)}hide(){this._wrap&&(o.unmountComponentAtNode(this._wrap),this._wrap.remove())}destroy(){this.hide(),delete this._wrap}}},88216:(e,t,r)=>{"use strict";r.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>a});var n=r(88537);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 s{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,r=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach(e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)})}(t,r),this._container=r}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const r=this._windows.get(e);if(void 0!==r)return r;this.registerWindow(e);const n=this._document.createElement("div");if(n.style.position=t.position,n.style.zIndex=this._index.toString(),n.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(n);else if(t.index<=0)this._container.insertBefore(n,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(n,e)} +}else"reverse"===t.direction?this._container.insertBefore(n,this._container.firstChild):this._container.appendChild(n);return this._windows.set(e,n),++this._index,n}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 i=new WeakMap;function a(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,n.ensureDefined)(i.get(t));{const t=new s(e),r=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 i.set(r,t),t.setContainer(r),e.body.appendChild(r),t}}},65718:(e,t,r)=>{"use strict";r.d(t,{Portal:()=>l,PortalContext:()=>c});var n=r(59496),o=r(87995),s=r(9423),i=r(88216),a=r(50655);class l extends n.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.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(n.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}l.contextType=a.SlotContext;const c=n.createContext(null)},50655:(e,t,r)=>{"use strict";r.d(t,{Slot:()=>o,SlotContext:()=>s});var n=r(59496);class o extends n.Component{shouldComponentUpdate(){return!1}render(){return n.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const s=n.createContext(null)},18041:(e,t,r)=>{"use strict";r.d(t,{TooltipWidget:()=>l});var n=r(59496),o=r(97754),s=r(9745),i=(r(65718),r(73366)),a=r(44443);n.PureComponent;function l(e){const{className:t,containerClassName:r,contentClassName:l,reference:c,style:d,arrow:h=!0,arrowClassName:p,arrowReference:u,onClose:m,arrowStyle:w,children:v,..._}=e;return n.createElement("div",{..._,className:t,ref:c,style:d},h&&n.createElement("div",{className:p,ref:u,style:w}),n.createElement("div",{className:o(a.container,r)},n.createElement("div",{className:o(a.content,l)},v),m&&n.createElement(s.Icon,{className:a.closeButton,icon:i,onClick:m})))}},73366:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/chart-screenshot-hint.0cb36b737a8e2345986f.js b/charting_library/bundles/chart-screenshot-hint.0cb36b737a8e2345986f.js deleted file mode 100644 index b3ef8ecf..00000000 --- a/charting_library/bundles/chart-screenshot-hint.0cb36b737a8e2345986f.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[92],{16178:t=>{t.exports={"close-button":"close-button-WaM0Er9G","close-icon":"close-icon-WaM0Er9G","button-l":"button-l-WaM0Er9G","button-m":"button-m-WaM0Er9G","button-s":"button-s-WaM0Er9G","button-xs":"button-xs-WaM0Er9G","button-xxs":"button-xxs-WaM0Er9G"}},69599:t=>{t.exports={container:"container-PxtBx6dp","container-danger":"container-danger-PxtBx6dp",icon:"icon-PxtBx6dp",header:"header-PxtBx6dp","container-warning":"container-warning-PxtBx6dp","container-success":"container-success-PxtBx6dp","container-default":"container-default-PxtBx6dp","text-wrap":"text-wrap-PxtBx6dp","close-button":"close-button-PxtBx6dp"}},18546:t=>{t.exports={container:"container-64c268VA",bottomPadding:"bottomPadding-64c268VA",centerElement:"centerElement-64c268VA",notice:"notice-64c268VA","notice-showed":"notice-showed-64c268VA"}},9745:(t,e,n)=>{"use strict";n.d(e,{Icon:()=>s});var o=n(59496);const s=o.forwardRef((t,e)=>{const{icon:n="",...s}=t;return o.createElement("span",{...s,ref:e,dangerouslySetInnerHTML:{__html:n}})})},78621:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ChartScreenshotHintRenderer:()=>P});var o=n(59496),s=n(87995),r=n(4889),a=n(97754),i=n(9745),c=n(64120),l=n(12565),d=n(95781),h=n(7801),w=n(33584),u=n(16178),m=n.n(u);function x(t="l"){switch(t){case"l":return c;case"m":return l;case"s":return d;case"xs":return h;case"xxs":return w;default:return l}}const g=o.forwardRef((t,e)=>{const{className:n,size:s,...r}=t,c=a(m()["close-button"],m()["button-"+s],n);return o.createElement("button",{...r,type:"button",className:c,ref:e},o.createElement(i.Icon,{icon:x(s),className:m()["close-icon"],"aria-hidden":!0}))});var p=n(79704),v=n(26),b=n(87172),f=n(69599),E=n.n(f);const _={danger:p,warning:p,success:b,default:v};function B(t){const{informerIntent:e,content:n,className:s,header:r,isIconShown:c=!0,isCloseButtonShown:l,icon:d,onCloseClick:h,closeButtonLabel:w="Close"}=t;return o.createElement("div",{className:a(E().container,E()["container-"+e],s)},c&&o.createElement(i.Icon,{className:E().icon,icon:null!=d?d:_[e]}),o.createElement("div",{className:E()["text-wrap"]},o.createElement("span",{className:E().header},r)," ",n),l&&o.createElement(g,{"aria-label":w,onClick:h,className:E()["close-button"],size:"xs"}))}var M=n(18546);function C(t){const[e,n]=(0,o.useState)(!1);return(0,o.useLayoutEffect)(()=>{const t=setTimeout(()=>n(!0),50),e=setTimeout(()=>n(!1),2500);return()=>{clearTimeout(t),clearTimeout(e)}},[]),o.createElement("div",{className:a(M.container,t.bottomPadding&&M.bottomPadding)},o.createElement("div",{className:M.centerElement},o.createElement(B,{content:t.text,informerIntent:"success",className:a(M.notice,e&&M["notice-showed"])})))}class P{constructor(t,e){this._showed=!1,this._wrap=document.createElement("div"),this._container=t,this._debouncedHide=(0,r.default)(()=>this.hide(),3e3),this._bottomPadding=e.bottomPadding}show(t){this._wrap&&!this._showed&&(this._showed=!0,this._container.append(this._wrap),s.render(o.createElement(C,{text:t, -bottomPadding:this._bottomPadding}),this._wrap),this._debouncedHide())}hide(){this._wrap&&(this._showed=!1,s.unmountComponentAtNode(this._wrap),this._wrap.remove())}destroy(){this.hide(),delete this._wrap}}},87172:t=>{t.exports=''},79704:t=>{t.exports=''},26:t=>{t.exports=''},64120:t=>{t.exports=''},12565:t=>{t.exports=''},95781:t=>{t.exports=''},7801:t=>{t.exports=''},33584:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/chart-screenshot-hint.49f947cd29db6dfcf59f.js b/charting_library/bundles/chart-screenshot-hint.49f947cd29db6dfcf59f.js new file mode 100644 index 00000000..b64b739a --- /dev/null +++ b/charting_library/bundles/chart-screenshot-hint.49f947cd29db6dfcf59f.js @@ -0,0 +1,2 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[92],{16178:t=>{t.exports={"close-button":"close-button-WaM0Er9G","close-icon":"close-icon-WaM0Er9G","button-l":"button-l-WaM0Er9G","button-m":"button-m-WaM0Er9G","button-s":"button-s-WaM0Er9G","button-xs":"button-xs-WaM0Er9G","button-xxs":"button-xxs-WaM0Er9G"}},69599:t=>{t.exports={container:"container-PxtBx6dp","container-danger":"container-danger-PxtBx6dp",icon:"icon-PxtBx6dp",header:"header-PxtBx6dp","container-warning":"container-warning-PxtBx6dp","container-success":"container-success-PxtBx6dp","container-default":"container-default-PxtBx6dp","text-wrap":"text-wrap-PxtBx6dp","close-button":"close-button-PxtBx6dp"}},18546:t=>{t.exports={container:"container-64c268VA",bottomPadding:"bottomPadding-64c268VA",centerElement:"centerElement-64c268VA",notice:"notice-64c268VA","notice-showed":"notice-showed-64c268VA"}},35582:(t,e,n)=>{"use strict";n.d(e,{CloseButton:()=>m});var o=n(59496),s=n(97754),r=n(9745),a=n(64120),i=n(12565),c=n(95781),l=n(7801),d=n(33584),h=n(16178),w=n.n(h);function u(t="l"){switch(t){case"l":return a;case"m":return i;case"s":return c;case"xs":return l;case"xxs":return d;default:return i}}const m=o.forwardRef((t,e)=>{const{className:n,size:a,...i}=t,c=s(w()["close-button"],w()["button-"+a],n);return o.createElement("button",{...i,type:"button",className:c,ref:e},o.createElement(r.Icon,{icon:u(a),className:w()["close-icon"],"aria-hidden":!0}))})},9745:(t,e,n)=>{"use strict";n.d(e,{Icon:()=>s});var o=n(59496);const s=o.forwardRef((t,e)=>{const{icon:n="",...s}=t;return o.createElement("span",{...s,ref:e,dangerouslySetInnerHTML:{__html:n}})})},21310:(t,e,n)=>{"use strict";n.d(e,{Informer:()=>u});var o=n(59496),s=n(97754),r=n(9745),a=n(35582),i=n(79704),c=n(26),l=n(87172),d=n(69599),h=n.n(d);const w={danger:i,warning:i,success:l,default:c};function u(t){const{informerIntent:e,content:n,className:i,header:c,isIconShown:l=!0,isCloseButtonShown:d,icon:u,onCloseClick:m,closeButtonLabel:x="Close"}=t;return o.createElement("div",{className:s(h().container,h()["container-"+e],i)},l&&o.createElement(r.Icon,{className:h().icon,icon:null!=u?u:w[e]}),o.createElement("div",{className:h()["text-wrap"]},o.createElement("span",{className:h().header},c)," ",n),d&&o.createElement(a.CloseButton,{"aria-label":x,onClick:m,className:h()["close-button"],size:"xs"}))}},34904:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ChartScreenshotHintRenderer:()=>d});var o=n(59496),s=n(87995),r=n(4889),a=n(97754),i=n(21310),c=n(18546);function l(t){const[e,n]=(0,o.useState)(!1);return(0,o.useLayoutEffect)(()=>{const t=setTimeout(()=>n(!0),50),e=setTimeout(()=>n(!1),2500);return()=>{clearTimeout(t),clearTimeout(e)}},[]),o.createElement("div",{className:a(c.container,t.bottomPadding&&c.bottomPadding)},o.createElement("div",{className:c.centerElement},o.createElement(i.Informer,{content:t.text,informerIntent:"success",className:a(c.notice,e&&c["notice-showed"])})))}class d{constructor(t,e){this._showed=!1,this._wrap=document.createElement("div"),this._container=t, +this._debouncedHide=(0,r.default)(()=>this.hide(),3e3),this._bottomPadding=e.bottomPadding}show(t){this._wrap&&!this._showed&&(this._showed=!0,this._container.append(this._wrap),s.render(o.createElement(l,{text:t,bottomPadding:this._bottomPadding}),this._wrap),this._debouncedHide())}hide(){this._wrap&&(this._showed=!1,s.unmountComponentAtNode(this._wrap),this._wrap.remove())}destroy(){this.hide(),delete this._wrap}}},87172:t=>{t.exports=''},79704:t=>{t.exports=''},26:t=>{t.exports=''},64120:t=>{t.exports=''},12565:t=>{t.exports=''},95781:t=>{t.exports=''},7801:t=>{t.exports=''},33584:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/chart-widget-gui.3f2a59a4ea5dd17c785c.js b/charting_library/bundles/chart-widget-gui.1cae41f1cb32b31857bc.js similarity index 98% rename from charting_library/bundles/chart-widget-gui.3f2a59a4ea5dd17c785c.js rename to charting_library/bundles/chart-widget-gui.1cae41f1cb32b31857bc.js index 0266f4aa..b666d6c1 100644 --- a/charting_library/bundles/chart-widget-gui.3f2a59a4ea5dd17c785c.js +++ b/charting_library/bundles/chart-widget-gui.1cae41f1cb32b31857bc.js @@ -33,7 +33,7 @@ this._el.innerHTML=e||""}_updateClassName(e){this._prevCustomClass!==e&&(null!== k.t)("It'll open for pre-market trading in {remainingTime}."),fi=new Map([["market",new Map([["small",Qs],["medium",ei],["large",ei]])],["pre_market",new Map([["small",li],["medium",oi],["large",oi]])],["post_market",new Map([["small",si],["medium",ii],["large",ii]])],["out_of_session",new Map([["small",Js],["medium",Js],["large",Js]])],["holiday",new Map([["small",ti],["medium",ti],["large",ti]])]]),Ci=new Map([["market",zt.marketStatusOpen],["pre_market",zt.marketStatusPre],["post_market",zt.marketStatusPost],["out_of_session",zt.marketStatusClose],["holiday",zt.marketStatusHoliday]]),Ei=new Map([["market",ai],["pre_market",ni],["post_market",ri],["out_of_session",di],["holiday",hi]]),ki=new Map([["market",ai],["pre_market",ni],["post_market",ri],["out_of_session",di],["holiday",hi]]),Vi=new Map([["market",Ot.colorsPalette["color-market-open"]],["pre_market",Ot.colorsPalette["color-pre-market"]],["post_market",Ot.colorsPalette["color-post-market"]],["out_of_session",Ot.colorsPalette["color-market-closed"]],["holiday",Ot.colorsPalette["color-market-holiday"]]]),xi={market:ui,pre_market:ci,post_market:_i,out_of_session:pi,holiday:mi};function Ti(e){return(0,k.t)("{number} minute",{plural:"{number} minutes",count:e}).format({number:e.toString()})}function Wi(e){return(0,k.t)("{number} hour",{plural:"{number} hours",count:e}).format({number:e.toString()})}function Li(e){const t=Math.floor(e/86400),s=Math.floor((e-86400*t)/3600),i=Math.floor((e-86400*t-3600*s)/60);return 0===t&&0===s&&0===i?gi:t>0?bi.format({days:(l=t,(0,k.t)("{number} day",{plural:"{number} days",count:l}).format({number:l.toString()})),hours:Wi(s)}):s>0?vi.format({hours:Wi(s),minutes:Ti(i)}):Ti(i);var l}const Ai={market:e=>("post_market"===e.status?yi:Si).format({remainingTime:Li(e.remainingSeconds)}),pre_market:e=>wi.format({remainingTime:Li(e.remainingSeconds)}),post_market:e=>Si.format({remainingTime:Li(e.remainingSeconds)}),out_of_session:e=>("pre_market"===e.status?Mi:wi).format({remainingTime:Li(e.remainingSeconds)}),holiday:e=>("pre_market"===e.status?Mi:wi).format({remainingTime:Li(e.remainingSeconds)})},Hi=new Map([["market",null],["pre_market",null],["post_market",null],["out_of_session",null],["holiday",null]]);class Bi extends Nt{constructor(e,t){super({tooltipMap:Ei,iconMap:fi,classNameMap:Ci,titleMap:ki,titleColorMap:Vi,actionMap:Hi,size:t}),this._model=null,this._marketStatus=new(o())(null).spawn(),this._sessionEdge=new(o())(null).spawn(),this._updateTooltip=()=>{const e=this._status.value();null!==e&&this._updateFullTooltipByStatus(e)},this.setModel(e),Pe.showMarketOpenStatusProperty.subscribe(this,this._showMarketOpenStatusPropertyChanged)}destroy(){this._marketStatus.destroy(),this._sessionEdge.destroy(),this._model=null,Pe.showMarketOpenStatusProperty.unsubscribeAll(this)}setModel(e){if(this._marketStatus.destroy(),this._sessionEdge.destroy(),null===e)return this._marketStatus=new(o())(null).spawn(),void(this._sessionEdge=new(o())(null).spawn());this._model=e,this._marketStatus=e.status().spawn(), this._marketStatus.subscribe(this._updateStatus.bind(this),{callWithLast:!0}),this._sessionEdge=e.nextSessionEdge().spawn(),this._sessionEdge.subscribe(this._updateTooltip),this._updateTooltip()}async _getHtml(e){const t=[(0,It.htmlEscape)(xi[e])],s=this._marketStatus.value();if(null!==this._model&&null!==s){const s=this._model.nextSessionEdge().value();null!==s&&t.push({text:Ai[e](s),bold:!0})}return t}_shouldBeHiddenByStatus(e){return!Pe.showMarketOpenStatusProperty.value()&&"market"===e}_updateStatus(e){this._status.setValue(e)}_showMarketOpenStatusPropertyChanged(){this._updateByStatus(this._status.value())}}class Di{constructor(e,t){var s,i;this.visibleWidgetsCount=new(o())(0),this.errorWidgetIsShown=new(o())(!1),this._size=u.trackingModeIsAvailable?"medium":"small",this._tooltips=new(o())([]),this._visibilitySpawns=[],this._tooltipSpawns=[],this._statusWidgetInfos=[],this._renderer=new Zs(this._size,this.visibleWidgetsCount,this._tooltips,{onClick:this._handleToggleDropdown.bind(this)}),this._symbolInvalidViewModel=null,this._dataSourceErrorStatusViewModel=null,this._marketStatusViewModel=null,this._dataUpdatedModeViewModel=null,this._dataProblemViewModel=null,this._sessionWidget=null,this._dataSourceHasErrorVisible=null,this._dataSourceErrorCanBeShown=new(o())(!1),this._marketStatusCanBeShown=new(o())(!1),this._dataUpdatedModeCanBeShown=new(o())(!1),this._dataProblemCanBeShown=new(o())(!1),this._isDataProblemCritical=null,this._container=document.createElement("div"),this._menuOpened=!1,this._menuPosition=null,this._handleDropdownMenuClose=()=>{var e;this._menuOpened=!1,null===(e=this._source.symbol())||void 0===e||e.unsubscribe(this._handleDropdownMenuClose),this._updateDropdownMenu()},this._source=e,this._symbol=null!==(i=null===(s=e.symbol())||void 0===s?void 0:s.spawn())&&void 0!==i?i:null,this._options=t,this._recreateWidgets(),this._addSubscriptionForSymbolInvalid(),null!==this._dataSourceHasErrorVisible&&(this._dataSourceHasErrorVisible.subscribe(this._updateStatusWidgetsVisibilities.bind(this)),this._dataSourceHasErrorVisible.subscribe(this._updateErrorWidgetIsShown.bind(this))),this._options.dataProblemEnabled&&null!==this._isDataProblemCritical&&this._isDataProblemCritical.subscribe(this._updateStatusWidgetsVisibilities.bind(this));for(const e of this._tooltipSpawns)e.subscribe(this._updateTooltips.bind(this));for(const e of this._visibilitySpawns)e.subscribe(this._updateVisibleWidgetsCount.bind(this)),e.subscribe(this._updateTooltips.bind(this));this._updateErrorWidgetIsShown(),this._updateStatusWidgetsVisibilities(),this._updateVisibleWidgetsCount(),this._updateTooltips()}destroy(){var e,t;this._source.destroy(),null===(e=this._symbol)||void 0===e||e.destroy(),null===(t=this._isDataProblemCritical)||void 0===t||t.destroy();for(const e of this._tooltipSpawns)e.destroy();for(const e of this._visibilitySpawns)e.destroy();this.visibleWidgetsCount.unsubscribe();for(const e of this._statusWidgetInfos)e.model.destroy();this._renderer.destroy()}getElement(){return this._renderer.element}updateSource(e){ var t,s,i;this._source!==e&&(null===(t=this._symbol)||void 0===t||t.destroy(),this._source.destroy(),this._source=e,this._symbol=null!==(i=null===(s=e.symbol())||void 0===s?void 0:s.spawn())&&void 0!==i?i:null,this._recreateWidgets(),this._updateStatusWidgetsVisibilities(),this._updateErrorWidgetIsShown(),this._updateVisibleWidgetsCount(),this._updateTooltips())}_updateStatusWidgetsVisibilities(){const e=this._isForceStatusActive();this._dataSourceErrorCanBeShown.setValue(!e),this._marketStatusCanBeShown.setValue(!e),this._dataUpdatedModeCanBeShown.setValue(!e),this._dataProblemCanBeShown.setValue(!this._isPrimaryWidgetShown())}_isPrimaryWidgetShown(){var e,t;return null!==(t=null===(e=this._source.isSymbolInvalid())||void 0===e?void 0:e.value())&&void 0!==t&&t}_isForceStatusActive(){var e,t;return this._isPrimaryWidgetShown()||null!==(t=null===(e=this._isDataProblemCritical)||void 0===e?void 0:e.value())&&void 0!==t&&t}_updateVisibleWidgetsCount(){const e=this._statusWidgetInfos.filter(e=>e.visible.value());this.visibleWidgetsCount.setValue(e.length)}_updateTooltips(){const e=[];for(let t=0;t0&&e.push(s)}this._tooltips.setValue(e)}_recreateWidgets(){var e;if(this._options.sourceStatusesEnabled){const e=this._source.isSymbolInvalid();if(null!==e)if(null===this._symbolInvalidViewModel){this._symbolInvalidViewModel=new Is(e,{tooltipMap:Us,iconMap:Fs,classNameMap:Ys,titleMap:Xs,titleColorMap:qs,htmlMap:Gs,actionMap:$s,size:this._size});const t=this._symbolInvalidViewModel.visible().spawn();this._visibilitySpawns.push(t),this._tooltipSpawns.push(this._symbolInvalidViewModel.tooltip().spawn());const s={visible:t,model:this._symbolInvalidViewModel};this._statusWidgetInfos.push(s),this._renderer.addStatusModel(s)}else this._symbolInvalidViewModel.updateStatus(e),this._addSubscriptionForSymbolInvalid();if(null===this._dataSourceErrorStatusViewModel){this._dataSourceErrorStatusViewModel=new Ls(this._source,this._size,this._options.sourceStatuses),this._dataSourceHasErrorVisible=(0,K.combine)(()=>this._dataSourceErrorCanBeShown.value()&&(0,i.ensureNotNull)(this._dataSourceErrorStatusViewModel).visible().value(),this._dataSourceErrorCanBeShown,this._dataSourceErrorStatusViewModel.visible()),this._visibilitySpawns.push(this._dataSourceHasErrorVisible),this._tooltipSpawns.push(this._dataSourceErrorStatusViewModel.tooltip().spawn());const e={visible:this._dataSourceHasErrorVisible,model:this._dataSourceErrorStatusViewModel};this._statusWidgetInfos.push(e),this._renderer.addStatusModel(e)}else this._dataSourceErrorStatusViewModel.setSource(this._source)}if(this._options.marketStatusEnabled){const t=this._source.marketStatusModel();if(null===this._marketStatusViewModel){this._marketStatusViewModel=new Bi(t,this._size);const e=(0,K.combine)(()=>this._marketStatusCanBeShown.value()&&(0, -i.ensureNotNull)(this._marketStatusViewModel).visible().value(),this._marketStatusCanBeShown,this._marketStatusViewModel.visible());this._visibilitySpawns.push(e),this._tooltipSpawns.push(this._marketStatusViewModel.tooltip().spawn());const s={visible:e,model:this._marketStatusViewModel};null!==t&&(this._sessionWidget=new Pt(this._source),s.additionalWidgets=[this._sessionWidget]),this._statusWidgetInfos.push(s),this._renderer.addStatusModel(s)}else this._marketStatusViewModel.setModel(t),null===(e=this._sessionWidget)||void 0===e||e.updateSource(this._source)}if(this._options.dataUpdateModeEnabled){const e=this._source.dataUpdatedModeModel();if(null===this._dataUpdatedModeViewModel){this._dataUpdatedModeViewModel=new Ms(e,this._size,this._options.dataUpdateMode);const t=(0,K.combine)(()=>this._dataUpdatedModeCanBeShown.value()&&(0,i.ensureNotNull)(this._dataUpdatedModeViewModel).visible().value(),this._dataUpdatedModeCanBeShown,this._dataUpdatedModeViewModel.visible());this._visibilitySpawns.push(t),this._tooltipSpawns.push(this._dataUpdatedModeViewModel.tooltip().spawn());const s={visible:t,model:this._dataUpdatedModeViewModel};this._statusWidgetInfos.push(s),this._renderer.addStatusModel(s)}else this._dataUpdatedModeViewModel.setModel(e)}if(this._options.dataProblemEnabled){const e=this._source.dataProblemModel();if(null===this._dataProblemViewModel){this._dataProblemViewModel=new Os(e,this._size),this._isDataProblemCritical=this._dataProblemViewModel.isDataProblemCritical().spawn();const t=(0,K.combine)(()=>this._dataProblemCanBeShown.value()&&(0,i.ensureNotNull)(this._dataProblemViewModel).visible().value(),this._dataProblemCanBeShown,this._dataProblemViewModel.visible());this._visibilitySpawns.push(t),this._tooltipSpawns.push(this._dataProblemViewModel.tooltip().spawn());const s={visible:t,model:this._dataProblemViewModel};this._statusWidgetInfos.push(s),this._renderer.addStatusModel(s)}else this._dataProblemViewModel.setModel(e)}}_addSubscriptionForSymbolInvalid(){const e=this._source.isSymbolInvalid();this._options.sourceStatusesEnabled&&null!==e&&(e.subscribe(this._updateStatusWidgetsVisibilities.bind(this)),e.subscribe(this._updateErrorWidgetIsShown.bind(this),{callWithLast:!0}))}_updateErrorWidgetIsShown(){var e,t,s,i;const l=null!==(t=null===(e=this._source.isSymbolInvalid())||void 0===e?void 0:e.value())&&void 0!==t&&t,o=null!==(i=null===(s=this._dataSourceHasErrorVisible)||void 0===s?void 0:s.value())&&void 0!==i&&i;this.errorWidgetIsShown.setValue(l||o)}_handleToggleDropdown(e){var t,s;this._menuPosition=e,this._menuOpened=!this._menuOpened,this._menuOpened&&(null===(t=this._source.symbol())||void 0===t||t.subscribe(this._handleDropdownMenuClose),s="Open full tooltip for statuses: "+this._tooltips.value().join(", "),(0,V.trackEvent)("GUI","Statuses widget's action",s)),this._updateDropdownMenu()}_updateDropdownMenu(){Promise.all([s.e(5514),s.e(2e3),s.e(3466),s.e(4102),s.e(1075),s.e(8643)]).then(s.bind(s,4872)).then(e=>{ +i.ensureNotNull)(this._marketStatusViewModel).visible().value(),this._marketStatusCanBeShown,this._marketStatusViewModel.visible());this._visibilitySpawns.push(e),this._tooltipSpawns.push(this._marketStatusViewModel.tooltip().spawn());const s={visible:e,model:this._marketStatusViewModel};null!==t&&(this._sessionWidget=new Pt(this._source),s.additionalWidgets=[this._sessionWidget]),this._statusWidgetInfos.push(s),this._renderer.addStatusModel(s)}else this._marketStatusViewModel.setModel(t),null===(e=this._sessionWidget)||void 0===e||e.updateSource(this._source)}if(this._options.dataUpdateModeEnabled){const e=this._source.dataUpdatedModeModel();if(null===this._dataUpdatedModeViewModel){this._dataUpdatedModeViewModel=new Ms(e,this._size,this._options.dataUpdateMode);const t=(0,K.combine)(()=>this._dataUpdatedModeCanBeShown.value()&&(0,i.ensureNotNull)(this._dataUpdatedModeViewModel).visible().value(),this._dataUpdatedModeCanBeShown,this._dataUpdatedModeViewModel.visible());this._visibilitySpawns.push(t),this._tooltipSpawns.push(this._dataUpdatedModeViewModel.tooltip().spawn());const s={visible:t,model:this._dataUpdatedModeViewModel};this._statusWidgetInfos.push(s),this._renderer.addStatusModel(s)}else this._dataUpdatedModeViewModel.setModel(e)}if(this._options.dataProblemEnabled){const e=this._source.dataProblemModel();if(null===this._dataProblemViewModel){this._dataProblemViewModel=new Os(e,this._size),this._isDataProblemCritical=this._dataProblemViewModel.isDataProblemCritical().spawn();const t=(0,K.combine)(()=>this._dataProblemCanBeShown.value()&&(0,i.ensureNotNull)(this._dataProblemViewModel).visible().value(),this._dataProblemCanBeShown,this._dataProblemViewModel.visible());this._visibilitySpawns.push(t),this._tooltipSpawns.push(this._dataProblemViewModel.tooltip().spawn());const s={visible:t,model:this._dataProblemViewModel};this._statusWidgetInfos.push(s),this._renderer.addStatusModel(s)}else this._dataProblemViewModel.setModel(e)}}_addSubscriptionForSymbolInvalid(){const e=this._source.isSymbolInvalid();this._options.sourceStatusesEnabled&&null!==e&&(e.subscribe(this._updateStatusWidgetsVisibilities.bind(this)),e.subscribe(this._updateErrorWidgetIsShown.bind(this),{callWithLast:!0}))}_updateErrorWidgetIsShown(){var e,t,s,i;const l=null!==(t=null===(e=this._source.isSymbolInvalid())||void 0===e?void 0:e.value())&&void 0!==t&&t,o=null!==(i=null===(s=this._dataSourceHasErrorVisible)||void 0===s?void 0:s.value())&&void 0!==i&&i;this.errorWidgetIsShown.setValue(l||o)}_handleToggleDropdown(e){var t,s;this._menuPosition=e,this._menuOpened=!this._menuOpened,this._menuOpened&&(null===(t=this._source.symbol())||void 0===t||t.subscribe(this._handleDropdownMenuClose),s="Open full tooltip for statuses: "+this._tooltips.value().join(", "),(0,V.trackEvent)("GUI","Statuses widget's action",s)),this._updateDropdownMenu()}_updateDropdownMenu(){Promise.all([s.e(5514),s.e(2e3),s.e(3466),s.e(4102),s.e(8643)]).then(s.bind(s,4872)).then(e=>{ e.render(this._menuOpened,this._container,this._renderer.element,this._statusWidgetInfos,this._handleDropdownMenuClose,(0,i.ensureNotNull)(this._menuPosition))})}}s(38021);var Pi=s(3763);class Oi{constructor(e,t){this._symbol=null,this._symbolInfo=new(o())(null).spawn(),this._source=e,e.properties().hasChild("symbol")&&(this._symbol=(0,Y.createWVFromGetterAndSubscription)(()=>e.properties().symbol.value(),e.properties().symbol.listeners()));const s=[];if((0,pe.isStudy)(e)||(0,pe.isStudyStub)(e))this._isSymbolInvalid=(0,Pi.createWVFromGetterAndSubscriptions)(()=>e.isSymbolInvalid()&&e.isActualInterval(),s),s.push(e.onStatusChanged(),e.onIsActualIntervalChange());else{(0,i.assert)(e===t.mainSeries());const l=t.mainSeries();this._isSymbolInvalid=(0,Y.createWVFromGetterAndSubscription)(()=>l.isSymbolInvalid(),l.onStatusChanged()),s.push(l.onStatusChanged()),this._symbolInfo=(0,Y.createWVFromGetterAndSubscription)(l.symbolInfo.bind(l),l.dataEvents().symbolResolved())}this._dataSourceErrorStatus=(0,Pi.createWVFromGetterAndSubscriptions)(()=>this._source.statusProvider({}).errorStatus(),s)}destroy(){var e,t;null===(e=this._symbol)||void 0===e||e.destroy(),null===(t=this._isSymbolInvalid)||void 0===t||t.destroy(),this._dataSourceErrorStatus.destroy(),this._symbolInfo.destroy()}symbol(){return this._symbol}isSymbolInvalid(){return this._isSymbolInvalid}errorStatus(){return this._dataSourceErrorStatus}symbolInfo(){return this._symbolInfo}marketStatusModel(){return this._source.marketStatusModel()}dataProblemModel(){return this._source.dataProblemModel()}dataUpdatedModeModel(){return this._source.dataUpdatedModeModel()}}var Ii=s(14799);const zi=(0,k.t)("Replay mode"),Ni=(0,k.t)("You're in Replay mode. You're in Replay mode. You're in Replay mode.");new Map([[!0,new Map([["small",Ii],["medium",Ii],["large",Ii]])],[!1,new Map([["small",""],["medium",""],["large",""]])]]),new Map([[!0,zt.replayMode],[!1,null]]),new Map([[!0,zi],[!1,null]]),new Map([[!0,zi],[!1,null]]),new Map([[!0,Ot.colorsPalette["color-replay-mode"]],[!1,null]]),new Map([[!0,[Ni]],[!1,null]]),new Map([[!0,null],[!1,null]]);class Ri extends Di{constructor(e,t,s){super(new Oi(e,t),s),this._isInReplay=new(o())(!1).readonly().spawn(),this._isInReplayCanBeShown=null,this._inited=!1}destroy(){super.destroy()}_updateStatusWidgetsVisibilities(){super._updateStatusWidgetsVisibilities()}_isPrimaryWidgetShown(){var e,t;return super._isPrimaryWidgetShown()||null!==(t=null===(e=this._isInReplay)||void 0===e?void 0:e.value())&&void 0!==t&&t}}var ji=s(6087),Fi=s(43370);const Yi={readOnlyMode:!1,contextMenu:{settings:!0,mainSeries:!0,studies:!0,showOpenMarketStatus:!1},symbolMarkerEnabled:!1,showToggleButton:!0,canShowSourceCode:!1,statusesWidgets:{sourceStatusesEnabled:!1,sourceStatuses:{errorSolution:!0},marketStatusEnabled:!1,marketStatus:{preMarketSolution:!0,postMarketSolution:!0},dataUpdateModeEnabled:!1,dataUpdateMode:{subscriptionFullInfo:!0},dataProblemEnabled:!1}},Ui=(d.enabled("hide_legend_by_default"), d.enabled("fundamental_widget")),Xi=d.enabled("legend_context_menu"),qi=2*parseInt(S.marginlegendhoriz);class Gi{constructor(e,t,s,i,l,n,r,d){this._mainSeriesViewModel=null,this._dataSourceViewModels=[],this._visibleDataSourceCount=new(o())(0),this._themedColor=new(o())(""),this._mainSeriesRowHidden=null,this._dataSourceRowsHidden=[],this._customWidgetsVisibilities=[],this._allLegendHidden=new(o())(!1),this._studiesLegendHidden=new(o())(!1),this._customWidgetsHeights=[],this._onLegendVisibilityToggled=null,this._availableHeight=0,this._collapsedDataSourcesCount=new(o())(0),this._collapsedDataSourcesTitle=new(o())(""),this._mainSeriesStatusWidget=null,this._dataSourcesStatusesWidgets=[],this._size=null,this._customLegendWidgetsFactoriesMap=new Map,this._customLegendWidgetsMap=new Map,this._margin=0,this._model=e,this._paneWidget=t,this._options=(0,a.merge)((0,a.clone)(Yi),r),this._callbacks=d,this._mainSeriesViewModelsOptions={readOnlyMode:this._options.readOnlyMode,symbolMarkerEnabled:this._options.symbolMarkerEnabled},this._dataSourceViewModelsOptions={...this._mainSeriesViewModelsOptions,canShowSourceCode:this._options.canShowSourceCode},this._backgroundThemeName=s;const h=this._showLegendCalculatedProperty();this._isDataSourcesCollapsed=new(o())(h.value()),h.subscribe(this,()=>{this._isDataSourcesCollapsed.setValue(h.value())});const u=new(o())(this._getCustomTextColorValue()),c=this._model.model().properties().childs();c.scalesProperties.childs().textColor.subscribe(this,()=>{u.setValue(this._getCustomTextColorValue())});const _=c.paneProperties.childs().legendProperties.childs().showBackground,p=new(o())(_.value());_.subscribe(this,()=>{p.setValue(_.value())});const m=c.paneProperties.childs().legendProperties.childs().backgroundTransparency,g=new(o())(m.value());m.subscribe(this,()=>{g.setValue(m.value())}),this._hideNotMainSources=i,this._hideNotMainSources.subscribe(this._updateLegendVisibilities.bind(this)),this._hideAllExceptFirstLine=l,this._hideAllExceptFirstLine.subscribe(this._updateCollapsedSourcesMode.bind(this)),this._hideWholeLegend=n,this._hideWholeLegend.subscribe(this._updateLegendVisibilities.bind(this)),this._isPaneMain=new(o())(this._getIsPaneMainValue()),this._updateCollapsedSourcesModeThrottle=(0,Fi.default)(this._updateCollapsedSourcesMode.bind(this),100),this._renderer=new j({withActions:!this._options.readOnlyMode,showToggleButton:this._options.showToggleButton,isStudiesLegendHidden:this._studiesLegendHidden.readonly(),isAllLegendHidden:this._allLegendHidden.readonly(),customTextColor:u.readonly(),themedColor:this._themedColor.readonly(),showBackground:p.readonly(),backgroundTransparency:g.readonly(),collapsedDataSourcesCount:this._collapsedDataSourcesCount.readonly(),collapsedDataSourcesTitle:this._collapsedDataSourcesTitle.readonly(),showLegendWidgetContextMenu:this.onShowLegendWidgetContextMenu.bind(this),hideAllExceptFirstLine:this._hideAllExceptFirstLine},{visibleDataSourceCount:this._visibleDataSourceCount.readonly(),isDataSourcesCollapsed:this._isDataSourcesCollapsed.readonly(), showObjectsTree:this._isPaneMain.readonly(),onCollapseDataSources:this.onCollapseDataSources.bind(this),onShowObjectsTreeDialog:this._callbacks.showObjectsTreeDialog})}destroy(){this._backgroundThemeName.destroy(),this._hideNotMainSources.destroy(),this._hideAllExceptFirstLine.destroy(),this._hideWholeLegend.destroy(),null!==this._mainSeriesViewModel&&this._destroyMainDataSource();for(const e of this._dataSourceViewModels)e.destroy();for(const e of this._dataSourcesStatusesWidgets)e.destroy();this._clearSubscriptions();for(const e of Array.from(this._customLegendWidgetsMap.keys()))this._destroyCustomWidgetFromLayerBlock(e);this._customLegendWidgetsMap.clear(),this._renderer.destroy(),delete this._renderer,this._showLegendCalculatedProperty().unsubscribeAll(this),this._showLegendOriginalProperty().unsubscribeAll(this);const e=this._model.model().properties().childs();e.scalesProperties.childs().textColor.unsubscribeAll(this),e.paneProperties.childs().legendProperties.childs().showBackground.unsubscribeAll(this),e.paneProperties.childs().legendProperties.childs().backgroundTransparency.unsubscribeAll(this)}addCustomWidgetToLegend(e,t){const s=this._customLegendWidgetsFactoriesMap.get(t.block)||new Map,i=s.get(t.position)||[];i.push(e),s.set(t.position,i),this._customLegendWidgetsFactoriesMap.set(t.block,s),this.updateLayout(),this._updateCustomWidgetModeBySize()}onShowLegendWidgetContextMenu(e,t){if(this._options.readOnlyMode||!Xi)return Promise.resolve();x("Show legend context menu");const s=new Map;for(const e of Array.from(this._customLegendWidgetsMap.keys())){const t=(0,i.ensureDefined)(this._customLegendWidgetsMap.get(e)),l=new Map;for(const e of Array.from(t.keys())){const s=(0,i.ensureDefined)(t.get(e)),o=l.get(e)||[];for(const e of s)o.push(...e.contextMenuActions());l.set(e,o)}s.set(e,l)}return function(e,t,s,i,l,o){const a=[],n=i.get(0);if(void 0!==n){const e=n.get(1);void 0!==e&&e.length>0&&(a.push(...e),a.push(new Be.Separator))}const r=e.model().properties().childs().paneProperties.childs().legendProperties.childs();if(a.push(new Be.Action({actionId:"Chart.Legend.ToggleSymbolVisibility",checkable:!0,checked:r.showSeriesTitle.value(),label:$e,statName:"Show Symbol",onExecute:()=>Ne(e,r.showSeriesTitle,Re)})),t.showOpenMarketStatus&&"market"===e.mainSeries().marketStatusModel().status().value()&&a.push(new Be.Action({actionId:"Chart.Legend.ToggleOpenMarketStatusVisibility",checkable:!0,checked:Pe.showMarketOpenStatusProperty.value(),label:Ke,statName:"Show Open market status",onExecute:()=>Ne(e,Pe.showMarketOpenStatusProperty,je)})),a.push(new Be.Action({actionId:"Chart.Legend.ToggleOhlcValuesVisibility",checkable:!0,checked:r.showSeriesOHLC.value(),label:Ze,statName:"Show OHLC Values",onExecute:()=>Ne(e,r.showSeriesOHLC,Fe)})),a.push(new Be.Action({actionId:"Chart.Legend.ToggleBarChangeValuesVisibility",checkable:!0,checked:r.showBarChange.value(),label:Je,statName:"Show Bar Change Values",onExecute:()=>Ne(e,r.showBarChange,Ye)})),a.push(new Be.Action({actionId:"Chart.Legend.ToggleVolumeVisibility", @@ -45,8 +45,8 @@ const e=this._parentEl.classList.contains(c.touchMode)?Number(c.css_value_pane_c ;case"visibleOnMouseOver":e=this._globalVisibility.value()&&this._mouseOverWidget}this._parentEl.classList.toggle(c.hidden,!e),this._parentEl.classList.toggle(c.forceHidden,!this._globalVisibility.value()||t)}_updateThemedColor(e){if(e.length>0){const[t,s,i]=(0,d.parseRgb)(e);this._parentEl.style.color=(0,d.rgbaToString)([t,s,i,(0,d.normalizeAlphaComponent)(.8)])}else this._parentEl.style.removeProperty("color")}}var m=s(28296),g=s(97056),b=s(5123),v=s(48225),w=s(82313),S=s(54817),y=s(22184),M=s(92185);const f=(0,l.t)("Double click"),C=f,E=(0,o.humanReadableModifiers)(o.Modifiers.Mod)+f;var k=s(52714),V=s.n(k),x=s(6087),T=s(61814),W=s(35505),L=s(64716),A=s(73864),H=s(80610),B=s(7892),D=s(41174),P=s(37179),O=s(49941),I=s(54330);const z=i.mobiletouch,N=(0,l.t)("Delete pane"),R=(0,l.t)("Move pane up"),j=(0,l.t)("Move pane down"),F=(0,l.t)("Maximize pane"),Y=(0,l.t)("Restore pane"),U=(0,l.t)("Collapse pane"),X=(0,l.t)("Manage panes"),q=(0,l.t)("Double click"),G=(0,T.hotKeySerialize)({keys:[""],text:q}),$=(0,T.hotKeySerialize)({keys:[(0,o.humanReadableModifiers)(o.Modifiers.Mod,!1)],text:"{0} + "+q});class K{constructor(e,t,s,i,l){this._actions={},this._moreCMShown=!1,this._themedColor=new(V())(""),this._connectedToBroker=new(V())(!1),this._isDestroyed=!1,this._model=e,this._paneWidget=t,this._callbacks=i,this._closeButtonVisibility=new(V())(this._getCloseButtonVisibility()),this._upButtonVisibility=new(V())(this._getUpButtonVisibility()),this._downButtonVisibility=new(V())(this._getDownButtonVisibility()),this._maximizeButtonVisibility=new(V())(this._getMaximizeButtonVisibility()),this._minimizeButtonVisibility=new(V())(this._getMinimizeButtonVisibility()),this._collapseButtonVisibility=new(V())(this._getCollapseButtonVisibility()),this._restoreButtonVisibility=new(V())(this._getRestoreButtonVisibility()),this._createActions(),this._visibilityTypeProperty=(0,a.actualBehavior)(),this._visibilityTypeProperty.subscribe(this,e=>{this._visibilityType.setValue(e.value())}),this._visibilityType=new(V())(this._visibilityTypeProperty.value()),this._isPaneMaximize=new(V())(this._getIsPaneMaximizeValue()),this._isWidgetShow=new(V())(this._getIsWidgetShow()),this._backgroundThemeName=s.backgroundThemeName,this._renderer=new p(l,this._actions,{visibilityType:this._visibilityType.readonly(),globalVisibility:this._isWidgetShow.readonly(),doNotSwitchToContextMenuMode:this._isPaneMaximize.readonly(),forceContextMenuMode:this._connectedToBroker.readonly(),themedColor:this._themedColor.readonly()})}destroy(){this._visibilityTypeProperty.unsubscribeAll(this),this._renderer.destroy(),this._isDestroyed=!0}getElement(){return this._renderer.getElement()}bottomWithMargin(){return this._renderer.bottomWithMargin()}action(){return this._actions}update(){this._updateButtonsVisibility(),this._isPaneMaximize.setValue(this._getIsPaneMaximizeValue()),this._isWidgetShow.setValue(this._getIsWidgetShow())}updateWidgetModeByWidth(e){this._renderer.updateWidgetModeByWidth(e)}updateThemedColors(e){null===e&&(e=(0, x.getStdThemedValue)("chartProperties.paneProperties.background",this._backgroundThemeName.value())),this._themedColor.setValue(e||"")}async _subscribeOnConnectedToBroker(){const e=await waitTradingService();this._isDestroyed||(e.onConnectionStatusChange.subscribe(this,this._updateConnectedToBroker.bind(this)),this._updateConnectedToBroker(e.connectStatus()))}_updateConnectedToBroker(e){this._connectedToBroker.setValue(1===e)}_updateButtonsVisibility(){this._closeButtonVisibility.setValue(this._getCloseButtonVisibility()),this._upButtonVisibility.setValue(this._getUpButtonVisibility()),this._downButtonVisibility.setValue(this._getDownButtonVisibility()),this._maximizeButtonVisibility.setValue(this._getMaximizeButtonVisibility()),this._minimizeButtonVisibility.setValue(this._getMinimizeButtonVisibility()),this._collapseButtonVisibility.setValue(this._getCollapseButtonVisibility()),this._restoreButtonVisibility.setValue(this._getRestoreButtonVisibility())}_createActions(){this._actions.up={iconMap:new Map([["large",L],["small",L]]),action:this._onUpDownButton.bind(this,"up"),visible:this._upButtonVisibility,title:new(V())(R),className:c.up,dataset:{name:"pane-button-up"}},this._actions.down={iconMap:new Map([["large",A],["small",A]]),action:this._onUpDownButton.bind(this,"down"),visible:this._downButtonVisibility,title:new(V())(j),className:c.down,dataset:{name:"pane-button-down"}},this._actions.close={iconMap:new Map([["large",W],["small",W]]),action:this._onCloseButton.bind(this),visible:this._closeButtonVisibility,title:new(V())(N),dataset:{name:"pane-button-close"}},this._actions.maximize={iconMap:new Map([["large",D],["small",H]]),action:this._onToggleMaximizeButton.bind(this),visible:this._maximizeButtonVisibility,title:new(V())(F),hotKeyTitle:G,className:c.maximize,dataset:{name:"pane-button-maximize"}},this._actions.minimize={iconMap:new Map([["large",D],["small",H]]),action:this._onToggleMaximizeButton.bind(this),visible:this._minimizeButtonVisibility,title:new(V())(Y),hotKeyTitle:G,className:c.minimize,dataset:{name:"pane-button-minimize"}},this._actions.collapse={iconMap:new Map([["large",O],["small",O]]),action:this._onToggleCollapseButton.bind(this),visible:this._collapseButtonVisibility,title:new(V())(U),hotKeyTitle:$,className:c.collapse,dataset:{name:"pane-button-collapse"}},this._actions.restore={iconMap:new Map([["large",I],["small",I]]),action:this._onToggleCollapseButton.bind(this),visible:this._restoreButtonVisibility,title:new(V())(Y),hotKeyTitle:$,className:c.restore,dataset:{name:"pane-button-restore"}},this._actions.more={iconMap:new Map([["large",P],["small",B]]),action:this._showButtonsInContextMenu.bind(this),visible:new(V())(!z),title:new(V())(X),dataset:{name:"pane-button-more"}}}_getCloseButtonVisibility(){const e=this._paneWidget.state();let t=!1;return e.containsMainSeries()||e.maximized().value()||z||(t=e.dataSources().some(e=>(0,n.isStudy)(e))),t}_onCloseButton(){const e=this._model.model().panes().indexOf(this._paneWidget.state());this._model.removePane(e)}_getUpButtonVisibility(){ const e=this._paneWidget.state();return this._model.model().panes().indexOf(e)>0&&!e.maximized().value()&&!z}_getDownButtonVisibility(){const e=this._paneWidget.state(),t=this._model.model().panes();return t.indexOf(e)1&&!e.maximized().value()&&!z}_getMinimizeButtonVisibility(){const e=this._paneWidget.state();return this._model.model().panes().length>1&&e.maximized().value()}_getCollapseButtonVisibility(){if(z)return!1;const e=this._paneWidget.state();return!e.maximized().value()&&!e.collapsed().value()&&this._model.model().paneCollapsingAvailable().value()}_getRestoreButtonVisibility(){const e=this._paneWidget.state();return!e.maximized().value()&&e.collapsed().value()}_onToggleMaximizeButton(){this._callbacks.toggleMaximizePane(this._paneWidget)}_onToggleCollapseButton(){this._callbacks.toggleCollapsedPane(this._paneWidget)}_showButtonsInContextMenu(e){e.preventDefault(),this._moreCMShown||function(e,t,s){const i=[];if(e.maximize.visible.value()){const t=(0,r.ensure)(e.maximize.title),s=(0,r.ensureNotNull)(e.maximize.action);i.push(new m.Action({actionId:"Chart.PaneControls.MaximizePane",icon:S,label:t.value(),statName:"Maximize Pane",shortcutHint:C,onExecute:()=>s()}))}else if(e.minimize.visible.value()){const t=(0,r.ensure)(e.minimize.title),s=(0,r.ensureNotNull)(e.minimize.action);i.push(new m.Action({actionId:"Chart.PaneControls.MinimizePane",icon:S,label:t.value(),statName:"Minimize Pane",shortcutHint:C,onExecute:()=>s()}))}if(e.collapse.visible.value()){const t=(0,r.ensure)(e.collapse.title),s=(0,r.ensureNotNull)(e.collapse.action);i.push(new m.Action({actionId:"Chart.PaneControls.CollapsePane",icon:y,label:t.value(),statName:"Collapse pane",shortcutHint:E,onExecute:()=>s()}))}if(e.restore.visible.value()){const t=(0,r.ensure)(e.restore.title),s=(0,r.ensureNotNull)(e.restore.action);i.push(new m.Action({actionId:"Chart.PaneControls.RestorePane",icon:M,label:t.value(),statName:"Restore pane",shortcutHint:E,onExecute:()=>s()}))}if(e.up.visible.value()){const t=(0,r.ensure)(e.up.title),s=(0,r.ensureNotNull)(e.up.action);i.push(new m.Action({actionId:"Chart.PaneControls.MovePaneUp",icon:v,label:t.value(),statName:"Move pane up",onExecute:()=>s()}))}if(e.down.visible.value()){const t=(0,r.ensure)(e.down.title),s=(0,r.ensureNotNull)(e.down.action);i.push(new m.Action({actionId:"Chart.PaneControls.MovePaneDown",icon:w,label:t.value(),statName:"Move pane down",onExecute:()=>s()}))}if(e.close.visible.value()){const t=(0,r.ensure)(e.close.title),s=(0,r.ensureNotNull)(e.close.action);i.push(new m.Action({actionId:"Chart.PaneControls.DeletePane",icon:b,label:t.value(),statName:"Delete pane",onExecute:()=>s()}))}const l=(0,r.ensureNotNull)(t.target).getBoundingClientRect();return g.ContextMenuManager.showMenu(i,{clientX:l.right,clientY:l.top+l.height+3, -attachToXBy:"right"},void 0,void 0,s)}(this._actions,e,()=>{this._moreCMShown=!1}).then(()=>{this._moreCMShown=!0})}_getIsPaneMaximizeValue(){return this._paneWidget.state().maximized().value()}_getIsWidgetShow(){return this._model.model().panes().length>1}}},18166:(e,t,s)=>{"use strict";s.d(t,{createActionElement:()=>l});var i=s(80643);function l(e,t,s,l,o){const a=document.createElement("div");a.className=t,a.classList.toggle(l,!e.visible.value()),Object.assign(a.dataset,e.dataset),void 0!==e.className&&a.classList.add(e.className),void 0!==e.title&&(a.classList.add("apply-common-tooltip"),a.setAttribute("title",e.title.value()),void 0!==e.hotKeyTitle&&(a.dataset.tooltipHotkey=e.hotKeyTitle)),a.addEventListener("touchend",e.action),a.addEventListener("mousedown",t=>{0===t.button&&e.action(t)});const n=document.createElement("div");n.classList.add(s);const r=e.iconMap.get(o)||"";return(0,i.isString)(r)?n.innerHTML=r:n.appendChild(r),a.appendChild(n),a}},85197:(e,t,s)=>{"use strict";s.d(t,{trackingModeIsAvailable:()=>i});const i=s(49483).CheckMobile.any()},39640:(e,t,s)=>{"use strict";function i(e,t,s,i,l){function o(l){if(e>l.timeStamp)return;const o=l.target;void 0!==s&&null!==t&&null!==o&&o.ownerDocument===i&&(t.contains(o)||s(l))}return l.click&&i.addEventListener("click",o,!1),l.mouseDown&&i.addEventListener("mousedown",o,!1),l.touchEnd&&i.addEventListener("touchend",o,!1),l.touchStart&&i.addEventListener("touchstart",o,!1),()=>{i.removeEventListener("click",o,!1),i.removeEventListener("mousedown",o,!1),i.removeEventListener("touchend",o,!1),i.removeEventListener("touchstart",o,!1)}}s.d(t,{addOutsideEventListener:()=>i})},967:(e,t,s)=>{"use strict";s.d(t,{weekDaysShortNames:()=>o,weekDaysMiniNames:()=>a});var i=s(28353),l=s(84917);l.Months.JANUARY,(0,i.t)("January"),l.Months.FEBRUARY,(0,i.t)("February"),l.Months.MARCH,(0,i.t)("March"),l.Months.APRIL,(0,i.t)("April"),l.Months.MAY,(0,i.t)("May"),l.Months.JUNE,(0,i.t)("June"),l.Months.JULY,(0,i.t)("July"),l.Months.AUGUST,(0,i.t)("August"),l.Months.SEPTEMBER,(0,i.t)("September"),l.Months.OCTOBER,(0,i.t)("October"),l.Months.NOVEMBER,(0,i.t)("November"),l.Months.DECEMBER,(0,i.t)("December"),l.Months.JANUARY,(0,i.t)("Jan"),l.Months.FEBRUARY,(0,i.t)("Feb"),l.Months.MARCH,(0,i.t)("Mar"),l.Months.APRIL,(0,i.t)("Apr"),l.Months.MAY,(0,i.t)("May",{context:"short"}),l.Months.JUNE,(0,i.t)("Jun"),l.Months.JULY,(0,i.t)("Jul"),l.Months.AUGUST,(0,i.t)("Aug"),l.Months.SEPTEMBER,(0,i.t)("Sep"),l.Months.OCTOBER,(0,i.t)("Oct"),l.Months.NOVEMBER,(0,i.t)("Nov"),l.Months.DECEMBER,(0,i.t)("Dec"),l.WeekDays.SUNDAY,(0,i.t)("Sunday"),l.WeekDays.MONDAY,(0,i.t)("Monday"),l.WeekDays.TUESDAY,(0,i.t)("Tuesday"),l.WeekDays.WEDNESDAY,(0,i.t)("Wednesday"),l.WeekDays.THURSDAY,(0,i.t)("Thursday"),l.WeekDays.FRIDAY,(0,i.t)("Friday"),l.WeekDays.SATURDAY,(0,i.t)("Saturday");const o={[l.WeekDays.SUNDAY]:(0,i.t)("Sun"),[l.WeekDays.MONDAY]:(0,i.t)("Mon"),[l.WeekDays.TUESDAY]:(0,i.t)("Tue"),[l.WeekDays.WEDNESDAY]:(0,i.t)("Wed"),[l.WeekDays.THURSDAY]:(0,i.t)("Thu"),[l.WeekDays.FRIDAY]:(0,i.t)("Fri"), -[l.WeekDays.SATURDAY]:(0,i.t)("Sat")},a={[l.WeekDays.SUNDAY]:(0,i.t)("Su",{context:"day_of_week"}),[l.WeekDays.MONDAY]:(0,i.t)("Mo",{context:"day_of_week"}),[l.WeekDays.TUESDAY]:(0,i.t)("Tu",{context:"day_of_week"}),[l.WeekDays.WEDNESDAY]:(0,i.t)("We",{context:"day_of_week"}),[l.WeekDays.THURSDAY]:(0,i.t)("Th",{context:"day_of_week"}),[l.WeekDays.FRIDAY]:(0,i.t)("Fr",{context:"day_of_week"}),[l.WeekDays.SATURDAY]:(0,i.t)("Sa",{context:"day_of_week"})}},77975:(e,t,s)=>{"use strict";s.d(t,{useWatchedValueReadonly:()=>l});var i=s(59496);const l=(e,t=!1)=>{const s="watchedValue"in e?e.watchedValue:void 0,l="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[o,a]=(0,i.useState)(s?s.value():l);return(t?i.useLayoutEffect:i.useEffect)(()=>{if(s){a(s.value());const e=e=>a(e);return s.subscribe(e),()=>s.unsubscribe(e)}return()=>{}},[s]),o}},53448:e=>{e.exports=''},42125:e=>{e.exports=''},35067:e=>{ +attachToXBy:"right"},void 0,void 0,s)}(this._actions,e,()=>{this._moreCMShown=!1}).then(()=>{this._moreCMShown=!0})}_getIsPaneMaximizeValue(){return this._paneWidget.state().maximized().value()}_getIsWidgetShow(){return this._model.model().panes().length>1}}},18166:(e,t,s)=>{"use strict";s.d(t,{createActionElement:()=>l});var i=s(80643);function l(e,t,s,l,o){const a=document.createElement("div");a.className=t,a.classList.toggle(l,!e.visible.value()),Object.assign(a.dataset,e.dataset),void 0!==e.className&&a.classList.add(e.className),void 0!==e.title&&(a.classList.add("apply-common-tooltip"),a.setAttribute("title",e.title.value()),void 0!==e.hotKeyTitle&&(a.dataset.tooltipHotkey=e.hotKeyTitle)),a.addEventListener("touchend",e.action),a.addEventListener("mousedown",t=>{0===t.button&&e.action(t)});const n=document.createElement("div");n.classList.add(s);const r=e.iconMap.get(o)||"";return(0,i.isString)(r)?n.innerHTML=r:n.appendChild(r),a.appendChild(n),a}},85197:(e,t,s)=>{"use strict";s.d(t,{trackingModeIsAvailable:()=>i});const i=s(49483).CheckMobile.any()},39640:(e,t,s)=>{"use strict";function i(e,t,s,i,l){function o(l){if(e>l.timeStamp)return;const o=l.target;void 0!==s&&null!==t&&null!==o&&o.ownerDocument===i&&(t.contains(o)||s(l))}return l.click&&i.addEventListener("click",o,!1),l.mouseDown&&i.addEventListener("mousedown",o,!1),l.touchEnd&&i.addEventListener("touchend",o,!1),l.touchStart&&i.addEventListener("touchstart",o,!1),()=>{i.removeEventListener("click",o,!1),i.removeEventListener("mousedown",o,!1),i.removeEventListener("touchend",o,!1),i.removeEventListener("touchstart",o,!1)}}s.d(t,{addOutsideEventListener:()=>i})},967:(e,t,s)=>{"use strict";s.r(t),s.d(t,{monthsFullNames:()=>o,monthsShortNames:()=>a,weekDaysFullNames:()=>n,weekDaysShortNames:()=>r,weekDaysMiniNames:()=>d});var i=s(28353),l=s(84917);const o={[l.Months.JANUARY]:(0,i.t)("January"),[l.Months.FEBRUARY]:(0,i.t)("February"),[l.Months.MARCH]:(0,i.t)("March"),[l.Months.APRIL]:(0,i.t)("April"),[l.Months.MAY]:(0,i.t)("May"),[l.Months.JUNE]:(0,i.t)("June"),[l.Months.JULY]:(0,i.t)("July"),[l.Months.AUGUST]:(0,i.t)("August"),[l.Months.SEPTEMBER]:(0,i.t)("September"),[l.Months.OCTOBER]:(0,i.t)("October"),[l.Months.NOVEMBER]:(0,i.t)("November"),[l.Months.DECEMBER]:(0,i.t)("December")},a={[l.Months.JANUARY]:(0,i.t)("Jan"),[l.Months.FEBRUARY]:(0,i.t)("Feb"),[l.Months.MARCH]:(0,i.t)("Mar"),[l.Months.APRIL]:(0,i.t)("Apr"),[l.Months.MAY]:(0,i.t)("May",{context:"short"}),[l.Months.JUNE]:(0,i.t)("Jun"),[l.Months.JULY]:(0,i.t)("Jul"),[l.Months.AUGUST]:(0,i.t)("Aug"),[l.Months.SEPTEMBER]:(0,i.t)("Sep"),[l.Months.OCTOBER]:(0,i.t)("Oct"),[l.Months.NOVEMBER]:(0,i.t)("Nov"),[l.Months.DECEMBER]:(0,i.t)("Dec")},n={[l.WeekDays.SUNDAY]:(0,i.t)("Sunday"),[l.WeekDays.MONDAY]:(0,i.t)("Monday"),[l.WeekDays.TUESDAY]:(0,i.t)("Tuesday"),[l.WeekDays.WEDNESDAY]:(0,i.t)("Wednesday"),[l.WeekDays.THURSDAY]:(0,i.t)("Thursday"),[l.WeekDays.FRIDAY]:(0,i.t)("Friday"),[l.WeekDays.SATURDAY]:(0,i.t)("Saturday")},r={[l.WeekDays.SUNDAY]:(0,i.t)("Sun"),[l.WeekDays.MONDAY]:(0,i.t)("Mon"), +[l.WeekDays.TUESDAY]:(0,i.t)("Tue"),[l.WeekDays.WEDNESDAY]:(0,i.t)("Wed"),[l.WeekDays.THURSDAY]:(0,i.t)("Thu"),[l.WeekDays.FRIDAY]:(0,i.t)("Fri"),[l.WeekDays.SATURDAY]:(0,i.t)("Sat")},d={[l.WeekDays.SUNDAY]:(0,i.t)("Su",{context:"day_of_week"}),[l.WeekDays.MONDAY]:(0,i.t)("Mo",{context:"day_of_week"}),[l.WeekDays.TUESDAY]:(0,i.t)("Tu",{context:"day_of_week"}),[l.WeekDays.WEDNESDAY]:(0,i.t)("We",{context:"day_of_week"}),[l.WeekDays.THURSDAY]:(0,i.t)("Th",{context:"day_of_week"}),[l.WeekDays.FRIDAY]:(0,i.t)("Fr",{context:"day_of_week"}),[l.WeekDays.SATURDAY]:(0,i.t)("Sa",{context:"day_of_week"})}},77975:(e,t,s)=>{"use strict";s.d(t,{useWatchedValueReadonly:()=>l});var i=s(59496);const l=(e,t=!1)=>{const s="watchedValue"in e?e.watchedValue:void 0,l="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[o,a]=(0,i.useState)(s?s.value():l);return(t?i.useLayoutEffect:i.useEffect)(()=>{if(s){a(s.value());const e=e=>a(e);return s.subscribe(e),()=>s.unsubscribe(e)}return()=>{}},[s]),o}},53448:e=>{e.exports=''},42125:e=>{e.exports=''},35067:e=>{ e.exports=''},35671:e=>{ e.exports='' },96095:e=>{e.exports=''},13719:e=>{e.exports=''},44509:e=>{e.exports=''},97142:e=>{e.exports=''},51855:e=>{e.exports=''},38197:e=>{ diff --git a/charting_library/bundles/context-menu-renderer.c51a5b07782e9509b684.js b/charting_library/bundles/context-menu-renderer.c51a5b07782e9509b684.js deleted file mode 100644 index 5acf25ce..00000000 --- a/charting_library/bundles/context-menu-renderer.c51a5b07782e9509b684.js +++ /dev/null @@ -1,3 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1584],{59142:function(e,t){var o,n,r;n=[t],void 0===(r="function"==typeof(o=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},16842:e=>{e.exports={ -favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},46608:(e,t,o)=>{"use strict";o.r(t),o.d(t,{ContextMenuRenderer:()=>c});var n=o(59496),r=o(87995),i=o(29332),s=o(62820),a=o(50655);class c{constructor(e,t,o,r){this._root=document.createElement("div"),this._isShown=!1,this._manager=null,this._props={isOpened:!1,items:e,position:{x:0,y:0},menuStatName:t.statName,mode:t.mode,"data-name":t["data-name"]},this._onDestroy=o,this._onShow=r,this._activeElement=document.activeElement,this._returnFocus=t.returnFocus,this._takeFocus=t.takeFocus,this._menuElementRef=n.createRef(),this._doNotCloseOn=t.doNotCloseOn,t.manager&&(this._manager=t.manager)}show(e){this._onShow&&this._onShow(),this._isShown=!0,this._render({...this._props,position:(t,o,n)=>{var r,i,a;e.touches&&e.touches.length>0&&(e={clientX:e.touches[0].clientX,clientY:e.touches[0].clientY});let c;switch(null!==(r=e.attachToXBy)&&void 0!==r?r:(0,s.isRtl)()?"right":"left"){case"left":c=e.clientX;break;case"right":c=e.clientX-t}let l,u=null!==(i=e.attachToYBy)&&void 0!==i?i:"auto",d=e.clientY;if("auto-strict"===u){const t=d+(null!==(a=e.boxHeight)&&void 0!==a?a:0);n{this.hide(),this._unmount()},doNotCloseOn:this._doNotCloseOn,takeFocus:this._takeFocus,menuElementReference:this._menuElementRef})}hide(){this._isShown=!1,this._render({...this._props,isOpened:!1})}isShown(){return this._isShown}_unmount(){this._isShown=!1,r.unmountComponentAtNode(this._root),this._onDestroy&&this._onDestroy(),this._returnFocus&&this._activeElement instanceof HTMLElement&&this._activeElement.focus({preventScroll:!0})}_render(e){r.render(n.createElement(a.SlotContext.Provider,{value:this._manager},n.createElement(i.OverlapContextMenu,{...e})),this._root)}}},39640:(e,t,o)=>{"use strict";function n(e,t,o,n,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==o&&null!==t&&null!==i&&i.ownerDocument===n&&(t.contains(i)||o(r))}return r.click&&n.addEventListener("click",i,!1),r.mouseDown&&n.addEventListener("mousedown",i,!1),r.touchEnd&&n.addEventListener("touchend",i,!1),r.touchStart&&n.addEventListener("touchstart",i,!1),()=>{n.removeEventListener("click",i,!1),n.removeEventListener("mousedown",i,!1),n.removeEventListener("touchend",i,!1),n.removeEventListener("touchstart",i,!1)}}o.d(t,{addOutsideEventListener:()=>n})},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerManager:()=>r,DrawerContext:()=>i});var n=o(59496);class r extends n.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 n.createElement(i.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer} -},this.props.children)}}const i=n.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>v});var n=o(59496),r=o(88537),i=o(97754),s=o(59142),a=o(99054),c=o(65718),l=o(37558),u=o(49483),d=o(29197),h=o(66998);function v(e){const{position:t="Bottom",onClose:o,children:v,className:m,theme:w=h}=e,p=(0,r.ensureNotNull)((0,n.useContext)(l.DrawerContext)),[f,g]=(0,n.useState)(0),E=(0,n.useRef)(null),_=(0,n.useContext)(d.CloseDelegateContext);return(0,n.useEffect)(()=>{const e=(0,r.ensureNotNull)(E.current);return e.focus({preventScroll:!0}),_.subscribe(p,o),0===p.currentDrawer&&(0,a.setFixedBodyState)(!0),u.CheckMobile.iOS()&&(0,s.disableBodyScroll)(e),g(p.addDrawer()),()=>{_.unsubscribe(p,o);const t=p.removeDrawer();u.CheckMobile.iOS()&&(0,s.enableBodyScroll)(e),0===t&&(0,a.setFixedBodyState)(!1)}},[]),n.createElement(c.Portal,null,n.createElement("div",{className:i(h.wrap,h["position"+t])},f===p.currentDrawer&&n.createElement("div",{className:h.backdrop,onClick:o}),n.createElement("div",{className:i(h.drawer,w.drawer,h["position"+t],m),ref:E,tabIndex:-1,"data-name":e["data-name"]},v)))}},36189:(e,t,o)=>{"use strict";o.d(t,{FavoriteButton:()=>d});var n=o(28353),r=o(59496),i=o(97754),s=o(9745),a=o(20614),c=o(55783),l=o(16842);const u={add:(0,n.t)("Add to favorites"),remove:(0,n.t)("Remove from favorites")};function d(e){const{className:t,isFilled:o,isActive:n,onClick:d,...h}=e;return r.createElement(s.Icon,{...h,className:i(l.favorite,"apply-common-tooltip",o&&l.checked,n&&l.active,t),icon:o?a:c,onClick:d,title:o?u.remove:u.add})}},37049:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/context-menu-renderer.e8aa606750391369d706.js b/charting_library/bundles/context-menu-renderer.e8aa606750391369d706.js new file mode 100644 index 00000000..4090fdd7 --- /dev/null +++ b/charting_library/bundles/context-menu-renderer.e8aa606750391369d706.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1584],{66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},16059:e=>{e.exports={menuWrap:"menuWrap-8MKeZifP",isMeasuring:"isMeasuring-8MKeZifP",scrollWrap:"scrollWrap-8MKeZifP",momentumBased:"momentumBased-8MKeZifP",menuBox:"menuBox-8MKeZifP",isHidden:"isHidden-8MKeZifP"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>s});var r=n(59496);const s=r.forwardRef((e,t)=>{const{icon:n="",...s}=e;return r.createElement("span",{...s,ref:t,dangerouslySetInnerHTML:{__html:n}})})},46608:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ContextMenuRenderer:()=>a});var r=n(59496),s=n(87995),o=n(29332),i=n(62820),l=n(50655);class a{constructor(e,t,n,s){this._root=document.createElement("div"),this._isShown=!1,this._manager=null,this._props={isOpened:!1,items:e,position:{x:0,y:0},menuStatName:t.statName,mode:t.mode,"data-name":t["data-name"]},this._onDestroy=n,this._onShow=s,this._activeElement=document.activeElement,this._returnFocus=t.returnFocus,this._takeFocus=t.takeFocus,this._menuElementRef=r.createRef(),this._doNotCloseOn=t.doNotCloseOn,t.manager&&(this._manager=t.manager)}show(e){this._onShow&&this._onShow(),this._isShown=!0,this._render({...this._props,position:(t,n,r)=>{var s,o,l;e.touches&&e.touches.length>0&&(e={clientX:e.touches[0].clientX,clientY:e.touches[0].clientY});let a;switch(null!==(s=e.attachToXBy)&&void 0!==s?s:(0,i.isRtl)()?"right":"left"){case"left":a=e.clientX;break;case"right":a=e.clientX-t}let c,u=null!==(o=e.attachToYBy)&&void 0!==o?o:"auto",d=e.clientY;if("auto-strict"===u){const t=d+(null!==(l=e.boxHeight)&&void 0!==l?l:0);r{this.hide(),this._unmount()},doNotCloseOn:this._doNotCloseOn,takeFocus:this._takeFocus,menuElementReference:this._menuElementRef})}hide(){this._isShown=!1,this._render({...this._props,isOpened:!1})}isShown(){return this._isShown}_unmount(){this._isShown=!1,s.unmountComponentAtNode(this._root),this._onDestroy&&this._onDestroy(),this._returnFocus&&this._activeElement instanceof HTMLElement&&this._activeElement.focus({preventScroll:!0})}_render(e){s.render(r.createElement(l.SlotContext.Provider,{value:this._manager},r.createElement(o.OverlapContextMenu,{...e})),this._root)}}},39640:(e,t,n)=>{"use strict";function r(e,t,n,r,s){function o(s){if(e>s.timeStamp)return;const o=s.target;void 0!==n&&null!==t&&null!==o&&o.ownerDocument===r&&(t.contains(o)||n(s))}return s.click&&r.addEventListener("click",o,!1),s.mouseDown&&r.addEventListener("mousedown",o,!1), +s.touchEnd&&r.addEventListener("touchend",o,!1),s.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,{addOutsideEventListener:()=>r})},68722:(e,t,n)=>{"use strict";n.d(t,{getScrollbarWidth:()=>r,matchMediaMinMax:()=>s,setStyle:()=>o,getCSSProperty:()=>i,getCSSPropertyNumericValue:()=>l});const r=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),r=n.style;r.visibility="hidden",r.width="100px",r.msOverflowStyle="scrollbar",document.body.appendChild(n);const s=n.offsetWidth;n.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",n.appendChild(o);const i=o.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=s-i}return e}})();function s(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function o(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function l(e,t){return parseInt(i(e,t))}},43989:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>i});var r=n(68722);let s=0,o=!1;function i(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++s){const e=(0,r.getCSSProperty)(t,"overflow"),s=(0,r.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,r.setStyle)(n,"right",(0,r.getScrollbarWidth)()+"px"),t.style.paddingRight=s+(0,r.getScrollbarWidth)()+"px",o=!0),t.classList.add("i-no-scroll")}else if(!e&&s>0&&0==--s&&(t.classList.remove("i-no-scroll"),o)){(0,r.setStyle)(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,r.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",o=!1}}},37558:(e,t,n)=>{"use strict";n.d(t,{DrawerManager:()=>s,DrawerContext:()=>o});var r=n(59496);class s extends r.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 r.createElement(o.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const o=r.createContext(null)},41590:(e,t,n)=>{"use strict";n.d(t,{Drawer:()=>p});var r=n(59496),s=n(88537),o=n(97754),i=n(59142),l=n(43989),a=n(65718),c=n(37558),u=n(49483),d=n(29197),h=n(66998);function p(e){const{position:t="Bottom",onClose:n,children:p,className:m,theme:v=h}=e,f=(0,s.ensureNotNull)((0,r.useContext)(c.DrawerContext)),[_,g]=(0,r.useState)(0),w=(0,r.useRef)(null),x=(0,r.useContext)(d.CloseDelegateContext);return(0,r.useEffect)(()=>{const e=(0,s.ensureNotNull)(w.current);return e.focus({preventScroll:!0}),x.subscribe(f,n),0===f.currentDrawer&&(0,l.setFixedBodyState)(!0),u.CheckMobile.iOS()&&(0,i.disableBodyScroll)(e), +g(f.addDrawer()),()=>{x.unsubscribe(f,n);const t=f.removeDrawer();u.CheckMobile.iOS()&&(0,i.enableBodyScroll)(e),0===t&&(0,l.setFixedBodyState)(!1)}},[]),r.createElement(a.Portal,null,r.createElement("div",{className:o(h.wrap,h["position"+t])},_===f.currentDrawer&&r.createElement("div",{className:h.backdrop,onClick:n}),r.createElement("div",{className:o(h.drawer,v.drawer,h["position"+t],m),ref:w,tabIndex:-1,"data-name":e["data-name"]},p)))}},36189:(e,t,n)=>{"use strict";n.d(t,{FavoriteButton:()=>d});var r=n(28353),s=n(59496),o=n(97754),i=n(9745),l=n(20614),a=n(55783),c=n(16842);const u={add:(0,r.t)("Add to favorites"),remove:(0,r.t)("Remove from favorites")};function d(e){const{className:t,isFilled:n,isActive:r,onClick:d,...h}=e;return s.createElement(i.Icon,{...h,className:o(c.favorite,"apply-common-tooltip",n&&c.checked,r&&c.active,t),icon:n?l:a,onClick:d,title:n?u.remove:u.add})}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>o});var r=n(59496),s=n(39640);function o(e){const{click:t,mouseDown:n,touchEnd:o,touchStart:i,handler:l,reference:a,ownerDocument:c=document}=e,u=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:o,touchStart:i},r=a?a.current:u.current;return(0,s.addOutsideEventListener)(d.current,r,l,c,e)},[t,n,o,i,l]),a||u}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>s});var r=n(59496);class s extends r.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)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>r});const r=n(59496).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>f,Menu:()=>_});var r=n(59496),s=n(97754),o=n.n(s),i=n(88537),l=n(64514),a=n(54475),c=n(50655),u=n(59064),d=n(88216),h=n(25760),p=n(14758),m=n(64706),v=n(16059);const f=v;class _ extends r.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e), +"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,r,s,o;if(this.state.isMeasureValid&&!t)return;const{position:a}=this.props,c=(0,i.ensureNotNull)(this._containerRef);let u=c.getBoundingClientRect();const d=document.documentElement.clientHeight,h=document.documentElement.clientWidth,p=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let m=d-0-p;const v=u.height>m;if(v){(0,i.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",u=c.getBoundingClientRect()}const{width:f,height:_}=u,g="function"==typeof a?a(f,_,d):a,w=h-(null!==(r=g.overrideWidth)&&void 0!==r?r:f)-0,x=(0,l.clamp)(g.x,0,Math.max(0,w)),C=0+p,y=d-(null!==(s=g.overrideHeight)&&void 0!==s?s:_)-0;let S=(0,l.clamp)(g.y,C,Math.max(C,y));if(g.forbidCorrectYCoord&&S{this._restoreScrollPosition(),e&&e()})},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,i.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null}))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout(()=>{this._handleMeasure({forceRecalcPosition:!0})},80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame(()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null})))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize);const t=null!==this.context;this._hotkeys||t||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this._handleGlobalClose()})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){ +const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":s,children:i,minWidth:l,theme:u=v,className:d,maxHeight:h,onMouseOver:f,onMouseOut:_,onKeyDown:w,onFocus:x,onBlur:C}=this.props,{appearingMenuHeight:y,appearingMenuWidth:S,appearingPosition:b,isMeasureValid:M}=this.state;return r.createElement(m.MenuContext.Provider,{value:this},r.createElement(p.SubmenuHandler,null,r.createElement(c.SlotContext.Provider,{value:this._manager},r.createElement("div",{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":s,className:o()(d,u.menuWrap,!M&&u.isMeasuring),style:{height:y,left:b&&b.x,minWidth:l,position:"fixed",top:b&&b.y,width:S},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:f,onMouseOut:_,onKeyDown:w,onFocus:x,onBlur:C},r.createElement("div",{className:o()(u.scrollWrap,!this.props.noMomentumBasedScroll&&u.momentumBased),style:{overflowY:void 0!==y?"scroll":"auto",maxHeight:h},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},r.createElement(g,{className:u.menuBox},i)))),r.createElement(c.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}}function g(e){const t=(0,i.ensureNotNull)((0,r.useContext)(p.SubmenuContext)),n=r.useRef(null);return r.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(r=e.target,null===(s=n.current)||void 0===s?void 0:s.contains(r))))return;var r,s;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}_.contextType=p.SubmenuContext},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>o,getRootOverlapManager:()=>l});var r=n(88537);class s{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 o{constructor(e=document){this._storage=new s,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 i=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,r.ensureDefined)(i.get(t));{const t=new o(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 i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>o});var r=n(59496),s=n(59064);const o=r.createContext(s.globalCloseDelegate)},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>c});var r=n(59496),s=n(87995),o=n(9423),i=n(88216),l=n(50655);class a extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,o.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||"",s.createPortal(r.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const c=r.createContext(null)},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>u});var r=n(28353),s=n(59496),o=n(97754),i=n(9745),l=n(73366),a=n(73432);const c={remove:(0,r.t)("Remove")};function u(e){const{className:t,isActive:n,onClick:r,onMouseDown:u,title:d,hidden:h,"data-name":p="remove-button",...m}=e;return s.createElement(i.Icon,{...m,"data-name":p,className:o(a.button,"apply-common-tooltip",n&&a.active,h&&a.hidden,t),icon:l,onClick:r,onMouseDown:u,title:d||c.remove})}},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>s,SlotContext:()=>o});var r=n(59496);class s 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 o=r.createContext(null)},14758:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>s,SubmenuHandler:()=>o});var r=n(59496);const s=r.createContext(null);function o(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(null),i=(0,r.useRef)(new Map);return(0,r.useEffect)(()=>()=>{null!==o.current&&clearTimeout(o.current)},[]),r.createElement(s.Provider,{value:{current:t,setCurrent:function(e){null!==o.current&&(clearTimeout(o.current),o.current=null);null===t?n(e):o.current=setTimeout(()=>{o.current=null,n(e)},100)},registerSubmenu:function(e,t){return i.current.set(e,t),()=>{i.current.delete(e)}},isSubmenuNode:function(e){return Array.from(i.current.values()).some(t=>t(e))}}},e.children)}},73366:e=>{e.exports=''},37049:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/cookies-notification.9ed1e7a17da61937dc4e.js b/charting_library/bundles/cookies-notification.9ed1e7a17da61937dc4e.js new file mode 100644 index 00000000..d6f614b8 --- /dev/null +++ b/charting_library/bundles/cookies-notification.9ed1e7a17da61937dc4e.js @@ -0,0 +1,9 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8869,4291],{26390:e=>{e.exports={switcher:"switcher-GT7Z98Io","disable-cursor-pointer":"disable-cursor-pointer-GT7Z98Io",input:"input-GT7Z98Io","thumb-wrapper":"thumb-wrapper-GT7Z98Io","size-small":"size-small-GT7Z98Io","size-large":"size-large-GT7Z98Io","intent-default":"intent-default-GT7Z98Io","disable-active-state-styles":"disable-active-state-styles-GT7Z98Io","intent-select":"intent-select-GT7Z98Io",track:"track-GT7Z98Io",thumb:"thumb-GT7Z98Io"}},5553:e=>{e.exports={toast:"toast-x9aer5B8","intent-success":"intent-success-x9aer5B8","intent-warning":"intent-warning-x9aer5B8","intent-danger":"intent-danger-x9aer5B8",image:"image-x9aer5B8","main-content":"main-content-x9aer5B8",title:"title-x9aer5B8","main-text":"main-text-x9aer5B8","secondary-text":"secondary-text-x9aer5B8",actions:"actions-x9aer5B8","close-icon":"close-icon-x9aer5B8","close-button":"close-button-x9aer5B8","adjust-for-close-button":"adjust-for-close-button-x9aer5B8"}},7881:e=>{e.exports={"toast-wrapper":"toast-wrapper-LaQcqQbu",compact:"compact-LaQcqQbu"}},19107:e=>{e.exports={cookiesNotification:"cookiesNotification-W4Y0hWcd","cookies-link":"cookies-link-W4Y0hWcd",actionBtn:"actionBtn-W4Y0hWcd",acceptAll:"acceptAll-W4Y0hWcd",managePreferences:"managePreferences-W4Y0hWcd"}},14070:e=>{e.exports={privacyPreferenceDialog:"privacyPreferenceDialog-vDbnNLqD",privacyPreference:"privacyPreference-vDbnNLqD",close:"close-vDbnNLqD",title:"title-vDbnNLqD",availableCookieElement:"availableCookieElement-vDbnNLqD",cookieTitle:"cookieTitle-vDbnNLqD",switchTitle:"switchTitle-vDbnNLqD",cookieContent:"cookieContent-vDbnNLqD",moreInfoLink:"moreInfoLink-vDbnNLqD",nowrap:"nowrap-vDbnNLqD",icon:"icon-vDbnNLqD",btnBlock:"btnBlock-vDbnNLqD",savePreferences:"savePreferences-vDbnNLqD"}},21942:e=>{e.exports={closeButton:"closeButton-oXu4cxSp",tabHeader:"tabHeader-oXu4cxSp",title:"title-oXu4cxSp",description:"description-oXu4cxSp",backButton:"backButton-oXu4cxSp"}},99062:e=>{e.exports={"toast-positioning-wrapper":"toast-positioning-wrapper-uEa3054V",compact:"compact-uEa3054V","location-bottom-left":"location-bottom-left-uEa3054V","location-bottom-right":"location-bottom-right-uEa3054V",hidden:"hidden-uEa3054V",added:"added-uEa3054V"}},86332:(e,t,o)=>{"use strict";o.d(t,{ControlGroupContext:()=>n});const n=o(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,o)=>{"use strict";function n(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}o.d(t,{getGroupCellRemoveRoundBorders:()=>n})},17946:(e,t,o)=>{"use strict";o.d(t,{CustomBehaviourContext:()=>n,presetDefault:()=>s,presetPlatform:()=>a});const n=(0,o(59496).createContext)({enablePointerOnHover:!0,enableActiveStateStyles:!0}),s={enableActiveStateStyles:!0,enablePointerOnHover:!0},a={enableActiveStateStyles:!1,enablePointerOnHover:!1}},9745:(e,t,o)=>{"use strict";o.d(t,{Icon:()=>s});var n=o(59496);const s=n.forwardRef((e,t)=>{ +const{icon:o="",...s}=e;return n.createElement("span",{...s,ref:t,dangerouslySetInnerHTML:{__html:o}})})},17290:(e,t,o)=>{"use strict";o.d(t,{Switch:()=>l});var n=o(59496),s=o(97754),a=o(17946),i=o(26390),r=o.n(i);function c(e){const t=(0,n.useContext)(a.CustomBehaviourContext),{className:o,intent:i="default",size:c="small",enablePointerOnHover:l=t.enablePointerOnHover,enableActiveStateStyles:u=t.enableActiveStateStyles}=e;return s(o,r().switcher,r()["size-"+c],r()["intent-"+i],!l&&r()["disable-cursor-pointer"],!u&&r()["disable-active-state-styles"])}function l(e){const{reference:t,size:o,intent:s,...a}=e;return n.createElement("div",{className:c(e)},n.createElement("input",{...a,type:"checkbox",className:r().input,ref:t}),n.createElement("div",{className:r()["thumb-wrapper"]},n.createElement("div",{className:r().track}),n.createElement("div",{className:r().thumb})))}},22032:(e,t,o)=>{"use strict";o.d(t,{Toast:()=>f});var n,s=o(59496),a=o(97754);!function(e){e.Default="default",e.Success="success",e.Warning="warning",e.Danger="danger"}(n||(n={}));var i=o(9745),r=o(95781),c=o(5553),l=o.n(c);const u=s.forwardRef((e,t)=>{const{className:o,onClick:n,tabIndex:c}=e;return s.createElement("button",{type:"button",className:a(l()["close-button"],o),tabIndex:c,onClick:n,ref:t},s.createElement(i.Icon,{icon:r,className:l()["close-icon"]}))});function d(e){const{children:t,role:o,className:i,intent:r=n.Default}=e,c=a(l().toast,r!==n.Default&&l()["intent-"+r],i);return s.createElement("article",{className:c,role:o},t)}function m(e){const{children:t}=e;return s.createElement("div",{className:l().image},t)}function h(e){const{children:t,className:o}=e;return s.createElement("h2",{className:a(l().title,o)},t)}function g(e){const{children:t,className:o}=e;return s.createElement("p",{className:a(l()["main-text"],o)},t)}function p(e){const{children:t}=e;return s.createElement("div",{className:l().actions},t)}function v(e){const{children:t}=e;return s.createElement("p",{className:l()["secondary-text"]},t)}const f=s.memo(e=>{const{title:t,text:o,secondaryText:n,image:i,actions:r,intent:c,role:f="status",showCloseButton:y=!1,onClose:k,onAutoFocus:_,className:C}=e,b=s.useRef(null),w=y&&!i?l()["adjust-for-close-button"]:void 0,S=!y||i||t?void 0:l()["adjust-for-close-button"];return s.useEffect(()=>{"alert"===f&&(void 0!==_?_():null!==b.current&&b.current.focus())},[]),s.createElement(d,{intent:c,role:f,className:C},y&&s.createElement(u,{ref:b,onClick:k}),i&&s.createElement(m,null,i),s.createElement("div",{className:a(l()["main-content"],y&&l()["with-close-button"])},t&&s.createElement(h,{className:w},t),o&&s.createElement(g,{className:S},o),r&&s.createElement(p,null,r),n&&s.createElement(v,null,n)))})},90186:(e,t,o)=>{"use strict";function n(e){return a(e,i)}function s(e){return a(e,r)}function a(e,t){const o=Object.entries(e).filter(t),n={};for(const[e,t]of o)n[e]=t;return n}function i(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function r(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>n, +filterAriaProps:()=>s,filterProps:()=>a,isDataAttribute:()=>i,isAriaAttribute:()=>r})},22064:(e,t,o)=>{"use strict";o.d(t,{createDomId:()=>c,joinDomIds:()=>l});const n=/\s/g;function s(e){return"string"==typeof e}function a(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function i(e){return e.trim().length>0}function r(e){return e.replace(n,"-")}function c(...e){const t=e.map(a).filter(s).filter(i).map(r);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function l(...e){return e.map(a).filter(s).filter(i).join(" ")}},56139:(e,t,o)=>{"use strict";o.r(t),o.d(t,{globalToasts:()=>L,showToast:()=>x});var n=o(59496),s=o(97754),a=o(87995),i=o(9423),r=o(65718),c=o(50655),l=o(88216),u=o(36947),d=o(65355);class m{constructor(e){this._animationStage=d.ToastAnimationStage.Add,this._keys=new Map,this._element=null,this.render=e=>this._render(e),this.remove=()=>this._currentToastsLayer.removeToast(this);const{priority:t,origin:o,currentLayer:n,onLayerChange:s,render:a,onMouseOver:i,onMouseOut:r}=e;this._staticData=Object.freeze({priority:t,origin:o,onLayerChange:s,onMouseOver:i,onMouseOut:r}),this._currentToastsLayer=n||o,this._render=a}getStaticData(){return this._staticData}migrate(e){this._currentToastsLayer=e,this._animationStage=d.ToastAnimationStage.Add}getCurrentLayer(){return this._currentToastsLayer}isForeign(){return this._staticData.origin!==this._currentToastsLayer}getAnimationStage(){return this._animationStage}setAnimationStage(e){this._animationStage=e}setKey(e,t){this._keys.set(e,t)}getKey(e=this._currentToastsLayer){return this._keys.get(e)}getElement(){return this._element}setElement(e){this._element=e}}var h=o(99062);const g={position:"fixed",left:"0",bottom:"0",right:"0",zIndex:145};class p{constructor(e,t,o=g,n){this._toasts={[d.ToastPriority.Low]:[],[d.ToastPriority.Medium]:[],[d.ToastPriority.High]:[]},this._container=void 0!==t?t:document.body,this._suggestedLayout=void 0!==e?e:"loose",this._location=null!=n?n:"bottom-left",this._manager=new l.OverlapManager(document),this._overlapManagerContainer=function(e,t={}){const o=e.createElement("div");return o.dataset.role="toast-container",f(o,{...g,...t}),o}(document,o),this._manager.setContainer(this._overlapManagerContainer),this._container.appendChild(this._overlapManagerContainer),this._detachedContainer=document.createElement("div")}showToast(e){const{render:t,priority:o=d.ToastPriority.Medium,index:n,origin:s=this,onLayerChange:a,onMouseOver:i,onMouseOut:r}=e,c=new m({priority:o,origin:s,currentLayer:this,render:t,onLayerChange:a,onMouseOver:i,onMouseOut:r}),l=this._getNextKey();return c.setKey(this,l),"compact"===this._suggestedLayout&&o===d.ToastPriority.Low?Promise.all(this._toasts[d.ToastPriority.Low].map(e=>this.removeToast(e))).then(()=>{this._add(c,n),this._render()}):(this._add(c,n),this._render()),c}showExistingToast(e){const t=this._getNextKey();return e.setKey(this,t),this._add(e),this._render(),e}removeToast(e){ +return new Promise(t=>{e.setAnimationStage(d.ToastAnimationStage.Remove),this._render(),setTimeout(()=>{this._remove(e),this._render(),t()},250)})}update(e){const{suggestedLayout:t,location:o,container:n,rootContainerOptions:s}=e;let a=!1,i=!1;void 0!==t&&t!==this._suggestedLayout&&(this._setSuggestedLayout(t),a=!0),void 0!==o&&(this._setLocation(o),i=!0),void 0!==n&&(this._setContainer(n),i=!0),void 0!==s&&(this._updateRootContainer(s),i=!0),a?"compact"===this._suggestedLayout&&this._toasts[d.ToastPriority.Low].slice(0,-1).forEach(e=>this.removeToast(e)):i&&this._render()}getToasts(){return this._toasts}forceRender(){this._render()}merge(e){v(e.getToasts()).forEach(async t=>{const o=t.getStaticData();await t.remove(),t.migrate(this),this.showExistingToast(t),void 0!==o.onLayerChange&&o.onLayerChange(e,this)})}split(e){v(this._toasts).filter(e=>e.isForeign()).forEach(async t=>{const o=t.getStaticData();await t.remove(),t.migrate(e),e.showExistingToast(t),void 0!==o.onLayerChange&&o.onLayerChange(this,e)})}reset(){this._toasts={[d.ToastPriority.Low]:[],[d.ToastPriority.Medium]:[],[d.ToastPriority.High]:[]},this._render()}destroy(){this._removeRootContainer()}_removeRootContainer(){a.unmountComponentAtNode(this._detachedContainer),this._detachedContainer.remove(),this._overlapManagerContainer.remove()}_getToastsList(e){const t=e.getStaticData().priority;return this._toasts[t]}_normalizeIndex(e,t){return e<0?0:e>t.length?t.length:e}_add(e,t){const o=this._getToastsList(e);if(void 0!==t){const n=this._normalizeIndex(t,o);o.splice(n,0,e)}else o.push(e)}_remove(e){const t=this._getToastsList(e),o=t.indexOf(e);o>=0&&t.splice(o,1)}_render(){const e=v(this._toasts);a.render(n.createElement(_,{toasts:e,suggestedLayout:this._suggestedLayout,location:this._location,manager:this._manager,layer:this}),this._detachedContainer)}_setSuggestedLayout(e){e!==this._suggestedLayout&&(this._suggestedLayout=e)}_setLocation(e){e!==this._location&&(this._location=e)}_setContainer(e){e!==this._container&&(this._container=e,this._container.appendChild(this._overlapManagerContainer))}_updateRootContainer(e){f(this._overlapManagerContainer,e)}_getNextKey(){return(0,i.randomHashN)(5)}}function v(e){return[...e[d.ToastPriority.Low],...e[d.ToastPriority.Medium],...e[d.ToastPriority.High]]}function f(e,t){const{top:o,right:n,bottom:s,left:a,position:i,zIndex:r}=t;void 0!==i&&(e.style.position=i),void 0!==r&&(e.style.zIndex=String(r)),void 0!==o&&(e.style.top=o),void 0!==n&&(e.style.right=n),void 0!==s&&(e.style.bottom=s),void 0!==a&&(e.style.left=a)}function y(e,t,o){return e.getKey(o)||t.toString(10)}function k(e){const{toast:t,toasts:o,layer:a,suggestedLayout:i,location:c,forceRender:l}=e,u=(0,n.useRef)(null),m=t.getAnimationStage(),g=m!==d.ToastAnimationStage.None,p=m===d.ToastAnimationStage.Add,v=function(e,t,o){var n;const s=t.indexOf(e),a=y(e,s,o);let i=0;for(const e of t){const r=t.indexOf(e),c=y(e,r,o),l=(null===(n=e.getElement())||void 0===n?void 0:n.offsetHeight)||0,u=e.getAnimationStage()!==d.ToastAnimationStage.None;let m=0 +;u&&c===a?m=1:!u&&s{if(t.getCurrentLayer()!==a||t.getAnimationStage()!==d.ToastAnimationStage.Add||null===u.current)return;const e=t.getElement();null===e||e!==u.current?(t.setElement(u.current),l()):(t.setAnimationStage(d.ToastAnimationStage.None),l())}),n.createElement(r.Portal,{layerOptions:{position:"absolute"},left:"0",right:"0"},n.createElement("div",{onMouseOver:t.getStaticData().onMouseOver,onMouseOut:t.getStaticData().onMouseOut,className:f,style:{transform:`translateY(${v}px)`},ref:u},t.render({onRemove:t.remove,suggestedLayout:i})))}function _(e){const{toasts:t,suggestedLayout:o,location:s,manager:a,layer:i}=e,r=(0,u.useForceUpdate)();return n.createElement(c.SlotContext.Provider,{value:a},t.map((e,a)=>n.createElement(k,{key:y(e,a,i),toast:e,toasts:t,layer:i,suggestedLayout:o,location:s,forceRender:r})))}var C=o(86240),b=o(7881);const w=C["media-mf-phone-landscape"];function S(e){const{suggestedLayout:t,children:o}=e;return n.createElement("div",{className:s(b["toast-wrapper"],"compact"===t&&b.compact)},o)}const L=new class{constructor(){var e;this._mediaQuery=window.matchMedia(w),this._handleMediaQueryChange=()=>{this._toastsLayer.update({suggestedLayout:this._getSuggestedLayout()})},this._handleLoginStateChange=()=>{this._toastsLayer.update({location:this._getLocation()})},this._toastsLayer=new p(this._getSuggestedLayout(),void 0,void 0,this._getLocation()),this._mediaQuery.addListener(this._handleMediaQueryChange),null===(e=window.loginStateChange)||void 0===e||e.subscribe(this,this._handleLoginStateChange)}destroy(){var e;this._toastsLayer.destroy(),this._mediaQuery.removeListener(this._handleMediaQueryChange),null===(e=window.loginStateChange)||void 0===e||e.unsubscribe(this,this._handleLoginStateChange)}showCustomToast(e){const{render:t,...o}=e;var s;return this._toastsLayer.showToast({render:(s=t,e=>n.createElement(S,{suggestedLayout:e.suggestedLayout,children:s(e)})),...o}).remove}reset(){this._toastsLayer.reset()}forceRender(){this._toastsLayer.forceRender()}merge(e){this._toastsLayer.merge(e)}split(e){this._toastsLayer.split(e)}_getSuggestedLayout(){return this._mediaQuery.matches?"loose":"compact"}_getLocation(){return"bottom-left"}};function x(e){return L.showCustomToast(e)}},44598:(e,t,o)=>{"use strict";o.r(t),o.d(t,{showCookiesNotification:()=>y});var n=o(59496),s=o(28353),a=o(71036),i=o(65355),r=o(22032),c=o(11417),l=o(11542),u=o(56139),d=o(5401),m=o(98999),h=o(57229),g=o(76422);var p=o(49483),v=o(19107);function f(e){const{onResolve:t,onRemove:i}=e;(0,n.useEffect)(()=>{c.TVLocalStorage.getItem("cookie_dialog_tracked")||((0,l.trackCookies)("show","cookies_dialog"),c.TVLocalStorage.setItem("cookie_dialog_tracked","1"))},[]);const u=(0,s.t)("This website uses cookies"),f=(0,s.t)("This app uses cookies"),y=(0,s.t)("We use cookies to ensure you get the best experience on our website."),k=(0, +s.t)("We use cookies to ensure you get the best experience on our app."),_=(0,s.t)("To learn more about cookies please read our {link_start}Cookies Policy{link_end}.").split(/{link_start}|{link_end}/),C=n.createElement(n.Fragment,null,((0,p.isDesktopApp)()?k:y)+" "+_[0],n.createElement("a",{target:"_blank",href:"/cookies-policy/",className:v["cookies-link"],onClick:()=>(0,l.trackCookies)("click","policy_info")},_[1]),_[2]),b=e=>(0,n.useCallback)(()=>{e===d.CookieAcceptButton.AcceptAll&&((0,m.setCookieSetting)(m.CookieSettings.Analytics,!0),(0,m.setCookieSetting)(m.CookieSettings.Advertising,!0),t(!0)),e===d.CookieAcceptButton.ManagePreferences&&(!function(e){Promise.all([o.e(509),o.e(3118),o.e(8247),o.e(1536),o.e(5423),o.e(8983)]).then(o.bind(o,13958)).then(t=>{const n={afterClose:async()=>{if(!(0,h.checkCookiePolicy)(h.bannerPrivacyPreferenceKey)){const{showCookiesNotification:e}=await Promise.resolve().then(o.bind(o,57229));e()}g.emit(h.bannerPrivacyPreferenceKey,(0,h.checkCookiePolicy)(h.bannerPrivacyPreferenceKey))}};new t.PrivacyPreferenceDialog({...e},n).open()})}(),t(!1)),i()},[t,i]),w=n.createElement("div",{className:v.actionBtn},n.createElement(a.SquareButton,{className:v.managePreferences,onClick:b(d.CookieAcceptButton.ManagePreferences),variant:"secondary",size:"xsmall"},(0,s.t)("Manage preferences")),n.createElement(a.SquareButton,{className:v.acceptAll,onClick:b(d.CookieAcceptButton.AcceptAll),size:"xsmall"},(0,s.t)("Accept all")));return n.createElement(r.Toast,{title:(0,p.isDesktopApp)()?f:u,className:v.cookiesNotification,text:C,actions:w,showCloseButton:!1,role:"status"})}function y(){return new Promise(e=>{(0,u.showToast)({priority:i.ToastPriority.High,render:({onRemove:t,...o})=>(g.subscribe(h.bannerPrivacyPreferenceKey,e=>{e&&t()},null),n.createElement(f,{...o,onResolve:e,onRemove:t}))})})}},5401:(e,t,o)=>{"use strict";o.r(t),o.d(t,{CookieAcceptButton:()=>p,PrivacyPreference:()=>w});var n=o(28353),s=o(59496),a=o(22064),i=o(17946),r=o(17290),c=o(71036),l=o(9745),u=o(97754),d=o(67844),m=o(41145),h=o(21942);const g=s.memo(e=>s.createElement(d.CloseButton,{className:u(h.closeButton,e.className),onClick:e.onClose,"aria-label":e.ariaLabel}));s.memo(e=>{const{text:t,description:o}=e;return s.createElement("div",{className:h.tabHeader},s.createElement("h3",{className:h.title},t),o&&s.createElement("p",{className:h.description},o))}),s.memo(e=>{const{className:t,...o}=e;return s.createElement(m.BackButton,{className:u(h.backButton,t),...o})});var p,v,f=o(11542),y=o(98999),k=o(57229),_=o(54690),C=o(63718),b=o(14070);function w(e){const{onClose:t}=e,[o,u]=(0,s.useState)((0,y.getCookieSetting)(y.CookieSettings.Analytics)),[d,m]=(0,s.useState)((0,y.getCookieSetting)(y.CookieSettings.Advertising));(0,s.useEffect)(()=>{(0,f.trackCookies)("click","manage_preferences_button")},[]);const h=async e=>{t&&(e||(0,f.trackCookies)("close","manage_preferences_dialog"),t())},w=e=>{e===v.AnalyticsCookies?(u(e=>!e),o?(0,f.trackCookies)("click","performance_cookies_off"):(0, +f.trackCookies)("click","performance_cookies_on")):(m(e=>!e),d?(0,f.trackCookies)("click","ad_cookies_off"):(0,f.trackCookies)("click","ad_cookies_on"))},S=e=>{e===p.SavePreferences?((0,y.setCookieSetting)(y.CookieSettings.Analytics,o),(0,y.setCookieSetting)(y.CookieSettings.Advertising,d),(0,f.trackCookies)("click","save_preferences")):((0,y.setCookieSetting)(y.CookieSettings.Analytics,!0),(0,y.setCookieSetting)(y.CookieSettings.Advertising,!0),(0,f.trackCookies)("click","allow_all")),(0,k.checkCookiePolicy)(k.bannerPrivacyPreferenceKey)||(0,k.onAccept)(),h(!0)},L=(0,n.t)("Manage your privacy preferences"),x=(0,n.t)("More information about Cookies {lastWord}Policy").split(/{lastWord}/);return s.createElement(i.CustomBehaviourContext.Provider,{value:window.TradingView.onChartPage?i.presetPlatform:i.presetDefault},s.createElement(_.ResponsiveContainer,{initialBreakPoint:"base"},s.createElement("div",{className:b.privacyPreferenceDialog,role:"dialog","aria-labelledby":(0,a.createDomId)(L)},s.createElement("div",{className:b.privacyPreference},s.createElement(g,{onClose:()=>h(),className:b.close,ariaLabel:(0,n.t)("Close")}),s.createElement("h2",{id:(0,a.createDomId)(L),className:b.title},L),function(){const e={[v.NecessaryCookies]:{title:(0,n.t)("Necessary cookies"),content:(0,n.t)("These cookies are used to provide users with services available through a Site and to use some of its features, such as the ability to log-in and access secure areas, provide pop-up notices, and accept language from sign-up forms. These cookies are essential for using and navigating a Site. Without them, basic functions of our Site would not work. Because these cookies are strictly necessary to deliver our Site's essential services, you cannot refuse them.")},[v.AnalyticsCookies]:{title:(0,n.t)("Performance/Analytics cookies"),content:(0,n.t)("These cookies are used to recognize and count the number of Site visitors, gather statistics regarding how visitors move around the Site (including number of page views and the amount time spent on each page) and for conversion tracking and click hotspots. This helps us improve the way our Site works and general user experience. For example, these cookies allow us to ensure that users are able to find what they need easily.")},[v.AdvertisingCookies]:{title:(0,n.t)("Advertising cookies"),content:(0,n.t)("These cookies are used to show advertising that is relevant to you.")}},t=[];return Object.keys(e).map(n=>{const i=e[n],c=n===v.AnalyticsCookies?o:d;t.push(s.createElement("div",{key:n,className:b.availableCookieElement},s.createElement("div",{className:b.cookieTitle},s.createElement(r.Switch,{id:(0,a.createDomId)(n),role:"switch",name:n,disabled:n===v.NecessaryCookies,defaultChecked:n===v.NecessaryCookies||void 0,checked:n!==v.NecessaryCookies?c:void 0,onChange:n!==v.NecessaryCookies?()=>w(n):void 0,"aria-checked":n===v.NecessaryCookies||c}),s.createElement("label",{htmlFor:(0,a.createDomId)(n),className:b.switchTitle},i.title)),s.createElement("p",{className:b.cookieContent},i.content)))}),t +}(),s.createElement("a",{href:"/cookies-policy/",target:"_blank",className:b.moreInfoLink,onClick:()=>(0,f.trackCookies)("click","policy_info")},x[0],s.createElement("span",{className:b.nowrap},x[1]," ",s.createElement(l.Icon,{icon:C,className:b.icon,"aria-hidden":!0})))),s.createElement("div",{className:b.btnBlock},s.createElement(c.SquareButton,{className:b.savePreferences,onClick:()=>S(p.SavePreferences),variant:"secondary",size:"medium"},(0,n.t)("Save preferences")),s.createElement(c.SquareButton,{onClick:()=>S(p.AllowAll),size:"medium"},(0,n.t)("Allow all"))))))}!function(e){e.AcceptAll="Accept all",e.AllowAll="Allow all",e.ManagePreferences="Manage preferences",e.SavePreferences="Save preferences"}(p||(p={})),function(e){e.NecessaryCookies="Necessary cookies",e.AnalyticsCookies="Performance/Analytics cookies",e.AdvertisingCookies="Advertising cookies"}(v||(v={}))},36947:(e,t,o)=>{"use strict";o.d(t,{useForceUpdate:()=>s});var n=o(59496);const s=()=>{const[,e]=(0,n.useReducer)((e,t)=>e+1,0);return e}},65718:(e,t,o)=>{"use strict";o.d(t,{Portal:()=>c,PortalContext:()=>l});var n=o(59496),s=o(87995),a=o(9423),i=o(88216),r=o(50655);class c extends n.PureComponent{constructor(){super(...arguments),this._uuid=(0,a.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||"",s.createPortal(n.createElement(l.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}c.contextType=r.SlotContext;const l=n.createContext(null)},50655:(e,t,o)=>{"use strict";o.d(t,{Slot:()=>s,SlotContext:()=>a});var n=o(59496);class s extends n.Component{shouldComponentUpdate(){return!1}render(){return n.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const a=n.createContext(null)},65355:(e,t,o)=>{"use strict";var n,s;o.d(t,{ToastAnimationStage:()=>n,ToastPriority:()=>s}),function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove",e[e.None=2]="None"}(n||(n={})),function(e){e[e.Low=0]="Low",e[e.Medium=1]="Medium",e[e.High=2]="High"}(s||(s={}))},63718:e=>{e.exports=''},86240:e=>{"use strict" +;e.exports=JSON.parse('{"size-header-height":"64px","media-phone":"screen and (max-width: 767px)","media-mf-phone-landscape":"screen and (min-width: 568px)","media-mf-tablet-vertical":"screen and (min-width: 768px)","media-mf-tablet-landscape":"screen and (min-width: 1024px)","media-mf-laptop":"screen and (min-width: 1280px)"}')}}]); \ No newline at end of file diff --git a/charting_library/bundles/create-dialog.cf7e24e193258f0fb5c7.js b/charting_library/bundles/create-dialog.cf7e24e193258f0fb5c7.js new file mode 100644 index 00000000..1df20a06 --- /dev/null +++ b/charting_library/bundles/create-dialog.cf7e24e193258f0fb5c7.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4834,9725,4002],{89725:(t,e,i)=>{i.r(e),i.d(e,{createDialog:()=>n});var s=i(976),o=i(77544);function n(t){const e=t.type||"popup";return delete t.type,"modal"===e?new s.TVModal(t):new o.TVPopup(t)}},976:(t,e,i)=>{i.d(e,{TVModal:()=>m});var s=i(28353),o=i(68587),n=i(49483),r=i(43989),h=i(51536),a=i(4185),l=i(85739),d=i(25760),c=i(23127),p=i(25977);let g=[];const u={ajax:{},closingDuration:o.dur/2,fixBodyState:!0,overlayTemplate:'
    ',containerTemplate:'
    ',ajaxErrorTemplate:`
    ${(0,s.t)("Error")}
    `};class m extends h.TVDialogAbstract{constructor(t={}){if(super({...u,...t}),this.$overlay=c(this.options.overlayTemplate),this.$modalWrap=c(this.options.containerTemplate),this.$body=this.$modalWrap.find(".tv-dialog__modal-body").append(this.$el),this.options.closeOnOutsideClick&&this.$overlay.add(this.$modalWrap).click(t=>{this.isEventOut(t)&&this.close()}),this.on("change:zIndex",()=>{this.$overlay.css("z-index",this.zIndex),this.$modalWrap.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$overlay.remove(),this.$modalWrap.remove()};this.opened?(this.close(),setTimeout(t,this.options.closingDuration)):t()}),this.on("beforeOpen",()=>{g.push(this)}),this.options.ajax.url){const t=this.options.ajax.beforeSend||c.noop,e=this.options.ajax.success||!1,i=this.options.ajax.error||c.noop;c.extend(this.options.ajax,{beforeSend:()=>{this.trigger("beforeLoading",[this]),this.startSpinner(),t(this)},success:t=>{this.trigger("afterLoading",[this]),this.renderContent(e?e(this,t):t).showContent(),this.trigger("afterLoadingShow",[this])},error:()=>{this.renderContent(this.options.ajaxErrorTemplate),i(this),this.trigger("errorLoading",[this])}})}this.on("error",(t,e)=>{this.$modalWrap[0].getBoundingClientRect().height!this.opened,modal:!0}),this.options.closeOnEsc&&this._hotkeys.add({desc:"close",hotkey:27,handler:()=>this.close()}));const t=()=>{this.focus(),this.toTop(),this.trigger("beforeOpen",[this]),c(this.$wrap).append(this.$overlay.addClass("i-hidden i-closed").css("z-index",this.zIndex)).append(this.$modalWrap.addClass("i-hidden i-closed").css("z-index",this.zIndex)),this.$overlay.removeClass("i-hidden"),setTimeout(()=>{this.$overlay.removeClass("i-closed")},20),this.options.ajax.url?this.ajaxRequest=c.ajax(this.options.ajax):this.showContent()};return n.isSafari?setTimeout(()=>t(),50):t(),this}close(){if(this.opened)return this.opened=!1, +this._keyboardBinderLockId&&l.enable(this._keyboardBinderLockId),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(()=>{this.$modalWrap.addClass("i-hidden").detach(),this.$overlay.addClass("i-hidden").detach(),g=p.without(g,this),this.options.fixBodyState&&(0,r.setFixedBodyState)(!1),this.trigger("afterClose",[this]),this.unfocus(),g.length>0&&g[g.length-1].focus(),this.options.destroyOnClose&&this.destroy()},this.options.closingDuration),this}showContent(){return this.$modalWrap.removeClass("i-hidden"),setTimeout(()=>{this.$modalWrap.removeClass("i-closed")},20),setTimeout(()=>{this.trigger("afterOpen",[this]),this.spinner&&this.stopSpinner()},.75*o.dur+20),this}hideContent(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}startSpinner(){return this.spinner=new a.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}stopSpinner(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}},77544:(t,e,i)=>{i.d(e,{TVPopup:()=>g});var s=i(68587),o=i(52150),n=i(51536),r=i(30812),h=i(35190),a=i(25760),l=i(23127);const d=l("body"),c=l(window),p={closeOnClickAtOtherDialogs:!0,draggable:!0,scrollWrap:'
    \n`,A=`\n\t
    \n`,E=`\n\t
    \n`,k=(0,v.parseHtmlElement)(L),D=(0,v.parseHtmlElement)(A),V=(0,v.parseHtmlElement)(E);function B(e){return e.querySelector("."+C["common-tooltip__body"])}function N(e,t){return 10+ez(t);if(i()){const e=e=>{e.target instanceof Element&&e.target.contains(t)&&s(null,!0)},s=(r,n=!1)=>{t.removeEventListener("common-tooltip-update",i),t.removeEventListener("mouseleave",s),t.removeEventListener("mousedown",s),document.removeEventListener("scroll",e,{capture:!0}),W&&(W.destroy(),W=null),G(n)};t.addEventListener("common-tooltip-update",i),t.addEventListener("mouseleave",s),t.addEventListener("mousedown",s),document.addEventListener("scroll",e,{ +capture:!0}),null===W&&(W=(0,R.createGroup)({desc:"Tooltip"}),W.add({desc:"Hide",hotkey:27,handler:s}));break}}}),!0);const H=new MutationObserver(()=>{if(F&&F.options.target){let e;e="isConnected"in F.options.target?F.options.target.isConnected:document.body.contains(F.options.target),e||G()}}),z=(e,t={})=>{const{content:i,...s}=Y(t),r=P(e),n=Object.assign(r,s);return"none"!==i.type&&(n.content=i),!("none"===n.content.type&&!n.hotkey)&&(n.target=e,U(n),!0)},U=e=>{const t=Y(e),i=T(t);var s;if(F={options:t,element:i},s=i,u(),h&&h.appendChild(s),a(),!O)return I(i),void l(()=>q(i),function(e){return"number"!=typeof e.tooltipDelay||isNaN(e.tooltipDelay)?500:e.tooltipDelay}(t));const{tooltipDebounce:r}=e;"number"!=typeof r||isNaN(r)?q(i):l(()=>q(i),r)};function j(){u(),O=!1,F=null}const G=e=>{if(a(),H.disconnect(),!F)return;if(!e&&!O)return;const{element:t,options:i}=F,s=()=>{t.removeEventListener("mouseleave",s),I(t),e?j():o=setTimeout(()=>{j()},250)};var r,l;i.tooltipHideDelay?(r=()=>{t.querySelector(":hover")?t.addEventListener("mouseleave",s):s()},l=i.tooltipHideDelay,n=setTimeout(r,l)):s()};function q(e){const{options:t}=(0,p.ensureNotNull)(F);if(x(e,t),function(e){e.classList.toggle(C["common-tooltip--hidden"],!1)}(e),H.observe(document,{childList:!0,subtree:!0}),O=!0,t.forceHideOnMove){const e=()=>{document.removeEventListener("mousemove",e),G()};document.addEventListener("mousemove",e)}}function Y(e){if(function(e){return"content"in e}(e))return e;const{inner:t,html:i,text:s,...r}=e;let n={type:"none"};return t&&(n={type:"element",data:t}),s&&(n={type:i?"html":"text",data:s}),{content:n,...r}}},28325:(e,t,i)=>{"use strict";i.d(t,{ChartPage:()=>d});var s=i(52714),r=i.n(s),n=i(31940);function o(e,t){let i=0;for(const{min:s,max:r}of t){if(e0&&t.push({min:e,max:s})}return t.sort((e,t)=>e.min-t.min||e.max-t.max),t}function l(e,t){if(e.length!==t.length)return!1;for(let i=e.length;i--;){if(e[i].min!==t[i].min)return!1;if(e[i].max!==t[i].max)return!1}return!0}var c=i(67337);const h=c.enabled("no_min_chart_width");class d{constructor(e){this._processVisibility=e=>{const t=e.container.value();return this._affectsLayout(e.name)?(t&&t.classList.toggle("js-hidden",!1),!0):(t&&t.classList.toggle("js-hidden",!0),!1)},this._setWidth=(e,t)=>{let i=t;this._fullscreenArea!==e.name&&(e.availWidth.setValue(t),e.canNegotiate.width&&(i=o(t,e.negotiations.width)));const s=e.container.value();return s&&(s.style.width=i+"px"),e.width.setValue(i),i},this._setHeight=(e,t)=>{let i=t;this._fullscreenArea!==e.name&&(e.availHeight.setValue(t),e.canNegotiate.height&&(i=o(t,e.negotiations.height)));const s=e.container.value();return s&&(s.style.height=i+"px"),e.height.setValue(i),i};const t=e.container.value();if(!t)throw new Error("bridge.container.value() must be an element") +;this._container=t,this._availableAreas=["left","tradingpanel","right","top","bottom","center","topleft","extratop"],this._areas={},this._bridge=e,this._width=e.width,this._height=e.height,this._width.subscribe(()=>this.recalculate()),this._height.subscribe(()=>this.recalculate()),this._bridge.visible.subscribe(()=>this._updateVisibility()),this._bridge.fullscreen.subscribe(()=>this._onParentFullscreenChange()),this.recalculate()}allocate(e){const t=e&&e.areaName;if(-1===this._availableAreas.indexOf(t))throw new Error("unknown options.areaName");this.free(t);const i=this._createDOM(t),s={name:t,canNegotiate:{width:"left"===t||"right"===t||"tradingpanel"===t||"topleft"===t,height:"top"===t||"bottom"===t||"topleft"===t||"extratop"===t},negotiations:{width:[],height:[]},remove:()=>{for(const e in this._areas)this._areas[e]===s&&this.free(e)},negotiateWidth:e=>{if(!s.canNegotiate.width)return;const t=a(e);l(s.negotiations.width,t)||(s.negotiations.width=t,this.recalculate())},negotiateHeight:e=>{if(!s.canNegotiate.height)return;const t=a(e);l(s.negotiations.height,t)||(s.negotiations.height=t,this.recalculate())},requestFullscreen:()=>{this._fullscreenArea||("right"!==t&&"center"!==t||(this._fullscreenArea=t),"center"===t&&this._bridge.requestFullscreen(),this._updateFullscreen())},exitFullscreen:()=>{t===this._fullscreenArea&&(this._fullscreenArea=void 0,"center"===t&&this._bridge.exitFullscreen(),this._updateFullscreen())},width:new(r()),height:new(r()),availWidth:new(r()),availHeight:new(r()),alive:new(r())(!0),container:new(r())(i),visible:new(r())(!0),fullscreen:new(r())(!1),fullscreenable:new(r())("right"===t||"center"===t),rdState:new n.ResizerDetacherState};return s.rdState.pushOwner(s),this._areas[t]=s,s.rdState.owner.subscribe(e=>{const i=s.container.value();if(e!==s)i&&(i.innerHTML="",i.parentElement&&i.parentElement.removeChild(i));else{let e=null;for(let i=this._availableAreas.indexOf(t);i--;){const t=this._availableAreas[i];if(this._affectsLayout(t)){e=this._areas[t].container.value();break}}i&&(e&&i.parentElement?i.insertAdjacentElement("afterend",e):this._container.appendChild(i))}this.recalculate()},{callWithLast:!0}),s.rdState.bridge()}free(e){const t=this._areas[e];if(!t)return;this._areas[e]=void 0;const i=t.container.value();i&&i.parentElement&&i.parentElement.removeChild(i),t.alive.setValue(!1)}recalculate(){const e={};this._recalcSingleRunToken=e;const t=this._areas.topleft,i=this._areas.left,s=this._areas.tradingpanel,r=this._areas.right,n=this._areas.top,o=this._areas.bottom,a=this._areas.center,l=this._areas.extratop,c=this._width.value(),d=this._height.value();let u=0,p=0,_=0,m=0,g=0,f=0,v=0,S=0;if(e===this._recalcSingleRunToken&&l&&this._processVisibility(l)&&(S=this._setHeight(l,d),this._setWidth(l,c)),e===this._recalcSingleRunToken&&t&&this._processVisibility(t)){v=this._setHeight(t,d),f=this._setWidth(t,c);const e=t.container.value();e&&(e.style.top=S+"px")}let y=0;if(e===this._recalcSingleRunToken&&n&&this._processVisibility(n)){const e=n.container.value();e&&(e.style.left=f+"px", +e.style.top=S+"px");const t=c-f;this._setWidth(n,t),u=this._setHeight(n,d),u&&(y=1)}if(e===this._recalcSingleRunToken&&i&&this._processVisibility(i)){const e=Math.max(v,u),t=i.container.value();_=this._setWidth(i,c),_&&(_+=4),_&&1===y&&(y=4),t&&(t.style.top=e+S+y+"px"),this._setHeight(i,d-e-S)}if(e===this._recalcSingleRunToken&&s&&this._processVisibility(s)){let e=c-_;h||(e-=300),g=this._setWidth(s,e),g&&1===y&&(y=4),this._setHeight(s,d-S-u-y)}if(e===this._recalcSingleRunToken&&r&&this._processVisibility(r)){let e=c-_-g;h||(e-=300),m=this._setWidth(r,e),m&&1===y&&(y=4),this._setHeight(r,d-S-u-y);const t=r.container.value();t&&(t.style.top=u+S+y+"px",t.classList.toggle("no-border-top-left-radius",Boolean(g)))}const b=g+m;let w=0;const C=c-_-g-m-(b?4:0);if(e===this._recalcSingleRunToken&&o&&this._processVisibility(o)){const e=o.container.value();e&&(e.style.left=_+"px",e.classList.toggle("no-border-top-left-radius",!_),e.classList.toggle("no-border-top-right-radius",!b)),this._setWidth(o,C);const t=d-S;w=Math.min(300,t-0),p=this._setHeight(o,t)+4}const P=Boolean(u&&(_||b));if(this._container.classList.toggle("layout-with-border-radius",P),e===this._recalcSingleRunToken&&a&&this._processVisibility(a)){const e=a.container.value();e&&(e.style.left=_+"px",e.style.top=u+S+y+"px",e.classList.toggle("no-border-bottom-left-radius",!p||!_),e.classList.toggle("no-border-bottom-right-radius",!b||!p),e.classList.toggle("no-border-top-left-radius",Boolean(!_&&b)),e.classList.toggle("no-border-top-right-radius",Boolean(_&&!b))),this._setWidth(a,C);const t=d-u-p-S-y;this._setHeight(a,Math.max(t,w))}if(e===this._recalcSingleRunToken&&s&&this._affectsLayout("tradingpanel")){const e=s.container.value();e&&(e.style.right=m+"px",e.style.top=S+u+y+"px",e.style.borderTopLeftRadius=P?"4px":"0px")}e===this._recalcSingleRunToken&&this._updateVisibility()}_affectsLayout(e){const t=this._areas[e];if(!t)return!1;if(t.rdState.owner.value()!==t)return!1;if(this._fullscreenArea&&this._fullscreenArea!==e)return u(e);if(this._width.value()<=567||this._height.value()<=445){if(!["center","top","left","topleft","extratop"].includes(e))return!1}return!0}_updateVisibility(){const e=this._bridge.visible.value();for(let t=0;t{"use strict";i.d(t,{ResizerDetacherState:()=>o});var s=i(88537),r=i(52714),n=i.n(r);class o{constructor(e){this._alive=new(n()),this._container=new(n()),this._width=new(n()),this._height=new(n()),this._fullscreen=new(n()),this._detachable=new(n()),this._fullscreenable=new(n()),this._visible=new(n()),this._availWidth=new(n()),this._availHeight=new(n()),this._owner=new(n()),this._ownersStack=[],this.owner=this._owner.readonly(),this._bridge={alive:this._alive.readonly(),container:this._container.readonly(),width:this._width.readonly(),height:this._height.readonly(),fullscreen:this._fullscreen.readonly(),detachable:this._detachable.readonly(),fullscreenable:this._fullscreenable.readonly(),visible:this._visible.readonly(),availWidth:this._availWidth.readonly(),availHeight:this._availHeight.readonly(),remove:()=>{const e=this._owner.value();e&&e.remove&&e.remove()},negotiateWidth:e=>{const t=this._owner.value();t&&t.negotiateWidth&&t.negotiateWidth(e)},negotiateHeight:e=>{const t=this._owner.value();t&&t.negotiateHeight&&t.negotiateHeight(e)},requestFullscreen:()=>{const e=this._owner.value();e&&e.requestFullscreen&&e.requestFullscreen()},exitFullscreen:()=>{const e=this._owner.value();e&&e.exitFullscreen&&e.exitFullscreen()},detach:e=>{const t=this._owner.value();t&&t.detach&&t.detach(e)},attach:()=>{const e=this._owner.value();e&&e.attach&&e.attach()}},e&&this.pushOwner(e)}bridge(){return this._bridge}pushOwner(e){if(!e.alive.value())return;for(const e of this._ownersStack)this._unsubscribeOwner(e);const t={owner:e};this._ownersStack.push(t),this._subscribeOwner(t)}_subscribeOwner(e){const t=e.owner;if(e.deathWatcher||(this._alive.setValue(!0),e.deathWatcher=t.alive.spawn(),e.deathWatcher.subscribe(t=>{t||this._deadHandler(e)})),this._owner.setValue(t),!e.subscriptions){const i=e.subscriptions=[];this._visible.setValue(!1);const s=(e,t)=>{if(e){const s=e.spawn();i.push(s),s.subscribe(e=>{t.setValue(e)},{callWithLast:!0})}else t.deleteValue()};s(t.container,this._container),s(t.width,this._width),s(t.height,this._height),s(t.fullscreen,this._fullscreen),s(t.detachable,this._detachable),s(t.fullscreenable,this._fullscreenable),s(t.availWidth,this._availWidth),s(t.availHeight,this._availHeight),s(t.visible,this._visible)}}_unsubscribeOwner(e,t){if(e.subscriptions){for(const t of e.subscriptions)t.unsubscribe();e.subscriptions=null}t&&e.deathWatcher&&(e.deathWatcher.unsubscribe(),e.deathWatcher=null)}_deadHandler(e){const t=this._ownersStack.indexOf(e);(0,s.assert)(-1!==t,"sanitized owner should be in stack");for(let e=this._ownersStack.length-1;e>=t;e--)this._unsubscribeOwner(this._ownersStack[e],!0);this._ownersStack.length=t,t>0?this._subscribeOwner(this._ownersStack[t-1]):(this._alive.setValue(!1), +this._owner.deleteValue())}}},89356:(e,t,i)=>{"use strict";i.d(t,{Root:()=>d});i(28353);var s=i(52714),r=i.n(s),n=i(31940);class o{constructor(e){this._document=e,this.isFullscreen=new(r());const t=()=>{const e=["fullscreenElement","webkitFullscreenElement","mozFullscreenElement","mozFullScreenElement","msFullscreenElement"];for(let t=0;t{this.isVisible.setValue(!e[r])},i(),e.addEventListener(t,i,!1);break}}this.destroy=()=>{i&&(e.removeEventListener(t,i,!1),i=null)}}}var l=i(84015),c=i(88537),h=i(49483);class d{constructor(e){this._updateDocumentHeight=e=>{"visual"===this._viewportType&&this._window.document.documentElement.style.setProperty("height",e+"px","important")},this._window=e,this._fullscreenApi=new o(e.document),this._viewportType=h.CheckMobile.iOS()&&!(0,l.isOnMobileAppPage)("any")&&this._window.visualViewport?"visual":"quirks","visual"===this._viewportType?this._viewport=(0,c.ensureDefined)(this._window.visualViewport):this._viewport=this._window;const t=this._layoutSizeSensor=this._window.document.createElement("div");t.id="layout-size-sensor",t.style.position="fixed",t.style.top="0",t.style.left="0",t.style.right="0",t.style.bottom="0",t.style.pointerEvents="none",t.style.visibility="hidden",this._initFullscreen()}allocate(){this.free();const e=this._window.document,t=e.createElement("div");t.classList.add("js-rootresizer__contents"),t.style.position="relative",t.style.width="100%",t.style.height="100%",e.body.insertAdjacentElement("afterbegin",t),e.body.insertAdjacentElement("afterbegin",this._layoutSizeSensor),this._visibilityApi=new a(this._window.document);const i={alive:new(r())(!0),fullscreenable:new(r())(!0),container:new(r())(t),width:new(r()),height:new(r()),availWidth:new(r()),availHeight:new(r()),visible:this._visibilityApi.isVisible,fullscreen:this._fullscreenApi.isFullscreen,remove:()=>{i.alive.setValue(!1)},attach:()=>{i.alive.setValue(!1),this._window.close()},requestFullscreen:()=>{this._requestFullscreen()},exitFullscreen:()=>{this._exitFullscreen()}};return i.alive.subscribe(e=>{e||i!==this._area||this.free()}),this._area=i,this._resizeHandler=()=>{const e=this._width(i)||800,t=this._height(i)||600;i.availHeight.setValue(t), +i.availWidth.setValue(e),i.height.setValue(t),i.width.setValue(e)},this._area.height.subscribe(this._updateDocumentHeight,{callWithLast:!0}),this._resizeHandler(),this._viewport.addEventListener("resize",this._resizeHandler),new n.ResizerDetacherState(i).bridge()}free(){if(this._resizeHandler&&(this._viewport.removeEventListener("resize",this._resizeHandler),this._resizeHandler=void 0),this._visibilityApi&&(this._visibilityApi.destroy(),this._visibilityApi=void 0),this._area){const e=this._area;this._area=void 0,e.height.unsubscribe(this._updateDocumentHeight),e.alive.setValue(!1);const t=e.container.value(),i=null==t?void 0:t.parentElement;i&&(i.removeChild(t),i.removeChild(this._layoutSizeSensor))}}_height(e){if("visual"===this._viewportType)return this._layoutSizeSensor.clientHeight;return e.container.value().clientHeight}_width(e){return e.container.value().clientWidth}_requestFullscreen(){this._fullscreenApi.enter()}_exitFullscreen(){this._fullscreenApi.exit()}_initFullscreen(){this._fullscreenApi.isFullscreen.subscribe(e=>{this._resizeHandler&&this._resizeHandler()})}}},33134:(e,t,i)=>{"use strict";i.d(t,{DEFAULT_SIZE:()=>s,spinnerSizeMap:()=>r});const s="large",r={mini:"xsmall",xsmall:"xsmall",small:"small",medium:"medium",large:"large"}},4185:(e,t,i)=>{"use strict";i.d(t,{Spinner:()=>o});i(24780);var s=i(62046),r=i(33134);const n=(0,s.parseHtmlElement)(function(e=""){return`
    `}());class o{constructor(e){this._shown=!1,this._el=n.cloneNode(!0),this.setSize(r.spinnerSizeMap[e||r.DEFAULT_SIZE])}spin(e){return this._el.classList.add("tv-spinner--shown"),void 0===this._container&&(this._container=e,void 0!==e&&e.appendChild(this._el)),this._shown=!0,this}stop(e){return e&&void 0!==this._container&&this._container.removeChild(this._el),this._el.classList.remove("tv-spinner--shown"),this._shown=!1,this}setStyle(e){return Object.keys(e).forEach(t=>{const i=e[t];void 0!==i&&this._el.style.setProperty(t,i)}),this}style(){return this._el.style}setSize(e){const t=void 0!==e?"tv-spinner--size_"+e:"";return this._el.className=`tv-spinner ${t} ${this._shown?"tv-spinner--shown":""}`,this}getEl(){return this._el}destroy(){this.stop(),delete this._el,delete this._container}}},5683:(e,t,i)=>{"use strict";i.d(t,{createStubElem:()=>r});var s=i(65592);function r(e=[],t=[]){const i=document.createElement("div"),r=document.createElement("div");return i.appendChild(r),i.classList.add(s.container),r.classList.add(s.inner),e.forEach(e=>{i.classList.add(s[e])}),t.forEach(e=>{i.classList.add(s[e])}),i}},45973:(e,t,i)=>{"use strict";i.r(t),i.d(t,{lineToolEntityInfo:()=>o,studyEntityInfo:()=>a,seriesEntityInfo:()=>l,entityForDataSource:()=>c});var s=i(81851),r=i(16906),n=i(14291);function o(e){return{id:e.id(),name:(t=e.toolname,Object.keys(r.supportedLineTools).find(e=>r.supportedLineTools[e].name===t)||null)};var t}function a(e){return{id:e.id(),name:e.metaInfo().description}}function l(e){return{id:e.id(),name:"Main Series"}}function c(e,t){ +return t===e.mainSeries()?l(e.mainSeries()):(0,s.isStudy)(t)?a(t):(0,n.isLineTool)(t)?o(t):null}},68582:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isLineToolRiskReward:()=>a,LineDataSourceApi:()=>c});var s=i(88537),r=i(80643);const n=new Map([["LineToolRiskRewardLong",2],["LineToolRiskRewardShort",2],["LineToolBezierQuadro",3],["LineToolBezierCubic",4]]);function o(e){const t=n.get(e.toolname);if(void 0!==t)return t;const i=e.pointsCount();return-1===i?e.points().length:i}function a(e){return"LineToolRiskRewardLong"===e||"LineToolRiskRewardShort"===e}const l=["alwaysShowStats","entryPrice","inputs.first bar time","inputs.last bar time","interval","linesWidths","points","snapTo45Degrees","stopPrice","symbol","symbolStateVersion","currencyId","unitId","targetPrice","zOrderVersion"];class c{constructor(e,t,i){this._source=e,this._undoModel=t,this._model=t.model(),this._pointsConverter=i}isSelectionEnabled(){return this._source.isSelectionEnabled()}setSelectionEnabled(e){this._source.setSelectionEnabled(e)}isSavingEnabled(){return this._source.isSavedInChart()}setSavingEnabled(e){this._source.setSavingInChartEnabled(e)}isShowInObjectsTreeEnabled(){return this._source.showInObjectTree()}setShowInObjectsTreeEnabled(e){this._source.setShowInObjectsTreeEnabled(e)}isUserEditEnabled(){return this._source.userEditEnabled()}setUserEditEnabled(e){this._source.setUserEditEnabled(e)}bringToFront(){this._model.bringToFront([this._source])}sendToBack(){this._model.sendToBack([this._source])}getProperties(){return this._source.properties().state(l,!0)}setProperties(e){this._setProps(this._source.properties(),e,"")}getPoints(){let e=this._source.points();const t=o(this._source);return e.length>t&&((0,s.assert)(a(this._source.toolname)),e=e.slice(0,t)),this._pointsConverter.dataSourcePointsToPriced(e)}setPoints(e){if(this._source.isFixed())return;const t=o(this._source);if(t!==e.length)throw new Error(`Wrong points count. Required: ${t}, provided: ${e.length}`);const i=this._pointsConverter.apiPointsToDataSource(e);this._model.startChangingLinetool(this._source),this._model.changeLinePoints(this._source,i),this._model.endChangingLinetool(!0),this._source.createServerPoints()}getAnchoredPosition(){return this._source.positionPercents()}setAnchoredPosition(e){const t=this._source.fixedPoint(),i=this._source.linkKey().value(),s=void 0===t?null:this._source.screenPointToPoint(t);if(!this._source.isFixed()||void 0===t||null===i||null===s)return;const r={logical:s,screen:t},n=new Map;n.set(i,e),this._model.startMovingSources([this._source],r,null,new Map),this._model.moveSources(r,n),this._model.endMovingSources(!0)}ownerSourceId(){return(0,s.ensureNotNull)(this._source.ownerSource()).id()}changePoint(e,t){if(this._source.isFixed())return;const i=this._pointsConverter.apiPointsToDataSource([e])[0];this._model.startChangingLinetool(this._source,{...i},t),this._model.changeLinePoint({...i}),this._model.endChangingLinetool(!1),this._source.createServerPoints()}isHidden(){return this._source.isSourceHidden()}getRawPoints(){return this._source.points()} +setRawPoint(e,t){this._model.startChangingLinetool(this._source,{...t},e),this._model.changeLinePoint({...t}),this._model.endChangingLinetool(!1)}move(e,t){this._model.startMovingSources([this._source],{logical:e},null,new Map),this._model.moveSources({logical:t},new Map),this._model.endMovingSources(!1)}dataAndViewsReady(){return this._source.dataAndViewsReady()}zorder(){return this._source.zorder()}symbol(){return this._source.properties().symbol.value()}currency(){return this._source.properties().currencyId.value()}unit(){return this._source.properties().unitId.value()}share(e){this._undoModel.shareLineTools([this._source],e)}sharingMode(){return this._source.sharingMode().value()}_setProps(e,t,i){for(const s in t){if(!t.hasOwnProperty(s))continue;const n=0===i.length?s:`${i}.${s}`;if(e.hasOwnProperty(s)){const i=t[s];(0,r.isHashObject)(i)?this._setProps(e[s],i,n):e[s].setValue(i)}else console.warn(`Unknown property "${n}"`)}}}},56233:(e,t,i)=>{"use strict";i.d(t,{PaneApi:()=>u});var s=i(88537),r=i(42534),n=i(45973),o=i(80643),a=i(28353),l=i(24980),c=i(35762);const h=new l.TranslatedString("change pane height",(0,a.t)("change pane height"));class d extends c.UndoCommand{constructor(e,t,i){super(h),this._model=e,this._paneIndex=t,this._paneHeight=i,this._prevStretchFactors=this._model.panes().map(e=>e.stretchFactor())}redo(){this._model.changePanesHeight(this._paneIndex,this._paneHeight)}undo(){const e=this._model.panes();for(let t=0;t(0,n.entityForDataSource)(e,t)).filter(o.notNull).filter(e=>null!==e.name)}getHeight(){return this._pane.height()}setHeight(e){const t=this._chartWidget.model().model(),i=t.panes();(0,s.assert)(i.length>1,"Unable to change pane's height if there is only one pane");const r=i.indexOf(this._pane);(0,s.assert)(-1!==r,"Invalid pane index");const n=new d(t,r,e);this._chartWidget.model().undoHistory().pushUndoCommand(n)}moveTo(e){const t=this.paneIndex();t!==e&&((0,s.assert)(e>=0&&e{"use strict";i.d(t,{PriceScaleApi:()=>s});class s{constructor(e,t){this._chartUndoModel=e,this._chartModel=e.model(),this._priceScale=t}getMode(){const e=this._priceScale.properties().childs();return e.percentage.value()?2:e.indexedTo100.value()?3:e.log.value()?1:0}setMode(e){this._priceScale.setMode({percentage:2===e,log:1===e,indexedTo100:3===e})}isInverted(){return this._priceScale.isInverted()}setInverted(e){this._priceScale.properties().childs().isInverted.setValue(e)}isLocked(){return this._priceScale.isLockScale()}setLocked(e){this._priceScale.setMode({lockScale:e})}isAutoScale(){return this._priceScale.isAutoScale()}setAutoScale(e){this._priceScale.setMode({autoScale:e})}getVisiblePriceRange(){return this._priceScale.priceRangeInPrice()}setVisiblePriceRange(e){this._priceScale.setPriceRangeInPrice(e),this._chartModel.lightUpdate()}hasMainSeries(){return this._priceScale.hasMainSeries()}getStudies(){return this._priceScale.getStudies().map(e=>e.id())}currency(){const e=this._priceScale.currency(this._chartModel.availableCurrencies());return null===e?null:{selectedCurrency:e.selectedCurrency,readOnly:e.readOnly}}setCurrency(e){this._chartUndoModel.setPriceScaleCurrency(this._priceScale,e)}unit(){const e=this._priceScale.unit(this._chartModel.availableUnits());return null===e?null:{selectedUnit:e.selectedUnit,readOnly:0===e.availableGroups.size,availableGroups:Array.from(e.availableGroups)}}setUnit(e){this._chartUndoModel.setPriceScaleUnit(this._priceScale,e)}}},32112:(e,t,i)=>{"use strict";function s(e,t){const i=e.dataSourceForId(t);if(null===i)throw new Error(`Chart has no study or shape with id "${t}"`);return i}i.d(t,{SelectionApi:()=>r});class r{constructor(e){this._model=e}add(e){Array.isArray(e)?this._model.selectionMacro(t=>{e.map(s.bind(null,this._model)).forEach(e=>t.addSourceToSelection(e))}):this.add([e])}canBeAddedToSelection(e){const t=s(this._model,e);return this._model.selection().canBeAddedToSelection(t)}set(e){Array.isArray(e)?this._model.selectionMacro(t=>{t.clearSelection(),e.map(s.bind(null,this._model)).forEach(e=>t.addSourceToSelection(e))}):this.set([e])}remove(e){Array.isArray(e)?this._model.selectionMacro(t=>{ +e.map(s.bind(null,this._model)).forEach(e=>t.removeSourceFromSelection(e))}):this.remove([e])}contains(e){const t=s(this._model,e);return this._model.selection().isSelected(t)}allSources(){return this._model.selection().dataSources().map(e=>e.id())}isEmpty(){return this._model.selection().isEmpty()}clear(){this._model.selectionMacro(e=>{e.clearSelection()})}onChanged(){return this._model.onSelectedSourceChanged()}}},82650:(e,t,i)=>{"use strict";i.d(t,{SeriesApi:()=>l});var s=i(88537),r=i(8597),n=i(36551),o=i(27579),a=i(42534);class l{constructor(e,t){this._series=e,this._undoModel=t,this._model=t.model()}isUserEditEnabled(){return this._series.userEditEnabled()}setUserEditEnabled(e){this._series.setUserEditEnabled(e)}mergeUp(){this._model.isMergeUpAvailableForSource(this._series)&&new r.MergeUpUndoCommand(this._model,this._series,null).redo()}mergeDown(){this._model.isMergeDownAvailableForSource(this._series)&&new r.MergeDownUndoCommand(this._model,this._series,null).redo()}unmergeUp(){this._model.isUnmergeAvailableForSource(this._series)&&new n.UnmergeUpUndoCommand(this._model,this._series,null).redo()}unmergeDown(){this._model.isUnmergeAvailableForSource(this._series)&&new n.UnmergeDownUndoCommand(this._model,this._series,null).redo()}detachToRight(){new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,this._pane(),"right",null).redo()}detachToLeft(){new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,this._pane(),"left",null).redo()}detachNoScale(){new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,this._pane(),"overlay",null).redo()}changePriceScale(e){const t=(0,s.ensureNotNull)(this._model.paneForSource(this._series));switch(e){case"new-left":new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,t,"left",null).redo();break;case"new-right":new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,t,"right",null).redo();break;case"no-scale":(0,s.assert)(t.actionNoScaleIsEnabled(this._series),"Unable to leave a pane without any non-overlay price scale"),new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,t,"overlay",null).redo();break;default:const i=this._model.dataSourceForId(e);if(null===i)throw new Error(`There is no study with entityId='${e}'`);const r=this._model.paneForSource(i)===t;(0,s.assert)(r,"Study should be on the main pane");const n=(0,s.ensureNotNull)(i.priceScale());new o.MoveToExistingPriceScaleUndoCommand(this._model,this._series,t,n,null).redo()}}isVisible(){return this._series.properties().childs().visible.value()}setVisible(e){this._series.properties().childs().visible.setValue(e)}bringToFront(){this._model.bringToFront([this._series])}sendToBack(){this._model.sendToBack([this._series])}entityId(){return this._series.id()}chartStyleProperties(e){return this._series.properties().childs()[c(e)].state(["inputs","inputsInfo"])}setChartStyleProperties(e,t){this._series.properties().childs()[c(e)].mergeAndFire(t)}barsCount(){return this._series.bars().size()}symbolSource(){return{symbol:this._series.symbol(),currencyId:this._series.currency(), +unitId:this._series.unit()}}isLoading(){return this._series.isLoading()}data(){return this._series.data()}priceScale(){return new a.PriceScaleApi(this._undoModel,this._series.priceScale())}_pane(){return(0,s.ensureNotNull)(this._model.paneForSource(this._series))}}function c(e){switch(e){case 0:return"barStyle";case 1:return"candleStyle";case 2:return"lineStyle";case 3:return"areaStyle";case 4:return"renkoStyle";case 5:return"kagiStyle";case 6:return"pnfStyle";case 7:return"pbStyle";case 8:return"haStyle";case 9:return"hollowCandleStyle";case 10:return"baselineStyle";case 11:return"rangeStyle";case 12:return"hiloStyle";case 13:return"columnStyle";default:(0,s.ensureNever)(e)}throw new Error("unsupported chart style: "+e)}},67e3:(e,t,i)=>{"use strict";i.d(t,{StudyApi:()=>y});var s=i(88537),r=i(2872),n=i.n(r),o=i(80643),a=i(59572),l=i(97401),c=i(13795),h=i(36551),d=i(8597),u=i(27579),p=i(61671),_=i(79222),m=i(35588),g=i(42534),f=i(13933),v=i(152),S=i(70120);class y{constructor(e,t){this._onStudyCompleted=new(n()),this._onStudyError=new(n()),this._study=e,this._chartWidget=t,this._undoModel=this._chartWidget.model(),this._model=this._undoModel.model(),this._study.onAboutToBeDestroyed().subscribe(this,()=>{this._study.onStatusChanged().unsubscribeAll(this),this._study.onAboutToBeDestroyed().unsubscribeAll(this)}),this._study.onStatusChanged().subscribe(this,e=>{switch(e.type){case f.StudyStatusType.Completed:this._onStudyCompleted.fire();break;case f.StudyStatusType.Error:this._onStudyError.fire()}})}isUserEditEnabled(){return this._study.userEditEnabled()}setUserEditEnabled(e){this._study.setUserEditEnabled(e)}getInputsInfo(){return(0,v.getStudyInputsInfo)(this._study.metaInfo())}getInputValues(){const e=this._study.inputs({symbolsForChartApi:!1,asObject:!0});return Object.keys(e).map(t=>{const i=e[t];return{id:t,value:(0,o.isObject)(i)?i.v:i}})}getStyleInfo(){return(0,S.getStudyStylesInfo)(this._study.metaInfo())}getStyleValues(){const{plots:e,styles:t,bands:i,filledAreas:s,palettes:r}=this._study.properties().state(),n={};return void 0!==e&&(n.plots=e),void 0!==t&&(n.styles=t),void 0!==i&&(n.bands=i),void 0!==s&&(n.filledAreas=s),void 0!==r&&(n.palettes=r),n}setInputValues(e){const t=this.getInputValues();for(const i of e){void 0!==t.find(e=>e.id===i.id)?this._study.properties().inputs[i.id].setValue(i.value):console.warn(`There is no such input: "${i.id}"`)}}mergeUp(){this._model.isMergeUpAvailableForSource(this._study)&&new d.MergeUpUndoCommand(this._model,this._study,null).redo()}mergeDown(){this._model.isMergeDownAvailableForSource(this._study)&&new d.MergeDownUndoCommand(this._model,this._study,null).redo()}unmergeUp(){this._model.isUnmergeAvailableForSource(this._study)&&new h.UnmergeUpUndoCommand(this._model,this._study,null).redo()}unmergeDown(){this._model.isUnmergeAvailableForSource(this._study)&&new h.UnmergeDownUndoCommand(this._model,this._study,null).redo()}onDataLoaded(){return this._onStudyCompleted}onStudyError(){return this._onStudyError}mergeUpWithUndo(){ +this._model.isMergeUpAvailableForSource(this._study)&&this._undoModel.mergeSourceUp(this._study)}mergeDownWithUndo(){this._model.isMergeDownAvailableForSource(this._study)&&this._undoModel.mergeSourceDown(this._study)}unmergeUpWithUndo(){this._model.isUnmergeAvailableForSource(this._study)&&this._undoModel.unmergeSourceUp(this._study)}unmergeDownWithUndo(){this._model.isUnmergeAvailableForSource(this._study)&&this._undoModel.unmergeSourceDown(this._study)}priceScale(){return new g.PriceScaleApi(this._undoModel,(0,s.ensureNotNull)(this._study.priceScale()))}symbolSource(){const e=(0,s.ensureNotNull)(this._study.symbolSource());return{symbol:e.symbol(),currencyId:e.currency(),unitId:e.unit()}}currency(){return this._study.currency()}changePriceScale(e){const t=(0,s.ensureNotNull)(this._model.paneForSource(this._model.mainSeries())),i=(0,s.ensureNotNull)(this._model.paneForSource(this._study));switch(e){case"no-scale":(0,s.assert)(i.actionNoScaleIsEnabled(this._study),"Unable to leave a pane without any non-overlay price scale"),new u.MoveToNewPriceScaleUndoCommand(this._model,this._study,i,"overlay",null).redo();break;case"as-series":(0,s.assert)(i===t,"Study should be on the main pane"),new u.MoveToExistingPriceScaleUndoCommand(this._model,this._study,i,this._model.mainSeries().priceScale(),null).redo();break;case"new-left":new u.MoveToNewPriceScaleUndoCommand(this._model,this._study,i,"left",null).redo();break;case"new-right":new u.MoveToNewPriceScaleUndoCommand(this._model,this._study,i,"right",null).redo();break;default:const r=this._model.dataSourceForId(e);if(null===r)throw new Error(`There is no study with entityId='${e}'`);const n=i===this._model.paneForSource(r);(0,s.assert)(n,"Both studies should be on the same pane");const o=(0,s.ensureNotNull)(r.priceScale()),a=(0,c.sourceNewCurrencyOnPinningToPriceScale)(this._study,o,this._model),h=(0,_.sourceNewUnitOnPinningToPriceScale)(this._study,o,this._model);new u.MoveToExistingPriceScaleUndoCommand(this._model,this._study,i,o,null).redo(),null!==a&&new l.SetPriceScaleCurrencyUndoCommand(o,a,this._undoModel.chartWidget(),null).redo(),null!==h&&new m.SetPriceScaleUnitUndoCommand(o,h,this._undoModel.chartWidget(),null).redo()}}isVisible(){return this._study.properties().visible.value()}setVisible(e){this._study.properties().visible.setValue(e)}bringToFront(){this._model.bringToFront([this._study])}sendToBack(){this._model.sendToBack([this._study])}applyOverrides(e){(0,a.applyOverridesToStudy)(this._study,e)}dataLength(){return this._study.status().type!==f.StudyStatusType.Completed?0:this._study.metaInfo().plots.length>0?this._study.data().size():this._model.mainSeries().bars().size()}isLoading(){return this._study.isLoading()}properties(){return this._study.properties()}async applyToEntireLayout(){const e=new p.ActionsProvider(this._chartWidget),t=(await e.contextMenuActionsForSources([this._study])).find(e=>"applyStudyToEntireLayout"===e.id);t&&t.execute()}}},152:(e,t,i)=>{"use strict";i.d(t,{getStudyInputsInfo:()=>r});var s=i(28353);function r(e){ +return void 0===e.inputs?[]:e.inputs.map(e=>({...e,id:e.id,localizedName:void 0!==e.name?(0,s.t)(e.name,{context:"input"}):""}))}},70120:(e,t,i)=>{"use strict";i.d(t,{getStudyStylesInfo:()=>n});var s,r=i(27788);function n(e){const t={};if(e.defaults){const i=(0,r.default)(e.defaults);t.defaults=i}return void 0!==e.plots&&(t.plots=(0,r.default)(e.plots)),void 0!==e.styles&&(t.styles=(0,r.default)(e.styles)),void 0!==e.bands&&(t.bands=(0,r.default)(e.bands)),void 0!==e.filledAreas&&(t.filledAreas=(0,r.default)(e.filledAreas)),void 0!==e.palettes&&(t.palettes=(0,r.default)(e.palettes)),t}!function(e){e.LeftToRight="left_to_right",e.RightToLeft="right_to_left"}(s||(s={}))},817:(e,t,i)=>{"use strict";i.d(t,{ChartSession:()=>u});var s=i(2872),r=i.n(s),n=i(88537),o=i(52714),a=i.n(o),l=i(9423),c=i(98125);const h=(0,c.getLogger)("ChartApi.AbstractSession");var d=i(80643);(0,c.getLogger)("ChartSession");class u extends class{constructor(e,t,i){this._isConnected=new(a())(!1),this._state=0,this._isConnectForbidden=!1,this._sessionId="",this._sessionIdChanged=new(r()),this._chartApi=e,this._sessionPrefix=t,this._shouldReconnectAfterCriticalError=i}destroy(){this._logNormal("Destroying session"),this._isConnected.unsubscribe(),this.disconnect(),this._sessionIdChanged.destroy(),delete this._chartApi,this._logNormal("Session has been destroyed")}isConnected(){return this._isConnected}sessionId(){return this._sessionId}onSessionIdChanged(){return this._sessionIdChanged}connect(){0===this._state&&((0,n.assert)(!this._isConnectForbidden,"Cannot call connect because it is forbidden at this moment"),this._setSessionId(`${this._sessionPrefix}_${(0,l.randomHash)()}`),this._logNormal("Connecting session - wait until transport stay connected"),this._state=1,this._chartApi.createSession(this._sessionId,this))}disconnect(){0!==this._state&&((0,n.assert)(""!==this._sessionId,"sessionId must not be invalid"),this._logNormal("Disconnecting session..."),this._forbidConnectWhile(()=>{this._chartApi.connected()&&this._sendRemoveSession(),this._processDestroyingOnServer()}))}onMessage(e){switch(e.method){case"connected":return void this._onChartApiConnected();case"disconnected":return void this._onChartApiDisconnected();case"critical_error":const t=String(e.params[0]),i=String(e.params[1]);return void this._onCriticalError(t,i)}this._onMessage(e)}_getChartApi(){return this._chartApi}_generateLogMessage(e){return`[${this._sessionId}] ${e}`}_onCriticalError(e,t){this._logError(`Critical error. Reason=${e}, info=${t}.`),this._forbidConnectWhile(()=>{this._processDestroyingOnServer()}),this._shouldReconnectAfterCriticalError?(this._logNormal("Reconnecting after critical error..."),this.connect()):this._logNormal("Reconnecting after critical error skipped")}_onChartApiConnected(){(0,n.assert)(1===this._state,"Session is not registered"),this._logNormal("Transport is connected. Creating session on the server"),this._sendCreateSession(),this._state=2,this._isConnected.setValue(!0)}_onChartApiDisconnected(){ +this._logNormal("Transport is disconnected. Reconnecting..."),this._forbidConnectWhile(()=>{this._processDestroyingOnServer()}),this.connect()}_setSessionId(e){const t=this._sessionId;this._logNormal(`Changing sessionId: old=${t}, new=${e}`),this._sessionId=e,this._sessionIdChanged.fire(e,t)}_logNormal(e){h.logNormal(this._generateLogMessage(e))}_logError(e){h.logError(this._generateLogMessage(e))}_processDestroyingOnServer(){this._state=0,this._isConnected.setValue(!1),this._chartApi.removeSession(this._sessionId),this._setSessionId("")}_forbidConnectWhile(e){this._isConnectForbidden=!0,e(),this._isConnectForbidden=!1}}{constructor(e,t=!1){super(e,"cs",!1),this._sessionDisabled=!1,this._handler=null,this._criticalError=new(r()),this._symbolResolveMap=new Map,this._disableStatistics=t}destroy(){this._criticalError.destroy(),this._handler=null,this._symbolResolveMap.clear(),super.destroy()}serverTimeOffset(){return this._getChartApi().serverTimeOffset()}switchTimezone(e){return this._getChartApi().switchTimezone(this.sessionId(),e)}defaultResolutions(){return this._getChartApi().defaultResolutions()}availableCurrencies(){return this._getChartApi().availableCurrencies()}availableUnits(){return this._getChartApi().availableUnits()}resolveSymbol(e,t,i){if(this._symbolResolveMap.has(t)){const[e,s]=this._symbolResolveMap.get(t);return Array.isArray(s)?s.push(i):s.then(i),e}{const s=[i];return this._getChartApi().resolveSymbol(this.sessionId(),e,t,i=>{"symbol_error"===i.method?this._symbolResolveMap.delete(t):this._symbolResolveMap.set(t,[e,Promise.resolve(i)]),s.forEach(e=>e(i))}),this._symbolResolveMap.set(t,[e,s]),e}}requestFirstBarTime(e,t,i){return this._getChartApi().requestFirstBarTime(this.sessionId(),e,t,i)}createSeries(e,t,i,s,r,n,o){return this._getChartApi().createSeries(this.sessionId(),e,t,i,s,r,n,o)}modifySeries(e,t,i,s,r,n){return this._getChartApi().modifySeries(this.sessionId(),e,t,i,s,r,n)}removeSeries(e){return!!this.isConnected().value()&&this._getChartApi().removeSeries(this.sessionId(),e)}requestMoreData(e,t,i){return"number"==typeof e?this._getChartApi().requestMoreData(this.sessionId(),e):this._getChartApi().requestMoreData(this.sessionId(),e,t,i)}requestMoreTickmarks(e,t,i){return(0,d.isNumber)(e)?this._getChartApi().requestMoreTickmarks(this.sessionId(),e):this._getChartApi().requestMoreTickmarks(this.sessionId(),e,t,i)}requestMetadata(e,t){(()=>{this._getChartApi().requestMetadata(this.sessionId(),e,t)})()}isCanCreateStudy(e){return this._getChartApi().isCanCreateStudy(e)}createStudy(e,t,i,s,r,n,o){return this._getChartApi().createStudy(this.sessionId(),e,t,i,s,r,n,o)}rebindStudy(e,t,i,s,r,n,o){return this._getChartApi().rebindStudy(this.sessionId(),e,t,i,s,r,n,o)}modifyStudy(e,t,i,s){return this._getChartApi().modifyStudy(this.sessionId(),e,t,i,s)}removeStudy(e,t){return this._getChartApi().removeStudy(this.sessionId(),e,t)}createPointset(e,t,i,s,r,n){return this._getChartApi().createPointset(this.sessionId(),e,t,i,s,r,n)}modifyPointset(e,t,i,s){ +return this._getChartApi().modifyPointset(this.sessionId(),e,t,i,s)}removePointset(e){return this._getChartApi().removePointset(this.sessionId(),e)}setVisibleTimeRange(e,t,i,s,r,n){this._getChartApi().setVisibleTimeRange(this.sessionId(),e,t,i,s,!0,r,n)}criticalError(){return this._criticalError}connect(e=null){null!==e&&(this._handler=e),this._symbolResolveMap.clear(),super.connect()}setHandler(e){this._handler=e}connected(){return this.isConnected().value()&&!this._sessionDisabled}disable(){this._sessionDisabled=!0}chartApi(){return this._getChartApi()}_sendCreateSession(){Object.keys(this).forEach(e=>{/^(s|st|symbol_)\d+$/.test(e)&&delete this[e]}),this._getChartApi().chartCreateSession(this.sessionId(),this._disableStatistics)}_sendRemoveSession(){this._getChartApi().chartDeleteSession(this.sessionId())}_onMessage(e){this._handler&&this._handler(e)}_onCriticalError(e,t){this._criticalError.fire(e,t),super._onCriticalError(e,t)}}},84801:(e,t,i)=>{"use strict";var s=i(80643).declareClassAsPureInterface;function r(){}TradingView.WEB_SOCKET_WAS_CONNECTED=!1,r.REBIND_STUDY_STANDALONE_TO_CHILD=1,r.REBIND_STUDY_CHILD_TO_STANDALONE=2,r.prototype.defaultWatchlistSymbols=function(){},r.prototype.defaultResolutions=function(){},r.prototype.availableCurrencies=function(){},r.prototype.availableUnits=function(){},r.prototype.supportedSymbolsTypes=function(){},r.prototype.supportedExchangesList=function(){},r.prototype.symbolsGrouping=function(){},r.prototype.quoteCreateSession=function(e){},r.prototype.quoteDeleteSession=function(e){},r.prototype.quoteSetFields=function(e,t){},r.prototype.quoteAddSymbols=function(e,t){},r.prototype.quoteRemoveSymbols=function(e,t){},r.prototype.quoteFastSymbols=function(e,t){},r.prototype.depthCreateSession=function(e,t,i){},r.prototype.depthDeleteSession=function(e){},r.prototype.depthSetSymbol=function(e,t){},r.prototype.depthClearSymbol=function(e){},r.prototype.depthSetScale=function(e,t){},r.prototype.chartCreateSession=function(e,t){},r.prototype.chartDeleteSession=function(e){},r.prototype.createSession=function(e,t){},r.prototype.removeSession=function(e){},r.prototype.connected=function(){},r.prototype.connect=function(){},r.prototype.disconnect=function(){},r.prototype.switchTimezone=function(e,t){},r.prototype.resolveSymbol=function(e,t,i,s){},r.prototype.createSeries=function(e,t,i,s,r,n,o,a){},r.prototype.removeSeries=function(e,t,i){},r.prototype.modifySeries=function(e,t,i,s,r,n,o){},r.prototype.requestMoreData=function(e,t,i,s){},r.prototype.requestMetadata=function(e,t,i){},r.prototype.isCanCreateStudy=function(e,t){},r.prototype.createStudy=function(e,t,i,s,r,n,o){},r.prototype.rebindStudy=function(e,t,i,s,r,n,o,a){},r.prototype.removeStudy=function(e,t,i){},r.prototype.modifyStudy=function(e,t,i,s,r){},r.prototype.createPointset=function(e,t,i,s,r,n,o){},r.prototype.modifyPointset=function(e,t,i,s,r){},r.prototype.removePointset=function(e,t,i){},r.prototype.requestMoreTickmarks=function(e,t,i,s){},r.prototype.requestFirstBarTime=function(e,t,i,s){}, +r.prototype._invokeHandler=function(e,t){},r.prototype._sendRequest=function(e,t){},r.prototype._onMessage=function(e){},r.prototype._dispatchNotification=function(e){},r.prototype._invokeNotificationHandler=function(e,t,i){},r.prototype._notifySessions=function(e){},r.prototype.unpack=function(e){},r.prototype.searchSymbols=function(e,t,i,s,r,n,o,a,l,c){},r.prototype.serverTimeOffset=function(){},r.prototype.getMarks=function(e,t,i,s,r){},r.prototype.getTimescaleMarks=function(e,t,i,s,r){},s(r,"ChartApiInterface"),e.exports.HandlerInfo=function(e,t){this.handler=e,this.customId=t},e.exports.ChartApiInterface=r},17437:(e,t,i)=>{"use strict";i.r(t),i.d(t,{setCustomAdapter:()=>_,initialize:()=>m,updateUser:()=>g,getChartsCount:()=>f,getCharts:()=>v,removeChart:()=>S,saveChart:()=>y,getChartContent:()=>b,loadChart:()=>w,removeStudyTemplate:()=>C,getStudyTemplateContent:()=>P,saveStudyTemplate:()=>T,getStudyTemplatesList:()=>x,invalidateStudyTemplatesList:()=>I,getStudyTemplateContentById:()=>M,getStandardStudyTemplateContentById:()=>L,removeStudyTemplateById:()=>A,renameStudyTemplate:()=>E,replaceStudyTemplate:()=>k,getDrawingTemplates:()=>D,loadDrawingTemplate:()=>V,removeDrawingTemplate:()=>B,saveDrawingTemplate:()=>N});var s=i(76422),r=i(98125),n=i(88461);const o=(0,r.getLogger)("Chart.SaveloadAdapter.Library");let a,l,c,h,d=null,u=null;function p(e){return`${c}/${encodeURIComponent(h)}/${e}?client=${encodeURIComponent(a)}&user=${encodeURIComponent(l)}`}function _(e){d=e}function m(e,t,i,s){a=e,l=t,c=i,h=s}function g(e){l=e}function f(e,t){throw new Error("Not implemented")}async function v(){const e=e=>e.map(e=>({id:e.id,name:e.name,image_url:String(e.id),modified_iso:e.timestamp,short_symbol:e.symbol,interval:e.resolution}));if(d)return d.getAllCharts().then(e);try{const t=await fetch(""+p("charts"),{credentials:"same-origin"});if(!t.ok)throw new Error(`Getting chart content response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Get chart content request failed: "+i.message);return e(i.data)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function S(e){if(d)d.removeChart(e);else try{const t=await fetch(`${p("charts")}&chart=${encodeURIComponent(e)}`,{method:"DELETE",credentials:"same-origin"});if(!t.ok)throw new Error(`Remove chart response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Remove drawing template request failed: "+i.message)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function y(e,t,i,s,r){const a=r.id.value(),l={name:e,content:JSON.stringify(s),symbol:t,resolution:i};if(d)return d.saveChart({...l,id:a});try{const e=new FormData;for(const t in l)e.append(t,l[t]);let t=p("charts");null!=a&&(t+="&chart="+encodeURIComponent(a));const i=await fetch(t,{credentials:"same-origin",method:"POST",body:e});if(!i.ok)throw new Error(`Saving chart content response was not OK. Status: ${i.status}.`);const s=await i.json() +;if("ok"!==s.status)throw new Error("Saving chart content request failed: "+s.message);return s.id.toString()}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function b(e){const t=t=>{const i=JSON.parse(t);return i.uid=e.id,i};if(d)return d.getChartContent(e.id).then(e=>t(e));try{const i=await fetch(`${p("charts")}&chart=${encodeURIComponent(e.id)}`,{credentials:"same-origin"});if(!i.ok)throw new Error(`Getting chart content response was not OK. Status: ${i.status}.`);const s=await i.json();if("ok"!==s.status)throw new Error("Get chart content request failed: "+s.message);return t(s.data.content)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}function w(e){b(e).then(e=>{s.emit("chart_load_requested",e)},()=>{o.logWarn("Error loading chart")})}async function C(e){try{if(d)return d.removeStudyTemplate({name:e});const t=await fetch(`${p("study_templates")}&template=${encodeURIComponent(e)}`,{method:"DELETE",credentials:"same-origin"});if(!t.ok)throw new Error(`Remove study template response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Remove study template request failed: "+i.message)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function P(e){try{if(d){return{content:await d.getStudyTemplateContent({name:e})}}const t=await fetch(`${p("study_templates")}&template=${encodeURIComponent(e)}`,{credentials:"same-origin"});if(!t.ok)throw new Error(`Get study template response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Get study template request failed: "+i.message);return i.data}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function T(e){try{if(d)return d.saveStudyTemplate(e).then(()=>({error:""})).catch(e=>({error:null!=e?(0,n.errorToString)(e):"error"}));const t=new FormData;t.append("name",e.name),t.append("content",e.content);const i=await fetch(p("study_templates"),{method:"POST",body:t,credentials:"same-origin"});if(!i.ok)throw new Error(`Save study template response was not OK. Status: ${i.status}.`);const s=await i.json();return{error:"ok"===s.status?"":s.status}}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function x(){try{if(u)return u;u=[];const e=e=>(u=e.map(e=>({is_default:!1,name:e.name})),u);if(d)return d.getAllStudyTemplates().then(e);const t=await fetch(p("study_templates"),{method:"GET",credentials:"same-origin"});if(!t.ok)throw new Error(`Study templates list response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Study templates list request failed: "+i.message);return e(i.data)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}function I(){u=null}function M(e,t){throw new Error("Not implemented")}function L(e,t){throw new Error("Not implemented")}function A(e,t){throw new Error("Not implemented")}function E(e,t,i){throw new Error("Not implemented")}function k(e,t,i){throw new Error("Not implemented")}async function D(e){throw new Error("Not implemented")}async function V(e,t){ +throw new Error("Not implemented")}async function B(e,t){throw new Error("Not implemented")}async function N(e,t,i){throw new Error("Not implemented")}},87983:(e,t,i)=>{"use strict";var s=i(88537).ensureNotNull,r=i(69177),n=i(29823).Interval,o=i(16616),a=i(84093),l=i(84801),c=l.ChartApiInterface,h=l.HandlerInfo,d=i(80643).requireFullInterfaceImplementation,u=i(98125).getLogger("Chart.ChartApiLocal"),p=i(73383).TIMEFRAMETYPE,_=i(65862).createDwmAligner,m=i(67337);TradingView.STUDY_COUNT_LIMIT=210,JSServer.ChartApi=function(e){this._notificationHandlers={},this._sessions={},this.studyCounter=0,this._connected=!1,this._enabled=!1,this._studyEngine=new o(e),this._callbacks={},this._serverTimeOffset=0;var t=this;this._studyEngine.on("configuration_received",(function(){t._fireEvent("configuration_received")})),this._studyEngine.on("realtime_tick",(function(e){var i={time:e.value[0]/1e3,open:e.value[1],high:e.value[2],low:e.value[3],close:e.value[4],volume:e.value[5]};t._fireEvent("realtime_tick",i,!0)})),this._setVisibleRangeTimeout={}},JSServer.ChartApi.prototype.destroy=function(){this._studyEngine.destroy(),this._studyEngine=null},JSServer.ChartApi.prototype.purgeCache=function(e){this._studyEngine.purgeCache(),this._studyEngine.purgeDataCache()},JSServer.ChartApi.prototype.defaultWatchlistSymbols=function(){const e=this._watchlistSettings.default_symbols;return m.enabled("uppercase_instrument_names")?e.map(e=>e.toUpperCase()):e},JSServer.ChartApi.prototype.defaultResolutions=function(){return this._studyEngine.supportedResolutions()||["1","3","5","15","30","45","60","120","180","240","1D","1W","1M"]},JSServer.ChartApi.prototype.availableCurrencies=function(){var e=this._studyEngine.supportedCurrencies().map((function(e){return"string"==typeof e?{id:e,code:e}:e}));return Promise.resolve(e)},JSServer.ChartApi.prototype.availableUnits=function(){return Promise.resolve(this._studyEngine.supportedUnits())},JSServer.ChartApi.prototype.supportedSymbolsTypes=function(){return this._studyEngine.supportedSymbolsTypes()},JSServer.ChartApi.prototype.supportedExchangesList=function(){return this._studyEngine.supportedExchangesList()},JSServer.ChartApi.prototype.symbolsGrouping=function(){return this._studyEngine.symbolsGrouping()},JSServer.ChartApi.prototype.start=function(){this._enabled=!0,this._fireEvent("start_enabled")},JSServer.ChartApi.prototype.unsubscribe=function(e,t){var i=this._callbacks[e];i&&i.splice(i.indexOf(t),1)},JSServer.ChartApi.prototype.on=function(e,t){return this._callbacks.hasOwnProperty(e)||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},JSServer.ChartApi.prototype._fireEvent=function(e,t,i){if(this._callbacks.hasOwnProperty(e)){var s=this._callbacks[e].slice(0);i||(this._callbacks[e]=[]);for(var r=0;rn||(TradingView.ChartapiMessagerInstances[e].onSeriesTimeframeUpdate(t,i,_,n,a),l&&setTimeout(l,0))}}}if(this._studyEngine.isTimeScaleExtendedTo(e,1e3*r))p();else{var m=TradingView.ChartapiMessagerInstances[e].seriesCompleted,g=TradingView.ChartapiMessagerInstances[e].seriesError +;void 0!==this._setVisibleRangeTimeout[e]&&clearTimeout(this._setVisibleRangeTimeout[e]),this._setVisibleRangeTimeout[e]=setTimeout(function(){delete this._setVisibleRangeTimeout[e],m.subscribe(null,f,!0),g.subscribe(null,v,!0),this._studyEngine.ensureExtendedTo(t,e,1e3*r)}.bind(this),0)}function f(e,s){e===t&&s===i&&(m.unsubscribe(null,f),g.unsubscribe(null,v),p())}function v(e,s){e===t&&s===i&&m.unsubscribe(null,f)}},JSServer.ChartApi.prototype._applyTimeFrame=function(e,t,i,s,o){var a,l,c={},h=!0;if(o.type===p.PeriodBack){var d=this._studyEngine.getSeriesLastBarTime(e,i);if(null===d)return;l=d/1e3;var u=n.parse(o.value),m=this._studyEngine.getSeriesSymbolInfo(e,i);a=r.alignPeriodsBackForVisibleRange(m.session,m.session_holidays,m.corrections,u.letter(),u.multiplier(),1,d)/1e3;var g=_(this._studyEngine.getSeriesInterval(e,i),m);null!==g&&(l=g.timeToExchangeTradingDay(1e3*l)/1e3,a=g.timeToExchangeTradingDay(1e3*a)/1e3),c={applyDefaultRightMargin:!0},h=!1}else a=o.from,l=o.to;this.setVisibleTimeRange(e,i,s,a,l,h,c)},JSServer.ChartApi.prototype.modifySeries=function(e,t,i,s,r,n,o){var a=this;this._notificationHandlers[e][t]=new h((function(r){"series_completed"===r.method&&null!==n&&(a._applyTimeFrame(e,s,t,i,n),n=null),o(r)}),t),this._studyEngine.modifySeries(e,t,s,r,i)},JSServer.ChartApi.prototype.requestMoreData=function(e,t){this._studyEngine.extendSeriesRange(e,t)},JSServer.ChartApi.prototype.setStudiesAccessController=function(e){this.studiesAccessController=e},JSServer.ChartApi.prototype.setWatchlistSettings=function(e){this._watchlistSettings=e},JSServer.ChartApi.prototype.allStudiesMetadata=function(){return this._studyEngine.studiesMetadata()},JSServer.ChartApi.prototype.requestMetadata=function(e,t,i){this._notificationHandlers[e][t]=new h(i,t);var s=this.studiesAccessController.getEnabledTools();TradingView.ChartapiMessagerInstances[e].onRequestMetadata(t,s)},JSServer.ChartApi.prototype.isCanCreateStudy=function(){return this.studyCounter{"use strict";var s=i(2872),r=function(e,t){this._server=e,this._session=t,this.seriesCompleted=new s,this.seriesError=new s};r.prototype.onRequestMetadata=function(e,t){this._server.receiveLocalResponse({method:"studies_metadata",params:[this._session,e,{errors:[],hash:"",metainfo:t,migrations:[]}]})},r.prototype.onSymbolResolved=function(e,t){this._server.receiveLocalResponse({method:"symbol_resolved",params:[this._session,e,t]})},r.prototype.onSymbolError=function(e,t){this._server.receiveLocalResponse({method:"symbol_error",params:[this._session,e,t]})},r.prototype.onStudyError=function(e,t,i){this._server.receiveLocalResponse({method:"study_error",params:[this._session,e,t,i]})},r.prototype.onSeriesLoading=function(e,t){ +this._server.receiveLocalResponse({method:"series_loading",params:[this._session,e,t]})},r.prototype.onSeriesCompleted=function(e,t,i){this._server.receiveLocalResponse({method:"series_completed",params:[this._session,e,i,t]}),this.seriesCompleted.fire(e,t)},r.prototype.onSeriesError=function(e,t,i){this._server.receiveLocalResponse({method:"series_error",params:[this._session,e,t,i]}),this.seriesError.fire(e,t)},r.prototype.onStudyCompleted=function(e,t){this._server.receiveLocalResponse({method:"study_completed",params:[this._session,e,t]})},r.prototype.onStudyLoading=function(e,t){this._server.receiveLocalResponse({method:"study_loading",params:[this._session,e,t]})},r.prototype.onTickmarksUpdated=function(e,t){var i={method:"tickmark_update",params:[this._session,{index:e,zoffset:0,changes:[],marks:t,index_diff:[]}]};this._server.receiveLocalResponse(i)},r.prototype.onTimescaleUpdate=function(e,t){var i={method:"timescale_update",params:[this._session,this._prepareDataUpdateObjects(t),{index:e.pointsIndex,zoffset:0,changes:e.points,marks:e.marks,index_diff:e.indexChange,baseIndex:e.baseIndex}]};this._server.receiveLocalResponse(i)},r.prototype.onTimescaleCompleted=function(e){this._server.receiveLocalResponse({method:"timescale_completed",params:[this._session,e]})},r.prototype.onSeriesTimeframeUpdate=function(e,t,i,s,r){var n={method:"series_timeframe",params:[this._session,e,t,i,s,null,!0,r]};this._server.receiveLocalResponse(n)},r.prototype.onPointsetDataUpdate=function(e,t,i){this.onDataUpdate(e,t,i,null)},r.prototype._prepareDataUpdateObjects=function(e){var t={};return e.forEach((function(e){t[e.objId]={series:e.data,turnaround:e.turnaround},e.nonSeriesData&&(e.nonSeriesData.data?t[e.objId].nonseries={d:JSON.stringify(e.nonSeriesData.data),indexes:e.nonSeriesData.indexes}:t[e.objId].nonseries={d:"",indexes:[]})})),t},r.prototype.onDataUpdate=function(e,t,i,s){var r={method:"data_update",params:[this._session,this._prepareDataUpdateObjects([{objId:e,turnaround:t,data:i,nonSeriesData:s}])]};this._server.receiveLocalResponse(r)},r.prototype.onQuotesData=function(e){this._server.receiveLocalResponse({method:"quote_symbol_data",params:e})},r.prototype.onDepthData=function(e){this._server.receiveLocalResponse({method:"dd",params:e})},r.prototype.onDepthUpdate=function(e){this._server.receiveLocalResponse({method:"dpu",params:e})},r.prototype.onClearData=function(e){this._server.receiveLocalResponse({method:"clear_data",params:[this._session,e]})},TradingView.ChartapiMessagerInstances=[],e.exports=r},41986:(e,t,i)=>{"use strict";i.d(t,{DatafeedRequestsCachedProcessor:()=>_});var s=i(88537),r=i(29823),n=i(55257),o=i(216),a=i(67337),l=i(69177),c=i(65862),h=i(90388);i(94419);function d(e,t){return e.ticker+(e.currency_code?"_#_"+e.currency_code:"")+(e.unit_id?"_#_"+e.unit_id:"")+(e.subsession_id?"_#_"+e.subsession_id:"")+"_#_"+t}function u(e){return new Date(e).toISOString()}class p{constructor(e,t,i,s,n,o){this._cache={bars:[]},this._nextSubscriptionId=0,this._pendingSubscribers=[],this._subscribers=[], +this._requesting=!1,this._leftDate=null,this._nextTime=null,this._realtimeOn=!1,this._endOfData=!1,this._resetCacheTimeout=null,this._errorMessage=null,this._destroyed=!1,this._emptyResponsesCount=0,this._datafeed=e,this._symbolInfo=t,this._interval=r.Interval.parse(i),this._resolution=this._interval.value(),this._dwmAligner=n,this._serverTimeOffsetGetter=s,this._resetCacheTimePeriod=void 0===o?1e4:o,this._sessionSpec=new h.SessionSpec(t.timezone,t.session,t.session_holidays,t.corrections),this._updateDatesFromExpirationDate()}destroy(){0!==this._subscribers.length&&console.warn("Destroying with not-empty state"),this._clearResetCacheTimeout(),this._unsubscribeRealtime(),this._purgeCache(),delete this._datafeed,this._destroyed=!0}addSubscription(e,t,i){const s=this._getNextSubscriptionId();this._pendingSubscribers.push({key:s,range:e,onHistoryCallback:t,onErrorCallback:i}),r.Interval.isDWM(this._resolution)&&void 0!==e.to&&null!==this._dwmAligner&&e.to%864e5&&console.warn(`Internal error: invalid date for DWM resolution ${u(e.to)}, expected time without a time part`),this._clearResetCacheTimeout();return setTimeout(()=>{this._destroyed||this._processPendingSubscribers()},0),s}removeSubscription(e){const t=this._pendingSubscribers.find(t=>t.key===e);if(t)return void this._pendingSubscribers.splice(this._pendingSubscribers.indexOf(t),1);const i=this._subscribers.find(t=>t.key===e);if(i)return this._subscribers.splice(this._subscribers.indexOf(i),1),void(this._subscribers.length||(this._resetCacheTimeout=setTimeout(()=>{this._resetCacheTimeout=null,this._purgeCache(),this._unsubscribeRealtime()},this._resetCacheTimePeriod)));console.warn("Unknown subscription symbol={0}, resolution={1}, key={2}".format(this._symbolInfo.name,this._resolution,e))}_logMessage(e,t){if(a.enabled("charting_library_debug_mode")||t){const t=this._symbolInfo.currency_code,i=this._symbolInfo.unit_id;console.log(`FEED [${this._symbolInfo.name}|${this._resolution}${t?"|"+t:""}${i?"|"+i:""}]: ${e}`)}}_clearResetCacheTimeout(){null!==this._resetCacheTimeout&&(clearTimeout(this._resetCacheTimeout),this._resetCacheTimeout=null)}_purgeCache(){this._logMessage("Reset cache"),this._cache={bars:[]},this._errorMessage=null,this._leftDate=null,this._endOfData=!1,this._updateDatesFromExpirationDate()}_updateDatesFromExpirationDate(){void 0!==this._symbolInfo.expiration_date&&(this._nextTime=1e3*this._symbolInfo.expiration_date,this._leftDate=1e3*(this._symbolInfo.expiration_date+1))}_dealignTime(e){return null===this._dwmAligner?e:this._dwmAligner.timeToExchangeTradingDay(e)}_normalizeRange(e){const t=void 0!==e.to?e.to:this._dealignTime(this._now());if(0===this._cache.bars.length||void 0!==e.to&&t<=(0,s.ensureNotNull)(this._leftDate))return{countBack:e.countBack,to:t};const i=null!==this._dwmAligner?this._dwmAligner.timeToSessionStart(t):t,r=(0,n.lowerbound)(this._cache.bars,i,(e,t)=>e.time{e.onErrorCallback(t)})}let t=this._normalizeRange(e[0].range);for(const i of e.map(e=>this._normalizeRange(e.range)))(i.tot.countBack)&&(t=i);this._logMessage(`Leftmost subscriber requires ${t.countBack} bars prior ${u(t.to)}`);!(null===this._leftDate||t.to{const t=this._moveSubscriberToRealtime(e);this._returnHistoryDataToSubscriber(e,t)}),this._subscribeRealtimeIfNeeded()):this._ensureRequestedTo(t)}_moveSubscriberToRealtime(e){const t={key:e.key,onHistoryCallback:e.onHistoryCallback,barset:null};return this._subscribers.push(t),t}_isSymbolExpired(){return this._symbolInfo.expired||void 0!==this._symbolInfo.expiration_date}_subscribeRealtimeIfNeeded(){!this._subscribers.length||this._realtimeOn||this._isSymbolExpired()||this._subscribeRealtime()}_subscribeRealtime(){if(this._symbolInfo.expired||this._realtimeOn)return;this._realtimeOn=!0,this._datafeed.subscribeBars(this._symbolInfo,this._resolution,e=>{null!==this._dwmAligner&&(e.time=this._dwmAligner.timeToSessionStart(e.time)),this._putToCacheNewBar(e),this._subscribers.forEach(t=>{const i=t.barset;if(null===i)throw new Error("subscriber.barset is null");i.add(e),t.onHistoryCallback(i)})},d(this._symbolInfo,this._resolution),()=>{this._unsubscribeRealtime();const e=this._leftDate;this._purgeCache(),null!==e&&this._ensureRequestedTo({to:e,countBack:0})}),this._logMessage("Subscribed to realtime")}_unsubscribeRealtime(){!this._isSymbolExpired()&&this._realtimeOn&&(this._datafeed.unsubscribeBars(d(this._symbolInfo,this._resolution)),this._logMessage("Unsubscribed from realtime"),this._realtimeOn=!1)}_returnHistoryDataToSubscriber(e,t){const i=this._normalizeRange(e.range),s=this._createBarsetForRange(i);s.count()>0?this._logMessage("Bars to return for request {0}: total {1} bars in [{2} ... {3}] ".format(e.key,s.count(),u(s.bars[0].time),u(s.bars[s.count()-1].time))):this._logMessage("Request {0}. Nothing to return.".format(e.key)),t.barset=s,this._endOfData&&null!==this._leftDate&&i.to<=this._leftDate&&(s.endOfData=!0),e.onHistoryCallback(s)}_createBarsetForRange(e){const t=null!==this._dwmAligner?this._dwmAligner.timeToSessionStart(e.to):e.to,i=(0,n.lowerbound)(this._cache.bars,t,(e,t)=>e.time{if(!this._destroyed)if(a)this._logMessage("getBars callback is already called before",!0);else{if(a=!0,e.length>0){const t=` [${u(e[0].time)} ... ${u(e[e.length-1].time)}]`;this._logMessage(`Receiving bars: total ${e.length} bars in ${t}, requested range: ${o}`)}else this._logMessage("Receiving bars: barset is empty, requested range: "+o);this._requesting=!1,this._processBars(e,t)}},e=>{this._destroyed||(a?this._logMessage("getBars callback is already called before",!0):(a=!0,this._requesting=!1,this._errorMessage=e||null,this._processPendingSubscribers()))})}_processBars(e,t){this._checkBars(e),this._alignBarsTime(e),e.length>0?(this._emptyResponsesCount=0,this._processFullBarset(e,t)):(this._emptyResponsesCount+=1,this._processEmptyBarset(t)),this._processPendingSubscribers()}_processEmptyBarset(e){e&&e.nextTime?(this._logMessage("Next time received: `{0}`".format(u(1e3*e.nextTime))),this._nextTime=1e3*e.nextTime):e&&e.noData?(this._logMessage("EOD received"),this._setEndOfData()):this._logMessage("nextTime or noData should present in metainfo when empty barset is returned"),50===this._emptyResponsesCount&&(this._logMessage("EOD detected due 50 empty responses in a row"),this._setEndOfData())}_setEndOfData(){this._endOfData=!0, +this._cache.bars.length&&(this._leftDate=this._dealignTime(this._cache.bars[0].time))}_processFullBarset(e,t){this._putToCache(e)?null!==this._leftDate&&0!==this._cache.bars.length&&(this._interval.isTicks()?this._leftDate=this._dealignTime(this._cache.bars[0].time):this._leftDate=Math.min(this._leftDate,this._dealignTime(this._cache.bars[0].time))):this._logMessage("Incremental update failed. Starting full update. Returned data should be in the requested range.",!0),t&&t.nextTime?console.warn("nextTime should be set when there is no data in the requested period only"):t&&t.noData&&console.warn("noData should be set when there is no data in the requested period and earlier only")}_getNextSubscriptionId(){return this._nextSubscriptionId++}_checkBars(e,t=!1){if(a.enabled("charting_library_debug_mode"))for(let i=1;i"number"!=typeof e[i][t]||!isFinite(e[i][t]))&&console.error("Wrong bars values: all OHLC values should be numbers")}}_putToCache(e){if(0===e.length)return!0;if(this._cache.bars.length===e.length&&this._cache.bars[0].time===e[0].time&&this._cache.bars[this._cache.bars.length-1].time===e[e.length-1].time)return this._logMessage("Time range of received data is the same as cached one. Skip the update."),!0;if(0!==this._cache.bars.length&&e[e.length-1].time===this._cache.bars[0].time&&this._cache.bars.splice(0,1),0!==this._cache.bars.length&&e[e.length-1].time>=this._cache.bars[0].time){const t=this._cache.bars[this._cache.bars.length-1].time===e[e.length-1].time;if(this._cache.bars=[],!t)return this._leftDate=null,!1;this._logMessage("Received history up to now instead of incremental update. Return exactly what is requested.")}return this._cache.bars=[...e,...this._cache.bars],this._checkBars(this._cache.bars,!0),!0}_putToCacheNewBar(e){const t=this._cache.bars.length,i=e.time,s=0===t?NaN:this._cache.bars[t-1].time;0===t||st.destroy()),this._threads={},delete this._datafeed}purgeCache(){this._forEachThread((e,t)=>t.destroy()),this._threads={}}subscribe(e,t,i,s,r){const n=d(e,t);this._threads[n]||(this._threads[n]=this._createThread(e,t));return n+'"'+this._threads[n].addSubscription(i,s,r)}unsubscribe(e){ +const t=e.split('"');if(2!==t.length)return void console.warn("Wrong guid format");const i=t[0],s=parseInt(t[1]);this._threads.hasOwnProperty(i)?this._threads[i].removeSubscription(s):console.warn("Data thread doesnt exist: "+e)}_createThread(e,t){return new p(this._datafeed,e,t,this._serverTimeOffsetGetter,(0,c.createDwmAligner)(t,e),this._resetCacheTimePeriod)}_forEachThread(e){Object.keys(this._threads).forEach(t=>e(t,this._threads[t]))}}},42934:(e,t,i)=>{"use strict";i.d(t,{barTimeToEndOfPeriod:()=>r,endOfPeriodToBarTime:()=>n});var s=i(68684);function r(e,t,i){if(i.isDays())return t;if(e.moveTo(1e3*t),i.isIntraday()){const i=e.indexOfBar(1e3*t);if(i<0)throw new Error(t+" is out of the instrument session ");return e.endOfBar(i)/1e3}return e.startOfBar(s.SessionStage.LASTBAR_SESSION)/1e3}function n(e,t,i){if(i.isDays())return t;const s=1e3*t-1;if(e.moveTo(s),i.isIntraday()){const i=e.indexOfBar(s);if(i<0)throw new Error(t+" is out of the instrument session ");return e.startOfBar(i)/1e3}return t=e.startOfBar(0)/1e3}},79283:(e,t,i)=>{"use strict";i.d(t,{replaceGraphicsTimesWithTimePointIndexIndex:()=>n});const s=new Map([["horizlines",e=>[e.startIndex,e.endIndex]],["hhists",e=>[e.firstBarTime,e.firstBarTime]],["vertlines",e=>[e.index]],["polygons",e=>e.points.map(e=>e.index)],["backgrounds",e=>[e.start,e.stop]]]),r=new Map([["horizlines",(e,t)=>{const i=e;i.startIndex=t.get(i.startIndex),i.endIndex=t.get(i.endIndex)}],["hhists",(e,t)=>{const i=e;i.firstBarTime=t.get(i.firstBarTime),i.lastBarTime=t.get(i.lastBarTime)}],["vertlines",(e,t)=>{const i=e;i.index=t.get(i.index)}],["polygons",(e,t)=>{const i=e;for(const e of i.points)e.index=t.get(e.index)}],["backgrounds",(e,t)=>{const i=e;i.start=t.get(i.start),i.stop=t.get(i.stop)}]]);function n(e){const t=e.data&&e.data.graphicsCmds&&e.data.graphicsCmds.create;if(!t)return[];const i=new Map,n=new Set;s.forEach((e,s)=>{const r=t[s];if(r)for(const t of r)for(const s of t.data){const t=e(s);for(const e of t)i.set(e,-1),n.add(e)}});const o=Array.from(n).sort((e,t)=>e-t);return o.forEach((e,t)=>i.set(e,t)),r.forEach((e,s)=>{const r=t[s];if(r)for(const t of r)for(const s of t.data)e(s,i)}),o}},65235:(e,t,i)=>{"use strict";var s=i(67337);window.onload=function(){location.hostname.indexOf(".")>=0&&!function(){try{return/^(192|172|10)\.[0-9][0-9][0-9]\.[0-9][0-9][0-9]\.[0-9][0-9][0-9]/.test(location.hostname)||/^.*((?:\.local)|localhost)$/.test(location.hostname)}catch(e){return!1}}()&&setTimeout((function(){try{var e=function(){var e=0;return JSON.parse(urlParams.logo).image&&(e="C",s.enabled("link_to_tradingview")||(e="D")),e}();window.ga&&(0!==e&&window.ga("send","event","s",e),urlParams.utm||window.ga("send","event","l"))}catch(e){}}),3e4)}},41728:(e,t,i)=>{"use strict";var s=i(69177),r={};e.exports=function(e,t,i){var n,o,a={},l=r[i]||"out_of_session",c=!1,h=i,d=t,u=null;function p(){var e={};e.symbolname=h,e.status="ok",e.values={},e.values.current_session=l,r[h]=l,TradingView.ChartapiMessagerInstances[d].onQuotesData([d].concat([e]))}function _(){ +if(n)if(o)l="out_of_session";else{var e=s.isTradingNow((new Date).getTime(),n)?"market":"out_of_session";e!==l&&(l=e,p())}}return e(i,null,(function(e){c||function(e){n=new s.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections),o=e.expired,u=setInterval(_,6e4),_(),p()}(e)}),(function(){})),a.stop=function(){c=!0,u&&clearInterval(u)},a.marketStatus=function(){return l},a}},11565:(e,t,i)=>{"use strict";i.d(t,{getChartStyleStudy:()=>n});var s=i(216);class r{main(e){const t=e.new_var(s.Std.open(e)),i=e.new_var(s.Std.close(e)),r=t.get(1),n=i.get(1),o=s.Std.ohlc4(e),a=s.Std.na(t.get(1))?(s.Std.open(e)+s.Std.close(e))/2:(r+n)/2;t.set(a),i.set(o);const l=s.Std.max(s.Std.high(e),s.Std.max(a,o)),c=s.Std.min(s.Std.low(e),s.Std.min(a,o)),h=s.Std.volume(e),d=e.symbol;return[d.time,a,l,c,o,h,d.updatetime,d.isBarClosed]}}function n(e){if(0===e.type.indexOf("BarSetHeikenAshi@tv-basicstudies-"))return new r;const t="unknown builder type: "+e.type;throw console.error(t),new Error(t)}},37750:(e,t,i)=>{"use strict";var s=i(29823).Interval,r=i(65862).isAlignmentEnabled,n=i(11565).getChartStyleStudy,o=i(19234).decodeExtendedSymbol,a=i(983).findSuitableResolutionToBuildFrom,l=i(28930).SubsessionId,c=function(){var e=i(216),t=e.StudyEngine,c=e.BarBuilder,h=e.BarSet;function d(e){this.host=e,this.cache={}}function u(t){console.error(t),e.Std.error(t)}d.prototype.getCache=function(e){return this.cache[e]},d.prototype.putCache=function(e,t){this.cache[e]=t},d.prototype.subscribe=function(e,t,i,s,r,n,o,a,l,c,h){var d=l(o),u=function(e,t,i,s,r,n,o,a,l){var c=r.has_empty_bars?"_":"";return n+e+s+(t||"")+(i||"")+(l||"")+c+"_"+o.countBack+"_"+o.to+"_"+Boolean(a)}(e,t,i,s,o,a,d,c,h),p=this.getCache(u);return p||(p=this.createItem(e,t,i,s,o,d,a,c,h),this.putCache(u,p)),p.listeners.addListener(r,n),{key:u,listener:r}},d.prototype.unsubscribe=function(e){var t=this.getCache(e.key);t&&t.listeners.removeListener(e.listener)},d.prototype.removeUnused=function(){var e=[];for(var t in this.cache){if(this.cache[t])0===this.cache[t].listeners.listenersCount()&&e.push(t)}if(0!==e.length){for(var i=0;i{"use strict";i.d(t,{findSuitableResolutionToBuildFrom:()=>o});var s=i(29823);function r(e,t){const i=t.multiplier();for(let s=e.length-1;s>=0;s--){const r=Number(e[s]);if(i%r==0)return{error:!1,resolution:`${r}${t.letter()}`}}return{error:!0,errorMessage:n(t.value())}}function n(e){return`Misconfiguration error: it is trying to request ${e} but we cannot build it from lower resolution`}function o(e,t){const i=s.Interval.parse(e);if((i.isWeeks()||i.isMonths())&&t.has_weekly_and_monthly){let e=["1"];i.isWeeks()&&void 0!==t.weekly_multipliers&&(e=t.weekly_multipliers),i.isMonths()&&void 0!==t.monthly_multipliers&&(e=t.monthly_multipliers);const s=r(e,i);if(!s.error)return s}if(i.isDWM()&&(void 0===t.has_daily||t.has_daily))return i.isDays()&&void 0!==t.daily_multipliers?r(t.daily_multipliers,i):void 0===t.daily_multipliers||t.daily_multipliers.includes("1")?{error:!1,resolution:"1D"}:{error:!0,errorMessage:"Misconfiguration error: it is trying to request a resolution but symbol does not support it"};if(i.isDWM())return{error:!0,errorMessage:n(i.value())};if(i.isMinutes()&&!t.has_intraday)return{error:!0,errorMessage:"Misconfiguration error: it is trying to request intraday resolution but symbol does not support it"};if(i.isSeconds()&&!t.has_seconds)return{error:!0,errorMessage:"Misconfiguration error: it is trying to request seconds resolution but symbol does not support it"};if(i.isTicks())return!t.has_ticks||i.multiplier()>1?{error:!0,errorMessage:`Misconfiguration error: it is trying to request ${i.multiplier()} ticks resolution but symbol does not support it`}:{error:!1,resolution:"1T"};const o=i.isSeconds()?t.seconds_multipliers:t.intraday_multipliers;return void 0===o?{error:!1,resolution:i.value()}:r(o,i)}},216:function(e,t,i){"use strict";var s=i(54631).StudyError,r=i(55257),n=i(80643).inherit,o=i(68684).SessionStage,a=i(29823).Interval,l=i(65862).createDwmAligner,c=i(65862).createTimeToBarTimeAligner,h=i(19234).decodeExtendedSymbol,d=i(19234).encodeExtendedSymbolOrGetSimpleSymbolString,u=i(28930).SubsessionId,p=i(37415).PrePostMarketBarIdentifier,_=i(90388).SessionSpec,m=function(){var e,t="undefined"!=typeof window?window:i.g,g=t.PineJsCalendar?t.PineJsCalendar:i(10480),f=i(69177),v=i(11075).extrapolateBarsFrontToTime,S={};function y(e,t,i,s,r){var n=r,o=0;if(isNaN(e.get(t-1)))return{index:NaN,value:NaN};for(var a=0;a1&&(this._currentIndex.set(n),this._currentValue.set(o),this._pivotIndex.set(a))}function w(e,t,i){this._deviation=e;var s=i.new_var(S.high(i)),r=i.new_var(S.low(i));s.get(2*t+1),r.get(2*t+1),this._pivotHigh=new b(t,t,b.HIGH,s,i),this._pivotLow=new b(t,t,b.LOW,r,i),this._lastVal=i.new_var(NaN),this._lastIndex=i.new_var(-1),this._lastType=i.new_var(),this._index=S.n(i),this._isNewBar=i.symbol.isNewBar,this._isBarClosed=i.symbol.isBarClosed;var n=this._lastIndex.get(1),o=this._lastVal.get(1),a=this._lastType.get(1);this._index>1&&this.addPivot(n,o,a),this.processPivot(this._pivotHigh),this.processPivot(this._pivotLow)}function C(e){this.symbol=e,this.vars=[],this.vars_index=0,this.ctx=[],this.ctx_index=0,this.minimumAdditionalDepth=null}function P(e){this.mindepth=0,this.original=NaN,this.modified=!1,this.symbol=e}function T(e){P.call(this,e)}function x(e,t,i,s,r,n,o){var l=h(e);const c="string"==typeof l.symbol?l:l.symbol;this.ticker=c.symbol,this.currencyCode=i||c["currency-id"],this.unitId=s||c["unit-id"],this.subsessionId=o||c.session;var u=c["currency-id"]!==this.currencyCode||c["unit-id"]!==this.unitId;c["currency-id"]=this.currencyCode,c["unit-id"]=this.unitId,u&&(e=d(l)),this.tickerid=e;var p=a.parse(t);this.resolution=p.letter(),this.interval=p.multiplier(),this.period=p.value(),this.index=-1,this.time=NaN,this.open=NaN,this.high=NaN,this.low=NaN,this.close=NaN,this.volume=NaN,this.updatetime=NaN,this.isNewBar=!1,this.isBarClosed=!1,this.session=new f.SessionInfo("Etc/UTC","24x7"),this.regularSubsession=null,this.preMarketSubsession=null,this.postMarketSubsession=null,this.script=r,this.isAdditionalDepthAllowed=void 0===l.type,n&&this.set_symbolinfo(n)}function I(e,t,i,s,r,n,o,a,l,c,h){this.body=n,this.symbols=[],this.runner=r,this.inputCallback=a,this.out=o,this.nonseriesOut=l,this.ctx=new C(this.add_sym(e,t,i,s,c,h)),this.init()}function M(e){this.symbols=[],this.barsets=[],this.subscription=[],this.host=e,this.isRecalculated=!1,this.isStarted=!1,this.start()}function L(e){this.runner=new M(e)}function A(e,t){this.info=e,this.bars=t||[],this.isBarClosed=!0,this.firstLoadedTimeMs=0!==this.bars.length?this.bars[0].time:1/0,this._emptyBarCount=0,this._lastBarIsEmpty=!1}function E(e,t){this.period=e,this.generateEmptyBars=!!t}function k(){}return S.max_series_default_size=10001,S.n=function(e){return e.symbol.index+1},S.nz=function(e,t){return t=t||0,isFinite(e)?e:t},S.na=function(e){return 0===arguments.length?NaN:isNaN(e)?1:0},S.isZero=function(e){return Math.abs(e)<=1e-10},S.toBool=function(e){return isFinite(e)&&!S.isZero(e)},S.eq=function(e,t){return S.isZero(e-t)},S.neq=function(e,t){return!S.eq(e,t)},S.ge=function(e,t){return S.isZero(e-t)||e>t},S.gt=function(e,t){return!S.isZero(e-t)&&e>t},S.lt=function(e,t){return!S.isZero(e-t)&&e(i||1e-10)},S.less=function(e,t,i){return t-e>(i||1e-10)},S.compare=function(e,t,i){return S.equal(e,t,i)?0:S.greater(e,t,i)?1:-1},S.max=Math.max,S.min=Math.min,S.pow=Math.pow,S.abs=Math.abs,S.log=Math.log,S.log10=function(e){return Math.log(e)/Math.LN10},S.sqrt=Math.sqrt,S.sign=function(e){return isNaN(e)?NaN:S.isZero(e)?0:e>0?1:-1},S.exp=Math.exp,S.sin=Math.sin,S.cos=Math.cos,S.tan=Math.tan,S.asin=Math.asin,S.acos=Math.acos,S.atan=Math.atan,S.floor=Math.floor,S.ceil=Math.ceil,S.round=Math.round,S.avg=function(e,t,i,s,r,n){if(2===arguments.length)return(e+t)/2;for(var o=0,a=0;a=0;--n){var o=t[n];if(!(o>=i.startOfBar(0))){i.moveTo(o);var a=t[n+1];s.push(a)}}s.reverse()}return s},S.iff=function(e,t,i){return S.not(e)?i:t},S.rising=function(e,t){for(var i=1;ie.get(0))return 0;return 1},S.falling=function(e,t){for(var i=1;i=0;r--){s+=(t-r)*e.get(r)}return 2*s/(t*(t+1))},S.vwma=function(e,t,i){var s=i.new_var(S.volume(i)),r=i.new_var(e.get(0)*S.volume(i));return S.sma(r,t,i)/S.sma(s,t,i)},S.swma=function(e,t){return(e.get(0)+2*e.get(1)+2*e.get(2)+e.get(3))/6},S.supertrend=function(e,t,i){var s=m.Std.atr(t,i),r=i.new_var(s).get(1),n=m.Std.hl2(i),o=n+s*e,a=n-s*e,l=m.Std.close(i),c=i.new_var(l).get(1),h=i.new_var(),d=m.Std.nz(h.get(1)),u=i.new_var(),p=m.Std.nz(u.get(1));a=S.gt(a,d)||S.lt(c,d)?a:d,h.set(a),o=S.lt(o,p)||S.gt(c,p)?o:p,u.set(o);var _=m.Std.na(),g=i.new_var(),f=g.get(1),v=-1===(_=m.Std.na(r)?1:f===p?l>o?-1:1:l2&&(T=Math.min(T,y))):(T=Math.max(T,b),S.n(s)>2&&(T=Math.max(T,w))),p.set(T),T},S.alma=function(e,t,i,s){for(var r=Math.floor(i*(t-1)),n=t/s*(t/s),o=[],a=0,l=0;lthis._currentValue.get():ithis._areaRight},b.prototype.update=function(){if(this._isNewBar&&this.isPivotFound()&&this.reset(),this.processPoint(this._index),this.isRightSideOk(this._index)){if(-1===this._pivotIndex.get()){for(var e=!0,t=0;tthis._deviation&&this.addPivot(e,t,i);else(i===b.HIGH?t>s:t0&&i.set(e),i},C.prototype.new_unlimited_var=function(e){var t=this.vars;t.length<=this.vars_index&&t.push(new T(this.symbol));var i=t[this.vars_index++];return arguments.length>0&&i.set(e),i},C.prototype.new_ctx=function(){return this.ctx.length<=this.ctx_index&&this.ctx.push(new C(this.symbol)),this.ctx[this.ctx_index++]},C.prototype.prepare=function(e){this.ctx_index=0,this.vars_index=0;for(var t=0;te&&(e=i)}return e},C.prototype.stop=function(){this.symbol=null,this.vars=null},C.prototype.setMinimumAdditionalDepth=function(e){this.minimumAdditionalDepth=e},P.prototype.valueOf=function(){return this.get(0)},P.prototype.get=function(e){return isNaN(e)&&(e=0),e=e||0,this.hist?e>=this.hist.length?(console.error("not enough depth: "+this),NaN):this._get(e):(this.mindepth=S.max(this.mindepth,e),NaN)},P.prototype._get=function(e){var t=this.hist_pos-e;return t<0&&(t+=this.hist.length),this.hist[t]},P.prototype.set=function(e){this.hist&&(this.hist[this.hist_pos]=e,this.modified=!0)},P.prototype.prepare=function(e){e===this.symbol&&(e.isNewBar?(this.original=this.get(0),!this.modified&&this.hist||this.add_hist()):this.set(this.original),this.modified=!1)},P.prototype.add_hist=function(){if(!this.hist){var e=S.na(this.mindepth)?S.max_series_default_size:S.max(this.mindepth+1,1);e=Math.round(e);for(var t=new Array(e),i=0;ie.id===u.Regular),i=e.subsessions.find(e=>e.id===u.PreMarket),s=e.subsessions.find(e=>e.id===u.PostMarket);void 0!==t&&(this.regularSubsession=new _(e.timezone,t.session,e.session_holidays,t["session-correction"])),void 0!==i&&(this.preMarketSubsession=new _(e.timezone,i.session,e.session_holidays,i["session-correction"])),void 0!==s&&(this.postMarketSubsession=new _(e.timezone,s.session,e.session_holidays,s["session-correction"]))}},x.prototype.isdwm=function(){return""!==this.resolution&&"S"!==this.resolution&&"T"!==this.resolution},x.prototype.enable_dwm_aligning=function(e,t){this.dwm_aligner=f.newBarBuilder(this.period,e,t)},x.prototype.bartime=function(){var e=this.time;if(!this.isdwm()||isNaN(e))return e;var t=g.utc_to_cal(this.timezone,e);return this.session.spec.correctTradingDay(t),g.cal_to_utc(this.timezone,t)},x.prototype.lastbar=function(e){if(!isNaN(e.time)){var t=e.time;this.dwm_aligner&&(this.dwm_aligner.moveTo(t),t=this.dwm_aligner.startOfBar(0));var i=this.time!==t;i&&this.index>=0&&!this.isBarClosed&&(this.isNewBar=!1,this.isBarClosed=!0,this.script.calc(this)),this.time=t,this.open=e.open,this.high=e.high,this.low=e.low,this.close=e.close,this.volume=e.volume,this.updatetime=e.updatetime,this.isNewBar=i,this.isBarClosed=e.isBarClosed,this.isLastBar=e.isLastBar,this.isNewBar&&(this.index++,this.isFirstBar=0===this.index),this.script.calc(this)}},I.prototype.calc=function(e){var t=this.ctx,i=this.body;t.prepare(e);var s=i.main(t,this.inputCallback,e);if(s&&"composite"===s.type)for(let e=0;e1&&o.enable_dwm_aligning(this.symbols[0].session,o.session),o},I.prototype.maxAdditionalDepth=function(){return this.symbols[0].isAdditionalDepthAllowed?this.ctx.maxAdditionalDepth():0},I.prototype.stop=function(){this.symbols=null,this.ctx.stop(),this.ctx=null},I.prototype.get_sym=function(e){return this.symbols[e]},M.prototype.add_sym=function(e,t,i,s,r,n,o){var a=new x(e,t,i,s,r,n);return this.symbols.push(a),a},M.prototype.get_sym=function(e){return this.symbols[e]},M.prototype.out=function(e,t){if(this.nonseriesUpdate){var i=Object.assign({},this.nonseriesUpdate);t.splice(0,0,e.time),i.lastBar=t,this.host.nonseriesOut(e,i)}else this.host.out(e,t)},M.prototype.start=function(){this.isStarted=!0;var e=this.host;this._script=new I(e.tickerid,e.period,e.currencyCode,e.unitId,this,e.body,this.out.bind(this),e.input,e.nonseriesOut,e.symbolInfo,e.subsessionId) +;var t=this,i=[],s=this.symbols,r=Object.assign({},e.dataRange,{countBack:e.dataRange.countBack+t._script.maxAdditionalDepth()}),n=s[0];function o(t,s,r){i.push(M.feed.subscribe(t.tickerid,t.currencyCode,t.unitId,t.period,r,e.onErrorCallback,e.symbolInfo,e.sessionId,s,e.forceAlignBars,t.subsessionId))}function h(i,s){"series"===(s.nonseries?"nonseries":"series")?t.update(i,s):s.lastBar?(t.nonseriesUpdate=s,s.lastBar.isLastBar=!0,t.symbols[0].lastbar(s.lastBar),t.nonseriesUpdate=null):e.nonseriesOut(p,s)}function d(){return r}o(n,d,(function(e){!e.nonseries&&Number.isFinite(e.firstLoadedTimeMs)&&function(e){function i(i,s){var r=c(i,s)(e),n=l(i,s);return null!==n&&(r=n.timeToExchangeTradingDay(r)),{to:r,countBack:t._script.maxAdditionalDepth()}}for(var r=1;r=0;i--)for(var s=e[i],r=this.barsets[i],n=r.count(),o=0;o{"use strict";const s=i(45112).getHexColorByName;var r=i(216);i(27595);var n=i(99294).pivotPointsStandardStudyItem,o=i(62839).volumeProfileVisibleRangeStudyItem,a=i(5748).volumeProfileFixedRangeVbPStudyItem,l=i(5748).volumeProfileFixedRangeBSStudyItem,c=i(65754).spreadStudyItem,h=i(82366).ratioStudyItem,d=i(13463).regressionTrendStudyItem;const u=s("color-ripe-red-400"),p=s("color-minty-green-400");JSServer.studyLibrary=JSServer.studyLibrary.concat([{name:"Compare",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!0,defaults:{styles:{compare:{linestyle:0,linewidth:2,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#9C27B0"}},inputs:{source:"close",symbol:""}},plots:[{id:"compare",type:"line"}],styles:{compare:{title:"Plot",histogramBase:0}},description:"Compare",shortDescription:"Compare",is_price_study:!0,inputs:[{defval:"close",id:"source",name:"Source",options:["open","high","low","close","hl2","hlc3","ohlc4"],type:"text"},{id:"symbol",name:"Symbol",type:"symbol",isHidden:!0}],id:"Compare@tv-basicstudies-1",format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._context.new_sym(t(1),r.Std.period(this._context))},this.main=function(e,t){this._context=e;var i=this._context.new_unlimited_var(this._context.symbol.time);this._context.select_sym(1) +;var s=this._context.new_unlimited_var(this._context.symbol.time),n=r.Std[t(0)](this._context),o=this._context.new_unlimited_var(n);return this._context.select_sym(0),[o.adopt(s,i,0)]}}},{name:"Overlay",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!0,defaults:{styles:{},inputs:{symbol:""}},plots:[{id:"open",type:"line"},{id:"high",type:"line"},{id:"low",type:"line"},{id:"close",type:"line"}],styles:{open:{title:"Open"},high:{title:"High"},low:{title:"Low"},close:{title:"Close"}},description:"Overlay",shortDescription:"Overlay",is_price_study:!1,inputs:[{id:"symbol",name:"symbol",defval:"",type:"symbol",isHidden:!0}],id:"Overlay@tv-basicstudies-1",format:{type:"price",precision:4}},constructor:function(){this.init=function(e,t){this._context=e,this._context.new_sym(t(0),r.Std.period(this._context))},this.main=function(e,t){this._context=e;var i=this._context.new_unlimited_var(this._context.symbol.time);this._context.select_sym(1);var s=this._context.new_unlimited_var(this._context.symbol.time),n=this._context.new_unlimited_var(r.Std.open(this._context)),o=this._context.new_unlimited_var(r.Std.high(this._context)),a=this._context.new_unlimited_var(r.Std.low(this._context)),l=this._context.new_unlimited_var(r.Std.close(this._context));return this._context.select_sym(0),[n.adopt(s,i,1),o.adopt(s,i,1),a.adopt(s,i,1),l.adopt(s,i,1)]}}},{name:"Volume",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{vol:{linestyle:0,linewidth:1,plottype:5,trackPrice:!1,transparency:50,visible:!0,color:"#000080"},vol_ma:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1,color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1,color:"#2196F3"}},palettes:{volumePalette:{colors:{0:{color:u,width:1,style:0},1:{color:p,width:1,style:0}}}},inputs:{showMA:!1,length:20,col_prev_close:!1,symbol:"",smoothingLine:"SMA",smoothingLength:9}},plots:[{id:"vol",type:"line"},{id:"volumePalette",palette:"volumePalette",target:"vol",type:"colorer"},{id:"vol_ma",type:"line"},{id:"smoothedMA",type:"line"}],styles:{vol:{title:"Volume",histogramBase:0},vol_ma:{title:"Volume MA",histogramBase:0},smoothedMA:{title:"Smoothed MA",histogramBase:0}},description:"Volume",shortDescription:"Volume",is_price_study:!1,palettes:{volumePalette:{colors:{0:{name:"Falling"},1:{name:"Growing"}}}},inputs:[{id:"symbol",name:"Other Symbol",defval:"",type:"symbol",optional:!0,isHidden:!1},{id:"showMA",name:"show MA",defval:!1,type:"bool",isHidden:!0},{id:"length",name:"MA Length",defval:20,type:"integer",min:1,max:2e3},{defval:!1,id:"col_prev_close",name:"Color based on previous close",type:"bool"},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:9,type:"integer",min:1,max:1e4}],id:"Volume@tv-basicstudies-1",format:{type:"volume"}},constructor:function(){this.init=function(e,t){this._context=e, +""!==t(0)&&this._context.new_sym(t(0),r.Std.period(this._context))},this.f_0=function(e,t){return r.Std.gt(e,t)?0:1},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.volume(this._context),s=r.Std.open(this._context),n=r.Std.close(this._context),o=this._context.new_var(this._context.symbol.time),a=this._input(4),l=this._input(5);if(this._context.setMinimumAdditionalDepth(this._input(2)+l),""!==this._input(0)){this._context.select_sym(1);var c=this._context.new_var(this._context.symbol.time),h=this._context.new_var(r.Std.volume(this._context)),d=this._context.new_var(r.Std.open(this._context)),u=this._context.new_var(r.Std.close(this._context));i=h.adopt(c,o,1),s=d.adopt(c,o,1),n=u.adopt(c,o,1),this._context.select_sym(0)}var p,_,m=this._context.new_var(i),g=r.Std.sma(m,this._input(2),this._context),f=this._context.new_var(g),v=this._context.new_var(n);return p=v.get(1)&&this._input(3)?this.f_0(v.get(1),n):this.f_0(s,n),"EMA"===a?_=r.Std.ema(f,l,this._context):"WMA"===a?_=r.Std.wma(f,l,this._context):"SMA"===a&&(_=r.Std.sma(f,l,this._context)),[i,p,g,_]}}},{name:"ZigZag",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:2,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:5,in_1:10}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",target:"plot_0",type:"dataoffset"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Zig Zag",shortDescription:"ZigZag",is_price_study:!0,classId:"ScriptWithDataOffset",inputs:[{id:"in_0",name:"deviation",defval:5,type:"float",min:.001,max:100},{id:"in_1",name:"depth",defval:10,type:"integer",min:2,max:1e3}],id:"ZigZag@tv-basicstudies-1",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=i/100,o=Math.ceil(s/2);return[r.Std.zigzag(n,o,this._context),r.Std.zigzagbars(n,o,this._context)]}}},{name:"Sessions",metainfo:{_metainfoVersion:52,defaults:{graphics:{vertlines:{sessBreaks:{color:"#4985e7",style:2,visible:!1,width:1}},backgrounds:{preMarket:{color:"#FF9800",transparency:92,visible:!0},postMarket:{color:"#2196F3",transparency:92,visible:!0}}},linkedToSeries:!0},description:"Sessions",graphics:{vertlines:{sessBreaks:{name:"Session Break",halign:"left"}},backgrounds:{preMarket:{name:"Pre market"},postMarket:{name:"Post market"}}},id:"Sessions@tv-basicstudies-1",inputs:[],is_hidden_study:!0,is_price_study:!0,name:"Sessions@tv-basicstudies",palettes:{},plots:[],shortDescription:"Sessions",format:{type:"inherit"}},constructor:function(){function e(e,t){return{id:e,index:e,extendBottom:!0,extendTop:!0}}function t(e){return{id:e.start,start:e.start,stop:e.stop}}this.init=function(){this._times=[]},this._getVerticalLineData=function(t){return r.Std.selectSessionBreaks(t,this._times).map(e)},this._getPreAndPostMarketBackgroundsData=function(e){const i=r.Std.selectPreAndPostMarketTimes(e,this._times);return{preMarket:i.preMarket.map(t), +postMarket:i.postMarket.map(t)}},this.main=function(e,t){if(r.Std.isdwm(e))return null;var i=r.Std.time(e);if(isNaN(i))return null;var s=this._times.length;if(0!==s&&this._times[s-1]===i||this._times.push(i),!e.symbol.isLastBar||!e.symbol.isNewBar)return null;var n=this._getVerticalLineData(e),o=this._getPreAndPostMarketBackgroundsData(e);return 0===n.length&&0===o.preMarket.length&&0===o.postMarket?null:{nonseries:!0,type:"study_graphics",data:{graphicsCmds:{create:{vertlines:[{styleId:"sessBreaks",data:n}],backgrounds:[{styleId:"preMarket",data:o.preMarket},{styleId:"postMarket",data:o.postMarket}]},erase:[{action:"all"}]}}}}}},{name:"SuperTrend",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:3,plottype:0,trackPrice:!1,transparency:35,visible:!0,color:"#000080"},plot_2:{linestyle:0,linewidth:3,plottype:"shape_arrow_up",trackPrice:!1,location:"BelowBar",transparency:35,visible:!0,color:"#00FF00"},plot_3:{linestyle:0,linewidth:3,plottype:"shape_arrow_down",trackPrice:!1,location:"AboveBar",transparency:35,visible:!0,color:"#FF0000"}},palettes:{palette_0:{colors:{0:{color:"#008000",width:3,style:0},1:{color:"#800000",width:3,style:0}}}},inputs:{in_0:10,in_1:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",palette:"palette_0",target:"plot_0",type:"colorer"},{id:"plot_2",type:"shapes"},{id:"plot_3",type:"shapes"}],styles:{plot_0:{title:"SuperTrend",histogramBase:0,joinPoints:!1,isHidden:!1},plot_2:{title:"Up Arrow",histogramBase:0,joinPoints:!1,isHidden:!1},plot_3:{title:"Down Arrow",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"SuperTrend",shortDescription:"SuperTrend",is_price_study:!0,palettes:{palette_0:{colors:{0:{name:"Color 0"},1:{name:"Color 1"}},valToIndex:{0:0,1:1}}},inputs:[{id:"in_0",name:"Length",defval:10,type:"integer",min:1,max:100},{id:"in_1",name:"Factor",defval:3,type:"float",min:1,max:100}],id:"SuperTrend@tv-basicstudies-1",scriptIdPart:"",name:"SuperTrend",isCustomIndicator:!0,format:{type:"inherit"}},constructor:function(){this.main=function(e,t){var i=t(0),s=t(1),[n,o]=r.Std.supertrend(s,i,e),a=e.new_var(o).get(1);return[n,-1===o?0:1,-1===o&&a!==o?1:NaN,1===o&&a!==o?1:NaN]}}},n,o,a,l,c,h,d])},99294:(e,t,i)=>{"use strict";i.d(t,{pivotPointsStandardStudyItem:()=>d});var s=i(216),r=i(29823),n=i(983);class o{constructor(){this.p=NaN,this.r1=NaN,this.s1=NaN,this.r2=NaN,this.s2=NaN,this.r3=NaN,this.s3=NaN,this.r4=NaN,this.s4=NaN,this.r5=NaN,this.s5=NaN,this.startIndex__t=NaN,this.endIndex__t=NaN}}class a{constructor(){this.pivots=[]}}function l(e,t){e.setUTCMonth(e.getUTCMonth()+t)}function c(e,t){if(s.Std.ismonthly(e)){let i=new Date(t);return i.getUTCDay()=1&&t.multiplier()<=15?"1D":"1W";case r.ResolutionKind.Seconds:case r.ResolutionKind.Ticks:return"1D"}throw new Error("Unexpected resolution type: "+e.symbol.resolution)}(e);case"Daily":return"1D";case"Weekly":return"1W";case"Monthly":return"1M";case"Yearly":return"12M";default:throw new Error("No such pivTimeFrame: "+t)}}const d={name:"Pivot Points Standard",metainfo:{_metainfoVersion:44,defaults:{inputs:{kind:"Traditional",lookBack:15,pivTimeFrame:"Auto",showHistoricalPivots:!0},precision:"4"},description:"Pivot Points Standard",id:"PivotPointsStandard@tv-basicstudies-80",inputs:[{defval:"Traditional",id:"kind",name:"Type",options:["Traditional","Fibonacci","Woodie","Classic","DeMark","Camarilla"],type:"text"},{defval:!0,id:"showHistoricalPivots",name:"Show historical pivots",type:"bool"},{defval:"Auto",id:"pivTimeFrame",name:"Pivots Timeframe",options:["Auto","Daily","Weekly","Monthly","Yearly"],type:"text"},{defval:15,id:"lookBack",max:5e3,min:1,name:"Number of Pivots Back",type:"integer"}],is_price_study:!0,linkedToSeries:!0,shortDescription:"Pivots",format:{type:"price",precision:4}},constructor:class{constructor(){this._secondaryRes="1D",this._firstMainSeriesBarTime=NaN}init(e,t){const i=t(0),r=t(1),o=t(2),l=t(3);this._data=new a,this._firstMainSeriesBarTime=NaN,this._kindPP=function(e){switch(e){case"Traditional":return 0;case"Fibonacci":return 1;case"Woodie":return 2;case"Classic":return 3;case"DeMark":return 4;case"Camarilla":return 5;default:throw new Error("Unknown kind "+e)}}(i),this._showHistoricalPivots=r,this._historicalPivotsToKeep=l,this._pivTimeFrame=o,this._isValidResolution=function(e,t){return(!s.Std.isdaily(e)||"Daily"!==t)&&((!s.Std.isweekly(e)||"Daily"!==t&&"Weekly"!==t)&&(!s.Std.ismonthly(e)||"Daily"!==t&&"Weekly"!==t&&"Monthly"!==t))}(e,this._pivTimeFrame),this._isValidResolution||s.Std.error("You cannot see this pivot timeframe on this resolution"),this._isValidResolution&&(this._secondaryRes=h(e,this._pivTimeFrame),void 0!==e.symbol.info&&(0,n.findSuitableResolutionToBuildFrom)(this._secondaryRes,e.symbol.info).error&&(this._isValidResolution=!1,s.Std.error(`Resolution ${this._secondaryRes} is not supported for this symbol`))),e.new_sym(e.symbol.tickerid,this._secondaryRes)}main(e,t,i){if(!this._isValidResolution)return null;if(e.is_main_symbol(i))return isNaN(this._firstMainSeriesBarTime)&&(this._firstMainSeriesBarTime=e.symbol.time,this._removeUnusedPivots()),e.symbol.isLastBar&&e.symbol.isNewBar?this._createResponse():null;e.select_sym(1);const r=e.new_var(s.Std.open(e)),n=e.new_var(s.Std.high(e)),a=e.new_var(s.Std.low(e)),l=e.new_var(s.Std.close(e)),h=e.new_var(s.Std.time(e)),d=this._data,u=r.get(0),p=h.get(0),_=r.get(1),m=n.get(1),g=a.get(1),f=l.get(1),v=e.symbol.isLastBar;if(0!==d.pivots.length&&e.symbol.isNewBar){ +const e=d.pivots[d.pivots.length-1];e.endIndex__t!==p&&(e.endIndex__t=p)}if(0===e.symbol.index||!e.symbol.isNewBar)return e.select_sym(0),null;const S=function(e,t,i,r,n,a,l,c){const h=new o;let d=NaN;const u=i-r;switch(c){case 0:d=(i+r+n)/3,h.p=d,h.r1=2*d-r,h.s1=2*d-i,h.r2=d+(i-r),h.s2=d-(i-r),h.r3=2*d+(i-2*r),h.s3=2*d-(2*i-r),h.r4=3*d+(i-3*r),h.s4=3*d-(3*i-r),h.r5=4*d+(i-4*r),h.s5=4*d-(4*i-r);break;case 1:d=(i+r+n)/3,h.p=d,h.r1=d+.382*u,h.s1=d-.382*u,h.r2=d+.618*u,h.s2=d-.618*u,h.r3=d+u,h.s3=d-u;break;case 2:d=(i+r+2*e)/4,h.p=d,h.r1=2*d-r,h.s1=2*d-i,h.r2=d+u,h.s2=d-u,h.r3=i+2*(d-r),h.s3=r-2*(i-d),h.r4=h.r3+u,h.s4=h.s3-u;break;case 3:d=(i+r+n)/3,h.p=d,h.r1=2*d-r,h.s1=2*d-i,h.r2=d+u,h.s2=d-u,h.r3=d+2*u,h.s3=d-2*u,h.r4=d+3*u,h.s4=d-3*u;break;case 4:let o=NaN;o=s.Std.equal(t,n)?i+r+2*n:s.Std.greater(n,t)?2*i+r+n:2*r+i+n,d=o/4,h.p=d,h.r1=o/2-r,h.s1=o/2-i;break;case 5:d=(i+r+n)/3,h.p=d,h.r1=n+1.1*u/12,h.s1=n-1.1*u/12,h.r2=n+1.1*u/6,h.s2=n-1.1*u/6,h.r3=n+1.1*u/4,h.s3=n-1.1*u/4,h.r4=n+1.1*u/2,h.s4=n-1.1*u/2;break;default:throw new Error("Unknown kind")}return h.startIndex__t=a,h.endIndex__t=l,h}(u,_,m,g,f,p,c(e,p),this._kindPP);return e.select_sym(0),this._showHistoricalPivots||(d.pivots=[]),d.pivots.push(S),d.pivots.length>this._historicalPivotsToKeep&&d.pivots.shift(),v?this._createResponse():null}_createResponse(){return 0===this._data.pivots.length?null:{nonseries:!0,type:"non_series_data",data:{data:this._data}}}_removeUnusedPivots(){const e=Math.max(this._data.pivots.findIndex(e=>e.startIndex__t>this._firstMainSeriesBarTime)-1,0);e>0&&this._data.pivots.splice(0,e)}}}},82366:(e,t,i)=>{"use strict";i.d(t,{ratioStudyItem:()=>n});var s=i(84707);class r extends s.SpreadRatioBase{_doCalculation(e,t,i,s){return e*t/(i*s)}}const n={name:"Ratio",metainfo:{_metainfoVersion:15,defaults:s.spreadRatioDefaults,plots:s.spreadRatioPlots,styles:s.spreadRatioStyles,description:"Ratio",shortDescription:"Ratio",is_price_study:!1,inputs:s.spreadRatioInputs,id:"Ratio@tv-basicstudies-1",format:{type:"price",precision:2}},constructor:r}},13463:(e,t,i)=>{"use strict";i.d(t,{regressionTrendStudyItem:()=>n});var s=i(216);function r(e,t,i){const r={slope:NaN,average:NaN,intercept:NaN,stdDev:NaN,upDev:NaN,downDev:NaN,pearsons:NaN};return 0===e.length||(function(e,t){let i=0,s=0,r=0,n=0;for(let t=0;tn&&(n=u),u=d-i[s],u>o&&(o=u),u=e[s];const _=u-r.average,m=d-p;u-=d,a+=u*u,l+=_*_,c+=m*m,h+=_*m,d+=r.slope}r.stdDev=Math.sqrt(a/(0===u?1:u)),r.pearsons=s.Std.isZero(l)||s.Std.isZero(c)?0:h/Math.sqrt(l*c),r.upDev=n,r.downDev=o}(e,t,i,r)),r}const n={name:"Regression Trend",metainfo:{_metainfoVersion:51,description:"Regression Trend",format:{type:"inherit"},id:"RegressionTrend@tv-basicstudies-144",is_hidden_study:!0,is_price_study:!0, +shortDescription:"Reg Trend",defaults:{inputs:{"first bar time":0,"last bar time":0,"lower diviation":-2,source:"close","upper diviation":2,"use lower diviation":!0,"use upper diviation":!0}},inputs:[{defval:2,id:"upper diviation",max:500,min:-500,name:"Upper Deviation",type:"float"},{defval:-2,id:"lower diviation",max:500,min:-500,name:"Lower Deviation",type:"float"},{defval:!0,id:"use upper diviation",name:"Use Upper Deviation",type:"bool"},{defval:!0,id:"use lower diviation",name:"Use Lower Deviation",type:"bool"},{defval:0,id:"first bar time",isHidden:!0,max:253370764800,min:-253370764800,name:"First bar time",type:"time"},{defval:0,id:"last bar time",isHidden:!0,max:253370764800,min:-253370764800,name:"Last bar time",type:"time"},{defval:"close",id:"source",name:"Source",options:["open","high","low","close","hl2","hlc3","ohlc4"],type:"source"}],plots:[]},constructor:class{constructor(){this._resultSent=!1}init(e,t){this._resultSent=!1,this._data={baseLine:{startPrice:NaN,endPrice:NaN},upLine:{startPrice:NaN,endPrice:NaN},downLine:{startPrice:NaN,endPrice:NaN},pearsons:NaN,startIndex__t:NaN,endIndex__t:NaN}}main(e,t){const i=t(6),n=e.new_unlimited_var(s.Std.time(e)),o=e.new_unlimited_var(s.Std.high(e)),a=e.new_unlimited_var(s.Std.low(e)),l=e.new_unlimited_var(s.Std[i](e));if(!e.symbol.isLastBar)return null;if(this._resultSent)return null;const c=t(0),h=t(1),d=t(2),u=t(3),p=t(4),_=t(5),m=n.indexOf(p),g=n.indexOf(_),f=[],v=[],S=[],y=[];for(let e=m;e>=g;--e)f.push(n.get(e)),v.push(o.get(e)),S.push(a.get(e)),y.push(l.get(e));return this._updateData(f,d,c,u,h,p,_,r(y,v,S)),this._resultSent=!0,{type:"non_series_data",nonseries:!0,data:{data:this._data}}}_updateData(e,t,i,s,r,n,o,a){const l=e.length-1;this._data.baseLine.startPrice=a.intercept,this._data.baseLine.endPrice=a.intercept+a.slope*l;const c=a.intercept+(t?a.stdDev*i:a.upDev);this._data.upLine.startPrice=c,this._data.upLine.endPrice=c+a.slope*l;const h=a.intercept+(s?a.stdDev*r:-a.downDev);this._data.downLine.startPrice=h,this._data.downLine.endPrice=h+a.slope*l,this._data.pearsons=a.pearsons,this._data.startIndex__t=n,this._data.endIndex__t=o}}}},84707:(e,t,i)=>{"use strict";i.d(t,{SpreadRatioBase:()=>r,spreadRatioDefaults:()=>n,spreadRatioInputs:()=>o,spreadRatioPlots:()=>a,spreadRatioStyles:()=>l});var s=i(216);class r{init(e,t){e.new_sym(t(1),s.Std.period(e)),this._source=t(0),this._scaleFactor1=1,this._scaleFactor2=1}main(e,t){const i=e.symbol.time,r=s.Std[this._source](e);e.select_sym(1);const n=s.Std[this._source](e),o=e.new_unlimited_var(n),a=e.new_unlimited_var(e.symbol.time);if(e.select_sym(0),isNaN(i))return null;let l=a.indexOf(i);-1!==l&&a.get(l)!==i&&(l=-1);const c=l<0?NaN:o.get(l);return[this._doCalculation(this._scaleFactor1,r,this._scaleFactor2,c)]}}const n={styles:{plot1:{linestyle:0,linewidth:2,plottype:0,trackPrice:!1,transparency:35,visible:!0,color:"#800080"}},precision:2,inputs:{source:"close",symbol2:""}},o=[{defval:"close",id:"source",name:"Source",options:["open","high","low","close","hl2","hlc3","ohlc4"],type:"text"},{id:"symbol2", +name:"Symbol",type:"symbol",confirm:!0}],a=[{id:"plot1",type:"line"}],l={plot1:{title:"Plot",histogramBase:0}}},65754:(e,t,i)=>{"use strict";i.d(t,{spreadStudyItem:()=>n});var s=i(84707);class r extends s.SpreadRatioBase{_doCalculation(e,t,i,s){return e*t-i*s}}const n={name:"Spread",metainfo:{_metainfoVersion:15,defaults:s.spreadRatioDefaults,plots:s.spreadRatioPlots,styles:s.spreadRatioStyles,description:"Spread",shortDescription:"Spread",is_price_study:!1,inputs:s.spreadRatioInputs,id:"Spread@tv-basicstudies-1",format:{type:"price",precision:2}},constructor:r}},9345:(e,t,i)=>{"use strict";i.d(t,{VbPCheckHaveVolumeExpr:()=>r});var s=i(216);class r{constructor(e){this._haveAnyVolume=!1,this._isDisabled=!1,this._seriesGetter=e}update(e,t){if(this._haveAnyVolume||this._isDisabled)return;const i=this._seriesGetter.volume().get(e);0!==i&&Number.isFinite(i)&&(this._haveAnyVolume=!0),t&&(this._haveAnyVolume||s.Std.error("The data vendor doesn't provide volume data for this symbol."),this._isDisabled=!0)}}},62876:(e,t,i)=>{"use strict";i.d(t,{VolumeByPriceExpr:()=>_});var s=i(88537),r=i(64514),n=i(29823),o=i(216),a=i(31738);class l extends a.GraphicsObj{constructor(e,t,i,r,n,o){super(e),(0,s.assert)(t({index:e.index,offset:e.offset,level:e.level}))}}}class u extends a.GraphicsObj{constructor(e,t,i,s,r=!1,n=!1){super(e),this._endIndex=this._mixinJSONObject.createTimeField(i,"endIndex"),this._extendLeft=this._mixinJSONObject.createField(r,"extendLeft"),this._extendRight=this._mixinJSONObject.createField(n,"extendRight"),this._level=this._mixinJSONObject.createDoubleField(s,"level"),this._startIndex=this._mixinJSONObject.createTimeField(t,"startIndex")}isNaN(){return super.isNaN()||Number.isNaN(this._level.get())||this._startIndex.get()<0||this._endIndex.get()<0||this._startIndex.get()===this._endIndex.get()&&!this._extendLeft.get()&&!this._extendRight.get()}jsonName(){return"horizlines"}primitiveData(){return{id:this.id(),startIndex:this._startIndex.get(),endIndex:this._endIndex.get(),extendLeft:this._extendLeft.get(),extendRight:this._extendRight.get(),level:this._level.get()}}startIndex(){return this._startIndex.get()}setStartIndex(e){this._startIndex.set(e)&&this._processObjUpdate()}endIndex(){return this._endIndex.get()}setEndIndex(e){this._endIndex.set(e)&&this._processObjUpdate()}level(){return this._level.get()}setLevel(e){this._level.set(e)&&this._processObjUpdate()}isExtendLeft(){return this._extendLeft.get()}setExtendLeft(e){this._extendLeft.set(e)&&this._processObjUpdate()}extendLeft(){return this.isExtendLeft()}isExtendRight(){return this._extendRight.get()}setExtendRight(e){this._extendRight.set(e)&&this._processObjUpdate()}extendRight(){return this.isExtendRight()}}class p{constructor(){this._map=new Map}get(e){const t=this._innerMap(e.start);return t&&t.get(e.end)}set(e,t){this._innerMap(e.start,!0).set(e.end,t)}clear(){this._map.clear()}size(){let e=0;return this._map.forEach(t=>e+=t.size),e}_innerMap(e,t){let i=this._map.get(e);return void 0===i&&t&&(i=new Map,this._map.set(e,i)),i}}class _{constructor(e,t,i,r,n,o,a,l,h,d,u,_,m,g){this._freezedBoxes=new c.GraphicsList,this._freezedHists=new c.GraphicsList,this._freezedPocs=new c.GraphicsList,this._freezedVAHists=new c.GraphicsList,this._currentHistsGr=new c.GraphicsList,this._currentVAHistsGr=new c.GraphicsList,this._currentHists=[],this._currentHistsMap=new p,this._currentBox=null,this._currentPoc=null,this._historyBarSet=[],this._prevRtBar=null,this._minPrice=Number.POSITIVE_INFINITY,this._maxPrice=Number.NEGATIVE_INFINITY, +this._leftBoxTime=null,this._rightBoxTime=null,this._needRecalc=!1,this._largestHistItem=null,this._rowsLayout=null,this._currentVAStart=0,this._currentVAEnd=0,this._previousVAStart=0,this._previousVAEnd=0,this._idsGenerator=null,(0,s.assert)(1===e||2===e),this._numOfSubHists=e,this._outHists=r,this._outBoxLines=n,this._outPocLines=o,this._extendPocLeftRight=a,this._outVAHists=l,this._vaVolumePercent=h,this._rowsLayoutSupplier=d,this._outHists.addStable(this._freezedHists),this._outVAHists.addStable(this._freezedVAHists),this._maxHHistItems=u,this._layoutIsAutoselected=g,this._leftBoxTimeMutable=_,this._rightBoxTimeMutable=m,this._ctx=t,this._seriesGetter=i}update(e){this._supplyRowsLayout(this._ctx),null===this._currentBox&&this._initCurrentBox(),null===this._currentPoc&&this._initCurrentPoc();const t=this._timeScale().get(e);this._leftBoxTime=this._leftBoxTimeMutable,this._rightBoxTime=this._rightBoxTimeMutable,this._ctx.symbol.isLastBar&&!Number.isNaN(this._rightBoxTime)&&(this._rightBoxTime=Math.min(t+n.Interval.parse(this._ctx.symbol.interval+this._ctx.symbol.resolution).inMilliseconds(t)-1,this._rightBoxTime));const i=o.Std.greaterOrEqual(this._seriesClose().get(e),this._seriesOpen().get(e)),s={high:this._seriesHigh().get(e),low:this._seriesLow().get(e),volume:this._seriesVol().get(e),isUp:i,time:t};this._updateCurrentHistogram(s),this._currentHists.length>0&&(this._largestHistItem=this._getLargestHistItem(),this._updateCurrentPoc(),this._seriesGetter.developingPoc().set(this._currentPoc.level()),this._updateValueArea(),this._vaVolumePercent>0&&(this._seriesGetter.developingVAHigh().set(this._currentHists[this._currentVAEnd].priceHigh()),this._seriesGetter.developingVALow().set(this._currentHists[this._currentVAStart].priceLow()))),this._updateCurrentBox(),this._rebuildOutData()}setIdsGeneratorProxy(e){this._idsGenerator=e}nextGraphicsObjId(){return(0,s.ensureNotNull)(this._idsGenerator).nextGraphicsObjId()}pushEraseObjCmd(e,t){(0,s.ensureNotNull)(this._idsGenerator).pushEraseObjCmd(e,t)}popEraseCmds(){return(0,s.ensureNotNull)(this._idsGenerator).popEraseCmds()}_timeScale(){return this._seriesGetter.time()}_seriesLow(){return this._seriesGetter.low()}_seriesHigh(){return this._seriesGetter.high()}_seriesVol(){return this._seriesGetter.volume()}_seriesOpen(){return this._seriesGetter.open()}_seriesClose(){return this._seriesGetter.close()}_freezeCurrentHistogramAndCleanup(){null!==this._currentBox&&this._freezedBoxes.add(this._currentBox),o.Std.greater(this._getVolume(this._currentHists),0)&&(this._freezedHists.addAll(this._currentHistsGr),this._freezedVAHists.addAll(this._currentVAHistsGr),null!==this._currentPoc&&this._freezedPocs.add(this._currentPoc)),this._currentHists=[],this._currentHistsGr.clear(),this._currentHistsMap.clear(),this._initCurrentBox(),this._initCurrentPoc(),this._currentVAHistsGr.clear(),this._historyBarSet=[],this._minPrice=Number.POSITIVE_INFINITY,this._maxPrice=Number.NEGATIVE_INFINITY,this._prevRtBar=null,this._leftBoxTime=null,this._rightBoxTime=null}_supplyRowsLayout(e){ +null===this._rowsLayout&&e.symbol.isFirstBar&&e.symbol.isNewBar&&(this._rowsLayout=this._rowsLayoutSupplier())}_updateCurrentHistogram(e){if(this._needRecalc=!1,o.Std.greater(this._minPrice,e.low)&&(this._minPrice=e.low,this._needRecalc=!0),o.Std.less(this._maxPrice,e.high)&&(this._maxPrice=e.high,this._needRecalc=!0),this._ctx.symbol.isBarClosed&&this._historyBarSet.length>0){const t=this._historyBarSet[this._historyBarSet.length-1];t.time===e.time&&(this._prevRtBar=t,this._historyBarSet.pop())}this._needRecalc&&0===(0,s.ensureNotNull)(this._rowsLayout).type()?(this._recalculateCurrentResultsOnHistoryBarSet(),this._applyUpdateToCurrentResults(e,!1)):this._applyUpdateToCurrentResults(e,!0),this._ctx.symbol.isBarClosed?((0,s.assert)(null===this._prevRtBar||e.time===this._prevRtBar.time),this._historyBarSet.push(e),this._prevRtBar=null):this._prevRtBar=e}_getMidLevel(e){return(e.priceHigh()+e.priceLow())/2}_getMidLevelFromList(e){return e.length%2==0?e[e.length/2].priceLow():this._getMidLevel(e[Math.floor(e.length/2)])}_getLargestHistItem(){let e=[],t=this._currentHists[0];for(const i of this._currentHists)o.Std.greater(i.ratesSum(),t.ratesSum())?(t=i,e=[t]):o.Std.equal(i.ratesSum(),t.ratesSum())&&e.push(i);if(e.length>1){const i=this._getMidLevelFromList(this._currentHists);t=e[e.length-1];for(let s=e.length-2;s>=0;s--){const r=e[s];o.Std.lessOrEqual(Math.abs(this._getMidLevel(r)-i),Math.abs(this._getMidLevel(t)-i))&&(t=r)}}return t}_initCurrentPoc(){this._currentPoc=new u(this,0,0,0)}_updateCurrentPoc(){const e=(0,s.ensureNotNull)(this._currentPoc);e.setStartIndex((0,s.ensureNotNull)(this._leftBoxTime)),e.setEndIndex((0,s.ensureNotNull)(this._rightBoxTime)),e.setExtendLeft(this._extendPocLeftRight),e.setExtendRight(this._extendPocLeftRight);const t=this._getMidLevel((0,s.ensureNotNull)(this._largestHistItem));e.setLevel(t)}_getVolume(e){let t=0;for(const i of e)t+=i.ratesSum();return t}_getPocHistItemIndex(){for(let e=0;e=0,"ERROR - PocHistItemIndex == "+e),this._currentVAStart=e-1,this._currentVAEnd=e+1;const t=this._getVolume(this._currentHists)*this._vaVolumePercent*.01;let i=this._currentHists[e].ratesSum(),r=0,n=null;for(;o.Std.lessOrEqual(i+r,t)&&(i+=r,0===n?--this._currentVAStart:1===n&&++this._currentVAEnd,-1!==this._currentVAStart||this._currentVAEnd!==this._currentHists.length);){let t,i;if(this._currentVAStart>-1)if(t=this._currentHists[this._currentVAStart].ratesSum(),this._currentVAEndthis._getMidLevel(this._currentHists[this._currentVAStart])&&e.priceLow()0&&(e=this._currentHists[0].priceLow(),t=this._currentHists[this._currentHists.length-1].priceHigh());const i=[],r=(0,s.ensureNotNull)(this._leftBoxTime),n=(0,s.ensureNotNull)(this._rightBoxTime);i.push(new h(r,e)),i.push(new h(r,t)),i.push(new h(n,t)),i.push(new h(n,e)),(0,s.ensureNotNull)(this._currentBox).setPoints(i)}_recalculateCurrentResultsOnHistoryBarSet(){for(let e=0;e0&&(this._largestHistItem=this._getLargestHistItem(),this._updateCurrentPoc()),this._updateCurrentBox()}_applyUpdateToCurrentResults(e,t){t&&null!==this._prevRtBar&&this._addHistoryBarToHistogram(this._prevRtBar,this._historyBarSet.length-1,this._currentHists,this._currentHistsMap,-1),this._addHistoryBarToHistogram(e,this._historyBarSet.length-1,this._currentHists,this._currentHistsMap,1),this._updateLastBarTimeInHistogram(this._currentHists)}_addHistoryBarToHistogram(e,t,i,r,n){(0,s.assert)(-1===n||1===n,"Please set sign argument either +1 or -1");const a=e.low,l=e.high,c=isNaN(e.volume)?0:e.volume,h=e.isUp,d=(0,s.ensureNotNull)(this._rowsLayout);d.init(this._ctx.symbol.minTick,this._minPrice,this._maxPrice,a,l);const u=d.rowWidth();if(!o.Std.greater(u,0))return;d.calculate();const p=d.getIndexLowVbP(),_=d.getIndexHighVbP(),m=d.getStartPrice();if(p===_){const e=p*u+m,t=(p+1)*u+m;this._updateResult({start:e,end:t},n*c,h,i,r)}else{let e=0;for(let t=p;t<=_;t++){const s=t*u+m,o=(t+1)*u+m,d=this._rowCoeff(s,o,a,l),p=d*c;e+=d,this._updateResult({ +start:s,end:o},n*p,h,i,r)}(0,s.assert)(o.Std.equal(e,1,.05),"totalCoeff not equal 1! totalConf = "+e)}}_updateResult(e,t,i,r,n){const a=this._createRates(i,t);(0,s.assert)(null!==this._leftBoxTime,"leftBoxTime is not set (equals null)"),(0,s.assert)(null!==this._rightBoxTime,"rightBoxTime is not set (equals null)");const c=(0,s.ensureNotNull)(this._leftBoxTime),h=(0,s.ensureNotNull)(this._rightBoxTime);let d=n.get(e);if(void 0===d)d=new l(this,e.start,e.end,a,c,h),n.set(e,d),this._verifyHistogramSizeIsNotTooLarge(n.size()),this._currentHistsGr.add(d),_._addInOrder(d,r,0,r.length,(e,t)=>{let i=o.Std.compare(e.firstBarTime(),t.firstBarTime());return 0!==i?i:(i=o.Std.compare(e.priceLow(),t.priceLow()),0!==i?i:o.Std.compare(e.priceHigh(),t.priceHigh()))});else{const e=[];for(let t=0;td,maxHHistItems:()=>c,numOfSubHists:()=>h});var s=i(216),r=i(29823);class n{constructor(e,t){this._minTick=NaN,this._minPrice=NaN,this._maxPrice=NaN,this._low=NaN,this._high=NaN,this._startPrice=NaN,this._indexLowVbP=NaN,this._indexHighVbP=NaN,this._rowSize=e,this._type=t}init(e,t,i,s,r){this._minTick=e,this._minPrice=t,this._maxPrice=i,this._low=s,this._high=r}getStartPrice(){return this._startPrice}setStartPrice(e){this._startPrice=e}getIndexLowVbP(){ +return this._indexLowVbP}setIndexLowVbP(e){this._indexLowVbP=e}getIndexHighVbP(){return this._indexHighVbP}setIndexHighVbP(e){this._indexHighVbP=e}type(){return this._type}}class o extends n{constructor(e){super(e,0)}calculate(){this.setStartPrice(this._minPrice);const e=this.rowWidth();let t=Math.floor((this._low-this._minPrice)/e),i=Math.ceil((this._high-this._minPrice)/e)-1;t=Math.max(t,0),i=Math.max(i,0),i=Math.min(i,this._rowSize-1),t=Math.min(t,i),this.setIndexLowVbP(t),this.setIndexHighVbP(i)}rowWidth(){return Math.max((this._maxPrice-this._minPrice)/this._rowSize,this._minTick)}}class a extends n{constructor(e){super(e,1)}calculate(){this.setStartPrice(0);const e=this.rowWidth();let t=Math.floor(this._low/e);const i=Math.ceil(this._high/e)-1;t=Math.min(t,i),this.setIndexLowVbP(t),this.setIndexHighVbP(i)}rowWidth(){return this._minTick*this._rowSize}}var l=i(67337);function c(){return 6e3}function h(e){switch(e){case"Delta":case"Up/Down":return 2;case"Total":return 1;default:s.Std.error("Invalid study argument value: "+e)}}class d{findBasicResolutionForFromTo(e,t,i,n){const o=(0,s.getVolumeProfileResolutionForPeriod)(e.value(),t,i,n),a=r.Interval.parse(o);return l.enabled("charting_library_debug_mode")&&console.log(`Selected resolution ${a.value()} for (${e.value()}, ${t}, ${i})`),a}verifyRowSizeInput(e,t){"Number Of Rows"===t&&e>6e3&&s.Std.error('Histogram is too large, please reduce "Row Size" input.')}_getRowsLayout(e,t){return"Number Of Rows"===e?new o(t):new a(t)}}},5748:(e,t,i)=>{"use strict";i.d(t,{volumeProfileFixedRangeBSStudyItem:()=>w,volumeProfileFixedRangeVbPStudyItem:()=>b});var s=i(88537),r=i(96761),n=i(216),o=i(50993),a=i(95018),l=i(29823),c=i(78002),h=i(34574),d=i(18317),u=i(79113),p=i(45548),_=i(9345),m=i(95936),g=i(62876);class f extends g.VolumeByPriceExpr{constructor(e,t,i,s,r,n,o,a,l,c,h,d){super(e,t,i,n,o,a,!1,l,c,()=>h,d,s,r,!1),this._firstBarTime=s,this._lastBarTime=r}update(e){this._supplyRowsLayout(this._ctx),this.timeInRequestedRange(e)&&super.update(e)}timeInRequestedRange(e){const t=this._timeScale().get(e);return this._firstBarTime<=t&&t=this._firstBarTime){ +const e=this._developingPocSeries.getLeftOrEqual(n),t=this._developingVAHighSeries.getLeftOrEqual(n),i=this._developingVALowSeries.getLeftOrEqual(n);r.data.push([e,t,i])}else r.data.push([NaN,NaN,NaN])}return r}time(){return this._timeSeries}open(){return this._openSeries}high(){return this._highSeries}low(){return this._lowSeries}close(){return this._closeSeries}volume(){return this._volumeSeries}developingPoc(){return this._developingPocSeries}developingVAHigh(){return this._developingVAHighSeries}developingVALow(){return this._developingVALowSeries}}function y(e){return{constructor:S,name:e.description,metainfo:{_metainfoVersion:51,shortDescription:"VPFR",format:{type:"volume"},is_price_study:!0,defaults:{graphics:{hhists:{histBars2:{colors:["#1592e6","#fbc123"],direction:a.HHistDirection.LeftToRight,percentWidth:30,showValues:!1,transparencies:[76,76],valuesColor:"#424242",visible:!0},histBarsVA:{colors:["#1592e6","#fbc123"],direction:a.HHistDirection.LeftToRight,percentWidth:30,showValues:!1,transparencies:[30,30],valuesColor:"#424242",visible:!0}},horizlines:{pocLines:{color:"#ff0000",style:m.LineStyle.Solid,visible:!0,width:2}},polygons:{histBoxBg:{color:"#37a6ef",transparency:94}}},inputs:{first_bar_time:0,last_bar_time:0,rows:24,rowsLayout:"Number Of Rows",subscribeRealtime:!0,vaVolume:70,volume:"Up/Down"},styles:{developingPoc:{color:"#ff0000",linestyle:m.LineStyle.Solid,linewidth:1,plottype:o.LineStudyPlotStyle.StepLine,trackPrice:!1,transparency:0,visible:!1},developingVAHigh:{color:"#0000ff",linestyle:m.LineStyle.Solid,linewidth:1,plottype:o.LineStudyPlotStyle.StepLine,trackPrice:!1,transparency:0,visible:!1},developingVALow:{color:"#0000ff",linestyle:m.LineStyle.Solid,linewidth:1,plottype:o.LineStudyPlotStyle.StepLine,trackPrice:!1,transparency:0,visible:!1}}},graphics:{hhists:{histBars2:{location:a.HHistLocation.Absolute,title:"Volume Profile",titles:["Up Volume","Down Volume"]},histBarsVA:{location:a.HHistLocation.Absolute,title:"Value Area",titles:["Value Area Up","Value Area Down"]}},horizlines:{pocLines:{name:"POC",showPrice:!0}},polygons:{histBoxBg:{mouseTouchable:!1,name:"Histogram Box",showBorder:!1}}},inputs:[{defval:"Number Of Rows",id:"rowsLayout",name:"Rows Layout",options:["Number Of Rows","Ticks Per Row"],type:"text"},{defval:24,id:"rows",max:1e6,min:1,name:"Row Size",type:"integer"},{defval:"Up/Down",id:"volume",name:"Volume",options:["Up/Down","Total","Delta"],type:"text"},{defval:0,id:"first_bar_time",isHidden:!0,max:253370764800,min:-253370764800,name:"First Bar Time",type:"time"},{defval:0,id:"last_bar_time",isHidden:!0,max:253370764800,min:-253370764800,name:"Last Bar Time",type:"time"},{defval:70,id:"vaVolume",max:100,min:0,name:"Value Area Volume",type:"integer"},{defval:!0,id:"subscribeRealtime",isHidden:!0,name:"SubscribeRealtime",type:"bool"}],plots:[{id:"developingPoc",type:"line"},{id:"developingVAHigh",type:"line"},{id:"developingVALow",type:"line"}],styles:{developingPoc:{histogramBase:0,title:"Developing Poc"},developingVAHigh:{histogramBase:0,title:"Developing VA High"}, +developingVALow:{histogramBase:0,title:"Developing VA Low"}},...e}}}const b=y({id:"VbPFixed@tv-volumebyprice-57",description:"Volume Profile Fixed Range"}),w=y({id:"VbPFixed@tv-basicstudies-152",description:"Fixed Range",is_hidden_study:!0})},79258:(e,t,i)=>{"use strict";i.d(t,{VolumeProfileOutputSeries:()=>n});var s=i(88537),r=i(55257);class n{constructor(){this._histPos=-1,this._hist=new Float64Array(2e3),this._times=new Float64Array(2e3)}addHist(e){if(this._histPos>=0){const t=this._times[this._histPos];(0,s.assert)(t<=e,"History order violation"),this._histPos+=t===e?0:1}else this._histPos+=1;if(this._histPos===this._hist.length){const e=new Float64Array(2*this._hist.length);e.set(this._hist),this._hist=e;const t=new Float64Array(this._hist.length);t.set(this._times),this._times=t}this._hist[this._histPos]=NaN,this._times[this._histPos]=e}removeLastIfNaN(){Number.isNaN(this.get(0))&&(this._histPos-=1)}get(e){(0,s.assert)(0===e);const t=this._histPos-e;return this._hist[t]}getLeftOrEqual(e){const t=(0,r.upperbound)(this._times,e,(e,t)=>e{"use strict";i.d(t,{volumeProfileVisibleRangeStudyItem:()=>v});var s=i(88537),r=i(96761),n=i(216),o=i(95018),a=i(29823),l=i(78002),c=i(62876),h=i(79113);class d extends c.VolumeByPriceExpr{constructor(e,t,i,s,r,n,o,a,l,c,d){super(e,t,i,n,new h.GraphicsList,o,!0,a,l,()=>c,d,s,r,!1),this._firstBarTime=s,this._lastBarTime=r}update(e){this._supplyRowsLayout(this._ctx),this.timeInRequestedRange(e)&&super.update(e)}timeInRequestedRange(e){const t=this._timeScale().get(e);return this._firstBarTime<=t&&t=this._firstBarTime){const e=this._developingPocSeries.getLeftOrEqual(n),t=this._developingVAHighSeries.getLeftOrEqual(n),i=this._developingVALowSeries.getLeftOrEqual(n);r.data.push([e,t,i])}else r.data.push([NaN,NaN,NaN])}return r}time(){return this._timeSeries}open(){return this._openSeries}high(){return this._highSeries}low(){return this._lowSeries}close(){return this._closeSeries}volume(){return this._volumeSeries}developingPoc(){return this._developingPocSeries}developingVAHigh(){return this._developingVAHighSeries}developingVALow(){return this._developingVALowSeries}}const v={constructor:f,name:"Volume Profile Visible Range",metainfo:{ +_metainfoVersion:51,id:"VbPVisible@tv-basicstudies-49",description:"Volume Profile Visible Range",shortDescription:"VPVR",format:{type:"volume"},is_price_study:!0,linkedToSeries:!0,palettes:{},inputs:[{id:"rowsLayout",name:"Rows Layout",defval:"Number Of Rows",options:["Number Of Rows","Ticks Per Row"],type:"text"},{id:"rows",name:"Row Size",defval:24,max:1e6,min:1,type:"integer"},{id:"volume",name:"Volume",defval:"Up/Down",options:["Up/Down","Total","Delta"],type:"text"},{id:"first_visible_bar_time",name:"First Visible Bar Time",defval:0,isHidden:!0,max:253370764800,min:-253370764800,type:"time"},{id:"last_visible_bar_time",name:"Last Visible Bar Time",defval:0,isHidden:!0,max:253370764800,min:-253370764800,type:"time"},{id:"vaVolume",name:"Value Area Volume",defval:70,max:100,min:0,type:"integer"}],plots:[{id:"developingPoc",type:"line"},{id:"developingVAHigh",type:"line"},{id:"developingVALow",type:"line"}],graphics:{hhists:{histBars2:{location:o.HHistLocation.Relative,title:"Volume Profile",titles:["Up Volume","Down Volume"]},histBarsVA:{location:o.HHistLocation.Relative,title:"Value Area",titles:["Value Area Up","Value Area Down"]}},horizlines:{pocLines:{name:"POC",showPrice:!0}}},defaults:{graphics:{hhists:{histBars2:{colors:["#1592e6","#fbc123"],direction:o.HHistDirection.RightToLeft,percentWidth:30,showValues:!1,transparencies:[76,76],valuesColor:"#424242",visible:!0},histBarsVA:{colors:["#1592e6","#fbc123"],direction:o.HHistDirection.RightToLeft,percentWidth:30,showValues:!1,transparencies:[30,30],valuesColor:"#424242",visible:!0}},horizlines:{pocLines:{color:"#ff0000",style:0,visible:!0,width:2}}},inputs:{first_visible_bar_time:0,last_visible_bar_time:0,rows:24,rowsLayout:"Number Of Rows",vaVolume:70,volume:"Up/Down"},styles:{developingPoc:{color:"#ff0000",linestyle:0,linewidth:1,plottype:9,trackPrice:!1,transparency:0,visible:!1},developingVAHigh:{color:"#0000ff",linestyle:0,linewidth:1,plottype:9,trackPrice:!1,transparency:0,visible:!1},developingVALow:{color:"#0000ff",linestyle:0,linewidth:1,plottype:9,trackPrice:!1,transparency:0,visible:!1}}},styles:{developingPoc:{histogramBase:0,title:"Developing Poc"},developingVAHigh:{histogramBase:0,title:"Developing VA High"},developingVALow:{histogramBase:0,title:"Developing VA Low"}}}}},54631:(e,t,i)=>{"use strict";i.d(t,{StudyError:()=>s});class s extends Error{constructor(e){super(e),this.studyError=!0}}},18317:(e,t,i)=>{"use strict";i.d(t,{EraseObj:()=>s,EraseAll:()=>r,GraphicsCmds:()=>n});class s{constructor(e,t){this.id=e,this.type=t}primitiveData(){return{action:"one",id:this.id,type:this.type}}}class r{primitiveData(){return{action:"all"}}}class n{constructor(){this.erase=[],this.create=null,this._modified=!1}primitiveData(e){if(this.isNaN())return null;const t={},i=this.create&&this.create.primitiveData(e);return null!==i&&(t.create=i),null!==this.erase&&this.erase.length>0&&(t.erase=this.erase.map(e=>e.primitiveData())),void 0===t.create&&void 0===t.erase?null:t}setCreate(e){this.create=e,this.create.forEachList(e=>e.setOwner(this))}isNaN(){ +return(null===this.erase||0===this.erase.length)&&null===this.create}isModified(){return this._modified}setModified(e){this._modified=e}dirty(){this._modified=!0}setOwner(e){throw new Error("Unsupported")}}},78002:(e,t,i)=>{"use strict";i.d(t,{GraphicsListColl:()=>s});class s{constructor(){this._stable=[],this._variable=null,this._owner=null}addStable(e){e.setOwner(this),this._stable.push(e)}setVariable(e){this._variable=e,null!==this._variable&&this._variable.setOwner(this)}primitivesData(e){const t=[];return this._forEach(i=>t.push(...i.primitivesData(e))),t}deleteErasedItems(){this._forEach(e=>e.deleteErasedItems())}markPostedItems(){this._forEach(e=>e.markPostedItems())}isNaN(){return this._all(e=>e.isNaN())}dirty(){null!==this._owner&&this._owner.dirty()}setOwner(e){this._owner=e}_forEach(e){for(const t of this._stable)e(t);null!==this._variable&&e(this._variable)}_all(e){for(const t of this._stable)if(!e(t))return!1;return null===this._variable||e(this._variable)}}},79113:(e,t,i)=>{"use strict";i.d(t,{GraphicsList:()=>n});var s=i(31738),r=i(28329);class n{constructor(){this._items=[],this._owner=null}primitivesData(e){const t=[];for(const i of this._items)e.isIgnoredObj(i)||t.push(i.primitiveData());return t}get(e){return this._items[e]}set(e,t){return this.dirty(),t.setOwner(this),this._items[e]=t,t}addAtIndex(e,t){this.dirty(),t.setOwner(this),this._items[e]=t}clear(){this._unsetOwner(this._items),this._items=[],this.dirty()}addAllFromNumber(e,t){this.setOwner(t),this._items.splice(e,0,...t._items);return this._setCachedDataValid(!1),!0}addAll(e){this.setOwner(e),this._items.push(...e._items);return this._setCachedDataValid(!1),!0}remove(e){const t=this._items[e];return this._items.splice(e,1),t.unsetOwner(this),this.dirty(),t}getItems(){return this._items}size(){return this._items.length}add(e){e.setOwner(this),this._items.push(e);return this._setCachedDataValid(!1),!0}deleteErasedItems(){this._items=this._items.filter(e=>!e.isErased())}markPostedItems(){for(const e of this._items)e.markAsPosted()}isNaN(){if(0===this._items.length)return!0;for(const e of this._items){if(!(0,r.isNaNable)(e))return!1;if(!e.isNaN())return!1}return!0}setOwner(e){this._owner=e}dirty(){null!==this._owner&&this._owner.dirty()}_unsetOwner(e){for(const t of e)t instanceof s.GraphicsObj&&t.unsetOwner(this)}_setCachedDataValid(e){e||this.dirty()}}},31738:(e,t,i)=>{"use strict";i.d(t,{GraphicsObj:()=>l});var s=i(216);class r{constructor(e,t,i,s){this._value=e,this._name=t,this._owner=i,this._comparer=void 0!==s?s:(e,t)=>null==e?null!=t:e===t}getName(){return this._name}set(e){const t=this._comparer(this._value,e);return t&&this._owner.dirty(),this._value=e,t}get(){return this._value}}class n{constructor(e,t,i){this._owner=null,this._value=e,this._name=t,this._owner=i}getName(){return this._name}set(e){return this._value!==e&&(this._value=e,null!==this._owner&&this._owner.dirty(),!0)}get(){return this._value}}class o extends r{constructor(e,t,i,s){super(e,t,i,s)}}class a{constructor(e){this._owner=e}createField(e,t){ +return new r(e,t,this)}createDoubleField(e,t){return new r(e,t,this,(e,t)=>!s.Std.equal(e,t))}createDoubleArrayField(e,t){return new o(e,t,this,(e,t)=>{if(e===t)return!1;const i=e.length;if(t.length!==i)return!0;for(let r=0;r{"use strict";function s(e){return Boolean(e.isNaN)}i.d(t,{isNaNable:()=>s})},45548:(e,t,i)=>{"use strict";i.d(t,{JStudyDataUpdate:()=>d});var s=i(18317);class r{constructor(){this.isUpdate=!1,this.graphicsCmds=new s.GraphicsCmds,this._offsetsChanged=!1,this._disableGraphicsAndData=!1}isNaN(){return this.graphicsCmds.isNaN()}primitiveData(e){const t={};if(!this._disableGraphicsAndData){const i=this.graphicsCmds.primitiveData(e);null!==i&&(t.graphicsCmds=i)}return this.isUpdate&&(t.isUpdate=!0),void 0===t.graphicsCmds?void 0:t}disable(){this._disableGraphicsAndData=!0}checkForChangeAndResetChangedState(e){const t=this._offsetsChanged,i=this.graphicsCmds.isModified();this.graphicsCmds.setModified(!1),this._offsetsChanged=!1;return i||t||0!==e.length}}var n=i(80643),o=i(28329);function a(e){return Boolean(e.isPosted)}class l{isIgnoredObj(e,t){return l.isIgnoredObjDefault(e,t)}static isIgnoredObjDefault(e,t){if(void 0===t)return l.isIgnoredObjNaNable(e);const i=e[t];return l.isIgnoredByGeneralRules(e,t)||l.isIgnoredObjNaNable(i)||l.isIgnoredObjListOfNaNables(i)}static isIgnoredObjNaNable(e){return(0,o.isNaNable)(e)&&e.isNaN()}static isIgnoredObjListOfNaNables(e){if(!(0,n.isArray)(e))return!1;let t=!0;for(const i of e)if(!(0,o.isNaNable)(i)||!i.isNaN()){t=!1;break}return t}static isIgnoredObjPosted(e){return a(e)&&e.isPosted()}static isIgnoredObjErased(e){return a(e)&&e.isErased()}static isIgnoredByGeneralRules(e,t){const i=e[t];return(0,n.isArray)(i)&&0===i.length}}class c{isIgnoredObj(e,t){if(void 0===t)return l.isIgnoredObjDefault(e)||l.isIgnoredObjErased(e);const i=e[t];return l.isIgnoredObjDefault(e,t)||l.isIgnoredObjErased(i)}}class h{isIgnoredObj(e,t){if(void 0===t)return l.isIgnoredObjDefault(e)||l.isIgnoredObjErased(e)||l.isIgnoredObjPosted(e);const i=e[t] +;return l.isIgnoredObjDefault(e,t)||l.isIgnoredObjErased(i)||l.isIgnoredObjPosted(i)}}class d extends class extends class{constructor(e){this._dataObj=new r,this._isDirty=!1,this._eraseCmds=[],this._enableCmdDataStudy=e}init(e){this._dataObj.graphicsCmds.setCreate(e),this.update(!0)}dataObj(){return this._dataObj}setEraseCmds(e){this._eraseCmds=e}resetDirtyState(){this._isDirty=!1}disable(){this._dataObj.disable()}}{constructor(e){super(e),this._snapshotPredicate=new c,this._dataSnapShot={}}getData(){return this._dataSnapShot}getUpdate(){return this._isDirty?this._dataSnapShot:{}}update(e){(this._dataObj.checkForChangeAndResetChangedState(this._eraseCmds)||e)&&(null!==this._dataObj.graphicsCmds.create&&(this._dataObj.graphicsCmds.create.deleteErasedObjs(),this._dataObj.graphicsCmds.erase=[new s.EraseAll]),this._makeSnapshot(),this._isDirty=!0)}_makeSnapshot(){this._json=this._dataObj.primitiveData(this._snapshotPredicate),this._dataSnapShot={json:this._json}}}{constructor(e){super(e),this._updatePredicate=new h,this._sendShapshotOnly=!0,this._isFirstNotForcedUpdate=!0}update(e){(this._dataObj.checkForChangeAndResetChangedState(this._eraseCmds)||e)&&(null!==this._dataObj.graphicsCmds.create&&(this._dataObj.graphicsCmds.erase=[new s.EraseAll]),this._dataObj.isUpdate=!0,this._makeSnapshot(),null!==this._dataObj.graphicsCmds.create&&(this._dataObj.graphicsCmds.erase=this._eraseCmds),this._dataObj.isUpdate=!0,this._jsonUpdate=this._dataObj.primitiveData(this._updatePredicate),null!==this._dataObj.graphicsCmds.create&&this._dataObj.graphicsCmds.create.deleteErasedAndMarkPostedObjs(),this._sendShapshotOnly=e||this._isFirstNotForcedUpdate,this._isFirstNotForcedUpdate=Boolean(e),this._isDirty=!0)}getUpdate(){return this._isDirty?this._enableCmdDataStudy?{json:this._sendShapshotOnly?this._json:void 0,jsonUpdate:this._sendShapshotOnly?void 0:this._jsonUpdate}:{json:this._json,jsonUpdate:this._sendShapshotOnly?void 0:this._jsonUpdate}:{}}}},34574:(e,t,i)=>{"use strict";i.d(t,{StudyGraphicsData:()=>r,Container:()=>n});var s=i(88537);class r{constructor(){this._horizlines=[],this._hhists=[],this._polygons=[],this._vertlines=[],this._containersCache=[],this._containerNamesCache=[],this._containersMapCache=new Map,this._addToCache("horizlines",this._horizlines),this._addToCache("hhists",this._hhists),this._addToCache("polygons",this._polygons),this._addToCache("vertlines",this._vertlines)}primitiveData(e){const t={};let i=!1;for(const s of this._containerNamesCache){const r=[],n=this.getObjsContainer(s);for(const t of n){if(t.isNaN())continue;const i=t.primitiveData(e);i.data.length>0&&r.push(i)}r.length>0&&(t[s]=r,i=!0)}return i?t:null}deleteErasedAndMarkPostedObjs(){this.forEachList(e=>{e.deleteErasedItems(),e.markPostedItems()})}deleteErasedObjs(){this.forEachList(e=>e.deleteErasedItems())}getObjsContainer(e){return(0,s.ensureDefined)(this._containersMapCache.get(e))}forEachList(e){for(const t of this._containersCache)for(const i of t)e(i.data)}_addToCache(e,t){this._containersCache.push(t),this._containerNamesCache.push(e), +this._containersMapCache.set(e,t)}}class n{constructor(e,t){this.styleId=e,this.data=t}isNaN(){return this.data.isNaN()}primitiveData(e){return{styleId:this.styleId,data:this.data.primitivesData(e)}}}},27595:(e,t,i)=>{"use strict";const s=i(45112).getHexColorByName;var r=i(216);const n=s("color-ripe-red-100"),o=s("color-ripe-red-200"),a=s("color-ripe-red-500"),l=s("color-ripe-red-900"),c=s("color-ripe-red-a200"),h=s("color-minty-green-100"),d=s("color-minty-green-400"),u=s("color-minty-green-500");JSServer.studyLibrary=[{name:"Accumulation/Distribution",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Accumulation/Distribution",shortDescription:"Accum/Dist",is_price_study:!1,inputs:[],id:"Accumulation/Distribution@tv-basicstudies-1",scriptIdPart:"",name:"Accumulation/Distribution",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i,s){return r.Std.or(r.Std.and(r.Std.eq(e,t),r.Std.eq(e,i)),r.Std.eq(t,i))?0:(2*e-i-t)/(t-i)*s},this.main=function(e,t){this._context=e,this._input=t;var i=this.f_0(r.Std.close(this._context),r.Std.high(this._context),r.Std.low(this._context),r.Std.volume(this._context));return[r.Std.cum(i,this._context)]}}},{name:"Accumulative Swing Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"ASI",histogramBase:0,joinPoints:!1}},description:"Accumulative Swing Index",shortDescription:"ASI",is_price_study:!1,inputs:[{id:"in_0",name:"Limit Move Value",defval:10,type:"float",min:.1,max:1e5}],id:"Accumulative Swing Index@tv-basicstudies-1",scriptIdPart:"",name:"Accumulative Swing Index",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t){var i=t.new_var(r.Std.open(t)),s=t.new_var(r.Std.high(t)),n=t.new_var(r.Std.low(t)),o=t.new_var(r.Std.close(t)),a=r.Std.abs(s-o.get(1)),l=r.Std.abs(n-o.get(1)),c=r.Std.abs(s-n),h=r.Std.abs(o.get(1)-i.get(1)),d=r.Std.max(a,l),u=r.Std.iff(a>=r.Std.max(l,c),a-.5*l+.25*h,r.Std.iff(l>=r.Std.max(a,c),l-.5*a+.25*h,c+.25*h));return r.Std.iff(0===u,0,(o-o.get(1)+.5*(o-i)+.25*(o.get(1)-i.get(1)))/u*d/e*50)},this.f_1=function(e,t){var i=this.f_0(e,t);return r.Std.cum(i,t)},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);return[this.f_1(i,this._context)]}}},{name:"Advance/Decline",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Advance/Decline", +shortDescription:"AD",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:10,type:"integer",min:1,max:2e3}],id:"Advance/Decline@tv-basicstudies-1",scriptIdPart:"",name:"Advance/Decline",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return r.Std.gt(e,t)},this.f_1=function(e,t){return r.Std.lt(e,t)},this.f_2=function(e,t){return 0===t?e:e/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this.f_0(r.Std.close(this._context),r.Std.open(this._context)),n=this._context.new_var(s),o=r.Std.sum(n,i,this._context),a=this.f_1(r.Std.close(this._context),r.Std.open(this._context)),l=this._context.new_var(a),c=r.Std.sum(l,i,this._context);return[this.f_2(o,c)]}}},{name:"Arnaud Legoux Moving Average",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9,in_1:.85,in_2:6}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Arnaud Legoux Moving Average",shortDescription:"ALMA",is_price_study:!0,inputs:[{id:"in_0",name:"Window Size",defval:9,type:"integer",min:0,max:5e3},{id:"in_1",name:"Offset",defval:.85,type:"float",min:-1e12,max:1e12},{id:"in_2",name:"Sigma",defval:6,type:"float",min:-1e12,max:1e12}],id:"Arnaud Legoux Moving Average@tv-basicstudies-1",scriptIdPart:"",name:"Arnaud Legoux Moving Average",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._input(2),a=this._context.new_var(i);return[r.Std.alma(a,s,n,o)]}}},{name:"Aroon",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FB8C00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"Upper",histogramBase:0,joinPoints:!1},plot_1:{title:"Lower",histogramBase:0,joinPoints:!1}},description:"Aroon",shortDescription:"Aroon",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Aroon@tv-basicstudies-1",scriptIdPart:"",name:"Aroon",format:{precision:2,type:"percent"}},constructor:function(){this.f_0=function(e,t){return 100*(e+t)/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.high(this._context),n=i+1,o=this._context.new_var(s),a=r.Std.highestbars(o,n,this._context),l=this.f_0(a,i),c=r.Std.low(this._context),h=this._context.new_var(c),d=r.Std.lowestbars(h,n,this._context);return[l,this.f_0(d,i)]}}},{name:"Average Price",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"AveragePrice@tv-basicstudies-1",scriptIdPart:"",name:"Average Price",description:"Average Price", +shortDescription:"Average Price",is_price_study:!0,plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{}},styles:{plot_0:{title:"Plot"}},inputs:[],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){return this._context=e,this._input=t,[r.Std.ohlc4(this._context)]}}},{name:"Average Directional Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:c}},inputs:{in_0:14,in_1:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"ADX",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Average Directional Index",shortDescription:"ADX",is_price_study:!1,inputs:[{id:"in_0",name:"ADX Smoothing",defval:14,type:"integer",min:-1e12,max:1e12},{id:"in_1",name:"DI Length",defval:14,type:"integer",min:-1e12,max:1e12}],id:"average_directional_Index@tv-basicstudies-1",scriptIdPart:"",name:"Average Directional Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e){var t=this._context.new_var(r.Std.high(this._context)),i=r.Std.change(t),s=this._context.new_var(r.Std.low(this._context)),n=-r.Std.change(s),o=this._context.new_var(r.Std.tr(void 0,this._context)),a=r.Std.rma(o,e,this._context),l=this._context.new_var(r.Std.and(r.Std.gt(i,n),r.Std.gt(i,0))?i:0),c=r.Std.fixnan(100*r.Std.rma(l,e,this._context)/a,this._context),h=this._context.new_var(r.Std.and(r.Std.gt(n,i),r.Std.gt(n,0))?n:0);return[c,r.Std.fixnan(100*r.Std.rma(h,e,this._context)/a,this._context)]},this.f_1=function(e,t){var i=this.f_0(e),s=i[0],n=i[1],o=s+n,a=this._context.new_var(r.Std.abs(s-n)/(r.Std.eq(o,0)?1:o));return[100*r.Std.rma(a,t,this._context)]},this.main=function(e,t){return this._context=e,this._input=t,this._context.setMinimumAdditionalDepth(this._input(0)+this._input(1)),this.f_1(this._input(1),this._input(0))}}},{name:"Average True Range",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:l}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Average True Range",shortDescription:"ATR",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Average True Range@tv-basicstudies-1",scriptIdPart:"",name:"Average True Range",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){var i=t(0);return[r.Std.atr(i,e)]}}},{name:"Awesome Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:1,trackPrice:!1,transparency:0,visible:!0,color:"#000080"}},palettes:{palette_0:{colors:{0:{color:a,width:1,style:0},1:{color:u,width:1,style:0}}}},inputs:{}},plots:[{id:"plot_0",type:"line"},{id:"plot_1", +palette:"palette_0",target:"plot_0",type:"colorer"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Awesome Oscillator",shortDescription:"AO",is_price_study:!1,palettes:{palette_0:{colors:{0:{name:"Color 0"},1:{name:"Color 1"}}}},inputs:[],id:"Awesome Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Awesome Oscillator",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e-t},this.f_1=function(e){return r.Std.le(e,0)?0:1},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.hl2(this._context),s=this._context.new_var(i),n=r.Std.sma(s,5,this._context),o=this._context.new_var(i),a=r.Std.sma(o,34,this._context),l=this.f_0(n,a),c=l,h=this._context.new_var(l),d=r.Std.change(h);return[c,this.f_1(d)]}}},{name:"Balance of Power",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:c}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Balance of Power",shortDescription:"Balance of Power",is_price_study:!1,inputs:[],id:"Balance of Power@tv-basicstudies-1",scriptIdPart:"",name:"Balance of Power",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i,s){return(e-t)/(i-s)},this.main=function(e,t){return this._context=e,this._input=t,[this.f_0(r.Std.close(this._context),r.Std.open(this._context),r.Std.high(this._context),r.Std.low(this._context))]}}},{name:"Bollinger Bands",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},filledAreasStyle:{fill_0:{color:"#2196F3",transparency:95,visible:!0}},inputs:{in_0:20,in_1:2}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Median",histogramBase:0,joinPoints:!1},plot_1:{title:"Upper",histogramBase:0,joinPoints:!1},plot_2:{title:"Lower",histogramBase:0,joinPoints:!1}},description:"Bollinger Bands",shortDescription:"BB",is_price_study:!0,filledAreas:[{id:"fill_0",objAId:"plot_1",objBId:"plot_2",type:"plot_plot",title:"Plots Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:1e4},{id:"in_1",name:"mult",defval:2,type:"float",min:.001,max:50}],id:"Bollinger Bands@tv-basicstudies-1",scriptIdPart:"",name:"Bollinger Bands",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e*t},this.f_1=function(e,t){return e+t},this.f_2=function(e,t){return e-t},this.main=function(e,t){this._context=e,this._input=t +;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.stdev(l,s,this._context),h=this.f_0(n,c);return[a,this.f_1(a,h),this.f_2(a,h)]}}},{name:"Bollinger Bands %B",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:d}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:1},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],filledAreasStyle:{fill_0:{color:"#26A69A",transparency:90,visible:!0}},inputs:{in_0:20,in_1:2}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Bollinger Bands %B",shortDescription:"BB %B",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:1e4},{id:"in_1",name:"mult",defval:2,type:"float",min:.001,max:50}],id:"Bollinger Bands %B@tv-basicstudies-1",scriptIdPart:"",name:"Bollinger Bands %B",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return e*t},this.f_1=function(e,t){return e+t},this.f_2=function(e,t){return e-t},this.f_3=function(e,t,i){return(e-t)/(i-t)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.stdev(l,s,this._context),h=this.f_0(n,c),d=this.f_1(a,h),u=this.f_2(a,h);return[this.f_3(i,u,d)]}}},{name:"Bollinger Bands Width",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},inputs:{in_0:20,in_1:2}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Bollinger Bands Width",shortDescription:"BBW",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:1e4},{id:"in_1",name:"mult",defval:2,type:"float",min:.001,max:50}],id:"Bollinger Bands Width@tv-basicstudies-1",scriptIdPart:"",name:"Bollinger Bands Width",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return e*t},this.f_1=function(e,t){return e+t},this.f_2=function(e,t){return e-t},this.f_3=function(e,t,i){return(e-t)/i},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.stdev(l,s,this._context),h=this.f_0(n,c),d=this.f_1(a,h),u=this.f_2(a,h);return[this.f_3(d,u,a)]}}},{name:"Chaikin Money Flow",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{ +styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:20}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Chaikin Money Flow",shortDescription:"CMF",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:2e3}],id:"Chaikin Money Flow@tv-basicstudies-1",scriptIdPart:"",name:"Chaikin Money Flow",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i,s){return r.Std.or(r.Std.and(r.Std.eq(e,t),r.Std.eq(e,i)),r.Std.eq(t,i))?0:(2*e-i-t)/(t-i)*s},this.f_1=function(e,t){return e/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this.f_0(r.Std.close(this._context),r.Std.high(this._context),r.Std.low(this._context),r.Std.volume(this._context)),n=this._context.new_var(s),o=r.Std.sum(n,i,this._context),a=r.Std.volume(this._context),l=this._context.new_var(a),c=r.Std.sum(l,i,this._context);return[this.f_1(o,c)]}}},{name:"Chaikin Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#EC407A"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:3,in_1:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Chaikin Oscillator",shortDescription:"Chaikin Osc",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"short",defval:3,type:"integer",min:1,max:2e3},{id:"in_1",name:"long",defval:10,type:"integer",min:1,max:2e3}],id:"Chaikin Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Chaikin Oscillator",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t){return e-t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.accdist(this._context),o=this._context.new_var(n),a=r.Std.ema(o,i,this._context),l=this._context.new_var(n),c=r.Std.ema(l,s,this._context);return[this.f_0(a,c)]}}},{name:"Chaikin Volatility",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Chaikin Volatility@tv-basicstudies-1",scriptIdPart:"",name:"Chaikin Volatility",description:"Chaikin Volatility",shortDescription:"Chaikin Volatility",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#AB47BC"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{periods:10,rocLookback:10}},styles:{plot_0:{title:"Plot"}},bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"periods",type:"integer",name:"Periods"},{id:"rocLookback",type:"integer",name:"Rate of Change Lookback"}],format:{type:"volume"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t, +this.period=this._input(0),this.rocLookback=this._input(1)},this.main=function(e,t){this._context=e,this._input=t,this._context.setMinimumAdditionalDepth(this.period+this.rocLookback);var i=this._context.new_var(r.Std.high(this._context)-r.Std.low(this._context)),s=this._context.new_var(r.Std.ema(i,this.period,this._context));return[r.Std.roc(s,this.rocLookback)]}}},{name:"Chande Kroll Stop",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},inputs:{in_0:10,in_1:1,in_2:9}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"Long",histogramBase:0,joinPoints:!1},plot_1:{title:"Short",histogramBase:0,joinPoints:!1}},description:"Chande Kroll Stop",shortDescription:"Chande Kroll Stop",is_price_study:!0,inputs:[{id:"in_0",name:"p",defval:10,type:"integer",min:1,max:4999},{id:"in_1",name:"x",defval:1,type:"integer",min:1,max:1e12},{id:"in_2",name:"q",defval:9,type:"integer",min:1,max:1e12}],id:"Chande Kroll Stop@tv-basicstudies-1",scriptIdPart:"",name:"Chande Kroll Stop",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t,i){return e-t*i},this.f_1=function(e,t,i){return e+t*i},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2),o=r.Std.high(this._context),a=this._context.new_var(o),l=r.Std.highest(a,i,this._context),c=r.Std.atr(i,this._context),h=this.f_0(l,s,c),d=this._context.new_var(o),u=r.Std.lowest(d,i,this._context),p=this.f_1(u,s,c),_=this._context.new_var(h),m=r.Std.highest(_,n,this._context),g=this._context.new_var(p);return[r.Std.lowest(g,n,this._context),m]}}},{name:"Chande Momentum Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Chande Momentum Oscillator",shortDescription:"ChandeMO",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:2e3}],id:"Chande Momentum Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Chande Momentum Oscillator",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(e){return r.Std.ge(e,0)?e:0},this.f_1=function(e){return r.Std.ge(e,0)?0:-e},this.f_2=function(e,t){return 100*e/t},this.f_3=function(e,t){return this.f_2(e-t,e+t)},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.change(n),a=this.f_0(o),l=this.f_1(o),c=this._context.new_var(a),h=r.Std.sum(c,i,this._context),d=this._context.new_var(l),u=r.Std.sum(d,i,this._context);return[this.f_3(h,u)]}}},{name:"Chop Zone",metainfo:{_metainfoVersion:52, +isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:5,trackPrice:!1,transparency:0,visible:!0,color:"#000080"}},palettes:{palette_0:{colors:{0:{color:"#26C6DA",width:1,style:0},1:{color:"#43A047",width:1,style:0},2:{color:"#A5D6A7",width:1,style:0},3:{color:u,width:1,style:0},4:{color:"#D50000",width:1,style:0},5:{color:"#E91E63",width:1,style:0},6:{color:"#FF6D00",width:1,style:0},7:{color:"#FFB74D",width:1,style:0},8:{color:"#FDD835",width:1,style:0}}}},inputs:{}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",palette:"palette_0",target:"plot_0",type:"colorer"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Chop Zone",shortDescription:"Chop Zone",is_price_study:!1,palettes:{palette_0:{colors:{0:{name:"Color 0"},1:{name:"Color 1"},2:{name:"Color 2"},3:{name:"Color 3"},4:{name:"Color 4"},5:{name:"Color 5"},6:{name:"Color 6"},7:{name:"Color 7"},8:{name:"Color 8"}},valToIndex:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8}}},inputs:[],id:"chop_zone@tv-basicstudies-1",scriptIdPart:"",name:"Chop Zone",format:{precision:0,type:"price"}},constructor:function(){this.f_0=function(){var e=r.Std.close(this._context),t=r.Std.hlc3(this._context),i=this._context.new_var(r.Std.high(this._context)),s=r.Std.highest(i,30,this._context),n=r.Std.lowest(i,30,this._context),o=25/(s-n)*n,a=this._context.new_var(e),l=this._context.new_var(r.Std.ema(a,34,this._context)),c=(l.get(1)-l.get(0))/t*o,h=r.Std.sqrt(1+c*c),d=r.Std.round(180*r.Std.acos(1/h)/3.141592653589793),u=r.Std.iff(r.Std.gt(c,0),-d,d),p=r.Std.and(r.Std.gt(u,-2.14),r.Std.le(u,-.71))?7:8,_=r.Std.and(r.Std.gt(u,-3.57),r.Std.le(u,-2.14))?6:p,m=r.Std.and(r.Std.gt(u,-5),r.Std.le(u,-3.57))?5:_,g=r.Std.le(u,-5)?4:m,f=r.Std.and(r.Std.lt(u,2.14),r.Std.ge(u,.71))?3:g,v=r.Std.and(r.Std.lt(u,3.57),r.Std.ge(u,2.14))?2:f,S=r.Std.and(r.Std.lt(u,5),r.Std.ge(u,3.57))?1:v;return[1,r.Std.ge(u,5)?0:S]},this.main=function(e,t){return this._context=e,this._input=t,this.f_0()}}},{name:"Choppiness Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:61.8},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:38.2}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Choppiness Index",shortDescription:"CHOP",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Choppiness Index@tv-basicstudies-1",scriptIdPart:"",name:"Choppiness Index",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(e,t,i,s){ +return 100*r.Std.log10(e/(t-i))/s},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.atr(1,this._context),n=this._context.new_var(s),o=r.Std.sum(n,i,this._context),a=r.Std.high(this._context),l=this._context.new_var(a),c=r.Std.highest(l,i,this._context),h=r.Std.low(this._context),d=this._context.new_var(h),u=r.Std.lowest(d,i,this._context),p=r.Std.log10(i);return[this.f_0(o,c,u,p)]}}},{name:"Commodity Channel Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:100},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:-100}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:20,smoothingLine:"SMA",smoothingLength:20}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"Commodity Channel Index",shortDescription:"CCI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:2e3},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:20,type:"integer",min:1,max:1e4}],id:"Commodity Channel Index@tv-basicstudies-1",scriptIdPart:"",name:"Commodity Channel Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i){return(e-t)/(.015*i)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.hlc3(this._context),s=this._input(0),n=this._input(1),o=this._input(2);this._context.setMinimumAdditionalDepth(s+o);var a,l=this._context.new_var(i),c=r.Std.sma(l,s,this._context),h=this._context.new_var(i),d=r.Std.dev(h,s,this._context),u=this.f_0(i,c,d),p=this._context.new_var(u);return"EMA"===n?a=r.Std.ema(p,o,this._context):"WMA"===n?a=r.Std.wma(p,o,this._context):"SMA"===n&&(a=r.Std.sma(p,o,this._context)),[u,a]}}},{name:"Connors RSI",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:70},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:30}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:3,in_1:2,in_2:100}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"CRSI",histogramBase:0,joinPoints:!1}},description:"Connors RSI",shortDescription:"CRSI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1", +name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"RSI Length",defval:3,type:"integer",min:1},{id:"in_1",name:"UpDown Length",defval:2,type:"integer",min:1},{id:"in_2",name:"ROC Length",defval:100,type:"integer",min:1}],id:"Connors RSI@tv-basicstudies-1",scriptIdPart:"",name:"Connors RSI",format:{precision:2,type:"price"}},constructor:function(){var e;this.f_1=function(e,t,i){var s=i.new_var(r.Std.max(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.f_2=function(e,t,i){var s=i.new_var(-r.Std.min(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.f_3=(e=0,function(t){var i=t.get(0),s=t.get(1);return e=i===s?0:i>s?r.Std.nz(e)<=0?1:r.Std.nz(e)+1:r.Std.nz(e)>=0?-1:r.Std.nz(e)-1,this._context.new_var(e)}),this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._context.new_var(i),n=this._input(0),o=this._input(1),a=this._input(2);this._context.setMinimumAdditionalDepth(a);var l=r.Std.rsi(this.f_1(s,n,this._context),this.f_2(s,n,this._context)),c=this.f_3(s),h=r.Std.rsi(this.f_1(c,o,this._context),this.f_2(c,o,this._context)),d=this._context.new_var(r.Std.roc(s,1)),u=r.Std.percentrank(d,a);return[r.Std.avg(l,h,u)]}}},{name:"Coppock Curve",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:10,in_1:14,in_2:11}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Coppock Curve",shortDescription:"Coppock Curve",is_price_study:!1,inputs:[{id:"in_0",name:"WMA Length",defval:10,type:"integer",min:-1e12,max:5e3},{id:"in_1",name:"Long RoC Length",defval:14,type:"integer",min:1,max:4999},{id:"in_2",name:"Short RoC Length",defval:11,type:"integer",min:1,max:4999}],id:"Coppock Curve@tv-basicstudies-1",scriptIdPart:"",name:"Coppock Curve",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e+t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(i+Math.max(s,n));var o=r.Std.close(this._context),a=this._context.new_var(o),l=r.Std.roc(a,s),c=this._context.new_var(o),h=r.Std.roc(c,n),d=this.f_0(l,h),u=this._context.new_var(d);return[r.Std.wma(u,i,this._context)]}}},{name:"Correlation Coeff",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:4,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:"",in_1:20}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Correlation Coefficient",shortDescription:"CC",is_price_study:!1,inputs:[{id:"in_0",name:"sym",defval:"",type:"symbol"},{id:"in_1",name:"length",defval:20,type:"integer",min:1,max:2e3}],id:"Correlation Coeff@tv-basicstudies-1",scriptIdPart:"", +name:"Correlation Coeff",format:{precision:2,type:"price"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this._context.new_sym(this._input(0),r.Std.period(this._context))},this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_unlimited_var(this._context.symbol.time),s=(this._input(0),r.Std.period(this._context),r.Std.close(this._context)),n=this._input(1);this._context.select_sym(1);var o=this._context.new_unlimited_var(this._context.symbol.time),a=r.Std.close(this._context),l=this._context.new_unlimited_var(a);this._context.select_sym(0);var c=l.adopt(o,i,0),h=this._context.new_var(s),d=this._context.new_var(c);return[r.Std.correlation(h,d,n,this._context)]}}},{name:"Correlation - Log",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Correlation - Log@tv-basicstudies-1",scriptIdPart:"",name:"Correlation - Log",description:"Correlation - Log",shortDescription:"Correlation - Log",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{instrument:"",instrument2:"",periods:25}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"instrument",name:"Instrument 1",type:"symbol",defval:"",confirm:!0},{id:"instrument2",name:"Instrument 2",type:"symbol",defval:"",confirm:!0},{id:"periods",name:"Periods",type:"integer",defval:25}],format:{precision:2,type:"price"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this._context.new_sym(this._input(0),r.Std.period(this._context)),this._context.new_sym(this._input(1),r.Std.period(this._context)),this.period=this._input(2)},this.correlationLog=function(e,t,i,s){var n=r.Std.sma(e,i,s),o=r.Std.sma(t,i,s),a=s.new_var(e.get()*t.get());return(r.Std.sma(a,i,s)-n*o)/Math.sqrt(r.Std.variance2(e,n,i)*r.Std.variance2(t,o,i))},this.main=function(e,t){this._context=e,this._input=t,this._context.select_sym(1);var i=this._context.new_var(this._context.symbol.time);this._context.select_sym(2);var s=this._context.new_var(r.Std.close(this._context)),n=this._context.new_var(r.Std.log(s.get()/s.get(1))),o=this._context.new_var(this._context.symbol.time);this._context.select_sym(1);var a=this._context.new_var(r.Std.close(this._context)),l=this._context.new_var(r.Std.log(a.get()/a.get(1))),c=this._context.new_var(n.adopt(o,i,0)),h=this.correlationLog(l,c,this.period,this._context);return[r.Std.round(1e3*h)/1e3]}}},{name:"Detrended Price Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:21,in_1:!1}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"DPO",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Detrended Price Oscillator",shortDescription:"DPO",is_price_study:!1,is_hidden_study:!1,id:"detrended_price_oscillator@tv-basicstudies-1", +bands:[{id:"hline_0",name:"Zero",isHidden:!1}],inputs:[{id:"in_0",name:"Period",defval:21,type:"integer",min:1,max:1e12},{id:"in_1",name:"isCentered",defval:!1,type:"bool"}],scriptIdPart:"",name:"Detrended Price Oscillator",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(){var e=this._input(0),t=this._input(1),i=Math.floor(e/2+1);this._context.setMinimumAdditionalDepth(e+i);var s=this._context.new_var(r.Std.close(this._context)),n=this._context.new_var(r.Std.sma(s,e,this._context)),o=this._context.new_var(r.Std.close(this._context)).get(i)-n,a=r.Std.close(this._context)-n.get(i);return[t?o:a,t?-i:0]},this.main=function(e,t){this._context=e,this._input=t;var i=this.f_0();return[{value:i[0],offset:i[1]}]}}},{name:"Directional Movement Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_3:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#F50057"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FFA726"},plot_4:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#ab47bc"}},inputs:{in_0:14,in_1:14}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"},{id:"plot_3",type:"line"},{id:"plot_4",type:"line"}],styles:{plot_0:{title:"+DI",histogramBase:0,joinPoints:!1},plot_1:{title:"-DI",histogramBase:0,joinPoints:!1},plot_2:{title:"DX",histogramBase:0,joinPoints:!1},plot_3:{title:"ADX",histogramBase:0,joinPoints:!1},plot_4:{title:"ADXR",histogramBase:0,joinPoints:!1}},description:"Directional Movement",shortDescription:"DMI",is_price_study:!1,inputs:[{id:"in_0",name:"DI Length",defval:14,type:"integer",min:1,max:2e3},{id:"in_1",name:"ADX Smoothing",defval:14,type:"integer",min:1,max:50}],id:"Directional Movement Index@tv-basicstudies-1",scriptIdPart:"",name:"Directional Movement Index",format:{precision:4,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1);return this._context.setMinimumAdditionalDepth(2*i+s),r.Std.dmi(i,s,this._context)}}},{name:"Donchian Channels",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},filledAreasStyle:{fill_0:{color:"#2196F3",transparency:95,visible:!0}},inputs:{in_0:20}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Lower",histogramBase:0,joinPoints:!1},plot_1:{title:"Upper",histogramBase:0, +joinPoints:!1},plot_2:{title:"Basis",histogramBase:0,joinPoints:!1}},description:"Donchian Channels",shortDescription:"DC",is_price_study:!0,filledAreas:[{id:"fill_0",objAId:"plot_1",objBId:"plot_0",type:"plot_plot",title:"Plots Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:2e3}],id:"Donchian Channels@tv-basicstudies-1",scriptIdPart:"",name:"Donchian Channels",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.low(this._context),n=this._context.new_var(s),o=r.Std.lowest(n,i,this._context),a=r.Std.high(this._context),l=this._context.new_var(a),c=r.Std.highest(l,i,this._context);return[o,c,r.Std.avg(c,o)]}}},{name:"Double Exponential Moving Average",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Double EMA",shortDescription:"DEMA",is_price_study:!0,inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:1e4}],id:"Double Exponential Moving Average@tv-basicstudies-1",scriptIdPart:"",name:"Double Exponential Moving Average",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return 2*e-t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);this._context.setMinimumAdditionalDepth(2*i);var s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.ema(n,i,this._context),a=this._context.new_var(o),l=r.Std.ema(a,i,this._context);return[this.f_0(o,l)]}}},{name:"Ease of Movement",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},inputs:{in_0:1e4,in_1:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Ease Of Movement",shortDescription:"EOM",is_price_study:!1,inputs:[{id:"in_0",name:"Divisor",defval:1e4,type:"integer",min:1,max:1e9},{id:"in_1",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Ease of Movement@tv-basicstudies-1",scriptIdPart:"",name:"Ease of Movement",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i,s,r){return e*t*(i-s)/r},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.hl2(this._context),o=this._context.new_var(n),a=r.Std.change(o),l=this.f_0(i,a,r.Std.high(this._context),r.Std.low(this._context),r.Std.volume(this._context)),c=this._context.new_var(l);return[r.Std.sma(c,s,this._context)]}}},{name:"Elders Force Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}], +inputs:{in_0:13}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Elder's Force Index",shortDescription:"EFI",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"length",defval:13,type:"integer",min:1,max:2e3}],id:"Elders Force Index@tv-basicstudies-1",scriptIdPart:"",name:"Elders Force Index",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t){return e*t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.change(n),a=this.f_0(o,r.Std.volume(this._context)),l=this._context.new_var(a);return[r.Std.ema(l,i,this._context)]}}},{name:"EMA Cross",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"},plot_2:{linestyle:0,linewidth:4,plottype:3,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9,in_1:26}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Short",histogramBase:0,joinPoints:!1},plot_1:{title:"Long",histogramBase:0,joinPoints:!1},plot_2:{title:"Crosses",histogramBase:0,joinPoints:!1}},description:"EMA Cross",shortDescription:"EMA Cross",is_price_study:!0,inputs:[{id:"in_0",name:"Short",defval:9,type:"integer",min:1,max:2e3},{id:"in_1",name:"Long",defval:26,type:"integer",min:1,max:2e3}],id:"EMA Cross@tv-basicstudies-1",scriptIdPart:"",name:"EMA Cross",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e?t:r.Std.na()},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.close(this._context),o=this._context.new_var(n),a=r.Std.ema(o,i,this._context),l=this._context.new_var(n),c=r.Std.ema(l,s,this._context),h=a,d=c,u=r.Std.cross(a,c,this._context);return[h,d,this.f_0(u,a)]}}},{name:"Envelopes",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},filledAreasStyle:{fill_0:{color:"#2196F3",transparency:95,visible:!0}},inputs:{in_0:20,in_1:10,in_2:10,in_3:"Simple",in_4:"close"}},plots:[{id:"plot_1",type:"line"},{id:"plot_0",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Average",histogramBase:0,joinPoints:!1},plot_1:{title:"Upper",histogramBase:0,joinPoints:!1},plot_2:{title:"Lower",histogramBase:0,joinPoints:!1}},description:"Envelopes",shortDescription:"Envelopes",is_price_study:!0,filledAreas:[{id:"fill_0",objAId:"plot_1",objBId:"plot_2",type:"plot_plot",title:"Plots Background"}], +inputs:[{id:"in_0",name:"Length",defval:20,type:"integer",min:1,max:2e3},{id:"in_1",name:"Upper Percentage",defval:2,type:"float",min:0},{id:"in_2",name:"Lower Percentage",defval:2,type:"float",min:0},{id:"in_3",name:"Method",type:"text",defval:"Simple",options:["Simple","Exponential","Weighted"]},{id:"in_4",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]}],id:"Envelope@tv-basicstudies-1",scriptIdPart:"",name:"Envelopes",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e*(1+t)},this.f_1=function(e,t){return e*(1-t)},this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_var(r.Std[this._input(4)](this._context)),s=r.Std.sma(i,this._input(0),this._context);return"Exponential"===this._input(3)?s=r.Std.ema(i,this._input(0),this._context):"Weighted"===this._input(3)&&(s=r.Std.wma(i,this._input(0),this._context)),[this.f_0(s,this._input(1)/100),s,this.f_1(s,this._input(2)/100)]}}},{name:"Standard Error",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Standard Error@tv-basicstudies-1",scriptIdPart:"",name:"Standard Error",description:"Standard Error",shortDescription:"Standard Error",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF6D00"}},inputs:{length:14}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"length",type:"integer",name:"Length",min:3}],format:{precision:2,type:"price"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0)},this.main=function(e,t){this._context=e,this._input=t;for(var i,s,n=this._context.new_var(r.Std.close(this._context)),o=0,a=0,l=0;l0?1:3,i=r.Std.change(this._context.new_var(e));return t-(r.Std.le(i,0)?0:1)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std[this._input(2)](this._context),s=this._input(0),n=this._input(1),o=this._input(3);this._context.setMinimumAdditionalDepth(Math.max(s,n)+o);var a=this._context.new_var(i),l=r.Std.ema(a,s,this._context),c=this._context.new_var(i),h=r.Std.ema(c,n,this._context),d=this.f_0(l,h),u=this._context.new_var(d),p=r.Std.ema(u,o,this._context),_=this.f_0(d,p);return[_,d,p,this.f_1(_)]}}},{name:"Moving Average Exponential",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},inputs:{length:9, +source:"close",offset:0,smoothingLine:"SMA",smoothingLength:9}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"Moving Average Exponential",shortDescription:"EMA",is_price_study:!0,inputs:[{id:"length",name:"Length",defval:9,type:"integer",min:1,max:1e4},{id:"source",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]},{id:"offset",name:"Offset",defval:0,type:"integer",min:-1e4,max:1e4},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:9,type:"integer",min:1,max:1e4}],id:"Moving Average Exponential@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Exponential",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std[this._input(1)](this._context),s=this._input(0),n=this._input(2),o=this._input(3),a=this._input(4);this._context.setMinimumAdditionalDepth(s+a);var l,c=this._context.new_var(i),h=r.Std.ema(c,s,this._context),d=this._context.new_var(h);return"EMA"===o?l=r.Std.ema(d,a,this._context):"WMA"===o?l=r.Std.wma(d,a,this._context):"SMA"===o&&(l=r.Std.sma(d,a,this._context)),[{value:h,offset:n},{value:l,offset:n}]}}},{name:"Moving Average Weighted",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9,in_1:"close",in_2:0}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Moving Average Weighted",shortDescription:"WMA",is_price_study:!0,inputs:[{id:"in_0",name:"Length",defval:9,type:"integer",min:1,max:2e3},{id:"in_1",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]},{id:"in_2",name:"Offset",defval:0,type:"integer",min:-1e4,max:1e4}],id:"Moving Average Weighted@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Weighted",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std[this._input(1)](this._context),s=this._input(0),n=this._input(2),o=this._context.new_var(i);return[{value:r.Std.wma(o,s,this._context),offset:n}]}}},{name:"Moving Average Double",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"Moving Average Double@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Double",description:"Moving Average Double",shortDescription:"Moving Average Double",is_price_study:!0,plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF6D00"},plot_1:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{firstPeriods:14,secondPeriods:21, +method:"Simple"}},styles:{plot_0:{title:"Plot 1"},plot_1:{title:"Plot 2"}},inputs:[{id:"firstPeriods",name:"1st Period",type:"integer",defval:14,min:1,max:1e4},{id:"secondPeriods",name:"2nd Period",type:"integer",defval:21,min:1,max:1e4},{id:"method",name:"Method",type:"text",defval:"Simple",options:["Simple","Exponential","Weighted"]}],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i,s,n=this._context.new_var(r.Std.close(this._context));return"Exponential"===this._input(2)?(i=r.Std.ema(n,this._input(0),this._context),s=r.Std.ema(n,this._input(1),this._context)):"Weighted"===this._input(2)?(i=r.Std.wma(n,this._input(0),this._context),s=r.Std.wma(n,this._input(1),this._context)):(i=r.Std.sma(n,this._input(0),this._context),s=r.Std.sma(n,this._input(1),this._context)),[i,s]}}},{name:"Moving Average Triple",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Moving Average Triple@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Triple",description:"Moving Average Triple",shortDescription:"Moving Average Triple",plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,transparency:0,trackPrice:!1,color:"#FF6D00"},plot_1:{linestyle:0,visible:!0,linewidth:1,transparency:0,plottype:0,trackPrice:!1,color:"#2196F3"},plot_2:{linestyle:0,visible:!0,linewidth:1,transparency:0,plottype:0,trackPrice:!1,color:"#26C6DA"}},inputs:{firstPeriods:14,secondPeriods:21,thirdPeriods:35,method:"Simple"}},styles:{plot_0:{title:"Plot 1"},plot_1:{title:"Plot 2"},plot_2:{title:"Plot 3"}},inputs:[{id:"firstPeriods",name:"1st Period",type:"integer",defval:14,min:1,max:1e4},{id:"secondPeriods",name:"2nd Period",type:"integer",defval:21,min:1,max:1e4},{id:"thirdPeriods",name:"3rd Period",type:"integer",defval:35,min:1,max:1e4},{id:"method",name:"Method",type:"text",defval:"Simple",options:["Simple","Exponential","Weighted"]}],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i,s,n,o=this._context.new_var(r.Std.close(this._context));return"Exponential"===this._input(3)?(i=r.Std.ema(o,this._input(0),this._context),s=r.Std.ema(o,this._input(1),this._context),n=r.Std.ema(o,this._input(2),this._context)):"Weighted"===this._input(3)?(i=r.Std.wma(o,this._input(0),this._context),s=r.Std.wma(o,this._input(1),this._context),n=r.Std.wma(o,this._input(2),this._context)):(i=r.Std.sma(o,this._input(0),this._context),s=r.Std.sma(o,this._input(1),this._context),n=r.Std.sma(o,this._input(2),this._context)),[i,s,n]}}},{name:"Moving Average Adaptive",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Moving Average Adaptive@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Adaptive",description:"Moving Average Adaptive",shortDescription:"Moving Average Adaptive",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0, +visible:!0,linewidth:1,plottype:0,transparency:0,trackPrice:!1,color:"#AB47BC"}},inputs:{periods:10}},styles:{plot_0:{title:"Plot 1"}},inputs:[{id:"periods",name:"Period",type:"integer",defval:10,min:2,max:1e4}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.periods=this._input(0)},this.ama=function(e,t){var i=this.periods,s=this._context.new_var(),n=e.get(),o=r.Std.stdev(t,i,this._context),a=r.Std.log(n/e.get(i))/(o*Math.sqrt(i)),l=.1*Math.abs(a),c=(n-s.get(1))*l+s.get(1);return s.set(isNaN(c)?n:c),c},this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_var(r.Std.close(this._context)),s=this._context.new_var(r.Std.log(i.get()/i.get(1)));return[this.ama(i,s)]}}},{name:"Moving Average Hamming",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Moving Average Hamming@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Hamming",description:"Moving Average Hamming",shortDescription:"Moving Average Hamming",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,transparency:0,trackPrice:!1,color:"#4CAF50"}},inputs:{periods:10}},styles:{plot_0:{title:"Plot 1"}},inputs:[{id:"periods",name:"Period",type:"integer",defval:10,min:1,max:1e4}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.periods=this._input(0);for(var i=[],s=0,r=1;r<=this.periods;++r){var n=Math.sin((1+r)/this.periods*Math.PI/2);i.unshift(n),s+=n}this.hmaFactors=i,this.hmaFactorsSum=s},this.hma=function(e){for(var t=this.periods,i=0,s=0;sthis._context.new_var(s).get(1)?1:0,[100*r.Std.sma(this._context.new_var(i),this.rollingPeriod,this._context)]}}},{name:"Net Volume",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Net Volume", +shortDescription:"Net Volume",is_price_study:!1,inputs:[],id:"Net Volume@tv-basicstudies-1",scriptIdPart:"",name:"Net Volume",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i){return r.Std.gt(e,0)?t:r.Std.lt(i,0)?-t:0*t},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._context.new_var(i),n=r.Std.change(s);return[this.f_0(n,r.Std.volume(this._context),n)]}}},{name:"On Balance Volume",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},inputs:{smoothingLine:"SMA",smoothingLength:9}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"On Balance Volume",shortDescription:"OBV",is_price_study:!1,inputs:[{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:9,type:"integer",min:1,max:1e4}],id:"On Balance Volume@tv-basicstudies-1",scriptIdPart:"",name:"On Balance Volume",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i){return r.Std.gt(e,0)?t:r.Std.lt(i,0)?-t:0*t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.close(this._context),o=this._context.new_var(n),a=r.Std.change(o),l=this.f_0(a,r.Std.volume(this._context),a),c=r.Std.cum(l,this._context);this._context.setMinimumAdditionalDepth(s);var h,d=this._context.new_var(c);return"EMA"===i?h=r.Std.ema(d,s,this._context):"WMA"===i?h=r.Std.wma(d,s,this._context):"SMA"===i&&(h=r.Std.sma(d,s,this._context)),[c,h]}}},{name:"Parabolic SAR",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:3,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:.02,in_1:.02,in_2:.2}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Parabolic SAR",shortDescription:"SAR",is_price_study:!0,inputs:[{id:"in_0",name:"start",defval:.02,type:"float",min:-1e12,max:1e12},{id:"in_1",name:"increment",defval:.02,type:"float",min:-1e12,max:1e12},{id:"in_2",name:"maximum",defval:.2,type:"float",min:-1e12,max:1e12}],id:"Parabolic SAR@tv-basicstudies-1",scriptIdPart:"",name:"Parabolic SAR",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);return[r.Std.sar(i,s,n,this._context)]}}},{name:"Price Channel",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#F50057"},plot_1:{linestyle:0,linewidth:1, +plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#F50057"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:20,in_1:0}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Highprice Line",histogramBase:0,joinPoints:!1},plot_1:{title:"Lowprice Line",histogramBase:0,joinPoints:!1},plot_2:{title:"Centerprice Line",histogramBase:0,joinPoints:!1}},description:"Price Channel",shortDescription:"PC",is_price_study:!0,inputs:[{id:"in_0",name:"Length",defval:20,type:"integer",min:1,max:2e3},{id:"in_1",name:"Offset Length",defval:0,type:"integer",min:1,max:2e3}],id:"Price Channel@tv-basicstudies-1",scriptIdPart:"",name:"Price Channel",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.high(this._context),s=this._context.new_var(i),n=r.Std.low(this._context),o=this._context.new_var(n),a=this._input(0),l=this._input(1),c=r.Std.highest(s,a,this._context),h=r.Std.lowest(o,a,this._context);return[{value:c,offset:l},{value:h,offset:l},{value:r.Std.avg(c,h),offset:l}]}}},{name:"Price Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:u}},inputs:{in_0:10,in_1:21}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Price Oscillator",shortDescription:"PPO",is_price_study:!1,inputs:[{id:"in_0",name:"shortlen",defval:10,type:"integer",min:1,max:2e3},{id:"in_1",name:"longlen",defval:21,type:"integer",min:1,max:2e3}],id:"Price Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Price Oscillator",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(e,t){return(e-t)/t*100},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.sma(l,n,this._context);return[this.f_0(a,c)]}}},{name:"Price Volume Trend",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"PVT",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Price Volume Trend",shortDescription:"PVT",is_price_study:!1,is_hidden_study:!1,id:"price_volume_trend@tv-basicstudies-1",inputs:[],scriptIdPart:"",name:"Price Volume Trend",format:{type:"volume"}},constructor:function(){this.f_0=function(){var e=this._context.new_var(r.Std.close(this._context));return[r.Std.cum(r.Std.change(e)/e.get(1)*r.Std.volume(this._context),this._context)]},this.main=function(e,t){return this._context=e,this._input=t,[this.f_0()[0]]}}},{name:"Rate Of Change",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{ +styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"ROC",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Rate Of Change",shortDescription:"ROC",is_price_study:!1,bands:[{id:"hline_0",name:"Zero Line",isHidden:!1}],inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:1e12}],id:"rate_of_change@tv-basicstudies-1",scriptIdPart:"",name:"Rate Of Change",format:{precision:2,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_var(r.Std.close(this._context)),s=this._input(0);return[100*(i.get(0)-i.get(s))/i.get(s)]}}},{name:"Relative Strength Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#7E57C2"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:70},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:30}],filledAreasStyle:{fill_0:{color:"#7E57C2",transparency:90,visible:!0}},inputs:{length:14,smoothingLine:"SMA",smoothingLength:14}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"Relative Strength Index",shortDescription:"RSI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"length",name:"Length",defval:14,type:"integer",min:1,max:2e3},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:14,type:"integer",min:1,max:1e4}],id:"Relative Strength Index@tv-basicstudies-1",scriptIdPart:"",name:"Relative Strength Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e){return r.Std.max(e,0)},this.f_1=function(e){return-r.Std.min(e,0)},this.f_2=function(e,t){return r.Std.eq(e,0)?100:r.Std.eq(t,0)?0:100-100/(1+t/e)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._input(2);this._context.setMinimumAdditionalDepth(s+o);var a,l=this._context.new_var(i),c=r.Std.change(l),h=this.f_0(c),d=this._context.new_var(h),u=r.Std.rma(d,s,this._context),p=this.f_1(c),_=this._context.new_var(p),m=r.Std.rma(_,s,this._context),g=this.f_2(m,u),f=this._context.new_var(g);return"EMA"===n?a=r.Std.ema(f,o,this._context):"WMA"===n?a=r.Std.wma(f,o,this._context):"SMA"===n&&(a=r.Std.sma(f,o,this._context)),[{value:g},{value:a}]}}},{name:"Relative Vigor Index",metainfo:{_metainfoVersion:52,isTVScript:!1, +isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:u},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"RVGI",histogramBase:0,joinPoints:!1},plot_1:{title:"Signal",histogramBase:0,joinPoints:!1}},description:"Relative Vigor Index",shortDescription:"RVGI",is_price_study:!1,inputs:[{id:"in_0",name:"Length",defval:10,type:"integer",min:1,max:2e3}],id:"Relative Vigor Index@tv-basicstudies-1",scriptIdPart:"",name:"Relative Vigor Index",format:{precision:4,type:"price"}},constructor:function(){this.f_0=function(e,t){return e-t},this.f_1=function(e,t){return e/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this.f_0(r.Std.close(this._context),r.Std.open(this._context)),n=this._context.new_var(s),o=r.Std.swma(n,this._context),a=this._context.new_var(o),l=r.Std.sum(a,i,this._context),c=this.f_0(r.Std.high(this._context),r.Std.low(this._context)),h=this._context.new_var(c),d=r.Std.swma(h,this._context),u=this._context.new_var(d),p=r.Std.sum(u,i,this._context),_=this.f_1(l,p),m=this._context.new_var(_);return[_,r.Std.swma(m,this._context)]}}},{name:"Relative Volatility Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#7E57C2"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:80},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:20}],filledAreasStyle:{fill_0:{color:"#7E57C2",transparency:90,visible:!0}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Relative Volatility Index",shortDescription:"RVI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:10,type:"integer",min:1,max:2e3}],id:"Relative Volatility Index@tv-basicstudies-1",scriptIdPart:"",name:"Relative Volatility Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return r.Std.le(e,0)?0:t},this.f_1=function(e,t){return r.Std.gt(e,0)?0:t},this.f_2=function(e,t){return e/(e+t)*100},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);this._context.setMinimumAdditionalDepth(i+12);var s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.stdev(n,i,this._context),a=this._context.new_var(s),l=r.Std.change(a),c=this.f_0(l,o),h=this._context.new_var(c),d=r.Std.ema(h,14,this._context),u=this.f_1(l,o),p=this._context.new_var(u),_=r.Std.ema(p,14,this._context);return[this.f_2(d,_)]}}},{name:"SMI Ergodic Indicator/Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{ +styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_2:{linestyle:0,linewidth:1,plottype:1,trackPrice:!1,transparency:0,visible:!0,color:c}},inputs:{in_0:5,in_1:20,in_2:5}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Indicator",histogramBase:0,joinPoints:!1},plot_1:{title:"Signal",histogramBase:0,joinPoints:!1},plot_2:{title:"Oscillator",histogramBase:0,joinPoints:!1}},description:"SMI Ergodic Indicator/Oscillator",shortDescription:"SMIIO",is_price_study:!1,inputs:[{id:"in_0",name:"shortlen",defval:5,type:"integer",min:1,max:2e3},{id:"in_1",name:"longlen",defval:20,type:"integer",min:1,max:2e3},{id:"in_2",name:"siglen",defval:5,type:"integer",min:1,max:2e3}],id:"SMI Ergodic Indicator/Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"SMI Ergodic Indicator/Oscillator",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e-t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(i+s+n);var o=r.Std.close(this._context),a=this._context.new_var(o),l=r.Std.tsi(a,i,s,this._context),c=this._context.new_var(l),h=r.Std.ema(c,n,this._context);return[l,h,this.f_0(l,h)]}}},{name:"Smoothed Moving Average",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#673AB7"}},inputs:{in_0:7,in_1:"close"}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Smoothed Moving Average",shortDescription:"SMMA",is_price_study:!0,inputs:[{id:"in_0",name:"Length",defval:7,type:"integer",min:1,max:1e12},{id:"in_1",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]}],id:"smoothed_moving_average@tv-basicstudies-1",scriptIdPart:"",name:"Smoothed Moving Average",format:{type:"inherit"}},constructor:function(){this.f_0=function(){var e=this._input(0),t=r.Std[this._input(1)](this._context);return[r.Std.smma(t,e,this._context)]},this.main=function(e,t){return this._context=e,this._input=t,this.f_0()}}},{name:"Standard Deviation",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"Standard Deviation@tv-basicstudies-1",scriptIdPart:"",name:"Standard Deviation",description:"Standard Deviation",shortDescription:"Standard Deviation",is_price_study:!1,plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:u}},inputs:{periods:5,deviations:1}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",name:"Periods",type:"integer"},{id:"deviations",name:"Deviations",type:"float"}],format:{precision:2,type:"price"}},constructor:function(){this.main=function(e,t){ +this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._context.new_var(r.Std.close(this._context));return[r.Std.stdev(n,i,this._context)*s]}}},{name:"Stochastic",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:80},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:20}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:14,in_1:1,in_2:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"%K",histogramBase:0,joinPoints:!1},plot_1:{title:"%D",histogramBase:0,joinPoints:!1}},description:"Stochastic",shortDescription:"Stoch",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"K",defval:14,type:"integer",min:1,max:1e4},{id:"in_1",name:"D",defval:1,type:"integer",min:1,max:1e4},{id:"in_2",name:"smooth",defval:3,type:"integer",min:1,max:1e4}],id:"Stochastic@tv-basicstudies-1",scriptIdPart:"",name:"Stochastic",format:{precision:2,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(i+s+n);var o=r.Std.close(this._context),a=r.Std.high(this._context),l=r.Std.low(this._context),c=this._context.new_var(o),h=this._context.new_var(a),d=this._context.new_var(l),u=r.Std.stoch(c,h,d,i,this._context),p=this._context.new_var(u),_=r.Std.sma(p,s,this._context),m=this._context.new_var(_);return[_,r.Std.sma(m,n,this._context)]}}},{name:"Stochastic RSI",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:80},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:20}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:14,in_1:14,in_2:3,in_3:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"%K",histogramBase:0,joinPoints:!1},plot_1:{title:"%D",histogramBase:0,joinPoints:!1}},description:"Stochastic RSI",shortDescription:"Stoch RSI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"lengthRSI",defval:14,type:"integer",min:1,max:1e4},{id:"in_1",name:"lengthStoch",defval:14,type:"integer",min:1, +max:1e4},{id:"in_2",name:"smoothK",defval:3,type:"integer",min:1,max:1e4},{id:"in_3",name:"smoothD",defval:3,type:"integer",min:1,max:1e4}],id:"Stochastic RSI@tv-basicstudies-1",scriptIdPart:"",name:"Stochastic RSI",format:{precision:2,type:"price"}},constructor:function(){this.f_1=function(e,t,i){var s=i.new_var(r.Std.max(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.f_2=function(e,t,i){var s=i.new_var(-r.Std.min(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._input(2),a=this._input(3);e.setMinimumAdditionalDepth(s+n+o+a);var l=this._context.new_var(i),c=r.Std.rsi(this.f_1(l,s,this._context),this.f_2(l,s,this._context)),h=this._context.new_var(c),d=this._context.new_var(c),u=this._context.new_var(c),p=r.Std.stoch(h,d,u,n,this._context),_=this._context.new_var(p),m=r.Std.sma(_,o,this._context),g=this._context.new_var(m);return[m,r.Std.sma(g,a,this._context)]}}},{name:"TRIX",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:18}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"TRIX",histogramBase:0,joinPoints:!1}},description:"TRIX",shortDescription:"TRIX",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"length",defval:18,type:"integer",min:1,max:2e3}],id:"TRIX@tv-basicstudies-1",scriptIdPart:"",name:"TRIX",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e){return r.Std.log(e)},this.f_1=function(e){return 1e4*e},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);e.setMinimumAdditionalDepth(3*i);var s=this.f_0(r.Std.close(this._context)),n=this._context.new_var(s),o=r.Std.ema(n,i,this._context),a=this._context.new_var(o),l=r.Std.ema(a,i,this._context),c=this._context.new_var(l),h=r.Std.ema(c,i,this._context),d=this._context.new_var(h),u=r.Std.change(d);return[this.f_1(u)]}}},{name:"Triple EMA",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Triple EMA",shortDescription:"TEMA",is_price_study:!0,inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:1e4}],id:"Triple EMA@tv-basicstudies-1",scriptIdPart:"",name:"Triple EMA",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t,i){return 3*(e-t)+i},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);this._context.setMinimumAdditionalDepth(3*i) +;var s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.ema(n,i,this._context),a=this._context.new_var(o),l=r.Std.ema(a,i,this._context),c=this._context.new_var(l),h=r.Std.ema(c,i,this._context);return[this.f_0(o,l,h)]}}},{name:"True Strength Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:25,in_1:13,in_2:13}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"True Strength Index",histogramBase:0,joinPoints:!1},plot_1:{title:"Signal",histogramBase:0,joinPoints:!1}},description:"True Strength Index",shortDescription:"True Strength Index",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"long",defval:25,type:"integer",min:1,max:4999},{id:"in_1",name:"short",defval:13,type:"integer",min:1,max:4999},{id:"in_2",name:"siglen",defval:13,type:"integer",min:1,max:4999}],id:"True Strength Indicator@tv-basicstudies-1",scriptIdPart:"",name:"True Strength Index",format:{precision:4,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(this._input(0)+this._input(1)+this._input(2));var o=r.Std.close(this._context),a=this._context.new_var(o),l=r.Std.tsi(a,s,i,this._context),c=this._context.new_var(l);return[l,r.Std.ema(c,n,this._context)]}}},{name:"Trend Strength Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Trend Strength Index@tv-basicstudies-1",scriptIdPart:"",name:"Trend Strength Index",description:"Trend Strength Index",shortDescription:"Trend Strength Index",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:c}},inputs:{periods:14}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",type:"integer",name:"Periods"}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.invertedPeriod=1/this.period,this.sumX=(this.period-1)*this.period/2,this.sumXX=(this.period-1)*this.period*(2*this.period-1)/6,this.invertedPeriodSumXSumX=this.invertedPeriod*this.sumX*this.sumX},this.trendStrengthIndex=function(){for(var e=this._context.new_var(r.Std.close(this._context)),t=r.Std.sum(e,this.period,this._context),i=0,s=0,n=0;n0?1:-1:a/(l=Math.sqrt(l))},this.main=function(e,t){return this._context=e,this._input=t,[this.trendStrengthIndex()]}}},{name:"Typical Price",metainfo:{ +_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"TypicalPrice@tv-basicstudies-1",scriptIdPart:"",name:"Typical Price",description:"Typical Price",shortDescription:"Typical Price",is_price_study:!0,plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF6D00"}},inputs:{}},styles:{plot_0:{title:"Plot"}},inputs:[],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){return this._context=e,this._input=t,[r.Std.hlc3(this._context)]}}},{name:"Ultimate Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},inputs:{in_0:7,in_1:14,in_2:28}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"UO",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Ultimate Oscillator",shortDescription:"UO",is_price_study:!1,inputs:[{id:"in_0",name:"length7",defval:7,type:"integer",min:1,max:1e12},{id:"in_1",name:"length14",defval:14,type:"integer",min:1,max:1e12},{id:"in_2",name:"length28",defval:28,type:"integer",min:1,max:1e12}],id:"ultimate_oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Ultimate Oscillator",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i){var s=this._context.new_var(e),n=this._context.new_var(t);return[r.Std.sum(s,i,this._context)/r.Std.sum(n,i,this._context)]},this.f_1=function(){var e=this._input(0),t=this._input(1),i=this._input(2),s=this._context.new_var(r.Std.close(this._context)),n=r.Std.max(r.Std.high(this._context),s.get(1)),o=this._context.new_var(r.Std.close(this._context)),a=r.Std.min(r.Std.low(this._context),o.get(1)),l=r.Std.close(this._context)-a,c=n-a,h=this.f_0(l,c,e),d=this.f_0(l,c,t),u=this.f_0(l,c,i);return[100*(4*h[0]+2*d[0]+u[0])/7]},this.main=function(e,t){return this._context=e,this._input=t,this.f_1()}}},{name:"Volatility Close-to-Close",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Volatility Close-to-Close@tv-basicstudies-1",scriptIdPart:"",name:"Volatility Close-to-Close",description:"Volatility Close-to-Close",shortDescription:"Volatility Close-to-Close",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{periods:10,daysPerYear:252}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",name:"Periods",type:"integer",defval:10,min:2},{id:"daysPerYear",name:"Days Per Year",type:"integer",defval:252,min:1,max:366}],format:{precision:2,type:"percent"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.daysPerYear=this._input(1)},this.stdev=function(e,t,i){var s=this.variance(e,t,i);return r.Std.sqrt(s)},this.variance=function(e,t,i){var s=r.Std.sma(e,t,i);return this.variance2(e,s,t)},this.variance2=function(e,t,i){var s,r,n=0 +;for(s=0;s0&&(l=.12*this.square(e.get()-s.get(1))/this.marketClosedPercentage+.88*l/(1-this.marketClosedPercentage)),l/=a,l*=this.secondsPerYear;var c=this._context.new_var(l);return 100*Math.sqrt(r.Std.sum(c,this.period,this._context)/this.period)},this.main=function(e,t){return this._context=e,this._input=t,[this.volatilityOHLC()]}}},{name:"Volatility Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Volatility Index@tv-basicstudies-1",scriptIdPart:"",name:"Volatility Index",description:"Volatility Index",shortDescription:"Volatility Index",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:c}},inputs:{periods:10,atrMult:3,method:"Wilder Smoothing"}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",name:"Periods",type:"integer"},{id:"atrMult",name:"ATR Mult",type:"float"},{id:"method",name:"Method",type:"text",defval:"Exponential",options:["Exponential","Wilder Smoothing"]}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.atrMult=this._input(1),this.maMethod=this._input(2),this.nextsar=null,this.position=null,this.sic=null,this.bars=[],this.count=0,this.lastSar=null,this._context.setMinimumAdditionalDepth("Exponential"===this.maMethod?2*this.period+2:this.period)},this.computeATR=function(){var e=r.Std.high(this._context)-r.Std.low(this._context),t=r.Std.high(this._context)-this.bars[this.bars.length-2],i=this.bars[this.bars.length-2]-r.Std.low(this._context);return this.tr=Math.max(e,t,i),"Exponential"===this.maMethod?this.atr=r.Std.ema(this._context.new_var(this.tr),this.period,this._context):this.atr=this.tr/this.period+(1-1/this.period)*this.atr,this.atr*this.atrMult},this.calculateVolatility=function(){if(r.Std.close(this._context)===this.bars[this.bars.length-1])return this.lastSar;if(this.bars.push(r.Std.close(this._context)),1===this.count)this.atr=r.Std.high(this._context)-r.Std.low(this._context),this.sic=r.Std.close(this._context);else if(this.countthis.sic&&(this.sic=r.Std.close(this._context))}else if(this.count===this.period){e=r.Std.high(this._context)-r.Std.low(this._context),t=r.Std.high(this._context)-this.bars[this.bars.length-2], +i=this.bars[this.bars.length-2]-r.Std.low(this._context);this.atr+=Math.max(e,t,i),this.atr*=1/this.period,r.Std.close(this._context)>this.sic&&(this.sic=r.Std.close(this._context)),this.position="LONG",this.nextsar=this.sic-this.atr*this.atrMult}else{var s=this.nextsar;"LONG"===this.position?r.Std.close(this._context)s?(this.position="LONG",this.sic=r.Std.close(this._context),this.nextsar=this.sic-this.computeATR()):(this.position="SHORT",this.sic=Math.min(r.Std.close(this._context),this.sic),this.nextsar=this.sic+this.computeATR())),this.lastSar=s}return this.count++,s},this.main=function(e,t){return this._context=e,this._input=t,this._context.select_sym(0),[this.calculateVolatility()]}}},{name:"VWAP",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:0,transparency:0,visible:!0,color:"#2196F3"}}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"VWAP",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"VWAP",shortDescription:"VWAP",is_price_study:!0,inputs:[],id:"VWAP@tv-basicstudies-1",scriptIdPart:"",name:"VWAP",format:{type:"inherit"}},constructor:function(){this.f_1=function(e){e.hist=null,e.add_hist()},this.init=function(e,t){this._isNewSession=null},this.main=function(e,t){this._context=e,this._input=t;var i=e.new_var(),s=e.new_var(),n=this._context.symbol.time;return n&&(null===this._isNewSession&&(this._isNewSession=r.Std.createNewSessionCheck(e)),this._isNewSession(n)&&(this.f_1(i),this.f_1(s))),i.set(r.Std.nz(i.get(1))+r.Std.hlc3(this._context)*r.Std.volume(this._context)),s.set(r.Std.nz(s.get(1))+r.Std.volume(this._context)),[i.get(0)/s.get(0)]}}},{name:"VWMA",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:20}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"VWMA",shortDescription:"VWMA",is_price_study:!0,inputs:[{id:"in_0",name:"len",defval:20,type:"integer",min:1,max:1e4}],id:"VWMA@tv-basicstudies-1",scriptIdPart:"",name:"VWMA",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._context.new_var(i);return[r.Std.vwma(n,s,this._context)]}}},{name:"Volume Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:5,in_1:10}},plots:[{id:"plot_0",type:"line"}],styles:{ +plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Volume Oscillator",shortDescription:"Volume Osc",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"shortlen",defval:5,type:"integer",min:1,max:4999},{id:"in_1",name:"longlen",defval:10,type:"integer",min:1,max:4999}],id:"Volume Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Volume Oscillator",format:{precision:2,type:"percent"}},constructor:function(){this.f_0=function(e,t){return 100*(e-t)/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.volume(this._context),o=this._context.new_var(n),a=r.Std.ema(o,i,this._context),l=this._context.new_var(n),c=r.Std.ema(l,s,this._context);return[this.f_0(a,c)]}}},{name:"Vortex Indicator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"VI +",histogramBase:0,joinPoints:!1,isHidden:!1},plot_1:{title:"VI -",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Vortex Indicator",shortDescription:"VI",is_price_study:!1,is_hidden_study:!1,id:"vortex_indicator@tv-basicstudies-1",inputs:[{id:"in_0",name:"Period",defval:14,type:"integer",min:2,max:1e12}],scriptIdPart:"",name:"Vortex Indicator",format:{precision:4,type:"price"}},constructor:function(){this.f_0=function(){var e=this._input(0),t=this._context.new_var(r.Std.low(this._context)),i=this._context.new_var(r.Std.abs(r.Std.high(this._context)-t.get(1))),s=r.Std.sum(i,e,this._context),n=this._context.new_var(r.Std.high(this._context)),o=this._context.new_var(r.Std.abs(r.Std.low(this._context)-n.get(1))),a=r.Std.sum(o,e,this._context),l=this._context.new_var(r.Std.atr(1,this._context)),c=r.Std.sum(l,e,this._context);return[s/c,a/c]},this.main=function(e,t){return this._context=e,this._input=t,this.f_0()}}},{name:"Willams %R",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#7E57C2"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:-20},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:-80}],filledAreasStyle:{fill_0:{color:"#7E57C2",transparency:90,visible:!0}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Williams %R",shortDescription:"%R",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Willams %R@tv-basicstudies-1",scriptIdPart:"",name:"Willams %R",format:{precision:2,type:"price"}}, +constructor:function(){this.f_0=function(e,t,i){return 100*(e-t)/(t-i)},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.high(this._context),n=this._context.new_var(s),o=r.Std.highest(n,i,this._context),a=r.Std.low(this._context),l=this._context.new_var(a),c=r.Std.lowest(l,i,this._context);return[this.f_0(r.Std.close(this._context),o,c)]}}},{name:"Williams Alligator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#66BB6A"}},inputs:{in_0:21,in_1:13,in_2:8,in_3:8,in_4:5,in_5:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Jaw",histogramBase:0,joinPoints:!1},plot_1:{title:"Teeth",histogramBase:0,joinPoints:!1},plot_2:{title:"Lips",histogramBase:0,joinPoints:!1}},description:"Williams Alligator",shortDescription:"Alligator",is_price_study:!0,inputs:[{id:"in_0",name:"Jaw Length",defval:21,type:"integer",min:1,max:2e3},{id:"in_1",name:"Teeth Length",defval:13,type:"integer",min:1,max:2e3},{id:"in_2",name:"Lips Length",defval:8,type:"integer",min:1,max:2e3},{id:"in_3",name:"Jaw Offset",defval:8,type:"integer",min:1,max:2e3},{id:"in_4",name:"Teeth Offset",defval:5,type:"integer",min:1,max:2e3},{id:"in_5",name:"Lips Offset",defval:3,type:"integer",min:1,max:2e3}],id:"Williams Alligator@tv-basicstudies-1",scriptIdPart:"",name:"Williams Alligator",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2),o=this._input(3),a=this._input(4),l=this._input(5),c=r.Std.hl2(this._context);return[{value:r.Std.smma(c,i,this._context),offset:o},{value:r.Std.smma(c,s,this._context),offset:a},{value:r.Std.smma(c,n,this._context),offset:l}]}}},{name:"Williams Fractals",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{plottype:"shape_triangle_down",visible:!0,location:"BelowBar",transparency:0,color:a},plot_1:{plottype:"shape_triangle_up",visible:!0,location:"AboveBar",transparency:0,color:u}},inputs:{in_0:2}},plots:[{id:"plot_0",type:"shapes"},{id:"plot_1",type:"shapes"}],styles:{plot_0:{title:"Down fractals",isHidden:!1},plot_1:{title:"Up fractals",isHidden:!1}},description:"Williams Fractal",shortDescription:"Fractals",is_price_study:!0,is_hidden_study:!1,id:"Williams Fractals@tv-basicstudies-1",inputs:[{id:"in_0",name:"Periods",defval:2,type:"integer",min:2,max:1e12}],scriptIdPart:"",name:"Williams Fractals",isCustomIndicator:!0,format:{type:"inherit"}},constructor:function(){this.f_0=function(){for(var e=this._input(0),t=this._context.new_var(r.Std.high(this._context)),i=!0,s=!0,n=!0,o=!0,a=!0,l=!0,c=1;c<=e;c++)i=r.Std.and(i,r.Std.lt(t.get(e-c),t.get(e))), +s=r.Std.and(s,r.Std.lt(t.get(e+c),t.get(e))),n=r.Std.and(n,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.lt(t.get(e+c+1),t.get(e)))),o=r.Std.and(o,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.and(r.Std.le(t.get(e+2),t.get(e)),r.Std.lt(t.get(e+c+2),t.get(e))))),a=r.Std.and(a,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.and(r.Std.le(t.get(e+2),t.get(e)),r.Std.and(r.Std.le(t.get(e+3),t.get(e)),r.Std.lt(t.get(e+c+3),t.get(e)))))),l=r.Std.and(l,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.and(r.Std.le(t.get(e+2),t.get(e)),r.Std.and(r.Std.le(t.get(e+3),t.get(e)),r.Std.and(r.Std.le(t.get(e+4),t.get(e)),r.Std.lt(t.get(e+c+4),t.get(e)))))));var h=r.Std.or(s,r.Std.or(n,r.Std.or(o,r.Std.or(a,l)))),d=r.Std.and(i,h),u=this._context.new_var(r.Std.low(this._context)),p=1,_=1,m=1,g=1,f=1,v=1;for(c=1;c<=e;c++)p=r.Std.and(p,r.Std.gt(u.get(e-c),u.get(e))),_=r.Std.and(_,r.Std.gt(u.get(e+c),u.get(e))),m=r.Std.and(m,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.gt(u.get(e+c+1),u.get(e)))),g=r.Std.and(g,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.and(r.Std.ge(u.get(e+2),u.get(e)),r.Std.gt(u.get(e+c+2),u.get(e))))),f=r.Std.and(f,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.and(r.Std.ge(u.get(e+2),u.get(e)),r.Std.and(r.Std.ge(u.get(e+3),u.get(e)),r.Std.gt(u.get(e+c+3),u.get(e)))))),v=r.Std.and(v,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.and(r.Std.ge(u.get(e+2),u.get(e)),r.Std.and(r.Std.ge(u.get(e+3),u.get(e)),r.Std.and(r.Std.ge(u.get(e+4),u.get(e)),r.Std.gt(u.get(e+c+4),u.get(e)))))));var S=r.Std.or(_,r.Std.or(m,r.Std.or(g,r.Std.or(f,v))));return[r.Std.and(p,S),d]},this.main=function(e,t){this._context=e,this._input=t;var i=this.f_0();return[{value:i[0],offset:-this._input(0)},{value:i[1],offset:-this._input(0)}]}}},{name:"Guppy Multiple Moving Average",metainfo:{isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,description:"Guppy Multiple Moving Average",shortDescription:"GMMA",is_price_study:!0,id:"Guppy Multiple Moving Average@tv-basicstudies-1",_metainfoVersion:52,format:{type:"inherit"},defaults:{inputs:{traderEMA1Length:3,traderEMA2Length:5,traderEMA3Length:8,traderEMA4Length:10,traderEMA5Length:12,traderEMA6Length:15,investorEMA1Length:30,investorEMA2Length:35,investorEMA3Length:40,investorEMA4Length:45,investorEMA5Length:50,investorEMA6Length:60},styles:{traderEMA1:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:15,visible:!0},traderEMA2:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:12,visible:!0},traderEMA3:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:9,visible:!0},traderEMA4:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:6,visible:!0},traderEMA5:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:3,visible:!0},traderEMA6:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0},investorEMA1:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:15,visible:!0},investorEMA2:{color:"#FF0000",linestyle:0, +linewidth:1,plottype:0,trackPrice:!1,transparency:12,visible:!0},investorEMA3:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:9,visible:!0},investorEMA4:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:6,visible:!0},investorEMA5:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:3,visible:!0},investorEMA6:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0}}},inputs:[{defval:3,id:"traderEMA1Length",max:1e3,min:1,name:"Trader EMA 1 length",type:"integer"},{defval:5,id:"traderEMA2Length",max:1e3,min:1,name:"Trader EMA 2 length",type:"integer"},{defval:8,id:"traderEMA3Length",max:1e3,min:1,name:"Trader EMA 3 length",type:"integer"},{defval:10,id:"traderEMA4Length",max:1e3,min:1,name:"Trader EMA 4 length",type:"integer"},{defval:12,id:"traderEMA5Length",max:1e3,min:1,name:"Trader EMA 5 length",type:"integer"},{defval:15,id:"traderEMA6Length",max:1e3,min:1,name:"Trader EMA 6 length",type:"integer"},{defval:30,id:"investorEMA1Length",max:1e3,min:1,name:"Investor EMA 1 length",type:"integer"},{defval:35,id:"investorEMA2Length",max:1e3,min:1,name:"Investor EMA 2 length",type:"integer"},{defval:40,id:"investorEMA3Length",max:1e3,min:1,name:"Investor EMA 3 length",type:"integer"},{defval:45,id:"investorEMA4Length",max:1e3,min:1,name:"Investor EMA 4 length",type:"integer"},{defval:50,id:"investorEMA5Length",max:1e3,min:1,name:"Investor EMA 5 length",type:"integer"},{defval:60,id:"investorEMA6Length",max:1e3,min:1,name:"Investor EMA 6 length",type:"integer"}],plots:[{id:"traderEMA1",type:"line"},{id:"traderEMA2",type:"line"},{id:"traderEMA3",type:"line"},{id:"traderEMA4",type:"line"},{id:"traderEMA5",type:"line"},{id:"traderEMA6",type:"line"},{id:"investorEMA1",type:"line"},{id:"investorEMA2",type:"line"},{id:"investorEMA3",type:"line"},{id:"investorEMA4",type:"line"},{id:"investorEMA5",type:"line"},{id:"investorEMA6",type:"line"}],styles:{traderEMA1:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 1"},traderEMA2:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 2"},traderEMA3:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 3"},traderEMA4:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 4"},traderEMA5:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 5"},traderEMA6:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 6"},investorEMA1:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 1"},investorEMA2:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 2"},investorEMA3:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 3"},investorEMA4:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 4"},investorEMA5:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 5"},investorEMA6:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 6"}}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t +;var i=this._context.new_var(r.Std.close(this._context)),s=this._input(0),n=this._input(1),o=this._input(2),a=this._input(3),l=this._input(4),c=this._input(5),h=r.Std.ema(i,s,this._context),d=r.Std.ema(i,n,this._context),u=r.Std.ema(i,o,this._context),p=r.Std.ema(i,a,this._context),_=r.Std.ema(i,l,this._context),m=r.Std.ema(i,c,this._context),g=this._input(6),f=this._input(7),v=this._input(8),S=this._input(9),y=this._input(10),b=this._input(11);return[h,d,u,p,_,m,r.Std.ema(i,g,this._context),r.Std.ema(i,f,this._context),r.Std.ema(i,v,this._context),r.Std.ema(i,S,this._context),r.Std.ema(i,y,this._context),r.Std.ema(i,b,this._context)]}}}]},28930:(e,t,i)=>{"use strict";var s;i.d(t,{SubsessionId:()=>s}),function(e){e.Regular="regular",e.Extended="extended",e.PreMarket="premarket",e.PostMarket="postmarket"}(s||(s={}))},64326:(e,t,i)=>{"use strict";i.d(t,{PointsetsManager:()=>n});var s=i(29823);const r=(0,i(98125).getLogger)("ChartApi.PointsetsManager");class n{constructor(){this._pointsetsDataBySymbol=new Map}destroy(){this._pointsetsDataBySymbol.clear()}createPointset(e,t,i,s,n){let o=this._pointsetsDataBySymbol.get(t);void 0===o&&(o=new Map,this._pointsetsDataBySymbol.set(t,o));const a=[];for(const t of s){const[i,s]=t;"number"!=typeof i||Number.isNaN(i)?r.logWarn(`Pointset time is invalid: id=${e}, ${i} of type ${typeof i}`):a.push({point:t,extrapolation:n.extrapolateTimeWithOffsetToTime(1e3*i,s)})}s.length===a.length&&o.set(e,{resolution:i,points:a})}removePointset(e){const t=[];this._pointsetsDataBySymbol.forEach((i,s)=>{i.delete(e),0===i.size&&t.push(s)});for(const e of t)this._pointsetsDataBySymbol.delete(e)}invalidatePointsetsForSymbol(e,t){const i=this._pointsetsDataBySymbol.get(e);void 0!==i&&i.forEach((e,i)=>{if(s.Interval.isEqual(e.resolution,t))for(const t of e.points)null!==t.extrapolation&&t.extrapolation.exact&&(t.extrapolation.exact=!1)})}getUpdatesForSymbol(e,t,i,s){const r=new Map,n=this._pointsetsDataBySymbol.get(e);return void 0!==n&&n.forEach((e,n)=>{const o=this._refreshPointsetData(e,t,i,s);null!==o&&r.set(n,o)}),r}_refreshPointsetData(e,t,i,n){if(s.Interval.isEqual(e.resolution,t))for(let t=0;t ${t}`),null;o.push({index:i,value:[a.index,a.timeMs/1e3]})}return o}}},34972:(e,t,i)=>{"use strict";i.d(t,{SessionTimeScale:()=>v});var s=i(88537),r=i(67337),n=i(10480),o=i(55257),a=i(65862),l=i(2271),c=i(42934);function h(e){return 60*e*60*1e3}function d(e){return 60*e*1e3}const u=[{divisor:1,weight:18},{divisor:(p=1,1e3*p),weight:19},{divisor:d(1),weight:20},{divisor:d(5),weight:21},{divisor:d(30),weight:22},{divisor:h(1),weight:30},{divisor:h(3),weight:31},{divisor:h(6), +weight:32},{divisor:h(12),weight:33}];var p;function _(e,t){if(null!==t){if(e.getUTCFullYear()!==t.getUTCFullYear())return 70;if(e.getUTCMonth()!==t.getUTCMonth())return 60;if(e.getUTCDate()!==t.getUTCDate())return 50;const i=t.getTime(),s=e.getTime();for(let e=u.length-1;e>=0;--e)if(Math.floor(i/u[e].divisor)!==Math.floor(s/u[e].divisor))return u[e].weight}return 18}function m(e,t,i=0){if(0===e.length)return[];let s=i,r=i;const n=[];for(;s=t.length?(n.push({old:s,new:l.INVALID_TIME_POINT_INDEX}),s++):e[s].timeMs===t[r].timeMs?(s!==r&&n.push({old:s,new:r}),s++,r++):e[s].timeMs{if(e.new===t.new&&e.new===l.INVALID_TIME_POINT_INDEX)return e.old-t.old;if(e.new===l.INVALID_TIME_POINT_INDEX)return-1;if(t.new===l.INVALID_TIME_POINT_INDEX)return 1;const i=e.old-e.new,s=t.old-t.new;return i>0?s>0?e.old-t.old:-1:s<0?t.new-e.new:1})}function g(e,t){return{span:e.markWeight,time:e.displayTime,index:t}}const f=r.enabled("end_of_period_timescale_marks");class v{constructor(){this._completed=!0,this._mainSymbolExtrapolator=null,this._pointDataByTimePoint=new Map,this._seriesIds=new Set,this._displayTimezone=null,this._minFutureBarsCount=0,this._sortedTimePoints=[]}destroy(){this.clearTimeScale()}setCompleted(e){this._completed=e}isCompleted(){return this._completed}clearTimeScale(){return this._pointDataByTimePoint.clear(),this._seriesIds.clear(),this._sortedTimePoints=[],{baseIndex:null,pointsIndex:0,indexChange:[],marks:[],points:[]}}indexOfTime(e){if(0===this._sortedTimePoints.length)return null===this._mainSymbolExtrapolator?null:this._mainSymbolExtrapolator.indexOfTime(e);if(ethis._sortedTimePoints[this._sortedTimePoints.length-1].timeMs){if(null===this._mainSymbolExtrapolator)return null;const t=this._mainSymbolExtrapolator.indexOfTime(e),i=this._mainSymbolExtrapolator.indexOfTime(this._sortedTimePoints[this._sortedTimePoints.length-1].timeMs);if(null===t||null===i)return null;const s=t.index-i.index-1;return{index:this._sortedTimePoints.length+s,timeMs:t.timeMs}}let t=(0,o.lowerbound)(this._sortedTimePoints,e,(e,t)=>e.timeMs({timeMs:e,markWeight:0,displayTime:NaN}));this._fillPointsData(i,0,0!==this._sortedTimePoints.length?this._sortedTimePoints[this._sortedTimePoints.length-1].displayTime:null);const r=[];for(let t=e;tg(e,i+t));return r.concat(n)}setTimezone(e){this._displayTimezone="exchange"===e?null:(0,n.get_timezone)(e),this._fillPointsData(this._sortedTimePoints,0)}fillIndexesInRows(e){if(0===e.length)return;let t=-1,i=(0,o.lowerbound)(this._sortedTimePoints,Math.round(1e3*e[0].value[0]),(e,t)=>e.timeMse.timeMs{for(;i=this._sortedTimePoints.length){const t=this.indexOfTime(e);if(null===t)return l.INVALID_TIME_POINT_INDEX;i=t.timeMs!==e?t.index+1:t.index}return(0,s.assert)(i>t,"data must have unique sorted times"),t=i,i})}firstSeriesBarTime(){return 0===this._sortedTimePoints.length?null:this._sortedTimePoints[0].timeMs}replaceSeriesBarsTimesTail(e,t){if(0===t.length)return null;if(!this._seriesIds.has(e))return this.setSeriesBarsTimes(e,t);const i=[],s=(0,o.lowerbound)(this._sortedTimePoints,t[0],(e,t)=>e.timeMs({timeMs:e.timeMs,pointData:e.pointData,markWeight:0,displayTime:NaN}));for(let e=s;ee.timeMs-t.timeMs);const a=this._updateTimeScalePointsTail(n);return this._applyTimeScaleChanges(a,!1)}setSeriesBarsTimes(e,t){let i=0!==this._pointDataByTimePoint.size;if(this._seriesIds.has(e))if(1===this._seriesIds.size)i=!1,this._pointDataByTimePoint.clear();else for(const t of this._sortedTimePoints)t.pointData.series.delete(e);this._addBarsTimesToSeries(e,t,!1);const s=this._seriesIds.size;0===t.length?this._seriesIds.delete(e):this._seriesIds.add(e),i&&this._cleanupPointsData(this._sortedTimePoints);const r=sthis._seriesIds.size,o=r&&2===this._seriesIds.size||n&&1===this._seriesIds.size,a=[] +;this._pointDataByTimePoint.forEach((e,t)=>{a.push({markWeight:0,timeMs:t,displayTime:NaN,pointData:e})}),a.sort((e,t)=>e.timeMs-t.timeMs);const l=this._updateTimeScalePoints(a);return this._applyTimeScaleChanges(l,o)}_updateFutureBars(){if(0===this._minFutureBarsCount||null===this._mainSymbolExtrapolator)return;if(0!==this._sortedTimePoints.length){const e=this._sortedTimePoints[this._sortedTimePoints.length-1].timeMs;this._mainSymbolExtrapolator.ensureExtrapolatedToFutureTime(e)}const e=this._futureBarsFirstPointIndex();this._mainSymbolExtrapolator.setMinFutureBarsCount(e+this._minFutureBarsCount)}_addBarsTimesToSeries(e,t,i){const s=i?[]:null;for(const i of t){const t=this._pointDataByTimePoint.get(i);if(void 0===t){const t=new Set;t.add(e);const r={index:0,series:t};this._pointDataByTimePoint.set(i,r),null!==s&&s.push({timeMs:i,pointData:r})}else t.series.add(e)}return s}_futureBarsFirstPointIndex(){if(null===this._mainSymbolExtrapolator||0===this._sortedTimePoints.length)return 0;const e=this._mainSymbolExtrapolator.futureBars();return(0,o.upperbound_int)(e,this._sortedTimePoints[this._sortedTimePoints.length-1].timeMs)}_futureBars(){return null===this._mainSymbolExtrapolator?[]:this._mainSymbolExtrapolator.futureBars().slice(this._futureBarsFirstPointIndex(),this._futureBarsFirstPointIndex()+1e3)}_cleanupPointsData(e){for(const t of e)0===t.pointData.series.size&&this._pointDataByTimePoint.delete(t.timeMs)}_updateTimeScalePoints(e){let t=-1;for(let i=0;ie.timeMs=this._sortedTimePoints.length)continue;this._sortedTimePoints[n].timeMs!==r.timeMs&&-1===i&&(i=n)}const s=t+e.length;if(i=S(i,this._sortedTimePoints.length,s),-1===i)return null;this._fillPointsData(e,0,0===t||0===this._sortedTimePoints.length?null:this._sortedTimePoints[t-1].displayTime);const r=m(this._sortedTimePoints.slice(t),e).map(e=>({old:e.old+t,new:e.new===l.INVALID_TIME_POINT_INDEX?e.new:e.new+t}));{const i=this._sortedTimePoints;let r=0;for(;t+r1&&null===i){const t=Math.ceil(n/(e.length-1)),i=new Date(1e3*(e[0].displayTime-t));e[0].markWeight=_(new Date(1e3*e[0].displayTime),i)}}(e,t,i)}_applyTimeScaleChanges(e,t){if(null===e)return t?(this._fillPointsData(this._sortedTimePoints,0),{points:[],pointsIndex:0,baseIndex:this._getBaseIndex(),indexChange:[],marks:this.tickMarks(0)}):null;let i=e.pointsIndex;if(0!==i&&t&&(this._fillPointsData(this._sortedTimePoints,0),i=0),0===this._sortedTimePoints.length)return{baseIndex:null,pointsIndex:0,indexChange:[],marks:[],points:[]};const s=[];for(let t=e.pointsIndex;t{"use strict";var s=i(41728),r=i(216),n=i(37750),o=i(66482).SymbolExtrapolator,a=i(34972).SessionTimeScale,l=i(64326).PointsetsManager,c=i(69177),h=i(65862).createDwmAligner,d=i(29823).Interval,u=i(76422),p=i(45415).visitObject,_=i(80643).isObject;i(27595),i(84093);var m=i(41986).DatafeedRequestsCachedProcessor,g=i(39277).timezoneIsAvailable,f=i(65862).isAlignmentEnabled,v=i(19234),S=v.isEncodedExtendedSymbol,y=v.decodeExtendedSymbol,b=i(37667).extractSymbolNameFromSymbolInfo,w=i(79283).replaceGraphicsTimesWithTimePointIndexIndex,C=i(67337),P=i(28930).SubsessionId,T=i(69177).getPeriodsBetweenDates;const x=C.enabled("pre_post_market_sessions");function I(e){var t=e.findIndex((function(e){return-5e6!==e.index}));return-1===t?[]:0===t?e:e.slice(t)}function M(e,t){return e+"_"+t}var L=function(e){var t=this;this._studiesCache={},this._objectsDataCache={},this._studiesNonSeriesTimes={},this._metainfoCache=[],this._barsCoefficientsCache={},this._externalDatafeed=e,e.getVolumeProfileResolutionForPeriod&&r.overwriteVolumeProfileResolutionForPeriodGetter((function(t,i,s,r){return e.getVolumeProfileResolutionForPeriod(t,i,s,r)})),this._datafeedConfiguration=null,this._marketStatusWatchers={},this._resolveRequests={},this._resolvePromisesBySymbolId=new Map,this._symbolIdToSymbolRequestString=new Map,this._callbacks={},this._serverTimeOffset=0, +t._logMessage("Datafeed settings received: {0}".format(JSON.stringify(window.configurationData))),t._datafeedConfiguration=t._adoptConfigurationData(window.configurationData),t._fireEvent("configuration_received"),t._externalDatafeed.getServerTime&&t._externalDatafeed.getServerTime((function(e){t._serverTimeOffset=e-(new Date).valueOf()/1e3})),this._invalidatedPointsetSessions=new Set,this._refreshPointsetsTimerId=null,this._pointsetsManagers={},this._quotesInfo=[],this._depthInfo=[],this._endOfData={},this._computeStudyCounter=0,this._symbolExtrapolators={},this._timeScales={},this._cachedDatafeed=new m(e,this.serverTimeOffset.bind(this),this._datafeedConfiguration.reset_cache_timeout),n.setupFeed({resolve:function(e,i,s,r){t._resolveSymbolByName(e,i,s,r)},subscribe:function(e,i,s,r,n){return t._cachedDatafeed.subscribe(e,i,s,function(e,i,s){var r=new c.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections),n=c.newBarBuilder(i,r,r);return function(e){if(e&&e.count()){var i=1e3*t.getCurrentUTCTime();n.moveTo(i),n.indexOfBar(i)>=0&&e.setLastBarClosed(!1)}s(e)}}(e,i,r),n)},unsubscribe:function(e){return t._cachedDatafeed.unsubscribe(e)}})};function A(e,t){return e+"_"+t}function E(e,t,i,s){return e+(t?"_#_"+t:"")+(i?"_#_"+i:"")+(s?"_#_"+s:"")}L.prototype._getSymbolExtrapolator=function(e,t,i){var s=d.normalize(i),r=function(e,t,i){const s=void 0!==t.subsession_id?","+t.subsession_id:"";return e+","+t.full_name+","+i+s}(e,t,s),n=this._symbolExtrapolators[r];return void 0===n&&(n=new o(t,s),this._symbolExtrapolators[r]=n),n},L.prototype._barsCoefficients=function(e,t){if(void 0===y(e).type)return{};var i=e+t;return this._barsCoefficientsCache[i]||(this._barsCoefficientsCache[i]={}),this._barsCoefficientsCache[i]},L.prototype.destroy=function(){this._cachedDatafeed.destroy(),this._externalDatafeed=null,Object.keys(this._pointsetsManagers).forEach((function(e){this._pointsetsManagers[e].destroy()}),this),this._pointsetsManagers={}},L.prototype.purgeCache=function(){this._endOfData={},this._resolveRequests={},this._objectsDataCache={},this._studiesNonSeriesTimes={},this._studiesCache={},this._resolvePromisesBySymbolId.clear(),this._symbolIdToSymbolRequestString.clear(),Object.keys(this._pointsetsManagers).forEach((function(e){this._pointsetsManagers[e].destroy()}),this),this._pointsetsManagers={},Object.keys(this._timeScales).forEach((function(e){this._timeScales[e].destroy()}),this),this._timeScales={},Object.keys(this._symbolExtrapolators).forEach((function(e){this._symbolExtrapolators[e].destroy()}),this),this._symbolExtrapolators={}},L.prototype.purgeDataCache=function(){this._cachedDatafeed.purgeCache()},L.prototype._logMessage=function(e){C.enabled("charting_library_debug_mode")&&console.log(e)},L.prototype.on=function(e,t){return this._callbacks.hasOwnProperty(e)||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},L.prototype._fireEvent=function(e,t,i){if(this._callbacks.hasOwnProperty(e)){for(var s=this._callbacks[e],r=0;r_[a].timeMs;l?_.push({index:g(s,_.length),value:[s/1e3].concat(r),timeMs:s}):(_[a].index=g(s,a),_[a].value=[s/1e3].concat(r),_[a].timeMs=s),p||u.onRealtimeCallback([_[_.length-1]],l,_.length,v,i)}(e,t,i)},nonseriesOut:function(e,t){u.onNonSeriesDataUpdate(t,i)},setNoMoreData:function(){S=!0},recalc:function(e,s){p=!1,_.endOfData=S,_.emptyBarCount=s.emptyBarCount,t.error&&null!==t.error()||(null!==l&&(y._objectsDataCache[l]=_),u.onDataReadyCallback(_,v,i,s))}});if(!y._studiesCache[e]||!y._studiesCache[e][n])throw Error("This should never happen");y._studiesCache[e][n].engine=w}catch(e){if(!e.studyError)throw e;u.onErrorCallback(e.message)}}else u.onErrorCallback("Unsupported resolution. Did you forget to set has_intraday to true?")}(w,P)},L.prototype._createStudy=function(e,t,i,s,r,n,o,a){var l=this;function c(e,t,i){e=I(e),l._timeScales[s].fillIndexesInRows(e),TradingView.ChartapiMessagerInstances[s].onDataUpdate(r,n,e,t),TradingView.ChartapiMessagerInstances[s].onStudyCompleted(r,n)}function h(e){var t={};if(0!==e.size){var i={},n=l._studiesCache[s][r].metainfo;e.forEach((function(e,t){i[n.plots[t].id]=e})),t.data={offsets:i}}return t}a=function(e){if(Array.isArray(e))return e;for(var t=[],i=l._studiesCache[s][r].metainfo.inputs,n=0;n=0},L.prototype.ensureExtendedTo=function(e,t,i){if(!this._studiesCache[t][e])throw Error("This should never happen");var s=this;setTimeout((function(){s._recreateSourcesForDataRange(t,{to:i})}),0)}, +L.prototype.extendSeriesRange=function(e,t){var i=this._timeScales[e].firstSeriesBarTime();if(null!==i){var s=this._mainSeriesRecord(e);if(d.isDWM(s.resolution)&&null!=s.symbolInfo){var r=h(s.resolution,s.symbolInfo);null!==r&&(i=r.timeToExchangeTradingDay(i))}var n=this._symbolIdToSymbolRequestString.get(M(e,s.symbolId)),o=this._barsCoefficients(n,s.resolution),a=o.barsCoefficient||1;if(!o.barsCoefficient){var l=this._getSeriesData(e,s.guid);null!==l&&(o.expectedBarsCount=l.length+t)}var c=this;setTimeout((function(){c._recreateSourcesForDataRange(e,{to:i,countBack:(t+2)*a})}),0)}else this._logMessage("Nothing to extend - there is no points on time scale")},L.prototype.seriesTurnaround=function(e,t){return this._studiesCache[e]&&this._studiesCache[e][t]&&this._studiesCache[e][t].turnaround},L.prototype._seriesDataRange=function(e,t){var i=this._studiesCache[e][t];return null!==i.firstLoadedTimeMs?{to:i.firstLoadedTimeMs,countBack:0}:i.dataRange},L.prototype._applyTimeScaleUpdate=function(e,t){if(null!==t){var i=[];for(var s in this._studiesCache[e]){var r=this._studiesCache[e][s];if(r&&"study"===r.type){var n=this._studiesNonSeriesTimes[e][s];if(n){var o={indexes:this._timeScales[e].convertTimesToIndexes(n),data:{indexes_replace:!0}};i.push({objId:s,turnaround:r.turnaround,data:[],nonSeriesData:o})}}}TradingView.ChartapiMessagerInstances[e].onTimescaleUpdate(t,i),Promise.resolve().then(function(){var t=this._mainSeriesRecord(e);if(null!==t&&null!=t.symbolInfo){var i=this._getSymbolExtrapolator(e,t.symbolInfo,t.resolution);this._pointsetsManagers[e].getUpdatesForSymbol(t.symbolInfo.full_name,t.resolution,i,this._timeScales[e]).forEach((function(t,i){TradingView.ChartapiMessagerInstances[e].onPointsetDataUpdate(i,null,t)}))}}.bind(this))}},L.prototype._updateMainTsBuilder=function(e){var t=this._mainSeriesRecord(e);if(null!==t&&null!=t.symbolInfo){var i=this._getSymbolExtrapolator(e,t.symbolInfo,t.resolution);this._timeScales[e].setMainSymbolExtrapolator(i)}},L.prototype._updateTimeScaleState=function(e){var t=!0,i=!0;for(var s in this._studiesCache[e]){var r=this._studiesCache[e][s];"series"===r.type&&(i=i&&this._isEndOfData(e,s,r.turnaround),t=t&&r.completed)}this._timeScales[e].isCompleted()!==t&&(this._timeScales[e].setCompleted(t),t&&TradingView.ChartapiMessagerInstances[e].onTimescaleCompleted(i))},L.prototype._mainSeriesRecord=function(e){var t=null,i=null;for(var s in this._studiesCache[e]){var r=this._studiesCache[e][s];if("series"===r.type&&(null===t&&(t=r),r.isMain)){i=r;break}}return null===i&&(i=t),null!==i&&(i.isMain=!0),i},L.prototype._seriesCount=function(e){var t=0;for(var i in this._studiesCache[e]){"series"===this._studiesCache[e][i].type&&(t+=1)}return t},L.prototype._prepareSeriesNonSeriesData=function(e,t,i){var s=i.data[i.data.length-1],r=this._getSeriesData(e,t),n=null===r?[]:i.data;return{data:{data:{reversalAmount:i.reversalAmount,boxSize:i.boxSize,price:s?s[4]:i.price,bars:n.map((function(e,t){return{time:t,open:e[1],high:e[2],low:e[3],close:e[4],volume:e[5],factor:e[6],additionalPrice:e[6]} +}))}},indexes:this._timeScales[e].convertTimesToIndexes(n.map((function(e){var t=e[0]||0;return t<0?r[r.length+t].timeMs:i.projectionTime+t})))}},L.prototype.createSeries=function(e,t,i,s,n,o,a){this._setEndOfData(e,t,i,!1);var l=new r.OHLCV;this._studiesCache[e]=this._studiesCache[e]||{};var c=this._getSeriesData(e,t),h=this._studiesCache[e][t],u=this._seriesCount(e),p=this._mainSeriesRecord(e);if(!h||d.isEqual(h.resolution,n)&&h.symbolId===s)void 0!==o.countBack&&null!==c&&0!==c.length&&(o.to=c[0].timeMs),h&&null!=h.firstLoadedTimeMs?o.to=void 0!==o.to?Math.min(h.firstLoadedTimeMs,o.to):h.firstLoadedTimeMs:h||0===u||null!==p&&(null!=p.firstLoadedTimeMs?(o.to=p.firstLoadedTimeMs,o.countBack=0):o=Object.assign({},p.dataRange));else if(1===u)o=Object.assign({},h.initialDatarange);else{var _=this._timeScales[e].firstSeriesBarTime();(void 0===o.to||null!==_&&_{"use strict";i.d(t,{SymbolExtrapolator:()=>c});var s=i(88537),r=i(55257),n=i(69177),o=i(11075),a=i(29823);function l(e,t){return e.length>t}class c{constructor(e,t,i=2e5){this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._projectionFirstIndex=1/0,this._barsTimes=[],this._minFutureBarsCount=0,this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._symbolInfo=e,this._interval=a.Interval.parse(t),this._extrapolateLimit=i,this._barBuilder=(0,n.newBarBuilder)(t,new n.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections),null)}destroy(){this.clear()}interval(){return this._interval}barBuilder(){return this._barBuilder}symbolInfo(){return this._symbolInfo}clear(){this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._barsTimes=[],this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._minFutureBarsCount=0,this._projectionFirstIndex=1/0}firstFutureBarIndex(){return this._barsTimes.length}futureBars(){return this._futureBarsCache}replaceBarsTimesTail(e,t=e.length){if(0===e.length)return;if(0===this._barsTimes.length)return void this.setBarsTimes(e,t);const i=e[0],n=this._barsTimes[this._barsTimes.length-1],o=i>n?this._barsTimes.length:(0,r.lowerbound_int)(this._barsTimes,i) +;0!==o?(this._barsTimes.splice(o,this._barsTimes.length,...e),this._projectionFirstIndex=t===e.length?this._barsTimes.length:this._barsTimes.indexOf(e[t]),(0,s.assert)(-1!==this._projectionFirstIndex,"something went wrong"),n!==e[e.length-1]&&this._setLastRealBarTime(e[e.length-1])):this.setBarsTimes(e,t)}setBarsTimes(e,t=e.length){const i=this._barsTimes;if(this._barsTimes=e.slice(),this._projectionFirstIndex=0===this._barsTimes.length?1/0:t,0===e.length)return this._historyBarsCache=[],this._futureBarsCache=[],this._firstRealBarTimeMs=null,void(this._lastRealBarTimeMs=null);0!==i.length&&i[i.length-1]===e[e.length-1]||this._setLastRealBarTime(e[e.length-1]),0!==i.length&&i[0]===e[0]||(this._historyBarsCache=[],this._firstRealBarTimeMs=e[0])}extrapolateTimeWithOffsetToTime(e,t){if(0===t)return{timeMs:e,exact:!0};0===this._barsTimes.length&&(t<0?null===this._firstRealBarTimeMs?this._firstRealBarTimeMs=e:(this._extendHistoryCacheToTimeFromRight(Math.min(e,null!==this._lastRealBarTimeMs?this._lastRealBarTimeMs:1/0)),this._ensureExtrapolatedToHistoryTime(e)):null===this._lastRealBarTimeMs?this._lastRealBarTimeMs=e:(this._extendFutureCacheToTimeFromLeft(Math.max(e,null!==this._firstRealBarTimeMs?this._firstRealBarTimeMs:1/0)),this._ensureExtrapolatedToFutureTime(e)));const i=this.indexOfTime(e);if(null===i)return null;const s=this._timeOfBarIndex(i.index+t);return null===s?null:((i.index<0||this._projectionFirstIndex<=i.index)&&(s.exact=!1),s)}indexOfTime(e){if(null!==this._firstRealBarTimeMs&&ethis._lastRealBarTimeMs){this._ensureExtrapolatedToFutureTime(e);let t=(0,r.lowerbound_int)(this._futureBarsCache,e);if(0!==this._futureBarsCache.length&&t===this._futureBarsCache.length&&e>this._futureBarsCache[this._futureBarsCache.length-1])return null;this._futureBarsCache[t]!==e&&(t-=1);const i=Math.max(1,this._barsTimes.length)+t;return{index:i,timeMs:i===this._barsTimes.length-1?(0,s.ensureNotNull)(this._lastRealBarTimeMs):this._futureBarsCache[t]}}if(0===this._barsTimes.length)return null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||null!==this._lastRealBarTimeMs&&e<=this._lastRealBarTimeMs?{index:0,timeMs:(0,s.ensureNotNull)(this._timeOfBarIndex(0)).timeMs}:null;let t=(0,r.lowerbound_int)(this._barsTimes,e);return this._barsTimes[t]!==e&&(t-=1),{index:t,timeMs:this._barsTimes[t]}}setMinFutureBarsCount(e){this._minFutureBarsCount=e,0!==this._barsTimes.length&&this._ensureExtrapolatedToFutureBar(e)}ensureExtrapolatedToFutureTime(e){this._ensureExtrapolatedToFutureTime(e)}_setLastRealBarTime(e){const t=this._futureBarsCache.length,i=(0,r.upperbound_int)(this._futureBarsCache,e) +;0===i?this._extendFutureCacheToTimeFromLeft(e):(this._lastRealBarTimeMs=e,this._futureBarsCache=this._futureBarsCache.slice(i)),this._ensureExtrapolatedToFutureBar(Math.max(t,this._minFutureBarsCount))}_timeOfBarIndex(e){var t;if(e<0){const t=Math.abs(e);this._ensureExtrapolatedToHistoryBar(t);const i=this._historyBarsCache.length-t;return i<0?null:{timeMs:this._historyBarsCache[i],exact:!1}}if(0===e&&0===this._barsTimes.length)return{timeMs:(0,s.ensureNotNull)(null!==(t=this._firstRealBarTimeMs)&&void 0!==t?t:this._lastRealBarTimeMs),exact:!1};if(e>=this._barsTimes.length){const t=e-Math.max(1,this._barsTimes.length);return this._ensureExtrapolatedToFutureBar(t+1),t>=this._futureBarsCache.length?null:{timeMs:this._futureBarsCache[t],exact:!1}}return{timeMs:this._barsTimes[e],exact:e=e)return;if((0,s.assert)(0===this._barsTimes.length,"bars should be empty"),this._firstRealBarTimeMs=e,0===this._historyBarsCache.length)return;const t=(0,o.extrapolateBarsFrontToTime)(this._barBuilder,this._historyBarsCache[this._historyBarsCache.length-1],e-1,this._extrapolateLimit,!0).times;this._historyBarsCache=this._historyBarsCache.concat(t)}_ensureExtrapolatedToFutureBar(e){return!(this._futureBarsCache.length>=e||l(this._futureBarsCache,this._extrapolateLimit))&&this._extendFutureCacheFromRight((t,i)=>(0,o.extrapolateBarsFrontByCount)(this._barBuilder,t,e-i,!0).times)}_ensureExtrapolatedToFutureTime(e){null!==this._lastRealBarTimeMs&&this._lastRealBarTimeMs>=e||l(this._futureBarsCache,this._extrapolateLimit)||0!==this._futureBarsCache.length&&this._futureBarsCache[this._futureBarsCache.length-1]>=e||(this._extendFutureCacheFromRight((t,i)=>(0,o.extrapolateBarsFrontToTime)(this._barBuilder,t,e,this._extrapolateLimit,!0).times),this._futureBarsCache[this._futureBarsCache.length-1]=e||l(this._historyBarsCache,this._extrapolateLimit)||this._extendHistoryCacheFromLeft((t,i)=>(0,o.extrapolateBarsFrontByCount)(this._barBuilder,t,-(e-i),!0).times.reverse())}_ensureExtrapolatedToHistoryTime(e){null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||l(this._historyBarsCache,this._extrapolateLimit)||0!==this._historyBarsCache.length&&this._historyBarsCache[0]<=e||(this._extendHistoryCacheFromLeft((t,i)=>{const s=(0,o.extrapolateBarsFrontToTime)(this._barBuilder,t-1,e-1,this._extrapolateLimit,!0).times;return s[s.length-1]===t?s.slice(0,-1):s}),(0===this._historyBarsCache.length||this._historyBarsCache[0]>e)&&this._ensureExtrapolatedToHistoryBar(this._historyBarsCache.length+1))}}},43007:(e,t,i)=>{"use strict";i.d(t,{backend:()=>s});const s=i(17437)},73383:(e,t,i)=>{"use strict";var s,r;function n(e,t){return"period-back"===e.type&&"period-back"===t.type?e.value===t.value:"time-range"===e.type&&"time-range"===t.type&&(e.from===t.from&&e.to===t.to)}i.d(t,{TIMEFRAMETYPE:()=>r,areEqualTimeFrames:()=>n}),function(e){e.extractErrorReason=function(e){return e.params[1]}}(s||(s={})),function(e){e.PeriodBack="period-back",e.TimeRange="time-range"}(r||(r={}))},87980:()=>{"use strict";TradingView.Pro=function(){this.hasPackage=function(){return!1}},window.user={is_pro:!1,settings:{}},TradingView.Pro.prototype.isPaidPro=function(){return!1},TradingView.Pro.prototype.isSupportAvailable=function(){return!1},TradingView.Pro.prototype.getProduct=function(){return{}},TradingView.Pro.prototype.getStudiesOrder=function(){return[]}},56910:(e,t,i)=>{"use strict";i.r(t),i.d(t,{QuoteCache:()=>r,QUOTE_FIELDS:()=>n,QUOTE_FIELDS_CACHE:()=>o});var s=i(88537);class r{constructor(e){this._cache=new Map,this._fields=[...e.fields]}update(e,t,i){const r=(0,s.ensureDefined)(e.symbolname);if(this._cache.has(r)||this._cache.set(r,{symbolname:r,status:e.status,values:{}}),"error"===e.status)return;const n=(0,s.ensureDefined)(this._cache.get(r));n.status=e.status;for(const s of this._fields){if(!t.has(s))continue;const r=e.values[s];(i||void 0!==r)&&(n.values[s]=r)}}get(e){var t;return null!==(t=this._cache.get(e))&&void 0!==t?t:null}fields(){return this._fields}}const n=new Set(["pro_name","logoid","currency-logoid","base-currency-logoid","short_name","description","exchange","type","country_code","provider_id","sector","type","industry","currency_id","last_price","fractional","minmov","minmove2","pricescale","change","change_percent","volume","average_volume","market_cap_basic","total_revenue","earnings_per_share_basic_ttm","price_earnings_ttm","beta_1_year","dps_common_stock_prim_issue_fy","dividends_yield","earnings_release_next_date","earnings_per_share_forecast_next_fq","earnings_release_date","earnings_per_share_fq","fundamental_currency_code","symbol-primaryname","update_mode"]),o=new r({fields:n})},39138:(e,t,i)=>{"use strict";i.d(t,{getQuoteSessionInstance:()=>o,destroyQuoteSessions:()=>a});var s=i(87467),r=i.n(s);const n={};function o(e="full"){return n[e]||function(e="full",t){n[e]=t +}(e,new(r())(e)),n[e]}function a(){for(const e in n)if(n.hasOwnProperty(e)){const t=n[e];void 0!==t&&t.destroy(),delete n[e]}}},67311:(e,t,i)=>{"use strict";i.d(t,{QuoteSession:()=>r});var s=i(9423);class r{constructor(e,t=(0,s.randomHash)()){this._sessionstarted=!1,this._globalHandler=null,this._chartApi=e,this._sessionid="qs_"+t}destroy(){this._sessionstarted&&(this._chartApi.quoteDeleteSession(this._sessionid),this._sessionstarted=!1)}connected(){return this._chartApi.connected()}connect(e){this._globalHandler=e,this._chartApi.createSession(this._sessionid,this),this._chartApi.connect()}disconnect(){this._chartApi.disconnect()}quoteAddSymbols(e){this._chartApi.quoteAddSymbols(this._sessionid,e)}quoteRemoveSymbols(e){this._chartApi.quoteRemoveSymbols(this._sessionid,e)}quoteFastSymbols(e){this._chartApi.quoteFastSymbols(this._sessionid,e)}quoteSetFields(e){this._chartApi.quoteSetFields(this._sessionid,e)}onMessage(e){var t;switch(e.method){case"connected":this._sessionstarted||(this._chartApi.quoteCreateSession(this._sessionid),this._sessionstarted=!0);break;case"disconnected":this._sessionstarted=!1}null===(t=this._globalHandler)||void 0===t||t.call(this,e)}quoteHibernateAll(){this._chartApi.quoteHibernateAll(this._sessionid)}}window.TradingView.QuoteSession=r},87467:(e,t,i)=>{"use strict";e=i.nmd(e);var s=i(2872),r=i(43370).default,n=i(4889).default,o=i(97098).PriceFormatter;const{uniq:a}=i(96397);var l=i(9423),c=i(5370).parseUpdateMode,h=i(15840).deepExtend;const{QUOTE_FIELDS_CACHE:d,QUOTE_FIELDS:u}=i(56910);var p;function _(e,t){this.options=Object.assign({throttleTimeout:125},t),this._connected=!1,this._symbol_data={},this._subscriptions={},this.onConnect=new s,this.onDisconnect=new s,this._quoteApi=new p(window.ChartApiInstance),this._type=e||"full",this._delayUpdateFastSymbols=n(this._updateFastSymbols,250),this._throttledSymbolData={},this._formatterValuesCache={},this._waitingForFormatters={},this._snapshotValuesCache={},this._waitingForSnapshot={},this.connect()}p=i(67311).QuoteSession,_.prototype.destroy=function(){this._quoteApi.destroy(),this._quoteApi=null,this._connected=!1,this.onDisconnect.fire()},_.prototype.typeFields={},_.prototype.typeFields.simple=["base-currency-logoid","ch","chp","currency-logoid","currency_code","currency_id","base_currency_id","current_session","description","exchange","format","fractional","is_tradable","language","local_description","listed_exchange","logoid","lp","lp_time","minmov","minmove2","original_name","pricescale","pro_name","short_name","type","typespecs","update_mode","volume"],_.prototype.typeFields.simpleDetailed=[].concat(_.prototype.typeFields.simple,["ask","bid","fundamentals","high_price","is_tradable","low_price","open_price","prev_close_price","rch","rchp","rtc","rtc_time","status","basic_eps_net_income","beta_1_year","earnings_per_share_basic_ttm","industry","market_cap_basic","price_earnings_ttm","sector","volume","dividends_yield","timezone"]),_.prototype.typeFields.full=[], +_.prototype.typeFields.watchlist=[].concat(_.prototype.typeFields.simple,["rchp","rtc","country_code","provider_id"]),_.prototype.typeFields.portfolio=["pro_name","short_name","exchange","listed_exchange","description","sector","type","typespecs","industry","currency_code","currency_id","ch","chp","logoid","currency-logoid","base-currency-logoid","earnings_per_share_forecast_next_fq","earnings_release_next_date","earnings_release_date","earnings_per_share_fq","lp","fractional","minmov","minmove2","pricescale","volume","average_volume","market_cap_basic","total_revenue","earnings_per_share_basic_ttm","price_earnings_ttm","beta_1_year","dps_common_stock_prim_issue_fy","dividends_yield","fundamental_currency_code","rates_mc","rates_fy","rates_ttm","value_unit_id"],_.prototype.typeFields.notes=["short_name","pro_name","logoid","currency-logoid","base-currency-logoid","symbol-primaryname","type","typespecs"],_.prototype.connect=function(e){this._quoteApi.connect(this.quoteHandler.bind(this))},_.prototype.quoteHandler=function(e){var t=e.method,i=e.params;switch(t){case"connected":this._connected||(this._connected=!0,this.onConnected());break;case"quote_list_fields":break;case"quote_symbol_data":this._connected&&this.onSymbolData(i[0]);break;case"quote_completed":this._connected&&this.onSymbolData({symbolname:i[0],complete:performance.now(),values:{}});break;case"disconnected":this._connected&&(this._connected=!1,this.onDisconnect.fire())}},_.prototype.onConnected=function(){this.setFields();var e=Object.keys(this._symbol_data);e.length&&(this._quoteApi.quoteAddSymbols(e),this._delayUpdateFastSymbols()),this.onConnect.fire()},_.prototype.setFields=function(){var e=_.prototype.typeFields[this._type];e&&e.length&&this._quoteApi.quoteSetFields(e)},_.prototype.onSymbolData=function(e){try{e.status&&d.update(e,u,!1)}catch(e){}var t=e.symbolname,i=this._throttledSymbolData[t];i||(i=this._throttledSymbolData[t]={fnDispatch:r(this.dipatchSymbolData.bind(this),this.options.throttleTimeout)}),i.cache?h(i.cache,e):i.cache=e,i.fnDispatch(t)},_.prototype._parseUpdateMode=function(e){var t=c(e.update_mode);null!==t&&(e.update_mode=t.mode,e.update_mode_seconds=t.interval)},_.prototype.dipatchSymbolData=function(e){var t=this._symbol_data[e],i=this._throttledSymbolData[e].cache;if(delete this._throttledSymbolData[e].cache,this._symbol_data[e])for(var s in h(t,i),t.values&&this._parseUpdateMode(t.values),this._subscriptions){var r=this._subscriptions[s];r.has(e)&&r.get(e).forEach((function(e){e(t,i)}))}},_.prototype.subscribe=function(e,t,i){this._subscriptions[e]=this._subscriptions[e]||new Map;var s=this._subscriptions[e];t=[].concat(t);var r=[];t.forEach((function(e){this._symbol_data[e]?s&&s.has(e)||this._symbol_data[e].subscribers_count++:(this._symbol_data[e]={subscribers_count:1},r.push(e)),s.has(e)||s.set(e,[]),s.get(e).push(i),s.get(e).fast=!0,this._symbol_data[e]&&this._symbol_data[e].values&&i(this._symbol_data[e],this._symbol_data[e])}),this),r.length&&this._connected&&(this._quoteApi.quoteAddSymbols(r), +this._delayUpdateFastSymbols())},_.prototype.unsubscribe=function(e,t,i){t=[].concat(t);for(var s=this._subscriptions[e],r=[],n=0;n{"use strict";function s(e,t,i){const s=e.get(t);return void 0!==s?s:(e.set(t,i),i)}function r(e,t,i){const s=e.get(t);if(void 0!==s)return s;const r=i();return e.set(t,r),r}function n(e,t,i,n){return r(s(e,t,new Map),i,n)}function o(e,t,i,r,n){const o=s(e,t,new Map),a=s(o,i,new Map);return s(a,r,n)}i.d(t,{getDefault2Lazy:()=>n,getDefault3:()=>o,AbstractMapContainer:()=>a});class a{constructor(){this._map=new Map,this._size=0}size(){return this._size}clear(){this._map.clear(),this._size=0}}},55257:(e,t,i)=>{"use strict";function s(e,t){ +return e>1,o=s+r;i(e(o),t)?(s=o+1,n-=r+1):n=r}return s}function n(e,t,i,s=0,n=e.length){return r(t=>e[t],t,i,s,n)}function o(e,t,i=0,r=e.length){return n(e,t,s,i,r)}function a(e,t,i,s=0,r=e.length){let n=r-s;for(;0>1,o=s+r;i(t,e[o])?n=r:(s=o+1,n-=r+1)}return s}function l(e,t,i=0,r=e.length){return a(e,t,s,i,r)}function c(e,t){return e.filter(e=>!t.includes(e))}function h(e,t){const i=e.indexOf(t);return i<0?e.slice():[t].concat(e.slice(0,i)).concat(e.slice(i+1))}function d(e,t,i){const s=new Set(t),r=[],n=[],a=[];return e.forEach((e,t)=>{s.has(e)?n.push(e):(r.push(e),a.push(t))}),i=i{s.has(e)?n.push(e):(r.push(e),a.push(t))}),i=i<=e.length-1?o(a,i):r.length,r.splice(i,0,...n),{newItems:r,movedItemsStartIndex:i}}function p(e,t){const i=new Set;return e.forEach(e=>{t.has(e)&&i.add(e)}),i}i.r(t),i.d(t,{lowerboundExt:()=>r,lowerbound:()=>n,lowerbound_int:()=>o,upperbound:()=>a,upperbound_int:()=>l,subtract:()=>c,moveToHead:()=>h,moveAfter:()=>d,moveBefore:()=>u,intersect:()=>p})},10480:(e,t,i)=>{"use strict";var s=i(84917),r=i(84296).tzData;function n(e){this._name=e;var t=r[e];if(t||(t={time:[],offset:[]},this._invalid=!0),t.time.length!==t.offset.length&&(t={time:[],offset:[]},this._invalid=!0),!t.time_utc){for(var i=t.time,s=t.offset,n=i.length,o=new Array(n),a=0;at){if((r=n-1)0&&e-t[s-1]<=r)return r;return 0},n.prototype.is_valid=function(){return!this._invalid},n._offset=function(e,t,i){var s=o(e,i);return-1===s?0:t[s]};var a=function(e){return 0|e},l=function(e){return 60*e*1e3},c=function(e,t){return h(e)-h(t)},h=function(e){return e<0?a(e/1e3)-(e%1e3!=0?1:0):a(e/1e3)};function d(e){return e%4==0&&(e%100!=0||e%400==0)}var u={0:0,1:31,2:59,3:90,4:120,5:151,6:181,7:212,8:243,9:273,10:304,11:334},p={...s.WeekDays,...s.Months,YEAR:1,MONTH:2,WEEK_OF_YEAR:3,DAY_OF_MONTH:5,DAY_OF_YEAR:6,DAY_OF_WEEK:7,HOUR_OF_DAY:11,MINUTE:12,SECOND:13,minutesPerDay:1440,millisecondsPerDay:l(1440),get_minutes_from_hhmm:function(e){return-1!==e.indexOf(":")&&(e=e.split(":").join("")),e%100+60*a(e/100)},get_year:function(e){return e.getUTCFullYear()},get_month:function(e){return e.getUTCMonth()},get_hours:function(e){return e.getUTCHours()},get_minutes:function(e){return e.getUTCMinutes()},get_seconds:function(e){ +return e.getUTCSeconds()},get_day_of_month:function(e){return e.getUTCDate()},get_day_of_week:function(e){return e.getUTCDay()+1},get_day_of_year:function(e){var t=e.getUTCMonth(),i=u[t];return t>p.JANUARY+1&&d(e.getUTCFullYear())&&(i+=1),i+e.getUTCDate()},get_week_of_year:function(e){var t=new Date(Date.UTC(e.getUTCFullYear(),0,1)).getUTCDay(),i=0===t?1:8-t,s=p.get_day_of_year(e)-i;return Math.ceil(s/7)+1},get_minutes_from_midnight:function(e){return 60*p.get_hours(e)+p.get_minutes(e)},set_hms:function(e,t,i,s,r,n){e.setUTCHours(t),e.setUTCMinutes(i),e.setUTCSeconds(s),e.setUTCMilliseconds(r),void 0!==n&&p.correct_time(e,n)},correct_time:function(e,t){var i=e.getTime(),s=t.correction_loc(i);e.setTime(i+s)},add_days_considering_dst:function(e,t,i){var s=e.offset_utc(t),r=this.clone(t);this.add_date(r,i);var n=e.offset_utc(r);return r.setTime(r.getTime()+s-n),r},add_date:function(e,t){e.setTime(e.getTime()+t*p.millisecondsPerDay)},add_minutes:function(e,t){e.setTime(e.getTime()+l(t))},clone:function(e){return new Date(e.getTime())},get_days_per_year:function(e){var t=e.getUTCFullYear();return this.days_per_year(t)},days_per_year:function(e){return d(e)?366:365},get_days_in_month:function(e,t){let i;switch(e){case 0:case 2:case 4:case 6:case 7:case 9:case 11:i=31;break;case 1:i=28,d(t)&&i++;break;default:i=30}return i},get_part:function(e,t){switch(t){case p.YEAR:return p.get_year(e);case p.MONTH:return p.get_month(e);case p.DAY_OF_MONTH:return p.get_day_of_month(e);case p.WEEK_OF_YEAR:return p.get_week_of_year(e);case p.DAY_OF_WEEK:return p.get_day_of_week(e);case p.HOUR_OF_DAY:return p.get_hours(e);case p.MINUTE:return p.get_minutes(e);case p.DAY_OF_YEAR:return p.get_day_of_year(e);case p.SECOND:return p.get_seconds(e);default:return e.getTime()}},time_minutes:l,time_seconds:function(e){return 1e3*e},time_minutes_diff:function(e,t){return a(c(e,t)/60)},time_seconds_diff:c,utc_to_cal:function(e,t){return new Date(p.utc_to_cal_ts(e,t))},utc_to_cal_ts:function(e,t){return t+e.offset_utc(t)},get_cal:function(e,t,i,s,r,n,o){var a=new Date(Date.UTC(t,i,s,r||0,n||0,o||0)),l=e.offset_utc(+a);return new Date(a.valueOf()-l)},get_cal_from_unix_timestamp_ms:function(e,t){return new Date(t+e.offset_utc(t))},get_cal_utc:function(e,t,i){return new Date(Date.UTC(e,t,i))},cal_to_utc:function(e,t){var i=t.getTime();return i-e.offset_loc(i)},get_timezone:function(e){return new n(e)},shift_day:function(e,t){var i=e-1;return(i+=t)>6?i%=7:i<0&&(i=(7+i%7)%7),i+1}};e.exports=p},43891:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LINESTYLE_SOLID:()=>s,LINESTYLE_DOTTED:()=>r,LINESTYLE_DASHED:()=>n,LINESTYLE_LARGE_DASHED:()=>o,LINESTYLE_SPARSE_DOTTED:()=>a,LINESTYLE_SMALL_DASHED:()=>l});const s=0,r=1,n=2,o=3,a=4,l=5},29892:(e,t,i)=>{"use strict";var s=i(64514),r=s.greaterThan,n=s.lessThan,o=window.CanvasEx=i(43891);o.computeDashPattern=function(e){return[[e.lineWidth,2*e.lineWidth],[5*e.lineWidth,6*e.lineWidth],[6*e.lineWidth,6*e.lineWidth],[e.lineWidth,4*e.lineWidth],[2*e.lineWidth,e.lineWidth]][e.lineStyle-1]},o.drawLine=function(e,t,i,s,r){ +isFinite(t)&&isFinite(s)&&isFinite(i)&&isFinite(r)&&(e.lineStyle!==o.LINESTYLE_SOLID?o.drawDashedLine(e,t,i,s,r):o.drawSolidLine(e,t,i,s,r))},o.drawArrow=function(e,t,i,s,r,n){if(isFinite(t)&&isFinite(s)&&isFinite(i)&&isFinite(r)){var o=Math.round(n/2),a=t+o,l=s+o;e.beginPath(),e.moveTo(l,r),e.lineTo(a,i),e.moveTo(t,i+o),e.lineTo(a,i),e.lineTo(t+n,i+o),e.stroke()}},o.drawSolidLine=function(e,t,i,s,r){e.beginPath(),e.moveTo(t,i),e.lineTo(s,r),e.stroke()},o.setLineStyle=function(e,t){e.lineStyle=t;var i=[];t!==o.LINESTYLE_SOLID&&(i=o.computeDashPattern(e)),o.setLineDash(e,i)},o.setLineDash=function(e,t){"function"==typeof e.setLineDash?e.setLineDash(t):void 0!==e.mozDash?e.mozDash=t:void 0!==e.webkitLineDash&&(e.webkitLineDash=t)},o.drawPoly=function(e,t,i){e.beginPath(),e.moveTo(t[0].x,t[0].y);for(var s=0;s0&&(c.thereYet=n,c.cap=Math.max),t-s>0&&(l.thereYet=n,l.cap=Math.max),e.moveTo(t,i);for(var h=t,d=i,u=0,p=!0;!l.thereYet(h,s)||!c.thereYet(d,o);){var _=Math.atan2(o-i,s-t),m=a[u];h=l.cap(s,h+Math.cos(_)*m),d=c.cap(o,d+Math.sin(_)*m),p?e.lineTo(h,d):e.moveTo(h,d),u=(u+1)%a.length,p=!p}},o.setFont=function(e,t){if(e.font!==t)try{e.font=t}catch(e){}},"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.setFont=function(e){o.setFont(this,e)},CanvasRenderingContext2D.prototype.lineStyle=o.LINESTYLE_SOLID),e.exports=o},54089:(e,t,i)=>{"use strict";i.d(t,{combineWithFilteredUpdate:()=>o,combine:()=>a});var s=i(52714),r=i.n(s);function n(e,t,...i){const s=(...t)=>e(...t.map(e=>e.value())),n=new(r())(s(...i)),o=()=>{t(...i.map(e=>e.value()))&&n.setValue(s(...i))},a=i.map(e=>e.spawn());for(const e of a)e.subscribe(o);return n.readonly().spawn(()=>a.forEach(e=>e.destroy()))}function o(e,t,...i){return n(e,t,...i)}function a(e,...t){return n(e,()=>!0,...t)}},39277:(e,t,i)=>{"use strict";i.r(t),i.d(t,{availableTimezones:()=>l,timezoneIsAvailable:()=>c,timezoneTitle:()=>h});var s=i(28353),r=i(23095);const n=[{id:"Etc/UTC",title:(0,s.t)("UTC")},{id:"exchange",title:(0,s.t)("Exchange")}],o=[{id:"Africa/Cairo",title:(0, +s.t)("Cairo"),offset:0},{id:"Africa/Johannesburg",title:(0,s.t)("Johannesburg"),offset:0},{id:"Africa/Lagos",title:(0,s.t)("Lagos"),offset:0},{id:"America/Argentina/Buenos_Aires",title:(0,s.t)("Buenos Aires"),offset:0},{id:"America/Bogota",title:(0,s.t)("Bogota"),offset:0},{id:"America/Caracas",title:(0,s.t)("Caracas"),offset:0},{id:"America/Chicago",title:(0,s.t)("Chicago"),offset:0},{id:"America/El_Salvador",title:(0,s.t)("San Salvador"),offset:0},{id:"America/Juneau",title:(0,s.t)("Juneau"),offset:0},{id:"America/Lima",title:(0,s.t)("Lima"),offset:0},{id:"America/Los_Angeles",title:(0,s.t)("Los Angeles"),offset:0},{id:"America/Mexico_City",title:(0,s.t)("Mexico City"),offset:0},{id:"America/New_York",title:(0,s.t)("New York"),offset:0},{id:"America/Phoenix",title:(0,s.t)("Phoenix"),offset:0},{id:"America/Santiago",title:(0,s.t)("Santiago"),offset:0},{id:"America/Sao_Paulo",title:(0,s.t)("Sao Paulo"),offset:0},{id:"America/Toronto",title:(0,s.t)("Toronto"),offset:0},{id:"America/Vancouver",title:(0,s.t)("Vancouver"),offset:0},{id:"US/Mountain",title:(0,s.t)("Denver"),offset:0},{id:"Asia/Almaty",title:(0,s.t)("Almaty"),offset:0},{id:"Asia/Ashkhabad",title:(0,s.t)("Ashgabat"),offset:0},{id:"Asia/Bahrain",title:(0,s.t)("Bahrain"),offset:0},{id:"Asia/Bangkok",title:(0,s.t)("Bangkok"),offset:0},{id:"Asia/Chongqing",title:(0,s.t)("Chongqing"),offset:0},{id:"Asia/Dubai",title:(0,s.t)("Dubai"),offset:0},{id:"Asia/Ho_Chi_Minh",title:(0,s.t)("Ho Chi Minh"),offset:0},{id:"Asia/Hong_Kong",title:(0,s.t)("Hong Kong"),offset:0},{id:"Asia/Jakarta",title:(0,s.t)("Jakarta"),offset:0},{id:"Asia/Jerusalem",title:(0,s.t)("Jerusalem"),offset:0},{id:"Asia/Karachi",title:(0,s.t)("Karachi"),offset:0},{id:"Asia/Kathmandu",title:(0,s.t)("Kathmandu"),offset:0},{id:"Asia/Kolkata",title:(0,s.t)("Kolkata"),offset:0},{id:"Asia/Kuwait",title:(0,s.t)("Kuwait"),offset:0},{id:"Asia/Manila",title:(0,s.t)("Manila"),offset:0},{id:"Asia/Muscat",title:(0,s.t)("Muscat"),offset:0},{id:"Asia/Qatar",title:(0,s.t)("Qatar"),offset:0},{id:"Asia/Riyadh",title:(0,s.t)("Riyadh"),offset:0},{id:"Asia/Seoul",title:(0,s.t)("Seoul"),offset:0},{id:"Asia/Shanghai",title:(0,s.t)("Shanghai"),offset:0},{id:"Asia/Singapore",title:(0,s.t)("Singapore"),offset:0},{id:"Asia/Taipei",title:(0,s.t)("Taipei"),offset:0},{id:"Asia/Tehran",title:(0,s.t)("Tehran"),offset:0},{id:"Asia/Tokyo",title:(0,s.t)("Tokyo"),offset:0},{id:"Atlantic/Reykjavik",title:(0,s.t)("Reykjavik"),offset:0},{id:"Australia/Adelaide",title:(0,s.t)("Adelaide"),offset:0},{id:"Australia/Brisbane",title:(0,s.t)("Brisbane"),offset:0},{id:"Australia/Perth",title:(0,s.t)("Perth"),offset:0},{id:"Australia/Sydney",title:(0,s.t)("Sydney"),offset:0},{id:"Europe/Amsterdam",title:(0,s.t)("Amsterdam"),offset:0},{id:"Europe/Athens",title:(0,s.t)("Athens"),offset:0},{id:"Europe/Belgrade",title:(0,s.t)("Belgrade"),offset:0},{id:"Europe/Berlin",title:(0,s.t)("Berlin"),offset:0},{id:"Europe/Bratislava",title:(0,s.t)("Bratislava"),offset:0},{id:"Europe/Brussels",title:(0,s.t)("Brussels"),offset:0},{id:"Europe/Bucharest",title:(0, +s.t)("Bucharest"),offset:0},{id:"Europe/Budapest",title:(0,s.t)("Budapest"),offset:0},{id:"Europe/Copenhagen",title:(0,s.t)("Copenhagen"),offset:0},{id:"Europe/Dublin",title:(0,s.t)("Dublin"),offset:0},{id:"Europe/Helsinki",title:(0,s.t)("Helsinki"),offset:0},{id:"Europe/Istanbul",title:(0,s.t)("Istanbul"),offset:0},{id:"Europe/Lisbon",title:(0,s.t)("Lisbon"),offset:0},{id:"Europe/London",title:(0,s.t)("London"),offset:0},{id:"Europe/Luxembourg",title:(0,s.t)("Luxembourg"),offset:0},{id:"Europe/Madrid",title:(0,s.t)("Madrid"),offset:0},{id:"Europe/Malta",title:(0,s.t)("Malta"),offset:0},{id:"Europe/Moscow",title:(0,s.t)("Moscow"),offset:0},{id:"Europe/Oslo",title:(0,s.t)("Oslo"),offset:0},{id:"Europe/Paris",title:(0,s.t)("Paris"),offset:0},{id:"Europe/Riga",title:(0,s.t)("Riga"),offset:0},{id:"Europe/Rome",title:(0,s.t)("Rome"),offset:0},{id:"Europe/Stockholm",title:(0,s.t)("Stockholm"),offset:0},{id:"Europe/Tallinn",title:(0,s.t)("Tallinn"),offset:0},{id:"Europe/Vilnius",title:(0,s.t)("Vilnius"),offset:0},{id:"Europe/Warsaw",title:(0,s.t)("Warsaw"),offset:0},{id:"Europe/Zurich",title:(0,s.t)("Zurich"),offset:0},{id:"Pacific/Auckland",title:(0,s.t)("New Zealand"),offset:0},{id:"Pacific/Chatham",title:(0,s.t)("Chatham Islands"),offset:0},{id:"Pacific/Fakaofo",title:(0,s.t)("Tokelau"),offset:0},{id:"Pacific/Honolulu",title:(0,s.t)("Honolulu"),offset:0},{id:"Pacific/Norfolk",title:(0,s.t)("Norfolk Island"),offset:0}],a=o.map(({id:e,title:t})=>{const{string:i,offset:s}=(0,r.parseTzOffset)(e);return{id:e,offset:s,title:`(${i}) ${t}`}}).sort((e,t)=>{const i=e.offset-t.offset;return 0!==i?i:e.title.localeCompare(t.title)}),l=n.concat(a);function c(e){for(let t=0;t{"use strict";e=i.nmd(e);const s=i(98125).getLogger("Common.Delegate");function r(){this._listeners=[]}function n(e){return!e.singleshot}r.prototype.subscribe=function(e,t,i){const s={object:e,member:t,singleshot:!!i,skip:!1};this._listeners.push(s)},r.prototype.unsubscribe=function(e,t){for(let i=0;i=0;--t){const i=this._listeners[t];i.object===e&&(i.skip=!0,this._listeners.splice(t,1))}},r.prototype.destroy=function(){delete this._listeners},r.prototype.fire=function(){const e=this._listeners;this._listeners=this._listeners.filter(n);const t=e.length;for(let i=0;i{"use strict";function s(e,t){return e<=t}function r(e,t){return e>=t}function n(e,t,i){return Math.min(Math.max(e,t),i)}function o(e){return e<0?-1:e>0?1:0}function a(e){if(e<0)return!1 +;for(let t=e;t>1;t/=10)if(t%10!=0)return!1;return!0}function l(e,t,i){return t-e<=i}function c(e,t,i){return Math.abs(e-t)t?1:0}function u(e,t=d){if(e.length<1)throw Error("array is empty");let i=e[0];for(let s=0;s0&&(i=e[s]);return i}function _(e){const t=Math.ceil(e);return t%2!=0?t-1:t}function m(e){return e>0?Math.floor(e):Math.ceil(e)}i.r(t),i.d(t,{lessThan:()=>s,greaterThan:()=>r,clamp:()=>n,sign:()=>o,isBaseDecimal:()=>a,greaterOrEqual:()=>l,equal:()=>c,log10:()=>h,defComparator:()=>d,min:()=>u,max:()=>p,ceiledEven:()=>_,toInt:()=>m})},23095:(e,t,i)=>{"use strict";i.d(t,{parseTzOffset:()=>r});var s=i(10480);function r(e,t=Date.now()){const i=(0,s.get_timezone)(e).offset_utc(t);let r="";const n=i/1e3/60/60;n%1&&(r=":"+n%1*60);let o="";return o=n>0?"+"+(n-n%1)+r:0===n?"":String(n-n%1+r),{offset:i,string:"UTC"+o}}},82029:(e,t,i)=>{"use strict";var s=i(67337),r=[{d:"E-Mini S&P 500",t:"ES"},{d:"E-Mini Nasdaq 100",t:"NQ"},{d:"Gold",t:"GC"},{d:"Silver",t:"SI"},{d:"Crude Oil WTI",t:"CL"},{d:"Natural Gas",t:"NG"},{d:"Australian Dollar",t:"6A"},{d:"Australian Dollar (Floor)",t:"AD"},{d:"Euro FX",t:"6E"},{d:"Euro FX (Floor)",t:"EC"},{d:"Corn",t:"ZC"},{d:"Corn (Floor)",t:"C"},{d:"Eurodollar",t:"GE"},{d:"Eurodollar (Floor)",t:"ED"}],n=function(){var e=[{pattern:"(",ctor:o},{pattern:")",ctor:a},{pattern:"+",ctor:c},{pattern:"-",ctor:h},{pattern:"*",ctor:d},{pattern:"/",ctor:u},{pattern:"^",ctor:p},{pattern:/\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))|\.\d+/,ctor:f},{pattern:/\./,ctor:y},{pattern:s.enabled("charting_library_base")?/[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF^][a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!:.&]*|'.+?'/:/[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF][a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!|:.&]*|'.+?'/,ctor:g},{pattern:/'[^']*/,ctor:S},{pattern:/[\0-\x20\s]+/,ctor:n}];function t(e,t){var i=function(){};return i.prototype=t.prototype,e.prototype=new i,e}function i(){}function n(e){this.value=e}function o(){}function a(){}function l(){}function c(){}function h(){}function d(){}function u(){}function p(){}i.prototype.toString=function(){return this.value},t(n,i),t(o,i),o.prototype.value="(",t(a,i),a.prototype.value=")",t(l,i),t(c,l),c.prototype.value="+",c.prototype.precedence=0,c.prototype.commutative=!0,t(h,l),h.prototype.value="-",h.prototype.precedence=0,h.prototype.commutative=!1,t(d,l),d.prototype.value="*",d.prototype.precedence=1,d.prototype.commutative=!0,t(u,l),u.prototype.value="/",u.prototype.precedence=1,u.prototype.commutative=!1,t(p,l),p.prototype.value="^",p.prototype.precedence=2,p.prototype.commutative=!1;var _=/^'?(?:([A-Z0-9_]+):)?(.*?)'?$/i,m=/[+\-/*]/;function g(e){this.value=e}function f(e){this.value=e}function v(e){this.value=e}function S(){g.apply(this,arguments)}function y(){f.apply(this,arguments)}t(g,i),g.prototype.toString=function(){ +if(this.hasOwnProperty("_ticker")){var e=m.test(this._ticker)?"'":"";return e+(this._exchange?this._exchange+":":"")+this._ticker+e}return this.value},g.prototype.parse=function(){var e=_.exec(this.value);e[1]&&(this._exchange=e[1]),this._ticker=e[2]},g.prototype.parseAsFutures=function(){this.hasOwnProperty("_ticker")||this.parse();for(var e=function(e){return r.some((function(t){return t.t===e}))},t=2;t>=1;--t){var i=this._ticker.slice(0,t);if(e(i)){this._root=i,this._contract=this._ticker.slice(t);break}}},g.prototype.exchange=function(e){if(this.hasOwnProperty("_ticker")||this.parse(),!(arguments.length>0))return this._exchange;null==e?delete this._exchange:this._exchange=e+""},g.prototype.ticker=function(e){if(this.hasOwnProperty("_ticker")||this.parse(),!(arguments.length>0))return this._ticker;null==e?delete this._ticker:this._ticker=e+"",delete this._root,delete this._contract},g.prototype.root=function(e){if(this.hasOwnProperty("_root")||this.parseAsFutures(),!(arguments.length>0))return this._root;null==e?delete this._root:(this._root=e+"",this._root&&(this._ticker=this._root+(this._contract||"")))},g.prototype.contract=function(e){if(this.hasOwnProperty("_contract")||this.parseAsFutures(),!(arguments.length>0))return this._root;null==e?delete this._contract:(this._contract=e+"",this._root&&(this._ticker=this._root+this._contract))},t(f,i),f.prototype.toString=function(){return this.hasOwnProperty("_normalizedValue")?this._normalizedValue:this.value},f.prototype.parse=function(){this._normalizedValue=this.value.replace(/^0+|\.0*$/g,"").replace(/(\.\d*?)0+$/,"$1").replace(/^(\.|$)/,"0$1")},v.prototype.toString=function(){return this.value},t(S,g),S.prototype.isIncomplete=!0,S.prototype.incompleteSuggest=function(){if("'"!==this.value)return String("'")},t(y,f),y.prototype.isIncomplete=!0;var b=new RegExp(e.map((function(e){return"("+("string"==typeof e.pattern?e.pattern.replace(/[\^$()[\]{}*+?|\\]/g,"\\$&"):e.pattern.source)+")"})).concat(".").join("|"),"g");function w(t,i){var s,r=[];e:for(;s=b.exec(t);){for(var o=e.length;o--;)if(s[o+1]){if(e[o].ctor){var a=new e[o].ctor(s[o+1]);a._offset=s.index,r.push(a)}continue e}var l=new v(s[0]);l._offset=s.index,r.push(l)}if(i&&i.recover){var c;for(o=r.length;o--;){var h=r[o];if(h instanceof f||h instanceof g){if(void 0!==c){var d=new g(""),u=r.splice(o,c-o+1,d);d.value=u.map((function(e){return e.value})).join("")}c=o}else h instanceof n||(c=void 0)}}return r}function C(e){for(var t=[],i=0;in.precedence&&(s[s.length-1].minPrecedence=n.precedence);else if(n instanceof o)s.push(t={minPrecedence:1/0,openBraceIndex:r});else if(n instanceof a){var c=e[(t=s.pop()).openBraceIndex-1],h=e[r+1];h instanceof l&&!(h.precedence<=t.minPrecedence)||!(!(c instanceof l)||c.precedencet.minPrecedence&&(s[s.length-1].minPrecedence=t.minPrecedence))}}for(r=i.length;r--;)e.splice(i[r],1);return e}function T(e){if("string"!=typeof e)throw new TypeError("expression must be a string");return(e=w(e)).filter((function(e){return e instanceof g})).map((function(e){return e.exchange()})).filter((function(e){return e}))}function x(e){return 1!==(e=T(e)).length?null:e[0]}function I(e,t){return(e=T(e)).some((function(e){return t.includes((e||"").toUpperCase())}))}function M(e){return e.join("")}return{tokenize:w,validate:function(e){if(s.enabled("charting_library_base"))return{currentState:"var"};for(var t="init",i={warnings:[],errors:[],isEmpty:!0},r=[],c=0;c{"use strict";i.d(t,{TranslatedString:()=>s});class s{constructor(e,t){this._originalText=e,this._translatedText=t}originalText(){return this._originalText}translatedText(){return this._translatedText}format(e){const t={},i={};for(const r of Object.keys(e)){const n=e[r];n instanceof s?(t[r]=n.originalText(),i[r]=n.translatedText()):(t[r]=n.toString(),i[r]=n.toString())}const r=this._originalText.format(t),n=this._translatedText.format(i);return new s(r,n)}}},84296:e=>{e.exports.tzData={"America/New_York":{ +time:[-2717668562,-1633298400,-1615154400,-1601848800,-1583704800,-1570399200,-1551650400,-1536530400,-1523224800,-1504476e3,-1491775200,-1473026400,-1459720800,-1441576800,-1428271200,-1410127200,-1396821600,-1378677600,-1365372e3,-1347228e3,-1333922400,-1315173600,-1301868e3,-1283724e3,-1270418400,-1252274400,-1238968800,-1220824800,-1207519200,-1189375200,-1176069600,-1157320800,-114462e4,-1125871200,-1112565600,-1094421600,-1081116e3,-1062972e3,-1049666400,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-923263200,-905119200,-891813600,-880236e3,-76941e4,-765410400,-747266400,-733960800,-715816800,-702511200,-684367200,-671061600,-652917600,-639612e3,-620863200,-608162400,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-447285600,-431560800,-415836e3,-400111200,-384386400,-368661600,-352936800,-337212e3,-321487200,-305762400,-289432800,-273708e3,-257983200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], +offset:[-17762,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3]},"America/Los_Angeles":{ +time:[-2717668378,-1633298400,-1615154400,-1601848800,-1583704800,-880236e3,-769420800,-765410400,-687995940,-662680800,-620866800,-608162400,-589417200,-576108e3,-557967600,-544658400,-526518e3,-513208800,-495068400,-481759200,-463618800,-450309600,-431564400,-418255200,-400114800,-386805600,-368665200,-355356e3,-337215600,-323906400,-305766e3,-292456800,-273711600,-261007200,-242262e3,-226533600,-210812400,-195084e3,-179362800,-163634400,-147913200,-13158e4,-116463600,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3],offset:[-28378,-28800,-25200,-28800,-25200,-28800,-25200,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800]},"America/Chicago":{ +time:[-2717668236,-1633298400,-1615154400,-1601848800,-1583704800,-1563746400,-1551650400,-1538949600,-1520200800,-1504476e3,-1491775200,-1473026400,-1459720800,-1441576800,-1428271200,-1410127200,-1396821600,-1378677600,-1365372e3,-1347228e3,-1333922400,-1315173600,-1301868e3,-1283724e3,-1270418400,-1252274400,-1238968800,-1220824800,-1207519200,-1189375200,-1176069600,-1157320800,-114462e4,-1125871200,-1112565600,-1094421600,-1081116e3,-1067810400,-1045432800,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-923263200,-905119200,-891813600,-880236e3,-769413600,-765410400,-747266400,-733960800,-715816800,-702511200,-684367200,-671061600,-652917600,-639612e3,-620863200,-608162400,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-447285600,-431560800,-415836e3,-400111200,-384386400,-368661600,-352936800,-337212e3,-321487200,-305762400,-289432800,-273708e3,-257983200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], +offset:[-21036,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600]},"America/Phoenix":{time:[-2717670498,-1633298400,-1615154400,-1601848800,-1583704800,-880236e3,-820540740,-812678340,-796867140,-84405600,-68680800,1924966800],offset:[-26898,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200]},"America/Toronto":{ +time:[-2366755200,-1632088800,-1615154400,-1601771400,-1583712e3,-1567375200,-1554681600,-1534716e3,-1524088800,-1503266400,-149238e4,-1471816800,-1460930400,-1440972e3,-1428876e3,-1409522400,-1397426400,-1378072800,-1365976800,-1346623200,-1333922400,-1315173600,-1301868e3,-1283724e3,-1270418400,-1252274400,-1238968800,-1220824800,-1207519200,-1188770400,-1176069600,-1157320800,-1144015200,-1125871200,-1112565600,-1094421600,-1081116e3,-1062972e3,-1049666400,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-880232400,-76941e4,-765410400,-747266400,-733960800,-715824e3,-702518400,-684374400,-671068800,-652924800,-634176e3,-620863200,-602719200,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-450309600,-431560800,-418255200,-400111200,-384386400,-368661600,-352936800,-337212e3,-321487200,-305762400,-289432800,-273708e3,-257983200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,136346400,152071200,167796e3,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], +offset:[-19052,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-14400,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3]},"America/Vancouver":{ +time:[-2713910400,-1632088800,-1615154400,-880236e3,-769420800,-765410400,-747266400,-733960800,-715816800,-702511200,-684367200,-671061600,-652917600,-639612e3,-620863200,-608162400,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-450309600,-431560800,-418255200,-400111200,-386805600,-368661600,-355356e3,-337212e3,-323906400,-305762400,-292456800,-273708e3,-261007200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,136346400,152071200,167796e3,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], +offset:[-29548,-28800,-25200,-28800,-25200,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800]},"America/Argentina/Buenos_Aires":{time:[-2372112e3,-1567468800,-1233446400,-1222992e3,-1205971200,-1194048e3,-117288e4,-1162512e3,-1141344e3,-1130976e3,-1109808e3,-109944e4,-1078272e3,-1067817600,-1046649600,-1036281600,-1015113600,-1004745600,-983577600,-973209600,-952041600,-941587200,-931046400,-900892800,-890352e3,-83376e4,-82728e4,-752284800,-733795200,-197337600,-190857600,-184204800,-164505600,-152668800,-132969600,-121132800,-101433600,-86832e3,-71107200,-54777600,-39052800,-23328e3,-7603200,128131200,136598400,596937600,605059200,624412800,636508800,656467200,667958400,687916800,699408e3,719366400,731462400,938908800,952041600,1198972800,1205625600,1224374400,1237075200,1924981200],offset:[-14028,-15408,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-10800,-10800,-7200,-10800,-7200,-10800]},"America/El_Salvador":{time:[-1546300800,546998400,559699200,578448e3,591148800,1924970400],offset:[-21408,-21600,-18e3,-21600,-18e3,-21600]},"America/Sao_Paulo":{ +time:[-1767225600,-1206968400,-1191369600,-1175385600,-1159833600,-633830400,-622076400,-602294400,-59184e4,-570758400,-560217600,-539136e3,-53136e4,-195436800,-184204800,-155174400,-150076800,-128908800,-121132800,-99964800,-89596800,-68428800,-57974400,499737600,511228800,530582400,540259200,562118400,571190400,592963200,602035200,624412800,634694400,656467200,666748800,687916800,697593600,719971200,728438400,750816e3,761702400,782265600,793152e3,813715200,823996800,84456e4,856051200,876096e3,888710400,908064e3,919555200,938908800,951609600,970963200,982454400,1003017600,1013904e3,1036281600,1045353600,1066521600,1076803200,1099353600,1108857600,1129420800,1140307200,1162684800,1172361600,119232e4,1203206400,1224374400,1234656e3,1255824e3,1266710400,1287273600,129816e4,1318723200,1330214400,1350777600,1361059200,1382227200,1392508800,1413676800,1424563200,1445126400,1456012800,1476576e3,1487462400,1508025600,1518912e3,1541289600,1550361600,1924981200],offset:[-11188,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800]},"America/Bogota":{time:[-2707689600,-1739059200,704851200,733881600,1924974e3],offset:[-17776,-17776,-18e3,-14400,-18e3]},"America/Caracas":{time:[-2524521600,-1826755200,-157766400,1197169200,1462069800,1924977600],offset:[-16064,-16060,-16200,-14400,-16200,-14400]},"Europe/Moscow":{time:[-2840140800,-1688256e3,-165681e4,-1641340800,-1627956e3,-1618700400,-1596416400,-1593804521,-1589846400,-1542416400,-1539478800,-1525305600,-1522713600,-1491177600,-1247529600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,695786400,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1414288800,1925002800], +offset:[9017,9017,9079,12679,9079,16279,12679,16279,14400,10800,14400,18e3,14400,10800,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800]},"Europe/Athens":{time:[-2344636800,-1686095940,-1182988800,-1178150400,-906854400,-904867200,-85725e4,-844473600,-828230400,-812419200,-552355200,-541641600,166492800,186195600,198036e3,213764400,228880800,244090800,260330400,275457600,291805200,307418400,323395200,338947200,354682800,370411200,386132400,401860800,417582e3,433310400,449031600,465364800,481086e3,496814400,512535600,528264e3,543985200,559713600,575434800,591163200,606884400,622612800,638334e3,654667200,670388400,686116800,701838e3,717566400,733287600,749016e3,764737200,780465600,796186800,811915200,828241200,846388800,859690800,877838400,891140400,909288e3,92259e4,941342400,954039600,972792e3,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[5692,5692,7200,10800,7200,10800,7200,3600,7200,3600,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Belgrade":{ +time:[-2713910400,-905821200,-85725e4,-844552800,-828219600,-812498400,-79677e4,-777938400,-766616400,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[4920,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Berlin":{time:[-2422051200,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-938901600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-776556e3,-765925200,-761173200,-748476e3,-733266e3,-717627600,-714603600,-71037e4,-701902800,-684972e3,-670453200,-654127200,-639003600,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], +offset:[3208,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,10800,7200,3600,7200,3600,7200,10800,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Bratislava":{time:[-3786825600,-2469398400,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-938901600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-765320400,-746575200,-733352400,-728514e3,-72126e4,-716421600,-701902800,-684972e3,-670453200,-654213600,-639003600,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[3464,3464,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Bucharest":{ +time:[-2469398400,-1213142400,-1187049600,-1175468400,-1159747200,-1144018800,-1127692800,-1111964400,-1096243200,-1080514800,-1064793600,-1049065200,-1033344e3,-1017615600,-1001894400,-986166e3,-970444800,-954716400,296611200,307497600,323823600,338950800,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670377600,686106e3,701827200,717555600,733276800,749005200,764726400,780451200,796176e3,811900800,828230400,846374400,859690800,877838400,891140400,909288e3,92259e4,941342400,954039600,972792e3,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[6264,6264,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Budapest":{ +time:[-2498256e3,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-1600466400,-1587243600,-1569708e3,-1555189200,-906771600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-778467600,-762649200,-749685600,-733269600,-717631200,-701902800,-686181600,-670453200,-654127200,-639003600,-492652800,-481161600,-461196e3,-449701200,-428536800,-418251600,-397087200,-386802e3,323827200,338950800,354672e3,370400400,386121600,40185e4,417571200,433299600,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[4580,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/London":{ +time:[-3852662400,-1691964e3,-1680469200,-1664143200,-1650142800,-1633903200,-1617483600,-1601848800,-1586034e3,-1570399200,-1552165200,-1538344800,-152253e4,-15075e5,-1490562e3,-1473631200,-1460926800,-1442786400,-1428872400,-1410732e3,-1396213200,-1379282400,-1364763600,-1348437600,-1333314e3,-1315778400,-1301259600,-1284328800,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-118998e4,-1175461200,-1159135200,-1143406800,-1126476e3,-1111957200,-1095631200,-1080507600,-1063576800,-1049058e3,-1032127200,-1017608400,-1001282400,-986158800,-969228e3,-950475600,-942012e3,-904514400,-896043600,-875484e3,-864594e3,-844034400,-832539600,-812584800,-798066e3,-781048800,-772059600,-764802e3,-748476e3,-733352400,-719445600,-717026400,-706741200,-699483600,-687996e3,-668034e3,-654732e3,-636584400,-622072800,-605739600,-590623200,-57429e4,-558568800,-542235600,-527119200,-512600400,-496274400,-481150800,-46422e4,-449701200,-432165600,-417646800,-401320800,-386197200,-369266400,-354747600,-337816800,-323298e3,-306972e3,-291848400,-276732e3,-257979600,-245282400,-22653e4,-213228e3,-195080400,-182383200,-163630800,-150933600,-132181200,-119484e3,-100731600,-88034400,-68677200,-59004e3,-37238400,57726e3,69818400,89175600,101268e3,120625200,132717600,152074800,164167200,183524400,196221600,214974e3,227671200,246423600,259120800,278478e3,290570400,309927600,32202e4,341377200,354675600,372823200,386125200,404272800,417574800,435722400,449024400,467776800,481078800,499226400,512528400,530676e3,543978e3,562125600,575427600,593575200,606877200,625629600,638326800,657079200,670381200,688528800,701830800,719978400,733280400,751428e3,76473e4,782877600,796179600,814327200,828234e3,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174784400,1193536800,1206838800,1224986400,1238288400,1256436e3,1269738e3,1288490400,1301187600,131994e4,1332637200,1351389600,1364691600,1382839200,1396141200,1414288800,1427590800,1445738400,1459040400,1477792800,149049e4,1509242400,1521939600,1540692e3,1553994e3,1572141600,1585443600,1603591200,1616893200,1635645600,1648342800,1667095200,1679792400,1698544800,1711846800,1729994400,1743296400,1761444e3,1774746e3,1792893600,1806195600,1824948e3,1837645200,1856397600,1869094800,1887847200,1901149200,1919296800,1932598800], +offset:[-75,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,0,3600,0,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0]},"Europe/Luxembourg":{time:[-2069712e3,-1692493200,-1680476400,-1662339600,-165015e4,-1632002400,-1618693200,-1612656e3,-1604278800,-1585515600,-1574038800,-1552255200,-1539997200,-1520546400,-1507510800,-1490569200,-1473642e3,-1459116e3,-1444006800,-142767e4,-1411866e3,-1396220400,-1379293200,-1364770800,-1348448400,-1333321200,-1316394e3,-1301266800,-1284339600,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-1191189600,-1175461200,-1160344800,-1143406800,-1127685600,-1111957200,-1096840800,-1080507600,-1063576800,-1049058e3,-1033336800,-1017608400,-1002492e3,-986158800,-969228e3,-950475600,-942012e3,-935182800,-85725e4,-844552800,-828219600,-812498400,-797979600,-781048800,-766616400,-745452e3,-733266e3,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], +offset:[1476,3600,7200,3600,7200,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Madrid":{time:[-2177453684,-1631926800,-1616886e3,-1601168400,-158535e4,-1442451600,-142767e4,-1379293200,-1364770800,-1348448400,-1333321200,-1316390400,-1301266800,-1284339600,-1269817200,-1026954e3,-1017615600,-1001898e3,-999478800,-986083200,-954111600,-940208400,-873075600,-862614e3,-842835600,-828313200,-811386e3,-796863600,-779936400,-765414e3,-748486800,-733964400,-652323600,-639010800,135126e3,150253200,166575600,181702800,196815600,212547600,22887e4,243997200,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], +offset:[-884,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Paris":{time:[-2486592e3,-1855958400,-1689814800,-1680393600,-1665363600,-1648339200,-1635123600,-1616889600,-1604278800,-158544e4,-1574038800,-1552262400,-1539997200,-1520553600,-1507510800,-1490572800,-1470618e3,-1459123200,-1444006800,-1427673600,-1411952400,-1396224e3,-1379293200,-1364774400,-1348448400,-1333324800,-1316394e3,-1301270400,-1284339600,-1269820800,-1253494800,-1238371200,-1221440400,-1206921600,-1191200400,-1175472e3,-1160355600,-1143417600,-1127696400,-1111968e3,-1096851600,-1080518400,-1063587600,-1049068800,-1033347600,-1017619200,-1002502800,-986169600,-969238800,-950486400,-942012e3,-932432400,-85725e4,-844552800,-828219600,-812498400,-800064e3,-796258800,-781048800,-766616400,196822800,212547600,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], +offset:[561,561,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Rome":{time:[-3252096e3,-2403562204,-1690761600,-168048e4,-1664755200,-1648944e3,-163512e4,-1616889600,-1604275200,-1585526400,-1571011200,-1555286400,-932428800,-85725e4,-844552800,-828219600,-812498400,-798066e3,-781048800,-76671e4,-750895200,-733352400,-719452800,-70191e4,-689205600,-670453200,-114048e3,-103161600,-81993600,-71708400,-50544e3,-40258800,-18489600,-8204400,1296e4,23245200,43804800,54694800,75859200,86749200,107913600,118198800,138758400,149648400,170812800,181098e3,202262400,212547600,233107200,243997200,265161600,276051600,296611200,307501200,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], +offset:[2996,2996,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Warsaw":{time:[-2840140800,-1717027200,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-1600466400,-1587157200,-1501718400,-931730400,-85725e4,-844552800,-828219600,-812498400,-796600800,-778723200,-762652800,-748483200,-733266e3,-715212e3,-701902800,-684972e3,-670453200,-654127200,-639003600,-397090800,-386805600,-371084400,-355356e3,-334191600,-323301600,-307580400,-291852e3,-271292400,-260402400,-239842800,-228952800,-208393200,-197503200,-176338800,-166053600,228877200,244000800,260326800,276055200,291776400,307504800,323830800,338954400,354675600,370404e3,386125200,401853600,417574800,433303200,449024400,465357600,481078800,496807200,512528400,528256800,543978e3,559706400,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], +offset:[5040,5040,3600,7200,3600,7200,3600,7200,7200,10800,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Istanbul":{time:[-2840140800,-1869868800,-1693699200,-168048e4,-1570406400,-1552176e3,-1538352e3,-1522540800,-1507507200,-1490572800,-1440201600,-1428019200,-1409702400,-1396483200,-931046400,-922665600,-917827200,-892425600,-875836800,-764726400,-744336e3,-733795200,-716428800,-701913600,-684979200,-670464e3,-654134400,-639014400,-62208e4,-60696e4,-590025600,-575510400,-235612800,-194832e3,-177724800,-165715200,107917200,121226400,133927200,152676e3,164685600,184125600,196221600,215575200,228880800,245815200,260330400,267926400,428464800,433908e3,468122400,482806800,496720800,512528400,528256800,543978e3,559706400,575427600,591156e3,606877200,622605600,638326800,65466e4,670381200,686109600,701830800,717559200,733280400,749008800,764125200,780458400,796179600,811908e3,828234e3,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301281200,1319947200,1332644400,1351396800,1364698800,1382846400,1396234800,1414296e3,1427598e3,1446955200,1459047600,1473206400,1925002800],offset:[6952,7016,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,10800,14400,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,10800]},"Europe/Zurich":{ +time:[-3675196800,-2385244800,-904431600,-891122400,-872982e3,-859672800,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[2048,1786,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Australia/Sydney":{time:[-2364076800,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,89172e3,100062e3,120621600,131511600,152071200,162961200,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,386737200,404877600,415767600,436327200,447217200,467776800,478666800,499226400,511326e3,530071200,542775600,562125600,57483e4,59418e4,606279600,625629600,636519600,657079200,667969200,688528800,699418800,719978400,731473200,752032800,762922800,783482400,794372400,814932e3,828241200,846381600,859690800,877831200,891140400,909280800,92259e4,941335200,954039600,967341600,985489200,1004234400,1017543600,1035684e3,1048993200,1067133600,1080442800,1099188e3,1111892400,1130637600,1143946800,1162087200,1174791600,1193536800,1207450800,1223172e3,1238900400,1254621600,127035e4,1286071200,1301799600,1317520800,1333249200,1349575200,1365303600,1381024800,1396753200,1412474400,1428202800,1443924e3,1459652400,1475373600,1491102e3,1506823200,1522551600,1538877600,1554606e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800], +offset:[36292,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600]},"Australia/Brisbane":{time:[-2366755200,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,625629600,636519600,657079200,667969200,688528800,699418800,1925028e3],offset:[36728,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3]},"Australia/Adelaide":{time:[-2364076800,-2230156800,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,89172e3,100062e3,120621600,131511600,152071200,162961200,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,384318e3,404877600,415767600,436327200,447217200,467776800,478666800,499226400,511326e3,530071200,542775600,562125600,57483e4,59418e4,606279600,625629600,637729200,657079200,667969200,688528800,701233200,719978400,731473200,752032800,764132400,783482400,796186800,814932e3,828241200,846381600,859690800,877831200,891140400,909280800,92259e4,941335200,954039600,972784800,985489200,1004234400,1017543600,1035684e3,1048993200,1067133600,1080442800,1099188e3,1111892400,1130637600,1143946800,1162087200,1174791600,1193536800,1207450800,1223172e3,1238900400,1254621600,127035e4,1286071200,1301799600,1317520800,1333249200,1349575200,1365303600,1381024800,1396753200,1412474400,1428202800,1443924e3,1459652400,1475373600,1491102e3,1506823200,1522551600,1538877600,1554606e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800], +offset:[33260,32400,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800]},"Australia/ACT":{time:[-2364076800,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,89172e3,100062e3,120621600,131511600,152071200,162961200,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,386737200,404877600,415767600,436327200,447217200,467776800,478666800,499226400,511326e3,530071200,542775600,562125600,57483e4,59418e4,606279600,625629600,636519600,657079200,667969200,688528800,699418800,719978400,731473200,752032800,762922800,783482400,794372400,814932e3,828241200,846381600,859690800,877831200,891140400,909280800,92259e4,941335200,954039600,967341600,985489200,1004234400,1017543600,1035684e3,1048993200,1067133600,1080442800,1099188e3,1111892400,1130637600,1143946800,1162087200,1174791600,1193536800,1207450800,1223172e3,1238900400,1254621600,127035e4,1286071200,1301799600,1317520800,1333249200,1349575200,1365303600,1381024800,1396753200,1412474400,1428202800,1443924e3,1459652400,1475373600,1491102e3,1506823200,1522551600,1538877600,1554606e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800],offset:[36292,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600]},"Asia/Almaty":{ +time:[-1441152e3,-1247529600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,695786400,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1925013600],offset:[18468,18e3,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,21600,18e3,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600]},"Asia/Ashkhabad":{time:[-1441152e3,-1247529600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,695786400,192501e4],offset:[14012,14400,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,18e3,14400,18e3]},"Asia/Tokyo":{time:[-2587678861,-683769600,-672274800,-654739200,-640825200,-620265600,-609375600,-588816e3,-577926e3,1925024400],offset:[33539,32400,36e3,32400,36e3,32400,36e3,32400,36e3,32400]},"Asia/Taipei":{time:[-2335219200,-1017792e3,-766191600,-745804800,-733795200,-716860800,-699580800,-683856e3,-670636800,-65232e4,-639100800,-620784e3,-607564800,-589248e3,-576028800,-562896e3,-541728e3,-528681600,-510192e3,-497145600,-478656e3,-465609600,-449798400,-433987200,-418176e3,-402451200,-38664e4,-370915200,-355104e3,-339379200,-323568e3,-302486400,-291945600,-270950400,-260409600,134006400,149817600,165542400,181353600,299635200,307584e3,1925020800],offset:[29160,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Singapore":{time:[-2177452800,-2038176e3,-1167609600,-1073001600,-894153600,-879638400,-766972800,378691200,1925020800],offset:[24925,24925,25200,26400,26400,27e3,32400,27e3,28800]},"Asia/Karachi":{time:[-1988150400,-862617600,-764121600,-576115200,38793600,1018137600,1033862400,1212278400,1225497600,1239753600,1257033600,192501e4],offset:[16092,19800,23400,19800,18e3,18e3,21600,18e3,21600,18e3,21600,18e3]},"Asia/Manila":{time:[-3944678400,-2229292800,-1046649600,-1038700800,-873244800,-794188800,-496195200,-489283200,259372800,275184e3,1925020800],offset:[-57360,29040,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Shanghai":{ +time:[-2177452800,-1600646400,-1585872e3,-933638400,-922060800,-908841600,-888796800,-881020800,-767836800,-745804800,-733795200,-716860800,-699580800,-683856e3,-670636800,-65232e4,-649987200,515556e3,527047200,545191200,558496800,577245600,589946400,608695200,622000800,640144800,653450400,671594400,6849e5,1925020800],offset:[29143,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Seoul":{time:[-1948752e3,-1830384e3,-767318400,-681177600,-672192e3,-654739200,-640828800,-623376e3,-609379200,-588816e3,-577929600,-498096e3,-462672e3,-451699200,-429753600,-418262400,-399513600,-387417600,-368064e3,-355968e3,-336614400,-324518400,-305164800,-293068800,-264902400,547610400,560919600,57906e4,592369200,1925024400],offset:[30472,30600,32400,32400,36e3,32400,36e3,32400,36e3,32400,36e3,32400,30600,34200,30600,34200,30600,34200,30600,34200,30600,34200,30600,34200,30600,32400,36e3,32400,36e3,32400]},"Asia/Tehran":{time:[-1704153600,-757382400,247190400,259286400,277776e3,283996800,290822400,306547200,322444800,338515200,673228800,685497600,701222400,71712e4,732758400,748656e3,764294400,780192e3,795830400,811728e3,827366400,843264e3,858988800,874886400,890524800,906422400,922060800,937958400,953596800,969494400,985219200,1001116800,1016755200,1032652800,1048291200,1064188800,1079827200,1095724800,1111449600,1127347200,1206057600,1221955200,123768e4,1253577600,1269216e3,1285113600,1300752e3,1316649600,1332288e3,1348185600,1363910400,1379808e3,1395446400,1411344e3,1426982400,144288e4,1458518400,1474416e3,1490140800,1506038400,1521676800,1537574400,1553212800,1569110400,1584748800,1600646400,1616371200,1632268800,1647907200,1663804800,1679443200,1695340800,1710979200,1726876800,1742601600,1758499200,1774137600,1790035200,1805673600,1821571200,1837209600,1853107200,1868745600,1884643200,1900368e3,1916265600,1931904e3],offset:[12344,12344,12600,14400,18e3,14400,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600]},"Asia/Dubai":{time:[-1577923200,1925006400],offset:[13272,14400]},"Asia/Kolkata":{time:[-3645216e3,-3155673600,-2019686400,-891561600,-872035200,-862617600,-764121600,1925011800],offset:[21208,21200,19270,19800,23400,19800,23400,19800]},"Asia/Hong_Kong":{ +time:[-2056663398,-900882e3,-891547200,-884217600,-761176800,-747878400,-728508600,-717021e3,-697059e3,-683757e3,-668028600,-654726600,-636579e3,-623277e3,-605129400,-591827400,-573679800,-559773e3,-541625400,-528323400,-510179400,-498083400,-478729800,-466633800,-446675400,-435184200,-415225800,-403129800,-383776200,-371680200,-352326600,-340230600,-320877e3,-308781e3,-288822600,-277331400,-257373e3,-245881800,-225923400,-213827400,-194473800,-182377800,-163024200,-148509e3,-132784200,-117059400,-101334600,-85609800,-69280200,-53555400,-37830600,-22105800,-6381e3,9343800,25068600,40793400,56518200,72243e3,88572600,104297400,120022200,126070200,151471800,167196600,182921400,198646200,214371e3,295414200,309324600,1925020800],offset:[27402,28800,32400,30600,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Bangkok":{time:[-2840140800,-1570060800,1925017200],offset:[24124,24124,25200]},"Asia/Chongqing":{time:[-2177452800,-1600646400,-1585872e3,-933638400,-922060800,-908841600,-888796800,-881020800,-767836800,-745804800,-733795200,-716860800,-699580800,-683856e3,-670636800,-65232e4,-649987200,515556e3,527047200,545191200,558496800,577245600,589946400,608695200,622000800,640144800,653450400,671594400,6849e5,1925020800],offset:[29143,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Jerusalem":{ +time:[-2840140800,-1640995200,-933631200,-923086800,-919029600,-857336400,-844293600,-825800400,-812671200,-794178e3,-779839200,-762642e3,-748303200,-731106e3,-681948e3,-673214400,-667947600,-652312800,-636411600,-622072800,-608936400,-591832800,-572475600,-558568800,-542840400,-527724e3,-514414800,-490831200,-482965200,-459381600,-451515600,-428536800,-418251600,-400111200,-387406800,142387200,150854400,167184e3,178675200,334108800,337741200,452649600,46233e4,482284800,494380800,516758400,526435200,545443200,558489600,576633600,589334400,609897600,620784e3,638323200,651628800,669772800,683683200,701827200,715737600,733708800,747187200,765158400,778032e3,796608e3,810086400,826848e3,842832e3,858902400,874195200,890352e3,90504e4,923018400,936324e3,955677600,970794e3,986778e3,1001293200,1017363600,1033952400,1048813200,1065142800,1081299600,1095814800,1112320800,1128823200,1143770400,1159668e3,117522e4,1189908e3,1206669600,1223172e3,1238119200,1254016800,1269568800,1284256800,1301623200,1317520800,1333072800,1348365600,1364522400,1382839200,1395972e3,1414288800,1427421600,1445738400,1458871200,1477792800,1490320800,1509242400,1521770400,1540692e3,1553824800,1572141600,1585274400,1603591200,1616724e3,1635645600,1648173600,1667095200,1679623200,1698544800,1711677600,1729994400,1743127200,1761444e3,1774576800,1792893600,1806026400,1824948e3,1837476e3,1856397600,1868925600,1887847200,190098e4,1919296800,1932429600],offset:[8454,8440,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,14400,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Asia/Kuwait":{time:[-719625600,1925002800],offset:[11212,10800]},"Asia/Muscat":{time:[-1577923200,1925006400],offset:[13272,14400]},"Asia/Qatar":{time:[-1577923200,76204800,1925002800],offset:[12368,14400,10800]},"Asia/Riyadh":{time:[-719625600,1925002800],offset:[11212,10800]},"Pacific/Auckland":{ +time:[-3192393600,-1330293600,-1320012e3,-1300658400,-1287352800,-1269208800,-1255903200,-1237759200,-1224453600,-1206309600,-1192399200,-117486e4,-1160949600,-1143410400,-1125871200,-1112565600,-1094421600,-1081116e3,-1062972e3,-1049666400,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-923263200,-757382400,152676e3,162356400,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,384318e3,404877600,415767600,436327200,447217200,467776800,478666800,499226400,510116400,530676e3,541566e3,562125600,573620400,59418e4,60507e4,623815200,637729200,655264800,669178800,686714400,700628400,718164e3,732682800,749613600,764132400,781063200,795582e3,812512800,827031600,844567200,858481200,876016800,889930800,907466400,921985200,938916e3,953434800,970365600,984884400,100242e4,1016334e3,1033869600,1047783600,1065319200,1079838e3,1096768800,1111287600,1128218400,1142737200,1159668e3,1174186800,1191117600,1207450800,1222567200,1238900400,1254016800,127035e4,1285466400,1301799600,1316916e3,1333249200,1348970400,1365303600,138042e4,1396753200,1411869600,1428202800,1443319200,1459652400,1474768800,1491102e3,1506218400,1522551600,1538272800,1554606e3,1569722400,1586055600,1601172e3,1617505200,1632621600,1648954800,1664071200,1680404400,1695520800,1712458800,1727575200,1743908400,1759024800,1775358e3,1790474400,1806807600,1821924e3,1838257200,1853373600,1869706800,1885428e3,1901761200,1916877600,1933210800],offset:[41944,41400,45e3,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800]},"Pacific/Chatham":{ +time:[-3192393600,-757382400,152678700,162359100,183523500,195018300,215577900,226467900,247027500,257917500,278477100,289367100,309926700,320816700,341376300,352266300,372825900,384320700,404880300,415770300,436329900,447219900,467779500,478669500,499229100,510119100,530678700,541568700,562128300,573623100,594182700,605072700,623817900,637731900,655267500,669181500,686717100,700631100,718166700,732685500,749616300,764135100,781065900,795584700,812515500,827034300,844569900,858483900,876019500,889933500,907469100,921987900,938918700,953437500,970368300,984887100,1002422700,1016336700,1033872300,1047786300,1065321900,1079840700,1096771500,1111290300,1128221100,1142739900,1159670700,1174189500,1191120300,1207453500,1222569900,1238903100,1254019500,1270352700,1285469100,1301802300,1316918700,1333251900,1348973100,1365306300,1380422700,1396755900,1411872300,1428205500,1443321900,1459655100,1474771500,1491104700,1506221100,1522554300,1538275500,1554608700,1569725100,1586058300,1601174700,1617507900,1632624300,1648957500,1664073900,1680407100,1695523500,1712461500,1727577900,1743911100,1759027500,1775360700,1790477100,1806810300,1821926700,1838259900,1853376300,1869709500,1885430700,1901763900,1916880300,1933213500],offset:[44028,44100,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500]},"Pacific/Fakaofo":{time:[-2177452800,1325203200,1925038800],offset:[-41096,-39600,46800]},"Pacific/Honolulu":{time:[-2334139200,-1157320800,-1155470400,-880236e3,-769429800,-765410400,-712188e3,1924956e3],offset:[-37886,-37800,-34200,-37800,-34200,-34200,-37800,-36e3]},"America/Mexico_City":{ +time:[-1514763396,-1343091600,-1234828800,-1220317200,-1207180800,-1191369600,-975283200,-963187200,-917136e3,-907372800,-821923200,-810086400,-627523200,-613008e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,989114400,1001815200,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1175392800,1193536800,1207447200,1224986400,1238896800,1256436e3,1270346400,1288490400,1301796e3,131994e4,1333245600,1351389600,13653e5,1382839200,1396749600,1414288800,1428199200,1445738400,1459648800,1477792800,1491098400,1509242400,1522548e3,1540692e3,1554602400,1572141600,1586052e3,1603591200,1617501600,1635645600,1648951200,1667095200,1680400800,1698544800,1712455200,1729994400,1743904800,1761444e3,1775354400,1792893600,1806804e3,1824948e3,1838253600,1856397600,1869703200,1887847200,1901757600,1919296800,1933207200],offset:[-23796,-25200,-21600,-25200,-21600,-25200,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600]},"Africa/Cairo":{time:[-2185401600,-929836800,-923097600,-906163200,-892857600,-875836800,-857779200,-844300800,-825811200,-812678400,-794188800,-779846400,-762652800,-399081600,-38664e4,-368323200,-355104e3,-336783600,-323643600,-305161200,-292021200,-273625200,-260485200,-242089200,-228949200,-210553200,-197413200,-178930800,-165790800,-147394800,-134254800,-115858800,-102632400,-84322800,-71096400,-52700400,-39474e3,-21164400,-7938e3,10371600,23598e3,41907600,55134e3,7353e4,86756400,105066e3,118292400,136602e3,149828400,168138e3,181364400,199760400,212986800,231296400,244522800,262832400,276058800,294368400,307594800,325990800,339217200,357526800,370753200,396406800,402289200,426819600,433825200,452221200,465447600,483757200,496983600,515293200,528519600,546829200,560055600,578451600,591678e3,610419600,623214e3,641523600,65475e4,673059600,686286e3,704682e3,717908400,736218e3,749444400,767754e3,780980400,799027200,812332800,830476800,843782400,861926400,875232e3,893376e3,906681600,925430400,938736e3,95688e4,970185600,988329600,1001635200,1019779200,1033084800,1051228800,1064534400,1083283200,1096588800,1114732800,1128038400,1146182400,1158883200,1177632e3,1189123200,1209081600,1219968e3,1240531200,1250812800,1272585600,1281484800,1284076800,1285891200,1400198400,1403827200,1406851200,1411689600,1924999200], +offset:[7509,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Africa/Johannesburg":{time:[-2458166400,-2109283200,-860968800,-845244e3,-829519200,-813794400,1924999200],offset:[6720,5400,7200,10800,7200,10800,7200]},"Asia/Kathmandu":{time:[-1577923200,504921600,1925012700],offset:[20476,19800,20700]},"US/Mountain":{time:[-2717668796,-1633298400,-1615154400,-1601848800,-1583704800,-1570399200,-1551650400,-1538949600,-1534111200,-880236e3,-769417200,-765410400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], +offset:[-25196,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200]},"Europe/Helsinki":{time:[-2890252800,-1535932800,-875664e3,-859762800,354679200,370407600,386128800,401857200,417582e3,433310400,449031600,465364800,481086e3,496814400,512535600,528264e3,543985200,559713600,575434800,591163200,606884400,622612800,638334e3,654667200,670388400,686116800,701838e3,717566400,733287600,749016e3,764737200,780465600,796186800,811915200,828241200,846388800,859690800,877838400,891140400,909288e3,92259e4,941342400,954039600,972792e3,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[5989,5989,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Stockholm":{ +time:[-2871676800,-2208988800,-1692493200,-1680476400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[4332,3614,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Copenhagen":{time:[-2524521600,-2398291200,-1692493200,-1680483600,-935107200,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-769381200,-747007200,-736376400,-715212e3,-706741200,-683157600,-675291600,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], +offset:[3020,3020,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Atlantic/Reykjavik":{time:[-1956614400,-1668214800,-1647212400,-1636678800,-161343e4,-1605142800,-1581894e3,-1539565200,-153135e4,-968029200,-952293600,-942012e3,-920239200,-909961200,-888789600,-877906800,-857944800,-846457200,-826495200,-815007600,-795045600,-783558e3,-762991200,-752108400,-731541600,-717634800,-700092e3,-686185200,-668642400,-654735600,-636588e3,-623286e3,-605743200,-591836400,-573688800,-559782e3,-542239200,-528332400,-510789600,-496882800,-47934e4,-465433200,-447890400,-433983600,-415836e3,-401929200,-384386400,-370479600,-352936800,-33903e4,-321487200,-307580400,-290037600,-276130800,-258588e3,-244681200,-226533600,-212626800,-195084e3,-181177200,-163634400,-149727600,-132184800,-118278e3,-100735200,-86828400,-68680800,-54774e3,1924992e3],offset:[-5280,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0]},"Europe/Tallinn":{time:[-2840140800,-1638316800,-1632002400,-1618693200,-1593820800,-1535932800,-927936e3,-892944e3,-85725e4,-844552800,-828219600,-812498400,-797644800,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909288e3,92259e4,941342400,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3], +offset:[5940,5940,3600,7200,3600,5940,7200,10800,7200,3600,7200,3600,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Riga":{time:[-2840140800,-1632002400,-1618693200,-1601676e3,-1597266e3,-1377302400,-928022400,-899510400,-85725e4,-844552800,-828219600,-812498400,-79677e4,-795830400,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,843966e3,859690800,877838400,891140400,909288e3,92259e4,941342400,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[5794,5794,9394,5794,9394,5794,7200,10800,7200,3600,7200,3600,7200,3600,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Vilnius":{ +time:[-2840140800,-1672531200,-1585094400,-1561248e3,-1553558400,-928195200,-900115200,-85725e4,-844552800,-828219600,-812498400,-802137600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891140400,909284400,922586400,941338800,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[6076,5040,5736,3600,7200,3600,10800,7200,3600,7200,3600,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,7200,3600,7200,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"America/Lima":{time:[-2524521600,-1938556800,-1009843200,-1002067200,-986774400,-971049600,-955324800,-9396e5,504921600,512697600,536457600,544233600,631152e3,638928e3,757382400,765158400,1924974e3],offset:[-18492,-18516,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3]},"America/Santiago":{ +time:[-2524521600,-1892678400,-1688428800,-1619222400,-1593820800,-1336003200,-13176e5,-1304380800,-1286064e3,-1272844800,-1254528e3,-1241308800,-1222992e3,-1209772800,-1191369600,-1178150400,-870566400,-865296e3,-740534400,-736387200,-718070400,-713667600,-36633600,-23932800,-3369600,7516800,24451200,37756800,55900800,69206400,87955200,100656e3,118195200,132105600,150854400,163555200,182304e3,195609600,213753600,227059200,245203200,258508800,277257600,289958400,308707200,321408e3,340156800,353462400,371606400,384912e3,403056e3,416361600,434505600,447811200,46656e4,479260800,498009600,510710400,529459200,545184e3,560908800,574214400,592358400,605664e3,624412800,637113600,653443200,668563200,687312e3,700617600,718761600,732067200,750211200,763516800,781660800,794966400,813715200,826416e3,845164800,85968e4,876614400,88992e4,906854400,923184e3,939513600,952819200,971568e3,984268800,1003017600,1015718400,1034467200,1047168e3,1065916800,1079222400,1097366400,1110672e3,1128816e3,1142121600,1160870400,1173571200,119232e4,1206835200,1223769600,1237075200,1255219200,1270339200,1286668800,1304812800,1313884800,1335657600,1346544e3,1367107200,1378598400,1398556800,1410048e3,1463270400,1471132800,149472e4,1502582400,1526169600,1534032e3,1554595200,1567900800,1586044800,1599350400,1617494400,16308e5,1648944e3,1662249600,1680393600,1693699200,1712448e3,1725753600,1743897600,1757203200,1775347200,1788652800,1806796800,1820102400,1838246400,1851552e3,1870300800,1883001600,1901750400,1915056e3,19332e5],offset:[-16966,-16966,-18e3,-16966,-14400,-16966,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-10800,-14400,-18e3,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800]},"Asia/Bahrain":{time:[-1577923200,76204800,1925002800],offset:[12368,14400,10800]},"Asia/Jakarta":{time:[-3231273600,-1451693568,-117288e4,-876614400,-766022400,-683856e3,-620784e3,-189388800,1925017200],offset:[25632,25632,26400,27e3,32400,27e3,28800,27e3,25200]},"Africa/Lagos":{time:[-2035584e3,-1940889600,-1767225600,-1588464e3,1924995600],offset:[815,0,815,1800,3600]},"Pacific/Norfolk":{ +time:[-2177452800,-599616e3,152071200,162961200,1443924e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800],offset:[40312,40320,41400,45e3,41400,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200]},"America/Juneau":{time:[-3225169588,-2188987200,-880236e3,-769420800,-765410400,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,438998400,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3],offset:[54139,-32261,-28800,-25200,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-28800,-28800,-25200,-28800,-25200,-28800,-25200,-32400,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400]},"Asia/Ho_Chi_Minh":{time:[-2004048e3,-1851552e3,-852080400,-782614800,-767836800,-718070400,-457747200,-315622800,171849600,1925017200],offset:[25600,25590,25200,28800,32400,25200,28800,25200,28800,25200]},"Australia/Perth":{ +time:[-2337897600,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,152071200,162961200,436327200,447217200,690343200,699418800,1165111200,1174791600,1193536800,1206846e3,1224986400,1238295600,1925020800],offset:[27804,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Europe/Malta":{time:[-2403475200,-1690761600,-168048e4,-1664755200,-1648944e3,-163512e4,-1616889600,-1604275200,-1585526400,-1571011200,-1555286400,-932428800,-85725e4,-844552800,-828219600,-812584800,-798066e3,-781048800,-76671e4,-750895200,-733352400,-719452800,-70191e4,-689205600,-670453200,-114048e3,-103161600,-81993600,-71708400,-50544e3,-40258800,-18489600,-8204400,1296e4,23245200,43804800,54694800,75859200,86749200,102384e3,118112400,135734400,148525200,167191200,180496800,198640800,211946400,230090400,243396e3,26154e4,274845600,292989600,306295200,323316e3,338349600,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[3484,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Amsterdam":{ +time:[-4260211200,-1693699200,-168048e4,-1663452e3,-1650142800,-1633212e3,-1617483600,-1601157600,-1586034e3,-1569708e3,-1554584400,-1538258400,-1523134800,-15075e5,-1490562e3,-1470175200,-1459112400,-1443996e3,-1427662800,-1406671200,-1396213200,-1376949600,-1364763600,-1345413600,-1333314e3,-1313791200,-1301259600,-1282255200,-126981e4,-1250719200,-1238360400,-1219183200,-1206910800,-1186956e3,-1175461200,-1156024800,-1143406800,-1124488800,-1111957200,-1092952800,-1080507600,-1061330400,-1049058e3,-1029189600,-1025740800,-1017608400,-998258400,-986158800,-966722400,-954104400,-935020800,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-766616400,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[1172,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,4800,1200,4800,1200,4800,1200,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Brussels":{ +time:[-2840140800,-2450994150,-1740355200,-1693699200,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-1613822400,-1604278800,-1585526400,-1574038800,-1552262400,-1539997200,-1520553600,-1507510800,-1490572800,-1473642e3,-1459123200,-1444006800,-1427673600,-1411952400,-1396224e3,-1379293200,-1364774400,-1348448400,-1333324800,-1316394e3,-1301259600,-1284328800,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-1191189600,-1175461200,-1160344800,-1143406800,-1127685600,-1111957200,-1096840800,-1080507600,-1063576800,-1049058e3,-1033336800,-1017608400,-1002492e3,-986158800,-969228e3,-950475600,-942012e3,-934664400,-85725e4,-844552800,-828219600,-812498400,-798066e3,-781048800,-766616400,-745452e3,-733266e3,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[1050,1050,0,3600,7200,3600,7200,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Lisbon":{ +time:[-1830386205,-1689555600,-1677798e3,-1667437200,-1647734400,-1635814800,-1616198400,-1604365200,-1584662400,-1572742800,-155304e4,-1541206800,-1521504e3,-1442451600,-1426809600,-1379293200,-1364774400,-1348448400,-1333324800,-1316394e3,-1301270400,-1284339600,-1269820800,-1221440400,-1206921600,-1191200400,-1175472e3,-1127696400,-1111968e3,-1096851600,-1080518400,-1063587600,-1049068800,-1033347600,-1017619200,-1002502800,-986169600,-969238800,-950486400,-942022800,-922665600,-906944400,-891129600,-877309200,-873680400,-864e6,-857952e3,-845859600,-842835600,-831340800,-825897600,-81441e4,-810781200,-799891200,-794448e3,-782960400,-779331600,-768441600,-762998400,-749091600,-733363200,-717631200,-701902800,-686181600,-670453200,-654732e3,-639003600,-623282400,-607554e3,-591832800,-575499600,-559778400,-54405e4,-528328800,-512600400,-496879200,-481150800,-465429600,-449701200,-43398e4,-417646800,-401925600,-386197200,-370476e3,-354747600,-339026400,-323298e3,-307576800,-291848400,-276127200,-260398800,-244677600,-228344400,-212623200,-196894800,-181173600,-165445200,-149724e3,-133995600,-118274400,212547600,228268800,243997200,260323200,276051600,291772800,307504800,323222400,338954400,354675600,370404e3,386125200,401853600,417578400,433303200,449024400,465357600,481078800,496807200,512528400,528256800,543978e3,559706400,575427600,591156e3,606877200,622605600,638326800,65466e4,670381200,686109600,701830800,717559200,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174784400,1193536800,1206838800,1224986400,1238288400,1256436e3,1269738e3,1288490400,1301187600,131994e4,1332637200,1351389600,1364691600,1382839200,1396141200,1414288800,1427590800,1445738400,1459040400,1477792800,149049e4,1509242400,1521939600,1540692e3,1553994e3,1572141600,1585443600,1603591200,1616893200,1635645600,1648342800,1667095200,1679792400,1698544800,1711846800,1729994400,1743296400,1761444e3,1774746e3,1792893600,1806195600,1824948e3,1837645200,1856397600,1869094800,1887847200,1901149200,1919296800,1932598800],offset:[-2205,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,0,3600,7200,3600,0,3600,7200,3600,0,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,3600,7200,3600,7200,3600,7200,3600,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0]},"Europe/Dublin":{ +time:[-2821651200,-1691964e3,-1680469200,-1664143200,-1650142800,-1633903200,-1617483600,-1601848800,-1586034e3,-1570399200,-1552165200,-1538344800,-152253e4,-15075e5,-1490562e3,-1473631200,-1460926800,-1442786400,-1428872400,-1410732e3,-1396213200,-1379282400,-1364763600,-1348437600,-1333314e3,-1315778400,-1301259600,-1284328800,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-118998e4,-1175461200,-1159135200,-1143406800,-1126476e3,-1111957200,-1095631200,-1080507600,-1063576800,-1049058e3,-1032127200,-1017608400,-1001282400,-986158800,-969228e3,-950475600,-942012e3,-733352400,-719445600,-699483600,-684972e3,-668034e3,-654732e3,-636584400,-622072800,-605739600,-590623200,-57429e4,-558568800,-542235600,-527119200,-512600400,-496274400,-481150800,-46422e4,-449701200,-432165600,-417646800,-401320800,-386197200,-369266400,-354747600,-337816800,-323298e3,-306972e3,-291848400,-276732e3,-257979600,-245282400,-22653e4,-213228e3,-195080400,-182383200,-163630800,-150933600,-132181200,-119484e3,-100731600,-88034400,-68677200,-59004e3,57726e3,69818400,89175600,101268e3,120625200,132717600,152074800,164167200,183524400,196221600,214974e3,227671200,246423600,259120800,278478e3,290570400,309927600,32202e4,341377200,354675600,372823200,386125200,404272800,417574800,435722400,449024400,467776800,481078800,499226400,512528400,530676e3,543978e3,562125600,575427600,593575200,606877200,625629600,638326800,657079200,670381200,688528800,701830800,719978400,733280400,751428e3,76473e4,782877600,796179600,814327200,828234e3,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174784400,1193536800,1206838800,1224986400,1238288400,1256436e3,1269738e3,1288490400,1301187600,131994e4,1332637200,1351389600,1364691600,1382839200,1396141200,1414288800,1427590800,1445738400,1459040400,1477792800,149049e4,1509242400,1521939600,1540692e3,1553994e3,1572141600,1585443600,1603591200,1616893200,1635645600,1648342800,1667095200,1679792400,1698544800,1711846800,1729994400,1743296400,1761444e3,1774746e3,1792893600,1806195600,1824948e3,1837645200,1856397600,1869094800,1887847200,1901149200,1919296800,1932598800],offset:[-1500,-1521,2079,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0]},"Europe/Oslo":{ +time:[-2366755200,-1691881200,-1680566400,-927507600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-765320400,-340840800,-324507600,-308786400,-293058e3,-277336800,-261608400,-245887200,-230158800,-214437600,-198709200,-182988e3,-166654800,-147909600,-135205200,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[2580,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]}}},15625:(e,t,i)=>{"use strict";i.d(t,{Version:()=>r});var s=i(88537);class r{constructor(e,t){this._major=e,this._minor=t}major(){return this._major}minor(){return this._minor}isZero(){return 0===this._major&&0===this._minor}toString(){return this._major+"."+this._minor}compareTo(e){return this._majore._major?1:this._minore._minor?1:0}isLess(e){return this.compareTo(e)<0}isLessOrEqual(e){return this.compareTo(e)<=0}isEqual(e){return 0===this.compareTo(e)}isGreater(e){return this.compareTo(e)>0}isGreaterOrEqual(e){return this.compareTo(e)>=0}static parse(e){if(e instanceof r)return new r(e.major(),e.minor());if("number"==typeof e)return(0,s.assert)(Math.floor(e)===e,"Version should not be a float number"),new r(e,0);if("string"==typeof e){const t=e.split(".");if(1===t.length){const i=parseInt(t[0],10);return(0,s.assert)(!isNaN(i),"Bad version string: "+e),new r(i,0)}if(2===t.length){const i=parseInt(t[0],10);(0,s.assert)(!isNaN(i),"Bad version string: "+e);const n=parseInt(t[1],10);return(0, +s.assert)(!isNaN(n),"Bad version string: "+e),new r(i,n)}throw new Error("Bad version string (one dot expected): "+e)}throw new Error("Bad version: "+e)}}r.ZERO=new r(0,0)},40144:(e,t,i)=>{"use strict";i.d(t,{WatchedObject:()=>a});var s=i(52714),r=i.n(s),n=i(80643);function o(e,t){return(0,n.deepEquals)(e,t)[0]}class a extends(r()){constructor(e,t=o){super(e),this._comparator=t}setValue(e,t){!1===this._comparator(this.value(),e)&&super.setValue(e,t)}}},52714:(e,t,i)=>{"use strict";e=i.nmd(e);var s=i(98125).getLogger("Common.WatchedValue");function r(){}function n(e){if(!(this instanceof n))return new n(e);arguments.length>0&&(this._value=e),this._listeners=[]}n.prototype.value=function(){return this._owner?this._owner._value:this._value},n.prototype.setValue=function(e,t){var i=this._owner?this._owner:this;if("function"==typeof i.hook&&(e=i.hook(e)),i.writeLock)return i._value;var r=i._value===e||Number.isNaN(i._value)&&Number.isNaN(e);if(!t&&r&&i.hasOwnProperty("_value"))return e;i._value=e;for(var n=i._listeners.slice(),o=0,a=0;a{"use strict";i.d(t,{TOOLBAR_WIDTH_EXPANDED:()=>s,TOOLBAR_WIDTH_COLLAPSED:()=>r});const s=52,r=5},84746:(e,t,i)=>{"use strict";i.d(t,{DrawingToolbarBootloader:()=>a});var s=i(85593),r=i(45216),n=i(38881),o=i(5683);class a extends n.ChunkLoader{constructor(e){super(),this._opts=e,s.isDrawingToolbarVisible.value()&&(this._opts.resizerBridge.negotiateWidth(r.TOOLBAR_WIDTH_EXPANDED),this._opts.resizerBridge.container.value().appendChild((0,o.createStubElem)()))}_startLoading(){return Promise.all([i.e(5514),i.e(9129),i.e(2e3),i.e(6363),i.e(3466),i.e(1112),i.e(4763),i.e(323),i.e(5175),i.e(7757),i.e(9255),i.e(6438),i.e(8994),i.e(1890),i.e(1550),i.e(2878)]).then(i.bind(i,26862)).then(e=>new e.DrawingToolbarRenderer(this._opts.resizerBridge.container.value(),{...this._opts}))}}},85593:(e,t,i)=>{"use strict";i.d(t,{isDrawingToolbarVisible:()=>c});var s=i(56840),r=i(67337),n=i(52714),o=i.n(n);const a=!r.enabled("hide_left_toolbar_by_default"),l=s.getBool("ChartDrawingToolbarWidget.visible",a),c=new(o())(l)},9753:(e,t,i)=>{"use strict";i.d(t,{HeaderToolbarBootloader:()=>o});var s=i(18387),r=i(5683),n=i(38881);class o extends n.ChunkLoader{constructor(e,t){super(),this._toolsBootloader=e,this._headerProps=t,this._headerProps.resizerBridge.negotiateHeight(s.HEADER_TOOLBAR_HEIGHT_EXPANDED),this._headerProps.resizerBridge.container.value().appendChild((0,r.createStubElem)())}_startLoading(){return Promise.all([this._toolsBootloader.load(),this._loadHeaderToolbar()]).then(([e,t])=>new t(this._headerProps.resizerBridge.container.value(),{...this._headerProps,tools:e}))}_loadHeaderToolbar(){return Promise.all([i.e(5514),i.e(8268),i.e(1320),i.e(9255),i.e(3005)]).then(i.bind(i,53335)).then(e=>e.HeaderToolbarRenderer)}}},18387:(e,t,i)=>{"use strict";i.d(t,{HEADER_TOOLBAR_HEIGHT_EXPANDED:()=>r,HEADER_TOOLBAR_HEIGHT_COLLAPSED:()=>n});var s=i(98033);const r=parseInt(s["css-value-header-toolbar-height"]),n=3},84120:(e,t,i)=>{"use strict";i.d(t,{RestrictedToolsetBootloader:()=>r});var s=i(38881);class r extends s.ChunkLoader{_startLoading(){return Promise.all([i.e(5514),i.e(9129),i.e(2e3),i.e(6363),i.e(3466),i.e(7836),i.e(3921),i.e(5998),i.e(1112),i.e(6909),i.e(4763),i.e(7419),i.e(4408),i.e(9042),i.e(976),i.e(4474),i.e(8054),i.e(5175),i.e(3944),i.e(3645),i.e(9255),i.e(6438),i.e(8994),i.e(638),i.e(5516)]).then(i.bind(i,79389)).then(e=>e.getRestrictedToolSet())}}},22668:(e,t,i)=>{"use strict";i.d(t,{FavoriteStudyTemplateService:()=>r});var s=i(9127);class r extends s.CommonJsonStoreService{constructor(e,t){super(e,t,"FAVORITE_STUDY_TEMPLATES_CHANGED","StudyTemplates.quicks",[])}remove(e){this.set(this.get().filter(t=>t!==e))}}},52741:(e,t,i)=>{"use strict";i.d(t,{DropdownApi:()=>s});class s{constructor(e,t){this._headerToolbar=e,this._dropdownId=t}applyOptions(e){this._headerToolbar.updateDropdown(this._dropdownId,e)}remove(){this._headerToolbar.removeDropdown(this._dropdownId)}}}, +62060:(e,t,i)=>{"use strict";var s;i.d(t,{ACTION_ID:()=>s}),function(e){e.TVActionId="TVActionId",e.ChartApplyIndicatorsToAllCharts="Chart.ApplyIndicatorsToAllCharts",e.ChartChangeTimeZone="Chart.ChangeTimeZone",e.ChartDialogsShowChangeInterval="Chart.Dialogs.ShowChangeInterval",e.ChartDialogsShowChangeSymbol="Chart.Dialogs.ShowChangeSymbol",e.ChartDialogsShowCompareOrAddSymbol="Chart.Dialogs.ShowCompareOrAddSymbol",e.ChartDialogsShowGeneralSettings="Chart.Dialogs.ShowGeneralSettings",e.ChartDialogsShowGeneralSettingsScalesTab="Chart.Dialogs.ShowGeneralSettings.ScalesTab",e.ChartDialogsShowGeneralSettingsSymbolTab="Chart.Dialogs.ShowGeneralSettings.SymbolTab",e.ChartDialogsShowGoToDate="Chart.Dialogs.ShowGoToDate",e.ChartDialogsShowInsertIndicators="Chart.Dialogs.ShowInsertIndicators",e.ChartDialogsShowSymbolInfo="Chart.Dialogs.ShowSymbolInfo",e.ChartDrawingToolbarToggleVisibility="Chart.DrawingToolbar.ToggleVisibility",e.ChartLinesToggleBidAskLinesVisibility="Chart.Lines.ToggleBidAskLinesVisibility",e.ChartLinesToggleHighLowLinesVisibility="Chart.Lines.ToggleHighLowLinesVisibility",e.ChartLinesToggleAverageLineVisibility="Chart.Lines.ToggleAverageLineVisibility",e.ChartLinesToggleSeriesPrevCloseLineVisibility="Chart.Lines.ToggleSeriesPrevCloseLineVisibility",e.ChartLinesToggleSeriesPriceLineVisibility="Chart.Lines.ToggleSeriesPriceLineVisibility",e.ChartLineToolPitchforkChangeTypeToInside="Chart.LineTool.Pitchfork.ChangeTypeToInside",e.ChartLineToolPitchforkChangeTypeToModifiedSchiff="Chart.LineTool.Pitchfork.ChangeTypeToModifiedSchiff",e.ChartLineToolPitchforkChangeTypeToOriginal="Chart.LineTool.Pitchfork.ChangeTypeToOriginal",e.ChartLineToolPitchforkChangeTypeToSchiff="Chart.LineTool.Pitchfork.ChangeTypeToSchiff",e.ChartMarksToggleVisibility="Chart.Marks.ToggleVisibility",e.ChartMoveChartInLayout="Chart.MoveChartInLayout",e.ChartMoveChartInLayoutBack="Chart.MoveChartInLayout.Back",e.ChartMoveChartInLayoutForward="Chart.MoveChartInLayout.Forward",e.ChartObjectTreeShow="Chart.ObjectTree.Show",e.ChartPriceScaleLabelsToggleBidAskLabelsVisibility="Chart.PriceScale.Labels.ToggleBidAskLabelsVisibility",e.ChartPriceScaleLabelsToggleHighLowPriceLabelsVisibility="Chart.PriceScale.Labels.ToggleHighLowPriceLabelsVisibility",e.ChartPriceScaleLabelsToggleAveragePriceLabelVisibility="Chart.PriceScale.Labels.ToggleAveragePriceLabelVisibility",e.ChartPriceScaleLabelsToggleIndicatorsNameLabelsVisibility="Chart.PriceScale.Labels.ToggleIndicatorsNameLabelsVisibility",e.ChartPriceScaleLabelsToggleIndicatorsValueLabelsVisibility="Chart.PriceScale.Labels.ToggleIndicatorsValueLabelsVisibility",e.ChartPriceScaleLabelsToggleSeriesLastValueVisibility="Chart.PriceScale.Labels.ToggleSeriesLastValueVisibility",e.ChartPriceScaleLabelsToggleSymbolNameLabelsVisibility="Chart.PriceScale.Labels.ToggleSymbolNameLabelsVisibility",e.ChartPriceScaleLabelsToggleSymbolPrevCloseValueVisibility="Chart.PriceScale.Labels.ToggleSymbolPrevCloseValueVisibility",e.ChartPriceScaleMergeAllScalesToLeft="Chart.PriceScale.MergeAllScalesToLeft", +e.ChartPriceScaleMergeAllScalesToRight="Chart.PriceScale.MergeAllScalesToRight",e.ChartPriceScaleMoveToLeft="Chart.PriceScale.MoveToLeft",e.ChartPriceScaleMoveToRight="Chart.PriceScale.MoveToRight",e.ChartPriceScaleToggleAddOrderPlusButtonVisibility="Chart.PriceScale.ToggleAddOrderPlusButtonVisibility",e.ChartPriceScaleToggleAutoScaleSeriesOnly="Chart.PriceScale.ToggleAutoScaleSeriesOnly",e.ChartPriceScaleToggleCountdownToBarCloseVisibility="Chart.PriceScale.ToggleCountdownToBarCloseVisibility",e.ChartRedo="Chart.Redo",e.ChartRemoveAllIndicators="Chart.RemoveAllIndicators",e.ChartRemoveAllIndicatorsAndLineTools="Chart.RemoveAllIndicatorsAndLineTools",e.ChartRemoveAllLineTools="Chart.RemoveAllLineTools",e.ChartScalesReset="Chart.Scales.Reset",e.ChartScalesToggleLockPriceToBarRatio="Chart.Scales.ToggleLockPriceToBarRatio",e.ChartSelectedObjectHide="Chart.SelectedObject.Hide",e.ChartSelectedObjectRemove="Chart.SelectedObject.Remove",e.ChartSelectedObjectShowSettingsDialog="Chart.SelectedObject.ShowSettingsDialog",e.ChartSelectedObjectToggleLocked="Chart.SelectedObject.ToggleLocked",e.ChartSeriesPriceScaleToggleAutoScale="Chart.Series.PriceScale.ToggleAutoScale",e.ChartSeriesPriceScaleToggleIndexedTo100="Chart.Series.PriceScale.ToggleIndexedTo100",e.ChartSeriesPriceScaleToggleInvertPriceScale="Chart.Series.PriceScale.ToggleInvertPriceScale",e.ChartSeriesPriceScaleToggleLogarithmic="Chart.Series.PriceScale.ToggleLogarithmic",e.ChartSeriesPriceScaleTogglePercentage="Chart.Series.PriceScale.TogglePercentage",e.ChartSeriesPriceScaleToggleRegular="Chart.Series.PriceScale.ToggleRegular",e.ChartSessionBreaksToggleVisibility="Chart.SessionBreaks.ToggleVisibility",e.ChartTimeScaleReset="Chart.TimeScale.Reset",e.ChartUndo="Chart.Undo"}(s||(s={}))},28296:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Action:()=>l,ActionAsync:()=>c,Separator:()=>h,Loader:()=>d});var s=i(88537),r=i(2872),n=i.n(r),o=i(68335),a=i(9423);class l{constructor(e,t=a.guid()){this.type="action",this._destroyed=!1,this._binding=null,(0,s.assert)(void 0!==e.actionId,"actionId must be defined"),this.id=t,this._onUpdate=new(n()),this._options=e,this.update(e)}execute(){this._options.checkable&&this.update({checked:!this._options.checked}),this._options.onExecute&&this._options.onExecute(this)}getLabel(){return this._options.label||""}getSubItems(){return this._options.subItems||[]}isDisabled(){return!0===this._options.disabled}isActive(){return!0===this._options.active}isCheckable(){return!0===this._options.checkable}isChecked(){return!0===this._options.checked}isLoading(){return!0===this._options.loading}getSize(){var e;return null!==(e=this._options.size)&&void 0!==e?e:"normal"}getPayload(){return this._options.payload}update(e){this._destroyed||(this._unbindShortcut(),e.hotkeyHash&&(this._options.shortcutHint=(0,o.humanReadableHash)(e.hotkeyHash)),this._options=Object.assign(this._options,e),this._bindShortcut(),this._onUpdate.fire(this))}onUpdate(){return this._onUpdate}getState(){return{actionId:this._options.actionId,label:this.getLabel(),disabled:this.isDisabled(), +active:this.isActive(),subItems:this.getSubItems(),checkable:this.isCheckable(),checked:this.isChecked(),loading:this.isLoading(),size:this.getSize(),doNotCloseOnClick:this._options.doNotCloseOnClick||!1,shortcutHint:this._options.shortcutHint,hint:this._options.hint,icon:this._options.icon,iconChecked:this._options.iconChecked,toolbox:this._options.toolbox,showToolboxOnHover:this._options.showToolboxOnHover||!1,statName:this._options.statName,name:this._options.name,invisibleHotkey:this._options.invisibleHotkey,noInteractive:this._options.noInteractive}}getBinding(){return this._binding}setBinding(e){this._binding=e}destroy(){var e,t;this._destroyed=!0,this._onUpdate.destroy(),null!==this._binding&&this._binding.destroy(),this._unbindShortcut(),null===(t=(e=this._options).onDestroy)||void 0===t||t.call(e)}options(){return this._options}_bindShortcut(){if(!this._options.hotkeyGroup||!this._options.hotkeyHash)return;const e="string"==typeof this._options.label?this._options.label:this._options.name;this._hotkeyAction=this._options.hotkeyGroup.add({hotkey:this._options.hotkeyHash,desc:e,handler:()=>this.execute(),isDisabled:()=>this.isDisabled()})}_unbindShortcut(){this._hotkeyAction&&(this._hotkeyAction.destroy(),delete this._hotkeyAction)}}class c extends l{constructor(e,t,i){super({actionId:e},i),this._loader=t,this._loaded=!1}loadOptions(){return this._loadingPromise||(this._loadingPromise=this._loader().then(e=>{this._loaded=!0,this.update(e)})),this._loadingPromise}getState(){return this.loadOptions(),super.getState()}isLoading(){return!this.isLoaded()}isLoaded(){return this._loaded}}class h{constructor(e){this.type="separator",this.id=a.guid(),this._hint=e}getHint(){return this._hint}}class d extends l{constructor(e){super({actionId:e})}isLoading(){return!0}getSize(){return"big"}}},61671:(e,t,i)=>{"use strict";i.d(t,{defaultContextMenuOptions:()=>Ie,createPasteAction:()=>Me,createActionCopyPrice:()=>Le,createMTPredictorActions:()=>Ae,createLinesAction:()=>Ee,createSyncDrawingActions:()=>ke,ActionsProvider:()=>De});var s=i(88537),r=i(98125),n=(i(60521),i(80643)),o=i(67337),a=i(28296),l=i(62138),c=i(41847),h=i(81851),d=(i(73591),i(13672)),u=i(56756),p=i(68335),_=(i(25812),i(9771)),m=i(55153),g=(i(37667),i(88679)),f=i(94578),v=i(14291),S=i(79680),y=i(82724),b=i(28353),w=i(24980);i(85733);(0,r.getLogger)("Chart.ActionsProvider"),new w.TranslatedString("show alert label lines",(0,b.t)("show alert label lines")),new w.TranslatedString("hide alert label lines",(0,b.t)("hide alert label lines"));const C=new w.TranslatedString("change visibility",(0,b.t)("change visibility")),P=new w.TranslatedString("pin to scale {label}",(0,b.t)("pin to scale {label}")),T=new w.TranslatedString("pin to right scale",(0,b.t)("pin to right scale")),x=new w.TranslatedString("pin to left scale",(0,b.t)("pin to left scale")),I=(new w.TranslatedString("change earnings visibility",(0,b.t)("change earnings visibility")),new w.TranslatedString("change dividends visibility",(0,b.t)("change dividends visibility")), +new w.TranslatedString("change splits visibility",(0,b.t)("change splits visibility")),new w.TranslatedString("change continuous contract switch visibility",(0,b.t)("change continuous contract switch visibility")),new w.TranslatedString("show all ideas",(0,b.t)("show all ideas"))),M=new w.TranslatedString("show ideas of followed users",(0,b.t)("show ideas of followed users")),L=new w.TranslatedString("show my ideas only",(0,b.t)("show my ideas only")),A=(new w.TranslatedString("change events visibility on chart",(0,b.t)("change events visibility on chart")),new w.TranslatedString("add this symbol to entire layout",(0,b.t)("add this symbol to entire layout"))),E=new w.TranslatedString("add this indicator to entire layout",(0,b.t)("add this indicator to entire layout")),k=(new w.TranslatedString("add this strategy to entire layout",(0,b.t)("add this strategy to entire layout")),new w.TranslatedString("add this financial metric to entire layout",(0,b.t)("add this financial metric to entire layout")),new w.TranslatedString("apply drawing template",(0,b.t)("apply drawing template")),new w.TranslatedString("lock objects",(0,b.t)("lock objects"))),D=new w.TranslatedString("unlock objects",(0,b.t)("unlock objects")),V=((0,b.t)("Add alert"),(0,b.t)("Add alert on {series}"),(0,b.t)("Add alert on {drawing}"),(0,y.appendEllipsis)((0,b.t)("Edit {title} alert"))),B=((0,b.t)("Extend alert lines"),(0,b.t)("Trade"),(0,y.appendEllipsis)((0,b.t)("Create limit order")),(0,b.t)("Show")),N=(0,b.t)("Hide"),R=((0,b.t)("MTPredictor"),(0,b.t)("Apply Manual Risk/Reward"),(0,b.t)("Apply Manual Decision Point"),(0,b.t)("Analyze Trade Setup"),(0,b.t)("Apply Elliott Wave"),(0,b.t)("Apply Elliott Wave Intermediate"),(0,b.t)("Apply Elliott Wave Major"),(0,b.t)("Apply Elliott Wave Minor"),(0,b.t)("Apply WPT Up Wave"),(0,b.t)("Up Wave 1 or A"),(0,b.t)("Up Wave 2 or B"),(0,b.t)("Up Wave C"),(0,b.t)("Up Wave 3"),(0,b.t)("Up Wave 4"),(0,b.t)("Up Wave 5"),(0,b.t)("Apply WPT Down Wave"),(0,b.t)("Down Wave 1 or A"),(0,b.t)("Down Wave 2 or B"),(0,b.t)("Down Wave C"),(0,b.t)("Down Wave 3"),(0,b.t)("Down Wave 4"),(0,b.t)("Down Wave 5"),(0,b.t)("Pinned to scale {label} (hidden)")),O=(0,b.t)("Pinned to right scale (hidden)"),F=(0,b.t)("Pin to scale {label} (hidden)"),W=(0,b.t)("Pin to right scale (hidden)"),H=(0,b.t)("Pinned to scale {label}"),z=(0,b.t)("Pinned to right scale"),U=(0,b.t)("Pin to scale {label}"),j=(0,b.t)("Pin to right scale"),G=(0,b.t)("Pinned to left scale (hidden)"),q=(0,b.t)("Pin to left scale (hidden)"),Y=(0,b.t)("Pinned to left scale"),K=(0,b.t)("Pin to left scale"),$=(0,b.t)("Pin to new left scale"),X=(0,b.t)("Pin to new right scale"),Z=(0,b.t)("Pin to scale (now {label})"),J=(0,b.t)("Pin to scale (now no scale)"),Q=(0,b.t)("Pin to scale (now left)"),ee=(0,b.t)("Pin to scale (now right)"),te=(0,b.t)("No scale (fullscreen)"),ie=(0,b.t)("Move to"),se=(0,b.t)("Existing pane above"),re=(0,b.t)("New pane above"),ne=(0,b.t)("Existing pane below"),oe=(0,b.t)("New pane below"),ae=(0,b.t)("Bring to front"),le=(0,b.t)("Send to back"),ce=(0, +b.t)("Bring forward"),he=(0,b.t)("Send backward"),de=(0,b.t)("Visual order"),ue=(0,b.t)("Lines"),pe=((0,y.appendEllipsis)((0,b.t)("Add indicator/strategy on {studyTitle}")),(0,y.appendEllipsis)((0,b.t)("Add financial metric for {instrumentName}")),(0,y.appendEllipsis)((0,b.t)("Settings"))),_e=((0,b.t)("Apply default"),(0,y.appendEllipsis)((0,b.t)("Save as")),(0,b.t)("Copy")),me=(0,b.t)("Clone"),ge=((0,b.t)("Template"),(0,b.t)("Go to {lineToolName}")),fe=(0,b.t)("Unlock"),ve=(0,b.t)("Lock"),Se=((0,b.t)("Show earnings"),(0,b.t)("Show dividends"),(0,b.t)("Show splits"),(0,b.t)("Show continuous contract switch"),(0,b.t)("Show all ideas")),ye=(0,b.t)("Show ideas of followed users"),be=(0,b.t)("Show my ideas only"),we=((0,y.appendEllipsis)((0,b.t)("Settings")),(0,b.t)("Hide events on chart"),(0,b.t)("Add this symbol to entire layout")),Ce=(0,b.t)("Add this indicator to entire layout"),Pe=((0,b.t)("Add this strategy to entire layout"),(0,b.t)("Add this financial metric to entire layout"),(0,b.t)("No sync"),(0,b.t)("Sync in layout"),(0,b.t)("Sync globally"),(0,y.appendEllipsis)((0,b.t)("Symbol info"))),Te=(0,b.t)("Paste"),xe=(0,b.t)("Copy price"),Ie={general:!0,mainSeries:!0,mainSeriesTrade:!1,esdStudies:!0,studies:!0,fundamentals:!0,lineTools:!0,publishedCharts:!0,ordersAndPositions:!0,alerts:!0,chartEvents:!0,objectTree:!0,gotoLineTool:!1};function Me(e,t){return!t.isEmpty()&&o.enabled("datasource_copypaste")?new a.Action({actionId:"Chart.Clipboard.PasteSource",label:Te.trim(),shortcutHint:(0,p.humanReadableHash)(p.Modifiers.Mod+86),statName:"Paste",onExecute:()=>e.chartWidgetCollection().clipboard.uiRequestPaste(t)}):null}function Le(e,t){var i,s,r;const n=e.defaultPriceScale(),o=void 0!==t?n.coordinateToPrice(t,null!==(s=null===(i=e.mainDataSource())||void 0===i?void 0:i.firstValue())&&void 0!==s?s:0):e.model().mainSeries().lastValueData(4,!0,!0).price,l=null===(r=e.mainDataSource())||void 0===r?void 0:r.formatter();if(void 0===o||!l)return null;const c=l.format(o);return new a.Action({actionId:"Chart.Clipboard.CopyPrice",label:`${xe} (${c})`,statName:"CopyPrice",onExecute:()=>window.navigator.clipboard.writeText(c)})}function Ae(e,t,i,s){return null}function Ee(e){const t=e.actions(),i=[t.showPriceLine];return i.push(t.showHighLowPriceLines),o.enabled("show_average_close_price_line_and_label")&&i.push(t.showAverageClosePriceLine),new a.Action({actionId:"Chart.Lines",label:ue,statName:"Lines",subItems:i})}function ke(e,t){return[]}class De{constructor(e,t){this._chartWidget=e,this._options=(0,n.merge)((0,n.clone)(Ie),t||{})}async contextMenuActionsForSources(e,t){const i=e[0],s=this._options;if(i===this._chartWidget.model().mainSeries()&&s.mainSeries)return this._contextMenuActionsForSeries(i,t);if((0,h.isStudy)(i)&&s.studies)return this._contextMenuActionsForStudy(i);if((0,v.isLineTool)(i)&&s.lineTools){const t=e.filter(v.isLineTool);return this._contextMenuActionsForLineTool(t)}return[]}_isReadOnly(){return this._chartWidget.readOnly()}_createActionHide(e){return new a.Action({actionId:"Chart.SelectedObject.Hide", +label:N,icon:i(48111),statName:"HideSelectedObject",onExecute:this._chartWidget.hideDataSources.bind(this._chartWidget,[e])})}_createActionShow(e){const t=new a.Action({actionId:"Chart.SelectedObject.Show",checkable:!0,label:B,icon:i(93418),statName:"ToggleShow"}),s=new l.ActionBinder(t,e.properties().visible,this._chartWidget.model(),C);return t.setBinding(s),s.setValue(e.properties().visible.value()),t}_createActionScale(e){const t=(0,s.ensureNotNull)(e.priceScale()),r=this._chartWidget.model().model(),n=(0,s.ensureNotNull)(r.paneForSource(e)),o=n.priceScalePosition(t),l=("left"===o?n.leftPriceScales():n.rightPriceScales()).indexOf(t),h=r.priceScaleSlotsCount().totallySlots<2?"dontneedname":"needname",d="overlay"===o?"":(0,c.getPriceAxisNameInfo)(o,l).label,u=Z.format({label:d}),p={"left-needname":u,"left-dontneedname":Q,"right-needname":u,"right-dontneedname":ee,"overlay-needname":J,"overlay-dontneedname":J}[o+"-"+h];return new a.Action({actionId:"Chart.Source.ChangePriceScale",label:p,icon:i(74645),subItems:this._createActionScaleItems(e)})}_createActionScaleDetach(e,t,i,r){const n=this._chartWidget.model().model(),o=(0,s.ensureNotNull)(n.paneForSource(e));if(!o.canCreateNewPriceScale())return null;const l=(0,s.ensureNotNull)(e.priceScale()),h=l.canDetachSource(e),d=o.priceScalePosition(l),u=h||d!==t;if(!u)return null;const p=n.priceScaleSlotsCount(),_={left:{labelled:U,sided:$},right:{labelled:U,sided:X}},m="left"===t?o.leftPriceScales().length:o.rightPriceScales().length,g=p[t]>m?"labelled":"sided",f=(0,c.getPriceAxisNameInfo)(t,m).label,v=_[t][g].format({label:f});return new a.Action({actionId:"Chart.Source.ChangePriceScale",checkable:!1,disabled:!u,label:v,statName:r,payload:e,onExecute:i})}_onDetachLeft(e){const t=e.getPayload(),i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t));this._chartWidget.model().detachToLeft(t,r)}_onDetachRight(e){const t=e.getPayload(),i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t));this._chartWidget.model().detachToRight(t,r)}_createActionScaleDetachLeft(e){return this._createActionScaleDetach(e,"left",this._onDetachLeft.bind(this),"ToggleScaleLeft")}_createActionScaleDetachRight(e){return this._createActionScaleDetach(e,"right",this._onDetachRight.bind(this),"ToggleScaleRight")}_onMoveToScale(e){const t=e.getPayload();if(t.datasource.priceScale()===t.priceScale)return;const i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t.datasource));this._chartWidget.model().moveToScale(t.datasource,r,t.priceScale,t.undoText)}_createMoveToScaleAction(e,t,i,s){const r=e.priceScale()===t;return new a.Action({actionId:"Chart.Source.MoveToOtherScale",checkable:!0,checked:r,label:i,statName:"ToggleScale",payload:{datasource:e,priceScale:t,undoText:s},onExecute:this._onMoveToScale.bind(this)})}_onNoScale(e){const t=e.getPayload().datasource,i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t));r.isOverlay(t)||this._chartWidget.model().detachNoScale(t,r)}_createActionNoScale(e){ +const t=this._chartWidget.model().model(),i=(0,s.ensureNotNull)(t.paneForSource(e)),r=i.actionNoScaleIsEnabled(e);return new a.Action({actionId:"Chart.Source.MoveToNoScale",checkable:!0,checked:i.isOverlay(e),label:te,disabled:!r,statName:"ToggleNoScale",payload:{datasource:e},onExecute:this._onNoScale.bind(this)})}_createActionScaleItems(e){const t=[],i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(e)),n=i.priceScaleSlotsCount().totallySlots>1,o=r.rightPriceScales(),l=r.leftPriceScales(),h=this._createActionScaleDetachRight(e),d=this._createActionScaleDetachLeft(e),u=o.length+l.length+(null===h?0:1)+(null===d?0:1)>2,p={right:{hidden:{checked:{labelled:R,sided:O},unchecked:{labelled:F,sided:W}},visible:{checked:{labelled:H,sided:z},unchecked:{labelled:U,sided:j}}},left:{hidden:{checked:{labelled:R,sided:G},unchecked:{labelled:F,sided:q}},visible:{checked:{labelled:H,sided:Y},unchecked:{labelled:U,sided:K}}}},_={right:T,left:x},m={left:r.visibleLeftPriceScales(),right:r.visibleRightPriceScales()},g=(t,i)=>{const s=("right"===i?o:l)[t],r=m[i].includes(s)?"visible":"hidden",a=e.priceScale()===s?"checked":"unchecked",h=n?"labelled":"sided",d=p[i],u=(0,c.getPriceAxisNameInfo)(i,t).label;return{actionText:d[r][a][h].format({label:u}),undoText:n?P.format({label:u}):_[i]}};t.push(...o.map((t,i)=>{const s=g(i,"right");return this._createMoveToScaleAction(e,t,s.actionText,s.undoText)})),null!==h&&t.push(h);u&&(o.length>0||null!==h)&&t.push(new a.Separator);t.push(...l.map((t,i)=>{const s=g(i,"left");return this._createMoveToScaleAction(e,t,s.actionText,s.undoText)})),null!==d&&t.push(d);u&&(l.length>0||null!==d)&&t.push(new a.Separator);return t.push(this._createActionNoScale(e)),t}_createVisualOrderAction(e){const t=this._chartWidget.model(),s=t.availableZOrderOperations(e),r=[new a.Action({actionId:"Chart.Source.VisualOrder.BringToFront",label:ae,statName:"BringToFront",disabled:!s.bringToFrontEnabled,onExecute:()=>t.bringToFront(e)}),new a.Action({actionId:"Chart.Source.VisualOrder.SendToBack",label:le,statName:"SendToBack",disabled:!s.sendToBackEnabled,onExecute:()=>t.sendToBack(e)}),new a.Action({actionId:"Chart.Source.VisualOrder.BringForward",label:ce,statName:"BringForward",disabled:!s.bringForwardEnabled,onExecute:()=>t.bringForward(e)}),new a.Action({actionId:"Chart.Source.VisualOrder.SendBackward",label:he,statName:"SendBackward",disabled:!s.sendBackwardEnabled,onExecute:()=>t.sendBackward(e)})];return new a.Action({actionId:"Chart.Source.VisualOrder",label:de,icon:i(26159),statName:"VisualOrder",subItems:r})}_createActionMergeUp(e){const t=this._chartWidget.model();return t.model().isMergeUpAvailableForSource(e)?new a.Action({actionId:"Chart.Source.MergeUp",label:se,statName:"MergeUp",onExecute:()=>t.mergeSourceUp(e)}):null}_createActionUnmergeUp(e){const t=this._chartWidget.model();return t.model().isUnmergeAvailableForSource(e)?new a.Action({actionId:"Chart.Source.UnmergeUp",label:re,statName:"UnmergeUp",onExecute:()=>t.unmergeSourceUp(e)}):null}_createActionMergeDown(e){ +const t=this._chartWidget.model();return t.model().isMergeDownAvailableForSource(e)?new a.Action({actionId:"Chart.Source.MergeDown",label:ne,statName:"MergeDown",onExecute:()=>t.mergeSourceDown(e)}):null}_createActionUnmergeDown(e){const t=this._chartWidget.model();return t.model().isUnmergeAvailableForSource(e)?new a.Action({actionId:"Chart.Source.UnmergeDown",label:oe,statName:"UnmergeDown",onExecute:()=>t.unmergeSourceDown(e)}):null}_mergeContentMenuItems(e){return[this._createActionMergeUp(e),this._createActionUnmergeUp(e),this._createActionMergeDown(e),this._createActionUnmergeDown(e)].filter(n.notNull)}_createActionMove(e){const t=this._mergeContentMenuItems(e);return t.length>0?new a.Action({actionId:"Chart.Source.MoveToPane",label:ie,icon:i(6354),subItems:t}):null}_contextMenuActionsForSeries(e,t){var i;const r=[],n=e.properties().childs().visible.value(),l=this._chartWidget.model().model(),c=(0,s.ensureNotNull)(l.paneForSource(e)),h=this._chartWidget.actions();if(this._isReadOnly())r.push(n?this._createActionHide(e):this._createActionShow(e)),r.push(new a.Separator),r.push(this._createActionScale(e));else{0,r.length>0&&!(r[r.length-1]instanceof a.Separator)&&r.push(new a.Separator),o.enabled("symbol_info")&&r.push(h.showSymbolInfoDialog);l.mainSeries().symbolInfo();if(r.length>0&&!(r[r.length-1]instanceof a.Separator)&&r.push(new a.Separator),!c.isEmpty()&&o.enabled("datasource_copypaste")){const e=Le(c,t&&"localY"in t?t.localY:void 0),i=Me(this._chartWidget,c);(e||i)&&(e&&r.push(e),i&&r.push(i),r.push(new a.Separator))}r.push(this._createVisualOrderAction([e]));const s=this._createActionMove(e);null!==s&&r.push(s),r.push(this._createActionScale(e)),r.push(n?this._createActionHide(e):this._createActionShow(e)),r.push(new a.Separator),r.push(Ee(this._chartWidget)),r.push(new a.Separator);Boolean(null===(i=window.widgetbar)||void 0===i?void 0:i.widget("watchlist"))&&h.addToWatchlist&&r.push(h.addToWatchlist),o.enabled("text_notes")&&r.push(h.addToTextNotes),r[r.length-1]instanceof a.Separator||r.push(new a.Separator),o.enabled("show_chart_property_page")&&!this._chartWidget.onWidget()&&r.push(h.mainSeriesPropertiesAction),r[r.length-1]instanceof a.Separator&&r.pop()}return r}_createActionAddChildStudy(e){throw new Error("unsupported")}_createActionAddFundamentals(e){return null}_createActionShowSymbolInfoDialog(e,t){return new a.Action({actionId:"Chart.Dialogs.ShowSymbolInfo",label:Pe,icon:i(69061),checkable:!1,statName:"SymbolInfo",onExecute:()=>{const i=e.symbol(),s={symbolInfo:e.symbolInfo(),unitDescription:e=>t.description(e)};(0,g.showSymbolInfoDialog)(i,s)}})}_createActionShowProperties(e){return new a.Action({actionId:"Chart.Indicator.ShowSettingsDialog",label:pe,icon:i(44368),statName:"EditSelectedObject",onExecute:()=>this._chartWidget.showSourceProperties(e)})}_contextMenuActionsForStudy(e){const t=this._chartWidget.actions(),i=e.properties().visible.value(),s=[];if(!e.userEditEnabled())return s;if(this._chartWidget.readOnly())s.push(i?this._createActionHide(e):this._createActionShow(e)), +s.push(new a.Separator),e.constructor instanceof d.NonSeriesStudy||s.push(this._createActionScale(e));else{0,o.enabled("study_on_study")&&e.canHaveChildren()&&s.push(this._createActionAddChildStudy(e));const r=this._createApplyToEntireLayoutCommand(e);if(null!==r&&s.push(r),s.length>0&&!(s[s.length-1]instanceof a.Separator)&&s.push(new a.Separator),o.enabled("symbol_info")&&(e instanceof m.StudyCompare||e instanceof _.study_Overlay)&&null!==e.symbolInfo()&&(s.push(this._createActionShowSymbolInfoDialog(e,this._chartWidget.model().model().availableUnits())),s.push(new a.Separator)),s.push(this._createVisualOrderAction([e])),!(e.constructor instanceof d.NonSeriesStudy)){const t=this._createActionMove(e);null!==t&&s.push(t),s.push(this._createActionScale(e))}s.push(new a.Separator);const n=e.metaInfo();if(e.copiable()){const t=new a.Action({actionId:"Chart.Clipboard.CopySource",label:_e,shortcutHint:(0,p.humanReadableHash)(p.Modifiers.Mod+67),statName:"Copy",onExecute:()=>{this._chartWidget.chartWidgetCollection().clipboard.uiRequestCopy([e])}});s.push(t)}s.push(i?this._createActionHide(e):this._createActionShow(e)),s.push(t.studyRemove),s.push(new a.Separator),o.enabled("property_pages")&&new u.MetaInfoHelper(n).hasUserEditableOptions()&&s.push(this._createActionShowProperties(e)),s[s.length-1]instanceof a.Separator&&s.pop()}return s}_createEditAlertDrawingAction(e){return new TVAction({label:V.format({title:e.title()}),icon:TbbiEditAlertSvg,statName:"EditAlert",onExecute:()=>{window.runOrSignIn(()=>{e.editAlert("pane_context_menu_edit_alert")},{source:"Alert edit from pane context menu"})}})}_createLineToolTemplateAction(e){return null}_createActionToggleLockLineTools(e){const t=e[0].properties().frozen.value(),s=t?fe:ve;return new a.Action({actionId:"Chart.SelectedObject.ToggleLocked",label:s,statName:"ToggleLockSelectedObject",checkable:!0,icon:i(t?76576:54859),onExecute:()=>{if(1===e.length)this._chartWidget.toggleLockSelectedObject();else{const i=t?D:k,s=this._chartWidget.model();s.withMacro(i,()=>{e.forEach(e=>{s.setProperty(e.properties().frozen,!t,i)})})}}})}async _contextMenuActionsForLineTool(e){const t=[],s=this._chartWidget.actions(),r=(this._chartWidget.model().model(),()=>{t.push(this._createVisualOrderAction(e))}),n=()=>{const s=e.filter(e=>e.cloneable());if(s.length>0){const e=new a.Action({actionId:"Chart.LineTool.Clone",label:me,icon:i(17191),shortcutHint:(0,p.humanReadableModifiers)(p.Modifiers.Mod)+"Drag",statName:"Clone",onExecute:()=>this._chartWidget.model().cloneLineTools(s,!1)},"Clone");t.push(e)}return!!s.length},l=()=>{const i=e.filter(e=>e.copiable());if(i.length>0){const e=new a.Action({actionId:"Chart.Clipboard.CopyLineTools",label:_e,shortcutHint:(0,p.humanReadableHash)(p.Modifiers.Mod+67),statName:"Copy",onExecute:()=>this._chartWidget.chartWidgetCollection().clipboard.uiRequestCopy(i)},"Copy");t.push(e)}return!!i.length},c=()=>{const e=(this._chartWidget,[]);return t.push(...e),e.length>0},h=e=>{const i=new a.Action({actionId:"Chart.ScrollToLineTool",label:ge.format({ +lineToolName:e.title()}),statName:"GoToLineTool",checkable:!1,onExecute:async()=>this._chartWidget.model().scrollToLineTool(e)});t.push(i)},d=e=>{const t=this._chartWidget.model().model().lineToolsGroupModel(),i=e.map(e=>t.groupForLineTool(e));return new Set(i).size<=1};if(1===e.length){const i=e[0];if(this._chartWidget.readOnly())t.push(s.lineHide);else if(i.userEditEnabled()){0,r(),this._options.objectTree&&s.paneObjectTree&&t.push(s.paneObjectTree),t.push(new a.Separator);let e=n();e=l()||e,e=c()||e,e&&t.push(new a.Separator),t.push(this._createActionToggleLockLineTools([i])),t.push(s.lineHide),t.push(s.lineRemove),i.points().length>0&&this._options.gotoLineTool&&(t.push(new a.Separator),h(i));const d=await this._chartWidget.propertiesDefinitionsForSource(i);if(o.enabled("property_pages")&&null!==d&&(t.push(new a.Separator),t.push(s.format)),i.additionalActions){t.push(new a.Separator);const e=i.additionalActions(this._chartWidget.model());t.push(...e)}}}else this._options.objectTree&&s.paneObjectTree&&t.push(s.paneObjectTree),d(e)&&r(),t.length>0&&t.push(new a.Separator),n(),l(),c(),t.push(new a.Separator),t.push(this._createActionToggleLockLineTools(e)),t.push(s.lineHide),t.push(s.lineRemove),o.enabled("property_pages")&&(t.push(new a.Separator),t.push(s.format));return t}_createEarningsShow(){return null}_createRollDatesShow(){return null}_createDividendsShow(){return null}_createSplitsShow(){return null}_contextMenuActionsForESD(){return[]}_contextMenuActionsForRollDates(){return[]}_contextMenuActionsForPublishedTimeline(e){const t=this._chartWidget.actions(),i=[];if(i.push(t.lineHide),window.is_authenticated){const t=e.properties().childs().filter,s=new TVAction({checked:t.value()===PublishedChartsFilter.None,checkable:!0,label:Se,name:"ToggleAllIdeas",statName:"ToggleAllIdeas",onExecute:()=>this._chartWidget.model().setProperty(t,PublishedChartsFilter.None,I)}),r=new TVAction({checked:t.value()===PublishedChartsFilter.Following,checkable:!0,label:ye,name:"ToggleIdeasOfPeopleAndUser",statName:"ToggleIdeasOfPeopleAndUser",onExecute:()=>this._chartWidget.model().setProperty(t,PublishedChartsFilter.Following,M)}),n=new TVAction({checked:t.value()===PublishedChartsFilter.Private,checkable:!0,label:be,name:"ToggleUserIdeas",statName:"ToggleUserIdeas",onExecute:()=>this._chartWidget.model().setProperty(t,PublishedChartsFilter.Private,L)});i.push(new a.Separator,s,r,n)}return i}_contextMenuActionsForTradingDrawings(e){return e.contextMenuItems()}_createAlertToggleHorzLineLabelAction(){throw new Error("Not implemented")}_contextMenuActionsForAlertLabel(e){throw new Error("Not implemented")}_contextMenuActionsForChartEvents(e){return[]}_createApplyToEntireLayoutCommand(e){if(!this._chartWidget.chartWidgetCollection().applyIndicatorsToAllChartsAvailable())return null;const t=this._chartWidget.model().model();if(e.parentSource()!==t.mainSeries())return null;const i=(0, +s.ensureNotNull)(t.paneForSource(e)),r=t.paneForSource(t.mainSeries())===i,n=e instanceof m.StudyCompare&&e.priceScale()===t.mainSeries().priceScale()&&(0,s.ensureNotNull)(e.priceScale()).isPercentage(),o=r?void 0:t.panes().indexOf(i);let l=Ce,c=E,h="AddStudyToEntireLayout";return(0,S.isActingAsSymbolSource)(e)&&(l=we,c=A,h="AddSymbolToEntireLayout"),new a.Action({actionId:"Chart.AddIndicatorToAllCharts",label:l,statName:h,onExecute:()=>{const i=(0,s.ensureNotNull)((0,f.clipboardDataForSources)(t.id(),[e])),a=this._chartWidget.chartWidgetCollection(),l={isOnMainPane:r,asCompare:n,paneIndex:o};a.applyIndicatorToAllCharts(this._chartWidget,i,l,c)}},"applyStudyToEntireLayout")}}},16906:(e,t,i)=>{"use strict";i.r(t),i.d(t,{supportedLineTools:()=>s});const s={cursor:{name:"cursor",onlySelectable:!0},dot:{name:"dot",onlySelectable:!0},arrow_cursor:{name:"arrow",onlySelectable:!0},eraser:{name:"eraser",onlySelectable:!0},measure:{name:"measure",onlySelectable:!0},zoom:{name:"zoom",onlySelectable:!0},brush:{name:"LineToolBrush"},highlighter:{name:"LineToolHighlighter"},text:{name:"LineToolText"},anchored_text:{name:"LineToolTextAbsolute",isAnchored:!0},note:{name:"LineToolNote"},anchored_note:{name:"LineToolNoteAbsolute",isAnchored:!0},signpost:{name:"LineToolSignpost"},callout:{name:"LineToolCallout"},balloon:{name:"LineToolBalloon"},arrow_up:{name:"LineToolArrowMarkUp"},arrow_down:{name:"LineToolArrowMarkDown"},arrow_left:{name:"LineToolArrowMarkLeft"},arrow_right:{name:"LineToolArrowMarkRight"},price_label:{name:"LineToolPriceLabel"},price_note:{name:"LineToolPriceNote"},arrow_marker:{name:"LineToolArrowMarker"},flag:{name:"LineToolFlagMark"},vertical_line:{name:"LineToolVertLine"},horizontal_line:{name:"LineToolHorzLine"},cross_line:{name:"LineToolCrossLine"},horizontal_ray:{name:"LineToolHorzRay"},trend_line:{name:"LineToolTrendLine"},info_line:{name:"LineToolInfoLine"},trend_angle:{name:"LineToolTrendAngle"},arrow:{name:"LineToolArrow"},ray:{name:"LineToolRay"},extended:{name:"LineToolExtended"},parallel_channel:{name:"LineToolParallelChannel"},disjoint_angle:{name:"LineToolDisjointAngle"},flat_bottom:{name:"LineToolFlatBottom"},pitchfork:{name:"LineToolPitchfork"},schiff_pitchfork_modified:{name:"LineToolSchiffPitchfork"},schiff_pitchfork:{name:"LineToolSchiffPitchfork2"},inside_pitchfork:{name:"LineToolInsidePitchfork"},pitchfan:{name:"LineToolPitchfan"},gannbox:{name:"LineToolGannSquare"},gannbox_square:{name:"LineToolGannComplex"},gannbox_fixed:{name:"LineToolGannFixed"},gannbox_fan:{name:"LineToolGannFan"},fib_retracement:{name:"LineToolFibRetracement"},fib_trend_ext:{name:"LineToolTrendBasedFibExtension"},fib_speed_resist_fan:{name:"LineToolFibSpeedResistanceFan"},fib_timezone:{name:"LineToolFibTimeZone"},fib_trend_time:{name:"LineToolTrendBasedFibTime"},fib_circles:{name:"LineToolFibCircles"},fib_spiral:{name:"LineToolFibSpiral"},fib_speed_resist_arcs:{name:"LineToolFibSpeedResistanceArcs"},fib_wedge:{name:"LineToolFibWedge"},fib_channel:{name:"LineToolFibChannel"},xabcd_pattern:{name:"LineTool5PointsPattern"}, +cypher_pattern:{name:"LineToolCypherPattern"},abcd_pattern:{name:"LineToolABCD"},triangle_pattern:{name:"LineToolTrianglePattern"},"3divers_pattern":{name:"LineToolThreeDrivers"},head_and_shoulders:{name:"LineToolHeadAndShoulders"},elliott_impulse_wave:{name:"LineToolElliottImpulse"},elliott_triangle_wave:{name:"LineToolElliottTriangle"},elliott_triple_combo:{name:"LineToolElliottTripleCombo"},elliott_correction:{name:"LineToolElliottCorrection"},elliott_double_combo:{name:"LineToolElliottDoubleCombo"},cyclic_lines:{name:"LineToolCircleLines"},time_cycles:{name:"LineToolTimeCycles"},sine_line:{name:"LineToolSineLine"},long_position:{name:"LineToolRiskRewardLong"},short_position:{name:"LineToolRiskRewardShort"},forecast:{name:"LineToolPrediction"},date_range:{name:"LineToolDateRange"},price_range:{name:"LineToolPriceRange"},date_and_price_range:{name:"LineToolDateAndPriceRange"},bars_pattern:{name:"LineToolBarsPattern"},ghost_feed:{name:"LineToolGhostFeed"},projection:{name:"LineToolProjection"},rectangle:{name:"LineToolRectangle"},rotated_rectangle:{name:"LineToolRotatedRectangle"},circle:{name:"LineToolCircle"},ellipse:{name:"LineToolEllipse"},triangle:{name:"LineToolTriangle"},polyline:{name:"LineToolPolyline"},path:{name:"LineToolPath"},curve:{name:"LineToolBezierQuadro"},double_curve:{name:"LineToolBezierCubic"},arc:{name:"LineToolArc"},icon:{name:"LineToolIcon"},regression_trend:{name:"LineToolRegressionTrend"},fixed_range_volume_profile:{name:"LineToolFixedRangeVolumeProfile"}}},94578:(e,t,i)=>{"use strict";i.d(t,{clipboardDataForSources:()=>o});var s=i(88537),r=i(81851),n=i(14291);function o(e,t){if(1===t.length&&(0,r.isStudy)(t[0])){const e=t[0];return{title:e.title(),sources:[{source:(0,s.ensureNotNull)(e.state()),type:"study"}]}}const i={sources:[],title:""};return i.sources=t.filter(e=>e.copiable()&&(0,n.isLineTool)(e)).map(t=>{const i={type:"drawing",geometry:t.geometry(),source:{...t.state(!1),points:t.normalizedPoints()},modelId:e};return delete i.source.alertId,i}),i.sources.length>0?(1===i.sources.length?i.title=t[0].title&&t[0].title():i.title="Drawings",i):null}},17937:(e,t,i)=>{"use strict";i.d(t,{addBrandingSource:()=>z});var s=i(4889),r=i(86441),n=i(34026),o=i(45112),a=i(88537),l=i(28353),c=i(67337),h=i(99305),d=i(84346),u=i(68587),p=i(68906),_=i(59199),m=i(42759),g=i(93435),f=i(52892),v=i(22799),S=i(76818);i(95306);const y=c.enabled("adaptive_logo"),b=c.enabled("small_no_display"),w=c.enabled("38914"),C="Ch{0}ar{1}t{2}by{3}{4}".format("",""," "," ","TradingView"),P="po{0}wer{1}ed{2}by{3}{4}".format("",""," "," ","TradingView"),T="by{3}{4}".format("",""," "," ","TradingView"),x=w?T:P,I=navigator.userAgent.toLowerCase().indexOf("chrome")>-1&&-1===navigator.userAgent.toLowerCase().indexOf("edge"),M=window.urlParams||{};window.initData;M.no_referral_id&&enable(M.referral_id||"","aggressive");(0,l.t)("By TradingView"),(0,l.t)("{symbol} financials by TradingView"),(0,l.t)("More features on tradingview.com"),(0,l.t)("powered by");const L=(0,l.t)(C),A=(0,l.t)(x);function E(e){ +return"px EuclidCircular"===e?.1:0}class k extends h.CustomSourceBase{constructor(e,t,i,r){super(e,t),this._canvasWidth=0,this._paneHeight=0,this._left=13,this._bottom=16,this._layout="site_branding",this._needToShow=!0,this._showBranding=!1,this._customLogoSrc="",this._customLogoLink="",this._cubicBezier=new u.CubicBezier(.4,.01,.22,1),this._openAnimation=null,this._closeAnimation=null,this._powBy=null,this._custom=null,this._mainSeries=this._model.mainSeries(),this._showAllowance=i,this._showForPro=Boolean(r),this._checkLayout(),"widget_custom_branding"!==this._layout&&"fundamental_custom_branding"!==this._layout||(this._left=8,this._bottom=5);const n=()=>{this._needToShow?this._showBranding=!0:this._showBranding=!1};this._resizeHandlerDelayed=(0,s.default)(n,200),n(),window.addEventListener("resize",this._resizeHandlerDelayed),this._monitorCanvas=(0,g.createDisconnectedBoundCanvas)(document,new g.Size(0,0)),this._monitorCanvas.subscribeCanvasConfigured(()=>{this._init()}),this._model.isSnapshot()?this._init():(this._mainSeries.dataEvents().symbolResolved().subscribe(this,this._init),null!==this._mainSeries.symbolInfo()&&this._init()),this._renderer={draw:this.draw.bind(this),hitTest:this.hitTest.bind(this)}}destroy(){window.removeEventListener("resize",this._resizeHandlerDelayed),this._mainSeries.dataEvents().symbolResolved().unsubscribeAll(this),this._powBy&&this._powBy.destroy()}paneViews(e){if(window.TradingView.printing)return[];if(!this._showAllowance())return[];if("site_branding"===this._layout&&!this._showForPro&&window.user&&window.user.is_pro)return[];const t=c.enabled("move_logo_to_main_pane");let i=!1;if(e.maximized().value())i=!0;else if(t)i=this._model.mainPane().collapsed().value()?e===this._model.panes().find(e=>!e.collapsed().value()):e.isMainPane();else if(this._model.lastPane().collapsed().value()){const t=this._model.panes();for(let s=t.length-1;s>=0;--s){const r=t[s];if(!r.collapsed().value()){i=r===e;break}}}else i=e.isLast();return i?[{renderer:this.renderer.bind(this)}]:[]}labelPaneViews(e){return[]}priceAxisViews(e,t){return[]}updateAllViews(){}updateViewsForPane(e){}priceScale(){return null}renderer(e,t){return this._paneHeight=e,this._canvasWidth=t,this._renderer}hasContextMenu(){return!1}onClickOutside(){this._hasAnimation()&&this._startCloseAnimation()}hitTest(e){return!this._showBranding||c.enabled("logo_without_link")?null:this._powBy&&"widget_custom_no_powered_branding"!==this._layout&&"fundamental_custom_no_powered_branding"!==this._layout&&(this._powBy.hitTest(e)||this._custom&&this._custom.hitTest(e))?new d.HitTestResult(d.HitTestResult.CUSTOM,{hideCrosshairLinesOnHover:!0,clickHandler:()=>{this._openLink()},tapHandler:()=>{this._hasAnimation()?this._toggleOpenAnimatedOrOpenLink():this._openLink()},mouseEnterHandler:()=>{this._hasAnimation()&&this._startOpenAnimation()},mouseLeaveHandler:()=>{this._hasAnimation()&&this._startCloseAnimation()}}):null}tvUrl(){let e=new URL("https://www.tradingview.com/");if(this._customLogoLink)return this._customLogoLink +;if("library_branding"===this._layout||"library_custom_branding"===this._layout){let t;switch(!0){case c.enabled("charting_library"):t="library";break;case c.enabled("trading_terminal"):t="trading-terminal"}return e.searchParams.append("utm_source",window.location.origin),e.searchParams.append("utm_medium","library"),t&&e.searchParams.append("utm_campaign",t),e.toString()}return e.toString()}draw(e,t){if(!this._showBranding)return;let i=0;M.utm=!0,(0,g.drawScaled)(e,t.pixelRatio,()=>{this._powBy&&this._powBy.show&&(i=this._powBy.height,e.save(),e.translate(this._left,this._paneHeight-this._bottom-i),this._powBy.draw(e,t,this._canvasWidth),e.restore()),this._custom&&this._custom.show&&(e.save(),e.translate(this._left,this._paneHeight-this._bottom-i-this._custom.height),this._custom.draw(e,t),e.restore())})}_init(){const e=this._mainSeries.symbolInfo();this._powBy&&this._powBy.destroy(),this._powBy=new W(this._layout,(null==e?void 0:e.name)||"",this._model,()=>this._model.fullUpdate()),this._custom=new H(this._layout,this._customLogoSrc,()=>this._model.fullUpdate()),this._openAnimation=null,this._closeAnimation=null}_checkLayout(){if(c.enabled("widget"))0;else if(c.enabled("charting_library")||c.enabled("trading_terminal")){const e=JSON.parse(M.logo)||{};e.image?(this._customLogoSrc=e.image,this._customLogoLink=e.link,this._needToShow=c.enabled("widget_logo"),c.enabled("link_to_tradingview")?this._layout="library_custom_branding":this._layout="library_custom_no_powered_branding"):(this._layout="library_branding",this._needToShow=c.enabled("widget_logo"))}else this._layout="site_branding"}_startOpenAnimation(){null===this._openAnimation&&(null!==this._closeAnimation&&(this._closeAnimation.stop(),this._closeAnimation=null),this._openAnimation=(0,_.doAnimate)({from:this._currentStateForAnimation(),to:this._openedStateForAnimation(),duration:200,easing:this._cubicBezier.easingFunc,onStep:this._animatedDrawStep.bind(this)}))}_startCloseAnimation(){null===this._closeAnimation&&(null!==this._openAnimation&&(this._openAnimation.stop(),this._openAnimation=null),this._closeAnimation=(0,_.doAnimate)({from:this._currentStateForAnimation(),to:this._closedStateForAnimation(),duration:200,easing:this._cubicBezier.easingFunc,onStep:this._animatedDrawStep.bind(this)}))}_currentStateForAnimation(){return(0,a.ensureNotNull)(this._powBy).width}_closedStateForAnimation(){return(0,a.ensureNotNull)(this._powBy).minimizedAnimationWidth()}_openedStateForAnimation(){return(0,a.ensureNotNull)(this._powBy).maximizedAnimationWidth()}_animatedDrawStep(e,t){(0,a.ensureNotNull)(this._powBy).animatedDrawStep(e,t),this._model.lightUpdate()}_hasAnimation(){return null!==this._powBy&&this._powBy.hasAnimation()}_openLink(){if("site_branding"===this._layout)return!1;c.enabled("widget");return(0,a.ensureNotNull)(window.open(this.tvUrl(),"_blank")).opener=null,!0}_toggleOpenAnimatedOrOpenLink(){null!==this._openAnimation&&this._openAnimation.completed()?this._openLink()||this._startCloseAnimation():this._startOpenAnimation()}}function D(e){return!y||e>500} +const V={customBrandingTradingViewText:o.colorsPalette["color-brand"],customBrandingText:o.colorsPalette["color-cold-gray-850"],background:o.colorsPalette["color-cold-gray-900"],shadow:(0,p.generateColor)(o.colorsPalette["color-white"],91),text:o.colorsPalette["color-white"],staticTextBackground:(0,p.generateColor)(o.colorsPalette["color-cold-gray-800"],20),logo:o.colorsPalette["color-white"]},B={customBrandingTradingViewText:o.colorsPalette["color-brand"],customBrandingText:o.colorsPalette["color-cold-gray-850"],background:o.colorsPalette["color-white"],shadow:(0,p.generateColor)(o.colorsPalette["color-black"],91),text:o.colorsPalette["color-cold-gray-900"],staticTextBackground:(0,p.generateColor)(o.colorsPalette["color-white"],20),logo:o.colorsPalette["color-cold-gray-900"]};const N={};function R(e,t){const i=N[e];if(void 0!==i)return i.image||null;const s={};return N[e]=s,function(e){return new Promise(t=>{const i=f.replace(/fill="#[\da-f]{6}"/i,`fill="${e}"`),s=new Image;s.onload=()=>{s.onload=null,t(s)},s.src=URL.createObjectURL(new Blob([i],{type:"image/svg+xml"}))})}(e).then(e=>{s.image=e,t()}),null}function O(e){const{a:t,d:i,e:s,f:n}=e;return new r.Point(s/t,n/i)}class F{constructor(){this._originPoint=null}hitTest(e){const t=this._getHitTestBox();if(t)return(0,n.pointInBox)(e,t)}_getHitTestBox(){const e=this._originPoint;if(e){const{x:t,y:i}=e;return(0,r.box)(e,new r.Point(t+this.width,i+this.height))}}}class W extends F{constructor(e,t,i,s){if(super(),this.show=!0,this.borderRadius=0,this._needDisplayImage=!1,this._imageWidth=22,this._imageHeight=11,this._animatedWidth=32,this._font="px "+v.CHART_FONT_FAMILY,this._txt="TradingView",this._textWidth=0,this._maximizedAnimationTextWidth=0,this._textWidthCache=new S.TextWidthCache,this._pixelRatio=1,this._model=i,this._layout=e,this._symbol=t,this.showAnimatedBranding=c.enabled("show_animated_logo")||"widget_branding"===this._layout,this._fontSize=this.showAnimatedBranding?11:14,this.showAnimatedBranding||"widget_custom_branding"!==this._layout&&"fundamental_custom_branding"!==this._layout||(this._fontSize=12),this.width=32,this.height=this._fontSize+2,this._onReadyCallback=s,this._init(),document.fonts&&document.fonts.check&&document.fonts.load){document.fonts.check(this._fontSize+"px EuclidCircular")?this._font="px EuclidCircular":document.fonts.load(this._fontSize+"px EuclidCircular",this._txt).then(()=>{this._font="px EuclidCircular",this._recalculateMetrics()})}this._recalculateMetrics()}destroy(){this._model.properties().childs().paneProperties.childs().background.unsubscribeAll(this),this._model.onChartThemeLoaded().unsubscribeAll(this)}hasAnimation(){return this.showAnimatedBranding}minimizedAnimationWidth(){return 32}maximizedAnimationWidth(){return this._maximizedAnimationTextWidth+32-3}animatedDrawStep(e,t){this._animatedWidth=t}draw(e,t,i){t.pixelRatio!==this._pixelRatio&&(this._textWidthCache.reset(),this._pixelRatio=t.pixelRatio);const s=this._colors;if(this.showAnimatedBranding)this._needDisplayImage&&null!==this._getLogoImage(s.logo)&&(e.save(), +e.translate(-Math.ceil((32-this._imageWidth)/2),Math.floor((32-this._imageHeight)/2)),this._originPoint=O(e.getTransform()),this.borderRadius=16,this._drawFillRectWithRoundedCorner(e,-.5,0,this._animatedWidth,32,this.borderRadius),this._drawLogoImage(e,Math.round((32-this._imageWidth)/2),Math.round((32-this._imageHeight)/2)+0),this._animatedWidth>32&&(e.translate(Math.round(32),Math.round(this._fontSize*E(this._font))),this._drawFillTextCropWidth(e,this._animatedWidth-32)),e.restore(),this.width=this._animatedWidth);else if("widget_custom_branding"===this._layout||"fundamental_custom_branding"===this._layout){e.font=this._fontSize+this._font;const t=e.measureText(this._txt).width+2;this.width=t+e.measureText("TradingView").width+2,this._originPoint=O(e.getTransform()),e.save(),e.globalAlpha=.7,e.fillStyle=this._colors.customBrandingText,e.fillText(this._txt,0,12),e.fillStyle=this._colors.customBrandingTradingViewText,e.fillText("TradingView",t,12),e.restore()}else if(function(e){return!b||e>480}(i))if(this._needDisplayImage&&null!==this._getLogoImage(s.logo)){e.save(),e.translate(-Math.ceil((32-this._imageWidth)/2),Math.floor((32-this._imageHeight)/2)),this._originPoint=O(e.getTransform()),this.borderRadius=16,this._drawBgCircle(e),e.drawImage((0,a.ensureNotNull)(this._getLogoImage(s.logo)),Math.round((32-this._imageWidth)/2),Math.round((32-this._imageHeight)/2)+0);const t=D(i);t&&(e.translate(37,Math.round(this._fontSize*E(this._font))),this._drawTextStroke(e),this._drawTextFill(e)),e.restore(),this.width=32,t&&(this.width+=this._maximizedAnimationTextWidth)}else{const t=D(i);t&&(e.save(),e.translate(I?-.5:0,-.5),this._drawTextStroke(e),this._drawTextFill(e),e.restore()),t&&(this.width=this._maximizedAnimationTextWidth)}else this.width=0}_init(){this._checkLayout(),this.show&&(this.height=this._needDisplayImage?32:this._fontSize+2,this._updateColors(),this._model.properties().childs().paneProperties.childs().background.subscribe(this,this._updateColors),this._model.onChartThemeLoaded().subscribe(this,this._updateColors))}_recalculateMetrics(){const e=(0,g.createDisconnectedBoundCanvas)(document,new g.Size(0,0)),t=(0,g.getPretransformedContext2D)(e,!0);t.font=this._fontSize+this._font,this._textWidth=Math.ceil(t.measureText(this._txt).width)+2;let i=this._textWidth+8;i%2==0&&(i+=1),this._maximizedAnimationTextWidth=i,this._textWidthCache.reset()}_updateColors(){this._colors=this._model.isDark()?V:B}_getLogoImage(e){return R(e,this._onReadyCallback)}_checkLayout(){switch(this._layout){case"widget_branding":case"widget_referral_branding":case"widget_custom_branding":case"fundamental_branding":case"fundamental_custom_branding":case"library_custom_branding":case"library_branding":case"site_branding":this.show=!0;break;case"widget_custom_no_powered_branding":case"fundamental_custom_no_powered_branding":case"library_custom_no_powered_branding":this.show=!1}switch(this._layout){case"library_branding":this._needDisplayImage=!0,this._txt=L;break;case"library_custom_branding":this._txt=A}}_drawTextStroke(e){e.save(), +e.textBaseline="middle",e.textAlign="start",e.font=this._fontSize+this._font,e.strokeStyle=this._colors.staticTextBackground,e.lineWidth=4,e.lineJoin="round",e.strokeText(this._txt,0,16+this._textWidthCache.yMidCorrection(e,this._txt)),e.restore()}_drawTextFill(e){e.save(),e.textBaseline="middle",e.textAlign="start",e.font=this._fontSize+this._font,e.fillStyle=this._colors.text,e.fillText(this._txt,0,16+this._textWidthCache.yMidCorrection(e,this._txt)),e.restore()}_drawFillTextCropWidth(e,t){e.save(),e.beginPath(),e.rect(0,0,t,this.height),e.clip(),this._drawTextFill(e),e.restore()}_drawBgCircle(e){const t=this.borderRadius,i=2*Math.PI;e.save(),e.beginPath(),e.fillStyle=this._colors.shadow,e.arc(t,t,t+1,0,i),e.fill(),e.closePath(),e.restore(),e.save(),e.beginPath(),e.fillStyle=this._colors.background,e.arc(t,t,t,0,i,!1),e.fill(),e.closePath(),e.restore()}_drawFillRectWithRoundedCorner(e,t,i,s,r,n){e.save(),(0,m.drawRoundRect)(e,t-1,i-1,s+2,r+2,n),e.fillStyle=this._colors.shadow,e.fill(),e.closePath(),e.restore(),e.save(),(0,m.drawRoundRect)(e,t,i,s,r,n),e.fillStyle=this._colors.background,e.fill(),e.closePath(),e.restore()}_drawLogoImage(e,t,i){e.drawImage((0,a.ensureNotNull)(this._getLogoImage(this._colors.logo)),t,i)}}class H extends F{constructor(e,t,i){super(),this.show=!1,this.width=0,this.height=0,this._ready=!1,this._layout=e,this._src=t,this._onReadyCallback=i,this._checkLayout();const s=new Image;this._img=s,this.show&&(s.addEventListener("load",()=>{this.width=Math.round(s.width),this.height=Math.round(s.height),this._ready=!0,this._onReadyCallback&&this._onReadyCallback()}),s.crossOrigin="anonymous",s.src=this._src)}draw(e,t){this._ready&&(e.drawImage(this._img,-.5,-.5,this.width,this.height),this._originPoint=O(e.getTransform()))}_checkLayout(){switch(this._layout){case"widget_custom_branding":case"widget_custom_no_powered_branding":case"fundamental_custom_branding":case"fundamental_custom_no_powered_branding":case"library_custom_branding":case"library_custom_no_powered_branding":this.show=!0;break;case"site_branding":case"widget_branding":case"widget_referral_branding":case"fundamental_branding":case"library_branding":this.show=!1}}}function z(e,t){function i(t){const i=e.getAll();if(1===i.length)return!0;const s=i[0].hasModel()&&i[0].model();return s&&s.model()===t}e.addCustomSource("branding",(e,s)=>new k(e,s,i.bind(null,s),t))}},93435:(e,t,i)=>{"use strict";i.d(t,{Size:()=>o,getCanvasDevicePixelRatio:()=>a,getContext2D:()=>l,getPrescaledContext2D:()=>c,getPretransformedContext2D:()=>h,fillRect:()=>d,clearRect:()=>u,drawScaled:()=>p,createDisconnectedCanvas:()=>_,createDisconnectedBoundCanvas:()=>m,createBoundCanvas:()=>f,calcTextHorizontalShift:()=>v,disableSelection:()=>S});var s=i(81746),r=i(88537),n=i(62820);class o{constructor(e,t){this.w=e,this.h=t}equals(e){return this.w===e.w&&this.h===e.h}}function a(e){var t,i;return Math.max(1,(null===(i=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||void 0===i?void 0:i.devicePixelRatio)||1)}function l(e){const t=(0, +r.ensureNotNull)(e.getContext("2d"));return t.setTransform(1,0,0,1,0,0),t}function c(e){const t=(0,r.ensureNotNull)(e.getContext("2d")),i=a(e);return t.setTransform(i,0,0,i,0,0),t}function h(e,t){const i=(0,r.ensureNotNull)(e.canvas.getContext("2d"));return i.setTransform(e.pixelRatio,0,0,e.pixelRatio,0,0),t||i.translate(.5,.5),i}function d(e,t,i,s,r,n){e.save(),e.translate(-.5,-.5),e.fillStyle=n,e.fillRect(t,i,s,r),e.restore()}function u(e,t,i,s,r,n){e.save(),e.translate(-.5,-.5),e.globalCompositeOperation="copy",e.fillStyle=n,e.fillRect(t,i,s,r),e.restore()}function p(e,t,i){e.save(),e.scale(t,t),i(),e.restore()}function _(e,t,i){const s=g(e);return void 0===i&&(i=a(s)),s.width=t.w*i,s.height=t.h*i,s}function m(e,t){const i=g(e),r=(0,s.bindToDevicePixelRatio)(i,{allowDownsampling:!1});return r.resizeCanvas({width:t.w,height:t.h}),r}function g(e){const t=e.createElement("canvas");return S(t),t}function f(e,t){const i=g((0,r.ensureNotNull)(e.ownerDocument));e.appendChild(i);const n=(0,s.bindToDevicePixelRatio)(i,{allowDownsampling:!1});return n.resizeCanvas({width:t.w,height:t.h}),n}function v(e,t){return"center"===e.textAlign?0:(0,n.isRtl)()?"start"===e.textAlign||"right"===e.textAlign?t:0:"start"===e.textAlign||"left"===e.textAlign?0:t}function S(e){e.style.userSelect="none",e.style.webkitUserSelect="none",e.style.msUserSelect="none",e.style.MozUserSelect="none",e.style.webkitTapHighlightColor="transparent"}},68425:(e,t,i)=>{"use strict";i.d(t,{ChartChangesWatcher:()=>n});var s=i(2872),r=i.n(s);class n{constructor(e,t,i,s){this._undoHistoryHasChanges=!1,this._hasChanges=!1,this._recalculateHaveChanges=()=>{const e=this._undoHistoryHasChanges||this._lineToolsHaveChanges.value();e!==this._hasChanges&&(this._hasChanges=e,this._onValueChanged.fire(e))},this._undoHistory=e,this._lineToolsHaveChanges=t,this._chartSaver=i,this._globalEvents=s,this._onValueChanged=new(r()),this._subscribe()}destroy(){this._unsubscribe(),this._onValueChanged.destroy()}hasChanges(){return this._hasChanges}getOnChange(){return this._onValueChanged}_subscribe(){this._globalEvents.subscribe("chart_loaded",this._handleChartLoaded,this),this._undoHistory.undoStack().onChange().subscribe(this,this._handleUndoHistoryChange),this._chartSaver.chartSaved().subscribe(this,this._handleChartSaved),this._lineToolsHaveChanges.subscribe(this._recalculateHaveChanges)}_unsubscribe(){this._globalEvents.unsubscribe("chart_loaded",this._handleChartLoaded,this),this._undoHistory.undoStack().onChange().unsubscribe(this,this._handleUndoHistoryChange),this._chartSaver.chartSaved().unsubscribe(this,this._handleChartSaved),this._lineToolsHaveChanges.unsubscribe(this._recalculateHaveChanges)}_setUndoHistoryHasChanges(e){this._undoHistoryHasChanges=e,this._recalculateHaveChanges()}_handleChartLoaded(){this._setUndoHistoryHasChanges(!1)}_handleUndoHistoryChange(e){e&&!e.customFlag("doesnt_affect_save")&&this._setUndoHistoryHasChanges(!0)}_handleChartSaved(e){e&&this._setUndoHistoryHasChanges(!1)}}},76367:(e,t,i)=>{"use strict";i.d(t,{shiftPressed:()=>p, +modifierPressed:()=>_,globalEnvironmentState:()=>m,ChartHotkeysListener:()=>g});var s=i(25760),r=i(68335),n=i(35749),o=i(52714),a=i.n(o),l=i(77216);const c=new(a())(Boolean(s.pressedKeys.value()&r.Modifiers.Shift)),h=new(a())(Boolean(s.pressedKeys.value()&r.Modifiers.Mod)),d=new(a())(Boolean(s.pressedKeys.value()&r.Modifiers.Alt)),u=[r.Modifiers.None,r.Modifiers.Alt,r.Modifiers.Mod,r.Modifiers.Alt+r.Modifiers.Shift];function p(){return c}function _(){return h}function m(){return new l.EnvironmentState({altKey:d.value(),ctrlKey:_().value(),metaKey:_().value(),shiftKey:p().value()})}s.pressedKeys.subscribe(e=>{c.setValue(Boolean(e&r.Modifiers.Shift)),h.setValue(Boolean(e&r.Modifiers.Mod)),d.setValue(Boolean(e&r.Modifiers.Alt))});class g{constructor(e,t){this._pressedKeyCode=null,this._boundKeydownHandler=null,this._boundKeyupHandler=null,this._chartWidget=e,this._parent=t,this._boundKeydownHandler=this._keydownHandler.bind(this),this._boundKeyupHandler=this._keyupHandler.bind(this),this._parent.ownerDocument.addEventListener("keydown",this._boundKeydownHandler),this._parent.ownerDocument.addEventListener("keyup",this._boundKeyupHandler)}destroy(){null!==this._boundKeydownHandler&&(this._parent.ownerDocument.removeEventListener("keydown",this._boundKeydownHandler),this._boundKeydownHandler=null),null!==this._boundKeyupHandler&&(this._parent.ownerDocument.removeEventListener("keyup",this._boundKeyupHandler),this._boundKeyupHandler=null)}_keydownHandler(e){this._chartWidget.hasModel()&&window.document.activeElement===window.document.body&&this._chartWidget.isActive()&&(this._handleMoveDrawingsKeyDown(e)||this._handleScrollKeyDown(e)||this._handleZoomKeyDown(e))&&e.preventDefault()}_keyupHandler(e){this._chartWidget.hasModel()&&this._handleScrollKeyUp(e)}_handleMoveDrawingsKeyDown(e){const t=255&(0,r.hashFromEvent)(e),i=this._chartWidget.model();switch(t){case 37:return i.moveSelectedToolsLeft();case 39:return i.moveSelectedToolsRight();case 38:return i.moveSelectedToolsUp();case 40:return i.moveSelectedToolsDown()}return!1}_handleScrollKeyDown(e){if(null!==this._pressedKeyCode)return!1;const t=(0,r.hashFromEvent)(e),i=255&t,s=(0,r.modifiersFromEvent)(e);let o;if(37===i)o=1;else{if(39!==i)return!1;o=-1}return!(r.isMacKeyboard&&s===r.Modifiers.Mod||!u.includes(s))&&(!(0,n.isNativeUIInteraction)(t,e.target)&&(this._pressedKeyCode=i,s===r.Modifiers.None?this._chartWidget.scrollHelper().moveByBar(o):s===r.Modifiers.Alt||s===r.Modifiers.Mod?this._chartWidget.scrollHelper().move(o):-1===o?this._chartWidget.model().timeScale().scrollToRealtime(!0):this._chartWidget.model().timeScale().scrollToFirstBar(),!0))}_handleScrollKeyUp(e){if(null===this._pressedKeyCode)return!1;const t=(0,r.hashFromEvent)(e);if((0,n.isNativeUIInteraction)(t,e.target))return!1;return(255&t)===this._pressedKeyCode&&(this._pressedKeyCode=null,this._chartWidget.scrollHelper().stopMove(),!0)}_handleZoomKeyDown(e){const t=(0,r.hashFromEvent)(e),i=255&t;if((0,r.modifiersFromEvent)(e)!==r.Modifiers.Mod||(0,n.isNativeUIInteraction)(t,e.target))return!1 +;const s=this._chartWidget.model();if(38===i)s.zoomIn();else{if(40!==i)return!1;s.zoomOut()}return!0}}},37786:(e,t,i)=>{"use strict";i.d(t,{ChartWidgetApiBase:()=>P});var s=i(88537),r=i(28353),n=i(24980),o=i(29823),a=i(69177),l=i(42934);class c{constructor(e){this._timeScale=e}coordinateToTime(e){const t=this._timeScale.coordinateToIndex(e);return this._timeScale.indexToTimePoint(t)}barSpacingChanged(){return this._timeScale.barSpacingChanged()}rightOffsetChanged(){return this._timeScale.rightOffsetChanged()}setRightOffset(e){this._timeScale.setRightOffset(e)}setBarSpacing(e){this._timeScale.setBarSpacing(e)}barSpacing(){return this._timeScale.barSpacing()}rightOffset(){return this._timeScale.rightOffset()}width(){return this._timeScale.width()}defaultRightOffset(){return this._timeScale.defaultRightOffset()}isEmpty(){return this._timeScale.isEmpty()}}var h=i(2872),d=i.n(h),u=i(39277);const p=new n.TranslatedString("change timezone",(0,r.t)("change timezone"));class _{constructor(e){this._onTimezoneChanged=new(d()),this._chartWidget=e,this._timezoneProperty=e.properties().childs().timezone,this._timezoneProperty.subscribe(this,e=>{this._onTimezoneChanged.fire(e.value())}),e.onAboutToBeDestroyed().subscribe(this,()=>{this._timezoneProperty.unsubscribeAll(this)},!0)}availableTimezones(){return u.availableTimezones}getTimezone(){const e=this._timezoneProperty.value();return(0,s.ensureDefined)(u.availableTimezones.find(t=>t.id===e))}setTimezone(e,t){(0,s.assert)((0,u.timezoneIsAvailable)(e),"Incorrect timezone: "+e),(null==t?void 0:t.disableUndo)?this._timezoneProperty.setValue(e):this._chartWidget.model().setProperty(this._timezoneProperty,e,p)}onTimezoneChanged(){return this._onTimezoneChanged}}var m=i(45973),g=i(59836),f=i(870);function v(e,t){const i=()=>{e.completed().unsubscribe(null,s),t(!1)},s=()=>{e.error().unsubscribe(null,i),t(!0)};e.completed().subscribe(null,i,!0),e.error().subscribe(null,s,!0)}var S=i(65862),y=i(16906);const b=new n.TranslatedString("change price to bar ratio",(0,r.t)("change price to bar ratio")),w=new n.TranslatedString("toggle lock scale",(0,r.t)("toggle lock scale")),C=new n.TranslatedString("change series style",(0,r.t)("change series style"));class P{constructor(e,t){this._visibleBarsChanged=new(d()),this._crosshairMoved=new(d()),this._ranges=null,this._alignerResolution=o.Interval.parse(""),this._alignerSymbolInfo=null,this._dwmAligner=null,this._chartWidget=e,this._activateChart=t,this._timezoneApi=new _(e),this._chartWidget.withModel(this,()=>{this._chartWidget.model().crossHairSource().moved().subscribe(this,this._onCrosshairMoved)})}getPriceToBarRatio(){return this._chartWidget.model().model().mainSeriesScaleRatioProperty().value()}setPriceToBarRatio(e,t){const i=this._chartWidget.model(),s=i.model(),r=s.mainSeriesScaleRatioProperty();(null==t?void 0:t.disableUndo)?new f.SetScaleRatioPropertiesCommand(r,e,null,s).redo():i.setScaleRatioProperty(r,e,b)}isPriceToBarRatioLocked(){return this._chartWidget.model().model().mainSeries().priceScale().isLockScale()} +setPriceToBarRatioLocked(e,t){const i=this._chartWidget.model(),s=i.model(),r=s.mainSeries().priceScale();(null==t?void 0:t.disableUndo)?new g.SetPriceScaleModeCommand({lockScale:e},r,null,s).redo():i.setPriceScaleMode({lockScale:e},r,w)}onDataLoaded(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().dataEvents().completed())}onSymbolChanged(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().dataEvents().symbolResolved())}onIntervalChanged(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().onIntervalChanged())}onVisibleRangeChanged(){return this._makeSubscriptionFromDelegate(this._visibleBarsChanged)}onChartTypeChanged(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().onStyleChanged())}onSeriesTimeframe(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().dataEvents().seriesTimeFrame())}whenChartReady(e){this._chartWidget.withModel(this,e)}crossHairMoved(){return this._makeSubscriptionFromDelegate(this._crosshairMoved)}setSymbol(e,t){if(e===this.symbol())return void(null==t||t());const i=e=>{!e&&t&&t()},s=this._chartWidget.model().mainSeries().dataEvents();t&&v(s,i),this._activateChart(),this._chartWidget.setSymbol(e)}setResolution(e,t){const i=o.Interval.normalize(e);if(null===i||i===this.resolution())return void(null==t||t());const s=e=>{!e&&t&&t()},r=this._chartWidget.model().mainSeries().dataEvents();t&&v(r,s),this._activateChart(),this._chartWidget.setResolution(i)}setChartType(e,t){const i=this._chartWidget.model().mainSeries().properties().childs().style;if(i.value()===e)return void(null==t||t());const s=e=>{!e&&t&&t()},r=this._chartWidget.model().mainSeries().dataEvents();t&&v(r,s),this._chartWidget.model().setChartStyleProperty(i,e,C)}getAllStudies(){return this._chartWidget.model().model().allStudies(!0).map(m.studyEntityInfo)}getAllPanesHeight(){const e=this._chartWidget.model().model().panes();if(this._chartWidget.isMaximizedPane()){let t=0,i=0;e.forEach(e=>{t+=e.height(),i+=e.stretchFactor()});const s=i/t;return e.map(e=>Math.round(e.stretchFactor()/s*100)/100)}return e.map(e=>e.height())}setAllPanesHeight(e){const t=this._chartWidget.model().model(),i=t.panes();(0,s.assert)(i.length===e.length,"There`s a mismatch between the number of heights you provided and the number of panes.");const r=i.reduce((e,t)=>e+t.stretchFactor(),0)/e.reduce((e,t)=>e+t);e.forEach((e,t)=>{const s=e*r;i[t].setStretchFactor(s)}),t.fullUpdate()}maximizeChart(){this._chartWidget.getResizerDetacher().requestFullscreen()}restoreChart(){this._chartWidget.getResizerDetacher().exitFullscreen()}sessions(){return this._chartWidget.model().model().sessions()}getTimeScaleLogicalRange(){return this._chartWidget.model().timeScale().logicalRange()}getTimezoneApi(){return this._timezoneApi}exportData(e){const t={...e};return void 0!==t.from&&(t.from=this._convertTimeFromPublic(t.from)),void 0!==t.to&&(t.to=this._convertTimeFromPublic(t.to)), +i.e(9498).then(i.bind(i,29630)).then(e=>e.exportData(this._chartWidget.model().model(),t))}barTimeToEndOfPeriod(e){const t=this._prepareEndOfPeriodArgs();return(0,l.barTimeToEndOfPeriod)(t.barBuilder,e,t.intervalObj)}endOfPeriodToBarTime(e){const t=this._prepareEndOfPeriodArgs();return(0,l.endOfPeriodToBarTime)(t.barBuilder,e,t.intervalObj)}createAnchoredShape(e,t){if(!0!==y.supportedLineTools[t.shape].isAnchored)return console.warn(t.shape+" is not an anchored shape. It can be created using createShape or createMultipointShape"),null;const i=this._chartWidget.model().model(),s=i.mainSeries();if(i.timeScale().isEmpty())return null;const r=void 0!==t.ownerStudyId?i.dataSourceForId(t.ownerStudyId):s,n=this._convertPositionPercentToPricedPoint(e,r);return null===n?null:this.createMultipointShape([n],t)}properties(){return this._chartWidget.properties()}setBarSpacing(e){this._chartWidget.model().timeScale().setBarSpacing(e)}scrollChartByBar(e){this._chartWidget.model().scrollChartByBar(e)}mergeAllScales(e){this._chartWidget.model().mergeAllScales(e)}chartPainted(){return this._chartWidget.chartPainted()}axesSizeReady(){for(const e of this._chartWidget.paneWidgets()){for(const t of e.leftPriceAxisesContainer().axes())if(!t.sizeReady())return!1;for(const t of e.rightPriceAxisesContainer().axes())if(!t.sizeReady())return!1}return!0}applyOverrides(e){this._chartWidget.applyOverrides(e)}addOverlayStudy(e,t,i){return this._chartWidget.addOverlayStudy(e,t,i)}lineToolsSynchronizer(){return this._chartWidget.lineToolsSynchronizer()}ranges(){throw new Error("not implemented")}getTimeScale(){return new c(this._chartWidget.model().timeScale())}_destroy(){this._chartWidget.hasModel()&&this._chartWidget.model().crossHairSource().moved().unsubscribeAll(this)}_createStudy(e){return Promise.reject("Pine Script™ and java studies are not supported")}_convertTimeToPublic(e){const t=this._getSeriesAligner();return null!==t?t.timeToExchangeTradingDay(1e3*e)/1e3:e}_convertIndexToPublicTime(e){const t=this._chartWidget.model(),i=t.timeScale();if(i.isEmpty())return null;const r=i.points(),n=(0,s.ensureNotNull)(r.firstIndex()),o=(0,s.ensureNotNull)(r.lastIndex());let a=null;if(n<=e&&e<=o)a=r.valueAt(e);else if(e>o){const r=t.mainSeries().syncModel();if(null!==r){const t=(0,s.ensureNotNull)(i.indexToTimePoint(o));a=r.projectTime(t,e-o)}}return null!==a&&(a=this._convertTimeToPublic(a)),a}_getDefaultCreateMultipointShapeOptions(){return{filled:!0}}_convertPositionPercentToPricedPoint(e,t){const i=this._chartWidget.model().timeScale(),s=t.priceScale(),r=t.firstValue();if(null==r||!isFinite(r)||null===s)return null;const n=i.coordinateToIndex(e.x*i.width()),o=i.indexToTimePoint(n);if(null===o)return null;return{price:s.coordinateToPrice(e.y*s.height(),r),time:o}}_convertTimeFromPublic(e){const t=this._getSeriesAligner();return null!==t?t.timeToSessionStart(1e3*e)/1e3:e}_getSeriesAligner(){const e=this._chartWidget.model().mainSeries(),t=e.interval(),i=o.Interval.parse(t),s=e.symbolInfo() +;return this._alignerResolution.isEqualTo(i)&&this._alignerSymbolInfo===s||(this._dwmAligner=null===s?null:(0,S.createDwmAligner)(t,s),this._alignerResolution=i,this._alignerSymbolInfo=s),this._dwmAligner}_onCrosshairMoved(e){const t=this._convertIndexToPublicTime(e.index);null!==t&&this._crosshairMoved.fire({price:e.price,time:t})}_makeSubscriptionFromDelegate(e){return{subscribe:e.subscribe.bind(e),unsubscribe:e.unsubscribe.bind(e),unsubscribeAll:e.unsubscribeAll.bind(e)}}_prepareEndOfPeriodArgs(){const e=this._chartWidget.model().model(),t=e.timezone(),i=(0,s.ensureNotNull)(e.mainSeries().symbolInfo()),r=e.mainSeries().interval(),n=new a.SessionInfo(t,i.session,i.session_holidays,i.corrections);return{barBuilder:(0,a.newBarBuilder)(r,n,n),intervalObj:o.Interval.parse(r)}}}},79500:(e,t,i)=>{"use strict";i.d(t,{ChartWidgetBase:()=>ui});var s=i(88537),r=i(28353),n=i(98125);function o(e,t){const i=Object.create(Object.getPrototypeOf(e));for(const s of t)Object.prototype.hasOwnProperty.call(e,s)&&(i[s]=e[s]);return i}var a=i(56840),l=i(49483),c=i(81836),h=i(76422),d=i(22729);let u;class p extends d.DialogRenderer{constructor(){super(),this._dialog=null,this._subscribe=e=>{this._setVisibility(e)}}show(){this._load().then(e=>e.show())}hide(){var e;null===(e=this._dialog)||void 0===e||e.hide()}static getInstance(){return u||(u=new p),u}_load(){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(3466),i.e(7836),i.e(3921),i.e(1112),i.e(6909),i.e(7419),i.e(9042),i.e(6427),i.e(9283),i.e(9255),i.e(3304),i.e(5827),i.e(4707),i.e(1e3),i.e(638),i.e(3245),i.e(4862)]).then(i.bind(i,49469)).then(e=>{var t,i;return null===(t=this._dialog)||void 0===t||t.hide(),null===(i=this._dialog)||void 0===i||i.visible().unsubscribe(this._subscribe),this._dialog=new e.ObjectTreeDialogRenderer,this._dialog.visible().subscribe(this._subscribe),this._dialog})}}var _=i(80643),m=i(54089),g=i(24431);var f=i(14291),v=i(81851),S=i(81465),y=i(88564),b=i(23653),w=i(16230),C=i(86441),P=i(45112),T=i(24980),x=i(71413),I=i(15840),M=i(84346),L=i(27759),A=i(77216),E=i(35878),k=i(85733),D=i(16757),V=i(4676),B=i(54386),N=i(93435),R=i(42759),O=i(52640),F=i(6087),W=i(15917),H=i(43842),z=i(22799);const U=parseInt(H.labelheight),j=parseInt(H.bottommargin);function G(e){return e/11}class q{constructor(){this._wrapper=document.createElement("div"),this._element=document.createElement("div"),this._labelElement=document.createElement("div"),this._gearElement=document.createElement("div"),this._currentScale=1,this._info=null,this._mode="auto",this._wrapper.appendChild(this._element),this._wrapper.classList.add(H.wrapper),this._element.classList.add(H.label),this._labelElement.className=H.symbol,this._element.appendChild(this._labelElement),this._gearElement.className=H.gear,this._gearElement.innerHTML=W,this._element.appendChild(this._gearElement)}getElement(){return this._wrapper}setMode(e){this._mode!==e&&(this._mode=e)}align(e,t){const i=G(t);Math.abs(i-this._currentScale)>.1&&(this._currentScale=i, +Math.abs(this._currentScale-1)>.1?this._element.style.transform=`scale(${this._currentScale})`:(this._currentScale=1,this._element.style.transform=""))}drawLabelForScreenshot(e,t){if(null===this._info||"gear"===this._mode)return;const i=(0,O.makeFont)(t.fontSize,z.CHART_FONT_FAMILY);e.fillStyle=F.themes[t.theme].getThemedColor("color-price-axis-label-back"),e.globalAlpha=.5,e.beginPath();const s=G(t.fontSize)*U/2,r=(0,C.point)(t.offset+t.width/2,t.height/2);e.arc(r.x,r.y,s,0,2*Math.PI,!0),e.fill(),e.globalAlpha=1,e.fillStyle=F.themes[t.theme].getThemedColor("color-price-axis-label-text"),e.textAlign="center",e.font=i,e.textBaseline="middle",e.fillText(this._info.label,r.x,r.y)}setAxisNameInfo(e){this._info=e,null!==e&&(this._labelElement.textContent=e.label)}static height(e){return(U+j)*e}}var Y=i(2872),K=i.n(Y),$=i(97056),X=i(94194);const Z={enableTooltip:!0,showLabels:!0,enableMenu:!0,enableHighlight:!0};class J{constructor(e,t,i,s,r,n=null){this._invalidated=!0,this._size=new N.Size(0,0),this._offset=0,this._axisInfo=null,this._onLabelHovered=new(K()),this._highlighted=!1,this._labelMode="auto",this._fixedLabelMode=null,this._canvasConfiguredHandler=()=>this.update(),this._timeAxisWidget=n,this._isLeft="left"===e,this._rendererOptionsProvider=s.rendererOptionsProvider,this._sourcesTitlesProvider=s.sourcesTitlesProvider,this._contextMenuItemsProvider=s.contextMenuItemsProvider,this._backgroundBasedTheme=s.backgroundBasedTheme,this._getBackgroundTopColor=s.getBackgroundTopColor,this._getBackgroundBottomColor=s.getBackgroundBottomColor,this._showHorizontalBorder=Boolean(s.showHorizontalBorder),this._properties=t,this._axisInfo=i,this._labelOptions={...Z,...r},this._properties.lineColor.subscribe(this,this._onPropertyChanged),this._cell=document.createElement("div"),this._cell.classList.add(H["price-axis-stub"]),this._labelOptions.enableTooltip&&this._cell.classList.add("apply-common-tooltip"),this._cell.style.width="25px",this._cell.style.height="100%",this._cell.style.position="absolute",this._cell.style.left="0",this._cell.style.overflow="hidden",this._labelOptions.showLabels?(this._label=new q,this._label.setAxisNameInfo(this._axisInfo),this._cell.appendChild(this._label.getElement()),this._labelOptions.enableTooltip&&(0,X.setTooltipData)(this._cell,"text",e=>this._tooltipContent())):this._label=null,this._mouseEventHandler=new B.MouseEventHandler(this._cell,this,{treatHorzTouchDragAsPageScroll:!0,treatVertTouchDragAsPageScroll:!0}),this._canvasBinding=(0,N.createBoundCanvas)(this._cell,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const o=this._canvasBinding.canvas;o.style.position="absolute",o.style.left="0",o.style.top="0"}destroy(){this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),this._properties.lineColor.unsubscribe(this,this._onPropertyChanged),this._mouseEventHandler.destroy()}mouseEnterEvent(e){this._mouseOrTouchEnterEvent(e)}touchStartEvent(e){this._mouseOrTouchEnterEvent(e)}mouseLeaveEvent(e){ +this._mouseOrTouchLeaveEvent(e)}touchEndEvent(e){this._mouseOrTouchLeaveEvent(e)}mouseClickEvent(e){this._mouseClickOrTapEvent(e)}tapEvent(e){this._mouseClickOrTapEvent(e)}update(){this._invalidated=!0}getElement(){return this._cell}onLabelHovered(){return this._onLabelHovered}setSizeAndOffset(e,t){if(e.w<0||e.h<0)throw new Error("Try to set invalid size to PriceAxisStub "+JSON.stringify(e));this._size.equals(e)||(this._size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._cell.style.width=e.w+"px",this._cell.style.minWidth=e.w+"px",this._cell.style.height=e.h+"px",this._invalidated=!0),this._offset!==t&&(this._offset=t,this._cell.style.left=t+"px")}paint(e){if(e{this.setLabelMode((0,s.ensureNotNull)(this._fixedLabelMode)),this._fixedLabelMode=null})}}var Q=i(41847);class ee{constructor(e,t,i,s,r,n=null){this._axises=[],this._stubs=[],this._size=new N.Size(0,0),this._onLabelHovered=new(K()),this._scalesProperties=e,this._priceAxisWidgetFactory=i,this._timeAxisWidget=n,this._rendererOptionsProvider=s.rendererOptionsProvider,this._titlesProvider=s.titlesProvider,this._stubContextMenuProvider=s.stubContextMenuProvider,this._backgroundBasedTheme=s.backgroundBasedTheme,this._getBackgroundTopColor=s.getBackgroundTopColor,this._getBackgroundBottomColor=s.getBackgroundBottomColor,this._showHorisontalBorder=Boolean(s.showHorizontalBorder),this._labelsOptions={...Z,...r};const o=this._scalesProperties.childs();this._stubProperties={lineColor:o.lineColor,fontSize:o.fontSize},this._side=t,this._cell=document.createElement("td"),this._cell.classList.add("chart-markup-table","price-axis-container"),this._cell.style.width="25px",this._cell.style.position="relative"}destroy(){this.setScales([],0,0,0)}onLabelHovered(){return this._onLabelHovered}setScales(e,t,i,r){for(;e.length>this._axises.length&&this._axises.lengtho;){const e=(0,s.ensureDefined)(this._stubs.pop());e.onLabelHovered().unsubscribeAll(this),this._cell.removeChild(e.getElement()),e.destroy()}for(;this._stubs.length{this._labelsOptions.showLabels&&this._labelsOptions.enableHighlight&&this._onLabelHovered.fire({owner:t,axis:(0,s.ensureNotNull)(e)},i)}),this._stubs.push(t),this._cell.appendChild(t.getElement())}const a=this._labelsOptions.enableMenu;1===r?this._stubs.forEach((e,t)=>e.setLabelMode(a?"gear":"symbol")):this._stubs.forEach((e,t)=>e.setLabelMode(te.updateCurrencyLabel())}optimalWidths(){return this._axises.map(e=>e.optimalWidth())}setSizes(e,t){this._size=new N.Size(t.reduce((e,t)=>e+t,0),e),this._cell.style.width=this._size.w+"px",this._cell.style.minWidth=this._size.w+"px",this._cell.style.height=this._size.h+"px",t.length!==this._axises.length+this._stubs.length&&(0,s.assert)(t.length===this._axises.length+this._stubs.length,"Widgets count should be the same as widths one");let i=0;this._forEachWidgetFromLeft((s,r)=>{const n=t[r];s.setSizeAndOffset(new N.Size(n,e),i),i+=n})}update(){this._axises.forEach(e=>e.update()),this._stubs.forEach(e=>e.update())}paint(e){this._axises.forEach((t,i)=>t.paint(e(i))),this._stubs.forEach((t,i)=>t.paint(e(i)))}paintStubs(e){this._stubs.forEach(t=>t.paint(e))}restoreDefaultCursor(){this._axises.forEach(e=>e.restoreDefaultCursor())}getWidth(){return this._size.w}findAxisWidgetForScale(e){const t=this._axises.find(t=>t.priceScale()===e);return void 0===t?null:t}getScreenshotData(){const e=this._getImage();return{canvas:e,content:e.toDataURL(),contentHeight:this._size.h,contentWidth:this._size.w}}getImage(){return this._getImage()}slotsCount(){return this._axises.length+this._stubs.length}highlightPriceAxisByLabel(e){this._axises.forEach(t=>{const i=t.axisInfo();t.setHighlighted(null!==i&&i.equals(e))})}axes(){return this._axises}_stubParams(e){return{rendererOptionsProvider:this._rendererOptionsProvider,backgroundBasedTheme:this._backgroundBasedTheme,sourcesTitlesProvider:()=>this._titlesProvider(this._side,e),contextMenuItemsProvider:()=>this._stubContextMenuProvider(this._side,e),getBackgroundTopColor:this._getBackgroundTopColor,getBackgroundBottomColor:this._getBackgroundBottomColor,showHorizontalBorder:this._showHorisontalBorder}}_getImage(){const e=(0,N.createDisconnectedCanvas)(document,this._size),t=(0,N.getPrescaledContext2D)(e);let i=0;return this._forEachWidgetFromLeft((e,s)=>{const r=e.getWidth();0!==r&&(t.drawImage(e.getImage(),i,0,r,this._size.h),i+=r)}),e}_forEachWidgetFromLeft(e){const t=[...this._axises,...this._stubs],i="left"===this._side,s=i?-1:t.length,r=i?-1:1;for(let n=i?t.length-1:0;n!==s;n+=r)e(t[n],n,t)}}var te=i(29892),ie=i(76818),se=i(51768),re=i(24377),ne=i(68906),oe=i(45345),ae=i(24633),le=i(64514),ce=i(91216),he=i(4103);const de=(0,P.getHexColorByName)("color-white"),ue=(0,P.getHexColorByName)("color-cold-gray-100"),pe=(0, +ne.applyTransparency)((0,P.getHexColorByName)("color-white"),60),_e=(0,P.getHexColorByName)("color-cold-gray-800"),me=(0,ne.applyTransparency)((0,P.getHexColorByName)("color-black"),60);function ge(e){const t=(0,ne.isHexColor)(e)?e.toLowerCase():(0,re.rgbToHexString)((0,re.parseRgb)(e));return oe.watchedTheme.value()===ae.StdTheme.Light?t===de?ue:pe:"#181c27"===t?_e:me}class fe{constructor(){this._width=null,this._currencyInfo=null,this._unitInfo=null,this._fontSize=0,this._backgroundColor="",this._hoverColor="",this._fadeEndColor="",this._hoveredLabel=null,this._currencyAndUnitLabelsWrapper=document.createElement("div"),this._currencyAndUnitLabelsWrapper.className=he["price-axis-currency-label-wrapper"],this._controlsContainer=document.createElement("div"),this._controlsContainer.className=he["price-axis-currency-label"],this._currencyAndUnitLabelsWrapper.appendChild(this._controlsContainer),this._currencyLabelDiv=document.createElement("div"),this._currencyLabelDiv.className=he.row,this._currencyLabelDiv.classList.add("apply-common-tooltip"),(0,X.setTooltipData)(this._currencyLabelDiv,"text",e=>this._currencyTooltipContent()),this._currencyText=document.createElement("span"),this._currencyText.className=he["price-axis-currency-label-text"],this._currencyLabelDiv.appendChild(this._currencyText),this._currencyArrowDown=document.createElement("span"),this._currencyArrowDown.className=he["price-axis-currency-label-arrow-down"],this._currencyArrowDown.innerHTML=ce,this._currencyLabelDiv.appendChild(this._currencyArrowDown),this._unitLabelDiv=document.createElement("div"),this._unitLabelDiv.className=he.row,this._unitLabelDiv.classList.add("apply-common-tooltip"),(0,X.setTooltipData)(this._unitLabelDiv,"text",e=>this._unitTooltipContent()),this._unitText=document.createElement("span"),this._unitText.className=he["price-axis-currency-label-text"],this._unitLabelDiv.appendChild(this._unitText),this._unitArrowDown=document.createElement("span"),this._unitArrowDown.className=he["price-axis-currency-label-arrow-down"],this._unitArrowDown.innerHTML=ce,this._unitLabelDiv.appendChild(this._unitArrowDown),this._controlsContainer.appendChild(this._currencyLabelDiv),this._controlsContainer.appendChild(this._unitLabelDiv),this._fadeDiv=document.createElement("div"),this._fadeDiv.className=he["price-axis-currency-label-fade"],this._currencyAndUnitLabelsWrapper.appendChild(this._fadeDiv);const e=e=>{null!==this._hoveredLabel&&this._hoveredLabel!==e&&(this._hoveredLabel.style.background=""),this._hoveredLabel=e,""===this._hoverColor&&(this._hoverColor=ge(this._backgroundColor)),null!==e&&(e.style.background=this._hoverColor)};this._currencyLabelDiv.addEventListener("mouseover",()=>e(this._currencyLabelDiv)),this._currencyLabelDiv.addEventListener("mouseout",()=>e(null)),this._unitLabelDiv.addEventListener("mouseover",()=>e(this._unitLabelDiv)),this._unitLabelDiv.addEventListener("mouseout",()=>e(null)),this.disableCurrency(),this.disableUnit()}element(){return this._currencyAndUnitLabelsWrapper}currencyLabelElement(){ +return this._currencyLabelDiv}unitLabelElement(){return this._unitLabelDiv}isEnabled(){return this.currencyLabelEnabled()||this.unitLabelEnabled()}width(){if(null!==this._width)return this._width;let e=0;if(this.currencyLabelEnabled()){const t=this._currencyText.getBoundingClientRect(),i=this._currencyArrowDown.getBoundingClientRect();e=Math.max(e,t.width+i.width+2*this._textMarginAndPadding())}if(this.unitLabelEnabled()){const t=this._unitText.getBoundingClientRect(),i=this._unitArrowDown.getBoundingClientRect();e=Math.max(e,t.width+i.width+2*this._textMarginAndPadding())}return this._width=e}drawLabel(e,t,i){if(!this.isEnabled())return;const s=this.currencyLabelEnabled()?this._currencyText.textContent||"":this._unitText.textContent||"",r=this._unitText.textContent||"";e.font=(0,O.makeFont)(this._fontSize,z.CHART_FONT_FAMILY);const n=new ie.TextWidthCache,o=n.yMidCorrection(e,s),a=n.yMidCorrection(e,r),l=Math.round(Number(he.css_wrapper_margin)*i),c=(0,le.ceiledEven)(t*i)-2*l,h=Math.round(this.labelBottom()*i);e.fillStyle=this._backgroundColor,e.fillRect(l,0,c,h);const d=Math.round(Number(he.css_fade_height)*i),u=e.createLinearGradient(0,h,0,h+d);u.addColorStop(0,this._backgroundColor),u.addColorStop(1,this._fadeEndColor),e.fillStyle=u;const p=Math.round(Number(he.css_value_currency_label_radius)*i);(0,R.drawRoundRect)(e,l,h,c,d,[0,0,p,p]),e.fill();const _=Math.round(Number(he.css_first_row_top_padding)*i),m=Math.round(this._textMarginAndPadding()*i)+l,g=this._oneLineHeight()/2*i,f=_+g,v=Math.ceil(f+2*g);e.fillStyle=this._controlsContainer.style.color,e.textBaseline="middle",e.textAlign="left",(0,N.drawScaled)(e,i,()=>e.fillText(s,m/i,(f+o)/i)),this._isMultiLine()&&(0,N.drawScaled)(e,i,()=>e.fillText(r,m/i,(v+a)/i))}setHidden(e){this._controlsContainer.classList.toggle(he.hidden,e),this._fadeDiv.classList.toggle(he.hidden,e)}enableCurrency(){this._currencyLabelDiv.classList.remove("js-hidden"),this._width=null,this._updateVisibility()}disableCurrency(){this._currencyLabelDiv.classList.add("js-hidden"),this._width=null,this._updateVisibility()}enableUnit(){this._unitLabelDiv.classList.remove("js-hidden"),this._width=null,this._updateVisibility()}disableUnit(){this._unitLabelDiv.classList.add("js-hidden"),this._width=null,this._updateVisibility()}currencyLabelEnabled(){return!this._currencyLabelDiv.classList.contains("js-hidden")}unitLabelEnabled(){return!this._unitLabelDiv.classList.contains("js-hidden")}setCurrencyInfo(e){if(this._currencyInfo===e)return!1;this._currencyInfo=e;const t=null===e.selectedCurrency?(0,r.t)("Mixed"):(0,s.ensureDefined)(e.displayedValues.get(e.selectedCurrency));return this._currencyText.textContent!==t&&(this._currencyText.textContent=t,this._width=null),this._currencyArrowDown.classList.contains("js-hidden")!==e.readOnly&&(this._currencyArrowDown.classList.toggle("js-hidden",e.readOnly),this._currencyLabelDiv.classList.toggle(he.readonly,e.readOnly),this._width=null),!0}setUnitInfo(e){ +if(null!==this._unitInfo&&this._unitInfo.selectedUnit===e.selectedUnit&&0===this._unitInfo.availableGroups.size==(0===e.availableGroups.size)&&this._unitInfo.originalUnits.size===e.originalUnits.size)return this._unitInfo=e,!1;this._unitInfo=e;const t=null===e.selectedUnit?(0,r.t)("Mixed"):(0,s.ensureDefined)(e.names.get(e.selectedUnit));return this._unitText.textContent!==t&&(this._unitText.textContent=t,this._width=null),this._unitArrowDown.classList.contains("js-hidden")!==(0===e.availableGroups.size)&&(this._unitArrowDown.classList.toggle("js-hidden",0===e.availableGroups.size),this._unitLabelDiv.classList.toggle(he.readonly,0===e.availableGroups.size),this._width=null),!0}updateColors(e,t){this._controlsContainer.style.color=t,this._backgroundColor!==e&&(this._backgroundColor=e,this._fadeEndColor=(0,ne.applyTransparency)(e,100),this._hoverColor=ge(e)),this._controlsContainer.style.background=this._backgroundColor,null!==this._hoveredLabel&&(this._hoveredLabel.style.background=this._hoverColor),this._fadeDiv.style.background=`linear-gradient(${this._backgroundColor}, ${this._fadeEndColor})`}currencyInfo(){return this._currencyInfo}unitInfo(){return this._unitInfo}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this._currencyLabelDiv.style.fontSize=e+"px",this._unitLabelDiv.style.fontSize=e+"px",this._width=null,this._setLineHeight(this._oneLineHeight()))}labelBottom(){const e=this._oneLineHeight();let t=e+Number(he.css_first_row_top_padding);return this._isMultiLine()&&(t+=e),t}_textMarginAndPadding(){return Number(he.css_row_left_right_margin)+Number(he.css_row_left_right_padding)}_currencyTooltipContent(){const e=this._currencyInfo;return null===e?"":null===e.selectedCurrency?Array.from(e.currencies).map(t=>(0,s.ensureDefined)(e.displayedValues.get(t))).join(", "):""}_unitTooltipContent(){const e=this._unitInfo;return null===e?"":null===e.selectedUnit?Array.from(e.units).map(t=>(0,s.ensureDefined)(e.names.get(t))).join(", "):e.descriptions.get(e.selectedUnit)||""}_setLineHeight(e){this._currencyLabelDiv.style.lineHeight=e+"px",this._unitLabelDiv.style.lineHeight=e+"px"}_updateVisibility(){const e=this.isEnabled();this._currencyAndUnitLabelsWrapper.classList.toggle("js-hidden",!e),this._fadeDiv.classList.toggle("js-hidden",!e)}_oneLineHeight(){return 7+this._fontSize}_isMultiLine(){return this.unitLabelEnabled()&&this.currencyLabelEnabled()}}async function ve(e,t,s){const{UnitConversionRenderer:r}=await Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(2e3),i.e(7962),i.e(8986),i.e(7836),i.e(5774),i.e(1112),i.e(4763),i.e(4474),i.e(7237),i.e(1e3),i.e(8994),i.e(2704)]).then(i.bind(i,71834));return new r(e,s,t)}function Se(e,t){let{deltaX:i,deltaY:s}=e;switch(i/=100,s/=100,t.deltaMode){case t.DOM_DELTA_PAGE:i*=120,s*=120;break;case t.DOM_DELTA_LINE:i*=32,s*=32}return{deltaX:i,deltaY:s}}class ye{constructor(){this._totalDeltaX=0,this._totalDeltaY=0,this._prevWheelTime=0}processWheel(e){e.timeStamp-this._prevWheelTime>100&&this._reset(),this._totalDeltaX+=e.deltaX,this._totalDeltaY+=e.deltaY, +this._prevWheelTime=e.timeStamp;const t={deltaX:e.deltaX,deltaY:e.deltaY};return 0===this._totalDeltaX||0===this._totalDeltaY||(Math.abs(this._totalDeltaX)>=Math.abs(3*this._totalDeltaY)&&(t.deltaY=0),Math.abs(this._totalDeltaY)>=Math.abs(3*this._totalDeltaX)&&(t.deltaX=0)),Se(t,e)}_reset(){this._totalDeltaX=0,this._totalDeltaY=0}}var be=i(68335),we=i(62138),Ce=i(51264),Pe=i(67337),Te=i(61671),xe=i(28296),Ie=i(8175),Me=i(27966);i(1597);const Le=new T.TranslatedString("change no overlapping labels",(0,r.t)("change no overlapping labels")),Ae=(0,r.t)("Merge all scales into one"),Ee=(0,r.t)("Labels"),ke=(0,r.t)("Currencies"),De=(0,r.t)("Units"),Ve=(0,r.t)("Reset price scale"),Be=(0,r.t)("Auto (fits data to screen)"),Ne=(0,r.t)("Percent",{context:"scale_menu"}),Re=(0,r.t)("Indexed to 100",{context:"scale_menu"}),Oe=(0,r.t)("Logarithmic",{context:"scale_menu"}),Fe=(0,r.t)("Regular",{context:"scale_menu"}),We=(0,r.t)("No overlapping labels",{context:"scale_menu"}),He=(0,r.t)("Invert scale",{context:"scale_menu"});const ze=function(e){const t=new Ce.LimitedPrecisionNumericFormatter(e);return(e,i)=>(0,_.isNumber)(i)&&!e.isLog()?t.format(i):""}(4),Ue={contextMenuEnabled:!0,currencyConversionEnabled:!1,unitConversionEnabled:!1,countdownEnabled:!0,contextMenu:{general:!0,source:!0},pressedMouseMoveScale:!0,mouseWheelScale:!0,pinchScale:!0,croppedTickMarks:!0};class je{constructor(e,t,i,s,r,n,o,a,l){this._actions=null,this._priceScale=null,this._widthCache=new ie.TextWidthCache(1e3),this._color=null,this._fontSize=null,this._currencyFontSize=0,this._currencyLabelWidth=null,this._isVisible=!0,this._updateTimeout=null,this._currencyMenu=null,this._unitMenu=null,this._prevOptimalWidth=0,this._size=new N.Size(-1,-1),this._currentCursorClassName="",this._destroyed=!1,this._highlighted=!1,this._mouseWheelHelper=null,this._dragScaleActive=!1,this._offset=NaN,this._pinching=!1,this._recalcCurrencyAndUnitVisibility=()=>{if(null===this._currencyLabel)return;const e=(0,Ie.currencyUnitVisibilityProperty)().value(),t="alwaysOff"===e||!this._chart.anyPriceAxisHovered().value()&&"visibleOnMouseOver"===e;this._currencyLabel.setHidden(t)},this._chart=e,this._pane=t,this._undoModel=i,this._properties=s,this._isLeft="left"===n,this._options=(0,_.merge)((0,_.clone)(Ue),o),this._rendererOptionsProvider=r,this._backgroundBasedTheme=l,this._cell=document.createElement("div"),this._cell.className="price-axis",this._cell.style.width="25px",this._cell.style.left="0",this._canvasConfiguredHandler=()=>{this._undoModel.model().lightUpdate()},this._canvasBinding=(0,N.createBoundCanvas)(this._cell,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const c=this._canvasBinding.canvas;c.style.position="absolute",c.style.zIndex="1",c.style.left="0",c.style.top="0",this._topCanvasConfiguredHandler=()=>this._undoModel.model().lightUpdate(),this._topCanvasBinding=(0,N.createBoundCanvas)(this._cell,new N.Size(16,16)),this._topCanvasBinding.subscribeCanvasConfigured(this._topCanvasConfiguredHandler) +;const h=this._topCanvasBinding.canvas;h.style.position="absolute",h.style.zIndex="2",h.style.left="0",h.style.top="0",this._mouseEventHandler=new B.MouseEventHandler(this._cell,this,{treatVertTouchDragAsPageScroll:!1,treatHorzTouchDragAsPageScroll:!0}),this._options.currencyConversionEnabled||this._options.unitConversionEnabled?(this._currencyLabel=new fe,this._cell.appendChild(this._currencyLabel.element())):this._currencyLabel=null,this._properties.childs().fontSize.subscribe(this,this._onFontSizeChanged),this._options.mouseWheelScale&&(this._mouseWheelHelper=new ye,this._cell.addEventListener("wheel",this._onMousewheel.bind(this),{passive:!1})),this._axisInfo=a,this._offset=0,this.restoreDefaultCursor(),(0,Ie.currencyUnitVisibilityProperty)().subscribe(this,this._recalcCurrencyAndUnitVisibility),this._chart.anyPriceAxisHovered().subscribe(this._recalcCurrencyAndUnitVisibility),this._recalcCurrencyAndUnitVisibility(),this.update()}getContextMenuActions(){this._initActions();const e=(0,s.ensureNotNull)(this._actions),t=this._chart.actions(),i=[];return i.push(e.reset,new xe.Separator,this._autoScaleAction()),this._isMainSeriesAxis()&&i.push(this._lockScaleAction()),i.push(t.scaleSeriesOnly,this._invertAction(),new xe.Separator,this._regularScaleAction(),this._percentageAction(),this._indexedTo100Action(),this._logAction(),new xe.Separator),l.CheckMobile.any()||(i.push(this._createMergeScalesAction()),i.push(new xe.Separator)),Pe.enabled("fundamental_widget")||i.push(new xe.Action({actionId:"Chart.PriceScale.Labels",label:Ee,subItems:[t.showSymbolLabelsAction,t.showSeriesLastValue,null,null,t.showHighLowPriceLabels,Pe.enabled("show_average_close_price_line_and_label")?t.showAverageClosePriceLabel:null,null,t.showStudyPlotNamesAction,t.showStudyLastValue,e.alignLabels].filter(Boolean)})),i.push((0,Te.createLinesAction)(this._chart)),this._options.countdownEnabled&&i.push(t.showCountdown),this._undoModel.crossHairSource().isMenuEnabled()&&i.push(t.addPlusButton),!(0,l.onWidget)()&&Pe.enabled("show_chart_property_page")&&Pe.enabled("chart_property_page_scales")&&t.scalesProperties&&i.push(new xe.Separator,t.scalesProperties),i}getElement(){return this._cell}onOptimalWidthNeedToBeRecalculated(e){const t=this.optimalWidth();(this._prevOptimalWidth{this._undoModel.model().fullUpdate(),this._updateTimeout=null},100)),this._prevOptimalWidth=t}optimalWidth(){var e;if(!this.isVisible())return 0;let t=0;const i=this.rendererOptions();if(this._pane.hasState()){const i=(0,N.getContext2D)(this._canvasBinding.canvas);(0,te.setFont)(i,this.baseFont());const s=this.backLabels(!0);for(let e=s.length;e--;){if(!s[e].isAxisLabelVisible())continue;const r=this._widthCache.measureText(i,s[e].text());t=Math.max(t,r);const n=s[e].secondLineText();n&&(t=Math.max(t,this._widthCache.measureText(i,n)));const o=s[e].thirdLineText();o&&(t=Math.max(t,this._widthCache.measureText(i,o)))}const r=this.priceScale(),n=r.marks() +;n.length>0&&(t=Math.max(t,this._widthCache.measureText(i,n[0].label),this._widthCache.measureText(i,n[n.length-1].label)));const o=(null===(e=r.mainSource())||void 0===e?void 0:e.firstValue())||null;if(null!==o){const e=r.coordinateToPrice(1,o),s=r.coordinateToPrice(this._size.h-2,o);t=Math.max(t,this._widthCache.measureText(i,r.formatPrice(Math.floor(Math.min(e,s))+.11111111111111,o)),this._widthCache.measureText(i,r.formatPrice(Math.ceil(Math.max(e,s))-.11111111111111,o)))}}let r=0;this._isCurrencyLabelEnabled()&&(null===this._currencyLabelWidth&&(this._currencyLabelWidth=(0,s.ensureNotNull)(this._currencyLabel).width()),r=Math.round(this._currencyLabelWidth));const n=t||34;let o=Math.max(r,Math.ceil(i.borderSize+i.offsetSize+i.paddingInner+i.paddingOuter+n+4));return o+=o%2,o}backLabels(e){const t=[],i=this._grouppedSources(),s=s=>{for(const r of s){if(!e&&i.topLevelSources.has(r))continue;const s=r.priceAxisViews(this._pane.state(),this.priceScale());if(s)for(const e of s)t.push(e)}};return s(i.sources),s(this._pane.state().customSources()),t}setSizeAndOffset(e,t){if(e.w<0||e.h<0)throw new Error("Try to set invalid size to PriceAxisWidget "+JSON.stringify(e));this._size.equals(e)||(this._size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._topCanvasBinding.resizeCanvas({width:e.w,height:e.h}),this._cell.style.width=e.w+"px",this._cell.style.height=e.h+"px",this._cell.style.minWidth=e.w+"px"),this._offset!==t&&(this._offset=t,this._cell.style.left=t+"px")}getWidth(){return this._size.w}getImage(){const e=this._size,t=(0,N.createDisconnectedCanvas)(document,e);return(0,N.getPrescaledContext2D)(t).drawImage(this._canvasBinding.canvas,0,0,e.w,e.h),null!==this._currencyLabel&&this._currencyLabel.isEnabled()&&this._currencyLabel.drawLabel((0,N.getContext2D)(t),e.w,(0,N.getCanvasDevicePixelRatio)(t)),t}update(){}paint(e){if(!this._isVisible)return;if(e===b.InvalidationLevel.None)return;const t=this._pane.state(),i=!t.maximized().value()&&t.collapsed().value();if(e>b.InvalidationLevel.Cursor){const e=(0,N.getContext2D)(this._canvasBinding.canvas);i||this._alignLabels(),this._drawBackground(e,this._canvasBinding.pixelRatio),this._drawBorder(e,this._canvasBinding.pixelRatio),this._pane.hasState()&&(this.updateCurrencyLabel(),i||(this._drawTickMarks(e,this._canvasBinding.pixelRatio),this._drawBackLabels(e,this._canvasBinding.pixelRatio)))}if(this._pane.hasState()&&!i){const e=(0,N.getContext2D)(this._topCanvasBinding.canvas),t=this._topCanvasBinding.pixelRatio;e.clearRect(0,0,Math.ceil(this._size.w*t)+1,Math.ceil(this._size.h*t)+1),this._drawCrossHairLabel(e,t)}}restoreDefaultCursor(){this._setCursor("")}priceScale(){return(0,s.ensureNotNull)(this._priceScale)}setPriceScale(e){this._priceScale!==e&&(null!==this._priceScale&&(this._priceScale.onMarksChanged().unsubscribe(this,this.onOptimalWidthNeedToBeRecalculated),this._priceScale.modeChanged().unsubscribeAll(this)),this._priceScale=e,null!==e&&(e.onMarksChanged().subscribe(this,this.onOptimalWidthNeedToBeRecalculated), +e.modeChanged().subscribe(this,()=>this.onOptimalWidthNeedToBeRecalculated(!0))))}isVisible(){return this._isVisible}setVisible(e){(e=!!e)!==this._isVisible&&(this._cell.style.display=e?"table-cell":"none",this._isVisible=e)}destroy(){null!==this._currencyMenu&&(this._currencyMenu.close(),this._currencyMenu=null),null!==this._unitMenu&&(this._unitMenu.close(),this._unitMenu=null),this._topCanvasBinding.unsubscribeCanvasConfigured(this._topCanvasConfiguredHandler),this._topCanvasBinding.destroy(),this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),null!==this._priceScale&&(this._priceScale.onMarksChanged().unsubscribe(this,this.onOptimalWidthNeedToBeRecalculated),this._priceScale.modeChanged().unsubscribeAll(this)),this._priceScale=null,this._updateTimeout&&(clearTimeout(this._updateTimeout),this._updateTimeout=null),this._mouseEventHandler.destroy(),this._properties.childs().fontSize.unsubscribe(this,this._onFontSizeChanged),null!==this._actions&&this._actions.reset&&this._actions.reset.destroy(),(0,Ie.currencyUnitVisibilityProperty)().unsubscribeAll(this),this._chart.anyPriceAxisHovered().unsubscribe(this._recalcCurrencyAndUnitVisibility),this._chart.setPriceAxisHovered(this,!1),this._destroyed=!0}axisInfo(){return this._axisInfo}setHighlighted(e){this._highlighted=e}backgroundColor(){return this._pane.state().model().backgroundColor().value()}backgroundTopColor(){return this._pane.state().model().backgroundTopColor().value()}lineColor(){return this._properties.childs().lineColor.value()}textColor(){return this._properties.childs().textColor.value()}fontSize(){return this._properties.childs().fontSize.value()}baseFont(){return(0,O.makeFont)(this.fontSize(),z.CHART_FONT_FAMILY,"")}rendererOptions(){let e=this._rendererOptionsProvider.options();return this._color===e.color&&this._fontSize===e.fontSize||(this._color=e.color),this._fontSize!==e.fontSize&&(this._widthCache.reset(),this._fontSize=e.fontSize,this._currencyLabelWidth=null,this._currencyFontSize=0,this._updateCurrencyLabelFont(),this.onOptimalWidthNeedToBeRecalculated()),e}mouseEnterEvent(e){this._chart.setPriceAxisHovered(this,!0),this._mouseEnterOrTouchStartEvent(e)}mouseMoveEvent(e){this._mouseOrTouchMoveEvent(e)}mouseDownEvent(e){this._mouseDownOrTouchStartEvent(e)}touchStartEvent(e){this._mouseOrTouchMoveEvent(e),this._mouseEnterOrTouchStartEvent(e),this._mouseDownOrTouchStartEvent(e)}pressedMouseMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}pinchStartEvent(){}pinchEvent(e,t,i){if(this._zoomAvailable()&&this._options.pinchScale){if(this._dragScaleActive&&this._finishScale(),!this._pinching)return this._pinching=!0,void this._undoModel.startTwoPointsScalePrice(this._pane.state(),this.priceScale(),t.y,i.y);this._undoModel.twoPointsScalePriceTo(this._pane.state(),this.priceScale(),t.y,i.y)}}pinchEndEvent(){this._pinching=!1,this._undoModel.endTwoPointsScalePrice(this._pane.state(),this.priceScale())}mouseDownOutsideEvent(){ +this._finishScale()}mouseUpEvent(e){this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._mouseLeaveOrTouchEndEvent(e),this._mouseUpOrTouchEndEvent(e)}mouseClickEvent(e){this._mouseClickOrTapEvent(e)}tapEvent(e){this._mouseClickOrTapEvent(e)}mouseLeaveEvent(e){this._chart.setPriceAxisHovered(this,!1),this._mouseLeaveOrTouchEndEvent(e)}mouseDoubleClickEvent(e){this._mouseDoubleClickOrDoubleTapEvent(e)}doubleTapEvent(e){this._mouseDoubleClickOrDoubleTapEvent(e)}contextMenuEvent(e){this._contextMenuOrTouchContextMenuEvent(e)}touchContextMenuEvent(e){this._contextMenuOrTouchContextMenuEvent(e)}dataSourceAtPoint(e,t){const i=this._pane.state();if(!i.maximized().value()&&i.collapsed().value())return null;const s=this._grouppedSources(),r=[...s.sources,...s.topLevelSources,...i.customSources()];let n=null,o=null;if(!this._priceScale)return null;const a=(e,t)=>{var i;const s=null!==(i=null==o?void 0:o.result())&&void 0!==i?i:0;e.result()>s&&(o=e,n=t)},l=new C.Point(e,t);for(let e=r.length-1;e>=0;--e){const t=r[e],s=t.priceAxisViews(i,this._priceScale);if(s&&0!==s.length)for(let e=s.length-1;e>=0;--e){const i=s[e].renderer();if(void 0!==i.hitTest){const e=i.hitTest(l,this._size.w,this._isLeft?"left":"right");null!==e&&a(e,t)}}}return n}reset(){const e=this._pane.state(),t=this.priceScale();this._undoModel.resetPriceScale(e,t),this.onOptimalWidthNeedToBeRecalculated(!0)}sizeReady(){return this.getWidth()>=this.optimalWidth()&&null===this._updateTimeout}updateCurrencyLabel(){if(null===this._currencyLabel)return;let e=!1;if(this._options.currencyConversionEnabled){const t=this.priceScale().currency(this._undoModel.model().availableCurrencies());null===t||"alwaysOff"===(0,Ie.currencyUnitVisibilityProperty)().value()?(e=this._currencyLabel.currencyLabelEnabled(),this._currencyLabel.disableCurrency()):(e=!this._currencyLabel.currencyLabelEnabled(),this._currencyLabel.enableCurrency(),this._currencyLabel.updateColors(this.backgroundTopColor(),this.textColor()),e=this._currencyLabel.setCurrencyInfo(t)||e)}if(this._options.unitConversionEnabled){const t=this.priceScale().unit(this._undoModel.model().availableUnits());null===t||"alwaysOff"===(0,Ie.currencyUnitVisibilityProperty)().value()?(e=e||this._currencyLabel.unitLabelEnabled(),this._currencyLabel.disableUnit()):(e=e||!this._currencyLabel.unitLabelEnabled(),this._currencyLabel.enableUnit(),this._currencyLabel.updateColors(this.backgroundTopColor(),this.textColor()),e=this._currencyLabel.setUnitInfo(t)||e)}this._updateCurrencyLabelFont(),e&&(this._currencyLabelWidth=null)}_grouppedSources(){var e;const t=this._pane,i=t.state().model(),s=this._sameSideSources().slice(),r=t.state(),n=this.priceScale(),o=new Set,a=null!==(e=i.lineBeingEdited())&&void 0!==e?e:i.lineBeingCreated();a&&o.add(a);const l=i.customSourceBeingMoved();null!==l&&o.add(l),i.sourcesBeingMoved().forEach(e=>o.add(e)),i.selection().allSources().forEach(e=>o.add(e));const c=i.hoveredSource();null!==c&&o.add(c);if(n===r.defaultPriceScale()){const e=this._pane.state().dataSources() +;for(const t of e)r.isOverlay(t)&&s.push(t)}return{sources:s,topLevelSources:o}}_isCurrencyLabelEnabled(){return null!==this._currencyLabel&&this._currencyLabel.isEnabled()}_updateCurrencyLabelFont(){if(null===this._currencyLabel)return;const e=this.fontSize();e!==this._currencyFontSize&&(this._currencyLabel.setFontSize(e),this._currencyFontSize=e,this._currencyLabelWidth=null,this.onOptimalWidthNeedToBeRecalculated())}_alignLabels(){const e=this._size.h;let t=e/2;const i=[],s=this.priceScale(),r=s.orderedSources().slice(),n=this._pane.state(),o=this.rendererOptions();if(s===n.defaultPriceScale()){const e=n.priceDataSources();for(let t=0;t{if(t.ignoreAlignment()||!t.isVisible())return!1;const i=t.height(o),s=t.floatCoordinate();return s>-i&&se.floatCoordinate()<=t),c=i.filter(e=>e.floatCoordinate()>t);l.sort((e,t)=>t.floatCoordinate()-e.floatCoordinate()),l.length>0&&c.length>0&&c.push(l[0]),c.sort((e,t)=>e.floatCoordinate()-t.floatCoordinate());for(const e of i)e.setFixedCoordinate(e.coordinate());if(s.properties().childs().alignLabels.value()){for(let e=1;en-s&&t.setFixedCoordinate(n-s)}for(let e=1;e{if(this._options.croppedTickMarks)return{visible:!0,yCorrection:this._widthCache.yMidCorrection(e,t.label)};const i=t.coord-a/2,s=t.coord+a/2,r=!(s>this._size.h||ithis._size.h||i{for(let s=i.length;s--;){if(!c[s].visible)continue;const r=i[s];e.fillText(r.label,o/t,r.coord+c[s].yCorrection)}}),e.restore()}_hasAlertLabel(){return!1}async _showCurrenciesContextMenu(){if(null!==this._currencyMenu&&this._currencyMenu.isOpened())return void this._currencyMenu.close();(0,se.trackEvent)("GUI","Currency conversion");const{currencyActions:e}=await Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(2e3),i.e(7962),i.e(8986),i.e(7836),i.e(5774),i.e(1112),i.e(4763),i.e(4474),i.e(7237),i.e(1e3),i.e(8994),i.e(2704)]).then(i.bind(i,11507)),t=await ve(ke,()=>e(this._undoModel,(0, +s.ensureNotNull)(this._currencyLabel).currencyInfo(),this.priceScale()),(0,s.ensureNotNull)(this._currencyLabel).currencyLabelElement());this._destroyed?t.close():this._currencyMenu=t}async _showUnitsContextMenu(){if(null!==this._unitMenu&&this._unitMenu.isOpened())return void this._unitMenu.close();(0,se.trackEvent)("GUI","Unit conversion");const{unitActions:e}=await Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(2e3),i.e(7962),i.e(8986),i.e(7836),i.e(5774),i.e(1112),i.e(4763),i.e(4474),i.e(7237),i.e(1e3),i.e(8994),i.e(2704)]).then(i.bind(i,53997)),t=await ve(De,()=>e(this._undoModel,(0,s.ensureNotNull)(this._currencyLabel).unitInfo(),this.priceScale()),(0,s.ensureNotNull)(this._currencyLabel).unitLabelElement());this._destroyed?t.close():this._unitMenu=t}_onFontSizeChanged(){this._currencyLabelWidth=null,this._currencyFontSize=0,this._updateCurrencyLabelFont(),this.onOptimalWidthNeedToBeRecalculated()}_mouseOrTouchMoveEvent(e){if(!this._priceScale)return;this.dataSourceAtPoint(e.localX,e.localY)?this._setCursorClassName("pointer"):this._setResizeCursor()}_mouseDownOrTouchStartEvent(e){this._zoomAvailable()&&this._options.pressedMouseMoveScale&&!this._pinching&&(this._dragScaleActive=!0,this._undoModel.startScalePrice(this._pane.state(),this.priceScale(),e.localY))}_mouseEnterOrTouchStartEvent(e){this._setResizeCursor()}_pressedMouseOrTouchMoveEvent(e){if(this._dragScaleActive){const t=this.priceScale();this._undoModel.scalePriceTo(this._pane.state(),t,e.localY)}}_mouseUpOrTouchEndEvent(e){this._finishScale()}_finishScale(){this._dragScaleActive&&(this._undoModel.endScalePrice(this._pane.state(),this.priceScale()),this.restoreDefaultCursor(),this._dragScaleActive=!1)}_mouseClickOrTapEvent(e){if(this._currencyLabel){if(this._currencyLabel.currencyLabelElement().contains(e.target))return void this._showCurrenciesContextMenu();if(this._currencyLabel.unitLabelElement().contains(e.target))return void this._showUnitsContextMenu()}const t=this.dataSourceAtPoint(e.localX,e.localY);t&&this._undoModel.selectionMacro(e=>{e.selection().isSelected(t)||(e.clearSelection(),e.addSourceToSelection(t))})}_mouseLeaveOrTouchEndEvent(e){this._setCursorClassName("")}_mouseDoubleClickOrDoubleTapEvent(e){const t=this.dataSourceAtPoint(e.localX,e.localY);t?this._pane.processDoubleClickOnSource(t):(this.reset(),(0,se.trackEvent)("GUI","Double click price scale"))}_contextMenuOrTouchContextMenuEvent(e){if(this._options.contextMenuEnabled){const t=this.dataSourceAtPoint(e.localX,e.localY);if(null!==t&&this._options.contextMenu.source){return void this._undoModel.model().selectionMacro(i=>{i.selection().isSelected(t)||(i.clearSelection(),i.addSourceToSelection(t)),this._pane.showContextMenuForSelection(e)})}this._options.contextMenu.general&&$.ContextMenuManager.showMenu(this.getContextMenuActions(),e,{statName:"PriceScaleContextMenu"},{menuName:"PriceScaleContextMenu"})}}_setResizeCursor(){const e=this.priceScale() +;e.isPercentage()||e.isIndexedTo100()?this._setCursorClassName(""):this._zoomAvailable()&&(this._options.pressedMouseMoveScale||this._options.mouseWheelScale)&&this._setCursorClassName("ns-resize")}_setCursorClassName(e){let t="";e&&(t="price-axis--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._cell.classList.remove(this._currentCursorClassName),t&&this._cell.classList.add(t),this._currentCursorClassName=t)}_zoomAvailable(){return!this.priceScale().isEmpty()&&this._undoModel.model().zoomEnabled()}_onMousewheel(e){if(!this._zoomAvailable()||!this._options.mouseWheelScale)return;const t=(0,s.ensureNotNull)(this._mouseWheelHelper).processWheel(e).deltaY;if(0===t)return;e.cancelable&&e.preventDefault();const i=this._undoModel,r=this._pane.state(),n=this.priceScale(),o=this._cell.getBoundingClientRect(),a=e.clientY-o.top,l=a+15*t;i.startScalePrice(r,this.priceScale(),a,!0),i.scalePriceTo(r,n,l),i.endScalePrice(r,n),e.stopPropagation()}_drawCrossHairLabel(e,t){var i,s;e.save();const r=this._pane.state(),n=r.model(),o=this.priceScale(),a=[],l=this.priceScale()===r.defaultPriceScale(),c=null!==(i=n.lineBeingEdited())&&void 0!==i?i:n.lineBeingCreated();if(c&&(c.priceScale()===o||l&&r.isOverlay(c))){const e=c.priceAxisViews(r,o);e&&e.length&&a.push(e)}const h=n.customSourceBeingMoved();this._addViewsOrMaxMin(null===h?[]:[h],a),this._addViewsOrMaxMin(n.sourcesBeingMoved(),a),this._addViewsOrMaxMin(n.selection().allSources(),a);const d=n.hoveredSource();if(d){const e=r.customSources().includes(d)?o:d.priceScale();if(!n.selection().isSelected(d)&&(this._isFromSameSide(e)||l&&r.isOverlay(d))){const e=null===(s=n.hoveredSource())||void 0===s?void 0:s.priceAxisViews(r,o);e&&e.length&&a.push(e)}}const u=n.crossHairSource().priceAxisViews(r,o);u&&u.length&&a.push(u);const p=this.rendererOptions(),_=this._isLeft?"right":"left";a.forEach(i=>{i.forEach(i=>{e.save(),i.renderer().draw(e,p,this._widthCache,this._size.w,this._size.h,_,t),e.restore()})}),e.restore()}_drawBackground(e,t){const i=Math.ceil(this._size.w*t),s=Math.ceil(this._size.h*t),r=this.backgroundTopColor(),n=this.backgroundColor();if(r===n?(0,N.clearRect)(e,0,0,i+1,s+1,this.backgroundColor()):(0,R.clearRectWithGradient)(e,0,0,i+1,s+1,r,n),this._highlighted){e.globalAlpha=.5;const t=F.themes[this._backgroundBasedTheme.value()].getThemedColor("color-price-axis-highlight");(0,N.fillRect)(e,0,0,i+1,s+1,t),e.globalAlpha=1}const o=this._pane.state().model(),a=this.priceScale(),l=o.selection().lineDataSources().filter(e=>e.priceScale()===a).reduce((e,t)=>{const i=t.priceAxisPoints();return 0===i.length?e:e.concat(i)},[]);l.length>0&&this._hightlightBackground(e,l,this.priceScale().mainSource(),t);const c=o.crossHairSource();c.startMeasurePoint()&&this._hightlightBackground(e,c.measurePoints(),this.priceScale().mainSource(),t)}_drawBorder(e,t){e.save(),e.fillStyle=this.lineColor();const i=Math.max(1,Math.floor(this.rendererOptions().borderSize*t)),s=this._isLeft?Math.floor(this._size.w*t)-i:0;e.fillRect(s,0,i,Math.ceil(this._size.h*t)+1), +e.restore()}_drawBackLabels(e,t){e.save();const i=this.backLabels(),s=this.rendererOptions(),r=this._isLeft?"right":"left";for(const n of i)n.isAxisLabelVisible()&&(e.save(),n.renderer().draw(e,s,this._widthCache,this._size.w,this._size.h,r,t),e.restore());e.restore()}_hightlightBackground(e,t,i,s){if(!i)return;const r=i.firstValue();if(null===r)return;let n=t[0].price,o=t[0].price;for(let e=1;ei.isOverlay(e)||this._isFromSameSide(e.priceScale()))),0!==e.length)if(1===e.length){const r=e[0].priceAxisViews(i,s);r&&r.length&&t.push(r)}else t.push(this._minMaxViews(e))}_minMaxViews(e){const t=this._pane.state(),i=this.priceScale(),s=[];let r=1/0,n=-1/0,o=null,a=null;for(const s of e){const e=s.priceAxisViews(t,i);if(e&&e.length)for(let t=0;t=n&&(n=s,a=i),s<=r&&(r=s,o=i)}}return a&&s.push(a),o&&s.push(o),s}_isFromSameSide(e){return null!==e&&(this._isLeft?this._pane.state().leftPriceScales():this._pane.state().rightPriceScales()).includes(e)}_sameSideSources(){const e=this._pane.state().sourcesByGroup();return this._isLeft?e.leftPriceScalesSources():e.rightPriceScalesSources()}_initActions(){if(!this._pane.hasState()||null!==this._actions)return;const e=this._undoModel,t=new xe.Action({actionId:"Chart.PriceScale.Reset",label:Ve,icon:Me,shortcutHint:(0,be.humanReadableHash)(be.Modifiers.Alt+82),statName:"ResetScale",onExecute:()=>this.reset()}),i=new xe.Action({actionId:"Chart.PriceScale.ToggleAutoScale",label:Be,checkable:!0,checked:!0,statName:"ToggleAutoScale",onExecute:()=>{e.togglePriceScaleAutoScaleMode(this.priceScale()),this._updateScalesActions()}}),s=new xe.Action({actionId:"Chart.PriceScale.TogglePercentage",label:Ne,checkable:!0,checked:this.priceScale().isPercentage(),statName:"TogglePercantage",onExecute:()=>{e.togglePriceScalePercentageScaleMode(this.priceScale()),this._updateScalesActions()}}),r=new xe.Action({actionId:"Chart.PriceScale.ToggleIndexedTo100",label:Re,checkable:!0,checked:this.priceScale().isIndexedTo100(),statName:"ToggleIndexedTo100",onExecute:()=>{e.togglePriceScaleIndexedTo100ScaleMode(this.priceScale()),this._updateScalesActions()}}),n=new xe.Action({actionId:"Chart.PriceScale.ToggleLogarithmic",label:Oe,checkable:!0,checked:this.priceScale().isLog(),statName:"ToggleLogScale",onExecute:()=>{e.togglePriceScaleLogScaleMode(this.priceScale()),this._updateScalesActions()}}),o=new xe.Action({actionId:"Chart.PriceScale.ToggleRegular",label:Fe,checkable:!0,checked:this.priceScale().isRegular(),statName:"ToggleRegularScale",onExecute:()=>{e.setPriceScaleRegularScaleMode(this.priceScale()),this._updateScalesActions()}}),a=new xe.Action({ +actionId:"Chart.PriceScale.Labels.ToggleNoOverlappingLabelsVisibility",label:We,checkable:!0,checked:this.priceScale().properties().childs().alignLabels.value(),statName:"TogglePreciseLabels"});a.setBinding(new we.ActionBinder(a,this.priceScale().properties().childs().alignLabels,e,Le));const l=new xe.Action({actionId:"Chart.PriceScale.ToggleInvertScale",label:He,checkable:!0,checked:this.priceScale().isInverted(),statName:"Invert Scale",onExecute:()=>{e.invertPriceScale(this.priceScale()),this._updateScalesActions()}});this._actions={reset:t,setAutoScale:i,setPercentage:s,setIndexedTo100:r,setLog:n,setRegular:o,alignLabels:a,invertScale:l},this._updateScalesActions()}_logAction(){return this._isMainSeriesAxis()?this._chart.actions().logSeriesScale:(0,s.ensureNotNull)(this._actions).setLog}_percentageAction(){return this._isMainSeriesAxis()?this._chart.actions().percentSeriesScale:(0,s.ensureNotNull)(this._actions).setPercentage}_indexedTo100Action(){return this._isMainSeriesAxis()?this._chart.actions().indexedTo100SeriesScale:(0,s.ensureNotNull)(this._actions).setIndexedTo100}_autoScaleAction(){return this._isMainSeriesAxis()?this._chart.actions().autoSeriesScale:(0,s.ensureNotNull)(this._actions).setAutoScale}_regularScaleAction(){return this._isMainSeriesAxis()?this._chart.actions().regularSeriesScale:(0,s.ensureNotNull)(this._actions).setRegular}_lockScaleAction(){const e=this._chart.actions().lockSeriesScale,t=ze(this.priceScale(),this._undoModel.model().mainSeriesScaleRatio());return e.update({hint:t}),e}_invertAction(){return this._isMainSeriesAxis()?this._chart.actions().invertSeriesScale:(0,s.ensureNotNull)(this._actions).invertScale}_isMainSeriesAxis(){return this.priceScale().hasMainSeries()}_updateScalesActions(){const e=this.priceScale(),t=this._isMainSeriesAxis(),i=(0,s.ensureNotNull)(e.mainSource()).properties(),r=t&&e.isLockScale(),n=t&&6===i.style.value(),o=(0,s.ensureNotNull)(this._actions);o.setRegular.update({checked:e.isRegular(),disabled:r||n}),o.setPercentage.update({checked:e.isPercentage(),disabled:r||n}),o.setIndexedTo100.update({checked:e.isIndexedTo100(),disabled:r||n}),o.setLog.update({checked:e.isLog(),disabled:r||n}),o.setAutoScale.update({checked:e.isAutoScale(),disabled:e.properties().childs().autoScaleDisabled.value()})}_createMergeScalesAction(){const e=this._chart.actions(),t=this._undoModel.model().priceScaleSlotsCount();if(t.left+t.right===1)return 0===t.left?e.moveScaleToLeft:e.moveScaleToRight;const i=[];return i.push(e.mergeLeftScalesAction),i.push(e.mergeRightScalesAction),new xe.Action({actionId:"Chart.PriceScale.MergeAllScales",label:Ae,subItems:i})}_setCursor(e){let t="";"grabbing"!==e&&"ns-resize"!==e||(t="price-axis--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._cell.classList.remove(this._currentCursorClassName),t&&this._cell.classList.add(t),this._currentCursorClassName=t,this._cell.style.cursor)}}function Ge(e,t){return e.position-t.position}function qe(e,t,i){const s=(e.position-t.position)/(e.time-t.time) +;return Math.sign(s)*Math.min(Math.abs(s),i)}class Ye{constructor(e,t,i,s){this._position1=null,this._position2=null,this._position3=null,this._position4=null,this._animationStartPosition=null,this._durationMsecs=0,this._speedPxPerMsec=0,this._terminated=!1,this._minSpeed=e,this._maxSpeed=t,this._dumpingCoeff=i,this._minMove=s}addPosition(e,t){if(null!==this._position1){if(this._position1.time===t)return void(this._position1.position=e);if(Math.abs(this._position1.position-e)50)return;let i=0;const s=qe(this._position1,this._position2,this._maxSpeed),r=Ge(this._position1,this._position2),n=[s],o=[r];if(i+=r,null!==this._position3){const e=qe(this._position2,this._position3,this._maxSpeed);if(Math.sign(e)===Math.sign(s)){const t=Ge(this._position2,this._position3);if(n.push(e),o.push(t),i+=t,null!==this._position4){const e=qe(this._position3,this._position4,this._maxSpeed);if(Math.sign(e)===Math.sign(s)){const t=Ge(this._position3,this._position4);n.push(e),o.push(t),i+=t}}}}let a=0;for(let e=0;ea&&(e.hittest=t,e.source=i,e.renderer=s,e.isCustom=r)}const xt={contextMenuEnabled:!0,contextMenu:Te.defaultContextMenuOptions,priceScaleContextMenuEnabled:!0,legendWidgetEnabled:!0,controlsEnabled:!0,propertyPagesEnabled:!0,sourceSelectionEnabled:!0,countdownEnabled:!0},It=new Map([[M.AreaName.Text,"Text"],[M.AreaName.Style,"Style"]]),Mt=!Pe.enabled("display_legend_on_all_charts");function Lt(e,t){return!(0,M.shouldDefaultActionBeExecuted)(e,t,"pressedMouseMoveHandler","touchMoveHandler")}class At{constructor(e,t,i,s){this._legendWidget=null,this._paneControls=null,this._isDestroyed=!1,this._trackCrosshairOnlyAfterLongTap=(0,x.lastMouseOrTouchEventInfo)().isTouch,this._startTrackPoint=null,this._exitTrackingModeOnNextTry=!1,this._startMoveSourceParams=null,this._startChangeLineToolParams=null,this._preventSourceChange=!1,this._clonningAtMoveLineTools=null,this._startCloningPoint=null,this._size=new N.Size(0,0),this._themedTopColor=null,this._initCrossHairPosition=null,this._firstZoomPoint=null,this._editDialog=null,this._processing=!1,this._touchMove=!1,this._startTouchPoint=null,this._isSelecting=!1,this._prevHoveredHittest=null,this._contextMenuX=0,this._contextMenuY=0,this._startScrollingPos=null,this._isScrolling=!1,this._scrollPriceScale=null,this._scrollXAnimation=null,this._scrollYAnimation=null,this._prevPinchScale=1,this._pinching=!1,this._wasPinched=!1,this._longTap=!1,this._contextMenuOpenedOnLastTap=!1,this._paneControlsResizeObserver=null,this._lastClickedSource=null,this._customLegendWidgetsFactoryMap=new Map,this._prevMoveEventPosition=null,this._onMagnetStateChangedListener=this._onMagnetStateChanged.bind(this),this._onShiftKeyStateChangedListener=this._onShiftKeyStateChanged.bind(this),this._currentCursorClassName="",this._lastFinishedToolId=null,this._needResetMeasureLater=!1,this._currentChangingLineToolHitTest=null,this._currentMovingHitTest=null,this._prevTooltipData=null,this._errorRenderer=null,this._highlightedPriceAxis=new($e())({owner:"",axis:null}),this._visuallyCollapsed=new($e())(!1),this._canvasConfiguredHandler=()=>this._state&&this._chartModel().lightUpdate(),this._topCanvasConfiguredHandler=()=>this._state&&this._chartModel().lightUpdate(),this._updateVisuallyCollapsed=()=>{this._visuallyCollapsed.setValue(!this.state().maximized().value()&&this.state().collapsed().value())},this._chart=e,this._state=t,this._options=(0,_.merge)((0,_.clone)(xt),i),this._paneWidgetsSharedState=s,this._state&&this._subscribeToState();const r={contextMenuEnabled:this._options.priceScaleContextMenuEnabled,pressedMouseMoveScale:this._options.handleScale.axisPressedMouseMove.price,mouseWheelScale:this._options.handleScale.mouseWheel,currencyConversionEnabled:this._options.currencyConversionEnabled,unitConversionEnabled:this._options.unitConversionEnabled,countdownEnabled:this._options.countdownEnabled, +croppedTickMarks:this._options.croppedTickMarks};void 0!==this._options.priceScaleContextMenu&&(r.contextMenu=this._options.priceScaleContextMenu);const n=(e,t,i,s,n)=>new je(this._chart,this,this._chartUndoModel(),i,t,e,r,s,n),o=e.properties().childs().scalesProperties,a=this._chartModel().rendererOptionsProvider(),l={backgroundBasedTheme:e.backgroundBasedTheme(),rendererOptionsProvider:a,getBackgroundTopColor:()=>this._chartModel().backgroundTopColor().value(),getBackgroundBottomColor:()=>this._chartModel().backgroundColor().value()},c={showLabels:!1};this._lhsPriceAxisesContainer=new ee(o,"left",n,l,c),this._rhsPriceAxisesContainer=new ee(o,"right",n,l,c),this._paneCell=document.createElement("td"),this._paneCell.classList.add("chart-markup-table","pane"),this._div=document.createElement("div"),this._div.classList.add("chart-gui-wrapper"),this._div.setAttribute("data-name","pane-widget-chart-gui-wrapper"),this._paneCell.appendChild(this._div),this._canvasBinding=(0,N.createBoundCanvas)(this._div,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const h=this._canvasBinding.canvas;h.style.position="absolute",h.style.left="0",h.style.top="0",this._topCanvasBinding=(0,N.createBoundCanvas)(this._div,new N.Size(16,16)),this._topCanvasBinding.subscribeCanvasConfigured(this._topCanvasConfiguredHandler);const d=this._topCanvasBinding.canvas;d.style.position="absolute",d.style.left="0",d.style.top="0",this._rowElement=document.createElement("tr"),this._rowElement.appendChild(this._lhsPriceAxisesContainer.getElement()),this._rowElement.appendChild(this._paneCell),this._rowElement.appendChild(this._rhsPriceAxisesContainer.getElement()),this._options.legendWidgetEnabled&&(this._options.customLegendWidgetFactories&&(this._customLegendWidgetsFactoryMap=this._options.customLegendWidgetFactories),this._loadAndCreateLegendWidget()),this._state&&!this._chart.readOnly()&&this._options.controlsEnabled&&this._loadAndCreatePaneControlsWidget(),(0,nt.magnetEnabled)().subscribe(this._onMagnetStateChangedListener),(0,ot.shiftPressed)().subscribe(this._onShiftKeyStateChangedListener),this._paneCell.addEventListener("dragover",e=>{e.dataTransfer&&Array.from(e.dataTransfer.files).some(blobImageFilter)&&e.preventDefault()}),this.setCursorForTool(),this._mouseEventHandler=new B.MouseEventHandler(this._topCanvasBinding.canvas,this,{treatVertTouchDragAsPageScroll:!this._options.handleScroll.vertTouchDrag,treatHorzTouchDragAsPageScroll:!this._options.handleScroll.horzTouchDrag}),this._prevHoveredHittest=null,this._highlightedPriceAxis.subscribe(e=>this._highlightPriceAxisByLabel(e.axis)),this._prevPinchScale=0,this._isDestroyed=!1}destroy(){var e;this._chart.onPaneWidgetDestroyed(this),this._customLegendWidgetsFactoryMap.clear(),this._topCanvasBinding.unsubscribeCanvasConfigured(this._topCanvasConfiguredHandler),this._topCanvasBinding.destroy(),this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),this._legendWidget&&(this._legendWidget.destroy(), +this._legendWidget=null),null!==this._paneControlsResizeObserver&&this._paneControlsResizeObserver.disconnect(),null!==this._paneControls&&(this._paneControls.destroy(),this._paneControls=null),this._lhsPriceAxisesContainer.destroy(),this._rhsPriceAxisesContainer.destroy(),this.hasState()&&this._unsubscribeFromState(),(0,nt.magnetEnabled)().unsubscribe(this._onMagnetStateChangedListener),(0,ot.shiftPressed)().unsubscribe(this._onShiftKeyStateChangedListener),this._paneWidgetsSharedState.onPaneDestroyed(this),this._errorRenderer&&this._errorRenderer.then(e=>{e.destroy(),this._errorRenderer=null}),this._prevHoveredHittest=null,this._mouseEventHandler.destroy(),null===(e=this._rowElement.parentElement)||void 0===e||e.removeChild(this._rowElement),this._isDestroyed=!0}size(){return this._size}setSize(e){(0,s.assert)(e.w>=0&&e.h>=0,"Try to set invalid size to PaneWidget "+JSON.stringify(e)),this._size.equals(e)||(this._size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._topCanvasBinding.resizeCanvas({width:e.w,height:e.h}),this._paneCell.style.width=e.w+"px",this._paneCell.style.height=e.h+"px",this._div.style.width=e.w+"px",this._div.style.height=e.h+"px",this._rowElement.classList.toggle("js-hidden",0===e.h),null!==this._legendWidget&&this._legendWidget.updateWidgetModeBySize(e),null!==this._paneControls&&this._paneControls.updateWidgetModeByWidth(e.w))}width(){return this._size.w}height(){return this._size.h}backgroundColor(){return this._chartModel().backgroundColor().value()}highlightedPriceAxis(){return this._highlightedPriceAxis}processDoubleClickOnSource(e,t){(0,E.isDataSource)(e)&&e.id()!==this._lastFinishedToolId&&this._showEditDialogForSource(e,t)}stretchFactor(){return this._state?this._state.stretchFactor():0}setStretchFactor(e){this.hasState()&&this.state().setStretchFactor(e)}setCursorForTool(e,t,i){if(t&&t.mod()&&e)return void this._setCursorClassName("pointer");if(void 0!==i){switch(i){case it.PaneCursorType.VerticalResize:this._setCursorClassName("ns-resize");break;case it.PaneCursorType.HorizontalResize:this._setCursorClassName("ew-resize");break;case it.PaneCursorType.DiagonalNeSwResize:this._setCursorClassName("nesw-resize");break;case it.PaneCursorType.DiagonalNwSeResize:this._setCursorClassName("nwse-resize");break;case it.PaneCursorType.Default:this._setCursorClassName("default");break;case it.PaneCursorType.Pointer:this._setCursorClassName("pointer");break;case it.PaneCursorType.Grabbing:this._setCursorClassName("grabbing")}return}const s=k.tool.value();if((0,k.toolIsCursor)(s)){if(null!==this._paneWidgetsSharedState.draggingSource()||this._isScrolling||this._chartUndoModel()&&this._chartUndoModel().model().sourcesBeingMoved().length)return void this._setCursorClassName("grabbing");if(e&&this._options.sourceSelectionEnabled)return void this._setCursorClassName("pointer")}if("eraser"===s)return void this._setCursorClassName("eraser");if("zoom"===s)return void this._setCursorClassName("zoom-in");const r=k.cursorTool.value() +;"dot"!==r?"arrow"!==r?this._setCursorClassName(""):this._setCursorClassName("default"):this._setCursorClassName("dot")}showContextMenuForSelection(e){const t=this._chartUndoModel().selection();if(t.isEmpty())return;const i=t.dataSources().filter(e=>e.hasContextMenu());this.showContextMenuForSources(i,e)}async showContextMenuForSources(e,t,i){var s;if(!e.length)return Promise.resolve(null);const r=e[0],n=(0,_.merge)((0,_.clone)(this._options.contextMenu),i||{}),o=new Te.ActionsProvider(this._chart,n);if(r===this._chartUndoModel().crossHairSource())return r.handleContextMenuEvent(t),Promise.resolve(null);{const i=await o.contextMenuActionsForSources(e,t);if(0===i.length)return Promise.resolve(null);{let e;return e=r instanceof lt.Series?{menuName:"ObjectTreeContextMenu",detail:{type:"series",id:r.instanceId()}}:(0,f.isLineTool)(r)?{menuName:"ObjectTreeContextMenu",detail:{type:"shape",id:null!==(s=null==r?void 0:r.id())&&void 0!==s?s:null}}:{menuName:"ObjectTreeContextMenu",detail:{type:"study",id:(null==r?void 0:r.id())||null}},$.ContextMenuManager.createMenu(i,void 0,e).then(e=>(e.show(t),e))}}}leftPriceAxisesContainer(){return this._lhsPriceAxisesContainer}rightPriceAxisesContainer(){return this._rhsPriceAxisesContainer}setPriceAxisSizes(e,t,i){this._priceAxisesContainer(e).setSizes(t,i)}state(){return(0,s.ensureNotNull)(this._state)}hasState(){return null!==this._state}setState(e){this._state!==e&&(this.hasState()&&this._unsubscribeFromState(),this._state=e,this.hasState()&&(this._subscribeToState(),this.updatePriceAxisWidgets()))}getScreenshotData(e){const t=[],i=[];let s,r=[];const n=this.state().sourcesByGroup().priceSources().slice().reverse(),o=this._chart.properties().childs().paneProperties.childs().legendProperties.childs();for(const a of n){const n=a.statusView();if((0,v.isStudy)(a)&&(o.showLegend.value()||(null==e?void 0:e.showCollapsedStudies))){const s=o.showStudyTitles.value(),r=s;a.properties().visible.value()&&n&&r&&(t.push(s?a.statusProvider(null==e?void 0:e.status).text():""),i.push(a.valuesProvider().getValues(null)))}else a===this._chartModel().mainSeries()&&n&&o.showSeriesTitle.value()&&(s=a.statusProvider((null==e?void 0:e.status)||{}).text(),r=a.valuesProvider().getValues(null))}return{type:"pane",leftAxis:this._lhsPriceAxisesContainer.getScreenshotData(),rightAxis:this._rhsPriceAxisesContainer.getScreenshotData(),content:this._canvasBinding.canvas.toDataURL(),canvas:this._canvasBinding.canvas,contentWidth:this._size.w,contentHeight:this._size.h,studies:t,studiesValues:i,containsMainSeries:this.containsMainSeries(),mainSeriesText:s,mainSeriesValues:r}}updatePriceAxisWidgets(){if(!this.hasState())return;const e=this._chartModel(),t=e.paneForSource(e.mainSeries());if(!t)return;const i=e.priceScaleSlotsCount(),s=this.state(),r=s.visibleLeftPriceScales(),n=s.visibleRightPriceScales();this._lhsPriceAxisesContainer.setScales(r,i.left,t.leftPriceScales().length,i.left+i.right),this._rhsPriceAxisesContainer.setScales(n,i.right,t.rightPriceScales().length,i.left+i.right)}update(){ +this.hasState()&&(this._lhsPriceAxisesContainer.update(),this._rhsPriceAxisesContainer.update(),null!==this._legendWidget&&this._legendWidget.update(),this.updateControls())}updateStatusWidget(e=b.InvalidationLevel.None){this.hasState()&&null!==this._legendWidget&&(e===b.InvalidationLevel.Full?this._legendWidget.updateLayout():this._legendWidget.update())}updateControls(){this.hasState()&&null!==this._paneControls&&this._paneControls.update()}updateThemedColors(e){this._themedTopColor=e.topColor,this._updateByThemedColors()}statusWidget(){return this._legendWidget}getElement(){return this._rowElement}canvasElement(){return this._canvasBinding.canvas}hasCanvas(e){return this._canvasBinding.canvas===e||this._topCanvasBinding.canvas===e}pinchStartEvent(){null===this._paneWidgetsSharedState.scrollingPane()&&null===this._paneWidgetsSharedState.pinchingPane()&&(this._onTouchEvent(),this._options.handleScale.pinch&&(this._terminateActiveAnimations(),this._prevPinchScale=1,this._pinching=!0,this._wasPinched=!0,this._paneWidgetsSharedState.setPinchingPane(this)))}pinchEvent(e,t,i,s){if(null!==this._paneWidgetsSharedState.scrollingPane()||this._paneWidgetsSharedState.pinchingPane()!==this)return;if(this._onTouchEvent(),!this._options.handleScale.pinch)return;const r=10*(s-this._prevPinchScale);this._prevPinchScale=s,this._chartModel().zoomTime(e.x,r,!0),this._prevPinchScale=s}pinchEndEvent(){null===this._paneWidgetsSharedState.scrollingPane()&&this._paneWidgetsSharedState.pinchingPane()===this&&(this._onTouchEvent(),this._pinching=!1,this._paneWidgetsSharedState.setPinchingPane(null))}mouseClickEvent(e){this._onMouseEvent(),this._mouseClickOrTapEvent(e)}tapEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._mouseClickOrTapEvent(e))}mouseDownEvent(e){this._onMouseEvent(),this.hasState()&&this._mouseDownOrTouchStartEvent(e,(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY)))}touchStartEvent(e){if(this._paneWidgetsSharedState.startTouch(this),this._preventTouchEventsExceptPinch())return;const t=this._chartModel().crossHairSource(),i=!this._trackCrosshairOnlyAfterLongTap&&t.pane===this._state&&Number.isFinite(t.originX())&&Number.isFinite(t.originY())&&Math.abs(t.originX()-e.localX)+Math.abs(t.originY()-e.localY)<5;this._onTouchEvent(),this._chart.setActivePaneWidget(this);const r=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));i&&(r.source===t||t.selectPointMode().value()?this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(e.localX,e.localY)):!this._chart.readOnly()&&(0,f.isLineTool)(r.source)&&r.source.userEditEnabled()&&this._chartUndoModel().selectionMacro(e=>{var t;e.clearSelection(),e.addSourceToSelection(r.source,null===(t=r.hittest)||void 0===t?void 0:t.data())})),this._mouseDownOrTouchStartEvent(e,r),this._mouseOrTouchMoveEvent(e)}mouseUpEvent(e){this._onMouseEvent(),this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._paneWidgetsSharedState.endTouch(this),this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._mouseOrTouchLeaveEvent(e), +this._mouseUpOrTouchEndEvent(e))}mouseMoveEvent(e){this._onMouseEvent(),this._mouseOrTouchMoveEvent(e)}pressedMouseMoveEvent(e){this._onMouseEvent(),this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._pressedMouseOrTouchMoveEvent(e))}mouseLeaveEvent(e){this._onMouseEvent(),this._mouseOrTouchLeaveEvent(e)}mouseDoubleClickEvent(e){this._onMouseEvent(),this._mouseDoubleClickOrDoubleTapEvent(e)}wheelClickEvent(e){var t,i;if(this._chart.readOnly())return;const r=this._dataSourceAtPoint(e.localX,e.localY);if(null===r||r.isCustom||null===r.source)return;if(((null===(t=r.hittest)||void 0===t?void 0:t.result())||0)<=M.HitTestResult.MOVEPOINT_BACKGROUND)return;const n=new A.EnvironmentState(e),o=null===(i=r.hittest)||void 0===i?void 0:i.eraseMarker();if(n.mod()&&void 0!==o&&r.source.processErase)return void r.source.processErase(this._chartUndoModel(),o);const a=this._chartUndoModel();a.selection().isSelected(r.source)||a.selectionMacro(e=>{e.clearSelection();const t=(0,s.ensureNotNull)(r.source);e.addSourceToSelection(t,Pt(r,t))}),this._chart.removeSelectedSources()}doubleTapEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._mouseDoubleClickOrDoubleTapEvent(e))}longTapEvent(e){if(null===this._state||this._preventTouchEventsExceptPinch())return;if(this._onTouchEvent(),this._longTap=!0,null!==this._startTrackPoint||!this._trackingModeShouldBeActive())return;const t=this._chartModel().selection();if(!t.isEmpty()){const i=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));if(null!==i.source&&t.isSelected(i.source))return}this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(e.localX,e.localY),new A.EnvironmentState(e))}mouseEnterEvent(e){this._onMouseEvent(),this.hasState()&&(this._chart.setActivePaneWidget(this),this._setCursorPosition(e.localX,e.localY,new A.EnvironmentState(e)))}contextMenuEvent(e){this._onMouseEvent(),this._contextMenuEvent(e)}touchContextMenuEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._contextMenuEvent(e))}mouseDownOutsideEvent(){this._processOutsideClick({hittest:null,isCustom:!1,renderer:null,source:null})}cancelZoom(){this._chartModel().crossHairSource().clearSelection(),this._firstZoomPoint=null,this._preventCrossHairMove()&&this._clearCursorPosition()}startTrackingMode(e,t,i){this._startChangeLineToolParams=null,this._startMoveSourceParams=null,this._currentChangingLineToolHitTest=null,this._currentMovingHitTest=null,this._chartUndoModel().selectionMacro(e=>e.clearSelection()),this._startTrackPoint=e,this._exitTrackingModeOnNextTry=!1,this._setCursorPosition(t.x,t.y,i),this._initCrossHairPosition=this._chartModel().crossHairSource().currentPoint()}setDragToAnotherPaneCursor(){this._setCursorClassName("grabbing")}cloneLineTools(e,t){return this._chartUndoModel().cloneLineTools(e,t)}exitTrackingMode(){null!==this._state&&null!==this._startTrackPoint&&(this._exitTrackingModeOnNextTry=!0,this._tryExitTrackingMode())}trackingModeEnabled(){ +return null!==this._state&&null!==this._startTrackPoint}addCustomWidgetToLegend(e,t){this._options.legendWidgetEnabled&&(this._customLegendWidgetsFactoryMap.set(e,t),null!==this._legendWidget&&this._legendWidget.addCustomWidgetToLegend(e,t))}containsMainSeries(){return!!this.hasState()&&this.state().containsMainSeries()}paint(e,t){if(!this._chartUndoModel()||!this.hasState())return;this._state&&(e.priceScaleSideMaxLevel("left")>b.InvalidationLevel.Cursor||e.priceScaleSideMaxLevel("right")>b.InvalidationLevel.Cursor)&&(this._recalculatePriceScales((0,ht.viewportChangeEvent)()),this._chartModel().updateCrosshairPositionByOriginCoords());const i=e.fullInvalidation();if(i>b.InvalidationLevel.Cursor){const e=this._chartModel().crossHairSource(),t=e.originX(),i=e.originY();if(e.pane===this._state&&Number.isFinite(t)&&Number.isFinite(i)){const e=this._dataSourceAtPoint(t,i);null!==e&&this._updateHoveredSource(e,(0,ot.globalEnvironmentState)())}}if(this._lhsPriceAxisesContainer.paint(e.getterForPriceScaleInvalidationLevelBySide("left")),this._rhsPriceAxisesContainer.paint(e.getterForPriceScaleInvalidationLevelBySide("right")),i===b.InvalidationLevel.None)return;const r=this._state&&(this._state.maximized().value()||!this._state.collapsed().value());if(i>b.InvalidationLevel.Cursor){const e=(0,s.ensureNotNull)(this._canvasBinding.canvas.getContext("2d"));e.setTransform(1,0,0,1,0,0);const i=this._canvasRenderParams();this._drawBackground(e,i),r&&this._drawSources(e,i,t)}if(null!==this._state){const e=(0,s.ensureNotNull)(this._topCanvasBinding.canvas.getContext("2d"));e.setTransform(1,0,0,1,0,0);const t=this._topCanvasRenderParams();e.clearRect(0,0,Math.ceil(this._size.w*t.pixelRatio),Math.ceil(this._size.h*t.pixelRatio)),r&&this._drawSeriesTopViews(e,t),this._drawCrossHair(e,t),r&&this._drawActiveLineTools(e,t)}}cancelCreatingLineTool(){const e=this._chartUndoModel(),t=this._chartUndoModel().lineBeingCreated();if(t)if(t.pointsCount()<=0&&!(0,et.isLineDrawnWithPressedButton)(t.toolname)){const i=t.points();if(i.length>2){const s=i[i.length-2];e.continueCreatingLine(s),this._finishTool(t)}else e.cancelCreatingLine()}else e.cancelCreatingLine();null!==this._firstZoomPoint&&this.cancelZoom(),this.setCursorForTool()}drawRightThere(e){if((0,f.isLineToolName)(e)&&this.hasState()){const t=this._chartUndoModel(),i=t.crossHairSource(),s=t.model().magnet().align(i.price,i.index,this.state());t.createLineTool({pane:this.state(),point:{index:i.index,price:s},linetool:e})}}cancelMeasuring(){this._chartUndoModel().crossHairSource().clearMeasure(),(0,k.resetToCursor)(),this.setCursorForTool()}async setErrorMessage(e){var t,i,s;e&&!this._errorRenderer&&(this._errorRenderer=this._createErrorBlock()),null===(t=await this._errorRenderer)||void 0===t||t.update({message:null==e?void 0:e.message,icon:(null===(i=this._state)||void 0===i?void 0:i.containsMainSeries())||(null===(s=this._state)||void 0===s?void 0:s.maximized().value())?null==e?void 0:e.icon:void 0, +backgroundColor:`linear-gradient(${this._chartModel().backgroundTopColor().value()}, ${this._chartModel().backgroundColor().value()})`,textColor:this._chartModel().isDark()?_t:pt})}collapsedHeight(){var e,t;return Math.max(Math.ceil(null!==(t=null===(e=this._paneControls)||void 0===e?void 0:e.bottomWithMargin())&&void 0!==t?t:0),33)}_topCanvasRenderParams(){return{pixelRatio:this._topCanvasBinding.pixelRatio,physicalWidth:this._topCanvasBinding.canvas.width,physicalHeight:this._topCanvasBinding.canvas.height,cssWidth:this._chartModel().timeScale().width(),cssHeight:this.height()}}_canvasRenderParams(){return{pixelRatio:this._canvasBinding.pixelRatio,physicalWidth:this._canvasBinding.canvas.width,physicalHeight:this._canvasBinding.canvas.height,cssWidth:this._chartModel().timeScale().width(),cssHeight:this.height()}}_tryExitTrackingMode(e){this._exitTrackingModeOnNextTry&&(this._startTrackPoint=null,e||this._clearCursorPosition())}_tryStartMeasure(e,t,i,s,r){return!(!(0,k.toolIsMeasure)(k.tool.value())||t.startMeasurePoint())&&(e.isTouch||this._preventCrossHairMove()||this._setCursorPosition(e.localX,e.localY,i),s=this._chartModel().magnet().align(s,r,this.state()),t.startMeasuring({price:s,index:r},this.state()),!0)}_tryFinishMeasure(e,t){if(t.startMeasurePoint()&&!t.endMeasurePoint()){let i=t.price;const s=t.index;return i=this._chartModel().magnet().align(i,s,this.state()),t.finishMeasure({price:i,index:s}),e.isTouch?(0,k.resetToCursor)():this._needResetMeasureLater=!0,this._preventCrossHairMove()&&this._clearCursorPosition(),!0}return!1}_tryStartZoom(e,t,i,s){const r=this._chart.model().model().zoomEnabled();if("zoom"===k.tool.value()&&r){const r=this._chartUndoModel(),n=r.timeScale().indexToCoordinate(i)-.5*r.timeScale().barSpacing();return this._firstZoomPoint={price:t,index:i,x:n,y:e.localY},this._preventCrossHairMove()||this._setCursorPosition(e.localX,e.localY,s),this._chartModel().crossHairSource().startSelection(this.state()),!0}return!1}_finishZoom(e){const t=this.state(),i=t.defaultPriceScale(),r=(0,s.ensureNotNull)(t.mainDataSource()).firstValue(),n=i.coordinateToPrice(e.localY,(0,s.ensureNotNull)(r)),o=this._chartUndoModel(),a=Math.round(o.timeScale().coordinateToIndex(e.localX)),l=(0,s.ensureNotNull)(this._firstZoomPoint);a!==l.index&&o.zoomToViewport(l.index,a,l.price,n,t),this._chartModel().crossHairSource().clearSelection(),this._firstZoomPoint=null,(0,k.resetToCursor)(),this._preventCrossHairMove()&&this._clearCursorPosition()}_tryFinishZoom(e){return null!==this._firstZoomPoint&&(this._finishZoom(e),!0)}_tryHandleEraserMouseDown(e,t){if(e.source&&"eraser"===k.tool.value()&&!e.isCustom&&(!(i=e.source)||!i.customization||!i.customization.disableErasing)){const i=this._chartUndoModel();if(null!==e.hittest&&((0,f.isLineTool)(e.source)||(0,v.isStudy)(e.source))){const s=e.hittest.eraseMarker();return t.mod()&&void 0!==s&&e.source.processErase?e.source.processErase(i,s):i.removeSource(e.source,!1),!0}}var i;return!1}_tryStartChangingLineTool(e,t,i,r){var n,o +;if(e.isTouch&&null!==this._startTrackPoint)return!1;const a=t.hittest;if((!e.isTouch||!this._preventSourceChange)&&a&&(0,f.isLineTool)(t.source)&&a.result()===M.HitTestResult.CHANGEPOINT){const l=this._chartUndoModel(),c=(0,s.ensure)(null===(n=this.state().mainDataSource())||void 0===n?void 0:n.firstValue()),h=(0,s.ensureNotNull)(t.source.priceScale()).coordinateToPrice(e.localY,c);l.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection(t.source,a.data())});const d=l.model().magnet().align(h,r,this.state()),u=null===(o=a.data())||void 0===o?void 0:o.pointIndex;return this._startChangeLineToolParams={source:t.source,startPoint:{index:r,price:d},screenPoint:{x:e.localX,y:e.localY},pointIndex:u,envState:i},!0}return this._startChangeLineToolParams=null,!1}_tryStartCloning(e,t,i,s){if(i.mod()){const t=this._chartUndoModel().selection().dataSources().filter(e=>e.cloneable());if(s&&s.cloneable()&&t.push(s),t.length>0)return this._clonningAtMoveLineTools=t.map(e=>e.id()),this._startCloningPoint=new C.Point(e.localX,e.localY),!0}return!1}_tryFinishClonning(e,t,i){const r=this._chartUndoModel(),n=this._chartModel();if(t.mod()&&this._clonningAtMoveLineTools){const o=new C.Point(e.localX,e.localY),a=(0,s.ensureNotNull)(this._startCloningPoint).subtract(o).length(),l=[];for(const e of this._clonningAtMoveLineTools){const t=n.dataSourceForId(e);null!==t&&l.push(t)}if(0===l.length)return!1;if(a>8){const n=this.cloneLineTools(l,!0).map(e=>(0,s.ensureNotNull)(r.model().dataSourceForId(e)));r.selectionMacro(e=>{e.clearSelection();let t=null;n.forEach(s=>{null===t&&(t=Pt(i,s)),e.addSourceToSelection(s,t)})});const o=new C.Point(e.localX,e.localY),a=(0,s.ensureNotNull)(n[0].priceScale()),c=(0,s.ensureNotNull)(this.state().mainDataSource()).firstValue(),h={index:r.timeScale().coordinateToIndex(e.localX),price:a.coordinateToPrice(e.localY,(0,s.ensureNotNull)(c))};r.startMovingSources(n,{logical:h,screen:o},null,t),this._clonningAtMoveLineTools=null,this._startCloningPoint=null}return!0}return!1}_mouseDownEventForLineTool(e,t,i,r){var n,o;const a=k.tool.value();if(!this.hasState()||(0,et.isLineToolDrawWithoutPoints)(a))return;const l=this._chartUndoModel();let c=!1,h=null;(0,k.hideAllDrawings)().value()&&(0,ct.toggleHideMode)(),(0,k.lockDrawings)().setValue(!1),e.isTouch&&!e.stylus&&((0,f.isLineToolName)(a)&&!(0,et.isLineDrawnWithPressedButton)(a)||l.lineBeingCreated())&&this._initToolCreationModeParams(e);const d=l.lineBeingCreated();if(d&&!(0,et.isLineDrawnWithPressedButton)(d.toolname)){const a=(0,s.ensure)(null===(n=d.ownerSource())||void 0===n?void 0:n.firstValue());if(e.isTouch&&!e.stylus){if(!this._startTouchPoint){this._startTouchPoint=new C.Point(e.pageX,e.pageY);const t=d.points(),i=t[t.length-1],r=l.timeScale().indexToCoordinate(i.index),n=(0,s.ensureNotNull)(d.priceScale()).priceToCoordinate(i.price,a);return void(this._initCrossHairPosition=new C.Point(r,n))}}else if(!e.isTouch){h=d;const n=l.model().paneForSource(d);if(n!==this._state&&null!==n){ +const i=this._externalPaneXCoord(n,e.localX),r=this._externalPaneYCoord(n,e.localY);c=l.continueCreatingLine({index:Math.round(l.timeScale().coordinateToIndex(i)),price:(0,s.ensure)(null===(o=d.priceScale())||void 0===o?void 0:o.coordinateToPrice(r,a))},t)}else{const e=l.model().magnet().align(r,i,this.state());c=l.continueCreatingLine({index:i,price:e},t)}}}else if(!e.isTouch||e.stylus||(0,et.isLineDrawnWithPressedButton)(a)){const e={index:i,price:l.model().magnet().align(r,i,this.state())};h=l.createLineTool({pane:this.state(),point:e,linetool:a}),l.lineBeingCreated()||(c=!0)}const u=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));h&&l.selectionMacro(e=>{var t;return e.addSourceToSelection((0,s.ensureNotNull)(h),null===(t=u.hittest)||void 0===t?void 0:t.data())}),c&&h&&(this._finishTool(h,u),e.preventDefault())}_handleSelectionMouseDownAndGetJustDeselectedSource(e,t,i){const s=this._chartUndoModel();let r=null;if(null===t.source||t.source.isSelectionEnabled()){let n=e.isTouch?Boolean(t.hittest&&t.hittest.result()>=M.HitTestResult.MOVEPOINT_BACKGROUND):Boolean(t.hittest&&t.hittest.result()>M.HitTestResult.MOVEPOINT_BACKGROUND);this._preventSourceChange&&(n=!1),s.selectionMacro(e=>{var s;n&&t.source?(i.mod()||e.selection().isSelected(t.source)||e.clearSelection(),i.mod()&&e.selection().isSelected(t.source)?(r=t.source,e.removeSourceFromSelection(t.source)):e.addSourceToSelection(t.source,null===(s=t.hittest)||void 0===s?void 0:s.data()),e.selection().allSources().length>1&&(0,se.trackEvent)("GUI","Multiselect","Click Select")):i.mod()||e.clearSelection()})}return r}_processMouseMoveWhileZoom(e,t){this._preventCrossHairMove()||this._setCursorPosition(e.localX,e.localY,t)}_updateCommonTooltip(e,t){let i=null;if(null!==e&&null!==e.hittest){const t=e.hittest.data();t&&(i=t.tooltip||null)}if(null===this._prevTooltipData&&null===i)return;if(null===i||""===i.text)return this._prevTooltipData=null,void(0,st.hide)(t);if(this._prevTooltipData&&(0,w.default)(i,this._prevTooltipData))return;this._prevTooltipData=i;const s=(0,_.clone)(i);if(void 0!==s.rect){const e=this._paneCell.getBoundingClientRect();s.rect.x+=e.left,s.rect.y+=e.top}(0,st.show)(s)}_setCursorPositionOnExternalPane(e,t,i,s){t=this._externalPaneXCoord(e,t),i=this._externalPaneYCoord(e,i);this._chart.paneByState(e)._setCursorPosition(t,i,s)}_setCursorPosition(e,t,i){this._chartModel().setAndSaveCurrentPosition(this._correctXCoord(e),this._correctYCoord(t),this.state(),i)}_setCursorClassName(e){let t="";e&&(t="pane--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._paneCell.classList.remove(this._currentCursorClassName),t&&this._paneCell.classList.add(t),this._currentCursorClassName=t,this._paneCell.style.cursor)}_processMouseUpOrTouchEndHandler(e){var t;null===(t=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY)).hittest)||void 0===t||t.tryCallMouseUpOrTouchEndHandler(e)}_crossHairShouldBeVisible(){const e=this._chartModel().crossHairSource();return(0,f.isLineToolName)(k.tool.value())||(0, +k.toolIsMeasure)(k.tool.value())||e.startMeasurePoint()&&!e.endMeasurePoint()||null!==this._firstZoomPoint||null!==this._chartModel().lineBeingEdited()||null!==this._chartModel().lineBeingCreated()}_clearCursorPosition(){this._chartModel().clearCurrentPosition()}_dataSourceAtPoint(e,t){if(!this.hasState())return null;const i={source:null,hittest:null,isCustom:!1,renderer:null},s=this._chartUndoModel();if((0,f.isLineToolName)(k.tool.value())||null!==s.lineBeingCreated())return i;if(this._currentChangingLineToolHitTest)return this._currentChangingLineToolHitTest;if(this._currentMovingHitTest)return this._currentMovingHitTest;const r=this.state(),n=r.height(),o=r.width(),a=Tt.bind(null,i),l=this._canvasRenderParams(),c=new C.Point(e,t);if(!this.state().maximized().value()&&this.state().collapsed().value()||(0,x.lastMouseOrTouchEventInfo)().isTouch&&(k.isPointSelectedNow.value()||null!==this._startTrackPoint))return this._hitTestSources(l,[s.crossHairSource()],c,a,!1),i;const h=r.sourcesByGroup(),d=s.selection();this._hitTestSources(l,d.dataSources(),c,a,!1),this._hitTestSources(l,d.customSources(),c,a,!0);const u=new Set(d.allSources().map(e=>e.id()));this._hitTestSources(l,[s.crossHairSource()],c,a,!1,u),this._hitTestSources(l,r.customSources(L.CustomSourceLayer.Topmost),c,a,!0,u),this._hitTestSources(l,h.tradingSources(),c,a,!1,u),this._hitTestSources(l,r.customSources(L.CustomSourceLayer.Foreground),c,a,!0,u);const p=[...this._chartModel().multiPaneSources(r),...h.hitTestSources()];if(this._hitTestSources(l,p,c,a,!1,u),this.containsMainSeries()){const e=s.barsMarksSources();for(let t=0;t=0;--s){const h=t[s];if(void 0!==o&&o.has(h.id()))continue;const d=h.paneViews(a);if(null!==d&&0!==d.length)for(let t=d.length-1;t>=0;--t){const s=d[t].renderer(l,c);if(s&&s.hitTest){const t=s.hitTest(i,e);null!==t&&r(t,h,s,n)}}}}_tryStartMovingLineTool(e,t,i,r){var n,o;if(null===t.source||!t.source.movable()||null!==this._startTrackPoint)return!1;if(!this._preventSourceChange){const a=this._chartUndoModel(),l=(0,s.ensureNotNull)((0,s.ensureNotNull)(this._state).mainDataSource()).firstValue(),c=(0,s.ensureNotNull)(t.source.priceScale()).coordinateToPrice(e.localY,(0,s.ensureNotNull)(l));let h=(t.source.isSelectionEnabled()?a.selection().allSources():[t.source]).filter(at);const d=h.filter(f.isLineTool);h=d.length>0?d:h.includes(t.source)?[t.source]:[h[0]];const u=new C.Point(e.localX,e.localY),p={index:r,price:c +},_=null===(o=null===(n=t.hittest)||void 0===n?void 0:n.data())||void 0===o?void 0:o.activeItem;return this._startMoveSourceParams={source:h,startPoint:{logical:p,screen:u},activeItem:void 0===_?null:_,envState:i},!0}return this._startMoveSourceParams=null,!1}_chartModel(){return this._chart.model().model()}_chartUndoModel(){return this._chart.model()}_externalPaneXCoord(e,t){t+=this._div.getBoundingClientRect().left+document.body.scrollLeft;const i=(0,s.ensureNotNull)(this._chart.paneByState(e)),r=i._div.getBoundingClientRect().left+document.body.scrollLeft;return i._correctXCoord(t-r)}_externalPaneYCoord(e,t){t+=this._div.getBoundingClientRect().top+document.body.scrollTop;const i=(0,s.ensureNotNull)(this._chart.paneByState(e)),r=i._div.getBoundingClientRect().top+document.body.scrollTop;return i._correctYCoord(t-r)}_correctXCoord(e){return Math.max(0,Math.min(e,this._size.w-1))}_correctYCoord(e){return Math.max(0,Math.min(e,this._size.h-1))}_processScroll(e){if(!this._chart.model().model().scrollEnabled())return;const t=Date.now();this._startScrollingPos||this._preventScroll()||(this._startScrollingPos={x:e.clientX,y:e.clientY,timestamp:t,localX:e.localX,localY:e.localY}),null!==this._scrollXAnimation&&this._scrollXAnimation.addPosition(e.localX,t),null!==this._scrollYAnimation&&this._scrollYAnimation.addPosition(e.localY,t);const i=this._chartUndoModel();let s=this.state().defaultPriceScale();if(this._startScrollingPos&&!this._isScrolling&&(this._startScrollingPos.x!==e.clientX||this._startScrollingPos.y!==e.clientY))return i.beginUndoMacro(mt,!0),null===this._scrollXAnimation&&this._options.useKineticScroll&&(this._scrollXAnimation=new Ye(.2,7,.997,15),this._scrollXAnimation.addPosition(this._startScrollingPos.localX,this._startScrollingPos.timestamp),this._scrollXAnimation.addPosition(e.localX,t)),this._scrollYAnimation,i.selection().isEmpty()||(s=i.selection().allSources()[0].priceScale()),null===s||s.isEmpty()||(this._scrollPriceScale=s,i.startScrollPrice(this.state(),s,e.localY)),i.startScrollTime(e.localX),this._isScrolling=!0,this.setCursorForTool(),void this._paneWidgetsSharedState.setScrollingPane(this);this._isScrolling&&(null!==this._scrollPriceScale&&i.scrollPriceTo(this.state(),this._scrollPriceScale,e.localY),i.scrollTimeTo(e.localX))}_finishScroll(){const e=this._chartUndoModel();e.endScrollTime(),null!==this._scrollPriceScale&&e.endScrollPrice(this.state(),this._scrollPriceScale),e.endUndoMacro(),this._isScrolling=!1,this._startScrollingPos=null,this._scrollPriceScale=null,this.setCursorForTool(),this._paneWidgetsSharedState.setScrollingPane(null)}_endScroll(e){if(!this._isScrolling)return!1;const t=this._isScrolling&&this._scrollUndoCommandInStack();if(this._isScrolling){const i=Date.now();null!==this._scrollXAnimation&&this._scrollXAnimation.start(e.localX,i),null!==this._scrollYAnimation&&this._scrollYAnimation.start(e.localY,i);const s=this._chartUndoModel(),r=null===this._scrollXAnimation||this._scrollXAnimation.finished(i),n=null===this._scrollYAnimation||this._scrollYAnimation.finished(i) +;if(r&&n)return this._finishScroll(),t;r?(s.endScrollTime(),this._paneWidgetsSharedState.setScrollingPane(null)):n&&(this._scrollPriceScale&&s.endScrollPrice(this.state(),this._scrollPriceScale),this._scrollPriceScale=null);const o=s.timeScale(),a=this._scrollXAnimation,l=this._scrollYAnimation,c=()=>{if((null===a||a.terminated())&&(null===l||l.terminated()))return;const e=Date.now();let t=null===a||a.finished(e);const i=null===l||l.finished(e);if(null!==a&&!a.terminated()){const i=o.rightOffset();s.scrollTimeTo(a.getPosition(e)),i===o.rightOffset()&&(t=!0,this._scrollXAnimation=null)}null===l||l.terminated()||null===this._scrollPriceScale||s.scrollPriceTo(this.state(),this._scrollPriceScale,l.getPosition(e)),t&&i?this._finishScroll():requestAnimationFrame(c)};requestAnimationFrame(c)}return t}_terminateActiveAnimations(){const e=Date.now(),t=null===this._scrollXAnimation||this._scrollXAnimation.finished(e),i=null===this._scrollYAnimation||this._scrollYAnimation.finished(e);null===this._scrollXAnimation&&null===this._scrollYAnimation||t&&i||this._finishScroll(),null!==this._scrollXAnimation&&(this._scrollXAnimation.terminate(),this._scrollXAnimation=null),null!==this._scrollYAnimation&&(this._scrollYAnimation.terminate(),this._scrollYAnimation=null)}_preventScroll(){return this._trackCrosshairOnlyAfterLongTap&&this._longTap||this._contextMenuOpenedOnLastTap||(0,f.isLineToolName)(k.tool.value())||Boolean(this._chartUndoModel().lineBeingCreated())||null!==this._startTrackPoint}_isSelectPointModeEnabled(){return this._chartUndoModel().crossHairSource().selectPointMode().value()}_preventCrossHairMove(){return!!this._trackCrosshairOnlyAfterLongTap&&(null===this._chart.trackingModePaneWidget()&&(!!this._contextMenuOpenedOnLastTap||!this._crossHairShouldBeVisible()&&null===this._startTrackPoint))}_finishTool(e,t=null){const i=this._chartUndoModel(),s=k.tool.value();if((0,k.resetToCursor)(),this._preventCrossHairMove()&&this._clearCursorPosition(),i.selectionMacro(i=>{i.addSourceToSelection(e,Pt(t,e))}),(0,et.isTextToolName)(s)){const t=i.createUndoCheckpoint();this._chart.showChartPropertiesForSource(e,tt.TabNames.text,void 0,t).then(e=>{0})}this._lastFinishedToolId=e.id(),(0,h.emit)("drawing_event",e.id(),"create"),(0,Qe.trackDrawingCreated)(e)}_alignSourcesThatBeingMoved(e,t,i,s){const r=this._chartUndoModel(),n=r.timeScale().coordinateToIndex(t);r.model().sourcesBeingMoved().forEach(e=>{var o,a;let l=n,c=e.convertYCoordinateToPriceForMoving(i,this.state().mainDataSource());if(null!==c){if((0,v.isStudy)(e)){const e=r.mainSeries(),t=e.bars().firstIndex(),i=e.bars().lastIndex();null!==t&&null!==i&&(l=Math.min(Math.max(n,t),i)),c=this._chartModel().magnet().align(c,n,this.state())}null!==this._currentMovingHitTest&&void 0!==(null===(a=null===(o=this._currentMovingHitTest.hittest)||void 0===o?void 0:o.data())||void 0===a?void 0:a.cursorType)||this.setCursorForTool(),r.moveSources({screen:new C.Point(t,i),logical:{index:l,price:c}},s)}})}_resetMeasureIfRequired(){this._needResetMeasureLater&&((0,k.resetToCursor)(), +this._needResetMeasureLater=!1)}_drawBackground(e,t){const i=Math.ceil(t.pixelRatio*this._size.w),s=Math.ceil(t.pixelRatio*this._size.h),r=this._chartModel(),n=r.backgroundTopColor().value(),o=r.backgroundColor().value();n===o?(0,N.clearRect)(e,0,0,i+1,s+1,o):(0,R.clearRectWithGradient)(e,0,0,i+1,s+1,n,o)}_drawWatermark(e,t){const i=this._chartModel().watermarkSource();if(null===i)return;const s=this.state();if(!s.containsMainSeries())return;const r=i.paneViews(),n=s.height(),o=s.width();for(const i of r){e.save();const s=i.renderer(n,o);s&&s.draw(e,t),e.restore()}}_drawCrossHair(e,t){const i=this._chartUndoModel().crossHairSource();!i.visible&&(0,k.lockTimeAxis)().value()&&(i.setLockedPosition((0,s.ensureNotNull)(this._state)),i.updateAllViews((0,ht.dataSourceChangeEvent)(i.id()))),this._drawSourceImpl(e,t,yt,St,i)}_drawActiveLineTools(e,t){const i=this._chartModel(),s=[i.lineBeingCreated(),i.lineBeingEdited(),...i.sourcesBeingMoved(),i.customSourceBeingMoved()].filter(e=>!!e);for(const r of s){(i.paneForSource(r)===this.state()||(0,E.isDataSource)(r)&&r.isMultiPaneEnabled())&&this._drawSourceImpl(e,t,yt,St,r)}}_drawSeriesTopViews(e,t){this.state().containsMainSeries()&&this._drawSourceImpl(e,t,bt,St,this._chartUndoModel().mainSeries())}_drawSources(e,t,i){const s=this.state(),r=s.model(),n=s.sourcesByGroup(),o=n.tradingSources(),a=[...r.multiPaneSources(s),...n.generalSources()],l=n.phantomSources(),c=s.customSources(L.CustomSourceLayer.Background).slice(),h=s.customSources(L.CustomSourceLayer.Foreground).slice(),d=s.customSources(L.CustomSourceLayer.Topmost).slice();{const e=r.panes();for(let t=e.length-1;t>=0;t--)e[t].createDrawingsCaches()}this._drawSourceImpl(e,t,yt,St,r.gridSource()),this._drawWatermark(e,t);for(const i of c)this._drawSourceImpl(e,t,yt,vt,i);for(const i of a)this._drawSourceImpl(e,t,yt,vt,i);for(const i of h)this._drawSourceImpl(e,t,yt,vt,i);for(const i of l)this._drawSourceImpl(e,t,yt,vt,i);const u=new Set;[r.lineBeingCreated(),r.lineBeingEdited(),...r.sourcesBeingMoved(),r.customSourceBeingMoved()].filter(_.notNull).forEach(e=>u.add(e.id()));let p=r.hoveredSource();null!==p&&(ft(p)||u.has(p.id())||(0,E.isDataSource)(p)&&!a.includes(p)?p=null:u.add(p.id()));const m=r.selection().allSources().filter(e=>!((0,E.isDataSource)(e)&&!a.includes(e))&&(!u.has(e.id())&&!ft(e)));m.forEach(e=>u.add(e.id()));{for(const i of c)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of a)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of h)this._drawSourceImpl(e,t,yt,St,i,u);const i=r.activeStrategySource().value();i&&this.containsMainSeries()&&this._drawSourceImpl(e,t,Ct,St,i)}for(const i of o)this._drawSourceImpl(e,t,yt,vt,i);for(const i of d)this._drawSourceImpl(e,t,yt,vt,i);for(const i of a)this._drawSourceImpl(e,t,wt,St,i,u);for(const i of h)this._drawSourceImpl(e,t,wt,St,i,u);this._drawBarsMarks(e,t,i);for(const i of o)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of d)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of m)this._drawSourceImpl(e,t,yt,St,i);for(const i of m)this._drawSourceImpl(e,t,wt,St,i) +;p&&(this._drawSourceImpl(e,t,yt,St,p),this._drawSourceImpl(e,t,wt,St,p));for(const i of l)this._drawSourceImpl(e,t,yt,St,i,u);{const e=r.panes();for(let t=e.length-1;t>=0;t--)e[t].clearDrawingCaches()}}_drawSourceImpl(e,t,i,s,r,n){if(n&&n.has(r.id()))return;const o=this.state(),a=o.height(),l=o.width(),c=i(r,this.state());if(c)for(const i of c){const r=i.renderer(a,l);r&&(e.save(),s(r,e,t),e.restore())}}_drawBarsMarks(e,t,i){if(this.containsMainSeries()&&!i){const i=this._chartUndoModel().barsMarksSources();for(const s of i)this._drawSourceImpl(e,t,yt,St,s)}}_updateByThemedColors(){null!==this._legendWidget&&this._legendWidget.updateThemedColors(this._themedTopColor),null!==this._paneControls&&this._paneControls.updateThemedColors(this._themedTopColor)}_scrollUndoCommandInStack(){const e=this._chartUndoModel().undoHistory().undoStack();if(e.isEmpty())return!1;const t=e.head();if(!(t instanceof D.UndoMacroCommand))return!1;if(t.isEmpty())return!1;const i=t.commands()[0];return i instanceof Ze.PriceScaleChangeUndoCommand||i instanceof Xe.TimeScaleChangeUndoCommand}_onStateDestroyed(){this.setState(null)}_onDataSourcesCollectionChanged(){this._startMoveSourceParams=null}_processMouseEnterLeaveMoveHandlers(e,t){var i,s,r,n;null!==this._prevHoveredHittest&&this._prevHoveredHittest.renderer!==e.renderer&&((0,M.tryCallHandler)(t,null===(s=null===(i=this._prevHoveredHittest.hittest)||void 0===i?void 0:i.data())||void 0===s?void 0:s.mouseLeaveHandler),this._prevHoveredHittest=null),t.isTouch||(e.hittest&&(null===(r=this._prevHoveredHittest)||void 0===r?void 0:r.renderer)!==e.renderer&&(e.hittest.tryCallMouseEnterHandler(t),this._prevHoveredHittest=e),null===(n=e.hittest)||void 0===n||n.tryCallMouseMoveHandler(t))}_startChangeOrMoveLineToolIfNeeded(){if(null!==this._startChangeLineToolParams){const e=this._startChangeLineToolParams;this._chartUndoModel().startChangingLinetool(e.source,e.startPoint,e.pointIndex,e.envState)}if(null!==this._startMoveSourceParams){const e=this._startMoveSourceParams;this._chartUndoModel().startMovingSources(e.source,e.startPoint,e.activeItem,e.envState)}this._startMoveSourceParams=null,this._startChangeLineToolParams=null}_trackingModeShouldBeActive(){return!(!this._trackCrosshairOnlyAfterLongTap||this._contextMenuOpenedOnLastTap||this._crossHairShouldBeVisible())&&this._longTap}_processOutsideClick(e){let t=null;const i=this._chartModel();if(e.source&&(t=e.isCustom?i.customSourceName(e.source):e.source.id()),null!==this._lastClickedSource&&this._lastClickedSource.id!==t){const e=this._lastClickedSource.id;let t=this._lastClickedSource.isCustom?i.customSourceForName(e):i.dataSourceForId(e);null!==t||this._lastClickedSource.isCustom||(t=this._chartUndoModel().barMarksSourceForId(e)),null!==t&&t.onClickOutside&&(t.onClickOutside(),this._chartModel().updateSource(t))}this._lastClickedSource=null!==t?{id:t,isCustom:e.isCustom}:null}_mouseClickOrTapEvent(e){var t,i,r;if(!this.hasState())return +;const n=this._dataSourceAtPoint(e.localX,e.localY),o=n&&n.source,a=this._chartUndoModel(),l=Boolean(null===(i=null===(t=null==n?void 0:n.hittest)||void 0===t?void 0:t.data())||void 0===i?void 0:i.hideCrosshairLinesOnHover);this._processOutsideClick((0,s.ensureNotNull)(n)),!this._isSelectPointModeEnabled()||l||e.isTouch&&this.trackingModeEnabled()&&!this._exitTrackingModeOnNextTry||a.crossHairSource().trySelectCurrentPoint(),(null===(r=null==n?void 0:n.hittest)||void 0===r?void 0:r.tryCallClickOrTapHandler(e))&&a.model().updateSource((0,s.ensureNotNull)(o)),!e.isTouch||this._isSelectPointModeEnabled()||n&&n.source===a.crossHairSource()||this._tryExitTrackingMode(),o instanceof V.BarsMarksContainer&&n&&n.hittest&&n.hittest.data()&&o.onClicked((0,s.ensureNotNull)(n.hittest).data()),o&&(0,f.isLineTool)(o)&&this._lastFinishedToolId!==o.id()&&(0,h.emit)("drawing_event",o.id(),"click"),this._resetMeasureIfRequired()}_mouseDownOrTouchStartEvent(e,t){var i,r,n,o,a,l,c,d;if(e.isTouch&&(this._longTap=!1,this._exitTrackingModeOnNextTry=null!==this._startTrackPoint,this._paneWidgetsSharedState.clearDraggingSource()),this._contextMenuOpenedOnLastTap=!1,this._lastFinishedToolId=null,this._terminateActiveAnimations(),e.isTouch&&this._switchTrackingModeFromAnotherPaneIfNeeded(e),document.activeElement!==document.body&&document.activeElement!==document.documentElement)document.activeElement&&document.activeElement.blur?document.activeElement.blur():document.body.focus();else{const e=document.getSelection();null!==e&&e.removeAllRanges()}(0,h.emit)("mouse_down",{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY}),this._updateCommonTooltip(null);const u=this._chartUndoModel(),p=new A.EnvironmentState(e);u.mainSeries().clearGotoDateResult();const _=this.state().defaultPriceScale();if(_.isEmpty()||u.timeScale().isEmpty())return;const m=u.crossHairSource();if(!e.isTouch&&!(0,et.isLineDrawnWithPressedButton)(k.tool.value())){const t=u.lineBeingCreated(),i=null!==t?u.model().paneForSource(t):null;null!==i&&i!==this._state?this._setCursorPositionOnExternalPane(i,e.localX,e.localY,p):this._setCursorPosition(e.localX,e.localY,p)}e.isTouch&&(0,f.isLineToolName)(k.tool.value())&&((0,et.isLineDrawnWithPressedButton)(k.tool.value())||null!==m.pane?(0,et.isLineDrawnWithPressedButton)(k.tool.value())&&this._clearCursorPosition():this._chart.updateCrossHairPositionIfNeeded());const g=(0,s.ensureNotNull)(this.state().mainDataSource()).firstValue();if(null===g)return void(this._chart.readOnly()||(this._handleSelectionMouseDownAndGetJustDeselectedSource(e,t,p),t.source&&(0,Je.isPriceDataSource)(t.source)&&t.source.isDraggable()&&this._paneWidgetsSharedState.trySetDraggingSource(t.source,this)));let v=_.coordinateToPrice(e.localY,g),S=this._chartModel().timeScale().coordinateToIndex(e.localX);if(m.startMeasurePoint()&&m.endMeasurePoint()&&m.clearMeasure(), +p.shift()&&!(null===(n=null===(r=null===(i=t.hittest)||void 0===i?void 0:i.data())||void 0===r?void 0:r.hasOwnShortcutsBehaviourFor)||void 0===n?void 0:n.shiftKey)&&(0,k.toolIsCursor)(k.tool.value())&&u.selection().isEmpty()&&k.tool.setValue("measure"),(e.isTouch&&!e.stylus||!this._tryStartMeasure(e,m,p,v,S))&&(e.isTouch&&!e.stylus||!this._tryFinishMeasure(e,m))&&!this._tryFinishZoom(e)&&!this._tryStartZoom(e,v,S,p)){if(e.isTouch&&(null!==this._startTrackPoint?(this._initCrossHairPosition=m.currentPoint(),this._startTrackPoint=new C.Point(e.localX,e.localY)):this._isSelectPointModeEnabled()&&null===this._chart.trackingModePaneWidget()&&this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(e.localX,e.localY),new A.EnvironmentState(e))),e.isTouch&&(this._preventSourceChange=null===t.source||!u.selection().isSelected(t.source)),!this._isSelectPointModeEnabled()&&!this._isScrolling){if(e.isTouch&&!e.stylus&&((0,k.toolIsMeasure)(k.tool.value())||null!==m.measurePane().value()))return void this._initToolCreationModeParams(e);if((0,f.isLineToolName)(k.tool.value())||u.lineBeingCreated())return p.shift()||u.selectionMacro(e=>e.clearSelection()),void this._mouseDownEventForLineTool(e,p,S,v)}if(null===(o=t.hittest)||void 0===o||o.tryCallMouseDownOrTouchStartHandler(e),!this._chart.readOnly()){const i=this._handleSelectionMouseDownAndGetJustDeselectedSource(e,t,p);if(t.hittest&&t.source&&!this._preventSourceChange){const i=t.hittest.data();if(t.isCustom){if(t.hittest.hasPressedMoveHandler(e))return u.model().setMovingCustomSource(t.source,i),this._currentMovingHitTest=t,void u.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection((0,s.ensureNotNull)(t.source),(0,s.ensureNotNull)(i))})}else if((null==i?void 0:i.areaName)===M.AreaName.SourceItemMove){const r=null==i?void 0:i.activeItem;if(void 0!==r)return u.startCustomMoving(t.source,r,e),this._currentMovingHitTest=t,void u.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection((0,s.ensureNotNull)(t.source),(0,s.ensureNotNull)(i))})}}if(this._tryHandleEraserMouseDown(t,p))return;const r=t.source&&(0,f.isLineTool)(t.source)&&t.source.isLocked&&t.source.isLocked();if(!((0,k.lockDrawings)().value()||r)&&!t.isCustom){if(t.source&&!t.source.userEditEnabled())return;const s=null===(l=null===(a=t.hittest)||void 0===a?void 0:a.data())||void 0===l?void 0:l.snappingPrice,r=null===(d=null===(c=t.hittest)||void 0===c?void 0:c.data())||void 0===d?void 0:d.snappingIndex;let n=e.localY,o=e.localX;if(void 0!==s&&(n=_.priceToCoordinate(s,g),v=s),void 0!==r&&(o=this._chartModel().timeScale().indexToCoordinate(r),S=r),n===e.localY&&o===e.localX||(e={...e,localY:n,localX:o},this._setCursorPosition(e.localX,e.localY,p)),this._tryStartChangingLineTool(e,t,p,S))return void(this._currentChangingLineToolHitTest=t);if(this._currentChangingLineToolHitTest=null,t.hittest&&((y=t.hittest.result())===M.HitTestResult.MOVEPOINT||y===M.HitTestResult.MOVEPOINT_BACKGROUND&&(0,x.lastMouseOrTouchEventInfo)().isTouch)){if(this._tryStartCloning(e,t,p,i))return +;if(this._tryStartMovingLineTool(e,t,p,S))return void(this._currentMovingHitTest=t);this._currentMovingHitTest=null}}if(t.source&&(0,Je.isPriceDataSource)(t.source)&&t.source.isDraggable()&&this._paneWidgetsSharedState.trySetDraggingSource(t.source,this))return}var y;t&&t.hittest&&t.hittest.result()===M.HitTestResult.REGULAR||(this._processing=!0)}}_mouseUpOrTouchEndEvent(e){var t,i;if(!this.hasState())return;const r=e.isTouch&&null!==this._startTrackPoint,n=e.isTouch&&this._wasPinched;e.isTouch&&(this._wasPinched=!1,this._longTap=!1),this._startMoveSourceParams=null,this._startChangeLineToolParams=null,this._currentChangingLineToolHitTest=null,this._currentMovingHitTest=null;const o=this._chartUndoModel(),a=o.model().customSourceMovingHitTestData();null!==a||o.customMoveBeingProcessed()||this._processMouseUpOrTouchEndHandler(e),this._isSelecting=!1;const l=o.model(),c=l.crossHairSource(),d=this._dataSourceAtPoint(e.localX,e.localY),u=null==d?void 0:d.hittest;if(c.selection()&&null===this._firstZoomPoint){const e=this.state().lineToolsForArea(c.selection());o.selectionMacro(t=>{let i=null;e.forEach(e=>{null===i&&(i=Pt(d,e)),t.addSourceToSelection(e,i)})}),c.clearSelection(),(0,se.trackEvent)("GUI","Multiselect","Area Select")}(0,h.emit)("mouse_up",{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY});const p=e.isTouch&&this._touchMove;e.isTouch&&(this._touchMove=!1);const _=new A.EnvironmentState(e),m=k.tool.value();if(e.isTouch&&((0,k.toolIsMeasure)(m)||null!==c.measurePane().value())){if(!p&&!e.stylus&&null===c.measurePane().value()&&c.pane!==this._state)return void this._setCursorPosition(e.localX,e.localY);if(!p&&!e.stylus&&this._tryStartMeasure(e,c,_,c.price,c.index))return;if((!p||e.stylus)&&this._tryFinishMeasure(e,c))return}if(e.isTouch&&!p&&!(0,et.isLineDrawnWithPressedButton)(m)&&(0,f.isLineToolName)(m)&&!o.lineBeingCreated()){if(this._chart.justActivated())return;if(c.pane!==this._state)return void this._setCursorPosition(e.localX,e.localY,_);const i=c.currentPoint(),r=this.state().defaultPriceScale(),n=(0,s.ensure)(null===(t=this.state().mainDataSource())||void 0===t?void 0:t.firstValue()),a={index:Math.round(o.timeScale().coordinateToIndex(i.x)),price:r.coordinateToPrice(i.y,n)},l=(0,s.ensureNotNull)(o.createLineTool({pane:this.state(),point:a,linetool:m}));return o.selectionMacro(e=>{e.addSourceToSelection(l)}),o.lineBeingCreated()||(this._finishTool(l,d),e.preventDefault()),void(this._startTouchPoint=null)}const g=o.lineBeingCreated();if(g&&!(0,et.isLineDrawnWithPressedButton)(g.toolname)&&e.isTouch&&(this._startTouchPoint||e.stylus)){if(this._startTouchPoint=null,!p||e.stylus){const t=g.points()[g.points().length-1],i=o.continueCreatingLine({index:t.index,price:t.price},new A.EnvironmentState(e));this._initCrossHairPosition=null,i&&(this._finishTool(g,d),e.preventDefault())}return}if(null!==this._firstZoomPoint&&this._firstZoomPoint.draggingMode)return void this._finishZoom(e);if(this._processing=!1, +o.customMoveBeingProcessed())return void o.endCustomMoving();if(null!==a&&(a.beingMoved&&((0,M.tryCallHandler)(e,a.mouseUpHandler,a.touchEndHandler),this.setCursorForTool()),l.setMovingCustomSource(null,null),Lt(e,a)))return;if(l.lineBeingEdited())return o.endChangingLinetool(!1),void(this._preventCrossHairMove()&&this._clearCursorPosition());if((0,et.isLineDrawnWithPressedButton)(m)&&!this._isSelectPointModeEnabled()){const t=o.lineBeingCreated();null!==t&&((0,Qe.trackDrawingCreated)(t),t.finish());const r=this.state().defaultPriceScale();if(r.isEmpty())return;if(!t)return;const n=(0,s.ensure)(null===(i=t.ownerSource())||void 0===i?void 0:i.firstValue()),a=r.coordinateToPrice(e.localY,n),l={index:Math.round(o.timeScale().coordinateToIndex(e.localX)),price:a};return void o.continueCreatingLine(l)}if(l.sourcesBeingMoved().length)return o.endMovingSource(!1,!1),l.sourcesBeingMoved().filter(f.isLineTool).forEach(e=>{this.setCursorForTool(e)}),void l.invalidate(b.InvalidationMask.cursor());if(!this._chart.readOnly()){const t=e.localX>=0&&e.localXM.HitTestResult.MOVEPOINT_BACKGROUND||(0,x.lastMouseOrTouchEventInfo)().isTouch)&&o.selectionMacro(e=>{e.clearSelection();const t=(0,s.ensureNotNull)(d.source);e.addSourceToSelection(t,Pt(d,t))}),e.isTouch&&(this._touchMove=!1)}_mouseOrTouchMoveEvent(e){if(!this.hasState())return;this._resetMeasureIfRequired();const t=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));this._processMouseEnterLeaveMoveHandlers(t,e);const i=this._chartUndoModel();if(!i)return;const r=e.localX,n=e.localY;this._prevMoveEventPosition=new C.Point(r,n);const o=new A.EnvironmentState(e);if(null===this._firstZoomPoint){if(this._updateHoveredSource(t,o,e),!e.isTouch&&i.lineBeingCreated()){const e=i.lineBeingCreated(),t=null===e?null:i.model().paneForSource(e);if(null!==t&&t!==this._state)return void this._setCursorPositionOnExternalPane(t,r,n,o)} +e.isTouch||this._setCursorPosition(r,n,o)}else this._processMouseMoveWhileZoom(e,o)}_pressedMouseOrTouchMoveEvent(e){var t;if(!this.hasState()||this._pinching||e.isTouch&&this._contextMenuOpenedOnLastTap)return;this._resetMeasureIfRequired(),this._startChangeOrMoveLineToolIfNeeded(),e.isTouch&&(this._touchMove=!0,this._preventSourceChange=!1);const i=new A.EnvironmentState(e),r=this._chartUndoModel(),n=r.crossHairSource(),o=e.localX,a=e.localY;if(this._prevMoveEventPosition=new C.Point(o,a),null!==this._firstZoomPoint)return this._processMouseMoveWhileZoom(e),void(this._firstZoomPoint.draggingMode=!0);const l=k.tool.value();if(e.isTouch&&this._startTouchPoint&&(0,f.isLineToolName)(l)&&!(0,et.isLineDrawnWithPressedButton)(l)&&!r.lineBeingCreated()&&!this._isSelectPointModeEnabled())return void this._updateCrosshairPositionInToolCreationMode(e,this.state());const c=n.measurePane().value();if(e.isTouch&&(this._startTouchPoint||e.stylus)&&((0,k.toolIsMeasure)(l)||null!==c))return void(e.stylus?this._setCursorPosition(e.localX,e.localY,new A.EnvironmentState(e)):this._updateCrosshairPositionInToolCreationMode(e,c||this.state()));const h=r.lineBeingCreated();if(e.isTouch&&!e.stylus&&h&&!(0,et.isLineDrawnWithPressedButton)(h.toolname)){if(this._startTouchPoint){const t=(0,s.ensureNotNull)(r.lineBeingCreated()),i=(0,s.ensureNotNull)(r.model().paneForSource(t));this._updateCrosshairPositionInToolCreationMode(e,i)}return}if(e.isTouch&&null!==this._startTrackPoint){this._exitTrackingModeOnNextTry=!1;const e=(0,s.ensureNotNull)(this._initCrossHairPosition),t=new C.Point(o,a).subtract(this._startTrackPoint),r=e.add(t);this._setCursorPosition(r.x,r.y,i)}else e.isTouch&&this._preventCrossHairMove()||this._setCursorPosition(o,a,i);const d=this._isSelectPointModeEnabled();if((0,f.isLineToolName)(l)&&!(0,et.isLineDrawnWithPressedButton)(l)&&!d&&!i.mod())return;if((0,et.isLineDrawnWithPressedButton)(l)&&!d){const i=this.state().defaultPriceScale();if(i.isEmpty())return;const n=r.lineBeingCreated();if(!n)return;const o=new C.Point(e.localX,e.localY),a=(0,s.ensure)(null===(t=n.ownerSource())||void 0===t?void 0:t.firstValue());return o.price=i.coordinateToPrice(e.localY,a),o.index=Math.round(r.timeScale().coordinateToIndex(e.localX)),void r.continueCreatingLine(o)}if(null!==this._paneWidgetsSharedState.draggingSource()){const t=e.target,i=this._chart.paneByCanvas(t);i&&(i!==this?i.setDragToAnotherPaneCursor():i.setCursorForTool());const s=this._chart.timeAxisByCanvas(t);s&&s.setCursor("grabbing")}if(r.timeScale().isEmpty())return;const u=this._options.handleScroll;if((!u.pressedMouseMove||e.isTouch)&&(!u.horzTouchDrag&&!u.vertTouchDrag||!e.isTouch))return;if(r.customMoveBeingProcessed())return void r.processCustomMove(e);const p=r.model().customSourceMovingHitTestData();if(null!==p&&(this._updateCommonTooltip(null,!0),r.model().processingCustomSourceMove(),(0,M.tryCallHandler)(e,p.pressedMouseMoveHandler,p.touchMoveHandler),Lt(e,p)))return;if(r.model().lineBeingEdited())return void this._setCursorPosition(o,a,i) +;if(r.model().sourcesBeingMoved().length)return void this._alignSourcesThatBeingMoved(r.model().sourcesBeingMoved(),e.localX,e.localY,i);const _=this._dataSourceAtPoint(e.localX,e.localY);if(this._tryFinishClonning(e,new A.EnvironmentState(e),_))return;const m=(0,k.toolIsMeasure)(l)||n.startMeasurePoint()&&n.endMeasurePoint();this._chart.readOnly()||!i.mod()||(0,f.isLineToolName)(l)||m||d?(this._processScroll(e),this._preventScroll()&&!this._preventCrossHairMove()&&null===this._startTrackPoint&&this._setCursorPosition(e.localX,e.localY,new A.EnvironmentState(e))):this._isSelecting||(n.startSelection(this.state()),this._isSelecting=!0)}_mouseOrTouchLeaveEvent(e){var t,i;if(!this.hasState())return;const s=this._chartUndoModel();if(!s)return;const r=s.crossHairSource();e.isTouch||null!==r.measurePane().value()&&null===r.endMeasurePoint()||this._clearCursorPosition(),s.model().setHoveredSource(null,null),null!==this._prevHoveredHittest&&((0,M.tryCallHandler)(e,null===(i=null===(t=this._prevHoveredHittest.hittest)||void 0===t?void 0:t.data())||void 0===i?void 0:i.mouseLeaveHandler),this._prevHoveredHittest=null),this._updateCommonTooltip(null),this._chart.unsetActivePaneWidget()}_mouseDoubleClickOrDoubleTapEvent(e){var t;if(!this.hasState())return;const i=!this._chart.readOnly()&&!(0,f.isLineToolName)(k.tool.value())&&(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY))||null;if(null===i)return;if(i.isCustom)return void(null===(t=i.hittest)||void 0===t||t.tryCallDblClickOrDblTapHandler(e));let r=i.hittest&&i.source||null;r&&i.hittest&&i.hittest.result()<=M.HitTestResult.MOVEPOINT_BACKGROUND&&!e.isTouch&&(r=null),r&&!r.isSelectionEnabled()&&(r=null);const n=this.state();r?this.processDoubleClickOnSource(r,i.hittest?i.hittest:void 0):this._chart.readOnly()||(0,f.isLineToolName)(k.tool.value())||this._chartUndoModel().lineBeingCreated()||!this._chartUndoModel().selection().isEmpty()||(new A.EnvironmentState(e).mod()&&!n.maximized().value()?(n.collapsed().value()||this._chartModel().paneCollapsingAvailable().value())&&this._chart.toggleCollapsedPane(this):this._chart.toggleMaximizePane(this))}_contextMenuEvent(e){var t;const i=this._chartUndoModel();if(i.crossHairSource().startMeasurePoint()&&!this._trackCrosshairOnlyAfterLongTap)return i.crossHairSource().clearMeasure(),void(0,k.resetToCursor)(!0);if(this._pinching)return;if(null===this._firstZoomPoint||this._trackCrosshairOnlyAfterLongTap||this.cancelZoom(),!(0,k.toolIsCursor)(k.tool.value())||this._isSelectPointModeEnabled()){if(e.isTouch)return;return(0,k.resetToCursor)(!0),this.setCursorForTool(),void(i.lineBeingCreated()&&i.cancelCreatingLine())}if(!this._options.contextMenuEnabled)return;const s=this._dataSourceAtPoint(e.localX,e.localY),r=s?s.source:null;if(e.isTouch&&null!==this._startTrackPoint){if(this._preventSourceChange)return;this._clearCursorPosition()}e.isTouch&&(this._contextMenuOpenedOnLastTap=!0,this._startTrackPoint=null),this._contextMenuX=e.localX,this._contextMenuY=e.localY +;const n=s&&s.hittest?s.hittest.result():0,o=n>=M.HitTestResult.REGULAR||n>=M.HitTestResult.MOVEPOINT_BACKGROUND&&e.isTouch;this._chart.updateActions(),i.selectionMacro(t=>{null!==r&&o?t.selection().isSelected(r)||(t.clearSelection(),t.addSourceToSelection(r,Pt(s,r))):(this._options.contextMenu.general&&this._showContextMenu(e),t.clearSelection())}),s&&o&&null!==r&&((0,E.isDataSource)(r)&&r.hasContextMenu()?r.isSelectionEnabled()?this.showContextMenuForSelection(e):this.showContextMenuForSources([r],e):null===(t=s.hittest)||void 0===t||t.tryCallContextMenuHandler(e))}_onMouseEvent(){this._preventSourceChange=!1,this._startTrackPoint=null,this._trackCrosshairOnlyAfterLongTap=!1}_onTouchEvent(){this._trackCrosshairOnlyAfterLongTap=!0}_switchTrackingModeFromAnotherPaneIfNeeded(e){const t=this._chart.trackingModePaneWidget();if(null!==t&&t!==this){const i=this._chartModel().crossHairSource().currentPoint();t._exitTrackingModeOnNextTry=!0,t._tryExitTrackingMode(!0),this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(i.x,e.localY),new A.EnvironmentState(e))}}_showContextMenu(e){const t=e=>e instanceof xe.Separator,i=this._customActions(),s=this._initActions(e).filter(e=>null!==e);i.remove.forEach(e=>{for(let t=0;t0;e--)t(r[e])&&t(r[e-1])&&r.splice(e,1);r.length&&t(r[0])&&r.splice(0,1),r.length&&t(r[r.length-1])&&r.splice(r.length-1,1),$.ContextMenuManager.showMenu(r,e,{statName:"ChartContextMenu"},{menuName:"ChartContextMenu"})}_initActions(e){var t,i;const s=this._chart.actions(),r=[];if(r.push(s.chartReset),r.push(new xe.Separator),!this.state().isEmpty()&&Pe.enabled("datasource_copypaste")){const t=(0,Te.createActionCopyPrice)(this.state(),e.localY),i=(0,Te.createPasteAction)(this._chart,this.state());(t||i)&&(t&&r.push(t),i&&r.push(i),r.push(new xe.Separator))}r[r.length-1]instanceof xe.Separator||r.push(new xe.Separator);return Boolean(null===(t=window.widgetbar)||void 0===t?void 0:t.widget("watchlist"))&&s.addToWatchlist&&r.push(s.addToWatchlist),Pe.enabled("text_notes")&&r.push(s.addToTextNotes),r[r.length-1]instanceof xe.Separator||r.push(new xe.Separator),r.push(this._createLockTimeAxisAction(e)),r.push(new xe.Separator),r.push((0,Te.createLinesAction)(this._chart)),!Pe.enabled("charting_library_base")&&s.applyColorTheme&&r.push(s.applyColorTheme),r[r.length-1]instanceof xe.Separator||r.push(new xe.Separator),this._chart.applyIndicatorsToAllChartsAvailable()&&(r.push(s.applyStudiesToAllCharts),r.push(new xe.Separator)),r.push(s.paneRemoveAllDrawingTools),r.push(s.paneRemoveAllStudies),r.push(new xe.Separator),(null===(i=window.pro)||void 0===i?void 0:i.hasPackage("mtp-mtpredictor"))&&this.state().containsMainSeries()&&r.push((0,Te.createMTPredictorActions)(this._chart,this.state(),this._contextMenuX,this._contextMenuY),new xe.Separator),r.push(s.hideAllMarks),r.push(new xe.Separator), +Pe.enabled("show_chart_property_page")&&r.push(s.chartProperties),r[r.length-1]instanceof xe.Separator&&r.pop(),r}_loadAndCreateLegendWidget(){Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,74335)).then(e=>{if(this._isDestroyed)return;const t=e.LegendWidget,i=(0,I.deepExtend)({},this._options.legendWidget);i.canShowSourceCode=!this._chart.onWidget()&&!l.CheckMobile.any(),i.readOnlyMode=i.readOnlyMode||this._chart.readOnly(),i.statusesWidgets={sourceStatusesEnabled:this._options.sourceStatusesWidgetEnabled,sourceStatuses:this._options.sourceStatusesWidget||{},marketStatusEnabled:this._options.marketStatusWidgetEnabled,dataUpdateModeEnabled:this._options.chartWarningWidgetEnabled,dataUpdateMode:this._options.chartWarningWidget||{},dataProblemEnabled:this._options.dataProblemWidgetEnabled};const r=(0,m.combine)((e,t)=>Mt&&this._chart!==e&&!t,this._chart.chartWidgetCollection().activeChartWidget,this._chart.chartWidgetCollection().lock.crosshair),n=(0,m.combine)((e,t)=>null!==e?e===this._state:(0,k.toolIsMeasure)(t),this._chartModel().crossHairSource().measurePane(),k.tool);this._legendWidget=new t(this._chartUndoModel(),this,this._chart.backgroundTopTheme().spawn(),r,this._visuallyCollapsed.spawn(),n,i,{showContextMenuForSelection:this.showContextMenuForSelection.bind(this),showContextMenuForSources:this.showContextMenuForSources.bind(this),updateActions:this._chart.updateActions.bind(this._chart),showChartPropertiesForSource:this._chart.showChartPropertiesForSource.bind(this._chart),showGeneralChartProperties:this._chart.showGeneralChartProperties.bind(this._chart),showObjectsTreeDialog:this._chart.showObjectsTreeDialog.bind(this._chart)}),this._div.appendChild(this._legendWidget.getElement()),this._legendWidget.updateLayout(),this._legendWidget.updateWidgetModeBySize(this._size),this._legendWidget.updateThemedColors(this._themedTopColor);for(const e of Array.from(this._customLegendWidgetsFactoryMap.keys()))this._legendWidget.addCustomWidgetToLegend(e,(0,s.ensureDefined)(this._customLegendWidgetsFactoryMap.get(e)))})}_loadAndCreatePaneControlsWidget(){Promise.all([Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,20648)),Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,59255))]).then(([e,t])=>{var i;if(this._isDestroyed)return;const s=e.PaneControlsWidget;this._paneControls=new s(this._chartUndoModel(),this,{backgroundThemeName:this._chart.backgroundTopTheme()},{toggleMaximizePane:this._chart.toggleMaximizePane.bind(this._chart),toggleCollapsedPane:this._chart.toggleCollapsedPane.bind(this._chart)},this._div),this._paneControls.updateWidgetModeByWidth(this._size.w),this._paneControls.updateThemedColors(this._themedTopColor),this._paneControlsResizeObserver=new t.default(this._handleRestrictLegendWidth.bind(this)),this._paneControlsResizeObserver.observe(this._paneControls.getElement()),(null===(i=this._state)||void 0===i?void 0:i.collapsed().value())&&this._chartModel().fullUpdate()})}_handleRestrictLegendWidth(e){ +if(null===this._legendWidget||null===this._paneControls)return;const t=e[e.length-1].contentRect.width,i=0===t?0:t+dt+ut;this._legendWidget.addMargin(i)}_onMagnetStateChanged(){this._chart.isActive()&&(this._isSelectPointModeEnabled()||this._isToolActionActiveOnPane(!0))&&this._chartModel().crossHairSource().visible&&this._updateLineToolUsingMagnetOrShift()}_onShiftKeyStateChanged(){this._chart.isActive()&&this._isToolActionActiveOnPane(!1)&&this._chartModel().crossHairSource().visible&&this._updateLineToolUsingMagnetOrShift(A.EnvironmentState.create((0,ot.shiftPressed)().value()))}_isToolActionActiveOnPane(e){const t=this._chartModel(),i=t.lineBeingCreated()||t.lineBeingEdited()||t.sourcesBeingMoved().length>0&&t.sourcesBeingMoved()[0];return i?t.paneForSource(i)===this._state:e&&(0,f.isLineToolName)(k.tool.value())&&t.crossHairSource().pane===this._state}_updateLineToolUsingMagnetOrShift(e){if(null===this._prevMoveEventPosition)return;const{x:t,y:i}=this._prevMoveEventPosition,s=this._chartModel().sourcesBeingMoved();s.length>0?(k.isStudyEditingNow.value()&&this._setCursorPosition(t,i,e),this._alignSourcesThatBeingMoved(s,t,i,e)):this._setCursorPosition(t,i,e)}_showEditDialogForSource(e,t){if(this._options.propertyPagesEnabled&&e.userEditEnabled())if(e===this._chartUndoModel().mainSeries())this._chart.showGeneralChartProperties(tt.TabNames.symbol);else if((0,f.isLineTool)(e)||(0,v.isStudy)(e)){let i;const s=null==t?void 0:t.data();if(null!=s){const e=s.areaName;void 0!==e&&(i=It.get(e))}this._chart.showChartPropertiesForSource(e,i).then(e=>{this._editDialog=e})}}_initToolCreationModeParams(e){this._startTouchPoint=new C.Point(e.pageX,e.pageY),this._initCrossHairPosition=this._chartModel().crossHairSource().currentPoint()}_updateCrosshairPositionInToolCreationMode(e,t){if(t!==this._state){const i=this._chart.paneByState(t);return i._startTouchPoint=this._startTouchPoint,i._initCrossHairPosition=this._initCrossHairPosition,void i._updateCrosshairPositionInToolCreationMode(e,t)}const i=this._chartModel().crossHairSource();this._chart.justActivated()&&(this._initCrossHairPosition=i.currentPoint());const r=e.pageX,n=e.pageY,o=(0,s.ensureNotNull)(this._initCrossHairPosition),a=new C.Point(r,n).subtract((0,s.ensureNotNull)(this._startTouchPoint)),l=o.add(a);this._setCursorPosition(l.x,l.y,new A.EnvironmentState(e))}_priceAxisesContainer(e){return"left"===e?this._lhsPriceAxisesContainer:this._rhsPriceAxisesContainer}_recalculatePriceScales(e){const t=this.state();for(const i of t.leftPriceScales())t.recalculatePriceScale(i,e);for(const i of t.rightPriceScales())t.recalculatePriceScale(i,e);for(const i of t.sourcesByGroup().overlayPriceScaleSources())(0,f.isLineTool)(i)||t.recalculatePriceScale(i.priceScale(),e)}_createLockTimeAxisAction(e){const t=(0,k.lockTimeAxis)().value();return new xe.Action({actionId:"Chart.Crosshair.LockVerticalCursor",label:gt,statName:"LockCursorInTime",checkable:!0,checked:t,onExecute:()=>this._toggleLockTimeAxis(e.localX,!t)})}_toggleLockTimeAxis(e,t){if(t){ +const t=this._chartUndoModel().timeScale(),i=t.coordinateToIndex(e),s=t.points().roughTime(i);null!==s&&k.lockTimeAxisTime.setValue(s)}(0,k.lockTimeAxis)().setValue(t)}_preventTouchEventsExceptPinch(){return this._paneWidgetsSharedState.hasTouchesOnOtherPanes(this)||null!==this._paneWidgetsSharedState.pinchingPane()}_updateHoveredSource(e,t,i){var s,r,n;const o=this._chartUndoModel(),a=o.model();let l=!1;const c=e&&e.source,h=this._chart.readOnly();if(h&&!(0,f.isLineTool)(e.source)||this._editDialog&&this._editDialog.visible().value())h&&(a.setHoveredSource(null,null),this.setCursorForTool());else{const d=k.tool.value();let u=null;if(!this._processing&&((0,k.toolIsCursor)(d)||"eraser"===d&&!h||t.mod()||!o.lineBeingCreated())){const{hittest:t}=e;l=Boolean(null===(s=null==t?void 0:t.data())||void 0===s?void 0:s.hideCrosshairLinesOnHover),t&&t.result()>M.HitTestResult.MOVEPOINT_BACKGROUND?(u=c,!(null==c?void 0:c.isHoveredEnabled())||"eraser"===d&&c===o.mainSeries()?a.setHoveredSource(null,null):a.setHoveredSource(c,null==t?void 0:t.data())):a.setHoveredSource(null,null)}h?this.setCursorForTool(u,t,it.PaneCursorType.Default):this._options.sourceSelectionEnabled&&(this._isSelectPointModeEnabled()?this._setCursorClassName("pointer"):this.setCursorForTool(u,t,null===(n=null===(r=null==e?void 0:e.hittest)||void 0===r?void 0:r.data())||void 0===n?void 0:n.cursorType));const p=a.customSourceBeingMoved(),_=null!==p?[p]:a.sourcesBeingMoved(),m=e.source;if((!_.length||null!==m&&-1===_.indexOf(m))&&this._updateCommonTooltip(e),!h&&null!==e.hittest&&i&&e.hittest.hasPressedMoveHandler(i)){switch((e.hittest.data()||{}).cursorType){case it.PaneCursorType.VerticalResize:this._setCursorClassName("ns-resize");break;case it.PaneCursorType.HorizontalResize:this._setCursorClassName("we-resize");break;case it.PaneCursorType.DiagonalNeSwResize:this._setCursorClassName("nesw-resize");break;case it.PaneCursorType.DiagonalNwSeResize:this._setCursorClassName("nwse-resize")}}}this._preventCrossHairMove()&&this._clearCursorPosition(),a.crossHairSource().setLinesShouldBeHidden(l)}async _createErrorBlock(){const e=new(await async function(){return(await Promise.all([i.e(5514),i.e(8879),i.e(139)]).then(i.bind(i,81200))).ErrorCardRenderer}());return this._div.insertBefore(e.container,this._topCanvasBinding.canvas.nextSibling),e}_customActions(){const e={top:[],bottom:[],remove:[]},t=this._chartUndoModel().timeScale(),i=this._state&&this._state.defaultPriceScale();if(!Pe.enabled("custom_items_in_context_menu"))return e;const r=t.isEmpty()?void 0:t.indexToUserTime(t.coordinateToIndex(this._contextMenuX));let n;if(i&&!i.isEmpty()){const e=(0,s.ensureNotNull)(this.state().mainDataSource()).firstValue();n=i.coordinateToPrice(this._contextMenuY,(0,s.ensureNotNull)(e))}return(0,h.emit)("onContextMenu",{unixtime:null!=r?r.getTime()/1e3:void 0,price:n,callback:t=>{[...t].forEach(t=>{if(t.text)if(t.text.length>1&&"-"===t.text[0])e.remove.push(t.text.slice(1));else{let i;i="-"===t.text?new xe.Separator:new xe.Action({actionId:"Chart.ExternalActionId", +label:t.text,onExecute:t.click}),t.position&&"top"===t.position?e.top.push(i):e.bottom.push(i)}})}}),e}_highlightPriceAxisByLabel(e){this._lhsPriceAxisesContainer.highlightPriceAxisByLabel(e),this._rhsPriceAxisesContainer.highlightPriceAxisByLabel(e)}_subscribeToState(){const e=this.state();e.onDestroyed().subscribe(this,this._onStateDestroyed,!0),e.dataSourcesCollectionChanged().subscribe(this,this._onDataSourcesCollectionChanged),e.maximized().subscribe(this._updateVisuallyCollapsed),e.collapsed().subscribe(this._updateVisuallyCollapsed)}_unsubscribeFromState(){const e=this.state();e.onDestroyed().unsubscribeAll(this),e.dataSourcesCollectionChanged().unsubscribeAll(this),e.maximized().unsubscribe(this._updateVisuallyCollapsed),e.collapsed().unsubscribe(this._updateVisuallyCollapsed)}}var Et=i(72045);class kt{constructor(e,t,i){this._handleEl=null,this._resizeInfo=null,this._colorCache={lineColor:"",backgroundColor:"",color:""},this._chart=e,this._topPaneIndex=t,this._bottomPaneIndex=i,this._row=document.createElement("tr"),this._cell=document.createElement("td"),this._row.appendChild(this._cell),this._cell.classList.add(Et.paneSeparator),this._cell.setAttribute("colspan","3"),this._cell.style.background=this._color(),this.adjustSize(),this._cell.addEventListener("click",()=>{});const s=document.createElement("div");s.classList.add(Et.handle),this._cell.appendChild(s),this._mouseEventHandler=new B.MouseEventHandler(s,this,{treatVertTouchDragAsPageScroll:!1,treatHorzTouchDragAsPageScroll:!0}),this._handleEl=s}destroy(){this._mouseEventHandler.destroy(),this._row.parentElement&&this._row.parentElement.removeChild(this._row)}getElement(){return this._row}hide(){this._row.classList.add("js-hidden")}show(){this._row.classList.remove("js-hidden")}adjustSize(){this._row.style.height=kt.height()+"px"}mouseEnterEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0);null!==t&&null!==i&&(0,s.ensureNotNull)(this._handleEl).classList.add(Et.hovered)}mouseLeaveEvent(e){(0,s.ensureNotNull)(this._handleEl).classList.remove(Et.hovered)}mouseDownEvent(e){this._mouseDownOrTouchStartEvent(e)}touchStartEvent(e){this._mouseDownOrTouchStartEvent(e)}pressedMouseMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}mouseUpEvent(e){this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._mouseUpOrTouchEndEvent(e)}update(){this._cell.style.background=this._color().toString()}paint(){}image(){const{topPane:e}=this._topBottomPane(!1),t=e.leftPriceAxisesContainer().getWidth(),i=e.width(),s=e.rightPriceAxisesContainer().getWidth(),r=this._color(),n=(0,N.createDisconnectedCanvas)(document,new N.Size(t,1)),o=(0,N.getPrescaledContext2D)(n);o.fillStyle=r,o.fillRect(0,0,t,1);const a=(0,N.createDisconnectedCanvas)(document,new N.Size(i,1)),l=(0,N.getPrescaledContext2D)(a);l.fillStyle=r,l.fillRect(0,0,i,1);const c=(0,N.createDisconnectedCanvas)(document,new N.Size(s,1)),h=(0,N.getPrescaledContext2D)(c);return h.fillStyle=r,h.fillRect(0,0,s,1),{type:"separator",leftAxis:{content:n.toDataURL(), +canvas:n,contentWidth:t,contentHeight:1},rightAxis:{content:c.toDataURL(),canvas:c,contentWidth:s,contentHeight:1},content:a.toDataURL(),canvas:a,contentWidth:i,contentHeight:1}}static height(){const e=window.devicePixelRatio||1;return e>=1?1:1/e}_mouseDownOrTouchStartEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0);if(null===t||null===i)return;const r=t.state().stretchFactor()+i.state().stretchFactor(),n=r/(t.height()+i.height()),o=30*n;r<=2*o||(this._resizeInfo={startY:e.pageY,prevStretchTopPane:t.state().stretchFactor(),maxPaneStretch:r-o,totalStretch:r,pixelStretchFactor:n,minPaneStretch:o},(0,s.ensureNotNull)(this._handleEl).classList.add(Et.active))}_pressedMouseOrTouchMoveEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0),s=this._resizeInfo;if(null===s||null===t||null===i)return;const r=(e.pageY-s.startY)*s.pixelStretchFactor,n=(0,le.clamp)(s.prevStretchTopPane+r,s.minPaneStretch,s.maxPaneStretch);t.state().setStretchFactor(n),i.state().setStretchFactor(s.totalStretch-n),this._chart.model().model().fullUpdate()}_mouseUpOrTouchEndEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0),r=this._resizeInfo;null!==r&&null!==t&&null!==i&&(this._chart.model().addPaneStretchFactorUndoCommand(t.state(),i.state(),r.prevStretchTopPane,t.state().stretchFactor()),this._resizeInfo=null,(0,s.ensureNotNull)(this._handleEl).classList.remove(Et.active))}_color(){const e=this._chart.properties().childs().paneProperties.childs().separatorColor.value(),t=this._chart.model().model().backgroundColor().value();if(this._colorCache.lineColor!==e||this._colorCache.backgroundColor!==t){const i=(0,re.parseRgba)(t),s=(0,re.parseRgba)(e),r=0===i[3]&&0===s[3]?"rgba(0,0,0,0)":(0,re.rgbaToString)((0,re.blendRgba)(i,s));this._colorCache={lineColor:e,backgroundColor:t,color:r}}return this._colorCache.color}_topBottomPane(e){const t=this._chart.paneWidgets();let i=null,s=null;for(let s=this._topPaneIndex;s>=0;--s){const r=t[s];if(!e||!r.state().collapsed().value()){i=r;break}}for(let i=this._bottomPaneIndex;ithis.backgroundColor(),o=()=>{throw new Error("Time axis does not support real price scales")},a={titlesProvider:i,stubContextMenuProvider:(e,t)=>{const i=this.getContextMenuActions(!0);let r=s(e,t);if(r[r.length-1]===this.chart.actions().scalesProperties){const e=[new xe.Separator].concat(i);Array.prototype.splice.apply(r,[r.length-2,0,...e]) +}else r.push(new xe.Separator),r=r.concat(i);return r},backgroundBasedTheme:r,rendererOptionsProvider:e.model().model().rendererOptionsProvider(),getBackgroundTopColor:n,getBackgroundBottomColor:n,showHorizontalBorder:!0};this._lhsStubContainer=new ee(this._properties,"left",o,a,this._options.priceAxisLabelsOptions,this),this._lhsStubContainer.onLabelHovered().subscribe(this,(e,t)=>{this._onLabelHovered.fire(e,t)}),this._rhsStubContainer=new ee(this._properties,"right",o,a,this._options.priceAxisLabelsOptions,this),this._rhsStubContainer.onLabelHovered().subscribe(this,(e,t)=>{this._onLabelHovered.fire(e,t)}),this._element.appendChild(this._lhsStubContainer.getElement()),this._cell=document.createElement("td"),this._element.appendChild(this._cell),this._cell.classList.add("chart-markup-table","time-axis"),this._cell.style.height="25px",this._dv=document.createElement("div"),this._dv.style.width="100%",this._dv.style.height="100%",this._dv.style.position="relative",this._dv.style.overflow="hidden",this._cell.appendChild(this._dv),this._canvasConfiguredHandler=()=>this.chart.model().model().lightUpdate(),this._canvasBinding=(0,N.createBoundCanvas)(this._dv,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const l=this._canvasBinding.canvas;l.style.position="absolute",l.style.zIndex="1",l.style.left="0",l.style.top="0",this._topCanvasConfiguredHandler=()=>this.chart.model().model().lightUpdate(),this._topCanvasBinding=(0,N.createBoundCanvas)(this._dv,new N.Size(16,16)),this._topCanvasBinding.subscribeCanvasConfigured(this._topCanvasConfiguredHandler);const c=this._topCanvasBinding.canvas;c.style.position="absolute",c.style.zIndex="2",c.style.left="0",c.style.top="0",this._element.appendChild(this._rhsStubContainer.getElement()),this.restoreDefaultCursor(),this.update(),this._minVisibleSpan=Dt.MINUTE_SPAN,this._mouseEventHandler=new B.MouseEventHandler(this._topCanvasBinding.canvas,this,{treatVertTouchDragAsPageScroll:!0,treatHorzTouchDragAsPageScroll:!1}),this.size=new N.Size(0,0),(0,k.hideMarksOnBars)().subscribe(this,()=>this.chart.model().model().lightUpdate())}destroy(){this._mouseEventHandler.destroy(),this._topCanvasBinding.unsubscribeCanvasConfigured(this._topCanvasConfiguredHandler),this._topCanvasBinding.destroy(),this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),this._rhsStubContainer.onLabelHovered().unsubscribeAll(this),this._lhsStubContainer.onLabelHovered().unsubscribeAll(this),this._lhsStubContainer.destroy(),this._rhsStubContainer.destroy(),this.chart.properties().childs().paneProperties.childs().background.unsubscribeAll(this),(0,k.hideMarksOnBars)().unsubscribeAll(this)}setCursor(e){let t="";"grabbing"!==e&&"ew-resize"!==e||(t="time-axis--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._cell.classList.remove(this._currentCursorClassName),t&&this._cell.classList.add(t),this._currentCursorClassName=t,this._cell.style.cursor)}restoreDefaultCursor(){this.setCursor("")} +getElement(){return this._element}optimalHeight(){const e=this.rendererOptions();return Math.ceil(e.borderSize+e.offsetSize+e.fontSize+e.paddingTop+e.paddingBottom+e.labelBottomOffset)}setSizes(e,t,i){this.size&&this.size.equals(e)||(this.size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._topCanvasBinding.resizeCanvas({width:e.w,height:e.h}),this._cell.style.width=e.w+"px",this._cell.style.height=e.h+"px"),this._lhsStubContainer.setSizes(e.h,t),this._rhsStubContainer.setSizes(e.h,i)}rendererOptions(){if(!this._rendererOptions||this._rendererOptions.fontSize!==this.fontSize()){const e=this.fontSize();this._rendererOptions={borderSize:1,offsetSize:5,fontSize:e,font:(0,O.makeFont)(e,z.CHART_FONT_FAMILY,""),widthCache:new ie.TextWidthCache,paddingTop:3*e/12,paddingBottom:3*e/12,paddingHorizontal:9*e/12,labelBottomOffset:4*e/12}}return this._rendererOptions}backgroundColor(){return this.chart.model().model().backgroundColor().value()}lineColor(){const e=this._properties.childs().lineColor.value();if(0===(0,re.parseRgba)(e)[3]){const e=this.chart.model().model().lastPane();if(e&&(e.collapsed().value()||e.isMainPane()&&this._areEventsEnabled()))return this.chart.properties().childs().paneProperties.childs().separatorColor.value()}return e}textColor(){return this._properties.childs().textColor.value()}fontSize(){return this._properties.childs().fontSize.value()}baseFont(){return(0,O.makeFont)(this.fontSize(),z.CHART_FONT_FAMILY)}baseBoldFont(){return(0,O.makeFont)(this.fontSize(),z.CHART_FONT_FAMILY,"","bold")}hasCanvas(e){return this._canvasBinding.canvas===e||this._topCanvasBinding.canvas===e}onLabelHovered(){return this._onLabelHovered}getScreenshotData(){return{content:this._canvasBinding.canvas.toDataURL(),canvas:this._canvasBinding.canvas,contentWidth:this.size.w,contentHeight:this.size.h,lhsStub:this._lhsStubContainer.getScreenshotData(),rhsStub:this._rhsStubContainer.getScreenshotData()}}getContextMenuActions(e){var t;const i=this.chart;i.updateActions();const s=i.actions(),r=[];if(e||r.push(s.timeScaleReset,new xe.Separator),this._options.timezoneMenuEnabled&&r.push(s.applyTimeZone),r.push(s.sessionBreaks),!i.model().mainSeries().isDWM()){const e=null===(t=i.model())||void 0===t?void 0:t.mainSeries().symbolInfo();if(e){const t=i.model().mainSeries().properties().childs().sessionId,s=(e.subsessions||[]).filter(e=>!e.private);if(s.length>1){const e=s.map(e=>{const s={label:translateSessionDescription(e.description),checkable:!0,checked:t.value()===e.id,statName:"SetSession",onExecute:()=>{i.model().setProperty(t,e.id,Bt)}};return new xe.Action({...s,actionId:"Chart.SetSession"})}),n={label:Nt,statName:"SetSession",subItems:e},o=new xe.Action({...n,actionId:"Chart.SetSession"});r.push(o)}}}return r}update(){if(!this.chart.hasModel())return;const e=this.chart.model().timeScale().marks();if(e){this._minVisibleSpan=Dt.YEAR_SPAN;for(const t of e)this._minVisibleSpan=Math.min(t.span,this._minVisibleSpan)}}updatePriceAxisStubs(){const e=this.chart.model().model(),t=this.chart.isMaximizedPane()?(0, +s.ensureNotNull)(this.chart.maximizedPaneWidget()).state():e.paneForSource(e.mainSeries());if(!t)return;const i=e.priceScaleSlotsCount();this._lhsStubContainer.setScales([],i.left,t.leftPriceScales().length,i.left+i.right),this._rhsStubContainer.setScales([],i.right,t.rightPriceScales().length,i.left+i.right)}paint(e){if(e===b.InvalidationLevel.None)return;const t=(0,N.getContext2D)(this._topCanvasBinding.canvas);if(e>b.InvalidationLevel.Cursor){const i=(0,N.getContext2D)(this._canvasBinding.canvas),s=this._canvasBinding.pixelRatio;this.drawBackground(i,s),this.chart.hasModel()&&(this.drawBorder(i,s),this.drawTickMarks(i,s),this.drawBackLabels(i,s),this.drawCrossHairLabel(t,s)),this._lhsStubContainer.paintStubs(e),this._rhsStubContainer.paintStubs(e)}this.drawCrossHairLabel(t,this._topCanvasBinding.pixelRatio)}drawBackground(e,t){if((0,N.clearRect)(e,0,0,Math.ceil(this.size.w*t)+1,Math.ceil(this.size.h*t)+1,this.backgroundColor()),!this.chart.hasModel())return;const i=this.chart.model();if(!i.timeScale().isEmpty()){const s=i.model().selection().lineDataSources().reduce((e,t)=>{const i=t.timeAxisPoints();return 0===i.length?e:e.concat(i)},[]);s.length>0&&this._hightlightBackground(e,s,t)}const s=i.model().crossHairSource();s.startMeasurePoint()&&this._hightlightBackground(e,s.measurePoints(),t)}drawBorder(e,t){e.save(),e.fillStyle=this.lineColor();const i=Math.max(1,Math.floor(this.rendererOptions().borderSize*t)),s=Math.ceil(this.size.w*t);e.fillRect(0,0,s+1,i),e.restore()}drawTickMarks(e,t){const i=this.chart.model().timeScale().marks();if(!i||0===i.length)return;let s=i.reduce((e,t)=>e.span>t.span?e:t,i[0]).span;s>30&&s<40&&(s=30),e.save(),e.strokeStyle=this.lineColor();const r=this.rendererOptions(),n=r.borderSize+r.offsetSize+r.paddingTop+r.fontSize/2;e.textAlign="center",e.textBaseline="middle",e.fillStyle=this.textColor(),(0,N.drawScaled)(e,t,()=>{e.font=this.baseFont();for(let t=0;t=s&&e.fillText(r.label,r.coord,n)}}),e.restore()}drawBackLabels(e,t){var i;e.save();const s=new Set,r=this.chart.model().model();let n=r.dataSources();const o=r.selection().allSources();for(const e of o)s.add(e);r.hoveredSource()&&s.add(r.hoveredSource());for(const e of r.sourcesBeingMoved())s.add(e);const a=r.customSourceBeingMoved();null!==a&&s.add(a);const l=null!==(i=r.lineBeingEdited())&&void 0!==i?i:r.lineBeingCreated();l&&s.add(l),s.add(this.chart.model().crossHairSource()),n=n.concat(r.customSources());const c=this.rendererOptions();for(let i=0;i=s&&(s=a,n=o),a<=i&&(i=a,r=o)}}return n&&t.push(n),r&&t.push(r),t}_zoomAvailable(){return!this.chart.model().timeScale().isEmpty()&&this.chart.model().model().zoomEnabled()&&this._options.pressedMouseMoveScale}_mouseDownOrTouchStartEvent(e){if(this._mousedown||!this._zoomAvailable())return;this._mousedown=!0;const t=this.chart.model();t.timeScale().isEmpty()||t.startScaleTime(e.localX)}_pressedMouseOrTouchMoveEvent(e){this._zoomAvailable()&&this.chart.model().scaleTimeTo(e.localX)}_mouseUpOrTouchEndEvent(e){this._zoomAvailable()&&(this._mousedown=!1,this.chart.model().endScaleTime(),this.restoreDefaultCursor())}_contextMenuOrTouchContextMenuEvent(e){this._options.contextMenuEnabled&&$.ContextMenuManager.showMenu(this.getContextMenuActions(),e,{statName:"TimeScaleContextMenu"},{menuName:"TimeScaleContextMenu"})}_mouseOrTouchEnterEvent(e){this._zoomAvailable()&&this.setCursor("ew-resize")} +_mouseOrTouchLeaveEvent(e){this.restoreDefaultCursor()}_mouseDoubleClickOrDoubleTapEvent(e){(0,se.trackEvent)("GUI","Double click time scale"),this.chart.model().resetTimeScale()}_areEventsEnabled(){return!(0,k.hideMarksOnBars)().value()}}function Ot(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ft(e){return e.reduce((e,t)=>{for(const i in t)if(Ot(t,i)){const s=t[i],r=e[i];r?r.push(s):e[i]=[s]}return e},{})}const Wt=new T.TranslatedString("move left",(0,r.t)("move left")),Ht=new T.TranslatedString("move right",(0,r.t)("move right")),zt={moving:"wait_finishing",wait_finishing:"stop",stop:"moving"};class Ut{constructor(e){this._chartModel=null,this._currentDistance=0,this._deferredFinishTimeout=0,this._finishingTimeout=0,this._moveType="",this._startTime=0,this._state="stop",this._movingTimeout=0,this._chart=e,this._chart.withModel(this,()=>{this._chartModel=this._chart.model()})}destroy(){clearTimeout(this._movingTimeout)}move(e){if(null!==this._chartModel&&"stop"===this._state&&this._chartModel.beginUndoMacro(1===e?Wt:Ht),this._state=zt.stop,this._moveType="animated",this._deferredFinishTimeout&&(clearTimeout(this._deferredFinishTimeout),this._deferredFinishTimeout=0),this._finishingTimeout&&(clearTimeout(this._finishingTimeout),this._finishingTimeout=0),this._startTime=Date.now(),0===this._movingTimeout){const t=this._startTime,i=10,s=()=>{this.moveStep(t,0,50*e,1e3),this._movingTimeout=setTimeout(s,i)};this._movingTimeout=setTimeout(s,i)}}moveStep(e,t,i,s){if(null!==this._chartModel&&!this._chartModel.timeScale().isEmpty()){const r=Date.now();r1||!isFinite(n))&&(n=1);const o=1-Math.pow(1-n,3);return this._currentDistance=(i-t)*o+t,this._chartModel.scrollChart(this._currentDistance),n}}moveByBar(e){if(null!==this._chartModel){const t=this._chartModel.timeScale();if(t.isEmpty())return;if("stop"===this._state&&this._chartModel.beginUndoMacro(1===e?Wt:Ht),null!==t.visibleBarsStrictRange()){const e=t.indexToCoordinate(t.visibleBarsStrictRange().lastBar())+t.barSpacing()/2;Math.abs(t.width()-e)>t.barSpacing()/6&&this._chartModel.scrollChart(t.width()-e)}if(this._state=zt.stop,this._moveType="by_bar",this._startTime=Date.now(),!this._movingTimeout){let t=0,i=150;const s=400,r=()=>{this._moveByBarStep(e),t++,i>100&&(i-=t/5*20),this._movingTimeout=setTimeout(r,i)};this._movingTimeout=setTimeout(r,s),this._moveByBarStep(e)}}}stopMove(){"by_bar"===this._moveType?this.stopMoveByBar():this._stopMove()}stopMoveByBar(){"moving"===this._state&&(clearTimeout(this._movingTimeout),this._movingTimeout=0,this._state=zt.wait_finishing,this._moveType="",this._movingTimeout=0,this._currentDistance=0,null!==this._chartModel&&this._chartModel.endUndoMacro())}scrollToRealtime(e){null!==this._chartModel&&this._chartModel.timeScale().scrollToRealtime(e)}_finishMove(){clearTimeout(this._movingTimeout),this._movingTimeout=0,this._deferredFinishTimeout=0;const e=this._currentDistance,t=Date.now(),i=()=>{const s=this.moveStep(t,e,0,700) +;s&&s<1?this._finishingTimeout=setTimeout(i,10):null!==this._chartModel&&(this._state=zt.wait_finishing,this._moveType="",this._movingTimeout=0,this._currentDistance=0,this._chartModel.endUndoMacro())};this._finishingTimeout=setTimeout(i,10)}_stopMove(){"moving"===this._state&&(this._state=zt.moving,Date.now()-this._startTime<200?this._deferredFinishTimeout=setTimeout(this._finishMove.bind(this),200-(Date.now()-this._startTime)):this._finishMove())}_moveByBarStep(e){if(null!==this._chartModel){if(this._chartModel.timeScale().isEmpty())return;this._chartModel.scrollChartByBar(e)}}}var jt=i(37667),Gt=i(9315);class qt{constructor(){this._draggingSource=null,this._activeTouchPanes=new Set,this._scrollingPane=null,this._pinchingPane=null}onPaneDestroyed(e){this._activeTouchPanes.delete(e),this._scrollingPane===e&&(this._scrollingPane=null),this._pinchingPane===e&&(this._pinchingPane=null)}startTouch(e){this._activeTouchPanes.add(e)}endTouch(e){this._activeTouchPanes.delete(e)}hasTouchesOnOtherPanes(e){return this._activeTouchPanes.size>1||1===this._activeTouchPanes.size&&!this._activeTouchPanes.has(e)}trySetDraggingSource(e,t){return!this.hasTouchesOnOtherPanes(t)&&((0,s.assert)(null===this._draggingSource||this._draggingSource===e),this._draggingSource=e,!0)}clearDraggingSource(){null!==this._draggingSource&&(this._draggingSource=null)}draggingSource(){return this._draggingSource}setScrollingPane(e){(0,s.assert)(null===e||null===this._scrollingPane||this._scrollingPane===e),this._scrollingPane=e}scrollingPane(){return this._scrollingPane}setPinchingPane(e){(0,s.assert)(null===e||null===this._pinchingPane||this._pinchingPane===e),this._pinchingPane=e}pinchingPane(){return this._pinchingPane}}let Yt=null;function Kt(e,t,s,r,n){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(3466),i.e(7836),i.e(7427),i.e(3921),i.e(3713),i.e(5774),i.e(3848),i.e(6909),i.e(7552),i.e(1692),i.e(7345),i.e(2153),i.e(6750),i.e(4763),i.e(6416),i.e(1333),i.e(1999),i.e(8268),i.e(9055),i.e(2205),i.e(4408),i.e(2358),i.e(976),i.e(7635),i.e(3682),i.e(3304),i.e(5827),i.e(2947),i.e(1594),i.e(8178),i.e(1482),i.e(2454),i.e(6265)]).then(i.bind(i,73562)).then(i=>{const o=new(0,i.EditObjectDialogRenderer)(e,t,r,n);return o.show(s),o})}let $t=null;var Xt=i(20299);const Zt={[tt.TabNames.symbol]:"symbol",[tt.TabNames.legend]:"legend",[tt.TabNames.scales]:"scales",[tt.TabNames.trading]:"trading",[tt.TabNames.events]:"events",[tt.TabNames.timezoneSessions]:"appearance",[tt.TabNames.text]:"text",[tt.TabNames.style]:"style",[tt.TabNames.visibility]:"visibility"},Jt={[tt.TabNames.style]:"style",[tt.TabNames.visibility]:"visibilities"};async function Qt(e,t,s={},r,n){const o=r.activeChartWidget.value(),{initialTab:a,tabName:l}=s;if(l&&!a&&(s.initialTab=Jt[l]),(0,f.isStudyLineTool)(e)&&function(e){return[Xt.LineToolVbPFixed].some(t=>e instanceof t)}(e))return o.propertiesDefinitionsForSource(e).then(i=>null!==i?Kt(e,t,s,n,i):null);if((0,v.isStudy)(e)&&function(e){ +const{shortId:t}=e.metaInfo();return"Overlay"===t}(e)||(0,f.isLineTool)(e))return o.propertiesDefinitionsForSource(e).then(s=>{if(null!==s){return function(e){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(3466),i.e(7836),i.e(7427),i.e(3921),i.e(3713),i.e(5774),i.e(3848),i.e(6909),i.e(7552),i.e(1692),i.e(7345),i.e(2153),i.e(6750),i.e(6416),i.e(1333),i.e(1999),i.e(8268),i.e(9055),i.e(2205),i.e(2358),i.e(7635),i.e(8090),i.e(3304),i.e(5827),i.e(2947),i.e(1594),i.e(8178),i.e(1482),i.e(2454),i.e(6780)]).then(i.bind(i,75892)).then(t=>{const i=new(0,t.SourcePropertiesEditorRenderer)(e);return null!==$t&&$t.hide(),i.show(),$t=i,i})}({propertyPages:s,model:t,source:e,activePageId:l&&Zt[l]})}return null});if((0,v.isStudy)(e))return Kt(e,t,s,n);{const e=l&&Zt[l],t=r.getChartPropertiesDialogRenderer();return t.setActivePage(e),t.show()}}var ei=i(39277),ti=i(92930),ii=i(49642),si=i(95836);class ri{constructor(e,t){this._showed=!1,this._cw=e,this._element=document.createElement("div"),this._element.classList.add("chart-loading-screen"),this._shield=document.createElement("div"),this._shield.classList.add("chart-loading-screen-shield"),this._element.appendChild(this._shield),t.appendChild(this._element),this._cw.withModel(this,this._connectToModel)}show(){this._cw.setInLoadingState(!0),this._showed||(this._showed=!0,this._show())}hide(){this._cw.setInLoadingState(!1),this._showed&&this._hide()}isShown(){return this._showed}_connectToModel(){const e=this._cw.model().mainSeries().dataEvents();e.symbolError().subscribe(this,e=>{e!==si.permissionDenied&&this.hide()}),e.seriesError().subscribe(this,()=>{(0,Pe.enabled)("hide_loading_screen_on_series_error")&&this.hide()}),e.completed().subscribe(this,this.hide)}_show(){const e=this._cw.properties().childs().paneProperties.childs();let t;if(e.backgroundType.value()===ii.ColorType.Solid)t=e.background.value();else{t=`linear-gradient(${e.backgroundGradientStartColor.value()},${e.backgroundGradientEndColor.value()})`}this._shield.style.background=t,this._element.classList.add("fade")}_hide(){this._showed=!1,this._element.classList.remove("fade")}}var ni=i(55257),oi=i(36759);const ai=(0,Pe.enabled)("chart_content_overrides_by_defaults"),li=(0,n.getLogger)("ChartWidget",{color:"#606"}),ci=new T.TranslatedString("hide {title}",(0,r.t)("hide {title}"));const hi={addToWatchlistEnabled:!0,showFinancialsEnabled:!1,sourceSelectionEnabled:!0,propertyPagesEnabled:!0,paneContextMenuEnabled:!0,priceScaleContextMenuEnabled:!0,currencyConversionEnabled:!1,unitConversionEnabled:!1,goToDateEnabled:!1,marketStatusWidgetEnabled:!0,chartWarningWidgetEnabled:!0,dataProblemWidgetEnabled:!0,paneControlsEnabled:!0,isSymbolAvailable:e=>Promise.resolve(!0),legendWidgetEnabled:!0,chartEventsEnabled:!0,esdEnabled:!1,croppedTickMarks:!0,countdownEnabled:!0,lastPriceAnimationEnabled:!0,useKineticScroll:l.CheckMobile.any(),indicatorsDialogShortcutEnabled:!0,handleScale:{mouseWheel:!0,pinch:!0,axisPressedMouseMove:{time:!0,price:!0}}, +handleScroll:{mouseWheel:!0,pressedMouseMove:!0,horzTouchDrag:!0,vertTouchDrag:!0}};function di(e,t,i,s=0){const r=t.mainSeries().syncModel(),n=e.mainSeries().syncModel();let o=i;if(null!==r&&null!==n){const t=e.createSyncPoint(r.syncSourceTarget(),n.syncSourceTarget());0!==s&&(i=r.projectTime(i,s)),o=t.sourceTimeToTargetTime(i)}return e.timeScale().points().roughIndex(o,n&&n.distance.bind(n))}class ui{constructor(e,t,i){this.activePaneWidget=null,this._model=null,this._paneWidgets=[],this._maximizedPaneWidget=null,this._timeAxisWidget=null,this._paneSeparators=[],this._controlBarNavigation=null,this._lineToolsSynchronizer=null,this._modelCreated=new(K()),this._isDestroyed=!1,this._customLegendWidgetsFactoryMap=new Map,this._backgroundTopTheme=new($e())("light"),this._backgroundBasedTheme=new($e())("light"),this._backgroundBottomTheme=new($e())("light"),this._lhsAxesWidth=0,this._rhsAxesWidth=0,this._lhsPriceAxisWidthChanged=new(K()),this._rhsPriceAxisWidthChanged=new(K()),this._mainDiv=null,this._parent=null,this._elTooltipDiv=null,this._hotkeysListener=null,this._mouseWheelHelper=null,this._onWheelBound=null,this._justActivated=!1,this._inited=!1,this._containsData=!1,this._initialLoading=!1,this._defTimeframe=void 0,this._removeMaximizeHotkey=null,this._metaInfoRepository=null,this._invalidationMask=null,this._drawPlanned=!1,this._drawRafId=0,this._inLoadingState=!1,this._timingsMeter=null,this._tagsChanged=new(K()),this._redraw=new(K()),this._isVisible=new($e())(!0),this._collapsed=new($e())(!1),this._dataWindowWidget=null,this._mainSeriesErrorMessage=null,this._resizeHandler=null,this._spinner=null,this._keydownEventListener=null,this._properties=null,this._updateThemedColorBound=this._updateThemedColor.bind(this),this._saveChartService=null,this._objectTreeDialogController=null,this._chartPaintedPromise=null,this._noExchangeSubscrptionWarning=null,this._paneWidgetsSharedState=new qt,this._brokerName="",this._onZoom=new(K()),this._onScroll=new(K()),this._availableScreen=null,this._hoveredPriceAxes=new Set,this._anyAxisHovered=new($e())(!1),this._invalidationHandler=e=>{if(!(e instanceof b.InvalidationMask))throw new Error("Invalid mask");null!==this._invalidationMask?this._invalidationMask.merge(e):this._invalidationMask=e,this._drawPlanned||(this._drawPlanned=!0,this._options.visible.when(()=>{const e=!document.hidden,t=this.screen&&this.screen.isShown();null!==this._timingsMeter&&e&&!t&&this._timingsMeter.startWaitingDraw();const i=(0,s.ensureNotNull)((0,s.ensureNotNull)(this._parent).ownerDocument.defaultView);this._drawRafId=i.requestAnimationFrame(this._invalidationRAFCallback.bind(this))}))},this._id=t,this._layoutId=i,this._options=(0,_.merge)((0,_.clone)(hi),e),this._options.customLegendWidgetFactories&&(this._customLegendWidgetsFactoryMap=this._options.customLegendWidgetFactories),this._subscribeToDrawingState(),this._chartWidgetCollection=this._options.chartWidgetCollection,this.withModel(this,()=>{const e=this.model().model();e.backgroundTopColor().subscribe(this._updateThemedColorBound), +e.backgroundColor().subscribe(this._updateThemedColorBound)}),this._subscribeToMainSeriesErrors(),this._scrollHelper=new Ut(this),this._objectTreeDialogController=p.getInstance(),this._showChartEvents=Boolean(!this._options.containsData&&this._options.chartEventsEnabled),this._properties=new y.DefaultProperty("chartproperties",void 0,void 0,this._options.useUserChartPreferences),this._properties.addExclusion("scalesProperties.axisHighlightColor"),this._properties.addExclusion("scalesProperties.axisLineToolLabelBackgroundColorActive"),this._properties.addExclusion("scalesProperties.axisLineToolLabelBackgroundColorCommon"),this._properties.addExclusion("scalesProperties.showPriceScaleCrosshairLabel"),this._properties.addExclusion("scalesProperties.showTimeScaleCrosshairLabel")}destroy(){var e,t,i;null===(e=this._lineToolsSynchronizer)||void 0===e||e.destroy(),null===(t=this._noExchangeSubscrptionWarning)||void 0===t||t.destroy(),window.loginStateChange.unsubscribe(this,this._handleLoginStateChanged),null!==this._model&&(this._model.model().backgroundTopColor().unsubscribe(this._updateThemedColorBound),this._model.model().backgroundColor().unsubscribe(this._updateThemedColorBound),this._model.destroy()),this._customLegendWidgetsFactoryMap.clear(),this._scrollHelper.destroy(),null===(i=this._mainSeriesErrorMessage)||void 0===i||i.destroy(),this._isDestroyed=!0}lineToolsSynchronizer(){return this._lineToolsSynchronizer}model(){return(0,s.ensureNotNull)(this._model)}id(){return this._id}layoutId(){return this._layoutId}crossHairSyncEnabled(){return this._chartWidgetCollection.lock.crosshair.value()}isVisible(){return this._isVisible.value()}setVisible(e){this._isVisible.setValue(e)}setCollapsed(e){this._collapsed.setValue(e)}isJustClonedChart(){return!!(this._options||{}).justCloned}setSymbol(e){this._model?this._model.setSymbol(this._model.mainSeries(),e):this.properties().childs().mainSeriesProperties.merge({symbol:e})}setResolution(e){this._model?this._model.setResolution(this._model.mainSeries(),e):this.properties().childs().mainSeriesProperties.merge({interval:e})}async showGeneralChartProperties(e){if(!Pe.enabled("show_chart_property_page"))return Promise.resolve(null);const t=await this._showChartProperties(this.model().mainSeries(),e,{doNotCloseOnBgClick:!0,onResetToDefault:async()=>{this.model().restorePreferences();const e=await Promise.resolve().then(i.bind(i,6087)),t=e.getCurrentTheme().name;e.loadTheme(this.chartWidgetCollection(),{themeName:t,standardTheme:!0})}});if(null===t)return null;const s=()=>{t.hide(),this._chartWidgetCollection.activeChartWidget.unsubscribe(s)};return this._chartWidgetCollection.activeChartWidget.subscribe(s),t}async showChartPropertiesForSources(e){if(!(0,Pe.enabled)("property_pages"))return Promise.resolve(null);const{sources:t,title:n,tabName:o,renamable:a}=e,l=(0, +s.ensureNotNull)(this._model),c=Ft(t.map(e=>e.properties().childs())),h=Ft(t.map(e=>e.properties().childs().intervalsVisibilities)),[{createPropertyPage:d},{getSelectionStylePropertiesDefinitions:u},{getSelectionIntervalsVisibilitiesPropertiesDefinition:p}]=await Promise.all([Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80331)),Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,23206)),Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80975))]),_=[];return _.push(d(u(c,l),"Style",(0,r.t)("Style"))),_.push(d(p(h,l),"Visibility",(0,r.t)("Visibility"))),async function(e){const{SourcesPropertiesEditorRenderer:t}=await Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(3466),i.e(7836),i.e(7427),i.e(3921),i.e(3713),i.e(5774),i.e(3848),i.e(6909),i.e(7552),i.e(1692),i.e(7345),i.e(2153),i.e(6750),i.e(6416),i.e(1333),i.e(1999),i.e(8268),i.e(9055),i.e(2205),i.e(2358),i.e(7635),i.e(8090),i.e(3304),i.e(5827),i.e(2947),i.e(1594),i.e(8178),i.e(1482),i.e(2454),i.e(6780)]).then(i.bind(i,66512)),s=new t(e);return null!==Yt&&(Yt.hide(),Yt=s),s.show(),s}({sources:t,propertyPages:_,undoModel:l,title:n,activeTabId:o,renamable:a})}getPriceAxisWidthChangedByName(e){return"left"===e?this._lhsPriceAxisWidthChanged:this._rhsPriceAxisWidthChanged}getPriceAxisMaxWidthByName(e){return"left"===e?this._lhsAxesWidth:this._rhsAxesWidth}timeAxisHeight(){return null!==this._timeAxisWidget?this._timeAxisWidget.size.h:0}withModel(e,t){null!==this._model?t.call(e):this.modelCreated().subscribe(e,t,!0)}hasModel(){return null!==this._model}copyLineToOtherCharts(){const e=(0,s.ensureNotNull)(this._model),t=e.selection().lineDataSources().filter(e=>e.isSynchronizable());e.copyToOtherCharts(t)}hideDataSources(e){if(e.length){const t=e.map(e=>e.properties().visible),i=e.map(()=>!1);this.model().setProperties(t,i,ci.format({title:new T.TranslatedString(e[0].name(),e[0].title())}))}}hideSelectedObject(){this.hideDataSources(this.model().selection().dataSources().filter(e=>!0))}unlinkSelectedLine(){const e=(0,s.ensureNotNull)(this._model),t=e.selection().lineDataSources();e.unlinkLines(t)}onScroll(){return this._onScroll}onZoom(){return this._onZoom}images(e){window.TradingView.printing=!0;const t=this.model().selection().allSources();this.model().selectionMacro(e=>e.clearSelection()),this.model().model().recalculateAllPanes((0,ht.globalChangeEvent)());const i=(t,i)=>{t.paint(i,this.onWidget());const s={showCollapsedStudies:Boolean(null==e?void 0:e.showCollapsedStudies),status:null==e?void 0:e.status};return t.getScreenshotData(s)},s=[];if(null!==this._maximizedPaneWidget){const e=this._paneWidgets.indexOf(this._maximizedPaneWidget);s.push(i(this._maximizedPaneWidget,b.InvalidationMask.light().invalidateForPane(e)))}else for(let e=0;e{t.forEach(t=>{e.addSourceToSelection(t)})}),this.model().model().recalculateAllPanes((0,ht.globalChangeEvent)()),this.model().model().lightUpdate();const n=this.mainSeriesQuotesAndMetainfo();return{panes:s,timeAxis:r,colors:{text:this.properties().childs().scalesProperties.childs().textColor.value(),bg:this.properties().childs().paneProperties.childs().background.value(),scales:this.properties().childs().scalesProperties.childs().lineColor.value()},meta:n.meta,ohlc:n.ohlc,quotes:n.quotes}}setSaveChartService(e){this._saveChartService=e,null!==this._lineToolsSynchronizer&&this._lineToolsSynchronizer.setSaveChartService(e)}getSaveChartService(){return this._saveChartService}mainSeriesQuotesAndMetainfo(){let e,t,i;const s=this._model&&this._model.mainSeries();if(s){const r=e=>null==e?"":s.formatter().format(e,void 0,void 0,!0,!1)+"",n=e=>null==e?"":e+"";e={resolution:s.interval(),symbol:s.symbol(),values:s.valuesProvider().getValues(null)};const o=s.symbolInfo();o&&(e.symbol=o.full_name,e.description=o.description,e.exchange=o.exchange);const a=s.bars().last();null!==a&&(t=a.value.slice(1,5).map(r));const l=s.quotes();l&&(i={change:r(l.change),changePercent:n(l.change_percent),last:r(l.last_price)})}return{meta:e,ohlc:t,quotes:i}}updateCrossHairPositionIfNeeded(){if(this._model){const e=k.tool.value();this._model.model().setCurrentTool(e);const t=(0,x.lastMouseOrTouchEventInfo)();if(t.isTouch){const e=this._maximizedPaneWidget||this._paneWidgets[0];if(e.hasState()&&(!t.stylus&&(this._isLineToolModeExceptBrush()||(0,k.toolIsMeasure)(k.tool.value()))||this.selectPointMode().value())){const t=e.state(),i=.5*this._model.model().timeScale().width(),s=.5*t.defaultPriceScale().height();this._model.model().setAndSaveCurrentPosition(i,s,t)}}if(this._model&&t.isTouch){const e=this._model.model().crossHairSource();e.updateAllViews((0,ht.dataSourceChangeEvent)(e.id()))}}}trackingModePaneWidget(){if(!(0,x.lastMouseOrTouchEventInfo)().isTouch)return null;for(const e of this.paneWidgets())if(e.trackingModeEnabled())return e;return null}startTrackingMode(){if((0,x.lastMouseOrTouchEventInfo)().isTouch){this.exitTrackingMode(),this.updateCrossHairPositionIfNeeded();const e=this._maximizedPaneWidget||this._paneWidgets[0],t=this.model().model().crossHairSource().currentPoint();e.startTrackingMode(t,t)}}exitTrackingMode(){(0,x.lastMouseOrTouchEventInfo)().isTouch&&this.paneWidgets().some(e=>e.trackingModeEnabled())&&(this.paneWidgets().forEach(e=>e.exitTrackingMode()),this.model().model().clearCurrentPosition())}onToolChanged(){this.selectPointMode().value()&&this.cancelRequestSelectPoint(),this.exitTrackingMode()}setInLoadingState(e){this._inLoadingState=e}paint(e){const t=null!=e?e:b.InvalidationMask.full();t.validationActions().forEach(e=>e()),this._paneWidgets.forEach((e,i)=>{ +null!==this._maximizedPaneWidget&&this._maximizedPaneWidget!==e||e.paint(t.invalidateForPane(i),!1)}),this._timeAxisWidget&&this._timeAxisWidget.paint(t.invalidateForTimeScale()),this._redraw.fire()}GUIResetScales(){(0,se.trackEvent)("GUI","Reset Scales"),null!==this._model&&this._model.resetScales()}toggleMaximizePane(e){var t;if(!(this._paneWidgets.length<2)){this._maximizedPaneWidget?(this._maximizedPaneWidget.state().maximized().setValue(!1),this._maximizedPaneWidget=null,this._paneSeparators.forEach(e=>e.show())):(this._maximizedPaneWidget=e,this._maximizedPaneWidget.state().maximized().setValue(!0),this._paneSeparators.forEach(e=>e.hide()));for(let e=this._paneWidgets.length;e--;)this._paneWidgets[e].updateControls(),this._paneWidgets[e].updatePriceAxisWidgets(),this._paneWidgets[e].setErrorMessage(this._mainSeriesErrorMessage?this._mainSeriesErrorMessage.value():null);null===(t=this._timeAxisWidget)||void 0===t||t.updatePriceAxisStubs(),this._adjustSize(),this.updateCrossHairPositionIfNeeded()}}maximizedPaneWidget(){return this._maximizedPaneWidget}isMaximizedPane(){return null!==this._maximizedPaneWidget}toggleCollapsedPane(e){const t=e.state();t.collapsed().setValue(!t.collapsed().value()),this._paneWidgets.forEach(e=>e.updateControls()),this._adjustSize(),this.updateCrossHairPositionIfNeeded()}unsetActivePaneWidget(){this.activePaneWidget=null}setActivePaneWidget(e){this.activePaneWidget=e}onPaneWidgetDestroyed(e){this.activePaneWidget===e&&(this.activePaneWidget=null)}backgroundTopTheme(){return this._backgroundTopTheme.readonly()}backgroundBasedTheme(){return this._backgroundBasedTheme.readonly()}backgroundBottomTheme(){return this._backgroundBottomTheme.readonly()}lineToolsAndGroupsDTO(){return(0,s.ensureNotNull)(this._lineToolsSynchronizer).prepareDTO()}resetLineToolsInvalidated(e,t,i){(0,s.ensureNotNull)(this._lineToolsSynchronizer).resetInvalidated(e,t,i)}applyLineToolUpdateNotification(e,t){(0,s.ensureNotNull)(this._lineToolsSynchronizer).applyLineToolUpdateNotification(e,t)}reloadAllLineTools(){(0,s.ensureNotNull)(this._lineToolsSynchronizer).reloadAllLineTools()}startApplyingLineToolUpdateNotification(){var e;null===(e=this._lineToolsSynchronizer)||void 0===e||e.startApplyingLineToolUpdateNotification()}endApplyingLineToolUpdateNotification(){var e;null===(e=this._lineToolsSynchronizer)||void 0===e||e.endApplyingLineToolUpdateNotification()}applyAlertIdByExternalSource(e,t){var i;null===(i=this._lineToolsSynchronizer)||void 0===i||i.applyAlertIdByExternalSource(e,t)}deleteAlertByExternalSource(e,t){var i;null===(i=this._lineToolsSynchronizer)||void 0===i||i.deleteAlertByExternalSource(e)}shouldBeSavedEvenIfHidden(){return this.model().model().shouldBeSavedEvenIfHidden()}showObjectsTreeDialog(){var e;null===(e=this._objectTreeDialogController)||void 0===e||e.show()}addCustomWidgetToLegend(e,t){this._customLegendWidgetsFactoryMap.set(e,t);for(const i of this.paneWidgets())i.addCustomWidgetToLegend(e,t)}applyIndicatorsToAllChartsAvailable(){ +if(!this.chartWidgetCollection().applyIndicatorsToAllChartsAvailable())return!1;for(const e of this.model().model().panes()){if(e.sourcesByGroup().all().some(e=>(0,v.isStudy)(e)&&!0))return!0}return!1}restoreState(e,t,i){this._adjustSize();(0,s.ensureNotNull)(this._model).restoreState(this._content,t,i);this._setActions()}addCompareAsOverlay(e,t){const i=this.model();return(0,s.ensureDefined)(this._options.isSymbolAvailable)(e).then(s=>{if(!s)return null;const r=i.createStudyInserter({type:"java",studyId:"Overlay@tv-basicstudies"});return r.setForceOverlay(!0),r.setPreferredPriceScale("as-series"),r.setTargetPriceScaleMode({percentage:!0}),void 0!==t&&r.setPropertiesState({allowExtendTimeScale:t}),r.insert(async()=>({inputs:{symbol:e}}))})}scrollHelper(){return this._scrollHelper}setBroker(e){var t;this._brokerName=e,null===(t=this._lineToolsSynchronizer)||void 0===t||t.setBroker(e)}chartPainted(){return this._drawPlanned?(null===this._chartPaintedPromise&&(this._chartPaintedPromise=(0,c.createDeferredPromise)()),this._chartPaintedPromise.promise):Promise.resolve()}setDataWindowWidget(e){this._dataWindowWidget=e}removeDataWindowWidget(){this._dataWindowWidget=null}showSelectedSourcesProperties(e){const t=(0,s.ensureNotNull)(this._model).selection().dataSources();if(1===t.length)this.showSourceProperties(t[0],e);else{const i=t.filter(f.isLineTool);i.length>0&&this.showChartPropertiesForSources({sources:i,tabName:e})}}update(){if(this.hasModel()){for(const e of this._paneWidgets)e.update();this._timeAxisWidget&&this._timeAxisWidget.update()}}setPriceAxisHovered(e,t){t?this._hoveredPriceAxes.add(e):this._hoveredPriceAxes.delete(e),this._anyAxisHovered.setValue(this._hoveredPriceAxes.size>0)}anyPriceAxisHovered(){return this._anyAxisHovered.readonly()}async _showChartProperties(e,t,i,s){if(!this._model)return null;t&&((0,a.setValue)("properties_dialog.active_tab.chart",t),i.tabName=t);const r=await Qt(e,this._model,i,this._options.chartWidgetCollection,s);return(null==r?void 0:r.visible().value())?r:null}_createLineToolsSynchronizerIfNeeded(){0}_updateThemedColor(){const e=this.model().model(),t=e.backgroundColorAtYPercentFromTop(.5);let i=e.backgroundTopColor().value(),s=e.backgroundColor().value();const r=(0,ne.isColorDark)(t),n=(0,ne.isColorDark)(i),o=(0,ne.isColorDark)(s);this.widget().classList.toggle("chart-widget--themed-dark",r),this.widget().classList.toggle("chart-widget--themed-light",!r),this.widget().classList.toggle("chart-widget__top--themed-dark",n),this.widget().classList.toggle("chart-widget__top--themed-light",!n),this.widget().classList.toggle("chart-widget__bottom--themed-dark",o),this.widget().classList.toggle("chart-widget__bottom--themed-light",!o),this._backgroundTopTheme.setValue(n?"dark":"light"),this._backgroundBasedTheme.setValue(r?"dark":"light"),this._backgroundBottomTheme.setValue(o?"dark":"light"),i===s&&(0,F.isStdThemedDefaultValue)("chartProperties.paneProperties.background",i,this._backgroundBasedTheme.value())&&(i=null,s=null);for(const e of this._paneWidgets)e.updateThemedColors({ +topColor:i,bottomColor:s})}_isLineToolModeExceptBrush(){const e=k.tool.value();return(0,f.isLineToolName)(e)&&!(0,f.isLineDrawnWithPressedButton)(e)&&!this.selectPointMode().value()}_cancelCreatingLine(){const e=(0,s.ensureNotNull)(this._model).model(),t=e.lineBeingCreated();if(null!==t){const i=(0,s.ensureNotNull)(e.paneForSource(t));(0,s.ensureNotNull)(this.paneByState(i)).cancelCreatingLineTool()}const i=e.crossHairSource().measurePane().value();if(null!==i){(0,s.ensureNotNull)(this.paneByState(i)).cancelMeasuring()}}_adjustSize(e){var t;let i=0;const s=null===this._model?null:this._model.model().priceScaleSlotsCount(),r=new Uint32Array(null===s?0:s.left),n=new Uint32Array(null===s?0:s.right),o=(0,N.getCanvasDevicePixelRatio)(document.body),a=(e,t)=>e+t,l=(e,t)=>{t.forEach((t,i)=>{e[i]=Math.max(e[i],t)})},c=this._width(),d=this._height(),u=this._paneSeparators.length,p=this.isMaximizedPane()?0:kt.height()*u,_=null!==this._timeAxisWidget?this._timeAxisWidget.optimalHeight():0;let m=d-_>=61?_:0;m%2&&(m+=1);const g=Math.max(1,Math.floor((d-p-m)/this._paneWidgets.length));let f=0,v=null;for(const e of this._paneWidgets)if(!this._maximizedPaneWidget||this._maximizedPaneWidget===e){e.leftPriceAxisesContainer().updateCurrencyLabels();const t=e.leftPriceAxisesContainer().optimalWidths();e.rightPriceAxisesContainer().updateCurrencyLabels();const s=e.rightPriceAxisesContainer().optimalWidths();l(r,t),l(n,s),this._maximizedPaneWidget!==e&&e.state().collapsed().value()?f+=Math.min(g,e.collapsedHeight()):(i+=e.stretchFactor(),v=e)}let S=r.reduce(a,0),y=n.reduce(a,0),b=Math.max(c-S-y,0);if(b<=102){S=0,y=0,b=c;for(let e=0;e0){const e=new kt(this,s-1,s);this._paneSeparators.push(e),this._timeAxisWidget?this._elMainTable.insertBefore(e.getElement(),this._timeAxisWidget.getElement()):this._elMainTable.appendChild(e.getElement())}this._timeAxisWidget?this._elMainTable.insertBefore(i.getElement(),this._timeAxisWidget.getElement()):this._elMainTable.appendChild(i.getElement())}for(let i=0;ib.InvalidationLevel.Cursor&&(null===(t=this._timeAxisWidget)||void 0===t||t.update()),this.paint(e),this._dataWindowWidget){const t=e.maxPaneInvalidation();t===b.InvalidationLevel.Full?this._dataWindowWidget.fullUpdate():t>b.InvalidationLevel.None&&this._dataWindowWidget.update()}for(let t=0;t{i.appendChild(r),r.addEventListener("mousedown",this._beginRequestActive.bind(this)),r.addEventListener("mouseup",this._endRequestActive.bind(this)),r.addEventListener("touchstart",this._beginRequestActive.bind(this)),r.addEventListener("touchmove",this._endRequestActive.bind(this)),r.addEventListener("touchend",this._endRequestActive.bind(this)),r.addEventListener("click",this._requestActive.bind(this))}),this._inited&&(null!==this._timeAxisWidget&&(this._timeAxisWidget.destroy(), +this._timeAxisWidget=null),this._paneWidgets.forEach(e=>{e.destroy()}),this._paneWidgets.length=0,this._paneSeparators.forEach(e=>{e.destroy()}),this._paneSeparators.length=0,this._update(b.InvalidationMask.full()))}_init(){this.hasModel()&&this.model().mainSeries().clearData(),this._initColors(),this._makeDefaultGui();this._makeDefaultModel(),(()=>{this._checkObsoleteTimezone(),this._chartSession&&this._chartSession.connected()&&this.model().model().restart(),this._content&&(this._initColors(),this._updateGui(),this.update()),this._resizeHandler=()=>{this._invalidationHandler(b.InvalidationMask.full())},this._resizeHandler(),(0,s.ensureNotNull)(this._parent).appendChild((0,s.ensureNotNull)(this._mainDiv)),this._spinner&&(this._spinner.stop(),this._spinner=null),this._keydownEventListener=e=>{27===e.which&&e.preventDefault()},window.addEventListener("keydown:chart_"+this._id,this._keydownEventListener),this._initBarsMarksSources(),this._activateSymbolSearchHotkeys(),this.model().timeScale().onScroll().subscribe(this,()=>this._onScroll.fire()),this._inited=!0})()}_makeDefaultModel(){let e;if(this._content&&this._content.timeScale.points){const t=this._content.timeScale.points.items[0];e={startDate:t}}if(!(0,s.ensureNotNull)(this._metaInfoRepository).getInternalMetaInfoArray())throw new Error("Cannot create chart model: studies metainfo is absent");const t=()=>{var t,i;const r={readOnly:this.readOnly(),isSnapshot:!!this._containsData,...o(this._options,["timeScale","crossHair","esdEnabled","countdownEnabled","lastPriceAnimationEnabled","currencyConversionEnabled","unitConversionEnabled","watermarkEnabled","shiftVisibleRangeOnNewBar","hideIdeas","onWidget"])};let n;n=this._collapsed;const a=function(e,t,i,s,r,n,o,a,l,c,h){const d=new g.ChartUndoModel(e,t,i,s,r,n,o,a,l,c,h);return d.model().fullUpdate(),d}(this._chartSession,this._invalidationHandler,this.properties(),e,(0,s.ensureNotNull)(this._metaInfoRepository),this,this._options.undoHistory,this._options.barsMarksContainersFactory,r,n,null!==(i=null===(t=this._saveChartService)||void 0===t?void 0:t.autoSaveEnabled())&&void 0!==i?i:new($e())(!0));return this._createSessions(a.model()),a};(0,Pe.enabled)("lean_chart_load")?this._model=this._model||t():this._model=t(),this._model.model().setChartSaveTime(1e3*this._chartWidgetCollection.metaInfo.lastModified.value()),this._createVolumeIfNeeded();if(this._content){let e={};ai&&this._initialLoading&&(e={symbol:this._defSymbol,interval:this._defInterval,style:this._defStyle}),this.restoreState(this._content,this._containsData,e),ai&&this._defSymbol&&this.model().model().recalculatePriceRangeOnce()}else this._setActions();this._createLineToolsSynchronizerIfNeeded(),(()=>{const e=(0,s.ensureNotNull)(this._model);e.onTagsChanged().subscribe(this,()=>this.onModelTagsChanged()),this._initBackgroundColor(),this._updateGui(),this._modelCreated.fire(e),this._tagsChanged.fire();const t=e.mainSeries(),i=t.properties().childs();this._defTimeframe&&t.setDefaultTimeframe(this._defTimeframe), +e.lineCancelled().subscribe(this,()=>this.onLineCancelled()),t.dataEvents().symbolNotPermitted().subscribe(null,e=>t.setSymbolParams({symbol:e})),i.style.unsubscribe(this,this._onChartStyleChanged),i.style.subscribe(this,this._onChartStyleChanged),t.dataEvents().completed().subscribe(this,()=>this._addPerfMark("SeriesCompleted"),!0),t.dataEvents().barReceived().subscribe(this,()=>this._addPerfMark("SeriesFirstDataReceived"),!0);this._options;t.dataEvents().chartTypeNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:"D"})}),t.dataEvents().intradaySpreadNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:"D"})}),t.dataEvents().customIntervalNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:(0,Gt.getDefaultResolution)((0,jt.isRangeStyle)(i.style.value()))})}),t.dataEvents().intradayExchangeNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:"D"})}),t.requestingResolutionWhenNotSupported.subscribe(null,e=>t.setInterval(e)),t.requestingStyleIsNotSupported.subscribe(null,()=>{const i=t.interval(),s=e.model().defaultResolutions(),r=(0,jt.getLastUsedSingleValueBasedStyle)(),n=(0,Gt.getResolutionByChartStyle)(r,i,s);t.setChartStyleWithIntervalIfNeeded(r,n)}),t.requestingStyleSupportRecovered.subscribe(null,i=>{const s=t.interval(),r=e.model().defaultResolutions(),n=(0,Gt.getResolutionByChartStyle)(i,s,r);t.setChartStyleWithIntervalIfNeeded(i,n)})})()}_initBarsMarksSources(){this.withModel(this,()=>{for(const e of this.model().barsMarksSources())e.onNeedRepaint.subscribe(this,()=>this.model().model().lightUpdate())})}_handleLoginStateChanged(){0}_checkObsoleteTimezone(){const e=this.properties().childs().timezone.value();(0,ei.timezoneIsAvailable)(e)||this.properties().childs().timezone.setValue({UTC:"Etc/UTC",EST:"America/New_York",CST:"America/Chicago",PST:"America/Los_Angeles"}[e]||"exchange")}_initColors(){const e=this.properties().childs(),t=e.scalesProperties.childs();t.lineColor.listeners().subscribe(this,this._updateAndPaint),t.textColor.listeners().subscribe(this,this._updateAndPaint),e.paneProperties.childs().separatorColor.listeners().subscribe(this,this._setPaneSeparatorLineColor)}_setPaneSeparatorLineColor(){this._paneSeparators.forEach(e=>e.update()),this._updateAndPaint()}_updateAndPaint(){this.update(),this.paint()}_makeDefaultGui(){this._makeLoadingScreen(),this.hasModel()&&(this._makeTimeAxisWidget(),this._makePaneWidgetsAndSeparators()),this._adjustSize(),this._updateScalesActions(),(0,N.disableSelection)(this._elMainTable),this.update(),this.paint()}_makeLoadingScreen(){if(Pe.enabled("lean_chart_load")){if(this.screen)return;this.screen=new ri(this,(0,s.ensureNotNull)(this._parent))}else this.screen=new ri(this,(0,s.ensureNotNull)(this._mainDiv))}_makeAvailableOnTVPopup(){throw new Error("Not implemented")}_createChartEventsSource(){throw new Error("Not implemented")}_activateSymbolSearchHotkeys(){this.readOnly()||this._options.hideSymbolSearch||(0,ti.activateKeyPressHandler)()}_makeTimeAxisWidget(){ +if(this._timeAxisWidget)return void this._timeAxisWidget.updatePriceAxisStubs();const e=this.model();this._timeAxisWidget=new Rt(this,this._options.timeScaleWidget,this._titlesProvider.bind(this),this._menuItemsProvider.bind(this),this._backgroundBasedTheme),this._elMainTable.appendChild(this._timeAxisWidget.getElement()),this._timeAxisWidget.updatePriceAxisStubs(),this._timeAxisWidget.onLabelHovered().subscribe(this,(t,i)=>{const r=this._maximizedPaneWidget?this._maximizedPaneWidget.state():e.paneForSource(e.mainSeries()),n=(0,s.ensureNotNull)(this.paneByState((0,s.ensureNotNull)(r))).highlightedPriceAxis(),o=n.value();(i||o.owner===t.owner)&&(n.setValue({owner:t.owner,axis:i?t.axis:null}),this.model().model().lightUpdate())})}_titlesProvider(e,t){const i=this.model(),r=(0,s.ensureNotNull)(this._maximizedPaneWidget?this._maximizedPaneWidget.state():i.paneForSource(i.mainSeries())),n="right"===e?r.rightPriceScales():r.leftPriceScales();if(n.lengthe===i.mainSeries()||(0,v.isStudy)(e));return o.reverse(),o=(0,ni.moveToHead)(o,i.mainSeries()),o.map(e=>e.title(!0,void 0,!1))}_menuItemsProvider(e,t){const i=this.model(),r=(0,s.ensureNotNull)(this._maximizedPaneWidget?this._maximizedPaneWidget.state():i.paneForSource(i.mainSeries())),n="right"===e?r.visibleRightPriceScales():r.visibleLeftPriceScales();if(n.length{const e=this.model().model().mainSeries();let t;t=new($e())(null).readonly(),this._mainSeriesErrorMessage=(0,m.combine)((e,t,i)=>{switch(t){case 4:{const e=this.model().model().mainSeries().seriesErrorMessage();if(!(null!==e&&("resolution_not_entitled"===e||"custom_resolution"===e||"seconds_not_entitled"===e||e.startsWith("study_not_auth:"))))return{message:(0,r.t)("Invalid symbol"),icon:(0,Pe.enabled)("hide_image_invalid_symbol")?void 0:"ghost"};break}case 1:case 2:break;default:if(i)return{message:(0,r.t)("No data here"),icon:"ghost"}}return null},t,(0,S.createWVFromGetterAndSubscription)(()=>e.status(),e.onStatusChanged()),(0,S.createWVFromGetterAndSubscription)(()=>!e.bars().size(),e.dataEvents().dataUpdated()),(0,S.createWVFromGetterAndSubscription)(()=>({}),this.model().model().onChartThemeLoaded())),this._mainSeriesErrorMessage.subscribe(e=>{this._paneWidgets.forEach(t=>t.setErrorMessage(e))},{callWithLast:!0})})}async _createControlBar(){const e=await Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,62101));this._controlBarNavigation=new e.ControlBarNavigation(this,(0, +s.ensureNotNull)(this._mainDiv),this._options.controlBar),this._model&&this._adjustSize()}_subscribeToDrawingState(){if(this._options.readOnly)return;(0,k.init)();const e=(e,t)=>{const i=this._model;if(null===i)return;const s=i.model();e.model!==s&&(this._lineToolsSynchronizer?this._lineToolsSynchronizer.executeSyncedAction(()=>t(s,i)):t(s,i))};k.createdLineTool.subscribe(null,t=>{e(t,(e,i)=>{const r=(0,s.ensureNotNull)(e.paneForSource(e.mainSeries()));let n,o=null;if(void 0===t.pointPositionPercents){if(o=di(e,t.model,t.point.timeStamp),null===o)return;n=t.point.price}else{const i=t.pointPositionPercents.x*e.timeScale().width(),s=e.mainSeries().priceScale(),r=t.pointPositionPercents.y*s.height(),a=e.mainSeries().firstValue();if(null===a)return;o=e.timeScale().coordinateToIndex(i),n=s.coordinateToPrice(r,a)}const a={index:(0,s.ensureNotNull)(o),price:n},l=i.createLineTool({pane:r,point:a,linetool:t.linetool,properties:t.properties,linkKey:t.linkKey,ownerSource:e.mainSeries(),disableSynchronization:!0,id:t.id});null!==l&&!Boolean(this.model().lineBeingCreated())&&t.finalState&&l.restoreExternalPoints(t.finalState,{indexesChanged:!0,pricesChanged:!0})})}),k.continuedLineTool.subscribe(null,t=>{e(t,(e,i)=>{var s;const r=di(e,t.model,t.point.timeStamp);if(null===r)return;const n={index:r,price:t.point.price},o=e.lineBeingCreated();if(null===o)return;i.continueExternalLine(n,null!==(s=t.envState)&&void 0!==s?s:void 0,!!t.finalState)&&t.finalState&&o.restoreExternalPoints(t.finalState,{indexesChanged:!0,pricesChanged:!0})})}),k.cancelledLineTool.subscribe(null,t=>{e(t,(e,t)=>{e.cancelCreatingLine()})}),k.beenSetLineToolLastPoint.subscribe(null,t=>{e(t,(e,i)=>{const s=e.lineBeingCreated();if(null===s||s.linkKey().value()!==t.linkKey)return;const r=di(e,t.model,t.point.timeStamp);if(null===r)return;const n={index:r,price:t.point.price};s.setLastPoint(n),s.updateAllViews((0,ht.dataSourceChangeEvent)(s.id())),e.lightUpdate()})}),k.startedMovingLineTool.subscribe(null,t=>{e(t,(e,i)=>{var s;const r=t.linkKeys.map(f.lineToolByLinkKey.bind(null,e)).filter(_.notNull);if(r.length){const i=di(e,t.model,t.point.timeStamp);if(null===i)return;const n={index:i,price:t.point.price},o=null!==(s=t.activeItem)&&void 0!==s?s:null,a=r[0].pointToScreenPoint(n);a&&e.startMovingSources(r,{logical:n,screen:a},o,t.pointPositionPercents,null===t.envState?void 0:t.envState,!0)}})}),k.movedLineTool.subscribe(null,t=>{e(t,(e,i)=>{var s;const r=e.sourcesBeingMoved().filter(f.isLineTool).filter(e=>(e=>t.linkKeys.some(t=>e.linkKey().value()===t))(e));if(!r.length)return;const n=di(e,t.model,t.point.timeStamp);if(null===n)return;const o={index:n,price:t.point.price},a=r[0].pointToScreenPoint(o);a&&e.moveSources({logical:o,screen:a},t.pointPositionPercents,null!==(s=t.envState)&&void 0!==s?s:void 0,!0)})}),k.finishedMovingLineTool.subscribe(null,t=>{e(t,(e,i)=>{const s=e.sourcesBeingMoved().filter(f.isLineTool);if(0===s.length)return;s.forEach(i=>{const s=(e=>{for(let i=0;i{e(t,(e,i)=>{var s;const r=(0,f.lineToolByLinkKey)(e,t.linkKey);if(null!==r){const i=r.getPoint(t.pointIndex),n=i?i.index:di(e,t.model,t.point.timeStamp);if(null===n)return;if(r.isActualSymbol()&&r.isActualCurrency()&&r.isActualUnit()){const i={index:n,price:t.point.price};e.startChangingLinetool(r,i,t.pointIndex,null!==(s=t.envState)&&void 0!==s?s:void 0,!0)}}})}),k.changedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const r=e.lineBeingEdited();if(null===r||r.linkKey().value()!==t.linkKey)return;let n=null;if(n=t.changes.indexesChanged?di(e,t.model,t.point.timeStamp):(0,s.ensureNotNull)(e.linePointBeingChanged()).index,null!==n&&r.isActualSymbol()&&r.isActualCurrency()&&r.isActualUnit()){const i={index:n,price:t.point.price};e.changeLinePoint(i,void 0,!0)}})}),k.finishedChangingLineTool.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);null!==s&&s.isActualSymbol()&&s.isActualCurrency()&&s.isActualUnit()&&null!==e.lineBeingEdited()&&e.endChangingLinetool(!!t.finalState,!0),null!==s&&t.finalState&&s.restoreExternalPoints(t.finalState,t.changes)})}),k.removedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const{withUndo:s,unlink:r,linkKey:n}=t,o=(0,f.lineToolByLinkKey)(e,n);if(null!==o)r&&o.detachAlert(),s?i.removeSource(o,!1):e.removeSource(o);else if(this._lineToolsSynchronizer){const{sourceTitle:e,symbol:o,lineToolState:a}=t;i.removeUnloadedLineTool({lineToolsSynchronizer:this._lineToolsSynchronizer,state:a,unlink:r,sourceTitle:e,linkKey:n,symbol:o,withUndo:s})}})}),k.finishedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);null!==s&&(0,et.isLineToolFinishRequiredWhenCreatedByApi)(s.toolname)&&s.finish()})}),k.changedLineStyle.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);null!==s&&(s.restoreExternalState(t.state),s.propertiesChanged(!0),t.alertId&&s.syncAlert(t.alertId))})}),k.restoredLineToolState.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);if(null!==s){const i={...t.state};i.indexes=t.state.points.map(i=>({index:di(e,t.model,i.time_t),price:i.price})),e.restoreLineToolState(s,i,!1)}})}),k.restoredLineTool.subscribe(null,t=>{e(t,(e,i)=>{e.restoreSource(t.state.restorePane,t.state.paneIndex,t.state.paneState,t.state.sourceState,null)})}),k.copiedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const r=(0,s.ensureNotNull)(e.paneForSource(e.mainSeries()));let n;const o={...t.state,intervalsVisibilities:(0,oi.mergeIntervalVisibilitiesDefaults)(t.state.intervalsVisibilities)},a=(0,f.createLineToolProperties)(t.linetool,o,e),l=e.dataSourceForId(t.id);if(l){if(!(0,f.isLineTool)(l))return void li.logError(`Error sync creating line tool. Object with id ${t.id} is already in use and it is not a line tool`) +;if(l.toolname!==t.linetool)return void li.logError(`Error sync creating line tool. Object with id ${t.id} is already in use and its type differs: ${l.toolname} and ${t.linetool}`)}if(l&&(l.linkKey().setValue(t.linkKey),l.share(t.sharingMode)),t.pointPositionPercents){const e={index:0,price:0};if(n=null!=l?l:i.createLineTool({pane:r,point:e,linetool:t.linetool,properties:a,linkKey:t.linkKey,disableSynchronization:!0,id:t.id}),null===n)return;n.restorePositionPercents((0,s.ensureDefined)(t.pointPositionPercents))}else{const o=t.points.map(i=>({index:(0,s.ensureNotNull)(di(e,t.model,i.timeStamp)),price:i.price})),c=o[0];if(n=null!=l?l:i.createLineTool({pane:r,point:c,linetool:t.linetool,properties:a,linkKey:t.linkKey,sharingMode:t.sharingMode,disableSynchronization:!0,id:t.id}),null===n)return;if(e.lineBeingCreated())for(let e=1;e{"use strict";i.r(t),i.d(t,{allInitialModelsCreated:()=>It,allInitialSymbolsResolved:()=>xt,applyIndicatorToAllChartsImpl:()=>je,applyIndicatorsToAllChartsImpl:()=>Ue,applyLineToolUpdateNotificationImpl:()=>Xe,applyThemeImpl:()=>At,chartsSymbolsImpl:()=>Qe,checkProFeatureImpl:()=>Mt,computeContentBoxImpl:()=>at,copyScreenshotToClipboard:()=>rt,createBroadcastChannel:()=>Ct,createChartStorageSubscriptionsIfRequired:()=>et,createClipboardHandler:()=>Ze,destroyBroadcastChannel:()=>Pt,downloadScreenshot:()=>st,generateNewChartId:()=>_t,getAsyncStateForChartImpl:()=>Ke,getClientSnapshot:()=>ot,getSnapshot:()=>nt,getStateForChartImpl:()=>Ye,getVisuallyAdjacentDefImpl:()=>ut,hideChartImpl:()=>vt,lineToolsAndGroupsDTOsImpl:()=>qe,removeChartWidgetSubscriptionsImpl:()=>St,resetLineToolsInvalidatedImpl:()=>$e,setBrokerImpl:()=>Je,setChartLayoutWithUndoImpl:()=>Lt,setLayoutImpl:()=>yt,syncCrosshairImpl:()=>wt,syncScrollImpl:()=>Tt,takeScreenshot:()=>tt,takeServerScreenshot:()=>it,updateLayoutImpl:()=>dt,updateLayoutPartialImpl:()=>ht});var s=i(88537),r=i(86441),n=i(28353),o=i(24980),a=i(49483);function l(e){const t={};return{promise:new Promise((i,s)=>{e.subscribe(t,i,!0)}),destroy:()=>{e.unsubscribeAll(t)}}}i(54427);var c=i(35762);class h extends c.UndoCommand{constructor(e,t){super(null),this._chartModel=e,this._targetIndex=t}redo(){const e=this._chartModel.createPane(this._targetIndex,void 0,this._paneId);this._paneId=e.id()}undo(){const e=(0,s.ensureDefined)(this._paneId),t=this._chartModel.panes().find(t=>t.id()===e);void 0!==t&&this._chartModel.removePane(t)}createdPaneId(){return this._paneId}}class d extends c.UndoCommand{constructor(e,t,i,s){super(s),this._setter=e,this._oldValue=t,this._newValue=i}redo(){ +this._setter(this._newValue)}undo(){this._setter(this._oldValue)}}class u extends d{constructor(e,t,i,s){super(e=>this._vwState.setValue(e),t,i,s),this._vwState=e}}var p=i(98125),_=i(80054),m=i(65446);const g=(0,p.getLogger)("Clipboard");class f{constructor(e){this._e=e}write(e){return(0,m.writeImpl)(this._toRaw(e),this._e)}_toRaw(e){const t={files:[]};t.text=e.text,void 0!==e.app?t.html=this._serializeAppData(e.app,e.text):e.html&&(t.html=e.html);for(const i of e.files||[])t.files.push(i);return t}_serializeAppData(e,t){return`${t?(0,_.htmlEscape)(t.slice(0,256)):"📈"}`}}class v{constructor(e){this._e=e}async read(){this._e&&0===this._e.eventPhase&&(g.logWarn("Cannot use an already dispatched ClipboardEvent for reading"),this._e=null);const e=this._e?this._readUsingEvent(this._e):await this._readUsingApi();return this._fromRaw(e)}_readUsingEvent(e){const t=(0,s.ensure)(e.clipboardData);e.preventDefault();const i={files:[]};for(let e=0;e0&&(t.files=e.files),t}_parseAppData(e){if(-1===e.slice(0,1024).indexOf("data-tradingview-clip"))return;const t=(new DOMParser).parseFromString(e,"text/html").querySelector("[data-tradingview-clip]");return t?t.getAttribute("data-tradingview-clip")||"":void 0}_readBlobAsText(e){return new Promise((t,i)=>{const s=new FileReader;s.onloadend=()=>{t(s.result)},s.onerror=()=>{i(s.error)},s.readAsText(e)})}}var S=i(35749);function y(e){const t=e.target;return null!==t&&1===t.nodeType&&(0,S.isTextEditingField)(t)}function b(e){const t=e.target;if(null===t)return!1;const i=(t.ownerDocument||t).getSelection();return null!==i&&!i.isCollapsed}class w extends class{constructor(e){this._callbacks=Object.assign({},e),this._boundOnCopy=this._onCopyEv.bind(this),this._boundOnCut=this._onCutEv.bind(this),this._boundOnPaste=this._onPasteEv.bind(this)}listen(){document.addEventListener("copy",this._boundOnCopy),document.addEventListener("cut",this._boundOnCut),document.addEventListener("paste",this._boundOnPaste)}async peek(){if("granted"!==(await navigator.permissions.query({name:"clipboard-read"})).state)throw new Error("clipboard-read is not granted") +;return new v(null).read()}uiRequestCopy(e){this._callbacks.copyRequested&&this._callbacks.copyRequested(new f(null),e)}uiRequestCut(e){this._callbacks.cutRequested&&this._callbacks.cutRequested(new f(null),e)}uiRequestPaste(e){this._callbacks.pasteRequested&&this._callbacks.pasteRequested(new v(null),e)}destroy(){document.removeEventListener("copy",this._boundOnCopy),document.removeEventListener("cut",this._boundOnCut),document.removeEventListener("paste",this._boundOnPaste)}_onCopyEv(e){e.defaultPrevented||this._callbacks.copyRequested&&this._callbacks.copyRequested(new f(e))}_onCutEv(e){e.defaultPrevented||this._callbacks.cutRequested&&this._callbacks.cutRequested(new f(e))}_onPasteEv(e){e.defaultPrevented||this._callbacks.pasteRequested&&this._callbacks.pasteRequested(new v(e))}}{_onCopyEv(e){if(!y(e)&&!b(e))return super._onCopyEv(e)}_onCutEv(e){if(!y(e)&&!b(e))return super._onCutEv(e)}_onPasteEv(e){if(!y(e))return super._onPasteEv(e)}}const C=()=>i.e(4389).then(i.bind(i,84331));function P(e,t={}){return C().then(i=>i.copyToClipboardImageOfChart(e,t))}function T(e,t={}){return C().then(i=>i.getImageOfChartSilently(e,t))}var x=i(76422),I=i(84015),M=i(6087),L=i(42060),A=i(24377),E=i(26843),k=i(55257),D=i(93435),V=i(22799),B=i(52640),N=i(38069),R=i(67337),O=i(34954);const F=!R.enabled("widget_logo");function W(e,t=null,i=null){let s={};if("number"==typeof e)return{relativePositions:{[e]:{l:t,t:i}},nextElementLeft:e,nextElementTop:e};const[r,...n]=e;if("v"===r){let e=null;for(const r of n){const n=W(r,t,i);s={...s,...n.relativePositions},i=n.nextElementTop,e=n.nextElementLeft}t=e}if("h"===r){let e=null;for(const r of n){const n=W(r,t,i);s={...s,...n.relativePositions},t=n.nextElementLeft,e=n.nextElementTop}i=e}return{relativePositions:s,nextElementTop:i,nextElementLeft:t}}const H=function(e){const t={};for(const i of Object.keys(e)){const s=W(e[i]).relativePositions;t[i]=s}return t}(N);function z(e,t,i,s){return(0,D.drawScaled)(e,s,()=>{e.fillText(i,t.x/s,t.y/s)}),e.measureText(i).width*s}function U(e){return e.map(e=>({...e,title:""}))}function j(e,t){const i=[{text:e.trim()}];for(const e of t)e.visible&&(""!==i[i.length-1].text&&i.push({text:" "}),e.title&&i.push({text:e.title}),i.push({text:e.value,color:e.color}));return i}class G{constructor(e,t){this._logoTextColor=null,this._snapshotData=e,t=t||{},this._options={backgroundColor:M.themes[e.theme].getThemedColor("color-bg-primary"),borderColor:M.themes[e.theme].getThemedColor("color-border"),font:V.CHART_FONT_FAMILY,fontSize:12,legendMode:"vertical",hideResolution:!1,showHeaderPublishedBy:!1,showHeaderMainSymbol:!1,...t};const i=H[e.layout],s=e.charts.map(e=>function(e){const t=e.panes[0],i=t.canvas.width+t.leftAxis.canvas.width+t.rightAxis.canvas.width;let s=0;for(const t of e.panes)s+=t.canvas.height;return void 0!==e.timeAxis&&(s+=e.timeAxis.canvas.height),new D.Size(i,s)}(e));if(this._pixelRatio=e.hidpiRatio,this._chartsGeometry=e.charts.map((e,t)=>function e(t,i,s,r){let n=Math.round(10*r),o=Math.round(10*r);const a=s[t];if(null!==a.l){const t=e(a.l,i,s,r) +;n=t.x+t.width+Math.round(5*r)}if(null!==a.t){const t=e(a.t,i,s,r);o=t.y+t.height+Math.round(5*r)}const l=i[t];return{x:n,y:o,width:l.w,height:l.h}}(t,s,i,this._pixelRatio)),!F){let i=e.theme;void 0!==t.backgroundColor&&(i="black"===(0,A.rgbToBlackWhiteString)((0,A.parseRgb)(t.backgroundColor),150)?E.StdTheme.Dark:E.StdTheme.Light),this._logoTextColor=M.themes[i].getThemedColor("color-text-primary")}this._headerDefaultTextColor=M.themes[e.theme].getThemedColor("color-text-primary")}async getImage(){const e=this._pixelRatio;let t=0,i=0,s=0;const n=this._headerItems();if(n.length>0){s=Math.ceil(1.4*this._options.fontSize*e)*n.length}i+=s;let o=0,a=0;for(const e of this._chartsGeometry)o=Math.max(o,e.x+e.width),a=Math.max(a,e.y+e.height);const l=i;t+=o,i+=a,t+=Math.round(10*e);const c=F?Math.round(10*e):Math.round(35*e),h=i;i+=c;const d=(0,D.createDisconnectedCanvas)(document,new D.Size(t,i),1),u=(0,D.getContext2D)(d);u.font=(0,B.makeFont)(this._options.fontSize,this._options.font),u.textBaseline="top",u.fillStyle=this._options.backgroundColor,u.fillRect(0,0,t,i),n.length>0&&this._drawHeader(u,n,t,new r.Point(Math.round(10*e),Math.round(10*e)));for(let e=0;e{const s=new Image;s.width=e,s.height=t,s.onload=()=>{i({image:s,width:e,height:t})},s.src=n})}(Math.round(20*e),Math.round(15*e),this._logoTextColor);u.fillStyle=this._logoTextColor,u.font=(0,B.makeFont)(13,V.CHART_FONT_FAMILY);const i=h+Math.round(c/2-t.height/2);!function(e,t,i,s,r){e.save(),e.drawImage(s.image,t,i,s.width,s.height),e.textBaseline="bottom";const n=(t+s.width)/r+3,o=(i+s.height)/r;(0,D.drawScaled)(e,r,()=>{e.fillText("TradingView",n,o)}),e.restore()}(u,Math.round(10*e),i,t,e)}return d}_drawChart(e,t,i,s){i.save(),i.translate(t.x+s.x,t.y+s.y);let n=0;for(const t of e.panes){let s=0;const o=t.leftAxis.canvas.width+Math.round(8*this._pixelRatio),a=n,l=n+Math.round(10*this._pixelRatio);t.leftAxis.contentWidth>0&&(i.drawImage(t.leftAxis.canvas,s,n),s+=t.leftAxis.canvas.width),i.drawImage(t.canvas,s,n),s+=t.canvas.width,t.rightAxis.contentWidth>0&&i.drawImage(t.rightAxis.canvas,s,n),"pane"===t.type&&(i.fillStyle=e.colors.text,this._drawLegend(t,i,new r.Point(o,l),a)),n+=t.canvas.height}if(void 0!==e.timeAxis){let t=0;e.timeAxis.lhsStub.contentWidth>0&&(i.drawImage(e.timeAxis.lhsStub.canvas,t,n),t+=e.timeAxis.lhsStub.canvas.width),i.drawImage(e.timeAxis.canvas,t,n),t+=e.timeAxis.canvas.width,e.timeAxis.rhsStub.contentWidth>0&&i.drawImage(e.timeAxis.rhsStub.canvas,t,n)}i.strokeStyle=this._options.borderColor,i.strokeRect(0,0,t.width,t.height),i.restore()}_headerItems(){var e,t,i,s +;const r=[];if(this._options.showHeaderPublishedBy&&this._snapshotData.publishedBy)for(const e of this._snapshotData.publishedBy)r.push([{text:e}]);if(this._options.showHeaderMainSymbol){const n=this._snapshotData.charts[0],o=`${null===(e=n.meta)||void 0===e?void 0:e.symbol}, ${null===(t=n.meta)||void 0===t?void 0:t.resolution}`;r.push(j(o,null!==(s=null===(i=n.meta)||void 0===i?void 0:i.values)&&void 0!==s?s:[]))}return r}_drawHeader(e,t,i,s){e.save(),e.fillStyle=this._headerDefaultTextColor;const n=Math.ceil(1.4*this._options.fontSize*this._pixelRatio);t.forEach((t,o)=>{this._drawLegendLine(e,new r.Point(s.x,s.y+n*o),i,t,!0)}),e.restore()}_drawLegend(e,t,i,s){let n=!0;const o=Math.ceil(1.4*this._options.fontSize*this._pixelRatio);let a=i.x,l=i.y;if(e.mainSeriesText&&l+oe.text).join("");let a=t.x;const l=function(e,t,i,s){if(e.measureText(t).width*s<=i)return{text:t,elided:!1};const r=e.measureText("...").width*s,n=[];for(let e=0;ee.measureText(t.slice(0,o+1)).width*s+r>i);return{text:(t=t.slice(0,o)).trim(),elided:!0}}(e,o,i-a,this._pixelRatio);if(l.elided&&!n)return null;const c=[];let h=0;for(const e of s){if(h+e.text.length>l.text.length)break;c.push(e.text),h+=e.text.length}const d=c.join("").trim().length;h=0;for(const i of s){if(h+i.text.length>d)break;i.color&&(e.save(),e.fillStyle=i.color),a+=z(e,new r.Point(a,t.y),i.text,this._pixelRatio),i.color&&e.restore(),h+=i.text.length}return l.elided&&(a+=z(e,new r.Point(a,t.y),"...",this._pixelRatio)),a}}var q=i(9423),Y=i(4676),K=i(85733),$=i(45112),X=i(80643),Z=i(94804),J=i(76818),Q=i(44349),ee=i(34026),te=i(29892),ie=i(43891),se=i(42759),re=i(49094);class ne{constructor(e,t,i){this._data=e,this._hittest=t,this._textWidthCache=i}draw(e,t){const i=t.pixelRatio,s=this._data.centerPoint,n=Math.round(s.x*i),o=Math.round(s.y*i),a=Math.max(1,Math.floor(i))%2/2,l=new r.Point(n+a,o-a);this._drawLollipop(e,l,t),this._drawLabel(e,l,t.pixelRatio),this._drawImage(e,l,t.pixelRatio)}hitTest(e,t){const i=(0,re.interactionTolerance)().esd,s=this._data.centerPoint.y-this._data.style.lollipop.height/2-i,n=this._data.centerPoint.x-this._data.style.lollipop.width/2-i,o=(0,r.box)(new r.Point(n,s),new r.Point(n+this._data.style.lollipop.width+2*i,s+this._data.style.lollipop.height+2*i));return(0,ee.pointInBox)(e,o)?this._hittest:null}_drawLollipop(e,t,i){ +const s=this._data.style,r=i.pixelRatio,n=Math.max(1,Math.floor(r));let o=Math.round(s.lollipop.width*r);o%2!=n%2&&(o+=1);const a=o/2;s.lollipop.fillCircle&&s.lollipop.backgroundColor&&(e.fillStyle=s.lollipop.backgroundColor,(0,se.createCircle)(e,t.x,t.y,a),e.fill());const l=Math.round(s.lollipop.lineWidth*r);e.strokeStyle=s.lollipop.strokeStyle,e.lineWidth=l,(0,te.setLineStyle)(e,ie.LINESTYLE_SOLID);const c=a-Math.round(1*r+l/2);(0,se.createCircle)(e,t.x,t.y,c),s.lollipop.fillCircle&&s.lollipop.fillStyle&&(e.fillStyle=s.lollipop.fillStyle,e.fill()),e.stroke()}_drawLabel(e,t,i){const s=this._data.style.lollipop.text,r=s.label;if(""===r)return;e.textAlign="center",e.textBaseline="middle",e.fillStyle=s.strokeStyle,e.font=s.font;const n=this._textWidthCache.yMidCorrection(e,r);e.translate(t.x,t.y+((s.deltaY||0)+n)*i),(0,D.drawScaled)(e,i,()=>{e.fillText(r,0,0)})}_drawImage(e,t,i){const s=this._data.style.lollipop.image;if(void 0===s)return;const{width:r,height:n}=s,o=Math.round(r*i),a=Math.round(n*i),l=Math.round(t.x-o/2),c=Math.round(t.y-a/2);e.drawImage(s,0,0,r,n,l,c,o,a)}}var oe=i(84346);const ae={fillPath:new Path2D("M8.961.92a3 3 0 0 1 3.078 0l7.5 4.48A3 3 0 0 1 21 7.975V20a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V7.975A3 3 0 0 1 1.461 5.4l7.5-4.48z"),strokePath:new Path2D("M9.867 2.742c.39-.23.875-.23 1.266 0l7.5 4.406c.382.225.617.635.617 1.078V20c0 .69-.56 1.25-1.25 1.25H3c-.69 0-1.25-.56-1.25-1.25V8.226c0-.443.235-.853.617-1.078l7.5-4.406z")},le={fillPath:new Path2D("M8.961 22.08a3 3 0 0 0 3.078 0l7.5-4.48A3 3 0 0 0 21 15.025V3a3 3 0 0 0-3-3H3a3 3 0 0 0-3 3v12.025A3 3 0 0 0 1.461 17.6l7.5 4.48z"),strokePath:new Path2D("M9.866 20.257c.391.23.877.23 1.268 0l7.5-4.414a1.25 1.25 0 0 0 .616-1.078V3c0-.69-.56-1.25-1.25-1.25H3c-.69 0-1.25.56-1.25 1.25v11.765c0 .443.234.853.616 1.078l7.5 4.414z")},ce={fillPath:new Path2D("M3 0h15c1.662 0 3 1.338 3 3v15c0 1.662-1.338 3-3 3H3c-1.662 0-3-1.338-3-3V3c0-1.662 1.338-3 3-3z"),strokePath:new Path2D("M3 1.75h15c.693 0 1.25.557 1.25 1.25v15c0 .693-.557 1.25-1.25 1.25H3c-.692 0-1.25-.558-1.25-1.25V3c0-.692.558-1.25 1.25-1.25z")};function he(e,t,i,s,r){const n=i.pixelRatio;e.save(),e.translate(t.x-s.lollipop.width*n/2,t.y-s.lollipop.height*n/2),e.scale(n,n),s.lollipop.fillCircle&&s.lollipop.backgroundColor&&(e.fillStyle=s.lollipop.backgroundColor,e.fill(r.fillPath)),e.strokeStyle=s.lollipop.strokeStyle,e.lineWidth=Math.round(s.lollipop.lineWidth*n)/n,(0,te.setLineStyle)(e,ie.LINESTYLE_SOLID),s.lollipop.fillCircle&&s.lollipop.fillStyle&&(e.fillStyle=s.lollipop.fillStyle,e.fill(r.strokePath)),e.stroke(r.strokePath),e.restore()}function de(e,t,i,s){he(e,t,i,s,ae)}function ue(e,t,i,s){he(e,t,i,s,le)}function pe(e,t,i,s){he(e,t,i,s,ce)}class _e extends ne{_drawLollipop(e,t,i){const s=this._data.style;switch(s.shape){case"earningUp":de(e,t,i,s);break;case"earningDown":ue(e,t,i,s);break;case"earning":pe(e,t,i,s);break;default:super._drawLollipop(e,t,i)}}}const me={backgroundDark:(0,$.getHexColorByName)("color-cold-gray-900"),backgroundLight:(0,$.getHexColorByName)("color-white")} +;class ge extends class{constructor(e,t,i){this._invalidated=!1,this._renderer=new Z.CompositeRenderer,this._textWidthCache=new J.TextWidthCache,this._stylesCache=null,this._lollipops={},this._lollipopsCounter=0,this._lastClickedId=null,this.onPaneBgChange=()=>{this._recreateStyles(this._model)},this._lastClickedId=null,this._model=e,this._source=t,this._hitTestHandler=i,this._recreateStyles(e),e.backgroundColor().subscribe(this.onPaneBgChange),e.mainSeries().onSymbolIntervalChanged().subscribe(this,this._onSymbolOrIntervalChanged)}destroy(){this._model.backgroundColor().unsubscribe(this.onPaneBgChange),this._model.mainSeries().onSymbolIntervalChanged().unsubscribeAll(this)}onClickOutside(e){var t;if(null===this._lastClickedId||!e)return void this.clearLastClicked();let i=null;if(function(e){return void 0!==e.touches}(e)){if(1!==e.touches.length)return;{const t=(0,s.ensureNotNull)(e.target).getBoundingClientRect(),n=e.touches[0];i=new r.Point(n.clientX-t.left,n.clientY-t.top)}}else i=new r.Point(e.offsetX,e.offsetY);const n=this._renderer.hitTest(i,{physicalHeight:0,physicalWidth:0,pixelRatio:1,cssHeight:0,cssWidth:0});null!==n&&(null===(t=n.data())||void 0===t?void 0:t.activeItem)===(0,s.ensureDefined)(this._lollipops[this._lastClickedId]).itemIndex||this.clearLastClicked()}clearLastClicked(){const e=null!==this._lastClickedId&&this._lollipops[this._lastClickedId]||null;null!==e&&(e.active=!1),this._lastClickedId=null}getLastClickedLollipopId(){return this._lastClickedId}update(){this._invalidated=!0}afterUpdate(e,t,i,s){}getStyle(e){const t=e.active?"active":e.hovered?"hovered":"default";let i=t;if(e.stack&&(i+="_stack:"+e.stack),"active"===i)return this._activeStyle;if("hovered"===i)return this._hoveredStyle;if("default"===i)return this._defaultStyle;if(this._stylesCache||(this._stylesCache={}),!this._stylesCache[i]){const s=(0,X.clone)("active"===t?this._activeStyle:"hovered"===t?this._hoveredStyle:this._defaultStyle);e.stack&&(s.lollipop.incHeight=25*e.stack),this._stylesCache[i]=s}return this._stylesCache[i]}hasTooltip(e){return!0}_getY(){let e=0;const t=this._model.panes();for(let i=t.length;i--;){const s=t[i];s.containsMainSeries()&&(e+=s.height())}return e}_showBarLine(e){return this.hasTooltip(e)&&(e.hovered||e.active)}_createRenderers(e,t){this._renderer.clear();const i=new D.Size(e,t);for(const e in this._lollipops)if(this._lollipops.hasOwnProperty(e)){const t=(0,s.ensureDefined)(this._lollipops[e]);if(t.visible){const e=this.getStyle(t),s={id:t.id,centerPoint:new r.Point(t.basePoint.x,t.basePoint.y-e.lollipop.bottom-e.lollipop.height/2-(e.lollipop.incHeight||0)),style:e},n={activeItem:t.itemIndex,clickHandler:this._lollipopMouseClickHandler.bind(this,s,i),tapHandler:this._lollipopMouseClickHandler.bind(this,s,i)};if(this._renderer.append(this._createRendererForLollipop(s,n)),this._showBarLine(t)){const{strokeStyle:i,lineStyle:s,lineWidth:r}=e.barLine,n={color:i,linestyle:s,linewidth:r,x:t.basePoint.x,top:0,bottom:t.basePoint.y-e.lollipop.bottom-e.lollipop.height},o=new Q.VerticalLineRenderer +;o.setData(n),this._renderer.insert(o,0)}}}}_recreateStyles(e){this._stylesCache=null}_createRendererForLollipop(e,t){return new ne(e,new oe.HitTestResult(oe.HitTestResult.CUSTOM,t),this._textWidthCache)}_lollipopMouseClickHandler(e,t,i){i.preventDefault();const n=e.id;if(this._lastClickedId=this._lastClickedId===n?null:n,null===this._lastClickedId)return;const o={target:i.target,targetSize:t,point:new r.Point(e.centerPoint.x,e.centerPoint.y-e.style.lollipop.height/2-8),marginTop:15};this._hitTestHandler(o,()=>{const e=(0,s.ensureDefined)(this._lollipops[n]),t=this.createTooltipContent(e);return t?[t]:null})}_onSymbolOrIntervalChanged(){this._lollipops={},this._lollipopsCounter=0,this._renderer.clear(),this.clearLastClicked()}}{constructor(e,t,i){super(e,t,i),this.stylesCache={},this.templatesCache={},this._itemIndexToId=new Map,this.source=t}createTooltipContent(e){const t=e.items;return t?{subTitle:Array.isArray(t)?t.map(e=>({value:e})):[{value:t}],style:{color:e.color}}:null}clearCaches(){this.clearLastClicked(),this._lollipops={},this._lollipopsCounter=0}update(){this._invalidated=!0}renderer(e,t){return this._invalidated&&(this._createLollipops(t,e),this._invalidated=!1),this._renderer}getStyle(e){const t=e.active?"active":e.hovered?"hovered":"default";return this._generateStyle(t,e.color,e.label,e.stack,e.shape)}hasTooltip(e){return Boolean(e.items&&e.items.length)}getLollipopIdByIndex(e){return this._itemIndexToId.get(e)}_createRendererForLollipop(e,t){return new _e(e,new oe.HitTestResult(oe.HitTestResult.CUSTOM,t),this._textWidthCache)}_createLollipops(e,t){const i=this._model.timeScale(),s=super._getY(),n=this._model.lastHittestData(),o=this._model.hoveredSource(),a=this.source.marks(),l=new Map;Object.keys(a).forEach(e=>{var t;const c=a[e],h=c.id,d=c.index;if(null!=d){const e=h===this.getLastClickedLollipopId(),a=this._lollipops[h],u=void 0!==a?a.itemIndex:this._lollipopsCounter++;this._itemIndexToId.has(u)||this._itemIndexToId.set(u,h);const p=o===this.source&&null!==n&&n.activeItem===u,_=(null!==(t=l.get(d))&&void 0!==t?t:-1)+1;l.set(d,_),this._lollipops[h]={id:h,itemIndex:u,basePoint:new r.Point(i.indexToCoordinate(d)+1,s),hovered:p,active:e,label:c.label,color:c.color,items:c.tooltip,visible:!0,stack:_,shape:c.shape}}}),super._createRenderers(e,t)}_generateStyle(e,t,i,s,r){let n=e+t+i;if(void 0!==s&&(n+="_stack"+s),!(n in this.stylesCache)){const o=this._model.isDark()?me.backgroundDark:me.backgroundLight;let a,l=t;if("active"===e)a=t,l="rgba(255, 255, 255, 0.92)";else if("hovered"===e){const e=(0,A.tryParseRgba)(t);if(null!==e){const t=e[3]*(1-.85);a=(0,A.rgbaToString)((0,A.rgba)(e[0],e[1],e[2],t))}}let c=23,h=23,d=1,u=0;"earning"===r?(h=21,c=21,d=2):"earningUp"===r?(c=21,u=1,d=2):"earningDown"===r&&(c=21,u=-.5,d=.5);const p={barLine:{lineStyle:ie.LINESTYLE_DASHED,lineWidth:1,strokeStyle:t},lollipop:{width:c,height:h,bottom:d,backgroundColor:o,lineWidth:1.5,fillStyle:a,strokeStyle:t,fillCircle:!0,text:{label:i,deltaY:u,strokeStyle:l,font:(0,B.makeFont)(12,V.CHART_FONT_FAMILY,"bold")}},shape:r} +;void 0!==s&&(p.lollipop.incHeight=25*s),this.stylesCache[n]=p}return this.stylesCache[n]}}class fe extends Y.BarsMarksContainer{constructor(e){super(e),this.toolname="UserDefinedTimescaleMarks",this._requestedPointsets=new Set,(0,K.hideMarksOnBars)().subscribe(this,()=>this._properties.childs().visible.setValue(!(0,K.hideMarksOnBars)().value())),this._paneView=new ge(e,this,this._showTooltip.bind(this))}destroy(){(0,K.hideMarksOnBars)().unsubscribeAll(this),super.destroy()}userEditEnabled(){return!1}onClicked(e){if(null!==e){const t=this._paneView.getLollipopIdByIndex(e.activeItem);(0,x.emit)("onTimescaleMarkClick",t)}}clearMarks(){const e=this._model.chartApi();e.isConnected().value()&&Object.keys(this._marks).forEach(t=>{const i=this._getPointsetId(t);e.removePointset(i)}),this._requestedPointsets.clear(),super.clearMarks(),this._paneView.clearCaches(),this.onNeedRepaint.fire()}updatePlateData(e,t){return{...t,barWidth:this.barWidth(),text:e.text,tooltipMargin:-1*Math.max(e.minSize/2,.4*this.barWidth())}}hasContextMenu(){return!1}paneViews(){return this._properties.childs().visible.value()?[this._paneView]:[]}updateAllViews(){this._paneView.update()}onClickOutside(e){this._paneView.onClickOutside(e)}_createTooltipRenderer(){return null}_initialize(){this._properties.childs().visible.setValue(!0)}_plateViewData(e){return{text:e.text}}_getData(e){const t=this._model.mainSeries().symbolInfo();if(!t)return;const i=this.roundRange(this._rangeDifference(e)),r=this._model.mainSeries(),n=r.seriesSource().symbolInstanceId(),o=r.properties().childs().interval.value();window.ChartApiInstance.getTimescaleMarks(t,i.start,i.end,t=>{const i=this._model.chartApi();for(const e of t){e.index=null;const t=e.id,r=this._getPointsetId(t.toString()),a=this._marks[t];if(a&&null!==a.index&&(a.tickmark===e.tickmark?e.index=a.index:this._requestedPointsets.has(r)&&i.isConnected().value()&&(i.removePointset(r),this._requestedPointsets.delete(r))),this._marks[t]=e,null===e.index&&i.isConnected().value()){this._requestedPointsets.add(r);const t=[[e.tickmark,0]];i.createPointset(r,"turnaround",(0,s.ensureNotNull)(n),o,t,e=>this._onPointsetData(e))}}this._loadedRange=this._rangeUnion(e,this._loadedRange),this.updateAllViews(),this.onNeedRepaint.fire()},o)}_getPointsetId(e){return"pointsetMark_"+e}_onPointsetData(e){if("data_update"===e.method){const t=e.params.customId.split("_")[1],i=this._marks[t],s=e.params.plots;i&&1===s.length&&(i.index=s[0].value[0])}this.updateAllViews()}async _showTooltip(e,t){const s=t();if(!s)return;const r=this._model.timeScale(),n=[r.onScroll(),r.barSpacingChanged(),this._model.mainSeries().onSymbolIntervalChanged()],o=this.onClickOutside.bind(this);(await Promise.all([i.e(5514),i.e(2e3),i.e(3466),i.e(2731),i.e(8994),i.e(9039)]).then(i.bind(i,22838))).showLollipopTooltip({items:s,position:e,customCloseSubscriptions:n,onClickOutside:o})}}function ve(e,t,i){return new Promise(s=>{i&&e.classList.remove(i),e.classList.add(t);const r=i=>{i.target===e&&i.animationName===t&&(e.removeEventListener(i.type,r),s(i))} +;e.addEventListener("animationend",r,!1),e.addEventListener("webkitAnimationEnd",r,!1),e.addEventListener("MSAnimationEnd",r,!1)})}function Se(e){return ve(e,"tv-transition--fade-in","tv-transition--fade-out")}class ye extends class{constructor(){this._source=null,this._tooltipHovered=!1,this._layout=null,this._container=null,this._context=null,this._plateArrowSize=14,this._handleTouchMouseLeave=e=>{(0,s.ensureNotNull)(this._layout).contains(e.target)||this._clearHovered()},this._setHovered=()=>{this._tooltipHovered=!0,document.addEventListener("touchstart",this._handleTouchMouseLeave),Se((0,s.ensureNotNull)(this._layout))},this._clearHovered=()=>{var e;this._tooltipHovered=!1,document.removeEventListener("touchstart",this._handleTouchMouseLeave),null===(e=this._source)||void 0===e||e.onNeedRepaint.fire()}}showPlate(e,t){if(this._currentId!==e.id||!this._layout||null===this._layout.parentNode){this._currentId=e.id,this._createLayout();const i=(0,s.ensureNotNull)(this._layout);this._getContainer(t).appendChild(i),i.addEventListener("mouseenter",this._setHovered),i.addEventListener("mouseleave",this._clearHovered)}const i=(0,s.ensureNotNull)(this._layout);let r=Math.round(e.barWidth/2);r>15&&(r=15),r<10&&(r=10),this._updatePlate(e);const n=t.canvas.getBoundingClientRect(),o=e.x-i.offsetWidth{t.remove(),e()})}setSource(e){this._source=e}removeLayout(){var e;this._tooltipHovered||null===(e=this._layout)||void 0===e||e.remove()}toggleLayout(e){(0,s.ensureNotNull)(this._layout).style.visibility=e?"visible":"hidden"}_getContainer(e){return this._container&&this._context===e||(this._context=e,this._container=e.canvas.parentElement),(0,s.ensureNotNull)(this._container)}}{constructor(){super(...arguments),this._layoutText=null}_createLayout(){this._layout=document.createElement("div"),this._layout.classList.add("bar-mark-tooltip"),this._layoutText=document.createElement("div"),this._layoutText.classList.add("text"),this._layout.appendChild(this._layoutText)}_updatePlate(e){this._currentId=e.id;const t=(0,s.ensureNotNull)(this._layout);t.style.borderColor=e.theme.border,t.style.marginTop=e.tooltipMargin+"px";const i=(0,s.ensureNotNull)(this._layoutText);i.innerHTML=e.text,t.appendChild(i)}}class be{constructor(e,t){this._tooltips={},this._hoveredId=null,this._tooltipFactory=e,this.source=t}showPlate(e,t){const i=this._findOrCreateTooltip(e);null!==i&&(i.drawPlate(e,t),i.plateData=e)}draw(e,t){this._hoveredId=null;for(const t of e)t.hovered&&(this._hoveredId=t.id);for(const i of e)this.showPlate(i,t)}endDraw(){var e,t;for(const i in this._tooltips)if(this._tooltips.hasOwnProperty(i)){ +const r=(0,s.ensureDefined)(this._tooltips[i]);r.toggleVisibility(),this._hoveredId&&(null===(e=r.plateData)||void 0===e?void 0:e.id)!==this._hoveredId&&!(null===(t=r.plateData)||void 0===t?void 0:t.pinned)&&(r.remove(),delete this._tooltips[i])}}removeAll(){for(const e in this._tooltips)if(this._tooltips.hasOwnProperty(e)){(0,s.ensureDefined)(this._tooltips[e]).remove()}this._tooltips={}}removeTooltip(e){delete this._tooltips[e]}_createTooltip(){return new we(this,this._tooltipFactory())}_findOrCreateTooltip(e){let t=this._tooltips[e.id];return void 0===t&&(e.hovered||e.pinned)&&(t=this._createTooltip(),this._tooltips[e.id]=t),t||null}}class we{constructor(e,t){this._visible=!1,this._renderer=e,this._tooltip=t}drawPlate(e,t){this._visible=!0,this._tooltip.setSource(this._renderer.source),this._tooltip.showPlate(e,t),e.hovered||e.pinned||this._tooltip.hide(()=>this._renderer.removeTooltip(e.id))}remove(){this._tooltip.removeLayout()}toggleVisibility(){this._tooltip.toggleLayout(this._visible),this._visible=!1}}class Ce extends Y.BarsMarksContainer{constructor(e){super(e),this.toolname="UserDefinedBarsMarks",(0,K.hideMarksOnBars)().subscribe(this,()=>{this.properties().childs().visible.setValue(!(0,K.hideMarksOnBars)().value())})}destroy(){(0,K.hideMarksOnBars)().unsubscribeAll(this),super.destroy()}userEditEnabled(){return!1}onClicked(e){var t,i,s;const r=null===(t=null==e?void 0:e.activeItem)||void 0===t?void 0:t.id;null===(s=(i=this._marks[r]).onClicked)||void 0===s||s.call(i)}clearMarks(){super.clearMarks(),this.onNeedRepaint.fire()}updatePlateData(e,t){return{...t,barWidth:this.barWidth(),text:e.text,tooltipMargin:-1*Math.max(e.minSize/2,.4*this.barWidth())}}hasContextMenu(){return!1}calcIsActualCurrency(){this._isActualCurrency=!0}calcIsActualUnit(){this._isActualUnit=!0}_initialize(){this.properties().childs().visible.setValue(!0)}_plateViewData(e){const t={text:e.text};return"object"==typeof e.color&&(t.theme="user_defined_theme",t.overridedTheme={},t.overridedTheme.border=e.color.border,t.overridedTheme.background=e.color.background),t}_getData(e){const t=this._model.mainSeries().symbolInfo();if(!t)return;const i=this.roundRange(this._rangeDifference(e)),s=this._model.mainSeries().properties().childs().interval.value();window.ChartApiInstance.getMarks(t,i.start,i.end,t=>{for(const e of t)this._marks[e.id]=e;this._loadedRange=this._rangeUnion(e,this._loadedRange),this.onNeedRepaint.fire()},s)}_createTooltipRenderer(){return new be(()=>new ye,this)}}var Pe=i(31940),Te=i(35548),xe=i(37416),Ie=i(98619),Me=i(54386),Le=i(76367);const Ae=new o.TranslatedString("change chart layout to {title}",(0,n.t)("change chart layout to {title}"));class Ee extends c.UndoCommand{constructor(e,t){super(Ae.format({title:L.layouts[t].title})),this._chartWidgetCollection=e,this._newLayoutType=t,this._oldLayoutType=e.layout.value()}redo(){this._chartWidgetCollection.setLayout(this._newLayoutType)}undo(){this._chartWidgetCollection.setLayout(this._oldLayoutType)}}var ke=i(45345) +;const De=new o.TranslatedString("apply toolbars theme",(0,n.t)("apply toolbars theme"));class Ve extends c.UndoCommand{constructor(e,t,i=!0){super(De),this._prevThemeName=e,this._themeName=t,this._syncState=i}undo(){(0,M.isStdThemeName)(this._prevThemeName)&&((0,ke.setTheme)(this._prevThemeName),this._syncState&&(0,M.syncTheme)())}redo(){(0,M.isStdThemeName)(this._themeName.toLowerCase())&&((0,ke.setTheme)(this._themeName.toLowerCase()),this._syncState&&(0,M.syncTheme)())}}var Be=i(87027),Ne=i(52714);const Re=!a.CheckMobile.any(),Oe=new o.TranslatedString("apply indicators to entire layout",(0,n.t)("apply indicators to entire layout")),Fe=new o.TranslatedString("sync time",(0,n.t)("sync time")),We=new o.TranslatedString("resize layout",(0,n.t)("resize layout")),He=new o.TranslatedString("reset layout sizes",(0,n.t)("reset layout sizes")),ze=new o.TranslatedString("apply chart theme",(0,n.t)("apply chart theme"));(0,n.t)("Please give us a clipboard writing permission in your browser or press {keystroke}"),(0,n.t)("Couldn't copy"),(0,n.t)("Couldn't cut"),(0,n.t)("Couldn't paste"),(0,n.t)("{userName} published on {customer}, {date}"),(0,n.t)("Published on {customer}, {date}");function Ue(e,t){const i=t.model().model().studyTemplate();e.undoHistory.beginUndoMacro(Oe);for(let s=0;se.id()===n))}const l=t.pasteSourceFromClip(o,i,!0);if(l&&1===l.length){const e=l[0];if(r.asCompare){const i=(0,s.ensureNotNull)(t.mainSeries().priceScale());t.moveToScale(e,(0,s.ensureDefined)(o),i,n),t.setPriceScaleMode({percentage:!0},i,null)}}t.model().lightUpdate()}}e.undoHistory.endUndoMacro()}function Ge(e){let t=1;for(;e.has(""+t);)t++;return""+t}function qe(e){const t=new Map,i=e.chartsCountToSave(),s=new Set;for(let r=0;r{const s=(r=i.chartId,null!==(o=null===(n=e.chartWidgetsDefs.find(e=>e.chartWidget.id()===r))||void 0===n?void 0:n.chartWidget)&&void 0!==o?o:null);var r,n,o;null==s||s.resetLineToolsInvalidated(t,i.savedDto,i.sharingMode)})}function Xe(e,t,i,s){const r=e.map(e=>e.chartWidget);r.forEach(e=>e.startApplyingLineToolUpdateNotification());try{r.filter(e=>e.id()===t||0!==s).forEach(e=>e.applyLineToolUpdateNotification(i,s))}finally{r.forEach(e=>e.endApplyingLineToolUpdateNotification())}}function Ze(e){return new w({copyRequested:(t,i)=>{e.activeChartWidget.value().model().clipboardCopy(t,i)},cutRequested:(t,i)=>{e.activeChartWidget.value().model().clipboardCut(t,i)},pasteRequested:(t,i)=>{(i?i.model().undoModel():e.activeChartWidget.value().model()).clipboardPaste(t,i)}})}function Je(e,t){0}function Qe(e){const t={};return e.chartWidgetsDefs.map(e=>e.chartWidget).forEach(e=>t[e.id()]=function(e){var t,i;const s={},r=e.model().mainSeries(),n=r.properties().childs(),o=r.symbolInfo();s.resolution=n.interval.value(),s.symbol_type=null!==o&&o.type||"",s.exchange=null!==o&&o.exchange||"",s.listed_exchange=null!==o&&o.listed_exchange||"";const a=null!==(t=null==o?void 0:o.legs)&&void 0!==t?t:[];if(null!==o&&r.isSpread()){const e=a[0];let t=o.base_name[0];t=t.split(":")[1],s.symbol=e,s.short_name=t,s.expression=o.full_name}else s.symbol=null!==o&&o.ticker||n.symbol.value(),s.short_name=n.shortName.value();const l=null!==(i=null==o?void 0:o.base_name)&&void 0!==i?i:[];return s.legs=a.map((e,t)=>({symbol:e,pro_symbol:l[t]})),s}(e)),t}function et(e,t){0}function tt(e,t){return T(t,{snapshotUrl:e}).then(e=>((0,x.emit)("onScreenshotReady",e),e))}function it(e,t){const i={snapshotUrl:e};const s=(0,I.isOnMobileAppPage)("any");return(s?T:P)(t,i).then(e=>((0,x.emit)("onScreenshotReady",e),s||(0,x.emit)("onServerScreenshotCopiedToClipboard"),e))}function st(e){return function(e){return C().then(t=>t.downloadClientScreenshot(e))}(e)}function rt(e){return function(e){return C().then(t=>t.copyToClipboardClientScreenshot(e))}(e).then(()=>{(0,x.emit)("onClientScreenshotCopiedToClipboard")})}function nt(e,t,i,s){const r=Math.max(1,window.devicePixelRatio||1),n=e.getAll();const o=e.maximizedChartWidget();if(s&&s.onlyActiveChart||o)return{layout:"s",hidpiRatio:r,theme:(0,M.getCurrentTheme)().name,charts:[e.activeChartWidget.value().images(s)],publishedBy:void 0};const a=[],l=L.layouts[e.layout.value()].count,c={showCollapsedStudies:(s=s||{}).showCollapsedStudies,status:s.status};for(let e=0;e{const t=this._state.currentLayoutResizeAction.value();t&&this._applyMouseMove(t.delta,e)},this._state=e,this._splitterElement=t,this._splitter=i,(0,Le.shiftPressed)().subscribe(this._onShiftPressed)}destroy(){(0,Le.shiftPressed)().unsubscribe(this._onShiftPressed)}mouseDownEvent(e){this._mouseDownOrTouchStartEvent(e)}touchStartEvent(e){this._mouseDownOrTouchStartEvent(e)}pressedMouseMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}mouseUpEvent(e){this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._mouseUpOrTouchEndEvent(e)}mouseEnterEvent(e){this._highlightSplitters(e.shiftKey)}mouseLeaveEvent(e){const t=lt(this._splitter.className);Array.from(this._state.parent.getElementsByClassName(t)).forEach(e=>e.classList.remove(Be.hovered))}mouseDoubleClickEvent(e){const t=(0,xe.layoutInitialSizingState)(this._state.layoutTemplate.value().expression);this._state.undoHistory.beginUndoMacro(He),this._state.undoHistory.pushUndoCommand(new u(this._state.sizingState.spawn(),this._state.sizingState.value(),t,He));const i=this._state.layoutTemplate.value().layoutType;this._state.undoHistory.pushUndoCommand(new d(e=>e?this._state.allLayoutSizesState.set(i,e):this._state.allLayoutSizesState.delete(i),this._state.allLayoutSizesState.get(this._state.layoutTemplate.value().layoutType),t,He)),this._state.undoHistory.endUndoMacro()}_highlightSplitters(e){const t=lt(this._splitter.className);Array.from(this._state.parent.getElementsByClassName(t)).forEach(e=>e.classList.remove(Be.hovered));(e?Array.from(this._state.parent.getElementsByClassName(t)):[this._splitterElement]).forEach(e=>e.classList.add(Be.hovered))}_mouseDownOrTouchStartEvent(e){const t=new r.Point(e.localX+this._splitterElement.offsetLeft,e.localY+this._splitterElement.offsetTop),i=(0,Ie.deepCopy)(this._state.sizingState.value());this._state.currentLayoutResizeAction.setValue({point:t,splitter:this._splitter,initialState:i,alignedState:this._state.layoutTemplate.value().syncSublayoutsBySplitter(this._splitter,(0,Ie.deepCopy)(i)),shiftState:e.shiftKey,delta:0}),this._splitterElement.classList.add(Be["i-active"]),this._highlightSplitters(e.shiftKey)}_pressedMouseOrTouchMoveEvent(e){const t=this._state.currentLayoutResizeAction.value();if(!t)return;t.shiftState!==e.shiftKey&&(this._highlightSplitters(e.shiftKey),t.shiftState=e.shiftKey);const i=new r.Point(e.localX+this._splitterElement.offsetLeft,e.localY+this._splitterElement.offsetTop);t.delta="v"===t.splitter.orientation?i.y-t.point.y:i.x-t.point.x,this._applyMouseMove(t.delta,e.shiftKey)}_mouseUpOrTouchEndEvent(e){const t=this._state.currentLayoutResizeAction.value() +;if(t&&(this._splitterElement.classList.remove(Be["i-active"]),this._state.currentLayoutResizeAction.setValue(null),t.currentState)){this._state.undoHistory.beginUndoMacro(We),this._state.undoHistory.pushUndoCommand(new u(this._state.sizingState.spawn(),t.initialState,t.currentState,We));const e=this._state.layoutTemplate.value().layoutType;this._state.undoHistory.pushUndoCommand(new d(t=>t?this._state.allLayoutSizesState.set(e,t):this._state.allLayoutSizesState.delete(e),this._state.allLayoutSizesState.get(this._state.layoutTemplate.value().layoutType),this._state.sizingState.value(),He)),this._state.undoHistory.endUndoMacro(),this._state.layoutSizesChanged.setValue(!0)}}_applyMouseMove(e,t){var i;const r=(0,s.ensureNotNull)(this._state.currentLayoutResizeAction.value()),n=t?r.alignedState:r.initialState,o=null!==(i=this._state.options.padding)&&void 0!==i?i:2,a=at(this._state);r.currentState=this._state.layoutTemplate.value().resizeApplier(a,o,e,r.splitter,(0,Ie.deepCopy)(n),t),this._state.sizingState.setValue(r.currentState)}}function ht(e,t,i,s,r){var n,o;const a=null!==(n=e.options.padding)&&void 0!==n?n:2,l=null!==(o=e.options.border)&&void 0!==o?o:0;r=null!=r?r:e.layoutTemplate.value();const c=at(e),h=r.sizer(c,i,s,a+l,Re?e.sizingState.value():void 0);h.width=Math.max(Math.round(h.width),0),h.height=Math.max(Math.round(h.height),0),h.top=Math.round(h.top),h.left=Math.round(h.left),t.metrics=h;const d=t.container.value();if(d){d.style.width=h.width+"px",d.style.height=h.height+"px",d.style.top=h.top+"px",d.style.left=h.left+"px";const e=1===s;0;const t=Math.round(c.width),i=0===h.top&&0===h.left,r=0===h.top&&h.left+h.width===t,n=0===h.top&&h.width===t;d.classList.toggle("top-left-chart",!e&&!n&&i),d.classList.toggle("top-right-chart",!e&&!n&&r),d.classList.toggle("top-full-width-chart",e||n)}t.width.setValue(h.width),t.height.setValue(h.height)}function dt(e){var t,i,s;let r;const n=e.layoutTemplate.value(),o=e.maximizedChartDef.value();if(r=o?[o]:e.chartWidgetsDefs.slice(0,n.count).filter(e=>!e.hiddenInLayout.value()),r.forEach((t,i)=>ht(e,t,i,r.length)),Re&&!e.maximizedChartDef.value()){const r=at(e),o=null!==(t=e.options.padding)&&void 0!==t?t:2,a=null!==(i=e.options.border)&&void 0!==i?i:0,l=n.splitters(r,o+a,e.sizingState.value()),c=null!==(s=e.splitters.value())&&void 0!==s?s:[];c.forEach((e,t)=>{t>=l.length&&(e.splitterElement.remove(),e.mouseHandler.destroy(),e.mouseListener.destroy())});const h=l.map((t,i)=>{const s=i({def:t,metrics:e.layoutTemplate.value().sizer({top:0,left:0,width:256,height:256},i,s.length,0)})).sort((e,t)=>e.metrics.top-t.metrics.top||e.metrics.left-t.metrics.left).map(e=>e.def);if(s.length<2)return null;let r=s.indexOf(t);return-1===r?null:(r=(r+(i?s.length-1:1))%s.length,s[r])}function pt(e,t){return e.chartWidgetsDefs.some(e=>{var i;return(null===(i=e.chartWidget)||void 0===i?void 0:i.id())===t})}function _t(e){let t=1;for(;e(""+t);)t++;return""+t}function mt(e){const t=e.activeChartWidget.value();if(t){const i=t.state();return i.chartId=_t(t=>pt(e,t)),i.shouldBeSavedEvenIfHidden=!1,{content:i}}}function gt(e,t,i){const r=e.toastsFactory;let n={chartWidgetCollection:t,isActive:0===e.chartWidgetsDefs.length,barsMarksContainersFactory:t=>function(e,t,i){const s=[];{const t=new Ce(e);s.push(t);const i=new fe(e);s.push(i)}return s}(t,0,e.options),undoHistory:e.undoHistory,readOnly:e.readOnly,initialLoading:e.initialLoading,getToasts:r?()=>r.getChartToasts():void 0,...null!=i?i:{}};void 0!==e.customLegendWidgetsFactoriesMap&&(n.customLegendWidgetFactories=new Map(e.customLegendWidgetsFactoriesMap));const o=document.createElement("div");o.classList.add("chart-container"),o.style.position="absolute",o.style.overflow="hidden",e.parent.appendChild(o),a.isEdge&&(o.style.touchAction="none",o.style.msTouchAction="none"),n.className&&o.classList.add(n.className);const l={alive:new Ne(!0),container:new Ne(o),width:new Ne,height:new Ne,collapsed:new Ne(!1),hiddenInLayout:new Ne(!1),visible:new Ne,rdState:new Pe.ResizerDetacherState,requestFullscreen:()=>{e.globalDetachable.value()&&(e.setMaximized(l),e.activeChartWidget.setValue((0,s.ensureNotNull)(l.chartWidget)))},exitFullscreen:()=>{e.activeChartWidget.value()===l.chartWidget&&e.setMaximized(null)},detachable:e.globalDetachable,fullscreenable:e.globalDetachable,fullscreen:new Ne,chartWidget:null};l.rdState.pushOwner(l),e.chartWidgetsDefs.push(l);const c=()=>{l.visible.setValue(!l.hiddenInLayout.value()&&e.options.resizerBridge.visible.value())};l.hiddenInLayout.subscribe(()=>{(0,s.ensureNotNull)(l.chartWidget).setVisible(!l.hiddenInLayout.value()),c()}),l.collapsed.subscribe(()=>(0,s.ensureNotNull)(l.chartWidget).setCollapsed(l.collapsed.value())),e.options.resizerBridge.visible.subscribe(c),c(),function(e,t){let i=0,s=0;const r=t.layoutTemplate.value();for(let n=0;npt(e,t)),d=new Te.ChartWidget(n,h,t.metaInfo.uid.value());return l.chartWidget=d,e.saveChartService&&l.chartWidget.setSaveChartService(e.saveChartService),n.containsData?d.finishInitWithoutConnect():d.connect(),d.withModel(null,()=>{const t=d.model().model() +;e.customSources.forEach((e,i)=>{t.addCustomSource(i,e.factory,e.layer)})}),e.updateWatchedValue(),e.updateActivityView(),e.chartWidgetCreatedDelegate.fire(d),l}function ft(e,t,i,s){const r={...e.widgetOptions,...e.savedChartWidgetOptions.shift()||mt(e),...0===i||e.symbolLock.value()?void 0:{defSymbol:null}},n=gt(e,t,r),o=n.chartWidget;return o.modelCreated().subscribe(null,()=>{s?s():e.checkAllPendingModelsAlreadyCreated(),e.dateRangeLock.value()&&e.subscribeToCompletedEventForDateRangeSync(o,!0)},!0),n}function vt(e){e.hiddenInLayout.setValue(!0);const t=e.container.value();t.parentNode&&t.parentNode.removeChild(t),e.fullscreen.setValue(!1)}function St(e,t){e.chartWidgetsDefs.forEach(i=>{const r=(0,s.ensureNotNull)(i.chartWidget);r.onZoom().unsubscribeAll(t),r.onScroll().unsubscribeAll(t),r.withModel(null,()=>{const t=r.lineToolsSynchronizer();null!==t&&(t.hasChanges().unsubscribe(e.recalcHasChanges),e.recalcHasChanges())})})}async function yt(e,t,i){var r,n;const o=e.chartWidgetsDefs.map(e=>{var t,i,s;return null!==(s=null===(i=null===(t=e.chartWidget)||void 0===t?void 0:t.lineToolsSynchronizer())||void 0===i?void 0:i.flushPendingSavings())&&void 0!==s?s:null}).filter(X.notNull);o.length&&await Promise.all(o),(t=e.checkProFeature(t))in L.layouts||(t="s"),St(e,i);const a=e.layoutType,l=L.layouts[t].count;(0,x.emit)("layout_about_to_be_changed",t),e.layoutWV.setValue(t),e.setLayoutType(t),(null!==(r=e.splitters.value())&&void 0!==r?r:[]).forEach((e,t)=>{e.splitterElement.remove(),e.mouseHandler.destroy()}),e.splitters.setValue([]);const c=L.layouts[t];e.layoutTemplate.setValue(c);const h=null!==(n=e.allLayoutSizesState.get(c.layoutType))&&void 0!==n?n:(0,xe.layoutInitialSizingState)(c.expression);e.allLayoutSizesState.set(c.layoutType,h),e.sizingState.setValue(h);const d=e.maximizedChartDef.value();a!==t&&e.maximizedChartDef.value()&&e.maximizedChartDef.setValue(null),d&&e.activeChartWidget.setValue((0,s.ensureNotNull)(d.chartWidget));for(let t=0;t=l;if(r=e.maximizedChartDef.value()?e.maximizedChartDef.value()===n:t1),n.fullscreen.setValue(e.maximizedChartDef.value()===n),n.collapsed.setValue(o)}else n&&(vt(n),n.collapsed.setValue(o))}e.sizingState.setValue(h),dt(e),e.updateWatchedValue(),function(e){const t=e.layoutTemplate.value().count;e.inlineChartsCount.setValue(t),e.globalDetachable.setValue(t>1)}(e),e.checkAllPendingModelsAlreadyCreated(),function(e,t){e.chartWidgetsDefs.forEach(i=>{const r=(0,s.ensureNotNull)(i.chartWidget);r.onZoom().subscribe(t,t=>e.onZoom.fire(t)),r.onScroll().subscribe(t,()=>e.onScroll.fire()),r.withModel(null,()=>{ +const t=r.lineToolsSynchronizer();null!==t&&(t.hasChanges().subscribe(e.recalcHasChanges),e.recalcHasChanges())})})}(e,i),e.inlineChartsCount.value()<1&&l>0&&e.chartWidgetsDefs[l-1].rdState.bridge().attach()}function bt(e,t,i,s,r){if(!s&&!e.crosshairLockRaw)return!1;const n=e.actualLayoutCount();return e.chartWidgetsDefs.slice(0,n).filter(e=>e.rdState.bridge().visible.value()).map(e=>e.chartWidget).filter(e=>e.id()!==i&&e.hasModel()).forEach(e=>e.model().model().setExternalPosition(t,r)),!0}function wt(e,t,i,s,r){if(bt(e,t,i,s,r)){const i=e.crossHairSyncBroadcast;if(i){const e={type:"crosshair",payload:{point:t,envState:r,sourceUniqueId:i.uniqueId}};i.channel.postMessage(e)}}}function Ct(e){const t=new BroadcastChannel("ChartWidgetsCollection");return t.onmessage=t=>{const i=t.data,s=e();if(s.crossHairSyncBroadcast)switch(i.type){case"crosshair":s.crossHairSyncBroadcast.uniqueId!==i.payload.sourceUniqueId&&bt(s,i.payload.point,null,!1,i.payload.envState)}},{channel:t,uniqueId:(0,q.randomHashN)(6)}}function Pt(e){var t;null===(t=e.crossHairSyncBroadcast)||void 0===t||t.channel.close()}function Tt(e,t,i){if(!e.trackTimeLock.value()||e.dateRangeLock.value())return;const s=e.layoutTemplate.value().count;e.undoHistory.beginUndoMacro(Fe),e.chartWidgetsDefs.slice(0,s).filter(e=>e.chartWidget.hasModel()&&e.chartWidget.model().model()!==i).forEach(e=>{const i=e.chartWidget.model().model(),s=i.mainSeries().syncModel();s&&i.syncTimeWithModel(s.syncSourceTarget(),t)}),e.undoHistory.endUndoMacro()}function xt(e){return Promise.all(e.map(e=>{const t=e.model().mainSeries();return t.symbolResolvingActive().value()?l(t.dataEvents().symbolResolved()).promise:t.symbolInfo()}))}function It(e){return e.chartWidgetsDefs.every(e=>e.chartWidget.hasModel())?Promise.resolve(e.chartWidgetsDefs.map(e=>e.chartWidget)):Promise.all(e.chartWidgetsDefs.map(e=>e.chartWidget.hasModel()||l(e.chartWidget.modelCreated()).promise)).then(()=>It(e))}function Mt(e,t){var i;if((0,R.enabled)("charting_library_base"))return t;if("s"===t||e.widgetOptions.containsData||e.readOnly||isProductFeatureEnabled(ProductFeatures.MULTIPLE_CHARTS)&&(0,s.ensure)(null===(i=getProductFeatureConfig(ProductFeatures.MULTIPLE_CHARTS))||void 0===i?void 0:i.limit)>=L.layouts[t].count)return t;return"s"}async function Lt(e,t,i){if(i=Mt(e,i),e.layoutWV.value()===i)return!1;const s=e.chartWidgetsDefs.map(e=>{var t,i,s;return null!==(s=null===(i=null===(t=e.chartWidget)||void 0===t?void 0:t.lineToolsSynchronizer())||void 0===i?void 0:i.flushPendingSavings())&&void 0!==s?s:null}).filter(X.notNull);return s.length&&await Promise.all(s),e.undoHistory.pushUndoCommand(new Ee(t,i)),!0}async function At(e,t,i){const{theme:s,onlyActiveChart:r,restoreNonThemeDefaults:n,themeName:o,standardTheme:a,syncState:l=!0,noUndo:c}=i,h=(0,M.getCurrentTheme)().name;let d;r?d=[e.activeChartWidget.value()]:(await Promise.all(e.savedChartWidgetOptions.map((i,s)=>new Promise(i=>{vt(ft(e,t,s,i))}))),d=e.chartWidgetsDefs.map(e=>e.chartWidget)),c?(a&&new Ve(h,o,l).redo(),d.forEach(e=>{ +e.model().model().restoreTheme(s,n,c)})):(e.undoHistory.beginUndoMacro(ze),a&&e.undoHistory.pushUndoCommand(new Ve(h,o,l)),d.forEach(e=>{e.model().model().restoreTheme(s,n)}),e.undoHistory.endUndoMacro())}},22799:(e,t,i)=>{"use strict";i.r(t),i.d(t,{setChartFontFamily:()=>s,CHART_FONT_FAMILY:()=>r});function s(e){r=e}let r="-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif"},35548:(e,t,i)=>{"use strict";var s=i(2872);i(70150);var r=i(28353).t,n=i(24980).TranslatedString,o=i(88537),a=o.assert,l=o.ensureDefined,c=i(56972).Series,h=i(67337),d=i(62138).ActionBinder,u=i(56840).setValue,p=i(73591).TabNames,_=i(94420).showGoToDateDialog,m=i(68335),g=i(25760),f=i(15219).showConfirmInputsDialog,v=i(66101).Study,S=i(25270).StudyStub,y=i(81851).isStudy,b=i(89857).LineDataSource,w=i(14291),C=w.isLineTool,P=w.isStudyLineTool,T=i(28296).Action,x=i(62060).ACTION_ID,I=i(85733),M=i(29823).Interval,L=i(37667),A=L.getDefaultStyle,E=L.hasVolume,k=i(88679).showSymbolInfoDialog,D=i(23653).InvalidationMask,V=i(82992).linking,B=i(8636).showChangeIntervalDialogAsync,N=i(92930).showDialog,R=i(39277),O=R.availableTimezones,F=R.timezoneIsAvailable,W=i(90995).toggleHideMode,H=i(817).ChartSession,z=i(67072),U=i(4185).Spinner,j=i(51768).trackEvent,G=i(71413).lastMouseOrTouchEventInfo,q=i(59803),Y=i(98125).getLogger("ChartWidget",{color:"#606"}),K=i(82724).appendEllipsis,$=i(43181).StudyMetaInfoRepository,X=i(42060).isMultipleLayout,Z=i(19334).addPerfMark,J=i(81465).combineProperty,Q=i(79500).ChartWidgetBase,ee=i(49483).CheckMobile.any(),te=i(73383).TIMEFRAMETYPE,ie=i(81836).createDeferredPromise,se=i(76166).addPlusButtonProperty;const re=h.enabled("show_average_close_price_line_and_label");var ne=new n("change timezone",r("change timezone")),oe=new n("scale price chart only",r("scale price chart only")),ae=new n("stay in drawing mode",r("stay in drawing mode")),le=(new n("hide all drawing tools",r("hide all drawing tools")),new n("hide marks on bars",r("hide marks on bars"))),ce=new n("change symbol last value visibility",r("change symbol last value visibility")),he=(new n("change symbol previous close value visibility",r("change symbol previous close value visibility")),new n("change previous close price line visibility",r("change previous close price line visibility")),new n("change symbol labels visibility",r("change symbol labels visibility"))),de=new n("change indicators name labels visibility",r("change indicators name labels visibility")),ue=new n("change indicators value labels visibility",r("change indicators value labels visibility")),pe=(new n("change bid and ask labels visibility",r("change bid and ask labels visibility")),new n("change bid and ask lines visibility",r("change bid and ask lines visibility")),new n("change pre/post market price label visibility",r("change pre/post market price label visibility")),new n("change pre/post market price line visibility",r("change pre/post market price line visibility")), +new n("change high and low price lines visibility",r("change high and low price lines visibility"))),_e=new n("change high and low price labels visibility",r("change high and low price labels visibility")),me=new n("change average close price line visibility",r("change average close price line visibility")),ge=new n("change average close price label visibility",r("change average close price label visibility")),fe=new n("change countdown to bar close visibility",r("change countdown to bar close visibility")),ve=new n("change plus button visibility",r("change plus button visibility")),Se=new n("change price line visibility",r("change price line visibility")),ye=new n("unlock {title}",r("unlock {title}")),be=new n("lock {title}",r("lock {title}")),we=new n("change session breaks visibility",r("change session breaks visibility")),Ce=r("On the left"),Pe=r("On the right"),Te=r("Move scale to left"),xe=r("Move scale to right");e.exports.ChartWidget=class extends Q{constructor(e,t,i){super(e,t,i),this._options.timeScaleWidget&&(this._options.timeScaleWidget.pressedMouseMoveScale=this._options.handleScale.axisPressedMouseMove.time);var r=this;this._startSpinner(this._options.container.value());var n=this._options.content,o=this._options.readOnly;this._removeMaximizeHotkey=null,r._hotkeys=g.createGroup({desc:"Chart actions",isDisabled:function(){return!r._isActive}});var a=this._options.containsData,l=this._options.onWidget,c=this._options.onCmeWidget;c&&Y.logWarn("[ChartWidget] 'onCmeWidget' option is depricated");var h=this._options.widgetCustomer,d=this._options.timezone,u=this._options.hideSymbolSearch,p=this._options.defSymbol,_=M.isValid(this._options.defInterval)?this._options.defInterval:void 0,m=parseInt(this._options.defStyle),f=L.isValidStyle(m)?m:void 0,v=this._options.defSessionId,S=void 0!==this._options.defTimeframe?"string"==typeof this._options.defTimeframe?{value:this._options.defTimeframe.toUpperCase(),type:te.PeriodBack}:{...this._options.defTimeframe,type:te.TimeRange}:void 0;this._content=n,this._initialLoading=this._options.initialLoading,this._readOnly=o,this._containsData=a,this._defSymbol=p,this._defInterval=_,this._defTimeframe=S,this._defStyle=f,this._onWidget=!!l,this._compareSymbols=this._options.compareSymbols,this._onWidget&&(c?this._widgetCustomer="cme":h&&(this._widgetCustomer=h)),this._hideSymbolSearch=u,this._frameTime=30,this._model=null,this._metaInfo={},this._drawRafId=0,this._compareDialog=this._chartWidgetCollection.getCompareDialogRenderer();var y=this._contentSeriesProperties();y&&(p=y.symbol,_=y.interval),void 0===this._options.useUserChartPreferences&&(this._options.useUserChartPreferences=!0);var b=this._options.useUserChartPreferences?q.defaults("chartproperties.mainSeriesProperties"):q.factoryDefaults("chartproperties.mainSeriesProperties");this._properties.mainSeriesProperties.merge(b),this._properties.mainSeriesProperties.hasChild("esdBreaksStyle")&&this._properties.mainSeriesProperties.removeProperty("esdBreaksStyle"),_=_||b.interval||"D", +L.isValidStyle(f)||(f=L.isValidStyle(b.style)?b.style:A(M.isRange(_))),this._properties.mainSeriesProperties.merge({visible:!0,symbol:p||DEFAULT_SYMBOL,shortName:"",timeframe:"",onWidget:this._onWidget,interval:_,currencyId:null,unitId:null,style:f,sessionId:v,lineStyle:{styleType:q.factoryDefaults("chartproperties.mainSeriesProperties.lineStyle.styleType")}}),this._containsData&&this._properties.mainSeriesProperties.merge({showCountdown:!1}),d&&F(d)&&this._properties.timezone.setValue(d),this._tagsChanged=new s,this._disconnected=new s,this._reconnectBailout=new s,this._connected=new s,this.chartWidgetInitialized=new s,this._chartSession=new H(ChartApiInstance),this._metaInfoRepository=new $(this._chartSession),this._timingsMeter=null,this._isActive=this._options.isActive,this._options.container.subscribe((function(e){r._setElement(e)}),{callWithLast:!0});var w=function(){r.resize()};this._options.width.subscribe(w),this._options.height.subscribe(w),this._options.visible.subscribe(this._updateTimingsMeterState.bind(this)),this._aboutToBeDestroyed=new s,this._actions=null,this._definitionsViewModel=null,this._backgroundTopColorSpawn=null,this._backgroundBottomColorSpawn=null,this._hintDefferedPromise=null,this._activeHint=null}isInitialized(){return Boolean(this._inited)}compareSymbols(){return this._compareSymbols}async _getChartPropertyDefinitionsViewModel(){if(null===this._definitionsViewModel){const{ChartPropertyDefinitionsViewModel:e}=await Promise.all([i.e(1369),i.e(7387),i.e(3596)]).then(i.bind(i,57695));if(this._isDestroyed)throw new Error("Chart widget already destroyed");await new Promise(e=>this.withModel(null,e)),null===this._definitionsViewModel&&(this._definitionsViewModel=new e(this.model(),this.properties(),this._options))}return this._definitionsViewModel}_initMaximizeHotkey(e){var t=this;function i(e){e.defaultPrevented||m.modifiersFromEvent(e)===m.Modifiers.Alt&&e.stopPropagation()}function s(e){e.defaultPrevented||m.modifiersFromEvent(e)===m.Modifiers.Alt&&(e.preventDefault(),e.stopPropagation(),t.toggleFullscreen())}return e.addEventListener("mousedown",i,!0),e.addEventListener("click",s,!0),function(){e.removeEventListener("mousedown",i,!0),e.removeEventListener("click",s,!0)}}toggleFullscreen(){var e=this.getResizerDetacher();e.fullscreenable.value()&&(e.fullscreen.value()?e.exitFullscreen():e.requestFullscreen())}_beginRequestActive(){var e=this._chartWidgetCollection.activeChartWidget.value()!==this;if(this._chartWidgetCollection.activeChartWidget.setValue(this),e){const e=G();e.isTouch&&!e.stylus&&this._isLineToolModeExceptBrush()&&this.updateCrossHairPositionIfNeeded(),this._justActivated=!0}}_endRequestActive(){var e=this;this._justActivated&&setTimeout((function(){e._justActivated=!1}),0)}_requestActive(){this._beginRequestActive(),this._endRequestActive()}justActivated(){return this._justActivated}setTimezone(e){e&&F(e)?this._properties.timezone.setValue(e):console.warn("Incorrect timezone: "+JSON.stringify(e))}getTimezone(){return this._properties.timezone.value()}refreshMarks(){ +this.model().barsMarksSources().forEach((function(e){e.refreshData()}))}clearMarks(){this.model().barsMarksSources().forEach((function(e){e.clearMarks()}))}metaInfoRepository(){return this._metaInfoRepository}_initBackgroundColor(){null===this._backgroundTopColorSpawn&&(this._backgroundTopColorSpawn=this._model.model().backgroundTopColor().spawn(),this._backgroundTopColorSpawn.subscribe(this._onBackgroundColorChanged.bind(this))),null===this._backgroundBottomColorSpawn&&(this._backgroundBottomColorSpawn=this._model.model().backgroundColor().spawn(),this._backgroundBottomColorSpawn.subscribe(this._onBackgroundColorChanged.bind(this)))}paneWidgets(){return this._paneWidgets}paneByCanvas(e){for(var t=0;t{null!==t&&e()})}));var s=new T({actionId:x.ChartScalesReset,label:r("Reset chart"),icon:i(27966),statName:"ResetChart",onExecute:this.GUIResetScales.bind(this),hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+82}),n=new T({actionId:x.ChartSeriesPriceScaleToggleInvertPriceScale,label:r("Invert scale"),statName:"Invert Scale",checkable:!0,onExecute:function(){t._model.invertPriceScale(t._model.mainSeries().priceScale())},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+73}),o=new T({actionId:x.ChartSeriesPriceScaleToggleAutoScale,label:r("Auto (fits data to screen)"),checkable:!0,onExecute:function(){var e=t._model.mainSeries().priceScale();t._model.togglePriceScaleAutoScaleMode(e),o.update({checked:e.isAutoScale()})}}),a=new T({actionId:x.ChartScalesToggleLockPriceToBarRatio,label:r("Lock price to bar ratio"),checkable:!0,statName:"ToggleLockScale",onExecute:function(){t._model.togglePriceScaleLockScaleMode(t._model.mainSeries().priceScale())}}),l=new T({actionId:x.ChartSeriesPriceScaleToggleRegular,label:r("Regular"),checkable:!0,statName:"ToggleRegularScale",onExecute:function(){var e=t._model.mainSeries().priceScale();t._model.setPriceScaleRegularScaleMode(e),l.update({checked:e.isRegular()})}}),c=new T({actionId:x.ChartSeriesPriceScaleTogglePercentage,label:r("Percent"),checkable:!0,statName:"TogglePercantage",onExecute:function(){t._model.togglePriceScalePercentageScaleMode(t._model.mainSeries().priceScale())},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+80}),f=new T({actionId:x.ChartSeriesPriceScaleToggleIndexedTo100,label:r("Indexed to 100"),checkable:!0,statName:"ToggleIndexedTo100",onExecute:function(){t._model.togglePriceScaleIndexedTo100ScaleMode(t._model.mainSeries().priceScale())} +}),v=new T({actionId:x.ChartSeriesPriceScaleToggleLogarithmic,label:r("Logarithmic"),statName:"ToggleLogScale",checkable:!0,onExecute:function(){t._model.togglePriceScaleLogScaleMode(t._model.mainSeries().priceScale())},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+76}),S=new T({actionId:x.ChartUndo,label:r("Undo"),onExecute:function(){j("GUI","Undo"),t._model.undoHistory().undo()},disabled:!0,hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Mod+90}),y=new T({actionId:x.ChartRedo,label:r("Redo"),onExecute:function(){j("GUI","Redo"),t._model.undoHistory().redo()},disabled:!0,hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Mod+89});t.withModel(null,(function(){t._model.undoHistory().undoStack().onChange().subscribe(t,t.updateUndoRedo),t._model.undoHistory().redoStack().onChange().subscribe(t,t.updateUndoRedo)}));var b=new T({actionId:x.ChartChangeTimeZone,label:r("Time zone"),statName:"TimeZone"}),w=new T({actionId:x.ChartDialogsShowChangeSymbol,label:K(r("Change Symbol")),statName:"ChangeSymbol",onExecute:function(){N({defaultValue:""})}});u("symboledit.dialog_last_entry","");var C={actionId:x.ChartDialogsShowChangeInterval,label:K(r("Change interval")),statName:"ChangeInterval",onExecute:function(){B({initVal:V.interval.value(),selectOnInit:!0})}};!h.enabled("show_interval_dialog_on_key_press")||this.readOnly()||this._hideSymbolSearch||(C.shortcutHint=",",C.hotkeyGroup=this._hotkeys,C.hotkeyHash=188);var P,M=new T(C);if(!TradingView.onWidget()){if(this._options.addToWatchlistEnabled){const e={hotkeyGroup:this._hotkeys};P=new WatchListAction(this,e)}0}var L=new T({actionId:x.ChartTimeScaleReset,label:r("Reset time scale"),icon:i(27966),statName:"ResetScale",onExecute:function(){t.model().resetTimeScale()},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Mod+g.Modifiers.Alt+81}),A=new T({actionId:x.ChartRemoveAllIndicators,label:r("Remove indicators"),statName:"RemoveAllIndicators",onExecute:this.removeAllStudies.bind(this)}),E=new T({actionId:x.ChartRemoveAllLineTools,label:r("Remove drawings"),statName:"RemoveAllDrawingTools",onExecute:this.removeAllDrawingTools.bind(this)}),R=new T({actionId:x.ChartRemoveAllIndicatorsAndLineTools,label:r("All indicators and drawing tools"),statName:"RemoveAllIndicatorsAndDrawingTools",onExecute:this.removeAllStudiesDrawingTools.bind(this)}),O=this.chartWidgetCollection(),F=new T({actionId:x.ChartApplyIndicatorsToAllCharts,label:r("Apply these indicators to entire layout"),statName:"ApplyIndicatorsToAllCharts",onExecute:function(){O.applyIndicatorsToAllCharts(t)}}),H={actionId:x.ChartDialogsShowInsertIndicators,label:K(r("Insert indicator")),statName:"InsertIndicator",onExecute:function(){t.showIndicators()}};this._options.indicatorsDialogShortcutEnabled&&(H.hotkeyGroup=this._hotkeys,H.hotkeyHash=191,this._hotkeys.add({handler:function(){this.showIndicators()}.bind(this),desc:"Show insert indicator dialog",hotkey:111}));var z,U=new T(H),G=new T({actionId:x.ChartDialogsShowCompareOrAddSymbol,label:K(r("Compare or Add Symbol")),statName:"CompareOrAddSymbol", +onExecute:this.toggleCompareOrAdd.bind(this)}),q=new T({actionId:x.ChartObjectTreeShow,label:K(r("Object Tree")),statName:"ObjectsTree",onExecute:this.showObjectsTreePanelOrDialog.bind(this)}),Y=new T({actionId:x.ChartDialogsShowGeneralSettings,label:K(r("Settings")),icon:i(44368),statName:"ChartProperties",onExecute:function(){t.showGeneralChartProperties()}}),$=new T({actionId:x.ChartDialogsShowGeneralSettingsSymbolTab,label:K(r("Settings")),icon:i(44368),statName:"MainSeriesProperties",onExecute:function(){t.showGeneralChartProperties(p.symbol)}}),X=new T({actionId:x.ChartSelectedObjectToggleLocked,label:r("Lock/unlock"),statName:"ToggleLockSelectedObject",onExecute:this.toggleLockSelectedObject.bind(this)}),Z=new T({actionId:x.ChartSelectedObjectHide,label:r("Hide"),icon:i(48111),statName:"HideSelectedObject",onExecute:this.hideSelectedObject.bind(this)});h.enabled("property_pages")&&(z=new T({actionId:x.ChartSelectedObjectShowSettingsDialog,label:K(r("Settings")),icon:i(44368),statName:"EditSelectedObject",onExecute:function(){t.showSelectedSourcesProperties()}})),this.withModel(null,(function(){var e=t.model().mainSeries(),i=e.properties();i.priceAxisProperties.subscribe(t,t._updateScalesActions),e.priceScaleAboutToBeChanged().subscribe(t,(function(){i.priceAxisProperties.unsubscribeAll(t)})),e.priceScaleChanged().subscribe(t,(function(){i.priceAxisProperties.subscribe(t,t._updateScalesActions),t._updateScalesActions()}))}));var Q=new T({actionId:x.ChartPriceScaleToggleAutoScaleSeriesOnly,label:r("Scale price chart only"),checkable:!0,statName:"ScalePriceChartOnly"});Q.binder=new d(Q,this._properties.scalesProperties.scaleSeriesOnly,this.model(),oe);var ee=this.model().model();this._properties.scalesProperties.scaleSeriesOnly.listeners().subscribe(null,(function(){ee.recalculateAllPanes(),ee.invalidate(D.full())}));var te=new T({actionId:x.ChartDrawingToolbarToggleVisibility,label:r("Drawings toolbar"),checkable:!0,statName:"ToggleDrawingToolbar"}),ie=this._options.isDrawingToolbarVisible;ie&&(ie.subscribe((function(e){te.update({checked:e})}),{callWithLast:!0}),te.update({onExecute:function(){ie.setValue(!ie.value())}}));var ne=new T({actionId:"",label:r("Stay in drawing mode"),checkable:!0,statName:"ToggleStayInDrawingMode"});ne.binder=new d(ne,I.properties().stayInDrawingMode,this.model(),ae),this._hotkeys.add({handler:function(){W()},desc:"Hide all drawing tools",hotkey:g.Modifiers.Mod+g.Modifiers.Alt+72});var ye=new T({actionId:x.ChartMarksToggleVisibility,label:r("Hide marks on bars"),checkable:!0,statName:"ToggleHideMarksOnBars"});ye.binder=new d(ye,I.hideMarksOnBars(),this.model(),le,(function(){I.hideMarksOnBars().setValue(this.value())}));const be=this.properties().scalesProperties;var we=new T({actionId:x.ChartPriceScaleLabelsToggleSeriesLastValueVisibility,label:r("Symbol last price label"),checkable:!0,checked:!1,statName:"ToggleSymbolLastValue"});we.binder=new d(we,be.showSeriesLastValue,this.model(),ce);var Ie=new T({actionId:x.ChartPriceScaleLabelsToggleSymbolNameLabelsVisibility, +label:r("Symbol name label"),checkable:!0,checked:!1,statName:"ToggleSymbolLabels"});Ie.binding=new d(Ie,be.showSymbolLabels,this.model(),he);const Me=J((e,t)=>e||!1,be.showStudyLastValue,be.showFundamentalLastValue);var Le=new T({actionId:x.ChartPriceScaleLabelsToggleIndicatorsValueLabelsVisibility,label:r("Indicators value labels"),checkable:!0,checked:!1,statName:"ToggleStudiesAndFundamentalsPriceLabels"});Le.binder=new d(Le,Me,this.model(),null,()=>{const e=!Me.value();this.model().beginUndoMacro(ue),this.model().setProperty(be.showStudyLastValue,e,null),this.model().endUndoMacro()});const Ae=J((e,t)=>e||!1,be.showStudyPlotLabels,be.showFundamentalNameLabel);var Ee=new T({actionId:x.ChartPriceScaleLabelsToggleIndicatorsNameLabelsVisibility,label:r("Indicators name labels"),checkable:!0,checked:!1,statName:"ToggleStudiesAndFundamentalsNameLabels"});Ee.binding=new d(Ee,Ae,this.model(),null,()=>{const e=!Ae.value();this.model().beginUndoMacro(de),this.model().setProperty(be.showStudyPlotLabels,e,null),this.model().endUndoMacro()});var ke=this.model().mainSeries().properties().highLowAvgPrice,De=new T({actionId:x.ChartPriceScaleLabelsToggleHighLowPriceLabelsVisibility,label:r("High and low price labels"),checkable:!0,checked:!1,statName:"ToggleHighLowPriceLabels"});De.binding=new d(De,ke.highLowPriceLabelsVisible,this.model(),_e);var Ve=new T({actionId:x.ChartLinesToggleHighLowLinesVisibility,label:r("High and low price lines"),checkable:!0,checked:!1,statName:"ToggleHighLowPriceLine"});if(Ve.binding=new d(Ve,ke.highLowPriceLinesVisible,this.model(),pe),re){var Be=new T({actionId:x.ChartPriceScaleLabelsToggleAveragePriceLabelVisibility,label:r("Average close price label"),checkable:!0,checked:!1,statName:"ToggleAverageClosePriceLabel"});Be.binding=new d(Be,ke.averageClosePriceLabelVisible,this.model(),ge);var Ne=new T({actionId:x.ChartLinesToggleAverageLineVisibility,label:r("Average close price line"),checkable:!0,checked:!1,statName:"ToggleAverageClosePriceLine"});Ne.binding=new d(Ne,ke.averageClosePriceLineVisible,this.model(),me)}var Re=new T({actionId:x.ChartPriceScaleToggleCountdownToBarCloseVisibility,label:r("Countdown to bar close"),checkable:!0,checked:!1,statName:"ToggleCountdown"});Re.binder=new d(Re,this.model().mainSeries().properties().showCountdown,this.model(),fe);var Oe=new T({actionId:x.ChartPriceScaleToggleAddOrderPlusButtonVisibility,label:r("Plus button"),checkable:!0,checked:se.value(),statName:"ToggleAddOrderPlusButton"});Oe.binder=new d(Oe,se,this.model(),ve);var Fe=null;this._options.goToDateEnabled&&(Fe=new T({actionId:x.ChartDialogsShowGoToDate,label:K(r("Go to date")),statName:"GoToDate",onExecute:function(){var e=t._chartWidgetCollection.activeChartWidget.value();_(e)},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+71}));var We=new T({actionId:x.ChartDialogsShowSymbolInfo,label:K(r("Symbol info")),icon:i(69061),checkable:!1,statName:"SymbolInfo",onExecute:function(){ +var e=t.model().mainSeries().symbol(),i=t.model().mainSeries().symbolInfo(),s=t.model().model().availableUnits(),r=t.model().model().unitConversionEnabled();k(e,{symbolInfo:i,showUnit:r,unitDescription:e=>s.description(e)})}}),He=new T({actionId:x.ChartPriceScaleMergeAllScalesToLeft,label:Ce,statName:"MergeAllScalesToLeft",onExecute:function(){t.model().mergeAllScales("left")}}),ze=new T({actionId:x.ChartPriceScaleMergeAllScalesToRight,label:Pe,statName:"MergeAllScalesToRight",onExecute:function(){t.model().mergeAllScales("right")}}),Ue=new T({actionId:x.ChartPriceScaleMoveToLeft,label:Te,statName:"MoveScaleToLeft",onExecute:function(){t.model().mergeAllScales("left")}}),je=new T({actionId:x.ChartPriceScaleMoveToRight,label:xe,statName:"MoveScaleToRight",onExecute:function(){t.model().mergeAllScales("right")}});var Ge=h.enabled("show_object_tree");if(this._actions={chartProperties:Y,mainSeriesPropertiesAction:$,timeScaleReset:L,chartReset:s,invertSeriesScale:n,logSeriesScale:v,autoSeriesScale:o,lockSeriesScale:a,regularSeriesScale:l,percentSeriesScale:c,indexedTo100SeriesScale:f,compareOrAdd:G,paneObjectTree:Ge?q:void 0,insertIndicator:U,symbolSearch:w,showSymbolInfoDialog:We,changeInterval:M,seriesHide:Z,studyHide:Z,lineToggleLock:X,lineHide:Z,scaleSeriesOnly:Q,drawingToolbarAction:te,stayInDrawingModeAction:ne,hideAllMarks:ye,applyTimeZone:b,showCountdown:Re,addPlusButton:Oe,showSeriesLastValue:we,showHighLowPriceLabels:De,showHighLowPriceLines:Ve,showAverageClosePriceLabel:Be,showAverageClosePriceLine:Ne,showSymbolLabelsAction:Ie,showStudyLastValue:Le,showStudyPlotNamesAction:Ee,undo:S,redo:y,mergeLeftScalesAction:He,mergeRightScalesAction:ze,moveScaleToLeft:Ue,moveScaleToRight:je,moveChartAction:void 0},e&&(this._actions.scalesProperties=e),P&&(this._actions.addToWatchlist=P),h.enabled("show_source_code")&&(this._actions.viewSourceCode=new TVAction({label:K(r("Source code")),statName:"OpenSelectedObjectSource",onExecute:this.openSelectedObjectSource.bind(this)})),!TradingView.onWidget()&&h.enabled("text_notes")&&(this._actions.addToTextNotes=void 0),null!==Fe&&(this._actions.gotoDate=Fe),this.createSessionBreaksActions(),!this.readOnly()){var qe=new T({actionId:x.ChartSelectedObjectRemove,label:r("Remove"),icon:i(78679),statName:"RemoveSelectedObject",onExecute:function(){var e=this._chartWidgetCollection.activeChartWidget.value();e||(e=this),e.removeSelectedSources()}.bind(this),hotkeyGroup:this._hotkeys,hotkeyHash:m.isMacKeyboard?8:46});this._hotkeys.add({handler:function(){this.removeSelectedSources()}.bind(this),desc:"Remove selected source",hotkey:m.isMacKeyboard?46:8}),this._actions.paneRemoveAllStudies=A,this._actions.paneRemoveAllDrawingTools=E,this._actions.paneRemoveAllStudiesDrawingTools=R,this._actions.applyStudiesToAllCharts=F,this._actions.studyRemove=qe,this._actions.lineRemove=qe,h.enabled("property_pages")&&(this._actions.format=z)}this._actions.showPriceLine=new T({actionId:x.ChartLinesToggleSeriesPriceLineVisibility,label:r("Price line"),checkable:!0,statName:"TogglePriceLine"}), +this._actions.showPriceLine.binding=new d(this._actions.showPriceLine,this.model().mainSeries().properties().showPriceLine,this.model(),Se),this.readOnly()||(this._hotkeys.add({desc:"Draw Horizontal Line here",hotkey:g.Modifiers.Alt+72,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolHorzLine")}}),this._hotkeys.add({desc:"Draw Horizontal Ray here",hotkey:g.Modifiers.Alt+74,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolHorzRay")}}),this._hotkeys.add({desc:"Draw Vertical Line here",hotkey:g.Modifiers.Alt+86,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolVertLine")}}),this._hotkeys.add({desc:"Draw Cross Line here",hotkey:g.Modifiers.Alt+67,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolCrossLine")}}),this._hotkeys.add({desc:"Draw Trend Line",hotkey:g.Modifiers.Alt+84,handler:function(){t.activePaneWidget&&I.tool.setValue("LineToolTrendLine")}}),this._hotkeys.add({desc:"Draw Fib Retracement",hotkey:g.Modifiers.Alt+70,handler:function(){t.activePaneWidget&&I.tool.setValue("LineToolFibRetracement")}})),this._updateScalesActions()}options(){return this._options}executeActionById(e){if("takeScreenshot"===e)return console.warn('Action "takeScreenshot" is deprecated. Use method "takeScreenshot" instead'),void this._chartWidgetCollection.takeScreenshot();e in this._actions?this._actions[e]instanceof T&&this._actions[e].execute():console.warn("Unknown action id: "+e)}getCheckableActionState(e){if(e in this._actions){var t=this._actions[e];if(t instanceof T&&t.isCheckable())return t.isChecked();console.warn("Action "+e+" has no state")}else console.warn("Unknown action id: "+e);return null}_updateScalesActions(){if(null!==this._actions){var e=this.model().mainSeries(),t=e.priceScale(),i=e.properties(),s=t.isLockScale(),r=i.style.value()===c.STYLE_PNF;this._actions.percentSeriesScale.update({disabled:s||r,checked:t.isPercentage()}),this._actions.logSeriesScale.update({disabled:s||r,checked:t.isLog()}),this._actions.regularSeriesScale.update({disabled:s||r,checked:t.isRegular()}),this._actions.indexedTo100SeriesScale.update({disabled:s||r,checked:t.isIndexedTo100()}),this._actions.invertSeriesScale.update({checked:t.isInverted()}),this._actions.lockSeriesScale.update({checked:t.isLockScale()}),this._actions.autoSeriesScale.update({checked:t.isAutoScale(),disabled:t.properties().autoScaleDisabled.value()})}}removeAllStudies(){this._model.removeAllStudies()}removeAllDrawingTools(){this._model.removeAllDrawingTools()}removeAllStudiesDrawingTools(){this._model.removeAllStudiesAndDrawingTools()}defaultSymbol(){return this._defSymbol}connect(){this._handler=function(e){this._onData(e)}.bind(this),this._boundOnChartSessionIsConnectedChanged=this._onChartSessionIsConnectedChanged.bind(this),this._chartSession.isConnected().subscribe(this._boundOnChartSessionIsConnectedChanged),this._chartSession.criticalError().subscribe(this,this._onChartSessionCriticalError),this._chartSession.connect(this._handler)} +finishInitWithoutConnect(){this._chartSession.disable(),this._init(),this.chartWidgetInitialized.fire()}reconnect(){this._chartSession.disconnect(),this._chartSession.connect()}widget(){return this._mainDiv}_onBackgroundColorChanged(){for(var e=0;e0;)for(var t=this._content.panes[e].sources,i=t.length;i-- >0;)if("MainSeries"===t[i].type)return t[i].state}updateUndoRedo(){this._model&&(this.actions().undo.update({disabled:this._model.undoHistory().undoStack().isEmpty()}),this.actions().redo.update({disabled:this._model.undoHistory().redoStack().isEmpty()}))}createSessionBreaksActions(){var e=new T({actionId:x.ChartSessionBreaksToggleVisibility,label:r("Session breaks"),checkable:!0,statName:"ToggleSessionBreaks"});e.binder=new d(e,this._model.chartModel().sessions().properties().graphics.vertlines.sessBreaks.visible,this.model(),we),this._actions.sessionBreaks=e}updateActionForIntradayOnly(e){e&&e instanceof T&&e.update({disabled:this.model().mainSeries().isDWM()})}containsVolume(){return this.model().dataSources().some((function(e){return e instanceof v&&"Volume"===e.metaInfo().shortId}))}containsStudyByPredicate(e){return!!this._model&&this._model.dataSources().some((function(t){if(!(t instanceof v))return!1;var i=t.metaInfo();return e(i)}))}containsStudy(e){return this.containsStudyByPredicate((function(t){return t.id===e||t.fullId===e}))}isSmall(){return this._width()<550||this._height()<300}onWidget(){return this._onWidget}onCmeWidget(){return"cme"===this.widgetCustomer()}widgetCustomer(){return this._widgetCustomer}resize(){var e=this._height()+"px",t=this._width()+"px";this._mainDiv.style.height=e,this._mainDiv.style.width=t,this._elMainTable.style.height=e,this._elMainTable.style.width=t,this._resizeHandler&&this._mainDiv&&this._resizeHandler()}chartSession(){return this._chartSession}onLineCancelled(){I.resetToCursor()}_startSpinner(e){this._spinner||e&&(this._spinner=(new U).spin(e))}applyOverrides(e){var t={};for(var i in e)i.startsWith("mainSeriesProperties.priceAxisProperties")||(t[i]=e[i]);if(applyPropertiesOverrides(this.properties(),null,!1,t,null),this._model){ +applyPropertiesOverrides(this._model.model().properties(),null,!1,t),applyPropertiesOverrides(this._model.mainSeries().properties(),null,!1,t,"mainSeriesProperties"),this._model.model().sessions().applyOverrides(t);const e=this._model.chartModel().watermarkSource();null!==e&&e.applyOverrides(t)}}applyStudiesOverrides(e){z.mergeDefaultsOverrides(e),this._applyStudiesOverrides()}setActive(e){this._isActive=e,G().isTouch&&(e&&this.selectPointMode().value()?this.startTrackingMode():this.exitTrackingMode()),this._paneWidgets.forEach((function(e){e.update()})),e||this.model().selectionMacro((function(e){e.clearSelection()}))}isActive(){return this._isActive}trackTime(){return this._chartWidgetCollection.lock.trackTime}isMultipleLayout(){return X(this._chartWidgetCollection.layout.value())}selectPointMode(){return this._model.model().selectPointMode()}cancelRequestSelectPoint(){this._model.model().cancelRequestSelectPoint()}requestSelectPoint(e,t){var i=this;return new Promise((function(s,r){if(a()){I.resetToCursor(!0),i._model.lineBeingCreated()&&i._model.cancelCreatingLine();var n=!1,o={};i._model.model().onPointSelected().subscribe(o,(function(e,t){n=!0,i._isVisible.unsubscribe(a),i._hideHint(),s({point:e,pane:t})}),!0),i._model.model().requestSelectPoint(e),i.startTrackingMode(),void 0!==t&&i._showHint(t),i._isVisible.subscribe(a),i.selectPointMode().subscribe((function(){setTimeout((function(){n||(i.selectPointMode().value()||i._hideHint(),i._model.model().onPointSelected().unsubscribeAll(o),i._isVisible.unsubscribe(a),r("cancelled"))}))}),{once:!0})}function a(){return!!i.isVisible()||(r("Chartwidget must be visible"),i.cancelRequestSelectPoint(),!1)}}))}showReplayOrderConfirmationDialog(){if(!this.model().isInReplay())return Promise.resolve()}_addPerfMark(e){Z("ChartWidget."+this._id+"."+e)}requestFullscreen(){this._options.requestFullscreen()}getResizerDetacher(){return this._options}_createHint(){if(null===this._hintDefferedPromise){var e=ie();this._hintDefferedPromise=e;var t=this;Promise.all([i.e(5514),i.e(5113),i.e(5835),i.e(6166)]).then(i.bind(i,91759)).then((function(i){e.resolve(new i.ChartEventHintRenderer(t._chartWidgetCollection.getContainer()))}))}return this._hintDefferedPromise?l(this._hintDefferedPromise).promise:null}_showHint(e){if(h.enabled("popup_hints"))if(null!==this._activeHint)this._activeHint.show(e);else{var t=this,i=this._createHint();null!==i&&i.then((function(i){if(null!==i){if(t._activeHint=i,void 0===e)return;t._activeHint.show(e)}}))}}_hideHint(){null!==this._activeHint&&this._activeHint.hide()}}},21269:(e,t,i)=>{"use strict" +;var s=i(88537).ensureNotNull,r=i(59572).applyOverridesToStudy,n=i(67072),o=i(68582),a=o.LineDataSourceApi,l=o.isLineToolRiskReward,c=i(67e3).StudyApi,h=i(82650).SeriesApi,d=i(32112).SelectionApi,u=i(56233).PaneApi,p=i(65862).createDwmAligner,_=i(29823).Interval,m=i(16906).supportedLineTools,g=i(65645).showTooManyStudiesNotice,f=i(80643),v=f.isNumber,S=f.deepEquals,y=i(14291).createLineToolProperties,b=i(14291).prepareLineToolPropertiesByOwnerSource,w=i(45973).lineToolEntityInfo,C=i(7099).LineToolsGroupControllerApi,P=i(65284).RemoveSourcesCommand;const{isLineDrawnWithPressedButton:T,isLineToolFinishRequiredWhenCreatedByApi:x}=i(44601),I=i(77216).EnvironmentState;var M=i(37786).ChartWidgetApiBase,L=i(85733);i(51768).trackEvent;function A(e,t){return t.map((function(t){return e.dataSourceForId(t)}))}e.exports=class extends M{constructor(e,t){super(e,t),this._panes=new WeakMap,this._studies=new WeakMap,this._lineDataSources=new WeakMap,this._selectionApi=null,this._prevVisibleRange=null,this._chartWidget.onAboutToBeDestroyed().subscribe(this,this._destroy,!0),this._chartWidget.withModel(this,(function(){this._chartWidget.model().timeScale().logicalRangeChanged().subscribe(this,this._onLogicalRangeChanged)}))}id(){return this._chartWidget.id()}_getPaneApi(e){var t=this._panes.get(e);return void 0===t&&(t=new u(e,this._chartWidget),this._panes.set(e,t)),t}_getStudyApi(e){var t=this._studies.get(e);return void 0===t&&(t=new c(e,this._chartWidget),this._studies.set(e,t)),t}_getLineDataSourceApi(e){var t=this._lineDataSources.get(e);return void 0===t&&(t=new a(e,this._chartWidget.model(),{apiPointsToDataSource:this._convertUserPointsToDataSource.bind(this),dataSourcePointsToPriced:e=>{var t=this._chartWidget.model().mainSeries().syncModel(),i=this._chartWidget.model().timeScale();return e.map(e=>{var s=i.normalizeBarIndex(e.index);return{price:e.price,time:this._convertTimeToPublic(t.projectTime(s.time_t,s.offset))}})}}),this._lineDataSources.set(e,t)),t}executeActionById(e){this._chartWidget.executeActionById(e)}getCheckableActionState(e){return this._chartWidget.getCheckableActionState(e)}setZoomEnabled(e){this._chartWidget.model().model().setZoomEnabled(e)}setScrollEnabled(e){this._chartWidget.model().model().setScrollEnabled(e)}refreshMarks(){this._chartWidget.refreshMarks()}clearMarks(){this._chartWidget.clearMarks()}symbol(){return this._chartWidget.getSymbol()}symbolExt(){var e=this._chartWidget.model().mainSeries().symbolInfo();return e?{symbol:e.name,full_name:e.full_name,exchange:e.exchange,description:e.description,type:e.type,pro_name:e.pro_name,typespecs:e.typespecs}:null}resolution(){return this._chartWidget.model().mainSeries().properties().interval.value()}resetData(){this._chartWidget.model().mainSeries().rerequestData()}setEntityVisibility(e,t){console.warn("`setEntityVisibility` is deprecated. Use shape/study API instead");var i=this._chartWidget.model().model().dataSourceForId(e);if(i){var s=i.properties();s&&s.visible&&s.visible.setValue(t)}}availableZOrderOperations(e){ +var t=A(this._chartWidget.model().model(),e);return this._chartWidget.model().availableZOrderOperations(t)}sendToBack(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().sendToBack(t)}bringToFront(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().bringToFront(t)}insertAfter(e,t){var i=this._chartWidget.model().model(),s=A(i,e),r=i.dataSourceForId(t);this._chartWidget.model().insertAfter(s,r)}insertBefore(e,t){var i=this._chartWidget.model().model(),s=A(i,e),r=i.dataSourceForId(t);this._chartWidget.model().insertBefore(s,r)}bringForward(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().bringForward(t)}sendBackward(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().sendBackward(t)}showPropertiesDialog(e){var t=this._chartWidget.model().model().dataSourceForId(e);if(null===t)throw new Error("Study or shape "+e+" does not exist");this._chartWidget.showChartPropertiesForSource(t)}getAllShapes(){return this._chartWidget.model().model().allLineTools().map(w).filter((function(e){return null!==e.name}))}removeAllShapes(){this._chartWidget.removeAllDrawingTools()}removeAllStudies(){this._chartWidget.removeAllStudies()}removeEntity(e,t){var i=this._chartWidget.model().chartModel().dataSourceForId(e);i?t&&t.disableUndo?new P(this._chartWidget.model().chartModel(),[i],"").redo():this._chartWidget.model().removeSource(i,!0,!0):console.warn("Can't find a source with id: "+e)}removeEntityWithUndo(e){var t=this._chartWidget.model().chartModel().dataSourceForId(e);this._chartWidget.model().removeSource(t,!1)}selection(){return null===this._selectionApi&&(this._selectionApi=new d(this._chartWidget.model().model())),this._selectionApi}createStudyTemplate(e){return this._chartWidget.model().model().studyTemplate(e.saveSymbol,e.saveInterval)}drawOnAllCharts(e){L.drawOnAllCharts.setValue(e)}applyStudyTemplate(e){this._chartWidget.model().applyStudyTemplate(e,""+1e3*Math.random())}setVisibleRange(e,t){return new Promise(function(i){this._chartWidget.setVisibleTimeRange(e.from,e.to,t,i)}.bind(this))}getVisibleRange(){var e={from:0,to:0},t=this._chartWidget.model().timeScale();if(t.isEmpty())return e;var i=t.coordinateToVisibleIndex(0),s=t.coordinateToVisibleIndex(t.width()-1),r=this._convertIndexToPublicTime(s);return null===r||(e.from=this._convertIndexToPublicTime(Math.max(t.points().firstIndex(),i)),e.to=r),e}getVisiblePriceRange(){return console.warn("`getVisiblePriceRange` is deprecated. Use Price Scale API instead"),this._chartWidget.model().mainSeries()?this._chartWidget.model().mainSeries().priceScale().priceRangeInPrice():null}scrollPosition(){return console.warn("`scrollPosition` is deprecated. Use rightOffset from Time Scale API instead"),this._chartWidget.model().timeScale().rightOffset()}defaultScrollPosition(){return console.warn("`defaultScrollPosition` is deprecated. Use defaultRightOffset from Time Scale API instead"),this._chartWidget.model().timeScale().defaultRightOffset().value()}_createTradingPrimitive(e,t){ +var i,r=this._chartWidget.model(),n=r.model(),o=n.paneForSource(n.mainSeries());function a(){var e=TradingView.CLOSE_PLOT,t=s(r.mainSeries().bars().last());return{index:t.index,price:t.value[e]}}return(i=t?n.createLineTool(o,a(),e):r.createLineTool({pane:o,point:a(),linetool:e}))?i._adapter:void 0}createOrderLine(e){e=e||{};return this._createTradingPrimitive("LineToolOrder",e.disableUndo)}createPositionLine(e){e=e||{};return this._createTradingPrimitive("LineToolPosition",e.disableUndo)}createExecutionShape(e){e=e||{};return this._createTradingPrimitive("LineToolExecution",e.disableUndo)}createShape(e,t){return this.createMultipointShape([e],t)}_alignPoints(e){var t=this._chartWidget.model().model(),i=t.mainSeries(),s=i.interval();if(t.timeScale().isEmpty()||!_.isDWM(s))return e;var r=p(s,i.symbolInfo());return null===r?e:e.map((function(e){return r.timeToSessionStart(1e3*e)/1e3}))}_convertUserPointsToDataSource(e){var t=this._chartWidget.model().model(),i=t.mainSeries(),s=t.timeScale().points(),r=i.data();if(t.timeScale().isEmpty())return null;var n=e.map((function(e){return e.time||0})),o=this._alignPoints(n);function a(e,t,n){var o=s.closestIndexLeft(e)||0,a={index:o},l=s.valueAt(o);if(e>l&&o===s.lastIndex())(c=i.syncModel().distance(l,e)).success&&(a.index=a.index+c.result);else if(e2)throw new Error("Wrong points count for "+i.shape+". Required 1 or 2");2===c.length&&(d.startChanging(1,c[1]),d.setPoint(1,c[1]),d.endChanging())}else{var _=d.pointsCount();if(_!==c.length&&-1!==_)throw new Error("Wrong points count for "+i.shape+". Required "+_) +;for(var g=new I(void 0,!0),f=T(s.name),v=1;v{"use strict";var s=i(2872),r=i(88537).assert,n=i(28353).t,o=i(81836).createDeferredPromise,a=(n=i(28353).t,i(24980).TranslatedString),l=i(42060).layouts,c=i(49483).supportTouch,h=i(52940).createUndoHistory,d=i(85733),u=i(25760),p=i(68335),_=i(76422),m=i(67337),g=i(52714),f=i(98125).getLogger("Chart.ChartWidgetCollection"),v=i(54475).preventDefaultForContextMenu,S=i(16654),y=i(64237).rangesAreEqual,b=i(13323).GeneralChartPropertiesRenderer,w=i(9315).setLastUsedResolution,C=i(42120).CompareDialogRenderer,P=i(84015).isOnMobileAppPage,T=i(10480),x=i(37667),I=i(8578),M=I.applyIndicatorsToAllChartsImpl,L=I.applyIndicatorToAllChartsImpl,A=I.lineToolsAndGroupsDTOsImpl,E=I.getStateForChartImpl,k=I.resetLineToolsInvalidatedImpl,D=I.applyLineToolUpdateNotificationImpl,V=I.createClipboardHandler,B=I.chartsSymbolsImpl,N=I.updateLayoutImpl,R=I.computeContentBoxImpl,O=(I.getVisuallyAdjacentDefImpl,I.setLayoutImpl),F=I.removeChartWidgetSubscriptionsImpl,W=I.createChartWidgetImpl,H=I.generateNewChartId,z=I.syncCrosshairImpl,U=I.createBroadcastChannel,j=I.destroyBroadcastChannel,G=I.syncScrollImpl,q=I.allInitialModelsCreated,Y=I.allInitialSymbolsResolved,K=I.applyThemeImpl,$={saveChartEnabled:!0,takeScreenshotEnabled:!0,publishedChartsEnabled:!0},X=new a("symbol lock",n("symbol lock")),Z=new a("interval lock",n("interval lock")),J=new a("date range lock",n("date range lock")),Q=new a("track time",n("track time")),ee=new a("change symbol",n("change symbol")),te=new a("change resolution",n("change resolution")),ie=new a("change series style",n("change series style")) +;n("Bar Replay isn't available for this chart type. Do you want to exit Bar Replay?");e.exports=function(e){var t=this,n=Object.assign({},$,e),a=new g,se=n.readOnly||!1,re=[],ne=0,oe=new g,ae=new g,le=new g,ce="s",he=new g(null),de=new Map,ue=new g([]),pe=new g,_e=[],me=!1,ge=!1,fe=new g(!1),ve=new g(null),Se=new g(!1),ye=new g(!1),be=new g(!1),we=new g(!1),Ce=new g(!1);Ce.subscribe(Ct),he.subscribe(Pt);var Pe=new g(TVSettings.getBool("chart.syncCrosshair",!0)),Te=u.createGroup({desc:"Layout"}),xe=null,Ie=null,Me=null,Le=null;if(window.TVD){var Ae=window.TVD.crosshairSyncEnabled;Ae?(Ae.value()&&(Me=U(Qe)),Le=Ae.subscribe(e=>{e?Me=U(Qe):(j(Qe()),Me=null)})):Me=U(Qe)}var Ee=Pe.value();Pe.subscribe((function(e){Ee=e=!!e,TVSettings.setValue("chart.syncCrosshair",e);for(var t=0;t{var i=n.resizerBridge,r=[i.container.spawn(),i.width.spawn(),i.height.spawn()],o=i.container.value(),a=new s,l=function(){a.fire()};r.forEach((function(e){e.subscribe(l)})),Ye=new e(qe.value(),a,(function(){var e=o.getBoundingClientRect(),t=R(Qe());return t.top=e.top+t.top,t.left=e.left+t.left,t}),t,ChartApiInstance,Ne,n.seriesControlBar),Ke=function(){null!==Ye&&(Ye.destroy(),Ye=null,qe.value().remove(),qe.setValue(null)),r.forEach((function(e){e.destroy()})),a.destroy()}}));var $e=new b(t),Xe=new C(t);function Ze(){Ge.setValue(re.some(e=>{const t=e.chartWidget.lineToolsSynchronizer();return null!==t&&t.hasChanges().value()}))}function Je(e){return I.checkProFeatureImpl(Qe(),e)}function Qe(){return{undoHistory:Fe,chartWidgetsDefs:re,chartsCountToSave:et,actualLayoutCount:tt,savedChartWidgetOptions:_e,activeChartWidget:a,options:n,parent:We,toastsFactory:null,crosshairLockRaw:Ee,crossHairSyncBroadcast:Me,setChartStorageNotificationSubscription:e=>{Ie=e},maximizedChartDef:Be,setMaximized:ot,layoutTemplate:le,widthWV:De,heightWV:Ve,checkProFeature:Je,lineToolsSynchronizerHasChanges:Ge,recalcHasChanges:Ze,onZoom:Ue,onScroll:je, +layoutType:ce,layoutWV:ke,setLayoutType:e=>{ce=e},isPhoneSize:fe,viewMode:pe,updateViewMode:lt,loadingContent:me,setLoadingContent:e=>{me=e},initialLoading:ge,inlineChartsCount:ae,updateWatchedValue:ct,checkAllPendingModelsAlreadyCreated:at,readOnly:se,symbolLock:ye,customLegendWidgetsFactoriesMap:Ot,globalDetachable:oe,saveChartService:xe,customSources:Rt,updateActivityView:ht,chartWidgetCreatedDelegate:ze,sizingState:ve,currentLayoutResizeAction:he,allLayoutSizesState:de,splitters:ue,trackTimeLock:we,widgetOptions:Ne,dateRangeLock:Ce,bottomToolbar:qe,layoutSizesChanged:Se,subscribeToCompletedEventForDateRangeSync:yt}}function et(){return tt()}function tt(){return l[ce].count}function it(e,t,i,s,r){return E(Qe(),e,t,i,s,r)}function st(){N(Qe())}function rt(e){return e.rdState.owner.value()!==e}function nt(e){return O(Qe(),e,t)}function ot(e){Be.value()!==e&&(Be.setValue(e),nt(ce))}function at(){re.every(e=>e.chartWidget.hasModel())&&(ct(),_.emit("layout_changed"))}function lt(){"s"===ce||Be.value()?pe.setValue((void 0).ForceFullscreen):pe.setValue((void 0).Multichart)}function ct(){var e=Math.min(le.value().count,re.length)-1;if(e<0)a.deleteValue();else{var t=ne;t<0&&(t=0),t>e&&(t=e),a.setValue(re[t].chartWidget)}}function ht(){for(var e=re.length;e--;){var t=e===ne;re[e].container.value().classList.toggle("active",t),re[e].container.value().classList.toggle("inactive",!t)}}function dt(e){}ve.subscribe(()=>st()),De.subscribe(st),Ve.subscribe(st),this.updateLayout=st;var ut=new s,pt=new g,_t=new g([]),mt=null;function gt(e){var t=e.mainSeries().properties();t.style.subscribe(null,ft),ft(t.style),e.model().onSelectedSourceChanged().subscribe(null,vt),Ce.value()&&(bt(e),xt()),vt(e.selection().allSources())}function ft(e){pt.setValue(e.value())}function vt(){var e=mt.model();_t.setValue(e.selection().allSources())}a.subscribe((function(e){if(e){for(var t,i=re.length;i--;)if(re[i].chartWidget===e){t=i;break}if(!isFinite(t))throw new Error("Cannot make detached ChartWidget active");if(ne!==t){Be.value()&&(rt(re[t])||Be.setValue(re[t])),ne=t,ht();for(i=re.length;i--;)re[i].chartWidget!==e&&re[i].chartWidget.setActive(!1);Ht(),e.setActive(!0)}!function(e){if(mt!==e){if(mt&&(mt.modelCreated().unsubscribe(null,gt),mt.hasModel())){var t=mt.model();Ce.value()&&wt(t),t.mainSeries().properties().style.unsubscribe(null,ft),t.model().onSelectedSourceChanged().unsubscribe(null,vt),mt=null}e&&(mt=e,e.hasModel()?gt(e.model()):e.modelCreated().subscribe(null,gt))}}(e)}}),{callWithLast:!0});var St=new Map;function yt(e,t){var i=e.id();if(!St.has(i)){var s=function(){St.delete(e.id()),xt(t?e:void 0)};e.model().mainSeries().dataEvents().completed().subscribe(null,s,!0),St.set(i,{cw:e,callback:s})}}function bt(e){e.timeScale().visibleBarsStrictRangeChanged().subscribe(null,Tt)}function wt(e){e.timeScale().visibleBarsStrictRangeChanged().unsubscribe(null,Tt),St.forEach((function(e){var t=e.cw,i=e.callback;t.model().mainSeries().dataEvents().completed().unsubscribe(null,i)})),St.clear()}function Ct(e){var t=a.value();if(t&&t.hasModel()){ +var i=t.model();e?(bt(i),xt()):wt(i)}}function Pt(e){Ce.value()&&null===e&&xt()}function Tt(e,t){xt()}function xt(e){if(Ce.value()&&null===he.value()){var t=a.value(),i=t.model().mainSeries();if(x.isTimeBasedStyle(i.style())){var s=t.model().timeScale(),r=s.visibleBarsStrictRange();if(null!==r){var n=r.firstBar(),o=Math.min(r.lastBar(),s.points().lastIndex()),l=s.indexToTimePoint(n);null===l&&i.endOfData()&&(l=s.indexToTimePoint(s.points().firstIndex()));var c=s.indexToTimePoint(o);if(null!==l&&null!==c){var h=i.barCloseTime();null!==h&&hnull===Be.value()?null:Be.value().chartWidget,destroy:function(){if(Et.fire(),Nt(!1),null!==Ke&&(Ke(),Ke=null),F(Qe()),Ce.unsubscribe(Ct),he.unsubscribe(Pt),re.forEach((function(e){void 0!==e.timingsMeter&&e.timingsMeter.destroy(),e.chartWidget.destroy()})),n.resizerBridge.remove(),ue.value().forEach(e=>{e.mouseHandler.destroy(),e.mouseListener.destroy()}),window.removeEventListener("resize",st),d.tool.unsubscribe(Ht),d.tool.unsubscribe(zt),He.resolve(),We.remove(),Rt.clear(),Ot.clear(),Te.destroy(),Ie&&Ie.destroy(),Ft&&Ft.destroy(),window.TVD){const e=window.TVD.crosshairSyncEnabled;e&&e.unsubscribe(Le),j(Qe())}},onAboutToBeDestroyed:Et,layout:ke.readonly(),setLayout:nt,activeChartWidget:a,viewMode:pe,activeChartStyle:pt.readonly(),setChartStyleToWidget:function(e,t){t||(t=a.value()),t&&function(e,t){var i=e.model(),s=i.mainSeries().properties().style;i.setChartStyleProperty(s,t,ie)}(t,e)},selectedSources:_t.readonly(),metaInfo:Oe,state:function(e,i,s,r){for(var n=[],o=et(),a=0;a{c.layoutsSizes[t]=e}),c},lineToolsAndGroupsDTOs:function(){return A(Qe())},resetLineToolsInvalidated:function(e,t){return k(Qe(),e,t)},applyLineToolUpdateNotification:D.bind(null,re),readOnly:function(){return se},onZoom:function(){return Ue},onScroll:function(){return je},resizerBridge:function(){return n.resizerBridge},lock:{symbol:ye,setSymbolLockWithUndo:function(e){if(e!==ye.value()){if(Fe.beginUndoMacro(X),e)for(var t=a.value(),i=t.getSymbol(),s=0;sz(Qe(),e,t,i,s),syncScroll:function(e,t){return G(Qe(),e,t)},setSymbolAll:Mt,clearChartMetaInfo:function(){Oe.id.setValue(null),Oe.uid.setValue(void 0),Oe.name.setValue(void 0)},takeScreenshot:I.takeScreenshot.bind(this,n.snapshotUrl,this),takeServerScreenshot:I.takeServerScreenshot.bind(this,n.snapshotUrl,this),loadContent:Wt,purgeUnusedWidgets:function(){for(var e=l[ce].count;e1},applyIndicatorToAllCharts:function(e,t,i,s){L(Qe(),e,t,i,s)},setActive:Nt,inlineChartsCount:ae.readonly(),revertToInline:function(){ot(null);for(var e=0;eSe}),Wt(n.content,!0),ke.subscribe((function(){ht()})),ke.hook=function(e){return e===this.value()?e:Je(e)},se&&(ke.writeLock=!0),window.addEventListener("resize",st);var Ut=0;function jt(){0===--Ut&&_.emitOnce("onChartReady")}if(re.forEach((function(e){if(e){Ut++;var t=e.chartWidget;t.withModel(null,(function(){n.metaInfo&&t.model().model().setChartSaveTime(1e3*n.metaInfo.lastModified);var e=t.model().mainSeries();if(e.bars().size()>0||e.isStatusBad())jt();else{var i=e.dataEvents(),s=function(){jt(),i.barReceived().unsubscribe(null,s),i.completed().unsubscribe(null,s),i.error().unsubscribe(null,s)};i.barReceived().subscribe(null,s),i.completed().subscribe(null,s),i.error().subscribe(null,s)}}))}})),c()){var Gt=d.tool.setValue;d.tool.setValue=function(){t.selectedSources.value()&&t.activeChartWidget.value().model().lineBeingCreated()&&t.activeChartWidget.value().model().cancelCreatingLine(),Gt.apply(d.tool,arguments)}}q(Qe()).then(Y).then((function(){window.saver&&window.is_authenticated&&n.widgetOptions.justCloned&&window.saver.saveChartSilently()})).catch(f.logError.bind(f))}},97056:(e,t,i)=>{"use strict";i.d(t,{ContextMenuManager:()=>s});var s,r=i(28296),n=i(59064);!function(e){let t=null,s=null;const o=[],a={createAction:e=>new r.Action({...e,actionId:"Chart.CustomActionId"}),createAsyncAction:e=>new r.ActionAsync("Chart.CustomActionId",e),createSeparator:()=>new r.Separator};async function l(e,r={},n={menuName:""},l){let h;null!==t&&(e=await t(e,a));const d=()=>{const e=o.indexOf(h);-1!==e&&o.splice(e,1),void 0!==l&&l()};if(null!==s)h=await s(e,n,d),c();else{const t=await Promise.all([i.e(5514),i.e(2e3),i.e(3466),i.e(7427),i.e(5998),i.e(1112),i.e(6909),i.e(3520),i.e(2849),i.e(6475),i.e(1584)]).then(i.bind(i,46608));h=new t.ContextMenuRenderer(e,r,d,c)}return o.push(h),h}function c(){(0,n.globalCloseMenu)()}e.createMenu=l,e.showMenu=function(e,t,i={},s,r){return l(e,i,s,r).then(e=>e.show(t))},e.setCustomRendererFactory=function(e){s=e},e.setCustomItemsProcessor=function(e){t=e},e.hideAll=c,e.getShown=function(){for(let e=0;e{"use strict";i.d(t,{DialogRenderer:()=>n}) +;var s=i(52714),r=i.n(s);class n{constructor(){this._container=document.createElement("div"),this._visibility=new(r())(!1)}visible(){return this._visibility.readonly()}_setVisibility(e){this._visibility.setValue(e)}}},73591:(e,t,i)=>{"use strict";var s;i.d(t,{TabNames:()=>s}),function(e){e.background="Background",e.coordinates="Coordinates",e.drawings="Drawings",e.events="Events",e.eventsAndAlerts="Events & Alerts",e.inputs="Inputs",e.properties="Properties",e.scales="Scales",e.legend="Legend",e.sourceCode="Source Code",e.style="Style",e.symbol="Symbol",e.timezoneSessions="Timezone/Sessions",e.trading="Trading",e.visibility="Visibility",e.text="Text"}(s||(s={}))},33225:(e,t,i)=>{"use strict";function s(e){return e.getAll().some(e=>e.isInitialized())}function r(e,t){const i=e.getAll(),s=()=>{t(),i.forEach(e=>{e.chartWidgetInitialized.unsubscribe(null,s)})};i.forEach(e=>{e.chartWidgetInitialized.subscribe(null,s,!0)})}i.r(t),i.d(t,{isAnyChartWidgetInitialized:()=>s,waitAnyChartWidgetInitialized:()=>r})},12409:(e,t,i)=>{"use strict";i.d(t,{getFavoriteDrawingToolbarPromise:()=>o,createFavoriteDrawingToolbar:()=>a});i(28353);var s=i(18387);let r=null,n=null;function o(){return n}function a(){null===n&&(n=Promise.all([i.e(5514),i.e(9129),i.e(8463),i.e(2e3),i.e(6363),i.e(3466),i.e(7836),i.e(7427),i.e(3921),i.e(5998),i.e(1112),i.e(6909),i.e(6416),i.e(7419),i.e(3520),i.e(9042),i.e(323),i.e(2849),i.e(880),i.e(8994),i.e(1890),i.e(638),i.e(1550),i.e(6475),i.e(2306)]).then(i.bind(i,56588)).then(({FavoriteDrawingToolbar:e})=>(r=null!==r?r:new e({left:window.innerWidth/2,top:s.HEADER_TOOLBAR_HEIGHT_EXPANDED+61}),r)))}},41847:(e,t,i)=>{"use strict";i.d(t,{getPriceAxisNameInfo:()=>o});const s=["Z","Y","X","W","V","U","T","S"],r=["A","B","C","D","E","F","G","H"];class n{constructor(e){this.label=e}equals(e){return null!==e&&this.label===e.label}}function o(e,t){const i="left"===e?s:r;return new n(t{"use strict";i.d(t,{CHART_WIDGET_COLLECTION_SERVICE:()=>s});i(16216);const s={id:"ChartWidgetCollectionService"};var r;!function(e){e.Multichart="multichart",e.ForceFullscreen="force-fullscreen"}(r||(r={}))},23653:(e,t,i)=>{"use strict";i.d(t,{InvalidationLevel:()=>s,InvalidationMask:()=>a,defaultInvalidationLevel:()=>o});var s,r=i(88537);class n{constructor(e=o){this._paneInvalidationLevel=o,this._leftPriceScalesInvalidationMap=new Map,this._rightPriceScalesInvalidationMap=new Map,this._invalidationLevel=e}fullInvalidation(){return this._invalidationLevel}invalidateAll(e){this._invalidationLevel=Math.max(this._invalidationLevel,e)}invalidatePane(e){this._paneInvalidationLevel=Math.max(this._invalidationLevel,e)}invalidatePriceScale(e,t,i){const s="left"===e?this._leftPriceScalesInvalidationMap:this._rightPriceScalesInvalidationMap,r=s.get(t)||o;s.set(t,Math.max(r,i))}invalidationLevelForPane(){return Math.max(this._paneInvalidationLevel,this._invalidationLevel)}getterForPriceScaleInvalidationLevelBySide(e){const t="left"===e?this._leftPriceScalesInvalidationMap:this._rightPriceScalesInvalidationMap +;return e=>Math.max(t.get(e)||o,this._invalidationLevel)}priceScaleSideMaxLevel(e){const t="left"===e?this._leftPriceScalesInvalidationMap:this._rightPriceScalesInvalidationMap;let i=this._invalidationLevel;return t.size>0&&t.forEach(e=>{e>i&&(i=e)}),i}merge(e){this._invalidationLevel=Math.max(this._invalidationLevel,e._invalidationLevel),this._paneInvalidationLevel=Math.max(this._paneInvalidationLevel,e._paneInvalidationLevel),e._leftPriceScalesInvalidationMap.forEach((e,t)=>{const i=this._leftPriceScalesInvalidationMap.get(t)||o;this._leftPriceScalesInvalidationMap.set(t,Math.max(i,e))}),e._rightPriceScalesInvalidationMap.forEach((e,t)=>{const i=this._rightPriceScalesInvalidationMap.get(t)||o;this._rightPriceScalesInvalidationMap.set(t,Math.max(i,e))})}}!function(e){e[e.None=0]="None",e[e.Cursor=1]="Cursor",e[e.Light=2]="Light",e[e.Full=3]="Full"}(s||(s={}));const o=s.None;class a{constructor(e=o){this._panesOrderChanged=!1,this._keepVisibleTimeRangeOnResize=!1,this._timeAxisInvalidationLevel=o,this._invalidatedPanes=new Map,this._additionalActions=[],this._invalidationLevel=e}invalidateAll(e){this._invalidationLevel!==e&&(this._invalidationLevel=Math.max(this._invalidationLevel,e),this._invalidatedPanes.forEach(e=>{e.invalidateAll(this._invalidationLevel)}))}invalidateAllPane(e,t){this._invalidatedPanes.has(e)||this._invalidatedPanes.set(e,new n(this._invalidationLevel)),(0,r.ensureDefined)(this._invalidatedPanes.get(e)).invalidateAll(t)}invalidatePriceScale(e,t,i,s){this._invalidatedPanes.has(e)||this._invalidatedPanes.set(e,new n(this._invalidationLevel)),(0,r.ensureDefined)(this._invalidatedPanes.get(e)).invalidatePriceScale(t,i,s)}invalidateTimeScale(e){this._timeAxisInvalidationLevel=Math.max(this._timeAxisInvalidationLevel,e)}invalidatePanesOrder(){this._panesOrderChanged=!0}lockVisibleTimeRangeOnResize(){this._keepVisibleTimeRangeOnResize=!0}fullInvalidation(){return this._invalidationLevel}maxPaneInvalidation(){const e=[];return this._invalidatedPanes.forEach(t=>{e.push(t.fullInvalidation())}),Math.max(...e,this._invalidationLevel)}invalidateForPane(e){return this._invalidatedPanes.get(e)||new n(this._invalidationLevel)}invalidateForTimeScale(){return Math.max(this._timeAxisInvalidationLevel,this._invalidationLevel)}validationActions(){return this._additionalActions}addValidationAction(e){this._additionalActions.push(e)}merge(e){this._invalidationLevel=Math.max(this._invalidationLevel,e._invalidationLevel),this._panesOrderChanged=this._panesOrderChanged||e._panesOrderChanged,this._keepVisibleTimeRangeOnResize=this._keepVisibleTimeRangeOnResize||e._keepVisibleTimeRangeOnResize,this._invalidatedPanes.forEach(e=>{e.invalidateAll(this._invalidationLevel)}),e._invalidatedPanes.forEach((e,t)=>{this._invalidatedPanes.has(t)||this._invalidatedPanes.set(t,new n(this._invalidationLevel)),(0,r.ensureDefined)(this._invalidatedPanes.get(t)).merge(e)}),this._timeAxisInvalidationLevel=Math.max(this._timeAxisInvalidationLevel,e._timeAxisInvalidationLevel) +;for(let t=0;t{"use strict";i.d(t,{lastMouseOrTouchEventInfo:()=>r,setLastMouseOrTouchEventInfo:()=>n});let s=(0,i(49483).supportTouch)()?{isTouch:!0,stylus:!1}:{isTouch:!1};function r(){return s}function n(e){s=e.isTouch?{isTouch:!0,stylus:e.stylus}:{isTouch:!1}}},37416:(e,t,i)=>{"use strict";i.d(t,{layoutInitialSizingState:()=>r});var s=i(3308);i(88537);function r(e){return function e(t){return t.map(i=>{if((0,s.default)(i))return{percent:1/t.length};{const s=i.slice(1);return{percent:1/t.length,substate:e(s)}}})}(e.slice(1))}},42060:(e,t,i)=>{"use strict";i.d(t,{layouts:()=>r,isMultipleLayout:()=>n});i(38069),i(37416);let s;s={};const r={...{s:{title:"1 chart",count:1,layoutType:"s",sizer:(e,t)=>{if(0!==t)throw new RangeError("invalid index");return e},splitters:()=>[],resizeApplier:(e,t,i,s,r)=>r,syncSublayoutsBySplitter:(e,t)=>t,expression:["h",0]}},...s};function n(e){return!function(e){return"s"===e}(e)}},7099:(e,t,i)=>{"use strict";i.d(t,{LineToolsGroupControllerApi:()=>o});var s=i(59555),r=i(88537),n=i(14291);class o{constructor(e,t){this._controller=e,this._model=t}createGroupFromSelection(){return this._controller.createGroupFromSelection().id}removeGroup(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.removeGroup(t)}groups(){return this._controller.groups().map(e=>e.id)}shapesInGroup(e){const t=(0,r.ensureDefined)(this._groupById(e));return(0,s.sortSources)(t.lineTools()).map(e=>e.id())}excludeShapeFromGroup(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._model.dataSourceForId(t));(0,r.assert)((0,n.isLineTool)(s),"Passed shapeId is not a line tool"),this._controller.excludeLineToolFromGroup(i,s)}addShapeToGroup(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._model.dataSourceForId(t));(0,r.assert)((0,n.isLineTool)(s),"Passed shapeId is not a line tool"),this._controller.addLineToolToGroup(i,s)}availableZOrderOperations(e){const t=(0,r.ensureDefined)(this._groupById(e));return this._controller.availableZOrderOperations(t)}bringToFront(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.bringToFront(t)}bringForward(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.bringForward(t)}sendBackward(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.sendBackward(t)}sendToBack(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.sendToBack(t)}insertAfter(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._groupById(t)||this._model.dataSourceForId(t)) +;this._controller.insertAfter(i,s)}insertBefore(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._groupById(t)||this._model.dataSourceForId(t));this._controller.insertBefore(i,s)}groupVisibility(e){return(0,r.ensureDefined)(this._groupById(e)).visibility()}setGroupVisibility(e,t){const i=(0,r.ensureDefined)(this._groupById(e));this._controller.setGroupVisibility(i,t)}groupLock(e){return(0,r.ensureDefined)(this._groupById(e)).locked()}setGroupLock(e,t){const i=(0,r.ensureDefined)(this._groupById(e));this._controller.setGroupLock(i,t)}getGroupName(e){return(0,r.ensureDefined)(this._groupById(e)).name()}setGroupName(e,t){const i=(0,r.ensureDefined)(this._groupById(e));this._controller.setGroupName(i,t)}canBeGroupped(e){const t=e.map(e=>(0,r.ensureNotNull)(this._model.dataSourceForId(e)));return!t.some(e=>!(0,n.isLineTool)(e))&&this._controller.canBeGroupped(t)}_groupById(e){return this._controller.groups().find(t=>t.id===e)}}},54386:(e,t,i)=>{"use strict";i.d(t,{MouseEventHandler:()=>h});var s=i(49483),r=i(88537),n=i(80643),o=i(80007),a=i(71413);const l=s.isSafari?"click":"auxclick",c={treatVertTouchDragAsPageScroll:!1,treatHorzTouchDragAsPageScroll:!1};class h{constructor(e,t,i){this._clickCount=0,this._clickTimeoutId=null,this._clickPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY},this._tapCount=0,this._tapTimeoutId=null,this._tapPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY},this._longTapTimeoutId=null,this._longTapActive=!1,this._mouseMoveStartPosition=null,this._touchMoveStartPosition=null,this._touchMoveExceededManhattanDistance=!1,this._cancelClick=!1,this._cancelTap=!1,this._unsubscribeOutsideMouseEvents=null,this._unsubscribeOutsideTouchEvents=null,this._unsubscribeMobileSafariEvents=null,this._unsubscribeMousemove=null,this._unsubscribeRootMouseEvents=null,this._unsubscribeRootTouchEvents=null,this._startPinchMiddlePoint=null,this._startPinchDistance=0,this._pinchPrevented=!1,this._preventTouchDragProcess=!1,this._mousePressed=!1,this._lastTouchEventTimeStamp=0,this._activeTouchId=null,this._acceptMouseLeave=!s.CheckMobile.iOS(),this._onFirefoxOutsideMouseUp=e=>{this._mouseUpHandler(e)},this._onMobileSafariDoubleClick=e=>{if(this._firesTouchEvents(e)){const t=this._makeCompatEvent(e);if(++this._tapCount,this._tapTimeoutId&&this._tapCount>1){const{manhattanDistance:i}=this._touchMouseMoveWithDownInfo(u(e),this._tapPosition);i<30&&!this._cancelTap&&this._processTouchEvent(t,this._handler.doubleTapEvent),this._resetTapTimeout()}}else{const t=this._makeCompatEvent(e);if(++this._clickCount,this._clickTimeoutId&&this._clickCount>1){const{manhattanDistance:i}=this._touchMouseMoveWithDownInfo(u(e),this._clickPosition);i<5&&!this._cancelClick&&this._processMouseEvent(t,this._handler.mouseDoubleClickEvent),this._resetClickTimeout()}}},this._target=e,this._handler=t,this._options=(0,n.merge)((0,n.clone)(c),i||{}),this._init()}destroy(){null!==this._unsubscribeOutsideMouseEvents&&(this._unsubscribeOutsideMouseEvents(), +this._unsubscribeOutsideMouseEvents=null),null!==this._unsubscribeOutsideTouchEvents&&(this._unsubscribeOutsideTouchEvents(),this._unsubscribeOutsideTouchEvents=null),null!==this._unsubscribeMousemove&&(this._unsubscribeMousemove(),this._unsubscribeMousemove=null),null!==this._unsubscribeRootMouseEvents&&(this._unsubscribeRootMouseEvents(),this._unsubscribeRootMouseEvents=null),null!==this._unsubscribeRootTouchEvents&&(this._unsubscribeRootTouchEvents(),this._unsubscribeRootTouchEvents=null),null!==this._unsubscribeMobileSafariEvents&&(this._unsubscribeMobileSafariEvents(),this._unsubscribeMobileSafariEvents=null),this._clearLongTapTimeout(),this._resetClickTimeout()}_mouseEnterHandler(e){this._unsubscribeMousemove&&this._unsubscribeMousemove();const t=this._mouseMoveHandler.bind(this);if(this._unsubscribeMousemove=()=>{this._target.removeEventListener("mousemove",t)},this._target.addEventListener("mousemove",t),this._firesTouchEvents(e))return;const i=this._makeCompatEvent(e);this._processMouseEvent(i,this._handler.mouseEnterEvent),this._acceptMouseLeave=!0}_resetClickTimeout(){null!==this._clickTimeoutId&&clearTimeout(this._clickTimeoutId),this._clickCount=0,this._clickTimeoutId=null,this._clickPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY}}_resetTapTimeout(){null!==this._tapTimeoutId&&clearTimeout(this._tapTimeoutId),this._tapCount=0,this._tapTimeoutId=null,this._tapPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY}}_mouseMoveHandler(e){if(this._mousePressed||null!==this._touchMoveStartPosition)return;if(this._firesTouchEvents(e))return;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.mouseMoveEvent),this._acceptMouseLeave=!0}_touchMoveHandler(e){const t=m(e.changedTouches,(0,r.ensureNotNull)(this._activeTouchId));if(null===t)return;if(this._lastTouchEventTimeStamp=_(e),null!==this._startPinchMiddlePoint)return;if(this._preventTouchDragProcess)return;this._pinchPrevented=!0;const i=this._touchMouseMoveWithDownInfo(u(t),(0,r.ensureNotNull)(this._touchMoveStartPosition)),{xOffset:s,yOffset:n,manhattanDistance:a}=i;if(this._touchMoveExceededManhattanDistance||!(a<5)){if(!this._touchMoveExceededManhattanDistance){const e=.5*s,t=n>=e&&!this._options.treatVertTouchDragAsPageScroll,i=e>n&&!this._options.treatHorzTouchDragAsPageScroll;t||i||(this._preventTouchDragProcess=!0),this._touchMoveExceededManhattanDistance=!0,this._cancelTap=!0,this._clearLongTapTimeout(),this._resetTapTimeout()}if(!this._preventTouchDragProcess){const i=this._makeCompatEvent(e,t);this._processTouchEvent(i,this._handler.touchMoveEvent),(0,o.preventDefault)(e)}}}_mouseMoveWithDownHandler(e){if(0!==e.button)return;const t=this._touchMouseMoveWithDownInfo(u(e),(0,r.ensureNotNull)(this._mouseMoveStartPosition)),{manhattanDistance:i}=t;if(i>=5&&(this._cancelClick=!0,this._resetClickTimeout()),this._cancelClick){const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.pressedMouseMoveEvent)}}_touchMouseMoveWithDownInfo(e,t){const i=Math.abs(t.x-e.x),s=Math.abs(t.y-e.y);return{ +xOffset:i,yOffset:s,manhattanDistance:i+s}}_touchEndHandler(e){let t=m(e.changedTouches,(0,r.ensureNotNull)(this._activeTouchId));if(null===t&&0===e.touches.length&&(t=e.changedTouches[0]),null===t)return;this._activeTouchId=null,this._lastTouchEventTimeStamp=_(e),this._clearLongTapTimeout(),this._touchMoveStartPosition=null,this._unsubscribeRootTouchEvents&&(this._unsubscribeRootTouchEvents(),this._unsubscribeRootTouchEvents=null);const i=this._makeCompatEvent(e,t);if(this._processTouchEvent(i,this._handler.touchEndEvent),++this._tapCount,this._tapTimeoutId&&this._tapCount>1){const{manhattanDistance:e}=this._touchMouseMoveWithDownInfo(u(t),this._tapPosition);e<30&&!this._cancelTap&&this._processTouchEvent(i,this._handler.doubleTapEvent),this._resetTapTimeout()}else this._cancelTap||(this._processTouchEvent(i,this._handler.tapEvent),this._handler.tapEvent&&(0,o.preventDefault)(e));0===this._tapCount&&(0,o.preventDefault)(e),0===e.touches.length&&this._longTapActive&&(this._longTapActive=!1,(0,o.preventDefault)(e))}_mouseUpHandler(e){if(0!==e.button)return;const t=this._makeCompatEvent(e);if(this._mouseMoveStartPosition=null,this._mousePressed=!1,this._unsubscribeRootMouseEvents&&(this._unsubscribeRootMouseEvents(),this._unsubscribeRootMouseEvents=null),s.isFF){this._target.ownerDocument.documentElement.removeEventListener("mouseleave",this._onFirefoxOutsideMouseUp)}if(!this._firesTouchEvents(e))if(this._processMouseEvent(t,this._handler.mouseUpEvent),++this._clickCount,this._clickTimeoutId&&this._clickCount>1){const{manhattanDistance:i}=this._touchMouseMoveWithDownInfo(u(e),this._clickPosition);i<5&&!this._cancelClick&&this._processMouseEvent(t,this._handler.mouseDoubleClickEvent),this._resetClickTimeout()}else this._cancelClick||this._processMouseEvent(t,this._handler.mouseClickEvent)}_clearLongTapTimeout(){null!==this._longTapTimeoutId&&(clearTimeout(this._longTapTimeoutId),this._longTapTimeoutId=null)}_touchStartHandler(e){if(null!==this._activeTouchId)return;const t=e.changedTouches[0];this._activeTouchId=t.identifier,this._lastTouchEventTimeStamp=_(e);const i=this._target.ownerDocument.documentElement;this._cancelTap=!1,this._touchMoveExceededManhattanDistance=!1,this._preventTouchDragProcess=!1,this._touchMoveStartPosition=u(t),this._unsubscribeRootTouchEvents&&(this._unsubscribeRootTouchEvents(),this._unsubscribeRootTouchEvents=null);{const t=this._touchMoveHandler.bind(this),s=this._touchEndHandler.bind(this);this._unsubscribeRootTouchEvents=()=>{i.removeEventListener("touchmove",t),i.removeEventListener("touchend",s)},i.addEventListener("touchmove",t,{passive:!1}),i.addEventListener("touchend",s,{passive:!1}),this._clearLongTapTimeout(),this._longTapTimeoutId=setTimeout(this._longTapHandler.bind(this,e),240)}const s=this._makeCompatEvent(e,t);this._processTouchEvent(s,this._handler.touchStartEvent),this._tapTimeoutId||(this._tapCount=0,this._tapTimeoutId=setTimeout(this._resetTapTimeout.bind(this),500),this._tapPosition=u(t))}_wheelClickHandler(e){if(1!==e.button)return;if(this._firesTouchEvents(e))return +;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.wheelClickEvent)}_mouseDownHandler(e){if(0!==e.button)return;const t=this._target.ownerDocument.documentElement;s.isFF&&t.addEventListener("mouseleave",this._onFirefoxOutsideMouseUp),this._cancelClick=!1,this._mouseMoveStartPosition=u(e),this._unsubscribeRootMouseEvents&&(this._unsubscribeRootMouseEvents(),this._unsubscribeRootMouseEvents=null);{const e=this._mouseMoveWithDownHandler.bind(this),i=this._mouseUpHandler.bind(this);this._unsubscribeRootMouseEvents=()=>{t.removeEventListener("mousemove",e),t.removeEventListener("mouseup",i)},t.addEventListener("mousemove",e),t.addEventListener("mouseup",i)}if(this._mousePressed=!0,this._firesTouchEvents(e))return;const i=this._makeCompatEvent(e);this._processMouseEvent(i,this._handler.mouseDownEvent),this._clickTimeoutId||(this._clickCount=0,this._clickTimeoutId=setTimeout(this._resetClickTimeout.bind(this),500),this._clickPosition=u(e))}_init(){this._target.addEventListener("mouseenter",this._mouseEnterHandler.bind(this)),this._target.addEventListener("touchcancel",this._clearLongTapTimeout.bind(this));{const e=this._target.ownerDocument,t=e=>{this._handler.mouseDownOutsideEvent&&(e.target&&this._target.contains(e.target)||this._handler.mouseDownOutsideEvent())};this._unsubscribeOutsideTouchEvents=()=>{e.removeEventListener("touchstart",t)},this._unsubscribeOutsideMouseEvents=()=>{e.removeEventListener("mousedown",t)},e.addEventListener("mousedown",t),e.addEventListener("touchstart",t,{passive:!0})}s.CheckMobile.iOS()&&(this._unsubscribeMobileSafariEvents=()=>{this._target.removeEventListener("dblclick",this._onMobileSafariDoubleClick)},this._target.addEventListener("dblclick",this._onMobileSafariDoubleClick)),this._target.addEventListener("mouseleave",this._mouseLeaveHandler.bind(this)),this._target.addEventListener("contextmenu",this._contextMenuHandler.bind(this)),this._target.addEventListener("touchstart",this._touchStartHandler.bind(this),{passive:!0}),(0,o.preventScrollByWheelClick)(this._target),this._target.addEventListener("mousedown",this._mouseDownHandler.bind(this)),this._target.addEventListener(l,this._wheelClickHandler.bind(this)),this._initPinch(),this._target.addEventListener("touchmove",()=>{},{passive:!1})}_initPinch(){void 0===this._handler.pinchStartEvent&&void 0===this._handler.pinchEvent&&void 0===this._handler.pinchEndEvent||(this._target.addEventListener("touchstart",e=>this._checkPinchState(e.touches),{passive:!0}),this._target.addEventListener("touchmove",e=>{if(2===e.touches.length&&null!==this._startPinchMiddlePoint&&void 0!==this._handler.pinchEvent){const t=e.touches[0],i=e.touches[1],s=p(t,i)/this._startPinchDistance,r=d(this._target);this._handler.pinchEvent(this._startPinchMiddlePoint,{x:t.clientX-r.left,y:t.clientY-r.top},{x:i.clientX-r.left,y:i.clientY-r.top},s),(0,o.preventDefault)(e)}},{passive:!1}),this._target.addEventListener("touchend",e=>{this._checkPinchState(e.touches)}))}_checkPinchState(e){1===e.length&&(this._pinchPrevented=!1), +2!==e.length||this._pinchPrevented||this._longTapActive?this._stopPinch():this._startPinch(e)}_startPinch(e){if(void 0!==this._handler.pinchStartEvent){const t=d(this._target),i=e[0],s=e[1],r={x:i.clientX-t.left,y:i.clientY-t.top},n={x:s.clientX-t.left,y:s.clientY-t.top};this._startPinchMiddlePoint={x:(r.x+n.x)/2,y:(r.y+n.y)/2},this._startPinchDistance=p(i,s),this._handler.pinchStartEvent(this._startPinchMiddlePoint,r,n)}this._clearLongTapTimeout()}_stopPinch(){null!==this._startPinchMiddlePoint&&(this._startPinchMiddlePoint=null,void 0!==this._handler.pinchEndEvent&&this._handler.pinchEndEvent())}_mouseLeaveHandler(e){if(this._unsubscribeMousemove&&this._unsubscribeMousemove(),this._firesTouchEvents(e))return;if(!this._acceptMouseLeave)return;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.mouseLeaveEvent),this._acceptMouseLeave=!s.CheckMobile.iOS()}_longTapHandler(e){const t=m(e.touches,(0,r.ensureNotNull)(this._activeTouchId));if(null===t)return;const i=this._makeCompatEvent(e,t);this._processTouchEvent(i,this._handler.longTapEvent),this._processTouchEvent(i,this._handler.touchContextMenuEvent),this._cancelTap=!0,this._longTapActive=!0}_contextMenuHandler(e){if((0,o.preventDefault)(e),null!==this._touchMoveStartPosition)return;if(this._firesTouchEvents(e))return;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.contextMenuEvent),this._cancelClick=!0}_firesTouchEvents(e){return e.sourceCapabilities&&void 0!==e.sourceCapabilities.firesTouchEvents?e.sourceCapabilities.firesTouchEvents:_(e){"touchstart"!==e.type&&(0,o.preventDefault)(e)}}}}function d(e){return e.getBoundingClientRect()||{left:0,top:0}}function u(e){return{x:e.pageX,y:e.pageY}}function p(e,t){const i=e.clientX-t.clientX,s=e.clientY-t.clientY;return Math.sqrt(i*i+s*s)}function _(e){return e.timeStamp||performance.now()}function m(e,t){for(let i=0;i{"use strict";i.d(t,{navigationButtonsVisibilityKey:()=>r,property:()=>n,availableValues:()=>o,actualBehavior:()=>a});var s=i(10133);const r="NavigationButtons.visibility",{property:n,availableValues:o,actualBehavior:a}=(0,s.createVisibilityController)(r)},62428:(e,t,i)=>{"use strict";i.d(t,{property:()=>n,availableValues:()=>o,actualBehavior:()=>a}) +;var s=i(10133),r=i(95707);const{property:n,availableValues:o,actualBehavior:a}=(0,s.createVisibilityController)("PaneButtons.visibility",r.navigationButtonsVisibilityKey)},62138:(e,t,i)=>{"use strict";i.d(t,{ActionBinder:()=>s});class s{constructor(e,t,i,s,r=null){this._property=t,this._undoModel=i,this._undoText=s,this._action=e,this.setValue(t.value()),t.subscribe(this,this._propertyChanged),null!==r?e.update({onExecute:r.bind(this)}):e.update({onExecute:this._onActionCallback.bind(this)})}destroy(){this._property.unsubscribe(this,this._propertyChanged)}value(){return this._action.isChecked()}setValue(e){this._action.update({checked:Boolean(e)})}_onActionCallback(){this._undoModel.setProperty(this._property,this.value(),this._undoText)}_propertyChanged(e){this.setValue(e.value())}}},37701:(e,t,i)=>{"use strict";i.d(t,{isCustomStudy:()=>r});const s={VbPFixed:!0,PivotPointsStandard:!0,VbPVisible:!0};function r(e){return e in s}},56756:(e,t,i)=>{"use strict";i.d(t,{MetaInfoHelper:()=>p});var s=i(88537),r=i(67072),n=i.n(r),o=i(50993),a=i(80643),l=i(98125);const c=["first_visible_bar_time","last_visible_bar_time"];function h(e){return!e.groupId&&!e.isHidden&&!c.includes(e.id)}var d=i(37701);const u=(0,l.getLogger)("Platform.GUI.PropertyDialog.Indicators.MetaInfo");class p{constructor(e){this._metaInfo=e}hasUserEditableInputs(){return this._metaInfo.inputs.some(h)}getUserEditableInputs(){return this._metaInfo.inputs.filter(h)}hasUserEditableProperties(){return n().isScriptStrategy(this._metaInfo)}hasUserEditableStyles(){const e=this._metaInfo;return e.plots.length>0||void 0!==e.bands||void 0!==e.filledAreas||(0,d.isCustomStudy)(e.shortId)||n().isScriptStrategy(this._metaInfo)||Object.values(e.graphics).some(e=>void 0!==e)}getUserEditablePlots(){const e=new Set,t=this._metaInfo;return t.plots.filter(i=>{if((0,o.isColorerPlot)(i)||(0,o.isTextColorerPlot)(i)||(0,o.isDataOffsetPlot)(i)||(0,o.isOhlcColorerPlot)(i)||(0,o.isAlertConditionPlot)(i))return!1;if((0,o.isOhlcPlot)(i)){const r=i.target;if(e.has(r))return!1;e.add(r);const n=(0,s.ensureDefined)(t.ohlcPlots);return!(0,s.ensureDefined)(n[r]).isHidden}{const e=t.styles?t.styles[i.id]:void 0;return void 0===e||!e.isHidden}})}hasUserEditableOptions(){return this.hasUserEditableInputs()||this.hasUserEditableProperties()||this.hasUserEditableStyles()}getStrategyProperties(){const e=this._metaInfo,t=e.inputs.filter(m),i={..._};for(const s of t){const t=s.internalID;i[t]=s,_.hasOwnProperty(t)||u.logWarn(`Unknown strategy input internal id ${t} in ${e.fullId}`)}return(0,a.clone)(i)}}const _={currency:void 0,backtest_fill_limits_assumption:void 0,calc_on_every_tick:void 0,calc_on_order_fills:void 0,commission_value:void 0,commission_type:void 0,initial_capital:void 0,pyramiding:void 0,slippage:void 0,default_qty_type:void 0,default_qty_value:void 0,margin_long:void 0,margin_short:void 0,use_bar_magnifier:void 0};function m(e){return"strategy_props"===e.groupId}},27772:(e,t,i)=>{"use strict";i.d(t,{checkAuthBeforeSaveLoad:()=>r});var s=i(67337);function r(e,t){ +s.enabled("saveload_requires_authentication")?window.runOrSignIn(e,t):e()}},9127:(e,t,i)=>{"use strict";i.d(t,{AbstractJsonStoreService:()=>n,CommonJsonStoreService:()=>o});var s=i(2872),r=i.n(s);class n{constructor(e,t,i,s,n){this._onChange=new(r()),this._handleChange=()=>{this._onChange.fire(this.get())},this._crossTabEvents=e,this._jsonKeyValueStore=t,this.CROSSTAB_EVENT_NAME=i,this.JSON_STORE_KEY=s,this.defaultStoreValue=this._serialize(n),this._subscribe()}get(){const e=this._jsonKeyValueStore.getJSON(this.JSON_STORE_KEY,this.defaultStoreValue);return this._deserialize(e)}set(e,t){const i=this._serialize(e);this._jsonKeyValueStore.setJSON(this.JSON_STORE_KEY,i,t),this._crossTabEvents.emit(this.CROSSTAB_EVENT_NAME),this._onChange.fire(e)}getOnChange(){return this._onChange}destroy(){this._unsubscribe(),this._onChange.destroy(),delete this._onChange}_subscribe(){this._crossTabEvents.on(this.CROSSTAB_EVENT_NAME,this._handleChange),this._jsonKeyValueStore.onSync.subscribe(this,this._handleChange)}_unsubscribe(){this._crossTabEvents.off(this.CROSSTAB_EVENT_NAME,this._handleChange),this._jsonKeyValueStore.onSync.unsubscribe(this,this._handleChange)}}class o extends n{_serialize(e){return e}_deserialize(e){return e}}},86879:(e,t,i)=>{"use strict";i.d(t,{LoadChartService:()=>d});var s=i(67337),r=i(9127);class n extends r.CommonJsonStoreService{constructor(e,t){super(e,t,"FAVORITE_CHARTS_CHANGED","loadChartDialog.favorites",{})}}var o=i(43007),a=i(21097),l=i(56840),c=i(27772),h=i(22729);class d extends h.DialogRenderer{constructor(e=null){super(),this._favoriteChartsService=new n(a.TVXWindowEvents,l),this._chartWidgetCollection=null,this._promise=null,this._dialog=null,this._subscribe=e=>{this._setVisibility(e)},this._getChartEntry=e=>({id:e.id,url:e.url,title:e.name,symbol:e.short_symbol,interval:e.interval,toolsCount:0,modified:e.modified_iso,active:()=>this._isActiveChart(e.id),openAction:()=>o.backend.loadChart(e),deleteAction:()=>o.backend.removeChart(e.image_url).then(()=>this._deleteChart(e.id)),favoriteAction:this._updateFavorites}),this._updateFavorites=e=>this._favoriteChartsService.set(e),this._isActiveChart=e=>null!==this._chartWidgetCollection&&e===this._chartWidgetCollection.metaInfo.id.value(),this._deleteChart=e=>{this._isActiveChart(e)&&(s.enabled("saveload_storage_customization")?null!==this._chartWidgetCollection&&this._chartWidgetCollection.clearChartMetaInfo():location.href="/chart/"+location.search)},this._chartWidgetCollection=e}showLoadDialog(){(0,c.checkAuthBeforeSaveLoad)(this._showLoadDialog.bind(this),{source:"Load chart",sourceMeta:"Chart"})}show(){this.showLoadDialog()}hide(){var e,t;null===(e=this._dialog)||void 0===e||e.hide(),null===(t=this._dialog)||void 0===t||t.visible().unsubscribe(this._subscribe)}_showLoadDialog(){(s.enabled("saveload_requires_authentication")&&!window.is_authenticated?Promise.resolve([]):o.backend.getCharts()).then(e=>e.map(this._getChartEntry)).then(e=>{ +const t=this._promise=Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(2e3),i.e(6363),i.e(7962),i.e(8986),i.e(5774),i.e(1112),i.e(6909),i.e(6427),i.e(5325),i.e(9255),i.e(3304),i.e(1e3),i.e(3245),i.e(5009)]).then(i.bind(i,9512)).then(i=>{if(this._promise===t){this._dialog&&(this._dialog.hide(),this._dialog.visible().unsubscribe(this._subscribe));const t={charts:e,favoriteChartsService:this._favoriteChartsService,chartWidgetCollection:this._chartWidgetCollection};this._dialog=new i.LoadChartDialogRenderer(t),this._dialog.visible().subscribe(this._subscribe),this._dialog.show()}})})}}},41051:(e,t,i)=>{"use strict";i.d(t,{SaveChartService:()=>v});var s=i(67337),r=i(52714),n=i.n(r),o=i(76422),a=i(68425),l=i(27772);i(94419);var c=i(28353),h=i(43007);async function d(){return!0}var u=i(3615);const p=s.enabled("confirm_overwrite_if_chart_layout_with_name_exists");class _{constructor(e,t,i){this._visibility=new(n())(!1),this._chartWidgetCollection=e,this._doSave=t,this._doLoad=i}hide(){var e;null===(e=this._hide)||void 0===e||e.call(this),this._visibility.setValue(!1)}visible(){return this._visibility.readonly()}_showRenameDialog(e,t,i,s){return(0,u.showRename)({title:this._renameDialogTitle(),text:this._renameDialogText(),maxLength:64,initValue:e,onRename:async e=>{if(!p)return void this._renameActionHandler(e,t,i,s);const{newValue:r,dialogClose:n}=e,o=(await this._doLoad()).find(e=>e.name===r);n(),void 0!==o?this._hide=await(0,u.showConfirm)({title:(0,c.t)("A layout with that name already exists"),text:(0,c.t)("A layout with that name already exists. Do you want to overwrite it?"),onConfirm:({dialogClose:e})=>{e(),this._doOverwriteExistingLayout(o.id,r,t,i,s)},onCancel:({dialogClose:e})=>{e(),this._showRenameDialog(r,t,i,s)}}):this._renameActionHandler({newValue:r,dialogClose:n},t,i,s)},onClose:()=>this._visibility.setValue(!1)})}_doSaveCurrentLayout(e,t,i,s){const r=this._chartWidgetCollection.metaInfo.name.value();this._chartWidgetCollection.metaInfo.name.setValue(e),this._doSave(t,i,()=>{this._chartWidgetCollection.metaInfo.name.setValue(r),null==s||s()})}_doOverwriteExistingLayout(e,t,i,s,r){const n=this._chartWidgetCollection.metaInfo.name.value();this._chartWidgetCollection.metaInfo.id.setValue(e),this._chartWidgetCollection.metaInfo.name.setValue(t),this._doSave(i,s,()=>{this._chartWidgetCollection.metaInfo.name.setValue(n),null==r||r()})}}class m extends _{cloneChart(){this._cloneChart().then(()=>this._visibility.setValue(!0))}show(){(0,l.checkAuthBeforeSaveLoad)(()=>this.cloneChart(),{source:"Clone chart"})}_renameDialogTitle(){return(0,c.t)("Copy Chart Layout")}_renameDialogText(){return(0,c.t)("Enter a new chart layout name")+":"}_renameActionHandler({newValue:e,dialogClose:t}){s.enabled("saveload_storage_customization")&&this._doCloneCurrentLayout(e),t()}async _cloneChart(){const e=await d();e&&(this._hide=await this._showRenameDialog(this._getInitialRenameDialogInput()))}_doCloneCurrentLayout(e){const t=this._chartWidgetCollection.metaInfo.name.value() +;this._chartWidgetCollection.metaInfo.uid.deleteValue(),this._chartWidgetCollection.metaInfo.id.deleteValue(),this._chartWidgetCollection.metaInfo.name.setValue(e),this._doSave(void 0,void 0,()=>{this._chartWidgetCollection.metaInfo.name.setValue(t)})}_getInitialRenameDialogInput(){return(0,c.t)("{title} copy",{context:"ex: AAPL chart copy"}).format({title:this._chartWidgetCollection.metaInfo.name.value()})}}class g extends _{show(e,t,i){this._saveNewChart(e,t,i).then(()=>this._visibility.setValue(!0))}_renameDialogTitle(){return(0,c.t)("Save New Chart Layout")}_renameDialogText(){return(0,c.t)("Enter a new chart layout name")+":"}_renameActionHandler({newValue:e,dialogClose:t},i,s,r){this._doSaveCurrentLayout(e,i,s,r),t()}async _saveNewChart(e,t,i){await d();const s=this._chartWidgetCollection.metaInfo.name.value();this._hide=await this._showRenameDialog(s,e,t,i)}}class f extends _{show(){(0,l.checkAuthBeforeSaveLoad)(()=>this._show(),{source:"Rename chart"})}_renameDialogTitle(){return(0,c.t)("Rename Chart Layout")}_renameDialogText(){return(0,c.t)("Enter a new chart layout name")+":"}_renameActionHandler({newValue:e,dialogClose:t}){this._doSaveCurrentLayout(e),t()}async _show(){await this._renameChart(),this._visibility.setValue(!0)}async _renameChart(){const e=this._chartWidgetCollection.metaInfo.name.value();this._hide=await this._showRenameDialog(e)}}class v{constructor(e,t){this._autosaveTimer=null,this._watchedAutoSaveEnabled=new(n()),this._toggleAutoSaveEnabledHandler=this._toggleAutoSaveEnabled.bind(this),this._doSave=(e,t,i,s)=>{const r=this._chartWidgetCollection;void 0!==e&&e(),this._chartSaver.saveChartSilently(e=>{var i;i=r.metaInfo.uid.value(),"/chart/"===location.pathname&&(location.href="/chart/"+i),void 0!==t&&t(e)},()=>{void 0!==i&&i()},{autoSave:Boolean(s)})},this._doLoad=()=>h.backend.getCharts(),this._chartWidgetCollection=e,this._chartSaver=t,this._createController=new g(e,this._doSave,this._doLoad),this._renameController=new f(e,this._doSave,this._doLoad),this._saveAsController=new m(e,this._doSave,this._doLoad),this._chartChangesWatcher=new a.ChartChangesWatcher(e.undoHistory,e.lineToolsSynchronizerHasChanges,t,o),e.saveKeysPressed().subscribe(this,this.saveChartOrShowTitleDialog),this._chartChangesWatcher.getOnChange().subscribe(this,this._onStateChanged)}autoSaveEnabled(){return this._watchedAutoSaveEnabled}destroy(){0}getCreateController(){return this._createController}getRenameController(){return this._renameController}getSaveAsController(){return this._saveAsController}cloneChart(){this._saveAsController.cloneChart()}saveChartAs(){this._saveAsController.show()}renameChart(){this._renameController.show()}saveNewChart(e,t,i){this._createController.show(e,t,i)}saveExistentChart(e,t,i){this._doSave(e,t,i)}hasChanges(){return this._chartChangesWatcher.hasChanges()}saveChartOrShowTitleDialog(e,t,i){const s=window.saver.isSaveInProcess(),r=this._chartChangesWatcher.hasChanges(),n=!!this._chartWidgetCollection.metaInfo.id.value();window.is_authenticated&&(s||!r&&n)||(0, +l.checkAuthBeforeSaveLoad)(()=>{null!=this._chartWidgetCollection.metaInfo.id.value()?this.saveExistentChart(e,t,i):this.saveNewChart(e,t,i)},{source:"Save chart",sourceMeta:"Chart"})}whenReadyToSave(e){this._chartSaver.whenReadyToSave(e)}saveToJSON(){return this._chartSaver.saveToJSON()}saveChartSilently(e,t,i){this._chartSaver.saveChartSilently(e,t,i)}setAutoSaveEnabled(e){window.is_authenticated&&window.saver.isSaveInProcess()||(0,l.checkAuthBeforeSaveLoad)(()=>{this._watchedAutoSaveEnabled.setValue(e)},{source:"AutoSave chart"})}saveChartLineTools(e,t,i){return this._chartSaver.saveChartLineTools(e,t,i)}_autoSaveEnabledSettingHandler(e){0}_toggleAutoSaveEnabled(e){0}_enableAutoSave(){0}_disableAutoSave(){0}_onStateChanged(e){e?this._startAutosave():this._stopAutosave()}_startAutosave(){s.enabled("charts_auto_save")&&null===this._autosaveTimer&&(this._autosaveTimer=setTimeout(()=>{this._autosaveTimer=null,this._chartWidgetCollection.metaInfo.id.value()&&this._doSave(void 0,void 0,void 0,!0)},6e4))}_stopAutosave(){null!==this._autosaveTimer&&(clearInterval(this._autosaveTimer),this._autosaveTimer=null)}}},13647:(e,t,i)=>{"use strict";i.d(t,{showMarketOpenStatusProperty:()=>o,restoreShowMarketOpenStatusProperty:()=>a});var s=i(32255),r=i(56840);function n(){return r.getBool("Chart.ShowMarketOpenStatus",!0)}const o=(0,s.createPrimitiveProperty)(n());function a(){o.setValue(!0),r.remove("Chart.ShowMarketOpenStatus")}r.onSync.subscribe(null,()=>o.setValue(n())),o.subscribe(null,()=>r.setValue("Chart.ShowMarketOpenStatus",o.value()))},46723:(e,t,i)=>{"use strict";i.d(t,{StudyTemplates:()=>p});var s=i(28353),r=i(43007),n=i(51768),o=i(2872),a=i.n(o),l=i(52714),c=i.n(l),h=i(3615);const d=(0,i(98125).getLogger)("Platform.StudyTemplates"),u=(0,s.t)("Do you really want to delete Study Template '{name}' ?");class p{constructor(e){this._chartWidgetCollection=e.chartWidgetCollection,this._favoriteStudyTemplatesService=e.favoriteStudyTemplatesService,window.loginStateChange.subscribe(null,r.backend.invalidateStudyTemplatesList),this._list=new(c())([]),this._onChange=new(a()),this._list.subscribe(()=>this._onChange.fire())}findRecordByName(e){return this._list.value().find(t=>t.name===e)||null}showSaveAsDialog(){const e=this._chartWidgetCollection.activeChartWidget.value().model();Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(9289),i.e(7962),i.e(8986),i.e(7836),i.e(7427),i.e(5998),i.e(7552),i.e(7345),i.e(5804),i.e(1e3),i.e(2502),i.e(6631)]).then(i.bind(i,33165)).then(t=>{new t.StudyTemplateSaver({controller:e,onSave:e=>{this._list.setValue(e)}}).show()})}applyTemplate(e){const t=this.findRecordByName(e);null!==t?window.runOrSignIn(()=>{const e=this._chartWidgetCollection.activeChartWidget.value(),i=i=>{(0,n.trackEvent)("GUI","Load Study Template"),e.model().applyStudyTemplate(JSON.parse(i.content),t.name)};void 0!==t.id?t.is_default?r.backend.getStandardStudyTemplateContentById(t.id,i):r.backend.getStudyTemplateContentById(t.id,i):r.backend.getStudyTemplateContent(t.name).then(i)},{ +source:"Study templates apply"}):d.logNormal(`Template ${e} not found in cache`)}deleteStudyTemplate(e){const t=this.findRecordByName(e);null!==t?this._removeTemplate(t):d.logNormal(`Template ${e} not found in cache`)}list(){return this._list.value()}getOnChange(){return this._onChange}refreshStudyTemplateList(e){r.backend.getStudyTemplatesList().then(t=>{this._list.setValue(t),void 0!==e&&e()})}invalidate(){r.backend.invalidateStudyTemplatesList()}_removeTemplate(e){window.runOrSignIn(()=>{(0,h.showConfirm)({text:u.format({name:e.name}),onConfirm:({dialogClose:t})=>new Promise(i=>{const s=()=>{this.refreshStudyTemplateList(()=>{const s=this.list();this._list.setValue(s.filter(t=>t!==e)),this._favoriteStudyTemplatesService&&this._favoriteStudyTemplatesService.remove(e.name),i(),t()})};r.backend.invalidateStudyTemplatesList(),void 0!==e.id?r.backend.removeStudyTemplateById(e.id,s):r.backend.removeStudyTemplate(e.name).then(s)})})},{source:"Study templates delete"})}}},38318:(e,t,i)=>{"use strict";i.d(t,{canShowSpreadActions:()=>c,globalKeypressMatches:()=>h,intervalIsSupported:()=>l,parseIntervalValue:()=>a});var s=i(67337),r=i(9315),n=i(82992),o=i(29823);new RegExp("^quandl","i");function a(e){let t;t=/^[,\s]*(^[1-9][0-9]*)?\s*([hdwmst]?)\s*$/i;const i=t.exec(e)||[],s=~~i[1],r=i[2]&&i[2].toUpperCase()||null,n={qty:!s&&r?1:s,unit:r};return n.error=!s&&!r,n.intraday=!(n.error||n.unit&&"H"!==n.unit&&"S"!==n.unit&&"T"!==n.unit),n}function l(e){if(s.enabled("allow_supported_resolutions_set_only")){const t=o.Interval.normalize(e);return null!==t&&(0,r.isAvailable)(t)}{const t=a(e);if(t.error)return!1;if(t.intraday)return n.linking.intraday.value();{const e=n.linking.supportedResolutions.value();return!e||null!==t.unit&&!!~e.indexOf(t.unit)}}}function c(){let e=!1;return s.enabled("show_spread_operators")&&(e=!0),e}function h(e){return!e.ctrlKey&&(!e.metaKey&&(!!e.charCode&&(!(!e.which||e.which<=32)&&(null===e.target||!/^(input|textarea)$/i.test(e.target.tagName)))))}},11181:(e,t,i)=>{"use strict";function s(){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(7962),i.e(8986),i.e(7836),i.e(3921),i.e(5774),i.e(2153),i.e(9255),i.e(3304),i.e(1e3),i.e(1594),i.e(1754)]).then(i.bind(i,89324))}i.d(t,{loadNewSymbolSearch:()=>s})},92033:(e,t,i)=>{"use strict";i.d(t,{tradingService:()=>n,waitTradingService:()=>o});var s=i(16216);const r={id:"TradingService"};function n(){return(0,s.hasService)(r)?(0,s.service)(r):null}function o(){return(0,s.waitServiceRegistered)(r)}},88060:(e,t,i)=>{"use strict";i.d(t,{TradingViewApiBase:()=>S});var s=i(88537),r=i(82992),n=i(67337),o=i(51768),a=i(6087),l=i(45345),c=i(2872),h=i.n(c);class d{constructor(e){this._toolbarThemeChanged=new(h()),this._onWatchedThemeChanged=e=>{this._toolbarThemeChanged.fire(e)},this._opts=e,l.watchedTheme.subscribe(this._onWatchedThemeChanged)}destroy(){l.watchedTheme.unsubscribe(this._onWatchedThemeChanged)}isStdTheme(){const e=this._opts.chartWidgetCollection.getAll().every(e=>(0,a.isStdTheme)((0,a.extractThemeFromModel)(e.model()))) +;return Promise.resolve(e)}async setStdTheme(e,t=!0,i){await(0,a.loadTheme)(this._opts.chartWidgetCollection,{themeName:e,standardTheme:!0,syncState:t,noUndo:i})}setStdThemeForLayout(e,t=!0){(0,l.setTheme)(e),t&&(0,a.syncTheme)()}getCurrentThemeName(){return(0,a.getCurrentTheme)().name}toolbarThemeChanged(){return this._toolbarThemeChanged}}var u=i(16906),p=i(85733),_=i(52714),m=i.n(_),g=i(88564);const f=new(h());function v(){throw new Error("not implemented")}class S{constructor(e){this._studyTemplatesDrawer=null,this._fontIconsSettingsDrawer=null,this._favoriteDrawingsToolbar=null,this._themesApi=null,this._newsApiDeferredPromise=null,this._newsApiRejectionReason=null,this._watchlistApiDeferredPromise=null,this._watchlistApiRejectionReason=null,this._widgetbarApiDeferredPromise=null,this._widgetbarApiRejectionReason=null,this._isDestroyed=!1,this._widgebarApi=null,this._magnetEnabledWatchedValue=null,this._magnetModeWatchedValue=null;const{chartApiInstance:t,chartWidgetCollection:i,studyMarket:s,financialsDialog:n,saveChartService:o,loadChartService:a,sharingChartService:l=null}=e;this._chartWidgetCollection=i,this._studyMarket=s,this._financialsDialog=n,this._saveChartService=o,this._sharingChartService=l,this._loadChartLayoutDialog=a,this._intervalsService=null,this._alertsWidgetDialog=null,this._detailsDialogController=null,this._supportedChartStylesSpawn=r.linking.supportedChartStyles.spawn(),this._chartWidgetCollection.onAboutToBeDestroyed.subscribe(null,()=>this.destroy(),!0)}destroy(){var e,t,i;this._supportedChartStylesSpawn.destroy(),null===(e=this._intervalsService)||void 0===e||e.destroy(),null===(t=this._themesApi)||void 0===t||t.destroy(),null===(i=this._widgebarApi)||void 0===i||i.destroy(),this._widgetbarApiRejectionReason="This ITradingViewApi instance has been destroyed",this._isDestroyed=!0}themes(){return null===this._themesApi&&(this._themesApi=new d({chartWidgetCollection:this._chartWidgetCollection})),this._themesApi}dialogs(){var e,t,i,s,r,n;return{Indicators:this._studyMarket,Financials:this._financialsDialog,Compare:this._chartWidgetCollection.getCompareDialogRenderer(),ObjectsTree:null,ChartProperties:this._chartWidgetCollection.getChartPropertiesDialogRenderer(),ChartLayoutSaveAs:null!==(t=null===(e=this._saveChartService)||void 0===e?void 0:e.getSaveAsController())&&void 0!==t?t:null,ChartLayoutRename:null!==(s=null===(i=this._saveChartService)||void 0===i?void 0:i.getRenameController())&&void 0!==s?s:null,ChartLayoutCreate:null!==(n=null===(r=this._saveChartService)||void 0===r?void 0:r.getCreateController())&&void 0!==n?n:null,ChartLayoutLoad:this._loadChartLayoutDialog,Alerts:this._alertsWidgetDialog,Details:this._detailsDialogController,FinancialsCharts:null}}studyTemplatesDrawerApi(){v()}fontIconsSettingsDrawer(){v()}intervalsService(){v()}supportedChartTypes(){return this._supportedChartStylesSpawn}setBrokerName(e){this._chartWidgetCollection.setBroker(e)}drawOnAllChartsMode(e){(0,p.drawOnAllChartsMode)().setValue(e)}disableTrackingEvents(){(0,o.disableTrackingEvents)()} +setSymbolSearchUI(e){v()}setLayout(e,t){(null==t?void 0:t.withUndo)?this._chartWidgetCollection.setChartLayoutWithUndo(e):this._chartWidgetCollection.setLayout(e)}selectLineTool(e,t){if(!u.supportedLineTools[e])return;const i=u.supportedLineTools[e].name;if("icon"===e){const e=null==t?void 0:t.icon;void 0!==e&&p.iconTool.setValue(e)}p.tool.setValue(i)}favoriteDrawingsToolbar(){return i.e(5551).then(i.bind(i,88823)).then(e=>(this._favoriteDrawingsToolbar||(this._favoriteDrawingsToolbar=new e.FavoriteDrawingsApi),this._favoriteDrawingsToolbar))}sharingChart(){return this._sharingChartService}watchlist(){v()}setWatchlistApiPromise(e){v()}news(){v()}setNewsApiPromise(e){v()}widgetbar(){v()}setWidgetbarApiPromise(e){v()}setDebugMode(e){n.setEnabled("charting_library_debug_mode",e)}setFeatureEnabled(e,t){n.setEnabled(e,t)}magnetEnabled(){return null===this._magnetEnabledWatchedValue&&(this._magnetEnabledWatchedValue=new(m())((0,p.properties)().childs().magnet.value()),this._magnetEnabledWatchedValue.subscribe(e=>{(0,g.saveDefaultProperties)(!0),(0,p.properties)().childs().magnet.setValue(e),(0,g.saveDefaultProperties)(!1)}),(0,p.properties)().childs().magnet.subscribe(this,()=>{(0,s.ensureNotNull)(this._magnetEnabledWatchedValue).setValue((0,p.properties)().childs().magnet.value())})),this._magnetEnabledWatchedValue}magnetMode(){return null===this._magnetModeWatchedValue&&(this._magnetModeWatchedValue=new(m())((0,p.properties)().childs().magnetMode.value()),this._magnetModeWatchedValue.subscribe(e=>{(0,g.saveDefaultProperties)(!0),(0,p.properties)().childs().magnetMode.setValue(e),(0,g.saveDefaultProperties)(!1)}),(0,p.properties)().childs().magnetMode.subscribe(this,()=>{(0,s.ensureNotNull)(this._magnetModeWatchedValue).setValue((0,p.properties)().childs().magnetMode.value())})),this._magnetModeWatchedValue}flushBufferedData(){f.fire()}}},28399:(e,t,i)=>{"use strict";var s=i(2872),r=i(52714),n=i(82992).linking,o=(i(81836).createDeferredPromise,i(21269)),a=i(42060).layouts,l=i(76422),c=i(97056).ContextMenuManager,h=i(85733),d=i(9315),u=i(43007).backend,p=i(98125),_=i(3615).showWarning,m=i(3615).showConfirm,g=i(16906),f=i(52092).CLOSE_POPUPS_AND_DIALOGS_COMMAND,v=i(29823).Interval,S=i(88564).saveDefaultProperties,y=i(68425).ChartChangesWatcher,b=i(88060).TradingViewApiBase,w=i(67072),C=i(152).getStudyInputsInfo,P=i(70120).getStudyStylesInfo;e.exports=class extends b{constructor(e){const{chartWidgetCollection:t,saveChartService:i,loadChartService:r,sharingChartService:o,alertsDispatcher:a,supportTicketData:l,favoriteServices:c,chartApiInstance:h=null,studyMarket:d=null,financialsDialog:u=null}=e;super({chartApiInstance:h,chartWidgetCollection:t,studyMarket:d,financialsDialog:u,saveChartService:i,loadChartService:r,sharingChartService:o}),this._chartApiInstance=h,this._loadChartService=r,this._alertsDispatcher=a,this._supportTicketData=l,this._favoriteServices=c,this._proxyWatchListChangedDelegate=null,this._lockDrawingsWatchedValue=null,this._hideDrawingsWatchedValue=null,this._hideIndicatorsWatchedValue=null, +this._magnetEnabledWatchedValue=null,this._magnetModeWatchedValue=null,this._replayApi=null,this._chartChangesWatcher=null,this._hasChartChangesWatchedValue=null,this._getDataSourceHub=function(){return t.activeChartWidget.value().model().model()},this._chartWidgetCollection.getResizerDetacher=function(){return t.activeChartWidget.value().getResizerDetacher()},this._alertService=this._alertsDispatcher?new(void 0)(this._alertsDispatcher,this._getDataSourceHub):null,this._activeChangedChangedDelegate=new s,this._chartWidgetCollection.activeChartWidget.subscribe(function(){this._activeChangedChangedDelegate.fire()}.bind(this)),this._chartWidgets=new WeakMap,this._activateChart=function(e){t.activeChartWidget.setValue(e)},this.linking=n}subscribe(e,t){l.subscribe(e,t)}unsubscribe(e,t){l.unsubscribe(e,t)}onContextMenu(e){l.subscribe("onContextMenu",(function(t){t.callback(e(t.unixtime,t.price))}))}onGrayedObjectClicked(e){l.subscribe("onGrayedObjectClicked",e)}activeChart(){return this._getChartWidgetApi(this._chartWidgetCollection.activeChartWidget.value())}_getChartWidgetApi(e){var t=this._chartWidgets.get(e);return void 0===t&&(t=new o(e,this._activateChart.bind(null,e)),this._chartWidgets.set(e,t)),t}onActiveChartChanged(){return this._activeChangedChangedDelegate}changeSymbol(e,t,i){n.interval.setValue(v.normalize(t)),n.symbol.setValue(e),i&&this.activeChart().onDataLoaded().subscribe(null,i,!0)}layout(){return this._chartWidgetCollection.layout.value()}layoutName(){return this._chartWidgetCollection.metaInfo.name.value()}layoutNameWatchedValue(){return this._chartWidgetCollection.metaInfo.name.readonly()}layoutSettingsDrawer(){throw new Error("not implemented")}chartsCount(){return a[this.layout()].count}viewMode(){throw new Error("not implemented")}viewModeWatchedValue(){throw new Error("not implemented")}setForceFullscreenMode(){throw new Error("not implemented")}setMultichartMode(){throw new Error("not implemented")}setActiveChart(e){throw new Error("not implemented")}chart(e){if(void 0===e&&(e=0),e<0||e>=this.chartsCount())throw Error("Incorrect index: "+e);return this._getChartWidgetApi(this._chartWidgetCollection.getAll()[e])}getSymbolInterval(e){var t={symbol:n.symbol.value(),interval:n.interval.value()};return e&&e(t),t}saveChart(e){if(this._saveChartService){var t=this;this._saveChartService.whenReadyToSave((function(){var i=t._saveChartService.saveToJSON();return e&&e(JSON.parse(i.content))}))}}loadChart(e){this._chartApiInstance.disconnect(),this._chartWidgetCollection.loadContent(e.json),this._chartWidgetCollection.purgeUnusedWidgets(),e.extendedData&&(this._chartWidgetCollection.metaInfo.id.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.uid.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.name.setValue(e.extendedData.name)),this._chartApiInstance.connect(),n.symbol.setValue(this.activeChart().symbol()),l.emit("chart_loaded")}getStudiesList(){return this._chartApiInstance.allStudiesMetadata().filter((function(e){return!e.is_hidden_study})).map((function(e){ +return e.description}))}getStudyInputs(e){{const t=w.findStudyMetaInfoByDescription(this._chartApiInstance.allStudiesMetadata(),e);return C(t)}}getStudyStyles(e){{const t=w.findStudyMetaInfoByDescription(this._chartApiInstance.allStudiesMetadata(),e);return P(t)}}getSavedCharts(e){u.getCharts().then(e)}loadChartFromServer(e){u.loadChart(e)}saveChartToServer(e,t,i){this._saveChartService&&this._saveChartService.saveChartSilently(e,t,i)}setAutosave(e){this._saveChartService&&this._saveChartService.autoSaveEnabled().setValue(e)}removeChartFromServer(e,t){u.removeChart(e).then(t)}getIntervals(){var e=[],t=d.getCustomResolutions();return null!==this._chartApiInstance&&(e=this._chartApiInstance.defaultResolutions()),d.mergeResolutions(e,t)}closePopupsAndDialogs(){c.hideAll(),l.emit(f)}selectedLineTool(){for(var e=Object.keys(g.supportedLineTools),t=h.tool.value(),i=0;i{"use strict";i.d(t,{addPlusButtonProperty:()=>o,restoreAddPlusButtonSettingsValue:()=>a});var s=i(56840),r=i(32255);function n(){return s.getBool("add_plus_button",!0)}const o=(0,r.createPrimitiveProperty)(n());function a(){o.setValue(!0),s.remove("add_plus_button")}s.onSync.subscribe(null,()=>o.setValue(n())),o.listeners().subscribe(null,()=>s.setValue("add_plus_button",o.value()))},20165:(e,t,i)=>{"use strict";i.d(t,{alignToStep:()=>n});var s=i(60521),r=i.n(s);function n(e,t){return r()(e).div(t).round(0,r().roundHalfUp).mul(t).toNumber()}},44419:(e,t,i)=>{"use strict";i.d(t,{AppliedTimeFrame:()=>r});var s=i(40144);class r{constructor(e){this._appliedTimeFrame=new s.WatchedObject(null),this._appliedTimeFrameInfo=null,this._appliedTimeFrameChangedBound=this._appliedTimeFrameChanged.bind(this),this._model=e,e.mainSeries().dataEvents().seriesTimeFrame().subscribe(this,this._onSeriesTimeFrame),this._appliedTimeFrame.subscribe(this._appliedTimeFrameChangedBound)}destroy(){this._appliedTimeFrame.unsubscribe(this._appliedTimeFrameChangedBound),this._model.timeScale().logicalRangeChanged().unsubscribeAll(this),this._model.mainSeries().dataEvents().seriesTimeFrame().unsubscribeAll(this)}appliedTimeFrame(){return this._appliedTimeFrame}_appliedTimeFrameChanged(){this._model.timeScale().logicalRangeChanged().unsubscribe(this,this._invalidateAppliedTimeFrame)}_onSeriesTimeFrame(e,t,i,s){if(s){const e=this._model.timeScale();this._appliedTimeFrameInfo={logicalRange:e.logicalRange(),baseIndex:e.baseIndex()},e.logicalRangeChanged().subscribe(this,this._invalidateAppliedTimeFrame)}}_invalidateAppliedTimeFrame(){if(null===this._appliedTimeFrameInfo)return;const e=this._model.timeScale(),t=e.logicalRange(),i=e.baseIndex(),s=this._appliedTimeFrameInfo.logicalRange,r=this._appliedTimeFrameInfo.baseIndex;(null===t||null===s||Math.abs(i-t.left()-(r-s.left()))>=.01||Math.abs(i-t.right()-(r-s.right()))>=.01)&&this._appliedTimeFrame.setValue(null)}}},67396:(e,t,i)=>{"use strict";i.d(t,{defaultsPreferencesByWhiteList:()=>P,preferencesByWhiteList:()=>C});var s=i(80643),r=i(27759);var n=i(98125),o=i(3825),a=i(59803),l=i(47484),c=i(15840),h=i(49642);const d=(0,n.getLogger)("Chart.ApplyPreferencesToAllCharts"),u={color:"",style:0},p={autoScale:!1,autoScaleDisabled:!1,lockScale:!1,percentage:!1,percentageDisabled:!1,log:!1,logDisabled:!1,alignLabels:!1,isInverted:!1,indexedTo100:!1},_={backgroundType:h.ColorType.Solid, +background:"",backgroundGradientStartColor:"",backgroundGradientEndColor:"",topMargin:0,bottomMargin:0,rightOffset:0,horzGridProperties:(0,c.deepExtend)({},u),vertGridProperties:(0,c.deepExtend)({},u),crossHairProperties:(0,c.deepExtend)({},{color:"",style:0,transparency:0,width:0}),legendProperties:(0,c.deepExtend)({},{showStudyArguments:!1,showStudyTitles:!1,showStudyValues:!1,showSeriesTitle:!1,showSeriesOHLC:!1,showLegend:!1,showBarChange:!0,showVolume:!1,showBackground:!0,backgroundTransparency:0}),axisProperties:(0,c.deepExtend)({},p),separatorColor:""},m={lineColor:"",textColor:"",fontSize:0,scaleSeriesOnly:!1,showSeriesLastValue:!1,seriesLastValueMode:o.PriceAxisLastValueMode.LastValueAccordingToScale,showSeriesPrevCloseValue:!1,showStudyLastValue:!1,showSymbolLabels:!1,showStudyPlotLabels:!1,showBidAskLabels:!1,showPrePostMarketPriceLabel:!0,showFundamentalLastValue:!1,showFundamentalNameLabel:!1,showPriceScaleCrosshairLabel:!0,showTimeScaleCrosshairLabel:!0},g={...m},f={visible:!1,futureOnly:!1,breaks:(0,c.deepExtend)({},{color:"",visible:!1,style:0,width:0})},v={style:0,minTick:"",showPriceLine:!1,priceLineWidth:0,priceLineColor:"",baseLineColor:"",showPrevClosePriceLine:!1,showCountdown:!0,prevClosePriceLineWidth:0,sessionId:"regular",prevClosePriceLineColor:"",esdShowDividends:!1,esdShowSplits:!1,esdShowEarnings:!1,esdShowBreaks:!1,showContinuousContractSwitches:!1,showContinuousContractSwitchesBreaks:!1,dividendsAdjustment:!1,backAdjustment:!1,settlementAsClose:!0,statusViewStyle:(0,c.deepExtend)({},{fontSize:16,showExchange:!0,showInterval:!0,symbolTextSource:"description"}),priceAxisProperties:(0,c.deepExtend)({},p),highLowAvgPrice:(0,c.deepExtend)({},{highLowPriceLinesVisible:!1,highLowPriceLabelsVisible:!1,averageClosePriceLabelVisible:!1,averageClosePriceLineVisible:!1,highLowPriceLinesColor:"",highLowPriceLinesWidth:0,averagePriceLineColor:"",averagePriceLineWidth:0}),candleStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",drawWick:!1,drawBorder:!1,drawBody:!0,borderColor:"",borderUpColor:"",borderDownColor:"",wickColor:"",wickUpColor:"",wickDownColor:"",barColorsOnPrevClose:!1}),hollowCandleStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",drawWick:!1,drawBorder:!1,drawBody:!0,borderColor:"",borderUpColor:"",borderDownColor:"",wickColor:"",wickUpColor:"",wickDownColor:""}),barStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",barColorsOnPrevClose:!1,dontDrawOpen:!1,thinBars:!0}),lineStyle:(0,c.deepExtend)({},{color:"",linestyle:0,linewidth:0,styleType:0}),areaStyle:(0,c.deepExtend)({},{color1:"",color2:"",linecolor:"",linestyle:0,linewidth:0,transparency:0}),baselineStyle:(0,c.deepExtend)({},{topFillColor1:"",topFillColor2:"",bottomFillColor1:"",bottomFillColor2:"",topLineColor:"",bottomLineColor:"",baselineColor:"",topLineWidth:0,bottomLineWidth:0,transparency:0,baseLevelPercentage:0}),hiloStyle:(0,c.deepExtend)({},{color:"",showBorders:!1,borderColor:"",showLabels:!1,labelColor:"",fontSize:0,drawBody:!0}),haStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",drawWick:!1,drawBorder:!1, +drawBody:!0,borderColor:"",borderUpColor:"",borderDownColor:"",wickColor:"",wickUpColor:"",wickDownColor:"",showRealLastPrice:!1,barColorsOnPrevClose:!1,inputs:{}}),renkoStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",borderUpColor:"",borderDownColor:"",upColorProjection:"",downColorProjection:"",borderUpColorProjection:"",borderDownColorProjection:"",wickUpColor:"",wickDownColor:"",inputs:{boxSize:0,style:"",atrLength:0,wicks:!1,sources:"",source:""}}),pbStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",borderUpColor:"",borderDownColor:"",upColorProjection:"",downColorProjection:"",borderUpColorProjection:"",borderDownColorProjection:"",inputs:{source:"",lb:0}}),kagiStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",upColorProjection:"",downColorProjection:"",inputs:{style:"",atrLength:0,reversalAmount:0}}),pnfStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",upColorProjection:"",downColorProjection:"",inputs:{reversalAmount:0,boxSize:0,style:"",atrLength:0}}),rangeStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",upColorProjection:"",downColorProjection:"",thinBars:!1,inputs:{range:0,phantomBars:!1}}),columnStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",barColorsOnPrevClose:!1})},S={priceScaleSelectionStrategyName:"auto",timeScale:(0,c.deepExtend)({},{defaultRightOffset:0}),mainSeries:(0,c.deepExtend)({},v),sessions:(0,c.deepExtend)({},l.sessionsPreferencesDefault),paneProperties:(0,c.deepExtend)({},_),chartEventsSourceProperties:(0,c.deepExtend)({},f),tradingProperties:(0,c.deepExtend)({},r.tradingPreferencesDefault)},y={timezone:"",scalesProperties:(0,c.deepExtend)({},g),...S},b={scalesProperties:(0,c.deepExtend)({},m),...S};function w(e,t,i,r,n=!0){if(void 0===t[e])return d.logDebug(`We haven't had this property ${r}.${e} yet, please, remove it from whiteList`),null;if((0,s.isObject)(i[e])){const s=Object.keys(i[e]);let o="";return s.map(s=>({[s]:w(s,t[e],i[e],`${r}.${e}`,n)})).reduce((e,t)=>(o=Object.keys(t)[0],e[o]=t[o],e),{})}return n?t[e].value():t[e]}function C(e,t,i=y){const s={timezone:"",priceScaleSelectionStrategyName:"auto",timeScale:{defaultRightOffset:e.timeScale().defaultRightOffset().value()},mainSeries:{},sessions:{},paneProperties:{},scalesProperties:{},chartEventsSourceProperties:{},tradingProperties:{}},r=["timeScale","mainSeries","sessions"],n=i.mainSeries,o=Object.keys(i),a=Object.keys(n),l=t.properties(),c=e.properties(),h=i.sessions,d=Object.keys(h),u=e.sessions().properties();return a.forEach(e=>{s.mainSeries[e]=w(e,l,n,"mainSeries")}),d.forEach(e=>{s.sessions[e]=w(e,u,h,"sessions")}),o.forEach(e=>{r.includes(e)||(s[e]=w(e,c,i,"preferences"))}),s}function P(e,t,i=b){const s={timeScale:{defaultRightOffset:e.timeScale().rightOffsetDefaultValue()},mainSeries:{},sessions:(0,c.deepExtend)({},l.sessionsPreferencesDefault),paneProperties:{},scalesProperties:{},chartEventsSourceProperties:{},tradingProperties:{},priceScaleSelectionStrategyName:"auto"},r=["timeScale","mainSeries","sessions"],n=i.mainSeries,o=Object.keys(i),h=Object.keys(n),d=(0, +a.factoryDefaults)("chartproperties.mainSeriesProperties"),u=(0,a.factoryDefaults)("chartproperties");return h.forEach(e=>{s.mainSeries[e]=w(e,d,n,"mainSeries",!1)}),o.forEach(e=>{r.includes(e)||(s[e]=w(e,u,i,"preferences",!1))}),s}},87426:(e,t,i)=>{"use strict";i.d(t,{axisLabelBackgroundColor:()=>r});var s=i(45112);const r={common:s.colorsPalette["color-tv-blue-500"],active:s.colorsPalette["color-tv-blue-800"]}},65862:(e,t,i)=>{"use strict";i.d(t,{createDwmAligner:()=>c,isAlignmentEnabled:()=>h,createTimeToBarTimeAligner:()=>d});var s=i(10480),r=i(67337),n=i(29823),o=i(29617),a=i(69177);const l=new o.SessionInfo("Etc/UTC","0000-0000:1234567");function c(e,t){if(!h()||!n.Interval.isDWM(e))return null;const i=new o.SessionInfo(t.timezone,t.session,t.session_holidays,t.corrections),r=(0,a.newBarBuilder)(e,i,l);return{timeToSessionStart:e=>r.tradingDayToSessionStart(e),timeToExchangeTradingDay:e=>{const t=s.utc_to_cal(i.timezone,e),r=i.spec.correctTradingDay(t);return s.set_hms(r,0,0,0,0,s.get_timezone("Etc/UTC")),r.getTime()}}}function h(){return!r.enabled("disable_resolution_rebuild")}function d(e,t){if(!h())return e=>e;const i=new o.SessionInfo(t.timezone,t.session,t.session_holidays,t.corrections),s=(0,a.newBarBuilder)(e,i,i,!1);return e=>s.alignTimeIfPossible(e)}},29617:(e,t,i)=>{"use strict";i.d(t,{SessionInfo:()=>o,BarBuilderBase:()=>a});var s=i(10480),r=i(68684),n=i(90388);class o{constructor(e,t,i,s){this.init(e,t,i,s),this._state={timezone:e,spec:t,holidays:i,corrections:s}}init(e,t,i,r){this.timezone=s.get_timezone(e),this.spec=new n.SessionSpec(e,t,i,r)}state(){return this._state}static fromState(e){return new o(e.timezone,e.spec,e.holidays,e.corrections)}}class a{alignTime(e){if(isNaN(e))return NaN;let t=this.indexOfBar(e);return t===r.SessionStage.POST_SESSION&&(this.moveTo(e),t=this.indexOfBar(e)),t<0?NaN:this.startOfBar(t)}}},69177:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SessionInfo:()=>o.SessionInfo,alignExchangeTimeToSessionStartAndReturnUTC:()=>P,alignPeriodsBackForDataRequest:()=>y,alignPeriodsBackForVisibleRange:()=>b,getPeriodsBetweenDates:()=>C,isTradingNow:()=>T,newBarBuilder:()=>S});var s=i(10480),r=i(29823),n=i(64514),o=i(29617),a=i(68684);class l extends o.BarBuilderBase{constructor(e,t){super(),this._sessionStartMs=-Number.MAX_VALUE,this._sessionEndMs=-Number.MAX_VALUE,this._periodSec=e,this._session=t}alignTimeIfPossible(e){const t=this.alignTime(e);return isNaN(t)?e:t}indexOfBar(e){return e=this._sessionEndMs?a.SessionStage.POST_SESSION:(0,n.toInt)(s.time_seconds_diff(e,this._sessionStartMs)/this._periodSec)}startOfBar(e){if(e===a.SessionStage.PRE_SESSION){const e=s.get_cal_from_unix_timestamp_ms(this._session.timezone,this._sessionStartMs-1),t=this._session.spec.alignToNearestSessionEnd(e,-1);return s.cal_to_utc(this._session.timezone,t)}if(e===a.SessionStage.POST_SESSION)return this._sessionEndMs;if(e<0)throw new Error("Negative offset is not supported");return this._sessionStartMs+s.time_seconds(this._periodSec*e)}endOfBar(e){ +if(e<0)throw new Error("Index cannot be negative");const t=this.startOfBar(e)+1e3*this._periodSec;return t>this._sessionEndMs?this._sessionEndMs:t}isLastBar(e,t){return t>=this._sessionStartMs+s.time_seconds(this._periodSec*(e+1)-1)}moveTo(e){const t=this._session.timezone,i=s.utc_to_cal(t,e),r=this._session.spec.alignToSessionStart(i);this._sessionStartMs=s.cal_to_utc(t,i),s.add_minutes(i,r),this._sessionEndMs=s.cal_to_utc(t,i)}indexOfLastBarInSession(){return(0,n.toInt)((this._sessionEndMs-1-this._sessionStartMs)/1e3/this._periodSec)}moveNext(){this.moveTo(this._sessionEndMs)}}var c=i(26985);function h(e,t){const i=s.clone(t),r=e.businessDaysToCalendarDays(i,1);r>1&&s.add_date(i,r-1);const n=e.leftBorderOfDailyBar(i);if(null===n)throw new Error("Cannot calculate left border of daily bar");return s.cal_to_utc(s.get_timezone(e.timezone()),n)}class d extends o.BarBuilderBase{constructor(e,t,i,s,r=!1){super(),this._periodStart=-Number.MAX_VALUE,this._periodEnd=-Number.MAX_VALUE,this._periodLastBarStart=-Number.MAX_VALUE,this._periodStartDay=new c.BusinessDay(0,0,0),this._periodEndDay=new c.BusinessDay(0,0,0),this._period=i,this._sessionTgt=e,this._builder=s,this._useBusinessDays=r,this._sessionSrc=r?new o.SessionInfo("Etc/UTC","24x7"):t||e}builder(){return this._builder}alignTimeIfPossible(e){return this.tradingDayToSessionStart(e)}tradingDayToSessionStart(e){return this.moveTo(e),this.startOfBar(0)}indexOfBar(e){if(this._useBusinessDays){const t=c.BusinessDay.fromCalendar(s.get_cal_from_unix_timestamp_ms(this._sessionSrc.timezone,e));return t.before(this._periodStartDay)?a.SessionStage.PRE_SESSION:this._periodEndDay.before(t)?a.SessionStage.POST_SESSION:0}return e=this._periodEnd?a.SessionStage.POST_SESSION:0}startOfBar(e){if(e===a.SessionStage.PRE_SESSION){const e=s.get_cal_from_unix_timestamp_ms(this._sessionTgt.timezone,this._periodStart-1),t=this._sessionTgt.spec.alignToNearestSessionEnd(e,-1);return s.cal_to_utc(this._sessionTgt.timezone,t)-1}return e===a.SessionStage.POST_SESSION||e>0?this._periodEnd:e===a.SessionStage.LASTBAR_SESSION?this._periodLastBarStart:this._periodStart}moveTo(e){const t=s.get_cal_from_unix_timestamp_ms(this._sessionSrc.timezone,e);this._sessionSrc.spec.correctTradingDay(t);const i=s.get_year(t),r=this._indexOfPeriodInYear(t),n=r+this._period,o=this._sessionTgt.spec,a=this._sessionTgt.timezone,l=this._builder.startOfPeriod(a,r,i);this._periodStart=h(o,l);const d=s.clone(l),u=o.businessDaysToCalendarDays(d,1);u>1&&s.add_date(d,u-1),this._periodStartDay=c.BusinessDay.fromCalendar(d);const p=this._builder.startOfPeriod(a,n,i);this._periodEnd=h(o,p);const _=s.clone(p);for(s.add_date(_,-1);o.isCalWeekEnd(_);)s.add_date(_,-1);this._periodEndDay=c.BusinessDay.fromCalendar(_),s.add_date(p,-1),function(e,t){for(;e.isCalWeekEnd(t);)s.add_date(t,-1)}(this._sessionTgt.spec,p),this._periodLastBarStart=h(o,p),(this._periodLastBarStart=this._periodLastBarStart}currentRange(){return{from:this._periodStartDay,to:this._periodEndDay}}indexOfBarInYear(e){const t=s.get_cal_from_unix_timestamp_ms(this._sessionSrc.timezone,e),i=s.get_year(t),r=this._builder.indexOfPeriod(t),o=this._sessionTgt.timezone;let a=this._builder.startOfPeriod(o,r,i),l=h(this._sessionTgt.spec,a);return a=s.get_cal_from_unix_timestamp_ms(s.get_timezone("Etc/UTC"),l),i=0&&(r-=7),(0,n.toInt)((r+i)/7))}class _{indexOfPeriod(e){return s.get_day_of_year(e)-1}startOfPeriod(e,t,i){const r=s.days_per_year(i);return s.get_cal(s.get_timezone("Etc/UTC"),i,s.JANUARY,1+Math.min(t,r))}}class m extends _{constructor(e){super(),this._sessionsSpec=e}indexOfPeriod(e){return super.indexOfPeriod(e)-function(e,t){const i=p(e,t),r=s.get_cal(s.get_timezone("Etc/UTC"),s.get_year(t),s.JANUARY,1);s.add_date(r,7*i);const n=i*e.weekEndsCount()+e.holidaysFromYearStart(r),o=s.get_day_of_year(t)-s.get_day_of_year(r);return n+o-e.calendarDaysToBusinessDays(r,o)}(this._sessionsSpec,e)}startOfPeriod(e,t,i){const r=7-this._sessionsSpec.weekEndsCount(),o=Math.max(0,(0,n.toInt)(t/r)-1),a=s.get_cal(s.get_timezone("Etc/UTC"),i,s.JANUARY,1),l=s.get_days_per_year(a);if(s.add_date(a,7*o),(t-=r*o-this._sessionsSpec.holidaysFromYearStart(a))>0){const e=this._sessionsSpec.businessDaysToCalendarDays(a,t);s.add_date(a,e)}let c=s.get_day_of_year(a)-1;return is.get_days_per_year(r)?this.startOfPeriod(e,0,i+1):(s.add_date(r,a),r)}}class v{ +indexOfPeriod(e){return s.get_month(e)}startOfPeriod(e,t,i){if(t<0){const e=(0,n.toInt)((11-t)/12);i-=e,t+=12*e}else t>s.DECEMBER&&(i++,t=s.JANUARY);return s.get_cal(s.get_timezone("Etc/UTC"),i,t,1)}}function S(e,t,i,s=!1){const n=r.Interval.parse(e),o=n.multiplier();return n.isMinutes()?new l(60*o,t):n.isSeconds()?new l(o,t):n.isTicks()?new l(1,t):n.isRange()?new l(60*o,t):new d(t,i,o,function(e,t){switch(e){case r.ResolutionKind.Days:return new g(t);case r.ResolutionKind.Weeks:return new f(t);case r.ResolutionKind.Months:return new v}throw new Error("Unknown dwm resolution: "+e)}(n.kind(),t),s)}function y(e,t,i,s,r,n,o){return w(e,t,i,s,r,n,o,0)}function b(e,t,i,s,r,n,o){return w(e,t,i,s,r,n,o,1)}function w(e,t,i,s,n,a,l,c){const h=r.Interval.parse(n+s);if(h.isMonths()){const e=new Date(l);return 0===c&&e.setUTCDate(1),function(e,t){x(e,Math.floor(t/12));let i=e.getUTCMonth()-t%12;i<0&&(x(e,1),i+=12);e.setUTCMonth(i);for(;e.getUTCMonth()!==i;)I(e,1)}(e,a*h.multiplier()),e.getTime()}const d=new o.SessionInfo("Etc/UTC",e,t,i),u=h.inMilliseconds(),p=h.isDWM();let _;_=p?864e5:60*d.spec.maxTradingDayLength()*1e3;let m=0;m=h.isWeeks()?7:7-d.spec.weekEndsCount();const g=_/u,f=m*g;let v;if(a=g&&(f=_/6048e5*g),Math.ceil(f)}function P(e,t){const i=s.clone(t);return e.alignToSessionStart(i),s.cal_to_utc(s.get_timezone(e.timezone()),i)}function T(e,t){const i=s.utc_to_cal(t.timezone,+e);let r=s.get_day_of_week(i),n=s.get_minutes_from_midnight(i);const o=t.spec.findSession(t.spec.getWeekIndex(i),r,n).getEntry();return o.isOvernight()&&n>o.startOffset()+o.length()&&r===o.dayOfWeek()-1&&(r++,n-=1440),r===o.dayOfWeek()&&n>=o.startOffset()&&n{"use strict";i.d(t,{BusinessDay:()=>r});var s=i(10480);class r{constructor(e,t,i){this.year=e,this.month=t,this.day=i}toString(){return`${this.year}-${this.month}-${this.day}`}compareTo(e){return this.year>e.year||this.year===e.year&&this.month>e.month||this.year===e.year&&this.month===e.month&&this.day>e.day?1:this.year===e.year&&this.month===e.month&&this.day===e.day?0:-1}before(e){return-1===this.compareTo(e)}toCalendar(e){return s.get_cal(s.get_timezone("Etc/UTC"),this.year,this.month-1,this.day)}addDays(e){const t=this.toCalendar(s.get_timezone("Etc/UTC"));return s.add_date(t,e),r.fromCalendar(t)}static fromCalendar(e){return new r(s.get_year(e),s.get_month(e)+1,s.get_day_of_month(e))}}}, +68684:(e,t,i)=>{"use strict";var s;i.d(t,{SessionStage:()=>s}),function(e){e[e.PRE_SESSION=-1]="PRE_SESSION",e[e.POST_SESSION=-2]="POST_SESSION",e[e.LASTBAR_SESSION=-3]="LASTBAR_SESSION"}(s||(s={}))},11075:(e,t,i)=>{"use strict";i.d(t,{extrapolateBarsFrontToTime:()=>r,extrapolateBarsFrontByCount:()=>n});var s=i(68684);function r(e,t,i,s,n=!1){if(t>i){const o=r(e,i,t,s,n);return o.count=-o.count,o}return o(e,t,1,(e,t)=>t>i||0!==s&&e>s,n)}function n(e,t,i,s=!1){const r=i<0?-1:1;return o(e,t,r,(e,t)=>e>=i*r,s)}function o(e,t,i,r,n){let o=0,a=t;e.moveTo(a);let l=0,c=Number.MAX_VALUE,h=!1,d=t;const u=[];for(;!r(o,a);){if(l>15)throw new Error("Internal error 0x10 while extrapolating.");const r=e.indexOfBar(a);if(r===s.SessionStage.PRE_SESSION&&1===i)a=e.startOfBar(0),e.moveTo(a);else if(r===s.SessionStage.PRE_SESSION&&-1===i)a=e.startOfBar(s.SessionStage.PRE_SESSION),e.moveTo(a);else if(r===s.SessionStage.POST_SESSION&&1===i)a=e.startOfBar(s.SessionStage.POST_SESSION),e.moveTo(a);else{if(r===s.SessionStage.POST_SESSION&&-1===i)throw new Error("Internal error 0x12 while extrapolating.");{const p=e.startOfBar(r);if(p>t&&i>0||t>p&&i<0){if(h&&c===p)throw new Error("Internal error 0x11 while extrapolating.");h=!0,c=p,l=0,o++,d=p,n&&u.push(d)}if(0===r&&-1===i)a=p-1;else{a=e.startOfBar(r+i);const t=e.startOfBar(s.SessionStage.POST_SESSION);a>t&&(e.moveTo(t),a=e.startOfBar(0))}}}l++}return{time:d,times:u,count:o}}},37415:(e,t,i)=>{"use strict";i.d(t,{PrePostMarketBarIdentifier:()=>n});var s=i(10480);function r(e,t){return null!==t&&t.to>e&&e>=t.from}class n{constructor(e,t,i,s){this._timezone=e,this._regularSessionSpec=t,this._preMarketSessionSpec=i,this._postMarketSessionSpec=s}getPreAndPostMarketTimes(e){if(0===e.length)return{preMarket:[],postMarket:[]};const t=[],i=[];let r=null,n=null,o=e[0],a=(0,s.utc_to_cal)(this._timezone,o);this._isInPreMarketSession(a)&&(n=o);for(let l=1;l{"use strict";i.d(t,{SessionSpec:()=>f});var s=i(10480),r=i(55257),n=i(26985);function o(e,t){return e.compareTo(t)}class a{constructor(e,t,i){this._dayOfWeek=e,this._start=t,this._length=i}start(){return this._start+s.minutesPerDay*this.sessionStartDaysOffset()}startOffset(){return this._start}sessionStartDaysOffset(){return this._start>=0?0:this._start%s.minutesPerDay==0?-Math.ceil(this._start/s.minutesPerDay):-Math.floor(this._start/s.minutesPerDay)} +sessionEndDaysOffset(){const e=this._start+this._length;return e>=0?0:e%s.minutesPerDay==0?-Math.ceil(e/s.minutesPerDay):-Math.floor(e/s.minutesPerDay)}isOvernight(){return this._start<0}dayOfWeek(){return this._dayOfWeek}sessionStartDayOfWeek(){let e=this._dayOfWeek-this.sessionStartDaysOffset();return es.SATURDAY&&(e=1),e}length(){return this._length}weight(){return this._dayOfWeek*s.minutesPerDay+this._start}compareTo(e){const t=this.weight(),i=t+this._length,s=e.weight(),r=s+e._length;return t<=s&&ss?1:-1}contains(e){const t=60*s.get_hours(e)+s.get_minutes(e);let i=s.get_day_of_week(e)-this._dayOfWeek;i>0&&(i-=7);const r=i*s.minutesPerDay+t;return r>=this._start&&r=48&&e<=57}class _{constructor(){this.entries=[],this.firstDayOfWeek=s.MONDAY,this.weekEndsCount=-1,this.maxTradingDayLength=0}parseSessions(e,t){var i;let s=!1;this._clear(),this.timezone=e;const{hasErrors:r,spec:n}=this._parseFirstDayOfWeek(t);if("24x7"===n.toLowerCase())for(const e of d)this.entries.push(_._createSessionEntry(e,0,0,0,0));else{let e=!1;const t=new Map;for(const i of n.split("|")){const r=i.split(":");if(1!==r.length&&2!==r.length){s=!0,u.logError("Bad session section: "+i);continue}const n=1===r.length;if(n){if(e){s=!0,u.logError("Duplicated default section: "+i);continue}e=!0}const o=n?h:_._parseWorkingDays(r[1]);for(const e of o)n&&t.has(e)||t.set(e,r[0])}for(const e of d){const i=t.get(e);if(void 0!==i)for(const t of i.split(",")){const{hasErrors:i,sessionEntry:r}=_._parseSessionEntry(e,t);i&&(s=i),this.entries.push(r)}}}this.entries.sort(o);const a=new Map;for(const e of this.entries){const t=e.dayOfWeek();a.set(t,e.length()+(null!==(i=a.get(t))&&void 0!==i?i:0))}return this.maxTradingDayLength=0,a.forEach(e=>{this.maxTradingDayLength=Math.max(this.maxTradingDayLength,e)}),this.weekEndsCount=7-a.size,s||r}static parseHolidaysAndCorrections(e,t,i){const r=new Map,n=new Map,o=e=>{const t=this._parseDay(e),i=t.toString(),s=n.get(i);return void 0!==s?s:(n.set(i,t),t)};if(""!==t){const e=[];for(const i of t.split(",")){if(8!==i.length)throw new Error("bad holiday date: "+i);const t=o(i);r.set(t,e)}}if(""===i)return r;const l=s.get_timezone("Etc/UTC");for(const e of i.split(";")){const t=e.split(":");if(2!==t.length)throw new Error("bad correction section: "+e);const i=[];if("dayoff"!==t[0])for(const e of t[0].split(","))i.push(this._parseSessionEntry(1,e).sessionEntry);for(const e of t[1].split(",")){if(8!==e.length)throw new Error("bad correction date: "+e);const t=o(e),n=s.get_day_of_week(s.get_cal(l,t.year,t.month-1,t.day)),c=[] +;for(const e of i)c.push(new a(n,e.startOffset(),e.length()));r.set(t,c)}}return r}_clear(){this.entries=[],this.timezone="",this.firstDayOfWeek=s.MONDAY,this.weekEndsCount=-1}_parseFirstDayOfWeek(e){const t=e.split(";");if(t.length>2)return u.logError("Only one `first day` specification expected @ session "+e),{hasErrors:!0,spec:e};if(1===t.length)return{hasErrors:!1,spec:e};let i=1;let r=t[0].indexOf("-")>=0?NaN:parseInt(t[0]);return isNaN(r)&&(i=0,r=parseInt(t[1])),rs.SATURDAY?(u.logError(`Unexpected day index @ session: ${e}; day index ${r}`),{hasErrors:!0,spec:e}):(this.firstDayOfWeek=r,{hasErrors:!1,spec:t[i]})}static _parseDay(e){const t=parseInt(e.substring(0,4)),i=parseInt(e.substring(4,6)),s=parseInt(e.substring(6,8));return new n.BusinessDay(t,i,s)}static _parseSessionEntry(e,t){let i=!1,s=t.split("-");2!==s.length&&(i=!0,u.logError("Bad sessions entry: "+t),s=["0000","0000"]);let r=0,n=s[0];if(n.includes("F")){const e=n.split("F");n=e[0],r=""!==e[1]?parseInt(e[1]):1}let o=0,a=s[1];if(a.includes("F")){const e=a.split("F");a=e[0],o=""!==e[1]?parseInt(e[1]):1}if(!this._isCorrectSession(n)||!this._isCorrectSession(a))throw new Error("Incorrect entry syntax: "+t);const l=n,c=a;return{hasErrors:i,sessionEntry:this._createSessionEntry(e,_._minutesFromHHMM(l),_._minutesFromHHMM(c),r,o)}}static _isCorrectSession(e){return 4===e.length&&p(e.charCodeAt(0))&&p(e.charCodeAt(1))&&p(e.charCodeAt(2))&&p(e.charCodeAt(3))}static _parseWorkingDays(e){const t=[];for(let i=0;i0&&(t-=r*s.minutesPerDay),n>0&&(i-=n*s.minutesPerDay);return new a(e,t,i-t)}}function m(e,t){return e.compareTo(t)<0}function g(e,t){const i=(0,r.lowerbound)(e,t,(e,t)=>-1===e.day.compareTo(t));return i===e.length?null:e[i]}class f{constructor(e="Etc/UTC",t="0000-0000",i="",r=""){this._entries=[],this._firstDayOfWeek=s.MONDAY,this._entriesHash=new Map,this._holidayAndCorrectionMap=new Map,this._holidaySessions=[];const n=new _;n.parseSessions(e,t),this._entries=n.entries,this._timezone=n.timezone,this._spec=t,this._firstDayOfWeek=n.firstDayOfWeek,this._weekEndsCount=n.weekEndsCount,this._maxTradingDayLength=n.maxTradingDayLength;const o=_.parseHolidaysAndCorrections(e,i,r),a=s.get_timezone(e);this._isThereCorrections=""!==i||""!==r,o.forEach((e,t)=>{this._holidayAndCorrectionMap.set(t.toString(),e),this._holidaySessions.push({day:t,sessions:e});const i=this.getWeekIndex(t.toCalendar(a));this._entriesHash.set(i,null)}),this._holidaySessions.sort((e,t)=>e.day.compareTo(t.day))}entries(){return this._entries}timezone(){return this._timezone}spec(){return this._spec}firstDayOfWeek(){return this._firstDayOfWeek}addSessionEntry(e,t,i,r,n){0===i&&(i=s.minutesPerDay),r===n&&i<=t&&(r+=1),r>0&&(t-=r*s.minutesPerDay),n>0&&(i-=n*s.minutesPerDay);const o=i-t;this._entries.push(new a(e,t,o))}longestSessionLength(){let e=0,t=0 +;for(const t of this._holidaySessions)t.sessions.forEach(t=>{e=Math.max(e,t.length())});return this._entries.forEach(e=>{t=Math.max(t,e.length())}),Math.max(e,t)}isWeekEnd(e){const t=(0,r.lowerbound)(this._entries,new a(e,0,0),(e,t)=>e.dayOfWeek()this._entries.length-1||this._entries[t].dayOfWeek()!==e}isCalWeekEnd(e){const t=s.get_day_of_week(e);if(!this._isThereCorrections)return this.isWeekEnd(t);const i=n.BusinessDay.fromCalendar(e),r=this._holidayAndCorrectionMap.get(i.toString());return void 0===r?this.isWeekEnd(t):0===r.length}hasWeekEnds(){return this.weekEndsCount()>0}weekEndsCount(){return this._weekEndsCount}maxTradingDayLength(){return this._maxTradingDayLength}holidaysFromYearStart(e){if(!this._isThereCorrections)return 0;const t=s.get_timezone(this._timezone),i=new n.BusinessDay(s.get_year(e),s.JANUARY,1),r=n.BusinessDay.fromCalendar(e);let o=0;const a=this._selectHolidays(i,r);for(let e=0;et.start()%e==0&&t.length()%e==0)}indexOfSession(e,t,i){const n=this._getEntriesForWeek(e);let o=(0,r.lowerbound)(n,new a(t,i,0),m);if(o!==n.length)return new l(e,o,n);let c=e;const h=7-t+this._firstDayOfWeek-1;for(i=-(s.minutesPerDay-i+h*s.minutesPerDay);;){c++;const e=this._getEntriesForWeek(c);if(0!==e.length)return o=(0,r.lowerbound)(e,new a(this._firstDayOfWeek,i,0),m),new l(c,o,e)}}findSession(e,t,i,s=0){const r=this.indexOfSession(e,t,i),n=r.entries;let o=r.entryIndex;if(0!==s){const e=n[o].dayOfWeek(),t=s>0?1:-1;for(;;){const i=o+t;if(i<0||i>=n.length||n[i].dayOfWeek()!==e)break;o=i}}return new l(r.weekIndex,o,n)}getWeekIndex(e){if(!this._isThereCorrections)return 0;const t=s.get_day_of_week(e)-s.SUNDAY,i=s.get_timezone("Etc/UTC"),r=s.get_cal(i,s.get_year(e),s.get_month(e),s.get_day_of_month(e)-t);return Math.floor((r.getTime()+621672192e5)/1e3/86400/7)}correctTradingDay(e){const t=s.get_day_of_week(e),i=60*s.get_hours(e)+s.get_minutes(e),r=this.getWeekIndex(e),n=this.findSession(r,t,i,0),o=n.getEntry().dayOfWeek()-t+7*(n.weekIndex-r);return 0!==o&&s.add_date(e,o),e}alignToSessionStart(e,t=0){const i=s.get_day_of_week(e),r=60*s.get_hours(e)+s.get_minutes(e),n=this.getWeekIndex(e),o=this.findSession(n,i,r,t),a=o.getEntry(),l=a.dayOfWeek()-i+7*(o.weekIndex-n);0!==l&&s.add_date(e,l);const c=a.startOffset();return s.set_hms(e,c/60,c%60,0,0,s.get_timezone(this._timezone)),a.length()}businessDaysToCalendarDays(e,t){let i=this.getWeekIndex(e),r=s.get_day_of_week(e),n=0,o=0;for(;oi);)e[a].dayOfWeek()=t)return n}i++,r=s.SUNDAY}return n}calendarDaysToBusinessDays(e,t){let i=this.getWeekIndex(e),r=s.get_day_of_week(e),n=0,o=0;for(;ni);)e[a].dayOfWeek()=t)return o}i++,r=s.SUNDAY}return o}alignToNearestSessionStart(e,t){return this._alignToNearestSessionValue(e,t,this._entrySessionStart.bind(this))}alignToNearestSessionEnd(e,t){return this._alignToNearestSessionValue(e,t,this._entrySessionEnd.bind(this))}leftBorderOfDailyBar(e){const t=this._getEntriesForDay(e);return 0===t.length?null:(t.sort(o),this._getLeftEntryBorder(e,t[0]))}bordersOfDailyBar(e){const t=this._getEntriesForDay(e);if(0===t.length)return null;t.sort(o);const i=this._getLeftEntryBorder(e,t[0]),r=t[t.length-1],n=s.clone(e);let a=60*(r.startOffset()+r.length())-1;const l=Math.floor(a/3600);return a-=3600*l,s.set_hms(n,l,a/60,a%60,0,s.get_timezone(this._timezone)),{from:i,to:n}}getEntriesForWeekByCalendar(e){const t=this.getWeekIndex(e);return this._getEntriesForWeek(t)}_getEntriesForWeek(e){let t=this._entriesHash.get(e);if(void 0===t)return this._entries;if(null!==t)return t;const i=s.get_timezone(this._timezone);t=this._entries.slice();const r=this._weekIndexToCalendar(e),a=this._weekIndexToCalendar(e+1),l=n.BusinessDay.fromCalendar(r),c=n.BusinessDay.fromCalendar(a),h=this._selectHolidays(l,c);for(const e of h){const r=e.day.toCalendar(i),n=s.get_day_of_week(r);t=t.filter(e=>e.dayOfWeek()!==n),t=t.concat(e.sessions)}return t.sort(o),this._entriesHash.set(e,t),t}_selectHolidays(e,t){const i=[];let s=e;for(;;){const e=g(this._holidaySessions,s);if(null===e)return i;if(!e.day.before(t))return i;i.push(e),s=e.day.addDays(1)}}_weekIndexToCalendar(e){const t=1e3*(86400*e*7+86400)-621672192e5,i=s.get_cal_from_unix_timestamp_ms(s.get_timezone("Etc/UTC"),t),r=s.get_timezone("Etc/UTC");return s.get_cal(r,s.get_year(i),s.get_month(i),s.get_day_of_month(i))}_alignToNearestSessionValue(e,t,i){const r=s.get_day_of_week(e),n=60*s.get_hours(e)+s.get_minutes(e),o=this.getWeekIndex(e);let a=this.findSession(o,r,n);if(a.getEntry().contains(e)&&o===a.weekIndex||1===t)return i(a,s.clone(e),t);let c=a.entryIndex-1;if(c<0){let e=a.weekIndex,t=a.entries;for(;c<0;)e--,t=this._getEntriesForWeek(e),c+=t.length;a=new l(e,c,t)}else a=new l(a.weekIndex,c,a.entries);return i(a,s.clone(e),t)}_entrySessionStart(e,t,i){return this._entrySessionValue(e,t,i,e=>60*e.start())}_entrySessionEnd(e,t,i){return this._entrySessionValue(e,t,i,e=>60*(e.start()+e.length())-1)}_entrySessionValue(e,t,i,r){let n=s.get_day_of_week(t);const o=e.getEntry();let a=o.dayOfWeek()-o.sessionStartDaysOffset();const l=this.getWeekIndex(t);let c=e.weekIndex-l,h=!1;if(a0&&i>=0||c<0&&i<0)&&s.add_date(t,7*c),!o.contains(t)){let e=a-n;h&&i<0&&(e=-(7-a+n)),s.add_date(t,e),n=s.get_day_of_week(t)}o.isOvernight()&&n===o.dayOfWeek()&&s.add_date(t,-o.sessionStartDaysOffset());let d=r(o);const u=Math.floor(d/3600);return d-=3600*u,s.set_hms(t,u,d/60,d%60,0,s.get_timezone(this._timezone)),t}_getEntriesForDay(e){const t=s.get_day_of_week(e);return this._getEntriesForWeek(this.getWeekIndex(e)).filter(e=>e.dayOfWeek()===t)}_getLeftEntryBorder(e,t){ +const i=s.clone(e),r=t.startOffset();return s.set_hms(i,r/60,r%60,0,0,s.get_timezone(this._timezone)),i}}},33981:(e,t,i)=>{"use strict";var s=i(71053).PlotRowSearchMode,r=i(68906).rgbaFromInteger;function n(){this.backColorers=[]}function o(e){n.call(this),this._series=e}function a(e,t){n.call(this),this._study=e,this._plotIndex=t}n.prototype.barStyle=function(e,t,i){for(var s={},r=this.backColorers.length-1;r>=0;r--)this.backColorers[r].applyBarStyle(e,t,s,i);return this.applyBarStyle(e,t,s,i),s},n.prototype.pushBackBarColorer=function(e){this.backColorers.push(e)},n.prototype.applyBarStyle=function(e,t,i){throw new Error("This function is supposed to be reimplemented in a subclass")},inherit(o,n),o.upColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.upColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.upColor.value();case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.upColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.upColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.topLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value();case TradingView.Series.STYLE_COLUMNS:return e.columnStyle.upColor.value()}throw new Error("Unknown series style")},o.downColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.downColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.downColor.value();case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.downColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.downColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.bottomLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value();case TradingView.Series.STYLE_COLUMNS:return e.columnStyle.downColor.value()}throw new Error("Unknown series style")},o.prototype._applyLineStyle=function(e,t,i,s,r){i.barColor=o.upColor(r)},o.prototype._applyAreaStyle=function(e,t,i,s,r){i.barColor=o.upColor(r)},o.prototype._applyBarStyle=function(e,t,i,s,r){var n=o.upColor(r),a=o.downColor(r),l=this.findBar(e,!1,s);if(r.barStyle.barColorsOnPrevClose.value()){var c=this.findPrevBar(e,!1,s);i.barColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a,i.barBorderColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a}else i.barColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a,i.barBorderColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a},o.prototype._applyCandleStyle=function(e,t,i,s,r){ +var n,a=o.upColor(r,t),l=o.downColor(r,t),c=r.candleStyle.borderUpColor?r.candleStyle.borderUpColor.value():r.candleStyle.borderColor.value(),h=r.candleStyle.borderDownColor?r.candleStyle.borderDownColor.value():r.candleStyle.borderColor.value(),d=r.candleStyle.wickUpColor?r.candleStyle.wickUpColor.value():r.candleStyle.wickColor.value(),u=r.candleStyle.wickDownColor?r.candleStyle.wickDownColor.value():r.candleStyle.wickColor.value(),p=this.findBar(e,!1,s);r.candleStyle.barColorsOnPrevClose.value()&&this._series.data().first().index!==e?n=this.findPrevBar(e,!1,s)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:n=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT];i.barColor=n?a:l,i.barBorderColor=n?c:h,i.barWickColor=n?d:u},o.prototype._applyHollowCandleStyle=function(e,t,i,s,r){var n,a=o.upColor(r,t),l=o.downColor(r,t),c=r.hollowCandleStyle.borderUpColor?r.hollowCandleStyle.borderUpColor.value():r.hollowCandleStyle.borderColor.value(),h=r.hollowCandleStyle.borderDownColor?r.hollowCandleStyle.borderDownColor.value():r.hollowCandleStyle.borderColor.value(),d=r.hollowCandleStyle.wickUpColor?r.hollowCandleStyle.wickUpColor.value():r.hollowCandleStyle.wickColor.value(),u=r.hollowCandleStyle.wickDownColor?r.hollowCandleStyle.wickDownColor.value():r.hollowCandleStyle.wickColor.value(),p=this.findBar(e,!1,s),_=this.findPrevBar(e,!1,s);n=this._series.data().first().index!==e?_[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT],i.barColor=n?a:l,i.barBorderColor=n?c:h,i.barWickColor=n?d:u,i.isBarHollow=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT]},o.prototype._applyHAStyle=function(e,t,i,s,r){var n,a=o.upColor(r,t),l=o.downColor(r,t),c=r.haStyle.borderUpColor.value(),h=r.haStyle.borderDownColor.value(),d=r.haStyle.wickUpColor.value(),u=r.haStyle.wickDownColor.value(),p=this.findBar(e,t,s);r.haStyle.barColorsOnPrevClose.value()?n=this.findPrevBar(e,t,s)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:n=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT];i.barColor=n?a:l,i.barBorderColor=n?c:h,i.barWickColor=n?d:u},o.prototype._applyBaseLineStyle=function(e,t,i,s,r){var n=this.findBar(e,t,s),a=r.baselineStyle,l=this._series.priceScale(),c=Math.round(l.height()*(Math.abs(100-a.baseLevelPercentage.value())/100)),h=this._series.firstValue(),d=l.coordinateToPrice(c,h);n[TradingView.CLOSE_PLOT]>d?i.barColor=o.upColor(r,t):i.barColor=o.downColor(r,t)},o.prototype._applyHiLoStyle=function(e,t,i,s,r){i.barColor=o.upColor(r,t),i.barBorderColor=r.hiloStyle.borderColor.value()},o.prototype._applyColumnStyle=function(e,t,i,s,r){var n=o.upColor(r),a=o.downColor(r),l=this.findBar(e,!1,s);if(r.columnStyle.barColorsOnPrevClose.value()){var c=this.findPrevBar(e,!1,s);i.color=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a}else i.color=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a;i.barColor=i.color},o.prototype.applyBarStyle=function(e,t,i,s){i||(i={}),i.barColor=null,i.barBorderColor=null,i.barWickColor=null,i.isBarHollow=null,i.isBarUp=null,i.upColor=null, +i.downColor=null,i.isTwoColorBar=null,i.isMergedBar=null;var r=this._series.properties();switch(r.style.value()){case TradingView.Series.STYLE_LINE:this._applyLineStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_AREA:this._applyAreaStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_BARS:this._applyBarStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_CANDLES:this._applyCandleStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_HOLLOW_CANDLES:this._applyHollowCandleStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_HEIKEN_ASHI:this._applyHAStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_BASELINE:this._applyBaseLineStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_HILO:this._applyHiLoStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_COLUMNS:this._applyColumnStyle(e,t,i,s,r)}return i},o.prototype.getSeriesBars=function(e){return e?this._series.nsBars():this._series.bars()},o.prototype._findBarFieldValue=function(e,t,i){var s=this.getSeriesBars(i).valueAt(e);if(null!==s)return s[t]},o.prototype.findBar=function(e,t,i){return i?i.value:this.getSeriesBars(t).valueAt(e)||[]},o.prototype.findPrevBar=function(e,t,i){if(i&&i.previousValue)return i.previousValue;var r=this._series.bars().search(e-1,s.NearestLeft,TradingView.CLOSE_PLOT);return null!==r?r.value:[]},inherit(a,n),a.prototype.getBars=function(){return this._study.series().bars()},a.prototype.firstColoredBar=function(e){for(var t=e,i=0;ie+l)return i;var c=s.styles[a.id];if(c.visible&&!c.visible.value())return i;var h=o.valueAt(e-l);if(null===h)return i;var d=h[this._plotIndex+1];if(null==d)return i;if(d=Math.round(d),n.isRGB)i.barColor=r(d),i.upColor=i.barColor,i.downColor=i.barColor;else{var u=n.plots[this._plotIndex].palette,p=s.palettes[u],_=n.palettes[u].valToIndex?n.palettes[u].valToIndex[d]:d,m=p.colors[_].color.value();i.barColor=m,i.upColor=m.color,i.downColor=m.color}return i},t.SeriesBarColorer=o,t.StudyBarColorer=a},81688:(e,t,i)=>{"use strict";i.d(t,{BarsRange:()=>r});var s=i(88537);class r{constructor(e,t){(0,s.assert)(e<=t,"The last bar in the bars range should be greater than or equal to the first bar"),this._firstBar=e,this._lastBar=t}firstBar(){return this._firstBar}lastBar(){return this._lastBar}count(){return this._lastBar-this._firstBar+1}contains(e){return this._firstBar<=e&&e<=this._lastBar}equals(e){return this._firstBar===e.firstBar()&&this._lastBar===e.lastBar()}static compare(e,t){ +return null===e||null===t?e===t:e.equals(t)}}},36244:(e,t,i)=>{"use strict";i.d(t,{ChartModelBase:()=>Vi});var s=i(4889),r=i(88537),n=i(86441),o=i(24377),a=i(45112),l=i(45345),c=i(6087),h=i(51768),d=i(81836),u=i(76422),p=i(11417),_=i(27759),m=i(35878),g=i(55257),f=i(14291);function v(e){return(0,f.isLineTool)(e)&&e.boundToSymbol()||!1}class S{constructor(){this._items=[],this._set=new Set,this._dataSourcesCache=null,this._customSourcesCache=null,this._lineSourcesCache=null}isEmpty(){return 0===this._items.length}add(e){if(this._items.length>0&&!v(this._items[0])&&this.clear(),v(e)){const t=(0,g.lowerbound)(this._items,e,(e,t)=>e.zorder()!(0,m.isDataSource)(e))),this._customSourcesCache}checkLineToolSelection(){this._items.forEach(e=>(0,f.isLineTool)(e)&&e.calcIsActualSymbol()),this._items=this._items.filter(e=>!(0,f.isLineTool)(e)||e.isActualSymbol()),this._invalidateCache()}remove(e){this._items=this._items.filter(t=>t!==e),this._set.delete(e),this._invalidateCache()}clear(){this._items=[],this._set.clear(),this._invalidateCache()}_invalidateCache(){this._customSourcesCache=null,this._dataSourcesCache=null,this._lineSourcesCache=null}}var y=i(31752),b=i.n(y),w=i(25270),C=i(29823),P=i(88564),T=i(2015),x=i.n(T),I=i(52640),M=i(22799);class L{constructor(e){this._rendererOptions={borderSize:1,offsetSize:5,fontSize:NaN,font:"",color:"",paneBackgroundColor:"",paddingBottom:0,paddingInner:0,paddingOuter:0,paddingTop:0,lineSpacing:0},this._chartModel=e}options(){const e=this._rendererOptions,t=this._chartModel.properties().childs(),i=t.scalesProperties.childs().fontSize.value();return e.fontSize!==i&&(e.fontSize=i,e.font=(0,I.makeFont)(i,M.CHART_FONT_FAMILY,""),e.paddingTop=2.5/12*i,e.paddingBottom=e.paddingTop,e.paddingInner=i/12*e.offsetSize,e.paddingOuter=i/12*e.offsetSize,e.lineSpacing=2/12*i),e.color=t.scalesProperties.childs().textColor.value(),e.paneBackgroundColor=t.paneProperties.childs().background.value(),this._rendererOptions}}var A=i(27982),E=i(54376),k=i(97098),D=i(59803),V=i(99305),B=i(67337),N=i(37667),R=i(47484),O=i(33291);const F=new k.PriceFormatter;class W extends V.CustomSourceBase{constructor(e,t,i){super(e,t),this._studySource=null,this._paneViews=[],this._metaInfo=null,this._destroyed=!1,this._isStarted=!1,this._loadedGraphics=null,this._doubleClickHandler=i;const s=t.mainSeries();this._properties=new P.DefaultProperty("sessions"),(0, +D.applyDefaultsOverrides)(this._properties.childs().graphics,void 0,!1,"sessions"),this._removeDuplicateProperties(),this._properties.subscribe(this,this._onPropertiesChanged),t.studyMetaInfoRepository().findById({type:"java",studyId:"Sessions@tv-basicstudies"}).then(i=>{this._destroyed||null===this._loadedGraphics&&(this._setMetaInfo(i),null!==this._metaInfo&&(this._studySource=new A.StudyDataSource(t.chartApi(),s.seriesSource(),"sessions_",this._metaInfo),this._createPaneViews(),this._studySource.dataCleared().subscribe(this,this.updateAllViews.bind(this,(0,O.dataSourceChangeEvent)(e))),this._studySource.dataUpdated().subscribe(this,this.updateAllViews.bind(this,(0,O.dataSourceChangeEvent)(e))),this._studySource.setInputs({}),this._processHibernate()))}),t.timeScale().onReset().subscribe(this,this._clearData),t.timeScale().logicalRangeChanged().subscribe(this,this.updateAllViews.bind(this,(0,O.viewportChangeEvent)())),t.mainSeries().sessionIdProxyProperty().subscribe(this,this._updateVisibleOfPreAndPostMarketBackground),t.mainSeries().properties().childs().interval.subscribe(this,this._processHibernate),this._updateVisibleOfPreAndPostMarketBackground(t.mainSeries().properties().childs().sessionId)}applyOverrides(e){(0,D.applyPropertiesOverrides)(this._properties.childs().graphics,void 0,!1,e,"sessions"),this._model.updateSource(this)}start(){this._isStarted=!0,this._processHibernate()}restart(){this._clearData(),B.enabled("stop_study_on_restart")&&this.stop(),this.start()}isStarted(){return this._isStarted}stop(){this._isStarted=!1,null!==this._studySource&&this._studySource.stop()}isHoveredEnabled(){return!1}paneViews(e){return this._paneViews}updateAllViews(e){this._paneViews.forEach(t=>t.update(e))}updateViewsForPane(e,t){this.updateAllViews(t)}destroy(){this._destroyed=!0,null!==this._studySource&&(this._studySource.dataCleared().unsubscribeAll(this),this._studySource.dataUpdated().unsubscribeAll(this),this._studySource.destroy(),this._studySource=null),this._model.timeScale().logicalRangeChanged().unsubscribeAll(this),this._model.timeScale().onReset().unsubscribeAll(this),this._model.mainSeries().sessionIdProxyProperty().unsubscribeAll(this),this._model.mainSeries().properties().childs().interval.unsubscribeAll(this),this._properties.unsubscribeAll(this)}series(){return this._model.mainSeries()}priceScale(){return this.series().priceScale()}graphics(){return this._loadedGraphics||(0,r.ensureNotNull)(this._studySource).graphics()}properties(){return this._properties}graphicsInfo(){return(0,r.ensureNotNull)(this._metaInfo).graphics}firstValue(e){return this._model.mainSeries().firstValue()}formatter(){return F}state(e){const t={properties:this._properties.state()};return e&&null!==this._metaInfo&&(t.data={graphics:(0,E.saveStudyGraphics)(this.graphics()),metaInfo:this._metaInfo}),t}restoreState(e,t){const i=e.properties;this._migrateOutOfSessionProperty(i),this._properties.mergeAndFire(i),this._removeDuplicateProperties(), +this._updateVisibleOfPreAndPostMarketBackground(this._model.mainSeries().properties().childs().sessionId),void 0!==e.data&&t&&(this._loadStudyGraphics(e.data.graphics),this._setMetaInfo(e.data.metaInfo),this._createPaneViews())}restoreOldState(e,t){const i={properties:{graphics:e.state.graphics}};void 0!==e.data&&void 0!==e.metaInfo&&t&&(i.data={metaInfo:e.metaInfo,graphics:e.data.graphics}),this.restoreState(i,t)}applyPreferences(e){this._properties.mergePreferences(e)}metaInfo(){return(0,r.ensureNotNull)(this._metaInfo)}_loadStudyGraphics(e){const t=e.backgrounds;if(void 0!==t){const e=t.findIndex(e=>"inSession"===e.styleId);-1!==e&&t.splice(e,1)}this._loadedGraphics=(0,E.loadStudyGraphics)(e)}_setMetaInfo(e){const t=e.graphics.backgrounds;void 0!==t&&void 0!==t.inSession&&delete t.inSession,this._metaInfo=e}_updateVisibleOfPreAndPostMarketBackground(e){const t=!(0,N.isRegularSessionId)(e.value());this._outOfSessionVisibilityProperty().setValue(t),this._preMarketVisibilityProperty().setValue(t),this._postMarketVisibilityProperty().setValue(t)}_clearData(){null!==this._studySource&&this._studySource.clearData()}_createPaneViews(){const e={doubleClickHandler:this._doubleClickHandler};(0,E.createGraphicsPaneViews)(this,this._model,e).then(e=>{this._paneViews=e,this._model.lightUpdate()})}_onPropertiesChanged(){this._processHibernate(),this.updateAllViews((0,O.dataSourceChangeEvent)(this.id()))}_processHibernate(){if(null!==this._studySource){const e=this._canBeHibernated(),t=this._isHibernated(),i=this._studySource.isStarted();!t&&e&&i?this._studySource.stop():!t||e||i||this._studySource.start()}}_canBeHibernated(){const e=this._model.mainSeries(),t=this._preMarketVisibilityProperty().value()&&this._postMarketVisibilityProperty().value()&&this._outOfSessionVisibilityProperty().value();return e.isDWM()||!t&&!this._vertLinesVisibleProperty().value()}_isHibernated(){return this._isStarted&&(null===this._studySource||!this._studySource.isStarted())}_outOfSessionVisibilityProperty(){return this._properties.childs().graphics.childs().backgrounds.childs().outOfSession.childs().visible}_preMarketVisibilityProperty(){return this._properties.childs().graphics.childs().backgrounds.childs().preMarket.childs().visible}_postMarketVisibilityProperty(){return this._properties.childs().graphics.childs().backgrounds.childs().postMarket.childs().visible}_vertLinesVisibleProperty(){return this._properties.childs().graphics.childs().vertlines.childs().sessBreaks.childs().visible}_removeDuplicateProperties(){this._properties.hasChild("properties")&&(this._properties.removeProperty("properties"),(0,P.saveDefaultProperties)(!0),this._properties.childChanged(null),(0,P.saveDefaultProperties)(!1))}_migrateOutOfSessionProperty(e){const t=e.graphics.backgrounds;if(void 0!==t){const i=t.outOfSession;i.color===(0,r.ensureDefined)(R.sessionsPreferencesDefault.graphics.backgrounds).outOfSession.color||"postMarket"in t||(e.graphics.backgrounds={...t,postMarket:{color:i.color,transparency:i.transparency,visible:i.visible},preMarket:{color:i.color, +transparency:i.transparency,visible:i.visible}})}}}var H=i(81851),z=i(2872),U=i.n(z),j=i(52714),G=i.n(j),q=i(23653),Y=i(8175),K=i(28353),$=i(98125),X=i(9423),Z=i(74325),J=i(67072),Q=i.n(J),ee=i(80643),te=i(39593),ie=i(22932),se=i(59555);const re=new Map([["price",e=>(0,ie.isPriceDataSource)(e)],["trading",e=>(0,f.isTrading)(e)],["drawing",e=>(0,f.isLineTool)(e)&&!(0,f.isTrading)(e)&&!e.isPhantom()],["drawingsForAllSymbols",e=>(0,f.isLineTool)(e)&&!(0,f.isTrading)(e)&&!e.isPhantom()],["phantom",e=>(0,f.isLineTool)(e)&&e.isPhantom()],["restRowSources",e=>!(0,f.isLineTool)(e)&&!(0,f.isTrading)(e)],["leftPriceScale",(e,t)=>"left"===oe(e,t)],["rightPriceScale",(e,t)=>"right"===oe(e,t)],["overlayPriceScale",(e,t)=>"overlay"===oe(e,t)]]),ne=new Map([["price","visibleSorted"],["trading","visibleSorted"],["drawing","visibleSorted"],["drawingsForAllSymbols","allSorted"],["phantom","visibleSorted"],["restRowSources","visibleSorted"],["leftPriceScale","visibleSorted"],["rightPriceScale","visibleSorted"],["overlayPriceScale","visibleSorted"]]);function oe(e,t){const i=e.priceScale();return null===i?"overlay":t.priceScalePosition(i)}class ae{constructor(e){this._groupedSources=new Map,this._sources=null,this._pane=e}clear(){this._groupedSources.clear(),this._sources=null}destroy(){this.clear()}all(){return this._groupedSources.has("visibleSorted")||this._sortSources(),(0,r.ensureDefined)(this._groupedSources.get("visibleSorted"))}allIncludingHidden(){return this._groupedSources.has("allSorted")||this._sortSources(),(0,r.ensureDefined)(this._groupedSources.get("allSorted"))}allExceptSpecialSources(){if(!this._groupedSources.has("exceptSpecial")){const e=this.allIncludingHidden().filter(e=>!e.isSpeciallyZOrderedSource());this._groupedSources.set("exceptSpecial",e)}return(0,r.ensureDefined)(this._groupedSources.get("exceptSpecial"))}tradingSources(){return this._getSourcesByGroupType("trading")}priceSources(){return this._getSourcesByGroupType("price")}lineSources(){return this._getSourcesByGroupType("drawing")}lineSourcesForAllSymbols(){return this._getSourcesByGroupType("drawingsForAllSymbols")}phantomSources(){return this._getSourcesByGroupType("phantom")}allExceptLineAndTradingSources(){return this._getSourcesByGroupType("restRowSources")}hitTestSources(){if(!this._groupedSources.has("hitTest")){const e=this.allExceptLineAndTradingSources().concat(this.lineSources());this._groupedSources.set("hitTest",e)}return(0,r.ensureDefined)(this._groupedSources.get("hitTest"))}generalSources(){if(!this._groupedSources.has("general")){const e=this.allExceptLineAndTradingSources().concat(this.lineSources());this._groupedSources.set("general",(0,se.sortSources)(e))}return(0,r.ensureDefined)(this._groupedSources.get("general"))}leftPriceScalesSources(){return this._getSourcesByGroupType("leftPriceScale")}rightPriceScalesSources(){return this._getSourcesByGroupType("rightPriceScale")}overlayPriceScaleSources(){return this._getSourcesByGroupType("overlayPriceScale")}_getSourcesByGroupType(e){const t=(0,r.ensureDefined)(ne.get(e)) +;return this._groupedSources.has(t)?this._groupedSources.has(e)||this._groupSources(e):(this._sortSources(),this._groupSources(e)),(0,r.ensureDefined)(this._groupedSources.get(e))}_sortSources(){null===this._sources&&(this._sources=this._pane.dataSources());const e=(0,se.sortSources)(this._sources),t=e.filter(e=>!(0,f.isLineTool)(e)||e.isActualSymbol()&&e.isActualCurrency()&&e.isActualUnit());this._groupedSources.set("allSorted",e),this._groupedSources.set("visibleSorted",t)}_groupSources(e){const t=(0,r.ensureDefined)(ne.get(e)),i=re.get(e);if(void 0!==i){const s=(0,r.ensureDefined)(this._groupedSources.get(t)).filter(e=>i(e,this._pane));this._groupedSources.set(e,s)}}}var le=i(28372),ce=i(22423),he=i(69927),de=i(79680),ue=i(26161),pe=i(50669),_e=i(16654),me=i(13933);const ge=[],fe=[];class ve{constructor(e){this._studies={},this._deferreds={},this._container=e,ge.push(e),fe.push(this)}add(e,t){this._deferreds[e]&&(this._deferreds[e].resolve(t),delete this._deferreds[e]),this._studies[e]=t}get(e){return this._studies[e]?Promise.resolve(this._studies[e]):(this._deferreds[e]||(this._deferreds[e]=(0,d.createDeferredPromise)()),this._deferreds[e].promise)}reset(){const e=ge.indexOf(this._container);~e&&(ge.splice(e,1),fe.splice(e,1))}static instance(e){const t=ge.indexOf(e);return~t?fe[t]:new ve(e)}}var Se=i(66101),ye=i(97917);var be=i(36759),we=i(98802),Ce=i(95536),Pe=i(86225),Te=i(82241),xe=i(78898);const Ie=(0,$.getLogger)("Chart.Pane");function Me(e,t,i){e.setMargins({top:t,bottom:i})}class Le{constructor(e,t,i,s){this.m_dataSources=[],this._sourceWatchedValuesSubscriptions=new Map,this.m_mainDataSource=null,this._cachedOrderedSources=new ae(this),this._sourcesById=new Map,this._priceSourcesById=new Map,this._sourcePropertiesChanged=new(U()),this._sourcesZOrderChanged=new(U()),this._tagsChanged=new(U()),this._stretchFactor=1e3,this._isInInsertManyDataSourcesState=!1,this._lastLineDataSourceZOrder=null,this._rightPriceScales=[],this._leftPriceScales=[],this._lockedPriceScale=null,this._currentPriceScaleRatio=null,this._onPriceScalesChanged=new(U()),this._isRecalculatingScales=!1,this._priceDataSources=[],this._symbolSources=[],this._symbolSourceResolved=new(U()),this._symbolSourceResolvingActive=new(G())(!1),this._bulkActions={activeCounter:0},this._height=0,this._width=0,this._dataSourcesCollectionChanged=new(U()),this._symbolSourceCollectionChanged=new(U()),this._maximized=new(G())(!1),this._collapsed=new(G())(!1),this._destroyed=new(U()),this._executionsPositionController=null,this._recalcSymbolSourceResolvingActive=()=>{for(const e of this._symbolSources)if(e.symbolResolvingActive().value())return void this._symbolSourceResolvingActive.setValue(!0);this._symbolSourceResolvingActive.setValue(!1)},this._onSymbolSourceCollectionChanged=()=>{0===this._bulkActions.activeCounter?this._symbolSourceCollectionChanged.fire():this._bulkActions.symbolSourceCollectionChanged=!0},this._priceScaleSelectionStrategy=(0,Z.createPriceScaleSelectionStrategy)(i.properties().childs().priceScaleSelectionStrategyName.value()), +this._id=null!=s?s:(0,X.randomHashN)(6),this._timeScale=e,this.m_mainDataSource=null,this._properties=t,this._model=i,i.properties().childs().priceScaleSelectionStrategyName.subscribe(null,e=>{this._priceScaleSelectionStrategy=(0,Z.createPriceScaleSelectionStrategy)(e.value()),this._priceScaleSelectionStrategy.apply(this)}),this._timeScale.barSpacingChanged().subscribe(this,()=>{this.m_mainDataSource===this._model.mainSeries()&&this._recalculatePriceScaleByScaleRatio(this.m_mainDataSource.priceScale())}),t.childs().topMargin.subscribe(this,this._updateMargins),t.childs().bottomMargin.subscribe(this,this._updateMargins),this._updateMargins()}destroy(){this._properties.childs().topMargin.unsubscribeAll(this),this._properties.childs().bottomMargin.unsubscribeAll(this),this._model.properties().childs().priceScaleSelectionStrategyName.unsubscribeAll(this),this._timeScale.barSpacingChanged().unsubscribeAll(this),this._leftPriceScales.concat(this._rightPriceScales).forEach(e=>{e.modeChanged().unsubscribeAll(this),e.priceRangeChanged().unsubscribeAll(this),e.internalHeightChanged().unsubscribeAll(this)});for(const e of this.m_dataSources)this.removeSourceFromPriceScale(e),e.destroy&&e.destroy();this._destroyed.fire()}id(){return this._id}bulkActionMacro(e){const t=this._bulkActions;t.activeCounter+=1,e(),t.activeCounter-=1,0===t.activeCounter&&(this._dataSourcesCollectionChanged.fire(),t.symbolSourceCollectionChanged&&this._symbolSourceCollectionChanged.fire(),t.symbolSourceCollectionChanged=!1)}defaultPriceScale(){var e,t;const i=null!==(t=null===(e=this.m_mainDataSource)||void 0===e?void 0:e.priceScale())&&void 0!==t?t:null;if(null!==i)return i;const s=this.properties().childs().axisProperties.state();return s.autoScale=!0,new le.PriceScale(this._model.properties().childs().scalesProperties,s)}leftPriceScales(){return this._leftPriceScales}rightPriceScales(){return this._rightPriceScales}visibleLeftPriceScales(){var e;const t=this._model.priceScaleSlotsCount();if(this._leftPriceScales.length>t.left){const i=(0,g.moveToHead)(this._leftPriceScales,null===(e=this.mainDataSource())||void 0===e?void 0:e.priceScale());return i.splice(t.left),i}return this._leftPriceScales}visibleRightPriceScales(){var e;const t=this._model.priceScaleSlotsCount();if(this._rightPriceScales.length>t.right){const i=(0,g.moveToHead)(this._rightPriceScales,null===(e=this.mainDataSource())||void 0===e?void 0:e.priceScale());return i.splice(t.right),i}return this._rightPriceScales}clearSeries(e){const t=this._model.mainSeries();for(let i=this.m_dataSources.length-1;i>=0;i--)this.m_dataSources[i]===t&&this._removeSourceFromCollections(i,e)}sourcesByGroup(){return this._cachedOrderedSources}dataSourceForId(e){return this._sourcesById.get(e)||null}changeSourceId(e,t){(0,r.assert)(this.hasDataSource(e));const i=e.id();e.setId(t),this._sourcesById.delete(i),this._sourcesById.set(t,e),(0,ie.isPriceDataSource)(e)&&(this._priceSourcesById.delete(i),this._priceSourcesById.set(t,e))}movePriceScale(e,t,i){const s=this.priceScalePosition(e) +;if(s!==t)this.removePriceScale(e),this._placePriceScale(e,t,i),e.invalidateMargins(),this._invalidateSourcesCache();else if(void 0!==i&&"overlay"!==s){const t="left"===s?this._leftPriceScales:this._rightPriceScales,r=t.indexOf(e);t.splice(r,1),t.splice(i,0,e)}}mainDataSource(){return this.m_mainDataSource}isEmpty(){return null===this.m_mainDataSource}recalculatePriceScale(e,t){if(!e)return;const i=e.sourcesForAutoscale();if((e.isAutoScale()||e.priceRangeShouldBeRecalculatedOnce())&&i&&i.length>0&&!this.timeScale().isEmpty()){const t=this.timeScale().visibleBarsStrictRange();e.recalculatePriceRange(t)}e.updateAllViews(t)}onSourceTagsChanged(){this._tagsChanged.fire()}insertDataSource(e,t,i){e.setZorder(i),t||(t=this.findSuitableScale(e)),this._addSourceToCollections(e);let s=!1;e===this.model().mainSeries()?(this.m_mainDataSource=this.model().mainSeries(),s=!0):null===this.m_mainDataSource&&(0,ie.isPriceDataSource)(e)&&(this.m_mainDataSource=e,s=!0),t.addDataSource(e,this._isInInsertManyDataSourcesState),e.setPriceScale(t),t.invalidateMargins(),e.onTagsChanged&&e.onTagsChanged().subscribe(this,this.onSourceTagsChanged),s&&this._processMainSourceChange(),this._tagsChanged.fire(),(0,ie.isPriceDataSource)(e)&&this.recalculatePriceScale(t,(0,O.dataSourceChangeEvent)(e.id())),this._invalidateSourcesCache()}addDataSource(e,t,i){let s=e.zorder();i||((0,f.isLineTool)(e)&&!e.isSpeciallyZOrderedSource()?(s=null!==this._lastLineDataSourceZOrder?this._lastLineDataSourceZOrder+1:this.newLineToolZOrder(),this._isInInsertManyDataSourcesState&&(this._lastLineDataSourceZOrder=s)):(0,H.isStudy)(e)&&!e.isSpeciallyZOrderedSource()&&(s=this.newStudyZOrder())),this.insertDataSource(e,t,s)}removeDataSource(e,t,i){const s=this.m_dataSources.indexOf(e);if(-1===s)return void Ie.logDebug("removeDataSource: invalid data source");this._removeSourceFromCollections(s,!!i),e!==this.m_mainDataSource||t||(this.m_mainDataSource=null);const r=e.priceScale();this.removeSourceFromPriceScale(e),e.onTagsChanged&&e.onTagsChanged().unsubscribe(this,this.onSourceTagsChanged),(0,ie.isPriceDataSource)(e)&&!t&&this._processMainSourceChange(),this._tagsChanged.fire(),r&&(0,ie.isPriceDataSource)(e)&&this.recalculatePriceScale(r,(0,O.dataSourceChangeEvent)(e.id())),this._invalidateSourcesCache()}hasDataSource(e){return this._sourcesById.has(e.id())}hasPriceDataSource(e){return this._priceSourcesById.has(e.id())}dataSources(){return this.m_dataSources}priceDataSources(){return this._priceDataSources}symbolSources(){return this._symbolSources}replaceSource(e,t,i){const s=this.m_mainDataSource===e,r=e.zorder();this.insertDataSource(t,i,r),this.removeDataSource(e,s),this._sourcesById.set(t.id(),t),(0,ie.isPriceDataSource)(t)&&this._priceSourcesById.set(t.id(),t),s&&(this.m_mainDataSource=t,this._processMainSourceChange())}findSuitableScale(e,t,i){return this._priceScaleSelectionStrategy.findSuitableScale(this,e,t,i)}createNewPriceScaleIfPossible(){return this._priceScaleSelectionStrategy.createNewPriceScaleIfPossible(this)}canCreateNewPriceScale(){ +return this._priceScaleSelectionStrategy.canCreateNewPriceScale(this)}isOverlay(e){const t=e.priceScale();return null===t||"overlay"===this.priceScalePosition(t)}recalculate(e){this._leftPriceScales.forEach(t=>this.recalculatePriceScale(t,e)),this._rightPriceScales.forEach(t=>this.recalculatePriceScale(t,e));for(const t of this.m_dataSources)this.isOverlay(t)&&!(0,f.isLineTool)(t)&&this.recalculatePriceScale(t.priceScale(),e);this.updateAllViews(e),this._model.updatePane(this)}updateAllViews(e){for(const t of this.m_dataSources)t.updateAllViews(e);for(const t of this.model().customSources())t.updateViewsForPane(this,e)}priceScalePosition(e){return this._leftPriceScales.includes(e)?"left":this._rightPriceScales.includes(e)?"right":"overlay"}createPriceScaleAtPosition(e,t){const i=this.properties().childs().axisProperties.state();i.autoScale=!0;const s=new le.PriceScale(this.model().properties().childs().scalesProperties,i);return s.setHeight(this.height()),Me(s,this._defaultTopMargin(),this._defaultBottomMargin()),this._placePriceScale(s,e,t),s}removePriceScale(e){e.modeChanged().unsubscribeAll(this),e.priceRangeChanged().unsubscribeAll(this),e.internalHeightChanged().unsubscribeAll(this),e===this._lockedPriceScale&&(this._lockedPriceScale=null,this._currentPriceScaleRatio=null);const t=this._leftPriceScales.indexOf(e);-1!==t&&(this._leftPriceScales[t].invalidateMargins(),this._leftPriceScales.splice(t,1));const i=this._rightPriceScales.indexOf(e);if(-1!==i&&(this._rightPriceScales[i].invalidateMargins(),this._rightPriceScales.splice(i,1)),null===e.mainSource()){const t=e.dataSources().length;0!==t&&Ie.logError("Invalid priceScale state: empty mainSource but non-empty data sources="+t)}this._onPriceScalesChanged.fire()}priceScaleIndex(e,t){switch(t){case"left":return this.leftPriceScales().indexOf(e);case"right":return this.rightPriceScales().indexOf(e)}}move(e,t,i){const s=e.priceScale();this.removeSourceFromPriceScale(e),t.addDataSource(e),e.setPriceScale(t),t.invalidateMargins(),this._processMainSourceChange(),this._invalidateSourcesCache(),e.isIncludedInAutoScale()&&(null!==s&&this.recalculatePriceScale(s,(0,O.dataSourceChangeEvent)(e.id())),this.recalculatePriceScale(t,(0,O.dataSourceChangeEvent)(e.id()))),this._onPriceScalesChanged.fire()}setZOrders(e){e.forEach((e,t)=>{t.setZorder(e)}),this._invalidateSourcesCache(),0===this._bulkActions.activeCounter&&this._dataSourcesCollectionChanged.fire(),this.model().lightUpdate()}isMainPane(){return this.hasDataSource(this.model().mainSeries())}isLast(){const e=this.model().panes();return e[e.length-1]===this}newStudyZOrder(){return(0,ue.newStudyZOrder)(this._priceDataSources)}newLineToolZOrder(e){return(0,ue.newLineToolZOrder)(this.m_dataSources,e)}model(){return this._model}containsMainSeries(){return this._sourcesById.has(this.model().mainSeries().id())}applyPriceScaleRatio(e,t){var i +;null!==this._lockedPriceScale&&this._lockedPriceScale!==e||this._currentPriceScaleRatio===t||!this.isMainPane()||null===this._lockedPriceScale&&e!==(null===(i=this.mainDataSource())||void 0===i?void 0:i.priceScale())||(this._setNewPriceRangeByScaleRatio(e,t,this._mainSourceVisiblePriceRange(e),!0,!0),null!==this._lockedPriceScale?this._tryToApplyNewPriceScaleRatio():e.isLog()||this.model().mainSeriesScaleRatioPropertyOnChanged())}sendToBack(e){const t=this.sourcesByGroup().allExceptSpecialSources();this._batchReorder(e,t[0],ue.moveBeforeSource)}bringToFront(e){const t=this.sourcesByGroup().allExceptSpecialSources();this._batchReorder(e,t[t.length-1],ue.moveAfterSource)}sendBackward(e){const t=this.sourcesByGroup().allIncludingHidden(),i=t.indexOf(e[0]);if(0===i)this.bringToFront(e);else{const s=t[i-1];this.insertBefore(e,s)}}bringForward(e){const t=this.sourcesByGroup().allExceptSpecialSources(),i=t.indexOf(e[e.length-1]);if(i===t.length-1)this.sendToBack(e);else{const s=t[i+1];this.insertAfter(e,s)}}insertAfter(e,t){this._batchReorder(e,t,ue.moveAfterSource)}insertBefore(e,t){this._batchReorder(e,t,ue.moveBeforeSource)}maximized(){return this._maximized}collapsed(){return this._collapsed}getPriceScaleById(e){const t=this.m_dataSources.find(t=>{var i;return(null===(i=t.priceScale())||void 0===i?void 0:i.id())===e});return void 0===t?null:t.priceScale()}priceScaleSelectionStrategy(){return this._priceScaleSelectionStrategy}setPriceScaleSelectionStrategy(e){this._priceScaleSelectionStrategy=e,e.apply(this)}findTargetPriceAxisViews(e,t,i,s){if((0,m.isDataSource)(e)&&this.model().paneForSource(e)!==this)return[];const r=e.priceScale();if(t===r)return i;if(null===r)return[];if("overlay"===this.priceScalePosition(r))return t===this.defaultPriceScale()?i:[];const n=this.priceScalePosition(t);if(n!==this.priceScalePosition(r))return[];const o="left"===n?this.leftPriceScales():this.rightPriceScales();return o.indexOf(t)1}properties(){return this._properties}setPriceAutoScale(e,t){e.setMode({autoScale:t}),this.timeScale().isEmpty()||this.recalculatePriceScale(e,(0,O.viewportChangeEvent)())}state(e,t,i,s,r,n){var o,a;const l={sources:[],mainSourceId:null===(o=this.m_mainDataSource)||void 0===o?void 0:o.id(),stretchFactor:this._stretchFactor,leftAxisesState:[],rightAxisesState:[],overlayPriceScales:{},priceScaleRatio:this._currentPriceScaleRatio},c=new Map,h=e=>{if(c.has(e))return c.get(e);let o=null;const a=i&&!e.isSavedInStudyTemplates()||!e.state||(0,f.isLineTool)(e)&&n||!(o=e.state(t,r))||!e.isSavedInChart(Boolean(t))||s&&(0,f.isLineTool)(e)&&e.isActualSymbol&&!e.isActualSymbol()||e.isPhantom()?null:o;return c.set(e,a),a};if(e){l.sources=[];for(let e=0;enull!==c.get(e),u=e=>!n||!(0,f.isLineTool)(e);l.leftAxisesState=this._leftPriceScales.map(e=>({state:e.state(), +sources:e.dataSources().filter(d).filter(u).map(e=>e.id())})),l.rightAxisesState=this._rightPriceScales.map(e=>({state:e.state(),sources:e.dataSources().filter(d).filter(u).map(e=>e.id())})),l.overlayPriceScales={};for(const e of this.m_dataSources)if(this.isOverlay(e)&&e.isSavedInChart(Boolean(t))){const t=e.priceScale();l.overlayPriceScales[e.id()]=null!==(a=null==t?void 0:t.state())&&void 0!==a?a:null}return l}restoreState(e,t,i,s,n,o){var a;s=s||{},e.stretchFactor&&(this._stretchFactor=e.stretchFactor);const l={};if(e.sources){const r=e.sources.filter(e=>{var t;return!!e&&("MainSeries"===e.type||(!(null===(t=e.points)||void 0===t?void 0:t.some(e=>null===e.time_t||!isFinite(e.time_t)))||(Ie.logNormal("Dropped invalid "+e.type+". Reason: non-numeric point time"),!1)))}),a=r.findIndex(pe.isMainSeriesState);-1!==a&&this.model().mainSeries().setObsoleteZOrder(r[a].zorder),i<3&&(0,ue.reorderDataSourcesStateZOrder)(r);const c=-1!==this.m_dataSources.indexOf(this._model.mainSeries());this.clearSeries(Boolean(o)),this.m_mainDataSource=null,c&&this._addSourceToCollections(this._model.mainSeries(),o),(()=>{const t=r.find(t=>t.id===e.mainSourceId);if(void 0===t)return void Ie.logWarn("There is no main source with id "+e.mainSourceId+", total sources="+r.length);if(!window.TradingView[t.type]||!(0,f.isLineToolName)(t.type))return void Ie.logNormal("The type of main source is not line tool - fix is unnecessary");let i=null;for(const e of r)if(!window.TradingView[t.type]||!(0,f.isLineToolName)(e.type)){if(null!==i)return void Ie.logWarn("Pane contains more than 1 possibly main sources - auto fix cannot be applied");i=e}if(null===i)return void Ie.logWarn("Pane contains only line tools - possible we need to remove this pane?");const s=e.mainSourceId;let n=0;e.mainSourceId=i.id,r.forEach(e=>{e.ownerSource===s&&(e.ownerSource=null==i?void 0:i.id,n+=1)}),Ie.logNormal("Auto fix broken pane is applied, changed line tools="+n+", changed from="+s+" to="+i.id)})();for(const e of r)if("study_Sessions"===e.type){this.model().sessions().restoreOldState(e,t);break}for(const e of r){if("study_Sessions"===e.type)continue;const i=e.id;null===this._model.dataSourceForId(e.id)||"MainSeries"===e.type?(l[i]=e.ownerSource,(0,pe.isMainSeriesState)(e)?this._restoreMainSeries(e,t,c,s,n,o):(0,pe.isStudyState)(e)?this.restoreStudy(e,t,s,o):(0,pe.isLineToolState)(e)?(e.state&&(e.state.zOrderVersion=2),this.restoreLineTool(e,t,void 0,o)):"ChartEventsSource"===e.type&&this._restoreSpecialSource(e,t,o)):Ie.logError("Duplicate id while restoring pane: "+e.type+","+e.id)}}const c=new Set,h=(e,t)=>{e.priceScale()!==t&&(this.removeSourceFromPriceScale(e),e.setPriceScale(t),t.addDataSource(e))},d=(e,t,i)=>{if(c.has(e))return;c.add(e);const s=i.m_showSymbolLabels;void 0!==s&&e===this.model().mainSeries()&&this.model().properties().childs().scalesProperties.childs().showSymbolLabels.setValue(s),this._model.children(e,!0).forEach(e=>d(e,t,i)),h(e,t)},u=e=>{const t=(0, +D.defaults)("chartproperties").paneProperties.axisProperties,i=new le.PriceScale(this.model().properties().childs().scalesProperties,t);return i.restoreState(e.state),e.sources.forEach(e=>{const s=this.dataSourceForId(e);s&&d(s,i,t)}),0===i.dataSources().length?null:i},p=e=>e.map(u).filter(e=>null!==e);let _;if(e.leftAxisesState)_=p(e.leftAxisesState);else{const t=u({state:e.leftAxisState,sources:e.leftAxisSources});_=null!==t?[t]:[]}let m;if(this._leftPriceScales.slice().forEach(e=>this.removePriceScale(e)),this._leftPriceScales=[],_.forEach(e=>this._placePriceScale(e,"left")),e.rightAxisesState)m=p(e.rightAxisesState);else{const t=u({state:e.rightAxisState,sources:e.rightAxisSources});m=null!==t?[t]:[]}this._rightPriceScales.slice().forEach(e=>this.removePriceScale(e)),this._rightPriceScales=[],m.forEach(e=>this._placePriceScale(e,"right")),this._currentPriceScaleRatio=e.priceScaleRatio||e.leftPriceScaleRatio||e.rightPriceScaleRatio||null;const g=new Map;for(const t of this.m_dataSources){if(c.has(t))continue;let i;if(e.overlayPriceScales&&e.overlayPriceScales[t.id()]){let s=e.overlayPriceScales[t.id()];g.has(null==s?void 0:s.id)?i=g.get(null==s?void 0:s.id):(s=(0,r.ensure)(s),i=new le.PriceScale(this._model.properties().childs().scalesProperties),i.setHeight(this._height),s.m_isAutoScale=!0,s.m_isLog=!1,s.m_isPercentage=!1,s.m_isLockScale=!1,i.restoreState(s),g.set(s.id,i))}else i=new le.PriceScale(this._model.properties().childs().scalesProperties),i.setHeight(this._height);h(t,i)}for(const e of Object.keys(l)){const t=l[e];t&&(null===(a=this.dataSourceForId(e))||void 0===a||a.setOwnerSource(this.dataSourceForId(t)))}if(e.mainSourceId&&!this.containsMainSeries()&&(this.m_mainDataSource=this.dataSourceForId(e.mainSourceId)),!this.m_mainDataSource)for(const e of this.m_dataSources)if((0,ie.isPriceDataSource)(e)){this.m_mainDataSource=e;break}for(const e of this.m_dataSources)if((0,f.isLineTool)(e))e.ownerSource()||e.setOwnerSource(this.mainDataSource()),e.isFixed()&&e.restoreFixedPoint();else if((0,H.isStudy)(e)){const t=e.properties();t.linkedToSeries&&t.linkedToSeries.value()&&(e.ownerSource()||e.setOwnerSource(this.model().mainSeries()))}this._updateMargins(),this._cachedOrderedSources.clear()}onPriceScalesChanged(){return this._onPriceScalesChanged}setPaneSize(e){let t;switch(e){case"large":t=1;break;case"medium":t=.6;break;case"small":t=.3;break;case"tiny":t=.15;break;default:throw new Error("Unknown size enum value: "+e)}this._stretchFactor=1e3*t}stretchFactor(){return this._stretchFactor}setStretchFactor(e){this._stretchFactor=e}customSources(e){return this.model().customSources(e)}createDrawingsCaches(){te.ExecutionsPositionController.recreateOrderedByBarsSourcesCache(this)}clearDrawingCaches(){te.ExecutionsPositionController.clearOrderedByBarsSourcesCache()}executionsPositionController(){return this._executionsPositionController||(this._executionsPositionController=new te.ExecutionsPositionController(this,this._model.timeScale())),this._executionsPositionController}width(){return this._width}height(){ +return this._height}setHeight(e){this._height=e,this._leftPriceScales.forEach(t=>t.setHeight(e)),this._rightPriceScales.forEach(t=>t.setHeight(e));for(let t=0;t(e.paneViews(this)||[]).some(e=>{const r=e.renderer(t,i);return r&&r.doesIntersectWithBox&&r.doesIntersectWithBox(s)}))}logicalRectToPixels(e){const t=this.defaultPriceScale(),i=this.timeScale(),s=(0,r.ensureNotNull)((0,r.ensureNotNull)(t.mainSource()).firstValue()),o=t.priceToCoordinate(e.p1.price,s),a=i.indexToCoordinate(e.p1.index),l=t.priceToCoordinate(e.p2.price,s),c=i.indexToCoordinate(e.p2.index),h=new n.Point(Math.min(a,c),Math.min(o,l)),d=new n.Point(Math.max(a,c),Math.max(o,l));return(0,n.box)(h,d)}timeScale(){return this._timeScale}restoreLineTool(e,t,i,s){var n,o,a,l,c,h,d,u,p,_,m;delete e.state.lastUpdateTime,e.state.intervalsVisibilities=(0,be.mergeIntervalVisibilitiesDefaults)(e.state.intervalsVisibilities),i=void 0===i||i,ye.LineToolElliott.migrateState(e),"LineToolGannComplex"!==(m=e).type||void 0!==m.version&&1!==m.version||(m.type="LineToolGannFixed"),Array.isArray(e.positionPercents)&&(e.positionPercents=e.positionPercents[0]);const g=e.type,v=e.id,S=e.state,y=i?e.zorder:this.newLineToolZOrder();(0,r.assert)((0,f.isLineToolName)(g),"invalid data source type:"+g+" (expected to be a Line Tool)");let b,w,C=null;if((0,pe.isStudyLineToolState)(e)){C=this._model.studyVersioning();const t=C.patchPointsBasedStudyState(e);e=t;const i=t.metaInfo;Object.assign(i,Q().parseIdString(null==i?void 0:i.fullId));const s=C.updateMetaInfo(i)||i;w=(0,f.createStudyLineToolProperties)(g,i,s,S,C),b=(0,f.createLineTool)(g,this._model,w,s,!0)}else w=(0,f.createLineToolProperties)(g,S,this._model),t?null===(n=w.child("fixedSize"))||void 0===n||n.setValue(!1):null===(o=w.child("fixedSize"))||void 0===o||o.setValue(!0),b=(0,f.createLineTool)(g,this._model,w,null,!0);b.setId(v),b.linkKey().setValue(e.linkKey||null);const P=e.alertId;P&&b.canHasAlert()&&B.enabled("alerts")&&!this._model.readOnly()&&!this._model.isJustClonedChart()&&b.setAlert(P,{noChartSave:!0});let T=null!==(a=e.indexes)&&void 0!==a?a:[] +;if(T=T.slice(0,null!==(c=null===(l=e.points)||void 0===l?void 0:l.length)&&void 0!==c?c:T.length),b.isFixed()?void 0!==e.positionPercents?b.restorePositionPercents(e.positionPercents):b.restorePositionPercents({x:.5,y:.5}):e.points&&b.restorePoints(e.points,T,t),b instanceof we.LineToolBarsPattern||b instanceof Ce.LineToolCallout||b instanceof Pe.LineToolTrendAngle||b instanceof Te.LineToolGhostFeed||b instanceof xe.LineToolParallelChannel)null===(d=(h=b).restoreData)||void 0===d||d.call(h,e);else if(t&&(0,pe.isStudyLineToolState)(e)&&b.restoreData){const t=e;C&&(t.graphics=C.patchPointsBasedStudyData(t.metaInfo,t.graphics)),null===(u=b.restoreData)||void 0===u||u.call(b,t)}const x=null==e.version?1:e.version,I=null==b.version?1:b.version;return x!==I&&(null===(_=(p=b).migrateVersion)||void 0===_||_.call(p,x,I,{pane:this,model:this._model,properties:w})),void 0!==y&&b.setZorder(y),this._addSourceToCollections(b,s),this._cachedOrderedSources.clear(),b}restoreStudy(e,t,i,s){if(t&&void 0===e.data&&void 0===e.nonSeriesData&&void 0===e.indexes)return Ie.logError("Cannot restore (skipping) study without data "+e.id+", "+e.metaInfo.id),null;const r=e.id,n=e.state,o=e.zorder,a=e.ownerSource;let l=(0,ee.clone)(e.metaInfo);if(Object.assign(l,Q().parseIdString(l.id)),function(e){return"Script$TV_EARNINGS@tv-scripting"===e||"Script$TV_DIVIDENDS@tv-scripting"===e||"Script$TV_SPLITS@tv-scripting"===e||"ESD$TV_EARNINGS@tv-scripting"===e||"ESD$TV_DIVIDENDS@tv-scripting"===e||"ESD$TV_SPLITS@tv-scripting"===e||"Earnings@tv-basicstudies"===e||"Dividends@tv-basicstudies"===e||"Splits@tv-basicstudies"===e||"BarSetContinuousRollDates@tv-basicstudies"===e}(l.id)&&!t)return Ie.logNormal("Skipping study "+l.id),null;let c=n;const h=this._model.studyVersioning(),d=h.patchPropsStateAndMetaInfo(c,l,{oldShowStudyLastValueProperty:t&&!i.showStudyLastValueProperty});c=d.propsState,l=d.metaInfo;const u=new w.StudyStub(this._model,e,l.shortDescription);let p;u.setId(r),u.setZorder(o);const _=i=>{u.setStatus({type:me.StudyStatusType.Undefined});const s=i||new(Q())(l),n=ve.instance(this._model),o=o=>{var a;const d=(0,Se.prepareStudyPropertiesForLoadChart)(l,i,c,null,h),_=(0,H.createStudy)(this._model,d,o||this._model.mainSeries(),s);if(_.setId(r),_.setOwnFirstValue(null!==(a=e.ownFirstValue)&&void 0!==a?a:null),t){const t=e,{data:i,nsData:s,indexes:r}=h.patchStudyData(l,t.data,t.nonSeriesData,t.indexes);_.restoreData(i,s,r)}this._model.replaceStudyStub(u,_)||(p=_),n.add(r,_)};a&&e.state.isChildStudy?n.get(a).then(o):o()};if(t)_(null);else{const e=h.updateMetaInfoAsync(l);e.sync?_(e.result):e.result.then(_).catch(e=>u.setFailed("error: "+e))}const m=null!=p?p:u;return m&&(m.setZorder(o),this._addSourceToCollections(m,s),this._processMainSourceChange()),this._cachedOrderedSources.clear(),m}clipboardLineToolOwnerSource(e){const t=this.dataSourceForId(e);if(null!==t){const e=t.ownerSource();if(null!==e&&null!==e.firstValue())return e}const i=this.mainDataSource();if(null!==i&&null!==i.firstValue())return i;for(const e of this.dataSources())if((0, +ie.isPriceDataSource)(e)&&null!==e.firstValue())return e;return null}realignLineTools(e){var t;let i=!1;for(const s of this.m_dataSources)!(0,f.isLineTool)(s)||void 0!==e&&(null===(t=null==s?void 0:s.ownerSource())||void 0===t?void 0:t.symbolSource())!==e&&(0,de.isActingAsSymbolSource)(e)||(s.realign(),s.updateAllViews((0,O.dataSourceChangeEvent)(s.id())),i=!0);return i&&this._invalidateSourcesCache(),i}startScalePrice(e,t){e.startScale(t)}scalePriceTo(e,t){e.scaleTo(t),this.updateAllViews((0,O.viewportChangeEvent)())}endScalePrice(e){e.endScale()}startScrollPrice(e,t){e.startScroll(t)}scrollPriceTo(e,t){e.scrollTo(t),this.updateAllViews((0,O.viewportChangeEvent)())}endScrollPrice(e){e.endScroll()}resetPriceScale(e){const t=this.timeScale().visibleBarsStrictRange();e.isLockScale()||e.setMode({autoScale:!0}),e.recalculatePriceRange(t),this.updateAllViews((0,O.viewportChangeEvent)())}restorePriceScaleState(e,t){e.restoreState(t),this.updateAllViews((0,O.viewportChangeEvent)())}beginInsertManyLineDataSources(){this._isInInsertManyDataSourcesState=!0,this._lastLineDataSourceZOrder=null}endInsertManyLineDataSources(){this._isInInsertManyDataSourcesState=!1,this._lastLineDataSourceZOrder=null}removeSourceFromPriceScale(e){const t=e.priceScale();if(null!==t){const i=t.dataSources();i.indexOf(e)>=0&&t.removeDataSource(e),0===i.length&&this.removePriceScale(t)}}_invalidateSourcesCache(){this._cachedOrderedSources.clear(),this._leftPriceScales.forEach(e=>e.invalidateSourcesCache()),this._rightPriceScales.forEach(e=>e.invalidateSourcesCache())}_processMainSourceChange(){let e=!1;if(null===this.m_mainDataSource)for(const t of this.m_dataSources)if((0,ie.isPriceDataSource)(t)&&!this.isOverlay(t)&&(!t.properties().linkedToSeries||!t.properties().linkedToSeries.value())){this.m_mainDataSource=t,e=!0;break}if(this.m_mainDataSource&&e){let e=this.m_dataSources.filter(f.isLineTool);e=(0,se.sortSources)(e);for(const t of e)this.move(t,(0,r.ensureNotNull)(this.m_mainDataSource.priceScale()),!0)}else if(!this.m_mainDataSource||this.isOverlay(this.m_mainDataSource)&&0===this._nonOverlayPricesSourcesCount()){let e=null;if(this.m_dataSources.includes(this._model.mainSeries()))e=this._model.mainSeries();else for(const t of this.m_dataSources)if((0,ie.isPriceDataSource)(t)&&this.isOverlay(t)&&t.showInObjectTree()){e=t;break}if(null!==e){const t=this.m_mainDataSource===e;this.m_mainDataSource=e;const i=this.createNewPriceScaleIfPossible();if(t&&e===this._model.mainSeries()){const t=(0,r.ensureNotNull)(e.priceScale());this._model.children(e,!0).forEach(e=>{this.removeSourceFromPriceScale(e),i.addDataSource(e),e.setPriceScale(i)}),this.removePriceScale(t)}this.move(e,i,!0),this.recalculatePriceScale(e.priceScale(),(0,O.globalChangeEvent)())}}}_addSourceToCollections(e,t){this.m_dataSources.push(e),this._sourcesById.set(e.id(),e),this._invalidateSourcesCache();const i=()=>{this._sourcePropertiesChanged.fire(e)};e.properties().subscribe(this,i),e.zOrderChanged().subscribe(this,t=>this._sourcesZOrderChanged.fire(e,t)),(0, +f.isLineTool)(e)&&(e.normalizedPointsChanged().subscribe(this,i),e.fixedPointChanged().subscribe(this,i),e.hasAlert.subscribe(i),e.sharingMode().subscribe(i),e.linkKey().subscribe(i),this._sourceWatchedValuesSubscriptions.set(e.id(),i));const s=(0,de.isSymbolSource)(e)?e:null;(0,ie.isPriceDataSource)(e)&&(this._priceSourcesById.set(e.id(),e),e.currencyChanged().subscribe(this,()=>this._invalidateSourcesCache()),e.unitChanged().subscribe(this,()=>this._invalidateSourcesCache()),this._priceDataSources.push(e),null!==s&&(this._symbolSources.push(s),s.symbolResolved().subscribe(this,()=>this._symbolSourceResolved.fire(e)),s.symbolResolvingActive().subscribe(this._recalcSymbolSourceResolvingActive),s.symbolHibernated().subscribe(this._onSymbolSourceCollectionChanged),this._recalcSymbolSourceResolvingActive(),this._onSymbolSourceCollectionChanged())),e.isMultiPaneAvailable()&&this.model().addMultiPaneSource(e),t||0!==this._bulkActions.activeCounter||this._dataSourcesCollectionChanged.fire()}_removeSourceFromCollections(e,t){const i=this.m_dataSources[e];i.properties().unsubscribeAll(this),i.zOrderChanged().unsubscribeAll(this),this.m_dataSources.splice(e,1),this._sourcesById.delete(i.id());const s=i.id();if((0,f.isLineTool)(i)&&(i.normalizedPointsChanged().unsubscribeAll(this),i.fixedPointChanged().unsubscribeAll(this),this._sourceWatchedValuesSubscriptions.has(s))){const e=this._sourceWatchedValuesSubscriptions.get(s);i.hasAlert.unsubscribe(e),i.linkKey().unsubscribe(e)}this._invalidateSourcesCache();const n=(0,de.isSymbolSource)(i)?i:null;if((0,ie.isPriceDataSource)(i)){this._priceSourcesById.delete(i.id()),i.currencyChanged().unsubscribeAll(this),i.unitChanged().unsubscribeAll(this);const e=this._priceDataSources.indexOf(i);if((0,r.assert)(-1!==e),this._priceDataSources.splice(e,1),null!==n){const e=this._symbolSources.indexOf(n);(0,r.assert)(-1!==e,"Source is not found"),this._symbolSources.splice(e,1),n.symbolResolved().unsubscribeAll(this),n.symbolResolvingActive().unsubscribe(this._recalcSymbolSourceResolvingActive),n.symbolHibernated().unsubscribe(this._onSymbolSourceCollectionChanged),this._recalcSymbolSourceResolvingActive(),this._onSymbolSourceCollectionChanged()}}i.isMultiPaneAvailable()&&this.model().removeMultiPaneSource(i),t||0!==this._bulkActions.activeCounter||this._dataSourcesCollectionChanged.fire()}_recalculatePriceScaleByScaleRatio(e){this.isMainPane()&&e===this._lockedPriceScale&&(null!==this._currentPriceScaleRatio?this._applyOldScaleRatioToPriceScale():this._tryToApplyNewPriceScaleRatio())}_defaultBottomMargin(){return.01*this.properties().childs().bottomMargin.value()}_defaultTopMargin(){return.01*this.properties().childs().topMargin.value()}_updateMargins(){const e=this._defaultTopMargin(),t=this._defaultBottomMargin();for(const i of this._leftPriceScales)Me(i,e,t);for(const i of this._rightPriceScales)Me(i,e,t);for(const i of this.m_dataSources)if(this.isOverlay(i)){const s=i.priceScale();null!==s&&(Me(s,e,t),this.recalculatePriceScale(s,(0,O.viewportChangeEvent)()))} +for(const e of this._leftPriceScales)this.recalculatePriceScale(e,(0,O.viewportChangeEvent)());for(const e of this._rightPriceScales)this.recalculatePriceScale(e,(0,O.viewportChangeEvent)());this.updateAllViews((0,O.viewportChangeEvent)())}_batchReorder(e,t,i){i(this.sourcesByGroup().allExceptSpecialSources(),e,t),this._invalidateSourcesCache(),this._dataSourcesCollectionChanged.fire(),this.model().fullUpdate()}_placePriceScale(e,t,i){if("overlay"===t)return void e.invalidateMargins();const s="left"===t?this._leftPriceScales:this._rightPriceScales,n=void 0===i?s.length:i;s.splice(n,0,e),e.modeChanged().subscribe(this,this._onPriceScaleModeChanged.bind(this,e)),e.internalHeightChanged().subscribe(this,this._recalculatePriceScaleByScaleRatio.bind(this,e)),e.priceRangeChanged().subscribe(this,this._recalculateTimeScaleByScaleRatio.bind(this,e)),e.priceRangeChanged().subscribe(this,this._onPriceScaleSetMinMaxPriceRange.bind(this,e)),e.isLockScale()&&((0,r.assert)(null===this._lockedPriceScale),this._lockedPriceScale=e,this._currentPriceScaleRatio=null),e.invalidateMargins(),this._onPriceScalesChanged.fire()}_onPriceScaleModeChanged(e,t,i){if(i.lockScale&&(this._lockedPriceScale!==e&&null!==this._lockedPriceScale&&this._lockedPriceScale.setMode({lockScale:!1}),this._lockedPriceScale=e,this._currentPriceScaleRatio=(0,ce.scaleRatio)(this.timeScale(),e)),t.lockScale&&!i.lockScale&&(this._lockedPriceScale=null,this._currentPriceScaleRatio=null),t.percentage===i.percentage&&t.indexedTo100===i.indexedTo100)return;const s=this.timeScale().visibleBarsStrictRange();null!==s&&(e.recalculatePriceRange(s),e.updateAllViews((0,O.viewportChangeEvent)()))}_applyOldScaleRatioToPriceScale(){this._isRecalculatingScales||null===this._currentPriceScaleRatio||null===this._lockedPriceScale||(this._isRecalculatingScales=!0,this._setNewPriceRangeByScaleRatio(this._lockedPriceScale,this._currentPriceScaleRatio,this._mainSourceVisiblePriceRange(this._lockedPriceScale)),this._isRecalculatingScales=!1)}_setNewPriceRangeByScaleRatio(e,t,i,s,r){const n=(0,ce.priceRangeByScaleRatio)(e,this.timeScale().barSpacing(),t);e.setPriceRange(null!==n?n:i,s,r)}_applyOldScaleRatioToTimeScale(){this._isRecalculatingScales||null===this._currentPriceScaleRatio||(this._isRecalculatingScales=!0,this._setNewBarSpacingByScaleRatio(),this._isRecalculatingScales=!1)}_tryToApplyNewPriceScaleRatio(){const e=(0,r.ensureNotNull)(this._lockedPriceScale),t=(0,ce.scaleRatio)(this.timeScale(),e);this._currentPriceScaleRatio===t||e.isLog()||(this._currentPriceScaleRatio=t,this.model().mainSeriesScaleRatioPropertyOnChanged())}_recalculateTimeScaleByScaleRatio(e){e===this._lockedPriceScale&&(null!==this._currentPriceScaleRatio?this._applyOldScaleRatioToTimeScale():this._tryToApplyNewPriceScaleRatio())}_setNewBarSpacingByScaleRatio(){const e=this.timeScale().getValidBarSpacing((0,ce.barSpacingByScaleRatio)((0,r.ensureNotNull)(this._lockedPriceScale),this._currentPriceScaleRatio));this.timeScale().isValidBarSpacing(e)&&this.timeScale().setBarSpacing(e)}_mainSourceVisiblePriceRange(e){ +const t=this.timeScale().visibleBarsStrictRange();return null!==t?(0,r.ensureNotNull)((0,r.ensureNotNull)(e.mainSource()).priceRange(t.firstBar(),t.lastBar())):new he.PriceRange(-.5,.5)}_setMinMaxPriceRange(){const e=(0,r.ensureNotNull)(this._lockedPriceScale),t=(0,ce.priceRangeByScaleRatio)(e,this.timeScale().maxBarSpacing(),this._currentPriceScaleRatio),i=(0,ce.priceRangeByScaleRatio)(e,this.timeScale().minBarSpacing(),this._currentPriceScaleRatio);null!==t&&e.setMaxPriceRange(t),null!==i&&e.setMinPriceRange(i)}_onPriceScaleSetMinMaxPriceRange(e){e===this._lockedPriceScale&&this._setMinMaxPriceRange()}_nonOverlayPricesSourcesCount(){return this.m_dataSources.filter(e=>(!e.properties().linkedToSeries||!e.properties().linkedToSeries.value())&&((0,ie.isPriceDataSource)(e)&&e.showInObjectTree()&&!this.isOverlay(e))).length}_restoreMainSeries(e,t,i,s,r,n){const o=e.id,a=e.state;if(a&&r&&(a.style=r.style||a.style,a.interval=r.interval||a.interval,r.symbol&&r.symbol!==a.symbol&&(a.symbol=r.symbol,delete a.currencyId,delete a.unitId)),a&&a.style,a&&["candleStyle","hollowCandleStyle","haStyle"].forEach(e=>{a[e]&&(a[e].wickUpColor=a[e].wickUpColor||a[e].wickColor,a[e].wickDownColor=a[e].wickDownColor||a[e].wickColor)}),a&&(a.statusViewStyle=a.statusViewStyle||{},!a.statusViewStyle.symbolTextSource)){const e=!!a.statusViewStyle.showSymbolAsDescription;a.statusViewStyle.symbolTextSource=e?"ticker":"description"}if(a&&(a.extendedHours?a.sessionId="extended":a.sessionId||(a.sessionId="regular"),delete a.extendedHours),!i){const e=this._model.mainSeries();this._model.mainPane().removeDataSource(e,!1,n),this._addSourceToCollections(e,n)}const l=this.model().mainSeries(),c=l.properties().childs();this.m_mainDataSource=l;const h=a&&a.style?a.style:void 0;if(6===h&&"ATR"===c.pnfStyle.childs().inputs.childs().style.value()?c.pnfStyle.childs().inputs.childs().style.setValueSilently("Traditional"):4===h&&"ATR"===c.renkoStyle.childs().inputs.childs().style.value()&&c.renkoStyle.childs().inputs.childs().style.setValueSilently("Traditional"),a&&!a.hasOwnProperty("showSessions")&&(a.showSessions=!1),a&&void 0===a.settlementAsClose&&(a.settlementAsClose=!1),a&&t&&(a.showCountdown=!1),a&&(t&&!("showSeriesLastValueProperty"in s)&&"showLastValue"in a&&this._model.properties().childs().scalesProperties.childs().showSeriesLastValue.setValue(a.showLastValue),delete a.showLastValue),a){const t={haStyle:(0,N.chartStyleStudyId)(8,!0),renkoStyle:(0,N.chartStyleStudyId)(4,!0),pbStyle:(0,N.chartStyleStudyId)(7,!0),kagiStyle:(0,N.chartStyleStudyId)(5,!0),pnfStyle:(0,N.chartStyleStudyId)(6,!0),rangeStyle:(0,N.chartStyleStudyId)(11,!0)},i=this._model.studyVersioning(),s=l.styleStudyInfos(),r=Object.keys(_e.SYMBOL_STRING_DATA);for(let n=0;nthis._zoffset&&e+t>0)return Ne.logError("merge: when the first time point index is updated, we should fill the time points starting from the first one"),[];if(0===this._items.length)return this._items=i.slice(),this._zoffset=t,[{change:"rebuild",index:this._validOffsetToIndex(0)}];const s=e+this._zoffset;if(s<0){const r=Math.abs(s);if(i.lengththis._items.length){const e=o-this._items.length;for(let t=n;tthis._items[this._items.length-1])return t?this._validOffsetToIndex(this._items.length-1):null;for(let i=0;io){const i=e-o;if(i<500&&null!=t)return t(l,i);return l+i*c}return null}roughIndex(e,t=null){const i=this._items;if(!i.length||i.length<2)return null;const s=i.length-1,r=this._validOffsetToIndex(0),n=this._validOffsetToIndex(s),o=i[0],a=i[s];if(e>=o&&e<=a)return this.closestIndexLeft(e);const l=(a-o)/(n-r);if(ea){const i=e-a;let s=Math.trunc(i/l);if(s<500&&null!==t){const i=t(a,e);i.success&&(s=i.result)}return n+s}return null}closestIndexLeft(e){const t=this._items;if(!t.length)return null;if(Number.isNaN(e))return null;let i=t.length-1;if(e>=t[i])return this._validOffsetToIndex(i);let s=0;const r=t[s];if(es+1;){const r=s+i>>1,n=t[r];if(n>e)i=r;else{if(!(n{this.setRightOffset(e)}),this._options.preserveBarSpacing&&(this._barSpacing=this._scalesProperties.childs().barSpacing.value()||6),this._barSpacingChanged.subscribe(this,this._maxRightOffsetOnChanged),this._widthChanged.subscribe(this,this._maxRightOffsetOnChanged)}destroy(){this._barSpacingChanged.unsubscribeAll(this),this._barSpacingChanged.destroy(),this._widthChanged.unsubscribeAll(this),this._widthChanged.destroy()}isEmpty(){return 0===this._width||!this.canNormalize()}canNormalize(){return this._points.size()>0}update(e,t,i,s){this._visibleBarsInvalidated=!0,i.length>0&&this._points.merge(e,t,i),this._tickMarks.merge(s),this._correctOffset()}addTail(e,t,i){this._tickMarks.removeTail(t);const s=e.params,n=(0,r.ensureDefined)(this._tickMarks.maxIndex)+(i?0:1);for(let e=0;e0&&(i*=this._width/e.width)),this._tryToUpdateBarSpacing(this._barSpacing,i),this._correctOffset(),this._rightOffsetChanged.fire(this._rightOffset)}marks(){if(this.isEmpty())return null;const e=this._barSpacing,t=5*((this._scalesProperties.childs().fontSize.value()||0)+4),i=Math.round(t/e),s=(0,r.ensureNotNull)(this.visibleBarsStrictRange()),n=Math.max(s.firstBar(),s.firstBar()-i),o=Math.max(s.lastBar(),s.lastBar()-i),a=this._tickMarks.build(e,t),l=[];for(const e of a){if(!(n<=e.index&&e.index<=o))continue;const t=this._tickMarks.indexToTime(e.index);null!==t&&l.push({coord:this.indexToCoordinate(e.index), +label:this.formatLabel(t,e.span),span:e.span,major:e.label>=He.DAY_SPAN})}return l}visibleBarsStrictRange(){return this._visibleBarsInvalidated&&(this._visibleBarsInvalidated=!1,this._updateVisibleBars()),this._visibleBars.strictRange()}visibleBarsStrictRangeChanged(){return this._visibleBarsChanged}logicalRangeChanged(){return this._logicalRangeChanged}tickMarks(){return this._tickMarks}points(){return this._points}width(){return this._width}setWidth(e,t){if(!Number.isFinite(e)||e<=0)return void Ke.logWarn("setWidth: invalid argument: "+e);if(this._width===e)return;if(this._visibleBarsInvalidated=!0,(t||this._options.lockVisibleTimeRangeOnResize)&&this._width){const t=this._barSpacing*e/this._width;this._tryToUpdateBarSpacing(this._barSpacing,t)}else this._width&&this.setBarSpacing(this._barSpacing);if(null!==this._leftEdgeIndex){if((0,r.ensureNotNull)(this.visibleBarsStrictRange()).firstBar()<=this._leftEdgeIndex){const t=this._width-e;this._rightOffset-=Math.round(t/this._barSpacing)+1}}this._width=e,this._widthChanged.fire(e);const i=this._rightOffset;this._correctOffset(),this._rightOffset!==i&&this._rightOffsetChanged.fire(this._rightOffset),this._requestMoreData()}setLeftEdgeFix(e){this._leftEdgeIndex=e;const t=this.visibleBarsStrictRange();if(null===t)return;const i=t.firstBar()-e;if(i<0){const e=this._rightOffset-i-1;this.scrollToOffsetAnimated(e,500)}}indexToCoordinate(e){if(this.isEmpty())return 0;if(!(0,ee.isInteger)(e))return 0;const t=this.baseIndex()+this._rightOffset-e;return this._width-(t+.5)*this._barSpacing-1}indexToUserTime(e){return this._tickMarks.indexToTime(e)}timePointToIndex(e){return this._points.indexOf(e,!0)}indexToTimePoint(e){return this._points.valueAt(e)}timeToCoordinate(e){const t=this._points.closestIndexLeft(e);if(null===t)return null;const i=(0,r.ensureNotNull)(this._points.valueAt(t)),s=this.indexToCoordinate(t);if(s<=0||s>=this._width)return null;const n=this.barSpacing(),o=this.baseIndex(),a=s+(e-i)/((0,r.ensureNotNull)(this._points.valueAt(o))-(0,r.ensureNotNull)(this._points.valueAt(o-1)))*n+1;return a<=0||a>=this._width?null:a}barIndexesToCoordinates(e){const t=this.baseIndex();for(const i of e){const e=i.time,s=t+this._rightOffset-e,r=this._width-(s+.5)*this._barSpacing-1;i.time=r,i.exactTime=r}}timedValuesToCoordinates(e,t){var i,s;const r=this.baseIndex()+this._rightOffset,n=this._width-r*this._barSpacing-.5*this._barSpacing-1,o=null!==(i=null==t?void 0:t.startItemIndex)&&void 0!==i?i:0,a=null!==(s=null==t?void 0:t.endItemIndex)&&void 0!==s?s:e.length;for(let t=o;t{void 0!==t&&t(),this._requestMoreData()};if(e){const e=this._rightOffset,t=this.maxRightOffset();t>0&&i>t&&(i=t);const r=this._model;(0,Ee.doAnimate)({from:e,to:i,duration:1e3,easing:Ae.easingFunc.easeInOutQuint,onComplete:s,onStep:(e,t)=>{this._visibleBarsInvalidated=!0,this._updateRightOffset(t),r.recalculateAllPanes((0,O.viewportChangeEvent)()),r.lightUpdate(),r.recalcVisibleRangeStudies()}})}else this._visibleBarsInvalidated=!0,this._updateRightOffset(i),s()}scrollToFirstBar(){this._model.gotoTime(new Date("1800-01-01").getTime())}scrollToOffsetAnimated(e,t){if(!isFinite(e))throw new RangeError("offset is required and must be finite number");const i=void 0===t?400:t;if(!isFinite(i)||i<=0)throw new RangeError("animationDuration (optional) must be finite positive number");const s=this._rightOffset,r=Date.now(),n=()=>{this._visibleBarsInvalidated=!0;const t=(Date.now()-r)/i;if(t>=1)return this._updateRightOffset(e),this._visibleBarsInvalidated=!0,this._model.recalculateAllPanes((0,O.viewportChangeEvent)()),void this._model.lightUpdate();const o=s+(e-s)*t;this._updateRightOffset(o),this._model.recalculateAllPanes((0,O.viewportChangeEvent)()),setTimeout(n,20)};n()}defaultRightOffset(){return this._defaultRightOffset}rightOffsetDefaultValue(){return 10}barSpacing(){return this._barSpacing}setBarSpacing(e){Number.isFinite(e)?(e=this.getValidBarSpacing(e),this._tryToUpdateBarSpacing(this._barSpacing,e)&&(this._correctOffset(),this._options.preserveBarSpacing&&((0,P.saveDefaultProperties)(!0),this._scalesProperties.childs().barSpacing.setValue(this._barSpacing),(0,P.saveDefaultProperties)(!1)),this._model.recalculateAllPanes((0,O.viewportChangeEvent)()),this._model.lightUpdate())):Ke.logWarn("setBarSpacing: invalid argument: "+e)}barSpacingChanged(){return this._barSpacingChanged}getValidBarSpacing(e){return null==e&&(e=this.barSpacing()),ethis.maxBarSpacing()?this.maxBarSpacing():e}isValidBarSpacing(e){return e>=this.minBarSpacing()&&e<=this.maxBarSpacing()}preserveBarSpacing(){return this._options.preserveBarSpacing}normalizeBarIndex(e){let t=0,i=0;const s=this.baseIndex(),n=(0,r.ensureNotNull)(this._points.firstIndex());return es?(t=(0,r.ensureNotNull)(this._points.valueAt(s)),i=e-s):(t=(0,r.ensureNotNull)(this._points.valueAt(e)),i=0),{time_t:t,offset:i}}denormalizeTimePoint(e){const t=this._points.indexOf(e.time_t,!1);if(null!==t)return t+e.offset}rightOffset(){return this._rightOffset}rightOffsetChanged(){return this._rightOffsetChanged}minRightOffset(){const e=this.points().firstIndex(),t=this._baseIndex;if(null===e||null===t)return null;if(null!==this._leftEdgeIndex){const e=this.width()/this._barSpacing;return this._leftEdgeIndex-t+e-1}return e-t-1+Ye}maxRightOffset(){return this.width()/this._barSpacing-Ye}maxRightOffsetChanged(){return this._maxRightOffsetChanged}onReset(){return this._resetDelegate}scrollStartPoint(){return this._scrollStartPoint} +baseIndex(){return this._baseIndex||0}zoom(e,t,i){if(!Number.isFinite(e)||!Number.isFinite(t))return void Ke.logWarn(`zoom: invalid arguments: ${e}, ${t}, ${i}`);const s=this.coordinateToIndex(e),r=this.barSpacing(),n=r+t*(r/10);this.setBarSpacing(n);(void 0!==i?!i:this._options.rightBarStaysOnScroll)||this.setRightOffset(this.rightOffset()-.5+(s-this._coordinateToFloatIndex(e))),this._requestMoreData()}zoomToBarsRange(e,t){if(null!==this._leftEdgeIndex&&(e=Math.max(e,this._leftEdgeIndex)),t<=e)return;const i=this.baseIndex(),s=this._rightOffset;this._rightOffset=t-i;const r=Math.max(t-e+1,Ye);this.setBarSpacing(this.width()/r),this._visibleBarsInvalidated=!0,this._correctOffset(),this._rightOffset!==s&&this._rightOffsetChanged.fire(this._rightOffset),this._requestMoreData()}coordinateToIndex(e){return Math.ceil(this._coordinateToFloatIndex(e))}coordinateToVisibleIndex(e){let t;if(0===e){const e=this._coordinateToFloatIndex(-1);t=Math.floor(e)+1}else t=this.coordinateToIndex(e);const i=this.visibleBarsStrictRange();return null===i||i.contains(t)||(t=Math.min(Math.max(i.firstBar(),t),i.lastBar())),t}canZoomIn(){return this.barSpacing()this._options.minBarSpacing}minBarSpacing(){return this._options.minBarSpacing}maxBarSpacing(){const e=this.width();return qe?e:e/Ye}resetRightOffset(){this.setRightOffset(this._defaultRightOffset.value())}reset(){this._visibleBarsInvalidated=!0,this._points=new Re,this._scrollStartPoint=null,this._scaleStartPoint=null,this._clearCommonTransitionsStartState(),this._tickMarks.reset(),this._leftEdgeIndex=null,this._resetDelegate.fire(),this.disconnect()}disconnect(){this._requestingMoreData=!1,this._requestedTickmarksCount=0,this._endOfData=!1}setBaseIndex(e){Number.isFinite(e)?(this._visibleBarsInvalidated=!0,this._baseIndex=e,this._correctOffset()):Ke.logDebug("setBaseIndex: invalid argument: "+e)}resetBaseIndex(){this._visibleBarsInvalidated=!0,this._baseIndex=null}setRightOffset(e){Number.isFinite(e)?(this._visibleBarsInvalidated=!0,this._updateRightOffset(e)):Ke.logWarn("setRightOffset: invalid argument: "+e)}correctBarSpacing(){this.isEmpty()||this.points().size()this.formatLabelImpl(e,t)),this._formattedBySpan.set(t,i)),i.format(new Date(e))}formatLabelImpl(e,t){if(!(e&&e instanceof Date))return"incorrect time";const i=function(e,t){if(ee&&(this._rightOffset=e,this._visibleBarsInvalidated=!0);const t=this.minRightOffset();null!==t&&this._rightOffset{e.onChanged().subscribe(null,t=>this._onChanged.fire(e.id,t))})}groups(){return this._groups.filter(e=>e.isActualSymbol())}groupsForAllSymbols(){return this._groups}createGroup(e,t,i){t=t||this._generateNextName();const s=new et.LineToolsGroup(e,t,i);this._groups.push(s), +s.onChanged().subscribe(null,e=>this._onChanged.fire(s.id,e));const r={visibilityChanged:!1,lockedChanged:!1,titleChanged:!1,isActualIntervalChanged:!1,affectedLineTools:e.map(e=>e.id())};return this._onChanged.fire(s.id,r),s}addGroup(e){this._groups.push(e),e.onChanged().subscribe(null,t=>this._onChanged.fire(e.id,t)),this._onChanged.fire(e.id)}removeGroup(e){const t=this._groups.findIndex(t=>t.id===e.id);this._groups.splice(t,1),this._onChanged.fire(e.id)}groupForId(e){return this._groups.find(t=>t.id===e)||null}groupForLineTool(e){return this._groups.find(t=>t.containsLineTool(e))||null}removeLineTools(e){this._groups.forEach(t=>{const i=e.filter(t.containsLineTool.bind(t));i.length&&t.excludeLineTools(i)});this._groups.filter(e=>0===e.lineTools().length).forEach(e=>this.removeGroup(e))}state(e){return{groups:(e?this._groups.filter(e=>e.isActualSymbol()):this._groups).map(e=>e.state())}}onChanged(){return this._onChanged}fireChangedAll(){this._groups.forEach(e=>{this._onChanged.fire(e.id)})}static fromState(e,t){const i=[];for(const s of t.groups){const t=et.LineToolsGroup.fromState(e,s);null!==t&&i.push(t)}return new tt(i)}_generateNextName(){const e=new Set(this.groups().map(e=>e.name()));for(let t=1;;t++){const i="Group "+t,s="Group_"+t;if(!e.has(i)&&!e.has(s))return i}}}var it=i(10480),st=i.n(it),rt=i(69177);let nt=null;function ot(e){return Boolean(e.symbolInfo.timezone)&&Boolean(e.symbolInfo.session)}class at{constructor(e,t){var i,s;this._sourceTargetBarBuilder=null,this._cache=new Map,this._source=e,this._sourceSession=rt.SessionInfo.fromState(e.session),this._target=t,this._targetSession=rt.SessionInfo.fromState(t.session),this._isResolutionTheSame=C.Interval.isEqual(e.resolution,t.resolution),this._isSessionTheSame=(i=e.symbolInfo,s=t.symbolInfo,i.timezone===s.timezone&&i.session===s.session&&i.session_holidays===s.session_holidays&&i.corrections===s.corrections),this._shouldCorrectTradingDay=C.Interval.isDWM(e.resolution)&&!this._isSessionTheSame}sourceTimeToTargetTime(e){if(this._isSessionTheSame&&this._isResolutionTheSame)return e;if(!ot(this._source)||!ot(this._target))return e;let t=this._cache.get(e);if(void 0===t){let i=1e3*e;if(this._shouldCorrectTradingDay){let e=st().utc_to_cal(this._sourceSession.timezone,i);e=this._sourceSession.spec.correctTradingDay(e);const t=new Date(e);st().set_hms(t,0,0,0,0,this._sourceSession.timezone),i=t.valueOf()}const s=this._sourceTargetBuilder();s.moveTo(i);const r=s.indexOfBar(i);t=s.startOfBar(Math.max(0,r))/1e3,this._cache.set(e,t)}return t}_sourceTargetBuilder(){if(null===this._sourceTargetBarBuilder){const e=this._isSessionTheSame?this._targetSession:(null===nt&&(nt=new rt.SessionInfo("Etc/UTC","24x7")),nt);this._sourceTargetBarBuilder=(0,rt.newBarBuilder)(this._target.resolution,this._targetSession,e)}return this._sourceTargetBarBuilder}}var lt=i(85733),ct=i(68906),ht=i(4676),dt=i(49642);function ut(e,t){return e.codet.code?1:0}class pt{constructor(e){this._convertibleItems=e,this._idsToItems=new Map +;for(const t of e)this._idsToItems.set(t.id,t)}convertible(e){return void 0!==this._idsToItems.get(e)}item(e){var t;return null!==(t=this._idsToItems.get(e))&&void 0!==t?t:null}size(){return this._convertibleItems.length}filterConvertible(e,t){const i=this._convertibleItems.filter(function(e,t){return i=>!e.has(i.id)&&t(i.id)}(e,t));return i.sort(ut),i}}class _t{constructor(e){this._allGroups=new Set,this._idToName=new Map,this._idToDescription=new Map,this._groupedUnitIds=new Map,this._groupedUnits=new Map,this._groupById=new Map,this._size=0,this._units=e;for(const t in e)if(e.hasOwnProperty(t)){this._allGroups.add(t),this._groupedUnitIds.set(t,new Set(e[t].map(e=>e.id))),this._groupedUnits.set(t,e[t]);for(const i of e[t])this._size++,this._idToName.set(i.id,i.name),this._idToDescription.set(i.id,i.description),this._groupById.set(i.id,t)}}unitsChanged(e){return this._units!==e}size(){return this._size}name(e){return this._idToName.get(e)||e}description(e){return this._idToDescription.get(e)||e}unitGroupById(e){return this._groupById.get(e)||null}allGroups(){return new Set(this._allGroups)}unitsByGroups(e){const t=[];return e.forEach(e=>{const i=this._groupedUnits.get(e);void 0!==i&&t.push({name:e,units:i})}),t}convertible(e,t){for(const i of t){const t=this._groupedUnitIds.get(i);if(void 0!==t&&t.has(e))return!0}return!1}}var mt=i(93751);class gt{constructor(e){this._source=null,this._sourcePane=null,this._currentToolSupportsPhantomMode=!1,this._model=e}destroy(){this._source=null,this._sourcePane=null}source(){return this._source}onToolChanged(){this._removeSource();const e=this._model.currentTool();this._currentToolSupportsPhantomMode=(0,f.isLineToolName)(e)&&(0,f.supportsPhantomMode)(e)}onCursorPositionUpdated(){if(!this._currentToolSupportsPhantomMode)return;const e=this._model.crossHairSource();if(this._sourcePane!==e.pane&&this._removeSource(),null===e.pane||!(0,mt.isNumber)(e.index)||!(0,mt.isNumber)(e.price))return void this._removeSource();const t={index:e.index,price:e.price};null!==this._source?this._source.setPoint(0,t):(this._source=this._model.createLineTool(e.pane,t,this._model.currentTool(),void 0,null),this._sourcePane=e.pane)}_removeSource(){null!==this._source&&(this._model.removeSource(this._source),this._source=null,this._sourcePane=null)}}var ft=i(71053),vt=i(73383),St=i(90373),yt=i(30460);class bt{align(e,t,i){let s=e;if(!(0,yt.magnetEnabled)().value())return s;const n=i.mainDataSource();if(null===n)return s;const o=n.model().mainSeries();if(n!==o)return s;const a=o.priceScale(),l=o.bars();if(a.isEmpty()||!l.contains(t))return s;const c=l.valueAt(t);if(null===c)return s;const h=[];null!==o.priceSource()?h.push(o.barFunction()(c)):h.push(c[1],c[2],c[3],c[4]);const d=(0,r.ensure)(o.firstValue()),u=h.map(e=>({y:a.priceToCoordinate(e,d),price:e})),p=a.priceToCoordinate(e,d);u.sort((e,t)=>Math.abs(e.y-p)-Math.abs(t.y-p));const _=u[0];return((0,yt.magnetMode)().value()===St.MagnetMode.StrongMagnet||Math.abs(_.y-p)<50)&&(s=_.price),s}}var wt=i(65862),Ct=i(62443),Pt=i(29892),Tt=i(42759);class xt{ +constructor(){this._data=null}setData(e){this._data=e}draw(e,t){if(null===this._data)return;const i=t.pixelRatio,s=Math.max(1,Math.floor(i));e.lineWidth=s;const r=Math.ceil(this._data.h*i),n=Math.ceil(this._data.w*i);if(e.save(),e.lineCap="butt",this._data.vertLinesVisible){e.strokeStyle=this._data.vertLinesColor,(0,Pt.setLineStyle)(e,this._data.vertLineStyle);for(const t of this._data.timeMarks){const s=Math.round(t.coord*i);(0,Tt.drawVerticalLine)(e,s,0,r)}}if(this._data.horzLinesVisible){e.strokeStyle=this._data.horzLinesColor,(0,Pt.setLineStyle)(e,this._data.horzLineStyle);for(const t of this._data.priceMarks){const s=Math.round(t.coord*i);(0,Tt.drawHorizontalLine)(e,s,0,n)}}e.restore()}hitTest(e){return null}}class It{constructor(e){this._renderer=new xt,this._pane=e}update(){}renderer(){const e=this._pane.defaultPriceScale(),t=this._pane.model().timeScale();if(e.isEmpty()||t.isEmpty())return null;const i=this._pane.model().properties().childs().paneProperties.childs(),s=t.marks(),r={horzLinesVisible:!0,vertLinesVisible:!0,horzLinesColor:i.horzGridProperties.childs().color.value(),vertLinesColor:i.vertGridProperties.childs().color.value(),horzLineStyle:i.horzGridProperties.childs().style.value(),vertLineStyle:i.vertGridProperties.childs().style.value(),priceMarks:e.marks(),timeMarks:null!==s?s:[],w:this._pane.width(),h:this._pane.height()};return this._renderer.setData(r),this._renderer}}class Mt extends Ct.DataSource{id(){return"grid"}paneViews(e){return[new It(e)]}}var Lt=i(97938);class At extends Lt.PriceAxisView{constructor(e,t,i){super(),this._source=e,this._priceScale=t,this._priceProvider=i,this._properties=e.model().properties().childs().scalesProperties}setHitTestData(e){this._hitTestData=e}additionalPadding(e){return 0}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._priceScale,r=s.mainSource(),n=null!==r?r.firstValue():null;if(!this._isVisible()||s.isEmpty()||null===n)return;const o=this._priceProvider(s);if(null===o)return;i.background=this._bgColor(),i.textColor=this.generateTextColor(i.background);const a=this.additionalPadding(s.fontSize());i.additionalPaddingTop=a,i.additionalPaddingBottom=a,i.coordinate=s.priceToCoordinate(o,n),e.text=s.formatPrice(o,n),e.visible=!0,t.visible=!0,t.hitTestData=this._hitTestData}}const Et={normalBgColor:a.colorsPalette["color-cold-gray-750"],hoveredBgColor:a.colorsPalette["color-cold-gray-600"]},kt={normalBgColor:a.colorsPalette["color-cold-gray-900"],hoveredBgColor:a.colorsPalette["color-cold-gray-650"]};class Dt extends At{additionalPadding(e){return 2/12*e}_isVisible(){return this._properties.childs().showPriceScaleCrosshairLabel.value()&&this._source.visible&&null!==this._source.pane}_bgColor(){return this._getThemedColors().normalBgColor}_updateRendererData(e,t,i){const s=t.visible;super._updateRendererData(e,t,i),this._source.isHovered()?t.backgroung=this._getThemedColors().hoveredBgColor:t.backgroung=void 0,s||(t.visible=s)}_getThemedColors(){return this._source.model().isDark()?Et:kt}}class Vt extends At{_isVisible(){ +return null!==this._source.measurePane().value()}_bgColor(){return this._properties.childs().axisLineToolLabelBackgroundColorCommon.value()}}var Bt=i(28978),Nt=(i(28296),i(97056));function Rt(e){const t=e.priceScale();return null===t?0:t.isPercentage()||t.isIndexedTo100()?2:1}const Ot=B.enabled("show_context_menu_in_crosshair_if_only_one_item");class Ft extends Bt.PanePriceAxisView{constructor(e,t,i,s,r){super(e,t,s),this._crossHairMenuCachedState=null,this._hasActions=!1,this._tooltipText=null,this._gaOrigin="CH menu",this._crosshairPriceAxisView=e,e.setPaneRendererLabelIcon(0),this._crosshair=t,this._scale=i,this._options=r}_updateImpl(e,t){super._updateImpl(e,t);const i=this._crosshair.y,s=this._chartModel.properties().childs().scalesProperties.childs().fontSize.value(),r=this._chartModel.timeScale().width(),n=this._crosshair.model().priceAxisRendererOptions(),o=s+2*this._crosshairPriceAxisView.additionalPadding(s)+n.paddingTop+n.paddingBottom,a=o,l=i-o/2,c=r-a,h=this._crosshair.pane,d=this._mainDataSourceOnPane(),u=d&&d.symbolSource(),p=!!u&&(u.isConvertedToOtherCurrency()||u.isConvertedToOtherUnit());if(null!==d){const e=Rt(d),t=d.idForAlert(),i=this._chartModel.isInReplay(),s=this._crossHairMenuCachedState;null!==s&&s.id===t&&s.priceScale===e&&s.isCurrencyOrUnitConverted===p&&s.isInReplay===i||(this._updateTooltipAndActionsAvaliability(d,e,p),this._crossHairMenuCachedState={id:t,priceScale:e,isCurrencyOrUnitConverted:p,isInReplay:i})}const _=null!==d&&(0,de.isActingAsSymbolSource)(d)?d.symbol():null,m=null!==h&&(h.maximized().value()||!h.collapsed().value())&&(Boolean(_)||!1);this._crosshairPriceAxisView.setPaneLabelVisible(m);const g=null!==h&&0!==h.leftPriceScales().length&&m,f=null!==h&&0!==h.rightPriceScales().length&&m,v=r-a/2,S=this._tooltipText?{text:this._tooltipText,rect:{x:v,y:l,w:0,h:0}}:void 0;this._data={left:g,right:f,xl:0,xr:c,y:l,containerWidth:a,containerHeight:o,clickHandler:this._handleClick.bind(this),tooltip:S},this._crosshairPriceAxisView.setHitTestData(this._data)}_priceScale(){return this._scale}_updateTooltipAndActionsAvaliability(e,t,i){this._tooltipText=null,this._hasActions=!1;if(!(1===t))return;this._chartModel.isInReplay();let s=0;let r=0;1!==s||Ot||(this._tooltipText=""),this._crosshairPriceAxisView.setPaneRendererLabelIcon(r),this._hasActions=0!==s}_handleClick(e,t,i){(0,h.trackEvent)(this._gaOrigin,"click");const s=this._mainDataSourceOnPane(),r=null!==s&&(0,de.isActingAsSymbolSource)(s)?s.symbol():null,n={pageX:i.pageX,pageY:i.pageY,clientX:i.clientX,clientY:i.clientY,screenX:i.screenX,screenY:i.screenY,price:this._crosshair.price,symbol:r};u.emit("onPlusClick",n)}_getMenuItems(e){return Promise.resolve([])}_createAlertMenuItems(e){return Promise.resolve([])}_createTradingMenuItems(){return Promise.resolve([])}_createAddHorizontalLineMenuItem(){return[]}_getActionAddAlert(e){return null}_getActionAddHorizontalLine(e){return null}_getValue(e,t){const i=e.priceScale(),s=e.firstValue();if(null===i||null===s)return null +;return i.isPercentage()||i.isIndexedTo100()?null:i.coordinateToPrice(t,s)}_formatValue(e,t){return t.formatter().format(e)}_addAlert(e,t){}_addHorizontalLineTool(e,t){}_showContextMenu(e,t,i,s){const n="left"===s;setTimeout(()=>{const t=(0,r.ensureDefined)(this._data),s=n?t.xl:t.xr,o=i.localX-s,a=i.clientX-o,l=i.clientX-o+t.containerWidth;Nt.ContextMenuManager.showMenu(e,{clientX:n?a:l,clientY:i.clientY-t.containerHeight/2,boxHeight:t.containerHeight,attachToXBy:n?"left":"right",attachToYBy:"auto-strict"},void 0,{menuName:"CrosshairMenuView"})})}_mainDataSourceOnPane(){const e=this._crosshair.pane;return null!==e?e.mainDataSource():null}}var Wt=i(43891),Ht=i(71413),zt=i(84346);class Ut{constructor(e){this._data=e}hitTest(e){return void 0===this._data.clickHandler?null:new zt.HitTestResult(zt.HitTestResult.CUSTOM,{clickHandler:this._data.clickHandler,tapHandler:this._data.clickHandler})}draw(e,t){const i=t.pixelRatio,s=this._data.vertLinesVisible,r=this._data.horzLinesVisible;if(!s&&!r)return;e.save(),e.lineWidth=Math.max(1,Math.floor(this._data.lineWidth*i)),e.strokeStyle=this._data.color,e.fillStyle=this._data.color,e.lineCap="butt",(0,Pt.setLineStyle)(e,this._data.lineStyle);const n=Math.round(this._data.x*i),o=Math.round(this._data.y*i),a=Math.ceil(this._data.w*i),l=Math.ceil(this._data.h*i);s&&n>=0&&(0,Tt.drawVerticalLine)(e,n,0,l),r&&o>=0&&(0,Tt.drawHorizontalLine)(e,o,0,a),this._data.drawCenter&&(e.beginPath(),e.arc(n,o,Math.round(3*i),0,2*Math.PI,!0),e.fillStyle=this._data.color,e.fill()),e.restore()}}const jt=a.colorsPalette["color-tv-blue-500"];class Gt{constructor(e,t){this._rendererData={},this._renderer=new Ut(this._rendererData),this._source=e,this._pane=t}update(){}renderer(e,t){const i=this._source.selectPointMode().value(),s=this._source.visible&&(this._source.areLinesVisible||i)&&!this._source.linesShouldBeHidden(),n=this._rendererData;if(!s||null===this._pane)return null;const o=this._source.paneForPointSelect(),a=null!==o?this._source.pane===o&&this._pane===o:this._pane===this._source.pane;if(i&&this._source.isOnHoveredChartWidget()&&a){const e=(0,r.ensureNotNull)(this._source.pointToSelect());n.color=this._source.lineColor()||jt,n.lineWidth=1,n.lineStyle=Wt.LINESTYLE_SOLID,n.horzLinesVisible=!0,n.vertLinesVisible=!0,n.drawCenter=!1,"time"===e?n.horzLinesVisible=!1:"price"===e&&(n.vertLinesVisible=!1)}else{const e=this._source.properties(),t=this._source.model().currentTool(),i=(0,Ht.lastMouseOrTouchEventInfo)(),s=i.isTouch&&!i.stylus&&((0,f.isLineToolName)(t)||(0,lt.toolIsMeasure)(t));let r;r=s?jt:e.childs().color.value();const o=e.childs().transparency.value();!s&&o>0&&(r=(0,ct.generateColor)(r,o)),n.color=r,n.horzLinesVisible=this._pane===this._source.pane&&(this._pane.maximized().value()||!this._pane.collapsed().value()),n.vertLinesVisible=!0,n.lineWidth=e.childs().width.value(),n.lineStyle=e.childs().style.value(),n.drawCenter=s&&this._pane===this._source.pane}return n.w=this._pane.width(),n.h=this._pane.height(), +n.x=void 0!==this._source.lockedX&&isFinite(this._source.lockedX)&&this._source.lockedX||this._source.x,n.y=this._source.y,this._renderer}}var qt=i(55776);const Yt={backgroundColor:(0,ct.generateColor)(a.colorsPalette["color-tv-blue-500"],70),borderColor:(0,ct.generateColor)(a.colorsPalette["color-tv-blue-500"],20)};class Kt{constructor(e){this._renderer=new qt.RectangleRenderer,this._rectangle=null,this._crosshair=e}update(){const e=this._crosshair.selection();null!==e&&null!==this._crosshair.pane?this._rectangle=this._crosshair.pane.logicalRectToPixels(e):this._rectangle=null}renderer(e,t){if(!this._rectangle)return null;const i={backcolor:Yt.backgroundColor,color:Yt.borderColor,fillBackground:!0,linewidth:1,points:[this._rectangle.min,this._rectangle.max],extendLeft:!1,extendRight:!1};return this._renderer.setData(i),this._renderer}}var $t=i(62820),Xt=i(26811),Zt=i(97645),Jt=i(92242),Qt=i(67802),ei=i(63300),ti=i(98664),ii=i(94804),si=i(49612);const ri=(0,K.t)("{count} bars"),ni=(0,K.t)("Vol"),oi=new Xt.PercentageFormatter,ai=new Jt.TimeSpanFormatter,li=new Qt.VolumeFormatter,ci=(0,a.getHexColorByName)("color-tv-blue-500"),hi=(0,a.getHexColorByName)("color-ripe-red-400"),di={bgColorPositive:(0,ct.generateColor)(ci,80),bgColorNegative:(0,ct.generateColor)(hi,80),colorPositive:(0,a.getHexColorByName)("color-tv-blue-600"),colorNegative:(0,a.getHexColorByName)("color-ripe-red-400"),labelBgColorPositive:ci,labelBgColorNegative:hi};class ui{constructor(e,t){this._pipFormatter=null,this._lastSymbolInfo=null,this._horzTrenRenderer=new ei.TrendLineRenderer,this._vertTrenRenderer=new ei.TrendLineRenderer,this._bgRenderer=new qt.RectangleRenderer,this._labelRenderer=new ti.TextRenderer,this._p1=null,this._p2=null,this._label=null,this._source=e,this._pane=t}update(e){const[t,i]=this._source.measurePoints();if(void 0===i)return this._p1=null,void(this._p2=null);const s=(0,r.ensureNotNull)(this._source.measurePane().value()),o=t.price,a=i.price,l=i.price-o,c=i.index-t.index,h=(0,$t.forceLTRStr)(""+c),d=(0,r.ensureNotNull)(s.mainDataSource());let u=(0,r.ensureNotNull)(d.formatter()).format(l);if(Math.abs(o)>1e-8){const e=l/Math.abs(o);u+=" ("+oi.format(100*e)+")"}const p=(0,$t.forceLTRStr)(u);this._label=p+"\n"+ri.format({count:h});const _=(0,r.ensureNotNull)(d.firstValue()),m=this._source.model().timeScale().indexToCoordinate(t.index),g=this._source.model().timeScale().indexToCoordinate(i.index),f=s.defaultPriceScale().priceToCoordinate(o,_),v=s.defaultPriceScale().priceToCoordinate(a,_);this._p1=new n.Point(m,f),this._p2=new n.Point(g,v);const S=this._source.model().timeScale().indexToUserTime(t.index),y=this._source.model().timeScale().indexToUserTime(i.index);let b=null;if(null!==S&&null!==y){const e=this._pane.model().mainSeries().symbolInfo();null!==e&&e!==this._lastSymbolInfo&&(this._pipFormatter=new Zt.PipFormatter(e.pricescale,e.minmov,e.type,e.minmove2),this._lastSymbolInfo=e),b=(y.valueOf()-S.valueOf())/1e3} +const w=this._pipFormatter?this._pipFormatter.format(l):null,C=null!==w?" , "+w:"",P=null!==b?ai.format(b):null,T=null!==P?", "+(0,$t.startWithLTR)(P):"";this._label=(0,$t.forceLTRStr)(p+C)+"\n"+ri.format({count:h})+T;const x=this._source.measureVolume();Number.isNaN(x)||(this._label+=`\n${ni} ${li.format(x)}`);const I=a=50?si.LineEnd.Arrow:si.LineEnd.Normal};this._horzTrenRenderer.setData(s)}{const e=Math.round(k.x),t=new n.Point(e,this._p1.y),i=new n.Point(e,this._p2.y),s={points:[t,i],color:L,linewidth:1,linestyle:Wt.LINESTYLE_SOLID,extendleft:!1,extendright:!1,leftend:si.LineEnd.Normal,rightend:Math.abs(t.y-i.y)>=50?si.LineEnd.Arrow:si.LineEnd.Normal};this._vertTrenRenderer.setData(s)}const D={x:0,y:10},V=.5*(this._p1.x+this._p2.x),B=this._p2.y,N=new n.Point(V,B),R=(O=(0,r.ensureNotNull)(this._label),{points:[N],text:O,color:"#FFFFFF",horzAlign:"center",vertAlign:"middle",font:M.CHART_FONT_FAMILY,offsetX:D.x,offsetY:D.y,bold:!1,italic:!1,fontsize:12,padding:8,highlightBorder:!1,backgroundColor:A,backgroundTransparency:10,backgroundVertInflate:5,backgroundHorzInflate:5,backgroundRoundRect:4});var O;this._labelRenderer.setData(R);const F=this._labelRenderer.measure(),W=(0,ti.calculateLabelPosition)(F,this._p1,this._p2,D,this._pane.height());this._labelRenderer.setPoints([W])}renderer(){if(null===this._p1||null===this._p2)return null;const e=new ii.CompositeRenderer;return e.append(this._bgRenderer),e.append(this._horzTrenRenderer),e.append(this._vertTrenRenderer),e.append(this._labelRenderer),e}}var pi=i(16282);class _i extends pi.ScaledPaneRenderer{constructor(e){super(),this._data=e}hitTest(e){return null}_drawImpl(e){e.translate(this._data.x-this._data.width/2,this._data.y-this._data.height/2),e.strokeStyle="rgba(153,153,153,.3)",e.lineWidth=2,e.beginPath(),this._drawShackle(e),e.stroke(),e.closePath(),e.strokeStyle="rgba(153,153,153,.7)",e.lineWidth=1,e.beginPath(),e.rect(0,this._data.height-this._data.bodyHeight+.5,this._data.width,this._data.bodyHeight),e.closePath(),e.stroke(),e.translate(0,-1),e.strokeStyle="#777",e.beginPath(),this._drawShackle(e),e.stroke(),e.closePath(),e.fillStyle="rgba(255,255,255,.7)",e.beginPath(),e.rect(1,this._data.height-this._data.bodyHeight+1.5,this._data.width-2,this._data.bodyHeight-2),e.fill(),e.beginPath(),e.rect(.5,this._data.height-this._data.bodyHeight+1,this._data.width-1,this._data.bodyHeight-1),e.stroke(),e.closePath(),e.fillStyle="#777",e.fillRect(this._data.width/2-.5,this._data.height-this._data.bodyHeight/2,1,2)}_drawShackle(e){ +const t=(this._data.width-3)/2,i=this._data.height-this._data.bodyHeight;e.moveTo(1.5,t),e.arc(this._data.width/2,t,t,Math.PI,2*Math.PI),i>t&&(e.moveTo(1.5,t),e.lineTo(1.5,i),e.moveTo(this._data.width-1.5,t),e.lineTo(this._data.width-1.5,i))}}class mi{constructor(e,t,i){this._horzVisible=!1,this._source=e,this._pane=t,this._axis=i||"x"}update(){}renderer(e,t){const i=this._source.visible&&this._source.areLinesVisible,s=(0,lt.lockTimeAxis)().value(),n=i&&this._horzVisible,o=i||s;if("y"===this._axis&&!n||!o)return null;const a="y"===this._axis?this._pane.width()-4.5:(0,r.ensureDefined)(this._source.lockedX)+1,l="y"===this._axis?this._source.y:this._pane.height()-5.5-1;return new _i({x:a,y:l,width:9,height:11,bodyHeight:7})}}var gi=i(49483),fi=i(76166),vi=i(14445),Si=i(57626);class yi extends vi.DataWindowView{constructor(e){super(),this._invalidated=!0,this._dateItem=new vi.DataWindowItem((0,K.t)("Date"),""),this._timeItem=new vi.DataWindowItem((0,K.t)("Time"),""),this._model=e,this._items.push(this._dateItem),this._items.push(this._timeItem)}update(){this._invalidated=!0}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}_updateImpl(){const e=this._model.mainSeries().isDWM();if(this._timeItem.setVisible(!e),this._timeItem.setValue(Si.notAvailable),this._dateItem.setValue(Si.notAvailable),this._model.timeScale().isEmpty())return;let t=this._model.crossHairSource().appliedIndex();if(!(0,mt.isNumber)(t)){const e=this._model.mainSeries().data().last();if(null===e)return;t=e.index}const i=this._model.timeScale().indexToUserTime(t);null!==i&&(this._dateItem.setValue(this._model.dateFormatter().format(i)),e||this._timeItem.setValue(this._model.timeFormatter().format(i)))}}var bi=i(85578);class wi extends bi.TimeAxisView{constructor(e,t,i=!1){super(e),this._indexProvider=t,this._highlighted=i,this._properties=e.properties().childs().scalesProperties}_getBgColor(){const e=this._model.isDark();return this._highlighted?this._properties.childs().axisLineToolLabelBackgroundColorCommon.value():e?a.colorsPalette["color-cold-gray-750"]:a.colorsPalette["color-cold-gray-900"]}_getIndex(){return this._model.crossHairSource().visible?this._indexProvider():null}_isVisible(){return this._properties.childs().showTimeScaleCrosshairLabel.value()}}var Ci=i(34081);const Pi={menuEnabled:!1,menuForMainSourceOnly:!1,disableTradingMenuActions:!1,disableDrawHorizLineMenuAction:!1};class Ti extends Ct.DataSource{constructor(e,t,i){super(),this.pane=null,this.price=NaN,this.index=NaN,this.visible=!0,this.areLinesVisible=!0,this.x=NaN,this.y=NaN,this._measurePane=new(G())(null),this._startMeasurePoint=null,this._endMeasurePoint=null,this._lastValidMeasurePoint=null,this._isOnHoveredChartWidget=!1,this._selectPointMode=new(G())(!1),this._selectionPane=null,this._selectionView=new Kt(this),this._selectionStartPoint=null,this._measurePaneView=null,this._timeLockPaneView=null,this._priceAxisViews=new Map,this._panePriceAxisViews=new Map,this._startMeasurePriceAxisViews=new Map,this._endMeasurePriceAxisViews=new Map, +this._originX=NaN,this._originY=NaN,this._subscribed=!1,this._movedDelegate=new(U()),this._pointSelectedDelegate=new(U()),this._requestedPoint=null,this._paneForRequestedPoint=null,this._selectLineColor=null,this._volumeCalculator=null,this._model=e,this._options=Object.assign({},Pi,i||{}),this._linesShouldBeHidden=this._model.readOnly(),this._dataWindowView=new yi(e),this.setSelectionEnabled(!1);const s=e=>t=>t===(0,r.ensureNotNull)(this._measurePane.value()).defaultPriceScale()?e():null;this._currentPosPriceProvider=e=>{const t=(0,r.ensureNotNull)(this.pane);if(e===t.defaultPriceScale())return this.price;const i=(0,r.ensureNotNull)(t.defaultPriceScale().mainSource()).firstValue();if(null===i)return null;const s=t.defaultPriceScale().priceToCoordinate(this.price,i),n=(0,r.ensureNotNull)(e.mainSource()).firstValue();return null===n?null:e.coordinateToPrice(s,n)},this._startMeasurePriceProvider=s(()=>(0,r.ensureNotNull)(this._startMeasurePoint).price),this._endMeasurePriceProvider=s(()=>(0,r.ensureNotNull)(this._lastMeasurePoint()).price),this._properties=t;this._timeAxisView=new wi(e,()=>this.appliedIndex(),!1),this._startMeasureTimeAxisView=new wi(e,()=>(0,r.ensureNotNull)(this._startMeasurePoint).index,!0),this._endMeasureTimeAxisView=new wi(e,()=>(0,r.ensureNotNull)(this._lastMeasurePoint()).index,!0),e.readOnly()||lt.cursorTool.subscribe(e=>this.areLinesVisible="arrow"!==e,{callWithLast:!0})}destroy(){null!==this._volumeCalculator&&this._volumeCalculator.destroy(),this._measurePane.setValue(null)}moved(){return this._movedDelegate}originX(){return this._originX}originY(){return this._originY}saveOriginCoords(e,t){this._originX=e,this._originY=t}clearOriginCoords(){this._originX=NaN,this._originY=NaN}currentPoint(){return new n.Point(this.x,this.y)}model(){return this._model}appliedIndex(){return Number.isFinite(this.lockedIndex)?this.lockedIndex:this.index}startMeasurePoint(){return this._startMeasurePoint||null}endMeasurePoint(){return this._endMeasurePoint||null}measureVolume(){if(null===this._volumeCalculator)return NaN;const[e,t]=this.measurePoints();return void 0===t?NaN:this._volumeCalculator.volume(e.index,t.index)}measurePane(){return this._measurePane.readonly()}startMeasuring(e,t){this._startMeasurePoint=e,this._measurePane.setValue(t),t.containsMainSeries()&&((0,r.assert)(null===this._volumeCalculator),this._volumeCalculator=new Ci.SeriesTimeRangeVolumeCalculator(this.model().mainSeries())),this._model.updatePane(t)}finishMeasure(e){this._endMeasurePoint=e}clearMeasure(){this._measurePane.setValue(null),delete this._startMeasurePoint,delete this._endMeasurePoint,delete this._lastValidMeasurePoint,this._model.lightUpdate(),null!==this._volumeCalculator&&(this._volumeCalculator.destroy(),this._volumeCalculator=null)}measurePoints(){const e=[(0,r.ensureNotNull)(this._startMeasurePoint)],t=this._lastMeasurePoint();return null!==t&&e.push(t),e}startSelection(e){this._selectionStartPoint=this.currentLogicalPoint(),this._selectionPane=e}clearSelection(){this._selectionStartPoint=null,this._selectionPane=null} +selection(){return this._selectionStartPoint?{p1:this._selectionStartPoint,p2:this.currentLogicalPoint()}:null}currentLogicalPoint(){return{index:this.appliedIndex(),price:this.price}}selectPointMode(){return this._selectPointMode}lineColor(){return this._selectLineColor}cancelRequestSelectPoint(){this._selectPointMode.value()&&this._setSelectPointModeState(!1)}requestSelectPoint(e){(0,r.assert)(!this._selectPointMode.value(),"Point already requested");const{pointType:t,pane:i,lineColor:s=null}=e;i&&((0,r.assert)(-1!==this._model.panes().indexOf(i),"Chartmodel doesn't contains specified pane"),this._paneForRequestedPoint=i,this._model.panesCollectionChanged().subscribe(this,this._paneCollectionChanged)),this._selectLineColor=s,this._requestedPoint=t,this._setSelectPointModeState(!0)}onPointSelected(){return this._pointSelectedDelegate}trySelectCurrentPoint(){const e=(0,r.ensureNotNull)(this._requestedPoint);if(!this._model.mainSeries().bars().contains(this.index)&&"price"!==e)return;const t=(0,r.ensureNotNull)(this.pane);if(this._paneForRequestedPoint&&this._paneForRequestedPoint!==t)return;let i,s;if("price"===e||(i=this._model.timeScale().indexToTimePoint(this.index),null!==i)){if("time"!==e){const e=t.mainDataSource();if(null===e)return;const i=e.firstValue(),r=e.priceScale();if(null===i||null===r)return;s=r.coordinateToPrice(this.y,i)}this._setSelectPointModeState(!1),this._pointSelectedDelegate.fire({time:i,price:s},t)}}isOnHoveredChartWidget(){return this._isOnHoveredChartWidget}setOnHoveredChartWidget(e){this._isOnHoveredChartWidget=e}clearPosition(){this.visible=!1,this.index=NaN,this.price=NaN,this.x=NaN,this.y=NaN,this.pane=null,this.clearOriginCoords()}setPosition(e,t,i){return this._subscribed||(this._model.mainSeries().onRestarted().subscribe(this,this.clearMeasure),this._subscribed=!0),this.setLockedPosition(i),this.visible=!0,this._tryToUpdateViews(e,t,i)}setLinesShouldBeHidden(e){this._linesShouldBeHidden=e}linesShouldBeHidden(){return this._linesShouldBeHidden}handleContextMenuEvent(e){this._selectPointMode.value()&&this._setSelectPointModeState(!1)}properties(){return this._properties}priceAxisViews(e,t){const i=null===this._requestedPoint||"time"!==this._requestedPoint||!this._isOnHoveredChartWidget,s=[];return this.pane===e&&i&&s.push(this._createPriceAxisViewOnDemand(this._priceAxisViews,this._panePriceAxisViews,e,t,this._currentPosPriceProvider,Dt,!0)[0]),this._startMeasurePoint&&s.push(this._createPriceAxisViewOnDemand(this._startMeasurePriceAxisViews,null,e,t,this._startMeasurePriceProvider,Vt)[0]),this._lastMeasurePoint()&&s.push(this._createPriceAxisViewOnDemand(this._endMeasurePriceAxisViews,null,e,t,this._endMeasurePriceProvider,Vt)[0]),s}timeAxisViews(){const e=[],t=null===this._requestedPoint||"price"!==this._requestedPoint||!this._isOnHoveredChartWidget;return!this._linesShouldBeHidden&&(this.visible||(0,lt.lockTimeAxis)().value())&&t&&e.push(this._timeAxisView),this._startMeasurePoint&&e.push(this._startMeasureTimeAxisView), +this._lastMeasurePoint()&&e.push(this._endMeasureTimeAxisView),e}paneViews(e){if(void 0===e)return null;const t=[new Gt(this,e)];if(e===this._selectionPane&&t.push(this._selectionView),e===this._measurePane.value()&&(null===this._measurePaneView&&(this._measurePaneView=new ui(this,e)),this._measurePaneView.update((0,O.dataSourceChangeEvent)(this.id())),t.push(this._measurePaneView)),fi.addPlusButtonProperty.value()){const i=e===this.pane,s=!gi.CheckMobile.any()||window.screen.width>=320,r=lt.tool.value(),n=(0,f.isLineToolName)(r),o=null!==this._model.lineBeingEdited()||null!==this._model.lineBeingCreated()||this._model.sourcesBeingMoved().length>0||null!==this._model.customSourceBeingMoved()||(0,lt.toolIsMeasure)(r);if(i&&this._isOnHoveredChartWidget&&!this._selectPointMode.value()&&s&&!n&&!o){const i=e.mainDataSource();if(null!==i){const s=i.priceScale();if(null!==s){const i=this._createPriceAxisViewOnDemand(this._priceAxisViews,this._panePriceAxisViews,e,s,this._currentPosPriceProvider,Dt,!0)[1];null!==i&&t.push(i)}}}}return(0,lt.lockTimeAxis)().value()&&(null===this._timeLockPaneView&&(this._timeLockPaneView=new mi(this,e)),t.push(this._timeLockPaneView)),t}dataWindowView(){return this._dataWindowView}updateAllViews(e){this._priceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._panePriceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._startMeasurePoint&&(this._startMeasurePriceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._startMeasureTimeAxisView.update(e)),this._lastMeasurePoint()&&(this._endMeasurePriceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._endMeasureTimeAxisView.update(e)),this._timeAxisView.update(e),this._selectionView.update(),this._dataWindowView.update()}setLockedPosition(e){delete this.lockedIndex,delete this.lockedX,e!==this._measurePane.value()&&(0,lt.lockTimeAxis)().value()&&(this.lockedIndex=this._model.timeScale().points().roughIndex(lt.lockTimeAxisTime.value()),null!==this.lockedIndex&&(this.lockedX=this._model.timeScale().indexToCoordinate(this.lockedIndex)))}isMenuEnabled(){return this._options.menuEnabled}isHoveredEnabled(){return fi.addPlusButtonProperty.value()}isHovered(){return this._model.hoveredSource()===this}pointToSelect(){return this._requestedPoint}paneForPointSelect(){return this._paneForRequestedPoint}_lastMeasurePoint(){return this._endMeasurePoint?this._endMeasurePoint:(null!==this.pane&&this._measurePane.value()===this.pane&&(this._lastValidMeasurePoint={price:this._model.magnet().align(this.price,this.index,this.pane),index:this.index}),this._lastValidMeasurePoint||null)}_createPriceAxisViewOnDemand(e,t,i,s,n,o,a=!1){let l=e.get(i),c=null!==t?t.get(i):void 0;void 0===l&&(l=new Map,e.set(i,l),this._options.menuEnabled&&null!==t&&(c=new Map,t.set(i,c)),a&&i.onDestroyed().subscribe(this,()=>this._onPaneDestroyed(i)));let h=l.get(s);if(void 0===h){if(h=new o(this,s,n),l.set(s,h),void 0!==c){const e=new Ft(h,this,s,this._model,this._options);c.set(s,e)}a&&s.lastSourceRemoved().subscribe(this,()=>this._onPriceScaleCleared(s))}let d=null +;return void 0!==c&&(d=(0,r.ensureDefined)(c.get(s))),[h,d]}_onPaneDestroyed(e){e.onDestroyed().unsubscribeAll(this),this._priceAxisViews.delete(e),this._panePriceAxisViews.delete(e),this._startMeasurePriceAxisViews.delete(e),this._endMeasurePriceAxisViews.delete(e)}_onPriceScaleCleared(e){e.lastSourceRemoved().unsubscribeAll(this),this._priceAxisViews.forEach(t=>t.delete(e)),this._panePriceAxisViews.forEach(t=>t.delete(e)),this._startMeasurePriceAxisViews.forEach(t=>t.delete(e)),this._endMeasurePriceAxisViews.forEach(t=>t.delete(e))}_tryToUpdateViews(e,t,i){return!!this._tryToUpdateData(e,t,i)&&(this.updateAllViews((0,O.dataSourceChangeEvent)(this.id())),this._movedDelegate.fire({index:this.index,price:this.price}),!0)}_tryToUpdateData(e,t,i){const s=this.x,n=this.y,o=this.price,a=this.index,l=this.pane,c=this._priceScaleByPane(i);if(this.index=e,this.x=isNaN(e)?NaN:this._model.timeScale().indexToCoordinate(e),null!==c&&null!==i){this.pane=i,this.price=t;const e=(0,r.ensureNotNull)(i.mainDataSource()).firstValue();this.y=null===e?NaN:c.priceToCoordinate(t,e)}else this.pane=null,this.price=NaN,this.y=NaN;return s!==this.x||n!==this.y||a!==this.index||o!==this.price||l!==this.pane}_priceScaleByPane(e){return e&&!e.defaultPriceScale().isEmpty()?e.defaultPriceScale():null}_setSelectPointModeState(e){e||(this._requestedPoint=null,this._selectLineColor=null,this._paneForRequestedPoint&&(this._paneForRequestedPoint=null,this._model.panesCollectionChanged().unsubscribe(this,this._paneCollectionChanged))),lt.isPointSelectedNow.setValue(e),this._selectPointMode.setValue(e),this._model.lightUpdate()}_paneCollectionChanged(e){const t=this._paneForRequestedPoint;null!==t&&-1===e.indexOf(t)&&this.cancelRequestSelectPoint()}}var xi=i(56972),Ii=i(40236),Mi=i(67396),Li=i(52418);const Ai=(0,$.getLogger)("Chart.ChartModel");function Ei(e,t){const i=e.indexOf(t);return-1!==i&&(e.splice(i,1),!0)}function ki(e){var t,i;for(let s=e.length;s--;){const r=e[s].dataSources();for(let e=r.length;e--;)null===(t=r[e].dataWindowView())||void 0===t||t.update();const n=e[s].priceDataSources();for(let e=n.length;e--;)null===(i=n[e].legendView())||void 0===i||i.update()}}const Di={isSnapshot:!1,readOnly:!1,watermarkEnabled:!0,shiftVisibleRangeOnNewBar:!0,currencyConversionEnabled:!1,unitConversionEnabled:!1,countdownEnabled:!0,lastPriceAnimationEnabled:!0,onWidget:!1,hideIdeas:!1};class Vi{constructor(e,t,i,r,n,o,a,c,h,d){this._onRearrangePanes=new(U()),this._lineToolsGroupModel=new tt,this._sourcesBeingMoved=[],this._activeItemBeingMoved=null,this._lineBeingEdited=null,this._linePointBeingEdited=null,this._linePointBeingChanged=null,this._customSourceBeingMovedHitTestData=null,this._customSourceBeingMoved=null,this._dataSourceCollectionChanged=new(U()),this._sourceProperitesChanged=new(U()),this._sourceZOrderChanged=new(U()),this._symbolSourceResolved=new(U()),this._symbolSourceResolvingActive=new(G())(!1),this._adjustForDividendsAvailability=new(G())(0),this._adjustForDividendsEnabled=new(G())(!1),this._sessions=null,this._currentTool="", +this._lineBeingCreated=null,this._paneBeingCreatedLineOn=null,this._lineCancelled=new(U()),this._phantomSourceContainer=new gt(this),this._destroyed=!1,this._isSettingsExternalPosition=!1,this._isTimeScrolling=!1,this._magnet=new bt,this._scrollingState=null,this._modelIntervals=[],this._rendererOptionsProvider=new L(this),this._cachedStudiesMaxOffset=0,this._panes=[],this._tagsChanged=new(U()),this._strategySources=[],this._strategySourcesChange=new(U()),this._activeStrategySource=new(G())(null),this._paneCollapsingAvailable=new(G())(!1),this._panesCollectionChanged=new(U()),this._scrollEnabled=B.enabled("chart_scroll"),this._zoomEnabled=B.enabled("chart_zoom"),this._isScalesResetAvailableChanged=new(U()),this._isScalesResetAvailable=!1,this._esdWatcher=null,this._alertsWatcher=null,this._hoveredSource=null,this._hoveredSourceChanged=new(U()),this._lastHoveredHittestData=null,this._lastSelectedHittestData=null,this._topmostCustomSources=[],this._fgCustomSources=[],this._bgCustomSources=[],this._allCustomSources=[],this._customSourcesMap=new Map,this._multiPaneSources=[],this._showLegendProperty=new(x()),this._id=(0,X.guid)(),this._chartSaveTime=null,this._availableCurrenciesList=null,this._availableCurrencies=new pt([]),this._availableUnitsObject=null,this._availableUnits=new _t({}),this._shouldBeSavedEvenIfHidden=!1,this._watchedThemeSpawn=l.watchedTheme.spawn(),this._gradientColorsCache=null,this._recalcVRStudiesParams={},this._recalcColorStudiesParams={},this._recalcVisibleRangeStudiesImplDebounced=(0,s.default)(this._recalcVisibleRangeStudiesImpl.bind(this,this._recalcVRStudiesParams),500),this._recalcColorStudiesImplDebounced=(0,s.default)(this._recalcColorStudiesImpl.bind(this,this._recalcColorStudiesParams),250),this._width=0,this._resetScales=new(U()),this._chartThemeLoaded=new(U()),this._selection=new S,this._selectedSourceChanged=new(U()),this._symbolSourceCollectionChanged=new(U()),this._gridSource=new Mt,this._syncPointCache=new Map,this._lastAppliedTimeRange=null,this._clearSelection=()=>{this._lastSelectedHittestData=null,this._selection.clear()},this._removeSourceFromSelection=e=>{this._selection.remove(e)},this._addSourceToSelection=(e,t)=>{const i=this._selection.isSelected(e);i&&this._lastSelectedHittestData===t||e&&!e.isSelectionEnabled()||(this._lastSelectedHittestData=t||null,i||this._selection.add(e))},this._recalcSymbolResolvingActive=()=>{for(const e of this._panes)if(e.symbolSourceResolvingActive().value())return void this._symbolSourceResolvingActive.setValue(!0);this._symbolSourceResolvingActive.setValue(!1)},this._recalcAdjustForDividendsAvailibility=()=>{var e,t,i,s;if(this._symbolSourceResolvingActive.value())return void this._adjustForDividendsAvailability.setValue(0);const r=this.mainSeries();switch(null!==(t=null===(e=r.symbolInfo())||void 0===e?void 0:e.allowed_adjustment)&&void 0!==t?t:"none"){case"dividends":return void this._adjustForDividendsAvailability.setValue(2);case"splits":return void this._adjustForDividendsAvailability.setValue(1);case"any": +return void this._adjustForDividendsAvailability.setValue(3)}for(const e of this.symbolSources().filter(de.isActingAsSymbolSource)){if(e.symbolHibernated().value()||e===r)continue;if("any"===(null!==(s=null===(i=e.symbolInfo())||void 0===i?void 0:i.allowed_adjustment)&&void 0!==s?s:"none"))return void this._adjustForDividendsAvailability.setValue(3)}this._adjustForDividendsAvailability.setValue(0)},this._recalcAdjustForDividendsEnabled=()=>{switch(this._adjustForDividendsAvailability.value()){case 2:return void this._adjustForDividendsEnabled.setValue(!0);case 0:case 1:return void this._adjustForDividendsEnabled.setValue(!1)}this._adjustForDividendsEnabled.setValue(this.mainSeries().properties().childs().dividendsAdjustment.value())},this._recalcPaneCollapsingAvailable=e=>{let t=this._panes.filter(e=>!e.collapsed().value()).length;0===t&&e&&this._panes.length>0&&(this._panes[0].collapsed().setValue(!1),t=1),this._paneCollapsingAvailable.setValue(t>1)},this._chartApi=e,this._invalidateHandler=t,this._undoModel=o,this._properties=i,this._options=(0,ee.merge)((0,ee.clone)(Di),c),this._collapsedWV=h,this._isAutoSaveEnabled=d,this._studiesMetaInfoRepository=n,this._readOnly=this._options.readOnly,this._isSnapshot=this._options.isSnapshot,this._chartSaveTime=(new Date).valueOf(),this._backgroundColor=new(G())(this._getBackgroundColor()),this._backgroundTopColor=new(G())(this._getBackgroundColor(!0)),this._properties.childs().paneProperties.childs().background.subscribe(this,this._updateBackgroundColor),this._properties.childs().paneProperties.childs().backgroundType.subscribe(this,this._updateBackgroundColor),this._properties.childs().paneProperties.childs().backgroundGradientStartColor.subscribe(this,this._updateBackgroundColor),this._properties.childs().paneProperties.childs().backgroundGradientEndColor.subscribe(this,this._updateBackgroundColor),this._backgroundColor.subscribe(this.recalcColorStudies.bind(this,!1)),this._backgroundTopColor.subscribe(this.recalcColorStudies.bind(this,!1)),this._watchedThemeSpawn.subscribe(this._updateBackgroundColor.bind(this)),this._symbolSourceResolvingActive.subscribe(this._recalcAdjustForDividendsAvailibility),this.setStudiesMetaData(this._studiesMetaInfoRepository.getInternalMetaInfoArray(),this._studiesMetaInfoRepository.getMigrations()),(0,lt.init)();const u=this._readOnly?new(x())((0,D.defaults)("chartproperties.paneProperties.crossHairProperties")):this._properties.childs().paneProperties.childs().crossHairProperties;this.m_crossHairSource=new Ti(this,u,this._options.crossHair),this.m_crossHairSource.selectPointMode().subscribe(e=>{if(e&&this.lineBeingCreated()){const e=lt.tool.value();this.cancelCreatingLine(),lt.tool.setValue(e)}}),this._tagsChanged=new(U());const p=new P.DefaultProperty("chartproperties.mainSeriesProperties");p.addExclusion("minTick"),p.addExclusion("priceAxisProperties.lockScale"),p.addExclusion("priceAxisProperties.percentage"),p.addExclusion("priceAxisProperties.indexedTo100"),p.addExclusion("priceAxisProperties.isInverted"), +p.addExclusion("priceAxisProperties.log"),p.addExclusion("priceAxisProperties.logDisabled"),p.addExclusion("priceAxisProperties.percentageDisabled"),p.addExclusion("priceAxisProperties.autoScaleDisabled"),p.merge(i.childs().mainSeriesProperties.state()),this._timeScale=new $e(this,this._options.timeScale);const _={countdownEnabled:this._options.countdownEnabled,lastPriceAnimationEnabled:this._options.lastPriceAnimationEnabled};this.m_mainSeries=new xi.Series(this,p,_,r),this.m_mainSeries.onStyleChanged().subscribe(this._timeScale,this._timeScale.invalidateVisibleBars);const m=()=>this.fullUpdate();this.m_mainSeries.properties().childs().showCountdown.subscribe(this,()=>{this.m_mainSeries.updateAllViews((0,O.dataSourceChangeEvent)(this.m_mainSeries.id())),m()}),(0,Y.currencyUnitVisibilityProperty)().subscribe(this,m),this._timeScale.visibleBarsStrictRangeChanged().subscribe(this.m_mainSeries,this.m_mainSeries.clearHighLowPriceCache),this._timeScale.visibleBarsStrictRangeChanged().subscribe(this.m_mainSeries,this.m_mainSeries.clearAveragePriceCache),this.createPane(void 0,{axisProperties:p.childs().priceAxisProperties.state(["autoScale"])}),this._adjustForDividendsAvailability.subscribe(this._recalcAdjustForDividendsEnabled),this.mainSeries().properties().childs().dividendsAdjustment.subscribe(this,this._recalcAdjustForDividendsEnabled),this._recalcAdjustForDividendsEnabled(),this._boundUpdateStudiesMaxOffset=this._updateStudiesMaxOffset.bind(this),this.mainSeries().dataEvents().seriesTimeFrame().subscribe(this,(e,t,i,s)=>{if(null!==this._lastAppliedTimeRange&&null!==i&&s&&(0,vt.areEqualTimeFrames)(this._lastAppliedTimeRange.range,i)){const e=this.appliedTimeFrame().value();null!==e&&!this._lastAppliedTimeRange.actual&&(0,vt.areEqualTimeFrames)(this._lastAppliedTimeRange.range,e.val)&&this.appliedTimeFrame().setValue(null),this._lastAppliedTimeRange=null}})}setStudiesMetaData(e,t){this._studiesMetaData=e,this._studyVersioning=new(b())(this._studiesMetaData,t)}restart(){this._chartApi.switchTimezone(this.timezone()),this._timeScale.reset(),this.m_mainSeries.restart();for(const e of this.dataSources())e.restart&&e!==this.m_mainSeries&&e.restart();this.sessions().restart()}version(){return 3}collapsed(){return this._collapsedWV}chartSaveTime(){return this._chartSaveTime}setChartSaveTime(e){this._chartSaveTime=e}destroy(){this._phantomSourceContainer.destroy(),this._hoveredSourceChanged.destroy(),null!==this._watermarkSource&&(this._watermarkSource.destroy(),this._watermarkSource=null),Array.from(this._customSourcesMap.keys()).forEach(this._removeCustomSource,this),(0,r.assert)(0===this._topmostCustomSources.length),(0,r.assert)(0===this._fgCustomSources.length),(0,r.assert)(0===this._bgCustomSources.length),(0,r.assert)(0===this._allCustomSources.length),(0,r.assert)(0===this._customSourcesMap.size),null!==this._esdWatcher&&(this._esdWatcher.destroy(),this._esdWatcher=null),null!==this._alertsWatcher&&(this._alertsWatcher.destroy(),this._alertsWatcher=null), +this._properties.childs().paneProperties.childs().background.unsubscribeAll(this),this._properties.childs().paneProperties.childs().backgroundType.unsubscribeAll(this),this._properties.childs().paneProperties.childs().backgroundGradientEndColor.unsubscribeAll(this),this._properties.childs().paneProperties.childs().backgroundGradientStartColor.unsubscribeAll(this),this._watchedThemeSpawn.destroy(),this._lastHoveredHittestData=null,this._lastSelectedHittestData=null,(0,Y.currencyUnitVisibilityProperty)().unsubscribeAll(this),this._destroyed=!0}undoModel(){return this._undoModel}onData(e){switch(e.method){case"timescale_update":{const t=e.params;this._updateTimeScale({index:t.index,zoffset:t.zoffset,values:t.changes,indexDiffs:t.index_diff,baseIndex:t.baseIndex,marks:t.marks,clearFlag:t.clear});break}case"timescale_completed":{const t=Boolean(e.params[0]);this._timeScale.onTimeScaleCompleted(t);break}}}addStrategySource(e,t){1!==t&&-1===this._strategySources.indexOf(e)&&(this._strategySources.push(e),this._strategySourcesChange.fire(t),this.setActiveStrategySource(e))}removeStrategySource(e,t){if(1===t)return;const i=this._strategySources.indexOf(e);if(-1!==i){if(this._strategySources.splice(i,1)[0]===this._activeStrategySource.value()&&this.unsetActiveStrategySource(),this._strategySources.length>0){const e=this._strategySources[this._strategySources.length-1];this.setActiveStrategySource(e)}this._strategySourcesChange.fire(t)}}setActiveStrategySource(e){-1!==this._strategySources.indexOf(e)&&this._activeStrategySource.setValue(e)}unsetActiveStrategySource(){this._activeStrategySource.setValue(null)}activeStrategySource(){return this._activeStrategySource}strategySources(){return this._strategySources}strategySourcesChange(){return this._strategySourcesChange}setScrollEnabled(e){this._scrollEnabled=e}scrollEnabled(){return this._scrollEnabled}setZoomEnabled(e){this._zoomEnabled=e}zoomEnabled(){return this._zoomEnabled}zoomToViewport(e,t,i,s,r){this.setTimeViewport(e,t);let n=Math.min(i,s),o=Math.max(i,s);const a=r.defaultPriceScale();a.isPercentage()||a.setMode({autoScale:!1}),a.isLog()&&(n=a.priceToLogical(n),o=a.priceToLogical(o)),a.setPriceRange(new he.PriceRange(n,o)),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.invalidate(this._paneInvalidationMask(r,q.InvalidationLevel.Light)),this._setScalesResetAvailable(!0)}setTimeViewport(e,t){const i=this.appliedTimeFrame().value();null!==this._lastAppliedTimeRange&&null!==i&&(0,vt.areEqualTimeFrames)(this._lastAppliedTimeRange.range,i.val)&&!this._lastAppliedTimeRange.actual||(this.timeScale().zoomToBarsRange(e,t),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.recalcVisibleRangeStudies(),this.lightUpdate())}onTagsChanged(){return this._tagsChanged}canZoomIn(){return this._timeScale.canZoomIn()&&this._zoomEnabled}canZoomOut(){return this._timeScale.canZoomOut()&&this._zoomEnabled}onPaneTagsChanged(){this._tagsChanged.fire()}panesCollectionChanged(){return this._panesCollectionChanged}dataSourceCollectionChanged(){ +return this._dataSourceCollectionChanged}symbolSourceCollectionChanged(){return this._symbolSourceCollectionChanged}symbolSourceResolved(){return this._symbolSourceResolved}symbolSourceResolvingActive(){return this._symbolSourceResolvingActive}adjustForDividendsAvailability(){return this._adjustForDividendsAvailability}adjustForDividendsEnabled(){return this._adjustForDividendsEnabled}paneCollapsingAvailable(){return this._paneCollapsingAvailable}sourcePropertiesChanged(){return this._sourceProperitesChanged}sourceZOrderChanged(){return this._sourceZOrderChanged}updateCrosshairPositionByOriginCoords(){const e=this.crossHairSource(),t=e.pane;let i=e.originX(),s=e.originY();if(Number.isFinite(i)||(i=e.x,s=e.y),null!==t&&Number.isFinite(i)&&Number.isFinite(s)){const n=this._timeScale.coordinateToVisibleIndex(i);let o=NaN;const a=t.defaultPriceScale();if(!a.isEmpty()){const e=(0,r.ensureNotNull)(t.mainDataSource()).firstValue();null!==e&&(o=a.coordinateToPrice(s,(0,r.ensureNotNull)(e)))}this.crossHairSource().setPosition(n,o,t)&&e.isOnHoveredChartWidget()&&this._syncCrosshair()}}zoomTime(e,t,i){if(!this._zoomEnabled)return;const s=this.timeScale();if(s.isEmpty()||0===t)return;const r=s.width();e=Math.max(1,Math.min(e,r-2)),s.zoom(e,t,i),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate(),this.recalcVisibleRangeStudies(),this._setScalesResetAvailable(!0)}linePointBeingEdited(){return this._linePointBeingEdited}activeItemBeingMoved(){return this._activeItemBeingMoved}linePointBeingChanged(){return this._linePointBeingChanged}updateAllPaneViews(e){for(const t of this._panes)t.updateAllViews(e);for(const t of this.barsMarksSources())t.updateAllViews(e)}dataSources(){const e=[this.crossHairSource()];for(const t of this._panes)for(const i of t.dataSources())e.push(i);return e}priceDataSources(){const e=[];for(const t of this._panes)for(const i of t.priceDataSources())e.push(i);return e}symbolSources(){const e=[];for(const t of this._panes)for(const i of t.symbolSources())e.push(i);return e}selection(){return this._selection}selectionMacro(e){const t=this.selection().allSources();e({removeSourceFromSelection:this._removeSourceFromSelection,addSourceToSelection:this._addSourceToSelection,clearSelection:this._clearSelection,selection:this.selection.bind(this)});const i=(0,g.subtract)(t,this.selection().allSources()),s=(0,g.subtract)(this.selection().allSources(),t);s.concat(t).forEach(e=>e.updateAllViews((0,O.selectionChangeEvent)())),i.forEach(e=>{const t=(0,f.isLineTool)(e)&&e.hasAlert.value()&&e.getAlertSync();t&&t.set("selected",!1)}),s.forEach(e=>{const t=(0,f.isLineTool)(e)&&e.hasAlert&&e.hasAlert.value()&&e.getAlertSync();t&&t.set("selected",!0)}),this.lightUpdate(),(i.length>0||s.length>0)&&this._selectedSourceChanged.fire()}onSelectedSourceChanged(){return this._selectedSourceChanged}checkLineToolSelection(){const e=this.selection().allSources();this._selection.checkLineToolSelection(),e.length!==this.selection().allSources().length&&this._selectedSourceChanged.fire()}lineToolsGroupModel(){ +return this._lineToolsGroupModel}restoreLineToolsGroups(e){this._lineToolsGroupModel=tt.fromState(this,e)}realignLineTools(e){for(const t of this._panes)(void 0===e||t.hasDataSource(e))&&t.realignLineTools(e)&&this._dataSourceCollectionChanged.fire(t)}isSnapshot(){return this._isSnapshot}onWidget(){return this._options.onWidget}hideIdeas(){return this._options.hideIdeas}updateSource(e){const t=this._invalidationMaskForSource(e);null!==t&&this.invalidate(t)}updateSourcePriceScale(e){const t=this._invalidationMaskForSourcePriceScale(e);null!==t&&this.invalidate(t)}updatePane(e){this.invalidate(this._paneInvalidationMask(e))}replaceStudyStub(e,t){const i=this.paneForSource(e);if(null===i)return!1;const s=e.priceScale(),r=e.zorder(),n=e.ownerSource();return this.paneForSource(e)===i?i.replaceSource(e,t,s):(i.insertDataSource(t,s,r),this.removeSource(e)),t.setOwnerSource(n),this.dataSources().forEach(i=>{i.ownerSource()===e&&i.setOwnerSource(t)}),t.start(),this.recalculatePane(i,(0,O.dataSourceChangeEvent)(t.id())),this.fullUpdate(),!0}insertStudyStub(e){const t=this.mainSeries(),i=(0,r.ensureNotNull)(this.paneForSource(t)),s=new w.StudyStub(this,null,e),n=i.createPriceScaleAtPosition("overlay");return i.addDataSource(s,n,!1),this.recalculatePane(i,(0,O.dataSourceChangeEvent)(s.id())),this.fullUpdate(),s}removeStudyStub(e){const t=this.dataSourceForId(e);return null===t?(Ai.logNormal("StudyStub id="+e+" is not found in chart model"),!1):(this.removeSource(t),!0)}setHoveredSource(e,t=null){const i=this._hoveredSource!==e;if(!i&&this._lastHoveredHittestData===t)return;this._lastHoveredHittestData=t;let s=null;if(this._hoveredSource){this._hoveredSource.updateAllViews((0,O.selectionChangeEvent)()),s=new q.InvalidationMask(q.InvalidationLevel.Cursor);const e=this._invalidationMaskForSource(this._hoveredSource,q.InvalidationLevel.Light);null!==e&&s.merge(e)}if(this._hoveredSource=e,e){e.updateAllViews((0,O.selectionChangeEvent)()),s||(s=new q.InvalidationMask(q.InvalidationLevel.Cursor));const t=this._invalidationMaskForSource(e,q.InvalidationLevel.Light);null!==t&&s.merge(t)}s&&this.invalidate(s),i&&this._hoveredSourceChanged.fire(e)}properties(){return this._properties}disconnect(){this.sessions().stop();for(const e of this.dataSources())e.disconnect&&e.disconnect();this._timeScale.disconnect()}gridSource(){return this._gridSource}hoveredSource(){return this._hoveredSource}hoveredSourceChanged(){return this._hoveredSourceChanged}lastHittestData(){return this._lastHoveredHittestData}lastSelectedHittestData(){return this._lastSelectedHittestData}syncTimeWithModel(e,t){const i=this.mainSeries().syncModel();if(null===i)return;const s=1e3*this.createSyncPoint(e,i.syncSourceTarget()).sourceTimeToTargetTime(t/1e3),r=(0,it.get_timezone)(this.timezone());let n=(0,it.utc_to_cal)(r,s);this.mainSeries().isDWM()&&(n=i.getSession().spec.correctTradingDay(n),(0,it.set_hms)(n,0,0,0,0,(0,it.get_timezone)("Etc/UTC"))),this._gotoTimeImpl(n.getTime(),{centerIfVisible:!1})}gotoTime(e){return this._gotoTimeImpl(e,{centerIfVisible:!0})} +recalculatePane(e,t){null==e||e.recalculate(t)}recalculateAllPanes(e){this._panes.forEach(t=>t.recalculate(e)),this.updateAllPaneViews(e),this.crossHairSource().updateAllViews(e)}gotoTimeRange(e,t){const i=this.timeScale(),s=i.tickMarks(),n=this.mainSeries();if(void 0===s.minIndex)return;let o=e,a=t;const l=n.symbolInfo();if(null!==l){let i=this.properties().childs().timezone.value();"exchange"===i&&(i=l.timezone);const s=(0,it.get_timezone)(i),r=(0,it.utc_to_cal)(s,e),c=(0,it.utc_to_cal)(s,t);if(n.isDWM()){const e=(0,it.get_timezone)("Etc/UTC");(0,it.set_hms)(r,0,0,0,0,e),(0,it.set_hms)(c,0,0,0,0,e)}o=r.getTime(),a=c.getTime()}const c=(0,r.ensureDefined)(s.maxIndex),h=(0,r.ensureNotNull)(s.indexToTime((0,r.ensureDefined)(s.minIndex))).valueOf();if(h-o<=0&&h-a<=0){const e=(e,t)=>e(0,r.ensureNotNull)(s.indexToTime(e)).valueOf(),n=(0,g.lowerboundExt)(t,o,e,s.nearestIndex(o),c),l=(0,g.lowerboundExt)(t,a,e,s.nearestIndex(a),c);if(null!==this._lastAppliedTimeRange&&(this._lastAppliedTimeRange.actual=!1),n!==l)i.zoomToBarsRange(n,l),this.lightUpdate();else{this.startScrollTime(0);const e=((0,r.ensureNotNull)(i.logicalRange()).left()-n+1)*i.barSpacing();this.scrollTimeTo(e),this.endScrollTime()}}else{const i={type:"time-range",from:e/1e3,to:t/1e3};this._lastAppliedTimeRange={range:i,actual:!0},n.loadDataTo(i)}}paneForSource(e){if(!(0,m.isDataSource)(e))return Array.from(this._customSourcesMap.values()).includes(e)?this.paneForSource(this.mainSeries()):null;for(let t=this._panes.length-1;t>=0;t--)if(this._panes[t].hasDataSource(e))return this._panes[t];return e instanceof ht.BarsMarksContainer?this.paneForSource(this.mainSeries()):null}mainPane(){for(const e of this._panes)if(e.isMainPane())return e;throw new Error("Main pane is not found")}lastPane(){return this._panes[this._panes.length-1]}removeSource(e,t){this.selectionMacro(t=>t.removeSourceFromSelection(e)),this._hoveredSource===e&&(this._hoveredSource=null,this._lastHoveredHittestData=null),this._sourcesBeingMoved.includes(e)&&(this._sourcesBeingMoved=this._sourcesBeingMoved.filter(t=>t!==e),this._sourcesBeingMoved.length||(this._activeItemBeingMoved=null)),e===this._lineBeingEdited&&(this._lineBeingEdited=null,lt.isToolEditingNow.setValue(!1)),e===this._lineBeingCreated&&(this._lineBeingCreated=null,lt.isToolCreatingNow.setValue(!1)),e.stop&&e.stop();const i=this.detachSource(e),s=this.mainSeries().priceScale();return(0,H.isStudy)(e)&&(0,de.isActingAsSymbolSource)(e)&&e.priceScale()===s&&s.isPercentage()&&1===s.seriesLikeSources().filter(de.isActingAsSymbolSource).length&&s.setMode({percentage:!1}),this.fullUpdate(),this._invalidateBarColorerCaches(),(0,H.isStudy)(e)&&((0,u.emit)("study_event",e.id(),"remove"),e.isChildStudy()&&e.parentSource().unsetChild(e),e.maxOffset().unsubscribe(this._boundUpdateStudiesMaxOffset)),e.destroy&&e.destroy(),(0,f.isLineTool)(e)&&(e.removeAlert(),(0,u.emit)("drawing_event",e.id(),"remove")),i}allStudies(e){const t=e?e=>(0,H.isStudy)(e)&&!0:H.isStudy;return this._getAllSources(t)}findNonOverlayStudyWithGroupingKey(e,t){ +const i=void 0!==t?[t]:this._panes;for(const t of i){const i=t.dataSources().find(i=>(0,H.isStudy)(i)&&i.metaInfo().groupingKey===e&&!t.isOverlay(i));if(void 0!==i)return{pane:t,study:i}}return null}movePaneUp(e){this.movePane(e,e-1)}movePaneDown(e){this.movePane(e,e+1)}movePane(e,t){const i=this._panes[e];this._panes.splice(e,1),this._panes.splice(t,0,i),this._panesCollectionChanged.fire(this._panes),this._onRearrangePanes.fire(),this.invalidate(q.InvalidationMask.panesOrder())}backgroundColor(){return this._backgroundColor}backgroundTopColor(){return this._backgroundTopColor}backgroundColorAtYPercentFromTop(e){const t=this.backgroundColor().value(),i=this.backgroundTopColor().value();if(t===i)return t;if(e=Math.max(0,Math.min(100,Math.round(100*e))),null===this._gradientColorsCache||this._gradientColorsCache.topColor!==i||this._gradientColorsCache.bottomColor!==t)this._gradientColorsCache={topColor:i,bottomColor:t,colors:new Map};else{const t=this._gradientColorsCache.colors.get(e);if(void 0!==t)return t}const s=(0,ct.gradientColorAtPercent)(i,t,e/100);return this._gradientColorsCache.colors.set(e,s),s}backgroundCounterColor(){const e=this.backgroundColor().value();if(void 0===this._lastBackgroundColor||void 0===this._lastOriginalColor||e!==this._lastBackgroundColor){const t=(0,o.rgbToBlackWhiteString)((0,o.parseRgb)(e),150);this._lastBackgroundColor=e,this._lastOriginalColor="black"===t?"white":"black"}return this._lastOriginalColor}isDark(){return"white"===this.backgroundCounterColor()}defaultResolutions(){return this.chartApi().defaultResolutions()}availableCurrencies(){const e=this._getAvailableCurrencies();return e.length!==this._availableCurrencies.size()&&(this._availableCurrencies=new pt(e)),this._availableCurrencies}currencyConversionEnabled(){return this._options.currencyConversionEnabled}availableUnits(){const e=this._getAvailableUnits();return this._availableUnits.unitsChanged(e)&&(this._availableUnits=new _t(e)),this._availableUnits}unitConversionEnabled(){return this._options.unitConversionEnabled}resetDeferredStudies(){ve.instance(this).reset()}isJustClonedChart(){return this._undoModel.isJustClonedChart()}studyTemplate(e,t,i){const s={panes:[],version:this.version()};for(const e of this.panes())s.panes.push(e.state(!0,!1,!0));const r=this.mainSeries();return e&&(s.symbol=r.symbol(),this.currencyConversionEnabled()&&i&&(s.currency=r.currency()),this.unitConversionEnabled()&&i&&(s.unit=r.unit())),t&&(s.interval=r.interval()),s}restoreLineToolState(e,t,i){e.restorePoints(t.points,t.indexes||[]),e.properties().merge(t.state),e.restoreData&&e.restoreData(t),e.linkKey().setValue(t.linkKey||null),e.createServerPoints(),this.fullUpdate();const s=e.linkKey().value();null!==s&&i&&(0,lt.restoreLineToolState)({model:this,linkKey:s,state:t})}preferences(){return(0,Mi.preferencesByWhiteList)(this,this.mainSeries())}restoreTheme(e,t,i){e.mainSourceProperties.hollowCandleStyle||(e.mainSourceProperties.hollowCandleStyle=e.mainSourceProperties.candleStyle),this._undoModel.chartLoadTheme(e,t,i)}onResetScales(){ +return this._resetScales}startMovingSources(e,t,i,s,n,o){this._sourcesBeingMoved=e,this._activeItemBeingMoved=i;let a=!1;if(this._sourcesBeingMoved.forEach(e=>{!a&&(0,H.isStudy)(e)&&(a=!0);const l=(0,r.ensureNotNull)(this.paneForSource(e)),c=(0,f.isLineTool)(e),h=c&&e.linkKey().value();if(!1!==h&&null!==h&&s.has(h)&&c&&e.isFixed()){const t=(0,r.ensureDefined)(s.get(h)),a={screen:this._percentPositionToPoint(t,l)};e.startMoving(a,i,n,o)}else e.startMoving(t,i,n,o);const d=this._paneInvalidationMask(l,q.InvalidationLevel.Light);this.invalidate(d)}),!o){const s=e.filter(f.isLineTool).filter(e=>e.linkKey().value()&&e.isSynchronizable()).map(e=>e.linkKey().value());if(s.length&&t.logical){const o=this.externalTimeStamp(t.logical.index),a={linkKeys:s,model:this,symbol:this.mainSeries().symbol(),point:{price:t.logical.price,timeStamp:o},activeItem:null!==i?i:void 0,envState:n,pointPositionPercents:new Map};e.forEach(e=>{if((0,f.isLineTool)(e)){const i=e.linkKey().value();if(i&&e.isSynchronizable()&&e.isFixed()){const s=(0,r.ensureNotNull)(this.paneForSource(e));a.pointPositionPercents.set(i,this._pointToPercentPosition((0,r.ensureDefined)(t.screen),s))}}}),(0,lt.startMovingLineTool)(a)}}lt.isToolMovingNow.setValue(!0),a&<.isStudyEditingNow.setValue(!0)}moveSources(e,t,i,s){if(this._sourcesBeingMoved.filter(e=>!e.isLocked||!e.isLocked()).forEach(n=>{const o=(0,f.isLineTool)(n)?n.linkKey().value():null;if(null!==o&&t.has(o)){const e=(0,r.ensureNotNull)(this.paneForSource(n)),a=(0,r.ensureDefined)(t.get(o)),l={screen:this._percentPositionToPoint(a,e)};n.move(l,this._activeItemBeingMoved,i,s)}else n.move(e,this._activeItemBeingMoved,i,s)}),this.lightUpdate(),!s&&e.logical){const t=this._sourcesBeingMoved.filter(f.isLineTool).filter(e=>e.isSynchronizable()&&!!e.linkKey().value()).map(e=>e.linkKey().value()),s=this.externalTimeStamp(e.logical.index),n={linkKeys:t,model:this,point:{price:e.logical.price,timeStamp:s},envState:i,pointPositionPercents:new Map};this._sourcesBeingMoved.filter(f.isLineTool).forEach(t=>{if(t.linkKey().value()&&t.isSynchronizable()&&t.isFixed()){const i=(0,r.ensureNotNull)(this.paneForSource(t));n.pointPositionPercents.set(t.linkKey().value(),this._pointToPercentPosition((0,r.ensureDefined)(e.screen),i))}}),(0,lt.moveLineTool)(n)}}endMovingSources(e,t,i){const s=this._sourcesBeingMoved.map(s=>{const n=(0,r.ensureNotNull)(this.paneForSource(s)),o=s.endMoving(e,t,i),a=this._paneInvalidationMask(n,q.InvalidationLevel.Light);return a.invalidateAll(q.InvalidationLevel.Light),this.invalidate(a),o}),n=this._sourcesBeingMoved.filter(f.isLineTool).filter(e=>e.isSynchronizable()&&!!e.linkKey().value()).map(e=>e.linkKey().value()),o=this._sourcesBeingMoved.filter(f.isLineTool).filter(e=>e.isSynchronizable()&&!!e.linkKey).map(e=>{const t={points:e.normalizedPoints(),interval:this.mainSeries().interval()};return e.isFixed()&&(t.pointPositionPercents=e.calcPositionPercents()),t});n.length&&(0,lt.finishMovingLineTool)({linkKeys:n,model:this,finalStates:o,changes:s}),this._sourcesBeingMoved=[], +this._activeItemBeingMoved=null,lt.isToolMovingNow.setValue(!1),lt.isStudyEditingNow.setValue(!1)}sourcesBeingMoved(){return this._sourcesBeingMoved}setMovingCustomSource(e,t){this._customSourceBeingMoved=e,this._customSourceBeingMovedHitTestData=null!==t?{beingMoved:!1,...t}:null}processingCustomSourceMove(){null!==this._customSourceBeingMovedHitTestData&&(this._customSourceBeingMovedHitTestData.beingMoved=!0)}customSourceMovingHitTestData(){return this._customSourceBeingMovedHitTestData}customSourceBeingMoved(){return null!==this._customSourceBeingMovedHitTestData&&this._customSourceBeingMovedHitTestData.beingMoved?this._customSourceBeingMoved:null}width(){return this._width}setWidth(e,t){this._width=e,this._timeScale.setWidth(e,t);for(const t of this._panes)t.setWidth(e);this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.recalcVisibleRangeStudies()}setPaneHeight(e,t){e.setHeight(t),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate()}isScalesResetAvailableChanged(){return this._isScalesResetAvailableChanged}isScalesResetAvailable(){return this._isScalesResetAvailable}panes(){return this._panes}paneForId(e){return this._panes.find(t=>t.id()===e)||null}createPane(e,t,i){const s=this._undoModel.chartWidget();s.isMaximizedPane()&&s.toggleMaximizePane(null);const r=this._properties.childs().paneProperties;t&&r.merge(t);const n=new Le(this._timeScale,r,this,i);return void 0!==e?this._panes.splice(e,0,n):this._panes.push(n),n.onTagsChanged().subscribe(this,Vi.prototype.onPaneTagsChanged),n.dataSourcesCollectionChanged().subscribe(this,()=>this._dataSourceCollectionChanged.fire(n)),n.symbolSourceCollectionChanged().subscribe(this,()=>this._onSymbolSourceCollectionChanged(n)),n.sourcePropertiesChanged().subscribe(this,e=>this._sourceProperitesChanged.fire(n,e)),n.sourceZOrderChanged().subscribe(this,e=>this._sourceZOrderChanged.fire(n,e)),n.symbolSourceResolved().subscribe(this,e=>this._symbolSourceResolved.fire(n,e)),n.symbolSourceResolvingActive().subscribe(this._recalcSymbolResolvingActive),n.collapsed().subscribe(this._recalcPaneCollapsingAvailable),this._recalcPaneCollapsingAvailable(),this._panesCollectionChanged.fire(this._panes),this.invalidate(q.InvalidationMask.panesOrder()),n}removePane(e){const t=this._undoModel.chartWidget();t.isMaximizedPane()&&t.toggleMaximizePane(null);const i=e;i.destroy();const s=this._panes.indexOf(i);-1!==s&&(this._panes.splice(s,1),e.dataSourcesCollectionChanged().unsubscribeAll(this),e.symbolSourceCollectionChanged().unsubscribeAll(this),e.sourcePropertiesChanged().unsubscribeAll(this),e.onTagsChanged().unsubscribeAll(this),e.symbolSourceResolved().unsubscribeAll(this),i.symbolSourceResolvingActive().unsubscribe(this._recalcSymbolResolvingActive),e.collapsed().unsubscribe(this._recalcPaneCollapsingAvailable),this._recalcPaneCollapsingAvailable(!0));this.crossHairSource().pane===e&&this.clearCurrentPosition(),this._panesCollectionChanged.fire(this._panes),this.invalidate(q.InvalidationMask.panesOrder())}changePanesHeight(e,t){if(this._panes.length<2)return +;(0,r.assert)(e>=0&&ee+t.stretchFactor(),0),n=this._panes.reduce((e,t)=>e+t.height(),0),o=n-30*(this._panes.length-1);t=Math.min(o,Math.max(30,t));const a=s/n,l=i.height();i.setStretchFactor(t*a);let c=t-l,h=this._panes.length-1;for(const e of this._panes)if(e!==i){const t=Math.min(o,Math.max(30,e.height()-c/h));c-=e.height()-t,h-=1;const i=t*a;e.setStretchFactor(i)}this.fullUpdate()}clearCurrentPosition(){const e=this.crossHairSource();e.clearPosition(),(0,r.ensureNotNull)(e.dataWindowView()).update(),ki(this._panes),this.invalidate(q.InvalidationMask.cursor());const t=this._undoModel.chartWidget();t.chartWidgetCollection().syncCrosshair(null,t.id()),this._phantomSourceContainer.onCursorPositionUpdated()}setAndSaveCurrentPosition(e,t,i,s){this.crossHairSource().saveOriginCoords(e,t),this.setCurrentPosition(e,t,i,s)}setCurrentPosition(e,t,i,s){let n=NaN;const o=this._timeScale.coordinateToVisibleIndex(e),a=i.defaultPriceScale();let l=null;!a.isEmpty()&&Number.isFinite(t)&&(l=(0,r.ensureNotNull)(i.mainDataSource()).firstValue(),null!==l&&(n=a.coordinateToPrice(t,l)));const c=this.crossHairSource(),h=c.selectPointMode().value(),d=this.currentTool(),u=this.mainSeries(),p=h||lt.isStudyEditingNow.value(),_=this._lineBeingCreated||this._lineBeingEdited||(0,f.isLineToolName)(d)||(0,lt.toolIsMeasure)(d)||p;!this._isSettingsExternalPosition&&_&&(n=this._magnet.align(n,o,i),null!==l&&c.saveOriginCoords(c.originX(),a.priceToCoordinate(n,l)));let m=null;if(isNaN(n)||(m=i),this._isTimeScrolling){if(!this._isSettingsExternalPosition&&h){const e=u.bars().firstIndex(),t=u.bars().lastIndex();if(null!==e&&null!==t){const s=Math.min(Math.max(o,e),t);s!==o&&this._setCorrectedPositionToCrosshair(s,n,l,i)}}else c.setPosition(c.index,n,m);return}c.setOnHoveredChartWidget(!0),c.setPosition(o,n,m),(0,r.ensureNotNull)(c.dataWindowView()).update(),ki(this._panes);const g=u.syncModel();if(this.crossHairSource().startMeasurePoint()||this._lineBeingCreated?this.lightUpdate():this.invalidate(q.InvalidationMask.cursor()),this._lineBeingCreated){const e=this._lineBeingCreated.linkKey().value();if(!this._isSettingsExternalPosition){const t=this._lineBeingCreated.setLastPoint({index:o,price:n},s);if(this._lineBeingCreated.updateAllViews((0,O.dataSourceChangeEvent)(this._lineBeingCreated.id())),t.price===n&&t.index===o||this._setCorrectedPositionToCrosshair(t.index,t.price,l,i),g&&e){const i=this._timeScale.points().roughTime(t.index,g.projectTime.bind(g));(0,lt.setLineToolLastPoint)({model:this,linkKey:e,point:{timeStamp:(0,r.ensureNotNull)(i),price:t.price}})}}}if(!this._isSettingsExternalPosition&&null!==this._lineBeingEdited&&null!==this._linePointBeingEdited){const e={index:o,price:n};this.changeLinePoint(e,s);const t=this._lineBeingEdited.alignCrossHairToAnchor(this._linePointBeingEdited)?this._lineBeingEdited.getPoint(this._linePointBeingEdited):e;null!==t&&this._setCorrectedPositionToCrosshair(t.index,t.price,l,i)} +if(!this._isSettingsExternalPosition&&p){const e=u.bars().firstIndex(),t=u.bars().lastIndex();if(null!==e&&null!==t){const s=Math.min(Math.max(o,e),t);s!==o&&this._setCorrectedPositionToCrosshair(s,n,l,i)}}this._syncCrosshair(s)}setExternalPosition(e,t){let i;const s=this.crossHairSource();if(s.setOnHoveredChartWidget(!1),null!==e&&(0,ee.isNumber)(e.timeStamp)){const t=this.mainSeries().syncModel();if(t){const s=this.createSyncPoint(e.syncSourceTarget,t.syncSourceTarget()).sourceTimeToTargetTime(e.timeStamp);i=this._timeScale.points().roughIndex(s,t.distance.bind(t))}}if(null!==e&&null!=i&&Number.isFinite(i)){this._isSettingsExternalPosition=!0;const n=(0,r.ensureNotNull)(this.paneForSource(this.mainSeries())),o=this._timeScale.indexToCoordinate(i),a=(0,r.ensureNotNull)(n.mainDataSource()).firstValue();if(null!==a){let i=NaN;void 0!==e.price&&Number.isFinite(e.price)&&(i=this.mainSeries().priceScale().priceToCoordinate(e.price,a)),s.clearOriginCoords(),this.setCurrentPosition(o,i,n,t)}return s.setOnHoveredChartWidget(!1),void(this._isSettingsExternalPosition=!1)}s.clearPosition(),(0,r.ensureNotNull)(s.dataWindowView()).update(),ki(this._panes),this.invalidate(q.InvalidationMask.cursor())}startScaleTime(e){this._timeScale.startScale(e)}scaleTimeTo(e){this._timeScale.scaleTo(e),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate(),this._setScalesResetAvailable(!0)}endScaleTime(){this._timeScale.endScale(),this.lightUpdate(),this.recalcVisibleRangeStudies()}resetTimeScale(){this._timeScale.restoreDefault(),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.recalcVisibleRangeStudies(),this.lightUpdate(),this._resetScales.fire(),this._setScalesResetAvailable(!1)}startScalePrice(e,t,i){e.startScalePrice(t,i)}scalePriceTo(e,t,i){e.scalePriceTo(t,i),this.mainSeries().priceScale().isLockScale()?this.lightUpdate():this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light)),this._setScalesResetAvailable(!0)}endScalePrice(e,t){e.endScalePrice(t),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}startTwoPointsScalePrice(e,t,i,s){t.startTwoPointsScale(i,s)}twoPointsScalePriceTo(e,t,i,s){t.twoPointsScale(i,s),this.invalidate(this._paneInvalidationMask(e)),this._setScalesResetAvailable(!0)}endTwoPointsScalePrice(e,t){t.endTwoPointsScale(),this.invalidate(this._paneInvalidationMask(e))}resetPriceScale(e,t){this._setScalesResetAvailable(!1),e.resetPriceScale(t),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}restorePriceScaleState(e,t,i){e.restorePriceScaleState(t,i),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}currentTool(){return this._currentTool}setCurrentTool(e){this._currentTool!==e&&((0,f.isLineToolName)(e)&&this.selectionMacro(e=>{e.clearSelection()}),this._currentTool=e,this._phantomSourceContainer.onToolChanged())}detachSource(e){const t=this.paneForSource(e);return!!t&&(t.removeDataSource(e),t.isEmpty()?(this._lineBeingCreated&&t===this._paneBeingCreatedLineOn&&this.cancelCreatingLine(),this.removePane(t), +!0):(this.fullUpdate(),!1))}onRearrangePanes(){return this._onRearrangePanes}finishLineTool(e){const t=e.linkKey().value();(0,lt.drawOnAllCharts)().value()&&null!==t&&e.isSynchronizable()&&(0,lt.finishLineTool)({linkKey:t,model:this})}startChangingLinetool(e,t,i,s,n){this._lineBeingEdited=e,this._linePointBeingChanged=t||null,this._linePointBeingEdited=void 0===i?null:i,this._lineBeingEdited.startChanging(i,t,n),lt.isToolEditingNow.setValue(!0);const o=(0,r.ensureNotNull)(this.paneForSource(e));this._lineBeingEdited.startDragPoint&&void 0!==i&&void 0!==t&&this._lineBeingEdited.startDragPoint(i,t),n||void 0===i||void 0===t||this._lineBeingEdited.setPoint(i,t,s,n),this._lineBeingEdited.updateAllViews((0,O.dataSourceChangeEvent)(this._lineBeingEdited.id()));const a=this._paneInvalidationMask(o,q.InvalidationLevel.Light);this.invalidate(a);const l=e.linkKey().value();if(l&&e.isSynchronizable()&&void 0!==i&&void 0!==t){const e=(0,r.ensureNotNull)(this.externalTimeStamp(t.index));(0,lt.startChangingLineTool)({linkKey:l,model:this,symbol:this.mainSeries().symbol(),point:{price:t.price,timeStamp:e},pointIndex:i,envState:s||null})}}createLineTool(e,t,i,s,o,a,l){if((0,r.assert)((0,f.isLineToolName)(i),"Cannot create unknown line tool: "+i),s){const e={...Li.intervalsVisibilitiesDefaults},t=s.childs().intervalsVisibilities.state();(0,ee.merge)(e,null!=t?t:{});const r=s.state();r.intervalsVisibilities=e,s=(0,f.createLineToolProperties)(i,r,this)}const c=(0,f.createLineTool)(i,this,s,null,void 0,l);if("LineToolExecution"!==i){const e="LineToolIcon"===i?c.properties().childs().icon.value().toString(16).toUpperCase():void 0;(0,h.trackEvent)("drawings","Study_Drawing_"+i,e)}const d=!c.linkKey().value()&&!o;a=(0,r.ensureDefined)(a||(0,r.ensureNotNull)(e.mainDataSource())),s||(0,f.prepareLineToolPropertiesByOwnerSource)(c.properties(),a),c.setOwnerSource(a);const u=a.priceScale();if(e.addDataSource(c,u,!1),(0,lt.drawOnAllCharts)().value()){const e=c.isSynchronizable()?o||(0,X.randomHash)():null;c.linkKey().setValue(e)}else c.linkKey().setValue(o);let p;if(c.isFixed()){const i=(0,r.ensureNotNull)((0,r.ensureNotNull)(e.mainDataSource()).firstValue()),s=this._timeScale.indexToCoordinate(t.index),o=(0,r.ensureNotNull)(u).priceToCoordinate(t.price,i);p=c.addFixedPoint(new n.Point(s,o))}else p=c.addPoint(t);return p||(this._lineBeingCreated=c,this._paneBeingCreatedLineOn=e,lt.isToolCreatingNow.setValue(!0)),d&&c.enableCurrentIntervalVisibility(),this.fullUpdate(),c}endChangingLinetool(e,t){const i=(0,r.ensureNotNull)(this._lineBeingEdited),s=i.endChanging(!1,e,t);this._lineBeingEdited=null,lt.isToolEditingNow.setValue(!1),this._linePointBeingEdited=null,this._linePointBeingChanged=null,this.lightUpdate();const n={points:i.normalizedPoints(),interval:this.mainSeries().interval()},o=i.linkKey().value();null!==o&&i.isSynchronizable()&&!t&&(0,lt.finishChangingLineTool)({model:this,linkKey:o,symbol:this.mainSeries().symbol(),finalState:n,changes:s})}continueCreatingLine(e,t,i,s){const n=(0, +r.ensureNotNull)(this._lineBeingCreated),o=n.addPoint(e,t,i);n.updateAllViews((0,O.dataSourceChangeEvent)(n.id()));const a=new q.InvalidationMask(q.InvalidationLevel.Light);return o&&(this._paneBeingCreatedLineOn=null,this._lineBeingCreated=null,lt.isToolCreatingNow.setValue(!1)),this.invalidate(a),o}cancelCreatingLine(){if(!this._lineBeingCreated)return;const e=this._lineBeingCreated;this.removeSource(this._lineBeingCreated),this._lineBeingCreated=null,this._lineCancelled.fire(),lt.isToolCreatingNow.setValue(!1),(0,lt.drawOnAllCharts)().value()&&e.isSynchronizable()&&(0,lt.cancelLineTool)({model:this})}lineBeingCreated(){return this._lineBeingCreated}paneBeingCreatedLineOn(){return this._paneBeingCreatedLineOn}lineCancelled(){return this._lineCancelled}isPhantomLine(e){return this._phantomSourceContainer.source()===e}changeLinePoint(e,t,i){const s=(0,r.ensureNotNull)(this._lineBeingEdited),n=(0,r.ensureNotNull)(this._linePointBeingEdited);let o=e.price,a=e.index;if(s.setPoint(n,e,t,i),!i){const t=s.alignCrossHairToAnchor(n)?s.getPoint(n):e;null!==t&&(a=t.index,o=t.price)}s.updateAllViews((0,O.dataSourceChangeEvent)(s.id())),this.lightUpdate();const l=s.linkKey().value();if(!i&&null!==l&&s.isSynchronizable()){const e=(0,r.ensureNotNull)(this._linePointBeingChanged),i={indexesChanged:a!==e.index,pricesChanged:o!==e.price},c=s.getChangePointForSync(n);if(null!==c){const e=this.externalTimeStamp(a);null!==e&&(o=c.price,(0,lt.changeLineTool)({linkKey:l,model:this,symbol:this.mainSeries().symbol(),point:{price:o,timeStamp:e},envState:t,changes:i}))}}}changeLinePoints(e,t,i){const s=e.points(),n=e.linkKey().value();!i&&n&&e.isSynchronizable()&&t.forEach((t,i)=>{const o=s[i],a=o.price!==t.price,l=o.index!==t.index;if(e.getChangePointForSync(i)){const e=(0,r.ensureNotNull)(this.externalTimeStamp(t.index));(0,lt.changeLineTool)({linkKey:n,model:this,symbol:this.mainSeries().symbol(),point:{price:t.price,timeStamp:e},changes:{pricesChanged:a,indexesChanged:l}})}}),e.setPoints(t),e.updateAllViews((0,O.dataSourceChangeEvent)(e.id())),this.lightUpdate()}startScrollTime(e){this._timeScale.startScroll(e),this._isTimeScrolling=!0}scrollTimeTo(e){this._timeScale.scrollTo(e),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate(),this._setScalesResetAvailable(!0)}endScrollTime(){this._timeScale.endScroll(),this.lightUpdate(),this.recalcVisibleRangeStudies(),this._isTimeScrolling=!1}startScrollPrice(e,t,i){e.startScrollPrice(t,i)}scrollPriceTo(e,t,i){e.scrollPriceTo(t,i),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}endScrollPrice(e,t){e.endScrollPrice(t),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}addCustomSource(e,t,i=_.CustomSourceLayer.Foreground){this._customSourcesMap.has(e)&&Ai.logWarn(`Attempt to add the same custom source multiple time "${e}"`),Ai.logNormal(`Adding custom source "${e}"`);const s=t(e,this);switch(i){case _.CustomSourceLayer.Background:this._bgCustomSources.push(s);break;case _.CustomSourceLayer.Foreground:this._fgCustomSources.push(s) +;break;case _.CustomSourceLayer.Topmost:this._topmostCustomSources.push(s);break;default:throw new Error("Unknown custom sources layer "+i)}this._allCustomSources.push(s),this._customSourcesMap.set(e,s),this.lightUpdate()}removeCustomSource(e){this._removeCustomSource(e),this.lightUpdate()}hasCustomSource(e){return this._customSourcesMap.has(e)}customSourceForName(e){return this._customSourcesMap.get(e)||null}customSourceName(e){let t=null;return this._customSourcesMap.forEach((i,s)=>{i===e&&(t=s)}),t}customSources(e){switch(e){case _.CustomSourceLayer.Background:return this._bgCustomSources;case _.CustomSourceLayer.Foreground:return this._fgCustomSources;case _.CustomSourceLayer.Topmost:return this._topmostCustomSources;default:return this._allCustomSources}}addMultiPaneSource(e){this._multiPaneSources.push(e),this.lightUpdate()}removeMultiPaneSource(e){const t=this._multiPaneSources.indexOf(e);-1===t?Ai.logWarn("Attempt to remove multi-pane source which does not exist in the model"):this._multiPaneSources.splice(t,1),this.lightUpdate()}multiPaneSources(e){return this._multiPaneSources.filter(t=>!e.hasDataSource(t))}dateTimeFormatter(){return this._dateTimeFormatter}dateFormatter(){return this._dateFormatter}timeFormatter(){return this._timeFormatter}sessions(){return(0,r.ensureNotNull)(this._sessions)}createSessions(e){(0,r.assert)(null===this._sessions,"Sessions are already created"),this.addCustomSource("sessions",(t,i)=>(this._sessions=new W(t,i,e),this._sessions.start(),this._sessions),_.CustomSourceLayer.Background)}createPrePostMarket(e){this.addCustomSource("prePostMarket",(t,i)=>new PrePostMarket(t,i,e))}theme(){const e=this.properties().childs().paneProperties.state();delete e.topMargin,delete e.bottomMargin;const t=this.mainSeries().state().state;t&&(delete t.symbol,delete t.interval,delete t.currencyId,delete t.unitId);const i={mainSourceProperties:t,sessions:this.sessions().properties().state(),chartProperties:{paneProperties:e,scalesProperties:this.properties().childs().scalesProperties.state()},version:this.version()};return i.version=this.version(),i}onChartThemeLoaded(){return this._chartThemeLoaded}chartThemeLoaded(){this._chartThemeLoaded.fire()}state(e,t,i,s){var r;const n=this.publishedChartsTimelineSource(),o=this.properties().childs(),a=o.tradingProperties.state(),l={panes:this._panes.map(r=>r.state(!0,e,!1,t,i,s)),timeScale:this._timeScale.state(e),chartProperties:{paneProperties:o.paneProperties.state(),scalesProperties:o.scalesProperties.state(),publishedChartsTimelineProperties:n?n.state(e):void 0,chartEventsSourceProperties:null===(r=o.chartEventsSourceProperties)||void 0===r?void 0:r.state(),tradingProperties:a,priceScaleSelectionStrategyName:o.priceScaleSelectionStrategyName.value()},sessions:this.sessions().state(e),version:this.version(),timezone:this.timezone(),shouldBeSavedEvenIfHidden:this._shouldBeSavedEvenIfHidden};return s||(l.lineToolsGroups=this.lineToolsGroupModel().state(t)),l}restoreState(e,t,i){ve.instance(this).reset();const s={} +;if(!e.panes)return void Ai.logDebug("ChartModel.restoreState: invalid state");if(!Array.isArray(e.panes))return void Ai.logDebug("ChartModel.restoreState: invalid state");if(e.panes.length<1)return void Ai.logDebug("ChartModel.restoreState: invalid state");if(this._shouldBeSavedEvenIfHidden=void 0===e.shouldBeSavedEvenIfHidden||e.shouldBeSavedEvenIfHidden,e.chartProperties&&!e.chartProperties.timezone&&(e.chartProperties.timezone=e.timezone),e.chartProperties){const i=(0,D.factoryDefaults)("chartproperties").scalesProperties;(0,ee.merge)(i,e.chartProperties.scalesProperties),!("showLastValue"in i)||"showSeriesLastValue"in i||"showStudyLastValue"in i||(i.showSeriesLastValueProperty=i.showLastValue,i.showStudyLastValueProperty=i.showLastValue),"showSeriesLastValue"in i&&(s.showSeriesLastValueProperty=!0),"showStudyLastValue"in i&&(s.showStudyLastValueProperty=!0),(!this.isSnapshot()&&!this.readOnly()&&"showCurrency"in i||"showUnit"in i)&&(0,Y.migrateShowCurrencyAndShowUnitProperties)(i.showCurrency,i.showUnit),e.chartProperties.paneProperties.vertGridProperties=e.chartProperties.paneProperties.vertGridProperties||(0,ee.clone)(e.chartProperties.paneProperties.gridProperties),e.chartProperties.paneProperties.horzGridProperties=e.chartProperties.paneProperties.horzGridProperties||(0,ee.clone)(e.chartProperties.paneProperties.gridProperties),"backgroundType"in e.chartProperties.paneProperties||(e.chartProperties.paneProperties.backgroundType=dt.ColorType.Solid),"separatorColor"in e.chartProperties.paneProperties||(e.chartProperties.paneProperties.separatorColor=(0,c.getThemedColor)("color-chart-page-bg")),this._properties.childs().paneProperties.mergeAndFire(e.chartProperties.paneProperties),this._properties.childs().scalesProperties.mergeAndFire(i),e.chartProperties.timezone&&this._properties.childs().timezone.setValue(e.chartProperties.timezone),e.chartProperties.chartEventsSourceProperties&&this._properties.hasChild("chartEventsSourceProperties")&&this._properties.childs().chartEventsSourceProperties.mergeAndFire(e.chartProperties.chartEventsSourceProperties),e.chartProperties.tradingProperties&&this._properties.hasChild("tradingProperties")&&(void 0===e.chartProperties.tradingProperties.horizontalAlignment&&(e.chartProperties.tradingProperties.horizontalAlignment=(r=e.chartProperties.tradingProperties.lineLength)<=40?_.TradingSourcesHorizontalAlignment.Right:r>=60?_.TradingSourcesHorizontalAlignment.Left:_.TradingSourcesHorizontalAlignment.Center),this._properties.childs().tradingProperties.mergeAndFire(e.chartProperties.tradingProperties)),this._timeScale.restoreState(e.timeScale,t),this._updateDateTimeFormatter()}var r;if(e.timeScale&&this._timeScale.restoreState(e.timeScale,t),!this.readOnly()){const t=this._getExceedingChildStudies(e.panes);if(t.length){for(let i=e.panes.length-1;i>=0;--i){const s=e.panes[i];for(let e=s.sources.length-1;e>=0;--e){const i=s.sources[e];~t.indexOf(i)&&s.sources.splice(e,1)}s.sources.length||e.panes.splice(i,1)}0}}const n=e.version||0,o=e.panes +;this.panes()[0].restoreState(o[0],t,n,s,i,!0);let a=1;for(let r=1;rd&&h%100==0?{lines_limit_exceeded:!0,line_tools_count:h}:(this.panes().forEach(e=>this._dataSourceCollectionChanged.fire(e)),this._lineToolsGroupModel.fireChangedAll(),{})}shouldBeSavedEvenIfHidden(){return this._shouldBeSavedEvenIfHidden}setShouldBeSavedEvenIfHidden(e){this._shouldBeSavedEvenIfHidden=e}externalTimeStamp(e){const t=this.mainSeries().syncModel();return this.timeScale().points().roughTime(e,t&&t.projectTime.bind(t))}syncESD(){null!==this._esdWatcher&&this._esdWatcher.syncESDStudies()}recalcVisibleRangeStudies(e){this._recalcVRStudiesParams.force=this._recalcVRStudiesParams.force||Boolean(e),this._recalcVisibleRangeStudiesImplDebounced()}recalcColorStudies(e){this._recalcColorStudiesParams.force=this._recalcColorStudiesParams.force||Boolean(e),this._recalcColorStudiesImplDebounced()}alertsWatcher(){return this._alertsWatcher}showLegend(){return this._showLegendProperty}id(){return this._id}recalculatePriceRangeOnce(){const e=this.mainSeries();for(const t of this._panes)for(const i of t.priceDataSources())i.symbolSource()===e&&i.disablePriceRangeReady()}invalidate(e){var t;null===(t=this._invalidateHandler)||void 0===t||t.call(this,e)}appliedTimeFrame(){return this._appliedTimeFrame.appliedTimeFrame()}barsMarksSources(){return this._barsMarksSources}barMarksSourceForId(e){for(const t of this._barsMarksSources)if(t.id()===e)return t;return null}createSyncPoint(e,t){return(0,Ii.getDefault2Lazy)(this._syncPointCache,e.uniqueId,t.uniqueId,()=>new at(e,t))}isAutoSaveEnabled(){return this._isAutoSaveEnabled}studyAwareDefaultRightOffset(){return Math.max(this._timeScale.defaultRightOffset().value(),this._cachedStudiesMaxOffset)}clearAllStudies(){this.dataSources().forEach(e=>{var t;return null===(t=e.clearData)||void 0===t?void 0:t.call(e)})}_updateStudiesMaxOffset(){const e=Math.max(...this.allStudies().map(e=>e.maxOffset().value()));this._cachedStudiesMaxOffset=e;const t=this._timeScale.rightOffset();t<0||this._timeScale.setRightOffset(Math.max(t,e))}_updateBaseIndex(e,t){const i=this._timeScale,s=i.baseIndex(),r=i.visibleBarsStrictRange(),n=i.logicalRange();if(null!==n&&t){ +const t=n.contains(s),o=e-s;let a=t?null:i.rightOffset()-o;if(!this._options.shiftVisibleRangeOnNewBar&&t){const e=i.indexToCoordinate(s)+i.barSpacing()/2+1,t=s-n.left()+o,l=e/t;if(l>=i.minBarSpacing()){i.setBarSpacing(l);a=i.width()/l-t}else(null==r?void 0:r.lastBar())!==s&&(a=i.rightOffset()-o)}null!==a&&i.setRightOffset(a)}i.setBaseIndex(e)}_createESDWatcher(){}_updateDateTimeFormatter(){const e=Je.dateFormatProperty.value(),t=new Ze.DateFormatter(e);if(this._dateFormatter=t,this.mainSeries().isDWM())this._dateTimeFormatter=t,this._timeFormatter=new Qe.TimeFormatter("%h:%m");else{const t=C.Interval.parse(this.mainSeries().interval()),i=t.isSeconds()||t.isTicks()?"%h:%m:%s":"%h:%m";this._dateTimeFormatter=new Xe.DateTimeFormatter({dateFormat:e,timeFormat:i,dateTimeSeparator:" "}),this._timeFormatter=new Qe.TimeFormatter(i)}}_setScalesResetAvailable(e){this._isScalesResetAvailable!==e&&(this._isScalesResetAvailable=e,this._isScalesResetAvailableChanged.fire())}_invalidationMaskForSource(e,t=q.InvalidationLevel.Light){if(e===this.crossHairSource())return q.InvalidationMask.cursor();if(this._watermarkSource===e)return this._paneInvalidationMask((0,r.ensureNotNull)(this.paneForSource(this.mainSeries())),t);if(-1!==this._allCustomSources.indexOf(e)){const e=new q.InvalidationMask;return e.invalidateAll(t),e}if(!(0,m.isDataSource)(e))return null;if(e.isMultiPaneEnabled())return new q.InvalidationMask(t);const i=this.paneForSource(e);return null!==i?this._paneInvalidationMask(i,t):null}_paneInvalidationMask(e,t=q.InvalidationLevel.Light){const i=new q.InvalidationMask,s=this._panes.indexOf(e);return i.invalidateAllPane(s,t),i}_invalidationMaskForSourcePriceScale(e,t=q.InvalidationLevel.Light){if(!(0,m.isDataSource)(e))return new q.InvalidationMask(t);const i=this.paneForSource(e);if(null===i)return null;let s=e.priceScale();if(null===s)return null;const r=this._panes.indexOf(i);let n=i.priceScalePosition(s);if("overlay"===n){const e=this._panes[r].defaultPriceScale();s=e,n=i.priceScalePosition(e)}const o=i.priceScaleIndex(s,n);if(void 0===o)return null;const a=new q.InvalidationMask;return a.invalidatePriceScale(r,n,o,t),a}_removeCustomSource(e){const t=this._customSourcesMap.get(e);if(void 0===t)return void Ai.logWarn(`Attempt to remove custom source which does not exist in the model - "${e}"`);Ai.logNormal(`Removing custom source "${e}"`),this.selectionMacro(e=>{e.removeSourceFromSelection(t)}),this._hoveredSource===t&&this.setHoveredSource(null),this._customSourceBeingMoved===t&&this.setMovingCustomSource(null,null);const i=Ei(this._bgCustomSources,t),s=Ei(this._fgCustomSources,t),n=Ei(this._topmostCustomSources,t),o=Ei(this._allCustomSources,t);(0,r.assert)(i||s||n,"Source should be presented in one of the layers"),(0,r.assert)(o,"Source should be presented in the array"),this._customSourcesMap.delete(e),t.destroy()}_updateShowLegendProperty(){const e=this._properties.childs().paneProperties.childs().legendProperties.childs().showLegend,t=this._showLegendProperty;if(e.value())t.setValue(!0);else{ +for(const e of this._panes){let i=0;for(const s of e.priceDataSources())if(s!==this.mainSeries()&&null!==s.statusView()&&(i++,i>1))return void t.setValue(!1)}t.setValue(!0)}}_pointToPercentPosition(e,t){return{x:e.x/this._timeScale.width(),y:e.y/(0,r.ensureNotNull)((0,r.ensureNotNull)(t.mainDataSource()).priceScale()).height()}}_percentPositionToPoint(e,t){const i=e.x*this._timeScale.width(),s=e.y*(0,r.ensureNotNull)((0,r.ensureNotNull)(t.mainDataSource()).priceScale()).height();return new n.Point(i,s)}_recalcVisibleRangeStudiesImpl(e){var t,i,s;if(e.timerId=null,this.timeScale().isEmpty())return;const r=this.timeScale().visibleBarsStrictRange();if(null===r)return;const n=this.mainSeries().bars(),o=n.search(r.firstBar(),ft.PlotRowSearchMode.NearestRight),a=n.search(r.lastBar(),ft.PlotRowSearchMode.NearestLeft),l=n.lastIndex(),c=o?o.index:void 0,h=a?a.index:void 0,d=c===e.oldStartVisibleIndex,u=h===e.oldEndVisibleIndex;if(d&&u&&!e.force)return;e.force=!1,e.oldStartVisibleIndex=void 0!==c?c:NaN,e.oldEndVisibleIndex=void 0!==h?h:NaN;const p={first_visible_bar_time:1e3*(null!==(t=null==o?void 0:o.value[0])&&void 0!==t?t:0),last_visible_bar_time:1e3*(null!==(i=null==a?void 0:a.value[0])&&void 0!==i?i:0),subscribeRealtime:(null==a?void 0:a.index)===l},_=null!==(s=e.studies)&&void 0!==s?s:this.priceDataSources();e.studies=void 0;for(const e of _)if((0,H.isStudy)(e)){const t=e.metaInfo().inputs,i=[];for(const e of t)p.hasOwnProperty(e.id)&&i.push(e.id);const s=e.properties().inputs;for(const e of i)s[e].setValueSilently(p[e]);i.length>0&&s.listeners().fire(s)}}_recalcColorStudiesImpl(e){var t;e.timerId=null;const i=this.backgroundColorAtYPercentFromTop(.5),s=this.isDark()?a.colorsPalette["color-cold-gray-200"]:a.colorsPalette["color-cold-gray-900"],r=i===e.oldBgColor,n=s===e.oldFgColor;if(r&&n&&!e.force)return;e.force=!1,e.oldBgColor=i,e.oldFgColor=s;const o={__chart_bgcolor:i,__chart_fgcolor:s},l=null!==(t=e.studies)&&void 0!==t?t:this.priceDataSources();e.studies=void 0;for(const e of l)if((0,H.isStudy)(e)){const t=e.metaInfo().inputs,i=[];for(const e of t)o.hasOwnProperty(e.id)&&i.push(e.id);const s=e.properties().inputs;for(const e of i)s[e].setValueSilently(o[e]);i.length>0&&s.listeners().fire(s)}}_getAllSources(e){const t=[];for(const i of this._panes){const s=i.sourcesByGroup().all();for(const i of s)e(i)&&t.push(i)}return t}_invalidateBarColorerCaches(){this.mainSeries().invalidateBarColorerCache()}_updateTimeScale(e){var t,i;const{index:s,zoffset:r,values:n,indexDiffs:o,baseIndex:a,marks:l,clearFlag:c}=e;if(c){this._timeScale.reset();for(const e of this.dataSources())null===(t=e.clearData)||void 0===t||t.call(e)}if(o.length>0)for(const e of this.dataSources())null===(i=e.moveData)||void 0===i||i.call(e,o);const h=this._timeScale.indexToTimePoint(this._timeScale.baseIndex()),d=this._timeScale.canNormalize();this._timeScale.update(s,r,n,l);let u="ChartModel.prototype._updateTimeScale("+s+","+r+","+n.length+","+o.length+","+l.length+","+c+")" +;if(u+="TimeScale: {first:"+this._timeScale.points().firstIndex()+",last:"+this._timeScale.points().lastIndex()+"}",null===a){this._timeScale.resetBaseIndex();const e=this._timeScale.rightOffset();e<0?this._timeScale.setRightOffset(this.studyAwareDefaultRightOffset()):this._timeScale.setRightOffset(Math.max(e,this._cachedStudiesMaxOffset))}else if(void 0!==a){const e=this._timeScale.indexToTimePoint(a),t=null!==h&&null!==e&&e>h;this._updateBaseIndex(a,t)}if(Ai.logDebug(u),!d&&d!==this._timeScale.canNormalize())for(const e of this.dataSources())!(0,f.isLineTool)(e)||e.isFixed()||e.isSourceHidden()||e.processHibernate();this.recalculateAllPanes((0,O.globalChangeEvent)()),this.lightUpdate()}_getAvailableCurrencies(){return!this.currencyConversionEnabled()||this.isSnapshot()?[]:(0,ee.isArray)(this._availableCurrenciesList)?this._availableCurrenciesList:(null!==this._availableCurrenciesList||(this._availableCurrenciesList=this.chartApi().availableCurrencies(),this._availableCurrenciesList.then(e=>{this._destroyed||(this._availableCurrenciesList=e,this.fullUpdate())}).catch(e=>{Ai.logWarn("An error occurred while getting currencies config: "+e)})),[])}_getAvailableUnits(){return!this.unitConversionEnabled()||this.isSnapshot()?{}:this._availableUnitsObject instanceof Promise||null===this._availableUnitsObject?(null!==this._availableUnitsObject||(this._availableUnitsObject=this.chartApi().availableUnits(),this._availableUnitsObject.then(e=>{this._destroyed||(this._availableUnitsObject=e,this.fullUpdate())}).catch(e=>{Ai.logWarn("An error occurred while getting units config: "+e)})),{}):this._availableUnitsObject}_getBackgroundColor(e){const t=this._properties.childs().paneProperties.childs();if(t.backgroundType.value()===dt.ColorType.Gradient){const i=t.backgroundGradientStartColor.value(),s=t.backgroundGradientEndColor.value();return e?i:s}return t.background.value()}_updateBackgroundColor(){this._backgroundColor.setValue(this._getBackgroundColor()),this._backgroundTopColor.setValue(this._getBackgroundColor(!0))}_syncCrosshair(e){if(!this._isSettingsExternalPosition){const t=this._undoModel.chartWidget(),i=this._undoModel.mainSeries(),s=i.syncModel(),r=this._undoModel.crossHairSource(),n=r.pane;if(null!==s&&null!==n){const o={timeStamp:this._timeScale.points().roughTime(r.index,s.projectTime.bind(s)),syncSourceTarget:s.syncSourceTarget()};n.mainDataSource()===i&&(o.price=r.price,o.symbol=i.symbol());let a=this._lineBeingCreated||null!==this._linePointBeingEdited||Boolean(this._sourcesBeingMoved.length);a=a&&(0,lt.drawOnAllCharts)().value(),t.chartWidgetCollection().syncCrosshair(o,t.id(),a,e)}this._phantomSourceContainer.onCursorPositionUpdated()}}_gotoTimeImpl(e,t){const i=this.timeScale(),s=this.mainSeries();let n;if(void 0!==e){if(this._scrollingState&&this._scrollingState.deferred.reject(),n=(0,d.createDeferredPromise)(),!s.isDWM()){const t=s.symbolInfo();if(null!==t){let i=this.properties().childs().timezone.value();"exchange"===i&&(i=t.timezone);const r=(0,it.cal_to_utc)((0,it.get_timezone)(i),new Date(e)),n=(0, +wt.createTimeToBarTimeAligner)(s.interval(),t)(r);e=(0,it.utc_to_cal)((0,it.get_timezone)(i),n).getTime()}}this._scrollingState={targetDate:e,deferred:n,centerIfVisible:t.centerIfVisible}}else{if(!this._scrollingState)return Ai.logError("scrollTo called without an argument"),Promise.reject();e=this._scrollingState.targetDate,n=this._scrollingState.deferred}if(void 0===i.tickMarks().minIndex)return n.resolve(void 0),n.promise;let o=((e,t)=>{if((e=>(0,r.ensureNotNull)(i.tickMarks().indexToTime((0,r.ensureDefined)(i.tickMarks().minIndex))).valueOf()-e)(t)<0){let n=i.tickMarks().nearestIndex(t);const o=s.bars().lastIndex();if(null===o)return null;n=Math.min(n,o);let a=(0,r.ensureNotNull)(i.tickMarks().indexToTime(n)).valueOf();for(;a1&&s.push(e)),n=(n+1)%t.length}return s}}},15943:(e,t,i)=>{"use strict";i.d(t,{japaneseChartStyles:()=>r,commonChartStyles:()=>n,allChartStyles:()=>o});var s=i(67337);function r(){return s.enabled("japanese_chart_styles"),[8]}function n(){const e=[0,1,9,13,2,3,10];return s.enabled("chart_style_hilo")&&e.push(12),e}function o(){return n().concat(r())}},97205:(e,t,i)=>{"use strict";i.d(t,{ChartUndoModelBase:()=>Hi});var s=i(85459),r=i.n(s),n=i(16230),o=i(88537),a=i(86441),l=i(28353),c=i(68587),h=i(65645),d=i(67072),u=i.n(d),p=i(44556),_=i(94578),m=i(14291),g=i(59199),f=i(9423),v=i(51768),S=i(13795),y=i(67337),b=i(46627),w=i(81851),C=i(24980),P=i(80643),T=i(98125);const x=new C.TranslatedString("move all scales to left",(0,l.t)("move all scales to left")),I=new C.TranslatedString("move all scales to right",(0,l.t)("move all scales to right")),M=(0, +T.getLogger)("Chart.MergeAllScales");var L=i(35762);class A extends L.UndoCommand{constructor(e,t,i,s,r,n){super(n),this._model=e,this._paneIndex=e.panes().indexOf(t),this._targetPosition=s,this._targetIndex=r,this._scaleId=i.id(),this._sourcePosition=t.priceScalePosition(i),"overlay"!==this._sourcePosition&&(this._sourceIndex=t.priceScaleIndex(i,this._sourcePosition))}redo(){const e=this._model.panes()[this._paneIndex],t=(0,o.ensureNotNull)(e.getPriceScaleById(this._scaleId));e.movePriceScale(t,this._targetPosition,this._targetIndex),this._model.fullUpdate()}undo(){const e=this._model.panes()[this._paneIndex],t=(0,o.ensureNotNull)(e.getPriceScaleById(this._scaleId));e.movePriceScale(t,this._sourcePosition,this._sourceIndex),this._model.fullUpdate()}}class E extends L.UndoCommand{constructor(e,t,i,s){super(s),this._createdIds=[],this._model=e,this._withoutShift=i,this._origStates=t.map(e=>e.state(!0));const r=e.lineToolsGroupModel();this._origGroups=t.map(e=>{const t=r.groupForLineTool(e);return t&&t.id})}redo(){const e=this._model.lineToolsGroupModel(),t=this._origStates.map((t,i)=>{const s=(0,o.ensureNotNull)(this._model.dataSourceForId(t.id)),r=0===this._createdIds.length?void 0:(0,o.ensureDefined)(this._createdIds[i]),n=(0,m.cloneLineTool)(this._model,s,!this._withoutShift,r),a=(0,o.ensureNotNull)(s.priceScale());(0,o.ensureNotNull)(this._model.paneForSource(s)).addDataSource(n,a,!1);const l=this._origGroups[i];if(null!==l){const t=e.groupForId(l);t&&t.addLineTools([n])}return this._model.updateSource(n),n});0===this._createdIds.length&&(this._createdIds=t.map(e=>e.id())),this._model.selectionMacro(e=>{e.clearSelection(),t.forEach(t=>{e.addSourceToSelection(t)})}),this._model.setShouldBeSavedEvenIfHidden(!0)}undo(){const e=this._model.lineToolsGroupModel();this._createdIds.forEach(t=>{const i=(0,o.ensureNotNull)(this._model.dataSourceForId(t)),s=e.groupForLineTool(i);null!==s&&s.excludeLineTool(i),this._model.removeSource(i)})}newIds(){return this._createdIds}}var k=i(65284),D=i(79495);class V extends L.UndoCommand{constructor(e,t,i,s=!0){super(i,s),this._newStates=[],this._model=e,this._savedStates=t.map(e=>e.state(!1))}redo(){this._applyState(this._newStates)}undo(){0===this._newStates.length&&this.saveNewState(),this._applyState(this._savedStates)}saveNewState(){const e=this._savedStates.filter(P.notNull).map(e=>(0,o.ensureNotNull)(this._model.dataSourceForId(e.id)));this._newStates=e.map(e=>e.state(!1))}_applyState(e){for(const t of e)if(null!==t){const e=this._model.dataSourceForId(t.id);if(null!==e)if((0,w.isStudy)(e)){const i=t.state.inputs,s=e.properties().inputs;for(const e in i)s[e]&&s[e].setValue(i[e])}else this._model.restoreLineToolState(e,t,!0)}}}var B=i(36551),N=i(8597),R=i(59555),O=i(60870);const F=new C.TranslatedString("create {tool}",(0,l.t)("create {tool}"));class W extends L.UndoCommand{constructor(e,t,i,s,r=0,n){super(F.format({tool:new C.TranslatedString(i,O.lineToolsLocalizedNames[i])}),!1),this._lineId=null,this._lineState=null,this._model=e,this._paneIndex=e.panes().indexOf(t), +this._lineTool=i,this._ownerSourceId=s.id(),this._lineId=null!=n?n:null,this._drawOnAllChartsMode=r}startCreatingLine(e,t,i){var s;const r=this._model.panes()[this._paneIndex],n=this._model.dataSourceForId(this._ownerSourceId),o=this._model.createLineTool(r,e,this._lineTool,t,i,n,null!==(s=this._lineId)&&void 0!==s?s:void 0);return this._lineId=o.id(),!this._model.lineBeingCreated()}continueCreatingLine(e,t,i,s){const r=this._model.continueCreatingLine(e,t,i,s);return r&&this._model.setShouldBeSavedEvenIfHidden(!0),r}line(){return null===this._lineId?null:this._model.dataSourceForId(this._lineId)}undo(){const e=this.line();null!==e&&(this._lineState=e.state(!1),this._model.removeSource(e),this._lineId=null)}redo(){if(null===this._lineState)return;const e=this._model.restoreSource(!1,this._paneIndex,null,(0,o.ensureNotNull)(this._lineState),null);null!==e&&(this._lineId=e.id(),this._lineState=null,e.share(this._drawOnAllChartsMode))}drawOnAllCharts(){return 0!==this._drawOnAllChartsMode}}const H=new C.TranslatedString("bring {title} to front",(0,l.t)("bring {title} to front")),z=new C.TranslatedString("send {title} to back",(0,l.t)("send {title} to back")),U=new C.TranslatedString("insert {title} after {targetTitle}",(0,l.t)("insert {title} after {targetTitle}")),j=new C.TranslatedString("insert {title} before {targetTitle}",(0,l.t)("insert {title} before {targetTitle}")),G=new C.TranslatedString("send {title} backward",(0,l.t)("send {title} backward")),q=new C.TranslatedString("bring {title} forward",(0,l.t)("bring {title} forward")),Y=new C.TranslatedString("send group {title} backward",(0,l.t)("send group {title} backward")),K=new C.TranslatedString("bring group {title} forward",(0,l.t)("bring group {title} forward"));function $(e){return new C.TranslatedString(e.name(),e.title())}class X extends L.UndoCommand{constructor(e,t,i){super(i),this._sourcesByPanes=new Map,this._originalState=new Map,this._model=e,t.forEach(t=>{const i=(0,o.ensureNotNull)(e.paneForSource(t)),s=e.panes().indexOf(i),r=this._sourcesByPanes.get(s)||[];r.push(t.id()),this._sourcesByPanes.set(s,r)}),Array.from(this._sourcesByPanes.keys()).forEach(t=>{const i=e.panes()[t],s=new Map;i.sourcesByGroup().allIncludingHidden().forEach(e=>{s.set(e.id(),e.zorder())}),this._originalState.set(t,s)})}undo(){this._originalState.forEach((e,t)=>{const i=this._model.panes()[t],s=new Map;e.forEach((e,t)=>{const r=(0,o.ensureNotNull)(i.dataSourceForId(t));s.set(r,e)}),i.setZOrders(s)})}redo(){this._sourcesByPanes.forEach((e,t)=>{const i=this._model.panes()[t],s=e.map(e=>(0,o.ensureNotNull)(i.dataSourceForId(e)));this._paneOperation(i,s)})}}class Z extends X{constructor(e,t){super(e,t,H.format({title:$(t[0])}))}_paneOperation(e,t){e.bringToFront(t)}}class J extends X{constructor(e,t){super(e,t,z.format({title:$(t[0])}))}_paneOperation(e,t){e.sendToBack(t)}}class Q extends X{constructor(e,t,i,s){super(e,t,s),this._targetSource=i}_paneOperation(e,t){e.insertAfter(t,this._targetSource)}}class ee extends Q{constructor(e,t,i){super(e,t,i,U.format({title:$(t[0]), +targetTitle:$(i)}))}}class te extends X{constructor(e,t,i,s){super(e,t,s),this._targetSource=i}_paneOperation(e,t){e.insertBefore(t,this._targetSource)}}class ie extends te{constructor(e,t,i){super(e,t,i,j.format({title:$(t[0]),targetTitle:$(i)}))}}function se(e,t){const i=t[0],s=e.sourcesByGroup().all().filter(e=>e.zorder()e.zorder()>i.zorder());if(0===s.length)throw new Error("Cannot bring forward source that alreadt on back");let r=s[0];if((0,m.isLineTool)(r)){const t=e.model().lineToolsGroupModel().groupForLineTool(r);if(null!==t){const e=t.lineTools();r=e[e.length-1]}}return r}class oe extends Q{constructor(e,t,i){super(e,i,ne(t,i),q.format({title:$(i[0])}))}}function ae(e,t){return(0,o.ensureNotNull)(e.paneForSource(t.lineTools()[0]))}class le extends te{constructor(e,t){super(e,t.lineTools(),se(ae(e,t),t.lineTools()),Y.format({title:t.name()}))}}class ce extends Q{constructor(e,t){super(e,t.lineTools(),ne(ae(e,t),t.lineTools()),K.format({title:t.name()}))}}const he=new C.TranslatedString("rearrange panes",(0,l.t)("rearrange panes"));class de extends L.UndoCommand{constructor(e,t,i){super(he),this._chartModel=e,this._index=t,(0,P.isNumber)(i)?this._dstIndex=i:this._dstIndex="up"===i?t-1:t+1}redo(){this._checkIndices()&&this._chartModel.movePane(this._index,this._dstIndex)}undo(){this._checkIndices()&&this._chartModel.movePane(this._dstIndex,this._index)}_checkIndices(){const e=this._chartModel.panes().length;return this._index>=0&&this._index=0&&this._dstIndexe.id())}redo(){const e=(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId));this._model.lineToolsGroupModel().removeGroup(e)}undo(){const e=this._lineToolsIds.map(e=>this._model.dataSourceForId(e)),t=new Pe.LineToolsGroup(e,this._groupName,this._groupId);this._model.lineToolsGroupModel().addGroup(t)}}const xe=new C.TranslatedString("create line tools group",(0,l.t)("create line tools group"));class Ie extends L.UndoCommand{constructor(e,t){super(xe),this._groupId=null,this._model=e,this._sourcesIds=t.map(e=>e.id())}redo(){const e=this._sourcesIds.map(e=>this._model.dataSourceForId(e)),t=null===this._groupId?void 0:this._groupId;this._groupId=this._model.lineToolsGroupModel().createGroup(e,this._title,t).id}undo(){const e=(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId((0,o.ensureNotNull)(this._groupId))) +;this._model.lineToolsGroupModel().removeGroup(e)}createdGroupId(){return this._groupId}}const Me=new C.TranslatedString("add line tool(s) to group {group}",(0,l.t)("add line tool(s) to group {group}"));class Le extends L.UndoCommand{constructor(e,t,i){super(Me.format({group:t.name()})),this._model=e,this._groupId=t.id,this._lineToolsIds=i.map(e=>e.id())}redo(){const e=(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId)),t=this._lineToolsIds.map(e=>this._model.dataSourceForId(e));e.addLineTools(t)}undo(){const e=this._lineToolsIds.map(e=>this._model.dataSourceForId(e));(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId)).excludeLineTools(e)}}class Ae extends L.UndoCommand{constructor(e,t,i,s,r){super(i),this._targetObj=e,this._newValue=t,this._oldValue=this._targetObj.value(),this._model=s,r&&this.setCustomFlag("doesnt_affect_save",!0)}redo(){(0,_e.saveDefaultProperties)(!0),this._targetObj.setValue(this._newValue),(0,_e.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,ve.globalChangeEvent)()),this._model.lightUpdate()}undo(){(0,_e.saveDefaultProperties)(!0),this._targetObj.setValue(this._oldValue),(0,_e.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,ve.globalChangeEvent)()),this._model.lightUpdate()}}class Ee extends L.UndoCommand{constructor(e,t,i,s){super(s),this._chartModel=e,this._groupId=t.id,this._oldName=t.name(),this._newName=i}redo(){(0,o.ensureNotNull)(this._chartModel.lineToolsGroupModel().groupForId(this._groupId)).setName(this._newName)}undo(){(0,o.ensureNotNull)(this._chartModel.lineToolsGroupModel().groupForId(this._groupId)).setName(this._oldName)}}var ke=i(85733);const De=new C.TranslatedString("create line tools group from selection",(0,l.t)("create line tools group from selection")),Ve=new C.TranslatedString("removing line tools group {name}",(0,l.t)("removing line tools group {name}")),Be=new C.TranslatedString("add line tool {lineTool} to group {name}",(0,l.t)("add line tool {lineTool} to group {name}")),Ne=new C.TranslatedString("make group {group} visible",(0,l.t)("make group {group} visible")),Re=new C.TranslatedString("make group {group} invisible",(0,l.t)("make group {group} invisible")),Oe=new C.TranslatedString("lock group {group}",(0,l.t)("lock group {group}")),Fe=new C.TranslatedString("unlock group {group}",(0,l.t)("unlock group {group}")),We=new C.TranslatedString("rename group {group} to {newName}",(0,l.t)("rename group {group} to {newName}"));class He{constructor(e){this._lineToolsAffectChartInvalidation=new b.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1),this._environment=e}createGroupFromSelection(){const e=this._environment.model();(0,o.assert)(!e.selection().isEmpty(),"Cannot create group from empty selection");const t=(0,R.sortSources)(e.selection().lineDataSources());(0,o.assert)(t.length===e.selection().allSources().length,"A group could contain line tools only") +;const i=t.length>1||null!==this._environment.model().lineToolsGroupModel().groupForLineTool(t[0]),s=t.reduce((e,t)=>e.zorder()>t.zorder()?e:t,t[0]);let r=s;const n=e.lineToolsGroupModel().groupForLineTool(s);if(null!==n){const e=n.lineTools();r=e[e.length-1]}this._environment.beginUndoMacro(De,this._lineToolsAffectChartInvalidation.value());const a=new Map,l=new Set;t.forEach(t=>{const i=this._groupForLineTool(t);if(null===i)return;const s=a.get(i)||[];s.push(t),a.set(i,s);const r=(0,o.ensureNotNull)(e.paneForSource(t));l.add(r)}),(0,o.assert)(l.size<=1,"All selected sources should be on the same pane"),a.forEach((t,i)=>{const s=new D.ExcludeLineToolsFromGroupUndoCommand(e,i,t);this._environment.pushUndoCommand(s)});const c=new Ie(e,(0,R.sortSources)(t));if(this._environment.pushUndoCommand(c),i){const i=new ee(e,t,r);this._environment.pushUndoCommand(i)}this._environment.endUndoMacro();const h=(0,o.ensureNotNull)(c.createdGroupId());return(0,o.ensureNotNull)(e.lineToolsGroupModel().groupForId(h))}removeGroup(e){const t=this._environment.model(),i=e.lineTools();this._environment.beginUndoMacro(Ve.format({name:e.name()}),this._lineToolsAffectChartInvalidation.value());const s=new Te(t,e,null);this._environment.pushUndoCommand(s);const r=new k.RemoveSourcesCommand(t,i,null);this._environment.pushUndoCommand(r);const n=t.mainSeries().symbol();i.forEach(e=>{null!==e.linkKey().value()&&(0,ke.removeLineTool)({withUndo:!0,model:t,symbol:n,sourceTitle:new C.TranslatedString(e.name(),e.title()),lineToolState:e.state(!1),linkKey:(0,o.ensureNotNull)(e.linkKey().value())})}),this._environment.endUndoMacro()}groups(){return this._environment.model().lineToolsGroupModel().groups()}excludeLineToolFromGroup(e,t){const i=this._environment.model(),s=new D.ExcludeLineToolsFromGroupUndoCommand(i,e,[t]);s.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(s)}addLineToolToGroup(e,t){const i=this._environment.model(),s=i.lineToolsGroupModel().groupForLineTool(t);if(s===e)return;const r=Be.format({lineTool:new C.TranslatedString(t.name(),t.title()),name:e.name()});this._environment.beginUndoMacro(r,this._lineToolsAffectChartInvalidation.value()),null!==s&&this._environment.pushUndoCommand(new D.ExcludeLineToolsFromGroupUndoCommand(i,s,[t])),this._environment.pushUndoCommand(new Le(i,e,[t])),this._environment.endUndoMacro()}bringToFront(e){const t=this._environment.model(),i=new Z(t,e.lineTools());i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}sendToBack(e){const t=this._environment.model(),i=new J(t,e.lineTools());i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}bringForward(e){const t=this._environment.model(),i=new ce(t,e);i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()), +this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}sendBackward(e){const t=this._environment.model(),i=new le(t,e);i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}insertAfter(e,t){const i=this._environment.model();let s;if(t instanceof Pe.LineToolsGroup){const e=t.lineTools();s=e[e.length-1]}else s=t;const r=new ee(i,e.lineTools(),s);this._environment.pushUndoCommand(r),this._environment.emitEvent("changeZOrder",[e.lineTools()])}insertBefore(e,t){const i=this._environment.model();let s;if(t instanceof Pe.LineToolsGroup){s=t.lineTools()[0]}else s=t;const r=new ie(i,e.lineTools(),s);this._environment.pushUndoCommand(r),this._environment.emitEvent("changeZOrder",[e.lineTools()])}availableZOrderOperations(e){const t=this._environment.model(),i=e.lineTools(),s=i[0],r=i[i.length-1],n=(0,o.ensureNotNull)(t.paneForSource(i[0])).sourcesByGroup().allExceptSpecialSources(),a=n[0],l=n[n.length-1];return{bringForwardEnabled:r!==l,bringToFrontEnabled:r!==l,sendBackwardEnabled:s!==a,sendToBackEnabled:s!==a}}setGroupVisibility(e,t){const i=(t?Ne:Re).format({group:e.name()}),s=this._environment.model();this._environment.beginUndoMacro(i,this._lineToolsAffectChartInvalidation.value()),e.lineTools().forEach(e=>{const i=e.properties().visible,r=new Ae(i,t,null,s);this._environment.pushUndoCommand(r)}),this._environment.endUndoMacro()}setGroupLock(e,t){const i=(t?Oe:Fe).format({group:e.name()}),s=this._environment.model();this._environment.beginUndoMacro(i,this._lineToolsAffectChartInvalidation.value()),e.lineTools().forEach(e=>{const i=e.properties().frozen,r=new Ae(i,t,null,s);this._environment.pushUndoCommand(r)}),this._environment.endUndoMacro()}setGroupName(e,t){const i=this._environment.model(),s=We.format({group:e.name(),newName:t}),r=new Ee(i,e,t,s);r.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(r)}canBeGroupped(e){const t=this._environment.model();return new Set(e.map(e=>t.paneForSource(e))).size<=1}_groupForLineTool(e){return this._environment.model().lineToolsGroupModel().groups().find(t=>t.containsLineTool(e))||null}}var ze=i(58121),Ue=i(52546),je=i(50669),Ge=i(26161);const qe=new C.TranslatedString("apply study template {template}",(0,l.t)("apply study template {template}"));function Ye(e){for(const t of e.panes)for(const e of t.sources)if((0,je.isMainSeriesState)(e))return e.id;return null}class Ke extends L.UndoCommand{constructor(e,t,i){var s,r;super(qe.format({template:i})),this._newSymbolParams={},this._model=e,this._templateContent=function(e,t){const i=(0,ze.default)({},e),s=(0,o.ensureNotNull)(Ye(i));for(const e of i.panes){e.mainSourceId===s&&(e.mainSourceId=t);for(const i of e.sources)if(i.id===s){i.id=t;const r=e=>{const i=e.indexOf(s);-1!==i&&e.splice(i,1,t)};if(e.leftAxisesState&&e.rightAxisesState?(e.leftAxisesState.forEach(e=>r(e.sources)), +e.rightAxisesState.forEach(e=>r(e.sources))):(r(e.leftAxisSources),r(e.rightAxisSources)),e.overlayPriceScales){const i=e.overlayPriceScales[s];i&&(delete e.overlayPriceScales[s],e.overlayPriceScales[t]=i)}}else i.ownerSource===s&&(i.ownerSource=t)}return i}(t,e.mainSeries().id()),this._initialState=e.studyTemplate(!0,!0,!0);const n=e.mainSeries();t.symbol&&(this._newSymbolParams={symbol:t.symbol,currency:null!==(s=t.currency)&&void 0!==s?s:null,unit:null!==(r=t.unit)&&void 0!==r?r:null}),t.interval&&(this._newSymbolParams.interval=t.interval,this._newSymbolParams.style=(0,me.getChartStyleByResolution)(t.interval,n.style())),this._initialSymbolParams={symbol:n.symbol(),currency:n.currency(),unit:n.unit(),interval:n.interval(),style:n.style()},this._initialState=e.studyTemplate(),this._initialGroupsState=e.lineToolsGroupModel().state()}redo(){this._model.mainSeries().setSymbolParams(this._newSymbolParams);const e=this._merge(this._templateContent).filter(m.isLineTool);this._model.lineToolsGroupModel().removeLineTools(e);const t=this._model.mainSeries().properties();(0,me.preparePriceAxisProperties)(t),this._model.recalcVisibleRangeStudies(!0),this._model.setShouldBeSavedEvenIfHidden(!0)}undo(){this._model.mainSeries().setSymbolParams(this._initialSymbolParams),this._merge(this._initialState)}_merge(e){const t=e.version||0,i=this._model,s=i.mainSeries();(0,o.assert)(s.id()===Ye(e)),s.priceScale().properties().childs().lockScale.setValue(!1);const r=i.panes(),n=[];for(let e=r.length;e--;){const t=r[e],i=t.containsMainSeries(),s=t.dataSources();for(let e=s.length;e--;){const t=s[e];(!i||(0,w.isStudy)(t)&&t.isRemovedByStudyTemplates())&&n.push(t)}}i.resetDeferredStudies();const a=(0,Ue.closeSourcesSet)(i,n);for(let e=0;ee.zorder-t.zorder);for(let e=0;e-1,a=o?r[e]:i.createPane(e);o&&t<3&&(0,Ge.reorderDataSourcesStateZOrder)(n.sources),a.restoreState(n,!1,t),null!==a.mainDataSource()||i.removePane(a)}return i.syncESD(),s.priceScale().setMode({autoScale:!0}),i.startNotStartedStudies(),i.recalculateAllPanes((0,ve.globalChangeEvent)()),i.fullUpdate(),a}}var $e=i(79680);const Xe=(0,T.getLogger)("Chart.ChartUndoModel"),Ze=new C.TranslatedString("paste drawing",(0,l.t)("paste drawing"));class Je extends L.UndoCommand{constructor(e,t,i,s,r){super(Ze),this._needCopyToOtherCharts=!1,this._sourceState=null,this._model=e,this._clipboardData=t,this._paneIndex=this._model.panes().indexOf(i||(0,o.ensureNotNull)(this._model.paneForSource(this._model.mainSeries()))),this._pasteWithData=!!s,this._keepZIndex=!!r}redo(){const e=this._model.panes()[this._paneIndex],t=(0,o.ensureNotNull)(e.clipboardLineToolOwnerSource(this._clipboardData.source.id));null===this._sourceState&&(this._sourceState=this._getSourceState(t));const i=(0, +o.ensureNotNull)(e.restoreLineTool(this._sourceState,this._pasteWithData,this._keepZIndex));this._clipboardData.centeredOnChart&&i.centerPosition&&i.centerPosition();const s=(0,o.ensureNotNull)(t.priceScale());i.setOwnerSource(t),i.setPriceScale(s),s.addDataSource(i),(0,m.prepareLineToolPropertiesByOwnerSource)(i.properties(),t),i.calcIsActualSymbol(),i.restoreFixedPoint(),i.createServerPoints();const r=(0,$e.isActingAsSymbolSource)(t)||t.metaInfo().is_price_study;this._needCopyToOtherCharts=Boolean(r&&((0,ke.drawOnAllCharts)().value()||i.linkKey().value()&&i.isSynchronizable())),this._model.setShouldBeSavedEvenIfHidden(!0)}undo(){if(!this._sourceState)return void Xe.logError("This command was never executed - nothing to undo");const e=this.source();this._clipboardData.centeredOnChart&&(this._clipboardData.centeredOnChart=!1,this._sourceState.points=e.normalizedPoints()),this._model.removeSource(e)}source(){return(0,o.ensureNotNull)(this._model.dataSourceForId((0,o.ensureNotNull)(this._sourceState).id))}needCopyToOtherCharts(){return this._needCopyToOtherCharts}_getSourceState(e){const t=(0,P.clone)(this._clipboardData.source);delete t.state.symbol,null!=t.linkKey&&(t.linkKey=(0,f.randomHash)());const i=(0,o.ensureNotNull)(e.priceScale()),s=this._model,{symbol:r,currencyId:n,unitId:l}=this._clipboardData.source.state,c=(0,o.ensureNotNull)(e.symbolSource());let h=!1;!c.symbolSameAsCurrent(r)||(null!==n?n!==(0,me.symbolCurrency)(c.symbolInfo(),void 0,!0):c.isConvertedToOtherCurrency())||(null!==l?l!==(0,me.symbolUnit)(c.symbolInfo(),this._model.unitConversionEnabled()):c.isConvertedToOtherUnit())||((0,$e.isActingAsSymbolSource)(e)?h=!0:(0,w.isStudy)(e)&&(h=Boolean(e.metaInfo().is_price_study)));const d=e=>{const t=e.x*s.timeScale().width(),r=e.y*i.height()-40;return new a.Point(t,r)},u=(0,o.ensureNotNull)(e.firstValue());if(this._model.id()===this._clipboardData.modelId||!h)for(let e=0;e(0,v.trackEvent)("SOS","Apply SOS","Rebind SOS")),this._chartModel.setShouldBeSavedEvenIfHidden(!0),null!==this._paneState){(0,o.ensureNotNull)(this._chartModel.paneForSource(t)).restoreState(this._paneState,!1,this._chartModel.version()),this._paneState=null}}undo(){const e=(0,o.ensureNotNull)(this._chartModel.dataSourceForId((0,o.ensureNotNull)(this._studyId))),t=(0,o.ensureNotNull)(this._chartModel.paneForSource(e)).state();this._chartModel.removeSource(e)&&(this._paneState=t)}insertedStudy(){return this._chartModel.dataSourceForId((0,o.ensureNotNull)(this._studyId))}}var ut=i(59836),pt=i(88735),_t=i.n(pt),mt=i(79222),gt=i(69746);const ft=new C.TranslatedString("zoom",(0,l.t)("zoom"));class vt extends L.UndoCommand{constructor(e,t,i,s,r,n){super(ft),this._barSpacing=null,this._rightBarsOffset=null,this._leftBarsOffset=null,this._priceMode=null,this._model=e,this._startBar=t,this._endBar=i,this._startPrice=s,this._endPrice=r,this._pane=n}redo(){const e=(0,o.ensureNotNull)(this._model.timeScale().visibleBarsStrictRange());this._leftBarsOffset=e.firstBar()-this._startBar,this._rightBarsOffset=e.lastBar()-this._endBar,this._barSpacing=this._model.timeScale().barSpacing(),this._priceMode=this._pane.defaultPriceScale().mode(),this._model.zoomToViewport(this._startBar,this._endBar,this._startPrice,this._endPrice,this._pane)}undo(){const e=this._model.timeScale(),t=this._pane.defaultPriceScale(),i=(0,o.ensureNotNull)(e.visibleBarsStrictRange());e.setBarSpacing((0,o.ensureNotNull)(this._barSpacing)),e.zoomToBarsRange(i.firstBar()+(0,o.ensureNotNull)(this._leftBarsOffset),i.lastBar()+(0,o.ensureNotNull)(this._rightBarsOffset)),t.setMode((0,o.ensureNotNull)(this._priceMode)),t.recalculatePriceRange((0,o.ensureNotNull)(e.visibleBarsStrictRange())),this._model.recalculateAllPanes((0,ve.viewportChangeEvent)()),this._model.lightUpdate()}}const St=(0,T.getLogger)("Chart.ChartUndoModel"),yt=new C.TranslatedString("zoom",(0,l.t)("zoom"));class bt extends L.UndoCommand{constructor(e,t,i){super(yt),this._baseCmd=e,this._zoomStack=t,this._inOut=i}undo(){if(this._inOut){if(this._baseCmd!==this._zoomStack.head())return void St.logDebug("zoom stack inconsistency");this._baseCmd.undo(),this._zoomStack.pop()}else this._baseCmd.redo(),this._zoomStack.push(this._baseCmd)}redo(){if(this._inOut)this._baseCmd.redo(),this._zoomStack.push(this._baseCmd);else{if(this._baseCmd!==this._zoomStack.head())return void St.logDebug("zoom stack inconsistency");this._baseCmd.undo(),this._zoomStack.pop()}}}const wt=new C.TranslatedString("stop syncing drawing",(0,l.t)("stop syncing drawing"));class Ct extends L.UndoCommand{constructor(e,t){super(wt), +this._model=e,this._sourceId=t.id(),this._linkKey=t.linkKey().value()}redo(){(0,o.ensureNotNull)(this._model.dataSourceForId(this._sourceId)).linkKey().setValue(null)}undo(){(0,o.ensureNotNull)(this._model.dataSourceForId(this._sourceId)).linkKey().setValue(this._linkKey)}}const Pt=new C.TranslatedString("restore defaults",(0,l.t)("restore defaults"));class Tt extends L.UndoCommand{constructor(e,t,i=Pt){super(i),this._chartModel=e,this._defaultProperty=t,this._state=t.state()}redo(){this._chartModel.restoreFactoryDefaults(this._defaultProperty)}undo(){this._defaultProperty.mergeAndFire(this._state),this._chartModel.mainSeries().onChartStyleChanged()}}var xt=i(52418);class It extends Tt{redo(){this._defaultProperty.hasChild("intervalsVisibilities")&&this._defaultProperty.childs().intervalsVisibilities.mergeAndFire(xt.intervalsVisibilitiesDefaults),super.redo()}}class Mt extends It{redo(){super.redo(),this._chartModel.recalcColorStudies(!0)}undo(){super.undo(),this._chartModel.recalcColorStudies(!0)}}var Lt=i(36759),At=i(15840),Et=i(59803);function kt(e){const{visible:t,...i}=e;return i}function Dt(e){const{visible:t,...i}=e;return i}function Vt(e){const{drawWick:t,drawBorder:i,drawBody:s,barColorsOnPrevClose:r,...n}=e;return n}function Bt(e){const{drawWick:t,drawBorder:i,drawBody:s,...r}=e;return r}function Nt(e){const{drawWick:t,drawBorder:i,drawBody:s,showRealLastPrice:r,inputs:n,...o}=e;return o}function Rt(e){const{barColorsOnPrevClose:t,dontDrawOpen:i,thinBars:s,...r}=e;return r}function Ot(e){const{showBorders:t,showLabels:i,fontSize:s,drawBody:r,...n}=e;return n}function Ft(e){const{linestyle:t,linewidth:i,styleType:s,priceSource:r,...n}=e;return n}function Wt(e){const{linestyle:t,linewidth:i,priceSource:s,...r}=e;return r}function Ht(e){const{inputs:t,...i}=e;return i}function zt(e){const{inputs:t,...i}=e;return i}function Ut(e){const{inputs:t,...i}=e;return i}function jt(e){const{inputs:t,...i}=e;return i}function Gt(e){const{topLineWidth:t,bottomLineWidth:i,baseLevelPercentage:s,priceSource:r,...n}=e;return n}function qt(e){const{thinBars:t,inputs:i,...s}=e;return s}function Yt(e){const{visible:t,style:i,symbol:s,interval:r,sessionId:n,highLowAvgPrice:o,showCountdown:a,bidAsk:l,prePostMarket:c,priceAxisProperties:h,candleStyle:d,hollowCandleStyle:u,haStyle:p,barStyle:_,hiloStyle:m,lineStyle:g,areaStyle:f,renkoStyle:v,pbStyle:S,kagiStyle:y,pnfStyle:b,baselineStyle:w,rangeStyle:C,...P}=e;return{bidAsk:kt(l),prePostMarket:Dt(c),candleStyle:Vt(d),hollowCandleStyle:Bt(u),haStyle:Nt(p),barStyle:Rt(_),hiloStyle:Ot(m),lineStyle:Ft(g),areaStyle:Wt(f),renkoStyle:Ht(v),pbStyle:zt(S),kagiStyle:Ut(y),pnfStyle:jt(b),baselineStyle:Gt(w),rangeStyle:qt(C),...P}}function Kt(e){const{scaleSeriesOnly:t,showSeriesLastValue:i,showStudyLastValue:s,showSymbolLabels:r,showBidAskLabels:n,showPrePostMarketPriceLabel:o,showStudyPlotLabels:a,showFundamentalNameLabel:l,showFundamentalLastValue:c,seriesLastValueMode:h,...d}=e;return d}function $t(e){const{topMargin:t,bottomMargin:i,...s}=e;return s} +const Xt=new C.TranslatedString("apply chart theme",(0,l.t)("apply chart theme"));class Zt extends L.UndoCommand{constructor(e,t,i){var s,r,n;super(Xt),this._model=e,this._newSessionProps=t.sessions||(0,Et.factoryDefaults)("sessions"),["candleStyle","hollowCandleStyle","haStyle"].forEach(e=>{t.mainSourceProperties[e].wickUpColor=t.mainSourceProperties[e].wickUpColor||t.mainSourceProperties[e].wickColor,t.mainSourceProperties[e].wickDownColor=t.mainSourceProperties[e].wickDownColor||t.mainSourceProperties[e].wickColor}),t.chartProperties=null!==(s=t.chartProperties)&&void 0!==s?s:{paneProperties:void 0,scalesProperties:void 0},t.chartProperties.paneProperties.vertGridProperties=null!==(r=t.chartProperties.paneProperties.vertGridProperties)&&void 0!==r?r:t.chartProperties.paneProperties.gridProperties,t.chartProperties.paneProperties.horzGridProperties=null!==(n=t.chartProperties.paneProperties.horzGridProperties)&&void 0!==n?n:t.chartProperties.paneProperties.gridProperties;const o=this._model.properties().state().paneProperties.legendProperties;delete o.backgroundTransparency,t.chartProperties.paneProperties.legendProperties={...t.chartProperties.paneProperties.legendProperties,...o};const a=(0,Et.factoryDefaults)("chartproperties"),l=(0,At.deepExtend)({},a,t.chartProperties);this._newChartProps={paneProperties:$t(l.paneProperties),scalesProperties:Kt(l.scalesProperties)},e.timeScale().preserveBarSpacing()&&delete this._newChartProps.scalesProperties.barSpacing;const c=(0,Et.factoryDefaults)("chartproperties.mainSeriesProperties"),h=(0,At.deepExtend)({},c,t.mainSourceProperties);this._newSeriesProps=i?h:Yt(h);const d=e.properties().state();this._oldChartProps={paneProperties:$t(d.paneProperties),scalesProperties:Kt(d.scalesProperties)};const u=e.mainSeries().properties().state();this._oldSeriesProps=i?u:Yt(u),this._oldSessionProps=this._model.sessions().properties().state()}undo(){this._merge(this._oldChartProps,this._oldSeriesProps,this._oldSessionProps),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),this._model.chartThemeLoaded()}redo(){this._merge(this._newChartProps,this._newSeriesProps,this._newSessionProps),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),this._model.chartThemeLoaded()}_merge(e,t,i){var s,r,n,o;const a=this._model;(0,_e.saveDefaultProperties)(!0),e&&(a.properties().childs().paneProperties.mergeAndFire(e.paneProperties),a.properties().childs().scalesProperties.mergeAndFire(e.scalesProperties)),"priceAxisProperties"in t&&a.mainSeries().priceScale().setMode({autoScale:null===(s=t.priceAxisProperties)||void 0===s?void 0:s.autoScale,percentage:null===(r=t.priceAxisProperties)||void 0===r?void 0:r.percentage,log:null===(n=t.priceAxisProperties)||void 0===n?void 0:n.log,lockScale:null===(o=t.priceAxisProperties)||void 0===o?void 0:o.lockScale}),a.mainSeries().properties().mergeAndFire(t),a.mainSeries().properties().saveDefaults(),a.mainSeries().createPaneView(),a.mainSeries().invalidateBarStylesCache(),a.recalculateAllPanes((0, +ve.globalChangeEvent)()),a.fullUpdate(),a.properties().saveDefaults(),a.sessions().restoreState({properties:i},!1),(0,_e.saveDefaultProperties)(!1)}}const Jt=new C.TranslatedString("change resolution",(0,l.t)("change resolution"));class Qt extends L.UndoCommand{constructor(e,t,i){let s;super(Jt),this._sourceId=e.id();const r=(0,me.isRangeStyle)(e.style()),n=be.Interval.isRange(t);!r&&n?s=11:r&&!n&&(s=(0,me.getLastUsedStyle)()),this._newSymbolParams={interval:t,style:s},this._prevSymbolParams={symbol:e.symbol(),currency:e.currency(),unit:e.unit(),interval:e.interval(),style:e.style()},this._chartWidget=i}redo(){this._chartWidget.screen.show();this._symbolSource().setSymbolParams(this._newSymbolParams)}undo(){this._chartWidget.screen.show();this._symbolSource().setSymbolParams(this._prevSymbolParams)}_symbolSource(){return(0,o.ensureNotNull)(this._chartWidget.model().model().dataSourceForId(this._sourceId))}}var ei=i(76422);const ti=new C.TranslatedString("send {title} backward",(0,l.t)("send {title} backward")),ii=new C.TranslatedString("bring {title} forward",(0,l.t)("bring {title} forward")),si=new C.TranslatedString("insert {title} after {target}",(0,l.t)("insert {title} after {target}")),ri=new C.TranslatedString("insert {title} before {target}",(0,l.t)("insert {title} before {target}")),ni=new C.TranslatedString("cut {title}",(0,l.t)("cut {title}")),oi=new C.TranslatedString("cut sources",(0,l.t)("cut sources")),ai=new C.TranslatedString("remove {title}",(0,l.t)("remove {title}")),li=new C.TranslatedString("remove drawings group",(0,l.t)("remove drawings group")),ci=new C.TranslatedString("move scale",(0,l.t)("move scale")),hi=new C.TranslatedString("stop syncing line tool(s)",(0,l.t)("stop syncing line tool(s)")),di=new C.TranslatedString("zoom out",(0,l.t)("zoom out")),ui=new C.TranslatedString("zoom in",(0,l.t)("zoom in")),pi=new C.TranslatedString("move drawing(s)",(0,l.t)("move drawing(s)")),_i=new C.TranslatedString("load default drawing template",(0,l.t)("load default drawing template")),mi=new C.TranslatedString("change currency",(0,l.t)("change currency")),gi=new C.TranslatedString("change unit",(0,l.t)("change unit")),fi=new C.TranslatedString("clone line tools",(0,l.t)("clone line tools")),vi=new C.TranslatedString("merge up",(0,l.t)("merge up")),Si=new C.TranslatedString("merge down",(0,l.t)("merge down")),yi=new C.TranslatedString("merge to pane",(0,l.t)("merge to pane")),bi=new C.TranslatedString("unmerge up",(0,l.t)("unmerge up")),wi=new C.TranslatedString("unmerge down",(0,l.t)("unmerge down")),Ci=new C.TranslatedString("unmerge to new bottom pane",(0,l.t)("unmerge to new bottom pane")),Pi=new C.TranslatedString("move {title} to new right scale",(0,l.t)("move {title} to new right scale")),Ti=new C.TranslatedString("move {title} to new left scale",(0,l.t)("move {title} to new left scale")),xi=new C.TranslatedString("make {title} no scale (Full screen)",(0,l.t)("make {title} no scale (Full screen)")),Ii=new C.TranslatedString("scroll time",(0, +l.t)("scroll time")),Mi=new C.TranslatedString("scale time",(0,l.t)("scale time")),Li=new C.TranslatedString("reset time scale",(0,l.t)("reset time scale")),Ai=new C.TranslatedString("reset scales",(0,l.t)("reset scales")),Ei=new C.TranslatedString("create {tool}",(0,l.t)("create {tool}")),ki=new C.TranslatedString("change {pointIndex} point",(0,l.t)("change {pointIndex} point")),Di=new C.TranslatedString("paste {title}",(0,l.t)("paste {title}")),Vi=new C.TranslatedString("insert {title}",(0,l.t)("insert {title}")),Bi=new C.TranslatedString("remove all studies",(0,l.t)("remove all studies")),Ni=new C.TranslatedString("remove drawings",(0,l.t)("remove drawings")),Ri=new C.TranslatedString("remove all studies and drawing tools",(0,l.t)("remove all studies and drawing tools"));new C.TranslatedString("turn line tools sharing off",(0,l.t)("turn line tools sharing off")),new C.TranslatedString("share line tools in layout",(0,l.t)("share line tools in layout")),new C.TranslatedString("share line tools globally",(0,l.t)("share line tools globally"));function Oi(e,t){return{bringForwardEnabled:e.bringForwardEnabled||t.bringForwardEnabled,bringToFrontEnabled:e.bringToFrontEnabled||t.bringToFrontEnabled,sendBackwardEnabled:e.sendBackwardEnabled||t.sendBackwardEnabled,sendToBackEnabled:e.sendToBackEnabled||t.sendToBackEnabled}}function Fi(e){return new C.TranslatedString(e.name(),e.title())}function Wi(){return(0,ke.drawOnAllCharts)().value()?1:0}class Hi extends(r()){constructor(e,t,i,s,r,n,o,a,l,c,h){super(),this._createLineCommand=null,this._initialTimeScrollState=null,this._initialTimeScrollPos=null,this._scalePriceInfo=null,this._currentSourceMoveCommand=null,this._currentLineChangeCommand=null,this._currentCustomMoveCommand=null,this._zoomStack=new p.UndoStack,this._lineToolsDoNotAffectChartInvalidation=new b.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1),this._chartWidget=n,this.m_model=new(_t())(e,t,i,s,r,this,a,l,c,h),this._undoHistory=o,this._lineToolsGroupController=new He({model:this._model.bind(this),pushUndoCommand:this._pushUndoCommand.bind(this),beginUndoMacro:(e,t)=>{this._undoHistory.beginUndoMacro(e).setCustomFlag("doesnt_affect_save",!!t)},endUndoMacro:this._undoHistory.endUndoMacro.bind(this._undoHistory),emitEvent:this.emitEvent.bind(this)})}undoHistory(){return this._undoHistory}setWatchedValue(e,t,i){this._undoHistory.setWatchedValue(e,t,i)}lineToolsGroupController(){return this._lineToolsGroupController}mergeAllScales(e){!function(e,t){e.beginUndoMacro("left"===t?x:I),e.model().panes().forEach(i=>{const s="left"===t?i.rightPriceScales():i.leftPriceScales(),r=("left"===t?i.leftPriceScales():i.rightPriceScales()).concat(s),n="overlay"===i.priceScalePosition(i.defaultPriceScale())?r[0]:i.defaultPriceScale();e.movePriceScale(i,n,t,0),r.forEach(t=>{if(t===n)return;let s=t.mainSource();for(;null!==s;){e.moveToScale(s,i,n,null,!0);const r=t.mainSource();if(r===s){M.logError("Loop detected while trying to merge scales");break}s=r}})}),e.endUndoMacro(),e.model().fullUpdate() +}(this,e)}movePriceScale(e,t,i,s){const r=new A(this._model(),e,t,i,s,ci);this._pushUndoCommand(r)}createLineTool({pane:e,point:t,linetool:i,properties:s,linkKey:r,ownerSource:n,disableSynchronization:a,sharingMode:l=Wi(),id:c}){if(("LineToolRegressionTrend"===i||"LineToolAnchoredVWAP"===i)&&!this.canCreateStudy())return(0,h.showTooManyStudiesNotice)(),null;const d=Ei.format({tool:new C.TranslatedString(i,O.lineToolsLocalizedNames[i])});this.beginUndoMacro(d,this._lineToolsDoNotAffectChartInvalidation.value());const u=!a;this._createLineCommand=new W(this._model(),e,i,n||(0,o.ensureNotNull)(e.mainDataSource()),l,c);const p=this._createLineCommand.startCreatingLine(t,s,r||null),_=(0,o.ensureNotNull)(this._createLineCommand.line());let m=null;if(p&&(u&&this.finishLineTool(_),this._pushUndoCommand(this._createLineCommand),this._createLineCommand=null,m={points:_.normalizedPoints(),interval:this.mainSeries().interval()}),u&&void 0===r&&(0,ke.drawOnAllCharts)().value()&&_.isSynchronizable()){const e=(0,o.ensureNotNull)(this.model().externalTimeStamp(t.index)),s={point:{price:t.price,timeStamp:e},linetool:i,properties:_.properties(),symbol:this.mainSeries().symbol(),model:this.model(),linkKey:(0,o.ensureNotNull)(_.linkKey().value()),finalState:m,id:_.id()};_.isFixed()&&(s.pointPositionPercents=_.calcPositionPercents()),(0,ke.createLineTool)(s)}return this.endUndoMacro(),_}continueCreatingLine(e,t,i,s){const r=(0,o.ensureNotNull)(this._createLineCommand);this.beginUndoMacro(r.text(),this._lineToolsDoNotAffectChartInvalidation.value());const n=(0,o.ensureNotNull)(this._model().lineBeingCreated()),a=r.continueCreatingLine(e,t,i,s);let l=null;if(a&&(this.finishLineTool(n),this._pushUndoCommand(r),this._createLineCommand=null,l={points:n.normalizedPoints(),interval:this.mainSeries().interval()}),r.drawOnAllCharts()&&n.isSynchronizable()){const i=(0,o.ensureNotNull)(this._model().externalTimeStamp(e.index));(0,ke.continueLineTool)({point:{price:e.price,timeStamp:i},envState:t,finalState:l,model:this._model()})}return this.endUndoMacro(),a}continueExternalLine(e,t,i){const s=(0,o.ensureNotNull)(this._createLineCommand),r=s.continueCreatingLine(e,t,i);return r&&(this._pushUndoCommand(s),this._createLineCommand=null),r}finishLineTool(e){this._model().finishLineTool(e)}pasteImageAsLineTool(e,t,i,s){return null}loadRange(e){this._pushUndoCommand(new Ce(this._model(),e))}unlinkLines(e){const t=this.model();this.beginUndoMacro(hi,this._lineToolsDoNotAffectChartInvalidation.value());for(const i of e)null!==i.linkKey().value()&&(0,ke.removeLineTool)({withUndo:!0,model:this.model(),symbol:i.symbol(),linkKey:(0,o.ensureNotNull)(i.linkKey().value()),sourceTitle:Fi(i),lineToolState:i.state(!1),unlink:!0}),this._pushUndoCommand(new Ct(t,i));this.endUndoMacro()}zoomFromViewport(){const e=new bt((0,o.ensureDefined)(this._zoomStack.head()),this._zoomStack,!1);this._pushUndoCommand(e)}zoomToViewport(e,t,i,s,r){const n=new vt(this.m_model,e,t,i,s,r),o=new bt(n,this._zoomStack,!0);this._pushUndoCommand(o)}zoomStack(){return this._zoomStack} +hoveredSource(){return this.m_model.hoveredSource()}setProperty(e,t,i,s){if(e&&e.value()!==t){const r=new Ae(e,t,i,this.m_model,s);this._pushUndoCommand(r),this.emitEvent("setProperty")}}withMacro(e,t,i){const s=this.beginUndoMacro(e,i);try{t()}finally{this.endUndoMacro()}return s}barsMarksSources(){return this.m_model.barsMarksSources()}barMarksSourceForId(e){return this.m_model.barMarksSourceForId(e)}removeAllDrawingTools(){this.beginUndoMacro(Ni,!0),this._removeAllDrawingToolsImpl(),this.endUndoMacro()}removeAllStudiesAndDrawingTools(){this.beginUndoMacro(Ri),this._removeAllDrawingToolsImpl(),this._removeAllStudiesImpl(),this.endUndoMacro()}removeAllStudies(){this.beginUndoMacro(Bi),this._removeAllStudiesImpl(),this.endUndoMacro()}canZoomIn(){return this.model().canZoomIn()}canZoomOut(){return this.model().canZoomOut()}zoomOut(){const e=this.timeScale().width();if(this.canZoomOut()){try{this.beginUndoMacro(di)}catch(e){return}(0,g.doAnimate)({to:e/5,onStep:e=>{this.startScaleTime(0),this.scaleTimeTo(e),this.endScaleTime()},onComplete:()=>this.endUndoMacro()})}}zoomIn(){const e=this.timeScale().width();if(this.canZoomIn()){try{this.beginUndoMacro(ui)}catch(e){return}(0,g.doAnimate)({to:e/5,onStep:e=>{this.startScaleTime(e),this.scaleTimeTo(0),this.endScaleTime()},onComplete:()=>this.endUndoMacro()})}}startMovingSources(e,t,i,s){e.filter(e=>e.doesMovingAffectsUndo()).length&&(this._currentSourceMoveCommand=new V(this.model(),e,pi,!1),e.every(m.isLineTool)&&this._currentSourceMoveCommand.setCustomFlag("doesnt_affect_save",this._lineToolsDoNotAffectChartInvalidation.value())),this.model().startMovingSources(e,t,i,new Map,s)}moveSources(e,t){this.model().moveSources(e,new Map,t)}endMovingSource(e,t){this.model().endMovingSources(e,void 0,t),null!==this._currentSourceMoveCommand&&(this._currentSourceMoveCommand.saveNewState(),this._pushUndoCommand(this._currentSourceMoveCommand)),this._currentSourceMoveCommand=null}startChangingLinetool(e,t,i,s,r){this._currentLineChangeCommand=new V(this.model(),[e],ki.format({pointIndex:i}),!1),this._currentLineChangeCommand.setCustomFlag("doesnt_affect_save",this._lineToolsDoNotAffectChartInvalidation.value()),this.model().startChangingLinetool(e,t,i,s,r)}changeLinePoint(e,t){this.model().changeLinePoint(e,t)}endChangingLinetool(e){this.model().endChangingLinetool(e),null!==this._currentLineChangeCommand&&(this._currentLineChangeCommand.saveNewState(),this._pushUndoCommand(this._currentLineChangeCommand)),this._currentLineChangeCommand=null}setChartStyleProperty(e,t,i){if(e.value()!==t){const s=new Se(e,t,this.mainSeries(),i,this.model(),this.chartWidget());this._pushUndoCommand(s),this.emitEvent("setChartStyleProperty"),(0,pe.trackChartStyleChanged)(e.value())}}restorePropertiesForSource(e){(0,m.isLineTool)(e)?this._restoreLineToolFactoryDefaults(e):this._restoreStudyFactoryDefaults(e)}restoreState(e,t,i){return this.m_model.restoreState(e,t,i)}async clipboardCopy(e,t=this.selection().dataSources()){if(!(0,y.enabled)("datasource_copypaste"))return;const i=t.filter(e=>e.copiable()) +;if(0===i.length)return;for(const e of i)if((0,w.isStudy)(e)&&e.isChildStudy())throw new Error("Can not copy child study");const s=(0,_.clipboardDataForSources)(this._model().id(),i);return null!==s?e.write({app:JSON.stringify(s),text:s.title}):void 0}async clipboardCut(e,t=this.selection().dataSources()){if(!(0,y.enabled)("datasource_copypaste"))return;const i=t.filter(e=>e.copiable());if(0===i.length)return;await this.clipboardCopy(e,i);const s=i.filter(e=>e.isUserDeletable());if(0===s.length)return;const r=(1===s.length?ni:oi).format({title:Fi(s[0])});this.beginUndoMacro(r),this.m_model.selectionMacro(()=>{this.removeSources(s,!1,r)}),this.endUndoMacro()}async clipboardPaste(e,t){let i=null;if((0,y.enabled)("datasource_copypaste")&&(i=i||await e.read(),i.app)){const e=JSON.parse(i.app);if(null!==this.pasteSourceFromClip(t,e))return}await this._processSpecialLineToolsContents(e,i,t)}applyStudyTemplate(e,t){const i=new Ke(this._model(),e,t);this._pushUndoCommand(i)}startCustomMoving(e,t,i){this._currentCustomMoveCommand=new ht(this.model(),e,t,i)}customMoveBeingProcessed(){return null!==this._currentCustomMoveCommand}processCustomMove(e){(0,o.ensureNotNull)(this._currentCustomMoveCommand).move(e)}endCustomMoving(){null!==this._currentCustomMoveCommand&&this._currentCustomMoveCommand.hasChanges()&&(this._pushUndoCommand(this._currentCustomMoveCommand),this._currentCustomMoveCommand=null)}cloneLineTools(e,t){for(let t=0;t(0,o.ensureNotNull)(this.model().dataSourceForId(e)));this.copyToOtherCharts(e)}return this.endUndoMacro(),this.emitEvent("cloneLineTools"),i.newIds()}removeSource(e,t,i){this.lineBeingCreated()!==e?this.removeSources([e],t,ai.format({title:Fi(e)}),i):this.cancelCreatingLine()}removeSelectedSources(){const e=this._model().selection().dataSources();if(!e.length)return;const t=(e.length>1?li:ai).format({title:Fi(e[0])});this.removeSources(e,!1,t)}removeSources(e,t,i,s){s||(e=e.filter(e=>e.isUserDeletable()));const r=this._model(),n=r.lineToolsGroupModel(),a=e.every(m.isLineTool)&&this._lineToolsDoNotAffectChartInvalidation.value();this.beginUndoMacro(i,a),r.selectionMacro(s=>{const a=new Map;e.forEach(e=>{if((0,m.isLineTool)(e)){const t=n.groupForLineTool(e);if(null!==t){const i=a.get(t)||[];i.push(e),a.set(t,i)}null!==e.linkKey().value()&&(0,ke.removeLineTool)({withUndo:!0,model:this.model(),linkKey:(0,o.ensureNotNull)(e.linkKey().value()),symbol:this.model().mainSeries().symbol(),lineToolState:e.state(!1),sourceTitle:Fi(e)})}}),a.forEach((e,t)=>{const i=new D.ExcludeLineToolsFromGroupUndoCommand(r,t,e);this._pushUndoCommand(i)});const l=new k.RemoveSourcesCommand(r,e,i),c=l.removedIds();this._pushUndoCommand(l),!t&&c.length>0&&(1===c.length?this.emitEvent("removeSource",[c[0]]):this.emitEvent("removeSources",[c]))}),this.endUndoMacro()} +removeUnloadedLineTool({lineToolsSynchronizer:e,sourceTitle:t,linkKey:i,symbol:s,state:r,withUndo:n,unlink:o}){}async scrollToLineTool(e){const t=this.timeScale().logicalRange();if(null===t)return;const i=this.timeScale().barSpacing();let s=t.left();const r=e.points().map(e=>e.index);let n=this.timeScale().points().firstIndex();const a=this.timeScale().points().lastIndex();if(null===n||null===a)return;const l=t.length()/2;if(0===r.length||r.some(e=>t.contains(e)))return;const h=()=>{const t=e.points().map(e=>e.index),i=t.filter(e=>e<=a).reduce((e,t)=>null===e?t:Math.max(e,t),null);return null!==i?i:t.reduce((e,t)=>Math.min(e,t))};let d,u=h();if(n-l>u){const t=e.points().map(e=>e.time).filter(P.notUndefined).map(e=>e.valueOf()/1e3);if(0===t.length)return;const i=t.reduce((e,t)=>Math.min(e,t),t[0]);await this.model().gotoTime(i),u=h();s=(0,o.ensureNotNull)(this.timeScale().logicalRange()).left(),n=(0,o.ensureNotNull)(this.timeScale().points().firstIndex())}n-l>u?(d=(s-n+l)*i,this.mainSeries().setGotoDateResult({timestamp:(0,o.ensureNotNull)(this.timeScale().points().valueAt(n)),eod:!0})):d=(s-u+1+l)*i,this.startScrollTime(0),(0,g.doAnimate)({onStep:(e,t)=>this.scrollTimeTo(t),from:0,to:Math.round(d),easing:c.easingFunc.easeInOutCubic,duration:c.dur,onComplete:()=>this.endScrollTime()})}mergeSourceUp(e){const t=new N.MergeUpUndoCommand(this._model(),e,vi);this._mergeUnmergeSource(e,t)}mergeSourceDown(e){const t=new N.MergeDownUndoCommand(this._model(),e,Si);this._mergeUnmergeSource(e,t)}mergeToPane(e,t){const i=this._model().panes().indexOf(t),s=new N.MergeToTargetPane(this._model(),e,i,yi);this._mergeUnmergeSource(e,s)}unmergeSourceUp(e){const t=new B.UnmergeUpUndoCommand(this._model(),e,bi);this._mergeUnmergeSource(e,t)}unmergeSourceDown(e){const t=new B.UnmergeDownUndoCommand(this._model(),e,wi);this._mergeUnmergeSource(e,t)}unmergeToNewBottomPane(e){const t=new B.UnmergeToNewBottomPane(this._model(),e,Ci);this._mergeUnmergeSource(e,t)}availableZOrderOperations(e){const t=this._model().lineToolsGroupModel(),i=e.filter(m.isLineTool),s=i.map(e=>t.groupForLineTool(e));(0,o.assert)(new Set(s).size<=1,"Cannot move line tools from different group");const r=0===s.length?null:s[0];let n={bringForwardEnabled:!1,bringToFrontEnabled:!1,sendBackwardEnabled:!1,sendToBackEnabled:!1};const a=new Set(i);for(const t of(0,R.sortSources)(e)){if((0,m.isLineTool)(t)&&null!==r){const e=(0,R.sortSources)(r.lineTools().filter(e=>!a.has(e)||e===t));n=Oi(n,{bringForwardEnabled:t!==e[e.length-1],bringToFrontEnabled:t!==e[e.length-1],sendBackwardEnabled:t!==e[0],sendToBackEnabled:t!==e[0]});continue}const e=(0,o.ensureNotNull)(this._model().paneForSource(t)).sourcesByGroup().allExceptSpecialSources();if(0===e.length)continue;const i=t.zorder(),s=e[0].zorder(),l=e[e.length-1].zorder();n=Oi(n,{bringForwardEnabled:i!==l,bringToFrontEnabled:i!==l,sendBackwardEnabled:i!==s,sendToBackEnabled:i!==s})}return n}sendToBack(e){if(!this.availableZOrderOperations(e).sendToBackEnabled)throw new Error("Send to back operation is unavailable");let t=null +;const i=e[0];if((0,m.isLineTool)(i)){const s=this._model().lineToolsGroupModel().groupForLineTool(i);if(null!==s){const i=s.lineTools();t=new ie(this.model(),(0,R.sortSources)(e),i[0])}}null===t&&(t=new J(this.model(),(0,R.sortSources)(e))),this._pushUndoCommand(t),this.emitEvent("changeZOrder",[e])}bringToFront(e){if(!this.availableZOrderOperations(e).bringToFrontEnabled)throw new Error("Bring to front operation is unavailable");let t=null;const i=e[0];if((0,m.isLineTool)(i)){const s=this._model().lineToolsGroupModel().groupForLineTool(i);if(null!==s){const i=s.lineTools();t=new ee(this.model(),(0,R.sortSources)(e),i[i.length-1])}}null===t&&(t=new Z(this.model(),(0,R.sortSources)(e))),this._pushUndoCommand(t),this.emitEvent("changeZOrder",[e])}sendBackward(e){if(!this.availableZOrderOperations(e).sendBackwardEnabled)throw new Error("Send backward operation is unavailable");const t=ti.format({title:Fi(e[0])});this._sendBackOrBringForward(t,(0,R.sortSources)(e),(e,t)=>new re(this.model(),e,t))}bringForward(e){if(!this.availableZOrderOperations(e).bringForwardEnabled)throw new Error("Bring forward operation is unavailable");const t=ii.format({title:Fi(e[0])});this._sendBackOrBringForward(t,(0,R.sortSources)(e),(e,t)=>new oe(this.model(),e,t))}insertAfter(e,t){e=(0,R.sortSources)(e);const i=si.format({title:Fi(e[0]),target:Fi(t)});this._insertAfterOrBefore(i,e,t,()=>new ee(this.model(),e,t))}insertBefore(e,t){e=(0,R.sortSources)(e);const i=ri.format({title:Fi(e[0]),target:Fi(t)});this._insertAfterOrBefore(i,e,t,()=>new ie(this.model(),e,t))}detachToRight(e,t){(0,v.trackEvent)("Chart","Move to new right scale");const i=Pi.format({title:Fi(e)}),s=new tt.MoveToNewPriceScaleUndoCommand(this.model(),e,t,"right",i);this._pushUndoCommand(s),this.emitEvent("moveSource",[e])}detachToLeft(e,t){(0,v.trackEvent)("Chart","Move to new left scale");const i=Ti.format({title:Fi(e)}),s=new tt.MoveToNewPriceScaleUndoCommand(this.model(),e,t,"left",i);this._pushUndoCommand(s),this.emitEvent("moveSource",[e])}detachNoScale(e,t){(0,v.trackEvent)("Chart","Make source no scale");const i=xi.format({title:Fi(e)}),s=new tt.MoveToNewPriceScaleUndoCommand(this.model(),e,t,"overlay",i);this._pushUndoCommand(s),this.emitEvent("moveSource",[e])}moveToScale(e,t,i,s,r){(0,v.trackEvent)("Chart","Move source to target scale"),this.beginUndoMacro(s);const n=new tt.MoveToExistingPriceScaleUndoCommand(this.model(),e,t,i,s),o=r?null:(0,S.sourceNewCurrencyOnPinningToPriceScale)(e,i,this._model()),a=r?null:(0,mt.sourceNewUnitOnPinningToPriceScale)(e,i,this._model());this._pushUndoCommand(n),null!==o&&this.setPriceScaleCurrency(i,o),null!==a&&this.setPriceScaleUnit(i,a),this.endUndoMacro(),this.emitEvent("moveSource",[e])}startScrollTime(e){const t=this.timeScale();this._initialTimeScrollState={rightOffset:t.rightOffset(),barSpacing:t.barSpacing()},this._initialTimeScrollPos=e,this.model().startScrollTime(e)}scrollTimeTo(e){let t=!1 +;return null!==this._initialTimeScrollPos&&null!==this._initialTimeScrollState&&Math.abs(e-this._initialTimeScrollPos)>20&&(this._pushUndoCommand(new ue.TimeScaleChangeUndoCommand(this.model(),this._initialTimeScrollState,Ii)),this._initialTimeScrollPos=null,this._initialTimeScrollState=null,t=!0),this.model().scrollTimeTo(e),t}endScrollTime(){this.model().endScrollTime(),this._initialTimeScrollPos=null,this._initialTimeScrollState=null}startScaleTime(e){const t=this.timeScale(),i={rightOffset:t.rightOffset(),barSpacing:t.barSpacing()};this._pushUndoCommand(new ue.TimeScaleChangeUndoCommand(this.model(),i,Mi)),this.model().startScaleTime(e)}scaleTimeTo(e){this.model().scaleTimeTo(e)}endScaleTime(){this.model().endScaleTime()}resetTimeScale(){const e=this.timeScale(),t={rightOffset:e.rightOffset(),barSpacing:e.barSpacing()};this._pushUndoCommand(new ue.TimeScaleChangeUndoCommand(this.model(),t,Li)),this.model().resetTimeScale()}startScalePrice(e,t,i,s){this._scalePriceInfo={priceScaleState:t.state(),tryMergeConsecutiveScales:s},this.model().startScalePrice(e,t,i)}scalePriceTo(e,t,i){this.model().scalePriceTo(e,t,i)}endScalePrice(e,t){this.model().endScalePrice(e,t);const i=(0,o.ensureNotNull)(this._scalePriceInfo);(0,n.default)(i.priceScaleState,t.state())||this._pushUndoCommand(new gt.PriceScaleChangeUndoCommand(this.model(),e,t,i.priceScaleState,i.tryMergeConsecutiveScales)),this._scalePriceInfo=null}startTwoPointsScalePrice(e,t,i,s,r){this._scalePriceInfo={priceScaleState:t.state(),tryMergeConsecutiveScales:r},this.model().startTwoPointsScalePrice(e,t,i,s)}twoPointsScalePriceTo(e,t,i,s){this.model().twoPointsScalePriceTo(e,t,i,s)}endTwoPointsScalePrice(e,t){this.model().endTwoPointsScalePrice(e,t);const i=(0,o.ensureNotNull)(this._scalePriceInfo);(0,n.default)(i.priceScaleState,t.state())||this._pushUndoCommand(new gt.PriceScaleChangeUndoCommand(this.model(),e,t,i.priceScaleState,i.tryMergeConsecutiveScales)),this._scalePriceInfo=null}resetPriceScale(e,t){const i=t.state();this.model().resetPriceScale(e,t),(0,n.default)(i,t.state())||this._pushUndoCommand(new gt.PriceScaleChangeUndoCommand(this.m_model,e,t,i))}rearrangePanes(e,t){const i=new de(this._model(),e,t);this._pushUndoCommand(i)}movePane(e,t){const i=new de(this._model(),e,t);this._pushUndoCommand(i)}pasteSourceFromClip(e,t,i){const s=t;if(!s||0===s.sources.length)return null;const r=e||(0,o.ensureNotNull)(this.model().paneForSource(this.mainSeries()));if(!s.sources.some(e=>"drawing"!==e.type||null!==r.clipboardLineToolOwnerSource(e.source.id)))return null;this.beginUndoMacro(Di.format({title:s.title}));let n=0;const a=[],l=[];for(const t of s.sources)if("drawing"===t.type&&null!==r.clipboardLineToolOwnerSource(t.source.id)){const e=this.pasteLineTool(r,t);n<5&&((0,pe.trackDrawingPasted)(e),n+=1),l.push(e),a.push(e)}else"study"===t.type&&t.source&&t.source.metaInfo&&this.checkIfFeatureAvailable(new(u())(t.source.metaInfo))&&a.push(this.pasteStudy(t,i?e:void 0));return l.length&&this.selectionMacro(e=>{e.clearSelection(),l.forEach(t=>{ +e.addSourceToSelection(t,null)})}),this.endUndoMacro(),a}pasteLineTool(e,t,i,s){t.source.state.intervalsVisibilities=(0,Lt.mergeIntervalVisibilitiesDefaults)(t.source.state.intervalsVisibilities),(0,Lt.makeIntervalsVisibilitiesVisibleAtInterval)(t.source.state.intervalsVisibilities,be.Interval.parse(this.model().mainSeries().interval()));const r=new Je(this.model(),t,e,i,s);this._pushUndoCommand(r);const n=r.source();return r.needCopyToOtherCharts()&&this.copyToOtherCharts([n]),this.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection(n,null)}),n}pasteStudy(e,t){const i=new ot(this.model(),e,null==t?void 0:t.id());this._pushUndoCommand(i);const s=(0,o.ensureNotNull)(i.state()).id;return(0,ei.emit)("study_event",s,"paste_study"),(0,o.ensureNotNull)(this._model().dataSourceForId(s))}setPriceScaleCurrency(e,t){const i=new Qe.SetPriceScaleCurrencyUndoCommand(e,t,this.chartWidget(),mi);this._pushUndoCommand(i)}setPriceScaleUnit(e,t){const i=new et.SetPriceScaleUnitUndoCommand(e,t,this.chartWidget(),gi);this._pushUndoCommand(i)}setSymbol(e,t){e.symbol()!==t&&this._pushUndoCommand(new st(e,t,this.chartWidget()))}setResolution(e,t){be.Interval.isEqual(e.interval(),t)||this._pushUndoCommand(new Qt(e,t,this.chartWidget()))}chartLoadTheme(e,t,i){const s=new Zt(this.model(),e,t);i?s.redo():this._pushUndoCommand(s)}isJustClonedChart(){return this._chartWidget.isJustClonedChart()}copyToOtherCharts(e){const t=this.mainSeries(),i=t.syncModel(),s=this.timeScale();if(i)for(const r of e){if(!r.isSynchronizable())continue;const e=r.linkKey().value()||(0,f.randomHash)();r.linkKey().setValue(e);const n=r.state(!1),a=r.normalizedPoints(),l=r.properties().interval.value(),c=t.interval();let h;if(be.Interval.isEqual(l,c))h=a.map(e=>{const t=(0,o.ensureNotNull)(s.timePointToIndex(e.time_t))+e.offset;return{price:e.price,timeStamp:(0,o.ensureNotNull)(this.model().externalTimeStamp(t))}});else{const e=i.createNewModelWithResolution(l);h=a.map(t=>({price:t.price,timeStamp:0===t.offset?t.time_t:e.projectTime(t.time_t,t.offset)}))}const d={...n,id:r.id(),linkKey:e,points:h,linetool:r.toolname,model:this.model(),symbol:t.symbol(),finalState:{points:a,interval:l},pointPositionPercents:r.isFixed()?r.calcPositionPercents():void 0,sharingMode:r.sharingMode().value()};(0,ke.copyLineTool)(d)}}addPaneStretchFactorUndoCommand(e,t,i,s){const r=new at(this.model(),e,t,i,s);this._pushUndoCommand(r)}paneForSource(e){return this.m_model.paneForSource(e)}destroy(){this._lineToolsDoNotAffectChartInvalidation.destroy(),this.m_model.destroy()}moveSelectedToolsLeft(){return this._moveSelectedTools(2)}moveSelectedToolsUp(){return this._moveSelectedTools(0)}moveSelectedToolsRight(){return this._moveSelectedTools(3)}moveSelectedToolsDown(){return this._moveSelectedTools(1)}insertStudyWithoutCheck(e,t){return this._insertStudy(e,t,{},!1,void 0,void 0,void 0,void 0,void 0,null,void 0)}saveLineToolState(e,t){this._pushUndoCommand(new V(this.m_model,[e],t))}resetScales(){this.beginUndoMacro(Ai),this.resetTimeScale();for(const e of this.m_model.panes()){ +for(const t of e.leftPriceScales())this.resetPriceScale(e,t);for(const t of e.rightPriceScales())this.resetPriceScale(e,t)}this.endUndoMacro(),this.m_model.recalculateAllPanes((0,ve.viewportChangeEvent)())}shareLineTools(e,t){}_mergeUnmergeSource(e,t){this.beginUndoMacro(t.text());const i=(0,o.ensureNotNull)(this._model().paneForSource(e)),s=new Set(i.sourcesByGroup().lineSources().filter(t=>t.ownerSource()===e));this._model().lineToolsGroupModel().groups().filter(e=>{const t=e.lineTools().some(e=>s.has(e)),i=e.lineTools().some(e=>!s.has(e));return t&&i}).forEach(e=>{this._pushUndoCommand(new D.ExcludeLineToolsFromGroupUndoCommand(this._model(),e,e.lineTools()))}),this._pushUndoCommand(t),this.endUndoMacro()}_insertStudy(e,t,i,s,r,n,a,l,c,h,d){const u=Vi.format({title:e.description});this.beginUndoMacro(u);const p=new dt(this.model(),e,t,i,s,r,n,a,l,c,h||null,u);this._pushUndoCommand(p);const _=p.insertedStudy();if(void 0!==d){const e=new ut.SetPriceScaleModeCommand(d,(0,o.ensureNotNull)(_.priceScale()),null,this.model());this._pushUndoCommand(e)}return this.endUndoMacro(),_}async _processSpecialLineToolsContents(e,t,i){0}_insertAfterOrBefore(e,t,i,s){const r=(0,o.ensureNotNull)(this._model().paneForSource(i));if(t.some(e=>(0,m.isLineTool)(e)&&this._model().paneForSource(e)!==r))throw new Error("Cannot insert line tool after target on another pane");this.beginUndoMacro(e),t.forEach(e=>{(0,o.ensureNotNull)(this.model().paneForSource(e))!==r&&this.mergeToPane(e,r)});const n=s();this._pushUndoCommand(n),this.emitEvent("changeZOrder",[t]),this.endUndoMacro()}_sendBackOrBringForward(e,t,i){const s=new Map;t.forEach(e=>{const t=(0,o.ensureNotNull)(this._model().paneForSource(e)),i=s.get(t)||[];i.push(e),s.set(t,i)}),this.beginUndoMacro(e),s.forEach((e,t)=>{this._pushUndoCommand(i(t,e))}),this.endUndoMacro(),this.emitEvent("changeZOrder",[t])}_moveSelectedTools(e){const t=this.model().selection().lineDataSources();if(0===t.length)return!1;if((0,ke.lockDrawings)().value())return!0;const i=this.timeScale().visibleBarsStrictRange();if(null===i)return!1;const s=function(e){const t=new Map;for(const i of e){const e=i.ownerSource();if(null===e)continue;let s=t.get(e);if(void 0===s){const r=e.priceScale(),n=e.priceStep(),o=e.firstValue();if(null===r||null===n||null===o)continue;if(null===r.priceRange())continue;s={sources:[],priceScale:r,priceStep:n,startPrice:i.points()[0].price,firstValue:o},t.set(e,s)}s.sources.push(i)}return t}(t);if(0===s.size)return!1;this.beginUndoMacro(pi,this._lineToolsDoNotAffectChartInvalidation.value());const r=i.firstBar(),n=this.timeScale().indexToCoordinate(r),o=r+(3===e?1:2===e?-1:0),l=this.timeScale().indexToCoordinate(o);return ke.isDirectionalMovementActive.setValue(!0),s.forEach(t=>{const{startPrice:i,priceStep:s,priceScale:c,firstValue:h}=t,d=i+(0===e?s:1===e?-s:0),u=c.priceToCoordinate(i,h),p=c.priceToCoordinate(d,h),_={logical:{index:r,price:i},screen:new a.Point(n,u)},m={logical:{index:o,price:d},screen:new a.Point(l,p)};this.startMovingSources(t.sources,_,null),this.moveSources(m), +this.endMovingSource(!1,!0)}),ke.isDirectionalMovementActive.setValue(!1),this.endUndoMacro(),!0}_restoreStudyFactoryDefaults(e){const t=new Mt(this.m_model,e.properties());this._pushUndoCommand(t)}_restoreLineToolFactoryDefaults(e){this.beginUndoMacro(_i,this._lineToolsDoNotAffectChartInvalidation.value()),this.saveLineToolState(e,_i);const t=new It(this.m_model,e.properties(),_i);this._pushUndoCommand(t),this.saveLineToolState(e,_i),this.endUndoMacro(),this.model().updateSource(e)}_removeAllDrawingToolsImpl(e){this.selectionMacro(()=>{this.lineBeingCreated()&&this.cancelCreatingLine();this.dataSources().filter(m.isLineTool).filter(e=>e.isActualSymbol()&&e.isUserDeletable()).filter(t=>!e||e===t.toolname).forEach(e=>this.removeSource(e,!1))})}_removeAllStudiesImpl(){const e=this.dataSources(),t=e.filter(w.isStudy).filter(e=>!e.isChildStudy()&&e.removeByRemoveAllStudies()),i=e.filter(w.isStudyStub);t.concat(i).forEach(e=>this.removeSource(e,!1))}}},88735:(e,t,i)=>{"use strict";var s=i(2872),r=i(88537).ensureNotNull,n=i(56840),o=i(88537).assert,a=i(36244).ChartModelBase,l=i(14291),c=l.isLineTool,h=l.isStudyLineTool,d=i(39094).Watermark,u=i(49483).CheckMobile,p=i(23653).InvalidationMask,_=i(23653).InvalidationLevel;const{globalChangeEvent:m,dataSourceChangeEvent:g}=i(33291);var f=i(66101),v=f.Study,S=i(13672).NonSeriesStudy,y=i(81851),b=y.createStudy,w=y.isStudy,C=y.isFundamentalStudy,P=f.prepareStudyProperties,T=i(85733),x=i(88564).saveDefaultProperties,I=i(32050).MainSeriesScaleRatioProperty,M=i(22423).scaleRatio,L=i(90998).StudyInserter,A=i(21761).dateFormatProperty,E=i(79680).isActingAsSymbolSource,k=i(13795).sourceNewCurrencyOnPinningToPriceScale,D=i(79222).sourceNewUnitOnPinningToPriceScale,V=i(76422),B=i(56606).StudyColorRotatorFactory,N=i(67337),R=i(44419).AppliedTimeFrame,O=N.enabled("auto_enable_symbol_labels");N.enabled("fix_left_edge");class F extends a{constructor(e,t,i,r,n,o,a,l,c,h){super(e,t,i,r,n,o,a,l,c,h);var u=this,p=this.m_mainSeries.properties(),_=this._panes[0];_.setStretchFactor(2*_.stretchFactor()),this._properties.listeners().subscribe(this,F.prototype.propertyChangeHandler),this._properties.timezone.listeners().subscribe(null,(function(){u._chartApi&&u._chartApi.isConnected().value()&&u._chartApi.switchTimezone(u.timezone())})),_.addDataSource(this.m_mainSeries,this._panes[0].findSuitableScale(this.m_mainSeries)),this._mainSeriesScaleRatioProperty=new I(this),this.m_mainSeries.dataEvents().completed().subscribe(this,function(){this._scrollingState&&this.gotoTime()}.bind(this)),this.m_mainSeries.onIntervalChanged().subscribe(this,(function(){this._recalcVRStudiesParams.oldStartVisibleIndex=NaN,this._recalcVRStudiesParams.oldEndVisibleIndex=NaN})),this._readOnly||(p.addChild("priceAxisProperties",this.m_mainSeries.m_priceScale.properties()),this._properties.paneProperties.legendProperties.showStudyTitles.listeners().subscribe(this,(function(e){e.value()||u._properties.paneProperties.legendProperties.showStudyArguments.setValue(!1)}))),this._barsMarksSources=a(this) +;for(var m=0;m0),n?{left:0,right:1,totallySlots:i}:{left:1,right:0,totallySlots:i}}return{left:e,right:t,totallySlots:e+t}}setPriceAutoScale(e,t,i){e.setPriceAutoScale(t,i),this.invalidate(this._paneInvalidationMask(e,_.Light))}updateScales(e,t){this._undoModel._chartWidget._updateScalesActions()}mainSeriesScaleRatioProperty(){return this._mainSeriesScaleRatioProperty}mainSeriesScaleRatioPropertyOnChanged(){this._mainSeriesScaleRatioProperty.listeners().fire(this._mainSeriesScaleRatioProperty)}mainSeriesScaleRatio(){return M(this._timeScale,this.m_mainSeries.priceScale())}setMainSeriesScaleRatio(e){this.paneForSource(this.m_mainSeries).applyPriceScaleRatio(this.m_mainSeries.priceScale(),e)}recalcStudyBasedLineTools(){this.dataSources().forEach((function(e){h(e)&&e.recalcStudyIfNeeded&&e.recalcStudyIfNeeded()}))}restoreFactoryDefaults(e){e.restoreFactoryDefaults(),this.recalcVisibleRangeStudies(!0)}orderedDataSources(e){var t=[];t.push(this.m_crossHairSource);for(var i=0;i0)}createStudyInserter(e){return new L(e,this._studiesMetaInfoRepository,{createStudy:this.insertStudyWithParams.bind(this)})}insertStudyWithParams(e,t,i,s,r,o,a,l,c,h,d){null==o&&(o=this.mainSeries());var u=null;if(!r&&void 0!==e.groupingKey){var p=this.findNonOverlayStudyWithGroupingKey(e.groupingKey);null!==p&&(u=p.pane)}null===u&&(r||e.is_price_study?u=this.paneForSource(o):(u=this.createPane(),void 0!==h&&u.setPaneSize(h))),"Compare@tv-basicstudies"===e.id&&this.m_mainSeries.priceScale().setMode({log:!1,percentage:!0});var _=Object.assign({},s,{inputs:t}),m=P(e,_,u,this.studyVersioning(),o),f=b(this,m,o,e,d);this._recalcVisibleRangeStudiesImpl({studies:[f],oldEndVisibleIndex:-1,oldStartVisibleIndex:-1,force:!0,timerId:null});var v=u.findSuitableScale(f,o,a);if(v===this.mainSeries().priceScale()&&E(f)){var S=l?k(f,v,this,!0):null,y=c?D(f,v,this,!0):null;null===S&&null===y||f.setSymbolParams({currency:S||void 0,unit:y||void 0})} +return E(f)&&u.hasDataSource(this.mainSeries())&&O&&!n.getBool("enable_symbol_labels_on_inserting_compare_once",!1)&&(x(!0),this.properties().scalesProperties.showSymbolLabels.setValue(!0),x(!1),n.setValue("enable_symbol_labels_on_inserting_compare_once",!0)),f.start(),null!==i&&u.id()===i.paneId?u.insertDataSource(f,v,i.zorder):u.addDataSource(f,v),f.properties().linkedToSeries&&f.properties().linkedToSeries.value()&&f.setOwnerSource(this.mainSeries()),this.recalculatePane(u,g(f.id())),this.fullUpdate(),this._invalidateBarColorerCaches(),this._recalcVisibleRangeStudiesImpl({studies:[f],force:!0}),this._recalcColorStudiesImpl({studies:[f],force:!0}),this._studyInserted.fire(f),f.maxOffset().subscribe(this._boundUpdateStudiesMaxOffset,{callWithLast:!0}),f}studyInserted(){return this._studyInserted}_unmergeAvailable(e){return e===this.m_mainSeries||TradingView.isInherited(e.constructor,v)&&!e.isLinkedToSeries()&&!TradingView.isInherited(e.constructor,S)&&e.showInObjectTree()}isMergeUpAvailableForSource(e){return!!this._unmergeAvailable(e)&&this.paneForSource(e)!==this.panes()[0]}isMergeDownAvailableForSource(e){if(!this._unmergeAvailable(e))return!1;var t=this.paneForSource(e),i=this.panes();return t!==i[i.length-1]}isUnmergeAvailableForSource(e){return!!this._unmergeAvailable(e)&&this.paneForSource(e).dataSources().filter(this._unmergeAvailable,this).length>1}lineBeingEdited(){return this._lineBeingEdited}linePointBeingEdited(){return this._linePointBeingEdited}calculateDefaultTags(){for(var e=[],t=this.dataSources(),i=0;i-1&&this._modelIntervals.splice(t,1)}clearIntervals(){for(var e=0;ethis.removeSource(e)),Array.from(this._customSourcesMap.keys()).forEach(this._removeCustomSource,this),o(0===this._topmostCustomSources.length),o(0===this._fgCustomSources.length),o(0===this._bgCustomSources.length),o(0===this._allCustomSources.length),o(0===this._customSourcesMap.size);for(e=0;e{"use strict";var s=i(52640).makeFont,r=i(52640).parseFont,n=(0,i(98125).getLogger)("Model.ChartTradingUtils"),o={_fontHeightCache:{},_parsedColorCache:{},_parseColor:function(e){if(this._parsedColorCache[e])return this._parsedColorCache[e];var t=document.createElement("div");t.style.color=e;var i=t.style.color.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i)||t.style.color.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d*\.?\d+)\s*\)$/i),s={r:i[1],g:i[2],b:i[3],a:i[4]||"1"};return this._parsedColorCache[e]=s,s},getColorFromProperties:function(e,t){var i=1-t.value()/100,s=this._parseColor(e.value());return"rgba("+s.r+","+s.g+","+s.b+","+i+")"},setColorToProperties:function(e,t,i){var s=this._parseColor(e);t.setValue("rgb("+s.r+","+s.g+","+s.b+")");var r=100*(1-s.a);i.setValue(Math.max(0,Math.min(r,100)))},getFontFromProperties:function(e,t,i,r){return s(t.value(),e.value(),r.value()?"italic":"",i.value()?"bold":"")},setFontToProperties:function(e,t,i,s,o){var a=r(e);null!==a?(a.family.length>0&&t.setValue(a.family),i.setValue(a.size),s.setValue(a.bold),o.setValue(a.italic)):n.logError("Invalid font: "+e)},fontHeight:function(e){if(!this._fontHeightCache[e]){var t=document.createElement("span");t.appendChild(document.createTextNode("height")),document.body.appendChild(t),t.style.cssText="font: "+e+"; white-space: nowrap; display: inline;";var i=t.offsetHeight;document.body.removeChild(t),this._fontHeightCache[e]=Math.ceil(i)}return this._fontHeightCache[e]},drawPolyHoverOrPress:function(e,t,i,s){s?(e.save(),e.fillStyle="rgba(0, 0, 0, 0.15)",CanvasEx.drawPoly(e,t,!0),e.restore()):i&&(e.save(),e.fillStyle="rgba(0, 0, 0, 0.1)",CanvasEx.drawPoly(e,t,!0),e.restore())},repaint:function(e){e.lightUpdate()},roundToMinTick:function(e,t){var i=1/e.mainSource().base();return i*Math.round(t/i)}};e.exports=o},24431:(e,t,i)=>{"use strict" +;var s=i(28353).t,r=i(24980).TranslatedString,n=i(59199).doAnimate,o=i(97205).ChartUndoModelBase,a=(i(88564).saveDefaultProperties,i(66101).Study),l=i(65645).showTooManyStudiesNotice,c=(i(35762).UndoCommand,i(17691).ApplyLineToolTemplateUndoCommand),h=i(89730).SetPriceScaleSelectionStrategyCommand,d=i(870).SetScaleRatioPropertiesCommand,u=i(90998).StudyInserter,p=i(51768).trackEvent,_=i(98125).getLogger("Chart.ChartUndoModel"),m=i(91794).RestoreDefaultsPreferencesUndoCommand,g=i(59836).SetPriceScaleModeCommand,f=i(69746).PriceScaleChangeUndoCommand,v=new r("move left",s("move left")),S=new r("move right",s("move right")),y=new r("toggle auto scale",s("toggle auto scale")),b=new r("toggle lock scale",s("toggle lock scale")),w=new r("toggle regular scale",s("toggle regular scale")),C=new r("toggle indexed to 100 scale",s("toggle indexed to 100 scale")),P=new r("toggle percentage scale",s("toggle percentage scale")),T=new r("toggle log scale",s("toggle log scale")),x=new r("invert scale",s("invert scale")),I=new r("remove pane",s("remove pane")),M=(new r("apply all chart properties",s("apply all chart properties")),new r("set price scale selection strategy to {title}",s("set price scale selection strategy to {title}")));s("Cheers");t.ChartUndoModel=class extends o{constructor(e,t,i,s,r,n,o,a,l,c,h){super(e,t,i,s,r,n,o,a,l,c,h),this.beginUndoMacro=(e,t)=>{var i=o.beginUndoMacro(e);return i.setCustomFlag("doesnt_affect_save",t),i},this.endUndoMacro=o.endUndoMacro.bind(o),this.createUndoCheckpoint=o.createUndoCheckpoint.bind(o),this.undoToCheckpoint=o.undoToCheckpoint.bind(o)}version(){return this.m_model.version()}createPane(e){return this.m_model.createPane(e)}readOnly(){return this.m_model.readOnly()}restart(){this.m_model.restart()}disconnect(){this.m_model.disconnect()}studiesMetaData(){return this.m_model.studiesMetaData()}studyVersioning(){return this.m_model.studyVersioning()}chartModel(){return this._model()}_model(){return this.m_model}pushUndoCommand(e){this._pushUndoCommand(e)}_pushUndoCommand(e){this._undoHistory.pushUndoCommand(e)}startScrollPrice(e,t,i){t.isAutoScale()||(this._initialPriceScrollState=t.state(),this._initialPriceScrollPos=i,this.chartModel().startScrollPrice(e,t,i))}scrollPriceTo(e,t,i){t.isAutoScale()||(this._initialPriceScrollPos&&Math.abs(this._initialPriceScrollPos-i)>20&&(this.pushUndoCommand(new f(this.m_model,e,t,this._initialPriceScrollState)),delete this._initialPriceScrollState,delete this._initialPriceScrollPos),this.chartModel().scrollPriceTo(e,t,i))}endScrollPrice(e,t){t.isAutoScale()||(delete this._initialPriceScrollState,delete this._initialPriceScrollPos,this.chartModel().endScrollPrice(e,t))}setPriceAutoScale(e,t,i){this.pushUndoCommand(new f(this.m_model,e,t,t.state())),this.chartModel().setPriceAutoScale(e,t,i)}setWidth(e){this.m_model.setWidth(e)}setPaneHeight(e,t){this.m_model.setPaneHeight(e,t)}gridSource(){return this.m_model.gridSource()}watermarkSource(){return this.m_model.watermarkSource()}addAlertsSource(e){return this.m_model.addAlertsSource(e)}alertsSources(){ +return this.m_model.alertsSources()}publishedChartsTimelineSource(){return this.m_model.publishedChartsTimelineSource()}crossHairSource(){return this.m_model.crossHairSource()}model(){return this.m_model}chartWidget(){return this._chartWidget}mainSeries(){return this.m_model.m_mainSeries}mainSeriesScaleRatioProperty(){return this.m_model.mainSeriesScaleRatioProperty()}panes(){return this.m_model.panes()}timeScale(){return this.m_model.timeScale()}selectionMacro(e){return this.m_model.selectionMacro(e)}setHoveredSource(e,t){this.m_model.setHoveredSource(e,t)}selection(){return this.m_model.selection()}onSelectedSourceChanged(){return this.m_model.onSelectedSourceChanged()}activeStrategySource(){return this.m_model.activeStrategySource()}invalidate(e){this.m_model.invalidate(e)}setCurrentPosition(e,t,i,s){this.m_model.setCurrentPosition(e,t,i,s)}setAndSaveCurrentPosition(e,t,i,s){this.m_model.setAndSaveCurrentPosition(e,t,i,s)}canCreateStudy(e){return this.model().chartApi().chartApi().isCanCreateStudy(e)}_isCountedStudy(e){throw new Error("Not implemented")}checkIfFeatureAvailable(e,t){var i=this.canCreateStudy(),s=t&&t instanceof a;return!this.readOnly()&&s&&(i=this.canCreateStudy(!0)),!!i||(s||l(),!1)}createStudyInserter(e,t,i){var s=this,r=null,n={createStudy:function(e,t,i,n,o,a,l,c,h,d,u){return s.checkIfFeatureAvailable(e,a)?(p("studies","Study_"+e.id),"Compare@tv-basicstudies"===e.id&&p("compare","symbol:"+t.symbol),s._insertStudy(e,t,n,o,a,l,c,h,d,r,u)):(_.logNormal("Cannot insert study "+e.id),null)}};void 0!==i&&(n.createStub=function(){var e=s.m_model.insertStudyStub(i);return r={targetPaneId:s.m_model.paneForSource(e).id(),targetZOrder:e.zorder()},e.id()},n.removeStub=function(e){return s.m_model.removeStudyStub(e)});var o=new u(e,this.m_model._studiesMetaInfoRepository,n);return o.setParentSource(t),o}setProperties(e,t,i){var s=this;this.beginUndoMacro(i),this.m_model.selectionMacro((function(){for(var r=0;r{"use strict";var s;i.d(t,{ColorType:()=>s}),function(e){e.Solid="solid",e.Gradient="gradient"}(s||(s={}))},8175:(e,t,i)=>{"use strict";i.d(t,{currencyUnitVisibilityProperty:()=>o,currencyUnitVisibilityOptions:()=>a,migrateShowCurrencyAndShowUnitProperties:()=>c});var s=i(10133),r=i(56840),n=i.n(r);const{property:o,availableValues:a}=(0,s.createVisibilityController)("PriceAxisCurrencyAndUnit.visibility");let l=!1;function c(e,t){l||(l=!0,void 0===n().getValue("PriceAxisCurrencyAndUnit.visibility")&&o().setValue(e||t?"alwaysOn":"alwaysOff"))}},13795:(e,t,i)=>{"use strict";i.d(t,{sourceNewCurrencyOnPinningToPriceScale:()=>r});var s=i(79680);function r(e,t,i,r){let n=null;if(i.currencyConversionEnabled()&&(0, +s.isActingAsSymbolSource)(e)){const s=i.availableCurrencies(),o=t.currency(s),a=e.currency();null!==o&&null!==o.selectedCurrency&&!o.allCurrenciesAreOriginal&&o.selectedCurrency!==a&&(r&&null===a||null!==a&&s.convertible(a))&&(n=o.selectedCurrency)}return n}},99305:(e,t,i)=>{"use strict";i.d(t,{CustomSourceBase:()=>s});class s{constructor(e,t){this._id=e,this._model=t}id(){return this._id}isHoveredEnabled(){return!0}isSelectionEnabled(){return!1}priceScale(){return null}paneViews(e){return[]}labelPaneViews(e){return[]}priceAxisViews(e,t){return[]}updateViewsForPane(e,t){e.containsMainSeries()&&this.updateAllViews(t)}}},50669:(e,t,i)=>{"use strict";i.d(t,{isMainSeriesState:()=>r,isStudyState:()=>n,isLineToolState:()=>o,isStudyLineToolState:()=>a});var s=i(14291);function r(e){return"MainSeries"===e.type}function n(e){return Boolean(e.type)&&e.type.toLowerCase().startsWith("study")}function o(e){return Boolean(e.type)&&(0,s.isLineToolName)(e.type)}function a(e){return Boolean(e.type)&&(0,s.isStudyLineToolName)(e.type)}},62443:(e,t,i)=>{"use strict";i.d(t,{DataSource:()=>l});i(67337);var s=i(52714),r=i.n(s),n=i(9423),o=i(2872),a=i.n(o);class l{constructor(e){this.hasAlert=new(r())(!1),this._zorder=0,this.m_priceScale=null,this._ownerSource=null,this._userEditEnabled=!0,this._onPriceScaleChanged=new(a()),this._isSelectionEnabled=!0,this._instanceId=(0,n.randomHashN)(6),this._ownerSourceChanged=new(a()),this._zOrderChanged=new(a()),this._id=null!=e?e:(0,n.randomHashN)(6)}id(){return this._id}instanceId(){return this._instanceId}preferNoScale(){return!1}setId(e){this._id=e}zorder(){return this._zorder}setZorder(e){"number"==typeof e&&this._zorder!==e&&(this._zorder=e,this._zOrderChanged.fire(e))}isSpeciallyZOrderedSource(){return!1}title(){throw new Error("Implement this fun in a subclass")}name(){throw new Error("Implement this fun in a subclass")}priceScale(){return this.m_priceScale}setPriceScale(e){this.m_priceScale=e,this._onPriceScaleChanged.fire()}ownerSource(){return this._ownerSource}setOwnerSource(e){this._ownerSource=e,this._ownerSourceChanged.fire()}ownerSourceChanged(){return this._ownerSourceChanged}zOrderChanged(){return this._zOrderChanged}isSavedInChart(e){return!0}isSavedInStudyTemplates(){return!0}isRemovedByStudyTemplates(){return!0}hasContextMenu(){return!0}showInObjectTree(){return!0}setUserEditEnabled(e){this._userEditEnabled=e}userEditEnabled(){return this._userEditEnabled}canBeHidden(){return this.userEditEnabled()}isUserDeletable(){return this.userEditEnabled()}properties(){throw new Error("Implement this fun in a subclass")}isVisible(){return this.properties().visible.value()}dataWindowView(){return null}priceAxisViews(e,t){return null}timeAxisViews(){return null}updateAllViews(e){}paneViews(e){return null}labelPaneViews(){return null}isFailed(){return!1}isLoading(){return!1}isPhantom(){return!1}isChildStudy(){return!1}hasChildren(){return!1}canHaveChildren(){return!1}onClickOutside(){}getSourceIcon(){return null}state(e){throw new Error("Implement this fun in a subclass")}onPriceScaleChanged(){ +return this._onPriceScaleChanged}doesMovingAffectsUndo(){return!0}isMultiPaneAvailable(){return!1}isMultiPaneEnabled(){return!1}copiable(){return!1}cloneable(){return!1}movable(){return!1}isIncludedInAutoScale(){return!1}isHoveredEnabled(){return this.isSelectionEnabled()}isSelectionEnabled(){return this._isSelectionEnabled}setSelectionEnabled(e){this._isSelectionEnabled=e}firstValue(){return null}priceRange(e,t){return null}autoScaleInfo(e,t){return{range:this.priceRange(e,t)}}stateForAlert(){return null}canHasAlert(){return!1}alertCreationAvailable(){return this.hasStateForAlert()}hasStateForAlert(){return!1}idForAlert(){return this._id}}},14445:(e,t,i)=>{"use strict";i.d(t,{DataWindowItem:()=>s,DataWindowView:()=>r});class s{constructor(e,t,i=!1){this._visible=!0,this._title=e,this._value=t,this._unimportant=i}title(){return this._title}setTitle(e){this._title=e}text(){return this._value}value(){return this._value}setValue(e){this._value=e}visible(){return this._visible}setVisible(e){this._visible=e}color(){return this._color}setColor(e){this._color=e}unimportant(){return this._unimportant}}class r{constructor(){this._items=[],this._header="",this._title=""}header(){return this._header}title(){return this._title}items(){return this._items}update(){}}},21761:(e,t,i)=>{"use strict";i.d(t,{dateFormatProperty:()=>a,restoreDateFormatSettingsValue:()=>l});var s=i(56840),r=i(32255),n=i(7043);function o(){return s.getValue("date_format",(0,n.defaultDateFormat)())}const a=(0,r.createPrimitiveProperty)(o());function l(){a.setValue((0,n.defaultDateFormat)()),s.remove("date_format")}s.onSync.subscribe(null,()=>a.setValue(o())),a.listeners().subscribe(null,()=>s.setValue("date_format",a.value()))},88564:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createDefaultsState:()=>u,saveDefaultProperties:()=>_,DefaultProperty:()=>m});var s=i(27788),r=i(58121),n=i(15736),o=i(59803),a=i(2015),l=i.n(a),c=i(2872),h=i.n(c);function d(e,t){const i=(0,s.default)(e);return t.forEach(e=>(0,n.default)(i,e.split("."))),i}function u(e,t,i,n){const a=e?o.defaults:o.factoryDefaults,l=t.startsWith("study_")?(0,s.default)(a("study")):{};let c=(0,s.default)(a(t,n));return t.startsWith("study_")&&c.inputs&&delete c.inputs.symbol,"linetoolicon"===t&&e&&(c.icon=(0,o.defaults)(t).icon),c=d(c,i),(0,r.default)(l,c),l}let p=!1;function _(e){p=e}class m extends(l()){constructor(e,t,i,s){super(function(e,t,i,s){let n;return void 0===s&&(s=!0),i?n=t:(n=u(s,e,[],null),t&&(0,r.default)(n,t)),n}(e,t,i,s)),this._exclusions=[],this._restoreFactoryDefaultsEvent=new(h()),this._defaultName=e,this._useUserPreferences=null==s||s,this.listeners().subscribe(this,m.prototype.onPropertyChanged),this._restoreFactoryDefaultsEvent=new(h())}preferences(){return this.state(this._exclusions)}mergePreferences(e){this.mergeAndFire(d(e,this._exclusions))}addExclusion(e){this._exclusions.indexOf(e)<0&&this._exclusions.push(e)}removeExclusion(e){const t=this._exclusions.indexOf(e);-1!==t&&this._exclusions.splice(t,1)}restoreFactoryDefaults(){const e=u(!1,this._defaultName,this._exclusions,null) +;this.mergeAndFire(e),this._defaultName.startsWith("study_")&&!this._defaultName.startsWith("study_VbPFixed")||(0,o.saveDefaults)(this._defaultName,void 0),this._restoreFactoryDefaultsEvent.fire()}onRestoreFactoryDefaults(){return this._restoreFactoryDefaultsEvent}onPropertyChanged(){!p||this._defaultName.startsWith("study_")&&!this._defaultName.startsWith("study_VbPFixed")||this.saveDefaults()}saveDefaults(){this._useUserPreferences&&(0,o.saveDefaults)(this._defaultName,this.preferences())}clone(e){const t=new m(this._defaultName,this.state(),null==e?void 0:e.replaceByState,this._useUserPreferences);for(let e=0;e{"use strict";var s=i(27759).PlDisplay;const{getHexColorByName:r}=i(45112),{generateColor:n}=i(68906);var o=i(27759).TradingSourcesHorizontalAlignment,a=i(16654),l=i(30823).LineToolPitchforkStyle,c=i(8059).LineToolBarsPatternMode,h=i(50993).LineStudyPlotStyle,d=i(5816),u=i(3825).PriceAxisLastValueMode,p=i(245).StoriesTimeLineItemType,_=i(90373).MagnetMode,m=i(49612).LineEnd,g=i(49642).ColorType,f=i(13632).StatsPosition,v=i(47484).sessionsPreferencesDefault,S=i(87426).axisLabelBackgroundColor,y=i(98125).getLogger("Chart.Defaults");const b=r("color-black"),w=r("color-white"),C=n(w,75),P=r("color-tv-blue-50"),T=r("color-tv-blue-500"),x=n(T,30),I=n(T,70),M=n(T,72),L=n(T,75),A=n(T,80),E=r("color-tv-blue-600"),k=r("color-deep-blue-200"),D=r("color-deep-blue-300"),V=r("color-deep-blue-400"),B=n(V,80),N=r("color-deep-blue-500"),R=r("color-sky-blue-500"),O=n(R,80),F=n(R,50),W=r("color-sky-blue-700"),H=n(W,30),z=r("color-youtube"),U=r("color-ripe-red-200"),j=r("color-ripe-red-300"),G=r("color-ripe-red-400"),q=r("color-ripe-red-500"),Y=n(q,70),K=n(q,80),$=n(q,72),X=n(q,95),Z=r("color-ripe-red-600"),J=r("color-grapes-purple-400"),Q=n(J,80),ee=r("color-grapes-purple-500"),te=n(ee,100),ie=n(ee,80),se=n(ee,30),re=n(r("color-berry-pink-400"),85),ne=r("color-berry-pink-500"),oe=n(ne,80),ae=r("color-minty-green-100"),le=r("color-minty-green-500"),ce=n(le,80),he=n(le,72),de=n(le,95),ue=r("color-iguana-green-300"),pe=r("color-iguana-green-500"),_e=n(pe,80),me=r("color-tan-orange-300"),ge=r("color-tan-orange-500"),fe=n(ge,80),ve=r("color-tan-orange-600"),Se=r("color-tan-orange-700"),ye=n(Se,80),be=r("color-tan-orange-a700"),we=r("color-cold-gray-150"),Ce=r("color-cold-gray-300"),Pe=r("color-cold-gray-400"),Te=r("color-cold-gray-500"),xe=r("color-cold-gray-800"),Ie=n(xe,94),Me=n(xe,100),Le=r("color-cold-gray-900"),Ae=r("color-slate-gray"),Ee=r("color-silver-tree"),ke=n(Ee,95),De=r("color-mandy"),Ve=n(De,95);var Be=function(e){var t=function(e,t){return{color:e,visible:t}},i=function(e,t,i){return{coeff:e,color:t,visible:i}},r=function(e,t,i,s,r){return{coeff:e,color:t,visible:i,linestyle:void 0===s?CanvasEx.LINESTYLE_SOLID:s,linewidth:void 0===r?1:r}},y=function(e,t,i){return{color:e,width:i,visible:t}},xe=function(e,t,i,s,r){return{color:e,visible:t,width:i,x:s,y:r}},Be=function(e,t,i,s,r,n){return{coeff1:e,coeff2:t,color:i,visible:s, +linestyle:void 0===r?CanvasEx.LINESTYLE_SOLID:r,linewidth:void 0===n?1:n}};if(void 0===TradingView.defaultProperties){var Ne;switch(window.locale){case"ar_AE":Ne="Asia/Dubai";break;case"au":Ne="Australia/Sydney";break;case"br":Ne="America/Sao_Paulo";break;case"ca":Ne="America/Toronto";break;case"de_DE":case"it":Ne="Europe/Berlin";break;case"es":Ne="Europe/Madrid";break;case"fa_IR":Ne="Asia/Tehran";break;case"fr":case"sv_SE":Ne="Europe/Paris";break;case"he_IL":case"tr":Ne="Europe/Athens";break;case"hu_HU":case"pl":Ne="Europe/Warsaw";break;case"id":case"th_TH":case"vi_VN":Ne="Asia/Bangkok";break;case"in":Ne="Asia/Kolkata";break;case"ja":case"kr":Ne="Asia/Tokyo";break;case"ms_MY":Ne="Asia/Singapore";break;case"ru":Ne="Europe/Moscow";break;case"uk":Ne="Europe/London";break;case"zh_CN":case"zh_TW":Ne="Asia/Shanghai";break;default:Ne="Etc/UTC"}TradingView.defaultProperties={chartproperties:{timezone:Ne,priceScaleSelectionStrategyName:"auto",paneProperties:{backgroundType:g.Solid,background:w,backgroundGradientStartColor:w,backgroundGradientEndColor:w,vertGridProperties:{color:Ie,style:CanvasEx.LINESTYLE_SOLID},horzGridProperties:{color:Ie,style:CanvasEx.LINESTYLE_SOLID},crossHairProperties:{color:Pe,style:CanvasEx.LINESTYLE_DASHED,transparency:0,width:1},topMargin:10,bottomMargin:8,axisProperties:{autoScale:!0,autoScaleDisabled:!1,lockScale:!1,percentage:!1,percentageDisabled:!1,indexedTo100:!1,log:!1,logDisabled:!1,alignLabels:!0,isInverted:!1},legendProperties:{showStudyArguments:!0,showStudyTitles:!0,showStudyValues:!0,showSeriesTitle:!0,showSeriesOHLC:!0,showLegend:!0,showBarChange:!0,showVolume:!1,showBackground:!0,backgroundTransparency:50},separatorColor:we},scalesProperties:{backgroundColor:w,lineColor:Me,textColor:Le,fontSize:12,scaleSeriesOnly:!1,showSeriesLastValue:!0,seriesLastValueMode:u.LastValueAccordingToScale,showSeriesPrevCloseValue:!1,showStudyLastValue:!0,showSymbolLabels:!1,showStudyPlotLabels:!1,showBidAskLabels:!1,showPrePostMarketPriceLabel:!0,showFundamentalNameLabel:!1,showFundamentalLastValue:!0,barSpacing:d.DEFAULT_BAR_SPACING,axisHighlightColor:L,axisLineToolLabelBackgroundColorCommon:S.common,axisLineToolLabelBackgroundColorActive:S.active,showPriceScaleCrosshairLabel:!0,showTimeScaleCrosshairLabel:!0},mainSeriesProperties:{style:a.STYLE_CANDLES,esdShowDividends:!0,esdShowSplits:!0,esdShowEarnings:!0,esdShowBreaks:!1,esdFlagSize:2,showContinuousContractSwitches:!0,showContinuousContractSwitchesBreaks:!1,showCountdown:!0,bidAsk:{visible:!1,lineStyle:CanvasEx.LINESTYLE_DOTTED,lineWidth:1,bidLineColor:T,askLineColor:G},prePostMarket:{visible:!0,lineStyle:CanvasEx.LINESTYLE_DOTTED,lineWidth:1,preMarketColor:ve,postMarketColor:T},highLowAvgPrice:{highLowPriceLinesVisible:!1,highLowPriceLabelsVisible:!1,averageClosePriceLineVisible:!1,averageClosePriceLabelVisible:!1,highLowPriceLinesColor:"",highLowPriceLinesWidth:1,averagePriceLineColor:"",averagePriceLineWidth:1},visible:!0,showPriceLine:!0,priceLineWidth:1,priceLineColor:"",baseLineColor:Ce,showPrevClosePriceLine:!1,prevClosePriceLineWidth:1, +prevClosePriceLineColor:"#555555",minTick:"default",dividendsAdjustment:void 0,backAdjustment:!1,settlementAsClose:!0,sessionId:"regular",sessVis:!1,statusViewStyle:{fontSize:16,showExchange:!0,showInterval:!0,symbolTextSource:"description"},candleStyle:{upColor:le,downColor:q,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:"#737375",wickUpColor:le,wickDownColor:q,barColorsOnPrevClose:!1,drawBody:!0},hollowCandleStyle:{upColor:le,downColor:q,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:"#737375",wickUpColor:le,wickDownColor:q,drawBody:!0},haStyle:{upColor:le,downColor:q,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:"#737375",wickUpColor:le,wickDownColor:q,showRealLastPrice:!1,barColorsOnPrevClose:!1,inputs:{},inputInfo:{},drawBody:!0},barStyle:{upColor:le,downColor:q,barColorsOnPrevClose:!1,dontDrawOpen:!1,thinBars:!0},hiloStyle:{color:T,showBorders:!0,borderColor:T,showLabels:!0,labelColor:T,fontSize:7,drawBody:!0},columnStyle:{upColor:n(le,50),downColor:n(q,50),barColorsOnPrevClose:!0,priceSource:"close"},lineStyle:{color:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2,priceSource:"close",styleType:a.STYLE_LINE_TYPE_SIMPLE},areaStyle:{color1:M,color2:T,linecolor:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2,priceSource:"close",transparency:100},priceAxisProperties:{autoScale:!0,autoScaleDisabled:!1,lockScale:!1,percentage:!1,percentageDisabled:!1,indexedTo100:!1,log:!1,logDisabled:!1,isInverted:!1,alignLabels:!0},renkoStyle:{upColor:le,downColor:q,borderUpColor:le,borderDownColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",borderUpColorProjection:"#a9dcc3",borderDownColorProjection:"#f5a6ae",wickUpColor:le,wickDownColor:q,inputs:{source:"close",sources:"Close",boxSize:3,style:"ATR",atrLength:14,wicks:!0},inputInfo:{source:{name:"Source"},sources:{name:"Source"},boxSize:{name:"Box size"},style:{name:"Style"},atrLength:{name:"ATR length"},wicks:{name:"Wicks"}}},pbStyle:{upColor:le,downColor:q,borderUpColor:le,borderDownColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",borderUpColorProjection:"#a9dcc3",borderDownColorProjection:"#f5a6ae",inputs:{source:"close",lb:3},inputInfo:{source:{name:"Source"},lb:{name:"Number of line"}}},kagiStyle:{upColor:le,downColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",inputs:{source:"close",style:"ATR",atrLength:14,reversalAmount:1},inputInfo:{source:{name:"Source"},style:{name:"Style"},atrLength:{name:"ATR length"},reversalAmount:{name:"Reversal amount"}}},pnfStyle:{upColor:le,downColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",inputs:{sources:"Close",reversalAmount:3,boxSize:1,style:"ATR",atrLength:14,oneStepBackBuilding:!1},inputInfo:{sources:{name:"Source"},boxSize:{name:"Box size"},reversalAmount:{name:"Reversal amount"},style:{name:"Style"},atrLength:{name:"ATR length"},oneStepBackBuilding:{name:"One step back building"}}},baselineStyle:{baselineColor:Ae,topFillColor1:he, +topFillColor2:de,bottomFillColor1:X,bottomFillColor2:$,topLineColor:le,bottomLineColor:q,topLineWidth:2,bottomLineWidth:2,priceSource:"close",transparency:50,baseLevelPercentage:50},rangeStyle:{upColor:le,downColor:q,thinBars:!0,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",inputs:{range:10,phantomBars:!1},inputInfo:{range:{name:"Range"},phantomBars:{name:"Phantom bars"}}}},chartEventsSourceProperties:{visible:!0,futureOnly:!0,breaks:{color:"#555555",visible:!1,style:CanvasEx.LINESTYLE_DASHED,width:1}},tradingProperties:{showPositions:!0,positionPL:{visibility:!0,display:s.Money},bracketsPL:{visibility:!0,display:s.Money},showOrders:!0,showExecutions:!0,showExecutionsLabels:!1,showReverse:!0,horizontalAlignment:o.Right,extendLeft:!0,lineLength:5,lineWidth:1,lineStyle:CanvasEx.LINESTYLE_SOLID},editorFontsList:["Verdana","Courier New","Times New Roman","Arial"],volumePaneSize:"large"},sessions:v,drawings:{magnet:!1,magnetMode:_.WeakMagnet,stayInDrawingMode:!1,drawOnAllCharts:!0,drawOnAllChartsMode:1},linetoolorder:{extendLeft:"inherit",lineLength:"inherit",lineColor:z,lineActiveBuyColor:"#4094e8",lineInactiveBuyColor:"rgba(64, 148, 232, 0.5)",lineActiveSellColor:"#e75656",lineInactiveSellColor:"rgba(231, 86, 86, 0.5)",lineStyle:"inherit",lineWidth:"inherit",bodyBorderActiveBuyColor:"#4094e8",bodyBorderInactiveBuyColor:"rgba(64, 148, 232, 0.5)",bodyBorderActiveSellColor:"#e75656",bodyBorderInactiveSellColor:"rgba(231, 86, 86, 0.5)",bodyBackgroundColor:C,bodyBackgroundTransparency:25,bodyTextInactiveLimitColor:"rgba(38, 140, 2, 0.5)",bodyTextActiveLimitColor:"#268c02",bodyTextInactiveStopColor:"rgba(231, 86, 86, 0.5)",bodyTextActiveStopColor:"#e75656",bodyTextInactiveBuyColor:"rgba(64, 148, 232, 0.5)",bodyTextActiveBuyColor:"#4094e8",bodyTextInactiveSellColor:"rgba(231, 86, 86, 0.5)",bodyTextActiveSellColor:"#e75656",bodyFontFamily:"Verdana",bodyFontSize:9,bodyFontBold:!0,bodyFontItalic:!1,quantityBorderActiveBuyColor:"#4094e8",quantityBorderInactiveBuyColor:"rgba(64, 148, 232, 0.5)",quantityBorderActiveSellColor:"#e75656",quantityBorderInactiveSellColor:"rgba(231, 86, 86, 0.5)",quantityBackgroundInactiveBuyColor:"rgba(64, 148, 232, 0.5)",quantityBackgroundActiveBuyColor:"#4094e8",quantityBackgroundInactiveSellColor:"rgba(231, 86, 86, 0.5)",quantityBackgroundActiveSellColor:"#e75656",quantityTextColor:w,quantityTextTransparency:0,quantityFontFamily:"Verdana",quantityFontSize:9,quantityFontBold:!0,quantityFontItalic:!1,cancelButtonBorderActiveBuyColor:"#4094e8",cancelButtonBorderInactiveBuyColor:"rgba(64, 148, 232, 0.5)",cancelButtonBorderActiveSellColor:"#e75656",cancelButtonBorderInactiveSellColor:"rgba(231, 86, 86, 0.5)",cancelButtonBackgroundColor:C,cancelButtonBackgroundTransparency:25,cancelButtonIconActiveBuyColor:"#4094e8",cancelButtonIconInactiveBuyColor:"rgba(64, 148, 232, 0.5)",cancelButtonIconActiveSellColor:"#e75656",cancelButtonIconInactiveSellColor:"rgba(231, 86, 86, 0.5)",tooltip:"",modifyTooltip:"",cancelTooltip:""},linetoolposition:{extendLeft:"inherit",lineLength:"inherit", +lineBuyColor:"#4094e8",lineSellColor:"#e75656",lineStyle:"inherit",lineWidth:"inherit",bodyBorderBuyColor:"#4094e8",bodyBorderSellColor:"#e75656",bodyBackgroundColor:C,bodyBackgroundTransparency:25,bodyTextPositiveColor:"#268c02",bodyTextNeutralColor:"#646464",bodyTextNegativeColor:"#e75656",bodyFontFamily:"Verdana",bodyFontSize:9,bodyFontBold:!0,bodyFontItalic:!1,quantityBorderBuyColor:"#4094e8",quantityBorderSellColor:"#e75656",quantityBackgroundBuyColor:"#4094e8",quantityBackgroundSellColor:"#e75656",quantityTextColor:w,quantityTextTransparency:0,quantityFontFamily:"Verdana",quantityFontSize:9,quantityFontBold:!0,quantityFontItalic:!1,reverseButtonBorderBuyColor:"#4094e8",reverseButtonBorderSellColor:"#e75656",reverseButtonBackgroundColor:C,reverseButtonBackgroundTransparency:25,reverseButtonIconBuyColor:"#4094e8",reverseButtonIconSellColor:"#e75656",closeButtonBorderBuyColor:"#4094e8",closeButtonBorderSellColor:"#e75656",closeButtonBackgroundColor:C,closeButtonBackgroundTransparency:25,closeButtonIconBuyColor:"#4094e8",closeButtonIconSellColor:"#e75656",tooltip:"",protectTooltip:"",closeTooltip:"",reverseTooltip:""},linetoolexecution:{direction:"buy",arrowHeight:8,arrowSpacing:1,arrowBuyColor:"#4094e8",arrowSellColor:"#e75656",text:"",textColor:b,textTransparency:0,fontFamily:"Verdana",fontSize:10,fontBold:!1,fontItalic:!1,tooltip:""},linetoolicon:{color:T,size:40,icon:61720,angle:.5*Math.PI},linetoolimage:{transparency:0,cssWidth:0,cssHeight:0,angle:0},linetoolbezierquadro:{linecolor:T,linewidth:1,fillBackground:!1,backgroundColor:A,transparency:50,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal},linetoolbeziercubic:{linecolor:R,linewidth:1,fillBackground:!1,backgroundColor:O,transparency:50,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal},linetooltrendline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolinfoline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!0,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!0,showBarsRange:!0,showDateTimeRange:!0,showDistance:!0,showAngle:!0,statsPosition:f.Center},linetooltimecycles:{linecolor:"#159980",linewidth:1,fillBackground:!0,backgroundColor:"rgba(106, 168, 79, 0.5)",transparency:50,linestyle:CanvasEx.LINESTYLE_SOLID},linetoolsineline:{linecolor:"#159980",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},linetooltrendangle:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,textcolor:T,fontsize:12,bold:!1,italic:!1, +alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,extendRight:!1,extendLeft:!1,statsPosition:f.Right},linetooldisjointangle:{linecolor:le,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,fillBackground:!0,backgroundColor:ce,transparency:20,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,textcolor:le,fontsize:12,bold:!1,italic:!1,showPrices:!1,showPriceRange:!1,showDateTimeRange:!1,showBarsRange:!1},linetoolflatbottom:{linecolor:ge,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,fillBackground:!0,backgroundColor:fe,transparency:20,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,textcolor:ge,fontsize:12,bold:!1,italic:!1,showPrices:!1,showPriceRange:!1,showDateTimeRange:!1,showBarsRange:!1},linetoolfibspiral:{counterclockwise:!1,linecolor:le,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},linetoolriskrewardshort:{linecolor:Te,linewidth:1,textcolor:w,fontsize:12,fillLabelBackground:!0,labelBackgroundColor:"#585858",fillBackground:!0,stopBackground:K,profitBackground:ce,stopBackgroundTransparency:80,profitBackgroundTransparency:80,drawBorder:!1,borderColor:"#667b8b",compact:!1,riskDisplayMode:"percents",accountSize:1e3,lotSize:1,risk:25,alwaysShowStats:!1,showPriceLabels:!0},linetoolriskrewardlong:{linecolor:Te,linewidth:1,textcolor:w,fontsize:12,fillLabelBackground:!0,labelBackgroundColor:"#585858",fillBackground:!0,stopBackground:K,profitBackground:ce,stopBackgroundTransparency:80,profitBackgroundTransparency:80,drawBorder:!1,borderColor:"#667b8b",compact:!1,riskDisplayMode:"percents",accountSize:1e3,lotSize:1,risk:25,alwaysShowStats:!1,showPriceLabels:!0},linetoolarrow:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Arrow,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolray:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!0,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolextended:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!0,extendRight:!0,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolhorzline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,showPrice:!0,showLabel:!1,textcolor:T,fontsize:12,bold:!1,italic:!1,horzLabelsAlign:"center",vertLabelsAlign:"top"}, +linetoolhorzray:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,showPrice:!0,showLabel:!1,textcolor:T,fontsize:12,bold:!1,italic:!1,horzLabelsAlign:"center",vertLabelsAlign:"top"},linetoolvertline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLine:!0,showTime:!0,showLabel:!1,horzLabelsAlign:"right",vertLabelsAlign:"top",textcolor:T,textOrientation:"vertical",fontsize:14,bold:!1,italic:!1},linetoolcrossline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,showPrice:!0,showTime:!0},linetoolcirclelines:{trendline:{visible:!0,color:"#808080",linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},linecolor:"#80ccdb",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},linetoolfibtimezone:{horzLabelsAlign:"right",vertLabelsAlign:"bottom",baselinecolor:"#808080",linecolor:"#0055db",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,showLabels:!0,fillBackground:!1,transparency:80,trendline:{visible:!0,color:"#808080",linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},level1:r(0,Te,!0),level2:r(1,T,!0),level3:r(2,T,!0),level4:r(3,T,!0),level5:r(5,T,!0),level6:r(8,T,!0),level7:r(13,T,!0),level8:r(21,T,!0),level9:r(34,T,!0),level10:r(55,T,!0),level11:r(89,T,!0)},linetooltext:{color:T,fontsize:14,fillBackground:!1,backgroundColor:"rgba(91, 133, 191, 0.3)",backgroundTransparency:70,drawBorder:!1,borderColor:"#667b8b",bold:!1,italic:!1,fixedSize:!0,wordWrap:!1,wordWrapWidth:200},linetooltextabsolute:{color:T,fontsize:14,fillBackground:!1,backgroundColor:"rgba(155, 190, 213, 0.3)",backgroundTransparency:70,drawBorder:!1,borderColor:"#667b8b",bold:!1,italic:!1,fixedSize:!1,wordWrap:!1,wordWrapWidth:200},linetoolballoon:{color:w,backgroundColor:se,borderColor:te,fontsize:14,transparency:30},linetoolbrush:{linecolor:R,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,smooth:5,fillBackground:!1,backgroundColor:F,transparency:50,leftEnd:m.Normal,rightEnd:m.Normal},linetoolhighlighter:{linecolor:re,smooth:5,transparency:85},linetoolpolyline:{linecolor:V,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,fillBackground:!0,backgroundColor:B,transparency:50,filled:!1},linetoolsignpost:{itemType:p.Emoji,emoji:"🙂",showImage:!1,plateColor:T,fontSize:12,bold:!1,italic:!1},linetoolpath:{lineColor:T,lineWidth:2,lineStyle:CanvasEx.LINESTYLE_SOLID,leftEnd:m.Normal,rightEnd:m.Arrow},linetoolarrowmarkleft:{color:T,arrowColor:T,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolarrowmarkup:{color:le,arrowColor:le,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolarrowmarkright:{color:T,arrowColor:T,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolarrowmarkdown:{color:Z,arrowColor:Z,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolflagmark:{flagColor:T},linetoolnote:{markerColor:T,textColor:w,backgroundColor:x,backgroundTransparency:0,borderColor:T,fontSize:14,bold:!1,italic:!1,fixedSize:!0},linetoolnoteabsolute:{markerColor:T,textColor:w,backgroundColor:x,backgroundTransparency:0,borderColor:T,fontSize:14,bold:!1,italic:!1,fixedSize:!0},linetoolpricelabel:{color:w,backgroundColor:T,borderColor:T,fontWeight:"bold", +fontsize:14,transparency:0},linetoolpricenote:{showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textColor:T,fontSize:14,bold:!1,italic:!1,lineColor:T,priceLabelBackgroundColor:T,priceLabelBorderColor:T,priceLabelTextColor:w,priceLabelFontSize:12,priceLabelBold:!1,priceLabelItalic:!1},linetoolarrowmarker:{backgroundColor:E,textColor:E,bold:!0,italic:!1,fontsize:16,showLabel:!0},linetoolrectangle:{color:ee,fillBackground:!0,backgroundColor:ie,linewidth:1,transparency:50,showLabel:!1,horzLabelsAlign:"left",vertLabelsAlign:"bottom",textColor:ee,fontSize:14,bold:!1,italic:!1,extendLeft:!1,extendRight:!1},linetoolrotatedrectangle:{color:pe,fillBackground:!0,backgroundColor:_e,transparency:50,linewidth:1},linetoolcircle:{color:ge,backgroundColor:fe,fillBackground:!0,linewidth:1,showLabel:!1,textColor:ge,fontSize:14,bold:!1,italic:!1},linetoolellipse:{color:ne,fillBackground:!0,backgroundColor:oe,transparency:50,linewidth:1,showLabel:!1,textColor:ne,fontSize:14,bold:!1,italic:!1},linetoolarc:{color:J,fillBackground:!0,backgroundColor:Q,transparency:50,linewidth:1},linetoolprediction:{linecolor:T,linewidth:1,sourceBackColor:T,sourceTextColor:w,sourceStrokeColor:T,targetStrokeColor:T,targetBackColor:T,targetTextColor:w,successBackground:pe,successTextColor:w,failureBackground:q,failureTextColor:w,intermediateBackColor:"#ead289",intermediateTextColor:"#6d4d22",transparency:10,centersColor:"#202020"},linetooltriangle:{color:Se,fillBackground:!0,backgroundColor:ye,transparency:50,linewidth:1},linetoolcallout:{color:w,backgroundColor:H,transparency:50,linewidth:1,fontsize:14,bordercolor:W,bold:!1,italic:!1,wordWrap:!1,wordWrapWidth:200},linetoolparallelchannel:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,fillBackground:!0,backgroundColor:A,transparency:20,showMidline:!0,midlinecolor:T,midlinewidth:1,midlinestyle:CanvasEx.LINESTYLE_DASHED},linetoolelliottimpulse:{degree:7,showWave:!0,color:"#3d85c6",linewidth:1},linetoolelliotttriangle:{degree:7,showWave:!0,color:ge,linewidth:1},linetoolelliotttriplecombo:{degree:7,showWave:!0,color:"#6aa84f",linewidth:1},linetoolelliottcorrection:{degree:7,showWave:!0,color:"#3d85c6",linewidth:1},linetoolelliottdoublecombo:{degree:7,showWave:!0,color:"#6aa84f",linewidth:1},linetoolbarspattern:{color:T,mode:c.Bars,mirrored:!1,flipped:!1},linetoolghostfeed:{averageHL:20,variance:50,candleStyle:{upColor:ae,downColor:U,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:Te},transparency:50},study:{inputs:{},styles:{},palettes:{},bands:{},area:{},graphics:{},visible:!0,showLegendValues:!0,showLabelsOnPriceScale:!0,precision:"default"},linetoolpitchfork:{fillBackground:!0,transparency:80,style:l.Original,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolpitchfan:{ +fillBackground:!0,transparency:80,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolgannfan:{showLabels:!0,fillBackground:!0,transparency:80,level1:Be(1,8,me,!0),level2:Be(1,4,ue,!0),level3:Be(1,3,pe,!0),level4:Be(1,2,le,!0),level5:Be(1,1,"#64b5f6",!0),level6:Be(2,1,T,!0),level7:Be(3,1,ee,!0),level8:Be(4,1,ne,!0),level9:Be(8,1,j,!0)},linetoolganncomplex:{fillBackground:!1,arcsBackground:{fillBackground:!0,transparency:80},reverse:!1,scaleRatio:"",showLabels:!0,labelsStyle:{fontSize:12,bold:!1,italic:!1},levels:[y(Te,!0,1),y(ge,!0,1),y(ue,!0,1),y(pe,!0,1),y(le,!0,1),y(Te,!0,1)],fanlines:[xe(k,!1,1,8,1),xe(q,!1,1,5,1),xe(Te,!1,1,4,1),xe(ge,!1,1,3,1),xe(ue,!0,1,2,1),xe(pe,!0,1,1,1),xe(le,!0,1,1,2),xe(le,!1,1,1,3),xe(T,!1,1,1,4),xe(D,!1,1,1,5),xe(k,!1,1,1,8)],arcs:[xe(ge,!0,1,1,0),xe(ge,!0,1,1,1),xe(ge,!0,1,1.5,0),xe(ue,!0,1,2,0),xe(ue,!0,1,2,1),xe(pe,!0,1,3,0),xe(pe,!0,1,3,1),xe(le,!0,1,4,0),xe(le,!0,1,4,1),xe(T,!0,1,5,0),xe(T,!0,1,5,1)]},linetoolgannfixed:{fillBackground:!1,arcsBackground:{fillBackground:!0,transparency:80},reverse:!1,levels:[y(Te,!0,1),y(ge,!0,1),y(ue,!0,1),y(pe,!0,1),y(le,!0,1),y(Te,!0,1)],fanlines:[xe(k,!1,1,8,1),xe(q,!1,1,5,1),xe(Te,!1,1,4,1),xe(ge,!1,1,3,1),xe(ue,!0,1,2,1),xe(pe,!0,1,1,1),xe(le,!0,1,1,2),xe(le,!1,1,1,3),xe(T,!1,1,1,4),xe(D,!1,1,1,5),xe(k,!1,1,1,8)],arcs:[xe(ge,!0,1,1,0),xe(ge,!0,1,1,1),xe(ge,!0,1,1.5,0),xe(ue,!0,1,2,0),xe(ue,!0,1,2,1),xe(pe,!0,1,3,0),xe(pe,!0,1,3,1),xe(le,!0,1,4,0),xe(le,!0,1,4,1),xe(T,!0,1,5,0),xe(T,!0,1,5,1)]},linetoolgannsquare:{color:"rgba(21, 56, 153, 0.8)",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,showTopLabels:!0,showBottomLabels:!0,showLeftLabels:!0,showRightLabels:!0,fillHorzBackground:!0,horzTransparency:80,fillVertBackground:!0,vertTransparency:80,reverse:!1,fans:t(Pe,!1),hlevel1:i(0,Te,!0),hlevel2:i(.25,Se,!0),hlevel3:i(.382,ue,!0),hlevel4:i(.5,pe,!0),hlevel5:i(.618,le,!0),hlevel6:i(.75,T,!0),hlevel7:i(1,Te,!0),vlevel1:i(0,Te,!0),vlevel2:i(.25,Se,!0),vlevel3:i(.382,ue,!0),vlevel4:i(.5,pe,!0),vlevel5:i(.618,le,!0),vlevel6:i(.75,T,!0),vlevel7:i(1,Te,!0)},linetoolfibspeedresistancefan:{fillBackground:!0,transparency:80,grid:{color:"rgba(21, 56, 153, 0.8)",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,visible:!0},linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,showTopLabels:!0,showBottomLabels:!0,showLeftLabels:!0,showRightLabels:!0,reverse:!1,hlevel1:i(0,Te,!0),hlevel2:i(.25,Se,!0),hlevel3:i(.382,ue,!0),hlevel4:i(.5,pe,!0),hlevel5:i(.618,le,!0),hlevel6:i(.75,T,!0),hlevel7:i(1,Te,!0),vlevel1:i(0,Te,!0),vlevel2:i(.25,Se,!0),vlevel3:i(.382,ue,!0),vlevel4:i(.5,pe,!0),vlevel5:i(.618,le,!0),vlevel6:i(.75,T,!0),vlevel7:i(1,Te,!0)},linetoolfibretracement:{showCoeffs:!0,showPrices:!0,fillBackground:!0,transparency:80,extendLines:!1,extendLinesLeft:!1,horzLabelsAlign:"left",vertLabelsAlign:"bottom",reverse:!1,coeffsAsPercents:!1, +fibLevelsBasedOnLogScale:!1,labelFontSize:12,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},levelsStyle:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:i(0,Te,!0),level2:i(.236,q,!0),level3:i(.382,ue,!0),level4:i(.5,pe,!0),level5:i(.618,le,!0),level6:i(.786,"#64b5f6",!0),level7:i(1,Te,!0),level8:i(1.618,T,!0),level9:i(2.618,q,!0),level10:i(3.618,ee,!0),level11:i(4.236,ne,!0),level12:i(1.272,ue,!1),level13:i(1.414,q,!1),level16:i(2,le,!1),level14:i(2.272,ue,!1),level15:i(2.414,pe,!1),level17:i(3,"#64b5f6",!1),level18:i(3.272,Te,!1),level19:i(3.414,T,!1),level20:i(4,"#cc2828",!1),level21:i(4.272,ee,!1),level22:i(4.414,ne,!1),level23:i(4.618,ue,!1),level24:i(4.764,le,!1)},linetoolfibchannel:{showCoeffs:!0,showPrices:!0,fillBackground:!0,transparency:80,extendLeft:!1,extendRight:!1,horzLabelsAlign:"left",vertLabelsAlign:"middle",coeffsAsPercents:!1,labelFontSize:12,levelsStyle:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:i(0,Te,!0),level2:i(.236,q,!0),level3:i(.382,ue,!0),level4:i(.5,pe,!0),level5:i(.618,le,!0),level6:i(.786,"#64b5f6",!0),level7:i(1,Te,!0),level8:i(1.618,T,!0),level9:i(2.618,q,!0),level10:i(3.618,ee,!0),level11:i(4.236,ne,!0),level12:i(1.272,ue,!1),level13:i(1.414,q,!1),level16:i(2,le,!1),level14:i(2.272,ue,!1),level15:i(2.414,pe,!1),level17:i(3,"#64b5f6",!1),level18:i(3.272,Te,!1),level19:i(3.414,T,!1),level20:i(4,"#cc2828",!1),level21:i(4.272,ee,!1),level22:i(4.414,ne,!1),level23:i(4.618,ue,!1),level24:i(4.764,le,!1)},linetoolprojection:{showCoeffs:!0,fillBackground:!0,transparency:80,color1:A,color2:ie,linewidth:1,trendline:{visible:!0,color:Pe,linestyle:CanvasEx.LINESTYLE_SOLID},level1:r(1,"#808080",!0)},linetool5pointspattern:{color:T,textcolor:w,fillBackground:!0,backgroundColor:T,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetoolcypherpattern:{color:T,textcolor:w,fillBackground:!0,backgroundColor:T,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetooltrianglepattern:{color:N,textcolor:w,fillBackground:!0,backgroundColor:N,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetoolabcd:{color:le,textcolor:w,fontsize:12,bold:!1,italic:!1,linewidth:1},linetoolthreedrivers:{color:N,textcolor:w,fillBackground:!0,backgroundColor:"rgba(149, 40, 204, 0.5)",fontsize:12,bold:!1,italic:!1,transparency:50,linewidth:1},linetoolheadandshoulders:{color:le,textcolor:w,fillBackground:!0,backgroundColor:le,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetoolfibwedge:{showCoeffs:!0,fillBackground:!0,transparency:80,trendline:{visible:!0,color:"#808080",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:r(.236,q,!0),level2:r(.382,ue,!0),level3:r(.5,pe,!0),level4:r(.618,le,!0),level5:r(.786,"#64b5f6",!0),level6:r(1,Te,!0),level7:r(1.618,T,!1),level8:r(2.618,q,!1),level9:r(3.618,N,!1),level10:r(4.236,ne,!1),level11:r(4.618,ne,!1)},linetoolfibcircles:{showCoeffs:!0,fillBackground:!0,transparency:80,coeffsAsPercents:!1,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED}, +level1:r(.236,q,!0),level2:r(.382,ue,!0),level3:r(.5,pe,!0),level4:r(.618,le,!0),level5:r(.786,"#64b5f6",!0),level6:r(1,Te,!0),level7:r(1.618,T,!0),level8:r(2.618,q,!0),level9:r(3.618,N,!0),level10:r(4.236,ne,!0),level11:r(4.618,ne,!0)},linetoolfibspeedresistancearcs:{showCoeffs:!0,fillBackground:!0,transparency:80,fullCircles:!1,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},level1:r(.236,q,!0),level2:r(.382,ue,!0),level3:r(.5,pe,!0),level4:r(.618,le,!0),level5:r(.786,"#64b5f6",!0),level6:r(1,Te,!0),level7:r(1.618,T,!0),level8:r(2.618,q,!0),level9:r(3.618,N,!0),level10:r(4.236,ne,!0),level11:r(4.618,ne,!0)},linetooltrendbasedfibextension:{showCoeffs:!0,showPrices:!0,fillBackground:!0,transparency:80,extendLines:!1,extendLinesLeft:!1,horzLabelsAlign:"left",vertLabelsAlign:"bottom",reverse:!1,coeffsAsPercents:!1,fibLevelsBasedOnLogScale:!1,labelFontSize:12,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},levelsStyle:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:i(0,Te,!0),level2:i(.236,q,!0),level3:i(.382,ue,!0),level4:i(.5,pe,!0),level5:i(.618,le,!0),level6:i(.786,"#64b5f6",!0),level7:i(1,Te,!0),level8:i(1.618,T,!0),level9:i(2.618,q,!0),level10:i(3.618,ee,!0),level11:i(4.236,ne,!0),level12:i(1.272,ue,!1),level13:i(1.414,q,!1),level16:i(2,le,!1),level14:i(2.272,ue,!1),level15:i(2.414,pe,!1),level17:i(3,"#64b5f6",!1),level18:i(3.272,Te,!1),level19:i(3.414,T,!1),level20:i(4,"#cc2828",!1),level21:i(4.272,ee,!1),level22:i(4.414,ne,!1),level23:i(4.618,ue,!1),level24:i(4.764,le,!1)},linetooltrendbasedfibtime:{showCoeffs:!0,fillBackground:!0,transparency:80,horzLabelsAlign:"right",vertLabelsAlign:"bottom",trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},level1:r(0,Te,!0),level2:r(.382,q,!0),level3:r(.5,ue,!1),level4:r(.618,pe,!0),level5:r(1,le,!0),level6:r(1.382,"#64b5f6",!0),level7:r(1.618,Te,!0),level8:r(2,T,!0),level9:r(2.382,q,!0),level10:r(2.618,ee,!0),level11:r(3,ne,!0)},linetoolschiffpitchfork:{fillBackground:!0,transparency:80,style:l.Schiff,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolschiffpitchfork2:{fillBackground:!0,transparency:80,style:l.Schiff2,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolinsidepitchfork:{fillBackground:!0,transparency:80,style:l.Inside,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)}, +linetoolregressiontrend:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,styles:{upLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2},downLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2},baseLine:{visible:!0,color:Y,linestyle:CanvasEx.LINESTYLE_DASHED,linewidth:1},extendLines:!1,showPearsons:!0,transparency:70}}},Re(TradingView.defaultProperties.chartproperties),Fe()}if(void 0===TradingView.defaultProperties["study_MA@tv-basicstudies"]&&(TradingView.defaultProperties["study_MA@tv-basicstudies"]={description:"Moving Average",shortDescription:"MA",inputs:{length:9,source:"close"},styles:{MovAvg:{visible:!0,color:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0,title:"MA"}}}),void 0===TradingView.defaultProperties["study_PivotPointsHighLow@tv-basicstudies"]&&(TradingView.defaultProperties["study_PivotPointsHighLow@tv-basicstudies"]={fontsize:10,borderColor:T,backColor:P,textColor:Le}),void 0===TradingView.defaultProperties["study_PivotPointsStandard@tv-basicstudies"]){TradingView.defaultProperties["study_PivotPointsStandard@tv-basicstudies"]={_hardCodedDefaultsVersion:1,fontsize:11,levelsStyle:{showLabels:!0,visibility:{P:!0,"S1/R1":!0,"S2/R2":!0,"S3/R3":!0,"S4/R4":!0,"S5/R5":!0},colors:{P:ve,"S1/R1":ve,"S2/R2":ve,"S3/R3":ve,"S4/R4":ve,"S5/R5":ve},widths:{P:1,"S1/R1":1,"S2/R2":1,"S3/R3":1,"S4/R4":1,"S5/R5":1}}}}if(void 0===TradingView.defaultProperties["study_ZigZag@tv-basicstudies"]&&(TradingView.defaultProperties["study_ZigZag@tv-basicstudies"]={color:T,linewidth:2}),void 0===TradingView.defaultProperties["study_ElliottWave@tv-basicstudies"]&&(TradingView.defaultProperties["study_ElliottWave@tv-basicstudies"]={inputs:{},level0:t(z,!1),level1:t("#008000",!1),level2:t("#0000ff",!1),level3:t("#ff00ff",!1),level4:t("#0080ff",!0),level5:t(z,!0),level6:t("#008000",!0),level7:t("#0000ff",!0),level8:t("#ff00ff",!0)}),void 0===TradingView.defaultProperties["study_LinearRegression@tv-basicstudies"]&&(TradingView.defaultProperties["study_LinearRegression@tv-basicstudies"]={styles:{upLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1},downLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1},baseLine:{visible:!0,color:Y,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1},extendLines:!0,showPearsons:!0,backgroundColor:"rgba(153, 21, 21, 0.3)",transparency:70}}),void 0===TradingView.defaultProperties["study_Compare@tv-basicstudies"]&&(TradingView.defaultProperties["study_Compare@tv-basicstudies"]={minTick:"default"}),void 0===TradingView.defaultProperties["study_Overlay@tv-basicstudies"]){TradingView.defaultProperties["study_Overlay@tv-basicstudies"]={style:a.STYLE_LINE,allowExtendTimeScale:!1,showPriceLine:!1,minTick:"default",candleStyle:{upColor:"#6ba583",downColor:"#d75442",drawWick:!0,drawBorder:!0,drawBody:!0,borderColor:"#378658",borderUpColor:"#225437",borderDownColor:"#5b1a13",wickColor:"#737375",wickUpColor:"#737375",wickDownColor:"#737375",barColorsOnPrevClose:!1},hollowCandleStyle:{upColor:"#6ba583", +downColor:"#d75442",drawWick:!0,drawBorder:!0,drawBody:!0,borderColor:"#378658",borderUpColor:"#225437",borderDownColor:"#5b1a13",wickColor:"#737375",wickUpColor:"#737375",wickDownColor:"#737375",barColorsOnPrevClose:!1},barStyle:{upColor:"#6ba583",downColor:"#d75442",barColorsOnPrevClose:!1,dontDrawOpen:!1,thinBars:!0},lineStyle:{color:be,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2,priceSource:"close",styleType:a.STYLE_LINE_TYPE_SIMPLE},areaStyle:{color1:T,color2:T,linecolor:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2,priceSource:"close",transparency:95},baselineStyle:{baselineColor:Ae,topFillColor1:ke,topFillColor2:ke,bottomFillColor1:Ve,bottomFillColor2:Ve,topLineColor:Ee,bottomLineColor:De,topLineWidth:2,bottomLineWidth:2,priceSource:"close",transparency:50,baseLevelPercentage:50},columnStyle:{upColor:n(le,50),downColor:n(q,50),barColorsOnPrevClose:!0,priceSource:"close"},styles:{open:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0},high:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0},low:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0},close:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0}}}}for(var Oe=e.split("."),We=TradingView.defaultProperties,He=0;He1?h(e[r],t.slice(1),i):(e[r]&&e[r].setValue?e[r].setValue(i):e[r]=i,!0))}function d(e){i||y.logWarn("Path `"+e+"` does not exist.")}}function Re(e,t,i,s){window.__defaultsOverrides&&Ne(e,t,i,window.__defaultsOverrides,s)}function Oe(e,t){window.__settingsOverrides&&Ne(e,null,!1,window.__settingsOverrides,t)}function Fe(){var e=/^linetool.+/;Object.keys(TradingView.defaultProperties).forEach((function(t){e.test(t)&&Re(TradingView.defaultProperties[t],null,!1,t)}))}function We(e,t){return t?function(e,t){var i=Be(e);if(!window._UNIT_TESTS){var s=TradingView.clone(TVSettings.getJSON(e,null));if(function(e){var t=new Set(["linetoolregressiontrend"]);return e.startsWith("study_")||t.has(e)}(e)&&s&&function(e){if(!e)return!1;e=e.toString();var t=new RegExp("\\d+").exec(e);return null!==t&&t[0]===e}(s.version)){var r=s.inputs,n=t.updateStudyInputs(s.id,s.version,"last",r,null);s.inputs=n;var o=t.updateStudyState(s,s);s=o}TradingView.merge(i,s),Oe(i,e)}return i}(e,t):function(e){var t=Be(e);if(!window._UNIT_TESTS){var i=TradingView.clone(TVSettings.getJSON(e,null));if(i){TradingView.merge(t,i);const s=e.split(".");Oe(t,void 0===s[1]?e:s[1])}}return t}(e)}We.create=function(e,t){if(t){var i=Be(e);TradingView.defaultProperties[e]=Object.assign(t,i)}},We.remove=function(e){ +TradingView.defaultProperties[e]=void 0},TradingView.saveDefaults=function(e,t){void 0===t?TVSettings.remove(e):TVSettings.setJSON(e,t)},TradingView.factoryDefaults=Be,window.applyDefaultOverridesToLinetools=Fe,window.applyDefaultsOverrides=Re,window.applyPropertiesOverrides=Ne,window.defaults=We,t.applyDefaultOverridesToLinetools=Fe,t.applyDefaultsOverrides=Re,t.applyPropertiesOverrides=Ne,t.defaults=We,t.factoryDefaults=Be,t.saveDefaults=TradingView.saveDefaults},85733:(e,t,i)=>{"use strict";i.r(t),i.d(t,{toolIsCursor:()=>p,toolIsMeasure:()=>_,resetToCursor:()=>m,lockTimeAxisTime:()=>w,tool:()=>C,iconTool:()=>P,cursorTool:()=>T,isToolCreatingNow:()=>x,isToolEditingNow:()=>I,isToolMovingNow:()=>M,isDirectionalMovementActive:()=>L,createdLineTool:()=>A,continuedLineTool:()=>E,cancelledLineTool:()=>k,beenSetLineToolLastPoint:()=>D,startedMovingLineTool:()=>V,movedLineTool:()=>B,finishedMovingLineTool:()=>N,startedChangingLineTool:()=>R,changedLineTool:()=>O,finishedChangingLineTool:()=>F,removedLineTool:()=>W,finishedLineTool:()=>H,changedLineStyle:()=>z,copiedLineTool:()=>U,restoredLineTool:()=>j,restoredLineToolState:()=>G,isPointSelectedNow:()=>q,isStudyEditingNow:()=>Y,createLineTool:()=>X,continueLineTool:()=>Z,cancelLineTool:()=>J,setLineToolLastPoint:()=>Q,startMovingLineTool:()=>ee,moveLineTool:()=>te,finishMovingLineTool:()=>ie,startChangingLineTool:()=>se,changeLineTool:()=>re,finishChangingLineTool:()=>ne,removeLineTool:()=>oe,finishLineTool:()=>ae,changeLineStyle:()=>le,copyLineTool:()=>ce,restoreLineTool:()=>he,restoreLineToolState:()=>de,init:()=>_e,runOnDrawingStateReady:()=>me,properties:()=>ge,hideAllDrawings:()=>fe,hideAllIndicators:()=>ve,lockDrawings:()=>Se,hideMarksOnBars:()=>ye,drawOnAllCharts:()=>be,drawOnAllChartsMode:()=>we,lockTimeAxis:()=>Ce});var s=i(88537),r=i(32255),n=i(88564),o=i(52714),a=i.n(o),l=i(2872),c=i.n(l),h=i(56840),d=i(76422),u=i(59803);function p(e){return"cursor"===e||"arrow"===e||"dot"===e}function _(e){return"measure"===e}function m(e=!1){if(!e&&g){if(g.childs().stayInDrawingMode.value())return}C.setValue(T.value())}let g=null,f=null,v=null,S=null,y=null,b=null;const w=new(a()),C=new(a()),P=new(a()),T=new(a()),x=new(a())(!1),I=new(a())(!1),M=new(a())(!1),L=new(a())(!1),A=new(c()),E=new(c()),k=new(c()),D=new(c()),V=new(c()),B=new(c()),N=new(c()),R=new(c()),O=new(c()),F=new(c()),W=new(c()),H=new(c()),z=new(c()),U=new(c()),j=new(c()),G=new(c()),q=new(a())(!1),Y=new(a())(!1);function K(e,t){const i=t||{value:!1};return t=>{i.value||(i.value=!0,e.fire(t),i.value=!1)}}const $={value:!1},X=K(A,$),Z=K(E,$),J=K(k,$),Q=K(D,$),ee=K(V),te=K(B),ie=K(N),se=K(R),re=K(O),ne=K(F),oe=K(W),ae=K(H),le=K(z,$),ce=K(U,$),he=K(j),de=K(G);let ue=!1,pe=[];function _e(){ue||(C.setValue(h.getValue("chart.cursorPreference","cursor")),C.subscribe(e=>p(e)&&T.setValue(e),{callWithLast:!0}),T.subscribe(e=>{e&&h.setValue("chart.cursorPreference",e)}),g=new n.DefaultProperty("drawings"),f=(0,r.createPrimitiveProperty)(),v=(0,r.createPrimitiveProperty)(),S=(0,r.createPrimitiveProperty)(),y=(0, +r.createPrimitiveProperty)(),b=(0,r.createPrimitiveProperty)(),f.setValue(!1),v.setValue(!1),S.setValue(!1),y.setValue(!1),b.setValue(!1),C.subscribe(()=>{(0,d.emit)("onSelectedLineToolChanged")}),P.subscribe(()=>{(0,u.saveDefaults)("linetoolicon",{...(0,u.defaults)("linetoolicon"),icon:P.value()})}),ue=!0,pe.forEach(e=>e()),pe=[])}function me(e){ue?e():pe.push(e)}function ge(){return(0,s.ensureNotNull)(g)}function fe(){return(0,s.ensureNotNull)(f)}function ve(){return(0,s.ensureNotNull)(v)}function Se(){return(0,s.ensureNotNull)(S)}function ye(){return(0,s.ensureNotNull)(y)}function be(){return ge().childs().drawOnAllCharts}function we(){return ge().childs().drawOnAllChartsMode}function Ce(){return(0,s.ensureNotNull)(b)}},77216:(e,t,i)=>{"use strict";i.d(t,{EnvironmentState:()=>r});var s=i(49483);class r{constructor(e,t=!1){this._shift=!1,this._mod=!1,this._alt=!1,void 0!==e&&(this._shift=Boolean(e.shiftKey),this._mod=Boolean((0,s.isMac)()?e.metaKey:e.ctrlKey),this._alt=Boolean(e.altKey)),this._isApiEvent=t}shift(){return this._shift}mod(){return this._mod}alt(){return this._alt}shiftOnly(){return this._shift&&!this._mod&&!this._alt}modOnly(){return this._mod&&!this._shift&&!this._alt}altOnly(){return this._alt&&!this._shift&&!this._mod}modShift(){return this._shift&&this._mod&&!this._alt}isApiEvent(){return this._isApiEvent}static create(e=!1,t=!1,i=!1){return new r({shiftKey:e,ctrlKey:t,metaKey:t,altKey:i})}}},19234:(e,t,i)=>{"use strict";function s(e){return"="+JSON.stringify(function e(t){return Object.keys(t).sort().reduce((i,s)=>("[object Object]"===Object.prototype.toString.call(t[s])?i[s]=e(t[s]):i[s]=t[s],i),{})}(e))}function r(e){return s(e)}function n(e){return"="===e[0]}function o(e){if(!n(e))return{symbol:e};try{return JSON.parse(e.slice(1))}catch(t){return{symbol:e}}}function a(e){return"string"==typeof e?e:a(e.symbol)}i.r(t),i.d(t,{encodeExtendedSymbolOrGetSimpleSymbolString:()=>r,isEncodedExtendedSymbol:()=>n,decodeExtendedSymbol:()=>o,unwrapSimpleSymbol:()=>a})},69147:(e,t,i)=>{"use strict";i.d(t,{customFormatters:()=>s});const s={dateFormatter:null,timeFormatter:null,tickMarkFormatter:null,priceFormatterFactory:null,studyFormatterFactory:null}},7043:(e,t,i)=>{"use strict";i.d(t,{dateFormatFunctions:()=>p,availableDateFormats:()=>_,defaultDateFormat:()=>m});var s=i(28353),r=i(97098);const n={1:()=>(0,s.t)("Jan"),2:()=>(0,s.t)("Feb"),3:()=>(0,s.t)("Mar"),4:()=>(0,s.t)("Apr"),5:()=>(0,s.t)("May",{context:"short"}),6:()=>(0,s.t)("Jun"),7:()=>(0,s.t)("Jul"),8:()=>(0,s.t)("Aug"),9:()=>(0,s.t)("Sep"),10:()=>(0,s.t)("Oct"),11:()=>(0,s.t)("Nov"),12:()=>(0,s.t)("Dec")},o=(e,t)=>(t?e.getMonth():e.getUTCMonth())+1,a=(e,t)=>t?e.getFullYear():e.getUTCFullYear(),l=(e,t)=>(0,r.numberToStringWithLeadingZero)(((e,t)=>t?e.getDate():e.getUTCDate())(e,t),2),c=(e,t)=>n[o(e,t)](),h=(e,t)=>(0,r.numberToStringWithLeadingZero)(o(e,t),2),d=(e,t)=>(0,r.numberToStringWithLeadingZero)(a(e,t)%100,2),u=(e,t)=>(0,r.numberToStringWithLeadingZero)(a(e,t),4),p={"dd MMM 'yy":(e,t)=>`${l(e,t)} ${c(e,t)} '${d(e,t)}`, +"MMM dd, yyyy":(e,t)=>`${c(e,t)} ${l(e,t)}, ${u(e,t)}`,"MMM dd":(e,t)=>`${c(e,t)} ${l(e,t)}`,"yyyy-MM-dd":(e,t)=>`${u(e,t)}-${h(e,t)}-${l(e,t)}`,"yy-MM-dd":(e,t)=>`${d(e,t)}-${h(e,t)}-${l(e,t)}`,"yy/MM/dd":(e,t)=>`${d(e,t)}/${h(e,t)}/${l(e,t)}`,"yyyy/MM/dd":(e,t)=>`${u(e,t)}/${h(e,t)}/${l(e,t)}`,"dd-MM-yyyy":(e,t)=>`${l(e,t)}-${h(e,t)}-${u(e,t)}`,"dd-MM-yy":(e,t)=>`${l(e,t)}-${h(e,t)}-${d(e,t)}`,"dd/MM/yy":(e,t)=>`${l(e,t)}/${h(e,t)}/${d(e,t)}`,"dd/MM/yyyy":(e,t)=>`${l(e,t)}/${h(e,t)}/${u(e,t)}`,"MM/dd/yy":(e,t)=>`${h(e,t)}/${l(e,t)}/${d(e,t)}`,"MM/dd/yyyy":(e,t)=>`${h(e,t)}/${l(e,t)}/${u(e,t)}`},_=Object.keys(p),m=()=>-1!==["ja","ko","zh","zh_TW"].indexOf(window.language||"")?"yyyy-MM-dd":"dd MMM 'yy"},1860:(e,t,i)=>{"use strict";i.d(t,{DateFormatter:()=>n});var s=i(69147),r=i(7043);class n{constructor(e="yyyy-MM-dd"){this._dateFormatFunc=r.dateFormatFunctions[e]}format(e){return s.customFormatters&&s.customFormatters.dateFormatter?s.customFormatters.dateFormatter.format(e):this._dateFormatFunc(e,!1)}formatLocal(e){return s.customFormatters.dateFormatter?s.customFormatters.dateFormatter.formatLocal?s.customFormatters.dateFormatter.formatLocal(e):s.customFormatters.dateFormatter.format(e):this._dateFormatFunc(e,!0)}}},95792:(e,t,i)=>{"use strict";i.d(t,{DateTimeFormatter:()=>o});var s=i(64806),r=i(1860);const n={dateFormat:"yyyy-MM-dd",timeFormat:"%h:%m:%s",dateTimeSeparator:" "};class o{constructor(e={}){const t=Object.assign({},n,e);this._dateFormatter=new r.DateFormatter(t.dateFormat),this._timeFormatter=new s.TimeFormatter(t.timeFormat),this._separator=t.dateTimeSeparator}format(e){return`${this._dateFormatter.format(e)}${this._separator}${this._timeFormatter.format(e)}`}formatLocal(e){return`${this._dateFormatter.formatLocal(e)}${this._separator}${this._timeFormatter.formatLocal(e)}`}}},51264:(e,t,i)=>{"use strict";i.d(t,{LimitedPrecisionNumericFormatter:()=>r});var s=i(80643);class r{constructor(e=1){this._precision=e}format(e){(0,s.isNumber)(e)||(e=parseFloat(e));const t=e.toFixed(this._precision),i=Math.pow(10,-this._precision);return Math.max(parseFloat(t),i)+""}parse(e){const t=parseFloat(e);return isNaN(t)?{res:!1}:{res:!0,value:t,suggest:this.format(t)}}}},95505:(e,t,i)=>{"use strict";i.d(t,{NumericFormatter:()=>n});var s=i(97098),r=i(60521);class n{constructor(e){this._precision=e}format(e){return(void 0!==this._precision?e.toFixed(this._precision):n.formatNoE(e)).replace(".",s.formatterOptions.decimalSign)}parse(e){const t=e.replace(s.formatterOptions.decimalSign,".");let i=parseFloat(t);return this._precision&&(i=+i.toFixed(this._precision)),i}static formatNoE(e){if(!Number.isFinite(e))return String(e);const t=new r.Big(e);return t.lt(1)?t.toFixed():t.toString()}}},26811:(e,t,i)=>{"use strict";i.d(t,{PercentageFormatter:()=>n});var s=i(97098),r=i(62820);class n extends s.PriceFormatter{constructor(e){super(e),this.type="percentage"}state(){const e=s.PriceFormatter.prototype.state.call(this);return e.percent=!0,e}parse(e){return e=e.replace("%",""),super.parse(e)}format(e,t,i,s,n=!0){ +const o=super.format(e,t,i,s,!1)+"%";return n?(0,r.forceLTRStr)(o):o}static serialize(e){return e.state()}static deserialize(e){return new n(e.priceScale)}}},97645:(e,t,i)=>{"use strict";i.d(t,{PipFormatter:()=>r});var s=i(97098);class r extends s.PriceFormatter{constructor(e,t,i,s){t||(t=1),"forex"!==i&&"cfd"!==i||!s?(super(1),this._isForex=!1):(super(s),this._isForex=!0),this._pipPriceScale=e,this._pipMinMove=t,this._pipMinMove2=s}format(e,t,i){let s=this._isForex?this._pipMinMove2:this._pipMinMove;return void 0===s&&(s=NaN),super.format(e*this._pipPriceScale/s,t,i)}}},97098:(e,t,i)=>{"use strict";i.r(t),i.d(t,{formatterOptions:()=>l,numberToStringWithLeadingZero:()=>c,isFormatterHasForexAdditionalPrecision:()=>h,PriceFormatter:()=>d});var s=i(28353),r=i(80643),n=i(62820);const o=(0,i(98125).getLogger)("Chart.PriceFormatter"),a=new RegExp(/^(-?)[0-9]+$/),l={decimalSign:".",decimalSignFractional:"'"};function c(e,t){if(!(0,r.isNumber)(e))return"n/a";if(!(0,r.isInteger)(t))throw new TypeError("invalid length");if(t<0||t>16)throw new TypeError("invalid length");if(0===t)return e.toString();return("0000000000000000"+e.toString()).slice(-t)}function h(e){return"hasForexAdditionalPrecision"in e}class d{constructor(e,t,i,n){if(this.type="price",this._formatterErrors={custom:(0,s.t)("Price format is invalid."),fraction:(0,s.t)("Fraction part is invalid."),secondFraction:(0,s.t)("Second fraction part is invalid.")},t||(t=1),(0,r.isNumber)(e)&&(0,r.isInteger)(e)||(e=100),e<0)throw new TypeError("invalid base");this._priceScale=e,this._minMove=t,this._minMove2=n,i&&void 0!==n&&n>0&&2!==n&&4!==n&&8!==n?o.logDebug("invalid minmove2"):(this._fractional=i,this.calculateDecimal())}isFractional(){return!!this._fractional}state(){return{fractional:this._fractional,fractionalLength:this._fractionalLength,minMove:this._minMove,minMove2:this._minMove2,priceScale:this._priceScale}}calculateDecimal(){if(this._fractionalLength=0,this._priceScale>0&&this._minMove>0){let e=this._priceScale;for(this._fractional&&this._minMove2&&(e/=this._minMove2);e>1;)e/=10,this._fractionalLength++}}format(e,t,i,s=!0,r=!0){let o,a="";return e<0?(a=!1===s?"":"−",e=-e):e&&!0===t&&(a="+"),o=this._fractional?a+this._formatAsFractional(e,i):a+this._formatAsDecimal(e,i),r?(0,n.forceLTRStr)(o):o}parse(e){return e=(e=(0,n.stripLTRMarks)(e)).replace("−","-"),this._fractional?this._minMove2?this._parseAsDoubleFractional(e):this._parseAsSingleFractional(e):this._parseAsDecimal(e)}hasForexAdditionalPrecision(){return!this._fractional&&10===this._minMove2}static serialize(e){return e.state()}static deserialize(e){return new d(e.priceScale,e.minMove,e.fractional,e.minMove2)}_formatAsDecimal(e,t){let i;t=t||0,i=this._fractional?Math.pow(10,this._fractionalLength||0):Math.pow(10,t)*this._priceScale/this._minMove;const s=1/i;let r;if(i>1)r=Math.floor(e);else{const t=Math.floor(Math.round(e/s)*s);r=0===Math.round((e-t)/s)?t:t+s}let n="";if(i>1){let s=parseFloat((Math.round(e*i)-r*i).toFixed(this._fractionalLength));s>=i&&(s-=i,r+=1) +;const o=void 0!==this._fractionalLength?this._fractionalLength:NaN;n=l.decimalSign+c(parseFloat(s.toFixed(this._fractionalLength))*this._minMove,o+t),n=this._removeEndingZeros(n,t)}return r.toString()+n}_getFractPart(e,t,i){const s=[0,5],r=[0,2,5,7],n=[0,1,2,3,5,6,7,8];return 2===i?void 0===s[e]?-1:s[e]:4===i?void 0===r[e]?-1:r[e]:8===i&&2===t?void 0===n[e]?-1:n[e]:e}_formatAsFractional(e,t){const i=this._priceScale/this._minMove;let s=Math.floor(e),r=t?Math.floor(e*i)-s*i:Math.round(e*i)-s*i;r===i&&(r=0,s+=1);let n="";if(t){let o=(e-s-r/i)*i;o=Math.round(o*Math.pow(10,t)),n=c(o,t),n=this._removeEndingZeros(n,t)}if(!this._fractionalLength)throw new Error("_fractionalLength is not calculated");let o="";if(this._minMove2){const e=r%this._minMove2;r=(r-e)/this._minMove2;const t=c(r,this._fractionalLength),i=this._getFractPart(e,2,this._minMove2);o=t+l.decimalSignFractional+i}else r=this._getFractPart(r,1,this._priceScale),o=c(r*this._minMove,this._fractionalLength);return s.toString()+l.decimalSignFractional+o+n}_removeEndingZeros(e,t){for(let i=0;i=s||r<0)return{error:this._formatterErrors.fraction,res:!1};let n=i+r/s;return e&&(n=-n),{value:n,res:!0,suggest:this.format(n)}}return{error:this._formatterErrors.custom,res:!1}}_parseAsDoubleFractional(e){let t=a.exec(e);if(t){const t=parseFloat(e);return{value:t,res:!0,suggest:this.format(t)}}if(t=new RegExp("^(-?)([0-9]+)\\"+l.decimalSignFractional+"([0-9]+)\\"+l.decimalSignFractional+"([0-9]+)$").exec(e),t){const e=!!t[1],i=parseInt(t[2]),s=void 0!==this._minMove2?this._minMove2:NaN,r=this._priceScale/s,n=this._minMove2,o=this._patchFractPart(parseInt(t[3]),1,r),a=this._patchFractPart(parseInt(t[4]),2,n);if(o>=r||o<0)return{error:this._formatterErrors.fraction,res:!1};if(void 0!==n&&a>=n||a<0)return{error:this._formatterErrors.secondFraction,res:!1};let l=void 0!==n?i+o/r+a/(r*n):NaN;return e&&(l=-l),{value:l,res:!0,suggest:this.format(l)}}return{error:this._formatterErrors.custom,res:!1}}}},64806:(e,t,i)=>{"use strict";i.d(t,{TimeFormatter:()=>n});var s=i(69147),r=i(97098);class n{constructor(e){this._formatStr=e||"%h:%m:%s"}format(e){ +return s.customFormatters.timeFormatter?s.customFormatters.timeFormatter.format(e):this._formatStr.replace("%h",(0,r.numberToStringWithLeadingZero)(e.getUTCHours(),2)).replace("%m",(0,r.numberToStringWithLeadingZero)(e.getUTCMinutes(),2)).replace("%s",(0,r.numberToStringWithLeadingZero)(e.getUTCSeconds(),2))}formatLocal(e){return s.customFormatters.timeFormatter?s.customFormatters.timeFormatter.formatLocal?s.customFormatters.timeFormatter.formatLocal(e):s.customFormatters.timeFormatter.format(e):this._formatStr.replace("%h",(0,r.numberToStringWithLeadingZero)(e.getHours(),2)).replace("%m",(0,r.numberToStringWithLeadingZero)(e.getMinutes(),2)).replace("%s",(0,r.numberToStringWithLeadingZero)(e.getSeconds(),2))}}},92242:(e,t,i)=>{"use strict";i.d(t,{TimeSpanFormatter:()=>r});var s=i(28353);class r{format(e){const t=e<0;e=Math.abs(e);const i=Math.floor(e/86400);e-=86400*i;const r=Math.floor(e/3600);e-=3600*r;const n=Math.floor(e/60);e-=60*n;let o="";return i&&(o+=i+(0,s.t)("d",{context:"dates"})+" "),r&&(o+=r+(0,s.t)("h",{context:"dates"})+" "),n&&(o+=n+(0,s.t)("m",{context:"dates"})+" "),e&&(o+=e+(0,s.t)("s",{context:"dates"})+" "),t&&(o="-"+o),o.trim()}}},67802:(e,t,i)=>{"use strict";i.d(t,{VolumeFormatter:()=>a});var s=i(28353),r=i(95505),n=i(80643),o=i(93751);class a{constructor(e){this.type="volume",this._numericFormatter=new r.NumericFormatter,this._fractionalValues=void 0!==e&&e>0,this._precision=e}state(){return{precision:this._precision}}format(e,t){if(!(0,n.isNumber)(e))return"---";let i="";return e<0?(i="−",e=-e):e>0&&t&&(i="+"),e>=1e100?(0,s.t)("N/A"):(!this._fractionalValues||e>=995?e=Math.round(e):this._fractionalValues&&(e=+e.toFixed(this._precision)),e<995?i+this._formatNumber(e):e<999995?i+this._formatNumber(e/1e3)+"K":e<999999995?(e=1e3*Math.round(e/1e3),i+this._formatNumber(e/1e6)+"M"):e<999999999995?(e=1e6*Math.round(e/1e6),i+this._formatNumber(e/1e9)+"B"):(e=1e9*Math.round(e/1e9),i+this._formatNumber(e/1e12)+"T"))}parse(e){if("---"===e)return{error:"not a number",res:!1,value:NaN};const t={K:1e3,M:1e6,B:1e9},i=e.slice(-1);if(t.hasOwnProperty(i)){const s=this._numericFormatter.parse(e.slice(0,-1));return(0,n.isNumber)(s)?{res:!0,value:s*t[i]}:{error:"not a number",res:!1,value:NaN}}{const t=this._numericFormatter.parse(e);return(0,n.isNumber)(t)?{res:!0,value:t}:{error:"not a number",res:!1,value:NaN}}}static serialize(e){return e.state()}static deserialize(e){return new a(e.precision)}_formatNumber(e){return this._fractionalValues&&(e=(0,o.fixComputationError)(e)),this._numericFormatter.format(e).replace(/(\.[1-9]*)0+$/,(e,t)=>t)}}},88129:(e,t,i)=>{"use strict";i.d(t,{shouldBeFormattedAsPercent:()=>n,shouldBeFormattedAsIndexedTo100:()=>o,getPriceValueFormatterForSource:()=>a});var s=i(37667),r=i(79680);function n(e){const t=e.priceScale();return!(null===t||!t.isPercentage())&&(!(0,r.isActingAsSymbolSource)(e)||(0,s.isPriceSourceStyle)(e.style()))}function o(e){const t=e.priceScale();return!(null===t||!t.isIndexedTo100())&&(!(0,r.isActingAsSymbolSource)(e)||(0,s.isPriceSourceStyle)(e.style()))} +function a(e){const t=e.priceScale();if(o(e)&&null!==t)return i=>{var s;return t.formatPriceIndexedTo100(i,null!==(s=e.firstValue())&&void 0!==s?s:100)};if(n(e)&&null!==t)return i=>{var s;return t.formatPricePercentage(i,null!==(s=e.firstValue())&&void 0!==s?s:100)};const i=e.formatter();return i.format.bind(i)}},84346:(e,t,i)=>{"use strict";function s(e,t,i){if(e.isTouch){if(void 0!==i)return i(e),!0}else if(void 0!==t)return t(e),!0;return!1}function r(e,t,i,s){return void 0!==t.executeDefaultAction&&(e.isTouch?Boolean(t.executeDefaultAction[s]):Boolean(t.executeDefaultAction[i]))}var n;i.d(t,{tryCallHandler:()=>s,shouldDefaultActionBeExecuted:()=>r,AreaName:()=>n,HitTestResult:()=>o}),function(e){e.Style="Style",e.Text="Text",e.SourceItemMove="SourceItemMove"}(n||(n={}));class o{constructor(e,t,i){this._result=e,this._data=t||null,this._eraseMarker=i}result(){return this._result}data(){return this._data}hasPressedMoveHandler(e){return null!==this._data&&function(e,t,i){if(e.isTouch){if(void 0!==i)return!0}else if(void 0!==t)return!0;return!1}(e,this._data.pressedMouseMoveHandler,this._data.touchMoveHandler)}tryCallMouseDownOrTouchStartHandler(e){return null!==this._data&&s(e,this._data.mouseDownHandler,this._data.touchStartHandler)}tryCallMouseUpOrTouchEndHandler(e){return null!==this._data&&s(e,this._data.mouseUpHandler,this._data.touchEndHandler)}tryCallMouseEnterHandler(e){return null!==this._data&&s(e,this._data.mouseEnterHandler)}tryCallMouseLeaveHandler(e){return null!==this._data&&s(e,this._data.mouseLeaveHandler)}tryCallMouseMoveHandler(e){return null!==this._data&&s(e,this._data.mouseMoveHandler)}tryCallClickOrTapHandler(e){return null!==this._data&&s(e,this._data.clickHandler,this._data.tapHandler)}tryCallDblClickOrDblTapHandler(e){return null!==this._data&&s(e,this._data.doubleClickHandler,this._data.doubleTapHandler)}tryCallContextMenuHandler(e){return null!==this._data&&s(e,this._data.contextMenuHandler,this._data.touchContextMenuHandler)}eraseMarker(){return this._eraseMarker}}o.MOVEPOINT_BACKGROUND=1,o.REGULAR=2,o.MOVEPOINT=3,o.CHANGEPOINT=4,o.CUSTOM=5},22221:(e,t,i)=>{"use strict";i.d(t,{HorizontalLinePaneView:()=>n});var s=i(40254),r=i(43891);class n{constructor(){this._lineRendererData={y:0,color:"rgba(0, 0, 0, 0)",linewidth:1,linestyle:r.LINESTYLE_SOLID,visible:!1},this._lineRenderer=new s.HorizontalLineRenderer,this._invalidated=!0,this._lineRenderer.setData(this._lineRendererData)}update(e){this._invalidated=!0}renderer(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._lineRenderer}}},27759:(e,t,i)=>{"use strict";var s,r;i.d(t,{PlDisplay:()=>s,TradingSourcesHorizontalAlignment:()=>r,tradingPreferencesDefault:()=>n,CustomSourceLayer:()=>o}),function(e){e[e.Money=0]="Money",e[e.Pips=1]="Pips",e[e.Percentage=2]="Percentage"}(s||(s={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(r||(r={}));const n={showPositions:!1,positionPL:{visibility:!1,display:s.Money},bracketsPL:{visibility:!1,display:s.Money},showOrders:!1,showExecutions:!1, +showExecutionsLabels:!1,showReverse:!1,extendLeft:!1,lineLength:0,horizontalAlignment:r.Right,lineWidth:0,lineStyle:0};var o;!function(e){e[e.Background=0]="Background",e[e.Foreground=1]="Foreground",e[e.Topmost=2]="Topmost"}(o||(o={}))},29823:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ResolutionKind:()=>n,SpecialResolutionKind:()=>o,Interval:()=>h,isHour:()=>u});const s=/^(\d*)([TSHDWMR])$/,r=/^(\d+)$/;var n,o;!function(e){e.Ticks="ticks",e.Seconds="seconds",e.Minutes="minutes",e.Days="days",e.Weeks="weeks",e.Months="months",e.Range="range",e.Invalid="invalid"}(n||(n={})),function(e){e.Hours="hours"}(o||(o={}));const a={};a[n.Ticks]=1e3,a[n.Seconds]=1e3,a[n.Minutes]=60*a[n.Seconds],a[n.Days]=1440*a[n.Minutes],a[n.Weeks]=7*a[n.Days];const l={T:n.Ticks,S:n.Seconds,D:n.Days,W:n.Weeks,M:n.Months,R:n.Range},c=new Set([n.Ticks,n.Seconds,n.Minutes]);class h{constructor(e,t){this._kind=n.Invalid,this._multiplier=0,e!==n.Invalid&&t>0&&(this._kind=e,this._multiplier=t)}kind(){return this._kind}multiplier(){return this._multiplier}isValid(){return this.kind()!==n.Invalid&&this.multiplier()>0}isDWM(){return this.isValid()&&!this.isRange()&&!this.isIntraday()&&!this.isTicks()}isIntraday(){const e=c.has(this.kind());return this.isValid()&&e}isSeconds(){return this.kind()===n.Seconds}isMinutes(){return this.kind()===n.Minutes}isMinuteHours(){return this.kind()===n.Minutes&&u(this.multiplier())}isDays(){return this.kind()===n.Days}isWeeks(){return this.kind()===n.Weeks}isMonths(){return this.kind()===n.Months}isRange(){return this.kind()===n.Range}isTicks(){return this.kind()===n.Ticks}isTimeBased(){return!this.isRange()}letter(){return this.isValid()&&this.kind()!==n.Minutes?this.kind()[0].toUpperCase():""}value(){return this.isValid()?this.kind()===n.Minutes?this.multiplier()+"":this.multiplier()+this.letter():""}isEqualTo(e){if(!(e instanceof h))throw new Error("Argument is not an Interval");return!(!this.isValid()||!e.isValid())&&(this.kind()===e.kind()&&this.multiplier()===e.multiplier())}inMilliseconds(e=Date.now()){if(!this.isValid()||this.isRange())return NaN;if(this.isMonths()){const t=new Date(e);t.setUTCMonth(t.getUTCMonth()+(this.multiplier()||1));return+t-e}const t=this.multiplier();return a[this.kind()]*t}static isEqual(e,t){return e===t||h.parse(e).isEqualTo(h.parse(t))}static parseExt(e){e=(e+"").toUpperCase().split(",")[0];let t=s.exec(e);return null!==t?"H"===t[2]?{interval:new h(n.Minutes,60*d(t[1])),guiResolutionKind:o.Hours}:{interval:new h(l[t[2]],d(t[1])),guiResolutionKind:l[t[2]]}:(t=r.exec(e),null!==t?{interval:new h(n.Minutes,d(t[1])),guiResolutionKind:n.Minutes}:{interval:new h(n.Invalid,0),guiResolutionKind:n.Invalid})}static parse(e){return h.parseExt(e).interval}static kind(e){return h.parse(e).kind()}static isValid(e){return h.parse(e).isValid()}static isDWM(e){return h.parse(e).isDWM()}static isIntraday(e){return h.parse(e).isIntraday()}static isSeconds(e){return h.parse(e).isSeconds()}static isMinutes(e){return h.parse(e).isMinutes()}static isMinuteHours(e){return h.parse(e).isMinuteHours()} +static isDays(e){return h.parse(e).isDays()}static isWeeks(e){return h.parse(e).isWeeks()}static isMonths(e){return h.parse(e).isMonths()}static isRange(e){return h.parse(e).isRange()}static isTicks(e){return h.parse(e).isTicks()}static isTimeBased(e){return h.parse(e).isTimeBased()}static normalize(e){const t=h.parse(e);return t.isValid()?t.value():null}}function d(e){return 0===e.length?1:parseInt(e,10)}function u(e){return e>=60&&!(e%60)}},52418:(e,t,i)=>{"use strict";i.d(t,{intervalsVisibilitiesDefaults:()=>s});const s={ticks:!0,seconds:!0,secondsFrom:1,secondsTo:59,minutes:!0,minutesFrom:1,minutesTo:59,hours:!0,hoursFrom:1,hoursTo:24,days:!0,daysFrom:1,daysTo:366,weeks:!0,weeksFrom:1,weeksTo:52,months:!0,monthsFrom:1,monthsTo:12,ranges:!0}},20838:(e,t,i)=>{"use strict";i.d(t,{IntervalsVisibilitiesProperty:()=>n});var s=i(2015),r=i.n(s);i(36759);class n extends(r()){state(e){return super.state(e)}storeStateIfUndefined(){return!1}}},36759:(e,t,i)=>{"use strict";i.d(t,{makeIntervalsVisibilitiesVisibleAtInterval:()=>a,isActualInterval:()=>c,nonDefaultIntervalsVisibilities:()=>h,mergeIntervalVisibilitiesDefaults:()=>d});var s=i(88537),r=i(29823),n=i(52418),o=i(80643);function a(e,t){let i=t.multiplier();if(t.isTicks()&&(e.ticks=!0),t.isSeconds()&&(i<60?(e.seconds=!0,e.secondsFrom=Math.min(e.secondsFrom,i),e.secondsTo=Math.max(e.secondsTo,i)):(i/=60,t=new r.Interval(r.ResolutionKind.Minutes,i))),t.isMinutes())if(i<60)e.minutes=!0,e.minutesFrom=Math.min(e.minutesFrom,i),e.minutesTo=Math.max(e.minutesTo,i);else{const t=Math.floor(i/60);e.hours=!0,e.hoursFrom=Math.min(e.hoursFrom,t),e.hoursTo=Math.max(e.hoursTo,t)}t.isDays()&&(e.days=!0,e.daysFrom=Math.min(e.daysFrom,i),e.daysTo=Math.max(e.daysTo,i)),t.isWeeks()&&(e.weeks=!0,e.weeksFrom=Math.min(e.weeksFrom,i),e.weeksTo=Math.max(e.weeksTo,i)),t.isMonths()&&(e.months=!0,e.monthsFrom=Math.min(e.monthsFrom,i),e.monthsTo=Math.max(e.monthsTo,i)),t.isRange()&&(e.ranges=!0)}function l(e,t,i,s){return e&&s>=t&&s<=i}function c(e,t){const i=t.childs();switch(e.kind()){case r.ResolutionKind.Ticks:return i.ticks.value();case r.ResolutionKind.Seconds:if(e.multiplier()<60)return l(i.seconds.value(),i.secondsFrom.value(),i.secondsTo.value(),e.multiplier());{const t=Math.floor(e.multiplier()/60);return l(i.minutes.value(),i.minutesFrom.value(),i.minutesTo.value(),t)}case r.ResolutionKind.Minutes:if(e.multiplier()<60)return l(i.minutes.value(),i.minutesFrom.value(),i.minutesTo.value(),e.multiplier());{const t=Math.floor(e.multiplier()/60);return l(i.hours.value(),i.hoursFrom.value(),i.hoursTo.value(),t)}case r.ResolutionKind.Days:return l(i.days.value(),i.daysFrom.value(),i.daysTo.value(),e.multiplier());case r.ResolutionKind.Weeks:return l(i.weeks.value(),i.weeksFrom.value(),i.weeksTo.value(),e.multiplier());case r.ResolutionKind.Months:return l(i.months.value(),i.monthsFrom.value(),i.monthsTo.value(),e.multiplier());case r.ResolutionKind.Range:return i.ranges.value()}return(0,s.assert)(!1,"Unsupported resolution: "+e.value()),!1}function h(e){ +const t=Object.keys(e).filter(t=>n.intervalsVisibilitiesDefaults[t]!==e[t]);return 0===t.length?null:t.reduce((t,i)=>(t[i]=e[i],t),{})}function d(e){return(0,o.merge)((0,o.clone)(n.intervalsVisibilitiesDefaults),null!=e?e:{})}},35878:(e,t,i)=>{"use strict";function s(e){return Boolean(e.showInObjectTree)}i.d(t,{isDataSource:()=>s})},95836:(e,t,i)=>{"use strict";var s;i.d(t,{SymbolErrorPermissionDeniedReason:()=>s,permissionDenied:()=>r,invalidSymbol:()=>n}),function(e){e.Symbol="symbol",e.GroupPermission="group"}(s||(s={}));const r="permission denied",n="invalid symbol"},79680:(e,t,i)=>{"use strict";function s(e){const t=(null==e?void 0:e.symbolSource)&&e.symbolSource()===e,i=void 0!==(null==e?void 0:e.isActingAsSymbolSource);return t||i}function r(e){return s(e)&&e.isActingAsSymbolSource().value()}i.d(t,{isSymbolSource:()=>s,isActingAsSymbolSource:()=>r})},34580:(e,t,i)=>{"use strict";i.d(t,{LevelsProperty:()=>p});var s=i(80643),r=i(88564),n=i(59803);const o={prefixes:[""],range:[0,0],names:["coeff","color","visible","linestyle","linewidth"],typecheck:{pack:()=>Object(),unpack:()=>[]}};function a(e,t,i,s){return s.push(i[t]),s}function l(e,t,i,s){return s[t]=i[e],s}function c(){return[]}function h(){return{}}function d(e,t,i){return i.prefixes.forEach(r=>{const n=r+"level";for(let r=i.range[0];r<=i.range[1];r++)if(e[n+r]&&(0,s.isSameType)(e[n+r],t.typecheck())){let s=t.tpl();i.names.forEach((i,o)=>{s=t.fill(""+o,i,e[n+r],s)}),e[n+r]=s}}),e}function u(e,t,i){return i(e,{tpl:h,fill:l,typecheck:t.typecheck.unpack},t)}class p extends r.DefaultProperty{constructor(e,t,i,s,r){r=null!=r?r:d;const n={...o,...null!=s?s:{}};super(e,t?u(t,n,r):t,i),this._map=n,this._levelsIterator=r}state(e,t){const i=super.state(e);return t?i:(s=i,r=this._map,(0,this._levelsIterator)(s,{tpl:c,fill:a,typecheck:r.typecheck.pack},r));var s,r}saveDefaults(){this._useUserPreferences&&(0,n.saveDefaults)(this._defaultName,this.state(this._exclusions,!0))}clone(){const e=this.state(),t=new p(this._defaultName,e);for(let e=0;e{"use strict";i.d(t,{LineToolsGroup:()=>l});var s=i(2872),r=i.n(s),n=i(9423);function o(e){return e.properties().visible.value()}function a(e){return!o(e)}class l{constructor(e,t,i){this._instanceId=(0,n.randomHashN)(6),this._onChanged=new(r()),this._lineToolsSet=new Set,this._lineTools=[...e],this._lineToolsSet=new Set(this._lineTools),this._name=t,this.id=i||(0,n.randomHashN)(6)}instanceId(){return this._instanceId}lineTools(){return this._lineTools}name(){return this._name}setName(e){this._doAndFireOnChange(()=>{this._name=e})}isActualSymbol(){return this._lineTools.length>0&&this._lineTools[0].isActualSymbol()&&this._lineTools[0].isActualCurrency()&&this._lineTools[0].isActualUnit()}symbol(){return this._lineTools[0].symbol()}currencyId(){var e;return null!==(e=this._lineTools[0].properties().childs().currencyId.value())&&void 0!==e?e:null}unitId(){var e +;return null!==(e=this._lineTools[0].properties().childs().unitId.value())&&void 0!==e?e:null}sharingMode(){return this._lineTools[0].sharingMode()}share(e){this._lineTools.forEach(t=>t.share(e))}containsLineTool(e){return this._lineToolsSet.has(e)}addLineTools(e){this._doAndFireOnChange(t=>{e.forEach(e=>this._lineToolsSet.add(e)),this._lineTools.push(...e),t.push(...e.map(e=>e.id()))})}excludeLineTool(e){this._doAndFireOnChange(t=>{this._lineToolsSet.delete(e);const i=this._lineTools.indexOf(e);this._lineTools.splice(i,1),t.push(e.id())})}excludeLineTools(e){this._doAndFireOnChange(t=>{const i=new Set(e);e.forEach(e=>this._lineToolsSet.delete(e)),this._lineTools=this._lineTools.filter(e=>!i.has(e)),t.push(...e.map(e=>e.id()))})}state(){return{id:this.id,name:this._name,tools:this._lineTools.map(e=>e.id())}}visibility(){const e=this._lineTools.some(o),t=this._lineTools.some(a);return e&&!t?"Visible":t&&!e?"Invisible":"Partial"}locked(){const e=this._lineTools.some(e=>e.properties().frozen.value()),t=this._lineTools.some(e=>!e.properties().frozen.value());return e&&!t?"Locked":t&&!e?"Unlocked":"Partial"}isActualInterval(){const e=this._lineTools.some(e=>e.isActualInterval()),t=this._lineTools.some(e=>!e.isActualInterval());return e&&!t?"IsActualInterval":t&&!e?"IsNotActualInterval":"Partial"}onChanged(){return this._onChanged}static fromState(e,t){const i=[];for(const s of t.tools){const t=e.dataSourceForId(s);null!==t&&i.push(t)}return i.length>0?new l(i,t.name,t.id):null}_doAndFireOnChange(e){const t=[],i=this.visibility(),s=this.locked(),r=this.name(),n=this.isActualInterval();e(t),this._onChanged.fire({affectedLineTools:t,visibilityChanged:i!==this.visibility(),lockedChanged:s!==this.locked(),titleChanged:r!==this.name(),isActualIntervalChanged:n!==this.isActualInterval()})}}},656:(e,t,i)=>{"use strict";i.d(t,{LineTool5PointsPattern:()=>a});var s=i(88537),r=i(88564),n=i(89857),o=i(37865);class a extends n.LineDataSource{constructor(e,t,i,s){super(e,t||a.createProperties(),i,s),this._loadPaneViews(e)}pointsCount(){return 5}name(){return"XABCD Pattern"}static createProperties(e){const t=new r.DefaultProperty("linetool5pointspattern",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,93262)).then(e=>e.PatternWithBackgroundDefinitionViewModel)}_loadPaneViews(e){i.e(1583).then(i.bind(i,46010)).then(t=>{this._setPaneViews([new t.Pattern5pointsPaneView(this,e)])})}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.addChild("linesColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("color"))])),e.addChild("textsColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("textcolor"))]))}}},82203:(e,t,i)=>{"use strict";i.d(t,{LineToolABCD:()=>a});var s=i(88537),r=i(88564),n=i(89857),o=i(37865);class a extends n.LineDataSource{constructor(e,t,s,r){const n=t||a.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,5040)).then(t=>{this._setPaneViews([new t.ABCDPaneView(this,e)])})} +pointsCount(){return 4}name(){return"ABCD Pattern"}static createProperties(e){const t=new r.DefaultProperty("linetoolabcd",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,98890)).then(e=>e.PatternWithoutBackgroundDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.addChild("linesColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("color"))])),e.addChild("textsColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("textcolor"))]))}}},17337:(e,t,i)=>{"use strict";i.d(t,{LineToolArc:()=>h});var s=i(88537),r=i(4652),n=i(86441),o=i(25422),a=i(88564),l=i(89857),c=i(37865);class h extends l.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),this.version=2,this._dist=null,i.e(1583).then(i.bind(i,24843)).then(({ArcPaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}startChanging(e,t){if(super.startChanging(e,t),0===e||1===e){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2]));this._dist=(0,r.distanceToLine)(e,t,i).distance;const o=t.subtract(e),a=new n.Point(-o.y,o.x),l=e.add(t).scaled(.5);i.subtract(l).dotProduct(a)<0&&(this._dist=-this._dist)}}endChanging(e,t){return this._dist=null,super.endChanging(e,t)}pointsCount(){return 3}name(){return"Arc"}hasEditableCoordinates(){return!1}setPoint(e,t){const i={...t},a=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),l=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));switch(e){case 0:{const e=(0,s.ensureNotNull)(this._dist),t=(0,s.ensureNotNull)(this.pointToScreenPoint(i)),r=l.subtract(t),o=t.add(l).scaled(.5);let a=new n.Point(-r.y,r.x);a=a.normalized();const c=o.add(a.scaled(e));this._points[0]=i,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(c));break}case 1:{const e=(0,s.ensureNotNull)(this._dist),t=(0,s.ensureNotNull)(this.pointToScreenPoint(i)),r=t.subtract(a),o=a.add(t).scaled(.5),l=new n.Point(-r.y,r.x).normalized(),c=o.add(l.scaled(e));this._points[1]=i,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(c));break}case 2:{let e=(0,s.ensureNotNull)(this.pointToScreenPoint(i));const t=(0,r.distanceToLine)(a,l,e).distance,c=l.subtract(a),h=a.add(l).scaled(.5),d=new n.Point(-c.y,c.x).normalized(),u=h.add(d.scaled(t)),p=h.add(d.scaled(-t)),_=c.length(),m=c.x/_,g=c.y/_;let f=Math.acos(m);g<0&&(f=-f);let v=(0,o.translationMatrix)(-h.x,-h.y);e=(0,o.transformPoint)(v,e);let S=(0,o.transformPoint)(v,u);v=(0,o.rotationMatrix)(-f),e=(0,o.transformPoint)(v,e),S=(0,o.transformPoint)(v,S),v=(0,o.scalingMatrix)(1,_/(2*t)),e=(0,o.transformPoint)(v,e),S=(0,o.transformPoint)(v,S);const y=e.y*S.y>=0?new n.Point(u.x,u.y):new n.Point(p.x,p.y);this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(y));break}}this.normalizePoints()}migrateVersion(e,t,i){if(1===e&&2===this._points.length){ +const e=(2*this._points[0].price+3*this._points[1].price)/5;this._points.push({price:e,index:this._points[1].index})}if(1===e&&2===this._timePoint.length){const e={price:(2*this._timePoint[0].price+3*this._timePoint[1].price)/5,offset:this._timePoint[1].offset,time_t:this._timePoint[1].time_t};this._timePoint.push(e)}}static createProperties(e){const t=new a.DefaultProperty("linetoolarc",e);return h._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,24965))).GeneralFiguresDefinitionsViewModelBase}static _configureProperties(e){l.LineDataSource._configureProperties(e),e.addChild("linesColors",new c.LineToolColorsProperty([e.childs().color]))}}},18659:(e,t,i)=>{"use strict";i.d(t,{LineToolArrowMark:()=>l,LineToolArrowMarkLeft:()=>c,LineToolArrowMarkUp:()=>h,LineToolArrowMarkRight:()=>d,LineToolArrowMarkDown:()=>u});var s=i(88564),r=i(89857),n=i(2015),o=i.n(n),a=i(37865);class l extends r.LineDataSource{constructor(e,t,s,r,n){const o=t||l.createProperties(null,s);super(e,o,r,n),this._textPaneView=null,i.e(1583).then(i.bind(i,71407)).then(({ArrowMarkPaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}paneViews(e){const t=super.paneViews();return null!==t&&this._textPaneView&&t.push(this._textPaneView),t}pointsCount(){return 1}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e,t){const i=new s.DefaultProperty(t,e);return l._configureProperties(i),i}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,72930)).then(e=>e.ArrowMarkDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new a.LineToolColorsProperty([e.childs().arrowColor])),e.addChild("textsColors",new a.LineToolColorsProperty([e.childs().color])),e.hasChild("text")||e.addChild("text",new(o())("")),e.addExclusion("text")}}l.version=2;class c extends l{constructor(e,t,i,s){super(e,t,"linetoolarrowmarkleft",i,s)}direction(){return"left"}name(){return"Arrow Mark Left"}textAlignParams(){return{horzAlign:"left",vertAlign:"middle",offsetX:22,offsetY:3}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkleft")}}class h extends l{constructor(e,t,i,s){super(e,t,"linetoolarrowmarkup",i,s)}direction(){return"up"}name(){return"Arrow Mark Up"}textAlignParams(){return{horzAlign:"center",vertAlign:"top",offsetX:0,offsetY:20}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkup")}}class d extends l{constructor(e,t,i,s){super(e,t,"linetoolarrowmarkright",i,s)}direction(){return"right"}name(){return"Arrow Mark Right"}textAlignParams(){return{horzAlign:"right",vertAlign:"middle",offsetX:22,offsetY:3,forceTextAlign:!0}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkright")}}class u extends l{constructor(e,t,i,s){ +super(e,t,"linetoolarrowmarkdown",i,s)}direction(){return"down"}name(){return"Arrow Mark Down"}textAlignParams(){return{horzAlign:"center",vertAlign:"bottom",offsetX:0,offsetY:20}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkdown")}}},10167:(e,t,i)=>{"use strict";i.d(t,{LineToolArrowMarker:()=>a});var s=i(89857),r=i(88564),n=i(2015),o=i.n(n);class a extends s.LineDataSource{constructor(e,t,s,r){super(e,null!=t?t:a.createProperties(),s,r),i.e(1583).then(i.bind(i,39833)).then(({ArrowMarkerPaneView:e})=>{this._setPaneViews([new e(this,this.model())])})}pointsCount(){return 2}name(){return"Trend Line"}static createProperties(e){const t=new r.DefaultProperty("linetoolarrowmarker",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,92138)).then(e=>e.ArrowMarkerDefinitionsViewModel)}static _configureProperties(e){s.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(o())("")),e.addExclusion("text")}}},59358:(e,t,i)=>{"use strict";var s=i(57649).LineToolTrendLine,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Arrow"}static createProperties(e){var t=new r("linetoolarrow",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolArrow=n},57666:(e,t,i)=>{"use strict";i.d(t,{LineToolBalloon:()=>h});var s=i(28353),r=i(88564),n=i(89857),o=i(2015),a=i.n(o),l=i(37865);const c=(0,s.t)("Comment");class h extends n.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,17952)).then(t=>{this._setPaneViews([new t.BalloonPaneView(this,e)])})}pointsCount(){return 1}name(){return"Balloon"}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new r.DefaultProperty("linetoolballoon",e);return h._configureProperties(t),t}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,60991)).then(e=>e.BalloonDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(a())(c)),e.addExclusion("text"),e.addChild("linesColors",new l.LineToolColorsProperty([e.childs().borderColor])),e.addChild("textsColors",new l.LineToolColorsProperty([e.childs().color]))}}},4676:(e,t,i)=>{"use strict";i.d(t,{BarsMarksContainer:()=>T});var s=i(88537),r=i(98125),n=i(56840),o=i.n(n),a=i(67337),l=i(89857),c=i(2872),h=i.n(c),d=i(29823),u=i(80643),p=i(37667);class _{constructor(e,t){this.source=e,this._rendererFactory=t}update(){}renderer(e,t){return this._rendererFactory(this.source)}}var m=i(16282),g=i(22799),f=i(86441),v=i(84346),S=i(34026);const y={green:{border:"#78C143",background:"#8DDD54"},red:{border:"#CC4545",background:"#ED5A5A"},neutral:{border:"#EAC300", +background:"#FFD400"},yellow:{border:"#EAC300",background:"#FFD400"},blue:{border:"#047ACE",background:"#0496FF"}};class b extends m.ScaledPaneRenderer{constructor(e,t){super(),this._highlightByAuthor=!1,this._barWidth=e.barWidth,this._plates=e.plates,this._tooltip=e.tooltip,this._model=t}hitTest(e){for(let t=this._plates.length-1;t>=0;--t){const i=this._hitTestDot(this._plates[t],e);if(i)return i}return null}_drawImpl(e){var t,i;e.save();for(let e=0;ethis._plateTransform(e));null===(t=this._tooltip)||void 0===t||t.draw(s,e),null===(i=this._tooltip)||void 0===i||i.endDraw(),e.restore()}_drawItem(e,t){e.save(),this._highlightByAuthor&&!t.highlightByAuthor&&(e.globalAlpha=.4);const i=this._dotTransform(t);i.mine?this._drawTriangle(e,i):this._drawDot(e,i),e.restore()}_commonTransform(e){const t=Math.max(1.4*e.minSize,this._barWidth+4),i={up:-1,down:1}[e.direction]*(e.yInverted?-1:1)*(t*(e.order+.6)+.25*t),s=e.y+i,r=(0,u.clone)(e.overridedTheme||y[e.theme]);return r.dotBorderWidth=e.hovered||e.highlightByAuthor?4:2,{id:e.id,theme:r,themeName:e.theme,x:Math.round(e.x+1),y:Math.round(s),yInverted:e.yInverted,pinned:Boolean(e.pinned),hovered:Boolean(e.hovered)}}_dotTransform(e){const t=Math.max(e.minSize/2,.4*this._barWidth),i={...this._commonTransform(e),radius:t,label:e.label,labelFontColor:e.labelFontColor,labelFontSize:Math.ceil(Math.max(10,Math.min(t,20)))};return this._model.updateDotData(e,i)}_plateTransform(e){const t=this._commonTransform(e);return this._model.updatePlateData(e,t)}_drawTriangle(e,t){e.strokeStyle=t.theme.border,e.fillStyle=t.theme.background,e.lineWidth=t.theme.dotBorderWidth||2;const i=t,s=t.radius,r=Math.cos(Math.PI/6)*s,n=Math.sin(Math.PI/6)*s;e.translate(i.x,i.y);"up"===t.direction!==t.yInverted&&e.rotate(Math.PI),t.public||(e.lineWidth/=2),e.beginPath(),e.moveTo(0,-s),e.lineTo(r,n),e.lineTo(-r,n),e.lineTo(0,-s),e.closePath(),e.stroke(),t.public&&e.fill()}_drawDot(e,t){e.strokeStyle=t.theme.border,e.fillStyle=t.theme.background,e.lineWidth=t.theme.dotBorderWidth||2,e.beginPath(),e.arc(t.x,t.y,t.radius,0,2*Math.PI,!0),e.closePath(),e.stroke(),e.fill(),t.label&&t.radius>=7&&(e.textAlign="center",e.textBaseline="middle",e.font="bold "+t.labelFontSize+"px "+g.CHART_FONT_FAMILY,e.fillStyle=t.labelFontColor,e.fillText(t.label,t.x,t.y))}_hitTestDot(e,t){const i=this._dotTransform(e),s=new f.Point(i.x,i.y);return(0,S.pointInCircle)(t,s,Math.max(i.radius,8))?new v.HitTestResult(v.HitTestResult.REGULAR,{activeItem:e}):null}}var w=i(88564);const C=(0,r.getLogger)("Chart.BarsMarksContainer"),P=Math.round(new Date(2037,0,1).getTime()/1e3);class T extends l.LineDataSource{constructor(e,t,i,r){const n=e.onWidget();let c;if(c=n?!e.hideIdeas():!!a.enabled("bars_marks")&&o().getBool("BarsMarksContainer.visibile",!1),t)t.merge({visible:c,frozen:!1});else{t=new w.DefaultProperty("barmarks",{visible:c,frozen:!1})} +t.childs().visible.listeners().subscribe(null,t=>{n||e.isSnapshot()||!a.enabled("bars_marks")||o().setValue("BarsMarksContainer.visibile",!!t.value()),this._tooltip&&this._tooltip.removeAll()}),l.LineDataSource._configureProperties(t),super(e,t,i,r),this.onNeedRepaint=new(h()),this._requests=[],this._marks={},this._loadedRange=null,this._getDataTimeout=null,this._collectedRange=null,this._lastRange=null,this._model.mainSeries().onSymbolIntervalChanged().subscribe(this,this.clearMarks),this._model.mainSeries().dataEvents().symbolResolved().subscribe(this,this.clearMarks),this._model.mainSeries().dataEvents().completed().subscribe(this,()=>{var e,t;const i=this._model.mainSeries().data();if(0===i.size())return;const r=(0,s.ensureNotNull)(i.first()).index,n=(0,s.ensureNotNull)(i.last()).index,o=this.timeScale();this.getData({start:null!==(e=o.indexToTimePoint(r))&&void 0!==e?e:1/0,end:null!==(t=o.indexToTimePoint(n))&&void 0!==t?t:-1/0})}),this._initialize(),this._pinnedTooltips={},this._tooltip=this._createTooltipRenderer()}marks(){return this._marks}updateDotData(e,t){return t}isAvailableInFloatingWidget(){return!1}pinTooltip(e,t){this._pinnedTooltips[e]=t}timeScale(){return this._model.timeScale()}getIntervalInTicks(){const e=this._model.mainSeries().properties().childs().interval.value(),t=d.Interval.parse(e);if(!t.isValid())throw new TypeError("Unexpected interval");return t.isRange()?60:t.inMilliseconds()/1e3}getVisibleTickMarksRange(){var e,t;if(this.timeScale().isEmpty())return{start:0,end:0};const i=(0,s.ensureNotNull)(this.timeScale().visibleBarsStrictRange()),r=(0,s.ensureNotNull)(this.timeScale().points().firstIndex()),n=(0,s.ensureNotNull)(this.timeScale().points().lastIndex());if(!(i.lastBar()>r&&i.firstBar(){var r,n;const o=this._marks[s],a=o.tickmark;a>=(null!==(r=t.start)&&void 0!==r?r:1/0)&&a<=(null!==(n=t.end)&&void 0!==n?n:-1/0)+i&&e.push(o)}),e}getPublishedPlates(){const e={};return window.is_authenticated?(this.getVisibleRangePlates().forEach(t=>{t.is_public&&(this._pinnedTooltips[t.id]||t.user__id===window.user.id)&&(e[t.id]=t)}),e):e}filterDisplayedPlates(e){const t=e.reduce((e,t)=>{const i=this._getIndex(t.tickmark);return null!==i&&(e[i]=e[i]||[],e[i].push(t)),e},{});return Object.keys(t).reduce((e,i)=>{let s=t[i];return s=s.sort((e,t)=>t.views_count-e.views_count),s=s.slice(0,10),e.concat(s)},[])}getViewData(){return{barWidth:this.barWidth(),plates:this.getPlatesViewData(),tooltip:this._tooltip}}barWidth(){return this.timeScale().barSpacing()}getPlatesViewData(){var e,t,i;const r=this._model.mainSeries();if(r.data().isEmpty())return[];const n=(0, +p.isPriceSourceStyle)(r.style())?r.barFunction():null,o=this.filterDisplayedPlates(this.getVisibleRangePlates()),a={},l=null!==(e=this._model.lastHittestData())&&void 0!==e?e:this._model.lastSelectedHittestData(),c=[];for(const e of o){const i=(0,s.ensureNotNull)(this._getIndex(e.tickmark)),r=this._getBar(i);if(null===r)continue;const o=this._layout(e.direction),h=this._theme(e.direction);let d=null;null!==l&&this._model.hoveredSource()===this&&(d=null!==(t=l.activeItem)&&void 0!==t?t:null);const p=null!==d&&d.id===e.id,_=this.timeScale().indexToCoordinate(i),m=this._offset(o,r,n),g=(0,s.ensureNotNull)(this.priceScale()).isInverted();let f=0;i in a||(a[i]={up:0,down:0}),f=a[i][o]++,c.push((0,u.merge)({id:e.id,x:_,y:m,yInverted:g,order:f,direction:o,theme:h,hovered:p,pinned:!0===this._pinnedTooltips[e.id],user__id:e.user__id,label:e.label,labelFontColor:e.labelFontColor||"#444",minSize:e.minSize||5},this._plateViewData(e)))}const h=c.filter(e=>!0===e.hovered);for(let e=0;ee.hovered&&!t.hovered?1:0),c}paneViews(){return this._properties.childs().visible.value()?[new _(this,e=>new b(e.getViewData(),this))]:[]}priceAxisViews(){return null}updateAllViews(){}pointsCount(){return 0}roundRange(e){return{start:Math.round(e.start),end:Math.round(e.end)}}refreshData(){null!==this._lastRange&&this.getData(this._lastRange)}getData(e){(0,u.isNumber)(e.start)&&(0,u.isNumber)(e.end)?(this._lastRange=e,e.end=P,this._pushGetDataStack(Object.assign({},e))):C.logError("Wrong range")}clearMarks(){this._abortAllRequests(),this._marks={},this._loadedRange=null}isUserDeletable(){return!1}_plateViewData(e){return{}}_layout(e){switch(e){default:case 0:return"up";case 1:return"down";case 2:return"up";case 3:case 4:case 5:case 6:return"up"}}_theme(e){switch(e){default:case 0:return"neutral";case 1:return"green";case 2:return"red";case 3:return"yellow";case 4:return"blue";case 5:return"green";case 6:return"red"}}_offset(e,t,i){let r;switch(e){default:case"up":r=null===i?t[2]:i(t);break;case"down":r=null===i?t[3]:i(t)}return(0,s.ensureNotNull)(this.priceScale()).priceToCoordinate(r,(0,s.ensureNotNull)((0,s.ensureNotNull)(this.ownerSource()).firstValue()))}_getIndex(e){return this.timeScale().timePointToIndex(e)}_getBar(e){return this._model.mainSeries().data().valueAt(e)}_rangeDifference(e){return e=Object.assign({start:1/0,end:-1/0},e),this._loadedRange&&(e.startthis._loadedRange.end&&(e.start=this._loadedRange.end)),e}_rangeUnion(e,t){return e=Object.assign({start:1/0,end:-1/0},e),t&&(e.start=Math.min(t.start,e.start),e.end=Math.max(t.end,e.end)),e}_pushGetDataStack(e){(0,u.isNumber)(e.start)&&(0,u.isNumber)(e.end)?(this._getDataTimeout&&clearTimeout(this._getDataTimeout),this._collectedRange=this._rangeUnion(e,this._collectedRange),this._getDataTimeout=setTimeout(()=>{this._getData(this._collectedRange),this._getDataTimeout=this._collectedRange=null +},300)):C.logError("Wrong tickmark range")}_abortAllRequests(){this._requests.forEach(e=>{e.cancel()}),this._requests=[],this._getDataTimeout&&clearTimeout(this._getDataTimeout),this._getDataTimeout=this._collectedRange=null}}},8059:(e,t,i)=>{"use strict";var s;i.d(t,{LineToolBarsPatternMode:()=>s}),function(e){e[e.Bars=0]="Bars",e[e.Line=1]="Line",e[e.OpenClose=2]="OpenClose",e[e.LineOpen=3]="LineOpen",e[e.LineHigh=4]="LineHigh",e[e.LineLow=5]="LineLow",e[e.LineHL2=6]="LineHL2"}(s||(s={}))},98802:(e,t,i)=>{"use strict";i.d(t,{LineToolBarsPattern:()=>S});var s=i(88537),r=i(28353),n=i(24980),o=i(80643),a=i(28296),l=i(88564),c=i(71053),h=i(89857),d=i(8059),u=i(33291);const p=new n.TranslatedString("mirror bars pattern",(0,r.t)("mirror bars pattern")),_=new n.TranslatedString("flip bars pattern",(0,r.t)("flip bars pattern")),m=(0,r.t)("Mirrored"),g=(0,r.t)("Flipped"),f={0:2,1:4,2:1,3:1,4:2,5:3,6:-1},v={0:3,1:4,2:4,3:1,4:2,5:3,6:-1};class S extends h.LineDataSource{constructor(e,t=S.createProperties(),s,r){super(e,t,s,r),this._pattern=[],this._scale=1,this._pointsCoordinatePricesDiff=null;const n=t.childs().mode.value();(0,o.isString)(n)&&t.childs().mode.setValue(parseInt(n)),t.childs().mirrored.listeners().subscribe(this,this._mirror),t.childs().flipped.listeners().subscribe(this,this._flip),t.childs().mode.subscribe(this,this._updateLastPoint),this.version=2,i.e(1583).then(i.bind(i,27106)).then(t=>{this._setPaneViews([new t.BarsPatternPaneView(this,e)])})}pattern(){return this._pattern}isSynchronizable(){return!1}additionalActions(e){return[new a.Action({actionId:"Chart.LineTool.BarsPattern.ToggleMirrored",checked:this.properties().childs().mirrored.value(),checkable:!0,label:m,onExecute:()=>{e.setProperty(this.properties().childs().mirrored,!this.properties().childs().mirrored.value(),p),this.updateAllViews((0,u.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}}),new a.Action({actionId:"Chart.LineTool.BarsPattern.ToggleFlipped",checked:this.properties().childs().flipped.value(),checkable:!0,label:g,onExecute:()=>{e.setProperty(this.properties().childs().flipped,!this.properties().childs().flipped.value(),_),this.updateAllViews((0,u.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}})]}pointsCount(){return 2}state(e){return{...super.state(e),pattern:this._pattern,scale:this._scale,diff:this._pointsCoordinatePricesDiff}}restoreData(e){const{pattern:t=this._pattern,scale:i=this._scale,diff:s=this._pointsCoordinatePricesDiff}=e;this._pattern=t,this._scale=i,this._pointsCoordinatePricesDiff=s}name(){return"Bars Pattern"}hasEditableCoordinates(){return!1}cloneData(e){this._pattern=(0,o.clone)(e._pattern),this._scale=e._scale,this._pointsCoordinatePricesDiff=e._pointsCoordinatePricesDiff}firstPatternPrice(){const{mode:e,flipped:t}=this.properties().childs(),i=this._pattern[0];return e.value()===d.LineToolBarsPatternMode.LineHL2?(i[2]+i[3])/2:t.value()?i[v[e.value()]]:i[f[e.value()]]}lastPatternPrice(){const{mode:e,flipped:t}=this.properties().childs(),i=this._pattern[this._pattern.length-1] +;return e.value()===d.LineToolBarsPatternMode.LineHL2?(i[2]+i[3])/2:t.value()?i[f[e.value()]]:i[v[e.value()]]}addPoint(e,t,i){const r=super.addPoint(e,t,!0);if(r){const e=this._model.mainSeries(),[{index:t},{index:i}]=this.points(),r=(0,s.ensureDefined)(e.nearestIndex(Math.min(t,i),c.PlotRowSearchMode.NearestRight)),n=(0,s.ensureDefined)(e.nearestIndex(Math.max(t,i),c.PlotRowSearchMode.NearestLeft));this._pattern=this._createPattern(r,n),this._pattern.length>0&&(t>i&&this._points.reverse(),this._points[1].price=this._points[0].price+this._patternPriceDiff(),this._points[1].index=this._points[0].index+(n-r),this.normalizePoints(),this.createServerPoints()),this._updatePointsCoordinatePricesDiff()}return r}setPoint(e,t,i,s){1===e&&t.index<=this._points[0].index&&(t.index=this._points[0].index+1),0===e&&t.index>=this._points[1].index&&(t.index=this._points[1].index-1),super.setPoint(e,t,i),this._updatePointsCoordinatePricesDiff()}move(e,t,i,s){super.move(e,t,i,s),this._updatePointsCoordinatePricesDiff()}migrateVersion(e,t,i){if(1===e&&this._pattern.length>0){const e=this._patternPriceDiff();2===this._timePoint.length&&(this._timePoint[1].price=this._timePoint[0].price+e),2===this._points.length&&(this._points[1].price=this._points[0].price+e)}}getScale(){return this._scale=this._calculateScale()}static createProperties(e){const t=new l.DefaultProperty("linetoolbarspattern",e);return S._configureProperties(t),t}_preparePoint(e,t){var i;const r=this._alignPointToRangeOfActualData(e),n=this._model.mainSeries(),o=(0,s.ensureNotNull)(n.bars().valueAt(r.index));this.properties().childs().mode.value()===d.LineToolBarsPatternMode.Bars?r.price=(0,s.ensure)(o[2]):r.price=(0,s.ensure)(o[4]);const a=(0,s.ensureNotNull)(this.priceScale()),l=(0,s.ensure)(null===(i=this.ownerSource())||void 0===i?void 0:i.firstValue()),c=.05*a.height(),h=a.priceToCoordinate(r.price,l)-c;return r.price=a.coordinateToPrice(h,l),super._preparePoint(r,t)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,14725))).BarsPatternDefinitionsViewModel}static _configureProperties(e){h.LineDataSource._configureProperties(e),e.addExclusion("mirrored"),e.addExclusion("flipped")}_calculatePatternCoordinatePricesDiff(){var e;return this._pattern.length>0&&null!==(e=this._priceCoordinateDiff([this.firstPatternPrice(),this.lastPatternPrice()]))&&void 0!==e?e:null}_updatePointsCoordinatePricesDiff(){this._pointsCoordinatePricesDiff=this._calculatePointsCoordinatePricesDiff()}_calculatePointsCoordinatePricesDiff(){var e;if(2===this._points.length){const[{price:t},{price:i}]=this.points();return null!==(e=this._priceCoordinateDiff([t,i]))&&void 0!==e?e:null}return null}_createPattern(e,t){const i=this._model.mainSeries().data(),r=[];for(let n=e;n<=t;n++)r.push((0,o.clone)((0,s.ensureNotNull)(i.valueAt(n))));return r}_switchPointsPrice(){const e=this._points[0].price;this._timePoint[0].price=this._points[0].price=this._points[1].price,this._timePoint[1].price=this._points[1].price=e}_mirror(){ +const e=this._pattern;let t=Math.min(e[0][3],e[0][2]),i=Math.max(e[0][3],e[0][2]);for(let s=1;ss-(e-s);for(let t=0;ts.priceToCoordinate(e,r))}_priceCoordinateDiff(e){const t=this._pricesToCoordinates(e);if(t)return t[1]-t[0]}_calculateScale(){let e=1;if(2===this._points.length){const t=this._calculatePatternCoordinatePricesDiff();if(!t)return e;const i=this._calculatePointsCoordinatePricesDiff();if(t&&null!==i&&(e=+(i/t).toFixed(8)),this._pointsCoordinatePricesDiff!==i){if(this._scale!==e)return this._updateLastPoint(),this._scale;this._updatePointsCoordinatePricesDiff()}}return e}_updateLastPoint(){var e,t;if(this._points.length<2)return;const i=this.priceScale(),s=null!==(t=null===(e=this.ownerSource())||void 0===e?void 0:e.firstValue())&&void 0!==t?t:null;if(null===s||null===i||i.isEmpty())return;const r=this._calculatePatternCoordinatePricesDiff(),n=this._pricesToCoordinates([this.points()[0].price]);null!==r&&n&&(this._timePoint[1].price=this._points[1].price=i.coordinateToPrice(+(this._scale*r).toFixed(8)+n[0],s),this._updatePointsCoordinatePricesDiff())}}},47679:(e,t,i)=>{"use strict";i.d(t,{LineToolBezierCubic:()=>o});var s=i(88537),r=i(88564),n=i(89857);class o extends n.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),this._controlPoints=null,i.e(1583).then(i.bind(i,11933)).then(t=>{this._setPaneViews([new t.BezierCubicPaneView(this,e)])})}pointsCount(){return 2}name(){return"Double Curve"}setLastPoint(e,t){const i=super.setLastPoint(e,t);return this._controlPoints=this._calculateControlPoints(),i}addPoint(e,t,i){const s=super.addPoint(e,t,i);if(s){const e=this._calculateControlPoints();this._controlPoints=null,this._points.push(e[0]),this._points.push(e[1]),i||(this.normalizePoints(),this.createServerPoints()),this._createPointProperty(2),this._createPointProperty(3)}return s}restorePoints(e,t,i){super.restorePoints(e,t,i),this._createPointProperty(2),this._createPointProperty(3)}controlPoints(){return this._controlPoints}static createProperties(e){const t=new r.DefaultProperty("linetoolbeziercubic",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,79462)).then(e=>e.GeneralBezierDefinitionsViewModel)}static _configureProperties(e){ +n.LineDataSource._configureProperties(e)}_calculateControlPoints(){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[1])),i=t.subtract(e).scaled(.5).transposed().scaled(.3),r=e.add(t).scaled(.33),n=e.add(t).scaled(.67),o=r.add(i),a=n.subtract(i);return[(0,s.ensureNotNull)(this.screenPointToPoint(o)),(0,s.ensureNotNull)(this.screenPointToPoint(a))]}}},30899:(e,t,i)=>{"use strict";i.d(t,{LineToolBezierQuadro:()=>o});var s=i(88537),r=i(88564),n=i(89857);class o extends n.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),this._controlPoint=null,i.e(1583).then(i.bind(i,79998)).then(t=>{this._setPaneViews([new t.BezierQuadroPaneView(this,e)])})}pointsCount(){return 2}name(){return"Curve"}setLastPoint(e,t){const i=super.setLastPoint(e,t);return this._controlPoint=this._calculateControlPoint(),i}addPoint(e,t,i){const s=super.addPoint(e,t,i);if(s){const e=this._calculateControlPoint();this._points.push(e),this._controlPoint=null,i||(this.normalizePoints(),this.createServerPoints()),this._createPointProperty(2)}return s}restorePoints(e,t,i){super.restorePoints(e,t,i),this._createPointProperty(2)}controlPoint(){return this._controlPoint}static createProperties(e){const t=new r.DefaultProperty("linetoolbezierquadro",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,79462)).then(e=>e.GeneralBezierDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e)}_calculateControlPoint(){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[1])),i=t.subtract(e).scaled(.5).transposed().scaled(.3),r=e.add(t).scaled(.5).add(i);return(0,s.ensureNotNull)(this.screenPointToPoint(r))}}},27258:(e,t,i)=>{"use strict";i.d(t,{LineToolBrushBase:()=>n});var s=i(88537),r=i(89857);class n extends r.LineDataSource{constructor(){super(...arguments),this._finished=!1}pointsCount(){return-1}finished(){return this._finished}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}hasEditableCoordinates(){return!1}addPoint(e,t,i){if(this._finished)return!0;if(this._lastPoint=null,this._points.length>0){const t=this._points[this._points.length-1],i=(0,s.ensureNotNull)(this.pointToScreenPoint(t));if((0,s.ensureNotNull)(this.pointToScreenPoint(e)).subtract(i).length()<2)return this._finished}return super.addPoint(e),this._finished}restorePoints(e,t,i){super.restorePoints(e,t,i),this._finished=!0}}},43871:(e,t,i)=>{"use strict";i.d(t,{LineToolBrush:()=>o});var s=i(88564),r=i(27258),n=i(37865);class o extends r.LineToolBrushBase{constructor(e,t,i,s){super(e,t||o.createProperties(),i,s),this._loadPaneViews(e)}smooth(){return this.properties().childs().smooth.value()}name(){return"Brush"}hasEditableCoordinates(){return!1}static createProperties(e){const t=new s.DefaultProperty("linetoolbrush",e) +;return o._configureProperties(t),t}_loadPaneViews(e){i.e(1583).then(i.bind(i,87394)).then(t=>{this._setPaneViews([new t.BrushPaneView(this,e)])})}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,288)).then(e=>e.BrushDefinitionsViewModel)}static _configureProperties(e){r.LineToolBrushBase._configureProperties(e),e.addChild("backgroundsColors",new n.LineToolColorsProperty([e.childs().backgroundColor],e.childs().fillBackground))}}},73932:(e,t,i)=>{"use strict";var s;i.d(t,{CalloutConsts:()=>s}),function(e){e[e.RoundRadius=8]="RoundRadius",e[e.TextMargins=2]="TextMargins",e[e.MinWidth=100]="MinWidth"}(s||(s={}))},95536:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(89857).LineDataSource,n=i(62443).DataSource,o=i(2015),a=i(88564).DefaultProperty,l=i(73932).CalloutConsts,c=i(37865).LineToolColorsProperty;class h extends r{constructor(e,t,s,r){super(e,t||h.createProperties(),s,r),this._barOffset=0,this._timeScale=e.timeScale(),i.e(1583).then(i.t.bind(i,86449,19)).then(({CalloutPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 2}name(){return"Callout"}_correctPoints(e,t){var i=this._currentMovingPoint.logical.index-this._startMovingPoint.logical.index,s=this._currentMovingPoint.logical.price-this._startMovingPoint.logical.price,r=e[1];r.index+=i,r.price+=s,e[1]=r}addPoint(e){var t=r.prototype.addPoint.call(this,e);return t&&this._calculateBarOffset(),t}_calculateBarOffset(){this.points().length>1&&(this._barOffset=this.points()[1].index-this.points()[0].index)}setLastPoint(e){var t=super.setLastPoint(e);return 2===this.points().length&&this._calculateBarOffset(),t}setPoint(e,t){switch(e){case 0:super.setPoint(e,t),this._calculateBarOffset();break;case 1:var i=this.properties();if(!i.wordWrapWidth)return;var s=this._points,r=this._dragStartLeftEdgeIndex,n=Math.round((t.index-r)/2);if(isFinite(r)&&isFinite(n)){s[1]={index:r+n,price:s[1].price},this._calculateBarOffset(),this.normalizePoints();var o=this._timeScale.indexToCoordinate(r+2*n)-this._timeScale.indexToCoordinate(r)-l.RoundRadius-l.TextMargins;if(!isFinite(o))return;i.wordWrapWidth.setValue(Math.max(l.MinWidth,o));break}s[1]=t,this._calculateBarOffset(),this.normalizePoints()}}setPoints(e){super.setPoints(e);var t=this.properties();if(t.wordWrapWidth){var i=this._dragStartLeftEdgeIndex,s=Math.round((e[1].index-i)/2);if(this._calculateBarOffset(),this.normalizePoints(),isFinite(i)&&isFinite(s)){var r=this._timeScale.indexToCoordinate(i+2*s)-this._timeScale.indexToCoordinate(i)-l.RoundRadius-l.TextMargins;if(!isFinite(r))return;t.wordWrapWidth.setValue(Math.max(l.MinWidth,r))}}}_onPointsetUpdated(e){super._onPointsetUpdated(e),0!==e.length&&(this._dragStartLeftEdgeIndex=this.points()[1].index)}move(e,t,i){super.move(e,t,i),this._calculateBarOffset()}state(e){var t=r.prototype.state.call(this,e);return t.barOffset=this._barOffset,t}restoreData(e){e.barOffset?this._barOffset=e.barOffset:this._calculateBarOffset(),this._calculatePoint2()}setPriceScale(e){ +n.prototype.setPriceScale.call(this,e),e&&e.priceRange()&&this._calculatePoint2()}template(){var e=r.prototype.template.call(this);return e.text=this.properties().childs().text.value(),e}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_calculatePoint2(){if(!(this._model.lineBeingEdited()===this||this._model.sourcesBeingMoved().includes(this)||this._points.length<2)){var e=this.points()[0],t=this.points()[1];this._points[1]={price:t.price,index:e.index+this._barOffset}}}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,26599))).CalloutDefinitionsViewModel}static createProperties(e){var t=new a("linetoolcallout",e);return h._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.hasChild("text")||e.addChild("text",new o(s("Text"))),e.addExclusion("text"),e.addChild("textsColors",new c([e.childs().color]))}}t.LineToolCallout=h},49802:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),i.e(1583).then(i.t.bind(i,99517,19)).then(({LineToolCircleLinesPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 2}name(){return"Cyclic Lines"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,66819))).CyclicAndSineLinesPatternDefinitionsViewModel}static createProperties(e){var t=new r("linetoolcirclelines",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolCircleLines=n},2039:(e,t,i)=>{"use strict";i.d(t,{LineToolCircle:()=>l});var s=i(2015),r=i.n(s),n=i(88564),o=i(89857),a=i(37865);class l extends o.LineDataSource{constructor(e,t,s,r){const n=t||l.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,13167)).then(({CirclePaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}pointsCount(){return 2}name(){return"Circle"}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new n.DefaultProperty("linetoolcircle",e);return l._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,3410))).EllipseCircleDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(r())("")),e.addChild("linesColors",new a.LineToolColorsProperty([e.childs().color])),e.addChild("linesWidths",new a.LineToolWidthsProperty([e.childs().linewidth])),e.addChild("backgroundsColors",new a.LineToolColorsProperty([e.childs().backgroundColor])),e.addChild("textsColors",new a.LineToolColorsProperty([e.childs().textColor],e.childs().showLabel)),e.addExclusion("linesColors"), +e.addExclusion("linesWidths"),e.addExclusion("backgroundsColors"),e.addExclusion("text")}}},53193:(e,t,i)=>{"use strict";i.d(t,{LineToolCrossLine:()=>a});var s=i(88564),r=i(10198),n=i(67103),o=i(89857);class a extends o.LineDataSource{constructor(e,t,s,o){super(e,t||a.createProperties(),s,o),this._priceAxisView=new r.LineToolHorzLinePriceAxisView(this),this._timeAxisView=new n.LineToolVertLineTimeAxisView(this),i.e(1583).then(i.bind(i,62105)).then(({CrossLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Cross Line"}priceAxisViews(e,t){return this.isSourceHidden()?null:t===this.priceScale()&&this.properties().childs().showPrice.value()&&this._model.paneForSource(this)===e?[this._priceAxisView]:null}timeAxisViews(){return this.isSourceHidden()?null:this.properties().childs().showTime.value()?[this._timeAxisView]:null}updateAllViews(e){super.updateAllViews(e),this._priceAxisView.update(e),this._timeAxisView.update()}canHasAlert(){return!1}lineColor(){return this.properties().childs().linecolor.value()}lineWidth(){return this.properties().childs().linewidth.value()}lineStyle(){return this.properties().childs().linestyle.value()}static createProperties(e){const t=new s.DefaultProperty("linetoolcrossline",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,99645)).then(e=>e.CrossLineDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e)}}},980:(e,t,i)=>{"use strict";i.d(t,{LineToolCypherPattern:()=>n});var s=i(656),r=i(88564);class n extends s.LineTool5PointsPattern{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Cypher Pattern"}static createProperties(e){const t=new r.DefaultProperty("linetoolcypherpattern",e);return n._configureProperties(t),t}_loadPaneViews(e){i.e(1583).then(i.bind(i,58062)).then(t=>{this._setPaneViews([new t.CypherPaneView(this,e)])})}static _configureProperties(e){s.LineTool5PointsPattern._configureProperties(e)}}},85402:(e,t,i)=>{"use strict";i.d(t,{nonThemedFactoryDefaultsBase:()=>l,themedFactoryDefaultsBase:()=>c});var s=i(45112),r=i(24633),n=i(68906),o=i(52418);const a=(0,s.getHexColorByName)("color-tv-blue-500"),l={linewidth:1,fontsize:12,fillLabelBackground:!0,fillBackground:!0,backgroundTransparency:60,intervalsVisibilities:{...o.intervalsVisibilitiesDefaults}},c=new Map([[r.StdTheme.Light,{textcolor:(0,s.getHexColorByName)("color-black"),labelBackgroundColor:(0,s.getHexColorByName)("color-white"),linecolor:a,backgroundColor:(0,n.generateColor)(a,85),shadow:"rgba(0, 0, 0, 0.2)"}],[r.StdTheme.Dark,{textcolor:(0,s.getHexColorByName)("color-white"),labelBackgroundColor:(0,s.getHexColorByName)("color-cold-gray-800"),linecolor:a,backgroundColor:(0,n.generateColor)(a,85),shadow:"rgba(0, 0, 0, 0.4)"}]])},26215:(e,t,i)=>{"use strict";i.d(t,{LineToolDateAndPriceRange:()=>g});var s=i(88537),r=i(89857),n=i(34081),o=i(24633),a=i(45112),l=i(45383),c=i(85402);const h=(0, +a.getHexColorByName)("color-tv-blue-500"),d={...c.nonThemedFactoryDefaultsBase,drawBorder:!1,borderWidth:1},u=new Map([[o.StdTheme.Light,{...c.themedFactoryDefaultsBase.get(o.StdTheme.Light),borderColor:h}],[o.StdTheme.Dark,{...c.themedFactoryDefaultsBase.get(o.StdTheme.Dark),borderColor:h}]]),p=(0,l.extractAllPropertiesKeys)((0,s.ensureDefined)(u.get(o.StdTheme.Light))),_=(0,l.extractAllPropertiesKeys)(d);class m extends l.ThemedDefaultProperty{static create(e){return new m("linetooldateandpricerange",()=>(0,l.factoryDefaultsForCurrentTheme)(d,u),_,p,e)}}class g extends r.LineDataSource{constructor(e,t,s,r){super(e,t||g.createProperties(),s,r),this._volumeCalculator=null,i.e(1583).then(i.bind(i,81226)).then(e=>{this._setPaneViews([new e.DateAndPriceRangePaneView(this,this._model)])})}destroy(){super.destroy(),null!==this._volumeCalculator&&this._volumeCalculator.destroy()}pointsCount(){return 2}name(){return"Date and Price Range"}volume(){if(null===this._volumeCalculator)return NaN;const e=this.points();return this._volumeCalculator.volume(e[0].index,e[1].index)}setOwnerSource(e){e===this._model.mainSeries()&&((0,s.assert)(null===this._volumeCalculator),this._volumeCalculator=new n.SeriesTimeRangeVolumeCalculator(this._model.mainSeries())),super.setOwnerSource(e)}static createProperties(e){const t=m.create(e);return g._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80447))).GeneralDatePriceRangeDefinitionsViewModel}static _configureProperties(e){r.LineDataSource._configureProperties(e)}}},45669:(e,t,i)=>{"use strict";i.d(t,{LineToolDateRange:()=>_});var s=i(88537),r=i(89857),n=i(34081),o=i(24633),a=i(45383),l=i(85402);const c={...l.nonThemedFactoryDefaultsBase,extendTop:!1,extendBottom:!1},h=l.themedFactoryDefaultsBase,d=(0,a.extractAllPropertiesKeys)((0,s.ensureDefined)(h.get(o.StdTheme.Light))),u=(0,a.extractAllPropertiesKeys)(c);class p extends a.ThemedDefaultProperty{static create(e){return new p("linetooldaterange",()=>(0,a.factoryDefaultsForCurrentTheme)(c,h),u,d,e)}}class _ extends r.LineDataSource{constructor(e,t,s,r){super(e,t||_.createProperties(),s,r),this._volumeCalculator=null,i.e(1583).then(i.bind(i,27913)).then(e=>{this._setPaneViews([new e.DateRangePaneView(this,this._model)])})}destroy(){super.destroy(),null!==this._volumeCalculator&&this._volumeCalculator.destroy()}pointsCount(){return 2}name(){return"Date Range"}volume(){if(null===this._volumeCalculator)return NaN;const e=this.points();return this._volumeCalculator.volume(e[0].index,e[1].index)}setOwnerSource(e){e===this._model.mainSeries()&&((0,s.assert)(null===this._volumeCalculator),this._volumeCalculator=new n.SeriesTimeRangeVolumeCalculator(this._model.mainSeries())),super.setOwnerSource(e)}static createProperties(e){const t=p.create(e);return _._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80447))).GeneralDatePriceRangeDefinitionsViewModel} +static _configureProperties(e){r.LineDataSource._configureProperties(e)}}},46512:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),this.version=n.version,i.e(1583).then(i.t.bind(i,56863,19)).then(({DisjointChannelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 3}name(){return"Disjoint Channel"}hasEditableCoordinates(){return!1}addPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.addPoint.call(this,e)}setLastPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.setLastPoint.call(this,e)}setPoint(e,t,i){var s=.5*(this._points[1].price+this._points[2].price);if(i&&i.shift()&&1===e){this._snapPoint45Degree(t,this.points()[0])}if(e<3&&super.setPoint(e,t),0!==e&&2!==e){if(1===e){var r=this._points[1].price-s;this._points[2].price=this._points[1].price-2*r}else if(3===e){r=t.price-this._points[2].price;this._points[0].price=this._points[1].price-r,this._points[0].index=t.index}this.normalizePoints()}}getPoint(e){if(e<3)return s.prototype.getPoint.call(this,e);var t=this._points[0].price-this._points[2].price;return{index:this._points[0].index,price:this._points[1].price-t}}canHasAlert(){return!0}_getAlertPlots(){var e=this._points[0],t=this._points[1],i=[];e.index<=t.index?(i.push(e),i.push(t)):(i.push(t),i.push(e));var s=this._points[2];s.time=t.time,s.index=t.index;var r,n,o,a,l={price:s.price+(t.price-e.price),time:e.time,index:e.index},c=[];s.index<=l.index?(c.push(s),c.push(l)):(c.push(l),c.push(s)),i[0].price>c[0].price?(r=i,n=c):c[0].price>i[0].price||c[1].price>i[1].price?(r=c,n=i):(r=i,n=c);var h=this.properties().extendLeft.value(),d=this.properties().extendRight.value();return e.index<=t.index?(o=h,a=d):(o=d,a=h),[this._linePointsToAlertPlot(r,"Upper",o,a),this._linePointsToAlertPlot(n,"Lower",o,a)]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,14145))).GeneralTrendFiguresDefinitionsViewModel}static createProperties(e){var t=new r("linetooldisjointangle",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}n.version=1,t.LineToolDisjointChannel=n},97917:(e,t,i)=>{"use strict";i.d(t,{LineToolElliott:()=>u,LineToolElliottImpulse:()=>m,LineToolElliottTriangle:()=>f,LineToolElliottTripleCombo:()=>S,LineToolElliottCorrection:()=>w,LineToolElliottDoubleCombo:()=>P});var s=i(28353),r=i(24980),n=i(89857),o=i(28296),a=i(88564),l=i(37865);const c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],h=new r.TranslatedString("change Elliott degree",(0,s.t)("change Elliott degree")),d=[{value:0,title:(0,s.t)("Supermillennium")},{value:1,title:(0,s.t)("Millennium")},{value:2,title:(0,s.t)("Submillennium")},{value:3,title:(0,s.t)("Grand supercycle")},{value:4,title:(0,s.t)("Supercycle")},{value:5,title:(0,s.t)("Cycle")},{value:6, +title:(0,s.t)("Primary")},{value:7,title:(0,s.t)("Intermediate")},{value:8,title:(0,s.t)("Minor",{context:"wave"})},{value:9,title:(0,s.t)("Minute",{context:"wave"})},{value:10,title:(0,s.t)("Minuette")},{value:11,title:(0,s.t)("Subminuette")},{value:12,title:(0,s.t)("Micro")},{value:13,title:(0,s.t)("Submicro")},{value:14,title:(0,s.t)("Minuscule")}];class u extends n.LineDataSource{constructor(e,t,s,r){super(e,null!=t?t:u.createProperties(),s,r),this.version=4,i.e(1583).then(i.bind(i,5761)).then(e=>{this._setPaneViews([new e.ElliottLabelsPaneView(this,this._model)])})}migrateVersion(e,t,i){if(i.properties.hasChild("background")&&i.properties.removeProperty("background"),i.properties.hasChild("backgroundColor")&&i.properties.removeProperty("backgroundColor"),i.properties.hasChild("showBackground")&&i.properties.removeProperty("showBackground"),1===e){const e=Object.assign({},this._timePoint[0]);if(this._timePoint.unshift(e),this._points.length>0){const e=Object.assign({},this._points[0]);this._points.unshift(e)}}}applyTemplate(e){const t=e;delete t.background,delete t.backgroundColor,delete t.showBackground,super.applyTemplate(e)}name(){return"Elliott Labels"}additionalActions(e){return[new o.Action({actionId:"Chart.LineTool.Elliot.ChangeDegreeProperty",label:(0,s.t)("Degree"),subItems:c.map(t=>{const i=d.filter(e=>e.value===t)[0];return new o.Action({actionId:"Chart.LineTool.Elliot.ChangeDegreeProperty",label:i.title,checkable:!0,checked:this.properties().childs().degree.value()===t,onExecute:()=>{e.setProperty(this.properties().childs().degree,t,h)}})})})]}label(e){const t=c.length-this.properties().childs().degree.value()-1,i=Math.floor(t/3);return{group:i,bold:!!(i%2),decoration:["","brackets","circle"][t%3],label:this.labelsGroup()[i][e]}}availableDegreesValues(){return d}static createProperties(e){const t=new a.DefaultProperty("linetoolelliott",e);return u._configureProperties(t),t}static migrateState(e){const t={0:11,1:10,2:9,3:8,4:7,5:6,6:5,7:4,8:3},i={0:11,1:8};"LineToolElliottSubminuette"===e.type&&(e.type="LineToolElliottImpulse",e.state.degree=t[e.state.wavesize]),"LineToolElliottMinor"===e.type&&(e.type="LineToolElliottImpulse",e.state.degree=t[e.state.wavesize]),"LineToolElliottCircle"===e.type&&(e.type="LineToolElliottImpulse",e.state.degree=t[e.state.wavesize]),"LineToolElliottMinorRetr"===e.type&&(e.type="LineToolElliottCorrection",e.state.degree=i[e.state.wavesize]),"LineToolElliottMajorRetr"===e.type&&(e.type="LineToolElliottCorrection",e.state.degree=i[e.state.wavesize])}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,31522))).ElliottPatternDefinitionsViewModel}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.addChild("linesColors",new l.LineToolColorsProperty([e.childs().color])),e.addExclusion("linesColors")}}class p extends u{pointsCount(){return 6}static _configureProperties(e){u._configureProperties(e)}} +const _=[["0","1","2","3","4","5"],["0","i","ii","iii","iv","v"],["0","1","2","3","4","5"],["0","I","II","III","IV","V"],["0","1","2","3","4","5"]];class m extends p{constructor(e,t,i,s){super(e,t||m.createProperties(),i,s)}name(){return"Elliott Impulse Wave (12345)"}labelsGroup(){return _}static createProperties(e){const t=new a.DefaultProperty("linetoolelliottimpulse",e);return m._configureProperties(t),t}static _configureProperties(e){p._configureProperties(e)}}const g=[["0","A","B","C","D","E"],["0","a","b","c","d","e"],["0","A","B","C","D","E"],["0","a","b","c","d","e"],["0","A","B","C","D","E"]];class f extends p{constructor(e,t,i,s){super(e,t||f.createProperties(),i,s)}name(){return"Elliott Triangle Wave (ABCDE)"}labelsGroup(){return g}static createProperties(e){const t=new a.DefaultProperty("linetoolelliotttriangle",e);return f._configureProperties(t),t}static _configureProperties(e){p._configureProperties(e)}}const v=[["0","W","X","Y","X","Z"],["0","w","x","y","x","z"],["0","W","X","Y","X","Z"],["0","w","x","y","x","z"],["0","W","X","Y","X","Z"]];class S extends p{constructor(e,t,i,s){super(e,null!=t?t:S.createProperties(),i,s)}name(){return"Elliott Triple Combo Wave (WXYXZ)"}labelsGroup(){return v}static createProperties(e){const t=new a.DefaultProperty("linetoolelliotttriplecombo",e);return S._configureProperties(t),t}static _configureProperties(e){p._configureProperties(e)}}class y extends u{pointsCount(){return 4}static _configureProperties(e){u._configureProperties(e)}}const b=[["0","A","B","C"],["0","a","b","c"],["0","A","B","C"],["0","a","b","c"],["0","A","B","C"]];class w extends y{constructor(e,t,i,s){super(e,null!=t?t:w.createProperties(),i,s)}name(){return"Elliott Correction Wave (ABC)"}labelsGroup(){return b}static createProperties(e){const t=new a.DefaultProperty("linetoolelliottcorrection",e);return w._configureProperties(t),t}static _configureProperties(e){y._configureProperties(e)}}const C=[["0","W","X","Y"],["0","w","x","y"],["0","W","X","Y"],["0","w","x","y"],["0","W","X","Y"]];class P extends y{constructor(e,t,i,s){super(e,null!=t?t:P.createProperties(),i,s)}name(){return"Elliott Double Combo Wave (WXY)"}labelsGroup(){return C}static createProperties(e){const t=new a.DefaultProperty("linetoolelliottdoublecombo",e);return P._configureProperties(t),t}static _configureProperties(e){y._configureProperties(e)}}},38430:(e,t,i)=>{"use strict";i.d(t,{LineToolEllipse:()=>d});var s=i(88537),r=i(4652),n=i(86441),o=i(2015),a=i.n(o),l=i(89857),c=i(88564),h=i(37865);class d extends l.LineDataSource{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=2,this._dist=null,this._fakePointAdded=!1,i.e(1583).then(i.bind(i,58446)).then(({EllipsePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}startChanging(e,t){if(super.startChanging(e,t),0===e||1===e){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2]));this._dist=(0, +r.distanceToLine)(e,t,i).distance||0}}addPoint(e,t,i){const s=l.LineDataSource.prototype.addPoint.call(this,e,t,i);return s&&(this._fakePointAdded=!1),s}setPoint(e,t,i,o){const a={...t};let l=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),c=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),h=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2]));switch(e){case 0:{if(i&&i.shift()){this._snapPoint45Degree(a,this._points[1]),this._points[0]=a,this._points[2]=this._preparePointInternal(this._points[2],i,!0),this._points[0].index===this._points[1].index&&this._fixVerticalDiameterPoints(this._points[0],this._points[1],this._points[2]);break}l=(0,s.ensureNotNull)(this.pointToScreenPoint(a));const e=c.subtract(l),t=l.add(c).scaled(.5),r=new n.Point(-e.y,e.x).normalized();h=t.add(r.scaled((0,s.ensureNotNull)(this._dist))),this._points[0]=a,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}case 1:{if(i&&i.shift()){this._snapPoint45Degree(a,this._points[0]),this._points[1]=a,this._points[2]=this._preparePointInternal(this._points[2],i,!0),this._points[0].index===this._points[1].index&&this._fixVerticalDiameterPoints(this._points[1],this._points[0],this._points[2]);break}c=(0,s.ensureNotNull)(this.pointToScreenPoint(a));const e=c.subtract(l),t=l.add(c).scaled(.5),r=new n.Point(-e.y,e.x).normalized();h=t.add(r.scaled((0,s.ensureNotNull)(this._dist))),this._points[1]=a,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}case 2:{const e=(0,s.ensureNotNull)(this.pointToScreenPoint(a)),t=(0,r.distanceToLine)(l,c,e).distance,i=c.subtract(l),o=l.add(c).scaled(.5),d=new n.Point(-i.y,i.x).normalized();h=o.add(d.scaled(t)),this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}case 3:{const e=(0,s.ensureNotNull)(this.pointToScreenPoint(a)),t=(0,r.distanceToLine)(l,c,e).distance,i=c.subtract(l),o=l.add(c).scaled(.5),d=new n.Point(-i.y,i.x).normalized();h=o.add(d.scaled(t)),this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}}this.normalizePoints()}pointsCount(){return 3}name(){return"Ellipse"}hasEditableCoordinates(){return!1}migrateVersion(e,t,i){if(1===e&&2===this._points.length){const e=this._points[0].price,t=.5*(this._points[0].price+this._points[1].price);this._points[0]={price:t,index:this._points[0].index},this._points[1]={price:t,index:this._points[1].index},this._points.push({price:e,index:this._points[0].index})}if(1===e&&2===this._timePoint.length){const e=this._timePoint[0].price,t=.5*(this._timePoint[0].price+this._timePoint[1].price);this._timePoint[0].price=t,this._timePoint[1].price=t;const i={price:e,offset:this._timePoint[0].offset,time_t:this._timePoint[0].time_t};this._timePoint.push(i)}}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new c.DefaultProperty("linetoolellipse",e);return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){ +return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,3410))).EllipseCircleDefinitionsViewModel}_preparePoint(e,t){const i=this._preparePointInternal(e,t,!1);return t&&t.shift()&&this._points[0].index===this._points[1].index&&this._fixVerticalDiameterPoints(this._points[1],this._points[0],i),i}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static _configureProperties(e){l.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(a())("")),e.addChild("linesColors",new h.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new h.LineToolColorsProperty([e.childs().textColor],e.childs().showLabel)),e.addExclusion("text")}_preparePointInternal(e,t,i){let r={...e};if(t&&t.shift()){const t=this.points().length;if(!this._fakePointAdded&&3===t&&!i)return r;if(this._fakePointAdded||2===t||i){this._snapPoint45Degree(e,this._points[0]),this._fakePointAdded?this._points[1]=e:i||(this._fakePointAdded=!0,super._addPointIntenal(e));const t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),o=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),a=o.x-t.x,l=o.y-t.y,c=Math.sqrt(a*a+l*l)/2,h=o.subtract(t),d=t.add(o).scaled(.5),u=new n.Point(-h.y,h.x).normalized(),p=d.add(u.scaled(c));r=(0,s.ensureNotNull)(this.screenPointToPoint(p)),(isNaN(r.price)||isNaN(r.index))&&(r=(0,s.ensureNotNull)(this.screenPointToPoint(d)))}}else this._fakePointAdded&&(this._points.splice(1,1),this._fakePointAdded=!1);return r}_fixVerticalDiameterPoints(e,t,i){const r=(0,s.ensureNotNull)(this.pointToScreenPoint(e)),o=(0,s.ensureNotNull)(this.pointToScreenPoint(t)),a=this._model.timeScale(),l=a.indexToCoordinate(e.index),c=a.indexToCoordinate(i.index);let h=2*Math.abs(l-c);h*=t.price>e.price?1:-1,e.price=(0,s.ensureNotNull)(this.screenPointToPoint(new n.Point(r.x,o.y+h))).price}}},39593:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(53664),n=i(88564).DefaultProperty,o=i(71053).PlotRowSearchMode;const a=i(67337);var l=i(59555).sortSourcesPreOrdered.LineToolExecution;class c{constructor(e,t){this._pane=e,this._timeScale=t}static recreateOrderedByBarsSourcesCache(e){c.clearOrderedByBarsSourcesCache();for(var t=c.prototype,i=e.sourcesByGroup().all(),s=0;s_.lastBar()||i<_.firstBar())return{x:-1,y:-1} +;for(var m=this._cachedByBarIndexOrderedExecutions[i]||this._pane.sourcesByGroup().all(),g=m.length-1;g>=0;--g){var f=m[g];if(f instanceof d&&f._adapter._index===i&&f._adapter.getDirection()===r){if(f===e._line)break;var v=f._adapter._height();s=n?s+v:s-v}}return{x:t.indexToCoordinate(i),y:s}}}c.prototype._cachedByBarIndexOrderedExecutions={};class h{constructor(e){this._line=e}_height(){var e=this.getArrowHeight(),t=this.getArrowSpacing();this.getText()&&r.fontHeight(this.getFont());return e+t+0+10}getIndex(){return this._line._model.timeScale().baseIndex()-this._line.points()[0].index}setIndex(e){var t=this._line._model.timeScale().baseIndex()-Math.abs(e);this._line.startMoving({logical:this._line.points()[0]});var i=TradingView.merge({},this._line.points()[0]);return i.index=t,this._line.move({logical:i}),this._line.endMoving(),this}getTime(){return this._unixtime}setTime(e){return this._unixtime=e,this._line.restorePoints([{offset:0,price:this.getPrice(),time_t:this._unixtime}],[]),this._line.createServerPoints(),this}getPrice(){return this._line.points().length>0?this._line.points()[0].price:this._line._timePoint.length>0?this._line._timePoint[0].price:void 0}setPrice(e){return this._line.points().length>0&&(this._line.points()[0].price=e),this._line._timePoint.length>0&&(this._line._timePoint[0].price=e),this}getText(){return this._line.properties().text.value()}setText(e){return this._line.properties().text.setValue(e||""),this._line.updateAllViewsAndRedraw(),this}getArrowHeight(){return this._line.properties().arrowHeight.value()}setArrowHeight(e){return this._line.properties().arrowHeight.setValue(e||5),this}getArrowSpacing(){return this._line.properties().arrowSpacing.value()}setArrowSpacing(e){return this._line.properties().arrowSpacing.setValue(e||1),this}getDirection(){return this._line.properties().direction.value()}setDirection(e){return this._line.properties().direction.setValue(e||"buy"),this}getArrowColor(){var e=this._line.properties();return"buy"===this.getDirection()?e.arrowBuyColor.value():e.arrowSellColor.value()}setArrowColor(e){return"buy"===this.getDirection()?this.setArrowBuyColor(e):this.setArrowSellColor(e),this}setArrowBuyColor(e){return this._line.properties().arrowBuyColor.setValue(e),this}setArrowSellColor(e){return this._line.properties().arrowSellColor.setValue(e),this}getTextColor(){return r.getColorFromProperties(this._line.properties().textColor,this._line.properties().textTransparency)}setTextColor(e){return r.setColorToProperties(e,this._line.properties().textColor,this._line.properties().textTransparency),this}getFont(){return r.getFontFromProperties(this._line.properties().fontFamily,this._line.properties().fontSize,this._line.properties().fontBold,this._line.properties().fontItalic)}setFont(e){return r.setFontToProperties(e,this._line.properties().fontFamily,this._line.properties().fontSize,this._line.properties().fontBold,this._line.properties().fontItalic),this}setTooltip(e){return null==e?e="":e+="",this._line.properties().tooltip.setValue(e),this}getTooltip(){ +return this._line.properties().tooltip.value()}remove(){this._line._model.removeSource(this._line),delete this._line}getPoints(){return this._line.points()}}class d extends s{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this._adapter=new h(this),this.customization.forcePriceAxisLabel=!1,this.customization.disableErasing=!0,this.customization.showInObjectTree=!1,this.setSelectionEnabled(!1),i.e(1583).then(i.t.bind(i,90216,19)).then(({ExecutionPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}zorder(){return l}isSpeciallyZOrderedSource(){return!0}pointsCount(){return d.POINTS_COUNT}name(){return"Execution"}hasContextMenu(){return!1}state(){return null}updateAllViews(){return this._isVisible()?s.prototype.updateAllViews.call(this):null}priceAxisViews(e,t){return this._isVisible()?s.prototype.priceAxisViews.call(this,e,t):null}_isVisible(){return this._model.properties().tradingProperties.showExecutions.value()}paneViews(){return TradingView.printing&&!a.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showExecutions.value()?s.prototype.paneViews.call(this):null}userEditEnabled(){return!1}showInObjectTree(){return!1}cloneable(){return!1}copiable(){return!1}isSynchronizable(){return!1}static createProperties(e){var t=new n("linetoolexecution",e,!1,!1);return d._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}d.POINTS_COUNT=1,t.ExecutionsPositionController=c,t.LineToolExecution=d},41239:(e,t,i)=>{"use strict";var s=i(57649).LineToolTrendLine,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Extended Line"}static createProperties(e){var t=new r("linetoolextended",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolExtended=n},48917:(e,t,i)=>{"use strict";i.d(t,{LineToolFibChannel:()=>h});var s=i(88537),r=i(28353),n=i(24980),o=i(89857),a=i(34580),l=i(37865);const c=new n.TranslatedString("erase level line",(0,r.t)("erase level line"));class h extends o.LineDataSource{constructor(e,t,s,r){super(e,t||h.createProperties(),s,r),this.version=2,i.e(1583).then(i.bind(i,74042)).then(({FibChannelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return 24}migrateVersion(e,t,i){i.properties.removeProperty("reverse")}pointsCount(){return 3}name(){return"Fib Channel"}processErase(e,t){const i="level"+t,s=this.properties().child(i).childs().visible;e.setProperty(s,!1,c)}static createProperties(e){const t=new a.LevelsProperty("linetoolfibchannel",e,!1,{range:[1,24],names:["coeff","color","visible"]});return h._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34670))).FibDrawingsWith24LevelsDefinitionsViewModel}static _configureProperties(e){o.LineDataSource._configureProperties(e);const t=[];for(let i=1;i<=24;i++){const r=(0,s.ensureDefined)(e.child("level"+i));t.push((0,s.ensureDefined)(r.child("color")))} +e.addChild("linesColors",new l.LineToolColorsProperty(t))}}},54502:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.t.bind(i,24227,19)).then(({FibCirclesPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 2}name(){return"Fib Circles"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetoolfibcircles",e,!1,{range:[1,11]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,9948))).FibCirclesDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,t.LineToolFibCircles=d},44860:(e,t,i)=>{"use strict";i.d(t,{LineToolFibRetracement:()=>c});var s=i(28353),r=i(24980),n=i(34580),o=i(89857),a=i(37865);const l=new r.TranslatedString("erase level line",(0,s.t)("erase level line"));class c extends o.LineDataSource{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),this.version=2,i.e(1583).then(i.bind(i,22567)).then(e=>{this._setPaneViews([new e.FibRetracementPaneView(this,this._model)])})}levelsCount(){return 24}pointsCount(){return 2}name(){return"Fib Retracement"}migrateVersion(e){1===e&&this.properties().childs().extendLines.setValue(!0)}processErase(e,t){const i="level"+t,{visible:s}=this.properties().childs()[i].childs();e.setProperty(s,!1,l)}fibLevelsBasedOnLogScale(){var e;return this.properties().childs().fibLevelsBasedOnLogScale.value()&&!!(null===(e=this.priceScale())||void 0===e?void 0:e.isLog())}static createProperties(e){const t=new n.LevelsProperty("linetoolfibretracement",e,!1,{range:[1,24],names:["coeff","color","visible"]});return c._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34670))).FibDrawingsWith24LevelsDefinitionsViewModel}static _configureProperties(e){var t;const i=e;super._configureProperties(i);const s=[i.childs().trendline.childs().linewidth,i.childs().levelsStyle.childs().linewidth],r=[i.childs().trendline.childs().color];for(let e=1;e<=24;e++){const s=null===(t=i.child("level"+e))||void 0===t?void 0:t.child("color");r.push(s)}i.addChild("linesColors",new a.LineToolColorsProperty(r)),i.addChild("linesWidths",new a.LineToolWidthsProperty(s))}}},19857:(e,t,i)=>{"use strict" +;var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.bind(i,52832)).then(({FibSpeedResistanceArcsPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 2}name(){return"Fib Speed Resistance Arcs"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetoolfibspeedresistancearcs",e,!1,{range:[1,11]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,17770))).FibSpeedResistanceArcsDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,t.LineToolFibSpeedResistanceArcs=d},70673:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865).LineToolColorsProperty,l=new r("erase level line",s("erase level line"));class c extends n{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),i.e(1583).then(i.bind(i,95294)).then(({FibSpeedResistanceFanPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}hLevelsCount(){return c.HLevelsCount}vLevelsCount(){return c.VLevelsCount}pointsCount(){return 2}name(){return"Fib Speed Resistance Fan"}processErase(e,t){var i="h"===t.type?"hlevel"+t.index:"vlevel"+t.index,s=this.properties()[i].visible;e.setProperty(s,!1,l)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,51697))).FibSpeedResistanceFanDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static createProperties(e){void 0!==e&&void 0===e.reverse&&(e.reverse=!0);var t=new o("linetoolfibspeedresistancefan",e,!1,{range:[1,7],prefixes:["h","v"],names:["coeff","color","visible"]});return c._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);var t=[e.child("grid").child("color")];for(let i=1;i<=c.HLevelsCount;i++)t.push(e.child("hlevel"+i).child("color"));for(let i=1;i<=c.VLevelsCount;i++)t.push(e.child("vlevel"+i).child("color"));e.addChild("linesColors",new a(t)),e.addExclusion("linesColors")}}c.HLevelsCount=7,c.VLevelsCount=7,t.LineToolFibSpeedResistanceFan=c},29638:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),i.e(1583).then(i.bind(i,22115)).then(({FibSpiralPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 2} +name(){return"Fib Spiral"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,29216))).FibSpiralDefinitionsViewModel}static createProperties(e){var t=new r("linetoolfibspiral",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolFibSpiral=n},63835:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=d.version,i.e(1583).then(i.t.bind(i,28550,19)).then(({FibTimeZonePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}migrateVersion(e,t,i){if(1===e){i.properties.level1.color.setValue(i.properties.baselinecolor.value());for(var s=2;s<=11;s++)i.properties["level"+s].color.setValue(i.properties.linecolor.value());for(s=1;s<=11;s++)i.properties["level"+s].linewidth.setValue(i.properties.linewidth.value()),i.properties["level"+s].linestyle.setValue(i.properties.linestyle.value())}}pointsCount(){return 2}name(){return"Fib Time Zone"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,45384))).FibTimezoneDefinitionsViewModel}static createProperties(e){var t=new o("linetoolfibtimezone",e,!1,{range:[1,11]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[],i=[],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));for(t=[],i=[],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.version=2,d.LevelsCount=11,t.LineToolFibTimeZone=d},53804:(e,t,i)=>{"use strict";i.d(t,{LineToolFibWedgeBase:()=>o});var s=i(88537),r=i(86441),n=i(89857);class o extends n.LineDataSource{pointsCount(){return 3}hasEditableCoordinates(){return!1}setPoint(e,t){if(super.setPoint(e,t),!this._recursiveGuard)try{if(this._recursiveGuard=!0,2===e){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0]));let t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));const i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2])).subtract(e).length();let n=t.subtract(e);n.length()<=0&&(n=new r.Point(1,0)),t=e.add(n.normalized().scaled(i));const o=(0,s.ensureNotNull)(this.screenPointToPoint(t)),a=this._pointsProperty.childs().points[1];a.childs().price.setValue(o.price),a.childs().bar.setValue(o.index)}else{const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));let i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2])) +;const n=t.subtract(e).length();let o=i.subtract(e);o.length()<=0&&(o=new r.Point(1,0)),i=e.add(o.normalized().scaled(n));const a=(0,s.ensureNotNull)(this.screenPointToPoint(i)),l=this._pointsProperty.childs().points[2];l.childs().price.setValue(a.price),l.childs().bar.setValue(a.index)}}finally{this._recursiveGuard=!1}}addPoint(e){if(2===this._points.length){const t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));let r=(0,s.ensureNotNull)(this.pointToScreenPoint(e));const n=i.subtract(t).length(),o=r.subtract(t).normalized();r=t.add(o.scaled(n));const a=(0,s.ensureNotNull)(this.ownerSource()),l=(0,s.ensureNotNull)(a.firstValue()),c=(0,s.ensureNotNull)(this.priceScale()).coordinateToPrice(r.y,l);e={index:Math.round(this._model.timeScale().coordinateToIndex(r.x)),price:c}}return n.LineDataSource.prototype.addPoint.call(this,e)}}},41668:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(53804).LineToolFibWedgeBase,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.t.bind(i,82522,19)).then(({FibWedgePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}isSynchronizable(){return!1}levelsCount(){return d.LevelsCount}name(){return"Fib Wedge"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetoolfibwedge",e,!1,{range:[1,11]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,90156))).FibWedgeDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,t.LineToolFibWedge=d},53342:(e,t,i)=>{"use strict";i.d(t,{LineToolFlagMark:()=>a});var s=i(86441),r=i(89857),n=i(88564),o=i(37865);class a extends r.LineDataSource{constructor(e,t,r,n){super(e,t||a.createProperties(),r,n),i.e(1583).then(i.bind(i,16089)).then(({FlagMarkPaneView:e})=>{const t=new e(this,this.model());t.setAnchors(new s.Point(0,0)),this._setPaneViews([t])})}pointsCount(){return 1}name(){return"Flag Mark"}static createProperties(e){e&&void 0===e.flagColor&&(e.flagColor="#318757");const t=new n.DefaultProperty("linetoolflagmark",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,18661)).then(e=>e.FlagMarkDefinitionsViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("backgroundsColors",new o.LineToolColorsProperty([e.childs().flagColor])), +e.addExclusion("backgroundsColors")}}a.version=2},47047:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),this.version=n.version,i.e(1583).then(i.t.bind(i,82830,19)).then(({FlatBottomPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 3}name(){return"Flat Bottom"}hasEditableCoordinates(){return!1}addPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.addPoint.call(this,e)}setLastPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.setLastPoint.call(this,e)}setPoint(e,t,i){if(i&&i.shift()&&1===e){this._snapPoint45Degree(t,this.points()[0])}if(2===e)this._points[1].index=t.index;else if(3===e)return this._points[0].index=t.index,this._points[2].price=t.price,void this.normalizePoints();super.setPoint(e,t)}getPoint(e){return e<3?s.prototype.getPoint.call(this,e):3===e?{index:this._points[0].index,price:this._points[2].price}:void 0}canHasAlert(){return!0}_getAlertPlots(){var e=this._points[0],t=this._points[1],i=[];e.index<=t.index?(i.push(e),i.push(t)):(i.push(t),i.push(e));var s=this._points[2];s.time=t.time,s.index=t.index;var r,n,o,a,l={price:s.price,time:e.time,index:e.index},c=[];s.index<=l.index?(c.push(s),c.push(l)):(c.push(l),c.push(s)),i[0].price>c[0].price?(r=i,n=c):c[0].price>i[0].price||c[1].price>i[1].price?(r=c,n=i):(r=i,n=c);var h=this.properties().extendLeft.value(),d=this.properties().extendRight.value();return e.index<=t.index?(o=h,a=d):(o=d,a=h),[this._linePointsToAlertPlot(r,"Upper",o,a),this._linePointsToAlertPlot(n,"Lower",h,a)]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,14145))).GeneralTrendFiguresDefinitionsViewModel}static createProperties(e){var t=new r("linetoolflatbottom",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}n.version=1,t.LineToolFlatBottom=n},50301:(e,t,i)=>{"use strict";i.d(t,{createPropertiesObject:()=>a});var s=i(80643),r=i(34580);function n(e,t,i){var r;for(const n of Object.keys(null!==(r=e.levels)&&void 0!==r?r:{}))if(e.levels[n]&&(0,s.isSameType)(e.levels[n],t.typecheck())){let s=t.tpl();i.names.forEach((i,r)=>{s=t.fill(""+r,i,e.levels[n],s)}),e.levels[n]=s}return e}class o extends r.LevelsProperty{constructor(e,t){super(e,t,!1,{names:["width","color","visible"]},n)}}function a(e,t){return new o(e,t)}},52870:(e,t,i)=>{"use strict";i.d(t,{LineToolGannComplex:()=>d});var s=i(86441),r=i(88537),n=i(51264),o=i(89857),a=i(22423),l=i(50301),c=i(37865),h=i(22799);class d extends o.LineDataSource{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=2,this._scaleRatioFormatter=new n.LimitedPrecisionNumericFormatter(7),this.version=2,i.e(1583).then(i.bind(i,72e3)).then(({GannComplexPaneView:e})=>{this._setPaneViews([new e(this,this.model())])}) +;const o=this.properties();this._adjustScaleRatio(o),o.subscribe(this,this._adjustScaleRatio),o.childs().scaleRatio.subscribe(this,this._correctFirstPoint),this._syncStateExclusions=["scaleRatio"],o.onRestoreFactoryDefaults().subscribe(this,this._handleRestoringFactoryDefaults),this._onTemplateApplying.subscribe(this,this._handleTemplateApplying),this._onTemplateApplied.subscribe(this,this._correctFirstPoint)}migrateVersion(e,t,i){1===e&&(this._points.length>=this.pointsCount()?setTimeout(()=>this._migratePoint()):this._timePoint.length>=this.pointsCount()&&this._pointAdded.subscribe(this,this._migratePoint))}destroy(){const e=this.properties();e.unsubscribe(this,this._adjustScaleRatio),e.childs().scaleRatio.unsubscribe(this,this._correctFirstPoint),e.onRestoreFactoryDefaults().unsubscribe(this,this._handleRestoringFactoryDefaults),this._onTemplateApplying.unsubscribe(this,this._handleTemplateApplying),this._onTemplateApplied.unsubscribe(this,this._correctFirstPoint),super.destroy()}pointsCount(){return 2}name(){return"Gann Square"}addPoint(e,t,i){this._points.length>1&&this._points.pop();const s=super.addPoint(e,t,i),n=this.priceScale();return!(0,r.ensureNotNull)(n).isLog()&&s&&this._correctFirstPoint(),s}setPoint(e,t,i){super.setPoint(e,t,i),void 0!==i&&i.shift()?this._correctPoint(e):this._correctScaleRatio()}setLastPoint(e,t){const i=this.priceScale();return(0,r.ensureNotNull)(i).isLog()||(this._points[1]=e,this._correctPoint(1)),super.setLastPoint(e,t)}isReversed(){return this.properties().childs().reverse.value()}levelsCount(){return this.properties().childs().levels.childCount()}levels(){const e=[],t=this.properties().childs(),i=t.levels.childCount();for(let s=0;se.GannComplexAndFixedDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.addExclusion("scaleRatio");const t=[],i=[],s=e.childs();{const e=s.levels.childCount();for(let r=0;r0,o=s.index-r.index>0;let a=n&&!o||!n&&o?-1:1;0===e&&(a=-a),s.price=r.price+a*t*i,this._pointChanged.fire(e)}this.normalizePoints()}_correctFirstPoint(){this._correctPoint(this.isReversed()?0:1)}_handleRestoringFactoryDefaults(){this.properties().childs().scaleRatio.setValue(this._getAdjustedScaleRatio())}_handleTemplateApplying(e){""===e.scaleRatio&&(e.scaleRatio=this._getAdjustedScaleRatio())}_migratePoint(){if(this.points().length0){s=s.normalized();let e=Math.acos(s.x);return s.y>0&&(e=-e),e}return null}}},5094:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.bind(i,66323)).then(({GannFanPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 2}name(){return"Gann Fan"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,73511))).GannFanDefinitionsViewModel}static createProperties(e){var t=new o("linetoolgannfan",e,!1,{range:[1,9]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[],i=[],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=9,t.LineToolGannFan=d},33209:(e,t,i)=>{"use strict";i.d(t,{LineToolGannFixed:()=>l});var s=i(86441),r=i(88537),n=i(89857),o=i(37865),a=i(50301);class l extends n.LineDataSource{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this._constructor="LineToolGannFixed",i.e(1583).then(i.bind(i,93695)).then(({GannFixedPaneView:e})=>{this._setPaneViews([new e(this,this.model())])}),this.properties().childs().reverse.subscribe(this,this._reversePoints)}pointsCount(){return 2}name(){return"Gann Square Fixed"}axisPoints(){const e=this.points(),t=this.getScreenPoints();return e.length<2||t.length<2?[]:[e[0],(0,r.ensureNotNull)(this.screenPointToPoint(t[1]))]}getScreenPoints(){const e=this.points();if(e.length<2)return[];const t=this._calcAngle();if(null===t)return[];const[i,n]=e,o=(0,r.ensureNotNull)(this.pointToScreenPoint(i)),a=(0,r.ensureNotNull)(this.pointToScreenPoint(n)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),c=new s.Point(Math.cos(t),-Math.sin(t)),h=c.normalized(),d=h.x<0?-1:1,u=h.y<0?-1:1;return[o.addScaled(c,l),o.add(new s.Point(5*l*d,5*l*u))]}levelsCount(){return this.properties().childs().levels.childCount()}levels(){const e=[],t=this.properties().childs(),i=t.levels.childCount();for(let s=0;se.GannComplexAndFixedDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e);const t=[],i=[],s=e.childs();{const e=s.levels.childCount();for(let r=0;r0&&(o=-o),o}_reversePoints(){const[e,t]=this._points;this._points[0]=t,this._points[1]=e,this.normalizePoints(),this.restart()}}},97433:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(34580).LevelsProperty,n=i(37865).LineToolColorsProperty,o=[4.5,9,11.25,18,22.5,36,45],a=function(){for(var e=[],t=o.length-1,i=1,s=0,r=0;r<1e10;)r=o[s]*i,e.push(Math.round(r)),e.push(Math.ceil(-r)),s===t-1&&(i*=10),s=(s+1)%t;return e.sort((function(e,t){return et?1:0})),e}();class l extends s{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),i.e(1583).then(i.t.bind(i,50527,19)).then(({GannSquarePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}hLevelsCount(){return l.HLevelsCount}vLevelsCount(){return l.VLevelsCount}pointsCount(){return 2}name(){return"Gann Box"}_alignPriceOnPattern(e,t){var i=Math.round(1e6*(e.price-t.price))/1e6;if(0===i)return t.price;for(var s=o[0],r=o[o.length-1],n=1,a=Math.abs(i);a=0&&!(o[c]*n=0?l:-l),e}_alignTimeOnPattern(e,t){var i=e.index-t.index;if(0===i)return 0;for(var s=a.length-2;s>=0&&!(a[s]0?1:0,e.index=t.index+a[s],e}_alignPointsFixedIncrement(e,t){return this._alignTimeOnPattern(e,t),this._alignPriceOnPattern(e,t),e}_preparePoint(e,t){return t&&t.shift()&&0!==this._points.length&&this._alignPointsFixedIncrement(e,this._points[0]),super._preparePoint(e,t)}getPoint(e){ +if(e<2)return super.getPoint(e);var t=null;switch(e){case 2:case 3:var i=this.points();if(i.length===this.pointsCount()){var s=i[0].index,r=i[1].price;3===e&&(s=i[1].index,r=i[0].price),t={index:s,price:r}}}return t}setPoint(e,t,i){if(i&&i.shift()){var s=e%2==0?this._points[1]:this._points[0];this._alignPointsFixedIncrement(t,s)}switch(e){case 2:this._points[0].index=t.index,this._points[1].price=t.price;break;case 3:this._points[1].index=t.index,this._points[0].price=t.price;break;default:super.setPoint(e,t,i)}}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,58026))).GannSquareDefinitionsViewModel}static createProperties(e){var t=new r("linetoolgannsquare",e,!1,{range:[1,7],prefixes:["h","v"],names:["coeff","color","visible"]});return l._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e);for(var t=[e.child("color"),e.child("fans").child("color")],i=1;i<=l.HLevelsCount;i++)t.push(e.child("hlevel"+i).child("color"));for(i=1;i<=l.VLevelsCount;i++)t.push(e.child("vlevel"+i).child("color"));e.addChild("linesColors",new n(t)),e.addExclusion("linesColors")}}l.HLevelsCount=7,l.VLevelsCount=7,t.LineToolGannSquare=l},82241:(e,t,i)=>{"use strict";i.d(t,{LineToolGhostFeed:()=>c});var s=i(88564),r=i(89857),n=i(88537),o=i(80643);class a{constructor(e,t,i){this._source=e,this._segmentIndex=t,this._bars=null!=i?i:[]}setBars(e){this._bars=e}clone(e){return new a(e,this._segmentIndex,(0,o.clone)(this._bars))}generate(){this._bars=[];const e=this._source.points(),t=e[this._segmentIndex],i=e[this._segmentIndex+1];if(!t||!i||t.index===i.index)return;const s=this._segmentIndex?t.index+1:t.index,r=Math.sign(i.index-t.index);for(let e=s;e!==i.index;e+=r)this._bars.push(this._createBar())}bars(){return this._bars}setSize(e){if(e{this._setPaneViews([new t.GhostFeedPaneView(this,e)])})} +isSynchronizable(){return!1}destroy(){this.properties().onRestoreFactoryDefaults().unsubscribe(this,this._handleRestoringFactoryDefaults),super.destroy()}propertiesChanged(){super.propertiesChanged(),this._currentAverageHL===this.properties().childs().averageHL.value()&&this._currentVariance===this.properties().childs().variance.value()||this._regenerate()}pointsCount(){return-1}name(){return"Ghost Feed"}segmentBars(e){return this._segments[e].bars()}segments(){return this._segments}generateBars(e){this._segments.length<=e&&this._segments.push(new a(this,e)),this._segments[e].generate()}addPoint(e,t,i){if(this._finished)return!0;if(this._points.length>0){const i=this._points[this._points.length-1];if(!(null==t?void 0:t.isApiEvent())&&i.index===e.index){this._lastPoint=null,this.normalizePoints(),this.createServerPoints();for(let e=0;e1&&this.generateBars(this._points.length-2),s}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}setPoint(e,t,i,s){if(super.setPoint(e,t,i),e>0){const i=this.points()[e-1],s=t.index-i.index;this._segments[e-1].setSize(Math.abs(s))}if(e({bars:[...e.bars()]})),t}restoreData(e){e.segments&&(this._segments=e.segments.map((e,t)=>new a(this,t,e.bars))),this._currentAverageHL=this.properties().childs().averageHL.value(),this._currentVariance=this.properties().childs().variance.value()}onData(e){super.onData(e);if(!this.pointsProperty().childs().points.child("0"))for(let e=0;ee.clone(this))}startMoving(e,t,i,s){super.startMoving(e,t,i,s),this._preparePixelSegments()}move(e,t,i,s){super.move(e,t,i,s),this._restoreSegmentsFromPixels()}endMoving(e,t){return this._segmentsPixelsWhileMoving=null,super.endMoving(e,t)}static createProperties(e){const t=new s.DefaultProperty("linetoolghostfeed",e);return c._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,65818))).GhostFeedDefinitionsViewModel}_handleRestoringFactoryDefaults(){const e=Math.round(this._calculateATR());this.properties().childs().averageHL.setValue(e)}_regenerate(){this._currentAverageHL=this.properties().childs().averageHL.value(),this._currentVariance=this.properties().childs().variance.value(),this._segments.forEach(e=>e.generate()),this.updateAllViews((0,l.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}_calculateATR(){const e=this._model.mainSeries(),t=[];e.bars().each((e,i)=>{const s=i[2],r=i[3] +;return null!=s&&null!=r&&t.push(s-r),!1});let i=0===t.length?0:t.reduce((e,t)=>e+t,0)/t.length;return i*=e.base(),i}_preparePixelSegments(){var e,t;const i=this.priceScale(),s=null!==(t=null===(e=this.ownerSource())||void 0===e?void 0:e.firstValue())&&void 0!==t?t:null;if(null===i||null===s||i.isEmpty()||!i.isLog())return;const r=this.points();this._segmentsPixelsWhileMoving=this._segments.map((e,t)=>{const n=r[t].price,o=r[t+1].price,a=i.priceToCoordinate(n,s),l=(i.priceToCoordinate(o,s)-a)/(e.bars().length-1);return{bars:e.bars().map((e,t)=>{const r=a+t*l,n=i.coordinateToPrice(r,s);return{open:i.priceToCoordinate(n+e.o,s)-r,high:i.priceToCoordinate(n+e.h,s)-r,low:i.priceToCoordinate(n+e.l,s)-r,close:i.priceToCoordinate(n+e.c,s)-r}})}})}_restoreSegmentsFromPixels(){var e,t;const i=this.priceScale(),s=null!==(t=null===(e=this.ownerSource())||void 0===e?void 0:e.firstValue())&&void 0!==t?t:null;if(null===i||null===s||null===this._segmentsPixelsWhileMoving)return;const r=this.points();this._segmentsPixelsWhileMoving.forEach((e,t)=>{const n=this._segments[t],o=r[t].price,a=r[t+1].price,l=i.priceToCoordinate(o,s),c=(i.priceToCoordinate(a,s)-l)/(e.bars.length-1),h=n.bars().map((t,r)=>{const n=e.bars[r],o=l+r*c,a=i.coordinateToPrice(o,s);return{...t,o:i.coordinateToPrice(n.open+o,s)-a,h:i.coordinateToPrice(n.high+o,s)-a,l:i.coordinateToPrice(n.low+o,s)-a,c:i.coordinateToPrice(n.close+o,s)-a}});n.setBars(h)})}}},90378:(e,t,i)=>{"use strict";i.d(t,{LineToolHeadAndShoulders:()=>o});var s=i(88564),r=i(89857),n=i(37865);class o extends r.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,75545)).then(t=>{this._setPaneViews([new t.LineToolHeadAndShouldersPaneView(this,e)])})}pointsCount(){return 7}name(){return"Head and Shoulders"}static createProperties(e){const t=new s.DefaultProperty("linetoolheadandshoulders",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,93262)).then(e=>e.PatternWithBackgroundDefinitionViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new n.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new n.LineToolColorsProperty([e.childs().textcolor]))}}},65649:(e,t,i)=>{"use strict";i.d(t,{LineToolHighlighter:()=>n});var s=i(88564),r=i(27258);class n extends r.LineToolBrushBase{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s),this._loadPaneViews(e)}smooth(){return this.properties().childs().smooth.value()}name(){return"Highlighter"}static createProperties(e){const t=new s.DefaultProperty("linetoolhighlighter",e);return n._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,19461)).then(e=>e.HighlighterDefinitionsViewModel)}_loadPaneViews(e){i.e(1583).then(i.bind(i,94672)).then(t=>{this._setPaneViews([new t.HighlighterPaneView(this,e)])})}static _configureProperties(e){ +r.LineToolBrushBase._configureProperties(e)}}},10198:(e,t,i)=>{"use strict";i.d(t,{LineToolHorzLinePriceAxisView:()=>r});var s=i(97938);class r extends s.PriceAxisView{constructor(e){super(),this._source=e}_updateRendererData(e,t,i){e.visible=!1;const s=this._source.points(),r=this._source.priceScale();if(0===s.length||null===r||r.isEmpty())return;const n=s[0];if(!isFinite(n.price))return;const o=this._source.ownerSource(),a=null!==o?o.firstValue():null;if(null===a)return;const l=this._source.properties().linecolor.value();i.background=l,i.textColor=this.generateTextColor(l),i.coordinate=r.priceToCoordinate(n.price,a),e.text=r.formatPrice(n.price,a),e.visible=!0}}},8877:(e,t,i)=>{"use strict";i.d(t,{LineToolHorzLine:()=>l});var s=i(2015),r=i.n(s),n=i(88564),o=i(89857),a=i(10198);class l extends o.LineDataSource{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this._priceAxisView=new a.LineToolHorzLinePriceAxisView(this),i.e(1583).then(i.bind(i,8196)).then(({HorzLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}state(e){const t=super.state(e);return t.points&&0!==t.points.length&&(t.points[0].offset=0),t}pointsCount(){return 1}name(){return"Horizontal Line"}priceAxisViews(e,t){return this.isSourceHidden()||t!==this.priceScale()||!this._model.selection().isSelected(this)&&!this.properties().childs().showPrice.value()||e!==this._model.paneForSource(this)?null:[this._priceAxisView]}timeAxisViews(){return null}timeAxisPoints(){return[]}updateAllViews(e){super.updateAllViews(e),this._priceAxisView.update(e)}canHasAlert(){return!0}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}denormalizeTimePoints(){this._points=[],this._timePoint.length>0&&this._points.push({price:this._timePoint[0].price,index:0})}clearData(){const e=this._points;super.clearData(),this._points=e}static createProperties(e){const t=new n.DefaultProperty("linetoolhorzline",e);return l._configureProperties(t),t}_getAlertPlots(){return[this.points()[0].price]}_pointsForPointset(){return[]}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,81204)).then(e=>e.HorizontalLineDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(r())("")),e.addExclusion("text")}}},10471:(e,t,i)=>{"use strict";i.d(t,{LineToolHorzRay:()=>l});var s=i(88564),r=i(2015),n=i.n(r),o=i(10198),a=i(89857);class l extends a.LineDataSource{constructor(e,t,s,r){super(e,null!=t?t:l.createProperties(),s,r),this._priceAxisView=new o.LineToolHorzLinePriceAxisView(this),i.e(1583).then(i.bind(i,95325)).then(({HorzRayPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Horizontal Ray"}priceAxisViews(e,t){ +return this.isSourceHidden()||t!==this.priceScale()||!this._model.selection().isSelected(this)&&!this.properties().childs().showPrice.value()||e!==this._model.paneForSource(this)?null:[this._priceAxisView]}updateAllViews(e){super.updateAllViews(e),this._priceAxisView.update(e)}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}canHasAlert(){return!0}static createProperties(e){const t=new s.DefaultProperty("linetoolhorzray",e);return l._configureProperties(t),t}_getAlertPlots(){const e=this._points[0],t={index:e.index+1,price:e.price};return[this._linePointsToAlertPlot([e,t],null,!1,!0)]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,58148))).HorizontalRayDefinitionsViewModel}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}static _configureProperties(e){a.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(n())("")),e.addExclusion("text")}}},74468:(e,t,i)=>{"use strict";i.d(t,{LineToolIcon:()=>l});var s=i(88537),r=i(86441),n=i(88564),o=i(89857),a=i(37865);class l extends o.LineDataSource{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this.version=1,document.fonts&&document.fonts.check&&document.fonts.load&&!document.fonts.check("12px FontAwesome")&&document.fonts.load("12px FontAwesome","☺").then(()=>{this._isDestroyed||e.updateSource(this)}),i.e(1583).then(i.bind(i,78583)).then(t=>{this._setPaneViews([new t.IconPaneView(this,e)])})}pointsCount(){return 1}name(){return"Icon"}hasEditableCoordinates(){return!1}getAnchorLimit(){return 80}applyTemplate(e){delete e.icon,super.applyTemplate(e)}getChangePointForSync(e){return null}setPoint(e,t,i){const n=Object.assign({},t),o=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[0])),a=(0,s.ensureNotNull)(this.pointToScreenPoint(n)).subtract(o),l=this.properties().childs();if(0===e||1===e){const t=a.normalized();let i=Math.acos(-t.x);Math.asin(t.y)>0&&(i=2*Math.PI-i),0===e&&(i+=Math.PI),l.angle.setValue(i)}else{const t=a.add(new r.Point(15*(3===e?-1:1),0));l.size.setValue(2*Math.abs(t.x))}}getSourceIcon(){return{type:"text",text:String.fromCharCode(this.properties().childs().icon.value())}}static createProperties(e){const t=new n.DefaultProperty("linetoolicon",e);return l._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80449)).then(e=>e.IconsDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.addChild("backgroundsColors",new a.LineToolColorsProperty([e.childs().color])),e.addExclusion("angle")}}},51139:(e,t,i)=>{"use strict";i.d(t,{LineToolInfoLine:()=>n});var s=i(88564),r=i(57649);class n extends r.LineToolTrendLine{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}pointsCount(){return 2}name(){return"Info Line"}static createProperties(e){const t=new s.DefaultProperty("linetoolinfoline",e);return n._configureProperties(t),t} +static _configureProperties(e){r.LineToolTrendLine._configureProperties(e)}}},87639:(e,t,i)=>{"use strict";var s=i(34580).LevelsProperty,r=i(40100).LineToolPitchfork;class n extends r{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Inside Pitchfork"}static createProperties(e){var t=new s("linetoolinsidepitchfork",e,!1,{range:[0,8]});return n._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e)}}t.LineToolInsidePitchfork=n},44601:(e,t,i)=>{"use strict";var s;i.r(t),i.d(t,{isMtpPredictorToolName:()=>o,isStudyLineToolName:()=>a,isLineToolName:()=>l,isLineDrawnWithPressedButton:()=>c,isLineToolFinishRequiredWhenCreatedByApi:()=>h,isLineToolDrawWithoutPoints:()=>d,isImageToolName:()=>u,isTextToolName:()=>p});var r=i(72708);const n=new Set([]);function o(e){return n.has(e)}function a(e){return"LineToolRegressionTrend"===e||"LineToolVbPFixed"===e||"LineToolFixedRangeVolumeProfile"===e}function l(e){return e in(s||(s=i.t(r,2)))||a(e)}function c(e){return"LineToolBrush"===e||"LineToolHighlighter"===e}function h(e){return c(e)||"LineToolPath"===e||"LineToolPolyline"===e||"LineToolGhostFeed"===e}function d(e){return"LineToolTweet"===e||"LineToolIdea"===e||"LineToolImage"===e}function u(e){return"LineToolImage"===e}function p(e){switch(e){case"LineToolBalloon":case"LineToolText":case"LineToolTextAbsolute":case"LineToolCallout":case"LineToolNote":case"LineToolNoteAbsolute":case"LineToolSignpost":return!0}return!1}},50144:(e,t,i)=>{"use strict";i.d(t,{LineDataSourceBase:()=>B});var s=i(86441),r=i(88537),n=i(76422),o=i(98125),a=i(2872),l=i.n(a),c=i(98619),h=i(52714),d=i.n(h),u=i(23653),p=i(9315),_=i(36759),m=i(52418),g=i(37667),f=i(14791),v=i(29823),S=i(2015),y=i.n(S),b=i(85733),w=i(62443),C=i(20838),P=i(80643),T=i(33291),x=i(79680),I=i(38015);class M extends(y()){constructor(e,t){super(),this._lineSource=e,this._pointIndex=t,e.pointAdded().subscribe(this,e=>{this._pointIndex===e&&this._listeners.fire(this)}),e.pointChanged().subscribe(this,e=>{this._pointIndex===e&&this._listeners.fire(this)})}value(){const e=this._lineSource.points()[this._pointIndex].price,t=(0,r.ensureNotNull)(this._lineSource.ownerSource()).formatter();if(t.parse){const i=t.format(e),s=t.parse(i);return s.res?s.value:e}return e}setValue(e){const t=this._lineSource.points()[this._pointIndex];t.price=parseFloat(""+e),this._lineSource.startChanging(this._pointIndex,t),this._lineSource.setPoint(this._pointIndex,t),this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this);const i=this._lineSource.endChanging(!0,!1);this._lineSource.syncMultichartState(i)}}var L=i(19528),A=i(22474),E=i(37865);i(8859);const k=(0,o.getLogger)("Chart.LineDataSource");class D{constructor(){this._states=[]}start(e){this._states.push(e)}finish(e){const t=(0,r.ensureDefined)(this._states.pop());return s=t,(i=e).length!==s.length?{indexesChanged:!0,pricesChanged:!0}:i.reduce((e,t,i)=>{const r=s[i];return e.indexesChanged=e.indexesChanged||t.index!==r.index,e.pricesChanged=e.pricesChanged||t.price!==r.price,e},{ +indexesChanged:!1,pricesChanged:!1});var i,s}isEmpty(){return 0===this._states.length}}let V=0;class B extends w.DataSource{constructor(e,t,i,s){if(super(s),this.version=1,this.customization={forcePriceAxisLabel:!1,disableErasing:!1,disableSave:!1,showInObjectsTree:!0},this._currentPointsetAndSymbolId=null,this._pointChanged=new(l()),this._pointAdded=new(l()),this._alertUndoMode=!1,this._priceAxisViews=[],this._timeAxisViews=[],this._timePoint=[],this._points=[],this._lastPoint=null,this._paneViews=new Map,this._normalizedPointsChanged=new(l()),this._fixedPointsChanged=new(l()),this._changeStatesStack=new D,this._startMovingPoint=null,this._currentMovingPoint=null,this._isActualSymbol=!1,this._isActualInterval=!1,this._isActualCurrency=!1,this._isActualUnit=!1,this._isDestroyed=!1,this._sharingMode=new(d())(0),this._onTemplateApplying=new(l()),this._onTemplateApplied=new(l()),this._syncStateExclusions=[],this._definitionsViewModel=null,this._syncLineStyleMuted=!1,this._onIsActualIntervalChange=new(l()),this._linkKey=new(d())(null),this._serverUpdateTime=null,this._boundCalcIsActualSymbol=this.calcIsActualSymbol.bind(this),this._model=e,this._properties=t,this._localAndServerAlertsMismatch=!1,this._properties.hasChild("interval")||this._properties.addChild("interval",new(y())(e.mainSeries().interval())),this.calcIsActualSymbol(),this._properties.childs().intervalsVisibilities.listeners().subscribe(this,this.calcIsActualSymbol),this._properties.subscribe(this,()=>this.propertiesChanged()),this._createPointsProperties(),this.pointsCount()>0)for(let e=0;e{const t=!1===(0,b.hideAllDrawings)().value();e.value()?e.value()&&t&&n.emit("drawing_event",this._id,"show"):(this._model.selection().isSelected(this)&&this._model.selectionMacro(e=>{e.removeSourceFromSelection(this)}),t&&n.emit("drawing_event",this._id,"hide")),this._onSourceHiddenMayChange()}),(0,b.hideAllDrawings)().subscribe(this,this._onSourceHiddenMayChange),this._definitionsViewModel=null,this._isDestroyed=!1}destroy(){this._paneViews.forEach((e,t)=>this._destroyPanePaneViews(t)),this.stop(),null!==this._definitionsViewModel&&(this._definitionsViewModel.destroy(),this._definitionsViewModel=null),null!==this._ownerSource&&(this._ownerSource.currencyChanged().unsubscribeAll(this),this._ownerSource.unitChanged().unsubscribeAll(this),(0,x.isSymbolSource)(this._ownerSource)&&(this._ownerSource.symbolResolved().subscribe(this,this._boundCalcIsActualSymbol),this._ownerSource.isActingAsSymbolSource().unsubscribe(this._boundCalcIsActualSymbol))),this.ownerSourceChanged().unsubscribeAll(this),(0,b.hideAllDrawings)().unsubscribeAll(this),this.deleteAlert(),this._isDestroyed=!0}createPriceAxisView(e){return new A.LineToolPriceAxisView(this,{pointIndex:e})}model(){return this._model}linkKey(){return this._linkKey}serverUpdateTime(){return this._serverUpdateTime} +setServerUpdateTime(e){this._serverUpdateTime=e}boundToSymbol(){return!0}points(){const e=[];for(let t=0;t0&&(this._points=e)}restorePoints(e,t,i){const s=this._timePoint.length>0&&!(0,P.deepEquals)(this._timePoint,e)[0];this._timePoint=(0,c.deepCopy)(e),this._points=t,i||this.denormalizeTimePoints(),s&&this._normalizedPointsChanged.fire()}restorePositionPercents(e){this._positionPercents=e}calcIsActualSymbol(){if(this._model.mainSeries().hasDelayedSymbolIntervalChange())return;const e=this.ownerSource();if(null===e)this._isActualSymbol=!1;else{const t=(0,r.ensureNotNull)(e.symbolSource());this._migrateSymbolProperty();const i=this._properties.childs().symbol,s=i.value();if(this._isActualSymbol=t.symbolSameAsCurrent(s),this._isActualSymbol){const e=t.symbol();(0,f.areEqualSymbols)(s,e)||(k.logWarn('Possible drawing "migrating" detected from "'+s+'" to "'+e+'"'),k.logWarn("Series symbolInfo: "+JSON.stringify(t.symbolInfo())),k.logWarn(""+(new Error).stack)),i.setValue(e)}}this.calcIsActualInterval(),this.calcIsActualCurrency(),this.calcIsActualUnit(), +this._onSourceHiddenMayChange()}calcIsActualCurrency(){const e=this.ownerSource();if(null===e)return void(this._isActualCurrency=!1);let t=this._properties.childs().currencyId.value();if(null!==t){const i=e.symbolSource();if(null===i)return;0,this._isActualCurrency=t===(0,g.symbolCurrency)(i.symbolInfo(),void 0,!0)}else{const t=(0,r.ensureNotNull)(e.symbolSource()).symbolInfo();this._isActualCurrency=null!==t&&(0,g.symbolCurrency)(t)===(0,g.symbolOriginalCurrency)(t)}this._onSourceHiddenMayChange()}calcIsActualUnit(){const e=this.ownerSource();if(null===e)return void(this._isActualUnit=!1);const t=this._properties.childs().unitId.value();if(null!==t)this._isActualUnit=t===(0,r.ensureNotNull)(e.symbolSource()).unit();else{const t=(0,r.ensureNotNull)(e.symbolSource()).symbolInfo(),i=this._model.unitConversionEnabled();this._isActualUnit=null!==t&&(0,g.symbolUnit)(t,i)===(0,g.symbolOriginalUnit)(t,i)}this._onSourceHiddenMayChange()}calcIsActualInterval(){const e=this._isActualInterval,t=this._properties,i=this._model.mainSeries();this._isActualInterval=(0,_.isActualInterval)(v.Interval.parse(i.interval()),t.childs().intervalsVisibilities),!this._isActualInterval&&this._model.selection().isSelected(this)&&this._model.selectionMacro(e=>e.removeSourceFromSelection(this)),this._isActualInterval!==e&&this._onIsActualIntervalChange.fire(),this._onSourceHiddenMayChange()}paneViews(e){if(this.isSourceHidden())return null;const t=this._getPaneViews(this.isMultiPaneAvailable()?e:void 0);if(null===t)return null;if(1===t.length)return[t[0]];const i=[];for(let e=t.length-1;e>=0;--e)i.push(t[e]);return i}isSavedInChart(){return!this.customization.disableSave}setSavingInChartEnabled(e){this.customization.disableSave=!e}detachAlert(){const e=this.getAlertSync();if(e&&this._alertCallbacks){const t=this._alertCallbacks;e.off("destroy",t.remove),e.off("change:hovered",t.hovered),e.off("change:selected",t.selected)}this.hasAlert.setValue(!1),this._alertId=void 0}removeAlert(){this._alertId=void 0,this.hasAlert.setValue(!1)}deleteAlert(){0}areLocalAndServerAlertsMismatch(){return this._localAndServerAlertsMismatch}showInObjectTree(){return this.customization.showInObjectsTree}setShowInObjectsTreeEnabled(e){this.customization.showInObjectsTree=e}start(){this.createServerPoints()}processHibernate(){this.isSourceHidden()?this.isStarted()&&this.stop():this.isStarted()||this.start()}onData(e){"pointset_error"!==e.method?e.params.customId===this._currentPointsetIdWithPrefix()&&this._onPointsetUpdated(e.params.plots):k.logError(`Error getting pointset: ${e.params[0]} ${e.params[1]}`)}isActualSymbol(){return this._isActualSymbol}isActualCurrency(){return this._isActualCurrency}isActualInterval(){return this._isActualInterval}isActualUnit(){return this._isActualUnit}onIsActualIntervalChange(){return this._onIsActualIntervalChange}setOwnerSource(e){null!==this._ownerSource&&(this._ownerSource.currencyChanged().unsubscribeAll(this),this._ownerSource.unitChanged().unsubscribeAll(this)),null!==this._ownerSource&&(0, +x.isSymbolSource)(this._ownerSource)&&(this._ownerSource.symbolResolved().unsubscribe(this,this._boundCalcIsActualSymbol),this._ownerSource.isActingAsSymbolSource().unsubscribe(this._boundCalcIsActualSymbol)),super.setOwnerSource(e),e&&(this.setPriceScale(e.priceScale()),e.currencyChanged().subscribe(this,this.calcIsActualCurrency),e.unitChanged().subscribe(this,this.calcIsActualUnit),this.calcIsActualSymbol(),this._migrateZOrder()),(0,x.isSymbolSource)(e)&&(e.symbolResolved().subscribe(this,this._boundCalcIsActualSymbol),e.isActingAsSymbolSource().subscribe(this._boundCalcIsActualSymbol))}dataAndViewsReady(){return this._paneViews.size>0}pointAdded(){return this._pointAdded}pointChanged(){return this._pointChanged}pointToScreenPoint(e){var t;const i=this._model.timeScale(),r=this.priceScale(),n=null===(t=this.ownerSource())||void 0===t?void 0:t.firstValue();if(!r||r.isEmpty()||i.isEmpty()||null==n)return null;const o=i.indexToCoordinate(e.index),a=r.priceToCoordinate(e.price,n);return new s.Point(o,a)}screenPointToPoint(e){var t;const i=this.priceScale(),s=null===(t=this.ownerSource())||void 0===t?void 0:t.firstValue();if(null==s||!isFinite(s)||null===i)return null;const r=this._model.timeScale().coordinateToIndex(e.x);return{price:i.coordinateToPrice(e.y,s),index:r}}addPoint(e,t,i){const s=this._preparePoint(e,t);return this._addPointIntenal(s,t,i)}addFixedPoint(e){return this._fixedPoint=e,this.calcPositionPercents(),!0}calcPositionPercents(){const e=this.priceScale();if(!e||e.isEmpty()||void 0===this._fixedPoint)return;const t=this._fixedPoint.x/this._model.timeScale().width(),i=this._fixedPoint.y/e.height();return this._positionPercents={x:t,y:i},this._positionPercents}restoreFixedPoint(){this._fixedPoint=this.fixedPoint()}getPointByPosition(e,t,i,s){return[t,i,s][e]}propertiesChanged(e){this.calcIsActualInterval(),this.updateAllViewsAndRedraw((0,T.dataSourceChangeEvent)(this.id())),e||this._syncLineStyleIfNeeded(),void 0===this._pendingPropertyChangedEvent&&(this._pendingPropertyChangedEvent=setTimeout(()=>{this._pendingPropertyChangedEvent=void 0,n.emit("drawing_event",this._id,"properties_changed")},0))}state(e){var t,i;const s={type:this.toolname,id:this.id(),state:this.properties().state(null!==(t=this._propertiesStateExclusions())&&void 0!==t?t:void 0),points:(0,c.deepCopy)(this._timePoint),zorder:this.zorder(),ownerSource:null===(i=this.ownerSource())||void 0===i?void 0:i.id()};return this.linkKey().value()&&(s.linkKey=this.linkKey().value()),delete s.state.points,e&&(s.indexes=this._points),this.isFixed()&&(s.positionPercents=this._positionPercents||this.calcPositionPercents()),"version"in this&&1!==this.version&&(s.version=this.version),this._saveAlertIdInState()&&this.hasAlert.value()&&void 0!==this._alertId&&(s.alertId=this._alertId.toString()),s}updateAllViews(e){this._isActualSymbol&&this._isActualCurrency&&this._isActualUnit&&this._isActualInterval&&this._properties.childs().visible.value()&&(this._updateAllPaneViews(e),this._priceAxisViews.forEach(t=>t.update(e)), +this._timeAxisViews.forEach(t=>t.update(e)))}updateAllViewsAndRedraw(e){this.updateAllViews(e),this._model.updateSource(this)}properties(){return this._properties}restoreExternalPoints(e,t){if(this._timePoint=(0,c.deepCopy)(e.points),t.indexesChanged){if(this.properties().childs().interval.setValue(e.interval),!this.isActualSymbol())return this._clearServerPoints(),void this._normalizedPointsChanged.fire();this.createServerPoints()}else{const t=Math.min(this._points.length,e.points.length);for(let i=0;i0&&this.normalizePoints(),!this._readyToCreatePointset())return;const e=this._pointsForPointset();if(0===e.length)return;++V,this._currentPointsetAndSymbolId={pointsetId:V,symbolId:(0,r.ensureNotNull)(this._model.mainSeries().seriesSource().symbolInstanceId())};const t=(0,p.getServerInterval)(this.properties().childs().interval.value());this._model.chartApi().createPointset(this._currentPointsetIdWithPrefix(),"turnaround",this._currentPointsetAndSymbolId.symbolId,t,e,this.onData.bind(this))}finish(){}realign(){var e;this.calcIsActualSymbol(),this.isFixed()||this.isSourceHidden()||this._model.lineBeingCreated()===this||this._model.lineBeingEdited()===this||(null===(e=this._currentPointsetAndSymbolId)||void 0===e?void 0:e.symbolId)===this._model.mainSeries().seriesSource().symbolInstanceId()||this._clearServerPoints(),this.updateAllViews((0,T.dataSourceChangeEvent)(this.id()))}stop(){this._clearServerPoints()}restart(){this.isFixed()||(this._currentPointsetAndSymbolId=null,this.createServerPoints())}isStarted(){return null!==this._currentPointsetAndSymbolId}convertYCoordinateToPriceForMoving(e,t){var i;const s=(0,r.ensureNotNull)(this.priceScale());if(s.isEmpty())return null;const n=this.ownerSource(),o=(0,r.ensure)(null===(i=n||t)||void 0===i?void 0:i.firstValue());return s.coordinateToPrice(e,o)}syncMultichartState(e){ +const t={points:this._timePoint,interval:this._model.mainSeries().interval()},i=this.linkKey().value();if(null!==i&&this.isSynchronizable()){const s={model:this._model,linkKey:i,symbol:this._model.mainSeries().symbol(),finalState:t,changes:e};(0,b.finishChangingLineTool)(s)}}enableCurrentIntervalVisibility(){const e=this.properties().childs().intervalsVisibilities.state();void 0!==e&&((0,_.makeIntervalsVisibilitiesVisibleAtInterval)(e,v.Interval.parse(this._model.mainSeries().interval())),this.properties().childs().intervalsVisibilities.mergeAndFire(e))}clonePositionOffset(){return this.isFixed()?{barOffset:0,xCoordOffset:20,yCoordOffset:20}:{barOffset:0,xCoordOffset:0,yCoordOffset:-40}}sharingMode(){return this._sharingMode}share(e){this.isSynchronizable()&&this._sharingMode.setValue(e)}syncLineStyleState(){const e=this.properties().state(this._syncStateExclusions);return delete e.interval,e.intervalsVisibilities=(0,_.mergeIntervalVisibilitiesDefaults)(e.intervalsVisibilities),e}_correctLastPoint(e){return(0,P.clone)(e)}_pointsForPointset(){return this._timePoint.map(e=>[e.time_t,e.offset])}_snapPoint45Degree(e,t,i){const s=this._model.timeScale(),n=s.indexToCoordinate(t.index),o=s.indexToCoordinate(e.index)-n,a=(0,r.ensureNotNull)(this.priceScale()),l=t.price,c=e.price,h=(0,r.ensureNotNull)((0,r.ensureNotNull)(this.ownerSource()).firstValue()),d=a.priceToCoordinate(l,h),u=a.priceToCoordinate(c,h)-d,p=Math.round(Math.atan2(o,u)/Math.PI*4);if(2===Math.abs(p))i||(e.price=l);else if(0===Math.abs(p)||4===Math.abs(p))i||(e.index=t.index);else{const t=Math.sqrt(o*o+u*u),i=o<0?-1:1,r=u<0?-1:1;let l=Math.max(Math.abs(u),Math.abs(o));l/=l*Math.sqrt(2)/t;const c=Math.round(s.coordinateToIndex(n+l*i)),p=Math.abs(s.indexToCoordinate(c)-n),_=a.coordinateToPrice(d+p*r,h);e.index=c,e.price=_}}normalizePoint(e){return{...this._model.timeScale().normalizeBarIndex(e.index),price:e.price}}normalizePoints(){this._timePoint=[];for(let e=0;ethis._destroyPanePaneViews(t)),this._model.lightUpdate()}_getPaneViews(e){return this._paneViews.get(e)||null}_updateAllPaneViews(e){this._paneViews.forEach(t=>{for(const i of t)i.update(e)})}_alignPointHorizontallyOrVertically(e){const t=(0,r.ensureNotNull)(this.pointToScreenPoint(e)),i=(0,r.ensureDefined)((0,r.ensureNotNull)(this._startMovingPoint).logical),s=(0,r.ensureDefined)((0,r.ensureNotNull)(this._startMovingPoint).screen),n=Math.abs(s.x-t.x),o=Math.abs(s.y-t.y);if(n<10&&o<10)return e;return{index:n=1?{didCorrect:!0,point:e.add(s)}:{didCorrect:!1,point:e}}_currentPointsetIdWithPrefix(){return"pointset_"+(0,r.ensureNotNull)(this._currentPointsetAndSymbolId).pointsetId}_clearServerPoints(){null!==this._currentPointsetAndSymbolId&&this._model.chartApi().isConnected().value()&&this._model.chartApi().removePointset(this._currentPointsetIdWithPrefix()),this._currentPointsetAndSymbolId=null}_createPointProperty(e){const t=this._pointsProperty.childs().points;t.addProperty(""+e,{});const i=t[e];i.addChild("price",new M(this,e)),i.addChild("bar",new I.LineDataSourcePointIndexProperty(this,e))}_createPointsProperties(){this._pointsProperty=new(y()),this._pointsProperty.addChild("points",new(y()));for(let e=0;e=2&&this._snapTo45DegreesAvailable()&&this._snapPoint45Degree(i,this.points()[this.points().length-2]),i}_addPointIntenal(e,t,i){this._points.push(e);const s=this._points.length===this.pointsCount();return s?(this._lastPoint=null,i||(this.normalizePoints(),this.createServerPoints())):this._lastPoint=e,this._pointAdded.fire(this._points.length-1),s}_onSourceHiddenMayChange(){this._model.invalidate(u.InvalidationMask.validateAction(()=>{this!==this._model.lineBeingCreated()&&(this._isDestroyed||this.processHibernate())}))}_saveAlertIdInState(){return!0}_onPointsetUpdated(e){if(0===e.length)return;for(let t=0;t0}_onAlertData(e){}_propertiesStateExclusions(){return null}_syncLineStyleIfNeeded(){const e=this.linkKey().value();!this._syncLineStyleMuted&&e&&(0,b.changeLineStyle)({linkKey:e,state:this.syncLineStyleState(),model:this._model})}_muteSyncLineStyle(){this._syncLineStyleMuted=!0}_unmuteSyncLineStyleWithoutApplyingChanges(){this.propertiesChanged(),this._syncLineStyleMuted=!1}_applyTemplateImpl(e){e.intervalsVisibilities=(0,_.mergeIntervalVisibilitiesDefaults)(e.intervalsVisibilities);const t=this.properties();t.mergePreferences(e),t.saveDefaults(),this.propertiesChanged()}_getPropertyDefinitionsViewModelClass(){return Promise.resolve(null)}static _configureProperties(e){if(B._addCollectedProperties(e),e.hasChild("symbolStateVersion")||e.addChild("symbolStateVersion",new(y())(B._initialSymbolStateVersion())),e.hasChild("zOrderVersion")||e.addChild("zOrderVersion",new(y())(B._initialZOrderVersion())),e.hasChild("visible")||e.addChild("visible",new(y())(!0)),e.hasChild("frozen")||e.addChild("frozen",new(y())(!1)),e.hasChild("symbol")||e.addChild("symbol",new(y())("")),e.hasChild("currencyId")||e.addChild("currencyId",new(y())(null)),e.hasChild("unitId")||e.addChild("unitId",new(y())(null)),e.addExclusion("symbolStateVersion"),e.addExclusion("zOrderVersion"),e.addExclusion("visible"),e.addExclusion("frozen"),e.addExclusion("symbol"),e.addExclusion("currencyId"),e.addExclusion("unitId"),e.hasChild("intervalsVisibilities")){const t=(0,P.merge)((0,P.clone)(m.intervalsVisibilitiesDefaults),e.childs().intervalsVisibilities.state());e.removeProperty("intervalsVisibilities"),e.addChild("intervalsVisibilities",new C.IntervalsVisibilitiesProperty(t))}else e.addChild("intervalsVisibilities",new C.IntervalsVisibilitiesProperty(m.intervalsVisibilitiesDefaults));e.hasChild("title")||e.addChild("title",new(y())("")),e.addExclusion("symbolInfo"),e.addExclusion("points"),e.addExclusion("interval"),e.addExclusion("title"),e.hasChild("singleChartOnly")&&e.removeProperty("singleChartOnly"),e.hasChild("font")&&e.removeProperty("font")}static _addCollectedProperties(e){e.hasChild("linewidth")&&e.addChild("linesWidths",new E.LineToolWidthsProperty([(0,r.ensureDefined)(e.child("linewidth"))])),e.hasChild("linecolor")&&e.addChild("linesColors",new E.LineToolColorsProperty([(0,r.ensureDefined)(e.child("linecolor"))])),e.hasChild("backgroundColor")&&e.addChild("backgroundsColors",new E.LineToolColorsProperty([(0, +r.ensureDefined)(e.child("backgroundColor"))])),e.hasChild("textColor")&&e.addChild("textsColors",new E.LineToolColorsProperty([(0,r.ensureDefined)(e.child("textColor"))])),e.addExclusion("linesWidths"),e.addExclusion("linesColors"),e.addExclusion("backgroundsColors"),e.addExclusion("textsColors")}static _initialSymbolStateVersion(){return 1}static _initialZOrderVersion(){return 1}_destroyPanePaneViews(e){const t=this._paneViews.get(e);if(void 0!==t)for(const e of t)e.destroy&&e.destroy();void 0!==e&&e.onDestroyed().unsubscribeAll(this),this._paneViews.delete(e)}_copyPricesWithoutNormalization(){const e=Math.min(this._points.length,this._timePoint.length);for(let t=0;t{"use strict";i.d(t,{LineDataSourcePointIndexProperty:()=>n});var s=i(2015),r=i.n(s);class n extends(r()){constructor(e,t){super(),this._lineSource=e,this._pointIndex=t}value(){return this._lineSource.points()[this._pointIndex].index}setValue(e){const t=this._lineSource.points()[this._pointIndex];t.index=e,this._lineSource.startChanging(this._pointIndex,t),this._setPointImpl(t),this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this);const i=this._lineSource.endChanging(!0,!1);this._lineSource.syncMultichartState(i)}_setPointImpl(e){this._lineSource.setPoint(this._pointIndex,e)}}},22474:(e,t,i)=>{"use strict";i.d(t,{LineToolPriceAxisView:()=>n});var s=i(88537),r=i(97938);class n extends r.PriceAxisView{constructor(e,t){super(),this._active=!1,this._source=e,this._data=t,this._properties=e.model().properties().childs().scalesProperties}setActive(e){this._active=e}_updateRendererData(e,t,i){e.visible=!1;const s=this._source.model();if(!s.timeScale()||s.timeScale().isEmpty())return;const r=this._source.priceScale();if(null===r||r.isEmpty())return;if(!s.selection().isSelected(this._source)&&!this._source.isForcedDrawPriceAxisLabel())return;if(null===s.timeScale().visibleBarsStrictRange())return;const n=this._source.priceAxisPoints(),o=this._data.pointIndex;if(n.length<=o)return;const a=n[o];if(!isFinite(a.price))return;const l=this._source.ownerSource(),c=null!==l?l.firstValue():null;if(null===c)return;let h=this._data.backgroundPropertyGetter?this._data.backgroundPropertyGetter():null;null===h&&(h=this._getBgColor()),i.background=h,i.borderColor="#2E84A6",i.textColor=this.generateTextColor(h),i.coordinate=r.priceToCoordinate(a.price,c),e.text=this._formatPrice(a.price,c),e.visible=!0}_getBgColor(){return this._active?this._properties.childs().axisLineToolLabelBackgroundColorActive.value():this._properties.childs().axisLineToolLabelBackgroundColorCommon.value()}_formatPrice(e,t){return(0,s.ensureNotNull)(this._source.priceScale()).formatPrice(e,t)}}},19528:(e,t,i)=>{"use strict";i.d(t,{LineDataSourceTimeAxisView:()=>r});var s=i(85578);class r extends s.TimeAxisView{constructor(e,t){super(e.model()),this._active=!1,this._source=e,this._pointIndex=t,this._properties=e.model().properties().childs().scalesProperties}setActive(e){this._active=e}_getBgColor(){ +return this._active?this._properties.childs().axisLineToolLabelBackgroundColorActive.value():this._properties.childs().axisLineToolLabelBackgroundColorCommon.value()}_getIndex(){if(!this._model.selection().isSelected(this._source))return null;const e=this._source.timeAxisPoints();return e.length<=this._pointIndex?null:e[this._pointIndex].index}_isVisible(){return!0}}},89857:(e,t,i)=>{"use strict";var s=i(86441).Point,r=i(22474).LineToolPriceAxisView,n=(i(85733),i(29823).Interval),o=i(98125).getLogger("Chart.LineDataSource"),a=i(67337),l=i(60870).lineToolsLocalizedNames,c=a.enabled("datasource_copypaste"),h=i(50144).LineDataSourceBase;class d extends h{isAvailableInFloatingWidget(){return!0}visibilityKeyByInterval(e){var t,i=n.parse(e);return d.IntervalsVisibilities.forEach((function(e){e.kind===i.kind()&&e.from<=i.multiplier()&&e.to>=i.multiplier()&&(t=e.key)})),t}priceScale(){return this._ownerSource?this._ownerSource.m_priceScale:null}symbol(){return this._properties.symbol.value()}isSavedInStudyTemplates(){return!1}fixedPoints(){var e=[];if(this._positionPercents&&!this.priceScale().isEmpty())for(var t=0;t{ +"use strict";i.r(t),i.d(t,{LineToolMultiplePropertyBaseImpl:()=>l,LineToolCollectedProperty:()=>c,LineToolWidthsProperty:()=>h,LineToolColorsProperty:()=>d,MultipleLineWidthsProperty:()=>p,MultipleLineColorsProperty:()=>_});var s=i(98125),r=i(2872),n=i.n(r);const o=(0,s.getLogger)("Chart.LineToolCollectedProperty");class a{applyValue(e,t){e.setValue(t)}}class l{constructor(e,t){this._onChange=new(n()),this._properties=e,e.forEach(e=>e.subscribe(this,()=>{this._onChange.fire(this)})),this._showIfProperty=t}visible(){var e;return!this._showIfProperty||(null===(e=this._showIfProperty)||void 0===e?void 0:e.value())}value(){if(0===this._properties.length)return o.logError("Incorrect call, should not request value of 0 properties"),"mixed";const e=this._properties[0].value();return 1===this._properties.length||this._properties.every(t=>t.value()===e)?e:"mixed"}state(){}merge(){}destroy(){this._properties.forEach(e=>e.unsubscribeAll(this))}subscribe(e,t){this._onChange.subscribe(e,t)}unsubscribe(e,t){this._onChange.unsubscribe(e,t)}unsubscribeAll(e){this._onChange.unsubscribeAll(e)}storeStateIfUndefined(){return!0}}class c extends l{setValue(e,t,i){if("mixed"===e)return;const s=null!=i?i:new a;this._properties.forEach(t=>s.applyValue(t,e))}}class h extends c{}class d extends c{firstColor(){return this._properties[0].value()}}class u extends l{setValue(e,t,i){if("mixed"===e)return;const s=null!=i?i:new a;this._properties.forEach(t=>t.setValue(e,void 0,s))}}class p extends u{}class _ extends u{}},72708:(e,t,i)=>{"use strict";t.LineToolFibRetracement=i(44860).LineToolFibRetracement,t.LineToolFibChannel=i(48917).LineToolFibChannel,t.LineToolFibSpeedResistanceArcs=i(19857).LineToolFibSpeedResistanceArcs,t.LineToolProjection=i(35344).LineToolProjection,t.LineToolTrendBasedFibExtension=i(25861).LineToolTrendBasedFibExtension,t.LineToolElliott=i(97917).LineToolElliott,t.LineToolFibCircles=i(54502).LineToolFibCircles,t.LineToolVertLine=i(51922).LineToolVertLine,t.LineToolCrossLine=i(53193).LineToolCrossLine,t.LineToolBarsPattern=i(98802).LineToolBarsPattern,t.LineToolTrendBasedFibTime=i(6245).LineToolTrendBasedFibTime,t.LineToolFibTimeZone=i(63835).LineToolFibTimeZone,t.LineToolCircleLines=i(49802).LineToolCircleLines,t.LineToolDateRange=i(45669).LineToolDateRange,t.LineToolPriceRange=i(66602).LineToolPriceRange,t.LineToolDateAndPriceRange=i(26215).LineToolDateAndPriceRange,t.LineToolParallelChannel=i(78898).LineToolParallelChannel,t.LineToolTrendAngle=i(86225).LineToolTrendAngle,t.LineToolTrendLine=i(57649).LineToolTrendLine,t.LineToolInfoLine=i(51139).LineToolInfoLine,t.LineToolArrowMark=i(18659).LineToolArrowMark,t.LineToolExecution=i(39593).LineToolExecution,t.LineToolPitchfan=i(18977).LineToolPitchfan,t.LineToolGannSquare=i(97433).LineToolGannSquare,t.LineToolFibSpeedResistanceFan=i(70673).LineToolFibSpeedResistanceFan,t.LineToolGannComplex=i(52870).LineToolGannComplex,t.LineToolGannFixed=i(33209).LineToolGannFixed,t.LineToolGannFan=i(5094).LineToolGannFan,t.LineToolFibWedge=i(41668).LineToolFibWedge, +t.LineToolPitchfork=i(40100).LineToolPitchfork,t.LineToolDisjointAngle=i(46512).LineToolDisjointChannel,t.LineToolFlatBottom=i(47047).LineToolFlatBottom,t.LineToolIcon=i(74468).LineToolIcon,t.LineToolRotatedRectangle=i(61272).LineToolRotatedRectangle,t.LineToolFibSpiral=i(29638).LineToolFibSpiral,t.LineToolHeadAndShoulders=i(90378).LineToolHeadAndShoulders,t.LineToolTriangle=i(99092).LineToolTriangle,t.LineToolTrianglePattern=i(53403).LineToolTrianglePattern,t.LineTool5PointsPattern=i(656).LineTool5PointsPattern,t.LineToolThreeDrivers=i(6980).LineToolThreeDrivers,t.LineToolABCD=i(82203).LineToolABCD,t.LineToolPolyline=i(19085).LineToolPolyline,t.LineToolPath=i(48950).LineToolPath,t.LineToolPrediction=i(12346).LineToolPrediction,t.LineToolPriceLabel=i(3113).LineToolPriceLabel,t.LineToolArrowMarker=i(10167).LineToolArrowMarker,t.LineToolNote=i(87517).LineToolNote,t.LineToolNoteAbsolute=i(87517).LineToolNoteAbsolute,t.LineToolSignpost=i(52827).LineToolSignpost,t.LineToolBrush=i(43871).LineToolBrush,t.LineToolArc=i(17337).LineToolArc,t.LineToolCallout=i(95536).LineToolCallout,t.LineToolBalloon=i(57666).LineToolBalloon,t.LineToolText=i(74971).LineToolText,t.LineToolHorzLine=i(8877).LineToolHorzLine,t.LineToolHorzRay=i(10471).LineToolHorzRay,t.LineToolRectangle=i(20258).LineToolRectangle,t.LineToolCircle=i(2039).LineToolCircle,t.LineToolEllipse=i(38430).LineToolEllipse,t.LineToolTimeCycles=i(38513).LineToolTimeCycles,t.LineToolSineLine=i(15718).LineToolSineLine,t.LineToolGhostFeed=i(82241).LineToolGhostFeed,t.LineToolBezierQuadro=i(30899).LineToolBezierQuadro,t.LineToolBezierCubic=i(47679).LineToolBezierCubic,t.LineToolArrow=i(59358).LineToolArrow,t.LineToolRay=i(31702).LineToolRay,t.LineToolExtended=i(41239).LineToolExtended,t.LineToolSchiffPitchfork=i(98390).LineToolSchiffPitchfork,t.LineToolSchiffPitchfork2=i(98225).LineToolSchiffPitchfork2,t.LineToolInsidePitchfork=i(87639).LineToolInsidePitchfork,t.LineToolTextAbsolute=i(74971).LineToolTextAbsolute,t.LineToolArrowMarkLeft=i(18659).LineToolArrowMarkLeft,t.LineToolArrowMarkRight=i(18659).LineToolArrowMarkRight,t.LineToolArrowMarkUp=i(18659).LineToolArrowMarkUp,t.LineToolArrowMarkDown=i(18659).LineToolArrowMarkDown,t.LineToolFlagMark=i(53342).LineToolFlagMark,t.LineToolCypherPattern=i(980).LineToolCypherPattern,t.LineToolElliottImpulse=i(97917).LineToolElliottImpulse,t.LineToolElliottTriangle=i(97917).LineToolElliottTriangle,t.LineToolElliottTripleCombo=i(97917).LineToolElliottTripleCombo,t.LineToolElliottCorrection=i(97917).LineToolElliottCorrection,t.LineToolElliottDoubleCombo=i(97917).LineToolElliottDoubleCombo,t.LineToolRiskRewardLong=i(34291).LineToolRiskRewardLong,t.LineToolRiskRewardShort=i(34291).LineToolRiskRewardShort,t.LineToolPosition=i(2157).LineToolPosition,t.LineToolOrder=i(86858).LineToolOrder,t.LineToolHighlighter=i(65649).LineToolHighlighter,t.LineToolPriceNote=i(7648).LineToolPriceNote},60870:(e,t,i)=>{"use strict";i.d(t,{lineToolsLocalizedNames:()=>r});var s=i(28353);const r={LineTool5PointsPattern:(0,s.t)("XABCD Pattern"),LineToolABCD:(0, +s.t)("ABCD Pattern"),LineToolArc:(0,s.t)("Arc"),LineToolArrow:(0,s.t)("Arrow"),LineToolArrowMarkDown:(0,s.t)("Arrow Mark Down"),LineToolArrowMarkLeft:(0,s.t)("Arrow Mark Left"),LineToolArrowMarkRight:(0,s.t)("Arrow Mark Right"),LineToolArrowMarkUp:(0,s.t)("Arrow Mark Up"),LineToolBalloon:(0,s.t)("Balloon"),LineToolBarsPattern:(0,s.t)("Bars Pattern"),LineToolBezierCubic:(0,s.t)("Double Curve"),LineToolBezierQuadro:(0,s.t)("Curve"),LineToolBrush:(0,s.t)("Brush"),LineToolCallout:(0,s.t)("Callout"),LineToolCircleLines:(0,s.t)("Cyclic Lines"),LineToolCypherPattern:(0,s.t)("Cypher Pattern"),LineToolDateAndPriceRange:(0,s.t)("Date and Price Range"),LineToolDateRange:(0,s.t)("Date Range"),LineToolDisjointAngle:(0,s.t)("Disjoint Channel"),LineToolElliottCorrection:(0,s.t)("Elliott Correction Wave (ABC)"),LineToolElliottDoubleCombo:(0,s.t)("Elliott Double Combo Wave (WXY)"),LineToolElliottImpulse:(0,s.t)("Elliott Impulse Wave (12345)"),LineToolElliottTriangle:(0,s.t)("Elliott Triangle Wave (ABCDE)"),LineToolElliottTripleCombo:(0,s.t)("Elliott Triple Combo Wave (WXYXZ)"),LineToolEllipse:(0,s.t)("Ellipse"),LineToolExtended:(0,s.t)("Extended Line"),LineToolFibChannel:(0,s.t)("Fib Channel"),LineToolFibCircles:(0,s.t)("Fib Circles"),LineToolFibRetracement:(0,s.t)("Fib Retracement"),LineToolFibSpeedResistanceArcs:(0,s.t)("Fib Speed Resistance Arcs"),LineToolFibSpeedResistanceFan:(0,s.t)("Fib Speed Resistance Fan"),LineToolFibSpiral:(0,s.t)("Fib Spiral"),LineToolFibTimeZone:(0,s.t)("Fib Time Zone"),LineToolFibWedge:(0,s.t)("Fib Wedge"),LineToolFlagMark:(0,s.t)("Flag Mark"),LineToolImage:(0,s.t)("Image"),LineToolFlatBottom:(0,s.t)("Flat Top/Bottom"),LineToolAnchoredVWAP:(0,s.t)("Anchored VWAP"),LineToolGannComplex:(0,s.t)("Gann Square"),LineToolGannFixed:(0,s.t)("Gann Square Fixed"),LineToolGannFan:(0,s.t)("Gann Fan"),LineToolGannSquare:(0,s.t)("Gann Box"),LineToolHeadAndShoulders:(0,s.t)("Head and Shoulders"),LineToolHorzLine:(0,s.t)("Horizontal Line"),LineToolHorzRay:(0,s.t)("Horizontal Ray"),LineToolIcon:(0,s.t)("Icon"),LineToolInsidePitchfork:(0,s.t)("Inside Pitchfork"),LineToolNote:(0,s.t)("Note"),LineToolNoteAbsolute:(0,s.t)("Anchored Note"),LineToolSignpost:(0,s.t)("Signpost"),LineToolParallelChannel:(0,s.t)("Parallel Channel"),LineToolPitchfan:(0,s.t)("Pitchfan"),LineToolPitchfork:(0,s.t)("Pitchfork"),LineToolPolyline:(0,s.t)("Polyline"),LineToolPath:(0,s.t)("Path"),LineToolPrediction:(0,s.t)("Forecast"),LineToolPriceLabel:(0,s.t)("Price Label"),LineToolArrowMarker:(0,s.t)("Arrow Marker"),LineToolPriceRange:(0,s.t)("Price Range"),LineToolProjection:(0,s.t)("Projection"),LineToolRay:(0,s.t)("Ray"),LineToolRectangle:(0,s.t)("Rectangle"),LineToolCircle:(0,s.t)("Circle"),LineToolRegressionTrend:(0,s.t)("Regression Trend"),LineToolRiskRewardLong:(0,s.t)("Long Position"),LineToolRiskRewardShort:(0,s.t)("Short Position"),LineToolFixedRangeVolumeProfile:(0,s.t)("Fixed Range Volume Profile"),LineToolRotatedRectangle:(0,s.t)("Rotated Rectangle"),LineToolSchiffPitchfork:(0,s.t)("Modified Schiff Pitchfork"),LineToolSchiffPitchfork2:(0, +s.t)("Schiff Pitchfork"),LineToolSineLine:(0,s.t)("Sine Line"),LineToolText:(0,s.t)("Text",{context:"tool"}),LineToolTextAbsolute:(0,s.t)("Anchored Text"),LineToolThreeDrivers:(0,s.t)("Three Drives Pattern"),LineToolTimeCycles:(0,s.t)("Time Cycles"),LineToolTrendAngle:(0,s.t)("Trend Angle"),LineToolTrendBasedFibExtension:(0,s.t)("Trend-Based Fib Extension"),LineToolTrendBasedFibTime:(0,s.t)("Trend-Based Fib Time"),LineToolTrendLine:(0,s.t)("Trend Line"),LineToolInfoLine:(0,s.t)("Info Line"),LineToolTriangle:(0,s.t)("Triangle"),LineToolTrianglePattern:(0,s.t)("Triangle Pattern"),LineToolVertLine:(0,s.t)("Vertical Line"),LineToolCrossLine:(0,s.t)("Cross Line"),LineToolHighlighter:(0,s.t)("Highlighter"),LineToolPriceNote:(0,s.t)("Price Note"),LineToolVbPFixed:(0,s.t)("Volume Profile Fixed Range")};r.LineToolGhostFeed=(0,s.t)("Ghost Feed")},14291:(e,t,i)=>{"use strict";i.r(t),i.d(t,{cloneLineTool:()=>W,createLineTool:()=>E,createLineToolProperties:()=>D,createStudyLineToolProperties:()=>V,getNewToolProperties:()=>A,isLineDrawnWithPressedButton:()=>P.isLineDrawnWithPressedButton,isLineTool:()=>N,isLineToolName:()=>P.isLineToolName,isStudyLineTool:()=>R,isStudyLineToolName:()=>P.isStudyLineToolName,isTrading:()=>O,lineToolByLinkKey:()=>H,prepareLineToolPropertiesByOwnerSource:()=>k,setNewToolProperties:()=>M,supportsPhantomMode:()=>B,tryFindStudyLineToolNameByStudyId:()=>F,unsetNewToolProperties:()=>L});var s=i(88537),r=i(86441),n=i(36759),o=i(51934),a=i(89857),l=i(72708),c=i.t(l,2),h=i(2271),d=i(88145),u=i(67072),p=i.n(u),_=i(66101),m=i(37865),g=i(80643),f=i(88564);const v=(0,d.studyIdString)("RegressionTrend","tv-basicstudies");function S(e){return void 0!==e.startPrice&&void 0!==e.endPrice}class y extends o.StudyLineDataSource{constructor(e,t,r,n,o){r=null!=r?r:(0,s.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:v}));super(e,r,"linreg_",null!=t?t:y.createProperties(e),n,o),this.version=2,this._trendData=null,i.e(1583).then(i.bind(i,79752)).then(e=>{this._setPaneViews([new e.RegressionTrendPaneView(this,this._model)])})}formatter(){throw new Error("This method should never be called")}pointsCount(){return 2}clearData(){this._trendData=null,super.clearData()}state(e){var t;const i=super.state(e);return e?{...i,nonseriesdata:null!==(t=this._trendData)&&void 0!==t?t:void 0}:i}restoreData(e){var t;super.restoreData(e),this._trendData=null!==(t=e.nonseriesdata)&&void 0!==t?t:null}startIndex(){if(null===this._trendData||null===this._indexes)return null;const e=this._indexes[this._trendData.startIndex];return e!==h.INVALID_TIME_POINT_INDEX?e:null}endIndex(){if(null===this._trendData||null===this._indexes)return null;const e=this._indexes[this._trendData.endIndex];return e!==h.INVALID_TIME_POINT_INDEX?e:null}baseLine(){return null===this._trendData?null:this._trendData.baseLine}downLine(){return null===this._trendData?null:this._trendData.downLine}upLine(){return null===this._trendData?null:this._trendData.upLine}pearsons(){return null===this._trendData?null:this._trendData.pearsons} +recalcStudyIfNeeded(){this._onStudyInputsMayChange()}cloneable(){return!1}static createProperties(e,t){const i=p().getStudyPropertyRootNameById(v),r=(0,s.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:v})),n=(0,f.createDefaultsState)(!0,i,[],e.studyVersioning());return V("LineToolRegressionTrend",r,r,(0,g.merge)((0,g.clone)(n),null!=t?t:{}),e.studyVersioning())}static createRegressionTrendPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0,_.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return y._configureProperties(r),r}static studyId(){return v}_studyInputs(e){(0,s.assert)(2===e.length,"all the line tool points should be defined");const[t,i]=e;if(t.index===i.index)return null;const r=this._getPointTime(t.index<=i.index?t:i,!0),n=this._getPointTime(i.index>=t.index?i:t,!0);return null===r||null===n?(this._subscribeApplyInputsOnSeriesCompleted(),null):{...this.properties().childs().inputs.state(),"first bar time":1e3*r,"last bar time":1e3*n}}_onDataUpdated(e,t,i){null!==t&&(t.indexes_replace||(this._trendData=t.data),"nochange"!==i&&(this._indexes=i),super._onDataUpdated(e,t,i))}_isReady(){return null!==this._trendData&&void 0!==this._trendData.startIndex&&void 0!==this._trendData.endIndex&&S(this._trendData.upLine)&&S(this._trendData.baseLine)&&S(this._trendData.downLine)}_updateAnchorsPrice(){if(!this._trendData||(0,g.isNaN)(this._trendData.baseLine.startPrice)||(0,g.isNaN)(this._trendData.baseLine.endPrice))return;const{startPrice:e,endPrice:t}=this._trendData.baseLine;2===this._points.length&&(this._points[0].price=(0,s.ensureDefined)(e),this._points[1].price=(0,s.ensureDefined)(t),this._timePoint[0].price=(0,s.ensureDefined)(e),this._timePoint[1].price=(0,s.ensureDefined)(t))}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(7387),i.e(8623),i.e(607)]).then(i.bind(i,96457))).RegressionTrendDefinitionsViewModel}static _configureProperties(e){o.StudyLineDataSource._configureProperties(e);const t=e.childs().styles.childs(),i=[t.upLine.childs().linewidth,t.downLine.childs().linewidth,t.baseLine.childs().linewidth];e.addChild("linesWidths",new m.LineToolWidthsProperty(i))}}var b=i(20299);const w=(0,d.studyIdString)("VbPFixed","tv-basicstudies");class C extends b.LineToolVbPFixed{constructor(e,t,i,s,r,n){const o=i||e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:w});super(e,t,o,s,r,n)}calcIsActualSymbol(){o.StudyLineDataSource.prototype.calcIsActualSymbol.apply(this)}boundToSymbol(){return!0}isSynchronizable(){return this.priceScale()===this._model.mainSeries().priceScale()}static studyId(){return w}static createProperties(e,t){const i=p().getStudyPropertyRootNameById(w),r=(0,s.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:w})),n=(0,f.createDefaultsState)(!0,i,[],e.studyVersioning());return V("LineToolFixedRangeVolumeProfile",r,r,(0,g.merge)((0,g.clone)(n),null!=t?t:{}),e.studyVersioning())}static createPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0, +_.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return C._configureProperties(r),r}}var P=i(44601),T=i(2587);function x(e){for(const t of Object.keys(e))TradingView[t]=e[t]}x(c),x({LineToolRegressionTrend:y,LineToolVbPFixed:b.LineToolVbPFixed,LineToolFixedRangeVolumeProfile:C});let I=null;function M(e,t,i){return null!==I&&I.tool===e&&I.toolData===t||(I={properties:D(e,void 0,i),tool:e,toolData:t}),I.properties}function L(){I=null}function A(e){return null!==I&&I.tool===e?I.properties:null}function E(e,t,i,r,n,o){let a;if((0,s.assert)((0,P.isLineToolName)(e),"Unknown line tool: "+e),n||i||(i=A(e)||void 0),"LineToolVbPFixed"===e)a=new b.LineToolVbPFixed(t,i,(0,s.ensureDefined)(r),t.mainSeries(),n,o);else if("LineToolFixedRangeVolumeProfile"===e)a=new C(t,i,(0,s.ensureDefined)(r),t.mainSeries(),n,o);else if("LineToolRegressionTrend"===e)a=new y(t,i,(0,s.ensureDefined)(r),n,o);else{a=new((0,s.ensureDefined)(c[e]))(t,i,n,o)}return a.toolname=e,L(),a}function k(e,t){const i=(0,s.ensureNotNull)(t.symbolSource());e.childs().symbol.setValue(i.symbol()),i.model().currencyConversionEnabled()&&e.childs().currencyId.setValue(i.currency()),i.model().unitConversionEnabled()&&e.childs().unitId.setValue(i.unit()),e.childs().symbolStateVersion.setValue(2),e.childs().zOrderVersion.setValue(2)}function D(e,t,i){if((0,s.assert)((0,P.isLineToolName)(e),e+" should be name of the line tool"),"LineToolVbPFixed"===e)return b.LineToolVbPFixed.createProperties(i,t);if("LineToolFixedRangeVolumeProfile"===e)return C.createProperties(i,t);if("LineToolRegressionTrend"===e)return y.createProperties(i,t);return(0,s.ensureDefined)(c[e]).createProperties(t)}function V(e,t,i,r,n){if((0,s.assert)((0,P.isStudyLineToolName)(e),e+" should be name of the study line tool"),"LineToolVbPFixed"===e)return b.LineToolVbPFixed.createPropertiesFromStudyMetaInfoAndState(t,i,r,n);if("LineToolFixedRangeVolumeProfile"===e)return C.createPropertiesFromStudyMetaInfoAndState(t,i,r,n);if("LineToolRegressionTrend"===e)return y.createRegressionTrendPropertiesFromStudyMetaInfoAndState(t,i,r,n);throw new Error("Property creation is not implemented for study line tool "+e)}function B(e){(0,s.assert)((0,P.isLineToolName)(e),e+" should be name of the line tool");const t=c[e];return void 0!==t&&Boolean(t.supportPhantomMode)}function N(e){return e instanceof a.LineDataSource}function R(e){return e instanceof o.StudyLineDataSource}function O(e){return e instanceof T.LineToolTrading}function F(e){let t=null;return e===y.studyId()?t="LineToolRegressionTrend":e===b.LineToolVbPFixed.studyId()?t="LineToolVbPFixed":e===C.studyId()&&(t="LineToolFixedRangeVolumeProfile"),t}function W(e,t,i,o){const a=t.toolname,l=t.properties().state();l.intervalsVisibilities=(0,n.mergeIntervalVisibilitiesDefaults)(null==l?void 0:l.intervalsVisibilities);const c=D(t.toolname,l,e);c.childs().visible.setValue(!0);const h=(0,s.ensureNotNull)(t.ownerSource()),d=E(a,e,c);void 0!==o&&d.setId(o),d.setOwnerSource(h),d.toolname=a;const u=d.clonePositionOffset();if(t.isFixed()){const e=(0, +s.ensureDefined)(t.fixedPoint()),n=i?e.add(new r.Point(u.xCoordOffset,u.yCoordOffset)):e;d.addFixedPoint(n)}const p=t.normalizedPoints(),_=i?function(e,t,i){const r=(0,s.ensureNotNull)(t.priceScale()),n=(0,s.ensureNotNull)(t.firstValue());return e.map(e=>{const t=e.price,s=r.priceToCoordinate(t,n)+i.yCoordOffset,o=r.coordinateToPrice(s,n);return{time_t:e.time_t,price:o,offset:e.offset+i.barOffset}})}(p,h,u):p,m=t.points();return d.restorePoints(_,m),d.cloneData&&d.cloneData(t),d.checkAlert&&d.checkAlert(),d}function H(e,t){var i;return null!==(i=e.dataSources().find(e=>N(e)&&e.linkKey().value()===t))&&void 0!==i?i:null}},87517:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(89857).LineDataSource,n=i(2015),o=i(88564).DefaultProperty;class a extends r{constructor(e,t,s,r){super(e,t||a.createProperties(),s,r),this.version=a.version,i.e(1583).then(i.bind(i,99578)).then(({NotePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Note"}getTooltipWidth(){return a.TOOLTIP_WIDTH}getTooltipPadding(){return a.TOOLTIP_PADDING}getTooltipLineSpacing(){return a.TOOLTIP_LINESPACING}template(){var e=r.prototype.template.call(this);return e.text=this.properties().childs().text.value(),e}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static createProperties(e){void 0!==e&&void 0!==e.markerColor&&void 0===e.borderColor&&(e.borderColor=e.markerColor);var t=new o("linetoolnote",e);return a._configureProperties(t),t}state(e){var t=r.prototype.state.call(this,e);return e&&(t.state.fixedSize=!1),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,55510))).NoteDefinitionsViewModel}static _configureProperties(e){r._configureProperties(e),e.hasChild("text")||e.addChild("text",new n(s("Text"))),e.addExclusion("text")}}a.TOOLTIP_WIDTH=300,a.TOOLTIP_PADDING=10,a.TOOLTIP_LINESPACING=5,a.version=1;class l extends a{constructor(e,t){super(e,t||l.createProperties())}title(){return s("Anchored Note")}name(){return"Anchored Note"}isFixed(){return!0}hasEditableCoordinates(){return!1}static createProperties(e){var t=new o("linetoolnoteabsolute",e);return l._configureProperties(t),t}static _configureProperties(e){a._configureProperties(e)}}t.LineToolNote=a,t.LineToolNoteAbsolute=l},86858:(e,t,i)=>{"use strict";var s=i(2587).LineToolTrading,r=i(22474).LineToolPriceAxisView,n=i(53664),o=i(89857).LineDataSource,a=i(88564).DefaultProperty;const l=i(67337);var c=i(59555).sortSourcesPreOrdered.LineToolOrder;function h(e){return null==e?e="":e+="",e}class d{constructor(e){this._line=e,this._data={bodyText:"order",quantityText:"0"},this._editable=!0,this._cancellable=!0,this._mode="",this._direction="buy",this._active=!0}setMode(e){return this._mode=e,this._line.updateAllViewsAndRedraw(),this}setDirection(e){return this._direction=e,this._line.updateAllViewsAndRedraw(),this}setActive(e){return this._active=e,this._line.updateAllViewsAndRedraw(),this}setEditable(e){return this._editable=e, +this._line.updateAllViewsAndRedraw(),this}getEditable(){return this._editable}setCancellable(e){return this._cancellable=e,this._line.updateAllViewsAndRedraw(),this}getCancellable(){return this._cancellable}hasMoveCallback(){return this.isFunction(this._onMoveCallback)}hasModifyCallback(){return this.isFunction(this._onModifyCallback)}getPrice(){return this._line.points().length>0?this._line.points()[0].price:this._line._timePoint.length>0?this._line._timePoint[0].price:void 0}setPrice(e){if(this._line.points().length>0){var t=this._line.points()[0];t.price=e,this._line._points[0]=t,this._line.normalizePoints(),this._line.updateAllViewsAndRedraw()}return this._line._timePoint.length>0&&(this._line._timePoint[0].price=e),this}getText(){return this._data.bodyText}setText(e){return this._data.bodyText=e||"",this._line.updateAllViewsAndRedraw(),this}setTooltip(e){return this._line.properties().tooltip.setValue(h(e)),this}getTooltip(){return this._line.properties().tooltip.value()}setModifyTooltip(e){return this._line.properties().modifyTooltip.setValue(h(e)),this}getModifyTooltip(){return this._line.properties().modifyTooltip.value()}setCancelTooltip(e){return this._line.properties().cancelTooltip.setValue(h(e)),this}getCancelTooltip(){return this._line.properties().cancelTooltip.value()}getQuantity(){return this._data.quantityText}setQuantity(e){return this._data.quantityText=e||"",this._line.updateAllViewsAndRedraw(),this}getExtendLeft(){var e=this._line.properties().extendLeft.value();return"inherit"===e?this._line._model.properties().tradingProperties.extendLeft.value():e}setExtendLeft(e){return this._line.properties().extendLeft.setValue(e),this}getLineLength(){var e=this._line.properties().lineLength.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineLength.value():e}setLineLength(e){return this._line.properties().lineLength.setValue(Math.max(0,Math.min(e,100))),this}getLineColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.lineActiveBuyColor.value():e.lineInactiveBuyColor.value():this._active?e.lineActiveSellColor.value():e.lineInactiveSellColor.value()}setLineColor(e){return"buy"===this._direction?this._active?this.setLineActiveBuyColor(e):this.setLineInactiveBuyColor(e):this._active?this.setLineActiveSellColor(e):this.setLineInactiveSellColor(e),this}setLineActiveBuyColor(e){return this._line.properties().lineActiveBuyColor.setValue(e),this}setLineInactiveBuyColor(e){return this._line.properties().lineInactiveBuyColor.setValue(e),this}setLineActiveSellColor(e){return this._line.properties().lineActiveSellColor.setValue(e),this}setLineInactiveSellColor(e){return this._line.properties().lineInactiveSellColor.setValue(e),this}getLineStyle(){var e=this._line.properties().lineStyle.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineStyle.value():e}setLineStyle(e){return this._line.properties().lineStyle.setValue(e),this}getLineWidth(){var e=this._line.properties().lineWidth.value() +;return"inherit"===e?this._line._model.properties().tradingProperties.lineWidth.value():e}setLineWidth(e){return this._line.properties().lineWidth.setValue(e),this}getBodyBorderColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.bodyBorderActiveBuyColor.value():e.bodyBorderInactiveBuyColor.value():this._active?e.bodyBorderActiveSellColor.value():e.bodyBorderInactiveSellColor.value()}setBodyBorderColor(e){return"buy"===this._direction?this._active?this.setBodyBorderActiveBuyColor(e):this.setBodyBorderInactiveBuyColor(e):this._active?this.setBodyBorderActiveSellColor(e):this.setBodyBorderInactiveSellColor(e),this}setBodyBorderActiveBuyColor(e){return this._line.properties().bodyBorderActiveBuyColor.setValue(e),this}setBodyBorderInactiveBuyColor(e){return this._line.properties().bodyBorderInactiveBuyColor.setValue(e),this}setBodyBorderActiveSellColor(e){return this._line.properties().bodyBorderActiveSellColor.setValue(e),this}setBodyBorderInactiveSellColor(e){return this._line.properties().bodyBorderInactiveSellColor.setValue(e),this}getBodyBackgroundColor(){return n.getColorFromProperties(this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency)}setBodyBackgroundColor(e){return n.setColorToProperties(e,this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency),this}getBodyTextColor(){var e=this._line.properties();return"limit"===this._mode?this._active?e.bodyTextActiveLimitColor.value():e.bodyTextInactiveLimitColor.value():"stop"===this._mode?this._active?e.bodyTextActiveStopColor.value():e.bodyTextInactiveStopColor.value():"buy"===this._direction?this._active?e.bodyTextActiveBuyColor.value():e.bodyTextInactiveBuyColor.value():this._active?e.bodyTextActiveSellColor.value():e.bodyTextInactiveSellColor.value()}setBodyTextColor(e){return"limit"===this._mode?this._active?this.setBodyTextActiveLimitColor(e):this.setBodyTextInactiveLimitColor(e):"stop"===this._mode?this._active?this.setBodyTextActiveStopColor(e):this.setBodyTextInactiveStopColor(e):"buy"===this._direction?this._active?this.setBodyTextActiveBuyColor(e):this.setBodyTextInactiveBuyColor(e):this._active?this.setBodyTextActiveSellColor(e):this.setBodyTextInactiveSellColor(e),this}setBodyTextInactiveLimitColor(e){return this._line.properties().bodyTextInactiveLimitColor.setValue(e),this}setBodyTextActiveLimitColor(e){return this._line.properties().bodyTextActiveLimitColor.setValue(e),this}setBodyTextInactiveStopColor(e){return this._line.properties().bodyTextInactiveStopColor.setValue(e),this}setBodyTextActiveStopColor(e){return this._line.properties().bodyTextActiveStopColor.setValue(e),this}setBodyTextInactiveBuyColor(e){return this._line.properties().bodyTextInactiveBuyColor.setValue(e),this}setBodyTextActiveBuyColor(e){return this._line.properties().bodyTextActiveBuyColor.setValue(e),this}setBodyTextInactiveSellColor(e){return this._line.properties().bodyTextInactiveSellColor.setValue(e),this}setBodyTextActiveSellColor(e){ +return this._line.properties().bodyTextActiveSellColor.setValue(e),this}getBodyFont(){return n.getFontFromProperties(this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic)}setBodyFont(e){return n.setFontToProperties(e,this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic),this}getQuantityBorderColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.quantityBorderActiveBuyColor.value():e.quantityBorderInactiveBuyColor.value():this._active?e.quantityBorderActiveSellColor.value():e.quantityBorderInactiveSellColor.value()}setQuantityBorderColor(e){return"buy"===this._direction?this._active?this.setQuantityBorderActiveBuyColor(e):this.setQuantityBorderInactiveBuyColor(e):this._active?this.setQuantityBorderActiveSellColor(e):this.setQuantityBorderInactiveSellColor(e),this}setQuantityBorderActiveBuyColor(e){return this._line.properties().quantityBorderActiveBuyColor.setValue(e),this}setQuantityBorderInactiveBuyColor(e){return this._line.properties().quantityBorderInactiveBuyColor.setValue(e),this}setQuantityBorderActiveSellColor(e){return this._line.properties().quantityBorderActiveSellColor.setValue(e),this}setQuantityBorderInactiveSellColor(e){return this._line.properties().quantityBorderInactiveSellColor.setValue(e),this}getQuantityBackgroundColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.quantityBackgroundActiveBuyColor.value():e.quantityBackgroundInactiveBuyColor.value():this._active?e.quantityBackgroundActiveSellColor.value():e.quantityBackgroundInactiveSellColor.value()}setQuantityBackgroundColor(e){return"buy"===this._direction?this._active?this.setQuantityBackgroundActiveBuyColor(e):this.setQuantityBackgroundInactiveBuyColor(e):this._active?this.setQuantityBackgroundActiveSellColor(e):this.setQuantityBackgroundInactiveSellColor(e),this}setQuantityBackgroundActiveBuyColor(e){return this._line.properties().quantityBackgroundActiveBuyColor.setValue(e),this}setQuantityBackgroundInactiveBuyColor(e){return this._line.properties().quantityBackgroundInactiveBuyColor.setValue(e),this}setQuantityBackgroundActiveSellColor(e){return this._line.properties().quantityBackgroundActiveSellColor.setValue(e),this}setQuantityBackgroundInactiveSellColor(e){return this._line.properties().quantityBackgroundInactiveSellColor.setValue(e),this}getQuantityTextColor(){return n.getColorFromProperties(this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency)}setQuantityTextColor(e){return n.setColorToProperties(e,this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency),this}getQuantityFont(){return n.getFontFromProperties(this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic)}setQuantityFont(e){ +return n.setFontToProperties(e,this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic),this}getCancelButtonBorderColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.cancelButtonBorderActiveBuyColor.value():e.cancelButtonBorderInactiveBuyColor.value():this._active?e.cancelButtonBorderActiveSellColor.value():e.cancelButtonBorderInactiveSellColor.value()}setCancelButtonBorderColor(e){return"buy"===this._direction?this._active?this.setCancelButtonBorderActiveBuyColor(e):this.setCancelButtonBorderInactiveBuyColor(e):this._active?this.setCancelButtonBorderActiveSellColor(e):this.setCancelButtonBorderInactiveSellColor(e),this}setCancelButtonBorderActiveBuyColor(e){return this._line.properties().cancelButtonBorderActiveBuyColor.setValue(e),this}setCancelButtonBorderInactiveBuyColor(e){return this._line.properties().cancelButtonBorderInactiveBuyColor.setValue(e),this}setCancelButtonBorderActiveSellColor(e){return this._line.properties().cancelButtonBorderActiveSellColor.setValue(e),this}setCancelButtonBorderInactiveSellColor(e){return this._line.properties().cancelButtonBorderInactiveSellColor.setValue(e),this}getCancelButtonBackgroundColor(){return n.getColorFromProperties(this._line.properties().cancelButtonBackgroundColor,this._line.properties().cancelButtonBackgroundTransparency)}setCancelButtonBackgroundColor(e){return n.setColorToProperties(e,this._line.properties().cancelButtonBackgroundColor,this._line.properties().cancelButtonBackgroundTransparency),this}getCancelButtonIconColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.cancelButtonIconActiveBuyColor.value():e.cancelButtonIconInactiveBuyColor.value():this._active?e.cancelButtonIconActiveSellColor.value():e.cancelButtonIconInactiveSellColor.value()}setCancelButtonIconColor(e){return"buy"===this._direction?this._active?this.setCancelButtonIconActiveBuyColor(e):this.setCancelButtonIconInactiveBuyColor(e):this._active?this.setCancelButtonIconActiveSellColor(e):this.setCancelButtonIconInactiveSellColor(e),this}setCancelButtonIconActiveBuyColor(e){return this._line.properties().cancelButtonIconActiveBuyColor.setValue(e),this}setCancelButtonIconInactiveBuyColor(e){return this._line.properties().cancelButtonIconInactiveBuyColor.setValue(e),this}setCancelButtonIconActiveSellColor(e){return this._line.properties().cancelButtonIconActiveSellColor.setValue(e),this}setCancelButtonIconInactiveSellColor(e){return this._line.properties().cancelButtonIconInactiveSellColor.setValue(e),this}block(){this._blocked=!0,this._line.updateAllViewsAndRedraw()}unblock(){this._blocked=!1,this._line.updateAllViewsAndRedraw()}getBlocked(){return this._blocked}isFunction(e){return"function"==typeof e}onCancel(e,t){return t?this.isFunction(t)&&(this._onCancelData=e,this._onCancelCallback=t):this.isFunction(e)&&(this._onCancelCallback=e),this}callOnCancel(){ +this.isFunction(this._onCancelCallback)&&this._onCancelCallback.call(this,this._onCancelData)}isOnCancelCallbackPresent(){return this.isFunction(this._onCancelCallback)}onModify(e,t){return t?this.isFunction(t)&&(this._onModifyData=e,this._onModifyCallback=t):this.isFunction(e)&&(this._onModifyCallback=e),this}callOnModify(){this.isFunction(this._onModifyCallback)&&this._onModifyCallback.call(this,this._onModifyData)}onMove(e,t){return t?this.isFunction(t)&&(this._onMoveData=e,this._onMoveCallback=t):this.isFunction(e)&&(this._onMoveCallback=e),this}callOnMove(){this.isFunction(this._onMoveCallback)&&this._onMoveCallback.call(this,this._onMoveData)}onContextMenu(e,t){return t?this.isFunction(t)&&(this._onContextMenuData=e,this._onContextMenuCallback=t):this.isFunction(e)&&(this._onContextMenuCallback=e),this}shouldShowContextMenu(){return this.isFunction(this._onContextMenuCallback)}callOnContextMenu(){if(this.isFunction(this._onContextMenuCallback))return this._onContextMenuCallback.call(this,this._onContextMenuData)}remove(){this._line._model.removeSource(this._line),delete this._line}}class u extends s{constructor(e,t){super(e,t||u.createProperties()),this._adapter=new d(this),this.setSelectionEnabled(!0),i.e(1583).then(i.bind(i,45175)).then(({OrderPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}zorder(){return c}isSpeciallyZOrderedSource(){return!0}setPoint(e,t,i){this._points[e]=t,this.normalizePoints()}addPoint(e,t){return this._points.push(e),this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}name(){return"Order"}endMoving(e){var t=this._startMovingPoint&&this._currentMovingPoint&&this._startMovingPoint.logical.price!==this._currentMovingPoint.logical.price;super.endMoving(),!e&&t&&this._adapter.callOnMove()}createPriceAxisView(e){var t={pointIndex:e,backgroundPropertyGetter:()=>this._adapter.getLineColor()};return this._priceAxisView=new r(this,t),this._priceAxisView}paneViews(){return TradingView.printing&&!l.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showOrders.value()?o.prototype.paneViews.call(this):null}priceAxisViews(e,t){return TradingView.printing&&!l.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showOrders.value()?o.prototype.priceAxisViews.call(this,e,t):null}adapter(){return this._adapter}hasContextMenu(){return this._adapter.shouldShowContextMenu()}contextMenuItems(){return this._adapter.callOnContextMenu()}movable(){return Boolean(this._adapter._onMoveCallback)}static createProperties(e){var t=new a("linetoolorder",e,!1,!1);return u._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolOrder=u},78898:(e,t,i)=>{"use strict";i.d(t,{LineToolParallelChannel:()=>c});var s=i(88537),r=i(86441),n=i(88564),o=i(85733),a=i(89857),l=i(80643);class c extends a.LineDataSource{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),this._priceAxisViews.push(this.createPriceAxisView(3)),this._coordOffsetWhileMovingOrChanging=null, +this._pendingPriceOffset=null,i.e(1583).then(i.bind(i,74143)).then(({ParallelChannelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}paneViews(e){return null!==this._pendingPriceOffset&&this._applyPendingPriceOffset(),super.paneViews(e)}setLastPoint(e,t){t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[0]);const i=(0,l.clone)(e);return super.setLastPoint(e),i}startMoving(e,t,i,s){super.startMoving(e,t,i,s),this._coordOffsetWhileMovingOrChanging=this._findPixelsHeight()}endMoving(e,t,i){return this._coordOffsetWhileMovingOrChanging=null,super.endMoving(e,t,i)}startChanging(e,t){super.startChanging(e,t),this._coordOffsetWhileMovingOrChanging=this._findPixelsHeight()}endChanging(e,t,i){return this._coordOffsetWhileMovingOrChanging=null,super.endChanging(e,t)}restoreExternalPoints(e,t,i){const s=i?e.points:this._timePoint.map((t,i)=>({price:t.price,offset:e.points[i].offset,time_t:e.points[i].time_t}));if(super.restoreExternalPoints({...e,points:s},t),t.pricesChanged&&this._points.length===s.length)for(let e=0;e=4)return;this._snapPointBeforeChange(e,t,i);const a=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),l=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),c=(0,s.ensureNotNull)(this.pointToScreenPoint(t)),h=(0,s.ensureNotNull)(this._coordOffsetWhileMovingOrChanging),d=(0,s.ensureNotNull)(this.priceScale()),u=(0,s.ensure)(null===(n=this.ownerSource())||void 0===n?void 0:n.firstValue());switch(e){case 0:super.setPoint(e,t,i),this._points[2].price=d.coordinateToPrice(c.y+h,u);break;case 1:super.setPoint(e,t,i);break;case 2:super.setPoint(e,t,i),this._points[0].price=d.coordinateToPrice(c.y-h,u),this._points[0].index=t.index;break;case 3:this._points[1].price=d.coordinateToPrice(c.y-h,u),this._points[1].index=t.index;break;case 4:{const e=l.subtract(a),t=(c.x-a.x)/e.x,i=a.addScaled(e,t),s=c.y-i.y;this._points[2].price=d.coordinateToPrice(a.y+s,u);break}case 5:{const e=l.subtract(a),t=(c.x-a.x)/e.x,i=a.addScaled(e,t),s=c.y-i.y;this._points[0].price=d.coordinateToPrice(a.y+s,u),this._points[1].price=d.coordinateToPrice(l.y+s,u);break}}const p=this.linkKey().value();if(p&&!r&&e<4){const e=this._points.map(e=>e.price);(0,o.changeLineStyle)({model:this._model,linkKey:p,state:{prices:e}})}}state(e){const t=a.LineDataSource.prototype.state.call(this,e);return this._pendingPriceOffset&&(t.priceOffset=this._pendingPriceOffset),t}restoreExternalState(e){const t={...e};if(t.prices&&this.isActualSymbol())for(let e=0;ee.index<=t.index?[e,t]:[t,e],s=i(t[0],t[1]),r=i(t[2],t[3]);let n,o,a,l;t[2].price{"use strict";i.d(t,{LineToolPath:()=>c});var s=i(88537),r=i(86441),n=i(88564),o=i(49094),a=i(89857),l=i(37865);class c extends a.LineDataSource{constructor(e,t,s,r){const n=t||c.createProperties();super(e,n,s,r),this._finished=!1,i.e(1583).then(i.bind(i,10155)).then(t=>{this._setPaneViews([new t.PathPaneView(this,e)])})}pointsCount(){return-1}name(){return"Path"}hasEditableCoordinates(){return!1}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}addPoint(e,t,i){var n;if(this._finished)return!0;const a=(0,s.ensureNotNull)(this.priceScale()),l=this._model.timeScale().indexToCoordinate(e.index),c=e.price,h=(0,s.ensure)(null===(n=this.ownerSource())||void 0===n?void 0:n.firstValue()),d=a.priceToCoordinate(c,h);if(this._points.length>0){const e=this._points[this._points.length-1],i=this._model.timeScale().indexToCoordinate(e.index),s=e.price,n=a.priceToCoordinate(s,h),c=new r.Point(l,d).subtract(new r.Point(i,n)).length();if(!(null==t?void 0:t.isApiEvent())&&c<(0,o.interactionTolerance)().minDistanceBetweenPoints)return this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}return super.addPoint(e,t,i)}static createProperties(e){const t=new n.DefaultProperty("linetoolpath",e);return c._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,4283)).then(e=>e.PathDefinitionsViewModel)}static _configureProperties(e){a.LineDataSource._configureProperties(e),e.addChild("linesWidths",new l.LineToolWidthsProperty([(0,s.ensureDefined)(e.child("lineWidth"))])),e.addChild("linesColors",new l.LineToolColorsProperty([e.childs().lineColor]))}}},18977:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.bind(i,92669)).then(({PitchfanLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 3}name(){return"Pitchfan"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)} +async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34879))).PitchBaseDefinitionsViewModel}static createProperties(e){var t=new o("linetoolpitchfan",e,!1,{range:[0,8]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("median").child("linewidth")],i=[e.child("median").child("color")],s=0;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=8,t.LineToolPitchfan=d},30823:(e,t,i)=>{"use strict";var s;i.d(t,{LineToolPitchforkStyle:()=>s}),function(e){e[e.Original=0]="Original",e[e.Schiff=1]="Schiff",e[e.Inside=2]="Inside",e[e.Schiff2=3]="Schiff2"}(s||(s={}))},40100:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(28296).Action,l=i(62060).ACTION_ID,c=i(30823).LineToolPitchforkStyle,h=null,d=i(37865),u=d.LineToolWidthsProperty,p=d.LineToolColorsProperty,_=new r("erase level line",s("erase level line")),m=new r("change {title} style",s("change {title} style"));class g extends n{constructor(e,t,i,s){super(e,t||g.createProperties(),i,s),this._properties.style.listeners().subscribe(this,g.prototype._recreatePaneView),this._recreatePaneView()}levelsCount(){return g.LevelsCount}additionalActions(e){for(var t=[],i=[{title:s("Original"),actionId:l.ChartLineToolPitchforkChangeTypeToOriginal},{title:s("Modified Schiff"),actionId:l.ChartLineToolPitchforkChangeTypeToModifiedSchiff},{title:s("Inside"),actionId:l.ChartLineToolPitchforkChangeTypeToInside},{title:s("Schiff"),actionId:l.ChartLineToolPitchforkChangeTypeToSchiff}],n=0;n<4;n++){var o=new a({actionId:i[n].actionId,checked:this.properties().style.value()===n,checkable:!0,label:i[n].title,payload:{target:this,value:n},onExecute:function(t){var i=t.getPayload(),s=i.target;e.setProperty(s.properties().style,i.value,m.format({title:new r(s.name(),s.title())})),s.updateAllViews(),s._model.updateSource(s)}});t.push(o)}return[t[0],t[3],t[1],t[2]]}_recreatePaneView(){if(null!==h){var e=[];this._properties.style.value()===c.Original?e=[new h.PitchforkLinePaneView(this,this._model)]:this._properties.style.value()===c.Schiff?e=[new h.SchiffPitchforkLinePaneView(this,this._model)]:this._properties.style.value()===c.Schiff2?e=[new h.SchiffPitchfork2LinePaneView(this,this._model)]:this._properties.style.value()===c.Inside&&(e=[new h.InsidePitchforkLinePaneView(this,this._model)]),this._setPaneViews(e)}else i.e(1583).then(i.bind(i,41829)).then(e=>{null===h&&(h=e),this._recreatePaneView()})}pointsCount(){return 3}name(){return"Pitchfork"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,_)}static createProperties(e){var t=new o("linetoolpitchfork",e,!1,{range:[0,8]});return g._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){ +return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,84806))).PitchForkDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("median").child("linewidth")],i=[e.child("median").child("color")],s=0;s<=g.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new p(i)),e.addChild("linesWidths",new u(t))}}g.LevelsCount=8,t.LineToolPitchfork=g},19085:(e,t,i)=>{"use strict";i.d(t,{LineToolPolyline:()=>l});var s=i(88537),r=i(86441),n=i(88564),o=i(49094),a=i(89857);class l extends a.LineDataSource{constructor(e,t,s,r){const n=t||l.createProperties();super(e,n,s,r),this._finished=!1,i.e(1583).then(i.bind(i,95907)).then(t=>{this._setPaneViews([new t.PolylinePaneView(this,e)])})}pointsCount(){return-1}name(){return"Polyline"}hasEditableCoordinates(){return!1}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}addPoint(e,t,i){var n;if(this._finished)return!0;const a=(0,s.ensureNotNull)(this.priceScale()),l=this._model.timeScale().indexToCoordinate(e.index),c=e.price,h=(0,s.ensure)(null===(n=this.ownerSource())||void 0===n?void 0:n.firstValue()),d=a.priceToCoordinate(c,h),u=(0,o.interactionTolerance)().minDistanceBetweenPoints;if(this._points.length>0){const e=this._points[this._points.length-1],i=this._model.timeScale().indexToCoordinate(e.index),s=e.price,n=a.priceToCoordinate(s,h),o=new r.Point(l,d).subtract(new r.Point(i,n)).length();if(!(null==t?void 0:t.isApiEvent())&&oe.PolylinesDefinitionsViewModel)}static _configureProperties(e){a.LineDataSource._configureProperties(e),e.addExclusion("filled")}}},96295:(e,t,i)=>{"use strict" +;i.d(t,{PositionAveragePriceAxisView:()=>r});var s=i(22474);class r extends s.LineToolPriceAxisView{_formatPrice(e,t){return this._source.formatter().format(e)}}},2157:(e,t,i)=>{"use strict";var s=i(2587).LineToolTrading,r=i(89857).LineDataSource,n=i(96295).PositionAveragePriceAxisView,o=i(53664),a=i(88564).DefaultProperty,l=i(97098).PriceFormatter;const c=i(67337);var h=i(59555).sortSourcesPreOrdered.LineToolPosition;function d(e){return null==e?e="":e+="",e}class u{constructor(e){this._line=e,this._data={bodyText:"position",quantityText:"0"},this._closeEnabled=!0,this._direction="buy",this._profitState="neutral"}setDirection(e){return this._direction=e,this._line.updateAllViewsAndRedraw(),this}setProfitState(e){return this._profitState=e,this._line.updateAllViewsAndRedraw(),this}getPrice(){return this._line.points().length>0?this._line.points()[0].price:this._line._timePoint.length>0?this._line._timePoint[0].price:void 0}setPrice(e){if(this._line.points().length>0){var t=this._line.points()[0];t.price=e,this._line._points[0]=t,this._line.normalizePoints(),this._line.updateAllViewsAndRedraw()}return this._line._timePoint.length>0&&(this._line._timePoint[0].price=e),this}getText(){return this._data.bodyText}setText(e){return this._data.bodyText=e||"",this._line.updateAllViewsAndRedraw(),this}setTooltip(e){return this._line.properties().tooltip.setValue(d(e)),this}getTooltip(){return this._line.properties().tooltip.value()}setProtectTooltip(e){return this._line.properties().protectTooltip.setValue(d(e)),this}getProtectTooltip(){return this._line.properties().protectTooltip.value()}setCloseTooltip(e){return this._line.properties().closeTooltip.setValue(d(e)),this}getCloseTooltip(){return this._line.properties().closeTooltip.value()}setReverseTooltip(e){return this._line.properties().reverseTooltip.setValue(d(e)),this}getReverseTooltip(){return this._line.properties().reverseTooltip.value()}getQuantity(){return this._data.quantityText}setQuantity(e){return this._data.quantityText=e||"",this._line.updateAllViewsAndRedraw(),this}getExtendLeft(){var e=this._line.properties().extendLeft.value();return"inherit"===e?this._line._model.properties().tradingProperties.extendLeft.value():e}setExtendLeft(e){return this._line.properties().extendLeft.setValue(e),this}getLineLength(){var e=this._line.properties().lineLength.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineLength.value():e}setLineLength(e){return this._line.properties().lineLength.setValue(Math.max(0,Math.min(e,100))),this}getLineColor(){var e=this._line.properties();return("buy"===this._direction?e.lineBuyColor:e.lineSellColor).value()}setLineColor(e){return"buy"===this._direction?this.setLineBuyColor(e):this.setLineSellColor(e),this}setLineBuyColor(e){return this._line.properties().lineBuyColor.setValue(e),this}setLineSellColor(e){return this._line.properties().lineSellColor.setValue(e),this}getLineStyle(){var e=this._line.properties().lineStyle.value() +;return"inherit"===e?this._line._model.properties().tradingProperties.lineStyle.value():e}setLineStyle(e){return this._line.properties().lineStyle.setValue(e),this}getLineWidth(){var e=this._line.properties().lineWidth.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineWidth.value():e}setLineWidth(e){return this._line.properties().lineWidth.setValue(e),this}getBodyBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.bodyBorderBuyColor:e.bodyBorderSellColor).value()}setBodyBorderColor(e){return"buy"===this._direction?this.setBodyBorderBuyColor(e):this.setBodyBorderSellColor(e),this}setBodyBorderBuyColor(e){return this._line.properties().bodyBorderBuyColor.setValue(e),this}setBodyBorderSellColor(e){return this._line.properties().bodyBorderSellColor.setValue(e),this}getBodyBackgroundColor(){return o.getColorFromProperties(this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency)}setBodyBackgroundColor(e){return o.setColorToProperties(e,this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency),this}getBodyTextColor(){var e=this._line.properties();return("positive"===this._profitState?e.bodyTextPositiveColor:"negative"===this._profitState?e.bodyTextNegativeColor:e.bodyTextNeutralColor).value()}setBodyTextColor(e){return"positive"===this._profitState?this.setBodyTextPositiveColor(e):"negative"===this._profitState?this.setBodyTextNegativeColor(e):this.setBodyTextNeutralColor(e),this}setBodyTextPositiveColor(e){return this._line.properties().bodyTextPositiveColor.setValue(e),this}setBodyTextNegativeColor(e){return this._line.properties().bodyTextNegativeColor.setValue(e),this}setBodyTextNeutralColor(e){return this._line.properties().bodyTextNeutralColor.setValue(e),this}getBodyFont(){return o.getFontFromProperties(this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic)}setBodyFont(e){return o.setFontToProperties(e,this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic),this}getQuantityBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.quantityBorderBuyColor:e.quantityBorderSellColor).value()}setQuantityBorderColor(e){return"buy"===this._direction?this.setQuantityBorderBuyColor(e):this.setQuantityBorderSellColor(e),this}setQuantityBorderBuyColor(e){return this._line.properties().quantityBorderBuyColor.setValue(e),this}setQuantityBorderSellColor(e){return this._line.properties().quantityBorderSellColor.setValue(e),this}getQuantityBackgroundColor(){var e=this._line.properties();return("buy"===this._direction?e.quantityBackgroundBuyColor:e.quantityBackgroundSellColor).value()}setQuantityBackgroundColor(e){return"buy"===this._direction?this.setQuantityBackgroundBuyColor(e):this.setQuantityBackgroundSellColor(e),this}setQuantityBackgroundBuyColor(e){ +return this._line.properties().quantityBackgroundBuyColor.setValue(e),this}setQuantityBackgroundSellColor(e){return this._line.properties().quantityBackgroundSellColor.setValue(e),this}getQuantityTextColor(){return o.getColorFromProperties(this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency)}setQuantityTextColor(e){return o.setColorToProperties(e,this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency),this}getQuantityFont(){return o.getFontFromProperties(this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic)}setQuantityFont(e){return o.setFontToProperties(e,this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic),this}getReverseButtonBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.reverseButtonBorderBuyColor:e.reverseButtonBorderSellColor).value()}setReverseButtonBorderColor(e){return"buy"===this._direction?this.setReverseButtonBorderBuyColor(e):this.setReverseButtonBorderSellColor(e),this}setReverseButtonBorderBuyColor(e){return this._line.properties().reverseButtonBorderBuyColor.setValue(e),this}setReverseButtonBorderSellColor(e){return this._line.properties().reverseButtonBorderSellColor.setValue(e),this}getReverseButtonBackgroundColor(){return o.getColorFromProperties(this._line.properties().reverseButtonBackgroundColor,this._line.properties().reverseButtonBackgroundTransparency)}setReverseButtonBackgroundColor(e){return o.setColorToProperties(e,this._line.properties().reverseButtonBackgroundColor,this._line.properties().reverseButtonBackgroundTransparency),this}getReverseButtonIconColor(){var e=this._line.properties();return("buy"===this._direction?e.reverseButtonIconBuyColor:e.reverseButtonIconSellColor).value()}setReverseButtonIconColor(e){return"buy"===this._direction?this.setReverseButtonIconBuyColor(e):this.setReverseButtonIconSellColor(e),this}setReverseButtonIconBuyColor(e){return this._line.properties().reverseButtonIconBuyColor.setValue(e),this}setReverseButtonIconSellColor(e){return this._line.properties().reverseButtonIconSellColor.setValue(e),this}getCloseButtonBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.closeButtonBorderBuyColor:e.closeButtonBorderSellColor).value()}setCloseButtonBorderColor(e){return"buy"===this._direction?this.setCloseButtonBorderBuyColor(e):this.setCloseButtonBorderSellColor(e),this}setCloseButtonBorderBuyColor(e){return this._line.properties().closeButtonBorderBuyColor.setValue(e),this}setCloseButtonBorderSellColor(e){return this._line.properties().closeButtonBorderSellColor.setValue(e),this}getCloseButtonBackgroundColor(){return o.getColorFromProperties(this._line.properties().closeButtonBackgroundColor,this._line.properties().closeButtonBackgroundTransparency)}setCloseButtonBackgroundColor(e){ +return o.setColorToProperties(e,this._line.properties().closeButtonBackgroundColor,this._line.properties().closeButtonBackgroundTransparency),this}getCloseButtonIconColor(){var e=this._line.properties();return("buy"===this._direction?e.closeButtonIconBuyColor:e.closeButtonIconSellColor).value()}setCloseButtonIconColor(e){return"buy"===this._direction?this.setCloseButtonIconBuyColor(e):this.setCloseButtonIconSellColor(e),this}setCloseButtonIconBuyColor(e){return this._line.properties().closeButtonIconBuyColor.setValue(e),this}setCloseButtonIconSellColor(e){return this._line.properties().closeButtonIconSellColor.setValue(e),this}block(){this._blocked=!0,this._line.updateAllViewsAndRedraw()}unblock(){this._blocked=!1,this._line.updateAllViewsAndRedraw()}isFunction(e){return"function"==typeof e}onReverse(e,t){return t?this.isFunction(t)&&(this._onReverseData=e,this._onReverseCallback=t):this.isFunction(e)&&(this._onReverseCallback=e),this}callOnReverse(){this.isFunction(this._onReverseCallback)&&this._onReverseCallback.call(this,this._onReverseData)}isOnReverseCallbackPresent(){return this.isFunction(this._onReverseCallback)}onClose(e,t){return t?this.isFunction(t)&&(this._onCloseData=e,this._onCloseCallback=t):this.isFunction(e)&&(this._onCloseCallback=e),this}setCloseEnabled(e){return this._closeEnabled===e||(this._closeEnabled=e,this._onCloseCallback&&this._line.updateAllViewsAndRedraw()),this}isCloseEnabled(){return this._closeEnabled}callOnClose(){this.isFunction(this._onCloseCallback)&&this._closeEnabled&&this._onCloseCallback.call(this,this._onCloseData)}isOnCloseCallbackPresent(){return this._closeEnabled&&this.isFunction(this._onCloseCallback)}onModify(e,t){return t?this.isFunction(t)&&(this._onModifyData=e,this._onModifyCallback=t):this.isFunction(e)&&(this._onModifyCallback=e),this}callOnModify(){this.isFunction(this._onModifyCallback)&&this._onModifyCallback.call(this,this._onModifyData)}onContextMenu(e,t){return t?this.isFunction(t)&&(this._onContextMenuData=e,this._onContextMenuCallback=t):this.isFunction(e)&&(this._onContextMenuCallback=e),this}shouldShowContextMenu(){return this.isFunction(this._onContextMenuCallback)}callOnContextMenu(){if(this.isFunction(this._onContextMenuCallback))return this._onContextMenuCallback.call(this,this._onContextMenuData)}remove(){this._line._model.removeSource(this._line),delete this._line}}class p extends s{constructor(e,t){super(e,t||p.createProperties()),this._adapter=new u(this),i.e(1583).then(i.t.bind(i,69127,19)).then(({PositionPaneView:e})=>{this._setPaneViews([new e(this,this._model)])});var s=e.mainSeries().symbolInfo(),r=null!==s?s.pricescale:100,n=null!==s&&s.fractional?s.minmov:1,o=null!==s&&s.fractional,a=null!==s?s.minmove2:void 0;this._formatter=new l(r,n,o,a)}zorder(){return h}isSpeciallyZOrderedSource(){return!0}setPoint(e,t,i){this._points[e]=t,this.normalizePoints()}addPoint(e,t){return this._points.push(e),this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}name(){return"Position"}createPriceAxisView(e){ +return this._priceAxisView=new n(this,{pointIndex:e,backgroundPropertyGetter:()=>this._adapter.getLineColor()}),this._priceAxisView}paneViews(){return TradingView.printing&&!c.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showPositions.value()?r.prototype.paneViews.call(this):null}priceAxisViews(e,t){return TradingView.printing&&!c.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showPositions.value()?r.prototype.priceAxisViews.call(this,e,t):null}hasContextMenu(){return this._adapter.shouldShowContextMenu()}contextMenuItems(){return this._adapter.callOnContextMenu()}formatter(){return this._formatter}static createProperties(e){var t=new a("linetoolposition",e,!1,!1);return p._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolPosition=p},19582:(e,t,i)=>{"use strict";var s,r;i.r(t),i.d(t,{AlertStatus:()=>s,Direction:()=>r}),function(e){e[e.Waiting=0]="Waiting",e[e.Success=1]="Success",e[e.Failure=2]="Failure"}(s||(s={})),function(e){e[e.Up=1]="Up",e[e.Down=2]="Down"}(r||(r={}))},12346:(e,t,i)=>{"use strict";var s=i(88537).ensureNotNull,r=i(89857).LineDataSource,n=i(88564).DefaultProperty,o=i(19582);class a extends r{constructor(e,t,s,r){super(e,t||a.createProperties(),s,r),this._predictionPaneView=null;const n=this._model.mainSeries();n.properties().interval.subscribe(this,()=>{this.setStatus(o.AlertStatus.Waiting)}),n.dataEvents().dataUpdated().subscribe(this,this.checkAlert),i.e(1583).then(i.t.bind(i,58090,19)).then(({PredictionPaneView:e})=>{this._predictionPaneView=new e(this,this._model),this._setPaneViews([this._predictionPaneView])})}destroy(){const e=this._model.mainSeries();e.properties().interval.unsubscribeAll(this),e.dataEvents().dataUpdated().unsubscribeAll(this),super.destroy()}dataAndViewsReady(){return r.prototype.dataAndViewsReady.call(this)&&this._predictionPaneView&&this._predictionPaneView.iconsReady()}isSynchronizable(){return!1}status(){return this._properties.status.value()}setStatus(e){return this._properties.status.setValue(e)}pointsCount(){return 2}name(){return"Forecast"}restorePoints(e,t,i){super.restorePoints(e,t,i),this.checkAlert()}checkAlert(){if(!this.isSourceHidden()&&!(this._points.length<2||this._model.mainSeries().bars().isEmpty())){var e=this._points[1];if(this.status())e.index>this._model.timeScale().baseIndex()&&this.setStatus(o.AlertStatus.Waiting);else{var t=this._model.mainSeries().bars().valueAt(e.index);if(null!==t){var i=this.direction();if(i===o.Direction.Up&&t[TradingView.HIGH_PLOT]>=e.price)this.setStatus(o.AlertStatus.Success);else if(i===o.Direction.Down&&t[TradingView.LOW_PLOT]<=e.price)this.setStatus(o.AlertStatus.Success);else{var r=s(this._model.mainSeries().bars().lastIndex());e.index!==r&&this.setStatus(o.AlertStatus.Failure)}}}}}addPoint(e){var t=r.prototype.addPoint.call(this,e);return t&&this.checkAlert(),t}endChanging(){super.endChanging(),this.setStatus(o.AlertStatus.Waiting),this.checkAlert()}onData(e){super.onData(e),this.checkAlert()} +endMoving(e,t,i){super.endMoving(e,t,i),this.setStatus(o.AlertStatus.Waiting),this.checkAlert()}direction(){if(this.points().length<2)return o.Direction.Up;var e=this.points()[0];return this.points()[1].price>e.price?o.Direction.Up:o.Direction.Down}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,53697))).PredictionDefinitionsViewModel}cloneable(){return!1}static createProperties(e){var t=new n("linetoolprediction",e);return a._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.merge({status:o.AlertStatus.Waiting})}}t.LineToolPrediction=a},3113:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty,n=i(37865).LineToolColorsProperty;class o extends s{constructor(e,t,s,r){super(e,t||o.createProperties(),s,r),i.e(1583).then(i.t.bind(i,69741,19)).then(({PriceLabelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Price Label"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,61641))).PriceLabelDefinitionsViewModel}static createProperties(e){var t=new r("linetoolpricelabel",e);return o._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e),e.addChild("linesColors",new n([e.childs().borderColor])),e.addChild("textsColors",new n([e.childs().color]))}}t.LineToolPriceLabel=o},7648:(e,t,i)=>{"use strict";i.d(t,{LineToolPriceNote:()=>c});var s=i(88537),r=i(88564),n=i(2015),o=i.n(n),a=i(89857),l=i(33291);class c extends a.LineDataSource{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),this._labelMovingDelta=null,i.e(1583).then(i.bind(i,19226)).then(t=>{this._setPaneViews([new t.PriceNotePaneView(this,e)])})}pointsCount(){return 2}name(){return"Price Note"}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}startMoving(e,t,i){if(1===t){if(this.isSourceHidden())return;const i=(0,s.ensureDefined)(e.logical),r=this.points()[1];this._labelMovingDelta={index:r.index-i.index,price:r.price-i.price},this.startChanging(t,i)}else this._labelMovingDelta=null,super.startMoving(e,t,i)}move(e,t,i){if(null!==this._labelMovingDelta){const t=(0,s.ensureDefined)(e.logical),r={index:t.index+this._labelMovingDelta.index,price:t.price+this._labelMovingDelta.price};this.setPoint(1,r,i),this.updateAllViews((0,l.dataSourceChangeEvent)(this.id()))}else super.move(e,t,i)}endMoving(e,t,i){return null!==this._labelMovingDelta?(this._labelMovingDelta=null,this.endChanging(!1,e)):super.endMoving(e,t,i)}static createProperties(e){const t=new r.DefaultProperty("linetoolpricenote",e);return c._configureProperties(t),t}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,90727)).then(e=>e.PriceNoteDefinitionsViewModel)}_snapTo45DegreesAvailable(){return!0}static _configureProperties(e){ +a.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(o())("")),e.addExclusion("text"),e.hasChild("backgroundsColors")&&e.removeProperty("backgroundsColors"),e.hasChild("textsColors")&&e.removeProperty("textsColors")}}},66602:(e,t,i)=>{"use strict";i.d(t,{LineToolPriceRange:()=>p});var s=i(89857),r=i(88537),n=i(24633),o=i(45383),a=i(85402);const l={...a.nonThemedFactoryDefaultsBase,extendLeft:!1,extendRight:!1},c=a.themedFactoryDefaultsBase,h=(0,o.extractAllPropertiesKeys)((0,r.ensureDefined)(c.get(n.StdTheme.Light))),d=(0,o.extractAllPropertiesKeys)(l);class u extends o.ThemedDefaultProperty{static create(e){return new u("linetoolpricerange",()=>(0,o.factoryDefaultsForCurrentTheme)(l,c),d,h,e)}}class p extends s.LineDataSource{constructor(e,t,s,r){super(e,t||p.createProperties(),s,r),i.e(1583).then(i.bind(i,25965)).then(e=>{this._setPaneViews([new e.PriceRangePaneView(this,this._model)])})}pointsCount(){return 2}name(){return"Price Range"}static createProperties(e){const t=u.create(e);return p._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80447))).GeneralDatePriceRangeDefinitionsViewModel}static _configureProperties(e){s.LineDataSource._configureProperties(e)}}},35344:(e,t,i)=>{"use strict";var s=i(34580).LevelsProperty,r=i(53804).LineToolFibWedgeBase,n=i(37865).LineToolColorsProperty;class o extends r{constructor(e,t,s,r){super(e,t||o.createProperties(),s,r),i.e(1583).then(i.t.bind(i,76207,19)).then(({ProjectionLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return 1}name(){return"Projection"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,12590))).ProjectionDefinitionsViewModel}static createProperties(e){var t=new s("linetoolprojection",e,!1,{range:[1,1]});return o._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.addChild("linesColors",new n([e.trendline.color]))}}t.LineToolProjection=o},31702:(e,t,i)=>{"use strict";var s=i(57649).LineToolTrendLine,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Ray"}static createProperties(e){var t=new r("linetoolray",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolRay=n},20258:(e,t,i)=>{"use strict";i.d(t,{LineToolRectangle:()=>h});var s=i(86441),r=i(88564),n=i(2015),o=i.n(n),a=i(89857),l=i(37865),c=i(88537);class h extends a.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,79090)).then(({RectanglePaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}pointsCount(){return 2}textColorsProperty(){return this.properties().childs().showLabel.value()?super.textColorsProperty():null}name(){return"Rectangle"}setPoint(e,t,i){if(e<2&&super.setPoint(e,t,i),i&&i.shift()){const i=this._getAnchorPointForIndex(e) +;if(e>=4)return this._correctMiddlePoints(e,t,i),void this.normalizePoints();this._snapPoint45Degree(t,i)}switch(e){case 2:this._points[1].price=t.price,this._points[0].index=t.index;break;case 3:this._points[0].price=t.price,this._points[1].index=t.index;break;case 4:this._points[0].index=t.index;break;case 5:this._points[1].index=t.index;break;case 6:this._points[0].price=t.price;break;case 7:this._points[1].price=t.price}this.normalizePoints()}getPoint(e){return e<2?super.getPoint(e):this._getAnchorPointForIndex(e)}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new r.DefaultProperty("linetoolrectangle",e);return h._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,39457)).then(e=>e.RectangleDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_snapPoint45Degree(e,t,i){const s=this.m_priceScale,r=this.ownerSource();if(null===s||null===r)return;const n=r.firstValue();if(null===n)return;const o=this._model.timeScale(),a=(0,c.ensureNotNull)(this.pointToScreenPoint(e)),l=(0,c.ensureNotNull)(this.pointToScreenPoint(t)),h=a.x-l.x,d=a.y-l.y,u=h<0?-1:1,p=d<0?-1:1,_=Math.max(Math.abs(h),Math.abs(d)),m=Math.round(o.coordinateToIndex(l.x+_*u)),g=Math.abs(o.indexToCoordinate(m)-l.x),f=s.coordinateToPrice(l.y+g*p,n);e.index=m,e.price=f}_correctMiddlePoints(e,t,i){e<6?this._correctRightLeftMiddlePoint(e,t,i):this._correctTopBottomMiddlePoint(e,t,i)}_correctRightLeftMiddlePoint(e,t,i){const r=(0,c.ensureNotNull)(this.pointToScreenPoint(t)),n=(0,c.ensureNotNull)(this.pointToScreenPoint(i)),o=(0,c.ensureNotNull)(this.pointToScreenPoint(this._points[0])),a=(0,c.ensureNotNull)(this.pointToScreenPoint(this._points[1]));let l=r.x-n.x;if(0===l)return;const h=o.x{"use strict";i.d(t,{LineToolRiskRewardBase:()=>v});var s=i(88537),r=i(95505),n=i(71053),o=i(69927),a=i(89857),l=i(10324),c=i(41628),h=i(97938);class d extends h.PriceAxisView{constructor(e,t){super(),this._source=e,this._data=t}_updateRendererData(e,t,i){if(e.visible=!1,!this._showAxisLabel())return;const s=this._source.priceScale();if(0===this._source.points().length||null===s||s.isEmpty())return;const r=this._source.ownerSource(),n=null!==r?r.firstValue():null;if(null===n)return;const o=this._data.priceProperty.value(),a=this._data.colorProperty.value();i.background=a,i.textColor=this.generateTextColor(a),i.coordinate=s.priceToCoordinate(o,n),e.text=s.formatPrice(o,n),e.visible=!0}_showAxisLabel(){return this._source.properties().childs().showPriceLabels.value()}}var u=i(2015),p=i.n(u);class _ extends(p()){constructor(e,t){super(),this._lineSource=e,this._pointIndex=t}value(){const e=this._lineSource.points()[this._pointIndex].price;return this._formatAndParsePrice(e)}state(){return this.value()}merge(e,t){return this.setValue(e),t?[]:null}_formatAndParsePrice(e){const t=(0,s.ensureNotNull)(this._lineSource.ownerSource()).formatter();if(t.parse){const i=t.format(e),s=t.parse(i);return s.res?s.value:e}return e}}class m extends _{constructor(e){super(e,0)}setValue(e){const t=this._lineSource.points()[this._pointIndex];this._lineSource.startChanging(this._pointIndex,t),t.price=parseFloat(""+e), +this._lineSource.setPoint(this._pointIndex,t),this._lineSource.recalculate(),this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this),this._lineSource.endChanging(!1,!1),this._lineSource.syncPriceLevels()}}class g extends _{constructor(e){super(e,1)}value(){const e=this._lineSource.stopPrice();return this._formatAndParsePrice(e)}setValue(e){const t=Math.round(Math.abs(e-this._lineSource.entryPrice())*this._lineSource.model().mainSeries().base());this._lineSource.properties().childs().stopLevel.setValue(t),this._lineSource.syncPriceLevels()}}class f extends _{constructor(e){super(e,2)}value(){const e=this._lineSource.profitPrice();return this._formatAndParsePrice(e)}setValue(e){const t=Math.round(Math.abs(e-this._lineSource.entryPrice())*this._lineSource.model().mainSeries().base());this._lineSource.properties().childs().profitLevel.setValue(t),this._lineSource.syncPriceLevels()}}class v extends a.LineDataSource{constructor(e,t,n,a){if(super(e,t,n,a),this._syncStateExclusions=["points","entryPrice","stopPrice","targetPrice","stopLevel","profitLevel","riskSize","qty","amountTarget","amountStop"],!t.hasChild("stopLevel")&&!t.hasChild("profitLevel")){const i=(0,s.ensureNotNull)(e.timeScale().visibleBarsStrictRange()),r=i.firstBar(),n=i.lastBar();let a=(0,s.ensureNotNull)(e.mainSeries().priceRange(r,n));const l=e.mainSeries().priceScale();if(l.isLog()){const e=l.logicalToPrice(a.minValue()),t=l.logicalToPrice(a.maxValue());a=new o.PriceRange(e,t)}if(a&&!a.isEmpty()){const i=Math.round(.2*a.length()*e.mainSeries().base());t.merge({stopLevel:i,profitLevel:i})}}t.childs().stopLevel.listeners().subscribe(this,this.recalculate),t.childs().stopLevel.listeners().subscribe(null,()=>{this.properties().childs().stopPrice.childChanged(null)}),t.childs().profitLevel.listeners().subscribe(this,this.recalculate),t.childs().profitLevel.listeners().subscribe(null,()=>{this.properties().childs().targetPrice.childChanged(null)}),t.addChild("entryPrice",new m(this)),t.addChild("stopPrice",new g(this)),t.addChild("targetPrice",new f(this)),t.hasChild("riskSize")||t.addProperty("riskSize",0),t.hasChild("qty")||t.addProperty("qty",0),t.hasChild("amountTarget")||t.addProperty("amountTarget",t.childs().accountSize.value()),t.hasChild("amountStop")||t.addProperty("amountStop",t.childs().accountSize.value()),t.addExclusion("riskSize"),t.addExclusion("qty"),t.addExclusion("amountTarget"),t.addExclusion("amountStop"),this._riskInPercentsFormatter=new r.NumericFormatter(2),this._riskInMoneyFormatter=new r.NumericFormatter,t.childs().risk.subscribe(this,this._recalculateRiskSize),t.childs().accountSize.subscribe(this,this._recalculateRiskSize),t.childs().riskDisplayMode.subscribe(this,this._recalculateRisk),t.childs().riskDisplayMode.subscribe(this,this._recalculateRiskSize),t.childs().entryPrice.subscribe(this,this._recalculateRiskSize),t.childs().stopPrice.subscribe(this,this._recalculateRiskSize),t.childs().profitLevel.subscribe(this,this._recalculateRiskSize), +t.childs().profitLevel.subscribe(this,this.syncPriceLevels.bind(this)),t.childs().stopLevel.subscribe(this,this._recalculateRiskSize),t.childs().stopLevel.subscribe(this,this.syncPriceLevels.bind(this)),t.childs().qty.subscribe(this,this._recalculateRiskSize),e.mainSeries().dataEvents().dataUpdated().subscribe(this,this._onSeriesUpdated),this.pointAdded().subscribe(this,e=>{switch(e){case c.RiskRewardPointIndex.Entry:case c.RiskRewardPointIndex.Close:this._recalculateRiskSize(),this._recalculateQty()}}),this.pointChanged().subscribe(this,e=>{switch(e){case c.RiskRewardPointIndex.Entry:case c.RiskRewardPointIndex.Close:this._recalculateRiskSize(),this._recalculateQty()}}),t.childs().riskDisplayMode.value()===l.RiskDisplayMode.Percentage&&t.childs().risk.value()>100&&t.childs().riskDisplayMode.setValueSilently(l.RiskDisplayMode.Money),this.version=2,this._entryPriceAxisView=new d(this,{colorProperty:t.childs().linecolor,priceProperty:t.childs().entryPrice}),this._stopPriceAxisView=new d(this,{colorProperty:t.childs().stopBackground,priceProperty:t.childs().stopPrice}),this._profitPriceAxisView=new d(this,{colorProperty:t.childs().profitBackground,priceProperty:t.childs().targetPrice}),i.e(1583).then(i.bind(i,35362)).then(({RiskRewardPaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}destroy(){this._model.mainSeries().dataEvents().dataUpdated().unsubscribeAll(this),super.destroy()}checkAlert(){this.recalculate()}calculatePL(e){return this.entryPrice()-e}lastBarData(){const e=this._model.mainSeries().bars().firstIndex(),t=this._model.mainSeries().bars().lastIndex();if(null===e||null===t||isNaN(e)||isNaN(t))return null;const i=this.points();if(4===i.length){const s=i[c.RiskRewardPointIndex.ActualClose];return s.indexMath.max(this._points[0].index,this._points[1].index)||this.checkAlert()}}},10324:(e,t,i)=>{"use strict";var s;i.d(t,{RiskDisplayMode:()=>s}),function(e){e.Percentage="percents",e.Money="money"}(s||(s={}))},41628:(e,t,i)=>{"use strict";var s;i.d(t,{RiskRewardPointIndex:()=>s}),function(e){e[e.Entry=0]="Entry",e[e.Close=1]="Close",e[e.ActualEntry=2]="ActualEntry",e[e.ActualClose=3]="ActualClose"}(s||(s={}))},34291:(e,t,i)=>{"use strict";var s=i(88537).ensureNotNull,r=i(89857).LineDataSource,n=i(85733),o=i(88564).DefaultProperty,a=i(41628).RiskRewardPointIndex,l=i(10324).RiskDisplayMode,c=i(79029).LineToolRiskRewardBase,h=i(80643).isNumber;class d extends c{riskFormatter(e){return e===l.Percentage?this._riskInPercentsFormatter:this._riskInMoneyFormatter}getRiskStep(e){return e===l.Percentage?.01:1}_roundValue(e){return parseFloat(e.toFixed(2))}hasEditableCoordinates(){return!1}_recalculateRisk(){ +var e=this.properties(),t=e.riskDisplayMode.value(),i=e.riskSize.value(),s=e.accountSize.value(),r=e.risk.value();r=t===l.Percentage?this._roundValue(i/s*100):this._roundValue(s/100*r),this._riskInChange=!0,e.risk.setValue(this.riskFormatter(t).format(r)),this._riskInChange=!1}_recalculateRiskSize(){if(!this._riskInChange){var e=this.properties(),t=e.risk.value(),i=e.riskDisplayMode.value(),s=e.accountSize.value();i===l.Percentage?e.riskSize.setValue(t/100*s):t>s?(e.risk.setValue(s),e.riskSize.setValue(s)):e.riskSize.setValue(t)}}migrateVersion(e,t,i){if(1===e&&this._points.length>=1){var s=[];if(s.push(this._points[0]),n={price:(n=this._points[0]).price,index:this._getClosePointIndex(n.index)},s.push(n),this._points[1]&&s.push(this._points[1]),this._points[2]&&s.push(this._points[2]),this._points=s,this._timePoint.length>=1){var r=[],n=this._timePoint[0];r.push(n);var o={price:n.price,time_t:n.time_t,offset:this._getClosePointIndex(n.offset)};r.push(o),this._timePoint[1]&&s.push(this._points[1]),this._timePoint[2]&&s.push(this._points[2]),this._timePoint=r}}}priceAxisViews(e,t){return this.isSourceHidden()||t!==this.priceScale()||this._model.paneForSource(this)!==e?null:[this._entryPriceAxisView,this._stopPriceAxisView,this._profitPriceAxisView]}updateAllViews(){this.isActualSymbol()&&this._properties.visible.value()&&(n.hideAllDrawings().value()&&this.userEditEnabled()||(super.updateAllViews(),this._entryPriceAxisView.update(),this._stopPriceAxisView.update(),this._profitPriceAxisView.update()))}restoreExternalState(e){if(h(e.entryPrice)){if(e=Object.assign({},e),!this.isActualSymbol())this._timePoint[0].price=e.entryPrice,delete e.entryPrice;this.properties().merge(e)}else super.restoreExternalState(e)}_changeEntryPoint(e){var t=this.properties().stopPrice.value(),i=this.properties().targetPrice.value(),s=1/this._model.mainSeries().base(),r=Math.min(t,i)+s,n=Math.max(t,i)-s;e.price=Math.max(r,Math.min(n,this._roundPrice(e.price))),super.setPoint(0,e),this.properties().stopPrice.setValue(t),this.properties().targetPrice.setValue(i)}setPoint(e,t,i){if(this.isActualSymbol()){switch(this._muteSyncLineStyle(),e){case 0:this._changeEntryPoint(t);break;case 2:this.properties().stopPrice.setValue(this.preparseStopPrice(t.price));break;case 3:this.properties().targetPrice.setValue(this.preparseProfitPrice(t.price));break;case 1:t.price=this._roundPrice(t.price),super.setPoint(1,t),this.recalculate()}this._unmuteSyncLineStyleWithoutApplyingChanges(),this.syncPriceLevels()}}getPoint(e){switch(e){case 0:return this._points[0];case 1:return{index:this._points[1].index,price:this._points[0].price};case 2:return{index:this._points[0].index,price:this.stopPrice()};case 3:return{index:this._points[0].index,price:this.profitPrice()}}return null}setPoints(e){this._muteSyncLineStyle(),super.setPoints(e),this.recalculate(),this._unmuteSyncLineStyleWithoutApplyingChanges(),this.syncPriceLevels()}syncPriceLevels(){if(this.linkKey().value()){var e=this.properties(),t={entryPrice:e.entryPrice.value(),stopLevel:e.stopLevel.value(), +profitLevel:e.profitLevel.value()};n.changeLineStyle({linkKey:this.linkKey().value(),state:t,model:this._model})}}pointsCount(){return 1}name(){return"Risk/Reward"}addPoint(e){e.price=this._roundPrice(e.price),super.addPoint(e,null,!0);var t={price:e.price,index:this._getClosePointIndex(e.index)};super._addPointIntenal(t,null,!0);var i=this.calculateActualEntry(e,t);i&&(super._addPointIntenal(i,null,!0),(t=this.findClosePoint(i,t))&&super._addPointIntenal(t,null,!0));return this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}setOwnerSource(e){super.setOwnerSource(e),this._model.mainSeries().symbolInfo()&&(this._recalculateAmount(),this._recalculateRiskSize(),this._recalculateQty())}_roundPrice(e){var t=this._model.mainSeries().base();return Math.round(e*t)/t}recalculate(){if(0!==this.points().length){var e=this.properties().targetPrice.value(),t=this.properties().stopPrice.value(),i=[this._points[0],this._points[1]],s=this.calculateActualEntry(this.points()[0],this.points()[1]);if(s){i.push(s);var r=this.findClosePoint(s,this.points()[1]);r&&i.push(r)}this._points=i,e!==this.properties().targetPrice.value()&&this.properties().targetPrice._listeners.fire(this.properties().targetPrice),t!==this.properties().stopPrice.value()&&this.properties().stopPrice._listeners.fire(this.properties().stopPrice)}}start(){super.start(),this.recalculate()}startMoving(e,t,i){e.logical.price=this._roundPrice(e.logical.price),super.startMoving(e,t,i)}move(e,t,i){e.logical.price=this._roundPrice(e.logical.price),super.move(e,t,i),this.recalculate(),this._entryPriceAxisView.update()}_correctPoints(e,t){return!!this.isActualSymbol()&&r.prototype._correctPoints.call(this,[e[0],e[1]],t)}entryPrice(){return this.points()[0].price}findClosePoint(e,t){for(var i=this._model.mainSeries().bars(),r=s(i.firstIndex()),n=Math.max(e.index,r),o=s(i.lastIndex()),a=Math.min(o,t.index),l=n;l<=a;l++){var c=i.valueAt(l);if(null!==c){var h=this.checkStopPrice(c);if(null!=h)return{index:l,price:h}}}return null}calculateActualEntry(e,t){var i=this._model.mainSeries().bars();if(i.isEmpty())return null;for(var r=s(i.firstIndex()),n=Math.max(e.index,r),o=e.price,a=s(i.lastIndex()),l=Math.min(a,t.index),c=n;c<=l;c++){var h=i.valueAt(c);if(null!==h&&h[TradingView.HIGH_PLOT]>=o&&h[TradingView.LOW_PLOT]<=o)return{index:c,price:o}}return null}axisPoints(){if(!this._points[a.ActualEntry])return[];var e=this._points[a.ActualEntry],t=null;if(4===this._points.length)t=this._points[a.ActualClose];else{var i=this.lastBarData();if(!i)return[];t={index:i.index,price:i.closePrice}}return[e,t]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,18736))).RiskRewardDefinitionsViewModel}template(){var e=this.properties(),t=r.prototype.template.call(this);return t.stopLevel=e.stopLevel.value(),t.profitLevel=e.profitLevel.value(),t}_applyTemplateImpl(e){delete e.targetPrice,delete e.stopPrice,delete e.entryPrice,super._applyTemplateImpl(e);var t=this.properties() +;void 0!==e.stopLevel&&t.stopLevel.setValue(e.stopLevel),void 0!==e.profitLevel&&t.profitLevel.setValue(e.profitLevel)}getOrderTemplate(){return null}_propertiesStateExclusions(){return["entryPrice","stopPrice","targetPrice"]}static _configureProperties(e){r._configureProperties(e),e.addExclusion("stopLevel"),e.addExclusion("profitLevel"),e.addExclusion("stopPrice"),e.addExclusion("targetPrice"),e.addExclusion("entryPrice")}_getClosePointIndex(e){var t=this._model.timeScale(),i=Math.round(t.width()/t.barSpacing());return e+Math.max(3,Math.round(.15*i))}}d.version=2;class u extends d{constructor(e,t,i,s){super(e,t||u.createProperties(),i,s);var r=this.properties();r.entryPrice.subscribe(this,this._recalculateQty),r.stopPrice.subscribe(this,this._recalculateQty),r.riskSize.subscribe(this,this._recalculateQty),r.entryPrice.subscribe(this,this._recalculateAmount),r.profitLevel.subscribe(this,this._recalculateAmount),r.stopLevel.subscribe(this,this._recalculateAmount),r.accountSize.subscribe(this,this._recalculateAmount),r.riskSize.subscribe(this,this._recalculateAmount),r.qty.subscribe(this,this._recalculateAmount)}_recalculateQty(){if(0!==this.points().length){var e=this.properties(),t=e.entryPrice.value(),i=e.stopPrice.value(),s=e.riskSize.value(),r=this._model.mainSeries().pointValue(),n=s/(Math.abs(i-t)*r);e.qty.setValue(n)}}_recalculateAmount(){if(0!==this.points().length){var e=this.properties(),t=e.accountSize.value(),i=e.entryPrice.value(),s=e.qty.value(),r=e.stopPrice.value(),n=e.targetPrice.value(),o=this._model.mainSeries().pointValue(),a=this._roundValue(t+(i-n)*s*o),l=this._roundValue(t-(r-i)*s*o);e.amountTarget.setValue(a),e.amountStop.setValue(l)}}name(){return"Risk/Reward short"}stopPrice(){return this.entryPrice()+this.properties().stopLevel.value()/this._model.mainSeries().base()}profitPrice(){return this.entryPrice()-this.properties().profitLevel.value()/this._model.mainSeries().base()}preparseStopPrice(e){e=this._roundPrice(e);var t=this.entryPrice()+1/this._model.mainSeries().base();return Math.max(e,t)}preparseProfitPrice(e){e=this._roundPrice(e);var t=this.entryPrice()-1/this._model.mainSeries().base();return Math.min(e,t)}checkStopPrice(e){var t=this.stopPrice(),i=this.profitPrice();return e[TradingView.HIGH_PLOT]>=t?this.stopPrice():e[TradingView.LOW_PLOT]<=i?this.profitPrice():null}_orderSide(){throw new Error("not supported")}static createProperties(e){var t=new o("linetoolriskrewardshort",e);return u._configureProperties(t),t}static _configureProperties(e){d._configureProperties(e)}}class p extends d{constructor(e,t,i,s){super(e,t||p.createProperties(),i,s);var r=this.properties();r.entryPrice.subscribe(this,this._recalculateQty),r.stopPrice.subscribe(this,this._recalculateQty),r.riskSize.subscribe(this,this._recalculateQty),r.entryPrice.subscribe(this,this._recalculateAmount),r.profitLevel.subscribe(this,this._recalculateAmount),r.stopLevel.subscribe(this,this._recalculateAmount),r.accountSize.subscribe(this,this._recalculateAmount),r.riskSize.subscribe(this,this._recalculateAmount), +r.qty.subscribe(this,this._recalculateAmount)}_recalculateQty(){if(0!==this.points().length){var e=this.properties(),t=e.entryPrice.value(),i=e.stopPrice.value(),s=e.riskSize.value(),r=this._model.mainSeries().pointValue(),n=s/(Math.abs(t-i)*r);e.qty.setValue(n)}}_recalculateAmount(){if(0!==this.points().length){var e=this.properties(),t=e.accountSize.value(),i=e.entryPrice.value(),s=e.qty.value(),r=e.stopPrice.value(),n=e.targetPrice.value(),o=this._model.mainSeries().pointValue(),a=this._roundValue(t+(n-i)*s*o),l=this._roundValue(t-(i-r)*s*o);e.amountTarget.setValue(a),e.amountStop.setValue(l)}}stopPrice(){return this.entryPrice()-this.properties().stopLevel.value()/this._model.mainSeries().base()}profitPrice(){return this.entryPrice()+this.properties().profitLevel.value()/this._model.mainSeries().base()}calculatePL(e){return e-this.entryPrice()}preparseStopPrice(e){e=this._roundPrice(e);var t=this.entryPrice()-1/this._model.mainSeries().base();return Math.min(e,t)}preparseProfitPrice(e){e=this._roundPrice(e);var t=this.entryPrice()+1/this._model.mainSeries().base();return Math.max(e,t)}checkStopPrice(e){var t=this.stopPrice(),i=this.profitPrice();return e[TradingView.LOW_PLOT]<=t?this.stopPrice():e[TradingView.HIGH_PLOT]>=i?this.profitPrice():null}name(){return"Risk/Reward long"}_orderSide(){throw new Error("not supported")}static createProperties(e){var t=new o("linetoolriskrewardlong",e);return p._configureProperties(t),t}static _configureProperties(e){d._configureProperties(e)}}t.LineToolRiskRewardLong=p,t.LineToolRiskRewardShort=u},61272:(e,t,i)=>{"use strict";var s=i(86441).Point,r=i(4652).distanceToLine,n=i(89857).LineDataSource,o=i(88564).DefaultProperty,a=i(37865).LineToolColorsProperty;class l extends n{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),i.e(1583).then(i.t.bind(i,33261,19)).then(({RotatedRectanglePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}startChanging(e,t){if(super.startChanging(e,t),0===e||1===e){var i=this._getPaneViews()[0],s=i._points[0],n=i._points[1],o=i._points[2];this._distance=r(s,n,o).distance}}setPoint(e,t,i){if(super.setPoint(e,t,i),0===e||1===e){var r=this._getPaneViews()[0];r.update();var n=r._points[0],o=r._points[1].subtract(n),a=new s(o.y,-o.x).normalized().scaled(this._distance),l=n.add(a),c=this.screenPointToPoint(l);this._points[2]=c}}endChanging(e,t){delete this._distance,super.endChanging(e,t)}pointsCount(){return 3}name(){return"Rotated Rectangle"}hasEditableCoordinates(){return!1}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,24965))).GeneralFiguresDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static createProperties(e){var t=new o("linetoolrotatedrectangle",e);return l._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e),e.addChild("linesColors",new a([e.color]))}}t.LineToolRotatedRectangle=l},98390:(e,t,i)=>{"use strict";var s=i(34580).LevelsProperty,r=i(40100).LineToolPitchfork;class n extends r{constructor(e,t,i,s){ +super(e,t||n.createProperties(),i,s)}name(){return"Modified Schiff Pitchfork"}static createProperties(e){var t=new s("linetoolschiffpitchfork",e,!1,{range:[0,8]});return n._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e)}}t.LineToolSchiffPitchfork=n},98225:(e,t,i)=>{"use strict";var s=i(34580).LevelsProperty,r=i(40100).LineToolPitchfork;class n extends r{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Schiff Pitchfork"}static createProperties(e){var t=new s("linetoolschiffpitchfork2",e,!1,{range:[0,8]});return n._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e)}}t.LineToolSchiffPitchfork2=n},52827:(e,t,i)=>{"use strict";i.d(t,{LineToolSignpost:()=>f});var s=i(28353),r=i(88564),n=i(89857),o=i(2015),a=i.n(o);class l extends(a()){constructor(e){super(),this._source=e,e.pointAdded().subscribe(this,()=>this.listeners().fire(this)),e.pointChanged().subscribe(this,()=>this.listeners().fire(this))}value(){const e=this._source.properties().childs().position.value();return parseFloat(e.toFixed(2))}setValue(e){this._source.properties().childs().position.setValue(e),this._source.model().updateSource(this._source),this.listeners().fire(this),this._source.syncMultichartState({pricesChanged:!1,indexesChanged:!1})}}var c=i(38015);class h extends c.LineDataSourcePointIndexProperty{constructor(e,t){super(e,t),this._source=e}_setPointImpl(e){this._source.setPointAndChangeIndex(this._pointIndex,e)}}var d=i(37865),u=i(88537),p=i(70581),_=i(85733);class m extends n.LineDataSource{constructor(){super(...arguments),this._startMovingAnchorY=NaN}priceSource(){return this.ownerSource()}addPoint(e,t,i){return super.addPoint(this._updatePositionAndCorrectPoint(e),t,i)}setPoint(e,t,i){super.setPoint(e,this._updatePositionAndCorrectPoint(t,!this.isPhantom()&&!this._allowChangeAnchorHorizontally()),i),this._syncPosition()}setPointAndChangeIndex(e,t,i){super.setPoint(e,this._updatePositionAndCorrectPoint(t,!1),i),this._syncPosition()}startMoving(e,t,i,s){s||(this._startMovingAnchorY=(0,u.ensureNotNull)(this._anchorYCoordinate())),super.startMoving(e,t,i)}move(e,t,i,s){var r;const n=(0,u.ensureDefined)((0,u.ensureNotNull)(this.startMovingPoint()).logical),o=(0,u.ensureDefined)(e.logical);if(!s&&0===t){const e=this._points[0],t=o.index-n.index,i=(0,u.ensureNotNull)(this.priceScale()),s=(0,u.ensure)(null===(r=this.ownerSource())||void 0===r?void 0:r.firstValue()),a=i.priceToCoordinate(o.price,s)-i.priceToCoordinate(n.price,s),l=this._startMovingAnchorY+a,c=i.coordinateToPrice(l,s);this._updatePositionAndCorrectPoint({index:e.index+t,price:c})}super.move(e,t,i),s||this._syncPosition()}_allowChangeAnchorHorizontally(){return!1}_updatePositionAndCorrectPoint(e,t){t&&(e.index=this._points[0].index);const i=this.priceSource();if(null===i)return e;const s=i.priceScale(),r=i.firstValue();if(null===s||s.isEmpty()||null===r)return e;const n=s.height();let o=n/2,a=e.price>=s.coordinateToPrice(o,r)?1:-1;const l=this._model.mainSeries();if(i===l){ +const t=l.data().search(this._baseSeriesIndexForPoint(e));if(null!==t){const i=(0,p.seriesPrice)(l,t,-1),n=(0,p.seriesPrice)(l,t,1);a=e.price>=i?1:-1,o=s.priceToCoordinate(1===a?n:i,r),e.price=1===a?Math.max(n,e.price):e.price}}const c=1===(-1===a!==s.isInverted()?-1:1)?o:n-o,h=s.priceToCoordinate(e.price,r),d=Math.min(n,Math.abs(h-o)),u=Math.max(0,Math.min(100,100*d/c))*a;return this.properties().childs().position.setValue(u),e}_baseSeriesIndexForPoint(e){return e.index}_syncPosition(){const e=this.linkKey().value();if(null!==e){const t={position:this.properties().childs().position.value()};(0,_.changeLineStyle)({linkKey:e,state:t,model:this._model})}}_anchorYCoordinate(){const e=this.priceSource();if(null===e)return null;const t=e.priceScale(),i=e.firstValue();if(null===t||t.isEmpty()||null===i)return null;const s=this._model.mainSeries(),r=this.customEvent();if(null===r)return null;let n=null;if(e===s&&(n=(0,p.seriesBasePosition)(s,r)),null===n&&(n=(0,p.noDataBasePosition)(r,t,i)),null===n)return null;const o=r.position(),a=t.priceToCoordinate(n.price,i);return(0,p.positionToCoordinate)(o,t.height(),a,(0,p.positionVisualDirection)(o,t.isInverted()))}}var g=i(72077);class f extends m{constructor(e,t,s,r){super(e,null!=t?t:f.createProperties(),s,r),this._image=null,this._currentImageURL=null,this._imageReady=!1,this._updateImage(),this.properties().childs().emoji.subscribe(this,()=>this._updateImage()),i.e(1583).then(i.bind(i,74328)).then(t=>{this._setPaneViews([new t.SignpostPaneView(this,e)])})}pointsCount(){return 1}name(){return"Signpost"}customEvent(){return{index:()=>{var e,t;return null!==(t=null===(e=this.points()[0])||void 0===e?void 0:e.index)&&void 0!==t?t:null},position:()=>this.properties().childs().position.value()}}image(){return this._imageReady&&this.properties().childs().showImage.value()?this._image:null}showInObjectTree(){return!this.isPhantom()&&super.showInObjectTree()}isPhantom(){return this._model.isPhantomLine(this)}clonePositionOffset(){return{barOffset:1,xCoordOffset:0,yCoordOffset:0}}template(){const e=super.template(),t=this.properties().childs();return e.text=t.text.value(),e.position=t.position.value(),e}static createProperties(e){const t=new r.DefaultProperty("linetoolsignpost",e);return f._configureProperties(t),t.hasChild("text")||t.addChild("text",new(a())((0,s.t)("Text"))),t.hasChild("position")||t.addChild("position",new(a())(50)),t.addExclusion("text"),t.addExclusion("position"),t.addChild("backgroundsColors",new d.LineToolColorsProperty([t.childs().plateColor])),t}_createPointProperty(e){super._createPointProperty(e);const t=this._pointsProperty.childs().points[e];t.removeProperty("price"),t.removeProperty("bar"),t.addChild("price",new l(this)),t.addChild("bar",new h(this,0))}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text),this.properties().childs().position.setValue(e.position)}_getPropertyDefinitionsViewModelClass(){ +return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,30882)).then(e=>e.SignpostDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e)}_updateImage(){const e=this._imageURL();if(this._currentImageURL!==e&&(this._currentImageURL=e,this._image=null,this._imageReady=!1,null!==this._currentImageURL)){const e=new Image;this._image=e,e.onload=()=>{this._imageReady=!0,this._model.updateSource(this),e.onload=null},e.crossOrigin="anonymous",e.src=this._currentImageURL}}_imageURL(){const e=this.properties().childs().emoji.value();return(0,g.getTwemojiUrl)(e,"png")||null}}f.supportPhantomMode=!0},15718:(e,t,i)=>{"use strict";i.d(t,{LineToolSineLine:()=>n});var s=i(88564),r=i(89857);class n extends r.LineDataSource{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),i.e(1583).then(i.bind(i,85)).then(e=>{this._setPaneViews([new e.SineLinePaneView(this,this._model)])})}pointsCount(){return 2}name(){return"Sine Line"}static createProperties(e){const t=new s.DefaultProperty("linetoolsineline",e);return n._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,66819))).CyclicAndSineLinesPatternDefinitionsViewModel}static _configureProperties(e){r.LineDataSource._configureProperties(e)}}},51934:(e,t,i)=>{"use strict";i.d(t,{StudyLineDataSource:()=>v});var s=i(88537),r=i(80643),n=i(71053),o=i(89857),a=i(88564),l=i(67072),c=i.n(l),h=i(54376),d=i(33266),u=i(27982),p=i(8671),_=i(66101),m=i(10480),g=i(65862),f=i(33291);class v extends o.LineDataSource{constructor(e,t,s,r,n,o){super(e,r,n,o),this._indexes=null,this._inputs=null,this._definitionsViewModel=null,this._pointsetPoints=null,this._loadedPlots=null,this._loadedGraphics=null,this._beingCreatedPaneView=null,this._anchorsPaneView=null,this._alignerCache=null,Promise.all([i.e(1583).then(i.bind(i,15788)),i.e(1583).then(i.bind(i,77557))]).then(t=>{const{LineToolBeingCreatedPaneView:i}=t[0],{StudyLineDataSourceAnchorsPaneView:s}=t[1];this._beingCreatedPaneView=new i(this,e),this._anchorsPaneView=new s(this,this.model()),this._model.lightUpdate()}),this._metaInfo=t,this._dataSource=new u.StudyDataSource(e.chartApi(),e.mainSeries().seriesSource(),s,t),this._dataSource.dataCleared().subscribe(this,this._onDataCleared),this._dataSource.dataUpdated().subscribe(this,this._onDataUpdated)}destroy(){this._dataSource.dataUpdated().unsubscribe(this,this._onDataUpdated),this._dataSource.dataCleared().unsubscribe(this,this._onDataCleared),this._dataSource.destroy(),null!==this._definitionsViewModel&&(this._definitionsViewModel.destroy(),this._definitionsViewModel=null),this._unsubscribeApplyInputsOnSeriesCompleted(),this._isDestroyed=!0,super.destroy()}stop(){super.stop(),this._isDestroyed||(this._dataSource.stop(),this.clearData())}start(){super.start(),this._isDestroyed||null===this._inputs||this._dataSource.start()}metaInfo(){return this._metaInfo}graphicsInfo(){return this._metaInfo.graphics}series(){return this._model.mainSeries()}translatedType(){ +return this._metaInfo.description}name(){return this._metaInfo.description}studyId(){return this._metaInfo.id}setPoint(e,t,i){super.setPoint(e,this._preparePoint(t,i))}move(e){}clearData(){this._clearAllDataExceptPointsetPoints(),this._pointsetPoints=null,this.updateAllViews((0,f.dataSourceChangeEvent)(this.id()))}data(){return this.plots()}plots(){return this._loadedPlots||this._dataSource.plots()}graphics(){return this._loadedGraphics||this._dataSource.graphics()}firstValue(){return this._model.mainSeries().firstValue()}state(e){const t=super.state(e);let i;this.metaInfo()instanceof c()?i=this.metaInfo().state():(i=(0,r.clone)(this.metaInfo()),i.id=c().parseIdString(i.id+(i.version?"-"+i.version:"")).fullId);const s={...t,metaInfo:i};return e&&(s.data=this.plots().state(),s.nonseriesindexes=this._indexes,s.graphics=(0,h.saveStudyGraphics)(this.graphics())),s}restoreData(e){var t;void 0!==e.data&&(this._loadedPlots=new n.PlotList((0,p.studyPlotFunctionMap)(this._metaInfo),p.studyEmptyPlotValuePredicate),this._loadedPlots.restoreState(e.data)),this._indexes=null!==(t=e.nonseriesindexes)&&void 0!==t?t:this._indexes,this._loadedGraphics=e.graphics?(0,h.loadStudyGraphics)(e.graphics):this._loadedGraphics}getPropertyDefinitionsViewModel(){return null===this._definitionsViewModel?this._getPropertyDefinitionsViewModelClass().then(e=>null===e||this._isDestroyed?null:(null===this._definitionsViewModel&&(this._definitionsViewModel=new e(this._model.undoModel(),this)),this._definitionsViewModel)):Promise.resolve(this._definitionsViewModel)}paneViews(e){let t=[];if(this.isSourceHidden())return t;if(this._isReady()&&this._changeStatesStack.isEmpty()){const i=super.paneViews(e);null!==i&&(t=t.concat(i))}else null!==this._beingCreatedPaneView&&t.push(this._beingCreatedPaneView);return null!==this._anchorsPaneView&&t.push(this._anchorsPaneView),t}propertiesChanged(e){super.propertiesChanged(e),this._onStudyInputsMayChange()}dataAndViewsReady(){return super.dataAndViewsReady()&&this._isReady()}endChanging(e,t){const i=super.endChanging(e,t);return i.indexesChanged?this.clearData():this._updateAnchorsPrice(!0),i}moveData(e){this._dataSource.moveData(e)}restorePoints(e,t,i){super.restorePoints(e,t,i),this._updateAnchorsPrice(!0)}realign(){super.realign(),null===this._model.mainSeries().symbolInfo()&&(this._alignerCache=null)}static createPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0,_.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return v._configureProperties(r),r}_studyId(){return this._dataSource.studyId()}_isReady(){return!0}_updateAllPaneViews(e){var t,i;super._updateAllPaneViews(e),null===(t=this._beingCreatedPaneView)||void 0===t||t.update(),null===(i=this._anchorsPaneView)||void 0===i||i.update(e)}_getPointTime(e,t){const i=e.index,s=this._model.timeScale().indexToTimePoint(i);if(null!==s)return s;if(t||void 0===e.time)return null;const r=this._model.mainSeries().symbolInfo();if(null===r)return null;let n=this._model.properties().childs().timezone.value();"exchange"===n&&(n=r.timezone);const o=(0,m.cal_to_utc)((0, +m.get_timezone)(n),e.time);return this._getStartBarAligner()(o)/1e3}_updateAnchorsPrice(e){}_onPointsetUpdated(e){super._onPointsetUpdated(e),this._pointsetPoints=this._points.map(e=>({price:e.price,index:e.index,time:e.time})),this._onStudyInputsMayChange()}_onDataCleared(){this.updateAllViews((0,f.dataSourceChangeEvent)(this.id(),void 0,!0)),this._model.updateSource(this)}_onDataUpdated(e,t,i){var s;this._updateAnchorsPrice(),this.updateAllViews((0,f.dataSourceChangeEvent)(this.id(),null===(s=e[0])||void 0===s?void 0:s.index)),this._model.updateSource(this)}_onStudyInputsMayChange(){let e=null;if(null!==this._pointsetPoints&&this._pointsetPoints.length===this.pointsCount()&&(e=this._studyInputs(this._pointsetPoints),null===e&&(this._clearAllDataExceptPointsetPoints(),this.updateAllViews((0,f.dataSourceChangeEvent)(this.id())))),null!==e){const t=this.metaInfo().inputs.map(e=>e.id),i=Object.keys(e);for(const s of i)t.includes(s)||delete e[s]}this._areInputsEqual(this._inputs,e)||this._applyStudyInputs(e)}_preparePoint(e,t){return super._preparePoint(this._alignPointToRangeOfActualData(e),t)}_getPropertyDefinitionsViewModelClass(){return Promise.resolve(null)}_subscribeApplyInputsOnSeriesCompleted(){this._unsubscribeApplyInputsOnSeriesCompleted(),this._model.mainSeries().dataEvents().completed().subscribe(this,()=>this._onStudyInputsMayChange(),!0)}_unsubscribeApplyInputsOnSeriesCompleted(){this._model.mainSeries().dataEvents().completed().unsubscribeAll(this)}_onInputsChanged(){0}static _createPropertiesFromStudyIdAndState(e,t){const i=c().getStudyPropertyRootNameById(e),s=new a.DefaultProperty(i,t);return v._configureProperties(s),s}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.removeExclusion("intervalsVisibilities")}_areInputsEqual(e,t){return null===t?null===e:null!==e&&(0,d.areStudyInputsEqual)(this._metaInfo.inputs,e,t)}_applyStudyInputs(e){const t=this._inputs;this._inputs=e,null!==e&&(this._unsubscribeApplyInputsOnSeriesCompleted(),this._dataSource.setInputs(e),null===t&&this.isStarted()&&!this._dataSource.isStarted()&&this._dataSource.start()),this._onInputsChanged()}_clearAllDataExceptPointsetPoints(){this._inputs=null,this._dataSource.clearData(),this._loadedPlots=null,this._indexes=null,this._loadedGraphics=null}_getStartBarAligner(){const e=this._model.mainSeries().interval();return null!==this._alignerCache&&this._alignerCache.resolution===this._model.mainSeries().interval()||(this._alignerCache={resolution:e,aligner:(0,g.createTimeToBarTimeAligner)(e,(0,s.ensureNotNull)(this._model.mainSeries().symbolInfo()))}),this._alignerCache.aligner}}},74971:(e,t,i)=>{"use strict";i.d(t,{LineToolText:()=>u,LineToolTextAbsolute:()=>p});var s=i(88537),r=i(86441),n=i(28353),o=i(89857),a=i(2015),l=i.n(a),c=i(88564),h=i(37865),d=i(33291);class u extends o.LineDataSource{constructor(e,t,s,r){const n=t||u.createProperties();super(e,n,s,r),this._barSpacing=e.timeScale().barSpacing(),this._recalculatePointsOnCenter=!1,i.e(1583).then(i.bind(i,44074)).then(({TextPaneView:t})=>{ +const i=this._recalculatePointsOnCenter?(e,t)=>{this._recalculatePointsOnCenter&&this._recalculateCenterPosition(e,t)}:void 0;this._setPaneViews([new t(this,e,void 0,void 0,void 0,void 0,void 0,i)])})}centerPosition(){this._recalculatePointsOnCenter=!0}setPoint(e,t,i){const r=this.properties().childs();let n;if(1===e&&r.wordWrapWidth.value()){const e=this.model().timeScale();n=this.isFixed()?(0,s.ensureDefined)(this.fixedPoint()).x:e.indexToCoordinate(this.points()[0].index);const i=e.indexToCoordinate(t.index)-n-~~(r.fontsize.value()/6);if(!isFinite(i))return;r.wordWrapWidth.setValue(Math.max(100,i))}}pointsCount(){return 1}name(){return"Text"}setPriceScale(e){super.setPriceScale(e),e&&e.priceRange()&&(this._priceDencity=e.height()/(0,s.ensureNotNull)(e.priceRange()).length(),this._isPriceDencityLog=e.isLog())}restoreSize(){const e=(0,s.ensureNotNull)(this.priceScale());this._barSpacing=this.model().timeScale().barSpacing(),this._priceDencity=e.height()/(0,s.ensureNotNull)(e.priceRange()).length(),this.redraw((0,d.dataSourceChangeEvent)(this.id()))}redraw(e){this.updateAllViews(e),this._model.updateSource(this)}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}state(e){const t=super.state(e);return e&&(t.state.fixedSize=!1),t}barSpacing(){return this._barSpacing}priceDencity(){return this._priceDencity}isPriceDencityLog(){return this._isPriceDencityLog}hasEditableCoordinates(){return!1}static createProperties(e){const t=new c.DefaultProperty("linetooltext",e);return u._configureProperties(t),t}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,99734)).then(e=>e.TextDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(l())((0,n.t)("Text"))),e.addChild("linesColors",new h.LineToolColorsProperty([e.childs().borderColor])),e.addChild("textsColors",new h.LineToolColorsProperty([e.childs().color])),e.addExclusion("text"),e.addExclusion("linesColors"),e.addExclusion("textsColors")}_recalculateCenterPosition(e,t){const i=this.isFixed()?(0,s.ensureDefined)(this.fixedPoint()):(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),n=new r.Point(i.x-e/2,i.y-t/2),o=(0,s.ensureNotNull)(this.screenPointToPoint(n));this.setPoints([o]),this.normalizePoints(),this.createServerPoints(),this.redraw((0,d.dataSourceChangeEvent)(this.id()))}}class p extends u{constructor(e,t){super(e,t||p.createProperties())}name(){return"Anchored Text"}hasEditableCoordinates(){return!1}isFixed(){return!0}static createProperties(e){const t=new c.DefaultProperty("linetooltextabsolute",e);return p._configureProperties(t),t}static _configureProperties(e){u._configureProperties(e)}}},6980:(e,t,i)=>{"use strict";i.d(t,{LineToolThreeDrivers:()=>o});var s=i(88564),r=i(89857),n=i(37865);class o extends r.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties() +;super(e,n,s,r),i.e(1583).then(i.bind(i,88993)).then(t=>{this._setPaneViews([new t.LineToolThreeDrivesPaneView(this,e)])})}pointsCount(){return 7}name(){return"Three Drives Pattern"}static createProperties(e){const t=new s.DefaultProperty("linetoolthreedrivers",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,98890)).then(e=>e.PatternWithoutBackgroundDefinitionsViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new n.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new n.LineToolColorsProperty([e.childs().textcolor])),e.addChild("linesWidths",new n.LineToolWidthsProperty([e.childs().linewidth])),e.hasChild("backgroundsColors")&&e.removeProperty("backgroundsColors")}}},38513:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),i.e(1583).then(i.t.bind(i,59905,19)).then(({TimeCyclesPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 2}name(){return"Time Cycles"}setPoint(e,t,i){var s=Object.assign({},t),r=this._points[0],n=this._points[1];r.price=s.price,n.price=s.price,this._points[e]=s,this.normalizePoints()}addPoint(e,t,i){var r=s.prototype.addPoint.call(this,e,t,!0);if(r){var n=this._points[0];this._points[1].price=n.price,i||(this.normalizePoints(),this.createServerPoints())}return r}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,3956))).TimeCyclesPatternDefinitionsViewModel}static createProperties(e){var t=new r("linetooltimecycles",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolTimeCycles=n},2587:(e,t,i)=>{"use strict";const s=i(89857).LineDataSource,r=i(20165).alignToStep;class n extends s{constructor(e,t){super(e,t),this.customization.forcePriceAxisLabel=!0,this.customization.disableErasing=!0,this.customization.showInObjectsTree=!1,this.setSelectionEnabled(!1)}isSynchronizable(){return!1}pointsCount(){return n.POINTS_COUNT}hasContextMenu(){return!1}state(){return null}startMoving(){s.prototype.startMoving.apply(this,arguments),this._cursorMoved=!1}endMoving(){s.prototype.endMoving.apply(this,arguments),this._cursorMoved=!1}_correctPoints(e,t){this._currentMovingPoint&&this._startMovingPoint?this._currentMovingPoint.logical.price-this._startMovingPoint.logical.price&&(this._cursorMoved=!0):this._cursorMoved=!1;for(var i=1/this.priceScale().mainSource().base(),s=0;s{"use strict";var s=i(2015),r=i(86441).Point,n=i(89857).LineDataSource,o=i(88564).DefaultProperty;class a extends s{constructor(e){super(),this._lineSource=e}value(){var e=180*this._lineSource._angle/Math.PI;return Math.round(e)}setValue(e){var t=e*Math.PI/180;this._lineSource._angle=t;var i=this._lineSource.pointToScreenPoint(this._lineSource.points()[0]),s=Math.cos(this._lineSource._angle),n=-Math.sin(this._lineSource._angle),o=new r(s,n),a=i.addScaled(o,this._lineSource._distance),l=this._lineSource.screenPointToPoint(a);this._lineSource._points[1]=l,this._lineSource._model.updateSource(this._lineSource),this._lineSource.updateAllViews(),this._lineSource._model.updateSource(this._lineSource)}}class l extends n{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this._properties.addChild("angle",new a(this)),i.e(1583).then(i.t.bind(i,74108,19)).then(({TrendAnglePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}isSynchronizable(){return!1}pointsCount(){return 2}name(){return"Trend Angle"}_calculateAngle(){var e=this.pointToScreenPoint(this.points()[0]),t=this.pointToScreenPoint(this.points()[1]),i=t.subtract(e);i.length()>0?(i=i.normalized(),this._angle=Math.acos(i.x),i.y>0&&(this._angle=-this._angle),this._distance=t.subtract(e).length()):delete this._angle,this.properties().hasOwnProperty("angle")&&this.properties().angle.listeners().fire(this.properties().angle)}addPoint(e,t){var i=n.prototype.addPoint.call(this,e,t);return i&&this._calculateAngle(),i}setLastPoint(e,t){var i=super.setLastPoint(e,t);return this.points().length>1&&this._calculateAngle(),i}axisPoints(){if(this.points().length<2)return[];var e=[this.points()[0]],t=this.pointToScreenPoint(this.points()[0]),i=Math.cos(this._angle)*this._distance,s=-Math.sin(this._angle)*this._distance,n=t.add(new r(i,s)),o=this.screenPointToPoint(n);return e.push(o),e}setPoint(e,t,i){super.setPoint(e,t,i),this.points().length>1&&1===e&&this._calculateAngle()}restoreData(e){this._angle=e.angle,this._distance=e.distance}state(e){var t=n.prototype.state.call(this,e);return t.angle=this._angle,t.distance=this._distance,t}cloneData(e){this._angle=e._angle,this._distance=e._distance}canHasAlert(){return!0}_getAlertPlots(){return[this._linePointsToAlertPlot(this._points,null,this.properties().extendLeft.value(),this.properties().extendRight.value())]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,38909))).TrendAngleDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static createProperties(e){var t=new o("linetooltrendangle",e);return l._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e)}}t.LineToolTrendAngle=l},25861:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line")) +;class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=d.version,i.e(1583).then(i.t.bind(i,80741,19)).then(({TrendBasedFibExtensionPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 3}name(){return"Trend-Based Fib Extension"}migrateVersion(e,t,i){1===e&&this.properties().extendLines.setValue(!0)}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetooltrendbasedfibextension",e,!1,{range:[0,8]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34670))).FibDrawingsWith24LevelsDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth"),e.child("levelsStyle").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}fibLevelsBasedOnLogScale(){return this.properties().fibLevelsBasedOnLogScale.value()&&this.priceScale().isLog()}}d.version=2,d.LevelsCount=24,t.LineToolTrendBasedFibExtension=d},6245:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=d.version,i.e(1583).then(i.t.bind(i,78343,19)).then(({TrendBasedFibTimePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 3}name(){return"Trend-Based Fib Time"}migrateVersion(e,t,i){}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,42882))).TrendBasedFibTimeDefinitionsViewModel}static createProperties(e){var t=new o("linetooltrendbasedfibtime",e,!1,{range:[1,11]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,d.version=1,t.LineToolTrendBasedFibTime=d},57649:(e,t,i)=>{"use strict";var s=i(2015),r=i(89857).LineDataSource,n=i(22474).LineToolPriceAxisView,o=i(88564).DefaultProperty;class a extends r{constructor(e,t,s,r){super(e,t||a.createProperties(),s,r),this._trendLinePaneView=null,i.e(1583).then(i.t.bind(i,38743,19)).then(({TrendLinePaneView:e})=>{this._trendLinePaneView=new e(this,this._model),this._setPaneViews([this._trendLinePaneView])})}dataAndViewsReady(){ +return r.prototype.dataAndViewsReady.call(this)&&this._trendLinePaneView&&this._trendLinePaneView.iconsReady()}stop(){super.stop()}pointsCount(){return 2}name(){return"Trend Line"}canHasAlert(){return!0}showPriceLabels(){return this._properties.childs().showPriceLabels.value()}createPriceAxisView(e){return new n(this,{pointIndex:e,backgroundPropertyGetter:()=>this.showPriceLabels()?this._properties.linecolor.value():null})}isForcedDrawPriceAxisLabel(){return this.showPriceLabels()}_getAlertPlots(){return[this._linePointsToAlertPlot(this._points,null,this.properties().extendLeft.value(),this.properties().extendRight.value())]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,43266))).TrendLineDefinitionsViewModel}template(){var e=r.prototype.template.call(this);return e.text=this.properties().childs().text.value(),e}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}_snapTo45DegreesAvailable(){return!0}static createProperties(e){var t=new o("linetooltrendline",e);return a._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.hasChild("text")||e.addChild("text",new s("")),e.addExclusion("text")}}t.LineToolTrendLine=a},53403:(e,t,i)=>{"use strict";i.d(t,{LineToolTrianglePattern:()=>o});var s=i(88564),r=i(89857),n=i(37865);class o extends r.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,51145)).then(t=>{this._setPaneViews([new t.LineToolTrianglePatternPaneView(this,e)])})}pointsCount(){return 4}name(){return"Triangle Pattern"}static createProperties(e){const t=new s.DefaultProperty("linetooltrianglepattern",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,93262)).then(e=>e.PatternWithBackgroundDefinitionViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new n.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new n.LineToolColorsProperty([e.childs().textcolor])),e.addChild("backgroundsColors",new n.LineToolColorsProperty([e.childs().backgroundColor]))}}},99092:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty,n=i(37865).LineToolColorsProperty;class o extends s{constructor(e,t,s,r){super(e,t||o.createProperties(),s,r),i.e(1583).then(i.t.bind(i,12258,19)).then(({TrianglePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 3}name(){return"Triangle"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,24965))).GeneralFiguresDefinitionsViewModel}static createProperties(e){var t=new r("linetooltriangle",e);return o._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e),e.addChild("linesColors",new n([e.childs().color]))}}t.LineToolTriangle=o},67103:(e,t,i)=>{"use strict";i.d(t,{ +LineToolVertLineTimeAxisView:()=>r});var s=i(19528);class r extends s.LineDataSourceTimeAxisView{constructor(e){super(e,0)}_getBgColor(){return this._source.properties().linecolor.value()}_getAlwaysInViewPort(){return!1}_getIndex(){const e=this._source.points();return 0===e.length?null:e[0].index}}},51922:(e,t,i)=>{"use strict";i.d(t,{LineToolVertLine:()=>h});var s=i(88537),r=i(86441),n=i(88564),o=i(2015),a=i.n(o),l=i(89857),c=i(67103);class h extends l.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),this._timeAxisView=new c.LineToolVertLineTimeAxisView(this),this._paneViewFactory=null,this.properties().childs().extendLine.subscribe(this,()=>e.lightUpdate()),i.e(1583).then(i.bind(i,68022)).then(t=>{this._paneViewFactory=i=>new t.VertLinePaneView(this,e,i),this._model.lightUpdate()})}destroy(){this.properties().childs().extendLine.unsubscribeAll(this),super.destroy()}pointsCount(){return 1}name(){return"Vertical Line"}timeAxisViews(){return this.isSourceHidden()?null:this.properties().childs().showTime.value()?[this._timeAxisView]:null}updateAllViews(e){super.updateAllViews(e),this._timeAxisView.update(e)}canHasAlert(){return!0}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}isMultiPaneAvailable(){return!0}isMultiPaneEnabled(){return this.properties().childs().extendLine.value()}paneViews(e){return e=(0,s.ensureDefined)(e),this.isMultiPaneEnabled()||this._model.paneForSource(this)===e?(null===this._getPaneViews(e)&&null!==this._paneViewFactory&&this._setPaneViews([this._paneViewFactory(e)],e,!0),super.paneViews(e)):null}priceAxisViews(){return null}priceAxisPoints(){return[]}pointToScreenPoint(e){const t=this._model.timeScale();if(t.isEmpty())return null;const i=t.indexToCoordinate(e.index);return new r.Point(i,0)}convertYCoordinateToPriceForMoving(e){return 0}static createProperties(e){null!=e&&(void 0===e.textOrientation&&(e.textOrientation="horizontal"),void 0===e.extendLine&&(e.extendLine=!1));const t=new n.DefaultProperty("linetoolvertline",e);return h._configureProperties(t),t}_getAlertPlots(){const e=this._points[0],t={index:e.index,price:e.price+1};return[this._linePointsToAlertPlot([e,t],null,!0,!0)]}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,90308)).then(e=>e.VerticalLineDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}static _configureProperties(e){l.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(a())("")),e.addExclusion("text")}}},20299:(e,t,i)=>{"use strict";i.d(t,{LineToolVbPFixed:()=>f});var s=i(77973),r=i(88537),n=i(88145),o=i(67072),a=i.n(o),l=i(51934),c=i(54376),h=i(2662),d=i(33291),u=i(80643),p=i(88564),_=i(14291),m=i(66101);const g=(0,n.studyIdString)("VbPFixed","tv-volumebyprice");class f extends l.StudyLineDataSource{constructor(e,t,i,s,r,n){const o=i||e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:g +}),a=null!=t?t:f.createProperties(e);super(e,o,"vbpfixed_",a,r,n),(0,c.createGraphicsPaneViews)(this,e).then(t=>{if(s=e.mainSeries(),o.plots.length>0){const i=new h.StudyPlotPaneView(this,s,e,o.plots[0].id);t.push(i)}if(o.plots.length>1){const i=new h.StudyPlotPaneView(this,s,e,o.plots[1].id);t.push(i)}if(o.plots.length>2){const i=new h.StudyPlotPaneView(this,s,e,o.plots[2].id);t.push(i)}this._setPaneViews(t)}),this.clearData()}pointsCount(){return 2}boundToSymbol(){return!1}offset(e){return 0}getMinFirstBarIndexForPlot(){return-1/0}calcIsActualSymbol(){this._isActualSymbol=!0,this._isActualCurrency=!0,this._isActualUnit=!0,this.calcIsActualInterval()}cloneable(){return!1}isSynchronizable(){return!1}static createProperties(e,t){const i=a().getStudyPropertyRootNameById(g),s=(0,r.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:g})),n=(0,p.createDefaultsState)(!0,i,[],e.studyVersioning());return(0,_.createStudyLineToolProperties)("LineToolVbPFixed",s,s,(0,u.merge)((0,u.clone)(n),null!=t?t:{}),e.studyVersioning())}static createPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0,m.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return f._configureProperties(r),r}static studyId(){return g}_studyInputs(e){(0,r.assert)(2===e.length,"all the line tool points should be defined");const[t,i]=e,s=Math.max(t.index,i.index),n=this._model.mainSeries().bars().lastIndex(),o=this._getPointTime(t.index<=i.index?t:i,!0),a=this._getPointTime(i.index>=t.index?i:t,!0);if(null===o||null===a)return this._subscribeApplyInputsOnSeriesCompleted(),null;return{...this.properties().childs().inputs.state(),first_bar_time:1e3*o,last_bar_time:1e3*a,subscribeRealtime:n===s}}_isReady(){return!(0,c.isStudyGraphicsEmpty)(this.graphics())}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(7387),i.e(8623),i.e(607)]).then(i.bind(i,26667))).StudyLineDataSourceDefinitionsViewModel}_onDataUpdated(){this._updateAnchors(),this.updateAllViews((0,d.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}_updateAnchors(){const e=this._calculateAnchors();if(!e)return;const[{index:t,price:i},{index:s,price:r}]=e;if(this._timePoint.length&&(this._timePoint[0].price=i,this._timePoint[1].price=r),this._points.length){const e=this.model().timeScale(),n=e.indexToTimePoint(t),o=e.indexToTimePoint(t);this._points[0]={index:t,price:i,time:(0,u.isNumber)(n)?new Date(1e3*n):void 0},this._points[1]={index:s,price:r,time:(0,u.isNumber)(o)?new Date(1e3*o):void 0}}}_calculateAnchors(){let e=null,t=null,i=null,r=null;if(this.graphics().hhists().forEach(s=>{s.forEach(s=>{const{priceLow:n,priceHigh:o,firstBarTime:a,lastBarTime:l}=s;(!e||nt)&&(t=o),(!i||ar)&&(r=l)})}),!((0,s.default)(e)||(0,s.default)(t)||(0,s.default)(r)||(0,s.default)(i)))return[{price:t,index:i},{price:e,index:r}]}_updateAnchorsPrice(){const e=this._calculateAnchors();if(!e)return;const[{price:t},{price:i}]=e;this._timePoint.length&&(this._timePoint[0].price=t,this._timePoint[1].price=i), +this._points.length&&(this._points[0].price=t,this._points[1].price=i)}}},90373:(e,t,i)=>{"use strict";var s;i.d(t,{MagnetMode:()=>s}),function(e){e[e.WeakMagnet=0]="WeakMagnet",e[e.StrongMagnet=1]="StrongMagnet"}(s||(s={}))},30460:(e,t,i)=>{"use strict";i.d(t,{magnetEnabled:()=>m,magnetMode:()=>g,setIsMagnetEnabled:()=>f,setMagnetMode:()=>v});var s=i(88564),r=i(52714),n=i.n(r),o=i(90373),a=i(85733),l=i(14291),c=i(76367);const h=new(n())(!1),d=new(n())(o.MagnetMode.WeakMagnet),u=(0,c.modifierPressed)(),p=(0,c.shiftPressed)();function _(){const e=u.value();if(p.value()&&(a.isToolEditingNow.value()||a.isToolCreatingNow.value()))return void h.setValue(!1);const t=a.tool.value(),i=a.isStudyEditingNow.value()||a.isPointSelectedNow.value(),s=e&&((0,l.isLineToolName)(t)||a.isToolEditingNow.value()||(0,a.toolIsMeasure)(t)||i),r=(0,a.properties)().childs().magnet.value();d.setValue(!r&&s?o.MagnetMode.StrongMagnet:(0,a.properties)().childs().magnetMode.value()),h.setValue(s?!r:r)}function m(){return h}function g(){return d}function f(e){(0,s.saveDefaultProperties)(!0),(0,a.properties)().childs().magnet.setValue(e),(0,s.saveDefaultProperties)(!1)}function v(e){(0,s.saveDefaultProperties)(!0),(0,a.properties)().childs().magnetMode.setValue(e),(0,a.properties)().childs().magnet.setValue(!0),(0,s.saveDefaultProperties)(!1)}(0,a.runOnDrawingStateReady)(()=>{(0,a.properties)().childs().magnet.subscribe(null,_),(0,a.properties)().childs().magnetMode.subscribe(null,_),u.subscribe(_),p.subscribe(_),a.tool.subscribe(_),a.isToolEditingNow.subscribe(_),_()})},32050:(e,t,i)=>{"use strict";i.d(t,{MainSeriesScaleRatioProperty:()=>n});var s=i(2872),r=i.n(s);class n{constructor(e){this._changed=new(r()),this._model=e}getStepChangeValue(){return.1}getMinValue(){return 1e-7}getMaxValue(){return 99999999}value(){return this._model.mainSeriesScaleRatio()}setValue(e,t){(e!==this.value()||t)&&(this._model.setMainSeriesScaleRatio(e),this._onChanged())}state(){return null}clone(){return new n(this._model)}listeners(){return this._changed}subscribe(e,t){this._changed.subscribe(e,t)}unsubscribe(e,t){this._changed.unsubscribe(e,t)}unsubscribeAll(e){this._changed.unsubscribeAll(e)}storeStateIfUndefined(){return!0}_onChanged(){this._changed.fire(this)}}},33291:(e,t,i)=>{"use strict";function s(e,t,i){return{type:"data-source-change",dataSourceId:e,firstUpdatedTimePointIndex:t,clearData:i}}i.r(t),i.d(t,{dataSourceChangeEvent:()=>s,globalChangeEvent:()=>n,viewportChangeEvent:()=>a,selectionChangeEvent:()=>c});const r={type:"global-change"};function n(){return r}const o={type:"viewport-change"};function a(){return o}const l={type:"selection-change"};function c(){return l}},51344:(e,t,i)=>{"use strict";i.d(t,{ensureTimePointIndexIndex:()=>n,unpackNonSeriesData:()=>o});var s=i(6617),r=i(88537);function n(e){if(e<0)throw new Error("TimePointIndexIndex should be non-negative integer");return e}async function o(e){if(""===e)return null;const t=JSON.parse(e);if(!(0,s.isObject)(t)||"function"==typeof t)throw new Error("Non-object content in the non-series envelope") +;if((0,s.hasProperty)(t,"indexes_replace"))return{indexes_replace:!0};const i={indexes_replace:!1};if((0,s.hasProperty)(t,"offsets")&&(i.offsets=t.offsets),(0,s.hasProperty)(t,"isUpdate")){if("boolean"!=typeof t.isUpdate)throw new Error('Invalid type of "isUpdate" field');i.isUpdate=t.isUpdate}return(0,s.hasProperty)(t,"data")&&(i.data=t.data),(0,s.hasProperty)(t,"graphicsCmds")&&(i.graphicsCmds=function(e){if(!(0,s.isObject)(e))throw new Error("Graphics commands should be wrapped in an object");if((0,s.hasProperty)(e,"create"),(0,s.hasProperty)(e,"erase")){const t=e.erase;(0,r.assert)(Array.isArray(t),"Collection of erase commands should be array");for(const e of t){if(!(0,s.isObject)(e)||!(0,s.hasProperty)(e,"action"))throw new Error("Command should be an object with 'action' property");(0,r.assert)("all"===e.action||"one"===e.action,"Erase command action should be 'all' or 'one'")}}return e}(t.graphicsCmds)),i}},57626:(e,t,i)=>{"use strict";i.d(t,{notAvailable:()=>r});var s=i(28353);const r=i(67337).enabled("use_na_string_for_not_available_values")?(0,s.t)("n/a"):"∅"},56589:(e,t,i)=>{"use strict";var s;i.d(t,{PaneCursorType:()=>s}),function(e){e[e.Default=0]="Default",e[e.Pointer=1]="Pointer",e[e.Eraser=2]="Eraser",e[e.Dot=3]="Dot",e[e.Grabbing=4]="Grabbing",e[e.ZoomIn=5]="ZoomIn",e[e.VerticalResize=6]="VerticalResize",e[e.HorizontalResize=7]="HorizontalResize",e[e.DiagonalNeSwResize=8]="DiagonalNeSwResize",e[e.DiagonalNwSeResize=9]="DiagonalNwSeResize"}(s||(s={}))},28978:(e,t,i)=>{"use strict";i.d(t,{PanePriceAxisView:()=>n});var s=i(76818);class r{constructor(e){this._priceAxisViewRenderer=null,this._rendererOptions=null,this._align="right",this._width=0,this._height=0,this._textWidthCache=e}setParams(e,t,i,s,r){this._priceAxisViewRenderer=e,this._rendererOptions=t,this._width=i,this._height=s,this._align=r}draw(e,t){null!==this._rendererOptions&&null!==this._priceAxisViewRenderer&&this._priceAxisViewRenderer.draw(e,this._rendererOptions,this._textWidthCache,this._width,this._height,this._align,t.pixelRatio)}hitTest(e){var t,i;return void 0===(null===(t=this._priceAxisViewRenderer)||void 0===t?void 0:t.hitTest)?null:null===(i=this._priceAxisViewRenderer)||void 0===i?void 0:i.hitTest(e,this._width,this._align)}}class n{constructor(e,t,i){this._renderer=null,this._invalidated=!0,this._priceAxisView=e,this._textWidthCache=new s.TextWidthCache(100),this._dataSource=t,this._chartModel=i,this._fontSize=-1,this._panePriceAxisViewRenderer=new r(this._textWidthCache)}update(e){this._invalidated=!0}renderer(e,t){return this._invalidated&&this._updateImpl(e,t),this._renderer}_updateImpl(e,t){this._renderer=null;const i=this._chartModel.crossHairSource(),s=this._dataSource===i?i.pane:this._chartModel.paneForSource(this._dataSource);if(null===s)return;const r=this._priceScale();if(null===r)return;let n=s.priceScalePosition(r);if("overlay"===n&&(n=s.priceScalePosition(s.defaultPriceScale())),"overlay"===n)return;const o=this._chartModel.priceAxisRendererOptions();o.fontSize!==this._fontSize&&(this._fontSize=o.fontSize, +this._textWidthCache.reset()),this._panePriceAxisViewRenderer.setParams(this._priceAxisView.paneRenderer(),o,t,e,n),this._renderer=this._panePriceAxisViewRenderer,this._invalidated=!1}_priceScale(){return this._dataSource.priceScale()}}},84705:(e,t,i)=>{"use strict";i.d(t,{PaneRendererArea:()=>a});var s=i(88537),r=i(46214),n=i(29892),o=i(49094);class a extends r.PaneRendererLine{constructor(e){e.forceLineColor=!1,super(e)}draw(e,t){var i,r,a,l,c;const h=this._data;if(0===h.items.length)return;let d=null!==(r=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==r?r:0,u=(null!==(l=null===(a=this._data.visibleItemsRange)||void 0===a?void 0:a.endItemIndex)&&void 0!==l?l:this._data.items.length)-1;for(;d=0&&!(0,o.coordinateIsValid)(h.items[u].y);)u--;if(d>u)return;e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.lineCap="butt",e.strokeStyle=h.lineColor,e.lineWidth=h.lineWidth,(0,n.setLineStyle)(e,h.lineStyle),e.lineWidth=1;const p={},_=h.items;for(let e=d;e<=u;e++){const t=_[e];let i;if(i=t.style?t.style.color:h.lineColor,e{"use strict";i.d(t,{CompositeRenderer:()=>s});class s{constructor(){this._renderers=[],this._globalAlpha=1}setGlobalAlpha(e){this._globalAlpha=e}append(e){this._renderers.push(e)}insert(e,t){this._renderers.splice(t,0,e)}clear(){this._renderers.length=0}isEmpty(){return 0===this._renderers.length}draw(e,t){for(let i=0;i=0;s--){const r=this._renderers[s].hitTest(e,t);null!==r&&(null===i||r.result()>i.result())&&(i=r)}return i}doesIntersectWithBox(e){return this._renderers.some(t=>!!t.doesIntersectWithBox&&t.doesIntersectWithBox(e))}}},42759:(e,t,i)=>{"use strict";i.d(t,{clearRectWithGradient:()=>o,fillRectInnerBorder:()=>a,drawHorizontalLine:()=>l,drawVerticalLine:()=>c,drawRoundRect:()=>d,drawRoundRectWithInnerBorder:()=>u,fillRectWithBorder:()=>p,createCircle:()=>_});var s=i(86441),r=i(29892),n=i(95936);function o(e,t,i,s,r,n,o){e.save(), +e.globalCompositeOperation="copy";const a=e.createLinearGradient(0,0,0,r);a.addColorStop(0,n),a.addColorStop(1,o),e.fillStyle=a,e.fillRect(t,i,s,r),e.restore()}function a(e,t,i,s,r,n){e.fillRect(t+n,i,s-2*n,n),e.fillRect(t+n,i+r-n,s-2*n,n),e.fillRect(t,i,n,r),e.fillRect(t+s-n,i,n,r)}function l(e,t,i,s){e.beginPath();const r=e.lineWidth%2?.5:0;e.moveTo(i,t+r),e.lineTo(s,t+r),e.stroke()}function c(e,t,i,s){e.beginPath();const r=e.lineWidth%2?.5:0;e.moveTo(t+r,i),e.lineTo(t+r,s),e.stroke()}function h(e,t){return Array.isArray(e)?e.map(e=>0===e?e:e+t):e+t}function d(e,t,i,s,r,n,o){let a,l,c,h;if(Array.isArray(n))if(2===n.length){const e=Math.max(0,n[0]),t=Math.max(0,n[1]);a=e,l=e,c=t,h=t}else{if(4!==n.length)throw new Error("Wrong border radius - it should be like css border radius");a=Math.max(0,n[0]),l=Math.max(0,n[1]),c=Math.max(0,n[2]),h=Math.max(0,n[3])}else{const e=Math.max(0,n);a=e,l=e,c=e,h=e}o||e.beginPath(),e.moveTo(t+a,i),e.lineTo(t+s-l,i),0!==l&&e.arcTo(t+s,i,t+s,i+l,l),e.lineTo(t+s,i+r-c),0!==c&&e.arcTo(t+s,i+r,t+s-c,i+r,c),e.lineTo(t+h,i+r),0!==h&&e.arcTo(t,i+r,t,i+r-h,h),e.lineTo(t,i+a),0!==a&&e.arcTo(t,i,t+a,i,a)}function u(e,t,i,s,o,a,l=0,c=0,u="",p=n.LineStyle.Solid){if(e.save(),!c||!u||u===a)return d(e,t,i,s,o,l),e.fillStyle=a,e.fill(),void e.restore();const _=c/2;if("transparent"!==a){const r="transparent"!==u&&p!==n.LineStyle.Solid;d(e,r?t:t+c,r?i:i+c,r?s:s-2*c,r?o:o-2*c,r?l:h(l,-c)),e.fillStyle=a,e.fill()}if("transparent"!==u){d(e,t+_,i+_,s-c,o-c,h(l,-_)),e.lineWidth=c,e.strokeStyle=u,(0,r.setLineStyle)(e,p),e.closePath(),e.stroke()}e.restore()}function p(e,t,i,n,o,a,l,c,h,d,u,p,_,m,g){const f=d?0:t,v=u?_:n;if(void 0!==a&&(e.fillStyle=a,e.fillRect(f,i,v-f+m,o-i)),void 0!==l&&c>0){if(e.beginPath(),(0,r.setLineStyle)(e,h),void 0!==g){const t=g.map(e=>e*c);(0,r.setLineDash)(e,t)}let a=(0,s.point)(0,0),d=(0,s.point)(0,0),u=(0,s.point)(0,0),_=(0,s.point)(0,0);switch(p){case"outer":{const e=.5*c;u=(0,s.point)(0,e),_=(0,s.point)(0,e),a=(0,s.point)(e,-c),d=(0,s.point)(e,-c);break}case"center":{const e=c%2?.5:0,t=c%2?.5:m;u=(0,s.point)(.5*c-e,-e),_=(0,s.point)(t+.5*c,-e),a=(0,s.point)(-e,e+.5*c),d=(0,s.point)(t,e+.5*c);break}case"inner":{const e=.5*c;u=(0,s.point)(0,-e),_=(0,s.point)(1,-e),a=(0,s.point)(-e,c),d=(0,s.point)(1-e,c);break}}e.lineWidth=c,e.strokeStyle=l,e.moveTo(f-u.x,i-u.y),e.lineTo(v+_.x,i-_.y),e.moveTo(n+d.x,i+d.y),e.lineTo(n+d.x,o-d.y),e.moveTo(f-u.x,o+u.y),e.lineTo(v+_.x,o+_.y),e.moveTo(t-a.x,i+a.y),e.lineTo(t-a.x,o-a.y),e.stroke()}}function _(e,t,i,s){e.beginPath(),e.arc(t,i,s,0,2*Math.PI,!1),e.closePath()}},49094:(e,t,i)=>{"use strict";i.d(t,{extendAndClipLineSegment:()=>h,getArrowPoints:()=>d,optimalBarWidth:()=>u,optimalCandlestickWidth:()=>p,optimalHiLoWidth:()=>_,interactionTolerance:()=>m,coordinateIsValid:()=>g,setValidLineStyle:()=>f,fillScaledRadius:()=>v,strokeScaledRadius:()=>S});var s=i(86441),r=i(5531),n=i(71413),o=i(80643),a=i(29892);const l={line:13,minDistanceBetweenPoints:10,series:14,curve:10,anchor:13,esd:4},c={line:3,minDistanceBetweenPoints:5,series:2,curve:3,anchor:2, +esd:0};function h(e,t,i,n,o,a){if((0,s.equalPoints)(e,t))return null;const l=new s.Point(0,0),c=new s.Point(i,n);if(o){if(a){const i=(0,r.intersectLineAndBox)((0,s.lineThroughPoints)(e,t),(0,s.box)(l,c));return Array.isArray(i)?i:null}{const i=(0,r.intersectRayAndBox)(t,e,(0,s.box)(l,c));return null===i||(0,s.equalPoints)(t,i)?null:(0,s.lineSegment)(t,i)}}if(a){const i=(0,r.intersectRayAndBox)(e,t,(0,s.box)(l,c));return null===i||(0,s.equalPoints)(e,i)?null:(0,s.lineSegment)(e,i)}{const i=(0,r.intersectLineSegmentAndBox)((0,s.lineSegment)(e,t),(0,s.box)(l,c));return Array.isArray(i)?i:null}}function d(e,t,i,s){const r=.5*i,n=Math.sqrt(2),o=t.subtract(e),a=o.normalized();let l=5*i;s&&(l=Math.min(l,.35*o.length()));const c=1*r;if(l*n*.2<=c)return[];const h=a.scaled(l),d=t.subtract(h),u=a.transposed(),p=1*l,_=u.scaled(p),m=d.add(_),g=d.subtract(_),f=m.subtract(t).normalized().scaled(c),v=g.subtract(t).normalized().scaled(c),S=t.add(f),y=t.add(v),b=r*(n-1),w=u.scaled(b),C=Math.min(l-1*r/n,r*n*1),P=a.scaled(C),T=t.subtract(w),x=t.add(w),I=t.subtract(P);return[[m,S],[g,y],[T,I.subtract(w)],[x,I.add(w)]]}function u(e,t){return t=t||1,Math.floor(.3*e*t)}function p(e,t){if(e>=2.5&&e<=4)return Math.floor(3*t);const i=1-.2*Math.atan(Math.max(4,e)-4)/(.5*Math.PI),s=Math.floor(e*i*t),r=Math.floor(e*t),n=Math.min(s,r);return Math.max(Math.floor(t),n)}function _(e){return.4*e}function m(){return(0,n.lastMouseOrTouchEventInfo)().isTouch?l:c}function g(e){return null!=e&&!(0,o.isNaN)(e)}function f(e,t){void 0!==t&&(0,a.setLineStyle)(e,t)}function v(e,t){const i=Math.max(1,Math.floor(t))%2?.5:0;return Math.round(e*t)+i}function S(e,t,i){const s=Math.max(1,Math.floor(t))%2?.5:0;return Math.round(e*t)+(s!==i%2?.5:0)}},40254:(e,t,i)=>{"use strict";i.d(t,{HorizontalLineRenderer:()=>a});var s=i(84346),r=i(29892),n=i(42759),o=i(49094);class a{constructor(){this._data=null,this._hitTest=new s.HitTestResult(s.HitTestResult.REGULAR)}setData(e){this._data=e}setHitTest(e){this._hitTest=e}hitTest(e){if(null===this._data||!1===this._data.visible||null===this._hitTest)return null;const t=(0,o.interactionTolerance)().line,i=Math.abs(e.y-this._data.y)<=t+this._data.linewidth/2,s=void 0===this._data.left||this._data.left-e.x<=t,r=void 0===this._data.right||e.x-this._data.right<=t;return i&&s&&r?this._hitTest:null}draw(e,t){if(null===this._data)return;if(!1===this._data.visible)return;if(this._data.y<-this._data.linewidth/2||this._data.y>t.cssHeight+this._data.linewidth/2)return;const i=t.pixelRatio;e.lineCap="butt",e.strokeStyle=this._data.color,e.lineWidth=Math.max(1,Math.floor(this._data.linewidth*i)),void 0!==this._data.linestyle&&(0,r.setLineStyle)(e,this._data.linestyle);const s=void 0!==this._data.left?Math.max(this._data.left,0):0,o=void 0!==this._data.right?Math.min(this._data.right,t.cssWidth):t.cssWidth,a=Math.round(this._data.y*i),l=Math.floor(s*i),c=Math.ceil(o*i);(0,n.drawHorizontalLine)(e,a,l,c)}}},15712:(e,t,i)=>{"use strict";function s(e,t){return e.pixelRatio===t.pixelRatio}i.d(t,{areEqualPaneRenderParams:()=>s})},49612:(e,t,i)=>{ +"use strict";var s;i.d(t,{LineEnd:()=>s}),function(e){e[e.Normal=0]="Normal",e[e.Arrow=1]="Arrow",e[e.Circle=2]="Circle"}(s||(s={}))},46214:(e,t,i)=>{"use strict";i.d(t,{PaneRendererLine:()=>l});var s=i(86441),r=i(4652),n=i(84346),o=i(29892),a=i(49094);class l{constructor(e){this._data=e}hitTest(e,t){var i,o,l,c;const h=(0,a.interactionTolerance)().series+this._data.lineWidth/2;let d=null!==(o=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==o?o:0,u=(null!==(c=null===(l=this._data.visibleItemsRange)||void 0===l?void 0:l.endItemIndex)&&void 0!==c?c:this._data.items.length)-1;for(;u-d>2;){const t=Math.round((u+d)/2);this._data.items[t].x<=e.x?d=t:u=t}d=Math.max(1,d-1),u=Math.min(this._data.items.length-1,u+1);for(let t=d;t<=u;++t){const i=this._data.items[t-1],o=this._data.items[t],a=i.x,l=o.x;if((0,r.distanceToSegment)(new s.Point(a,i.y),new s.Point(l,o.y),new s.Point(e.x,e.y)).distance<=h)return this._data.hittest?this._data.hittest:new n.HitTestResult(n.HitTestResult.REGULAR)}return null}draw(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.lineCap="square",e.lineJoin="round",e.strokeStyle=this._data.lineColor,e.fillStyle=this._data.lineColor,e.lineWidth=this._data.lineWidth,(0,o.setLineStyle)(e,this._data.lineStyle),(0,a.setValidLineStyle)(e,this._data.lineStyle),this._data.simpleMode?this._drawSimpleMode(e,t.pixelRatio):this._drawLines(e),e.restore()}_drawSimpleMode(e,t){var i,s,r,n;if(e.beginPath(),this._walkLine(e,this._data.items,!1,NaN),e.stroke(),this._data.withMarkers){e.save(),e.scale(1/t,1/t);const o=Math.max(1,Math.floor(t))%2/2,a=(this._data.lineWidth+2)*t+o,l=2*Math.PI;e.beginPath();const c=null!==(s=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==s?s:0;for(let i=(null!==(n=null===(r=this._data.visibleItemsRange)||void 0===r?void 0:r.endItemIndex)&&void 0!==n?n:this._data.items.length)-1+1;i-- >=c;){const s=this._data.items[i];if(s){const i=Math.round(s.x*t)+o,r=s.y*t;e.moveTo(i,r),e.arc(i,r,a,0,l)}}e.fill(),e.restore()}}_walkLine(e,t,i,s,r){var n,o,l,c;if(!t)return;const h=.25*this._data.barSpacing;let d,u,p,_,m;const g=a.coordinateIsValid,f=r?0:null!==(o=null===(n=this._data.visibleItemsRange)||void 0===n?void 0:n.startItemIndex)&&void 0!==o?o:0,v=r?t.length-1:Math.min((null!==(c=null===(l=this._data.visibleItemsRange)||void 0===l?void 0:l.endItemIndex)&&void 0!==c?c:t.length)-1,t.length-1);for(let e=f;e<=v;e++){const i=t[e];if(g(i.y)){u=i,d=e;break}}if(void 0!==d&&void 0!==u)for(let r=d;r<=v;r++){_=t[r],m=t[r+1]||{};const n=Math.round(_.x);if(g(_.y))if(p&&g(p.y))e.lineTo(n,_.y),i&&!g(m.y)&&e.lineTo(n,s);else if(m&&g(m.y))i?(r!==d&&e.lineTo(n,s),e.lineTo(n,_.y)):e.moveTo(n,_.y);else if(i){if(0===r)continue;r!==d&&e.lineTo(n-h,s),e.lineTo(n-h,_.y),e.lineTo(n+h,_.y),e.lineTo(n+h,s)}else e.moveTo(n-h,_.y),e.lineTo(n+h,_.y);p=_}}_drawLines(e){var t,i,s,r;if(!this._data.items.length)return;let n,o,l;const c=.25*this._data.barSpacing,h=a.coordinateIsValid;e.beginPath() +;const d=null!==(i=null===(t=this._data.visibleItemsRange)||void 0===t?void 0:t.startItemIndex)&&void 0!==i?i:0,u=(null!==(r=null===(s=this._data.visibleItemsRange)||void 0===s?void 0:s.endItemIndex)&&void 0!==r?r:this._data.items.length)-1,p=this._data.items[d];p&&e.moveTo(p.x,p.y);let _,m=e.strokeStyle,g=e.lineWidth;for(let t=d+1;t<=u;++t){let i,s,r;n=this._data.items[t-1],o=this._data.items[t],l=this._data.items[t+1],o.style&&!this._data.forceLineColor?(i=o.style.color,s=o.style.width,r=o.style.style):(i=this._data.lineColor,s=this._data.lineWidth,r=this._data.lineStyle),this._data.ignorePaletteLineWidth&&(s=this._data.lineWidth);(i!==m||s!==g||r!==_)&&(m=i,g=s,_=r,e.stroke(),e.beginPath(),e.strokeStyle=i,e.lineWidth=s,(0,a.setValidLineStyle)(e,r),e.moveTo(n.x,n.y)),f=n,S=l,h((v=o).y)&&(h(f.y)?e.lineTo(v.x,v.y):S&&h(S.y)?e.moveTo(v.x,v.y):(e.moveTo(v.x-c,v.y),e.lineTo(v.x+c,v.y)))}var f,v,S;e.stroke()}}},55776:(e,t,i)=>{"use strict";i.d(t,{RectangleRenderer:()=>d});var s=i(88537),r=i(86441),n=i(34026),o=i(4652),a=i(84346),l=i(68906),c=i(43891),h=i(42759);class d{constructor(e,t,i){this._data=null,this._hitTestResult=e||new a.HitTestResult(a.HitTestResult.MOVEPOINT),this._backHitTestResult=t||new a.HitTestResult(a.HitTestResult.MOVEPOINT_BACKGROUND),this._forceOverrideTransparency=Boolean(i)}setData(e){this._data=e}hitTest(e,t){if(null===this._data||this._data.points.length<2||this._data.nohittest)return null;const[i,s]=this._getPointsInPhysicalSpace(t),n=new r.Point(s.x,i.y),a=new r.Point(i.x,s.y),l=new r.Point(e.x*t.pixelRatio,e.y*t.pixelRatio),c=this._extendAndHitTestLineSegment(l,i,n,t);if(null!==c)return c;const h=this._extendAndHitTestLineSegment(l,a,s,t);if(null!==h)return h;let d=(0,o.distanceToSegment)(n,s,l);return d.distance<=3?this._hitTestResult:(d=(0,o.distanceToSegment)(i,a,l),d.distance<=3?this._hitTestResult:this._data.fillBackground?this._hitTestBackground(l,i,s,t):null)}getColor(){const e=(0,s.ensure)(this._data);return void 0===e.transparency?e.backcolor:(0,l.generateColor)(e.backcolor,e.transparency,this._forceOverrideTransparency)}draw(e,t){if(null===this._data||this._data.points.length<2||this._data.linewidth<=0&&!this._data.fillBackground)return;e.save();const[i,s]=this._getPointsInPhysicalSpace(t),r=this._data.linewidth?Math.max(1,Math.floor(this._data.linewidth*t.pixelRatio)):0,n=this._data.fillBackground?this.getColor():void 0,o=Math.max(1,Math.floor(t.pixelRatio));(0,h.fillRectWithBorder)(e,i.x,i.y,s.x,s.y,n,this._data.color,r,c.LINESTYLE_SOLID,this._data.extendLeft,this._data.extendRight,"center",t.physicalWidth,this._data.includeRightEdge&&1===o?1:0),e.restore()}_getPointsInPhysicalSpace(e,t=0){const i=(0,s.ensureNotNull)(this._data),[n,o]=i.points,a=e.pixelRatio,l=Math.min(n.x,o.x),c=Math.max(n.x,o.x),h=Math.min(n.y,o.y),d=Math.max(n.y,o.y),u=Math.round(l*a)+t,p=Math.round(c*a)+t,_=Math.round(h*a)+t,m=Math.round(d*a)+t;return[new r.Point(u,_),new r.Point(p,m)]}_extendAndHitTestLineSegment(e,t,i,s){const r=this._extendAndClipLineSegment(t,i,s);if(null!==r){if((0, +o.distanceToSegment)(r[0],r[1],e).distance<=3)return this._hitTestResult}return null}_extendAndClipLineSegment(e,t,i){const n=(0,s.ensureNotNull)(this._data);if((0,r.equalPoints)(e,t)&&!n.extendLeft&&!n.extendRight)return null;const o=i.physicalWidth,a=Math.min(e.x,t.x),l=Math.max(e.x,t.x),c=n.extendLeft?0:Math.max(a,0),h=n.extendRight?o:Math.min(l,o);return c>h||h<=0||c>=o?null:[new r.Point(c,e.y),new r.Point(h,t.y)]}_hitTestBackground(e,t,i,s){const o=this._extendAndClipLineSegment(t,i,s);return null!==o&&(0,n.pointInBox)(e,(0,r.box)(o[0],o[1]))?this._backHitTestResult:null}}},16282:(e,t,i)=>{"use strict";i.d(t,{ScaledPaneRenderer:()=>s,ScaledPaneRendererWrapper:()=>r});class s{draw(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._drawImpl(e,{...t,pixelRatio:1}),e.restore()}drawBackground(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._drawBackgroundImpl(e,{...t,pixelRatio:1}),e.restore()}_drawBackgroundImpl(e,t){}}class r{constructor(e){this._base=e}hitTest(e,t){return this._base.hitTest(e,t)}draw(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._base.draw(e,{...t,pixelRatio:1}),e.restore()}drawBackground(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._base.drawBackground&&this._base.drawBackground(e,{...t,pixelRatio:1}),e.restore()}}},13632:(e,t,i)=>{"use strict";var s;i.d(t,{StatsPosition:()=>s}),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(s||(s={}))},28113:(e,t,i)=>{"use strict";i.d(t,{StepLineDecoration:()=>s,PaneRendererStepLine:()=>g});var s,r=i(4652),n=i(84346),o=i(86441),a=i(29892),l=i(55257),c=i(49094),h=i(42759),d=i(68906);!function(e){e[e.None=0]="None",e[e.Diamonds=1]="Diamonds"}(s||(s={}));class u{initialize(e,t,i,s){var r,n,o,l;const c=e.lineStyle;t.lineCap="butt",t.lineJoin="round";const h=Math.max(Math.floor(null!==(n=null===(r=s.style)||void 0===r?void 0:r.width)&&void 0!==n?n:e.lineWidth*i.pixelRatio));void 0!==c&&(0,a.setLineStyle)(t,c);const d=h%2?.5:0;t.moveTo(Math.round(s.x*i.pixelRatio)+d,Math.round(s.y*i.pixelRatio)+d),t.strokeStyle=null!==(l=null===(o=s.style)||void 0===o?void 0:o.color)&&void 0!==l?l:e.lineColor,t.lineWidth=h}finishFragment(e){e.stroke()}hitTest(e,t,i,s,n){var a,l;const h=Math.round((i.x+s.x)/2),d=new o.Point(h,i.y),u=new o.Point(h,s.y),p=null!==(l=null===(a=i.style)||void 0===a?void 0:a.width)&&void 0!==l?l:e.lineWidth,_=(0,c.interactionTolerance)().series+p/2;return Math.min((0,r.distanceToSegment)(i,d,n).distance,(0,r.distanceToSegment)(d,u,n).distance,(0,r.distanceToSegment)(u,s,n).distance)<=_}applyColor(e,t){e.strokeStyle=t}applyLineWidth(e,t){e.lineWidth=t}drawItem(e,t,i,s){e.lineTo(i.x,i.y),void 0!==s&&(e.lineTo(s.x,i.y),e.lineTo(s.x,s.y))}}class p{constructor(){this._lineWidth=1}initialize(e,t,i,s){var r,n,o,a;this.applyColor(t,null!==(n=null===(r=s.style)||void 0===r?void 0:r.color)&&void 0!==n?n:e.lineColor), +this._lineWidth=Math.max(Math.floor(null!==(a=null===(o=s.style)||void 0===o?void 0:o.width)&&void 0!==a?a:e.lineWidth*i.pixelRatio))}finishFragment(e){e.fill()}drawItem(e,t,i,s,r){if(r&&void 0!==s&&!Number.isNaN(s.y)){e.save(),e.translate(s.x,s.y),e.rotate(Math.PI/4);const i=this._scaleByLineWidth(this._lineWidth);e.scale(i,i),this._drawItemRotatedAndTranslated(e,t),e.restore()}}applyLineWidth(e,t){this._lineWidth=t}hitTest(e,t,i,s,r){var n,a;if(!s.valIsNotSameAsPrev)return!1;const l=Math.round((i.x+s.x)/2),c=new o.Point(l,s.y),h=r.subtract(c),d=Math.max(Math.floor(null!==(a=null===(n=i.style)||void 0===n?void 0:n.width)&&void 0!==a?a:e.lineWidth*t.pixelRatio));return this._hitTestTranslated(h,d)}_scaleByLineWidth(e){return Math.sqrt(e)}}class _ extends p{applyColor(e,t){e.fillStyle=t}_hitTestTranslated(e,t){return Math.abs(e.x)+Math.abs(e.y)<8*this._scaleByLineWidth(t)/2}_drawItemRotatedAndTranslated(e,t){(0,h.drawRoundRect)(e,-4,-4,8,8,2,!0)}}class m extends p{applyColor(e,t){e.fillStyle=(0,d.applyTransparency)(t,85)}_hitTestTranslated(e,t){return Math.abs(e.x)+Math.abs(e.y)<21*this._scaleByLineWidth(t)/2}_drawItemRotatedAndTranslated(e,t){(0,h.drawRoundRect)(e,-10.5,-10.5,21,21,5,!0)}}class g{constructor(e){this._data=null,this._data=null!=e?e:null}setData(e){this._data=e}hitTest(e,t){var i;const r=this._data;if(null===r||0===r.items.length)return null;const o=r.items,a=(0,l.lowerbound)(o,e,(e,t)=>e.x<=t.x),c=Math.max(0,a-1),h=Math.min(o.length-1,a+1),d=function(e){switch(e){case s.Diamonds:return[new u,new m];default:return[new u]}}(null===(i=this._data)||void 0===i?void 0:i.decoration);for(let i=c;ii.hitTest(r,t,s,a,e)))return new n.HitTestResult(n.HitTestResult.REGULAR)}return null}draw(e,t){if(null===this._data||0===this._data.items.length)return;e.save();(function(e){switch(e){case s.Diamonds:return[new u,new _,new m];default:return[new u]}})(this._data.decoration).forEach(i=>this._drawImpl(e,t,i)),e.restore()}_drawImpl(e,t,i){var s,r,n,a,l,c,h,d,u,p,_,m,g,f,v,S;if(null===this._data||0===this._data.items.length)return;const{lineWidth:y,lineColor:b,items:w}=this._data,C=t.pixelRatio;let P=Math.max(Math.floor(null!==(r=null===(s=w[0].style)||void 0===s?void 0:s.width)&&void 0!==r?r:y*C)),T=P%2?.5:0;i.initialize(this._data,e,t,w[0]);const x=null!==(a=null===(n=this._data.visibleItemsRange)||void 0===n?void 0:n.startItemIndex)&&void 0!==a?a:0,I=null!==(c=null===(l=this._data.visibleItemsRange)||void 0===l?void 0:l.endItemIndex)&&void 0!==c?c:w.length;if(!(I<=x)){e.beginPath(),i.applyColor(e,null!==(d=null===(h=w[x].style)||void 0===h?void 0:h.color)&&void 0!==d?d:b);for(let s=x;s{"use strict";i.d(t,{calculateLabelPosition:()=>p,wordWrap:()=>g,TextRenderer:()=>M});var s=i(86441),r=i(88537),n=i(34026),o=i(62820),a=i(84346),l=i(42759),c=i(29892),h=i(80643),d=i(93435),u=i(43891);function p(e,t,i,r,n){const o=.5*(t.x+i.x);let a=i.y;return t.y>i.y?(a-=e.height/2+r.y,a=Math.max(e.height/2,a)):(a+=e.height/2+r.y,a=Math.min(n-e.height/2,a)),new s.Point(o,a)}let _;function m(){const e=document.createElement("canvas");e.width=0,e.height=0,_=(0,r.ensureNotNull)(e.getContext("2d"))}function g(e,t,i){_||m(),i=(0,h.isString)(i)?parseInt(i):i,e+="";const s=!(0,h.isNumber)(i)||!isFinite(i)||i<=0?e.split(/\r\n|\r|\n|$/):e.split(/[^\S\r\n]*(?:\r\n|\r|\n|$)/);if(s[s.length-1]||s.pop(),!(0,h.isNumber)(i)||!isFinite(i)||i<=0)return s;_.font=t;const r=[];for(let e=0;e0&&_.measureText(o.slice(0,3*--e-1).join("")).width>i;);if(e>0)r.push(o.slice(0,3*e-1).join("")),o.splice(0,3*e);else{const e=o[0]+(o[1]||"");if(a=1===a?1:~~(i/_.measureText(e).width*e.length),_.measureText(e.substring(0,a)).width<=i)for(;_.measureText(e.substring(0,a+1)).width<=i;)a++;else for(;a>1&&_.measureText(e.substring(0,--a)).width>i;);a<1&&(a=1),r.push(e.substring(0,a)),o[0]=e.substring(a),o[1]=""}if(_.measureText(o.join("")).width<=i){r.push(o.join(""));break}}}return r}function f(e,t,i){if(0===i)return e.clone();const r=(e.x-t.x)*Math.cos(i)-(e.y-t.y)*Math.sin(i)+t.x,n=(e.x-t.x)*Math.sin(i)+(e.y-t.y)*Math.cos(i)+t.y;return new s.Point(r,n)}function v(e,t){const i=Math.round(t+2*C(e)+2*b(e));return i%2?i-1:i}function S(e,t){return T(e)*t+P(e)*(t-1)+2*w(e)+2*y(e)}function y(e){return void 0!==e.boxPaddingVert?e.boxPaddingVert*I(e):void 0!==e.boxPadding?e.boxPadding*I(e):T(e)/3}function b(e){return void 0!==e.boxPaddingHorz?e.boxPaddingHorz*I(e):void 0!==e.boxPadding?e.boxPadding*I(e):T(e)/3}function w(e){return(e.backgroundVertInflate||0)*I(e)}function C(e){return(e.backgroundHorzInflate||0)*I(e)}function P(e){return(e.padding||0)*I(e)}function T(e){return Math.ceil(x(e)*I(e))}function x(e){return e.fontsize||e.fontSize||30}function I(e){const t=Math.min(1,Math.max(.2,Math.min(e.scaleX||1,e.scaleY||1)));if(1===t)return t;const i=x(e);return Math.ceil(t*i)/i}class M{constructor(e,t){this._data=null,this._internalData=null, +this._boxSize=null,this._polygonPoints=null,this._linesInfo=null,this._fontInfo=null,this._hittest=t||new a.HitTestResult(a.HitTestResult.MOVEPOINT,{areaName:a.AreaName.Text}),void 0!==e&&this.setData(e)}setData(e){e.horzTextAlign||(e.horzTextAlign=e.horzAlign),function(e,t){if(null===e||null===t)return null===e==(null===t);if(void 0===e.points!=(void 0===t.points))return!1;if(void 0!==e.points&&void 0!==t.points){if(e.points.length!==t.points.length)return!1;for(let r=0;re){const i=(0,s.box)(new s.Point(0,0),new s.Point(e,t));return this._getPolygonPoints().every(e=>!(0,n.pointInBox)(e,i))}return!1}setPoints(e,t){(0,r.ensureNotNull)(this._data).points=e,this._hittest=t||new a.HitTestResult(a.HitTestResult.MOVEPOINT)}fontStyle(e){return null===this._data?"":this._getFontInfo().fontStyle}wordWrap(e,t,i){return g(e,i||this.fontStyle(),t)}draw(e,t){if(null===this._data||void 0===this._data.points||0===this._data.points.length)return;if(this.isOutOfScreen(t.cssWidth,t.cssHeight))return;const i=t.pixelRatio,s=this._getInternalData(),r=this._getRotationPoint().scaled(i);e.save(),e.translate(r.x,r.y),e.rotate(this._data.angle||0),e.translate(-r.x,-r.y);const n=this._getFontInfo().fontSize +;e.textBaseline=s.textBaseLine,e.textAlign=s.textAlign,e.font=this.fontStyle();const{scaledLeft:o,scaledRight:a,scaledTop:h,scaledBottom:p}=function(e,t){const i=Math.round(e.boxLeft*t),s=Math.round(e.boxTop*t);return{scaledLeft:i,scaledRight:i+Math.round(e.boxWidth*t),scaledTop:s,scaledBottom:s+Math.round(e.boxHeight*t)}}(s,i);if(this._data.backgroundColor||this._data.borderColor||this._data.highlightBorder&&this._data.wordWrapWidth){const t=this._data.borderWidth||Math.max(n/12,1),s=Math.round(t*i),r=s/2;let d=!1;if(this._data.boxShadow){e.save();const{shadowColor:t,shadowBlur:i,shadowOffsetX:s=0,shadowOffsetY:r=0}=this._data.boxShadow;e.shadowColor=t,e.shadowBlur=i,e.shadowOffsetX=s,e.shadowOffsetY=r,d=!0}if(this._data.backgroundRoundRect)this._data.backgroundColor&&((0,l.drawRoundRect)(e,o,h,a-o,p-h,this._data.backgroundRoundRect*i),e.fillStyle=this._data.backgroundColor,e.fill(),d&&(e.restore(),d=!1)),this._data.borderColor&&((0,l.drawRoundRect)(e,o-r,h-r,a-o+s,p-h+s,this._data.backgroundRoundRect*i+s),e.strokeStyle=this._data.borderColor,e.lineWidth=s,e.stroke(),d&&(e.restore(),d=!1));else if(this._data.backgroundColor&&(e.fillStyle=this._data.backgroundColor,e.fillRect(o,h,a-o,p-h),d&&(e.restore(),d=!1)),this._data.borderColor||this._data.highlightBorder){let t;this._data.borderColor?(e.strokeStyle=this._data.borderColor,t=s):(e.strokeStyle=this._data.color,(0,c.setLineStyle)(e,u.LINESTYLE_DASHED),t=Math.max(1,Math.floor(i))),e.lineWidth=t,e.beginPath(),e.moveTo(o-t/2,h-t/2),e.lineTo(o-t/2,p+t/2),e.lineTo(a+t/2,p+t/2),e.lineTo(a+t/2,h-t/2),e.lineTo(o-t/2,h-t/2),e.stroke(),d&&e.restore()}}e.fillStyle=this._data.color;const _=(o+Math.round(s.textStart*i))/i,m=.05*n;let g=(h+Math.round((s.textTop+m)*i))/i;const f=P(this._data),v=this._getLinesInfo();for(const t of v.lines)(0,d.drawScaled)(e,i,()=>e.fillText(t,_,g)),g+=n+f;e.restore()}_getLinesMaxWidth(e){if(_||m(),_.textBaseline="alphabetic",_.font=this.fontStyle(),null!==this._data&&this._data.wordWrapWidth&&!this._data.forceCalculateMaxLineWidth)return this._data.wordWrapWidth*I(this._data);let t=0;for(const i of e)t=Math.max(t,_.measureText(i).width);return t}_getInternalData(){if(null!==this._internalData)return this._internalData;const e=(0,r.ensureNotNull)(this._data),t=this._getBoxSize(),i=t.boxWidth,s=t.boxHeight,n=(0,r.ensureDefined)(e.points)[0];let a=n.y;switch(e.vertAlign){case"bottom":a-=s+e.offsetY;break;case"middle":a-=s/2;break;case"top":a+=e.offsetY}let l=n.x;const c=b(e),h=y(e),d=C(e)+c;let u;const p=a+(w(e)+h)+T(e)/2;let _;switch(e.horzAlign){case"left":l+=e.offsetX;break;case"center":l-=i/2;break;case"right":l-=i+e.offsetX}switch((0,r.ensureDefined)(e.horzTextAlign)){case"left":_="start",u=l+d,(0,o.isRtl)()&&(e.forceTextAlign?_="left":(u=l+i-d,_="right"));break;case"center":_="center",u=l+i/2;break;case"right":_="end",u=l+i-d,(0,o.isRtl)()&&e.forceTextAlign&&(_="right")}return this._internalData={boxLeft:l,boxTop:a,boxWidth:i,boxHeight:s,textStart:u-l,textTop:p-a,textAlign:_,textBaseLine:"middle"},this._internalData}_getLinesInfo(){ +if(null===this._linesInfo){const e=(0,r.ensureNotNull)(this._data);let t=this.wordWrap(e.text,e.wordWrapWidth);if(void 0!==e.maxHeight){const i=function(e){const t=(0,r.ensureDefined)(e.maxHeight),i=T(e),s=P(e);return Math.floor((t+s)/(i+s))}(e);t.length>i&&(t=t.slice(0,i))}this._linesInfo={linesMaxWidth:this._getLinesMaxWidth(t),lines:t}}return this._linesInfo}_getFontInfo(){if(null===this._fontInfo){const e=(0,r.ensureNotNull)(this._data),t=T(e),i=(e.bold?"bold ":"")+(e.italic?"italic ":"")+t+"px "+e.font;this._fontInfo={fontStyle:i,fontSize:t}}return this._fontInfo}_getBoxSize(){if(null===this._boxSize){const e=this._getLinesInfo(),t=(0,r.ensureNotNull)(this._data);this._boxSize={boxWidth:v(t,e.linesMaxWidth),boxHeight:S(t,e.lines.length)}}return this._boxSize}_getPolygonPoints(){if(null!==this._polygonPoints)return this._polygonPoints;if(null===this._data)return[];const e=this._data.angle||0,{boxLeft:t,boxTop:i,boxWidth:r,boxHeight:n}=this._getInternalData(),o=this._getRotationPoint();return this._polygonPoints=[f(new s.Point(t,i),o,e),f(new s.Point(t+r,i),o,e),f(new s.Point(t+r,i+n),o,e),f(new s.Point(t,i+n),o,e)],this._polygonPoints}_getRotationPoint(){const{boxLeft:e,boxTop:t,boxWidth:i,boxHeight:n}=this._getInternalData(),{horzAlign:o,vertAlign:a}=(0,r.ensureNotNull)(this._data);let l,c;switch(o){case"center":l=e+i/2;break;case"left":l=e;break;case"right":l=e+i}switch(a){case"middle":c=t+n/2;break;case"top":c=t;break;case"bottom":c=t+n}return new s.Point(l,c)}}},63300:(e,t,i)=>{"use strict";i.d(t,{drawArrow:()=>d,TrendLineRenderer:()=>u});var s=i(88537),r=i(4652),n=i(49612),o=i(84346),a=i(29892),l=i(49094),c=i(42759);function h(e,t,i,s,r){t.save(),t.fillStyle="#000000",t.beginPath(),t.arc(e.x*r,e.y*r,i*r,0,2*Math.PI,!1),t.fill(),s.strokeWidth&&(t.lineWidth=s.strokeWidth,t.stroke()),t.restore()}function d(e,t,i,s,r,n=!1){if(t.subtract(e).length()<1)return;const o=(0,l.getArrowPoints)(e,t,s,n);for(let e=0;e0&&(l[0].x===l[1].x?(0,c.drawVerticalLine)(e,Math.round(l[0].x*s),l[0].y*s,l[1].y*s):l[0].y===l[1].y?(0,c.drawHorizontalLine)(e,Math.round(l[0].y*s),l[0].x*s,l[1].x*s):(0,a.drawLine)(e,l[0].x*s,l[0].y*s,l[1].x*s,l[1].y*s)),i.overlayLineEndings&&this._drawEnds(e,o,i.linewidth,s)}hitTest(e,t){const i=this._data;if(null===i)return null;if("points"in i&&i.points.length<2)return null;const s=(0, +l.interactionTolerance)().line,n=i.points[0],o=i.points[1],a=this._extendAndClipLineSegment(n,o,t);if(null!==a){if((0,r.distanceToSegment)(a[0],a[1],e).distance<=s)return this._hittest}return null}_extendAndClipLineSegment(e,t,i){const r=(0,s.ensureNotNull)(this._data);return(0,l.extendAndClipLineSegment)(e,t,i.cssWidth,i.cssHeight,r.extendleft,r.extendright)}_drawEnds(e,t,i,r){const o=t[0],a=t[1],l=(0,s.ensureNotNull)(this._data);switch(l.leftend){case n.LineEnd.Arrow:d(a,o,e,i,r);break;case n.LineEnd.Circle:h(o,e,i,(0,s.ensureDefined)(l.endstyle),r)}switch(l.rightend){case n.LineEnd.Arrow:d(o,a,e,i,r);break;case n.LineEnd.Circle:h(a,e,i,(0,s.ensureDefined)(l.endstyle),r)}}}},44349:(e,t,i)=>{"use strict";i.d(t,{VerticalLineRenderer:()=>a});var s=i(84346),r=i(29892),n=i(42759),o=i(49094);class a{constructor(){this._data=null,this._hitTest=new s.HitTestResult(s.HitTestResult.MOVEPOINT)}setData(e){this._data=e}setHitTest(e){this._hitTest=e}hitTest(e){if(null===this._data||null===this._hitTest)return null;const t=(0,o.interactionTolerance)().line,i=Math.abs(e.x-this._data.x)<=t+this._data.linewidth/2,s=void 0===this._data.top||this._data.top-e.y<=t,r=void 0===this._data.bottom||e.y-this._data.bottom<=t;return i&&s&&r?this._hitTest:null}draw(e,t){if(null===this._data)return;if(this._data.linewidth<=0)return;if(this._data.x<-this._data.linewidth/2||this._data.x>t.cssWidth+this._data.linewidth/2)return;const i=t.pixelRatio;e.lineCap="butt",e.strokeStyle=this._data.color,e.lineWidth=Math.max(1,Math.floor(this._data.linewidth*i)),void 0!==this._data.linestyle&&(0,r.setLineStyle)(e,this._data.linestyle);const s=void 0!==this._data.top?Math.max(this._data.top,0):0,o=void 0!==this._data.bottom?Math.min(this._data.bottom,t.cssHeight):t.cssHeight,a=Math.round(this._data.x*i),l=Math.floor(s*i),c=Math.ceil(o*i);(0,n.drawVerticalLine)(e,a,l,c)}}},59555:(e,t,i)=>{"use strict";i.d(t,{sortSourcesPreOrdered:()=>s,sortSources:()=>r});const s={ChartEventsSource:10000001,Dividends:10000002,Splits:10000003,Earnings:10000004,RollDates:10000005,LineToolOrder:10000006,LineToolPosition:10000007,LineToolExecution:10000008,AlertLabel:10000009};function r(e){return[...e].sort((e,t)=>e.zorder()-t.zorder())}},71053:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PlotRowSearchMode:()=>a,PlotList:()=>h,mergeMinMax:()=>d,mergePlotRows:()=>u});var s=i(88537),r=i(55257),n=i(2271);const o=(0,i(98125).getLogger)("Chart.PlotList");var a;!function(e){e[e.NearestLeft=-1]="NearestLeft",e[e.Exact=0]="Exact",e[e.NearestRight=1]="NearestRight"}(a||(a={}));function l(e){return e.index}function c(e){return e.value[0]}class h{constructor(e=null,t=null){this._items=[],this._start=0,this._end=0,this._shareRead=!1,this._minMaxCache=new Map,this._rowSearchCacheByIndex=new Map,this._rowSearchCacheByIndexWithoutEmptyValues=new Map,this._rowSearchCacheByTime=new Map,this._rowSearchCacheByTimeWithoutEmptyValues=new Map,this._plotFunctions=e||new Map,this._emptyValuePredicate=t}clear(){this._items=[],this._start=0,this._end=0,this._shareRead=!1,this._minMaxCache.clear(), +this._invalidateSearchCaches()}first(){return this.size()>0?this._items[this._start]:null}last(){return this.size()>0?this._items[this._end-1]:null}firstIndex(){return this.size()>0?this._indexAt(this._start):null}lastIndex(){return this.size()>0?this._indexAt(this._end-1):null}size(){return this._end-this._start}isEmpty(){return 0===this.size()}contains(e){return null!==this.search(e,a.Exact)}valueAt(e){const t=this.search(e);return null!==t?t.value:null}add(e,t){if(this._shareRead)return o.logDebug("add: readonly collection modification attempt"),!1;const i={index:e,value:t},s=this._nonCachedSearch(e,a.Exact,l);return this._invalidateSearchCaches(),null===s?(this._items.splice(this._lowerbound(e,l),0,i),this._start=0,this._end=this._items.length,!0):(this._items[s]=i,!1)}search(e,t=a.Exact,i){return this._searchImpl(e,t,this._rowSearchCacheByIndex,this._rowSearchCacheByIndexWithoutEmptyValues,l,i)}searchByTime(e,t=a.Exact,i){return this._searchImpl(e,t,this._rowSearchCacheByTime,this._rowSearchCacheByTimeWithoutEmptyValues,c,i)}fold(e,t){let i=t;for(let t=this._start;t=i;--t){const i=this._indexAt(t),s=this._valueAt(t);if(e(i,s))return{index:i,value:s}}return null}each(e){for(let t=this._start;t!1,next:()=>{throw new Error("Invalid operation")}};let r=i-1;return{hasNext:()=>r(r+=1,this._items[r])}}minMaxOnRangeCached(e,t,i){if(this.isEmpty())return null;let s=null;for(const r of i){s=d(s,this._minMaxOnRangeCachedImpl(e-r.offset,t-r.offset,r.name))}return s}minMaxOnRange(e,t,i){if(this.isEmpty())return null;let s=null;for(const r of i){s=d(s,this._minMaxOnRange(e-r.offset,t-r.offset,r.name))}return s}merge(e){return this._shareRead?(o.logDebug("merge: readonly collection modification attempt"),null):0===e.length?null:this.isEmpty()||e[e.length-1].indexthis._items[this._items.length-1].index?this._append(e):1===e.length&&e[0].index===this._items[this._items.length-1].index?(this._updateLast(e[0]),e[0]):this._merge(e)}addTail(e,t=!1){let i=0;t&&this._end-this._start>0&&(i=1,this._items[this._end-this._start-1].value=e[0].value);for(let t=i;tvoid 0!==e).sort((e,t)=>e.index-t.index),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._start=0,this._end=this._items.length}remove(e){if(this._shareRead)return o.logDebug("remove: readonly collection modification attempt"),null;const t=this._nonCachedSearch(e,a.NearestRight,l);if(null===t)return null;const i=this._items.splice(t);return this._end=this._items.length,this._minMaxCache.clear(),this._invalidateSearchCaches(),i.length>0?i[0]:null}state(){return{start:this._start,end:this._end,data:this._items,shareread:this._shareRead}}restoreState(e){e?(this._start=e.start,this._end=e.end,this._shareRead=e.shareread,this._items=e.data,this._minMaxCache.clear(),this._invalidateSearchCaches()):this.clear()}_indexAt(e){return this._items[e].index}_valueAt(e){return this._items[e].value}_length(){return this._items.length}_searchImpl(e,t,i,s,r,n){const o=void 0!==n?i:s,a=void 0!==n?1e4*(t+1)+n:t;let l=o.get(e);if(void 0!==l){const e=l.get(a);if(void 0!==e)return e}const c=this._nonCachedSearch(e,t,r,n);if(null===c)return null;const h={index:this._indexAt(c),value:this._valueAt(c)};return void 0===l&&(l=new Map,o.set(e,l)),l.set(a,h),h}_nonCachedSearch(e,t,i,s){const r=this._lowerbound(e,i),n=r===this._end||e!==i(this._items[r]);if(n&&t!==a.Exact)switch(t){case a.NearestLeft:return this._searchNearestLeft(r,s);case a.NearestRight:return this._searchNearestRight(r,s);default:throw new TypeError("Unknown search mode")}if(void 0===s||n||t===a.Exact)return n?null:r;switch(t){case a.NearestLeft:return this._nonEmptyNearestLeft(r,s);case a.NearestRight:return this._nonEmptyNearestRight(r,s);default:throw new TypeError("Unknown search mode")}}_nonEmptyNearestRight(e,t){const i=(0,s.ensure)(this._emptyValuePredicate),r=(0,s.ensure)(t);for(;e=this._start&&i(this._valueAt(e),r);)e-=1;return et(e)t.index>e,this._start,this._end)} +_plotMinMax(e,t,i){let s=null;const r=this._plotFunctions.get(i);if(void 0===r)throw new Error(`Plot "${i}" is not registered`);for(let i=e;is.max&&(s.max=e)))}return s}_invalidateCacheForRow(e){const t=Math.floor(e.index/30);this._minMaxCache.forEach(e=>e.delete(t))}_prepend(e){return(0,s.assert)(!this._shareRead,"collection should not be readonly"),(0,s.assert)(0!==e.length,"plotRows should not be empty"),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._items=e.concat(this._items),this._start=0,this._end=this._items.length,e[0]}_append(e){return(0,s.assert)(!this._shareRead,"collection should not be readonly"),(0,s.assert)(0!==e.length,"plotRows should not be empty"),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._items=this._items.concat(e),this._start=0,this._end=this._items.length,e[0]}_updateLast(e){(0,s.assert)(!this.isEmpty(),"plot list should not be empty");const t=this._items[this._end-1];(0,s.assert)(t.index===e.index,"last row index should match new row index"),this._invalidateCacheForRow(e),this._invalidateSearchCaches(),this._items[this._end-1]=e}_merge(e){return(0,s.assert)(0!==e.length,"plot rows should not be empty"),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._items=u(this._items,e),this._start=0,this._end=this._items.length,e[0]}_minMaxOnRangeCachedImpl(e,t,i){if(this.isEmpty())return null;let r=null;const n=(0,s.ensureNotNull)(this.firstIndex()),o=(0,s.ensureNotNull)(this.lastIndex()),a=Math.max(e,n),l=Math.min(t,o),c=30*Math.ceil(a/30),h=Math.max(c,30*Math.floor(l/30));r=d(r,this._minMaxOnRange(a,Math.min(c,t,l),i));let u=this._minMaxCache.get(i);void 0===u&&(u=new Map,this._minMaxCache.set(i,u));for(let e=Math.max(c+1,a);et[o].index?o++:(n++,o++,r--);return r}(e,t),s=new Array(i);let r=0,n=0;const o=e.length,a=t.length;let l=0;for(;rt[n].index?(s[l]=t[n],n++):(s[l]=t[n],r++,n++),l++;for(;r{"use strict";i.d(t,{PriceAxisView:()=>p});var s=i(86441),r=i(34026),n=i(71413),o=i(68906),a=i(62820),l=i(93435),c=i(84346),h=i(42759),d=i(56589);class u{constructor(e,t){this.setData(e,t)}setData(e,t){ +this._data=e,this._commonData=t}draw(e,t,i,s,r,n,c){var d,u,p;const _=this._data;if(!_.visible||this._isOutOfScreen(t,r))return;const m=this._commonData,g=void 0!==_.labelIcon,f=_.ignoreOffset?0:t.offsetSize,v=t.borderSize,S=t.paddingTop+m.additionalPaddingTop,y=t.paddingBottom+m.additionalPaddingBottom,b=t.paddingInner,w=t.paddingOuter,C=t.fontSize;let P=_.text,T=_.textColor||m.textColor,x=_.secondLine||"",I=m.secondLineTextColor||T,M=_.thirdLine||"";const L=m.thirdLineTextColor||T;0===x.length&&(x=M,I=L,M=""),0===P.length&&(P=x,T=I,x=M,I=L,M=""),e.save(),e.font=t.font;const A=i.yMidCorrection(e,P)*c,E=Math.ceil(i.measureText(e,P)),k=C+S+y,D=Boolean(x),V=Boolean(M),B=D?Math.ceil(i.measureText(e,x)):0,N=V?Math.ceil(i.measureText(e,M)):0,R=v+b+w+E+f,O=B>0?v+b+w+B+f:0,F=N>0?v+b+w+N+f:0,W=Math.max(R,O,F),H=Math.max(1,Math.floor(c));let z=Math.round(k*c);z%2!=H%2&&(z+=1);const U=Math.round((C+t.lineSpacing)*c),j=Math.round(2*(C+t.lineSpacing)*c),G=Math.max(1,Math.floor(v*c)),q=_.separatorVisible?G:0,Y=_.borderVisible?G:0,K=g?z:Math.round(W*c),$=Math.round(f*c),X=Math.ceil(s*c),Z=Math.ceil(b*c),J=Math.round((null!==(d=m.fixedCoordinate)&&void 0!==d?d:m.coordinate)*c)-Math.floor(.5*c),Q=Math.floor(J+H/2-z/2),ee=Q+z,te="right"===n,ie=te?X-q:q,se=X;let re,ne=ie;const oe=(0,o.resetTransparency)(null!==(u=_.backgroung)&&void 0!==u?u:m.background);e.fillStyle=oe;const ae=2*c;if(e.textAlign=te?"right":"left",e.textBaseline="middle",te?(ne=ie-K,re=ie-$-Z-1):(ne=ie+K,re=ie+$+Z),P||g){const i=V?z+j:D?z+U:z;if(((t,s,r)=>{te?(0,h.drawRoundRectWithInnerBorder)(e,ne,Q,K,i,t,[ae,0,0,ae],Y,s,r):(0,h.drawRoundRectWithInnerBorder)(e,ie,Q,K,i,t,[0,ae,ae,0],Y,s,r)})(oe,null!==(p=m.borderColor)&&void 0!==p?p:oe,m.borderStyle),_.separatorVisible&&(e.fillStyle=t.paneBackgroundColor,e.fillRect(te?se-q:0,Q,q,ee-Q)),g){switch(_.labelIcon){case 0:this._drawPlusIcon(e,ie,ne,Q,J,ee,H);break;case 1:this._drawClockIcon(e,ie,ne,J,H,c)}return void e.restore()}e.save(),e.translate(re,(Q+ee)/2+A),(0,l.drawScaled)(e,c,()=>{e.fillStyle=T,e.fillText(P,0,0)}),e.restore()}D&&(e.fillStyle=I,e.save(),e.translate(re,(Q+ee)/2+A+U),(0,l.drawScaled)(e,c,()=>{e.fillText((0,a.startWithLTR)(x),0,0)}),e.restore()),V&&(e.fillStyle=L,e.save(),e.translate(re,(Q+ee)/2+A+j),(0,l.drawScaled)(e,c,()=>{e.fillText((0,a.startWithLTR)(M),0,0)}),e.restore()),e.restore()}height(e){const t=this._lines();return this._data.visible&&0!==t?t*e.fontSize+(t-1)*e.lineSpacing+e.paddingTop+this._commonData.additionalPaddingTop+e.paddingBottom+this._commonData.additionalPaddingBottom:0}hitTest(e){const t=this._data.hitTestData;if(void 0===t||!this._data.visible)return null;const i=(0,n.lastMouseOrTouchEventInfo)().isTouch?10:0,o=(0,s.box)(new s.Point(t.xl-i,t.y-i),new s.Point(t.xl+t.containerWidth+i,t.y+t.containerHeight+i)),a=t.left&&(0,r.pointInBox)(e,o),l=(0,s.box)(new s.Point(t.xr-i,t.y-i),new s.Point(t.xr+t.containerWidth+i,t.y+t.containerHeight+i)),h=t.right&&(0,r.pointInBox)(e,l);if(a||h){const i=a?"left":"right";return new c.HitTestResult(c.HitTestResult.CUSTOM,{ +cursorType:d.PaneCursorType.Default,clickHandler:void 0===t.clickHandler?void 0:t.clickHandler.bind(this,e,i),tapHandler:void 0===t.clickHandler?void 0:t.clickHandler.bind(this,e,i),tooltip:t.tooltip})}return null}_drawPlusIcon(e,t,i,s,r,n,o){e.fillStyle=this._commonData.textColor,e.strokeStyle=this._commonData.textColor,e.lineWidth=o;const a=Math.abs(t-i);let l=Math.round(.35*a);l%2!=o%2&&(l+=1);let c=Math.round(.65*a);c%2!=o%2&&(c+=1);const h=Math.floor((a-l)/2),d=Math.min(t,i),u=d+Math.floor(a/2-o/2);e.fillRect(d+h,r,l,o),e.fillRect(u,s+h,o,l),e.beginPath(),e.arc(u+o/2,r+o/2,c/2,0,2*Math.PI,!1),e.stroke()}_drawClockIcon(e,t,i,s,r,n){e.fillStyle=this._commonData.textColor,e.lineWidth=r;const o=Math.abs(t-i);let a=Math.round(.35*o);a%2!=r%2&&(a+=1);let l=Math.round(.65*o);l%2!=r%2&&(l+=1);const c=Math.min(t,i)+Math.floor(o/2-r/2);e.save(),e.translate(c+r/2-l/2,s+r/2-l/2),e.scale(n,n);const h=new Path2D("M7.5 0.8a1 1 0 0 0 0 13.4 1 1 0 0 0 0-13.4zm0 1a1 1 0 0 1 0 11 1 1 0 0 1 0-11zm-.97-.25A3.5 3.5 0 0 0 3.5 0 3.5 3.5 0 0 0 0 3.5a3.5 3.5 0 0 0 1.75 3.03l.5-.86A2.5 2.5 0 0 1 1 3.5 2.5 2.5 0 0 1 3.5 1a2.5 2.5 0 0 1 2.17 1.25zm6.72 4.78A3.5 3.5 0 0 0 15 3.5 3.5 3.5 0 0 0 11.5 0a3.5 3.5 0 0 0-3.03 1.75l.86.5A2.5 2.5 0 0 1 11.5 1 2.5 2.5 0 0 1 14 3.5a2.5 2.5 0 0 1-1.25 2.17zM7 5h1v5H7zm3 2v1H5V7z");e.fill(h),e.restore()}_lines(){const e=this._data;return(e.text?1:0)+(e.secondLine?1:0)+(e.thirdLine?1:0)}_isOutOfScreen(e,t){var i;const s=this._commonData,r=null!==(i=s.fixedCoordinate)&&void 0!==i?i:s.coordinate,n=this.height(e),o=n/this._lines();return r-o/2-3>t||r+(n-o/2)+3<0}}class p{constructor(e){this._commonRendererData={coordinate:0,textColor:"#FFF",background:"#000",additionalPaddingBottom:0,additionalPaddingTop:0},this._axisRendererData={text:"",visible:!1,separatorVisible:!1,borderVisible:!1,ignoreOffset:!1},this._paneRendererData={text:"",visible:!1,separatorVisible:!0,borderVisible:!1,ignoreOffset:!0},this._invalidated=!0,this._axisRenderer=new(e||u)(this._axisRendererData,this._commonRendererData),this._paneRenderer=new(e||u)(this._paneRendererData,this._commonRendererData)}text(){return this._updateRendererDataIfNeeded(),this._axisRendererData.text}secondLineText(){return this._updateRendererDataIfNeeded(),this._axisRendererData.secondLine}thirdLineText(){return this._updateRendererDataIfNeeded(),this._axisRendererData.thirdLine}background(){return this._updateRendererDataIfNeeded(),this._commonRendererData.background}color(){return this._updateRendererDataIfNeeded(),this.generateTextColor(this.background())}generateTextColor(e){return(0,o.colorFromBackground)(e)}coordinate(){return this._updateRendererDataIfNeeded(),this._commonRendererData.coordinate}floatCoordinate(){var e;return this._updateRendererDataIfNeeded(),null!==(e=this._commonRendererData.floatCoordinate)&&void 0!==e?e:this._commonRendererData.coordinate}update(e){this._invalidated=!0}height(e){return this._updateRendererDataIfNeeded(),Math.max(this._axisRenderer.height(e),this._paneRenderer.height(e))}getFixedCoordinate(){ +return this._commonRendererData.fixedCoordinate||0}setFixedCoordinate(e){this._commonRendererData.fixedCoordinate=e}isVisible(){return this._updateRendererDataIfNeeded(),this._axisRendererData.visible||this._paneRendererData.visible}isAxisLabelVisible(){return this._updateRendererDataIfNeeded(),this._axisRendererData.visible}isPaneLabelVisible(){return this._updateRendererDataIfNeeded(),this._paneRendererData.visible}renderer(){return this._updateRendererDataIfNeeded(),this._axisRenderer}paneRenderer(){return this._updateRendererDataIfNeeded(),this._paneRenderer}setPaneRendererLabelIcon(e){this._paneRendererData.labelIcon=e}setPaneLabelVisible(e){this._paneRendererData.visible=e,this._invalidated=!0}ignoreAlignment(){return!1}_updateRendererDataIfNeeded(){this._invalidated&&(this._commonRendererData.fixedCoordinate=void 0,this._updateRendererData(this._axisRendererData,this._paneRendererData,this._commonRendererData),this._invalidated=!1)}}},22932:(e,t,i)=>{"use strict";i.d(t,{isPriceDataSource:()=>a,PriceDataSource:()=>l});var s=i(62443),r=i(2872),n=i.n(r),o=i(79680);function a(e){return e instanceof l}class l extends s.DataSource{constructor(e,t){super(t),this._formatterChanged=new(n()),this._priceStepChanged=new(n()),this._currencyChanged=new(n()),this._unitChanged=new(n()),this._priceRangeReadyChanged=new(n()),this._priceStep=null,this._priceRangeReady=!0,this._model=e}barColorer(){return null}base(){return 0}model(){return this._model}currencyChanged(){return this._currencyChanged}isCurrencySource(){return!0}unitChanged(){return this._unitChanged}isUnitSource(){return!0}priceRange(e,t){return null}isDraggable(){return!0}priceLineColor(e){return e}formatterChanged(){return this._formatterChanged}priceStep(e){return this._priceStep}priceStepChanged(){return this._priceStepChanged}isIncludedInAutoScale(){return!0}correctScaleMargins(e){return e}priceRangeReady(){return this._priceRangeReady}priceRangeReadyChanged(){return this._priceRangeReadyChanged}disablePriceRangeReady(){const e=this.priceScale();null===e||e.isAutoScale()||e.mainSource()!==this||(this._priceRangeReady=!1,e.recalculatePriceRangeOnce()),this._priceRangeReadyChanged.fire(!1)}statusView(){return null}legendView(){return null}marketStatusModel(){return null}dataUpdatedModeModel(){return null}dataProblemModel(){return null}_enablePriceRangeReady(){this._priceRangeReady=!0,this._priceRangeReadyChanged.fire(!0)}_onSourceCurrencyChanged(){(0,o.isActingAsSymbolSource)(this)||this._currencyChanged.fire()}_onSourceUnitChanged(){(0,o.isActingAsSymbolSource)(this)||this._unitChanged.fire()}_onSourcePriceRangeReadyChanged(e){(0,o.isActingAsSymbolSource)(this)||e||this.disablePriceRangeReady()}}},55057:(e,t,i)=>{"use strict";i.d(t,{PriceLineAxisView:()=>c,SeriesPriceLineAxisView:()=>h,StudyPriceLineAxisView:()=>d});var s=i(97938),r=i(88537),n=i(29892),o=i(43891),a=i(42759);class l{constructor(e,t){this.setData(e,t)}setData(e,t){this._data=e,this._commonData=t}draw(e,t,i,s,l,c,h){var d;if(!this._data.visible)return +;const u=null!==(d=this._commonData.fixedCoordinate)&&void 0!==d?d:this._commonData.coordinate;e.lineWidth=Math.max(1,Math.floor((0,r.ensureDefined)(this._data.linewidth)*h)),e.lineCap="butt",(0,n.setLineStyle)(e,void 0===this._data.linestyle?o.LINESTYLE_DOTTED:this._data.linestyle),e.strokeStyle=this._commonData.textColor,(0,a.drawHorizontalLine)(e,Math.round(u*h),0,Math.ceil(s*h))}height(e){return 0}}class c extends s.PriceAxisView{constructor(e){super(e||l)}ignoreAlignment(){return!0}_updateRendererData(e,t,i){if(t.visible=!1,e.visible=!1,!this._isVisible())return;const s=this._value();s.noData||(i.background="",i.textColor=this._priceLineColor(s.color),i.coordinate=s.coordinate,i.floatCoordinate=s.floatCoordinate,e.linewidth=this._lineWidth(),e.linestyle=this._lineStyle(),e.backgroundAreaVisible=this._backgroundAreaVisible(),e.backgroundAreaColor=this._backgroundAreaColor(),e.backgroundAreaHeight=this._backgroundAreaHeight(),e.visible=!0)}_lineStyle(){return o.LINESTYLE_DOTTED}_backgroundAreaVisible(){return!1}_backgroundAreaColor(){return""}_backgroundAreaHeight(){return 0}}class h extends c{constructor(e){super(),this._series=e}_value(){return this._series.lastValueData(void 0,!0)}_priceLineColor(e){return this._series.priceLineColor(e)}_lineWidth(){return this._series.properties().childs().priceLineWidth.value()}_isVisible(){const e=this._series.model().properties().childs().scalesProperties.childs().showSeriesLastValue.value();return this._series.properties().childs().showPriceLine.value()&&e}}class d extends c{constructor(e,t){super(),this._study=e,this._plotname=t}_value(){return this._study.lastValueData(this._plotname,!0)}_lineWidth(){return this._study.properties().styles[this._plotname].linewidth.value()}_lineStyle(){return o.LINESTYLE_DOTTED}_priceLineColor(e){return e}_isVisible(){const e=this._study.model().properties().childs().scalesProperties.childs().showStudyLastValue.value();return this._study.properties().styles[this._plotname].trackPrice.value()&&e}}},27402:(e,t,i)=>{"use strict";i.d(t,{PriceScaleBase:()=>L});var s=i(88537),r=i(80643),n=i(2872),o=i.n(n),a=i(55257),l=i(69927),c=i(74477),h=i(56972),d=i(22932),u=i(2015),p=i.n(u),_=i(81851),m=i(79680),g=i(37667),f=i(79222),v=i(59555),S=i(64514);class y{constructor(e,t){if(this._base=e,this._integralDividers=t,(0,S.isBaseDecimal)(this._base))this._fractionalDividers=[2,2.5,2];else{this._fractionalDividers=[];for(let e=this._base;1!==e;){if(e%2==0)this._fractionalDividers.push(2),e/=2;else{if(e%5!=0)throw new Error("unexpected base");this._fractionalDividers.push(2),this._fractionalDividers.push(2.5),e/=5}if(this._fractionalDividers.length>100)throw new Error("something wrong with base")}}}tickSpan(e,t,i){const s=0===this._base?0:1/this._base;let r=Math.pow(10,Math.max(0,Math.ceil((0,S.log10)(e-t)))),n=0,o=this._integralDividers[0];for(;;){const e=(0,S.greaterOrEqual)(r,s,1e-14)&&r>s+1e-14,t=(0,S.greaterOrEqual)(r,i*o,1e-14),a=(0,S.greaterOrEqual)(r,1,1e-14);if(!(e&&t&&a))break;r/=o,o=this._integralDividers[++n%this._integralDividers.length]} +if(r<=s+1e-14&&(r=s),r=Math.max(1,r),this._fractionalDividers.length>0&&(0,S.equal)(r,1,1e-14))for(n=0,o=this._fractionalDividers[0];(0,S.greaterOrEqual)(r,i*o,1e-14)&&r>s+1e-14;)r/=o,o=this._fractionalDividers[++n%this._fractionalDividers.length];return r}}class b{constructor(e,t,i,s){this._marks=null,this._priceScale=e,this._base=t,this._coordinateToLogicalFunc=i,this._logicalToCoordinateFunc=s}base(){return this._base}setBase(e){if(e<0)throw new Error("base < 0");this._base=e}tickSpan(e,t,i=0){if(ei&&(l=c);const h=o.tickSpan(e,t,r);h>i&&(l=Math.min(l,h));const d=a.tickSpan(e,t,r);return d>i&&(l=Math.min(l,d)),l>0?l:e-t}rebuildTickMarks(){this._marks=null}marks(){return null===this._marks&&(this._marks=this._rebuildTickMarksImpl()),this._marks}_fontHeight(){return this._priceScale.fontSize()}_tickMarkHeight(){return Math.ceil(2.5*this._fontHeight())}_rebuildTickMarksImpl(){const e=this._priceScale,t=[],i=e.mainSource();if(e.isEmpty()||null===i)return t;let s=i.firstValue();null===s&&(s=0);const r=e.height(),n=this._coordinateToLogicalFunc(r-1,s),o=this._coordinateToLogicalFunc(0,s),a=Math.max(n,o),l=Math.min(n,o);if(a===l)return t;let c=this.tickSpan(a,l),h=a%c;h+=h<0?c:0;const d=a>=l?1:-1;let u=null;const p=e.formatter();let _=NaN;for(let i=a-h;i>l;i-=c){i===_&&(c=this.tickSpan(a,l,c)),_=i;const r=this._logicalToCoordinateFunc(i,s);null!==u&&Math.abs(r-u)t!==e&&(0,d.isPriceDataSource)(t)&&!((0,_.isStudy)(t)&&t.isLinkedToSeries()))}updateAllViews(e){const t=this._getSourcesToUpdateViews();for(const i of t)i.updateAllViews(e)}logFormula(){return this._logFormula}state(){var e;const t=this._properties.childs();return{id:this._id,m_priceRange:(null===(e=this.priceRange())||void 0===e?void 0:e.serialize())||null,m_isAutoScale:this.isAutoScale(),m_isPercentage:t.percentage.value(),m_isIndexedTo100:t.indexedTo100.value(),m_isLog:t.log.value(),m_isLockScale:this.isLockScale(),m_isInverted:this.isInverted(),m_height:this.m_height,m_topMargin:this._margins.top,m_bottomMargin:this._margins.bottom,alignLabels:t.alignLabels.value(),logFormula:(0,r.clone)(this._logFormula)}}restoreState(e){let t=e.m_priceRange;if(void 0===t)throw new TypeError("invalid state");if(void 0===e.m_isAutoScale)throw new TypeError("invalid state");void 0!==e.id&&(this._id=e.id);const i={autoScale:e.m_isAutoScale} +;void 0!==e.m_isPercentage&&(i.percentage=e.m_isPercentage),void 0!==e.m_isIndexedTo100&&(i.indexedTo100=e.m_isIndexedTo100),void 0!==e.m_isLog&&(i.log=e.m_isLog),void 0!==e.m_isLockScale&&(i.lockScale=e.m_isLockScale),void 0!==e.m_isInverted&&this._properties.childs().isInverted.setValue(e.m_isInverted),void 0!==e.m_height&&this.setHeight(Math.max(0,e.m_height)),this.setMode(i),t?(t instanceof l.PriceRange||(t=new l.PriceRange(t)),this.setPriceRange(t,!0)):this.m_priceRange=null,e.logFormula&&(this._logFormula=e.logFormula),void 0!==e.m_topMargin&&(this._margins.top=e.m_topMargin),void 0!==e.m_bottomMargin&&(this._margins.bottom=e.m_bottomMargin),void 0!==e.alignLabels&&this._properties.childs().alignLabels.setValue(e.alignLabels),this._mainSource=null,this._scaleSeriesOnly=!1}priceToLogical(e){return this.isLog()&&e?(0,c.toLog)(e,this._logFormula):e}logicalToPrice(e){return this.isLog()?(0,c.fromLog)(e,this._logFormula):e}priceToCoordinate(e,t){const i=this._priceToPercentOrIndexedTo100IfNeeded(e,t);return this._logicalToCoordinate(i)}coordinateToPrice(e,t){let i=this._coordinateToLogical(e);return this.isPercentage()?i=(0,c.fromPercent)(i,t):this.isIndexedTo100()&&(i=(0,c.fromIndexedTo100)(i,t)),i}mainSource(){if(null!==this._mainSource)return this._mainSource;let e;for(const t of this.m_dataSources){if(t instanceof h.Series){e=t;break}!e&&(0,d.isPriceDataSource)(t)&&(e=t)}return this._mainSource=e||null,this._correctedMarginsCache=null,this._mainSource}pricesArrayToCoordinates(e,t,i){this._makeSureItIsValid();const r=this.bottomPixelMargin(),n=(0,s.ensureNotNull)(this.priceRange()),o=n.minValue(),a=n.maxValue(),l=this.internalHeight()-1,h=this.isInverted(),d=l/(a-o);void 0===i&&(i=e.length);const u=this.isPercentage(),p=this.isIndexedTo100(),_=this.isLog(),m=this.m_height;let g,f;for(let s=0;se?(0,c.toLog)(e,this._logFormula):e),0===r.length)return +;const d="open"in r[0],u="close"in r[0];if(null!==h)for(let e=0;ethis._currencyCache=null),e.unitChanged().subscribe(this,()=>this._unitCache=null),(0,m.isSymbolSource)(e)&&(this._seriesLikeSources.push(e),e.symbolResolved().subscribe(this,()=>{this._currencyCache=null,this._unitCache=null}),e.isActingAsSymbolSource().subscribe(this._boundOnSourceIsActingAsSymbolSourceChanged),e instanceof h.Series))){const t=e.properties();this._hasSeries||(t.childs().lockScale&&(this.setMode({lockScale:t.childs().lockScale.value()}),t.removeProperty("lockScale")),t.childs().pnfStyle.child("lockScale")&&t.childs().pnfStyle.removeProperty("lockScale")),this._hasSeries=!0}e.properties().visible.listeners().subscribe(this,this._dropScaleCache),(0,_.isStudy)(e)&&(e.onIsActualIntervalChange().subscribe(this,this._dropScaleCache),e.onHibernationStateChange().subscribe(this,this._dropScaleCache),0===this._studiesCount&&(0, +C.hideAllIndicators)().subscribe(this,this._dropScaleCache),this._studiesCount++),(0,w.isLineTool)(e)&&(0===this._drawingCount&&(0,C.hideAllDrawings)().subscribe(this,this._dropScaleCache),this._drawingCount++),this.m_dataSources.push(e),this._mainSource=null,this._correctedMarginsCache=null,this._sourcesToUpdateViews=null,this._dropScaleCache(),this.updateFormatter(),this._initScaleProperties(),this.invalidateSourcesCache()}}removeDataSource(e){const t=this.m_dataSources.indexOf(e);if((0,s.assert)(-1!==t,"Source is not attached to scale"),e.properties().visible.listeners().unsubscribe(this,this._dropScaleCache),this.m_dataSources.splice(t,1),(0,d.isPriceDataSource)(e)){const t=this._priceDataSources.indexOf(e);if((0,s.assert)(-1!==t,"Source is not found"),this._priceDataSources.splice(t,1),(0,m.isSymbolSource)(e)){const t=this._seriesLikeSources.indexOf(e);(0,s.assert)(-1!==t,"Source is not found"),this._seriesLikeSources.splice(t,1),e.symbolResolved().unsubscribeAll(this),e.isActingAsSymbolSource().unsubscribe(this._boundOnSourceIsActingAsSymbolSourceChanged),e instanceof h.Series&&(this._hasSeries=!1)}e.currencyChanged().unsubscribeAll(this),e.unitChanged().unsubscribeAll(this)}this.mainSource()||this.setMode({autoScale:!0}),(0,_.isStudy)(e)&&(e.onIsActualIntervalChange().unsubscribe(this,this._dropScaleCache),e.onHibernationStateChange().unsubscribe(this,this._dropScaleCache),this._studiesCount--,0===this._studiesCount&&(0,C.hideAllIndicators)().unsubscribe(this,this._dropScaleCache)),(0,w.isLineTool)(e)&&(this._drawingCount--,0===this._drawingCount&&(0,C.hideAllDrawings)().unsubscribe(this,this._dropScaleCache)),this._mainSource=null,this._correctedMarginsCache=null,this._sourcesForAutoscale=null,this._sourcesToUpdateViews=null,this.updateFormatter(),this.invalidateSourcesCache(),0===this.m_dataSources.length&&this._lastSourceRemoved.fire(),this._currencyCache=null,this._unitCache=null}currency(e){if(null!==this._currencyCache&&e.size()===this._currencyCache.availableCurrenciesCount)return this._currencyCache.value;let t;const i=new Set,r=new Set,n=new Set,o=new Map;let a,l=0===this._seriesLikeSources.length,c=!0,h=0,d=0;const u=this._seriesLikeSources.filter(m.isActingAsSymbolSource);for(const d of u){if(!d.isVisible())continue;const u=d.symbolInfo();if(null===u){t=null;break}const p=(0,g.symbolOriginalCurrency)(u);if(null===p){t=null;break}o.set(p,(0,s.ensureNotNull)((0,g.symbolOriginalCurrency)(u,!0)));const _=d.currency();if(null===_){t=null;break}o.set(_,(0,s.ensureNotNull)((0,g.symbolCurrency)(u,!0)));const m=(0,g.symbolBaseCurrency)(u);null!==m&&r.add(m),c=c&&p===_,n.add(_),i.add(p),void 0===a?a=_:null!==a&&a!==_&&(a=null),l||e.convertible(_)&&(0,g.symbolCurrencyConvertible)(u)||(l=!0),h+=1}if(null!==t)for(const i of this._priceDataSources){if(u.includes(i))continue;const r=i;if(!r.isCurrencySource()||!r.isVisible())continue;const c=r.currency();if(null===c){t=null;break}n.add(c),d+=1;const h=(0,s.ensureNotNull)(r.symbolSource()),p=r.currencySourceSymbolInfo();if(null===p){t=null;break} +if(l||e.convertible(c)&&(0,g.symbolCurrencyConvertible)(p)||(l=!0),o.set(c,(0,s.ensureNotNull)((0,g.symbolCurrency)(p,!0))),u.includes(h)||(l=!0),void 0===a)a=c;else if(null!==a&&a!==c){a=null;break}}return void 0===t&&(t=0===h&&0===d?null:{readOnly:l,selectedCurrency:a||null,currencies:n,originalCurrencies:i,baseCurrencies:r,symbolSourceCount:h,allCurrenciesAreOriginal:c,displayedValues:o}),this._currencyCache={value:t,availableCurrenciesCount:e.size()},t}unit(e){if(null!==this._unitCache&&e.size()===this._unitCache.availableUnitsCount)return this._unitCache.value;let t;const i=new Set,r=new Set,n=new Map,o=new Map;let l,c=0===this._seriesLikeSources.length?new Set:e.allGroups(),h=!0,d=0,u=0;const p=this._seriesLikeSources.filter(m.isActingAsSymbolSource);for(const s of p){if(!s.isVisible())continue;const u=s.symbolInfo();if(null===u){t=null;break}const p=(0,g.symbolOriginalUnit)(u,s.model().unitConversionEnabled());if(null===p){t=null;break}n.set(p,e.name(p)),o.set(p,e.description(p));const _=s.unit();if(null===_){t=null;break}if(n.set(_,e.name(_)),o.set(_,e.description(_)),h=h&&p===_,r.add(_),i.add(p),void 0===l?l=_:null!==l&&l!==_&&(l=null),c.size>0){const t=(0,f.unitConvertibleGroups)(u,_,e);c=(0,a.intersect)(c,new Set(t))}d+=1}if(null!==t)for(const i of this._priceDataSources){if(p.includes(i))continue;const h=i;if(!h.isUnitSource()||!h.isVisible())continue;const d=h.unit();if(null===d){t=null;break}r.add(d),u+=1;const _=(0,s.ensureNotNull)(h.symbolSource()),m=_.symbolInfo();if(null===m){t=null;break}if(c.size>0){const t=(0,f.unitConvertibleGroups)(m,d,e);c=(0,a.intersect)(c,new Set(t))}if(n.set(d,e.name(d)),o.set(d,e.description(d)),p.includes(_)||(c=new Set),void 0===l)l=d;else if(null!==l&&l!==d){l=null;break}}if(void 0===t)if(0===d&&0===u)t=null;else{t={availableGroups:c,selectedUnit:l||null,units:r,originalUnits:i,symbolSourceCount:d,allUnitsAreOriginal:h,names:n,descriptions:o}}return this._unitCache={value:t,availableUnitsCount:e.size()},t}setMargins(e){if(!(0,r.isNumber)(e.top)||!(0,r.isNumber)(e.bottom))throw new TypeError("invalid margin");if(e.top<0||e.top>30||e.bottom<0||e.bottom>30)throw new RangeError("invalid margin");this._margins.top===e.top&&this._margins.bottom===e.bottom||(this._margins=e,this._correctedMarginsCache=null,this._invalidateInternalHeightCache(),this._marksCache=null)}topMargin(){return this._correctedMargins().top}bottomMargin(){return this._correctedMargins().bottom}invalidateMargins(){this._correctedMarginsCache=null}topPixelMargin(){return this.isInverted()?this.bottomMargin()*this.height()+this._bottomPixelMargin:this.topMargin()*this.height()+this._topPixelMargin}bottomPixelMargin(){return this.isInverted()?this.topMargin()*this.height()+this._topPixelMargin:this.bottomMargin()*this.height()+this._bottomPixelMargin}marks(){return this._makeSureItIsValid(),null===this._marksCache&&(this._markBuilder.rebuildTickMarks(),this._marksCache=this._markBuilder.marks(),this._onMarksChanged.fire()),this._marksCache}onMarksChanged(){return this._onMarksChanged}priceRangeInPrice(){ +if(this.isEmpty())return null;const e=this.mainSource();if(null===e)return null;const t=(0,s.ensureNotNull)(e.firstValue()),i=this.height();return{from:this.coordinateToPrice(i-1,t),to:this.coordinateToPrice(0,t)}}setPriceRangeInPrice(e){if(this.isPercentage()||this.isIndexedTo100())return;const t=this.isInverted(),i=t?this.bottomMargin():this.topMargin(),s=t?this.topMargin():this.bottomMargin(),r=this.isLog();let n=r?(0,c.toLog)(e.from,this._logFormula):e.from,o=r?(0,c.toLog)(e.to,this._logFormula):e.to;const a=o-n;n+=s*a,o-=i*a,this.setMode({autoScale:!1}),this.setPriceRange(new l.PriceRange(n,o)),this._marksCache=null,this._onMarksChanged.fire()}hasMainSeries(){return this._hasSeries}getStudies(){return this.dataSources().filter(_.isStudy)}lastSourceRemoved(){return this._lastSourceRemoved}sourcesForAutoscale(){return this._mainSource&&this._scaleSeriesOnly!==this._scalesProperties.childs().scaleSeriesOnly.value()&&(this._sourcesForAutoscale=null),this._sourcesForAutoscale||(this._sourcesForAutoscale=this._recalculateSourcesForAutoscale()),this._sourcesForAutoscale}recalculatePriceRange(e){this._invalidatedForRange={visibleBars:e,isValid:!1}}internalHeightChanged(){return this._internalHeightChanged}orderedSources(){if(this._cachedOrderedSoruces)return this._cachedOrderedSoruces;let e=this.m_dataSources.slice();return e=(0,v.sortSources)(e),this._cachedOrderedSoruces=e,this._cachedOrderedSoruces}invalidateSourcesCache(){this._cachedOrderedSoruces=null,this._sourcesToUpdateViews=null}startScale(e){var t,i;this.isEmpty()||this.isPercentage()||this.isIndexedTo100()||null!==this._scaleStartPoint||null!==this._priceRangeSnapshot||(this._scaleStartPoint=this.m_height-e,this._priceRangeSnapshot=null!==(i=null===(t=this.priceRange())||void 0===t?void 0:t.clone())&&void 0!==i?i:null)}scaleTo(e){if(this.isPercentage()||this.isIndexedTo100()||null===this._scaleStartPoint)return;this.setMode({autoScale:!1}),(e=this.m_height-e)<0&&(e=0);let t=(this._scaleStartPoint+.2*(this.m_height-1))/(e+.2*(this.m_height-1));const i=(0,s.ensureNotNull)(this._priceRangeSnapshot).clone();t=Math.max(t,.1),i.scaleAroundCenter(t),this.setPriceRange(i)}endScale(){this.isPercentage()||this.isIndexedTo100()||null!==this._scaleStartPoint&&(this._scaleStartPoint=null,this._priceRangeSnapshot=null)}startTwoPointsScale(e,t){if(this.isEmpty()||this.isPercentage()||this.isIndexedTo100()||null!==this._twoPointsScaleStartPosition)return;const i=Math.min(e,t),s=Math.max(e,t);this._twoPointsScaleStartPosition={topLogical:this._coordinateToLogical(i),bottomLogical:this._coordinateToLogical(s)}}twoPointsScale(e,t){if(this.isPercentage()||this.isIndexedTo100()||null===this._twoPointsScaleStartPosition)return;this.setMode({autoScale:!1});const i=Math.min(e,t),s=Math.max(e,t),{topLogical:r,bottomLogical:n}=this._twoPointsScaleStartPosition,o=this.bottomPixelMargin(),a=this.internalHeight()-1,c=(this._invertedCoordinate(i)-o)/a,h=(n-r)/((this._invertedCoordinate(s)-o)/a-c),d=r-h*c,u=d+h +;this.setPriceRange(new l.PriceRange(this.priceToLogical(d),this.priceToLogical(u)))}endTwoPointsScale(){this._twoPointsScaleStartPosition=null}startScroll(e){var t,i;this.isAutoScale()||null===this._scrollStartPoint&&null===this._priceRangeSnapshot&&(this.isEmpty()||(this._scrollStartPoint=e,this._priceRangeSnapshot=null!==(i=null===(t=this.priceRange())||void 0===t?void 0:t.clone())&&void 0!==i?i:null))}scrollTo(e){if(this.isAutoScale())return;if(null===this._scrollStartPoint||null===this._priceRangeSnapshot)return;const t=this.priceRange();if(null===t)return;let i=e-this._scrollStartPoint;this.isInverted()&&(i*=-1);const s=i*(t.length()/(this.internalHeight()-1)),r=this._priceRangeSnapshot.clone();r.shift(s),this.setPriceRange(r,!0),this._marksCache=null}endScroll(){this.isAutoScale()||null!==this._scrollStartPoint&&(this._scrollStartPoint=null,this._priceRangeSnapshot=null)}_recalculateSourcesForAutoscale(){this._mainSource&&(this._scaleSeriesOnly=this._scalesProperties.childs().scaleSeriesOnly.value());const e=this._scaleSeriesOnly&&this._hasSeries;return this.m_dataSources.filter(t=>!!(t.properties().visible.value()||t instanceof h.Series)&&(e?t instanceof h.Series:(0,_.isStudy)(t)?!t.isSourceHidden()&&t.isIncludedInAutoScale():t.isIncludedInAutoScale()))}_updateAutoScaleDisabledProperty(e){const t=this._properties.childs(),i=t.indexedTo100.value()||t.percentage.value()||t.lockScale.value();e?t.autoScaleDisabled.setValueSilently(i):t.autoScaleDisabled.setValue(i)}_setAutoScaleValueWithDependentProperties(e){const t=this._properties.childs();t.autoScale.setValueSilently(e),e&&(t.percentage.setValueSilently(!1),t.indexedTo100.setValueSilently(!1),t.lockScale.setValueSilently(!1),t.logDisabled.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_setLockScaleValueWithDependentProperties(e){const t=this._properties.childs();t.lockScale.setValueSilently(e),e&&(t.autoScale.setValueSilently(!1),t.percentage.setValueSilently(!1),t.indexedTo100.setValueSilently(!1),t.log.setValueSilently(!1)),t.percentageDisabled.setValueSilently(e),t.logDisabled.setValueSilently(e),this._updateAutoScaleDisabledProperty(!0)}_setPercentageValueWithDependentProperties(e){const t=this._properties.childs();t.percentage.setValueSilently(e),e&&(t.autoScale.setValueSilently(!0),t.log.setValueSilently(!1),t.lockScale.setValueSilently(!1),t.indexedTo100.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_setIndexedTo100ValueWithDependentProperties(e){const t=this._properties.childs();t.indexedTo100.setValueSilently(e),e&&(t.autoScale.setValueSilently(!0),t.log.setValueSilently(!1),t.lockScale.setValueSilently(!1),t.percentage.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_setLogValueWithDependentProperties(e){const t=this._properties.childs();t.log.setValueSilently(e),e&&(t.lockScale.setValueSilently(!1),t.percentage.setValueSilently(!1),t.indexedTo100.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_recalculatePriceRangeImpl(){const e=this._invalidatedForRange.visibleBars +;if(null===e)return;let t=null;const i=this.sourcesForAutoscale(),s=this.isPercentage(),r=this.isIndexedTo100();let n=0,o=0;for(const a of i){if(!a.properties().visible.value())continue;const i=a.firstValue();if(null===i||s&&0===i)continue;const l=e.firstBar(),h=e.lastBar(),d=a.autoScaleInfo(l,h);let u=d.range;u&&(s?u=(0,c.toPercentRange)(u,i):r&&(u=(0,c.toIndexedTo100Range)(u,i)),t=null===t?u:t.merge(u)),void 0!==d.topPixelMargin&&(n=Math.max(n,d.topPixelMargin)),void 0!==d.bottomPixelMargin&&(o=Math.max(o,d.bottomPixelMargin))}if((Math.abs(n-this._topPixelMargin)>0||Math.abs(o-this._bottomPixelMargin)>0)&&(this._bottomPixelMargin=o,this._topPixelMargin=n,this._marksCache=null,this._invalidateInternalHeightCache()),t){if(t.minValue()===t.maxValue()&&(t=new l.PriceRange(t.minValue()-.5,t.maxValue()+.5)),this.isLog()){const e=this._convertPriceRangeFromLog(t),i=(0,c.logFormulaForPriceRange)(e);if(!(0,c.logFormulasAreSame)(i,this._logFormula)){const s=this._priceRangeSnapshot?this._convertPriceRangeFromLog(this._priceRangeSnapshot):null;this._logFormula=i,t=this._convertPriceRangeToLog(e),s&&(this._priceRangeSnapshot=this._convertPriceRangeToLog(s))}}this.setPriceRange(t)}else this.m_priceRange||(this.setPriceRange(new l.PriceRange(-.5,.5)),this._logFormula=(0,c.logFormulaForPriceRange)(null));this._invalidatedForRange.isValid=!0;const a=this.mainSource();null!==a&&this._recalculatePriceRangeOnce&&(this._recalculatePriceRangeOnce=!a.priceRangeReady())}_makeSureItIsValid(){this._invalidatedForRange.isValid||(this._invalidatedForRange.isValid=!0,this._recalculatePriceRangeImpl())}_invalidateInternalHeightCache(){this._internalHeightCache=null,this._internalHeightChanged.fire()}_coordinateToLogical(e){if(this._makeSureItIsValid(),this.isEmpty())return 0;const t=this._invertedCoordinate(e),i=(0,s.ensureNotNull)(this.priceRange()),r=i.minValue()+(i.maxValue()-i.minValue())*((t-this.bottomPixelMargin())/(this.internalHeight()-1));return this.logicalToPrice(r)}_logicalToCoordinate(e){if(this._makeSureItIsValid(),this.isEmpty())return 0;e=this.priceToLogical(e);const t=(0,s.ensureNotNull)(this.priceRange()),i=this.bottomPixelMargin()+(this.internalHeight()-1)*(e-t.minValue())/(t.maxValue()-t.minValue());return this._invertedCoordinate(i)}_dropScaleCache(){this._sourcesForAutoscale=null,this._currencyCache=null,this._unitCache=null}_invertedCoordinate(e){return this.isInverted()?e:this.height()-1-e}_initScaleProperties(){const e=this.isLockScale(),t=this.properties().childs();e&&(t.percentage.setValue(!1),t.indexedTo100.setValue(!1),t.log.setValue(!1),t.autoScale.setValue(!1)),t.percentageDisabled.setValue(e),t.logDisabled.setValue(e),this._updateAutoScaleDisabledProperty(!1),t.percentage.value()&&(t.log.setValue(!1),t.indexedTo100.setValue(!1)),t.indexedTo100.value()&&(t.log.setValue(!1),t.percentage.setValue(!1))}_correctedMargins(){if(null===this._correctedMarginsCache){const e=this.mainSource();this._correctedMarginsCache=null!==e?e.correctScaleMargins(this._margins):this._margins}return this._correctedMarginsCache} +_getSourcesToUpdateViews(){return this._sourcesToUpdateViews||(this._sourcesToUpdateViews=this.m_dataSources.filter(e=>!(0,w.isLineTool)(e)||e.isActualSymbol()&&e.isActualCurrency())),this._sourcesToUpdateViews}_mainSourceFormatter(){const e=this.mainSource();return(null==e?void 0:e.formatter())||I}_priceToPercentOrIndexedTo100IfNeeded(e,t){return this.isPercentage()?(0,c.toPercent)(e,t):this.isIndexedTo100()?(0,c.toIndexedTo100)(e,t):e}_onSourceIsActingAsSymbolSourceChanged(){this._dropScaleCache()}}},3825:(e,t,i)=>{"use strict";var s;i.d(t,{PriceAxisLastValueMode:()=>s}),function(e){e[e.LastPriceAndPercentageValue=0]="LastPriceAndPercentageValue",e[e.LastValueAccordingToScale=1]="LastValueAccordingToScale"}(s||(s={}))},74477:(e,t,i)=>{"use strict";i.r(t),i.d(t,{fromPercent:()=>o,toPercent:()=>a,toPercentRange:()=>l,fromIndexedTo100:()=>c,toIndexedTo100:()=>h,toIndexedTo100Range:()=>d,toLog:()=>u,fromLog:()=>p,logFormulaForPriceRange:()=>_,logFormulasAreSame:()=>m,getCurrentModePriceText:()=>g,getOppositeModePriceText:()=>f});var s=i(69927),r=i(64514);const n={logicalOffset:4,coordOffset:1e-4};function o(e,t){return t<0&&(e=-e),e/100*t+t}function a(e,t){const i=100*(e-t)/(t||1);return t<0?-i:i}function l(e,t){const i=a(e.minValue(),t),r=a(e.maxValue(),t);return new s.PriceRange(i,r)}function c(e,t){return t<0&&(e=-e),(e-=100)/100*t+t}function h(e,t){const i=100*(e-t)/t+100;return t<0?-i:i}function d(e,t){const i=h(e.minValue(),t),r=h(e.maxValue(),t);return new s.PriceRange(i,r)}function u(e,t){const i=Math.abs(e);if(i<1e-15)return 0;const s=(0,r.log10)(i+t.coordOffset)+t.logicalOffset;return e<0?-s:s}function p(e,t){const i=Math.abs(e);if(i<1e-15)return 0;const s=Math.pow(10,i-t.logicalOffset)-t.coordOffset;return e<0?-s:s}function _(e){if(null===e)return n;const t=Math.abs(e.maxValue()-e.minValue());if(t>=1||t<1e-15)return n;const i=Math.ceil(Math.abs(Math.log10(t))),s=n.logicalOffset+i;return{logicalOffset:s,coordOffset:1/Math.pow(10,s)}}function m(e,t){return e.logicalOffset===t.logicalOffset&&e.coordOffset===t.coordOffset}function g(e,t){return e.isPercentage()?t.formattedPricePercentage:e.isIndexedTo100()?t.formattedPriceIndexedTo100:t.formattedPriceAbsolute}function f(e,t){return e.isPercentage()||e.isIndexedTo100()?t.formattedPriceAbsolute:t.formattedPricePercentage}},69927:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PriceRange:()=>n});var s=i(80643);const r=(0,i(98125).getLogger)("Chart.PriceRange");class n{constructor(e,t){if(null!==e&&"object"==typeof e){const t=e;this._minValue=t.m_minValue,this._maxValue=t.m_maxValue}else{const i=e;this._minValue=i,void 0!==t&&(this._maxValue=t)}}equals(e){return this._minValue===e._minValue&&this._maxValue===e._maxValue}clone(){return new n(this._minValue,this._maxValue)}minValue(){return this._minValue}setMinValue(e){this._minValue=e}maxValue(){return this._maxValue}setMaxValue(e){this._maxValue=e}length(){return this._maxValue-this._minValue}isEmpty(){return this._maxValue===this._minValue||this._maxValue!=this._maxValue||this._minValue!=this._minValue}serialize(){return{ +m_maxValue:this._maxValue,m_minValue:this._minValue}}state(){return{max:this._maxValue,min:this._minValue}}merge(e){return new n(Math.min(this.minValue(),e.minValue()),Math.max(this.maxValue(),e.maxValue()))}apply(e,t){this._minValue=Math.min(this._minValue,e),this._maxValue=Math.max(this._maxValue,t)}set(e,t){this._minValue=e,this._maxValue=t}scaleAroundCenter(e){if(!(0,s.isNumber)(e))return void r.logDebug("PriceRange.scaleAroundCenter: invalid coeff");if(0===this._maxValue-this._minValue)return;const t=.5*(this._maxValue+this._minValue);let i=this._maxValue-t,n=this._minValue-t;i*=e,n*=e,this._maxValue=t+i,this._minValue=t+n}shift(e){(0,s.isNumber)(e)?(this._maxValue+=e,this._minValue+=e):r.logDebug("PriceRange.shift: invalid coeff")}containsStrictly(e){return e.minValue()>this._minValue&&e.maxValue(){"use strict";var s=i(2872),r=i(27402).PriceScaleBase,n=i(69927).PriceRange,o=i(9423).randomHash,a=i(74477),l=a.fromLog,c=a.toLog;class h extends r{constructor(e,t){super(t),this._scalesProperties=e;var i=this;this._modeChanged=new s,this._properties.isInverted.listeners().subscribe(this,h.prototype._onIsInvertedChanged),this._properties.listeners().subscribe(null,(function(){if(i.mainSource()&&i.mainSource().model()){var e=i.mainSource().model().paneForSource(i.mainSource());i.mainSource().model().updatePane(e)}})),this._scalesProperties.listeners().subscribe(this,(function(){this._marksCache=null})),this.setId(o())}_convertPriceRangeFromLog(e){if(null===e)return null;var t=l(e.minValue(),this._logFormula),i=l(e.maxValue(),this._logFormula);return new n(t,i)}_convertPriceRangeToLog(e){if(null===e)return null;var t=c(e.minValue(),this._logFormula),i=c(e.maxValue(),this._logFormula);return new n(t,i)}_canConvertPriceRangeFromLog(e){if(null===e)return!1;var t=l(e.minValue(),this._logFormula),i=l(e.maxValue(),this._logFormula);return isFinite(t)&&isFinite(i)}mode(){return{autoScale:this._properties.autoScale.value(),lockScale:this._properties.lockScale.value(),percentage:this._properties.percentage.value(),indexedTo100:this._properties.indexedTo100.value(),log:this._properties.log.value()}}setMode(e){var t={},i=this.mode(),s=this._properties.state(),r=null;void 0!==e.autoScale&&e.autoScale!==s.autoScale&&(t.autoScale=e.autoScale,this._setAutoScaleValueWithDependentProperties(e.autoScale)),void 0!==e.lockScale&&e.lockScale!==s.lockScale&&(t.lockScale=e.lockScale,this._setLockScaleValueWithDependentProperties(e.lockScale)),void 0!==e.percentage&&e.percentage!==s.percentage&&(t.percentage=e.percentage,this._setPercentageValueWithDependentProperties(e.percentage),this._invalidatedForRange.isValid=!1),void 0!==e.indexedTo100&&e.indexedTo100!==s.indexedTo100&&(t.indexedTo100=e.indexedTo100,this._setIndexedTo100ValueWithDependentProperties(e.indexedTo100),this._invalidatedForRange.isValid=!1),void 0!==e.log&&e.log!==s.log&&(t.log=e.log,this._setLogValueWithDependentProperties(e.log)), +s.log&&!this._properties.log.value()&&(this._canConvertPriceRangeFromLog(this.m_priceRange)?null!==(r=this._convertPriceRangeFromLog(this.m_priceRange))&&this.setPriceRange(r):this.properties().autoScale.setValue(!0)),!s.log&&this._properties.log.value()&&null!==(r=this._convertPriceRangeToLog(this.m_priceRange))&&this.setPriceRange(r),s.autoScale!==this._properties.autoScale.value()&&this._properties.autoScale.listeners().fire(this._properties.autoScale),s.autoScaleDisabled!==this._properties.autoScaleDisabled.value()&&this._properties.autoScaleDisabled.listeners().fire(this._properties.autoScaleDisabled),s.lockScale!==this._properties.lockScale.value()&&this._properties.lockScale.listeners().fire(this._properties.lockScale),s.percentage!==this._properties.percentage.value()&&(this._properties.percentage.listeners().fire(this._properties.percentage),this.updateFormatter()),s.indexedTo100!==this._properties.indexedTo100.value()&&(this._properties.indexedTo100.listeners().fire(this._properties.indexedTo100),this.updateFormatter()),s.percentageDisabled!==this._properties.percentageDisabled.value()&&this._properties.percentageDisabled.listeners().fire(this._properties.percentageDisabled),s.log!==this._properties.log.value()&&this._properties.log.listeners().fire(this._properties.log),s.logDisabled!==this._properties.logDisabled.value()&&this._properties.logDisabled.listeners().fire(this._properties.logDisabled),void 0===t.log&&void 0===t.percentage&&void 0===t.lockScale&&void 0===t.autoScale&&void 0===t.indexedTo100||this._modeChanged.fire(i,this.mode())}modeChanged(){return this._modeChanged}fontSize(){return this._scalesProperties.fontSize.value()}isEmpty(){return this._makeSureItIsValid(),0===this.m_height||!this.m_priceRange||this.m_priceRange.isEmpty()}_onIsInvertedChanged(){this._marksCache=null,this._markBuilder.rebuildTickMarks()}}t.PriceScale=h},32255:(e,t,i)=>{"use strict";i.d(t,{createPrimitiveProperty:()=>n});var s=i(2015),r=i.n(s);function n(e){return new(r())(e)}},45383:(e,t,i)=>{"use strict";i.d(t,{extractAllPropertiesKeys:()=>v,factoryDefaultsForCurrentTheme:()=>y,ThemedDefaultProperty:()=>w});var s=i(58121),r=i(99094),n=i(16230),o=i(98279),a=i(38651),l=i(88537),c=i(56840),h=i(98619),d=i(45345),u=i(26843),p=i(2015),_=i.n(p),m=i(59803),g=i(2872),f=i.n(g);function v(e){return new Set(Object.keys(e))}function S(e,t){const i={};for(const s of Object.keys(e))t.has(s)&&(i[s]=e[s]);return i}function y(e,t){var i;const r=null!==(i=d.watchedTheme.value())&&void 0!==i?i:u.StdTheme.Light,n=(0,h.deepCopy)(e);return(0,s.default)(n,(0,l.ensureDefined)(t.get(r))),n}function b(e,t){const i=(0,r.default)(e,(e,i,s)=>{if(void 0===t[s])return e;if(!(0,n.default)(i,t[s]))if((0,o.default)(i)&&(0,o.default)(t[s])){const r=b(i,t[s]);void 0!==r&&(e[s]=r)}else e[s]=i;return e},{});return(0,a.default)(i)?void 0:i}class w extends(_()){constructor(e,t,i,r,n){super(function(e,t,i){var r;const n=t(),o=(0,h.deepCopy)(null!==(r=c.getJSON(e,null))&&void 0!==r?r:{});return(0,s.default)(n,o),(0,s.default)(n,null!=i?i:{}),n}(e,t,n)), +this._applyingThemeInProcess=!1,this._restoreFactoryDefaultsEvent=new(f()),this._defaultName=e,this._defaultsSupplier=t,this._notThemedDefaultsKeys=i,this._themedDefaultsKeys=r}restoreFactoryDefaults(){const e=this._defaultsSupplier();this.mergeAndFire(e),this.saveDefaults(),this._restoreFactoryDefaultsEvent.fire()}addExclusion(){}preferences(){const e=new Set([...this._themedDefaultsKeys,...this._notThemedDefaultsKeys]);return S(this.state(),e)}mergePreferences(e){const t=new Set([...this._themedDefaultsKeys,...this._notThemedDefaultsKeys]);this.mergeAndFire(S(e,t))}childChanged(e){super.childChanged(e),this._applyingThemeInProcess||this.saveDefaults()}saveDefaults(){const e=this.state(),t=this._defaultsSupplier();let i=b(S(e,this._notThemedDefaultsKeys),S(t,this._notThemedDefaultsKeys));const r=S(t,this._themedDefaultsKeys),n=S(e,this._themedDefaultsKeys),o=b(n,r);(0,a.default)(o)||(i=null!=i?i:{},(0,s.default)(i,n)),(0,m.saveDefaults)(this._defaultName,i)}}},65576:(e,t,i)=>{"use strict";i.d(t,{convertPropertyToWatchedValue:()=>n});var s=i(52714),r=i.n(s);function n(e){const t=new(r())(e.value());let i=!1;e.subscribe(t,()=>{i||(i=!0,t.setValue(e.value()),i=!1)});const s=()=>{i||(i=!0,e.setValue(t.value()),i=!1)};return t.subscribe(s),t.spawn(()=>{e.unsubscribeAll(t),t.unsubscribe(s)})}},81465:(e,t,i)=>{"use strict";i.d(t,{combineProperty:()=>o,createWVFromGetterAndSubscription:()=>s.createWVFromGetterAndSubscription,createWVFromProperty:()=>r});var s=i(38021);i(3763);function r(e){return(0,s.createWVFromGetterAndSubscription)(()=>e.value(),e)}i(2015);var n=i(32255);function o(e,...t){const i=()=>e(...t.map(e=>e.value())),s=(0,n.createPrimitiveProperty)(i()),r=()=>s.setValue(i()),o={};for(const e of t)e.subscribe(o,r);return s.destroy=()=>{t.forEach(e=>e.unsubscribeAll(o))},s}},38021:(e,t,i)=>{"use strict";i.d(t,{createWVFromGetterAndSubscription:()=>n});var s=i(52714),r=i.n(s);function n(e,t){const i=new(r())(e()),s={};t.subscribe(s,()=>{i.setValue(e())});return i.readonly().spawn(()=>t.unsubscribeAll(s))}},3763:(e,t,i)=>{"use strict";i.d(t,{createWVFromGetterAndSubscriptions:()=>n});var s=i(52714),r=i.n(s);function n(e,t){const i=new(r())(e()),s={};t.forEach(t=>t.subscribe(s,()=>{i.setValue(e())}));return i.readonly().spawn(()=>t.forEach(e=>e.unsubscribeAll(s)))}},2015:(e,t,i)=>{"use strict";var s=i(2872),r=i(80643).isFunction;function n(e){if(this._listeners=new s,this._childs=[],this._muteChildChanges=!1,void 0!==e)if(this.isPrimitiveType(e))this._value=e;else for(var t in e)this.addProperty(t,e[t])}n.prototype.merge=function(e,t){var i=null;if(t)var s=(i=[]).length;if(void 0===e)return i;if(this.isPrimitiveType(e))return t&&this._value!==e&&i.push(this),this._value=e,i;if(Array.isArray(e))for(var r=0;rs&&i.push(this),i}, +n.prototype.mergeAndFire=function(e){var t=this.merge(e,!0);this._muteChildChanges=!0,t.forEach((function(e){e._muteChildChanges=!0})),t.forEach((function(e){e._muteChildChanges=!1,e.listeners().fire(e)})),this._muteChildChanges=!1,t.length>0&&this.listeners().fire(this)},n.prototype.state=function(e){var t=r(this.value)?this.value():void 0;void 0===t&&(t={});for(var i=0;i=0},n.prototype.addChild=function(e,t){this[e]&&this[e].unsubscribe(this,this.childChanged),this[e]=t,-1===this._childs.indexOf(e)&&this._childs.push(e),t.subscribe(this,this.childChanged)},n.prototype.childChanged=function(e,t){this._muteChildChanges||this.listeners().fire(this)},n.prototype.subscribe=function(e,t){this.listeners().subscribe(e,t,!1)},n.prototype.unsubscribe=function(e,t){this.listeners().unsubscribe(e,t)},n.prototype.unsubscribeAll=function(e){this.listeners().unsubscribeAll(e)},n.prototype.childs=function(){return this},e.exports=n},90810:(e,t,i)=>{"use strict";i.d(t,{QuotesProvider:()=>a});var s=i(39138),r=i(2872),n=i.n(r),o=i(9423);class a{constructor(e="full"){this._quotes=null,this._quoteSessionSymbol=null,this._quoteSessionClientId="",this._quotesUpdate=new(n()),this._quoteSymbolChanged=new(n()),this._multiplexerType=e}setQuotesSessionSymbol(e){this._quoteSessionSymbol!==e&&(this._quoteSessionClientId||(this._quoteSessionClientId="series-"+(0,o.guid)()),this._unsubscribeQuoteSession(),e&&this._subscribeQuoteSession(e),this._quoteSymbolChanged.fire())}quotesUpdate(){return this._quotesUpdate}quoteSymbolChanged(){return this._quoteSymbolChanged}quotes(){return this._quotes}destroy(){this._unsubscribeQuoteSession()}_onUpdate(e,t){this._quotes=e&&e.values||null,t&&t.values&&this._quotesUpdate.fire(e,t)} +_subscribeQuoteSession(e){this._quoteSessionSymbol=e,(0,s.getQuoteSessionInstance)(this._multiplexerType).subscribe(this._quoteSessionClientId,this._quoteSessionSymbol,this._onUpdate.bind(this))}_unsubscribeQuoteSession(){this._quoteSessionSymbol&&((0,s.getQuoteSessionInstance)(this._multiplexerType).unsubscribe(this._quoteSessionClientId,this._quoteSessionSymbol),this._quoteSessionSymbol=null,this._quotes=null)}}},64237:(e,t,i)=>{"use strict";i.d(t,{rangesAreEqual:()=>n});var s=i(73383),r=i(29823);function n(e,t){return!!r.Interval.isEqual(e.res,t.res)&&(0,s.areEqualTimeFrames)(e.val,t.val)}},9315:(e,t,i)=>{"use strict";i.r(t),i.d(t,{normalizeIntervalString:()=>_,isAvailable:()=>m,setLastUsedResolution:()=>g,getRangeResolution:()=>f,getTimeBasedResolution:()=>v,getDefaultResolution:()=>S,getResolutionByChartStyle:()=>y,getServerInterval:()=>b,isResolutionMultiplierValid:()=>w,getMaxResolutionValue:()=>P,getResolutionsFromSettings:()=>T,convertResolutionsFromSettings:()=>x,mergeResolutions:()=>I,sortResolutions:()=>M,getCustomResolutions:()=>E,getTranslatedResolution:()=>k,getTranslatedResolutionModel:()=>D,isSecondsEnabled:()=>B,isTicksEnabled:()=>N});var s=i(28353),r=i(29823),n=i(37667),o=i(56840),a=i(82992),l=i(96397),c=i(80643),h=i(67337);const d={[r.ResolutionKind.Ticks]:1,[r.ResolutionKind.Seconds]:60,[r.ResolutionKind.Minutes]:1440,[r.SpecialResolutionKind.Hours]:24,[r.ResolutionKind.Days]:365,[r.ResolutionKind.Weeks]:52,[r.ResolutionKind.Months]:12,[r.ResolutionKind.Range]:1e6,[r.ResolutionKind.Invalid]:NaN},u={[r.ResolutionKind.Ticks]:0,[r.ResolutionKind.Seconds]:1,[r.ResolutionKind.Minutes]:2,[r.SpecialResolutionKind.Hours]:3,[r.ResolutionKind.Days]:4,[r.ResolutionKind.Weeks]:5,[r.ResolutionKind.Months]:6,[r.ResolutionKind.Range]:7,[r.ResolutionKind.Invalid]:8},p={[r.ResolutionKind.Invalid]:"",[r.ResolutionKind.Ticks]:(0,s.t)("T",{context:"interval_short"}),[r.ResolutionKind.Seconds]:(0,s.t)("s",{context:"interval_short"}),[r.ResolutionKind.Minutes]:(0,s.t)("m",{context:"interval_short"}),[r.SpecialResolutionKind.Hours]:(0,s.t)("h",{context:"interval_short"}),[r.ResolutionKind.Days]:(0,s.t)("D",{context:"interval_short"}),[r.ResolutionKind.Weeks]:(0,s.t)("W",{context:"interval_short"}),[r.ResolutionKind.Months]:(0,s.t)("M",{context:"interval_short"}),[r.ResolutionKind.Range]:(0,s.t)("R",{context:"interval_short"})};function _(e){return r.Interval.parse(e).value()}function m(e){const t=r.Interval.parse(e);if(!B()&&t.isSeconds())return!1;if(!N()&&t.isTicks())return!1;const i=t.value(),s=a.linking.supportedResolutions.value();return void 0!==s?void 0!==s.find(e=>_(e)===i):t.isSeconds()?Boolean(a.linking.seconds.value()):t.isTicks()?Boolean(a.linking.ticks.value()):t.isIntraday()?Boolean(a.linking.intraday.value()):t.isDWM()}function g(e){r.Interval.isValid(e)&&(r.Interval.isRange(e)?o.setValue("chart.lastUsedRangeResolution",e):o.setValue("chart.lastUsedTimeBasedResolution",e))}function f(e){const t=o.getValue("chart.lastUsedRangeResolution");if(void 0!==t&&r.Interval.isRange(t))return t;let i="100R" +;for(const t of e){const e=r.Interval.parse(t);if(e.isRange()){const t=e.value();if("100R"===t)return t;i=t}}return i}function v(e){const t=o.getValue("chart.lastUsedTimeBasedResolution");if(void 0!==t&&r.Interval.isTimeBased(t))return t;let i="1D";for(const t of e){const e=r.Interval.parse(t);if(e.isTimeBased()){const t=e.value();if("1D"===t)return t;i=t}}return i}function S(e){return e?"100R":"1D"}function y(e,t,i){const s=n.isRangeStyle(e),o=r.Interval.isRange(t);return!s&&o?v(i):s&&!o?f(i):t}function b(e){return r.Interval.isRange(e)?"1":e}function w(e){const{interval:t,guiResolutionKind:i}=r.Interval.parseExt(e);if(!t.isValid())return!1;return(i===r.SpecialResolutionKind.Hours?t.multiplier()/60:t.multiplier())<=C(i)}function C(e){const t=d[e];return Number.isNaN(t)?1:t}function P(e){return C(r.Interval.parseExt(e).guiResolutionKind)}function T(e){const t=x(o.getJSON(e,[]));return(0,l.uniq)(t.filter(w).map(_))}function x(e){return Array.isArray(e)?e:Object.keys(e).map(r.Interval.normalize).filter(c.notNull)}function I(...e){let t=[].concat(...e);return t=(0,l.uniq)(t.filter(w).map(_)),M(t)}function M(e){return e.sort(A)}function L(e){const t=r.Interval.parse(e),i=t.multiplier()||1;return t.isMinuteHours()?[r.SpecialResolutionKind.Hours,i/60]:[t.kind(),i]}function A(e,t){const[i,s]=L(e),[r,n]=L(t);return i!==r?u[i]-u[r]:s-n}function E(){return[]}function k(e){const{multiplier:t,shortKind:i}=D(e);return`${t}${i}`}function D(e,t){const i=r.Interval.parse(e);let s=i.multiplier(),n=i.kind();if(!i.isValid()){if(t)return null;throw new TypeError("Can't translate invalid interval")}return i.isMinuteHours()&&(s=Math.floor(s/60),n=r.SpecialResolutionKind.Hours),{multiplier:s.toString(),shortKind:V(n),hint:`${s} ${V(n,s)}`,mayOmitMultiplier:i.isDWM()&&1===s,mayOmitShortKind:i.isMinutes()&&!i.isMinuteHours()}}function V(e,t){if(!t)return p[e];switch(e){case r.ResolutionKind.Ticks:return(0,s.t)("tick",{plural:"ticks",count:t});case r.ResolutionKind.Days:return(0,s.t)("day",{plural:"days",count:t});case r.ResolutionKind.Weeks:return(0,s.t)("week",{plural:"weeks",count:t});case r.ResolutionKind.Months:return(0,s.t)("month",{plural:"months",count:t});case r.ResolutionKind.Seconds:return(0,s.t)("second",{plural:"seconds",count:t});case r.ResolutionKind.Minutes:return(0,s.t)("minute",{plural:"minutes",count:t});case r.SpecialResolutionKind.Hours:return(0,s.t)("hour",{plural:"hours",count:t});case r.ResolutionKind.Range:return(0,s.t)("range",{plural:"ranges",count:t});default:return e}}function B(){return h.enabled("seconds_resolution")}function N(){return h.enabled("tick_resolution")}},22423:(e,t,i)=>{"use strict";i.d(t,{scaleRatio:()=>r,priceRangeByScaleRatio:()=>n,barSpacingByScaleRatio:()=>o});var s=i(69927);function r(e,t){if(t.isLog()||e.isEmpty()||t.isEmpty())return null;const i=function(e){if(e.isEmpty())return null;const t=e.priceRange();if(null===t)return null;const i=t.length();return e.internalHeight()/i}(t);if(null===i)return null;return e.getValidBarSpacing()/Math.max(1e-10,i)}function n(e,t,i){ +if(e.isLog()||null===i||e.isEmpty())return null;const r=e.priceRange();if(null===r||r.isEmpty())return null;const n=e.internalHeight()/(t/i),o=r.length();if(n===o)return r;const a=(n-o)/2;return new s.PriceRange(r.minValue()-a,r.maxValue()+a)}function o(e,t){if(e.isLog()||null===t||e.isEmpty())return null;const i=e.priceRange();if(null===i)return null;const s=i.length();return e.internalHeight()/s*t}},74325:(e,t,i)=>{"use strict";i.d(t,{createPriceScaleSelectionStrategy:()=>l,allPriceScaleSelectionStrategyInfo:()=>c});var s=i(88537),r=i(28353),n=i(81851);class o{constructor(e){this._priceScalesLimit=8,this._metaInfo=e}metaInfo(){return this._metaInfo}findSuitableScale(e,t,i,s){if(void 0!==s)return this._tryToGetDesiredPriceScale(e,t,s,i);if((0,n.isStudy)(t)){const s=t.metaInfo();if("Volume"===s.shortId&&e.containsMainSeries())return e.createPriceScaleAtPosition("overlay");const r=t.desiredPriceScalePosition();if(null!==r)return this._tryToGetDesiredPriceScale(e,t,r,i);if(void 0!==i&&((0,n.isStudy)(i)||e.isMainPane())&&s.is_price_study)return this._getPriceScaleTheSameAsForSource(i,e)}let r=!1;if((0,n.isStudy)(t)){const i=t.metaInfo().groupingKey;if(void 0!==i){const t=e.model().findNonOverlayStudyWithGroupingKey(i,e);if(null!==t)return this._getPriceScaleTheSameAsForSource(t.study,t.pane)}r=Boolean(t.metaInfo().is_price_study)}else t===e.model().mainSeries()&&(r=!0);if(r){const t=this._findFirstScaleForPriceStudy(e);if(null!==t)return t}return this.createNewPriceScaleIfPossible(e)}canCreateNewPriceScale(e){return e.leftPriceScales().length+e.rightPriceScales().lengthi&&this._priceScaleIsPrice(e.rightPriceScales()[i],t))return e.rightPriceScales()[i];if(e.leftPriceScales().length>i&&this._priceScaleIsPrice(e.leftPriceScales()[i],t))return e.leftPriceScales()[i]}return null}_targetPriceScaleIndex(e,t){if(e.mainSource()===t.mainSeries())return 0}_tryToGetDesiredPriceScale(e,t,i,r){switch(i){case"left":return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("left"):e.createPriceScaleAtPosition("overlay");case"right":return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("right"):e.createPriceScaleAtPosition("overlay");case"as-series":return void 0!==r?(0,s.ensureNotNull)(r.priceScale()):e.isMainPane()?(0,s.ensureNotNull)((0,s.ensureNotNull)(e.mainDataSource()).priceScale()):this.createNewPriceScaleIfPossible(e);case"overlay":return e.createPriceScaleAtPosition("overlay")}}}const a=[{name:"left",title:(0,r.t)("Stack on the left"),ctor:class extends o{constructor(e){super(e)}apply(e){const t=e.model() +;e.rightPriceScales().slice(0).forEach(i=>e.movePriceScale(i,"left",this._targetPriceScaleIndex(i,t)))}createNewPriceScaleIfPossible(e){return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("left"):e.createPriceScaleAtPosition("overlay")}}},{name:"right",title:(0,r.t)("Stack on the right"),ctor:class extends o{constructor(e){super(e)}apply(e){const t=e.model();e.leftPriceScales().slice(0).forEach(i=>e.movePriceScale(i,"right",this._targetPriceScaleIndex(i,t)))}createNewPriceScaleIfPossible(e){return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("right"):e.createPriceScaleAtPosition("overlay")}}},{name:"auto",title:(0,r.t)("Auto"),ctor:class extends o{constructor(e){super(e)}apply(e){if(e.containsMainSeries()){const t=(0,s.ensureNotNull)((0,s.ensureNotNull)(e.mainDataSource()).priceScale());e.movePriceScale(t,"right",0)}const t=e.model();for(;e.leftPriceScales().length>e.rightPriceScales().length;){const i=e.leftPriceScales()[e.leftPriceScales().length-1];e.movePriceScale(i,"right",this._targetPriceScaleIndex(i,t))}for(;e.rightPriceScales().length-e.leftPriceScales().length>1;){const i=e.rightPriceScales()[e.rightPriceScales().length-1];e.movePriceScale(i,"left",this._targetPriceScaleIndex(i,t))}}createNewPriceScaleIfPossible(e){if(!this.canCreateNewPriceScale(e))return e.createPriceScaleAtPosition("overlay");const t=e.leftPriceScales().lengtht.name===e));return new t.ctor(t)}function c(){return a}},85847:(e,t,i)=>{"use strict";i.d(t,{SelectionIndexes:()=>r});var s=i(88537);class r{constructor(e){this._baseIndex=null,this._offsetInBar=null,this._offsetInTime=null,this._barsBetweenPoints=null,this._timescale=e}indexes(){const e=this._timescale.visibleBarsStrictRange();if(null===e)return[];const t=e.firstBar(),i=e.lastBar();if(null===this._offsetInTime||null===this._barsBetweenPoints){const e=this._timescale.barSpacing();this._barsBetweenPoints=Math.floor(120/e),this._offsetInBar=i%this._barsBetweenPoints,this._offsetInTime=this._timescale.indexToTimePoint(this._offsetInBar),this._baseIndex=this._timescale.baseIndex()}const r=this._timescale.baseIndex();this._baseIndex!==r&&(this._baseIndex=r,this._offsetInBar=(0,s.ensureNotNull)(this._timescale.timePointToIndex(this._offsetInTime)));const n=(0,s.ensureNotNull)(this._offsetInBar),o=[];let a=Math.floor((t-n)/this._barsBetweenPoints);const l=Math.floor((i-n)/this._barsBetweenPoints);for(;a<=l;a++)o.push(n+a*this._barsBetweenPoints);return o}clear(){this._offsetInBar=null,this._offsetInTime=null,this._baseIndex=null,this._barsBetweenPoints=null}}},41892:(e,t,i)=>{"use strict";i.d(t,{SelectionRenderer:()=>l});var s=i(34026),r=i(45112),n=i(84346),o=i(56589);const a=r.colorsPalette["color-tv-blue-600"];class l{constructor(e){this._data=e||null}setData(e){this._data=e}draw(e,t){if(null===this._data||!this._data.visible)return;const i=t.pixelRatio;e.strokeStyle=void 0!==this._data.color?this._data.color:a, +e.lineCap="butt";const s=Math.max(1,Math.floor(i));e.lineWidth=s;const r=this._data.vertOffset||0;for(let t=0;t(0,s.pointInBox)(t,e))}_drawMarker(e,t,i,s,r){let n=Math.round(3.5*r*2);n%2!=s%2&&(n+=1);let o=Math.round(n+2*(.5*s+.75*r));o%2!=s%2&&(o+=1);const a=Math.round(t.x*r),l=Math.round((t.y+i)*r),c=s%2/2;e.beginPath(),e.arc(a+c,l+c,o/2,0,2*Math.PI,!0),e.closePath(),e.fill(),e.beginPath(),e.arc(a+c,l+c,n/2,0,2*Math.PI,!0),e.closePath(),e.stroke()}}},55030:(e,t,i)=>{"use strict";i.d(t,{SeriesBase:()=>Wt});var s=i(88537),r=i(49483),n=i(51768),o=i(76422),a=i(98125),l=i(22932),c=i(63948),h=i(71053),d=i(2015),u=i.n(d),p=i(37667),_=i(28930),m=i(97098),g=i(16654),f=i(45058),v=i(28353),S=i(67337),y=i(1570),b=i(50338),w=i(40264);const C=(0,v.t)("Symbol Error"),P=S.enabled("hide_unresolved_symbols_in_legend");class T extends b.StatusProviderBase{constructor(e,t,i,s){super(t),this._series=e,this._statusViewProperties=i,this._options=s||{}}text(){return(0,w.generateTitleForGui)(this._getTitleGenerationOptions())}getSplitTitle(){return(0,w.generateSplitTitleForGui)(this._getTitleGenerationOptions())}bold(){return!1}size(){return this._statusViewProperties.childs().fontSize.value()+"px"}errorStatus(){const e=this._series.seriesErrorMessage();return null!==e?{error:e,title:C}:null}_getTitleGenerationOptions(){const e=this._series.symbolInfo(),t=this._statusViewProperties.childs(),i=this._series.symbolTextSourceProxyProperty().value();let s;return t.showExchange.value()&&e&&(s=(0,p.isEconomicSymbol)(e)&&e.source?e.source:e.exchange),{description:"ticker"===i?e&&e.name||void 0:(0,y.getTranslatedSymbolDescription)({pro_name:e&&e.pro_name||void 0,short_name:e&&e.name||void 0,description:e&&e.description||void 0,short_description:e&&e.short_description||void 0,local_description:e&&e.local_description||void 0,language:e&&e.language||void 0}),exchange:s,symbol:P&&null===e?"":this._series.symbol(),interval:t.showInterval.value()&&!this._options.hideResolution?this._series.interval():void 0,style:this._series.properties().childs().style.value(),inputs:this._series.getInputsProperties().state(),boxSize:this._series.data().boxSize,reversalAmount:this._series.data().reversalAmount,ticker:"ticker-and-description"===i?e&&e.name||void 0:"",branding:this._options.branding}}}class x extends f.StatusView{constructor(e,t,i,s){super(new T(e,t,i,s)),this._invalidated=!0,this._series=e,this._series.onRestarted().subscribe(this,this.update), +this._series.dataEvents().symbolResolved().subscribe(this,this.update),this._series.dataEvents().completed().subscribe(this,this.update),this._series.boxSizeValue().subscribe(this.update.bind(this)),i.childs().symbolTextSource.listeners().subscribe(this,this.update)}getSeriesPrecision(){let e=4;const t=this._series.symbolInfo();return t&&t.pricescale&&(e=Math.round(Math.log(t.pricescale)/Math.log(10))),e}round(e){const t=this.getSeriesPrecision(),i=Math.round(e*Math.pow(10,t))/Math.pow(10,t);return i?i.toString():""}update(){this._invalidated=!0}text(){return this._updateImpl(),super.text()}color(){return this._updateImpl(),super.color()}bold(){return this._updateImpl(),super.bold()}size(){return this._updateImpl(),super.size()}getSplitTitle(){return this._updateImpl(),this._statusProvider.getSplitTitle()}_updateImpl(){this._invalidated&&(this._bold=this._statusProvider.bold(),this._size=this._statusProvider.size(),this._text=this._statusProvider.text(),this._invalidated=!1)}}var I=i(14445),M=i(35218),L=i(85733),A=i(83393),E=i(14291);const k=r.CheckMobile.any(),D=S.enabled("hide_resolution_in_legend");class V extends I.DataWindowView{constructor(e,t){super(),this._invalidated=!0,this._series=e,this._model=t,this._valuesProvider=this._createValuesProvider(e,t),this._items=this._valuesProvider.getItems().map(e=>new I.DataWindowItem(e.title,"",e.unimportant)),this.update()}update(){this._invalidated=!0}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}series(){return this._series}_updateImpl(){const e=this._series.symbolInfo();if(e){const t=[e.name];D||t.push((0,M.translatedIntervalString)(this._series.interval())),(0,p.isEconomicSymbol)(e)&&e.source?t.push(e.source):t.push((0,r.onWidget)()||"forex"===e.type?e.exchange:e.listed_exchange),this._header=t.join(", "),this._title=e.description}else this._header=this._series.symbol();const t=this._model.crossHairSource().appliedIndex(),i=this._valuesProvider.getValues(t);for(let e=0;ee||t||i,i.showBarChange,i.showSeriesOHLC,i.showVolume),this._visibilityProperty.subscribe(this,this.update)}areValuesVisible(){return this._visibilityProperty.value()}additional(){return null}marketTitle(){const e=this._series.marketStatusModel().status().value();return this._showLastPriceAndChangeOnly()&&("pre_market"===e||"post_market"===e)?O+":":""}destroy(){this._backgroundColorSpawn.destroy(),this._visibilityProperty.destroy()}_createValuesProvider(e,t){return new N(e,t)}}var W=i(52714),H=i.n(W),z=i(90388),U=i(10480);function j(){const e=window.ChartApiInstance.serverTimeOffset();return Date.now()/1e3+e}function G(e,t,i){return e<=i?t<=i?1/0:t/1e3:Math.min(e,t)/1e3}class q{constructor(e,t){this._marketStatus=new(H())(null),this._lastMarketStatus=null,this._sessionsSpec=null,this._nextSessionEdgeInternal=null,this._nextSessionEdge=new(H())(null),this._recalcNextSessionEdgeTimerId=null,this._quotesProvider=e,e.quotesUpdate().subscribe(this,this._update.bind(this)),e.quoteSymbolChanged().subscribe(this,()=>{this._nextSessionEdgeInternal=null,this._recalculateNextSessionEdge()}),this._resetSubscription=t,this._resetSubscription.subscribe(this,this._resetStatus)}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.quoteSymbolChanged().unsubscribeAll(this),this._resetSubscription.unsubscribeAll(this),null!==this._recalcNextSessionEdgeTimerId&&clearTimeout(this._recalcNextSessionEdgeTimerId)}setSymbolInfo(e){var t,i,s,r,n;if(this._nextSessionEdgeInternal=null,null===e)return void(this._sessionsSpec=null);const o=new z.SessionSpec(e.timezone,null!==(t=e.session_display)&&void 0!==t?t:e.session,e.session_holidays,e.corrections);let a,l;const c=null===(i=e.subsessions)||void 0===i?void 0:i.find(e=>"premarket"===e.id),h=null===(s=e.subsessions)||void 0===s?void 0:s.find(e=>"postmarket"===e.id);void 0!==c&&(a=new z.SessionSpec(e.timezone,null!==(r=c["session-display"])&&void 0!==r?r:c.session,e.session_holidays,c["session-correction"])), +void 0!==h&&(l=new z.SessionSpec(e.timezone,null!==(n=h["session-display"])&&void 0!==n?n:h.session,e.session_holidays,h["session-correction"])),this._sessionsSpec={general:o,preMarket:a,postMarket:l},this._recalculateNextSessionEdge()}status(){return this._marketStatus}nextSessionEdge(){return this._nextSessionEdge}_resetStatus(){this._marketStatus.setValue(null)}_update(e){void 0!==e&&void 0!==e.values.current_session&&(this._lastMarketStatus=e.values.current_session),null!==this._lastMarketStatus?this._marketStatus.setValue(this._lastMarketStatus):this._resetStatus()}_getNextSessionEdgeInternal(){var e;if(null===this._sessionsSpec||"24x7"===this._sessionsSpec.general.spec())return null;const t=1e3*j();if(null===this._nextSessionEdgeInternal||(null!==(e=this._nextSessionEdgeInternal.timestamp)&&void 0!==e?e:1/0)<=t/1e3){const{general:e,preMarket:i,postMarket:s}=this._sessionsSpec,r=(0,U.get_timezone)(e.timezone()),n=(0,U.utc_to_cal)(r,t),o=G((0,U.cal_to_utc)(r,e.alignToNearestSessionStart(n,1)),(0,U.cal_to_utc)(r,e.alignToNearestSessionEnd(n,1)),t),a=G(void 0!==i?(0,U.cal_to_utc)(r,i.alignToNearestSessionStart(n,1)):1/0,void 0!==i?(0,U.cal_to_utc)(r,i.alignToNearestSessionEnd(n,1)):1/0,t),l=G(void 0!==s?(0,U.cal_to_utc)(r,s.alignToNearestSessionStart(n,1)):1/0,void 0!==s?(0,U.cal_to_utc)(r,s.alignToNearestSessionEnd(n,1)):1/0,t),c=Math.min(o,a,l);c===1/0&&(this._nextSessionEdgeInternal={timestamp:null}),this._nextSessionEdgeInternal=c===l?{timestamp:c,status:"post_market"}:c===a?{timestamp:c,status:"pre_market"}:{timestamp:c}}return this._nextSessionEdgeInternal}_recalculateNextSessionEdge(){const e=this._getNextSessionEdgeInternal();if(null===e||null===e.timestamp)return void this._nextSessionEdge.setValue(null);const t={status:e.status,remainingSeconds:Math.max(0,e.timestamp-j())};if(null===this._recalcNextSessionEdgeTimerId){let e=Math.ceil(t.remainingSeconds%60);0===e&&(e+=60),this._recalcNextSessionEdgeTimerId=setTimeout(()=>this._recalculateNextSessionEdgeByTimer(),1e3*e)}this._nextSessionEdge.setValue(t)}_recalculateNextSessionEdgeByTimer(){this._recalcNextSessionEdgeTimerId=null,this._recalculateNextSessionEdge()}}var Y=i(8175),K=i(29823),$=i(69177),X=i(11075),Z=i(9423);let J=0;class Q{constructor(e,t){this._extrapolatedData=[],this._cacheForFuture=!1,this._modelId=J++,this._builderCache=null,this._uniqueId=(0,Z.randomHashN)(6),this._resolution=t,this._symbolInfo=e,this._valid=Boolean(e.timezone)&&Boolean(e.session),this._session=new $.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections)}syncSourceTarget(){return{uniqueId:this._uniqueId,resolution:this._resolution,symbolInfo:this._symbolInfo,session:this._session.state()}}getSymbolInfo(){return this._symbolInfo}getSession(){return this._session}getResolution(){return this._resolution}uniqueId(){return this._modelId}distance(e,t){if(!this.isValid())return{success:!1};if(e>t)return{success:!1};if(e===t)return{success:!0,result:0} +;let i=this._extrapolatedData.length,s=0!==i?this._extrapolatedData[0]:null,r=null!==s?this._extrapolatedData[i-1]:null;const n=er){const s=(0,X.extrapolateBarsFrontToTime)(this._barBuilder(),r||1e3*e,1e3*t,2e3,!0);this._extrapolatedData=this._extrapolatedData.concat(s.times),i=this._extrapolatedData.length,this._cacheForFuture=n}if(r=this._extrapolatedData[i-1],r<1e3*t)return{success:!1};const o=this._extrapolatedData.indexOf(1e3*t);return-1===o?{success:!1}:{success:!0,result:o}}projectTime(e,t){if(!this.isValid())return e;let i=this._extrapolatedData.length,s=i>0?this._extrapolatedData[0]:null,r=null!==s?this._extrapolatedData[i-1]:null;const n=t>=0;1e3*e===s&&this._cacheForFuture===n||(this._extrapolatedData=[1e3*e],i=1,s=null,r=null);const o=Math.abs(t);if(null===s||o>=i){const s=(0,X.extrapolateBarsFrontByCount)(this._barBuilder(),r||1e3*e,Math.sign(t)*(o-i+1),!0);this._extrapolatedData=this._extrapolatedData.concat(s.times),i=this._extrapolatedData.length,this._cacheForFuture=n}return i0?ae(e):function(e,t){return ie().hasEodSymbols(e.full_name)||t===g.STATUS_EOD}(e,t)?(i.push("EOD"),i):i;var s}class ce{constructor(e,t,i){this._dataUpdatedModeStatus=new(H())(null),this._symbolInfo=(0,ee.createWVFromGetterAndSubscription)(e.getter,e.onChange),this._status=(0,ee.createWVFromGetterAndSubscription)(t.getter,t.onChange),this._symbolInfo.subscribe(this._update.bind(this)),this._status.subscribe(this._update.bind(this)),this._resetSubscription=i,this._resetSubscription.subscribe(this,this._resetStatus)}destroy(){this._symbolInfo.destroy(),this._status.destroy(),this._resetSubscription.unsubscribeAll(this)}status(){return this._dataUpdatedModeStatus.readonly()}symbolName(){const e=this._symbolInfo.value();return null!==e?e.name:""}time(){const e=this._symbolInfo.value(),t=null!==e&&e.delay&&e.delay>0?e.delay:900;return Math.round(t/60)}listedExchange(){const e=this._symbolInfo.value();return null!==e?e.listed_exchange:""}async description(){const e=this._symbolInfo.value();if(null===e)return"";let t={};try{t=(0,s.ensureNotNull)(await async function(e){return null}())}catch(e){oe.logWarn("Cannot get exchange "+(0,ne.errorToString)(e))} +return t.description||e.listed_exchange}exchange(){const e=this._symbolInfo.value();return null!==e?e.exchange:""}proName(){const e=this._symbolInfo.value();return null!==e?e.pro_name:""}firstReplacedByBatsExchange(){const e=this._symbolInfo.value();return e&&null}_resetStatus(){this._dataUpdatedModeStatus.setValue(null)}_update(){const e=this._symbolInfo.value();if(null===e)return void this._dataUpdatedModeStatus.setValue(null);const t=this._status.value();if("string"==typeof t)return void this._dataUpdatedModeStatus.setValue(null);if(t===g.STATUS_LOADING||t===g.STATUS_RESOLVING)return;const i=le(e,t);0!==i.length?this._dataUpdatedModeStatus.setValue(i):this._dataUpdatedModeStatus.setValue(null)}}var he=i(40144),de=i(80643);class ue{constructor(e,t){this._dataProblem=new he.WatchedObject(null),this._quotesProvider=e,this._quotesProvider.quotesUpdate().subscribe(this,this._update.bind(this)),this._resetSubscription=t,this._resetSubscription.subscribe(this,this._resetStatus)}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._resetSubscription.unsubscribeAll(this)}status(){return this._dataProblem}_resetStatus(){this._dataProblem.setValue(null)}_update(e){void 0===e.values||void 0===e.values.data_problem?this._resetStatus():this._dataProblem.setValue((0,de.clone)(e.values.data_problem))}}var pe=i(90810),_e=i(68906),me=i(97938),ge=i(3825);function fe(e){return e<10?"0"+e:e.toString()}var ve=i(74477),Se=i(33291);const ye=[0,1,2,3,9,8,10],be=S.enabled("force_exchange_as_title"),we={alwaysShowGlobalLast:!1,visibleOnHistoryOnly:!1,showCountdown:!0,showSymbolLabel:!0};class Ce extends me.PriceAxisView{constructor(e,t,i){super(),this._previousCountdown="",this._source=e,this._model=t,this._options={...we,...i}}updateCountdown(){this._countdownText()!==this._previousCountdown&&(this.update((0,Se.dataSourceChangeEvent)(this._source.id())),this._model.updateSourcePriceScale(this._source))}_getSource(){return this._source}_getModel(){return this._model}_isCountdownEnabled(){return this._options.showCountdown}_countdownText(){const e=K.Interval.parse(this._source.interval());if(e.isDWM()||e.isTicks()||e.isSeconds()&&1===e.multiplier())return"";const t=this._source.data().bars().last();if(null===t)return"";const i=1e3*(0,s.ensure)(t.value[0]),r=K.Interval.parse(this._source.interval()).inMilliseconds(),n=i.valueOf()+r;let o=Math.round((n-this._currentTime())/1e3);if(o<=0)return"";o=Math.min(o,r/1e3);let a=null;o>=3600&&(a=fe(Math.floor(o/3600))),o%=3600;const l=fe(Math.floor(o/60));o%=60;const c=fe(Math.floor(o));return null!==a?`${a}:${l}:${c}`:`${l}:${c}`}_updateRendererData(e,t,i){if(e.visible=!1,t.visible=!1,!this._source.isVisible())return;const s=this._source.properties().childs();if(12===s.style.value())return;const r=this._model.timeScale().visibleBarsStrictRange(),n=this._source.data().last();if(null===r||null===n)return;if(this._options.visibleOnHistoryOnly&&r.contains(n.index))return;const o=this._model.properties().childs().scalesProperties.childs() +;let a=o.showSeriesLastValue.value(),l=this._isCountdownEnabled()&&-1!==ye.indexOf(s.style.value())&&s.showCountdown.value()&&(this._options.alwaysShowGlobalLast||r.contains(n.index)),c=this._options.showSymbolLabel&&o.showSymbolLabels.value();const h=o.seriesLastValueMode.value()===ge.PriceAxisLastValueMode.LastPriceAndPercentageValue,d=this._source.lastValueData(void 0,this._options.alwaysShowGlobalLast);if(d.noData)return;const u=8===s.style.value();if((a||l||c)&&u&&s.haStyle.childs().showRealLastPrice.value()){const e=this._source.lastValueData(void 0,!1),t=this._source.lastValueData(void 0,!0);e.noData||t.noData||e.index!==t.index||(a=!1,l=!1,c=!1)}if(i.background=this._source.priceLineColor(d.color),i.coordinate=d.coordinate,i.floatCoordinate=d.floatCoordinate,a||l){const t=this._axisFirstLineText(d,a);e.text=t,i.textColor=this.generateTextColor(i.background),e.textColor=i.textColor;const s=a&&h?(0,ve.getOppositeModePriceText)(this._source.priceScale(),d):"";e.secondLine=s,i.secondLineTextColor=i.textColor;const r=l?this._countdownText():"";this._previousCountdown=r,e.thirdLine=r,i.thirdLineTextColor=(0,_e.generateColor)(i.textColor,25),0===t.length&&0===s.length&&0===r.length||(e.visible=!0)}c&&(t.text=this._paneText(c),t.visible=t.text.length>0)}_paneText(e){let t="";const i=this._source.symbolInfo();return be?t=(0,p.displayedSymbolExchange)(i):e&&(t=(0,p.displayedSymbolName)(i)),t}_axisFirstLineText(e,t){return t?(0,ve.getCurrentModePriceText)(this._source.priceScale(),e):""}_currentTime(){return Date.now()+1e3*this._source.serverTimeOffset()}}var Pe=i(55057);class Te extends Ce{lastPrice(){return this._getSource().data().lastProjectionPrice}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const r=this._getModel(),n=this._getSource(),o=n.priceScale(),a=r.timeScale(),l=this.lastPrice();if(a.isEmpty()||o.isEmpty()||void 0===l)return;const c=a.visibleBarsStrictRange();if(null===c)return;const d=c.firstBar(),u=c.lastBar(),p=n.data(),_=p.search(u,h.PlotRowSearchMode.NearestLeft);if(null===_)return;const m=n.nearestIndex(d,h.PlotRowSearchMode.NearestRight);if(void 0===m)return;const g=n.model().properties().childs().scalesProperties.childs(),f=(0,s.ensureNotNull)(p.valueAt(m))[4];let v=i.background,S=g.showSeriesLastValue.value(),y=!1,b=!1,w=!1;const C=n.lastValueData(4,!1),P=n.properties().childs();if(8===P.style.value()&&P.haStyle.childs().showRealLastPrice.value()){const e=n.lastValueData(4,!0);if(e.noData||e.color===i.background||(v=e.color),!e.noData&&!C.noData){const t=e.index===C.index;y=t&&g.showSymbolLabels.value(),b=g.seriesLastValueMode.value()===ge.PriceAxisLastValueMode.LastPriceAndPercentageValue,S=S&&t,w=t&&this._isCountdownEnabled()&&P.showCountdown.value()}}else{v=n.barColorer().barStyle(_.index,!0).barColor}if(i.background=v,i.textColor=this.generateTextColor(v),i.secondLineTextColor=i.textColor,i.thirdLineTextColor=(0,_e.generateColor)(i.textColor,25),i.coordinate=o.priceToCoordinate(l,f),e.visible=S||w,!C.noData){const i=n.priceScale().isPercentage() +;C.formattedPriceAbsolute=o.formatPriceAbsolute(l),C.formattedPricePercentage=o.formatPricePercentage(l,f,!0),C.text=i?C.formattedPricePercentage:C.formattedPriceAbsolute,e.text=this._axisFirstLineText(C,S),e.secondLine=S&&b?i?C.formattedPriceAbsolute:C.formattedPricePercentage:"",e.thirdLine=w?this._countdownText():"",t.text=this._paneText(y)}t.visible=y}}var xe=i(28978),Ie=i(22221),Me=i(45112),Le=i(43891);const Ae={light:{lineStyle:Le.LINESTYLE_DOTTED,lineWidth:1,textColor:Me.colorsPalette["color-cold-gray-900"],backgroundColor:Me.colorsPalette["color-tv-blue-50"],lineColor:Me.colorsPalette["color-cold-gray-500"]},dark:{lineStyle:Le.LINESTYLE_DOTTED,lineWidth:1,textColor:Me.colorsPalette["color-white"],backgroundColor:Me.colorsPalette["color-tv-blue-a800"],lineColor:Me.colorsPalette["color-cold-gray-500"]}};function Ee(e){return e?Ae.dark:Ae.light}class ke extends Ie.HorizontalLinePaneView{constructor(e,t,i){super(),this._model=e,this._isVisible=t.lineVisible,this._lineColor=t.lineColor,this._lineWidth=t.lineWidth,this._getValue=i}_updateImpl(){const e=this._lineRendererData;if(e.visible=!1,!this._isVisible.value())return;const t=this._model.mainSeries(),i=t.priceScale(),s=t.firstValue(),r=this._getValue();if(null===s||null===r)return;const n=Ee(this._model.isDark()),o=this._lineColor.value()?this._lineColor.value():n.lineColor,a=this._lineWidth.value()?this._lineWidth.value():n.lineWidth;e.visible=!0,e.y=i.priceToCoordinate(r,s),e.linestyle=n.lineStyle,e.linewidth=a,e.color=o}}class De extends me.PriceAxisView{constructor(e,t,i,s){super(),this._model=e,this._label=t,this._isVisible=i,this._getValue=s}_updateRendererData(e,t,i){if(e.visible=!1,t.visible=!1,!this._isVisible.value())return;const s=this._model.mainSeries(),r=s.priceScale(),n=s.firstValue(),o=this._getValue();if(null===n||null===o)return;const a=Ee(this._model.isDark());e.visible=!0,t.visible=!0,e.text=r.formatPriceAbsolute(o),t.text=this._label,i.coordinate=r.priceToCoordinate(o,n),i.background=a.backgroundColor,i.textColor=a.textColor}}class Ve extends Pe.PriceLineAxisView{constructor(e,t,i){super(),this._model=e,this._isLineVisible=t,this._getValue=i}_isVisible(){return this._isLineVisible.value()}_lineWidth(){return Ee(this._model.isDark()).lineWidth}_lineStyle(){return Ee(this._model.isDark()).lineStyle}_priceLineColor(e){return Ee(this._model.isDark()).lineColor}_value(){const e=this._model.mainSeries(),t=e.priceScale(),i=e.firstValue(),s=this._getValue();if(null===i||null===s)return{noData:!0};const r=t.priceToCoordinate(s,i);return{noData:!1,floatCoordinate:r,coordinate:r,color:"",formattedPricePercentage:"",formattedPriceAbsolute:"",formattedPriceIndexedTo100:"",text:"",index:0}}}const Be=(0,v.t)("High"),Ne=(0,v.t)("Low");function Re(e,t,i,s){const r=new ke(e,i,s),n=new De(e,i.label,i.labelVisible,s);return{paneView:r,panePriceAxisView:new xe.PanePriceAxisView(n,t,e),priceAxisView:n,priceLineAxisView:new Ve(e,i.lineVisible,s)}}const Oe={light:{lineStyle:Le.LINESTYLE_DOTTED,lineWidth:1,textColor:(0,Me.getHexColorByName)("color-cold-gray-900"), +backgroundColor:(0,Me.getHexColorByName)("color-tv-blue-50"),lineColor:(0,Me.getHexColorByName)("color-cold-gray-500")},dark:{lineStyle:Le.LINESTYLE_DOTTED,lineWidth:1,textColor:(0,Me.getHexColorByName)("color-white"),backgroundColor:(0,Me.getHexColorByName)("color-tv-blue-a800"),lineColor:(0,Me.getHexColorByName)("color-cold-gray-500")}};function Fe(e){return e?Oe.dark:Oe.light}class We extends Ie.HorizontalLinePaneView{constructor(e,t,i){super(),this._model=e,this._isVisible=t.lineVisible,this._lineColor=t.lineColor,this._lineWidth=t.lineWidth,this._getValue=i}_updateImpl(){const e=this._lineRendererData;if(e.visible=!1,!this._isVisible.value())return;const t=this._model.mainSeries(),i=t.priceScale(),s=t.firstValue(),r=this._getValue();if(null===s||null===r)return;const n=Fe(this._model.isDark()),o=this._lineColor.value()?this._lineColor.value():n.lineColor,a=this._lineWidth.value()?this._lineWidth.value():n.lineWidth;e.visible=!0,e.y=i.priceToCoordinate(r,s),e.linestyle=n.lineStyle,e.linewidth=a,e.color=o}}class He extends me.PriceAxisView{constructor(e,t,i,s){super(),this._model=e,this._label=t,this._isVisible=i,this._getValue=s}_updateRendererData(e,t,i){if(e.visible=!1,t.visible=!1,!this._isVisible.value())return;const s=this._model.mainSeries(),r=s.priceScale(),n=s.firstValue(),o=this._getValue();if(null===n||null===o)return;const a=Fe(this._model.isDark());e.visible=!0,t.visible=!0,e.text=r.formatPriceAbsolute(o),t.text=this._label,i.coordinate=r.priceToCoordinate(o,n),i.background=a.backgroundColor,i.textColor=a.textColor}}class ze extends Pe.PriceLineAxisView{constructor(e,t,i){super(),this._model=e,this._isLineVisible=t,this._getValue=i}_isVisible(){return this._isLineVisible.value()}_lineWidth(){return Fe(this._model.isDark()).lineWidth}_lineStyle(){return Fe(this._model.isDark()).lineStyle}_priceLineColor(e){return Fe(this._model.isDark()).lineColor}_value(){const e=this._model.mainSeries(),t=e.priceScale(),i=e.firstValue(),s=this._getValue();if(null===i||null===s)return{noData:!0};const r=t.priceToCoordinate(s,i);return{noData:!1,floatCoordinate:r,coordinate:r,color:"",formattedPricePercentage:"",formattedPriceAbsolute:"",formattedPriceIndexedTo100:"",text:"",index:0}}}const Ue=(0,v.t)("Avg");function je(e,t,i,s){const r=i.childs(),n=function(e,t,i,s){const r=new We(e,i,s),n=new He(e,i.label,i.labelVisible,s),o=new xe.PanePriceAxisView(n,t,e),a=new ze(e,i.lineVisible,s);return{paneView:r,panePriceAxisView:o,priceAxisView:n,priceLineAxisView:a}}(e,t,{label:Ue,labelVisible:r.averageClosePriceLabelVisible,lineVisible:r.averageClosePriceLineVisible,lineColor:r.averagePriceLineColor,lineWidth:r.averagePriceLineWidth},()=>s(0));return{paneViews:[n.paneView],panePriceAxisViews:[n.panePriceAxisView],priceAxisViews:[n.priceAxisView],priceLineAxisViews:[n.priceLineAxisView]}}var Ge=i(2872),qe=i.n(Ge),Ye=i(14791),Ke=i(86441);class $e{constructor(){this._data=null}setData(e){this._data=e}data(){return this._data}draw(e,t){const i=this._data;if(null===i)return;const s=t.pixelRatio;e.save() +;const r=Math.max(1,Math.floor(s)),n=r%2/2,o=Math.round(i.center.x*s)+n,a=i.center.y*s;e.fillStyle=i.seriesLineColor,e.beginPath();const l=Math.max(2,1.5*i.seriesLineWidth)*s;e.arc(o,a,l,0,2*Math.PI,!1),e.fill(),e.fillStyle=i.fillColor,e.beginPath(),e.arc(o,a,i.radius*s,0,2*Math.PI,!1),e.fill(),e.lineWidth=r,e.strokeStyle=i.strokeColor,e.beginPath(),e.arc(o,a,i.radius*s+r/2,0,2*Math.PI,!1),e.stroke(),e.restore()}hitTest(e,t){return null}}function Xe(e){return e}const Ze=[{start:0,end:.25,startRadius:4,endRadius:10,startFillAlpha:.25,endFillAlpha:0,startStrokeAlpha:.4,endStrokeAlpha:.8,easing:Xe},{start:.25,end:.525,startRadius:10,endRadius:14,startFillAlpha:0,endFillAlpha:0,startStrokeAlpha:.8,endStrokeAlpha:0,easing:Xe},{start:.525,end:1,startRadius:14,endRadius:14,startFillAlpha:0,endFillAlpha:0,startStrokeAlpha:0,endStrokeAlpha:0,easing:Xe}];function Je(e,t,i,s){const r=i+(s-i)*t;return(0,_e.applyTransparency)(e,(0,_e.alphaToTransparency)(r))}function Qe(e,t){const i=e%2600/2600;let s;for(const e of Ze)if(i>=e.start&&i<=e.end){s=e;break}if(void 0===s)throw new Error("Last price animation internal logic error");const r=s.easing((i-s.start)/(s.end-s.start));return{fillColor:Je(t,r,s.startFillAlpha,s.endFillAlpha),strokeColor:Je(t,r,s.startStrokeAlpha,s.endStrokeAlpha),radius:(n=r,o=s.startRadius,a=s.endRadius,o+(a-o)*n)};var n,o,a}class et{constructor(e){this._renderer=new $e,this._invalidated=!0,this._stageInvalidated=!0,this._startTime=performance.now(),this._endTime=this._startTime-1,this._series=e}update(e){if(this._invalidated=!0,"data-source-change"===e.type&&e.dataSourceId===this._series.id()||"viewport-change"===e.type||"global-change"===e.type){const e=performance.now(),t=this._endTime-e;if(t>0)return void(t<650&&(this._endTime+=2600));this._startTime=e,this._endTime=e+2600}}invalidateStage(){this._stageInvalidated=!0}animationActive(){return performance.now()<=this._endTime}stopAnimation(){this._endTime=this._startTime-1}renderer(e,t){return this._invalidated?(this._updateImpl(e,t),this._invalidated=!1,this._stageInvalidated=!1):this._stageInvalidated&&(this._updateRendererDataStage(),this._stageInvalidated=!1),this._renderer}_updateImpl(e,t){this._renderer.setData(null);const i=this._series.model().timeScale(),s=i.visibleBarsStrictRange(),r=this._series.firstValue(),n=this._series.lastValueData(void 0,!0,!0);if(null===s||null===r||void 0===n.index||void 0===n.price||!s.contains(n.index))return;const o=new Ke.Point(i.indexToCoordinate(n.index),this._series.priceScale().priceToCoordinate(n.price,r)),a=n.color,l=this._series.properties().childs();let c;switch(this._series.style()){case 3:c=l.areaStyle.childs().linewidth.value();break;case 10:const t=l.baselineStyle,i=Math.round(e*(Math.abs(100-t.childs().baseLevelPercentage.value())/100));c=o.y<=i?t.childs().topLineWidth.value():t.childs().bottomLineWidth.value();break;default:c=l.lineStyle.childs().linewidth.value()}const h=Qe(this._duration(),a);this._renderer.setData({seriesLineColor:a,seriesLineWidth:c,fillColor:h.fillColor,strokeColor:h.strokeColor, +radius:h.radius,center:o})}_updateRendererDataStage(){const e=this._renderer.data();if(null!==e){const t=Qe(this._duration(),e.seriesLineColor);e.fillColor=t.fillColor,e.strokeColor=t.strokeColor,e.radius=t.radius}}_duration(){return this.animationActive()?performance.now()-this._startTime:2599}}var tt=i(23653),it=i(59100),st=i(95836),rt=i(9315),nt=i(38712);class ot extends nt.SeriesHorizontalLinePaneView{constructor(e){super(e),this._lineRendererData.linestyle=Le.LINESTYLE_DOTTED}_updateImpl(){this._lineRendererData.visible=!1;const e=this._series.properties().childs();if(!e.showPriceLine.value())return;if(12===e.style.value())return;const t=this._series.lastValueData(void 0,!0);t.noData||(this._lineRendererData.visible=!0,this._lineRendererData.y=t.coordinate,this._lineRendererData.color=this._series.priceLineColor(t.color),this._lineRendererData.linewidth=e.priceLineWidth.value())}}var at=i(42169),lt=i(52640),ct=i(55257),ht=i(49094),dt=i(84346),ut=i(16282);class pt extends ut.ScaledPaneRenderer{constructor(){super(...arguments),this._data=null,this._barWidth=null}setData(e){this._data=e,this._barWidth=Math.max(1,Math.round((0,ht.optimalHiLoWidth)(e.barSpacing)))}hitTest(e){if(null===this._data||null===this._barWidth)return null;const t=this._data.bars,i=.5*this._data.barSpacing;if(0===t.length)return null;if(e.xt[t.length-1].time+i)return null;const s=t[(0,ct.lowerbound)(t,e.x-i,(e,t)=>e.times.time+i)return null;const r=(0,ht.interactionTolerance)().series+this._barWidth/2,n=Math.min(s.high,s.low),o=Math.max(s.high,s.low),a=this._data.fontSize;return n-r-a<=e.y&&e.y<=n+r||o-r<=e.y&&e.y<=o+r+a?new dt.HitTestResult(dt.HitTestResult.REGULAR):null}_drawImpl(e){if(null===this._data||null===this._barWidth)return;e.save(),e.translate(.5,.5),e.textAlign="center",e.fillStyle=this._data.labelColor,e.font=(0,lt.makeFont)(this._data.fontSize,this._data.font);const t=this._data.bars,i=this._data.inverted;for(let s=0;se.highLabelWidth<=n&&e.lowLabelWidth<=n),a={bars:this._bars,wickVisible:!1,bodyVisible:r.drawBody.value(),barSpacing:n,borderVisible:r.showBorders.value(),barWidth:(0,ht.optimalHiLoWidth)(n),font:vt.CHART_FONT_FAMILY,fontSize:r.fontSize.value(),labelColor:r.labelColor.value(),inverted:s.isInverted(),labelsPadding:3},l=new mt.CompositeRenderer;return this._candlesRenderer.setData(a),l.append(this._candlesRenderer),o&&(this._labelsRenderer.setData(a),l.append(this._labelsRenderer)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&l.append(new gt.SelectionRenderer(this._selectionData)),l}topPixelMargin(){return this._margin()}bottomPixelMargin(){return this._margin()}_margin(){const e=this._source.properties().childs().hiloStyle.childs();return e.showLabels.value()?e.fontSize.value()+6:0}_barUpdater(e,t,i,s){const r=i[2],n=i[3];if(!yt(r)||!yt(n))return!1;if(s.high=s.open=r,s.low=s.close=n,t){const t=s;t.highLabel=e.format(r),t.highLabelWidth=this._getLabelWidth(t.highLabel),t.lowLabel=e.format(n),t.lowLabelWidth=this._getLabelWidth(t.lowLabel)}return!0}_needLabels(){const e=this._model.timeScale().barSpacing();return this._source.properties().childs().hiloStyle.childs().showLabels.value()&&e>5}_getLabelWidth(e){return this._widthsCache.measureText(this._context,e)}}var wt=i(81688),Ct=i(59153),Pt=i(66919),Tt=i(85224),xt=i(33837),It=i(34041);class Mt extends St.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.priceScale();if(!i)return null;const s=this._source.properties().childs().haStyle.childs(),r=this._model.timeScale().barSpacing(),n={bars:this._bars,barSpacing:r,bodyVisible:s.drawBody.value(),borderVisible:s.drawBorder.value(),borderColor:s.borderColor.value(),wickColor:s.wickColor.value(),barWidth:(0,ht.optimalBarWidth)(r),wickVisible:s.drawWick.value(),isPriceScaleInverted:i.isInverted()},o=new mt.CompositeRenderer;return o.append(new _t.PaneRendererCandles(n)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&o.append(new gt.SelectionRenderer(this._selectionData)),o}}var Lt=i(30076),At=i(35251),Et=i(69147);const kt=S.enabled("price_scale_always_last_bar_value"),Dt=S.enabled("display_data_mode"),Vt=(r.CheckMobile.any(),!S.enabled("hide_series_legend_item")),Bt=S.enabled("hide_price_scale_global_last_bar_value"),Nt=S.enabled("show_average_close_price_line_and_label"),Rt=(0,a.getLogger)("Chart.Series"),Ot=S.enabled("pre_post_market_sessions"),Ft={countdownEnabled:!0,lastPriceAnimationEnabled:!0};class Wt extends l.PriceDataSource{constructor(e,t,i,r){super(e,"_seriesId"),this.chartWidgetInitialized=new(qe()),this.requestingIntradayWhenNotSupported=new(qe()),this.requestingResolutionWhenNotSupported=new(qe()),this.requestingStyleIsNotSupported=new(qe()),this.requestingStyleSupportRecovered=new(qe()), +this._paneView=null,this._futureBarsPaneView=null,this._projectionBarsPaneView=null,this._waterlineView=null,this._priceLineView=null,this._gotoDateView=null,this._baseHorizontalLineView=null,this._priceStep=null,this._symbolInfo=null,this._prevSymbolInfo=null,this._isPrePostMarketPricesAvailableProperty=new(u())(!1),this._isBackAdjustmentForbiddenProperty=new(u())(!0),this._isSettlementAsCloseForbiddenProperty=new(u())(!0),this._highLowPriceCache=new Map,this._averagePriceCache=new Map,this._prevClosePriceAxisView=null,this._priceScaleChanged=new(qe()),this._priceScaleAboutToBeChanged=new(qe()),this._onRestarted=new(qe()),this._onStatusChanged=new(qe()),this._extendedHoursChanged=new(qe()),this._tagsChanged=new(qe()),this._intervalChanged=new(qe()),this._sessionIdChanged=new(qe()),this._currency=null,this._unit=null,this._requestMoreDataAvailable=!0,this._lineStyleLastPriceCirclePaneView=new et(this),this._prevClosePriceLineView=null,this._dataPoweredBy=null,this._loading=!0,this._seriesLoaded=!1,this._status=0,this._symbolResolvingActive=new(H())(!1),this._predictBars=0,this._syncModel=null,this._data=null,this._endOfDataType=null,this._haStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(8,!0))},this._renkoStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(4,!0))},this._pbStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(7,!0))},this._kagiStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(5,!0))},this._pnfStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(6,!0))},this._rangeStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(11,!0))},this._boxSizeValue=new(H()),this._base=100,this._pointValue=1,this._formattingDeps=null,this._formatter=new m.PriceFormatter(this._base),this._ignoreMinMoveFormatter=new m.PriceFormatter(this._base),this._ignoreMinMovePriceStep=null,this._lastBarCloseTime=null,this._onSessionIdPropertyChangedBound=this._onSessionIdPropertyChanged.bind(this),this._ignoreSessionIdProxyPropertyChanges=!1,this._textSourceIsAlwaysTickerRestrictionEnabled=!1,this._lastPriceAnimationActive=!1,this._currentSession="out_of_session",this._onStyleChanged=new(qe()),this._preventRestartOnChartStyleChange=!1,this._intervalObj=null,this._obsoleteZOrder=0,this._seriesErrorMessage=null,this._seriesAlwaysFalseHibernatedVW=new(H())(!1),this._styleToRecover=null,this._isActingAsSymbolSource=new(H())(!0),this._seriesSource=new it.SeriesDataSource(e.chartApi(),"s",r);const n=this._seriesSource.dataEvents();n.symbolResolved().subscribe(this,this._onSymbolResolved),n.symbolError().subscribe(this,this._onSymbolError),n.seriesTimeFrame().subscribe(this,this._onSeriesTimeFrame),n.seriesError().subscribe(this,this._onSeriesError),n.loading().subscribe(this,this._onSeriesLoading),n.completed().subscribe(this,this._onSeriesCompleted),n.dataUpdated().subscribe(this,this._onDataUpdated),n.barReceived().subscribe(this,this._onBarReceived),this._quotesProvider=new pe.QuotesProvider,this._quotesProvider.quotesUpdate().subscribe(this,this._onQuotesUpdate);const o=t.childs() +;if(t.hasChild("extendedHours")){(0,s.ensureDefined)(o.extendedHours).value()&&!t.hasChild("sessionId")&&t.addChild("sessionId",new(u())("extended")),t.removeProperty("extendedHours")}t.hasChild("sessionId")||t.addChild("sessionId",new(u())(_.SubsessionId.Regular)),this._setProperties(t),this._sessionIdProxyProperty=new(u())(o.sessionId.value()),o.sessionId.subscribe(this,()=>this._updateSessionIdProxyProperty()),this._sessionIdProxyProperty.subscribe(this,this._onSessionIdProxyPropertyChanged),this._symbolTextSourceProxyProperty=new(u()),this._recalcSymbolTextSourceProxyProperty(),o.statusViewStyle.childs().symbolTextSource.subscribe(this,this._recalcSymbolTextSourceProxyProperty),this._symbolTextSourceProxyProperty.subscribe(this,()=>e.lightUpdate()),this._options=(0,de.merge)((0,de.clone)(Ft),i),this._prevChartStyle=o.style.value(),this._priceAxisView=new Ce(this,e,{alwaysShowGlobalLast:!Bt,showCountdown:i.countdownEnabled});let a=null;kt||Bt||(a=new Ce(this,e,{visibleOnHistoryOnly:!0,showSymbolLabel:!1,showCountdown:!1,alwaysShowGlobalLast:!1})),this._priceLinePriceAxisView=new Pe.SeriesPriceLineAxisView(this),this._priceLineAxisViews=[this._priceLinePriceAxisView];const l=new Te(this,e,{showCountdown:i.countdownEnabled});this._priceAxisViews=[this._priceAxisView,l],null!==a&&this._priceAxisViews.push(a),this._panePriceAxisView=new xe.PanePriceAxisView(this._priceAxisView,this,e),this._historyPricePanePriceAxisView=null!==a?new xe.PanePriceAxisView(a,this,e):null,this._projectionPriceAxisView=new xe.PanePriceAxisView(l,this,e),this._labelPaneViews=[this._panePriceAxisView,this._projectionPriceAxisView],null!==this._historyPricePanePriceAxisView&&this._labelPaneViews.push(this._historyPricePanePriceAxisView),this._highLowAvgPaneViews=[],this._averagePaneViews=[],Nt&&this._createAverageViews(),this._createHighLowAvgViews(),this._subscribeRestartToSessionIdChange(),o.visible.subscribe(this,this._updateLastPriceAnimationActive),this._updateLastPriceAnimationActive(),this._dataWindowView=new V(this,e),this._legendView=new F(this,e);const c={branding:!1};this._statusView=new x(this,this._model.properties().childs().scalesProperties.childs().textColor,o.statusViewStyle,c),this._marketStatusModel=new q(this._quotesProvider,o.symbol.listeners()),this._dataUpdatedModeModel=Dt?new ce({getter:this.symbolInfo.bind(this),onChange:n.symbolResolved()},{getter:this.status.bind(this),onChange:this._onStatusChanged},o.symbol.listeners()):null,this._dataProblemModel=new ue(this._quotesProvider,o.symbol.listeners()),this._symbolResolvingActive.subscribe(()=>e.realignLineTools()),this._intervalChanged.subscribe(this,()=>e.realignLineTools())}supportsPressedChunks(){return!0}pressedChunks(e,t){return this.data().pressedChunks(e,t)}seriesErrorMessage(){return this._seriesErrorMessage}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.destroy(),this._model.timeScale().visibleBarsStrictRangeChanged().unsubscribeAll(this),this._unsubscribeRestartToSessionIdChange()}isActingAsSymbolSource(){ +return this._isActingAsSymbolSource.readonly()}createPaneView(){this._paneView=null,this._projectionBarsPaneView=null,this._waterlineView=null,this._priceLineView=this.hasClosePrice()?new ot(this):null;const e=this._properties.childs().style.value();switch(e){case 0:this._paneView=new Pt.SeriesBarsPaneView(this,this._model);break;case 1:this._paneView=new Tt.SeriesCandlesPaneView(this,this._model);break;case 2:this._paneView=new xt.SeriesLinePaneView(this,this._model);break;case 3:this._paneView=new It.SeriesAreaPaneView(this,this._model);break;case 8:this._paneView=new Mt(this,this._model);break;case 9:this._paneView=new Lt.SeriesHollowCandlesPaneView(this,this._model);break;case 13:this._paneView=new Ct.SeriesColumnsPaneView(this,this._model);break;case 10:{this._paneView=new At.SeriesBaselinePaneView(this,this._model);const e=this._properties.childs().baselineStyle.childs();this._waterlineView=new at.SeriesWaterlinePaneView({paneHeight:()=>this.priceScale().height(),color:()=>e.baselineColor.value(),baseLevelPercentage:()=>e.baseLevelPercentage.value()});break}case 12:this._paneView=new bt(this,this._model)}if(null===this._paneView)throw Error("Unknown chart style assigned: "+e)}properties(){return this._properties}zorder(){return 0}quotesProvider(){return this._quotesProvider}currentSession(){return this._currentSession}getRealVisibleRange(){const e=this.model().timeScale().visibleBarsStrictRange();if(null===e)return null;const t=this.data().search(e.firstBar(),h.PlotRowSearchMode.NearestRight),i=this.data().search(e.lastBar(),h.PlotRowSearchMode.NearestLeft);return null===t||null===i?null:new wt.BarsRange(t.index,i.index)}syncModel(){if(!this._syncModel){const e=this.symbolInfo(),t=this.interval();if(!e||!t)return null;this._syncModel=new Q(e,t)}return this._syncModel}labelPaneViews(){return this._labelPaneViews}topPaneViews(){if(this._lastPriceAnimationActive){const e=this._lineStyleLastPriceCirclePaneView;return e.animationActive()&&setTimeout(()=>this._model.invalidate(tt.InvalidationMask.cursor()),0),e.invalidateStage(),[e]}return null}priceAxisViews(e,t){return e.findTargetPriceAxisViews(this,t,this._priceAxisViews,this._priceLineAxisViews)}clearHighLowPriceCache(){this._highLowPriceCache.clear()}clearAveragePriceCache(){this._averagePriceCache.clear()}priceScaleChanged(){return this._priceScaleChanged}priceScaleAboutToBeChanged(){return this._priceScaleAboutToBeChanged}disconnect(){this._seriesSource.stop(),this.m_symbol=void 0,this._predictBars=0,this._status=0,this._model.isSnapshot()||(this._prevSymbolInfo=null,this._symbolInfo=null)}isStatusBad(){return 12===this.status()||4===this.status()||10===this.status()}isStatusError(){return 12===this.status()}actualSymbol(){return(0,p.actualSymbol)(this.symbolInfo(),this.symbol())}proSymbol(){return(0,p.proSymbol)(this.symbolInfo(),this.symbol())}onStyleChanged(){return this._onStyleChanged}style(){return this.properties().childs().style.value()}setStyle(e){this.setSymbolParams({style:e})}symbolSameAsCurrent(e){return(0, +Ye.symbolSameAsCurrent)(e,this.m_symbol,this.symbolInfo())}status(){return this._status}symbolInfo(){return this._symbolInfo}symbolResolved(){return this.dataEvents().symbolResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._seriesAlwaysFalseHibernatedVW}formatter(e=!0){return e?this._formatter:this._ignoreMinMoveFormatter}priceStep(e=!0){return e?this._priceStep:this._ignoreMinMovePriceStep}bars(){return this.data().bars()}nsBars(){return this.data().nsBars()}interval(){return this.properties().childs().interval.value()}setInterval(e){this.setSymbolParams({interval:e})}intervalObj(){const e=this.interval();if(null!==this._intervalObj&&this._intervalObj.resolutionString===e)return this._intervalObj.interval;const t=K.Interval.parse(e);return this._intervalObj={resolutionString:e,interval:t},t}prevClose(){const e=this.priceScale();if(e.isEmpty()||this.data().isEmpty())return null;const t=this.quotes(),i=this.firstValue();if(null===t||null===i)return null;const s=t.prev_close_price;return void 0===s?null:{coordinate:e.priceToCoordinate(s,i),floatCoordinate:e.priceToCoordinate(s,i),formattedPricePercentage:e.formatPricePercentage(s,i,!0),formattedPriceAbsolute:e.formatPriceAbsolute(s),formattedPriceIndexedTo100:e.formatPriceIndexedTo100(s,i)}}hasClosePrice(){return 12!==this.properties().childs().style.value()}lastValueData(e,t,i){const s={noData:!0},r=this.priceScale();if(this.model().timeScale().isEmpty()||r.isEmpty()||this.data().isEmpty())return s;const n=this.model().timeScale().visibleBarsStrictRange(),o=this.firstValue();if(null===n||null===o)return s;let a,l;if(t){const e=this.data().bars().last();if(null===e)return s;a=e.value,l=e.index}else{const e=this.data().bars().search(n.lastBar(),h.PlotRowSearchMode.NearestLeft);if(null===e)return s;a=e.value,l=e.index}const c=void 0!==e?a[e]:this._barFunction(a),d=this.barColorer().barStyle(l,!1),u=r.priceToCoordinate(c,o),p={...r.getFormattedValues(c,o,!0),noData:!1,color:d.barColor,floatCoordinate:u,coordinate:u,index:l};return i&&(p.price=c),p}isDWM(){return this.intervalObj().isDWM()}data(){var e;return null!==(e=this._data)&&void 0!==e?e:this._seriesSource.data()}clearData(){(0,s.assert)(null===this._data,"Cannot clear loaded data"),this._seriesSource.clearData()}nearestValue(e,t,i){const s=this.nearestData(e,i);return s?s.value[t]:void 0}onIntervalChanged(){return this._intervalChanged}onStatusChanged(){return this._onStatusChanged}onRestarted(){return this._onRestarted}onExtendedHoursChanged(){return this._extendedHoursChanged}sessionId(){return this.properties().childs().sessionId.value()}sessionIdChanged(){return this._sessionIdChanged}autoScaleInfo(e,t){const i=this.priceRange(e,t);if(null===this._paneView)return{range:i};const s=this._paneView;return{range:i,topPixelMargin:s.topPixelMargin?s.topPixelMargin():void 0,bottomPixelMargin:s.bottomPixelMargin?s.bottomPixelMargin():void 0}}onChartStyleChanged(){var e;this._updateBarFunction(), +!this._preventRestartOnChartStyleChange&&this.isNeedRestart()&&(this.data().clear(),this.model().timeScale().scrollToRealtime(!1),this.restart());const t=this.properties();this._prevChartStyle=t.childs().style.value(),this._onStyleChanged.fire(t.childs().style.value()),this.invalidateBarStylesCache(),this._updateLastPriceAnimationActive(),(null===(e=this._styleToRecover)||void 0===e?void 0:e.originalStyle)!==this.style()&&(this._styleToRecover=null)}setChartStyleWithIntervalIfNeeded(e,t){const i=this.interval(),s=null!=t?t:(0,rt.getResolutionByChartStyle)(e,i,this._model.defaultResolutions()),r=K.Interval.isEqual(s,i);this.setSymbolParams({interval:r?void 0:s,style:e})}styleStudyInfos(){return{haStyle:this._haStyle,renkoStyle:this._renkoStyle,pbStyle:this._pbStyle,kagiStyle:this._kagiStyle,pnfStyle:this._pnfStyle,rangeStyle:this._rangeStyle}}sessionIdProxyProperty(){return this._sessionIdProxyProperty}symbolTextSourceProxyProperty(){return this._symbolTextSourceProxyProperty}setTextSourceIsAlwaysTickerRestrictionEnabled(e){this._textSourceIsAlwaysTickerRestrictionEnabled=e,this._recalcSymbolTextSourceProxyProperty()}isPrePostMarketPricesAvailableProperty(){return this._isPrePostMarketPricesAvailableProperty}isSettlementAsCloseForbiddenProperty(){return this._isSettlementAsCloseForbiddenProperty}isBackAdjustmentForbiddenProperty(){return this._isBackAdjustmentForbiddenProperty}dataWindowView(){return this._dataWindowView}statusView(){return Vt?this._statusView:null}legendView(){return this._legendView}marketStatusModel(){return this._marketStatusModel}dataUpdatedModeModel(){return this._dataUpdatedModeModel}dataProblemModel(){return this._dataProblemModel}quotes(){return this.data().isEmpty()?null:this._quotesProvider.quotes()}base(){return this._base}pointValue(){return this._pointValue}barCloseTime(){return this._lastBarCloseTime}priceSource(){let e=null;const t=this._properties.childs();switch(t.style.value()){case 2:e=t.lineStyle.childs().priceSource.value();break;case 3:e=t.areaStyle.childs().priceSource.value();break;case 10:e=t.baselineStyle.childs().priceSource.value();break;case 13:e=t.columnStyle.childs().priceSource.value()}return e}updateAllViews(e){var t,i,s,r,n,o,a;null===(t=this._paneView)||void 0===t||t.update(e),this._dataWindowView.update(),this._legendView.update(),this._statusView.update(),this._averagePaneViews.forEach(t=>t.update(e)),this._highLowAvgPaneViews.forEach(t=>t.update(e)),this._labelPaneViews.forEach(t=>t.update(e)),this._priceAxisViews.forEach(t=>t.update(e)),this._priceLineAxisViews.forEach(t=>t.update(e)),null===(i=this._futureBarsPaneView)||void 0===i||i.update(e),null===(s=this._projectionBarsPaneView)||void 0===s||s.update(e),null===(r=this._waterlineView)||void 0===r||r.update(e),null===(n=this._priceLineView)||void 0===n||n.update(e),null===(o=this._gotoDateView)||void 0===o||o.update(e),null===(a=this._baseHorizontalLineView)||void 0===a||a.update(e);const l=this._model.activeStrategySource().value();null==l||l.updateAllViews(e),this._lineStyleLastPriceCirclePaneView.update(e) +}barFunction(){return this._barFunction}setSymbolParams(e){const{symbol:t,interval:i,currency:s,unit:r,style:n}=e,o=this.properties().childs(),a=void 0!==t&&t!==o.symbol.value(),l=void 0!==s&&s!==o.currencyId.value(),c=void 0!==r&&r!==o.unitId.value(),h=void 0!==i&&i!==o.interval.value(),d=void 0!==n&&n!==o.style.value();a&&o.symbol.setValueSilently(t),l&&o.currencyId.setValueSilently(s),c&&o.unitId.setValueSilently(r),h&&o.interval.setValueSilently(i),d&&o.style.setValueSilently(n),a&&o.symbol.listeners().fire(o.symbol),l&&o.currencyId.listeners().fire(o.currencyId),c&&o.unitId.listeners().fire(o.unitId),h&&o.interval.listeners().fire(o.interval),d&&(a||l||c||h?(this._preventRestartOnChartStyleChange=!0,o.style.listeners().fire(o.style),this._preventRestartOnChartStyleChange=!1):o.style.listeners().fire(o.style))}setSymbol(e){this.setSymbolParams({symbol:e})}currency(){return this.properties().childs().currencyId.value()||null}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,p.isConvertedToOtherCurrency)(this.symbolInfo())}unit(){return this.properties().childs().unitId.value()||null}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,p.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}symbolSource(){return this}title(){return this.symbolTitle()}name(){return this.symbolTitle()}symbolTitle(e,t,i="exchange"){let s=this.properties().childs().symbol.value();const r=this.symbolInfo();if(null!==r){const{type:t}=r;s=(0,p.symbolTitle)(r,e,"forex"===t?"exchange":i)}return t?s:`${s}, ${(0,M.translatedIntervalString)(this.properties().childs().interval.value())}`}setObsoleteZOrder(e){this._obsoleteZOrder=e}obsoleteZOrder(){return this._obsoleteZOrder}valuesProvider(){return new N(this,this.model())}statusProvider(e){return new T(this,this._model.properties().childs().scalesProperties.childs().textColor,this.properties().childs().statusViewStyle,e)}open(e){const t=this.data().valueAt(e);return t&&t[1]}high(e){const t=this.data().valueAt(e);return t&&t[2]}low(e){const t=this.data().valueAt(e);return t&&t[3]}close(e){const t=this.data().valueAt(e);return t&&t[4]}moveItem(e,t,i){if(10===this.style()&&0===t){const t=this.priceScale(),i=this.properties().childs().baselineStyle,s=t.height(),r=100-e.y/s*100,n=r<0?0:Math.round(10*r)/10;i.childs().baseLevelPercentage.setValue(Math.max(Math.min(n,100),0))}}requestMoreDataAvailable(){return this._requestMoreDataAvailable}endOfData(){return null!==this._endOfDataType}dataPoweredBy(){return null}boxSizeValue(){return this._boxSizeValue}isUserDeletable(){return!1}changeSymbol(){this.setSymbolIntervalCurrencyDelayed(),this.model().checkLineToolSelection()}changeInterval(){this.setSymbolIntervalCurrencyDelayed()}changeTimeFrame(){(0,n.trackEvent)("GUI","Change timeframe")}onTagsChanged(){return this._tagsChanged}state(e){const t=this.obsoleteZOrder();let i={type:"MainSeries",id:this.id(),zorder:t,haStyle:this._haStyle,renkoStyle:this._renkoStyle,pbStyle:this._pbStyle,kagiStyle:this._kagiStyle, +pnfStyle:this._pnfStyle,rangeStyle:this._rangeStyle};const s=this.properties().state();return this._symbolInfo&&(this._symbolInfo.ticker&&(s.symbol=this._symbolInfo.ticker),i.formattingDeps={format:this._symbolInfo.format,pricescale:this._symbolInfo.pricescale,minmov:this._symbolInfo.minmov,fractional:this._symbolInfo.fractional,minmove2:this._symbolInfo.minmove2}),this._model.unitConversionEnabled()||(s.unitId=null),i.state=s,e&&(i={...i,bars:this._barsState(this.bars()),nsBars:this._barsState(this.nsBars()),symbolInfo:this._symbolInfo,rtPrice:this.data().lastProjectionPrice,boxSize:this.data().boxSize,reversalAmount:this.data().reversalAmount}),i}restoreState(e,t){if(t&&this._setStatus(5),!this._model.unitConversionEnabled()&&e.state&&delete e.state.unitId,this._properties.mergeAndFire(e.state),this._properties.hasChild("esdBreaksStyle")&&this._properties.removeProperty("esdBreaksStyle"),this._prevChartStyle=this.properties().childs().style.value(),this.createPaneView(),t){const t=e;this.restoreData(t.bars,t.nsBars,t.symbolInfo,t.rtPrice,t.boxSize,t.reversalAmount)}e.formattingDeps&&(this._formattingDeps=e.formattingDeps,this._recreatePriceFormattingDependencies())}restoreData(e,t,i,s,r,n){this._status=5,this._data=new c.SeriesData,this._data.bars().restoreState(e),this._data.nsBars().restoreState(t),this._updateSymbolInfo(i,!1),this._data.lastProjectionPrice=s,this._data.boxSize=r;const o=this.properties().childs();r||(6===o.style.value()?this._data.boxSize=o.pnfStyle.childs().inputs.childs().boxSize.value():4===o.style.value()&&(this._data.boxSize=o.renkoStyle.childs().inputs.childs().boxSize.value())),this._data.reversalAmount=n,n||5===o.style.value()&&(this._data.reversalAmount=o.kagiStyle.childs().inputs.childs().reversalAmount.value()),this._loading=!1}_barsState(e){const t=e.state();return t.data.forEach(e=>e.value.splice(7,1)),t}_updateBarFunction(){if(12===this.properties().childs().style.value())this._barFunction=(0,c.barFunction)("low");else{const e=this.priceSource()||"close";this._barFunction=(0,c.barFunction)(e)}}_setProperties(e){e.hasChild("timeframe")||e.merge({timeframe:""}),e.hasChild("shortName")||e.merge({shortName:""}),e.hasChild("currencyId")||e.addChild("currencyId",new(u())(null)),e.hasChild("unitId")||e.addChild("unitId",new(u())(null)),this._properties=e;const t=e.childs();t.symbol.listeners().subscribe(this,this.changeSymbol),t.interval.listeners().subscribe(this,this.changeInterval),t.currencyId.listeners().subscribe(this,this._changeCurrency),t.unitId.listeners().subscribe(this,this._changeUnit),t.timeframe.listeners().subscribe(this,this.changeTimeFrame),e.subscribe(this,this._onPropertiesChanged)}_updateSessionIdProxyProperty(e){const t=this._properties.childs().sessionId.value();let i=t;if(e){const e=this.symbolInfo();null!==e&&(i=e.subsession_id||t)}this._ignoreSessionIdProxyPropertyChanges=!0,this._sessionIdProxyProperty.setValue(i),this._ignoreSessionIdProxyPropertyChanges=!1}_onSessionIdProxyPropertyChanged(){ +this._ignoreSessionIdProxyPropertyChanges||this._properties.childs().sessionId.setValue(this._sessionIdProxyProperty.value()),this._updateLastPriceAnimationActive()}_onSymbolResolved(e){var t;const i=this.properties().childs();S.enabled("charting_library_single_symbol_request")||(this.m_symbol=null!==(t=(0,p.extractSymbolNameFromSymbolInfo)(e,(0,p.symbolForApi)(e,i.symbol.value())))&&void 0!==t?t:i.symbol.value()),this._seriesErrorMessage=null,this._updateSymbolInfo(e,!1),this._model.updateSource(this),this._model.onWidget()||((0,n.trackEvent)("Symbol",e.listed_exchange,e.name),(0,n.trackEvent)("Symbol Type",e.type,e.listed_exchange));const s=e.minmov/e.pricescale;4===i.style.value()&&i.renkoStyle.childs().inputs.childs().boxSize.value()s(0)),o=Re(e,t,{label:Ne,labelVisible:r.highLowPriceLabelsVisible,lineVisible:r.highLowPriceLinesVisible,lineColor:r.highLowPriceLinesColor,lineWidth:r.highLowPriceLinesWidth},()=>s(1));return{paneViews:[n.paneView,o.paneView],panePriceAxisViews:[n.panePriceAxisView,o.panePriceAxisView],priceAxisViews:[n.priceAxisView,o.priceAxisView],priceLineAxisViews:[n.priceLineAxisView,o.priceLineAxisView]}}(this._model,this,e,t);this._highLowAvgPaneViews.push(...i.paneViews),this._labelPaneViews.push(...i.panePriceAxisViews),this._priceAxisViews.push(...i.priceAxisViews),this._priceLineAxisViews.push(...i.priceLineAxisViews)}_createAverageViews(){const e=this.properties().childs().highLowAvgPrice,t=this._getAveragePrice.bind(this),i=je(this._model,this,e,t);this._averagePaneViews.push(...i.paneViews),this._labelPaneViews.push(...i.panePriceAxisViews),this._priceAxisViews.push(...i.priceAxisViews),this._priceLineAxisViews.push(...i.priceLineAxisViews)}_getHighLowPrice(e){if(!this._highLowPriceCache.has(e)){const e=this._model.timeScale().visibleBarsStrictRange();if(null===e)return null;const t=function(e,t,i){return e.minMaxOnRangeCached(t,i,[{name:"low",offset:0},{name:"high",offset:0}])}(this._model.mainSeries().bars(),e.firstBar(),e.lastBar());if(null===t)return null;this._highLowPriceCache.set(1,t.min), +this._highLowPriceCache.set(0,t.max)}return this._highLowPriceCache.get(e)}_getAveragePrice(e){if(!this._averagePriceCache.has(e)){const e=this._model.timeScale().visibleBarsStrictRange();if(null===e)return null;const t=function(e,t,i){0;const s=(0,c.barFunction)("close");let r=0,n=0;for(let o=t;o<=i;o++){const t=e.valueAt(o);null!==t&&(r+=s(t),n++)}return n?r/n:null}(this._model.mainSeries().bars(),e.firstBar(),e.lastBar());if(null===t)return null;this._averagePriceCache.set(0,t)}return this._averagePriceCache.get(e)}_onSessionIdPropertyChanged(){this._sessionIdChanged.fire(),this.isDWM()||(this.restart(),this._updateLastPriceAnimationActive())}_subscribeRestartToSessionIdChange(){this.properties().childs().sessionId.subscribe(this,this._onSessionIdPropertyChangedBound)}_unsubscribeRestartToSessionIdChange(){this.properties().childs().sessionId.unsubscribe(this,this._onSessionIdPropertyChangedBound)}_updateLastPriceAnimationActive(){if(!this._options.lastPriceAnimationEnabled)return;const e=this._lastPriceAnimationActive,t=this.properties().childs(),i=t.style.value();if(this._model.isSnapshot()||!t.visible.value()||3!==i&&10!==i&&2!==i)this._lastPriceAnimationActive=!1;else{const e=this.currentSession(),t=!(0,p.isRegularSessionId)(this.sessionIdProxyProperty().value())&&!this.isDWM();this._lastPriceAnimationActive="market"===e||t&&("pre_market"===e||"post_market"===e)}this._lastPriceAnimationActive&&e!==this._lastPriceAnimationActive&&this.model().invalidate(tt.InvalidationMask.cursor())}_onPropertiesChanged(e){const t=this._properties.childs();e!==t.symbol&&e!==t.interval&&e!==t.timeframe&&(this._tagsChanged.fire(),this.createPaneView(),this.updateAllViews((0,Se.dataSourceChangeEvent)(this._id)),this.model().updateSource(this),(0,o.emit)("series_properties_changed",this._id))}_recalcSymbolTextSourceProxyProperty(){this._textSourceIsAlwaysTickerRestrictionEnabled?this._symbolTextSourceProxyProperty.setValue("ticker"):this._symbolTextSourceProxyProperty.setValue(this._properties.childs().statusViewStyle.childs().symbolTextSource.value())}}},16654:(e,t,i)=>{"use strict";i.r(t),i.d(t,{STATUS_OFFLINE:()=>s,STATUS_RESOLVING:()=>r,STATUS_LOADING:()=>n,STATUS_READY:()=>o,STATUS_INVALID_SYMBOL:()=>a,STATUS_SNAPSHOT:()=>l,STATUS_EOD:()=>c,STATUS_PULSE:()=>h,STATUS_DELAYED:()=>d,STATUS_DELAYED_STREAMING:()=>u,STATUS_NO_BARS:()=>p,STATUS_REPLAY:()=>_,STATUS_ERROR:()=>m,SERIES_STATUS_TEXT:()=>g,STYLE_LINE_TYPE_MARKERS:()=>f,STYLE_LINE_TYPE_STEP:()=>v,STYLE_LINE_TYPE_SIMPLE:()=>S,STYLE_BARS:()=>y,STYLE_CANDLES:()=>b,STYLE_LINE:()=>w,STYLE_AREA:()=>C,STYLE_RENKO:()=>P,STYLE_KAGI:()=>T,STYLE_PNF:()=>x,STYLE_PB:()=>I,STYLE_HEIKEN_ASHI:()=>M,STYLE_HOLLOW_CANDLES:()=>L,STYLE_BASELINE:()=>A,STYLE_RANGE:()=>E,STYLE_HILO:()=>k,STYLE_COLUMNS:()=>D,STYLE_SHORT_NAMES:()=>V,SYMBOL_STRING_DATA:()=>B});const s=0,r=1,n=2,o=3,a=4,l=5,c=6,h=7,d=8,u=9,p=10,_=11,m=12,g={[s]:"connecting",[r]:"loading",[n]:"loading",[o]:"realtime",[a]:"invalid",[l]:"snapshot",[c]:"endofday",[h]:"endofday",[d]:"delayed",[u]:"delayed_streaming",[p]:"forbidden", +[_]:"replay",[m]:"error"},f=0,v=1,S=2,y=0,b=1,w=2,C=3,P=4,T=5,x=6,I=7,M=8,L=9,A=10,E=11,k=12,D=13,V={0:"bar",1:"candle",9:"hollowCandle",2:"line",3:"area",4:"renko",7:"pb",5:"kagi",6:"pnf",8:"ha",10:"baseline",11:"range",12:"hilo",13:"column"},B={4:{type:"BarSetRenko@tv-prostudies",basicStudyVersion:40},7:{type:"BarSetPriceBreak@tv-prostudies",basicStudyVersion:34},5:{type:"BarSetKagi@tv-prostudies",basicStudyVersion:34},6:{type:"BarSetPnF@tv-prostudies",basicStudyVersion:34},8:{type:"BarSetHeikenAshi@tv-basicstudies",basicStudyVersion:60},11:{type:"BarSetRange@tv-basicstudies",basicStudyVersion:72}}},63948:(e,t,i)=>{"use strict";i.d(t,{seriesPlotFunctionMap:()=>c,barFunction:()=>h,SeriesData:()=>p});var s,r=i(88537),n=i(71053),o=i(55257);!function(e){e[e.FromLeft=-1]="FromLeft",e[e.FromRight=1]="FromRight"}(s||(s={}));const a={open:e=>e[1],high:e=>e[2],low:e=>e[3],close:e=>e[4],hl2:e=>(e[2]+e[3])/2,hlc3:e=>(e[2]+e[3]+e[4])/3,ohlc4:e=>(e[1]+e[2]+e[3]+e[4])/4},l=["open","high","low","close","hl2","hlc3","ohlc4"];function c(){const e=new Map;return l.forEach((t,i)=>{e.set(t,h(t))}),e}function h(e){return a[e]}function d(e,t){return null==e[t]}const u=[{barsToMerge:10,forBarspacingLargerThen:.03},{barsToMerge:30,forBarspacingLargerThen:.01},{barsToMerge:100,forBarspacingLargerThen:.003},{barsToMerge:500,forBarspacingLargerThen:0}];class p{constructor(){this._pressedChunks={chunks:new Map,priceSource:"uninitialized"},this.m_bars=new n.PlotList(c(),d),this.m_nsBars=new n.PlotList(c(),d),this._clearPressedChunks()}bars(){return this.m_bars}nsBars(){return this.m_nsBars}pressedChunks(e,t){if(t!==this._pressedChunks.priceSource){this._pressedChunks.priceSource=t;const e=this.m_bars.first();e&&(this._clearPressedChunks(),this._rebuildPressedChunks(e))}const i=(0,r.ensureDefined)(u.find(t=>t.forBarspacingLargerThen<=e));return(0,r.ensureDefined)(this._pressedChunks.chunks.get(i.barsToMerge))}mergeRegularBars(e){const t=this.m_bars.size(),i=this.m_bars.merge(e);return i&&"uninitialized"!==this._pressedChunks.priceSource&&(t===this.m_bars.size()&&i.index===this.m_bars.lastIndex()?this._updateLatestChunks():this._rebuildPressedChunks(i)),i}size(){return this.m_bars.size()+this.m_nsBars.size()}each(e){this.m_bars.each(e),this.m_nsBars.each(e)}clear(){this.m_bars.clear(),this.m_nsBars.clear(),this.lastProjectionPrice=void 0,this._clearPressedChunks()}isEmpty(){return this.m_bars.isEmpty()&&this.m_nsBars.isEmpty()}first(){return this.m_bars.isEmpty()?this.m_nsBars.first():this.m_bars.first()}last(){return this.m_nsBars.isEmpty()?this.m_bars.last():this.m_nsBars.last()}search(e,t){return this.nsBars().isEmpty()?this.bars().search(e,t):this.bars().isEmpty()||(0,r.ensureNotNull)(this.nsBars().firstIndex())<=e?this.nsBars().search(e,t):this.bars().search(e,t)}valueAt(e){const t=this.search(e);return null!==t?t.value:null}plotValueToTimePointIndex(e,t,i){if(i===s.FromRight){const i=(i,s)=>{const r=s[t];return null!=r&&e>=r},s=this.m_bars.findLast(i);if(null!==s)return s.index;const r=this.m_nsBars.findLast(i) +;return null!==r?r.index:this.m_bars.firstIndex()}if(i===s.FromLeft){const i=(i,s)=>{const r=s[t];return null!=r&&e<=r},s=this.m_bars.findFirst(i);if(null!==s)return s.index;const r=this.m_nsBars.findFirst(i);return null!==r?r.index:this.m_bars.lastIndex()}throw new Error("plotValueToTimePointIndex: unsupported search mode")}moveData(e){this.m_bars.move(e),this.m_nsBars.move(e),this.m_bars.size()>0&&this._rebuildPressedChunks((0,r.ensureNotNull)(this.m_bars.first()))}_rebuildPressedChunks(e){const t=this._pressedChunks.priceSource;if("uninitialized"===t)return;const i=e.index,s=a[t],n=(e,t,i)=>{let r=null;for(;e.hasNext();){const n=e.next(),o=s(n.value);r&&n.index-r.startTime>=i.barsToMerge&&(t.push(r),r=null),r?(r.endTime=n.index,r.high=Math.max(r.high,o),r.low=Math.min(r.low,o),r.close=o):r={startTime:n.index,endTime:n.index,open:o,high:o,low:o,close:o}}r&&t.push(r)};u.forEach(e=>{const t=(0,r.ensureDefined)(this._pressedChunks.chunks.get(e.barsToMerge)),s=(0,o.lowerbound)(t,i,(e,t)=>e.endTime0){const i=t[0].startTime-1,s=(0,r.ensureNotNull)(this.m_bars.firstIndex()),o=this.m_bars.rangeIterator(s,i),a=[];n(o,a,e);const l=a.concat(t);this._pressedChunks.chunks.set(e.barsToMerge,l)}else{const i=(0,r.ensureNotNull)(this.m_bars.lastIndex());t.splice(s);let o=(0,r.ensureNotNull)(this.m_bars.firstIndex());t.length&&(o=t[t.length-1].endTime+1);const a=this.m_bars.rangeIterator(o,i);n(a,t,e)}})}_updateLatestChunks(){const e=(0,r.ensureNotNull)(this.m_bars.lastIndex());u.forEach(t=>{const i=(0,r.ensureDefined)(this._pressedChunks.chunks.get(t.barsToMerge)),s=this.m_bars.rangeIterator(e,e).next(),n=s.value[4],o=i[i.length-1];o.high=Math.max(o.high,n),o.low=Math.min(o.low,n),o.close=n,o.endTime=s.index})}_clearPressedChunks(){u.forEach(e=>this._pressedChunks.chunks.set(e.barsToMerge,[]))}}},34081:(e,t,i)=>{"use strict";i.d(t,{SeriesTimeRangeVolumeCalculator:()=>s});class s{constructor(e){this._value=null,this._series=e,this._series.dataEvents().dataUpdated().subscribe(this,this._onSeriesUpdated)}destroy(){this._series.dataEvents().dataUpdated().unsubscribeAll(this)}volume(e,t){if(null!==this._value&&this._value.from===e&&this._value.to===t)return this._value.value;let i=0;const s=this._series.data().bars(),r=s.firstIndex(),n=s.lastIndex();if(null!==r&&en&&t>n)i=NaN;else{const s=this._series.data().bars().rangeIterator(Math.min(e,t),Math.max(e,t));for(;s.hasNext();){const e=s.next().value[5];if(void 0===e){i=NaN;break}i+=e}}return this._value={from:e,to:t,value:i},i}_onSeriesUpdated(e,t){if(null===this._value)return;if(t)return void(this._value=null);const i=this._series.data().bars().lastIndex();(null===i||i<=this._value.to)&&(this._value=null)}}},37667:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isRequiringRestartSeriesStyles:()=>y,isRangeBasedStyle:()=>b,isRangeStyle:()=>w,isTimeBasedStyle:()=>C,isValidStyle:()=>P,isSingleValueBasedStyle:()=>T,setLastUsedStyle:()=>x,getLastUsedStyle:()=>I,getLastUsedSingleValueBasedStyle:()=>M,getDefaultStyle:()=>L,getChartStyleByResolution:()=>A, +chartStyleStudyId:()=>E,preparePriceAxisProperties:()=>k,hasProjection:()=>V,isPriceSourceStyle:()=>B,getSeriesPriceFormattingState:()=>N,createSeriesFormatter:()=>R,symbolCurrencyConvertible:()=>O,symbolCurrency:()=>F,symbolOriginalCurrency:()=>W,symbolBaseCurrency:()=>H,isConvertedToOtherCurrency:()=>z,symbolUnitConvertible:()=>U,symbolUnit:()=>j,symbolOriginalUnit:()=>G,isConvertedToOtherUnit:()=>q,symbolUnitConvertibleGroupsIfExist:()=>Y,symbolCurrentContract:()=>K,symbolHasPreOrPostMarket:()=>$,symbolHasSeveralSessions:()=>X,symbolHasEconomicEvents:()=>Z,extractSymbolNameFromSymbolInfo:()=>J,symbolTitle:()=>Q,displayedSymbolName:()=>ee,displayedSymbolExchange:()=>te,actualSymbol:()=>ie,proSymbol:()=>se,symbolForApi:()=>re,isRegularSessionId:()=>ne,isCloseBasedSymbol:()=>oe,isMeasureUnitSymbol:()=>ae,measureUnitId:()=>le,hasVolume:()=>ce,isEconomicSymbol:()=>he,getStudySymbolExchange:()=>de,isFutureContinuousSymbolWithBackajustment:()=>ue,isCryptoSymbol:()=>pe});var s=i(56840),r=i(16654),n=i(29823),o=i(97098),a=i(67337),l=i(88537),c=i(67802),h=i(26811);const d=a.enabled("pay_attention_to_ticker_not_symbol"),u=a.enabled("uppercase_instrument_names"),p=a.enabled("charting_library_single_symbol_request"),_=a.enabled("use_ticker_on_symbol_info_update"),m=a.enabled("hide_object_tree_and_price_scale_exchange_label"),g=[4,5,6,7,8],f=[4,5,6,7,11],v=[0,1,9,2,3,10,8,13],S=[2,10,3,13];function y(e){return-1!==g.indexOf(e)}function b(e){return-1!==f.indexOf(e)}function w(e){return 11===e}function C(e){return-1!==v.indexOf(e)}function P(e){return b(e)||C(e)}function T(e){switch(e){case 3:case 10:case 2:case 13:return!0;default:return!1}}function x(e,t){P(e)&&(11!==e&&s.setValue("chart.lastUsedStyle",e),oe(t)&&T(e)&&s.setValue("chart.lastUsedSingleValueBasedStyle",e))}function I(){const e=s.getInt("chart.lastUsedStyle");return void 0===e?1:e}function M(){const e=s.getInt("chart.lastUsedSingleValueBasedStyle");return void 0===e?2:e}function L(e){return e?11:1}function A(e,t){const i=w(t),s=n.Interval.isRange(e);return!i&&s?L(!0):i&&!s?L(!1):t}function E(e,t){const i=r.SYMBOL_STRING_DATA[e];return void 0===i?null:t?`${i.type}-${i.basicStudyVersion}`:i.type}function k(e){const t=e.priceAxisProperties,i=t.lockScale.value(),s=6===e.style.value();(s||i)&&(t.log.setValue(!1),t.percentage.setValue(!1)),t.logDisabled.setValue(!(!s&&!i)),t.percentageDisabled.setValue(!(!s&&!i))}const D=[4,7,5,6];function V(e){return-1!==D.indexOf(e)}function B(e){return S.includes(e)}function N(e,t="default",i=!1){let s,r,n=100,o=1;if("default"===t)null!=e&&(n=e.pricescale,o=e.minmov,s=e.fractional,r=e.minmove2);else{let e=t.split(",");3!==e.length&&(e=["100","1","false"]),n=parseInt(e[0]),o=parseInt(e[1]),s="true"===e[2]}return i&&(o=1),{priceScale:n,minMove:o,fractional:s,minMove2:r}}function R(e,t,i=!1){if("default"===t&&null!=e){const t=e.formatter||e.format;if("volume"===t)return new c.VolumeFormatter(2);if("percent"===t)return new h.PercentageFormatter(e.pricescale)}const{priceScale:s,minMove:r,fractional:n,minMove2:a}=N(e,t,i) +;return new o.PriceFormatter(s,r,n,a)}function O(e){return null!==e&&"spread"!==e.type}function F(e,t,i){if(null===e)return null;const s=!t||i?e.currency_id:e.currency_code;return void 0===s||""===s?null:s}function W(e,t){const i=t?e.original_currency_code:e.original_currency_id;return null!=i?i:F(e,t)}function H(e){return e.base_currency_id||null}function z(e){return!(null===e||!O(e))&&(void 0!==e.original_currency_id&&e.original_currency_id!==e.currency_id)}function U(e,t){return t&&null!==e&&"spread"!==e.type}function j(e,t){if(null===e||!t)return null;const i=e.unit_id;return void 0===i||""===i?null:i}function G(e,t){return t?e.original_unit_id||j(e,t):null}function q(e,t){return!(null===e||!U(e,t))&&(void 0!==e.original_unit_id&&e.original_unit_id!==e.unit_id)}function Y(e,t){return null!==e&&U(e,t)?e.unit_conversion_types||null:[]}function K(e){return"futures"===e.type&&e.front_contract||null}function $(e){return null!==e&&void 0!==e.subsessions&&e.subsessions.some(e=>"premarket"===e.id||"postmarket"===e.id)}function X(e){return null!==e&&void 0!==e.subsessions&&e.subsessions.filter(e=>!e.private).length>1}function Z(e){return null!==e&&("forex"===e.type||"cfd"===e.type||pe(e))}function J(e,t){let i=e&&(e.pro_name||e.full_name||e.name);return p&&t?i=t:_&&e&&e.ticker&&(i=e.ticker),u&&i&&(i=i.toUpperCase()),i}function Q(e,t,i="exchange"){return t||m?e.name:`${e.name}, ${e[i]}`}function ee(e){let t=e&&(K(e)||e.name)||"";return t.length>40&&(t=t.substring(0,37)+"..."),t.trim()}function te(e){const t=e?e.exchange:"";return u?t.toUpperCase():t}function ie(e,t){return null!==e?e.full_name:t}function se(e,t){return null!==e?e.pro_name:t}function re(e,t){return d&&e?(0,l.ensureDefined)(e.ticker):ie(e,t)}function ne(e){return"regular"===e||"us_regular"===e}function oe(e){return"c"===(null==e?void 0:e.visible_plots_set)}function ae(e){return null!==e&&("unit"===e.measure&&null!==le(e))}function le(e){var t;return null!==(t=null==e?void 0:e.value_unit_id)&&void 0!==t?t:null}function ce(e){return void 0!==e.visible_plots_set?"ohlcv"===e.visible_plots_set:!e.has_no_volume}function he(e){return null!==e&&"economic"===e.type}function de(e){return he(e)&&e.source?e.source:e.exchange&&0!==e.exchange.length?e.exchange:void 0}function ue(e){var t;return null!==e&&"futures"===e.type&&Boolean(e.has_backadjustment&&(null===(t=e.typespecs)||void 0===t?void 0:t.includes("continuous")))}function pe(e){var t;return(null===(t=e.typespecs)||void 0===t?void 0:t.includes("crypto"))||"crypto"===e.type||"bitcoin"===e.type}},56972:(e,t,i)=>{"use strict";var s=i(2872),r=i(2015),n=i(69927).PriceRange;TradingView.DEFAULT_BAR_COUNT=300,TradingView.TIME_PLOT=0,TradingView.OPEN_PLOT=1,TradingView.HIGH_PLOT=2,TradingView.LOW_PLOT=3,TradingView.CLOSE_PLOT=4,TradingView.ADT_PLOT=6,TradingView.STYLE_PLOT=7;var o=i(88537).ensureNotNull,a=i(55030).SeriesBase,l=i(67337);const{dataSourceChangeEvent:c}=i(33291);var h=i(33981).SeriesBarColorer,d=i(71053),u=d.PlotRowSearchMode,p=d.mergeMinMax,_=(i(51768).trackEvent, +i(98125).getLogger("Chart.Series")),m=i(16654),g=i(37667),f=i(9315).getServerInterval,v=i(29823).Interval,S=i(73532).SeriesHorizontalBaseLinePaneView,y=i(15840).deepExtend,b=i(19234).encodeExtendedSymbolOrGetSimpleSymbolString,w=i(76422),C=i(73383).TIMEFRAMETYPE,P=i(23653).InvalidationMask,T=i(37667).isSingleValueBasedStyle;const x=l.enabled("pre_post_market_sessions");class I extends a{constructor(e,t,i,r){t.removeProperty("currencyId"),super(e,t,i,r),this._symbolIntervalChanged=new s,this.requestingIntradayWhenNotSupported=new s,this.requestingResolutionWhenNotSupported=new s,this._onInReplayStateChanged=new s,this._replayExitedDueUnsupportedInterval=new s,this._replayExitedDueUnavailableForUserInterval=new s,this._onTimeFrameApplied=new s,this._chartApi=e._chartApi,this.createPaneView(),this._replaySubscriber=null,this._isReplayResolutionAvailableForUser=null,this._properties.addExclusion&&(this._properties.addExclusion("visible"),this._properties.addExclusion("currencyId")),this._futureBarsPaneView=null,this.properties().minTick.listeners().subscribe(this,I.prototype._recreateFormatter);var n=this;this.properties().minTick.listeners().subscribe(null,(function(){n._model.fullUpdate()})),this._priceLineView=null,this._baseHorizontalLineView=new S(this),this._gotoDateResultCleared=!1,this._gotoDateView=null,this.bindStyleChange(),this.bindJapChartsInputs(),this._createIsDWMProperty(),this._symbolIntervalChanged.subscribe(this,this._checkInterval),this.properties().showCountdown.listeners().subscribe(this,I.prototype._onChangeShowCountdown),this._onChangeShowCountdown(this.properties().showCountdown),this._recreatePriceFormattingDependencies(),this.properties().lineStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this.properties().areaStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this.properties().baselineStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this.properties().columnStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this._updateBarFunction()}isLoading(){return this._loading}isSymbolInvalid(){return this._status===I.STATUS_INVALID_SYMBOL}styleStudyInfo(e){return this.styleStudyInfos()[e]}priceLineColor(e){return this.properties().priceLineColor.value()||e}serverTimeOffset(){return this._chartApi.serverTimeOffset()}_onChangeShowCountdown(e){var t=this;e.value()?this._countdownUpdateTimer=this._model.setInterval((function(){t._priceAxisView.updateCountdown()}),500):(this._model.clearInterval(this._countdownUpdateTimer),delete this._countdownUpdateTimer)}_createIsDWMProperty(){this._isDWMProperty=new r(this.isDWM()),this._onRestarted.subscribe(this,(function(){this._isDWMProperty.setValue(this.isDWM())}))}isDWMProperty(){return this._isDWMProperty}fixLastBar(e){0}isPulse(){return this._symbolInfo&&this._symbolInfo.resolutions.length>0}onSymbolIntervalChanged(){return this._symbolIntervalChanged}_clearStylePlot(e,t){if(0!==e.size()){var i=t||o(e.firstIndex()),s=o(e.lastIndex())+1;e.range(i,s).each((function(e,t){ +t[TradingView.STYLE_PLOT]=null}))}}invalidateBarStylesCache(e){_.logDebug("Invalidate style cache starting from "+e),this._clearStylePlot(this.bars(),e),this._clearStylePlot(this.nsBars())}invalidateBarColorerCache(){delete this._barColorerCache,this.invalidateBarStylesCache()}barColorer(){if(this._barColorerCache)return this._barColorerCache;for(var e=null,t=this._model.dataSources(),i=t.length-1;i>=0;i--){var s=t[i];if(s.metaInfo&&TradingView.isInherited(s.constructor,TradingView.Study)&&s.hasBarColorer()&&!s.isSourceHidden()){var r=s.barColorer();null===e?e=r:e.pushBackBarColorer(r)}}return null===e?e=new h(this):e.pushBackBarColorer(new h(this)),this._barColorerCache=e,this._barColorerCache}alertCreationAvailable(){const e=this.symbolInfo();return this.hasStateForAlert()&&e&&!g.isEconomicSymbol(e)}hasStateForAlert(){return!1}stateForAlert(){throw new Error("Not implemented")}idForAlert(){return a.prototype.idForAlert.call(this)}seriesSource(){return this._seriesSource}_onSeriesTimeFrame(e,t,i,s,r){var n=T(this.style())?e+.5:e,o=t;if(void 0===r)null!==i&&i.type!==C.PeriodBack||(o+=this._model.studyAwareDefaultRightOffset());else if(r.applyDefaultRightMargin)o+=this._model.studyAwareDefaultRightOffset();else if(r.percentRightMargin){var a=t-n+1,l=Math.max(0,Math.min(.99,r.percentRightMargin/100));o+=l*a/(1-l)}this._model.setTimeViewport(n,o)}_onSeriesError(e){this._loading=!1;var t=e.error;if(e.ctx){var i={};Object.entries(e.ctx).forEach((function(e,t){i[e]=t.toString()})),t=t.format(i)}l.enabled("charting_library_debug_mode")&&_.logNormal("Error reason: "+t),this._seriesErrorMessage=t;const s="unknown_symbol"!==t?I.STATUS_ERROR:l.enabled("no_bars_status")&&this._symbolInfo?I.STATUS_NO_BARS:I.STATUS_INVALID_SYMBOL;this._setStatus(s),this._seriesLoaded=!0,this._enablePriceRangeReady()}_onSeriesCompleted(e,t,i){if(this._setSymbolIntervalDelay){if(this._willSymbolIntervalCurrencyChanged())return void _.logNormal("command comes during symbol/interval changing");_.logNormal("series_completed comes when symbol interval delay present but symbol/interval should not be changed")}this._loading=!1,this._seriesErrorMessage=null;var s=e;switch("pulsed"===s&&(s="delayed"),s){case"streaming":this._setStatus(I.STATUS_READY);break;case"endofday":this._setStatus(I.STATUS_EOD);break;case"delayed":this._setStatus(I.STATUS_DELAYED);break;case"pulsed":this._setStatus(I.STATUS_PULSE);break;case"replay":this._setStatus(I.STATUS_REPLAY)}s.match(/delayed_streaming/)&&this._setStatus(I.STATUS_DELAYED_STREAMING),this._endOfDataType=void 0!==i?i.data_completed:null;var r=this._model.paneForSource(this);r.recalculatePriceScale(this.priceScale(),c(this.id()));var n=P.full();null!==this._model.appliedTimeFrame().value()&&n.lockVisibleTimeRangeOnResize(),this._model.invalidate(n),this.model().recalcVisibleRangeStudies(!0),this.model().recalcStudyBasedLineTools(),!this.m_priceScale.isLockScale()||this.model().timeScale().isEmpty()||this._seriesLoaded||(this.model().timeScale()._correctOffset(),this.model().timeScale().correctBarSpacing(), +this.model().resetPriceScale(r,this.priceScale())),this._seriesLoaded=!0,this._enablePriceRangeReady()}_onBarReceived(e){this.model().recalcVisibleRangeStudies(!0)}isStarted(){return this._seriesSource.isStarted()}restart(){if(this._status!==I.STATUS_SNAPSHOT){this._loading=!0,this._onRestarted.fire(),this._setStatus(I.STATUS_RESOLVING),this._updateSymbolInfo(null,!0);var e=this._properties.interval.value();this._checkIntervalWillChanged(e)&&this._notifyIntervalChanged(e);var t=null;this._pendingTimeRange&&(t=this._pendingTimeRange,delete this._pendingTimeRange),this._onBeforeModifySeries(this.getSymbolString(),e),this._onTimeFrameApplied.fire(t),e=f(e),this._data=null,this._seriesSource.modifySeries(this._getResolvingSymbolObject(),e,t),this._seriesSource.isStarted()||this._seriesSource.start(),this.m_symbol=this._properties.symbol.value(),this._currency=this._properties.currencyId.value(),this._unit=this._properties.unitId.value(),this.m_interval=this._properties.interval.value()}}hasDelayedSymbolIntervalChange(){return!!this._setSymbolIntervalDelay}setSymbolIntervalCurrencyDelayed(){this._willSymbolIntervalCurrencyChanged()&&(this._setSymbolIntervalDelay&&(_.logNormal("Clear timeout to change symbol/interval #"+this._setSymbolIntervalDelay),clearTimeout(this._setSymbolIntervalDelay)),this._setSymbolIntervalDelay=setTimeout(function(){const e=this._properties;_.logNormal("Timeout #"+this._setSymbolIntervalDelay+' fired, new symbol will be "'+e.symbol.value()+'"'),delete this._setSymbolIntervalDelay,this._setSymbolInterval(e.symbol.value(),e.interval.value(),e.currencyId.value(),e.unitId.value())}.bind(this),30),_.logNormal("Started timeout #"+this._setSymbolIntervalDelay+' to change symbol/interval from "'+this.m_symbol+'" to "'+this._properties.symbol.value()+'"'))}rerequestData(){this._setSymbolInterval(this.m_symbol,this.m_interval,this._currency,this._unit,!0)}_notifyIntervalChanged(e){var t={timeframe:this._pendingTimeRange};this._intervalChanged.fire(e,t),this._pendingTimeRange=t.timeframe}_setSymbolInterval(e,t,i,s,r){this.clearGotoDateResult(),v.isRange(t)&&this._properties.rangeStyle.inputs.range.setValue(v.parse(t).multiplier());var n=this._checkSymbolWillChanged(e),o=this._checkIntervalWillChanged(t),a=this._checkCurrencyWillChanged(i),l=this._checkUnitWillChanged(s);if(n||o||a||l||r)if(this._syncModel=null,this.m_symbol=e,this.m_interval=t,this._currency=i,this._unit=s,this._status!==I.STATUS_SNAPSHOT&&(!this._seriesSource.isStarted()||n||a||l)&&this._updateSymbolInfo(null,!n&&(a||l)),this._status!==I.STATUS_SNAPSHOT){this._loading=!0,this._setStatus(I.STATUS_RESOLVING),x&&this._updateIsPrePostMarketPricesForbiddenProperty(),this._symbolIntervalChanged.fire(),o&&this._notifyIntervalChanged(this.m_interval),this._onRestarted.fire(),this._seriesLoaded=!1,this._lineStyleLastPriceCirclePaneView.stopAnimation();var c=null;this._pendingTimeRange&&(c=this._pendingTimeRange,delete this._pendingTimeRange),this._onTimeFrameApplied.fire(c),this._onBeforeModifySeries(this.getSymbolString(),t),this._data=null, +this._seriesSource.modifySeries(this._getResolvingSymbolObject(),f(t),c,r),this._seriesSource.isStarted()||(this._predictBars=0,this._seriesSource.start()),(n||a||l)&&this.disablePriceRangeReady()}else this._model.realignLineTools();else this._model.realignLineTools()}setDefaultTimeframe(e){this._pendingTimeRange=e}symbol(){return this.properties().symbol.value()}hl2(e){return(this.high(e)+this.low(e))/2}hlc3(e){return(this.high(e)+this.low(e)+this.close(e))/3}ohlc4(e){return(this.open(e)+this.high(e)+this.low(e)+this.close(e))/4}priceRange(e,t){if(!TradingView.isInteger(e))return _.logDebug("Series.priceRange: incorrect startBar"),null;if(!TradingView.isInteger(t))return _.logDebug("Series.priceRange: incorrect endBar"),null;if(this.data().isEmpty())return null;if(this.m_priceScale.isLockScale()){var i=this._model.mainSeriesScaleRatio();if(null!==i){var s=this.priceScale().internalHeight()/(this.model().timeScale().barSpacing()/i),r=this.data().search(t,u.NearestLeft),o=(r.value[TradingView.HIGH_PLOT]+r.value[TradingView.LOW_PLOT])/2;return new n(o-.5*s,o+.5*s)}}var a=this.priceSource();if(null!==a)var l=this.data().bars().minMaxOnRangeCached(e,t,[{name:a,offset:0}]),c=this.data().nsBars().minMaxOnRangeCached(e,t,[{name:a,offset:0}]);else l=this.data().bars().minMaxOnRangeCached(e,t,[{name:"low",offset:0},{name:"high",offset:0}]),c=this.data().nsBars().minMaxOnRange(e,t,[{name:"low",offset:0},{name:"high",offset:0}]);var h=null!==(l=p(l,c))?l.min===l.max?new n(l.min-.5,l.max+.5):new n(l.min,l.max):new n(-.5,.5);return this.priceScale().isLog()?new n(this.priceScale().priceToLogical(h.minValue()),this.priceScale().priceToLogical(h.maxValue())):h}nearestData(e,t){if(TradingView.isInteger(e)){var i=this.data().search(e,t);return null!==i?i:void 0}_.logDebug("Series.nearestData: incorrect logicalPoint")}nearestIndex(e,t){var i=this.nearestData(e,t);return i?i.index:void 0}paneViews(){if(!this.properties().visible.value())return null;var e=[this._baseHorizontalLineView,this._paneView];return this._futureBarsPaneView&&e.push(this._futureBarsPaneView),this._projectionBarsPaneView&&e.push(this._projectionBarsPaneView),null!==this._waterlineView&&e.push(this._waterlineView),null!==this._priceLineView&&e.push(this._priceLineView),null!==this._gotoDateView&&e.push(this._gotoDateView),e.push(...this._highLowAvgPaneViews),e.push(...this._averagePaneViews),e}purgeSymbolInfo(){this._symbolInfo=null}requestMoreData(e){if((this._status===I.STATUS_READY||this._status===I.STATUS_PULSE||this._status===I.STATUS_DELAYED||this._status===I.STATUS_DELAYED_STREAMING||this._status===I.STATUS_EOD||this._status===I.STATUS_REPLAY)&&!this._model.timeScale().isEmpty()){var t=this._model.timeScale().visibleBarsStrictRange();if(null!==t&&0!==this.bars().size()){var i=t.lastBar()-o(this.data().last()).index;if(this._predictBars{this._gotoDateResultCleared||(this._gotoDateView=new t(this,e),this._model.updateSource(this))})}clearGotoDateResult(e){this._gotoDateView=null,this._gotoDateResultCleared=!0}getSourceIcon(){return{type:"loadSvg",svgId:"series."+this.properties().style.value()}}isStyleSupported(e){return!0}isIntervalSupported(e){return!0}isStyleSupportedForReplay(e){return g.isTimeBasedStyle(e)}isInReplay(){return null!==this._replaySubscriber}onTimeFrameApplied(){return this._onTimeFrameApplied}onInReplayStateChanged(){throw new Error("Not implemented")}replayExitedDueUnsupportedInterval(){throw new Error("Not implemented")}replayExitedDueUnavailableForUserInterval(){throw new Error("Not implemented")}switchToReplay(e,t){throw new Error("Not implemented")}switchToRealtime(){throw new Error("Not implemented")}_removeReplaySubscriber(){throw new Error("Not implemented")}_onBeforeModifySeries(e,t){0}destroy(){this._replayExitedDueUnsupportedInterval.destroy(),this._replayExitedDueUnavailableForUserInterval.destroy(),this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.destroy(),this.clearGotoDateResult(),this._legendView.destroy(),this._marketStatusModel.destroy(),null!==this._dataUpdatedModeModel&&this._dataUpdatedModeModel.destroy(),this._dataProblemModel.destroy(),this._paneView&&this._paneView.destroy&&this._paneView.destroy(),this._onTimeFrameApplied.destroy(),this._seriesSource.destroy(),super.destroy()}dataEvents(){return this._seriesSource.dataEvents()}moveData(e){return this._seriesSource.moveData(e)}} +Object.assign(I,m),TradingView.Series=I,t.Series=I,t.isSeries=function(e){return e instanceof I}},34041:(e,t,i)=>{"use strict";i.d(t,{SeriesAreaPaneView:()=>l});var s=i(68906),r=i(84705),n=i(94804),o=i(41892),a=i(83150);class l extends a.SeriesSingleLinePaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.priceScale();if(!i)return null;const a=this._source.properties().childs().areaStyle.childs(),l=a.transparency.value(),c={simpleMode:!1,barSpacing:this._model.timeScale().barSpacing(),items:this._items,lineColor:a.linecolor.value(),lineStyle:a.linestyle.value(),lineWidth:a.linewidth.value(),isSeries:!0,withMarkers:!1,bottom:i.height(),color1:(0,s.generateColor)(a.color1.value(),l),color2:(0,s.generateColor)(a.color2.value(),l)},h=new n.CompositeRenderer;return h.append(new r.PaneRendererArea(c)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&h.append(new o.SelectionRenderer(this._selectionData)),h}}},89128:(e,t,i)=>{"use strict";function s(e,t){return 100*(t-e)/Math.abs(e||1)}i.d(t,{barPercentChange:()=>s})},71263:(e,t,i)=>{"use strict";i.d(t,{PaneRendererBars:()=>n});var s=i(49094),r=i(52403);class n extends r.PaneRendererSeriesBase{constructor(e){super(),this._bars=e.bars,this._barSpacing=e.barSpacing,this._dontDrawOpen=e.dontDrawOpen,this._thinBars=e.thinBars}draw(e,t){e.save();const i=t.pixelRatio;if(this._barWidth=this._calcBarWidth(i),this._barWidth>=2){Math.max(1,Math.floor(i))%2!=this._barWidth%2&&this._barWidth--}this._barLineWidth=this._thinBars?Math.min(this._barWidth,Math.floor(i)):this._barWidth;let s=null;const r=this._barLineWidth<=this._barWidth&&this._barSpacing>=Math.floor(1.5*t.pixelRatio);for(const t of this._bars){s!==t.color&&(e.fillStyle=t.color,s=t.color);const n=Math.floor(.5*this._barLineWidth),o=Math.round(t.time*i),a=o-n,l=this._barLineWidth,c=a+l-1,h=Math.min(t.high,t.low),d=Math.max(t.high,t.low),u=Math.round(h*i)-n,p=Math.round(d*i)+n,_=Math.max(p-u,this._barLineWidth);e.fillRect(a,u,l,_);const m=Math.ceil(1.5*this._barWidth);if(r){const s=o-m,r=o+m,h=Math.min(a-s,r-c);if(!this._dontDrawOpen){let r=Math.max(u,Math.round(t.open*i)-n),o=r+l-1;o>u+_-1&&(o=u+_-1,r=o-l+1),e.fillRect(s,r,h,o-r+1)}let d=Math.max(u,Math.round(t.close*i)-n),p=d+l-1;p>u+_-1&&(p=u+_-1,d=p-l+1),e.fillRect(c+1,d,h,p-d+1)}}e.restore()}_getTolerance(){const e=this._calcBarWidth(1),t=this._thinBars?Math.min(e,1):e;return(0,s.interactionTolerance)().series+t/2}_getBarSpacing(){return this._barSpacing}_calcBarWidth(e){const t=Math.floor(e);return Math.max(t,Math.floor((0,s.optimalBarWidth)(this._barSpacing,e)))}}},66919:(e,t,i)=>{"use strict";i.d(t,{SeriesBarsPaneView:()=>a});var s=i(94804),r=i(41892),n=i(79035),o=i(71263);class a extends n.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.properties().childs(),n={bars:this._bars,barSpacing:this._model.timeScale().barSpacing(),dontDrawOpen:i.barStyle.childs().dontDrawOpen.value(), +thinBars:11===i.style.value()?i.rangeStyle.childs().thinBars.value():i.barStyle.childs().thinBars.value()},a=new s.CompositeRenderer;return a.append(new o.PaneRendererBars(n)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&a.append(new r.SelectionRenderer(this._selectionData)),a}}},35251:(e,t,i)=>{"use strict";i.d(t,{SeriesBaselinePaneView:()=>m});var s=i(68906),r=i(94804),n=i(86441),o=i(5531),a=i(4652),l=i(49094),c=i(55257),h=i(16282),d=i(84346);class u extends h.ScaledPaneRenderer{constructor(){super(...arguments),this._data=null}setData(e){this._data=e}hitTest(e){if(null===this._data)return null;const{items:t,topLineWidth:i,bottomLineWidth:s}=this._data,r=(0,l.interactionTolerance)().series+(i+s)/4,o=(0,c.lowerbound)(t,e,(e,t)=>e.x<=t.x),h=Math.max(1,o-1),u=Math.min(t.length-1,o+1);for(let i=h;i<=u;++i){const s=t[i-1],o=t[i],{distance:l}=(0,a.distanceToSegment)(new n.Point(s.x,s.y),new n.Point(o.x,o.y),new n.Point(e.x,e.y));if(l<=r)return new d.HitTestResult(d.HitTestResult.REGULAR)}return null}_drawImpl(e){if(null===this._data)return;const{items:t,baseLevelCoordinate:i,bottom:s,bottomFillColor1:r,bottomFillColor2:a,topFillColor1:c,topFillColor2:h,topLineColor:d,bottomLineColor:u,topLineWidth:p,bottomLineWidth:_}=this._data;if(!function(e){if(0===e.length)return!1;const t=e.findIndex(e=>(0,l.coordinateIsValid)(e.y));if(-1===t)return!1;let i=e.length-1;for(;i>t&&!(0,l.coordinateIsValid)(e[i].y);)i--;return!(t>i)}(t))return;const{topItems:m,bottomItems:g}=function(e,t){const i=[],s=[];let r=null;for(let a=0;a=t&&s.push(c),r=c;else{if(null===r)continue;c=r}if((0,l.coordinateIsValid)(h.y)&&(c.y>t&&h.yt))if(Math.abs(c.x-h.x)<1){const e=new n.Point(c.x,t);i.push(e),s.push(e)}else{const e=(0,o.intersectLineSegments)(c,h,new n.Point(c.x,t),new n.Point(h.x,t));if(null!==e){const t=c.add(h.subtract(c).scaled(e));i.push(t),s.push(t)}}}return{topItems:i,bottomItems:s}}(t,i);e.lineCap="round",e.lineJoin="round",0!==m.length&&(e.beginPath(),e.moveTo(m[0].x,i),this._makeLine(e,m,!0,0),e.closePath(),e.fillStyle=this._makeLinearGradient(e,c,h,i-s,i),e.fill(),e.beginPath(),this._makeLine(e,m,!1,0),e.lineWidth=p,e.strokeStyle=d,e.stroke()),0!==g.length&&(e.beginPath(),e.moveTo(g[0].x,i),this._makeLine(e,g,!0,1),e.closePath(),e.fillStyle=this._makeLinearGradient(e,r,a,i,i+s),e.fill(),e.beginPath(),this._makeLine(e,g,!1,1),e.lineWidth=_,e.strokeStyle=u,e.stroke())}_makeLine(e,t,i,s){if(null===this._data)return;const r=t.findIndex(e=>(0,l.coordinateIsValid)(e.y));if(-1===r)return;const{barSpacing:n,baseLevelCoordinate:o}=this._data,a=.25*n;let c;const h=t.length;for(let n=r;n=o&&h.y>=o){e.moveTo(h.x,h.y);continue}}else if(c&&c.y<=o&&h.y<=o){e.moveTo(h.x,h.y);continue}if(c&&(0,l.coordinateIsValid)(c.y))e.lineTo(h.x,h.y),i&&!(0,l.coordinateIsValid)(d.y)&&e.lineTo(h.x,o);else if(d&&(0, +l.coordinateIsValid)(d.y))i?(n!==r&&e.lineTo(h.x,o),e.lineTo(h.x,h.y)):e.moveTo(h.x,h.y);else if(i){if(0===n)continue;n!==r&&e.lineTo(h.x-a,o),e.lineTo(h.x-a,h.y),e.lineTo(h.x+a,h.y),e.lineTo(h.x+a,o)}else e.moveTo(h.x-a,h.y),e.lineTo(h.x+a,h.y);c=h}}}_makeLinearGradient(e,t,i,s,r){const n=e.createLinearGradient(0,s,0,r);return n.addColorStop(0,t),n.addColorStop(1,i),n}}var p=i(41892),_=i(83150);class m extends _.SeriesSingleLinePaneView{constructor(){super(...arguments),this._renderer=new u,this._topFillColor1="",this._topFillColor2="",this._bottomFillColor1="",this._bottomFillColor2="",this._topLineColor="",this._bottomLineColor="",this._topLineWidth=0,this._bottomLineWidth=0,this._barSpacing=0,this._bottom=0,this._baseLevelCoordinate=0}renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._renderer.setData({items:this._items,topFillColor1:this._topFillColor1,topFillColor2:this._topFillColor2,bottomFillColor1:this._bottomFillColor1,bottomFillColor2:this._bottomFillColor2,topLineColor:this._topLineColor,bottomLineColor:this._bottomLineColor,topLineWidth:this._topLineWidth,bottomLineWidth:this._bottomLineWidth,barSpacing:this._barSpacing,baseLevelCoordinate:this._baseLevelCoordinate,bottom:this._bottom});const i=new r.CompositeRenderer;return i.append(this._renderer),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&i.append(new p.SelectionRenderer(this._selectionData)),i}_updateImpl(){super._updateImpl();const e=this._source.priceScale();if(!e)return;const t=this._source.properties().childs().baselineStyle.childs(),i=t.transparency.value();this._topFillColor1=(0,s.generateColor)(t.topFillColor1.value(),i),this._topFillColor2=(0,s.generateColor)(t.topFillColor2.value(),i),this._bottomFillColor1=(0,s.generateColor)(t.bottomFillColor1.value(),i),this._bottomFillColor2=(0,s.generateColor)(t.bottomFillColor2.value(),i),this._topLineColor=t.topLineColor.value(),this._bottomLineColor=t.bottomLineColor.value(),this._topLineWidth=t.topLineWidth.value(),this._bottomLineWidth=t.bottomLineWidth.value(),this._barSpacing=this._model.timeScale().barSpacing(),this._bottom=e.height(),this._baseLevelCoordinate=Math.round(this._bottom*(Math.abs(100-t.baseLevelPercentage.value())/100))}}},42169:(e,t,i)=>{"use strict";i.d(t,{SeriesWaterlinePaneView:()=>a});var s=i(22221),r=i(56589),n=i(84346),o=i(43891);class a extends s.HorizontalLinePaneView{constructor(e){super(),this._getters=e;const t={cursorType:r.PaneCursorType.VerticalResize,activeItem:0,areaName:n.AreaName.SourceItemMove};this._lineRenderer.setHitTest(new n.HitTestResult(n.HitTestResult.MOVEPOINT,t)),this._lineRendererData.visible=!0,this._lineRendererData.linestyle=o.LINESTYLE_SPARSE_DOTTED}_updateImpl(){const{baseLevelPercentage:e,paneHeight:t,color:i}=this._getters,s=Math.abs(100-e());this._lineRendererData.y=Math.round(t()*(s/100)),this._lineRendererData.color=i()}}},52403:(e,t,i)=>{"use strict";i.d(t,{PaneRendererSeriesBase:()=>r});var s=i(84346);class r{constructor(){this._bars=[]}hitTest(e){ +const t=this._bars,i=this._getBarSpacing(),s=i/2;if(0===t.length)return null;const r=this._getTolerance(),n=t[0],o=t[t.length-1];if(e.xo.time+s+r)return null;let a=0,l=t.length-1,c=-1;for(;a<=l;){const i=Math.floor((a+l)/2),h=t[i];let d=s;if(h!==n&&h!==o||(d+=r),Math.abs(h.time-e.x)<=d){c=i;break}e.x-h.time>s?a=i+1:l=i-1}if(-1!==c){const n=Math.ceil(r/i);if(0!==n){const i=Math.max(0,c-n),o=Math.min(t.length-1,c+n);for(let n=i;n<=o;n++)if(Math.abs(e.x-t[n].time)<=s+r&&this._isPointAtBar(t[n],e.y,r))return this._getHitTest()}else if(this._isPointAtBar(t[c],e.y,r))return this._getHitTest()}return null}_getHitTest(){return new s.HitTestResult(s.HitTestResult.REGULAR)}_isPointAtBar(e,t,i){const s=Math.min(e.high,e.low),r=Math.max(e.high,e.low);return s-i<=t&&t<=r+i}}},48998:(e,t,i)=>{"use strict";i.d(t,{PaneRendererCandles:()=>l});var s=i(88537),r=i(84346),n=i(42759),o=i(49094),a=i(52403);class l extends a.PaneRendererSeriesBase{constructor(e){super(),this._barSpacing=1,this._barWidth=1,this._borderVisible=!1,this._barBorderWidth=1,this._wickVisible=!1,this._bodyVisible=!0,this._borderColor=void 0,this._wickColor=void 0,this._hittest=void 0,this._isPriceScaleInverted=!1,e&&this.setData(e)}setData(e){this._bars=e.bars,this._barSpacing=e.barSpacing,this._borderVisible=e.borderVisible,this._bodyVisible=e.bodyVisible,this._wickVisible=e.wickVisible,this._borderColor=e.borderColor,this._wickColor=e.wickColor,this._hittest=e.hittest,this._isPriceScaleInverted=e.isPriceScaleInverted}hitTest(e){return this._wickVisible||this._borderVisible||this._bodyVisible?super.hitTest(e):null}draw(e,t){if(0===this._bars.length)return;const i=t.pixelRatio;if(this._barWidth=(0,o.optimalCandlestickWidth)(this._barSpacing,i),this._barWidth>=2){Math.floor(i)%2!=this._barWidth%2&&this._barWidth--}this._wickVisible&&this._drawWicks(e,i),this._borderVisible&&this._drawBorder(e,i),this._bodyVisible&&this._drawCandles(e,i)}_getTolerance(){return(0,o.interactionTolerance)().series+this._barBorderWidth/2}_getBarSpacing(){return this._barSpacing}_getHitTest(){return this._hittest||new r.HitTestResult(r.HitTestResult.REGULAR)}_isPointAtBar(e,t,i){const s=this._bodyVisible||this._borderVisible,r=this._wickVisible;if(!s&&!r)return!1;if(s){const s=r?Math.min(e.high,e.low):Math.min(e.open,e.close),n=r?Math.max(e.high,e.low):Math.max(e.open,e.close);return s-i<=t&&t<=n+i}{const s=Math.min(e.open,e.close),r=Math.max(e.open,e.close);return e.high-i<=t&&t<=s+i||r-i<=t&&t<=e.low+i}}_drawWicks(e,t){const i=this._bars;let r="",n=Math.min(Math.floor(t),Math.floor(this._barSpacing*t));n=Math.max(Math.floor(t),Math.min(n,this._barWidth));const o=Math.floor(.5*n);let a=null;for(const l of i){const i=l.wickColor?l.wickColor:(0,s.ensureDefined)(this._wickColor);i!==r&&(e.fillStyle=i,r=i);let c=Math.round(Math.min(l.open,l.close)*t),h=Math.round(Math.max(l.open,l.close)*t);this._isPriceScaleInverted&&([h,c]=[c,h]);const d=Math.round(l.high*t),u=Math.round(l.low*t);let p=Math.round(t*l.time)-o;const _=p+n-1;null!==a&&(p=Math.max(a+1,p), +p=Math.min(p,_));const m=_-p+1;e.fillRect(p,d,m,c-d),e.fillRect(p,h+1,m,u-h-1),a=_}}_calculateBorderWidth(e){let t=Math.floor(1*e);this._barWidth<=2*t&&(t=Math.floor(.5*(this._barWidth-1)));const i=Math.max(Math.floor(e),t);return this._barWidth<=2*i?Math.max(Math.floor(e),Math.floor(1*e)):i}_drawBorder(e,t){let i="";const r=this._calculateBorderWidth(t);let o=null;for(const a of this._bars){if(a.borderColor!==i&&(e.fillStyle=a.borderColor?a.borderColor:(0,s.ensureDefined)(this._borderColor),i=a.borderColor),this._bodyVisible&&a.hollow)continue;let l=Math.round(a.time*t)-Math.floor(.5*this._barWidth);const c=l+this._barWidth-1,h=Math.round(Math.min(a.open,a.close)*t),d=Math.round(Math.max(a.open,a.close)*t);if(null!==o&&(l=Math.max(o+1,l),l=Math.min(l,c)),this._barSpacing*t>2*r)(0,n.fillRectInnerBorder)(e,l,h,c-l+1,d-h+1,r);else{const t=c-l+1;e.fillRect(l,h,t,d-h+1)}o=c}}_drawCandles(e,t){let i="";const s=this._calculateBorderWidth(t);for(const r of this._bars){if(this._borderVisible&&this._barWidth<=2*s&&!r.hollow)continue;let o=Math.round(Math.min(r.open,r.close)*t),a=Math.round(Math.max(r.open,r.close)*t),l=Math.round(r.time*t)-Math.floor(.5*this._barWidth),c=l+this._barWidth-1;if(r.color!==i){const t=r.color;e.fillStyle=t,i=t}if(r.hollow)e.fillStyle=r.color,(0,n.fillRectInnerBorder)(e,l,o,c-l+1,a-o+1,s);else{if(this._borderVisible&&(l+=s,o+=s,c-=s,a-=s),o>a)continue;e.fillRect(l,o,c-l+1,a-o+1)}}}}},85224:(e,t,i)=>{"use strict";i.d(t,{SeriesCandlesPaneView:()=>l});var s=i(94804),r=i(49094),n=i(41892),o=i(79035),a=i(48998);class l extends o.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.priceScale();if(!i)return null;const o=this._source.properties().childs().candleStyle.childs(),l=this._model.timeScale().barSpacing(),c={bars:this._bars,barSpacing:l,bodyVisible:o.drawBody.value(),borderVisible:o.drawBorder.value(),borderColor:o.borderColor.value(),wickColor:o.wickColor.value(),barWidth:(0,r.optimalBarWidth)(l),wickVisible:o.drawWick.value(),isPriceScaleInverted:i.isInverted()},h=new s.CompositeRenderer;return h.append(new a.PaneRendererCandles(c)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&h.append(new n.SelectionRenderer(this._selectionData)),h}}},59153:(e,t,i)=>{"use strict";i.d(t,{SeriesColumnsPaneView:()=>p});var s=i(88537),r=i(86441),n=i(67337),o=i(3308),a=i(84346),l=i(94804),c=i(71053),h=i(85847),d=i(41892),u=i(68617);class p{constructor(e,t){this._items=[],this._invalidated=!0,this._isMarkersEnabled=(0,n.enabled)("source_selection_markers"),this._selectionData=null,this._histogramBase=0,this._source=e,this._model=t,this._selectionIndexer=new h.SelectionIndexes(t.timeScale())}update(){this._invalidated=!0}renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i={barSpacing:this._model.timeScale().barSpacing(),items:this._items,lineColor:"",histogramBase:this._histogramBase},s=new l.CompositeRenderer;return s.append(new u.PaneRendererColumns(i)), +this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&s.append(new d.SelectionRenderer(this._selectionData)),s}_updateImpl(){this._items=[];const e=this._model.timeScale(),t=this._source.priceScale();if(e.isEmpty()||!t||t.isEmpty())return;const i=e.visibleBarsStrictRange();if(null===i)return;if(0===this._source.bars().size())return;const n=this._source.nearestIndex(i.firstBar(),c.PlotRowSearchMode.NearestRight),l=this._source.nearestIndex(i.lastBar(),c.PlotRowSearchMode.NearestLeft);if(void 0===n||void 0===l)return;const h=this._source.bars().range(n,l),d=this._source.barColorer(),u={},p=this._source.barFunction(),_=h.reduce((e,t,s)=>{var n;const a=p(s);if(!(0,o.default)(a))return e;u.value=s;const l=null!==(n=s[7])&&void 0!==n?n:d.barStyle(t,!1,u),c=new r.Point(t,a);return c.style=l,c.timePointIndex=t,this._items.push(c),u.previousValue=s,i.contains(t)&&null!=e?e:a},null);if(null!==_)if(t.pointsArrayToCoordinates(this._items,_),e.timedValuesToCoordinates(this._items),this._histogramBase=t.isInverted()?0:t.height(),this._model.selection().isSelected(this._source)){const i=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,barSpacing:e.barSpacing(),hittestResult:a.HitTestResult.REGULAR};const n=(0,s.ensureNotNull)(this._model.paneForSource(this._source)).height();this._selectionData.hittestResult=a.HitTestResult.REGULAR;for(let s=0;s{"use strict";i.d(t,{generateSplitTitleForGui:()=>n,generateTitleForGui:()=>o});i(88537);var s=i(28353),r=i(35218);function n(e){const t="QUANDL"===(e=e||{}).exchange,i={title:"",description:"",interval:"",exchange:"",provider:"",chartStyle:"",sessionDescription:""};let n="";if(e.description&&t)if(2===e.description.split("/").length)n=e.description.split("/")[1];else{e.description.split("'").filter(e=>e.length).forEach(e=>{let t=[];t=e&&("/"===e[0]||/\d+\/\(?/.test(e))?[e]:e.split("/").filter(e=>e.length),n+=t[2===t.length?1:0]})}else n=e.description?e.description:e.symbol;if(e.ticker?(i.title=e.ticker,i.description=a(n)):i.title=a(n),e.interval&&(i.interval=(0,r.translatedIntervalString)(e.interval)),t&&e.description){const t=/[\w_]+\/[\w_]+/.exec(e.description);t&&t[0]?i.provider=a(t[0].split("/")[0]):i.provider=a(e.description.split("/")[0])}return e.exchange&&(i.exchange=a(e.exchange)),i.chartStyle=a(function(e){return e.inputs,8===e.style?(0,s.t)("Heikin Ashi"):""}(e)),e.branding&&!n.toUpperCase().includes("TradingView".toUpperCase())&&(i.branding="TradingView"),e.sessionDescription&&(i.sessionDescription=a(e.sessionDescription)),i}function o(e){const t=n(e);return(e.ticker?t.description:t.title)+(t.interval?", "+t.interval:"")+function(e,t=", "){ +return(e.provider?`${t}${e.provider}`:"")+(e.exchange?`${t}${e.exchange}`:"")+(e.chartStyle?`${t}${e.chartStyle}`:"")+(e.branding?`${t}${e.branding}`:"")+(e.sessionDescription?`${t}${e.sessionDescription}`:"")}(t)}function a(e){return e.replace(/'/g,"")}},30076:(e,t,i)=>{"use strict";i.d(t,{SeriesHollowCandlesPaneView:()=>l});var s=i(94804),r=i(49094),n=i(41892),o=i(48998),a=i(79035);class l extends a.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.priceScale();if(!i)return null;const a=this._source.properties().childs().hollowCandleStyle.childs(),l=this._model.timeScale().barSpacing(),c={bars:this._bars,barSpacing:l,bodyVisible:a.drawBody.value(),borderVisible:a.drawBorder.value(),borderColor:a.borderColor.value(),wickColor:a.wickColor.value(),barWidth:(0,r.optimalBarWidth)(l),wickVisible:a.drawWick.value(),isPriceScaleInverted:i.isInverted()},h=new s.CompositeRenderer;return h.append(new o.PaneRendererCandles(c)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&h.append(new n.SelectionRenderer(this._selectionData)),h}}},33837:(e,t,i)=>{"use strict";i.d(t,{SeriesLinePaneView:()=>h});var s=i(84346),r=i(94804),n=i(46214),o=i(28113),a=i(41892),l=i(16654),c=i(83150);class h extends c.SeriesSingleLinePaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.properties().childs().lineStyle.childs(),c={barSpacing:this._model.timeScale().barSpacing(),items:this._items,lineColor:i.color.value(),lineStyle:i.linestyle.value(),withMarkers:i.styleType.value()===l.STYLE_LINE_TYPE_MARKERS,lineWidth:i.linewidth.value(),simpleMode:!0,hitTestResult:s.HitTestResult.REGULAR};let h,d;if(h=i.styleType.value()===l.STYLE_LINE_TYPE_STEP?new o.PaneRendererStepLine(c):new n.PaneRendererLine(c),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData){const e=new r.CompositeRenderer;e.append(h),e.append(new a.SelectionRenderer(this._selectionData)),d=e}else d=h;return d}}},79035:(e,t,i)=>{"use strict";i.d(t,{SeriesBarCandlesPaneView:()=>c});var s=i(86441),r=i(67337),n=i(85847),o=i(71053),a=i(84346);function l(e,t){const i=e[1],s=e[2],r=e[3],n=e[4];return void 0!==i&&void 0!==s&&void 0!==r&&void 0!==n&&null!==i&&null!==s&&null!==r&&null!==n&&(t.open=i,t.high=s,t.low=r,t.close=n,!0)}class c{constructor(e,t){this._bars=[],this._invalidated=!0,this._isMarkersEnabled=(0,r.enabled)("source_selection_markers"),this._selectionData=null,this._source=e,this._model=t,this._selectionIndexer=new n.SelectionIndexes(t.timeScale())}items(){return this._bars}update(){this._invalidated=!0}_updateImpl(e){const t=null!=e?e:l,i=this._model.timeScale(),r=this._source.priceScale();if(this._bars=[],i.isEmpty()||!r||r.isEmpty())return;const n=i.visibleBarsStrictRange();if(null===n)return;if(0===this._source.bars().size())return;let c=this._source.nearestIndex(n.firstBar(),o.PlotRowSearchMode.NearestRight) +;const h=this._source.nearestIndex(n.lastBar(),o.PlotRowSearchMode.NearestLeft);if(void 0===c||void 0===h)return;for(;c<=h;c++){if(null!==this._source.bars().valueAt(c))break}if(c>h)return;const d=this._source.bars().range(c,h),u=this._source.barColorer(),p={};if(d.each((e,i)=>{var s;const r={time:Math.round(e),exactTime:Math.round(e),open:NaN,high:NaN,low:NaN,close:NaN,color:""};if(!t(i,r))return!1;p.value=i;const n=null!==(s=i[7])&&void 0!==s?s:u.barStyle(e,!1,p);return i[7]=n,p.previousValue=i,r.color=n.barColor,r.borderColor=n.barBorderColor,r.wickColor=n.barWickColor,r.hollow=n.isBarHollow,this._bars.push(r),!1}),0===this._bars.length)return;const _=this._source.firstValue();if(null!==_)if(r.barPricesToCoordinates(this._bars,_),i.barIndexesToCoordinates(this._bars),this._model.selection().isSelected(this._source)){const e=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,hittestResult:a.HitTestResult.REGULAR,barSpacing:i.barSpacing()};const t=this._model.paneForSource(this._source);if(!t)return;const n=t.height();for(let t=0;t{"use strict";i.d(t,{SeriesDataSource:()=>S});var s=i(88537),r=i(80643),n=i(19234),o=i(29823),a=i(63948),l=i(51344),c=i(95836),h=i(2872),d=i.n(h);class u{constructor(){this._modified=new(d()),this._loading=new(d()),this._completed=new(d()),this._error=new(d()),this._symbolError=new(d()),this._symbolResolved=new(d()),this._seriesError=new(d()),this._symbolNotPermitted=new(d()),this._symbolInvalid=new(d()),this._symbolGroupNotPermitted=new(d()),this._chartTypeNotPermitted=new(d()),this._intradaySpreadNotPermitted=new(d()),this._intradayExchangeNotPermitted=new(d()),this._customIntervalNotPermitted=new(d()),this._secondsIntervalNotPermitted=new(d()),this._tickMarksRangeChanged=new(d()),this._barReceived=new(d()),this._seriesTimeFrame=new(d()),this._dataUpdated=new(d())}destroy(){this._modified.destroy(),this._loading.destroy(),this._completed.destroy(),this._error.destroy(),this._symbolError.destroy(),this._symbolResolved.destroy(),this._seriesError.destroy(),this._symbolInvalid.destroy(),this._symbolNotPermitted.destroy(),this._symbolGroupNotPermitted.destroy(),this._chartTypeNotPermitted.destroy(),this._intradaySpreadNotPermitted.destroy(),this._intradayExchangeNotPermitted.destroy(),this._customIntervalNotPermitted.destroy(),this._secondsIntervalNotPermitted.destroy(),this._tickMarksRangeChanged.destroy(),this._barReceived.destroy(),this._seriesTimeFrame.destroy(),this._dataUpdated.destroy()}modified(){return this._modified}loading(){return this._loading}completed(){return this._completed}error(){return this._error}symbolError(){return this._symbolError}symbolResolved(){ +return this._symbolResolved}seriesError(){return this._seriesError}symbolInvalid(){return this._symbolInvalid}symbolNotPermitted(){return this._symbolNotPermitted}symbolGroupNotPermitted(){return this._symbolGroupNotPermitted}chartTypeNotPermitted(){return this._chartTypeNotPermitted}intradaySpreadNotPermitted(){return this._intradaySpreadNotPermitted}intradayExchangeNotPermitted(){return this._intradayExchangeNotPermitted}customIntervalNotPermitted(){return this._customIntervalNotPermitted}secondsIntervalNotPermitted(){return this._secondsIntervalNotPermitted}tickMarksRangeChanged(){return this._tickMarksRangeChanged}barReceived(){return this._barReceived}seriesTimeFrame(){return this._seriesTimeFrame}dataUpdated(){return this._dataUpdated}fireCompleted(e,t,i){this._completed.fire(e,t,i)}fireModified(){this._modified.fire()}fireLoading(e){this._loading.fire(e)}fireError(){this._error.fire()}fireSymbolError(e){this._symbolError.fire(e),this.fireError()}fireSymbolResolved(e){this._symbolResolved.fire(e)}fireSeriesError(e){this._seriesError.fire(e),this.fireError()}fireSymbolInvalid(){this._symbolInvalid.fire()}fireSymbolNotPermitted(e){this._symbolNotPermitted.fire(e)}fireSymbolGroupNotPermitted(e){this._symbolGroupNotPermitted.fire(e)}fireChartTypeNotPermitted(e){this._chartTypeNotPermitted.fire(e),this.fireError()}fireIntradaySpreadNotPermitted(){this._intradaySpreadNotPermitted.fire(),this.fireError()}fireIntradayExchangeNotPermitted(){this._intradayExchangeNotPermitted.fire(),this.fireError()}fireCustomIntervalNotPermitted(){this._customIntervalNotPermitted.fire(),this.fireError()}fireSecondsIntervalNotPermitted(){this._secondsIntervalNotPermitted.fire(),this.fireError()}fireTickMarksRangeChanged(e){this._tickMarksRangeChanged.fire(e)}fireBarReceived(e){this._barReceived.fire(e)}fireSeriesTimeFrame(e,t,i,s,r){this._seriesTimeFrame.fire(e,t,i,s,r)}fireDataUpdated(e,t,i){this._dataUpdated.fire(e,t,i)}}var p=i(98125),_=i(37667);const m=(0,p.getLogger)("Chart.SeriesDataSource");var g;!function(e){e[e.Idle=0]="Idle",e[e.AwaitingConnection=1]="AwaitingConnection",e[e.AwaitingFirstDataUpdate=2]="AwaitingFirstDataUpdate",e[e.Active=3]="Active"}(g||(g={}));let f=1;let v=1;class S{constructor(e,t,i,r){var n;this._symbol=null,this._resolvedSymbolName=null,this._instanceId=null,this._symbolInstanceId=null,this._resolution=null,this._timeFrame=null,this._data=new a.SeriesData,this._dataEvents=new u,this._status=g.Idle,this._turnaroundCounter=1,this._boundOnGatewayIsConnectedChanged=this._onGatewayIsConnectedChanged.bind(this),this._ongoingDataUpdate=Promise.resolve(),this._gateway=e,this._turnaroundPrefix=t,this._createSeriesParams=(n=null!=i?i:{count:300}).startDate?n.endDate||n.count?n.endDate?["from_to",n.startDate,n.endDate]:["bar_count",n.startDate,(0,s.ensure)(n.count)]:["from_to",n.startDate]:n.count||300,this._timeFrame=r||null,this._gateway.isConnected().subscribe(this._boundOnGatewayIsConnectedChanged)}destroy(){this.stop(),this._gateway.isConnected().unsubscribe(this._boundOnGatewayIsConnectedChanged)} +modifySeries(e,t,i=null,n=!1){n&&(m.logNormal("Due to force flag clearing symbol & resolution to force re-requesting data."),this._symbol=null,this._resolution=null);const a=this._symbol,l=this._resolution;if(this._symbol=e,this._resolution=t,null===this._instanceId)return void(this._timeFrame=i);const c=!(0,r.deepEquals)(a,e)[0]||null!==this._resolvedSymbolName&&this._resolvedSymbolName!==this._getSymbolNameString(e),h=null===l||!o.Interval.isEqual(l,t);(c||h||null!==i)&&(this._timeFrame=null,(c||h)&&this._turnaroundCounter++,c&&this._resolveSymbol(),this._gateway.modifySeries(this._instanceId,this.turnaround(),(0,s.ensureNotNull)(this._symbolInstanceId),this._resolution,i,this._onMessage.bind(this)),this._dataEvents.fireModified())}requestMoreData(e){null!==this._instanceId&&this._gateway.requestMoreData(this._instanceId,e,this._onMessage.bind(this))}requestMoreTickmarks(e){null!==this._instanceId&&this._gateway.requestMoreTickmarks(this._instanceId,e,this._onMessage.bind(this))}isStarted(){return this._status!==g.Idle}isActive(){return this._status===g.Active}resolution(){return this._resolution}start(){this.isStarted()?m.logNormal("start: data source is already started, nothing to do"):((0,s.assert)(null!==this._symbol,"symbol must be set before start"),(0,s.assert)(null!==this._resolution,"resolution must be set before start"),this._gateway.isConnected().value()?this._createSeries():this._changeStatusTo(g.AwaitingConnection))}stop(){this.isStarted()?(null!==this._instanceId&&(this._gateway.removeSeries(this._instanceId),this._instanceId=null),this._changeStatusTo(g.Idle)):m.logNormal("stop: data source is already stopped, nothing to do")}instanceId(){return this._instanceId}data(){return this._data}clearData(){this.isStarted()?this._enqueueUpdate(()=>this._clearDataImpl()):this._clearDataImpl()}dataEvents(){return this._dataEvents}turnaround(){return`${this._turnaroundPrefix}${this._turnaroundCounter}`}symbolInstanceId(){return this._symbolInstanceId}symbol(){return this._symbol}moveData(e){this._enqueueUpdate(()=>this._data.moveData(e))}_resolveSymbol(){null!==this._symbol&&(this._symbolInstanceId=this._gateway.resolveSymbol("sds_sym_"+f++,(0,n.encodeExtendedSymbolOrGetSimpleSymbolString)(this._symbol),this._onMessage.bind(this)))}_clearDataImpl(){this._data.clear()}_changeStatusTo(e){(0,s.assert)(this._status!==e,"Source and destination status should be distinct"),m.logNormal(`Status changed from ${g[this._status]} to ${g[e]}`),this._status=e}_createSeries(){(0,s.assert)(this._status!==g.Active,'Status should not be "Active" when creating a study'),this._instanceId="sds_"+v++,this._resolveSymbol(),this._gateway.createSeries(this._instanceId,this.turnaround(),(0,s.ensureNotNull)(this._symbolInstanceId),(0,s.ensureNotNull)(this._resolution),this._createSeriesParams,this._timeFrame,this._onMessage.bind(this)),this._timeFrame=null,this._changeStatusTo(g.AwaitingFirstDataUpdate)}_onGatewayIsConnectedChanged(e){e?this._onGatewayConnected():this._onGatewayDisconnected()}_onGatewayConnected(){ +this._status===g.AwaitingConnection&&this._createSeries()}_onGatewayDisconnected(){this._status!==g.Idle&&this._status!==g.AwaitingConnection&&(this._instanceId=null,this._changeStatusTo(g.AwaitingConnection)),this._turnaroundCounter=1}_onMessage(e){this._enqueueUpdate(()=>this._onMessageImpl(e))}async _onMessageImpl(e){switch(e.method){case"symbol_resolved":{const[t,i]=e.params;if(t!==this._symbolInstanceId){m.logNormal(`Resolve for old symbol, expected: ${this._symbolInstanceId}, actual ${e.params[0]}`);break}this._onSymbolResolved(i);break}case"symbol_error":if(e.params[0]!==this._symbolInstanceId){m.logNormal(`Symbol error for old symbol, expected: ${this._symbolInstanceId}, actual ${e.params[0]}`);break}this._onSymbolError(e);break;case"series_timeframe":{const[t,i,s,r,n,o,a]=e.params;if(!this._checkTurnaround(t,i)){m.logNormal(`Time frame for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${t} (${i})`);break}this._onSeriesTimeFrame(s,r,n,o,a);break}case"series_error":{const[t,i]=e.params;if(!this._checkTurnaround(t,i)){m.logNormal(`Series error for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${t} (${i})`);break}this._onSeriesError(e.params[2]);break}case"series_loading":{const[t,i]=e.params;if(!this._checkTurnaround(t,i))break;this._onSeriesLoading(e.time);break}case"series_completed":{const[t,i,s,r]=e.params;if(!this._checkTurnaround(t,s)){m.logNormal(`Series completed for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${t} (${s})`);break}this._onSeriesCompleted(i,e.time,r);break}case"data_update":if(!this._checkTurnaround(e.params.customId,e.params.turnaround)){m.logNormal(`Data update for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${e.params.customId} (${e.params.turnaround})`);break}await this._onDataUpdate(e.params.plots,e.params.nonseries,e.params.lastBar);break;case"clear_data":if(e.params.turnaround!==this.turnaround()){m.logNormal(`Clear data for old data, expected: ${this.turnaround()}, actual ${e.params.turnaround}`);break}this._clearDataImpl(),this._dataEvents.fireDataUpdated(void 0,!1,null)}}_onSeriesError(e){let t,i;if("string"==typeof e)i={error:e},t=e;else if(i=e,e.ctx){const i={};Object.entries(e.ctx).forEach(([e,t])=>{i[e]=t.toString()}),t=e.error.format(i)}else t=e.error;if(t.startsWith("study_not_auth:")){const e=t.split(":",2)[1].split("@",2)[0];["BarSetRenko","BarSetPriceBreak","BarSetKagi","BarSetPnF"].includes(e)?this._dataEvents.fireChartTypeNotPermitted(e):"BarSetSpread"===e?this._dataEvents.fireIntradaySpreadNotPermitted():"BarSetRange"===e&&this._dataEvents.fireCustomIntervalNotPermitted()}else"resolution_not_entitled"===t?this._dataEvents.fireIntradayExchangeNotPermitted():"custom_resolution"===t?this._dataEvents.fireCustomIntervalNotPermitted():"seconds_not_entitled"===t&&this._dataEvents.fireSecondsIntervalNotPermitted();this._dataEvents.fireSeriesError(i)}_onSeriesTimeFrame(e,t,i,s,r){this._dataEvents.fireSeriesTimeFrame(e,t,i,null==s||s,r)} +_onSymbolError(e){if(e.params[1]===c.permissionDenied)switch(e.params[2]){case c.SymbolErrorPermissionDeniedReason.Symbol:this._dataEvents.fireSymbolNotPermitted(e.params[3]);break;case c.SymbolErrorPermissionDeniedReason.GroupPermission:this._dataEvents.fireSymbolGroupNotPermitted(e.params[3]);break;default:this._dataEvents.fireSymbolNotPermitted(e.params[2])}else e.params[1]===c.invalidSymbol&&this._dataEvents.fireSymbolInvalid();this._dataEvents.fireSymbolError(e.params[1])}_onSymbolResolved(e){this._resolvedSymbolName=(0,_.symbolForApi)(e,this._getSymbolNameString((0,s.ensureNotNull)(this._symbol))),this._dataEvents.fireSymbolResolved(e)}_getSymbolNameString(e){return"string"==typeof e.symbol?e.symbol:e.symbol.symbol}async _onDataUpdate(e,t,i){this._onDataUnpacked(e,i,await async function(e){if(void 0===e)return{projectionPlots:[],boxSize:null};if(""===e.d||"nochange"===e.indexes)return null;const t=await(0,l.unpackNonSeriesData)(e.d);if(null===t||t.indexes_replace)return null;const i=e.indexes,{bars:s,price:r,boxSize:n,reversalAmount:o}=t.data,a=(s||[]).map(e=>{let t;return"factor"in e?t=e.factor:"additionalPrice"in e&&(t=e.additionalPrice),{index:i[e.time],value:[0,e.open,e.high,e.low,e.close,e.volume,t,void 0]}});return{lastPrice:r,projectionPlots:a,reversalAmount:o,boxSize:n}}(t))}_enqueueUpdate(e){return this._ongoingDataUpdate=this._ongoingDataUpdate.then(e,e),this._ongoingDataUpdate}_onDataUnpacked(e,t,i){if(this._status===g.Idle)return;this._status===g.AwaitingFirstDataUpdate&&(this._changeStatusTo(g.Active),this._clearDataImpl());const s=this._data.bars().size(),r=this._data.bars().firstIndex(),n=this._data.mergeRegularBars(e);null!==i&&(this._data.nsBars().clear(),this._data.nsBars().merge(i.projectionPlots),this._data.lastProjectionPrice=i.lastPrice,null!==i.boxSize&&(this._data.boxSize=i.boxSize),this._data.reversalAmount=i.reversalAmount);const o=null===r||null!==n&&n.index{"use strict";i.d(t,{SeriesHorizontalBaseLinePaneView:()=>r});var s=i(38712);class r extends s.SeriesHorizontalLinePaneView{constructor(e){super(e)}_updateImpl(){this._lineRendererData.visible=!1;const e=this._series.priceScale().mode();if(!e.percentage&&!e.indexedTo100)return;const t=this._series.firstValue();null!==t&&(this._lineRendererData.visible=!0,this._lineRendererData.y=this._series.priceScale().priceToCoordinate(t,t),this._lineRendererData.color=this._series.properties().childs().baseLineColor.value())}}},38712:(e,t,i)=>{"use strict";i.d(t,{SeriesHorizontalLinePaneView:()=>r});var s=i(22221);class r extends s.HorizontalLinePaneView{constructor(e){super(),this._series=e,this._model=e.model()}}},83150:(e,t,i)=>{"use strict";i.d(t,{SeriesSingleLinePaneView:()=>d}) +;var s=i(3308),r=i(86441),n=i(88537),o=i(67337),a=i(85847),l=i(71053),c=i(84346),h=i(55257);class d{constructor(e,t){this._items=[],this._invalidated=!0,this._isMarkersEnabled=(0,o.enabled)("source_selection_markers"),this._selectionData=null,this._source=e,this._model=t,this._selectionIndexer=new a.SelectionIndexes(t.timeScale())}update(){this._invalidated=!0}_updateImpl(){var e,t;this._items=[];const i=this._model.timeScale(),o=this._source.priceScale();if(i.isEmpty()||!o||o.isEmpty())return;const a=i.visibleBarsStrictRange();if(null===a)return;if(0===this._source.bars().size())return;const d=null!==(e=this._source.nearestIndex(a.firstBar()-1,l.PlotRowSearchMode.NearestLeft))&&void 0!==e?e:a.firstBar()-1,u=null!==(t=this._source.nearestIndex(a.lastBar()+1,l.PlotRowSearchMode.NearestRight))&&void 0!==t?t:a.lastBar()+1,p=this._source.barFunction();let _=null;const m=this._model.timeScale().barSpacing();if(m<.1&&this._source.supportsPressedChunks()){_=this._source.firstValue();const e=this._source.pressedChunks(m,(0,n.ensureNotNull)(this._source.priceSource())),t=(0,h.lowerbound)(e,d,(e,t)=>e.startTimee.endTime{const i=new r.Point(t.startTime,e);this._items.push(i)})}}else{_=this._source.bars().range(d,u).reduce((e,t,i)=>{const n=p(i);if(!(0,s.default)(n))return e;const o=new r.Point(t,n);return this._items.push(o),a.contains(t)?null!=e?e:n:e},null)}if(null!==_)if(o.pointsArrayToCoordinates(this._items,_),i.timedValuesToCoordinates(this._items),this._model.selection().isSelected(this._source)){const e=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,barSpacing:i.barSpacing(),hittestResult:c.HitTestResult.REGULAR};const t=(0,n.ensureNotNull)(this._model.paneForSource(this._source)).height();this._selectionData.hittestResult=c.HitTestResult.REGULAR;for(let s=0;s{"use strict";i.d(t,{calculateColor:()=>P,SeriesValuesProvider:()=>T});var s=i(88537),r=i(93751),n=i(24377),o=i(28353),a=i(49483),l=(i(67337),i(68906)),c=i(62820),h=i(71053),d=i(14291),u=i(85733),p=i(26811),_=i(67802),m=i(33981),g=i(89128),f=i(88129),v=i(57626);const S=a.CheckMobile.any(),y=S&&!0,b=new p.PercentageFormatter,w=new _.VolumeFormatter(2),C=`${v.notAvailable} (${v.notAvailable}%)`;function P(e,t){const i=(0,n.parseRgb)(t),s=(0,n.parseRgb)(e);return(0,n.distanceRgb)(i,s)<70?(0,n.rgbToHexString)((0,n.invertRgb)(i)):t}class T{constructor(e,t){this._series=e,this._model=t,this._emptyValues=[{title:(0,o.t)("Open"),visible:!1,value:"",index:0,id:""},{title:(0,o.t)("High"),visible:!1,value:"",index:1,id:""},{title:(0,o.t)("Low"),visible:!1,value:"",index:2, +id:""},{title:(0,o.t)("Close"),visible:!1,value:"",index:3,id:""},{title:"",visible:!1,value:"",index:4,id:""},{title:"",visible:!1,value:"",index:5,id:""},{title:(0,o.t)("Change"),visible:!1,value:"",index:6,id:""},{title:(0,o.t)("Vol"),visible:!1,value:"",index:7,id:""}]}getItems(){return this._emptyValues}getValues(e){const t=this._showLastPriceAndChangeOnly(),i=this._emptyValues.map(e=>({...e,visible:!t}));i[0].value=v.notAvailable,i[1].value=v.notAvailable,i[2].value=v.notAvailable,i[3].value=v.notAvailable,i[6].value=C,i[7].value=v.notAvailable,i[5].visible=!1;const n=i[4];if(n.value=v.notAvailable,n.visible=!1,this._model.timeScale().isEmpty()||0===this._series.bars().size()||this._series.priceScale().isEmpty())return i;(0,r.isNumber)(e)||(e=(0,s.ensureNotNull)(this._series.data().last()).index);const o=this._series.nearestIndex(e,h.PlotRowSearchMode.NearestLeft);if(void 0===o)return i;const a=this._series.data().valueAt(o),d=this._model.backgroundTopColor().value();if(null===a)return i;const u=a[1],p=a[2],_=a[3],g=a[4],{values:S}=this._changesData(g,o,t),T=(0,f.getPriceValueFormatterForSource)(this._series);if((0,f.shouldBeFormattedAsPercent)(this._series)||(0,f.shouldBeFormattedAsIndexedTo100)(this._series))i[6].value="";else if(void 0!==S){const e=this._series.formatter();i[6].value=(0,c.forceLTRStr)(`${e.format(S.change,!0)} (${b.format(S.percentChange,!0)})`)}if(t)i[5].value=null==g?v.notAvailable:T(g),i[5].visible=!0,i[6].visible=!0;else{i[0].value=null==u?v.notAvailable:T(u),i[1].value=null==p?v.notAvailable:T(p),i[2].value=null==_?v.notAvailable:T(_),i[3].value=null==g?v.notAvailable:T(g),i[4].value=T(this._series.barFunction()(a));const e=a[5];(0,r.isNumber)(e)?i[7].value=w.format(e):i[7].visible=!1}let x=null;if(t&&!y)x=void 0===S||S.change>=0?m.SeriesBarColorer.upColor(this._series.properties()):m.SeriesBarColorer.downColor(this._series.properties());else{const e=this._series.barColorer().barStyle(o,!1);x=P(d,null!=e.barBorderColor?e.barBorderColor:e.barColor)}x=(0,l.resetTransparency)(P(d,x));for(const e of i)e.color=x;return i}_showLastPriceAndChangeOnly(){return S&&(null===this._model.crossHairSource().pane||(0,d.isLineToolName)(u.tool.value())||null!==this._model.lineBeingEdited())}_changesData(e,t,i){var s;if(i&&!y){const e=this._series.quotes();if(null!==e)return{values:{change:e.change,percentChange:e.change_percent}}}else{const i=this._series.data().search(t-1,h.PlotRowSearchMode.NearestLeft),r=null!==(s=null==i?void 0:i.value[4])&&void 0!==s?s:null;if(null!==r&&null!=e)return{values:{change:e-r,percentChange:(0,g.barPercentChange)(r,e)}}}return{}}}},47484:(e,t,i)=>{"use strict";i.d(t,{sessionsPreferencesDefault:()=>r});var s=i(45112);const r={graphics:{backgrounds:{outOfSession:{color:s.colorsPalette["color-tv-blue-500"],transparency:92,visible:!1},preMarket:{color:"#FF9800",transparency:92,visible:!1},postMarket:{color:s.colorsPalette["color-tv-blue-500"],transparency:92,visible:!1}},vertlines:{sessBreaks:{color:"#4985e7",style:2,visible:!1,width:1}}}}},50338:(e,t,i)=>{"use strict";i.d(t,{ +StatusProviderBase:()=>s});class s{constructor(e){this._colorProperty=e}size(){return"13px"}bold(){return!1}color(){return this._colorProperty.value()}}},45058:(e,t,i)=>{"use strict";i.d(t,{StatusView:()=>s});class s{constructor(e){this._text="",this._color="",this._size="13px",this._bold=!1,this._statusProvider=e}text(){return this._text}getSplitTitle(){return[this._text]}color(){return this._statusProvider.color()}bold(){return this._bold}size(){return this._size}}},245:(e,t,i)=>{"use strict";var s;i.d(t,{StoriesTimeLineItemType:()=>s}),function(e){e[e.Image=0]="Image",e[e.Emoji=1]="Emoji"}(s||(s={}))},70581:(e,t,i)=>{"use strict";i.d(t,{seriesPrice:()=>n,positionVisualDirection:()=>a,positionToCoordinate:()=>l,noDataBasePosition:()=>c,seriesBasePosition:()=>h,getNoDataPosition:()=>d,getSeriesPosition:()=>u});var s=i(88537),r=i(71053);function n(e,t,i){const s=e.barFunction();switch(e.style()){case 3:case 10:case 2:return s(t.value);default:return t.value[-1===i?3:2]}}function o(e){return e>=0?1:-1}function a(e,t){return-1===o(e)!==t?-1:1}function l(e,t,i,s){const r=Math.min(t,Math.max(0,1===s?i:t-i));return i-s*Math.abs(r*e/100)}function c(e,t,i){const s=e.index();return null===s?null:{index:s,price:t.coordinateToPrice(t.height()/2,i)}}function h(e,t){const i=e.data().bars(),s=i.first(),a=i.last();if(null===s||null===a)return null;let l;const c=t.index();if(null===c){if(void 0===t.time)return null;const e=t.time(),n=s.value[0],o=a.value[0];if(eo)return null;l=i.searchByTime(e,r.PlotRowSearchMode.NearestRight,4)}else l=i.search(c);return null===l?null:{index:l.index,price:n(e,l,o(t.position()))}}function d(e,t,i){const s=c(e,t,i);if(null===s)return null;const r=a(e.position(),t.isInverted());return{index:s.index,price:s.price,poleStartY:t.height(),visualDirection:1,positionPointDirection:r,startsOnSeriesData:!1}}function u(e,t,i=!0){const r=h(e,t),n=e.priceScale(),o=(0,s.ensureNotNull)(e.firstValue());if(null===r)return d(t,n,o);let l=0;const c=e.properties().childs(),u=e.model().timeScale(),p=n.priceToCoordinate(r.price,o);if(i)switch(e.style()){case 3:l=c.areaStyle.childs().linewidth.value()/2;break;case 2:l=c.lineStyle.childs().linewidth.value()/2;break;case 10:const e=Math.abs(100-c.baselineStyle.childs().baseLevelPercentage.value());l=n.height()*e/100>p?c.baselineStyle.childs().topLineWidth.value()/2:c.baselineStyle.childs().bottomLineWidth.value()/2;break;case 1:case 9:case 8:case 12:l=3;break;case 0:l=c.barStyle.childs().thinBars.value()?3:Math.max(3,.25*u.barSpacing());break;case 11:l=c.rangeStyle.childs().thinBars.value()?3:Math.max(3,.25*u.barSpacing());break;case 4:case 7:l=3;break;case 5:l=Math.max(4,.25*u.barSpacing());break;case 6:l=Math.max(5,.25*u.barSpacing())}const _=a(t.position(),n.isInverted()),m=p-_*l;return{index:r.index,price:r.price,poleStartY:m,visualDirection:_,positionPointDirection:_,startsOnSeriesData:!0}}},26582:(e,t,i)=>{"use strict";i.d(t,{materializeBackground:()=>o,dematerializeBackground:()=>a});var s=i(88537),r=i(2271),n=i(51344);function o(e,t){ +if(e.start>=t.length||e.stop>=t.length)return null;const i=t[e.start],n=t[e.stop];return n===r.INVALID_TIME_POINT_INDEX?null:((0,s.assert)(i===r.INVALID_TIME_POINT_INDEX||i<=n,"start should not exceed stop"),{start:i===r.INVALID_TIME_POINT_INDEX?null:i,stop:n})}function a(e,t,i){return{id:t,start:(0,n.ensureTimePointIndexIndex)(i.indexOf(null!==e.start?e.start:r.INVALID_TIME_POINT_INDEX)),stop:(0,n.ensureTimePointIndexIndex)(i.indexOf(e.stop))}}},54376:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LiveStudyGraphics:()=>o.LiveStudyGraphics,StaticStudyGraphics:()=>n.StaticStudyGraphics,createGraphicsPaneViews:()=>u,createGraphicsPriceAxisViews:()=>_,emptyStudyGraphics:()=>n.emptyStudyGraphics,isStudyGraphicsEmpty:()=>r.isStudyGraphicsEmpty,loadStudyGraphics:()=>n.loadStudyGraphics,saveStudyGraphics:()=>n.saveStudyGraphics});var s=i(98125),r=i(82065),n=i(81064),o=i(75871),a=i(97938);class l extends a.PriceAxisView{constructor(e,t){super(),this._source=e,this._data=t}_updateRendererData(e,t,i){e.visible=!1;const s=this._source.priceScale(),r=this._source.properties().visible.value();if(!s||s.isEmpty()||!r)return;const n=this._source.properties().graphics[this._data.lineType][this._data.styleId];if(!(n.visible&&n.visible.value()&&n.showPrice&&n.showPrice.value()&&this._isLabelVisibleAccordinglyToProperties()))return;const o=this._source.firstValue();if(null===o)return;const a=this._data.line.level,l=n.color.value();i.background=l,i.textColor=this.generateTextColor(l),i.coordinate=s.priceToCoordinate(a,o),e.text=s.formatPrice(a,o,!0),e.visible=!0}_isLabelVisibleAccordinglyToProperties(){return!!this._source.model().properties().childs().scalesProperties.childs().showStudyLastValue.value()&&this._source.properties().showLabelsOnPriceScale.value()}}const c=(0,s.getLogger)("Chart.StudyGraphics"),h=new Set(["dwgtablecells"]);async function d(e,t,s,r){switch(e){case"hhists":return new((await i.e(507).then(i.bind(i,93742))).HHistPaneView)(t,s,r);case"horizlines":return new((await i.e(507).then(i.bind(i,22107))).HorizLinePaneView)(t,s,r);case"vertlines":return new((await i.e(507).then(i.bind(i,59778))).VertLinePaneView)(t,s,r);case"polygons":return new((await i.e(507).then(i.bind(i,54077))).PolygonPaneView)(t,s,r);case"backgrounds":return new((await i.e(507).then(i.bind(i,72984))).BackgroundPaneView)(t,s,r)}return null}async function u(e,t,i){const s=[],r=Object.keys(e.graphicsInfo());r.sort((e,t)=>p(e)-p(t));for(const n of r){const r=await d(n,e,t,i);null!==r?s.push(r):h.has(n)||c.logWarn(n+" is not supported by this build of graphics subsystem, skipping")}return s}function p(e){switch(e){case"polygons":return-100;case"trendchannels":return-90;default:return 0}}function _(e){const t=Object.keys(e.graphicsInfo()),i=[];for(const s of t)switch(s){case"hlines":e.graphics().hlines().forEach((t,r)=>{t.forEach(t=>{void 0!==t.level&&i.push(new l(e,{line:{level:t.level},styleId:r,lineType:s}))})});break;case"horizlines":e.graphics().horizlines().forEach((t,r)=>{t.forEach(t=>{void 0!==t.level&&i.push(new l(e,{line:{level:t.level},styleId:r, +lineType:s}))})})}return i}},95018:(e,t,i)=>{"use strict";i.d(t,{HHistDirection:()=>s,HHistLocation:()=>r,HHistVolumeMode:()=>n,materializeHHist:()=>c,dematerializeHHist:()=>h});var s,r,n,o=i(88537),a=i(2271),l=i(51344);function c(e,t){if(e.firstBarTime>=t.length||e.lastBarTime>=t.length)return null;const i=t[e.firstBarTime],s=t[e.lastBarTime];return i===a.INVALID_TIME_POINT_INDEX||s===a.INVALID_TIME_POINT_INDEX?null:((0,o.assert)(i<=s,"firstBarTime should not exceed lastBarTime"),(0,o.assert)(e.priceLow<=e.priceHigh,"priceLow should not exceed priceHigh"),{firstBarTime:i,lastBarTime:s,rate:e.rate,priceHigh:e.priceHigh,priceLow:e.priceLow})}function h(e,t,i){const s=(0,l.ensureTimePointIndexIndex)(i.indexOf(e.firstBarTime)),r=(0,l.ensureTimePointIndexIndex)(i.indexOf(e.lastBarTime));return{id:t,...e,firstBarTime:s,lastBarTime:r}}!function(e){e.LeftToRight="left_to_right",e.RightToLeft="right_to_left"}(s||(s={})),function(e){e.Relative="relative",e.Absolute="absolute"}(r||(r={})),function(e){e.UpDown="Up/Down",e.Total="Total",e.Delta="Delta"}(n||(n={}))},15513:(e,t,i)=>{"use strict";i.d(t,{materializeHorizLine:()=>o,dematerializeHorizLine:()=>a});var s=i(88537),r=i(2271),n=i(51344);function o(e,t){if(e.startIndex>=t.length||e.endIndex>=t.length)return null;const i=t[e.startIndex],n=t[e.endIndex];return i===r.INVALID_TIME_POINT_INDEX||n===r.INVALID_TIME_POINT_INDEX?null:((0,s.assert)(i<=n,"startIndex should not exceed endIndex"),{startIndex:i,endIndex:n,level:e.level,extendLeft:e.extendLeft,extendRight:e.extendRight})}function a(e,t,i){const s=(0,n.ensureTimePointIndexIndex)(i.indexOf(e.startIndex)),r=(0,n.ensureTimePointIndexIndex)(i.indexOf(e.endIndex));return{id:t,...e,startIndex:s,endIndex:r}}},75871:(e,t,i)=>{"use strict";i.d(t,{LiveStudyGraphics:()=>d});var s=i(88537),r=i(95018),n=i(15513),o=i(57987),a=i(39834),l=i(26582),c=i(82065),h=i(81064);class d{constructor(){this._indexes=[],this._horizlines=new Map,this._vertlines=new Map,this._lines=new Map,this._hlines=new Map,this._textmarks=new Map,this._shapemarks=new Map,this._backgrounds=new Map,this._polygons=new Map,this._trendchannels=new Map,this._hhists=new Map,this._dwglabels=new Map,this._dwgboxes=new Map,this._dwglines=new Map,this._dwgtables=new Map,this._dwgtablecells=new Map,this._dwglinefills=new Map,this._hhistsByTimePointIndex=new Map}horizlines(){return this._horizlines}vertlines(){return this._vertlines}lines(){return this._lines}hlines(){return this._hlines}textmarks(){return this._textmarks}shapemarks(){return this._shapemarks}backgrounds(){return this._backgrounds}polygons(){return this._polygons}trendchannels(){return this._trendchannels}hhists(){return this._hhists}dwglabels(){return this._dwglabels}dwglines(){return this._dwglines}dwgboxes(){return this._dwgboxes}dwgtables(){return this._dwgtables}dwgtablecells(){return this._dwgtablecells}dwglinefills(){return this._dwglinefills}hhistsByTimePointIndex(){return this._hhistsByTimePointIndex}clear(){this._indexes=[],this._clearPrimitives()}extract(){const e=e=>e.extract(),t={ +indexes:this._indexes,horizlines:p(this._horizlines,e),vertlines:p(this._vertlines,e),lines:p(this._lines,e),hlines:p(this._hlines,e),textmarks:p(this._textmarks,e),shapemarks:p(this._shapemarks,e),backgrounds:p(this._backgrounds,e),polygons:p(this._polygons,e),trendchannels:p(this._trendchannels,e),hhists:p(this._hhists,e),dwglabels:p(this._dwglabels,e),dwglines:p(this._dwglines,e),dwgboxes:p(this._dwgboxes,e),dwgtables:p(this._dwgtables,e),dwgtablecells:p(this._dwgtablecells,e),dwglinefills:p(this._dwglinefills,e)};return this._hhistsByTimePointIndex=new Map,new h.StaticStudyGraphics("data",t)}replaceIndexesTo(e){this._indexes=e;const t=e=>e.replaceIndexesTo(this._indexes);this._horizlines.forEach(t),this._vertlines.forEach(t),this._lines.forEach(t),this._hlines.forEach(t),this._textmarks.forEach(t),this._shapemarks.forEach(t),this._backgrounds.forEach(t),this._polygons.forEach(t),this._trendchannels.forEach(t),this._hhists.forEach(t),this._dwglabels.forEach(t),this._dwgboxes.forEach(t),this._dwglines.forEach(t),this._dwgtables.forEach(t),this._dwgtablecells.forEach(t),this._dwglinefills.forEach(t),this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}processCommands(e,t){void 0!==e.erase&&this._processEraseCommands(e.erase),void 0!==e.create&&this._processCreateCommands(e.create,t)}_processCreateCommands(e,t){for(const i in e){if(!e.hasOwnProperty(i))continue;const c=i;switch((0,s.assert)(c in t,`There is a '${c}' in study response, but it doesn't present in graphics info!`),c){case"hhists":_(this._hhists,e[c],t[c],this._indexes,r.materializeHHist);break;case"horizlines":_(this._horizlines,e[c],t[c],this._indexes,n.materializeHorizLine);break;case"vertlines":_(this._vertlines,e[c],t[c],this._indexes,o.materializeVertLine);break;case"polygons":_(this._polygons,e[c],t[c],this._indexes,a.materializePolygon);break;case"backgrounds":_(this._backgrounds,e[c],t[c],this._indexes,l.materializeBackground)}}this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}_processEraseCommands(e){for(const t of e)if("all"===t.action)this._clearPrimitives();else{const e=e=>e.deleteById(t.id);switch(t.type){case"horizlines":this._horizlines.forEach(e);break;case"vertlines":this._vertlines.forEach(e);break;case"lines":this._lines.forEach(e);break;case"hlines":this._hlines.forEach(e);break;case"textmarks":this._textmarks.forEach(e);break;case"shapemarks":this._shapemarks.forEach(e);break;case"backgrounds":this._backgrounds.forEach(e);break;case"polygons":this._polygons.forEach(e);break;case"trendchannels":this._trendchannels.forEach(e);break;case"hhists":this._hhists.forEach(e);break;case"dwglabels":this._dwglabels.forEach(e);break;case"dwglines":this._dwglines.forEach(e);break;case"dwgboxes":this._dwgboxes.forEach(e);break;case"dwgtables":this._dwgtables.forEach(e);break;case"dwgtablecells":this._dwgtablecells.forEach(e);break;case"dwglinefills":this._dwglinefills.forEach(e)}}this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}_clearPrimitives(){ +this._horizlines.clear(),this._vertlines.clear(),this._lines.clear(),this._hlines.clear(),this._textmarks.clear(),this._shapemarks.clear(),this._backgrounds.clear(),this._polygons.clear(),this._trendchannels.clear(),this._hhists.clear(),this._dwglabels.clear(),this._dwgboxes.clear(),this._dwglines.clear(),this._dwgtables.clear(),this._dwgtablecells.clear(),this._dwglinefills.clear(),this._hhistsByTimePointIndex=new Map}}class u{constructor(e,t){this._primitivesDataById=new Map,this._primitiveById=new Map,this._materializePrimitive=e,this._indexes=t}forEach(e,t){this._primitiveById.forEach(i=>{e.call(t,i,i,this)})}has(e){let t=!1;return this._primitiveById.forEach(i=>{t=t||i===e}),t}get size(){return this._primitiveById.size}[Symbol.iterator](){throw new Error("Not implemented")}entries(){throw new Error("Not implemented")}keys(){throw new Error("Not implemented")}values(){throw new Error("Not implemented")}hasId(e){return this._primitiveById.has(e)}addData(e){this._primitivesDataById.set(e.id,e),this._tryMaterialize(e)}deleteById(e){this._primitiveById.delete(e),this._primitivesDataById.delete(e)}clear(){this._primitivesDataById.clear(),this._primitiveById.clear()}replaceIndexesTo(e){this._indexes=e,this._primitiveById.clear(),this._primitivesDataById.forEach(this._tryMaterialize,this)}extract(){const e=new Set(this._primitivesDataById.values());return this._primitivesDataById=new Map,this._primitiveById.clear(),e}_tryMaterialize(e){const t=this._materializePrimitive(e,this._indexes);null!==t&&((0,s.assert)(!this._primitiveById.has(e.id),"primitive with specified id should not exist"),this._primitiveById.set(e.id,t))}}function p(e,t){const i=new Map;return e.forEach((e,s)=>i.set(s,t(e))),i}function _(e,t,i,r,n){if(void 0!==t)for(const o of t){const t=o.styleId;void 0!==i&&(0,s.assert)(t in i,"Every style used by graphics primitive should be declared in study metainfo");let a=e.get(t);void 0===a&&(a=new u(n,r),e.set(t,a)),o.data.forEach(a.addData.bind(a))}}},39834:(e,t,i)=>{"use strict";i.d(t,{materializePolygon:()=>n,dematerializePolygon:()=>o});var s=i(2271),r=i(51344);function n(e,t){for(const i of e.points){if(i.index>=t.length)return null;if(t[i.index]===s.INVALID_TIME_POINT_INDEX)return null}return{points:e.points.map(e=>({index:t[e.index],offset:e.offset,level:e.level}))}}function o(e,t,i){return{id:t,points:e.points.map(e=>({...e,index:(0,r.ensureTimePointIndexIndex)(i.indexOf(e.index))}))}}},81064:(e,t,i)=>{"use strict";i.d(t,{StaticStudyGraphics:()=>h,emptyStudyGraphics:()=>_,loadStudyGraphics:()=>m,saveStudyGraphics:()=>g});var s=i(2271),r=i(15513),n=i(57987),o=i(95018),a=i(39834),l=i(26582),c=i(82065);class h{constructor(e,t){if(this._indexes=[],this._horizlines=new Map,this._vertlines=new Map,this._lines=new Map,this._hlines=new Map,this._textmarks=new Map,this._shapemarks=new Map,this._backgrounds=new Map,this._polygons=new Map,this._trendchannels=new Map,this._hhists=new Map,this._dwglabels=new Map,this._dwglines=new Map,this._dwgboxes=new Map,this._dwgtables=new Map,this._dwgtablecells=new Map, +this._dwglinefills=new Map,"data"===e){const e=t;this._indexes=e.indexes,this._vertlines=d(e.vertlines,this._indexes,n.materializeVertLine),this._horizlines=d(e.horizlines,this._indexes,r.materializeHorizLine),this._polygons=d(e.polygons,this._indexes,a.materializePolygon),this._hhists=d(e.hhists,this._indexes,o.materializeHHist),this._backgrounds=d(e.backgrounds,this._indexes,l.materializeBackground)}else if("state"===e){const e=t;this._indexes=e.indexes||[],this._vertlines=u(e.vertlines,this._indexes,n.materializeVertLine),this._horizlines=u(e.horizlines,this._indexes,r.materializeHorizLine),this._polygons=u(e.polygons,this._indexes,a.materializePolygon),this._hhists=u(e.hhists,this._indexes,o.materializeHHist),this._backgrounds=u(e.backgrounds,this._indexes,l.materializeBackground)}this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}horizlines(){return this._horizlines}vertlines(){return this._vertlines}lines(){return this._lines}hlines(){return this._hlines}textmarks(){return this._textmarks}shapemarks(){return this._shapemarks}backgrounds(){return this._backgrounds}polygons(){return this._polygons}trendchannels(){return this._trendchannels}hhists(){return this._hhists}dwglabels(){return this._dwglabels}dwglines(){return this._dwglines}dwgboxes(){return this._dwgboxes}dwgtables(){return this._dwgtables}dwgtablecells(){return this._dwgtablecells}dwglinefills(){return this._dwglinefills}hhistsByTimePointIndex(){return this._hhistsByTimePointIndex}}function d(e,t,i){const s=new Map;return e.forEach((e,r)=>{const n=s.get(r)||new Set;e.forEach(e=>{const s=i(e,t);null!==s&&n.add(s)}),s.set(r,n)}),s}function u(e,t,i){const s=new Map;if(void 0===e)return s;for(const r of e){const e=r.styleId,n=s.get(e)||new Set;r.data.forEach(e=>{const s=i(e,t);null!==s&&n.add(s)}),s.set(e,n)}return s}function p(e,t,i,s){const r=[];return e.forEach((e,n)=>{e.forEach(e=>{!function(e,t,i){let s=null;for(const i of e)i.styleId===t&&(s=i);null===s&&(s={styleId:t,data:[]},e.push(s)),s.data.push(i)}(r,n,s(e,t(e),i))})}),r.length>0?r:void 0}function _(){return new h}function m(e){return new h("state",e)}function g(e){const t=function(e){const t=new Set;e.horizlines().forEach((e,i)=>{e.forEach(e=>{t.add(e.startIndex),t.add(e.endIndex)})}),e.vertlines().forEach((e,i)=>{e.forEach(e=>{t.add(e.index)})}),e.lines().forEach((e,i)=>{e.forEach(e=>{t.add(e.startIndex),t.add(e.endIndex)})}),e.textmarks().forEach((e,i)=>{e.forEach(e=>{t.add(e.time)})}),e.shapemarks().forEach((e,i)=>{e.forEach(e=>{t.add(e.time)})}),e.backgrounds().forEach((e,i)=>{e.forEach(e=>{t.add(null!==e.start?e.start:s.INVALID_TIME_POINT_INDEX),t.add(e.stop)})}),e.polygons().forEach((e,i)=>{e.forEach(e=>{e.points.forEach(e=>{t.add(e.index)})})}),e.trendchannels().forEach((e,i)=>{e.forEach(e=>{t.add(e.startIndex),t.add(e.endIndex)})}),e.hhists().forEach((e,i)=>{e.forEach(e=>{t.add(e.firstBarTime),t.add(e.lastBarTime)})}),e.dwglabels().forEach((e,i)=>{e.forEach(e=>{t.add(e.x)})}),e.dwglines().forEach((e,i)=>{e.forEach(e=>{var i,r +;t.add(null!==(i=e.x1)&&void 0!==i?i:s.INVALID_TIME_POINT_INDEX),t.add(null!==(r=e.x2)&&void 0!==r?r:s.INVALID_TIME_POINT_INDEX)})}),e.dwgboxes().forEach((e,i)=>{e.forEach(e=>{var i,r;t.add(null!==(i=e.left)&&void 0!==i?i:s.INVALID_TIME_POINT_INDEX),t.add(null!==(r=e.right)&&void 0!==r?r:s.INVALID_TIME_POINT_INDEX)})});const i=Array.from(t);return i.sort((e,t)=>e-t),i}(e),i={indexes:t};let c=0;const h=()=>++c;return i.vertlines=p(e.vertlines(),h,t,n.dematerializeVertLine),i.horizlines=p(e.horizlines(),h,t,r.dematerializeHorizLine),i.polygons=p(e.polygons(),h,t,a.dematerializePolygon),i.hhists=p(e.hhists(),h,t,o.dematerializeHHist),i.backgrounds=p(e.backgrounds(),h,t,l.dematerializeBackground),i}},95936:(e,t,i)=>{"use strict";var s,r,n,o;i.d(t,{MarkLocation:()=>s,HAlign:()=>r,LineStyle:()=>o}),function(e){e.AboveBar="AboveBar",e.BelowBar="BelowBar",e.Top="Top",e.Bottom="Bottom",e.Right="Right",e.Left="Left",e.Absolute="Absolute",e.AbsoluteUp="AbsoluteUp",e.AbsoluteDown="AbsoluteDown"}(s||(s={})),function(e){e.Left="left",e.Center="center",e.Right="right"}(r||(r={})),function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom"}(n||(n={})),function(e){e[e.Solid=0]="Solid",e[e.Dotted=1]="Dotted",e[e.Dashed=2]="Dashed"}(o||(o={}))},82065:(e,t,i)=>{"use strict";i.d(t,{isStudyGraphicsEmpty:()=>r,splitHHistsByTimePointIndex:()=>n});const s=["horizlines","vertlines","lines","hlines","textmarks","shapemarks","backgrounds","polygons","trendchannels","hhists","dwglabels","dwglines","dwgboxes","dwgtables","dwgtablecells","dwglinefills"];function r(e){return!s.some(t=>e[t]().size>0)}function n(e){const t=new Map;return e.forEach((e,i)=>{e.forEach(e=>{const s={...e,styleId:i},r=e.firstBarTime;let n=t.get(r);void 0===n&&(n=new Set,t.set(r,n)),n.add(s)})}),t}},57987:(e,t,i)=>{"use strict";i.d(t,{materializeVertLine:()=>n,dematerializeVertLine:()=>o});var s=i(2271),r=i(51344);function n(e,t){if(e.index>=t.length)return null;const i=t[e.index];return i===s.INVALID_TIME_POINT_INDEX?null:{startPrice:e.startPrice,endPrice:e.endPrice,index:i,extendTop:e.extendTop,extendBottom:e.extendBottom}}function o(e,t,i){const s=(0,r.ensureTimePointIndexIndex)(i.indexOf(e.index));return{id:t,...e,index:s}}},99682:(e,t,i)=>{"use strict";i.d(t,{HHistBasedValuesProvider:()=>_});var s=i(93751),r=i(88537),n=i(49483),o=i(71053),a=i(85733),l=i(67802),c=i(95018),h=i(44601),d=i(57626);function u(e,t="",i=""){return{id:t,index:e,title:i,value:"",visible:!1}}const p=n.CheckMobile.any();class _{constructor(e,t){this._emptyValues=[],this._study=e,this._model=t,void 0!==this._study.metaInfo().graphics.hhists&&this._emptyValues.push(u(0),u(1),u(2))}getItems(){return this._emptyValues}getValues(e){const t=this._emptyValues.map(e=>({...e}));t.forEach(e=>{e.visible=this._study.isVisible(),e.value=d.notAvailable});const i=this._study.properties().child("inputs").child("volume").value();switch(i){case c.HHistVolumeMode.UpDown:t[0].title="Up",t[1].title="Down",t[2].title="Total";break;case c.HHistVolumeMode.Total:t[0].title="Total",t[1].visible=!1,t[2].visible=!1;break +;case c.HHistVolumeMode.Delta:t[0].title="Delta",t[1].title="Max(Up, Down)",t[2].title="Total"}const n=this._study.priceScale(),a=this._model.timeScale();if(null===n||n.isEmpty()||a.isEmpty()||this._hideValues())return t;if(null===e||!isFinite(e)){const i=this._study.data().last();if(null===i)return t;e=i.index}const h=this._model.crossHairSource(),u=h.price;if(!isFinite(h.y)&&null===(e=function(e,t){var i;const s=null===(i=e.visibleBarsStrictRange())||void 0===i?void 0:i.lastBar();if(!s)return null;const r=t.data().search(s,o.PlotRowSearchMode.NearestLeft);return r?r.index:null}(this._model.timeScale(),this._model.mainSeries())))return t;const p=function(e,t,i,s){if(0===e.size)return null;if(!i){const e=(0,r.ensureNotNull)(s.data().valueAt(t));i=s.barFunction()(e)}const n=function(e,t){let i=null;return e.forEach((e,s)=>{s<=t&&(null===i||s>i)&&(i=s)}),i}(e,t);if(null===n)return null;const o=e.get(n);if(!o||0===o.size)return null;return function(e,t){let i=null;return e.forEach(e=>{e.priceLow<=t&&t{e.value="0"}),t;const _=this._study.metaInfo().graphics.hhists;if(void 0===_)return t;if(void 0===_[p.styleId])return t;const m=this._study.properties().child("graphics").child("hhists").child(p.styleId),g=new l.VolumeFormatter,f=e=>(0,s.isNumber)(e)?g.format(e):"";if(i!==c.HHistVolumeMode.Delta){if(p.rate.forEach((e,i)=>{t[i].value=f(e),t[i].color=m.colors[i].value()}),i===c.HHistVolumeMode.UpDown){const e=p.rate[0]+p.rate[1];t[2].value=f(e),t[2].color=m.valuesColor.value()}}else{const e=p.rate[0]>p.rate[1]?0:1,i=m.colors[e].value(),s=p.rate[0]+p.rate[1];[2*p.rate[e]-s,p.rate[e],s].forEach((e,s)=>{t[s].value=f(e),t[s].color=i})}return t}_hideValues(){return p&&(null===this._model.crossHairSource().pane||(0,h.isLineToolName)(a.tool.value())||null!==this._model.lineBeingEdited())}}},72857:(e,t,i)=>{"use strict";i.d(t,{makeNextSymbolId:()=>r,makeNextStudyId:()=>o});let s=0;function r(){return s++,"ss_"+s}let n=0;function o(){return n++,"st"+n}},5402:(e,t,i)=>{"use strict";i.d(t,{migrateMetaInfoAndPropState:()=>_});var s=i(88537),r=i(67072),n=i.n(r),o=i(80643);const a=["Moving Average@tv-basicstudies","Moving Average Exponential@tv-basicstudies"];class l{targetMetaInfoVersion(){return 53}migrateMetaInfo(e){const t=e;e._metainfoVersion=53,a.includes(t.id)}migratePropState(e){var t,i,s;a.includes(e.id)&&(e.inputs.length=null!==(t=e.inputs.length)&&void 0!==t?t:e.inputs.in_0,e.inputs.source=null!==(i=e.inputs.source)&&void 0!==i?i:e.inputs.in_1,e.inputs.offset=null!==(s=e.inputs.offset)&&void 0!==s?s:e.inputs.in_2,delete e.inputs.in_0,delete e.inputs.in_1,delete e.inputs.in_2,e.plots[1]={id:"smoothedMA",type:"line"},e.styles.smoothedMA={display:0,linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#0496ff",histogramBase:0,joinPoints:!1,title:"Smoothed MA"})}}const c=["Volume@tv-basicstudies"];class h{targetMetaInfoVersion(){return 53}migrateMetaInfo(e){const t=e +;e._metainfoVersion=53,c.includes(t.id)}migratePropState(e){var t;c.includes(e.id)&&(e.inputs.maLength=null!==(t=e.inputs.length)&&void 0!==t?t:e.inputs.maLength,delete e.inputs.length,delete e.inputs.offset,delete e.inputs.source,e.plots[1]={id:"smoothedMA",type:"line"},e.styles.smoothedMA={display:0,linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#0496ff",histogramBase:0,joinPoints:!1,title:"Smoothed MA"})}}const d=["Relative Strength Index@tv-basicstudies","Commodity Channel Index@tv-basicstudies","On Balance Volume@tv-basicstudies"];class u{targetMetaInfoVersion(){return 53}migrateMetaInfo(e){const t=e;e._metainfoVersion=53,d.includes(t.id)}migratePropState(e){d.includes(e.id)&&(e.plots[1]={id:"smoothedMA",type:"line"},e.styles.smoothedMA={display:0,linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#0496ff",histogramBase:0,joinPoints:!1,title:"Smoothed MA"})}}const p=[new class{targetMetaInfoVersion(){return 47}migrateMetaInfo(e){const t=e,i=e;if(i._metainfoVersion=47,!t.defaults||void 0===t.defaults.precision)return void(i.format={type:"inherit"});const s=t.defaults&&t.defaults.precision,r=(0,o.isNumber)(s)?s:parseInt(s);0===r?i.format={type:"volume"}:isFinite(r)?i.format={type:"price",precision:r}:i.format={type:"inherit"},delete t.defaults.precision}migratePropState(e){}},new class{targetMetaInfoVersion(){return 50}migrateMetaInfo(e){const t=e,i=e;if(i._metainfoVersion=50,void 0===t.defaults||void 0===t.defaults.ohlcPlots||void 0===t.ohlcPlots)return;const r=t.ohlcPlots,n=t.defaults.ohlcPlots,o=(0,s.ensureDefined)((0,s.ensureDefined)(i.defaults).ohlcPlots);for(const e of Object.keys(n)){const t=n[e];if("ohlc_candles"===t.plottype){let i=!1;const s=r[e];void 0!==s&&(i=!!s.drawBorder,delete s.drawBorder),o[e]={borderColor:"#000000",drawBorder:i,...t}}}}migratePropState(e){}}];function _(e,t){const i=n().versionOf(e),r=e;void 0===r._serverMetaInfoVersion&&(r._serverMetaInfoVersion=i),p.forEach(r=>{i<0||i>=r.targetMetaInfoVersion()||(r.migrateMetaInfo(e),void 0!==t&&r.migratePropState(t),(0,s.assert)(e._metainfoVersion===r.targetMetaInfoVersion()))})}p.push(new l),p.push(new h),p.push(new u),p.sort((function(e,t){return e.targetMetaInfoVersion()-t.targetMetaInfoVersion()}))},13672:(e,t,i)=>{"use strict";i.d(t,{NonSeriesStudy:()=>n});var s=i(88537),r=i(66101);class n extends r.Study{clearData(){this._customData=null,this._indexes=null}restoreData(e,t,i){super.restoreData(e),this._customData=t,this._indexes=i}state(e){const t=super.state(e);return e&&(t.nonSeriesData=this._customData,t.indexes=this._indexes),t}customData(){return this._customData}_setPaneViews(e){this._paneViews=e,this.model().lightUpdate()}_onDataUpdated(e,t,i){null!==t&&(t.indexes_replace?((0,s.assert)("nochange"!==i),this._indexes=i):(this._customData=t.data,"nochange"!==i&&(this._indexes=i))),super._onDataUpdated(e,t,i)}}},52457:(e,t,i)=>{"use strict";i.d(t,{OverlayLegendValuesProvider:()=>C}) +;var s=i(37667),r=i(93751),n=i(28353),o=i(49483),a=i(68906),l=i(62820),c=i(26811),h=i(83393),d=i(71053),u=i(14291),p=i(85733),_=i(89128),m=i(33981),g=i(88129),f=i(57626);const v=o.CheckMobile.any(),S=v&&!0,y=new c.PercentageFormatter,b=f.notAvailable,w=`${b} (${b}%)`;class C extends class{constructor(e,t){this._study=e,this._model=t,this._emptyValues=[{title:(0,n.t)("Open"),visible:!1,value:"",index:0,id:""},{title:(0,n.t)("High"),visible:!1,value:"",index:1,id:""},{title:(0,n.t)("Low"),visible:!1,value:"",index:2,id:""},{title:(0,n.t)("Close"),visible:!1,value:"",index:3,id:""},{title:"",visible:!1,value:"",index:4,id:""},{title:"",visible:!1,value:"",index:5,id:""},{title:(0,n.t)("Change"),visible:!1,value:"",index:6,id:""}]}getItems(){return this._emptyValues}getValues(e){const t=this._emptyValues.map(e=>({...e}));if(this._model.timeScale().isEmpty())return t;if(0===this._study.data().size())return t;const i=this._showLastPriceAndChangeOnly();if((0,r.isNumber)(e)||(i?e=this._study.data().lastIndex():(e=this._model.crossHairSource().appliedIndex(),(0,r.isNumber)(e)||(e=this._study.data().lastIndex()))),null===e||!(0,r.isNumber)(e))return t;const s=this._study.data().search(e,d.PlotRowSearchMode.NearestLeft,1),n=this._model.backgroundTopColor().value();if(null===s)return t;const o=s.index,c=s.value,u=c[1],p=c[2],_=c[3],f=c[4];t[0].value=b,t[1].value=b,t[2].value=b,t[3].value=b,t[6].value=w;for(const e of t)e.visible=!i;const v=t[4];v.visible=!1;const{values:C}=this._changesData(f,u,o,i),P=(0,g.getPriceValueFormatterForSource)(this._study);if((0,g.shouldBeFormattedAsPercent)(this._study)||(0,g.shouldBeFormattedAsIndexedTo100)(this._study))t[6].value="";else if(void 0!==C){const e=this._study.formatter();t[6].value=(0,l.forceLTRStr)(`${e.format(C.change,!0)} (${y.format(C.percentChange,!0)})`)}i?(t[5].value=null==f?b:P(f),t[5].visible=!0,t[6].visible=!0):(t[0].value=null==u?b:P(u),t[1].value=null==p?b:P(p),t[2].value=null==_?b:P(_),t[3].value=null==f?b:P(f),v.value=P(this._study.barFunction()(c)),t[5].visible=!1);let T=null;if(i&&!S)T=void 0===C||C.change>=0?m.SeriesBarColorer.upColor(this._study.properties()):m.SeriesBarColorer.downColor(this._study.properties());else{const e=this._study.barColorer().barStyle(o,!1),t=null!=e.barBorderColor?e.barBorderColor:e.barColor;T=(0,h.calculateColor)(n,t)}T=(0,a.resetTransparency)((0,h.calculateColor)(n,T));for(const e of t)e.color=T;return t}_showLastPriceAndChangeOnly(){return v&&(null===this._model.crossHairSource().pane||(0,u.isLineToolName)(p.tool.value())||null!==this._model.lineBeingEdited())}_changesData(e,t,i,s){var r;if(s&&!S){const e=this._study.quotes();if(null!==e)return{values:{change:e.change,percentChange:e.change_percent},priceDirection:{basedOnCurrentBar:e.change>=0?0:1,basedOnPrevClose:e.change>=0?0:1}}}else{const s=this._study.data().search(i-1,d.PlotRowSearchMode.NearestLeft,1),n=null!==(r=null==s?void 0:s.value[4])&&void 0!==r?r:null;if(null!==n&&null!=e&&null!=t)return{values:{change:e-n,percentChange:(0,_.barPercentChange)(n,e)},priceDirection:{ +basedOnCurrentBar:e>=t?0:1,basedOnPrevClose:e>=n?0:1}}}return null==e||null==t?{}:{priceDirection:{basedOnCurrentBar:e>=t?0:1,basedOnPrevClose:e>=t?0:1}}}}{constructor(e,t){super(e,t);const i=t.properties().childs().paneProperties.childs().legendProperties.childs();this._showBarChange=i.showBarChange,this._showSeriesOHLC=i.showSeriesOHLC,this._seriesStyle=e.properties().childs().style}getValues(e){const t=super.getValues(e);if(!this._showLastPriceAndChangeOnly()){const e=(0,s.isPriceSourceStyle)(this._seriesStyle.value()),i=this._showSeriesOHLC.value(),r=i&&!e,n=i&&e;t[0].visible=r,t[1].visible=r,t[2].visible=r,t[3].visible=r,t[6].visible=this._showBarChange.value(),t[4].visible=n}return t}}},79284:(e,t,i)=>{"use strict";i.d(t,{OverlayStatusProvider:()=>r});var s=i(40529);class r extends s.StudyStatusProvider{getSplitTitle(){return this._source.titleInParts(!0,void 0,!1,!1)}text(){return this._source.isActualInterval()?this._source.isFailed()?`${this._source.title(!0,void 0,!1,!1)}: ${this.sourceStatusText()}`:`${this._source.title(!0,void 0,!1,!1)} ${this.sourceStatusText()}`:this._source.title(!0,void 0,!1,!1)}}},28283:(e,t,i)=>{"use strict";i.d(t,{PivotPointsStandardLastPricesView:()=>o});var s=i(71053);const r=["p","s1","r1","s2","r2","s3","r3","s4","r4","s5","r5"],n={P:"P",S1:"S1/R1",S2:"S2/R2",S3:"S3/R3",S4:"S4/R4",S5:"S5/R5",R1:"S1/R1",R2:"S2/R2",R3:"S3/R3",R4:"S4/R4",R5:"S5/R5"};class o{constructor(e){this._visiblePivots=new Set,this._invidated=!0,this._prices=[],this._source=e}visiblePivots(){return this._visiblePivots}update(){this._invidated=!0}prices(){return this._invidated&&(this._updateImpl(),this._invidated=!1),this._prices}_updateImpl(){this._visiblePivots.clear();const e=this._source.model(),t=this._source.priceScale();if(null===t)return;if(e.timeScale().isEmpty()||t.isEmpty())return;const i=e.timeScale().visibleBarsStrictRange();if(null===i)return;if(!this._source.customData()||!this._source.customData().pivots)return;const o=e.mainSeries().bars().search(i.lastBar(),s.PlotRowSearchMode.NearestLeft);if(null===o)return;const a=o.index,l=this._source.customData().pivots,c=this._source.indexes(),h=this._source.properties(),d=this._source.firstValue();for(let e=0;e=a||o)){this._visiblePivots.add(l[e]),this._prices=[];for(let i=0;i{"use strict";i.d(t,{PaneRendererStandardPivotLabel:()=>r});var s=i(84346);class r{constructor(e,t,i){this._drawRects=[],this._cacheProvider=e,this._point=t,this._label=i}draw(e,t){const i=this._cacheProvider(t);e.save(),e.setTransform(1,0,0,1,0,0);const s=t.pixelRatio;this._drawRects=[];const r=t=>{const r=i.labelRectByIndex(t),n={left:Math.round(this._point.x-r.width+o), +top:Math.round(this._point.y-r.height/2),width:r.width,height:r.height};return e.drawImage(i.canvas(),Math.round(r.left*s),Math.round(r.top*s),r.width*s,r.height*s,Math.round(n.left*s),Math.round(n.top*s),n.width*s,n.height*s),this._drawRects.push(n),r.width},n=this._label.split("/");let o=0;for(let e=0;e0&&(o+=r(t+11)/2),o+=r(t)/2}e.restore()}hitTest(e){for(const t of this._drawRects)if(e.x>=t.left&&e.x<=t.left+t.width&&e.y>=t.top&&e.y<=t.top+t.height)return new s.HitTestResult(s.HitTestResult.REGULAR);return null}}},66632:(e,t,i)=>{"use strict";i.d(t,{StandardPivotPointsImageCache:()=>n});var s=i(93435),r=i(88537);class n{constructor(e,t,i,r){this._priceAxisFontSize=11,this._prices=[],this._labelWidth=0,this._paneRenderParams=e,this._recreateCanvasAndContext(new s.Size(0,0)),this.reset({font:t,fontSize:i,backColors:r})}destroy(){delete this._canvas,delete this._cache}canvas(){return this._canvas}reset(e){this._renderParams=e,this._prices=[],this._cache.font=e.fontSize+"px "+e.font,this._labelWidth=["P","S1","R1","S2","R2","S3","R3","S4","R4","S5","R5","/"].reduce((e,t)=>{const i=this._cache.measureText(t).width;return Math.max(i,e)},0)}rowHeight(){return this._priceAxisFontSize+4}labelRectByIndex(e){return{left:0,top:Math.round(this._topByIndex(e)),width:Math.round(this._labelWidth+4),height:Math.round(this._renderParams.fontSize+8)}}setPrices(e){let t=!1;const i=(e,t)=>{const i=void 0===e,s=void 0===t;return(!i&&!s||i===s)&&(0,r.ensureDefined)(e).formatted===(0,r.ensureDefined)(t).formatted};if(e.length!==this._prices.length)t=!0;else for(let s=0;s{this._cache.translate(.5,.5),this._cache.font=this._renderParams.fontSize+"px "+this._renderParams.font,this._cache.textBaseline="middle";for(let e=0;e{"use strict";i.d(t,{StandardPivotPointsPriceAxisView:()=>n});var s=i(97938);const r=["P","S1","R1","S2","R2","S3","R3","S4","R4","S5","R5"];class n extends s.PriceAxisView{constructor(e,t){super(), +this._source=e,this._data=t;const i=t.name;this._completeName="P"===i.toUpperCase()?"P":`S${i[1]}/R${i[1]}`}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._source.properties();if(!s.visible.value())return;const n=this._completeName,o=s.levelsStyle.visibility;if(!o[n]||!o[n].value())return;const a=this._source.model().timeScale(),l=this._source.priceScale();if(a.isEmpty()||null===a.visibleBarsStrictRange()||null!==l&&l.isEmpty())return;const c=this._source.customData();if(!c||!c.pivots)return;const h=this._source.pricesView().prices()[r.indexOf(this._data.name.toUpperCase())];if(!h)return;i.background=h.color,i.textColor=this.generateTextColor(h.color),i.coordinate=h.coordinate,i.floatCoordinate=h.floatCoordinate;const d=this._source.model().properties().childs().scalesProperties.childs();d.showStudyLastValue.value()&&(e.text=h.formatted,e.visible=!0),d.showStudyPlotLabels.value()&&(t.text=this._source.priceLabelText(this._data.name),t.visible=!0)}}},46319:(e,t,i)=>{"use strict";var s=i(69927).PriceRange,r=i(86441).Point,n=i(190).StudyStatusView,o=i(26179).StudyDataWindowView,a=i(13672).NonSeriesStudy,l=i(37157).StandardPivotPointsPriceAxisView,c=i(28978).PanePriceAxisView,h=i(84346).HitTestResult,d=i(94804).CompositeRenderer,u=i(15712).areEqualPaneRenderParams,p=i(66632).StandardPivotPointsImageCache,_=i(28283).PivotPointsStandardLastPricesView,m=i(19722).PaneRendererStandardPivotLabel,g=i(40254).HorizontalLineRenderer,f=i(22799);class v{constructor(e,t){this._model=e,this._source=t,this._pivots=[],this._textCache={}}setCache(e){this._cache=e}priceAxisViews(e,t){return this._priceAxisViews}mergeLabel(e,t,i){var s=""+t;void 0===e[s]?(e[s]={},e[s].text=i,e[s].ids=[this.complete(i)]):(e[s].text+="/"+i,e[s].ids.push(this.complete(i)))}complete(e){return"P"===e?e:"S"+e[1]+"/R"+e[1]}update(){this._invalidated=!0}_updateImpl(){if(this._source.pricesView().prices(),this._pivots=[],this._source.customData()&&this._source.customData().pivots&&this._source.properties().visible.value()){var e=this._source.customData().pivots,t=this._source._indexes,i=this._model.timeScale(),s=this._source.priceScale();if(s&&!s.isEmpty()&&!i.isEmpty()&&e){var r=i.visibleBarsStrictRange(),n=r.firstBar(),o=r.lastBar();if(this._source.ownerSource())for(var a=this._source.ownerSource().firstValue(),l=0;lo)){var d={},u=this._source.properties().levelsStyle.visibility;u.P.value()&&this.mergeLabel(d,e[l].p,"P"),u["S1/R1"].value()&&(this.mergeLabel(d,e[l].s1,"S1"),this.mergeLabel(d,e[l].r1,"R1")),u["S2/R2"].value()&&(this.mergeLabel(d,e[l].s2,"S2"),this.mergeLabel(d,e[l].r2,"R2")),u["S3/R3"].value()&&(this.mergeLabel(d,e[l].s3,"S3"),this.mergeLabel(d,e[l].r3,"R3")),u["S4/R4"].value()&&(this.mergeLabel(d,e[l].s4,"S4"),this.mergeLabel(d,e[l].r4,"R4")),u["S5/R5"].value()&&(this.mergeLabel(d,e[l].s5,"S5"),this.mergeLabel(d,e[l].r5,"R5"));var p=i.indexToCoordinate(c),_=i.indexToCoordinate(h);for(var m in d){var g=parseFloat(m),f=s.priceToCoordinate(g,a) +;this._pivots.push({x1:p,x2:_,y:f,label:d[m].text,labelIds:d[m].ids,src:e[l]})}}}}}}renderer(){this._invalidated&&(this._updateImpl(),this._invalidated=!1);for(var e=new d,t=this._source.properties().levelsStyle.colors,i=this._source.properties().levelsStyle.widths,s=this._source.visiblePivots(),n=0;nt)){var l=[],c=this._properties.levelsStyle.visibility;c.P.value()&&l.push(i[o].p),c["S1/R1"].value()&&l.push(i[o].s1,i[o].r1),c["S2/R2"].value()&&l.push(i[o].s2,i[o].r2),c["S3/R3"].value()&&l.push(i[o].s3,i[o].r3),c["S4/R4"].value()&&l.push(i[o].s4,i[o].r4),c["S5/R5"].value()&&l.push(i[o].s5,i[o].r5);for(var h=0;h{"use strict";function s(e){e.lineWidth=void 0,e.lineStyle=void 0;for(let t=0;ts,createEmptyStyle:()=>r})},68617:(e,t,i)=>{"use strict";i.d(t,{PaneRendererColumns:()=>r});var s=i(84346);class r{constructor(e){this._data=null,this._precalculatedCache=[],this.setData(e)}setData(e){this._data=e,this._precalculatedCache=[]}draw(e,t){var i,s,r,n;if(null===this._data||0===this._data.items.length)return;const o=t.pixelRatio;this._precalculatedCache.length||this._fillPrecalculatedCache(o);const a=Math.max(1,Math.floor(o)),l=Math.round(this._data.histogramBase*o)-Math.floor(a/2),c=l+a,h=this._data.lineColor,d=null!==(s=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==s?s:0,u=(null!==(n=null===(r=this._data.visibleItemsRange)||void 0===r?void 0:r.endItemIndex)&&void 0!==n?n:this._data.items.length)-1;for(let t=d;t<=u;t++){const i=this._data.items[t],s=this._precalculatedCache[t-d],r=Math.round(i.y*o),n=i.style?i.style.color:h;let u,p;e.fillStyle=n,r<=l?(u=r,p=c):(u=l,p=r-Math.floor(a/2)+a),e.fillRect(s.left,u,s.right-s.left+1,p-u)}}hitTest(e){if(null===this._data)return null;const t=.5*this._data.barSpacing,i=e.x-t,r=e.x+t;for(const t of this._data.items){const n=t.x;if(n>=i&&n<=r){const i=t.y;if(e.y>=Math.min(i,this._data.histogramBase)&&e.y<=Math.max(i,this._data.histogramBase))return new s.HitTestResult(s.HitTestResult.REGULAR)}} +return null}_fillPrecalculatedCache(e){var t,i,s,r;if(null===this._data||0===this._data.items.length)return void(this._precalculatedCache=[]);const n=Math.ceil(this._data.barSpacing*e)<=1?0:Math.max(1,Math.floor(e)),o=Math.round(this._data.barSpacing*e)-n,a=null!==(i=null===(t=this._data.visibleItemsRange)||void 0===t?void 0:t.startItemIndex)&&void 0!==i?i:0,l=(null!==(r=null===(s=this._data.visibleItemsRange)||void 0===s?void 0:s.endItemIndex)&&void 0!==r?r:this._data.items.length)-1,c=l-a+1;if(c<=0)return void(this._precalculatedCache=[]);this._precalculatedCache=new Array(c);for(let t=a;t<=l;t++){const i=this._data.items[t],s=Math.round(i.x*e);let r,n;if(o%2){const e=(o-1)/2;r=s-e,n=s+e}else{const e=o/2;r=s-e,n=s+e-1}this._precalculatedCache[t-a]={left:r,right:n,roundedCenter:s,center:i.x*e,time:i.timePointIndex}}for(let e=a+1;e<=l;e++){const t=this._precalculatedCache[e-a],i=this._precalculatedCache[e-a-1];t.time===i.time+1&&(t.left-i.right!==n+1&&(i.roundedCenter>i.center?i.right=t.left-n-1:t.left=i.right+n+1))}let h=Math.ceil(this._data.barSpacing*e);for(let e=a+1;e<=l;e++){const t=this._precalculatedCache[e-a];t.right0&&h<4)for(let e=a+1;e<=l;e++){const t=this._precalculatedCache[e-a];t.right-t.left+1>h&&(t.roundedCenter>t.center?t.right-=1:t.left+=1)}}}},2662:(e,t,i)=>{"use strict";i.d(t,{StudyPlotPaneView:()=>V});var s=i(88537),r=i(86441),n=i(24377),o=i(67337),a=i(64514),l=i(80643),c=i(68906),h=i(98619);function d(e,t){const i=new Map;return function(...s){const r=""+(t?t.apply(null,s):s[0]);if(!i.has(r)){const t=e.apply(this,s);return i.set(r,t),t}return i.get(r)}}var u=i(84346),p=i(84705),_=i(94804),m=i(46214),g=i(28113),f=i(85847),v=i(41892),S=i(31175),y=i(49094),b=i(49483);class w{constructor(e){this._data=e}draw(e,t){var i,s,r,n;const o=this._data,a=t.pixelRatio,c=Math.max(1,Math.floor(a))%2?.5:0,h=o.vertOffset||0,d=o.lineColor||o.color,u=o.lineWidth||o.height/2;let p="",_=!1;const m=null!==(s=null===(i=o.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==s?s:0,g=null!==(n=null===(r=o.visibleItemsRange)||void 0===r?void 0:r.endItemIndex)&&void 0!==n?n:o.items.length;for(let t=m;t{const t=(0,n.rgbToHsl)((0,n.parseRgb)(e)),i=t[0]+.05;return t[0]=i-Math.floor(i),(0,n.rgbToHexString)((0,n.hslToRgb)(t))},k=d(E);function D(e,t){if(null===e)return t;const i=e.firstIndex,s=t.firstIndex,r=e.clearData||t.clearData;return{firstIndex:r||void 0===i||void 0===s?void 0:Math.min(i,s),clearData:r}}class V{constructor(e,t,i,s){this._histogramBase=null,this._items=[],this._selectionData=null,this._lineColor="", +this._lineWidth=1,this._color1="",this._color2="",this._dataInvalidated=null,this._viewportInvalidated=!1,this._renderer=new _.CompositeRenderer,this._isMarkersEnabled=o.enabled("source_selection_markers"),this._study=e,this._series=t,this._model=i,this._plotName=s,this._plotIndex=e.metaInfo().plots.findIndex(e=>e.id===s),this._colorProvider=(0,M.createStudyPlotColorProvider)(e.metaInfo(),e.properties(),s),this._selectionIndexer=new f.SelectionIndexes(i.timeScale())}items(){return this._items}update(e){if("global-change"===e.type)return this._dataInvalidated=D(this._dataInvalidated,{}),void(this._viewportInvalidated=!0);if("data-source-change"!==e.type)this._viewportInvalidated=!0;else{if(e.dataSourceId===this._study.id()){const t=D(this._dataInvalidated,{firstIndex:e.firstUpdatedTimePointIndex,clearData:e.clearData});this._dataInvalidated=t}}}renderer(){return this._dataInvalidated?this._updateImplFull(this._viewportInvalidated)&&(this._dataInvalidated=null):this._viewportInvalidated&&this._updateImplLight(),this._viewportInvalidated=!1,this._renderer}_getTranspValue(){const e=this._study.properties(),t=e.styles[this._plotName];let i=0;const s=this._study.metaInfo();return"Volume@tv-basicstudies"===s.id&&s.version<=46&&"transparency"in e?(i=e.transparency.value(),i=(0,l.isNumber)(i)?i:0,i):(t.transparency&&(i=t.transparency.value(),i=(0,l.isNumber)(i)?i:0),i)}_updateImplFull(e){var t,i,n,o;const l=this._study.properties().styles[this._plotName];if(this._renderer.clear(),(null===(t=this._dataInvalidated)||void 0===t?void 0:t.clearData)&&(this._items=[]),!l.visible.value())return!1;if(!this._study.priceScale())return!1;const h=this._study.firstValue();if(null===h)return!1;const d=this._study.priceScale();if(null===d)return!1;this._histogramBase=null;const u=this._study.data(),p=u.size();if(0===p)return!1;const _=this._study.offset(this._plotName);let m=null===(i=this._dataInvalidated)||void 0===i?void 0:i.firstIndex;const g=l.plottype.value(),f=[I.LineStudyPlotStyle.Line,I.LineStudyPlotStyle.Area,I.LineStudyPlotStyle.Circles,I.LineStudyPlotStyle.Cross].indexOf(g)>=0;if(p!==this._items.length){const e=void 0!==m?m+_:void 0;if(void 0===e||0===this._items.length||e<(0,s.ensureDefined)(this._items[0].timePointIndex))this._items=[],u.each((e,t)=>{const i=t[this._plotIndex+1];if(f&&null==i||e<=-1e6)return!1;const s=new r.Point(NaN,NaN);return s.origPrices=new r.Point(NaN,NaN),s.timePointIndex=e+_,this._items.push(s),!1}),m=this._items.length?(0,s.ensureDefined)(this._items[0].timePointIndex)-_:void 0;else{const e=this._items[this._items.length-1].timePointIndex,t=(0,s.ensureDefined)(e)-_,i=(0,s.ensureNotNull)(u.lastIndex())+1,n=u.rangeIterator(t+1,i);for(;n.hasNext();){const e=n.next(),t=e.value[this._plotIndex+1],i=null==t;if(f&&i||e.index<-1e6)continue;const s=new r.Point(NaN,NaN);s.origPrices=new r.Point(NaN,NaN),s.timePointIndex=e.index+_,this._items.push(s)}}}let v=NaN,y=NaN;const b=new Map,w=(e,t)=>{let i=b.get(e);void 0===i&&(i=new Map,b.set(e,i));let s=i.get(t);if(void 0===s){ +const r=!this._plotName||"vol"!==this._plotName;s=(0,c.generateColor)(e,t,r),i.set(t,s)}return s},C=(0,S.createEmptyStyle)(),P=(0,a.clamp)(this._getTranspValue(),0,100),T=this._model.timeScale().visibleBarsStrictRange();if(null===T)return!1;const{startBar:x,endBar:M}=this._calculateStartEnd(T);if(null===x||null===M||0===this._items.length)return!1;const A=null!=m?m:(0,s.ensureNotNull)(u.firstIndex()),E=u.rangeIterator(A,(0,s.ensureNotNull)(u.lastIndex())+1),k=(0,L.lowerbound)(this._items,A+_,(e,t)=>e.timePointIndex0){const e=this._items[D-1].timePointIndex,i=new r.Point(t-1,NaN);i.origPrices=new r.Point(t-1,NaN),i.timePointIndex=e,De.timePointIndexe.timePointIndexe.timePointIndexe.timePointIndex0?(s-=n,r+=n):(s+=n,r-=n);const o=this._study.getMinFirstBarIndexForPlot(this._plotName)+n+1;return o>r+1?{startBar:null,endBar:null}:(s=Math.max(o,s),{startBar:s,endBar:r})}_createRenderer(e,t){var i;this._renderer.clear();const r=this._study.properties().styles[this._plotName],n=r,o=(0,a.clamp)(this._getTranspValue(),0,100);this._lineColor=(0,c.generateColor)(n.color.value(),o),this._lineWidth=n.linewidth.value();let d=n.color.value();const u=this._colorProvider.getDefaultPlotPointStyle();u&&(d=u.colors[0],this._lineWidth=null!==(i=u.lineWidth)&&void 0!==i?i:this._lineWidth,this._lineColor=d?(0,c.generateColor)(d,o):this._lineColor),this._color2=(0,c.generateColor)(d,o);const _=this._study.metaInfo().isRGB?E(d):k(d);this._color1=(0,c.generateColor)(_,o);const f={};f.barSpacing=this._model.timeScale().barSpacing(),f.items=this._items,f.histogramBase=this._histogramBase?this._histogramBase:(0,s.ensureNotNull)(this._study.priceScale()).height(),f.lineIndex=0,f.lineStyle=r.linestyle.value(),f.lineColor=this._lineColor,f.lineWidth=this._lineWidth,f.lineWidth=(0,l.isNumber)(f.lineWidth)?f.lineWidth:1,f.color1=this._color1,f.color2=this._color2,f.bottom=f.histogramBase,f.visibleItemsRange={startItemIndex:e,endItemIndex:t},f.simpleMode=this._colorProvider.singleColor();const S=this._renderer,y=!!r.joinPoints&&r.joinPoints.value();switch(r.plottype.value()){case I.LineStudyPlotStyle.Line:case I.LineStudyPlotStyle.LineWithBreaks:S.append(new m.PaneRendererLine(f));break;case I.LineStudyPlotStyle.Area:case I.LineStudyPlotStyle.AreaWithBreaks:S.append(new p.PaneRendererArea(f));break;case I.LineStudyPlotStyle.Histogram:S.append(new x(f));break;case I.LineStudyPlotStyle.Columns:S.append(new C.PaneRendererColumns(f));break;case I.LineStudyPlotStyle.Cross:if(S.append(new T(f)),y){const e=(0,h.deepCopy)(f);e.lineWidth=1,e.forceLineWidth=!0,S.append(new m.PaneRendererLine(e))}break;case I.LineStudyPlotStyle.Circles:if(S.append(new w(f)),y){const e=(0,h.deepCopy)(f);e.lineWidth=1,e.ignorePaletteLineWidth=!0,S.append(new m.PaneRendererLine(e))}break;case I.LineStudyPlotStyle.StepLine:case I.LineStudyPlotStyle.StepLineWithDiamonds:{f.decoration=n.plottype.value()===I.LineStudyPlotStyle.StepLineWithDiamonds?g.StepLineDecoration.Diamonds:g.StepLineDecoration.None;const e=new g.PaneRendererStepLine;e.setData(f),S.append(e);break}default: +S.append(new m.PaneRendererLine(f))}this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&this._selectionData&&S.append(new v.SelectionRenderer(this._selectionData))}_createSelection(e){const t=this._study.priceScale();if(null!==t)if(this._model.selection().isSelected(this._study)){const i=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,hittestResult:u.HitTestResult.REGULAR,barSpacing:this._model.timeScale().barSpacing()};const n=(0,s.ensureNotNull)(this._model.paneForSource(this._study)).height(),o=this._study.offset(this._plotName);for(let s=0;s{"use strict";i.d(t,{createStudyPlotColorProvider:()=>p});var s=i(50993),r=i(88537),n=i(31175);const o=new Map([[0,"color"],[2,"textColor"],[3,"borderColor"],[4,"wickColor"],[5,"colorup"],[6,"colordown"]]);class a{constructor(e){this._plotStyle=e}getPlotPointStyle(e,t){const i=t?(0,n.clearStyle)(t):(0,n.createEmptyStyle)();return o.forEach((e,t)=>{this._plotStyle[e]&&(i.colors[t]=this._plotStyle[e].value())}),i.lineWidth=this._plotStyle.linewidth?this._plotStyle.linewidth.value():void 0,i.lineStyle=this._plotStyle.linestyle?this._plotStyle.linestyle.value():void 0,i}isColorDefined(){return!0}singleColor(){return!0}getDefaultPlotPointStyle(){return null}}const l=[0,1,2,3,4,5,6];class c{constructor(e,t,i,s){this._palettesColors=new Map,this._defaultPlotColors=new Map,this._indexes=s;const n=t.styles[i];if(n)for(const[e,t]of o)this._defaultPlotColors.set(e,n[t]);const a=(0,r.ensureDefined)(e.palettes),l=e.plots;s.forEach((e,i)=>{const s=l[e];if(s&&"palette"in s){const e=a[s.palette],r=t.palettes[s.palette];if(e&&r){const{valToIndex:t}=e,{colors:s}=r,n={...s};t&&Object.keys(t).forEach(e=>{const i=t[e];void 0!==i&&(n[e]=s[i])}),this._palettesColors.set(i,n)}}})}getPlotPointStyle(e,t){const i=t?(0,n.clearStyle)(t):(0,n.createEmptyStyle)();return l.forEach(t=>{var s,n;if(this._palettesColors.has(t)){const n=e[(0,r.ensureDefined)(this._indexes.get(t))+1];if("number"==typeof n){const e=null===(s=this._palettesColors.get(t))||void 0===s?void 0:s[n];0===t&&e&&(i.lineWidth=e.width.value(),i.lineStyle=e.style.value()),i.colors[t]=null==e?void 0:e.color.value()}else i.colors[t]="transparent"}else i.colors[t]=null===(n=this._defaultPlotColors.get(t))||void 0===n?void 0:n.value()}),i}getDefaultPlotPointStyle(){var e;const t=null===(e=this._palettesColors.get(0))||void 0===e?void 0:e[0];if(void 0!==t){return{colors:[t.color.value(),void 0,void 0,void 0,void 0,void 0,void 0],lineStyle:void 0,lineWidth:t.width.value()}}return null}isColorDefined(){return!!this._palettesColors.size}singleColor(){return!1}}var h=i(68906) +;class d{constructor(e){this._indexes=e}getPlotPointStyle(e,t){const i=t?(0,n.clearStyle)(t):(0,n.createEmptyStyle)();return this._indexes.forEach((t,s)=>{const r=e[t+1];if(null!=r){const e=(0,h.rgbaFromInteger)(r);i.colors[s]=e}else i.colors[s]="transparent"}),i}isColorDefined(){return!0}singleColor(){return!1}getDefaultPlotPointStyle(){return null}}const u=new Map([[0,function(e,t){const i=(0,s.isColorerPlot)(t)||(0,s.isOhlcColorerPlot)(t);return"target"in t&&t.target===e&&i}],[2,function(e,t){const i=(0,s.isTextColorerPlot)(t);return"target"in t&&t.target===e&&i}],[1,function(e,t){return(0,s.isBgColorerPlot)(t)&&t.id===e}],[3,function(e,t){const i=(0,s.isCandleBorderColorerPlot)(t);return"target"in t&&t.target===e&&i}],[4,function(e,t){const i=(0,s.isCandleWickColorerPlot)(t);return"target"in t&&t.target===e&&i}],[5,function(e,t){const i=(0,s.isUpColorerPlot)(t);return"target"in t&&t.target===e&&i}],[6,function(e,t){const i=(0,s.isDownColorerPlot)(t);return"target"in t&&t.target===e&&i}]]);function p(e,t,i){const{colorers:s}=function(e,t){const i=e.plots,s=i.findIndex(e=>e.id===t),r=new Map;return i.forEach((e,i)=>{u.forEach((s,n)=>{s(t,e)&&r.set(n,i)})}),{plotIndex:-1===s?null:s,colorers:r}}(e,i);if(s.size)return e.isRGB?new d(s):new c(e,t,i,s);{const e=t.ohlcPlots;if(e&&e[i])return new a(e[i]);const s=t.styles[i];return new a(s)}}},50993:(e,t,i)=>{"use strict";var s,r;function n(e){return"line"===e.type}function o(e){return"shapes"===e.type}function a(e){return"chars"===e.type}function l(e){return"arrows"===e.type}function c(e){return"dataoffset"===e.type}function h(e){return"ohlc_open"===e.type}function d(e){return"ohlc_high"===e.type}function u(e){return"ohlc_low"===e.type}function p(e){return"ohlc_close"===e.type}function _(e){return h(e)||d(e)||u(e)||p(e)}function m(e){return"colorer"===e.type}function g(e){return"bar_colorer"===e.type}function f(e){return"bg_colorer"===e.type}function v(e){return"text_colorer"===e.type}function S(e){return"ohlc_colorer"===e.type}function y(e){return"wick_colorer"===e.type}function b(e){return"border_colorer"===e.type}function w(e){return"up_colorer"===e.type}function C(e){return"down_colorer"===e.type}function P(e){return"alertcondition"===e.type}function T(e){return"Plot"!==e}function x(e){return"ohlc_bars"===e.plottype}function I(e){return"ohlc_candles"===e.plottype}function M(e){return m(e)||g(e)||f(e)||c(e)||S(e)||P(e)||w(e)||C(e)||b(e)||y(e)||v(e)}function L(e){return m(e)||v(e)||g(e)||c(e)||S(e)||y(e)||b(e)||w(e)||C(e)||P(e)}i.r(t),i.d(t,{LineStudyPlotStyle:()=>s,isLinePlot:()=>n,isShapesPlot:()=>o,isCharsPlot:()=>a,isArrowsPlot:()=>l,isDataOffsetPlot:()=>c,isOhlcOpenPlot:()=>h,isOhlcHighPlot:()=>d,isOhlcLowPlot:()=>u,isOhlcClosePlot:()=>p,isOhlcPlot:()=>_,isColorerPlot:()=>m,isBarColorerPlot:()=>g,isBgColorerPlot:()=>f,isTextColorerPlot:()=>v,isOhlcColorerPlot:()=>S,isCandleWickColorerPlot:()=>y,isCandleBorderColorerPlot:()=>b,isUpColorerPlot:()=>w,isDownColorerPlot:()=>C,isAlertConditionPlot:()=>P,isPlotTitleDefined:()=>T,isOhlcPlotStyleBars:()=>x, +isOhlcPlotStyleCandles:()=>I,PlotSymbolSize:()=>r,isPlotWithTechnicalValues:()=>M,isNonVisualPlot:()=>L}),function(e){e[e.Line=0]="Line",e[e.Histogram=1]="Histogram",e[e.Cross=3]="Cross",e[e.Area=4]="Area",e[e.Columns=5]="Columns",e[e.Circles=6]="Circles",e[e.LineWithBreaks=7]="LineWithBreaks",e[e.AreaWithBreaks=8]="AreaWithBreaks",e[e.StepLine=9]="StepLine",e[e.StepLineWithDiamonds=10]="StepLineWithDiamonds"}(s||(s={})),function(e){e.Auto="auto",e.Tiny="tiny",e.Small="small",e.Normal="normal",e.Large="large",e.Huge="huge"}(r||(r={}))},81851:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createStudy:()=>B,isESDOrRollDatesStudy:()=>k,isESDStudy:()=>A,isFundamentalStudy:()=>L,isFundamentalStudyMetaInfo:()=>D,isRollDatesStudy:()=>E,isStudy:()=>x,isStudyStrategy:()=>I,isStudyStub:()=>M,studyColorRotationMode:()=>N,useSameColorRotationComparator:()=>O});var s=i(67337),r=i(67072),n=i.n(r),o=i(66101),a=i(46319),l=i(9771),c=i(55153),h=i(67509),d=i(25270);const u=s.enabled("hide_main_series_symbol_from_indicator_legend");class p extends o.Study{constructor(e,t,i,s){super(e,t,i,s),this.properties().styles.vol_ma.visible.listeners().subscribe(this,()=>this.invalidateTitleCache())}base(){return 1}destroy(){this.properties().styles.vol_ma.visible.listeners().unsubscribeAll(this),super.destroy()}_titleInputs(){const e={symbolsForDisplay:!0,skipHiddenInputs:!0,fakeInputsForDisplay:!0,asObject:!1,skipOptionalEmptySymbolInputs:u};return this.properties().styles.vol_ma.visible.value()?this.inputs(e):this.inputs({...e,skippedInputs:["length"]})}}var _=i(88537),m=i(52714),g=i.n(m),f=i(2015),v=i.n(f),S=i(37667),y=i(14791);class b extends o.Study{constructor(e,t,i,s){super(e,function(e){return e.hasChild("currencyId")||e.addChild("currencyId",new(v())(null)),e.hasChild("unitId")||e.addChild("unitId",new(v())(null)),e.addExclusion("currencyId"),e.addExclusion("unitId"),e}(t),i,s),this._isActingAsSymbolSource=new(g())(!1),this._symbolHibernated=new(g())(!1),this._symbolResolvingActive=new(g())(!1),this._realignToolsLastParams=null,this._onIsActingAsSymbolSourceChanged=()=>{this._realignLineToolsIfParamsChanged()},this._recalculateIsActingAsSymbolSource(),this._isActingAsSymbolSource.subscribe(this._onIsActingAsSymbolSourceChanged);const r=this.properties().childs().inputs.childs().symbol;this._previousSymbolInputValue=r.value()}destroy(){this._isActingAsSymbolSource.unsubscribe(this._onIsActingAsSymbolSourceChanged),super.destroy()}isActingAsSymbolSource(){return this._isActingAsSymbolSource.readonly()}properties(){return this._properties}symbol(){return this._isActingAsSymbolSource.value()?this.properties().childs().inputs.childs().symbol.value():this.symbolSource().symbol()}interval(){return this.model().mainSeries().interval()}style(){return(0,_.ensureNotNull)(this.parentSource().symbolSource()).style()}currency(){return this._isActingAsSymbolSource.value()?this.properties().childs().currencyId.value()||null:this.symbolSource().currency()}unit(){ +return this._isActingAsSymbolSource.value()?this.properties().childs().unitId.value()||null:this.symbolSource().unit()}setSymbolParams(e){this._setSymbolParamsInternal(e)}setSymbol(e){this.setSymbolParams({symbol:e})}symbolInfo(){if(!this._isActingAsSymbolSource.value())return super.symbolSource().symbolInfo();if(void 0===this._resolvedSymbols)return null;const e=this.symbol(),t=this._getSymbolForResolve(e);return this._resolvedSymbols[t]||null}symbolSource(){return this._isActingAsSymbolSource.value()?this:super.symbolSource()}symbolResolved(){return this.symbolsResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._symbolHibernated}isVisible(){const e=super.isVisible();return this._symbolHibernated.setValue(!e),e}symbolSameAsCurrent(e){return(0,y.symbolSameAsCurrent)(e,this.symbol(),this.symbolInfo())}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,S.isConvertedToOtherCurrency)(this.symbolInfo())}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,S.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}setInterval(e){}setStyle(e){}symbolTitle(e,t){return this.title(!0,{},!1,e)}measureUnitId(){return(0,S.measureUnitId)(this.symbolInfo())}bars(){return super.data()}_onPropertiesChanged(){this._recalculateIsActingAsSymbolSource(),super._onPropertiesChanged(),this._realignLineToolsIfParamsChanged()}_tryChangeInputs(){var e;const t=this._resolvedSymbolsByInput[this.symbol()]||null;(0,y.symbolSameAsCurrent)(this._previousSymbolInputValue,this.symbol(),t)||this._setSymbolParamsInternal({currency:null,unit:null}),super._tryChangeInputs(),this._formatter=null,null===(e=this.priceScale())||void 0===e||e.updateFormatter(),this._previousSymbolInputValue=this.properties().childs().inputs.childs().symbol.value()}_getSymbolObject(e){const t={symbol:e},i=this.currency();null!==i&&(t["currency-id"]=i);const s=this.unit();return this._model.unitConversionEnabled()&&null!==s&&(t["unit-id"]=s),t}_getSymbolForApi(e){return(0,S.symbolForApi)(this._resolvedSymbolsByInput[e]||null,e)}_onSymbolResolved(e,t,i){super._onSymbolResolved(e,t,i),this._recreatePriceFormattingDependencies();const s=t===this.symbol()?(0,S.extractSymbolNameFromSymbolInfo)(i,this.symbol()):null;null!==s&&(this._previousSymbolInputValue=s);const r=(0,S.symbolCurrency)(i),n=(0,S.symbolUnit)(i,this._model.unitConversionEnabled());this._setSymbolParamsInternal({symbol:null!=s?s:void 0,currency:r,unit:n},i),this._symbolResolvingActive.setValue(!1)}_onSymbolResolvingStart(){super._onSymbolResolvingStart(),this._symbolResolvingActive.setValue(!0)}_onSymbolError(){super._onSymbolError(),this._symbolResolvingActive.setValue(!1)}_onCurrencyMayChange(){this.isActingAsSymbolSource()?super._onCurrencyMayChange():this._onCurrencyChanged()}_recalculateIsActingAsSymbolSource(){var e,t;const i=null!==(t=""!==(null===(e=this._currencySourceSymbolInputProperty)||void 0===e?void 0:e.value()))&&void 0!==t&&t;this._isActingAsSymbolSource.setValue(i)} +_setSymbolParamsInternal(e,t){const{symbol:i,currency:s,unit:r}=e,n=this.properties().childs(),o=n.inputs.childs().symbol.value(),a=n.currencyId.value(),l=n.unitId.value();if(void 0!==i&&i!==o&&n.inputs.childs().symbol.setValueSilently(i),void 0!==s&&s!==a&&n.currencyId.setValueSilently(s),void 0!==r&&r!==l&&n.unitId.setValueSilently(r),t)this._resolvedSymbolsByInput[this.symbol()]=t,this._resolvedSymbols[this._getSymbolForResolve(this.symbol())]=t,this._realignToolsLastParams=null;else{const e=this.symbolInfo();null!==e&&(n.currencyId.setValueSilently((0,S.symbolCurrency)(e)),n.unitId.setValueSilently((0,S.symbolUnit)(e,this._model.unitConversionEnabled())))}n.inputs.childs().symbol.value()!==o&&n.inputs.childs().symbol.listeners().fire(n.inputs.childs().symbol),n.currencyId.value()!==a&&n.currencyId.listeners().fire(n.currencyId),n.unitId.value()!==l&&n.unitId.listeners().fire(n.unitId),this._realignLineToolsIfParamsChanged()}_realignLineToolsIfParamsChanged(){const e=this.symbol(),t=this.interval(),i=this.currency(),s=this.unit();null!==this._realignToolsLastParams&&this._realignToolsLastParams.symbol===e&&this._realignToolsLastParams.interval===t&&this._realignToolsLastParams.currency===i&&this._realignToolsLastParams.unit===s||(this._model.realignLineTools(this),this._realignToolsLastParams={symbol:e,interval:t,currency:i,unit:s})}}var w=i(69927);class C extends o.Study{priceRange(e,t){let i=!1;this.graphics().hhists().forEach((e,t)=>{i=i||this.properties().child("graphics").child("hhists").child(t).child("showValues").value()});const s=function(e,t,i,s){let r=null;return e.forEach((e,s)=>{e.forEach(e=>{e.firstBarTime<=i&&e.lastBarTime>=t&&(null===r?r={low:{l:e.priceLow,h:e.priceHigh},high:{h:e.priceHigh}}:(e.priceLow{"use strict";i.d(t,{StudyColorRotatorFactory:()=>h});var s=i(45112),r=i(24377),n=i(68906),o=i(81851);const a=["color-sky-blue-400","color-banana-yellow-700","color-deep-blue-500","color-grapes-purple-a700","color-iguana-green-500","color-minty-green-a700","color-ripe-red-a200","color-berry-pink-200","color-tv-blue-a100","color-tan-orange-a200","color-sky-blue-a400","color-deep-blue-a100","color-grapes-purple-400","color-iguana-green-a700","color-minty-green-200","color-ripe-red-200","color-berry-pink-a200","color-ripe-red-500","color-grapes-purple-500","color-deep-blue-400","color-tv-blue-a200","color-sky-blue-500","color-iguana-green-400","color-minty-green-400","color-banana-yellow-600","color-tan-orange-500","color-berry-pink-400","color-ripe-red-300","color-grapes-purple-300","color-deep-blue-300","color-tv-blue-300","color-sky-blue-300","color-iguana-green-300","color-minty-green-300","color-banana-yellow-400","color-tan-orange-300","color-berry-pink-300","color-tan-orange-a700"];class l{constructor(e){this._offset=0,this._offset=e}getColor(e){if(0===this._offset)return e;const t=a[(this._offset-1)%a.length],i=s.colorsPalette[t],o=(0,n.isHexColor)(e)?1:(0,r.parseRgba)(e)[3];return(0,n.generateColor)(i,(0,n.alphaToTransparency)(o))}}class c{constructor(e,t){this._offset=e,this._modelStartOffset=t}getColor(e){if((0,n.isHexColor)(e)){const t=(0,r.parseRgb)(e);return(0,r.rgbToHexString)((0,r.shiftRgb)(t,this._offset,this._modelStartOffset))}{const t=(0,r.parseRgba)(e);return(0,r.rgbaToString)((0,r.shiftRgba)(t,this._offset,this._modelStartOffset))}}}class h{constructor(e){this._chartModel=e}getColorRotator(e){const t=(0,o.studyColorRotationMode)(e);if(null===t)return null;const i=this._calcDefaultColorsOffset(e);switch(t){case"loop":return new l(i);case"shift":{const e=this._chartModel.getStudyShiftColorStartOffset();return new c(i,e)}}}_calcDefaultColorsOffset(e){let t=0;const i=(0,o.useSameColorRotationComparator)(e);return this._chartModel.dataSources().filter(o.isStudy).forEach(s=>{i(e,s.metaInfo())&&t++}),t}}},27982:(e,t,i)=>{"use strict";i.d(t,{StudyDataSource:()=>_});var s,r=i(88537),n=i(2872),o=i.n(n),a=i(71053),l=i(51344),c=i(72857),h=i(8671),d=i(75871);!function(e){e[e.Undefined=0]="Undefined",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed",e[e.Error=3]="Error"}(s||(s={}));const u=(0,i(98125).getLogger)("Chart.StudyDataSource");var p;!function(e){e[e.Idle=0]="Idle",e[e.AwaitingConnection=1]="AwaitingConnection", +e[e.AwaitingParent=2]="AwaitingParent",e[e.AwaitingFirstDataUpdate=3]="AwaitingFirstDataUpdate",e[e.Active=4]="Active"}(p||(p={}));class _{constructor(e,t,i,r){this._inputs=null,this._status=p.Idle,this._studyId=null,this._turnaroundCounter=1,this._studyStatus={type:s.Undefined},this._studyStatusChanged=new(o()),this._graphics=new d.LiveStudyGraphics,this._dataCleared=new(o()),this._dataUpdated=new(o()),this._boundOnGatewayIsConnectedChanged=this._onGatewayIsConnectedChanged.bind(this),this._ongoingDataUpdate=Promise.resolve(),this._gateway=e,this._metaInfo=r,this._seriesSource=t,this._turnaroundPrefix=i,this._plots=new a.PlotList((0,h.studyPlotFunctionMap)(r),h.studyEmptyPlotValuePredicate),this._gateway.isConnected().subscribe(this._boundOnGatewayIsConnectedChanged)}destroy(){this.stop(),this._gateway.isConnected().unsubscribe(this._boundOnGatewayIsConnectedChanged),this._dataUpdated.destroy(),this._dataCleared.destroy(),this._studyStatusChanged.destroy()}metaInfo(){return this._metaInfo}inputs(){return this._inputs}setInputs(e){this._inputs=e,null!==this._studyId&&(this._turnaroundCounter++,this._onStudyStatusChangedTo({type:s.Undefined}),this._gateway.modifyStudy(this._studyId,this._turnaround(),e,this._onMessage.bind(this)),this._status===p.Active&&this._changeStatusTo(p.AwaitingFirstDataUpdate))}isStarted(){return this._status!==p.Idle}isActive(){return this._status===p.Active}start(){this.isStarted()?u.logNormal("start: data source is already started, nothing to do"):((0,r.assert)(null!==this._inputs,"Inputs should be defined when starting a study data source"),this._gateway.isConnected().value()?this._createStudy():this._changeStatusTo(p.AwaitingConnection))}stop(){this.isStarted()?(null!==this._studyId&&(this._gateway.removeStudy(this._studyId),this._studyId=null,this._onStudyStatusChangedTo({type:s.Undefined})),this._changeStatusTo(p.Idle)):u.logNormal("stop: data source is already stopped, nothing to do")}studyId(){return this._studyId}studyStatus(){return this._studyStatus}studyStatusChanged(){return this._studyStatusChanged}plots(){return this._plots}graphics(){return this._graphics}clearData(){this._plots.clear(),this._graphics.clear(),this._dataCleared.fire()}stopAndStealData(){(0,r.assert)(this._status===p.Active,"Couldn't steal data from non-active data source"),this.stop();const e=this._plots,t=this._graphics.extract();return this._plots=new a.PlotList((0,h.studyPlotFunctionMap)(this._metaInfo),h.studyEmptyPlotValuePredicate),{plots:e,graphics:t}}dataCleared(){return this._dataCleared}dataUpdated(){return this._dataUpdated}moveData(e){this._ongoingDataUpdate=this._ongoingDataUpdate.then(()=>{this._plots.move(e)})}pendingUpdatesReady(){return this._ongoingDataUpdate}_changeStatusTo(e){(0,r.assert)(this._status!==e,"Source and destination status should be distinct"),u.logNormal(`Status changed from ${p[this._status]} to ${p[e]}`),this._status=e}_createStudy(){const e=this._seriesSource.instanceId();null!==e?this._createStudyUsingParentId(e):(this._changeStatusTo(p.AwaitingParent), +this._seriesSource.dataEvents().completed().subscribe(this,this._onSeriesCompleted,!0))}_createStudyUsingParentId(e){(0,r.assert)(this._status!==p.Active,'Status should not be "Active" when creating a study'),(0,r.assert)(this._studyStatus.type===s.Undefined,'Study status should be "Undefined" when creating a study'),(0,r.assert)(null===this._studyId,"Study id should be empty when creating a study"),this._studyId=(0,c.makeNextStudyId)(),this._gateway.createStudy(this._studyId,this._turnaround(),e,this._metaInfo.fullId+("tv-basicstudies"===this._metaInfo.packageId?"":"!"),(0,r.ensureNotNull)(this._inputs),this._onMessage.bind(this)),this._changeStatusTo(p.AwaitingFirstDataUpdate)}_onGatewayIsConnectedChanged(e){e?this._onGatewayConnected():this._onGatewayDisconnected()}_onGatewayConnected(){this._status===p.AwaitingConnection&&this._createStudy()}_onGatewayDisconnected(){this._status!==p.Idle&&this._status!==p.AwaitingConnection&&(this._studyId=null,this._changeStatusTo(p.AwaitingConnection),this._studyStatus.type!==s.Undefined&&this._onStudyStatusChangedTo({type:s.Undefined})),this._turnaroundCounter=1}_onSeriesCompleted(){this._status===p.AwaitingParent&&this._createStudyUsingParentId((0,r.ensure)(this._seriesSource.instanceId()))}_onStudyStatusChangedTo(e){const t=this._studyStatus;this._studyStatus=e,u.logNormal(`Study status type changed from ${s[t.type]} to ${s[e.type]}`),this._studyStatusChanged.fire(t,e)}_onMessage(e){if("data_update"===e.method){const{customId:t,turnaround:i,plots:s,nonseries:n}=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onDataUpdate(s,(0,r.ensureDefined)(n))}else if("study_loading"===e.method){const[t,i,s]=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onStudyLoading(s)}else if("study_completed"===e.method){const[t,i,s]=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onStudyCompleted(s)}else if("study_error"===e.method){const[t,i,s,r,n]=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onStudyError(s,r,n)}else"clear_data"===e.method&&this._checkTurnaround(e.params.turnaround)&&this.clearData()}_onDataUpdate(e,t){const i=(0,l.unpackNonSeriesData)(t.d);return this._ongoingDataUpdate=this._ongoingDataUpdate.then(()=>i,()=>i).then(this._onDataUnpacked.bind(this,e,t.indexes)),this._ongoingDataUpdate}_onDataUnpacked(e,t,i){this._status!==p.Idle&&(this._status===p.AwaitingFirstDataUpdate&&(this._changeStatusTo(p.Active),this.clearData()),this._mergePlots(e),null!==i&&(i.indexes_replace?((0,r.assert)("nochange"!==t),this._graphics.replaceIndexesTo(t)):("nochange"!==t&&this._graphics.replaceIndexesTo(t),void 0!==i.graphicsCmds&&this._graphics.processCommands(i.graphicsCmds,this._metaInfo.graphics))),this._dataUpdated.fire(e,i,t))}_onStudyLoading(e){this._onStudyStatusChangedTo({type:s.Loading,startTime:Date.now()})}_onStudyError(e,t,i){this.clearData();const r="string"==typeof e?{error:e.split(":",2)[0]}:e;this._onStudyStatusChangedTo({type:s.Error,errorDescription:r})}_onStudyCompleted(e){this._onStudyStatusChangedTo({type:s.Completed})} +_mergePlots(e){this._plots.merge(e)}_turnaround(){return`${this._turnaroundPrefix}${this._turnaroundCounter}`}_checkTurnaround(e){const t=this._turnaround();return e===t||e===this._seriesSource.turnaround()||e===`${this._seriesSource.turnaround()}_${t}`}}},26179:(e,t,i)=>{"use strict";i.d(t,{StudyDataWindowView:()=>o});var s=i(14445),r=i(89027),n=i(99682);class o extends s.DataWindowView{constructor(e,t){super(),this._invalidated=!0,this._study=e,this._model=t,this._valueProvider=this._createValuesProvider(e,t),this._items=this._valueProvider.getItems().map(e=>new s.DataWindowItem(e.title,"")),this.update()}update(){this._invalidated=!0}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}study(){return this._study}_updateImpl(){this._header=this._study.title(!0),this._title=this._study.title();const e=this._valueProvider.getValues(this._currentIndex());for(let t=0;t{"use strict";function s(e){const t=new Map;return e.plots.forEach((e,i)=>{t.set(e.id,e=>e[i+1])}),t}function r(e,t){return null==e[t]}i.d(t,{studyPlotFunctionMap:()=>s,studyEmptyPlotValuePredicate:()=>r})},88145:(e,t,i)=>{"use strict";function s(e,t){return`${e}@${t}`}function r(e){return e.replace(/(@[^-]+-[^-]+).*$/,"$1")}i.d(t,{studyIdString:()=>s,extractStudyId:()=>r})},33266:(e,t,i)=>{"use strict";function s(e){return["text","integer","float","price","session","resolution"].includes(e.type)&&e.hasOwnProperty("options")}function r(e,t,i){for(const s of e)if(t[s.id]!==i[s.id])return!1;return!0}function n(e){return("time"===e.type||"price"===e.type)&&!0!==e.isHidden}function o(e){return[]}i.d(t,{isStudyInputOptionsInfo:()=>s,areStudyInputsEqual:()=>r,isTimeOrPriceNotHiddenInput:()=>n,editableStudyInputs:()=>o})},90998:(e,t,i)=>{"use strict";i.d(t,{StudyInserter:()=>a});var s,r=i(67072),n=i.n(r);!function(e){e.StudyCannotBeChild="cannot_be_child",e.StubWasRemoved="stub_was_removed",e.CannotGetMetainfo="cannot_get_metainfo",e.Cancelled="cancelled",e.Unknown="unknown"}(s||(s={}));const o=(0,i(98125).getLogger)("Chart.Studies.StudyInserter");class a{constructor(e,t,i){this._parentSource=void 0,this._propsState=void 0,this._preferredPriceScale=void 0,this._allowChangeCurrency=!1,this._allowChangeUnit=!1,this._paneSize=void 0,this._forceOverlay=!1,this._studyMetaInfoRepository=t,this._inserterImpl=i,this._studyDescriptor=e}setParentSource(e){this._parentSource=e||void 0}setPaneSize(e){this._paneSize=e}setPreferredPriceScale(e){this._preferredPriceScale=e}setAllowChangeCurrency(e){this._allowChangeCurrency=e}setAllowChangeUnit(e){this._allowChangeUnit=e}setForceOverlay(e){ +this._forceOverlay=e}setPropertiesState(e){this._propsState=e}setTargetPriceScaleMode(e){this._targetPriceScaleMode=e}async insert(e,t){const i=void 0!==(r=this._inserterImpl).createStub&&void 0!==r.removeStub?this._inserterImpl.createStub():null;var r;let n,a=!0;try{n=await this._studyMetaInfoRepository.findById(this._studyDescriptor)}catch(e){return o.logWarn("Cannot get study "+JSON.stringify(this._studyDescriptor)),Promise.reject(s.CannotGetMetainfo)}finally{null!==i&&(a=this._inserterImpl.removeStub(i))}if(!a)return Promise.reject(s.StubWasRemoved);if(void 0!==t&&t.cancelled)return Promise.reject(s.Cancelled);if(!this._canApplyStudyToParent(n))return Promise.reject(s.StudyCannotBeChild);const l={...n.defaults.inputs};let c={};if(void 0!==e){const t=await e(l,n.inputs,n);c=t.inputs,void 0===this._parentSource&&t.parentSource&&(this._parentSource=t.parentSource)}if(void 0!==t&&t.cancelled)return Promise.reject(s.Cancelled);const h=this._insertStudy(n,c);return null===h?Promise.reject(s.Unknown):h}_insertStudy(e,t){return this._inserterImpl.createStudy(e,t,null,this._propsState,this._forceOverlay,this._parentSource,this._preferredPriceScale,this._allowChangeCurrency,this._allowChangeUnit,this._paneSize,this._targetPriceScaleMode)}_canApplyStudyToParent(e){return void 0===this._parentSource||n().canBeChild(e)}}},22458:(e,t,i)=>{"use strict";i.d(t,{StudyLegendValuesProvider:()=>n});var s=i(89027),r=i(99682);class n{constructor(e,t){this._study=e,this._model=t,this._showStudyValues=t.properties().childs().paneProperties.childs().legendProperties.childs().showStudyValues,void 0!==e.metaInfo().graphics.hhists?this._valuesProvider=new r.HHistBasedValuesProvider(e,t):this._valuesProvider=new s.StudyValuesProvider(e,t)}getItems(){return this._valuesProvider.getItems()}getValues(e){const t=this._valuesProvider.getValues(e),i=this._study.properties(),s=this._showStudyValues.value()&&i.showLegendValues.value();for(const e of t)e.visible=e.visible&&s;return t}}},43181:(e,t,i)=>{"use strict";i.d(t,{StudyMetaInfoRepository:()=>h});var s=i(28353),r=i(88537),n=i(67072),o=i.n(n),a=i(5402),l=i(15625);const c=(0,i(98125).getLogger)("Chart.Studies.StudyMetaInfoRepository",{color:"#606"});class h{constructor(e){this._nextRequestNumber=1,this._rawStudiesMetaInfo=[],this._isReady=!1,this._metaInfoQueryQueue=[],this._javaMetaInfoQueryQueue=[],this._javaStudiesMetaInfo=[],this._pineMetaInfoCache=[],this._studiesMigrations=[],this._gateway=e}requestMetaInfo(){this._requestStarted();const e=this._makeNextRequestId();return c.logNormal("Requesting metainfo #"+e),new Promise(t=>{c.logNormal("Requesting studies metadata #"+e),this._gateway.requestMetadata(e,i=>{c.logNormal(`Requesting studies metadata #${e} finished`);const s=i.params[1].metainfo.slice();this._processLibraryMetaInfo(s),this._requestFinished(),t()})})}findById(e){if(!this._isReady)return this._enqueueMetaInfoQuery(e);const t=this._findStudyMetaInfo(e) +;return null!==t?Promise.resolve(t):"pine"===e.type?this._compilePine(e):Promise.reject(`unexpected study id=${e.studyId} with type=${e.type}`)}findByIdSync(e){return this._findStudyMetaInfo(e)}isReady(){return this._isReady}findAllJavaStudies(){return this._isReady?Promise.resolve(this._javaStudiesMetaInfo):this._enqueueJavaMetaInfoQuery()}getInternalMetaInfoArray(){return this._javaStudiesMetaInfo}getMigrations(){return this._studiesMigrations}addPineMetaInfo(e){return u(this._pineMetaInfoCache,e)}_processMigrations(e){throw new Error("not implemented")}_processSiteMetaInfo(e,t){throw new Error("not implemented")}_processLibraryMetaInfo(e){for(const t of e)d(t),u(this._javaStudiesMetaInfo,t);this._javaStudiesMetaInfo=this._javaStudiesMetaInfo.sort((e,t)=>{const i=e.description_localized||e.description,s=t.description_localized||t.description;return i>s?1:i{this._metaInfoQueryQueue.push({studyDescriptor:e,resolver:t})})}_enqueueJavaMetaInfoQuery(){return new Promise(e=>{this._javaMetaInfoQueryQueue.push({resolver:e})})}_processPendingMetaInfoQueries(){for(;this._metaInfoQueryQueue.length;){const e=this._metaInfoQueryQueue.shift();this.findById(e.studyDescriptor).then(e.resolver)}}_processPendingFullMetaInfoQueries(){for(;this._javaMetaInfoQueryQueue.length;){this._javaMetaInfoQueryQueue.shift().resolver(this._javaStudiesMetaInfo)}}_findStudyMetaInfo(e){return"java"===e.type?this._javaStudiesMetaInfo.find(t=>t.id===e.studyId)||null:this._pineMetaInfoCache.find(t=>t.scriptIdPart===e.pineId&&(void 0===e.pineVersion||(0,r.ensureDefined)(t.pine).version===e.pineVersion))||null}_makeNextRequestId(){return"metadata_"+this._nextRequestNumber++}_compilePine(e){throw new Error("unsupported")}}function d(e){e.description_localized=(0,s.t)(e.description,{context:"study"})}function u(e,t){const i=new(o())(t);(0,a.migrateMetaInfoAndPropState)(i);let s=!0;const r=e.findIndex(e=>e.id===i.id);if(-1===r)e.push(i);else{const t=e[r],n=void 0!==t.pine?l.Version.parse(t.pine.version):null,o=void 0!==i.pine?l.Version.parse(i.pine.version):null;null===o||null===n||o.isGreaterOrEqual(n)?(t.removeDefaults(),e[r]=i):s=!1}return s&&i.createDefaults(),i}},45090:(e,t,i)=>{"use strict";i.d(t,{StudyStatusProviderBase:()=>c});var s=i(50338),r=i(13933),n=i(28353);const o={NONE:"Default"},a=(0,n.t)("No volume data"),l=new Map;class c extends s.StatusProviderBase{constructor(e,t){super(t),this._source=e}getSplitTitle(){return this._source.titleInParts(!0,o,void 0,!1)}text(){ +return this._source.isActualInterval()?this._source.isFailed()?`${this._source.title(!0,o,void 0,!1)}: ${this.sourceStatusText()}`:`${this._source.title(!0,o,void 0,!1)} ${this.sourceStatusText()}`:this._source.title(!0,o,void 0,!1)}sourceStatusText(){return(0,r.convertStudyStatusToString)(this._source.status(),!0)}sourceStatusSolutionId(){const e=this._source.status();if(e.type===r.StudyStatusType.Error)return e.errorDescription.solution_id?e.errorDescription.solution_id:function(e){for(const t of Array.from(l.keys()))if(e.includes(t))return l.get(t)}(e.errorDescription.error)}errorStatus(){if(!this._source.isActualInterval()||this._source.isSymbolInvalid())return null;return this._source.status().type===r.StudyStatusType.Error?{error:this.sourceStatusText(),solutionId:this.sourceStatusSolutionId(),title:this.sourceStatusTitle()}:null}sourceStatusTitle(){const e=this._source.status();if(e.type===r.StudyStatusType.Error)return-1!==e.errorDescription.error.toLowerCase().indexOf("the data vendor doesn't provide volume data for this symbol.")?a:void 0}}},40529:(e,t,i)=>{"use strict";i.d(t,{StudyStatusProvider:()=>n});var s=i(28353),r=(i(13933),i(45090));(0,s.t)("Fundamental studies are no longer available on charts");class n extends r.StudyStatusProviderBase{constructor(e,t){super(e,t),this._study=e}color(){return this._study.isFailed()||this._study.metaInfo&&this._study.metaInfo().isTVScriptStub?"#ff0000":super.color()}sourceStatusText(){this._study.status();return super.sourceStatusText()}}},190:(e,t,i)=>{"use strict";i.d(t,{StudyStatusView:()=>r});var s=i(45058);class r extends s.StatusView{constructor(e){super(e.statusProvider())}color(){return this._statusProvider.color()}getSplitTitle(){return this._statusProvider.getSplitTitle()}update(){this._text=this._statusProvider.text()}}},13933:(e,t,i)=>{"use strict";i.r(t),i.d(t,{StudyStatusType:()=>n,convertStudyStatusToString:()=>o});var s=i(28353);const r=(0,s.t)("loading...");var n;function o(e,t){if(e.type===n.Loading)return t?r:"loading...";if(e.type===n.Error){const i=e.errorDescription,r=t?(0,s.t)(i.error):i.error;if(i.ctx){const e={};return Object.entries(i.ctx).forEach(([t,i])=>{e[t]=i.toString()}),r.format(e)}return r}return""}!function(e){e[e.Undefined=0]="Undefined",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed",e[e.Error=3]="Error"}(n||(n={}))},25270:(e,t,i)=>{"use strict";i.d(t,{StudyStub:()=>m});var s=i(190),r=i(22932),n=i(97098),o=i(2872),a=i.n(o),l=i(2015),c=i.n(l),h=i(45090);class d extends h.StudyStatusProviderBase{text(){return this._source.isActualInterval()?`${this._source.title()} ${this.sourceStatusText()}`:this._source.title()}}var u=i(13933);class p{getItems(){return[]}getValues(e){return[]}}const _=new(a());class m extends r.PriceDataSource{constructor(e,t,i){super(e),this._priceStep=.01,this._status={type:u.StudyStatusType.Undefined},this._statusChanged=new(a()),this._formatter=new n.PriceFormatter(100),this._origState=t,this._title=i;this._properties=new(c())({visible:!0}),this._statusView=new s.StudyStatusView(this)}properties(){ +return this._properties}statusView(){return this._statusView}legendView(){return null}state(e){return this._origState}setStatus(e){this._status=e,this._statusChanged.fire()}formatter(){return this._formatter}name(){return this._title}title(){return this._title}titleInParts(){return[this._title]}isFailed(){return this._status.type===u.StudyStatusType.Error}isLoading(){return this._status.type===u.StudyStatusType.Loading}setFailed(e){this.setStatus({type:u.StudyStatusType.Error,errorDescription:{error:e}}),this._model.updateSource(this)}isSymbolInvalid(){return!1}isActualInterval(){return!0}onIsActualIntervalChange(){return _}start(){}status(){return this._status}onStatusChanged(){return this._statusChanged}firstValue(){return null}currency(){return null}sessionId(){return this._model.mainSeries().sessionId()}sessionIdChanged(){return this._model.mainSeries().sessionIdChanged()}unit(){return null}symbolSource(){return this._model.mainSeries()}valuesProvider(){return new p}statusProvider(e){return new d(this,this._model.properties().childs().scalesProperties.childs().textColor)}}},89027:(e,t,i)=>{"use strict";i.d(t,{StudyValuesProvider:()=>g});var s=i(93751),r=i(49483),n=i(68906),o=i(67337),a=i(71053),l=i(14291),c=i(85733),h=i(50993),d=i(99220),u=i(88129),p=i(57626);const _=r.CheckMobile.any(),m=o.enabled("hide_last_na_study_output");class g{constructor(e,t){this._emptyValues=[],this._colorProviders=new Map,this._study=e,this._model=t;const i=this._study.metaInfo().plots;i&&i.forEach((e,t)=>{if((0,h.isPlotWithTechnicalValues)(e))return;const i=e.id;this._emptyValues.push(function(e,t="",i=""){return{id:t,index:e,title:i,value:"",visible:!1}}(t,i,this._study.guiPlotName(i)));const s=(0,h.isOhlcPlot)(e)?e.target:i;this._colorProviders.set(s,(0,d.createStudyPlotColorProvider)(this._study.metaInfo(),this._study.properties(),s))})}getItems(){return this._emptyValues}getValues(e){const t=this._emptyValues.map(e=>({...e}));let i=null;const r=this._study.data().lastIndex();if(null!==r)for(const e of t){if(!this._study.properties().styles[e.id].visible.value())continue;const t=this._study.nearestIndex(r,a.PlotRowSearchMode.NearestLeft,e.index+1);if(void 0===t)continue;const s=t+this._study.offset(e.id);i=null!==i?Math.max(s,i):s}(null===e||null!==i&&e>i)&&(e=i);const o=this._hideValues(),l=this._study.isVisible()&&!o?p.notAvailable:"";for(const e of t)e.value=l;if(o)return t;m&&t.length&&(t[t.length-1].value="");const c=this._study.priceScale();if(!this._study.isVisible()||null===e||null===c||c.isEmpty()||this._model.timeScale().isEmpty())return t;const d=this._study.metaInfo().plots,_=(0,u.getPriceValueFormatterForSource)(this._study),g={};for(const i of t){let t=i.id;const o=this._study.properties().styles[t].visible.value();if(i.visible=o,!o)continue;const l=i.index,c=e-this._study.offset(t),u=null!==r&&c>r?a.PlotRowSearchMode.NearestLeft:a.PlotRowSearchMode.Exact,p=this._study.nearestIndex(c,u);if(void 0===p)continue;let m=g[t];if(void 0===m&&(m=this._study.getMinFirstBarIndexForPlot(t),Number.isFinite(m)&&(g[t]=m)), +m>p)continue;const f=this._study.data().last(),v=this._study.data().valueAt(p)||(null!==f?f.value:null);if(null===v)continue;const S=v[l+1];if(!(0,s.isNumber)(S))continue;const y=S>0;i.value=_(S);const b=this._study.properties().styles[t];let w=b.color.value();const C=d[l];(0,h.isOhlcPlot)(C)?(t=C.target||t,w=this._study.properties().ohlcPlots[t].color.value()):(0,h.isArrowsPlot)(C)&&(w=y?b.colorup.value():b.colordown.value());let P=w;const T=this._colorProviders.get(t),x=T&&T.getPlotPointStyle(v);x&&((0,h.isArrowsPlot)(C)?(y&&void 0!==x.colors[5]&&(P=x.colors[5]),y||void 0===x.colors[6]||(P=x.colors[6])):void 0!==x.colors[0]&&(P=x.colors[0])),"transparent"===P&&(P=w),P=(0,n.resetTransparency)(P),i.color=P}return t}_hideValues(){return _&&(null===this._model.crossHairSource().pane||(0,l.isLineToolName)(c.tool.value())||null!==this._model.lineBeingEdited())}}},69774:(e,t,i)=>{"use strict";i.d(t,{StudyBase:()=>gt});var s=i(16230),r=i(88537),n=i(28353),o=i(98125),a=i(49483),l=i(2872),c=i.n(l),h=i(51344),d=i(22932),u=i(69927),p=i(71053),_=i(67072),m=i.n(_),g=i(54376),f=i(95936),v=i(26179),S=i(22458);class y extends v.StudyDataWindowView{constructor(e,t){super(e,t),this._showStudyValues=t.properties().childs().paneProperties.childs().legendProperties.childs().showStudyValues,this._showStudyValues.subscribe(this,this.update),this._study.properties().showLegendValues.subscribe(this,this.update)}areValuesVisible(){return this._showStudyValues.value()}additional(){return null}destroy(){this._showStudyValues.unsubscribeAll(this),this._study.properties().showLegendValues.unsubscribeAll(this)}_createValuesProvider(e,t){return new S.StudyLegendValuesProvider(e,t)}}var b=i(85733),w=i(190),C=i(19234),P=i(72857),T=i(95836),x=i(40529),I=i(80643),M=i(95505),L=i(50993),A=(i(33266),i(67337)),E=i(86441),k=i(68906),D=i(94804);class V{constructor(e){this._data=e}draw(e,t){}drawBackground(e,t){e.save();const i=this._data,s=t.pixelRatio;let r=null;const n=Math.round(this._data.w*s);for(let t=0;t0){i.items[t-1].index===o.index-1&&null!==r&&(l=r+1)}const c=a+n,h=c-l+1;e.fillRect(l,Math.round(i.y*s),h,Math.round(i.h*s)),r=c}e.restore()}hitTest(e){return null}}var B=i(99220);class N{constructor(e,t,i,s){this._items=[],this._invalidated=!0,this._isMarkersEnabled=A.enabled("source_selection_markers"),this._study=e,this._series=t,this._model=i,this._plotName=s;const n=this._study.metaInfo().plots;for(let e=0;e0?(i-=n,s+=n):(i+=n,s-=n);const o=this._study.getMinFirstBarIndexForPlot(this._plotName);if(o>s)return;i=Math.max(o,i);const a=this._study.data().rangeIterator(i,s);for(;a.hasNext();){const e=a.next();let i=e.index;const s=e.value;i+=n;const o=new E.Point(Math.floor(i)-.5,NaN);let l=(0,I.isNumber)(t)?t:50;l=Math.min(l,100),l=Math.max(l,0);const c=this._colorProvider.getPlotPointStyle(s);void 0!==c.colors[1]&&(o.color=(0,k.generateColor)((0,r.ensureDefined)(c.colors[1]),l)),o.index=i,this._items.push(o)}this._model.timeScale().timedValuesToCoordinates(this._items)}}var R,O,F=i(11372),W=i(41892),H=i(56138),z=i(64514),U=i(84346),j=i(85847),G=i(63948),q=i(31175),Y=i(34026),K=i(40236),$=i(52640),X=i(93435);!function(e){e.Left="left",e.Right="right",e.Center="center"}(R||(R={})),function(e){e.Top="top",e.Bottom="bottom",e.Middle="middle"}(O||(O={}));const Z=(0,X.createDisconnectedCanvas)(document,new X.Size(0,0),1);class J{constructor(e,t,i,s,n,o="center",a=0){this._lines=e.split(/[^\S\r\n]*(?:\r\n|\r|\n)/),this._font=function(e,t,i,s){return(0,$.makeFont)(s,i,`${e?"bold ":""}${t?"italic ":""}`)}(t,i,s,n),this._fontSize=n,this._verticalPadding=~~(n/6),this._textAlign=o,this._lineSpacing=a;const l=(0,r.ensureNotNull)(Z.getContext("2d"));l.font=this._font,l.textBaseline="top";let c=0;for(let e=0;e{for(const t of this._lines)e.fillText(t,l,c),c+=this._fontSize,c+=this._lineSpacing}),e.restore()}}class Q extends K.AbstractMapContainer{constructor(e){super(),this._maxSize=e,this._keysQueue=[]}get(e){const{fontSize:t,text:i,align:s,lineSpacing:r=0}=e;if(!i||!t||!s)return null;const n=(0,K.getDefault3)(this._map,r,s,t,new Map);let o=n.get(i);return void 0!==o||(this._size>=this._maxSize?this._deleteFirstKey():++this._size,this._keysQueue.push([t,s,r,i]),o=new J(i,e.bold,e.italic,e.font,t,s,r),n.set(i,o)),o}_deleteFirstKey(){const e=this._keysQueue.shift(),[t,i,s,n]=e,o=(0,r.ensureDefined)(this._map.get(s)),a=(0,r.ensureDefined)(o.get(i)),l=(0,r.ensureDefined)(a.get(t));l.delete(n),0===l.size&&a.delete(t),0===a.size&&o.delete(i),0===o.size&&this._map.delete(s)}}var ee=i(22799);class te{constructor(e,t={skipRenderingOptimizations:!1}){this._items=[],this._barSpacing=0,this._vertOffset=0,this._textCache=t.textCache||new Q(5e3),this._drawOperation=t.skipRenderingOptimizations?this._drawWithoutOptimizations.bind(this):this._drawWithOptimizations.bind(this),null!==e&&this.setData(e)}draw(e,t){this._preDrawInit(),this._drawOperation(e,t)}hitTest(e){const t=U.HitTestResult.REGULAR;let i=null;for(const s of this._items){if(!s)continue;const r=this._calcBoundingBox(s);if(r&&(0,Y.pointInBox)(e,r)){const e={tooltip:this._getTooltip(s,r)};i=new U.HitTestResult(t,e)}}return i}setData(e){this._height=void 0!==e.height?e.height:e.width,this._width=void 0!==e.width?e.width:e.height,this._color=e.color,this._borderColor=e.borderColor,this._vertOffset=e.vertOffset||0,e.text&&(this._text=e.text,this._fontSize=e.fontSize,this._lineSpacing=e.lineSpacing,this._textColor=e.textColor,this._textAlign=e.textAlign||"center"),void 0!==e.items&&void 0!==e.barSpacing&&this.setItems(e.items,e.barSpacing)}setItems(e,t){this._setBaseData(e,t)}_calcBoundingBox(e){const t=e.vertOffset,i=this._getTextCache(e);if(!i)return;const s=i.textImageWidth,r=i.textImageHeight,n=s/2,o=e.y+t+e.textVertOffset,a=t>0?0:-r,l=t>0?r:0,c=new E.Point(e.x-n,o+a),h=new E.Point(e.x+n,o+l);return(0,E.box)(c,h)}_unionBox(e,t){const i=Math.min(e.min.x,t.min.x),s=Math.max(e.max.x,t.max.x),r=Math.min(e.min.y,t.min.y),n=Math.max(e.max.y,t.max.y),o=new E.Point(i,r),a=new E.Point(s,n);return(0,E.box)(o,a)}_getTooltip(e,t){if(e.tooltip)return{content:{type:"text",data:e.tooltip},tooltipDelay:200,extendMargin:!0,rect:{x:t.min.x,y:t.min.y,w:Math.abs(t.max.x-t.min.x),h:Math.abs(t.max.y-t.min.y)}}}_setBaseData(e,t){this._items.length=0,this._barSpacing=t;for(const t of e){const e=void 0===t.width?(0,r.ensureDefined)(this._width):t.width,i=void 0===t.height?(0,r.ensureDefined)(this._height):t.height,s=void 0===t.vertOffset?this._vertOffset:t.vertOffset,n=s>0?i:-i;this._items.push({width:e,height:i,vertOffset:s,textVertOffset:n,shapeWidth:0,shapeHeight:0,stepX:0,stepY:0,...t})}}_drawItemText(e,t,i){const s=this._getTextCache(i);if(null===s)return +;const r=i.x,n=i.vertOffset,o=i.y+n+i.textVertOffset;let a;a=i.style&&void 0!==i.style.textColor?i.style.textColor:this._textColor,s.paintTo(e,t,a,r,o,R.Center,n>0?O.Top:O.Bottom)}_drawWithOptimizations(e,t){let i,s,r=null,n=!1;for(const o of this._items)o.style&&void 0!==o.style.color?(i=o.style.color||"rgba(0, 0, 0, 0)",s=o.style.borderColor||"rgba(0, 0, 0, 0)"):(i=this._color,s=this._borderColor),(r!==i||a.isSafari)&&(r=i,n&&this._endPath(e),this._startPath(e,t,i,s)),this._drawItemShape(e,t,o),n=!0;n&&this._endPath(e);for(const i of this._items)this._drawItemText(e,t,i)}_drawWithoutOptimizations(e,t){let i,s;for(const n of this._items){const o=(0,r.ensureDefined)(n.style);i=o.color||"rgba(0, 0, 0, 0)",s=o.borderColor||"rgba(0, 0, 0, 0)",this._startPath(e,t,i,s),this._drawItemShape(e,t,n),this._endPath(e),this._drawItemText(e,t,n)}}_drawItemShape(e,t,i){(0,X.drawScaled)(e,t.pixelRatio,()=>this._drawItemShapeUsingCSSPixels(e,i))}_drawItemShapeUsingCSSPixels(e,t){}_preDrawInit(){}_startPath(e,t,i,s){}_endPath(e){}_getTextCache(e){var t;const i=e.text||this._text,s=e.fontSize||this._fontSize,r=null!==(t=e.lineSpacing)&&void 0!==t?t:this._lineSpacing,n=e.textAlign||this._textAlign;return this._textCache.get({text:i,bold:!1,italic:!1,font:ee.CHART_FONT_FAMILY,fontSize:s,lineSpacing:r,align:n})}}class ie extends te{_startPath(e,t,i,s){e.beginPath(),e.lineWidth=this._lineWidth(t),e.lineCap="butt",e.strokeStyle=i}_endPath(e){e.stroke()}_lineWidth(e){return Math.max(1,Math.floor(2*e.pixelRatio))}}class se extends te{_startPath(e,t,i,s){e.beginPath(),e.lineWidth=this._lineWidth(t),e.lineCap="butt",e.fillStyle=i,e.strokeStyle=s}_endPath(e){e.fill(),e.stroke()}_lineWidth(e){return Math.max(1,Math.floor(e.pixelRatio))}}class re extends se{constructor(){super(...arguments),this._sign=0,this._thinArrow=!1,this._thinArrowLineWidth=0,this._headHeight=0,this._arrowWidth=0}setItems(e,t){this._setBaseData(e,t)}_drawItemShape(e,t,i){const s=t.pixelRatio,r=this._lineWidth(t)%2?.5:0,n=this._sign,o=this._arrowWidth,a=this._headHeight,l=Math.abs(i.height),c=Math.round(i.x*s)+r,h=i.vertOffset,d=Math.round((i.y+h+n*l/2)*s)+r,u=(0,z.ceiledEven)(o*s),p=u/2,_=Math.round(l*s),m=Math.round(a*s);e.translate(c,d),this._thinArrow?(e.moveTo(0,0),e.lineTo(-p,-p*n),e.moveTo(0,0),e.lineTo(p,-p*n),e.moveTo(0,0),e.lineTo(0,-_*n),e.moveTo(-p,-_*n),e.lineTo(p,-_*n)):(e.moveTo(0,0),_=0?e.vertOffset:e.vertOffset-e.shapeHeight}}),he.set("PaneRendererLabelDown",class extends oe{_calcBoundingBox(e){const t=e.x-e.shapeWidth/2,i=e.x+e.shapeWidth/2,s=e.y-e.shapeHeight+e.vertOffset,r=e.y+e.vertOffset,n=new E.Point(t,s),o=new E.Point(i,r);return(0,E.box)(n,o)}_drawItemShape(e,t,i){const s=t.pixelRatio,r=this._lineWidth(t)%2?.5:0,n=Math.max(1,Math.floor(s))%2?.5:0,o=this._getArrowSize(i);let a=Math.round(o*s);(n+a)%1!=r%1&&(a+=.5);let l=Math.round(i.shapeWidth/2*s);(n+l)%1!=r%1&&(l+=.5);const c=Math.round(i.x*s)+n,h=Math.round((i.y+i.vertOffset)*s)+r,d=c+a,u=Math.round((i.y+i.vertOffset-o)*s)+r,p=c-a,_=c+l,m=Math.round((i.y+i.vertOffset-i.shapeHeight)*s)+r,g=c-l +;e.moveTo(d,u),e.lineTo(c,h),e.lineTo(p,u),i.shapeWidth<=2*o?(e.lineTo(g,u),this._drawCorner(e,g,m,le.leftUp,s),this._drawCorner(e,_,m,le.rightUp,s),e.lineTo(_,u)):(this._drawCorner(e,g,u,le.leftDown,s),this._drawCorner(e,g,m,le.leftUp,s),this._drawCorner(e,_,m,le.rightUp,s),this._drawCorner(e,_,u,le.rightDown,s)),e.lineTo(d,u)}_getVerticalTextOffset(e){return-e.shapeHeight/2-this._getArrowSize(e)/2}_calcVertOffset(e){return Math.sign(e.vertOffset)<=0?e.vertOffset:e.vertOffset+e.shapeHeight}}),he.set("PaneRendererSquare",class extends se{_drawItemShape(e,t,i){const s=t.pixelRatio,r=Math.max(1,Math.floor(s))%2?.5:0,n=this._lineWidth(t)%2?.5:0;let o=Math.round(i.height/2*s);(r+o)%1!=n%1&&(o+=.5);const a=Math.round(i.x*s)+r,l=Math.round((i.y+i.vertOffset)*s)+r,c=a-o,h=l-o,d=a+o,u=l+o;e.rect(c,h,d-c,u-h)}_calcBoundingBox(e){const t=e.height,i=Math.round(t/2),s=e.x-i,r=e.vertOffset,n=e.y+r-i,o=s,a=s+t,l=n,c=n+t,h=new E.Point(o,l),d=new E.Point(a,c);let u=(0,E.box)(h,d);const p=super._calcBoundingBox(e);return p&&(u=this._unionBox(u,p)),u}}),he.set("PaneRendererTriangleApexUp",class extends ce{_drawItemShape(e,t,i){const s=i.width,r=i.height,n=Math.round(r/3),o=i.vertOffset-2*n,a=t.pixelRatio,l=this._lineWidth(t)%2?.5:0,c=Math.max(1,Math.floor(a)),h=c%2?.5:0;let d=Math.round(s*a);d%2!=c%2&&(d+=1);const u=Math.round(i.x*a)+h,p=Math.round((i.y+o)*a),_=u+d/2,m=Math.round((i.y+o+r)*a)+l,g=u-d/2;e.moveTo(u,p),e.lineTo(_,m),e.lineTo(g,m),e.lineTo(u,p)}}),he.set("PaneRendererTriangleApexDown",class extends ce{_drawItemShape(e,t,i){const s=i.width,r=i.height,n=Math.round(r/3),o=i.vertOffset-n,a=t.pixelRatio,l=this._lineWidth(t)%2?.5:0,c=Math.max(1,Math.floor(a)),h=c%2?.5:0;let d=Math.round(s*a);d%2!=c%2&&(d+=1);const u=Math.round(i.x*a)+h,p=Math.round((i.y+o)*a)+l,_=u+d/2,m=Math.round((i.y+o+r)*a),g=u-d/2;e.moveTo(g,p),e.lineTo(_,p),e.lineTo(u,m),e.lineTo(g,p)}}),he.set("PaneRendererXCross",class extends ie{_drawItemShapeUsingCSSPixels(e,t){const i=t.width,s=t.height,r=t.x-i/2,n=t.vertOffset,o=t.y-s/2+n;e.moveTo(r,o),e.lineTo(r+i,o+s),e.moveTo(r,o+s),e.lineTo(r+i,o)}_calcBoundingBox(e){const t=e.width,i=e.height,s=e.x-t/2,r=e.vertOffset,n=e.y-i/2+r,o=s,a=s+t,l=n,c=n+i,h=new E.Point(o,l),d=new E.Point(a,c);let u=(0,E.box)(h,d);const p=super._calcBoundingBox(e);return p&&(u=this._unionBox(u,p)),u}});class de{constructor(e,t,i,s){this._items=[],this._invalidated=!1,this._renderer=null,this._isMarkersEnabled=A.enabled("source_selection_markers"),this._selectionData=null,this._plotIndex=null,this._topCoord=0,this._bottomCoord=0,this._study=e,this._series=t,this._model=i,this._plotName=s;const r=e.metaInfo().plots;for(let e=0;e0?(s-=o,n+=o):(s+=o,n-=o);const a=this._study.getMinFirstBarIndexForPlot(this._plotName);if(a>n)return;s=Math.max(a,s);const l=this._study.data(),c=this._study.firstValue();if(null===c)return;const h=l.rangeIterator(s,n),d=this._getTranspValue();let u=[];const _=this._model.selection().isSelected(this._study);_?(u=this._selectionIndexer.indexes(),this._selectionData={points:[],hittestResult:U.HitTestResult.REGULAR,vertOffset:0,bgColors:[],barSpacing:e.barSpacing(),visible:!0}):(this._selectionIndexer.clear(),this._selectionData=null);const m=this._series.properties().childs().style.value(),g=2===m?"lineStyle":3===m?"areaStyle":null;let f,v;g?(f=this._series.properties().childs()[g].childs().priceSource.value(),v=f):(f="high",v="low");const S=t.isInverted(),y=t.coordinateToPrice(t.height()*t.topMargin(),c),b=t.coordinateToPrice(t.height()*(1-t.bottomMargin()),c);this._topCoord=S?b:y,this._bottomCoord=S?y:b;const w=(0,r.ensureNotNull)(this._model.paneForSource(this._study)).height(),C=this._study.properties().styles[this._plotName],P=C.color.value(),T=C.textColor?C.textColor.value():void 0,x=P,I=P,M=void 0===T?void 0:T,L=(0,r.ensureNotNull)(this._plotIndex),A=(0,q.createEmptyStyle)();for(;h.hasNext();){const e=h.next(),t=e.index,i=e.value,s=Math.floor(t+o),r=i[L+1];if(null==r)continue;const n=this._createItem(s,r,f,v);if(null!==n){if(this._colorProvider.isColorDefined()){n.style={color:x,borderColor:I,textColor:M};const e=this._colorProvider.getPlotPointStyle(i,A);this._fillItemWithPointStyle(n,e,d)}_&&-1!==u.indexOf(t)&&null!==this._selectionData&&(this._selectionData.points.push(n),this._selectionData.bgColors.push(this._model.backgroundColorAtYPercentFromTop(n.y/w))),this._items.push(n)}}this._convertItemsToCoordinates()}_fillItemWithPointStyle(e,t,i){const s=(0,r.ensureDefined)(e.style);if(void 0!==t.colors[0]){s.color=(0,k.generateColor)((0,r.ensureDefined)(t.colors[0]),i);const e=i>9?i-10:0;s.borderColor=(0,k.generateColor)(s.color,e)}void 0!==t.colors[2]&&(s.textColor=(0,k.generateColor)((0,r.ensureDefined)(t.colors[2]),i))}_updateRenderer(e){this._updateImpl() +;const t=this._model.timeScale(),i={},s=this._getTranspValue(),r=t.barSpacing(),n=this._calculateShapeHeight(r),o=this._study.properties().styles[this._plotName].location.value(),a=this._calculateVerticalOffset(o,n+n/2);i.barSpacing=r,i.items=this._items,i.color=(0,k.generateColor)(this._study.properties().styles[this._plotName].color.value(),s),i.height=n,i.vertOffset=a;const l=this._study.properties().styles[this._plotName].plottype.value(),c=H.plotShapesData[l],h=new D.CompositeRenderer;c&&h.append(this._createRenderer(c.paneRendererClass,i)),this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&null!==this._selectionData&&(this._selectionData.vertOffset=a,h.append(new W.SelectionRenderer(this._selectionData))),this._renderer=h}_createRenderer(e,t){const i=he.get(e);return new((0,r.ensureDefined)(i))(t)}_getSeriesVal(e,t){const i=(0,G.barFunction)(e),s=this._series.data().valueAt(t);return null===s?null:i(s)}_getTranspValue(){let e=0;this._study.properties().transparency&&(e=this._study.properties().transparency.value(),e=(0,I.isNumber)(e)?e:50);const t=this._study.properties().styles[this._plotName];return t.transparency&&(e=t.transparency.value(),e=(0,I.isNumber)(e)?e:50),(0,z.clamp)(e,0,100)}_createItem(e,t,i,s){const n=this._study.properties().styles[this._plotName].location.value();if((null===t||0===t)&&n!==f.MarkLocation.Absolute)return null;let o;switch(n){case f.MarkLocation.AboveBar:const a=this._getSeriesVal(i,e);if(null===a)return null;o=a;break;case f.MarkLocation.BelowBar:const l=this._getSeriesVal(s,e);if(null===l)return null;o=l;break;case f.MarkLocation.Top:o=this._topCoord;break;case f.MarkLocation.Bottom:o=this._bottomCoord;break;case f.MarkLocation.Absolute:o=(0,r.ensureNotNull)(t);break;default:throw new Error("Bad value: "+n)}return new E.Point(e,o)}_convertItemsToCoordinates(){const e=this._model.timeScale(),t=this._study.priceScale();e.timedValuesToCoordinates(this._items);const i=(0,r.ensureNotNull)(this._study.firstValue());(0,r.ensureNotNull)(t).pointsArrayToCoordinates(this._items,i)}_calculateVerticalOffset(e,t){let i=0;switch(e){case f.MarkLocation.AboveBar:case f.MarkLocation.Bottom:i=-t;break;case f.MarkLocation.BelowBar:case f.MarkLocation.Top:i=t}return(0,r.ensureNotNull)(this._study.priceScale()).isInverted()&&(i*=-1),i}_calculateShapeHeight(e,t){let i=e;switch(t){case L.PlotSymbolSize.Tiny:i=.3*e;break;case L.PlotSymbolSize.Small:i=.6*e;break;case L.PlotSymbolSize.Normal:i=e;break;case L.PlotSymbolSize.Large:i=1.5*e;break;case L.PlotSymbolSize.Huge:i=2*e}return i}}class ue extends de{renderer(){const e=this._study.properties().styles[this._plotName];return e.visible&&e.visible.value()&&this._scalesReady()?(this._invalidated&&(this._updateRenderer(e),this._invalidated=!1),this._renderer):null}_updateRenderer(e){this._updateImpl();const t=this._model.timeScale(),i={},s=this._getTranspValue(),r=t.barSpacing();let n;if(e.size){const t=e.size.value();n=this._calculateShapeHeight(25,t)}else n=Math.round(r/2);n=Math.max(n,1);const o=e.location.value(),a=(0, +k.generateColor)(e.color.value(),s),l=s>19?s-10:0,c=this._calculateVerticalOffset(o,Math.round(1.5*n));i.barSpacing=r,i.items=this.items(),i.color=a,i.borderColor=(0,k.generateColor)(e.color.value(),l),i.height=n,i.vertOffset=c;const h=e.plottype.value(),d=H.plotShapesData[h],u=new D.CompositeRenderer,p=e.text?e.text.value():void 0;if(void 0!==p&&""!==p.trim()){let t=p.trim().replace(/\\n/gm,"\n");t=(0,F.cleanButAmpersand)(t,!0),i.text=t,i.fontSize=12;const r=e.textColor?e.textColor.value():void 0;i.textColor=r?(0,k.generateColor)(r,s):a}u.append(super._createRenderer(d.paneRendererClass,i)),this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&null!==this._selectionData&&(this._selectionData.vertOffset=c,u.append(new W.SelectionRenderer(this._selectionData))),this._renderer=u}}var pe=i(87795),_e=i.n(pe),me=i(49094);class ge extends te{constructor(e,t){super(null,t),this._fontSizeEnsured=0,this._ch="",this._fontFamily=ee.CHART_FONT_FAMILY,this._charCache=null,null!==e&&this.setData(e)}setData(e){super.setData(e),this._fontSizeEnsured=(0,r.ensureDefined)(this._height);const t=e.char.slice(0,40);this._ch=_e()(t)[0]||" ",this._fontFamily=e.fontFamily||ee.CHART_FONT_FAMILY}hitTest(e){const t=(0,me.interactionTolerance)().series+this._fontSizeEnsured/2;for(const i of this._items){if(new E.Point(i.x,i.y+i.vertOffset).subtract(e).length()<=t)return new U.HitTestResult(U.HitTestResult.REGULAR)}return null}_drawItemShape(e,t,i){const s=i.x,r=i.vertOffset>0?1:-1,n=i.y+i.vertOffset-r*Math.round(this._fontSizeEnsured/2);let o;o=i.style&&void 0!==i.style.color?i.style.color:this._color;const a=this._textImageCache(),l=t.pixelRatio;if(this._fontSizeEnsured<=4/l){e.save();const t=Math.max(1,Math.floor(l));let r=Math.max(1,Math.floor(a.textImageWidth*l));r%2!=t%2&&(r+=r>1?-1:1);const c=Math.round(n*l)+(i.vertOffset>=0?0:-r);return e.fillStyle=o,e.fillRect(Math.round(s*l)+(l%2?.5:0)-r/2,c,r,r),void e.restore()}a.paintTo(e,t,o,s,n,R.Center,i.vertOffset>0?O.Top:O.Bottom)}_startPath(e,t,i,s){}_endPath(e){}_textImageCache(){return null!==this._charCache&&this._charCache.fontFamily===this._fontFamily&&this._charCache.fontSize===this._fontSizeEnsured||(this._charCache={fontSize:this._fontSizeEnsured,fontFamily:this._fontFamily,cache:new J(this._ch,!1,!1,this._fontFamily,this._fontSizeEnsured,"center",0)}),this._charCache.cache}}class fe extends de{constructor(){super(...arguments),this._compositeRenderer=new D.CompositeRenderer,this._charRenderer=new ge(null)}renderer(){const e=this._study.properties().styles[this._plotName];return e.visible&&e.visible.value()&&this._scalesReady()?(this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._compositeRenderer):null}_updateImpl(){if(this._compositeRenderer.clear(),super._updateImpl(),0===this._items.length)return;const e=this._getTranspValue(),t=this._model.timeScale().barSpacing();let i;const s=this._study.properties().styles[this._plotName];if(s.size){const e=s.size.value();i=this._calculateShapeHeight(50,e)}else i=Math.round(t);const r=s.location.value(),n=(0, +k.generateColor)(s.color.value(),e),o=this._calculateVerticalOffset(r,i),a={items:this.items(),barSpacing:t,char:s.char.value(),height:i,vertOffset:o,color:n},l=s.text?s.text.value():void 0;if(void 0!==l&&""!==l.trim()){let t=l.trim().replace(/\\n/gm,"\n");t=(0,F.cleanButAmpersand)(t,!0),a.text=t,a.fontSize=12;const i=s.textColor?s.textColor.value():void 0;a.textColor=i?(0,k.generateColor)(i,e):n}this._charRenderer.setData(a),this._compositeRenderer.append(this._charRenderer),this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&null!==this._selectionData&&(this._selectionData.vertOffset=o,this._compositeRenderer.append(new W.SelectionRenderer(this._selectionData)))}}var ve=i(24377);class Se extends E.Point{constructor(e,t,i,s){super(e,t),this.height=i,this.isUp=s,this.style={}}}function ye(e){return Math.round(e/4)}function be(e){return Math.round(e/2)}class we{constructor(e){this._data=e}draw(e,t){var i;const s=t.pixelRatio,r=this._data,n=be(r.barSpacing),o=ye(r.barSpacing),a=n<4,l=Math.max(n/2,1),c=(0,z.ceiledEven)(n*s),h=c/2,d=Math.round(n*s);e.lineCap="butt",e.lineWidth=Math.max(1,Math.floor(s));const u=e.lineWidth%2?.5:0;for(const t of r.items){const n=t.isUp?-1:1,p=Math.round(Math.abs(t.height)*s),_=Math.round(t.x*s)+u,m=Math.round((t.y-n*o)*s)+u;e.beginPath(),e.translate(_,m);const g=null!==(i=t.style&&t.style.color)&&void 0!==i?i:t.isUp?r.colorup:r.colordown;a?(e.moveTo(0,0),e.lineTo(-h,-h*n),e.moveTo(0,0),e.lineTo(h,-h*n),e.moveTo(0,0),e.lineTo(0,-p*n),e.moveTo(-h,-p*n),e.lineTo(h,-p*n),e.lineWidth=l,e.strokeStyle=g,e.stroke()):(e.moveTo(0,0),pthis._maxAbsValue&&(this._maxAbsValue=Math.abs(t));const r=t>0;let n;if(r){const t=this._getSeriesVal(s,e);if(null===t)return null;n=t}else{const t=this._getSeriesVal(i,e);if(null===t)return null;n=t}return new Se(e,n,t,r)}_convertItemsToCoordinates(){const e=this._model.timeScale(),t=(0,r.ensureNotNull)(this._study.priceScale());e.timedValuesToCoordinates(this._items),t.pointsArrayToCoordinates(this._items,(0,r.ensureNotNull)(this._study.firstValue()));let i=Math.abs(this._study.properties().styles[this._plotName].minHeight.value()),s=Math.abs(this._study.properties().styles[this._plotName].maxHeight.value());if(i>s){const e=i;i=s,s=e}const n=(s-i)/this._maxAbsValue,o=this._items;for(let e=0;es)return;i=Math.max(n,i);const o=this._study.data(),a=this._study.firstValue();if(null===a)return;const l=o.rangeIterator(i,s),c=this._study.properties().ohlcPlots[this._plotName],h=new Map,d=(e,t)=>{const i=e+"@"+t;if(!h.has(i)){const s=(0,k.generateColor)(e,t);return h.set(i,s),s}return h.get(i)},u=(0,q.createEmptyStyle)();for(;l.hasNext();){const e=l.next();let t=e.index;const i=e.value;t=Math.floor(t);let s=!0;const n=new Map;for(let e=1;e<=4;++e){const t=this._ohlcPlotIndexes.get(e);if(void 0===t){s=!1;break}const r=i[t+1];if(null==r){s=!1;break}n.set(e,r)}if(!s)continue;const o=(0,r.ensureDefined)(n.get(1)),a=(0,r.ensureDefined)(n.get(4)),h=(0,r.ensureDefined)(n.get(2)),p=(0,r.ensureDefined)(n.get(3)),_=Math.max(o,h,p,a),m=Math.min(o,h,p,a);let g=(0,r.ensureDefined)(d(c.color.value(),0));const f=this._colorProvider.getPlotPointStyle(i,u);void 0!==f.colors[0]&&(g=(0,r.ensureDefined)(f.colors[0]));const v={time:Math.round(t),exactTime:t,open:o,high:_,low:m,close:a,color:g,wickColor:f.colors[4],borderColor:f.colors[3],hollow:null};this._bars.push(v)}if(e.barPricesToCoordinates(this._bars,a),this._model.timeScale().barIndexesToCoordinates(this._bars),this._model.selection().isSelected(this._study)){const t=this._selectionIndexer.indexes();this._selectionData={points:[],hittestResult:U.HitTestResult.REGULAR,bgColors:[],visible:!0,barSpacing:this._model.timeScale().barSpacing()};const i=(0,r.ensureNotNull)(this._model.paneForSource(this._study)).height(),s=(0,r.ensureDefined)(this._ohlcPlotIndexes.get(4));for(let r=0;rthis._actualLength?this._items[this._actualLength]:null;return null!==e&&Boolean(e.invalidateCache)&&e.invalidateCache(),e}invalidateCache(){this._invalidations+=1,3e3===this._invalidations&&(this._items.splice(this._actualLength),this._invalidations=0),this._actualLength=0}at(e){return this._items[e]}data(){return this._items}length(){return this._actualLength}}class Re{constructor(){this._map=new Map,this._usedKeys=new Set,this._invalidations=0}invalidateCache(){this._invalidations+=1,50===this._invalidations&&(this._deleteUnused(),this._invalidations=0),this._usedKeys.clear(),this._map.forEach((e,t)=>e.invalidateCache())}get(e){const t=this._map.get(e);return void 0!==t&&this._usedKeys.add(e),t}set(e,t){this._usedKeys.add(e),this._map.set(e,t)}forEach(e){this._map.forEach((t,i)=>{this._usedKeys.has(i)&&e(t,i)})}delete(e){const t=this._map.get(e);void 0!==t&&t.invalidateCache(),this._usedKeys.delete(e)}_deleteUnused(){const e=[];this._map.forEach((t,i)=>{this._usedKeys.has(i)||e.push(i)});for(const t of e)this._map.delete(t)}}class Oe extends Ne{constructor(){super(),this.points1=new Ne,this.points2=new Ne,this.push(this.points1),this.push(this.points2)}addPoints1Point(e,t){let i=this.points1.newItem();null!==i?(i.x=e,i.y=t):i={x:e,y:t},this.points1.push(i)}addPoints2Point(e,t){let i=this.points2.newItem();null!==i?(i.x=e,i.y=t):i={x:e,y:t},this.points2.push(i)}invalidateCache(){this.points1.invalidateCache(),this.points2.invalidateCache()}}class Fe extends Be.ScaledPaneRenderer{constructor(){super(...arguments),this._data=null}setData(e){this._data=e}hitTest(e,t){return null}_drawImpl(e,t){if(null===this._data)return +;const i=.25*this._data.barSpacing,s=this._data.transparency;this._data.colorAreas.forEach((t,r)=>{e.beginPath();for(let s=0;s=0;t--)e.lineTo(r.points2.at(t).x,r.points2.at(t).y)}else{const t=r.points2.at(0).x,s=r.points2.at(0).y;e.lineTo(n+i,o),e.lineTo(t+i,s),e.lineTo(t-i,s),e.lineTo(n-i,o)}}e.closePath(),e.fillStyle=(0,k.generateColor)(r,s),e.fill()})}}var We=i(81688);class He extends Ne{constructor(){super(...arguments),this._startIndex=0}setStartIndex(e){this._startIndex=e}at(e){const t=e-this._startIndex;for(;t>=this._actualLength;){if(this._items.length<=t)this._items.push({plot1Value:void 0,plot2Value:void 0,colorIndex:void 0});else{const e=this._items[this._actualLength];e.plot1Value=void 0,e.plot2Value=void 0,e.colorIndex=void 0}this._actualLength+=1}return this._items[t]}}class ze{constructor(e,t,i=!1){this._isHlineFill=!1,this._bandAKey=null,this._bandBKey=null,this._colorPlotIndex=null,this._colorValues=[],this._colors=new Ne,this._areaRenderer=new Fe,this._invalidated=!0,this._plIndex1=null,this._plIndex2=null,this._level1=0,this._level2=0,this._studyValuesCache=new He,this._points1=new Ne,this._points2=new Ne,this._timePoints=new Ne,this._colorAreas=new Re,this._source=e,this._model=t,this._fillGaps=i}update(){this._invalidated=!0}renderer(e,t){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._areaRenderer}_correctVisibleRange(e){const t=this._source.data(),i=t.search(e.firstBar(),p.PlotRowSearchMode.NearestLeft,this._plotIndex1()),s=t.search(e.firstBar(),p.PlotRowSearchMode.NearestLeft,this._plotIndex2()),r=t.search(e.lastBar(),p.PlotRowSearchMode.NearestRight,this._plotIndex1()),n=t.search(e.lastBar(),p.PlotRowSearchMode.NearestRight,this._plotIndex2()),o=null!==i?i.index:e.firstBar(),a=null!==s?s.index:e.firstBar(),l=null!==r?r.index:e.lastBar(),c=null!==n?n.index:e.lastBar();return[Math.min(o,a),Math.max(l,c)]}_plotNames(){return this._source.metaInfo().plots.map(e=>e.id)}_plotIndex1(){return null===this._plIndex1&&(this._plIndex1=this._plotNames().indexOf(this._plotAId())+1),this._plIndex1}_plotIndex2(){return null===this._plIndex2&&(this._plIndex2=this._plotNames().indexOf(this._plotBId())+1),this._plIndex2}_updateImpl(){var e,t,i;if(this._areaRenderer.setData(null),!this._visible())return;const s=this._source.priceScale(),n=this._model,o=n.timeScale();if(!s||s.isEmpty()||o.isEmpty())return;if(n.mainSeries().bars().isEmpty())return;const a=this._source.firstValue();if(null===a)return;if(this._isHlineFill){const e=this._source.properties().bands[(0,r.ensureNotNull)(this._bandAKey)],t=this._source.properties().bands[(0,r.ensureNotNull)(this._bandBKey)];this._level1=s.priceToCoordinate(e.value.value(),a),this._level2=s.priceToCoordinate(t.value.value(),a)} +const l=o.visibleBarsStrictRange();if(null===l)return;this._timePoints.invalidateCache(),this._points1.invalidateCache(),this._points2.invalidateCache(),null===(e=this._colors)||void 0===e||e.invalidateCache(),this._colorAreas.invalidateCache();const[c,h]=this._correctVisibleRange(l),d=this._isPerBarColoringSupported()?this._colors:null,u=this._source.offset(this._plotAId()),p=this._source.offset(this._plotBId()),_=Math.min(u,p),m=Math.max(u,p),g=this._plotIndex1(),f=this._plotIndex2(),v=this._source.data();if(v.isEmpty())return;let S,y;const b=(0,r.ensureNotNull)(v.firstIndex()),w=(0,r.ensureNotNull)(v.lastIndex()),C=b-Math.max(0,-_),P=w+Math.max(0,m),T=Math.max(c-1,C),x=Math.min(h+1,P),M=this._studyValuesCache;M.invalidateCache();const L=T-m,A=v.rangeIterator(L,x-_),E=Math.max(l.firstBar()-1,Math.min(L-m-1,L-1+_));M.setStartIndex(E);const k=new We.BarsRange(l.firstBar()-1,l.lastBar()+1);for(;A.hasNext();){const e=A.next(),t=e.index,i=e.value,s=i[g],n=i[f],o=t+u,a=t+p;if(o===a&&k.contains(o)){const e=M.at(o);e.plot1Value=s,e.plot2Value=n}else{if(k.contains(o)){M.at(o).plot1Value=s}if(k.contains(a)){M.at(a).plot2Value=n}}if(null!==d){const e=t-1+_;if(l.contains(e)){const t=i[(0,r.ensureNotNull)(this._colorPlotIndex)+1];M.at(e).colorIndex=t}}}const D=this._timePoints,V=this._points1,B=this._points2;let N=null;const R=E+M.length();for(let e=E;e<=R;e++){if(!this._fillGaps&&(null===S||null===y)){const t=e-1;D.push(t),V.push(NaN),B.push(NaN),null==d||d.push(null)}const s=M.at(e);if(null!==d){const e=s.colorIndex;N=null==e?null:this._getColorByPlotValue(e)}if(this._isHlineFill){D.push(e),null!==d&&d.push(N);continue}const r=null!==(t=s.plot1Value)&&void 0!==t?t:null,n=null!==(i=s.plot2Value)&&void 0!==i?i:null;(null!==r||null!==n||Number.isFinite(S)||Number.isFinite(y))&&(S=r,y=n,V.push(r),B.push(n),D.push(e),null!==d&&d.push(N))}s.pricesArrayToCoordinates(V.data(),a,V.length()),s.pricesArrayToCoordinates(B.data(),a,B.length()),o.indexesToCoordinates(D.data(),D.length());const O=this._transparency();let F=(0,I.isNumber)(O)?O:50;F=Math.min(F,100),F=Math.max(F,0);const W={barSpacing:this._model.timeScale().barSpacing(),transparency:F,colorAreas:this._getFilledAreas(D,V,B,d)};this._areaRenderer.setData(W)}_getFilledAreas(e,t,i,s){const r=this._isHlineFill;if(!r&&(0===t.length()||0===i.length()))return new Re;const n=this._colorAreas;let o=null,a=null;const l=this._color();for(let c=0;c{null===this._bandAKey&&i.id===e&&(this._bandAKey=s),null===this._bandBKey&&i.id===t&&(this._bandBKey=s)})}}var Xe=i(13933),Ze=i(36759),Je=i(23653),Qe=i(33291),et=i(52714),tt=i.n(et),it=i(37667),st=i(8175),rt=i(97098),nt=i(67802),ot=i(26811),at=i(69147);const lt=(0,o.getLogger)("Chart.Study"),ct=(0,n.t)("Invalid Symbol");const ht={symbolsForDisplay:!1,symbolsForChartApi:!0,skipHiddenInputs:!1,skipFakeInputs:!1,skipBooleanInputs:A.enabled("dont_show_boolean_study_arguments"),asObject:!0,skippedGroups:[],skippedInputs:[],noExchanges:!1,noResolution:!1,keepOptionalSymbolsEmpty:!1,skipColorInputs:!1,skipTimeInputs:!1,skipOptionalEmptySymbolInputs:!1,skipTextareaInputs:!0,priceInputsForDisplay:!1},dt=A.enabled("study_symbol_ticker_description"),ut=A.enabled("hide_main_series_symbol_from_indicator_legend");function pt(e,t){const i=e.plots[t];if(!i||!(0,L.isOhlcPlot)(i))return!1 +;const s=i.target,r=e.defaults.styles&&e.defaults.styles[s],n=e.defaults.ohlcPlots&&e.defaults.ohlcPlots[s],o=e.ohlcPlots&&e.ohlcPlots[s];return r&&(0,L.isOhlcPlotStyleBars)(r)||n&&(0,L.isOhlcPlotStyleBars)(n)||!!o&&(0,L.isOhlcPlotStyleBars)(o)}function _t(e,t){const i=e.plots[t];if(!i||!(0,L.isOhlcPlot)(i))return!1;const s=i.target,r=e.defaults.styles&&e.defaults.styles[s],n=e.defaults.ohlcPlots&&e.defaults.ohlcPlots[s],o=e.ohlcPlots&&e.ohlcPlots[s];return r&&(0,L.isOhlcPlotStyleCandles)(r)||n&&(0,L.isOhlcPlotStyleCandles)(n)||!!o&&(0,L.isOhlcPlotStyleCandles)(o)}function mt(e,t){(0,r.assert)(void 0!==e,"zOrder must be defined"),(0,r.assert)(!t.has(e),"zOrder must be unique")}class gt extends d.PriceDataSource{constructor(e,t,i,s){super(e),this.onStart=new(c()),this._onHibernationStateChange=new(c()),this._symbolsResolved=new(c()),this._statusChanged=new(c()),this._paneViews=[],this._legendView=null,this._priceAxisViews=[],this._inputsAnchorsPaneView=null,this._inputsLinesPaneView=null,this._inputsTimeAxisPaneViews=[],this._inputsPriceAxisPaneViews=[],this._resolvedSymbols={},this._resolvedSymbolsByInput={},this._source=null,this._isChildStudy=!1,this._status={type:Xe.StudyStatusType.Undefined},this._wasCompletedBefore=!1,this._studyId=null,this._isSubscribedToSessionId=!1,this._titleStrCache={},this._titleInPartsCache={},this._children=[],this._numericFormatter=new M.NumericFormatter,this._priceAxisViewsBase=[],this._priceLinesAxisViews=[],this._labelPaneViews=[],this._ownFirstValue=null,this._plotOffsets={},this._formatter=null,this._ongoingDataUpdate=Promise.resolve(),this._studyModified=!1,this._isDestroyed=!1,this._graphics=new g.LiveStudyGraphics,this._tagsChanged=new(c()),this._currencySourceSymbolInputProperty=null,this._pendingResolveSymbols=new Map,this._onIsActualIntervalChange=new(c()),this._lastNonEmptyPlotRowCache={},this._startMovingPoint=null,this._processHibernateBound=this.processHibernate.bind(this,1),this._maxOffset=new(tt())(0),this._currencySourceSymbolInfo=null,this._chartApi=e.chartApi(),this._properties=t,this._metaInfo=s,this._series=this._model.mainSeries(),this._series.onIntervalChanged().subscribe(this,this._calcIsActualInterval),this._showStudyArgumentsProperty=e.properties().childs().paneProperties.childs().legendProperties.childs().showStudyArguments,e.collapsed().subscribe(this._processHibernateBound),i instanceof gt&&(this._source=i,this._isChildStudy=!0,this._source.setChild(this));const r=this.parentSource();r.currencyChanged().subscribe(this,this._onSourceCurrencyChanged),r.unitChanged().subscribe(this,this._onSourceUnitChanged),r.priceRangeReadyChanged().subscribe(this,this._onSourcePriceRangeReadyChanged),r.formatterChanged().subscribe(this,this._onSourceFormatterChanged),r.priceStepChanged().subscribe(this,this._onSourcePriceStepChanged),dt&&this._model.mainSeries().properties().childs().statusViewStyle.childs().symbolTextSource.listeners().subscribe(this,()=>{this.invalidateTitleCache(!0)}),this._properties.subscribe(this,this._onPropertiesChanged), +this._properties.visible.subscribe(this,this._visibleChanged),this._properties.visible.subscribe(this,this.processHibernate),this._properties.intervalsVisibilities.subscribe(this,this._calcIsActualInterval),this._properties.inputs.listeners().subscribe(this,this._updateMaxOffsetValue),void 0!==this._properties.offsets&&this._properties.offsets.listeners().subscribe(this,this._updateMaxOffsetValue),void 0!==this._properties.offset&&this._properties.offset.listeners().subscribe(this,this._updateMaxOffsetValue),this._initializeCurrencySource(),b.hideAllIndicators().subscribe(this,this._visibleChanged);for(let e=0;e=0?e:0}}return this._isChildStudy&&m().patchChildStudyMetaInfoState(l),l}restoreData(e){var t,i;this._invalidateLastNonEmptyPlotRowCache(),this.data().restoreState(e),this._resolvedSymbols=null!==(t=e.symbols)&&void 0!==t?t:{},this._graphics=e.graphics?(0,g.loadStudyGraphics)(e.graphics):(0,g.emptyStudyGraphics)(),this._postProcessGraphics(),this._plotOffsets=null!==(i=e.plotOffsets)&&void 0!==i?i:{},this._setStatus({type:Xe.StudyStatusType.Completed},!0)}hasStateForAlert(){return!1}stateForAlert(){throw new Error("Not implemented")}hasBarColorer(){return(0,r.ensureNotNull)(this._metaInfo).plots.some(L.isBarColorerPlot)}disconnect(){this._studyId=null,this._model.isSnapshot()||(this._resolvedSymbols={},this._resolvedSymbolsByInput={})}isChildStudy(){return this._isChildStudy}hasChildren(){return this._children.length>0}isActualInterval(){return this._isActualInterval}onIsActualIntervalChange(){return this._onIsActualIntervalChange}isVisible(){if(this._model.collapsed().value()||!this.properties().visible.value()||!this.isActualInterval())return!1;const e=this.metaInfo();if(e.plots.length>0)return!0;for(const t of Object.keys(e.graphics))for(const i of Object.keys(e.graphics[t])){const e=this.properties().graphics[t][i];if(!e.visible||e.visible.value())return!0}return!(!e.isTVScriptStrategy&&!e.hasAlertFunction)}inputs(e){const t=(0,I.merge)((0,I.clone)(ht),e||{});return t.skipOptionalEmptySymbolInputs&&(t.keepOptionalSymbolsEmpty=!0),this._buildInputs(t)}metaInfo(){return this._metaInfo}status(){return this._status}name(e){return e?this.metaInfo().shortDescription||this._properties.shortDescription&&this._properties.shortDescription.value()||"Study":this.metaInfo().description||this._properties.description&&this._properties.description.value()||"Study"}title(e,t,i,s){i=void 0===i?!this._showStudyArgumentsProperty.value():i;const r=JSON.stringify([e,t,i,s]);if(this._titleStrCache[r])return this._titleStrCache[r] +;if(this._titleInPartsCache[r])return this._joinTitlesParts(this._titleInPartsCache[r]);const n=this._title(e,t,i,s);return this._titleStrCache[r]=n,n}titleInParts(e,t,i,s){i=void 0===i?!this._showStudyArgumentsProperty.value():i;const r=JSON.stringify([e,t,i,s]);if(this._titleInPartsCache[r])return this._titleInPartsCache[r];const n=this._titleInParts(e,t,i,s);return this._titleInPartsCache[r]=n,n}invalidateTitleCache(e){if(this._titleStrCache={},this._titleInPartsCache={},!0===e&&this._children)for(let t=0;tt.update(e)),this._labelPaneViews.forEach(t=>t.update(e)),null===(t=this._dataWindowView)||void 0===t||t.update(),null===(i=this._legendView)||void 0===i||i.update(),null===(s=this._statusView)||void 0===s||s.update(),this._priceAxisViews.forEach(t=>t.update(e)),this._priceLinesAxisViews.forEach(t=>t.update(e)),null===(r=this._inputsLinesPaneView)||void 0===r||r.update(e),null===(n=this._inputsAnchorsPaneView)||void 0===n||n.update(e), +this._inputsTimeAxisPaneViews.forEach(t=>t.update(e)),this._inputsPriceAxisPaneViews.forEach(t=>t.update(e))}isPine(){return void 0!==this._metaInfo.pine}isStandardPine(){return this.isPine()&&m().isStandardPine(this._metaInfo.id)}isLinkedToSeries(){return!0===this._metaInfo.linkedToSeries}defaultPlotIdForAlert(){return this._metaInfo.plots.length?this._metaInfo.plots[0].id:null}resolvedSymbolInfoBySymbol(e){return this._resolvedSymbols&&e&&this._resolvedSymbols[this._getSymbolForResolve(e)]||null}currency(){if(null!==this._currencySourceSymbolInfo)return(0,it.symbolCurrency)(this._currencySourceSymbolInfo);const e=this.metaInfo();return Boolean(e)&&e.is_price_study?this.parentSource().currency():null}currencySourceSymbolInfo(){var e,t,i;return null!==(e=this._currencySourceSymbolInfo)&&void 0!==e?e:null!==(i=null===(t=this.symbolSource())||void 0===t?void 0:t.symbolInfo())&&void 0!==i?i:null}unit(){const e=this.metaInfo();return Boolean(e)&&e.is_price_study?this.parentSource().unit():null}dataWindowView(){return this._dataWindowView}statusView(){return this._statusView}legendView(){return this._legendView}inputsForAlertState(){return this.inputs()}sessionId(){return this.parentSource().sessionId()}sessionIdChanged(){return this.parentSource().sessionIdChanged()}getSymbolString(e){return""===e?"":(0,C.encodeExtendedSymbolOrGetSimpleSymbolString)(this._getSymbolObject(e))}onStatusChanged(){return this._statusChanged}symbolsResolved(){return this._symbolsResolved}onHibernationStateChange(){return this._onHibernationStateChange}valuesProvider(){return new S.StudyLegendValuesProvider(this,this.model())}statusProvider(e){return new x.StudyStatusProvider(this,this._model.properties().childs().scalesProperties.childs().textColor)}correctScaleMargins(e){if("Volume"===this.metaInfo().shortId){const t=this.model().paneForSource(this);return null!==t&&t.isOverlay(this)&&t.containsMainSeries()?{top:.75,bottom:0}:{top:e.top,bottom:0}}return e}canBeHiddenByGlobalFlag(){return!0}isSourceHidden(){return!this.isVisible()||this.canBeHiddenByGlobalFlag()&&b.hideAllIndicators().value()}paneViews(e){if(this.isSourceHidden()||!e.hasPriceDataSource(this))return null;const t=[];return!this._startMovingPoint&&this._wasCompletedBefore&&t.push(...this._paneViews),this._inputsLinesPaneView&&(this._startMovingPoint||this._model.selection().isSelected(this))&&t.push(this._inputsLinesPaneView),this._inputsAnchorsPaneView&&t.push(this._inputsAnchorsPaneView),t}timeAxisViews(){return this._model.selection().isSelected(this)?this._inputsTimeAxisPaneViews:null}priceAxisViews(e,t){if(this.properties().oldShowLastValue&&!this.properties().oldShowLastValue.value())return null;let i=this._priceAxisViews.slice();return this._model.selection().isSelected(this)&&(i=i.concat(this._inputsPriceAxisPaneViews)),e.findTargetPriceAxisViews(this,t,i,this._priceLinesAxisViews)}movable(){return null!==this._inputsAnchorsPaneView}startMoving(e,t,i,s){this._startMovingPoint=e,this.stop()}move(e,t,i,s){if(void 0!==e.logical&&null!==this._startMovingPoint){ +if(Array.isArray(t)){const i=t;this._updateInputValue(e.logical,i[0]),this._updateInputValue(e.logical,i[1])}else this._updateInputValue(e.logical,t);this.updateAllViews((0,Qe.dataSourceChangeEvent)(this.id()))}}endMoving(e,t){return this._startMovingPoint=null,this.start(),{indexesChanged:!1,pricesChanged:!1}}clearData(){var e;this._invalidateLastNonEmptyPlotRowCache(),this.data().clear(),this._graphics instanceof g.LiveStudyGraphics&&(null===(e=this._graphics)||void 0===e||e.clear()),this._plotOffsets={},this.hasBarColorer()&&this._model.mainSeries().invalidateBarStylesCache(),this.updateAllViews((0,Qe.dataSourceChangeEvent)(this.id(),void 0,!0))}convertYCoordinateToPriceForMoving(e,t){const i=this.priceScale();if(!t||!i||i.isEmpty())return null;const s=t.firstValue();return null===s?null:i.coordinateToPrice(e,s)}processHibernate(e){const t=this.isVisible();if(!this.isStarted()&&t&&(this._isChildStudy&&(0,r.ensureNotNull)(this._source).processHibernate(),this.start(void 0,void 0,e),this._onHibernationStateChange.fire(!1)),this.isHibernationAllowed()&&this.isStarted()&&!t){for(const e of this._children)e.processHibernate();this.stop(void 0,e),this._onHibernationStateChange.fire(!0)}}isHibernationAllowed(){return!this.metaInfo().historyCalculationMayChange&&(!this.hasChildren()||!!this._model.collapsed().value()&&this._children.every(e=>e.isHibernationAllowed()))}recalculate(){const e=this._model.paneForSource(this);this._model.recalculatePane(e,(0,Qe.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}maxOffset(){return this._maxOffset}_transformData(e){}_updateMaxOffsetValue(){let e=-1/0;for(const t of this._metaInfo.plots)e=Math.max(this.offset(t.id),e);this._maxOffset.setValue(e)}_rightOffsetToUnixTime(e){if(this._series.bars().size()>=e){const t=(0,r.ensureNotNull)(this._series.bars().lastIndex())-e;return(0,r.ensureNotNull)(this._series.bars().valueAt(t))[0]}return null}_invalidateLastNonEmptyPlotRowCache(){this._lastNonEmptyPlotRowCache={}}_collectDepsForAlert(){throw new Error("Not implemented")}isHibernated(){return!this.isVisible()&&!this.isStarted()}_createViews(){var e,t;this._priceAxisViewsBase=[],this._priceLinesAxisViews=[],this._paneViews=[],this._labelPaneViews=[];const i=new Set,s=this.metaInfo(),n=Boolean(s.usePlotsZOrder),o=new Map;if(s.plots)for(let t=0;t{const i=this._properties.bands[t];if(i&&i.visible.value()){const t=new qe(i,this),s=n?(0,r.ensureDefined)(e.zorder):o.size;mt(s,o),o.set(s,{paneViews:[t]})}}),this._properties.bandsBackground&&((0,r.assert)(!n,"'usePlotsZOrder' flag does not supported"),o.set(o.size,{paneViews:[new Ke(this)]}));const a=this._paneViews;(0,g.createGraphicsPaneViews)(this,this.model()).then(e=>{for(let t=0;ts.plots.some(t=>(0,L.isColorerPlot)(t)&&t.target===e);if(this._properties.filledAreas&&s.filledAreas)for(let e=0;ee-t);for(let e=0;e0){const t=this.barColorer().firstColoredBar(e[0].index);this._model.mainSeries().invalidateBarStylesCache(t)}null!==t&&this._postProcessGraphics();const r=this._model.paneForSource(this);this._model.recalculatePane(r,(0,Qe.dataSourceChangeEvent)(this.id(),null!=s?s:void 0)),this._updateSources()}_updateSources(){this._model.updateSource(this),this.hasBarColorer()&&this._model.updateSource(this._model.mainSeries())}_titleInputs(e,t){return this.inputs(this._titleInputsOptions(e,t))}_titleInputsOptions(e,t){return{symbolsForDisplay:!0,skipHiddenInputs:!0,skipFakeInputs:!1,fakeInputsForDisplay:!0,asObject:!1,skippedGroups:[],noExchanges:e,noResolution:t,skipColorInputs:!0,skipTimeInputs:!0,priceInputsForDisplay:!0,skipOptionalEmptySymbolInputs:ut}}_subscribeToSessionId(){!this._isSubscribedToSessionId&&this.hasSymbolInputs()&&(this.sessionIdChanged().subscribe(this,this._onSessionIdChanged),this._isSubscribedToSessionId=!0)}_unsubscribeToSessionId(){this._isSubscribedToSessionId&&(this.sessionIdChanged().unsubscribe(this,this._onSessionIdChanged),this._isSubscribedToSessionId=!1)}_onSessionIdChanged(){this.restart(!0)}_title(e,t,i,s){const r=this._titleInParts(e,t,i,s);return this._joinTitlesParts(r)}_formatterByMetaInfo(){var e,t;const i=this.metaInfo().format;if("inherit"===i.type)return null;const s=this.series().symbolInfo(),r=(0,I.isNumber)(i.precision)?Math.pow(10,i.precision):void 0;{const s=null!==(t=null===(e=null===at.customFormatters||void 0===at.customFormatters?void 0:at.customFormatters.studyFormatterFactory)||void 0===e?void 0:e.call(at.customFormatters,i,this.symbolSource().symbolInfo()))&&void 0!==t?t:null;if(null!==s)return s}switch(i.type){case"price":return new rt.PriceFormatter(r);case"volume":{let e=i.precision;return void 0===e&&(e=s&&(0,I.isNumber)(s.volume_precision)?s.volume_precision:0),new nt.VolumeFormatter(e)}case"percent":return new ot.PercentageFormatter(r);default:return lt.logWarn("Unsupported format type: "+i.type),null}}_postProcessPriceRange(e){if(e&&e.minValue()===e.maxValue()&&!this.metaInfo().is_price_study){const t=.005*e.minValue();e=new u.PriceRange(e.minValue()-t,e.maxValue()+t)}const t=this.priceScale() +;return t&&t.isLog()&&e?new u.PriceRange(t.priceToLogical(e.minValue()),t.priceToLogical(e.maxValue())):e}_joinTitlesParts(e){const t=e[1]?e[1].join(", "):"";return e[0]+(t.length>0?" ("+t+")":"")}_titleInParts(e,t,i,s){var r;const o=this.name(e);t=t||{};const a=[(0,n.t)(o,{context:"study"})];let l=[];if(!i){const i=this._getMTFResolutionInputTitle();null!==i&&i.length>0&&a.push(i);const n=this.metaInfo(),o=this._titleInputs(s,!0)||[];if(o.length>0){const i={};if(this._isChildStudy)for(let t=0;t=0&&this._source){const t=this._source.metaInfo(),n=this._source.title(e,{},!0,s);if(1===t.plots.length)i[l]=n;else{const e=l.split("$")[1],s=null===(r=t.plots[parseInt(e)])||void 0===r?void 0:r.id,o=t.styles&&t.styles[s],a=o&&o.title||s;i[l]=n+": "+a}}break}l=o.map(e=>{let s=(0,I.isNumber)(e)?this._numericFormatter.format(e):i&&i[e.toString()]||e.toString();return t&&t[s.toString()]&&(s=t[s.toString()]),s})}}return[a.join(" · "),l]}_getMTFResolutionInputTitle(){const e=this.metaInfo();for(let t=0;t"line"===e.type)}_hasAlertConditions(){if(this.metaInfo().plots.some(L.isAlertConditionPlot))return!0;const e=this.stateForAlert();return Boolean(e.alerts&&e.alerts.conditions)}_hasAlertFunction(){const e=this.metaInfo();return Boolean(e.hasAlertFunction)}_onDataUpdate(e,t){this._studyModified&&(this.clearData(),this._studyModified=!1);const i=(0,h.unpackNonSeriesData)(t.d);return this._ongoingDataUpdate=this._ongoingDataUpdate.then(()=>i,()=>i).then(this._onDataUnpacked.bind(this,e,t.indexes)),this._ongoingDataUpdate}_mergeData(e){var t,i;return this._invalidateLastNonEmptyPlotRowCache(),null!==(i=null===(t=this.data().merge(e))||void 0===t?void 0:t.index)&&void 0!==i?i:null}_getSymbolForResolve(e){return this.getSymbolString(this._getSymbolForApi(e))}_allSymbolsAreResolved(){const e=this.metaInfo(),t=[];let i=!1;for(let s=0;sthis._symbolsResolved.fire()):e}return Promise.all(t).catch(e=>(this._setStatus({type:Xe.StudyStatusType.Error,errorDescription:{error:ct}}),this.stop(!0),this._model.updateSource(this),Promise.reject("Invalid symbol, "+e))).then(()=>{null!==this._studyId&&this.stop(!0),this.start(!0),this._symbolsResolved.fire(),this._recheckLineToolsActuality()})}_getSymbolForApi(e){return e}_resolveSymbol(e,t){if(""===e)return Promise.resolve();let i=this._pendingResolveSymbols.get(e);return void 0!==i||(i=new Promise((i,s)=>{ +this._onSymbolResolvingStart(),this._chartApi.resolveSymbol((0,P.makeNextSymbolId)(),e,r=>{switch(this._pendingResolveSymbols.delete(e),r.method){case"symbol_resolved":this._setStatus({type:Xe.StudyStatusType.Undefined}),this._resolvedSymbols[e]=r.params[1],this._resolvedSymbolsByInput[t]=r.params[1],this._onSymbolResolved(e,t,r.params[1]),this.invalidateTitleCache(!0),i();break;case"symbol_error":if(this._setStatus({type:Xe.StudyStatusType.Error,errorDescription:{error:r.params[1]}}),this._onSymbolError(),r.params[1]===T.permissionDenied&&r.params[2])switch(r.params[2]){case T.SymbolErrorPermissionDeniedReason.Symbol:if(r.params[3])return void this._resolveSymbol(r.params[3],t).then(i);break;default:return void this._resolveSymbol(r.params[2],t).then(i)}0,s()}})}),this._pendingResolveSymbols.set(e,i)),i}_recheckLineToolsActuality(){const e=this._model.paneForSource(this);null!==e&&e.sourcesByGroup().lineSourcesForAllSymbols().forEach(e=>{e.ownerSource()===this&&e.calcIsActualSymbol()})}_getSymbolObject(e){const t={symbol:e},i=this.currency();return null!==this._currencySourceSymbolInputProperty&&null!==this._currencySourceSymbolInfo&&this._getSymbolForApi(this._currencySourceSymbolInputProperty.value())===e&&(t["currency-id"]=i),t.session=this.sessionId(),t}_onSymbolResolved(e,t,i){this._onCurrencyMayChange()}_onSymbolResolvingStart(){}_onSymbolError(){}_setStatus(e,t){var i;this._status=e,e.type===Xe.StudyStatusType.Completed?this._wasCompletedBefore=!0:e.type!==Xe.StudyStatusType.Error&&e.type!==Xe.StudyStatusType.Undefined||(this._wasCompletedBefore=!1),t||(null===(i=this._statusView)||void 0===i||i.update(),this._model.updateSource(this),this._statusChanged.fire(e))}_bandsFirstValue(e){const t=this._metaInfo;if(!t.bands)return null;for(let i=0;ivoid 0!==i[e],1e3),null===i?null:(this._lastNonEmptyPlotRowCache[e]=i,i)}_onCurrencyChanged(){"alwaysOff"!==(0,st.currencyUnitVisibilityProperty)().value()&&this._model.fullUpdate(),this.isStarted()&&this._tryChangeInputs(),this._currencyChanged.fire()}_tryChangeInputs(){const e=(0,r.ensureDefined)((0,I.clone)(this._inputs));this.isStarted()&&this._chartApi.isConnected().value()?this._allInputsAreValid()?this._allSymbolsAreResolved().then(()=>{const t=this.inputs({keepOptionalSymbolsEmpty:!0}),i=JSON.stringify(t)!==JSON.stringify(this._inputs);this._isStopped()?i&&this.disablePriceRangeReady():i&&(this._changeInputsImpl(t,e),this._inputs=t)}).catch(e=>{lt.logError("ERROR: "+this._debugId()+" _tryChangeInputs: cannot modify study, "+e)}):this.stop():(this.stop(!0),this.start(!0)),this._tagsChanged.fire()}_debugId(){const e=[];return this._studyId&&e.push(this._studyId),e.push(this._metaInfo.fullId),e.push(this._metaInfo.description),JSON.stringify({study:e})}_onCurrencyMayChange(){if(null!==this._currencySourceSymbolInputProperty){const e=this.currency();this._updateCurrencySourceSymbolInfo(),e!==this.currency()&&this._onCurrencyChanged()}}_isStopped(){return!this.isStarted()}_onDataUnpacked(e,t,i){if(this._isDestroyed)return;"nochange"!==t&&this._processPlotOffsets(i),this._transformData(e);const s=this._mergeData(e);null!==i&&(i.indexes_replace?((0,r.assert)("nochange"!==t),this._graphics.replaceIndexesTo(t)):("nochange"!==t&&this._graphics.replaceIndexesTo(t),void 0!==i.graphicsCmds&&this._graphics.processCommands(i.graphicsCmds,this._metaInfo.graphics))),this._onDataUpdated(e,i,t,s),this.priceRangeReady()||this._enablePriceRangeReady()}_processPlotOffsets(e){if(e&&e.indexes_replace)return;const t=this._plotOffsets;this._plotOffsets=e&&e.offsets||{},(0,s.default)(t,this._plotOffsets)||this.updateAllViews((0,Qe.dataSourceChangeEvent)(this.id(),void 0,!0)),this._updateMaxOffsetValue()}_applyPlotToPrecalculatedAutoscaleInfo(e,t,i,s){const r=s.id,n=this.properties().styles[r],o=(0,L.isShapesPlot)(s)||(0,L.isCharsPlot)(s);i.useMainSeriesRange=i.useMainSeriesRange||(0,L.isArrowsPlot)(s);let a=(0,L.isLinePlot)(s)||(0,L.isOhlcPlot)(s);if(o){const e=n.location.value(),t=[f.MarkLocation.Absolute,f.MarkLocation.Top,f.MarkLocation.Bottom].indexOf(e)<0;i.useMainSeriesRange=i.useMainSeriesRange||o&&t,a=a||e===f.MarkLocation.Absolute}if(!a)return i;const l={name:r,offset:this.offset(r)},c=n.plottype.value();if(!this.properties().skipHistogramBaseOnAutoScale&&[L.LineStudyPlotStyle.Histogram,L.LineStudyPlotStyle.Columns,L.LineStudyPlotStyle.Area].indexOf(c)>=0){const s=n.histogramBase.value(),r=this.data().minMaxOnRangeCached(e,t,[l]);return(0,I.isNumber)(s)&&null!==r&&(i.baseValueMinMax=(0,p.mergeMinMax)(i.baseValueMinMax,{min:s,max:s}),i.baseValueMinMax=(0,p.mergeMinMax)(i.baseValueMinMax,r)),i} +return i.fields.push(l),i}_fillPrecalculatedAutoscaleInfo(e,t){return this._metaInfo.plots.filter(e=>!(0,L.isPlotWithTechnicalValues)(e)).filter(e=>{const t=e.id;let i;if((0,L.isOhlcPlot)(e)){const t=e.target;i=this.properties().ohlcPlots[t]}else i=this.properties().styles[t];return i.visible.value()}).reduce((i,s)=>this._applyPlotToPrecalculatedAutoscaleInfo(e,t,i,s),{fields:[],useMainSeriesRange:!1,baseValueMinMax:null})}_buildInputs(e){(0,r.assert)(!!e,"options not set");let t={};try{t=this._prepareInputs(e)}catch(e){lt.logWarn("Failed to prepare study inputs: "+e)}if(e.asObject){const e={};return Object.keys(t).forEach(i=>{null!=t[i]&&(e[i]=t[i])}),e}{const e=[];return Object.keys(t).forEach(i=>{null!=t[i]&&e.push(t[i])}),e}}_prepareInput(e,t){const i=this._prepareInputValue(e,t);return!e.isFake||t.fakeInputsForDisplay||t.onlyAtomValues?i:{v:i,f:!0,t:e.type}}_plotsForAlert(){return[]}_dependenciesForAlerts(){throw new Error("Not implemented")}_calcIsActualInterval(){const e=this._isActualInterval;this._isActualInterval=(0,Ze.isActualInterval)(this._series.intervalObj(),this.properties().intervalsVisibilities),e!==this._isActualInterval&&(this._onIsActualIntervalChange.fire(),this._visibleChanged(),this.processHibernate())}_visibleChanged(){this._series.invalidateBarColorerCache()}_getNonPriceParent(){const e=this.source();if(e instanceof gt){const t=e.metaInfo();return t.is_price_study&&"Compare@tv-basicstudies"!==t.id?e._getNonPriceParent():e}return null}_updateInputValue(e,t){const i=this._properties.inputs;if(i[t.id])if("price"===t.type)i[t.id].setValue(e.price);else if("time"===t.type){const s=this._model.timeScale().indexToTimePoint(e.index);null!==s&&i[t.id].setValue(1e3*s)}}_initializeStudyInputsPaneViews(){}_updateCurrencySourceSymbolInfo(){var e;null!==this._currencySourceSymbolInputProperty&&(this._currencySourceSymbolInfo=null!==(e=this._resolvedSymbolsByInput[this._currencySourceSymbolInputProperty.value()])&&void 0!==e?e:null)}_initializeCurrencySource(){var e,t;const i=this.metaInfo(),s="symbolInputSymbolSource"===(null===(e=i.symbolSource)||void 0===e?void 0:e.type)&&(null===(t=i.symbolSource)||void 0===t?void 0:t.inputId),r=i.inputs.find(e=>e.id===s),n="symbol"===(null==r?void 0:r.type);if("string"==typeof s&&n&&i.is_price_study){const e=this._properties.inputs[s];null!=e&&(e.subscribe(this,this._onCurrencyMayChange),this._currencySourceSymbolInputProperty=e)}}}},55153:(e,t,i)=>{"use strict";i.d(t,{StudyCompare:()=>N});var s=i(88537),r=i(8175),n=i(66101),o=i(37667),a=i(2015),l=i.n(a),c=i(67337),h=i(3825),d=i(97938),u=i(74477);const p=c.enabled("force_exchange_as_title");class _ extends d.PriceAxisView{constructor(e,t){super(),this._studyCompare=e,this._data=t}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._studyCompare.priceScale(),r=this._studyCompare.lastValueData(this._data.plotIndex,!1);if(r.noData||null===s||s.isEmpty())return;i.background=r.color,i.textColor=this.generateTextColor(r.color),i.coordinate=r.coordinate,i.floatCoordinate=r.floatCoordinate +;const n=this._studyCompare.model().properties().childs().scalesProperties.childs();n.showSeriesLastValue.value()&&(e.text=(0,u.getCurrentModePriceText)(s,r),n.seriesLastValueMode.value()!==h.PriceAxisLastValueMode.LastPriceAndPercentageValue?e.secondLine="":e.secondLine=(0,u.getOppositeModePriceText)(s,r),e.visible=!0),t.text="",n.showSymbolLabels.value()&&(t.text=this._paneText(),t.visible=t.text.length>0)}_paneText(){let e="";const t=this._studyCompare.symbolInfo();return p?e=(0,o.displayedSymbolExchange)(t):this._studyCompare.model().properties().childs().scalesProperties.childs().showSymbolLabels.value()&&(e=(0,o.displayedSymbolName)(t)),e}}i(28353);var m=i(26179),g=i(44601),f=i(85733),v=i(49483),S=i(80643),y=i(89027);class b extends y.StudyValuesProvider{constructor(e,t){super(e,t),this._emptyValues[0].title=e.guiPlotName("")}_hideValues(){return!1}}const w=v.CheckMobile.any();class C extends m.StudyDataWindowView{constructor(e,t){super(e,t),this._studyCompare=e}_hideValues(){return!1}_createValuesProvider(e,t){return new b(e,t)}_currentIndex(){const e=this._model.crossHairSource().lockedIndex;let t;return w&&(null===this._model.crossHairSource().pane&&void 0===e||(0,g.isLineToolName)(f.tool.value())||null!==this._model.lineBeingEdited())?t=this._study.data().lastIndex():(t=this._model.crossHairSource().appliedIndex(),(0,S.isNumber)(t)||(t=this._study.data().lastIndex())),t}}class P extends C{constructor(e,t){super(e,t),this._additional=null,this._showSeriesOHLC=t.properties().childs().paneProperties.childs().legendProperties.childs().showSeriesOHLC,this._showSeriesOHLC.subscribe(this,this.update)}areValuesVisible(){return this._showSeriesOHLC.value()}destroy(){this._showSeriesOHLC.unsubscribeAll(this)}additional(){return this._additional}_updateImpl(){super._updateImpl()}}var T=i(190),x=i(40529);class I extends x.StudyStatusProvider{getSplitTitle(){return this._source.titleInParts(!0,void 0,!1,!1)}text(){return this._source.isActualInterval()?this._source.isFailed()?`${this._source.title(!0,void 0,!1,!1)}: ${this.sourceStatusText()}`:`${this._source.title(!0,void 0,!1,!1)} ${this.sourceStatusText()}`:this._source.title(!0,void 0,!1,!1)}}var M=i(14791),L=i(52714),A=i.n(L);const E=c.enabled("study_overlay_compare_legend_option"),k=c.enabled("force_exchange_as_title"),D=c.enabled("uppercase_instrument_names"),V=!c.enabled("hide_study_compare_legend_item"),B=c.enabled("hide_unresolved_symbols_in_legend");class N extends n.Study{constructor(e,t,i,s){super(e,function(e){return e.hasChild("currencyId")||e.addChild("currencyId",new(l())(null)),e.hasChild("unitId")||e.addChild("unitId",new(l())(null)),e.addExclusion("currencyId"),e.addExclusion("unitId"),e}(t),i,s),this._isActingAsSymbolSource=new(A())(!0),this._realignToolsLastParams=null,this.properties().childs().minTick.subscribe(null,()=>this._recreatePriceFormattingDependencies()),this.properties().childs().minTick.subscribe(null,()=>this._model.fullUpdate()),this.properties().childs().currencyId.subscribe(this,this._onCurrencyChanged), +this.properties().childs().unitId.subscribe(this,this._onUnitChanged),this.properties().merge({skipHistogramBaseOnAutoScale:!0}),this._symbolResolvingActive=new(A())(!1),this._symbolHibernated=new(A())(!1),e.mainSeries().onIntervalChanged().subscribe(this,()=>e.realignLineTools(this))}destroy(){this._model.mainSeries().onIntervalChanged().unsubscribeAll(this),super.destroy()}properties(){return super.properties()}isActingAsSymbolSource(){return this._isActingAsSymbolSource.readonly()}createPriceAxisView(e){return new _(this,{plotIndex:"compare"})}setSymbolParams(e){this._setSymbolCurrencyUnitInternal(e)}symbol(){return this._properties.inputs.symbol.value()}setSymbol(e){this.setSymbolParams({symbol:e})}symbolInfo(){if(!this._resolvedSymbols)return null;const e=this._properties.inputs.symbol.value();if(!e)return null;let t;return t=this._resolvedSymbols[this._getSymbolForResolve(e)]||null,t}symbolResolved(){return this.symbolsResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._symbolHibernated}isVisible(){const e=super.isVisible();return this._symbolHibernated.setValue(!e),e}symbolSameAsCurrent(e){return(0,M.symbolSameAsCurrent)(e,this.symbol(),this.symbolInfo())}currency(){return this._properties.currencyId.value()||null}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,o.isConvertedToOtherCurrency)(this.symbolInfo())}unit(){return this._properties.unitId.value()||null}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,o.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}style(){return 2}setStyle(e){}interval(){return this._model.mainSeries().interval()}setInterval(e){}symbolSource(){return this}state(e,t){const i=super.state(e,t);return this._model.unitConversionEnabled()||delete i.state.unitId,e&&((0,s.ensureDefined)(i.data).symbols={___snapshot:this.symbolInfo()||void 0}),i}symbolTitle(e,t){return this.title(!0,{},!1,e)}titleInParts(e,t,i,s){const r=this._titleInParts(e,t,i,s).join(", ");return[D?r.toUpperCase():r]}tags(){const e=this.symbol();return e?[e]:[]}statusView(){return V?super.statusView():null}guiPlotName(e){return this.properties().childs().inputs.childs().symbol.value()}canOverrideMinTick(){return!0}canBeHiddenByGlobalFlag(){return!1}valuesProvider(){return new b(this,this.model())}statusProvider(e){return new I(this,this._model.properties().childs().scalesProperties.childs().textColor)}_createViews(){this._legendView||(this._legendView=new P(this,this._model)),this._dataWindowView||(this._dataWindowView=new C(this,this._model)),this._statusView||(this._statusView=new T.StudyStatusView(this)),super._createViews()}_showLastValueOnPriceScale(){return this._model.properties().childs().scalesProperties.childs().showSeriesLastValue.value()}_onUnitChanged(){"alwaysOff"!==(0,r.currencyUnitVisibilityProperty)().value()&&this._model.fullUpdate(),this._model.unitConversionEnabled()&&this.isStarted()&&this._tryChangeInputs(),this._unitChanged.fire()}_getSymbolObject(e){ +const t=super._getSymbolObject(e),i=this.currency();null!==i&&(t["currency-id"]=i);const s=this.unit();return this._model.unitConversionEnabled()&&null!==s&&(t["unit-id"]=s),t}_getSymbolForApi(e){return(0,o.symbolForApi)(this._resolvedSymbolsByInput[e]||null,e)}_onSymbolResolvingStart(){super._onSymbolResolvingStart(),this._symbolResolvingActive.setValue(!0)}_onSymbolError(){super._onSymbolError(),this._symbolResolvingActive.setValue(!1)}_onSymbolResolved(e,t,i){super._onSymbolResolved(e,t,i),this._recreatePriceFormattingDependencies();const s=t===this.symbol()?(0,o.extractSymbolNameFromSymbolInfo)(i,this.symbol()):null,r=(0,o.symbolCurrency)(i),n=(0,o.symbolUnit)(i,this._model.unitConversionEnabled());this._setSymbolCurrencyUnitInternal({symbol:null!=s?s:void 0,currency:r,unit:n},i),this._symbolResolvingActive.setValue(!1)}_changeInputsImpl(e,t){super._changeInputsImpl(e,t),this._realignLineToolsIfParamsChanged()}_createStudyOnServer(){super._createStudyOnServer(),this._realignLineToolsIfParamsChanged()}_tryCreateFormatter(){const e=this.symbolInfo();return(0,o.createSeriesFormatter)(e,this.properties().childs().minTick.value())}_titleInParts(e,t,i,s){const r=this.symbolInfo();let n;if(r){const e=(0,o.getStudySymbolExchange)(r);if(k&&e)n=e;else if(n=r.name,E)switch(this._model.mainSeries().symbolTextSourceProxyProperty().value()){case"description":n=r.description;break;case"ticker-and-description":n=`${r.name}, ${r.description}`}else if(e&&!s)return[n,[e]]}else n=B?"":this.properties().childs().inputs.childs().symbol.value();return[n]}_setSymbolCurrencyUnitInternal(e,t){const{symbol:i,currency:s,unit:r}=e,n=this.properties().childs(),a=n.inputs.childs().symbol.value(),l=n.currencyId.value(),c=n.unitId.value();if(void 0!==i&&i!==a&&n.inputs.childs().symbol.setValueSilently(i),void 0!==s&&s!==l&&n.currencyId.setValueSilently(s),void 0!==r&&r!==c&&n.unitId.setValueSilently(r),t)this._resolvedSymbolsByInput[this.symbol()]=t,this._resolvedSymbols[this._getSymbolForResolve(this.symbol())]=t,this._realignToolsLastParams=null;else{const e=this.symbolInfo();null!==e&&(n.currencyId.setValueSilently((0,o.symbolCurrency)(e)),n.unitId.setValueSilently((0,o.symbolUnit)(e,this._model.unitConversionEnabled())))}n.inputs.childs().symbol.value()!==a&&n.inputs.childs().symbol.listeners().fire(n.inputs.childs().symbol),n.currencyId.value()!==l&&n.currencyId.listeners().fire(n.currencyId),n.unitId.value()!==c&&n.unitId.listeners().fire(n.unitId),this._realignLineToolsIfParamsChanged()}_realignLineToolsIfParamsChanged(){const e=this.symbol(),t=this.interval(),i=this.currency(),s=this.unit();null!==this._realignToolsLastParams&&this._realignToolsLastParams.symbol===e&&this._realignToolsLastParams.interval===t&&this._realignToolsLastParams.currency===i&&this._realignToolsLastParams.unit===s||(this._model.realignLineTools(this),this._realignToolsLastParams={symbol:e,interval:t,currency:i,unit:s})}}},82927:(e,t,i)=>{"use strict";i.d(t,{StudyOverlayBase:()=>le}) +;var s=i(88537),r=i(49483),n=i(98125),o=i(66101),a=i(8175),l=i(63948),c=i(37667),h=i(2015),d=i.n(h),u=i(19234),p=i(67337),_=i(90810),m=i(14791),g=i(59100),f=i(9315),v=i(71053),S=i(80643),y=i(69927),b=i(52714),w=i.n(b),C=i(33291),P=i(190),T=i(42169),x=i(97938),I=i(3825),M=i(74477);const L=p.enabled("force_exchange_as_title");class A extends x.PriceAxisView{constructor(e){super(),this._source=e}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._source.lastValueData("close",!1);if(s.noData)return;const r=this._source.model(),n=this._source.priceScale();if(null===n)return;if(!r.isPriceScaleVisible(n))return;i.background=s.color,i.textColor=this.generateTextColor(s.color),i.coordinate=s.coordinate,i.floatCoordinate=s.floatCoordinate;const o=this._source.model().properties().childs().scalesProperties.childs();o.showSeriesLastValue.value()&&(e.text=(0,M.getCurrentModePriceText)(n,s),o.seriesLastValueMode.value()!==I.PriceAxisLastValueMode.LastPriceAndPercentageValue?e.secondLine="":e.secondLine=(0,M.getOppositeModePriceText)(n,s),e.visible=!0),t.text="",o.showSymbolLabels.value()&&(t.text=this._paneText(),t.visible=t.text.length>0)}_paneText(){let e="";const t=this._source.symbolInfo();return L?e=(0,c.displayedSymbolExchange)(t):this._source.model().properties().childs().scalesProperties.childs().showSymbolLabels.value()&&(e=(0,c.displayedSymbolName)(t)),e}}var E=i(55057);class k extends E.PriceLineAxisView{constructor(e){super(),this._study=e}_value(){return this._study.lastValueData("",!0)}_priceLineColor(e){return e}_lineWidth(){return 1}_isVisible(){const e=this._study.model().properties().childs().scalesProperties.childs().showSeriesLastValue.value();return this._study.properties().childs().showPriceLine.value()&&e}}var D=i(43891),V=i(40254);class B{constructor(e){this._lineRenderer=new V.HorizontalLineRenderer,this._visible=!1,this._source=e}update(){if(this._visible=!1,!this._source.properties().childs().showPriceLine.value())return;const e=this._source.lastValueData("",!0);e.noData||(this._visible=!0,this._lineRenderer.setData({y:e.coordinate,color:e.color,linewidth:1,linestyle:D.LINESTYLE_DOTTED,visible:this._visible}))}renderer(){return this._visible?this._lineRenderer:null}}var N=i(93751),R=i(14445),O=i(44601),F=i(85733),W=i(22458);const H=r.CheckMobile.any();class z extends R.DataWindowView{constructor(e,t){super(),this._invalidated=!0,this._study=e,this._model=t,this._valueProvider=this._createValuesProvider(e,t),this._items=this._valueProvider.getItems().map(e=>new R.DataWindowItem(e.title,"")),this.update()}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}update(){this._invalidated=!0}study(){return this._study}_updateImpl(){this._header=this._study.title();let e;this._showLastPriceAndChangeOnly()?e=this._study.data().lastIndex():(e=this._model.crossHairSource().appliedIndex(),(0,N.isNumber)(e)||(e=this._study.data().lastIndex()));const t=this._valueProvider.getValues(e);for(let e=0;ee||t,i.showBarChange,i.showSeriesOHLC),this._visibilityProperty.subscribe(this,this.update)}areValuesVisible(){return this._visibilityProperty.value()}additional(){return this._additional}destroy(){this._backgroundColorSpawn.destroy(),this._visibilityProperty.destroy()}_updateImpl(){super._updateImpl()}_createValuesProvider(e,t){return new U.OverlayLegendValuesProvider(e,t)}}var q=i(28978),Y=i(66919),K=i(85224),$=i(33837),X=i(34041),Z=i(35251),J=i(30076),Q=i(59153);const ee=r.CheckMobile.any()&&!1,te=p.enabled("uppercase_instrument_names"),ie=p.enabled("study_overlay_compare_legend_option"),se=p.enabled("secondary_series_extend_time_scale"),re=p.enabled("hide_unresolved_symbols_in_legend"),ne=!p.enabled("hide_study_overlay_legend_item"),oe=(0,n.getLogger)("Chart.StudyOverlay");function ae(e,t){return null==e[t]}class le extends o.Study{constructor(e,t,i,s){super(e,function(e){return e.hasChild("currencyId")||e.addChild("currencyId",new(d())(null)),e.hasChild("unitId")||e.addChild("unitId",new(d())(null)),e.addExclusion("currencyId"),e.addExclusion("unitId"),e}(t),i,s),this._quotesProvider=new _.QuotesProvider,this._seriesSource=null,this._symbolResolvingActive=new(w())(!1),this._symbolHibernated=new(w())(!1),this._styleToRecover=null,this._isActingAsSymbolSource=new(w())(!0),this._realignToolsLastParams=null,this.m_data=new v.PlotList((0,l.seriesPlotFunctionMap)(),ae),ee&&this._quotesProvider.quotesUpdate().subscribe(this,this._onQuotesUpdate);const r=this.properties().childs();r.currencyId.subscribe(this,this._onCurrencyChanged),r.unitId.subscribe(this,this._onUnitChanged),r.allowExtendTimeScale.subscribe(this,this._onAllowExtendTimeScaleChanged),this._onAllowExtendTimeScaleChanged(),r.style.subscribe(this,this._onChartStyleChanged),r.lineStyle.childs().priceSource.subscribe(this,this._updateBarFunction),r.areaStyle.childs().priceSource.subscribe(this,this._updateBarFunction),r.baselineStyle.childs().priceSource.subscribe(this,this._updateBarFunction),r.columnStyle.childs().priceSource.subscribe(this,this._updateBarFunction),this._updateBarFunction(),this._formatter=null,e.mainSeries().onIntervalChanged().subscribe(this,()=>e.realignLineTools(this))}destroy(){this._model.mainSeries().onIntervalChanged().unsubscribeAll(this),super.destroy()}isActingAsSymbolSource(){return this._isActingAsSymbolSource.readonly()}properties(){return this._properties}setSymbolParams(e){ +this._setSymbolParamsInternal(e)}symbol(){return this.properties().childs().inputs.childs().symbol.value()}setSymbol(e){this.setSymbolParams({symbol:e})}symbolInfo(){if(!this._resolvedSymbols)return null;const e=this._properties.inputs.symbol.value();if(!e)return null;let t;return t=this._resolvedSymbols[this._getSymbolForResolve(e)]||null,t}supportsPressedChunks(){return!1}pressedChunks(e,t){throw new Error("Pressed chunks are not supported")}data(){return null===this._seriesSource?super.data():this._seriesSource.data().bars()}symbolResolved(){return this.symbolsResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._symbolHibernated}isVisible(){const e=super.isVisible();return this._symbolHibernated.setValue(!e),e}symbolSameAsCurrent(e){return(0,m.symbolSameAsCurrent)(e,this.symbol(),this.symbolInfo())}priceSource(){switch(this._properties.style.value()){case 2:return this._properties.lineStyle.priceSource.value();case 3:return this._properties.areaStyle.priceSource.value();case 10:return this._properties.baselineStyle.priceSource.value();case 13:return this._properties.columnStyle.priceSource.value()}return null}barFunction(){return this._barFunction}quotes(){return this._quotesProvider.quotes()}currency(){return this._properties.currencyId.value()||null}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,c.isConvertedToOtherCurrency)(this.symbolInfo())}unit(){return this._properties.unitId.value()||null}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,c.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}style(){return this.properties().childs().style.value()}setStyle(e){this.setSymbolParams({style:e})}interval(){return this._model.mainSeries().interval()}setInterval(e){}symbolSource(){return this}state(e,t){const i=super.state(e,t);return this._model.unitConversionEnabled()||delete i.state.unitId,e&&((0,s.ensureDefined)(i.data).symbols={___snapshot:this.symbolInfo()||void 0}),i}symbolTitle(e,t){return this.title(!0,{},!1,e)}title(e,t,i,s){const r=this._titleInParts(e,t,i,s).join(", ");return te?r.toUpperCase():r}titleInParts(e,t,i,s){const r=this._titleInParts(e,t,i,s).join(", ");return[te?r.toUpperCase():r]}isStarted(){return null===this._seriesSource?super.isStarted():this._seriesSource.isStarted()}sourceId(){return null===this._seriesSource?super.sourceId():(0,s.ensureNotNull)(this._seriesSource.instanceId())}moveData(e){null===this._seriesSource?super.moveData(e):this._seriesSource.moveData(e)}firstValue(){const e=this._model.timeScale().visibleBarsStrictRange();if(null===e)return null;const t=e.firstBar();if(0===this.data().size())return this._ownFirstValue;const i=this.data().search(t,v.PlotRowSearchMode.NearestRight,1);return this._ownFirstValue=null!==i?this._barFunction(i.value):null,this._ownFirstValue}lastValueData(e,t,i){const s={noData:!0},r=this.priceScale();if(this._model.timeScale().isEmpty()||null===r||r.isEmpty()||this.data().isEmpty())return s +;const n=this._model.timeScale().visibleBarsStrictRange();if(null===n)return s;const o=this.properties().childs();if(!o.visible.value())return s;const a=this.nearestIndex(n.lastBar(),v.PlotRowSearchMode.NearestLeft,1);if(void 0===a)return s;const l=this.firstValue();if(null===l)return s;const c=this._lastNonEmptyPlotRow(4),h=null!==c&&n.contains(c.index),d=null!==c?c.value:null,u=t||h?d:this.data().valueAt(a);if(null===u)return s;const p=this._barFunction(u);if(!(0,S.isNumber)(p))return s;const _=r.priceToCoordinate(p,l);let m;switch(o.style.value()){case 0:m=u[1]<=u[4]?o.barStyle.childs().upColor.value():o.barStyle.childs().downColor.value();break;case 1:case 9:m=u[1]<=u[4]?o.candleStyle.childs().upColor.value():o.candleStyle.childs().downColor.value();break;case 13:m=u[1]<=u[4]?o.columnStyle.childs().upColor.value():o.columnStyle.childs().downColor.value();break;case 2:m=o.lineStyle.childs().color.value();break;case 3:m=o.areaStyle.childs().color1.value();break;case 10:{const e=o.baselineStyle.childs();m=_(0,s.ensureNotNull)(this.priceScale()).height(),color:()=>e.baselineColor.value(),baseLevelPercentage:()=>e.baseLevelPercentage.value()});break}}r&&this._paneViews.push(r),null!==i&&this._paneViews.push(i),this._paneViews.push(new B(this)),this._dataWindowView||(this._dataWindowView=new z(this,this._model)),this._legendView||(this._legendView=new G(this,this._model)),this._statusView||(this._statusView=new P.StudyStatusView(this)),this._priceAxisViews=[...this._priceAxisViewsBase],this._labelPaneViews.push(new q.PanePriceAxisView(e,this,this._model))}_createStudyOnServer(){null===this._seriesSource?super._createStudyOnServer():this._modifyStudyOnServer((0,s.ensureDefined)(this._inputs)),this._realignLineToolsIfParamsChanged()}_modifyStudyOnServer(e){null===this._seriesSource?super._modifyStudyOnServer(e):(this._seriesSource.modifySeries((0,u.decodeExtendedSymbol)(e.symbol),(0, +f.getServerInterval)(this._series.properties().childs().interval.value())),this._seriesSource.isStarted()||this._seriesSource.start())}_stopStudyOnServer(){null===this._seriesSource?super._stopStudyOnServer():this._seriesSource.stop()}_titleInParts(e,t,i,s){const r=this.symbolInfo();let n;if(r){if(n=r.name,ie)switch(this._model.mainSeries().symbolTextSourceProxyProperty().value()){case"description":n=r.description;break;case"ticker-and-description":n=`${r.name}, ${r.description}`}const e=!s&&(0,c.getStudySymbolExchange)(r);if(e)return[n,[e]]}else n=re?"":this.properties().childs().inputs.childs().symbol.value();return[n]}_onAllowExtendTimeScaleChanged(){const e=this.isStarted();if(e&&this.stop(!0),se&&this.properties().childs().allowExtendTimeScale.value()){this._seriesSource=new g.SeriesDataSource(this._model.chartApi(),"st_o_");const e=this._seriesSource.dataEvents();e.seriesError().subscribe(this,e=>{this._onStudyError(this._convertSeriesErrorToStudy(e))}),e.loading().subscribe(this,this._onStudyLoading),e.completed().subscribe(this,(e,t)=>{this._onStudyCompleted(t)}),e.dataUpdated().subscribe(this,()=>{this._studyModified=!1;const e=this._model.paneForSource(this);this._model.recalculatePane(e,(0,C.dataSourceChangeEvent)(this.id())),this._updateSources(),this.priceRangeReady()||this._enablePriceRangeReady()})}else{if(null!==this._seriesSource){const e=this._seriesSource.dataEvents();e.seriesError().unsubscribeAll(this),e.loading().unsubscribeAll(this),e.completed().unsubscribeAll(this),e.dataUpdated().unsubscribeAll(this),this._seriesSource.destroy()}this._seriesSource=null}e&&this.start(!0)}_convertSeriesErrorToStudy(e){return{error:e.error,ctx:e.ctx,solution_id:e.solution_id}}_setSymbolParamsInternal(e,t){const{symbol:i,currency:s,unit:r,style:n}=e,o=this.properties().childs(),a=o.inputs.childs().symbol.value(),l=o.currencyId.value(),h=o.unitId.value(),d=o.style.value();if(void 0!==i&&i!==a&&o.inputs.childs().symbol.setValueSilently(i),void 0!==s&&s!==l&&o.currencyId.setValueSilently(s),void 0!==r&&r!==h&&o.unitId.setValueSilently(r),void 0!==n&&o.style.setValueSilently(n),t)this._resolvedSymbolsByInput[this.symbol()]=t,this._resolvedSymbols[this._getSymbolForResolve(this.symbol())]=t,this._realignToolsLastParams=null;else{const e=this.symbolInfo();null!==e&&(o.currencyId.setValueSilently((0,c.symbolCurrency)(e)),o.unitId.setValueSilently((0,c.symbolUnit)(e,this._model.unitConversionEnabled())))}o.inputs.childs().symbol.value()!==a&&o.inputs.childs().symbol.listeners().fire(o.inputs.childs().symbol),o.currencyId.value()!==l&&o.currencyId.listeners().fire(o.currencyId),o.unitId.value()!==h&&o.unitId.listeners().fire(o.unitId),o.style.value()!==d&&o.style.listeners().fire(o.style),this._checkStyle(),this._realignLineToolsIfParamsChanged()}_updateBarFunction(){var e;const t=null!==(e=this.priceSource())&&void 0!==e?e:"close";this._barFunction=(0,l.barFunction)(t)}_onChartStyleChanged(){var e;this._updateBarFunction(), +(null===(e=this._styleToRecover)||void 0===e?void 0:e.originalStyle)!==this.style()&&(this._styleToRecover=null)}_checkStyle(){const e=this.style();(0,c.isCloseBasedSymbol)(this.symbolInfo())?(0,c.isSingleValueBasedStyle)(e)||(this.setStyle(2),this._styleToRecover={correctedStyle:this.style(),originalStyle:e}):null!==this._styleToRecover&&(this.setStyle(this._styleToRecover.originalStyle),this._styleToRecover=null)}_realignLineToolsIfParamsChanged(){const e=this.symbol(),t=this.interval(),i=this.currency(),s=this.unit();null!==this._realignToolsLastParams&&this._realignToolsLastParams.symbol===e&&this._realignToolsLastParams.interval===t&&this._realignToolsLastParams.currency===i&&this._realignToolsLastParams.unit===s||(this._model.realignLineTools(this),this._realignToolsLastParams={symbol:e,interval:t,currency:i,unit:s})}}},41855:(e,t,i)=>{"use strict";i.d(t,{StudyPriceAxisView:()=>r});var s=i(97938);class r extends s.PriceAxisView{constructor(e,t){super(),this._model=e.model(),this._source=e,this._data=t}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._source.model(),r=this._source.priceScale();if(null===r)return;if(!s.isPriceScaleVisible(r))return;const n=this._source.lastValueData(this._data.plotIndex,!1);if(n.noData)return;i.background=n.color;let o=n.color;"transparent"===o&&(o=this._model.properties().childs().scalesProperties.childs().backgroundColor.value()),i.textColor=this.generateTextColor(o),i.coordinate=n.coordinate,i.floatCoordinate=n.floatCoordinate,this._showAxisLabel()&&(e.text=n.text,e.visible=!0),this._updatePaneRendererData(t)}_showPaneLabel(){return!!this._model.properties().childs().scalesProperties.childs().showStudyPlotLabels.value()&&this._source.properties().showLabelsOnPriceScale.value()}_showAxisLabel(){return!!this._model.properties().childs().scalesProperties.childs().showStudyLastValue.value()&&this._source.properties().showLabelsOnPriceScale.value()}_updatePaneRendererData(e){e.text="",this._showPaneLabel()&&(e.text=this._source.priceLabelText(this._data.plotIndex),e.visible=!0)}}},59572:(e,t,i)=>{"use strict";i.d(t,{applyOverridesToStudy:()=>c,applyOverridesToStudyDefaults:()=>h});var s=i(88537),r=i(50993);const n=(0,i(98125).getLogger)("Chart.Model.StudyPropertiesOverrider");var o,a;function l(e,t,i,s){const r=i.split(".");if(0===r.length||0===r[0].length)return;const l=function(e){const t=e.split(":");return{name:t[0],type:2===t.length?t[1]:null}}(r[0]),c=l.name,h=l.type,d=null!==h,u=!d||"band"===h,p=!d||"area"===h,_=!d||"input"===h,m=!d||"plot"===h?a.getPlotIdByTitle(e,c):null,g=u?a.getBandIndexByName(e,c):null,f=p?a.getFilledAreaIdByTitle(e,c):null,v=_?a.getInputByName(e,c):null,S=t.hasOwnProperty(c);if((null!==m?1:0)+(null!==g?1:0)+(null!==f?1:0)+(null!==v?1:0)+(S?1:0)>1)return void n.logWarn(`Study '${e.description}' has ambiguous identifier '${c}'`);const y=r[1];if(null!==m){if(1===r.length)return void n.logWarn(`Path of sub-property of '${c}' plot for study '${e.description}' must be not empty`);const i=r.slice(1);o.applyPlotProperty(e,t,m,i,s) +}else if(null!==v)o.applyInputValue(t,v,s);else if(null!==g){if(void 0===y)return void n.logWarn(`Property name of '${c}' band for study '${e.description}' must be set`);o.applyBandProperty(t,g,y,s)}else if(null!==f){if(void 0===y)return void n.logWarn(`Property name of '${c}' area for study '${e.description}' must be set`);o.applyFilledAreaProperty(t,f,y,s)}else S?o.setRootProperty(t,r,s):n.logWarn(`Study '${e.description}' has no plot or input '${c}'`)}function c(e,t){const i=e.properties(),s=i.state();for(const i in t)t.hasOwnProperty(i)&&l(e.metaInfo(),s,i,t[i]);i.mergeAndFire(s)}function h(e,t,i){for(const s in e){if(!e.hasOwnProperty(s))continue;const r=s.indexOf(".");if(-1===r)continue;const o=s.substring(0,r),c=a.getMetaInfoByDescription(t,o);if(null===c){n.logWarn("There is no such study "+o);continue}const h=i(c);null!==h?l(c,h,s.substring(r+1),e[s]):n.logWarn("Cannot apply overrides for study "+o)}}!function(e){const t={line:r.LineStudyPlotStyle.Line,histogram:r.LineStudyPlotStyle.Histogram,cross:r.LineStudyPlotStyle.Cross,area:r.LineStudyPlotStyle.Area,columns:r.LineStudyPlotStyle.Columns,circles:r.LineStudyPlotStyle.Circles,line_with_breaks:r.LineStudyPlotStyle.LineWithBreaks,area_with_breaks:r.LineStudyPlotStyle.AreaWithBreaks};e.applyPlotProperty=function(e,i,o,a,l){if(void 0===i.styles)return void n.logWarn("Study does not have styles");const c=a[0];if("color"===c){return void function(e,t,i,r,o){if(void 0!==e.styles)if(null===t&&!isNaN(r)&&r>0)n.logWarn("Study plot does not have color #"+r);else{if(0===r||isNaN(r)){(0,s.ensureDefined)(e.styles[i]).color=String(o),r=0}null!==t&&((0,s.ensureDefined)(t.colors[r]).color=String(o))}else n.logWarn("Study does not have styles")}(i,function(e,t,i){if(void 0===e.plots)return null;for(const s of e.plots){if(!(0,r.isColorerPlot)(s)||void 0===t.palettes)continue;const e=t.palettes[s.palette];if(s.target===i&&void 0!==e)return e}return null}(e,i,o),o,a.length>1?parseInt(a[1]):NaN,l)}const h=i.styles[o];if(void 0!==h&&h.hasOwnProperty(c)){if("plottype"===c){const e=t[String(l)];if(void 0===e)return void n.logWarn("Unsupported plot type for plot: "+l);l=e}h[c]=l}else n.logWarn(`Study plot does not have property '${c}'`)},e.applyBandProperty=function(e,i,s,r){if(void 0===e.bands)return void n.logWarn("Study does not have bands");const o=e.bands[i];if(void 0!==o&&o.hasOwnProperty(s)){if("plottype"===s){const e=t[String(r)];if(void 0===e)return void n.logWarn("Unsupported plot type for band: "+r);r=e}o[s]=r}else n.logWarn(`Study band does not have property '${s}'`)},e.applyFilledAreaProperty=function(e,t,i,s){if(void 0===e.filledAreasStyle)return void n.logWarn("Study does not have areas");const r=e.filledAreasStyle[t];void 0!==r&&r.hasOwnProperty(i)?r[i]=s:n.logWarn(`Study area does not have property '${i}'`)},e.applyInputValue=function(e,t,i){void 0!==e.inputs&&e.inputs.hasOwnProperty(t)?e.inputs[t]=i:n.logWarn(`Study does not have input '${t}'`)},e.setRootProperty=function(e,t,i){if(0===t.length)return;let s=e;for(const e of t.slice(0,-1)){ +if(null==s||!s.hasOwnProperty(e))break;s=s[e]}const r=t[t.length-1];null!=s&&s.hasOwnProperty(r)?s[r]=i:n.logWarn("Study does not have property "+t.join("."))}}(o||(o={})),function(e){e.getInputByName=function(e,t){if(void 0===e.inputs)return null;t=t.toLowerCase();for(const i of e.inputs)if(i.name.toLowerCase()===t)return i.id;return null},e.getPlotIdByTitle=function(e,t){if(void 0===e.styles)return null;t=t.toLowerCase();for(const i in e.styles){const s=e.styles[i];if((void 0!==s&&void 0!==s.title?s.title:i).toLowerCase()===t)return i}return null},e.getFilledAreaIdByTitle=function(e,t){if(void 0===e.filledAreas)return null;t=t.toLowerCase();for(const i of e.filledAreas)if(i.title.toLowerCase()===t)return i.id;return null},e.getBandIndexByName=function(e,t){if(void 0===e.bands)return null;t=t.toLowerCase();for(let i=0;i{"use strict";var s=i(2015),r=i(2872),n=i(88537).assert,o=i(37667).symbolTitle,a=i(33981).StudyBarColorer,l=i(41855).StudyPriceAxisView,c=i(54376).createGraphicsPriceAxisViews,h=i(84801).ChartApiInterface,d=i(88564).DefaultProperty,u=i(97098).PriceFormatter,p=i(71053).PlotList,_=i(67072),m=i(76422),g=i(50993),f=g.LineStudyPlotStyle,v=i(55057).StudyPriceLineAxisView,S=i(8671).studyPlotFunctionMap,y=i(8671).studyEmptyPlotValuePredicate,b=i(72857).makeNextStudyId,w=i(67337),C=i(69774).StudyBase,P=i(13933);const{dataSourceChangeEvent:T}=i(33291);var x=i(20838).IntervalsVisibilitiesProperty,I=P.StudyStatusType,M=i(68906).colorToInteger,L=i(52418).intervalsVisibilitiesDefaults,A=i(98125).getLogger("Chart.Study"),E=w.enabled("datasource_copypaste"),k=w.enabled("study_symbol_ticker_description"),D=w.enabled("hide_unresolved_symbols_in_legend");function V(e,t,i){var s=new d(t,i,!0);s.removeProperty("intervalsVisibilities"),s.addChild("intervalsVisibilities",new x(i&&i.intervalsVisibilities)),s.addExclusion("visible"),s.addExclusion("precision"),s.addExclusion("minTick"),s.addExclusion("intervalsVisibilities");for(var r=0;r=0?c:l}return l}if(this._metaInfo.isTVScript||this._metaInfo.pine){if("text"===i)return this._metaInfo.defaults.inputs.text;if("pineId"===i)return this._metaInfo.scriptIdPart;if("pineVersion"===i)return this._metaInfo.pine?this._metaInfo.pine.version:"-1";if("color"===e.type&&this._metaInfo.isRGB){var h=this._properties.inputs[i].value();return M(h)}if("price"===e.type){var d=this._properties.inputs[i].value();return t.priceInputsForDisplay?this.formatter().format(d):d}return this._properties.inputs[i].value()}return this._properties.inputs[i].value()}_rebindToSource(e,t){var i=this.parentSource();if(this._isChildStudy){var s;this._source.unsetChild(this);var r=null;if(e===this._model.mainSeries())this._source=null,this._isChildStudy=!1,this._ownerSource=null,s=this._series.seriesSource().instanceId(),r=h.REBIND_STUDY_CHILD_TO_STANDALONE;else{if(!(e instanceof R))return A.logError("Unable to rebind study to source of this type"),!1;this._ownerSource=e,this._source=e,s=this._source.sourceId(),this._source.setChild(this),this._source.isHibernated()&&this._source.start()}this._incrementTurnaround(),this.disablePriceRangeReady(),this._chartApi.rebindStudy(this._studyId,this._turnaround,s,this._studyName,t,this._handler,r)}else{if(!(e instanceof R))return A.logError("Unable to rebind study to source of this type"),!1;var n=e.isHibernated();n&&e.start();var o=!1;if(this._canCreateStudyWithRebindType(h.REBIND_STUDY_STANDALONE_TO_CHILD)&&(this._incrementTurnaround(),this.disablePriceRangeReady(),o=this._chartApi.rebindStudy(this._studyId,this._turnaround,e.sourceId(),this._studyName,t,this._handler,h.REBIND_STUDY_STANDALONE_TO_CHILD)),!o)return n&&e.stop(),!1;this._isChildStudy=!0,this._ownerSource=e,this._source=e,this._source.setChild(this),this._childStudyByRebind.fire()}var a=this.m_priceScale,l=e.priceScale();if(a!==l){var c=this._model.paneForSource(this),d=this._model.paneForSource(e);c===d&&d.move(this,l,!0)}const u=this.parentSource();return i.formatterChanged().unsubscribe(this,this._onSourceFormatterChanged),u.formatterChanged().subscribe(this,this._onSourceFormatterChanged),i.priceStepChanged().unsubscribe(this,this._onSourcePriceStepChanged),u.priceStepChanged().subscribe(this,this._onSourcePriceStepChanged),i.currencyChanged().unsubscribeAll(this),u.currencyChanged().subscribe(this,this._onSourceCurrencyChanged),i.unitChanged().unsubscribeAll(this),u.unitChanged().subscribe(this,this._onSourceUnitChanged),i.priceRangeReadyChanged().unsubscribeAll(this),u.priceRangeReadyChanged().subscribe(this,this._onSourcePriceRangeReadyChanged),this._recreatePriceFormattingDependencies(),!0}childStudyByRebind(){return this._childStudyByRebind} +_changeInputsImpl(e,t){var i=this.source(),s=this._properties.inputs&&this._properties.inputs.state(),r=_.getSourceIdByInputs(this._metaInfo.inputs,s),n=!0;if(r)if("high"===r||"open"===r||"low"===r||"close"===r||"hl2"===r||"ohl3"===r||"ohlc4"===r)i=this._model.mainSeries();else for(var o=this._model.dataSources().filter((function(e){return e instanceof R&&e.canHaveChildren()})),a=0;a=0&&(e="_v"+this._metaInfo.pine.version),{symbol:this.series().actualSymbol(),resolution:this.series().interval(),study:this._metaInfo.shortId+e}}_sendTelemetryReport(e,t,i){void 0===i&&(i=this._getTelemetryAdditionalData());var s=Object.assign(t,{additional:i});(void 0).sendChartReport(e,s)}_sendTelemetryCounter(e,t){this._sendTelemetryReport(e,{count:1},t)}onAboutToBeDestroyed(){return this._aboutToBeDestroyed}destroy(){this._aboutToBeDestroyed.fire(),this._isDestroyed=!0,null!==this._definitionsViewModel&&(this._definitionsViewModel.destroy(),this._definitionsViewModel=null),this._properties.precision.listeners().unsubscribe(this,this._precisionChanged),this._showStudyArgumentsProperty.listeners().unsubscribe(this,this.invalidateTitleCache),this._properties.description.listeners().unsubscribe(this,this.invalidateTitleCache),this._properties.shortDescription&&this._properties.shortDescription.listeners().unsubscribe(this,this.invalidateTitleCache),this._model.mainSeries().dataEvents().symbolResolved().unsubscribeAll(this), +this.hasBarColorer()&&this._properties.visible.listeners().unsubscribe(this._model.mainSeries(),this._model.mainSeries().invalidateBarStylesCache),this._model.mainSeries().dataEvents().symbolResolved().unsubscribe(this,this._recreatePriceFormattingDependencies),void 0!==this._properties.offsets&&this._properties.offsets.listeners().unsubscribe(this,this._updateMaxOffsetValue),void 0!==this._properties.offset&&this._properties.offset.listeners().unsubscribe(this,this._updateMaxOffsetValue),super.destroy()}desiredPriceScalePosition(){return this.metaInfo().isTVScriptStub?"overlay":this.metaInfo().linkedToSeries?"as-series":void 0===this.metaInfo().priceScale?null:["right","left","overlay"][this.metaInfo().priceScale]}guiPlotName(e){var t=this.properties().styles;return t&&t[e]&&t[e].title?t[e].title.value():this.title()}formatterChanged(){return this._formatterChanged}copiable(){return E&&!this.isChildStudy()}setPriceScale(e){super.setPriceScale(e),m.emit("study_event",this.id(),"price_scale_changed")}getStudyName(){return this._studyName}}TradingView.Study=R,t.Study=R,t.prepareStudyProperties=function(e,t,r,o,a){return function(e,t,r,o,a,l){var c=function(e,t,r,o){var a=i(31752);if(_.versionOf(e)<1)throw new Error("This function cannot work with metainfo of the old format version. Required format version >= 1");var l=TradingView.clone(defaults("study"));B(l,e);var c=_.getStudyPropertyRootName(e),h=TradingView.clone(defaults(c,o));h.intervalsVisibilities=TradingView.clone(L),("Overlay"===e.shortId||"Compare"===e.shortId)&&(h.currencyId=null,h.unitId=null);e.isTVScript&&e.TVScriptSourceCode!==h.TVScriptSourceCode&&(h=TradingView.clone(TradingView.factoryDefaults(c,o)));TradingView.merge(l,h),t&&(n(!(t instanceof s),"propsState should not be an instance of Property"),TradingView.merge(l,t));var d=TradingView.clone(e),u={};a.mergeInputsObjPart(u,d.defaults.inputs),a.mergeInputsObjPart(u,l.inputs),l.inputs=u,delete d.inputs,delete d.defaults.inputs;var p={};if(TradingView.merge(p,d.defaults),TradingView.merge(p,TradingView.factoryDefaults(c)),TradingView.merge(p,l),TradingView.merge(p,d),delete p.defaults,l=p,null!==r){var m=r.model().studiesColorRotatorFactory().getColorRotator(e);null!==m&&("Overlay@tv-basicstudies"===e.id?l.lineStyle.color=m.getColor(l.lineStyle.color,e):TradingView.merge(l,function(e,t){for(var i in e.styles){var s=e.styles[i].color;s&&(e.styles[i].color=t.getColor(s))}return e}(l,m)))}t&&TradingView.merge(l.styles,t.styles);return l}(e,t,r,o),h=_.getSourceInputIds(e);if(h.length>0){var d=h[0];l instanceof R?c.inputs[d]="{pid}$0":void 0!==c.inputs[d]&&-1!==c.inputs[d].indexOf("$")&&(c.inputs[d]="close")}return V(e,a,c)}(e,t,r,o,_.getStudyPropertyRootName(e),a)},t.prepareStudyPropertiesForLoadChart=function(e,t,s,r,n,o){return function(e,t,s,r,n,o,a){var l=function(e,t,s,r,n,o){var a=i(31752);e.version&&s.version&&e.version!==s.version&&A.logWarn("Serialized metaInfo version "+e.version+" is not equal to the saved state version "+s.version);var l=TradingView.clone(defaults("study")) +;l.intervalsVisibilities=TradingView.clone(L),TradingView.merge(l,TradingView.factoryDefaults(_.getStudyPropertyRootName(e))),B(l,e),TradingView.merge(l,s),l=n.updateStudyState(l,e,t),void 0!==o&&(l=o(s,l,e,t));var c=TradingView.clone(t||e);if(c&&_.versionOf(c)>=1){var h={};a.mergeInputsObjPart(h,(c.defaults||{}).inputs),a.mergeInputsObjPart(h,l.inputs),l.inputs=h,delete c.inputs,c.defaults&&delete c.defaults.inputs;var d={};TradingView.merge(d,c.defaults),TradingView.merge(d,TradingView.factoryDefaults(_.getStudyPropertyRootName(c))),TradingView.merge(d,l),delete c.defaults,TradingView.merge(d,c),l=d}return l}(e,t,s,0,n,a);return V(t||e,o,l)}(e,t,s,0,n,_.getStudyPropertyRootName(e),o)}},56138:(e,t,i)=>{"use strict";i.d(t,{plotShapesData:()=>r});var s=i(28353);const r={shape_arrow_down:{guiName:(0,s.t)("Arrow Down"),id:"shape_arrow_down",paneRendererClass:"PaneRendererArrowDown",pineName:"shape.arrowdown",icon:"arrow_down"},shape_arrow_up:{guiName:(0,s.t)("Arrow Up"),id:"shape_arrow_up",paneRendererClass:"PaneRendererArrowUp",pineName:"shape.arrowup",icon:"arrow_up"},shape_circle:{guiName:(0,s.t)("Circle"),id:"shape_circle",paneRendererClass:"PaneRendererCircleShape",pineName:"shape.circle",icon:"circle"},shape_cross:{guiName:(0,s.t)("Cross"),id:"shape_cross",paneRendererClass:"PaneRendererCrossShape",pineName:"shape.cross",icon:"cross"},shape_diamond:{guiName:(0,s.t)("Diamond"),id:"shape_diamond",paneRendererClass:"PaneRendererDiamond",pineName:"shape.diamond",icon:"diamond"},shape_flag:{guiName:(0,s.t)("Flag"),id:"shape_flag",paneRendererClass:"PaneRendererFlagShape",pineName:"shape.flag",icon:"flag"},shape_label_down:{guiName:(0,s.t)("Label Down"),id:"shape_label_down",paneRendererClass:"PaneRendererLabelDown",pineName:"shape.labeldown",icon:"label_down"},shape_label_up:{guiName:(0,s.t)("Label Up"),id:"shape_label_up",paneRendererClass:"PaneRendererLabelUp",pineName:"shape.labelup",icon:"label_up"},shape_square:{guiName:(0,s.t)("Square"),id:"shape_square",paneRendererClass:"PaneRendererSquare",pineName:"shape.square",icon:"square"},shape_triangle_down:{guiName:(0,s.t)("Triangle Down"),id:"shape_triangle_down",paneRendererClass:"PaneRendererTriangleApexDown",pineName:"shape.triangledown",icon:"triangle_down"},shape_triangle_up:{guiName:(0,s.t)("Triangle Up"),id:"shape_triangle_up",paneRendererClass:"PaneRendererTriangleApexUp",pineName:"shape.triangleup",icon:"triangle_up"},shape_xcross:{guiName:(0,s.t)("X Cross"),id:"shape_xcross",paneRendererClass:"PaneRendererXCross",pineName:"shape.xcross",icon:"x_cross"}}},27306:(e,t,i)=>{"use strict";var s=i(15625).Version,r=i(98125).getLogger("Chart.StudyMigration");function n(e){this._studyId=e,this._maxToVers=s.ZERO,this._maxFromVers=s.ZERO,this._migrs=[]}n.prototype.addMigration=function(e,t,i){var r=s.parse(e),n=s.parse(t);r.isGreater(this._maxFromVers)&&(this._maxFromVers=r),n.isGreater(this._maxToVers)&&(this._maxToVers=n),this._migrs.push({fromVers:r,toVers:n,rules:i})},n.prototype.updateInputs=function(e,t,i){if(!i)return i +;for(var s=TradingView.clone(i),n=e;n.isLess(t);){var o=this._findMigration(n);if(null==o)break;if(r.logNormal("Migrating study inputs from "+o.fromVers+" to "+o.toVers+" version, studyId: "+this._studyId+", migration: "+JSON.stringify(o)+", inputs: "+JSON.stringify(i)),s=this._applyMigration(s,o),!n.isLess(o.toVers))throw new Error("Problems in study migration process... Possible infinite cycle has been detected and stopped.");n=o.toVers}return n>e&&r.logNormal("Study inputs migration is done, studyId: "+this._studyId+", inputs: "+JSON.stringify(s)),s},n.prototype._findMigration=function(e){for(var t=-1,i=this._maxFromVers,s=0;s=0||t.indexOf(e)>=0},n._applyInputChangedMinMaxRule=function(e,t){if("adjustValIfNeeded"!==t.action)throw new Error("Unknown action "+t.action+" for rule with type "+t.type);var i=e[t.inputId];return it.maxVal&&(e[t.inputId]=t.maxVal),r.logNormal("Input "+t.inputId+"="+i+" adjusted to value "+e[t.inputId]),e},n._applyInputChangedOptionsRule=function(e,t){if(!(["text"].indexOf(t.inputType)>=0&&"resetToDefValIfNeeded"===t.action))throw new Error("Unexpected rule.inputType="+t.inputType+" in rule.action="+t.action);var i=e[t.inputId];return t.options.indexOf(i)<0&&(e[t.inputId]=t.defVal,r.logNormal("Input "+t.inputId+"="+i+" reset to default value "+t.defVal)),e},e.exports=n}, +9771:(e,t,i)=>{"use strict";var s=i(66101).Study,r=i(52457).OverlayLegendValuesProvider,n=i(79284).OverlayStatusProvider,o=i(33981).SeriesBarColorer,a=i(82927).StudyOverlayBase;t.study_Overlay=class extends a{constructor(e,t,i,s){super(e,t,i,s),this._paneView=null;var r=this;this.properties().minTick.listeners().subscribe(null,(function(){r._recreatePriceFormattingDependencies(),r.updateAllViews(),r._model.fullUpdate()}))}_showLastValueOnPriceScale(){return this._model.properties().scalesProperties.showSeriesLastValue.value()}barColorer(){return new o(this)}_tryChangeInputs(){s.prototype._tryChangeInputs.call(this),this.m_formatter=null,this.priceScale().updateFormatter()}_onQuotesUpdate(e,t){!this._legendView||void 0===t.values.change&&void 0===t.values.change_percent||(this._legendView.update(),this._model.updateSource(this))}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.destroy(),super.destroy()}tags(){var e=[],t=this.symbolInfo();return t?e.push(t.name):this._properties.inputs.symbol.value()&&e.push(this._properties.inputs.symbol.value()),e}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(7387),i.e(8623),i.e(607)]).then(i.bind(i,55976))).StudyOverlayDefinitionsViewModel}defaultPlotIdForAlert(){return""}changeStyles(){this.data().each((function(e,t){t[TradingView.STYLE_PLOT]=null})),s.prototype.changeStyles.call(this)}valuesProvider(){return new r(this,this.model())}statusProvider(e){return new n(this,this.model())}}},67509:(e,t,i)=>{"use strict";var s=i(88537).assert,r=i(80643).clone,n=i(66101).Study,o=i(71053).PlotList,a=i(8671).studyPlotFunctionMap,l=i(8671).studyEmptyPlotValuePredicate;class c{constructor(e,t,i){this._strategyPlotIndex=e,this._targetPlotIndex=t,this._startIndex=i}rebuildData(e){var t=this._targetPlotIndex+1,i=this._strategyPlotIndex+1,s=null,r=null;e.range(this._startIndex||e.firstIndex(),e.lastIndex()).each((function(n,o){var a=o[t],l=o[i]?Math.round(o[i]):null;if(o[t]=null,o[i]=null,!l||l>0)return!1;var c=n+l,h={pointIndex:c,value:a};if(r){if(r.pointIndex!==h.pointIndex){c>=0&&(e.valueAt(c)[t]=a);var d=!1;s&&(d=s.value<=r.value&&r.value<=a||s.value>=r.value&&r.value>=a),d?r.pointIndex>=0&&(e.valueAt(r.pointIndex)[t]=null):s=r,r=h}}else r=h;return!1}))}}t.study_ScriptWithDataOffset=class extends n{constructor(e,t,i,s){super(e,t,i,s),this._underlyingData=new o(a(s),l)}clearData(){super.clearData(),this._underlyingData.clear()}_mergeData(e){this._invalidateLastNonEmptyPlotRowCache();var t=this._underlyingData.firstIndex();this._underlyingData.merge(e),t!==this._underlyingData.firstIndex()&&(this.m_data=new o(a(this._metaInfo),l));var i=this.m_data.lastIndex();this._underlyingData.range(i,this._underlyingData.lastIndex()).each(function(e,t){return this.m_data.add(e,r(t)),!1}.bind(this)),this._plotsForStrategyProcessing().forEach((function(e){new c(e.strategyIndex,e.targetIndex,i).rebuildData(this.m_data)}),this)}_plotsForStrategyProcessing(){var e=[];return this._metaInfo.plots.forEach((function(t,i){ +if("dataoffset"===t.type){var r=this._metaInfo.plots.findIndex((function(e){return e.id===t.target}));s(r>=0,"target plot not found for strategy plot "+t.id);var n={strategyIndex:i,targetIndex:r};e.push(n)}}),this),e}}},31752:(e,t,i)=>{"use strict";var s=i(88537).assert,r=i(15625).Version,n=i(98125).getLogger("Chart.Study.Versioning"),o=i(76861),a=i(67072),l=i(14905).extractPineId,c=i(5402).migrateMetaInfoAndPropState;function h(e,t){if(!e)throw new Error("No studies metainfo");var s=i(27306);if(this._studiesMetainfo=e,!t)throw new Error("No studies migrations");this._studiesMigrations=t,this._migrations={};for(var r=0;r=22)return t;for(var i={},s=0,r=0;;){var n=t[r];if(void 0===n)break;var o=t[n.id];n.isFake&&(n.id="in_"+s++),i[r]=n,i[n.id]=o,r++}return i}]}h.prototype.updateMetaInfo=function(e){if(!e)return e;s(!e.isTVScript,"This method should update only built-in java indicators metaInfo. For Pine indicators use updateMetaInfoAsync");for(var t=null,i=this._studiesMetainfo,r=0;r=12&&l<=26){var c={};for(o=0;o=12&&c<=26){var d=r.columns;r.columns=[];for(var u=0;ut&&n.logWarn("Bad integer input max value in metaInfo id="+e.id+" title="+e.description))}},h._fixInputsMaxValue=function(e,t){if(!TradingView.isAbsent(t)){var i=h.INPUT_MAX_VALUE;if(t.inputs)for(var s=0;si&&(a.max=i))}if(e&&e.inputs){var r=h.splitInputs(e.inputs),n=r.arr;for(var o in n){var a;"integer"===(a=n[o]).type&&(a.max&&a.max>i&&(a.max=i))}e.inputs=TradingView.merge(r.obj,r.arr)}}},h.prototype.patchPropsStateAndMetaInfo=function(e,t,i){"Script$BOOKER"!==t.productId||t.alerts||delete e.alerts,h._fixInputsOrder(e,t),h._fixInputsMaxValue(e,t);var s=h.splitInputs(e.inputs);e.inputs=s.obj;var r=a.versionOf(t);ri&&(i=r))}e[i+1]=t},h.splitInputs=function(e){var t={},i={};for(var s in e)isNumber(parseInt(s,10))?t[s]=e[s]:i[s]=e[s];return{arr:t,obj:i}},h.findInputKeyById=function(e,t){var i=null;for(var s in e)if(isNumber(parseInt(s,10))&&e[s].id===t){i=s;break}return i},h.getInputKeyById=function(e,t){var i=h.findInputKeyById(e,t);if(!i)throw new Error("Cannot find input with id: "+t);return i},e.exports=h},14791:(e,t,i)=>{"use strict";i.d(t,{areEqualSymbols:()=>r,symbolSameAsCurrent:()=>o});const s=i(67337).enabled("uppercase_instrument_names");function r(e,t){return void 0===e?void 0===t:void 0!==t&&(s?e.toUpperCase()===t.toUpperCase():e===t)}function n(e,t){return e.some(e=>r(t,e))}function o(e,t,i){if(r(t,e))return!0;if(i){if(r(i.full_name,e)||r(i.pro_name,e))return!0;if(r(i.ticker,e))return!0;if(i.aliases&&n(i.aliases,e))return!0;if(i.alternatives&&n(i.alternatives,e))return!0;if(0===e.indexOf("FRA:")&&r(i.pro_name,e.replace("FRA:","FWB:")))return!0}return!1}},76818:(e,t,i)=>{"use strict";i.d(t,{TextWidthCache:()=>s});class s{constructor(e=150){this._actualSize=0,this._usageTick=1,this._oldestTick=1,this._tick2Labels=new Map,this._cache=new Map,this._maxSize=e}reset(){this._actualSize=0,this._cache.clear(),this._usageTick=1,this._oldestTick=1,this._tick2Labels.clear()}measureText(e,t){return this.getMetrics(e,t).width}yMidCorrection(e,t){ +const i=this.getMetrics(e,t);return"actualBoundingBoxAscent"in i&&"actualBoundingBoxDescent"in i?(i.actualBoundingBoxAscent-i.actualBoundingBoxDescent)/2:0}getMetrics(e,t){const i=this._cache.get(t);if(void 0!==i)return i.metrics;if(this._actualSize===this._maxSize){const e=this._tick2Labels.get(this._oldestTick);this._tick2Labels.delete(this._oldestTick),this._cache.delete(e),this._oldestTick++,this._actualSize--}e.save(),e.textBaseline="middle";const s=e.measureText(t);return e.restore(),0===s.width&&t.length||(this._cache.set(t,{metrics:s,tick:this._usageTick}),this._tick2Labels.set(this._usageTick,t),this._actualSize++,this._usageTick++),s}}},5231:(e,t,i)=>{"use strict";var s=i(2872);function r(){this._marksByIndex=new Map,this._marksBySpan=[],this.changed=new s,this.minIndex=void 0,this.maxIndex=void 0}r.prototype.reset=function(){this._resetImpl(),this.changed.fire()},r.prototype._resetImpl=function(){this._marksByIndex=new Map,this._marksBySpan=[],this.minIndex=void 0,this.maxIndex=void 0,this._cache=void 0},r.prototype.merge=function(e){if(0!==e.length){var t=e[0].index,i=e[e.length-1].index;t<=this.minIndex&&i>=this.maxIndex&&this._resetImpl();for(var s=this._marksBySpan,r=new Set,n=0;n=this.maxIndex&&this.maxIndex--,this.maxIndex2;){if(1e3*this._marksByIndex.get(t).time===e)return t;if(1e3*this._marksByIndex.get(i).time===e)return i;var s=Math.round((t+i)/2);1e3*this._marksByIndex.get(s).time>e?i=s:t=s}return t},r.prototype.build=function(e,t){var i=Math.ceil(t/e);if(this._maxbar===i&&this._cache)return this._cache;this._maxbar=i;for(var s=[],r=this._marksBySpan.length;r--;)if(this._marksBySpan[r]){var n=s;s=[];for(var o=n.length,a=0,l=this._marksBySpan[r],c=l.length,h=1/0,d=-1/0,u=0;u=i&&_-d>=i&&(s.push(p),d=_)}for(;a{"use strict";i.d(t,{TimeAxisView:()=>o});var s=i(68906),r=i(93435);class n{constructor(){this._data=null}setData(e){this._data=e}draw(e,t,i){if(null===this._data||!this._data.visible||0===this._data.text.length)return;const s=this._data;e.font=t.font;const n=Math.round(t.widthCache.measureText(e,s.text));if(n<=0)return;e.save();const o=t.paddingHorizontal,a=n+2*o,l=a/2;let c=s.coordinate,h=Math.floor(c-l)+.5;if(s.alwaysInViewPort){const e=s.width;h<0?(c+=Math.abs(0-h),h=Math.floor(c-l)+.5):h+a>e&&(c-=Math.abs(e-(h+a)),h=Math.floor(c-l)+.5)}const d=h+a,u=Math.ceil(0+t.borderSize+t.offsetSize+t.paddingTop+t.fontSize+t.paddingBottom);e.fillStyle=s.background;const p=Math.round(h*i),_=Math.round(0*i),m=Math.round(d*i),g=Math.round(u*i),f=Math.round(2*i);e.beginPath(),e.moveTo(p,_),e.lineTo(p,g-f),e.arcTo(p,g,p+f,g,f),e.lineTo(m-f,g),e.arcTo(m,g,m,g-f,f),e.lineTo(m,_),e.fill();const v=0+t.borderSize+t.offsetSize+t.paddingTop+t.fontSize/2;e.textAlign="left",e.textBaseline="middle",e.fillStyle=s.color;const S=t.widthCache.yMidCorrection(e,"Apr0");e.translate((h+o)*i,(v+S)*i),(0,r.drawScaled)(e,i,()=>e.fillText(s.text,0,0)),e.restore()}}class o{constructor(e){this._renderer=new n,this._rendererData={background:"",color:"",coordinate:0,text:"",visible:!1,width:0,alwaysInViewPort:!0},this._invalidated=!0,this._model=e,this._renderer.setData(this._rendererData)}update(){this._invalidated=!0}renderer(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._renderer}coordinate(){return this._rendererData.coordinate}_getAlwaysInViewPort(){return!0}_updateImpl(){const e=this._rendererData;if(e.visible=!1,this._model.timeScale().isEmpty()||!this._isVisible())return;const t=this._getIndex();if(null===t)return;e.visible=!0,e.width=this._model.timeScale().width(),e.background=this._getBgColor(), +e.color=(0,s.colorFromBackground)(e.background),e.coordinate=this._model.timeScale().indexToCoordinate(t),e.alwaysInViewPort=this._getAlwaysInViewPort();const i=this._model.timeScale().indexToUserTime(t);e.text=null!==i?this._model.dateTimeFormatter().format(i):"",this._invalidated=!1}}},2271:(e,t,i)=>{"use strict";i.d(t,{INVALID_TIME_POINT_INDEX:()=>s});const s=-2e6},5816:(e,t,i)=>{"use strict";i.r(t),i.d(t,{MINUTE_SPAN:()=>s,HOUR_SPAN:()=>r,DAY_SPAN:()=>n,WEEK_SPAN:()=>o,MONTH_SPAN:()=>a,YEAR_SPAN:()=>l,DEFAULT_BAR_SPACING:()=>c});const s=20,r=30,n=40,o=50,a=60,l=70,c=6},23075:(e,t,i)=>{"use strict";i.d(t,{trackDrawingCreated:()=>r,trackDrawingPasted:()=>n,trackDrawingCloned:()=>o,trackChartStyleChanged:()=>a});i(88537),i(16654);function s(e,t){0}function r(e){s()}function n(e){s()}function o(e){s()}function a(e){0}},35218:(e,t,i)=>{"use strict";i.d(t,{translatedIntervalString:()=>r});i(28353);var s=i(9315);function r(e){const t=(0,s.getTranslatedResolutionModel)(e,!0);return null===t?e:t.multiplier+(t.mayOmitShortKind?"":t.shortKind)}},17691:(e,t,i)=>{"use strict";i.d(t,{ApplyLineToolTemplateUndoCommand:()=>r});var s=i(35762);class r extends s.UndoCommand{constructor(e,t,i){super(i),this._source=e,this._newState=t,this._oldState=e.properties().state()}redo(){this._source.applyTemplate(this._newState)}undo(){this._source.applyTemplate(this._oldState)}}},79495:(e,t,i)=>{"use strict";i.d(t,{ExcludeLineToolsFromGroupUndoCommand:()=>l});var s=i(88537),r=(i(94419),i(28353)),n=i(24980),o=i(35762);const a=new n.TranslatedString("exclude line tools from group {group}",(0,r.t)("exclude line tools from group {group}"));class l extends o.UndoCommand{constructor(e,t,i){super(a.format({group:t.name()})),this._model=e,this._groupId=t.id,this._groupName=t.name(),this._lineToolsIds=i.map(e=>e.id())}redo(){const e=(0,s.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId)),t=this._lineToolsIds.map(e=>this._model.dataSourceForId(e));e.excludeLineTools(t),0===e.lineTools().length&&this._model.lineToolsGroupModel().removeGroup(e)}undo(){const e=this._lineToolsIds.map(e=>this._model.dataSourceForId(e)),t=this._model.lineToolsGroupModel().groupForId(this._groupId);null!==t?t.addLineTools(e):this._model.lineToolsGroupModel().createGroup(e,this._groupName,this._groupId)}}},8597:(e,t,i)=>{"use strict";i.d(t,{MergeUpUndoCommand:()=>o,MergeDownUndoCommand:()=>a,MergeToTargetPane:()=>l});var s=i(88537),r=i(21749);class n extends r.MoveSourceUndoCommand{constructor(e,t,i){super(e,t,i),this._restorePane=!1}redo(){const e=this._chartModel.panes().length,t=this._chartModel.panes()[this._targetPaneIndex()],i=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),r=(0,s.ensureNotNull)(this._chartModel.paneForSource(i)),n=this._chartModel.children(i,!0);r.bulkActionMacro(()=>{n.forEach(e=>this._chartModel.detachSource(e)),this._restorePane=this._chartModel.detachSource(i)}) +;const o="overlay"===this._initialPriceScalePosition?this._initialPriceScalePosition:void 0,a=t.findSuitableScale(i,void 0,o),l=0===a.dataSources().length;if(t.bulkActionMacro(()=>{t.addDataSource(i,a,!1),n.forEach(e=>t.addDataSource(e,a,!1))}),i===this._chartModel.mainSeries()){const e=t.priceScalePosition(a);t.movePriceScale(a,e,0)}if(l){(0,s.ensureNotNull)(i.priceScale()).restoreState(this._newPriceScaleState(t.isOverlay(i)))}this._chartModel.fullUpdate(),e!==this._chartModel.panes().length&&this._chartModel.setShouldBeSavedEvenIfHidden(!0)}undo(){let e;e=this._restorePane?this._chartModel.createPane(this._initialPaneIndex):this._chartModel.panes()[this._initialPaneIndex];const t=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),i=(0,s.ensureNotNull)(this._chartModel.paneForSource(t)),r=this._chartModel.children(t,!0);i.bulkActionMacro(()=>{r.forEach(e=>this._chartModel.detachSource(e)),this._chartModel.detachSource(t)});let n=e.getPriceScaleById(this._initialPriceScaleId);null===n&&(n=e.createPriceScaleAtPosition(this._initialPriceScalePosition,this._initialPriceScaleIndex)),e.bulkActionMacro(()=>{e.addDataSource(t,n,!0),r.forEach(t=>e.addDataSource(t,n,!1))}),(0,s.ensureNotNull)(t.priceScale()).restoreState(this._originalPriceScaleState()),this._chartModel.fullUpdate()}}class o extends n{constructor(e,t,i){super(e,t,i)}_targetPaneIndex(){return this._initialPaneIndex-1}}class a extends n{constructor(e,t,i){super(e,t,i)}_targetPaneIndex(){return this._initialPaneIndex+1}}class l extends n{constructor(e,t,i,s){super(e,t,s),this._targetPane=i}_targetPaneIndex(){return this._targetPane}}},21749:(e,t,i)=>{"use strict";i.d(t,{MoveSourceUndoCommand:()=>n});var s=i(88537),r=i(35762);class n extends r.UndoCommand{constructor(e,t,i){super(i),this._chartModel=e,this._sourceId=t.id();const r=(0,s.ensureNotNull)(t.priceScale());this._initialPriceScaleId=r.id(),this._initialPriceScaleState=(0,s.ensureNotNull)(t.priceScale()).state();const n=(0,s.ensureNotNull)(e.paneForSource(t));this._initialPriceScalePosition=n.priceScalePosition(r),this._initialPriceScaleIndex=n.priceScaleIndex(r,this._initialPriceScalePosition),this._initialPaneIndex=e.panes().indexOf(n)}_newPriceScaleState(e){const t={...this._initialPriceScaleState};return delete t.m_isLockScale,delete t.id,delete t.m_topMargin,delete t.m_bottomMargin,t}_originalPriceScaleState(){return this._initialPriceScaleState}}},27579:(e,t,i)=>{"use strict";i.d(t,{MoveToNewPriceScaleUndoCommand:()=>o,MoveToExistingPriceScaleUndoCommand:()=>a});var s=i(88537),r=i(21749);class n extends r.MoveSourceUndoCommand{constructor(e,t,i,s){super(e,t,s),this._sourcePaneRemoved=!1,this._targetPaneIndex=e.panes().indexOf(i)}redo(){const e=this._chartModel.panes()[this._initialPaneIndex],t=this._chartModel.panes()[this._targetPaneIndex],i=e!==t,r=this._targetPriceScale(t),n=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),o=this._chartModel.children(n,!0);for(const e of o)i?(this._chartModel.detachSource(e),t.addDataSource(e,r,!1)):t.move(e,r) +;i?(this._sourcePaneRemoved=this._chartModel.detachSource(n),t.addDataSource(n,r,!1)):t.move(n,r);const a=t.priceScalePosition(r);t.movePriceScale(r,a,this._targetPriceScaleIndex(n)),this._chartModel.fullUpdate()}undo(){this._sourcePaneRemoved&&this._chartModel.createPane(this._initialPaneIndex);const e=this._chartModel.panes()[this._initialPaneIndex],t=e!==this._chartModel.panes()[this._targetPaneIndex],i=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId));let r=e.getPriceScaleById(this._initialPriceScaleId);null===r&&(r=e.createPriceScaleAtPosition(this._initialPriceScalePosition,this._initialPriceScaleIndex));const n=this._chartModel.children(i,!0);for(const i of n)t?(this._chartModel.detachSource(i),e.addDataSource(i,r,!1)):e.move(i,r);t?(this._chartModel.detachSource(i),e.addDataSource(i,r,!1)):e.move(i,r),(0,s.ensureNotNull)(i.priceScale()).restoreState(this._originalPriceScaleState()),this._chartModel.fullUpdate()}}class o extends n{constructor(e,t,i,s,r){super(e,t,i,r),this._targetPriceScalePosition=s}_targetPriceScale(e){const t=e.createPriceScaleAtPosition(this._targetPriceScalePosition);return t.restoreState(this._newPriceScaleState("overlay"===this._targetPriceScalePosition)),t}_targetPriceScaleIndex(e){return e===this._chartModel.mainSeries()?0:void 0}}class a extends n{constructor(e,t,i,s,r){super(e,t,i,r),this._targetPriceScaleId=s.id()}_targetPriceScale(e){return(0,s.ensureNotNull)(e.getPriceScaleById(this._targetPriceScaleId))}_targetPriceScaleIndex(e){}}},69746:(e,t,i)=>{"use strict";i.d(t,{PriceScaleChangeUndoCommand:()=>h});var s=i(88537),r=i(28353),n=i(24980),o=i(98125),a=i(35762);const l=(0,o.getLogger)("Chart.ChartUndoModel"),c=new n.TranslatedString("scale price",(0,r.t)("scale price"));class h extends a.UndoCommand{constructor(e,t,i,s,r){super(c,!1),this._newPriceScaleState=null,this._model=e,this._paneIndex=e.panes().indexOf(t),this._priceScaleId=i.id(),this._state=s,this._timestamp=r?performance.now():null}undo(){if(null!==this._newPriceScaleState)return void l.logDebug("PriceScaleChangeUndoCommand.undo: Command is already undone");const[e,t]=this._paneAndScale();this._newPriceScaleState=t.state(),this._model.restorePriceScaleState(e,t,this._state)}redo(){if(null===this._newPriceScaleState)return void l.logDebug("PriceScaleChangeUndoCommand.redo: Command is not undone");const[e,t]=this._paneAndScale();this._model.restorePriceScaleState(e,t,this._newPriceScaleState),this._newPriceScaleState=null}canMerge(e){return e instanceof h&&null!==this._timestamp&&null!==e._timestamp&&null===this._newPriceScaleState&&e._model===this._model&&e._paneIndex===this._paneIndex&&e._priceScaleId===this._priceScaleId&&Math.abs(e._timestamp-this._timestamp)<1e3}merge(e){this._timestamp=e._timestamp}_paneAndScale(){const e=this._model.panes()[this._paneIndex],t=(0,s.ensureNotNull)(e.getPriceScaleById(this._priceScaleId));return[e,t]}}},65284:(e,t,i)=>{"use strict";i.d(t,{RemoveSourcesCommand:()=>m}) +;var s=i(88537),r=i(28353),n=i(24980),o=i(35762),a=i(14291),l=i(98125),c=i(52546),h=i(81851),d=i(79495);class u extends o.UndoCommand{constructor({title:e,chartModel:t,lineDataSourceIds:i}){super(e),this._excludeLineToolsFromGroupUndoCommands=[],this._undoState=[],this._chartModel=t,this._lineDataSourceIds=i}redo(){const e=this._lineDataSourceIds.map(e=>(0,s.ensureNotNull)(this._chartModel.dataSourceForId(e)));this._groupLineToolsByGroups(e).forEach((e,t)=>{const i=new d.ExcludeLineToolsFromGroupUndoCommand(this._chartModel,t,e);i.redo(),this._excludeLineToolsFromGroupUndoCommands.push(i)}),e.forEach(e=>{this._undoState.push({state:e.state(!1),paneIndex:this._chartModel.panes().indexOf((0,s.ensureNotNull)(this._chartModel.paneForSource(e))),sharingMode:e.sharingMode().value()}),this._chartModel.removeSource(e)})}undo(){var e;for(let t=this._undoState.shift();t;t=this._undoState.shift())null===(e=this._chartModel.restoreSource(!1,t.paneIndex,null,t.state,null))||void 0===e||e.share(t.sharingMode);this._excludeLineToolsFromGroupUndoCommands.forEach(e=>e.undo())}_groupLineToolsByGroups(e){const t=this._chartModel.lineToolsGroupModel();return e.reduce((e,i)=>{const s=t.groupForLineTool(i);if(null!==s){const t=e.get(s)||[];t.push(i),e.set(s,t)}return e},new Map)}}const p=(0,l.getLogger)("Chart.RemoveSourcesCommand"),_=new n.TranslatedString("remove line data sources",(0,r.t)("remove line data sources"));class m extends o.UndoCommand{constructor(e,t,i){super(i),this._removeLineDataSourcesUndoCommand=null,this._initialPriceScaleMode=null;const[r,n]=(0,c.closeSourcesSet)(e,t).reduce((e,t)=>((0,a.isLineTool)(t)?e[1].push(t.id()):e[0].push(t.id()),e),[[],[]]);this._chartModel=e,this._sourceIds=r,this._lineDataSourceIds=n,this._sourceStates=[],this._paneIndexes=[],this._priceScalePositionIds=[],this._paneStates=[],this._restorePanes=[];const o=t[0];1===t.length&&(0,h.isStudy)(o)&&(this._initialPriceScaleMode=(0,s.ensureNotNull)(o.priceScale()).mode())}removedIds(){return[...this._sourceIds,...this._lineDataSourceIds]}redo(){this._chartModel.panes().length;const e=this._sourceIds.map(e=>(0,s.ensureNotNull)(this._chartModel.dataSourceForId(e)));this._sourceStates=e.map(e=>(0,s.ensureNotNull)(e.state(!1)));const t=e.map(e=>(0,s.ensureNotNull)(this._chartModel.paneForSource(e)));this._paneIndexes=t.map(e=>this._chartModel.panes().indexOf(e)),this._lineDataSourceIds.length>0&&(this._removeLineDataSourcesUndoCommand=new u({title:_,chartModel:this._chartModel,lineDataSourceIds:this._lineDataSourceIds}),this._removeLineDataSourcesUndoCommand.redo()),this._priceScalePositionIds=e.map((e,i)=>{const s=e.priceScale();if(null===s)return null;const r=t[i].priceScalePosition(s);return{id:s.id(),position:r,priceScaleIndex:t[i].priceScaleIndex(s,r)}});const i=new Set;e.forEach((e,t)=>{i.add(this._paneIndexes[t])}),this._paneStates=e.map((e,s)=>{const r=this._paneIndexes[s];return i.has(r)?t[s].state(!1,!0):null}),this._restorePanes=e.map(e=>this._chartModel.removeSource(e))}undo(){const e=[];for(let t=this._sourceStates.length-1;t>=0;t--){ +const i=this._chartModel.restoreSource(this._restorePanes[t],this._paneIndexes[t],this._paneStates[t],this._sourceStates[t],this._priceScalePositionIds[t]);i&&e.push(i)}e.some((t,i)=>t.id()!==this._sourceIds[e.length-i-1])&&p.logError("Source was restored improperly - source ids does not match"),null!==this._initialPriceScaleMode&&(0,s.ensureNotNull)(e[0].priceScale()).setMode(this._initialPriceScaleMode),this._removeLineDataSourcesUndoCommand&&this._removeLineDataSourcesUndoCommand.undo()}}},91794:(e,t,i)=>{"use strict";i.d(t,{RestoreDefaultsPreferencesUndoCommand:()=>p});var s=i(88537),r=i(28353),n=i(24980),o=i(35762),a=i(67396),l=i(21761),c=i(13647),h=i(92033),d=i(76166);const u=new n.TranslatedString("apply all chart properties",(0,r.t)("apply all chart properties"));class p extends o.UndoCommand{constructor(e){super(u),this._trading=null,this._oldShowSellBuyButtons=null,this._oldNoConfirmEnabled=null,this._oldShowOnlyRejectionNotifications=null,this._oldShowPricesWithZeroVolume=null,this._oldShowPricesWithSpread=null,this._oldOrderExecutedSoundEnabled=null,this._prevWatermarkPreferences=null,this._model=e,this._trading=(0,h.tradingService)(),null!==this._trading&&(this._oldShowSellBuyButtons=this._trading.showSellBuyButtons.value(),this._oldNoConfirmEnabled=this._trading.noConfirmEnabled.value(),this._oldShowOnlyRejectionNotifications=this._trading.showOnlyRejectionNotifications.value(),this._oldShowPricesWithZeroVolume=this._trading.showPricesWith().zeroVolume.value(),this._oldShowPricesWithSpread=this._trading.showPricesWith().spread.value(),this._oldOrderExecutedSoundEnabled=this._trading.orderExecutedSoundParams.enabled.value()),this._defaultsPreferences=(0,a.defaultsPreferencesByWhiteList)(this._model,this._model.mainSeries()),this._oldPreferences=e.preferences(),this._prevDateFormat=l.dateFormatProperty.value(),this._prevAddPlusButton=d.addPlusButtonProperty.value(),this._prevShowOpenMarkerStatus=c.showMarketOpenStatusProperty.value();const t=this._model.watermarkSource();null!==t&&(this._prevWatermarkPreferences=t.properties().state())}redo(){null!==this._trading&&(this._trading.showSellBuyButtons.setValue(!0),this._trading.noConfirmEnabled.setValue(!1),this._trading.showOnlyRejectionNotifications.setValue(!1),this._trading.showPricesWith().zeroVolume.setValue(!0),this._trading.showPricesWith().spread.setValue(!0),this._trading.orderExecutedSoundParams.enabled.setValue(!1)),this._model.applyPreferences(this._defaultsPreferences),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),(0,l.restoreDateFormatSettingsValue)(),(0,d.restoreAddPlusButtonSettingsValue)(),(0,c.restoreShowMarketOpenStatusProperty)();const e=this._model.watermarkSource();null!==e&&e.restorePropertiesDefaults()}undo(){null!==this._trading&&(this._trading.showSellBuyButtons.setValue((0,s.ensureNotNull)(this._oldShowSellBuyButtons)),this._trading.noConfirmEnabled.setValue((0,s.ensureNotNull)(this._oldNoConfirmEnabled)),this._trading.showOnlyRejectionNotifications.setValue((0, +s.ensureNotNull)(this._oldShowOnlyRejectionNotifications)),this._trading.showPricesWith().zeroVolume.setValue((0,s.ensureNotNull)(this._oldShowPricesWithZeroVolume)),this._trading.showPricesWith().spread.setValue((0,s.ensureNotNull)(this._oldShowPricesWithSpread)),this._trading.orderExecutedSoundParams.enabled.setValue((0,s.ensureNotNull)(this._oldOrderExecutedSoundEnabled))),this._model.applyPreferences(this._oldPreferences),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),l.dateFormatProperty.setValue(this._prevDateFormat),c.showMarketOpenStatusProperty.setValue(this._prevShowOpenMarkerStatus),d.addPlusButtonProperty.setValue(this._prevAddPlusButton);const e=this._model.watermarkSource();null!==e&&null!==this._prevWatermarkPreferences&&e.properties().mergeAndFire(this._prevWatermarkPreferences)}}},97401:(e,t,i)=>{"use strict";i.d(t,{SetPriceScaleCurrencyUndoCommand:()=>o});var s=i(88537),r=i(35762),n=i(37667);class o extends r.UndoCommand{constructor(e,t,i,r){super(r),this._newSourcesCurrencies=new Map,this._oldSourcesCurrencies=new Map,this._showFade=!1,this._chartWidget=i;const o=i.model().mainSeries();for(const i of e.seriesLikeSources()){if(!i.isVisible()||!i.isActingAsSymbolSource().value())continue;const e=t||(0,n.symbolOriginalCurrency)((0,s.ensureNotNull)(i.symbolInfo()));this._newSourcesCurrencies.set(i.id(),e),this._oldSourcesCurrencies.set(i.id(),i.currency()),this._showFade=this._showFade||i===o&&i.currency()!==e}}redo(){this._applyCurrencies(this._newSourcesCurrencies)}undo(){this._applyCurrencies(this._oldSourcesCurrencies)}_applyCurrencies(e){this._showFade&&this._chartWidget.screen.show();const t=this._chartWidget.model().model();e.forEach((e,i)=>{(0,s.ensureNotNull)(t.dataSourceForId(i)).setCurrency(e)}),this._chartWidget.model().selectionMacro(e=>{e.clearSelection()})}}},59836:(e,t,i)=>{"use strict";i.d(t,{SetPriceScaleModeCommand:()=>o});var s=i(88564),r=i(35762),n=i(33291);class o extends r.UndoCommand{constructor(e,t,i,s){super(i),this._newMode=e,this._priceScaleId=t.id(),this._model=s,this._oldMode=t.mode()}redo(){this._applyMode(this._newMode)}undo(){this._applyMode(this._oldMode)}_applyMode(e){const t=this._findPriceScaleById();null!==t&&((0,s.saveDefaultProperties)(!0),t.setMode(e),(0,s.saveDefaultProperties)(!1),this._model&&(this._model.recalculateAllPanes((0,n.viewportChangeEvent)()),this._model.lightUpdate()))}_findPriceScaleById(){const e=this._model.panes();for(let t=0;t{"use strict";i.d(t,{SetPriceScaleSelectionStrategyCommand:()=>a});var s=i(88537),r=i(35762),n=i(74325);class o{constructor(e){this._leftScales=e.leftPriceScales().map(e=>e.id()),this._rightScales=e.rightPriceScales().map(e=>e.id())}restorePane(e){this._leftScales.reverse().map(t=>(0,s.ensureNotNull)(e.getPriceScaleById(t))).forEach(t=>e.movePriceScale(t,"left")),this._rightScales.reverse().map(t=>(0, +s.ensureNotNull)(e.getPriceScaleById(t))).forEach(t=>e.movePriceScale(t,"right"))}}class a extends r.UndoCommand{constructor(e,t,i){super(i),this._chartModel=e,this._targetStrategy=(0,n.createPriceScaleSelectionStrategy)(t),this._initialState=e.panes().map(e=>new o(e))}redo(){this._chartModel.panes().forEach(e=>e.setPriceScaleSelectionStrategy(this._targetStrategy)),this._chartModel.fullUpdate()}undo(){const e=this._chartModel.panes();for(let t=0;t{"use strict";i.d(t,{SetPriceScaleUnitUndoCommand:()=>o});var s=i(88537),r=i(35762),n=i(37667);class o extends r.UndoCommand{constructor(e,t,i,r){super(r),this._newSourcesUnits=new Map,this._oldSourcesUnits=new Map,this._showFade=!1,this._chartWidget=i;const o=i.model().mainSeries();for(const i of e.seriesLikeSources()){if(!i.isVisible()||!i.isActingAsSymbolSource().value())continue;const e=t||(0,n.symbolOriginalUnit)((0,s.ensureNotNull)(i.symbolInfo()),this._chartWidget.model().model().unitConversionEnabled());this._newSourcesUnits.set(i.id(),e),this._oldSourcesUnits.set(i.id(),i.unit()),this._showFade=this._showFade||i===o&&i.unit()!==e}}redo(){this._applyUnits(this._newSourcesUnits)}undo(){this._applyUnits(this._oldSourcesUnits)}_applyUnits(e){this._showFade&&this._chartWidget.screen.show();const t=this._chartWidget.model().model();e.forEach((e,i)=>{(0,s.ensureNotNull)(t.dataSourceForId(i)).setUnit(e)}),this._chartWidget.model().selectionMacro(e=>{e.clearSelection()})}}},870:(e,t,i)=>{"use strict";i.d(t,{SetScaleRatioPropertiesCommand:()=>o});var s=i(35762),r=i(88564),n=i(33291);class o extends s.UndoCommand{constructor(e,t,i,s){super(i),this._property=e,this._newValue=t,this._model=s,this._priceScale=this._model.mainSeries().priceScale(),this._oldValue=this._property.value(),this._oldMode=this._priceScale.mode()}redo(){this._oldValue=this._property.value(),this._oldMode=this._priceScale.mode(),(0,r.saveDefaultProperties)(!0),this._priceScale.setMode({autoScale:!1,percentage:!1,log:!1}),this._property.setValue(this._newValue),(0,r.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,n.viewportChangeEvent)()),this._model.lightUpdate()}undo(){(0,r.saveDefaultProperties)(!0),this._property.setValue(this._oldValue),this._priceScale.setMode(this._oldMode),(0,r.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,n.viewportChangeEvent)()),this._model.lightUpdate()}}},52546:(e,t,i)=>{"use strict";function s(e,t){const i=new Set,s=t=>{e.children(t,!1).forEach(e=>{i.has(e)||(i.add(e),s(e))})};return t.forEach(s),t.filter(e=>!i.has(e)).map(t=>function e(t,i){let s=[];const r=t.children(i,!1);for(let i=0;ie.concat(t),[])}i.d(t,{closeSourcesSet:()=>s})},13339:(e,t,i)=>{"use strict";i.d(t,{TimeScaleChangeUndoCommand:()=>o});var s=i(98125),r=i(35762);const n=(0,s.getLogger)("Chart.ChartUndoModel");class o extends r.UndoCommand{constructor(e,t,i){super(i,!1), +this._newRightOffsetAndBarSpacing=null,this.setCustomFlag("doesnt_affect_save",!0),this._model=e,this._rightOffsetAndBarSpacing=t}undo(){if(null!==this._newRightOffsetAndBarSpacing)return void n.logDebug("TimeScaleChangeUndoCommand.undo: Command is already undone");const e=this._model.timeScale();this._newRightOffsetAndBarSpacing={barSpacing:e.barSpacing(),rightOffset:e.rightOffset()},e.setBarSpacing(this._rightOffsetAndBarSpacing.barSpacing),e.setRightOffset(this._rightOffsetAndBarSpacing.rightOffset),this._model.lightUpdate()}redo(){if(null===this._newRightOffsetAndBarSpacing)return void n.logDebug("TimeScaleChangeUndoCommand.redo: Command is not undone");const e=this._model.timeScale();e.setBarSpacing(this._newRightOffsetAndBarSpacing.barSpacing),e.setRightOffset(this._newRightOffsetAndBarSpacing.rightOffset),this._model.lightUpdate(),this._newRightOffsetAndBarSpacing=null}}},35762:(e,t,i)=>{"use strict";i.d(t,{UndoCommand:()=>r});var s=i(24980);class r{constructor(e,t=!0){this._customFlags={},this._text=e||new s.TranslatedString("",""),this._executeOnPush=t}text(){return this._text}executeOnPush(){return this._executeOnPush}customFlag(e){return this._customFlags[e]}setCustomFlag(e,t){this._customFlags[e]=t}canMerge(e){return!1}merge(e){throw new Error("Should be re-implemented in child classes")}}},52940:(e,t,i)=>{"use strict";i.d(t,{createUndoHistory:()=>u});var s=i(88537),r=i(44556),n=i(16757),o=i(35762);class a extends o.UndoCommand{constructor(e,t,i){super(i),this._wv=e,this._newValue=t,this._oldValue=e.value()}redo(){this._wv.setValue(this._newValue)}undo(){this._wv.setValue(this._oldValue)}}var l=i(98125),c=i(2872),h=i.n(c);const d=(0,l.getLogger)("Common.UndoHistory");function u(){const e=[],t=new r.UndoStack,i=new r.UndoStack,o=new(h());function l(s){if(e.length>0)e[e.length-1].addCommand(s);else{i.clear();const e=t.head(),r=e&&e.text().originalText();e&&e.canMerge(s)?e.merge(s):t.push(s);const n=s.text().originalText();""!==n&&n!==r&&d.logNormal("DO: "+n)}s.executeOnPush()&&s.redo(),e.length||o.fire(c())}function c(){const e=t.head(),s=i.head();return{enableUndo:!t.isEmpty(),undoText:void 0===e?void 0:e.text().translatedText(),enableRedo:!i.isEmpty(),redoText:void 0===s?void 0:s.text().translatedText()}}return{beginUndoMacro:function(t){const i=new n.UndoMacroCommand(t);return e.push(i),i},clearStack:function(){t.clear(),i.clear(),o.fire(c())},createUndoCheckpoint:function(){return{lastActualCommand:t.isEmpty()?null:t.head()}},endUndoMacro:function(){const t=(0,s.ensureDefined)(e.pop());t.isEmpty()||l(t)},pushUndoCommand:l,redo:function(){if(i.isEmpty())return!1;const e=i.pop();return!!e&&(e.redo(),t.push(e),d.logNormal("REDO: "+e.text().originalText()),o.fire(c()),!0)},redoStack:function(){return i},setWatchedValue:function(e,t,i,s){if(e.value()!==t){const r=new a(e,t,i);r.setCustomFlag("doesnt_affect_save",!!s),l(r),r.redo()}},undo:function(){if(t.isEmpty())return!1;const e=t.pop();return!!e&&(e.undo(),i.push(e),d.logNormal("UNDO: "+e.text().originalText()),o.fire(c()),!0)},undoStack:function(){ +return t},undoToCheckpoint:function(e){for(;!t.isEmpty()&&e.lastActualCommand!==t.head();)t.pop().undo();i.clear(),o.fire(c())},state:c,onChange:function(){return o}}}},16757:(e,t,i)=>{"use strict";i.d(t,{UndoMacroCommand:()=>r});var s=i(35762);class r extends s.UndoCommand{constructor(e){super(e,!1),this._subcommands=[]}addCommand(e){this._subcommands.push(e)}isEmpty(){return 0===this._subcommands.length}redo(){for(let e=0;e=0;e--)this._subcommands[e].undo()}commands(){return this._subcommands}}},44556:(e,t,i)=>{"use strict";i.d(t,{UndoStack:()=>a});var s=i(35762),r=i(2872),n=i.n(r);const o=(0,i(98125).getLogger)("Common.UndoStack");class a{constructor(){this._commands=[],this._onChange=new(n())}onChange(){return this._onChange}isEmpty(){return 0===this._commands.length}clear(){this.isEmpty()||(this._commands.length=0,this._onChange.fire())}push(e){if(!(e instanceof s.UndoCommand))throw new TypeError("argument must be an instance of UndoCommand");this._commands.push(e),this._onChange.fire(e)}pop(){if(this.isEmpty())return void o.logDebug("pop: undo stack is empty");const e=this._commands.pop();return this._onChange.fire(e),e}head(){if(!this.isEmpty())return this._commands[this._commands.length-1]}}},36551:(e,t,i)=>{"use strict";i.d(t,{UnmergeDownUndoCommand:()=>o,UnmergeUpUndoCommand:()=>a,UnmergeToNewBottomPane:()=>l});var s=i(88537),r=i(21749);class n extends r.MoveSourceUndoCommand{constructor(e,t,i){super(e,t,i)}redo(){const e=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),t=(0,s.ensureNotNull)(this._chartModel.paneForSource(e)),i=this._chartModel.children(e,!0);t.bulkActionMacro(()=>{i.forEach(e=>this._chartModel.detachSource(e)),this._chartModel.detachSource(e)});const r=this._chartModel.createPane(this.targetPaneIndex()),n=r.findSuitableScale(e);r.bulkActionMacro(()=>{r.addDataSource(e,n,!1),i.forEach(e=>r.addDataSource(e,n,!1))}),(0,s.ensureNotNull)(e.priceScale()).restoreState(this._newPriceScaleState(r.isOverlay(e))),this._chartModel.fullUpdate(),this._chartModel.setShouldBeSavedEvenIfHidden(!0)}undo(){const e=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),t=(0,s.ensureNotNull)(this._chartModel.paneForSource(e)),i=this._chartModel.children(e,!0);t.bulkActionMacro(()=>{i.forEach(e=>this._chartModel.detachSource(e));const t=this._chartModel.detachSource(e);(0,s.assert)(t,"Undo of detaching must remove pane")});const r=this._chartModel.panes()[this._initialPaneIndex];let n=r.getPriceScaleById(this._initialPriceScaleId);null===n&&(n=r.createPriceScaleAtPosition(this._initialPriceScalePosition,this._initialPriceScaleIndex)),r.bulkActionMacro(()=>{r.addDataSource(e,n,!0),i.forEach(e=>r.addDataSource(e,n,!1))}),(0,s.ensureNotNull)(e.priceScale()).restoreState(this._originalPriceScaleState()),this._chartModel.fullUpdate()}}class o extends n{constructor(e,t,i){super(e,t,i)}targetPaneIndex(){return this._initialPaneIndex+1}}class a extends n{constructor(e,t,i){ +super(e,t,i)}targetPaneIndex(){return this._initialPaneIndex}}class l extends n{constructor(e,t,i){super(e,t,i)}targetPaneIndex(){return this._chartModel.panes().length}}},79222:(e,t,i)=>{"use strict";i.d(t,{unitConvertibleGroups:()=>n,sourceNewUnitOnPinningToPriceScale:()=>o});var s=i(79680),r=i(37667);function n(e,t,i){const s=(0,r.symbolUnitConvertibleGroupsIfExist)(e,!0);if(null!==s)return s;const n=i.unitGroupById(t);return null===n?[]:[n]}function o(e,t,i,r){let o=null;if(i.unitConversionEnabled()&&(0,s.isSymbolSource)(e)){const s=i.availableUnits(),a=t.unit(s),l=e.unit(),c=null===l?[]:n(e.symbolInfo(),l,s);null!==a&&null!==a.selectedUnit&&!a.allUnitsAreOriginal&&a.selectedUnit!==l&&(r&&null===l||null!==l&&s.convertible(l,c))&&(o=a.selectedUnit)}return o}},10133:(e,t,i)=>{"use strict";i.d(t,{createVisibilityController:()=>l});var s=i(28353),r=i(32563),n=i(32255),o=i(56840);function a(e){return"alwaysOn"===e||"alwaysOff"===e?e:"visibleOnMouseOver"}function l(e,t){let i,l;function c(){if(!i){i=(0,n.createPrimitiveProperty)();let s=o.getValue(e);void 0===s&&void 0!==t&&(s=o.getValue(t)),i.setValue(a(s)),i.subscribe(i,t=>{o.setValue(e,a(t.value()))})}return i}return{property:c,availableValues:function(){return[{id:"visibleOnMouseOver",value:"visibleOnMouseOver",title:(0,s.t)("Visible on mouse over")},{id:"alwaysOn",value:"alwaysOn",title:(0,s.t)("Always visible")},{id:"alwaysOff",value:"alwaysOff",title:(0,s.t)("Always invisible")}]},actualBehavior:function(){if(!l){l=(0,n.createPrimitiveProperty)();const e=c(),t=()=>{let t=e.value();"alwaysOn"!==t&&"alwaysOff"!==t&&(t=r.mobiletouch?"alwaysOn":"visibleOnMouseOver"),l&&l.setValue(t)};e.subscribe(l,t),t()}return l}}}},62587:(e,t,i)=>{"use strict";i.r(t),i.d(t,{watermarkProperty:()=>h,restoreWatermarkPropertyDefaults:()=>d});var s=i(24377),r=i(56840),n=i(2015),o=i.n(n);const a={visibility:!1,color:"rgba(80, 83, 94, 0.25)"};function l(){const e=r.getJSON("symbolWatermark");let t=Object.assign({},a,e);if(void 0===e){if(void 0!==r.getJSON("chartproperties")){const e=r.getJSON("chartproperties").symbolWatermarkProperties;if(void 0!==e){const i=(0,s.tryParseRgba)(e.color);t=Object.assign(t,e),null!==i&&(0!==i[3]?t.visibility=!0:(i[3]=.25,t.color=(0,s.rgbaToString)(i)))}}delete t.transparency}return t}let c=null;function h(){return null===c&&(c=new(o())(l()),r.onSync.subscribe(null,()=>{null!==c&&c.mergeAndFire(l())}),c.listeners().subscribe(null,()=>{null!==c&&r.setJSON("symbolWatermark",c.state())})),c}function d(){null!==c&&c.mergeAndFire(a)}},39094:(e,t,i)=>{"use strict";var s=i(35218).translatedIntervalString,r=i(1570).getTranslatedSymbolDescription,n=i(22799).CHART_FONT_FAMILY,o=i(62587),a=o.watermarkProperty,l=o.restoreWatermarkPropertyDefaults,c=i(93435).drawScaled,h=i(59803).applyDefaultsOverrides,d=i(59803).applyPropertiesOverrides;t.Watermark=function(e,t){var i={},o=a();function u(e,t){var s=e.font;return i.hasOwnProperty(s)||(i[s]={}),i[s].hasOwnProperty(t)||(i[s][t]=e.measureText(t).width),i[s][t]}h(o,void 0,!1,"symbolWatermarkProperties"), +o.listeners().subscribe(this,(function(){e.updateSource(this)})),this.destroy=function(){o.listeners().unsubscribeAll(this)},this.properties=function(){return o},this.restorePropertiesDefaults=function(){l()},this.applyOverrides=function(e){d(o,void 0,!1,e,"symbolWatermarkProperties")};var p={renderer:function(e,i){return{draw:function(a,l){c(a,l.pixelRatio,(function(){var l=t.symbolInfo();a.fillStyle=o.color.value();var c,h=l.name;/QUANDL/.test(l.exchange)&&((c=h.split(/\//)).length&&(h=c[c.length-1]));for(var d={description:l.description,short_description:l.short_description,pro_name:l.pro_name,short_name:l.name,local_description:l.local_description,language:l.language},p=[{text:h?h+", "+s(t.interval()):"",font:"96px "+n,lineHeight:117,vertOffset:0},{text:r(d)||"",font:"48px "+n,lineHeight:58,vertOffset:5}],_=0,m=0;mi?i/g:1,_+=v.lineHeight*v.zoom}}var f=Math.max((e-_)/2,0);for(m=0;m{"use strict";i.d(t,{reorderDataSourcesStateZOrder:()=>S,newLineToolZOrder:()=>w,newStudyZOrder:()=>C,moveAfterSource:()=>E,moveBeforeSource:()=>k});var s=i(14291),r=i(81851),n=i(56972),o=i(50669),a=i(55257);function l(e){return(0,s.isLineTool)(e)&&!e.isSpeciallyZOrderedSource()}function c(e){return(0,r.isStudy)(e)&&!e.isSpeciallyZOrderedSource()}function h(e,t){return e.zorder-t.zorder}function d(e,t){(0,o.isMainSeriesState)(e)?e.zorder=0:e.zorder=t}function u(e,t){e.setZorder(t)}function p(e){return e.zorder()}function _(e){return Math.round(1e3*e)/1e3}function m(e,t){const i=Math.max(e,t),s=Math.min(e,t);return Math.max(0,Math.ceil(i)-Math.floor(s)-1)}function g(e,t,i){let s=0;const r=(n=t,o=e,Math.abs(1e3*o-1e3*n)/1e3);var n,o,a;return r>i?(e=Math.trunc(e),s=Math.floor(r/(i+1))):(a=r/(i+1),s=Math.floor(1e3*a)/1e3),{startZOrder:e,zOrderStep:s}}function f(e,t,i,s){let r=e.length,n=t;for(let t=e.length-1;t>=-1;t--)if(-1===t||s(e[t])){const s=t;let o=T(n);if(r-1===s)s>=0&&i(e[s],o);else{const t=m(r,s);let a=0;for(;0===a;){const e=g(n,o,t);n=e.startZOrder,a=e.zOrderStep,0===a&&(o-=1e4,0===o&&(o-=1e4))}let l=r-1;for(;l>s;){const t=_(n-a);i(e[l],t),n=t,l--}s>=0&&i(e[s],o)}n=o,r=s}}function v(e,t,i,s){let r=-1,n=t;for(let t=0;t<=e.length;t++)if(t===e.length||s(e[t])){const s=t;let o=P(n);if(r+1===s)s<=e.length-1&&i(e[s],o);else{const t=m(r,s);let a=0;for(;0===a;){const e=g(n,o,t);n=e.startZOrder,a=e.zOrderStep,0===a&&(o+=1e4,0===o&&(o+=1e4))}let l=r+1;for(;l<=s-1;){const t=_(n+a);i(e[l],t),n=t,l++}s<=e.length-1&&i(e[s],o)}n=o,r=s}}function S(e){!function(e,t,i,s,r,n){let o=null;const a=[];for(const r of e)t(r)?(a.push(r),o=r):(i(r)||s(r))&&a.push(r);a.sort(n),null!==o&&r(o,0);const l=null===o?-1:a.indexOf(o);-1!==l?(f(a.slice(0,l),0,r,i), +v(a.slice(l+1),0,r,i)):v(a,0,r,i)}(e,o.isMainSeriesState,o.isStudyState,o.isLineToolState,d,h)}function y(e,t){const i=Math.floor(e/1e4);let s=t.get(i);return void 0===s&&(s=[],t.set(i,s)),s}function b(e,t,i,s,r,n){let o=-1/0,a=1/0,l=-1/0,c=0;const h=new Map;for(let s=0;sr(e)-r(t));let p=T(r(u[0]));const m=P(p),f=g(p,m,u.length+1).zOrderStep;return 0!==f?(u.forEach(e=>{const t=_(p+f);s(e,t),p=t}),_(p+f)):_(m+5e3)}function w(e,t){return b(e,l,c,u,p,t)}function C(e){let t=-1e4;for(const i of e)c(i)&&(t=Math.min(t,i.zorder()-1e4));return 0===t?-1e4:t}function P(e){const t=1e4*Math.ceil(e/1e4);return t===e?t+1e4:t}function T(e){const t=1e4*Math.floor(e/1e4);return t===e?t-1e4:t}function x(e,t,i,s,r,n,o){const l=t.length,{newItems:c,movedItemsStartIndex:h}=i>0?(0,a.moveAfter)(e,t,i-1):(0,a.moveBefore)(e,t,0);let d=!1;for(let t=h;tr(e))?function(e,t,i,s,r,n){let o,a,l=-1,c=-1;0===i?(c=I(e,i+t,s),a=n(e[c])):i+t===e.length?(l=M(e,i-1,s),o=n(e[l])):(l=M(e,i-1,s),o=n(e[l]),c=I(e,i+t,s),a=n(e[c]));if((void 0===o||o<0)&&void 0!==a&&a<=0)f(e.slice(0,c),a,r,s);else if((void 0===a||a>0)&&void 0!==o&&o>=0)v(e.slice(l+1),o,r,s);else{const n=i+t,o=e.length-i;n0)&&void 0!==a&&a>=0){c=a;const e=void 0!==l?l:P(a),s=g(c,e,t);c=s.startZOrder,p=s.zOrderStep,d=i,u=d+t,h=1}if(0!==p)for(;d!==u;){const t=_(c+h*p);n(e[d],t),c=t,d+=h}else{const t=e.findIndex(e=>r(e));-1!==t?(f(e.slice(0,t),0,n,s),v(e.slice(t+1),0,n,s)):v(e,0,n,s)}}(c,l,h,r,s,n,o)}function I(e,t,i){for(;t=0&&i(e[t]);)t--;return Math.max(0,t)}function L(e,t,i,s,r,n,o){const a=e.indexOf(i)+1;x(e,t,a,s,r,n,o)}function A(e,t,i,s,r,n,o){const a=e.indexOf(i);x(e,t,a,s,r,n,o)}function E(e,t,i){L(e,t,i,n.isSeries,c,u,p)}function k(e,t,i){A(e,t,i,n.isSeries,c,u,p)}},89453:(e,t,i)=>{"use strict";i.d(t,{setSymbolSearchCompleteOverrideFunction:()=>r,getSymbolSearchCompleteOverrideFunction:()=>n});let s=e=>Promise.resolve(e);function r(e){s=e}function n(){return s}},67072:(e,t,i)=>{"use strict";e=i.nmd(e);var s=i(2015),r=i(98125).getLogger("Chart.Study.MetaInfo"),n=i(59572).applyOverridesToStudyDefaults,o={};function a(e){ +TradingView.merge(this,{palettes:{},inputs:[],plots:[],graphics:{},defaults:{}}),TradingView.merge(this,e);var t=e.fullId||e.id;TradingView.merge(this,a.parseIdString(t))}a.VERSION_STUDY_ARG_SOURCE=41,a.METAINFO_FORMAT_VERSION_SOS_V2=42,a.VERSION_PINE_PROTECT_TV_4164=43,a.CURRENT_METAINFO_FORMAT_VERSION=52,a.VERSION_NEW_STUDY_PRECISION_FORMAT=46,a.CHILD_STUDY_ALLOWED_PLOT_TYPES=["line"],a.canPlotBeSourceOfChildStudy=function(e){return a.CHILD_STUDY_ALLOWED_PLOT_TYPES.includes(e)},a.CHILD_STUDY_EXCLUDE_IDS=["CorrelationCoefficient@tv-basicstudies","Correlation - Log@tv-basicstudies-1"],a.CHILD_STUDY_PARENT_EXCLUDE_IDS=[],a.FilledArea={},a.FilledArea.TYPE_PLOTS="plot_plot",a.FilledArea.TYPE_HLINES="hline_hline",a.versionOf=function(e){var t="_metainfoVersion"in e&&isNumber(e._metainfoVersion)?e._metainfoVersion:0;return t<0&&r.logError("Metainfo format version cannot be negative: "+t),t},a.parseIdString=function(e){var t={};if(-1===e.indexOf("@"))t.shortId=e,t.packageId="tv-basicstudies",t.id=e+"@"+t.packageId,t.version=1;else{var i=e.split("@");t.shortId=i[0];var s=i[1].split("-");if(3===s.length)t.packageId=s.slice(0,2).join("-"),t.id=t.shortId+"@"+t.packageId,t.version=s[2];else if(1===s.length&&"decisionbar"===s[0])t.packageId="les-"+s[0],t.id=t.shortId+"@"+t.packageId,t.version=1;else{if(1!==s.length)throw new Error("unexpected study id:"+e);t.packageId="tv-"+s[0],t.id=t.shortId+"@"+t.packageId,t.version=1}}if(t.fullId=t.id+"-"+t.version,"tv-scripting"===t.packageId){var r=t.shortId;if(0===r.indexOf("Script$")||0===r.indexOf("StrategyScript$")){var n=r.indexOf("_");t.productId=n>=0?r.substring(0,n):t.packageId}else t.productId=t.packageId}else t.productId=t.packageId;return t},a.getPackageName=function(e){return(/^[^@]+@([^-]+-[^-]+)/.exec(e||"")||[0,"tv-basicstudies"])[1]},a.cutDollarHash=function(e){var t=e.indexOf("$"),i=e.indexOf("@");return-1===t?e:e.substring(0,t)+(i>=0?e.substring(i):"")},a.hasUserIdSuffix=function(e){return/^USER;[\d\w]+;\d+$/.test(e)},a.isStandardPine=function(e){return/^(Strategy)?Script\$STD;.*@tv-scripting$/.test(e)},a.getSourceIdByInputs=function(e,t){if(!Array.isArray(e)||!t)return null;for(var i=0;i0){var l=o.replace(/^[^\$]+/,t);i.inputs[n.id].setValue(l)}}}},a.patchChildStudyMetaInfoState=function(e){e.state&&function e(t){if("object"==typeof t)for(var i in t)"string"==typeof t[i]&&/^[^\$]+\$\d+$/.test(t[i])?t[i]=t[i].replace(/^[^\$]+/,"{pid}"):e(t[i])}(e.state.inputs),e.state.isChildStudy=!0},a.getStudyIdWithLatestVersion=function(e){const t=a.cutDollarHash(e.id);let i=t +;return t.indexOf("@tv-scripting")>=0?i+="-101!":i+="-"+e.version,i},a.prototype.parseValue=function(e,t){return"bool"===e?TradingView.parseBool(t):t},a.prototype.defaultInputs=function(){for(var e=[],t=0;t0?e[0].id:null},a.prototype.createDefaults=function(){if(this.defaults){var e=TradingView.clone(this.defaults);e.precision="default";var t=a.getStudyPropertyRootName(this);defaults.create(t,e)}},a.prototype.removeDefaults=function(){defaults.remove(a.getStudyPropertyRootName(this))},a.findStudyMetaInfoByDescription=function(e,t){if(e){for(var i=0;i{"use strict";window.TradingView=window.TradingView||{},window.requireAll=function(e){return e.keys().map(e)},i(28353),i(32563).setClasses(),i(9196),i(56186).install(),i(49483),i(80643),i(29892),i(94419),i(11417),i(11372),i(27171),i(56840)},97881:(e,t,i)=>{"use strict";var s=i(28353).t;i(70606);var r=i(88537).assert;i(96488),i(59803),i(87980);const n=i(67337);JSON.parse(urlParams.disabledFeatures).forEach((function(e){n.setEnabled(e,!1)})),JSON.parse(urlParams.enabledFeatures).forEach((function(e){n.setEnabled(e,!0)})),function(){window.__settingsOverrides=window.parent[window.urlParams.uid].settingsOverrides||{};var e=window.parent[window.urlParams.uid].settingsAdapter;null!=e?(TVSettings.setSettingsAdapter(e),TVSettings.sync()):n.enabled("use_localstorage_for_settings")&&TVSettings.sync()}();var o=i(22799).setChartFontFamily;window.urlParams.customFontFamily&&o(window.urlParams.customFontFamily);var a=i(84120).RestrictedToolsetBootloader,l=i(9753).HeaderToolbarBootloader,c=i(84746).DrawingToolbarBootloader,h=i(85593).isDrawingToolbarVisible;(0,i(32563).setClasses)();var d=i(6087),u=i(45345).setTheme,p=i(33225),_=i(17437),m=i(25760),g=i(47193).migrateShortcut,f=i(76900).ChartSaver,v=i(41051).SaveChartService,S=i(86879).LoadChartService,y=i(46723).StudyTemplates,b=i(22668).FavoriteStudyTemplateService,w=i(82992).linking,C=i(76422),P=i(97098).formatterOptions,T=i(69147).customFormatters,x=i(34615).StudyMarket,I=i(21097).TVXWindowEvents,M=i(81836).createDeferredPromise,L=i(15840).deepExtend,A=i(9423).randomHash,E=i(65576).convertPropertyToWatchedValue,k=i(95707).property,D=i(62428).property,V=i(21761).dateFormatProperty,B=i(43370).default,N=i(29823).Interval,R=i(89356).Root,O=i(28325).ChartPage,F=i(39138).destroyQuoteSessions,W=i(73383).TIMEFRAMETYPE,H=new O(new R(window).allocate()),z=H.allocate({areaName:"center"}),U=(window.parent[urlParams.uid].brokerFactory,Boolean(!1)),j=i(54427).CHART_WIDGET_COLLECTION_SERVICE,G=i(16216);i(65235);var q=i(43425),Y=i(12409).createFavoriteDrawingToolbar,K=i(77317).setupChartEventHint,$=i(81602).setupChartScreenshotHint,X=i(87983),Z=i(67072),J=i(28399);i(27595),i(15495);var Q=i(78136).setSearchRequestDelay,ee=i(16654),te=i(216),ie=i(17937).addBrandingSource,se=i(13221).setAdditionalSymbolInfoFields,re=i(89453).setSymbolSearchCompleteOverrideFunction,ne=i(52741).DropdownApi,oe=i(97056).ContextMenuManager;const ae=new AbortController;var le=window.parent[urlParams.uid].getCustomIndicators,ce=M(),he=M(),de=n.enabled("left_toolbar");if(void 0!==window.parent[urlParams.uid].contextMenu){var ue=window.parent[urlParams.uid].contextMenu;void 0!==ue.items_processor&&oe.setCustomItemsProcessor(ue.items_processor),void 0!==ue.renderer_factory&&oe.setCustomRendererFactory(ue.renderer_factory)} +if(Promise.all([ce.promise,he.promise]).then((function(){window.ChartApiInstance.start()})),"function"==typeof le){var pe=le(te);pe&&pe.then?pe.then((function(e){if(!Array.isArray(e))return console.warn("custom_indicators_getter should be a function that returns a Promise object which result is an array of custom indicators"),void ce.resolve();JSServer.studyLibrary.push.apply(JSServer.studyLibrary,e),ce.resolve(),console.log("{0} custom indicators loaded.".format(e.length))})).catch((function(e){console.warn("Error loading custom indicators "+e),ce.resolve()})):(console.warn("custom_indicators_getter should be a function that returns a Promise object"),ce.resolve())}else ce.resolve();window.widgetReady=function(e){C.subscribe("onChartReady",e)};var _e=urlParams.theme&&urlParams.theme.toLowerCase();function me(e){window.__defaultsOverrides=window.__defaultsOverrides||{},L(window.__defaultsOverrides,e),void 0!==TradingView.defaultProperties&&void 0!==TradingView.defaultProperties.chartproperties&&(window.applyDefaultsOverrides(TradingView.defaultProperties.chartproperties),window.applyDefaultOverridesToLinetools())}!function(e){d.themes[e]&&u(e)}(_e),window.applyStudiesOverrides=function(e){e&&(window.chartWidgetCollection?window.chartWidgetCollection.applyStudiesOverrides(e):Z.mergeDefaultsOverrides(e))},window.applyOverrides=function(e){me(e),window.chartWidgetCollection&&window.chartWidgetCollection.applyOverrides(e)},window.doWhenApiIsReady=function(e){window.tradingViewApi?e():he.promise.then(e)},window.applyTradingCustomization=function(e){for(var t in e.order)TradingView.defaultProperties.linetoolorder[t]=e.order[t];for(var t in e.position)TradingView.defaultProperties.linetoolposition[t]=e.position[t]},window.changeTheme=function(e,t){var i=d.themes[e.toLowerCase()];return i?window.tradingViewApi.themes().setStdTheme(i.name,!0,t&&t.disableUndo):Promise.resolve()},window.getTheme=function(){return window.tradingViewApi.themes().getCurrentThemeName()},window.is_authenticated=!1;JSON.parse(window.urlParams.brokerConfig);s("charts by TradingView"),s("powered by TradingView"),s("by TradingView");var ge=null,fe=M(),ve=null,Se=function(){if(n.setEnabled("charting_library_debug_mode","true"===urlParams.debug),n.setEnabled("chart_property_page_trading",!1),n.enabled("remove_library_container_border")){var e=document.querySelector("#library-container");null!==e&&(e.style.border="0px",e.style.padding="1px")}n.enabled("no_min_chart_width")&&(window.document.body.style.minWidth="0px"),null!=urlParams.studiesOverrides&&Z.mergeDefaultsOverrides(JSON.parse(urlParams.studiesOverrides)),r(void 0===TradingView.defaultProperties,"Default properties are inited before applying overrides"),me(JSON.parse(urlParams.overrides)),urlParams.numeric_formatting=urlParams.numeric_formatting&&JSON.parse(urlParams.numeric_formatting),urlParams.numeric_formatting&&"string"==typeof urlParams.numeric_formatting.decimal_sign&&(P.decimalSign=urlParams.numeric_formatting.decimal_sign[0]), +window.ChartApiInstance=new X(window.parent[urlParams.uid].datafeed),window.parent[urlParams.uid].customFormatters&&(window.parent[urlParams.uid].customFormatters.timeFormatter&&(T.timeFormatter=window.parent[urlParams.uid].customFormatters.timeFormatter),window.parent[urlParams.uid].customFormatters.dateFormatter&&(T.dateFormatter=window.parent[urlParams.uid].customFormatters.dateFormatter),window.parent[urlParams.uid].customFormatters.tickMarkFormatter&&(T.tickMarkFormatter=window.parent[urlParams.uid].customFormatters.tickMarkFormatter),window.parent[urlParams.uid].customFormatters.priceFormatterFactory&&(T.priceFormatterFactory=window.parent[urlParams.uid].customFormatters.priceFormatterFactory),window.parent[urlParams.uid].customFormatters.studyFormatterFactory&&(T.studyFormatterFactory=window.parent[urlParams.uid].customFormatters.studyFormatterFactory)),window.ChartApiInstance.setStudiesAccessController(window.ChartApiInstance.createStudiesAccessController(urlParams.studiesAccess));var t=urlParams.chartContent?JSON.parse(urlParams.chartContent).json:void 0,o=urlParams.chartContentExtendedData?JSON.parse(urlParams.chartContentExtendedData):t?t.extendedData:void 0,u=urlParams.interval||"D",_=function(e){var t=/(\d+)(\w+)/;return e.map((function(e){var i=t.exec(e.text),r=i[2].toLowerCase(),n=parseInt(i[1]),o="y"===r?12*n+"M":n+r,a=N.parse(e.resolution);return{text:s(e.title)||n+s(r,{context:"dates",count:n}),description:e.description||"",value:{value:o.toUpperCase(),type:W.PeriodBack},targetResolution:a.value(),requiresIntraday:a.isIntraday()}}))}(JSON.parse(urlParams.timeFrames)),m={resizerBridge:z,padding:n.enabled("border_around_the_chart")?2:0,content:t,widgetOptions:{addToWatchlistEnabled:!1,hideIdeas:!0,addVolume:window.ChartApiInstance.studiesAccessController.isToolEnabled("Volume"),muteSessionErrors:!0,timezone:urlParams.timezone,defSymbol:urlParams.symbol,defInterval:u,compareSymbols:urlParams.compareSymbols&&JSON.parse(urlParams.compareSymbols),defTimeframe:window.parent[urlParams.uid].timeframe,paneContextMenuEnabled:n.enabled("pane_context_menu"),paneContextMenu:{mainSeriesTrade:U},priceScaleContextMenuEnabled:n.enabled("scales_context_menu"),currencyConversionEnabled:n.enabled("pricescale_currency"),unitConversionEnabled:n.enabled("pricescale_unit"),legendWidgetEnabled:n.enabled("legend_widget"),legendWidget:{contextMenu:{settings:n.enabled("show_chart_property_page"),showOpenMarketStatus:n.enabled("display_market_status")}},sourceStatusesWidget:{errorSolution:!1},marketStatusWidgetEnabled:n.enabled("display_market_status"),chartWarningWidget:{subscriptionFullInfo:!1},timeScaleWidget:{contextMenuEnabled:n.enabled("scales_context_menu"),timezoneMenuEnabled:n.enabled("timezone_menu"),priceAxisLabelsOptions:{showLabels:n.enabled("main_series_scale_menu")}},timeScale:{preserveBarSpacing:!1,lockVisibleTimeRangeOnResize:n.enabled("lock_visible_time_range_on_resize"),rightBarStaysOnScroll:n.enabled("right_bar_stays_on_scroll"), +minBarSpacing:urlParams.time_scale&&JSON.parse(urlParams.time_scale).min_bar_spacing},goToDateEnabled:n.enabled("go_to_date"),crossHair:{menuEnabled:n.enabled("chart_crosshair_menu")},handleScale:{mouseWheel:n.enabled("mouse_wheel_scale"),pinch:n.enabled("pinch_scale"),axisPressedMouseMove:{time:n.enabled("axis_pressed_mouse_move_scale"),price:n.enabled("axis_pressed_mouse_move_scale")}},handleScroll:{mouseWheel:n.enabled("mouse_wheel_scroll"),pressedMouseMove:n.enabled("pressed_mouse_move_scroll"),horzTouchDrag:n.enabled("horz_touch_drag_scroll"),vertTouchDrag:n.enabled("vert_touch_drag_scroll")},shiftVisibleRangeOnNewBar:n.enabled("shift_visible_range_on_new_bar"),croppedTickMarks:n.enabled("cropped_tick_marks"),countdownEnabled:n.enabled("countdown"),indicatorsDialogShortcutEnabled:n.enabled("insert_indicator_dialog_shortcut")},seriesControlBarEnabled:n.enabled("timeframes_toolbar"),seriesControlBar:{timeFramesWidgetEnabled:!0,timeFramesWidget:{goToDateEnabled:n.enabled("go_to_date"),availableTimeFrames:function(e,t){return e?t!==ee.STATUS_DELAYED&&t!==ee.STATUS_DELAYED_STREAMING&&t!==ee.STATUS_READY?[]:_.filter((function(t){return!(t.requiresIntraday&&!e.has_intraday)&&!(e.supported_resolutions&&!e.supported_resolutions.includes(t.targetResolution))})):[]}},timeWidgetEnabled:!0,timeWidget:{timezoneMenuEnabled:n.enabled("timezone_menu")},adjustForDividendsButtonEnabled:!1,sessionIdButtonEnabled:n.enabled("pre_post_market_sessions"),backAdjustmentButtonEnabled:!1,settlementAsCloseButtonEnabled:!1,percentageScaleButtonEnabled:!0,logScaleButtonEnabled:!0,autoScaleButtonEnabled:!0,fullscreenButtonEnabled:!0,mobileChangeLayoutEnabled:!1},globalEvents:!0,snapshotUrl:urlParams.snapshotUrl,mobileForceChartMaximizeEnabled:!1,saveChartEnabled:n.enabled("save_shortcut")};de&&(Y(),m.widgetOptions.isDrawingToolbarVisible=h),o&&(m.metaInfo={id:o.uid,name:o.name,description:o.description,uid:o.uid,username:"",tags:""}),window.parent[urlParams.uid].additionalSymbolInfoFields&&se(window.parent[urlParams.uid].additionalSymbolInfoFields),window.parent[urlParams.uid].symbolSearchComplete&&re(window.parent[urlParams.uid].symbolSearchComplete);var g=window.chartWidgetCollection=new q(m);let M=!1;g.onAboutToBeDestroyed.subscribe(null,()=>{M=!0},!0),ie(g),window.studyMarket=new x(g),void 0!==G&&G.registerService(j,g),g.activeChartWidget.subscribe((function(e){C.emit("activeChartChanged",g.getAll().indexOf(e))})),window.saver=new f(g);var L=new v(g,window.saver),A=new S(g);window.chartWidget=g.activeChartWidget.value(),window.pro=new TradingView.Pro;var E=function(e){if(!n.enabled("header_widget"))return null;var t=H.allocate({areaName:"top"}),s=new(0,i(68425).ChartChangesWatcher)(e.chartWidgetCollection.undoHistory,e.chartWidgetCollection.lineToolsSynchronizerHasChanges,window.saver,C),r=JSON.parse(urlParams.favorites);r.intervals=r.intervals.map((function(e){var t=""+e;return t.match(/1[DWMYdwmy]/)&&(t=t.slice(1)),t}));var o=null;n.enabled("study_templates")&&(o=new b(I,TVSettings),ve=new y({ +chartWidgetCollection:e.chartWidgetCollection,favoriteStudyTemplatesService:o}));var c=void 0,h=urlParams.header_widget_buttons_mode;"fullsize"===h&&(c=["full"]);"compact"===h&&(c=["small"]);return new l(new a,{chartSaver:window.saver,chartApiInstance:ChartApiInstance,chartWidgetCollection:e.chartWidgetCollection,defaultFavoriteStyles:r.chartTypes,defaultFavoriteIntervals:r.intervals,hideStudyTemplates:!0,resizerBridge:t,studyMarket:window.studyMarket,studyTemplates:ve,favoriteStudyTemplatesService:o,allowedModes:c,saveChartService:e.saveChartService,loadChartService:e.loadChartService,chartChangesWatcher:s,onClick:Me,snapshotUrl:e.snapshotUrl})}({chartWidgetCollection:g,saveChartService:L,loadChartService:A,snapshotUrl:urlParams.snapshotUrl});null!==E?E.load().then((function(e){ge=e.getComponent(),fe.resolve()})):(fe.promise.catch((function(){})),fe.reject("header widget is not loaded"));var k=function(e){if(de){var t=urlParams.toolbarbg&&/^[0-9a-f]+$/i.test(urlParams.toolbarbg)?String(urlParams.toolbarbg):void 0;if(t){var i=document.createElement("style");i.textContent="body,.chart-controls-bar,#footer-chart-panel{background-color:#"+t+" !important}",document.head.appendChild(i)}return new c({bgColor:t,chartWidgetCollection:e,drawingsAccess:urlParams.drawingsAccess?JSON.parse(urlParams.drawingsAccess):void 0,resizerBridge:H.allocate({areaName:"left"}),onClick:Me})}return null}(g),D=null;window.tradingViewApi=new J({chartWidgetCollection:g,chartApiInstance:window.ChartApiInstance,saveChartService:L,loadChartService:A});if(w.bindToChartWidgetCollection(g),TradingView.isNaN(urlParams.studyCountLimit)||(TradingView.STUDY_COUNT_LIMIT=Math.max(2,+urlParams.studyCountLimit)),!TradingView.isNaN(urlParams.ssreqdelay)){var V=Math.max(0,+urlParams.ssreqdelay);Q(V)}window.ChartApiInstance.connect(),Promise.all([i.e(5514),i.e(9129),i.e(8463),i.e(2e3),i.e(6363),i.e(3466),i.e(7836),i.e(7427),i.e(3921),i.e(5998),i.e(1112),i.e(6909),i.e(6416),i.e(7419),i.e(3520),i.e(9042),i.e(323),i.e(2849),i.e(880),i.e(8994),i.e(1890),i.e(638),i.e(1550),i.e(6475),i.e(2306)]).then(i.t.bind(i,87805,23)).then(({default:e})=>{M||(window.lineToolPropertiesToolbar=new e(g))});var R=document.querySelector(".tv-content");function O(){k&&k.load(ae.signal),D&&D.load(ae.signal).then((function(e){window.footerWidget=e.getComponent()}))}null!==R&&R.addEventListener("contextmenu",(function(e){null!==e.target&&"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&e.preventDefault()})),he.resolve(),g.undoHistory.undoStack().onChange().subscribe(null,B((function(e){e&&!e.customFlag("doesnt_affect_save")&&C.emit("onAutoSaveNeeded")}),1e3*(urlParams.autoSaveDelay||5),{leading:!1,trailing:!0})),window.chartWidget.withModel(null,(function(){if(ChartApiInstance.on("realtime_tick",(function(e){C.emit("onTick",e)})),!d.savedThemeName()&&_e){var e=d.getStdTheme(_e);e&&e.content&&void 0===t&&g.applyTheme({theme:e.content,onlyActiveChart:!1,restoreNonThemeDefaults:!1,themeName:_e,standardTheme:!0,syncState:!0,noUndo:!0 +}).then(()=>window.applyOverrides(window.__defaultsOverrides))}n.enabled("charting_library_debug_mode")&&C.subscribeToAll((function(){var e=Array.prototype.slice.call(arguments);console.log('Event "{0}", arguments: {1}'.format(e[0],JSON.stringify(e.slice(1))))})),K&&(K(g),K=null),$&&($(g,{seriesControlBarEnabled:n.enabled("timeframes_toolbar")}),$=null)})),p.isAnyChartWidgetInitialized(g)?O():p.waitAnyChartWidgetInitialized(g,O),C.subscribe("chart_load_requested",(function(e){window.tradingViewApi.loadChart({json:JSON.parse(e.content),extendedData:e})}))};window.addEventListener("unload",(function(){ae.abort(),window.widgetbar&&(window.widgetbar.destroy(),window.widgetbar=null),window.chartWidgetCollection&&(window.chartWidgetCollection.destroy(),window.chartWidgetCollection=null),window.ChartApiInstance&&window.ChartApiInstance.disconnect(),F(),window.ChartApiInstance&&(window.ChartApiInstance.destroy(),window.ChartApiInstance=null)})),n.enabled("saveload_storage_customization")&&(window.parent[urlParams.uid].saveLoadAdapter?_.setCustomAdapter(window.parent[urlParams.uid].saveLoadAdapter):void 0!==urlParams.chartsStorageUrl&&urlParams.chartsStorageUrl&&void 0!==urlParams.clientId&&urlParams.clientId?_.initialize(urlParams.clientId,urlParams.userId,urlParams.chartsStorageUrl,urlParams.chartsStorageVer||"1.0"):(n.setEnabled("saveload_storage_customization",!1),n.setEnabled("header_saveload",!1)));var ye=M();function be(){ye.resolve()}window.parent[urlParams.uid].loadLastChart&&n.enabled("saveload_storage_customization")?_.getCharts().then((function(e){if(0!==e.length){var t=e.sort((function(e,t){return t.modified_iso-e.modified_iso}))[0];_.getChartContent(t).then((function(e){var t=JSON.parse(e.content);t.extendedData=e,urlParams.chartContent=JSON.stringify({json:t}),be()})).catch(be)}else be()})).catch(be):be();var we,Ce,Pe=M();Promise.all([Pe.promise,ye.promise,window.loadedCustomCss]).then((function(){var e,t,i,s,r,o,a=document.querySelector(".loading-indicator");if(a&&(a.style.display="none"),setTimeout(Se,0),n.enabled("14851")&&Math.random()<=.02){e=window,t=document,i="script",s="ga",e.GoogleAnalyticsObject=s,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,r=t.createElement(i),o=t.getElementsByTagName(i)[0],r.async=1,r.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(r,o);var l=document.URL.match(new RegExp("(:?.*://)([^/]+)/.*"))[2];ga("create","UA-112911840-1","auto"),ga("set","anonymizeIp",!0),ga("set",{hostname:l,page:l,referrer:l}),ga("send","pageview")}})),we=!0,window.parent[urlParams.uid].datafeed.onReady((function(e){we&&console.warn("`onReady` should return result asynchronously. Use `setTimeout` with 0 interval to execute the callback function."),window.configurationData=e,Pe.resolve()})),we=!1,window.getFunctionFromArguments=function(e){return window.parent[urlParams.uid][e]},window.createShortcutAction=(Ce=m.createGroup({desc:"API"}),function(e,t){Ce.add({hotkey:g(e),handler:t})}),window.initializationFinished=function(){ +window.chartWidgetCollection.undoHistory.clearStack()},window.headerReady=function(){return fe.promise},window.createButton=function(e){if(null===ge)throw new Error("Cannot create button: header widget is not ready or is not loaded - use `headerReady` to wait until header is ready");return(e=e||{}).align=e.align||"left",e.useTradingViewStyle=e.useTradingViewStyle||!1,ge.addButton(A(),e)},window.createDropdown=function(e){if(void 0===e)throw new Error("Cannot create dropdown without any parameters. Please refer to the documentation");void 0===e.align&&(e.align="left");const t=A();return ge?(ge.addDropdown(t,e),Promise.resolve(new ne(ge,t))):fe.promise.then(()=>(ge.addDropdown(t,e),new ne(ge,t)))},window.getAllFeatures=function(){const e=n.getAllFeatures();return Object.keys(e).forEach((function(t){isNaN(parseFloat(t))||delete e[t]})),e};var Te=null;window.getNavigationButtonsVisibility=function(){return null===Te&&(Te=E(k())),Te};var xe=null;window.getPaneButtonsVisibility=function(){return null===xe&&(xe=E(D())),xe};var Ie=null;function Me(e){var t=TradingView.bottomWidgetBar;t&&t.turnOffMaximize()}window.getDateFormat=function(){return null===Ie&&(Ie=E(V)),Ie}},8859:(e,t,i)=>{"use strict";i.d(t,{getPriceAlertsDispatcher:()=>r});i(51872);let s=null;function r(){return new Promise(e=>{null===s?Promise.all([i.e(1729),i.e(6602),i.e(8158)]).then(i.bind(i,60993)).then(t=>{null===s&&(s=new t.AlertsDispatcher),e(s)}):e(s)})}},11372:(e,t,i)=>{e=i.nmd(e),TradingView.cleanButAmpersand=function(e,t){var i=t?["&"]:["&"];return TradingView.clean(e,t,i)},TradingView.strip_tags=function(e){return e&&e.replace?e.replace(/(<([^>]+)>)/gi,""):e},TradingView.encodeSpread=function(e){return encodeURIComponent(e)},TradingView.clean=function(e,t,i){var s=[["&","&"],["<","<"],[">",">"],['"',"""],["'","'"],["'","'"]],r=e;if(!e||!e.replace)return r;for(var n=0;n{"use strict";i.r(t);var s=i(21097),r=i(51768),n=i(38780);function o(e,t="x"){let i=!1;return"x"!==t&&"both"!==t||(i=i||e.offsetWidth{document.addEventListener("mouseenter",e=>{const t=e.target;if(t instanceof HTMLElement&&t.matches(".apply-overflow-tooltip")){let e="x";if(t.matches(".apply-overflow-tooltip--direction_both")?e="both":t.matches(".apply-overflow-tooltip--direction_y")&&(e="y"),t.matches(".apply-overflow-tooltip--check-children")){let i=!1;const s=t.children;for(let t=0;t(t.nodeType===Node.TEXT_NODE&&e.push(t.textContent||""),e),[]).join("").trim(),(0,n.showOnElement)(t,{text:i});const s=()=>{(0,n.hide)(),["mouseleave","mousedown"].forEach(e=>t.removeEventListener(e,s))};["mouseleave","mousedown"].forEach(e=>t.addEventListener(e,s))}},!0)});var a=i(2872),l=i.n(a),c=i(11417),h=i(15840);let d;function u(e){window.iframeAuthWidget&&!1===window.user.profile_data_filled&&(window.iframeAuthWidget.preventClose=!0);const t=window.user.available_offers||{};window.TVSettings&&window.TVSettings.sync(window.user.settings),window.is_authenticated?(e||(initOfferLoginStateChangeButton(),onGoPro()&&window.user.is_pro&&window.location.reload()),!1===window.user.profile_data_filled&&((0,r.trackEvent)("Conversion","First login"),delete window.user.profile_data_filled)):(Object.keys(t).forEach(e=>{const i=e;t[i].available_for_anons||delete t[i]}),window.user={username:"Guest",following:"0",followers:"0",ignore_list:[],available_offers:t},c.TVLocalStorage.removeItem("trial_availiable"))}d=window.loginStateChange?window.loginStateChange:window.loginStateChange=new(l()),d.subscribe(null,u),s.TVXWindowEvents.on("loginStateChange",e=>{const t=JSON.parse(e);window.user=t.user,window.is_authenticated=!!t.is_authenticated,d.fire()}),s.TVXWindowEvents.on("signOut",()=>{!function(){if(window.initData.lfs){const e=document.getElementsByClassName("js-admin-warning")[0];document.body.removeChild(e)}let e=!0;[/^\/chart\//,/^\/share-your-love\//].forEach(t=>{t.test(window.location.pathname)&&(e=!1)}),e&&window.location.reload()}()}),(()=>{const e={};window.crossTabSyncUserAttr=e=>{const t={};e instanceof Array?e.forEach(e=>{t[e]=window.user[e]}):t[e]=window.user[e],s.TVXWindowEvents.emit("user-obj-changed",JSON.stringify(t))},s.TVXWindowEvents.on("user-obj-changed",t=>{const i=JSON.parse(t);let s;for(s in i)if(i.hasOwnProperty(s)){window.user[s]=i[s];(e[s]||[]).forEach(e=>{e.fire(i[s])})}})})(),window.TradingView.changeLoginState=e=>{window.is_authenticated=!!e,s.TVXWindowEvents.emit("loginStateChange",JSON.stringify({is_authenticated:window.is_authenticated,user:window.user})),d.fire()},window.loginUser=function(e,t){window.TVDialogs&&window.TVDialogs.signModal&&window.TVDialogs.signModal.close(),window.user=(0,h.deepExtend)({},e),window.TradingView.changeLoginState(!0),"function"==typeof t&&window.TVDialogs&&window.TVDialogs.signModal?window.TVDialogs.signModal.on("signinSuccess",()=>{t()}):"function"==typeof t&&t()},window.loginRequiredDelegate=new(l()),window.runOrSignIn=(e,t)=>{t||(t={}),e()},window.onLoginStateChange=u,window.TradingView.setTrialAvailiable=e=>{c.TVLocalStorage.setItem("trial_availiable",e?"1":"0")},window.TradingView.notificationsChanged=new(l())},68906:(e,t,i)=>{"use strict";i.r(t),i.d(t,{generateColor:()=>r,alphaToTransparency:()=>n,transparencyToAlpha:()=>o,applyTransparency:()=>a,resetTransparency:()=>l,getLuminance:()=>c,isHexColor:()=>h,colorFromBackground:()=>d, +gradientColorAtPercent:()=>u,isColorDark:()=>p,rgbaFromInteger:()=>_,rgbaToInteger:()=>m,colorToInteger:()=>g});var s=i(24377);function r(e,t,i){if(t=t||0,!h(e))return i?(0,s.rgbaToString)((0,s.rgba)((0,s.parseRgb)(e),(0,s.normalizeAlphaComponent)(o(t)))):e;const[r,n,a]=(0,s.parseRgb)(e),l=(0,s.normalizeAlphaComponent)(o(t));return(0,s.rgbaToString)([r,n,a,l])}function n(e){return 100*(1-e)}function o(e){if(e<0||e>100)throw new Error("invalid transparency");return 1-e/100}function a(e,t){if("transparent"===e)return e;const i=(0,s.parseRgba)(e),r=i[3];return(0,s.rgbaToString)((0,s.rgba)(i[0],i[1],i[2],o(t)*r))}function l(e){return"transparent"===e||h(e)?e:(0,s.rgbaToString)((0,s.rgba)((0,s.parseRgb)(e),(0,s.normalizeAlphaComponent)(1)))}function c(e){const t=(0,s.parseRgb)(e).map(e=>(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4));return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function h(e){return 0===e.indexOf("#")}function d(e){return"black"===(0,s.rgbToBlackWhiteString)((0,s.parseRgb)(e),150)?"#ffffff":"#000000"}function u(e,t,i){const[r,n,o,a]=(0,s.parseRgba)(e),[l,c,h,d]=(0,s.parseRgba)(t),u=(0,s.rgba)(Math.round(r+i*(l-r)),Math.round(n+i*(c-n)),Math.round(o+i*(h-o)),a+i*(d-a));return(0,s.rgbaToString)(u)}function p(e){return c(l(e))<.5}function _(e){const t=(e=Math.round(e))%256;e-=t;const i=(e/=256)%256;e-=i;const s=(e/=256)%256;e-=s;return`rgba(${t},${i},${s},${(e/=256)/255})`}function m(e){const t=Math.round(255*e[3]);return e[0]+256*e[1]+65536*e[2]+16777216*t}function g(e){const t=(0,s.tryParseRgba)(e);return null===t?0:m(t)}},59199:(e,t,i)=>{"use strict";i.d(t,{doAnimate:()=>n});const s={from:0,duration:250,easing:i(68587).easingFunc.easeOutCubic};class r{constructor(e){this._doing=!0,this._completed=!1,this._options={...s,...e};const t=performance.now();window.requestAnimationFrame(e=>{this._animation(t,this._options.from,e)})}stop(){this._doing=!1}completed(){return this._completed}_animation(e,t,i){if(!this._doing)return void this._finishAnimation();const s=(i=!i||i<1e12?performance.now():i)-e,r=s>=this._options.duration||t===this._options.to,n=(o=this._options.from,a=this._options.to,l=this._options.easing(s/this._options.duration),o*(1-l)+a*l);var o,a,l;const c=r?this._options.to:n,h=c-t;this._options.onStep(h,c),r?this._finishAnimation():window.requestAnimationFrame(t=>{this._animation(e,c,t)})}_finishAnimation(){this._options.onComplete&&this._options.onComplete(),this._completed=!0}}function n(e){return new r(e)}},85198:(e,t,i)=>{"use strict";i.d(t,{fetch:()=>s});(0,i(98125).getLogger)("Fetch");function s(e,t,i={}){return window.fetch(e,t)}},98125:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LOGLEVEL:()=>n,getLogLevel:()=>_,isHighRateEnabled:()=>m,setLogLevel:()=>g,getRawLogHistory:()=>f,serializeLogHistoryEntry:()=>v,getLogHistory:()=>S,getLogger:()=>b,loggingOn:()=>C,loggingOff:()=>P});const s="undefined"!=typeof window?window:{};let r=!1;try{localStorage.getItem(""),r=!0}catch(e){}var n;!function(e){e[e.ERROR=1]="ERROR",e[e.WARNING=2]="WARNING",e[e.INFO=3]="INFO", +e[e.NORMAL=4]="NORMAL",e[e.DEBUG=5]="DEBUG"}(n||(n={}));let o=0;const a=[];let l=null,c=null,h=null,d=NaN,u=n.WARNING,p=!1;function _(){return u}function m(){return p}function g(e){e=Math.max(n.ERROR,Math.min(n.DEBUG,e)),u=e,T()}function f(e,t){let i=a.reduce((e,t)=>e.concat(t),[]);return i.sort((e,t)=>e.id-t.id),void 0!==t&&(i=i.filter(e=>e.subSystemId===t)),"number"==typeof e&&(i=i.slice(-e)),i}function v(e){return new Date(e.timestamp).toISOString()+":"+e.subSystemId+":"+e.message.replace(/"/g,"'")}function S(e,t){return function(e,t){let i,s=0,r=0;for(i=e.length-1;i>=1&&(s+=8*(1+encodeURIComponent(e[i]).length),!(i-1>0&&(r=8*(1+encodeURIComponent(e[i-1]).length),s+r>t)));i--);return e.slice(i)}(f(e,t).map(v),75497472)}function y(e,t,i,r){if(t===c&&r.id===h)return;const a=new Date;if(e<=n.NORMAL&&function(e,t,i,r,n){"function"===s.structuredClone&&(t=s.structuredClone(t));const a={id:o,message:t,subSystemId:r,timestamp:Number(e)};o+=1,i.push(a),void 0!==n&&i.length>n&&i.splice(0,1)}(a,t,i,r.id,r.maxCount),e<=u&&(!r.highRate||m())&&(!l||r.id.match(l))){const i=a.toISOString()+":"+r.id+":"+t;switch(e){case n.DEBUG:console.debug(i);break;case n.INFO:case n.NORMAL:r.color?console.log("%c"+i,"color: "+r.color):console.log(i);break;case n.WARNING:console.warn(i);break;case n.ERROR:console.error(i)}c=t,h=r.id,d&&clearTimeout(d),d=setTimeout(()=>{c=null,h=null,d=NaN},1e3)}}function b(e,t={}){const i=[];a.push(i);const s=Object.assign(t,{id:e});function r(e){return t=>y(e,String(t),i,s)}return{logDebug:r(n.DEBUG),logError:r(n.ERROR),logInfo:r(n.INFO),logNormal:r(n.NORMAL),logWarn:r(n.WARNING)}}const w=b("logger"),C=s.lon=(e,t)=>{g(n.DEBUG),w.logNormal("Debug logging enabled"),p=Boolean(e),l=t||null,T()},P=s.loff=()=>{g(n.INFO),w.logInfo("Debug logging disabled")};function T(){try{r&&(localStorage.setItem("tv.logger.logHighRate",String(p)),localStorage.setItem("tv.logger.loglevel",String(u)))}catch(e){w.logWarn(`Cannot save logger state (level: ${u}, high-rate: ${p}) to localStorage: ${e.message}`)}}!function(){p=!!r&&"true"===localStorage.getItem("tv.logger.logHighRate");let e=parseInt(r&&localStorage.getItem("tv.logger.loglevel")||"");Number.isNaN(e)&&(e=n.WARNING),g(e),w.logNormal(`Init with settings - level: ${u}, high-rate: ${p}`)}(),s.performance&&s.performance.now?w.logNormal("Sync logger and perf times, now is "+s.performance.now()):w.logWarn("Perf time is not available")},52640:(e,t,i)=>{"use strict";function s(e,t,i,s){return`${s?s+" ":""}${i?i+" ":""}${e}px ${t}`}i.d(t,{makeFont:()=>s,parseFont:()=>n});const r=/(bold )?(italic )?(\d+)(px|pt) (.*)$/;function n(e){const t=r.exec(e);return null===t?null:{family:t[5],size:parseInt(t[3])*("pt"===t[4]?.75:1),bold:Boolean(t[1]),italic:Boolean(t[2])}}},45415:(e,t,i)=>{"use strict";i.d(t,{visitObject:()=>n});var s=i(80643);function r(e,t,i){return(0,s.isArray)(e)?function(e,t,i){return e.map(e=>{const s=r(e,t,i),n=t(s);return void 0!==n?n:s})}(e,t,i):(0,s.isObject)(e)&&((0,s.isHashObject)(e)||i&&i.visitInstances)?function(e,t,i){const s={} +;return Object.keys(e).forEach(n=>{const o=r(e[n],t,i),a=t(o);s[n]=void 0!==a?a:o}),s}(e,t,i):e}function n(e,t,i){const s=r(e,t,i),n=t(s);return void 0!==n?n:s}},28789:(e,t,i)=>{"use strict";function s(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}i.d(t,{regExpEscape:()=>s})},62820:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isRtl:()=>r,stripLTRMarks:()=>o,startWithLTR:()=>a,forceLTRStr:()=>l,forceLTRStrSsr:()=>c,forceRTLStr:()=>h,getLTRScrollLeft:()=>d,getLTRScrollLeftOffset:()=>u,detectAutoDirection:()=>m});var s=i(64531);const r=()=>"rtl"===window.document.dir,n=new RegExp("‎|‪|‫|‬","g");function o(e){return""!==e&&r()&&null!=e?e.replace(n,""):e}function a(e){return""!==e&&r()&&null!=e?"‎"+e:e}function l(e){return""!==e&&r()&&null!=e?"‪"+e+"‬":e}function c(e){return"‪"+e+"‬"}function h(e){return""!==e&&r()&&null!=e?"‫"+e+"‬":e}function d(e){return(0,s.getNormalizedScrollLeft)(e,"rtl")}function u(e,t){const i=(0,s.detectScrollType)();if("indeterminate"===i)return 0;switch(i){case"negative":t=e.clientWidth-e.scrollWidth+t;break;case"reverse":t=e.scrollWidth-e.clientWidth-t}return t}const p=/[^\u0000-\u0040\u005B-\u0060\u007B-\u00BF\u00D7\u00F7\u02B9-\u02FF\u2000-\u200E\u2010-\u2029\u202C\u202F-\u2BFF]/,_=/[\u0590-\u07FF\u200F\u202B\u202E\uFB1D-\uFDFD\uFE70-\uFEFC]/;function m(e){const t=p.exec(e);return t?_.test(t[0])?"rtl":"ltr":""}},68587:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CubicBezier:()=>s.CubicBezier,color:()=>s.color,dur:()=>s.dur,easingFunc:()=>s.easingFunc});var s=i(74991)},51193:(e,t,i)=>{"use strict";function s(){return Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(9289),i.e(4017),i.e(1e3),i.e(2077)]).then(i.bind(i,30349))}i.d(t,{loadChangeIntervalDialog:()=>s})},8636:(e,t,i)=>{"use strict";i.d(t,{showChangeIntervalDialogAsync:()=>n});var s=i(51193);let r=null;function n(e){const t=r=(0,s.loadChangeIntervalDialog)().then(i=>{t===r&&i.showChangeIntervalDialog(e)});return t}},94420:(e,t,i)=>{"use strict";function s(e){return Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(3713),i.e(7345),i.e(1333),i.e(8268),i.e(9055),i.e(2358),i.e(2006),i.e(5298),i.e(9255),i.e(1e3),i.e(8994),i.e(2502),i.e(7404),i.e(1859)]).then(i.bind(i,50773)).then(t=>t.showGoToDateDialog(e))}i.d(t,{showGoToDateDialog:()=>s})},65645:(e,t,i)=>{"use strict";i.d(t,{showTooManyStudiesNotice:()=>n});var s=i(28353),r=i(3615);function n(e){"number"!=typeof e&&(e=TradingView.STUDY_COUNT_LIMIT),(0,r.showWarning)({title:(0,s.t)("Warning"),text:(0,s.t)("Studies limit exceeded: {number} studies per layout.\nPlease, remove some studies.").format({number:e})})}},34615:(e,t,i)=>{"use strict";i.d(t,{StudyMarket:()=>n});var s=i(52714),r=i.n(s);class n{constructor(e,t){this._visibility=new(r())(!1),this._dialogPromise=null,this._dialog=null,this._chartWidgetCollection=e,this._options=t}visible(){return this._visibility.readonly()}show(e,t){var i;null===this._dialog&&this._requestDialog(e,t),null===(i=this._dialog)||void 0===i||i.open(e,void 0,t)}hide(){var e +;null===(e=this._dialog)||void 0===e||e.hide()}resetAllPages(){var e;null===(e=this._dialog)||void 0===e||e.resetAllStudies()}_requestDialog(e,t){if(null===this._dialogPromise){let s;s=Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(7962),i.e(8986),i.e(5774),i.e(1112),i.e(9637),i.e(775),i.e(1e3),i.e(6456)]).then(i.bind(i,54127)).then(e=>new e.IndicatorsLibraryContainer(this._chartWidgetCollection,this._options)),this._dialogPromise=s.then(i=>{this._dialog=i,this._dialog.visible().subscribe(e=>{this._visibility.setValue(e)}),this._dialog.open(e,void 0,t)})}return this._dialogPromise}}},13221:(e,t,i)=>{"use strict";i.d(t,{setAdditionalSymbolInfoFields:()=>r,getAdditionalSymbolInfoFields:()=>n});let s=[];function r(e){s=e}function n(){return s}},88679:(e,t,i)=>{"use strict";function s(e,t){Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(5399),i.e(5069),i.e(1e3),i.e(9374)]).then(i.t.bind(i,65398,19)).then(i=>{i.showSymbolInfoDialog(e,t)})}i.d(t,{showSymbolInfoDialog:()=>s})},89330:(e,t,i)=>{"use strict";i.d(t,{ChartSaverBase:()=>s});class s{constructor(e){this._chartWidgetCollection=e}saveChartLineTools(e,t,i){return Promise.reject("Line tools storage is not supported")}_getCommonSavingInfo(e){const t=this._chartWidgetCollection,i=this._chartWidgetCollection.chartsSymbols(),s=i[t.activeChartWidget.value().id()],r={...(n=s,{...n,legs:JSON.stringify(null!==(o=n.legs)&&void 0!==o?o:[])})};var n,o;const a=t.metaInfo;return a.id.value()&&(r.id=a.id.value()),r.name=a.name.value()||"",r.description=a.description.value()||"",r.charts_symbols=function(e){const t={};for(const i of Object.keys(e))t[i]={symbol:e[i].symbol};return JSON.stringify(t)}(i),r.is_realtime=r.is_realtime=e?"0":"1",r}async _saveLineToolsToStorage(){return Promise.resolve()}}},76900:(e,t,i)=>{"use strict";var s=i(2872),r=i(28353).t,n=i(88537).assert,o=i(80643).deepEquals,a=i(43007).backend,l=i(89330).ChartSaverBase;r("The publication preview could not be loaded. Please disable your browser extensions and try again."),r("Failed to save library"),r("Failed to save script");function c(e,t){e.content=JSON.stringify(t)}t.ChartSaver=class extends l{constructor(e){super(e),this._chartAboutToBeSavedDelegate=new s,this._chartSavedDelegate=new s,this._prevChartState=null,this._chartSizeLimitExceededDelegate=new s}chartSizeLimitExceeded(){return this._chartSizeLimitExceededDelegate}chartAboutToBeSaved(){return this._chartAboutToBeSavedDelegate}chartSaved(){return this._chartSavedDelegate}whenReadyToSave(e){var t=this._chartWidgetCollection.activeChartWidget.value().model().mainSeries();if(t.hasDelayedSymbolIntervalChange()){var i,s=null;i=function(){t.dataEvents().symbolError().unsubscribe(null,s,!0),e()},s=function(){t.dataEvents().symbolResolved().unsubscribe(null,i,!0)},t.dataEvents().symbolResolved().subscribe(null,i,!0),t.dataEvents().symbolError().subscribe(null,s,!0)}else e()}saveToJSON(){var e=this._getCommonSavingInfo(!1);return c(e,this._getChartWidgetCollectionState(!1,!0)),e}_getChartWidgetCollectionState(e,t,i,s,r){ +return e||(t=!0,s=!1),t?this._chartWidgetCollection.state(!!e,i,s,r):this._chartWidgetCollection.activeChartWidget.value().state(!!e,i,s,r)}publishChart(e){}publishScript(e,t,i){}onPublish(e,t){}_saveChartImpl(e,t,i,s,r,n){var o=i,l=s;if(o=function(s){t.id.value()||(t.id.setValue(s),t.uid.setValue(s)),"function"==typeof i&&i(t,e)},!e.name)return console.warn("Saving chart with empty name is not allowed"),void s();a.saveChart(e.name,e.short_name,e.resolution,e,t).then(o.bind(this)).catch(l.bind(this))}_saveChart(e,t,i,s){var r=this._chartWidgetCollection.metaInfo,n=function(n){return o(this._prevChartState,n)[0]&&null!=r.id.value()?(this._chartSavedDelegate.fire(!0),void(t&&t(r,n))):this._saveChartImpl(n,r,t,i,s,e)}.bind(this);this._saveLineToolsToStorage().then((function(){var t=e(!0);return n(t)})).catch((function(t){var i=e(!1);return n(i)}))}saveChartSilently(e,t,i){i=i||{};var s=function(e){var t=e&&!1,s=this._getChartWidgetCollectionState(!1,void 0,void 0,void 0,t),r=this._getCommonSavingInfo(!1,t);return c(r,s),i.chartName&&(r.name=i.chartName),r.name&&0!==r.name.length||!i.defaultChartName||(r.name=i.defaultChartName),i.autoSave&&(r.autoSave=!0),r}.bind(this);this._isSaveInProcess=!0,this._chartAboutToBeSavedDelegate.fire(),this._saveChart(s,function(t,i){n(!this._chartWidgetCollection.readOnly(),"Trying to save layout in read-only mode"),this._chartWidgetCollection.metaInfo.name.setValue(i.name),this._prevChartState=i,this._chartSavedDelegate.fire(!0),this._isSaveInProcess=!1,e&&e({uid:t.uid.value(),data:i}),delete this._prevChartState.savingToken}.bind(this),function(){this._chartSavedDelegate.fire(!1),this._isSaveInProcess=!1,t&&t.apply(null,arguments)}.bind(this),i)}isSaveInProcess(){return this._isSaveInProcess}}},1570:(e,t,i)=>{"use strict";i.d(t,{getTranslatedSymbolDescription:()=>s});i(28353);function s(e){return e.description||""}},82724:(e,t,i)=>{"use strict";function s(e){return e+"…"}i.d(t,{appendEllipsis:()=>s})},8128:(e,t,i)=>{"use strict";function s(e){if(!o(e))throw e}function r(e){return(null==e?void 0:e.aborted)?Promise.reject(n()):new Promise((t,i)=>{null==e||e.addEventListener("abort",()=>i(n()),{once:!0})})}function n(){return new DOMException("Aborted","AbortError")}function o(e){return e instanceof Error&&"AbortError"===e.name}function a(e,t){return Promise.race([r(e),t])}async function l(e,t){let i;try{await a(e,new Promise(e=>{i=setTimeout(e,t)}))}finally{clearTimeout(i)}}i.d(t,{skipAbortError:()=>s,createAbortError:()=>n,isAbortError:()=>o,respectAbort:()=>a,delay:()=>l})},98619:(e,t,i)=>{"use strict";function s(e){let t;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if(e instanceof Date)t=new Date(e.valueOf());else if(Array.isArray(e)){t=[];let i=0;const r=e.length;for(;is})},15840:(e,t,i)=>{"use strict";function s(e,...t){return e&&"object"==typeof e?(0===t.length||t.forEach(t=>{ +null!=t&&"object"==typeof t&&Object.keys(t).forEach(i=>{const n=e[i],o=t[i];if(o===e)return;const a=Array.isArray(o);if(o&&(r(o)||a)){let t;t=a?n&&Array.isArray(n)?n:[]:n&&r(n)?n:{},e[i]=s(t,o)}else void 0!==o&&(e[i]=o)})}),e):e}function r(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);if(!t)return!0;const i=Object.hasOwnProperty.toString,s=t.hasOwnProperty("constructor")&&t.constructor;return"function"==typeof s&&i.call(s)===i.call(Object)}i.d(t,{deepExtend:()=>s})},88461:(e,t,i)=>{"use strict";function s(e){if(void 0===e)return"";if(e instanceof Error){let t=e.message;return e.stack&&(t+=" "+e.stack),t}return"string"==typeof e?e.toString():JSON.stringify(e)}i.d(t,{errorToString:()=>s})},72077:(e,t,i)=>{"use strict";i.d(t,{getTwemojiUrl:()=>r});var s=i(18438);function r(e,t){let i="";return s.default.parse(e,e=>(i=s.default.base+("svg"===t?`svg/${e}.svg`:`72x72/${e}.png`),!1)),i}s.default.base="https://cdnjs.cloudflare.com/ajax/libs/twemoji/13.0.1/"},9423:(e,t,i)=>{"use strict";i.r(t),i.d(t,{guid:()=>r,randomHash:()=>n,randomHashN:()=>o});const s="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function n(){return o(12)}function o(e){let t="";for(let i=0;i{"use strict";i.d(t,{pushBackListener:()=>l,disable:()=>c,enable:()=>h});var s=i(9423);const r=[];let n=null;function o(e){for(let t=0;t=0&&!0!==r[t].func(e);t--);}function l(e,t){const i={name:e,func:t},s=o(i.name);s>-1&&r.splice(s,1),r.unshift(i)}function c(){return n?null:(n=(0,s.randomHashN)(4),n)}function h(e){if(e!==n)throw Error("Lock id is outdated");n=null}window.addEventListener("keypress",a,!1)},62046:(e,t,i)=>{"use strict";i.d(t,{parseHtml:()=>r,parseHtmlElement:()=>n});const s=new WeakMap;function r(e,t){let i,r;return i=null==t?document.documentElement:9===t.nodeType?t.documentElement:t,s&&(r=s.get(i)),r||(r=i.ownerDocument.createRange(),r.selectNodeContents(i),s&&s.set(i,r)),r.createContextualFragment(e)}function n(e,t){const i=r(e,t),s=i.firstElementChild;return null!==s&&i.removeChild(s),s}},54475:(e,t,i)=>{"use strict";function s(e){e.preventDefault()}i.d(t,{preventDefault:()=>s,preventDefaultForContextMenu:()=>n});const r=["input:not([type])",'input[type="text"]','input[type="email"]','input[type="password"]','input[type="search"]','input[type="number"]','input[type="url"]',"textarea","a[href]",'*[contenteditable="true"]',"[data-allow-context-menu]"];function n(e){const t=e.target;t&&!t.closest(r.join(", "))&&e.preventDefault()}},80054:(e,t,i)=>{"use strict";i.d(t,{htmlEscape:()=>n,removeSpaces:()=>o,capitalizeFirstLetterInWord:()=>a});const s=/[<"'&>]/g,r=e=>`&#${e.charCodeAt(0)};`;function n(e){return e.replace(s,r)}function o(e=""){ +return e.replace(/\s+/g,"")}function a(e=""){return e.replace(/\b\w/g,e=>e.toUpperCase())}},96397:(e,t,i)=>{"use strict";function s(e){return e.reduce((function(e,t,i){return~e.indexOf(t)||e.push(t),e}),[])}i.r(t),i.d(t,{uniq:()=>s})},69677:(e,t,i)=>{"use strict";function s(e,t=!1){"loading"!==document.readyState?t?setTimeout(()=>e(),1):e():document.addEventListener("DOMContentLoaded",()=>e())}i.d(t,{whenDocumentReady:()=>s});new Promise(e=>{s(e)})},38881:(e,t,i)=>{"use strict";i.d(t,{ChunkLoader:()=>r});var s=i(8128);class r{constructor(){this._retries=5,this._cache=null,this._tryLoad=(e,t)=>{this._retries=this._retries-1;this._startLoading(e).then(t,0!==this._retries?i=>{(0,s.isAbortError)(i)||setTimeout(()=>this._tryLoad(e,t),3e3)}:void 0)}}load(e){return this._cache||(this._cache=new Promise(this._tryLoad.bind(this,null!=e?e:null))),this._cache}}},65446:(e,t,i)=>{"use strict";function s(e){return r(e,null)}function r(e,t){const i=e.files&&e.files.length>0;if(!i&&t&&t.eventPhase>0)return n(t,e),Promise.resolve();if(!i){let t=!1;const i=i=>{i.stopImmediatePropagation(),n(i,e),t=!0};try{document.addEventListener("copy",i,!0),document.execCommand("copy")}finally{document.removeEventListener("copy",i,!0)}if(t)return Promise.resolve()}return async function(e){if(!navigator.clipboard||!navigator.clipboard.write||!window.ClipboardItem)throw new DOMException("ClipboardApi is not supported","NotSupportedError");const t={};for(const i of e.files||[])t[i.type]=i;e.text&&(t["text/plain"]=e.text);e.html&&(t["text/html"]=e.html);return navigator.clipboard.write([new window.ClipboardItem(t)])}(e)}function n(e,t){e.preventDefault();const i=e.clipboardData;t.text&&i.setData("text/plain",t.text),t.html&&i.setData("text/html",t.html)}async function o(e,t){if("text/plain"===t&&!navigator.clipboard.write){const t=await e;return navigator.clipboard.writeText(await t.text())}if(!navigator.clipboard||!navigator.clipboard.write||!window.ClipboardItem)throw new DOMException("ClipboardApi is not supported","NotSupportedError");let i=null;try{i=new window.ClipboardItem({[t]:e})}catch(s){i=new window.ClipboardItem({[t]:await e})}if(i)return navigator.clipboard.write([i]);throw new Error("ClipboardApi is not supported")}i.d(t,{copyToClipboard:()=>s,writeImpl:()=>r,writePromiseUsingApi:()=>o})},5370:(e,t,i)=>{"use strict";function s(e){if(void 0===e)return null;const t=e.match(/(delayed_streaming)_([\d]{1,4})/);return null===t?null:{mode:t[1],interval:parseInt(t[2])}}i.d(t,{parseUpdateMode:()=>s})},84917:(e,t,i)=>{"use strict";var s,r;i.r(t),i.d(t,{WeekDays:()=>s,Months:()=>r}),function(e){e[e.SUNDAY=1]="SUNDAY",e[e.MONDAY=2]="MONDAY",e[e.TUESDAY=3]="TUESDAY",e[e.WEDNESDAY=4]="WEDNESDAY",e[e.THURSDAY=5]="THURSDAY",e[e.FRIDAY=6]="FRIDAY",e[e.SATURDAY=7]="SATURDAY"}(s||(s={})),function(e){e[e.JANUARY=0]="JANUARY",e[e.FEBRUARY=1]="FEBRUARY",e[e.MARCH=2]="MARCH",e[e.APRIL=3]="APRIL",e[e.MAY=4]="MAY",e[e.JUNE=5]="JUNE",e[e.JULY=6]="JULY",e[e.AUGUST=7]="AUGUST",e[e.SEPTEMBER=8]="SEPTEMBER",e[e.OCTOBER=9]="OCTOBER",e[e.NOVEMBER=10]="NOVEMBER", +e[e.DECEMBER=11]="DECEMBER"}(r||(r={}))},81836:(e,t,i)=>{"use strict";function s(){let e,t;return{promise:new Promise((i,s)=>{e=i,t=s}),reject:t,resolve:e}}i.d(t,{createDeferredPromise:()=>s})},76861:(e,t,i)=>{"use strict";function s(e=location.host){return-1!==["i18n.tradingview.com","partial.tradingview.com","www.tradingview.com","wwwcn.tradingview.com"].indexOf(e)||-1!==["d33t3vvu2t2yu5.cloudfront.net","dwq4do82y8xi7.cloudfront.net","s.tradingview.com","s3.tradingview.com"].indexOf(e)||e.match(/^[a-z]{2}\.tradingview\.com/)||e.match(/prod-[^.]+.tradingview.com/)?"battle":e.includes("tradingview.com")||e.includes("staging")?"staging":e.match(/webcharts/)?"staging_local":(e.match(/^localhost(:\d+)?$/),"local")}function r(){return"local"===s()}function n(){return"battle"===s()}function o(){return!n()}i.r(t),i.d(t,{environment:()=>s,isLocal:()=>r,isProd:()=>n,isDebug:()=>o})},80007:(e,t,i)=>{"use strict";i.d(t,{preventDefault:()=>r,wrapHandlerWithPreventEvent:()=>n,preventScrollByWheelClick:()=>o});var s=i(49483);function r(e){e.cancelable&&e.preventDefault()}function n(e){return t=>{r(t),e()}}function o(e){s.isChrome&&e.addEventListener("mousedown",e=>{if(1===e.button)return e.preventDefault(),!1})}},46627:(e,t,i)=>{"use strict";i.d(t,{FeatureToggleWatchedValue:()=>n});var s=i(52714),r=i.n(s);class n extends(r()){constructor(e,t){super(function(e,t){return t}(0,t))}destroy(){0}}},56186:(e,t,i)=>{"use strict";function s(e){if(e instanceof Error)return e.stack||e.message;try{return e.outerHTML.slice(0,1024)}catch(e){}try{if(void 0!==e)return JSON.stringify(e).slice(0,1024)}catch(e){}return String(e)}function r(){window.__tv_js_errors||(window.__tv_js_errors=[]),window.addEventListener("error",e=>{const t=(new Date).toISOString();window.__tv_js_errors.push(`${t} ${e.message||"JS error"}. ${e.filename||""}, line ${e.lineno}, col ${e.colno}.\nError: `+s(e.error))},!1),window.addEventListener("unhandledrejection",e=>{const t=(new Date).toISOString();window.__tv_js_errors.push(t+" Unhandled rejection.\nReason: "+s(e.reason))},!1),document.addEventListener("securitypolicyviolation",e=>{var t,i;const r=(new Date).toISOString(),n="report"===e.disposition?"CSP report-only":"CSP violation";window.__tv_js_errors.push(`${r} ${n}: ${e.violatedDirective||e.effectiveDirective}. ${e.sourceFile||""}, line ${null!==(t=e.lineno)&&void 0!==t?t:e.lineNumber}, col ${null!==(i=e.colno)&&void 0!==i?i:e.columnNumber}.\nBlocked URI: ${e.blockedURL||e.blockedURI}\nSample: ${e.sample}\nTarget: `+s(e.target))},!1)}i.d(t,{install:()=>r})},76422:(e,t,i)=>{"use strict";i.r(t),i.d(t,{unsubscribe:()=>l,on:()=>c,subscribe:()=>h,subscribeToAll:()=>d,emit:()=>u,emitOnce:()=>p});var s=i(2872),r=i.n(s);const n={},o=[],a={};function l(e,t,i){n[e].unsubscribe(i,t)}function c(e,t,i){h(e,t,i)}function h(e,t,i,s){n.hasOwnProperty(e)||(n[e]=new(r())),a[e]?t.call(i):n[e].subscribe(i,t,s)}function d(e){o.push(e)}function u(e,...t){const i=[e].concat(t);o.forEach(e=>{e.apply(null,i)}),n.hasOwnProperty(e)&&n[e].fire.apply(n[e],t)} +function p(e){a[e]&&console.warn(`Something went wrong: emitOnce called multiple times with same event (${e})`),a[e]=!0,u.apply(null,arguments)}},25760:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Modifiers:()=>s.Modifiers,createGroup:()=>u,pressedKeys:()=>d,registerWindow:()=>p,unregisterWindow:()=>_});var s=i(68335),r=i(35749),n=i(52714),o=i.n(n);var a=i(51768);class l{constructor(e,t){this._group=e,this.hotkey=t.hotkey,this.handler=t.handler,this.desc=t.desc,this.element=t.element||null,t.isDisabled?"function"==typeof t.isDisabled?this.isDisabled=t.isDisabled:this.isDisabled=()=>!0:this.isDisabled=()=>!1}destroy(){this._group&&(this._group.remove(this),this._group=null)}}class c{constructor(e,t){this._actions=[],this._manager=e,this.modal=!(!t||!t.modal),t&&(this.desc=t.desc),t&&t.isDisabled?"function"==typeof t.isDisabled?this.isDisabled=t.isDisabled:this.isDisabled=()=>!0:this.isDisabled=()=>!1,this._manager.registerGroup(this)}add(e){const t=new l(this,e);return this._actions.push(t),t}remove(e){for(let t=this._actions.length;t-- >0;)this._actions[t]===e&&this._actions.splice(t,1)}handleHotkey(e,t){for(let i=this._actions.length;i-- >0;){const r=this._actions[i];if(r.hotkey===e&&((!r.element||t.target&&r.element.contains(t.target))&&!r.isDisabled()))return r.handler(t),t.preventDefault(),(0,a.trackEvent)("Keyboard Shortcuts",(0,s.humanReadableHash)(e)),!0}return!1}promote(){this._manager.promoteGroup(this)}destroy(){this._actions.length=0,this._manager.unregisterGroup(this)}}const h=new class{constructor(){this._groups=[],this._pressedKeys=new(o())(0),this._keyDownListener=e=>{if(e.defaultPrevented)return;const t=(0,s.hashFromEvent)(e);if(this._pressedKeys.setValue(t),!(0,r.isNativeUIInteraction)(t,e.target))for(let i=this._groups.length;i-- >0;){const s=this._groups[i];if(!s.isDisabled()){if(s.handleHotkey(t,e))return;if(s.modal)return}}},this._keyUpListener=e=>{const t=(0,s.hashFromEvent)(e);this._pressedKeys.setValue(t)},this._blurEvent=()=>{this._pressedKeys.setValue(0)},this._mouseEvent=e=>{const t=(0,s.modifiersFromEvent)(e),i=255&this._pressedKeys.value();this._pressedKeys.setValue(t|i)}}listen(e){e.addEventListener("keydown",this._keyDownListener),e.addEventListener("keyup",this._keyUpListener),e.addEventListener("blur",this._blurEvent),e.addEventListener("mousemove",this._mouseEvent)}unlisten(e){e.removeEventListener("keydown",this._keyDownListener),e.removeEventListener("keyup",this._keyUpListener),e.removeEventListener("blur",this._blurEvent),e.removeEventListener("mousemove",this._mouseEvent)}registerGroup(e){this._groups.push(e)}unregisterGroup(e){for(let t=this._groups.length;t--;)this._groups[t]===e&&this._groups.splice(t,1)}promoteGroup(e){let t=this._groups.length-1;for(let i=this._groups.length;i--;){if(this._groups[i]===e)return void(i!==t&&(this._groups.splice(i,1),this._groups.splice(t,0,e)));this._groups[i].modal&&(t=i-1)}}pressedKeys(){return this._pressedKeys}},d=h.pressedKeys();function u(e){return new c(h,e)}function p(e){h.listen(e)}function _(e){h.unlisten(e)}p(window)},68335:(e,t,i)=>{ +"use strict";i.r(t),i.d(t,{isMacKeyboard:()=>r,Modifiers:()=>n,modifiersFromEvent:()=>o,hashFromEvent:()=>a,hashShiftPlusEnter:()=>l,humanReadableModifiers:()=>c,humanReadableHash:()=>d});var s=i(49483);const r=(0,s.isMac)()||s.CheckMobile.iOS();var n;function o(e){let t=0;return e.shiftKey&&(t+=1024),e.altKey&&(t+=512),e.ctrlKey&&(t+=256),e.metaKey&&(t+=2048),t}function a(e){return o(e)|e.keyCode}!function(e){e[e.None=0]="None",e[e.Alt=512]="Alt",e[e.Shift=1024]="Shift",e[e.Mod=r?2048:256]="Mod",e[e.Control=256]="Control",e[e.Meta=2048]="Meta"}(n||(n={}));const l=1037;function c(e,t=!r){let i="";return 256&e&&(i+=r?"^":"Ctrl",t&&(i+=" + ")),512&e&&(i+=r?"⌥":"Alt",t&&(i+=" + ")),1024&e&&(i+=r?"⇧":"Shift",t&&(i+=" + ")),2048&e&&(i+=r?"⌘":"Win",t&&(i+=" + ")),i}const h={9:"⇥",13:"↵",27:"Esc",8:r?"⌫":"Backspace",32:"Space",35:"End",36:"Home",37:"←",38:"↑",39:"→",40:"↓",45:"Ins",46:"Del",188:",",191:"/"};for(let e=1;e<=16;e++)h[e+111]="F"+e;function d(e){let t=c(e);const i=255&e;return t+=i in h?h[i]:String.fromCharCode(i),t}},47193:(e,t,i)=>{"use strict";i.d(t,{migrateShortcut:()=>o});var s=i(68335);function r(e){if("number"==typeof e)return e;switch(e.toLowerCase()){case"ctrl":return s.Modifiers.Control;case"shift":return s.Modifiers.Shift;case"alt":return s.Modifiers.Alt;default:return e.toUpperCase().charCodeAt(0)}}function n(e){let t=0;for(let i=0;i{"use strict";i.d(t,{isTextEditingField:()=>r,isNativeUIInteraction:()=>n});var s=i(68335);function r(e){if("INPUT"===e.tagName){const t=e.type;return"text"===t||"email"===t||"number"===t||"password"===t||"search"===t||"tel"===t||"url"===t}return"TEXTAREA"===e.tagName||e.isContentEditable}function n(e,t){if(!t)return!1;const i=255&e;if(27===i||i>>>4==7)return!1;switch(e^i){case s.Modifiers.Alt:return(38===i||40===i)&&"SELECT"===t.tagName||r(t);case s.Modifiers.Alt+s.Modifiers.Shift:return r(t);case s.Modifiers.Mod:if(67===i||!s.isMacKeyboard&&45===i){const e=t.ownerDocument&&t.ownerDocument.getSelection();if(e&&!e.isCollapsed)return!0}return r(t);case s.Modifiers.Mod+s.Modifiers.Shift:return i>=33&&i<=40&&r(t);case s.Modifiers.Shift:case 0:return!!(9!==i||t.ownerDocument&&t!==t.ownerDocument.body&&t!==t.ownerDocument.documentElement)&&((13===i||32===i||!function(e){if("BUTTON"===e.tagName)return!0;if("INPUT"===e.tagName){const t=e.type;if("submit"===t||"button"===t||"reset"===t||"checkbox"===t||"radio"===t)return!0}return!1}(t))&&("form"in t||t.isContentEditable))}return!1}},82992:(e,t,i)=>{"use strict";i.d(t,{linking:()=>u});var s=i(4889),r=i(52714),n=i.n(r),o=i(67337),a=i(37667),l=i(98125),c=i(15943);const h=(0,l.getLogger)("Linking");var d;!function(e){e[e.NotBound=0]="NotBound",e[e.BoundToWidget=1]="BoundToWidget",e[e.BoundToModel=2]="BoundToModel"}(d||(d={}));const u=new class{constructor(){this._watchedSymbol=new(n()),this._seriesShortSymbol=new(n()),this._proSymbol=new(n()),this._watchedInterval=new(n()), +this._watchedIntraday=new(n()),this._watchedSeconds=new(n()),this._watchedTicks=new(n()),this._watchedRange=new(n()),this._watchedSupportedResolutions=new(n()),this._watchedSupportedChartStyles=new(n())([]),this._symbolNamesList=new(n()),this._chartWidgetBindingState=d.NotBound,this._activeChartWidget=null,this._watchedSymbolListenerBound=this._watchedSymbolListener.bind(this),this._watchedIntervalListenerBound=this._watchedIntervalListener.bind(this),this._onSymbolLinkBound=this._onSymbolLink.bind(this),this._searchCharts=null,this._searchChartsLoadDebounced=null,this._selfEmit=!1,this._preventFeedBySymbol=!1,this._feedBySymbolDebounceCounter=0}get symbol(){return this._watchedSymbol}get proSymbol(){return this._proSymbol}get symbolNamesList(){return this._symbolNamesList}get seriesShortSymbol(){return this._seriesShortSymbol.readonly()}get interval(){return this._watchedInterval}get intraday(){return this._watchedIntraday.readonly()}get seconds(){return this._watchedSeconds.readonly()}get ticks(){return this._watchedTicks.readonly()}get range(){return this._watchedRange.readonly()}get supportedResolutions(){return this._watchedSupportedResolutions.readonly()}get supportedChartStyles(){return this._watchedSupportedChartStyles.readonly()}get preventFeedBySymbol(){return this._preventFeedBySymbol}bindToChartWidget(e){if(this.unbindFromChartWidget(),this._activeChartWidget=e,e.hasModel())return void this._onChartModelCreated(e.model());e.modelCreated().subscribe(this,this._onChartModelCreated),this._chartWidgetBindingState=d.BoundToWidget;const t=e.properties().childs().mainSeriesProperties.childs();this._watchedSymbol.setValue(t.symbol.value()),this._watchedInterval.setValue(t.interval.value())}unbindFromChartWidget(){switch(this._chartWidgetBindingState){case d.BoundToWidget:if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");this._activeChartWidget.modelCreated().unsubscribe(this,this._onChartModelCreated);break;case d.BoundToModel:this._symbolProperty().unsubscribe(this,this._onSymbolPropertyChange),this._watchedSymbol.unsubscribe(this._watchedSymbolListenerBound),this._mainSeries().dataEvents().symbolResolved().unsubscribe(this,this._updateSeriesSymbolInfo),this._mainSeries().dataEvents().symbolError().unsubscribe(this,this._updateSeriesSymbolInfo),this._intervalProperty().unsubscribe(this,this._onIntervalPropertyChange),this._watchedInterval.unsubscribe(this._watchedIntervalListenerBound),delete this._watchedSymbol.hook,delete this._watchedSymbol.writeLock}this._activeChartWidget=null,this._chartWidgetBindingState=d.NotBound}getChartWidget(){return this._activeChartWidget}bindToChartWidgetCollection(e){this._chartWidgetCollection=e,this.unbindFromChartWidget(),e.activeChartWidget.subscribe(e=>{this.unbindFromChartWidget(),this.bindToChartWidget(e)},{callWithLast:!0})}bindToSearchCharts(e){this.unbindFromSearchCharts(),this._searchCharts=e,e.onSearchBySymbol.subscribe(this,this._onSearchBySymbol),e.loadingSymbol.subscribe(e=>{!1===e&&(this._feedBySymbolDebounceCounter=0)}), +this._watchedSymbol.subscribe(this._onSymbolLinkBound)}unbindFromSearchCharts(){this._searchCharts&&(this._searchCharts.onSearchBySymbol.unsubscribe(this,this._onSearchBySymbol),this._watchedSymbol.unsubscribe(this._onSymbolLinkBound),this._searchCharts=null)}setPreventFeedBySymbol(e){this._preventFeedBySymbol=e}_onSearchBySymbol(e){if(!e.resolved_symbol)throw new Error("no resolved_symbol");this._selfEmit=!0,this._watchedSymbol.setValue(e.resolved_symbol),this._selfEmit=!1}_onSymbolLink(e){if(!this._selfEmit){if(!this._searchCharts){const e="No search charts defined";throw h.logError(e),new Error(e)}this._preventFeedBySymbol||this._loadSearchCharts(e)}}_loadSearchCharts(e){if(!this._searchCharts){const e="No search charts defined";throw h.logError(e),new Error(e)}if(this._searchChartsLoadDebounced)return void(this._feedBySymbolDebounceCounter<100&&(this._feedBySymbolDebounceCounter++,this._searchChartsLoadDebounced(e)));const t=e=>this._searchCharts?(!0===this._searchCharts.loadingSymbol.value()?this._feedBySymbolDebounceCounter<100&&(this._feedBySymbolDebounceCounter++,this._searchChartsLoadDebounced=(0,s.default)(t,2e3),this._searchChartsLoadDebounced(e)):this._searchChartsLoadDebounced=null,this._searchCharts.feedBySymbol.call(this._searchCharts,e)):()=>{};!0===this._searchCharts.loadingSymbol.value()?this._feedBySymbolDebounceCounter<100&&(this._feedBySymbolDebounceCounter++,this._searchChartsLoadDebounced=(0,s.default)(t,2e3),this._searchChartsLoadDebounced(e)):this._searchCharts.feedBySymbol(e)}_mainSeries(){if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");return this._activeChartWidget.model().mainSeries()}_properties(){return this._mainSeries().properties()}_symbolProperty(){return this._properties().symbol}_intervalProperty(){return this._properties().interval}_watchedSymbolListener(e){this._symbolProperty().value()!==e&&this._chartWidgetCollection.setSymbol(e)}_sendSnowplowAnalytics(){if(!window.user.do_not_track)throw new Error("unsupported")}_onSymbolPropertyChange(){const e=this._symbolProperty().value()!==this._watchedSymbol.value();this._watchedSymbol.setValue(this._symbolProperty().value()),e&&this._chartWidgetCollection.setSymbol(this._symbolProperty().value())}_onSymbolResolved(e){const t=this._mainSeries().symbolInfo();t&&this._applyValuesFromSymbolInfo(t)}_applyValuesFromSymbolInfo(e){const t=e.pro_name||o.enabled("trading_terminal")&&(e.full_name||e.name)||"";this._proSymbol.setValue(t),e.aliases&&this._symbolNamesList.setValue(e.aliases)}_updateSeriesSymbolInfo(){this._seriesShortSymbol.setValue(this._properties().shortName.value());const e=this._mainSeries().symbolInfo();if(e){this._applyValuesFromSymbolInfo(e);{const t=e.supported_resolutions;t?this._watchedSupportedResolutions.setValue(t):this._watchedSupportedResolutions.setValue(void 0)}let t=(0,c.allChartStyles)();(0,a.isCloseBasedSymbol)(e)&&(t=t.filter(e=>(0,a.isSingleValueBasedStyle)(e))),this._watchedSupportedChartStyles.setValue(t),this._watchedIntraday.setValue(!!e.has_intraday), +this._watchedSeconds.setValue(!!e.has_seconds),this._watchedTicks.setValue(!(0,a.isCloseBasedSymbol)(e)&&!!e.has_ticks),this._watchedRange.setValue(!(0,a.isCloseBasedSymbol)(e))}else this._watchedIntraday.deleteValue(),this._watchedSeconds.deleteValue(),this._watchedTicks.deleteValue(),this._watchedRange.deleteValue(),this._proSymbol.deleteValue()}_watchedIntervalListener(e){this._intervalProperty().value()!==e&&this._chartWidgetCollection.setResolution(e)}_onIntervalPropertyChange(){const e=this._intervalProperty().value()!==this._watchedInterval.value();this._watchedInterval.setValue(this._intervalProperty().value()),e&&this._chartWidgetCollection.setResolution(this._intervalProperty().value())}_onChartModelCreated(e){if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");this._chartWidgetBindingState=d.BoundToModel,this._activeChartWidget.modelCreated().unsubscribe(this,this._onChartModelCreated);const t=this._symbolProperty();t.subscribe(this,this._onSymbolPropertyChange),this._watchedSymbol.setValue(t.value()),this._watchedSymbol.subscribe(this._watchedSymbolListenerBound);const i=this._mainSeries();i.dataEvents().symbolResolved().subscribe(this,this._onSymbolResolved),this._watchedSymbol.hook=e=>(i.symbolSameAsCurrent(e)&&(e=i.symbol()),e),i.dataEvents().symbolResolved().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolError().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolNotPermitted().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolGroupNotPermitted().subscribe(this,this._updateSeriesSymbolInfo),this._updateSeriesSymbolInfo();const s=this._intervalProperty();s.subscribe(this,this._onIntervalPropertyChange),this._watchedInterval.setValue(s.value()),this._watchedInterval.subscribe(this._watchedIntervalListenerBound),this._activeChartWidget.readOnly()&&(this._watchedSymbol.writeLock=!0)}};window.TradingViewApi||(window.TradingViewApi={linking:u})},11417:(e,t,i)=>{"use strict";const{getLogger:s}=i(98125),r=s("TVLocalStorage");var n=function(){try{this.isAvailable=!0,this.localStorage=window.localStorage,this.localStorage.setItem("tvlocalstorage.available","true")}catch(e){delete this.isAvailable,delete this.localStorage}this._updateLength();try{this._report()}catch(e){}};n.prototype._report=function(){if(this.isAvailable){const e=10,t=[];for(let e=0;et.length-e.length);const i=t.slice(0,e);t.sort((e,t)=>t.key.length-e.key.length);const s=t.slice(0,e);r.logNormal("Total amount of keys in Local Storage: "+this.length),r.logNormal(`Top ${e} keys with longest values: ${JSON.stringify(i)}`),r.logNormal(`Top ${e} longest key names: ${JSON.stringify(s)}`);try{navigator.storage.estimate().then(e=>{r.logNormal("Storage estimate: "+JSON.stringify(e))})}catch(e){}}},n.prototype.length=0,n.prototype.isAvailable=!1,n.prototype.localStorage={"tvlocalstorage.available":"false"},n.prototype._updateLength=function(){ +if(this.isAvailable)this.length=this.localStorage.length;else{var e,t=0;for(e in this.localStorage)this.localStorage.hasOwnProperty(e)&&t++;this.length=t}},n.prototype.key=function(e){return this.isAvailable?this.localStorage.key(e):Object.keys(this.localStorage)[e]},n.prototype.getItem=function(e){return this.isAvailable?this.localStorage.getItem(e):void 0===this.localStorage[e]?null:this.localStorage[e]},n.prototype.setItem=function(e,t){this.isAvailable?this.localStorage.setItem(e,t):this.localStorage[e]=t,this._updateLength()},n.prototype.removeItem=function(e){this.isAvailable?this.localStorage.removeItem(e):delete this.localStorage[e],this._updateLength()},n.prototype.clear=function(){this.isAvailable?this.localStorage.clear():this.localStorage={},this._updateLength()};var o=function(e){this.storage=e};o.prototype.getItem=function(e){return Promise.resolve(this.storage.getItem(e))},o.prototype.setItem=function(e,t){return Promise.resolve(this.storage.setItem(e,t))},window.TVLocalStorage=new n,window.TVLocalStorageAsync=new o(window.TVLocalStorage),e.exports={TVLocalStorage:window.TVLocalStorage,TVLocalStorageAsync:window.TVLocalStorageAsync}},84015:(e,t,i)=>{"use strict";function s(e,t=!1){return!1}function r(e){return e}i.d(t,{isOnMobileAppPage:()=>s,urlWithMobileAppParams:()=>r})},19334:(e,t,i)=>{"use strict";function s(){}i.d(t,{addPerfMark:()=>o});const r=console.timeStamp?console.timeStamp.bind(console):s,n=window.performance&&performance.mark?performance.mark.bind(performance):s;window.performance&&performance.measure&&performance.measure.bind(performance),window.performance&&performance.clearMarks&&performance.clearMarks.bind(performance);function o(e){r(e),n(e)}},14905:(e,t,i)=>{"use strict";function s(e){return e===r(e)}function r(e){const t=e.indexOf("$"),i=e.indexOf("@");return t<0&&i>=0?null:e.substring(Math.max(t+1,0),i>=0?i:e.length)}function n(e){return e.startsWith("PUB;")}i.d(t,{isPineIdString:()=>s,extractPineId:()=>r,isPublishedPineId:()=>n})},51872:(e,t,i)=>{"use strict";i.r(t),i.d(t,{qaGlobals:()=>s});const s=new class{constructor(e,t){this._test=e[t]={}}provide(e,t){this._test[e]=t}}(window,"qaGlobals")},16216:(e,t,i)=>{"use strict";i.r(t),i.d(t,{registerService:()=>o,unregisterService:()=>a,hasService:()=>l,service:()=>c,waitServiceRegistered:()=>h});var s=i(81836);const r={},n=new Map;function o(e,t){if(l(e))throw new Error("Service already registered");r[e.id]=t;const i=n.get(e.id);void 0!==i&&(n.delete(e.id),i.resolve(t))}function a(e){if(!l(e))throw new Error("Service not found");r[e.id]=void 0}function l(e){return void 0!==r[e.id]}function c(e){const t=r[e.id];if(void 0===t)throw new Error("ServiceLocator: Service "+e.id+" not found");return t}function h(e){if(l(e))return Promise.resolve(c(e));let t=n.get(e.id);return void 0===t&&(t=(0,s.createDeferredPromise)(),n.set(e.id,t)),t.promise}},56840:(e,t,i)=>{"use strict";e=i.nmd(e),i(49483);i(85198).fetch +;var s=i(28789).regExpEscape,r=i(21097).TVXWindowEvents,n=i(11417).TVLocalStorage,o=i(2872),a=i(67337),l=["s.tradingview.com","betacdn.tradingview.com"],c=a.enabled("use_localstorage_for_settings"),h=window.TVSettings=function(){var e=!1,t=null;function i(){return!t&&c}try{e=!TradingView.onWidget()&&parent&&parent!==window&&!!parent.IS_DEMO_PAGE}catch(e){}if(e){var d={"widgetbar.layout-settings":{widgets:{},settings:{minimized:!0}},notShowMainWizard:!0},u=function(e,t,i){var s=d[e];return null==s?t:s},p=function(){};return{loaded:!1,loadedModel:!1,getValue:u,getJSON:u,getBool:u,getFloat:u,getInt:u,setValue:p,setJSON:p,remove:p,keys:function(){return Object.keys(d)},keysMask:function(){return[]},sync:p,onSync:{subscribe:function(){}}}}window.environment;var _,m=TradingView.onWidget()?"tradingview-widget":"tradingview",g=m+".",f={},v=[/^widgetbar\.widget\.watchlist.+/,/.+quicks$/,/^widgetbar\.layout-settings$/,/^ChartSideToolbarWidget\.visible$/,/^onwidget\.watchlist$/,/^domepanel.visible$/,/^orderpanel.visible$/,/^chart\.favoriteDrawings$/,/^chart\.favoriteDrawingsPosition$/,/^loadChartDialog.favorites$/,/^ChartFavoriteDrawingToolbarWidget\.visible/,/^trading\.chart\.proterty$/,/^trading_floating_toolbar\.position$/,/^trading\.orderWidgetMode\./,/^symbolWatermark$/,/^pinereference\.size$/,/^pinereference\.position$/,/^hint\.+/,/^ChartDrawingToolbarWidget\.visible/];function S(e){return g+e}function y(e,t){var i=f[e];return null==i?t:i}function b(e,t,i){i=i||{};var s=""+t;return f[e]!==s&&(f[e]=s,C(e)),i.forceFlush&&!_&&(_=setTimeout((function(){_=void 0,P()}),10)),h}function w(e,t){return t=t||{},null!=f[e]&&(delete f[e],C(e)),t.forceFlush&&P(),h}function C(e){if(t)null==f[e]?t.removeValue(e):t.setValue(e,f[e]);else if(i())try{null==f[e]?n.removeItem(S(e)):n.setItem(S(e),f[e])}catch(e){}else 0;r.emit("settings",JSON.stringify({key:e,value:f[e]}))}function P(e){}function T(){return Object.keys(f)}function x(e){for(var t=0;t=0;n--)e.test(i[n])&&r.push(i[n]),e.lastIndex=0;return r},sync:function(e){null!==e?(t?M(t.initialSettings||{}):i()?(function(){if(TradingView.onWidget()&&l.includes(window.location.host))for(var e=n.length;e--;){var t=n.key(e);if(0===t.indexOf("tradingview.")){var i=t.replace("tradingview.",m+".");n.setItem(i,n.getItem(t)),n.removeItem(t)}}}(),function(){f={};for(var e=!a.enabled("save_chart_properties_to_local_storage"),t=n.length;t--;){var i=n.key(t);if(i&&I(i)){var s=i.substring(g.length);e&&!x(s)||(f[s]=n.getItem(i))}}}()):M(e||{}),L.fire()):!0},onSync:L,setSettingsAdapter:function(e){t=e}}}();e&&e.exports&&(e.exports=h)},26843:(e,t,i)=>{"use strict";i.d(t,{StdTheme:()=>a.StdTheme,getStdChartTheme:()=>h,getStdThemeNames:()=>c,isStdTheme:()=>u,translateThemeName:()=>d});var s=i(28353),r=i(24377) +;const n=JSON.parse('{"content":{"chartProperties":{"scalesProperties":{"textColor":"#131722","lineColor":"rgba(42, 46, 57, 0)","backgroundColor":"#ffffff"},"paneProperties":{"vertGridProperties":{"color":"rgba(42, 46, 57, 0.06)"},"horzGridProperties":{"color":"rgba(42, 46, 57, 0.06)"},"crossHairProperties":{"color":"#9598A1"},"background":"#ffffff","backgroundGradientStartColor":"#ffffff","backgroundGradientEndColor":"#ffffff","separatorColor":"#E0E3EB"}},"sessions":{"graphics":{"backgrounds":{"outOfSession":{"color":"#2962FF","transparency":92},"preMarket":{"color":"#FF9800","transparency":92},"postMarket":{"color":"#2962FF","transparency":92}},"vertlines":{"sessBreaks":{"color":"#4985e7","style":2,"width":1}}}},"mainSourceProperties":{"baseLineColor":"#B2B5BE","candleStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"haStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"barStyle":{"downColor":"#F23645","upColor":"#089981"},"pnfStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"},"baselineStyle":{"baselineColor":"#758696","topFillColor1":"rgba(8, 153, 129, 0.28)","topFillColor2":"rgba(8, 153, 129, 0.05)","bottomFillColor1":"rgba(242, 54, 69, 0.05)","bottomFillColor2":"rgba(242, 54, 69, 0.28)","topLineColor":"#089981","bottomLineColor":"#F23645"},"areaStyle":{"transparency":100,"color1":"rgba(41, 98, 255, 0.28)","color2":"#2962FF","linecolor":"#2962FF","linewidth":2,"linestyle":0},"renkoStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae","borderUpColorProjection":"#a9dcc3","borderDownColorProjection":"#f5a6ae","wickUpColor":"#089981","wickDownColor":"#F23645"},"lineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"kagiStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"},"pbStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae","borderUpColorProjection":"#a9dcc3","borderDownColorProjection":"#f5a6ae"},"rangeStyle":{"upColor":"#089981","downColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"}}}}'),o=JSON.parse('{"content":{"chartProperties":{"scalesProperties":{"textColor":"#B2B5BE","lineColor":"rgba(240, 243, 250, 0)","backgroundColor":"#ffffff"},"paneProperties":{"vertGridProperties":{"color":"rgba(240, 243, 250, 0.06)"},"horzGridProperties":{"color":"rgba(240, 243, 250, 0.06)"},"crossHairProperties":{"color":"#9598A1"},"background":"#131722","backgroundGradientStartColor":"#181C27","backgroundGradientEndColor":"#131722","backgroundType":"gradient","separatorColor":"#2A2E39"}},"sessions":{"graphics":{"backgrounds":{"outOfSession":{"color":"#2962FF","transparency":92},"preMarket":{"color":"#FF9800","transparency":92},"postMarket":{"color":"#2962FF","transparency":92}},"vertlines":{"sessBreaks":{"color":"#4985e7","style":2,"width":1}}}},"mainSourceProperties":{"baseLineColor":"#5d606b","candleStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#B5B5B8","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"haStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#B5B5B8","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"barStyle":{"downColor":"#F23645","upColor":"#089981"},"pnfStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#336854","downColorProjection":"#7f323f"},"baselineStyle":{"baselineColor":"#758696","topFillColor1":"rgba(8, 153, 129, 0.28)","topFillColor2":"rgba(8, 153, 129, 0.05)","bottomFillColor1":"rgba(242, 54, 69, 0.05)","bottomFillColor2":"rgba(242, 54, 69, 0.28)","topLineColor":"#089981","bottomLineColor":"#F23645"},"areaStyle":{"transparency":100,"color1":"rgba(41, 98, 255, 0.28)","color2":"#2962FF","linecolor":"#2962FF","linewidth":2,"linestyle":0},"renkoStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f","borderUpColorProjection":"#336854","borderDownColorProjection":"#7f323f","wickUpColor":"#089981","wickDownColor":"#F23645"},"lineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"kagiStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#336854","downColorProjection":"#7f323f"},"pbStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f","borderUpColorProjection":"#336854","borderDownColorProjection":"#7f323f"},"rangeStyle":{"upColor":"#089981","downColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f"}}}}') +;var a=i(24633);function l(){return{[a.StdTheme.Light]:JSON.parse(JSON.stringify(n)),[a.StdTheme.Dark]:JSON.parse(JSON.stringify(o))}}function c(){return[a.StdTheme.Light,a.StdTheme.Dark]}function h(e){return l()[e]}function d(e){return{[a.StdTheme.Light]:s.t("Light",{context:"colorThemeName"}),[a.StdTheme.Dark]:s.t("Dark",{context:"colorThemeName"})}[e]||e}function u(e){const t=l();return c().some(i=>p(t[i],e))}function p(e,t){let i=e.content===t.content;return function(e={},t){try{!function e(t,i,s){for(const r in t)if(t.hasOwnProperty(r)){const n=i.concat(r);if("object"==typeof t[r])e(t[r],n,s);else if(s(n,t[r]))throw new Error("exit")}}(e,[],t)}catch(e){return}}(e.content,(e,s)=>{const n=function(e,t={}){let i=t;for(let t=0;t{"use strict";var s;i.d(t,{StdTheme:()=>s}),function(e){e.Light="light",e.Dark="dark"}(s||(s={}))},6087:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_THEME:()=>p,extractThemeFromModel:()=>R,getCurrentTheme:()=>S,getStdTheme:()=>L,getStdThemeNames:()=>I,getStdThemedValue:()=>A,getTheme:()=>T,getThemeNames:()=>x,getThemedColor:()=>y,isPublicTheme:()=>v,isStdTheme:()=>N,isStdThemeName:()=>M,isStdThemedDefaultValue:()=>E,isThemeExist:()=>V,loadTheme:()=>b,removeTheme:()=>D,restoreTheme:()=>w,saveTheme:()=>k,savedThemeName:()=>C,syncTheme:()=>P,themes:()=>f,translateStdThemeName:()=>B});var s=i(24377),r=i(59803),n=i(56840);function o(){return(0,n.getValue)("current_theme.name")||null}var a=i(85198);const l=(0,i(98125).getLogger)("Themes.Provider");let c=null;function h(e){return(0,a.fetch)("/theme/?themeName="+encodeURIComponent(e),{credentials:"include",method:"GET"}).then(e=>e.json()).then(e=>{const t={};return e.content&&(t.content=JSON.parse(e.content)),t})}var d=i(26843),u=i(45345);const p="light";var _=i(28353) +;const m=JSON.parse('{"color-bg-primary":"color-cold-gray-850","color-bg-primary-hover":"color-cold-gray-800","color-bg-secondary":"color-cold-gray-900","color-bg-highlight":"color-cold-gray-900","color-bg-scroll-buttons":"color-cold-gray-800","color-legacy-bg-scroll-buttons":"color-cold-gray-550","color-legacy-bg-widget":"color-cold-gray-900","color-text-primary":"color-cold-gray-200","color-text-secondary":"color-cold-gray-500","color-text-tertiary":"color-cold-gray-400","color-text-disabled":"color-cold-gray-650","color-accent-content":"color-white","color-divider":"color-cold-gray-700","color-divider-hover":"color-cold-gray-800","color-divider-secondary":"color-cold-gray-800","color-box-shadow":"color-cold-gray-900","color-active-hover-text":"color-cold-gray-300","color-alert-text":"color-cold-gray-200","color-border":"color-cold-gray-750","color-border-chat-fields":"color-cold-gray-750","color-border-hover":"color-cold-gray-650","color-border-table":"color-cold-gray-800","color-brand":"color-tv-blue-500","color-brand-hover":"color-tv-blue-600","color-brand-active":"color-tv-blue-700","color-button-hover-bg":"color-cold-gray-850","color-chart-page-bg":"color-cold-gray-800","color-common-tooltip-bg":"color-cold-gray-750","color-danger":"color-ripe-red-600","color-danger-hover":"color-ripe-red-500","color-danger-active":"color-ripe-red-400","color-depthrenderer-fill-style":"color-cold-gray-150","color-depthrenderer-stroke-style":"color-cold-gray-650","color-disabled-border-and-color":"color-cold-gray-800","color-disabled-input":"color-cold-gray-750","color-empty-container-message":"color-cold-gray-500","color-highlight-new":"color-tv-blue-a800","color-icons":"color-cold-gray-500","color-input-bg":"color-cold-gray-800","color-input-textarea-readonly":"color-cold-gray-650","color-input-placeholder-text":"color-cold-gray-700","color-input-publish-bg":"color-cold-gray-900","color-item-active-blue":"color-tv-blue-a800","color-item-hover-active-bg":"color-cold-gray-800","color-item-hover-bg":"color-cold-gray-800","color-item-hover-blue":"color-tv-blue-a800","color-item-selected-blue":"color-tv-blue-a800","color-item-active-text":"color-cold-gray-200","color-item-active-bg":"color-tv-blue-500","color-link":"color-tv-blue-500","color-link-hover":"color-tv-blue-600","color-link-active":"color-tv-blue-700","color-list-item":"color-cold-gray-500","color-list-nth-child-bg":"color-cold-gray-850","color-news-highlight":"color-cold-gray-800","color-pane-bg":"color-cold-gray-900","color-pane-secondary-bg":"color-cold-gray-850","color-placeholder":"color-cold-gray-650","color-popup-menu-item-hover-bg":"color-cold-gray-800","color-popup-menu-separator":"color-cold-gray-700","color-row-hover-active-bg":"color-cold-gray-800","color-sb-scrollbar-body-bg":"color-cold-gray-650","color-screener-description":"color-cold-gray-200","color-section-separator-border":"color-cold-gray-750","color-search-button-hover":"color-cold-gray-700","color-separator-table-chat":"color-cold-gray-750","color-success":"color-minty-green-700","color-success-hover":"color-minty-green-600","color-success-active":"color-minty-green-500","color-tag-active-bg":"color-cold-gray-750","color-tag-hover-bg":"color-cold-gray-800","color-text-regular":"color-cold-gray-200","color-toolbar-button-text":"color-cold-gray-300","color-toolbar-button-text-hover":"color-cold-gray-300","color-toolbar-button-text-active":"color-tv-blue-500","color-toolbar-button-text-active-hover":"color-tv-blue-600","color-toolbar-button-background-hover":"color-cold-gray-800","color-toolbar-button-background-secondary-hover":"color-cold-gray-750","color-toolbar-toggle-button-background-active":"color-tv-blue-500","color-toolbar-toggle-button-background-active-hover":"color-tv-blue-600","color-toolbar-interactive-element-text-normal":"color-cold-gray-300","color-toolbar-interactive-element-text-hover":"color-cold-gray-250","color-toolbar-opened-element-bg":"color-cold-gray-800","color-tooltip-bg":"color-cold-gray-750","color-tv-button-checked":"color-cold-gray-500","color-tv-dialog-caption":"color-cold-gray-50","color-tv-dropdown-item-hover-bg":"color-cold-gray-800","color-underlined-text":"color-cold-gray-300","color-widget-pages-bg":"color-cold-gray-900","color-warning":"color-tan-orange-700","color-forex-icon":"color-white","color-list-item-active-bg":"color-tv-blue-500","color-list-item-hover-bg":"color-cold-gray-800","color-list-item-text":"color-cold-gray-200","color-price-axis-label-back":"color-cold-gray-800","color-price-axis-label-text":"color-cold-gray-500","color-price-axis-gear":"color-cold-gray-500","color-price-axis-gear-hover":"color-cold-gray-400","color-price-axis-highlight":"color-cold-gray-800","color-bid":"color-tv-blue-500","color-scroll-bg":"color-cold-gray-750","color-scroll-border":"color-cold-gray-850","color-widget-border":"color-cold-gray-800","color-scroll-buttons-arrow":"color-white","color-control-intent-default":"color-cold-gray-650","color-control-intent-success":"color-minty-green-600","color-control-intent-primary":"color-tv-blue-500","color-control-intent-warning":"color-tan-orange-500","color-control-intent-danger":"color-ripe-red-700","color-growing":"color-minty-green-600","color-falling":"color-ripe-red-600","color-pre-market":"color-tan-orange-600","color-pre-market-bg":"color-tan-orange-400","color-post-market":"color-tv-blue-500","color-post-market-bg":"color-tv-blue-400","color-market-open":"color-minty-green-500","color-market-open-bg":"color-minty-green-400","color-market-closed":"color-cold-gray-400","color-market-holiday":"color-cold-gray-400","color-invalid-symbol":"color-ripe-red-400","color-invalid-symbol-hover":"color-ripe-red-500","color-replay-mode":"color-tv-blue-500","color-replay-mode-icon":"color-tv-blue-50","color-replay-mode-hover":"color-tv-blue-600","color-notaccurate-mode":"color-berry-pink-700","color-notaccurate-mode-bg":"color-berry-pink-400","color-delay-mode":"color-tan-orange-700","color-delay-mode-bg":"color-tan-orange-400","color-eod-mode":"color-grapes-purple-700","color-eod-mode-bg":"color-grapes-purple-400","color-data-problem":"color-ripe-red-600","color-data-problem-bg":"color-ripe-red-400","color-data-problem-hover":"color-ripe-red-500","color-list-item-bg-highlighted":"color-tv-blue-a900","color-list-item-bg-selected":"color-tv-blue-a800","color-list-item-bg-highlighted-hover":"color-tv-blue-a800","color-list-item-bg-selected-hover":"color-tv-blue-a700","color-screener-header-bg":"color-cold-gray-850","color-screener-header-bg-hover":"color-cold-gray-800","color-overlay":"color-cold-gray-950","color-card-border":"color-cold-gray-700","color-card-border-hover":"color-cold-gray-600","color-background-special-primary":"color-black","color-stroke-special-primary":"color-cold-gray-800","color-selection-bg":"color-tv-blue-a700"}') +;var g=i(45112);const f={[d.StdTheme.Light]:{name:d.StdTheme.Light,label:()=>(0,_.t)("Light",{context:"colorThemeName"}),order:2,getThemedColor:e=>(0,g.getHexColorByName)(e)},[d.StdTheme.Dark]:{name:d.StdTheme.Dark,label:()=>(0,_.t)("Dark",{context:"colorThemeName"}),order:1,getThemedColor:e=>{const t=m[e]||e;return(0,g.getHexColorByName)(t)}}};function v(e){return!e.isPrivate}function S(){return f[u.watchedTheme.value()]||f[p]}function y(e){return S().getThemedColor(e)}async function b(e,t){const{themeName:i,standardTheme:s,syncState:n=!0,noUndo:o=!1,applyOverrides:a=!1}=t,l=await(s?Promise.resolve(L(i)):T(i)),c=!s;if(void 0!==l.content){const t=!s;a&&(void 0!==(h=l.content).chartProperties&&(0,r.applyDefaultsOverrides)(h.chartProperties),void 0!==h.mainSourceProperties&&(0,r.applyDefaultsOverrides)(h.mainSourceProperties,void 0,!0,"mainSeriesProperties")),await e.applyTheme({theme:l.content,onlyActiveChart:t,restoreNonThemeDefaults:c,themeName:i,standardTheme:s,syncState:n,noUndo:o})}var h;return l}function w(){(0,u.setTheme)(o()||p)}function C(){return o()}function P(){var e;e=S().name,(0,n.setValue)("current_theme.name",e,{forceFlush:!0})}function T(e){return h(e)}function x(){return c||(0,a.fetch)("/themes/",{credentials:"include",method:"GET"}).then(e=>(c=e.json(),c))}function I(){return d.getStdThemeNames()}function M(e){return I().includes(e)}function L(e){return d.getStdChartTheme(e)||{content:void 0}}function A(e,t){const i=t||S().name,s=d.getStdChartTheme(i),r=0!==e.length&&e.split(".");return s&&s.content&&r?r.reduce((e,t)=>e[t],s.content):null}function E(e,t,i){const r=A(e,i);return null!==r&&(0,s.areEqualRgba)((0,s.parseRgba)(r),(0,s.parseRgba)(String(t)))}function k(e,t){return function(e,t){const i=new FormData;return i.append("content",JSON.stringify(t)),i.append("name",e),c=null,(0,a.fetch)("/save-theme/",{credentials:"include",method:"POST",body:i}).then(e=>e.json(),e=>l.logError(e))}(e,t)}function D(e){return function(e){const t=new FormData;return t.append("name",e),c=null,(0,a.fetch)("/remove-theme/",{credentials:"include",method:"POST",body:t}).then(e=>e.json(),e=>l.logError(e))}(e)}function V(e){return function(e){return h(e).then(e=>Boolean(e.content))}(e)}function B(e){return d.translateThemeName(e)}function N(e){return d.isStdTheme(e)}function R(e){return{content:{chartProperties:{paneProperties:e.model().properties().childs().paneProperties.state(),scalesProperties:e.model().properties().childs().scalesProperties.state()},sessions:e.model().sessions().properties().state(),mainSourceProperties:e.model().mainSeries().properties().state(),version:e.model().version()}}}},45345:(e,t,i)=>{"use strict";i.d(t,{setTheme:()=>n,watchedTheme:()=>r});var s=i(52714);const r=new(i.n(s)());function n(e){r.setValue(e)}r.subscribe(e=>{!function(e,t=window){const i="theme-"+e,s=t.document.documentElement.classList;for(const e of Array.from(s))e.startsWith("theme-")&&e!==i&&s.remove(e);s.add(i)}(e,window)})},51768:(e,t,i)=>{"use strict";i.d(t,{trackEvent:()=>l,disableTrackingEvents:()=>c}) +;var s=i(76422),r=i(67337);const n=(0,i(98125).getLogger)("Common.TrackEvent"),o=[/Study_(Drawing)_(.*)/,/(Study)_(.*)@tv-basicstudies/,/(Study)_(.*)/,/(Chart Style) (.*)/];let a=!1;const l=(e,t,i)=>{if(a)return;if(r.enabled("charting_library_base"))return void((e,t,i)=>{t=t||e||i||"";let r="";for(let e=0;e{"use strict";i.d(t,{TVXWindowEvents:()=>o});i(94419);var s=i(98125),r=i(11417);const n=(0,s.getLogger)("XWindowEvents");var o;!function(e){const t="tvxwevents.",i={};let s;window.BroadcastChannel?(s=new BroadcastChannel("tvxwevents"),s.addEventListener("message",(function(e){const{data:{event:t,value:s}}=e;i[t]&&i[t].forEach(e=>{e(s)})})),function(){const e=[],i=performance.now();for(let i=0;i{t(e.newValue)});r.TVLocalStorage.removeItem(n)})),e.on=function(e,t){i[e]||(i[e]=[]),i[e].push(t)},e.off=function(e,t){if(!i[e])return;const s=i[e].indexOf(t);-1!==s&&(1===i[e].length?delete i[e]:i[e].splice(s,1))},e.emit=function(e,i=Date.now()){try{s?s.postMessage({event:e,value:i}):r.TVLocalStorage.setItem(t+e,i.toString())}catch(e){n.logError(e.message)}}}(o||(o={}))},92930:(e,t,i)=>{"use strict";i.r(t),i.d(t,{activateKeyPressHandler:()=>u,showDialog:()=>p});var s=i(85739),r=i(38318),n=i(67337),o=i(8636),a=i(51193),l=i(11181),c=i(51768);let h=null;function d(e){if(!(0,r.globalKeypressMatches)(e))return!1;e.preventDefault();const t=String.fromCharCode(e.charCode);return n.enabled("show_interval_dialog_on_key_press")&&function(e){return/[1-9]/.test(e)}(t)?(0,o.showChangeIntervalDialogAsync)({initVal:t}):n.enabled("symbol_search_hot_key")&&(p({defaultValue:t,selectSearchOnInit:!1,source:"keyboard"}),(0,c.trackEvent)("GUI","SS","hotkey")),!0}function u(){(0,a.loadChangeIntervalDialog)(),s.pushBackListener("symbolEdit",d)}function p(e){const t=h=(0,l.loadNewSymbolSearch)().then(i=>{t===h&&i.showDefaultSearchDialog(e)});return t}},78136:(e,t,i)=>{"use strict";let s;function r(){return s}function n(e){s=e}i.d(t,{getSearchRequestDelay:()=>r, +setSearchRequestDelay:()=>n})},52092:(e,t,i)=>{"use strict";i.d(t,{CLOSE_POPUPS_AND_DIALOGS_COMMAND:()=>s});const s="CLOSE_POPUPS_AND_DIALOGS_COMMAND"},42120:(e,t,i)=>{"use strict";i.d(t,{CompareDialogRenderer:()=>n});var s=i(22729);var r=i(76422);class n extends s.DialogRenderer{constructor(e){super(),this._dialog=null,this._subscribe=e=>{this._setVisibility(e)},this._chartWidgetCollection=e}show(){this._load().then(e=>{var t,i;null===(t=this._dialog)||void 0===t||t.hide(),null===(i=this._dialog)||void 0===i||i.visible().unsubscribe(this._subscribe),this._dialog=e,e.visible().subscribe(this._subscribe),e.show(),r.emit("compare_add")})}hide(){var e;null===(e=this._dialog)||void 0===e||e.hide()}_load(){return Promise.all([i.e(7271).then(i.bind(i,43900)),Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(6363),i.e(7962),i.e(8986),i.e(3466),i.e(7836),i.e(7427),i.e(3921),i.e(5774),i.e(2153),i.e(8054),i.e(7945),i.e(9255),i.e(3304),i.e(1e3),i.e(1594),i.e(731)]).then(i.bind(i,89035))]).then(([e,t])=>{const i=new e.CompareModel(this._chartWidgetCollection);return t.getCompareDialogRenderer(i)})}}},3615:(e,t,i)=>{"use strict";async function s(e,t){const s=await Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(9289),i.e(5998),i.e(279),i.e(4634),i.e(1e3),i.e(4364),i.e(8890)]).then(i.bind(i,19641));return s.showSimpleDialog(e,s.renameModule,t)}async function r(e,t){const s=await Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(9289),i.e(5998),i.e(279),i.e(4634),i.e(1e3),i.e(4364),i.e(8890)]).then(i.bind(i,19641));return s.showSimpleDialog(e,s.confirmModule,t)}async function n(e,t){const s=await Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(9289),i.e(5998),i.e(279),i.e(4634),i.e(1e3),i.e(4364),i.e(8890)]).then(i.bind(i,19641));return s.showSimpleDialog(e,s.warningModule,t)}i.d(t,{showRename:()=>s,showConfirm:()=>r,showWarning:()=>n})},14881:(e,t,i)=>{"use strict";i.d(t,{hideStateChange:()=>r});var s=i(2872);const r=new(i.n(s)())},90995:(e,t,i)=>{"use strict";i.d(t,{getHideOptions:()=>h,toggleHideMode:()=>d,getSavedHideMode:()=>u});var s=i(88537),r=i(28353),n=i(56840),o=i(92033),a=i(85733),l=i(14881);let c=null;function h(){if(null!==c)return c;const e=(0,o.tradingService)();return c=new Map([["drawings",{label:(0,r.t)("Hide drawings"),dataName:"hide-drawing-tools",tooltip:{active:(0,r.t)("Show all drawings"),inactive:(0,r.t)("Hide all drawings")},getBoxedValue:()=>(0,a.hideAllDrawings)(),trackLabel:"hide drawings"}],["indicators",{label:(0,r.t)("Hide indicators"),dataName:"hide-indicators",tooltip:{active:(0,r.t)("Show all indicators"),inactive:(0,r.t)("Hide all indicators")},getBoxedValue:()=>(0,a.hideAllIndicators)(),trackLabel:"hide indicators"}],["positions",{label:(0,r.t)("Hide positions & orders"),dataName:"hide-positions-and-orders",tooltip:{active:(0,r.t)("Show all positions & orders"),inactive:(0,r.t)("Hide all positions & orders")},getBoxedValue:()=>(0,s.ensureNotNull)(e).showTradedSources,inverted:!0,trackLabel:"hide positions"}],["all",{label:(0, +r.t)("Hide all"),dataName:"hide-all",tooltip:{active:e?(0,r.t)("Show all drawings, indicators, positions & orders"):(0,r.t)("Show all drawings and indicators"),inactive:e?(0,r.t)("Hide all drawings, indicators, positions & orders"):(0,r.t)("Hide all drawings and indicators")},trackLabel:"hide all"}]]),e||c.delete("positions"),c}function d(e){e?n.setValue("ChartToolsHideMode",e):e=u();const t=p();let i=!t;return"all"===e?(_((e,t,s)=>{e.setValue(s?!i:i)}),l.hideStateChange.fire({hideMode:e,isActive:i}),i):(_((s,r,n)=>{if(r===e){const e=t?!n:!s.value();s.setValue(e),i=n?!e:e}else s.setValue(Boolean(n))}),l.hideStateChange.fire({hideMode:e,isActive:i}),i)}function u(){const e=n.getValue("ChartToolsHideMode","drawings");return h().has(e)?e:"drawings"}function p(){let e=!0;return _((t,i,s)=>{const r=t.value();e=e&&(s?!r:r)}),e}function _(e){h().forEach((t,i)=>{var s;const r=null===(s=t.getBoxedValue)||void 0===s?void 0:s.call(t);r&&e(r,i,t.inverted)})}},15219:(e,t,i)=>{"use strict";i.d(t,{showConfirmInputsDialog:()=>c});var s=i(28353),r=i(88537),n=i(80643),o=i(33266),a=i(2015),l=i.n(a);async function c(e,t,a,c,h="default"){let d,u=null;const p=e.model().model(),_=(0,n.clone)((0,r.ensureDefined)(t.defaults.inputs)),m=new(l())({inputs:_}),g=function(e,t){return"symbol"===t?e.inputs.filter(t=>t.id===e.symbolInputId()):e.inputs.filter(e=>e.confirm)}(t,h),f=()=>{d&&p.removeCustomSource(d)},v=()=>{f(),c()},S=e=>{a({inputs:e,parentSource:u}),f()},y=g.filter(o.isTimeOrPriceNotHiddenInput);if(y.length>0)try{const s=await Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(7836),i.e(7427),i.e(3921),i.e(3713),i.e(5774),i.e(3848),i.e(7552),i.e(1692),i.e(7345),i.e(2153),i.e(6750),i.e(6416),i.e(1333),i.e(1999),i.e(137),i.e(9255),i.e(3304),i.e(1e3),i.e(2947),i.e(1594),i.e(8178),i.e(1482),i.e(3030)]).then(i.bind(i,73339)),r=await s.selectInputValuesOnChart(e,y,m,t.shortDescription,t.inputs);d=r.customSourceId,u=r.destPane?r.destPane.mainDataSource():null}catch(e){return void v()}y.length!==g.length?Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(7836),i.e(7427),i.e(3921),i.e(3713),i.e(5774),i.e(3848),i.e(7552),i.e(1692),i.e(7345),i.e(2153),i.e(6750),i.e(6416),i.e(1333),i.e(1999),i.e(137),i.e(9255),i.e(3304),i.e(1e3),i.e(2947),i.e(1594),i.e(8178),i.e(1482),i.e(3030)]).then(i.bind(i,70589)).then(t=>{const i=new t.ConfirmInputsDialogRenderer(function(e){if("symbol"===e)return(0,s.t)("Add Symbol");return(0,s.t)("Confirm Inputs")}(h),g,m,h,e.model(),S,v);return i.show(),i}):S(m.state().inputs||{})}},13323:(e,t,i)=>{"use strict";i.d(t,{GeneralChartPropertiesRenderer:()=>r});var s=i(22729);class r extends s.DialogRenderer{constructor(e){super(),this._dialog=null,this._subscribe=e=>{this._setVisibility(e)},this._chartWidgetCollection=e}show(){const e=this._chartWidgetCollection,t=e.activeChartWidget.value() +;return t.generalPropertiesDefinitions().then(s=>Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8463),i.e(2e3),i.e(9289),i.e(6363),i.e(7962),i.e(8986),i.e(3466),i.e(7836),i.e(7427),i.e(3921),i.e(3713),i.e(5774),i.e(3848),i.e(6909),i.e(7552),i.e(1692),i.e(7345),i.e(2153),i.e(6750),i.e(4763),i.e(6416),i.e(1333),i.e(1999),i.e(2205),i.e(9637),i.e(4521),i.e(3304),i.e(2947),i.e(1594),i.e(8178),i.e(1482),i.e(2454),i.e(7078)]).then(i.bind(i,72811)).then(i=>{var r,n;const o=new i.GeneralChartPropertiesDialogRenderer({chartWidgetCollection:e,propertyPages:s,activePageId:this._activePageId,model:t.model()});return null===(r=this._dialog)||void 0===r||r.hide(),null===(n=this._dialog)||void 0===n||n.visible().unsubscribe(this._subscribe),this._dialog=o,o.visible().subscribe(this._subscribe),o.show(),this._activePageId=void 0,o}))}hide(){var e;null===(e=this._dialog)||void 0===e||e.hide()}isVisible(){return this.visible().value()}focusOnText(){}setActivePage(e){this._activePageId=e}}},25812:(e,t,i)=>{"use strict";var s;i.d(t,{ToolboxType:()=>s}),function(e){e[e.Delete=0]="Delete"}(s||(s={}))},59064:(e,t,i)=>{"use strict";i.d(t,{globalCloseDelegate:()=>r,globalCloseMenu:()=>n});var s=i(2872);const r=new(i.n(s)());function n(){r.fire()}},17191:e=>{e.exports=''},91216:e=>{e.exports=''},69061:e=>{e.exports=''},54859:e=>{e.exports=''},15917:e=>{ +e.exports=''},27966:e=>{e.exports=''},93418:e=>{e.exports=''},94939:e=>{e.exports=''},6354:e=>{e.exports=''},74645:e=>{ +e.exports=''},44368:e=>{e.exports=''},78679:e=>{e.exports=''},48111:e=>{e.exports=''},76576:e=>{ +e.exports=''},26159:e=>{e.exports=''},34954:e=>{e.exports=''},52892:e=>{e.exports=''},38069:e=>{"use strict";e.exports=JSON.parse('{"4":["v",["h",0,2],["h",1,3]],"6":["v",["h",0,2,4],["h",1,3,5]],"8":["v",["h",0,2,4,6],["h",1,3,5,7]],"2h":["h",0,1],"2v":["v",0,1],"2-1":["v",["h",0,2],1],"3s":["h",0,["v",1,2]],"3h":["h",0,1,2],"3v":["v",0,1,2],"1-2":["v",0,["h",1,2]],"3r":["h",["v",0,1],2],"4h":["h",0,1,2,3],"4v":["v",0,1,2,3],"4s":["h",0,["v",1,2,3]],"1-3":["v",0,["h",1,2,3]],"2-2":["v",["h",0,1],["v",2,3]],"1-4":["v",0,["h",1,2,3,4]],"5s":["h",0,["v",1,2,3,4]],"6c":["v",["h",0,1],["h",2,3],["h",4,5]],"8c":["v",["h",0,1],["h",2,3],["h",4,5],["h",6,7]],"s":0}')}},e=>{e.O(0,[5386,1857],()=>{return t=97881,e(e.s=t);var t});e.O()}]); \ No newline at end of file diff --git a/charting_library/bundles/load-chart-dialog.35a2a7b957a4a4ecde2f.js b/charting_library/bundles/load-chart-dialog.35a2a7b957a4a4ecde2f.js deleted file mode 100644 index bc64d303..00000000 --- a/charting_library/bundles/load-chart-dialog.35a2a7b957a4a4ecde2f.js +++ /dev/null @@ -1,7 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5009],{88227:e=>{e.exports={highlight:"highlight-qXMjeLA3",active:"active-qXMjeLA3"}},86956:e=>{e.exports={dialog:"dialog-uOI0EVoT",contentList:"contentList-uOI0EVoT"}},63843:e=>{e.exports={container:"container-jjwO7WRQ",list:"list-jjwO7WRQ",overlayScrollWrap:"overlayScrollWrap-jjwO7WRQ",scroll:"scroll-jjwO7WRQ"}},92360:e=>{e.exports={container:"container-PLu464zm",title:"title-PLu464zm"}},28712:e=>{e.exports={container:"container-CcsqUMct",inputContainer:"inputContainer-CcsqUMct",withCancel:"withCancel-CcsqUMct",input:"input-CcsqUMct",icon:"icon-CcsqUMct",cancel:"cancel-CcsqUMct"}},36690:e=>{e.exports={container:"container-cz7bNe0c",labelWrap:"labelWrap-cz7bNe0c",icon:"icon-cz7bNe0c",text:"text-cz7bNe0c"}},30636:e=>{e.exports={sortButton:"sortButton-Ya1Tq1iv",icon:"icon-Ya1Tq1iv"}},81524:e=>{e.exports={highlighted:"highlighted-YWUtZHTy"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},90186:(e,t,o)=>{"use strict";function n(e){return i(e,a)}function r(e){return i(e,c)}function i(e,t){const o=Object.entries(e).filter(t),n={};for(const[e,t]of o)n[e]=t;return n}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function c(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>n,filterAriaProps:()=>r,filterProps:()=>i,isDataAttribute:()=>a,isAriaAttribute:()=>c})},40233:(e,t,o)=>{"use strict";o.d(t,{VerticalAttachEdge:()=>n,HorizontalAttachEdge:()=>r,VerticalDropDirection:()=>i,HorizontalDropDirection:()=>a,getPopupPositioner:()=>s});var n,r,i,a,c=o(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(n||(n={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(r||(r={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(i||(i={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const l={verticalAttachEdge:n.Bottom,horizontalAttachEdge:r.Left,verticalDropDirection:i.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function s(e,t){return(o,s)=>{const u=(0,c.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:d=l.verticalAttachEdge,verticalDropDirection:m=l.verticalDropDirection,horizontalAttachEdge:h=l.horizontalAttachEdge,horizontalDropDirection:f=l.horizontalDropDirection,horizontalMargin:v=l.horizontalMargin,verticalMargin:g=l.verticalMargin,matchButtonAndListboxWidths:p=l.matchButtonAndListboxWidths}=t,E=d===n.Top?-1*g:g,C=h===r.Right?u.right:u.left,y=d===n.Top?u.top:u.bottom,S={x:C-(f===a.FromRightToLeft?o:0)+v,y:y-(m===i.FromBottomToTop?s:0)+E};return p&&(S.overrideWidth=u.width),S}} -},9512:(e,t,o)=>{"use strict";o.r(t),o.d(t,{LoadChartDialogRenderer:()=>ne});var n=o(59496),r=o(87995),i=o(88537),a=o(28353),c=o(56840),l=o(49483),s=o(85457),u=o(97754),d=o.n(u),m=o(50628),h=o(40233),f=o(9745),v=o(26659),g=o(46185),p=o(30636);function E(e){const{sortDirection:t,children:o,...r}=e,i=(0,n.useRef)(null),[a,c]=(0,n.useState)(!1);return n.createElement("div",{...r,ref:i,className:u(p.sortButton,"apply-common-tooltip","common-tooltip-vertical"),onClick:function(){c(!a)}},n.createElement(f.Icon,{className:p.icon,icon:0===t?v:g}),n.createElement(m.PopupMenu,{doNotCloseOn:i.current,isOpened:a,onClose:()=>{c(!1)},position:(0,h.getPopupPositioner)(i.current,{verticalMargin:-35,verticalAttachEdge:0})},o))}var C=o(16396),y=o(36690);function S(e){const{label:t,listSortField:o,itemSortField:r,listSortDirection:i,itemSortDirection:a,onClick:c,className:l,...s}=e,d=r===o&&a===i;return n.createElement(C.PopupMenuItem,{...s,className:u(y.container,l),label:n.createElement("div",{className:y.labelWrap},n.createElement(f.Icon,{className:y.icon,icon:0===a?v:g}),n.createElement("span",{className:y.text},t)),isActive:d,onClick:function(){c(r,a)},"data-active":d.toString(),"data-sort-field":r,"data-sort-direction":0===a?"asc":"desc"})}var b=o(69654),x=o(92360);function w(e){const{children:t,className:o}=e;return n.createElement("div",{className:d()(x.container,o)},t)}function D(e){const{title:t}=e;return n.createElement("div",{className:x.title},t)}var F=o(93751);var k=o(83199),M=o(9837),T=o.n(M),N=o(62820),O=o(898),L=o(33127);var R=o(3085),I=o(63843);function A(e){const{className:t,onScroll:o,onTouchStart:r,reference:i,children:a,scrollbar:c,...s}=e,[u,m]=(0,O.useDimensions)(),[h,f,v,g]=(0,L.useOverlayScroll)();return(0,n.useEffect)(()=>{const e=()=>{};return l.isFF?(document.addEventListener("wheel",()=>e),()=>{document.removeEventListener("wheel",e)}):e},[]),n.createElement(T(),{onMeasure:u},n.createElement("div",{..."overlay"===c&&f,className:d()(I.container,t),onTouchStart:r,onScrollCapture:o},"overlay"===c&&n.createElement(R.OverlayScrollContainer,{...h,className:I.overlayScrollWrap}),n.createElement(k.FixedSizeList,{ref:i,className:d()("native"===c?I.scroll:I.list),outerRef:"overlay"===c?v:void 0,onItemsRendered:g,layout:"vertical",width:"100%",height:(null==m?void 0:m.height)||0,children:a,direction:(0,N.isRtl)()?"rtl":"ltr",...s})))}var P=o(84015);var z=o(64530),W=o(9315),B=o(50655),j=o(3615);var H=o(1860),q=o(64806),_=o(24637),U=o(19785),G=o(88227);const K=new H.DateFormatter("dd-MM-yyyy"),V=new q.TimeFormatter("%h:%m");function $(e){const{chart:t,chartWidgetCollection:o,trackEvent:r,localFavorites:i,onClose:c,searchString:l,onClickRemove:s,onRemoveCanceled:u,isSelected:m}=e,[h,f]=(0,n.useState)(()=>t.active()),[v,g]=(0,n.useState)(!1),p=t.url?function(e){const t=e.chartId?`/chart/${e.chartId}/`:"/chart/",o=new URL(t,location.href);return e.symbol&&o.searchParams.append("symbol",e.symbol),e.interval&&o.searchParams.append("interval",e.interval),e.style&&o.searchParams.append("style",e.style),(0, -P.urlWithMobileAppParams)(o.href)}({chartId:t.url}):void 0,E=(0,n.useContext)(B.SlotContext),C=(0,n.useMemo)(()=>new Date(1e3*t.modified),[t]),y=(0,n.useMemo)(()=>(0,U.createRegExpList)(l),[l]),S=d()(G.highlight,h&&G.active);return(0,n.useEffect)(()=>(o&&o.metaInfo.id.subscribe(x),()=>{o&&o.metaInfo.id.unsubscribe(x)}),[]),n.createElement(z.DialogContentItem,{url:p,title:n.createElement(_.HighlightedText,{className:S,queryString:l,rules:y,text:t.title}),subtitle:n.createElement(n.Fragment,null,n.createElement(_.HighlightedText,{className:S,queryString:l,rules:y,text:t.description})," ","(",K.format(C).replace(/-/g,".")," ",V.formatLocal(C),")"),onClick:function(e){0;t.openAction(),!1},onClickFavorite:function(){0;const e={...i};e[t.id]?delete e[t.id]:e[t.id]=!0;t.favoriteAction(e)},onClickRemove:async function(){if(v)return;g(!0);const e=await async function(e){const t=(0,a.t)("Do you really want to delete Chart Layout '{name}' ?",{replace:{name:e.title}});return t}(t);g(!1),function(e,t,o,n){(0,j.showConfirm)({text:e,onConfirm:({dialogClose:e})=>{t(),e()},onClose:()=>{o()}},n)}(e,b,u,E)},isFavorite:Boolean(i[t.id]),isActive:h,isSelected:m,"data-name":"load-chart-dialog-item"});function b(){t.deleteAction().then(()=>s(t.id))}function x(e){f(t.id===e)}}var Q=o(59064),Y=o(68335);var Z=o(86956);const J={sortField:"modified",sortDirection:1},X=function(e){const{paddingTop:t=0,paddingBottom:o=0}=e;return(0,n.forwardRef)(({style:e,...r},i)=>{const{height:a=0}=e;return n.createElement("div",{ref:i,style:{...e,height:((0,F.isNumber)(a)?a:parseFloat(a))+t+o+"px"},...r})})}({paddingBottom:6});function ee(e){let t;try{t=(0,W.getTranslatedResolution)(e)}catch(o){t=e}return t}function te(e){const{charts:t,onClose:o,favoriteChartsService:r,chartWidgetCollection:u}=e,[d,m]=(0,n.useState)(""),[h,f]=(0,n.useState)(d),[v,g]=(0,n.useState)([]),p=(0,n.useRef)(null),[C,y]=(0,n.useState)(()=>r.get()),[x,F]=(0,n.useState)(()=>c.getJSON("loadChartDialog.viewState",J)),k=(0,n.useRef)(null),M=(0,n.useRef)(null),T=(0,n.useMemo)(()=>t.map(e=>({...e,description:`${e.symbol}, ${ee(e.interval)}`})),[t]);(0,n.useEffect)(()=>{l.CheckMobile.any()||(0,i.ensureNotNull)(k.current).focus()},[]);const N=(0,n.useRef)();(0,n.useEffect)(()=>(N.current=setTimeout(()=>{m(h)},300),()=>{clearTimeout(N.current)}),[h]),(0,n.useEffect)(()=>(r.getOnChange().subscribe(null,H),()=>{r.getOnChange().unsubscribe(null,H)}),[]);const O=(0,n.useCallback)(()=>!0,[]),L=(0,n.useMemo)(()=>{return(0,U.rankedSearch)({data:T.filter(e=>!v.includes(e.id)).sort((e=x.sortDirection,(t,o)=>{if(C[t.id]&&!C[o.id])return-1;if(!C[t.id]&&C[o.id])return 1;const n=0===e?1:-1;return"modified"===x.sortField?n*(t.modified-o.modified):n*t.title.localeCompare(o.title)})),rules:(0,U.createRegExpList)(d),queryString:d,primaryKey:"title",secondaryKey:"description"});var e},[d,x,v,C]),{selectedItemIndex:R,setSelectedItemIndex:I,handleKeyboardSelection:P}=function(e,t,o){const[r,i]=(0,n.useState)(-1);return(0,n.useEffect)(()=>{var e;-1!==r&&(null===(e=o.current)||void 0===e||e.scrollToItem(r))},[r]),{ -selectedItemIndex:r,setSelectedItemIndex:i,handleKeyboardSelection:function(o){switch((0,Y.hashFromEvent)(o)){case 40:if(r===e-1)return;i(r+1);break;case 38:if(0===r)return;if(-1===r)return void i(r+1);i(r-1);break;case 13:t(o)}}}}(L.length,(function(e){const t=L[R];if(-1===R||!t)return;0;t.openAction(),!1}),M);return n.createElement(s.AdaptivePopupDialog,{ref:p,onClose:o,onClickOutside:o,onKeyDown:P,isOpened:!0,className:Z.dialog,title:(0,a.t)("Load layout"),dataName:"load-layout-dialog",render:function(){return n.createElement(n.Fragment,null,n.createElement(b.DialogSearch,{reference:k,onChange:W,placeholder:(0,a.t)("Search")}),n.createElement(w,null,n.createElement(D,{title:(0,a.t)("Layout name")}),n.createElement(E,{sortDirection:x.sortDirection,title:(0,a.t)("Sort by layout name, date changed"),"data-name":"load-chart-dialog-sort-button"},n.createElement(S,{label:(0,a.t)("Layout name (A to Z)"),listSortField:x.sortField,itemSortField:"title",listSortDirection:x.sortDirection,itemSortDirection:0,onClick:_,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(S,{label:(0,a.t)("Layout name (Z to A)"),listSortField:x.sortField,itemSortField:"title",listSortDirection:x.sortDirection,itemSortDirection:1,onClick:_,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(S,{label:(0,a.t)("Date modified (oldest first)"),listSortField:x.sortField,itemSortField:"modified",listSortDirection:x.sortDirection,itemSortDirection:0,onClick:_,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(S,{label:(0,a.t)("Date modified (newest first)"),listSortField:x.sortField,itemSortField:"modified",listSortDirection:x.sortDirection,itemSortDirection:1,onClick:_,"data-name":"load-chart-dialog-sort-menu-item"}))),n.createElement(A,{scrollbar:"native",reference:M,itemCount:L.length,itemSize:52,className:Z.contentList,onScroll:z,innerElementType:X,itemKey:e=>(C[L[e].id]?"f_":"")+L[e].id,children:({style:e,index:t})=>n.createElement("div",{style:e},n.createElement($,{chart:L[t],onClose:o,chartWidgetCollection:u,trackEvent:B,onRemoveCanceled:q,localFavorites:C,searchString:d,onClickRemove:j,isSelected:t===R}))}))},forceCloseOnEsc:O});function z(){Q.globalCloseDelegate.fire()}function W(e){const t=e.currentTarget.value;f(t),I(-1)}function B(e){0}function j(e){g([e,...v])}function H(e){y(e)}function q(){(0,i.ensureNotNull)(p.current).focus()}function _(e,t){const o={sortField:e,sortDirection:t};F(o),c.setValue("loadChartDialog.viewState",JSON.stringify(o),{forceFlush:!0}),B()}}var oe=o(22729);class ne extends oe.DialogRenderer{constructor(e){super(),this._options=e}show(){r.render(n.createElement(te,{...this._options,onClose:()=>this.hide()}),this._container),this._setVisibility(!0)}hide(){r.unmountComponentAtNode(this._container),this._setVisibility(!1)}}},39640:(e,t,o)=>{"use strict";function n(e,t,o,n,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==o&&null!==t&&null!==i&&i.ownerDocument===n&&(t.contains(i)||o(r))}return r.click&&n.addEventListener("click",i,!1), -r.mouseDown&&n.addEventListener("mousedown",i,!1),r.touchEnd&&n.addEventListener("touchend",i,!1),r.touchStart&&n.addEventListener("touchstart",i,!1),()=>{n.removeEventListener("click",i,!1),n.removeEventListener("mousedown",i,!1),n.removeEventListener("touchend",i,!1),n.removeEventListener("touchstart",i,!1)}}o.d(t,{addOutsideEventListener:()=>n})},69654:(e,t,o)=>{"use strict";o.d(t,{DialogSearch:()=>u});var n=o(59496),r=o(97754),i=o.n(r),a=o(28353),c=o(9745),l=o(5639),s=o(28712);function u(e){const{children:t,renderInput:o,onCancel:r,...u}=e;return n.createElement("div",{className:s.container},n.createElement("div",{className:i()(s.inputContainer,r&&s.withCancel)},o||n.createElement(d,{...u})),t,n.createElement(c.Icon,{className:s.icon,icon:l}),r&&n.createElement("div",{className:s.cancel,onClick:r},(0,a.t)("Cancel")))}function d(e){const{className:t,reference:o,value:r,onChange:a,onFocus:c,onBlur:l,onKeyDown:u,onSelect:d,placeholder:m,...h}=e;return n.createElement("input",{...h,ref:o,type:"text",className:i()(t,s.input),autoComplete:"off","data-role":"search",placeholder:m,value:r,onChange:a,onFocus:c,onBlur:l,onSelect:d,onKeyDown:u})}},19785:(e,t,o)=>{"use strict";o.d(t,{rankedSearch:()=>r,createRegExpList:()=>i,getHighlightedChars:()=>a});var n=o(80643);function r(e){const{data:t,rules:o,queryString:r,isPreventedFromFiltering:i,primaryKey:a,secondaryKey:c=a,optionalPrimaryKey:l}=e;return t.map(e=>{const t=l&&e[l]?e[l]:e[a],i=e[c];let s,u=0;return o.forEach(e=>{var o,a,c,l;const{re:d,fullMatch:m}=e;return d.lastIndex=0,t&&t.toLowerCase()===r.toLowerCase()?(u=3,void(s=null===(o=t.match(m))||void 0===o?void 0:o.index)):(0,n.isString)(t)&&m.test(t)?(u=2,void(s=null===(a=t.match(m))||void 0===a?void 0:a.index)):(0,n.isString)(i)&&m.test(i)?(u=1,void(s=null===(c=i.match(m))||void 0===c?void 0:c.index)):void((0,n.isString)(i)&&d.test(i)&&(u=1,s=null===(l=i.match(d))||void 0===l?void 0:l.index))}),{matchPriority:u,matchIndex:s,item:e}}).filter(e=>i||e.matchPriority).sort((e,t)=>{if(e.matchPriorityt.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndexe)}function i(e,t){const o=[],n=e.toLowerCase(),r=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+c(e):c(e)})`).join("(.*?)")+"(.*)";return o.push({fullMatch:new RegExp(`(${c(e)})`,"i"),re:new RegExp("^"+r,"i"),reserveRe:new RegExp(r,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(n)&&o.push({fullMatch:t[n],re:t[n],fuzzyHighlight:!1}),o}function a(e,t,o){const n=[];return e&&o?(o.forEach(e=>{const{fullMatch:o,re:r,reserveRe:i}=e;o.lastIndex=0,r.lastIndex=0;const a=o.exec(t),c=a||r.exec(t)||i&&i.exec(t);if(e.fuzzyHighlight=!a,c)if(e.fuzzyHighlight){let e=c.index;for(let t=1;t{"use strict";o.d(t,{HighlightedText:()=>c});var n=o(59496),r=o(97754),i=o(19785),a=o(81524);function c(e){const{queryString:t,rules:o,text:c,className:l}=e,s=(0,n.useMemo)(()=>(0,i.getHighlightedChars)(t,c,o),[t,o,c]);return n.createElement(n.Fragment,null,s.length?c.split("").map((e,t)=>n.createElement(n.Fragment,{key:t},s[t]?n.createElement("span",{className:r(a.highlighted,l)},e):n.createElement("span",null,e))):c)}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>s,PopupMenuItem:()=>m});var n=o(59496),r=o(97754),i=o(59064),a=o(51768),c=o(90186),l=o(23576);const s=l;function u(e){const{reference:t,...o}=e,r={...o,ref:t};return n.createElement(e.href?"a":"div",r)}function d(e){e.stopPropagation()}function m(e){const{id:t,role:o,"aria-selected":s,className:m,title:h,labelRowClassName:f,labelClassName:v,shortcut:g,forceShowShortcuts:p,icon:E,isActive:C,isDisabled:y,isHovered:S,appearAsDisabled:b,label:x,link:w,showToolboxOnHover:D,target:F,rel:k,toolbox:M,reference:T,onMouseOut:N,onMouseOver:O,suppressToolboxClick:L=!0,theme:R=l}=e,I=(0,c.filterDataProps)(e),A=(0,n.useRef)(null);return n.createElement(u,{...I,id:t,role:o,"aria-selected":s,className:r(m,R.item,E&&R.withIcon,{[R.isActive]:C,[R.isDisabled]:y||b,[R.hovered]:S}),title:h,href:w,target:F,rel:k,reference:function(e){A.current=e,"function"==typeof T&&T(e);"object"==typeof T&&(T.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:n,onClickArg:r,trackEventObject:c}=e;if(y)return;c&&(0,a.trackEvent)(c.category,c.event,c.label);n&&n(r,t);o||(0,i.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:n}=e;o&&n&&(0,a.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:n}=e;if(1===t.button&&w&&o){let e=o.label;n&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:O,onMouseOut:N},void 0!==E&&n.createElement("div",{className:R.icon,dangerouslySetInnerHTML:{__html:E}}),n.createElement("div",{className:r(R.labelRow,f)},n.createElement("div",{className:r(R.label,v)},x)),(void 0!==g||p)&&n.createElement("div",{className:R.shortcut},(P=g)&&P.split("+").join(" + ")),void 0!==M&&n.createElement("div",{onClick:L?d:void 0,className:r(R.toolbox,{[R.showOnHover]:D})},M));var P}},50628:(e,t,o)=>{"use strict";o.d(t,{PopupMenu:()=>s});var n=o(59496),r=o(87995),i=o(65718),a=o(27317),c=o(29197),l=o(58095);function s(e){const{controller:t,children:o,isOpened:s,closeOnClickOutside:u=!0,doNotCloseOn:d,onClickOutside:m,onClose:h,...f}=e,v=(0,n.useContext)(c.CloseDelegateContext),g=(0,l.useOutsideEvent)({handler:function(e){m&&m(e);if(!u)return;if(d&&e.target instanceof Node){const t=r.findDOMNode(d);if(t instanceof Node&&t.contains(e.target))return}h()},mouseDown:!0,touchStart:!0});return s?n.createElement(i.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},n.createElement("span",{ref:g,style:{pointerEvents:"auto"}},n.createElement(a.Menu,{ -...f,onClose:h,onScroll:function(t){const{onScroll:o}=e;o&&o(t)},customCloseDelegate:v,ref:t},o))):null}},46185:e=>{e.exports=''},26659:e=>{e.exports=''},5639:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/load-chart-dialog.cd5fbcdffc1ad4008003.js b/charting_library/bundles/load-chart-dialog.cd5fbcdffc1ad4008003.js new file mode 100644 index 00000000..6fc9d264 --- /dev/null +++ b/charting_library/bundles/load-chart-dialog.cd5fbcdffc1ad4008003.js @@ -0,0 +1,7 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5009],{88227:e=>{e.exports={highlight:"highlight-qXMjeLA3",active:"active-qXMjeLA3"}},86956:e=>{e.exports={dialog:"dialog-uOI0EVoT",contentList:"contentList-uOI0EVoT"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},63843:e=>{e.exports={container:"container-jjwO7WRQ",list:"list-jjwO7WRQ",overlayScrollWrap:"overlayScrollWrap-jjwO7WRQ",scroll:"scroll-jjwO7WRQ"}},92360:e=>{e.exports={container:"container-PLu464zm",title:"title-PLu464zm"}},28712:e=>{e.exports={container:"container-CcsqUMct",inputContainer:"inputContainer-CcsqUMct",withCancel:"withCancel-CcsqUMct",input:"input-CcsqUMct",icon:"icon-CcsqUMct",cancel:"cancel-CcsqUMct"}},36690:e=>{e.exports={container:"container-cz7bNe0c",labelWrap:"labelWrap-cz7bNe0c",icon:"icon-cz7bNe0c",text:"text-cz7bNe0c"}},30636:e=>{e.exports={sortButton:"sortButton-Ya1Tq1iv",icon:"icon-Ya1Tq1iv"}},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},81524:e=>{e.exports={highlighted:"highlighted-YWUtZHTy"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},90186:(e,t,o)=>{"use strict";function n(e){return r(e,a)}function i(e){return r(e,l)}function r(e,t){const o=Object.entries(e).filter(t),n={};for(const[e,t]of o)n[e]=t;return n}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function l(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>n,filterAriaProps:()=>i,filterProps:()=>r,isDataAttribute:()=>a,isAriaAttribute:()=>l})},40233:(e,t,o)=>{"use strict";o.d(t,{VerticalAttachEdge:()=>n,HorizontalAttachEdge:()=>i,VerticalDropDirection:()=>r,HorizontalDropDirection:()=>a,getPopupPositioner:()=>s});var n,i,r,a,l=o(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(n||(n={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(r||(r={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const c={verticalAttachEdge:n.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:r.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function s(e,t){return(o,s)=>{const d=(0, +l.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:u=c.verticalAttachEdge,verticalDropDirection:m=c.verticalDropDirection,horizontalAttachEdge:h=c.horizontalAttachEdge,horizontalDropDirection:f=c.horizontalDropDirection,horizontalMargin:v=c.horizontalMargin,verticalMargin:g=c.verticalMargin,matchButtonAndListboxWidths:p=c.matchButtonAndListboxWidths}=t,b=u===n.Top?-1*g:g,y=h===i.Right?d.right:d.left,C=u===n.Top?d.top:d.bottom,x={x:y-(f===a.FromRightToLeft?o:0)+v,y:C-(m===r.FromBottomToTop?s:0)+b};return p&&(x.overrideWidth=d.width),x}}},9512:(e,t,o)=>{"use strict";o.r(t),o.d(t,{LoadChartDialogRenderer:()=>ne});var n=o(59496),i=o(87995),r=o(88537),a=o(28353),l=o(56840),c=o(49483),s=o(85457),d=o(97754),u=o.n(d),m=o(50628),h=o(40233),f=o(9745),v=o(26659),g=o(46185),p=o(30636);function b(e){const{sortDirection:t,children:o,...i}=e,r=(0,n.useRef)(null),[a,l]=(0,n.useState)(!1);return n.createElement("div",{...i,ref:r,className:d(p.sortButton,"apply-common-tooltip","common-tooltip-vertical"),onClick:function(){l(!a)}},n.createElement(f.Icon,{className:p.icon,icon:0===t?v:g}),n.createElement(m.PopupMenu,{doNotCloseOn:r.current,isOpened:a,onClose:()=>{l(!1)},position:(0,h.getPopupPositioner)(r.current,{verticalMargin:-35,verticalAttachEdge:0})},o))}var y=o(16396),C=o(36690);function x(e){const{label:t,listSortField:o,itemSortField:i,listSortDirection:r,itemSortDirection:a,onClick:l,className:c,...s}=e,u=i===o&&a===r;return n.createElement(y.PopupMenuItem,{...s,className:d(C.container,c),label:n.createElement("div",{className:C.labelWrap},n.createElement(f.Icon,{className:C.icon,icon:0===a?v:g}),n.createElement("span",{className:C.text},t)),isActive:u,onClick:function(){l(i,a)},"data-active":u.toString(),"data-sort-field":i,"data-sort-direction":0===a?"asc":"desc"})}var E=o(69654),w=o(92360);function S(e){const{children:t,className:o}=e;return n.createElement("div",{className:u()(w.container,o)},t)}function D(e){const{title:t}=e;return n.createElement("div",{className:w.title},t)}var k=o(93751);var F=o(69397),M=o(9837),T=o.n(M),N=o(62820),R=o(898),L=o(33127);var O=o(3085),I=o(63843);function A(e){const{className:t,onScroll:o,onTouchStart:i,reference:r,children:a,scrollbar:l,...s}=e,[d,m]=(0,R.useDimensions)(),[h,f,v,g]=(0,L.useOverlayScroll)();return(0,n.useEffect)(()=>{const e=()=>{};return c.isFF?(document.addEventListener("wheel",()=>e),()=>{document.removeEventListener("wheel",e)}):e},[]),n.createElement(T(),{onMeasure:d},n.createElement("div",{..."overlay"===l&&f,className:u()(I.container,t),onTouchStart:i,onScrollCapture:o},"overlay"===l&&n.createElement(O.OverlayScrollContainer,{...h,className:I.overlayScrollWrap}),n.createElement(F.FixedSizeList,{ref:r,className:u()("native"===l?I.scroll:I.list),outerRef:"overlay"===l?v:void 0,onItemsRendered:g,layout:"vertical",width:"100%",height:(null==m?void 0:m.height)||0,children:a,direction:(0,N.isRtl)()?"rtl":"ltr",...s})))}var P=o(84015);var z=o(64530),B=o(9315),W=o(50655),H=o(3615);var j=o(1860),Q=o(64806),q=o(24637),_=o(19785),U=o(88227) +;const V=new j.DateFormatter("dd-MM-yyyy"),G=new Q.TimeFormatter("%h:%m");function K(e){const{chart:t,chartWidgetCollection:o,trackEvent:i,localFavorites:r,onClose:l,searchString:c,onClickRemove:s,onRemoveCanceled:d,isSelected:m}=e,[h,f]=(0,n.useState)(()=>t.active()),[v,g]=(0,n.useState)(!1),p=t.url?function(e){const t=e.chartId?`/chart/${e.chartId}/`:"/chart/",o=new URL(t,location.href);return e.symbol&&o.searchParams.append("symbol",e.symbol),e.interval&&o.searchParams.append("interval",e.interval),e.style&&o.searchParams.append("style",e.style),(0,P.urlWithMobileAppParams)(o.href)}({chartId:t.url}):void 0,b=(0,n.useContext)(W.SlotContext),y=(0,n.useMemo)(()=>new Date(1e3*t.modified),[t]),C=(0,n.useMemo)(()=>(0,_.createRegExpList)(c),[c]),x=u()(U.highlight,h&&U.active);return(0,n.useEffect)(()=>(o&&o.metaInfo.id.subscribe(w),()=>{o&&o.metaInfo.id.unsubscribe(w)}),[]),n.createElement(z.DialogContentItem,{url:p,title:n.createElement(q.HighlightedText,{className:x,queryString:c,rules:C,text:t.title}),subtitle:n.createElement(n.Fragment,null,n.createElement(q.HighlightedText,{className:x,queryString:c,rules:C,text:t.description})," ","(",V.format(y).replace(/-/g,".")," ",G.formatLocal(y),")"),onClick:function(e){0;t.openAction(),!1},onClickFavorite:function(){0;const e={...r};e[t.id]?delete e[t.id]:e[t.id]=!0;t.favoriteAction(e)},onClickRemove:async function(){if(v)return;g(!0);const e=await async function(e){const t=(0,a.t)("Do you really want to delete Chart Layout '{name}' ?",{replace:{name:e.title}});return t}(t);g(!1),function(e,t,o,n){(0,H.showConfirm)({text:e,onConfirm:({dialogClose:e})=>{t(),e()},onClose:()=>{o()}},n)}(e,E,d,b)},isFavorite:Boolean(r[t.id]),isActive:h,isSelected:m,"data-name":"load-chart-dialog-item"});function E(){t.deleteAction().then(()=>s(t.id))}function w(e){f(t.id===e)}}var J=o(59064),$=o(68335);var Y=o(86956);const Z={sortField:"modified",sortDirection:1},X=function(e){const{paddingTop:t=0,paddingBottom:o=0}=e;return(0,n.forwardRef)(({style:e,...i},r)=>{const{height:a=0}=e;return n.createElement("div",{ref:r,style:{...e,height:((0,k.isNumber)(a)?a:parseFloat(a))+t+o+"px"},...i})})}({paddingBottom:6});function ee(e){let t;try{t=(0,B.getTranslatedResolution)(e)}catch(o){t=e}return t}function te(e){const{charts:t,onClose:o,favoriteChartsService:i,chartWidgetCollection:d}=e,[u,m]=(0,n.useState)(""),[h,f]=(0,n.useState)(u),[v,g]=(0,n.useState)([]),p=(0,n.useRef)(null),[y,C]=(0,n.useState)(()=>i.get()),[w,k]=(0,n.useState)(()=>l.getJSON("loadChartDialog.viewState",Z)),F=(0,n.useRef)(null),M=(0,n.useRef)(null),T=(0,n.useMemo)(()=>t.map(e=>({...e,description:`${e.symbol}, ${ee(e.interval)}`})),[t]);(0,n.useEffect)(()=>{c.CheckMobile.any()||(0,r.ensureNotNull)(F.current).focus()},[]);const N=(0,n.useRef)();(0,n.useEffect)(()=>(N.current=setTimeout(()=>{m(h)},300),()=>{clearTimeout(N.current)}),[h]),(0,n.useEffect)(()=>(i.getOnChange().subscribe(null,j),()=>{i.getOnChange().unsubscribe(null,j)}),[]);const R=(0,n.useCallback)(()=>!0,[]),L=(0,n.useMemo)(()=>{return(0,_.rankedSearch)({ +data:T.filter(e=>!v.includes(e.id)).sort((e=w.sortDirection,(t,o)=>{if(y[t.id]&&!y[o.id])return-1;if(!y[t.id]&&y[o.id])return 1;const n=0===e?1:-1;return"modified"===w.sortField?n*(t.modified-o.modified):n*t.title.localeCompare(o.title)})),rules:(0,_.createRegExpList)(u),queryString:u,primaryKey:"title",secondaryKey:"description"});var e},[u,w,v,y]),{selectedItemIndex:O,setSelectedItemIndex:I,handleKeyboardSelection:P}=function(e,t,o){const[i,r]=(0,n.useState)(-1);return(0,n.useEffect)(()=>{var e;-1!==i&&(null===(e=o.current)||void 0===e||e.scrollToItem(i))},[i]),{selectedItemIndex:i,setSelectedItemIndex:r,handleKeyboardSelection:function(o){switch((0,$.hashFromEvent)(o)){case 40:if(i===e-1)return;r(i+1);break;case 38:if(0===i)return;if(-1===i)return void r(i+1);r(i-1);break;case 13:t(o)}}}}(L.length,(function(e){const t=L[O];if(-1===O||!t)return;0;t.openAction(),!1}),M);return n.createElement(s.AdaptivePopupDialog,{ref:p,onClose:o,onClickOutside:o,onKeyDown:P,isOpened:!0,className:Y.dialog,title:(0,a.t)("Load layout"),dataName:"load-layout-dialog",render:function(){return n.createElement(n.Fragment,null,n.createElement(E.DialogSearch,{reference:F,onChange:B,placeholder:(0,a.t)("Search")}),n.createElement(S,null,n.createElement(D,{title:(0,a.t)("Layout name")}),n.createElement(b,{sortDirection:w.sortDirection,title:(0,a.t)("Sort by layout name, date changed"),"data-name":"load-chart-dialog-sort-button"},n.createElement(x,{label:(0,a.t)("Layout name (A to Z)"),listSortField:w.sortField,itemSortField:"title",listSortDirection:w.sortDirection,itemSortDirection:0,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(x,{label:(0,a.t)("Layout name (Z to A)"),listSortField:w.sortField,itemSortField:"title",listSortDirection:w.sortDirection,itemSortDirection:1,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(x,{label:(0,a.t)("Date modified (oldest first)"),listSortField:w.sortField,itemSortField:"modified",listSortDirection:w.sortDirection,itemSortDirection:0,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(x,{label:(0,a.t)("Date modified (newest first)"),listSortField:w.sortField,itemSortField:"modified",listSortDirection:w.sortDirection,itemSortDirection:1,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}))),n.createElement(A,{scrollbar:"native",reference:M,itemCount:L.length,itemSize:52,className:Y.contentList,onScroll:z,innerElementType:X,itemKey:e=>(y[L[e].id]?"f_":"")+L[e].id,children:({style:e,index:t})=>n.createElement("div",{style:e},n.createElement(K,{chart:L[t],onClose:o,chartWidgetCollection:d,trackEvent:W,onRemoveCanceled:Q,localFavorites:y,searchString:u,onClickRemove:H,isSelected:t===O}))}))},forceCloseOnEsc:R});function z(){J.globalCloseDelegate.fire()}function B(e){const t=e.currentTarget.value;f(t),I(-1)}function W(e){0}function H(e){g([e,...v])}function j(e){C(e)}function Q(){(0,r.ensureNotNull)(p.current).focus()}function q(e,t){const o={sortField:e,sortDirection:t};k(o), +l.setValue("loadChartDialog.viewState",JSON.stringify(o),{forceFlush:!0}),W()}}var oe=o(22729);class ne extends oe.DialogRenderer{constructor(e){super(),this._options=e}show(){i.render(n.createElement(te,{...this._options,onClose:()=>this.hide()}),this._container),this._setVisibility(!0)}hide(){i.unmountComponentAtNode(this._container),this._setVisibility(!1)}}},24437:(e,t,o)=>{"use strict";o.d(t,{DialogBreakpoints:()=>i});var n=o(96746);const i={SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},69654:(e,t,o)=>{"use strict";o.d(t,{DialogSearch:()=>d});var n=o(59496),i=o(97754),r=o.n(i),a=o(28353),l=o(9745),c=o(5639),s=o(28712);function d(e){const{children:t,renderInput:o,onCancel:i,...d}=e;return n.createElement("div",{className:s.container},n.createElement("div",{className:r()(s.inputContainer,i&&s.withCancel)},o||n.createElement(u,{...d})),t,n.createElement(l.Icon,{className:s.icon,icon:c}),i&&n.createElement("div",{className:s.cancel,onClick:i},(0,a.t)("Cancel")))}function u(e){const{className:t,reference:o,value:i,onChange:a,onFocus:l,onBlur:c,onKeyDown:d,onSelect:u,placeholder:m,...h}=e;return n.createElement("input",{...h,ref:o,type:"text",className:r()(t,s.input),autoComplete:"off","data-role":"search",placeholder:m,value:i,onChange:a,onFocus:l,onBlur:c,onSelect:u,onKeyDown:d})}},36189:(e,t,o)=>{"use strict";o.d(t,{FavoriteButton:()=>u});var n=o(28353),i=o(59496),r=o(97754),a=o(9745),l=o(20614),c=o(55783),s=o(16842);const d={add:(0,n.t)("Add to favorites"),remove:(0,n.t)("Remove from favorites")};function u(e){const{className:t,isFilled:o,isActive:n,onClick:u,...m}=e;return i.createElement(a.Icon,{...m,className:r(s.favorite,"apply-common-tooltip",o&&s.checked,n&&s.active,t),icon:o?l:c,onClick:u,title:o?d.remove:d.add})}},19785:(e,t,o)=>{"use strict";o.d(t,{rankedSearch:()=>i,createRegExpList:()=>r,getHighlightedChars:()=>a});var n=o(80643);function i(e){const{data:t,rules:o,queryString:i,isPreventedFromFiltering:r,primaryKey:a,secondaryKey:l=a,optionalPrimaryKey:c}=e;return t.map(e=>{const t=c&&e[c]?e[c]:e[a],r=e[l];let s,d=0;return o.forEach(e=>{var o,a,l,c;const{re:u,fullMatch:m}=e;return u.lastIndex=0,t&&t.toLowerCase()===i.toLowerCase()?(d=3,void(s=null===(o=t.match(m))||void 0===o?void 0:o.index)):(0,n.isString)(t)&&m.test(t)?(d=2,void(s=null===(a=t.match(m))||void 0===a?void 0:a.index)):(0,n.isString)(r)&&m.test(r)?(d=1,void(s=null===(l=r.match(m))||void 0===l?void 0:l.index)):void((0,n.isString)(r)&&u.test(r)&&(d=1,s=null===(c=r.match(u))||void 0===c?void 0:c.index))}),{matchPriority:d,matchIndex:s,item:e}}).filter(e=>r||e.matchPriority).sort((e,t)=>{if(e.matchPriorityt.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndexe)}function r(e,t){ +const o=[],n=e.toLowerCase(),i=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+l(e):l(e)})`).join("(.*?)")+"(.*)";return o.push({fullMatch:new RegExp(`(${l(e)})`,"i"),re:new RegExp("^"+i,"i"),reserveRe:new RegExp(i,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(n)&&o.push({fullMatch:t[n],re:t[n],fuzzyHighlight:!1}),o}function a(e,t,o){const n=[];return e&&o?(o.forEach(e=>{const{fullMatch:o,re:i,reserveRe:r}=e;o.lastIndex=0,i.lastIndex=0;const a=o.exec(t),l=a||i.exec(t)||r&&r.exec(t);if(e.fuzzyHighlight=!a,l)if(e.fuzzyHighlight){let e=l.index;for(let t=1;t{"use strict";o.d(t,{HighlightedText:()=>l});var n=o(59496),i=o(97754),r=o(19785),a=o(81524);function l(e){const{queryString:t,rules:o,text:l,className:c}=e,s=(0,n.useMemo)(()=>(0,r.getHighlightedChars)(t,l,o),[t,o,l]);return n.createElement(n.Fragment,null,s.length?l.split("").map((e,t)=>n.createElement(n.Fragment,{key:t},s[t]?n.createElement("span",{className:i(a.highlighted,c)},e):n.createElement("span",null,e))):l)}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>s,PopupMenuItem:()=>m});var n=o(59496),i=o(97754),r=o(59064),a=o(51768),l=o(90186),c=o(23576);const s=c;function d(e){const{reference:t,...o}=e,i={...o,ref:t};return n.createElement(e.href?"a":"div",i)}function u(e){e.stopPropagation()}function m(e){const{id:t,role:o,"aria-selected":s,className:m,title:h,labelRowClassName:f,labelClassName:v,shortcut:g,forceShowShortcuts:p,icon:b,isActive:y,isDisabled:C,isHovered:x,appearAsDisabled:E,label:w,link:S,showToolboxOnHover:D,target:k,rel:F,toolbox:M,reference:T,onMouseOut:N,onMouseOver:R,suppressToolboxClick:L=!0,theme:O=c}=e,I=(0,l.filterDataProps)(e),A=(0,n.useRef)(null);return n.createElement(d,{...I,id:t,role:o,"aria-selected":s,className:i(m,O.item,b&&O.withIcon,{[O.isActive]:y,[O.isDisabled]:C||E,[O.hovered]:x}),title:h,href:S,target:k,rel:F,reference:function(e){A.current=e,"function"==typeof T&&T(e);"object"==typeof T&&(T.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:n,onClickArg:i,trackEventObject:l}=e;if(C)return;l&&(0,a.trackEvent)(l.category,l.event,l.label);n&&n(i,t);o||(0,r.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:n}=e;o&&n&&(0,a.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:n}=e;if(1===t.button&&S&&o){let e=o.label;n&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:R,onMouseOut:N},void 0!==b&&n.createElement("div",{className:O.icon,dangerouslySetInnerHTML:{__html:b}}),n.createElement("div",{className:i(O.labelRow,f)},n.createElement("div",{className:i(O.label,v)},w)),(void 0!==g||p)&&n.createElement("div",{className:O.shortcut},(P=g)&&P.split("+").join(" + ")),void 0!==M&&n.createElement("div",{ +onClick:L?u:void 0,className:i(O.toolbox,{[O.showOnHover]:D})},M));var P}},96040:(e,t,o)=>{"use strict";o.d(t,{RemoveButton:()=>d});var n=o(28353),i=o(59496),r=o(97754),a=o(9745),l=o(73366),c=o(73432);const s={remove:(0,n.t)("Remove")};function d(e){const{className:t,isActive:o,onClick:n,onMouseDown:d,title:u,hidden:m,"data-name":h="remove-button",...f}=e;return i.createElement(a.Icon,{...f,"data-name":h,className:r(c.button,"apply-common-tooltip",o&&c.active,m&&c.hidden,t),icon:l,onClick:n,onMouseDown:d,title:u||s.remove})}},73366:e=>{e.exports=''},46185:e=>{e.exports=''},26659:e=>{e.exports=''},5639:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/lollipop-tooltip-renderer.0ceff3b7ae8ca6b64473.js b/charting_library/bundles/lollipop-tooltip-renderer.0ceff3b7ae8ca6b64473.js new file mode 100644 index 00000000..64dccdb8 --- /dev/null +++ b/charting_library/bundles/lollipop-tooltip-renderer.0ceff3b7ae8ca6b64473.js @@ -0,0 +1,4 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9039],{59142:function(e,t){var o,n,r;n=[t],void 0===(r="function"==typeof(o=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t{e.exports={drawer:"drawer-BF9dzroi",drawerItem:"drawerItem-BF9dzroi",menuWrap:"menuWrap-BF9dzroi",menuBox:"menuBox-BF9dzroi",card:"card-BF9dzroi",mini:"mini-BF9dzroi",fadeTop:"fadeTop-BF9dzroi", +fadeBottom:"fadeBottom-BF9dzroi"}},85174:e=>{e.exports={content:"content-A343HTYW",titleWrapper:"titleWrapper-A343HTYW",title:"title-A343HTYW",subtitle:"subtitle-A343HTYW",text:"text-A343HTYW",icon:"icon-A343HTYW",group:"group-A343HTYW",groupIcon:"groupIcon-A343HTYW",beforeMarketOpen:"beforeMarketOpen-A343HTYW",afterMarketClose:"afterMarketClose-A343HTYW",groupTitle:"groupTitle-A343HTYW",groupRow:"groupRow-A343HTYW",groupCell:"groupCell-A343HTYW",link:"link-A343HTYW",mob:"mob-A343HTYW",mini:"mini-A343HTYW"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},22838:(e,t,o)=>{"use strict";o.r(t),o.d(t,{LollipopCardType:()=>S,showLollipopTooltip:()=>H});var n=o(59496),r=o(87995),l=o(88537),a=o(97754),i=o.n(a);function s(e,t,o){(0,n.useEffect)(()=>{const n=new IntersectionObserver(e=>{e[e.length-1].intersectionRatio<.25?o():t()},{threshold:[0,.25,.5,.75,1],root:null,rootMargin:"0px"});return e.current&&n.observe(e.current),()=>n.disconnect()},[])}var c=o(90692),u=o(41590),d=o(37558),m=o(50628),p=o(68335),f=o(59064),v=o(80643);const h=(0,n.forwardRef)((e,t)=>{const{onClose:o,onForceClose:r,onClickOutside:l,className:a,customCloseSubscriptions:i=[],...s}=e,c=(0,n.useRef)(null),u=(0,n.useCallback)(e=>{27===(0,p.hashFromEvent)(e)&&r()},[r]),d=(0,n.useCallback)(()=>{(0,f.globalCloseMenu)(),r()},[r]),h=(0,n.useCallback)(()=>{c.current&&c.current.focus({preventScroll:!0})},[]);return(0,n.useEffect)(()=>{const e=(t=d,window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t));var t;const o=i&&function(e,t){for(const o of e)o.subscribe(null,t);return()=>{for(const o of e)o.unsubscribe(null,t)}}(i,d);return()=>{e(),(0,v.isFunction)(o)&&o()}},[i,d]),n.createElement(m.PopupMenu,{className:a,isOpened:!0,tabIndex:-1,reference:e=>{"function"==typeof t?t(e):(0,v.isObject)(t)&&(t.current=e),c.current=e},onClose:o,onClickOutside:l,onKeyDown:u,onOpen:h,...s},e.children)});var g,w=o(40173),E=o(27317),b=o(9745),C=o(85174);function y(e){const{name:t,value:o,style:r,valueRightIcon:l}=e;return n.createElement("div",{className:C.groupRow,style:r},t&&n.createElement("div",{className:C.groupCell},n.createElement("span",{className:C.text},t)),n.createElement("div",{className:C.groupCell},n.createElement("span",{className:C.text},o),l&&n.createElement(b.Icon,{icon:l.iconContent,className:i()(C.groupIcon,l.iconClass,"apply-common-tooltip"),title:l.tooltipText})))}function T(e){const{text:t,href:o,onClick:r}=e;return n.createElement("a",{href:o,onClick:r&&(e=>{e.preventDefault(),r()}),className:C.link},t)}function k(e){var t;const{content:o=[],subTitle:r,cardType:l,anchor:a}=e,s=o.map((e,t)=>{const{title:o,content:r}=e;return n.createElement("div",{key:"group"+t,className:C.group},o&&n.createElement("span",{className:C.groupTitle},o),r.map((e,t)=>n.createElement(y,{key:"contentRow"+t,...e})))}),c=l?i()(C.content,C[l]):C.content,u="string"==typeof r?r:r.map((e,t)=>n.createElement(y,{key:"subTitle"+t,...e})) +;return n.createElement(n.Fragment,null,n.createElement("div",{className:c},e.title&&n.createElement("div",{className:C.titleWrapper},e.tooltipIcon&&n.createElement(b.Icon,{icon:e.tooltipIcon,className:C.icon,style:{color:null===(t=e.style)||void 0===t?void 0:t.color}}),n.createElement("span",{className:C.title},e.title)),n.createElement("span",{className:C.subtitle},u),s.length>0&&n.createElement("div",null,s),a&&n.createElement("div",{className:C.group},n.createElement(T,{...a}))))}!function(e){e[e.BeforeMarketOpen=C.beforeMarketOpen]="BeforeMarketOpen",e[e.AfterMarketClose=C.afterMarketClose]="AfterMarketClose"}(g||(g={}));var B=o(9245);const N=(0,w.mergeThemes)(E.DEFAULT_MENU_THEME,{menuWrap:B.menuWrap,menuBox:B.menuBox});function x(e){const{tooltips:t,onClose:o,onForceClose:r,onClickOutside:l,position:a,customCloseSubscriptions:m,showScrollFades:p,cardType:f}=e,v=(0,n.useRef)(null),g=(0,n.useRef)(null),w=(0,n.useRef)(null),E=(0,n.useRef)(null),[b,C]=(0,n.useState)("100%"),y=e=>{null!==e&&C(e.clientWidth+"px")},[T,x]=(0,n.useState)(!1);s(w,()=>x(!1),()=>x(!0));const M={display:T?"block":"none",width:b},[H,D]=(0,n.useState)(!1);s(E,()=>D(!1),()=>D(!0));const W={display:H?"block":"none",width:b},A=f?i()(B.card,B[f]):B.card;return n.createElement(d.DrawerManager,null,n.createElement(c.MatchMedia,{rule:"screen and (max-width: 419px)"},e=>e?n.createElement(u.Drawer,{className:B.drawer,onClose:r||o,position:"Bottom"},t.map((e,t)=>n.createElement("div",{key:""+t,className:B.drawerItem},n.createElement(k,{cardType:S.Mobile,...e})))):n.createElement(h,{position:a,theme:N,onClose:o,onForceClose:r||o,onClickOutside:l,customCloseSubscriptions:m},p&&n.createElement(n.Fragment,null,n.createElement("div",{ref:v,className:B.fadeTop,style:M}),n.createElement("div",{ref:w})),n.createElement("div",{ref:y},t.map((e,t)=>{var o;return n.createElement("div",{key:""+t,className:A,style:{borderColor:null===(o=e.style)||void 0===o?void 0:o.color}},n.createElement(k,{cardType:f,...e}))})),p&&n.createElement(n.Fragment,null,n.createElement("div",{ref:E}),n.createElement("div",{ref:g,className:B.fadeBottom,style:W})))))}var S;!function(e){e.Mobile="mob",e.Minimal="mini"}(S||(S={}));let M=null;function H(e){if(!e.items.length)return;const t={tooltips:e.items,onClose:D,onForceClose:()=>{D(),"function"==typeof e.onCustomClose&&e.onCustomClose()},onClickOutside:e.onClickOutside,position:W.bind(null,e.position),customCloseSubscriptions:e.customCloseSubscriptions,showScrollFades:e.showScrollFades,cardType:e.cardType};null===M&&(M=document.createElement("div"),document.body.appendChild(M)),r.render(n.createElement(x,{...t}),M)}function D(){null!==M&&(r.unmountComponentAtNode(M),M.remove(),M=null)}function W(e,t,o){const n=e.target,r=n.getBoundingClientRect(),a=r.width-e.targetSize.w,i=r.height-e.targetSize.h,s=(0,l.ensureNotNull)(n.closest(".chart-container")),c=s.getBoundingClientRect(),u=(0,l.ensureNotNull)(s.parentElement).getBoundingClientRect(),d=r.left+e.point.x+a,m=Math.round(d-t/2),p=Math.min(m+t,c.right,u.right) +;let f,v,h=Math.max(p-t,c.left,u.left);h+t>=u.right&&(h=u.right-t);const g=c.bottom-(r.top+e.point.y+i),w=c.height-g-e.marginTop;return w{"use strict";o.d(t,{DrawerManager:()=>r,DrawerContext:()=>l});var n=o(59496);class r extends n.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 n.createElement(l.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const l=n.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>p});var n=o(59496),r=o(88537),l=o(97754),a=o(59142),i=o(43989),s=o(65718),c=o(37558),u=o(49483),d=o(29197),m=o(66998);function p(e){const{position:t="Bottom",onClose:o,children:p,className:f,theme:v=m}=e,h=(0,r.ensureNotNull)((0,n.useContext)(c.DrawerContext)),[g,w]=(0,n.useState)(0),E=(0,n.useRef)(null),b=(0,n.useContext)(d.CloseDelegateContext);return(0,n.useEffect)(()=>{const e=(0,r.ensureNotNull)(E.current);return e.focus({preventScroll:!0}),b.subscribe(h,o),0===h.currentDrawer&&(0,i.setFixedBodyState)(!0),u.CheckMobile.iOS()&&(0,a.disableBodyScroll)(e),w(h.addDrawer()),()=>{b.unsubscribe(h,o);const t=h.removeDrawer();u.CheckMobile.iOS()&&(0,a.enableBodyScroll)(e),0===t&&(0,i.setFixedBodyState)(!1)}},[]),n.createElement(s.Portal,null,n.createElement("div",{className:l(m.wrap,m["position"+t])},g===h.currentDrawer&&n.createElement("div",{className:m.backdrop,onClick:o}),n.createElement("div",{className:l(m.drawer,v.drawer,m["position"+t],f),ref:E,tabIndex:-1,"data-name":e["data-name"]},p)))}}}]); \ No newline at end of file diff --git a/charting_library/bundles/lollipop-tooltip-renderer.a408d5bf42843ff46541.js b/charting_library/bundles/lollipop-tooltip-renderer.a408d5bf42843ff46541.js deleted file mode 100644 index ac0e5513..00000000 --- a/charting_library/bundles/lollipop-tooltip-renderer.a408d5bf42843ff46541.js +++ /dev/null @@ -1,5 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9039],{59142:function(e,t){var n,o,r;o=[t],void 0===(r="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{e.exports={drawer:"drawer-BF9dzroi",drawerItem:"drawerItem-BF9dzroi",menuWrap:"menuWrap-BF9dzroi",menuBox:"menuBox-BF9dzroi",card:"card-BF9dzroi",mini:"mini-BF9dzroi",fadeTop:"fadeTop-BF9dzroi", -fadeBottom:"fadeBottom-BF9dzroi"}},85174:e=>{e.exports={content:"content-A343HTYW",titleWrapper:"titleWrapper-A343HTYW",title:"title-A343HTYW",subtitle:"subtitle-A343HTYW",text:"text-A343HTYW",icon:"icon-A343HTYW",group:"group-A343HTYW",groupIcon:"groupIcon-A343HTYW",beforeMarketOpen:"beforeMarketOpen-A343HTYW",afterMarketClose:"afterMarketClose-A343HTYW",groupTitle:"groupTitle-A343HTYW",groupRow:"groupRow-A343HTYW",groupCell:"groupCell-A343HTYW",link:"link-A343HTYW",mob:"mob-A343HTYW",mini:"mini-A343HTYW"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},22838:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LollipopCardType:()=>B,showLollipopTooltip:()=>M});var o=n(59496),r=n(87995),l=n(88537),a=n(97754),s=n.n(a);function i(e,t,n){(0,o.useEffect)(()=>{const o=new IntersectionObserver(e=>{e[e.length-1].intersectionRatio<.25?n():t()},{threshold:[0,.25,.5,.75,1],root:null,rootMargin:"0px"});return e.current&&o.observe(e.current),()=>o.disconnect()},[])}var c=n(90692),u=n(41590),d=n(37558),m=n(50628),p=n(68335),f=n(59064),v=n(80643);const h=(0,o.forwardRef)((e,t)=>{const{onClose:n,onForceClose:r,onClickOutside:l,className:a,customCloseSubscriptions:s=[],...i}=e,c=(0,o.useRef)(null),u=(0,o.useCallback)(e=>{27===(0,p.hashFromEvent)(e)&&r()},[r]),d=(0,o.useCallback)(()=>{(0,f.globalCloseMenu)(),r()},[r]),h=(0,o.useCallback)(()=>{c.current&&c.current.focus({preventScroll:!0})},[]);return(0,o.useEffect)(()=>{const e=(t=d,window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t));var t;const n=s&&function(e,t){for(const n of e)n.subscribe(null,t);return()=>{for(const n of e)n.unsubscribe(null,t)}}(s,d);return()=>{e(),(0,v.isFunction)(n)&&n()}},[s,d]),o.createElement(m.PopupMenu,{className:a,isOpened:!0,tabIndex:-1,reference:e=>{"function"==typeof t?t(e):(0,v.isObject)(t)&&(t.current=e),c.current=e},onClose:n,onClickOutside:l,onKeyDown:u,onOpen:h,...i},e.children)});var g,w=n(40173),E=n(27317),C=n(9745),b=n(85174);function y(e){const{name:t,value:n,style:r,valueRightIcon:l}=e;return o.createElement("div",{className:b.groupRow,style:r},t&&o.createElement("div",{className:b.groupCell},o.createElement("span",{className:b.text},t)),o.createElement("div",{className:b.groupCell},o.createElement("span",{className:b.text},n),l&&o.createElement(C.Icon,{icon:l.iconContent,className:s()(b.groupIcon,l.iconClass,"apply-common-tooltip"),title:l.tooltipText})))}function k(e){const{text:t,href:n,onClick:r}=e;return o.createElement("a",{href:n,onClick:r&&(e=>{e.preventDefault(),r()}),className:b.link},t)}function T(e){var t;const{content:n=[],subTitle:r,cardType:l,anchor:a}=e,i=n.map((e,t)=>{const{title:n,content:r}=e;return o.createElement("div",{key:"group"+t,className:b.group},n&&o.createElement("span",{className:b.groupTitle},n),r.map((e,t)=>o.createElement(y,{key:"contentRow"+t,...e})))}),c=l?s()(b.content,b[l]):b.content,u="string"==typeof r?r:r.map((e,t)=>o.createElement(y,{key:"subTitle"+t,...e})) -;return o.createElement(o.Fragment,null,o.createElement("div",{className:c},e.title&&o.createElement("div",{className:b.titleWrapper},e.tooltipIcon&&o.createElement(C.Icon,{icon:e.tooltipIcon,className:b.icon,style:{color:null===(t=e.style)||void 0===t?void 0:t.color}}),o.createElement("span",{className:b.title},e.title)),o.createElement("span",{className:b.subtitle},u),i.length>0&&o.createElement("div",null,i),a&&o.createElement("div",{className:b.group},o.createElement(k,{...a}))))}!function(e){e[e.BeforeMarketOpen=b.beforeMarketOpen]="BeforeMarketOpen",e[e.AfterMarketClose=b.afterMarketClose]="AfterMarketClose"}(g||(g={}));var N=n(9245);const S=(0,w.mergeThemes)(E.DEFAULT_MENU_THEME,{menuWrap:N.menuWrap,menuBox:N.menuBox});function x(e){const{tooltips:t,onClose:n,onForceClose:r,onClickOutside:l,position:a,customCloseSubscriptions:m,showScrollFades:p,cardType:f}=e,v=(0,o.useRef)(null),g=(0,o.useRef)(null),w=(0,o.useRef)(null),E=(0,o.useRef)(null),[C,b]=(0,o.useState)("100%"),y=e=>{null!==e&&b(e.clientWidth+"px")},[k,x]=(0,o.useState)(!1);i(w,()=>x(!1),()=>x(!0));const D={display:k?"block":"none",width:C},[M,O]=(0,o.useState)(!1);i(E,()=>O(!1),()=>O(!0));const H={display:M?"block":"none",width:C},W=f?s()(N.card,N[f]):N.card;return o.createElement(d.DrawerManager,null,o.createElement(c.MatchMedia,{rule:"screen and (max-width: 419px)"},e=>e?o.createElement(u.Drawer,{className:N.drawer,onClose:r||n,position:"Bottom"},t.map((e,t)=>o.createElement("div",{key:""+t,className:N.drawerItem},o.createElement(T,{cardType:B.Mobile,...e})))):o.createElement(h,{position:a,theme:S,onClose:n,onForceClose:r||n,onClickOutside:l,customCloseSubscriptions:m},p&&o.createElement(o.Fragment,null,o.createElement("div",{ref:v,className:N.fadeTop,style:D}),o.createElement("div",{ref:w})),o.createElement("div",{ref:y},t.map((e,t)=>{var n;return o.createElement("div",{key:""+t,className:W,style:{borderColor:null===(n=e.style)||void 0===n?void 0:n.color}},o.createElement(T,{cardType:f,...e}))})),p&&o.createElement(o.Fragment,null,o.createElement("div",{ref:E}),o.createElement("div",{ref:g,className:N.fadeBottom,style:H})))))}var B;!function(e){e.Mobile="mob",e.Minimal="mini"}(B||(B={}));let D=null;function M(e){if(!e.items.length)return;const t={tooltips:e.items,onClose:O,onForceClose:()=>{O(),"function"==typeof e.onCustomClose&&e.onCustomClose()},onClickOutside:e.onClickOutside,position:H.bind(null,e.position),customCloseSubscriptions:e.customCloseSubscriptions,showScrollFades:e.showScrollFades,cardType:e.cardType};null===D&&(D=document.createElement("div"),document.body.appendChild(D)),r.render(o.createElement(x,{...t}),D)}function O(){null!==D&&(r.unmountComponentAtNode(D),D.remove(),D=null)}function H(e,t,n){const o=e.target,r=o.getBoundingClientRect(),a=r.width-e.targetSize.w,s=r.height-e.targetSize.h,i=(0,l.ensureNotNull)(o.closest(".chart-container")),c=i.getBoundingClientRect(),u=(0,l.ensureNotNull)(i.parentElement).getBoundingClientRect(),d=r.left+e.point.x+a,m=Math.round(d-t/2),p=Math.min(m+t,c.right,u.right) -;let f,v,h=Math.max(p-t,c.left,u.left);h+t>=u.right&&(h=u.right-t);const g=c.bottom-(r.top+e.point.y+s),w=c.height-g-e.marginTop;return w{"use strict";function o(e,t,n,o,r){function l(r){if(e>r.timeStamp)return;const l=r.target;void 0!==n&&null!==t&&null!==l&&l.ownerDocument===o&&(t.contains(l)||n(r))}return r.click&&o.addEventListener("click",l,!1),r.mouseDown&&o.addEventListener("mousedown",l,!1),r.touchEnd&&o.addEventListener("touchend",l,!1),r.touchStart&&o.addEventListener("touchstart",l,!1),()=>{o.removeEventListener("click",l,!1),o.removeEventListener("mousedown",l,!1),o.removeEventListener("touchend",l,!1),o.removeEventListener("touchstart",l,!1)}}n.d(t,{addOutsideEventListener:()=>o})},37558:(e,t,n)=>{"use strict";n.d(t,{DrawerManager:()=>r,DrawerContext:()=>l});var o=n(59496);class r extends o.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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.createElement(l.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const l=o.createContext(null)},41590:(e,t,n)=>{"use strict";n.d(t,{Drawer:()=>p});var o=n(59496),r=n(88537),l=n(97754),a=n(59142),s=n(99054),i=n(65718),c=n(37558),u=n(49483),d=n(29197),m=n(66998);function p(e){const{position:t="Bottom",onClose:n,children:p,className:f,theme:v=m}=e,h=(0,r.ensureNotNull)((0,o.useContext)(c.DrawerContext)),[g,w]=(0,o.useState)(0),E=(0,o.useRef)(null),C=(0,o.useContext)(d.CloseDelegateContext);return(0,o.useEffect)(()=>{const e=(0,r.ensureNotNull)(E.current);return e.focus({preventScroll:!0}),C.subscribe(h,n),0===h.currentDrawer&&(0,s.setFixedBodyState)(!0),u.CheckMobile.iOS()&&(0,a.disableBodyScroll)(e),w(h.addDrawer()),()=>{C.unsubscribe(h,n);const t=h.removeDrawer();u.CheckMobile.iOS()&&(0,a.enableBodyScroll)(e),0===t&&(0,s.setFixedBodyState)(!1)}},[]),o.createElement(i.Portal,null,o.createElement("div",{className:l(m.wrap,m["position"+t])},g===h.currentDrawer&&o.createElement("div",{className:m.backdrop,onClick:n}),o.createElement("div",{className:l(m.drawer,v.drawer,m["position"+t],f),ref:E,tabIndex:-1,"data-name":e["data-name"]},p)))}},50628:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>c});var o=n(59496),r=n(87995),l=n(65718),a=n(27317),s=n(29197),i=n(58095);function c(e){const{controller:t,children:n,isOpened:c,closeOnClickOutside:u=!0,doNotCloseOn:d,onClickOutside:m,onClose:p,...f}=e,v=(0,o.useContext)(s.CloseDelegateContext),h=(0,i.useOutsideEvent)({handler:function(e){m&&m(e);if(!u)return;if(d&&e.target instanceof Node){const t=r.findDOMNode(d);if(t instanceof Node&&t.contains(e.target))return}p()},mouseDown:!0,touchStart:!0});return c?o.createElement(l.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},o.createElement("span",{ -ref:h,style:{pointerEvents:"auto"}},o.createElement(a.Menu,{...f,onClose:p,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:v,ref:t},n))):null}},40173:(e,t,n)=>{"use strict";function o(e,t,n={}){const o=Object.assign({},t);for(const r of Object.keys(t)){const l=n[r]||r;l in e&&(o[r]=[e[l],t[r]].join(" "))}return o}function r(e,t,n={}){return Object.assign({},e,o(e,t,n))}n.d(t,{weakComposeClasses:()=>o,mergeThemes:()=>r})}}]); \ No newline at end of file diff --git a/charting_library/bundles/lt-pane-views.0d4b5b1bbff664aa4bbd.js b/charting_library/bundles/lt-pane-views.64f0e2787aaea98f864f.js similarity index 91% rename from charting_library/bundles/lt-pane-views.0d4b5b1bbff664aa4bbd.js rename to charting_library/bundles/lt-pane-views.64f0e2787aaea98f864f.js index fec5e441..8d06e5d0 100644 --- a/charting_library/bundles/lt-pane-views.0d4b5b1bbff664aa4bbd.js +++ b/charting_library/bundles/lt-pane-views.64f0e2787aaea98f864f.js @@ -44,8 +44,8 @@ offsetY:0,bold:i.bold.value(),italic:i.italic.value(),fontsize:i.fontsize.value( this._renderer=s}}},78583:(e,t,i)=>{"use strict";i.r(t),i.d(t,{IconPaneView:()=>v});var n=i(86441),r=i(25422),s=i(88537),a=i(68906),o=i(94804),l=i(56589),d=i(28910),h=i(45112),c=i(62820),u=i(93435),_=i(16282),p=i(84346);const g=(0,h.getHexColorByName)("color-tv-blue-600");class f extends _.ScaledPaneRenderer{constructor(e){super(),this._data=null,this._cache=e}setData(e){this._data=e}hitTest(e,t){if(null===this._data)return null;const{icon:i,size:n,angle:s,point:a}=this._data,o=65536*i+n,l=this._cache[o]+30,d=n+30,h=(0,r.rotationMatrix)(-s),c=(0,r.transformPoint)(h,e.subtract(a));return Math.abs(c.y)<=l/2&&Math.abs(c.x)<=d/2?new p.HitTestResult(p.HitTestResult.MOVEPOINT):null}_drawImpl(e,t){if(null===this._data)return;const{size:i,icon:n,point:r,angle:s,color:a,background:o,selected:l}=this._data,d=String.fromCharCode(n);e.font=i+"px FontAwesome";const h=e.measureText(d).width;e.textBaseline="middle",e.translate(r.x,r.y),e.rotate(s-Math.PI/2),e.textAlign=(0,c.isRtl)()?"right":"left";const _=(0,u.calcTextHorizontalShift)(e,h),p=65536*n+i;if(this._cache[p]=h,l){const t=h+30,n=i+30;e.fillStyle=o,e.strokeStyle=g,e.beginPath(),e.rect(-t/2,-n/2,t,n),e.closePath(),e.fill(),e.stroke()}e.fillStyle=a,e.fillText(d,-h/2+_,0)}}class v extends d.LineSourcePaneView{constructor(){super(...arguments),this._cache={},this._iconRenderer=new f(this._cache),this._renderer=null}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}_updateImpl(){if(super._updateImpl(),this._renderer=null,this._points.length<1)return;const e=new o.CompositeRenderer,t=this._source.properties().childs(),i={point:this._points[0],color:t.color.value(),size:t.size.value(),icon:t.icon.value(),angle:t.angle.value(),selected:this.areAnchorsVisible(),background:this._calculateBackgroundColor()};this._iconRenderer.setData(i),e.append(this._iconRenderer);const s=65536*i.icon+i.size,a=this._cache[s]+30,h=i.size+30,c=this._points[0],u=this._source.getAnchorLimit();let _=new n.Point(Math.max(u,h)/2,0),p=new n.Point(0,Math.max(u,a)/2);const g=(0,r.rotationMatrix)(t.angle.value());_=(0,r.transformPoint)(g,_),p=(0,r.transformPoint)(g,p);const f=c.add(_);f.data=0;const v=c.subtract(_);v.data=1;const x=c.add(p);x.data=2,x.square=!0;const w=c.subtract(p);w.data=3,w.square=!0;const m=(0,d.thirdPointCursorType)(f,v),R=[l.PaneCursorType.Default,l.PaneCursorType.Default,m,m];e.append(this.createLineAnchor({points:[f,v,x,w],pointsCursorType:R},0)),this._renderer=e}_calculateBackgroundColor(){return(0,a.generateColor)(this._model.backgroundColorAtYPercentFromTop(this._points[0].y/(0,s.ensureNotNull)(this._model.paneForSource(this._source)).height()),60,!0)}}},28910:(e,t,i)=>{"use strict";i.d(t,{thirdPointCursorType:()=>_,LineSourcePaneView:()=>p});var n=i(86441),r=i(45112),s=i(71413),a=i(84346),o=i(41892),l=i(49621),d=i(56589),h=i(88537);const c=r.colorsPalette["color-tv-blue-600"];var u;function _(e,t){const i=t.x-e.x,n=t.y-e.y,r=Math.abs(Math.atan2(i,n));return r>Math.PI/4&&r<3*Math.PI/4?d.PaneCursorType.VerticalResize:d.PaneCursorType.HorizontalResize} !function(e){e[e.RegularAnchorRadius=6]="RegularAnchorRadius",e[e.TouchAnchorRadius=13]="TouchAnchorRadius",e[e.RegularStrokeWidth=1]="RegularStrokeWidth",e[e.TouchStrokeWidth=3]="TouchStrokeWidth",e[e.RegularSelectedStrokeWidth=3]="RegularSelectedStrokeWidth",e[e.TouchSelectedStrokeWidth=0]="TouchSelectedStrokeWidth"}(u||(u={}));class p{constructor(e,t){this._invalidated=!0,this._points=[],this._middlePoint=null,this._selectionRenderers=[],this._lineAnchorRenderers=[],this._source=e,this._model=t}priceToCoordinate(e){const t=this._source.priceScale();if(null===t)return null;const i=this._source.ownerSource(),n=null!==i?i.firstValue():null;return null===n?null:t.priceToCoordinate(e,n)}currentPoint(){const e=this._model.crossHairSource();return new n.Point(e.originX(),e.originY())}anchorColor(){return c}isHoveredSource(){return this._source===this._model.hoveredSource()}isSelectedSource(){return this._model.selection().isSelected(this._source)}isBeingEdited(){return this._model.lineBeingEdited()===this._source}isEditMode(){return!this._model.isSnapshot()}areAnchorsVisible(){return(this.isHoveredSource()&&!this.isLocked()||this.isSelectedSource())&&this.isEditMode()}update(){this._invalidated=!0}isLocked(){return Boolean(this._source.isLocked&&this._source.isLocked())}addAnchors(e,t){let i=this._points;this._model.lineBeingCreated()===this._source&&(i=i.slice(0,-1));const n=i.map((e,t)=>{const i=this._source.points()[t],n=e;return n.snappingPrice=null==i?void 0:i.price,n.snappingIndex=null==i?void 0:i.index,n});e.append(this.createLineAnchor({...null!=t?t:{},points:n},0))}createLineAnchor(e,t){var i;if(this.isLocked()){const i=this._getSelectionRenderer(t);return i.setData({bgColors:this._lineAnchorColors(e.points),points:e.points,visible:this.areAnchorsVisible(),hittestResult:a.HitTestResult.REGULAR,barSpacing:this._model.timeScale().barSpacing()}),i}const n=(0,s.lastMouseOrTouchEventInfo)().isTouch,r=this._getLineAnchorRenderer(t);return r.setData({...e,color:this.anchorColor(),backgroundColors:this._lineAnchorColors(e.points),currentPoint:this.currentPoint(),linePointBeingEdited:this.isBeingEdited()?this._model.linePointBeingEdited():null,hittestResult:null!==(i=e.hittestResult)&&void 0!==i?i:a.HitTestResult.CHANGEPOINT,radius:this._anchorRadius(),strokeWidth:n?u.TouchStrokeWidth:u.RegularStrokeWidth,selected:this.isSelectedSource(),selectedStrokeWidth:n?u.TouchSelectedStrokeWidth:u.RegularSelectedStrokeWidth,visible:this.areAnchorsVisible()}),r}_anchorRadius(){return(0,s.lastMouseOrTouchEventInfo)().isTouch?u.TouchAnchorRadius:u.RegularAnchorRadius}_lineAnchorColors(e){const t=(0,h.ensureNotNull)(this._model.paneForSource(this._source)).height();return e.map(e=>this._model.backgroundColorAtYPercentFromTop(e.y/t))}_updateImpl(e,t){this._points=[];if(this._model.timeScale().isEmpty())return;if(!this._validatePriceScale())return;const i=this._source.points();for(let e=0;e{"use strict";i.r(t),i.d(t,{LineToolBeingCreatedPaneView:()=>c});var n=i(45112),r=i(28910),s=i(43891),a=i(49612),o=i(94804),l=i(44349),d=i(63300);const h=n.colorsPalette["color-cold-gray-500"];class c extends r.LineSourcePaneView{constructor(){super(...arguments),this._lineRenderer1=new l.VerticalLineRenderer,this._lineRenderer2=new l.VerticalLineRenderer,this._medianRenderer=new d.TrendLineRenderer,this._renderer=null}renderer(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._renderer}_updateImpl(){super._updateImpl(),this._renderer=null;const e=this._getPoints();if(e.length<1)return;this._renderer=new o.CompositeRenderer;const[t,i]=e;this._lineRenderer1.setData({x:t.x,color:h,linewidth:1,linestyle:s.LINESTYLE_SOLID}),this._renderer.append(this._lineRenderer1),e.length>1&&(this._lineRenderer2.setData({x:i.x,color:h,linewidth:1,linestyle:s.LINESTYLE_SOLID}),this._medianRenderer.setData({points:[t,i],color:h,linewidth:1,linestyle:s.LINESTYLE_SOLID,extendleft:!1,extendright:!1,leftend:a.LineEnd.Normal,rightend:a.LineEnd.Normal}),this._renderer.append(this._lineRenderer2),this._renderer.append(this._medianRenderer))}}},16378:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LineToolPaneViewFibWithLabels:()=>d});var n=i(86441),r=i(28910),s=i(98664),a=i(95505),o=i(26811),l=i(22799);class d extends r.LineSourcePaneView{constructor(e,t){super(e,t),this._labelsRenderers=new Array(e.levelsCount()).fill(null).map(()=>new s.TextRenderer),this._numericFormatter=new a.NumericFormatter,this._percentageFormatter=new o.PercentageFormatter}_updateLabelForLevel({i:e,levelIndex:t,leftPoint:i,rightPoint:r,price:s,color:a,horzAlign:o,vertAlign:d,extendLeft:h=!1,extendRight:c=!1}){var u,_,p,g,f;const v=this._source.priceScale();if(!v)return null;const x=this._source.properties(),w=Boolean(null===(u=x.showCoeffs)||void 0===u?void 0:u.value()),m=Boolean(null===(_=x.showPrices)||void 0===_?void 0:_.value());if(!w&&!m)return null;const R=null===(p=this._source.ownerSource())||void 0===p?void 0:p.firstValue();if(null==R)return null;const y=!(i.x>this._model.timeScale().width()&&!h||r.x<0&&!c);let T,b,L=o;switch(L){case"left":b=i.y,h?T=y?0:r.x:(T=i.x,L="right");break;case"right":b=r.y,c?T=y?this._model.timeScale().width():i.x:(T=r.x,L="left");break;default:T=(i.x+r.x)/2, -b=(i.y+r.y)/2}const P=x["level"+t].coeff.value();let S="";if(w){S+=null!==(f=null===(g=x.coeffsAsPercents)||void 0===g?void 0:g.value())&&void 0!==f&&f?this._percentageFormatter.format(100*P,!1,2):this._numericFormatter.format(P)}return m&&(S+="("+v.formatPrice(s,R)+")"),this._labelsRenderers[e].setData({points:[new n.Point(T,b)],text:S,color:a,vertAlign:d,horzAlign:L,offsetX:4,offsetY:0,font:l.CHART_FONT_FAMILY,fontSize:x.labelFontSize?x.labelFontSize.value():12}),this._labelsRenderers[e]}}},99578:(e,t,i)=>{"use strict";i.r(t),i.d(t,{NotePaneView:()=>x});var n=i(28910),r=i(94804),s=i(41892),a=i(84346),o=i(88537),l=i(98664),d=i(68906),h=i(62820),c=i(93435),u=i(15712),_=i(86441),p=i(34026);class g{constructor(e){this._data=null,this._sourceCanvas=null,this._translate=new _.Point(0,0),this._renderParams=e}destroy(){var e;null===(e=this._sourceCanvas)||void 0===e||e.remove()}renderParams(){return this._renderParams}update(e){var t,i;t=this._data,i=e,(null===t||t.markerColor!==i.markerColor||t.borderColor!==i.borderColor||t.width!==i.width||t.height!==i.height)&&this._createSource(e.width,e.height,e.markerColor),this._data=e}drawOn(e){const t=(0,o.ensureNotNull)(this._data),i=new _.Point(Math.round(t.point.x),Math.round(t.point.y)).add(this._translate);e.drawImage((0,o.ensureNotNull)(this._sourceCanvas),Math.round(i.x*this._renderParams.pixelRatio),Math.round(i.y*this._renderParams.pixelRatio),Math.round(t.width*this._renderParams.pixelRatio),Math.round(t.height*this._renderParams.pixelRatio))}hasPoint(e){const t=(0,o.ensureNotNull)(this._data),i=t.point.add(this._translate),n=new _.Point(t.point.x-this._translate.x,t.point.y);return(0,p.pointInBox)(e,(0,_.box)(i,n))}_createSource(e,t,i){this._sourceCanvas=(0,c.createDisconnectedCanvas)(document,new c.Size(e,t),this._renderParams.pixelRatio),this._translate=new _.Point(-e/2,.5-t),this._translate.x%1==0&&(this._translate=new _.Point(this._translate.x+.5,this._translate.y));const n=(0,o.ensureNotNull)(this._sourceCanvas.getContext("2d"));(0,c.drawScaled)(n,this._renderParams.pixelRatio,()=>{const r=.6*e;n.fillStyle=i,n.beginPath(),n.moveTo(e/2,t),n.quadraticCurveTo(e,e/1.15,e,e/2),n.arc(e/2,e/2,e/2,0,Math.PI,!0),n.quadraticCurveTo(0,e/1.15,e/2,t),n.fill(),n.globalCompositeOperation="destination-out",n.beginPath(),n.moveTo((e-r)/2,e/2),n.arc(e/2,e/2,r/2,0,2*Math.PI),n.fill()})}}class f{constructor(){this._source=null,this._data=null}setData(e){this._data=e,this._source&&this._source.update(e)}draw(e,t){var i;if(null===this._data)return;null!==this._source&&(0,u.areEqualPaneRenderParams)(this._source.renderParams(),t)||(null===(i=this._source)||void 0===i||i.destroy(),this._source=new g(t),this._source.update(this._data));this._source.drawOn(e),this._data.tooltipVisible&&this._drawTooltipOn(e,t)}hitTest(e){return null!==this._data&&null!==this._source&&this._source.hasPoint(e)?new a.HitTestResult(a.HitTestResult.MOVEPOINT):null}_drawTooltipOn(e,t){e.save(),e.translate(.5,.5);const i=(0,o.ensureNotNull)(this._data),n=String(i.text).replace(/^\s+|\s+$/g,"") -;e.font=(i.bold?"bold ":"")+(i.italic?"italic ":"")+i.fontSize+"px "+i.font;const r=i.tooltipWidth-2*i.tooltipPadding,s=(0,l.wordWrap)(n,e.font,r),a=i.point,u=i.tooltipLineSpacing;let _=i.tooltipWidth,p=s.length*i.fontSize+2*i.tooltipPadding;s.length>1&&(p+=(s.length-1)*u);let g=Math.round(a.x-_/2),f=Math.round(a.y-i.height-p-8);const v=a.x<20||a.x+20>i.vpWidth;let x=v?null:"top",w=v?0:Math.round(a.x);f<10?f=a.y+13:x="bottom",g<10?g+=Math.abs(g-10):g+_+10>i.vpWidth&&(g-=g+_+10-i.vpWidth),e.fillStyle=(0,d.generateColor)(i.backgroundColor,i.backgroundTransparency),e.strokeStyle=i.borderColor,e.lineWidth=1,e.beginPath();const m=Math.round(g*t.pixelRatio),R=Math.round(f*t.pixelRatio);w=Math.round(w*t.pixelRatio),p=Math.round(p*t.pixelRatio),_=Math.round(_*t.pixelRatio);const y=Math.round(7*t.pixelRatio);e.moveTo(m,R),v||"top"!==x||(e.lineTo(w-y,R),e.lineTo(w,R-y),e.lineTo(w+y,R)),e.lineTo(m+_,R),e.lineTo(m+_,R+p),v||"bottom"!==x||(e.lineTo(w+y,R+p),e.lineTo(w,R+p+y),e.lineTo(w-y,R+p)),e.lineTo(m,R+p),e.closePath(),e.fill(),e.stroke(),e.textBaseline="middle",e.fillStyle=i.textColor,e.textAlign=(0,h.isRtl)()?"right":"left";const T=(0,c.calcTextHorizontalShift)(e,r),b=g+i.tooltipPadding+T;let L=f+i.tooltipPadding+i.fontSize/2;(0,c.drawScaled)(e,t.pixelRatio,()=>{for(let t=0;t{"use strict";i.r(t),i.d(t,{OrderPaneView:()=>v});var n=i(86441),r=i(28910),s=i(94804),a=i(28353),o=i(35726),l=i(29892),d=i(16282),h=i(84346),c=i(82724),u=i(53664);const _=(0,a.t)("Modify Order"),p=(0,a.t)("Cancel Order");class g extends d.ScaledPaneRenderer{constructor(e){super(),this._data=null,this._cache={},this._data=null,this._adapter=e}setData(e){ +b=(i.y+r.y)/2}const P=x["level"+t].coeff.value();let S="";if(w){S+=null!==(f=null===(g=x.coeffsAsPercents)||void 0===g?void 0:g.value())&&void 0!==f&&f?this._percentageFormatter.format(100*P,!1,2):this._numericFormatter.format(P)}return m&&(S+="("+v.formatPrice(s,R)+")"),this._labelsRenderers[e].setData({points:[new n.Point(T,b)],text:S,color:a,vertAlign:d,horzAlign:L,offsetX:4,offsetY:0,font:l.CHART_FONT_FAMILY,fontSize:x.labelFontSize?x.labelFontSize.value():12}),this._labelsRenderers[e]}}},99578:(e,t,i)=>{"use strict";i.r(t),i.d(t,{NotePaneView:()=>x});var n=i(88537),r=i(28910),s=i(94804),a=i(41892),o=i(84346),l=i(22799),d=i(98664),h=i(68906),c=i(62820),u=i(93435),_=i(15712),p=i(86441),g=i(34026);class f{constructor(e){this._data=null,this._sourceCanvas=null,this._translate=new p.Point(0,0),this._renderParams=e}destroy(){var e;null===(e=this._sourceCanvas)||void 0===e||e.remove()}renderParams(){return this._renderParams}update(e){var t,i;t=this._data,i=e,(null===t||t.markerColor!==i.markerColor||t.borderColor!==i.borderColor||t.width!==i.width||t.height!==i.height)&&this._createSource(e.width,e.height,e.markerColor),this._data=e}drawOn(e){const t=(0,n.ensureNotNull)(this._data),i=new p.Point(Math.round(t.point.x),Math.round(t.point.y)).add(this._translate);e.drawImage((0,n.ensureNotNull)(this._sourceCanvas),Math.round(i.x*this._renderParams.pixelRatio),Math.round(i.y*this._renderParams.pixelRatio),Math.round(t.width*this._renderParams.pixelRatio),Math.round(t.height*this._renderParams.pixelRatio))}hasPoint(e){const t=(0,n.ensureNotNull)(this._data),i=t.point.add(this._translate),r=new p.Point(t.point.x-this._translate.x,t.point.y);return(0,g.pointInBox)(e,(0,p.box)(i,r))}_createSource(e,t,i){this._sourceCanvas=(0,u.createDisconnectedCanvas)(document,new u.Size(e,t),this._renderParams.pixelRatio),this._translate=new p.Point(-e/2,.5-t),this._translate.x%1==0&&(this._translate=new p.Point(this._translate.x+.5,this._translate.y));const r=(0,n.ensureNotNull)(this._sourceCanvas.getContext("2d"));(0,u.drawScaled)(r,this._renderParams.pixelRatio,()=>{const n=.6*e;r.fillStyle=i,r.beginPath(),r.moveTo(e/2,t),r.quadraticCurveTo(e,e/1.15,e,e/2),r.arc(e/2,e/2,e/2,0,Math.PI,!0),r.quadraticCurveTo(0,e/1.15,e/2,t),r.fill(),r.globalCompositeOperation="destination-out",r.beginPath(),r.moveTo((e-n)/2,e/2),r.arc(e/2,e/2,n/2,0,2*Math.PI),r.fill()})}}class v{constructor(){this._source=null,this._data=null}setData(e){this._data=e,this._source&&this._source.update(e)}draw(e,t){var i;if(null===this._data)return;null!==this._source&&(0,_.areEqualPaneRenderParams)(this._source.renderParams(),t)||(null===(i=this._source)||void 0===i||i.destroy(),this._source=new f(t),this._source.update(this._data));this._source.drawOn(e),this._data.tooltipVisible&&this._drawTooltipOn(e,t)}hitTest(e){return null!==this._data&&null!==this._source&&this._source.hasPoint(e)?new o.HitTestResult(o.HitTestResult.MOVEPOINT):null}_drawTooltipOn(e,t){e.save(),e.translate(.5,.5);const i=(0,n.ensureNotNull)(this._data),r=String(i.text).replace(/^\s+|\s+$/g,"") +;e.font=(i.bold?"bold ":"")+(i.italic?"italic ":"")+i.fontSize+"px "+i.font;const s=i.tooltipWidth-2*i.tooltipPadding,a=(0,d.wordWrap)(r,e.font,s),o=i.point,l=i.tooltipLineSpacing;let _=i.tooltipWidth,p=a.length*i.fontSize+2*i.tooltipPadding;a.length>1&&(p+=(a.length-1)*l);let g=Math.round(o.x-_/2),f=Math.round(o.y-i.height-p-8);const v=o.x<20||o.x+20>i.vpWidth;let x=v?null:"top",w=v?0:Math.round(o.x);f<10?f=o.y+13:x="bottom",g<10?g+=Math.abs(g-10):g+_+10>i.vpWidth&&(g-=g+_+10-i.vpWidth),e.fillStyle=(0,h.generateColor)(i.backgroundColor,i.backgroundTransparency),e.strokeStyle=i.borderColor,e.lineWidth=1,e.beginPath();const m=Math.round(g*t.pixelRatio),R=Math.round(f*t.pixelRatio);w=Math.round(w*t.pixelRatio),p=Math.round(p*t.pixelRatio),_=Math.round(_*t.pixelRatio);const y=Math.round(7*t.pixelRatio);e.moveTo(m,R),v||"top"!==x||(e.lineTo(w-y,R),e.lineTo(w,R-y),e.lineTo(w+y,R)),e.lineTo(m+_,R),e.lineTo(m+_,R+p),v||"bottom"!==x||(e.lineTo(w+y,R+p),e.lineTo(w,R+p+y),e.lineTo(w-y,R+p)),e.lineTo(m,R+p),e.closePath(),e.fill(),e.stroke(),e.textBaseline="middle",e.fillStyle=i.textColor,e.textAlign=(0,c.isRtl)()?"right":"left";const T=(0,u.calcTextHorizontalShift)(e,s),b=g+i.tooltipPadding+T;let L=f+i.tooltipPadding+i.fontSize/2;(0,u.drawScaled)(e,t.pixelRatio,()=>{for(let t=0;t{"use strict";i.r(t),i.d(t,{OrderPaneView:()=>v});var n=i(86441),r=i(28910),s=i(94804),a=i(28353),o=i(35726),l=i(29892),d=i(16282),h=i(84346),c=i(82724),u=i(53664);const _=(0,a.t)("Modify Order"),p=(0,a.t)("Cancel Order");class g extends d.ScaledPaneRenderer{constructor(e){super(),this._data=null,this._cache={},this._data=null,this._adapter=e}setData(e){ this._data=e}hitTest(e,t){if(null===this._data||0===this._data.points.length)return null;const i=this._cache;if(e.yi.bottom)return null;if(this._adapter.getBlocked()&&e.x>=i.left&&e.x=i.left&&e.x=i.bodyRight&&e.x=i.quantityRight&&e.x0){const t=this._points[0].y,i=e-3.5-1,r=this._adapter.hasMoveCallback()?h.HitTestResult.MOVEPOINT:h.HitTestResult.REGULAR,s=[new n.Point(i,t)];this._selectionData={barSpacing:this._model.timeScale().barSpacing(),points:s,bgColors:this._lineAnchorColors(s),hittestResult:r,visible:!0}}this._orderRenderer.setData({points:this._points}),this._selectionRenderer.setData(this._selectionData)}}},74143:(e,t,i)=>{ "use strict";i.r(t),i.d(t,{ParallelChannelPaneView:()=>d});var n=i(86441),r=i(56589),s=i(94804),a=i(78650),o=i(7478);const l=[r.PaneCursorType.Default,r.PaneCursorType.Default,r.PaneCursorType.Default,r.PaneCursorType.Default,r.PaneCursorType.VerticalResize,r.PaneCursorType.VerticalResize];class d extends o.AlertableLineSourcePaneView{constructor(){super(...arguments),this._channelRenderer=new a.ParallelChannelRenderer,this._renderer=null}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}_updateImpl(){super._updateImpl(),this._renderer=null;const e=this._source.priceScale();if(!e||e.isEmpty())return;if(0===this._source.points().length)return;let t=null,i=null;if(3===this._points.length){const e=this._points[0],r=this._points[1],s=this._points[2].y-this._points[0].y;t=e.add((0,n.point)(0,s)),i=r.add((0,n.point)(0,s))}if(this._points.length<=1)return;const r=this._source.properties(),a={points:this._points.length>2&&null!==t&&null!==i?[this._points[0],this._points[1],t,i]:[this._points[0],this._points[1]],color:r.childs().linecolor.value(),linewidth:r.childs().linewidth.value(),linestyle:r.childs().linestyle.value(),extendleft:r.childs().extendLeft.value(),extendright:r.childs().extendRight.value(),fillBackground:r.childs().fillBackground.value(),backcolor:r.childs().backgroundColor.value(),transparency:r.childs().transparency.value(),showMidline:r.childs().showMidline.value(),midlinewidth:r.childs().midlinewidth.value(),midlinestyle:r.childs().midlinestyle.value(),midcolor:r.childs().midlinecolor.value(),hittestOnBackground:!0};this._channelRenderer.setData(a);const o=new s.CompositeRenderer;o.append(this._channelRenderer);const d=[];if(this._points[0]&&d.push(this._points[0]),this._points[1]&&d.push(this._points[1]),t&&i){const e=t;e.data=2,d.push(e);const n=i;n.data=3,d.push(n);const r=t.add(i).scaled(.5);r.data=4,r.square=!0,d.push(r);const s=d[0].add(d[1]).scaled(.5);s.data=5,s.square=!0,d.push(s)}const h=3===this._points.length&&!t;if(this._model.lineBeingCreated()!==this._source||h||(d.pop(),d.pop()),o.append(this.createLineAnchor({points:d,pointsCursorType:l},0)),this._points.length>=2){const e=this._points;this._addAlertRenderer(o,[e[0],e[1]])}this._renderer=o}}},10155:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PathPaneView:()=>a});var n=i(2375),r=i(94804),s=i(28910);class a extends s.LineSourcePaneView{constructor(e,t){super(e,t),this._polygonRenderer=new n.PolygonRenderer,this._renderer=new r.CompositeRenderer}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}_updateImpl(){super._updateImpl(),this._renderer.clear();const e=this._source.properties().childs(),t={points:this._points,color:e.lineColor.value(),linewidth:e.lineWidth.value(),linestyle:e.lineStyle.value(),leftend:e.leftEnd.value(),rightend:e.rightEnd.value(),filled:!1,backcolor:"",fillBackground:!1,transparency:0};this._polygonRenderer.setData(t),this._renderer.append(this._polygonRenderer),this.addAnchors(this._renderer)}}},92669:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PitchfanLinePaneView:()=>d}) @@ -73,13 +73,13 @@ p:l,txt:d,color:i.profitBackground.value(),vertAlign:e.entryPrice0&&(0,u.pointInCircle)(t,new n.Point(r,a),s.circleRadius+i)}return[a,o,!a&&!o&&null!==e.labelRenderer.hitTest(t)]}(this._data,e);if(i||r||s){const e={hideCrosshairLinesOnHover:!0,activeItem:i||r?this._data.itemIndex:this._data.label.labelIndex};return s?e.areaName=o.AreaName.Text:r&&(e.areaName=o.AreaName.Style),new o.HitTestResult(this._hitTestResult,e)}return null}draw(e,t){if(null===this._data)return;e.save(),this._phantomMode&&(e.globalAlpha=.5) ;const{poleColor:i,emojiRadius:n}=this._data,r=t.pixelRatio,s=Math.max(1,Math.floor(r)),a=s%2?.5:0;e.beginPath(),e.strokeStyle=i,e.lineWidth=s;const o=Math.round(this._data.x*r)+a;e.moveTo(o,Math.round(R(this._data)*r)),e.lineTo(o,Math.round(y(this._data)*r)),void 0!==this._data.plate&&0!==this._data.plate.poleTailHeight&&(e.moveTo(o,Math.round(T(this._data)*r)),e.lineTo(o,Math.round(function(e){var t,i;const n=null!==(i=null===(t=e.plate)||void 0===t?void 0:t.poleTailHeight)&&void 0!==i?i:0;return e.inverseAnchorPosition?T(e)-n*e.direction:T(e)+n*e.direction}(this._data)*r))),e.stroke(),void 0!==this._data.plate&&function(e,t,i,n,r){const s=r.pixelRatio,{circleRadius:a,poleTailHeight:o,circleBorderColor:l,circleBackgroundColor:d}=i;e.strokeStyle=l,e.fillStyle=d;const h=(0,v.fillScaledRadius)(a,s),c=Math.round(t.x*s),u=t.inverseAnchorPosition?Math.round(t.anchorY*s)+Math.round(a*s)*t.direction:Math.round(t.anchorY*s)+Math.round((t.labelHeight+o+a)*s)*t.direction,_=Math.max(1,Math.floor(s))%2/2,p=c+_,g=u+_;if(e.shadowOffsetY=1,e.shadowColor=i.shadowColor,e.shadowBlur=4,e.beginPath(),e.arc(p,g,h,0,2*Math.PI,!0),e.closePath(),e.fill(),e.shadowColor="transparent",null!==t.image){const i=2*(0,v.fillScaledRadius)(n,s),r=w(t.image,i);e.drawImage(r,p-i/2,g-i/2)}const f=Math.round(i.circleBorderWidth*s),x=(0,v.strokeScaledRadius)(a,s,f);if(e.lineWidth=f,e.beginPath(),e.arc(p,g,x,0,2*Math.PI,!0),e.closePath(),e.stroke(),i.outsideBorderWidth){e.save();const t=Math.round(i.outsideBorderWidth*s),n=x+f/2+t/2;e.lineWidth=t,e.strokeStyle=i.outsideBorderColor,e.beginPath(),e.arc(p,g,n,0,2*Math.PI,!0),e.closePath(),e.stroke(),e.restore()}}(e,this._data,this._data.plate,n,t),this._data.labelRenderer.draw(e,t),e.restore()}}const L={circleBorderColor:(0,r.getHexColorByName)("color-cold-gray-900"),labelBackgroundColor:(0,r.getHexColorByName)("color-cold-gray-900"),labelBorderColor:(0,r.getHexColorByName)("color-cold-gray-800"),labelTextColor:(0,r.getHexColorByName)("color-cold-gray-200"),poleColor:(0,r.getHexColorByName)("color-cold-gray-500"),shadowColor:"rgba(0,0,0,0.4)",selectionColor:(0,r.getHexColorByName)("color-tv-blue-500")},P={circleBorderColor:(0,r.getHexColorByName)("color-white"),labelBackgroundColor:(0,r.getHexColorByName)("color-white"),labelBorderColor:(0,r.getHexColorByName)("color-cold-gray-150"),labelTextColor:(0,r.getHexColorByName)("color-cold-gray-900"),poleColor:(0,r.getHexColorByName)("color-cold-gray-500"),shadowColor:"rgba(0,0,0,0.2)",selectionColor:(0,r.getHexColorByName)("color-tv-blue-500")};class S extends l.LineSourcePaneView{constructor(e,t){super(e,t),this._renderer=new s.CompositeRenderer,this._signpostRenderer=new b(o.HitTestResult.MOVEPOINT,e.isPhantom())}renderer(e,t){return this._invalidated&&this._updateImpl(e,t),this._renderer}_updateImpl(e,t){if(super._updateImpl(),this._renderer.clear(),!this._updateTimelineRenderer(e))return;if(this._renderer.append(this._signpostRenderer),this._source.isPhantom())return;const i=this._itemAnchorY();if(null===i)return;const r=this._points[0],s=new n.Point(r.x,i) ;s.data=r.data,s.square=!0,this._renderer.append(this.createLineAnchor({points:[s],pointsCursorType:[a.PaneCursorType.VerticalResize]},0))}_itemAnchorY(){return this._signpostRenderer.itemAnchorY()}_updateTimelineRenderer(e){const t=this._source.ownerSource();if(null===t)return!1;const i=this._model.timeScale(),n=t.priceScale(),r=t.firstValue();if(i.isEmpty()||null===n||n.isEmpty()||null===r)return!1;const s=this._model.isDark()?L:P,a=this._model.mainSeries(),o=this._source.properties().childs(),l=o.position.value(),c=this._source.customEvent(),u=t===a?(0,d.getSeriesPosition)(a,c):(0,d.getNoDataPosition)(c,n,r);if(null===u)return!1;const _=i.indexToCoordinate(u.index),p=n.priceToCoordinate(u.price,r),g=o.showImage.value();let f=(0,d.positionToCoordinate)(l,e,p,u.positionPointDirection);f>=-1e-10&&f<=e+1e-10&&(f=Math.min(e-2,Math.max(2,f)));const v=u.visualDirection!==u.positionPointDirection,x=u.visualDirection,w={emojiRadius:16,poleColor:s.poleColor,image:this._source.image(),itemIndex:1,label:{labelIndex:1,labelDirection:u.positionPointDirection,labelFont:h.CHART_FONT_FAMILY,labelFontSize:o.fontSize.value(),labelFontBold:o.bold.value(),labelFontItalic:o.italic.value(),labelBorderRadius:4,labelPadding:3,labelBoxPaddingVert:6,labelBoxPaddingHorz:8,labelWordWrapWidth:134,labelColor:s.labelTextColor,labelBorderColor:s.labelBorderColor,labelBackgroundColor:s.labelBackgroundColor,text:o.text.value()},x:_,anchorY:f,poleStartY:u.poleStartY,direction:x*(v?-1:1),inverseAnchorPosition:v};return g&&(w.plate={circleBackgroundColor:o.backgroundsColors.value(),outsideBorderWidth:0,circleBorderColor:s.circleBorderColor,circleBorderWidth:1,poleTailHeight:o.text.value()?10:0,circleRadius:35,shadowColor:s.shadowColor,outsideBorderColor:s.selectionColor}),this._signpostRenderer.setData(w),!0}}},85:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SineLinePaneView:()=>h});var n=i(86441),r=i(28910),s=i(94804),a=i(16282),o=i(84346),l=i(29892);class d extends a.ScaledPaneRenderer{constructor(e){super(),this._data=e}hitTest(e,t){const i=(e.x-this._data.point.x)*Math.PI/this._data.width;let n=Math.sin(i-Math.PI/2)*this._data.height/2;return n=this._data.point.y+n+this._data.height/2,Math.abs(n-e.y)<=3?new o.HitTestResult(o.HitTestResult.MOVEPOINT):null}_drawImpl(e,t){e.strokeStyle=this._data.color,e.lineWidth=this._data.lineWidth,(0,l.setLineStyle)(e,this._data.lineStyle),e.beginPath(),e.moveTo(this._data.point.x,this._data.point.y);const i=Math.max(1,this._data.width/30),n=t.cssWidth-this._data.point.x+i;for(let t=1;t<=n;t+=i){const i=t*Math.PI/this._data.width,n=Math.sin(i-Math.PI/2)*this._data.height/2;e.lineTo(this._data.point.x+t,this._data.point.y+n+this._data.height/2)}e.stroke()}}class h extends r.LineSourcePaneView{constructor(e,t){super(e,t),this._renderer=new s.CompositeRenderer}renderer(e,t){return this._invalidated&&this._updateImpl(e,t),this._renderer}_updateImpl(e,t){if(super._updateImpl(),this._renderer.clear(),this._points.length<2)return;const[i,r]=this._source.points() -;if(0===2*Math.abs(i.index-r.index))return void this.addAnchors(this._renderer);const[s,a]=this._points,o=Math.abs(s.x-a.x),l=a.y-s.y,h=this._source.properties().childs(),c=h.linewidth.value();if(s.y<-c&&a.y<-c||s.y>e+c&&a.y>e+c)return;const u=2*o,_=s.x>0?s.x-Math.ceil(s.x/u)*u:s.x+Math.floor(-s.x/u)*u,p={point:new n.Point(_,s.y),width:o,height:l,color:h.linecolor.value(),lineWidth:h.linewidth.value(),lineStyle:h.linestyle.value()};this._renderer.append(new d(p)),this.addAnchors(this._renderer)}}},77557:(e,t,i)=>{"use strict";i.r(t),i.d(t,{StudyLineDataSourceAnchorsPaneView:()=>r});var n=i(28910);class r extends n.LineSourcePaneView{renderer(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this.createLineAnchor({points:this._getPoints()},0)}}},44074:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TextPaneView:()=>p});var n=i(88537),r=i(86441),s=i(22799),a=i(56589),o=i(98664),l=i(94804),d=i(41892),h=i(74477),c=i(84346),u=i(28910);const _=[a.PaneCursorType.HorizontalResize];class p extends u.LineSourcePaneView{constructor(e,t,i,n,r,s,a,l){super(e,t),this._textRenderer=new o.TextRenderer,this._noSelection=!1,this._renderer=null,this._offsetX=i,this._offsetY=n,this._vertAlign=r,this._horzAlign=s,this._forceTextAlign=Boolean(a),this._noSelection=!1,this._renderer=null,this._recalculateSourcePointsOnFirstUpdate=l}renderer(e,t){return this._invalidated&&this._updateImpl(e,t),this._renderer}disableSelection(){this._noSelection=!0}isEditMode(){return!this._getModel().readOnly()}_updateImpl(e,t){super._updateImpl(e,t),this._renderer=null;const i=this._getSource(),a=i.priceScale();if(!a||a.isEmpty())return;const o=i.properties().childs(),u=this._getModel(),p={text:o.text.value(),color:o.color.value(),fontSize:o.fontsize.value(),boxPadding:o.fontsize.value()/6,font:s.CHART_FONT_FAMILY,vertAlign:this._vertAlign||"top",horzAlign:this._horzAlign||"left",offsetX:this._offsetX||0,offsetY:this._offsetY||0,forceTextAlign:this._forceTextAlign};if(p.points=i.isFixed()?i.fixedPoints():this._points,o.fillBackground&&o.fillBackground.value()&&(p.backgroundColor=o.backgroundColor.value()),o.drawBorder&&o.drawBorder.value()&&(p.borderColor=o.borderColor.value()),o.wordWrap&&o.wordWrap.value()&&(p.wordWrapWidth=o.wordWrapWidth.value()),p.bold=o.bold&&o.bold.value(),p.italic=o.italic&&o.italic.value(),p.highlightBorder=u.selection().isSelected(i),!i.isFixed()&&o.fixedSize&&!o.fixedSize.value()){p.scaleX=u.timeScale().barSpacing()/i.barSpacing();const e=(0,n.ensureNotNull)(a.priceRange());let t=a.height()/e.length();const r=a.logFormula();i.isPriceDencityLog()&&!a.isLog()&&(t=a.height()/((0,h.toLog)(e.maxValue(),r)-(0,h.toLog)(e.minValue(),r))),!i.isPriceDencityLog()&&a.isLog()&&(t=a.height()/((0,h.fromLog)(e.maxValue(),r)-(0,h.fromLog)(e.minValue(),r)));const s=i.priceDencity();void 0!==s&&(p.scaleY=t/s),(void 0===s||void 0===p.scaleY||p.scaleY<=0)&&delete p.scaleY}if(this._textRenderer.setData(p),this._textRenderer.isOutOfScreen(t,e))return;const g=1===p.points.length;if(g&&void 0!==this._recalculateSourcePointsOnFirstUpdate){ -this._renderer=null;const e=this._textRenderer.measure();return this._recalculateSourcePointsOnFirstUpdate(e.width,e.height),void(this._recalculateSourcePointsOnFirstUpdate=void 0)}if(g&&!this._noSelection){const e=new l.CompositeRenderer;e.append(this._textRenderer);const t=p.points[0].clone(),i=this._textRenderer.measure(),n=i.width,s=i.height;if(p.wordWrapWidth){const i=new r.Point(t.x+n,t.y+s/2);i.data=1,e.append(this.createLineAnchor({points:[i],pointsCursorType:_},1))}const a=new r.Point(t.x+n/2,t.y+s);return a.data=0,e.append(new d.SelectionRenderer({points:[a],bgColors:this._lineAnchorColors([a]),visible:this.areAnchorsVisible(),hittestResult:c.HitTestResult.MOVEPOINT,barSpacing:u.timeScale().barSpacing()})),void(this._renderer=e)}this._renderer=this._textRenderer}}},88993:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LineToolThreeDrivesPaneView:()=>u});var n=i(43891),r=i(94804),s=i(98664),a=i(95505),o=i(63300),l=i(49612),d=i(2375),h=i(28910),c=i(22799);class u extends h.LineSourcePaneView{constructor(){super(...arguments),this._numericFormatter=new a.NumericFormatter,this._retrace1LabelRenderer=new s.TextRenderer,this._retrace12LabelRenderer=new s.TextRenderer,this._polyLineRenderer=new d.PolygonRenderer,this._renderer=null}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}_updateImpl(){super._updateImpl(),this._renderer=null;let e=NaN,t=NaN;if(this._source.points().length>=4){const[,t,i,n]=this._source.points();e=Math.round(100*Math.abs((n.price-i.price)/(i.price-t.price)))/100}if(this._source.points().length>=6){const[,,,e,i,n]=this._source.points();t=Math.round(100*Math.abs((n.price-i.price)/(i.price-e.price)))/100}if(this._points.length<2)return;const i=this._source.properties().childs(),s=new r.CompositeRenderer,a=(e,t)=>({points:[e],text:t,color:i.textcolor.value(),vertAlign:"middle",horzAlign:"center",font:c.CHART_FONT_FAMILY,offsetX:0,offsetY:0,bold:i.bold&&i.bold.value(),italic:i.italic&&i.italic.value(),fontsize:i.fontsize.value(),backgroundColor:i.color.value(),backgroundRoundRect:4}),d=(e,t)=>({points:[e,t],color:i.color.value(),linewidth:i.linewidth.value(),linestyle:n.LINESTYLE_DOTTED,extendleft:!1,extendright:!1,leftend:l.LineEnd.Normal,rightend:l.LineEnd.Normal}),h={points:this._points,color:i.color.value(),linewidth:i.linewidth.value(),linestyle:n.LINESTYLE_SOLID,leftend:l.LineEnd.Normal,rightend:l.LineEnd.Normal,backcolor:"rgba(0, 0, 0, 0)",fillBackground:!1,filled:!1};if(this._polyLineRenderer.setData(h),s.append(this._polyLineRenderer),!isNaN(e)){const t=new o.TrendLineRenderer;t.setData(d(this._points[1],this._points[3])),s.append(t);const i=a(this._points[1].add(this._points[3]).scaled(.5),this._numericFormatter.format(e));this._retrace1LabelRenderer.setData(i),s.append(this._retrace1LabelRenderer)}if(!isNaN(t)){const e=new o.TrendLineRenderer;e.setData(d(this._points[3],this._points[5])),s.append(e);const i=a(this._points[5].add(this._points[3]).scaled(.5),this._numericFormatter.format(t));this._retrace12LabelRenderer.setData(i),s.append(this._retrace12LabelRenderer)} -this.addAnchors(s),this._renderer=s}}},59905:(e,t,i)=>{"use strict";var n=i(86441).Point,r=i(28910).LineSourcePaneView,s=i(84346).HitTestResult,a=i(94804).CompositeRenderer,o=i(68906),l=i(16282).ScaledPaneRenderer;class d extends l{constructor(){super(),this._data=null}setData(e){this._data=e}_drawImpl(e){null!==this._data&&(e.strokeStyle=this._data.color,e.lineWidth=this._data.linewidth,CanvasEx.setLineStyle(e,this._data.linestyle),e.save(),e.translate(this._data.point.x+1,this._data.point.y),e.scale(this._data.width,this._data.height),e.beginPath(),e.arc(.5,0,.5,Math.PI,0,!1),e.restore(),e.stroke(),this._data.fillBackground&&(e.fillStyle=o.generateColor(this._data.backcolor,this._data.transparency),e.fill()))}hitTest(e){if(null===this._data||e.y>this._data.point.y)return null;if(e.xthis._data.point.x+this._data.width)return null;var t=new n(this._data.point.x+this._data.width/2,this._data.point.y),i=e.subtract(t),r=this._data.height/this._data.width;i.y/=r;var a=i.length();return Math.abs(a-this._data.width/2)<3?new s(s.MOVEPOINT):null}}t.TimeCyclesPaneView=class extends r{constructor(e,t){super(e,t),this._renderer=null}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}_updateImpl(){if(super._updateImpl(),this._renderer=null,!(this._points.length<2)){var e=this._source.points(),t=e[0],i=e[1],r=Math.min(t.index,i.index),s=Math.max(t.index,i.index),o=s-r,l=this._points[0],h=this._points[1],c=Math.abs(l.x-h.x),u=new a,_=this._source.properties(),p=this._model.timeScale();if(0!==o){for(var g=Math.min(l.x,h.x),f=[],v=r;g>-c;v-=o)g=p.indexToCoordinate(v),f.push(g);g=Math.max(l.x,h.x);for(v=s;g{"use strict";var n=i(86441).Point,r=i(28353).t,s=i(65697).TrendLineStatsRenderer,a=i(98664).TextRenderer,o=i(63300).TrendLineRenderer,l=i(94804).CompositeRenderer,d=i(26811).PercentageFormatter,h=i(41892).SelectionRenderer,c=i(97645).PipFormatter,u=i(49612).LineEnd,_=i(62580).LabelSettings,p=i(22799),g=i(84346).HitTestResult,f=i(7478).AlertableLineSourcePaneView,v=i(16282).ScaledPaneRenderer,x=i(16282).ScaledPaneRendererWrapper,w=i(62820).forceLTRStr;class m extends v{constructor(){super(),this._data=null}setData(e){this._data=e}hitTest(){return null}_drawImpl(e){if(null!==this._data){e.save(),e.translate(this._data.point.x,this._data.point.y),e.strokeStyle=this._data.color;var t=[1,2];"function"==typeof e.setLineDash?e.setLineDash(t):void 0!==e.mozDash?e.mozDash=t:void 0!==e.webkitLineDash&&(e.webkitLineDash=t);var i=this._data.size;e.beginPath(),e.moveTo(0,0),e.lineTo(i,0),e.arc(0,0,i,0,-this._data.angle,this._data.angle>0),e.stroke(),e.restore()}}} -t.TrendAnglePaneView=class extends f{constructor(e,t){super(e,t),this._label=null,this._rendererCache={},this._pipFormatter=null,this._lastSymbolInfo=null,this._trendLineRenderer=new o,this._angleRenderer=new m,this._angleLabelRenderer=new a,this._renderer=null}_updateImpl(){if(super._updateImpl(),this._renderer=null,this._points.length>0&&void 0!==this._source._angle){var e=this._points[0],t=Math.cos(this._source._angle),i=-Math.sin(this._source._angle),a=new n(t,i);this._secondPoint=e.addScaled(a,this._source._distance),this._secondPoint.data=1,this._middlePoint=this._source.calcMiddlePoint(this._points[0],this._secondPoint)}if(this._label=null,!(this._source.points().length<2)){e=this._source.points()[0];var o,f,v=this._source.points()[1],m=[];if(this._source.properties().showPriceRange.value()&&this._source.priceScale()){var R=v.price-e.price,y=R/Math.abs(e.price);o=this._source.ownerSource().formatter().format(R)+" ("+(new d).format(100*y)+") ";var T=this._model.mainSeries().symbolInfo();T&&T!==this._lastSymbolInfo&&(this._pipFormatter=new c(T.pricescale,T.minmov,T.type,T.minmove2),this._lastSymbolInfo=T),o+=this._pipFormatter?", "+this._pipFormatter.format(R):"",m.push("priceRange")}if(this._source.properties().showBarsRange.value()){f="";var b=v.index-e.index;f+=r("{count} bars").format({count:w(b)}),m.push("barsRange")}this._label=[w(o),f].filter((function(e){return e})).join("\n")||null,this._icons=m;var L=new l,P={},S=this.isHoveredSource()||this.isSelectedSource()||this._source.properties().alwaysShowStats.value(),M=(this.isHoveredSource()||this.isSelectedSource())&&this._source.properties().showMiddlePoint.value();if(this._secondPoint&&this._points.length>0){var C=this._source.properties().linecolor.value();if(P.points=[this._points[0],this._secondPoint],P.width=this._model.timeScale().width(),P.height=this._source.priceScale().height(),P.color=C,P.linewidth=this._source.properties().linewidth.value(),P.linestyle=this._source.properties().linestyle.value(),P.extendleft=this._source.properties().extendLeft.value(),P.extendright=this._source.properties().extendRight.value(),P.leftend=u.Normal,P.rightend=u.Normal,this._trendLineRenderer.setData(P),L.append(this._trendLineRenderer),S&&this._label&&2===this._points.length){var I=this._source.properties().statsPosition.value(),N=this._source.getPointByPosition(I,P.points[0],this._middlePoint,P.points[1]),A=this._model.isDark(),k=A?_.bgColorDark:_.bgColorLight,D=A?_.textColorDark:_.textColorLight,E={points:[N],text:this._label,color:D,isDark:A,font:p.CHART_FONT_FAMILY,fontSize:_.fontSize,lineSpacing:_.lineSpacing,backgroundColor:k,backgroundRoundRect:_.rectRadius,paddingLeft:_.paddingLeftRight,paddingRight:_.paddingLeftRight,paddingTop:_.paddingTopBottom,paddingBottom:_.paddingTopBottom,textPadding:_.textPadding,doNotAlignText:!0,icons:this._icons},B=_.offset;E.offsetX=B,E.offsetY=B,(this._points[1].ythis._points[0].y&&this._points[1].x>this._points[0].x)&&(E.vertAlign="bottom"), -L.append(new x(new s(E,this._rendererCache)))}this._middlePoint&&L.append(new h({points:[this._middlePoint],bgColors:this._lineAnchorColors([this._middlePoint]),color:C,visible:M&&this.areAnchorsVisible(),hittestResult:g.REGULAR}));var O={};O.point=this._points[0],O.angle=this._source._angle,O.color=this._source.properties().linecolor.value(),O.size=50,this._angleRenderer.setData(O),L.append(this._angleRenderer);var z=Math.round(180*O.angle/Math.PI)+"º";(N=this._points[0].clone()).x=N.x+50;var H={points:[N],text:w(z),color:this._source.properties().textcolor.value(),horzAlign:"left",font:p.CHART_FONT_FAMILY,offsetX:5,offsetY:0,bold:this._source.properties().bold.value(),italic:this._source.properties().italic.value(),fontsize:this._source.properties().fontsize.value(),vertAlign:"middle"};this._angleLabelRenderer.setData(H),L.append(this._angleLabelRenderer)}P.points&&P.points.length>=2&&this._addAlertRenderer(L,P.points),this._secondPoint&&this._points.length>0&&L.append(this.createLineAnchor({points:[this._points[0],this._secondPoint]},0)),this._renderer=L}}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}}},80741:(e,t,i)=>{"use strict";var n=i(86441).Point,r=i(55776).RectangleRenderer,s=i(63300).TrendLineRenderer,a=i(84346).HitTestResult,o=i(94804).CompositeRenderer,l=i(49612).LineEnd,d=i(99961).fibLevelCoordinate,h=i(99961).fibLevelPrice,c=i(16378).LineToolPaneViewFibWithLabels;t.TrendBasedFibExtensionPaneView=class extends c{constructor(e,t){super(e,t),this._trendLineRendererPoints12=new s,this._trendLineRendererPoints23=new s,this._renderer=null}_updateImpl(){if(super._updateImpl(),this._renderer=null,3===this._source.points().length){var e=this._source.priceScale();if(!e||e.isEmpty()||this._model.timeScale().isEmpty())return;var t=this._source.ownerSource().firstValue();if(null==t)return;var i=this._source.points()[0],c=this._source.points()[1],u=this._source.points()[2],_=!1;(C=this._source.properties()).reverse&&C.reverse.value()&&(_=C.reverse.value()),this._levels=[];var p,g,f=_?i.price:c.price,v=_?c.price:i.price,x=f-v,w=e.isLog()&&C.fibLevelsBasedOnLogScale.value();if(w)p=e.priceToCoordinate(f,t)-e.priceToCoordinate(v,t),g=e.priceToCoordinate(u.price,t);for(var m={price:u.price,coordinate:g},R={price:x,coordinate:p},y=this._source.levelsCount(),T=1;T<=y;T++){var b=C["level"+T];if(b.visible.value()){var L=b.coeff.value(),P=b.color.value(),S=d(m,R,L,e,t,w),M=h(m,R,L,e,t,w);this._levels.push({color:P,price:M,y:S,linewidth:C.levelsStyle.linewidth.value(),linestyle:C.levelsStyle.linestyle.value(),index:T})}}}if(!(this._points.length<2)){var C,I=new o;i=this._points[0],c=this._points[1];if((C=this._source.properties()).trendline.visible.value()){var N={points:[i,c],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:C.trendline.color.value(),linewidth:C.trendline.linewidth.value(),linestyle:C.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:l.Normal,rightend:l.Normal};this._trendLineRendererPoints12.setData(N), -I.append(this._trendLineRendererPoints12)}if(this._points.length<3)return this.addAnchors(I),void(this._renderer=I);u=this._points[2];if(C.trendline.visible.value()){N={points:[c,u],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:C.trendline.color.value(),linewidth:C.trendline.linewidth.value(),linestyle:C.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:l.Normal,rightend:l.Normal};this._trendLineRendererPoints23.setData(N),I.append(this._trendLineRendererPoints23)}var A=Math.min(u.x,c.x),k=Math.max(u.x,c.x),D=C.fillBackground.value(),E=C.transparency.value(),B=C.extendLinesLeft.value(),O=C.extendLines.value();if(D)for(T=0;T0&&D){var z=this._levels[T-1],H=(i=new n(A,this._levels[T].y),c=new n(k,z.y),{});H.points=[i,c],H.color=this._levels[T].color,H.linewidth=0,H.backcolor=this._levels[T].color,H.fillBackground=!0,H.transparency=E,H.extendLeft=B,H.extendRight=O;var V=new r(void 0,void 0,!0);V.setData(H),I.append(V)}var W=A,F=k;W===F&&(B&&(W-=1),O&&(F+=1));for(T=0;T{"use strict";var n=i(86441).Point,r=i(44349).VerticalLineRenderer,s=i(28910).LineSourcePaneView,a=i(98664).TextRenderer,o=i(55776).RectangleRenderer,l=i(63300).TrendLineRenderer,d=i(84346).HitTestResult,h=i(94804).CompositeRenderer,c=i(49612).LineEnd,u=i(22799);t.TrendBasedFibTimePaneView=class extends s{constructor(e,t){super(e,t),this._trendLineRendererPoints12=new l,this._trendLineRendererPoints23=new l,this._renderer=null}_updateImpl(){if(super._updateImpl(),this._renderer=null,3===this._source.points().length){if(!this._source.priceScale()||this._source.priceScale().isEmpty()||this._model.timeScale().isEmpty())return;var e=this._source.points()[0],t=this._source.points()[1],i=this._source.points()[2];if(this._levels=[],t.index===e.index)return;var s=t.index-e.index,l=this._source.properties(),_=i.index;if(null===this._model.timeScale().visibleBarsStrictRange())return;for(var p=1;p<=11;p++){var g=l["level"+p];if(g.visible.value()){var f=g.coeff.value(),v=g.color.value(),x=Math.round(_+f*s),w={x:this._model.timeScale().indexToCoordinate(x),coeff:f,color:v,linewidth:g.linewidth.value(), -linestyle:g.linestyle.value(),index:p};l.showCoeffs.value()&&(w.text=f,w.y=this._source.priceScale().height()),this._levels.push(w)}}}if(!(this._points.length<2)){var m=new h;e=this._points[0],t=this._points[1];if((l=this._source.properties()).trendline.visible.value()){var R={points:[e,t],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:l.trendline.color.value(),linewidth:l.trendline.linewidth.value(),linestyle:l.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:c.Normal,rightend:c.Normal};this._trendLineRendererPoints12.setData(R),m.append(this._trendLineRendererPoints12)}if(this._points.length<3)return this.addAnchors(m),void(this._renderer=m);i=this._points[2];if(l.trendline.visible.value()){R={points:[t,i],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:l.trendline.color.value(),linewidth:l.trendline.linewidth.value(),linestyle:l.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:c.Normal,rightend:c.Normal};this._trendLineRendererPoints23.setData(R),m.append(this._trendLineRendererPoints23)}var y=l.fillBackground.value(),T=l.transparency.value(),b=this._model.timeScale().width(),L=this._source.priceScale().height();if(y)for(p=1;p{"use strict";var n;i.d(t,{LabelSettings:()=>n}),function(e){e.offset=8,e.fontSize=12,e.lineSpacing=16,e.rectRadius=4,e.bgColorLight="rgba(227,242,253,0.9)",e.bgColorDark="rgba(67,70,81,0.9)",e.textColorLight="#2A2E39",e.textColorDark="#F8F9FD",e.textPadding=10,e.paddingTopBottom=13,e.paddingLeftRight=10}(n||(n={}))},38743:(e,t,i)=>{"use strict" +;if(0===2*Math.abs(i.index-r.index))return void this.addAnchors(this._renderer);const[s,a]=this._points,o=Math.abs(s.x-a.x),l=a.y-s.y,h=this._source.properties().childs(),c=h.linewidth.value();if(s.y<-c&&a.y<-c||s.y>e+c&&a.y>e+c)return;const u=2*o,_=s.x>0?s.x-Math.ceil(s.x/u)*u:s.x+Math.floor(-s.x/u)*u,p={point:new n.Point(_,s.y),width:o,height:l,color:h.linecolor.value(),lineWidth:h.linewidth.value(),lineStyle:h.linestyle.value()};this._renderer.append(new d(p)),this.addAnchors(this._renderer)}}},77557:(e,t,i)=>{"use strict";i.r(t),i.d(t,{StudyLineDataSourceAnchorsPaneView:()=>r});var n=i(28910);class r extends n.LineSourcePaneView{renderer(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this.createLineAnchor({points:this._getPoints()},0)}}},44074:(e,t,i)=>{"use strict";i.r(t),i.d(t,{TextPaneView:()=>p});var n=i(88537),r=i(86441),s=i(22799),a=i(56589),o=i(98664),l=i(94804),d=i(41892),h=i(74477),c=i(84346),u=i(28910);const _=[a.PaneCursorType.HorizontalResize];class p extends u.LineSourcePaneView{constructor(e,t,i,n,r,s,a,l){super(e,t),this._textRenderer=new o.TextRenderer,this._noSelection=!1,this._renderer=null,this._offsetX=i,this._offsetY=n,this._vertAlign=r,this._horzAlign=s,this._forceTextAlign=Boolean(a),this._noSelection=!1,this._renderer=null,this._recalculateSourcePointsOnFirstUpdate=l}renderer(e,t){return this._invalidated&&this._updateImpl(e,t),this._renderer}disableSelection(){this._noSelection=!0}isEditMode(){return!this._getModel().readOnly()}_updateImpl(e,t){super._updateImpl(e,t),this._renderer=null;const i=this._getSource(),a=i.priceScale();if(!a||a.isEmpty())return;const o=i.properties().childs(),u=this._getModel(),p={text:o.text.value(),color:o.color.value(),fontSize:o.fontsize.value(),boxPadding:o.fontsize.value()/6,font:s.CHART_FONT_FAMILY,vertAlign:this._vertAlign||"top",horzAlign:this._horzAlign||"left",offsetX:this._offsetX||0,offsetY:this._offsetY||0,forceTextAlign:this._forceTextAlign};if(p.points=i.isFixed()?[(0,n.ensureDefined)(i.fixedPoint())]:this._points,o.fillBackground&&o.fillBackground.value()&&(p.backgroundColor=o.backgroundColor.value()),o.drawBorder&&o.drawBorder.value()&&(p.borderColor=o.borderColor.value()),o.wordWrap&&o.wordWrap.value()&&(p.wordWrapWidth=o.wordWrapWidth.value()),p.bold=o.bold&&o.bold.value(),p.italic=o.italic&&o.italic.value(),p.highlightBorder=u.selection().isSelected(i),!i.isFixed()&&o.fixedSize&&!o.fixedSize.value()){p.scaleX=u.timeScale().barSpacing()/i.barSpacing();const e=(0,n.ensureNotNull)(a.priceRange());let t=a.height()/e.length();const r=a.logFormula();i.isPriceDencityLog()&&!a.isLog()&&(t=a.height()/((0,h.toLog)(e.maxValue(),r)-(0,h.toLog)(e.minValue(),r))),!i.isPriceDencityLog()&&a.isLog()&&(t=a.height()/((0,h.fromLog)(e.maxValue(),r)-(0,h.fromLog)(e.minValue(),r)));const s=i.priceDencity();void 0!==s&&(p.scaleY=t/s),(void 0===s||void 0===p.scaleY||p.scaleY<=0)&&delete p.scaleY}if(this._textRenderer.setData(p),this._textRenderer.isOutOfScreen(t,e))return;const g=1===p.points.length +;if(g&&void 0!==this._recalculateSourcePointsOnFirstUpdate){this._renderer=null;const e=this._textRenderer.measure();return this._recalculateSourcePointsOnFirstUpdate(e.width,e.height),void(this._recalculateSourcePointsOnFirstUpdate=void 0)}if(g&&!this._noSelection){const e=new l.CompositeRenderer;e.append(this._textRenderer);const t=p.points[0].clone(),i=this._textRenderer.measure(),n=i.width,s=i.height;if(p.wordWrapWidth){const i=new r.Point(t.x+n,t.y+s/2);i.data=1,e.append(this.createLineAnchor({points:[i],pointsCursorType:_},1))}const a=new r.Point(t.x+n/2,t.y+s);return a.data=0,e.append(new d.SelectionRenderer({points:[a],bgColors:this._lineAnchorColors([a]),visible:this.areAnchorsVisible(),hittestResult:c.HitTestResult.MOVEPOINT,barSpacing:u.timeScale().barSpacing()})),void(this._renderer=e)}this._renderer=this._textRenderer}}},88993:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LineToolThreeDrivesPaneView:()=>u});var n=i(43891),r=i(94804),s=i(98664),a=i(95505),o=i(63300),l=i(49612),d=i(2375),h=i(28910),c=i(22799);class u extends h.LineSourcePaneView{constructor(){super(...arguments),this._numericFormatter=new a.NumericFormatter,this._retrace1LabelRenderer=new s.TextRenderer,this._retrace12LabelRenderer=new s.TextRenderer,this._polyLineRenderer=new d.PolygonRenderer,this._renderer=null}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}_updateImpl(){super._updateImpl(),this._renderer=null;let e=NaN,t=NaN;if(this._source.points().length>=4){const[,t,i,n]=this._source.points();e=Math.round(100*Math.abs((n.price-i.price)/(i.price-t.price)))/100}if(this._source.points().length>=6){const[,,,e,i,n]=this._source.points();t=Math.round(100*Math.abs((n.price-i.price)/(i.price-e.price)))/100}if(this._points.length<2)return;const i=this._source.properties().childs(),s=new r.CompositeRenderer,a=(e,t)=>({points:[e],text:t,color:i.textcolor.value(),vertAlign:"middle",horzAlign:"center",font:c.CHART_FONT_FAMILY,offsetX:0,offsetY:0,bold:i.bold&&i.bold.value(),italic:i.italic&&i.italic.value(),fontsize:i.fontsize.value(),backgroundColor:i.color.value(),backgroundRoundRect:4}),d=(e,t)=>({points:[e,t],color:i.color.value(),linewidth:i.linewidth.value(),linestyle:n.LINESTYLE_DOTTED,extendleft:!1,extendright:!1,leftend:l.LineEnd.Normal,rightend:l.LineEnd.Normal}),h={points:this._points,color:i.color.value(),linewidth:i.linewidth.value(),linestyle:n.LINESTYLE_SOLID,leftend:l.LineEnd.Normal,rightend:l.LineEnd.Normal,backcolor:"rgba(0, 0, 0, 0)",fillBackground:!1,filled:!1};if(this._polyLineRenderer.setData(h),s.append(this._polyLineRenderer),!isNaN(e)){const t=new o.TrendLineRenderer;t.setData(d(this._points[1],this._points[3])),s.append(t);const i=a(this._points[1].add(this._points[3]).scaled(.5),this._numericFormatter.format(e));this._retrace1LabelRenderer.setData(i),s.append(this._retrace1LabelRenderer)}if(!isNaN(t)){const e=new o.TrendLineRenderer;e.setData(d(this._points[3],this._points[5])),s.append(e);const i=a(this._points[5].add(this._points[3]).scaled(.5),this._numericFormatter.format(t)) +;this._retrace12LabelRenderer.setData(i),s.append(this._retrace12LabelRenderer)}this.addAnchors(s),this._renderer=s}}},59905:(e,t,i)=>{"use strict";var n=i(86441).Point,r=i(28910).LineSourcePaneView,s=i(84346).HitTestResult,a=i(94804).CompositeRenderer,o=i(68906),l=i(16282).ScaledPaneRenderer;class d extends l{constructor(){super(),this._data=null}setData(e){this._data=e}_drawImpl(e){null!==this._data&&(e.strokeStyle=this._data.color,e.lineWidth=this._data.linewidth,CanvasEx.setLineStyle(e,this._data.linestyle),e.save(),e.translate(this._data.point.x+1,this._data.point.y),e.scale(this._data.width,this._data.height),e.beginPath(),e.arc(.5,0,.5,Math.PI,0,!1),e.restore(),e.stroke(),this._data.fillBackground&&(e.fillStyle=o.generateColor(this._data.backcolor,this._data.transparency),e.fill()))}hitTest(e){if(null===this._data||e.y>this._data.point.y)return null;if(e.xthis._data.point.x+this._data.width)return null;var t=new n(this._data.point.x+this._data.width/2,this._data.point.y),i=e.subtract(t),r=this._data.height/this._data.width;i.y/=r;var a=i.length();return Math.abs(a-this._data.width/2)<3?new s(s.MOVEPOINT):null}}t.TimeCyclesPaneView=class extends r{constructor(e,t){super(e,t),this._renderer=null}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}_updateImpl(){if(super._updateImpl(),this._renderer=null,!(this._points.length<2)){var e=this._source.points(),t=e[0],i=e[1],r=Math.min(t.index,i.index),s=Math.max(t.index,i.index),o=s-r,l=this._points[0],h=this._points[1],c=Math.abs(l.x-h.x),u=new a,_=this._source.properties(),p=this._model.timeScale();if(0!==o){for(var g=Math.min(l.x,h.x),f=[],v=r;g>-c;v-=o)g=p.indexToCoordinate(v),f.push(g);g=Math.max(l.x,h.x);for(v=s;g{"use strict";var n=i(86441).Point,r=i(28353).t,s=i(65697).TrendLineStatsRenderer,a=i(98664).TextRenderer,o=i(63300).TrendLineRenderer,l=i(94804).CompositeRenderer,d=i(26811).PercentageFormatter,h=i(41892).SelectionRenderer,c=i(97645).PipFormatter,u=i(49612).LineEnd,_=i(62580).LabelSettings,p=i(22799),g=i(84346).HitTestResult,f=i(7478).AlertableLineSourcePaneView,v=i(16282).ScaledPaneRenderer,x=i(16282).ScaledPaneRendererWrapper,w=i(62820).forceLTRStr;class m extends v{constructor(){super(),this._data=null}setData(e){this._data=e}hitTest(){return null}_drawImpl(e){if(null!==this._data){e.save(),e.translate(this._data.point.x,this._data.point.y),e.strokeStyle=this._data.color;var t=[1,2];"function"==typeof e.setLineDash?e.setLineDash(t):void 0!==e.mozDash?e.mozDash=t:void 0!==e.webkitLineDash&&(e.webkitLineDash=t);var i=this._data.size;e.beginPath(),e.moveTo(0,0),e.lineTo(i,0), +e.arc(0,0,i,0,-this._data.angle,this._data.angle>0),e.stroke(),e.restore()}}}t.TrendAnglePaneView=class extends f{constructor(e,t){super(e,t),this._label=null,this._rendererCache={},this._pipFormatter=null,this._lastSymbolInfo=null,this._trendLineRenderer=new o,this._angleRenderer=new m,this._angleLabelRenderer=new a,this._renderer=null}_updateImpl(){if(super._updateImpl(),this._renderer=null,this._points.length>0&&void 0!==this._source._angle){var e=this._points[0],t=Math.cos(this._source._angle),i=-Math.sin(this._source._angle),a=new n(t,i);this._secondPoint=e.addScaled(a,this._source._distance),this._secondPoint.data=1,this._middlePoint=this._source.calcMiddlePoint(this._points[0],this._secondPoint)}if(this._label=null,!(this._source.points().length<2)){e=this._source.points()[0];var o,f,v=this._source.points()[1],m=[];if(this._source.properties().showPriceRange.value()&&this._source.priceScale()){var R=v.price-e.price,y=R/Math.abs(e.price);o=this._source.ownerSource().formatter().format(R)+" ("+(new d).format(100*y)+") ";var T=this._model.mainSeries().symbolInfo();T&&T!==this._lastSymbolInfo&&(this._pipFormatter=new c(T.pricescale,T.minmov,T.type,T.minmove2),this._lastSymbolInfo=T),o+=this._pipFormatter?", "+this._pipFormatter.format(R):"",m.push("priceRange")}if(this._source.properties().showBarsRange.value()){f="";var b=v.index-e.index;f+=r("{count} bars").format({count:w(b)}),m.push("barsRange")}this._label=[w(o),f].filter((function(e){return e})).join("\n")||null,this._icons=m;var L=new l,P={},S=this.isHoveredSource()||this.isSelectedSource()||this._source.properties().alwaysShowStats.value(),M=(this.isHoveredSource()||this.isSelectedSource())&&this._source.properties().showMiddlePoint.value();if(this._secondPoint&&this._points.length>0){var C=this._source.properties().linecolor.value();if(P.points=[this._points[0],this._secondPoint],P.width=this._model.timeScale().width(),P.height=this._source.priceScale().height(),P.color=C,P.linewidth=this._source.properties().linewidth.value(),P.linestyle=this._source.properties().linestyle.value(),P.extendleft=this._source.properties().extendLeft.value(),P.extendright=this._source.properties().extendRight.value(),P.leftend=u.Normal,P.rightend=u.Normal,this._trendLineRenderer.setData(P),L.append(this._trendLineRenderer),S&&this._label&&2===this._points.length){var I=this._source.properties().statsPosition.value(),N=this._source.getPointByPosition(I,P.points[0],this._middlePoint,P.points[1]),A=this._model.isDark(),k=A?_.bgColorDark:_.bgColorLight,D=A?_.textColorDark:_.textColorLight,E={points:[N],text:this._label,color:D,isDark:A,font:p.CHART_FONT_FAMILY,fontSize:_.fontSize,lineSpacing:_.lineSpacing,backgroundColor:k,backgroundRoundRect:_.rectRadius,paddingLeft:_.paddingLeftRight,paddingRight:_.paddingLeftRight,paddingTop:_.paddingTopBottom,paddingBottom:_.paddingTopBottom,textPadding:_.textPadding,doNotAlignText:!0,icons:this._icons},B=_.offset;E.offsetX=B,E.offsetY=B, +(this._points[1].ythis._points[0].y&&this._points[1].x>this._points[0].x)&&(E.vertAlign="bottom"),L.append(new x(new s(E,this._rendererCache)))}this._middlePoint&&L.append(new h({points:[this._middlePoint],bgColors:this._lineAnchorColors([this._middlePoint]),color:C,visible:M&&this.areAnchorsVisible(),hittestResult:g.REGULAR}));var O={};O.point=this._points[0],O.angle=this._source._angle,O.color=this._source.properties().linecolor.value(),O.size=50,this._angleRenderer.setData(O),L.append(this._angleRenderer);var z=Math.round(180*O.angle/Math.PI)+"º";(N=this._points[0].clone()).x=N.x+50;var H={points:[N],text:w(z),color:this._source.properties().textcolor.value(),horzAlign:"left",font:p.CHART_FONT_FAMILY,offsetX:5,offsetY:0,bold:this._source.properties().bold.value(),italic:this._source.properties().italic.value(),fontsize:this._source.properties().fontsize.value(),vertAlign:"middle"};this._angleLabelRenderer.setData(H),L.append(this._angleLabelRenderer)}P.points&&P.points.length>=2&&this._addAlertRenderer(L,P.points),this._secondPoint&&this._points.length>0&&L.append(this.createLineAnchor({points:[this._points[0],this._secondPoint]},0)),this._renderer=L}}renderer(e,t){return this._invalidated&&this._updateImpl(),this._renderer}}},80741:(e,t,i)=>{"use strict";var n=i(86441).Point,r=i(55776).RectangleRenderer,s=i(63300).TrendLineRenderer,a=i(84346).HitTestResult,o=i(94804).CompositeRenderer,l=i(49612).LineEnd,d=i(99961).fibLevelCoordinate,h=i(99961).fibLevelPrice,c=i(16378).LineToolPaneViewFibWithLabels;t.TrendBasedFibExtensionPaneView=class extends c{constructor(e,t){super(e,t),this._trendLineRendererPoints12=new s,this._trendLineRendererPoints23=new s,this._renderer=null}_updateImpl(){if(super._updateImpl(),this._renderer=null,3===this._source.points().length){var e=this._source.priceScale();if(!e||e.isEmpty()||this._model.timeScale().isEmpty())return;var t=this._source.ownerSource().firstValue();if(null==t)return;var i=this._source.points()[0],c=this._source.points()[1],u=this._source.points()[2],_=!1;(C=this._source.properties()).reverse&&C.reverse.value()&&(_=C.reverse.value()),this._levels=[];var p,g,f=_?i.price:c.price,v=_?c.price:i.price,x=f-v,w=e.isLog()&&C.fibLevelsBasedOnLogScale.value();if(w)p=e.priceToCoordinate(f,t)-e.priceToCoordinate(v,t),g=e.priceToCoordinate(u.price,t);for(var m={price:u.price,coordinate:g},R={price:x,coordinate:p},y=this._source.levelsCount(),T=1;T<=y;T++){var b=C["level"+T];if(b.visible.value()){var L=b.coeff.value(),P=b.color.value(),S=d(m,R,L,e,t,w),M=h(m,R,L,e,t,w);this._levels.push({color:P,price:M,y:S,linewidth:C.levelsStyle.linewidth.value(),linestyle:C.levelsStyle.linestyle.value(),index:T})}}}if(!(this._points.length<2)){var C,I=new o;i=this._points[0],c=this._points[1];if((C=this._source.properties()).trendline.visible.value()){var N={points:[i,c],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:C.trendline.color.value(),linewidth:C.trendline.linewidth.value(), +linestyle:C.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:l.Normal,rightend:l.Normal};this._trendLineRendererPoints12.setData(N),I.append(this._trendLineRendererPoints12)}if(this._points.length<3)return this.addAnchors(I),void(this._renderer=I);u=this._points[2];if(C.trendline.visible.value()){N={points:[c,u],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:C.trendline.color.value(),linewidth:C.trendline.linewidth.value(),linestyle:C.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:l.Normal,rightend:l.Normal};this._trendLineRendererPoints23.setData(N),I.append(this._trendLineRendererPoints23)}var A=Math.min(u.x,c.x),k=Math.max(u.x,c.x),D=C.fillBackground.value(),E=C.transparency.value(),B=C.extendLinesLeft.value(),O=C.extendLines.value();if(D)for(T=0;T0&&D){var z=this._levels[T-1],H=(i=new n(A,this._levels[T].y),c=new n(k,z.y),{});H.points=[i,c],H.color=this._levels[T].color,H.linewidth=0,H.backcolor=this._levels[T].color,H.fillBackground=!0,H.transparency=E,H.extendLeft=B,H.extendRight=O;var V=new r(void 0,void 0,!0);V.setData(H),I.append(V)}var W=A,F=k;W===F&&(B&&(W-=1),O&&(F+=1));for(T=0;T{"use strict";var n=i(86441).Point,r=i(44349).VerticalLineRenderer,s=i(28910).LineSourcePaneView,a=i(98664).TextRenderer,o=i(55776).RectangleRenderer,l=i(63300).TrendLineRenderer,d=i(84346).HitTestResult,h=i(94804).CompositeRenderer,c=i(49612).LineEnd,u=i(22799);t.TrendBasedFibTimePaneView=class extends s{constructor(e,t){super(e,t),this._trendLineRendererPoints12=new l,this._trendLineRendererPoints23=new l,this._renderer=null}_updateImpl(){if(super._updateImpl(),this._renderer=null,3===this._source.points().length){if(!this._source.priceScale()||this._source.priceScale().isEmpty()||this._model.timeScale().isEmpty())return;var e=this._source.points()[0],t=this._source.points()[1],i=this._source.points()[2];if(this._levels=[],t.index===e.index)return;var s=t.index-e.index,l=this._source.properties(),_=i.index;if(null===this._model.timeScale().visibleBarsStrictRange())return;for(var p=1;p<=11;p++){var g=l["level"+p];if(g.visible.value()){ +var f=g.coeff.value(),v=g.color.value(),x=Math.round(_+f*s),w={x:this._model.timeScale().indexToCoordinate(x),coeff:f,color:v,linewidth:g.linewidth.value(),linestyle:g.linestyle.value(),index:p};l.showCoeffs.value()&&(w.text=f,w.y=this._source.priceScale().height()),this._levels.push(w)}}}if(!(this._points.length<2)){var m=new h;e=this._points[0],t=this._points[1];if((l=this._source.properties()).trendline.visible.value()){var R={points:[e,t],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:l.trendline.color.value(),linewidth:l.trendline.linewidth.value(),linestyle:l.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:c.Normal,rightend:c.Normal};this._trendLineRendererPoints12.setData(R),m.append(this._trendLineRendererPoints12)}if(this._points.length<3)return this.addAnchors(m),void(this._renderer=m);i=this._points[2];if(l.trendline.visible.value()){R={points:[t,i],width:this._model.timeScale().width(),height:this._source.priceScale().height(),color:l.trendline.color.value(),linewidth:l.trendline.linewidth.value(),linestyle:l.trendline.linestyle.value(),extendleft:!1,extendright:!1,leftend:c.Normal,rightend:c.Normal};this._trendLineRendererPoints23.setData(R),m.append(this._trendLineRendererPoints23)}var y=l.fillBackground.value(),T=l.transparency.value(),b=this._model.timeScale().width(),L=this._source.priceScale().height();if(y)for(p=1;p{"use strict";var n;i.d(t,{LabelSettings:()=>n}),function(e){e.offset=8,e.fontSize=12,e.lineSpacing=16,e.rectRadius=4,e.bgColorLight="rgba(227,242,253,0.9)",e.bgColorDark="rgba(67,70,81,0.9)",e.textColorLight="#2A2E39",e.textColorDark="#F8F9FD",e.textPadding=10,e.paddingTopBottom=13,e.paddingLeftRight=10}(n||(n={}))},38743:(e,t,i)=>{"use strict" ;var n=i(88537).ensureNotNull,r=i(86441).Point,s=i(28353).t,a=i(89846).PaneRendererCachedImage,o=i(94804).CompositeRenderer,l=i(26811).PercentageFormatter,d=i(95505).NumericFormatter,h=i(92242).TimeSpanFormatter,c=i(97645).PipFormatter,u=i(41892).SelectionRenderer,_=i(63300).TrendLineRenderer,p=i(98664).TextRenderer,g=i(62580).LabelSettings,f=i(22799),v=i(84346).HitTestResult,x=i(7478).AlertableLineSourcePaneView,w=i(8474).TrendLineStatsCache,m=i(15712).areEqualPaneRenderParams,R=i(65697).iconsContainer,y=i(62820),T=y.forceLTRStr,b=y.startWithLTR;t.TrendLinePaneView=class extends x{constructor(e,t){super(e,t),this._label=null,this._rendererCache={},this._cacheInvalidated=!0,this._percentageFormatter=new l,this._numericFormatter=new d,this._pipFormatter=null,this._lastSymbolInfo=null,this._trendRenderer=new _,this._labelRenderer=new p,this._renderer=null,this._cache=null,this._cacheDrawParams=null,this._iconsReady=!1,R.onAllIconsReady().subscribe(this,(function(){this._cache&&(this._cache.destroy(),this._cache=null),this._iconsReady=!0,t.lightUpdate()}))}iconsReady(){return this._iconsReady}update(){super.update(),this._cacheInvalidated=!0}getCacheCanvas(e){return this._createCacheIfRequired(e),n(this._cache).canvas()}getCacheRects(e,t){this._createCacheIfRequired(e);var i=this._source.properties().statsPosition.value(),n=this._source.getPointByPosition(i,this._points[0],this._middlePoint,this._points[1]),r={left:0,top:this._cache.topByRow(this._statCache.rowIndex),width:this._cache.rowWidth(this._statCache.rowIndex),height:this._cache.rowHeight(this._statCache.rowIndex)},s={left:Math.floor(n.x),top:Math.floor(n.y),width:r.width,height:r.height};return s.left+=g.paddingLeftRight,this._points[1].ythis._points[0].y&&this._points[1].x>this._points[0].x?s.top-=g.paddingLeftRight+s.height:s.top+=g.paddingLeftRight,{cacheRect:r,targetRect:s}}_createCacheIfRequired(e){null!=this._cache&&null!=this._cacheDrawParams&&m(e,this._cacheDrawParams)||(this._cache&&this._cache.destroy(),this._cache=new w(e),this._statCache=this._cache.updateSource(this._source,function(){return this._statLabelData()}.bind(this)),this._cacheDrawParams=e,this._cacheInvalidated=!1),this._cacheInvalidated&&(this._cacheState=this._cache.updateSource(this._source,function(){return this._statLabelData()}.bind(this)),this._cacheInvalidated=!1)}destroy(){this._cache&&(this._cache.destroy(),this._cache=null),R.onAllIconsReady().unsubscribeAll(this)}_updateImpl(){this._renderer=null,this._invalidated=!1;var e=this._source.priceScale(),t=this._model.timeScale();if(e&&!e.isEmpty()&&!t.isEmpty()){var i=this._model.timeScale().visibleBarsStrictRange();if(null!==i){var n=this._source.points();if(!(n.length<2)){var s=n[0],l=n[1],d=this._source.properties();if((!(s.index=2&&this._addAlertRenderer(x,m.points),d.showLabel&&d.showLabel.value()&&d.text.value().length>0){s=this._points[0],l=this._points[1];var b,L=s.x0&&(a=a.normalized(),w=Math.acos(a.x),a.y>0&&(w=-w)),"number"!=typeof w||TradingView.isNaN(w)||(i=Math.round(180*w/Math.PI)+"º", p.push("angle")));this._label=[T(e),t,i].filter((function(e){return e})).join("\n")||null,this._icons=p;var N=this._model.isDark(),A=N?g.bgColorDark:g.bgColorLight,k=N?g.textColorDark:g.textColorLight,D={points:[this._points[1]],text:this._label,color:k,isDark:N,font:f.CHART_FONT_FAMILY,fontSize:g.fontSize,lineSpacing:g.lineSpacing,backgroundColor:A,backgroundRoundRect:g.rectRadius,paddingLeft:g.paddingLeftRight,paddingRight:g.paddingLeftRight,paddingTop:g.paddingTopBottom,paddingBottom:g.paddingTopBottom,textPadding:g.textPadding,doNotAlignText:!0,icons:this._icons};return this._points[1].y{"use strict";i.d(t,{TrendLineStatsCache:()=>g});var n=i(88537),r=i(86441),s=i(98125),a=i(65697),o=i(22799),l=i(62580),d=i(93435),h=l.LabelSettings.fontSize,c=l.LabelSettings.lineSpacing,u=l.LabelSettings.paddingTopBottom;const _=(0,s.getLogger)("Chart.LineToolTrendLine");function p(e,t){return!(!e&&!t)&&(!(!e||t)||(!(e||!t)||(e.index!==t.index||e.price!==t.price)))}class g{constructor(e){this._sourcesToRow=new Map,this._rowsToSources=new Map,this._currentWidth=400,this._actualCapacity=1,this._currentSymbol="",this._params=e;const t=c,i=h+t;this._maxRowHeight=3*i-t+2*u+2,this._recreateCanvas()}destroy(){delete this._canvas,delete this._ctx}canvas(){return this._canvas}topByRow(e){return e*this._maxRowHeight}rowHeight(e){const t=(0,n.ensureDefined)(this._rowsToSources.get(e)),i=(0,n.ensureDefined)(this._sourcesToRow.get(t)).effectiveState;return null!==i?i.realRowHeight:this._maxRowHeight}rowWidth(e){const t=(0,n.ensureDefined)(this._rowsToSources.get(e));return(0,n.ensureDefined)(this._sourcesToRow.get(t)).width}currentWidth(){return this._currentWidth}updateSource(e,t){const i=e.properties().symbol.value();this._currentSymbol!==i&&(_.logDebug("TrendLineCache. Clearing canvas because of changing symbol from "+this._currentSymbol+" to "+i),this._currentSymbol=i,this._sourcesToRow.clear(),this._rowsToSources.clear());const n=e.id();let r=this._sourcesToRow.get(n);if(void 0===r){const e=this._findEmptyRow(n);r={effectiveState:null,rowIndex:e,width:0},this._sourcesToRow.set(n,r),this._rowsToSources.set(e,n)}const s=r.effectiveState,a=this._effectiveState(e);if(!this._effectiveStatesEquals(s,a)){const e=t();this._repaintSource(n,r.rowIndex,e),r.effectiveState=a}return r}_findEmptyRow(e){let t=0;for(;void 0!==this._rowsToSources.get(t);)t++;return this._rowsToSources.set(t,e),t>=this._actualCapacity&&(this._actualCapacity++,this._recreateCanvas()),t}_effectiveState(e){const t=e.properties(),i=t.showBarsRange.value(),r=t.showDateTimeRange.value(),s=t.showDistance.value(),a=t.showPriceRange.value(),o=t.showAngle.value();let l=0;(i||r||s)&&l++,o&&l++,a&&l++;const d=(h+c)*l-c+2*u+2;return{p1:Object.assign({},e.points()[0]),p2:Object.assign({},e.points()[1]),props:e.properties(),showBars:i,showTimeRange:r,showDistance:s, diff --git a/charting_library/bundles/new-confirm-inputs-dialog.f334374efc8ad7fe9ea9.js b/charting_library/bundles/new-confirm-inputs-dialog.74701800dcf34f21dcae.js similarity index 99% rename from charting_library/bundles/new-confirm-inputs-dialog.f334374efc8ad7fe9ea9.js rename to charting_library/bundles/new-confirm-inputs-dialog.74701800dcf34f21dcae.js index 1e518bb2..4263c1d2 100644 --- a/charting_library/bundles/new-confirm-inputs-dialog.f334374efc8ad7fe9ea9.js +++ b/charting_library/bundles/new-confirm-inputs-dialog.74701800dcf34f21dcae.js @@ -1,3 +1,3 @@ (self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3030],{59142:function(t,e){var n,o,i;o=[e],void 0===(i="function"==typeof(n=function(t){"use strict";function e(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e{t.exports={separator:"separator-s5VT2kNH",scrollable:"scrollable-s5VT2kNH"}},70589:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ConfirmInputsDialogRenderer:()=>h}) -;var o=n(87995),i=n(59496),r=n(28353),s=n(50182),l=n(59064),c=n(86656),u=n(27423),a=n(2872),d=n.n(a),p=n(49483),f=n(52932);function m(t){const{title:e,confirmInputs:n,inputsProperty:o,model:a,confirmInputsType:m,onCancel:h,onSubmit:y,onClose:v,onStudyInputChange:g}=t,[S,w]=(0,i.useState)(!0),b=(0,i.useMemo)((function(){const t=new(d());return{isInputsStudy:!0,symbolsResolved:()=>t,resolvedSymbolInfoBySymbol:()=>null,tempProperties:o}}),[]),C=(0,i.useRef)(null),[E,I]=(0,i.useState)(D());return(0,i.useEffect)(()=>{if(!p.CheckMobile.any()&&S&&"symbol"===m&&C.current){const t=C.current.querySelector("input");t&&t.focus()}},[S]),i.createElement(s.AdaptiveConfirmDialog,{dataName:"confirm-inputs-dialog",title:e,isOpened:S,onSubmit:function(){y(o.state().inputs),_()},onCancel:h,onClickOutside:_,onClose:_,render:()=>i.createElement(i.Fragment,null,i.createElement("div",{className:f.separator}),i.createElement(c.TouchScrollContainer,{className:f.scrollable,onScroll:T},i.createElement(u.InputsTabContent,{reference:C,property:o,model:a,study:b,inputs:n,onStudyInputChange:P}))),defaultActionOnClose:"none",submitButtonText:(0,r.t)("Apply"),submitButtonDisabled:E,submitOnEnterKey:!1});function T(){l.globalCloseDelegate.fire()}function _(){w(!1),v()}function D(){const{inputs:t}=o.state();for(const e of n)if("symbol"===e.type&&!e.optional&&""===t[e.id])return!0;return!1}function P(t,e){null==g||g(t,e),I(D())}}class h{constructor(t,e,n,i,r,s,l,c){this._container=document.createElement("div"),this._handleClose=()=>{o.unmountComponentAtNode(this._container),this._onClose()},this._title=t,this._confirmInputs=e,this._model=r,this._confirmInputsType=i,this._onSubmit=s,this._onClose=l,this._onStudyInputChange=c,this._inputsProperty=n}show(){o.render(i.createElement(m,{title:this._title,confirmInputs:this._confirmInputs,inputsProperty:this._inputsProperty,model:this._model,confirmInputsType:this._confirmInputsType,onSubmit:this._onSubmit,onCancel:()=>{},onClose:this._handleClose,onStudyInputChange:this._onStudyInputChange}),this._container)}}},73339:(t,e,n)=>{"use strict";n.r(e),n.d(e,{selectInputValuesOnChart:()=>l});var o=n(88537),i=n(45112),r=n(28353),s=n(95087);i.colorsPalette["color-cold-gray-500"];async function l(t,e,n,i,l){let c;const u=(0,s.getInputGroups)(e);t.model().model();for await(const t of u)await a(t).catch(t=>{throw new Error(t)});return{customSourceId:void 0,destPane:c};async function a(t){if((0,s.isGroup)(t))if((0,s.isInputInlines)(t)){const e=function(t){if(2!==t.length||t[0].type===t[1].type)return null;return"price"===t[0].type?{price:t[0],time:t[1]}:{price:t[1],time:t[0]}}(t.children);if(e){const{time:n,price:o}=e,s=n.inline?(0,r.t)('Set the "{inputInline}" time and price for "{studyShortDescription}"',{replace:{inputInline:n.inline,studyShortDescription:i}}):(0,r.t)('Set the time and price for "{studyShortDescription}"',{replace:{studyShortDescription:i}}),l=f(t.id);await p(t,"all",null!=l?l:s,n.id,o.id)}else for await(const e of t.children)await d(e)}else for await(const e of t.children)await a(e);else await d(t)} +;var o=n(87995),i=n(59496),r=n(28353),s=n(50182),l=n(59064),c=n(86656),u=n(22855),a=n(2872),d=n.n(a),p=n(49483),f=n(52932);function m(t){const{title:e,confirmInputs:n,inputsProperty:o,model:a,confirmInputsType:m,onCancel:h,onSubmit:y,onClose:v,onStudyInputChange:g}=t,[S,w]=(0,i.useState)(!0),b=(0,i.useMemo)((function(){const t=new(d());return{isInputsStudy:!0,symbolsResolved:()=>t,resolvedSymbolInfoBySymbol:()=>null,tempProperties:o}}),[]),C=(0,i.useRef)(null),[E,I]=(0,i.useState)(D());return(0,i.useEffect)(()=>{if(!p.CheckMobile.any()&&S&&"symbol"===m&&C.current){const t=C.current.querySelector("input");t&&t.focus()}},[S]),i.createElement(s.AdaptiveConfirmDialog,{dataName:"confirm-inputs-dialog",title:e,isOpened:S,onSubmit:function(){y(o.state().inputs),_()},onCancel:h,onClickOutside:_,onClose:_,render:()=>i.createElement(i.Fragment,null,i.createElement("div",{className:f.separator}),i.createElement(c.TouchScrollContainer,{className:f.scrollable,onScroll:T},i.createElement(u.InputsTabContent,{reference:C,property:o,model:a,study:b,inputs:n,onStudyInputChange:P}))),defaultActionOnClose:"none",submitButtonText:(0,r.t)("Apply"),submitButtonDisabled:E,submitOnEnterKey:!1});function T(){l.globalCloseDelegate.fire()}function _(){w(!1),v()}function D(){const{inputs:t}=o.state();for(const e of n)if("symbol"===e.type&&!e.optional&&""===t[e.id])return!0;return!1}function P(t,e){null==g||g(t,e),I(D())}}class h{constructor(t,e,n,i,r,s,l,c){this._container=document.createElement("div"),this._handleClose=()=>{o.unmountComponentAtNode(this._container),this._onClose()},this._title=t,this._confirmInputs=e,this._model=r,this._confirmInputsType=i,this._onSubmit=s,this._onClose=l,this._onStudyInputChange=c,this._inputsProperty=n}show(){o.render(i.createElement(m,{title:this._title,confirmInputs:this._confirmInputs,inputsProperty:this._inputsProperty,model:this._model,confirmInputsType:this._confirmInputsType,onSubmit:this._onSubmit,onCancel:()=>{},onClose:this._handleClose,onStudyInputChange:this._onStudyInputChange}),this._container)}}},73339:(t,e,n)=>{"use strict";n.r(e),n.d(e,{selectInputValuesOnChart:()=>l});var o=n(88537),i=n(45112),r=n(28353),s=n(95087);i.colorsPalette["color-cold-gray-500"];async function l(t,e,n,i,l){let c;const u=(0,s.getInputGroups)(e);t.model().model();for await(const t of u)await a(t).catch(t=>{throw new Error(t)});return{customSourceId:void 0,destPane:c};async function a(t){if((0,s.isGroup)(t))if((0,s.isInputInlines)(t)){const e=function(t){if(2!==t.length||t[0].type===t[1].type)return null;return"price"===t[0].type?{price:t[0],time:t[1]}:{price:t[1],time:t[0]}}(t.children);if(e){const{time:n,price:o}=e,s=n.inline?(0,r.t)('Set the "{inputInline}" time and price for "{studyShortDescription}"',{replace:{inputInline:n.inline,studyShortDescription:i}}):(0,r.t)('Set the time and price for "{studyShortDescription}"',{replace:{studyShortDescription:i}}),l=f(t.id);await p(t,"all",null!=l?l:s,n.id,o.id)}else for await(const e of t.children)await d(e)}else for await(const e of t.children)await a(e);else await d(t)} async function d(t){const e="time"===t.type,n=e?"time":"price",o=function(){if(t.inline){const e=f(t.inline);if(e)return e}if(t.tooltip)return t.tooltip;const n=t.name?(0,r.t)('Set the "{inputTitle}" time for "{studyShortDescription}"',{replace:{inputTitle:t.name,studyShortDescription:i}}):(0,r.t)('Set the time for "{studyShortDescription}"',{replace:{studyShortDescription:i}}),o=t.name?(0,r.t)('Set the "{inputTitle}" price for "{studyShortDescription}"',{replace:{inputTitle:t.name,studyShortDescription:i}}):(0,r.t)('Set the price for "{studyShortDescription}"',{replace:{studyShortDescription:i}});return e?n:o}(),s=e?t.id:void 0,l=e?void 0:t.id;await p(t,n,o,s,l)}async function p(e,i,r,s,l){const u=await t.requestSelectPoint({pointType:i,pane:c,lineColor:void 0},r);void 0===c&&(c=u.pane);const a=n.childs().inputs;a&&(s&&(0,o.ensureDefined)(a.child(s)).setValue(1e3*(u.point.time||0)),l&&(0,o.ensureDefined)(a.child(l)).setValue(u.point.price))}function f(t){let e;return l.filter(e=>e.inline===t).forEach(t=>{t.tooltip&&(e=t.tooltip)}),e}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/new-edit-object-dialog.833907d615c0a923a83e.js b/charting_library/bundles/new-edit-object-dialog.833907d615c0a923a83e.js deleted file mode 100644 index a1ab6bfe..00000000 --- a/charting_library/bundles/new-edit-object-dialog.833907d615c0a923a83e.js +++ /dev/null @@ -1,25 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6265],{26390:e=>{e.exports={switcher:"switcher-GT7Z98Io","disable-cursor-pointer":"disable-cursor-pointer-GT7Z98Io",input:"input-GT7Z98Io","thumb-wrapper":"thumb-wrapper-GT7Z98Io","size-small":"size-small-GT7Z98Io","size-large":"size-large-GT7Z98Io","intent-default":"intent-default-GT7Z98Io","disable-active-state-styles":"disable-active-state-styles-GT7Z98Io","intent-select":"intent-select-GT7Z98Io",track:"track-GT7Z98Io",thumb:"thumb-GT7Z98Io"}},31405:e=>{e.exports={wrapper:"wrapper-IbP2mmCe",hovered:"hovered-IbP2mmCe",labelRow:"labelRow-IbP2mmCe",label:"label-IbP2mmCe",labelHint:"labelHint-IbP2mmCe",labelOn:"labelOn-IbP2mmCe"}},20959:e=>{e.exports={smallStyleControl:"smallStyleControl-tMebfShj",additionalSelect:"additionalSelect-tMebfShj",childRowContainer:"childRowContainer-tMebfShj",defaultSelect:"defaultSelect-tMebfShj",defaultSelectItem:"defaultSelectItem-tMebfShj",block:"block-tMebfShj",group:"group-tMebfShj",wrapGroup:"wrapGroup-tMebfShj",textMarkGraphicBlock:"textMarkGraphicBlock-tMebfShj",textMarkGraphicWrapGroup:"textMarkGraphicWrapGroup-tMebfShj"}},942:e=>{e.exports={scrollable:"scrollable-pm9AiChK"}},84662:e=>{e.exports={defaultsButtonText:"defaultsButtonText-4BZduqY4",defaultsButtonItem:"defaultsButtonItem-4BZduqY4",defaultsButtonIcon:"defaultsButtonIcon-4BZduqY4"}},85623:e=>{e.exports={themesButtonText:"themesButtonText-KBqedPzF",themesButtonIcon:"themesButtonIcon-KBqedPzF",defaultsButtonText:"defaultsButtonText-KBqedPzF",defaultsButtonItem:"defaultsButtonItem-KBqedPzF"}},64886:e=>{e.exports={slider:"slider-Q7h4o6oW",inner:"inner-Q7h4o6oW"}},42545:e=>{e.exports={scrollWrap:"scrollWrap-VabV7Fn8",tabsWrap:"tabsWrap-VabV7Fn8",tabs:"tabs-VabV7Fn8",withoutBorder:"withoutBorder-VabV7Fn8",tab:"tab-VabV7Fn8",withHover:"withHover-VabV7Fn8",headerBottomSeparator:"headerBottomSeparator-VabV7Fn8",fadeWithoutSlider:"fadeWithoutSlider-VabV7Fn8",withBadge:"withBadge-VabV7Fn8"}},41814:e=>{e.exports={wrap:"wrap-sfzcrPlH",wrapWithArrowsOuting:"wrapWithArrowsOuting-sfzcrPlH",wrapOverflow:"wrapOverflow-sfzcrPlH",scrollWrap:"scrollWrap-sfzcrPlH",noScrollBar:"noScrollBar-sfzcrPlH",icon:"icon-sfzcrPlH",scrollLeft:"scrollLeft-sfzcrPlH",scrollRight:"scrollRight-sfzcrPlH",isVisible:"isVisible-sfzcrPlH",iconWrap:"iconWrap-sfzcrPlH",fadeLeft:"fadeLeft-sfzcrPlH",fadeRight:"fadeRight-sfzcrPlH"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},37740:e=>{e.exports={tabs:"tabs-rKFlMYkc",tab:"tab-rKFlMYkc",noBorder:"noBorder-rKFlMYkc",disabled:"disabled-rKFlMYkc",active:"active-rKFlMYkc",defaultCursor:"defaultCursor-rKFlMYkc",slider:"slider-rKFlMYkc",content:"content-rKFlMYkc"}},84096:(e,t,r)=>{"use strict";r.d(t,{DEFAULT_MENU_ITEM_SWITCHER_THEME:()=>u,MenuItemSwitcher:()=>m});var l=r(59496),n=r(97754),s=r.n(n);const i=(0,l.createContext)({enablePointerOnHover:!0,enableActiveStateStyles:!0});var o=r(26390),a=r.n(o);function c(e){const t=(0, -l.useContext)(i),{className:r,intent:s="default",size:o="small",enablePointerOnHover:c=t.enablePointerOnHover,enableActiveStateStyles:p=t.enableActiveStateStyles}=e;return n(r,a().switcher,a()["size-"+o],a()["intent-"+s],!c&&a()["disable-cursor-pointer"],!p&&a()["disable-active-state-styles"])}function p(e){const{reference:t,size:r,intent:n,...s}=e;return l.createElement("div",{className:c(e)},l.createElement("input",{...s,type:"checkbox",className:a().input,ref:t}),l.createElement("div",{className:a()["thumb-wrapper"]},l.createElement("div",{className:a().track}),l.createElement("div",{className:a().thumb})))}var d=r(90186),h=r(31405);const u=h;function m(e){const{className:t,checked:r,id:n,label:i,labelDescription:o,value:a,preventLabelHighlight:c,reference:u,switchReference:m,theme:y=h,disabled:v}=e,g=s()(y.label,r&&!c&&y.labelOn),b=s()(t,y.wrapper,r&&y.wrapperWithOnLabel);return l.createElement("label",{className:b,htmlFor:n,ref:u},l.createElement("div",{className:y.labelRow},l.createElement("div",{className:g},i),o&&l.createElement("div",{className:y.labelHint},o)),l.createElement(p,{disabled:v,className:y.switch,reference:m,checked:r,onChange:function(t){const r=t.target.checked;void 0!==e.onChange&&e.onChange(r)},value:a,tabIndex:-1,id:n,...(0,d.filterDataProps)(e)}))}},80331:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createPropertyPage:()=>s});var l=r(52714),n=r.n(l);function s(e,t,r,l=null){var s;const i={id:t,title:r,definitions:new(n())(e.definitions),visible:null!==(s=e.visible)&&void 0!==s?s:new(n())(!0).readonly()};return null!==l&&(i.icon=l),i}},80975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getIntervalsVisibilitiesPropertiesDefinitions:()=>ce,getSelectionIntervalsVisibilitiesPropertiesDefinition:()=>pe});var l=r(28353),n=r(24980),s=r(67337),i=r(50366),o=r(52714),a=r.n(o),c=r(9315),p=r(37865),d=r(98222);const h=new n.TranslatedString("change {title} visibility on ticks",(0,l.t)("change {title} visibility on ticks")),u=new n.TranslatedString("change {title} visibility on seconds",(0,l.t)("change {title} visibility on seconds")),m=new n.TranslatedString("change {title} seconds from",(0,l.t)("change {title} seconds from")),y=new n.TranslatedString("change {title} seconds to",(0,l.t)("change {title} seconds to")),v=new n.TranslatedString("change {title} visibility on minutes",(0,l.t)("change {title} visibility on minutes")),g=new n.TranslatedString("change {title} minutes from",(0,l.t)("change {title} minutes from")),b=new n.TranslatedString("change {title} minutes to",(0,l.t)("change {title} minutes to")),f=new n.TranslatedString("change {title} visibility on hours",(0,l.t)("change {title} visibility on hours")),w=new n.TranslatedString("change {title} hours from",(0,l.t)("change {title} hours from")),C=new n.TranslatedString("change {title} hours to",(0,l.t)("change {title} hours to")),S=new n.TranslatedString("change {title} visibility on days",(0,l.t)("change {title} visibility on days")),P=new n.TranslatedString("change {title} days from",(0, -l.t)("change {title} days from")),T=new n.TranslatedString("change {title} days to",(0,l.t)("change {title} days to")),E=new n.TranslatedString("change {title} visibility on weeks",(0,l.t)("change {title} visibility on weeks")),_=new n.TranslatedString("change {title} weeks from",(0,l.t)("change {title} weeks from")),k=new n.TranslatedString("change {title} weeks to",(0,l.t)("change {title} weeks to")),x=new n.TranslatedString("change {title} visibility on months",(0,l.t)("change {title} visibility on months")),I=new n.TranslatedString("change {title} months from",(0,l.t)("change {title} months from")),L=new n.TranslatedString("change {title} months to",(0,l.t)("change {title} months to")),M=(new n.TranslatedString("change {title} visibility on ranges",(0,l.t)("change {title} visibility on ranges")),(0,l.t)("Ticks")),V=(0,l.t)("Seconds"),R=(0,l.t)("Minutes"),B=(0,l.t)("Hours"),D=(0,l.t)("Days"),N=(0,l.t)("Weeks"),W=(0,l.t)("Months"),z=((0,l.t)("Ranges"),new n.TranslatedString("ticks",(0,l.t)("ticks"))),F=new n.TranslatedString("seconds",(0,l.t)("seconds")),A=new n.TranslatedString("seconds from",(0,l.t)("seconds from")),H=new n.TranslatedString("seconds to",(0,l.t)("seconds to")),G=new n.TranslatedString("minutes",(0,l.t)("minutes")),O=new n.TranslatedString("minutes from",(0,l.t)("minutes from")),U=new n.TranslatedString("minutes to",(0,l.t)("minutes to")),j=new n.TranslatedString("hours",(0,l.t)("hours")),K=new n.TranslatedString("hours from",(0,l.t)("hours from")),Z=new n.TranslatedString("hours to",(0,l.t)("hours to")),q=new n.TranslatedString("days",(0,l.t)("days")),Y=new n.TranslatedString("days from",(0,l.t)("days from")),Q=new n.TranslatedString("days to",(0,l.t)("days to")),X=new n.TranslatedString("weeks",(0,l.t)("weeks")),$=new n.TranslatedString("weeks from",(0,l.t)("weeks from")),J=new n.TranslatedString("weeks to",(0,l.t)("weeks to")),ee=new n.TranslatedString("months",(0,l.t)("months")),te=new n.TranslatedString("months from",(0,l.t)("months from")),re=new n.TranslatedString("months to",(0,l.t)("months to")),le=(new n.TranslatedString("ranges",(0,l.t)("ranges")),[1,59]),ne=[1,59],se=[1,24],ie=[1,366],oe=[1,52],ae=[1,12];function ce(e,t,r){const l=[];if(s.enabled("tick_resolution")){const n=(0,i.createCheckablePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.ticks,h.format({title:r}))},{id:"IntervalsVisibilitiesTicks",title:M});l.push(n)}if((0,c.isSecondsEnabled)()){const n=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.seconds,u.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.secondsFrom,m.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.secondsTo,y.format({title:r}))},{id:"IntervalsVisibilitiesSecond",title:V,min:new(a())(le[0]),max:new(a())(le[1])});l.push(n)}const n=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.minutes,v.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.minutesFrom,g.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.minutesTo,b.format({title:r})) -},{id:"IntervalsVisibilitiesMinutes",title:R,min:new(a())(ne[0]),max:new(a())(ne[1])}),o=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.hours,f.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.hoursFrom,w.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.hoursTo,C.format({title:r}))},{id:"IntervalsVisibilitiesHours",title:B,min:new(a())(se[0]),max:new(a())(se[1])}),p=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.days,S.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.daysFrom,P.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.daysTo,T.format({title:r}))},{id:"IntervalsVisibilitiesDays",title:D,min:new(a())(ie[0]),max:new(a())(ie[1])});l.push(n,o,p);const d=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.weeks,E.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.weeksFrom,_.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.weeksTo,k.format({title:r}))},{id:"IntervalsVisibilitiesWeeks",title:N,min:new(a())(oe[0]),max:new(a())(oe[1])}),z=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.months,x.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.monthsFrom,I.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.monthsTo,L.format({title:r}))},{id:"IntervalsVisibilitiesMonths",title:W,min:new(a())(ae[0]),max:new(a())(ae[1])});return l.push(d,z),{definitions:l}}function pe(e,t){const r=[];if(s.enabled("tick_resolution")){const l=(0,i.createCheckablePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.ticks),z,t)},{id:"IntervalsVisibilitiesTicks",title:M});r.push(l)}if((0,c.isSecondsEnabled)()){const l=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.seconds),F,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.secondsFrom),A,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.secondsTo),H,t)},{id:"IntervalsVisibilitiesSecond",title:V,min:new(a())(le[0]),max:new(a())(le[1])});r.push(l)}const l=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.minutes),G,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.minutesFrom),O,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.minutesTo),U,t)},{id:"IntervalsVisibilitiesMinutes",title:R,min:new(a())(ne[0]),max:new(a())(ne[1])}),n=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.hours),j,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.hoursFrom),K,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.hoursTo),Z,t)},{id:"IntervalsVisibilitiesHours",title:B,min:new(a())(se[0]),max:new(a())(se[1])}),o=(0,i.createRangePropertyDefinition)({ -checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.days),q,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.daysFrom),Y,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.daysTo),Q,t)},{id:"IntervalsVisibilitiesDays",title:D,min:new(a())(ie[0]),max:new(a())(ie[1])});r.push(l,n,o);const h=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.weeks),X,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.weeksFrom),$,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.weeksTo),J,t)},{id:"IntervalsVisibilitiesWeeks",title:N,min:new(a())(oe[0]),max:new(a())(oe[1])}),u=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.months),ee,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.monthsFrom),te,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.monthsTo),re,t)},{id:"IntervalsVisibilitiesMonths",title:W,min:new(a())(ae[0]),max:new(a())(ae[1])});return r.push(h,u),{definitions:r}}},98222:(e,t,r)=>{"use strict";r.d(t,{CollectiblePropertyUndoWrapper:()=>c});var l=r(88537),n=r(28353),s=r(24980),i=r(2015),o=r.n(i);const a=new s.TranslatedString("change {propertyName} property",(0,n.t)("change {propertyName} property"));class c extends(o()){constructor(e,t,r){super(),this._isProcess=!1,this._listenersMappers=[],this._valueApplier={applyValue:(e,t)=>{this._propertyApplier.setProperty(e,t,a)}},this._baseProperty=e,this._propertyApplier=r,this._propertyName=t}destroy(){this._baseProperty.destroy()}value(){return this._baseProperty.value()}setValue(e,t){this._propertyApplier.beginUndoMacro(a.format({propertyName:this._propertyName})),this._isProcess=!0,this._baseProperty.setValue(e,void 0,this._valueApplier),this._isProcess=!1,this._propertyApplier.endUndoMacro(),this._listenersMappers.forEach(e=>{e.method.call(e.obj,this)})}subscribe(e,t){const r=()=>{this._isProcess||t.call(e,this)};this._listenersMappers.push({obj:e,method:t,callback:r}),this._baseProperty.subscribe(e,r)}unsubscribe(e,t){var r;const n=(0,l.ensureDefined)(null===(r=this._listenersMappers.find(r=>r.obj===e&&r.method===t))||void 0===r?void 0:r.callback);this._baseProperty.unsubscribe(e,n)}unsubscribeAll(e){this._baseProperty.unsubscribeAll(e)}}},73562:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditObjectDialogRenderer:()=>er});var l=r(87995),n=r(59496),s=r(88537),i=r(28353),o=r(24980),a=r(11372),c=r(56840),p=r(67337),d=r(76422),h=r(51768),u=r(31807),m=r(34290),y=r(50182),v=r(59064),g=r(86656),b=r(81851),f=r(37289),w=r(14291),C=r(18460),S=r(942);class P extends n.PureComponent{constructor(e){super(e),this._handleClose=e=>{(null==e?void 0:e.target)&&e.target.closest('[data-dialog-name="gopro"]')||this.props.onClose()},this._renderFooterLeft=e=>{const{source:t,model:r}=this.props;if((0,w.isLineTool)(t))return n.createElement(C.FooterMenu,{source:t,model:r});if((0, -b.isStudy)(t))return n.createElement(m.StudyDefaultsManager,{model:r,source:t,mode:e?"compact":"normal"});throw new TypeError("Unsupported source type.")},this._handleSelect=e=>{this.setState({activeTabId:e},()=>{this._requestResize&&this._requestResize()}),this.props.onActiveTabChanged&&this.props.onActiveTabChanged(e)},this._handleScroll=()=>{v.globalCloseDelegate.fire()},this._handleSubmit=()=>{this.props.onSubmit(),this.props.onClose()};const{pages:t,initialActiveTab:r}=this.props;this.state={activeTabId:t.allIds.includes(r)?r:t.allIds[0]}}render(){const{title:e,onCancel:t,onClose:r}=this.props,{activeTabId:l}=this.state;return n.createElement(y.AdaptiveConfirmDialog,{dataName:"indicator-properties-dialog",title:e,isOpened:!0,onSubmit:this._handleSubmit,onCancel:t,onClickOutside:this._handleClose,onClose:r,footerLeftRenderer:this._renderFooterLeft,render:this._renderChildren(l),submitOnEnterKey:!1})}_renderChildren(e){return({requestResize:t})=>{this._requestResize=t;const{pages:r,source:l,model:s}=this.props,i=r.byId[e],o="Component"in i?void 0:i.page;return n.createElement(n.Fragment,null,n.createElement(u.DialogTabs,{activeTabId:e,onSelect:this._handleSelect,tabs:r}),n.createElement(g.TouchScrollContainer,{className:S.scrollable,onScroll:this._handleScroll},"Component"in i?n.createElement(i.Component,{source:l,model:s}):n.createElement(f.PropertiesEditorTab,{page:o,tableKey:e})))}}}var T=r(27423),E=r(56756);class _ extends n.PureComponent{constructor(e){super(e),this._properties=this.props.source.properties(),this._inputs=new E.MetaInfoHelper(this.props.source.metaInfo()).getUserEditableInputs()}render(){return n.createElement(T.InputsTabContent,{property:this._properties,model:this.props.model,study:this.props.source,inputs:this._inputs})}}var k=r(22064),x=r(50993),I=r(67072),L=r.n(I),M=r(87536),V=r(48100),R=r(463);const B=new o.TranslatedString("change visibility",(0,i.t)("change visibility"));class D extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{setValue:t}=this.context,{visible:r}=this.props;r&&(0,R.setPropertyValue)(r,r=>t(r,e,B))}}render(){const{id:e,title:t,visible:r,disabled:l}=this.props,s=(0,a.clean)((0,i.t)(t,{context:"input"}),!0);return n.createElement(V.BoolInputComponent,{label:s,disabled:l,input:{id:e,type:"bool",defval:!0,name:"visible"},value:!r||(0,R.getPropertyValue)(r),onChange:this._onChange})}}D.contextType=M.StylePropertyContext;var N=r(27547),W=r(51613),z=r(84096),F=r(94697),A=r(86891),H=r(84863),G=r(85550),O=r(5377),U=r(76115),j=r(40551),K=r(8273),Z=r(99594),q=r(79142),Y=r(28853);const Q={[x.LineStudyPlotStyle.Line]:{type:x.LineStudyPlotStyle.Line,order:0,icon:A,label:(0,i.t)("Line")},[x.LineStudyPlotStyle.LineWithBreaks]:{type:x.LineStudyPlotStyle.LineWithBreaks,order:1,icon:H,label:(0,i.t)("Line with breaks")},[x.LineStudyPlotStyle.StepLine]:{type:x.LineStudyPlotStyle.StepLine,order:2,icon:G,label:(0,i.t)("Step line")},[x.LineStudyPlotStyle.StepLineWithDiamonds]:{type:x.LineStudyPlotStyle.StepLineWithDiamonds,order:3,icon:O,label:(0, -i.t)("Step line with diamonds")},[x.LineStudyPlotStyle.Histogram]:{type:x.LineStudyPlotStyle.Histogram,order:4,icon:U,label:(0,i.t)("Histogram")},[x.LineStudyPlotStyle.Cross]:{type:x.LineStudyPlotStyle.Cross,order:5,icon:j,label:(0,i.t)("Cross",{context:"chart_type"})},[x.LineStudyPlotStyle.Area]:{type:x.LineStudyPlotStyle.Area,order:6,icon:K,label:(0,i.t)("Area")},[x.LineStudyPlotStyle.AreaWithBreaks]:{type:x.LineStudyPlotStyle.AreaWithBreaks,order:7,icon:Z,label:(0,i.t)("Area with breaks")},[x.LineStudyPlotStyle.Columns]:{type:x.LineStudyPlotStyle.Columns,order:8,icon:q,label:(0,i.t)("Columns")},[x.LineStudyPlotStyle.Circles]:{type:x.LineStudyPlotStyle.Circles,order:9,icon:Y,label:(0,i.t)("Circles")}},X=Object.values(Q).sort((e,t)=>e.order-t.order).map(e=>({value:e.type,selectedContent:n.createElement(F.DisplayItem,{icon:e.icon}),content:n.createElement(F.DropItem,{icon:e.icon,label:e.label})})),$=(0,i.t)("Price line");class J extends n.PureComponent{render(){const{id:e,plotType:t,className:r,priceLine:l,plotTypeChange:s,priceLineChange:i,disabled:o}=this.props;if(!(t in Q))return null;const a={readonly:!0,content:n.createElement(n.Fragment,null,n.createElement(z.MenuItemSwitcher,{id:"PlotTypePriceLineSwitch",checked:l,label:$,preventLabelHighlight:!0,value:"priceLineSwitcher",onChange:i}),n.createElement(W.PopupMenuSeparator,null))};return n.createElement(F.IconDropdown,{id:e,disabled:o,className:r,hideArrowButton:!0,items:[a,...X],value:t,onChange:s})}}var ee=r(79946),te=r(20959);const re=new o.TranslatedString("change plot type",(0,i.t)("change plot type")),le=new o.TranslatedString("change price line visibility",(0,i.t)("change price line visibility"));class ne extends n.PureComponent{constructor(){super(...arguments),this._onPlotTypeChange=e=>{const{setValue:t}=this.context,{styleProp:{plottype:r}}=this.props;r&&t(r,e,re)},this._onPriceLineChange=e=>{const{setValue:t}=this.context,{styleProp:{trackPrice:r}}=this.props;r&&t(r,e,le)}}render(){const{id:e,paletteColor:t,paletteColorProps:r,styleProp:l,isLine:s,hasPlotTypeSelect:o,grouped:a,offset:c}=this.props,p=r.childs();return n.createElement(N.InputRow,{grouped:a,label:n.createElement("div",{className:te.childRowContainer},(0,i.t)(t.name,{context:"input"})),offset:c},n.createElement(ee.ColorWithThicknessSelect,{disabled:!l.visible.value(),color:p.color,transparency:l.transparency,thickness:s?p.width:void 0,isPaletteColor:!0}),s&&o&&l.plottype&&l.trackPrice?n.createElement(J,{id:(0,k.createDomId)(e,"plot-type-select"),disabled:!l.visible.value(),className:te.smallStyleControl,plotType:l.plottype.value(),priceLine:l.trackPrice.value(),plotTypeChange:this._onPlotTypeChange,priceLineChange:this._onPriceLineChange}):null)}}ne.contextType=M.StylePropertyContext;var se=r(35868);class ie extends n.PureComponent{render(){const{plot:e,area:t,palette:r,paletteProps:l,hideVisibilitySwitch:i,styleProp:o,showOnlyTitle:a,showSeparator:c=!0,offset:p}=this.props,d=e?e.id:(0,s.ensureDefined)(t).id,h=!d.startsWith("fill")&&e&&(0,x.isLinePlot)(e) -;return n.createElement(n.Fragment,null,!i&&n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2,offset:p},a?n.createElement("div",null,t?t.title:o.title.value()):n.createElement(D,{id:d,title:t?t.title:o.title.value(),visible:o.visible}))),function(e,t,r,l,i,o){const a=t.colors,c=r.colors;return Object.keys(a).map((t,r)=>n.createElement(ne,{key:t,id:e,grouped:!0,paletteColor:(0,s.ensureDefined)(a[t]),paletteColorProps:(0,s.ensureDefined)(c[t]),styleProp:l,isLine:i,hasPlotTypeSelect:0===r,offset:o}))}(d,r,l,o,h,p),c&&n.createElement(se.PropertyTable.GroupSeparator,null))}}ie.contextType=M.StylePropertyContext;var oe=r(50890);const ae=new o.TranslatedString("change plot type",(0,i.t)("change plot type")),ce=new o.TranslatedString("change price line visibility",(0,i.t)("change price line visibility"));class pe extends n.PureComponent{constructor(){super(...arguments),this._onPlotTypeChange=e=>{const{setValue:t}=this.context,{property:{plottype:r}}=this.props;r&&t(r,e,ae)},this._onPriceLineChange=e=>{const{setValue:t}=this.context,{property:{trackPrice:r}}=this.props;r&&t(r,e,ce)}}render(){const{id:e,isRGB:t,isFundamental:r,property:{title:l,color:s,plottype:i,linewidth:o,transparency:a,trackPrice:c,visible:p}}=this.props;return n.createElement(N.InputRow,{label:n.createElement(D,{id:e,title:l.value(),visible:p})},t&&!r?this._getInputForRgb():n.createElement(ee.ColorWithThicknessSelect,{disabled:!p.value(),color:s,transparency:a,thickness:o}),n.createElement(J,{id:(0,k.createDomId)(e,"plot-type-select"),disabled:!p.value(),className:te.smallStyleControl,plotType:i.value(),priceLine:c.value(),plotTypeChange:this._onPlotTypeChange,priceLineChange:this._onPriceLineChange}))}_getInputForRgb(){const{id:e,showLineWidth:t,property:r}=this.props,{linewidth:l,visible:s}=r;return l&&t?n.createElement(oe.LineWidthSelect,{id:(0,k.createDomId)(e,"line-width-select"),property:l,disabled:!s.value()}):null}}pe.contextType=M.StylePropertyContext;const de=n.createContext(null);class he extends n.PureComponent{render(){const{id:e,isRGB:t,title:r,visible:l,color:s,transparency:i,thickness:o,children:a,switchable:c=!0,offset:p,grouped:d}=this.props;return n.createElement(N.InputRow,{label:c?n.createElement(D,{id:e,title:r,visible:l}):r,offset:p,grouped:d},t?null:n.createElement(ee.ColorWithThicknessSelect,{disabled:l&&!(Array.isArray(l)?l[0].value():l.value()),color:s,transparency:i,thickness:o}),a)}}he.contextType=M.StylePropertyContext;class ue extends n.PureComponent{render(){const{id:e,isRGB:t,property:{colorup:r,colordown:l,transparency:i,visible:o}}=this.props;return n.createElement(de.Consumer,null,a=>n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2,grouped:!0},n.createElement(D,{id:e,title:Oe((0,s.ensureNotNull)(a),e),visible:o}))),!t&&n.createElement(n.Fragment,null,n.createElement(he,{id:e,title:We,color:r,transparency:i,visible:o,switchable:!1,offset:!0,grouped:!0 -}),n.createElement(he,{id:e,title:ze,color:l,transparency:i,visible:o,switchable:!1,offset:!0,grouped:!0})),n.createElement(se.PropertyTable.GroupSeparator,null)))}}ue.contextType=M.StylePropertyContext;var me=r(87795),ye=r.n(me),ve=r(97754),ge=r(31261),be=r(45685),fe=r(95936);const we={[fe.MarkLocation.AboveBar]:{value:fe.MarkLocation.AboveBar,content:(0,i.t)("Above bar"),order:0},[fe.MarkLocation.BelowBar]:{value:fe.MarkLocation.BelowBar,content:(0,i.t)("Below bar"),order:1},[fe.MarkLocation.Top]:{value:fe.MarkLocation.Top,content:(0,i.t)("Top"),order:2},[fe.MarkLocation.Bottom]:{value:fe.MarkLocation.Bottom,content:(0,i.t)("Bottom"),order:3},[fe.MarkLocation.Absolute]:{value:fe.MarkLocation.Absolute,content:(0,i.t)("Absolute"),order:4}},Ce=Object.values(we).sort((e,t)=>e.order-t.order);class Se extends n.PureComponent{render(){const{id:e,shapeLocation:t,className:r,menuItemClassName:l,shapeLocationChange:s,disabled:i}=this.props;return n.createElement(be.Select,{id:e,disabled:i,className:r,menuItemClassName:l,items:Ce,value:t,onChange:s})}}const Pe=new o.TranslatedString("change char",(0,i.t)("change char")),Te=new o.TranslatedString("change location",(0,i.t)("change location"));class Ee extends n.PureComponent{constructor(){super(...arguments),this._onCharChange=e=>{const{setValue:t}=this.context,r=e.currentTarget.value.trim(),l=ye()(r),n=0===l.length?"":l[l.length-1],{property:{char:s}}=this.props;t(s,n,Pe)},this._onLocationChange=e=>{const{setValue:t}=this.context,{property:{location:r}}=this.props;t(r,e,Te)}}render(){const{id:e,isRGB:t,property:{title:r,color:l,transparency:s,char:i,location:o,visible:a},hasPalette:c}=this.props;return n.createElement(N.InputRow,{grouped:c,label:n.createElement(D,{id:e,title:r.value(),visible:a})},!c&&!t&&n.createElement(ee.ColorWithThicknessSelect,{disabled:!a.value(),color:l,transparency:s}),n.createElement(ge.InputControl,{disabled:!a.value(),className:te.smallStyleControl,value:i.value(),onChange:this._onCharChange}),n.createElement(Se,{id:(0,k.createDomId)(e,"shape-style-select"),disabled:!a.value(),className:ve(te.defaultSelect,te.additionalSelect),menuItemClassName:te.defaultSelectItem,shapeLocation:o.value(),shapeLocationChange:this._onLocationChange}))}}Ee.contextType=M.StylePropertyContext;var _e=r(56138);const ke={arrow_down:r(91596),arrow_up:r(57614),circle:r(6220),cross:r(59903),diamond:r(27708),flag:r(92578),label_down:r(33665),label_up:r(82397),square:r(76046),triangle_down:r(21760),triangle_up:r(653),x_cross:r(18670)};function xe(e){return ke[e]}const Ie=[];Object.keys(_e.plotShapesData).forEach(e=>{const t=_e.plotShapesData[e];Ie.push({id:t.id,value:t.id,selectedContent:n.createElement(F.DisplayItem,{icon:xe(t.icon)}),content:n.createElement(F.DropItem,{icon:xe(t.icon),label:t.guiName})})});class Le extends n.PureComponent{render(){const{id:e,shapeStyleId:t,className:r,shapeStyleChange:l,disabled:s}=this.props;return n.createElement(F.IconDropdown,{id:e,disabled:s,className:r,hideArrowButton:!0,items:Ie,value:t,onChange:l})}} -const Me=new o.TranslatedString("change shape",(0,i.t)("change shape")),Ve=new o.TranslatedString("change location",(0,i.t)("change location"));class Re extends n.PureComponent{constructor(){super(...arguments),this._onPlotTypeChange=e=>{const{setValue:t}=this.context,{property:{plottype:r}}=this.props;t(r,e,Me)},this._onLocationChange=e=>{const{setValue:t}=this.context,{property:{location:r}}=this.props;t(r,e,Ve)}}render(){const{id:e,isRGB:t,hasPalette:r,property:{title:l,color:s,transparency:i,plottype:o,location:a,visible:c}}=this.props;return n.createElement(N.InputRow,{grouped:r,label:n.createElement(D,{id:e,title:l.value(),visible:c})},!r&&!t&&n.createElement(ee.ColorWithThicknessSelect,{disabled:!c.value(),color:s,transparency:i}),n.createElement(Le,{id:(0,k.createDomId)(e,"shape-style-select"),disabled:!c.value(),className:te.smallStyleControl,shapeStyleId:o.value(),shapeStyleChange:this._onPlotTypeChange}),n.createElement(Se,{id:(0,k.createDomId)(e,"shape-location-select"),disabled:!c.value(),className:ve(te.defaultSelect,te.additionalSelect),menuItemClassName:te.defaultSelectItem,shapeLocation:a.value(),shapeLocationChange:this._onLocationChange}))}}Re.contextType=M.StylePropertyContext;var Be=r(98125),De=r(32255);const Ne=(0,Be.getLogger)("Chart.Study.PropertyPage"),We=(0,i.t)("Up"),ze=(0,i.t)("Down"),Fe=(0,i.t)("Body"),Ae=(0,i.t)("Wick"),He=(0,i.t)("Border");class Ge extends n.PureComponent{render(){const{plot:e,palettes:t,study:r}=this.props,l=e.id,s=r.properties().styles[l],i=e.type,o=t.main,a=!!r.metaInfo().isRGB;if("line"===i||"bar_colorer"===i||"bg_colorer"===i)return o&&o.palette&&o.paletteProps?n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,styleProp:s}):n.createElement(pe,{id:l,property:s,isRGB:a,isFundamental:!1,showLineWidth:"line"===i});if("arrows"===i){const i=this._getPlotSwitch(l,Oe(r,l),s.visible);if(a)return i;const o=t.up,c=t.down;return o||c?n.createElement(n.Fragment,null,i,o&&o.palette&&o.paletteProps?n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,styleProp:{...s,title:(0,De.createPrimitiveProperty)(We)},showSeparator:!1,showOnlyTitle:!0,offset:!0}):n.createElement(he,{id:l,isRGB:a,title:We,color:s.colorup,visible:s.visible,transparency:s.transparency,switchable:!1,grouped:!0,offset:!0}),c&&c.palette&&c.paletteProps?n.createElement(ie,{plot:e,palette:c.palette,paletteProps:c.paletteProps,styleProp:{...s,title:(0,De.createPrimitiveProperty)(ze)},showSeparator:!1,showOnlyTitle:!0,offset:!0}):n.createElement(he,{id:l,isRGB:a,title:ze,color:s.colordown,visible:s.visible,transparency:s.transparency,switchable:!1,grouped:!0,offset:!0}),n.createElement(se.PropertyTable.GroupSeparator,null)):n.createElement(ue,{id:l,property:s,isRGB:a,plot:e,palettes:t,styleProp:s})}if("chars"===i||"shapes"===i)return n.createElement(n.Fragment,null,"chars"===i?n.createElement(Ee,{id:l,property:s,hasPalette:Boolean(o&&o.palette),isRGB:a}):n.createElement(Re,{id:l,property:s,hasPalette:Boolean(o&&o.palette),isRGB:a -}),o&&o.palette&&o.paletteProps&&n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,hideVisibilitySwitch:!0,styleProp:s}));if((0,x.isOhlcPlot)(e)){const s=e.target,i=r.properties().ohlcPlots[s],c=this._getPlotSwitch(l,i.title.value(),i.visible);if(a)return c;const p=t.wick&&t.wick.palette&&t.wick.paletteProps,d=t.border&&t.border.palette&&t.border.paletteProps;return n.createElement(n.Fragment,null,c,o&&o.palette&&o.paletteProps?n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,styleProp:{...i,title:(0,De.createPrimitiveProperty)(Fe)},showSeparator:!1,showOnlyTitle:!0,offset:!0}):n.createElement(he,{id:l,isRGB:a,title:Fe,visible:i.visible,color:i.color,transparency:i.transparency,switchable:!1,grouped:!0,offset:!0}),t.wick&&t.wick.palette&&t.wick.paletteProps&&n.createElement(ie,{plot:e,palette:t.wick.palette,paletteProps:t.wick.paletteProps,styleProp:{...i,title:(0,De.createPrimitiveProperty)(Ae)},showSeparator:!1,showOnlyTitle:!0,offset:!0}),Boolean(!p&&i.wickColor)&&n.createElement(he,{id:l,isRGB:a,title:Ae,visible:i.visible,color:i.wickColor,transparency:i.transparency,switchable:!1,grouped:!0,offset:!0}),t.border&&t.border.palette&&t.border.paletteProps&&n.createElement(ie,{plot:e,palette:t.border.palette,paletteProps:t.border.paletteProps,styleProp:{...i,title:(0,De.createPrimitiveProperty)(He)},showSeparator:!1,showOnlyTitle:!0,offset:!0}),Boolean(!d&&i.borderColor)&&n.createElement(he,{id:l,isRGB:a,title:He,visible:i.visible,color:i.borderColor,transparency:i.transparency,switchable:!1,grouped:!0,offset:!0}),n.createElement(se.PropertyTable.GroupSeparator,null))}return Ne.logError("Unknown plot type: "+i),null}_getPlotSwitch(e,t,r){return n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:e,title:t,visible:r})))}}function Oe(e,t){const r=(0,s.ensureDefined)(e.metaInfo().styles),{title:l}=(0,s.ensureDefined)(r[t]);return(0,s.ensureDefined)(l)}var Ue=r(48948),je=r(53598);const Ke=new o.TranslatedString("change line style",(0,i.t)("change line style"));class Ze extends n.PureComponent{constructor(){super(...arguments),this._onLineStyleChange=e=>{const{setValue:t}=this.context,{lineStyle:r}=this.props;(0,R.setPropertyValue)(r,r=>t(r,e,Ke))}}render(){const{lineStyle:e,...t}=this.props;return n.createElement(je.LineStyleSelect,{...t,lineStyle:(0,R.getPropertyValue)(e),lineStyleChange:this._onLineStyleChange})}}Ze.contextType=M.StylePropertyContext;const qe=new o.TranslatedString("change value",(0,i.t)("change value"));class Ye extends n.PureComponent{constructor(){super(...arguments),this._onValueChange=e=>{const{setValue:t}=this.context,{value:r}=this.props.property;t(r,e,qe)}}render(){const{id:e,property:{name:t,color:r,linestyle:l,linewidth:s,transparency:i,value:o,visible:a}}=this.props;return n.createElement(N.InputRow,{labelAlign:"adaptive",label:n.createElement(D,{id:e,title:t.value(),visible:a})},n.createElement("div",{className:te.block},n.createElement("div",{className:te.group -},n.createElement(ee.ColorWithThicknessSelect,{disabled:!a.value(),color:r,transparency:i,thickness:s}),n.createElement(Ze,{id:(0,k.createDomId)(e,"line-style-select"),disabled:!a.value(),className:te.smallStyleControl,lineStyle:l})),n.createElement("div",{className:ve(te.wrapGroup,te.defaultSelect,te.additionalSelect)},n.createElement(Ue.FloatInputComponent,{input:{id:"",name:"",type:"float",defval:0},value:o.value(),disabled:!a.value(),onChange:this._onValueChange}))))}}Ye.contextType=M.StylePropertyContext;class Qe extends n.PureComponent{render(){const{orders:{visible:e,showLabels:t,showQty:r}}=this.props;return n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"chart-orders-switch",title:(0,i.t)("Trades on chart"),visible:e}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"chart-orders-labels-switch",title:(0,i.t)("Signal labels"),visible:t}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"chart-orders-qty-switch",title:(0,i.t)("Quantity"),visible:r}))))}}Qe.contextType=M.StylePropertyContext;var Xe=r(95018),$e=r(26007);const Je=new o.TranslatedString("change percent width",(0,i.t)("change percent width")),et=new o.TranslatedString("change placement",(0,i.t)("change placement")),tt=new o.TranslatedString("change values visibility",(0,i.t)("change values visibility")),rt=[{value:Xe.HHistDirection.LeftToRight,content:(0,i.t)("Left")},{value:Xe.HHistDirection.RightToLeft,content:(0,i.t)("Right")}],lt=(0,i.t)("Width (% of the box)"),nt=(0,i.t)("Placement"),st=(0,i.t)("Values"),it=(0,i.t)("Text color");class ot extends n.PureComponent{constructor(){super(...arguments),this._onPercentWidthChange=e=>{const{setValue:t}=this.context,{percentWidth:r}=this.props.property.childs();t(r,e,Je)},this._onPlacementChange=e=>{const{setValue:t}=this.context,{direction:r}=this.props.property.childs();t(r,e,et)},this._onShowValuesChange=e=>{const{setValue:t}=this.context,{showValues:r}=this.props.property.childs();t(r,e,tt)}}render(){const{title:e,percentWidth:t,direction:r,showValues:l,valuesColor:s,visible:i}=this.props.property.childs();return n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2,grouped:!0},n.createElement(D,{id:e.value(),title:e.value(),visible:i}))),n.createElement(N.InputRow,{label:n.createElement("div",{className:te.childRowContainer},lt),grouped:!0},n.createElement($e.IntegerInputComponent,{input:{id:"",name:"",type:"integer",defval:0},value:t.value(),disabled:!i.value(),onChange:this._onPercentWidthChange})),n.createElement(N.InputRow,{label:n.createElement("div",{className:te.childRowContainer},nt),grouped:!0},n.createElement(be.Select,{id:"hhist-graphic-placement-select",disabled:!i.value(),className:te.defaultSelect, -menuItemClassName:te.defaultSelectItem,items:rt,value:r.value(),onChange:this._onPlacementChange})),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{className:te.childRowContainer,placement:"first",colSpan:2,grouped:!0},n.createElement(V.BoolInputComponent,{label:st,input:{id:e.value()+"_showValues",type:"bool",defval:!0,name:"visible"},value:!l||l.value(),disabled:!i.value(),onChange:this._onShowValuesChange}))),n.createElement(N.InputRow,{label:n.createElement("div",{className:te.childRowContainer},it),grouped:!0},n.createElement(ee.ColorWithThicknessSelect,{disabled:i&&!i.value(),color:s})),this._renderColors(),n.createElement(se.PropertyTable.GroupSeparator,null))}_renderColors(){const{colors:e,titles:t,transparencies:r,visible:l}=this.props.property.childs();return e.childNames().map(s=>n.createElement(N.InputRow,{key:s,grouped:!0,label:n.createElement("div",{className:te.childRowContainer},t.childs()[s].value())},n.createElement(ee.ColorWithThicknessSelect,{disabled:!l.value(),color:e.childs()[s],transparency:r.childs()[s]})))}}ot.contextType=M.StylePropertyContext;class at extends n.PureComponent{render(){const{title:e}=this.props,{color:t,transparency:r,width:l,style:s,visible:i}=this.props.property.childs();return n.createElement(N.InputRow,{label:n.createElement(D,{id:e.value(),title:e.value(),visible:i})},n.createElement(ee.ColorWithThicknessSelect,{disabled:!i.value(),color:t,transparency:r,thickness:l}),n.createElement(Ze,{id:(0,k.createDomId)(e.value(),"line-style-select"),disabled:!i.value(),className:te.smallStyleControl,lineStyle:s}))}}at.contextType=M.StylePropertyContext;class ct extends n.PureComponent{render(){const{graphicType:e,study:t}=this.props,r=t.metaInfo().graphics,l=t.properties().graphics,i=(0,s.ensureDefined)(r[e]);return Object.keys(i).map((t,r)=>{const s=l[e][t];return"horizlines"===e||"vertlines"===e||"lines"===e?n.createElement(at,{key:t,title:"lines"===e?s.title:s.name,property:s}):"hhists"===e?n.createElement(ot,{key:t,property:s}):null})}}var pt=r(66045);const dt=new o.TranslatedString("change font size",(0,i.t)("change font size")),ht=[10,11,12,14,16,20,24,28,32,40].map(e=>({value:e,title:e.toString()}));class ut extends n.PureComponent{constructor(){super(...arguments),this._onFontSizeChange=e=>{const{setValue:t}=this.context,{fontSize:r}=this.props;t(r,e,dt)}}render(){const{fontSize:e,...t}=this.props;return n.createElement(pt.FontSizeSelect,{...t,fontSizes:ht,fontSize:e.value(),fontSizeChange:this._onFontSizeChange})}}ut.contextType=M.StylePropertyContext;const mt=new o.TranslatedString("change visibility",(0,i.t)("change visibility")),yt=(0,i.t)("Labels font"),vt=(0,i.t)("Labels"),gt={Traditional:new Set(["S5/R5","S4/R4","S3/R3","S2/R2","S1/R1","P"]),Fibonacci:new Set(["S3/R3","S2/R2","S1/R1","P"]),Woodie:new Set(["S4/R4","S3/R3","S2/R2","S1/R1","P"]),Classic:new Set(["S4/R4","S3/R3","S2/R2","S1/R1","P"]),DM:new Set(["S1/R1","P"]),DeMark:new Set(["S1/R1","P"]),Camarilla:new Set(["S4/R4","S3/R3","S2/R2","S1/R1","P"])} -;class bt extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{setValue:t}=this.context,{levelsStyle:r}=this.props.property.childs(),{showLabels:l}=r.childs();t(l,e,mt)}}render(){const{fontsize:e,levelsStyle:t}=this.props.property.childs();return n.createElement(n.Fragment,null,n.createElement(N.InputRow,{labelAlign:"adaptive",label:n.createElement("span",null,yt)},n.createElement("div",{className:te.block},n.createElement("div",{className:ve(te.wrapGroup,te.additionalSelect)},n.createElement(ut,{id:"pivot-points-standard-font-size-select",fontSize:e})))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(V.BoolInputComponent,{label:vt,input:{id:"ShowLabels",type:"bool",defval:!0,name:"visible"},value:t.childs().showLabels.value(),onChange:this._onChange}))),this._renderColors())}_renderColors(){const{levelsStyle:e,inputs:t}=this.props.property.childs(),{colors:r,widths:l,visibility:i}=e.childs(),{kind:o}=t.childs(),a=(0,s.ensureDefined)(gt[o.value()]);return r.childNames().filter(e=>a.has(e)).map(e=>n.createElement(he,{key:e,id:e,title:e,color:r.childs()[e],visible:i.childs()[e],thickness:l.childs()[e]}))}}bt.contextType=M.StylePropertyContext;const ft=new o.TranslatedString("change visibility",(0,i.t)("change visibility")),wt=(0,i.t)("Volume profile"),Ct=(0,i.t)("Values"),St=(0,i.t)("Width (% of the box)"),Pt=(0,i.t)("Placement"),Tt=(0,i.t)("Developing VA"),Et=(0,i.t)("Values in status line"),_t=(0,i.t)("Labels on price scale"),kt=[{value:Xe.HHistDirection.RightToLeft,content:(0,i.t)("Right")},{value:Xe.HHistDirection.LeftToRight,content:(0,i.t)("Left")}];class xt extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{this._setHhistsProperty("visible",e)},this._onShowValuesChange=e=>{this._setHhistsProperty("showValues",e)},this._onValueChange=e=>{this._setHhistsProperty("percentWidth",e)},this._onDirectionChange=e=>{this._setHhistsProperty("direction",e)}}render(){var e,t,r,l,o,a;const{metaInfo:c}=this.props,{graphics:p,styles:d,showLabelsOnPriceScale:h,showLegendValues:u}=this.props.property.childs(),{hhists:m,horizlines:y,polygons:v}=p.childs(),g=(0,s.ensureDefined)(c.graphics.hhists),b=Object.keys(g),f=m.childs()[b[0]],w=f.childs().visible,C=b.map(e=>m.childs()[e].childs().showValues),S=f.childs().percentWidth,P=f.childs().direction,T=b.map(e=>m.childs()[e].childs().valuesColor),E=null===(e=y.childs())||void 0===e?void 0:e.vahLines,_=null===(t=c.graphics.horizlines)||void 0===t?void 0:t.vahLines,k=null===(r=y.childs())||void 0===r?void 0:r.valLines,x=null===(l=c.graphics.horizlines)||void 0===l?void 0:l.valLines,I=y.childs().pocLines,L=(0,s.ensureDefined)(null===(o=c.graphics.horizlines)||void 0===o?void 0:o.pocLines),M=d.childs().developingPoc,R=(0,s.ensureDefined)(null===(a=c.styles)||void 0===a?void 0:a.developingPoc),B=d.childs().developingVAHigh,W=d.childs().developingVALow,z=c.graphics.polygons&&c.graphics.polygons.histBoxBg -;return n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(V.BoolInputComponent,{label:wt,input:{id:"VolumeProfile",type:"bool",defval:!0,name:"visible"},value:w.value(),onChange:this._onChange}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first"},n.createElement("div",{className:te.childRowContainer},n.createElement(V.BoolInputComponent,{disabled:!w.value(),label:Ct,input:{id:"ShowValues",type:"bool",defval:!0,name:"visible"},value:C[0].value(),onChange:this._onShowValuesChange}))),n.createElement(se.PropertyTable.Cell,{placement:"last"},n.createElement(ee.ColorWithThicknessSelect,{disabled:!w.value()||!C[0].value(),color:T}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first"},n.createElement("div",{className:te.childRowContainer},St)),n.createElement(se.PropertyTable.Cell,{placement:"last"},n.createElement($e.IntegerInputComponent,{disabled:!w.value(),input:{id:"",name:"",type:"integer",defval:0},value:S.value(),onChange:this._onValueChange}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first"},n.createElement("div",{className:te.childRowContainer},Pt)),n.createElement(se.PropertyTable.Cell,{placement:"last"},n.createElement(be.Select,{id:"hhist-direction-select",disabled:!w.value(),className:te.defaultSelect,menuItemClassName:te.defaultSelectItem,items:kt,value:P.value(),onChange:this._onDirectionChange}))),b.map(e=>n.createElement(n.Fragment,{key:e},m.childs()[e].childs().colors.childNames().map((t,r)=>{const l=g[e];return n.createElement(N.InputRow,{key:r,label:n.createElement("div",{className:te.childRowContainer},l&&(0,i.t)(l.titles[r])||"")},n.createElement(ee.ColorWithThicknessSelect,{disabled:!w.value(),color:m.childs()[e].childs().colors.childs()[r],transparency:m.childs()[e].childs().transparencies.childs()[r]}))}))),_&&E&&n.createElement(he,{id:"vahLines",title:_.name,color:E.childs().color,visible:E.childs().visible,thickness:E.childs().width},n.createElement(Ze,{id:"vah-lines-line-style-select",disabled:!E.childs().visible.value(),className:te.smallStyleControl,lineStyle:E.childs().style})),x&&k&&n.createElement(he,{id:"valLines",title:x.name,color:k.childs().color,visible:k.childs().visible,thickness:k.childs().width},n.createElement(Ze,{id:"val-lines-line-style-select",disabled:!k.childs().visible.value(),className:te.smallStyleControl,lineStyle:k.childs().style})),n.createElement(he,{id:"pocLines",title:L.name,color:I.childs().color,visible:I.childs().visible,thickness:I.childs().width},n.createElement(Ze,{id:"poc-lines-line-style-select",disabled:!I.childs().visible.value(),className:te.smallStyleControl,lineStyle:I.childs().style})),M&&n.createElement(he,{id:"developingPoc",title:R.title&&(0,i.t)(R.title)||"",color:M.childs().color,visible:M.childs().visible,thickness:M.childs().linewidth},n.createElement(Ze,{ -id:"developing-poc-line-style-select",disabled:!M.childs().visible.value(),className:te.smallStyleControl,lineStyle:M.childs().linestyle})),B&&W&&n.createElement(he,{id:"developingPoc",title:Tt,color:[B.childs().color,W.childs().color],visible:[B.childs().visible,W.childs().visible],thickness:[B.childs().linewidth,W.childs().linewidth]},n.createElement(Ze,{id:"developing-VA-line-style-select",disabled:!B.childs().visible.value()&&!W.childs().visible.value(),className:te.smallStyleControl,lineStyle:[B.childs().linestyle,W.childs().linestyle]})),v&&n.createElement(N.InputRow,{label:n.createElement("div",null,z&&(0,i.t)(z.name)||"")},n.createElement(ee.ColorWithThicknessSelect,{color:v.childs().histBoxBg.childs().color,transparency:v.childs().histBoxBg.childs().transparency})),"VbPFixed"!==c.shortId&&n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLabelsOnPriceScale",title:_t,visible:h})),n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLegendValues",title:Et,visible:u}))))}_setHhistsProperty(e,t){const{setValue:r}=this.context,{metaInfo:l,property:n}=this.props,i=n.childs().graphics.childs().hhists,o=Object.keys((0,s.ensureDefined)(l.graphics.hhists));for(let l=0;ln.createElement(M.StylePropertyContainer,{property:(0,s.ensureNotNull)(t).properties(),model:e},n.createElement(se.PropertyTable,null,this._renderCustomContent((0,s.ensureNotNull)(t).metaInfo().shortId))))}_renderCustomContent(e){if(e in Mt){const t=Mt[e];return n.createElement(t,null)}return null}}Vt.contextType=Lt.ModelContext;var Rt=r(37701);const Bt=new o.TranslatedString("change precision",(0,i.t)("change precision")),Dt=(0,i.t)("Default"),Nt=(0,i.t)("Precision"),Wt=[{value:"default",content:Dt}];for(let e=0;e<=8;e++)Wt.push({value:e,content:e.toString()});class zt extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{setValue:t}=this.context,{precision:r}=this.props;t(r,e,Bt)}}render(){const{id:e,precision:t}=this.props;return n.createElement(N.InputRow,{label:Nt},n.createElement(be.Select,{id:e,className:te.defaultSelect,menuItemClassName:te.defaultSelectItem,items:Wt,value:t.value(),onChange:this._onChange}))}}zt.contextType=M.StylePropertyContext;const Ft=new o.TranslatedString("change min tick",(0,i.t)("change min tick")),At=(0,i.t)("Default"),Ht=(0,i.t)("Override min tick"),Gt=[{priceScale:1,minMove:1,frac:!1},{priceScale:10, -minMove:1,frac:!1},{priceScale:100,minMove:1,frac:!1},{priceScale:1e3,minMove:1,frac:!1},{priceScale:1e4,minMove:1,frac:!1},{priceScale:1e5,minMove:1,frac:!1},{priceScale:1e6,minMove:1,frac:!1},{priceScale:1e7,minMove:1,frac:!1},{priceScale:1e8,minMove:1,frac:!1},{priceScale:2,minMove:1,frac:!0},{priceScale:4,minMove:1,frac:!0},{priceScale:8,minMove:1,frac:!0},{priceScale:16,minMove:1,frac:!0},{priceScale:32,minMove:1,frac:!0},{priceScale:64,minMove:1,frac:!0},{priceScale:128,minMove:1,frac:!0},{priceScale:320,minMove:1,frac:!0}],Ot=[{id:"tick-default",value:"default",content:At}];for(let e=0;e{const{setValue:t}=this.context,{minTick:r}=this.props;t(r,e,Ft)}}render(){const{id:e,minTick:t}=this.props;return n.createElement(N.InputRow,{label:Ht},n.createElement(be.Select,{id:e,className:te.defaultSelect,menuItemClassName:te.defaultSelectItem,items:Ot,value:t.value(),onChange:this._onChange}))}}Ut.contextType=M.StylePropertyContext;var jt=r(72280),Kt=r(86067);const Zt=(0,i.t)("Outputs");class qt extends n.PureComponent{constructor(){super(...arguments),this._findPlotPalettes=e=>{const{study:t}=this.props,r=t.metaInfo(),l=(0,s.ensureDefined)(r.palettes);return(0,x.isBarColorerPlot)(e)||(0,x.isBgColorerPlot)(e)?{main:{palette:l[e.palette],paletteProps:t.properties().palettes[e.palette]}}:this._findPalettesByTargetId(e.id)}}render(){const{study:e}=this.props,t=e.metaInfo();if((0,Rt.isCustomStudy)(t.shortId))return n.createElement(Vt,null);const r=e.properties(),{precision:l,strategy:s,minTick:i,showLabelsOnPriceScale:o,showLegendValues:a}=r,c=t.plots.length>0,p=t.plots.some(e=>!(0,x.isPlotWithTechnicalValues)(e)),d=c||t.inputs.some(e=>"price"===e.type),h=(0,jt.createAdapter)(e).canOverrideMinTick();return n.createElement(se.PropertyTable,null,this._plotsElement(),this._bandsElement(),this._bandsBackgroundsElement(),this._areasBackgroundsElement(),this._filledAreasElement(),this._graphicsElement(),h&&n.createElement(Ut,{id:(0,k.createDomId)(t.id,"min-tick-select"),minTick:i}),L().isScriptStrategy(t)&&n.createElement(Qe,{orders:s.orders}),(d||p)&&n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.GroupSeparator,{size:1}),n.createElement(Kt.GroupTitleSection,{title:Zt,name:Zt}),d&&n.createElement(zt,{id:(0,k.createDomId)(t.id,"precision-select"),precision:l}),p&&n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLabelsOnPriceScale",title:"Labels on price scale",visible:o})),n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLegendValues",title:"Values in status line",visible:a})))))}_plotsElement(){const{study:e}=this.props,t=e.metaInfo();return new E.MetaInfoHelper(t).getUserEditablePlots().filter(e=>!((0,x.isUpColorerPlot)(e)||(0,x.isDownColorerPlot)(e)||(0, -x.isCandleBorderColorerPlot)(e)||(0,x.isCandleWickColorerPlot)(e))).map(t=>{const r=(0,x.isOhlcPlot)(t)?{...t,id:t.target}:t,l=this._findPlotPalettes(r);return n.createElement(Ge,{key:t.id,plot:t,palettes:l,study:e})})}_bandsElement(){const{study:e}=this.props,t=e.properties(),{bands:r}=t;return r&&r.childNames().map((e,t)=>{const l=r.child(e);if(!l.isHidden||!l.isHidden.value())return n.createElement(Ye,{key:t,id:l.name.value(),property:l})})}_bandsBackgroundsElement(){const{study:e}=this.props,t=e.properties(),{bandsBackground:r}=t;return r&&n.createElement(he,{id:"bandsBackground",title:"Background",visible:r.fillBackground,color:r.backgroundColor,transparency:r.transparency})}_areasBackgroundsElement(){const{study:e}=this.props,t=e.metaInfo(),r=e.properties(),{areaBackground:l}=r;return t.isRGB?null:l&&n.createElement(he,{id:"areaBackground",title:"Background",visible:l.fillBackground,color:l.backgroundColor,transparency:l.transparency})}_filledAreasElement(){const{study:e}=this.props,t=e.metaInfo(),r=t.filledAreas;return!r||t.isRGB?[]:r.map(t=>{if(t.isHidden)return null;const r=e.properties().filledAreasStyle[t.id],l=t.title||"Background";if(t.palette){const e=this._findPalettesByTargetId(t.id),l=(0,s.ensureDefined)(e.main);return n.createElement(ie,{key:t.id,area:t,palette:(0,s.ensureDefined)(l.palette),paletteProps:(0,s.ensureDefined)(l.paletteProps),styleProp:r})}return n.createElement(he,{key:t.id,id:t.id,title:l,color:r.color,visible:r.visible,transparency:r.transparency})})}_graphicsElement(){const{study:e}=this.props,t=e.metaInfo().graphics;return t&&Object.keys(t).map((t,r)=>n.createElement(ct,{key:t,graphicType:t,study:e}))}_findPalettesByTargetId(e){const{study:t}=this.props,r=t.metaInfo(),l=r.plots,n=(0,s.ensureDefined)(r.palettes),i={};for(const r of l)((0,x.isColorerPlot)(r)||(0,x.isOhlcColorerPlot)(r))&&r.target===e&&(i.main={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]}),(0,x.isUpColorerPlot)(r)&&r.target===e&&(i.up={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]}),(0,x.isDownColorerPlot)(r)&&r.target===e&&(i.down={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]}),(0,x.isCandleWickColorerPlot)(r)&&r.target===e&&(i.wick={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]}),(0,x.isCandleBorderColorerPlot)(r)&&r.target===e&&(i.border={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]});return i}}function Yt(e){return(0,M.bindPropertyContext)(qt,{...e,property:e.study.properties()})}class Qt extends n.PureComponent{render(){return n.createElement(Lt.ModelContext.Provider,{value:this.props.model},n.createElement(de.Provider,{value:this.props.source},n.createElement(Yt,{study:this.props.source})))}}var Xt=r(80331),$t=r(22729),Jt=r(80975);class er extends $t.DialogRenderer{constructor(e,t,r,n){super(),this._timeout=null,this._handleClose=()=>{l.unmountComponentAtNode(this._container),this._setVisibility(!1),this._subscription.unsubscribe(this,this._handleCollectionChanged)},this._handleCancel=()=>{ -this._model.undoToCheckpoint(this._checkpoint)},this._handleSubmit=()=>{},this._handleActiveTabChanged=e=>{c.setValue(this._activeTabSettingsName(),e)},this._source=e,this._model=t,this._propertyPages=n,this._checkpoint=this._ensureCheckpoint(r),this._subscription=this._model.model().dataSourceCollectionChanged(),this._subscription.subscribe(this,this._handleCollectionChanged)}hide(e){e?this._handleCancel():this._handleSubmit(),this._handleClose()}isVisible(){return this.visible().value()}show(e={}){if(!p.enabled("property_pages"))return;const t=this._source.metaInfo();if((0,w.isLineTool)(this._source)&&(0,h.trackEvent)("GUI","Drawing Properties",this._source.name()),(0,b.isStudy)(this._source)){const e=!this._source.isPine()||this._source.isStandardPine()?t.description:"Custom Pine";(0,h.trackEvent)("GUI","Study Properties",e)}let r={byId:{inputs:{title:(0,i.t)("Inputs"),Component:_},style:{title:(0,i.t)("Style"),Component:Qt}},allIds:[]};const s=new E.MetaInfoHelper(t);s.hasUserEditableInputs()&&r.allIds.push("inputs"),s.hasUserEditableProperties(),s.hasUserEditableStyles()&&r.allIds.push("style"),this._propertyPages||(r.byId.visibilities={title:(0,i.t)("Visibility"),page:this._createVisibilitiesPropertyPage()},r.allIds.push("visibilities")),r=this._getPagesForStudyLineTool(r);const o=e.initialTab||c.getValue(this._activeTabSettingsName())||"inputs";let u=(0,a.clean)(t.shortDescription,!0);l.render(n.createElement(P,{title:u,model:this._model,source:this._source,initialActiveTab:r.allIds.includes(o)?o:r.allIds[0],pages:r,onSubmit:this._handleSubmit,onCancel:this._handleCancel,onClose:this._handleClose,onActiveTabChanged:this._handleActiveTabChanged}),this._container),this._setVisibility(!0),d.emit("edit_object_dialog",{objectType:"study",scriptTitle:this._source.title()})}_createVisibilitiesPropertyPage(){const e=this._source.properties().childs().intervalsVisibilities.childs();return(0,Xt.createPropertyPage)((0,Jt.getIntervalsVisibilitiesPropertiesDefinitions)(this._model,e,new o.TranslatedString(this._source.name(!0),this._source.title(!0))),"visibility",(0,i.t)("Visibility"))}_activeTabSettingsName(){return"properties_dialog.active_tab.study"}_ensureCheckpoint(e){return void 0===e&&(e=this._model.createUndoCheckpoint()),e}_getPagesForStudyLineTool(e){if(this._propertyPages){const t=this._propertyPages.filter(e=>"coordinates"===e.id||"visibility"===e.id),r={allIds:t.map(e=>e.id),byId:t.reduce((e,t)=>({...e,[t.id]:{title:t.title,page:t}}),{})};return{allIds:[...e.allIds,...r.allIds],byId:{...e.byId,...r.byId}}}return e}_handleCollectionChanged(){null===this._timeout&&(this._timeout=setTimeout(()=>{this._closeDialogIfSourceIsDeleted(),this._timeout=null}))}_closeDialogIfSourceIsDeleted(){null===this._model.model().dataSourceForId(this._source.id())&&this._handleClose()}}},34290:(e,t,r)=>{"use strict";r.d(t,{StudyDefaultsManager:()=>u});var l=r(59496),n=r(97754),s=r.n(n),i=r(9745),o=r(28353),a=r(95276),c=r(16396),p=r(31328),d=r(84662);const h={reset:(0,o.t)("Reset settings"),saveAsDefault:(0,o.t)("Save as default"), -defaults:(0,o.t)("Defaults")};class u extends l.PureComponent{constructor(){super(...arguments),this._handleResetToDefaults=()=>{this.props.model.restorePropertiesForSource(this.props.source)},this._handleSaveAsDefaults=()=>{this.props.source.properties().saveDefaults()}}render(){const{mode:e}=this.props;return l.createElement(a.ControlDisclosure,{id:"study-defaults-manager",className:s()("normal"===e&&d.defaultsButtonText),hideArrowButton:"compact"===e,buttonChildren:this._getPlaceHolderItem("compact"===e)},l.createElement(c.PopupMenuItem,{className:d.defaultsButtonItem,isActive:!1,label:h.reset,onClick:this._handleResetToDefaults}),l.createElement(c.PopupMenuItem,{className:d.defaultsButtonItem,isActive:!1,label:h.saveAsDefault,onClick:this._handleSaveAsDefaults}))}_getPlaceHolderItem(e){return e?l.createElement(i.Icon,{className:d.defaultsButtonIcon,icon:p}):h.defaults}}},95275:(e,t,r)=>{"use strict";r.d(t,{FooterMenu:()=>d});var l=r(59496),n=r(28353),s=r(9745),i=r(95276),o=r(90692),a=r(85623),c=r(31328);function p(e){return e.isTabletWidth?l.createElement(s.Icon,{className:a.themesButtonIcon,icon:c}):l.createElement(l.Fragment,null,(0,n.t)("Template"))}function d(e){return l.createElement(o.MatchMedia,{rule:"screen and (max-width: 768px)"},t=>l.createElement(i.ControlDisclosure,{className:!t&&a.themesButtonText,hideArrowButton:t,buttonChildren:l.createElement(p,{isTabletWidth:t})},e.children))}},44e3:(e,t,r)=>{"use strict";r.d(t,{TemplateMenuItem:()=>c});var l=r(59496),n=r(16396),s=r(96040),i=r(70412),o=r(32563),a=r(85623);function c(e){const{name:t,onRemove:r,onClick:c}=e,[p,d]=(0,i.useHover)(),h=l.useCallback(()=>c(t),[c,t]),u=l.useCallback(()=>{r&&r(t)},[r,t]);return l.createElement("div",{...d},l.createElement(n.PopupMenuItem,{className:a.defaultsButtonItem,isActive:!1,label:t,onClick:h,toolbox:r&&l.createElement(s.RemoveButton,{hidden:!o.mobiletouch&&!p,onClick:u})}))}},37289:(e,t,r)=>{"use strict";r.d(t,{PropertiesEditorTab:()=>c});var l=r(59496),n=r(66849);const s={"Elliott Impulse Wave (12345)Degree":"normal","Elliott Triangle Wave (ABCDE)Degree":"normal","Elliott Triple Combo Wave (WXYXZ)Degree":"normal","Elliott Correction Wave (ABC)Degree":"normal","Elliott Double Combo Wave (WXY)Degree":"normal",BarsPatternMode:"normal",StudyInputSource:"normal"},i={TextText:"big",AnchoredTextText:"big",NoteText:"big",AnchoredNoteText:"big",CalloutText:"big",BalloonText:"big"};var o=r(35868),a=r(90545);function c(e){const{page:t,pageRef:r,tableKey:c}=e;return l.createElement(n.ControlCustomHeightContext.Provider,{value:i},l.createElement(n.ControlCustomWidthContext.Provider,{value:s},t&&l.createElement(o.PropertyTable,{reference:r,key:c},t.definitions.value().map(e=>l.createElement(a.Section,{key:e.id,definition:e})))))}},18460:(e,t,r)=>{"use strict";r.d(t,{FooterMenu:()=>a});var l=r(59496),n=(r(79049),r(28353)),s=r(95275),i=r(44e3);function o(e){const{model:t,source:r}=e;return l.createElement(s.FooterMenu,null,l.createElement(i.TemplateMenuItem,{onClick:function(){t.restorePropertiesForSource(r)},name:(0, -n.t)("Apply Defaults")}))}function a(e){return l.createElement(o,{...e})}},31807:(e,t,r)=>{"use strict";r.d(t,{DialogTabs:()=>m});var l=r(59496),n=r(97754),s=r(64205),i=r(40173),o=r(64886);const a=(0,i.mergeThemes)(s.DEFAULT_SLIDER_THEME,o);var c=r(39440),p=r(32563),d=r(42545);const h=d,u=(0,s.factory)((function(e){return l.createElement("div",{className:a.slider,ref:e.reference},l.createElement("div",{className:a.inner}))}));class m extends l.PureComponent{constructor(){super(...arguments),this._createClickHandler=e=>()=>{this.props.onSelect(e)}}render(){const{theme:e=h,hiddenBottomBorders:t,fadedSlider:r=!0,ScrollComponent:s=c.HorizontalScroll}=this.props,i=this._generateDialogTabs();return l.createElement("div",{className:n(e.scrollWrap)},!t&&l.createElement("div",{className:e.headerBottomSeparator}),l.createElement(s,{isVisibleFade:p.mobiletouch,isVisibleButtons:!p.mobiletouch,isVisibleScrollbar:!1,fadeClassName:n({[e.fadeWithoutSlider]:!r})},l.createElement("div",{className:e.tabsWrap},l.createElement(u,{className:n(e.tabs,t&&e.withoutBorder)},i))))}_generateDialogTabs(){const{activeTabId:e,tabs:t,theme:r=h}=this.props;return t.allIds.map(i=>{const o=e===i,a=t.byId[i].withNotificationsBadge;return l.createElement(s.SliderItem,{key:i,value:i,className:n(r.tab,!o&&r.withHover,a&&d.withBadge),isActive:o,onClick:this._createClickHandler(i)},t.byId[i].title)})}}},39440:(e,t,r)=>{"use strict";r.d(t,{HorizontalScroll:()=>f});var l=r(59496),n=r(97754),s=r(9837),i=r(88537),o=r(9745),a=r(59199),c=r(68587),p=r(62820),d=r(33086),h=r(41814);const u={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1};function m(e){return l.createElement("div",{className:n(h.fadeLeft,e.className,{[h.isVisible]:e.isVisible})})}function y(e){return l.createElement("div",{className:n(h.fadeRight,e.className,{[h.isVisible]:e.isVisible})})}function v(e){return l.createElement(b,{...e,className:h.scrollLeft})}function g(e){return l.createElement(b,{...e,className:h.scrollRight})}function b(e){return l.createElement("div",{className:n(e.className,{[h.isVisible]:e.isVisible}),onClick:e.onClick},l.createElement("div",{className:h.iconWrap},l.createElement(o.Icon,{icon:d,className:h.icon})))}const f=function(e=v,t=g,r=m,o=y){var d;return(d=class extends l.PureComponent{constructor(e){super(e),this._scroll=l.createRef(),this._wrapMeasureRef=l.createRef(),this._contentMeasureRef=l.createRef(),this._handleScrollLeft=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("left");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.max(0,this.currentPosition()-e))},this._handleScrollRight=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("right");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.min((this.state.widthContent||0)-(this.state.widthWrap||0),this.currentPosition()+e))},this._handleResizeWrap=e=>{this.props.onMeasureWrap&&this.props.onMeasureWrap(e),this.setState({widthWrap:e.width}),this._checkButtonsVisibility()}, -this._handleResizeContent=e=>{this.props.onMeasureContent&&this.props.onMeasureContent(e);const{shouldDecreaseWidthContent:t,buttonsWidthIfDecreasedWidthContent:r}=this.props;t&&r?this.setState({widthContent:e.width+2*r}):this.setState({widthContent:e.width})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtLeft(),this.isAtRight()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleLeftButton:e,isVisibleRightButton:t}=this.state,r=this.isAtLeft(),l=this.isAtRight();r||e?r&&e&&this.setState({isVisibleLeftButton:!1}):this.setState({isVisibleLeftButton:!0}),l||t?l&&t&&this.setState({isVisibleRightButton:!1}):this.setState({isVisibleRightButton:!0})},this.state={widthContent:0,widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1}}componentDidMount(){this._checkButtonsVisibility()}componentDidUpdate(e,t){t.widthWrap===this.state.widthWrap&&t.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())}currentPosition(){return this._scroll.current?(0,p.isRtl)()?(0,p.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0}isAtLeft(){return!this._isOverflowed()||this.currentPosition()<=(0,i.ensureDefined)(this.props.hideButtonsFrom)}isAtRight(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-(0,i.ensureDefined)(this.props.hideButtonsFrom)}animateTo(e,t=c.dur){const r=this._scroll.current;r&&((0,p.isRtl)()&&(e=(0,p.getLTRScrollLeftOffset)(r,e)),t<=0?r.scrollLeft=Math.round(e):(0,a.doAnimate)({onStep(e,t){r.scrollLeft=Math.round(t)},from:r.scrollLeft,to:Math.round(e),easing:c.easingFunc.easeInOutCubic,duration:t}))}render(){const{children:i,isVisibleScrollbar:a,isVisibleFade:c,isVisibleButtons:p,shouldMeasure:d,shouldDecreaseWidthContent:u,buttonsWidthIfDecreasedWidthContent:m,onMouseOver:y,onMouseOut:v,scrollWrapClassName:g,fadeClassName:b}=this.props,{isVisibleRightButton:f,isVisibleLeftButton:w}=this.state,C=u&&m;return l.createElement(s,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:d,ref:this._wrapMeasureRef},l.createElement("div",{className:h.wrapOverflow,onMouseOver:y,onMouseOut:v},l.createElement("div",{className:n(h.wrap,C?h.wrapWithArrowsOuting:"")},l.createElement("div",{className:n(h.scrollWrap,g,{[h.noScrollBar]:!a}),onScroll:this._handleScroll,ref:this._scroll},l.createElement(s,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:d,ref:this._contentMeasureRef},i)),c&&l.createElement(r,{isVisible:w,className:b}),c&&l.createElement(o,{isVisible:f,className:b}),p&&l.createElement(e,{onClick:this._handleScrollLeft,isVisible:w}),p&&l.createElement(t,{onClick:this._handleScrollRight,isVisible:f}))))}_isOverflowed(){const{widthContent:e,widthWrap:t}=this.state;return e>t}}).defaultProps=u,d}(v,g,m,y)},51613:(e,t,r)=>{"use strict";r.d(t,{PopupMenuSeparator:()=>o}) -;var l=r(59496),n=r(97754),s=r.n(n),i=r(524);function o(e){const{size:t="normal",className:r}=e;return l.createElement("div",{className:s()(i.separator,"small"===t&&i.small,"normal"===t&&i.normal,"large"===t&&i.large,r)})}},64205:(e,t,r)=>{"use strict";r.d(t,{DEFAULT_SLIDER_THEME:()=>o,SliderItem:()=>a,factory:()=>c});var l=r(59496),n=r(97754),s=r(88537),i=r(37740);const o=i;function a(e){const t=n(e.className,i.tab,{[i.active]:e.isActive,[i.disabled]:e.isDisabled,[i.defaultCursor]:!!e.shouldUseDefaultCursor,[i.noBorder]:!!e.noBorder});return l.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 l.PureComponent{constructor(){super(...arguments),this.activeTab={current:null}}componentDidUpdate(){(0,s.ensureNotNull)(this._slider).style.transition="transform 350ms",this._componentDidUpdate()}componentDidMount(){this._componentDidUpdate()}render(){const{className:t}=this.props,r=this._generateTabs();return l.createElement("div",{className:n(t,i.tabs),"data-name":this.props["data-name"]},r,l.createElement(e,{reference:e=>{this._slider=e}}))}_generateTabs(){return this.activeTab.current=null,l.Children.map(this.props.children,e=>{const t=e,r=Boolean(t.props.isActive),n={reference:e=>{r&&(this.activeTab.current=e),t.props.reference&&t.props.reference(e)}};return l.cloneElement(t,n)})}_componentDidUpdate(){const e=(0,s.ensureNotNull)(this._slider).style;if(this.activeTab.current){const t=this.activeTab.current.offsetWidth,r=this.activeTab.current.offsetLeft;e.transform=`translateX(${r}px)`,e.width=t+"px",e.opacity="1"}else e.opacity="0"}}}c((function(e){return l.createElement("div",{className:i.slider,ref:e.reference})}))},33086:e=>{e.exports=''},91596:e=>{e.exports=''},57614:e=>{e.exports=''},6220:e=>{e.exports=''},59903:e=>{e.exports=''},27708:e=>{e.exports=''},92578:e=>{ -e.exports=''},33665:e=>{e.exports=''},82397:e=>{e.exports=''},76046:e=>{e.exports=''},21760:e=>{e.exports=''},653:e=>{e.exports=''},18670:e=>{e.exports=''},99594:e=>{e.exports=''},8273:e=>{e.exports=''},28853:e=>{e.exports=''},79142:e=>{e.exports=''},40551:e=>{e.exports=''},76115:e=>{e.exports=''},84863:e=>{ -e.exports=''},86891:e=>{e.exports=''},5377:e=>{e.exports=''},85550:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/new-edit-object-dialog.fb0b794a73b3e6d05f6b.js b/charting_library/bundles/new-edit-object-dialog.fb0b794a73b3e6d05f6b.js new file mode 100644 index 00000000..b3908e22 --- /dev/null +++ b/charting_library/bundles/new-edit-object-dialog.fb0b794a73b3e6d05f6b.js @@ -0,0 +1,25 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6265],{26390:e=>{e.exports={switcher:"switcher-GT7Z98Io","disable-cursor-pointer":"disable-cursor-pointer-GT7Z98Io",input:"input-GT7Z98Io","thumb-wrapper":"thumb-wrapper-GT7Z98Io","size-small":"size-small-GT7Z98Io","size-large":"size-large-GT7Z98Io","intent-default":"intent-default-GT7Z98Io","disable-active-state-styles":"disable-active-state-styles-GT7Z98Io","intent-select":"intent-select-GT7Z98Io",track:"track-GT7Z98Io",thumb:"thumb-GT7Z98Io"}},31405:e=>{e.exports={wrapper:"wrapper-IbP2mmCe",hovered:"hovered-IbP2mmCe",labelRow:"labelRow-IbP2mmCe",label:"label-IbP2mmCe",labelHint:"labelHint-IbP2mmCe",labelOn:"labelOn-IbP2mmCe"}},20959:e=>{e.exports={smallStyleControl:"smallStyleControl-tMebfShj",additionalSelect:"additionalSelect-tMebfShj",childRowContainer:"childRowContainer-tMebfShj",defaultSelect:"defaultSelect-tMebfShj",defaultSelectItem:"defaultSelectItem-tMebfShj",block:"block-tMebfShj",group:"group-tMebfShj",wrapGroup:"wrapGroup-tMebfShj",textMarkGraphicBlock:"textMarkGraphicBlock-tMebfShj",textMarkGraphicWrapGroup:"textMarkGraphicWrapGroup-tMebfShj"}},942:e=>{e.exports={scrollable:"scrollable-pm9AiChK"}},84662:e=>{e.exports={defaultsButtonText:"defaultsButtonText-4BZduqY4",defaultsButtonItem:"defaultsButtonItem-4BZduqY4",defaultsButtonIcon:"defaultsButtonIcon-4BZduqY4"}},85623:e=>{e.exports={themesButtonText:"themesButtonText-KBqedPzF",themesButtonIcon:"themesButtonIcon-KBqedPzF",defaultsButtonText:"defaultsButtonText-KBqedPzF",defaultsButtonItem:"defaultsButtonItem-KBqedPzF"}},64886:e=>{e.exports={slider:"slider-Q7h4o6oW",inner:"inner-Q7h4o6oW"}},42545:e=>{e.exports={scrollWrap:"scrollWrap-VabV7Fn8",tabsWrap:"tabsWrap-VabV7Fn8",tabs:"tabs-VabV7Fn8",withoutBorder:"withoutBorder-VabV7Fn8",tab:"tab-VabV7Fn8",withHover:"withHover-VabV7Fn8",headerBottomSeparator:"headerBottomSeparator-VabV7Fn8",fadeWithoutSlider:"fadeWithoutSlider-VabV7Fn8",withBadge:"withBadge-VabV7Fn8"}},41814:e=>{e.exports={wrap:"wrap-sfzcrPlH",wrapWithArrowsOuting:"wrapWithArrowsOuting-sfzcrPlH",wrapOverflow:"wrapOverflow-sfzcrPlH",scrollWrap:"scrollWrap-sfzcrPlH",noScrollBar:"noScrollBar-sfzcrPlH",icon:"icon-sfzcrPlH",scrollLeft:"scrollLeft-sfzcrPlH",scrollRight:"scrollRight-sfzcrPlH",isVisible:"isVisible-sfzcrPlH",iconWrap:"iconWrap-sfzcrPlH",fadeLeft:"fadeLeft-sfzcrPlH",fadeRight:"fadeRight-sfzcrPlH"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},37740:e=>{e.exports={tabs:"tabs-rKFlMYkc",tab:"tab-rKFlMYkc",noBorder:"noBorder-rKFlMYkc",disabled:"disabled-rKFlMYkc",active:"active-rKFlMYkc",defaultCursor:"defaultCursor-rKFlMYkc",slider:"slider-rKFlMYkc",content:"content-rKFlMYkc"}},17946:(e,t,r)=>{"use strict";r.d(t,{CustomBehaviourContext:()=>l,presetDefault:()=>n,presetPlatform:()=>s});const l=(0,r(59496).createContext)({enablePointerOnHover:!0,enableActiveStateStyles:!0}),n={enableActiveStateStyles:!0,enablePointerOnHover:!0},s={enableActiveStateStyles:!1,enablePointerOnHover:!1}}, +17290:(e,t,r)=>{"use strict";r.d(t,{Switch:()=>c});var l=r(59496),n=r(97754),s=r(17946),i=r(26390),o=r.n(i);function a(e){const t=(0,l.useContext)(s.CustomBehaviourContext),{className:r,intent:i="default",size:a="small",enablePointerOnHover:c=t.enablePointerOnHover,enableActiveStateStyles:p=t.enableActiveStateStyles}=e;return n(r,o().switcher,o()["size-"+a],o()["intent-"+i],!c&&o()["disable-cursor-pointer"],!p&&o()["disable-active-state-styles"])}function c(e){const{reference:t,size:r,intent:n,...s}=e;return l.createElement("div",{className:a(e)},l.createElement("input",{...s,type:"checkbox",className:o().input,ref:t}),l.createElement("div",{className:o()["thumb-wrapper"]},l.createElement("div",{className:o().track}),l.createElement("div",{className:o().thumb})))}},59918:(e,t,r)=>{"use strict";r.d(t,{DEFAULT_MENU_ITEM_SWITCHER_THEME:()=>c,MenuItemSwitcher:()=>p});var l=r(59496),n=r(97754),s=r.n(n),i=r(17290),o=r(90186),a=r(31405);const c=a;function p(e){const{className:t,checked:r,id:n,label:c,labelDescription:p,value:d,preventLabelHighlight:h,reference:u,switchReference:m,theme:v=a,disabled:y}=e,g=s()(v.label,r&&!h&&v.labelOn),b=s()(t,v.wrapper,r&&v.wrapperWithOnLabel);return l.createElement("label",{className:b,htmlFor:n,ref:u},l.createElement("div",{className:v.labelRow},l.createElement("div",{className:g},c),p&&l.createElement("div",{className:v.labelHint},p)),l.createElement(i.Switch,{disabled:y,className:v.switch,reference:m,checked:r,onChange:function(t){const r=t.target.checked;void 0!==e.onChange&&e.onChange(r)},value:d,tabIndex:-1,id:n,...(0,o.filterDataProps)(e)}))}},80331:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createPropertyPage:()=>s});var l=r(52714),n=r.n(l);function s(e,t,r,l=null){var s;const i={id:t,title:r,definitions:new(n())(e.definitions),visible:null!==(s=e.visible)&&void 0!==s?s:new(n())(!0).readonly()};return null!==l&&(i.icon=l),i}},80975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getIntervalsVisibilitiesPropertiesDefinitions:()=>ce,getSelectionIntervalsVisibilitiesPropertiesDefinition:()=>pe});var l=r(28353),n=r(24980),s=r(67337),i=r(50366),o=r(52714),a=r.n(o),c=r(9315),p=r(37865),d=r(98222);const h=new n.TranslatedString("change {title} visibility on ticks",(0,l.t)("change {title} visibility on ticks")),u=new n.TranslatedString("change {title} visibility on seconds",(0,l.t)("change {title} visibility on seconds")),m=new n.TranslatedString("change {title} seconds from",(0,l.t)("change {title} seconds from")),v=new n.TranslatedString("change {title} seconds to",(0,l.t)("change {title} seconds to")),y=new n.TranslatedString("change {title} visibility on minutes",(0,l.t)("change {title} visibility on minutes")),g=new n.TranslatedString("change {title} minutes from",(0,l.t)("change {title} minutes from")),b=new n.TranslatedString("change {title} minutes to",(0,l.t)("change {title} minutes to")),f=new n.TranslatedString("change {title} visibility on hours",(0,l.t)("change {title} visibility on hours")),w=new n.TranslatedString("change {title} hours from",(0, +l.t)("change {title} hours from")),C=new n.TranslatedString("change {title} hours to",(0,l.t)("change {title} hours to")),S=new n.TranslatedString("change {title} visibility on days",(0,l.t)("change {title} visibility on days")),P=new n.TranslatedString("change {title} days from",(0,l.t)("change {title} days from")),T=new n.TranslatedString("change {title} days to",(0,l.t)("change {title} days to")),E=new n.TranslatedString("change {title} visibility on weeks",(0,l.t)("change {title} visibility on weeks")),_=new n.TranslatedString("change {title} weeks from",(0,l.t)("change {title} weeks from")),k=new n.TranslatedString("change {title} weeks to",(0,l.t)("change {title} weeks to")),x=new n.TranslatedString("change {title} visibility on months",(0,l.t)("change {title} visibility on months")),I=new n.TranslatedString("change {title} months from",(0,l.t)("change {title} months from")),L=new n.TranslatedString("change {title} months to",(0,l.t)("change {title} months to")),M=(new n.TranslatedString("change {title} visibility on ranges",(0,l.t)("change {title} visibility on ranges")),(0,l.t)("Ticks")),V=(0,l.t)("Seconds"),R=(0,l.t)("Minutes"),B=(0,l.t)("Hours"),D=(0,l.t)("Days"),N=(0,l.t)("Weeks"),W=(0,l.t)("Months"),z=((0,l.t)("Ranges"),new n.TranslatedString("ticks",(0,l.t)("ticks"))),F=new n.TranslatedString("seconds",(0,l.t)("seconds")),A=new n.TranslatedString("seconds from",(0,l.t)("seconds from")),H=new n.TranslatedString("seconds to",(0,l.t)("seconds to")),O=new n.TranslatedString("minutes",(0,l.t)("minutes")),G=new n.TranslatedString("minutes from",(0,l.t)("minutes from")),U=new n.TranslatedString("minutes to",(0,l.t)("minutes to")),j=new n.TranslatedString("hours",(0,l.t)("hours")),K=new n.TranslatedString("hours from",(0,l.t)("hours from")),Z=new n.TranslatedString("hours to",(0,l.t)("hours to")),q=new n.TranslatedString("days",(0,l.t)("days")),Y=new n.TranslatedString("days from",(0,l.t)("days from")),Q=new n.TranslatedString("days to",(0,l.t)("days to")),X=new n.TranslatedString("weeks",(0,l.t)("weeks")),$=new n.TranslatedString("weeks from",(0,l.t)("weeks from")),J=new n.TranslatedString("weeks to",(0,l.t)("weeks to")),ee=new n.TranslatedString("months",(0,l.t)("months")),te=new n.TranslatedString("months from",(0,l.t)("months from")),re=new n.TranslatedString("months to",(0,l.t)("months to")),le=(new n.TranslatedString("ranges",(0,l.t)("ranges")),[1,59]),ne=[1,59],se=[1,24],ie=[1,366],oe=[1,52],ae=[1,12];function ce(e,t,r){const l=[];if(s.enabled("tick_resolution")){const n=(0,i.createCheckablePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.ticks,h.format({title:r}))},{id:"IntervalsVisibilitiesTicks",title:M});l.push(n)}if((0,c.isSecondsEnabled)()){const n=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.seconds,u.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.secondsFrom,m.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.secondsTo,v.format({title:r}))},{id:"IntervalsVisibilitiesSecond",title:V,min:new(a())(le[0]), +max:new(a())(le[1])});l.push(n)}const n=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.minutes,y.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.minutesFrom,g.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.minutesTo,b.format({title:r}))},{id:"IntervalsVisibilitiesMinutes",title:R,min:new(a())(ne[0]),max:new(a())(ne[1])}),o=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.hours,f.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.hoursFrom,w.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.hoursTo,C.format({title:r}))},{id:"IntervalsVisibilitiesHours",title:B,min:new(a())(se[0]),max:new(a())(se[1])}),p=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.days,S.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.daysFrom,P.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.daysTo,T.format({title:r}))},{id:"IntervalsVisibilitiesDays",title:D,min:new(a())(ie[0]),max:new(a())(ie[1])});l.push(n,o,p);const d=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.weeks,E.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.weeksFrom,_.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.weeksTo,k.format({title:r}))},{id:"IntervalsVisibilitiesWeeks",title:N,min:new(a())(oe[0]),max:new(a())(oe[1])}),z=(0,i.createRangePropertyDefinition)({checked:(0,i.convertToDefinitionProperty)(e,t.months,x.format({title:r})),from:(0,i.convertToDefinitionProperty)(e,t.monthsFrom,I.format({title:r})),to:(0,i.convertToDefinitionProperty)(e,t.monthsTo,L.format({title:r}))},{id:"IntervalsVisibilitiesMonths",title:W,min:new(a())(ae[0]),max:new(a())(ae[1])});return l.push(d,z),{definitions:l}}function pe(e,t){const r=[];if(s.enabled("tick_resolution")){const l=(0,i.createCheckablePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.ticks),z,t)},{id:"IntervalsVisibilitiesTicks",title:M});r.push(l)}if((0,c.isSecondsEnabled)()){const l=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.seconds),F,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.secondsFrom),A,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.secondsTo),H,t)},{id:"IntervalsVisibilitiesSecond",title:V,min:new(a())(le[0]),max:new(a())(le[1])});r.push(l)}const l=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.minutes),O,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.minutesFrom),G,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.minutesTo),U,t)},{id:"IntervalsVisibilitiesMinutes",title:R,min:new(a())(ne[0]),max:new(a())(ne[1])}),n=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.hours),j,t), +from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.hoursFrom),K,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.hoursTo),Z,t)},{id:"IntervalsVisibilitiesHours",title:B,min:new(a())(se[0]),max:new(a())(se[1])}),o=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.days),q,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.daysFrom),Y,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.daysTo),Q,t)},{id:"IntervalsVisibilitiesDays",title:D,min:new(a())(ie[0]),max:new(a())(ie[1])});r.push(l,n,o);const h=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.weeks),X,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.weeksFrom),$,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.weeksTo),J,t)},{id:"IntervalsVisibilitiesWeeks",title:N,min:new(a())(oe[0]),max:new(a())(oe[1])}),u=(0,i.createRangePropertyDefinition)({checked:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.months),ee,t),from:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.monthsFrom),te,t),to:new d.CollectiblePropertyUndoWrapper(new p.LineToolCollectedProperty(e.monthsTo),re,t)},{id:"IntervalsVisibilitiesMonths",title:W,min:new(a())(ae[0]),max:new(a())(ae[1])});return r.push(h,u),{definitions:r}}},98222:(e,t,r)=>{"use strict";r.d(t,{CollectiblePropertyUndoWrapper:()=>c});var l=r(88537),n=r(28353),s=r(24980),i=r(2015),o=r.n(i);const a=new s.TranslatedString("change {propertyName} property",(0,n.t)("change {propertyName} property"));class c extends(o()){constructor(e,t,r){super(),this._isProcess=!1,this._listenersMappers=[],this._valueApplier={applyValue:(e,t)=>{this._propertyApplier.setProperty(e,t,a)}},this._baseProperty=e,this._propertyApplier=r,this._propertyName=t}destroy(){this._baseProperty.destroy()}value(){return this._baseProperty.value()}setValue(e,t){this._propertyApplier.beginUndoMacro(a.format({propertyName:this._propertyName})),this._isProcess=!0,this._baseProperty.setValue(e,void 0,this._valueApplier),this._isProcess=!1,this._propertyApplier.endUndoMacro(),this._listenersMappers.forEach(e=>{e.method.call(e.obj,this)})}subscribe(e,t){const r=()=>{this._isProcess||t.call(e,this)};this._listenersMappers.push({obj:e,method:t,callback:r}),this._baseProperty.subscribe(e,r)}unsubscribe(e,t){var r;const n=(0,l.ensureDefined)(null===(r=this._listenersMappers.find(r=>r.obj===e&&r.method===t))||void 0===r?void 0:r.callback);this._baseProperty.unsubscribe(e,n)}unsubscribeAll(e){this._baseProperty.unsubscribeAll(e)}}},73562:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditObjectDialogRenderer:()=>er});var l=r(87995),n=r(59496),s=r(88537),i=r(28353),o=r(24980),a=r(11372),c=r(56840),p=r(67337),d=r(76422),h=r(51768),u=r(31807),m=r(34290),v=r(50182),y=r(59064),g=r(86656),b=r(81851),f=r(37289),w=r(14291),C=r(18460),S=r(942) +;class P extends n.PureComponent{constructor(e){super(e),this._handleClose=e=>{(null==e?void 0:e.target)&&e.target.closest('[data-dialog-name="gopro"]')||this.props.onClose()},this._renderFooterLeft=e=>{const{source:t,model:r}=this.props;if((0,w.isLineTool)(t))return n.createElement(C.FooterMenu,{source:t,model:r});if((0,b.isStudy)(t))return n.createElement(m.StudyDefaultsManager,{model:r,source:t,mode:e?"compact":"normal"});throw new TypeError("Unsupported source type.")},this._handleSelect=e=>{this.setState({activeTabId:e},()=>{this._requestResize&&this._requestResize()}),this.props.onActiveTabChanged&&this.props.onActiveTabChanged(e)},this._handleScroll=()=>{y.globalCloseDelegate.fire()},this._handleSubmit=()=>{this.props.onSubmit(),this.props.onClose()};const{pages:t,initialActiveTab:r}=this.props;this.state={activeTabId:t.allIds.includes(r)?r:t.allIds[0]}}render(){const{title:e,onCancel:t,onClose:r}=this.props,{activeTabId:l}=this.state;return n.createElement(v.AdaptiveConfirmDialog,{dataName:"indicator-properties-dialog",title:e,isOpened:!0,onSubmit:this._handleSubmit,onCancel:t,onClickOutside:this._handleClose,onClose:r,footerLeftRenderer:this._renderFooterLeft,render:this._renderChildren(l),submitOnEnterKey:!1})}_renderChildren(e){return({requestResize:t})=>{this._requestResize=t;const{pages:r,source:l,model:s}=this.props,i=r.byId[e],o="Component"in i?void 0:i.page;return n.createElement(n.Fragment,null,n.createElement(u.DialogTabs,{activeTabId:e,onSelect:this._handleSelect,tabs:r}),n.createElement(g.TouchScrollContainer,{className:S.scrollable,onScroll:this._handleScroll},"Component"in i?n.createElement(i.Component,{source:l,model:s}):n.createElement(f.PropertiesEditorTab,{page:o,tableKey:e})))}}}var T=r(22855),E=r(56756);class _ extends n.PureComponent{constructor(e){super(e),this._properties=this.props.source.properties(),this._inputs=new E.MetaInfoHelper(this.props.source.metaInfo()).getUserEditableInputs()}render(){return n.createElement(T.InputsTabContent,{property:this._properties,model:this.props.model,study:this.props.source,inputs:this._inputs})}}var k=r(22064),x=r(50993),I=r(67072),L=r.n(I),M=r(87536),V=r(48100),R=r(463);const B=new o.TranslatedString("change visibility",(0,i.t)("change visibility"));class D extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{setValue:t}=this.context,{visible:r}=this.props;r&&(0,R.setPropertyValue)(r,r=>t(r,e,B))}}render(){const{id:e,title:t,visible:r,disabled:l}=this.props,s=(0,a.clean)((0,i.t)(t,{context:"input"}),!0);return n.createElement(V.BoolInputComponent,{label:s,disabled:l,input:{id:e,type:"bool",defval:!0,name:"visible"},value:!r||(0,R.getPropertyValue)(r),onChange:this._onChange})}}D.contextType=M.StylePropertyContext;var N=r(27547),W=r(51613),z=r(59918),F=r(94697),A=r(86891),H=r(84863),O=r(85550),G=r(5377),U=r(76115),j=r(40551),K=r(8273),Z=r(99594),q=r(79142),Y=r(28853);const Q={[x.LineStudyPlotStyle.Line]:{type:x.LineStudyPlotStyle.Line,order:0,icon:A,label:(0,i.t)("Line")},[x.LineStudyPlotStyle.LineWithBreaks]:{ +type:x.LineStudyPlotStyle.LineWithBreaks,order:1,icon:H,label:(0,i.t)("Line with breaks")},[x.LineStudyPlotStyle.StepLine]:{type:x.LineStudyPlotStyle.StepLine,order:2,icon:O,label:(0,i.t)("Step line")},[x.LineStudyPlotStyle.StepLineWithDiamonds]:{type:x.LineStudyPlotStyle.StepLineWithDiamonds,order:3,icon:G,label:(0,i.t)("Step line with diamonds")},[x.LineStudyPlotStyle.Histogram]:{type:x.LineStudyPlotStyle.Histogram,order:4,icon:U,label:(0,i.t)("Histogram")},[x.LineStudyPlotStyle.Cross]:{type:x.LineStudyPlotStyle.Cross,order:5,icon:j,label:(0,i.t)("Cross",{context:"chart_type"})},[x.LineStudyPlotStyle.Area]:{type:x.LineStudyPlotStyle.Area,order:6,icon:K,label:(0,i.t)("Area")},[x.LineStudyPlotStyle.AreaWithBreaks]:{type:x.LineStudyPlotStyle.AreaWithBreaks,order:7,icon:Z,label:(0,i.t)("Area with breaks")},[x.LineStudyPlotStyle.Columns]:{type:x.LineStudyPlotStyle.Columns,order:8,icon:q,label:(0,i.t)("Columns")},[x.LineStudyPlotStyle.Circles]:{type:x.LineStudyPlotStyle.Circles,order:9,icon:Y,label:(0,i.t)("Circles")}},X=Object.values(Q).sort((e,t)=>e.order-t.order).map(e=>({value:e.type,selectedContent:n.createElement(F.DisplayItem,{icon:e.icon}),content:n.createElement(F.DropItem,{icon:e.icon,label:e.label})})),$=(0,i.t)("Price line");class J extends n.PureComponent{render(){const{id:e,plotType:t,className:r,priceLine:l,plotTypeChange:s,priceLineChange:i,disabled:o}=this.props;if(!(t in Q))return null;const a={readonly:!0,content:n.createElement(n.Fragment,null,n.createElement(z.MenuItemSwitcher,{id:"PlotTypePriceLineSwitch",checked:l,label:$,preventLabelHighlight:!0,value:"priceLineSwitcher",onChange:i}),n.createElement(W.PopupMenuSeparator,null))};return n.createElement(F.IconDropdown,{id:e,disabled:o,className:r,hideArrowButton:!0,items:[a,...X],value:t,onChange:s})}}var ee=r(79946),te=r(20959);const re=new o.TranslatedString("change plot type",(0,i.t)("change plot type")),le=new o.TranslatedString("change price line visibility",(0,i.t)("change price line visibility"));class ne extends n.PureComponent{constructor(){super(...arguments),this._onPlotTypeChange=e=>{const{setValue:t}=this.context,{styleProp:{plottype:r}}=this.props;r&&t(r,e,re)},this._onPriceLineChange=e=>{const{setValue:t}=this.context,{styleProp:{trackPrice:r}}=this.props;r&&t(r,e,le)}}render(){const{id:e,paletteColor:t,paletteColorProps:r,styleProp:l,isLine:s,hasPlotTypeSelect:o,grouped:a,offset:c}=this.props,p=r.childs();return n.createElement(N.InputRow,{grouped:a,label:n.createElement("div",{className:te.childRowContainer},(0,i.t)(t.name,{context:"input"})),offset:c},n.createElement(ee.ColorWithThicknessSelect,{disabled:!l.visible.value(),color:p.color,transparency:l.transparency,thickness:s?p.width:void 0,isPaletteColor:!0}),s&&o&&l.plottype&&l.trackPrice?n.createElement(J,{id:(0,k.createDomId)(e,"plot-type-select"),disabled:!l.visible.value(),className:te.smallStyleControl,plotType:l.plottype.value(),priceLine:l.trackPrice.value(),plotTypeChange:this._onPlotTypeChange,priceLineChange:this._onPriceLineChange}):null)}} +ne.contextType=M.StylePropertyContext;var se=r(35868);class ie extends n.PureComponent{render(){const{plot:e,area:t,palette:r,paletteProps:l,hideVisibilitySwitch:i,styleProp:o,showOnlyTitle:a,showSeparator:c=!0,offset:p}=this.props,d=e?e.id:(0,s.ensureDefined)(t).id,h=!d.startsWith("fill")&&e&&(0,x.isLinePlot)(e);return n.createElement(n.Fragment,null,!i&&n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2,offset:p},a?n.createElement("div",null,t?t.title:o.title.value()):n.createElement(D,{id:d,title:t?t.title:o.title.value(),visible:o.visible}))),function(e,t,r,l,i,o){const a=t.colors,c=r.colors;return Object.keys(a).map((t,r)=>n.createElement(ne,{key:t,id:e,grouped:!0,paletteColor:(0,s.ensureDefined)(a[t]),paletteColorProps:(0,s.ensureDefined)(c[t]),styleProp:l,isLine:i,hasPlotTypeSelect:0===r,offset:o}))}(d,r,l,o,h,p),c&&n.createElement(se.PropertyTable.GroupSeparator,null))}}ie.contextType=M.StylePropertyContext;var oe=r(50890);const ae=new o.TranslatedString("change plot type",(0,i.t)("change plot type")),ce=new o.TranslatedString("change price line visibility",(0,i.t)("change price line visibility"));class pe extends n.PureComponent{constructor(){super(...arguments),this._onPlotTypeChange=e=>{const{setValue:t}=this.context,{property:{plottype:r}}=this.props;r&&t(r,e,ae)},this._onPriceLineChange=e=>{const{setValue:t}=this.context,{property:{trackPrice:r}}=this.props;r&&t(r,e,ce)}}render(){const{id:e,isRGB:t,isFundamental:r,property:{title:l,color:s,plottype:i,linewidth:o,transparency:a,trackPrice:c,visible:p}}=this.props;return n.createElement(N.InputRow,{label:n.createElement(D,{id:e,title:l.value(),visible:p})},t&&!r?this._getInputForRgb():n.createElement(ee.ColorWithThicknessSelect,{disabled:!p.value(),color:s,transparency:a,thickness:o}),n.createElement(J,{id:(0,k.createDomId)(e,"plot-type-select"),disabled:!p.value(),className:te.smallStyleControl,plotType:i.value(),priceLine:c.value(),plotTypeChange:this._onPlotTypeChange,priceLineChange:this._onPriceLineChange}))}_getInputForRgb(){const{id:e,showLineWidth:t,property:r}=this.props,{linewidth:l,visible:s}=r;return l&&t?n.createElement(oe.LineWidthSelect,{id:(0,k.createDomId)(e,"line-width-select"),property:l,disabled:!s.value()}):null}}pe.contextType=M.StylePropertyContext;const de=n.createContext(null);class he extends n.PureComponent{render(){const{id:e,isRGB:t,title:r,visible:l,color:s,transparency:i,thickness:o,children:a,switchable:c=!0,offset:p,grouped:d}=this.props;return n.createElement(N.InputRow,{label:c?n.createElement(D,{id:e,title:r,visible:l}):r,offset:p,grouped:d},t?null:n.createElement(ee.ColorWithThicknessSelect,{disabled:l&&!(Array.isArray(l)?l[0].value():l.value()),color:s,transparency:i,thickness:o}),a)}}he.contextType=M.StylePropertyContext;class ue extends n.PureComponent{render(){const{id:e,isRGB:t,property:{colorup:r,colordown:l,transparency:i,visible:o}}=this.props +;return n.createElement(de.Consumer,null,a=>n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2,grouped:!0},n.createElement(D,{id:e,title:Ge((0,s.ensureNotNull)(a),e),visible:o}))),!t&&n.createElement(n.Fragment,null,n.createElement(he,{id:e,title:We,color:r,transparency:i,visible:o,switchable:!1,offset:!0,grouped:!0}),n.createElement(he,{id:e,title:ze,color:l,transparency:i,visible:o,switchable:!1,offset:!0,grouped:!0})),n.createElement(se.PropertyTable.GroupSeparator,null)))}}ue.contextType=M.StylePropertyContext;var me=r(87795),ve=r.n(me),ye=r(97754),ge=r(31261),be=r(58368),fe=r(95936);const we={[fe.MarkLocation.AboveBar]:{value:fe.MarkLocation.AboveBar,content:(0,i.t)("Above bar"),order:0},[fe.MarkLocation.BelowBar]:{value:fe.MarkLocation.BelowBar,content:(0,i.t)("Below bar"),order:1},[fe.MarkLocation.Top]:{value:fe.MarkLocation.Top,content:(0,i.t)("Top"),order:2},[fe.MarkLocation.Bottom]:{value:fe.MarkLocation.Bottom,content:(0,i.t)("Bottom"),order:3},[fe.MarkLocation.Absolute]:{value:fe.MarkLocation.Absolute,content:(0,i.t)("Absolute"),order:4}},Ce=Object.values(we).sort((e,t)=>e.order-t.order);class Se extends n.PureComponent{render(){const{id:e,shapeLocation:t,className:r,menuItemClassName:l,shapeLocationChange:s,disabled:i}=this.props;return n.createElement(be.Select,{id:e,disabled:i,className:r,menuItemClassName:l,items:Ce,value:t,onChange:s})}}const Pe=new o.TranslatedString("change char",(0,i.t)("change char")),Te=new o.TranslatedString("change location",(0,i.t)("change location"));class Ee extends n.PureComponent{constructor(){super(...arguments),this._onCharChange=e=>{const{setValue:t}=this.context,r=e.currentTarget.value.trim(),l=ve()(r),n=0===l.length?"":l[l.length-1],{property:{char:s}}=this.props;t(s,n,Pe)},this._onLocationChange=e=>{const{setValue:t}=this.context,{property:{location:r}}=this.props;t(r,e,Te)}}render(){const{id:e,isRGB:t,property:{title:r,color:l,transparency:s,char:i,location:o,visible:a},hasPalette:c}=this.props;return n.createElement(N.InputRow,{grouped:c,label:n.createElement(D,{id:e,title:r.value(),visible:a})},!c&&!t&&n.createElement(ee.ColorWithThicknessSelect,{disabled:!a.value(),color:l,transparency:s}),n.createElement(ge.InputControl,{disabled:!a.value(),className:te.smallStyleControl,value:i.value(),onChange:this._onCharChange}),n.createElement(Se,{id:(0,k.createDomId)(e,"shape-style-select"),disabled:!a.value(),className:ye(te.defaultSelect,te.additionalSelect),menuItemClassName:te.defaultSelectItem,shapeLocation:o.value(),shapeLocationChange:this._onLocationChange}))}}Ee.contextType=M.StylePropertyContext;var _e=r(56138);const ke={arrow_down:r(91596),arrow_up:r(57614),circle:r(6220),cross:r(59903),diamond:r(27708),flag:r(92578),label_down:r(33665),label_up:r(82397),square:r(76046),triangle_down:r(21760),triangle_up:r(653),x_cross:r(18670)};function xe(e){return ke[e]}const Ie=[];Object.keys(_e.plotShapesData).forEach(e=>{const t=_e.plotShapesData[e];Ie.push({id:t.id,value:t.id, +selectedContent:n.createElement(F.DisplayItem,{icon:xe(t.icon)}),content:n.createElement(F.DropItem,{icon:xe(t.icon),label:t.guiName})})});class Le extends n.PureComponent{render(){const{id:e,shapeStyleId:t,className:r,shapeStyleChange:l,disabled:s}=this.props;return n.createElement(F.IconDropdown,{id:e,disabled:s,className:r,hideArrowButton:!0,items:Ie,value:t,onChange:l})}}const Me=new o.TranslatedString("change shape",(0,i.t)("change shape")),Ve=new o.TranslatedString("change location",(0,i.t)("change location"));class Re extends n.PureComponent{constructor(){super(...arguments),this._onPlotTypeChange=e=>{const{setValue:t}=this.context,{property:{plottype:r}}=this.props;t(r,e,Me)},this._onLocationChange=e=>{const{setValue:t}=this.context,{property:{location:r}}=this.props;t(r,e,Ve)}}render(){const{id:e,isRGB:t,hasPalette:r,property:{title:l,color:s,transparency:i,plottype:o,location:a,visible:c}}=this.props;return n.createElement(N.InputRow,{grouped:r,label:n.createElement(D,{id:e,title:l.value(),visible:c})},!r&&!t&&n.createElement(ee.ColorWithThicknessSelect,{disabled:!c.value(),color:s,transparency:i}),n.createElement(Le,{id:(0,k.createDomId)(e,"shape-style-select"),disabled:!c.value(),className:te.smallStyleControl,shapeStyleId:o.value(),shapeStyleChange:this._onPlotTypeChange}),n.createElement(Se,{id:(0,k.createDomId)(e,"shape-location-select"),disabled:!c.value(),className:ye(te.defaultSelect,te.additionalSelect),menuItemClassName:te.defaultSelectItem,shapeLocation:a.value(),shapeLocationChange:this._onLocationChange}))}}Re.contextType=M.StylePropertyContext;var Be=r(98125),De=r(32255);const Ne=(0,Be.getLogger)("Chart.Study.PropertyPage"),We=(0,i.t)("Up"),ze=(0,i.t)("Down"),Fe=(0,i.t)("Body"),Ae=(0,i.t)("Wick"),He=(0,i.t)("Border");class Oe extends n.PureComponent{render(){const{plot:e,palettes:t,study:r}=this.props,l=e.id,s=r.properties().styles[l],i=e.type,o=t.main,a=!!r.metaInfo().isRGB;if("line"===i||"bar_colorer"===i||"bg_colorer"===i)return o&&o.palette&&o.paletteProps?n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,styleProp:s}):n.createElement(pe,{id:l,property:s,isRGB:a,isFundamental:!1,showLineWidth:"line"===i});if("arrows"===i){const i=this._getPlotSwitch(l,Ge(r,l),s.visible);if(a)return i;const o=t.up,c=t.down;return o||c?n.createElement(n.Fragment,null,i,o&&o.palette&&o.paletteProps?n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,styleProp:{...s,title:(0,De.createPrimitiveProperty)(We)},showSeparator:!1,showOnlyTitle:!0,offset:!0}):n.createElement(he,{id:l,isRGB:a,title:We,color:s.colorup,visible:s.visible,transparency:s.transparency,switchable:!1,grouped:!0,offset:!0}),c&&c.palette&&c.paletteProps?n.createElement(ie,{plot:e,palette:c.palette,paletteProps:c.paletteProps,styleProp:{...s,title:(0,De.createPrimitiveProperty)(ze)},showSeparator:!1,showOnlyTitle:!0,offset:!0}):n.createElement(he,{id:l,isRGB:a,title:ze,color:s.colordown,visible:s.visible,transparency:s.transparency,switchable:!1,grouped:!0,offset:!0 +}),n.createElement(se.PropertyTable.GroupSeparator,null)):n.createElement(ue,{id:l,property:s,isRGB:a,plot:e,palettes:t,styleProp:s})}if("chars"===i||"shapes"===i)return n.createElement(n.Fragment,null,"chars"===i?n.createElement(Ee,{id:l,property:s,hasPalette:Boolean(o&&o.palette),isRGB:a}):n.createElement(Re,{id:l,property:s,hasPalette:Boolean(o&&o.palette),isRGB:a}),o&&o.palette&&o.paletteProps&&n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,hideVisibilitySwitch:!0,styleProp:s}));if((0,x.isOhlcPlot)(e)){const s=e.target,i=r.properties().ohlcPlots[s],c=this._getPlotSwitch(l,i.title.value(),i.visible);if(a)return c;const p=t.wick&&t.wick.palette&&t.wick.paletteProps,d=t.border&&t.border.palette&&t.border.paletteProps;return n.createElement(n.Fragment,null,c,o&&o.palette&&o.paletteProps?n.createElement(ie,{plot:e,palette:o.palette,paletteProps:o.paletteProps,styleProp:{...i,title:(0,De.createPrimitiveProperty)(Fe)},showSeparator:!1,showOnlyTitle:!0,offset:!0}):n.createElement(he,{id:l,isRGB:a,title:Fe,visible:i.visible,color:i.color,transparency:i.transparency,switchable:!1,grouped:!0,offset:!0}),t.wick&&t.wick.palette&&t.wick.paletteProps&&n.createElement(ie,{plot:e,palette:t.wick.palette,paletteProps:t.wick.paletteProps,styleProp:{...i,title:(0,De.createPrimitiveProperty)(Ae)},showSeparator:!1,showOnlyTitle:!0,offset:!0}),Boolean(!p&&i.wickColor)&&n.createElement(he,{id:l,isRGB:a,title:Ae,visible:i.visible,color:i.wickColor,transparency:i.transparency,switchable:!1,grouped:!0,offset:!0}),t.border&&t.border.palette&&t.border.paletteProps&&n.createElement(ie,{plot:e,palette:t.border.palette,paletteProps:t.border.paletteProps,styleProp:{...i,title:(0,De.createPrimitiveProperty)(He)},showSeparator:!1,showOnlyTitle:!0,offset:!0}),Boolean(!d&&i.borderColor)&&n.createElement(he,{id:l,isRGB:a,title:He,visible:i.visible,color:i.borderColor,transparency:i.transparency,switchable:!1,grouped:!0,offset:!0}),n.createElement(se.PropertyTable.GroupSeparator,null))}return Ne.logError("Unknown plot type: "+i),null}_getPlotSwitch(e,t,r){return n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:e,title:t,visible:r})))}}function Ge(e,t){const r=(0,s.ensureDefined)(e.metaInfo().styles),{title:l}=(0,s.ensureDefined)(r[t]);return(0,s.ensureDefined)(l)}var Ue=r(48948),je=r(53598);const Ke=new o.TranslatedString("change line style",(0,i.t)("change line style"));class Ze extends n.PureComponent{constructor(){super(...arguments),this._onLineStyleChange=e=>{const{setValue:t}=this.context,{lineStyle:r}=this.props;(0,R.setPropertyValue)(r,r=>t(r,e,Ke))}}render(){const{lineStyle:e,...t}=this.props;return n.createElement(je.LineStyleSelect,{...t,lineStyle:(0,R.getPropertyValue)(e),lineStyleChange:this._onLineStyleChange})}}Ze.contextType=M.StylePropertyContext;const qe=new o.TranslatedString("change value",(0,i.t)("change value"));class Ye extends n.PureComponent{constructor(){super(...arguments),this._onValueChange=e=>{ +const{setValue:t}=this.context,{value:r}=this.props.property;t(r,e,qe)}}render(){const{id:e,property:{name:t,color:r,linestyle:l,linewidth:s,transparency:i,value:o,visible:a}}=this.props;return n.createElement(N.InputRow,{labelAlign:"adaptive",label:n.createElement(D,{id:e,title:t.value(),visible:a})},n.createElement("div",{className:te.block},n.createElement("div",{className:te.group},n.createElement(ee.ColorWithThicknessSelect,{disabled:!a.value(),color:r,transparency:i,thickness:s}),n.createElement(Ze,{id:(0,k.createDomId)(e,"line-style-select"),disabled:!a.value(),className:te.smallStyleControl,lineStyle:l})),n.createElement("div",{className:ye(te.wrapGroup,te.defaultSelect,te.additionalSelect)},n.createElement(Ue.FloatInputComponent,{input:{id:"",name:"",type:"float",defval:0},value:o.value(),disabled:!a.value(),onChange:this._onValueChange}))))}}Ye.contextType=M.StylePropertyContext;class Qe extends n.PureComponent{render(){const{orders:{visible:e,showLabels:t,showQty:r}}=this.props;return n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"chart-orders-switch",title:(0,i.t)("Trades on chart"),visible:e}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"chart-orders-labels-switch",title:(0,i.t)("Signal labels"),visible:t}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"chart-orders-qty-switch",title:(0,i.t)("Quantity"),visible:r}))))}}Qe.contextType=M.StylePropertyContext;var Xe=r(95018),$e=r(26007);const Je=new o.TranslatedString("change percent width",(0,i.t)("change percent width")),et=new o.TranslatedString("change placement",(0,i.t)("change placement")),tt=new o.TranslatedString("change values visibility",(0,i.t)("change values visibility")),rt=[{value:Xe.HHistDirection.LeftToRight,content:(0,i.t)("Left")},{value:Xe.HHistDirection.RightToLeft,content:(0,i.t)("Right")}],lt=(0,i.t)("Width (% of the box)"),nt=(0,i.t)("Placement"),st=(0,i.t)("Values"),it=(0,i.t)("Text color");class ot extends n.PureComponent{constructor(){super(...arguments),this._onPercentWidthChange=e=>{const{setValue:t}=this.context,{percentWidth:r}=this.props.property.childs();t(r,e,Je)},this._onPlacementChange=e=>{const{setValue:t}=this.context,{direction:r}=this.props.property.childs();t(r,e,et)},this._onShowValuesChange=e=>{const{setValue:t}=this.context,{showValues:r}=this.props.property.childs();t(r,e,tt)}}render(){const{title:e,percentWidth:t,direction:r,showValues:l,valuesColor:s,visible:i}=this.props.property.childs();return n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2,grouped:!0},n.createElement(D,{id:e.value(),title:e.value(),visible:i}))),n.createElement(N.InputRow,{label:n.createElement("div",{className:te.childRowContainer},lt),grouped:!0 +},n.createElement($e.IntegerInputComponent,{input:{id:"",name:"",type:"integer",defval:0},value:t.value(),disabled:!i.value(),onChange:this._onPercentWidthChange})),n.createElement(N.InputRow,{label:n.createElement("div",{className:te.childRowContainer},nt),grouped:!0},n.createElement(be.Select,{id:"hhist-graphic-placement-select",disabled:!i.value(),className:te.defaultSelect,menuItemClassName:te.defaultSelectItem,items:rt,value:r.value(),onChange:this._onPlacementChange})),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{className:te.childRowContainer,placement:"first",colSpan:2,grouped:!0},n.createElement(V.BoolInputComponent,{label:st,input:{id:e.value()+"_showValues",type:"bool",defval:!0,name:"visible"},value:!l||l.value(),disabled:!i.value(),onChange:this._onShowValuesChange}))),n.createElement(N.InputRow,{label:n.createElement("div",{className:te.childRowContainer},it),grouped:!0},n.createElement(ee.ColorWithThicknessSelect,{disabled:i&&!i.value(),color:s})),this._renderColors(),n.createElement(se.PropertyTable.GroupSeparator,null))}_renderColors(){const{colors:e,titles:t,transparencies:r,visible:l}=this.props.property.childs();return e.childNames().map(s=>n.createElement(N.InputRow,{key:s,grouped:!0,label:n.createElement("div",{className:te.childRowContainer},t.childs()[s].value())},n.createElement(ee.ColorWithThicknessSelect,{disabled:!l.value(),color:e.childs()[s],transparency:r.childs()[s]})))}}ot.contextType=M.StylePropertyContext;class at extends n.PureComponent{render(){const{title:e}=this.props,{color:t,transparency:r,width:l,style:s,visible:i}=this.props.property.childs();return n.createElement(N.InputRow,{label:n.createElement(D,{id:e.value(),title:e.value(),visible:i})},n.createElement(ee.ColorWithThicknessSelect,{disabled:!i.value(),color:t,transparency:r,thickness:l}),n.createElement(Ze,{id:(0,k.createDomId)(e.value(),"line-style-select"),disabled:!i.value(),className:te.smallStyleControl,lineStyle:s}))}}at.contextType=M.StylePropertyContext;class ct extends n.PureComponent{render(){const{graphicType:e,study:t}=this.props,r=t.metaInfo().graphics,l=t.properties().graphics,i=(0,s.ensureDefined)(r[e]);return Object.keys(i).map((t,r)=>{const s=l[e][t];return"horizlines"===e||"vertlines"===e||"lines"===e?n.createElement(at,{key:t,title:"lines"===e?s.title:s.name,property:s}):"hhists"===e?n.createElement(ot,{key:t,property:s}):null})}}var pt=r(66045);const dt=new o.TranslatedString("change font size",(0,i.t)("change font size")),ht=[10,11,12,14,16,20,24,28,32,40].map(e=>({value:e,title:e.toString()}));class ut extends n.PureComponent{constructor(){super(...arguments),this._onFontSizeChange=e=>{const{setValue:t}=this.context,{fontSize:r}=this.props;t(r,e,dt)}}render(){const{fontSize:e,...t}=this.props;return n.createElement(pt.FontSizeSelect,{...t,fontSizes:ht,fontSize:e.value(),fontSizeChange:this._onFontSizeChange})}}ut.contextType=M.StylePropertyContext;const mt=new o.TranslatedString("change visibility",(0,i.t)("change visibility")),vt=(0,i.t)("Labels font"),yt=(0, +i.t)("Labels"),gt={Traditional:new Set(["S5/R5","S4/R4","S3/R3","S2/R2","S1/R1","P"]),Fibonacci:new Set(["S3/R3","S2/R2","S1/R1","P"]),Woodie:new Set(["S4/R4","S3/R3","S2/R2","S1/R1","P"]),Classic:new Set(["S4/R4","S3/R3","S2/R2","S1/R1","P"]),DM:new Set(["S1/R1","P"]),DeMark:new Set(["S1/R1","P"]),Camarilla:new Set(["S4/R4","S3/R3","S2/R2","S1/R1","P"])};class bt extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{setValue:t}=this.context,{levelsStyle:r}=this.props.property.childs(),{showLabels:l}=r.childs();t(l,e,mt)}}render(){const{fontsize:e,levelsStyle:t}=this.props.property.childs();return n.createElement(n.Fragment,null,n.createElement(N.InputRow,{labelAlign:"adaptive",label:n.createElement("span",null,vt)},n.createElement("div",{className:te.block},n.createElement("div",{className:ye(te.wrapGroup,te.additionalSelect)},n.createElement(ut,{id:"pivot-points-standard-font-size-select",fontSize:e})))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(V.BoolInputComponent,{label:yt,input:{id:"ShowLabels",type:"bool",defval:!0,name:"visible"},value:t.childs().showLabels.value(),onChange:this._onChange}))),this._renderColors())}_renderColors(){const{levelsStyle:e,inputs:t}=this.props.property.childs(),{colors:r,widths:l,visibility:i}=e.childs(),{kind:o}=t.childs(),a=(0,s.ensureDefined)(gt[o.value()]);return r.childNames().filter(e=>a.has(e)).map(e=>n.createElement(he,{key:e,id:e,title:e,color:r.childs()[e],visible:i.childs()[e],thickness:l.childs()[e]}))}}bt.contextType=M.StylePropertyContext;const ft=new o.TranslatedString("change visibility",(0,i.t)("change visibility")),wt=(0,i.t)("Volume profile"),Ct=(0,i.t)("Values"),St=(0,i.t)("Width (% of the box)"),Pt=(0,i.t)("Placement"),Tt=(0,i.t)("Developing VA"),Et=(0,i.t)("Values in status line"),_t=(0,i.t)("Labels on price scale"),kt=[{value:Xe.HHistDirection.RightToLeft,content:(0,i.t)("Right")},{value:Xe.HHistDirection.LeftToRight,content:(0,i.t)("Left")}];class xt extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{this._setHhistsProperty("visible",e)},this._onShowValuesChange=e=>{this._setHhistsProperty("showValues",e)},this._onValueChange=e=>{this._setHhistsProperty("percentWidth",e)},this._onDirectionChange=e=>{this._setHhistsProperty("direction",e)}}render(){var e,t,r,l,o,a;const{metaInfo:c}=this.props,{graphics:p,styles:d,showLabelsOnPriceScale:h,showLegendValues:u}=this.props.property.childs(),{hhists:m,horizlines:v,polygons:y}=p.childs(),g=(0, +s.ensureDefined)(c.graphics.hhists),b=Object.keys(g),f=m.childs()[b[0]],w=f.childs().visible,C=b.map(e=>m.childs()[e].childs().showValues),S=f.childs().percentWidth,P=f.childs().direction,T=b.map(e=>m.childs()[e].childs().valuesColor),E=null===(e=v.childs())||void 0===e?void 0:e.vahLines,_=null===(t=c.graphics.horizlines)||void 0===t?void 0:t.vahLines,k=null===(r=v.childs())||void 0===r?void 0:r.valLines,x=null===(l=c.graphics.horizlines)||void 0===l?void 0:l.valLines,I=v.childs().pocLines,L=(0,s.ensureDefined)(null===(o=c.graphics.horizlines)||void 0===o?void 0:o.pocLines),M=d.childs().developingPoc,R=(0,s.ensureDefined)(null===(a=c.styles)||void 0===a?void 0:a.developingPoc),B=d.childs().developingVAHigh,W=d.childs().developingVALow,z=c.graphics.polygons&&c.graphics.polygons.histBoxBg;return n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(V.BoolInputComponent,{label:wt,input:{id:"VolumeProfile",type:"bool",defval:!0,name:"visible"},value:w.value(),onChange:this._onChange}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first"},n.createElement("div",{className:te.childRowContainer},n.createElement(V.BoolInputComponent,{disabled:!w.value(),label:Ct,input:{id:"ShowValues",type:"bool",defval:!0,name:"visible"},value:C[0].value(),onChange:this._onShowValuesChange}))),n.createElement(se.PropertyTable.Cell,{placement:"last"},n.createElement(ee.ColorWithThicknessSelect,{disabled:!w.value()||!C[0].value(),color:T}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first"},n.createElement("div",{className:te.childRowContainer},St)),n.createElement(se.PropertyTable.Cell,{placement:"last"},n.createElement($e.IntegerInputComponent,{disabled:!w.value(),input:{id:"",name:"",type:"integer",defval:0},value:S.value(),onChange:this._onValueChange}))),n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.Cell,{placement:"first"},n.createElement("div",{className:te.childRowContainer},Pt)),n.createElement(se.PropertyTable.Cell,{placement:"last"},n.createElement(be.Select,{id:"hhist-direction-select",disabled:!w.value(),className:te.defaultSelect,menuItemClassName:te.defaultSelectItem,items:kt,value:P.value(),onChange:this._onDirectionChange}))),b.map(e=>n.createElement(n.Fragment,{key:e},m.childs()[e].childs().colors.childNames().map((t,r)=>{const l=g[e];return n.createElement(N.InputRow,{key:r,label:n.createElement("div",{className:te.childRowContainer},l&&(0,i.t)(l.titles[r])||"")},n.createElement(ee.ColorWithThicknessSelect,{disabled:!w.value(),color:m.childs()[e].childs().colors.childs()[r],transparency:m.childs()[e].childs().transparencies.childs()[r]}))}))),_&&E&&n.createElement(he,{id:"vahLines",title:_.name,color:E.childs().color,visible:E.childs().visible,thickness:E.childs().width},n.createElement(Ze,{id:"vah-lines-line-style-select",disabled:!E.childs().visible.value(),className:te.smallStyleControl, +lineStyle:E.childs().style})),x&&k&&n.createElement(he,{id:"valLines",title:x.name,color:k.childs().color,visible:k.childs().visible,thickness:k.childs().width},n.createElement(Ze,{id:"val-lines-line-style-select",disabled:!k.childs().visible.value(),className:te.smallStyleControl,lineStyle:k.childs().style})),n.createElement(he,{id:"pocLines",title:L.name,color:I.childs().color,visible:I.childs().visible,thickness:I.childs().width},n.createElement(Ze,{id:"poc-lines-line-style-select",disabled:!I.childs().visible.value(),className:te.smallStyleControl,lineStyle:I.childs().style})),M&&n.createElement(he,{id:"developingPoc",title:R.title&&(0,i.t)(R.title)||"",color:M.childs().color,visible:M.childs().visible,thickness:M.childs().linewidth},n.createElement(Ze,{id:"developing-poc-line-style-select",disabled:!M.childs().visible.value(),className:te.smallStyleControl,lineStyle:M.childs().linestyle})),B&&W&&n.createElement(he,{id:"developingPoc",title:Tt,color:[B.childs().color,W.childs().color],visible:[B.childs().visible,W.childs().visible],thickness:[B.childs().linewidth,W.childs().linewidth]},n.createElement(Ze,{id:"developing-VA-line-style-select",disabled:!B.childs().visible.value()&&!W.childs().visible.value(),className:te.smallStyleControl,lineStyle:[B.childs().linestyle,W.childs().linestyle]})),y&&n.createElement(N.InputRow,{label:n.createElement("div",null,z&&(0,i.t)(z.name)||"")},n.createElement(ee.ColorWithThicknessSelect,{color:y.childs().histBoxBg.childs().color,transparency:y.childs().histBoxBg.childs().transparency})),"VbPFixed"!==c.shortId&&n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLabelsOnPriceScale",title:_t,visible:h})),n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLegendValues",title:Et,visible:u}))))}_setHhistsProperty(e,t){const{setValue:r}=this.context,{metaInfo:l,property:n}=this.props,i=n.childs().graphics.childs().hhists,o=Object.keys((0,s.ensureDefined)(l.graphics.hhists));for(let l=0;ln.createElement(M.StylePropertyContainer,{property:(0,s.ensureNotNull)(t).properties(),model:e},n.createElement(se.PropertyTable,null,this._renderCustomContent((0,s.ensureNotNull)(t).metaInfo().shortId))))}_renderCustomContent(e){if(e in Mt){const t=Mt[e];return n.createElement(t,null)}return null}}Vt.contextType=Lt.ModelContext;var Rt=r(37701);const Bt=new o.TranslatedString("change precision",(0, +i.t)("change precision")),Dt=(0,i.t)("Default"),Nt=(0,i.t)("Precision"),Wt=[{value:"default",content:Dt}];for(let e=0;e<=8;e++)Wt.push({value:e,content:e.toString()});class zt extends n.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{setValue:t}=this.context,{precision:r}=this.props;t(r,e,Bt)}}render(){const{id:e,precision:t}=this.props;return n.createElement(N.InputRow,{label:Nt},n.createElement(be.Select,{id:e,className:te.defaultSelect,menuItemClassName:te.defaultSelectItem,items:Wt,value:t.value(),onChange:this._onChange}))}}zt.contextType=M.StylePropertyContext;const Ft=new o.TranslatedString("change min tick",(0,i.t)("change min tick")),At=(0,i.t)("Default"),Ht=(0,i.t)("Override min tick"),Ot=[{priceScale:1,minMove:1,frac:!1},{priceScale:10,minMove:1,frac:!1},{priceScale:100,minMove:1,frac:!1},{priceScale:1e3,minMove:1,frac:!1},{priceScale:1e4,minMove:1,frac:!1},{priceScale:1e5,minMove:1,frac:!1},{priceScale:1e6,minMove:1,frac:!1},{priceScale:1e7,minMove:1,frac:!1},{priceScale:1e8,minMove:1,frac:!1},{priceScale:2,minMove:1,frac:!0},{priceScale:4,minMove:1,frac:!0},{priceScale:8,minMove:1,frac:!0},{priceScale:16,minMove:1,frac:!0},{priceScale:32,minMove:1,frac:!0},{priceScale:64,minMove:1,frac:!0},{priceScale:128,minMove:1,frac:!0},{priceScale:320,minMove:1,frac:!0}],Gt=[{id:"tick-default",value:"default",content:At}];for(let e=0;e{const{setValue:t}=this.context,{minTick:r}=this.props;t(r,e,Ft)}}render(){const{id:e,minTick:t}=this.props;return n.createElement(N.InputRow,{label:Ht},n.createElement(be.Select,{id:e,className:te.defaultSelect,menuItemClassName:te.defaultSelectItem,items:Gt,value:t.value(),onChange:this._onChange}))}}Ut.contextType=M.StylePropertyContext;var jt=r(72280),Kt=r(86067);const Zt=(0,i.t)("Outputs");class qt extends n.PureComponent{constructor(){super(...arguments),this._findPlotPalettes=e=>{const{study:t}=this.props,r=t.metaInfo(),l=(0,s.ensureDefined)(r.palettes);return(0,x.isBarColorerPlot)(e)||(0,x.isBgColorerPlot)(e)?{main:{palette:l[e.palette],paletteProps:t.properties().palettes[e.palette]}}:this._findPalettesByTargetId(e.id)}}render(){const{study:e}=this.props,t=e.metaInfo();if((0,Rt.isCustomStudy)(t.shortId))return n.createElement(Vt,null);const r=e.properties(),{precision:l,strategy:s,minTick:i,showLabelsOnPriceScale:o,showLegendValues:a}=r,c=t.plots.length>0,p=t.plots.some(e=>!(0,x.isPlotWithTechnicalValues)(e)),d=c||t.inputs.some(e=>"price"===e.type),h=(0,jt.createAdapter)(e).canOverrideMinTick();return n.createElement(se.PropertyTable,null,this._plotsElement(),this._bandsElement(),this._bandsBackgroundsElement(),this._areasBackgroundsElement(),this._filledAreasElement(),this._graphicsElement(),h&&n.createElement(Ut,{id:(0,k.createDomId)(t.id,"min-tick-select"),minTick:i}),L().isScriptStrategy(t)&&n.createElement(Qe,{orders:s.orders +}),(d||p)&&n.createElement(se.PropertyTable.Row,null,n.createElement(se.PropertyTable.GroupSeparator,{size:1}),n.createElement(Kt.GroupTitleSection,{title:Zt,name:Zt}),d&&n.createElement(zt,{id:(0,k.createDomId)(t.id,"precision-select"),precision:l}),p&&n.createElement(n.Fragment,null,n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLabelsOnPriceScale",title:"Labels on price scale",visible:o})),n.createElement(se.PropertyTable.Cell,{placement:"first",colSpan:2},n.createElement(D,{id:"showLegendValues",title:"Values in status line",visible:a})))))}_plotsElement(){const{study:e}=this.props,t=e.metaInfo();return new E.MetaInfoHelper(t).getUserEditablePlots().filter(e=>!((0,x.isUpColorerPlot)(e)||(0,x.isDownColorerPlot)(e)||(0,x.isCandleBorderColorerPlot)(e)||(0,x.isCandleWickColorerPlot)(e))).map(t=>{const r=(0,x.isOhlcPlot)(t)?{...t,id:t.target}:t,l=this._findPlotPalettes(r);return n.createElement(Oe,{key:t.id,plot:t,palettes:l,study:e})})}_bandsElement(){const{study:e}=this.props,t=e.properties(),{bands:r}=t;return r&&r.childNames().map((e,t)=>{const l=r.child(e);if(!l.isHidden||!l.isHidden.value())return n.createElement(Ye,{key:t,id:l.name.value(),property:l})})}_bandsBackgroundsElement(){const{study:e}=this.props,t=e.properties(),{bandsBackground:r}=t;return r&&n.createElement(he,{id:"bandsBackground",title:"Background",visible:r.fillBackground,color:r.backgroundColor,transparency:r.transparency})}_areasBackgroundsElement(){const{study:e}=this.props,t=e.metaInfo(),r=e.properties(),{areaBackground:l}=r;return t.isRGB?null:l&&n.createElement(he,{id:"areaBackground",title:"Background",visible:l.fillBackground,color:l.backgroundColor,transparency:l.transparency})}_filledAreasElement(){const{study:e}=this.props,t=e.metaInfo(),r=t.filledAreas;return!r||t.isRGB?[]:r.map(t=>{if(t.isHidden)return null;const r=e.properties().filledAreasStyle[t.id],l=t.title||"Background";if(t.palette){const e=this._findPalettesByTargetId(t.id),l=(0,s.ensureDefined)(e.main);return n.createElement(ie,{key:t.id,area:t,palette:(0,s.ensureDefined)(l.palette),paletteProps:(0,s.ensureDefined)(l.paletteProps),styleProp:r})}return n.createElement(he,{key:t.id,id:t.id,title:l,color:r.color,visible:r.visible,transparency:r.transparency})})}_graphicsElement(){const{study:e}=this.props,t=e.metaInfo().graphics;return t&&Object.keys(t).map((t,r)=>n.createElement(ct,{key:t,graphicType:t,study:e}))}_findPalettesByTargetId(e){const{study:t}=this.props,r=t.metaInfo(),l=r.plots,n=(0,s.ensureDefined)(r.palettes),i={};for(const r of l)((0,x.isColorerPlot)(r)||(0,x.isOhlcColorerPlot)(r))&&r.target===e&&(i.main={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]}),(0,x.isUpColorerPlot)(r)&&r.target===e&&(i.up={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]}),(0,x.isDownColorerPlot)(r)&&r.target===e&&(i.down={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]}),(0,x.isCandleWickColorerPlot)(r)&&r.target===e&&(i.wick={palette:n[r.palette], +paletteProps:t.properties().palettes[r.palette]}),(0,x.isCandleBorderColorerPlot)(r)&&r.target===e&&(i.border={palette:n[r.palette],paletteProps:t.properties().palettes[r.palette]});return i}}function Yt(e){return(0,M.bindPropertyContext)(qt,{...e,property:e.study.properties()})}class Qt extends n.PureComponent{render(){return n.createElement(Lt.ModelContext.Provider,{value:this.props.model},n.createElement(de.Provider,{value:this.props.source},n.createElement(Yt,{study:this.props.source})))}}var Xt=r(80331),$t=r(22729),Jt=r(80975);class er extends $t.DialogRenderer{constructor(e,t,r,n){super(),this._timeout=null,this._handleClose=()=>{l.unmountComponentAtNode(this._container),this._setVisibility(!1),this._subscription.unsubscribe(this,this._handleCollectionChanged)},this._handleCancel=()=>{this._model.undoToCheckpoint(this._checkpoint)},this._handleSubmit=()=>{},this._handleActiveTabChanged=e=>{c.setValue(this._activeTabSettingsName(),e)},this._source=e,this._model=t,this._propertyPages=n,this._checkpoint=this._ensureCheckpoint(r),this._subscription=this._model.model().dataSourceCollectionChanged(),this._subscription.subscribe(this,this._handleCollectionChanged)}hide(e){e?this._handleCancel():this._handleSubmit(),this._handleClose()}isVisible(){return this.visible().value()}show(e={}){if(!p.enabled("property_pages"))return;const t=this._source.metaInfo();if((0,w.isLineTool)(this._source)&&(0,h.trackEvent)("GUI","Drawing Properties",this._source.name()),(0,b.isStudy)(this._source)){const e=!this._source.isPine()||this._source.isStandardPine()?t.description:"Custom Pine";(0,h.trackEvent)("GUI","Study Properties",e)}let r={byId:{inputs:{title:(0,i.t)("Inputs"),Component:_},style:{title:(0,i.t)("Style"),Component:Qt}},allIds:[]};const s=new E.MetaInfoHelper(t);s.hasUserEditableInputs()&&r.allIds.push("inputs"),s.hasUserEditableProperties(),s.hasUserEditableStyles()&&r.allIds.push("style"),this._propertyPages||(r.byId.visibilities={title:(0,i.t)("Visibility"),page:this._createVisibilitiesPropertyPage()},r.allIds.push("visibilities")),r=this._getPagesForStudyLineTool(r);const o=e.initialTab||c.getValue(this._activeTabSettingsName())||"inputs";let u=(0,a.clean)(t.shortDescription,!0);l.render(n.createElement(P,{title:u,model:this._model,source:this._source,initialActiveTab:r.allIds.includes(o)?o:r.allIds[0],pages:r,onSubmit:this._handleSubmit,onCancel:this._handleCancel,onClose:this._handleClose,onActiveTabChanged:this._handleActiveTabChanged}),this._container),this._setVisibility(!0),d.emit("edit_object_dialog",{objectType:"study",scriptTitle:this._source.title()})}_createVisibilitiesPropertyPage(){const e=this._source.properties().childs().intervalsVisibilities.childs();return(0,Xt.createPropertyPage)((0,Jt.getIntervalsVisibilitiesPropertiesDefinitions)(this._model,e,new o.TranslatedString(this._source.name(!0),this._source.title(!0))),"visibility",(0,i.t)("Visibility"))}_activeTabSettingsName(){return"properties_dialog.active_tab.study"}_ensureCheckpoint(e){return void 0===e&&(e=this._model.createUndoCheckpoint()),e} +_getPagesForStudyLineTool(e){if(this._propertyPages){const t=this._propertyPages.filter(e=>"coordinates"===e.id||"visibility"===e.id),r={allIds:t.map(e=>e.id),byId:t.reduce((e,t)=>({...e,[t.id]:{title:t.title,page:t}}),{})};return{allIds:[...e.allIds,...r.allIds],byId:{...e.byId,...r.byId}}}return e}_handleCollectionChanged(){null===this._timeout&&(this._timeout=setTimeout(()=>{this._closeDialogIfSourceIsDeleted(),this._timeout=null}))}_closeDialogIfSourceIsDeleted(){null===this._model.model().dataSourceForId(this._source.id())&&this._handleClose()}}},34290:(e,t,r)=>{"use strict";r.d(t,{StudyDefaultsManager:()=>u});var l=r(59496),n=r(97754),s=r.n(n),i=r(9745),o=r(28353),a=r(95276),c=r(16396),p=r(31328),d=r(84662);const h={reset:(0,o.t)("Reset settings"),saveAsDefault:(0,o.t)("Save as default"),defaults:(0,o.t)("Defaults")};class u extends l.PureComponent{constructor(){super(...arguments),this._handleResetToDefaults=()=>{this.props.model.restorePropertiesForSource(this.props.source)},this._handleSaveAsDefaults=()=>{this.props.source.properties().saveDefaults()}}render(){const{mode:e}=this.props;return l.createElement(a.ControlDisclosure,{id:"study-defaults-manager",className:s()("normal"===e&&d.defaultsButtonText),hideArrowButton:"compact"===e,buttonChildren:this._getPlaceHolderItem("compact"===e)},l.createElement(c.PopupMenuItem,{className:d.defaultsButtonItem,isActive:!1,label:h.reset,onClick:this._handleResetToDefaults}),l.createElement(c.PopupMenuItem,{className:d.defaultsButtonItem,isActive:!1,label:h.saveAsDefault,onClick:this._handleSaveAsDefaults}))}_getPlaceHolderItem(e){return e?l.createElement(i.Icon,{className:d.defaultsButtonIcon,icon:p}):h.defaults}}},95275:(e,t,r)=>{"use strict";r.d(t,{FooterMenu:()=>d});var l=r(59496),n=r(28353),s=r(9745),i=r(95276),o=r(90692),a=r(85623),c=r(31328);function p(e){return e.isTabletWidth?l.createElement(s.Icon,{className:a.themesButtonIcon,icon:c}):l.createElement(l.Fragment,null,(0,n.t)("Template"))}function d(e){return l.createElement(o.MatchMedia,{rule:"screen and (max-width: 768px)"},t=>l.createElement(i.ControlDisclosure,{className:!t&&a.themesButtonText,hideArrowButton:t,buttonChildren:l.createElement(p,{isTabletWidth:t})},e.children))}},44e3:(e,t,r)=>{"use strict";r.d(t,{TemplateMenuItem:()=>c});var l=r(59496),n=r(16396),s=r(96040),i=r(70412),o=r(32563),a=r(85623);function c(e){const{name:t,onRemove:r,onClick:c}=e,[p,d]=(0,i.useHover)(),h=l.useCallback(()=>c(t),[c,t]),u=l.useCallback(()=>{r&&r(t)},[r,t]);return l.createElement("div",{...d},l.createElement(n.PopupMenuItem,{className:a.defaultsButtonItem,isActive:!1,label:t,onClick:h,toolbox:r&&l.createElement(s.RemoveButton,{hidden:!o.mobiletouch&&!p,onClick:u})}))}},37289:(e,t,r)=>{"use strict";r.d(t,{PropertiesEditorTab:()=>c});var l=r(59496),n=r(66849);const s={"Elliott Impulse Wave (12345)Degree":"normal","Elliott Triangle Wave (ABCDE)Degree":"normal","Elliott Triple Combo Wave (WXYXZ)Degree":"normal","Elliott Correction Wave (ABC)Degree":"normal","Elliott Double Combo Wave (WXY)Degree":"normal", +BarsPatternMode:"normal",StudyInputSource:"normal"},i={TextText:"big",AnchoredTextText:"big",NoteText:"big",AnchoredNoteText:"big",CalloutText:"big",BalloonText:"big"};var o=r(35868),a=r(90545);function c(e){const{page:t,pageRef:r,tableKey:c}=e;return l.createElement(n.ControlCustomHeightContext.Provider,{value:i},l.createElement(n.ControlCustomWidthContext.Provider,{value:s},t&&l.createElement(o.PropertyTable,{reference:r,key:c},t.definitions.value().map(e=>l.createElement(a.Section,{key:e.id,definition:e})))))}},18460:(e,t,r)=>{"use strict";r.d(t,{FooterMenu:()=>a});var l=r(59496),n=(r(79049),r(28353)),s=r(95275),i=r(44e3);function o(e){const{model:t,source:r}=e;return l.createElement(s.FooterMenu,null,l.createElement(i.TemplateMenuItem,{onClick:function(){t.restorePropertiesForSource(r)},name:(0,n.t)("Apply Defaults")}))}function a(e){return l.createElement(o,{...e})}},31807:(e,t,r)=>{"use strict";r.d(t,{DialogTabs:()=>m});var l=r(59496),n=r(97754),s=r(64205),i=r(40173),o=r(64886);const a=(0,i.mergeThemes)(s.DEFAULT_SLIDER_THEME,o);var c=r(39440),p=r(32563),d=r(42545);const h=d,u=(0,s.factory)((function(e){return l.createElement("div",{className:a.slider,ref:e.reference},l.createElement("div",{className:a.inner}))}));class m extends l.PureComponent{constructor(){super(...arguments),this._createClickHandler=e=>()=>{this.props.onSelect(e)}}render(){const{theme:e=h,hiddenBottomBorders:t,fadedSlider:r=!0,ScrollComponent:s=c.HorizontalScroll}=this.props,i=this._generateDialogTabs();return l.createElement("div",{className:n(e.scrollWrap)},!t&&l.createElement("div",{className:e.headerBottomSeparator}),l.createElement(s,{isVisibleFade:p.mobiletouch,isVisibleButtons:!p.mobiletouch,isVisibleScrollbar:!1,fadeClassName:n({[e.fadeWithoutSlider]:!r})},l.createElement("div",{className:e.tabsWrap},l.createElement(u,{className:n(e.tabs,t&&e.withoutBorder)},i))))}_generateDialogTabs(){const{activeTabId:e,tabs:t,theme:r=h}=this.props;return t.allIds.map(i=>{const o=e===i,a=t.byId[i].withNotificationsBadge;return l.createElement(s.SliderItem,{key:i,value:i,className:n(r.tab,!o&&r.withHover,a&&d.withBadge),isActive:o,onClick:this._createClickHandler(i)},t.byId[i].title)})}}},39440:(e,t,r)=>{"use strict";r.d(t,{HorizontalScroll:()=>f});var l=r(59496),n=r(97754),s=r(9837),i=r(88537),o=r(9745),a=r(59199),c=r(68587),p=r(62820),d=r(33086),h=r(41814);const u={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1};function m(e){return l.createElement("div",{className:n(h.fadeLeft,e.className,{[h.isVisible]:e.isVisible})})}function v(e){return l.createElement("div",{className:n(h.fadeRight,e.className,{[h.isVisible]:e.isVisible})})}function y(e){return l.createElement(b,{...e,className:h.scrollLeft})}function g(e){return l.createElement(b,{...e,className:h.scrollRight})}function b(e){return l.createElement("div",{className:n(e.className,{[h.isVisible]:e.isVisible}),onClick:e.onClick},l.createElement("div",{className:h.iconWrap},l.createElement(o.Icon,{icon:d,className:h.icon})))}const f=function(e=y,t=g,r=m,o=v){var d +;return(d=class extends l.PureComponent{constructor(e){super(e),this._scroll=l.createRef(),this._wrapMeasureRef=l.createRef(),this._contentMeasureRef=l.createRef(),this._handleScrollLeft=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("left");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.max(0,this.currentPosition()-e))},this._handleScrollRight=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("right");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.min((this.state.widthContent||0)-(this.state.widthWrap||0),this.currentPosition()+e))},this._handleResizeWrap=e=>{this.props.onMeasureWrap&&this.props.onMeasureWrap(e),this.setState({widthWrap:e.width}),this._checkButtonsVisibility()},this._handleResizeContent=e=>{this.props.onMeasureContent&&this.props.onMeasureContent(e);const{shouldDecreaseWidthContent:t,buttonsWidthIfDecreasedWidthContent:r}=this.props;t&&r?this.setState({widthContent:e.width+2*r}):this.setState({widthContent:e.width})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtLeft(),this.isAtRight()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleLeftButton:e,isVisibleRightButton:t}=this.state,r=this.isAtLeft(),l=this.isAtRight();r||e?r&&e&&this.setState({isVisibleLeftButton:!1}):this.setState({isVisibleLeftButton:!0}),l||t?l&&t&&this.setState({isVisibleRightButton:!1}):this.setState({isVisibleRightButton:!0})},this.state={widthContent:0,widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1}}componentDidMount(){this._checkButtonsVisibility()}componentDidUpdate(e,t){t.widthWrap===this.state.widthWrap&&t.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())}currentPosition(){return this._scroll.current?(0,p.isRtl)()?(0,p.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0}isAtLeft(){return!this._isOverflowed()||this.currentPosition()<=(0,i.ensureDefined)(this.props.hideButtonsFrom)}isAtRight(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-(0,i.ensureDefined)(this.props.hideButtonsFrom)}animateTo(e,t=c.dur){const r=this._scroll.current;r&&((0,p.isRtl)()&&(e=(0,p.getLTRScrollLeftOffset)(r,e)),t<=0?r.scrollLeft=Math.round(e):(0,a.doAnimate)({onStep(e,t){r.scrollLeft=Math.round(t)},from:r.scrollLeft,to:Math.round(e),easing:c.easingFunc.easeInOutCubic,duration:t}))}render(){const{children:i,isVisibleScrollbar:a,isVisibleFade:c,isVisibleButtons:p,shouldMeasure:d,shouldDecreaseWidthContent:u,buttonsWidthIfDecreasedWidthContent:m,onMouseOver:v,onMouseOut:y,scrollWrapClassName:g,fadeClassName:b}=this.props,{isVisibleRightButton:f,isVisibleLeftButton:w}=this.state,C=u&&m;return l.createElement(s,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:d, +ref:this._wrapMeasureRef},l.createElement("div",{className:h.wrapOverflow,onMouseOver:v,onMouseOut:y},l.createElement("div",{className:n(h.wrap,C?h.wrapWithArrowsOuting:"")},l.createElement("div",{className:n(h.scrollWrap,g,{[h.noScrollBar]:!a}),onScroll:this._handleScroll,ref:this._scroll},l.createElement(s,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:d,ref:this._contentMeasureRef},i)),c&&l.createElement(r,{isVisible:w,className:b}),c&&l.createElement(o,{isVisible:f,className:b}),p&&l.createElement(e,{onClick:this._handleScrollLeft,isVisible:w}),p&&l.createElement(t,{onClick:this._handleScrollRight,isVisible:f}))))}_isOverflowed(){const{widthContent:e,widthWrap:t}=this.state;return e>t}}).defaultProps=u,d}(y,g,m,v)},51613:(e,t,r)=>{"use strict";r.d(t,{PopupMenuSeparator:()=>o});var l=r(59496),n=r(97754),s=r.n(n),i=r(524);function o(e){const{size:t="normal",className:r}=e;return l.createElement("div",{className:s()(i.separator,"small"===t&&i.small,"normal"===t&&i.normal,"large"===t&&i.large,r)})}},64205:(e,t,r)=>{"use strict";r.d(t,{DEFAULT_SLIDER_THEME:()=>o,SliderItem:()=>a,factory:()=>c});var l=r(59496),n=r(97754),s=r(88537),i=r(37740);const o=i;function a(e){const t=n(e.className,i.tab,{[i.active]:e.isActive,[i.disabled]:e.isDisabled,[i.defaultCursor]:!!e.shouldUseDefaultCursor,[i.noBorder]:!!e.noBorder});return l.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 l.PureComponent{constructor(){super(...arguments),this.activeTab={current:null}}componentDidUpdate(){(0,s.ensureNotNull)(this._slider).style.transition="transform 350ms",this._componentDidUpdate()}componentDidMount(){this._componentDidUpdate()}render(){const{className:t}=this.props,r=this._generateTabs();return l.createElement("div",{className:n(t,i.tabs),"data-name":this.props["data-name"]},r,l.createElement(e,{reference:e=>{this._slider=e}}))}_generateTabs(){return this.activeTab.current=null,l.Children.map(this.props.children,e=>{const t=e,r=Boolean(t.props.isActive),n={reference:e=>{r&&(this.activeTab.current=e),t.props.reference&&t.props.reference(e)}};return l.cloneElement(t,n)})}_componentDidUpdate(){const e=(0,s.ensureNotNull)(this._slider).style;if(this.activeTab.current){const t=this.activeTab.current.offsetWidth,r=this.activeTab.current.offsetLeft;e.transform=`translateX(${r}px)`,e.width=t+"px",e.opacity="1"}else e.opacity="0"}}}c((function(e){return l.createElement("div",{className:i.slider,ref:e.reference})}))},33086:e=>{e.exports=''},91596:e=>{e.exports=''},57614:e=>{ +e.exports=''},6220:e=>{e.exports=''},59903:e=>{e.exports=''},27708:e=>{e.exports=''},92578:e=>{e.exports=''},33665:e=>{e.exports=''},82397:e=>{e.exports=''},76046:e=>{e.exports=''},21760:e=>{e.exports=''},653:e=>{e.exports=''},18670:e=>{e.exports=''},99594:e=>{e.exports=''},8273:e=>{e.exports=''},28853:e=>{e.exports=''}, +79142:e=>{e.exports=''},40551:e=>{e.exports=''},76115:e=>{e.exports=''},84863:e=>{e.exports=''},86891:e=>{e.exports=''},5377:e=>{e.exports=''},85550:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/object-tree-dialog.eecc10d129b521b3edf1.js b/charting_library/bundles/object-tree-dialog.eecc10d129b521b3edf1.js new file mode 100644 index 00000000..98d9b02f --- /dev/null +++ b/charting_library/bundles/object-tree-dialog.eecc10d129b521b3edf1.js @@ -0,0 +1,30 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4862],{21103:e=>{e.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:e=>{e.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:e=>{e.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},62461:e=>{e.exports={dropTargetInside:"dropTargetInside-HaSQHZAC",dropTarget:"dropTarget-HaSQHZAC",before:"before-HaSQHZAC",after:"after-HaSQHZAC"}},91069:e=>{e.exports={wrap:"wrap-XdW9S1Ib",selected:"selected-XdW9S1Ib",childOfSelected:"childOfSelected-XdW9S1Ib",disabled:"disabled-XdW9S1Ib",expandHandle:"expandHandle-XdW9S1Ib",expanded:"expanded-XdW9S1Ib"}},34244:e=>{e.exports={separator:"separator-KFALCIeR",tree:"tree-KFALCIeR",overlayScrollWrap:"overlayScrollWrap-KFALCIeR",listContainer:"listContainer-KFALCIeR"}},9267:e=>{e.exports={title:"title-f0amBBvb",empty:"empty-f0amBBvb",image:"image-f0amBBvb",spinner:"spinner-f0amBBvb",contentList:"contentList-f0amBBvb"}},32713:e=>{e.exports={dialog:"dialog-W0U3ul53",button:"button-W0U3ul53"}},41223:e=>{e.exports={title:"title-0UFIVbgR",withoutIcon:"withoutIcon-0UFIVbgR",buttons:"buttons-0UFIVbgR",button:"button-0UFIVbgR",disabled:"disabled-0UFIVbgR"}},89559:e=>{e.exports={wrap:"wrap-hEebyvPo",dialog:"dialog-hEebyvPo",offset:"offset-hEebyvPo",title:"title-hEebyvPo",main:"main-hEebyvPo",disabled:"disabled-hEebyvPo",icon:"icon-hEebyvPo",textIcon:"textIcon-hEebyvPo",syncIconWrap:"syncIconWrap-hEebyvPo",syncIcon:"syncIcon-hEebyvPo",rightButtons:"rightButtons-hEebyvPo",hover:"hover-hEebyvPo",expandHandle:"expandHandle-hEebyvPo",button:"button-hEebyvPo",selected:"selected-hEebyvPo",childOfSelected:"childOfSelected-hEebyvPo",renameInput:"renameInput-hEebyvPo",warn:"warn-hEebyvPo",visible:"visible-hEebyvPo"}},48247:e=>{ +e.exports={wrap:"wrap-gUfy4kTJ",space:"space-gUfy4kTJ",tree:"tree-gUfy4kTJ"}},30608:e=>{e.exports={button:"button-IulLF4sY",disabled:"disabled-IulLF4sY"}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>o});const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>_,InputClasses:()=>g});var o=n(59496),r=n(97754),s=n(88537),i=n(66092),l=n(90186),a=n(86332),c=n(95604);var d=n(21103),u=n.n(d);function h(e){let t="";return 0!==e&&(1&e&&(t=r(t,u()["no-corner-top-left"])),2&e&&(t=r(t,u()["no-corner-top-right"])),4&e&&(t=r(t,u()["no-corner-bottom-right"])),8&e&&(t=r(t,u()["no-corner-bottom-left"]))),t}function p(e,t,n,o){const{removeRoundBorder:s,className:i,intent:l="default",borderStyle:a="thin",size:d,highlight:p,disabled:f,readonly:g,stretch:m,noReadonlyStyles:v,isFocused:_}=e,b=h(null!=s?s:(0,c.getGroupCellRemoveRoundBorders)(n));return r(u().container,u()["intent-"+l],u()["border-"+a],d&&u()["size-"+d],b,p&&u()["with-highlight"],f&&u().disabled,g&&!v&&u().readonly,_&&u().focused,m&&u().stretch,t&&u().grouped,!o&&u()["adjust-position"],n.isTop&&u()["first-row"],n.isLeft&&u()["first-col"],i)}function f(e,t){const{highlight:n,highlightRemoveRoundBorder:o}=e;if(!n)return u().highlight;const s=h(null!=o?o:(0,c.getGroupCellRemoveRoundBorders)(t));return r(u().highlight,u().shown,s)}const g={FontSizeMedium:(0,s.ensureDefined)(u()["font-size-medium"]),FontSizeLarge:(0,s.ensureDefined)(u()["font-size-large"])},m={passive:!1};function v(e,t){const{id:n,role:r,onFocus:s,onBlur:c,onMouseOver:d,onMouseOut:u,onMouseDown:h,onMouseUp:g,onKeyDown:v,onClick:_,tabIndex:b,startSlot:S,middleSlot:y,endSlot:C,onWheel:w,onWheelNoPassive:T=null}=e,{isGrouped:I,cellState:E,disablePositionAdjustment:M=!1}=(0,o.useContext)(a.ControlGroupContext),x=function(e,t=null,n){const r=(0,o.useRef)(null),s=(0,o.useRef)(null),i=(0,o.useCallback)(()=>{if(null===r.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&r.current.addEventListener(e,t,n)},[]),l=(0,o.useCallback)(()=>{if(null===r.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&r.current.removeEventListener(e,t,n)},[]),a=(0,o.useCallback)(e=>{l(),r.current=e,i()},[]);return(0,o.useEffect)(()=>(s.current=[e,t,n],i(),l),[e,t,n]),a}("wheel",T,m);return o.createElement("span",{id:n,role:r,className:p(e,I,E,M),tabIndex:b,ref:(0,i.useMergedRefs)([t,x]),onFocus:s,onBlur:c,onMouseOver:d,onMouseOut:u,onMouseDown:h,onMouseUp:g,onKeyDown:v,onClick:_,onWheel:w,...(0,l.filterDataProps)(e),...(0,l.filterAriaProps)(e)},S,y,C,o.createElement("span",{className:f(e,E)}))}v.displayName="ControlSkeleton";const _=o.forwardRef(v)},78274:(e,t,n)=>{"use strict";n.d(t,{BeforeSlot:()=>l,StartSlot:()=>a,MiddleSlot:()=>c,EndSlot:()=>d,AfterSlot:()=>u}) +;var o=n(59496),r=n(97754),s=n(10306),i=n.n(s);function l(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(i()["before-slot"],t)},n)}function a(e){const{className:t,interactive:n=!0,icon:s=!1,children:l}=e;return o.createElement("span",{className:r(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},l)}function c(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(i()["inner-slot"],i()["inner-middle-slot"],t)},n)}function d(e){const{className:t,interactive:n=!0,icon:s=!1,children:l}=e;return o.createElement("span",{className:r(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},l)}function u(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(i()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>_});var o=n(59496),r=n(97754),s=n(90186),i=n(47201),l=n(48907),a=n(66092),c=n(48027),d=n(29202),u=n(45812),h=n(67029),p=n(78274),f=n(66579),g=n.n(f);function m(e){return!(0,s.isAriaAttribute)(e)&&!(0,s.isDataAttribute)(e)}function v(e){const{id:t,title:n,role:i,tabIndex:l,placeholder:a,name:c,type:d,value:u,defaultValue:f,draggable:v,autoComplete:_,autoFocus:b,maxLength:S,min:y,max:C,step:w,pattern:T,inputMode:I,onSelect:E,onFocus:M,onBlur:x,onKeyDown:D,onKeyUp:A,onKeyPress:L,onChange:N,onDragStart:k,size:O="medium",className:B,inputClassName:R,disabled:F,readonly:P,containerTabIndex:j,startSlot:z,endSlot:V,reference:H,containerReference:G,onContainerFocus:W,...U}=e,K=(0,s.filterProps)(U,m),Z={...(0,s.filterAriaProps)(U),...(0,s.filterDataProps)(U),id:t,title:n,role:i,tabIndex:l,placeholder:a,name:c,type:d,value:u,defaultValue:f,draggable:v,autoComplete:_,autoFocus:b,maxLength:S,min:y,max:C,step:w,pattern:T,inputMode:I,onSelect:E,onFocus:M,onBlur:x,onKeyDown:D,onKeyUp:A,onKeyPress:L,onChange:N,onDragStart:k};return o.createElement(h.ControlSkeleton,{...K,disabled:F,readonly:P,tabIndex:j,className:r(g().container,B),size:O,ref:G,onFocus:W,startSlot:z,middleSlot:o.createElement(p.MiddleSlot,null,o.createElement("input",{...Z,className:r(g().input,R,z&&g()["with-start-slot"],V&&g()["with-end-slot"]),disabled:F,readOnly:P,ref:H})),endSlot:V})}function _(e){e=(0,c.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:s,onBlur:h,reference:p,containerReference:f=null}=e,g=(0,o.useRef)(null),m=(0,o.useRef)(null),[_,b]=(0,d.useFocus)(),S=t?void 0:_?-1:r,y=t?void 0:_?r:-1,{isMouseDown:C,handleMouseDown:w,handleMouseUp:T}=(0,u.useIsMouseDown)(),I=(0,i.createSafeMulticastEventHandler)(b.onFocus,(function(e){n&&!C.current&&(0,l.selectAllContent)(e.currentTarget)}),s),E=(0,i.createSafeMulticastEventHandler)(b.onBlur,h),M=(0,o.useCallback)(e=>{g.current=e,p&&("function"==typeof p&&p(e),"object"==typeof p&&(p.current=e))},[g,p]);return o.createElement(v,{...e,isFocused:_,containerTabIndex:S,tabIndex:y,onContainerFocus:function(e){m.current===e.target&&null!==g.current&&g.current.focus()},onFocus:I,onBlur:E,reference:M,containerReference:(0,a.useMergedRefs)([m,f]),onMouseDown:w,onMouseUp:T})}},48027:(e,t,n)=>{ +"use strict";n.d(t,{useControl:()=>s});var o=n(47201),r=n(29202);function s(e){const{onFocus:t,onBlur:n,intent:s,highlight:i,disabled:l}=e,[a,c]=(0,r.useFocus)(void 0,l),d=(0,o.createSafeMulticastEventHandler)(l?void 0:c.onFocus,t),u=(0,o.createSafeMulticastEventHandler)(l?void 0:c.onBlur,n);return{...e,intent:s||(a?"primary":"default"),highlight:null!=i?i:a,onFocus:d,onBlur:u}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(59496);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t&&n&&r(!1)},[t,n]);const s={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,s]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(59496);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)(()=>{e.current=!0},[e]),n=(0,o.useCallback)(()=>{e.current=!1},[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},66092:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>r});var o=n(59496);function r(e){return(0,o.useCallback)(function(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(e),e)}},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},47201:(e,t,n)=>{"use strict";function o(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>o})},94250:(e,t,n)=>{"use strict";n.d(t,{ManageDrawings:()=>C});var o=n(59496),r=n(88537),s=n(9745),i=n(26843),l=n(45345),a=n(28353),c=n(24980),d=n(98125),u=n(14291),h=n(64530),p=n(80643),f=n(61074),g=n(72802),m=n(70029),v=n(9267);(0,d.getLogger)("Chart.ManageDrawings");const _=new c.TranslatedString("remove all line tools for {symbol}",(0,a.t)("remove all line tools for {symbol}")),b=e=>(0,a.t)("{drawingsCount} drawing",{plural:"{drawingsCount} drawings",count:e}).format({drawingsCount:e.toString()}),S=(0,a.t)("Remove all drawings for this symbol"),y=(0,a.t)("No drawings yet");class C extends o.PureComponent{constructor(e){super(e),this._totalCount=0,this._model=null,this._symbolDrawingsMap=null,this._storageContentLoadingPromise=null,this._onItemClick=e=>{""!==e&&(this.props.chartWidget.setSymbol(e),null!==this._model&&this.setState({currentSymbol:e}),this.props.onClose&&this.props.onClose())},this._onRemove=async e=>{if(this._model&&this._symbolDrawingsMap){const t=this._symbolDrawingsMap.get(e);if(t){const n=Array.from(t).map(e=>(0,r.ensureNotNull)(this._model).model().dataSourceForId(e)).filter(p.notNull);n.length>0&&this._model.removeSources(n,!1,_.format({symbol:e})),this._updateItems()}}},this._updateItems=async()=>{if(null!==this._model){const e=await this._getItems(this._model.model().dataSources());this.setState({items:e})}},this._updateTheme=()=>{const e=l.watchedTheme.value();this.setState({theme:e})},this.state={currentSymbol:null,items:null,theme:l.watchedTheme.value()}}componentDidMount(){this.props.chartWidget.withModel(this,async()=>{ +this._model=this.props.chartWidget.model(),this._model.model().dataSourceCollectionChanged().subscribe(this,this._updateItems);const e=await this._getItems(this._model.model().dataSources());this.setState({currentSymbol:this._model.mainSeries().symbol(),items:e},()=>{var e,t;return null===(t=(e=this.props).onInitialized)||void 0===t?void 0:t.call(e)})}),l.watchedTheme.subscribe(this._updateTheme)}componentWillUnmount(){l.watchedTheme.unsubscribe(this._updateTheme),null!==this._model&&this._model.model().dataSourceCollectionChanged().unsubscribe(this,this._updateItems)}render(){const{isMobile:e}=this.props,{currentSymbol:t,items:n}=this.state,r=this._symbolDrawingsMap?this._symbolDrawingsMap.size:0,s=`${i=r,(0,a.t)("{symbolsCount} symbol",{plural:"{symbolsCount} symbols",context:"symbols_and_drawings_count",count:i}).format({symbolsCount:i.toString()})} ${(e=>(0,a.t)("with {drawingsCount} drawing",{plural:"with {drawingsCount} drawings",context:"symbols_and_drawings_count",count:e}).format({drawingsCount:e.toString()}))(this._totalCount)}`;var i;return o.createElement(o.Fragment,null,n&&n.length>0&&o.createElement("div",{className:v.title},s),null===n||0===n.length?this._renderEmptyContent():n.map(n=>o.createElement(h.DialogContentItem,{key:n.symbol,title:n.symbol,subtitle:b(n.drawingsCount),removeBtnLabel:S,isActive:n.symbol===t,isMobile:e,onClick:this._onItemClick.bind(this,n.symbol),onClickRemove:this._onRemove.bind(this,n.symbol),showFavorite:!1})))}_renderEmptyContent(){const{theme:e}=this.state,t=e===i.StdTheme.Dark?m:g;return null===this._symbolDrawingsMap?o.createElement(f.Spinner,{className:v.spinner}):o.createElement("div",{className:v.empty},o.createElement(s.Icon,{className:v.image,icon:t}),o.createElement("span",null,y))}async _getStorageContent(){return new Map}async _getItems(e){const t=[],n=this._getSymbolDrawingsMap(e);return(await this._getStorageContent()).forEach((e,t)=>{const o=n.get(t)||new Set;e.forEach(e=>o.add(e)),n.set(t,o)}),this._symbolDrawingsMap=n,this._totalCount=0,this._symbolDrawingsMap.forEach((e,n)=>{t.push({symbol:n,drawingsCount:e.size}),this._totalCount=this._totalCount+e.size}),t.sort((e,t)=>e.drawingsCount===t.drawingsCount?e.symbol.localeCompare(t.symbol):e.drawingsCount>t.drawingsCount?-1:1)}_getSymbolDrawingsMap(e){const t=new Map;return e.forEach(e=>{var n;if((0,u.isLineTool)(e)&&e.showInObjectTree()){const o=null!==(n=e.symbol())&&void 0!==n?n:"",r=t.get(o)||new Set;r.add(e.id()),t.set(o,r)}}),t}}},49469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ObjectTreeDialogRenderer:()=>Jo});var o=n(59496),r=n(87995);async function s(e,t,n){let o;for(let r=0;rPromise.resolve())}var l=n(98125);const a=(0,l.getLogger)("DataSourcesIcons");let c=null;function d(){const e=n.c[45749];return e?Promise.resolve(e.exports.lineToolsIcons):n.e(1890).then(n.bind(n,45749)).then(e=>e.lineToolsIcons)}function u(){const e=n.c[37466] +;return e?Promise.resolve(e.exports.SERIES_ICONS):n.e(3718).then(n.bind(n,37466)).then(e=>e.SERIES_ICONS)}let h=null;function p(){return null===h&&(h=function(){const e=i(d,2).then(e=>e).catch(e=>(a.logWarn(e),{})),t=i(u,2).then(e=>e).catch(e=>(a.logWarn(e),{}));return Promise.all([e,t])}()),h.then(e=>(c={linetool:e[0],series:e[1]},c))}var f=n(41590),g=n(37558),m=n(90692),v=n(28353),_=n(85457),b=n(24437),S=n(94250);var y=n(9837),C=n.n(y),w=n(36349),T=n(32563),I=n(88537),E=n(97754),M=n.n(E),x=n(9745),D=n(16396),A=n(35390),L=n(36947);const N=o.createContext(null);var k=n(14593),O=n(16788),B=n(36666),R=n(38593),F=n(41223),P=n(51768);function j(e){const{viewModel:t}=(0,I.ensureNotNull)((0,o.useContext)(N)),n=(0,L.useForceUpdate)(),r=t.selection();(0,o.useEffect)(()=>{const e={};return t.onChange().subscribe(e,()=>n()),()=>{t.onChange().unsubscribeAll(e)}},[t]),(0,o.useEffect)(()=>{const e={};return r.onChange().subscribe(e,()=>n()),()=>{r.onChange().unsubscribeAll(e)}},[r]);const s=!t.canSelectionBeUnmerged(),i=t.isSelectionCopiable(),l=t.isSelectionCloneable(),a=!i&&!l,c=t.canSelectionBeGrouped();return o.createElement(o.Fragment,null,o.createElement("div",{className:E(F.title,F.withoutIcon)},(0,v.t)("Object tree"),!1),o.createElement("div",{className:F.buttons},o.createElement(k.ToolWidgetIconButton,{className:E(F.button,!c&&F.disabled),icon:R,onClick:function(){t.createGroupFromSelection()},isDisabled:!c,title:(0,v.t)("Create a group of drawings"),"data-name":"group-button"}),o.createElement(A.ToolWidgetMenu,{className:E(F.button,a&&F.disabled),isDisabled:a,content:o.createElement(x.Icon,{icon:O}),title:(0,v.t)("Clone, Copy"),arrow:!1,isShowTooltip:!0,"data-name":"copy-clone-button"},i&&o.createElement(D.PopupMenuItem,{"data-name":"copy",label:(0,v.t)("Copy"),onClick:function(){t.copySelection()}}),l&&o.createElement(D.PopupMenuItem,{"data-name":"clone",label:(0,v.t)("Clone"),onClick:function(){t.cloneSelection()}})),o.createElement(A.ToolWidgetMenu,{className:E(F.button,s&&F.disabled),isDisabled:s,content:o.createElement(x.Icon,{icon:B}),title:(0,v.t)("Move to"),arrow:!1,isShowTooltip:!0,"data-name":"move-to-button"},o.createElement(D.PopupMenuItem,{"data-name":"new-pane-above",label:(0,v.t)("New pane above"),onClick:function(){t.unmergeSelectionUp()}}),o.createElement(D.PopupMenuItem,{"data-name":"new-pane-below",label:(0,v.t)("New pane below"),onClick:function(){t.unmergeSelectionDown()}}))))}var z=n(54773),V=n(79049),H=n(11307),G=n(36028),W=n(86416);const U=(K="OBJECT_TREE",e=>K+"__"+e);var K;const Z=U("SET_NODES"),Q=U("SYNC_NODES"),X=U("UPDATE_NODE"),$=U("UPDATE_NODES"),q=U("RESET_TREE"),J=U("SET_SELECTED_IDS"),Y=U("DROP_SELECTION"),ee=U("SELECT_PREVIOUS"),te=U("SELECT_NEXT"),ne=U("MULTI_SELECT_PREVIOUS"),oe=U("MULTI_SELECT_NEXT"),re=U("PROCESS_DROP_TARGET"),se=U("UPDATE_DROP_TARGET"),ie=U("HIDE_DROP_TARGET"),le=U("START_MULTI_SELECT"),ae=U("STOP_MULTI_SELECT"),ce=(U("REMOVE_NODE"), +U("SET_FOCUSED_NODE")),de=U("SCROLL_TO_ID"),ue=U("SET_IS_SELECTED"),he=U("SET_IS_EXPANDED"),pe=U("SET_DISABLED_NODES"),fe=U("MOVE_NODES"),ge=(U("START_DRAG"),U("END_DRAG")),me=()=>({type:ee}),ve=()=>({type:te}),_e=()=>({type:ne}),be=()=>({type:oe}),Se=(e,t,n,o,r)=>({type:re,dropTarget:e,dropType:t,isHoveredLeft:n,boundBox:o,isLastChild:r}),ye=()=>({type:Y}),Ce=e=>({type:J,ids:e}),we=(e,t,n)=>({type:fe,ids:e,targetId:t,dropType:n}),Te=()=>({type:le}),Ie=()=>({type:ae}),Ee=e=>({type:ce,nodeId:e}),Me=e=>({type:de,nodeId:e}),xe=(e,t,n=0)=>({type:ue,nodeId:e,isSelected:t,mode:n}),De=(e,t)=>({type:he,nodeId:e,isExpanded:t}),Ae=e=>({type:pe,ids:e}),Le=()=>({type:ge});var Ne=n(77145);const ke=e=>e.nodes,Oe=e=>e.selection,Be=e=>e.dropTarget,Re=e=>e.expanded,Fe=e=>e.scrollToId,Pe=(e,t)=>t,je=(0,Ne.createSelector)([ke,Pe],(e,t)=>e[t]),ze=(0,Ne.createSelector)([Oe,Pe],(e,t)=>e.ids.includes(t)),Ve=(0,Ne.createSelector)([Re,Pe],(e,t)=>e.includes(t)),He=(0,Ne.createSelector)([e=>e.disabled,Oe,Pe],(e,t,n)=>!t.ids.includes(n)&&e.includes(n)),Ge=(0,Ne.createSelector)(ke,e=>Object.keys(e)),We=(0,Ne.createSelector)(Oe,({ids:e})=>e),Ue=(0,Ne.createSelector)(Oe,({lastFocusedNodeId:e})=>e),Ke=(0,Ne.createSelector)(Oe,({isMultiSelecting:e})=>e),Ze=(0,Ne.createSelector)([ke,We],(e,t)=>t.map(t=>e[t])),Qe=(0,Ne.createSelector)(ke,e=>Object.values(e).filter(e=>0===e.level)),Xe=(0,Ne.createSelector)([ke,Qe],(e,t)=>t.reduce((t,n)=>[...t,...$e(e,(0,I.ensureDefined)(n))],[]));function $e(e,t){const n=[];for(const o of t.children)n.push(e[o]),n.push(...$e(e,e[o]));return n}const qe=(0,Ne.createSelector)([ke,Qe,Re],(e,t,n)=>{const o=new Set(n);return t.reduce((t,n)=>[...t,...Ye(e,(0,I.ensureDefined)(n),o)],[])}),Je=(0,Ne.createSelector)([ke,We,Re],(e,t,n)=>{const o=new Set(n);return[{id:"drag-list",level:-1,children:t}].reduce((t,n)=>[...t,...Ye(e,(0,I.ensureDefined)(n),o)],[])});function Ye(e,t,n){const o=[];for(const r of t.children){const t=e[r];void 0!==t&&(o.push(t),n.has(r)&&o.push(...Ye(e,t,n)))}return o}function*et(e){const{selectedIds:t,nodes:n}=yield(0,w.call)(e),o={};for(let e=0;e({type:Z,nodes:e}))(o)),yield(0,w.put)(Ce(t));!Ue(yield(0,w.select)())&&t.length>0&&(yield(0,w.put)(Ee(t[0])),yield(0,w.put)(Me(t[0])))}function*tt(e){for(;;){if((yield(0,w.take)([le,ae])).type===le){const t=Ge(yield(0,w.select)()).filter(t=>!e(t));yield(0,w.put)(Ae(t))}else yield(0,w.put)(Ae([]))}}function*nt(){for(;;){const{type:e}=yield(0,w.take)([oe,ne]),t=yield(0,w.select)(),n=Xe(t),o=n.length,r=Ue(t),s=[...We(t)],i=1===s.length&&s[0]!==r,l=n.findIndex(e=>e.id===(i?s[0]:r));if(e===ne&&0===l||e===oe&&l===o-1)continue;const a=ct(t,e===oe?"next":"previous",n,l),{id:c}=a;s.includes(c)&&r?(yield(0,w.put)(xe(r,!1,1)),yield(0,w.put)(Ee(c))):yield(0,w.put)(xe(c,!0,1)),yield(0,w.put)(Me(c))}}function*ot(e,t){for(;;){const{type:n}=yield(0,w.take)([te,ee]),o=yield(0,w.select)(),r=Xe(o),s=Ze(o),i=Ue(o);if(1===s.length&&s[0].id!==i&&!i){if(n===te){yield(0,w.put)(Ee(s[0].id));continue}if(n===ee){ +const e=r.findIndex(e=>e.id===s[0].id),t=ct(o,"previous",r,e);yield(0,w.put)(Ee(t.id));continue}}const l=r.findIndex(e=>e.id===i),a=n===te?"next":"previous",c=ct(o,a,r,l),{id:d}=c;e?e([d],a):yield(0,w.put)(Ce([d])),t&&t(d),yield(0,w.put)(Ee(d))}}function*rt(e,t=(()=>!0)){for(;;){const{mode:n,nodeId:o,isSelected:r}=yield(0,w.take)(ue);let s=[...We(yield(0,w.select)())];const i=Xe(yield(0,w.select)());if(1===n)r?s.push(o):s.splice(s.indexOf(o),1);else if(2===n&&s.length>0){const e=Ue(yield(0,w.select)());let n=i.findIndex(t=>t.id===e);-1===n&&(n=i.reduce((e,t,n)=>s.includes(t.id)?n:e,-1));const r=i.findIndex(e=>e.id===o);if(n!==r)for(let e=Math.min(n,r);e<=Math.max(n,r);e++){const n=i[e].id;!s.includes(n)&&t(n)&&s.push(n)}}else s=o?[o]:[];const l=new Set(s);s=i.reduce((e,t)=>(l.has(t.id)&&e.push(t.id),e),[]),e?e(s):yield(0,w.put)(Ce(s)),yield(0,w.put)(Ee(o))}}function*st(e=(()=>!0),t){const{dropTarget:n,dropType:o,isHoveredLeft:r,boundBox:s,isLastChild:i}=t,l=Be(yield(0,w.select)()),a=je(yield(0,w.select)(),(0,I.ensureDefined)(n.parentId)),c=i&&"after"===o,d=Ze(yield(0,w.select)()),u=!c||!r&&e(d,n,o)?n:a,h=l.node&&l.node.id!==u.id||l.dropType!==o;d.map(e=>e.id).includes(u.id)?yield(0,w.put)({type:ie}):h&&e(d,u,o)&&(yield(0,w.put)(((e,t,n)=>({type:se,node:e,dropType:t,boundBox:n}))(u,o,s)))}function*it(e){yield(0,w.throttle)(0,re,st,e)}function*lt(e){for(;;){yield(0,w.take)(Y);const t=Ze(yield(0,w.select)()),{node:n,dropType:o}=Be(yield(0,w.select)());if(n&&o){const r=new CustomEvent("tree-node-drop",{detail:{nodes:t,target:n.id,type:o}});if(e&&e(r),!r.defaultPrevented){const e=We(yield(0,w.select)());yield(0,w.put)(we(e,n.id,o))}}}}function*at(e){for(;;){yield(0,w.take)(fe);e(ke(yield(0,w.select)()))}}function ct(e,t,n,o){const r=n.length;let s;-1===o&&"previous"===t&&(o=r);let i=0;for(;!s||Math.abs(i)1&&!Ve(e,(0,I.ensureDefined)(l.parentId)));)i+="next"===t?1:-1,s=n[(o+i+r)%r];var l;return s}function*dt(e={}){const{saga:t,onDrop:n,canMove:o,onMove:r,onSelect:s,onKeyboardSelect:i,initState:l,canBeAddedToSelection:a}=e,c=[(0,w.fork)(it,o),(0,w.fork)(lt,n),(0,w.fork)(rt,s,a),(0,w.fork)(ot,s,i),(0,w.fork)(nt)];for(t&&c.push((0,w.fork)(t)),r&&c.push((0,w.fork)(at,r)),a&&c.push((0,w.fork)(tt,a));;){l&&(yield(0,w.call)(et,l));const e=yield(0,w.all)(c);yield(0,w.take)(q);for(const t of e)yield(0,w.cancel)(t)}}var ut=n(83243),ht=n(80643);const pt=(0,l.getLogger)("Platform.GUI.ObjectTree.CallApi");const ft={ids:[],lastFocusedNodeId:void 0,isMultiSelecting:!1};const gt={node:void 0,dropType:void 0,boundBox:void 0};const mt=(0,ut.combineReducers)({nodes:function(e={},t){switch(t.type){case Z:return t.nodes;case Q:{const{nodes:n}=t,o=n.map(e=>e.id),r={...e};for(const t of Object.keys(e))if(!o.includes(t)){const{parentId:e}=r[t];e&&(r[e]={...r[e],children:r[e].children.filter(e=>e!==t)}),delete r[t]}for(const e of n){const t=e.id;if(r.hasOwnProperty(t)){!(0,ht.deepEquals)(r[t].children,e.children)[0]&&(r[t]={...r[t],children:[...e.children]})}else{r[t]=e;const{parentId:n}=e +;if(n&&!r[n].children.includes(t))throw new Error("Not implemented")}}return r}case X:{const{type:n,nodeId:o,...r}=t;return{...e,[o]:{...e[o],...r}}}case $:{const{nodes:n}=t,o={...e};return Object.keys(n).forEach(e=>{o[e]={...o[e],...n[e]}}),{...e,...o}}case fe:{const{ids:n,targetId:o,dropType:r}=t,s=(0,I.ensureDefined)(e[o].parentId),i=e[s],l={};for(const t of n){const n=e[t];if(n.parentId){const o=l[n.parentId]||e[n.parentId];l[n.parentId]={...o,children:o.children.filter(e=>e!==t)}}l[t]={...n,parentId:s,level:i.level+1}}const a=i.children.filter(e=>!n.includes(e));return a.splice(((e,t,n)=>{switch(n){case"before":return e.indexOf((0,I.ensureDefined)(t));case"inside":return e.length;case"after":return e.indexOf((0,I.ensureDefined)(t))+1;default:return 0}})(a,o,r),0,...n),l[s]={...e[s],children:a,isExpanded:!0},{...e,...l}}default:return e}},selection:function(e=ft,t){switch(t.type){case J:{const{ids:n}=t;return{...e,ids:n,lastFocusedNodeId:n.length>0?e.lastFocusedNodeId:void 0}}case le:return{...e,isMultiSelecting:!0};case ae:return{...e,isMultiSelecting:!1};case ce:return{...e,lastFocusedNodeId:t.nodeId};case Q:{const n=new Set(t.nodes.map(e=>e.id));return e.lastFocusedNodeId&&!n.has(e.lastFocusedNodeId)&&delete e.lastFocusedNodeId,{...e,ids:e.ids.filter(e=>n.has(e))}}default:return e}},dropTarget:function(e=gt,t){switch(t.type){case se:{const{node:n,dropType:o,boundBox:r}=t;return{...e,node:n,dropType:o,boundBox:r}}case ie:case ge:case q:return{...gt};default:return e}},expanded:function(e=[],t){switch(t.type){case he:{const{nodeId:n,isExpanded:o}=t;if(o)return[...e,n];const r=[...e];return r.splice(e.indexOf(n),1),r}default:return e}},disabled:function(e=[],t){switch(t.type){case pe:return[...t.ids];default:return e}},scrollToId:function(e=null,t){switch(t.type){case de:return null===t.nodeId?null:{id:t.nodeId};default:return e}}});var vt=n(35126),_t=n(69397),bt=n(49483);var St=n(61625),yt=n(53408),Ct=n(68335),wt=n(47201),Tt=n(70412);const It=o.createContext({size:0,smallSizeTreeNodeAction:1}),Et={[Ct.Modifiers.Mod]:1,[Ct.Modifiers.Shift]:2};var Mt=n(88142),xt=n(91069);const Dt=()=>{};class At extends o.PureComponent{constructor(){super(...arguments),this._ref=null,this._handleRef=e=>{this._ref=e;const{connectDragSource:t,connectDropTarget:n,connectDragPreview:o}=this.props;(0,I.ensureDefined)(n)(this._ref),(0,I.ensureDefined)(t)(this._ref),(0,I.ensureDefined)(o)((0,yt.getEmptyImage)(),{captureDraggingState:!0})},this._handleTouchStart=e=>{const t=(e,t)=>{const n=function(e,t){try{const n=document.createEvent("TouchEvent");return n.initTouchEvent(e,!0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.touches,t.targetTouches,t.changedTouches),n}catch(e){return null}}(e,t);if(n)return n;const o=Array.from(t.changedTouches),r=Array.from(t.touches),s=Array.from(t.targetTouches);return new TouchEvent(e,{bubbles:!0,changedTouches:o,touches:r,targetTouches:s})},n=e.target;if(n instanceof Element){const e=e=>{const o=e;if(!n.isConnected){o.preventDefault();const e=t("touchmove",o) +;document.body.dispatchEvent(e)}},o=r=>{const s=r;if(!n.isConnected){s.preventDefault();const e=t("touchend",s);document.body.dispatchEvent(e)}n.removeEventListener("touchend",o),n.removeEventListener("touchmove",e)};n.addEventListener("touchend",o),n.addEventListener("touchmove",e)}}}componentDidMount(){var e;null===(e=this._ref)||void 0===e||e.addEventListener("touchstart",this._handleTouchStart)}componentWillUnmount(){var e;null===(e=this._ref)||void 0===e||e.removeEventListener("touchstart",this._handleTouchStart)}render(){return o.createElement(Lt,{...this.props,reference:this._handleRef})}getNode(){return(0,I.ensureNotNull)(this._ref)}}const Lt=e=>{const{id:t,isSelected:n,isOffset:r,isExpandable:s,setIsSelected:i,isDisabled:l,isExpanded:a,onClick:c,parentId:d,setIsExpanded:u,reference:h,isFirstListItem:p,isLastListItem:f,nodeRenderer:g,isChildOfSelected:m=!1}=e,{size:v,smallSizeTreeNodeAction:_}=(0,o.useContext)(It),b=(0,o.useRef)(null),S=(0,wt.createSafeMulticastEventHandler)(e=>b.current=e,h);let[y,C]=(0,Tt.useHover)();return(bt.CheckMobile.any()||bt.CheckMobile.isIPad())&&(y=n,C={onMouseOut:Dt,onMouseOver:Dt}),o.createElement("div",{className:E(xt.wrap,n&&xt.selected,m&&xt.childOfSelected,l&&xt.disabled,s&&xt.expandable),onClick:1===v&&0===_?w:function(e){if(e.defaultPrevented)return;const o=Et[(0,Ct.modifiersFromEvent)(e)]||0;!l&&i&&i(t,!n,o);c&&0===o&&c(e,t)},onContextMenu:w,ref:S,...C},s&&o.createElement(x.Icon,{icon:Mt,className:E(xt.expandHandle,a&&xt.expanded),onClick:function(e){e.preventDefault(),s&&u(t,!a)},onMouseDown:function(e){e.preventDefault()}}),g({id:t,isOffset:r,parentId:d,isDisabled:l,isSelected:n,isChildOfSelected:m,isHovered:y,isExpanded:a,isFirstListItem:p,isLastListItem:f}));function w(){l||n||!i||i(t,!0)}},Nt=o.createContext({});function kt(e,t){const{id:n}=t,o=je(e,n),r=ze(e,n);let s=!1,i=o.parentId;for(;i&&!s;)s=ze(e,i),i=je(e,i).parentId;return{...o,isSelected:r,isChildOfSelected:s,isExpanded:o.children.length>0&&Ve(e,n),isExpandable:o.children.length>0,isDisabled:He(e,n)}}function Ot(e){return(0,ut.bindActionCreators)({setIsExpanded:De,processDropTarget:Se,dropSelection:ye,selectNext:ve,selectPrevious:me,setIsSelected:xe,endDrag:Le},e)}const Bt=(0,St.DragSource)("node",{beginDrag:e=>{const{id:t,isDisabled:n,isSelected:o}=e;return n||o||e.setIsSelected(t,!0),e},endDrag:e=>e.endDrag()},e=>({connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview()})),Rt=(0,vt.DropTarget)("node",{hover:(e,t,n)=>{if(!n)return;const o=n.getNode(),r=o.getBoundingClientRect(),s=r.bottom-r.top,i=t.getClientOffset();if(i){const t=i.y-r.top;let n,l;if(n=0===e.children.length?t=s/3&&t<2*s/3?"inside":"after",void 0!==e.getContainerElement){const t=e.getContainerElement().getBoundingClientRect();l={top:r.top-t.top,left:r.left-t.left,bottom:r.top-t.top+r.height,right:r.left-t.left+r.width,height:r.height,width:r.width}}else l={top:o.offsetTop,left:o.offsetLeft,bottom:o.offsetTop+o.offsetHeight,right:o.offsetLeft+o.offsetWidth,height:o.offsetHeight, +width:o.offsetWidth};e.processDropTarget(e,n,i.x-r.left<48,l,e.isLastChild)}}},e=>({connectDropTarget:e.dropTarget()})),Ft=(0,V.connect)(kt,Ot,null,{context:Nt})(Bt(Rt(At))),Pt=(0,V.connect)(kt,Ot,null,{context:Nt})(Lt);var jt=n(35749),zt=n(53614),Vt=n(65718);function Ht(e){const t=e(),n=(0,o.useRef)(t);n.current=t;const[r,s]=(0,o.useState)(n.current),i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{null===i.current&&(i.current=requestAnimationFrame(()=>{i.current=null,s(n.current)}))}),(0,o.useEffect)(()=>()=>{i.current&&cancelAnimationFrame(i.current)},[]),r}function Gt(e){const{dropTargetOffset:t,mousePosition:n}=e;if(!t)return{display:"none"};const{x:o,y:r}=t,s=n&&t?n.y-t.y:0,i=`translate(${o+(n&&t?n.x-t.x:0)}px, ${r+s}px)`;return{transform:i,WebkitTransform:i}}const Wt={top:0,left:0,position:"fixed",pointerEvents:"none",zIndex:100,opacity:.5,width:300,backgroundColor:"red"};const Ut=(0,zt.DragLayer)((function(e){return{isDragging:e.isDragging()&&"node"===e.getItemType(),mousePosition:e.getClientOffset(),dropTargetOffset:e.getSourceClientOffset()}}))((0,V.connect)((function(e){return{items:Je(e)}}),null,null,{context:Nt})((function(e){const{items:t,isDragging:n,nodeRenderer:r,dragPreviewRenderer:s}=e;return Ht((function(){return n?o.createElement(Vt.Portal,null,o.createElement("div",{style:{...Wt,...Gt(e)}},t.map(e=>{if(s){const t=s;return o.createElement(t,{key:e.id,...e})}return o.createElement(Pt,{id:e.id,key:e.id,nodeRenderer:r,isDragPreview:!0,isOffset:e.level>1})}))):null}))})));var Kt=n(3085),Zt=n(33127);const Qt=o.forwardRef((e,t)=>{const n=(0,o.useRef)(null);return e.connectDropTarget(n),(0,o.useImperativeHandle)(t,()=>({getNode:()=>(0,I.ensureNotNull)(n.current)}),[]),o.createElement("div",{ref:n,style:{height:"100%",width:"100%"}})}),Xt=(0,vt.DropTarget)("node",{hover:(e,t,n)=>{if(!n)return;const o=t.getClientOffset();if(null===o)return;const r=e.getOrderedNodes();if(0===r.length)return;const s=n.getNode().getBoundingClientRect(),i=e.getContainerElement().getBoundingClientRect();if("first"===e.type){const t={top:s.top-i.top+s.height,left:s.left-i.left,bottom:s.top-i.top+s.height,right:s.left-i.left+s.width,height:0,width:s.width};e.processDropTarget(r[0],"before",!1,t,!1)}if("last"===e.type){const t=o.x-s.left<48,n=r[r.length-1],l=t&&2===n.level?(0,I.ensureDefined)(r.find(e=>e.id===n.parentId)):n,a={top:s.top-i.top,left:s.left-i.left,bottom:s.top-i.top,right:s.left-i.left+s.width,height:s.height,width:s.width};e.processDropTarget(l,"after",t,a,!1)}}},e=>({connectDropTarget:e.dropTarget()}))(Qt),$t=o.createContext({isOver:!1,transform:void 0});var qt=n(62461);function Jt(e){const{dropType:t,boundBox:n}=e,{top:o,bottom:r,left:s}=(0,I.ensureDefined)(n);return[s,"before"===t||"inside"===t?o:r]}const Yt=(0,zt.DragLayer)((function(e){return{isDragging:e.isDragging()}}))((0,V.connect)((function(e){const{boundBox:t,dropType:n,node:o}=Be(e);return{boundBox:t,dropType:n,level:o?o.level:void 0}}),null,null,{context:Nt})((function(e){const{dropType:t,boundBox:n,isDragging:r,level:s,transform:i=Jt}=e +;return Ht((function(){if(!r||!t||!n)return null;const l={[qt.dropTarget]:"inside"!==t,[qt.dropTargetInside]:"inside"===t},{width:a,height:c}=n,[d,u]=i(e),h=`translate(${d}px, ${u}px)`;return o.createElement("div",{className:E(l),style:{position:"absolute",transform:h,WebkitTransform:h,top:0,left:2===s?"46px":0,width:2===s?a-46+"px":a,height:"inside"===t?c:"2px"}})}))}))),en=o.forwardRef((e,t)=>{const n=(0,o.useContext)($t);return o.createElement("div",{...e,ref:t},e.children,n.isOver&&o.createElement(Yt,{transform:n.transform}))});var tn=n(62820),nn=n(34244);const on=38+Ct.Modifiers.Shift,rn=40+Ct.Modifiers.Shift;const sn=o.forwardRef((function(e,t){const{navigationKeys:n,renderList:r,stopMultiSelect:s,startMultiSelect:i,isMultiSelecting:l,nodeRenderer:a,dragPreviewRenderer:c,className:d,connectDropTarget:u,readOnly:h,onClick:p,dropLayerTransform:f,setFocusedNode:g,scrollToId:m,rowHeight:v,onMultiSelectPrevious:_,onMultiSelectNext:b,onMoveCursorToNext:S,onMoveCursorToPrevious:y,outerRef:C,width:w,height:T,isOver:E,processDropTarget:x}=e,D=(0,o.useContext)(N),A=(0,o.useRef)(null);(0,o.useEffect)(()=>{const e=e=>{[Ct.Modifiers.Mod,Ct.Modifiers.Shift].includes((0,Ct.modifiersFromEvent)(e))&&i()},t=e=>{l&&![Ct.Modifiers.Mod,Ct.Modifiers.Shift].includes((0,Ct.modifiersFromEvent)(e))&&s()};return document.addEventListener("keydown",e),document.addEventListener("keyup",t),document.addEventListener("mousemove",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t),document.removeEventListener("mousemove",t)}},[l]),function(e){(0,o.useEffect)(()=>{if(bt.isEdge){let t=null;const n=(0,I.ensureNotNull)(e.current),o=e=>{if(e.target instanceof Element){const n=(0,I.ensureNotNull)(e.target.closest("[draggable]"));n instanceof HTMLElement&&(n.style.opacity="0",t=requestAnimationFrame(()=>n.style.opacity="1"))}};return n.addEventListener("dragstart",o),()=>{n.removeEventListener("dragstart",o),null!==t&&cancelAnimationFrame(t)}}return()=>{}},[])}(A);const L=(0,o.useCallback)(()=>(0,I.ensureNotNull)(U.current),[]),k=(0,o.useCallback)(()=>r,[r]),O=(0,o.useMemo)(()=>{const e=h?Pt:Ft,t=[];let n;t.push({type:"padding",node:o.createElement(Xt,{type:"first",key:"padding-top",getContainerElement:L,getOrderedNodes:k,processDropTarget:x})});for(let s=0;s0,nodeRenderer:a,readOnly:h,onClick:p,isOffset:i.level>1,getContainerElement:L})})}return t.push({type:"padding",node:o.createElement(Xt,{type:"last",key:"padding-bottom",getContainerElement:L,getOrderedNodes:k,processDropTarget:x})}),t},[r]),B=(0,o.useRef)([]);B.current=O;const R=(0,o.useCallback)(e=>{let{style:t}=e;const{index:n}=e;return n===B.current.length-1&&(t={...t,bottom:0,minHeight:t.height},delete t.height), +o.createElement("div",{style:t},B.current[n].node)},[]),F=(0,o.useCallback)(e=>{const t=B.current[e];return"padding"===t.type?6:"function"==typeof v?v(e,t):v},[v]),P=(0,o.useCallback)(e=>(0,I.ensure)(B.current[e].node.key),[]),j=(0,o.useMemo)(()=>null===m?{index:-1}:{index:B.current.findIndex(e=>e.node.key===m.id)},[m]);u(A);const[z,V,H,G]=(0,Zt.useOverlayScroll)(),W=(0,o.useRef)(null);(0,o.useEffect)(()=>(0,I.ensureNotNull)(W.current).resetAfterIndex(0,!0),[O]),(0,o.useEffect)(()=>(0,I.ensureNotNull)(W.current).scrollToItem(j.index),[j]);const U=(0,o.useRef)(null),K=(0,o.useMemo)(()=>({isOver:E,transform:f}),[E,f]),Z=(0,o.useRef)(null),Q=(0,o.useRef)({startScroll(e){const t=()=>{null!==H.current&&(Z.current=requestAnimationFrame(t),H.current.scrollBy({top:e}))};this.stopScroll(),t()},stopScroll(){null!==Z.current&&(cancelAnimationFrame(Z.current),Z.current=null)},getListElement:()=>H.current});return(0,o.useImperativeHandle)(t,()=>Q.current,[]),(0,o.useEffect)(()=>()=>Q.current.stopScroll(),[E]),o.createElement($t.Provider,{value:K},o.createElement("div",{...V,className:M()(nn.tree,d),ref:A,tabIndex:-1,onKeyDown:function(e){const t=(0,Ct.hashFromEvent)(e);if(e.defaultPrevented||(0,jt.isNativeUIInteraction)(t,e.target))return;D||t!==on||(e.preventDefault(),_());D||t!==rn||(e.preventDefault(),b());(38===t||void 0!==n&&"previous"===n[t])&&(e.preventDefault(),y());(40===t||void 0!==n&&"next"===n[t])&&(e.preventDefault(),S());if((8===t||46===t)&&D){const{viewModel:e}=D,t=e.selection(),n=t.selected();if(1!==n.length)return;const o=e.getNextNodeIdAfterRemove(n[0]);if(null===o)return;e.onChange().subscribe(null,()=>{if(t.selected().length)return;const n=e.entity(o);n&&(t.set([n]),g(o))},!0)}}},o.createElement(Kt.OverlayScrollContainer,{...z,className:nn.overlayScrollWrap}),o.createElement(_t.VariableSizeList,{ref:function(e){W.current=e},className:nn.listContainer,width:w,height:T,itemCount:O.length,itemSize:F,children:R,itemKey:P,outerRef:function(e){H.current=e,C&&C(e)},innerRef:function(e){U.current=e},innerElementType:en,onItemsRendered:function(){G()},overscanCount:20,direction:(0,tn.isRtl)()?"rtl":"ltr"}),o.createElement(Ut,{dragPreviewRenderer:c,nodeRenderer:a})))})),ln=(0,vt.DropTarget)("node",{drop:(e,t,n)=>{("touch"===e.drag||bt.isFF)&&n.stopScroll(),t.getItem().dropSelection()},hover:(e,t,n)=>{if("touch"!==e.drag&&!bt.isFF)return;const o=t.getClientOffset();if(null===o)return;const r=n.getListElement();if(null===r)return;const s=r.getBoundingClientRect();((t,o,r)=>{const s=Math.abs(t-r),i=Math.abs(t-o);if(i>40&&s>40||s<=40&&i<=40)return void n.stopScroll();var l,a,c,d;l=i>20&&i<=40,c=s<=20,d=i<=20,(a=s>20&&s<=40)||l?"touch"===e.drag?n.startScroll(a?-5:5):n.startScroll(a?-2:2):(c||d)&&("touch"===e.drag?n.startScroll(c?-10:10):n.startScroll(c?-5:5))})(o.y,s.bottom,s.top)}},(e,t)=>({connectDropTarget:e.dropTarget(),isOver:t.isOver()}))(sn);const an=(0,V.connect)((function(e){return{renderList:qe(e),orderedNodes:Xe(e),isMultiSelecting:Ke(e),selectedIds:We(e),scrollToId:Fe(e)}}),(function(e){return(0, +ut.bindActionCreators)({startMultiSelect:Te,stopMultiSelect:Ie,setFocusedNode:Ee,processDropTarget:Se,onMoveCursorToNext:ve,onMoveCursorToPrevious:me,onMultiSelectPrevious:_e,onMultiSelectNext:be},e)}),null,{context:Nt})(ln),cn={delayTouchStart:100};function dn(e){const{canBeAddedToSelection:t,initState:n,onSelect:r,canMove:s,onDrop:i,onMove:l,nodes:a,selectedIds:c,onKeyboardSelect:d,saga:u,lastFocusedNodeObject:h,lastSyncTimestampRef:p,scrollToId:f,...g}=e,[m,v]=(0,o.useState)(null);return(0,o.useEffect)(()=>{const e=(0,z.default)();v(function(e){const t=(0,ut.applyMiddleware)(e);return(0,ut.createStore)(mt,t)}(e));const o=e.run(dt,{initState:n,onKeyboardSelect:d,saga:u,canMove:s,onMove:l,onDrop:i,onSelect:r,canBeAddedToSelection:t});return()=>o.cancel()},[]),(0,o.useEffect)(()=>(null!==m&&a&&(p&&(p.current=performance.now()),m.dispatch((e=>({type:Q,nodes:e}))(a))),()=>{}),[m,a]),(0,o.useEffect)(()=>{null!==m&&c&&m.dispatch(Ce(c))},[m,c]),(0,o.useEffect)(()=>{null!==m&&(null==h?void 0:h.id)&&m.dispatch(Ee(h.id))},[m,h]),null===m?null:o.createElement(un,{store:m,scrollToId:f,...g})}const un=o.memo((function(e){const{store:t,scrollToId:n,...r}=e,s="touch"===e.drag?G.TouchBackend:H.HTML5Backend;return(0,o.useEffect)(()=>{var e;t.dispatch(Me(null!==(e=null==n?void 0:n.id)&&void 0!==e?e:null))},[n]),o.createElement(W.DndProvider,{backend:s,options:cn},o.createElement(V.Provider,{store:t,context:Nt},o.createElement(an,{...r})))}));function hn(e,t){(0,P.trackEvent)("Object Tree",e,t)}function pn(e){return e.length>1?"Multi select":e[0].gaLabel()}function fn(e){return(0,z.eventChannel)(t=>{const n={};return e.onChange().subscribe(n,()=>t({type:q})),e.onGroupCreated().subscribe(n,e=>t(De(e,!0))),e.selection().onChange().subscribe(n,e=>t(Ce(e))),()=>{e.onChange().unsubscribeAll(n),e.selection().onChange().unsubscribeAll(n),e.onGroupCreated().unsubscribeAll(n)}},z.buffers.expanding())}function*gn(){for(;;)yield(0,w.take)([te,ee]),hn("Select","Arrow")}function*mn(){for(;;){const{mode:e}=yield(0,w.take)(ue);1===e&&hn("Multi select","Ctrl"),2===e&&hn("Multi select","Shift")}}function*vn(e){for(;;){yield(0,w.take)(Y);const{node:t,dropType:n}=Be(yield(0,w.select)());if(t){const o=Ze(yield(0,w.select)()),r=o.map(t=>(0,I.ensureNotNull)(e.entity(t.id)));let s="Drag";1===t.level&&"inside"!==n&&o.some(e=>2===e.level)?s="From the group":2!==t.level&&"inside"!==n||!o.some(e=>1===e.level)?1===o.length&&o[0].parentId!==t.parentId&&(s="Existing pane"):s="To the group",hn(s,pn(r))}}}function*_n(e){yield(0,w.fork)(gn),yield(0,w.fork)(mn),yield(0,w.fork)(vn,e)}function*bn(e){yield(0,w.fork)(_n,e);const t=yield(0,w.call)(fn,e);pt.logNormal("Opened object tree data source channel");try{for(;;){const e=yield(0,w.take)(t);yield(0,w.put)(e)}}finally{pt.logNormal("Closed object tree data source channel"),t.close()}}const Sn=o.createContext(null);var yn=n(54475),Cn=n(898),wn=n(48247);const Tn=T.mobiletouch?"touch":"native";function In(e){const{viewModel:t,showHeader:n=!0,nodeRenderer:r,isDialog:s=!1}=e,i=(0,o.useRef)(null),l=function(e){const[t,n]=(0, +o.useState)(e.getChartId()),r=(0,o.useRef)(t);return r.current=t,(0,o.useEffect)(()=>{return e.onChange().subscribe(null,t),()=>{e.onChange().unsubscribe(null,t)};function t(){const t=e.getChartId();r.current!==t&&n(t)}},[]),t}(t),[a,c]=(0,Cn.useDimensions)(),[d,u]=(0,o.useState)(null),h=(0,o.useMemo)(()=>({isTouch:T.touch,isDialog:s}),[s]);return o.createElement(Sn.Provider,{value:h},o.createElement(N.Provider,{value:{viewModel:t}},o.createElement("div",{className:wn.wrap,onContextMenu:yn.preventDefaultForContextMenu},n&&o.createElement(j,null),o.createElement(C(),{onMeasure:a},o.createElement("div",{className:wn.space,onClick:function(e){if(e.defaultPrevented)return;if(!(e.target instanceof Element)||null===i.current)return;e.target===i.current&&t.selection().set([])}},null!==c&&o.createElement(dn,{key:l,height:c.height,width:c.width,canBeAddedToSelection:function(e){const n=t.entity(e);return t.selection().canBeAddedToSelection(n)},nodeRenderer:r,initState:function(){const{nodes:e,selection:n}=t.getState();return{selectedIds:n,nodes:e}},canMove:function(e,n,o){return t.isSelectionDropable(n.id,o)},drag:Tn,rowHeight:En,onSelect:function(e){const n=e.map(e=>t.entity(e)).filter(e=>null!==e);t.selection().set(n)},onDrop:function(e){e.preventDefault();const{detail:{target:n,type:o}}=e;t.insertSelection(n,o)},scrollToId:d,saga:function*(){yield(0,w.fork)(bn,t)},onKeyboardSelect:function(e){u({id:e})},outerRef:function(e){i.current=e}}))))))}function En(e,t){switch(t.type){case"node":return 38;case"separator":return 13}}var Mn;!function(e){e.Svg="svg",e.Text="text"}(Mn||(Mn={}));var xn=n(31261),Dn=n(30608);function An(e){const{className:t,disabled:n,...r}=e;return o.createElement(x.Icon,{className:M()(Dn.button,n&&Dn.disabled,t),...r})}var Ln=n(77975),Nn=n(73591),kn=n(73366),On=n(20077),Bn=n(3589),Rn=n(68256),Fn=n(82308),Pn=n(89559);function jn(e){const{id:t}=e,n=(0,o.useContext)(N),{viewModel:r}=(0,I.ensureNotNull)(n),s=r.entity(t);return null===s?null:o.createElement(zn,{...e,entity:s})}function zn(e){const{id:t,isOffset:n,isDisabled:r,isSelected:s,isChildOfSelected:i,isHovered:l,parentId:a,entity:c,isExpanded:d}=e,u=(0,o.useContext)(N),{viewModel:h}=(0,I.ensureNotNull)(u),p=(0,o.useContext)(Sn),{size:f}=(0,o.useContext)(It),[g,m]=(0,o.useState)(!1),_=(0,o.useRef)(null),[b,S]=(0,o.useState)(c.title()),[y,C]=(0,o.useState)(c.isLocked()),[w,T]=(0,o.useState)(c.isVisible()),[M,D]=(0,o.useState)(c.isActualInterval()),[A,L]=(0,o.useState)(c.getDrawingSyncState()),[k,O]=(0,o.useState)(!1),[B,R]=((0,Ln.useWatchedValueReadonly)({watchedValue:h.getChartLayout()}),(0,o.useState)(!1)),F=(0,o.useRef)(null);(0,o.useEffect)(()=>{const e={};c.onLockChanged().subscribe(e,()=>C(c.isLocked())),c.onVisibilityChanged().subscribe(e,()=>T(c.isVisible()));const t=c.onTitleChanged();return t&&t.subscribe(e,()=>S(c.title())),c.onIsActualIntervalChange().subscribe(e,()=>D(c.isActualInterval())),c.onSyncStateChanged().subscribe(e,()=>L(c.getDrawingSyncState())),()=>{c.onIsActualIntervalChange().unsubscribeAll(e), +c.onLockChanged().unsubscribeAll(e),c.onVisibilityChanged().unsubscribeAll(e),c.onSyncStateChanged().unsubscribeAll(e),t&&t.unsubscribeAll(e),F.current&&clearTimeout(F.current)}},[c]),(0,o.useEffect)(()=>{g&&_.current&&(_.current.focus(),_.current.setSelectionRange(0,b.length))},[g]),(0,o.useEffect)(()=>{const e={};return h.hoveredObjectChanged().subscribe(e,X),()=>{h.hoveredObjectChanged().unsubscribeAll(e)}},[d]),(0,o.useEffect)(()=>{h.setHoveredObject(l?t:null)},[l]),(0,o.useEffect)(()=>{!s&&F.current&&(clearTimeout(F.current),F.current=null),m(!1)},[s]);const P=c.getIcon(),j={};if(a){const e=h.entity(a);e&&(j["data-parent-name"]=e.title()),j["data-type"]=c.hasChildren()?"group":"data-source"}const z=c.title(),V=l||k,H=g&&s,G=!!p&&p.isTouch,W=!!p&&p.isDialog,U=M&&w?Rn:Fn,K=c.hasChildren()?(0,v.t)("Group is hidden on current interval"):(0,v.t)("Drawing is hidden on current interval");return o.createElement("span",{className:E(Pn.wrap,r&&Pn.disabled,s&&Pn.selected,n&&Pn.offset,i&&Pn.childOfSelected,k&&!r&&!s&&!i&&Pn.hover,W&&!r&&!s&&!i&&Pn.dialog),onMouseDown:function(e){g&&!(0,I.ensureNotNull)(_.current).contains(e.target)&&R(!0)},onClick:1===f?Z:function(e){if(e.defaultPrevented)return;if(0!==(0,Ct.modifiersFromEvent)(e))return;if(F.current)e.preventDefault(),clearTimeout(F.current),F.current=null,h.openProperties(c),R(!1);else{const e=h.selection().selected();F.current=setTimeout(()=>{F.current=null,s&&!B&&1===e.length&&h.rename(c,()=>m(!0)),R(!1)},500)}},onContextMenu:G?void 0:Z},!H&&o.createElement(o.Fragment,null,P&&P.type===Mn.Svg&&o.createElement(x.Icon,{icon:P.content||"",className:Pn.icon}),P&&P.type===Mn.Text&&o.createElement("span",{className:E(Pn.icon,Pn.textIcon)},P.content),!1,o.createElement("span",{className:E(Pn.title,h.isMain(c)&&Pn.main,(!c.isVisible()||!M)&&Pn.disabled),...j},z),o.createElement("span",{className:Pn.rightButtons},c.canBeLocked()&&o.createElement(An,{icon:y?On:Bn,className:E(Pn.button,(V||y)&&Pn.visible),onClick:function(e){if(e.defaultPrevented)return;e.preventDefault(),h.setIsLocked(t,!c.isLocked())},"data-role":"button","data-name":"lock","data-active":y}),o.createElement(An,{icon:U,className:E(Pn.button,!M&&[Pn.warn,"apply-common-tooltip"],(V||!w||!M)&&Pn.visible),onClick:M?function(e){if(e.defaultPrevented)return;e.preventDefault(),h.setIsVisible(t,!c.isVisible())}:function(e){if(e.defaultPrevented)return;e.preventDefault(),h.openProperties(c,Nn.TabNames.visibility)},title:M?void 0:K,"data-role":"button","data-name":"hide","data-active":!w}),c.canBeRemoved()&&o.createElement(An,{icon:kn,className:E(Pn.button,(G||V)&&Pn.visible),onClick:function(e){if(e.defaultPrevented)return;e.preventDefault(),e.stopPropagation(),h.remove(t)},"data-role":"button","data-name":"remove"}))),H&&o.createElement(xn.InputControl,{value:b,onChange:function(e){S(e.currentTarget.value)},onClick:yn.preventDefault,className:Pn.renameInput,onKeyDown:function(e){27===(0,Ct.hashFromEvent)(e)?(e.preventDefault(),S(c.title()),m(!1)):13===(0,Ct.hashFromEvent)(e)&&(e.preventDefault(),Q())}, +reference:function(e){_.current=e},onBlur:Q,onDragStart:function(e){e.preventDefault(),e.stopPropagation()},draggable:!0,stretch:!0}));function Z(e){e.defaultPrevented||g||!c.fullyConstructed()||(e.preventDefault(),e.persist(),h.openContextMenu(c,()=>m(!0),e))}function Q(){""!==b&&c.setName(b),S(c.title()),m(!1)}function X(e){if(c.hasChildren()&&!d){const t=null!==e&&c.childrenIds().has(e);O(t)}else O(t===e)}}var Vn=n(32713);class Hn extends o.PureComponent{constructor(e){super(e),this._isMounted=!1,this._dialogRef=o.createRef(),this._renderChildren=e=>o.createElement(Gn,{isSmallTablet:e,viewModel:this.props.viewModel}),this._handleMediaChange=()=>{this.state.showDrawer&&!window.matchMedia(b.DialogBreakpoints.TabletSmall).matches&&this.setState({showDrawer:!1})},this._onManageDrawings=e=>{throw new Error("not supported")},this._closeDrawer=()=>{this.setState({showDrawer:!1})},this._handleContextMenuOpened=e=>{this.setState({isContextMenuOpened:e})},this._matchMedia=window.matchMedia(b.DialogBreakpoints.TabletSmall),this.state={showDrawer:!1,showDialog:!1,isContextMenuOpened:!1}}componentDidMount(){this._isMounted=!0,this._matchMedia.addListener(this._handleMediaChange),this.props.viewModel.isContextMenuOpened().subscribe(this._handleContextMenuOpened)}componentWillUnmount(){this._isMounted=!1,this._matchMedia.removeListener(this._handleMediaChange),this.props.viewModel.isContextMenuOpened().unsubscribe(this._handleContextMenuOpened)}render(){return o.createElement(o.Fragment,null,o.createElement(m.MatchMedia,{rule:b.DialogBreakpoints.TabletSmall},e=>o.createElement(_.AdaptivePopupDialog,{additionalElementPos:"after",additionalHeaderElement:!1,className:Vn.dialog,dataName:"object-tree-dialog",isOpened:!0,onClickOutside:this.state.showDialog||e||this.state.isContextMenuOpened?()=>{}:this.props.onClose,onClose:this.props.onClose,ref:this._dialogRef,render:()=>this._renderChildren(e),title:(0,v.t)("Object tree"),showSeparator:!0})),o.createElement(g.DrawerManager,null,this.state.showDrawer&&o.createElement(f.Drawer,{onClose:this._closeDrawer,position:"Bottom"},o.createElement(S.ManageDrawings,{onClose:this._closeDrawer,chartWidget:this.props.activeChartWidget,isMobile:!0}))))}}function Gn(e){const{isSmallTablet:t,viewModel:n}=e,r=(0,o.useMemo)(()=>({size:t?1:0,smallSizeTreeNodeAction:0}),[t]);return o.createElement(It.Provider,{value:r},o.createElement(In,{nodeRenderer:jn,showHeader:!1,viewModel:n,isDialog:!0}))}var Wn=n(16216),Un=n(54427),Kn=n(2872),Zn=n.n(Kn);var Qn=n(32112);function Xn(e,t){return`${e}:${t}`}function $n(e){const t=e.split(":");return{persistentId:t[0],instanceId:t[1]}}class qn{constructor(e){this._onChange=new(Zn()),this._recalculate=()=>{const e=this._groupModel.groups().map(e=>Xn(e.id,e.instanceId())),t=this._selectionApi.allSources();this._selected=this._selected.filter(n=>e.includes(n)||t.includes(n)),this._onChange.fire(this._selected)},this._model=e,this._selectionApi=new Qn.SelectionApi(this._model),this._groupModel=this._model.lineToolsGroupModel(),this._selected=this._getSelectedIds(), +this._selectionApi.onChanged().subscribe(this,()=>{this._selected=this._getSelectedIds(),this._onChange.fire(this._selected)}),this._groupModel.onChanged().subscribe(this,this._recalculate)}destroy(){this._selectionApi.onChanged().unsubscribeAll(this),this._groupModel.onChanged().unsubscribeAll(this)}set(e){const t=[];let n=e.map(e=>e.id());for(const o of e)if(o.hasChildren()){const e=o.childrenIds();t.push(...Array.from(e.values())),n=n.filter(t=>!e.has(t))}else t.push(o.id());this._selectionApi.set(t.map(e=>$n(e).persistentId)),this._selected=n,this._onChange.fire(this._selected)}canBeAddedToSelection(e){return null!==e&&e.canBeAddedToSelection()}onChange(){return this._onChange}selected(){return this._selected}_getSelectedIds(){return this._selectionApi.allSources().map(e=>this._model.dataSourceForId(e)).filter(ht.notNull).filter(e=>e.showInObjectTree()).map(e=>Xn(e.id(),e.instanceId()))}}class Jn{constructor(e,t){this._controller=e,this._facade=t,this._groupModel=e.model().lineToolsGroupModel()}buildTree(){const e={};for(const t of this._controller.model().panes()){const n=t.sourcesByGroup().all().filter(e=>e.showInObjectTree());e[t.id()]=Yn(t.id(),0);for(const n of this._groupModel.groups()){const o=Xn(n.id,n.instanceId()),r=(0,I.ensureNotNull)(this._facade.getObjectById(o));if(r.pane()===t){const o=[...n.lineTools()].sort((e,t)=>e.zorder()>t.zorder()?-1:1).map(e=>Xn(e.id(),e.instanceId()));e[r.id()]=Yn(r.id(),1,t.id(),o),e[t.id()].children.push(r.id());for(const t of o)e[t]=Yn(t,2,r.id())}}for(const o of n){const n=Xn(o.id(),o.instanceId());e[n]||(e[n]=Yn(n,1,t.id()),e[t.id()].children.push(n))}e[t.id()].children.sort((e,t)=>{const n=(0,I.ensureNotNull)(this._facade.getObjectById(e)),o=(0,I.ensureNotNull)(this._facade.getObjectById(t));return(0,I.ensureNotNull)(o.zOrder())-(0,I.ensureNotNull)(n.zOrder())})}return this._facade.invalidateCache(new Set(Object.keys(e))),e}}function Yn(e,t,n,o=[]){return{id:e,level:t,parentId:n,children:o}}var eo=n(24980),to=n(14291),no=n(81851),oo=n(62443),ro=n(56972),so=n(61671),io=n(85733),lo=n(13696),ao=n(55247),co=n(28337),uo=n(46627);const ho=new eo.TranslatedString("show {title}",(0,v.t)("show {title}")),po=new eo.TranslatedString("hide {title}",(0,v.t)("hide {title}")),fo=new eo.TranslatedString("lock {title}",(0,v.t)("lock {title}")),go=new eo.TranslatedString("unlock {title}",(0,v.t)("unlock {title}")),mo=new eo.TranslatedString("change {sourceTitle} title to {newSourceTitle}",(0,v.t)("change {sourceTitle} title to {newSourceTitle}")),vo=new eo.TranslatedString("insert source(s) after",(0,v.t)("insert source(s) after"));function _o(e,t){return t.every(t=>!(t.pane()!==e&&!t.allowsMovingbetweenPanes()))}function bo(e){return e instanceof oo.DataSource&&e.showInObjectTree()?Xn(e.id(),e.instanceId()):null}function So(e){return new eo.TranslatedString(e.name(),e.title())}const yo=new(Zn());class Co{constructor(e,t){this._syncStateChanged=new(Zn()),this._lineToolsAffectChartInvalidation=new uo.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1), +this._updateSyncState=()=>{this._syncStateChanged.fire((0,I.ensureNotNull)(this.getDrawingSyncState()))},this._undoModel=e,this._dataSource=t,(0,to.isLineTool)(this._dataSource)&&(this._dataSource.linkKey().subscribe(this._updateSyncState),this._dataSource.sharingMode().subscribe(this._updateSyncState));const n=this._undoModel.lineBeingCreated();null!==n&&n===t&&n.isSynchronizable()&&io.isToolCreatingNow.subscribe(this._updateSyncState)}destroy(){(0,to.isLineTool)(this._dataSource)&&(this._dataSource.linkKey().unsubscribe(this._updateSyncState),this._dataSource.sharingMode().unsubscribe(this._updateSyncState)),io.isToolCreatingNow.unsubscribe(this._updateSyncState)}id(){return Xn(this._dataSource.id(),this._dataSource.instanceId())}title(){const e=this._dataSource;return(0,to.isLineTool)(e)?e.properties().title.value()||e.translatedType():(0,ro.isSeries)(e)&&this._undoModel.mainSeries()===e?e.symbolTitle(void 0,void 0,(0,bt.onWidget)()?"exchange":"listed_exchange"):e.title()}gaLabel(){return(0,no.isStudy)(this._dataSource)?"Study":(0,to.isLineTool)(this._dataSource)?"Drawing":"Symbol"}canBeLocked(){return(0,to.isLineTool)(this._dataSource)&&this._dataSource.userEditEnabled()}canBeRemoved(){return this._undoModel.mainSeries()!==this._dataSource&&this._dataSource.isUserDeletable()}canBeHidden(){return this._dataSource.canBeHidden()}canBeRenamed(){return(0,to.isLineTool)(this._dataSource)}fullyConstructed(){return this._undoModel.lineBeingCreated()!==this._dataSource}isVisible(){return this._dataSource.properties().visible.value()}isActualInterval(){return!(0,to.isLineTool)(this._dataSource)&&!(0,no.isStudy)(this._dataSource)||this._dataSource.isActualInterval()}onIsActualIntervalChange(){return(0,to.isLineTool)(this._dataSource)||(0,no.isStudy)(this._dataSource)?this._dataSource.onIsActualIntervalChange():yo}isLocked(){return!!(0,to.isLineTool)(this._dataSource)&&this._dataSource.properties().frozen.value()}onVisibilityChanged(){return this._dataSource.properties().visible.listeners()}onLockChanged(){return(0,to.isLineTool)(this._dataSource)?this._dataSource.properties().frozen.listeners():yo}getIcon(){const e=c,t=this._dataSource.getSourceIcon(),n=(0,no.isStudyStrategy)(this._dataSource);let o={type:Mn.Svg,content:n?lo:ao};if(e&&t)if("loadSvg"===t.type){const[n,r]=t.svgId.split("."),s="linetool"===n?e.linetool[r]:e.series[Number(r)];o={type:Mn.Svg,content:s||ao}}else"text"===t.type&&(o={type:Mn.Text,content:t.text});return o}setVisible(e){const t=(e?ho:po).format({title:So(this._dataSource)});this._undoModel.setProperty(this._dataSource.properties().visible,e,t)}setLocked(e){if((0,to.isLineTool)(this._dataSource)){const t=(e?fo:go).format({title:So(this._dataSource)});this._undoModel.setProperty(this._dataSource.properties().frozen,e,t)}}setName(e){if((0,to.isLineTool)(this._dataSource)){const t=mo.format({sourceTitle:this._dataSource.properties().title.value()||So(this._dataSource),newSourceTitle:e});this._undoModel.setProperty(this._dataSource.properties().title,e,t,this._lineToolsAffectChartInvalidation.value())}} +isCopiable(){return this._dataSource.copiable()}isClonable(){return this._dataSource.cloneable()}zOrder(){return this._dataSource.zorder()}remove(){this._undoModel.removeSource(this._dataSource,!1)}canBeAddedToSelection(){return this._undoModel.selection().canBeAddedToSelection(this._dataSource)}setAsSelection(){this._undoModel.model().selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection(this._dataSource)})}addToSelection(){this._undoModel.model().selectionMacro(e=>{e.addSourceToSelection(this._dataSource)})}addSourcesToArray(e){return e.push(this._dataSource),e}insertSourcesBeforeThis(e){this._insertSources(e,e=>this._undoModel.insertBefore(e,this._dataSource))}insertSourcesAfterThis(e){this._insertSources(e,e=>this._undoModel.insertAfter(e,this._dataSource))}childrenIds(){return new Set}hasChildren(){return!1}pane(){return(0,I.ensureNotNull)(this._undoModel.model().paneForSource(this._dataSource))}allowsMovingbetweenPanes(){return!(0,to.isLineTool)(this._dataSource)}canBeAddedToGroup(){return(0,to.isLineTool)(this._dataSource)&&this._dataSource.boundToSymbol()}canInsertBeforeThis(e){return this._canInsertBeforeOrAfter(e)}canInsertAfterThis(e){return this._canInsertBeforeOrAfter(e)}detachFromParent(){if((0,to.isLineTool)(this._dataSource)){const e=this._undoModel.model(),t=this._undoModel.lineToolsGroupController(),n=e.lineToolsGroupModel().groupForLineTool(this._dataSource);null!==n&&t.excludeLineToolFromGroup(n,this._dataSource)}}onTitleChanged(){const e=this._dataSource.properties().title;return e?e.listeners():void 0}canBeSyncedInLayout(){return(0,to.isLineTool)(this._dataSource)&&this._dataSource.isSynchronizable()}onSyncStateChanged(){return this._syncStateChanged}setDrawingSyncState(e){if(!this.canBeSyncedInLayout()||!this.fullyConstructed())return;const t=this._dataSource;switch(e){case 0:if(null===t.linkKey().value())return;this._undoModel.unlinkLines([t]);break;case 1:if(null!==t.linkKey().value())return;this._undoModel.copyToOtherCharts([t])}}getDrawingSyncState(){return this.canBeSyncedInLayout()?this.fullyConstructed()&&null!==this._dataSource.linkKey().value()?1:0:null}doNotAffectChartInvalidation(){return(0,to.isLineTool)(this._dataSource)&&this._lineToolsAffectChartInvalidation.value()}_canInsertBeforeOrAfter(e){const t=this._undoModel.model();if(!_o(this.pane(),e))return!1;if((0,to.isLineTool)(this._dataSource)){if(null!==t.lineToolsGroupModel().groupForLineTool(this._dataSource)&&e.some(e=>!e.canBeAddedToGroup()))return!1}return!0}_insertSources(e,t){const n=this._undoModel.model(),o=this._undoModel.lineToolsGroupController();this._undoModel.beginUndoMacro(vo);const r=()=>{e.forEach(e=>e.detachFromParent())},s=e.reduce((e,t)=>t.addSourcesToArray(e),[]);if((0,to.isLineTool)(this._dataSource)){const t=n.lineToolsGroupModel().groupForLineTool(this._dataSource);null!==t?((0,I.assert)(!e.some(e=>e.hasChildren())),s.forEach(e=>{(0,to.isLineTool)(e)&&(t.containsLineTool(e)||o.addLineToolToGroup(t,e))})):r()}else r();t(s),this._undoModel.endUndoMacro()}}class wo{constructor(e,t){ +this._onTitleChanged=new(Zn()),this._onVisibilityChanged=new(Zn()),this._onLockChanged=new(Zn()),this._onIsActualIntervalChanged=new(Zn()),this._syncStateChanged=new(Zn()),this._linkKeyChangedBound=this._linkKeyChanged.bind(this),this._lineToolsAffectChartInvalidation=new uo.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1),this._undoModel=e,this._group=t,this._lineTools=t.lineTools(),this._paneId=(0,I.ensureNotNull)(e.model().paneForSource(this._lineTools[0])).id();const n=()=>{this._lineTools.forEach(e=>{e.properties().visible.listeners().subscribe(this,()=>this._onVisibilityChanged.fire()),e.properties().frozen.listeners().subscribe(this,()=>this._onLockChanged.fire()),e.onIsActualIntervalChange().subscribe(this,()=>this._onIsActualIntervalChanged.fire()),e.linkKey().subscribe(this._linkKeyChangedBound),e.sharingMode().subscribe(this._linkKeyChangedBound)})};this._group.onChanged().subscribe(this,e=>{this._unsubscribeFromAllLineTools(),this._lineTools=this._group.lineTools(),n(),e.lockedChanged&&this._onLockChanged.fire(),e.visibilityChanged&&this._onVisibilityChanged.fire(),e.titleChanged&&this._onTitleChanged.fire(),e.isActualIntervalChanged&&this._onIsActualIntervalChanged.fire();const t=this.getDrawingSyncState();null!==t&&this._syncStateChanged.fire(t)}),n(),this._lastActualZOrder=this.zOrder(),this._lastIsVisible=this.isVisible(),this._lastIsActualInterval=this.isActualInterval(),this._lastIsLocked=this.isLocked()}destroy(){this._unsubscribeFromAllLineTools(),this._group.onChanged().unsubscribeAll(this)}id(){return Xn(this._group.id,this._group.instanceId())}title(){return this._group.name()}gaLabel(){return"Group"}getIcon(){return{type:Mn.Svg,content:co}}canBeRemoved(){return!0}canBeHidden(){return!0}canBeLocked(){return!0}canBeRenamed(){return!0}fullyConstructed(){return!0}isVisible(){return this._group.lineTools().length>0&&(this._lastIsVisible="Invisible"!==this._group.visibility()),this._lastIsVisible}isActualInterval(){return this._group.lineTools().length>0&&(this._lastIsActualInterval=this._group.lineTools().some(e=>e.isActualInterval())),this._lastIsActualInterval}onIsActualIntervalChange(){return this._onIsActualIntervalChanged}isLocked(){return this._group.lineTools().length>0&&(this._lastIsLocked="Locked"===this._group.locked()),this._lastIsLocked}onTitleChanged(){return this._onTitleChanged}onVisibilityChanged(){return this._onVisibilityChanged}onLockChanged(){return this._onLockChanged}setVisible(e){this._undoModel.lineToolsGroupController().setGroupVisibility(this._group,e)}setLocked(e){this._undoModel.lineToolsGroupController().setGroupLock(this._group,e)}setName(e){this._undoModel.lineToolsGroupController().setGroupName(this._group,e)}isCopiable(){return!1}isClonable(){return!1}zOrder(){return this._group.lineTools().length>0&&(this._lastActualZOrder=this._group.lineTools()[0].zorder()),this._lastActualZOrder}remove(){this._undoModel.lineToolsGroupController().removeGroup(this._group)}canBeAddedToSelection(){const e=this._undoModel.model() +;return this._lineTools.every(t=>e.selection().canBeAddedToSelection(t))}setAsSelection(){this._undoModel.model().selectionMacro(e=>{e.clearSelection(),this._lineTools.forEach(t=>e.addSourceToSelection(t))})}addToSelection(){this._undoModel.model().selectionMacro(e=>{this._lineTools.forEach(t=>e.addSourceToSelection(t))})}addSourcesToArray(e){return e.push(...this._lineTools),e}detachFromParent(){}insertSourcesBeforeThis(e){const t=this._insertBeforeTarget();this._insertSources(e,e=>this._undoModel.insertBefore(e,t))}insertSourcesAfterThis(e){const t=this._insertAfterTarget();this._insertSources(e,e=>this._undoModel.insertAfter(e,t))}childrenIds(){const e=[...this._lineTools];return e.sort((e,t)=>t.zorder()-e.zorder()),new Set(e.map(e=>Xn(e.id(),e.instanceId())))}hasChildren(){return!0}pane(){return(0,I.ensureDefined)(this._undoModel.model().panes().find(e=>e.id()===this._paneId))}allowsMovingbetweenPanes(){return!1}canBeAddedToGroup(){return!1}canInsertBeforeThis(e){return this._canInsertBeforeOrAfter(e)}canInsertAfterThis(e){return this._canInsertBeforeOrAfter(e)}canBeSyncedInLayout(){return this._lineTools.length>0&&this._lineTools[0].isSynchronizable()}onSyncStateChanged(){return this._syncStateChanged}setDrawingSyncState(e){if(this.canBeSyncedInLayout())switch(e){case 0:const e=this._lineTools.filter(e=>null!==e.linkKey().value());e.length>0&&this._undoModel.unlinkLines(e);break;case 1:const t=this._lineTools.filter(e=>null===e.linkKey().value());t.length>0&&this._undoModel.copyToOtherCharts(t)}}getDrawingSyncState(){return this.canBeSyncedInLayout()?this._lineTools.every(e=>null!==e.linkKey().value())?1:0:null}doNotAffectChartInvalidation(){return this._lineToolsAffectChartInvalidation.value()}_linkKeyChanged(){this._syncStateChanged.fire((0,I.ensureNotNull)(this.getDrawingSyncState()))}_canInsertBeforeOrAfter(e){return _o(this.pane(),e)}_insertSources(e,t){this._undoModel.beginUndoMacro(vo);const n=e.reduce((e,t)=>t.addSourcesToArray(e),[]);e.forEach(e=>e.detachFromParent()),t(n),this._undoModel.endUndoMacro()}_insertBeforeTarget(){return(0,I.ensureNotNull)(this._lineTools.reduce((e,t)=>null===e?t:e.zorder()null===e?t:e.zorder()>t.zorder()?e:t,null))}_unsubscribeFromAllLineTools(){this._lineTools.forEach(e=>{e.properties().visible.listeners().unsubscribeAll(this),e.properties().frozen.listeners().unsubscribeAll(this),e.onIsActualIntervalChange().unsubscribeAll(this),e.linkKey().unsubscribe(this._linkKeyChangedBound),e.sharingMode().unsubscribe(this._linkKeyChangedBound)})}}class To{constructor(e){this._hoveredObjectChanged=new(Zn()),this._entitiesCache=new Map,this._undoModel=e,this._undoModel.model().hoveredSourceChanged().subscribe(this,this._onModelHoveredSourceChanged)}destroy(){for(const e of this._entitiesCache.values())null==e||e.destroy()}getObjectById(e){if(this._entitiesCache.has(e))return(0,I.ensureDefined)(this._entitiesCache.get(e));const t=this._createObjectById(e) +;return this._entitiesCache.set(e,t),t}invalidateCache(e){Array.from(this._entitiesCache.keys()).forEach(t=>{var n;e.has(t)||(null===(n=this._entitiesCache.get(t))||void 0===n||n.destroy(),this._entitiesCache.delete(t))})}canBeGroupped(e){if(0===e.length||1===e.length&&e[0].hasChildren())return!1;const t=[];if(e.forEach(e=>e.addSourcesToArray(t)),t.some(e=>!(0,to.isLineTool)(e)||!e.boundToSymbol()))return!1;const n=this._undoModel.model(),o=t.map(e=>n.paneForSource(e));return!(new Set(o).size>1)}contextMenuActions(e,t,n){const o=new so.ActionsProvider(e,n),r=[];return t.forEach(e=>e.addSourcesToArray(r)),o.contextMenuActionsForSources(r)}insertBefore(e,t){t.insertSourcesAfterThis(e)}insertAfter(e,t){t.insertSourcesBeforeThis(e)}setHoveredObject(e){const t=this._undoModel.model();if(null===e)return void t.setHoveredSource(null,null);const n=t.dataSourceForId(e);null!==n&&t.setHoveredSource(n,null)}hoveredObjectId(){return bo(this._undoModel.model().hoveredSource())}hoveredObjectChanged(){return this._hoveredObjectChanged}_onModelHoveredSourceChanged(e){this._hoveredObjectChanged.fire(bo(e))}_createObjectById(e){const t=$n(e).persistentId,n=this._undoModel.model(),o=n.dataSourceForId(t);if(null!==o)return new Co(this._undoModel,o);const r=n.lineToolsGroupModel().groupForId(t);return null!==r?new wo(this._undoModel,r):null}}var Io=n(22932),Eo=n(97056),Mo=n(28296),xo=n(52714),Do=n.n(xo),Ao=n(76576),Lo=n(54859),No=n(48111),ko=n(57914),Oo=n(94669),Bo=n(78679);const Ro=(0,l.getLogger)("Platform.GUI.ObjectTree");const Fo=new eo.TranslatedString("move objects",(0,v.t)("move objects")),Po=new eo.TranslatedString("lock objects",(0,v.t)("lock objects")),jo=new eo.TranslatedString("unlock objects",(0,v.t)("unlock objects")),zo=new eo.TranslatedString("show objects",(0,v.t)("show objects")),Vo=new eo.TranslatedString("hide objects",(0,v.t)("hide objects")),Ho=new eo.TranslatedString("remove objects",(0,v.t)("remove objects")),Go=(0,v.t)("Create a group of drawings"),Wo=(0,v.t)("Rename"),Uo=(0,v.t)("Unlock"),Ko=(0,v.t)("Lock"),Zo=(0,v.t)("Hide"),Qo=(0,v.t)("Show"),Xo=(0,v.t)("Remove");class $o{constructor(e){this._nodes={},this._onChange=new(Zn()),this._onGroupCreated=new(Zn()),this._subscriptions=[],this._removeSourcesPromise=null,this._timeout=null,this._objects=[],this._options={general:!0,mainSeries:!0,mainSeriesTrade:!0,esdStudies:!0,fundamentals:!0,studies:!0,lineTools:!0,publishedCharts:!0,ordersAndPositions:!0,alerts:!1,chartEvents:!0,objectTree:!1,gotoLineTool:!0},this._isContextMenuOpened=new(Do())(!1),this._getObjectsToModify=e=>{const t=this.selection().selected();return t.find(t=>t===e)?t.map(this._ensuredEntity):[this._ensuredEntity(e)]},this._onActiveChartChanged=()=>{this._cleanup(),this._init()},this._cleanup=()=>{null!==this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this._subscriptions.forEach(e=>{e.unsubscribeAll(this)}),this._selection.destroy(),this._chart.unsubscribe(this._onActiveChartChanged),null!==this._removeSourcesPromise&&this._removeSourcesPromise.cancel(),this._facade.destroy()}, +this._init=()=>{const e=this._chart.value();e.hasModel()&&(this._controller=e.model(),this._groupController=this._controller.lineToolsGroupController(),this._model=this._controller.model(),this._groupModel=this._model.lineToolsGroupModel(),this._facade=new To(this._controller),this._subscriptions=[this._model.mainSeries().onStyleChanged(),this._model.mainSeries().dataEvents().symbolResolved(),this._model.mainSeries().onIntervalChanged(),this._model.panesCollectionChanged(),this._model.dataSourceCollectionChanged(),this._groupModel.onChanged()],this._subscriptions.forEach(e=>{e.subscribe(this,this._update)}),this._chart.subscribe(this._onActiveChartChanged),this._selection=new qn(this._model),this._update())},this._update=()=>{null===this._timeout&&(this._timeout=setTimeout(()=>{this._recalculateTree(),this._onChange.fire(),this._timeout=null}))},this._ensuredEntity=e=>(0,I.ensureNotNull)(this._getEntityById(e)),this._chart=e,this._init()}destroy(){this._cleanup()}getState(){return{nodes:Object.values(this._nodes),selection:this._selection.selected()}}getChartId(){return this._chart.value().id()}insertSelection(e,t){const n=this._facade,o=this.selection().selected().map(this._ensuredEntity),[r,s]=this._normalizeTargetAndDropType(e,t);this._controller.withMacro(Fo,()=>{switch(s){case"before":n.insertBefore(o,r);break;case"after":n.insertAfter(o,r)}}),this._update()}entity(e){return this._facade.getObjectById(e)}isMain(e){return $n(e.id()).persistentId===this._controller.mainSeries().id()}selection(){return this._selection}setIsLocked(e,t){const n=this._getObjectsToModify(e),o=n.every(e=>e.doNotAffectChartInvalidation()),r=t?Po:jo;this._controller.withMacro(r,()=>{for(const e of n)e.setLocked(t)},o),hn("Lock",pn(n))}setIsVisible(e,t){const n=this._getObjectsToModify(e),o=n.every(e=>e.doNotAffectChartInvalidation()),r=t?zo:Vo;this._controller.withMacro(r,()=>{for(const e of n)e.setVisible(t)},o),hn("Hide",pn(n))}remove(e){const t=()=>{const e=n.every(e=>e.doNotAffectChartInvalidation());this._controller.withMacro(Ho,()=>{for(const e of n)e.remove()},e),hn("Delete",pn(n)),this._update()},n=this._getObjectsToModify(e);t()}canSelectionBeGrouped(){const e=this._getSelectedEntities();return this._facade.canBeGroupped(e)}createGroupFromSelection(){const e=this._groupController.createGroupFromSelection();hn("Create Group");const t=Xn(e.id,e.instanceId());this.selection().set([this._ensuredEntity(t)]),this._onGroupCreated.fire(t),this._update()}isSelectionDropable(e,t){const n=this.selection().selected().map(this._ensuredEntity),[o,r]=this._normalizeTargetAndDropType(e,t);switch(r){case"after":return o.canInsertAfterThis(n);case"before":return o.canInsertBeforeThis(n)}}onChange(){return this._onChange}onGroupCreated(){return this._onGroupCreated}isSelectionCloneable(){const e=this._getSelectedEntities();return e.length>0&&e.every(e=>e.isClonable())}isSelectionCopiable(){const e=this._getSelectedEntities();return e.length>0&&e.every(e=>e.isCopiable())}openProperties(e,t){ +const n=this._model.dataSourceForId($n(e.id()).persistentId);this.selection().selected().length>1&&this.selection().selected().includes(e.id())?this._chart.value().showSelectedSourcesProperties(t):(this.selection().set([e]),null!==n?this._controller.mainSeries()===n?this._chart.value().showGeneralChartProperties():((0,to.isLineTool)(n)||(0,no.isStudy)(n))&&this._chart.value().showChartPropertiesForSource(n,t):this._chart.value().showChartPropertiesForSources({sources:this._chart.value().model().selection().lineDataSources(),title:e.title(),tabName:t,renamable:!0}))}canSelectionBeUnmerged(){const e=this._getSelectedEntities();return 1===e.length&&this.canNodeWithIdBeUnmerged($n(e[0].id()).persistentId)}canNodeWithIdBeUnmerged(e){const t=this._model.dataSourceForId(e);return null!==t&&(0,Io.isPriceDataSource)(t)&&this._model.isUnmergeAvailableForSource(t)}unmergeSelectionUp(){this._unmergeSelection(0)}unmergeSelectionDown(){this._unmergeSelection(1)}copySelection(){const e=this._getSelectedEntities(),t=e.map(e=>(0,I.ensureNotNull)(this._model.dataSourceForId($n(e.id()).persistentId)));this._chart.value().chartWidgetCollection().clipboard.uiRequestCopy(t),hn("Copy",pn(e))}cloneSelection(){const e=this._getSelectedEntities(),t=e.map(e=>(0,I.ensureNotNull)(this._model.dataSourceForId($n(e.id()).persistentId)));t.every(to.isLineTool)&&(this._controller.cloneLineTools([...t],!1),hn("Clone",pn(e)))}rename(e,t){const n=this._getObjectsToModify(e.id());1===n.length&&n.some(e=>e.canBeRenamed())&&(t(),hn("Rename",pn(n)))}async openContextMenu(e,t,n){var o;this._objects=this._getObjectsToModify(e.id());const r=this._facade.canBeGroupped(this._objects);let s;if(this._objects.some(e=>e.hasChildren()))s=this._getActionsForGroupItem(e,t,r);else{const e=await this._facade.contextMenuActions(this._chart.value(),this._objects,this._options);if(s=Array.from(e).filter((e,t,n)=>"separator"!==e.type||!n[t+1]||"separator"!==n[t+1].type),1===this._objects.length&&this._objects[0].canBeRenamed()){const e=s.findIndex(e=>"Copy"===e.id);s.splice(-1===e?s.length:e+1,0,this._getRenameAction(t))}if(r){const e=s.findIndex(e=>"Clone"===e.id);s.splice(-1===e?0:e,0,this._getGroupAction())}}if(s.length>0){this._chart.value().updateActions();const t=$n(e.id()).persistentId,r=this._model.dataSourceForId(t),i=r instanceof ro.Series,l=0!==e.childrenIds().size;let a;a=i?{menuName:"ObjectTreeContextMenu",detail:{type:"series",id:r.instanceId()}}:(0,to.isLineTool)(r)?{menuName:"ObjectTreeContextMenu",detail:{type:"shape",id:null!==(o=null==r?void 0:r.id())&&void 0!==o?o:null}}:l?{menuName:"ObjectTreeContextMenu",detail:{type:"groupOfShapes",id:t||null}}:{menuName:"ObjectTreeContextMenu",detail:{type:"study",id:(null==r?void 0:r.id())||null}},Eo.ContextMenuManager.showMenu(s,n,{takeFocus:!0,returnFocus:!0},a,()=>{this._isContextMenuOpened.setValue(!1)}).then(()=>{this._isContextMenuOpened.setValue(!0)})}}setHoveredObject(e){this._facade.setHoveredObject(e)}hoveredObjectChanged(){return this._facade.hoveredObjectChanged()}getNextNodeIdAfterRemove(e){var t +;const{nodes:n}=this.getState(),o=$n(e).persistentId,r=n.find(t=>t.id===e),s=this.entity(e);if(!(r&&r.parentId&&s&&s.canBeRemoved()))return null;if((null===(t=s.pane().mainDataSource())||void 0===t?void 0:t.id())===o&&!this.canNodeWithIdBeUnmerged(o)){const e=n.filter(e=>0===e.level).map(e=>e.id),t=this._takeNextOrPrevElement(e,r.parentId);return(0,I.ensureDefined)(n.find(e=>e.id===t)).children[0]}const i=(0,I.ensureDefined)(n.find(e=>e.id===r.parentId)).children;return 1===i.length?this.getNextNodeIdAfterRemove(r.parentId):this._takeNextOrPrevElement(i,e)}isContextMenuOpened(){return this._isContextMenuOpened.readonly()}getChartLayout(){return this._chart.value().chartWidgetCollection().layout}_takeNextOrPrevElement(e,t){const n=e.indexOf(t);return e[n===e.length-1?n-1:n+1]}_getGroupAction(){return new Mo.Action({actionId:"ObjectsTree.CreateGroup",label:Go,icon:R,onExecute:()=>{this.createGroupFromSelection()}})}_getRenameAction(e){return new Mo.Action({actionId:"ObjectsTree.RenameItem",label:Wo,icon:Oo,onExecute:()=>{e(),hn("Context menu rename",pn(this._objects))}})}_getActionsForGroupItem(e,t,n){const o=[];this._objects.forEach(e=>e.addSourcesToArray(o));const r=[];1===this._objects.length&&r.unshift(this._getRenameAction(t),new Mo.Separator),n&&r.unshift(this._getGroupAction(),new Mo.Separator);const s=(0,so.createSyncDrawingActions)(this._chart.value(),o.filter(to.isLineTool));return s.length&&(s.shift(),s.push(new Mo.Separator),r.push(...s)),r.push(new Mo.Action({actionId:"ObjectsTree.ToggleItemLocked",label:e.isLocked()?Uo:Ko,icon:e.isLocked()?Ao:Lo,onExecute:()=>this.setIsLocked(e.id(),!e.isLocked())}),new Mo.Action({actionId:"ObjectsTree.ToggleItemVisibility",label:e.isVisible()?Zo:Qo,icon:e.isVisible()?No:ko,onExecute:()=>this.setIsVisible(e.id(),!e.isVisible())}),new Mo.Action({actionId:"ObjectsTree.RemoveItem",label:Xo,icon:Bo,onExecute:()=>this.remove(e.id()),hotkeyHash:Ct.isMacKeyboard?8:46}),new Mo.Separator,this._chart.value().actions().format),r}_unmergeSelection(e){const t=this._getSelectedEntities();if(1!==t.length)throw new Error("Only one object can be unmerged");const n=t[0],o=(0,I.ensureNotNull)(this._model.dataSourceForId($n(n.id()).persistentId));if(!(0,Io.isPriceDataSource)(o))throw new Error("Entity is not IPriceDataSource");(0===e?this._controller.unmergeSourceUp:this._controller.unmergeSourceDown).call(this._controller,o);hn(0===e?"New pane above":"New pane below",pn([n]))}_recalculateTree(){const e=new Jn(this._controller,this._facade);this._nodes=e.buildTree()}_normalizeTargetAndDropType(e,t){let n=this._ensuredEntity(e);return"inside"===t&&(t="before",n=(0,I.ensureNotNull)(this.entity([...n.childrenIds()].shift()||""))),[n,t]}_getSelectedEntities(){const{selected:e,removed:t}=this._selection.selected().reduce((e,t)=>{const n=this._getEntityById(t);return n?(e.selected.push(n),e):(e.removed.push(t),e)},{selected:[],removed:[]});return t.length&&Ro.logWarn("Detected dangling sources in selection. They will be ignored: "+JSON.stringify(t)),e}_getEntityById(e){ +return this._facade.getObjectById(e)}}var qo=n(22729);class Jo extends qo.DialogRenderer{constructor(){super(),this._handleClose=()=>{r.unmountComponentAtNode(this._container),this._setVisibility(!1),null!==this._viewModel&&(this._viewModel.destroy(),this._viewModel=null)};const e=(0,Wn.service)(Un.CHART_WIDGET_COLLECTION_SERVICE);this._activeChartWidget=e.activeChartWidget.value(),this._viewModel=new $o(e.activeChartWidget)}hide(){this._handleClose()}isVisible(){return this.visible().value()}show(){p().then(()=>{null!==this._viewModel&&(r.render(o.createElement(Hn,{onClose:this._handleClose,viewModel:this._viewModel,activeChartWidget:this._activeChartWidget}),this._container),this._setVisibility(!0))})}}},36947:(e,t,n)=>{"use strict";n.d(t,{useForceUpdate:()=>r});var o=n(59496);const r=()=>{const[,e]=(0,o.useReducer)((e,t)=>e+1,0);return e}},77975:(e,t,n)=>{"use strict";n.d(t,{useWatchedValueReadonly:()=>r});var o=n(59496);const r=(e,t=!1)=>{const n="watchedValue"in e?e.watchedValue:void 0,r="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[s,i]=(0,o.useState)(n?n.value():r);return(t?o.useLayoutEffect:o.useEffect)(()=>{if(n){i(n.value());const e=e=>i(e);return n.subscribe(e),()=>n.unsubscribe(e)}return()=>{}},[n]),s}},61074:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>i});var o=n(59496),r=n(97754),s=n(33134);n(24780);function i(e){const t=r(e.className,"tv-spinner","tv-spinner--shown","tv-spinner--size_"+s.spinnerSizeMap[e.size||s.DEFAULT_SIZE]);return o.createElement("div",{className:t,style:e.style,role:"progressbar"})}},70029:e=>{e.exports=''},72802:e=>{e.exports=''},94669:e=>{ +e.exports=''},88142:e=>{e.exports=''},28337:e=>{e.exports=''},38593:e=>{e.exports=''},68256:e=>{e.exports=''},20077:e=>{ +e.exports=''},36666:e=>{e.exports=''},57914:e=>{e.exports=''},13696:e=>{e.exports=''},55247:e=>{e.exports=''},3589:e=>{e.exports=''},82308:e=>{ +e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/object-tree-dialog.f7df9d670cdf61d960af.js b/charting_library/bundles/object-tree-dialog.f7df9d670cdf61d960af.js deleted file mode 100644 index 1031df75..00000000 --- a/charting_library/bundles/object-tree-dialog.f7df9d670cdf61d960af.js +++ /dev/null @@ -1,31 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4862],{21103:e=>{e.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:e=>{e.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:e=>{e.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},64547:e=>{e.exports={button:"button-SS83RYhy"}},62461:e=>{e.exports={dropTargetInside:"dropTargetInside-HaSQHZAC",dropTarget:"dropTarget-HaSQHZAC",before:"before-HaSQHZAC",after:"after-HaSQHZAC"}},91069:e=>{e.exports={wrap:"wrap-XdW9S1Ib",selected:"selected-XdW9S1Ib",childOfSelected:"childOfSelected-XdW9S1Ib",disabled:"disabled-XdW9S1Ib",expandHandle:"expandHandle-XdW9S1Ib",expanded:"expanded-XdW9S1Ib"}},34244:e=>{e.exports={separator:"separator-KFALCIeR",tree:"tree-KFALCIeR",overlayScrollWrap:"overlayScrollWrap-KFALCIeR",listContainer:"listContainer-KFALCIeR"}},9267:e=>{e.exports={title:"title-f0amBBvb",empty:"empty-f0amBBvb",image:"image-f0amBBvb",spinner:"spinner-f0amBBvb",contentList:"contentList-f0amBBvb"}},32713:e=>{e.exports={dialog:"dialog-W0U3ul53",button:"button-W0U3ul53"}},41223:e=>{e.exports={title:"title-0UFIVbgR",withoutIcon:"withoutIcon-0UFIVbgR",buttons:"buttons-0UFIVbgR",button:"button-0UFIVbgR",disabled:"disabled-0UFIVbgR"}},89559:e=>{e.exports={wrap:"wrap-hEebyvPo",dialog:"dialog-hEebyvPo",offset:"offset-hEebyvPo",title:"title-hEebyvPo",main:"main-hEebyvPo",disabled:"disabled-hEebyvPo",icon:"icon-hEebyvPo",textIcon:"textIcon-hEebyvPo",syncIconWrap:"syncIconWrap-hEebyvPo",syncIcon:"syncIcon-hEebyvPo",rightButtons:"rightButtons-hEebyvPo",hover:"hover-hEebyvPo",expandHandle:"expandHandle-hEebyvPo",button:"button-hEebyvPo",selected:"selected-hEebyvPo",childOfSelected:"childOfSelected-hEebyvPo",renameInput:"renameInput-hEebyvPo", -warn:"warn-hEebyvPo",visible:"visible-hEebyvPo"}},48247:e=>{e.exports={wrap:"wrap-gUfy4kTJ",space:"space-gUfy4kTJ",tree:"tree-gUfy4kTJ"}},30608:e=>{e.exports={button:"button-IulLF4sY",disabled:"disabled-IulLF4sY"}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>o});const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>_,InputClasses:()=>g});var o=n(59496),r=n(97754),s=n(88537),i=n(66092),l=n(90186),a=n(86332),c=n(95604);var d=n(21103),u=n.n(d);function h(e){let t="";return 0!==e&&(1&e&&(t=r(t,u()["no-corner-top-left"])),2&e&&(t=r(t,u()["no-corner-top-right"])),4&e&&(t=r(t,u()["no-corner-bottom-right"])),8&e&&(t=r(t,u()["no-corner-bottom-left"]))),t}function p(e,t,n,o){const{removeRoundBorder:s,className:i,intent:l="default",borderStyle:a="thin",size:d,highlight:p,disabled:f,readonly:g,stretch:m,noReadonlyStyles:v,isFocused:_}=e,b=h(null!=s?s:(0,c.getGroupCellRemoveRoundBorders)(n));return r(u().container,u()["intent-"+l],u()["border-"+a],d&&u()["size-"+d],b,p&&u()["with-highlight"],f&&u().disabled,g&&!v&&u().readonly,_&&u().focused,m&&u().stretch,t&&u().grouped,!o&&u()["adjust-position"],n.isTop&&u()["first-row"],n.isLeft&&u()["first-col"],i)}function f(e,t){const{highlight:n,highlightRemoveRoundBorder:o}=e;if(!n)return u().highlight;const s=h(null!=o?o:(0,c.getGroupCellRemoveRoundBorders)(t));return r(u().highlight,u().shown,s)}const g={FontSizeMedium:(0,s.ensureDefined)(u()["font-size-medium"]),FontSizeLarge:(0,s.ensureDefined)(u()["font-size-large"])},m={passive:!1};function v(e,t){const{id:n,role:r,onFocus:s,onBlur:c,onMouseOver:d,onMouseOut:u,onMouseDown:h,onMouseUp:g,onKeyDown:v,onClick:_,tabIndex:b,startSlot:S,middleSlot:y,endSlot:C,onWheel:w,onWheelNoPassive:T=null}=e,{isGrouped:I,cellState:E,disablePositionAdjustment:M=!1}=(0,o.useContext)(a.ControlGroupContext),x=function(e,t=null,n){const r=(0,o.useRef)(null),s=(0,o.useRef)(null),i=(0,o.useCallback)(()=>{if(null===r.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&r.current.addEventListener(e,t,n)},[]),l=(0,o.useCallback)(()=>{if(null===r.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&r.current.removeEventListener(e,t,n)},[]),a=(0,o.useCallback)(e=>{l(),r.current=e,i()},[]);return(0,o.useEffect)(()=>(s.current=[e,t,n],i(),l),[e,t,n]),a}("wheel",T,m);return o.createElement("span",{id:n,role:r,className:p(e,I,E,M),tabIndex:b,ref:(0,i.useMergedRefs)([t,x]),onFocus:s,onBlur:c,onMouseOver:d,onMouseOut:u,onMouseDown:h,onMouseUp:g,onKeyDown:v,onClick:_,onWheel:w,...(0,l.filterDataProps)(e),...(0,l.filterAriaProps)(e)},S,y,C,o.createElement("span",{className:f(e,E)}))}v.displayName="ControlSkeleton";const _=o.forwardRef(v)},78274:(e,t,n)=>{"use strict";n.d(t,{StartSlot:()=>l,MiddleSlot:()=>a, -EndSlot:()=>c,AfterSlot:()=>d});var o=n(59496),r=n(97754),s=n(10306),i=n.n(s);function l(e){const{className:t,interactive:n=!0,icon:s=!1,children:l}=e;return o.createElement("span",{className:r(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},l)}function a(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(i()["inner-slot"],i()["inner-middle-slot"],t)},n)}function c(e){const{className:t,interactive:n=!0,icon:s=!1,children:l}=e;return o.createElement("span",{className:r(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},l)}function d(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(i()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>_});var o=n(59496),r=n(97754),s=n(90186),i=n(47201),l=n(48907),a=n(66092),c=n(48027),d=n(29202),u=n(45812),h=n(67029),p=n(78274),f=n(66579),g=n.n(f);function m(e){return!(0,s.isAriaAttribute)(e)&&!(0,s.isDataAttribute)(e)}function v(e){const{id:t,title:n,role:i,tabIndex:l,placeholder:a,name:c,type:d,value:u,defaultValue:f,draggable:v,autoComplete:_,autoFocus:b,maxLength:S,min:y,max:C,step:w,pattern:T,inputMode:I,onSelect:E,onFocus:M,onBlur:x,onKeyDown:D,onKeyUp:A,onKeyPress:L,onChange:N,onDragStart:k,size:O="medium",className:B,inputClassName:R,disabled:F,readonly:P,containerTabIndex:j,startSlot:z,endSlot:V,reference:H,containerReference:G,onContainerFocus:W,...U}=e,K=(0,s.filterProps)(U,m),Z={...(0,s.filterAriaProps)(U),...(0,s.filterDataProps)(U),id:t,title:n,role:i,tabIndex:l,placeholder:a,name:c,type:d,value:u,defaultValue:f,draggable:v,autoComplete:_,autoFocus:b,maxLength:S,min:y,max:C,step:w,pattern:T,inputMode:I,onSelect:E,onFocus:M,onBlur:x,onKeyDown:D,onKeyUp:A,onKeyPress:L,onChange:N,onDragStart:k};return o.createElement(h.ControlSkeleton,{...K,disabled:F,readonly:P,tabIndex:j,className:r(g().container,B),size:O,ref:G,onFocus:W,startSlot:z,middleSlot:o.createElement(p.MiddleSlot,null,o.createElement("input",{...Z,className:r(g().input,R,z&&g()["with-start-slot"],V&&g()["with-end-slot"]),disabled:F,readOnly:P,ref:H})),endSlot:V})}function _(e){e=(0,c.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:s,onBlur:h,reference:p,containerReference:f=null}=e,g=(0,o.useRef)(null),m=(0,o.useRef)(null),[_,b]=(0,d.useFocus)(),S=t?void 0:_?-1:r,y=t?void 0:_?r:-1,{isMouseDown:C,handleMouseDown:w,handleMouseUp:T}=(0,u.useIsMouseDown)(),I=(0,i.createSafeMulticastEventHandler)(b.onFocus,(function(e){n&&!C.current&&(0,l.selectAllContent)(e.currentTarget)}),s),E=(0,i.createSafeMulticastEventHandler)(b.onBlur,h),M=(0,o.useCallback)(e=>{g.current=e,p&&("function"==typeof p&&p(e),"object"==typeof p&&(p.current=e))},[g,p]);return o.createElement(v,{...e,isFocused:_,containerTabIndex:S,tabIndex:y,onContainerFocus:function(e){m.current===e.target&&null!==g.current&&g.current.focus()},onFocus:I,onBlur:E,reference:M,containerReference:(0,a.useMergedRefs)([m,f]),onMouseDown:w,onMouseUp:T})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>s});var o=n(47201),r=n(29202);function s(e){ -const{onFocus:t,onBlur:n,intent:s,highlight:i,disabled:l}=e,[a,c]=(0,r.useFocus)(void 0,l),d=(0,o.createSafeMulticastEventHandler)(l?void 0:c.onFocus,t),u=(0,o.createSafeMulticastEventHandler)(l?void 0:c.onBlur,n);return{...e,intent:s||(a?"primary":"default"),highlight:null!=i?i:a,onFocus:d,onBlur:u}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(59496);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t&&n&&r(!1)},[t,n]);const s={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,s]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(59496);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)(()=>{e.current=!0},[e]),n=(0,o.useCallback)(()=>{e.current=!1},[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},66092:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>r});var o=n(59496);function r(e){return(0,o.useCallback)(function(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(e),e)}},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},47201:(e,t,n)=>{"use strict";function o(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>o})},14593:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetIconButton:()=>l});var o=n(59496),r=n(97754),s=n(4825),i=n(64547);const l=o.forwardRef((e,t)=>{const{className:n,id:l,...a}=e;return o.createElement(s.ToolWidgetButton,{"data-name":l,...a,ref:t,className:r(n,i.button)})})},94250:(e,t,n)=>{"use strict";n.d(t,{ManageDrawings:()=>C});var o=n(59496),r=n(88537),s=n(9745),i=n(26843),l=n(45345),a=n(28353),c=n(24980),d=n(98125),u=n(14291),h=n(64530),p=n(80643),f=n(61074),g=n(72802),m=n(70029),v=n(9267);(0,d.getLogger)("Chart.ManageDrawings");const _=new c.TranslatedString("remove all line tools for {symbol}",(0,a.t)("remove all line tools for {symbol}")),b=e=>(0,a.t)("{drawingsCount} drawing",{plural:"{drawingsCount} drawings",count:e}).format({drawingsCount:e.toString()}),S=(0,a.t)("Remove all drawings for this symbol"),y=(0,a.t)("No drawings yet");class C extends o.PureComponent{constructor(e){super(e),this._totalCount=0,this._model=null,this._symbolDrawingsMap=null,this._storageContentLoadingPromise=null,this._onItemClick=e=>{""!==e&&(this.props.chartWidget.setSymbol(e),null!==this._model&&this.setState({currentSymbol:e}),this.props.onClose&&this.props.onClose())},this._onRemove=async e=>{if(this._model&&this._symbolDrawingsMap){const t=this._symbolDrawingsMap.get(e);if(t){const n=Array.from(t).map(e=>(0,r.ensureNotNull)(this._model).model().dataSourceForId(e)).filter(p.notNull);n.length>0&&this._model.removeSources(n,!1,_.format({symbol:e})),this._updateItems()}}},this._updateItems=async()=>{if(null!==this._model){const e=await this._getItems(this._model.model().dataSources());this.setState({items:e})}},this._updateTheme=()=>{const e=l.watchedTheme.value() -;this.setState({theme:e})},this.state={currentSymbol:null,items:null,theme:l.watchedTheme.value()}}componentDidMount(){this.props.chartWidget.withModel(this,async()=>{this._model=this.props.chartWidget.model(),this._model.model().dataSourceCollectionChanged().subscribe(this,this._updateItems);const e=await this._getItems(this._model.model().dataSources());this.setState({currentSymbol:this._model.mainSeries().symbol(),items:e},()=>{var e,t;return null===(t=(e=this.props).onInitialized)||void 0===t?void 0:t.call(e)})}),l.watchedTheme.subscribe(this._updateTheme)}componentWillUnmount(){l.watchedTheme.unsubscribe(this._updateTheme),null!==this._model&&this._model.model().dataSourceCollectionChanged().unsubscribe(this,this._updateItems)}render(){const{isMobile:e}=this.props,{currentSymbol:t,items:n}=this.state,r=this._symbolDrawingsMap?this._symbolDrawingsMap.size:0,s=`${i=r,(0,a.t)("{symbolsCount} symbol",{plural:"{symbolsCount} symbols",context:"symbols_and_drawings_count",count:i}).format({symbolsCount:i.toString()})} ${(e=>(0,a.t)("with {drawingsCount} drawing",{plural:"with {drawingsCount} drawings",context:"symbols_and_drawings_count",count:e}).format({drawingsCount:e.toString()}))(this._totalCount)}`;var i;return o.createElement(o.Fragment,null,n&&n.length>0&&o.createElement("div",{className:v.title},s),null===n||0===n.length?this._renderEmptyContent():n.map(n=>o.createElement(h.DialogContentItem,{key:n.symbol,title:n.symbol,subtitle:b(n.drawingsCount),removeBtnLabel:S,isActive:n.symbol===t,isMobile:e,onClick:this._onItemClick.bind(this,n.symbol),onClickRemove:this._onRemove.bind(this,n.symbol),showFavorite:!1})))}_renderEmptyContent(){const{theme:e}=this.state,t=e===i.StdTheme.Dark?m:g;return null===this._symbolDrawingsMap?o.createElement(f.Spinner,{className:v.spinner}):o.createElement("div",{className:v.empty},o.createElement(s.Icon,{className:v.image,icon:t}),o.createElement("span",null,y))}async _getStorageContent(){return new Map}async _getItems(e){const t=[],n=this._getSymbolDrawingsMap(e);return(await this._getStorageContent()).forEach((e,t)=>{const o=n.get(t)||new Set;e.forEach(e=>o.add(e)),n.set(t,o)}),this._symbolDrawingsMap=n,this._totalCount=0,this._symbolDrawingsMap.forEach((e,n)=>{t.push({symbol:n,drawingsCount:e.size}),this._totalCount=this._totalCount+e.size}),t.sort((e,t)=>e.drawingsCount===t.drawingsCount?e.symbol.localeCompare(t.symbol):e.drawingsCount>t.drawingsCount?-1:1)}_getSymbolDrawingsMap(e){const t=new Map;return e.forEach(e=>{var n;if((0,u.isLineTool)(e)&&e.showInObjectTree()){const o=null!==(n=e.symbol())&&void 0!==n?n:"",r=t.get(o)||new Set;r.add(e.id()),t.set(o,r)}}),t}}},49469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ObjectTreeDialogRenderer:()=>Jo});var o=n(59496),r=n(87995);async function s(e,t,n){let o;for(let r=0;rPromise.resolve())}var l=n(98125);const a=(0,l.getLogger)("DataSourcesIcons");let c=null;function d(){const e=n.c[45749] -;return e?Promise.resolve(e.exports.lineToolsIcons):n.e(1890).then(n.bind(n,45749)).then(e=>e.lineToolsIcons)}function u(){const e=n.c[37466];return e?Promise.resolve(e.exports.SERIES_ICONS):n.e(3718).then(n.bind(n,37466)).then(e=>e.SERIES_ICONS)}let h=null;function p(){return null===h&&(h=function(){const e=i(d,2).then(e=>e).catch(e=>(a.logWarn(e),{})),t=i(u,2).then(e=>e).catch(e=>(a.logWarn(e),{}));return Promise.all([e,t])}()),h.then(e=>(c={linetool:e[0],series:e[1]},c))}var f=n(41590),g=n(37558),m=n(90692),v=n(28353),_=n(85457),b=n(24437),S=n(94250);var y=n(9837),C=n.n(y),w=n(36349),T=n(32563),I=n(88537),E=n(97754),M=n.n(E),x=n(9745),D=n(16396),A=n(35390),L=n(36947);const N=o.createContext(null);var k=n(14593),O=n(16788),B=n(36666),R=n(38593),F=n(41223),P=n(51768);function j(e){const{viewModel:t}=(0,I.ensureNotNull)((0,o.useContext)(N)),n=(0,L.useForceUpdate)(),r=t.selection();(0,o.useEffect)(()=>{const e={};return t.onChange().subscribe(e,()=>n()),()=>{t.onChange().unsubscribeAll(e)}},[t]),(0,o.useEffect)(()=>{const e={};return r.onChange().subscribe(e,()=>n()),()=>{r.onChange().unsubscribeAll(e)}},[r]);const s=!t.canSelectionBeUnmerged(),i=t.isSelectionCopiable(),l=t.isSelectionCloneable(),a=!i&&!l,c=t.canSelectionBeGrouped();return o.createElement(o.Fragment,null,o.createElement("div",{className:E(F.title,F.withoutIcon)},(0,v.t)("Object tree"),!1),o.createElement("div",{className:F.buttons},o.createElement(k.ToolWidgetIconButton,{className:E(F.button,!c&&F.disabled),icon:R,onClick:function(){t.createGroupFromSelection()},isDisabled:!c,title:(0,v.t)("Create a group of drawings"),"data-name":"group-button"}),o.createElement(A.ToolWidgetMenu,{className:E(F.button,a&&F.disabled),isDisabled:a,content:o.createElement(x.Icon,{icon:O}),title:(0,v.t)("Clone, Copy"),arrow:!1,isShowTooltip:!0,"data-name":"copy-clone-button"},i&&o.createElement(D.PopupMenuItem,{"data-name":"copy",label:(0,v.t)("Copy"),onClick:function(){t.copySelection()}}),l&&o.createElement(D.PopupMenuItem,{"data-name":"clone",label:(0,v.t)("Clone"),onClick:function(){t.cloneSelection()}})),o.createElement(A.ToolWidgetMenu,{className:E(F.button,s&&F.disabled),isDisabled:s,content:o.createElement(x.Icon,{icon:B}),title:(0,v.t)("Move to"),arrow:!1,isShowTooltip:!0,"data-name":"move-to-button"},o.createElement(D.PopupMenuItem,{"data-name":"new-pane-above",label:(0,v.t)("New pane above"),onClick:function(){t.unmergeSelectionUp()}}),o.createElement(D.PopupMenuItem,{"data-name":"new-pane-below",label:(0,v.t)("New pane below"),onClick:function(){t.unmergeSelectionDown()}}))))}var z=n(54773),V=n(79049),H=n(11307),G=n(36028),W=n(86416);const U=(K="OBJECT_TREE",e=>K+"__"+e);var K -;const Z=U("SET_NODES"),Q=U("SYNC_NODES"),X=U("UPDATE_NODE"),$=U("UPDATE_NODES"),q=U("RESET_TREE"),J=U("SET_SELECTED_IDS"),Y=U("DROP_SELECTION"),ee=U("SELECT_PREVIOUS"),te=U("SELECT_NEXT"),ne=U("MULTI_SELECT_PREVIOUS"),oe=U("MULTI_SELECT_NEXT"),re=U("PROCESS_DROP_TARGET"),se=U("UPDATE_DROP_TARGET"),ie=U("HIDE_DROP_TARGET"),le=U("START_MULTI_SELECT"),ae=U("STOP_MULTI_SELECT"),ce=(U("REMOVE_NODE"),U("SET_FOCUSED_NODE")),de=U("SCROLL_TO_ID"),ue=U("SET_IS_SELECTED"),he=U("SET_IS_EXPANDED"),pe=U("SET_DISABLED_NODES"),fe=U("MOVE_NODES"),ge=(U("START_DRAG"),U("END_DRAG")),me=()=>({type:ee}),ve=()=>({type:te}),_e=()=>({type:ne}),be=()=>({type:oe}),Se=(e,t,n,o,r)=>({type:re,dropTarget:e,dropType:t,isHoveredLeft:n,boundBox:o,isLastChild:r}),ye=()=>({type:Y}),Ce=e=>({type:J,ids:e}),we=(e,t,n)=>({type:fe,ids:e,targetId:t,dropType:n}),Te=()=>({type:le}),Ie=()=>({type:ae}),Ee=e=>({type:ce,nodeId:e}),Me=e=>({type:de,nodeId:e}),xe=(e,t,n=0)=>({type:ue,nodeId:e,isSelected:t,mode:n}),De=(e,t)=>({type:he,nodeId:e,isExpanded:t}),Ae=e=>({type:pe,ids:e}),Le=()=>({type:ge});var Ne=n(77145);const ke=e=>e.nodes,Oe=e=>e.selection,Be=e=>e.dropTarget,Re=e=>e.expanded,Fe=e=>e.scrollToId,Pe=(e,t)=>t,je=(0,Ne.createSelector)([ke,Pe],(e,t)=>e[t]),ze=(0,Ne.createSelector)([Oe,Pe],(e,t)=>e.ids.includes(t)),Ve=(0,Ne.createSelector)([Re,Pe],(e,t)=>e.includes(t)),He=(0,Ne.createSelector)([e=>e.disabled,Oe,Pe],(e,t,n)=>!t.ids.includes(n)&&e.includes(n)),Ge=(0,Ne.createSelector)(ke,e=>Object.keys(e)),We=(0,Ne.createSelector)(Oe,({ids:e})=>e),Ue=(0,Ne.createSelector)(Oe,({lastFocusedNodeId:e})=>e),Ke=(0,Ne.createSelector)(Oe,({isMultiSelecting:e})=>e),Ze=(0,Ne.createSelector)([ke,We],(e,t)=>t.map(t=>e[t])),Qe=(0,Ne.createSelector)(ke,e=>Object.values(e).filter(e=>0===e.level)),Xe=(0,Ne.createSelector)([ke,Qe],(e,t)=>t.reduce((t,n)=>[...t,...$e(e,(0,I.ensureDefined)(n))],[]));function $e(e,t){const n=[];for(const o of t.children)n.push(e[o]),n.push(...$e(e,e[o]));return n}const qe=(0,Ne.createSelector)([ke,Qe,Re],(e,t,n)=>{const o=new Set(n);return t.reduce((t,n)=>[...t,...Ye(e,(0,I.ensureDefined)(n),o)],[])}),Je=(0,Ne.createSelector)([ke,We,Re],(e,t,n)=>{const o=new Set(n);return[{id:"drag-list",level:-1,children:t}].reduce((t,n)=>[...t,...Ye(e,(0,I.ensureDefined)(n),o)],[])});function Ye(e,t,n){const o=[];for(const r of t.children){const t=e[r];void 0!==t&&(o.push(t),n.has(r)&&o.push(...Ye(e,t,n)))}return o}function*et(e){const{selectedIds:t,nodes:n}=yield(0,w.call)(e),o={};for(let e=0;e({type:Z,nodes:e}))(o)),yield(0,w.put)(Ce(t));!Ue(yield(0,w.select)())&&t.length>0&&(yield(0,w.put)(Ee(t[0])),yield(0,w.put)(Me(t[0])))}function*tt(e){for(;;){if((yield(0,w.take)([le,ae])).type===le){const t=Ge(yield(0,w.select)()).filter(t=>!e(t));yield(0,w.put)(Ae(t))}else yield(0,w.put)(Ae([]))}}function*nt(){for(;;){const{type:e}=yield(0,w.take)([oe,ne]),t=yield(0,w.select)(),n=Xe(t),o=n.length,r=Ue(t),s=[...We(t)],i=1===s.length&&s[0]!==r,l=n.findIndex(e=>e.id===(i?s[0]:r)) -;if(e===ne&&0===l||e===oe&&l===o-1)continue;const a=ct(t,e===oe?"next":"previous",n,l),{id:c}=a;s.includes(c)&&r?(yield(0,w.put)(xe(r,!1,1)),yield(0,w.put)(Ee(c))):yield(0,w.put)(xe(c,!0,1)),yield(0,w.put)(Me(c))}}function*ot(e,t){for(;;){const{type:n}=yield(0,w.take)([te,ee]),o=yield(0,w.select)(),r=Xe(o),s=Ze(o),i=Ue(o);if(1===s.length&&s[0].id!==i&&!i){if(n===te){yield(0,w.put)(Ee(s[0].id));continue}if(n===ee){const e=r.findIndex(e=>e.id===s[0].id),t=ct(o,"previous",r,e);yield(0,w.put)(Ee(t.id));continue}}const l=r.findIndex(e=>e.id===i),a=n===te?"next":"previous",c=ct(o,a,r,l),{id:d}=c;e?e([d],a):yield(0,w.put)(Ce([d])),t&&t(d),yield(0,w.put)(Ee(d))}}function*rt(e,t=(()=>!0)){for(;;){const{mode:n,nodeId:o,isSelected:r}=yield(0,w.take)(ue);let s=[...We(yield(0,w.select)())];const i=Xe(yield(0,w.select)());if(1===n)r?s.push(o):s.splice(s.indexOf(o),1);else if(2===n&&s.length>0){const e=Ue(yield(0,w.select)());let n=i.findIndex(t=>t.id===e);-1===n&&(n=i.reduce((e,t,n)=>s.includes(t.id)?n:e,-1));const r=i.findIndex(e=>e.id===o);if(n!==r)for(let e=Math.min(n,r);e<=Math.max(n,r);e++){const n=i[e].id;!s.includes(n)&&t(n)&&s.push(n)}}else s=o?[o]:[];const l=new Set(s);s=i.reduce((e,t)=>(l.has(t.id)&&e.push(t.id),e),[]),e?e(s):yield(0,w.put)(Ce(s)),yield(0,w.put)(Ee(o))}}function*st(e=(()=>!0),t){const{dropTarget:n,dropType:o,isHoveredLeft:r,boundBox:s,isLastChild:i}=t,l=Be(yield(0,w.select)()),a=je(yield(0,w.select)(),(0,I.ensureDefined)(n.parentId)),c=i&&"after"===o,d=Ze(yield(0,w.select)()),u=!c||!r&&e(d,n,o)?n:a,h=l.node&&l.node.id!==u.id||l.dropType!==o;d.map(e=>e.id).includes(u.id)?yield(0,w.put)({type:ie}):h&&e(d,u,o)&&(yield(0,w.put)(((e,t,n)=>({type:se,node:e,dropType:t,boundBox:n}))(u,o,s)))}function*it(e){yield(0,w.throttle)(0,re,st,e)}function*lt(e){for(;;){yield(0,w.take)(Y);const t=Ze(yield(0,w.select)()),{node:n,dropType:o}=Be(yield(0,w.select)());if(n&&o){const r=new CustomEvent("tree-node-drop",{detail:{nodes:t,target:n.id,type:o}});if(e&&e(r),!r.defaultPrevented){const e=We(yield(0,w.select)());yield(0,w.put)(we(e,n.id,o))}}}}function*at(e){for(;;){yield(0,w.take)(fe);e(ke(yield(0,w.select)()))}}function ct(e,t,n,o){const r=n.length;let s;-1===o&&"previous"===t&&(o=r);let i=0;for(;!s||Math.abs(i)1&&!Ve(e,(0,I.ensureDefined)(l.parentId)));)i+="next"===t?1:-1,s=n[(o+i+r)%r];var l;return s}function*dt(e={}){const{saga:t,onDrop:n,canMove:o,onMove:r,onSelect:s,onKeyboardSelect:i,initState:l,canBeAddedToSelection:a}=e,c=[(0,w.fork)(it,o),(0,w.fork)(lt,n),(0,w.fork)(rt,s,a),(0,w.fork)(ot,s,i),(0,w.fork)(nt)];for(t&&c.push((0,w.fork)(t)),r&&c.push((0,w.fork)(at,r)),a&&c.push((0,w.fork)(tt,a));;){l&&(yield(0,w.call)(et,l));const e=yield(0,w.all)(c);yield(0,w.take)(q);for(const t of e)yield(0,w.cancel)(t)}}var ut=n(83243),ht=n(80643);const pt=(0,l.getLogger)("Platform.GUI.ObjectTree.CallApi");const ft={ids:[],lastFocusedNodeId:void 0,isMultiSelecting:!1};const gt={node:void 0,dropType:void 0,boundBox:void 0};const mt=(0,ut.combineReducers)({nodes:function(e={},t){switch(t.type){case Z: -return t.nodes;case Q:{const{nodes:n}=t,o=n.map(e=>e.id),r={...e};for(const t of Object.keys(e))if(!o.includes(t)){const{parentId:e}=r[t];e&&(r[e]={...r[e],children:r[e].children.filter(e=>e!==t)}),delete r[t]}for(const e of n){const t=e.id;if(r.hasOwnProperty(t)){!(0,ht.deepEquals)(r[t].children,e.children)[0]&&(r[t]={...r[t],children:[...e.children]})}else{r[t]=e;const{parentId:n}=e;if(n&&!r[n].children.includes(t))throw new Error("Not implemented")}}return r}case X:{const{type:n,nodeId:o,...r}=t;return{...e,[o]:{...e[o],...r}}}case $:{const{nodes:n}=t,o={...e};return Object.keys(n).forEach(e=>{o[e]={...o[e],...n[e]}}),{...e,...o}}case fe:{const{ids:n,targetId:o,dropType:r}=t,s=(0,I.ensureDefined)(e[o].parentId),i=e[s],l={};for(const t of n){const n=e[t];if(n.parentId){const o=l[n.parentId]||e[n.parentId];l[n.parentId]={...o,children:o.children.filter(e=>e!==t)}}l[t]={...n,parentId:s,level:i.level+1}}const a=i.children.filter(e=>!n.includes(e));return a.splice(((e,t,n)=>{switch(n){case"before":return e.indexOf((0,I.ensureDefined)(t));case"inside":return e.length;case"after":return e.indexOf((0,I.ensureDefined)(t))+1;default:return 0}})(a,o,r),0,...n),l[s]={...e[s],children:a,isExpanded:!0},{...e,...l}}default:return e}},selection:function(e=ft,t){switch(t.type){case J:{const{ids:n}=t;return{...e,ids:n,lastFocusedNodeId:n.length>0?e.lastFocusedNodeId:void 0}}case le:return{...e,isMultiSelecting:!0};case ae:return{...e,isMultiSelecting:!1};case ce:return{...e,lastFocusedNodeId:t.nodeId};case Q:{const n=new Set(t.nodes.map(e=>e.id));return e.lastFocusedNodeId&&!n.has(e.lastFocusedNodeId)&&delete e.lastFocusedNodeId,{...e,ids:e.ids.filter(e=>n.has(e))}}default:return e}},dropTarget:function(e=gt,t){switch(t.type){case se:{const{node:n,dropType:o,boundBox:r}=t;return{...e,node:n,dropType:o,boundBox:r}}case ie:case ge:case q:return{...gt};default:return e}},expanded:function(e=[],t){switch(t.type){case he:{const{nodeId:n,isExpanded:o}=t;if(o)return[...e,n];const r=[...e];return r.splice(e.indexOf(n),1),r}default:return e}},disabled:function(e=[],t){switch(t.type){case pe:return[...t.ids];default:return e}},scrollToId:function(e=null,t){switch(t.type){case de:return null===t.nodeId?null:{id:t.nodeId};default:return e}}});var vt=n(35126),_t=n(83199),bt=n(49483);var St=n(61625),yt=n(53408),Ct=n(68335),wt=n(47201),Tt=n(70412);const It=o.createContext({size:0,smallSizeTreeNodeAction:1}),Et={[Ct.Modifiers.Mod]:1,[Ct.Modifiers.Shift]:2};var Mt=n(88142),xt=n(91069);const Dt=()=>{};class At extends o.PureComponent{constructor(){super(...arguments),this._ref=null,this._handleRef=e=>{this._ref=e;const{connectDragSource:t,connectDropTarget:n,connectDragPreview:o}=this.props;(0,I.ensureDefined)(n)(this._ref),(0,I.ensureDefined)(t)(this._ref),(0,I.ensureDefined)(o)((0,yt.getEmptyImage)(),{captureDraggingState:!0})},this._handleTouchStart=e=>{const t=(e,t)=>{const n=function(e,t){try{const n=document.createEvent("TouchEvent") -;return n.initTouchEvent(e,!0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.touches,t.targetTouches,t.changedTouches),n}catch(e){return null}}(e,t);if(n)return n;const o=Array.from(t.changedTouches),r=Array.from(t.touches),s=Array.from(t.targetTouches);return new TouchEvent(e,{bubbles:!0,changedTouches:o,touches:r,targetTouches:s})},n=e.target;if(n instanceof Element){const e=e=>{const o=e;if(!n.isConnected){o.preventDefault();const e=t("touchmove",o);document.body.dispatchEvent(e)}},o=r=>{const s=r;if(!n.isConnected){s.preventDefault();const e=t("touchend",s);document.body.dispatchEvent(e)}n.removeEventListener("touchend",o),n.removeEventListener("touchmove",e)};n.addEventListener("touchend",o),n.addEventListener("touchmove",e)}}}componentDidMount(){var e;null===(e=this._ref)||void 0===e||e.addEventListener("touchstart",this._handleTouchStart)}componentWillUnmount(){var e;null===(e=this._ref)||void 0===e||e.removeEventListener("touchstart",this._handleTouchStart)}render(){return o.createElement(Lt,{...this.props,reference:this._handleRef})}getNode(){return(0,I.ensureNotNull)(this._ref)}}const Lt=e=>{const{id:t,isSelected:n,isOffset:r,isExpandable:s,setIsSelected:i,isDisabled:l,isExpanded:a,onClick:c,parentId:d,setIsExpanded:u,reference:h,isFirstListItem:p,isLastListItem:f,nodeRenderer:g,isChildOfSelected:m=!1}=e,{size:v,smallSizeTreeNodeAction:_}=(0,o.useContext)(It),b=(0,o.useRef)(null),S=(0,wt.createSafeMulticastEventHandler)(e=>b.current=e,h);let[y,C]=(0,Tt.useHover)();return(bt.CheckMobile.any()||bt.CheckMobile.isIPad())&&(y=n,C={onMouseOut:Dt,onMouseOver:Dt}),o.createElement("div",{className:E(xt.wrap,n&&xt.selected,m&&xt.childOfSelected,l&&xt.disabled,s&&xt.expandable),onClick:1===v&&0===_?w:function(e){if(e.defaultPrevented)return;const o=Et[(0,Ct.modifiersFromEvent)(e)]||0;!l&&i&&i(t,!n,o);c&&0===o&&c(e,t)},onContextMenu:w,ref:S,...C},s&&o.createElement(x.Icon,{icon:Mt,className:E(xt.expandHandle,a&&xt.expanded),onClick:function(e){e.preventDefault(),s&&u(t,!a)},onMouseDown:function(e){e.preventDefault()}}),g({id:t,isOffset:r,parentId:d,isDisabled:l,isSelected:n,isChildOfSelected:m,isHovered:y,isExpanded:a,isFirstListItem:p,isLastListItem:f}));function w(){l||n||!i||i(t,!0)}},Nt=o.createContext({});function kt(e,t){const{id:n}=t,o=je(e,n),r=ze(e,n);let s=!1,i=o.parentId;for(;i&&!s;)s=ze(e,i),i=je(e,i).parentId;return{...o,isSelected:r,isChildOfSelected:s,isExpanded:o.children.length>0&&Ve(e,n),isExpandable:o.children.length>0,isDisabled:He(e,n)}}function Ot(e){return(0,ut.bindActionCreators)({setIsExpanded:De,processDropTarget:Se,dropSelection:ye,selectNext:ve,selectPrevious:me,setIsSelected:xe,endDrag:Le},e)}const Bt=(0,St.DragSource)("node",{beginDrag:e=>{const{id:t,isDisabled:n,isSelected:o}=e;return n||o||e.setIsSelected(t,!0),e},endDrag:e=>e.endDrag()},e=>({connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview()})),Rt=(0,vt.DropTarget)("node",{hover:(e,t,n)=>{if(!n)return;const o=n.getNode(),r=o.getBoundingClientRect(),s=r.bottom-r.top,i=t.getClientOffset() -;if(i){const t=i.y-r.top;let n,l;if(n=0===e.children.length?t=s/3&&t<2*s/3?"inside":"after",void 0!==e.getContainerElement){const t=e.getContainerElement().getBoundingClientRect();l={top:r.top-t.top,left:r.left-t.left,bottom:r.top-t.top+r.height,right:r.left-t.left+r.width,height:r.height,width:r.width}}else l={top:o.offsetTop,left:o.offsetLeft,bottom:o.offsetTop+o.offsetHeight,right:o.offsetLeft+o.offsetWidth,height:o.offsetHeight,width:o.offsetWidth};e.processDropTarget(e,n,i.x-r.left<48,l,e.isLastChild)}}},e=>({connectDropTarget:e.dropTarget()})),Ft=(0,V.connect)(kt,Ot,null,{context:Nt})(Bt(Rt(At))),Pt=(0,V.connect)(kt,Ot,null,{context:Nt})(Lt);var jt=n(35749),zt=n(53614),Vt=n(65718);function Ht(e){const t=e(),n=(0,o.useRef)(t);n.current=t;const[r,s]=(0,o.useState)(n.current),i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{null===i.current&&(i.current=requestAnimationFrame(()=>{i.current=null,s(n.current)}))}),(0,o.useEffect)(()=>()=>{i.current&&cancelAnimationFrame(i.current)},[]),r}function Gt(e){const{dropTargetOffset:t,mousePosition:n}=e;if(!t)return{display:"none"};const{x:o,y:r}=t,s=n&&t?n.y-t.y:0,i=`translate(${o+(n&&t?n.x-t.x:0)}px, ${r+s}px)`;return{transform:i,WebkitTransform:i}}const Wt={top:0,left:0,position:"fixed",pointerEvents:"none",zIndex:100,opacity:.5,width:300,backgroundColor:"red"};const Ut=(0,zt.DragLayer)((function(e){return{isDragging:e.isDragging()&&"node"===e.getItemType(),mousePosition:e.getClientOffset(),dropTargetOffset:e.getSourceClientOffset()}}))((0,V.connect)((function(e){return{items:Je(e)}}),null,null,{context:Nt})((function(e){const{items:t,isDragging:n,nodeRenderer:r,dragPreviewRenderer:s}=e;return Ht((function(){return n?o.createElement(Vt.Portal,null,o.createElement("div",{style:{...Wt,...Gt(e)}},t.map(e=>{if(s){const t=s;return o.createElement(t,{key:e.id,...e})}return o.createElement(Pt,{id:e.id,key:e.id,nodeRenderer:r,isDragPreview:!0,isOffset:e.level>1})}))):null}))})));var Kt=n(3085),Zt=n(33127);const Qt=o.forwardRef((e,t)=>{const n=(0,o.useRef)(null);return e.connectDropTarget(n),(0,o.useImperativeHandle)(t,()=>({getNode:()=>(0,I.ensureNotNull)(n.current)}),[]),o.createElement("div",{ref:n,style:{height:"100%",width:"100%"}})}),Xt=(0,vt.DropTarget)("node",{hover:(e,t,n)=>{if(!n)return;const o=t.getClientOffset();if(null===o)return;const r=e.getOrderedNodes();if(0===r.length)return;const s=n.getNode().getBoundingClientRect(),i=e.getContainerElement().getBoundingClientRect();if("first"===e.type){const t={top:s.top-i.top+s.height,left:s.left-i.left,bottom:s.top-i.top+s.height,right:s.left-i.left+s.width,height:0,width:s.width};e.processDropTarget(r[0],"before",!1,t,!1)}if("last"===e.type){const t=o.x-s.left<48,n=r[r.length-1],l=t&&2===n.level?(0,I.ensureDefined)(r.find(e=>e.id===n.parentId)):n,a={top:s.top-i.top,left:s.left-i.left,bottom:s.top-i.top,right:s.left-i.left+s.width,height:s.height,width:s.width};e.processDropTarget(l,"after",t,a,!1)}}},e=>({connectDropTarget:e.dropTarget()}))(Qt),$t=o.createContext({ -isOver:!1,transform:void 0});var qt=n(62461);function Jt(e){const{dropType:t,boundBox:n}=e,{top:o,bottom:r,left:s}=(0,I.ensureDefined)(n);return[s,"before"===t||"inside"===t?o:r]}const Yt=(0,zt.DragLayer)((function(e){return{isDragging:e.isDragging()}}))((0,V.connect)((function(e){const{boundBox:t,dropType:n,node:o}=Be(e);return{boundBox:t,dropType:n,level:o?o.level:void 0}}),null,null,{context:Nt})((function(e){const{dropType:t,boundBox:n,isDragging:r,level:s,transform:i=Jt}=e;return Ht((function(){if(!r||!t||!n)return null;const l={[qt.dropTarget]:"inside"!==t,[qt.dropTargetInside]:"inside"===t},{width:a,height:c}=n,[d,u]=i(e),h=`translate(${d}px, ${u}px)`;return o.createElement("div",{className:E(l),style:{position:"absolute",transform:h,WebkitTransform:h,top:0,left:2===s?"46px":0,width:2===s?a-46+"px":a,height:"inside"===t?c:"2px"}})}))}))),en=o.forwardRef((e,t)=>{const n=(0,o.useContext)($t);return o.createElement("div",{...e,ref:t},e.children,n.isOver&&o.createElement(Yt,{transform:n.transform}))});var tn=n(62820),nn=n(34244);const on=38+Ct.Modifiers.Shift,rn=40+Ct.Modifiers.Shift;const sn=o.forwardRef((function(e,t){const{navigationKeys:n,renderList:r,stopMultiSelect:s,startMultiSelect:i,isMultiSelecting:l,nodeRenderer:a,dragPreviewRenderer:c,className:d,connectDropTarget:u,readOnly:h,onClick:p,dropLayerTransform:f,setFocusedNode:g,scrollToId:m,rowHeight:v,onMultiSelectPrevious:_,onMultiSelectNext:b,onMoveCursorToNext:S,onMoveCursorToPrevious:y,outerRef:C,width:w,height:T,isOver:E,processDropTarget:x}=e,D=(0,o.useContext)(N),A=(0,o.useRef)(null);(0,o.useEffect)(()=>{const e=e=>{[Ct.Modifiers.Mod,Ct.Modifiers.Shift].includes((0,Ct.modifiersFromEvent)(e))&&i()},t=e=>{l&&![Ct.Modifiers.Mod,Ct.Modifiers.Shift].includes((0,Ct.modifiersFromEvent)(e))&&s()};return document.addEventListener("keydown",e),document.addEventListener("keyup",t),document.addEventListener("mousemove",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t),document.removeEventListener("mousemove",t)}},[l]),function(e){(0,o.useEffect)(()=>{if(bt.isEdge){let t=null;const n=(0,I.ensureNotNull)(e.current),o=e=>{if(e.target instanceof Element){const n=(0,I.ensureNotNull)(e.target.closest("[draggable]"));n instanceof HTMLElement&&(n.style.opacity="0",t=requestAnimationFrame(()=>n.style.opacity="1"))}};return n.addEventListener("dragstart",o),()=>{n.removeEventListener("dragstart",o),null!==t&&cancelAnimationFrame(t)}}return()=>{}},[])}(A);const L=(0,o.useCallback)(()=>(0,I.ensureNotNull)(U.current),[]),k=(0,o.useCallback)(()=>r,[r]),O=(0,o.useMemo)(()=>{const e=h?Pt:Ft,t=[];let n;t.push({type:"padding",node:o.createElement(Xt,{type:"first",key:"padding-top",getContainerElement:L,getOrderedNodes:k,processDropTarget:x})});for(let s=0;s0,nodeRenderer:a,readOnly:h,onClick:p,isOffset:i.level>1,getContainerElement:L})})}return t.push({type:"padding",node:o.createElement(Xt,{type:"last",key:"padding-bottom",getContainerElement:L,getOrderedNodes:k,processDropTarget:x})}),t},[r]),B=(0,o.useRef)([]);B.current=O;const R=(0,o.useCallback)(e=>{let{style:t}=e;const{index:n}=e;return n===B.current.length-1&&(t={...t,bottom:0,minHeight:t.height},delete t.height),o.createElement("div",{style:t},B.current[n].node)},[]),F=(0,o.useCallback)(e=>{const t=B.current[e];return"padding"===t.type?6:"function"==typeof v?v(e,t):v},[v]),P=(0,o.useCallback)(e=>(0,I.ensure)(B.current[e].node.key),[]),j=(0,o.useMemo)(()=>null===m?{index:-1}:{index:B.current.findIndex(e=>e.node.key===m.id)},[m]);u(A);const[z,V,H,G]=(0,Zt.useOverlayScroll)(),W=(0,o.useRef)(null);(0,o.useEffect)(()=>(0,I.ensureNotNull)(W.current).resetAfterIndex(0,!0),[O]),(0,o.useEffect)(()=>(0,I.ensureNotNull)(W.current).scrollToItem(j.index),[j]);const U=(0,o.useRef)(null),K=(0,o.useMemo)(()=>({isOver:E,transform:f}),[E,f]),Z=(0,o.useRef)(null),Q=(0,o.useRef)({startScroll(e){const t=()=>{null!==H.current&&(Z.current=requestAnimationFrame(t),H.current.scrollBy({top:e}))};this.stopScroll(),t()},stopScroll(){null!==Z.current&&(cancelAnimationFrame(Z.current),Z.current=null)},getListElement:()=>H.current});return(0,o.useImperativeHandle)(t,()=>Q.current,[]),(0,o.useEffect)(()=>()=>Q.current.stopScroll(),[E]),o.createElement($t.Provider,{value:K},o.createElement("div",{...V,className:M()(nn.tree,d),ref:A,tabIndex:-1,onKeyDown:function(e){const t=(0,Ct.hashFromEvent)(e);if(e.defaultPrevented||(0,jt.isNativeUIInteraction)(t,e.target))return;D||t!==on||(e.preventDefault(),_());D||t!==rn||(e.preventDefault(),b());(38===t||void 0!==n&&"previous"===n[t])&&(e.preventDefault(),y());(40===t||void 0!==n&&"next"===n[t])&&(e.preventDefault(),S());if((8===t||46===t)&&D){const{viewModel:e}=D,t=e.selection(),n=t.selected();if(1!==n.length)return;const o=e.getNextNodeIdAfterRemove(n[0]);if(null===o)return;e.onChange().subscribe(null,()=>{if(t.selected().length)return;const n=e.entity(o);n&&(t.set([n]),g(o))},!0)}}},o.createElement(Kt.OverlayScrollContainer,{...z,className:nn.overlayScrollWrap}),o.createElement(_t.VariableSizeList,{ref:function(e){W.current=e},className:nn.listContainer,width:w,height:T,itemCount:O.length,itemSize:F,children:R,itemKey:P,outerRef:function(e){H.current=e,C&&C(e)},innerRef:function(e){U.current=e},innerElementType:en,onItemsRendered:function(){G()},overscanCount:20,direction:(0,tn.isRtl)()?"rtl":"ltr"}),o.createElement(Ut,{dragPreviewRenderer:c,nodeRenderer:a})))})),ln=(0,vt.DropTarget)("node",{drop:(e,t,n)=>{("touch"===e.drag||bt.isFF)&&n.stopScroll(),t.getItem().dropSelection()},hover:(e,t,n)=>{if("touch"!==e.drag&&!bt.isFF)return;const o=t.getClientOffset();if(null===o)return;const r=n.getListElement();if(null===r)return;const s=r.getBoundingClientRect();((t,o,r)=>{const s=Math.abs(t-r),i=Math.abs(t-o) -;if(i>40&&s>40||s<=40&&i<=40)return void n.stopScroll();var l,a,c,d;l=i>20&&i<=40,c=s<=20,d=i<=20,(a=s>20&&s<=40)||l?"touch"===e.drag?n.startScroll(a?-5:5):n.startScroll(a?-2:2):(c||d)&&("touch"===e.drag?n.startScroll(c?-10:10):n.startScroll(c?-5:5))})(o.y,s.bottom,s.top)}},(e,t)=>({connectDropTarget:e.dropTarget(),isOver:t.isOver()}))(sn);const an=(0,V.connect)((function(e){return{renderList:qe(e),orderedNodes:Xe(e),isMultiSelecting:Ke(e),selectedIds:We(e),scrollToId:Fe(e)}}),(function(e){return(0,ut.bindActionCreators)({startMultiSelect:Te,stopMultiSelect:Ie,setFocusedNode:Ee,processDropTarget:Se,onMoveCursorToNext:ve,onMoveCursorToPrevious:me,onMultiSelectPrevious:_e,onMultiSelectNext:be},e)}),null,{context:Nt})(ln),cn={delayTouchStart:100};function dn(e){const{canBeAddedToSelection:t,initState:n,onSelect:r,canMove:s,onDrop:i,onMove:l,nodes:a,selectedIds:c,onKeyboardSelect:d,saga:u,lastFocusedNodeObject:h,lastSyncTimestampRef:p,scrollToId:f,...g}=e,[m,v]=(0,o.useState)(null);return(0,o.useEffect)(()=>{const e=(0,z.default)();v(function(e){const t=(0,ut.applyMiddleware)(e);return(0,ut.createStore)(mt,t)}(e));const o=e.run(dt,{initState:n,onKeyboardSelect:d,saga:u,canMove:s,onMove:l,onDrop:i,onSelect:r,canBeAddedToSelection:t});return()=>o.cancel()},[]),(0,o.useEffect)(()=>(null!==m&&a&&(p&&(p.current=performance.now()),m.dispatch((e=>({type:Q,nodes:e}))(a))),()=>{}),[m,a]),(0,o.useEffect)(()=>{null!==m&&c&&m.dispatch(Ce(c))},[m,c]),(0,o.useEffect)(()=>{null!==m&&(null==h?void 0:h.id)&&m.dispatch(Ee(h.id))},[m,h]),null===m?null:o.createElement(un,{store:m,scrollToId:f,...g})}const un=o.memo((function(e){const{store:t,scrollToId:n,...r}=e,s="touch"===e.drag?G.TouchBackend:H.HTML5Backend;return(0,o.useEffect)(()=>{var e;t.dispatch(Me(null!==(e=null==n?void 0:n.id)&&void 0!==e?e:null))},[n]),o.createElement(W.DndProvider,{backend:s,options:cn},o.createElement(V.Provider,{store:t,context:Nt},o.createElement(an,{...r})))}));function hn(e,t){(0,P.trackEvent)("Object Tree",e,t)}function pn(e){return e.length>1?"Multi select":e[0].gaLabel()}function fn(e){return(0,z.eventChannel)(t=>{const n={};return e.onChange().subscribe(n,()=>t({type:q})),e.onGroupCreated().subscribe(n,e=>t(De(e,!0))),e.selection().onChange().subscribe(n,e=>t(Ce(e))),()=>{e.onChange().unsubscribeAll(n),e.selection().onChange().unsubscribeAll(n),e.onGroupCreated().unsubscribeAll(n)}},z.buffers.expanding())}function*gn(){for(;;)yield(0,w.take)([te,ee]),hn("Select","Arrow")}function*mn(){for(;;){const{mode:e}=yield(0,w.take)(ue);1===e&&hn("Multi select","Ctrl"),2===e&&hn("Multi select","Shift")}}function*vn(e){for(;;){yield(0,w.take)(Y);const{node:t,dropType:n}=Be(yield(0,w.select)());if(t){const o=Ze(yield(0,w.select)()),r=o.map(t=>(0,I.ensureNotNull)(e.entity(t.id)));let s="Drag";1===t.level&&"inside"!==n&&o.some(e=>2===e.level)?s="From the group":2!==t.level&&"inside"!==n||!o.some(e=>1===e.level)?1===o.length&&o[0].parentId!==t.parentId&&(s="Existing pane"):s="To the group",hn(s,pn(r))}}}function*_n(e){yield(0,w.fork)(gn),yield(0,w.fork)(mn),yield(0, -w.fork)(vn,e)}function*bn(e){yield(0,w.fork)(_n,e);const t=yield(0,w.call)(fn,e);pt.logNormal("Opened object tree data source channel");try{for(;;){const e=yield(0,w.take)(t);yield(0,w.put)(e)}}finally{pt.logNormal("Closed object tree data source channel"),t.close()}}const Sn=o.createContext(null);var yn=n(54475),Cn=n(898),wn=n(48247);const Tn=T.mobiletouch?"touch":"native";function In(e){const{viewModel:t,showHeader:n=!0,nodeRenderer:r,isDialog:s=!1}=e,i=(0,o.useRef)(null),l=function(e){const[t,n]=(0,o.useState)(e.getChartId()),r=(0,o.useRef)(t);return r.current=t,(0,o.useEffect)(()=>{return e.onChange().subscribe(null,t),()=>{e.onChange().unsubscribe(null,t)};function t(){const t=e.getChartId();r.current!==t&&n(t)}},[]),t}(t),[a,c]=(0,Cn.useDimensions)(),[d,u]=(0,o.useState)(null),h=(0,o.useMemo)(()=>({isTouch:T.touch,isDialog:s}),[s]);return o.createElement(Sn.Provider,{value:h},o.createElement(N.Provider,{value:{viewModel:t}},o.createElement("div",{className:wn.wrap,onContextMenu:yn.preventDefaultForContextMenu},n&&o.createElement(j,null),o.createElement(C(),{onMeasure:a},o.createElement("div",{className:wn.space,onClick:function(e){if(e.defaultPrevented)return;if(!(e.target instanceof Element)||null===i.current)return;e.target===i.current&&t.selection().set([])}},null!==c&&o.createElement(dn,{key:l,height:c.height,width:c.width,canBeAddedToSelection:function(e){const n=t.entity(e);return t.selection().canBeAddedToSelection(n)},nodeRenderer:r,initState:function(){const{nodes:e,selection:n}=t.getState();return{selectedIds:n,nodes:e}},canMove:function(e,n,o){return t.isSelectionDropable(n.id,o)},drag:Tn,rowHeight:En,onSelect:function(e){const n=e.map(e=>t.entity(e)).filter(e=>null!==e);t.selection().set(n)},onDrop:function(e){e.preventDefault();const{detail:{target:n,type:o}}=e;t.insertSelection(n,o)},scrollToId:d,saga:function*(){yield(0,w.fork)(bn,t)},onKeyboardSelect:function(e){u({id:e})},outerRef:function(e){i.current=e}}))))))}function En(e,t){switch(t.type){case"node":return 38;case"separator":return 13}}var Mn;!function(e){e.Svg="svg",e.Text="text"}(Mn||(Mn={}));var xn=n(31261),Dn=n(30608);function An(e){const{className:t,disabled:n,...r}=e;return o.createElement(x.Icon,{className:M()(Dn.button,n&&Dn.disabled,t),...r})}var Ln=n(77975),Nn=n(73591),kn=n(73366),On=n(20077),Bn=n(3589),Rn=n(68256),Fn=n(82308),Pn=n(89559);function jn(e){const{id:t}=e,n=(0,o.useContext)(N),{viewModel:r}=(0,I.ensureNotNull)(n),s=r.entity(t);return null===s?null:o.createElement(zn,{...e,entity:s})}function zn(e){const{id:t,isOffset:n,isDisabled:r,isSelected:s,isChildOfSelected:i,isHovered:l,parentId:a,entity:c,isExpanded:d}=e,u=(0,o.useContext)(N),{viewModel:h}=(0,I.ensureNotNull)(u),p=(0,o.useContext)(Sn),{size:f}=(0,o.useContext)(It),[g,m]=(0,o.useState)(!1),_=(0,o.useRef)(null),[b,S]=(0,o.useState)(c.title()),[y,C]=(0,o.useState)(c.isLocked()),[w,T]=(0,o.useState)(c.isVisible()),[M,D]=(0,o.useState)(c.isActualInterval()),[A,L]=(0,o.useState)(c.getDrawingSyncState()),[k,O]=(0,o.useState)(!1),[B,R]=((0,Ln.useWatchedValueReadonly)({ -watchedValue:h.getChartLayout()}),(0,o.useState)(!1)),F=(0,o.useRef)(null);(0,o.useEffect)(()=>{const e={};c.onLockChanged().subscribe(e,()=>C(c.isLocked())),c.onVisibilityChanged().subscribe(e,()=>T(c.isVisible()));const t=c.onTitleChanged();return t&&t.subscribe(e,()=>S(c.title())),c.onIsActualIntervalChange().subscribe(e,()=>D(c.isActualInterval())),c.onSyncStateChanged().subscribe(e,()=>L(c.getDrawingSyncState())),()=>{c.onIsActualIntervalChange().unsubscribeAll(e),c.onLockChanged().unsubscribeAll(e),c.onVisibilityChanged().unsubscribeAll(e),c.onSyncStateChanged().unsubscribeAll(e),t&&t.unsubscribeAll(e),F.current&&clearTimeout(F.current)}},[c]),(0,o.useEffect)(()=>{g&&_.current&&(_.current.focus(),_.current.setSelectionRange(0,b.length))},[g]),(0,o.useEffect)(()=>{const e={};return h.hoveredObjectChanged().subscribe(e,X),()=>{h.hoveredObjectChanged().unsubscribeAll(e)}},[d]),(0,o.useEffect)(()=>{h.setHoveredObject(l?t:null)},[l]),(0,o.useEffect)(()=>{!s&&F.current&&(clearTimeout(F.current),F.current=null),m(!1)},[s]);const P=c.getIcon(),j={};if(a){const e=h.entity(a);e&&(j["data-parent-name"]=e.title()),j["data-type"]=c.hasChildren()?"group":"data-source"}const z=c.title(),V=l||k,H=g&&s,G=!!p&&p.isTouch,W=!!p&&p.isDialog,U=M&&w?Rn:Fn,K=c.hasChildren()?(0,v.t)("Group is hidden on current interval"):(0,v.t)("Drawing is hidden on current interval");return o.createElement("span",{className:E(Pn.wrap,r&&Pn.disabled,s&&Pn.selected,n&&Pn.offset,i&&Pn.childOfSelected,k&&!r&&!s&&!i&&Pn.hover,W&&!r&&!s&&!i&&Pn.dialog),onMouseDown:function(e){g&&!(0,I.ensureNotNull)(_.current).contains(e.target)&&R(!0)},onClick:1===f?Z:function(e){if(e.defaultPrevented)return;if(0!==(0,Ct.modifiersFromEvent)(e))return;if(F.current)e.preventDefault(),clearTimeout(F.current),F.current=null,h.openProperties(c),R(!1);else{const e=h.selection().selected();F.current=setTimeout(()=>{F.current=null,s&&!B&&1===e.length&&h.rename(c,()=>m(!0)),R(!1)},500)}},onContextMenu:G?void 0:Z},!H&&o.createElement(o.Fragment,null,P&&P.type===Mn.Svg&&o.createElement(x.Icon,{icon:P.content||"",className:Pn.icon}),P&&P.type===Mn.Text&&o.createElement("span",{className:E(Pn.icon,Pn.textIcon)},P.content),!1,o.createElement("span",{className:E(Pn.title,h.isMain(c)&&Pn.main,(!c.isVisible()||!M)&&Pn.disabled),...j},z),o.createElement("span",{className:Pn.rightButtons},c.canBeLocked()&&o.createElement(An,{icon:y?On:Bn,className:E(Pn.button,(V||y)&&Pn.visible),onClick:function(e){if(e.defaultPrevented)return;e.preventDefault(),h.setIsLocked(t,!c.isLocked())},"data-role":"button","data-name":"lock","data-active":y}),o.createElement(An,{icon:U,className:E(Pn.button,!M&&[Pn.warn,"apply-common-tooltip"],(V||!w||!M)&&Pn.visible),onClick:M?function(e){if(e.defaultPrevented)return;e.preventDefault(),h.setIsVisible(t,!c.isVisible())}:function(e){if(e.defaultPrevented)return;e.preventDefault(),h.openProperties(c,Nn.TabNames.visibility)},title:M?void 0:K,"data-role":"button","data-name":"hide","data-active":!w}),c.canBeRemoved()&&o.createElement(An,{icon:kn, -className:E(Pn.button,(G||V)&&Pn.visible),onClick:function(e){if(e.defaultPrevented)return;e.preventDefault(),e.stopPropagation(),h.remove(t)},"data-role":"button","data-name":"remove"}))),H&&o.createElement(xn.InputControl,{value:b,onChange:function(e){S(e.currentTarget.value)},onClick:yn.preventDefault,className:Pn.renameInput,onKeyDown:function(e){27===(0,Ct.hashFromEvent)(e)?(e.preventDefault(),S(c.title()),m(!1)):13===(0,Ct.hashFromEvent)(e)&&(e.preventDefault(),Q())},reference:function(e){_.current=e},onBlur:Q,onDragStart:function(e){e.preventDefault(),e.stopPropagation()},draggable:!0,stretch:!0}));function Z(e){e.defaultPrevented||g||!c.fullyConstructed()||(e.preventDefault(),e.persist(),h.openContextMenu(c,()=>m(!0),e))}function Q(){""!==b&&c.setName(b),S(c.title()),m(!1)}function X(e){if(c.hasChildren()&&!d){const t=null!==e&&c.childrenIds().has(e);O(t)}else O(t===e)}}var Vn=n(32713);class Hn extends o.PureComponent{constructor(e){super(e),this._isMounted=!1,this._dialogRef=o.createRef(),this._renderChildren=e=>o.createElement(Gn,{isSmallTablet:e,viewModel:this.props.viewModel}),this._handleMediaChange=()=>{this.state.showDrawer&&!window.matchMedia(b.DialogBreakpoints.TabletSmall).matches&&this.setState({showDrawer:!1})},this._onManageDrawings=e=>{throw new Error("not supported")},this._closeDrawer=()=>{this.setState({showDrawer:!1})},this._handleContextMenuOpened=e=>{this.setState({isContextMenuOpened:e})},this._matchMedia=window.matchMedia(b.DialogBreakpoints.TabletSmall),this.state={showDrawer:!1,showDialog:!1,isContextMenuOpened:!1}}componentDidMount(){this._isMounted=!0,this._matchMedia.addListener(this._handleMediaChange),this.props.viewModel.isContextMenuOpened().subscribe(this._handleContextMenuOpened)}componentWillUnmount(){this._isMounted=!1,this._matchMedia.removeListener(this._handleMediaChange),this.props.viewModel.isContextMenuOpened().unsubscribe(this._handleContextMenuOpened)}render(){return o.createElement(o.Fragment,null,o.createElement(m.MatchMedia,{rule:b.DialogBreakpoints.TabletSmall},e=>o.createElement(_.AdaptivePopupDialog,{additionalElementPos:"after",additionalHeaderElement:!1,className:Vn.dialog,dataName:"object-tree-dialog",isOpened:!0,onClickOutside:this.state.showDialog||e||this.state.isContextMenuOpened?()=>{}:this.props.onClose,onClose:this.props.onClose,ref:this._dialogRef,render:()=>this._renderChildren(e),title:(0,v.t)("Object tree"),showSeparator:!0})),o.createElement(g.DrawerManager,null,this.state.showDrawer&&o.createElement(f.Drawer,{onClose:this._closeDrawer,position:"Bottom"},o.createElement(S.ManageDrawings,{onClose:this._closeDrawer,chartWidget:this.props.activeChartWidget,isMobile:!0}))))}}function Gn(e){const{isSmallTablet:t,viewModel:n}=e,r=(0,o.useMemo)(()=>({size:t?1:0,smallSizeTreeNodeAction:0}),[t]);return o.createElement(It.Provider,{value:r},o.createElement(In,{nodeRenderer:jn,showHeader:!1,viewModel:n,isDialog:!0}))}var Wn=n(16216),Un=n(54427),Kn=n(2872),Zn=n.n(Kn);var Qn=n(32112);function Xn(e,t){return`${e}:${t}`}function $n(e){const t=e.split(":") -;return{persistentId:t[0],instanceId:t[1]}}class qn{constructor(e){this._onChange=new(Zn()),this._recalculate=()=>{const e=this._groupModel.groups().map(e=>Xn(e.id,e.instanceId())),t=this._selectionApi.allSources();this._selected=this._selected.filter(n=>e.includes(n)||t.includes(n)),this._onChange.fire(this._selected)},this._model=e,this._selectionApi=new Qn.SelectionApi(this._model),this._groupModel=this._model.lineToolsGroupModel(),this._selected=this._getSelectedIds(),this._selectionApi.onChanged().subscribe(this,()=>{this._selected=this._getSelectedIds(),this._onChange.fire(this._selected)}),this._groupModel.onChanged().subscribe(this,this._recalculate)}destroy(){this._selectionApi.onChanged().unsubscribeAll(this),this._groupModel.onChanged().unsubscribeAll(this)}set(e){const t=[];let n=e.map(e=>e.id());for(const o of e)if(o.hasChildren()){const e=o.childrenIds();t.push(...Array.from(e.values())),n=n.filter(t=>!e.has(t))}else t.push(o.id());this._selectionApi.set(t.map(e=>$n(e).persistentId)),this._selected=n,this._onChange.fire(this._selected)}canBeAddedToSelection(e){return null!==e&&e.canBeAddedToSelection()}onChange(){return this._onChange}selected(){return this._selected}_getSelectedIds(){return this._selectionApi.allSources().map(e=>this._model.dataSourceForId(e)).filter(ht.notNull).filter(e=>e.showInObjectTree()).map(e=>Xn(e.id(),e.instanceId()))}}class Jn{constructor(e,t){this._controller=e,this._facade=t,this._groupModel=e.model().lineToolsGroupModel()}buildTree(){const e={};for(const t of this._controller.model().panes()){const n=t.sourcesByGroup().all().filter(e=>e.showInObjectTree());e[t.id()]=Yn(t.id(),0);for(const n of this._groupModel.groups()){const o=Xn(n.id,n.instanceId()),r=(0,I.ensureNotNull)(this._facade.getObjectById(o));if(r.pane()===t){const o=[...n.lineTools()].sort((e,t)=>e.zorder()>t.zorder()?-1:1).map(e=>Xn(e.id(),e.instanceId()));e[r.id()]=Yn(r.id(),1,t.id(),o),e[t.id()].children.push(r.id());for(const t of o)e[t]=Yn(t,2,r.id())}}for(const o of n){const n=Xn(o.id(),o.instanceId());e[n]||(e[n]=Yn(n,1,t.id()),e[t.id()].children.push(n))}e[t.id()].children.sort((e,t)=>{const n=(0,I.ensureNotNull)(this._facade.getObjectById(e)),o=(0,I.ensureNotNull)(this._facade.getObjectById(t));return(0,I.ensureNotNull)(o.zOrder())-(0,I.ensureNotNull)(n.zOrder())})}return this._facade.invalidateCache(new Set(Object.keys(e))),e}}function Yn(e,t,n,o=[]){return{id:e,level:t,parentId:n,children:o}}var eo=n(24980),to=n(14291),no=n(81851),oo=n(62443),ro=n(56972),so=n(61671),io=n(85733),lo=n(13696),ao=n(55247),co=n(28337),uo=n(46627);const ho=new eo.TranslatedString("show {title}",(0,v.t)("show {title}")),po=new eo.TranslatedString("hide {title}",(0,v.t)("hide {title}")),fo=new eo.TranslatedString("lock {title}",(0,v.t)("lock {title}")),go=new eo.TranslatedString("unlock {title}",(0,v.t)("unlock {title}")),mo=new eo.TranslatedString("change {sourceTitle} title to {newSourceTitle}",(0,v.t)("change {sourceTitle} title to {newSourceTitle}")),vo=new eo.TranslatedString("insert source(s) after",(0, -v.t)("insert source(s) after"));function _o(e,t){return t.every(t=>!(t.pane()!==e&&!t.allowsMovingbetweenPanes()))}function bo(e){return e instanceof oo.DataSource&&e.showInObjectTree()?Xn(e.id(),e.instanceId()):null}function So(e){return new eo.TranslatedString(e.name(),e.title())}const yo=new(Zn());class Co{constructor(e,t){this._syncStateChanged=new(Zn()),this._lineToolsAffectChartInvalidation=new uo.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1),this._updateSyncState=()=>{this._syncStateChanged.fire((0,I.ensureNotNull)(this.getDrawingSyncState()))},this._undoModel=e,this._dataSource=t,(0,to.isLineTool)(this._dataSource)&&(this._dataSource.linkKey().subscribe(this._updateSyncState),this._dataSource.sharingMode().subscribe(this._updateSyncState));const n=this._undoModel.lineBeingCreated();null!==n&&n===t&&n.isSynchronizable()&&io.isToolCreatingNow.subscribe(this._updateSyncState)}destroy(){(0,to.isLineTool)(this._dataSource)&&(this._dataSource.linkKey().unsubscribe(this._updateSyncState),this._dataSource.sharingMode().unsubscribe(this._updateSyncState)),io.isToolCreatingNow.unsubscribe(this._updateSyncState)}id(){return Xn(this._dataSource.id(),this._dataSource.instanceId())}title(){const e=this._dataSource;return(0,to.isLineTool)(e)?e.properties().title.value()||e.translatedType():(0,ro.isSeries)(e)&&this._undoModel.mainSeries()===e?e.symbolTitle(void 0,void 0,(0,bt.onWidget)()?"exchange":"listed_exchange"):e.title()}gaLabel(){return(0,no.isStudy)(this._dataSource)?"Study":(0,to.isLineTool)(this._dataSource)?"Drawing":"Symbol"}canBeLocked(){return(0,to.isLineTool)(this._dataSource)&&this._dataSource.userEditEnabled()}canBeRemoved(){return this._undoModel.mainSeries()!==this._dataSource&&this._dataSource.isUserDeletable()}canBeHidden(){return this._dataSource.canBeHidden()}canBeRenamed(){return(0,to.isLineTool)(this._dataSource)}fullyConstructed(){return this._undoModel.lineBeingCreated()!==this._dataSource}isVisible(){return this._dataSource.properties().visible.value()}isActualInterval(){return!(0,to.isLineTool)(this._dataSource)&&!(0,no.isStudy)(this._dataSource)||this._dataSource.isActualInterval()}onIsActualIntervalChange(){return(0,to.isLineTool)(this._dataSource)||(0,no.isStudy)(this._dataSource)?this._dataSource.onIsActualIntervalChange():yo}isLocked(){return!!(0,to.isLineTool)(this._dataSource)&&this._dataSource.properties().frozen.value()}onVisibilityChanged(){return this._dataSource.properties().visible.listeners()}onLockChanged(){return(0,to.isLineTool)(this._dataSource)?this._dataSource.properties().frozen.listeners():yo}getIcon(){const e=c,t=this._dataSource.getSourceIcon(),n=(0,no.isStudyStrategy)(this._dataSource);let o={type:Mn.Svg,content:n?lo:ao};if(e&&t)if("loadSvg"===t.type){const[n,r]=t.svgId.split("."),s="linetool"===n?e.linetool[r]:e.series[Number(r)];o={type:Mn.Svg,content:s||ao}}else"text"===t.type&&(o={type:Mn.Text,content:t.text});return o}setVisible(e){const t=(e?ho:po).format({title:So(this._dataSource)}) -;this._undoModel.setProperty(this._dataSource.properties().visible,e,t)}setLocked(e){if((0,to.isLineTool)(this._dataSource)){const t=(e?fo:go).format({title:So(this._dataSource)});this._undoModel.setProperty(this._dataSource.properties().frozen,e,t)}}setName(e){if((0,to.isLineTool)(this._dataSource)){const t=mo.format({sourceTitle:this._dataSource.properties().title.value()||So(this._dataSource),newSourceTitle:e});this._undoModel.setProperty(this._dataSource.properties().title,e,t,this._lineToolsAffectChartInvalidation.value())}}isCopiable(){return this._dataSource.copiable()}isClonable(){return this._dataSource.cloneable()}zOrder(){return this._dataSource.zorder()}remove(){this._undoModel.removeSource(this._dataSource,!1)}canBeAddedToSelection(){return this._undoModel.selection().canBeAddedToSelection(this._dataSource)}setAsSelection(){this._undoModel.model().selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection(this._dataSource)})}addToSelection(){this._undoModel.model().selectionMacro(e=>{e.addSourceToSelection(this._dataSource)})}addSourcesToArray(e){return e.push(this._dataSource),e}insertSourcesBeforeThis(e){this._insertSources(e,e=>this._undoModel.insertBefore(e,this._dataSource))}insertSourcesAfterThis(e){this._insertSources(e,e=>this._undoModel.insertAfter(e,this._dataSource))}childrenIds(){return new Set}hasChildren(){return!1}pane(){return(0,I.ensureNotNull)(this._undoModel.model().paneForSource(this._dataSource))}allowsMovingbetweenPanes(){return!(0,to.isLineTool)(this._dataSource)}canBeAddedToGroup(){return(0,to.isLineTool)(this._dataSource)&&this._dataSource.boundToSymbol()}canInsertBeforeThis(e){return this._canInsertBeforeOrAfter(e)}canInsertAfterThis(e){return this._canInsertBeforeOrAfter(e)}detachFromParent(){if((0,to.isLineTool)(this._dataSource)){const e=this._undoModel.model(),t=this._undoModel.lineToolsGroupController(),n=e.lineToolsGroupModel().groupForLineTool(this._dataSource);null!==n&&t.excludeLineToolFromGroup(n,this._dataSource)}}onTitleChanged(){const e=this._dataSource.properties().title;return e?e.listeners():void 0}canBeSyncedInLayout(){return(0,to.isLineTool)(this._dataSource)&&this._dataSource.isSynchronizable()}onSyncStateChanged(){return this._syncStateChanged}setDrawingSyncState(e){if(!this.canBeSyncedInLayout()||!this.fullyConstructed())return;const t=this._dataSource;switch(e){case 0:if(null===t.linkKey().value())return;this._undoModel.unlinkLines([t]);break;case 1:if(null!==t.linkKey().value())return;this._undoModel.copyToOtherCharts([t])}}getDrawingSyncState(){return this.canBeSyncedInLayout()?this.fullyConstructed()&&null!==this._dataSource.linkKey().value()?1:0:null}doNotAffectChartInvalidation(){return(0,to.isLineTool)(this._dataSource)&&this._lineToolsAffectChartInvalidation.value()}_canInsertBeforeOrAfter(e){const t=this._undoModel.model();if(!_o(this.pane(),e))return!1;if((0,to.isLineTool)(this._dataSource)){if(null!==t.lineToolsGroupModel().groupForLineTool(this._dataSource)&&e.some(e=>!e.canBeAddedToGroup()))return!1}return!0}_insertSources(e,t){ -const n=this._undoModel.model(),o=this._undoModel.lineToolsGroupController();this._undoModel.beginUndoMacro(vo);const r=()=>{e.forEach(e=>e.detachFromParent())},s=e.reduce((e,t)=>t.addSourcesToArray(e),[]);if((0,to.isLineTool)(this._dataSource)){const t=n.lineToolsGroupModel().groupForLineTool(this._dataSource);null!==t?((0,I.assert)(!e.some(e=>e.hasChildren())),s.forEach(e=>{(0,to.isLineTool)(e)&&(t.containsLineTool(e)||o.addLineToolToGroup(t,e))})):r()}else r();t(s),this._undoModel.endUndoMacro()}}class wo{constructor(e,t){this._onTitleChanged=new(Zn()),this._onVisibilityChanged=new(Zn()),this._onLockChanged=new(Zn()),this._onIsActualIntervalChanged=new(Zn()),this._syncStateChanged=new(Zn()),this._linkKeyChangedBound=this._linkKeyChanged.bind(this),this._lineToolsAffectChartInvalidation=new uo.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1),this._undoModel=e,this._group=t,this._lineTools=t.lineTools(),this._paneId=(0,I.ensureNotNull)(e.model().paneForSource(this._lineTools[0])).id();const n=()=>{this._lineTools.forEach(e=>{e.properties().visible.listeners().subscribe(this,()=>this._onVisibilityChanged.fire()),e.properties().frozen.listeners().subscribe(this,()=>this._onLockChanged.fire()),e.onIsActualIntervalChange().subscribe(this,()=>this._onIsActualIntervalChanged.fire()),e.linkKey().subscribe(this._linkKeyChangedBound),e.sharingMode().subscribe(this._linkKeyChangedBound)})};this._group.onChanged().subscribe(this,e=>{this._unsubscribeFromAllLineTools(),this._lineTools=this._group.lineTools(),n(),e.lockedChanged&&this._onLockChanged.fire(),e.visibilityChanged&&this._onVisibilityChanged.fire(),e.titleChanged&&this._onTitleChanged.fire(),e.isActualIntervalChanged&&this._onIsActualIntervalChanged.fire();const t=this.getDrawingSyncState();null!==t&&this._syncStateChanged.fire(t)}),n(),this._lastActualZOrder=this.zOrder(),this._lastIsVisible=this.isVisible(),this._lastIsActualInterval=this.isActualInterval(),this._lastIsLocked=this.isLocked()}destroy(){this._unsubscribeFromAllLineTools(),this._group.onChanged().unsubscribeAll(this)}id(){return Xn(this._group.id,this._group.instanceId())}title(){return this._group.name()}gaLabel(){return"Group"}getIcon(){return{type:Mn.Svg,content:co}}canBeRemoved(){return!0}canBeHidden(){return!0}canBeLocked(){return!0}canBeRenamed(){return!0}fullyConstructed(){return!0}isVisible(){return this._group.lineTools().length>0&&(this._lastIsVisible="Invisible"!==this._group.visibility()),this._lastIsVisible}isActualInterval(){return this._group.lineTools().length>0&&(this._lastIsActualInterval=this._group.lineTools().some(e=>e.isActualInterval())),this._lastIsActualInterval}onIsActualIntervalChange(){return this._onIsActualIntervalChanged}isLocked(){return this._group.lineTools().length>0&&(this._lastIsLocked="Locked"===this._group.locked()),this._lastIsLocked}onTitleChanged(){return this._onTitleChanged}onVisibilityChanged(){return this._onVisibilityChanged}onLockChanged(){return this._onLockChanged}setVisible(e){ -this._undoModel.lineToolsGroupController().setGroupVisibility(this._group,e)}setLocked(e){this._undoModel.lineToolsGroupController().setGroupLock(this._group,e)}setName(e){this._undoModel.lineToolsGroupController().setGroupName(this._group,e)}isCopiable(){return!1}isClonable(){return!1}zOrder(){return this._group.lineTools().length>0&&(this._lastActualZOrder=this._group.lineTools()[0].zorder()),this._lastActualZOrder}remove(){this._undoModel.lineToolsGroupController().removeGroup(this._group)}canBeAddedToSelection(){const e=this._undoModel.model();return this._lineTools.every(t=>e.selection().canBeAddedToSelection(t))}setAsSelection(){this._undoModel.model().selectionMacro(e=>{e.clearSelection(),this._lineTools.forEach(t=>e.addSourceToSelection(t))})}addToSelection(){this._undoModel.model().selectionMacro(e=>{this._lineTools.forEach(t=>e.addSourceToSelection(t))})}addSourcesToArray(e){return e.push(...this._lineTools),e}detachFromParent(){}insertSourcesBeforeThis(e){const t=this._insertBeforeTarget();this._insertSources(e,e=>this._undoModel.insertBefore(e,t))}insertSourcesAfterThis(e){const t=this._insertAfterTarget();this._insertSources(e,e=>this._undoModel.insertAfter(e,t))}childrenIds(){const e=[...this._lineTools];return e.sort((e,t)=>t.zorder()-e.zorder()),new Set(e.map(e=>Xn(e.id(),e.instanceId())))}hasChildren(){return!0}pane(){return(0,I.ensureDefined)(this._undoModel.model().panes().find(e=>e.id()===this._paneId))}allowsMovingbetweenPanes(){return!1}canBeAddedToGroup(){return!1}canInsertBeforeThis(e){return this._canInsertBeforeOrAfter(e)}canInsertAfterThis(e){return this._canInsertBeforeOrAfter(e)}canBeSyncedInLayout(){return this._lineTools.length>0&&this._lineTools[0].isSynchronizable()}onSyncStateChanged(){return this._syncStateChanged}setDrawingSyncState(e){if(this.canBeSyncedInLayout())switch(e){case 0:const e=this._lineTools.filter(e=>null!==e.linkKey().value());e.length>0&&this._undoModel.unlinkLines(e);break;case 1:const t=this._lineTools.filter(e=>null===e.linkKey().value());t.length>0&&this._undoModel.copyToOtherCharts(t)}}getDrawingSyncState(){return this.canBeSyncedInLayout()?this._lineTools.every(e=>null!==e.linkKey().value())?1:0:null}doNotAffectChartInvalidation(){return this._lineToolsAffectChartInvalidation.value()}_linkKeyChanged(){this._syncStateChanged.fire((0,I.ensureNotNull)(this.getDrawingSyncState()))}_canInsertBeforeOrAfter(e){return _o(this.pane(),e)}_insertSources(e,t){this._undoModel.beginUndoMacro(vo);const n=e.reduce((e,t)=>t.addSourcesToArray(e),[]);e.forEach(e=>e.detachFromParent()),t(n),this._undoModel.endUndoMacro()}_insertBeforeTarget(){return(0,I.ensureNotNull)(this._lineTools.reduce((e,t)=>null===e?t:e.zorder()null===e?t:e.zorder()>t.zorder()?e:t,null))}_unsubscribeFromAllLineTools(){this._lineTools.forEach(e=>{e.properties().visible.listeners().unsubscribeAll(this),e.properties().frozen.listeners().unsubscribeAll(this),e.onIsActualIntervalChange().unsubscribeAll(this), -e.linkKey().unsubscribe(this._linkKeyChangedBound),e.sharingMode().unsubscribe(this._linkKeyChangedBound)})}}class To{constructor(e){this._hoveredObjectChanged=new(Zn()),this._entitiesCache=new Map,this._undoModel=e,this._undoModel.model().hoveredSourceChanged().subscribe(this,this._onModelHoveredSourceChanged)}destroy(){for(const e of this._entitiesCache.values())null==e||e.destroy()}getObjectById(e){if(this._entitiesCache.has(e))return(0,I.ensureDefined)(this._entitiesCache.get(e));const t=this._createObjectById(e);return this._entitiesCache.set(e,t),t}invalidateCache(e){Array.from(this._entitiesCache.keys()).forEach(t=>{var n;e.has(t)||(null===(n=this._entitiesCache.get(t))||void 0===n||n.destroy(),this._entitiesCache.delete(t))})}canBeGroupped(e){if(0===e.length||1===e.length&&e[0].hasChildren())return!1;const t=[];if(e.forEach(e=>e.addSourcesToArray(t)),t.some(e=>!(0,to.isLineTool)(e)||!e.boundToSymbol()))return!1;const n=this._undoModel.model(),o=t.map(e=>n.paneForSource(e));return!(new Set(o).size>1)}contextMenuActions(e,t,n){const o=new so.ActionsProvider(e,n),r=[];return t.forEach(e=>e.addSourcesToArray(r)),o.contextMenuActionsForSources(r)}insertBefore(e,t){t.insertSourcesAfterThis(e)}insertAfter(e,t){t.insertSourcesBeforeThis(e)}setHoveredObject(e){const t=this._undoModel.model();if(null===e)return void t.setHoveredSource(null,null);const n=t.dataSourceForId(e);null!==n&&t.setHoveredSource(n,null)}hoveredObjectId(){return bo(this._undoModel.model().hoveredSource())}hoveredObjectChanged(){return this._hoveredObjectChanged}_onModelHoveredSourceChanged(e){this._hoveredObjectChanged.fire(bo(e))}_createObjectById(e){const t=$n(e).persistentId,n=this._undoModel.model(),o=n.dataSourceForId(t);if(null!==o)return new Co(this._undoModel,o);const r=n.lineToolsGroupModel().groupForId(t);return null!==r?new wo(this._undoModel,r):null}}var Io=n(22932),Eo=n(97056),Mo=n(28296),xo=n(52714),Do=n.n(xo),Ao=n(76576),Lo=n(54859),No=n(48111),ko=n(57914),Oo=n(94669),Bo=n(78679);const Ro=(0,l.getLogger)("Platform.GUI.ObjectTree");const Fo=new eo.TranslatedString("move objects",(0,v.t)("move objects")),Po=new eo.TranslatedString("lock objects",(0,v.t)("lock objects")),jo=new eo.TranslatedString("unlock objects",(0,v.t)("unlock objects")),zo=new eo.TranslatedString("show objects",(0,v.t)("show objects")),Vo=new eo.TranslatedString("hide objects",(0,v.t)("hide objects")),Ho=new eo.TranslatedString("remove objects",(0,v.t)("remove objects")),Go=(0,v.t)("Create a group of drawings"),Wo=(0,v.t)("Rename"),Uo=(0,v.t)("Unlock"),Ko=(0,v.t)("Lock"),Zo=(0,v.t)("Hide"),Qo=(0,v.t)("Show"),Xo=(0,v.t)("Remove");class $o{constructor(e){this._nodes={},this._onChange=new(Zn()),this._onGroupCreated=new(Zn()),this._subscriptions=[],this._removeSourcesPromise=null,this._timeout=null,this._objects=[],this._options={general:!0,mainSeries:!0,mainSeriesTrade:!0,esdStudies:!0,fundamentals:!0,studies:!0,lineTools:!0,publishedCharts:!0,ordersAndPositions:!0,alerts:!1,chartEvents:!0,objectTree:!1,gotoLineTool:!0},this._isContextMenuOpened=new(Do())(!1), -this._getObjectsToModify=e=>{const t=this.selection().selected();return t.find(t=>t===e)?t.map(this._ensuredEntity):[this._ensuredEntity(e)]},this._onActiveChartChanged=()=>{this._cleanup(),this._init()},this._cleanup=()=>{null!==this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this._subscriptions.forEach(e=>{e.unsubscribeAll(this)}),this._selection.destroy(),this._chart.unsubscribe(this._onActiveChartChanged),null!==this._removeSourcesPromise&&this._removeSourcesPromise.cancel(),this._facade.destroy()},this._init=()=>{const e=this._chart.value();e.hasModel()&&(this._controller=e.model(),this._groupController=this._controller.lineToolsGroupController(),this._model=this._controller.model(),this._groupModel=this._model.lineToolsGroupModel(),this._facade=new To(this._controller),this._subscriptions=[this._model.mainSeries().onStyleChanged(),this._model.mainSeries().dataEvents().symbolResolved(),this._model.mainSeries().onIntervalChanged(),this._model.panesCollectionChanged(),this._model.dataSourceCollectionChanged(),this._groupModel.onChanged()],this._subscriptions.forEach(e=>{e.subscribe(this,this._update)}),this._chart.subscribe(this._onActiveChartChanged),this._selection=new qn(this._model),this._update())},this._update=()=>{null===this._timeout&&(this._timeout=setTimeout(()=>{this._recalculateTree(),this._onChange.fire(),this._timeout=null}))},this._ensuredEntity=e=>(0,I.ensureNotNull)(this._getEntityById(e)),this._chart=e,this._init()}destroy(){this._cleanup()}getState(){return{nodes:Object.values(this._nodes),selection:this._selection.selected()}}getChartId(){return this._chart.value().id()}insertSelection(e,t){const n=this._facade,o=this.selection().selected().map(this._ensuredEntity),[r,s]=this._normalizeTargetAndDropType(e,t);this._controller.withMacro(Fo,()=>{switch(s){case"before":n.insertBefore(o,r);break;case"after":n.insertAfter(o,r)}}),this._update()}entity(e){return this._facade.getObjectById(e)}isMain(e){return $n(e.id()).persistentId===this._controller.mainSeries().id()}selection(){return this._selection}setIsLocked(e,t){const n=this._getObjectsToModify(e),o=n.every(e=>e.doNotAffectChartInvalidation()),r=t?Po:jo;this._controller.withMacro(r,()=>{for(const e of n)e.setLocked(t)},o),hn("Lock",pn(n))}setIsVisible(e,t){const n=this._getObjectsToModify(e),o=n.every(e=>e.doNotAffectChartInvalidation()),r=t?zo:Vo;this._controller.withMacro(r,()=>{for(const e of n)e.setVisible(t)},o),hn("Hide",pn(n))}remove(e){const t=()=>{const e=n.every(e=>e.doNotAffectChartInvalidation());this._controller.withMacro(Ho,()=>{for(const e of n)e.remove()},e),hn("Delete",pn(n)),this._update()},n=this._getObjectsToModify(e);t()}canSelectionBeGrouped(){const e=this._getSelectedEntities();return this._facade.canBeGroupped(e)}createGroupFromSelection(){const e=this._groupController.createGroupFromSelection();hn("Create Group");const t=Xn(e.id,e.instanceId());this.selection().set([this._ensuredEntity(t)]),this._onGroupCreated.fire(t),this._update()}isSelectionDropable(e,t){ -const n=this.selection().selected().map(this._ensuredEntity),[o,r]=this._normalizeTargetAndDropType(e,t);switch(r){case"after":return o.canInsertAfterThis(n);case"before":return o.canInsertBeforeThis(n)}}onChange(){return this._onChange}onGroupCreated(){return this._onGroupCreated}isSelectionCloneable(){const e=this._getSelectedEntities();return e.length>0&&e.every(e=>e.isClonable())}isSelectionCopiable(){const e=this._getSelectedEntities();return e.length>0&&e.every(e=>e.isCopiable())}openProperties(e,t){const n=this._model.dataSourceForId($n(e.id()).persistentId);this.selection().selected().length>1&&this.selection().selected().includes(e.id())?this._chart.value().showSelectedSourcesProperties(t):(this.selection().set([e]),null!==n?this._controller.mainSeries()===n?this._chart.value().showGeneralChartProperties():((0,to.isLineTool)(n)||(0,no.isStudy)(n))&&this._chart.value().showChartPropertiesForSource(n,t):this._chart.value().showChartPropertiesForSources({sources:this._chart.value().model().selection().lineDataSources(),title:e.title(),tabName:t,renamable:!0}))}canSelectionBeUnmerged(){const e=this._getSelectedEntities();return 1===e.length&&this.canNodeWithIdBeUnmerged($n(e[0].id()).persistentId)}canNodeWithIdBeUnmerged(e){const t=this._model.dataSourceForId(e);return null!==t&&(0,Io.isPriceDataSource)(t)&&this._model.isUnmergeAvailableForSource(t)}unmergeSelectionUp(){this._unmergeSelection(0)}unmergeSelectionDown(){this._unmergeSelection(1)}copySelection(){const e=this._getSelectedEntities(),t=e.map(e=>(0,I.ensureNotNull)(this._model.dataSourceForId($n(e.id()).persistentId)));this._chart.value().chartWidgetCollection().clipboard.uiRequestCopy(t),hn("Copy",pn(e))}cloneSelection(){const e=this._getSelectedEntities(),t=e.map(e=>(0,I.ensureNotNull)(this._model.dataSourceForId($n(e.id()).persistentId)));t.every(to.isLineTool)&&(this._controller.cloneLineTools([...t],!1),hn("Clone",pn(e)))}rename(e,t){const n=this._getObjectsToModify(e.id());1===n.length&&n.some(e=>e.canBeRenamed())&&(t(),hn("Rename",pn(n)))}async openContextMenu(e,t,n){var o;this._objects=this._getObjectsToModify(e.id());const r=this._facade.canBeGroupped(this._objects);let s;if(this._objects.some(e=>e.hasChildren()))s=this._getActionsForGroupItem(e,t,r);else{const e=await this._facade.contextMenuActions(this._chart.value(),this._objects,this._options);if(s=Array.from(e).filter((e,t,n)=>"separator"!==e.type||!n[t+1]||"separator"!==n[t+1].type),1===this._objects.length&&this._objects[0].canBeRenamed()){const e=s.findIndex(e=>"Copy"===e.id);s.splice(-1===e?s.length:e+1,0,this._getRenameAction(t))}if(r){const e=s.findIndex(e=>"Clone"===e.id);s.splice(-1===e?0:e,0,this._getGroupAction())}}if(s.length>0){this._chart.value().updateActions();const t=$n(e.id()).persistentId,r=this._model.dataSourceForId(t),i=r instanceof ro.Series,l=0!==e.childrenIds().size;let a;a=i?{menuName:"ObjectTreeContextMenu",detail:{type:"series",id:r.instanceId()}}:(0,to.isLineTool)(r)?{menuName:"ObjectTreeContextMenu",detail:{type:"shape", -id:null!==(o=null==r?void 0:r.id())&&void 0!==o?o:null}}:l?{menuName:"ObjectTreeContextMenu",detail:{type:"groupOfShapes",id:t||null}}:{menuName:"ObjectTreeContextMenu",detail:{type:"study",id:(null==r?void 0:r.id())||null}},Eo.ContextMenuManager.showMenu(s,n,{takeFocus:!0,returnFocus:!0},a,()=>{this._isContextMenuOpened.setValue(!1)}).then(()=>{this._isContextMenuOpened.setValue(!0)})}}setHoveredObject(e){this._facade.setHoveredObject(e)}hoveredObjectChanged(){return this._facade.hoveredObjectChanged()}getNextNodeIdAfterRemove(e){var t;const{nodes:n}=this.getState(),o=$n(e).persistentId,r=n.find(t=>t.id===e),s=this.entity(e);if(!(r&&r.parentId&&s&&s.canBeRemoved()))return null;if((null===(t=s.pane().mainDataSource())||void 0===t?void 0:t.id())===o&&!this.canNodeWithIdBeUnmerged(o)){const e=n.filter(e=>0===e.level).map(e=>e.id),t=this._takeNextOrPrevElement(e,r.parentId);return(0,I.ensureDefined)(n.find(e=>e.id===t)).children[0]}const i=(0,I.ensureDefined)(n.find(e=>e.id===r.parentId)).children;return 1===i.length?this.getNextNodeIdAfterRemove(r.parentId):this._takeNextOrPrevElement(i,e)}isContextMenuOpened(){return this._isContextMenuOpened.readonly()}getChartLayout(){return this._chart.value().chartWidgetCollection().layout}_takeNextOrPrevElement(e,t){const n=e.indexOf(t);return e[n===e.length-1?n-1:n+1]}_getGroupAction(){return new Mo.Action({actionId:"ObjectsTree.CreateGroup",label:Go,icon:R,onExecute:()=>{this.createGroupFromSelection()}})}_getRenameAction(e){return new Mo.Action({actionId:"ObjectsTree.RenameItem",label:Wo,icon:Oo,onExecute:()=>{e(),hn("Context menu rename",pn(this._objects))}})}_getActionsForGroupItem(e,t,n){const o=[];this._objects.forEach(e=>e.addSourcesToArray(o));const r=[];1===this._objects.length&&r.unshift(this._getRenameAction(t),new Mo.Separator),n&&r.unshift(this._getGroupAction(),new Mo.Separator);const s=(0,so.createSyncDrawingActions)(this._chart.value(),o.filter(to.isLineTool));return s.length&&(s.shift(),s.push(new Mo.Separator),r.push(...s)),r.push(new Mo.Action({actionId:"ObjectsTree.ToggleItemLocked",label:e.isLocked()?Uo:Ko,icon:e.isLocked()?Ao:Lo,onExecute:()=>this.setIsLocked(e.id(),!e.isLocked())}),new Mo.Action({actionId:"ObjectsTree.ToggleItemVisibility",label:e.isVisible()?Zo:Qo,icon:e.isVisible()?No:ko,onExecute:()=>this.setIsVisible(e.id(),!e.isVisible())}),new Mo.Action({actionId:"ObjectsTree.RemoveItem",label:Xo,icon:Bo,onExecute:()=>this.remove(e.id()),hotkeyHash:Ct.isMacKeyboard?8:46}),new Mo.Separator,this._chart.value().actions().format),r}_unmergeSelection(e){const t=this._getSelectedEntities();if(1!==t.length)throw new Error("Only one object can be unmerged");const n=t[0],o=(0,I.ensureNotNull)(this._model.dataSourceForId($n(n.id()).persistentId));if(!(0,Io.isPriceDataSource)(o))throw new Error("Entity is not IPriceDataSource");(0===e?this._controller.unmergeSourceUp:this._controller.unmergeSourceDown).call(this._controller,o);hn(0===e?"New pane above":"New pane below",pn([n]))}_recalculateTree(){const e=new Jn(this._controller,this._facade) -;this._nodes=e.buildTree()}_normalizeTargetAndDropType(e,t){let n=this._ensuredEntity(e);return"inside"===t&&(t="before",n=(0,I.ensureNotNull)(this.entity([...n.childrenIds()].shift()||""))),[n,t]}_getSelectedEntities(){const{selected:e,removed:t}=this._selection.selected().reduce((e,t)=>{const n=this._getEntityById(t);return n?(e.selected.push(n),e):(e.removed.push(t),e)},{selected:[],removed:[]});return t.length&&Ro.logWarn("Detected dangling sources in selection. They will be ignored: "+JSON.stringify(t)),e}_getEntityById(e){return this._facade.getObjectById(e)}}var qo=n(22729);class Jo extends qo.DialogRenderer{constructor(){super(),this._handleClose=()=>{r.unmountComponentAtNode(this._container),this._setVisibility(!1),null!==this._viewModel&&(this._viewModel.destroy(),this._viewModel=null)};const e=(0,Wn.service)(Un.CHART_WIDGET_COLLECTION_SERVICE);this._activeChartWidget=e.activeChartWidget.value(),this._viewModel=new $o(e.activeChartWidget)}hide(){this._handleClose()}isVisible(){return this.visible().value()}show(){p().then(()=>{null!==this._viewModel&&(r.render(o.createElement(Hn,{onClose:this._handleClose,viewModel:this._viewModel,activeChartWidget:this._activeChartWidget}),this._container),this._setVisibility(!0))})}}},36947:(e,t,n)=>{"use strict";n.d(t,{useForceUpdate:()=>r});var o=n(59496);const r=()=>{const[,e]=(0,o.useReducer)((e,t)=>e+1,0);return e}},77975:(e,t,n)=>{"use strict";n.d(t,{useWatchedValueReadonly:()=>r});var o=n(59496);const r=(e,t=!1)=>{const n="watchedValue"in e?e.watchedValue:void 0,r="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[s,i]=(0,o.useState)(n?n.value():r);return(t?o.useLayoutEffect:o.useEffect)(()=>{if(n){i(n.value());const e=e=>i(e);return n.subscribe(e),()=>n.unsubscribe(e)}return()=>{}},[n]),s}},61074:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>i});var o=n(59496),r=n(97754),s=n(33134);n(24780);function i(e){const t=r(e.className,"tv-spinner","tv-spinner--shown","tv-spinner--size_"+s.spinnerSizeMap[e.size||s.DEFAULT_SIZE]);return o.createElement("div",{className:t,style:e.style,role:"progressbar"})}},70029:e=>{e.exports=''},72802:e=>{ -e.exports=''},16788:e=>{e.exports=''},94669:e=>{e.exports=''},88142:e=>{e.exports=''},28337:e=>{e.exports=''},38593:e=>{e.exports=''},68256:e=>{ -e.exports=''},20077:e=>{e.exports=''},36666:e=>{e.exports=''},57914:e=>{ -e.exports=''},13696:e=>{e.exports=''},55247:e=>{e.exports=''},3589:e=>{e.exports=''},82308:e=>{ -e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/one-usd-banner.bf548661215c404433e5.js b/charting_library/bundles/one-usd-banner.bf548661215c404433e5.js new file mode 100644 index 00000000..7544d6a0 --- /dev/null +++ b/charting_library/bundles/one-usd-banner.bf548661215c404433e5.js @@ -0,0 +1 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7550],{33492:e=>{e.exports={banner:"banner-EZ3DKk2H","countdown-section":"countdown-section-EZ3DKk2H","main-section":"main-section-EZ3DKk2H",title:"title-EZ3DKk2H","main-text":"main-text-EZ3DKk2H",image:"image-EZ3DKk2H"}},56299:(e,t,n)=>{"use strict";n.d(t,{OfferBanner:()=>m});var a=n(59496),r=n(28353),o=n(53746),i=n(82760),c=n(5437),s=n(33492);function m(e){const{expiration:t,title:n,mainTitle:m,buttonProps:l,buttonText:u=r.t("Learn more"),imgSrc:d}=e;return a.createElement("article",{className:s.banner},a.createElement("section",{className:s["main-section"]},a.createElement("h2",{className:s.title},n),a.createElement("p",{className:s["main-text"]},m),a.createElement(c.RoundAnchorButton,{className:s["cta-button"],...l},u)),a.createElement("section",{className:s["countdown-section"]},a.createElement("img",{src:d,className:s.image,role:"presentation"}),a.createElement(o.OfferCountdown,{theme:i.CountdownTheme.Profile,expiration:t,size:"m"})))}},11042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{renderOneUsdBanner:()=>f});var a=n(59496),r=n(87995),o=n(28353),i=n(77975),c=n(45345),s=n(26843),m=n(56299),l=n(70785),u=n(24759);function d(e){const t=(0,i.useWatchedValueReadonly)({watchedValue:c.watchedTheme})===s.StdTheme.Light?l:u,n=o.t("Upgrade for $1"),r=o.t("One month of upgraded features for one dollar.");return a.createElement(m.OfferBanner,{title:n,mainTitle:r,buttonProps:{href:"/gopro/?source=profile&feature=one_usd_banner"},imgSrc:t,expiration:e.expiration})}function f(e,t){r.render(a.createElement(d,{...t}),e)}}}]); \ No newline at end of file diff --git a/charting_library/bundles/price-alerts-dispatcher.416bae3f764ba35699c2.js b/charting_library/bundles/price-alerts-dispatcher.416bae3f764ba35699c2.js new file mode 100644 index 00000000..42ee7e2e --- /dev/null +++ b/charting_library/bundles/price-alerts-dispatcher.416bae3f764ba35699c2.js @@ -0,0 +1,50 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8158],{24993:(e,t,n)=>{"use strict";var r;n.d(t,{AlertEditorAbortReason:()=>r}),function(e){e.AlertIsInvalid="alert-is-invalid",e.AlertsMaintenance="alerts-maintenance",e.ChartModelNotFound="chart-model-not-found",e.IsAlreadyPresent="is-already-present",e.MainSeriesIsATR="main-series-is-atr",e.MainSeriesIsInReplay="main-series-is-in-replay",e.MainSeriesIsOffline="main-series-is-offline",e.SourceIsDangerous="source-is-dangerous",e.SymbolInfoTimeout="symbol-info-timeout",e.SymbolIsInvalid="symbol-is-invalid",e.SymbolCurrencyConverted="symbol-currency-converted",e.SymbolUnitConverted="symbol-unit-converted",e.SymbolCurrencyAndUnitConverted="symbol-currency-and-unit-converted",e.SymbolIsEconomics="symbol-is-economics",e.UnsupportedResolution="unsupported-resolution",e.ManualAbort="manual-abort",e.MisleadingPriceScale="misleading-price-scale"}(r||(r={}))},99486:(e,t,n)=>{"use strict";n.d(t,{getAlertDialogType:()=>p,shouldAbortAlertEditor:()=>h,showAbortExplainingDialog:()=>m});var r=n(28353),i=n(3615),o=n(24993),s=n(16654),a=n(37667),l=n(82992),c=n(26187),u=n(22822),d=n(51712),_=n(39193);function p(e){return e.alert?e.type||"edit_alert":"create_alert"}function h(e){var t;if(_.alertsMaintenanceTracker.value())return o.AlertEditorAbortReason.AlertsMaintenance;if(!e.alert&&!e.dataSourceHub)return o.AlertEditorAbortReason.ChartModelNotFound;if(!c.alertEditorInvocationHandler.isAllowedToInvoke(e))return o.AlertEditorAbortReason.IsAlreadyPresent;const n=null===(t=e.dataSourceHub)||void 0===t?void 0:t.mainSeries();if(n&&f(n))return o.AlertEditorAbortReason.MainSeriesIsOffline;if(n&&function(e){return e.status()===s.STATUS_INVALID_SYMBOL}(n))return o.AlertEditorAbortReason.SymbolIsInvalid;if(n&&n.isConvertedToOtherCurrency()&&n.isConvertedToOtherUnit())return o.AlertEditorAbortReason.SymbolCurrencyAndUnitConverted;if(n&&n.isConvertedToOtherCurrency())return o.AlertEditorAbortReason.SymbolCurrencyConverted;if(n&&n.isConvertedToOtherUnit())return o.AlertEditorAbortReason.SymbolUnitConverted;const r=p(e);if("create_alert"===r&&n&&function(e){var t;return"ATR"===(null===(t=e.stateForAlert().styleInputs)||void 0===t?void 0:t.style)}(n))return o.AlertEditorAbortReason.MainSeriesIsATR;if("create_alert"===r&&n&&function(e){return e.isInReplay()}(n))return o.AlertEditorAbortReason.MainSeriesIsInReplay;if("create_alert"===r&&n&&function(e){return(0,a.isEconomicSymbol)(e.symbolInfo())}(n))return o.AlertEditorAbortReason.SymbolIsEconomics;const i=n?n.interval():l.linking.interval.value();return"create_alert"!==r||(0,u.canPlaceAlertOnResolution)(i)?null:o.AlertEditorAbortReason.UnsupportedResolution}function f(e){return e.status()===s.STATUS_OFFLINE}function m(e,t){if(g.has(e))return;g.add(e);const n=()=>g.delete(e),s=function(e){return new Map([[o.AlertEditorAbortReason.UnsupportedResolution,"alertsOnSeconds"]]).get(e)||null}(e);if(s)return void(0,d.reloginOrGoPro)({feature:s,actionAfterClose:n});const a=function(e,t){ +const n=r.t("Oops!"),i=r.t("Alert editor could not be initialized"),s=r.t("Ok");return new Map([[o.AlertEditorAbortReason.AlertsMaintenance,{title:r.t("Alerts maintenance"),text:r.t("We are doing some brief daily maintenance. Alerts will be back really soon, thanks for your patience!"),buttonText:s}],[o.AlertEditorAbortReason.MainSeriesIsOffline,{title:n,text:("create_alert"===t?r.t("Cannot create an alert while offline"):r.t("Cannot edit an alert while offline"))+". "+r.t("Please check your internet connection")+".",buttonText:s}],[o.AlertEditorAbortReason.SymbolIsInvalid,{title:n,text:"create_alert"===t?r.t("Can't create alert on invalid symbol"):r.t("Can't edit alert on invalid symbol"),buttonText:s}],[o.AlertEditorAbortReason.SymbolCurrencyAndUnitConverted,{title:r.t("Both the currency and the unit have been converted!"),text:"create_alert"===t?r.t("It's not currently possible to create alerts on such a scale."):r.t("It's not currently possible to edit alerts on such a scale."),buttonText:r.t("Got it")}],[o.AlertEditorAbortReason.SymbolCurrencyConverted,{title:r.t("A converted currency has been detected!"),text:"create_alert"===t?r.t("It's not currently possible to create alerts for this type of symbol."):r.t("It's not currently possible to edit alerts for this type of symbol."),buttonText:r.t("Got it")}],[o.AlertEditorAbortReason.SymbolUnitConverted,{title:r.t("A converted unit has been detected!"),text:"create_alert"===t?r.t("It's not currently possible to create alerts for this type of symbol."):r.t("It's not currently possible to edit alerts for this type of symbol."),buttonText:r.t("Got it")}],[o.AlertEditorAbortReason.SymbolIsEconomics,{title:r.t("Dang-it – Wrong symbol type!"),text:r.t("Alerts aren't available right now for economics symbols."),buttonText:r.t("Got it")}],[o.AlertEditorAbortReason.MainSeriesIsATR,{title:r.t("Alert cannot be set on an ATR-based chart"),text:r.t("Your alert won't trigger the way you expect it to! Inputs for ATR-based charts are recalculated each time you open a chart and are generally dependent on time. Please use the traditional chart type to set an alert with a static box size."),buttonText:s}],[o.AlertEditorAbortReason.MainSeriesIsInReplay,{title:r.t("Oops – Replay Mode!"),text:r.t("Alerts are not currently available in replay mode."),buttonText:r.t("Got it")}]]).get(e)||{title:n,text:i,buttonText:s}}(e,t);(0,i.showWarning)({...a,onClose:n})}const g=new Set},64021:(e,t,n)=>{"use strict";n.d(t,{FormattersSerializer:()=>c});var r=n(97098),i=n(67802),o=n(26811);class s{constructor(e){this.type="quoteSessionPrice",this.reset(e)}state(){return this._priceFormatter.state()}reset(e){this._priceFormatter=e||new r.PriceFormatter(100,1,!1)}update(e,t){const n=null!=t.pricescale||null!=t.minmov||null!=t.fractional||null!=t.minmove2,i=null!=e.pricescale&&null!=e.minmov&&null!=e.fractional&&null!=e.minmove2;n&&i&&(this._priceFormatter=new r.PriceFormatter(e.pricescale,e.minmov,e.fractional||!1,e.minmove2))}format(e,t,n){return this._priceFormatter.format(e,t,n)} +hasForexAdditionalPrecision(){return this._priceFormatter.hasForexAdditionalPrecision()}static serialize(e){return e.state()}static deserialize(e){const t=new r.PriceFormatter(e.priceScale,e.minMove,e.fractional,e.minMove2);return new s(t)}}var a=n(88537);const l={price:r.PriceFormatter,volume:i.VolumeFormatter,percentage:o.PercentageFormatter,quoteSessionPrice:s};var c;!function(e){e.serialize=function(e){const t=(0,a.ensureDefined)(l[e.type]);return{type:e.type,state:t.serialize(e)}},e.deserialize=function(e){return(0,a.ensureDefined)(l[e.type]).deserialize(e.state)}}(c||(c={}))},95379:e=>{"use strict";function t(e){var t=JSON.stringify(e);return t=t.replace(/'/g,"\\'")}e.exports={formatCallstudyArg:t,prepareCallStudyArgs:function(e,n){var r={};if(n.isTVScript){var i=n.defaults.inputs.text;r.text=(void 0).patchILTemplate(i,n,e)}else for(var o=Object.keys(e),s=o.length-1;s>=0;s--){var a=o[s],l=e[a]?e[a].id:null;l&&e[l]&&(r[l]=e[l])}return t(r)}}},99543:(e,t,n)=>{"use strict";var r=n(2872),i=n(23127),o=n(28353).t,s=n(88537).assert,a=n(51768).trackEvent,l=n(21097).TVXWindowEvents,c=n(98125).getLogger("Pine.ScriptLib"),u=n(52485).telemetry,d=n(76422),_={fast:["delete","get","is_auth_to_get","is_auth_to_write","parse_title","rename","lib_list"],medium:["list","eval_pine_ex","translate_light"],slow:["process_legacy","publish","save","translate","translate_source","gen_alert"]};var p={};function h(){p._cache={}}p._isAuthCache=new h,p._pineDeleted=new r,l.on("TVScriptModified",(function(e){p.clearSavedScriptsCache(),p.scriptUpdater()&&p.scriptUpdater().onTVScriptModified(JSON.parse(e))})),l.on("TVScriptDeleted",(function(e){p.clearAllCaches(),p.scriptUpdater()&&p.scriptUpdater().onTVScriptDeleted(JSON.parse(e))})),l.on("TVScriptRenamed",(function(e){p.clearSavedScriptsCache(),p.scriptUpdater()&&p.scriptUpdater().onTVScriptRenamed(JSON.parse(e))})),l.on("TVScriptLegacyPineProcessed",(function(e){p.clearSavedScriptsCache(),p.scriptUpdater()&&p.scriptUpdater().onTVScriptLegacyPineProcessed(JSON.parse(e))})),p.PINE_FACADE_URL=function(){return window.PINE_URL},p.onPineDeleted=function(){return p._pineDeleted},p._pineFacadeAjax=function(e,t,n,r){c.logNormal("Requesting pine facade scripts, url: "+t);var o=function(e,t){for(var n=Object.keys(_),r=0;r1,"Unexpectedly short json path");for(var d=e,_=0;_=0})).forEach((function(e){delete p._cache[e]})):p._isAuthCache=new h},p.clearSavedScriptsCache=function(e){delete p._userScriptsDfd},p.requestUserScripts=function(e){if(a("Pine","ScriptLib.requestUserScripts"),window.is_authenticated){if(!p._userScriptsDfd){p._userScriptsDfd=i.Deferred();var t=p._userScriptsDfd;p._pineFacadeAjax("GET","/list?filter=saved").done((function(e,n,r){t.resolve(e)})).fail((function(e){p._anyRequestAsyncFail(t,e)}))}t=p._userScriptsDfd}else t=i.Deferred().resolve([]);return"function"==typeof e&&t.done(e),t.promise()},p.setUserScripts=function(e){p._userScriptsDfd||(p._userScriptsDfd=i.Deferred().resolve(e))},p.requestUserPublishedScripts=function(e,t){if(a("Pine","ScriptLib.requestUserPublishedScripts"),window.is_authenticated){if(t||!p._userPublishedScriptsDfd){p._userPublishedScriptsDfd=i.Deferred();var n=p._userPublishedScriptsDfd;p._pineFacadeAjax("GET","/list?filter=published").done((function(e,t,r){n.resolve(e)})).fail((function(e){p._anyRequestAsyncFail(n,e)}))}n=p._userPublishedScriptsDfd}else n=i.Deferred().resolve([]);return"function"==typeof e&&n.done(e),n.promise()},p.requestPineEditorNewTemplateScripts=function(e){a("Pine","ScriptLib.requestPineEditorNewTemplateScripts");var t=i.Deferred();return p._pineFacadeAjax("GET","/list/?filter=template",void 0,!0).done((function(e,n,r){t.resolve(e)})).fail((function(e){p._anyRequestAsyncFail(t,e)})),"function"==typeof e&&t.done(e),t.promise()},p.requestInfoForScripts=function(e){return Promise.all([p._pineFacadeAjax("GET","/list?filter=saved"),p._pineFacadeAjax("GET","/list?filter=addon",void 0,!0)]).then((function(t){var n=t[0],r=t[1];return n.concat(r).filter((function(t){return e.includes(t.scriptIdPart)}))}))},p.requestBuiltinScripts=function(){a("Pine","ScriptLib.requestBuiltinScripts"),c.logNormal("Request built-in scripts");var e=i.Deferred();return p._pineFacadeAjax("GET","/list/?filter=standard",void 0,!0).done((function(t,n,r){c.logNormal("Request built-in scripts finished"),e.resolve(t) +})).fail((function(t){c.logWarn("Request built-in scripts finished with fail"),p._anyRequestAsyncFail(e,t)})),e.promise()},p.requestBuiltinAndUserScripts=function(){a("Pine","ScriptLib.requestBuiltinAndUserScripts"),c.logNormal("Request built-in and user scripts");var e,t=window.user&&window.user.username,n={},r=new Promise((function(t,r){e=t,n.reject=r}));return Promise.all([p._pineFacadeAjax("GET","/list?filter=saved&user_name="+encodeURIComponent(t),void 0,!1),p._pineFacadeAjax("GET","/list?filter=standard",void 0,!0)]).then((function(t){c.logNormal("Request built-in and user scripts finished");var n=t[0],r=t[1];e(n.concat(r))})).catch((function(e){c.logWarn("Request built-in and user scripts finished with fail"),p._anyRequestAsyncFail(n,e)})),r},p.requestCandlestickScripts=function(){var e;a("Pine","ScriptLib.requestCandlestickScripts"),c.logNormal("Request candlestick scripts");var t={},n=new Promise((function(n,r){e=n,t.reject=r}));return p._pineFacadeAjax("GET","/list?filter=candlestick",void 0,!0).done((function(t){c.logNormal("Request candlestick scripts finished"),e(t)})).fail((function(e){c.logWarn("Request candlestick scripts finished with fail"),p._anyRequestAsyncFail(t,e)})),n};var f={time:-1/0,request:null};p.requestFundamentalScripts=function(){if(f.time+6e5>Date.now()&&null!==f.request)return c.logNormal("Return fundamentals from cache"),f.request;c.logNormal("Request fundamental scripts");var e=p._pineFacadeAjax("GET","/list?filter=fundamental",void 0,!1);return e.then((function(e){c.logNormal("Request fundamental scripts finished")})),e.fail((function(e){c.logWarn("Request fundamental scripts finished with fail, resetting cache"),f.request=null})),f.time=Date.now(),f.request=Promise.resolve(e.promise()),f.request},p.requestPineAddons=function(e){a("Pine","ScriptLib.requestPineAddons");var t=i.Deferred();return p._pineFacadeAjax("GET","/list?filter=addon&pine_id_prefix="+e).done((function(e){t.resolve(e)})).fail((function(e){p._anyRequestAsyncFail(t,e)})),t},p._updateAliveScriptInstances=function(e,t){var n={};n.scriptMetaInfo=e.result.metaInfo,n.scriptVersionToUpdate=t,l.emit("TVScriptModified",JSON.stringify(n)),d.emit("TVScriptModified",n),setTimeout((function(){n.isSelfCall=!0,null!=p.scriptUpdater()&&p.scriptUpdater().onTVScriptModified(n)}),0)},p.saveNew=function(e,t,n,r){a("Pine","ScriptLib.saveNew");var s=i.Deferred();if(null==e||""===e)return s.reject(o("Cannot save empty source code"));var l=window.user&&window.user.username,c=n?"&allow_overwrite=true":"",u="/save/new/?name="+encodeURIComponent(t)+"&user_name="+encodeURIComponent(l)+c,d={source:e};return p._pineFacadeAjax("POST",u,d).done((function(e,t,n){p.clearSavedScriptsCache(),p._updateAliveScriptInstances(e,r),p._saveScriptAsyncDone(s,e)})).fail((function(e,t,n){p._anyRequestAsyncFail(s,e)})),s.promise()},p.saveNext=function(e,t,n,r,s){a("Pine","ScriptLib.saveNext");var l=null!=n?"&name="+encodeURIComponent(n):"",c=i.Deferred();if(null==t||""===t)return c.reject(o("Cannot save empty source code")) +;var u=window.user&&window.user.username,d="/save/next/"+encodeURIComponent(e)+"/?user_name="+encodeURIComponent(u)+"&allow_create_new="+!!s+l,_={source:t};return p._pineFacadeAjax("POST",d,_).done((function(e,t,n){p.clearSavedScriptsCache(),p._updateAliveScriptInstances(e,r),p._saveScriptAsyncDone(c,e)})).fail((function(e,t,n){p._anyRequestAsyncFail(c,e)})),c.promise()},p.deletePine=function(e){a("Pine","ScriptLib.deletePine");var t=i.Deferred(),n=window.user&&window.user.username,r="/delete/"+encodeURIComponent(e)+"/?user_name="+encodeURIComponent(n);return p._pineFacadeAjax("POST",r).done((function(n,r,i){p.clearIsAuthToCaches(e),p.clearSavedScriptsCache(),t.resolve(n);var o={scriptIdPart:e};l.emit("TVScriptDeleted",JSON.stringify(o)),d.emit("TVScriptDeleted",o),setTimeout((function(){o.isSelfCall=!0,null!=p.scriptUpdater()&&p.scriptUpdater().onTVScriptDeleted(o),p._pineDeleted.fire(e)}),0)})).fail((function(e,n,r){p._anyRequestAsyncFail(t,e)})),t.promise()},p.renamePine=function(e,t,n){a("Pine","ScriptLib.renamePine");var r=i.Deferred(),o=window.user&&window.user.username,s="/rename/"+encodeURIComponent(e)+"/?name="+encodeURIComponent(t)+"&user_name="+encodeURIComponent(o)+"&force="+encodeURIComponent(!!n);return p._pineFacadeAjax("POST",s).done((function(n,i,o){p.clearSavedScriptsCache();var s={scriptIdPart:e,scriptName:t};l.emit("TVScriptRenamed",JSON.stringify(s)),d.emit("TVScriptRenamed",s),setTimeout((function(){s.isSelfCall=!0,null!=p.scriptUpdater()&&p.scriptUpdater().onTVScriptRenamed(s)}),0),r.resolve(n)})).fail((function(e,t,n){p._anyRequestAsyncFail(r,e)})),r.promise()},p.publishNew=function(e,t){a("Pine","ScriptLib.publishNew");var n=i.Deferred(),r=window.user&&window.user.username,o="/publish/new/?access="+encodeURIComponent(t)+"&user_name="+encodeURIComponent(r),s={source:e};return p._pineFacadeAjax("POST",o,s).done((function(e,t,r){e.success?(p.clearSavedScriptsCache(),n.resolve(e)):n.reject(e.reason)})).fail((function(e,t,r){p._anyRequestAsyncFail(n,e)})),n.promise()},p.publishNext=function(e,t){c.logNormal("ScriptLib.publishNext","pine"),a("Pine","ScriptLib.publishNext");var n=i.Deferred(),r=window.user&&window.user.username,o="/publish/next/"+encodeURIComponent(t)+"?user_name="+encodeURIComponent(r),s={source:e};return p._pineFacadeAjax("POST",o,s).done((function(e,t,r){p.clearSavedScriptsCache(),e.success||n.reject(e.reason),n.resolve(e)})).fail((function(e,t,r){p._anyRequestAsyncFail(n,e)})),n.promise()},p.lightTranslate=function(e,t){return c.logNormal("ScriptLib.lightTranslate","pine"),a("Pine","ScriptLib.lightTranslate"),new Promise((function(n,r){var i=window.user&&window.user.username,o="/translate_light/?user_name="+encodeURIComponent(i);t&&(o+="&pine_id="+encodeURIComponent(t));var s={source:e};p._pineFacadeAjax("POST",o,s).done((function(e,t,i){if(e.success)n(e.result);else{var o=e.result&&e.result.reason||e.reason;r(o)}})).fail((function(e,t,n){p._anyRequestAsyncFail({reject:r},e)}))}))},p.getLibList=function(e,t,n){return c.logNormal("ScriptLib.getLibList","pine"), +a("Pine","ScriptLib.getLibList"),new Promise((function(r,i){var o="/lib_list?lib_id_prefix="+encodeURIComponent(e);t&&(o+="&ignore_cache=true"),n&&(o+="&ignore_case=true"),p._pineFacadeAjax("GET",o).done((function(e,t,n){r(e)})).fail((function(e,t,n){p._anyRequestAsyncFail({reject:i},e)}))}))},p.getExistingLibraryInfo=async function(e){try{const t=await p.getLibList(e+"/last",!0,!0);if(!t.length)return null;const n=t[0];return{scriptIdPart:n.scriptIdPart,chartId:n.chartId,version:n.version}}catch(e){return null}},loginStateChange.subscribe(p,p.clearAllCaches),e.exports=p},83050:(e,t,n)=>{"use strict";n.r(t),n.d(t,{collectDepsForAlert:()=>g,dependenciesForAlerts:()=>S,idForAlert:()=>f,patchChildIdInInputs:()=>h,plotsForAlert:()=>m});var r=n(88537),i=n(98125),o=n(85619);var s=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},a=Object.keys||function(e){var t=Object.prototype.hasOwnProperty||function(){return!0},n=[];for(var r in e)t.call(e,r)&&n.push(r);return n},l=n(88145),c=n(67072),u=n.n(c),d=n(50993),_=n(80643);const p=(0,i.getLogger)("Chart.Study");function h(e,t,n){void 0!==t&&void 0!==n&&n.forEach(n=>{const r=e[n];if("string"==typeof r){const i=r.split("$")[1];e[n]=t+(void 0===i?"":"$"+i)}else if((0,_.isObject)(r)&&"source"===r.t){const e=r.v.split("$")[1];r.v=t+(void 0===e?"":"$"+e)}else p.logError("Cannot patch source input, its type is not source: "+JSON.stringify(r))})}function f(e,t,n){return(0,o.hash)(e+function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n=t.space||"";"number"==typeof n&&(n=Array(n+1).join(" "));var r,i="boolean"==typeof t.cycles&&t.cycles,o=t.replacer||function(e,t){return t},l=t.cmp&&(r=t.cmp,function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}),c=[];return function e(t,r,u,d){var _=n?"\n"+new Array(d+1).join(n):"",p=n?": ":":";if(u&&u.toJSON&&"function"==typeof u.toJSON&&(u=u.toJSON()),void 0!==(u=o.call(t,r,u))){if("object"!=typeof u||null===u)return JSON.stringify(u);if(s(u)){for(var h=[],f=0;f({...e,pinePlotIndex:t})).filter(e=>!(void 0!==n&&!n.includes(e.id))&&i.some(t=>t(e))).map(n=>{const i={id:n.id,type:n.type,pinePlotIndex:n.pinePlotIndex,offset:t(n.id)};if(e.styles&&void 0!==e.styles[n.id]){const t=(0,r.ensureDefined)((0,r.ensureDefined)(e.styles)[n.id]);i.title=t.title||"",i.text=t.text||""}return(0,d.isOhlcPlot)(n)&&n.target&&e.ohlcPlots&&e.ohlcPlots[n.target]&&(i.ohlcTitle=(0,r.ensureDefined)((0, +r.ensureDefined)(e.ohlcPlots)[n.target]).title),i})}function g(e,t){const n=[];let i,o;for(let r=e.length-1;r>=0;r--){const s=e[r],a=(0,l.extractStudyId)(s.metaInfo().id),c=u().getStudyIdWithLatestVersion(s.metaInfo());o=s.inputsForAlertState();h(o,i,s.metaInfo().inputs.filter(e=>"source"===e.type).map(e=>e.id));const d=Object.assign({},o);s.metaInfo().isTVScript&&delete d.text;const _=f(a,d,t);n.push({id:_,study:c,inputs:o}),i=_}return{idForAlert:(0,r.ensureDefined)(i),inputsForAlert:(0,r.ensureDefined)(o),studyDependencies:n.reverse()}}function S(e,t){throw new Error("Not implemented")}},47806:(e,t,n)=>{"use strict";n.d(t,{AlertConditionTokenMapType:()=>r,getAlertConditionTokenMap:()=>l});n(94419);var r,i=n(28353),o=n(88537);!function(e){e[e.MainSeries=0]="MainSeries",e[e.Study=1]="Study",e[e.PineScript=2]="PineScript",e[e.Strategy=3]="Strategy",e[e.PineScriptAlertFunction=4]="PineScriptAlertFunction"}(r||(r={}));const s=(0,i.t)("Upper Bound: {alertChannelUpperBoundaryTitle}, Lower Bound: {alertChannelLowerBoundaryTitle}"),a=e=>(0,i.t)("in {count} bar",{plural:"in {count} bars",count:e}).format({count:e.toString()});function l(e){const t=(0,o.ensureDefined)(e.get("extra")),n=t.getAlertSeries(),i=t.conditionData();if("alerts"===i.type)return{type:r.PineScriptAlertFunction,scriptTitle:n.title({short:!0}),isStrategy:"StudyStrategy"===n.type()};if("StudyStrategy"===n.type())return{type:r.Strategy,strategyTitle:n.title()};if(["pine_script","pine_alertcondition_plot"].includes(i.type))return{type:r.PineScript,conditionTitle:i.title,conditionMessage:i.message};const l=e.getFormatter();function c(e){const t=e.getPlots();return e.title({formatter:l,withPlotTitle:t&&t.length>1})}let u="";switch(i.type){case"moving":const e=t.movingValue(),n=t.movingPeriod();u=i.percents?`${e}% ${a(n)}`:`${l?l.format(e):e} ${a(n)}`;break;case"comparison":if(i.isChannel){const e=c(t.getUpperBand()),n=c(t.getLowerBand());u=`(${s.format({alertChannelUpperBoundaryTitle:e,alertChannelLowerBoundaryTitle:n})})`}else u=c(t.getBand())}const d=t.getMainSeries(),_=d?d.title({withInterval:!e.get("crossInterval")}):e.shortSymbol();return{conditionTitle:i.descriptionTitle||i.title,conditionOptions:u,..."MainSeries"===n.type()?{type:r.MainSeries,alertSeries:_}:{type:r.Study,alertSeries:n.title(),mainSeries:_}}}},26187:(e,t,n)=>{"use strict";n.d(t,{alertEditorInvocationHandler:()=>l});var r=n(52714),i=n.n(r),o=n(99486),s=n(88537);class a{constructor(){this._state=new(i())(!1)}subscribe(e){this._state.subscribe(e)}unsubscribe(e){this._state.unsubscribe(e)}value(){return this._state.value()}abort(){this._state.setValue(!0)}}const l=new class{constructor(){this._dialogInvocations=new(i())(new Map)}getDialogInvocations(){return this._dialogInvocations}isAllowedToInvoke(e){return e.silent||!this._dialogInvocations.value().has(c(e))}lockInvocation(e){if(e.silent)return{unlockInvocation:()=>{}};const t=c(e),n=new a,r=new Map(this._dialogInvocations.value());return r.set(t,n),this._dialogInvocations.setValue(r),{abortSignal:n,unlockInvocation:()=>{ +const e=new Map(this._dialogInvocations.value());e.delete(t),this._dialogInvocations.setValue(e)}}}};function c(e){return"create_alert"===(0,o.getAlertDialogType)(e)?-1:(0,s.ensureDefined)(e.alert).id}},21088:(e,t,n)=>{"use strict";n.d(t,{AlertExtraUpdateScheduler:()=>a});var r=n(87341),i=n(16509);const o=(0,n(98125).getLogger)("Alerts.ExtraUpdateScheduler"),s=clearTimeout;class a{constructor(){this._queue=new Map,this._taskHandle=null}scheduleUpdate(e){this._queue.set(e.id,e),this._maybeScheduleTask()}cancelUpdate(e){this._queue.delete(e),null!==this._taskHandle&&0===this._queue.size&&(s(this._taskHandle),this._taskHandle=null)}cancelAllUpdates(){this._queue.clear(),null!==this._taskHandle&&(s(this._taskHandle),this._taskHandle=null)}_maybeScheduleTask(){null===this._taskHandle&&0!==this._queue.size&&(this._taskHandle=setTimeout(async()=>{const e=this._queue.values().next().value;e&&(this._queue.delete(e.id),await function(e){return o.logDebug("Sending extra update request for alert "+e.id),(0,r.sendRequest)({method:"update_extra",params:(0,i.client2serverParams)(e)}).then(()=>o.logDebug("Extra has been updated successfully for alert "+e.id),t=>o.logWarn(`Could not update extra for alert ${e.id}: ${t}`))}(e)),this._taskHandle=null,this._maybeScheduleTask()},1e3))}}},35908:(e,t,n)=>{"use strict";function r(e=0){return e<1e3?e:e/1e3}function i(e,t){if(e.length>t){const n=/[\W]+$/g,r=e.substring(0,t),i=r.replace(n,"");return(i.length?i:r.substring(0,t-1))+"…"}return e}n.d(t,{ensureDurationInSeconds:()=>r,cutString:()=>i})},39193:(e,t,n)=>{"use strict";n.d(t,{alertsMaintenanceTracker:()=>s});var r=n(52714),i=n.n(r),o=n(76266);const s=new class{constructor(){this._state=new(i())((0,o.isFeatureEnabled)("alerts-maintenance"))}value(){return this._state.value()}subscribe(e){this._state.subscribe(e)}unsubscribe(e){this._state.unsubscribe(e)}sync(){this._state.setValue((0,o.isFeatureEnabled)("alerts-maintenance"))}}},53371:(e,t,n)=>{"use strict";var r;n.d(t,{DataSourceDangerReason:()=>r}),function(e){e.Spread="spread",e.PineRepainting="pine-repainting",e.CryptoCap="cryptocap"}(r||(r={}))},86811:(e,t,n)=>{"use strict";function r(e){return o().then(t=>t.hasUserAccessToDataSource(e))}function i(e){return o().then(t=>t.filterAccessibleDataSources(e))}n.d(t,{hasUserAccessToDataSource:()=>r,filterAccessibleDataSources:()=>i});const o=()=>n.e(3441).then(n.bind(n,57467))},78356:(e,t,n)=>{"use strict";n.d(t,{getAlertType:()=>o});const r=new Set(["study_Overlay","study_Compare","StudyStrategy"]);function i({type:e}){return!r.has(e)&&e.toLowerCase().startsWith("study")}function o(e){if(e.isDrawing())return"drawing";const t=e.get("extra"),n=null==t?void 0:t.alertSeries();return n&&t?n.isTVScriptStrategy?"strategy":t.bandsArray("object").some(i)?"indicator":"price":"price"}},84709:(e,t,n)=>{"use strict";var r=n(68647),i=n(55532),o=n(98125).getLogger("Alerts.Price.Abstract"),s=n(9315).getTranslatedResolution,a=n(82029),l=n(62820),c=r.Model.extend({constructor:function(e,t){e=this._prepareToSet(e,!0),r.Model.call(this,e,t)}, +_prepareToSet:function(e,t){var n,r,i;if(e)for(n in e)e.hasOwnProperty(n)&&(r=e[n],"function"==typeof this[i="_prepareToSet_"+n]&&(e[n]=this[i](r,e,t)));return e},destroy:function(){this.stopListening(),this.trigger("destroy",this)},save:function(){o.logError("[Alerts] Use disaptcher to save")},shortSymbol:function(e){return a?a.shortName(e||this.get("symbol")||""):(o.logWarn("[Alerts] can't get short symbol"),e)},resolutionReadable:function(e){return(e=e||this.get("resolution"))?s(e):""},title:function(e){var t;return t=e?this.get("symbol"):this.shortSymbol(),this.get("crossInterval")||(t=l.isRtl()?t+" "+l.forceRTLStr(" ,"+this.resolutionReadable()):t+", "+this.resolutionReadable()),t},_formatDate:function(e){return i(e||new Date).format("MMM D LTS")}});e.exports=c},2495:(e,t,n)=>{"use strict";var r=n(28353).t,i=n(62591).isStudyStateForAlertType,o=n(50993),s=n(40264).generateTitleForGui,a=n(98125).getLogger("Alerts.Band"),l=n(37667),c=n(62820);TradingView="object"==typeof n.g?n.g.TradingView:TradingView||{};var u={create:function(e){var t,n=e||{},r=n.type;if("MainSeries"===r)t=_;else if(i(r,!0))t=p;else if("Value"===r)t=h;else{if(!/^LineTool.*/i.test(r))return a.logError("Unknown alert band type "+r),null;t=f}return new t(n)}};function d(e){this._band=e||{}}function _(){d.apply(this,arguments)}function p(){d.apply(this,arguments)}function h(){d.apply(this,arguments)}function f(){d.apply(this,arguments)}d.prototype.id=function(){return this._band.id},d.prototype.type=function(){return this._band.type},d.prototype.title=function(){return this._band.title},d.prototype.hasPlots=function(){return this._band.plots&&this._band.plots.length},d.prototype.getActualSymbol=function(){return this._band.actualSymbol},d.prototype.getSymbolString=function(){return this._band.symbolString},d.prototype.getPlotTitle=function(e){return e.title?e.title:o.isOhlcOpenPlot(e)?e.ohlcTitle+" "+r("Open"):o.isOhlcHighPlot(e)?e.ohlcTitle+" "+r("High"):o.isOhlcLowPlot(e)?e.ohlcTitle+" "+r("Low"):o.isOhlcClosePlot(e)?e.ohlcTitle+" "+r("Close"):"vol"===e.id?r("Volume"):"vol_ma"===e.id?r("Volume MA"):"open"===e.id?r("Open"):"high"===e.id?r("High"):"low"===e.id?r("Low"):"close"===e.id?r("Close"):e.id},d.prototype.getPlots=function(e){var t=e||{};if(!this._band.plots||!this._band.plots.length)return this._band.plots;if("inputSelect"===t.format){var n=-1;return this._band.plots.map((function(e){return{value:++n,title:this.getPlotTitle(e)}}),this)}return this._band.plots},d.prototype.hasUsualPlots=function(){var e=this._band.plots;return!e||e.filter(o.isAlertConditionPlot).length{"use strict";var r=n(23127),i=n(28353).t,o=function(){function e(e,t){return t.id||(t.id=e),t}for(var t,n={cross:{title:i("Crossing"),type:"comparison"},crosses_from_below:{title:i("Crossing Up"),type:"comparison"},crosses_from_above:{title:i("Crossing Down"),type:"comparison"},above:{title:i("Greater Than"),type:"comparison"},below:{title:i("Less Than"),type:"comparison"},enters_channel:{title:i("Entering Channel"),isChannel:!0,type:"comparison"},leaves_channel:{title:i("Exiting Channel"),isChannel:!0,type:"comparison"},inside_channel:{title:i("Inside Channel"),isChannel:!0,type:"comparison"},outside_channel:{title:i("Outside Channel"),isChannel:!0,type:"comparison"},moving_up:{title:i("Moving Up"),type:"moving"},moving_down:{title:i("Moving Down"),type:"moving"},moving_up_percents:{title:i("Moving Up %"),descriptionTitle:i("Moving Up"),type:"moving",percents:!0},moving_down_percents:{title:i("Moving Down %"),descriptionTitle:i("Moving Down"),type:"moving",percents:!0}},o=Object.keys(n),s=o.length-1;s>=0;s--)e(t=o[s],n[t]);function a(t){var i,o,s,a,l,c,u={};t&&t.getStrategy()?o=t.prepareAlertConditions():(s=t&&t.drawing(),o=!t||t.getAlertSeries().hasUsualPlots()?n:{},s?c="LineToolVertLine"===s.type?function(e){return"cross"===e.id}:1===s.plots.length?function(e){return!e.isChannel}:2===s.plots.length?function(e){ +return!!e.isChannel}:function(e){return"comparsion"===e.type}:t&&(t.hasAlertCondition()||t.hasAlertFunction())&&(o=r.extend(!0,{},o,t.prepareAlertConditions()))),i=Object.keys(o);for(var d=0;d=0;u--){var d=r[l[u]];o.includes(d.type)&&c.push(d)}c.sort((function(e,t){return o.indexOf(e.id)-o.indexOf(t.id)})),c.length>0&&s.push(c);var _=[];for(u=l.length-1;u>=0;u--){d=r[l[u]];["pine_script","pine_alertcondition_plot"].includes(d.type)&&_.push(d)}_.sort((function(e,t){return e.title.localeCompare(t.title)})),_.length>0&&s.push(_);var p=e&&e.alertSeries&&e.alertSeries();if(!(p&&p.plots&&0===p.plots.length)){var h=[];for(u=0;u0&&s.push(h)}return t.isGrouped?s:s.flat()}}}();TradingView.AlertConditions=o,e.exports=o},82413:(e,t,n)=>{"use strict";var r=n(84709).extend({_prepareToSet_fireTime:function(e){return new Date(1e3*e)},_prepareToSet_barTime:function(e){return new Date(1e3*e)},_prepareToSet_alertId:function(e){return parseInt(e)},fireTimeReadable:function(){return this._formatDate(this.get("fireTime"))},fireTimeUnix:function(){return Math.round(this.get("fireTime").getTime()/1e3)}});e.exports=r},7298:(e,t,n)=>{"use strict";n.d(t,{AlertExtra:()=>m});var r=n(28353).t,i=n(98125).getLogger("Alerts.Extra"),o=n(98619).deepCopy,s=n(50993).isAlertConditionPlot,a=n(16654).STYLE_HEIKEN_ASHI,l=n(11372).cleanButAmpersand,c=n(28789).regExpEscape,u=n(62591),d=u.isStudyStateForAlertType,_=u.StateForAlertType;TradingView="object"==typeof n.g?n.g.TradingView:TradingView||{},"function"!=typeof TradingView.merge&&(TradingView.merge=function(e,t){for(var n in t)"object"==typeof t[n]&&e.hasOwnProperty(n)?TradingView.merge(e[n],t[n]):e[n]=t[n];return e});var p=n(37387),h=n(2495).alertBandFactory,f=n(52714);function m(e){this._data={},this.crossInterval=new f,this.update(e)}m.VERSION=22,m.prototype.update=function(e){return e=this._prepareExtraObject(e),m._isValidExtra(e)?(this._data=e||{},this._updateCrossInterval()):i.logError("Wrong alert extra"),this},m.prototype.addDatasourse=function(e,t){this._addDatasourseToJson(this._data,e,t)},m.prototype._addDatasourseToJson=function(e,t,n){(n||e.condition[t])&&(e.condition[t]={id:n.id,plotIndex:n.plotIndex},e.statesForAlert[n.id]=n,n.plotIndex&&delete e.statesForAlert[n.id].plotIndex)},m.prototype.getDependencies=function(){var e={};for(var t in this._data.statesForAlert)if(this._data.statesForAlert.hasOwnProperty(t)){var n=this._data.statesForAlert[t] +;d(n.type,!0)&&null!=n.studyDependencies&&n.studyDependencies.forEach((function(t){e[t.id]=t}))}return Object.keys(e).map((function(t){return e[t]})).map((function(e){return e.study=e.study.replace(/(\d)$/,"$1!"),e}))},m.prototype.updateDataSourseStates=function(){var e=this,t=this.getAvailableBands().map((function(t){return e._data.condition[t]})).filter((function(e){return!!e})).map((function(e){return e.id}));Object.keys(e._data.statesForAlert).filter((function(e){return t.indexOf(e)<0})).forEach((function(t){delete e._data.statesForAlert[t]}))},m.prototype._prepareExtraObject=function(e){if("string"==typeof e?e=JSON.parse(e):e instanceof m&&(e=e.toJSON()),m._isValidExtra(e))return e;var t=function(t){var n=p.defaults(e.conditionId||"cross");this._addDatasourseToJson(t,"mainSeries",e.mainSeries),this._addDatasourseToJson(t,"alertSeries",e.alertSeries),"moving"===n.type?(t.condition.movValue=Number(e.value),t.condition.movPeriod=Number(e.period)):"comparison"===n.type&&n.isChannel?(this._addDatasourseToJson(t,"upperBand",e.upperBand),this._addDatasourseToJson(t,"lowerBand",e.lowerBand)):"comparison"!==n.type||n.isChannel?["pine_script","pine_alertcondition_plot","strategy"].includes(n.type)||i.logError("[Alerts] Unknown condition type: "+n.type):this._addDatasourseToJson(t,"band",e.band)}.bind(this),n={version:m.VERSION,condition:{id:e.conditionId,fireInfo:e.fireInfo},statesForAlert:{}};return t(n),n},m.prototype.isValid=function(){return m._isValidExtra(this._data)},m._isValidExtra=function(e){var t=!!("object"==typeof e&&null!==e&&e.version>=m.VERSION&&e.statesForAlert&&e.condition&&e.condition.id&&e.condition.alertSeries&&e.condition.fireInfo&&(e.condition.fireInfo.type||e.condition.fireInfo.frequency));if(!t)return t;var n=Object.keys(e.statesForAlert);t=(t=t&&n.indexOf(e.condition.alertSeries.id)>=0)&&(!e.condition.mainSeries||n.indexOf(e.condition.mainSeries.id)>=0);var r=p.defaults(e.condition.id);r&&"comparison"===r.type&&!r.isChannel?t=(t=t&&!!e.condition.band)&&n.indexOf(e.condition.band.id)>=0:r&&"comparison"===r.type&&r.isChannel?t=(t=(t=(t=t&&!!e.condition.upperBand)&&!!e.condition.lowerBand)&&n.indexOf(e.condition.upperBand.id)>=0)&&n.indexOf(e.condition.lowerBand.id)>=0:r&&"moving"===r.type&&(t=(t=t&&!!e.condition.movPeriod)&&!!e.condition.movValue);const i=S(Object.values(e.statesForAlert));return i&&i.type!==_.StudyLineTool&&(t=t&&function(e){if(!Array.isArray(e))return!1;return e.every(e=>"number"==typeof e||"object"==typeof e&&g.every(([t,n])=>typeof e[t]===n))}(i.plots)),t},m.prototype._prepareToJSON=function(){for(var e=this.bandsObject(),t=Object.keys(e),n=0;n0){n.filter(e=>"alertcondition"!==e.type).forEach((n,r)=>{if(!t.includes(n.type)){const t=new RegExp(`{{plot\\("${c(l(n.title,!0))}"\\)}}`,"gm");e=e.replace(t,`{{plot_${r}}}`)}});for(let t=n.length;t<=20;t++)e=e.replace(`{{plot_${t}}}`,"null")}}catch(e){i.logError("AlertExtra._patchDescription error: "+e)}return e},m.prototype.getAvailableConditionParams=function(e){return["movPeriod","movValue"]},m.prototype.getAvailableOptionalBands=function(e){return["band","lowerBand","upperBand"]},m.prototype.getAvailableBands=function(e){return["band","lowerBand","upperBand","alertSeries","mainSeries"]},m.prototype.getAvailableOptionalConditions=function(e){return this.getAvailableOptionalBands().concat(this.getAvailableOptionalBands())},m.prototype.clearOptionalConditions=function(e){var t=this;this.getAvailableOptionalConditions().forEach((function(e){delete t._data.condition[e]})),this.updateDataSourseStates(),e||this._updateCrossInterval()},m.prototype.alertSeries=function(e,t){return void 0!==e&&(this.addDatasourse("alertSeries",e),this.updateDataSourseStates(),t||this._updateCrossInterval(),this.setValidConditionId()),this._getSomeBand("alertSeries","object")},m.prototype.getAlertSeries=function(e){return this._getSomeBand("alertSeries",e)},m.prototype.mainSeries=function(e,t){return void 0!==e&&(this.addDatasourse("mainSeries",e),this.updateDataSourseStates(),t||this._updateCrossInterval()),this._getSomeBand("mainSeries","object")},m.prototype.getMainSeries=function(e){return this._getSomeBand("mainSeries",e)},m.prototype._getSomeBand=function(e,t){var n,r=t||"model",i=this._data.condition[e];if(i)return n=TradingView.merge(this._data.statesForAlert[i.id],i),"object"===r?TradingView.merge({},n):h.create(n)}, +m.prototype.upperBand=function(e,t){return void 0!==e&&(this.addDatasourse("upperBand",e),delete this._data.condition.band,this.updateDataSourseStates(),t||this._updateCrossInterval()),this._getSomeBand("upperBand","object")},m.prototype.getUpperBand=function(e){return this._getSomeBand("upperBand",e)},m.prototype.lowerBand=function(e,t){return void 0!==e&&(this.addDatasourse("lowerBand",e),delete this._data.condition.band,this.updateDataSourseStates(),t||this._updateCrossInterval()),this._getSomeBand("lowerBand","object")},m.prototype.getLowerBand=function(e){return this._getSomeBand("lowerBand",e)},m.prototype.band=function(e,t){return void 0!==e&&(this.addDatasourse("band",e),delete this._data.condition.upperBand,delete this._data.condition.lowerBand,this.updateDataSourseStates(),t||this._updateCrossInterval()),this._getSomeBand("band","object")},m.prototype.getBand=function(e){return this._getSomeBand("band",e)},m.prototype.value=function(e,t){return void 0!==e&&(this._data.condition.movValue=Number(e),t||this._updateCrossInterval()),this._data.condition.movValue},m.prototype.movingValue=m.prototype.value,m.prototype.period=function(e,t){return void 0!==e&&(this._data.condition.movPeriod=Number(e),t||this._updateCrossInterval()),this._data.condition.movPeriod},m.prototype.movingPeriod=m.prototype.period,m.prototype._updateCrossInterval=function(){var e=this.getAlertSeries(),t=null!==this.price()&&e&&"MainSeries"===e.type()&&!(e.isRangeBasedStyle()||e.getStyle()===a)&&!e.isSpread();this.crossInterval.setValue(t)},m.prototype.frequency=function(e){return-1!==["once","on_first_fire","on_bar_close","60"].indexOf(e)&&(this._data.condition.fireInfo.frequency=e),this._data.condition.fireInfo.frequency},m.prototype.hasAlertCondition=function(){var e=this.alertSeries();return Boolean(e.plots&&e.plots.some(s)||e.alerts&&e.alerts.conditions)},m.prototype.hasAlertFunction=function(){return Boolean(this.alertSeries().hasAlertFunction)},m.prototype.prepareAlertConditions=function(){var e=this.alertSeries(),t={};if(!e)return t;const n=Boolean(e.isTVScriptStrategy),i=Boolean(e.hasAlertFunction);if(n&&i)return{strategy_and_alerts:{type:"strategy_and_alerts",title:r("Order fills and alert() function calls")},strategy:{type:"strategy",title:r("Order fills only")},alerts:{type:"alerts",title:r("alert() function calls only")}};if(n)return{strategy:{title:null,type:"strategy"}};if(i&&Object.assign(t,{alerts:{type:"alerts",title:r("Any alert() function call")}}),e.plots)for(var o=0;oe.type===_.StudyLineTool||/^LineTool.*/i.test(e.type))||null}TradingView.AlertExtra=m},71021:(e,t,n)=>{"use strict";var r=n(7298).AlertExtra,i=n(62591).isStudyStateForAlertType,o=n(67072),s=n(31752),a=n(88145).extractStudyId,l=n(14905).extractPineId,c=n(95379).prepareCallStudyArgs,u=n(9423),d=n(98125).getLogger("Alerts.Versioning"),_=n(99543),p=n(83050);const{hash:h}=n(85619);var f=n(37387),m=n(37667),g=n(53371).DataSourceDangerReason,S=n(21088).AlertExtraUpdateScheduler,y=n(76266).isFeatureEnabled;function v(){this._extraUpdateScheduler=new S}v.version_10_tv_6611_1a_refactoring=10,v.version_11_tv_6611_1b_refactoring=11,v.version_12_tv_6888_fix_plot_index=12,v.version_13_tv_4164_source_code_protection=13,v.version_14_tv_4164_source_code_protection_fix=14,v.version_15_tv_8068_fix_main_series_resolution=15,v.version_16_jv_298_remove_callstudy=16,v.version_17_jv_646_fix_mixed_inputs=17,v.version_18_tv_10636_price_format=18,v.version_19_tv_11267_fix_frequency_options=19,v.version_20_tv_14463_extract_dividends_adjustment_from_symbol_string=20,v.version_21_tv_14886_add_alert_dangerous_source_check=21,v.version_22_tv_23957_remove_text_input_from_pine_studies=22,v.prototype.migrate=function(e,t){var n;if(t=Object.assign({sendExtraUpdate:y("alerts-send-extra-update")},t),!e||!e.extra)return Promise.resolve(e);if((n=JSON.parse(e.extra))&&!Object.keys(n).length&&n.constructor===Object)return delete e.extra,Promise.resolve(e);var i=Promise.resolve(e),o=null==n.version||n.versionr.VERSION?d.logNormal("Alert version is greater than current"):o&&t.sendExtraUpdate&&this._extraUpdateScheduler.scheduleUpdate({id:e.id,instanceId:e.instanceId,extra:e.extra}),e}.bind(this))},v.prototype._patchAlert=function(e,t){var n=this;e.version||(e.version=1);var r=e.version;r0||/.*\$\d+/.test(i)?"source":"string"==typeof i?"string":"boolean"==typeof i?"bool":"float",t[n]={f:!0,v:i,t:r}):t[n]=i})),t}(r);return d.logNormal("A very rare case: alert on legacy script that was never resaved. Trying to guess input types \n\t"+JSON.stringify(r)+" -> "+JSON.stringify(i)),i}return d.logError("Alert migration failed, inputs cannot be migrated: "+JSON.stringify(e)),Promise.reject(e)})).then((function(e){return TVScript.patchInputs(e.inputs,r)}))},v.prototype._patchExtra_to18=function(e){var t,n={},r=f.getData(e.condition.id);if(r&&"comparison"===r.type)if(r.isChannel){var i=e.statesForAlert[e.condition.upperBand.id],o=e.statesForAlert[e.condition.lowerBand.id] +;"Value"===i.type?t=i.value:"Value"===o.type&&(t=o.value)}else{var s=e.statesForAlert[e.condition.band.id];"Value"===s.type&&(t=s.value)}if(t&&-1!==(t=t.toString().replace(/^-/,"")).indexOf(".")){var a=t.replace(/^\d+\./,"").length,l=Math.pow(10,a);n.priceScale=l}var c=e.condition.alertSeries.id;return e.statesForAlert[c].formatter={type:"price",state:n},e.version=v.version_18_tv_10636_price_format,e},v.prototype._patchAlert_to19=function(e){var t=JSON.parse(e.extra),n=e.autoDeactivation,r=t.condition.fireInfo.frequency,i=t.statesForAlert[t.condition.mainSeries.id],o=["band","lowerBand","upperBand"].map((function(e){var n=t.condition[e];return n&&t.statesForAlert[n.id]})).filter((function(e){return!!e})).filter((function(e){return"LineToolVertLine"===e.type})).length>0,s=m.hasProjection(i.style),a=e.crossInterval,l=[];function c(e){return-1!==l.indexOf(e)}return o?l.push("once"):(a||s||(l.push("once"),l.push("60"),l.push("on_bar_close")),s?l.push("on_bar_close"):l.push("on_first_fire")),"once_per_bar"===r&&(r="on_first_fire"),"once"!==r||c("once")||(n=!0,r=l[0]),"once"!==r&&n&&(r=l[0]),"once"!==r&&o&&(n=!0,r="once"),"on_bar_close"===r&&!c("on_bar_close")&&c("on_first_fire")&&(r="on_first_fire"),e.autoDeactivation=n,t.condition.fireInfo.frequency=r,t.version=v.version_19_tv_11267_fix_frequency_options,e.extra=JSON.stringify(t),e},v.prototype._patchExtra_to20=function(e){var t=e.condition.mainSeries,n=e.statesForAlert,r=t&&n&&n[t.id];if(r){var i=r.symbolString;if(i&&0===i.indexOf("=")){var o=i.slice(1);"dividends"===(o=JSON.parse(o)).adjustment?r.dividendsAdjustment=!0:"splits"===o.adjustment&&(r.dividendsAdjustment=!1)}}return e.version=v.version_20_tv_14463_extract_dividends_adjustment_from_symbol_string,e},v.prototype.patchExtra_to20_forTestsOnly=v.prototype._patchExtra_to20,v.prototype._patchExtra_to21=function(e){var t=e.statesForAlert;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.isSpread&&(r.dangerReason=g.Spread)}return e.version=v.version_21_tv_14886_add_alert_dangerous_source_check,e},v.prototype._patchExtra_to22=function(e){var t=e.statesForAlert,n=!0;for(var r in t){if(t.hasOwnProperty(r))if(("Study"===(s=t[r]).type||"StudyStrategy"===s.type)&&s.isTVScript&&1!==s.studyDependencies.length){n=!1;break}}if(n){var i={},o={};for(var r in t){var s;if(t.hasOwnProperty(r))if("Study"!==(s=t[r]).type&&"StudyStrategy"!==s.type||!s.isTVScript)i[r]=s;else{var l=s.uniqueId,c=Object.assign({},s.inputs);s.isTVScript&&delete c.text;var u=p.idForAlert(a(s.fullId),c);s.id=u,s.uniqueId=u,s.studyDependencies[0].id=u,i[u]=s,o[l]=u}}e.statesForAlert=i,e.condition.alertSeries.id=o[e.condition.alertSeries.id]||e.condition.alertSeries.id,e.condition.band&&(e.condition.band.id=o[e.condition.band.id]||e.condition.band.id),e.condition.upperBand&&(e.condition.upperBand.id=o[e.condition.upperBand.id]||e.condition.upperBand.id),e.condition.lowerBand&&(e.condition.lowerBand.id=o[e.condition.lowerBand.id]||e.condition.lowerBand.id)}return e.version=v.version_22_tv_23957_remove_text_input_from_pine_studies,e},e.exports={ +AlertVersioning:v}},25531:(e,t,n)=>{"use strict";var r=n(25977),i=n(23127),o=n(84709),s=n(7298).AlertExtra,a=n(64021).FormattersSerializer,l=n(82520).AlertFrequencyController,c=n(9315).getServerInterval,u=n(35908).ensureDurationInSeconds,d=n(47806).getAlertConditionTokenMap,_=n(12444).getAlertDefaultDescription,p=n(28995).getAlertDefaultName,h=n(78356).getAlertType,f=["crossInterval","autoDeactivation","description","sendEmail","expired","extra","showPopup","resolution","script","scriptDeps","sendSms","sendPush","playSound","soundDuration","soundFile","symbol","noExpiration","symbolInternal","webhookUrl","name","alertType"],m=f.concat(["id"]),g=o.extend({constructor:function(e,t){var n={};["autoDeactivation","frequency","extra","crossInterval","alertType"].forEach((function(t){e.hasOwnProperty(t)&&(n[t]=e[t],delete e[t])})),r.isEmpty(n)||(this.__delayedInitAttrs=n),e.version=e.version||s.VERSION,o.call(this,e,t),this.frequencyController=new l(this)},initialize:function(){var e=this;function t(t){e.set("crossInterval",!!t)}this.on("change:extra",(function(e,n,r){n&&(n.crossInterval.unsubscribe(t),n.crossInterval.subscribe(t),e.set("crossInterval",n.crossInterval.value()),e.syncAlertType())})).on("change:crossInterval",(function(e,t,n){var r=e.get("extra");t?e.set("resolution","1"):r&&r.mainSeries()&&e.set("resolution",r.mainSeries().interval)})).on("destroy",(function(){TVSettings.remove(e.TVSettingsPropertiesKey(e.id))})),this.__delayedInitAttrs&&(this.set(this.__delayedInitAttrs),delete this.__delayedInitAttrs)},set:function(e,t,n){var r;return null==e?this:(n=n||{}).noPrepare?o.prototype.set.call(this,e,t,n):("object"==typeof e?(r=e,n=t):(r={})[e]=t,r=this._prepareToSet(r),o.prototype.set.call(this,r,n))},_prepareToSet_soundDuration:function(e){e=parseInt(e);return isNaN(e)&&(e=0),u(e)},_prepareToSet_expired:function(e){return e instanceof Date?e:new Date(1e3*e)},_prepareToSet_extra:function(e){var t=this.get("extra"),n=e&&!(e instanceof s);return t&&e?e=t.update(e):n?(e=new s(e),this.set("scriptDeps",e.getDependencies())):e||(e=null),e},_prepareToSet_symbolInternal:function(e){if(e)return e},_prepareToSet_alertType:function(e){return"undefined"===e?h(this):e},isPrice:function(){return null!==(this.get("extra")?this.get("extra").price():null)},isDrawing:function(){return!(!this.get("extra")||!this.get("extra").drawing())},isMoving:function(){return this.get("extra")&&"moving"===(this.get("extra").conditionData()||{}).type},isOHLC:function(){var e=this.get("extra");if(e&&e.alertSeries())return"MainSeries"===e.alertSeries().type},isRangeBasedStyle:function(){var e=this.get("extra"),t=e&&e.getMainSeries();return!(!t||"MainSeries"!==t.type()||!t.isRangeBasedStyle())},isComplexSymbol:function(){var e=this.get("symbolInternal");return e!==this.get("symbol")&&e},isPine:function(){var e=this.get("extra"),t=e&&e.alertSeries();return t&&t.alerts},expiredUnix:function(){return Math.round(this.get("expired").getTime()/1e3)},defaultDescription:function(){return _(d(this))},defaultName:function(){return p(d(this))}, +setDefaultDescription:function(){this.set("description",this.defaultDescription())},state:function(){return this.toJSON()},toJSON:function(){var e,t,n={};for(e in this.attributes)this.attributes.hasOwnProperty(e)&&(t=this.attributes[e],n[e]=t&&"function"==typeof t.toJSON?t.toJSON():t);return n.expired&&(n.expired=this.expiredUnix()),n},prepareToSend:function(){this.syncAlertType(),this.syncScriptDeps();for(var e,t,n=this.toJSON(),r={},i=m.length-1;i>=0;i--)void 0!==(t=n[e=m[i]])&&(r[e]=t),"resolution"===e&&(r[e]=c(t));return r.playSound||(delete r.soundDuration,delete r.soundFile),r.name||delete r.name,r.extra&&(r.extra=JSON.stringify(r.extra)),r},getLocalClone:function(){var e=this.toJSON(),t=f.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{});return new g(t)},saveState:function(){this._oldState=this.state()},restoreState:function(e,t){!(e=e||this._oldState||{}).extra||e.extra instanceof s||(e.extra=new s(e.extra),e.scriptDeps=e.extra.getDependencies()),this.set(e),t||delete this._oldState},getSavedState:function(){var e;return this._oldState&&(e=i.extend({},this._oldState)).extra&&(e.extra=new s(e.extra),e.scriptDeps=e.extra.getDependencies()),e},createTimeFormatted:function(){var e=this.get("createTime");return e?this._formatDate(1e3*e):null},fireTimeFormatted:function(){var e=this.get("fireTime");return e?this._formatDate(1e3*e):null},TVSettingsPropertiesKey:function(){return e=this.id,"chartproperties.alertsProperties."+(e=parseInt(e));var e},getFormatter:function(){var e=this.get("extra");if(e){var t=e.alertSeries();if(t.formatter)return a.deserialize(t.formatter)}return null},syncAlertType:function(){this.set("alertType",h(this))},syncScriptDeps:function(){var e=this.get("extra").getDependencies();this.set("scriptDeps",e)}});e.exports.Alert=g},62591:(e,t,n)=>{"use strict";var r;function i(e,t){let n="Study"===e||e===r.StudyLineTool||/^study_\w+/.test(e);return t&&(n=n||"StudyStrategy"===e),n}n.r(t),n.d(t,{StateForAlertType:()=>r,isStudyStateForAlertType:()=>i}),function(e){e.StudyLineTool="StudyLineTool"}(r||(r={}))},16509:(e,t)=>{var n={active:"active",aid:"alertId",alerts:"alerts",bar_time:"barTime",create_t:"createTime",cross_int:"crossInterval",deact:"autoDeactivation",desc:"description",email:"sendEmail",error:"error",events:"events",exp:"expired",fire_time:"fireTime",inc_cross_int:"includeCrossInterval",inf_exp:"noExpiration",internal_sym:"symbolInternal",popup:"showPopup",reason:"reason",res:"resolution",script_deps:"scriptDeps",script:"script",sms:"sendSms",snd:"playSound",push:"sendPush",snd_duration:"soundDuration",snd_file:"soundFile",sort_by:"sortBy",sort_dir:"sortDirection",start_t:"startTime",stop_t:"stopTime",stop:"stopReason",sym:"symbol",web_hook:"webhookUrl",inst_id:"instanceId",name:"name",alert_type:"alertType"},r=function(){var e={};return Object.keys(n).forEach((function(t){e[n[t]]=t})),e}();function i(e,t){var n={};return e?(Object.keys(e).forEach((function(r){var i=t(r),o=e[r];n[i]=o})),n):e}t.server2clientParams=function(e){return i(e,(function(e){return n[e]||e})) +},t.client2serverParams=function(e){return i(e,(function(e){return r[e]||e}))}},82520:(e,t,n)=>{"use strict";n.d(t,{AlertFrequencyController:()=>a});var r=n(37667),i=n(98125),o=n(80643);const s=(0,i.getLogger)("Alerts.Price.FrequencyController");class a{constructor(e){this._alert=e,e.on("change:autoDeactivation",(e,t)=>{const n=e.get("frequency");if(this._isFireRateValid({frequency:n,autoDeactivation:t}))return;const r=this._getValidFireRate({autoDeactivation:t});r?e.set("frequency",r.frequency):(s.logError(`Set invalid autoDeactivation: ${t}. Available: ${JSON.stringify(this.getAvailable())}`),this._setAnyValidFireRate())}),e.on("change:frequency",(e,t)=>{this._putFrequencyToExtra();const n=e.get("autoDeactivation");if(this._isFireRateValid({frequency:t,autoDeactivation:n}))return;const r=this._getValidFireRate({frequency:t});r?e.set("autoDeactivation",r.autoDeactivation):(s.logError(`Set invalid frequency: ${t}. Available: ${JSON.stringify(this.getAvailable())}`),this._setAnyValidFireRate())})}getAvailable(){const e=this._alert.get("extra");return(null===(t=null==e?void 0:e.alertSeries())||void 0===t?void 0:t.isTVScriptStrategy)||"alerts"===(null==e?void 0:e.conditionId())?[{autoDeactivation:!1,frequency:"60"}]:(()=>{var t;return Boolean(this._alert.isDrawing()&&"LineToolVertLine"===(null===(t=null==e?void 0:e.drawing())||void 0===t?void 0:t.type))})()?[{autoDeactivation:!0,frequency:"on_first_fire"}]:(()=>this._alert.get("crossInterval"))()?[{autoDeactivation:!0,frequency:"on_first_fire"},{autoDeactivation:!1,frequency:"on_first_fire"}]:(()=>{var t,n;return[null===(t=null==e?void 0:e.alertSeries())||void 0===t?void 0:t.style,null===(n=null==e?void 0:e.mainSeries())||void 0===n?void 0:n.style].filter(o.isInteger).some(r.hasProjection)})()?[{autoDeactivation:!0,frequency:"on_bar_close"},{autoDeactivation:!1,frequency:"on_bar_close"}]:[{autoDeactivation:!0,frequency:"once"},{autoDeactivation:!1,frequency:"on_first_fire"},{autoDeactivation:!1,frequency:"on_bar_close"},{autoDeactivation:!1,frequency:"60"}];var t}switchFrequencies(){const e=this._alert,t=e.get("frequency"),n=e.get("autoDeactivation");if(!0===n){const t=this._getValidFireRate({autoDeactivation:!0});if(t)return void e.set({autoDeactivation:t.autoDeactivation,frequency:t.frequency})}if(!1===n&&"on_first_fire"===t){const t="60",n=this._getValidFireRate({frequency:t});if(n)return void e.set({autoDeactivation:n.autoDeactivation,frequency:t})}if(!1===n){const t=this._getValidFireRate({autoDeactivation:!1});if(t)return void e.set({autoDeactivation:t.autoDeactivation,frequency:t.frequency})}this._isFireRateValid({frequency:t,autoDeactivation:n})||this._setAnyValidFireRate()}_putFrequencyToExtra(){const e=this._alert.get("extra");e&&e.frequency(this._alert.get("frequency"))}_isFireRateValid(e){return this.getAvailable().some(t=>t.frequency===e.frequency&&t.autoDeactivation===e.autoDeactivation)}_getValidFireRate(e){const[t,n]=Object.entries(e)[0],r=this.getAvailable().find(e=>e[t]===n);return void 0===r?null:r}_setAnyValidFireRate(){const e=this.getAvailable()[0] +;this._alert.set({frequency:e.frequency,autoDeactivation:e.autoDeactivation}),this._putFrequencyToExtra()}}},22822:(e,t,n)=>{"use strict";n.d(t,{canPlaceAlertOnResolution:()=>s});var r=n(29823),i=n(33550),o=n(62867);function s(e){return!r.Interval.isSeconds(e)||(0,i.enabled)(o.ProductFeatures.ALERTS_ON_SECONDS)}},60993:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AlertsDispatcher:()=>$,prepareAlertsModels:()=>Z});var r=n(28353),i=n(99486),o=n(8859),s=n(24993),a=n(86811),l=n(98125),c=n(26187),u=n(39193);const d=(0,l.getLogger)("Alerts.Price.InvokeAlertEditor");function _(e){u.alertsMaintenanceTracker.sync();const t=(0,i.shouldAbortAlertEditor)(e);if(null!==t)return t!==s.AlertEditorAbortReason.IsAlreadyPresent&&(0,i.showAbortExplainingDialog)(t,(0,i.getAlertDialogType)(e)),d.logWarn("Aborted: "+t),void(e.onAborted&&e.onAborted(t));const{unlockInvocation:r,abortSignal:a}=c.alertEditorInvocationHandler.lockInvocation(e);Promise.all([n.e(273).then(n.t.bind(n,79540,19)),(0,o.getPriceAlertsDispatcher)(),p(e,r,a)]).then(e=>{const[t,n,r]=e;new t.AlertEditor(n,r)},r)}function p(e,t,n){return(e.series?(0,a.hasUserAccessToDataSource)(e.series):Promise.resolve(!0)).then(r=>{const i=e.onDestroy,o={...e,abortSignal:n,onDestroy:()=>{t(),i&&i()}};return r||(delete o.series,delete o.value),o})}var h=n(82413),f=n.n(h),m=n(71021),g=n(25531),S=n(99543),y=n.n(S),v=n(16654),A=n(93119),T=n.n(A),E=n(51768),b=n(33550),C=n(62867),R=n(87341),w=n(16509),I=n(52485),P=(n(51872),n(12620));const D={max_alerts_count_exceeded:"alerts",max_primitive_alerts_count_exceeded:"primitiveAlerts",max_complex_alerts_count_exceeded:"complexAlerts"};function O(e="max_alerts_count_exceeded"){(0,P.createGoProDialog)({feature:D[e]})}function x(){(0,P.createGoProDialog)({feature:"alertsNoExpiration"})}function N(){(0,i.showAbortExplainingDialog)(s.AlertEditorAbortReason.AlertsMaintenance)}var L=n(72781),M=n(3615);var F=n(22822),U=n(21097),k=n(55306),B=n(2872),V=n.n(B),q=n(44182);function H(e){return!e.isDrawing()}var Y=n(35908);var j=n(68647),W=n(23127);const J="cancelled: new alert already generating",G=(0,l.getLogger)("Alerts.Price.Dispatcher");function $(){this._loading={},this._alertVersioning=new m.AlertVersioning,this._lastGenIds={},this._onPushStreamMessage=new(V()),this._onPushStreamStatusChanged=e=>{e===q.ConnectionStatus.Open&&this._onPushStreamMessage.fire({source:"host",data:{m:"pushstream_ready"}})},this._onMessage=this._onMessage.bind(this),this.alerts=new(j.Collection.extend({model:g.Alert})),this.events=new(j.Collection.extend({comparator:function(e,t){var n=e.get("fireTime"),r=t.get("fireTime");return n&&r?r-n:n?r?void 0:1:-1},model:f()})),this._attachHandlers()}function K(e){e.forEach(e=>e.set("selected",!1))}function X(e,t){e.forEach(e=>{e!==t&&e.set("selected",!1)})}function z(e){const t=new Date;e.get("expired")e&&new g.Alert(e)).catch(n("Alert creation failed",r))}))).then(e=>e.filter(e=>null!==e));function n(e,t){return n=>(G.logError(`${e}. Alert ID: ${t}. Error: ${n}`),null)}}function Q(e,t){e.script=t.IL,t.inputs&&(e.inputs=t.inputs),t.genAlertData&&(e.gen_alert_data=t.genAlertData)}function ee(e,...t){"function"==typeof e&&e.apply(this,t)}$.checkProPermissions=function(e){return e.get("noExpiration")&&!(0,b.enabled)(C.ProductFeatures.ALERTS_NO_EXPIRATION)?(x(),!1):"string"!=typeof e.get("webhookUrl")||(0,b.enabled)(C.ProductFeatures.ALERTS_WEBHOOK)?!!(0,F.canPlaceAlertOnResolution)(e.get("resolution"))||((0,P.createGoProDialog)({feature:"alertsOnSeconds"}),!1):((0,k.showGoProAlertsWebhookDialog)(),!1)},$.getAnalyticsHeaders=function(e,t){return{"X-Analytics-Price-Alert-Condition":String(e),"X-Analytics-Price-Alert-Action-Source":String(t)}},$.prototype._onLoginStateChange=function(){is_authenticated?this._refreshPushStream():(this.alerts.reset(),this.events.reset(),this._alertVersioning.cancelAllPossibleExtraUpdates()),this._fullListWasRequested=!1},$.prototype._attachHandlers=function(){var e=this;function t(t){var n=e.chartWidget(),r=n&&n.hasModel()?n.model():null;if(r){var i=r.selection().dataSources().some((function(e){return e.hasAlert.value()&&e.alertId()===t.id}));t.set("selected",i)}}loginStateChange.subscribe(this,this._onLoginStateChange.bind(this)),this._onLoginStateChange(!0),e.alerts.on("add",n=>{t(n),function(t){if(t.isDrawing()&&e._chartWidgetCollection){var n=t.get("extra").drawing();e._chartWidgetCollection.getAll().forEach((function(e){e.applyAlertIdByExternalSource(n.id,t.id)}))}}(n)}).on("change:selected",(t,n,r)=>{if(n){var i=e.alerts;K(e.events),X(i,t)}}).on("change:id",t).on("destroy",t=>{t.isNew()||e.events.where({alertId:t.id}).forEach((function(e){e.destroy()}))}),e.events.on("change:selected",(t,n,r)=>{var i=e.events.models;n&&(K(e.alerts),X(i,t))}),e.alerts.on("change:id",t=>{let n=!1;for(const r of e.alerts.models)r.id===t.id&&(n?G.logWarn(`Two alerts share the same id ${t.id}, which may lead to undefined behaviour`):n=!0)}),U.TVXWindowEvents.on("alertevents-deleted",e=>{""===e?this.events.reset():this.events.remove(JSON.parse(e))})},$.prototype._refreshPushStream=function(){T().off("alert",this._onMessage),T().offStatus(this._onPushStreamStatusChanged),is_authenticated&&(T().on("alert",this._onMessage),T().onPrivateStatus(this._onPushStreamStatusChanged))},$.prototype._onMessage=function(e){var t,n,r,i,o,s=this;if(e)switch(G.logNormal(e),n=JSON.parse(e),this._onPushStreamMessage.fire({source:"alert",data:n}),t="new_alerts"===(r=n.m)?n.p.alerts.map(w.server2clientParams):(0,w.server2clientParams)(n.p),r){case"alert_running":s._alertVersioning.cancelPossibleExtraUpdate(t.id),s._alertVersioning.migrate(t).then((function(e){(i=s.alerts.get(e.id))?i.set(e):s.alerts.add(e,{at:0})}));break;case"new_alerts":for(const e of t)s.alerts.add(e);break;case"alert_stopped":if(i=s.alerts.get(t.id)){var a={active:!1,stopReason:t.stopReason,error:t.error} +;i.set(a)}break;case"alert_deleted":if(s._alertVersioning.cancelPossibleExtraUpdate(t.id),i=s.alerts.get(t.id)){const e=s.chartWidget();if(i.isDrawing()&&e){var l=i.get("extra").drawing();e.deleteAlertByExternalSource(l.id,i.id)}i.destroy()}break;case"event":{o=new(f())({...t}),s.events.add(o),o.trigger("fired",o),o.trigger("fired:online",o);const e=s.alerts.get(t.alertId);void 0!==e&&(e.set({fireTime:t.fireTime}),e.trigger("fired",e))}}},$.prototype.cloneAlert=function(e,t={}){if(!H(e))return"function"==typeof t.error&&t.error("Cannot clone alert"),void("function"==typeof t.complete&&t.complete());const n=e.getLocalClone();z(n),this.alerts.add(n),this.createAlert(n,{...t,eventName:"clone"})},$.prototype.detachAlert=function(e){var t=this.alerts.get(e);t&&t.destroy()},$.prototype.createLocalAlert=function(e,t){var n;return t&&function(e){if(!e)throw new Error("Can't create alert. 'params' is required");for(var t=["symbol","resolution","expired","autoDeactivation","sendEmail","sendSms","showPopup","playSound","description","script"],n=[],r=t.length-1;r>=0;r--){var i=t[r];i in e||n.push(i)}n.length&&G.logError("[Alerts] Can't create alert. "+n.join(" ,")+(1===n.length?" is":" are")+" required")}(e),n=new g.Alert(e),this.alerts.add(n),n},$.prototype.createAlert=function(e,t={}){const n=this;function r(e,n){"function"==typeof t.complete&&t.complete(),"function"==typeof t.error&&t.error(e,n)}if(e instanceof g.Alert){if($.checkProPermissions(e)){var i=Date.now(),o=e.prepareToSend();return n._generateScriptWithCancellation(e).then((function(r){return Q(o,r),n.sendRequest({headers:$.getAnalyticsHeaders(e.get("extra").conditionId(),t.actionSource),method:"create_alert",params:o,success:function(r){r=(0,w.server2clientParams)(r||{});const i=n.alerts.get(r.id);i?(n.alerts.remove(e),e=i):(r.active=!0,e.set(r)),n._gaTrackEvent(t.eventName||"create",e,t.eventLabel),"function"==typeof t.success&&t.success(e)},complete:function(){var n=Date.now()-i;I.telemetry.sendReport("alerts","full_time_frame",{value:n}),"function"==typeof t.complete&&t.complete(e)},error:t.error}).catch(()=>{})})).catch((function(e){if(e===J)return G.logNormal("Alert generation is cancelled because next alert generation is started"),J;"function"==typeof t.error&&t.error("Can't generate source code: "+e),"function"==typeof t.complete&&t.complete()}))}r("cannot create alert with current pro plan",!0)}else r("'alert' should be instance of Alert")},$.prototype.stopAlert=function(e,t={}){const n=this;let r,i;e instanceof g.Alert?(r=e,i=r.get("id")):(i=e,r=n.alerts.get(i)),i?n.sendRequest({method:"stop_alert",params:{id:i},success:function(){n._gaTrackEvent("stop"),r&&r.set("active",!1),"function"==typeof t.success&&t.success()},error:t.error,complete:t.complete}):G.logError("Alert id is required to stop alert")},$.prototype.stopAllAlerts=function(e={}){const t=this,n={cross_int:!0};let i;e.symbol&&(n.symbol=e.symbol),e.resolution&&(n.resolution=e.resolution),e.showConfirm&&(i=e.symbol||e.resolution?{title:(0,r.t)("Stop filtered alerts"),text:(0, +r.t)("Need a quick break from filtered alerts?")}:{title:(0,r.t)("Stop all alerts"),text:(0,r.t)("Need a quick break from your alerts?")}),t.sendRequest({method:"stop_all",params:n,success:function(){t._gaTrackEvent("stop_all"),t.alerts.each((function(e){n.symbol&&n.symbol!==e.get("symbol")||n.resolution&&n.resolution!==e.get("resolution")||e.set("active",!1)})),"function"==typeof e.success&&e.success()},confirmation:i,error:e.error,complete:e.complete})},$.prototype.deleteAlert=function(e,t={}){const n=this;let i,o,s;if(e instanceof g.Alert?(o=e,s=o.get("id")):(s=e,o=n.alerts.get(s)),o&&o.isNew())return o.destroy(),void("function"==typeof t.complete&&t.complete());if(s){if(t.showConfirm){const e=(a=o?o.title():s,(0,Y.cutString)(a,100)),t=(0,r.t)("Do you really want to delete your alert '{alert}'?").format({alert:e});i={title:(0,r.t)("Delete alert"),text:t}}var a;n.sendRequest({method:"delete_alert",params:{id:s},success:function(){n._gaTrackEvent("delete"),"function"==typeof t.success&&t.success(),o&&o.destroy()},error:t.error,cancel:t.cancel,complete:t.complete,confirmation:i})}else G.logError("Alert id is required to delete alert")},$.prototype.deleteAllAlerts=function(e={}){const t=this,n={crossInterval:!0};let i;e.symbol&&(n.symbol=e.symbol),e.resolution&&(n.resolution=e.resolution),"boolean"==typeof e.active&&(n.active=e.active),e.showConfirm&&(i=!1===n.active?{title:(0,r.t)("Delete inactive alerts"),text:(0,r.t)("Let’s delete your inactive alerts and make new ones?")}:n.active||n.symbol||n.resolution?{title:(0,r.t)("Delete filtered alerts"),text:(0,r.t)("Do you really want to delete filtered alerts?")}:{title:(0,r.t)("Delete all alerts"),text:(0,r.t)("Ready to delete your alerts and start over?")}),t.sendRequest({method:"delete_all",params:n,success:function(){var r,i={};for(t._gaTrackEvent("delete_all"),n.symbol&&(i.symbol=n.symbol),n.resolution&&(i.resolution=n.resolution),"boolean"==typeof n.active&&(i.active=n.active),r=t.alerts.findWhere(i);r;)r.destroy(),r=t.alerts.findWhere(i);"function"==typeof e.success&&e.success()},error:e.error,complete:e.complete,confirmation:i})},$.prototype.restartAlert=function(e,t={}){const n=this;let r,i;if(e instanceof g.Alert?r=e:(i=e,r=n.alerts.get(i)),r){if(z(r),!$.checkProPermissions(r))return"function"==typeof t.complete&&t.complete(),void("function"==typeof t.error&&t.error("cannot restart alert with current pro plan",!0));var o=Date.now(),s=r.prepareToSend();return n._generateScriptWithCancellation(r).then((function(e){return Q(s,e),n.sendRequest({headers:$.getAnalyticsHeaders(r.get("extra").conditionId(),t.actionSource),method:"restart_alert",params:s,success:function(){n._gaTrackEvent("restart",r),r.set("active",!0),"function"==typeof t.success&&t.success(r)},complete:function(){var e=Date.now()-o;I.telemetry.sendReport("alerts","full_time_frame",{value:e}),"function"==typeof t.complete&&t.complete(r)},error:t.error}).catch(()=>{})})).catch((function(e){if(e===J)return G.logNormal("Alert generation is cancelled because next alert generation is started"),J +;"function"==typeof t.error&&t.error("Can't generate alert source code for alert #"+i)}))}n.requestAlert(i,{success:function(e){e?n.restartAlert(e,t):("function"==typeof t.error&&t.error("Can't find alert "+i),"function"==typeof t.complete&&t.complete())}})},$.prototype._generateScriptWithCancellation=function(e){var t=this;null==t._lastGenIds[e.cid]&&(t._lastGenIds[e.cid]=0),t._lastGenIds[e.cid]++;var n=t._lastGenIds[e.cid];return new Promise((function(t,n){const r=e.get("extra");let i=null,o="";if(r.isValid()?(i=r.toGenAlertJSON(e.get("description")),null===i&&(o="Can't generate alert JSON")):o="Can't generate alert on invalid AlertExtra",o)return G.logError(o),void n(o);y().generateAlert(JSON.stringify(i)).then((function(e,n,r,i){t({IL:n,inputs:r,genAlertData:i})}),n)})).then((function(r){return t._lastGenIds[e.cid]!==n?Promise.reject(J):(e.set("script",r.IL),r)}))},$.prototype.restartAllAlerts=function(e={}){const t=this,n={crossInterval:!0};let i;e.symbol&&(n.symbol=e.symbol),e.resolution&&(n.resolution=e.resolution),"boolean"==typeof e.active&&(n.active=e.active),e.showConfirm&&(i=e.symbol||e.resolution?{title:(0,r.t)("Restart filtered alerts"),text:(0,r.t)("Ready to bring filtered alerts back to life?")}:{title:(0,r.t)("Restart all inactive alerts"),text:(0,r.t)("Ready to bring your alerts back to life?")});t.alerts.every($.checkProPermissions)&&t.sendRequest({method:"restart_all",params:n,success:function(){t._gaTrackEvent("restart_all"),t.alerts.each((function(e){n.symbol&&n.symbol!==e.get("symbol")||n.resolution&&n.resolution!==e.get("resolution")||e.set("active",!0)})),"function"==typeof e.success&&e.success()},error:e.error,complete:e.complete,confirmation:i})},$.prototype.requestAlert=function(e,t={}){const n=this,r=parseInt(e);function i(e){var i=n.alerts.get(r)||null;return(i||e)&&("function"==typeof t.success&&t.success(i),"function"==typeof t.complete&&t.complete()),!!i}function o(){n.sendRequest({method:"get_alert",preventMaintenanceDialog:!0,params:{id:r},success:function(e){var r,i=e.alert;i=(0,w.server2clientParams)(i),n._alertVersioning.migrate(i).then((function(e){r=new g.Alert(e),n.alerts.add(r),"function"==typeof t.success&&t.success(r)})).catch((function(e){"function"==typeof t.error&&t.error(e)}))},complete:t.complete,error:function(n){"function"==typeof t.error?t.error(n):G.logError("Error in getting alert "+e+(n?": "+n:""))}})}!0===t.fromCache?i(!0):!1===t.fromCache?o():i()||o()},$.prototype.getAlertSync=function(e){return this.alerts.get(e)||null},$.prototype.ensureFullAlertsList=async function(e={}){try{if(window.is_authenticated||(this._fullListWasRequested=!0),this._fullListWasRequested)return void ee(e.success);const t=await this.sendRequest({method:"list_alerts",preventMaintenanceDialog:!0,params:{limit:2e3}});if(!t.alerts||!Array.isArray(t.alerts))throw new Error("Not valid params in alert list response");const n=await Z(t.alerts,e=>this._alertVersioning.migrate(e));this.alerts.set(n),this._fullListWasRequested=!0,ee(e.success)}catch(t){const n=String(t);throw G.logError(n), +ee(e.error,n),t}finally{ee(e.complete)}},$.prototype.requestEventList=function(e={}){const t=this,n={sym:e.symbol,res:e.resolution&&e.resolution.toString?e.resolution.toString():void 0,limit:e.limit,before:e.before,inc_cross_int:void 0===e.includeCrossInterval||e.includeCrossInterval};e.aid&&(n.aid=e.aid),e.aids&&(n.aids=e.aids),this.sendRequest({method:"list_events",preventMaintenanceDialog:!0,params:n,success:function(n){let r=n.events;r&&W.isArray(r)?(r=W.map(r,(function(e){const n=new(f())((0,w.server2clientParams)(e));return t.events.add(n),n})),"function"==typeof e.success&&e.success(r)):console.warn("[Alerts] Not valid params in event list response")},error:e.error,complete:e.complete})},$.prototype.deleteEvents=function(e={}){const t=e.ids;if(t&&0===t.length)return n(),void("function"==typeof e.complete&&e.complete());function n(){"function"==typeof e.success&&e.success()}this.sendRequest({method:"delete_events",params:t?{ids:t}:void 0,success:()=>{t?this.events.remove(t):this.events.reset(),U.TVXWindowEvents.emit("alertevents-deleted",t?JSON.stringify(t):""),n()},error:e.error,complete:e.complete})},$.prototype.stopAlerts=function(e){const{ids:t,success:n,confirmation:r,error:i,complete:o}=e;if(0===t.length)return ee(n),void ee(o);this.sendRequest({method:"stop_alerts",params:{ids:t},success:()=>{this._gaTrackEvent("stop_alerts");for(const e of t){const t=this.alerts.get(e);t&&t.set("active",!1)}ee(n)},error:i,complete:o,confirmation:r})},$.prototype.restartAlerts=function(e){const{ids:t,confirmation:n,success:r,error:i,complete:o}=e;if(0===t.length)return ee(r),void ee(o);const s=[];for(const e of t){const t=this.alerts.get(e);t&&s.push(t)}if(!s.every($.checkProPermissions))return ee(i,"Cannot restart alerts with current pro plan"),void ee(o);this.sendRequest({method:"restart_alerts",params:{ids:t},success:()=>{this._gaTrackEvent("restart_alerts");for(const e of s)e.set("active",!0);ee(r)},error:e=>{e in D&&O(e),ee(i)},complete:o,confirmation:n})},$.prototype.cloneAlerts=function(e){const{success:t,error:n,complete:r}=e,i=e.ids.filter(e=>{const t=this.alerts.get(e);return Boolean(t&&H(t))});if(0===i.length)return ee(t),void ee(r);this.sendRequest({method:"clone_alerts",params:{ids:i},success:()=>{this._gaTrackEvent("clone_alerts"),ee(t)},error:n,complete:r})},$.prototype.deleteAlerts=function(e){const{ids:t,confirmation:n,success:r,error:i,complete:o}=e;if(0===t.length)return ee(r),void ee(o);this.sendRequest({method:"delete_alerts",params:{ids:t},success:()=>{this._gaTrackEvent("delete_alerts");for(const e of t){const t=this.alerts.get(e);t&&t.destroy()}ee(r)},error:i,complete:o,confirmation:n})},$.prototype.sendRequest=function(e){const t=e.method,i=(0,w.client2serverParams)(e.params);if(function(e,t){if(["create_alert","restart_alert"].includes(e)){var n=t.extra&&JSON.parse(t.extra),r=n&&n.condition;["strategy","alerts","strategy_and_alerts"].includes(r.id)&&(t.ns_only_fire=!0)}}(t,i),u.alertsMaintenanceTracker.sync(),u.alertsMaintenanceTracker.value())return a("maintenance"),l(), +Promise.reject("maintenance");if(e.confirmation){const{title:t,text:n}=e.confirmation;return new Promise((function(i,s){(0,M.showConfirm)({title:t||(0,r.t)("Alert"),text:n,onConfirm:({dialogClose:e})=>{const t=o();return t.then((function(t){return e(),t})).catch((function(e){return e})),i(t),t},onClose:()=>{"function"==typeof e.cancel&&e.cancel(),l()}})}))}return o();function o(){const n=(0,R.sendRequest)({method:t,params:i,noCache:e.noCache,headers:e.headers});return n.then(s,a),n}function s(t){if("function"==typeof e.success){var n=(0,w.server2clientParams)(t);e.success(n)}return l(),n}function a(t){var r=!1;return t in D?(O(t),r=!0):"max_total_alerts_count_exceeded"===t?(Promise.all([n.e(5514),n.e(2888),n.e(8463),n.e(8844),n.e(5399),n.e(9961),n.e(7232),n.e(3091)]).then(n.bind(n,94197)).then(e=>e.showWarningAlertsMaxTotalCountExceededImpl()),r=!0):"pro_plan_expired"===t?(x(),r=!0):"maintenance"===t&&(e.preventMaintenanceDialog||(setTimeout(N,0),r=!0)),"function"==typeof e.error?e.error(t,r):"maintenance"===t?G.logNormal("Alerts maintenance"):t&&G.logError("Reason: "+t),l(),t}function l(){"function"==typeof e.complete&&e.complete()}},$.prototype.setChartWidgetCollection=function(e){this._chartWidgetCollection=e},$.prototype.chartWidget=function(){var e=null;return this._chartWidgetCollection&&(e=this._chartWidgetCollection.activeChartWidget.value()||null),e},$.prototype.removeAlertFromAllChartsSilently=function(e,t){this._chartWidgetCollection&&this._chartWidgetCollection.getAll().forEach((function(n){n.deleteAlertByExternalSource(e,t)}))},$.prototype._gaTrackEvent=function(e,t,n){var r;(0,E.trackEvent)("alert",e,n),"create"===e&&t instanceof g.Alert&&(r=t.get("extra"),(0,E.trackEvent)("alert","create__style",function(e){var t=e&&e.getMainSeries(),n=t&&t.getStyle&&t.getStyle();return n&&v.STYLE_SHORT_NAMES.hasOwnProperty(n)?v.STYLE_SHORT_NAMES[n]:"unknown"}(r)),(0,E.trackEvent)("alert","create__condition",function(e){var t=e.conditionId();return e.prepareAlertConditions()[t]&&(t="pine_condition"),t||"unknown"}(r)),(0,E.trackEvent)("alert","create__frequency",t.get("frequency")||"unknown"),t.isPrice()?(0,E.trackEvent)("alert","create__on","price"):t.isDrawing()?(0,E.trackEvent)("alert","create__on","drawing"):t.isMoving()?(0,E.trackEvent)("alert","create__on","moving"):r.band()||r.upperBand()||r.lowerBand()?(0,E.trackEvent)("alert","create__on","study"):(0,E.trackEvent)("alert","create__on","unknown"))},$.prototype.getAlertDialogInvocations=function(){return c.alertEditorInvocationHandler.getDialogInvocations()},$.prototype.openCreateDialog=function(e){_({type:"create_alert",...e})},$.prototype.openEditDialog=function(e,t={}){const n=this;let i,o;const a=e=>t.onAborted&&t.onAborted(e);!t.dataSourceHub&&n.chartWidget()&&(t.dataSourceHub=n.chartWidget().model().model()),e instanceof g.Alert?i=e:(o=e,i=n.alerts.get(o)),i?_(t=W.extend(t,{alert:i,type:"edit_alert"})):o?n.requestAlert(o,{success:function(e){n.openEditDialog(e,t)},error:function(e){"not_exists"===e&&(0,L.showNoticeDialog)({type:"modal",title:(0, +r.t)("Alert"),content:(0,r.t)("Alert does not exist.")}),"function"==typeof t.error&&t.error(e),a(s.AlertEditorAbortReason.AlertIsInvalid)}}):(console.error("[Alerts] alert id is required to edit alert"),a(s.AlertEditorAbortReason.AlertIsInvalid))},$.prototype.subscribeToPushStream=function(e){this._onPushStreamMessage.subscribe(null,e)},$.prototype.unsubscribeFromPushStream=function(e){e?this._onPushStreamMessage.unsubscribe(null,e):this._onPushStreamMessage.unsubscribeAll(null)}},87341:(e,t,n)=>{"use strict";n.d(t,{sendRequest:()=>g,sendRequestImmediately:()=>S});var r=n(67337),i=n(98125);const o=(0,i.getLogger)("Alerts.Price.RequestCache");var s;function a(e,t=""){o.logDebug(`${e} ${t}`)}!function(e){const t={};function n(e){const n=i(e);return t[n]&&a("got from cache",n),t[n]?t[n].self:null}function r(e,n=!1){const r=i(e),o=t[r];if(o)if(n)o.clearCacheTimeoutId&&clearTimeout(o.clearCacheTimeoutId),delete t[r],a("removed immediately",r);else{const e=5e3;o.clearCacheTimeoutId=setTimeout(()=>{delete t[r],a("removed timeout",r)},e)}}function i(e){return JSON.stringify(e)}e.set=function(e,o){const s=i(e);n(e)&&r(e,!0),t[s]={self:o},a("added",s),o.then(t=>(r(e),t)).catch(t=>(r(e,!0),t))},e.get=n,e.isCachable=function(e){return"list_alerts"===e.method||"list_events"===e.method}}(s||(s={}));var l=n(9423);const c=(0,i.getLogger)("Alerts.Price.MergedGetAlertsRequrest");var u;function d(e,t){const n=t?JSON.stringify(t):"";c.logDebug(`${e} ${n}`)}!function(e){const t={};let n=null,r=null;function i(e){delete t[e],Object.keys(t).length||(r=null,n=null)}e.isMergable=function(e){return"get_alert"===e.method||"get_alerts"===e.method},e.mergeRequest=function(e){const o=(0,l.guid)(),s=new Promise((t,i)=>{d("personal promise - creating",e),function(e){let t=[];"id"in e.params?t=[e.params.id]:"ids"in e.params&&(t=e.params.ids);r?r.params.ids=r.params.ids.concat(t):r={method:"get_alerts",params:{ids:t}}}(e),function(){n||(d("merged promise - creating"),n=new Promise((e,t)=>{setTimeout(()=>{r?(d("send request to server - timeout"),S(r).then(t=>{e(t)}).catch(t)):t("No data to send request")},500)}),n.then(e=>d("merged promise - resolved")),n.catch(e=>d("merged promise - rejected")));return n}().then(n=>{const r=function(e,t){const n=t.alerts||[];let r=null;if("get_alert"===e.method){const t=n.filter(t=>t.id===e.params.id)[0];t&&(r={alert:t})}else if("get_alerts"===e.method){const t=e.params.ids,i=[];for(let e=t.length-1;e>=0;e--){const r=t[e];for(let e=n.length-1;e>=0;e--){const t=n[e];if(t.id===r){i.push(t);break}}}i.length&&(r={alerts:i})}return r}(e,n);r?(d("personal promise - resolved",e),t(r)):(d("personal promise - rejected",e),i("not_exists"))}).catch(i)});return s.then(e=>(i(o),e)).catch(e=>(i(o),e)),function(e,n){t[e]=n}(o,s),s}}(u||(u={}));var _=n(52485),p=n(85198);const h=(0,i.getLogger)("Alerts.Price.Request"),f=window.initData.price_alerts_url||"";r.enabled("alerts")&&!f&&h.logError("Url not passed") +;const m=new Set(["create_alert","stop_alert","stop_all","restart_alert","restart_all","delete_alert","delete_all","delete_events","update_extra","restart_alerts","stop_alerts","clone_alerts","delete_alerts"]);function g(e){if(e.method&&m.has(e.method)){const t=Object.assign({},e.params);e.params&&"extra"in e.params&&(t.extra=JSON.parse(e.params.extra)),h.logNormal(JSON.stringify({m:e.method,p:t}))}if(u.isMergable(e))return u.mergeRequest(e);if(s.isCachable(e)){let t=s.get(e);return t||(t=S(e),s.set(e,t)),t}return S(e)}function S(e){if(!f)return Promise.reject("no_alerts_url");if(!window.is_authenticated)return Promise.reject("not_authenticated");const t=e.method,n={body:JSON.stringify({m:t,p:e.params}),credentials:"include",method:"POST",headers:e.headers},r=(new Date).getTime(),i=`${f}?log_username=${window.user.username}&log_method=${t}`;return(0,p.fetch)(i,n,{logBodyOnError:!0}).then(e=>{_.telemetry.sendReport("alerts","api_http_status",{value:e.status});const t=(new Date).getTime()-r;return _.telemetry.sendReport("alerts","api_time_frame",{value:t}),e.json()}).then(e=>"success"===e.m?e.p:"error"===e.m?Promise.reject(e.p.reason||"Unexpected server response"):Promise.reject("Unexpected server response")).catch(e=>e instanceof Error?Promise.reject("Failed to fetch price-alerts: "+e):Promise.reject(e))}},12444:(e,t,n)=>{"use strict";n.d(t,{getAlertDefaultDescription:()=>a});n(94419);var r=n(28353),i=n(47806);const o=(0,r.t)("{alertSeries} {alertCondition} {alertConditionOptions} on {chartSeries}"),s=(0,r.t)("{strategyName}: order {{strategy.order.action}} @ {{strategy.order.contracts}} filled on {{ticker}}. New strategy position is {{strategy.position_size}}");function a(e){switch(e.type){case i.AlertConditionTokenMapType.MainSeries:return`${e.alertSeries} ${e.conditionTitle} ${e.conditionOptions}`;case i.AlertConditionTokenMapType.Study:return o.format({alertSeries:e.alertSeries,chartSeries:e.mainSeries,alertCondition:e.conditionTitle,alertConditionOptions:e.conditionOptions});case i.AlertConditionTokenMapType.PineScript:return e.conditionMessage;case i.AlertConditionTokenMapType.PineScriptAlertFunction:return"";case i.AlertConditionTokenMapType.Strategy:return s.format({strategyName:e.strategyTitle})}}},28995:(e,t,n)=>{"use strict";n.d(t,{getAlertDefaultName:()=>u});n(94419);var r,i=n(28353),o=n(47806);!function(e){e.DrawingIconColor="rgba( 170, 170, 170, 1)",e[e.NameLengthLimit=300]="NameLengthLimit"}(r||(r={}));const s=(0,i.t)("{title}: Any alert() function call"),a=(0,i.t)("{title}: alert() function calls only"),l=r.NameLengthLimit-d(s),c=r.NameLengthLimit-d(a);function u(e){switch(e.type){case o.AlertConditionTokenMapType.MainSeries:case o.AlertConditionTokenMapType.Study:case o.AlertConditionTokenMapType.PineScript:case o.AlertConditionTokenMapType.Strategy:return"";case o.AlertConditionTokenMapType.PineScriptAlertFunction:const t=e.scriptTitle;let n,r;return e.isStrategy?(n=a,r=t.length>c?_(t,c):t):(n=s,r=t.length>l?_(t,l):t),n.format({title:r})}}function d(e){return e.replace("{title}","").length} +function _(e,t){return e.substring(0,t-"…".length)+"…"}},44182:(e,t,n)=>{"use strict";var r;n.d(t,{ConnectionStatus:()=>r}),function(e){e[e.Closed=0]="Closed",e[e.Connecting=1]="Connecting",e[e.Open=2]="Open"}(r||(r={}))},78540:(e,t,n)=>{"use strict";var r;n.d(t,{BillingCycle:()=>r}),function(e){e.Monthly="m",e.ThreeMonths="3m",e.OneYear="y",e.TwoYears="2y"}(r||(r={}))},46198:(e,t,n)=>{"use strict";var r,i,o;n.d(t,{ProPlans:()=>r}),function(e){e.Free="free",e.Pro="pro",e.ProTrial="pro_trial",e.ProRealtime="pro_realtime",e.ProRealtimeTrial="pro_realtime_trial",e.ProPremium="pro_premium",e.ProPremiumTrial="pro_premium_trial",e.ProMiniAlerts="pro_mini_alerts",e.ProMiniAds="pro_mini_ads",e.ProMiniLayouts="pro_mini_layouts",e.ProEdu="pro_edu"}(r||(r={})),function(e){e.Platinum="platinum",e.Gold="gold",e.Silver="silver",e.Free="free"}(i||(i={})),function(e){e[e.Platinum=3]="Platinum",e[e.Gold=2]="Gold",e[e.Silver=1]="Silver",e[e.Free=0]="Free"}(o||(o={}))},12620:(e,t,n)=>{"use strict";n.d(t,{createGoProDialog:()=>s});const r=new Set,i=[],o=new Promise(e=>{window.addEventListener("load",()=>{setTimeout(()=>{e()},3e3)}),setTimeout(()=>{e()},3e3)});async function s(e){var t;if(await o,i.forEach(t=>{t(e.feature)}),r.has(e.feature))return;const s=await Promise.all([n.e(5514),n.e(9129),n.e(2888),n.e(4956),n.e(8844),n.e(9961),n.e(5380),n.e(5733),n.e(1e3),n.e(5246)]).then(n.bind(n,61494));await(null===(t=window.pro)||void 0===t?void 0:t.ensureValidShopConf()),s.renderGoproDialog(e)}window.TradingView.createGoProDialog=s},72781:(e,t,n)=>{"use strict";n.d(t,{createNoticeDialog:()=>o,showNoticeDialog:()=>s});var r=n(28353);const i={width:400,destroyOnClose:!0,title:(0,r.t)("Notification"),content:(0,r.t)("You are notified"),contentWrapTemplate:'

    ',actionsWrapTemplate:'
    ',actions:[{name:"ok",type:"primary",text:(0,r.t)("Ok"),method:"close",key:[13,32]}]};async function o(e){return(await Promise.all([n.e(509),n.e(3118),n.e(1729),n.e(6708),n.e(1536),n.e(7678),n.e(4834)]).then(n.bind(n,89725))).createDialog({...i,...e})}function s(e){o(e).then(e=>e.open())}},55306:(e,t,n)=>{"use strict";n.d(t,{showGoProAlertsWebhookDialog:()=>i});var r=n(12620);function i(){(0,r.createGoProDialog)({feature:"alertsWebhook"})}},84303:(e,t,n)=>{"use strict";n.d(t,{showSignModal:()=>i});let r=()=>!1;async function i(e){if(window.TVD&&window.TVD.signIn)return window.TVD.signIn(e);{const t=await Promise.all([n.e(5514),n.e(509),n.e(3118),n.e(5708),n.e(9570),n.e(5995),n.e(1536),n.e(6123)]).then(n.bind(n,14153));return r=t.isSignModalOpen,t.showSignModal(e)}}},55532:(e,t,n)=>{"use strict";var r=n(28353).t;n(94419);var i=n(24951),o=n(84917),s=o.WeekDays,a=o.Months,l=n(967),c=l.monthsFullNames,u=l.monthsShortNames,d=l.weekDaysFullNames,_=l.weekDaysShortNames,p=l.weekDaysMiniNames;window.language&&(i.locale(window.language,{ +months:[c[a.JANUARY],c[a.FEBRUARY],c[a.MARCH],c[a.APRIL],c[a.MAY],c[a.JUNE],c[a.JULY],c[a.AUGUST],c[a.SEPTEMBER],c[a.OCTOBER],c[a.NOVEMBER],c[a.DECEMBER]],monthsShort:[u[a.JANUARY],u[a.FEBRUARY],u[a.MARCH],u[a.APRIL],u[a.MAY],u[a.JUNE],u[a.JULY],u[a.AUGUST],u[a.SEPTEMBER],u[a.OCTOBER],u[a.NOVEMBER],u[a.DECEMBER]],weekdays:[d[s.SUNDAY],d[s.MONDAY],d[s.TUESDAY],d[s.WEDNESDAY],d[s.THURSDAY],d[s.FRIDAY],d[s.SATURDAY]],weekdaysShort:[_[s.SUNDAY],_[s.MONDAY],_[s.TUESDAY],_[s.WEDNESDAY],_[s.THURSDAY],_[s.FRIDAY],_[s.SATURDAY]],weekdaysMin:[p[s.SUNDAY],p[s.MONDAY],p[s.TUESDAY],p[s.WEDNESDAY],p[s.THURSDAY],p[s.FRIDAY],p[s.SATURDAY]],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MMM D",l:"M/D/YYYY",LL:"MMM D, YYYY",ll:"MMM D LT",LLL:"LT - LL",lll:"MMM D, YYYY LT",LLLL:"ddd D MMMM YYYY LT",llll:"ddd D MMM YYYY LT"},calendar:{sameDay:r("{specialSymbolOpen}Today at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT"}),nextDay:r("{specialSymbolOpen}Tomorrow at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT"}),nextWeek:r("{dayName} {specialSymbolOpen}at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT",dayName:"dddd"}),lastDay:r("{specialSymbolOpen}Yesterday at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT"}),lastWeek:r("{specialSymbolOpen}Last{specialSymbolClose} {dayName} {specialSymbolOpen}at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT",dayName:"dddd"}),sameElse:"L"},relativeTime:{future:function(e){return e===r("just now")?e:r("in %s",{context:"time_range"}).replace("%s",e)},past:function(e){return e===r("just now")?e:r("%s ago",{context:"time_range"}).replace("%s",e)},s:r("just now"),m:function(e){return r("%d minute",{plural:"%d minutes",count:e}).replace("%d",e)},mm:function(e){return r("%d minute",{plural:"%d minutes",count:e}).replace("%d",e)},h:r("an hour"),hh:function(e){return r("%d hour",{plural:"%d hours",count:e}).replace("%d",e)},d:r("a day"),dd:function(e){return r("%d day",{plural:"%d days",count:e}).replace("%d",e)},M:r("a month"),MM:function(e){return r("%d month",{plural:"%d months",count:e}).replace("%d",e)},y:r("a year"),yy:function(e){return r("%d year",{plural:"%d years",count:e}).replace("%d",e)}},week:{dow:1,doy:4}}),i.locale(window.language)),e.exports=i},53402:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TRIAL_SUFFIX:()=>s,EA_SUFFIX:()=>a,CUSTOM_SUFFIX:()=>l,billingCycleToTimeUnit:()=>c,getReadableCycle:()=>u,getReadableNumericCycle:()=>d,billingPeriodText:()=>_,isEarlyAccess:()=>p,isTrialProduct:()=>h,getProductForTrial:()=>f,getDiscountFromEarlyAccess:()=>m,toEarlyAccess:()=>g,humanizeProPlan:()=>S,humanizeCardPlan:()=>y,getAmountOfDaysForBillingCycle:()=>v,countDiscountByBillingCycle:()=>A,billingCycleToMonth:()=>T,round2:()=>E,round0:()=>b,floor0:()=>C,round2or0:()=>R,round1or0:()=>w,roundMinimal:()=>I,getPlanName:()=>P});n(94419) +;var r=n(28353),i=n(46198),o=n(78540);const s="_trial",a="_discount",l="_custom";function c(e){return{y:(0,r.t)("year",{plural:"years",count:1}),m:(0,r.t)("month",{plural:"months",count:1}),"3m":(0,r.t)("three months"),"2y":(0,r.t)("two years")}[e]}function u(e){return{m:(0,r.t)("monthly"),y:(0,r.t)("annually"),"3m":(0,r.t)("3 months"),"2y":(0,r.t)("2-year")}[e]||""}function d(e){return{[o.BillingCycle.Monthly]:(0,r.t)("monthly"),[o.BillingCycle.OneYear]:(0,r.t)("1 year"),[o.BillingCycle.ThreeMonths]:(0,r.t)("3 months"),[o.BillingCycle.TwoYears]:(0,r.t)("2 years")}[e]||""}function _(e){var t;return null!==(t={y:(0,r.t)("Billed every year."),m:(0,r.t)("Billed every month."),"2y":(0,r.t)("Billed every two years.")}[e])&&void 0!==t?t:""}function p(e){return/\d{0,2}_discount$/.test(e)}function h(e){return new RegExp(s+"$").test(e)}function f(e){return e.split(s)[0]}function m(e){const t=e.match(new RegExp("^(d{0,2})"+a+"$"));return t?+t[1]||50:0}function g(e,t){return`${e}_${t}${a}`}function S(e,t){let n=e;switch(e){case i.ProPlans.Pro:n="Pro";break;case i.ProPlans.ProRealtime:n="Pro+";break;case i.ProPlans.ProPremium:n="Premium";break;case i.ProPlans.ProMiniAds:case i.ProPlans.ProMiniLayouts:case i.ProPlans.ProMiniAlerts:n=(0,r.t)("1-feature");break;case i.ProPlans.ProEdu:n=(0,r.t)("Rookie")}return t&&(n+=" "+(0,r.t)("trial")),n}function y(e){let t=e;switch(e){case i.ProPlans.Pro:t="Pro";break;case i.ProPlans.ProRealtime:t="Pro+";break;case i.ProPlans.ProPremium:t="Premium";break;case i.ProPlans.Free:t="Basic"}return t}function v(e){switch(e){case o.BillingCycle.TwoYears:return 730;case o.BillingCycle.OneYear:return 365;case o.BillingCycle.ThreeMonths:return 90;case o.BillingCycle.Monthly:return 30;default:return 1}}function A(e,t,n){return Math.round((t-e)*T(n))}function T(e){switch(e){case o.BillingCycle.TwoYears:return 24;case o.BillingCycle.OneYear:return 12;default:return 1}}function E(e){return(Math.round(100*e)/100).toFixed(2)}function b(e){const t=Math.round(100*e)/100;return Math.round(t).toFixed(0)}function C(e){return Math.floor(e).toString()}function R(e){const t=Math.round(100*e)/100,n=Math.round(t);return Math.abs(t-n)>0?t.toFixed(2):n.toFixed(0)}function w(e){return Number.isInteger(e)?e.toFixed(0):(Math.round(10*e)/10).toFixed(1)}function I(e){const t=Math.round(100*e)/100,n=Math.round(10*e)/10,r=Math.round(t);return Math.abs(t-r)>0?Math.abs(t-n)>0?t.toFixed(2):n.toFixed(1):r.toFixed(0)}function P(e){const t=(0,r.t)("{proPlanName} Trial");if(h(e)){const n=S(f(e));return t.format({proPlanName:n})}return S(e)}},85619:(e,t,n)=>{"use strict";function r(e){let t,n=0;if(0===e.length)return n;for(var r=0;rr})},967:(e,t,n)=>{"use strict";n.r(t),n.d(t,{monthsFullNames:()=>o,monthsShortNames:()=>s,weekDaysFullNames:()=>a,weekDaysShortNames:()=>l,weekDaysMiniNames:()=>c});var r=n(28353),i=n(84917);const o={[i.Months.JANUARY]:(0,r.t)("January"),[i.Months.FEBRUARY]:(0,r.t)("February"),[i.Months.MARCH]:(0,r.t)("March"), +[i.Months.APRIL]:(0,r.t)("April"),[i.Months.MAY]:(0,r.t)("May"),[i.Months.JUNE]:(0,r.t)("June"),[i.Months.JULY]:(0,r.t)("July"),[i.Months.AUGUST]:(0,r.t)("August"),[i.Months.SEPTEMBER]:(0,r.t)("September"),[i.Months.OCTOBER]:(0,r.t)("October"),[i.Months.NOVEMBER]:(0,r.t)("November"),[i.Months.DECEMBER]:(0,r.t)("December")},s={[i.Months.JANUARY]:(0,r.t)("Jan"),[i.Months.FEBRUARY]:(0,r.t)("Feb"),[i.Months.MARCH]:(0,r.t)("Mar"),[i.Months.APRIL]:(0,r.t)("Apr"),[i.Months.MAY]:(0,r.t)("May",{context:"short"}),[i.Months.JUNE]:(0,r.t)("Jun"),[i.Months.JULY]:(0,r.t)("Jul"),[i.Months.AUGUST]:(0,r.t)("Aug"),[i.Months.SEPTEMBER]:(0,r.t)("Sep"),[i.Months.OCTOBER]:(0,r.t)("Oct"),[i.Months.NOVEMBER]:(0,r.t)("Nov"),[i.Months.DECEMBER]:(0,r.t)("Dec")},a={[i.WeekDays.SUNDAY]:(0,r.t)("Sunday"),[i.WeekDays.MONDAY]:(0,r.t)("Monday"),[i.WeekDays.TUESDAY]:(0,r.t)("Tuesday"),[i.WeekDays.WEDNESDAY]:(0,r.t)("Wednesday"),[i.WeekDays.THURSDAY]:(0,r.t)("Thursday"),[i.WeekDays.FRIDAY]:(0,r.t)("Friday"),[i.WeekDays.SATURDAY]:(0,r.t)("Saturday")},l={[i.WeekDays.SUNDAY]:(0,r.t)("Sun"),[i.WeekDays.MONDAY]:(0,r.t)("Mon"),[i.WeekDays.TUESDAY]:(0,r.t)("Tue"),[i.WeekDays.WEDNESDAY]:(0,r.t)("Wed"),[i.WeekDays.THURSDAY]:(0,r.t)("Thu"),[i.WeekDays.FRIDAY]:(0,r.t)("Fri"),[i.WeekDays.SATURDAY]:(0,r.t)("Sat")},c={[i.WeekDays.SUNDAY]:(0,r.t)("Su",{context:"day_of_week"}),[i.WeekDays.MONDAY]:(0,r.t)("Mo",{context:"day_of_week"}),[i.WeekDays.TUESDAY]:(0,r.t)("Tu",{context:"day_of_week"}),[i.WeekDays.WEDNESDAY]:(0,r.t)("We",{context:"day_of_week"}),[i.WeekDays.THURSDAY]:(0,r.t)("Th",{context:"day_of_week"}),[i.WeekDays.FRIDAY]:(0,r.t)("Fr",{context:"day_of_week"}),[i.WeekDays.SATURDAY]:(0,r.t)("Sa",{context:"day_of_week"})}},33550:(e,t,n)=>{"use strict";n.d(t,{enabled:()=>l,getConfig:()=>c}) +;const r=JSON.parse('{"free":{"CHART_STORAGE":{"limit":1},"MULTIPLE_CHARTS":{"limit":1},"INDICATORS_ON_CHART":{"limit":3},"HISTORICAL_BARS":{"limit":5},"STUDY_ON_STUDY":{"limit":270,"child_limit":1},"SERVER_SIDE_ALERTS":{"limit":1},"SCREENER_ALERTS":{"limit":1},"SCREENER_INTERVALS":{"interval":["1D","1W","1M"]},"STUDY_TEMPLATES":{"limit":1},"SIMULTANEOUS_CONNECTIONS":{"limit":1},"IDEA_SOCIAL_LINKS":{"socials":["Twitter","Youtube"]}},"__legacy_pro":{"CHART_STORAGE":{"limit":99999},"MULTIPLE_CHARTS":{"limit":8},"CUSTOM_INTERVALS":{},"MULTIPLE_WATCHLISTS":{},"IMPORT_WATCHLISTS":{},"EXPORT_WATCHLISTS":{},"INDICATORS_ON_CHART":{"limit":99999},"HISTORICAL_BARS":{"limit":10},"TV_VOLUMEBYPRICE":{"study_packages":["tv-volumebyprice"]},"STUDY_ON_STUDY":{"limit":270,"child_limit":99999},"TICK_BY_TICK_PUSH_DATA":{},"SERVER_SIDE_ALERTS":{"limit":20},"SCREENER_ALERTS":{"limit":99999},"SCREENER_AUTO_REFRESH":{},"SCREENER_EXPORT_DATA":{},"SCREENER_INTERVALS":{"interval":["1m","5m","15m","30m","1h","2h","4h","1D","1W","1M"]},"NO_SPONSORED_ADS":{},"STUDY_TEMPLATES":{"limit":99999},"SIMULTANEOUS_CONNECTIONS":{"limit":1},"IDC_AVAILABLE_DELAY":{},"STATUS":{"disable_on_trial":true},"MULTIFLAGGED_SYMBOLS_LISTS":{},"BAR_REPLAY_INTRADAY":{},"SHOWS":{"disable_on_trial":true},"ALERTS_WEBHOOK":{},"DEEP_FUNDAMENTALS_HISTORY":{},"IDEA_SOCIAL_LINKS":{"socials":["Twitter","Youtube"]},"EXTENDED_SOCIAL_LINKS":{"socials":["Facebook","Instagram"],"disable_on_trial":true},"MULTI_MONITOR":{},"PUBLISH_PROTECTED_SCRIPTS":{"disable_on_trial":true}},"__legacy_pro_realtime":{"extends":"__legacy_pro","TV_PROSTUDIES":{"study_packages":["tv-prostudies"]},"SERVER_SIDE_ALERTS":{"limit":1000},"CAN_EDIT_PUBLIC_CHATS":{"disable_on_trial":true},"EXPORT_CHART_DATA":{},"CUSTOM_FORMULAS":{},"INTRADAY_EXOTIC_CHARTS":{}},"__legacy_pro_premium":{"extends":"__legacy_pro_realtime","USE_BAR_MAGNIFIER":{},"HISTORICAL_BARS":{"limit":20},"IDEA_SIGNATURE":{"disable_on_trial":true},"PROFILE_WEBSITE_FIELD":{"disable_on_trial":true},"ALERTS_NO_EXPIRATION":{},"PUBLISH_INVITE_ONLY_SCRIPTS":{"disable_on_trial":true},"EXPORT_CHART_DATA":{},"DEEP_HISTORY_BACKTEST":{},"ALERTS_ON_SECONDS":{},"PERMANENT_STREAM_RECORDS":{},"EXTENDED_SOCIAL_LINKS":{"socials":["Facebook","Instagram","Website"],"disable_on_trial":true},"SECONDS_INTERVALS":{}},"pro":{"CHART_STORAGE":{"limit":5},"MULTIPLE_CHARTS":{"limit":2},"CUSTOM_INTERVALS":{},"MULTIPLE_WATCHLISTS":{},"IMPORT_WATCHLISTS":{},"EXPORT_WATCHLISTS":{},"INDICATORS_ON_CHART":{"limit":5},"HISTORICAL_BARS":{"limit":10},"TV_VOLUMEBYPRICE":{"study_packages":["tv-volumebyprice"]},"STUDY_ON_STUDY":{"limit":270,"child_limit":1},"TICK_BY_TICK_PUSH_DATA":{},"SERVER_SIDE_ALERTS":{"limit":20},"SCREENER_ALERTS":{"limit":99999},"SCREENER_AUTO_REFRESH":{},"SCREENER_EXPORT_DATA":{},"SCREENER_INTERVALS":{"interval":["1m","5m","15m","30m","1h","2h","4h","1D","1W","1M"]},"NO_SPONSORED_ADS":{},"STUDY_TEMPLATES":{"limit":99999},"SIMULTANEOUS_CONNECTIONS":{"limit":1},"IDC_AVAILABLE_DELAY":{},"STATUS":{"disable_on_trial":true},"BAR_REPLAY_INTRADAY":{},"MULTIFLAGGED_SYMBOLS_LISTS":{},"SHOWS":{"disable_on_trial":true},"ALERTS_WEBHOOK":{},"DEEP_FUNDAMENTALS_HISTORY":{},"PUBLISH_PROTECTED_SCRIPTS":{"disable_on_trial":true},"IDEA_SOCIAL_LINKS":{"socials":["Twitter","Youtube"]},"EXTENDED_SOCIAL_LINKS":{"socials":["Facebook","Instagram"],"disable_on_trial":true},"MULTI_MONITOR":{}},"pro_realtime":{"extends":"pro","CHART_STORAGE":{"limit":10},"MULTIPLE_CHARTS":{"limit":4},"INDICATORS_ON_CHART":{"limit":10},"TV_PROSTUDIES":{"study_packages":["tv-prostudies"]},"STUDY_ON_STUDY":{"limit":270,"child_limit":9},"SERVER_SIDE_ALERTS":{"limit":100},"CAN_EDIT_PUBLIC_CHATS":{"disable_on_trial":true},"SIMULTANEOUS_CONNECTIONS":{"limit":2},"EXPORT_CHART_DATA":{},"CUSTOM_FORMULAS":{},"INTRADAY_EXOTIC_CHARTS":{}},"pro_premium":{"extends":"pro_realtime","USE_BAR_MAGNIFIER":{},"CHART_STORAGE":{"limit":99999},"MULTIPLE_CHARTS":{"limit":8},"INDICATORS_ON_CHART":{"limit":25},"HISTORICAL_BARS":{"limit":20},"STUDY_ON_STUDY":{"limit":270,"child_limit":24},"SERVER_SIDE_ALERTS":{"limit":400},"SIMULTANEOUS_CONNECTIONS":{"limit":5},"IDEA_SIGNATURE":{"disable_on_trial":true},"PROFILE_WEBSITE_FIELD":{"disable_on_trial":true},"ALERTS_NO_EXPIRATION":{},"PUBLISH_INVITE_ONLY_SCRIPTS":{"disable_on_trial":true},"EXPORT_CHART_DATA":{},"DEEP_HISTORY_BACKTEST":{},"ALERTS_ON_SECONDS":{},"PERMANENT_STREAM_RECORDS":{},"EXTENDED_SOCIAL_LINKS":{"socials":["Facebook","Instagram","Website"],"disable_on_trial":true},"SECONDS_INTERVALS":{}},"pro_mini_alerts":{"extends":"free","SERVER_SIDE_ALERTS":{"limit":30},"SCREENER_ALERTS":{"limit":99999},"SHOWS":{"disable_on_trial":true},"IDC_AVAILABLE_DELAY":{},"DEEP_FUNDAMENTALS_HISTORY":{}},"pro_mini_ads":{"extends":"free","NO_SPONSORED_ADS":{},"SHOWS":{"disable_on_trial":true},"IDC_AVAILABLE_DELAY":{},"DEEP_FUNDAMENTALS_HISTORY":{}},"pro_mini_layouts":{"extends":"free","MULTIPLE_CHARTS":{"limit":8},"SHOWS":{"disable_on_trial":true},"IDC_AVAILABLE_DELAY":{},"DEEP_FUNDAMENTALS_HISTORY":{}},"pro_edu":{"extends":"free","CHART_STORAGE":{"limit":3},"MULTIPLE_CHARTS":{"limit":2},"MULTIPLE_WATCHLISTS":{},"IMPORT_WATCHLISTS":{},"EXPORT_WATCHLISTS":{},"TICK_BY_TICK_PUSH_DATA":{},"SERVER_SIDE_ALERTS":{"limit":5},"SCREENER_ALERTS":{"limit":99999},"SHOWS":{"disable_on_trial":true},"IDC_AVAILABLE_DELAY":{},"DEEP_FUNDAMENTALS_HISTORY":{}}}'),i=JSON.parse('{"cme":{"INDICATORS_ON_CHART":{"limit":99999}},"bovespa":{"INDICATORS_ON_CHART":{"limit":99999}},"qecomqa":{"INDICATORS_ON_CHART":{"limit":99999}}}') +;var o=n(62867),s=n(46198),a=n(53402);function l(e,t,n){let r=window.user;n&&(r=n);const i=c(e,t,r);return!!i&&!(i[o.ProductFeatures.DISABLE_ON_TRIAL]&&(!r||r.is_trial))}function c(e,t,n){var o;let l=function e(t){const n=r[t];return n?n.extends?Object.assign({},e(n.extends),n):n:null}(t||function(e){let t=window.user;e&&(t=e);let n=(null==t?void 0:t.pro_plan)||s.ProPlans.Free;const r=n!==s.ProPlans.Free&&!(0,a.isTrialProduct)(n);return r||(n=(0,a.getProductForTrial)(n)),r&&t&&!t.is_pro_limited&&!t.new_pro_product_line&&(n="__legacy_"+n),n}(n));if(!l)return null;const c=null===(o=window.TradingView)||void 0===o?void 0:o.widgetCustomer;return c&&i[c]&&(l=Object.assign({},l,i[c])),l&&l[e]||null}},62867:(e,t,n)=>{"use strict";var r;n.d(t,{ProductFeatures:()=>r}),function(e){e.DISABLE_ON_TRIAL="disable_on_trial",e.CUSTOM_INTERVALS="CUSTOM_INTERVALS",e.CHART_STORAGE="CHART_STORAGE",e.MULTIPLE_CHARTS="MULTIPLE_CHARTS",e.MULTIPLE_WATCHLISTS="MULTIPLE_WATCHLISTS",e.IMPORT_WATCHLISTS="IMPORT_WATCHLISTS",e.EXPORT_WATCHLISTS="EXPORT_WATCHLISTS",e.INDICATORS_ON_CHART="INDICATORS_ON_CHART",e.STUDY_ON_STUDY="STUDY_ON_STUDY",e.TICK_BY_TICK_PUSH_DATA="TICK_BY_TICK_PUSH_DATA",e.SERVER_SIDE_ALERTS="SERVER_SIDE_ALERTS",e.PUBLISH_INVITE_ONLY_SCRIPTS="PUBLISH_INVITE_ONLY_SCRIPTS",e.PUBLISH_PROTECTED_SCRIPTS="PUBLISH_PROTECTED_SCRIPTS",e.SCREENER_ALERTS="SCREENER_ALERTS",e.SCREENER_AUTO_REFRESH="SCREENER_AUTO_REFRESH",e.SCREENER_EXPORT_DATA="SCREENER_EXPORT_DATA",e.SCREENER_INTERVALS="SCREENER_INTERVALS",e.SIMULTANEOUS_CONNECTIONS="SIMULTANEOUS_CONNECTIONS",e.STUDY_TEMPLATES="STUDY_TEMPLATES",e.CAN_EDIT_PUBLIC_CHATS="CAN_EDIT_PUBLIC_CHATS",e.NO_SPONSORED_ADS="NO_SPONSORED_ADS",e.IDC_AVAILABLE_DELAY="IDC_AVAILABLE_DELAY",e.STATUS="STATUS",e.ALERTS_NO_EXPIRATION="ALERTS_NO_EXPIRATION",e.MULTIFLAGGED_SYMBOLS_LISTS="MULTIFLAGGED_SYMBOLS_LISTS",e.BAR_REPLAY_INTRADAY="BAR_REPLAY_INTRADAY",e.TV_VOLUMEBYPRICE="TV_VOLUMEBYPRICE",e.ALERTS_WEBHOOK="ALERTS_WEBHOOK",e.DEEP_FUNDAMENTALS_HISTORY="DEEP_FUNDAMENTALS_HISTORY",e.EXPORT_CHART_DATA="EXPORT_CHART_DATA",e.ALERTS_ON_SECONDS="ALERTS_ON_SECONDS",e.PERMANENT_STREAM_RECORDS="PERMANENT_STREAM_RECORDS",e.IDEA_SOCIAL_LINKS="IDEA_SOCIAL_LINKS",e.EXTENDED_SOCIAL_LINKS="EXTENDED_SOCIAL_LINKS",e.DEEP_HISTORY_BACKTEST="DEEP_HISTORY_BACKTEST",e.USE_BAR_MAGNIFIER="USE_BAR_MAGNIFIER"}(r||(r={}))},51712:(e,t,n)=>{"use strict";n.d(t,{reloginOrGoPro:()=>d,runOrGoPro:()=>u});var r=n(20120),i=n(12620),o=n(33550),s=n(62867);function a(e,t,n){return t.value||(0,o.enabled)(e,n)}function l(e,t,n){switch(e){case s.ProductFeatures.SCREENER_INTERVALS:return function(e,t){const n=(0,o.getConfig)(s.ProductFeatures.SCREENER_INTERVALS,t);return!(!n||!n.interval)&&n.interval.includes(e.interval)}(t,n);case s.ProductFeatures.SCREENER_AUTO_REFRESH:return a(s.ProductFeatures.SCREENER_AUTO_REFRESH,t,n);case s.ProductFeatures.ALERTS_NO_EXPIRATION:return a(s.ProductFeatures.ALERTS_NO_EXPIRATION,t,n);default:return(0,o.enabled)(e,n)}}var c=n(84303);async function u(e,t,n,o={}){const s=window.is_authenticated +;window.is_authenticated&&window.user.is_pro&&await(0,r.syncUserData)("gopro"),s===window.is_authenticated?function(e,t,n,r){l(t,r)?e():(0,i.createGoProDialog)(n)}(e,t,n,o):(0,c.showSignModal)({source:n.goproSource,feature:n.feature,signinSuccess:e})}async function d(e){const t=window.is_authenticated;window.is_authenticated&&window.user.is_pro&&await(0,r.syncUserData)("gopro"),t===window.is_authenticated?(0,i.createGoProDialog)(e):(0,c.showSignModal)({source:e.goproSource,feature:e.feature})}},76266:(e,t,n)=>{"use strict";var r=n(11417).TVLocalStorage,i=n(2872);n(49483);var o=new i;TradingView.FeatureToggle={force_prefix:"forcefeaturetoggle.",onChanged:new i,enableFeature:function(e){r.setItem(this.force_prefix+e,"true"),o.fire(e)},disableFeature:function(e){r.setItem(this.force_prefix+e,"false"),o.fire(e)},resetFeature:function(e){r.removeItem(this.force_prefix+e),o.fire(e)},onFeaturesStateChanged:function(){return o}},TradingView.isFeatureEnabled=function(e){function t(e){try{var t=(void 0)(e+function(){if(window.user&&window.user.id)return window.user.id;var e=r.getItem("featuretoggle_seed");return null!==e||(e=Math.floor(1e6*Math.random()),r.setItem("featuretoggle_seed",e)),e}());return new DataView(t).getUint32(0,!0)/4294967296}catch(e){return.5}}return function(n){return!("local"!==window.environment||!function(e){var t=new RegExp("broker_[A-Z]+[a-zA-Z0-9_]+_dev","g"),n=new RegExp("hide_[A-Z]+[a-zA-Z0-9_]+_on_ios","g"),r=new RegExp("hide_[A-Z]+[a-zA-Z0-9_]+_on_android","g"),i=new RegExp("hide_[A-Z]+[a-zA-Z0-9_]+_on_mobile_web","g") +;return-1===["remove_note_tab_from_bottom_panel","broker_FXCM_token_v2","broker_TRADESTATION_V3","broker_TRADOVATE_dev","black_friday_mainpage","black_friday_popup","datawindow","trading-fast-renew-oauth-token","switching_trial_year_to_month_disabled","switching_year_to_month_disabled","default_year_billing_cycle_switcher","marketing-analytics","google-ads","visible_address_fields_by_default","slow-support-warning","hide-trading-floating-toolbar","tvcoins_donations","save-short-streams","details_disable_bid_ask","vat_disabled","pro_plan_upgrades_disabled","pro_plan_downgrades_disabled","unit_conversion","disable_recaptcha_on_signup","braintree-order-one-click-dropdown","braintree-trial-implementation","braintree-gopro-in-order-dialog","braintree-apple-pay","braintree-google-pay","braintree-apple-pay-trial","braintree-google-pay-trial","hide_gopro_popup_upgrade_button","yandex_metric_enabled","broker_id_session","remove_line_tools_from_content","do_not_save_shared_line_tools_to_charts","save_shared_line_tools","chart_storage_with_broker_name","do_not_invalidate_chart_on_changing_line_tools","log_removing_line_tools_group","oanda-european-accounts-warning","mobile_show_bottom_panel","disable_save_settings","desktop_version_notification_enabled","favorites-in-broker-dropdown","streams_stats_profile","hide_ecomonic_events","aggregating_page_pings","mobile_trading_web","mobile_trading_ios","mobile_trading_android","hide_real_brokers_on_mobile","enable_trading_server_logger","percentage_values_for_percentage_scale","hide_ranges_label_colors","disable_user_specific_encryption","remove_scale_settings_from_menu","enable_deep_history_backtesting","show_checkbox_of_house_rules_to_idea_and_script","enable_partner_program","disable_phone_verification_sms","no_overlap_mode_enabled","collapse_pane_buttons_when_connected_to_broker","enable_new_execution_style","test_minds_connections","ftx_request_server_logger","trading_request_server_logger","show_symbol_chart_type_switcher","ecommpay_ru","hide_ideas_on_chart","RU_SF_disable","RU_VOR_disable","show_continuous_contract_switches","hide_sync_time","enable_new_custom_public_chats","bottom_panel_track_events"].indexOf(e)&&-1===e.indexOf("-maintenance")&&!1===t.test(e)&&!1===n.test(e)&&!1===r.test(e)&&!1===i.test(e)}(n))||(!e[n]||-1!==e[n])&&(!!("true"===r.getItem(TradingView.FeatureToggle.force_prefix+n)||window.is_authenticated&&"undefined"!=typeof user&&user.settings&&"true"===user.settings[TradingView.FeatureToggle.force_prefix+n])||!("false"===r.getItem(TradingView.FeatureToggle.force_prefix+n)||window.is_authenticated&&"undefined"!=typeof user&&user.settings&&"false"===user.settings[TradingView.FeatureToggle.force_prefix+n])&&(!!e[n]&&(1===e[n]||t(n)<=e[n])))}}(window.featureToggleState||{}),t.FeatureToggle=TradingView.FeatureToggle,t.isFeatureEnabled=TradingView.isFeatureEnabled,t.onFeaturesStateChanged=TradingView.FeatureToggle.onFeaturesStateChanged.bind(TradingView.FeatureToggle)},93119:(e,t,n)=>{"use strict" +;var r=n(9423),i=n(21097).TVXWindowEvents,o=n(51768).trackEvent,s=n(11417).TVLocalStorage,a=n(50975).PushStream,l=n(44182).ConnectionStatus,c=n(52485).telemetry,u=n(98125),d=u.getLogger,_=u.getRawLogHistory,p=d("PushStreamMultiplexer"),h=function(){var e,t=null,n=null,u={},d={},h=[],f=null,m="multiplexer-bc-",g="pushStreamMultiplexerState.",S=l.Closed,y=l.Closed,v=!1,A={_codeParams:function(e){return(e=Array.prototype.slice.call(e)).push((new Date).getTime()),JSON.stringify(e)},_decodeParams:function(e){var t=JSON.parse(e);return t.pop(),t},guid:r.guid(),_init:function(){if(this._needInstantiating())this._instantiatePushStream();else{var e=this._decodeConnectionStatus(s.getItem(this._connectionStatusKey));S=e[0],y=e[1]}setTimeout((function(){A.isConnected()||(p.logNormal("Not connected for a while after init..."),o("pushstream","not connected after init",navigator.userAgent))}),A._activityTimeout)},_instantiatePushStream:function(e){this._setMark(),t&&(o("PushstreamDoublePublic",window.user&&window.user.username||"Guest",navigator.userAgent),t.disconnect()),(t=new a(this._dispatchMessage.bind(this),{url:window.PUSHSTREAM_URL,urlPath:"message-pipe-ws"})).connectionStatus().subscribe(function(e){this._dispatchStatusChange(e,y)}.bind(this)),n&&(o("PushstreamDoublePrivate",window.user&&window.user.username||"Guest",navigator.userAgent),n.disconnect()),(n=new a(this._dispatchMessage.bind(this),{url:window.PUSHSTREAM_URL,urlPath:"message-pipe-ws"})).connectionStatus().subscribe(function(e){this._dispatchStatusChange(S,e)}.bind(this)),this.on("pushstream_set_user_channel",function(e){this._setUserChannel(e)}.bind(this)),this._connectChannels(e)},_destructPushStream:function(){var e=t;t=null,e.disconnect(),e=n,n=null,e.disconnect(),this._dispatchStatusChangeFromOther(s.getItem(this._connectionStatusKey))},_activityTimeout:5e3,_delayTimeout:2e4,_pulseActivity:function(){this.ownPushStream()?this._lostOwn()?(p.logNormal("Lost own pushstream connection"),c.sendReport("site","pushstream_lost_own"),this._destructPushStream()):this._setMark():this._needInstantiating()&&!v&&(p.logNormal("Creating pushstream connection, because other tab lost it"),c.sendReport("site","pushstream_pick_up"),this._instantiatePushStream(this.getChannels()))},_markName:g+"mark",_lostOwn:function(){var e=s.getItem(this._markName);return!!e&&(e=this._decodeParams(e))[0]!==this.guid},_getMark:function(){return this._decodeParams(s.getItem(this._markName))},_setMark:function(){s.setItem(this._markName,this._codeParams([this.guid,(new Date).getTime()]))},_unsetMark:function(){s.setItem(this._markName,"")},_needInstantiating:function(){var e=s.getItem(this._markName);if(e){var t=(e=this._decodeParams(e))[1];return(new Date).getTime()-t>this._delayTimeout}return!0},_onRequestRecreate:function(e){if(!this.ownPushStream()&&this._needInstantiating()){var t=this._decodeParams(e)[0];p.logNormal("Creating pushstream connection after recreate request"),this._instantiatePushStream(t)}},_onUnload:function(){this.ownPushStream()&&(this._unsetMark(), +this._sendRecreateRequest())},_getChannels:function(){return t.getChannels().concat(n.getChannels())},_channelsName:g+"channels",_getChannelsFromStorage:function(){var e=s.getItem(this._channelsName);return e?JSON.parse(e):[]},getChannels:function(){return this.ownPushStream()?this._getChannels():this._getChannelsFromStorage()},_storeChannels:function(){s.setItem(this._channelsName,JSON.stringify(this._getChannels()))},_sendRecreateRequest:function(){var e=this._getChannels();i.emit(this._xEventRecreate,this._codeParams([e]))},ownPushStream:function(){return!!t||!!n},pushStream:function(){if(!this.ownPushStream())throw new Error("Not own PushStream");return t},isConnected:function(){return S>0},status:function(){return S||l.Closed},statusPrivate:function(){return y||l.Closed},_userChannel:function(e){return"private_"+e},userChannel:function(){if(!f)throw new Error("No user channel");return this._userChannel(f)},_xEventRecreate:m+"recreate",_xEventSend:m+"send",_xEventChannelAdd:m+"channelAdd",_xEventChannelRemove:m+"channelRemove",_xEventRequiredChannels:m+"requirech",_xEventConnectionStatus:m+"connectionStatus",_xEventReconnectCommand:m+"reconnectCommand",_xEventRequestLogs:m+"requestLogs",_xEventShareLogs:m+"shareLogs",_shareLogsKey:g+"shareLogs",_connectionStatusKey:g+"connectionStatus",_addChannel:function(e){var r=e.startsWith("private_")?n:t;r.hasChannel(e)||(r.addChannel(e),this._storeChannels())},addChannel:function(e){this.ownPushStream()?this._addChannel(e):i.emit(this._xEventChannelAdd,this._codeParams([e]))},_addChannelFromOther:function(e){var t=this._decodeParams(e)[0];this.ownPushStream()&&this._addChannel(t)},_removeChannel:function(e){var r=e.startsWith("private_")?n:t;r.hasChannel(e)&&(r.removeChannel(e),this._storeChannels())},removeChannel:function(e){this.ownPushStream()?this._removeChannel(e):i.emit(this._xEventChannelRemove,this._codeParams([e]))},_removeChannelFromOther:function(e){var t=this._decodeParams(e)[0];this.ownPushStream()&&this._removeChannel(t)},_connectChannels:function(e){t.addChannel("public"),void 0!==e&&e.length>0&&e.forEach((function(e){e.startsWith("private_")||t.hasChannel(e)||t.addChannel(e)})),"is_authenticated"in window?this._connectUserChannelInitial(!0):window.loginStateChange&&loginStateChange.subscribe(this,this._connectUserChannelInitial),t.connect()},_connectUserChannelInitial:function(e){e&&(is_authenticated?(f=user.private_channel,n.addChannel(this.userChannel()),n.connect()):f=null)},_changeLoginState:function(e){e||(is_authenticated?(f=user.private_channel,this.ownPushStream()&&(this._addChannel(this.userChannel()),n.connect())):(this.ownPushStream()&&(this._removeChannel(this.userChannel()),n.disconnect()),f=null))},_setUserChannel:function(e){p.logNormal("Set user channel "+e),e!==f&&(this.ownPushStream()&&f&&this._removeChannel(this.userChannel()),f=e,this.ownPushStream()&&f&&this._addChannel(this.userChannel()))},_dispatchStatusChange:function(e,t){this._dispatchStatusChangeToOthers(e,t),this._dispatchStatusChangeToSelf(e,t)}, +_dispatchStatusChangeToSelf:function(e,t){e!==S&&(S=e,this._callStatusHandlers(e,!1)),t!==y&&(y=t,this._callStatusHandlers(t,!0))},_callStatusHandlers:function(e,t){p.logNormal("Connection status change: "+e+", private "+t),c.sendReport("site","pushstream_status_change"),h.forEach((function(n){n.isPrivate===t&&n.handler(e)}))},_decodeConnectionStatus:function(e){var t=parseInt(e,10);return isNaN(t)?this._decodeParams(e):[t,t]},_dispatchStatusChangeFromOther:function(e){var t=this._decodeConnectionStatus(e),n=t[0],r=t[1];this.ownPushStream()||this._dispatchStatusChangeToSelf(n,r)},_dispatchStatusChangeToOthers:function(e,t){if(this.ownPushStream()){var n=this._codeParams([e,t]);s.setItem(this._connectionStatusKey,n),i.emit(this._xEventConnectionStatus,n)}},_dispatchMessage:function(e,t,n){this._dispatchMessageToOthers(e,t,n),this._dispatchMessageToSelf(e,t,n,!1)},_dispatchMessageToSelf:function(e,t,n,r){n=e.channel,e=e.content,this._emit(e,t,n,r)},_dispatchMessageToOthers:function(e,t,n){var r=[e,t,n,(new Date).getTime()];i.emit(this._xEventSend,this._codeParams(r))},_dispatchMessageFromOther:function(e){if(!this.ownPushStream()){var t=this._decodeParams(e),n=t[0],r=t[1],i=t[2];this._dispatchMessageToSelf(n,r,i,!0)}},_isSpecialChannel:function(e){return/\*/.test(e)},_emit:function(e,t,n,r){function i(i){i.call(this,e,t,n,r)}for(var o in u[n]&&u[n].forEach(i,this),d){var s="^"+o.replace(/\*/g,".*?")+"$";new RegExp(s).test(n)&&d[o].forEach(i,this)}},on:function(e,t){var n=this._isSpecialChannel(e)?d:u;n[e]||(n[e]=[]),n[e].push(t)},off:function(e,t){var n=this._isSpecialChannel(e)?d:u;switch(arguments.length){case 0:u={},d={};break;case 1:n[e]&&delete n[e];break;default:if(n[e]){var r=n[e].indexOf(t);~r&&n[e].splice(r,1)}}},onStatus:function(e){h.push({handler:e,isPrivate:!1}),setTimeout((function(){e(S)}),0)},onPrivateStatus:function(e){h.push({handler:e,isPrivate:!0}),setTimeout((function(){e(y)}),0)},offStatus:function(e){h=h.filter((function(t){return t.handler!==e}))},forceConnect:function(){v=!1,p.logNormal("Creating pushstream connection after force connect"),this.ownPushStream()?(t.disconnect(),n.disconnect(),this._instantiatePushStream(this.getChannels())):this._needInstantiating()?this._instantiatePushStream():i.emit(this._xEventReconnectCommand,{})},disconnect:function(){this.ownPushStream()&&(this._destructPushStream(),this._unsetMark(),v=!0)},_dispatchReconnectCommandFromOther:function(){this.ownPushStream()&&this.forceConnect()},_getOwnLogs:function(e){if(this.ownPushStream()){var t=_(e,"PushStreamMultiplexer"),n=this.pushStream().getLogs();return[].concat(t,n)}return[]},_onRequestLogs:function(e){if(this.ownPushStream()){var t=this._getOwnLogs(e),n="";try{n=JSON.stringify(t)}catch(e){p.logError("Failed to stringify own pushstream logs")}s.setItem(this._shareLogsKey,n),i.emit(this._xEventShareLogs,n)}},getLogs:function(e){return new Promise(function(t){var n=setTimeout(function(){var e=s.getItem(this._shareLogsKey);t(null!==e?JSON.parse(e):[])}.bind(this),1e3),r=function(e){var o +;i.off(this._xEventShareLogs,r),i.emit(this._xEventShareLogs,""),clearTimeout(n);try{o=JSON.parse(e)}catch(e){o=[],p.logError("Failed to parse logs received from master tab")}t(o)}.bind(this);this.ownPushStream()?t(this._getOwnLogs(e)):(i.on(this._xEventShareLogs,r),i.emit(this._xEventRequestLogs))}.bind(this))}};return A._init(),window.addEventListener("unload",A._onUnload.bind(A)),i.on(A._xEventRecreate,A._onRequestRecreate.bind(A)),i.on(A._xEventSend,A._dispatchMessageFromOther.bind(A)),i.on(A._xEventChannelAdd,A._addChannelFromOther.bind(A)),i.on(A._xEventChannelRemove,A._removeChannelFromOther.bind(A)),i.on(A._xEventConnectionStatus,A._dispatchStatusChangeFromOther.bind(A)),i.on(A._xEventReconnectCommand,A._dispatchReconnectCommandFromOther.bind(A)),i.on(A._xEventRequestLogs,A._onRequestLogs.bind(A)),e=function(){window.loginStateChange&&loginStateChange.subscribe(A,A._changeLoginState)},"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e),setInterval(A._pulseActivity.bind(A),A._activityTimeout),A._pulseActivity(),A}();e.exports=h},50975:(e,t,n)=>{"use strict";n.d(t,{PushStream:()=>f});var r=n(88537),i=n(98125),o=n(44182);var s=n(52714),a=n.n(s),l=n(2872),c=n.n(l),u=n(8128);const d=(0,i.getLogger)("PersistentWebsocketTransport");class _ extends class{constructor(e,t,n){this._url="",this._socket=null,this._reconnectCount=0,this._onlineCancellationToken=null,this._connectionStatus=new(a())(o.ConnectionStatus.Closed),this._socketCloseHandler=this._onCloseCallback.bind(this),this._socketErrorHandler=this._onErrorCallback.bind(this),this._socketOpenHandler=this._onOpenCallback.bind(this),this._socketMessageHandler=this._onMessageCallback.bind(this),this._maxReconnectReachedEventDelegate=new(c()),this._shouldReconnect=!0,this._maxReconnectCount=null,this._reconnectTimeoutId=0,this._connectAbortController=null,this._tryReconnect=()=>{if(this._disconnect(),this._shouldReconnect){const e=this._getReconnectTimeout();this._logger.logNormal(`Sleeping some time before reconnect ${e}ms`),this._reconnectTimeoutId=setTimeout(this._tryReconnectImpl.bind(this),e)}else this._logger.logNormal("Skip reconnecting because of shouldReconnect state")},this._onOfflineHandler=()=>{this._removeOnOfflineListener(),this._logger.logInfo("Network status changed to offline - trying to reconnect"),this._tryReconnect()},this._logger=t,this._messageHandler=e,this._closeHandler=n,window.addEventListener("unload",()=>{t.logNormal("Unload event comes - disconnecting without reconnect after that..."),this._shouldReconnect=!1,this._disconnect()},!1)}setUrl(e){if(this._url===e)return;const t=this._connectionStatus.value()!==o.ConnectionStatus.Closed;t&&this._disconnect(),this._url=e,t&&this.connect()}url(){return this._url}connect(){this._connectImpl()}setMaxReconnectCount(e){this._maxReconnectCount=e}connectionStatus(){return this._connectionStatus.readonly()}disconnect(){this._shouldReconnect=!1,this._disconnect()}maxReconnectReachedEvent(){return this._maxReconnectReachedEventDelegate} +async _prepareParamsForConnection(e){}_disconnect(){var e;null===(e=this._connectAbortController)||void 0===e||e.abort(),this._connectAbortController=null,clearTimeout(this._reconnectTimeoutId),this._reconnectTimeoutId=0,this._connectionStatus.value()!==o.ConnectionStatus.Closed?this._socket?(this._logger.logNormal(`Closing connection to: ${this._socket.url}, currentStatus: ${o.ConnectionStatus[this._connectionStatus.value()]}`),this._disconnectTransport()):this._logger.logNormal("Disconnecting without socket - probably within preparing, it should be already scheduled for aborting"):this._logger.logNormal("Attempt to close connection but it is closed already")}_onErrorCallback(){this._logger.logInfo("Connection is closed by error"),this._tryReconnect()}_onCloseCallback(e){var t;this._logger.logInfo(`Connection is closed - code=${e.code} msg=${e.reason}`),null===(t=this._closeHandler)||void 0===t||t.call(this,e),this._tryReconnect()}_tryReconnectImpl(){return null!==this._maxReconnectCount&&this._reconnectCount===this._maxReconnectCount?(this._logger.logWarn("Maximum attempts to reconnect to websocket reached"),void this._maxReconnectReachedEventDelegate.fire()):(this._reconnectCount+=1,this._logger.logInfo("Reconnecting count: "+this._reconnectCount),navigator.onLine?(this._logger.logInfo("Network status: online - trying to connect"),void this.connect()):(this._logger.logInfo("Network status: offline - wait until online"),void(this._onlineCancellationToken=function(e){let t=e;const n=()=>{window.removeEventListener("online",n),t&&t()};return window.addEventListener("online",n),()=>{t=null}}(()=>{this._logger.logInfo("Network status changed to online - trying to connect"),this.connect()}))))}_onOpenCallback(){this._logger.logNormal("Connection opened"),this._reconnectCount=0,this._connectionStatus.setValue(o.ConnectionStatus.Open)}_onMessageCallback(e){this._messageHandler(e.data)}_getReconnectTimeout(){return this._reconnectCount<5?300:5e3}_setOnOfflineListener(){window.addEventListener("offline",this._onOfflineHandler)}_removeOnOfflineListener(){window.removeEventListener("offline",this._onOfflineHandler)}async _connectImpl(){if(this._connectionStatus.value()!==o.ConnectionStatus.Closed)return void this._logger.logNormal("Attempt to open connection but it is not closed");this._socket&&(this._logger.logError("Something went wrong - code 0x2"),this.disconnect()),this._onlineCancellationToken&&(this._onlineCancellationToken(),this._onlineCancellationToken=null),this._logger.logNormal("Connecting to "+this._url),this._shouldReconnect=!0,this._connectAbortController=new AbortController;const e=this._connectAbortController.signal;try{if(this._connectionStatus.setValue(o.ConnectionStatus.Connecting),await this._prepareParamsForConnection(e),e.aborted)throw(0,u.createAbortError)();this._socket=this._createNativeTransport(this._url),this._setOnOfflineListener()}catch(e){this._connectionStatus.setValue(o.ConnectionStatus.Closed),(0,u.skipAbortError)(e)}finally{this._connectAbortController=null}}}{constructor(e,t){super(e,d,t) +}sendMessage(e){this._connectionStatus.value()===o.ConnectionStatus.Open?this._socket?this._socket.send(e):d.logError("Something went wrong - code 0x3"):d.logWarn("Attempt to send message but connection is not opened")}_createNativeTransport(e){const t=new WebSocket(e);return t.binaryType="arraybuffer",t.addEventListener("error",this._socketErrorHandler),t.addEventListener("close",this._socketCloseHandler),t.addEventListener("open",this._socketOpenHandler),t.addEventListener("message",this._socketMessageHandler),t}_disconnectTransport(){if(null===this._socket)return;this._socket.removeEventListener("error",this._socketErrorHandler),this._socket.removeEventListener("close",this._socketCloseHandler),this._socket.removeEventListener("open",this._socketOpenHandler),this._socket.removeEventListener("message",this._socketMessageHandler),this._removeOnOfflineListener();const e=this._socket;this._socket=null,this._connectionStatus.setValue(o.ConnectionStatus.Closed),e.readyState!==WebSocket.CLOSED&&e.close()}}var p=n(52485);const h=(0,i.getLogger)("PushStream");class f{constructor(e,t){this._channels=[],this._transport=new _(this._onPushStreamMessage.bind(this),this._onPushStreamClose.bind(this)),this._settings=t,this._messageHandler=e}addChannel(e){(0,r.assert)(!this.hasChannel(e),"Channel already subscribed"),h.logNormal("Adding channel "+e),this._channels.push(e),this._transport.setUrl(this._generateUrl())}removeChannel(e){const t=this._channels.indexOf(e);(0,r.assert)(-1!==t,"There is no that channel"),h.logNormal("Removing channel "+e),this._channels.splice(t,1),this._transport.setUrl(this._generateUrl())}getChannels(){return this._channels}hasChannel(e){return-1!==this._channels.indexOf(e)}connectionStatus(){return this._transport.connectionStatus()}connect(){(0,r.assert)(0!==this._channels.length,"There is no channels"),this._transport.connect()}disconnect(){this._transport.disconnect()}sendMessage(e){this._transport.sendMessage(e)}getLogs(e){return(0,i.getRawLogHistory)(e,"PushStream")}_onPushStreamMessage(e){if("string"!=typeof e)throw new Error("Wrong message type, expected string");const t=JSON.parse(e),n=t.id,r=t.channel;-2===n?h.logWarn("Received unexpected message: about removed the channel"):n>0&&(h.logDebug(`Received message: id="${n}" channel="${r}"`),this._messageHandler(t.text,n,r))}_onPushStreamClose(e){1005===e.code&&p.telemetry.sendChartReport("websocket_code_1005")}_generateUrl(){const e=this._channels.join("/");return`${this._settings.url}/${this._settings.urlPath}/${e}`}}},20120:(e,t,n)=>{"use strict";n.d(t,{syncUserData:()=>c,syncUserConversionData:()=>u});var r=n(98125),i=n(51768),o=n(85198);const s=(0,r.getLogger)("User.Sync");function a(e){return`${e}_${window.user&&window.user.username||""}`}function l(e,t,n){n!==window.user.pro_plan&&(window.user.pro_plan=n,window.user.is_pro=Boolean(n),(0,i.trackEvent)("Sync User Data","Different Pro Plan",a(e))),t!==window.is_authenticated&&(window.is_authenticated=t,window.loginStateChange.fire(),(0,i.trackEvent)("Sync User Data","Different Auth",a(e)))} +async function c(e){try{const t=await n.e(254).then(n.bind(n,60347));l(e,!0,(await t.getMe()).pro_plan)}catch(t){!function(e,t){"not_authenticated"===t.type?l(e,!1,void 0):s.logError(t.message)}(e,t)}}async function u(e){const t=await(0,o.fetch)("/gopro/"),n=await t.json();return l(e,n.is_authenticated,n.user.pro_plan),n}},52485:(e,t,n)=>{"use strict";n.d(t,{telemetry:()=>d});var r=n(2872),i=n.n(r),o=n(85198),s=n(49483),a=n(84015);n(51872);const l=(0,n(98125).getLogger)("Common.Telemetry"),c={default:15e3,site:3e5},u=["before_websocket_connection_time_frame","websocket_connection_time_frame","first_series_full_time_frame","page_full_load_time_frame","page_load_time_frame"];const d=new class{constructor(){this.reportSent=new(i()),this.timeCounters={series:{marks:[]},study:{},pine:{}},this._timeoutIds={},this._commonAdditionalData={cluster:null,userId:"0"},this._reportStash={}}setSessionInfo(e){const t=this._parseCluster(e);null!==t&&(this._commonAdditionalData.cluster=t)}sendReport(e,t,n){var r;if(!this._isAbleToSendReport(t))return;const i=this._getSubserviceType(e),o=this._getHost(e,i);if(null!==o){if(n=void 0===n?{count:1}:n,this._addReportToStash(n,t,o),!this._timeoutIds[e]){const t=null!==(r=c[e])&&void 0!==r?r:c.default;this._timeoutIds[e]=setTimeout(this._sendTelemetryToService.bind(this,e,o),t)}}else l.logError(`Unable to get host for counter: ${t}, metric type: ${e}, serivce type: ${i}`)}sendChartReport(e,t,n=!0){this._sendServiceSpecifiedReport("charts",e,t,n)}sendLineToolsStorageReport(e,t,n=!0){this._sendServiceSpecifiedReport("line_tools_storage",e,t,n)}_sendServiceSpecifiedReport(e,t,n,r=!0){this._updateUserInfo(),n=void 0===n?{count:1}:n,r&&(n=this._appendCommonAdditionalInfo(n,["cluster","userId"])),this.sendReport(e,t,n)}_updateUserInfo(){const e="user"in window&&"id"in window.user?window.user.id:"0";this._commonAdditionalData.userId=String(e)}_isAbleToSendReport(e){const t=window.TELEMETRY_HOSTS,n=u.includes(e),r=Boolean(window.TradingView.onChartPage||(0,s.onWidget)());return t&&(!n||r)}_sendTelemetryToService(e,t){if(this._reportStash.hasOwnProperty(t)){const e=this._cropParams(this._reportStash[t]),n=this._renameAllParams(e),r={event:"report_stash",params:this._cleanAllParams(n)};l.logDebug(`Report to host: ${t}; stash: ${JSON.stringify(this._reportStash[t])}`),this.reportSent.fire(this._reportStash[t]),delete this._reportStash[t],(0,o.fetch)(t+"/report",{method:"POST",body:JSON.stringify(r)})}this._timeoutIds[e]=null}_getHost(e,t){const n=window.TELEMETRY_HOSTS,r=n[e]&&n[e][t];return Boolean(r)?r:null}_getSubserviceType(e){if(!["charts","site"].includes(e))return"all";let t="free";const n=window.user.is_pro;return"charts"===e&&(0,a.isOnMobileAppPage)("old")?t=n?"ios_pro":"ios_free":"charts"===e&&(0,a.isOnMobileAppPage)("new")?t=n?"android_pro":"android_free":(0,s.onWidget)()?t="widget":n&&(t="pro"),t}_parseCluster(e){let t;try{t=JSON.parse(e).session_id}catch(e){return l.logError("Could not parse cluster id (session id)"),null}const n=/(.*@)(.*)/gi.exec(t);return null!==n&&n.length>=3?n[2]:null} +_appendCommonAdditionalInfo(e,t){return t.forEach(t=>{t in this._commonAdditionalData&&(e.additional=e.additional||{},e.additional[t]=this._commonAdditionalData[t])}),e}_cropParams(e){var t;for(const n in e)e.hasOwnProperty(n)&&e[n].length>1e3&&(e.too_much_metrics_frame=null!==(t=e.too_much_metrics_frame)&&void 0!==t?t:[],e.too_much_metrics_frame.push({value:e[n].length,additional:{event:n}}),delete e[n]);return e}_renameAllParams(e){const t={};for(const n in e)e.hasOwnProperty(n)&&(t[n]=[],e[n].forEach(e=>{t[n].push(this._renameEntryParams(e))}));return t}_renameEntryParams(e){const t={count:"c",value:"v",text:"t",additional:"a"};return Object.keys(e).reduce((n,r)=>(n[t[r]]=e[r],n),{})}_cleanAllParams(e){const t={};for(const n in e)if(e.hasOwnProperty(n)){t[n]=[];const r={c:0};e[n].forEach(e=>{const i=this._cleanEntryParams(e),o=Object.keys(i).length;1===o&&void 0!==i.c?r.c+=i.c:o>0&&t[n].push(i)}),r.c>0&&t[n].push(r),0===t[n].length&&delete t[n]}return t}_cleanEntryParams(e){const t=Object.keys(e).reduce((t,n)=>"c"!==n&&"t"!==n||e[n]?(t[n]=e[n],t):t,{});return"c"in t||"v"in t||"t"in t?t:{}}_addReportToStash(e,t,n){n in this._reportStash||(this._reportStash[n]={}),t in this._reportStash[n]||(this._reportStash[n][t]=[]),Object.keys(e).length>0&&this._reportStash[n][t].push(e)}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/privacy-preference-dialog.0012f6ddb64dd5553a72.js b/charting_library/bundles/privacy-preference-dialog.0012f6ddb64dd5553a72.js new file mode 100644 index 00000000..2e96fbb7 --- /dev/null +++ b/charting_library/bundles/privacy-preference-dialog.0012f6ddb64dd5553a72.js @@ -0,0 +1,3 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8983],{13398:function(t,e){var n,i,r,o;o=function(t){var e=Object.prototype.toString,n=Array.isArray||function(t){return"[object Array]"===e.call(t)};function i(t){return"function"==typeof t}function r(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,e){return null!=t&&"object"==typeof t&&e in t}var s=RegExp.prototype.test,a=/\S/;function l(t){return!function(t,e){return s.call(t,e)}(a,t)}var h={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},c=/\s*/,u=/\s+/,p=/\s*=/,d=/\s*\}/,f=/#|\^|\/|>|\{|&|=|!/;function g(t){this.string=t,this.tail=t,this.pos=0}function v(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function w(){this.cache={}}g.prototype.eos=function(){return""===this.tail},g.prototype.scan=function(t){var e=this.tail.match(t);if(!e||0!==e.index)return"";var n=e[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},g.prototype.scanUntil=function(t){var e,n=this.tail.search(t);switch(n){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=e.length,e},v.prototype.push=function(t){return new v(t,this)},v.prototype.lookup=function(t){var e,n=this.cache;if(n.hasOwnProperty(t))e=n[t];else{for(var r,s,a=this,l=!1;a;){if(t.indexOf(".")>0)for(e=a.view,r=t.split("."),s=0;null!=e&&s0?r[r.length-1][4]:n;break;default:i.push(e)}return n +}(function(t){for(var e,n,i=[],r=0,o=t.length;r"===o?s=this.renderPartial(r,e,n,i):"&"===o?s=this.unescapedValue(r,e):"name"===o?s=this.escapedValue(r,e):"text"===o&&(s=this.rawValue(r)),void 0!==s&&(a+=s);return a},w.prototype.renderSection=function(t,e,r,o){var s=this,a="",l=e.lookup(t[1]);if(l){if(n(l))for(var h=0,c=l.length;h"'`=\/]/g,(function(t){return h[t]}))},t.Scanner=g,t.Context=v,t.Writer=w},e&&"string"!=typeof e.nodeName?o(e):(i=[e],void 0===(r="function"==typeof(n=o)?n.apply(e,i):n)||(t.exports=r))},13958:(t,e,n)=>{"use strict";n.r(e),n.d(e,{PrivacyPreferenceDialog:()=>c});var i=n(59496),r=n(87995),o=n(61074),s=n(56840),a=n(32563),l=n(94673);let h=null;class c extends class{constructor(t,e,n){if(this._isOpened=!1,this.close=()=>{var t;null===(t=this.dialog)||void 0===t||t.close()},this.unmount=()=>{void 0!==this.dialog&&r.unmountComponentAtNode(this.dialog.$content.get(0))},this._handleLoginStateChange=()=>{window.is_authenticated||(this.close(),this.destroy())},this._afterOpenDialog=()=>{this._setInitialDialogWidth(),this._options.afterOpen&&this._options.afterOpen(),void 0!==this.dialog&&this.render()},this._beforeOpenDialog=t=>{this._fetchSavedDialogWidth(), +this._options.beforeOpen?this._options.beforeOpen(t):t()},this._onDialogDestroy=()=>{window.loginStateChange.unsubscribe(this,this._handleLoginStateChange),this.unmount(),delete this.dialog,delete this._options,delete this._savedDialogWidth},this._fetchSavedDialogWidth=()=>{let t;try{t=s.getInt("support.dialog.width")}catch(t){return}this._savedDialogWidth=t},this._setInitialDialogWidth=()=>{const t=this._savedDialogWidth;void 0===this.dialog||a.mobiletouch||this.dialog.el.classList.contains("dialog-media__tablet")||void 0!==t||(this.dialog.el.style.width="50%")},this._options=e||{},this.props=t,n)return;const{closeOnEsc:i=!0}=this._options;this.dialog=(0,l.createFullscreenDialog)({...this._options,titleTemplate:"",closeButton:!1,closeOnEsc:i,destroyOnClose:!1,minimizeButton:!1,horizontalResize:!0,horizontalResizeSettingsKey:"support.dialog.width",beforeOpen:this._beforeOpenDialog,afterOpen:this._afterOpenDialog,onDestroy:this._onDialogDestroy}),window.loginStateChange.subscribe(this,this._handleLoginStateChange)}open(){var t;this._isOpened&&this.unmount(),null===(t=this.dialog)||void 0===t||t.open(),this._isOpened=!0}destroy(){void 0!==this.dialog&&this.dialog.destroy()}}{constructor(t,e){if(super(t,e),this.destroy=()=>{h=null,super.destroy()},this.render=async()=>{if(!this.dialog)return;r.render(i.createElement(o.Spinner,{size:"medium"}),this.dialog.$content.get(0));const{PrivacyPreference:t}=await Promise.resolve().then(n.bind(n,5401));r.render(i.createElement(t,{onClose:this.close}),this.dialog.$content.get(0))},null!==h)return h;h=this}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/profile-api.30da856643b32b7a502f.js b/charting_library/bundles/profile-api.30da856643b32b7a502f.js new file mode 100644 index 00000000..d359ddf4 --- /dev/null +++ b/charting_library/bundles/profile-api.30da856643b32b7a502f.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[254],{10777:(e,r,n)=>{n.r(r),n.d(r,{firstLoginDataUrl:()=>o,accumulateErrors:()=>s,fetchPost:()=>i,firstLoginData:()=>a,resendLink:()=>c,signinUrl:()=>d,signin:()=>h,signupUrl:()=>p,signup:()=>f,ApiError:()=>l,AggregateError:()=>w,recoverPasswordUrl:()=>m,recoverPassword:()=>j,resetPassword:()=>g});var t=n(85198);const o="/accounts/first_login_data/";function s(e,r){return Object.entries(e).map(e=>new l(e[1].join("\n"),r,e[0]))}function i(e,r){return(0,t.fetch)(e,{method:"POST",credentials:"include",mode:"same-origin",body:r})}function a(e){return i(o,e).then(e=>e.ok?e.json():e.json().then(r=>{throw new w(s(r.errors,e.status))}))}function c(){return i("/api/v1/users/anon/change-email/resend/").then(e=>e.ok?e.json():e.json().then(e=>{throw Error(e.error)}))}const d="/accounts/signin/";function u(e){return e.json().then(r=>{if("error"in r&&""!==r.error||"code"in r||!e.ok)throw new l(r.error||r.detail,e.status,r.code,r.two_factor_types);return r})}function h(e){return i(d,e).then(u)}const p="/accounts/signup/";function f(e){return i(p,e).then(e=>e.json().then(r=>{if("errors"in r&&""!==r.errors)throw new w(s(r.errors,e.status))}))}class l extends Error{constructor(e,r,n,t){super(e),this.type=n,this.status=r}}class w extends Error{constructor(e){super(e.map(e=>e.message).join("\n")),this.errors=[],this.errors=e}}const m="/api/v1/recover_password/search/";function j(e){return i(m,e).then(u)}function g(e){return i("/accounts/reset_password/",e).then(e=>400===e.status?e.json().then(r=>{if("errors"in r)throw new w(s(r.errors,e.status));throw new l(r.detail,e.status,r.code)}):u(e))}},60347:(e,r,n)=>{n.r(r),n.d(r,{Code:()=>t,checkUserAnonymizationAbility:()=>d,anonimyzeAccount:()=>u,cancelAccountDeletion:()=>h,contacts:()=>p,SendCodeStatus:()=>f,isCodeSendedResponse:()=>l,contactsSendCode:()=>w,contactsConfirmAccess:()=>m,changeEmail:()=>j,togglePrivacyChattingMode:()=>g,getProfile:()=>v,getMe:()=>E});var t,o=n(28353),s=n(85198),i=n(10777),a=n(88537);!function(e){e.PaidServicesExist="paid_services_exist",e.UnusablePassword="unusable_password",e.InvalidPassword="invalid_password",e.TooManyAttempts="too_many_attempts"}(t||(t={}));const c=o.t("Unknown error happened");function d(){return(0,s.fetch)("/api/v1/users/anonymize/",{credentials:"include",method:"GET",headers:{accept:"application/json"}}).then(e=>{if(!e.ok)throw new Error(c);return e.json()})}function u(e){return(0,s.fetch)("/api/v1/users/anonymize/",{credentials:"include",method:"POST",headers:{accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({current_password:e})}).then(e=>{if(!e.ok)throw new Error(c);return e.json()})}function h(){return(0,s.fetch)("/api/v1/users/anonymize/",{credentials:"include",method:"DELETE",headers:{accept:"application/json"}}).then(e=>{if(!e.ok)throw new Error(c);return e.json()})}function p(){return(0,s.fetch)("/api/v1/user/profile/contacts/",{credentials:"include",method:"GET"}).then(e=>e.json())}var f;function l(e){ +return e.status===f.Sended}!function(e){e[e.AlreadyConfirmed=0]="AlreadyConfirmed",e[e.Sended=1]="Sended"}(f||(f={}));function w(e){const r=new FormData;return r.append("option",e.option),(0,s.fetch)("/api/v1/user/profile/contacts/send_code/",{credentials:"include",method:"POST",body:r}).then(e=>e.ok?e.json().then(e=>({status:f.Sended,response:{sid:e.sid,exp:Date.now()+1e3*e.exp}})):e.json().then(e=>{if("confirmed"===e.code)return{status:f.AlreadyConfirmed};if(e.errors)throw Error(Object.values(e.errors).join());throw Error(e.error)}))}function m(e){const r=new FormData;return r.append("option",e.option),r.append("code",e.code),r.append("sid",e.sid),(0,s.fetch)("/api/v1/user/profile/contacts/confirm_access/",{credentials:"include",method:"POST",body:r}).then(e=>e.ok?e.json().then(e=>({exp:Date.now()+1e3*e.exp})):e.json().then(e=>{if(e.errors)throw Error(Object.values(e.errors).join());throw Error(e.error)}))}function j(e){return(0,s.fetch)("/api/v1/users/change-email/",{method:"POST",credentials:"include",headers:{accept:"application/json"},body:e}).then(e=>e.ok?e.json():e.json().then(r=>{if(400===e.status)throw new i.AggregateError((0,i.accumulateErrors)(r.errors,e.status));if(403===e.status)throw new i.ApiError(r.error,e.status,r.code);if(429===e.status)throw new i.ApiError(r.error,e.status,r.code);throw Error("Unhandled exception")}))}function g(e){const r=new FormData;return r.append("disallow_adding_to_private_chats",e.toString()),(0,s.fetch)("/api/v1/user/profile/settings/",{method:"POST",body:r}).then(e=>{if(!e.ok)throw new Error(c);return e.json()}).then(e=>(0,a.ensureDefined)(e.disallow_adding_to_private_chats))}async function v(e){const r=await(0,s.fetch)(`/api/v1/user/profile/${e}/?by=username`);return r.ok?r.json():r.json().then(e=>{throw new Error(e.detail)})}async function E(){const e=await(0,s.fetch)("/api/v1/user/profile/me/");if(!e.ok){const r=await e.json();throw 403===e.status?new i.ApiError(r.detail,e.status,r.code):Error(String(r))}return e.json()}}}]); \ No newline at end of file diff --git a/charting_library/bundles/restricted-toolset.6e034375d57dd0341299.js b/charting_library/bundles/restricted-toolset.6e034375d57dd0341299.js new file mode 100644 index 00000000..b4fbeb4f --- /dev/null +++ b/charting_library/bundles/restricted-toolset.6e034375d57dd0341299.js @@ -0,0 +1,29 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5516,3718],{62092:e=>{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY",black:"black-MuZZSHRY",white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},26390:e=>{e.exports={switcher:"switcher-GT7Z98Io","disable-cursor-pointer":"disable-cursor-pointer-GT7Z98Io",input:"input-GT7Z98Io","thumb-wrapper":"thumb-wrapper-GT7Z98Io","size-small":"size-small-GT7Z98Io","size-large":"size-large-GT7Z98Io","intent-default":"intent-default-GT7Z98Io","disable-active-state-styles":"disable-active-state-styles-GT7Z98Io","intent-select":"intent-select-GT7Z98Io",track:"track-GT7Z98Io",thumb:"thumb-GT7Z98Io"}},50789:e=>{e.exports={summary:"summary-hk3Mmxts",hovered:"hovered-hk3Mmxts",caret:"caret-hk3Mmxts"}},28857:e=>{e.exports={wrapper:"wrapper-OGmb0GMo",labelRow:"labelRow-OGmb0GMo",label:"label-OGmb0GMo",labelHint:"labelHint-OGmb0GMo",labelOn:"labelOn-OGmb0GMo"}},31405:e=>{e.exports={wrapper:"wrapper-IbP2mmCe",hovered:"hovered-IbP2mmCe",labelRow:"labelRow-IbP2mmCe",label:"label-IbP2mmCe",labelHint:"labelHint-IbP2mmCe",labelOn:"labelOn-IbP2mmCe"}},39592:e=>{e.exports={button:"button-Rsu8YfBx",withText:"withText-Rsu8YfBx",withoutText:"withoutText-Rsu8YfBx"}},69698:e=>{e.exports={form:"form-obOlo718",interacting:"interacting-obOlo718",input:"input-obOlo718",menu:"menu-obOlo718",add:"add-obOlo718",hovered:"hovered-obOlo718",hover:"hover-obOlo718",wrap:"wrap-obOlo718"}},59174:e=>{e.exports={spinnerWrap:"spinnerWrap-OjdCXkZp"}},78966:e=>{e.exports={title:"title-mAu74Mtg"}},936:e=>{e.exports={button:"button-2Vex9IkU",first:"first-2Vex9IkU",last:"last-2Vex9IkU"}},82832:e=>{e.exports={wrap:"wrap-H6XRnLaC"}},91887:e=>{e.exports={hidden:"hidden-vHZuIWsw"}},75492:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-AFYo6gMo",withIcon:"withIcon-AFYo6gMo",shortcut:"shortcut-AFYo6gMo",loading:"loading-AFYo6gMo",icon:"icon-AFYo6gMo"}},19450:e=>{e.exports={button:"button-OSzyNVEZ",menu:"menu-OSzyNVEZ"}},33191:e=>{e.exports={customTradingViewStyleButton:"customTradingViewStyleButton-fjLcMxZj",withoutIcon:"withoutIcon-fjLcMxZj"}},64142:e=>{e.exports={dropdown:"dropdown-E3UQYoRD",label:"label-E3UQYoRD",smallWidthTitle:"smallWidthTitle-E3UQYoRD",smallWidthMenuItem:"smallWidthMenuItem-E3UQYoRD",smallWidthWrapper:"smallWidthWrapper-E3UQYoRD"}},87906:e=>{e.exports={value:"value-e0RYyFXU",selected:"selected-e0RYyFXU"}},32062:e=>{e.exports={smallWidthMenuItem:"smallWidthMenuItem-xvK6HzAF"}},6500:e=>{e.exports={button:"button-cXbh8Gcw",first:"first-cXbh8Gcw",last:"last-cXbh8Gcw",newStyles:"newStyles-cXbh8Gcw",menu:"menu-cXbh8Gcw",dropdown:"dropdown-cXbh8Gcw",menuContent:"menuContent-cXbh8Gcw",section:"section-cXbh8Gcw",smallTabletSectionTitle:"smallTabletSectionTitle-cXbh8Gcw",addCustomInterval:"addCustomInterval-cXbh8Gcw", +hovered:"hovered-cXbh8Gcw"}},76521:e=>{e.exports={button:"button-CiwmljCL"}},4050:e=>{e.exports={button:"button-mEQw2hrh",isDisabled:"isDisabled-mEQw2hrh",text:"text-mEQw2hrh"}},96141:e=>{e.exports={opened:"opened-SUlSleuH",hover:"hover-SUlSleuH",autoSaveWrapper:"autoSaveWrapper-SUlSleuH",sharingWrapper:"sharingWrapper-SUlSleuH",button:"button-SUlSleuH",buttonSmallPadding:"buttonSmallPadding-SUlSleuH",hintPlaceHolder:"hintPlaceHolder-SUlSleuH",smallHintPlaceHolder:"smallHintPlaceHolder-SUlSleuH",popupItemRowTabletSmall:"popupItemRowTabletSmall-SUlSleuH",shortcut:"shortcut-SUlSleuH"}},72597:e=>{e.exports={button:"button-TTaQ4aBF",text:"text-TTaQ4aBF",logo:"logo-TTaQ4aBF"}},67397:e=>{e.exports={button:"button-IQnsk0hp",largeLeftPadding:"largeLeftPadding-IQnsk0hp",text:"text-IQnsk0hp",uppercase:"uppercase-IQnsk0hp"}},75668:e=>{e.exports={description:"description-Q7biiIOG"}},52157:e=>{e.exports={item:"item-UfrwNtjY",round:"round-UfrwNtjY"}},41939:e=>{e.exports={wrap:"wrap-hoa11YwL",titleWrap:"titleWrap-hoa11YwL",indicators:"indicators-hoa11YwL",title:"title-hoa11YwL",icon:"icon-hoa11YwL",text:"text-hoa11YwL",titleTabletSmall:"titleTabletSmall-hoa11YwL",labelRow:"labelRow-hoa11YwL",label:"label-hoa11YwL"}},14621:e=>{e.exports={labelRow:"labelRow-qyt9pxdb",toolbox:"toolbox-qyt9pxdb",description:"description-qyt9pxdb",descriptionTabletSmall:"descriptionTabletSmall-qyt9pxdb",item:"item-qyt9pxdb",titleItem:"titleItem-qyt9pxdb",titleItemTabletSmall:"titleItemTabletSmall-qyt9pxdb",itemTabletSmall:"itemTabletSmall-qyt9pxdb",itemLabelTabletSmall:"itemLabelTabletSmall-qyt9pxdb",wrap:"wrap-qyt9pxdb",hovered:"hovered-qyt9pxdb"}},89227:e=>{e.exports={menu:"menu-Pi7orIC5",menuSmallTablet:"menuSmallTablet-Pi7orIC5",menuItemHeaderTabletSmall:"menuItemHeaderTabletSmall-Pi7orIC5",menuItemHeader:"menuItemHeader-Pi7orIC5"}},73887:e=>{e.exports={wrap:"wrap-mbKoosX4",full:"full-mbKoosX4",first:"first-mbKoosX4",last:"last-mbKoosX4",medium:"medium-mbKoosX4",buttonWithFavorites:"buttonWithFavorites-mbKoosX4"}},82559:e=>{e.exports={icon:"icon-0KfEd2LW"}},4039:e=>{e.exports={buttonUndo:"buttonUndo-6VeYguKu",buttonRedo:"buttonRedo-6VeYguKu"}},72142:e=>{e.exports={footer:"footer-C0oTZgbU"}},49473:e=>{e.exports={dottedCloud:"dottedCloud-NezC5dyJ",check:"check-NezC5dyJ",spinningCloud:"spinningCloud-NezC5dyJ",arrow:"arrow-NezC5dyJ",arrowGap:"arrowGap-NezC5dyJ",container:"container-NezC5dyJ",unsaved:"unsaved-NezC5dyJ",hovered:"hovered-NezC5dyJ",saving:"saving-NezC5dyJ",saved:"saved-NezC5dyJ"}},63095:e=>{e.exports={item:"item-UZNJ2Dq5",label:"label-UZNJ2Dq5",labelRow:"labelRow-UZNJ2Dq5",toolbox:"toolbox-UZNJ2Dq5"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},17946:(e,t,a)=>{"use strict";a.d(t,{CustomBehaviourContext:()=>n,presetDefault:()=>i,presetPlatform:()=>s});const n=(0,a(59496).createContext)({enablePointerOnHover:!0,enableActiveStateStyles:!0}),i={enableActiveStateStyles:!0,enablePointerOnHover:!0},s={enableActiveStateStyles:!1,enablePointerOnHover:!1}},76974:(e,t,a)=>{ +"use strict";a.d(t,{useIsMounted:()=>i});var n=a(59496);const i=()=>{const e=(0,n.useRef)(!1);return(0,n.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},26996:(e,t,a)=>{"use strict";a.d(t,{Loader:()=>h});var n,i=a(59496),s=a(97754),o=a(74991),l=a(62092),r=a.n(l);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(n||(n={}));class h extends i.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:n.Initial}}render(){const{className:e,color:t="black",size:a="medium",staticPosition:n}=this.props,o=s(r().item,r()[t],r()[a]);return i.createElement("span",{className:s(r().loader,n&&r().static,this._getStateClass(),e)},i.createElement("span",{className:o}),i.createElement("span",{className:o}),i.createElement("span",{className:o}))}componentDidMount(){this.setState({state:n.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:n.Active})},2*o.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case n.Initial:return r()["loader-initial"];case n.Appear:return r()["loader-appear"];default:return""}}}},17290:(e,t,a)=>{"use strict";a.d(t,{Switch:()=>h});var n=a(59496),i=a(97754),s=a(17946),o=a(26390),l=a.n(o);function r(e){const t=(0,n.useContext)(s.CustomBehaviourContext),{className:a,intent:o="default",size:r="small",enablePointerOnHover:h=t.enablePointerOnHover,enableActiveStateStyles:c=t.enableActiveStateStyles}=e;return i(a,l().switcher,l()["size-"+r],l()["intent-"+o],!h&&l()["disable-cursor-pointer"],!c&&l()["disable-active-state-styles"])}function h(e){const{reference:t,size:a,intent:i,...s}=e;return n.createElement("div",{className:r(e)},n.createElement("input",{...s,type:"checkbox",className:l().input,ref:t}),n.createElement("div",{className:l()["thumb-wrapper"]},n.createElement("div",{className:l().track}),n.createElement("div",{className:l().thumb})))}},26005:(e,t,a)=>{"use strict";a.d(t,{CollapsibleSection:()=>r});var n=a(59496),i=a(97754),s=a.n(i),o=a(10381),l=a(50789);function r(e){return n.createElement(n.Fragment,null,n.createElement("div",{className:s()(e.className,l.summary),onClick:function(){e.onStateChange&&e.onStateChange(!e.open)},"data-open":e.open},e.summary,n.createElement(o.ToolWidgetCaret,{className:l.caret,dropped:Boolean(e.open)})),e.open&&e.children)}},59918:(e,t,a)=>{"use strict";a.d(t,{DEFAULT_MENU_ITEM_SWITCHER_THEME:()=>h,MenuItemSwitcher:()=>c});var n=a(59496),i=a(97754),s=a.n(i),o=a(17290),l=a(90186),r=a(31405);const h=r;function c(e){const{className:t,checked:a,id:i,label:h,labelDescription:c,value:d,preventLabelHighlight:u,reference:m,switchReference:v,theme:p=r,disabled:g}=e,b=s()(p.label,a&&!u&&p.labelOn),S=s()(t,p.wrapper,a&&p.wrapperWithOnLabel);return n.createElement("label",{className:S,htmlFor:i,ref:m},n.createElement("div",{className:p.labelRow},n.createElement("div",{className:b},h),c&&n.createElement("div",{className:p.labelHint},c)),n.createElement(o.Switch,{disabled:g, +className:p.switch,reference:v,checked:a,onChange:function(t){const a=t.target.checked;void 0!==e.onChange&&e.onChange(a)},value:d,tabIndex:-1,id:i,...(0,l.filterDataProps)(e)}))}},53374:(e,t,a)=>{"use strict";a.d(t,{INTERVALS:()=>i});var n=a(28353);const i=[{name:"",label:(0,n.t)("minutes",{context:"interval"})},{name:"H",label:(0,n.t)("hours",{context:"interval"})},{name:"D",label:(0,n.t)("days",{context:"interval"})},{name:"W",label:(0,n.t)("weeks",{context:"interval"})},{name:"M",label:(0,n.t)("months",{context:"interval"})}]},49466:(e,t,a)=>{"use strict";a.d(t,{ToolWidgetMenuSummary:()=>o});var n=a(59496),i=a(97754),s=a(78966);function o(e){return n.createElement("div",{className:i(e.className,s.title)},e.children)}},79389:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getRestrictedToolSet:()=>sn});var n=a(67337),i=a(59496),s=a(19036),o=a(28353),l=a(82992),r=a(16654),h=a(37466),c=a(36189),d=a(9745),u=a(16396),m=a(35390),v=a(97754),p=a.n(v),g=a(82832);class b extends i.PureComponent{render(){const{children:e,className:t,...a}=this.props;return i.createElement("div",{className:v(t,g.wrap),...a},e)}}var S=a(4825),C=a(90186),_=a(936);class y extends i.PureComponent{constructor(){super(...arguments),this._handleClick=()=>{const{onClick:e,onClickArg:t}=this.props;e&&e(t)}}render(){const{isFirst:e,isLast:t,hint:a,text:n,icon:s,isActive:o,isDisabled:l,className:r}=this.props,h=(0,C.filterDataProps)(this.props);return i.createElement(S.ToolWidgetButton,{...h,icon:s,text:n,title:a,isDisabled:l,isActive:o,isGrouped:!0,onClick:this._handleClick,className:v(r,_.button,{[_.first]:e,[_.last]:t})})}}var w=a(51613),f=a(90692),k=a(24437),M=a(81332),T=a(55402),E=a(15943),x=a(19450);const I={0:(0,o.t)("Bars"),1:(0,o.t)("Candles"),9:(0,o.t)("Hollow candles"),13:(0,o.t)("Columns"),8:(0,o.t)("Heikin Ashi"),2:(0,o.t)("Line"),3:(0,o.t)("Area"),10:(0,o.t)("Baseline"),12:(0,o.t)("High-low")};const A={barsStyle:(0,o.t)("Bar's style"),labels:I},R=(0,T.registryContextType)();function F(e){var t;return!(null===(t=l.linking.supportedChartStyles.value())||void 0===t?void 0:t.includes(e))}class N extends i.PureComponent{constructor(e,t){super(e,t),this._handleChangeStyle=e=>{const{favorites:t,lastSelectedNotFavorite:a,activeStyle:n}=this.state;this.setState({activeStyle:e,lastSelectedNotFavorite:t.includes(n)?a:n})},this._handleSelectStyle=e=>{const{chartWidgetCollection:t}=this.context;e!==t.activeChartStyle.value()&&t.setChartStyleToWidget(e)},this._handleClickFavorite=e=>{this._isStyleFavorited(e)?this._handleRemoveFavorite(e):this._handleAddFavorite(e)},this._boundForceUpdate=()=>{this.forceUpdate()},this._handleQuickClick=e=>{this._handleSelectStyle(e),this._trackClick()},(0,T.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired,favoriteChartStylesService:s.any.isRequired});const{chartWidgetCollection:a,favoriteChartStylesService:n}=t,i=a.activeChartStyle.value(),o=n.get(),l=(0,E.japaneseChartStyles)();this.state={activeStyle:i,favorites:o,styles:(0,E.commonChartStyles)(),japaneseStyles:l}}componentDidMount(){ +const{chartWidgetCollection:e,favoriteChartStylesService:t}=this.context;e.activeChartStyle.subscribe(this._handleChangeStyle),t.getOnChange().subscribe(this,this._handleChangeSettings),l.linking.supportedChartStyles.subscribe(this._boundForceUpdate)}componentWillUnmount(){const{chartWidgetCollection:e,favoriteChartStylesService:t}=this.context;e.activeChartStyle.unsubscribe(this._handleChangeStyle),t.getOnChange().unsubscribe(this,this._handleChangeSettings),l.linking.supportedChartStyles.unsubscribe(this._boundForceUpdate)}render(){const{isShownQuicks:e,displayMode:t="full",id:a}=this.props,{activeStyle:n,favorites:s,styles:o,japaneseStyles:l,lastSelectedNotFavorite:c}=this.state,u="small"!==t&&e&&0!==s.length,v=[...s];v.includes(n)?void 0!==c&&v.push(c):v.push(n);const p=u&&v.length>1;return i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},e=>{const t=o.map(t=>this._renderPopupMenuItem(t,t===n,e)),s=l.map(t=>this._renderPopupMenuItem(t,t===n,e));return i.createElement(b,{id:a},p&&v.map((e,t)=>i.createElement(y,{className:x.button,icon:h.SERIES_ICONS[e],isActive:u&&n===e,isDisabled:F(e),key:t,hint:A.labels[e],isFirst:0===t,isLast:t===v.length-1,onClick:u?this._handleQuickClick:void 0,onClickArg:e,"data-value":r.STYLE_SHORT_NAMES[e]})),i.createElement(m.ToolWidgetMenu,{arrow:Boolean(p),content:p?void 0:i.createElement(b,null,i.createElement(d.Icon,{icon:h.SERIES_ICONS[n]})),title:p?A.barsStyle:A.labels[n],className:x.menu,isDrawer:e,onClick:this._trackClick},t,!!s.length&&i.createElement(w.PopupMenuSeparator,null),s))})}_renderPopupMenuItem(e,t,a){const{isFavoritingAllowed:n}=this.props,s=this._isStyleFavorited(e);return i.createElement(u.PopupMenuItem,{key:e,theme:a?M.multilineLabelWithIconAndToolboxTheme:void 0,icon:h.SERIES_ICONS[e],isActive:t,isDisabled:F(e),label:A.labels[e]||"",onClick:this._handleSelectStyle,onClickArg:e,showToolboxOnHover:!s,toolbox:n&&i.createElement(c.FavoriteButton,{isActive:t,isFilled:s,onClick:()=>this._handleClickFavorite(e)}),"data-value":r.STYLE_SHORT_NAMES[e]})}_handleChangeSettings(e){this.setState({lastSelectedNotFavorite:void 0,favorites:e})}_isStyleFavorited(e){return-1!==this.state.favorites.indexOf(e)}_handleAddFavorite(e){const{favorites:t}=this.state,{favoriteChartStylesService:a}=this.context;a.set([...t,e])}_handleRemoveFavorite(e){const{favorites:t}=this.state,{favoriteChartStylesService:a}=this.context;a.set(t.filter(t=>t!==e))}_trackClick(){0}}N.contextType=R;var H=a(39592);const z=["medium","small"];function P(e){const{text:t,className:a,displayMode:n,collapseWhen:s=z,...o}=e,l=!s.includes(n);return i.createElement(S.ToolWidgetButton,{...o,text:l?t:void 0,className:v(a,H.button,l?H.withText:H.withoutText)})}var W=a(51768),D=a(37669),L=a(2323);const O={compare:(0,o.t)("Compare"),compareOrAddSymbol:(0,o.t)("Compare or Add Symbol")},U=(0,T.registryContextType)();class B extends i.PureComponent{constructor(e,t){super(e,t),this._updateState=e=>{this.setState({isActive:e})},this._handleClick=()=>{var e;(0, +W.trackEvent)("GUI","Chart Header Toolbar","compare"),null===(e=this._compareDialogRenderer)||void 0===e||e.show()},(0,T.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired}),this.state={isActive:!1},this._compareDialogRenderer=this.context.chartWidgetCollection.getCompareDialogRenderer()}componentDidMount(){var e;null===(e=this._compareDialogRenderer)||void 0===e||e.visible().subscribe(this._updateState)}componentWillUnmount(){var e;null===(e=this._compareDialogRenderer)||void 0===e||e.visible().unsubscribe(this._updateState)}render(){const{isActive:e}=this.state;return i.createElement(P,{...this.props,icon:L,isOpened:e,onClick:this._handleClick,text:D.hasNewHeaderToolbarStyles?void 0:O.compare,title:O.compareOrAddSymbol,collapseWhen:D.hasNewHeaderToolbarStyles?["full","medium","small"]:void 0})}}B.contextType=U;var V=a(14593),G=a(61814),Z=a(68335),Y=a(90711),q=a(15392);const K={hint:(0,o.t)("Fullscreen mode")},Q=(0,G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Shift,!1),"F"],text:"{0} + {1}"}),j=(0,T.registryContextType)();class X extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidgetCollection:e}=this.context;e.startFullscreen()},(0,T.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired})}render(){const{className:e,id:t}=this.props;return i.createElement(V.ToolWidgetIconButton,{id:t,icon:D.hasNewHeaderToolbarStyles?q:Y,onClick:this._handleClick,title:K.hint,className:v(e),"data-tooltip-hotkey":Q})}}X.contextType=j;var J=a(88537);const $=(0,a(98125).getLogger)("FavoritesInfo");function ee(e,t){if(0===e.length)return Promise.resolve([]);$.logNormal("Requesting favorites info");const a=[],n=new Map,i=new Map,s=new Map;return e.forEach(e=>{switch(e.type){case"java":s.set(e.studyId,e);break;case"pine":isPublishedPineId(e.pineId)?n.set(e.pineId,e):i.set(e.pineId,e);break;default:(0,J.assert)(!1,"unknown favorite type "+JSON.stringify(e))}}),0!==s.size&&a.push(t.findAllJavaStudies().then(e=>{const t=new Map;for(const a of e)!a.is_hidden_study&&s.has(a.id)&&t.set(a.id,{name:a.description,localizedName:a.description_localized,studyMarketShittyObject:a});return t}).then(e=>{const t=function(e,t){const a={items:[],notFoundItems:[]};return e.forEach((e,n)=>{const i=t.get(n);void 0!==i?a.items.push({item:e,info:i}):a.notFoundItems.push(e)}),a}(s,e);if(0!==t.notFoundItems.length){const e=t.notFoundItems.map(e=>e.studyId);$.logWarn("Cannot find java scripts: "+JSON.stringify(e))}return t.items})),Promise.all(a).then(e=>($.logNormal("Requesting favorites info finished"),e.reduce((e,t)=>e.concat(t),[])))}var te=a(14291),ae=a(85733),ne=a(26996),ie=a(59174);function se(e){const{className:t}=e;return i.createElement("div",{className:p()(ie.spinnerWrap,t)},i.createElement(ne.Loader,null))}var oe=a(49466),le=a(76422),re=a(60373),he=a(64142);const ce={text:(0,o.t)("Indicators"),hint:(0,o.t)("Indicators & Strategies"),favorites:(0,o.t)("Favorites")},de=(0,G.hotKeySerialize)({keys:["/"],text:"{0}"}),ue=(0,T.registryContextType)();class me extends i.PureComponent{ +constructor(e,t){super(e,t),this._promise=null,this._menu=i.createRef(),this._favoriteFundamentalsModel=null,this._setActiveState=e=>{this.setState({isActive:e})},this._handleClick=()=>{const{studyMarket:e}=this.props;this.setState({isActive:!0},()=>{e.visible().value()?e.hide():e.show()}),this._trackClick()},this._handleSelectIndicator=e=>{e=(0,J.ensureDefined)(e),this._trackFavoriteAction("Favorite indicator from toolbar");const{chartWidgetCollection:t}=this.context;if("java"===e.type){const t=(0,te.tryFindStudyLineToolNameByStudyId)(e.studyId);if(null!==t)return void ae.tool.setValue(t)}t.activeChartWidget.value().insertStudy(e)},this._handleFavoriteIndicatorsChange=()=>{const{favoriteScriptsModel:e}=this.context,t=[...(0,J.ensureDefined)(e).favorites()];this.setState({favorites:t}),this._clearCache()},this._handleFavoriteFundamentalsChange=()=>{var e;const t=new Set((null===(e=this._favoriteFundamentalsModel)||void 0===e?void 0:e.favorites())||[]);this.setState({favoriteFundamentals:t}),this._clearCache()},this._handleMouseEnter=()=>{this._prefetchFavorites()},this._handleWrapClick=()=>{this._prefetchFavorites()},this._handleChangeActiveWidget=()=>{this._clearCache()},this._clearCache=()=>{this._promise=null,this.setState({infos:[]})},this._handleScriptRenamed=e=>{const{favoriteScriptsModel:t}=this.context;void 0!==t&&t.isFav(e.scriptIdPart)&&this._clearCache()},this._handleFavoriteMenuClick=()=>{this._trackClick(),this._trackFavoriteAction("Select favorite indicators dropdown")},(0,T.validateRegistry)(t,{favoriteScriptsModel:s.any,chartWidgetCollection:s.any.isRequired});const{favoriteScriptsModel:a}=t,n=void 0!==a?a.favorites():[];this.state={isActive:!1,isLoading:!1,favorites:n,favoriteFundamentals:void 0,infos:[]}}componentDidMount(){const{studyMarket:e}=this.props,{favoriteScriptsModel:t,chartWidgetCollection:a}=this.context;e.visible().subscribe(this._setActiveState),void 0!==t&&(t.favoritesChanged().subscribe(this,this._handleFavoriteIndicatorsChange),a.activeChartWidget.subscribe(this._handleChangeActiveWidget)),le.on("TVScriptRenamed",this._handleScriptRenamed,null)}componentWillUnmount(){const{studyMarket:e}=this.props,{favoriteScriptsModel:t,chartWidgetCollection:a}=this.context;e.visible().unsubscribe(this._setActiveState),void 0!==t&&(t.favoritesChanged().unsubscribe(this,this._handleFavoriteIndicatorsChange),a.activeChartWidget.unsubscribe(this._handleChangeActiveWidget)),le.unsubscribe("TVScriptRenamed",this._handleScriptRenamed,null),this._promise=null}render(){const{isActive:e,favorites:t,favoriteFundamentals:a,isLoading:n}=this.state,{className:s,displayMode:l,id:r}=this.props,{chartWidgetCollection:h}=this.context;return i.createElement(i.Fragment,null,i.createElement(b,{id:r,onMouseEnter:this._handleMouseEnter,onClick:this._handleWrapClick},i.createElement(P,{displayMode:l,className:s,icon:re,isOpened:e,onClick:this._handleClick,text:ce.text,title:ce.hint,"data-role":"button","data-name":"open-indicators-dialog","data-tooltip-hotkey":de +}),Boolean(t.length>0||(null==a?void 0:a.size))&&i.createElement(f.MatchMedia,{rule:"screen and (max-width: 428px)"},e=>i.createElement(m.ToolWidgetMenu,{key:h.activeChartWidget.value().id(),arrow:!0,closeOnClickOutside:!0,isDrawer:e,drawerPosition:"Bottom",title:ce.favorites,ref:this._menu,onClick:this._handleFavoriteMenuClick,"data-name":"show-favorite-indicators"},i.createElement("div",{className:p()(he.dropdown,e&&he.smallWidthWrapper)},i.createElement(oe.ToolWidgetMenuSummary,{className:e&&he.smallWidthTitle},(0,o.t)("Favorite Indicators")),n&&i.createElement(se,null),!n&&i.createElement(i.Fragment,null,this.state.infos.length>0?this.state.infos.map(t=>i.createElement(u.PopupMenuItem,{className:p()(e&&he.smallWidthMenuItem),theme:e?M.multilineLabelWithIconAndToolboxTheme:void 0,key:"java"===t.item.type?t.item.studyId:t.item.pineId,onClick:this._handleSelectIndicator,onClickArg:t.item,label:i.createElement("span",{className:p()(!e&&he.label,e&&he.smallWidthLabel,"apply-overflow-tooltip")},ve(t))})):null!==this._promise&&i.createElement(u.PopupMenuItem,{isDisabled:!0,label:(0,o.t)("You have no Favorites Indicators yet")})))))))}_prefetchFavorites(){const{chartWidgetCollection:e}=this.context;if(null!==this._promise||!window.is_authenticated)return;const t=e.activeChartWidget.value();if(!t.hasModel())return;const a=t.model().model().studyMetaInfoRepository();this.setState({isLoading:!0});const n=this._promise=Promise.all([ee(this.state.favorites,a),void 0]).then(e=>{if(n!==this._promise)return;const[t,a]=e;let i=[...t];if(a){const e=a.filter(e=>{var t;return null===(t=this.state.favoriteFundamentals)||void 0===t?void 0:t.has(e.scriptIdPart)}).map(this._mapFundamentalToFavoriteItemInfo);i.push(...e)}i=[...i].sort((e,t)=>ve(e).localeCompare(ve(t))),this.setState({infos:i,isLoading:!1},()=>{this._menu.current&&this._menu.current.update()})})}_trackClick(){0}_trackFavoriteAction(e){(0,W.trackEvent)("GUI","Chart Header Toolbar",e)}_mapFundamentalToFavoriteItemInfo(e){return{item:{type:"pine",pineId:e.scriptIdPart},info:{name:e.scriptName,localizedName:getLocalizedFundamentalsName(e),studyMarketShittyObject:void 0}}}}function ve(e){return e.info.localizedName||(0,o.t)(e.info.name,{context:"study"})}me.contextType=ue;var pe=a(9315),ge=a(29823),be=a(87906);function Se(e){return i.createElement("div",{className:v(be.value,{[be.selected]:e.isSelected})},e.value,e.metric)}var Ce=a(50628),_e=a(10381),ye=a(53374),we=a(69698);class fe extends i.PureComponent{constructor(e){super(e),this._timeMenu=null,this._setMenuRef=e=>{this._timeMenu=e},this._handleChangeInput=e=>{const{value:t}=e.currentTarget;/^[0-9]*$/.test(t)&&this.setState({inputValue:t})},this._handleSelectTime=e=>{this.setState({selectedIntervalSuffix:e}),this._closeMenu()},this._handleClickAdd=()=>{const{inputValue:e,selectedIntervalSuffix:t}=this.state;this.props.onAdd(e,t)},this._toggleMenu=()=>{this.state.isOpenedMenu?this._closeMenu():this._openMenu()},this._closeMenu=()=>{this.props.onCloseMenu(),this.setState({isOpenedMenu:!1})},this._openMenu=()=>{ +this.props.onOpenMenu(),this.setState({isOpenedMenu:!0})},this._getMenuPosition=()=>{const e=(0,J.ensureNotNull)(this._timeMenu).getBoundingClientRect();return{overrideWidth:e.width,x:e.left,y:e.bottom+1}},this.state={inputValue:"1",isOpenedMenu:!1,selectedIntervalSuffix:ye.INTERVALS[0].name}}render(){const{inputValue:e,isOpenedMenu:t,menuWidth:a,selectedIntervalSuffix:n}=this.state;return i.createElement("div",{className:v(we.form,{[we.interacting]:t})},i.createElement("input",{className:we.input,maxLength:7,onChange:this._handleChangeInput,value:e}),i.createElement("div",{className:we.menu,onClick:this._toggleMenu,ref:this._setMenuRef},ye.INTERVALS.find(e=>e.name===n).label,i.createElement(_e.ToolWidgetCaret,{dropped:t})),i.createElement("div",{className:we.add,onClick:this._handleClickAdd},(0,o.t)("Add")),i.createElement(Ce.PopupMenu,{doNotCloseOn:this,isOpened:t,minWidth:a,onClose:this._closeMenu,position:this._getMenuPosition},ye.INTERVALS.map(e=>i.createElement(u.PopupMenuItem,{dontClosePopup:!0,key:e.name,label:e.label,onClick:this._handleSelectTime,onClickArg:e.name}))))}}var ke=a(96040),Me=a(70412),Te=a(32563),Ee=a(32062);function xe(e){const{interval:t,hint:a,isActive:n,isDisabled:s,isFavorite:o,isSignaling:l,onClick:r,onClickRemove:h,onClickFavorite:d,isSmallTablet:m}=e,v=(0,C.filterDataProps)(e),[g,b]=(0,Me.useHover)(),S=i.useCallback(()=>h(t),[h,t]),_=i.useCallback(()=>d(t),[d,t]),y=(0,i.useRef)(null);return(0,i.useEffect)(()=>{var e;l&&m&&(null===(e=y.current)||void 0===e||e.scrollIntoView())},[l,m]),i.createElement("div",{...b,ref:y},i.createElement(u.PopupMenuItem,{...v,className:p()(m&&Ee.smallWidthMenuItem),theme:m?M.multilineLabelWithIconAndToolboxTheme:void 0,isActive:n,isDisabled:s,isHovered:l,onClick:r,onClickArg:t,toolbox:function(){const{isRemovable:t,isFavoritingAllowed:a}=e,l=i.createElement(ke.RemoveButton,{key:"remove",isActive:n,hidden:!Te.touch&&!g,onClick:S}),r=i.createElement(c.FavoriteButton,{key:"favorite",isActive:n,isFilled:o,onClick:_});return[t&&l,!s&&a&&r]}(),showToolboxOnHover:!o,label:a}))}const Ie={[ge.ResolutionKind.Ticks]:(0,o.t)("Ticks",{context:"interval_group_name"}),[ge.ResolutionKind.Seconds]:(0,o.t)("Seconds",{context:"interval_group_name"}),[ge.ResolutionKind.Minutes]:(0,o.t)("Minutes",{context:"interval_group_name"}),[ge.SpecialResolutionKind.Hours]:(0,o.t)("Hours",{context:"interval_group_name"}),[ge.ResolutionKind.Days]:(0,o.t)("Days",{context:"interval_group_name"}),[ge.ResolutionKind.Weeks]:(0,o.t)("Weeks",{context:"interval_group_name"}),[ge.ResolutionKind.Months]:(0,o.t)("Months",{context:"interval_group_name"}),[ge.ResolutionKind.Range]:(0,o.t)("Ranges",{context:"interval_group_name"}),[ge.ResolutionKind.Invalid]:""};function Ae(e,t=!1){return{id:e,name:Ie[e],items:[],mayOmitSeparator:t}}var Re=a(26005),Fe=a(2872),Ne=a.n(Fe),He=a(29197),ze=a(59064),Pe=a(6500);const We={openDialog:(0,o.t)("Open Interval Dialog"),timeInterval:(0,o.t)("Time Interval")},De=(0,G.hotKeySerialize)({keys:[","],text:(0,o.t)("Number or {hotKey_0}")}),Le=(0, +T.registryContextType)(),Oe=new(Ne()),Ue=i.lazy(async()=>({default:(await Promise.all([a.e(2888),a.e(4956),a.e(8463),a.e(9289),a.e(7962),a.e(8986),a.e(3848),a.e(1692),a.e(7345),a.e(5643),a.e(1e3),a.e(2947),a.e(2502),a.e(4013)]).then(a.bind(a,21317))).ToolWidgetIntervalsAddDialog}));function Be(e){{const t=ge.Interval.parse(e);if(!(0,pe.isSecondsEnabled)()&&t.isSeconds())return!1;if(!(0,pe.isTicksEnabled)()&&t.isTicks())return!1}return!0}class Ve extends i.PureComponent{constructor(e,t){super(e,t),this._menu=i.createRef(),this._renderChildren=(e,t)=>[...this._createMenuItems(e,t),...this._createIntervalForm(t)],this._handleChangeInterval=e=>{const{activeInterval:t,lastNotQuicked:a}=this.state,n=this._getQuicks();this.setState({activeInterval:(0,pe.normalizeIntervalString)(e),lastNotQuicked:void 0===t||n.includes(t)?a:t})},this._bindedForceUpdate=()=>{this.forceUpdate()},this._handleCloseMenu=()=>{this.setState({isOpenedFormMenu:!1})},this._handleOpenMenu=()=>{this.setState({isOpenedFormMenu:!0})},this._handleSelectInterval=e=>{void 0!==e&&e!==l.linking.interval.value()&&this.context.chartWidgetCollection.setResolution(e),e&&(0,W.trackEvent)("GUI","Time Interval",e)},this._handleClickFavorite=e=>{e=(0,J.ensureDefined)(e),this._isIntervalFavorite(e)?this._handleRemoveFavorite(e):this._handleAddFavorite(e)},this._handleAddFavorite=e=>{const{favorites:t}=this.state;this.context.favoriteIntervalsService.set([...t,e])},this._handleRemoveFavorite=e=>{const{favorites:t}=this.state;this.context.favoriteIntervalsService.set(t.filter(t=>t!==e))},this._handleAddInterval=(e,t)=>{const{intervalService:a}=this.context,n=a.add(e,t);n&&this.setState({lastAddedInterval:n})},this._handleRemoveInterval=e=>{const{intervalService:t}=this.context;e&&(t.remove(e),this._handleRemoveFavorite(e))},this._getHandleSectionStateChange=e=>t=>{const{menuViewState:a}=this.state,{intervalsMenuViewStateService:n}=this.context;n.set({...a,[e]:!t})},this._handleOpenAddIntervalDialog=()=>{this.setState({isAddIntervalDialogOpened:!0})},this._handleCloseAddIntervalDialog=()=>{this.setState({isAddIntervalDialogOpened:!1})},this._handleGlobalClose=()=>{const{isFake:e}=this.props,{isAddIntervalDialogOpened:t}=this.state;e||t||Oe.fire()},this._handeQuickClick=e=>{this._handleSelectInterval(e),this._trackClick()},(0,T.validateRegistry)(t,{chartApiInstance:s.any.isRequired,favoriteIntervalsService:s.any.isRequired,intervalService:s.any.isRequired,intervalsMenuViewStateService:s.any.isRequired});const{chartApiInstance:a,favoriteIntervalsService:o,intervalService:r,intervalsMenuViewStateService:h}=t;this._customIntervals=n.enabled("custom_resolutions");const c=l.linking.interval.value(),d=c&&(0,pe.normalizeIntervalString)(c),u=o.get(),m=r.getCustomIntervals(),v=h.get();this._defaultIntervals=a.defaultResolutions().filter(Be).map(pe.normalizeIntervalString),this.state={isOpenedFormMenu:!1,activeInterval:d,favorites:u,customs:m,menuViewState:v,isAddIntervalDialogOpened:!1}}componentDidMount(){ +const{favoriteIntervalsService:e,intervalService:t,intervalsMenuViewStateService:a}=this.context;e.getOnChange().subscribe(this,this._handleChangeFavorites),a.getOnChange().subscribe(this,this._handleChangeMenuViewState),t.getOnChange().subscribe(this,this._handleChangeCustoms),l.linking.interval.subscribe(this._handleChangeInterval),l.linking.intraday.subscribe(this._bindedForceUpdate),l.linking.seconds.subscribe(this._bindedForceUpdate),l.linking.ticks.subscribe(this._bindedForceUpdate),l.linking.range.subscribe(this._bindedForceUpdate),l.linking.supportedResolutions.subscribe(this._bindedForceUpdate),ze.globalCloseDelegate.subscribe(this,this._handleGlobalClose)}componentWillUnmount(){const{favoriteIntervalsService:e,intervalService:t,intervalsMenuViewStateService:a}=this.context;e.getOnChange().unsubscribe(this,this._handleChangeFavorites),a.getOnChange().unsubscribe(this,this._handleChangeMenuViewState),t.getOnChange().unsubscribe(this,this._handleChangeCustoms),l.linking.interval.unsubscribe(this._handleChangeInterval),l.linking.intraday.unsubscribe(this._bindedForceUpdate),l.linking.seconds.unsubscribe(this._bindedForceUpdate),l.linking.ticks.unsubscribe(this._bindedForceUpdate),l.linking.range.unsubscribe(this._bindedForceUpdate),l.linking.supportedResolutions.unsubscribe(this._bindedForceUpdate),ze.globalCloseDelegate.unsubscribe(this,this._handleGlobalClose)}componentDidUpdate(e,t){this.state.lastAddedInterval&&setTimeout(()=>this.setState({lastAddedInterval:void 0}),400)}render(){const{isShownQuicks:e,id:t}=this.props,{activeInterval:a,customs:n,lastNotQuicked:s,isAddIntervalDialogOpened:o}=this.state,l=this._getQuicks(),r=(0,pe.sortResolutions)([...l]);void 0!==a&&r.includes(a)?void 0!==s&&r.push(s):void 0!==a&&r.push(a);const h=(!(!e||0===l.length)||void 0)&&r.length>1,c={},d=(0,pe.mergeResolutions)(this._defaultIntervals,n);(void 0!==a?d.concat(a):d).filter(pe.isAvailable).forEach(e=>c[e]=!0);const u=void 0!==a?(0,pe.getTranslatedResolutionModel)(a):null;return i.createElement(b,{id:t},h&&r.map((e,t)=>{const n=(0,pe.getTranslatedResolutionModel)(e);return i.createElement(y,{key:t,className:v(Pe.button,{[Pe.first]:0===t,[Pe.last]:t===r.length-1,[Pe.newStyles]:D.hasNewHeaderToolbarStyles}),text:i.createElement(Se,{value:n.mayOmitMultiplier?void 0:n.multiplier,metric:n.shortKind}),hint:n.hint,isActive:a===e,isDisabled:!c[e]&&e!==s,onClick:this._handeQuickClick,onClickArg:e,"data-value":e})}),i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},e=>i.createElement(i.Fragment,null,i.createElement(He.CloseDelegateContext.Provider,{value:Oe},i.createElement(m.ToolWidgetMenu,{arrow:Boolean(h),closeOnClickOutside:!0,content:h||null===u?void 0:i.createElement(b,{className:Pe.menuContent},i.createElement(Se,{value:u.mayOmitMultiplier?void 0:u.multiplier,metric:u.shortKind})),title:h||null===u?We.timeInterval:u.hint,hotKey:h?De:void 0,className:Pe.menu,ref:this._menu,isDrawer:e,onClick:this._trackClick},i.createElement("div",{className:Pe.dropdown +},this._renderChildren(d,e)))),e&&o&&i.createElement(i.Suspense,{fallback:null},i.createElement(Ue,{onAdd:this._handleAddInterval,onClose:this._handleCloseAddIntervalDialog,onUnmount:this._handleCloseAddIntervalDialog})))))}_createMenuItems(e,t){const a=function(e){const t=Ae(ge.ResolutionKind.Ticks),a=Ae(ge.ResolutionKind.Seconds),n=Ae(ge.ResolutionKind.Minutes),i=Ae(ge.SpecialResolutionKind.Hours),s=Ae(ge.ResolutionKind.Days),o=Ae(ge.ResolutionKind.Range);return e.forEach(e=>{const l=ge.Interval.parse(e);l.isMinuteHours()?i.items.push(e):l.isMinutes()?(0,ge.isHour)(Number(l.multiplier()))?i.items.push(e):n.items.push(e):l.isSeconds()?a.items.push(e):l.isDWM()?s.items.push(e):l.isRange()?o.items.push(e):l.isTicks()&&t.items.push(e)}),[t,a,n,i,s,o].filter(e=>0!==e.items.length)}(e).map((e,a,n)=>this._renderResolutionsGroup(e,1===n.length,t));return function(e){let t=!1;return e.filter((e,a,n)=>{let i=!0;return e.type===w.PopupMenuSeparator&&(0!==a&&a!==n.length-1||(i=!1),t&&(i=!1)),t=e.type===w.PopupMenuSeparator,i})}([].concat(...a))}_createIntervalForm(e){if(this._customIntervals){const t=e?i.createElement("div",{key:"add-dialog",className:Pe.addCustomInterval,onClick:this._handleOpenAddIntervalDialog},(0,o.t)("Add custom interval")+"…"):i.createElement(fe,{key:"add-form",onAdd:this._handleAddInterval,onCloseMenu:this._handleCloseMenu,onOpenMenu:this._handleOpenMenu});return[i.createElement(w.PopupMenuSeparator,{key:"custom-interval-separator"}),t]}return[]}_renderResolutionsGroup(e,t=!1,a){const n=[],s=e.items.map(e=>this._renderPopupMenuItem(e,a));if(t)n.push(...s);else if(a){const t=i.createElement("div",{key:e.id},i.createElement("div",{className:Pe.smallTabletSectionTitle},e.name),s);n.push(t)}else{const{intervalsMenuViewStateService:t}=this.context,{menuViewState:a}=this.state;if(!t.isAllowed(e.id))return[];const o=i.createElement(Re.CollapsibleSection,{key:e.id,className:Pe.section,summary:e.name,open:!a[e.id],onStateChange:this._getHandleSectionStateChange(e.id)},s);n.push(o)}return(!e.mayOmitSeparator||e.items.length>1)&&(n.unshift(i.createElement(w.PopupMenuSeparator,{key:"begin-"+e.name})),n.push(i.createElement(w.PopupMenuSeparator,{key:"end-"+e.name}))),n}_handleChangeFavorites(e){this.setState({lastNotQuicked:void 0,favorites:e})}_handleChangeCustoms(e){this.setState({customs:e})}_handleChangeMenuViewState(e){this.setState({menuViewState:e},()=>{this._menu.current&&this._menu.current.update()})}_renderPopupMenuItem(e,t){const{isFavoritingAllowed:a}=this.props,{activeInterval:n,lastAddedInterval:s}=this.state,o=e===n,l=(0,pe.isAvailable)(e),r=this._isIntervalFavorite(e),h=this._isIntervalDefault(e),c=(0,pe.getTranslatedResolutionModel)(e);return i.createElement(xe,{key:e,isSmallTablet:t,interval:e,hint:c.hint,isSignaling:s===e,isFavoritingAllowed:a,isDisabled:!l,isFavorite:r,isRemovable:!h,isActive:o,onClick:this._handleSelectInterval,onClickRemove:this._handleRemoveInterval,onClickFavorite:this._handleClickFavorite,"data-value":e})}_isIntervalDefault(e){return this._defaultIntervals.includes(e)} +_isIntervalFavorite(e){return this.state.favorites.includes(e)}_getQuicks(e){return this.props.isShownQuicks&&"small"!==this.props.displayMode?void 0===e?this.state.favorites:e:[]}_trackClick(){0}}Ve.contextType=Le;var Ge=a(76521),Ze=a(74034);const Ye={hint:(0,o.t)("Open chart in popup")},qe=(0,T.registryContextType)();class Ke extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidgetCollection:e,windowMessageService:t,isFundamental:a}=this.context,n=e.activeChartWidget.value();n.withModel(null,()=>{t.post(parent,"openChartInPopup",{symbol:n.model().mainSeries().actualSymbol(),interval:n.model().mainSeries().interval(),fundamental:a})})},(0,T.validateRegistry)(t,{isFundamental:s.any,chartWidgetCollection:s.any.isRequired,windowMessageService:s.any.isRequired})}render(){const{className:e}=this.props;return i.createElement(V.ToolWidgetIconButton,{className:v(e,Ge.button),icon:Ze,onClick:this._handleClick,title:Ye.hint})}}Ke.contextType=qe;var Qe=a(28289);const je={hint:(0,o.t)("Chart settings")},Xe=(0,T.registryContextType)();class Je extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidgetCollection:e}=this.context,t=e.activeChartWidget.value();(0,W.trackEvent)("GUI","Chart Header Toolbar","chart properties"),t.showGeneralChartProperties()},(0,T.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired})}render(){return i.createElement(V.ToolWidgetIconButton,{...this.props,icon:Qe,title:je.hint,onClick:this._handleClick})}}Je.contextType=Xe;var $e=a(25760),et=a(59199),tt=a(68587),at=a(49473);const nt="M21.5 21.5h-14a5 5 0 1 1 .42-9.983 7.5 7.5 0 0 1 14.57 2.106 4.002 4.002 0 0 1-.99 7.877z",it=13.08991081237793,st={strokeDashOffset:49.242997817993164,strokeDash:49.866326904296876,strokeGap:it,strokeDashCheck:0},ot={strokeDashOffset:62.956237716674806,strokeGap:0,strokeDash:62.956237716674806,strokeDashCheck:200};class lt extends i.PureComponent{constructor(e){super(e),this.state=st}componentDidMount(){"saved"===this.props.state?this.setState(ot):this._goToNextState(this.props.state)}componentWillUnmount(){this._currentAnimation=void 0}UNSAFE_componentWillReceiveProps(e){this.props.state!==e.state&&this._goToNextState(e.state)}render(){const{strokeDashOffset:e,strokeDash:t,strokeGap:a,strokeDashCheck:n}=this.state,{className:s,size:o,onClick:l,state:r,isHovered:h=!1}=this.props,c=v(at.container,s,h&&at.hovered,{[at.unsaved]:"unsaved"===r,[at.saving]:"saving"===r,[at.saved]:"saved"===r});return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:c,version:"1.1",width:o,height:o,viewBox:"0 0 28 28",onClick:l},i.createElement("g",{fill:"none"},i.createElement("path",{className:at.dottedCloud,stroke:"currentColor",strokeDasharray:"3.5,2.5",d:nt}),i.createElement("path",{className:at.spinningCloud,stroke:"currentColor",strokeDasharray:`${t} ${a}`,strokeDashoffset:e,d:nt}),i.createElement("path",{className:at.arrowGap,d:"M11 20h6v5h-6z"}),i.createElement("g",{className:at.arrow,stroke:"currentColor"},i.createElement("path",{ +strokeLinecap:"square",d:"M14.5 14.5v10"}),i.createElement("path",{d:"M11 17l3.5-3.5L18 17"})),i.createElement("g",{className:at.check,stroke:"currentColor"},i.createElement("path",{strokeDasharray:`${n}% ${200-n}%`,d:"M10 15l2.5 2.5L18 12"}))))}_goToNextState(e){switch(e){case"unsaved":this.setState(st);break;case"saving":"unsaved"!==this.props.state&&this.setState(st),this._currentAnimation=Promise.resolve(this._currentAnimation).then(()=>this._createSpinAnimationWhile(()=>"saving"===this.props.state));break;case"saved":this._currentAnimation=Promise.resolve(this._currentAnimation).then(this._createFillGapAnimation.bind(this)).then(this._createCheckAnimation.bind(this))}}_createSpinAnimationWhile(e){return this._createSpinAnimation().then(()=>e()?this._createSpinAnimationWhile(e):Promise.resolve())}_createSpinAnimation(){return new Promise(e=>{(0,et.doAnimate)({onStep:(e,t)=>{void 0!==this._currentAnimation&&this.setState({strokeDashOffset:t})},onComplete:()=>e(),from:49.242997817993164,to:111.57590644836426,easing:tt.easingFunc.linear,duration:1e3})})}_createCheckAnimation(){return new Promise(e=>{(0,et.doAnimate)({onStep:(e,t)=>{void 0!==this._currentAnimation&&this.setState({strokeDashCheck:Math.round(t)})},onComplete:()=>e(),from:0,to:200,easing:tt.easingFunc.linear,duration:1e3})})}_createFillGapAnimation(){return new Promise(e=>{(0,et.doAnimate)({onStep:(e,t)=>{void 0!==this._currentAnimation&&this.setState({strokeDashOffset:62.956237716674806-t,strokeGap:t,strokeDash:62.956237716674806-t})},onComplete:()=>e(),from:it,to:0,easing:tt.easingFunc.linear,duration:200})})}}var rt=a(40173),ht=a(59918),ct=a(28857);(0,rt.mergeThemes)(ht.DEFAULT_MENU_ITEM_SWITCHER_THEME,ct);var dt=a(82724),ut=a(16788),mt=a(96141),vt=a(4050);a(31405);const pt=n.enabled("widget"),gt=(0,rt.mergeThemes)(S.DEFAULT_TOOL_WIDGET_BUTTON_THEME,vt),bt=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{shortcut:mt.shortcut}),St={copy:(0,o.t)("Copy"),makeCopy:(0,o.t)("Make a Copy"),newChartLayout:(0,o.t)("New Chart Layout"),loadChartLayout:(0,dt.appendEllipsis)((0,o.t)("Load Chart Layout")),rename:(0,dt.appendEllipsis)((0,o.t)("Rename")),renameChartLayout:(0,o.t)("Rename Chart Layout"),saveAs:(0,dt.appendEllipsis)((0,o.t)("Make a Copy")),saveChartLayout:(0,o.t)("Save"),saveChartLayoutLong:(0,o.t)("Save all charts for all symbols and intervals on your layout"),manageChartLayouts:(0,o.t)("Manage Chart Layouts")},Ct=[],_t=(0,G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Mod,!1),"S"],text:"{0} + {1}"});class yt extends i.PureComponent{constructor(e){super(e),this._handleSaveHoverBegin=()=>{this.setState({iconHovered:!0})},this._handleSaveHoverEnd=()=>{this.setState({iconHovered:!1})},this._handleCloneClick=()=>{var e,t;null===(t=(e=this.props).onCloneChart)||void 0===t||t.call(e),this._trackClick()},this._handleSaveClick=()=>{var e,t;null===(t=(e=this.props).onSaveChart)||void 0===t||t.call(e),this._trackClick()},this.state={iconHovered:!1}}render(){ +const{id:e,isReadOnly:t,displayMode:a,isProcessing:n,title:s,chartId:o,wasChanges:l,hideMenu:r,isTabletSmall:h,dataNameSaveMenu:c}=this.props,{iconHovered:u}=this.state,p=!t&&!r;let g="saved";return!l&&s||(g="unsaved"),n&&(g="saving"),i.createElement(b,null,t?i.createElement(b,null,i.createElement(P,{id:e,displayMode:a,icon:i.createElement(d.Icon,{icon:ut}),isDisabled:n,onClick:this._handleCloneClick,text:St.copy,title:St.makeCopy,onMouseEnter:this._handleSaveHoverBegin,onMouseLeave:this._handleSaveHoverEnd,collapseWhen:Ct})):i.createElement(b,null,i.createElement(P,{id:e,className:v(mt.button,p&&mt.buttonSmallPadding),displayMode:a,icon:i.createElement(lt,{size:28,state:g,isHovered:u}),isDisabled:o&&!l||n,onClick:this._handleSaveClick,text:s||St.saveChartLayout,title:St.saveChartLayoutLong,onMouseEnter:this._handleSaveHoverBegin,onMouseLeave:this._handleSaveHoverEnd,theme:gt,collapseWhen:Ct,"data-tooltip-hotkey":pt?"":_t}),p&&i.createElement(m.ToolWidgetMenu,{"data-name":c,className:"js-save-load-menu-open-button",arrow:!0,isDrawer:h,drawerPosition:"Bottom",title:St.manageChartLayouts,onClick:this._trackClick},this._renderMenuItems(Boolean(h)))))}_renderMenuItems(e){const{wasChanges:t,isProcessing:a,chartId:n,onSaveChartFromMenu:s,onRenameChart:l,onSaveAsChart:r,onLoadChart:h,onNewChart:c,isAutoSaveEnabled:d,autoSaveId:m,sharingId:p,onAutoSaveChanged:g,isSharingEnabled:b,onSharingChanged:S}=this.props,C=e?M.multilineLabelWithIconAndToolboxTheme:bt,_=e?void 0:(0,Z.humanReadableHash)(Z.Modifiers.Mod+83),y=e?void 0:(0,o.t)("Dot",{context:"hotkey"}),f=[];return f.push(i.createElement(u.PopupMenuItem,{key:"save",isDisabled:Boolean(a||!t&&n),label:St.saveChartLayout,onClick:s,shortcut:_,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,"data-name":"save-load-menu-item-save"})),void 0!==n&&(e||f.push(i.createElement(w.PopupMenuSeparator,{key:"existing-chart-section-begin"})),f.push(i.createElement(u.PopupMenuItem,{key:"rename",label:St.rename,onClick:l,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,"data-name":"save-load-menu-item-rename"}),i.createElement(u.PopupMenuItem,{key:"save-as",label:St.saveAs,onClick:r,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,"data-name":"save-load-menu-item-clone"}))),f.push(i.createElement(w.PopupMenuSeparator,{key:"platform-section-begin"})),f.push(i.createElement(u.PopupMenuItem,{key:"load-chart",className:"js-save-load-menu-item-load-chart",label:St.loadChartLayout,onClick:h,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,shortcut:y,"data-name":"save-load-menu-item-load"})),f}_trackClick(){0}}const wt=(0,T.registryContextType)();class ft extends i.PureComponent{constructor(e,t){super(e,t),this._syncState=e=>{this.setState(e)},this._onChangeHasChanges=e=>{this.state.wasChanges!==e&&this.setState({wasChanges:e})},this._onChangeAutoSaveEnabled=e=>{0},this._onChangeSharingEnabled=e=>{this.setState({isSharingEnabled:e})},this._onChangeTitle=e=>{this.setState({title:e})},this._onChangeId=e=>{this.setState({id:e})},this._onChartAboutToBeSaved=()=>{ +this.setState({isProcessing:!0})},this._onChartSaved=()=>{this.setState({isProcessing:!1})},this._handleAutoSaveEnabled=e=>{0},this._handleSharingEnabled=e=>{0},this._handleClickSave=()=>{this.context.saveChartService.saveChartOrShowTitleDialog(),this._trackEvent("Save click")},this._handleClickSaveFromMenu=()=>{this.context.saveChartService.saveChartOrShowTitleDialog(),this._trackEvent("Save From Menu")},this._handleClickClone=()=>{this.context.saveChartService.cloneChart()},this._handleClickSaveAs=()=>{this.context.saveChartService.saveChartAs(),this._trackEvent("Make a copy")},this._handleClickNew=()=>{this._trackEvent("New chart layout")},this._handleClickLoad=()=>{this.context.loadChartService.showLoadDialog(),this._trackEvent("Load chart layout")},this._handleHotkey=()=>{this.context.loadChartService.showLoadDialog()},this._handleClickRename=()=>{this.context.saveChartService.renameChart(),this._trackEvent("Rename")},(0,T.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired,chartChangesWatcher:s.any.isRequired,saveChartService:s.any.isRequired,sharingChartService:s.any,loadChartService:s.any.isRequired});const{chartWidgetCollection:a,chartChangesWatcher:n,saveChartService:i,sharingChartService:o}=t;this.state={isAuthenticated:window.is_authenticated,isProcessing:!1,id:a.metaInfo.id.value(),title:a.metaInfo.name.value(),wasChanges:n.hasChanges(),iconHovered:!1}}componentDidMount(){const{chartSaver:e,isFake:t,stateSyncEmitter:a}=this.props,{chartWidgetCollection:n,chartChangesWatcher:i,saveChartService:s,sharingChartService:l}=this.context;t?a.on("change",this._syncState):(i.getOnChange().subscribe(this,this._onChangeHasChanges),n.metaInfo.name.subscribe(this._onChangeTitle),n.metaInfo.id.subscribe(this._onChangeId),this._hotkeys=(0,$e.createGroup)({desc:"Save/Load"}),this._hotkeys.add({desc:(0,o.t)("Load Chart Layout"),handler:this._handleHotkey,hotkey:190}),e.chartSaved().subscribe(this,this._onChartSaved),e.chartAboutToBeSaved().subscribe(this,this._onChartAboutToBeSaved),window.loginStateChange.subscribe(this,this._onLoginStateChange))}componentDidUpdate(e,t){this.props.isFake||t!==this.state&&this.props.stateSyncEmitter.emit("change",this.state)}componentWillUnmount(){const{chartSaver:e,isFake:t,stateSyncEmitter:a}=this.props,{chartWidgetCollection:n,chartChangesWatcher:i,saveChartService:s,sharingChartService:o}=this.context;t?a.off("change",this._syncState):(i.getOnChange().unsubscribe(this,this._onChangeHasChanges),n.metaInfo.name.unsubscribe(this._onChangeTitle),n.metaInfo.id.unsubscribe(this._onChangeId),(0,J.ensureDefined)(this._hotkeys).destroy(),e.chartSaved().unsubscribe(this,this._onChartSaved),e.chartAboutToBeSaved().unsubscribe(this,this._onChartAboutToBeSaved),window.loginStateChange.unsubscribe(this,this._onLoginStateChange))}render(){const{isReadOnly:e,displayMode:t,id:a,isFake:n}=this.props,{isProcessing:s,isAuthenticated:o,title:l,id:r,wasChanges:h,isAutoSaveEnabled:c,isSharingEnabled:d}=this.state,u={displayMode:t,isReadOnly:e,isAuthenticated:o,isProcessing:s,wasChanges:h,title:l, +id:a,chartId:null!==r?r:void 0,dataNameSaveMenu:n?void 0:"save-load-menu",onCloneChart:this._handleClickClone,onSaveChart:this._handleClickSave,onSaveChartFromMenu:this._handleClickSaveFromMenu,onRenameChart:this._handleClickRename,onSaveAsChart:this._handleClickSaveAs,onLoadChart:this._handleClickLoad};return i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},e=>i.createElement(yt,{...u,isTabletSmall:e}))}_onLoginStateChange(){this.setState({isAuthenticated:window.is_authenticated})}_trackEvent(e){0}}ft.contextType=wt;var kt=a(20301),Mt=a(95792),Tt=a(82029);const Et=new Mt.DateTimeFormatter({dateTimeSeparator:"_",timeFormat:"%h-%m-%s"}),xt={takeSnapshot:(0,o.t)("Take a snapshot")},It=(0,T.registryContextType)();const At=o.t("Loading...");function Rt(e,t,a){return async function(e,t,a){const n=URL.createObjectURL(new Blob([`${At}`],{type:"text/html"}));try{const i=open(n,t,a);if(!i)throw new Error("cound not open a new tab");const s=await e.catch(()=>{});void 0!==s?i.location.replace(s):i.close()}finally{URL.revokeObjectURL(n)}}(e,t,a)}var Ft=a(65446),Nt=a(58455),Ht=a(91887);function zt(e){const t=v(e.isLoading&&Ht.hidden),a=v(!e.isLoading&&Ht.hidden);return i.createElement("div",null,i.createElement("span",{className:t},e.children),i.createElement("span",{className:a},i.createElement(ne.Loader,null)))}var Pt=a(76974),Wt=a(60498),Dt=a(17191),Lt=a(37402),Ot=a(50377),Ut=a(86149),Bt=a(75492);const Vt=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,Bt);function Gt(e){const{serverSnapshot:t,clientSnapshot:n}=e,[s,l]=(0,i.useState)(!1),[r,h]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1),m=(0,Pt.useIsMounted)(),p=(0,i.useCallback)(async()=>{var e;const t=n(),a=t.then(e=>new Promise(t=>e.canvas.toBlob(e=>{null!==e&&t(e)})));try{await(0,Ft.writePromiseUsingApi)(a,"image/png"),le.emit("onClientScreenshotCopiedToClipboard")}catch(a){const{canvas:n}=await t;null===(e=window.open())||void 0===e||e.document.write(``)}},[n]),g=(0,i.useCallback)(async()=>{const e=await n(),t=await function(e){return new Promise(t=>{try{e.canvas.toBlob(e=>{if(null===e)throw new Error("Unable to generate blob");t(URL.createObjectURL(e))})}catch(a){t(e.canvas.toDataURL())}})}(e);t&&(0,Nt.downloadFile)(e.name+".png",t)},[n]),b=e=>Rt(e.then(e=>e.imageUrl)),S=(0,i.useCallback)(async(e=!1)=>{const a=t();try{if(e)await b(a);else{const e=a.then(e=>new Blob([e.imageUrl],{type:"text/plain"}));await(0,Ft.writePromiseUsingApi)(e,"text/plain"),le.emit("onServerScreenshotCopiedToClipboard")}return!0}catch(e){return b(a),!0}finally{m.current&&(h(!1),l(!1),(0,ze.globalCloseMenu)())}},[t]),C=(0,i.useCallback)(async()=>{d(!0);const[e,n]=await Promise.all([a.e(4665).then(a.bind(a,2679)),t()]);e.Twitter.shareSnapshotInstantly(n.symbol,n.imageUrl), +m.current&&(d(!1),(0,ze.globalCloseMenu)())},[t]);return i.createElement(i.Fragment,null,i.createElement(u.PopupMenuItem,{"data-name":"save-chart-image",label:(0,o.t)("Save chart image"),icon:Lt,onClick:g,shortcut:(0,Z.humanReadableHash)(Z.Modifiers.Mod+Z.Modifiers.Alt+83),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"copy-chart-image",label:(0,o.t)("Copy chart image"),icon:Dt,onClick:p,shortcut:(0,Z.humanReadableHash)(Z.Modifiers.Mod+Z.Modifiers.Shift+83),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"copy-link-to-the-chart-image",label:i.createElement(zt,{isLoading:s},(0,o.t)("Copy link to the chart image")),icon:Ot,onClick:()=>{l(!0),S(!1)},dontClosePopup:!0,isDisabled:s,shortcut:(0,Z.humanReadableHash)(Z.Modifiers.Alt+83),className:v(s&&Bt.loading),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"open-image-in-new-tab",label:i.createElement(zt,{isLoading:r},(0,o.t)("Open image in new tab")),icon:Ut,onClick:()=>{h(!0),S(!0)},dontClosePopup:!0,isDisabled:r,className:v(r&&Bt.loading),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"tweet-chart-image",label:i.createElement(zt,{isLoading:c},(0,o.t)("Tweet chart image")),icon:Wt,onClick:C,dontClosePopup:!0,isDisabled:c,className:v(c&&Bt.loading),theme:Vt}))}var Zt=a(84015);function Yt(e){const[t,a]=(0,i.useState)(!1),n=(0,Pt.useIsMounted)(),s=(0,i.useCallback)(async()=>{a(!0),await e.serverSnapshot(),n.current&&a(!1)},[e.serverSnapshot]);return i.createElement(S.ToolWidgetButton,{id:e.id,className:e.className,isDisabled:t,onClick:s,title:e.tooltip,icon:e.icon})}var qt=a(62346);const Kt=(Qt=function(e){return(0,Zt.isOnMobileAppPage)("any")?i.createElement(Yt,{...e,icon:qt}):i.createElement(m.ToolWidgetMenu,{content:i.createElement(S.ToolWidgetButton,{id:e.id,className:e.className,title:e.tooltip,icon:qt}),drawerPosition:"Bottom",drawerBreakpoint:k.DialogBreakpoints.TabletSmall,arrow:!1,onClick:function(){}},i.createElement(Gt,{...e}))},(jt=class extends i.PureComponent{constructor(e,t){super(e,t),this._clientSnapshot=async()=>{const e=this.context.chartWidgetCollection.activeChartWidget.value().model().mainSeries().actualSymbol();return{canvas:await this.context.chartWidgetCollection.clientSnapshot(),name:`${(0,Tt.shortName)(e)}_${Et.formatLocal(new Date)}`}},this._serverSnapshot=async()=>{const e=this.context.chartWidgetCollection.activeChartWidget.value().model().mainSeries().actualSymbol(),t=await this.context.chartWidgetCollection.takeScreenshot(),a=n.enabled("charting_library_base")&&void 0!==this.context.snapshotUrl?t:(0,kt.convertImageNameToUrl)(t);return{symbol:(0,Tt.shortName)(e),imageUrl:a}},(0,T.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired})}render(){const{className:e,id:t}=this.props;return i.createElement(Qt,{id:t,className:e,tooltip:xt.takeSnapshot,serverSnapshot:this._serverSnapshot,clientSnapshot:this._clientSnapshot})}}).contextType=It,jt);var Qt,jt,Xt=a(38318),Jt=a(39362),$t=a(11181);class ea{async show(e){if(null!==ea._provider){const e=await ea._provider.getSymbol() +;return l.linking.symbol.setValue(e.symbol),e}if(ea._currentShowingInstance)throw new DOMException("SymbolSearchUI is already shown","InvalidStateError");try{ea._currentShowingInstance=this,ea.preload();const t=await ea._implementation;return(0,J.assert)(null!==t),new Promise(a=>{t.showDefaultSearchDialog({...e,onSearchComplete:e=>{a({symbol:e})}})})}finally{ea._currentShowingInstance=null}}static setProvider(e){this._provider=e}static preload(){null===this._provider&&null===this._implementation&&(this._implementation=(0,$t.loadNewSymbolSearch)())}}ea._currentShowingInstance=null,ea._provider=null,ea._implementation=null;var ta=a(67397),aa=a(72597);const na=(0,rt.mergeThemes)(S.DEFAULT_TOOL_WIDGET_BUTTON_THEME,ta);(0,rt.mergeThemes)(na,aa);class ia extends i.PureComponent{constructor(e){super(e),this._openSymbolSearchDialog=async e=>{if((0,Z.modifiersFromEvent)(e)!==Z.Modifiers.Alt)try{(0,W.trackEvent)("GUI","SS","main search"),await(new ea).show({defaultValue:this._isSpread(this.state.symbol)?this.state.symbol:this.state.shortName,showSpreadActions:(0,Xt.canShowSpreadActions)()&&this.props.isActionsVisible,source:"searchBar",footer:Te.mobiletouch?void 0:i.createElement(Jt.SymbolSearchDialogFooter,null,(0,o.t)("Simply start typing while on the chart to pull up this search box"))})}catch(e){}else navigator.clipboard.writeText(this.state.symbol)},this._isSpread=e=>!1,this._onSymbolChanged=()=>{const e=l.linking.symbol.value();this.setState({symbol:e,shortName:sa()})},this.state={symbol:l.linking.symbol.value(),shortName:sa()}}componentDidMount(){l.linking.symbol.subscribe(this._onSymbolChanged),l.linking.seriesShortSymbol.subscribe(this._onSymbolChanged),ea.preload()}componentWillUnmount(){l.linking.symbol.unsubscribe(this._onSymbolChanged),l.linking.seriesShortSymbol.unsubscribe(this._onSymbolChanged)}render(){const{id:e,className:t}=this.props;return i.createElement(S.ToolWidgetButton,{id:e,className:p()(t,n.enabled("uppercase_instrument_names")&&ta.uppercase,ta.largeLeftPadding),theme:na,icon:void 0,text:this.state.shortName,title:(0,o.t)("Symbol Search"),onClick:this._openSymbolSearchDialog})}async _updateQuotes(e){}}function sa(){return l.linking.seriesShortSymbol.value()||l.linking.symbol.value()||""}var oa=a(52157);class la extends i.PureComponent{constructor(){super(...arguments),this._handleClick=e=>{e.stopPropagation();const{onApply:t,item:a}=this.props;t(a)}}render(){const{className:e,item:t}=this.props;return i.createElement("div",{className:v(e,oa.item,"apply-common-tooltip"),onClick:this._handleClick,title:t.name},i.createElement("div",{className:oa.round},t.name.length>0?t.name[0].toUpperCase():" "))}}var ra=a(23177),ha=a(75668);function ca(e){return i.createElement("div",{className:v(ha.description,e.className)},e.children)}var da=a(14621);const ua=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{labelRow:da.labelRow,toolbox:da.toolbox,item:da.titleItem}),ma=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{labelRow:da.labelRow,toolbox:da.toolbox,item:da.titleItemTabletSmall}),va=(0, +rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{item:da.item}),pa=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{item:da.itemTabletSmall});function ga(e){const{item:t,onApply:a,onRemove:n,onFavor:s,favorite:o,isFavoritingAllowed:l,isTabletSmall:r}=e,[h,d]=(0,Me.useHover)(),m=t.meta_info,v=m?(0,ra.descriptionString)(m.indicators):void 0,g=r?ma:ua,b=r?pa:va,S=(0,i.useCallback)(()=>a(t),[a,t]),C=(0,i.useCallback)(()=>n(t),[n,t]),_=(0,i.useCallback)(()=>{s&&s(t)},[s,t]);return i.createElement("div",{...d,className:da.wrap,"data-name":t.name,"data-id":t.id,"data-is-default":Boolean(t.is_default)},i.createElement(u.PopupMenuItem,{theme:g,label:t.name,labelRowClassName:p()(r&&da.itemLabelTabletSmall),isHovered:h,showToolboxOnHover:!o&&!h,onClick:S,toolbox:i.createElement(i.Fragment,null,!t.is_default&&i.createElement(ke.RemoveButton,{key:"remove",hidden:!Te.touch&&!h,onClick:C}),Boolean(s)&&l&&i.createElement(c.FavoriteButton,{key:"favorite",isFilled:Boolean(o),onClick:_}))}),v&&i.createElement(u.PopupMenuItem,{theme:b,label:i.createElement(ca,{className:p()(da.description,r&&da.descriptionTabletSmall)},v),onClick:S,isHovered:h}))}var ba=a(25382),Sa=a(41939);const Ca=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,Sa),_a={text:(0,dt.appendEllipsis)((0,o.t)("Save Indicator template"))};function ya(e){const{onClick:t,isTabletSmall:a}=e;return i.createElement(u.PopupMenuItem,{theme:Ca,className:Sa.wrap,label:i.createElement("div",{className:Sa.titleWrap},i.createElement("div",{className:p()(Sa.title,a&&Sa.titleTabletSmall)},i.createElement(d.Icon,{className:Sa.icon,icon:ba}),i.createElement("div",{className:Sa.text},_a.text))),onClick:t})}var wa=a(36947),fa=a(64706);const ka=i.createContext(null);var Ma=a(89227);function Ta(e){const{templates:t,favorites:a,onTemplateSave:n,onTemplateRemove:s,onTemplateSelect:o,onTemplateFavorite:l,isTabletSmall:r,isLoading:h}=e,c=(0,i.useMemo)(()=>t.filter(e=>e.is_default),[t]),d=(0,i.useMemo)(()=>t.filter(e=>!e.is_default),[t]),u=(0,i.useMemo)(()=>new Set(a.map(e=>e.name)),[a]),m=(0,i.useContext)(ka),v=(0,i.useContext)(fa.MenuContext),g=(0,wa.useForceUpdate)();(0,i.useEffect)(()=>{if(null!==m){const e={};return m.getOnChange().subscribe(e,()=>{g(),v&&v.update()}),()=>m.getOnChange().unsubscribeAll(e)}return()=>{}},[]);const b=e=>i.createElement(ga,{key:e.name,item:e,isFavoritingAllowed:Boolean(l),favorite:u.has(e.name),onApply:o,onFavor:l,onRemove:s,isTabletSmall:r});return i.createElement("div",{className:p()(Ma.menu,r&&Ma.menuSmallTablet)},i.createElement(ya,{onClick:n,isTabletSmall:r}),h&&i.createElement(i.Fragment,null,i.createElement(w.PopupMenuSeparator,null),i.createElement(se,null)),!h&&(r?i.createElement(Ea,{defaults:c,customs:d,render:b}):i.createElement(xa,{defaults:c,customs:d,render:b,state:m})))}function Ea(e){const{defaults:t,customs:a,render:n}=e;return i.createElement(i.Fragment,null,a.length>0&&i.createElement(i.Fragment,null,i.createElement(w.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeaderTabletSmall},(0, +o.t)("My templates")),a.map(n)),t.length>0&&i.createElement(i.Fragment,null,i.createElement(w.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeaderTabletSmall},(0,o.t)("Default templates")),t.map(n)))}function xa(e){const{defaults:t,customs:a,render:n,state:s}=e;return i.createElement(i.Fragment,null,a.length>0&&i.createElement(i.Fragment,null,i.createElement(w.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeader},(0,o.t)("My templates")),a.map(n)),a.length>0&&t.length>0&&s&&i.createElement(i.Fragment,null,i.createElement(w.PopupMenuSeparator,null),i.createElement(Re.CollapsibleSection,{summary:(0,o.t)("Default templates"),open:!s.get().defaultsCollapsed,onStateChange:e=>s.set({defaultsCollapsed:!e})},t.map(n))),0===a.length&&t.length>0&&i.createElement(i.Fragment,null,i.createElement(w.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeader},(0,o.t)("Default templates")),t.map(n)))}var Ia=a(52714),Aa=a.n(Ia);class Ra{constructor(e,t){var a,i;this._isFavoriteEnabled=n.enabled("items_favoriting"),this.handleFavorTemplate=e=>{if(!this._isFavoriteEnabled)return;const{name:t}=e;this._isTemplateFavorite(t)?this._removeFavoriteTemplate(t):this._addFavoriteTemplate(t)},this.handleDropdownOpen=()=>{this._setState({isLoading:!0}),this._studyTemplates.invalidate(),this._studyTemplates.refreshStudyTemplateList(()=>this._setState({isLoading:!1}))},this.handleApplyTemplate=e=>{this._studyTemplates.applyTemplate(e.name)},this.handleRemoveTemplate=e=>{this._studyTemplates.deleteStudyTemplate(e.name)},this.handleSaveTemplate=()=>{this._studyTemplates.showSaveAsDialog()},this._studyTemplates=e,this._favoriteStudyTemplatesService=t;const s=(null===(a=this._favoriteStudyTemplatesService)||void 0===a?void 0:a.get())||[],o=this._studyTemplates.list();this._state=new(Aa())({isLoading:!1,studyTemplatesList:o,favorites:s}),this._studyTemplates.getOnChange().subscribe(this,this._handleTemplatesChange),this._studyTemplates.refreshStudyTemplateList(),this._isFavoriteEnabled&&(null===(i=this._favoriteStudyTemplatesService)||void 0===i||i.getOnChange().subscribe(this,this._handleFavoritesChange))}destroy(){var e;this._studyTemplates.getOnChange().unsubscribe(this,this._handleTemplatesChange),this._isFavoriteEnabled&&(null===(e=this._favoriteStudyTemplatesService)||void 0===e||e.getOnChange().unsubscribe(this,this._handleFavoritesChange))}state(){return this._state.readonly()}_setState(e){this._state.setValue({...this._state.value(),...e})}_handleTemplatesChange(){this._setState({studyTemplatesList:this._studyTemplates.list()})}_handleFavoritesChange(e){this._isFavoriteEnabled&&this._setState({favorites:e})}_removeFavoriteTemplate(e){var t;const{favorites:a}=this._state.value();null===(t=this._favoriteStudyTemplatesService)||void 0===t||t.set(a.filter(t=>t!==e))}_addFavoriteTemplate(e){var t;const{favorites:a}=this._state.value();null===(t=this._favoriteStudyTemplatesService)||void 0===t||t.set([...a,e])} +_isTemplateFavorite(e){const{favorites:t}=this._state.value();return t.includes(e)}}var Fa=a(36257),Na=a(73887);const Ha={title:(0,o.t)("Templates"),tooltip:(0,o.t)("Indicator Templates")},za=(0,T.registryContextType)();class Pa extends i.PureComponent{constructor(e,t){super(e,t),this._updateState=e=>{this.setState({...e,isActive:this.state.isActive})},this._handleApplyTemplate=e=>{this._handleClose(),this._model.handleApplyTemplate(e)},this._handleRemoveTemplate=e=>{this._handleClose(),this._model.handleRemoveTemplate(e)},this._handleClose=()=>{this._handleToggleDropdown(!1)},this._handleToggleDropdown=e=>{const{isActive:t}=this.state,a="boolean"==typeof e?e:!t;this.setState({isActive:a})},(0,T.validateRegistry)(t,{favoriteStudyTemplatesService:s.any,studyTemplates:s.any.isRequired,templatesMenuViewStateService:s.any});const{favoriteStudyTemplatesService:a,studyTemplates:n}=t;this._model=new Ra(n,a),this.state={...this._model.state().value(),isActive:!1}}componentDidMount(){this._model.state().subscribe(this._updateState)}componentWillUnmount(){this._model.state().unsubscribe(this._updateState),this._model.destroy()}render(){const{studyTemplatesList:e,favorites:t}=this.state,{isShownQuicks:a,className:n,displayMode:s,id:o}=this.props;return i.createElement(ka.Provider,{value:this.context.templatesMenuViewStateService||null},i.createElement(Wa,{id:o,className:n,mode:s,templates:e,favorites:t,onMenuOpen:this._model.handleDropdownOpen,onTemplateFavorite:a?this._model.handleFavorTemplate:void 0,onTemplateSelect:this._handleApplyTemplate,onTemplateRemove:this._handleRemoveTemplate,onTemplateSave:this._model.handleSaveTemplate}))}}function Wa(e){const{id:t,className:a,mode:n,favorites:s,templates:o,isMenuOpen:l,onTemplateSelect:r,onTemplateSave:h,onTemplateFavorite:c,onTemplateRemove:d}=e,u=p()(a,Na.wrap,{[Na.full]:"full"===n,[Na.medium]:"medium"===n}),v=o.filter(e=>s.includes(e.name)),g="small"!==n&&c&&v.length>0;return i.createElement(b,{id:t,className:u},i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},t=>i.createElement(m.ToolWidgetMenu,{onOpen:e.onMenuOpen,isDrawer:t,drawerPosition:"Bottom",arrow:!1,content:i.createElement(P,{className:p()(g&&Na.buttonWithFavorites),displayMode:n,isOpened:l,icon:Fa,text:D.hasNewHeaderToolbarStyles?void 0:Ha.title,title:Ha.tooltip,forceInteractive:!0,collapseWhen:D.hasNewHeaderToolbarStyles?["full","medium","small"]:void 0}),onClick:S},i.createElement(Ta,{onTemplateSave:h,onTemplateSelect:r,onTemplateRemove:d,onTemplateFavorite:c,templates:o,favorites:v,isTabletSmall:t}))),g&&i.createElement(Da,{favorites:v,onTemplateSelect:function(e){r(e),S()}}));function S(){0}}function Da(e){return i.createElement(i.Fragment,null,e.favorites.map((t,a,n)=>i.createElement(la,{key:t.name,item:t,onApply:e.onTemplateSelect,className:p()({[Na.first]:0===a,[Na.last]:a===n.length-1})})))}Pa.contextType=za;a(94419);var La=a(4039),Oa=a(82559),Ua=a(55576),Ba=a(17717),Va=a(76294);const Ga={undoHint:(0,o.t)("Undo {hint}"),redoHint:(0,o.t)("Redo {hint}")},Za={undoHotKey:(0, +G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Mod,!1),"Z"],text:"{0} + {1}"}),redoHotKey:(0,G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Mod,!1),"Y"],text:"{0} + {1}"})},Ya=(0,rt.weakComposeClasses)(Ua,La,{buttonUndo:"button",buttonRedo:"button"}),qa=(0,rt.mergeThemes)(Ua,Oa),Ka={...Ua,button:Ya.buttonUndo},Qa={...Ua,button:Ya.buttonRedo},ja=(0,T.registryContextType)();class Xa extends i.PureComponent{constructor(e,t){super(e,t),this._batched=null,this._handleClickUndo=()=>{(0,W.trackEvent)("GUI","Undo");const{chartWidgetCollection:e}=this.context;e.undoHistory.undo()},this._handleClickRedo=()=>{(0,W.trackEvent)("GUI","Redo");const{chartWidgetCollection:e}=this.context;e.undoHistory.redo()},(0,T.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired}),this.state=this._getStateFromUndoHistory()}componentDidMount(){const{chartWidgetCollection:e}=this.context;e.undoHistory.redoStack().onChange().subscribe(this,this._onChangeStack),e.undoHistory.undoStack().onChange().subscribe(this,this._onChangeStack)}componentWillUnmount(){const{chartWidgetCollection:e}=this.context;e.undoHistory.redoStack().onChange().unsubscribe(this,this._onChangeStack),e.undoHistory.undoStack().onChange().unsubscribe(this,this._onChangeStack),this._batched=null}render(){const{id:e}=this.props,{isEnabledRedo:t,isEnabledUndo:a,redoStack:n,undoStack:s}=this.state;return i.createElement(b,{id:e},i.createElement(S.ToolWidgetButton,{icon:Ba,isDisabled:!a,onClick:this._handleClickUndo,title:a?Ga.undoHint.format({hint:s}):void 0,"data-tooltip-hotkey":a?Za.undoHotKey:void 0,theme:D.hasNewHeaderToolbarStyles?qa:Ka}),i.createElement(S.ToolWidgetButton,{icon:Va,isDisabled:!t,onClick:this._handleClickRedo,title:t?Ga.redoHint.format({hint:n}):void 0,"data-tooltip-hotkey":t?Za.redoHotKey:void 0,theme:D.hasNewHeaderToolbarStyles?qa:Qa}))}_onChangeStack(){null===this._batched&&(this._batched=Promise.resolve().then(()=>{if(null===this._batched)return;this._batched=null;const e=this._getStateFromUndoHistory();this.setState(e)}))}_getStateFromUndoHistory(){const{chartWidgetCollection:e}=this.context,t=e.undoHistory.undoStack(),a=e.undoHistory.redoStack(),n=a.head(),i=t.head();return{isEnabledRedo:!a.isEmpty(),isEnabledUndo:!t.isEmpty(),redoStack:n?n.text().translatedText():"",undoStack:i?i.text().translatedText():""}}}Xa.contextType=ja;var Ja=a(87995),$a=a(9837);class en extends i.PureComponent{constructor(){super(...arguments),this._ref=null,this._update=()=>{this.forceUpdate()},this._setRef=e=>{this._ref=e},this._handleMeasure=({width:e})=>{this.props.width.setValue(e)}}componentDidMount(){const{element:e,isFake:t,width:a}=this.props;if(t)a.subscribe(this._update);else{const t=(0,J.ensureNotNull)(this._ref);Ja.findDOMNode(t).appendChild(e)}}componentWillUnmount(){const{width:e,isFake:t}=this.props;t&&e.unsubscribe(this._update)}render(){const{isFake:e=!1,width:t}=this.props;return i.createElement($a,{shouldMeasure:!e,whitelist:["width"],onMeasure:this._handleMeasure},i.createElement(b,{ref:this._setRef,style:e?{ +width:t.value()}:void 0,"data-is-custom-header-element":!0}))}}function tn(e){const{displayMode:t,params:a}=e;return i.createElement(m.ToolWidgetMenu,{content:i.createElement(P,{collapseWhen:void 0!==a.icon?void 0:[],displayMode:t,icon:a.icon,text:a.title,title:a.tooltip,"data-name":"dropdown","data-is-custom-header-element":!0}),drawerPosition:"Bottom",drawerBreakpoint:k.DialogBreakpoints.TabletSmall,arrow:!1},a.items.map((e,t)=>i.createElement(u.PopupMenuItem,{key:t,label:e.title,onClick:()=>e.onSelect(),"data-name":"dropdown-item"})))}var an=a(33191);function nn(e){const{className:t,...a}=e;return i.createElement(P,{...a,className:v(t,an.customTradingViewStyleButton,an.withoutIcon),collapseWhen:[],"data-name":"custom-tradingview-styled-button"})}function sn(){return{Bars:n.enabled("header_chart_type")?N:void 0,Compare:n.enabled("header_compare")?B:void 0,Custom:en,CustomTradingViewStyledButton:nn,Fullscreen:n.enabled("header_fullscreen_button")?X:void 0,Indicators:n.enabled("header_indicators")?me:void 0,Intervals:n.enabled("header_resolutions")?Ve:void 0,OpenPopup:Ke,Properties:n.enabled("header_settings")&&n.enabled("show_chart_property_page")?Je:void 0,SaveLoad:n.enabled("header_saveload")?ft:void 0,Screenshot:n.enabled("header_screenshot")?Kt:void 0,SymbolSearch:n.enabled("header_symbol_search")?ia:void 0,Templates:n.enabled("study_templates")?Pa:void 0,Dropdown:tn,UndoRedo:n.enabled("header_undo_redo")?Xa:void 0,Layout:void 0}}},23177:(e,t,a)=>{"use strict";a.d(t,{createStudyTemplateMetaInfo:()=>i,descriptionString:()=>s});var n=a(81851);function i(e,t){return{indicators:e.orderedDataSources(!0).filter(e=>(0,n.isStudy)(e)&&!0).map(e=>({id:e.metaInfo().id,description:e.title(!0,void 0,!0)})),interval:t}}function s(e){const t=new Map;return e.forEach(e=>{const[a,n]=t.get(e.id)||[e.description,0];t.set(e.id,[a,n+1])}),Array.from(t.values()).map(([e,t])=>`${e}${t>1?" x "+t:""}`).join(", ")}},55402:(e,t,a)=>{"use strict";a.d(t,{validateRegistry:()=>l,RegistryProvider:()=>r,registryContextType:()=>h});var n=a(59496),i=a(19036),s=a.n(i);const o=n.createContext({});function l(e,t){s().checkPropTypes(t,e,"context","RegistryContext")}function r(e){const{validation:t,value:a}=e;return l(a,t),n.createElement(o.Provider,{value:a},e.children)}function h(){return o}},37466:(e,t,a)=>{"use strict";a.r(t),a.d(t,{SERIES_ICONS:()=>u});var n=a(8774),i=a(9322),s=a(14409),o=a(97567),l=a(84051),r=a(21610),h=a(65316),c=a(35361),d=a(92628);const u={3:n,0:i,1:s,8:o,9:l,2:r,10:h,12:c,13:d}},20301:(e,t,a)=>{"use strict";a.d(t,{convertImageNameToUrl:()=>s});var n=a(67337),i=a(76861);function s(e){return n.enabled("charting_library_base")||(0,i.isProd)()?"https://www.tradingview.com/x/"+e+"/":window.location.protocol+"//"+window.location.host+"/x/"+e+"/"}},58455:(e,t,a)=>{"use strict";function n(e,t){const a=document.createElement("a");a.style.display="none",a.href=t,a.download=e,a.click()}a.d(t,{downloadFile:()=>n})},39362:(e,t,a)=>{"use strict";a.d(t,{SymbolSearchDialogFooter:()=>l});var n=a(59496),i=a(97754),s=a.n(i),o=a(72142) +;function l(e){const{className:t,children:a}=e;return n.createElement("div",{className:s()(o.footer,t)},a)}},36947:(e,t,a)=>{"use strict";a.d(t,{useForceUpdate:()=>i});var n=a(59496);const i=()=>{const[,e]=(0,n.useReducer)((e,t)=>e+1,0);return e}},70412:(e,t,a)=>{"use strict";a.d(t,{hoverMouseEventFilter:()=>s,useAccurateHover:()=>o,useHover:()=>i});var n=a(59496);function i(){const[e,t]=(0,n.useState)(!1);return[e,{onMouseOver:function(e){s(e)&&t(!0)},onMouseOut:function(e){s(e)&&t(!1)}}]}function s(e){return!e.currentTarget.contains(e.relatedTarget)}function o(e){const[t,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const t=t=>{if(null===e.current)return;const n=e.current.contains(t.target);a(n)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},81332:(e,t,a)=>{"use strict";a.d(t,{multilineLabelWithIconAndToolboxTheme:()=>o});var n=a(40173),i=a(23576),s=a(63095);const o=(0,n.mergeThemes)(i,s)},51613:(e,t,a)=>{"use strict";a.d(t,{PopupMenuSeparator:()=>l});var n=a(59496),i=a(97754),s=a.n(i),o=a(524);function l(e){const{size:t="normal",className:a}=e;return n.createElement("div",{className:s()(o.separator,"small"===t&&o.small,"normal"===t&&o.normal,"large"===t&&o.large,a)})}},15392:e=>{e.exports=''},86149:e=>{e.exports=''},8774:e=>{e.exports=''},9322:e=>{ +e.exports=''},65316:e=>{e.exports=''},14409:e=>{e.exports=''},25382:e=>{e.exports=''},92628:e=>{e.exports=''},2323:e=>{e.exports=''},90711:e=>{e.exports=''},97567:e=>{e.exports=''},35361:e=>{ +e.exports=''},84051:e=>{e.exports=''},60373:e=>{e.exports=''},21610:e=>{e.exports=''},74034:e=>{e.exports=''},28289:e=>{ +e.exports=''},76294:e=>{e.exports=''},62346:e=>{e.exports=''},36257:e=>{ +e.exports=''},17717:e=>{e.exports=''},37402:e=>{e.exports=''},50377:e=>{e.exports=''},60498:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/restricted-toolset.e7ec0040c08ca2374480.js b/charting_library/bundles/restricted-toolset.e7ec0040c08ca2374480.js deleted file mode 100644 index 8aed38a1..00000000 --- a/charting_library/bundles/restricted-toolset.e7ec0040c08ca2374480.js +++ /dev/null @@ -1,31 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5516,3718],{59142:function(e,t){var a,n,i;n=[t],void 0===(i="function"==typeof(a=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t{e.exports={loader:"loader-MuZZSHRY",static:"static-MuZZSHRY",item:"item-MuZZSHRY","tv-button-loader":"tv-button-loader-MuZZSHRY",medium:"medium-MuZZSHRY",small:"small-MuZZSHRY", -black:"black-MuZZSHRY",white:"white-MuZZSHRY",gray:"gray-MuZZSHRY",primary:"primary-MuZZSHRY","loader-initial":"loader-initial-MuZZSHRY","loader-appear":"loader-appear-MuZZSHRY"}},26390:e=>{e.exports={switcher:"switcher-GT7Z98Io","disable-cursor-pointer":"disable-cursor-pointer-GT7Z98Io",input:"input-GT7Z98Io","thumb-wrapper":"thumb-wrapper-GT7Z98Io","size-small":"size-small-GT7Z98Io","size-large":"size-large-GT7Z98Io","intent-default":"intent-default-GT7Z98Io","disable-active-state-styles":"disable-active-state-styles-GT7Z98Io","intent-select":"intent-select-GT7Z98Io",track:"track-GT7Z98Io",thumb:"thumb-GT7Z98Io"}},50789:e=>{e.exports={summary:"summary-hk3Mmxts",hovered:"hovered-hk3Mmxts",caret:"caret-hk3Mmxts"}},28857:e=>{e.exports={wrapper:"wrapper-OGmb0GMo",labelRow:"labelRow-OGmb0GMo",label:"label-OGmb0GMo",labelHint:"labelHint-OGmb0GMo",labelOn:"labelOn-OGmb0GMo"}},31405:e=>{e.exports={wrapper:"wrapper-IbP2mmCe",hovered:"hovered-IbP2mmCe",labelRow:"labelRow-IbP2mmCe",label:"label-IbP2mmCe",labelHint:"labelHint-IbP2mmCe",labelOn:"labelOn-IbP2mmCe"}},39592:e=>{e.exports={button:"button-Rsu8YfBx",withText:"withText-Rsu8YfBx",withoutText:"withoutText-Rsu8YfBx"}},64547:e=>{e.exports={button:"button-SS83RYhy"}},69698:e=>{e.exports={form:"form-obOlo718",interacting:"interacting-obOlo718",input:"input-obOlo718",menu:"menu-obOlo718",add:"add-obOlo718",hovered:"hovered-obOlo718",hover:"hover-obOlo718",wrap:"wrap-obOlo718"}},59174:e=>{e.exports={spinnerWrap:"spinnerWrap-OjdCXkZp"}},78966:e=>{e.exports={title:"title-mAu74Mtg"}},936:e=>{e.exports={button:"button-2Vex9IkU",first:"first-2Vex9IkU",last:"last-2Vex9IkU"}},82832:e=>{e.exports={wrap:"wrap-H6XRnLaC"}},91887:e=>{e.exports={hidden:"hidden-vHZuIWsw"}},75492:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-AFYo6gMo",withIcon:"withIcon-AFYo6gMo",shortcut:"shortcut-AFYo6gMo",loading:"loading-AFYo6gMo",icon:"icon-AFYo6gMo"}},19450:e=>{e.exports={button:"button-OSzyNVEZ",menu:"menu-OSzyNVEZ"}},33191:e=>{e.exports={customTradingViewStyleButton:"customTradingViewStyleButton-fjLcMxZj",withoutIcon:"withoutIcon-fjLcMxZj"}},64142:e=>{e.exports={dropdown:"dropdown-E3UQYoRD",label:"label-E3UQYoRD",smallWidthTitle:"smallWidthTitle-E3UQYoRD",smallWidthMenuItem:"smallWidthMenuItem-E3UQYoRD",smallWidthWrapper:"smallWidthWrapper-E3UQYoRD"}},87906:e=>{e.exports={value:"value-e0RYyFXU",selected:"selected-e0RYyFXU"}},32062:e=>{e.exports={smallWidthMenuItem:"smallWidthMenuItem-xvK6HzAF"}},6500:e=>{e.exports={button:"button-cXbh8Gcw",first:"first-cXbh8Gcw",last:"last-cXbh8Gcw",newStyles:"newStyles-cXbh8Gcw",menu:"menu-cXbh8Gcw",dropdown:"dropdown-cXbh8Gcw",menuContent:"menuContent-cXbh8Gcw",section:"section-cXbh8Gcw",smallTabletSectionTitle:"smallTabletSectionTitle-cXbh8Gcw",addCustomInterval:"addCustomInterval-cXbh8Gcw",hovered:"hovered-cXbh8Gcw"}},76521:e=>{e.exports={button:"button-CiwmljCL"}},4050:e=>{e.exports={button:"button-mEQw2hrh",isDisabled:"isDisabled-mEQw2hrh",text:"text-mEQw2hrh"}},96141:e=>{e.exports={opened:"opened-SUlSleuH", -hover:"hover-SUlSleuH",autoSaveWrapper:"autoSaveWrapper-SUlSleuH",sharingWrapper:"sharingWrapper-SUlSleuH",button:"button-SUlSleuH",buttonSmallPadding:"buttonSmallPadding-SUlSleuH",hintPlaceHolder:"hintPlaceHolder-SUlSleuH",smallHintPlaceHolder:"smallHintPlaceHolder-SUlSleuH",popupItemRowTabletSmall:"popupItemRowTabletSmall-SUlSleuH",shortcut:"shortcut-SUlSleuH"}},72597:e=>{e.exports={button:"button-TTaQ4aBF",text:"text-TTaQ4aBF",logo:"logo-TTaQ4aBF"}},67397:e=>{e.exports={button:"button-IQnsk0hp",largeLeftPadding:"largeLeftPadding-IQnsk0hp",text:"text-IQnsk0hp",uppercase:"uppercase-IQnsk0hp"}},75668:e=>{e.exports={description:"description-Q7biiIOG"}},52157:e=>{e.exports={item:"item-UfrwNtjY",round:"round-UfrwNtjY"}},41939:e=>{e.exports={wrap:"wrap-hoa11YwL",titleWrap:"titleWrap-hoa11YwL",indicators:"indicators-hoa11YwL",title:"title-hoa11YwL",icon:"icon-hoa11YwL",text:"text-hoa11YwL",titleTabletSmall:"titleTabletSmall-hoa11YwL",labelRow:"labelRow-hoa11YwL",label:"label-hoa11YwL"}},14621:e=>{e.exports={labelRow:"labelRow-qyt9pxdb",toolbox:"toolbox-qyt9pxdb",description:"description-qyt9pxdb",descriptionTabletSmall:"descriptionTabletSmall-qyt9pxdb",item:"item-qyt9pxdb",titleItem:"titleItem-qyt9pxdb",titleItemTabletSmall:"titleItemTabletSmall-qyt9pxdb",itemTabletSmall:"itemTabletSmall-qyt9pxdb",itemLabelTabletSmall:"itemLabelTabletSmall-qyt9pxdb",wrap:"wrap-qyt9pxdb",hovered:"hovered-qyt9pxdb"}},89227:e=>{e.exports={menu:"menu-Pi7orIC5",menuSmallTablet:"menuSmallTablet-Pi7orIC5",menuItemHeaderTabletSmall:"menuItemHeaderTabletSmall-Pi7orIC5",menuItemHeader:"menuItemHeader-Pi7orIC5"}},73887:e=>{e.exports={wrap:"wrap-mbKoosX4",full:"full-mbKoosX4",first:"first-mbKoosX4",last:"last-mbKoosX4",medium:"medium-mbKoosX4",buttonWithFavorites:"buttonWithFavorites-mbKoosX4"}},82559:e=>{e.exports={icon:"icon-0KfEd2LW"}},4039:e=>{e.exports={buttonUndo:"buttonUndo-6VeYguKu",buttonRedo:"buttonRedo-6VeYguKu"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},72142:e=>{e.exports={footer:"footer-C0oTZgbU"}},49473:e=>{e.exports={dottedCloud:"dottedCloud-NezC5dyJ",check:"check-NezC5dyJ",spinningCloud:"spinningCloud-NezC5dyJ",arrow:"arrow-NezC5dyJ",arrowGap:"arrowGap-NezC5dyJ",container:"container-NezC5dyJ",unsaved:"unsaved-NezC5dyJ",hovered:"hovered-NezC5dyJ",saving:"saving-NezC5dyJ",saved:"saved-NezC5dyJ"}},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},63095:e=>{e.exports={item:"item-UZNJ2Dq5",label:"label-UZNJ2Dq5",labelRow:"labelRow-UZNJ2Dq5",toolbox:"toolbox-UZNJ2Dq5"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},76974:(e,t,a)=>{"use strict";a.d(t,{useIsMounted:()=>i});var n=a(59496);const i=()=>{ -const e=(0,n.useRef)(!1);return(0,n.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},26996:(e,t,a)=>{"use strict";a.d(t,{Loader:()=>c});var n,i=a(59496),s=a(97754),o=a(74991),l=a(62092),r=a.n(l);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(n||(n={}));class c extends i.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:n.Initial}}render(){const{className:e,color:t="black",size:a="medium",staticPosition:n}=this.props,o=s(r().item,r()[t],r()[a]);return i.createElement("span",{className:s(r().loader,n&&r().static,this._getStateClass(),e)},i.createElement("span",{className:o}),i.createElement("span",{className:o}),i.createElement("span",{className:o}))}componentDidMount(){this.setState({state:n.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:n.Active})},2*o.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case n.Initial:return r()["loader-initial"];case n.Appear:return r()["loader-appear"];default:return""}}}},26005:(e,t,a)=>{"use strict";a.d(t,{CollapsibleSection:()=>r});var n=a(59496),i=a(97754),s=a.n(i),o=a(10381),l=a(50789);function r(e){return n.createElement(n.Fragment,null,n.createElement("div",{className:s()(e.className,l.summary),onClick:function(){e.onStateChange&&e.onStateChange(!e.open)},"data-open":e.open},e.summary,n.createElement(o.ToolWidgetCaret,{className:l.caret,dropped:Boolean(e.open)})),e.open&&e.children)}},84096:(e,t,a)=>{"use strict";a.d(t,{DEFAULT_MENU_ITEM_SWITCHER_THEME:()=>m,MenuItemSwitcher:()=>v});var n=a(59496),i=a(97754),s=a.n(i);const o=(0,n.createContext)({enablePointerOnHover:!0,enableActiveStateStyles:!0});var l=a(26390),r=a.n(l);function c(e){const t=(0,n.useContext)(o),{className:a,intent:s="default",size:l="small",enablePointerOnHover:c=t.enablePointerOnHover,enableActiveStateStyles:h=t.enableActiveStateStyles}=e;return i(a,r().switcher,r()["size-"+l],r()["intent-"+s],!c&&r()["disable-cursor-pointer"],!h&&r()["disable-active-state-styles"])}function h(e){const{reference:t,size:a,intent:i,...s}=e;return n.createElement("div",{className:c(e)},n.createElement("input",{...s,type:"checkbox",className:r().input,ref:t}),n.createElement("div",{className:r()["thumb-wrapper"]},n.createElement("div",{className:r().track}),n.createElement("div",{className:r().thumb})))}var d=a(90186),u=a(31405);const m=u;function v(e){const{className:t,checked:a,id:i,label:o,labelDescription:l,value:r,preventLabelHighlight:c,reference:m,switchReference:v,theme:p=u,disabled:g}=e,b=s()(p.label,a&&!c&&p.labelOn),S=s()(t,p.wrapper,a&&p.wrapperWithOnLabel);return n.createElement("label",{className:S,htmlFor:i,ref:m},n.createElement("div",{className:p.labelRow},n.createElement("div",{className:b},o),l&&n.createElement("div",{className:p.labelHint},l)),n.createElement(h,{disabled:g,className:p.switch,reference:v,checked:a,onChange:function(t){const a=t.target.checked -;void 0!==e.onChange&&e.onChange(a)},value:r,tabIndex:-1,id:i,...(0,d.filterDataProps)(e)}))}},14593:(e,t,a)=>{"use strict";a.d(t,{ToolWidgetIconButton:()=>l});var n=a(59496),i=a(97754),s=a(4825),o=a(64547);const l=n.forwardRef((e,t)=>{const{className:a,id:l,...r}=e;return n.createElement(s.ToolWidgetButton,{"data-name":l,...r,ref:t,className:i(a,o.button)})})},53374:(e,t,a)=>{"use strict";a.d(t,{INTERVALS:()=>i});var n=a(28353);const i=[{name:"",label:(0,n.t)("minutes",{context:"interval"})},{name:"H",label:(0,n.t)("hours",{context:"interval"})},{name:"D",label:(0,n.t)("days",{context:"interval"})},{name:"W",label:(0,n.t)("weeks",{context:"interval"})},{name:"M",label:(0,n.t)("months",{context:"interval"})}]},49466:(e,t,a)=>{"use strict";a.d(t,{ToolWidgetMenuSummary:()=>o});var n=a(59496),i=a(97754),s=a(78966);function o(e){return n.createElement("div",{className:i(e.className,s.title)},e.children)}},79389:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getRestrictedToolSet:()=>sn});var n=a(67337),i=a(59496),s=a(19036),o=a(28353),l=a(82992),r=a(16654),c=a(37466),h=a(36189),d=a(9745),u=a(16396),m=a(35390),v=a(97754),p=a.n(v),g=a(82832);class b extends i.PureComponent{render(){const{children:e,className:t,...a}=this.props;return i.createElement("div",{className:v(t,g.wrap),...a},e)}}var S=a(4825),C=a(90186),_=a(936);class w extends i.PureComponent{constructor(){super(...arguments),this._handleClick=()=>{const{onClick:e,onClickArg:t}=this.props;e&&e(t)}}render(){const{isFirst:e,isLast:t,hint:a,text:n,icon:s,isActive:o,isDisabled:l,className:r}=this.props,c=(0,C.filterDataProps)(this.props);return i.createElement(S.ToolWidgetButton,{...c,icon:s,text:n,title:a,isDisabled:l,isActive:o,isGrouped:!0,onClick:this._handleClick,className:v(r,_.button,{[_.first]:e,[_.last]:t})})}}var y=a(51613),f=a(90692),k=a(24437),M=a(81332),E=a(55402),T=a(15943),x=a(19450);const I={0:(0,o.t)("Bars"),1:(0,o.t)("Candles"),9:(0,o.t)("Hollow candles"),13:(0,o.t)("Columns"),8:(0,o.t)("Heikin Ashi"),2:(0,o.t)("Line"),3:(0,o.t)("Area"),10:(0,o.t)("Baseline"),12:(0,o.t)("High-low")};const A={barsStyle:(0,o.t)("Bar's style"),labels:I},R=(0,E.registryContextType)();function N(e){var t;return!(null===(t=l.linking.supportedChartStyles.value())||void 0===t?void 0:t.includes(e))}class F extends i.PureComponent{constructor(e,t){super(e,t),this._handleChangeStyle=e=>{const{favorites:t,lastSelectedNotFavorite:a,activeStyle:n}=this.state;this.setState({activeStyle:e,lastSelectedNotFavorite:t.includes(n)?a:n})},this._handleSelectStyle=e=>{const{chartWidgetCollection:t}=this.context;e!==t.activeChartStyle.value()&&t.setChartStyleToWidget(e)},this._handleClickFavorite=e=>{this._isStyleFavorited(e)?this._handleRemoveFavorite(e):this._handleAddFavorite(e)},this._boundForceUpdate=()=>{this.forceUpdate()},this._handleQuickClick=e=>{this._handleSelectStyle(e),this._trackClick()},(0,E.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired,favoriteChartStylesService:s.any.isRequired}) -;const{chartWidgetCollection:a,favoriteChartStylesService:n}=t,i=a.activeChartStyle.value(),o=n.get(),l=(0,T.japaneseChartStyles)();this.state={activeStyle:i,favorites:o,styles:(0,T.commonChartStyles)(),japaneseStyles:l}}componentDidMount(){const{chartWidgetCollection:e,favoriteChartStylesService:t}=this.context;e.activeChartStyle.subscribe(this._handleChangeStyle),t.getOnChange().subscribe(this,this._handleChangeSettings),l.linking.supportedChartStyles.subscribe(this._boundForceUpdate)}componentWillUnmount(){const{chartWidgetCollection:e,favoriteChartStylesService:t}=this.context;e.activeChartStyle.unsubscribe(this._handleChangeStyle),t.getOnChange().unsubscribe(this,this._handleChangeSettings),l.linking.supportedChartStyles.unsubscribe(this._boundForceUpdate)}render(){const{isShownQuicks:e,displayMode:t="full",id:a}=this.props,{activeStyle:n,favorites:s,styles:o,japaneseStyles:l,lastSelectedNotFavorite:h}=this.state,u="small"!==t&&e&&0!==s.length,v=[...s];v.includes(n)?void 0!==h&&v.push(h):v.push(n);const p=u&&v.length>1;return i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},e=>{const t=o.map(t=>this._renderPopupMenuItem(t,t===n,e)),s=l.map(t=>this._renderPopupMenuItem(t,t===n,e));return i.createElement(b,{id:a},p&&v.map((e,t)=>i.createElement(w,{className:x.button,icon:c.SERIES_ICONS[e],isActive:u&&n===e,isDisabled:N(e),key:t,hint:A.labels[e],isFirst:0===t,isLast:t===v.length-1,onClick:u?this._handleQuickClick:void 0,onClickArg:e,"data-value":r.STYLE_SHORT_NAMES[e]})),i.createElement(m.ToolWidgetMenu,{arrow:Boolean(p),content:p?void 0:i.createElement(b,null,i.createElement(d.Icon,{icon:c.SERIES_ICONS[n]})),title:p?A.barsStyle:A.labels[n],className:x.menu,isDrawer:e,onClick:this._trackClick},t,!!s.length&&i.createElement(y.PopupMenuSeparator,null),s))})}_renderPopupMenuItem(e,t,a){const{isFavoritingAllowed:n}=this.props,s=this._isStyleFavorited(e);return i.createElement(u.PopupMenuItem,{key:e,theme:a?M.multilineLabelWithIconAndToolboxTheme:void 0,icon:c.SERIES_ICONS[e],isActive:t,isDisabled:N(e),label:A.labels[e]||"",onClick:this._handleSelectStyle,onClickArg:e,showToolboxOnHover:!s,toolbox:n&&i.createElement(h.FavoriteButton,{isActive:t,isFilled:s,onClick:()=>this._handleClickFavorite(e)}),"data-value":r.STYLE_SHORT_NAMES[e]})}_handleChangeSettings(e){this.setState({lastSelectedNotFavorite:void 0,favorites:e})}_isStyleFavorited(e){return-1!==this.state.favorites.indexOf(e)}_handleAddFavorite(e){const{favorites:t}=this.state,{favoriteChartStylesService:a}=this.context;a.set([...t,e])}_handleRemoveFavorite(e){const{favorites:t}=this.state,{favoriteChartStylesService:a}=this.context;a.set(t.filter(t=>t!==e))}_trackClick(){0}}F.contextType=R;var H=a(39592);const z=["medium","small"];function P(e){const{text:t,className:a,displayMode:n,collapseWhen:s=z,...o}=e,l=!s.includes(n);return i.createElement(S.ToolWidgetButton,{...o,text:l?t:void 0,className:v(a,H.button,l?H.withText:H.withoutText)})}var D=a(51768),L=a(37669),W=a(2323);const O={compare:(0,o.t)("Compare"),compareOrAddSymbol:(0, -o.t)("Compare or Add Symbol")},U=(0,E.registryContextType)();class B extends i.PureComponent{constructor(e,t){super(e,t),this._updateState=e=>{this.setState({isActive:e})},this._handleClick=()=>{var e;(0,D.trackEvent)("GUI","Chart Header Toolbar","compare"),null===(e=this._compareDialogRenderer)||void 0===e||e.show()},(0,E.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired}),this.state={isActive:!1},this._compareDialogRenderer=this.context.chartWidgetCollection.getCompareDialogRenderer()}componentDidMount(){var e;null===(e=this._compareDialogRenderer)||void 0===e||e.visible().subscribe(this._updateState)}componentWillUnmount(){var e;null===(e=this._compareDialogRenderer)||void 0===e||e.visible().unsubscribe(this._updateState)}render(){const{isActive:e}=this.state;return i.createElement(P,{...this.props,icon:W,isOpened:e,onClick:this._handleClick,text:L.hasNewHeaderToolbarStyles?void 0:O.compare,title:O.compareOrAddSymbol,collapseWhen:L.hasNewHeaderToolbarStyles?["full","medium","small"]:void 0})}}B.contextType=U;var V=a(14593),G=a(61814),Z=a(68335),Y=a(90711),Q=a(15392);const q={hint:(0,o.t)("Fullscreen mode")},K=(0,G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Shift,!1),"F"],text:"{0} + {1}"}),j=(0,E.registryContextType)();class J extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidgetCollection:e}=this.context;e.startFullscreen()},(0,E.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired})}render(){const{className:e,id:t}=this.props;return i.createElement(V.ToolWidgetIconButton,{id:t,icon:L.hasNewHeaderToolbarStyles?Q:Y,onClick:this._handleClick,title:q.hint,className:v(e),"data-tooltip-hotkey":K})}}J.contextType=j;var X=a(88537);const $=(0,a(98125).getLogger)("FavoritesInfo");function ee(e,t){if(0===e.length)return Promise.resolve([]);$.logNormal("Requesting favorites info");const a=[],n=new Map,i=new Map,s=new Map;return e.forEach(e=>{switch(e.type){case"java":s.set(e.studyId,e);break;case"pine":isPublishedPineId(e.pineId)?n.set(e.pineId,e):i.set(e.pineId,e);break;default:(0,X.assert)(!1,"unknown favorite type "+JSON.stringify(e))}}),0!==s.size&&a.push(t.findAllJavaStudies().then(e=>{const t=new Map;for(const a of e)!a.is_hidden_study&&s.has(a.id)&&t.set(a.id,{name:a.description,localizedName:a.description_localized,studyMarketShittyObject:a});return t}).then(e=>{const t=function(e,t){const a={items:[],notFoundItems:[]};return e.forEach((e,n)=>{const i=t.get(n);void 0!==i?a.items.push({item:e,info:i}):a.notFoundItems.push(e)}),a}(s,e);if(0!==t.notFoundItems.length){const e=t.notFoundItems.map(e=>e.studyId);$.logWarn("Cannot find java scripts: "+JSON.stringify(e))}return t.items})),Promise.all(a).then(e=>($.logNormal("Requesting favorites info finished"),e.reduce((e,t)=>e.concat(t),[])))}var te=a(14291),ae=a(85733),ne=a(26996),ie=a(59174);function se(e){const{className:t}=e;return i.createElement("div",{className:p()(ie.spinnerWrap,t)},i.createElement(ne.Loader,null))}var oe=a(49466),le=a(76422),re=a(60373),ce=a(64142);const he={text:(0, -o.t)("Indicators"),hint:(0,o.t)("Indicators & Strategies"),favorites:(0,o.t)("Favorites")},de=(0,G.hotKeySerialize)({keys:["/"],text:"{0}"}),ue=(0,E.registryContextType)();class me extends i.PureComponent{constructor(e,t){super(e,t),this._promise=null,this._menu=i.createRef(),this._favoriteFundamentalsModel=null,this._setActiveState=e=>{this.setState({isActive:e})},this._handleClick=()=>{const{studyMarket:e}=this.props;this.setState({isActive:!0},()=>{e.visible().value()?e.hide():e.show()}),this._trackClick()},this._handleSelectIndicator=e=>{e=(0,X.ensureDefined)(e),this._trackFavoriteAction("Favorite indicator from toolbar");const{chartWidgetCollection:t}=this.context;if("java"===e.type){const t=(0,te.tryFindStudyLineToolNameByStudyId)(e.studyId);if(null!==t)return void ae.tool.setValue(t)}t.activeChartWidget.value().insertStudy(e)},this._handleFavoriteIndicatorsChange=()=>{const{favoriteScriptsModel:e}=this.context,t=[...(0,X.ensureDefined)(e).favorites()];this.setState({favorites:t}),this._clearCache()},this._handleFavoriteFundamentalsChange=()=>{var e;const t=new Set((null===(e=this._favoriteFundamentalsModel)||void 0===e?void 0:e.favorites())||[]);this.setState({favoriteFundamentals:t}),this._clearCache()},this._handleMouseEnter=()=>{this._prefetchFavorites()},this._handleWrapClick=()=>{this._prefetchFavorites()},this._handleChangeActiveWidget=()=>{this._clearCache()},this._clearCache=()=>{this._promise=null,this.setState({infos:[]})},this._handleScriptRenamed=e=>{const{favoriteScriptsModel:t}=this.context;void 0!==t&&t.isFav(e.scriptIdPart)&&this._clearCache()},this._handleFavoriteMenuClick=()=>{this._trackClick(),this._trackFavoriteAction("Select favorite indicators dropdown")},(0,E.validateRegistry)(t,{favoriteScriptsModel:s.any,chartWidgetCollection:s.any.isRequired});const{favoriteScriptsModel:a}=t,n=void 0!==a?a.favorites():[];this.state={isActive:!1,isLoading:!1,favorites:n,favoriteFundamentals:void 0,infos:[]}}componentDidMount(){const{studyMarket:e}=this.props,{favoriteScriptsModel:t,chartWidgetCollection:a}=this.context;e.visible().subscribe(this._setActiveState),void 0!==t&&(t.favoritesChanged().subscribe(this,this._handleFavoriteIndicatorsChange),a.activeChartWidget.subscribe(this._handleChangeActiveWidget)),le.on("TVScriptRenamed",this._handleScriptRenamed,null)}componentWillUnmount(){const{studyMarket:e}=this.props,{favoriteScriptsModel:t,chartWidgetCollection:a}=this.context;e.visible().unsubscribe(this._setActiveState),void 0!==t&&(t.favoritesChanged().unsubscribe(this,this._handleFavoriteIndicatorsChange),a.activeChartWidget.unsubscribe(this._handleChangeActiveWidget)),le.unsubscribe("TVScriptRenamed",this._handleScriptRenamed,null),this._promise=null}render(){const{isActive:e,favorites:t,favoriteFundamentals:a,isLoading:n}=this.state,{className:s,displayMode:l,id:r}=this.props,{chartWidgetCollection:c}=this.context;return i.createElement(i.Fragment,null,i.createElement(b,{id:r,onMouseEnter:this._handleMouseEnter,onClick:this._handleWrapClick},i.createElement(P,{displayMode:l,className:s, -icon:re,isOpened:e,onClick:this._handleClick,text:he.text,title:he.hint,"data-role":"button","data-name":"open-indicators-dialog","data-tooltip-hotkey":de}),Boolean(t.length>0||(null==a?void 0:a.size))&&i.createElement(f.MatchMedia,{rule:"screen and (max-width: 428px)"},e=>i.createElement(m.ToolWidgetMenu,{key:c.activeChartWidget.value().id(),arrow:!0,closeOnClickOutside:!0,isDrawer:e,drawerPosition:"Bottom",title:he.favorites,ref:this._menu,onClick:this._handleFavoriteMenuClick,"data-name":"show-favorite-indicators"},i.createElement("div",{className:p()(ce.dropdown,e&&ce.smallWidthWrapper)},i.createElement(oe.ToolWidgetMenuSummary,{className:e&&ce.smallWidthTitle},(0,o.t)("Favorite Indicators")),n&&i.createElement(se,null),!n&&i.createElement(i.Fragment,null,this.state.infos.length>0?this.state.infos.map(t=>i.createElement(u.PopupMenuItem,{className:p()(e&&ce.smallWidthMenuItem),theme:e?M.multilineLabelWithIconAndToolboxTheme:void 0,key:"java"===t.item.type?t.item.studyId:t.item.pineId,onClick:this._handleSelectIndicator,onClickArg:t.item,label:i.createElement("span",{className:p()(!e&&ce.label,e&&ce.smallWidthLabel,"apply-overflow-tooltip")},ve(t))})):null!==this._promise&&i.createElement(u.PopupMenuItem,{isDisabled:!0,label:(0,o.t)("You have no Favorites Indicators yet")})))))))}_prefetchFavorites(){const{chartWidgetCollection:e}=this.context;if(null!==this._promise||!window.is_authenticated)return;const t=e.activeChartWidget.value();if(!t.hasModel())return;const a=t.model().model().studyMetaInfoRepository();this.setState({isLoading:!0});const n=this._promise=Promise.all([ee(this.state.favorites,a),void 0]).then(e=>{if(n!==this._promise)return;const[t,a]=e;let i=[...t];if(a){const e=a.filter(e=>{var t;return null===(t=this.state.favoriteFundamentals)||void 0===t?void 0:t.has(e.scriptIdPart)}).map(this._mapFundamentalToFavoriteItemInfo);i.push(...e)}i=[...i].sort((e,t)=>ve(e).localeCompare(ve(t))),this.setState({infos:i,isLoading:!1},()=>{this._menu.current&&this._menu.current.update()})})}_trackClick(){0}_trackFavoriteAction(e){(0,D.trackEvent)("GUI","Chart Header Toolbar",e)}_mapFundamentalToFavoriteItemInfo(e){return{item:{type:"pine",pineId:e.scriptIdPart},info:{name:e.scriptName,localizedName:getLocalizedFundamentalsName(e),studyMarketShittyObject:void 0}}}}function ve(e){return e.info.localizedName||(0,o.t)(e.info.name,{context:"study"})}me.contextType=ue;var pe=a(9315),ge=a(29823),be=a(87906);function Se(e){return i.createElement("div",{className:v(be.value,{[be.selected]:e.isSelected})},e.value,e.metric)}var Ce=a(50628),_e=a(10381),we=a(53374),ye=a(69698);class fe extends i.PureComponent{constructor(e){super(e),this._timeMenu=null,this._setMenuRef=e=>{this._timeMenu=e},this._handleChangeInput=e=>{const{value:t}=e.currentTarget;/^[0-9]*$/.test(t)&&this.setState({inputValue:t})},this._handleSelectTime=e=>{this.setState({selectedIntervalSuffix:e}),this._closeMenu()},this._handleClickAdd=()=>{const{inputValue:e,selectedIntervalSuffix:t}=this.state;this.props.onAdd(e,t)},this._toggleMenu=()=>{ -this.state.isOpenedMenu?this._closeMenu():this._openMenu()},this._closeMenu=()=>{this.props.onCloseMenu(),this.setState({isOpenedMenu:!1})},this._openMenu=()=>{this.props.onOpenMenu(),this.setState({isOpenedMenu:!0})},this._getMenuPosition=()=>{const e=(0,X.ensureNotNull)(this._timeMenu).getBoundingClientRect();return{overrideWidth:e.width,x:e.left,y:e.bottom+1}},this.state={inputValue:"1",isOpenedMenu:!1,selectedIntervalSuffix:we.INTERVALS[0].name}}render(){const{inputValue:e,isOpenedMenu:t,menuWidth:a,selectedIntervalSuffix:n}=this.state;return i.createElement("div",{className:v(ye.form,{[ye.interacting]:t})},i.createElement("input",{className:ye.input,maxLength:7,onChange:this._handleChangeInput,value:e}),i.createElement("div",{className:ye.menu,onClick:this._toggleMenu,ref:this._setMenuRef},we.INTERVALS.find(e=>e.name===n).label,i.createElement(_e.ToolWidgetCaret,{dropped:t})),i.createElement("div",{className:ye.add,onClick:this._handleClickAdd},(0,o.t)("Add")),i.createElement(Ce.PopupMenu,{doNotCloseOn:this,isOpened:t,minWidth:a,onClose:this._closeMenu,position:this._getMenuPosition},we.INTERVALS.map(e=>i.createElement(u.PopupMenuItem,{dontClosePopup:!0,key:e.name,label:e.label,onClick:this._handleSelectTime,onClickArg:e.name}))))}}var ke=a(96040),Me=a(70412),Ee=a(32563),Te=a(32062);function xe(e){const{interval:t,hint:a,isActive:n,isDisabled:s,isFavorite:o,isSignaling:l,onClick:r,onClickRemove:c,onClickFavorite:d,isSmallTablet:m}=e,v=(0,C.filterDataProps)(e),[g,b]=(0,Me.useHover)(),S=i.useCallback(()=>c(t),[c,t]),_=i.useCallback(()=>d(t),[d,t]),w=(0,i.useRef)(null);return(0,i.useEffect)(()=>{var e;l&&m&&(null===(e=w.current)||void 0===e||e.scrollIntoView())},[l,m]),i.createElement("div",{...b,ref:w},i.createElement(u.PopupMenuItem,{...v,className:p()(m&&Te.smallWidthMenuItem),theme:m?M.multilineLabelWithIconAndToolboxTheme:void 0,isActive:n,isDisabled:s,isHovered:l,onClick:r,onClickArg:t,toolbox:function(){const{isRemovable:t,isFavoritingAllowed:a}=e,l=i.createElement(ke.RemoveButton,{key:"remove",isActive:n,hidden:!Ee.touch&&!g,onClick:S}),r=i.createElement(h.FavoriteButton,{key:"favorite",isActive:n,isFilled:o,onClick:_});return[t&&l,!s&&a&&r]}(),showToolboxOnHover:!o,label:a}))}const Ie={[ge.ResolutionKind.Ticks]:(0,o.t)("Ticks",{context:"interval_group_name"}),[ge.ResolutionKind.Seconds]:(0,o.t)("Seconds",{context:"interval_group_name"}),[ge.ResolutionKind.Minutes]:(0,o.t)("Minutes",{context:"interval_group_name"}),[ge.SpecialResolutionKind.Hours]:(0,o.t)("Hours",{context:"interval_group_name"}),[ge.ResolutionKind.Days]:(0,o.t)("Days",{context:"interval_group_name"}),[ge.ResolutionKind.Weeks]:(0,o.t)("Weeks",{context:"interval_group_name"}),[ge.ResolutionKind.Months]:(0,o.t)("Months",{context:"interval_group_name"}),[ge.ResolutionKind.Range]:(0,o.t)("Ranges",{context:"interval_group_name"}),[ge.ResolutionKind.Invalid]:""};function Ae(e,t=!1){return{id:e,name:Ie[e],items:[],mayOmitSeparator:t}}var Re=a(26005),Ne=a(2872),Fe=a.n(Ne),He=a(29197),ze=a(59064),Pe=a(6500);const De={openDialog:(0, -o.t)("Open Interval Dialog"),timeInterval:(0,o.t)("Time Interval")},Le=(0,G.hotKeySerialize)({keys:[","],text:(0,o.t)("Number or {hotKey_0}")}),We=(0,E.registryContextType)(),Oe=new(Fe()),Ue=i.lazy(async()=>({default:(await Promise.all([a.e(4194),a.e(7962),a.e(8986),a.e(8463),a.e(9289),a.e(7345),a.e(2385),a.e(5643),a.e(3016),a.e(4013)]).then(a.bind(a,21317))).ToolWidgetIntervalsAddDialog}));function Be(e){{const t=ge.Interval.parse(e);if(!(0,pe.isSecondsEnabled)()&&t.isSeconds())return!1;if(!(0,pe.isTicksEnabled)()&&t.isTicks())return!1}return!0}class Ve extends i.PureComponent{constructor(e,t){super(e,t),this._menu=i.createRef(),this._renderChildren=(e,t)=>[...this._createMenuItems(e,t),...this._createIntervalForm(t)],this._handleChangeInterval=e=>{const{activeInterval:t,lastNotQuicked:a}=this.state,n=this._getQuicks();this.setState({activeInterval:(0,pe.normalizeIntervalString)(e),lastNotQuicked:void 0===t||n.includes(t)?a:t})},this._bindedForceUpdate=()=>{this.forceUpdate()},this._handleCloseMenu=()=>{this.setState({isOpenedFormMenu:!1})},this._handleOpenMenu=()=>{this.setState({isOpenedFormMenu:!0})},this._handleSelectInterval=e=>{void 0!==e&&e!==l.linking.interval.value()&&this.context.chartWidgetCollection.setResolution(e),e&&(0,D.trackEvent)("GUI","Time Interval",e)},this._handleClickFavorite=e=>{e=(0,X.ensureDefined)(e),this._isIntervalFavorite(e)?this._handleRemoveFavorite(e):this._handleAddFavorite(e)},this._handleAddFavorite=e=>{const{favorites:t}=this.state;this.context.favoriteIntervalsService.set([...t,e])},this._handleRemoveFavorite=e=>{const{favorites:t}=this.state;this.context.favoriteIntervalsService.set(t.filter(t=>t!==e))},this._handleAddInterval=(e,t)=>{const{intervalService:a}=this.context,n=a.add(e,t);n&&this.setState({lastAddedInterval:n})},this._handleRemoveInterval=e=>{const{intervalService:t}=this.context;e&&(t.remove(e),this._handleRemoveFavorite(e))},this._getHandleSectionStateChange=e=>t=>{const{menuViewState:a}=this.state,{intervalsMenuViewStateService:n}=this.context;n.set({...a,[e]:!t})},this._handleOpenAddIntervalDialog=()=>{this.setState({isAddIntervalDialogOpened:!0})},this._handleCloseAddIntervalDialog=()=>{this.setState({isAddIntervalDialogOpened:!1})},this._handleGlobalClose=()=>{const{isFake:e}=this.props,{isAddIntervalDialogOpened:t}=this.state;e||t||Oe.fire()},this._handeQuickClick=e=>{this._handleSelectInterval(e),this._trackClick()},(0,E.validateRegistry)(t,{chartApiInstance:s.any.isRequired,favoriteIntervalsService:s.any.isRequired,intervalService:s.any.isRequired,intervalsMenuViewStateService:s.any.isRequired});const{chartApiInstance:a,favoriteIntervalsService:o,intervalService:r,intervalsMenuViewStateService:c}=t;this._customIntervals=n.enabled("custom_resolutions");const h=l.linking.interval.value(),d=h&&(0,pe.normalizeIntervalString)(h),u=o.get(),m=r.getCustomIntervals(),v=c.get();this._defaultIntervals=a.defaultResolutions().filter(Be).map(pe.normalizeIntervalString),this.state={isOpenedFormMenu:!1,activeInterval:d,favorites:u,customs:m,menuViewState:v, -isAddIntervalDialogOpened:!1}}componentDidMount(){const{favoriteIntervalsService:e,intervalService:t,intervalsMenuViewStateService:a}=this.context;e.getOnChange().subscribe(this,this._handleChangeFavorites),a.getOnChange().subscribe(this,this._handleChangeMenuViewState),t.getOnChange().subscribe(this,this._handleChangeCustoms),l.linking.interval.subscribe(this._handleChangeInterval),l.linking.intraday.subscribe(this._bindedForceUpdate),l.linking.seconds.subscribe(this._bindedForceUpdate),l.linking.ticks.subscribe(this._bindedForceUpdate),l.linking.range.subscribe(this._bindedForceUpdate),l.linking.supportedResolutions.subscribe(this._bindedForceUpdate),ze.globalCloseDelegate.subscribe(this,this._handleGlobalClose)}componentWillUnmount(){const{favoriteIntervalsService:e,intervalService:t,intervalsMenuViewStateService:a}=this.context;e.getOnChange().unsubscribe(this,this._handleChangeFavorites),a.getOnChange().unsubscribe(this,this._handleChangeMenuViewState),t.getOnChange().unsubscribe(this,this._handleChangeCustoms),l.linking.interval.unsubscribe(this._handleChangeInterval),l.linking.intraday.unsubscribe(this._bindedForceUpdate),l.linking.seconds.unsubscribe(this._bindedForceUpdate),l.linking.ticks.unsubscribe(this._bindedForceUpdate),l.linking.range.unsubscribe(this._bindedForceUpdate),l.linking.supportedResolutions.unsubscribe(this._bindedForceUpdate),ze.globalCloseDelegate.unsubscribe(this,this._handleGlobalClose)}componentDidUpdate(e,t){this.state.lastAddedInterval&&setTimeout(()=>this.setState({lastAddedInterval:void 0}),400)}render(){const{isShownQuicks:e,id:t}=this.props,{activeInterval:a,customs:n,lastNotQuicked:s,isAddIntervalDialogOpened:o}=this.state,l=this._getQuicks(),r=(0,pe.sortResolutions)([...l]);void 0!==a&&r.includes(a)?void 0!==s&&r.push(s):void 0!==a&&r.push(a);const c=(!(!e||0===l.length)||void 0)&&r.length>1,h={},d=(0,pe.mergeResolutions)(this._defaultIntervals,n);(void 0!==a?d.concat(a):d).filter(pe.isAvailable).forEach(e=>h[e]=!0);const u=void 0!==a?(0,pe.getTranslatedResolutionModel)(a):null;return i.createElement(b,{id:t},c&&r.map((e,t)=>{const n=(0,pe.getTranslatedResolutionModel)(e);return i.createElement(w,{key:t,className:v(Pe.button,{[Pe.first]:0===t,[Pe.last]:t===r.length-1,[Pe.newStyles]:L.hasNewHeaderToolbarStyles}),text:i.createElement(Se,{value:n.mayOmitMultiplier?void 0:n.multiplier,metric:n.shortKind}),hint:n.hint,isActive:a===e,isDisabled:!h[e]&&e!==s,onClick:this._handeQuickClick,onClickArg:e,"data-value":e})}),i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},e=>i.createElement(i.Fragment,null,i.createElement(He.CloseDelegateContext.Provider,{value:Oe},i.createElement(m.ToolWidgetMenu,{arrow:Boolean(c),closeOnClickOutside:!0,content:c||null===u?void 0:i.createElement(b,{className:Pe.menuContent},i.createElement(Se,{value:u.mayOmitMultiplier?void 0:u.multiplier,metric:u.shortKind})),title:c||null===u?De.timeInterval:u.hint,hotKey:c?Le:void 0,className:Pe.menu,ref:this._menu,isDrawer:e,onClick:this._trackClick},i.createElement("div",{className:Pe.dropdown -},this._renderChildren(d,e)))),e&&o&&i.createElement(i.Suspense,{fallback:null},i.createElement(Ue,{onAdd:this._handleAddInterval,onClose:this._handleCloseAddIntervalDialog,onUnmount:this._handleCloseAddIntervalDialog})))))}_createMenuItems(e,t){const a=function(e){const t=Ae(ge.ResolutionKind.Ticks),a=Ae(ge.ResolutionKind.Seconds),n=Ae(ge.ResolutionKind.Minutes),i=Ae(ge.SpecialResolutionKind.Hours),s=Ae(ge.ResolutionKind.Days),o=Ae(ge.ResolutionKind.Range);return e.forEach(e=>{const l=ge.Interval.parse(e);l.isMinuteHours()?i.items.push(e):l.isMinutes()?(0,ge.isHour)(Number(l.multiplier()))?i.items.push(e):n.items.push(e):l.isSeconds()?a.items.push(e):l.isDWM()?s.items.push(e):l.isRange()?o.items.push(e):l.isTicks()&&t.items.push(e)}),[t,a,n,i,s,o].filter(e=>0!==e.items.length)}(e).map((e,a,n)=>this._renderResolutionsGroup(e,1===n.length,t));return function(e){let t=!1;return e.filter((e,a,n)=>{let i=!0;return e.type===y.PopupMenuSeparator&&(0!==a&&a!==n.length-1||(i=!1),t&&(i=!1)),t=e.type===y.PopupMenuSeparator,i})}([].concat(...a))}_createIntervalForm(e){if(this._customIntervals){const t=e?i.createElement("div",{key:"add-dialog",className:Pe.addCustomInterval,onClick:this._handleOpenAddIntervalDialog},(0,o.t)("Add custom interval")+"…"):i.createElement(fe,{key:"add-form",onAdd:this._handleAddInterval,onCloseMenu:this._handleCloseMenu,onOpenMenu:this._handleOpenMenu});return[i.createElement(y.PopupMenuSeparator,{key:"custom-interval-separator"}),t]}return[]}_renderResolutionsGroup(e,t=!1,a){const n=[],s=e.items.map(e=>this._renderPopupMenuItem(e,a));if(t)n.push(...s);else if(a){const t=i.createElement("div",{key:e.id},i.createElement("div",{className:Pe.smallTabletSectionTitle},e.name),s);n.push(t)}else{const{intervalsMenuViewStateService:t}=this.context,{menuViewState:a}=this.state;if(!t.isAllowed(e.id))return[];const o=i.createElement(Re.CollapsibleSection,{key:e.id,className:Pe.section,summary:e.name,open:!a[e.id],onStateChange:this._getHandleSectionStateChange(e.id)},s);n.push(o)}return(!e.mayOmitSeparator||e.items.length>1)&&(n.unshift(i.createElement(y.PopupMenuSeparator,{key:"begin-"+e.name})),n.push(i.createElement(y.PopupMenuSeparator,{key:"end-"+e.name}))),n}_handleChangeFavorites(e){this.setState({lastNotQuicked:void 0,favorites:e})}_handleChangeCustoms(e){this.setState({customs:e})}_handleChangeMenuViewState(e){this.setState({menuViewState:e},()=>{this._menu.current&&this._menu.current.update()})}_renderPopupMenuItem(e,t){const{isFavoritingAllowed:a}=this.props,{activeInterval:n,lastAddedInterval:s}=this.state,o=e===n,l=(0,pe.isAvailable)(e),r=this._isIntervalFavorite(e),c=this._isIntervalDefault(e),h=(0,pe.getTranslatedResolutionModel)(e);return i.createElement(xe,{key:e,isSmallTablet:t,interval:e,hint:h.hint,isSignaling:s===e,isFavoritingAllowed:a,isDisabled:!l,isFavorite:r,isRemovable:!c,isActive:o,onClick:this._handleSelectInterval,onClickRemove:this._handleRemoveInterval,onClickFavorite:this._handleClickFavorite,"data-value":e})}_isIntervalDefault(e){return this._defaultIntervals.includes(e)} -_isIntervalFavorite(e){return this.state.favorites.includes(e)}_getQuicks(e){return this.props.isShownQuicks&&"small"!==this.props.displayMode?void 0===e?this.state.favorites:e:[]}_trackClick(){0}}Ve.contextType=We;var Ge=a(76521),Ze=a(74034);const Ye={hint:(0,o.t)("Open chart in popup")},Qe=(0,E.registryContextType)();class qe extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidgetCollection:e,windowMessageService:t,isFundamental:a}=this.context,n=e.activeChartWidget.value();n.withModel(null,()=>{t.post(parent,"openChartInPopup",{symbol:n.model().mainSeries().actualSymbol(),interval:n.model().mainSeries().interval(),fundamental:a})})},(0,E.validateRegistry)(t,{isFundamental:s.any,chartWidgetCollection:s.any.isRequired,windowMessageService:s.any.isRequired})}render(){const{className:e}=this.props;return i.createElement(V.ToolWidgetIconButton,{className:v(e,Ge.button),icon:Ze,onClick:this._handleClick,title:Ye.hint})}}qe.contextType=Qe;var Ke=a(28289);const je={hint:(0,o.t)("Chart settings")},Je=(0,E.registryContextType)();class Xe extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidgetCollection:e}=this.context,t=e.activeChartWidget.value();(0,D.trackEvent)("GUI","Chart Header Toolbar","chart properties"),t.showGeneralChartProperties()},(0,E.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired})}render(){return i.createElement(V.ToolWidgetIconButton,{...this.props,icon:Ke,title:je.hint,onClick:this._handleClick})}}Xe.contextType=Je;var $e=a(25760),et=a(59199),tt=a(68587),at=a(49473);const nt="M21.5 21.5h-14a5 5 0 1 1 .42-9.983 7.5 7.5 0 0 1 14.57 2.106 4.002 4.002 0 0 1-.99 7.877z",it=13.08991081237793,st={strokeDashOffset:49.242997817993164,strokeDash:49.866326904296876,strokeGap:it,strokeDashCheck:0},ot={strokeDashOffset:62.956237716674806,strokeGap:0,strokeDash:62.956237716674806,strokeDashCheck:200};class lt extends i.PureComponent{constructor(e){super(e),this.state=st}componentDidMount(){"saved"===this.props.state?this.setState(ot):this._goToNextState(this.props.state)}componentWillUnmount(){this._currentAnimation=void 0}UNSAFE_componentWillReceiveProps(e){this.props.state!==e.state&&this._goToNextState(e.state)}render(){const{strokeDashOffset:e,strokeDash:t,strokeGap:a,strokeDashCheck:n}=this.state,{className:s,size:o,onClick:l,state:r,isHovered:c=!1}=this.props,h=v(at.container,s,c&&at.hovered,{[at.unsaved]:"unsaved"===r,[at.saving]:"saving"===r,[at.saved]:"saved"===r});return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:h,version:"1.1",width:o,height:o,viewBox:"0 0 28 28",onClick:l},i.createElement("g",{fill:"none"},i.createElement("path",{className:at.dottedCloud,stroke:"currentColor",strokeDasharray:"3.5,2.5",d:nt}),i.createElement("path",{className:at.spinningCloud,stroke:"currentColor",strokeDasharray:`${t} ${a}`,strokeDashoffset:e,d:nt}),i.createElement("path",{className:at.arrowGap,d:"M11 20h6v5h-6z"}),i.createElement("g",{className:at.arrow,stroke:"currentColor"},i.createElement("path",{ -strokeLinecap:"square",d:"M14.5 14.5v10"}),i.createElement("path",{d:"M11 17l3.5-3.5L18 17"})),i.createElement("g",{className:at.check,stroke:"currentColor"},i.createElement("path",{strokeDasharray:`${n}% ${200-n}%`,d:"M10 15l2.5 2.5L18 12"}))))}_goToNextState(e){switch(e){case"unsaved":this.setState(st);break;case"saving":"unsaved"!==this.props.state&&this.setState(st),this._currentAnimation=Promise.resolve(this._currentAnimation).then(()=>this._createSpinAnimationWhile(()=>"saving"===this.props.state));break;case"saved":this._currentAnimation=Promise.resolve(this._currentAnimation).then(this._createFillGapAnimation.bind(this)).then(this._createCheckAnimation.bind(this))}}_createSpinAnimationWhile(e){return this._createSpinAnimation().then(()=>e()?this._createSpinAnimationWhile(e):Promise.resolve())}_createSpinAnimation(){return new Promise(e=>{(0,et.doAnimate)({onStep:(e,t)=>{void 0!==this._currentAnimation&&this.setState({strokeDashOffset:t})},onComplete:()=>e(),from:49.242997817993164,to:111.57590644836426,easing:tt.easingFunc.linear,duration:1e3})})}_createCheckAnimation(){return new Promise(e=>{(0,et.doAnimate)({onStep:(e,t)=>{void 0!==this._currentAnimation&&this.setState({strokeDashCheck:Math.round(t)})},onComplete:()=>e(),from:0,to:200,easing:tt.easingFunc.linear,duration:1e3})})}_createFillGapAnimation(){return new Promise(e=>{(0,et.doAnimate)({onStep:(e,t)=>{void 0!==this._currentAnimation&&this.setState({strokeDashOffset:62.956237716674806-t,strokeGap:t,strokeDash:62.956237716674806-t})},onComplete:()=>e(),from:it,to:0,easing:tt.easingFunc.linear,duration:200})})}}var rt=a(40173),ct=a(84096),ht=a(28857);(0,rt.mergeThemes)(ct.DEFAULT_MENU_ITEM_SWITCHER_THEME,ht);var dt=a(82724),ut=a(16788),mt=a(96141),vt=a(4050);a(31405);const pt=n.enabled("widget"),gt=(0,rt.mergeThemes)(S.DEFAULT_TOOL_WIDGET_BUTTON_THEME,vt),bt=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{shortcut:mt.shortcut}),St={copy:(0,o.t)("Copy"),makeCopy:(0,o.t)("Make a Copy"),newChartLayout:(0,o.t)("New Chart Layout"),loadChartLayout:(0,dt.appendEllipsis)((0,o.t)("Load Chart Layout")),rename:(0,dt.appendEllipsis)((0,o.t)("Rename")),renameChartLayout:(0,o.t)("Rename Chart Layout"),saveAs:(0,dt.appendEllipsis)((0,o.t)("Make a Copy")),saveChartLayout:(0,o.t)("Save"),saveChartLayoutLong:(0,o.t)("Save all charts for all symbols and intervals on your layout"),manageChartLayouts:(0,o.t)("Manage Chart Layouts")},Ct=[],_t=(0,G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Mod,!1),"S"],text:"{0} + {1}"});class wt extends i.PureComponent{constructor(e){super(e),this._handleSaveHoverBegin=()=>{this.setState({iconHovered:!0})},this._handleSaveHoverEnd=()=>{this.setState({iconHovered:!1})},this._handleCloneClick=()=>{var e,t;null===(t=(e=this.props).onCloneChart)||void 0===t||t.call(e),this._trackClick()},this._handleSaveClick=()=>{var e,t;null===(t=(e=this.props).onSaveChart)||void 0===t||t.call(e),this._trackClick()},this.state={iconHovered:!1}}render(){ -const{id:e,isReadOnly:t,displayMode:a,isProcessing:n,title:s,chartId:o,wasChanges:l,hideMenu:r,isTabletSmall:c,dataNameSaveMenu:h}=this.props,{iconHovered:u}=this.state,p=!t&&!r;let g="saved";return!l&&s||(g="unsaved"),n&&(g="saving"),i.createElement(b,null,t?i.createElement(b,null,i.createElement(P,{id:e,displayMode:a,icon:i.createElement(d.Icon,{icon:ut}),isDisabled:n,onClick:this._handleCloneClick,text:St.copy,title:St.makeCopy,onMouseEnter:this._handleSaveHoverBegin,onMouseLeave:this._handleSaveHoverEnd,collapseWhen:Ct})):i.createElement(b,null,i.createElement(P,{id:e,className:v(mt.button,p&&mt.buttonSmallPadding),displayMode:a,icon:i.createElement(lt,{size:28,state:g,isHovered:u}),isDisabled:o&&!l||n,onClick:this._handleSaveClick,text:s||St.saveChartLayout,title:St.saveChartLayoutLong,onMouseEnter:this._handleSaveHoverBegin,onMouseLeave:this._handleSaveHoverEnd,theme:gt,collapseWhen:Ct,"data-tooltip-hotkey":pt?"":_t}),p&&i.createElement(m.ToolWidgetMenu,{"data-name":h,className:"js-save-load-menu-open-button",arrow:!0,isDrawer:c,drawerPosition:"Bottom",title:St.manageChartLayouts,onClick:this._trackClick},this._renderMenuItems(Boolean(c)))))}_renderMenuItems(e){const{wasChanges:t,isProcessing:a,chartId:n,onSaveChartFromMenu:s,onRenameChart:l,onSaveAsChart:r,onLoadChart:c,onNewChart:h,isAutoSaveEnabled:d,autoSaveId:m,sharingId:p,onAutoSaveChanged:g,isSharingEnabled:b,onSharingChanged:S}=this.props,C=e?M.multilineLabelWithIconAndToolboxTheme:bt,_=e?void 0:(0,Z.humanReadableHash)(Z.Modifiers.Mod+83),w=e?void 0:(0,o.t)("Dot",{context:"hotkey"}),f=[];return f.push(i.createElement(u.PopupMenuItem,{key:"save",isDisabled:Boolean(a||!t&&n),label:St.saveChartLayout,onClick:s,shortcut:_,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,"data-name":"save-load-menu-item-save"})),void 0!==n&&(e||f.push(i.createElement(y.PopupMenuSeparator,{key:"existing-chart-section-begin"})),f.push(i.createElement(u.PopupMenuItem,{key:"rename",label:St.rename,onClick:l,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,"data-name":"save-load-menu-item-rename"}),i.createElement(u.PopupMenuItem,{key:"save-as",label:St.saveAs,onClick:r,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,"data-name":"save-load-menu-item-clone"}))),f.push(i.createElement(y.PopupMenuSeparator,{key:"platform-section-begin"})),f.push(i.createElement(u.PopupMenuItem,{key:"load-chart",className:"js-save-load-menu-item-load-chart",label:St.loadChartLayout,onClick:c,labelRowClassName:v(e&&mt.popupItemRowTabletSmall),theme:C,shortcut:w,"data-name":"save-load-menu-item-load"})),f}_trackClick(){0}}const yt=(0,E.registryContextType)();class ft extends i.PureComponent{constructor(e,t){super(e,t),this._syncState=e=>{this.setState(e)},this._onChangeHasChanges=e=>{this.state.wasChanges!==e&&this.setState({wasChanges:e})},this._onChangeAutoSaveEnabled=e=>{0},this._onChangeSharingEnabled=e=>{this.setState({isSharingEnabled:e})},this._onChangeTitle=e=>{this.setState({title:e})},this._onChangeId=e=>{this.setState({id:e})},this._onChartAboutToBeSaved=()=>{ -this.setState({isProcessing:!0})},this._onChartSaved=()=>{this.setState({isProcessing:!1})},this._handleAutoSaveEnabled=e=>{0},this._handleSharingEnabled=e=>{0},this._handleClickSave=()=>{this.context.saveChartService.saveChartOrShowTitleDialog(),this._trackEvent("Save click")},this._handleClickSaveFromMenu=()=>{this.context.saveChartService.saveChartOrShowTitleDialog(),this._trackEvent("Save From Menu")},this._handleClickClone=()=>{this.context.saveChartService.cloneChart()},this._handleClickSaveAs=()=>{this.context.saveChartService.saveChartAs(),this._trackEvent("Make a copy")},this._handleClickNew=()=>{this._trackEvent("New chart layout")},this._handleClickLoad=()=>{this.context.loadChartService.showLoadDialog(),this._trackEvent("Load chart layout")},this._handleHotkey=()=>{this.context.loadChartService.showLoadDialog()},this._handleClickRename=()=>{this.context.saveChartService.renameChart(),this._trackEvent("Rename")},(0,E.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired,chartChangesWatcher:s.any.isRequired,saveChartService:s.any.isRequired,sharingChartService:s.any,loadChartService:s.any.isRequired});const{chartWidgetCollection:a,chartChangesWatcher:n,saveChartService:i,sharingChartService:o}=t;this.state={isAuthenticated:window.is_authenticated,isProcessing:!1,id:a.metaInfo.id.value(),title:a.metaInfo.name.value(),wasChanges:n.hasChanges(),iconHovered:!1}}componentDidMount(){const{chartSaver:e,isFake:t,stateSyncEmitter:a}=this.props,{chartWidgetCollection:n,chartChangesWatcher:i,saveChartService:s,sharingChartService:l}=this.context;t?a.on("change",this._syncState):(i.getOnChange().subscribe(this,this._onChangeHasChanges),n.metaInfo.name.subscribe(this._onChangeTitle),n.metaInfo.id.subscribe(this._onChangeId),this._hotkeys=(0,$e.createGroup)({desc:"Save/Load"}),this._hotkeys.add({desc:(0,o.t)("Load Chart Layout"),handler:this._handleHotkey,hotkey:190}),e.chartSaved().subscribe(this,this._onChartSaved),e.chartAboutToBeSaved().subscribe(this,this._onChartAboutToBeSaved),window.loginStateChange.subscribe(this,this._onLoginStateChange))}componentDidUpdate(e,t){this.props.isFake||t!==this.state&&this.props.stateSyncEmitter.emit("change",this.state)}componentWillUnmount(){const{chartSaver:e,isFake:t,stateSyncEmitter:a}=this.props,{chartWidgetCollection:n,chartChangesWatcher:i,saveChartService:s,sharingChartService:o}=this.context;t?a.off("change",this._syncState):(i.getOnChange().unsubscribe(this,this._onChangeHasChanges),n.metaInfo.name.unsubscribe(this._onChangeTitle),n.metaInfo.id.unsubscribe(this._onChangeId),(0,X.ensureDefined)(this._hotkeys).destroy(),e.chartSaved().unsubscribe(this,this._onChartSaved),e.chartAboutToBeSaved().unsubscribe(this,this._onChartAboutToBeSaved),window.loginStateChange.unsubscribe(this,this._onLoginStateChange))}render(){const{isReadOnly:e,displayMode:t,id:a,isFake:n}=this.props,{isProcessing:s,isAuthenticated:o,title:l,id:r,wasChanges:c,isAutoSaveEnabled:h,isSharingEnabled:d}=this.state,u={displayMode:t,isReadOnly:e,isAuthenticated:o,isProcessing:s,wasChanges:c,title:l, -id:a,chartId:null!==r?r:void 0,dataNameSaveMenu:n?void 0:"save-load-menu",onCloneChart:this._handleClickClone,onSaveChart:this._handleClickSave,onSaveChartFromMenu:this._handleClickSaveFromMenu,onRenameChart:this._handleClickRename,onSaveAsChart:this._handleClickSaveAs,onLoadChart:this._handleClickLoad};return i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},e=>i.createElement(wt,{...u,isTabletSmall:e}))}_onLoginStateChange(){this.setState({isAuthenticated:window.is_authenticated})}_trackEvent(e){0}}ft.contextType=yt;var kt=a(20301),Mt=a(95792),Et=a(82029);const Tt=new Mt.DateTimeFormatter({dateTimeSeparator:"_",timeFormat:"%h-%m-%s"}),xt={takeSnapshot:(0,o.t)("Take a snapshot")},It=(0,E.registryContextType)();const At=o.t("Loading...");function Rt(e,t,a){return async function(e,t,a){const n=URL.createObjectURL(new Blob([`${At}`],{type:"text/html"}));try{const i=open(n,t,a);if(!i)throw new Error("cound not open a new tab");const s=await e.catch(()=>{});void 0!==s?i.location.replace(s):i.close()}finally{URL.revokeObjectURL(n)}}(e,t,a)}var Nt=a(65446),Ft=a(58455),Ht=a(91887);function zt(e){const t=v(e.isLoading&&Ht.hidden),a=v(!e.isLoading&&Ht.hidden);return i.createElement("div",null,i.createElement("span",{className:t},e.children),i.createElement("span",{className:a},i.createElement(ne.Loader,null)))}var Pt=a(76974),Dt=a(60498),Lt=a(17191),Wt=a(37402),Ot=a(50377),Ut=a(86149),Bt=a(75492);const Vt=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,Bt);function Gt(e){const{serverSnapshot:t,clientSnapshot:n}=e,[s,l]=(0,i.useState)(!1),[r,c]=(0,i.useState)(!1),[h,d]=(0,i.useState)(!1),m=(0,Pt.useIsMounted)(),p=(0,i.useCallback)(async()=>{var e;const t=n(),a=t.then(e=>new Promise(t=>e.canvas.toBlob(e=>{null!==e&&t(e)})));try{await(0,Nt.writePromiseUsingApi)(a,"image/png"),le.emit("onClientScreenshotCopiedToClipboard")}catch(a){const{canvas:n}=await t;null===(e=window.open())||void 0===e||e.document.write(``)}},[n]),g=(0,i.useCallback)(async()=>{const e=await n(),t=await function(e){return new Promise(t=>{try{e.canvas.toBlob(e=>{if(null===e)throw new Error("Unable to generate blob");t(URL.createObjectURL(e))})}catch(a){t(e.canvas.toDataURL())}})}(e);t&&(0,Ft.downloadFile)(e.name+".png",t)},[n]),b=e=>Rt(e.then(e=>e.imageUrl)),S=(0,i.useCallback)(async(e=!1)=>{const a=t();try{if(e)await b(a);else{const e=a.then(e=>new Blob([e.imageUrl],{type:"text/plain"}));await(0,Nt.writePromiseUsingApi)(e,"text/plain"),le.emit("onServerScreenshotCopiedToClipboard")}return!0}catch(e){return b(a),!0}finally{m.current&&(c(!1),l(!1),(0,ze.globalCloseMenu)())}},[t]),C=(0,i.useCallback)(async()=>{d(!0);const[e,n]=await Promise.all([a.e(4665).then(a.bind(a,2679)),t()]);e.Twitter.shareSnapshotInstantly(n.symbol,n.imageUrl), -m.current&&(d(!1),(0,ze.globalCloseMenu)())},[t]);return i.createElement(i.Fragment,null,i.createElement(u.PopupMenuItem,{"data-name":"save-chart-image",label:(0,o.t)("Save chart image"),icon:Wt,onClick:g,shortcut:(0,Z.humanReadableHash)(Z.Modifiers.Mod+Z.Modifiers.Alt+83),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"copy-chart-image",label:(0,o.t)("Copy chart image"),icon:Lt,onClick:p,shortcut:(0,Z.humanReadableHash)(Z.Modifiers.Mod+Z.Modifiers.Shift+83),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"copy-link-to-the-chart-image",label:i.createElement(zt,{isLoading:s},(0,o.t)("Copy link to the chart image")),icon:Ot,onClick:()=>{l(!0),S(!1)},dontClosePopup:!0,isDisabled:s,shortcut:(0,Z.humanReadableHash)(Z.Modifiers.Alt+83),className:v(s&&Bt.loading),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"open-image-in-new-tab",label:i.createElement(zt,{isLoading:r},(0,o.t)("Open image in new tab")),icon:Ut,onClick:()=>{c(!0),S(!0)},dontClosePopup:!0,isDisabled:r,className:v(r&&Bt.loading),theme:Vt}),i.createElement(u.PopupMenuItem,{"data-name":"tweet-chart-image",label:i.createElement(zt,{isLoading:h},(0,o.t)("Tweet chart image")),icon:Dt,onClick:C,dontClosePopup:!0,isDisabled:h,className:v(h&&Bt.loading),theme:Vt}))}var Zt=a(84015);function Yt(e){const[t,a]=(0,i.useState)(!1),n=(0,Pt.useIsMounted)(),s=(0,i.useCallback)(async()=>{a(!0),await e.serverSnapshot(),n.current&&a(!1)},[e.serverSnapshot]);return i.createElement(S.ToolWidgetButton,{id:e.id,className:e.className,isDisabled:t,onClick:s,title:e.tooltip,icon:e.icon})}var Qt=a(62346);const qt=(Kt=function(e){return(0,Zt.isOnMobileAppPage)("any")?i.createElement(Yt,{...e,icon:Qt}):i.createElement(m.ToolWidgetMenu,{content:i.createElement(S.ToolWidgetButton,{id:e.id,className:e.className,title:e.tooltip,icon:Qt}),drawerPosition:"Bottom",drawerBreakpoint:k.DialogBreakpoints.TabletSmall,arrow:!1,onClick:function(){}},i.createElement(Gt,{...e}))},(jt=class extends i.PureComponent{constructor(e,t){super(e,t),this._clientSnapshot=async()=>{const e=this.context.chartWidgetCollection.activeChartWidget.value().model().mainSeries().actualSymbol();return{canvas:await this.context.chartWidgetCollection.clientSnapshot(),name:`${(0,Et.shortName)(e)}_${Tt.formatLocal(new Date)}`}},this._serverSnapshot=async()=>{const e=this.context.chartWidgetCollection.activeChartWidget.value().model().mainSeries().actualSymbol(),t=await this.context.chartWidgetCollection.takeScreenshot(),a=n.enabled("charting_library_base")&&void 0!==this.context.snapshotUrl?t:(0,kt.convertImageNameToUrl)(t);return{symbol:(0,Et.shortName)(e),imageUrl:a}},(0,E.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired})}render(){const{className:e,id:t}=this.props;return i.createElement(Kt,{id:t,className:e,tooltip:xt.takeSnapshot,serverSnapshot:this._serverSnapshot,clientSnapshot:this._clientSnapshot})}}).contextType=It,jt);var Kt,jt,Jt=a(38318),Xt=a(39362),$t=a(11181);class ea{async show(e){if(null!==ea._provider){const e=await ea._provider.getSymbol() -;return l.linking.symbol.setValue(e.symbol),e}if(ea._currentShowingInstance)throw new DOMException("SymbolSearchUI is already shown","InvalidStateError");try{ea._currentShowingInstance=this,ea.preload();const t=await ea._implementation;return(0,X.assert)(null!==t),new Promise(a=>{t.showDefaultSearchDialog({...e,onSearchComplete:e=>{a({symbol:e})}})})}finally{ea._currentShowingInstance=null}}static setProvider(e){this._provider=e}static preload(){null===this._provider&&null===this._implementation&&(this._implementation=(0,$t.loadNewSymbolSearch)())}}ea._currentShowingInstance=null,ea._provider=null,ea._implementation=null;var ta=a(67397),aa=a(72597);const na=(0,rt.mergeThemes)(S.DEFAULT_TOOL_WIDGET_BUTTON_THEME,ta);(0,rt.mergeThemes)(na,aa);class ia extends i.PureComponent{constructor(e){super(e),this._openSymbolSearchDialog=async e=>{if((0,Z.modifiersFromEvent)(e)!==Z.Modifiers.Alt)try{(0,D.trackEvent)("GUI","SS","main search"),await(new ea).show({defaultValue:this._isSpread(this.state.symbol)?this.state.symbol:this.state.shortName,showSpreadActions:(0,Jt.canShowSpreadActions)()&&this.props.isActionsVisible,source:"searchBar",footer:Ee.mobiletouch?void 0:i.createElement(Xt.SymbolSearchDialogFooter,null,(0,o.t)("Simply start typing while on the chart to pull up this search box"))})}catch(e){}else navigator.clipboard.writeText(this.state.symbol)},this._isSpread=e=>!1,this._onSymbolChanged=()=>{const e=l.linking.symbol.value();this.setState({symbol:e,shortName:sa()})},this.state={symbol:l.linking.symbol.value(),shortName:sa()}}componentDidMount(){l.linking.symbol.subscribe(this._onSymbolChanged),l.linking.seriesShortSymbol.subscribe(this._onSymbolChanged),ea.preload()}componentWillUnmount(){l.linking.symbol.unsubscribe(this._onSymbolChanged),l.linking.seriesShortSymbol.unsubscribe(this._onSymbolChanged)}render(){const{id:e,className:t}=this.props;return i.createElement(S.ToolWidgetButton,{id:e,className:p()(t,n.enabled("uppercase_instrument_names")&&ta.uppercase,ta.largeLeftPadding),theme:na,icon:void 0,text:this.state.shortName,title:(0,o.t)("Symbol Search"),onClick:this._openSymbolSearchDialog})}async _updateQuotes(e){}}function sa(){return l.linking.seriesShortSymbol.value()||l.linking.symbol.value()||""}var oa=a(52157);class la extends i.PureComponent{constructor(){super(...arguments),this._handleClick=e=>{e.stopPropagation();const{onApply:t,item:a}=this.props;t(a)}}render(){const{className:e,item:t}=this.props;return i.createElement("div",{className:v(e,oa.item,"apply-common-tooltip"),onClick:this._handleClick,title:t.name},i.createElement("div",{className:oa.round},t.name.length>0?t.name[0].toUpperCase():" "))}}var ra=a(23177),ca=a(75668);function ha(e){return i.createElement("div",{className:v(ca.description,e.className)},e.children)}var da=a(14621);const ua=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{labelRow:da.labelRow,toolbox:da.toolbox,item:da.titleItem}),ma=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{labelRow:da.labelRow,toolbox:da.toolbox,item:da.titleItemTabletSmall}),va=(0, -rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{item:da.item}),pa=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,{item:da.itemTabletSmall});function ga(e){const{item:t,onApply:a,onRemove:n,onFavor:s,favorite:o,isFavoritingAllowed:l,isTabletSmall:r}=e,[c,d]=(0,Me.useHover)(),m=t.meta_info,v=m?(0,ra.descriptionString)(m.indicators):void 0,g=r?ma:ua,b=r?pa:va,S=(0,i.useCallback)(()=>a(t),[a,t]),C=(0,i.useCallback)(()=>n(t),[n,t]),_=(0,i.useCallback)(()=>{s&&s(t)},[s,t]);return i.createElement("div",{...d,className:da.wrap,"data-name":t.name,"data-id":t.id,"data-is-default":Boolean(t.is_default)},i.createElement(u.PopupMenuItem,{theme:g,label:t.name,labelRowClassName:p()(r&&da.itemLabelTabletSmall),isHovered:c,showToolboxOnHover:!o&&!c,onClick:S,toolbox:i.createElement(i.Fragment,null,!t.is_default&&i.createElement(ke.RemoveButton,{key:"remove",hidden:!Ee.touch&&!c,onClick:C}),Boolean(s)&&l&&i.createElement(h.FavoriteButton,{key:"favorite",isFilled:Boolean(o),onClick:_}))}),v&&i.createElement(u.PopupMenuItem,{theme:b,label:i.createElement(ha,{className:p()(da.description,r&&da.descriptionTabletSmall)},v),onClick:S,isHovered:c}))}var ba=a(25382),Sa=a(41939);const Ca=(0,rt.mergeThemes)(u.DEFAULT_POPUP_MENU_ITEM_THEME,Sa),_a={text:(0,dt.appendEllipsis)((0,o.t)("Save Indicator template"))};function wa(e){const{onClick:t,isTabletSmall:a}=e;return i.createElement(u.PopupMenuItem,{theme:Ca,className:Sa.wrap,label:i.createElement("div",{className:Sa.titleWrap},i.createElement("div",{className:p()(Sa.title,a&&Sa.titleTabletSmall)},i.createElement(d.Icon,{className:Sa.icon,icon:ba}),i.createElement("div",{className:Sa.text},_a.text))),onClick:t})}var ya=a(36947),fa=a(64706);const ka=i.createContext(null);var Ma=a(89227);function Ea(e){const{templates:t,favorites:a,onTemplateSave:n,onTemplateRemove:s,onTemplateSelect:o,onTemplateFavorite:l,isTabletSmall:r,isLoading:c}=e,h=(0,i.useMemo)(()=>t.filter(e=>e.is_default),[t]),d=(0,i.useMemo)(()=>t.filter(e=>!e.is_default),[t]),u=(0,i.useMemo)(()=>new Set(a.map(e=>e.name)),[a]),m=(0,i.useContext)(ka),v=(0,i.useContext)(fa.MenuContext),g=(0,ya.useForceUpdate)();(0,i.useEffect)(()=>{if(null!==m){const e={};return m.getOnChange().subscribe(e,()=>{g(),v&&v.update()}),()=>m.getOnChange().unsubscribeAll(e)}return()=>{}},[]);const b=e=>i.createElement(ga,{key:e.name,item:e,isFavoritingAllowed:Boolean(l),favorite:u.has(e.name),onApply:o,onFavor:l,onRemove:s,isTabletSmall:r});return i.createElement("div",{className:p()(Ma.menu,r&&Ma.menuSmallTablet)},i.createElement(wa,{onClick:n,isTabletSmall:r}),c&&i.createElement(i.Fragment,null,i.createElement(y.PopupMenuSeparator,null),i.createElement(se,null)),!c&&(r?i.createElement(Ta,{defaults:h,customs:d,render:b}):i.createElement(xa,{defaults:h,customs:d,render:b,state:m})))}function Ta(e){const{defaults:t,customs:a,render:n}=e;return i.createElement(i.Fragment,null,a.length>0&&i.createElement(i.Fragment,null,i.createElement(y.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeaderTabletSmall},(0, -o.t)("My templates")),a.map(n)),t.length>0&&i.createElement(i.Fragment,null,i.createElement(y.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeaderTabletSmall},(0,o.t)("Default templates")),t.map(n)))}function xa(e){const{defaults:t,customs:a,render:n,state:s}=e;return i.createElement(i.Fragment,null,a.length>0&&i.createElement(i.Fragment,null,i.createElement(y.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeader},(0,o.t)("My templates")),a.map(n)),a.length>0&&t.length>0&&s&&i.createElement(i.Fragment,null,i.createElement(y.PopupMenuSeparator,null),i.createElement(Re.CollapsibleSection,{summary:(0,o.t)("Default templates"),open:!s.get().defaultsCollapsed,onStateChange:e=>s.set({defaultsCollapsed:!e})},t.map(n))),0===a.length&&t.length>0&&i.createElement(i.Fragment,null,i.createElement(y.PopupMenuSeparator,null),i.createElement(oe.ToolWidgetMenuSummary,{className:Ma.menuItemHeader},(0,o.t)("Default templates")),t.map(n)))}var Ia=a(52714),Aa=a.n(Ia);class Ra{constructor(e,t){var a,i;this._isFavoriteEnabled=n.enabled("items_favoriting"),this.handleFavorTemplate=e=>{if(!this._isFavoriteEnabled)return;const{name:t}=e;this._isTemplateFavorite(t)?this._removeFavoriteTemplate(t):this._addFavoriteTemplate(t)},this.handleDropdownOpen=()=>{this._setState({isLoading:!0}),this._studyTemplates.invalidate(),this._studyTemplates.refreshStudyTemplateList(()=>this._setState({isLoading:!1}))},this.handleApplyTemplate=e=>{this._studyTemplates.applyTemplate(e.name)},this.handleRemoveTemplate=e=>{this._studyTemplates.deleteStudyTemplate(e.name)},this.handleSaveTemplate=()=>{this._studyTemplates.showSaveAsDialog()},this._studyTemplates=e,this._favoriteStudyTemplatesService=t;const s=(null===(a=this._favoriteStudyTemplatesService)||void 0===a?void 0:a.get())||[],o=this._studyTemplates.list();this._state=new(Aa())({isLoading:!1,studyTemplatesList:o,favorites:s}),this._studyTemplates.getOnChange().subscribe(this,this._handleTemplatesChange),this._studyTemplates.refreshStudyTemplateList(),this._isFavoriteEnabled&&(null===(i=this._favoriteStudyTemplatesService)||void 0===i||i.getOnChange().subscribe(this,this._handleFavoritesChange))}destroy(){var e;this._studyTemplates.getOnChange().unsubscribe(this,this._handleTemplatesChange),this._isFavoriteEnabled&&(null===(e=this._favoriteStudyTemplatesService)||void 0===e||e.getOnChange().unsubscribe(this,this._handleFavoritesChange))}state(){return this._state.readonly()}_setState(e){this._state.setValue({...this._state.value(),...e})}_handleTemplatesChange(){this._setState({studyTemplatesList:this._studyTemplates.list()})}_handleFavoritesChange(e){this._isFavoriteEnabled&&this._setState({favorites:e})}_removeFavoriteTemplate(e){var t;const{favorites:a}=this._state.value();null===(t=this._favoriteStudyTemplatesService)||void 0===t||t.set(a.filter(t=>t!==e))}_addFavoriteTemplate(e){var t;const{favorites:a}=this._state.value();null===(t=this._favoriteStudyTemplatesService)||void 0===t||t.set([...a,e])} -_isTemplateFavorite(e){const{favorites:t}=this._state.value();return t.includes(e)}}var Na=a(36257),Fa=a(73887);const Ha={title:(0,o.t)("Templates"),tooltip:(0,o.t)("Indicator Templates")},za=(0,E.registryContextType)();class Pa extends i.PureComponent{constructor(e,t){super(e,t),this._updateState=e=>{this.setState({...e,isActive:this.state.isActive})},this._handleApplyTemplate=e=>{this._handleClose(),this._model.handleApplyTemplate(e)},this._handleRemoveTemplate=e=>{this._handleClose(),this._model.handleRemoveTemplate(e)},this._handleClose=()=>{this._handleToggleDropdown(!1)},this._handleToggleDropdown=e=>{const{isActive:t}=this.state,a="boolean"==typeof e?e:!t;this.setState({isActive:a})},(0,E.validateRegistry)(t,{favoriteStudyTemplatesService:s.any,studyTemplates:s.any.isRequired,templatesMenuViewStateService:s.any});const{favoriteStudyTemplatesService:a,studyTemplates:n}=t;this._model=new Ra(n,a),this.state={...this._model.state().value(),isActive:!1}}componentDidMount(){this._model.state().subscribe(this._updateState)}componentWillUnmount(){this._model.state().unsubscribe(this._updateState),this._model.destroy()}render(){const{studyTemplatesList:e,favorites:t}=this.state,{isShownQuicks:a,className:n,displayMode:s,id:o}=this.props;return i.createElement(ka.Provider,{value:this.context.templatesMenuViewStateService||null},i.createElement(Da,{id:o,className:n,mode:s,templates:e,favorites:t,onMenuOpen:this._model.handleDropdownOpen,onTemplateFavorite:a?this._model.handleFavorTemplate:void 0,onTemplateSelect:this._handleApplyTemplate,onTemplateRemove:this._handleRemoveTemplate,onTemplateSave:this._model.handleSaveTemplate}))}}function Da(e){const{id:t,className:a,mode:n,favorites:s,templates:o,isMenuOpen:l,onTemplateSelect:r,onTemplateSave:c,onTemplateFavorite:h,onTemplateRemove:d}=e,u=p()(a,Fa.wrap,{[Fa.full]:"full"===n,[Fa.medium]:"medium"===n}),v=o.filter(e=>s.includes(e.name)),g="small"!==n&&h&&v.length>0;return i.createElement(b,{id:t,className:u},i.createElement(f.MatchMedia,{rule:k.DialogBreakpoints.TabletSmall},t=>i.createElement(m.ToolWidgetMenu,{onOpen:e.onMenuOpen,isDrawer:t,drawerPosition:"Bottom",arrow:!1,content:i.createElement(P,{className:p()(g&&Fa.buttonWithFavorites),displayMode:n,isOpened:l,icon:Na,text:L.hasNewHeaderToolbarStyles?void 0:Ha.title,title:Ha.tooltip,forceInteractive:!0,collapseWhen:L.hasNewHeaderToolbarStyles?["full","medium","small"]:void 0}),onClick:S},i.createElement(Ea,{onTemplateSave:c,onTemplateSelect:r,onTemplateRemove:d,onTemplateFavorite:h,templates:o,favorites:v,isTabletSmall:t}))),g&&i.createElement(La,{favorites:v,onTemplateSelect:function(e){r(e),S()}}));function S(){0}}function La(e){return i.createElement(i.Fragment,null,e.favorites.map((t,a,n)=>i.createElement(la,{key:t.name,item:t,onApply:e.onTemplateSelect,className:p()({[Fa.first]:0===a,[Fa.last]:a===n.length-1})})))}Pa.contextType=za;a(94419);var Wa=a(4039),Oa=a(82559),Ua=a(55576),Ba=a(17717),Va=a(76294);const Ga={undoHint:(0,o.t)("Undo {hint}"),redoHint:(0,o.t)("Redo {hint}")},Za={undoHotKey:(0, -G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Mod,!1),"Z"],text:"{0} + {1}"}),redoHotKey:(0,G.hotKeySerialize)({keys:[(0,Z.humanReadableModifiers)(Z.Modifiers.Mod,!1),"Y"],text:"{0} + {1}"})},Ya=(0,rt.weakComposeClasses)(Ua,Wa,{buttonUndo:"button",buttonRedo:"button"}),Qa=(0,rt.mergeThemes)(Ua,Oa),qa={...Ua,button:Ya.buttonUndo},Ka={...Ua,button:Ya.buttonRedo},ja=(0,E.registryContextType)();class Ja extends i.PureComponent{constructor(e,t){super(e,t),this._batched=null,this._handleClickUndo=()=>{(0,D.trackEvent)("GUI","Undo");const{chartWidgetCollection:e}=this.context;e.undoHistory.undo()},this._handleClickRedo=()=>{(0,D.trackEvent)("GUI","Redo");const{chartWidgetCollection:e}=this.context;e.undoHistory.redo()},(0,E.validateRegistry)(t,{chartWidgetCollection:s.any.isRequired}),this.state=this._getStateFromUndoHistory()}componentDidMount(){const{chartWidgetCollection:e}=this.context;e.undoHistory.redoStack().onChange().subscribe(this,this._onChangeStack),e.undoHistory.undoStack().onChange().subscribe(this,this._onChangeStack)}componentWillUnmount(){const{chartWidgetCollection:e}=this.context;e.undoHistory.redoStack().onChange().unsubscribe(this,this._onChangeStack),e.undoHistory.undoStack().onChange().unsubscribe(this,this._onChangeStack),this._batched=null}render(){const{id:e}=this.props,{isEnabledRedo:t,isEnabledUndo:a,redoStack:n,undoStack:s}=this.state;return i.createElement(b,{id:e},i.createElement(S.ToolWidgetButton,{icon:Ba,isDisabled:!a,onClick:this._handleClickUndo,title:a?Ga.undoHint.format({hint:s}):void 0,"data-tooltip-hotkey":a?Za.undoHotKey:void 0,theme:L.hasNewHeaderToolbarStyles?Qa:qa}),i.createElement(S.ToolWidgetButton,{icon:Va,isDisabled:!t,onClick:this._handleClickRedo,title:t?Ga.redoHint.format({hint:n}):void 0,"data-tooltip-hotkey":t?Za.redoHotKey:void 0,theme:L.hasNewHeaderToolbarStyles?Qa:Ka}))}_onChangeStack(){null===this._batched&&(this._batched=Promise.resolve().then(()=>{if(null===this._batched)return;this._batched=null;const e=this._getStateFromUndoHistory();this.setState(e)}))}_getStateFromUndoHistory(){const{chartWidgetCollection:e}=this.context,t=e.undoHistory.undoStack(),a=e.undoHistory.redoStack(),n=a.head(),i=t.head();return{isEnabledRedo:!a.isEmpty(),isEnabledUndo:!t.isEmpty(),redoStack:n?n.text().translatedText():"",undoStack:i?i.text().translatedText():""}}}Ja.contextType=ja;var Xa=a(87995),$a=a(9837);class en extends i.PureComponent{constructor(){super(...arguments),this._ref=null,this._update=()=>{this.forceUpdate()},this._setRef=e=>{this._ref=e},this._handleMeasure=({width:e})=>{this.props.width.setValue(e)}}componentDidMount(){const{element:e,isFake:t,width:a}=this.props;if(t)a.subscribe(this._update);else{const t=(0,X.ensureNotNull)(this._ref);Xa.findDOMNode(t).appendChild(e)}}componentWillUnmount(){const{width:e,isFake:t}=this.props;t&&e.unsubscribe(this._update)}render(){const{isFake:e=!1,width:t}=this.props;return i.createElement($a,{shouldMeasure:!e,whitelist:["width"],onMeasure:this._handleMeasure},i.createElement(b,{ref:this._setRef,style:e?{ -width:t.value()}:void 0,"data-is-custom-header-element":!0}))}}function tn(e){const{displayMode:t,params:a}=e;return i.createElement(m.ToolWidgetMenu,{content:i.createElement(P,{collapseWhen:void 0!==a.icon?void 0:[],displayMode:t,icon:a.icon,text:a.title,title:a.tooltip,"data-name":"dropdown","data-is-custom-header-element":!0}),drawerPosition:"Bottom",drawerBreakpoint:k.DialogBreakpoints.TabletSmall,arrow:!1},a.items.map((e,t)=>i.createElement(u.PopupMenuItem,{key:t,label:e.title,onClick:()=>e.onSelect(),"data-name":"dropdown-item"})))}var an=a(33191);function nn(e){const{className:t,...a}=e;return i.createElement(P,{...a,className:v(t,an.customTradingViewStyleButton,an.withoutIcon),collapseWhen:[],"data-name":"custom-tradingview-styled-button"})}function sn(){return{Bars:n.enabled("header_chart_type")?F:void 0,Compare:n.enabled("header_compare")?B:void 0,Custom:en,CustomTradingViewStyledButton:nn,Fullscreen:n.enabled("header_fullscreen_button")?J:void 0,Indicators:n.enabled("header_indicators")?me:void 0,Intervals:n.enabled("header_resolutions")?Ve:void 0,OpenPopup:qe,Properties:n.enabled("header_settings")&&n.enabled("show_chart_property_page")?Xe:void 0,SaveLoad:n.enabled("header_saveload")?ft:void 0,Screenshot:n.enabled("header_screenshot")?qt:void 0,SymbolSearch:n.enabled("header_symbol_search")?ia:void 0,Templates:n.enabled("study_templates")?Pa:void 0,Dropdown:tn,UndoRedo:n.enabled("header_undo_redo")?Ja:void 0,Layout:void 0}}},23177:(e,t,a)=>{"use strict";a.d(t,{createStudyTemplateMetaInfo:()=>i,descriptionString:()=>s});var n=a(81851);function i(e,t){return{indicators:e.orderedDataSources(!0).filter(e=>(0,n.isStudy)(e)&&!0).map(e=>({id:e.metaInfo().id,description:e.title(!0,void 0,!0)})),interval:t}}function s(e){const t=new Map;return e.forEach(e=>{const[a,n]=t.get(e.id)||[e.description,0];t.set(e.id,[a,n+1])}),Array.from(t.values()).map(([e,t])=>`${e}${t>1?" x "+t:""}`).join(", ")}},55402:(e,t,a)=>{"use strict";a.d(t,{validateRegistry:()=>l,RegistryProvider:()=>r,registryContextType:()=>c});var n=a(59496),i=a(19036),s=a.n(i);const o=n.createContext({});function l(e,t){s().checkPropTypes(t,e,"context","RegistryContext")}function r(e){const{validation:t,value:a}=e;return l(a,t),n.createElement(o.Provider,{value:a},e.children)}function c(){return o}},37466:(e,t,a)=>{"use strict";a.r(t),a.d(t,{SERIES_ICONS:()=>u});var n=a(8774),i=a(9322),s=a(14409),o=a(97567),l=a(84051),r=a(21610),c=a(65316),h=a(35361),d=a(92628);const u={3:n,0:i,1:s,8:o,9:l,2:r,10:c,12:h,13:d}},20301:(e,t,a)=>{"use strict";a.d(t,{convertImageNameToUrl:()=>s});var n=a(67337),i=a(76861);function s(e){return n.enabled("charting_library_base")||(0,i.isProd)()?"https://www.tradingview.com/x/"+e+"/":window.location.protocol+"//"+window.location.host+"/x/"+e+"/"}},58455:(e,t,a)=>{"use strict";function n(e,t){const a=document.createElement("a");a.style.display="none",a.href=t,a.download=e,a.click()}a.d(t,{downloadFile:()=>n})},24437:(e,t,a)=>{"use strict";a.d(t,{DialogBreakpoints:()=>i});var n=a(96746);const i={ -SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},39362:(e,t,a)=>{"use strict";a.d(t,{SymbolSearchDialogFooter:()=>l});var n=a(59496),i=a(97754),s=a.n(i),o=a(72142);function l(e){const{className:t,children:a}=e;return n.createElement("div",{className:s()(o.footer,t)},a)}},36189:(e,t,a)=>{"use strict";a.d(t,{FavoriteButton:()=>d});var n=a(28353),i=a(59496),s=a(97754),o=a(9745),l=a(20614),r=a(55783),c=a(16842);const h={add:(0,n.t)("Add to favorites"),remove:(0,n.t)("Remove from favorites")};function d(e){const{className:t,isFilled:a,isActive:n,onClick:d,...u}=e;return i.createElement(o.Icon,{...u,className:s(c.favorite,"apply-common-tooltip",a&&c.checked,n&&c.active,t),icon:a?l:r,onClick:d,title:a?h.remove:h.add})}},36947:(e,t,a)=>{"use strict";a.d(t,{useForceUpdate:()=>i});var n=a(59496);const i=()=>{const[,e]=(0,n.useReducer)((e,t)=>e+1,0);return e}},70412:(e,t,a)=>{"use strict";a.d(t,{hoverMouseEventFilter:()=>s,useAccurateHover:()=>o,useHover:()=>i});var n=a(59496);function i(){const[e,t]=(0,n.useState)(!1);return[e,{onMouseOver:function(e){s(e)&&t(!0)},onMouseOut:function(e){s(e)&&t(!1)}}]}function s(e){return!e.currentTarget.contains(e.relatedTarget)}function o(e){const[t,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const t=t=>{if(null===e.current)return;const n=e.current.contains(t.target);a(n)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},81332:(e,t,a)=>{"use strict";a.d(t,{multilineLabelWithIconAndToolboxTheme:()=>o});var n=a(40173),i=a(23576),s=a(63095);const o=(0,n.mergeThemes)(i,s)},51613:(e,t,a)=>{"use strict";a.d(t,{PopupMenuSeparator:()=>l});var n=a(59496),i=a(97754),s=a.n(i),o=a(524);function l(e){const{size:t="normal",className:a}=e;return n.createElement("div",{className:s()(o.separator,"small"===t&&o.small,"normal"===t&&o.normal,"large"===t&&o.large,a)})}},96040:(e,t,a)=>{"use strict";a.d(t,{RemoveButton:()=>h});var n=a(28353),i=a(59496),s=a(97754),o=a(9745),l=a(73366),r=a(73432);const c={remove:(0,n.t)("Remove")};function h(e){const{className:t,isActive:a,onClick:n,onMouseDown:h,title:d,hidden:u,"data-name":m="remove-button",...v}=e;return i.createElement(o.Icon,{...v,"data-name":m,className:s(r.button,"apply-common-tooltip",a&&r.active,u&&r.hidden,t),icon:l,onClick:n,onMouseDown:h,title:d||c.remove})}},40173:(e,t,a)=>{"use strict";function n(e,t,a={}){const n=Object.assign({},t);for(const i of Object.keys(t)){const s=a[i]||i;s in e&&(n[i]=[e[s],t[i]].join(" "))}return n}function i(e,t,a={}){return Object.assign({},e,n(e,t,a))}a.d(t,{weakComposeClasses:()=>n,mergeThemes:()=>i})},15392:e=>{ -e.exports=''},86149:e=>{e.exports=''},8774:e=>{e.exports=''},9322:e=>{e.exports=''},65316:e=>{e.exports=''},14409:e=>{e.exports=''},25382:e=>{ -e.exports=''},92628:e=>{e.exports=''},2323:e=>{e.exports=''},90711:e=>{e.exports=''},97567:e=>{e.exports=''},35361:e=>{e.exports=''},84051:e=>{e.exports=''},60373:e=>{e.exports=''},21610:e=>{ -e.exports=''},74034:e=>{e.exports=''},28289:e=>{e.exports=''},76294:e=>{e.exports=''},62346:e=>{ -e.exports=''},36257:e=>{e.exports=''},17717:e=>{e.exports=''},73366:e=>{e.exports=''},16788:e=>{e.exports=''},37402:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''},50377:e=>{ -e.exports=''},60498:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/runtime.1c5f2159678050219bc6.js b/charting_library/bundles/runtime.1c5f2159678050219bc6.js deleted file mode 100644 index 76d2c352..00000000 --- a/charting_library/bundles/runtime.1c5f2159678050219bc6.js +++ /dev/null @@ -1,5 +0,0 @@ -(()=>{"use strict";var e,a,d,c,f={},t={};function b(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return f[e].call(d.exports,d,d.exports,b),d.loaded=!0,d.exports}b.m=f,b.c=t,e=[],b.O=(a,d,c,f)=>{if(!d){var t=1/0;for(i=0;i=f)&&Object.keys(b.O).every(e=>b.O[e](d[o]))?d.splice(o--,1):(r=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[d,c,f]},b.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return b.d(a,{a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var f=Object.create(null);b.r(f);var t={};a=a||[null,d({}),d([]),d(d)];for(var r=2&c&&e;"object"==typeof r&&!~a.indexOf(r);r=d(r))Object.getOwnPropertyNames(r).forEach(a=>t[a]=()=>e[a]);return t.default=()=>e,b.d(f,t),f},b.d=(e,a)=>{for(var d in a)b.o(a,d)&&!b.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce((a,d)=>(b.f[d](e,a),a),[])),b.u=e=>(({92:"chart-screenshot-hint",139:"get-error-card",507:"study-pane-views",607:"study-property-pages-with-definitions",731:"add-compare-dialog",1583:"lt-pane-views",1584:"context-menu-renderer",1702:"manage-drawings-dialog",1754:"symbol-search-dialog",1859:"go-to-date-dialog-impl",1890:"line-tools-icons",2077:"change-interval-dialog",2183:"study-inputs-pane-views",2306:"floating-toolbars",2377:"hammerjs",2704:"currency-label-menu",2878:"drawing-toolbar",3005:"header-toolbar",3030:"new-confirm-inputs-dialog",3596:"general-property-page",3718:"series-icons-map",4013:"custom-intervals-add-dialog",4079:"series-pane-views",4389:"take-chart-image-impl",4665:"share-chart-to-social-utils",4862:"object-tree-dialog",5009:"load-chart-dialog",5093:"chart-widget-gui",5514:"react",5516:"restricted-toolset",5551:"favorite-drawings-api",6166:"chart-event-hint",6265:"new-edit-object-dialog",6456:"study-market",6631:"study-template-dialog",6780:"source-properties-editor",7078:"general-chart-properties-dialog",7260:"chart-bottom-toolbar",7271:"compare-model",7648:"show-theme-save-dialog",8537:"lt-property-pages-with-definitions",8643:"full-tooltips-popup",8890:"simple-dialog",9039:"lollipop-tooltip-renderer",9374:"symbol-info-dialog-impl",9498:"export-data",9685:"redux"}[e]||e)+"."+{92:"0cb36b737a8e2345986f",137:"70e616fa55bcc40d9349",139:"6704838b79e652cb9b7b",323:"ecccd7e1c64eec3b91d6",507:"0c3c1c23fc8d5c9a196d",607:"1a061f43c2bae5611b49",731:"afe8089e0ca57f411f21",775:"9af72d490eb67ba9c3d7",880:"ca3b809337dfc638a0f4",1075:"2745aa8533e240f5a5aa",1112:"f476c93be59b881d5771",1320:"677eb727863e2a6eb930",1369:"b9add96a0a387a540aeb",1390:"171f18d180605d45f8bd",1553:"6b87affb7e648083ffef",1583:"0d4b5b1bbff664aa4bbd",1584:"c51a5b07782e9509b684",1594:"bdc6e0cee01d43f92b56",1702:"207a6f8164fe2e308a43",1754:"6e76d0b3734157609c5c", -1784:"430d2965a945175c67b1",1859:"2bf2c3f997463af55494",1890:"2ed2617cd536591d9620",2e3:"b72cddb1e241cd53d957",2077:"d42e666ed16322d7bc67",2153:"e970c9d1c83724d33d9d",2183:"5d9d24afd1c80c178f66",2205:"60fcbd491c14c71efecd",2301:"327e64f11055caec2fc9",2306:"9319534e46a9e0511fbc",2316:"71b43056c57e7847daa4",2358:"4592ca9a4bf10a040d6c",2377:"6e30e0c48af40bf2f6c0",2385:"8bd1988e75b528b748b5",2704:"4cf6e944a1702031903f",2731:"0237b0a587f2af599d21",2849:"a11938dbc8cdee0e66c0",2878:"5b28dda6a3b56e3f7110",3005:"cfb40d569cc84fb5a999",3016:"47e1775fafc08b9df6b1",3030:"f334374efc8ad7fe9ea9",3199:"f9bb1cc19bce0ed4e13a",3402:"80214ea16dec09fffbd7",3466:"dccc24adfe6f1de5abb0",3520:"348408865478fac7ab74",3596:"1d681e46e32eeb7bd566",3645:"f1ad30da6dcb4038b28c",3682:"a8229944cef798066931",3718:"5132afb769e08e9e4691",3770:"81522a902e3f65675da1",3921:"9a1e01c5fdc6ee0f0ca6",3944:"8a40a36e9250534cf1fa",4013:"4f43b1b0de65b2b6006c",4017:"417920a2e5fad078d303",4079:"62f0243fcd47ee8bd0a6",4102:"b861355e1fab6acf6b67",4194:"76610f4689826e0a3055",4389:"5287e059e159029b1913",4474:"ea628e251dbcae44ecad",4521:"a87e64e7049d592bdfa3",4665:"6dc882da895288804e15",4707:"4ae5a4c649280232f879",4763:"093701f36a1f22397937",4862:"f7df9d670cdf61d960af",4891:"f1952d185e606d135bad",5009:"35a2a7b957a4a4ecde2f",5093:"3f2a59a4ea5dd17c785c",5175:"735bba58eb417df5f276",5325:"57bc584fcad20ff58020",5514:"0638a74f3ac515095b21",5516:"e7ec0040c08ca2374480",5551:"aa264037a63b28ce72cf",5643:"e60d5a2fcedc55bc4c05",5774:"6084e87dfa3b7403c64e",5802:"a0f79afb86f1c7c6aa3c",5804:"9635459a9bb27efae543",5827:"5b4a4f8dc1802379d22d",5998:"efb09f12cc4162f40b26",6085:"69a003daf8ea012f4dc7",6166:"2772e96b4497fbe5a15b",6265:"833907d615c0a923a83e",6324:"f523168025f5f9f8281b",6363:"9bc4c2079b600a3e9e5f",6416:"0fdddb203273d15400a4",6427:"dee12c08eddd33a30d9a",6456:"dce1b9689542de2ec2c4",6560:"c0e5964119c0286aaeb8",6631:"53a4d00015fbeb7f3529",6780:"cde5cf5388cda1852fe0",6909:"001e6b57323d8b33ee18",7037:"fdc8ef89ee0603668c58",7078:"f56362c75973e41ee012",7176:"49f88f7174a87b80e6a9",7210:"9206636bbf39a902a0a9",7237:"2769aa6f5ca9bfe3d134",7260:"398cd093b8aefc945d7a",7271:"c665421984ce49564c38",7345:"25fdcd5ab611a0cae1c5",7387:"83f8d426a2eccc99da8d",7419:"fd1b88773f6a4c3ba0a3",7427:"9095bbcd96c4c8afbded",7552:"c7af5f2f9d956a4895d7",7635:"94cca27a48b51d6d0730",7648:"68f7692722c11f00b867",7757:"84c3835c6476f72ab779",7836:"7b5a16c4162d195f4fa0",7945:"4c3c0d98ac578db6c7fb",7962:"c7449f8a140d0a2f65c6",8090:"8b952c7d16bf27f94c34",8268:"799053cee91b47677d8e",8303:"6f2e0bbed2ef9bb1568e",8463:"71bed1f64ec4d658c6d9",8537:"d00036916a48adf1092a",8623:"6203559dfd9dc01b02d5",8643:"d80e5db5b5d195e2517b",8879:"8d71f97b906d74e9480c",8883:"edd50cff73a3164330f4",8890:"14e9ec0c02af5afd0347",8986:"9466c2fa15e1e2a0cf9f",9039:"a408d5bf42843ff46541",9042:"d1420ea0738999e3d4cd",9055:"ba2902a9c5c3dca700c1",9129:"e901c0206f411793cfff",9255:"0018f47a90442dff7efa",9283:"480451f47ebcfaeaf111",9289:"762510b2c9450f4fe85c",9309:"fd81d3dccd4271a42203",9374:"39f3d6120103dd6f672c",9498:"9cbc7d11420cd533dc03", -9505:"033a769154fc53ff7eca",9637:"78bb8fe4f37f1cca4c25",9685:"68742a2f70099c28b1ab",9811:"b2796acbfd658ee82791",9837:"80435cf54dcab1a9fa8e"}[e]+".js"),b.miniCssF=e=>5386===e?"5386.eb112967859403067d3d.css":e+"."+{137:"22c8e006552b35610f6b",323:"9be8a16e68975397a842",775:"5c68daa0de7f24551ffd",880:"20be4b9bc2682d856330",1112:"7d160fc0f45e3cce101b",1320:"5842d36462bf91f9bdee",1390:"997773af9c033c657fec",1594:"34c11d6cc8a67dec7867",2e3:"c053338877532ef25f8e",2153:"e1ac3515fad66f2e8cd2",2205:"6db290791e83d7931fc0",2316:"b0ed604f1b75887fab7d",2358:"4aea6b2ceb2dd524ad2f",2385:"a7490fb24192a7cb071d",2731:"ee2fb0e70b811fc1b3df",2849:"6cff163a36f6f60d1983",3402:"82d9d45c3fb1eae5b64d",3466:"6b309c19d1017468da1b",3520:"ad35b3adb3b2a1ac9a36",3645:"9bd37e14840a5d104112",3682:"13811924767b33f096fe",3770:"27c0356c69260f042e33",3921:"d5182cf595ff23538303",3944:"23ad1935ea1ca536bbdb",4017:"0d88d48dec4b694d4517",4102:"915f81c69fc5e4623606",4194:"f5256f014a8f2810c953",4474:"73bf3a3dea54feb8ae44",4521:"fb1ce34b17639871bac0",4763:"574e022a146295a230c1",5175:"6da12b40a46c3dc1bec7",5325:"f73e6a1009e185976981",5643:"e3046972325597a71d4d",5774:"141a04a858b83c24fd16",5802:"92bc0e290d3769e49cfb",5804:"6d5505a6271d865543a7",5998:"f7e5ad8f8bcc58c55639",6324:"365b73847767a54140ab",6363:"455be323006da46e86ba",6416:"a5a589cf5a0320e1d8ef",6427:"0426a3a24088f56e85f6",6560:"f01881003ac6fef45147",6909:"8cf1749a0435c38f0042",7037:"6c0a17273325fb793ea5",7176:"90e52d563ea0d904aceb",7237:"c5b4b4a1c530e5649853",7345:"f2d6787a34679ca6bb6e",7419:"fe8ff7c7e5d60ec6a2aa",7427:"3632e181ea85cc112694",7552:"889d45f5aa64d5c7293b",7635:"68f0d52fbb176c87eb48",7757:"a33871177538e5af0eea",7836:"e76c27a228c01ba0f51a",7945:"2d37a0fa10623d3390a6",7962:"5dc755e884297017b802",8090:"9f6f63205b18b2006aae",8268:"22931d534c7e1ef01eb1",8303:"d7429ccb60ab73751723",8463:"eb12cff5d8de975762fb",8879:"79825d729c8f4d360834",8986:"a6ccf711a394e8924fa1",9042:"5e6d175178eb40bf9d3c",9055:"3b864f08d4f696c7bf5e",9129:"fbb750fd312778403036",9283:"361babf6593344d18b51",9289:"5f9496920ea48da5931b",9309:"aceadf5355c94350ec2c",9637:"e1a8d0ef8a2a124944fd"}[e]+".css",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),b.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},b.l=(e,a,d,f)=>{if(c[e])c[e].push(a);else{var t,r;if(void 0!==d)for(var o=document.getElementsByTagName("script"),n=0;n{t.onerror=t.onload=null,clearTimeout(s);var f=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach(e=>e(d)),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),r&&document.head.appendChild(t)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),b.p="bundles/",b.p=window.WEBPACK_PUBLIC_PATH||b.p;var r,o,n=b.e,i=Object.create(null);b.e=function(e){if(!i[e]){i[e]=function e(a,d){return n(a).catch((function(){return new Promise((function(c){var f=function(){window.removeEventListener("online",f,!1),!1===navigator.onLine?window.addEventListener("online",f,!1):c(d<2?e(a,d+1):n(a))};setTimeout(f,d*d*1e3)}))}))}(e,0);var a=function(){delete i[e]};i[e].then(a,a)}return i[e]},r=e=>new Promise((a,d)=>{var c=b.miniCssF(e),f=b.p+c;if(((e,a)=>{for(var d=document.getElementsByTagName("link"),c=0;c{var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onerror=f.onload=t=>{if(f.onerror=f.onload=null,"load"===t.type)d();else{var b=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.href||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.code="CSS_CHUNK_LOAD_FAILED",o.type=b,o.request=r,f.parentNode.removeChild(f),c(o)}},f.href=a,0!==f.href.indexOf(window.location.origin+"/")&&(f.crossOrigin="anonymous"),document.head.appendChild(f)})(e,f,a,d)}),o={3666:0},b.f.miniCss=(e,a)=>{o[e]?a.push(o[e]):0!==o[e]&&{137:1,323:1,775:1,880:1,1112:1,1320:1,1390:1,1594:1,2e3:1,2153:1,2205:1,2316:1,2358:1,2385:1,2731:1,2849:1,3402:1,3466:1,3520:1,3645:1,3682:1,3770:1,3921:1,3944:1,4017:1,4102:1,4194:1,4474:1,4521:1,4763:1,5175:1,5325:1,5643:1,5774:1,5802:1,5804:1,5998:1,6324:1,6363:1,6416:1,6427:1,6560:1,6909:1,7037:1,7176:1,7237:1,7345:1,7419:1,7427:1,7552:1,7635:1,7757:1,7836:1,7945:1,7962:1,8090:1,8268:1,8303:1,8463:1,8879:1,8986:1,9042:1,9055:1,9129:1,9283:1,9289:1,9309:1,9637:1}[e]&&a.push(o[e]=r(e).then(()=>{o[e]=0},a=>{throw delete o[e],a}))},(()=>{var e={3666:0,5386:0};b.f.j=(a,d)=>{var c=b.o(e,a)?e[a]:void 0;if(0!==c)if(c)d.push(c[2]);else if(/^(1(5(53|83|84)|7(02|54|84)|8(57|59|90)|075|297|369|39)|2(3(01|06|77)|077|183|704|878)|3(0(05|16|30)|199|596|718)|4(013|079|389|665|707|862|891)|5(0(09|7|93)|5(14|16|51)|827)|6(07|085|166|265|456|631|780)|7(2(10|60|71)|078|31|387|648)|8((62|64|88)3|537|890)|9((25|50|68)5|039|2|374|498|811|837))$/.test(a)){var f=new Promise((d,f)=>c=e[a]=[d,f]);d.push(c[2]=f);var t=b.p+b.u(a),r=new Error;b.l(t,d=>{if(b.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){ -var f=d&&("load"===d.type?"missing":d.type),t=d&&d.target&&d.target.src;r.message="Loading chunk "+a+" failed.\n("+f+": "+t+")",r.name="ChunkLoadError",r.type=f,r.request=t,c[1](r)}},"chunk-"+a,a)}else e[a]=0},b.O.j=a=>0===e[a];var a=(a,d)=>{var c,f,[t,r,o]=d,n=0;if(t.some(a=>0!==e[a])){for(c in r)b.o(r,c)&&(b.m[c]=r[c]);if(o)var i=o(b)}for(a&&a(d);n{const{miniCssF:e}=b;b.miniCssF=a=>"rtl"===document.dir?e(a).replace(/\.css$/,".rtl.css"):e(a)})()})(); \ No newline at end of file diff --git a/charting_library/bundles/runtime.e861c3f73de2a48d47a3.js b/charting_library/bundles/runtime.e861c3f73de2a48d47a3.js new file mode 100644 index 00000000..eac3108d --- /dev/null +++ b/charting_library/bundles/runtime.e861c3f73de2a48d47a3.js @@ -0,0 +1,7 @@ +(()=>{"use strict";var e,a,d,c,f={},b={};function t(e){var a=b[e];if(void 0!==a)return a.exports;var d=b[e]={id:e,loaded:!1,exports:{}};return f[e].call(d.exports,d,d.exports,t),d.loaded=!0,d.exports}t.m=f,t.c=b,t.amdD=function(){throw new Error("define cannot be used indirect")},e=[],t.O=(a,d,c,f)=>{if(!d){var b=1/0;for(n=0;n=f)&&Object.keys(t.O).every(e=>t.O[e](d[o]))?d.splice(o--,1):(r=!1,f0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[d,c,f]},t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,t.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var f=Object.create(null);t.r(f);var b={};a=a||[null,d({}),d([]),d(d)];for(var r=2&c&&e;"object"==typeof r&&!~a.indexOf(r);r=d(r))Object.getOwnPropertyNames(r).forEach(a=>b[a]=()=>e[a]);return b.default=()=>e,t.d(f,b),f},t.d=(e,a)=>{for(var d in a)t.o(a,d)&&!t.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((a,d)=>(t.f[d](e,a),a),[])),t.u=e=>(({92:"chart-screenshot-hint",139:"get-error-card",254:"profile-api",273:"alert-editor-impl",507:"study-pane-views",607:"study-property-pages-with-definitions",731:"add-compare-dialog",850:"six-months-banner",870:"subscription-has-changed-dialog",988:"use-prism-highlight-all-under",1566:"change-plan-dialog-impl",1583:"lt-pane-views",1584:"context-menu-renderer",1611:"last-chance-banner",1653:"trial-message-success-dialog",1662:"alerts-push-dialog",1702:"manage-drawings-dialog",1729:"jquery",1754:"symbol-search-dialog",1854:"early-bird-banner",1859:"go-to-date-dialog-impl",1890:"line-tools-icons",2077:"change-interval-dialog",2112:"lazy-velocity",2183:"study-inputs-pane-views",2306:"floating-toolbars",2377:"hammerjs",2465:"alert-dialog",2704:"currency-label-menu",2878:"drawing-toolbar",3005:"header-toolbar",3030:"new-confirm-inputs-dialog",3091:"show-warning-alerts-max-total-count-exceeded",3441:"alert-utils-has-user-access-to-data-source",3596:"general-property-page",3646:"tvscript_chunk",3718:"series-icons-map",4013:"custom-intervals-add-dialog",4079:"series-pane-views",4081:"snowplow-tracker",4278:"trial-notification",4291:"global-toasts",4389:"take-chart-image-impl",4632:"fullscreen-image-dialog-impl",4665:"share-chart-to-social-utils",4816:"six-months-dialog",4834:"create-dialog",4862:"object-tree-dialog",5009:"load-chart-dialog",5093:"chart-widget-gui",5246:"gopro-dialog",5514:"react",5516:"restricted-toolset",5551:"favorite-drawings-api",6066:"go-to-tradingview-referral-dialog",6123:"signin-dialog",6166:"chart-event-hint",6265:"new-edit-object-dialog",6456:"study-market",6631:"study-template-dialog",6780:"source-properties-editor",7078:"general-chart-properties-dialog",7136:"alerts-trigger-warning-dialog-impl", +7260:"chart-bottom-toolbar",7271:"compare-model",7274:"support-dialog-impl",7550:"one-usd-banner",7648:"show-theme-save-dialog",7713:"blackfriday-dialog-impl",8132:"start-free-trial-bt-impl",8158:"price-alerts-dispatcher",8357:"gopro-order-dialog",8435:"early-bird-dialog",8477:"support-wizard-slow-warning",8537:"lt-property-pages-with-definitions",8606:"email-dialog",8643:"full-tooltips-popup",8869:"cookies-notification",8890:"simple-dialog",8983:"privacy-preference-dialog",9039:"lollipop-tooltip-renderer",9144:"start-free-trial-impl",9201:"warning-dialog",9347:"upgradeDialog",9374:"symbol-info-dialog-impl",9498:"export-data",9685:"redux"}[e]||e)+"."+{92:"49f947cd29db6dfcf59f",137:"70e616fa55bcc40d9349",139:"6704838b79e652cb9b7b",254:"30da856643b32b7a502f",273:"31bd1bd6a919d8561787",279:"758fadf3bf89fdb0d564",323:"ecccd7e1c64eec3b91d6",507:"0c3c1c23fc8d5c9a196d",509:"c1c6965162c68e0f586e",607:"1a061f43c2bae5611b49",638:"a7dbcc3801adb93fdc91",724:"748f2432115125fe1d4c",731:"2967dfb4ca0b9cbae879",775:"9af72d490eb67ba9c3d7",850:"956ef2d7d4cd4dd382aa",870:"88a72a8c6db5fd268345",880:"ca3b809337dfc638a0f4",957:"b81ceada6453e45fae9b",976:"b9b0b5d6871d69da1633",988:"547a9e83b408bfc4d1a7",1e3:"03457f0bee8e78a74471",1065:"9c8000e789dbd5b05346",1112:"f476c93be59b881d5771",1201:"618e324514476ad87261",1253:"5795bcbfee736a84b675",1320:"677eb727863e2a6eb930",1333:"26b023a34633001097fd",1369:"b9add96a0a387a540aeb",1390:"171f18d180605d45f8bd",1424:"b1f0f8e56e95b7b7d401",1482:"31d88995d3950d354e71",1536:"70b2854033fe86ff8887",1550:"69cf45361956d097fdfd",1553:"6b87affb7e648083ffef",1566:"010252ca2577d034ddb4",1583:"64f0e2787aaea98f864f",1584:"e8aa606750391369d706",1594:"4ef8130762f60c777086",1611:"0210ab3cfb4e94797db1",1653:"dad87576a21c86fab7b8",1662:"50e30fb052b79616ce1d",1692:"2532541eb22f353c5678",1702:"207a6f8164fe2e308a43",1726:"1678e798f02e4004ad67",1729:"06844b74f8270fb0698b",1754:"f668aac5ec3ae2fec62a",1854:"63639de641b064c620c2",1859:"9a15fd8109d81fcece3b",1865:"4e998517f85fc2f88c03",1890:"2ed2617cd536591d9620",1946:"c0a666d2f0aa1faa6769",1999:"29f76372cc09511205c1",2e3:"b72cddb1e241cd53d957",2006:"a3735fac342916df24f8",2077:"79c9929e7fd0b7e6c245",2112:"c4899589f501eea00e5f",2153:"e970c9d1c83724d33d9d",2183:"5d9d24afd1c80c178f66",2205:"60fcbd491c14c71efecd",2267:"1c1aadbdc7cef6c34372",2288:"6028f4f8b8e02625645e",2306:"eba8db3eef8c6a5ad047",2331:"3b08f9cb7e919f979749",2340:"eded834f178411ea4b08",2358:"4592ca9a4bf10a040d6c",2377:"6e30e0c48af40bf2f6c0",2454:"68d0887ef7e51d7bc269",2465:"42e245eb82504c55c632",2502:"82e28010896833a0f183",2525:"0781b5a5eb9d1d257cba",2624:"b4c22d1b6ddc78d2f02b",2704:"ccab0620dccaa2883306",2731:"0237b0a587f2af599d21",2849:"a11938dbc8cdee0e66c0",2878:"3ac6efdaf16c335ac4ea",2888:"a464709527506c8c191d",2917:"f809088053f9a1f9296c",2947:"01756d0de30a0c1fdebe",3005:"6e0f6b8f50c83c8a6dc1",3014:"516162fd8b06ec2cad15",3030:"74701800dcf34f21dcae",3091:"f45f575da01e51b48505",3118:"77b467b2e4d35971b370",3245:"428fb1c689b8d7beb80e",3304:"02b3db44475a7ac3c3c1",3441:"0e28597ad557f8895261", +3466:"dccc24adfe6f1de5abb0",3520:"348408865478fac7ab74",3596:"0218f1b33618fc491a70",3645:"f1ad30da6dcb4038b28c",3646:"e9768cd8eb72616bfafa",3682:"a8229944cef798066931",3713:"b95b2c4900f0475dfe3d",3718:"5132afb769e08e9e4691",3738:"66fe7fbb64065ac70351",3770:"81522a902e3f65675da1",3812:"21e37b91c0c961133d11",3848:"f7974a94fafe876af4a8",3921:"9a1e01c5fdc6ee0f0ca6",3944:"8a40a36e9250534cf1fa",4002:"3b0ae1c4e1bdb1e18c74",4013:"920509097ccec051c51a",4017:"417920a2e5fad078d303",4079:"62f0243fcd47ee8bd0a6",4081:"35ffaa6b100e0786831a",4102:"b861355e1fab6acf6b67",4278:"e9b6d98c2e7608050f98",4291:"4e2377e6bac59b8285e6",4364:"857d262773326a44c55e",4389:"56cd69b21fd8de87abad",4408:"af6bca1aab8fa68fdd43",4474:"ea628e251dbcae44ecad",4497:"6e80cfc4fb3ac13bba9e",4521:"a87e64e7049d592bdfa3",4632:"96661b3d18a6fe1cf637",4634:"c188c725b1b19bc04e1b",4665:"6dc882da895288804e15",4707:"4ae5a4c649280232f879",4763:"093701f36a1f22397937",4816:"2397e41c2cae1012afe5",4834:"cf7e24e193258f0fb5c7",4862:"eecc10d129b521b3edf1",4956:"807348996e7d22c32aa7",5009:"cd5fbcdffc1ad4008003",5030:"0e1956c92fe3fa297f48",5064:"0a65804397817bb90593",5069:"0800c157c988601e62e2",5093:"1cae41f1cb32b31857bc",5113:"fcc91cece7b4ffa0023c",5175:"735bba58eb417df5f276",5246:"10fd967147ea7ef9c57b",5298:"60671b80cca587a5f5b5",5325:"57bc584fcad20ff58020",5376:"2aa38050f70a10c75dee",5380:"7d2545642ed8ef6e0e82",5399:"83a54192bb2eedfdd124",5423:"7c2e49576fea7390d5de",5514:"0638a74f3ac515095b21",5516:"6e034375d57dd0341299",5551:"aa264037a63b28ce72cf",5618:"27fd2c07741e7a2f3e29",5643:"e60d5a2fcedc55bc4c05",5708:"b097c037606468474303",5733:"7fcd099615d6cd6069d4",5774:"6084e87dfa3b7403c64e",5804:"9635459a9bb27efae543",5827:"5b4a4f8dc1802379d22d",5835:"4b5da94bb7f9da9a57da",5904:"4b6ec7dc2c8fd9587804",5911:"dd8599b88f4b1a461b81",5971:"0623308ee8dbe647126c",5995:"3a632f64335891f1e50f",5998:"efb09f12cc4162f40b26",6055:"2fa2dff6b27ad1aa8299",6066:"3ff513f8887e148c67d1",6123:"e9f4471305a72e10e137",6166:"7174ec43ce875310edd1",6265:"fb0b794a73b3e6d05f6b",6363:"9bc4c2079b600a3e9e5f",6416:"0fdddb203273d15400a4",6427:"dee12c08eddd33a30d9a",6438:"d13cf32db05c4395beed",6456:"a71cabfe36a376ab73a2",6464:"874fc47e0ddcdb6b552b",6475:"249a3b34f1b557decee6",6602:"a297e70e35cceabe17ef",6631:"45a0e337870e6bb57e1b",6708:"5c1aad645dfbf21ba85f",6750:"49a2d2180a788426f76b",6767:"2e85501f065b2764ab16",6780:"cde5cf5388cda1852fe0",6895:"03e2bd6c2e3a4f42c9c6",6909:"001e6b57323d8b33ee18",6973:"1014b5c98b0834d66915",7078:"c03cba9c7cf0c46b99e6",7136:"9bffee22d66ddcf75e00",7232:"8099e0e621f86db28552",7237:"2769aa6f5ca9bfe3d134",7245:"fd3f23a25539f05c34b6",7260:"61a521bae909ba6271cb",7271:"c665421984ce49564c38",7274:"a2bd4a673fa2a215cf0b",7345:"25fdcd5ab611a0cae1c5",7387:"83f8d426a2eccc99da8d",7404:"8ea65939d80e9ab20e73",7419:"fd1b88773f6a4c3ba0a3",7427:"9095bbcd96c4c8afbded",7550:"bf548661215c404433e5",7552:"c7af5f2f9d956a4895d7",7635:"94cca27a48b51d6d0730",7648:"68f7692722c11f00b867",7678:"2a02d7fc5a1d8b8dff1f",7713:"376e62a20f73b99b196d",7757:"84c3835c6476f72ab779",7836:"7b5a16c4162d195f4fa0", +7945:"4c3c0d98ac578db6c7fb",7962:"c7449f8a140d0a2f65c6",8054:"cf3ab715ef2d49a4a8d9",8090:"8b952c7d16bf27f94c34",8132:"40d3f4e46da06f9c678e",8138:"f674ab891b0a0a00855d",8158:"416bae3f764ba35699c2",8178:"183edf2ef18efa241210",8247:"757a59b60e996e95ef8a",8268:"799053cee91b47677d8e",8303:"6f2e0bbed2ef9bb1568e",8357:"a9d6c7f1fa03844e1cfb",8367:"298b5be2695de9b33461",8435:"b9daeb69416b2c6d8d50",8463:"71bed1f64ec4d658c6d9",8477:"a8c40c040087722de686",8537:"d00036916a48adf1092a",8606:"11c06641e902f3048b83",8623:"6203559dfd9dc01b02d5",8643:"7ab1067f92b52f07297b",8673:"cddd661446f4cbe31273",8756:"2d53aeb4b3379872f278",8844:"ca8518ea1562ebfc36a3",8869:"9ed1e7a17da61937dc4e",8879:"8d71f97b906d74e9480c",8890:"f98fb16a5780aa202541",8948:"eb5e6f109f33f4111472",8983:"0012f6ddb64dd5553a72",8986:"9466c2fa15e1e2a0cf9f",8994:"447098231daab300c4b8",9039:"0ceff3b7ae8ca6b64473",9040:"ef836fce63b5692a00a3",9042:"d1420ea0738999e3d4cd",9055:"ba2902a9c5c3dca700c1",9129:"e901c0206f411793cfff",9144:"46ed8d43707329dbf0fc",9201:"ab50d177e34bd851e70f",9255:"0018f47a90442dff7efa",9283:"480451f47ebcfaeaf111",9289:"762510b2c9450f4fe85c",9297:"b59dea783e20a88bda2a",9347:"b5c7e23d29874316e21c",9374:"89d39de5fb3e5ca4542b",9410:"7747d61cf2013fe29ade",9498:"9cbc7d11420cd533dc03",9565:"0041705894c206a5f922",9570:"2652dc8a04265ae0157e",9593:"66d8a667756c059bbcbe",9637:"78bb8fe4f37f1cca4c25",9685:"68742a2f70099c28b1ab",9725:"34bc625d639194ea9363",9957:"6106d5c99e3556405b69",9961:"7b1961d55af7c926c251"}[e]+".js"),t.miniCssF=e=>5386===e?"5386.eb112967859403067d3d.css":e+"."+{137:"22c8e006552b35610f6b",279:"9540b575371a0ecfc0bc",323:"9be8a16e68975397a842",509:"2aa31cf384069ff4cd5e",724:"e580ce07c322679b0578",775:"5c68daa0de7f24551ffd",880:"20be4b9bc2682d856330",957:"7e1da618288b536c77d2",976:"93143479d06a7878a2a0",1065:"c486e71c0f4ad53d97a0",1112:"7d160fc0f45e3cce101b",1253:"80f3612c2c0c60fc7435",1320:"5842d36462bf91f9bdee",1333:"66628a51e9c9fe6d23a6",1390:"997773af9c033c657fec",1424:"d659ebb641f9bc73fab3",1692:"6d50aa9403d6d71eae69",1726:"a9cb37f68d1221bfa750",1729:"6e10c6b53c02d0af602e",1865:"9d9f2c055165380e13c9",1999:"41e6d020269ba779f363",2e3:"c053338877532ef25f8e",2006:"21f12914e3a7a7515a25",2153:"e1ac3515fad66f2e8cd2",2205:"6db290791e83d7931fc0",2267:"47b8ff4cd471e21cabab",2288:"d3106e5fe660e6e0712c",2340:"36ca0d43eb91dba77fa4",2358:"4aea6b2ceb2dd524ad2f",2525:"1b05122f135a2c7f4818",2624:"f55c13c46f516986e4a2",2731:"ee2fb0e70b811fc1b3df",2849:"6cff163a36f6f60d1983",2888:"658aee2f9aacb50e4bc9",3118:"c14bad0abc6803f7cc64",3466:"6b309c19d1017468da1b",3520:"ad35b3adb3b2a1ac9a36",3645:"9bd37e14840a5d104112",3682:"13811924767b33f096fe",3713:"d298aa7c89e61a75e4e2",3770:"27c0356c69260f042e33",3848:"d011e1be1e35f2c09044",3921:"d5182cf595ff23538303",3944:"23ad1935ea1ca536bbdb",4017:"0d88d48dec4b694d4517",4102:"915f81c69fc5e4623606",4408:"433afc31cc517d90040c",4474:"73bf3a3dea54feb8ae44",4497:"3ced329964413f9bf307",4521:"fb1ce34b17639871bac0",4634:"2a4010396de3915172a8",4763:"574e022a146295a230c1",4956:"5be5245cef3e7dc84a04",5030:"f9501920ecfa388929c3", +5064:"1f384128ead8182b3a33",5069:"3451a537bfe99e8c44be",5113:"955b6e89f78634daaa87",5175:"6da12b40a46c3dc1bec7",5298:"90af5ad1a39fe163f644",5325:"f73e6a1009e185976981",5380:"0fcbeffa9d76b47d7552",5399:"5b37bdc7d523b1c795fb",5618:"8a62799c789da2a8c8a0",5643:"e3046972325597a71d4d",5708:"c3364a7566b555162c99",5733:"ff2d007e3096cc677a13",5774:"141a04a858b83c24fd16",5804:"6d5505a6271d865543a7",5835:"ed17059c36bd9c957c54",5904:"25a33d6d7b0935e49721",5911:"25d75d2a641c68537541",5971:"b0e199fd9ea9b0b05ed7",5998:"f7e5ad8f8bcc58c55639",6363:"455be323006da46e86ba",6416:"a5a589cf5a0320e1d8ef",6427:"0426a3a24088f56e85f6",6464:"654bf43eb72d501be562",6708:"c5991a4180881ef8eaec",6750:"9ee7b735c78b915db6f7",6767:"4ce0a318e0eb8861d505",6895:"5f890042edec19c4b9d3",6909:"8cf1749a0435c38f0042",7232:"eeabaf3541dfcb1398bb",7237:"c5b4b4a1c530e5649853",7245:"1a82c73b622453a96bf6",7345:"f2d6787a34679ca6bb6e",7419:"fe8ff7c7e5d60ec6a2aa",7427:"3632e181ea85cc112694",7552:"889d45f5aa64d5c7293b",7635:"68f0d52fbb176c87eb48",7757:"a33871177538e5af0eea",7836:"e76c27a228c01ba0f51a",7945:"2d37a0fa10623d3390a6",7962:"5dc755e884297017b802",8054:"34c11d6cc8a67dec7867",8090:"9f6f63205b18b2006aae",8138:"26729089e9f03458af35",8247:"92c794a740a939962228",8268:"22931d534c7e1ef01eb1",8303:"d7429ccb60ab73751723",8367:"7c0a1d12f9627a67aa36",8463:"eb12cff5d8de975762fb",8756:"2b636aa87bb90a37e76d",8844:"902c220eb319c5a7b057",8879:"79825d729c8f4d360834",8948:"b703bd84d23db0af187d",8986:"a6ccf711a394e8924fa1",9042:"5e6d175178eb40bf9d3c",9055:"3b864f08d4f696c7bf5e",9129:"fbb750fd312778403036",9283:"361babf6593344d18b51",9289:"5f9496920ea48da5931b",9297:"20467c2b9cdcf6544815",9410:"cede90b73dc7bda7578a",9565:"c69166c3f0d2b77c3979",9570:"6e130410c18a92e289cd",9593:"734c4bb23892ab13dac8",9637:"e1a8d0ef8a2a124944fd",9961:"9ec3499981d0cb5615f7"}[e]+".css",t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},t.l=(e,a,d,f)=>{if(c[e])c[e].push(a);else{var b,r;if(void 0!==d)for(var o=document.getElementsByTagName("script"),i=0;i{b.onerror=b.onload=null,clearTimeout(s);var f=c[e];if(delete c[e],b.parentNode&&b.parentNode.removeChild(b),f&&f.forEach(e=>e(d)),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload), +r&&document.head.appendChild(b)}},t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.p="bundles/",t.p=window.WEBPACK_PUBLIC_PATH||t.p;var r,o,i=t.e,n=Object.create(null);t.e=function(e){if(!n[e]){n[e]=function e(a,d){return i(a).catch((function(){return new Promise((function(c){var f=function(){window.removeEventListener("online",f,!1),!1===navigator.onLine?window.addEventListener("online",f,!1):c(d<2?e(a,d+1):i(a))};setTimeout(f,d*d*1e3)}))}))}(e,0);var a=function(){delete n[e]};n[e].then(a,a)}return n[e]},r=e=>new Promise((a,d)=>{var c=t.miniCssF(e),f=t.p+c;if(((e,a)=>{for(var d=document.getElementsByTagName("link"),c=0;c{var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onerror=f.onload=b=>{if(f.onerror=f.onload=null,"load"===b.type)d();else{var t=b&&("load"===b.type?"missing":b.type),r=b&&b.target&&b.target.href||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.code="CSS_CHUNK_LOAD_FAILED",o.type=t,o.request=r,f.parentNode.removeChild(f),c(o)}},f.href=a,0!==f.href.indexOf(window.location.origin+"/")&&(f.crossOrigin="anonymous"),document.head.appendChild(f)})(e,f,a,d)}),o={3666:0},t.f.miniCss=(e,a)=>{o[e]?a.push(o[e]):0!==o[e]&&{137:1,279:1,323:1,509:1,724:1,775:1,880:1,957:1,976:1,1065:1,1112:1,1253:1,1320:1,1333:1,1390:1,1424:1,1692:1,1726:1,1729:1,1865:1,1999:1,2e3:1,2006:1,2153:1,2205:1,2267:1,2288:1,2340:1,2358:1,2525:1,2624:1,2731:1,2849:1,2888:1,3118:1,3466:1,3520:1,3645:1,3682:1,3713:1,3770:1,3848:1,3921:1,3944:1,4017:1,4102:1,4408:1,4474:1,4497:1,4521:1,4634:1,4763:1,4956:1,5030:1,5064:1,5069:1,5113:1,5175:1,5298:1,5325:1,5380:1,5399:1,5618:1,5643:1,5708:1,5733:1,5774:1,5804:1,5835:1,5904:1,5911:1,5971:1,5998:1,6363:1,6416:1,6427:1,6464:1,6708:1,6750:1,6767:1,6895:1,6909:1,7232:1,7237:1,7245:1,7345:1,7419:1,7427:1,7552:1,7635:1,7757:1,7836:1,7945:1,7962:1,8054:1,8090:1,8138:1,8247:1,8268:1,8303:1,8367:1,8463:1,8756:1,8844:1,8879:1,8948:1,8986:1,9042:1,9055:1,9129:1,9283:1,9289:1,9297:1,9410:1,9565:1,9570:1,9593:1,9637:1,9961:1}[e]&&a.push(o[e]=r(e).then(()=>{o[e]=0},a=>{throw delete o[e],a}))},(()=>{var e={3666:0,5386:0};t.f.j=(a,d)=>{var c=t.o(e,a)?e[a]:void 0 +;if(0!==c)if(c)d.push(c[2]);else if(/^(1(3(20|33|7|90)|[08]65|112|253|424|692|726|999)|2(00[06]|2(05|67|88)|153|340|358|525|624|731|79|849|888)|3(6(45|66|82)|118|23|466|520|713|770|848|921|944)|4(4(08|74|97)|017|102|521|634|763|956)|5(0(30|64|69|9)|3(25|80|86|99)|7(08|33|74)|9(04|11|71|98)|113|175|298|618|643|804|835)|6(4(16|27|64)|7(08|50|67)|363|895|909)|7(2(32|37|4|45)|75(|7)|(34|63|94)5|419|427|552|836|962)|8(8(0|44|79)|(13|26|94)8|054|090|247|303|367|463|756|986)|9(2(83|89|97)|5(65|7|70|93)|042|055|129|410|637|76|961))$/.test(a))e[a]=0;else{var f=new Promise((d,f)=>c=e[a]=[d,f]);d.push(c[2]=f);var b=t.p+t.u(a),r=new Error;t.l(b,d=>{if(t.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var f=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;r.message="Loading chunk "+a+" failed.\n("+f+": "+b+")",r.name="ChunkLoadError",r.type=f,r.request=b,c[1](r)}},"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,d)=>{var c,f,[b,r,o]=d,i=0;if(b.some(a=>0!==e[a])){for(c in r)t.o(r,c)&&(t.m[c]=r[c]);if(o)var n=o(t)}for(a&&a(d);i{const{miniCssF:e}=t;t.miniCssF=a=>"rtl"===document.dir?e(a).replace(/\.css$/,".rtl.css"):e(a)})()})(); \ No newline at end of file diff --git a/charting_library/bundles/show-warning-alerts-max-total-count-exceeded.f45f575da01e51b48505.js b/charting_library/bundles/show-warning-alerts-max-total-count-exceeded.f45f575da01e51b48505.js new file mode 100644 index 00000000..d9d1dde4 --- /dev/null +++ b/charting_library/bundles/show-warning-alerts-max-total-count-exceeded.f45f575da01e51b48505.js @@ -0,0 +1,8 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3091],{2742:e=>{e.exports={body:"body-sm3KMBIc"}},13520:e=>{e.exports={header:"header-Dtkdqc5O",close:"close-Dtkdqc5O"}},82561:e=>{e.exports={message:"message-d3vP5HJI",error:"error-d3vP5HJI"}},6539:e=>{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},16178:e=>{e.exports={"close-button":"close-button-WaM0Er9G","close-icon":"close-icon-WaM0Er9G","button-l":"button-l-WaM0Er9G","button-m":"button-m-WaM0Er9G","button-s":"button-s-WaM0Er9G","button-xs":"button-xs-WaM0Er9G","button-xxs":"button-xxs-WaM0Er9G"}},37062:e=>{e.exports={footer:"footer-hDDUbPct"}},17683:e=>{e.exports={dialog:"dialog-Nh5Cqdeo",rounded:"rounded-Nh5Cqdeo",shadowed:"shadowed-Nh5Cqdeo",fullscreen:"fullscreen-Nh5Cqdeo",darker:"darker-Nh5Cqdeo",backdrop:"backdrop-Nh5Cqdeo"}},21935:e=>{e.exports={wrap:"wrap-2oYqsh7S",container:"container-2oYqsh7S",backdrop:"backdrop-2oYqsh7S",modal:"modal-2oYqsh7S",dialog:"dialog-2oYqsh7S"}},87359:e=>{e.exports={modal:"modal-yz1wLnOP",crossButton:"crossButton-yz1wLnOP",dialog:"dialog-yz1wLnOP",body:"body-yz1wLnOP",header:"header-yz1wLnOP",warningIcon:"warningIcon-yz1wLnOP",footerButtons:"footerButtons-yz1wLnOP",cancelButton:"cancelButton-yz1wLnOP"}},71036:(e,t,n)=>{"use strict";n.d(t,{SquareAnchorButton:()=>w,SquareButton:()=>m});var o=n(59496),r=n(97754),s=n(95604),i=n(9745),a=n(6539),c=n.n(a);function l(e){const{color:t="brand",size:n="medium",variant:o="primary",stretch:i=!1,icon:a,startIcon:l,endIcon:d,iconOnly:u=!1,className:h,isGrouped:p,cellState:m,disablePositionAdjustment:v=!1}=e,w=function(e){let t="";return 0!==e&&(1&e&&(t=r(t,c()["no-corner-top-left"])),2&e&&(t=r(t,c()["no-corner-top-right"])),4&e&&(t=r(t,c()["no-corner-bottom-right"])),8&e&&(t=r(t,c()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(m)) +;return r(h,c().button,c()["size-"+n],c()["color-"+t],c()["variant-"+o],i&&c().stretch,(a||l)&&c()["with-start-icon"],d&&c()["with-end-icon"],u&&c()["icon-only"],w,p&&c().grouped,p&&!v&&c()["adjust-position"],p&&m.isTop&&c()["first-row"],p&&m.isLeft&&c()["first-col"])}function d(e){const{size:t,startIcon:n,icon:r,iconOnly:s,children:a,endIcon:l}=e,d=null!=n?n:r;return o.createElement(o.Fragment,null,d&&"xsmall"!==t&&o.createElement(i.Icon,{icon:d,className:c()["start-icon-wrap"]}),a&&o.createElement("span",{className:c().content},a),l&&!s&&"xsmall"!==t&&o.createElement(i.Icon,{icon:l,className:c()["end-icon-wrap"]}))}var u=n(86332),h=n(90186);function p(e){const{className:t,color:n,variant:o,size:r,stretch:s,animated:i,icon:a,iconOnly:c,startIcon:l,endIcon:d,...u}=e;return{...u,...(0,h.filterDataProps)(e),...(0,h.filterAriaProps)(e)}}function m(e){const{reference:t,...n}=e,{isGrouped:r,cellState:s,disablePositionAdjustment:i}=(0,o.useContext)(u.ControlGroupContext),a=l({...n,isGrouped:r,cellState:s,disablePositionAdjustment:i});return o.createElement("button",{...p(n),className:a,ref:t},o.createElement(d,{...n}))}function v(e){const{className:t,color:n,variant:o,size:r,stretch:s,animated:i,icon:a,iconOnly:c,startIcon:l,endIcon:d,...u}=e;return{...u,...(0,h.filterDataProps)(e),...(0,h.filterAriaProps)(e)}}function w(e){const{reference:t}=e,{isGrouped:n,cellState:r,disablePositionAdjustment:s}=(0,o.useContext)(u.ControlGroupContext),i=l({...e,isGrouped:n,cellState:r,disablePositionAdjustment:s});return o.createElement("a",{...v(e),className:i,ref:t},o.createElement(d,{...e}))}},35582:(e,t,n)=>{"use strict";n.d(t,{CloseButton:()=>m});var o=n(59496),r=n(97754),s=n(9745),i=n(64120),a=n(12565),c=n(95781),l=n(7801),d=n(33584),u=n(16178),h=n.n(u);function p(e="l"){switch(e){case"l":return i;case"m":return a;case"s":return c;case"xs":return l;case"xxs":return d;default:return a}}const m=o.forwardRef((e,t)=>{const{className:n,size:i,...a}=e,c=r(h()["close-button"],h()["button-"+i],n);return o.createElement("button",{...a,type:"button",className:c,ref:t},o.createElement(s.Icon,{icon:p(i),className:h()["close-icon"],"aria-hidden":!0}))})},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>o});const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r});var o=n(59496);const r=o.forwardRef((e,t)=>{const{icon:n="",...r}=e;return o.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:n}})})},90186:(e,t,n)=>{"use strict";function o(e){return s(e,i)}function r(e){return s(e,a)}function s(e,t){const n=Object.entries(e).filter(t),o={};for(const[e,t]of n)o[e]=t;return o}function i(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}n.d(t,{ +filterDataProps:()=>o,filterAriaProps:()=>r,filterProps:()=>s,isDataAttribute:()=>i,isAriaAttribute:()=>a})},94197:(e,t,n)=>{"use strict";n.r(t),n.d(t,{showWarningAlertsMaxTotalCountExceededImpl:()=>E});n(94419);var o=n(28353),r=n(59496),s=n(87995),i=n(9182),a=n(3767),c=n(71036),l=n(9481),d=n(9745),u=n(57796),h=n(52150),p=n(67844),m=n(87359);const v=o.t("Close",{context:"input"}),w=o.t("Cancel"),f=o.t("Ok");class g extends r.PureComponent{constructor(e){super(e),this._onOk=()=>{this.props.onOk&&this.props.onOk()},this._onClose=()=>{this.props.onClose&&this.props.onClose()},this._detectMobileClient=()=>{const{width:e,breakpoints:t}=h.mediaState;let n=!1;n=!!(e&&e<=t.phone),this.setState({isMobileClient:n})},this.state={isMobileClient:!1}}componentDidMount(){this._detectMobileClient(),h.mediaState.on("changeDevice",this._detectMobileClient)}componentWillUnmount(){h.mediaState.off("changeDevice",this._detectMobileClient)}render(){return r.createElement(a.Modal,{...this.props,"data-name":"warning-modal",className:m.modal,onClickOutside:this.props.canCloseByOutsideClick?this._onClose:void 0},this.props.showClosingCross&&r.createElement(p.CloseButton,{"aria-label":v,onClick:this._onClose,className:m.crossButton}),r.createElement(i.Body,{className:m.dialog},r.createElement("div",{className:m.header,"data-name":"header-title"},r.createElement(d.Icon,{icon:u,className:m.warningIcon}),this.props.title),r.createElement("div",{className:m.body},r.createElement(l.KeyboardDocumentListener,{keyCode:27,handler:this._onClose}),r.createElement(l.KeyboardDocumentListener,{keyCode:13,handler:this._onOk}),r.createElement("div",null,this.props.children),r.createElement("div",{className:m.footerButtons},this.props.onCancel&&r.createElement(c.SquareButton,{className:m.cancelButton,stretch:this.state.isMobileClient,color:"gray",variant:"secondary",onClick:this.props.onCancel,name:"cancel-button"},this.props.cancelText||w),r.createElement(c.SquareButton,{onClick:this.props.onOk||this._onClose,name:"ok-button"},this.props.okText||f)))))}}var C=n(8859);const k=o.t("Alert limit reached"),x=o.t("Uh oh! Looks like you've reached the {count} alert limit. Please remove any or all unnecessary alerts in order to add any new ones.").format({count:"2000"}),y=o.t("Remove all inactive"),b=o.t("Close",{context:"input"});function E(){const e=document.createElement("div");function t(){s.unmountComponentAtNode(e)}s.render(r.createElement(g,{title:k,isOpened:!0,onCancel:t,onOk:function(){s.unmountComponentAtNode(e),(0,C.getPriceAlertsDispatcher)().then(e=>{e.deleteAllAlerts({symbol:null,resolution:null,showConfirm:!0,active:!1})})},onClose:t,cancelText:b,okText:y},x),e)}},39640:(e,t,n)=>{"use strict";function o(e,t,n,o,r){function s(r){if(e>r.timeStamp)return;const s=r.target;void 0!==n&&null!==t&&null!==s&&s.ownerDocument===o&&(t.contains(s)||n(r))}return r.click&&o.addEventListener("click",s,!1),r.mouseDown&&o.addEventListener("mousedown",s,!1),r.touchEnd&&o.addEventListener("touchend",s,!1),r.touchStart&&o.addEventListener("touchstart",s,!1),()=>{ +o.removeEventListener("click",s,!1),o.removeEventListener("mousedown",s,!1),o.removeEventListener("touchend",s,!1),o.removeEventListener("touchstart",s,!1)}}n.d(t,{addOutsideEventListener:()=>o})},74664:(e,t,n)=>{"use strict";n.d(t,{breakpoints:()=>o,mobileFirstBreakpoints:()=>r,mobileFirstLegacyBreakpoints:()=>s});const o={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019},r={base:0,"media-mf-phone-vertical":320,"media-mf-phone-landscape":568,"media-mf-tablet-vertical":768,"media-mf-tablet-landscape":1024,"media-mf-laptop":1280,"media-mf-desktop-medium":1440,"media-mf-desktop-large":1920,"media-mf-desktop-extra-large":2560},s={"media-mf-legacy-phone-vertical":330,"media-mf-legacy-phone":480,"media-mf-legacy-notebook":1020,"media-mf-legacy-desktop-medium":1480,"media-mf-legacy-desktop":1531}},68722:(e,t,n)=>{"use strict";n.d(t,{getScrollbarWidth:()=>o,matchMediaMinMax:()=>r,setStyle:()=>s,getCSSProperty:()=>i,getCSSPropertyNumericValue:()=>a});const o=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),o=n.style;o.visibility="hidden",o.width="100px",o.msOverflowStyle="scrollbar",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const i=s.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=r-i}return e}})();function r(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function s(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function a(e,t){return parseInt(i(e,t))}},52150:(e,t,n)=>{"use strict";n.d(t,{mediaState:()=>l});var o=n(85459),r=n.n(o),s=n(69677),i=n(74664),a=n(68722);class c extends(r()){constructor(){super(),this.width=0,this.height=0,this.device=null,this.breakpoints=i.breakpoints,this._checkDevice(),window.addEventListener("resize",this._checkDevice),Object.entries(i.breakpoints).sort(([e,t],[n,o])=>t-o).forEach(([e,t],n,o)=>{let r;if(0!==n){const[,e]=o[n-1];r=e+1}else r=0;const s=(0,a.matchMediaMinMax)(r,t);s.matches&&this._setNewDevice(e),s.addListener(t=>{t.matches&&(this._checkDevice(),this._setNewDevice(e))})}),(0,s.whenDocumentReady)(this._checkDevice.bind(this)),this.isPhoneSizeDevice.bind(this)}isPhoneSizeDevice(){return"phone"===this.device||"phone-vertical"===this.device}_checkDevice(){this.width=window.innerWidth,this.height=window.innerHeight}_setNewDevice(e){const t=this.device;this.device=e,this.trigger("changeDevice",[e,t])}}const l=new c},67844:(e,t,n)=>{"use strict";n.d(t,{CloseButton:()=>o.CloseButton});var o=n(35582)},9182:(e,t,n)=>{"use strict";n.d(t,{Body:()=>d,Header:()=>c,Message:()=>p});var o=n(59496),r=n(97754),s=n(13520),i=n(49370),a=n(9745);function c(e){const t=e.hideIcon?null:o.createElement(a.Icon,{className:s.close,icon:i,onClick:e.onClose});return o.createElement("div",{className:r(s.header,e.className),"data-dragg-area":!0,ref:e.reference},e.children,t)}n(37062) +;var l=n(2742);function d(e){return o.createElement("div",{className:r(l.body,e.className),ref:e.reference},e.children)}var u=n(58095),h=n(82561);function p(e){let t;e.text?t=o.createElement("span",null,e.text):e.html&&(t=o.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}}));const n=(0,u.useOutsideEvent)({mouseDown:!0,touchStart:!0,handler:e.onClickOutside});if(!t)return null;const s=r(h.message,e.className,{[h.error]:e.isError});return o.createElement("div",{className:s,key:"0"},o.createElement("span",{ref:n},t))}},98526:(e,t,n)=>{"use strict";n.d(t,{Dialog:()=>l});var o=n(59496),r=n(97754),s=n(50655),i=n(88216),a=n(90186),c=n(17683);class l extends o.PureComponent{constructor(){super(...arguments),this._manager=new i.OverlapManager,this._handleSlot=e=>{this._manager.setContainer(e)}}render(){const{rounded:e=!0,shadowed:t=!0,fullscreen:n=!1,darker:i=!1,className:l,backdrop:d}=this.props,u=r(l,c.dialog,e&&c.rounded,t&&c.shadowed,n&&c.fullscreen,i&&c.darker),h=(0,a.filterDataProps)(this.props),p=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return o.createElement(o.Fragment,null,o.createElement(s.SlotContext.Provider,{value:this._manager},d&&o.createElement("div",{onClick:this.props.onClickBackdrop,className:c.backdrop}),o.createElement("div",{...h,className:u,style:p,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:-1},this.props.children)),o.createElement(s.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:e,left:t,width:n,right:o,top:r,zIndex:s,height:i}=this.props;return{bottom:e,left:t,right:o,top:r,zIndex:s,maxWidth:n,height:i}}}},3767:(e,t,n)=>{"use strict";n.d(t,{Modal:()=>d});var o=n(59496),r=n(97754),s=n(98526),i=n(86431),a=n(76594),c=n(21935);class l extends o.PureComponent{constructor(){super(...arguments),this._containerRef=null,this._handleContainerRef=e=>{this._containerRef=e}}componentDidMount(){var e;this.props.autofocus&&(null===(e=this._containerRef)||void 0===e||e.focus())}render(){const{zIndex:e,onClickOutside:t,children:n,className:i}=this.props;return o.createElement("div",{ref:this._handleContainerRef,style:{zIndex:e},"data-dialog-name":this.props["data-dialog-name"],tabIndex:-1},o.createElement("div",{className:c.backdrop}),o.createElement("div",{className:c.wrap},o.createElement("div",{className:c.container},o.createElement(a.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:t},e=>o.createElement("div",{className:c.modal,ref:e},o.createElement(s.Dialog,{...this.props,className:r(i,c.dialog)},n))))))}}l.defaultProps={width:500};const d=(0,i.makeOverlapable)(l)},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var o=n(59496),r=n(39640);function s(e){const{click:t,mouseDown:n,touchEnd:s,touchStart:i,handler:a,reference:c,ownerDocument:l=document}=e,d=(0,o.useRef)(null),u=(0,o.useRef)(new CustomEvent("timestamp").timeStamp);return(0,o.useLayoutEffect)(()=>{const e={click:t,mouseDown:n, +touchEnd:s,touchStart:i},o=c?c.current:d.current;return(0,r.addOutsideEventListener)(u.current,o,a,l,e)},[t,n,s,i,a]),c||d}},9481:(e,t,n)=>{"use strict";n.d(t,{KeyboardDocumentListener:()=>r});var o=n(59496);class r extends o.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>r});var o=n(58095);function r(e){const{children:t,...n}=e;return t((0,o.useOutsideEvent)(n))}},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>a});var o=n(88537);class r{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 s{constructor(e=document){this._storage=new r,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 o=this._document.createElement("div");if(o.style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(o);else if(t.index<=0)this._container.insertBefore(o,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(o,e)}}else"reverse"===t.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(e,o),++this._index,o}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 i=new WeakMap;function a(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,o.ensureDefined)(i.get(t));{const t=new s(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 i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>s});var o=n(59496),r=n(65718);function s(e){ +return class extends o.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const s=o.createElement(e,{...this.props,zIndex:150});return"parent"===n?s:o.createElement(r.Portal,null,s)}}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>c,PortalContext:()=>l});var o=n(59496),r=n(87995),s=n(9423),i=n(88216),a=n(50655);class c extends o.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.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||"",r.createPortal(o.createElement(l.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}c.contextType=a.SlotContext;const l=o.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>r,SlotContext:()=>s});var o=n(59496);class r extends o.Component{shouldComponentUpdate(){return!1}render(){return o.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const s=o.createContext(null)},64120:e=>{e.exports=''},12565:e=>{e.exports=''},95781:e=>{e.exports=''},7801:e=>{e.exports=''},33584:e=>{e.exports=''},49370:e=>{e.exports=''},57796:e=>{ +e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/signin-dialog.e9f4471305a72e10e137.js b/charting_library/bundles/signin-dialog.e9f4471305a72e10e137.js new file mode 100644 index 00000000..6a7b9659 --- /dev/null +++ b/charting_library/bundles/signin-dialog.e9f4471305a72e10e137.js @@ -0,0 +1,33 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6123],{52014:()=>{},5641:()=>{},60401:()=>{},78501:()=>{},86331:()=>{},90105:t=>{t.exports={"remember-label":"remember-label-dNMMjHmM",remember:"remember-dNMMjHmM","back-button":"back-button-dNMMjHmM",title:"title-dNMMjHmM",header:"header-dNMMjHmM",forgot:"forgot-dNMMjHmM",recaptchaContainer:"recaptchaContainer-dNMMjHmM",footer:"footer-dNMMjHmM footer-TQ5uusV5","footer-padding":"footer-padding-dNMMjHmM footer-padding-TQ5uusV5",link:"link-dNMMjHmM link-TQ5uusV5",animated:"animated-dNMMjHmM animated-TQ5uusV5"}},10053:t=>{t.exports={animated:"animated-o40zHVRt animated-TQ5uusV5"}},75319:t=>{t.exports={"second-authentication":"second-authentication-BUCgUS88",title:"title-BUCgUS88","signin-input":"signin-input-BUCgUS88","code-input":"code-input-BUCgUS88","backup-link":"backup-link-BUCgUS88","authenticator-link":"authenticator-link-BUCgUS88","get-code":"get-code-BUCgUS88","input-container":"input-container-BUCgUS88","button-link":"button-link-BUCgUS88",hide:"hide-BUCgUS88","spinner-container":"spinner-container-BUCgUS88","code-ttl":"code-ttl-BUCgUS88",link:"link-BUCgUS88",animated:"animated-BUCgUS88 animated-TQ5uusV5"}},48312:t=>{t.exports={title:"title-TQ5uusV5",footer:"footer-TQ5uusV5",animated:"animated-TQ5uusV5","hide-animated":"hide-animated-TQ5uusV5","footer-padding":"footer-padding-TQ5uusV5",link:"link-TQ5uusV5"}},93579:()=>{},57229:(t,e,i)=>{"use strict";i.r(e),i.d(e,{bannerPrivacyPreferenceKey:()=>p,checkCookiePolicy:()=>v,cookieBannerDelegate:()=>g,initCookiesNotification:()=>b,oldBannerKey:()=>h,onAccept:()=>m,removeOldCookieBannerKey:()=>_,showCookiesNotification:()=>w});var n=i(11417),s=i(84015),o=(i(51872),i(81836)),a=i(46433),r=i(85198);const l=(0,i(98125).getLogger)("User.GeoInfo");let d;var c=i(98999),u=i(11542);const h="cookieBanner",p="cookiePrivacyPreferenceBanner",g=(0,o.createDeferredPromise)();function _(){return n.TVLocalStorage.removeItem(h)}function v(t){return"accepted"===n.TVLocalStorage.getItem(t)||"notApplicable"===n.TVLocalStorage.getItem(t)}function m(){n.TVLocalStorage.setItem(p,"accepted")}let f=!1;async function w(){if(f)return;f=!0;const t=await Promise.all([i.e(5514),i.e(8463),i.e(8844),i.e(4408),i.e(1253),i.e(6464),i.e(5064),i.e(724),i.e(9255),i.e(9957),i.e(8869)]).then(i.bind(i,44598));await t.showCookiesNotification()&&(m(),(0,u.trackCookies)("click","accept_all")),f=!1}async function b(){var t;const e=document.querySelector(".js-main-page-promo-container");if(!v(p)&&!(0,s.isOnMobileAppPage)("any")){e||g.resolve();if((null===(t=(0,a.getFreshInitData)().currentLocaleInfo)||void 0===t?void 0:t.is_in_european_union)||"ignored"===n.TVLocalStorage.getItem(p))return g.promise.then(()=>w());{const t=await(void 0!==d||(d=(0,r.fetch)("/check_language/",{method:"POST"}).then(t=>{if(t.ok)return t.json();throw new Error(t.statusText)}).catch(t=>(l.logWarn(t.message),{}))),d);if(t.is_in_european_union||(i=t.country_code,["is","li","no","uk"].includes(i)))return n.TVLocalStorage.setItem(p,"ignored"),g.promise.then(()=>w()) +;n.TVLocalStorage.setItem(p,"notApplicable"),(0,c.setCookieSetting)(c.CookieSettings.Analytics,!0),(0,c.setCookieSetting)(c.CookieSettings.Advertising,!0)}}var i}},20497:(t,e,i)=>{"use strict";var n=i(23127);const s=i(98125).getLogger("CommonUI.CreateTVBlockPlugin");t.exports.createTvBlockWithInstance=function(t,e){if(t&&e)return t=t.toString(),function(o,a,r){var l,d,c;return"get"===o?l=a:(d=a,"object"==typeof o&&void 0===a?(d=o,o="init"):"string"!=typeof o&&(o="init")),"getInstance"===o?n(this).eq(0).data(t):"destroy"===o?(c=n(this).eq(0).data(t))?void("function"==typeof c.destroy?(i(c,"destroy",d),n(this).eq(0).removeData(t)):s.logError("[Block Plugin] "+t+" does not support destroy command")):void console.warn("[Block Plugin] Trying to execute destroy method of "+t+" but it has not been inited"):"get"===o?(c=n(this).eq(0).data(t))?"function"==typeof c[l]?i(c,l,r):c[l]:void console.warn("[Block Plugin] Trying to get prop or execute method of "+t+" but it has not been inited"):n(this).each((function(){var a=n(this),r=a.data(t);void 0===r&&(r=void 0===d?e(a):e(a,d),a.data(t,r)),"init"!==o&&("function"==typeof r[o]?i(r,o,d):s.logError("[Block Plugin] "+t+" does not support command "+o))}))};function i(t,e,i){return void 0===i?t[e]():t[e](i)}}},78754:(t,e,i)=>{"use strict";i.d(e,{buttonLoader:()=>a});i(52014);var n=i(20497),s=i(68587),o=i(23127);function a(t){return new r(o(t))}o.fn.tvButtonLoader=(0,n.createTvBlockWithInstance)("tv-button-loader",(function(t){return new r(t)}));class r{constructor(t){this.$btn=o(t).addClass("tv-button--loader"),0===this.$btn.find(".tv-button__loader").length&&this.$btn.html(''+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}_start(){this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(()=>{this.loading=!0,this.starting=!1,this._startPromise=!1,this.$btn.addClass("i-loading"),this.$btn.removeClass("i-start-load"),this._stopPromise&&this._stop()},2*s.dur)}start(){this.starting||(this.stopping?this._startPromise=!0:this._start())}_stop(){this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(()=>{this.loading=!1,this.stopping=!1,this._stopPromise=!1,this.$btn.removeClass("i-loading i-start-load i-stop-load"),this._startPromise&&this._start()},s.dur)}stop(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}toggle(){this.loading?this.stop():this.start()}contentHtml(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}contentNojQuery(){return this.$btn.get(0)}disable(){this.stop(),this.$btn.addClass("i-disabled")}enable(){this.$btn.removeClass("i-disabled")}}},22358:(t,e,i)=>{"use strict";i.d(e,{controlError:()=>r});i(5641);var n=i(20497),s=i(68587),o=i(23127);class a{ +constructor(t,{addFocusEvents:e=!0,addErrorOnElement:n=!0,leftMessageAlign:s=!1,maxWidth:a,doNotShowIcon:r=!1}={}){function l(t,e){return t.some(t=>e.test(t))}let d=o(t);const c=d.hasClass("tv-control-checkbox__input"),u=d.hasClass("tv-control-radio__input"),h=d.hasClass("tv-control-number-input"),p=l(d.attr("class").split(/\s+/),/^.+--size_small$/),g=l(d.attr("class").split(/\s+/),/^.+--size_large$/);this.options={smallMode:p,addErrorOnElement:n,maxWidth:a},c&&(d=d.closest(".tv-control-checkbox")),u&&(d=d.closest(".tv-control-radio-group")),this.errors={},this.$control=d;const _=d.get(0);d.data("tv-control-material")?this.$toWrap=d.data("tv-control-material").$el:"tvControlErrorWrap"in _.dataset?this.$toWrap=o(_.dataset.tvControlErrorWrap):d.data("tv-control-error-wrap")?this.$toWrap=d.data("tv-control-error-wrap"):this.$toWrap=d,this.$toWrap.parent().hasClass("tv-control-error")||this.$toWrap.wrap(`
    `),this.$el=this.$toWrap.parent(),c&&this.$el.addClass("tv-control-error--msg_left"),p&&this.$el.addClass("tv-control-error--size_small"),g&&this.$el.addClass("tv-control-error--size_large"),c||r||(this.$icon=this.$el.find(".tv-control-error__icon"),this.$icon.length||(this.$icon=o(`${o("
    ").append(o(i(53870)).attr("focusable","false")).html()}`).appendTo(this.$el)),d.data("tv-control-material")&&this.$icon.addClass("tv-control-error__icon--material-input")),this.$widthControlWrapper=this.$el.find(".tv-control-error__width-control-wrapper"),this.$widthControlWrapper.length||(this.$widthControlWrapper=o('
    ').appendTo(this.$el)),this.$widthControlWrapper.css("width",this.options.maxWidth),s&&this.$widthControlWrapper.addClass("tv-control-error__width-control-wrapper--from-left"),this.$messages=this.$el.find(".tv-control-error__messages"),this.$messages.length||(this.$messages=o('').appendTo(this.$widthControlWrapper)),d.on("focus",()=>{this.$el.addClass("i-focus"),d.removeClass("i-error"),e&&d.on("keyup.tv-control-error",t=>{9!==t.keyCode&&16!==t.keyCode&&(this.clear().render(),this.$el.removeClass("i-focus"),d.off("keyup.tv-control-error"))})}),d.on("blur",()=>{this.$el.removeClass("i-focus"),this.hasErrors()&&d.addClass("i-error")})}add({id:t,message:e}){return this.errors[t]=e,this}remove({id:t}){return delete this.errors[t],this}clear(){return this.errors={},this}hasErrors(){return!!Object.keys(this.errors).length}render(){this.emptyTimeout&&clearTimeout(this.emptyTimeout);var t=Object.keys(this.errors);if(t.length){this.$messages.empty(),this.$el.addClass("i-error"),this.options.addErrorOnElement&&this.$control.addClass("i-error");for(var e=0;e${this.errors[t[e]]}`).appendTo(this.$messages)}else this.$el.removeClass("i-error"),this.$control.removeClass("i-error"),this.emptyTimeout=setTimeout(()=>{ +this.$messages.empty()},s.dur);return this}}function r(t,e){return new a(o(t),e)}o.fn.tvControlError=(0,n.createTvBlockWithInstance)("tv-control-error",(function(t,e){return new a(t,e)}))},43209:(t,e,i)=>{"use strict";i.d(e,{formValidate:()=>p});var n=i(28353),s=i(20497),o=(i(22358),i(18609));function a(t){return null==t.which?t.keyCode<32?null:String.fromCharCode(t.keyCode):0!==t.which&&0!==t.charCode?t.which<32?null:String.fromCharCode(t.which):null}var r=i(23127);const l=i(98125).getLogger("CommonUI.TVFormValidate"),d={required:(0,n.t)("This field is required"),number:(0,n.t)("Please enter a valid number"),digit:(0,n.t)("Please enter only digits"),email:(0,n.t)("Please enter a valid email address"),password:(0,n.t)("Your password should be at least 7 characters long that include letters and numbers."),weakPassword:(0,n.t)("Please use a stronger password"),pattern:(0,n.t)("Please match the requested format"),url:(0,n.t)("Please enter a valid URL"),minlength:(0,n.t)("Please enter at least {number} characters"),maxlength:(0,n.t)("Please enter no more than {number} characters"),min:(0,n.t)("Please enter a value greater than or equal to {number}"),max:(0,n.t)("Please enter a value less than or equal to {number}"),latin:(0,n.t)("Only English language is allowed"),"latin-for-en-local":(0,n.t)("Only English language is allowed"),maxfilesize:(0,n.t)("Max file size is {size}"),fileextensions:function(t){return r.isArray(t)||(t=[t]),(0,n.t)("Allowed extension is {extensions}").format({extensions:t.join(", ")})}},c=function(t,e,i){if("function"==typeof t)return t(e,i)},u={required:function(t,e,i){if("function"!=typeof t||t(e,i))switch(i.attr("type")){case"checkbox":if(!i.is(":checked"))return d.required;break;default:if(""===e.trim())return d.required}},type:function(t,e,i){if(""!==e)switch(t){case"number":if(isNaN(e))return d.number;break;case"digits":if(isNaN(e))return d.digit;break;case"email":if(!/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i.test(e))return d.email;break;case"password":if(i.data("strength")){const t=/\d/.test(e)&&/[^\d_\s.;:,\\/|@!#?$%^&*()[\]\-+={}'"<>~`±§]/.test(e);if(e.length<7||!t)return i.data("too_easy",!0),d.password;if(/^\d?(.)\1+\d?$/.test(e)||/^.?(\d)\1+.?$/.test(e))return i.data("too_easy",!0),d.weakPassword;i.removeData("too_easy")}break;case"url":if(!/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3} ){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e))return d.url}},pattern:function(t,e){if(""!==e){if(!new RegExp(t).test(e))return d.pattern}},minlength:function(t,e){if(""!==e&&e.lengthparseInt(t))return d.maxlength.format({number:t})},min:function(t,e){if(""!==e&&parseFloat(e)parseFloat(t))return d.max.format({number:t})},latin:function(t,e){if(""!==e&&!(0,o.isLatin)(e))return d.latin},"latin-for-en-local":function(t,e){if(""!==e&&"en"===window.locale&&!(0,o.isLatin)(e))return d.latin},maxfilesize:function(t,e,i){if(""===e)return;const s=i.get(0),o=s.files[0].size,a=parseInt(t);return s.files||l.logWarn("This browser doesn't seem to support the `files` property of file inputs."),at.toLowerCase());return-1===o.indexOf(s)?d.fileextensions(o):void 0},custom:c,"custom-change":c,"custom-blur":c};class h{constructor(t,e={}){this.$form=t;const i=["input","textarea"],n=[":submit",":reset",":image",":disabled",'[type="hidden"]',".js-validate-ignore"];void 0!==e.validateElements&&i.push(...e.validateElements),void 0!==e.ignoreElements&&n.push(...e.ignoreElements),this.$controls=t.find(i.join()).not(n.join()).tvControlError(),this.rules={},this.fields={},this.valid=!0,this.$controls.each((t,e)=>{const i=r(e),n=i.attr("name"),s=i.tvControlError("getInstance");this.fields[n]={$el:i,view:s},this.rules[n]={},this.rules[n].required=i.attr("required"),this.rules[n].type=i.attr("type"),this.rules[n].pattern=i.attr("pattern"),this.rules[n].maxlength=i.attr("maxlength"),this.rules[n].minlength=i.attr("minlength"),this.rules[n].min=i.attr("min"),this.rules[n].max=i.attr("max"),this.rules[n].maxfilesize=i.attr("maxfilesize"),this.rules[n].fileextensions=i.attr("fileextensions"),this.rules[n].latin=i.data("rule-latin"),this.rules[n]["latin-for-en-local"]=i.data("rule-latin-for-en-local"),this.rules[n].latin&&i.on("keypress",t=>{this.testChar(n,a(t),"latin")}),this.rules[n]["latin-for-en-local"]&&i.on("keypress",t=>{this.testChar(n,a(t),"latin-for-en-local")}),i.on("blur",()=>{this.validateField(n,["required","custom-change"])}),i.on("change",()=>{s.clear(),this.validateField(n,["custom-blur"])})}),e.onError&&"function"==typeof e.onError&&(this.onError=e.onError),e.onChange&&"function"==typeof e.onChange&&(this.onChange=e.onChange),e.rules&&r.extend(!0,this.rules,e.rules),t.attr("novalidate","novalidate"),!1!==e.submitValidate&&t.on("submit",t=>{this.validate()||t.preventDefault()}),t.on("reset",t=>{this.clear()})}validateField(t,e=[]){if(void 0===this.rules[t])return;void 0!==this.onChange&&this.onChange(this.isValid());const i=this.fields[t].$el,n=this.rules[t],s=Object.keys(n);for(let o=0;o{const e=this.fields[t].$el,i=this.rules[t];return!Object.keys(i).filter(t=>null!=i[t]).some(t=>{const n=u[t](i[t],e.val(),e);return Boolean(n)})})}validate(){this.valid=!0;const t=Object.keys(this.rules);for(let e=0;e{"use strict";async function n(t){(await Promise.all([i.e(5514),i.e(9129),i.e(2888),i.e(4956),i.e(8844),i.e(9961),i.e(5380),i.e(1065),i.e(1e3),i.e(6066)]).then(i.bind(i,70148))).renderGoToTradingViewReferralDialog(t)}i.d(e,{showGoToTradingViewReferralDialog:()=>n})},976:(t,e,i)=>{"use strict";i.d(e,{TVModal:()=>_});var n=i(28353),s=i(68587),o=i(49483),a=i(43989),r=i(51536),l=i(4185),d=i(85739),c=i(25760),u=i(23127),h=i(25977);let p=[];const g={ajax:{},closingDuration:s.dur/2,fixBodyState:!0,overlayTemplate:'
    ',containerTemplate:'
    ',ajaxErrorTemplate:`
    ${(0,n.t)("Error")}
    `};class _ extends r.TVDialogAbstract{constructor(t={}){if(super({...g,...t}),this.$overlay=u(this.options.overlayTemplate),this.$modalWrap=u(this.options.containerTemplate),this.$body=this.$modalWrap.find(".tv-dialog__modal-body").append(this.$el),this.options.closeOnOutsideClick&&this.$overlay.add(this.$modalWrap).click(t=>{this.isEventOut(t)&&this.close()}),this.on("change:zIndex",()=>{this.$overlay.css("z-index",this.zIndex),this.$modalWrap.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$overlay.remove(),this.$modalWrap.remove()};this.opened?(this.close(),setTimeout(t,this.options.closingDuration)):t()}),this.on("beforeOpen",()=>{p.push(this)}),this.options.ajax.url){const t=this.options.ajax.beforeSend||u.noop,e=this.options.ajax.success||!1,i=this.options.ajax.error||u.noop;u.extend(this.options.ajax,{beforeSend:()=>{this.trigger("beforeLoading",[this]),this.startSpinner(),t(this)},success:t=>{this.trigger("afterLoading",[this]),this.renderContent(e?e(this,t):t).showContent(), +this.trigger("afterLoadingShow",[this])},error:()=>{this.renderContent(this.options.ajaxErrorTemplate),i(this),this.trigger("errorLoading",[this])}})}this.on("error",(t,e)=>{this.$modalWrap[0].getBoundingClientRect().height!this.opened,modal:!0}),this.options.closeOnEsc&&this._hotkeys.add({desc:"close",hotkey:27,handler:()=>this.close()}));const t=()=>{this.focus(),this.toTop(),this.trigger("beforeOpen",[this]),u(this.$wrap).append(this.$overlay.addClass("i-hidden i-closed").css("z-index",this.zIndex)).append(this.$modalWrap.addClass("i-hidden i-closed").css("z-index",this.zIndex)),this.$overlay.removeClass("i-hidden"),setTimeout(()=>{this.$overlay.removeClass("i-closed")},20),this.options.ajax.url?this.ajaxRequest=u.ajax(this.options.ajax):this.showContent()};return o.isSafari?setTimeout(()=>t(),50):t(),this}close(){if(this.opened)return this.opened=!1,this._keyboardBinderLockId&&d.enable(this._keyboardBinderLockId),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(()=>{this.$modalWrap.addClass("i-hidden").detach(),this.$overlay.addClass("i-hidden").detach(),p=h.without(p,this),this.options.fixBodyState&&(0,a.setFixedBodyState)(!1),this.trigger("afterClose",[this]),this.unfocus(),p.length>0&&p[p.length-1].focus(),this.options.destroyOnClose&&this.destroy()},this.options.closingDuration),this}showContent(){return this.$modalWrap.removeClass("i-hidden"),setTimeout(()=>{this.$modalWrap.removeClass("i-closed")},20),setTimeout(()=>{this.trigger("afterOpen",[this]),this.spinner&&this.stopSpinner()},.75*s.dur+20),this}hideContent(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}startSpinner(){return this.spinner=new l.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}stopSpinner(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}},10777:(t,e,i)=>{"use strict";i.r(e),i.d(e,{firstLoginDataUrl:()=>s,accumulateErrors:()=>o,fetchPost:()=>a,firstLoginData:()=>r,resendLink:()=>l,signinUrl:()=>d,signin:()=>u,signupUrl:()=>h,signup:()=>p,ApiError:()=>g,AggregateError:()=>_,recoverPasswordUrl:()=>v,recoverPassword:()=>m,resetPassword:()=>f});var n=i(85198);const s="/accounts/first_login_data/";function o(t,e){return Object.entries(t).map(t=>new g(t[1].join("\n"),e,t[0]))}function a(t,e){return(0,n.fetch)(t,{method:"POST",credentials:"include",mode:"same-origin",body:e})}function r(t){return a(s,t).then(t=>t.ok?t.json():t.json().then(e=>{throw new _(o(e.errors,t.status))}))}function l(){ +return a("/api/v1/users/anon/change-email/resend/").then(t=>t.ok?t.json():t.json().then(t=>{throw Error(t.error)}))}const d="/accounts/signin/";function c(t){return t.json().then(e=>{if("error"in e&&""!==e.error||"code"in e||!t.ok)throw new g(e.error||e.detail,t.status,e.code,e.two_factor_types);return e})}function u(t){return a(d,t).then(c)}const h="/accounts/signup/";function p(t){return a(h,t).then(t=>t.json().then(e=>{if("errors"in e&&""!==e.errors)throw new _(o(e.errors,t.status))}))}class g extends Error{constructor(t,e,i,n){super(t),this.type=i,this.status=e}}class _ extends Error{constructor(t){super(t.map(t=>t.message).join("\n")),this.errors=[],this.errors=t}}const v="/api/v1/recover_password/search/";function m(t){return a(v,t).then(c)}function f(t){return a("/accounts/reset_password/",t).then(t=>400===t.status?t.json().then(e=>{if("errors"in e)throw new _(o(e.errors,t.status));throw new g(e.detail,t.status,e.code)}):c(t))}},14153:(t,e,i)=>{"use strict";i.r(e),i.d(e,{isSignModalOpen:()=>te,showSignModal:()=>Xt});var n=i(976),s=i(95227),o=i(78754),a=(i(60401),i(20497)),r=i(23127);class l{constructor(t,e={}){var i=t.prop("tagName").toLowerCase(),n=t.prop("readonly"),s=t.prop("disabled"),o="tv-control-material-"+i,a=r(document.createElement("span")).addClass(o+"__label").text(t.attr("placeholder")||""),l=r(document.createElement("div")).addClass(o+"__wrap"),d=t.get(0);if(d&&d.classList){for(var c=[],u=0;u{n||s||a.addClass("i-up")}),t.on("blur",()=>{""===t.val()&&a.removeClass("i-up")}),t.on("change",()=>{""!==t.val()&&a.addClass("i-up")}),this.$el.on("click",()=>{t.focus()}),""!==t.attr("value")&&void 0!==t.attr("value")&&a.addClass("i-up")}}function d(t,e){return new l(r(t),e)}r.fn.tvControlMaterial=(0,a.createTvBlockWithInstance)("tv-control-material",(function(t,e){return new l(t,e)}));i(43209),i(48743);var c=i(74607),u=i(21097),h=i(10777),p=i(62974),g=i.n(p),_=i(88537),v=i(4185),m=i(9423),f=i(76266),w=i(28353),b=i(68587),y=i(23127),k=i(13398);const $=w.t,C=b,I=h,S=(0,m.guid)(),x="email-signup__marketing-mail-wrap__"+S,T="email-signup__marketing-mails-checkbox-wrap__"+S;var E=i(11417),L=i(84015),B=i(76422),j=i(98125),R=i(51768),A=i(60498),V=i(62674),P=i(96599),O=i(8170),M=i(90309),F=i(38665),q=i(51741),D=i(16625);const z=(0,j.getLogger)("Disalogs.SocialsHelper"),W={twitter:{title:"Twitter",vendor:"twitter",icon:A},google:{title:"Google",vendor:"google-oauth2",icon:V},facebook:{title:"Facebook",vendor:"facebook",icon:P},yahoo:{title:"Yahoo!",vendor:"yahoo",icon:O},"apple-id":{title:"Sign in with Apple",vendor:"apple-id",icon:M},linkedin:{title:"Linked In",vendor:"linkedin-oauth2",icon:F},naver:{title:"Naver",vendor:"naver",icon:q},kakao:{title:"Kakao",vendor:"kakao", +icon:D}};function U(t){return t in W?W[t]:(z.logError("Unknown social vendor "+t),null)}function N(t,e){for(const i of Object.values(W)){const n=i.vendor;let s=`/accounts/signin/${n}/`;const o=(0,c.getUrlParams)(),a=(0,c.createUrlParams)({utm_source:o.utmsource,utm_medium:o.utmmedium,feature_source:e.featureSource,referral_program_id:e.referralProgramId,aff_id:e.affId,source:e.source,aff_sub:e.affSub,url_id:e.urlId,file_id:e.fileId});a&&(s+="?"+a);const r=t.querySelector(".js-social-auth--"+n);null!==r&&r.addEventListener("click",t=>{if(t.preventDefault(),e.isResetPasswordForm&&(0,L.isOnMobileAppPage)("any"))return(0,R.trackEvent)("AccountRecoveryMobile","click_sign_in_via_social_newtorks_on_mobile",n),void B.emit("AccountRecoverySocialButtonClick",n);e.callBack&&e.callBack(),window.open(s,"_blank")})}}var H=i(75072);function G(t,e,i,n,s){let o="";if(n=n?"; path="+n:"",s=s?"; domain="+s:"",i){const t=new Date;t.setTime(t.getTime()+24*i*60*60*1e3),o="; expires="+t.toUTCString()}else o="";document.cookie=t+"="+e+o+s+n}function K(t){const e=t+"=",i=document.cookie.split(";");for(let t=0;t
    \n\t\t\n\t\t\n\t`}(e,i)),o&&(r+=function(t,e){const i=[];let n="";t.forEach(t=>{const e=U(t);var s,o,a;null!==e&&(i.push(e.title),n+=(s=e.vendor,o=e.title,a=e.icon,`\n\t\t\n\t`))});return`\n\t\t${st(e?(0,w.t)("OR sign in via your social media account that you used in the past"):(0,w.t)("We have detected that you have registered with {social_list}. To gain access to your account, log in through your social networks.").format({social_list:i.join(", ")}),"tv-signin-dialog__text--social-text")}\n\t\t\n\t`}(n,s),s||(a=(0,w.t)("Your account was created through a social network"))),s||o||(r+=`\n\t\t${st((0, +w.t)("We are unable to reset your password since you failed to provide your contact details. Please try again or create a new account."))}\n\t\t\n\t`,a=(0,w.t)("Oops! Looks like there is no email or phone number linked with your account")),nt(a,r)}function et(t){return``}function it(t,e){return``}function nt(t,e){return`\n\t\t
    \n\t\t\t\n\t\t\t${e}\n\t\t
    \n\t`}function st(t,e){return`\n\t\n\t`}var ot=i(23127);function at(t){lt(t).checked=!0}function rt(t){return lt(t).value}function lt(t){return(0,_.ensureNotNull)(t.querySelector("input"))}const dt=(0,j.getLogger)("Idea.CategoriesProvider");class ct{constructor(t,e){this.onCallback=new(J()),this._resetMethod=null,this._data=t,this._updateView=e,this._show()}_show(){const t=this._updateView(tt(this._data));this._initResetPasswordFormHandlers(t)}_initResetPasswordFormHandlers(t){const e=Array.from(t.querySelectorAll(".js-radio"));e[0]&&(at(e[0]),this._resetMethod=rt(e[0]));for(const t of e)t.addEventListener("click",e=>{at(t),this._resetMethod=rt(t)});const i=t.querySelector(".js-select-method");if(null!==i){const t=ot(i).tvButtonLoader();i.addEventListener("click",async()=>{if(null!==this._resetMethod){t.tvButtonLoader("start");try{const e=K("reset-password-sid");let i=null;if(null!==e&&"email"!==this._resetMethod||(i=await(0,X.fetch)("/api/v1/recover_password/",{method:"POST",credentials:"include",body:JSON.stringify({signature:this._data.signature,method:this._resetMethod})})),t.tvButtonLoader("stop"),"email"===this._resetMethod){if(i&&!i.ok){const t=await i.json();return void this._showError(t.error)}const t=this._updateView(function(t){const e=`\n\t\t${st((0,w.t)("We have sent the mail to {email}. In order to complete the email verification process, you must click on the link inside.").format({email:et(t)}),"tv-signin-dialog__text--text-email")}\n\t\t${st((0,w.t)("Be sure to check your spam filters if you can't find the email. Haven't receive mail? {blue_text}Send mail again{blue_text_end}").format({blue_text:'"}),"tv-signin-dialog__text--description")}\n\t`;return nt((0,w.t)("Please check your email"),e)}(this._data.email));this._goToStartInit(t)}else{ +if(null===e&&null!==i){const t=await i.json();if(t.error)return void this._showError(t.error);G("reset-password-sid",JSON.stringify(t),10/1440,"/"),this._data=Object.assign(this._data,t)}else if(null!==e){const t=JSON.parse(e);this._data=Object.assign(this._data,t)}const t=this._updateView(function(){const t=`\n\t\t${st((0,w.t)("We've sent you a verification code. Once you receive the code, enter it below."))}\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t${st((0,w.t)("I didn't receive the code"),"tv-signin-dialog__text--text-retry js-choose-again")}\n\t`;return nt((0,w.t)("Check your phone"),t)}());this._initCodeVerifyHandlers(t),this._goToStartInit(t)}}catch(e){dt.logError(e),this._showError(),t.tvButtonLoader("stop")}}})}const n=t.querySelector(".js-abort-reset");null!==n&&n.addEventListener("click",()=>{this._dialogAbort()});const s=t.querySelector(".js-socials");null!==s&&N(s,{isResetPasswordForm:!0})}_initCodeVerifyHandlers(t){const e={submitValidate:!1,rules:{"reset-code":{required:!1,custom:t=>/\b\d{6}\b/.test(t)?null:(0,w.t)("Incorrect verification code. Please check the entered code or request it again.")}}},i=ot((0,_.ensureNotNull)(t.querySelector(".js-phone-code-form"))).tvFormValidate(e).tvFormValidate("getInstance");(0,_.ensureNotNull)(t.querySelector(".js-code")).addEventListener("input",async t=>{const e=t.target.value;if(i.clear(),!(e.length<6)&&i.validate())try{const t=await(0,X.fetch)("/api/v1/recover_password/check_phone_code/",{method:"POST",credentials:"include",body:JSON.stringify({signature:this._data.signature,sid:this._data.sid,code:e})}),n=await t.json();return n.error?(i.clear(),void i.setError({name:"reset-code",error:n.error})):void(window.location.href=n.reset_password_link)}catch(t){dt.logError(t),this._showError()}})}_goToStartInit(t){(0,_.ensureNotNull)(t.querySelector(".js-choose-again")).addEventListener("click",t=>{t.preventDefault(),this._show()})}_dialogAbort(){this.onCallback.fire({event:"abort"})}_showError(t){this.onCallback.fire({event:"error",error:t})}}i(93579),i(49483);var ut=i(38663);const ht=new Promise((t,e)=>{if((0,L.isOnMobileAppPage)("any",!0))return void t();const i=(0,ut.appendScript)(`https://www.recaptcha.net/recaptcha/api.js?render=${window.RECAPTCHA_SITE_KEY_V3}&hl=${window.language}`);i.onload=()=>{window.grecaptcha.ready(t)},i.onerror=e});var pt=i(45345),gt=i(26843),_t=i(90105);const vt=i(43209).formValidate;class mt{constructor(t){this._guid=(0,m.guid)(),this._formId="recover-password__form__"+this._guid,this._identifierInputId="recover-password__identifier-input__"+this._guid,this._cancelButtonId="recover-password__cancel-button__"+this._guid,this._recaptchaContainerId="recover-password__recaptcha-container__"+this._guid,this._submitButtonId="recover-password__submit-button__"+this._guid, +this._cancelBtn=`\n\t\t\t\t\t\t\t\t\t\t${w.t("Cancel")}\n\t\t\t\t\t\t\t\t
    `,this._container=null,this._formRef=()=>{var t;return null===(t=this._container)||void 0===t?void 0:t.querySelector("#"+this._formId)},this._identifierInputRef=()=>{var t;return null===(t=this._container)||void 0===t?void 0:t.querySelector("#"+this._identifierInputId)},this._cancelButtonRef=()=>{var t;return null===(t=this._container)||void 0===t?void 0:t.querySelector("#"+this._cancelButtonId)},this._recaptchaContainerRef=()=>{var t;return null===(t=this._container)||void 0===t?void 0:t.querySelector("#"+this._recaptchaContainerId)},this._submitButtonRef=()=>{var t;return null===(t=this._container)||void 0===t?void 0:t.querySelector("#"+this._submitButtonId)},this._showView=t}render(t){var e;const i=(0,L.isOnMobileAppPage)("any")?"":this._cancelBtn,n=`\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t${w.t("Search",{context:"forgot_password"})}\n\t\t\t\t\n\t\t\t\t${i}\n\t\t\t\n\t\t`;this._container=this._showView(n);const s=this._identifierInputRef();null===(e=this._cancelButtonRef())||void 0===e||e.addEventListener("click",t.onAbort),this._initRecaptcha();const a=this._formRef(),r=vt(a,{submitValidate:!1}),l=(0,o.buttonLoader)(this._submitButtonRef());d(s),null==a||a.addEventListener("submit",e=>{if(e.preventDefault(),!r.validate())return;const i=window.grecaptcha.getResponse(this._recaptchaId);if(0===i.length)return void t.onError({message:w.t("Please confirm that you are not a robot by clicking the captcha box")});l.start();const n=e=>{l.stop();new ct(e,this._showView).onCallback.subscribe(null,e=>{"abort"===e.event?this.render(t):t.onError({message:e.error})})};(0,h.recoverPassword)(JSON.stringify({identifier:s.value,"g-recaptcha-response":i})).then(n).catch(e=>{window.grecaptcha.getResponse(this._recaptchaId).length&&window.grecaptcha.reset(this._recaptchaId);404!==e.status?t.onError(e):n({email:"",phone:"",socials:[],signature:""})})})}_initRecaptcha(){ht.then(()=>{ +const t=this._recaptchaContainerRef();t&&(this._recaptchaId=window.grecaptcha.render(t,{sitekey:window.RECAPTCHA_SITE_KEY,theme:pt.watchedTheme.value()===gt.StdTheme.Dark?"dark":"light"}))})}}var ft=i(80054),wt=i(22358),bt=i(75319);const yt=w.t("Backup code"),kt=w.t("SMS or backup code"),$t=w.t("Code from your app or backup code"),Ct=w.t("Two-factor Authentication"),It=w.t("Enter the verification code from your Authenticator App or the message you received via SMS. If you don’t have access to your phone, you can enter a previously saved backup code."),St=w.t("I can't access my account"),xt=w.t("Get code"),Tt=w.t("If you don't receive a code in {codeTTL} seconds, you'll have the option of sending a new one."),[Et,,Lt]=Tt.split(/({codeTTL})/);class Bt{constructor(t){this._codeLength=6,this._reserveCodeLength=8,this._guid=(0,m.guid)(),this._secondAFContainerId="second-authentication-factor__container__"+this._guid,this._codeInputId="second-authentication-factor__code-input__"+this._guid,this._generateChallengeBtnId="second-authentication-factor__generate-challenge-button__"+this._guid,this._codeTTLId="second-authentication-factor__code-ttl__"+this._guid,this._spinnerContainerId="second-authentication-factor__spinner-container__"+this._guid,this._codeTTLUpdateInterval=500,this._inputError=null,this._content=null,this.dispose=()=>{clearInterval(this._codeTTLIntervalId)},this._onError=t=>{var e,i;null===(e=this._inputError)||void 0===e||e.add({id:this._codeInputId,message:t.message}),null===(i=this._inputError)||void 0===i||i.render()},this._setCodeTTL=t=>{this._codeExpDate=Date.now()+1e3*t,this._startTimer()},this._onGenerateChallenge=(t,e)=>{(function(t){return(0,h.fetchPost)(`/accounts/two-factor/signin/${t}/generate-challenge/`).then(t=>t.ok?t.json():t.json().then(({detail:t,code:e})=>{throw Error(t)}))})(t).then(t=>this._setCodeTTL(t.code_ttl)).catch(e)},this._startTimer=()=>{const t=this._generateChallengeBtnRef();if(!this._isSubscribed()||null===t)return;const e=this._codeTTLRef();clearInterval(this._codeTTLIntervalId),t.disabled=!0,this._codeTTLIntervalId=setInterval(()=>{const i=void 0===(n=this._codeExpDate)?0:Math.ceil((n-Date.now())/1e3);var n;i<0?(clearInterval(this._codeTTLIntervalId),t.disabled=!1,this._codeTTLIntervalId=void 0,this._codeExpDate=void 0):e.innerText=i.toString()},this._codeTTLUpdateInterval)},this._onCodeInputChange=(t,e,i,n)=>{const s=this._codeInputRef(),{value:o}=s,a=isNaN(Number(o))||e?this._reserveCodeLength:this._codeLength;if(s.maxLength=a,o.length===a){const e=new FormData;e.append("code",o),this._startLoading(),function(t,e){return(0,h.fetchPost)(`/accounts/two-factor/signin/${t}/`,e).then(t=>t.ok?t.json():t.json().then(e=>{if("require_parameters"===e.code)throw new h.AggregateError((0,h.accumulateErrors)(e.errors,t.status));throw new h.ApiError(e.detail,t.status,e.code)}))}(t,e).then(t=>{this._stopLoading(),i(t)}).catch(t=>{this._stopLoading(),s.focus(),n(t)})}},this._isSubscribed=()=>null!==this._secondAFContainerRef(),this._startLoading=()=>{var t +;this._isSubscribed()&&(null===(t=this._generateChallengeBtnRef())||void 0===t||t.classList.add(bt.hide),this._spinner.spin(this._spinnerContainerRef()),this._codeInputRef().disabled=!0)},this._stopLoading=()=>{var t;this._isSubscribed()&&(null===(t=this._generateChallengeBtnRef())||void 0===t||t.classList.remove(bt.hide),this._spinner.stop(),this._codeInputRef().disabled=!1)},this._secondAFContainerRef=()=>document.getElementById(this._secondAFContainerId),this._codeInputRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._codeInputId)},this._generateChallengeBtnRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._generateChallengeBtnId)},this._spinnerContainerRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._spinnerContainerId)},this._codeTTLRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._codeTTLId)},this._showView=t,this._spinner=new v.Spinner("mini")}render(t){var e;const{type:i,onSignin:n,onlyBackup:s,codeTTL:o,onError:a=this._onError}=t;let r="sms"===i?kt:$t;r=s?yt:r;const l=Q(bt["get-code"],bt["button-link"]);this._content=this._showView(`\n\t\t\t\t\n\t\t\t`);const c=this._codeInputRef();d(c),this._inputError=(0,wt.controlError)(c,{doNotShowIcon:!0,addErrorOnElement:void 0===t.onError}),c.addEventListener("input",()=>this._onCodeInputChange(i,s,n,a)),c.focus(), +null===(e=this._generateChallengeBtnRef())||void 0===e||e.addEventListener("click",()=>this._onGenerateChallenge(i,a)),"sms"===t.type&&!s&&o&&this._setCodeTTL(o)}}const jt=i(43209).formValidate;class Rt{constructor(t){this._guid=(0,m.guid)(),this._rootId="email-signin__"+this._guid,this._userNameInputId="email-signin__user-name-input__"+this._guid,this._passwordInputId="email-signin__password-input__"+this._guid,this._backButtonId="email-signin__back-button__"+this._guid,this._formId="email-signin__form__"+this._guid,this._submitButtonId="email-signin__submit-button__"+this._guid,this._forgotButtonId="email-signin__forgot-button__"+this._guid,this._footerLinkId="email-signin__footer-link__"+this._guid,this._recaptchaContainerId="email-signin__recaptcha-container__"+this._guid,this._secondAuthenticationFactor=null,this._content=null,this._isSubscribed=()=>null!==this._rootRef(),this._rootRef=()=>document.getElementById(this._rootId),this._userNameInputRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._userNameInputId)},this._passwordInputRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._passwordInputId)},this._backButtonRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._backButtonId)},this._formRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._formId)},this._submitButtonRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._submitButtonId)},this._forgotButtonRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._forgotButtonId)},this._footerLinkRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._footerLinkId)},this._recaptchaContainerRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._recaptchaContainerId)},this._showView=t,this._secondAuthenticationFactor=new Bt(t),this._recoverPassword=new mt(this._showView)}render(t){var e,n,s,a +;const r=`\n\t\t\t\n\t\t`;this._content=this._showView(r,{}),null===(e=this._backButtonRef())||void 0===e||e.addEventListener("click",()=>t.onAbort()),null===(n=this._footerLinkRef())||void 0===n||n.addEventListener("click",()=>t.onSignup()) +;const l=this._formRef(),c=this._passwordInputRef(),u=jt(l,{submitValidate:!1}),p=(0,o.buttonLoader)(this._submitButtonRef());d(this._userNameInputRef()),d(c),null===(s=this._formRef())||void 0===s||s.addEventListener("submit",e=>{if(e.preventDefault(),!u.validate())return;p.start();const i=new FormData(l);if(void 0!==this._recaptchaId){const t=i.get("g-recaptcha-response");i.append("g-recaptcha-response-v2",t),i.delete("g-recaptcha-response")}(0,h.signin)(i).then(t.onSigninSuccess).catch(e=>{var i;if(!this._isSubscribed())return;if("account_disabled"===e.type)return void t.onShowResend();if("recaptcha_required"===e.type)return void 0!==this._recaptchaId&&window.grecaptcha.getResponse(this._recaptchaId).length?window.grecaptcha.reset(this._recaptchaId):this._initRecaptcha(),void t.onError(e);if(["2FA_required","2FA_challenge_not_generated"].includes(e.type)&&e.secondFactorTypes&&e.secondFactorTypes.length>0){const n=403===e.status,s=e.secondFactorTypes[0];return null===(i=this._secondAuthenticationFactor)||void 0===i||i.render({codeTTL:"sms"===s.name?s.code_ttl:void 0,type:s.name,onlyBackup:n,onError:t.onError,onSignin:t.onSigninSuccess}),void(n&&!this._isSubscribed()&&t.onError(e))}t.onError(e),c.value=""}).then(()=>{this._isSubscribed()&&p.stop()})}),null===(a=this._forgotButtonRef())||void 0===a||a.addEventListener("click",()=>{this._recoverPassword.render({onAbort:()=>this.render(t),onError:t.onError})})}dispose(){var t;null===(t=this._secondAuthenticationFactor)||void 0===t||t.dispose()}_initRecaptcha(){ht.then(()=>{const t=this._recaptchaContainerRef();t&&(this._recaptchaId=window.grecaptcha.render(t,{sitekey:window.RECAPTCHA_SITE_KEY,theme:"light"}))})}}var At=i(1938),Vt=i(59401);const Pt=ht,Ot=i(43209).formValidate;class Mt{constructor(t){this._guid=(0,m.guid)(),this._rootId="email-signup__"+this._guid,this._backButtonId="email-signup__back-button__"+this._guid,this._recaptchaContainerId="email-signup__recaptcha-container__"+this._guid,this._formId="email-signup__form__"+this._guid,this._submitButtonId="email-signup__submit-button__"+this._guid,this._gdprWrapId="email-signup__gdpr-wrap__"+this._guid,this._gdprCheckboxWrapId="email-signup__gdpr-checkbox-wrap__"+this._guid,this._footerLinkId="email-signup__footer-link__"+this._guid,this._materialInputsClass="email-signup__material-inputs__"+this._guid,this._initMaterial=()=>{var t;null===(t=this._content)||void 0===t||t.querySelectorAll("."+this._materialInputsClass).forEach(t=>{t&&d(t)})},this._isSubscribed=()=>null!==this._rootRef(),this._rootRef=()=>document.getElementById(this._rootId),this._backButtonRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._backButtonId)},this._recaptchaContainerRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._recaptchaContainerId)},this._formRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._formId)},this._submitButtonRef=()=>{var t +;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._submitButtonId)},this._gdprCheckboxWrap=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._gdprCheckboxWrapId)},this._footerLinkRef=()=>{var t;return null===(t=this._content)||void 0===t?void 0:t.querySelector("#"+this._footerLinkId)},this._showView=t}render(t){var e,i;this._content=this._showView(this._getTemplate(t),{}),t.isRecaptchaDisabled||this._initRecaptcha(),null===(e=this._backButtonRef())||void 0===e||e.addEventListener("click",()=>t.onAbort()),null===(i=this._footerLinkRef())||void 0===i||i.addEventListener("click",()=>t.onSignin());const n=this._gdprCheckboxWrap();n&&(n.dataset.tvControlErrorWrap="#"+this._gdprWrapId);const s={submitValidate:!1,rules:{gdpr:{required:!1,custom:(t,e)=>e.get(0).checked?null:w.t("You need to accept our Terms of Use as well as Privacy and Cookies policy to sign up")}}},a=this._formRef(),r=Ot(a,s),l=(0,o.buttonLoader)(this._submitButtonRef());this._initMaterial(),null==a||a.addEventListener("submit",e=>{e.preventDefault(),r.validate()&&(l.start(),(0,h.signup)(new FormData(a)).then(()=>{this._isSubscribed()&&(!function(t){if(t&&TradingView.signupSource){var e=TradingView.signupSourceParameters;e&&(e.additionalCategories&&e.additionalCategories.forEach((function(t){(0,R.trackEvent)(t+" Registration",TradingView.signupSource)})),TradingView.signupSourceParameters=null),(0,R.trackEvent)("Registration",TradingView.signupSource),(0,R.trackEvent)("Registration medium",t),TradingView.signupSource=null}}("Email"),(0,At.trackGTagAdsEvent)(At.GTagEvent.RegistrationCompleted),(0,Vt.trackTwitterEvent)(Vt.TwitterEvent.RegistrationCompleted),t.onShowResend())}).catch(e=>{this._isSubscribed()&&(window.grecaptcha.getResponse(this._recaptchaId).length&&window.grecaptcha.reset(this._recaptchaId),e.errors?e.errors.forEach(i=>{"g-recaptcha-response"===i.type||void 0===i.type?t.onError(e):r.setError({name:i.type,error:i.message})}):t.onError(e))}).then(()=>{this._isSubscribed()&&l.stop()}))})}_getTemplate(t){const{dailyfx:e,nameFields:n,isRecaptchaDisabled:s}=t +;return`\n\t\t\t\n\t\t`}_hidenInputs(t){const{referralProgramId:e,affId:i,source:n,affSub:s,urlId:o,fileId:a,affSub2:r,affSub3:l,affClickId:d,targetLink:c,affUnique1:u,featureSource:h,utm:p}=t;return`\n\t\t\t${e?``:""}\n\t\t\t${i?``:""}\n\t\t\t${c?``:""}\n\t\t\t${n?``:""}\n\t\t\t${s?``:""}\n\t\t\t${r?``:""}\n\t\t\t${l?``:""}\n\t\t\t${d?``:""}\n\t\t\t${u?``:""}\n\t\t\t${o?``:""}\n\t\t\t${a?``:""}\n\t\t\t${h?``:""}\n\t\t\t${p.source?``:""}\n\t\t\t${p.medium?``:""}\n\t\t`}_initRecaptcha(){Pt.then(()=>{const t=this._recaptchaContainerRef();t&&(this._recaptchaId=window.grecaptcha.render(t,{sitekey:window.RECAPTCHA_SITE_KEY,theme:pt.watchedTheme.value()===gt.StdTheme.Dark?"dark":"light"}))})}}var Ft=i(23127);const qt=`\n\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t
    \n\t\t\t\t${w.t("OK")}\n\t\t\t
    \n\t\t
    \n\t`;class Dt{constructor(t){this._showView=t}render(t){ +const e=`\n\t\t\t\t
    \n\n\t\t\t\t\t\n\n\t\t\t\t\t\n\n\t\t\t\t\t\n\n\t\t\t\t\t\n\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t`,n=this._showView(e,{koreanAuth:t.koreanAuth}),s=Ft(n).find(".tv-signin-dialog__area--resend");s.on("click",".js-dialog__resend",()=>{const e=s.find(".js-dialog__resend").tvButtonLoader("start");(0,h.resendLink)().then(t=>{this._showView(qt,{text:w.t("Activation key has been sent to"),email:t.email})}).catch(t.onError).then(()=>e.tvButtonLoader("stop"))}),Array.from(n.querySelectorAll(".js-socials")).forEach(e=>{N(e,{featureSource:t.source,referralProgramId:t.referralProgramId,callBack:()=>G("will_start_trial","1",0,"/"),affId:t.affId,affSub:t.affSub,urlId:t.urlId,fileId:t.fileId})})}}var zt=i(48312),Wt=i(13398),Ut=i(23127) +;const Nt=w.t("Something went wrong"),Ht="auto-show-email-for-signin";class Gt{constructor(t,e,n){var s;this._name="step-one",this._dialog=null,this._guid=(0,m.guid)(),this._footerLinkId=`${this._name}__footer-link__${this._guid}`,this._showEmail=Boolean(E.TVLocalStorage.getItem(Ht)),this._render=async()=>{let t="";t=this._options.startTrial?"signin"===this._dialogState?w.t("Sign in to get free trial"):w.t("Sign up to get free trial"):"signin"===this._dialogState?w.t("Sign in"):w.t("Sign up");const e=`\n\t\t\t\t\n\t\t\t`;this._showView(e,this._tplOptions);const n=this._$content;return n.find("#"+this._footerLinkId).on("click",()=>{ +this._dialogState="signup"===this._dialogState?"signin":"signup",this._render()}),n.find(".js-show-email").on("click",this._onShowEmail),Array.from(n[0].querySelectorAll(".js-socials")).forEach(t=>{N(t,{featureSource:this._options.source,referralProgramId:this._tplOptions.referralProgramId,callBack:()=>{E.TVLocalStorage.removeItem(Ht),G("will_start_trial","1",0,"/")},affId:this._tplOptions.affId,affSub:this._tplOptions.affSub,urlId:this._tplOptions.urlId,fileId:this._tplOptions.fileId})}),this._$content},this._onShowEmail=()=>{"signup"===this._dialogState?this._signupRender():this._signinRender()},this._error=t=>{var e;null===(e=this._dialog)||void 0===e||e.error(t.message||Nt)},this._showResendDialog=()=>{this._activationLink.render({koreanAuth:this._tplOptions.koreanAuth,onError:this._error,source:this._options.source,referralProgramId:this._tplOptions.referralProgramId,affId:this._tplOptions.affId,affSub:this._tplOptions.affSub,urlId:this._tplOptions.urlId,fileId:this._tplOptions.fileId})},this._showView=(t,e)=>(clearTimeout(this._animationId),this._$content.addClass(zt["hide-animated"]),this._$content.html(Wt.render(t,e)),this._animationId=setTimeout(()=>{this._$content.removeClass(zt["hide-animated"])},20),this._$content[0]),this._signupRender=()=>{const t=(0,f.isFeatureEnabled)("disable_recaptcha_on_signup");this._emailSignupForm.render({onAbort:()=>{this._render()},onShowResend:()=>this._showResendDialog(),onSignin:()=>{this._dialogState="signin",this._render()},onError:this._error,dailyfx:this._tplOptions.dailyfx,referralProgramId:this._tplOptions.referralProgramId,affId:this._tplOptions.affId,source:this._tplOptions.source,affSub:this._tplOptions.affSub,affSub2:this._tplOptions.affSub2,affSub3:this._tplOptions.affSub3,affClickId:this._tplOptions.affClickId,urlId:this._tplOptions.urlId,fileId:this._tplOptions.fileId,targetLink:this._tplOptions.targetLink,affUnique1:this._tplOptions.affUnique1,featureSource:this._tplOptions.featureSource,nameFields:this._tplOptions.nameFields,utm:this._utm,isRecaptchaDisabled:t})},this._signinRender=()=>{this._emailSigninForm.render({onAbort:()=>{this._render()},onSigninSuccess:t=>{var e,i;if(window.user=t.user,window.TradingView.changeLoginState(!0),null===(e=this._dialog)||void 0===e||e.trigger("signinSuccess",this._dialog),E.TVLocalStorage.setItem(Ht,"1"),"/"===location.pathname){const t=(0,c.getUrlParams)().next;t&&((0,H.isInternalUrl)(t)?location.href=t:window.console&&console.error&&console.error("Unsafe redirect URL: "+t))}null===(i=this._dialog)||void 0===i||i.close()},onError:this._error,onShowResend:()=>{this._showResendDialog()},onSignup:()=>{this._dialogState="signup",this._render()}})},this._options=t,this._tplOptions={...e},this._utm=n,this._options.source&&(this._tplOptions.featureSource=t.source),this._$content=Ut(Wt.render('',{})),this._emailSigninForm=new Rt(this._showView),this._emailSignupForm=new Mt(this._showView),this._activationLink=new Dt(this._showView), +this._dialogState=null!==(s=this._options.mode)&&void 0!==s?s:"signin"}dispose(){this._emailSigninForm.dispose()}render(t){return this._dialog=t,t.$content.append(this._$content),this._showEmail?this._onShowEmail():this._render(),this._$content}}i(86331);var Kt=i(23127);const Qt=i(67337);let Yt,Jt=!1;function Xt(t={}){if(Yt)return Yt;if(!Qt.enabled("show_login_dialog"))return void window.loginRequiredDelegate.fire(t);const e="create-account"===t.mode;if(window.is_authenticated&&!e)return;if(Qt.enabled("widget")&&Qt.enabled("referral_program_for_widget_owners"))return void(0,s.showGoToTradingViewReferralDialog)(t);if(Qt.enabled("whotrades_auth_only")&&!e)return new n.TVModal({width:450,destroyOnClose:!0,contentWrapTemplate:"
    ",closeButtonTemplate:`
    ${i(12565)}
    `,content:'`}};window.TradingView=window.TradingView||{},window.TradingView.version=r,exports.version=r,exports.widget=a; +"use strict";function t(e,n){const i={...e};for(const o in n)"object"!=typeof e[o]||null===e[o]||Array.isArray(e[o])?void 0!==n[o]&&(i[o]=n[o]):i[o]=t(e[o],n[o]);return i}Object.defineProperty(exports,"__esModule",{value:!0});const e={mobile:{disabled_features:["left_toolbar","header_widget","timeframes_toolbar","edit_buttons_in_legend","context_menus","control_bar","border_around_the_chart"],enabled_features:[]}},n={width:800,height:500,interval:"1D",timezone:"Etc/UTC",container:"",library_path:"",locale:"en",widgetbar:{details:!1,watchlist:!1,watchlist_settings:{default_symbols:[]}},overrides:{"mainSeriesProperties.showCountdown":!1},studies_overrides:{},trading_customization:{position:{},order:{}},brokerConfig:{configFlags:{}},fullscreen:!1,autosize:!1,disabled_features:[],enabled_features:[],debug:!1,logo:{},time_frames:[{text:"5y",resolution:"1W"},{text:"1y",resolution:"1W"},{text:"6m",resolution:"120"},{text:"3m",resolution:"60"},{text:"1m",resolution:"30"},{text:"5d",resolution:"5"},{text:"1d",resolution:"1"}],client_id:"0",user_id:"0",charts_storage_api_version:"1.0",favorites:{intervals:[],chartTypes:[]}};let i=!1;function o(t){var e;const n=/\.woff(\d*)/.exec(t);return``}function s(t,e){const n=new URL(`${t||""}`,location.href).href,i=JSON.parse('["bundles/runtime.e861c3f73de2a48d47a3.js","bundles/5386.eb112967859403067d3d.css","bundles/5386.eb112967859403067d3d.rtl.css","bundles/1857.92ea29314fb71e119d3e.js","bundles/library.dba373dbc4943dc69a07.js","bundles/b1a63a011fd92dfb93db6db243bb036c.woff2","bundles/40f9a03d174178efb12303caa9bc7cd8.woff2","bundles/3293616ec0c605c7c2db25829a0a509e.woff"]'),s=JSON.parse('[{"iso":"ar","dir":"rtl","language":"ar"},{"iso":"pt","dir":"ltr","language":"pt"},{"iso":"cs","dir":"ltr","language":"cs"},{"iso":"de","dir":"ltr","language":"de"},{"iso":"en","dir":"ltr","language":"en"},{"iso":"es","dir":"ltr","language":"es"},{"iso":"fa","dir":"rtl","language":"fa"},{"iso":"fr","dir":"ltr","language":"fr"},{"iso":"he","dir":"rtl","language":"he_IL"},{"iso":"hu","dir":"ltr","language":"hu_HU"},{"iso":"id","dir":"ltr","language":"id_ID"},{"iso":"en","dir":"ltr","language":"en"},{"iso":"it","dir":"ltr","language":"it"},{"iso":"ja","dir":"ltr","language":"ja"},{"iso":"ko","dir":"ltr","language":"ko"},{"iso":"ms","dir":"ltr","language":"ms_MY"},{"iso":"pl","dir":"ltr","language":"pl"},{"iso":"ru","dir":"ltr","language":"ru"},{"iso":"sv","dir":"ltr","language":"sv"},{"iso":"th","dir":"ltr","language":"th"},{"iso":"tr","dir":"ltr","language":"tr"},{"iso":"vi","dir":"ltr","language":"vi"},{"iso":"zh-Hans","dir":"ltr","language":"zh"},{"iso":"zh-Hant","dir":"ltr","language":"zh_TW"},{"iso":"el","dir":"ltr","language":"el"},{"iso":"nl","dir":"ltr","language":"nl_NL"},{"iso":"ro","dir":"ltr","language":"ro"}]'),r=encodeURIComponent(e),a=s.find((t=>t.language===r)),d=`lang="${a.iso}" dir="${a.dir}"`,l=`\n${function(t,e){if(void 0===t)return"";const n=[],i=[],s=[],r=/\.css$/i,a=/\.rtl\.css$/i;for(const d of t)d.endsWith(".js")?i.push(`
    ',scrollWrapInner:'
    ',withScroll:!0};class g extends n.TVDialogAbstract{constructor(t={}){super({...p,...t}),this.$scrollWrap=this.$content.hasClass("js-dialog__scroll-wrap")?this.$content:this.$content.find(".js-dialog__scroll-wrap"),this.$scrollWrap.length?this.$scrollWrapInner=this.$scrollWrap.children().first():(this.$scrollWrap=this.$content.wrap(l(this.options.scrollWrap)).parent(),this.$scrollWrapInner=this.$content.wrap(l(this.options.scrollWrapInner)).parent()),this.$actions&&this.$scrollWrap.addClass("i-with-actions"),this.options.withScroll&&(this.scroll=new r.SidebarCustomScroll(this.$scrollWrap[0],this.$scrollWrapInner[0]),this.scroll.scrolled.subscribe(null,()=>this.trigger("scroll"))),this.$scrollWrap.css("overflow","");const e=this.getDialogId();this.$el.addClass("tv-dialog--popup i-closed i-hidden"),this.options.width&&this.$el.css({width:"calc(100% - 20px)","max-width":this.options.width}),this._hotkeys=a.createGroup({desc:"Dialog",isDisabled:()=>!this.opened,modal:!1}),this.options.closeOnEsc&&this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this.close()}),this.$el.on("mousedown touchstart",this.toTop.bind(this)),this.options.closeOnOutsideClick&&(this._preventClick=!0,this.on("beforeOpen",()=>{setTimeout(()=>{this.opened&&(l(document).on("mousedown touchstart",()=>{this._preventClick=!1}),l(document).on("click.tv-popup-"+e,t=>{if(this._preventClick)return;const e=l(t.target).closest(".js-dialog");(this.options.closeOnClickAtOtherDialogs||0===e.length)&&this.isEventOut(t)&&this.close()}))},0)}),this.on("beforeClose",()=>l(document).off("click.tv-popup-"+e))),this.on("change:zIndex",()=>{ +this.$el.css("z-index",this.zIndex)}),this.on("destroy",()=>{const t=()=>{this.$el.remove(),this._hotkeys.destroy()};this.opened?(this.close(),setTimeout(t,s.dur/2)):t()})}open(){return this.opened||(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.$wrap).removeClass("i-hidden").css((()=>{this.calcHeight();const t=c.height(),e=c.width(),i=this.$el.height(),s=this.$el.width();let o=this.options.position;return o||(o={top:t/2-i/2,left:e/2-s/2}),o.top>t-i&&(o.top=t-i),o.left>e-s&&(o.left=e-s),o.top<10&&(o.top=10),o.left<10&&(o.left=10),o})()),this.focus(),this.toTop(),this._doOpenAnimation().then(()=>{this.opened&&(this.$el.removeClass("i-closed"),this.options.draggable&&((0,h.lazyJqueryUI)(this.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing",stop:(t,e)=>{this.trigger("dragEnd",[this])}}),this.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),this.trigger("afterOpen",[this]))}),c.on("resize.tv-popup-"+this.getDialogId(),()=>{this.calcHeight(),this.fixPos()})),this}close(){if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(()=>{this.opened||((0,h.lazyJqueryUI)(this.$el).draggable("instance").then(t=>{t&&t.destroy()}),this.$el.addClass("i-hidden").detach(),d.css("cursor","auto"),this.trigger("afterClose",[this]),this.options.destroyOnClose&&this.destroy())}),c.off("resize.tv-popup-"+this.getDialogId()),this}hide(){this.$el.addClass("i-hidden")}show(){this.$el.removeClass("i-hidden")}fixPos(){const t=this.$el[0].getBoundingClientRect(),e={};t.bottom>o.mediaState.height-10&&(e.top=o.mediaState.height-10-t.height,e.top<10&&(e.top=10)),t.right>o.mediaState.width-10&&(e.left=o.mediaState.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}calcHeight(){const t=this.$el[0].getBoundingClientRect(),e=this.$scrollWrapInner[0].getBoundingClientRect(),i=this.$scrollWrap[0].getBoundingClientRect();let s=this.options.height&&this.options.heights)&&(s-=t.height-i.height,s<60&&(s=60),this.$scrollWrap.css({height:s})),this.options.withScroll&&this.scroll.resize();const r=s{i.d(e,{breakpoints:()=>s,mobileFirstBreakpoints:()=>o,mobileFirstLegacyBreakpoints:()=>n});const s={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019},o={base:0, +"media-mf-phone-vertical":320,"media-mf-phone-landscape":568,"media-mf-tablet-vertical":768,"media-mf-tablet-landscape":1024,"media-mf-laptop":1280,"media-mf-desktop-medium":1440,"media-mf-desktop-large":1920,"media-mf-desktop-extra-large":2560},n={"media-mf-legacy-phone-vertical":330,"media-mf-legacy-phone":480,"media-mf-legacy-notebook":1020,"media-mf-legacy-desktop-medium":1480,"media-mf-legacy-desktop":1531}},68722:(t,e,i)=>{i.d(e,{getScrollbarWidth:()=>s,matchMediaMinMax:()=>o,setStyle:()=>n,getCSSProperty:()=>r,getCSSPropertyNumericValue:()=>h});const s=(()=>{let t;return()=>{var e;if(void 0===t){const i=document.createElement("div"),s=i.style;s.visibility="hidden",s.width="100px",s.msOverflowStyle="scrollbar",document.body.appendChild(i);const o=i.offsetWidth;i.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",i.appendChild(n);const r=n.offsetWidth;null===(e=i.parentNode)||void 0===e||e.removeChild(i),t=o-r}return t}})();function o(t,e){return e===1/0?window.matchMedia(`(min-width: ${t}px)`):window.matchMedia(`(min-width: ${t}px) and (max-width: ${e}px)`)}function n(t,e,i){null!==t&&t.style.setProperty(e,i)}function r(t,e){return getComputedStyle(t,null).getPropertyValue(e)}function h(t,e){return parseInt(r(t,e))}},52150:(t,e,i)=>{i.d(e,{mediaState:()=>l});var s=i(85459),o=i.n(s),n=i(69677),r=i(74664),h=i(68722);class a extends(o()){constructor(){super(),this.width=0,this.height=0,this.device=null,this.breakpoints=r.breakpoints,this._checkDevice(),window.addEventListener("resize",this._checkDevice),Object.entries(r.breakpoints).sort(([t,e],[i,s])=>e-s).forEach(([t,e],i,s)=>{let o;if(0!==i){const[,t]=s[i-1];o=t+1}else o=0;const n=(0,h.matchMediaMinMax)(o,e);n.matches&&this._setNewDevice(t),n.addListener(e=>{e.matches&&(this._checkDevice(),this._setNewDevice(t))})}),(0,n.whenDocumentReady)(this._checkDevice.bind(this)),this.isPhoneSizeDevice.bind(this)}isPhoneSizeDevice(){return"phone"===this.device||"phone-vertical"===this.device}_checkDevice(){this.width=window.innerWidth,this.height=window.innerHeight}_setNewDevice(t){const e=this.device;this.device=t,this.trigger("changeDevice",[t,e])}}const l=new a},43989:(t,e,i)=>{i.d(e,{setFixedBodyState:()=>r});var s=i(68722);let o=0,n=!1;function r(t){const{body:e}=document,i=e.querySelector(".widgetbar-wrap");if(t&&1==++o){const t=(0,s.getCSSProperty)(e,"overflow"),o=(0,s.getCSSPropertyNumericValue)(e,"padding-right");"hidden"!==t.toLowerCase()&&e.scrollHeight>e.offsetHeight&&((0,s.setStyle)(i,"right",(0,s.getScrollbarWidth)()+"px"),e.style.paddingRight=o+(0,s.getScrollbarWidth)()+"px",n=!0),e.classList.add("i-no-scroll")}else if(!t&&o>0&&0==--o&&(e.classList.remove("i-no-scroll"),n)){(0,s.setStyle)(i,"right","0px");let t=0;0,e.scrollHeight<=e.clientHeight&&(t-=(0,s.getScrollbarWidth)()),e.style.paddingRight=(t<0?0:t)+"px",n=!1}}},88216:(t,e,i)=>{i.d(e,{OverlapManager:()=>n,getRootOverlapManager:()=>h});var s=i(88537);class o{constructor(){this._storage=[]}add(t){this._storage.push(t)}remove(t){ +this._storage=this._storage.filter(e=>t!==e)}has(t){return this._storage.includes(t)}getItems(){return this._storage}}class n{constructor(t=document){this._storage=new o,this._windows=new Map,this._index=0,this._document=t,this._container=t.createDocumentFragment()}setContainer(t){const e=this._container,i=null===t?this._document.createDocumentFragment():t;!function(t,e){Array.from(t.childNodes).forEach(t=>{t.nodeType===Node.ELEMENT_NODE&&e.appendChild(t)})}(e,i),this._container=i}registerWindow(t){this._storage.has(t)||this._storage.add(t)}ensureWindow(t,e={position:"fixed",direction:"normal"}){const i=this._windows.get(t);if(void 0!==i)return i;this.registerWindow(t);const s=this._document.createElement("div");if(s.style.position=e.position,s.style.zIndex=this._index.toString(),s.dataset.id=t,void 0!==e.index){const t=this._container.childNodes.length;if(e.index>=t)this._container.appendChild(s);else if(e.index<=0)this._container.insertBefore(s,this._container.firstChild);else{const t=this._container.childNodes[e.index];this._container.insertBefore(s,t)}}else"reverse"===e.direction?this._container.insertBefore(s,this._container.firstChild):this._container.appendChild(s);return this._windows.set(t,s),++this._index,s}unregisterWindow(t){this._storage.remove(t);const e=this._windows.get(t);void 0!==e&&(null!==e.parentElement&&e.parentElement.removeChild(e),this._windows.delete(t))}getZindex(t){const e=this.ensureWindow(t);return parseInt(e.style.zIndex||"0")}moveToTop(t){if(this.getZindex(t)!==this._index){this.ensureWindow(t).style.zIndex=(++this._index).toString()}}removeWindow(t){this.unregisterWindow(t)}}const r=new WeakMap;function h(t=document){const e=t.getElementById("overlap-manager-root");if(null!==e)return(0,s.ensureDefined)(r.get(e));{const e=new n(t),i=function(t){const e=t.createElement("div");return e.style.position="absolute",e.style.zIndex=150..toString(),e.style.top="0px",e.style.left="0px",e.id="overlap-manager-root",e}(t);return r.set(i,e),e.setContainer(i),t.body.appendChild(i),e}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/currency-label-menu.4cf6e944a1702031903f.js b/charting_library/bundles/currency-label-menu.4cf6e944a1702031903f.js deleted file mode 100644 index 95b6e9ed..00000000 --- a/charting_library/bundles/currency-label-menu.4cf6e944a1702031903f.js +++ /dev/null @@ -1,10 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2704],{50789:e=>{e.exports={summary:"summary-hk3Mmxts",hovered:"hovered-hk3Mmxts",caret:"caret-hk3Mmxts"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},28712:e=>{e.exports={container:"container-CcsqUMct",inputContainer:"inputContainer-CcsqUMct",withCancel:"withCancel-CcsqUMct",input:"input-CcsqUMct",icon:"icon-CcsqUMct",cancel:"cancel-CcsqUMct"}},17147:e=>{e.exports={scrollWrap:"scrollWrap-wu0oD0zz"}},75193:e=>{e.exports={container:"container-bD7VSobf",separator:"separator-bD7VSobf",section:"section-bD7VSobf"}},61936:e=>{e.exports={action:"action-cwmjKW8F",hovered:"hovered-cwmjKW8F",active:"active-cwmjKW8F",label:"label-cwmjKW8F",description:"description-cwmjKW8F",selected:"selected-cwmjKW8F",small:"small-cwmjKW8F",withDescription:"withDescription-cwmjKW8F",action__favoriteIcon:"action__favoriteIcon-cwmjKW8F",action__favoriteIcon_active:"action__favoriteIcon_active-cwmjKW8F",labelAndDescription:"labelAndDescription-cwmjKW8F",icon:"icon-cwmjKW8F",fakeIcon:"fakeIcon-cwmjKW8F",highlighted:"highlighted-cwmjKW8F"}},94953:e=>{e.exports={menu:"menu-CW6VX2O6",withDescriptions:"withDescriptions-CW6VX2O6",header:"header-CW6VX2O6",title:"title-CW6VX2O6",container:"container-CW6VX2O6",icon:"icon-CW6VX2O6",clear:"clear-CW6VX2O6",input:"input-CW6VX2O6",highlighted:"highlighted-CW6VX2O6",active:"active-CW6VX2O6",section:"section-CW6VX2O6"}},71091:()=>{},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},81524:e=>{e.exports={highlighted:"highlighted-YWUtZHTy"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},40367:e=>{e.exports={icon:"icon-AL2odtws",dropped:"dropped-AL2odtws"}},90186:(e,t,n)=>{"use strict";function o(e){return r(e,s)}function i(e){return r(e,a)}function r(e,t){const n=Object.entries(e).filter(t),o={};for(const[e,t]of n)o[e]=t;return o}function s(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterDataProps:()=>o,filterAriaProps:()=>i,filterProps:()=>r,isDataAttribute:()=>s,isAriaAttribute:()=>a})},26005:(e,t,n)=>{"use strict";n.d(t,{CollapsibleSection:()=>c});var o=n(59496),i=n(97754),r=n.n(i),s=n(10381),a=n(50789);function c(e){return o.createElement(o.Fragment,null,o.createElement("div",{className:r()(e.className,a.summary),onClick:function(){ -e.onStateChange&&e.onStateChange(!e.open)},"data-open":e.open},e.summary,o.createElement(s.ToolWidgetCaret,{className:a.caret,dropped:Boolean(e.open)})),e.open&&e.children)}},40233:(e,t,n)=>{"use strict";n.d(t,{VerticalAttachEdge:()=>o,HorizontalAttachEdge:()=>i,VerticalDropDirection:()=>r,HorizontalDropDirection:()=>s,getPopupPositioner:()=>l});var o,i,r,s,a=n(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(o||(o={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(r||(r={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(s||(s={}));const c={verticalAttachEdge:o.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:r.FromTopToBottom,horizontalDropDirection:s.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function l(e,t){return(n,l)=>{const d=(0,a.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:u=c.verticalAttachEdge,verticalDropDirection:h=c.verticalDropDirection,horizontalAttachEdge:m=c.horizontalAttachEdge,horizontalDropDirection:p=c.horizontalDropDirection,horizontalMargin:v=c.horizontalMargin,verticalMargin:g=c.verticalMargin,matchButtonAndListboxWidths:f=c.matchButtonAndListboxWidths}=t,C=u===o.Top?-1*g:g,E=m===i.Right?d.right:d.left,w=u===o.Top?d.top:d.bottom,x={x:E-(p===s.FromRightToLeft?n:0)+v,y:w-(h===r.FromBottomToTop?l:0)+C};return f&&(x.overrideWidth=d.width),x}}},11507:(e,t,n)=>{"use strict";n.r(t),n.d(t,{currencyActions:()=>a});var o=n(88537),i=n(28353),r=n(82629),s=n(19868);function a(e,t,n){if(null===t||t.readOnly)return[];const a=[],c=t=>{e.setPriceScaleCurrency(n,t)},l=t.selectedCurrency,d=t.originalCurrencies,u=t.baseCurrencies,h=t.displayedValues,m=s.favoriteCurrencyUnitConversionService.get().currencies,p={id:"first_section",actions:[]};if(d.size>1){const e=(0,r.createAction)("Mixed",(0,i.t)("Mixed"),void 0,void 0,null===t.selectedCurrency,()=>c(null));p.actions.push(e)}const v=e.model().availableCurrencies();if(null!==l){const e=(0,o.ensureNotNull)(v.item(l)),t=(0,r.createAction)(l,(0,o.ensureDefined)(h.get(l)),e.logoUrl,e.description,!0,()=>{},m.has(l),()=>s.favoriteCurrencyUnitConversionService.toggle("currencies",l));p.actions.push(t)}const g=v.filterConvertible(u,e=>e!==l&&d.has(e));for(const e of g){const n=(0,o.ensureNotNull)(v.item(e.id));p.actions.push((0,r.createAction)(e.id,e.code,n.logoUrl,n.description,t.selectedCurrency===e.id,()=>c(e.id),m.has(e.id),()=>s.favoriteCurrencyUnitConversionService.toggle("currencies",e.id)))}p.actions.length>0&&a.push(p);const f=v.filterConvertible(u,e=>e!==l&&!d.has(e)),C=[],E=[];for(const e of f){const n=(0,o.ensureNotNull)(v.item(e.id)),i=m.has(e.id),a=(0,r.createAction)(e.id,e.code,n.logoUrl,n.description,t.selectedCurrency===e.id,()=>c(e.id),i,()=>s.favoriteCurrencyUnitConversionService.toggle("currencies",e.id));i?C.push(a):E.push(a)}return(E.length>0||C.length>0)&&a.push({id:"second_section",actions:C.concat(E)}),a}}, -19868:(e,t,n)=>{"use strict";n.d(t,{favoriteCurrencyUnitConversionService:()=>a});var o=n(56840),i=n(21097),r=n(9127);class s extends r.AbstractJsonStoreService{constructor(e,t){super(e,t,"FAVORITE_CURRENCY_UNIT_CONVERSION_CHANGED","currencyUnitConversion.favorites",{currencies:new Set,units:new Set})}add(e,t){const n=this.get();n[e].add(t),this.set(n)}remove(e,t){const n=this.get();n[e].delete(t)&&this.set(n)}toggle(e,t){this.get()[e].has(t)?this.remove(e,t):this.add(e,t)}_serialize(e){return[[...e.currencies],[...e.units]]}_deserialize(e){return{currencies:new Set(e[0]),units:new Set(e[1])}}}const a=new s(i.TVXWindowEvents,o)},53997:(e,t,n)=>{"use strict";n.r(t),n.d(t,{unitActions:()=>a});var o=n(88537),i=n(28353),r=n(82629),s=n(19868);function a(e,t,n){if(null===t||0===t.availableGroups.size)return[];const a=[],c=t=>{e.setPriceScaleUnit(n,t)},l=t.selectedUnit,d=t.originalUnits,u=t.names,h=t.descriptions,m=s.favoriteCurrencyUnitConversionService.get().units,p={actions:[],id:"first_section"};if(d.size>1){const e=(0,r.createAction)("Mixed",(0,i.t)("Mixed"),void 0,void 0,null===t.selectedUnit,()=>c(null));p.actions.push(e)}const v=e.model().availableUnits();if(null!==l){const e=(0,r.createAction)(l,(0,o.ensureDefined)(u.get(l)),void 0,(0,o.ensureDefined)(h.get(l)),!0,()=>{},m.has(l),()=>s.favoriteCurrencyUnitConversionService.toggle("units",l));p.actions.push(e)}const g=v.unitsByGroups(t.availableGroups),f=[],C=[];for(const e of g)for(const t of e.units){const e=m.has(t.id);if(t.id===l||!e&&!d.has(t.id))continue;const n=(0,r.createAction)(t.id,t.name,void 0,t.description,!1,()=>c(t.id),e,()=>s.favoriteCurrencyUnitConversionService.toggle("units",t.id));e?C.push(n):f.push(n)}(f.length>0||C.length>0)&&p.actions.push(...C.sort((e,t)=>e.label.toLowerCase().localeCompare(t.label.toLowerCase())),...f),p.actions.length>0&&a.push(p);const E=l&&v.unitGroupById(l);if(null!==E)for(const e of g){if(e.name!==E)continue;const t=[];for(const n of e.units)n.id===l||d.has(n.id)||m.has(n.id)||t.push((0,r.createAction)(n.id,n.name,void 0,n.description,!1,()=>c(n.id),!1,()=>s.favoriteCurrencyUnitConversionService.toggle("units",n.id)));t.length>0&&a.push({id:e.name,name:e.name,actions:t})}for(const e of g){if(e.name===E)continue;const t=[];for(const n of e.units)n.id===l||d.has(n.id)||m.has(n.id)||t.push((0,r.createAction)(n.id,n.name,void 0,n.description,!1,()=>c(n.id),!1,()=>s.favoriteCurrencyUnitConversionService.toggle("units",n.id)));t.length>0&&a.push({id:e.name,name:e.name,actions:t})}return a}},82629:(e,t,n)=>{"use strict";function o(e,t,n,o,i,r,s,a){return{id:e,label:t,icon:n,description:o,isActive:i,onClick:r,isFavorite:s,onFavoriteClick:a}}n.d(t,{createAction:()=>o})},39640:(e,t,n)=>{"use strict";function o(e,t,n,o,i){function r(i){if(e>i.timeStamp)return;const r=i.target;void 0!==n&&null!==t&&null!==r&&r.ownerDocument===o&&(t.contains(r)||n(i))}return i.click&&o.addEventListener("click",r,!1),i.mouseDown&&o.addEventListener("mousedown",r,!1),i.touchEnd&&o.addEventListener("touchend",r,!1), -i.touchStart&&o.addEventListener("touchstart",r,!1),()=>{o.removeEventListener("click",r,!1),o.removeEventListener("mousedown",r,!1),o.removeEventListener("touchend",r,!1),o.removeEventListener("touchstart",r,!1)}}n.d(t,{addOutsideEventListener:()=>o})},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>i});var o=n(96746);const i={SmallHeight:o["small-height-breakpoint"],TabletSmall:o["tablet-small-breakpoint"],TabletNormal:o["tablet-normal-breakpoint"]}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>D});var o=n(59496),i=n(88537);var r=n(97754),s=n.n(r),a=n(68335),c=n(35749),l=n(63016),d=n(1109),u=n(24437),h=n(90692),m=n(95711),p=n(52092),v=n(76422),g=n(9745);const f=o.createContext({setHideClose:()=>{}});var C=n(37257),E=n(91441);function w(e){const{title:t,subtitle:n,showCloseIcon:i=!0,onClose:r,renderBefore:a,renderAfter:c,draggable:l,className:d,unsetAlign:u}=e,[h,m]=(0,o.useState)(!1);return o.createElement(f.Provider,{value:{setHideClose:m}},o.createElement("div",{className:s()(E.container,d,(n||u)&&E.unsetAlign)},a,o.createElement("div",{"data-dragg-area":l,className:E.title},o.createElement("div",{className:E.ellipsis},t),n&&o.createElement("div",{className:s()(E.ellipsis,E.subtitle)},n)),c,i&&!h&&o.createElement(g.Icon,{className:E.close,icon:C,onClick:r,"data-name":"close","data-role":"button"})))}var x=n(67179);const y={vertical:20},b={vertical:0};class D extends o.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(u.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,a.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,o=(0,i.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,c.isTextEditingField)(n))return void o.focus();if(o.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;v.subscribe(p.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))} -componentWillUnmount(){var e,t;v.unsubscribe(p.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,i.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:i,title:r,dataName:a,onClickOutside:c,additionalElementPos:p,additionalHeaderElement:v,backdrop:g,shouldForceFocus:f=!0,showSeparator:C,subtitle:E,draggable:D=!0,fullScreen:S=!1,showCloseIcon:_=!0,rounded:N=!0,isAnimationEnabled:k,growPoint:A,dialogTooltip:O,unsetHeaderAlign:F,onDragStart:M,dataDialogName:z}=this.props,L="after"!==p?v:void 0,I="after"===p?v:void 0,U="string"==typeof r?r:z||"";return o.createElement(h.MatchMedia,{rule:u.DialogBreakpoints.SmallHeight},p=>o.createElement(h.MatchMedia,{rule:u.DialogBreakpoints.TabletSmall},u=>o.createElement(l.PopupDialog,{rounded:!(u||S)&&N,className:s()(x.dialog,e),isOpened:i,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:c,onClickBackdrop:c,fullscreen:u||S,guard:p?b:y,boundByScreen:u||S,shouldForceFocus:f,backdrop:g,draggable:D,isAnimationEnabled:k,growPoint:A,name:this.props.dataName,dialogTooltip:O,onDragStart:M},o.createElement("div",{className:s()(x.wrapper,t),"data-name":a,"data-dialog-name":U},void 0!==r&&o.createElement(w,{draggable:D&&!(u||S),onClose:this._handleClose,renderAfter:I,renderBefore:L,subtitle:E,title:r,showCloseIcon:_,className:n,unsetAlign:F}),C&&o.createElement(d.Separator,{className:x.separator}),o.createElement(m.PopupContext.Consumer,null,e=>this._renderChildren(e,u||S))))))}}},69654:(e,t,n)=>{"use strict";n.d(t,{DialogSearch:()=>d});var o=n(59496),i=n(97754),r=n.n(i),s=n(28353),a=n(9745),c=n(5639),l=n(28712);function d(e){const{children:t,renderInput:n,onCancel:i,...d}=e;return o.createElement("div",{className:l.container},o.createElement("div",{className:r()(l.inputContainer,i&&l.withCancel)},n||o.createElement(u,{...d})),t,o.createElement(a.Icon,{className:l.icon,icon:c}),i&&o.createElement("div",{className:l.cancel,onClick:i},(0,s.t)("Cancel")))}function u(e){const{className:t,reference:n,value:i,onChange:s,onFocus:a,onBlur:c,onKeyDown:d,onSelect:u,placeholder:h,...m}=e;return o.createElement("input",{...m,ref:n,type:"text",className:r()(t,l.input),autoComplete:"off","data-role":"search",placeholder:h,value:i,onChange:s,onFocus:a,onBlur:c,onSelect:u,onKeyDown:d})}},71834:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UnitConversionRenderer:()=>P});var o=n(59496),i=n(87995),r=n(19868),s=n(90692),a=n(19785),c=n(68335);var l=n(24437),d=n(40233),u=n(97754),h=n.n(u),m=n(28353),p=n(9745),v=n(50628),g=n(27317),f=n(40173),C=n(51613),E=n(26005),w=n(36189);n(71091);function x(e){var t,n;const i=(r=e.size,s=e.className,u("tv-circle-logo","tv-circle-logo--"+r,s));var r,s -;const a=null!==(n=null!==(t=e.alt)&&void 0!==t?t:e.title)&&void 0!==n?n:"";return function(e){return"logoUrl"in e&&void 0!==e.logoUrl&&0!==e.logoUrl.length}(e)?o.createElement("img",{className:i,src:e.logoUrl,alt:a,title:e.title,loading:e.loading}):o.createElement("span",{className:i,title:e.title},e.placeholderLetter)}var y=n(24637),b=n(61936);const D=o.memo((function(e){const{label:t,icon:n,rules:i,search:r,description:s,onClick:a,onClose:c,isActive:l,isSmallSize:d,isSelected:u,selectedRef:m,hasDescriptions:p,hasIcons:v,isFavorite:g,onFavoriteClick:f}=e,C=(0,o.useCallback)(()=>{a(),c&&c()},[a,c]),E=d&&b.small;return o.createElement("div",{className:h()(b.action,l&&b.active,E,p&&b.withDescription,u&&b.selected),onClick:C,ref:m},v&&(void 0!==n?o.createElement(x,{logoUrl:n,size:p?"xsmall":"xxsmall",className:h()(b.icon,E)}):o.createElement("span",{className:h()(b.fakeIcon,E)})),o.createElement("div",{className:h()(b.labelAndDescription,E)},o.createElement("span",{className:h()(b.label,E)},D(t)),p&&o.createElement("br",null),p&&o.createElement("span",{className:h()(b.description,E)},s?D(s):"")),void 0!==g&&o.createElement("div",{className:h()(b.action__favoriteIcon,g&&b.action__favoriteIcon_active)},o.createElement(w.FavoriteButton,{isActive:l,isFilled:g,onClick:function(e){e.stopPropagation(),null==f||f()}})));function D(e){return o.createElement(y.HighlightedText,{text:e,rules:i,queryString:r,className:h()(l&&b.highlighted,l&&b.active)})}}),(e,t)=>Object.keys(t).filter(e=>!["onClick","onClose","onFavoriteClick"].includes(e)).every(n=>t[n]===e[n]));var S=n(21031),_=n(74471),N=n(94953),k=n(17147);const A=(0,f.mergeThemes)(g.DEFAULT_MENU_THEME,k);function O(e){const{title:t,sections:n,onClose:i,selectedId:r,selectedRef:s,search:a,setSearch:c,items:l,rules:d,searchRef:u,hasDescriptions:g,hasIcons:f,...w}=e,[x,y]=(0,o.useState)(()=>n.reduce((e,t,n)=>(t.name&&(e[t.id]=!0),e),{}));function b(e){const{id:t,...n}=e;return o.createElement(D,{key:t,rules:d,search:a,onClose:i,isSmallSize:!0,isSelected:t===r,selectedRef:t===r?s:void 0,hasDescriptions:g,hasIcons:f,...n})}return o.createElement(v.PopupMenu,{...w,onClose:i,className:h()(N.menu,g&&N.withDescriptions),theme:A,maxHeight:g?313:280,noMomentumBasedScroll:!0,isOpened:!0,onOpen:function(){var e;null===(e=u.current)||void 0===e||e.focus()}},o.createElement("div",{className:N.header},o.createElement("div",{className:N.title},t),o.createElement("div",{className:N.container},o.createElement(p.Icon,{icon:S,className:N.icon}),o.createElement("input",{size:1,type:"text",className:N.input,placeholder:(0,m.t)("Search"),autoComplete:"off","data-role":"search",onChange:function(e){c(e.target.value)},value:a,ref:u}),Boolean(a)&&o.createElement(p.Icon,{icon:_,className:N.clear,onClick:function(){c("")}}))),a?l.map(b):n.map((e,t)=>o.createElement(o.Fragment,{key:e.id},Boolean(t)&&o.createElement(C.PopupMenuSeparator,null),e.name?o.createElement(E.CollapsibleSection,{summary:e.name,className:N.section,open:x[e.id],onStateChange:t=>y({...x,[e.id]:t})},e.actions.map(b)):e.actions.map(b)))) -}var F=n(85457),M=n(69654),z=n(75193);function L(e){const{title:t,onClose:n,sections:i,selectedId:r,selectedRef:s,search:a,setSearch:c,items:l,rules:d,searchRef:u,hasIcons:h,hasDescriptions:p}=e;return o.createElement(F.AdaptivePopupDialog,{title:t,onClose:n,render:function(){return o.createElement(o.Fragment,null,o.createElement(M.DialogSearch,{placeholder:(0,m.t)("Search"),onChange:v,reference:u}),o.createElement("div",{className:z.container},a?l.map(e=>{const{id:t,isActive:i,...c}=e;return o.createElement(D,{key:t,isActive:i,onClose:n,rules:d,search:a,isSelected:t===r,selectedRef:t===r?s:void 0,hasIcons:h,hasDescriptions:p,...c})}):i.map((e,t)=>o.createElement(o.Fragment,{key:e.id},e.name&&o.createElement("div",{className:z.section},e.name),e.actions.map((c,l)=>{const{id:u,...m}=c,v=l===e.actions.length-1,g=t===i.length-1;return o.createElement(o.Fragment,{key:u},o.createElement(D,{rules:d,search:a,onClose:n,isSelected:u===r,selectedRef:u===r?s:void 0,hasIcons:h,hasDescriptions:p,...m}),!g&&v&&o.createElement("div",{className:z.separator}))})))))},dataName:"unit-conversion-dialog",draggable:!1,fullScreen:!0,isOpened:!0});function v(e){c(e.target.value)}}const I={horizontalAttachEdge:d.HorizontalAttachEdge.Right,horizontalDropDirection:d.HorizontalDropDirection.FromRightToLeft};function U(e){const{element:t,...n}=e,[i,r]=(0,o.useState)(E()),[u,h]=(0,o.useState)(""),m=(0,o.useRef)(null),p=(0,o.useRef)(null),v=(0,o.useMemo)(()=>(0,a.createRegExpList)(u),[u]),{activeIdx:g,setActiveIdx:f}=function(e,t,n,i="keydown"){const[r,s]=(0,o.useState)(-1);return(0,o.useEffect)(()=>{if(!e)return;const n=e=>{switch((0,c.hashFromEvent)(e)){case 40:if(r===t.length-1)break;e.preventDefault(),s(r+1);break;case 38:if(r<=0)break;e.preventDefault(),s(r-1);break}};return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}},[e,r,t]),(0,o.useEffect)(()=>{if(!e||!n)return;const o=e=>{var o;e.repeat||13===(0,c.hashFromEvent)(e)&&n(null!==(o=t[r])&&void 0!==o?o:null,e)};return e.addEventListener(i,o),()=>{e.removeEventListener(i,o)}},[e,r,t,n,i]),{activeIdx:r,setActiveIdx:s}}(m.current,i,(function(e){e&&(e.onClick(),n.onClose())}));!function(e,t=[]){(0,o.useEffect)(()=>{e(-1)},[...t])}(f,[i]),function(e,t){(0,o.useEffect)(()=>{var n;t>=0&&(null===(n=e.current)||void 0===n||n.scrollIntoView({block:"nearest"}))},[t])}(p,g),(0,o.useEffect)(()=>{r(u?function(e,t,n){const o=e.reduce((e,t)=>[...e,...t.actions],[]);return(0,a.rankedSearch)({data:o,rules:n,queryString:t,primaryKey:"label",secondaryKey:"description"})}(n.sections,u,v):E())},[u,n.sections,v]);const C=(0,o.useMemo)(()=>({selectedId:Boolean(g>=0&&i[g])?i[g].id:"",selectedRef:p,search:u,setSearch:h,searchRef:m,items:i,rules:v,hasIcons:i.some(e=>void 0!==e.icon),hasDescriptions:i.some(e=>void 0!==e.description)}),[g,p,u,h,m,i,v]);return o.createElement(s.MatchMedia,{rule:l.DialogBreakpoints.TabletSmall},e=>e?o.createElement(L,{...n,...C}):o.createElement(O,{...n,...C,position:(0,d.getPopupPositioner)(t,I),doNotCloseOn:t}));function E(){ -return n.sections.reduce((e,t)=>(e.push(...t.actions),e),[])}}class P{constructor(e,t,n){this._rootElem=document.createElement("div"),this.close=()=>{null!==this._rootElem&&(i.unmountComponentAtNode(this._rootElem),r.favoriteCurrencyUnitConversionService.getOnChange().unsubscribe(this,this._render),this._rootElem=null)},this.isOpened=()=>null!==this._rootElem,this._title=e,this._element=t,this._sectionsGetter=n,this._render(),r.favoriteCurrencyUnitConversionService.getOnChange().subscribe(this,this._render)}_render(){const e={title:this._title,sections:this._sectionsGetter(),element:this._element,onClose:this.close};i.render(o.createElement(U,{...e}),this._rootElem)}}},36189:(e,t,n)=>{"use strict";n.d(t,{FavoriteButton:()=>u});var o=n(28353),i=n(59496),r=n(97754),s=n(9745),a=n(20614),c=n(55783),l=n(16842);const d={add:(0,o.t)("Add to favorites"),remove:(0,o.t)("Remove from favorites")};function u(e){const{className:t,isFilled:n,isActive:o,onClick:u,...h}=e;return i.createElement(s.Icon,{...h,className:r(l.favorite,"apply-common-tooltip",n&&l.checked,o&&l.active,t),icon:n?a:c,onClick:u,title:n?d.remove:d.add})}},19785:(e,t,n)=>{"use strict";n.d(t,{rankedSearch:()=>i,createRegExpList:()=>r,getHighlightedChars:()=>s});var o=n(80643);function i(e){const{data:t,rules:n,queryString:i,isPreventedFromFiltering:r,primaryKey:s,secondaryKey:a=s,optionalPrimaryKey:c}=e;return t.map(e=>{const t=c&&e[c]?e[c]:e[s],r=e[a];let l,d=0;return n.forEach(e=>{var n,s,a,c;const{re:u,fullMatch:h}=e;return u.lastIndex=0,t&&t.toLowerCase()===i.toLowerCase()?(d=3,void(l=null===(n=t.match(h))||void 0===n?void 0:n.index)):(0,o.isString)(t)&&h.test(t)?(d=2,void(l=null===(s=t.match(h))||void 0===s?void 0:s.index)):(0,o.isString)(r)&&h.test(r)?(d=1,void(l=null===(a=r.match(h))||void 0===a?void 0:a.index)):void((0,o.isString)(r)&&u.test(r)&&(d=1,l=null===(c=r.match(u))||void 0===c?void 0:c.index))}),{matchPriority:d,matchIndex:l,item:e}}).filter(e=>r||e.matchPriority).sort((e,t)=>{if(e.matchPriorityt.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndexe)}function r(e,t){const n=[],o=e.toLowerCase(),i=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+a(e):a(e)})`).join("(.*?)")+"(.*)";return n.push({fullMatch:new RegExp(`(${a(e)})`,"i"),re:new RegExp("^"+i,"i"),reserveRe:new RegExp(i,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(o)&&n.push({fullMatch:t[o],re:t[o],fuzzyHighlight:!1}),n}function s(e,t,n){const o=[];return e&&n?(n.forEach(e=>{const{fullMatch:n,re:i,reserveRe:r}=e;n.lastIndex=0,i.lastIndex=0;const s=n.exec(t),a=s||i.exec(t)||r&&r.exec(t);if(e.fuzzyHighlight=!s,a)if(e.fuzzyHighlight){let e=a.index;for(let t=1;t{"use strict";n.d(t,{HighlightedText:()=>a});var o=n(59496),i=n(97754),r=n(19785),s=n(81524);function a(e){const{queryString:t,rules:n,text:a,className:c}=e,l=(0,o.useMemo)(()=>(0,r.getHighlightedChars)(t,a,n),[t,n,a]);return o.createElement(o.Fragment,null,l.length?a.split("").map((e,t)=>o.createElement(o.Fragment,{key:t},l[t]?o.createElement("span",{className:i(s.highlighted,c)},e):o.createElement("span",null,e))):a)}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>s});var o=n(59496),i=n(97754),r=n(91626);function s(e){return o.createElement("div",{className:i(r.separator,e.className)})}},51613:(e,t,n)=>{"use strict";n.d(t,{PopupMenuSeparator:()=>a});var o=n(59496),i=n(97754),r=n.n(i),s=n(524);function a(e){const{size:t="normal",className:n}=e;return o.createElement("div",{className:r()(s.separator,"small"===t&&s.small,"normal"===t&&s.normal,"large"===t&&s.large,n)})}},50628:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>l});var o=n(59496),i=n(87995),r=n(65718),s=n(27317),a=n(29197),c=n(58095);function l(e){const{controller:t,children:n,isOpened:l,closeOnClickOutside:d=!0,doNotCloseOn:u,onClickOutside:h,onClose:m,...p}=e,v=(0,o.useContext)(a.CloseDelegateContext),g=(0,c.useOutsideEvent)({handler:function(e){h&&h(e);if(!d)return;if(u&&e.target instanceof Node){const t=i.findDOMNode(u);if(t instanceof Node&&t.contains(e.target))return}m()},mouseDown:!0,touchStart:!0});return l?o.createElement(r.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},o.createElement("span",{ref:g,style:{pointerEvents:"auto"}},o.createElement(s.Menu,{...p,onClose:m,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:v,ref:t},n))):null}},10381:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetCaret:()=>c});var o=n(59496),i=n(97754),r=n(9745),s=n(40367),a=n(81268);function c(e){const{dropped:t,className:n}=e;return o.createElement(r.Icon,{className:i(n,s.icon,{[s.dropped]:t}),icon:a})}},40173:(e,t,n)=>{"use strict";function o(e,t,n={}){const o=Object.assign({},t);for(const i of Object.keys(t)){const r=n[i]||i;r in e&&(o[i]=[e[r],t[i]].join(" "))}return o}function i(e,t,n={}){return Object.assign({},e,o(e,t,n))}n.d(t,{weakComposeClasses:()=>o,mergeThemes:()=>i})},81268:e=>{e.exports=''},37257:e=>{e.exports=''},74471:e=>{e.exports=''},21031:e=>{ -e.exports=''},5639:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/currency-label-menu.ccab0620dccaa2883306.js b/charting_library/bundles/currency-label-menu.ccab0620dccaa2883306.js new file mode 100644 index 00000000..3a997ab0 --- /dev/null +++ b/charting_library/bundles/currency-label-menu.ccab0620dccaa2883306.js @@ -0,0 +1,9 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2704],{50789:e=>{e.exports={summary:"summary-hk3Mmxts",hovered:"hovered-hk3Mmxts",caret:"caret-hk3Mmxts"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},28712:e=>{e.exports={container:"container-CcsqUMct",inputContainer:"inputContainer-CcsqUMct",withCancel:"withCancel-CcsqUMct",input:"input-CcsqUMct",icon:"icon-CcsqUMct",cancel:"cancel-CcsqUMct"}},17147:e=>{e.exports={scrollWrap:"scrollWrap-wu0oD0zz"}},75193:e=>{e.exports={container:"container-bD7VSobf",separator:"separator-bD7VSobf",section:"section-bD7VSobf"}},61936:e=>{e.exports={action:"action-cwmjKW8F",hovered:"hovered-cwmjKW8F",active:"active-cwmjKW8F",label:"label-cwmjKW8F",description:"description-cwmjKW8F",selected:"selected-cwmjKW8F",small:"small-cwmjKW8F",withDescription:"withDescription-cwmjKW8F",action__favoriteIcon:"action__favoriteIcon-cwmjKW8F",action__favoriteIcon_active:"action__favoriteIcon_active-cwmjKW8F",labelAndDescription:"labelAndDescription-cwmjKW8F",icon:"icon-cwmjKW8F",fakeIcon:"fakeIcon-cwmjKW8F",highlighted:"highlighted-cwmjKW8F"}},94953:e=>{e.exports={menu:"menu-CW6VX2O6",withDescriptions:"withDescriptions-CW6VX2O6",header:"header-CW6VX2O6",title:"title-CW6VX2O6",container:"container-CW6VX2O6",icon:"icon-CW6VX2O6",clear:"clear-CW6VX2O6",input:"input-CW6VX2O6",highlighted:"highlighted-CW6VX2O6",active:"active-CW6VX2O6",section:"section-CW6VX2O6"}},71091:()=>{},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},81524:e=>{e.exports={highlighted:"highlighted-YWUtZHTy"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},40367:e=>{e.exports={icon:"icon-AL2odtws",dropped:"dropped-AL2odtws"}},90186:(e,t,n)=>{"use strict";function i(e){return o(e,s)}function r(e){return o(e,a)}function o(e,t){const n=Object.entries(e).filter(t),i={};for(const[e,t]of n)i[e]=t;return i}function s(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterDataProps:()=>i,filterAriaProps:()=>r,filterProps:()=>o,isDataAttribute:()=>s,isAriaAttribute:()=>a})},26005:(e,t,n)=>{"use strict";n.d(t,{CollapsibleSection:()=>c});var i=n(59496),r=n(97754),o=n.n(r),s=n(10381),a=n(50789);function c(e){return i.createElement(i.Fragment,null,i.createElement("div",{className:o()(e.className,a.summary),onClick:function(){ +e.onStateChange&&e.onStateChange(!e.open)},"data-open":e.open},e.summary,i.createElement(s.ToolWidgetCaret,{className:a.caret,dropped:Boolean(e.open)})),e.open&&e.children)}},40233:(e,t,n)=>{"use strict";n.d(t,{VerticalAttachEdge:()=>i,HorizontalAttachEdge:()=>r,VerticalDropDirection:()=>o,HorizontalDropDirection:()=>s,getPopupPositioner:()=>l});var i,r,o,s,a=n(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(i||(i={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(r||(r={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(o||(o={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(s||(s={}));const c={verticalAttachEdge:i.Bottom,horizontalAttachEdge:r.Left,verticalDropDirection:o.FromTopToBottom,horizontalDropDirection:s.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function l(e,t){return(n,l)=>{const d=(0,a.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:u=c.verticalAttachEdge,verticalDropDirection:h=c.verticalDropDirection,horizontalAttachEdge:m=c.horizontalAttachEdge,horizontalDropDirection:p=c.horizontalDropDirection,horizontalMargin:v=c.horizontalMargin,verticalMargin:g=c.verticalMargin,matchButtonAndListboxWidths:f=c.matchButtonAndListboxWidths}=t,C=u===i.Top?-1*g:g,E=m===r.Right?d.right:d.left,w=u===i.Top?d.top:d.bottom,x={x:E-(p===s.FromRightToLeft?n:0)+v,y:w-(h===o.FromBottomToTop?l:0)+C};return f&&(x.overrideWidth=d.width),x}}},11507:(e,t,n)=>{"use strict";n.r(t),n.d(t,{currencyActions:()=>a});var i=n(88537),r=n(28353),o=n(82629),s=n(19868);function a(e,t,n){if(null===t||t.readOnly)return[];const a=[],c=t=>{e.setPriceScaleCurrency(n,t)},l=t.selectedCurrency,d=t.originalCurrencies,u=t.baseCurrencies,h=t.displayedValues,m=s.favoriteCurrencyUnitConversionService.get().currencies,p={id:"first_section",actions:[]};if(d.size>1){const e=(0,o.createAction)("Mixed",(0,r.t)("Mixed"),void 0,void 0,null===t.selectedCurrency,()=>c(null));p.actions.push(e)}const v=e.model().availableCurrencies();if(null!==l){const e=(0,i.ensureNotNull)(v.item(l)),t=(0,o.createAction)(l,(0,i.ensureDefined)(h.get(l)),e.logoUrl,e.description,!0,()=>{},m.has(l),()=>s.favoriteCurrencyUnitConversionService.toggle("currencies",l));p.actions.push(t)}const g=v.filterConvertible(u,e=>e!==l&&d.has(e));for(const e of g){const n=(0,i.ensureNotNull)(v.item(e.id));p.actions.push((0,o.createAction)(e.id,e.code,n.logoUrl,n.description,t.selectedCurrency===e.id,()=>c(e.id),m.has(e.id),()=>s.favoriteCurrencyUnitConversionService.toggle("currencies",e.id)))}p.actions.length>0&&a.push(p);const f=v.filterConvertible(u,e=>e!==l&&!d.has(e)),C=[],E=[];for(const e of f){const n=(0,i.ensureNotNull)(v.item(e.id)),r=m.has(e.id),a=(0,o.createAction)(e.id,e.code,n.logoUrl,n.description,t.selectedCurrency===e.id,()=>c(e.id),r,()=>s.favoriteCurrencyUnitConversionService.toggle("currencies",e.id));r?C.push(a):E.push(a)}return(E.length>0||C.length>0)&&a.push({id:"second_section",actions:C.concat(E)}),a}}, +19868:(e,t,n)=>{"use strict";n.d(t,{favoriteCurrencyUnitConversionService:()=>a});var i=n(56840),r=n(21097),o=n(9127);class s extends o.AbstractJsonStoreService{constructor(e,t){super(e,t,"FAVORITE_CURRENCY_UNIT_CONVERSION_CHANGED","currencyUnitConversion.favorites",{currencies:new Set,units:new Set})}add(e,t){const n=this.get();n[e].add(t),this.set(n)}remove(e,t){const n=this.get();n[e].delete(t)&&this.set(n)}toggle(e,t){this.get()[e].has(t)?this.remove(e,t):this.add(e,t)}_serialize(e){return[[...e.currencies],[...e.units]]}_deserialize(e){return{currencies:new Set(e[0]),units:new Set(e[1])}}}const a=new s(r.TVXWindowEvents,i)},53997:(e,t,n)=>{"use strict";n.r(t),n.d(t,{unitActions:()=>a});var i=n(88537),r=n(28353),o=n(82629),s=n(19868);function a(e,t,n){if(null===t||0===t.availableGroups.size)return[];const a=[],c=t=>{e.setPriceScaleUnit(n,t)},l=t.selectedUnit,d=t.originalUnits,u=t.names,h=t.descriptions,m=s.favoriteCurrencyUnitConversionService.get().units,p={actions:[],id:"first_section"};if(d.size>1){const e=(0,o.createAction)("Mixed",(0,r.t)("Mixed"),void 0,void 0,null===t.selectedUnit,()=>c(null));p.actions.push(e)}const v=e.model().availableUnits();if(null!==l){const e=(0,o.createAction)(l,(0,i.ensureDefined)(u.get(l)),void 0,(0,i.ensureDefined)(h.get(l)),!0,()=>{},m.has(l),()=>s.favoriteCurrencyUnitConversionService.toggle("units",l));p.actions.push(e)}const g=v.unitsByGroups(t.availableGroups),f=[],C=[];for(const e of g)for(const t of e.units){const e=m.has(t.id);if(t.id===l||!e&&!d.has(t.id))continue;const n=(0,o.createAction)(t.id,t.name,void 0,t.description,!1,()=>c(t.id),e,()=>s.favoriteCurrencyUnitConversionService.toggle("units",t.id));e?C.push(n):f.push(n)}(f.length>0||C.length>0)&&p.actions.push(...C.sort((e,t)=>e.label.toLowerCase().localeCompare(t.label.toLowerCase())),...f),p.actions.length>0&&a.push(p);const E=l&&v.unitGroupById(l);if(null!==E)for(const e of g){if(e.name!==E)continue;const t=[];for(const n of e.units)n.id===l||d.has(n.id)||m.has(n.id)||t.push((0,o.createAction)(n.id,n.name,void 0,n.description,!1,()=>c(n.id),!1,()=>s.favoriteCurrencyUnitConversionService.toggle("units",n.id)));t.length>0&&a.push({id:e.name,name:e.name,actions:t})}for(const e of g){if(e.name===E)continue;const t=[];for(const n of e.units)n.id===l||d.has(n.id)||m.has(n.id)||t.push((0,o.createAction)(n.id,n.name,void 0,n.description,!1,()=>c(n.id),!1,()=>s.favoriteCurrencyUnitConversionService.toggle("units",n.id)));t.length>0&&a.push({id:e.name,name:e.name,actions:t})}return a}},82629:(e,t,n)=>{"use strict";function i(e,t,n,i,r,o,s,a){return{id:e,label:t,icon:n,description:i,isActive:r,onClick:o,isFavorite:s,onFavoriteClick:a}}n.d(t,{createAction:()=>i})},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>r});var i=n(96746);const r={SmallHeight:i["small-height-breakpoint"],TabletSmall:i["tablet-small-breakpoint"],TabletNormal:i["tablet-normal-breakpoint"]}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>_});var i=n(59496),r=n(88537) +;var o=n(97754),s=n.n(o),a=n(68335),c=n(35749),l=n(81e3),d=n(1109),u=n(24437),h=n(90692),m=n(95711),p=n(52092),v=n(76422),g=n(9745);const f=i.createContext({setHideClose:()=>{}});var C=n(37257),E=n(91441);function w(e){const{title:t,subtitle:n,showCloseIcon:r=!0,onClose:o,renderBefore:a,renderAfter:c,draggable:l,className:d,unsetAlign:u}=e,[h,m]=(0,i.useState)(!1);return i.createElement(f.Provider,{value:{setHideClose:m}},i.createElement("div",{className:s()(E.container,d,(n||u)&&E.unsetAlign)},a,i.createElement("div",{"data-dragg-area":l,className:E.title},i.createElement("div",{className:E.ellipsis},t),n&&i.createElement("div",{className:s()(E.ellipsis,E.subtitle)},n)),c,r&&!h&&i.createElement(g.Icon,{className:E.close,icon:C,onClick:o,"data-name":"close","data-role":"button"})))}var x=n(67179);const y={vertical:20},b={vertical:0};class _ extends i.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(u.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,a.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,i=(0,r.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,c.isTextEditingField)(n))return void i.focus();if(i.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;v.subscribe(p.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;v.unsubscribe(p.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,r.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){ +const{className:e,wrapperClassName:t,headerClassName:n,isOpened:r,title:o,dataName:a,onClickOutside:c,additionalElementPos:p,additionalHeaderElement:v,backdrop:g,shouldForceFocus:f=!0,showSeparator:C,subtitle:E,draggable:_=!0,fullScreen:D=!1,showCloseIcon:S=!0,rounded:N=!0,isAnimationEnabled:A,growPoint:k,dialogTooltip:F,unsetHeaderAlign:O,onDragStart:z,dataDialogName:M}=this.props,I="after"!==p?v:void 0,L="after"===p?v:void 0,U="string"==typeof o?o:M||"";return i.createElement(h.MatchMedia,{rule:u.DialogBreakpoints.SmallHeight},p=>i.createElement(h.MatchMedia,{rule:u.DialogBreakpoints.TabletSmall},u=>i.createElement(l.PopupDialog,{rounded:!(u||D)&&N,className:s()(x.dialog,e),isOpened:r,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:c,onClickBackdrop:c,fullscreen:u||D,guard:p?b:y,boundByScreen:u||D,shouldForceFocus:f,backdrop:g,draggable:_,isAnimationEnabled:A,growPoint:k,name:this.props.dataName,dialogTooltip:F,onDragStart:z},i.createElement("div",{className:s()(x.wrapper,t),"data-name":a,"data-dialog-name":U},void 0!==o&&i.createElement(w,{draggable:_&&!(u||D),onClose:this._handleClose,renderAfter:L,renderBefore:I,subtitle:E,title:o,showCloseIcon:S,className:n,unsetAlign:O}),C&&i.createElement(d.Separator,{className:x.separator}),i.createElement(m.PopupContext.Consumer,null,e=>this._renderChildren(e,u||D))))))}}},69654:(e,t,n)=>{"use strict";n.d(t,{DialogSearch:()=>d});var i=n(59496),r=n(97754),o=n.n(r),s=n(28353),a=n(9745),c=n(5639),l=n(28712);function d(e){const{children:t,renderInput:n,onCancel:r,...d}=e;return i.createElement("div",{className:l.container},i.createElement("div",{className:o()(l.inputContainer,r&&l.withCancel)},n||i.createElement(u,{...d})),t,i.createElement(a.Icon,{className:l.icon,icon:c}),r&&i.createElement("div",{className:l.cancel,onClick:r},(0,s.t)("Cancel")))}function u(e){const{className:t,reference:n,value:r,onChange:s,onFocus:a,onBlur:c,onKeyDown:d,onSelect:u,placeholder:h,...m}=e;return i.createElement("input",{...m,ref:n,type:"text",className:o()(t,l.input),autoComplete:"off","data-role":"search",placeholder:h,value:r,onChange:s,onFocus:a,onBlur:c,onSelect:u,onKeyDown:d})}},71834:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UnitConversionRenderer:()=>P});var i=n(59496),r=n(87995),o=n(19868),s=n(90692),a=n(19785),c=n(68335);var l=n(24437),d=n(40233),u=n(97754),h=n.n(u),m=n(28353),p=n(9745),v=n(50628),g=n(27317),f=n(40173),C=n(51613),E=n(26005),w=n(36189);n(71091);function x(e){var t,n;const r=(o=e.size,s=e.className,u("tv-circle-logo","tv-circle-logo--"+o,s));var o,s;const a=null!==(n=null!==(t=e.alt)&&void 0!==t?t:e.title)&&void 0!==n?n:"";return function(e){return"logoUrl"in e&&void 0!==e.logoUrl&&0!==e.logoUrl.length}(e)?i.createElement("img",{className:r,src:e.logoUrl,alt:a,title:e.title,loading:e.loading}):i.createElement("span",{className:r,title:e.title},e.placeholderLetter)}var y=n(24637),b=n(61936);const _=i.memo((function(e){ +const{label:t,icon:n,rules:r,search:o,description:s,onClick:a,onClose:c,isActive:l,isSmallSize:d,isSelected:u,selectedRef:m,hasDescriptions:p,hasIcons:v,isFavorite:g,onFavoriteClick:f}=e,C=(0,i.useCallback)(()=>{a(),c&&c()},[a,c]),E=d&&b.small;return i.createElement("div",{className:h()(b.action,l&&b.active,E,p&&b.withDescription,u&&b.selected),onClick:C,ref:m},v&&(void 0!==n?i.createElement(x,{logoUrl:n,size:p?"xsmall":"xxsmall",className:h()(b.icon,E)}):i.createElement("span",{className:h()(b.fakeIcon,E)})),i.createElement("div",{className:h()(b.labelAndDescription,E)},i.createElement("span",{className:h()(b.label,E)},_(t)),p&&i.createElement("br",null),p&&i.createElement("span",{className:h()(b.description,E)},s?_(s):"")),void 0!==g&&i.createElement("div",{className:h()(b.action__favoriteIcon,g&&b.action__favoriteIcon_active)},i.createElement(w.FavoriteButton,{isActive:l,isFilled:g,onClick:function(e){e.stopPropagation(),null==f||f()}})));function _(e){return i.createElement(y.HighlightedText,{text:e,rules:r,queryString:o,className:h()(l&&b.highlighted,l&&b.active)})}}),(e,t)=>Object.keys(t).filter(e=>!["onClick","onClose","onFavoriteClick"].includes(e)).every(n=>t[n]===e[n]));var D=n(21031),S=n(74471),N=n(94953),A=n(17147);const k=(0,f.mergeThemes)(g.DEFAULT_MENU_THEME,A);function F(e){const{title:t,sections:n,onClose:r,selectedId:o,selectedRef:s,search:a,setSearch:c,items:l,rules:d,searchRef:u,hasDescriptions:g,hasIcons:f,...w}=e,[x,y]=(0,i.useState)(()=>n.reduce((e,t,n)=>(t.name&&(e[t.id]=!0),e),{}));function b(e){const{id:t,...n}=e;return i.createElement(_,{key:t,rules:d,search:a,onClose:r,isSmallSize:!0,isSelected:t===o,selectedRef:t===o?s:void 0,hasDescriptions:g,hasIcons:f,...n})}return i.createElement(v.PopupMenu,{...w,onClose:r,className:h()(N.menu,g&&N.withDescriptions),theme:k,maxHeight:g?313:280,noMomentumBasedScroll:!0,isOpened:!0,onOpen:function(){var e;null===(e=u.current)||void 0===e||e.focus()}},i.createElement("div",{className:N.header},i.createElement("div",{className:N.title},t),i.createElement("div",{className:N.container},i.createElement(p.Icon,{icon:D,className:N.icon}),i.createElement("input",{size:1,type:"text",className:N.input,placeholder:(0,m.t)("Search"),autoComplete:"off","data-role":"search",onChange:function(e){c(e.target.value)},value:a,ref:u}),Boolean(a)&&i.createElement(p.Icon,{icon:S,className:N.clear,onClick:function(){c("")}}))),a?l.map(b):n.map((e,t)=>i.createElement(i.Fragment,{key:e.id},Boolean(t)&&i.createElement(C.PopupMenuSeparator,null),e.name?i.createElement(E.CollapsibleSection,{summary:e.name,className:N.section,open:x[e.id],onStateChange:t=>y({...x,[e.id]:t})},e.actions.map(b)):e.actions.map(b))))}var O=n(85457),z=n(69654),M=n(75193);function I(e){const{title:t,onClose:n,sections:r,selectedId:o,selectedRef:s,search:a,setSearch:c,items:l,rules:d,searchRef:u,hasIcons:h,hasDescriptions:p}=e;return i.createElement(O.AdaptivePopupDialog,{title:t,onClose:n,render:function(){return i.createElement(i.Fragment,null,i.createElement(z.DialogSearch,{placeholder:(0, +m.t)("Search"),onChange:v,reference:u}),i.createElement("div",{className:M.container},a?l.map(e=>{const{id:t,isActive:r,...c}=e;return i.createElement(_,{key:t,isActive:r,onClose:n,rules:d,search:a,isSelected:t===o,selectedRef:t===o?s:void 0,hasIcons:h,hasDescriptions:p,...c})}):r.map((e,t)=>i.createElement(i.Fragment,{key:e.id},e.name&&i.createElement("div",{className:M.section},e.name),e.actions.map((c,l)=>{const{id:u,...m}=c,v=l===e.actions.length-1,g=t===r.length-1;return i.createElement(i.Fragment,{key:u},i.createElement(_,{rules:d,search:a,onClose:n,isSelected:u===o,selectedRef:u===o?s:void 0,hasIcons:h,hasDescriptions:p,...m}),!g&&v&&i.createElement("div",{className:M.separator}))})))))},dataName:"unit-conversion-dialog",draggable:!1,fullScreen:!0,isOpened:!0});function v(e){c(e.target.value)}}const L={horizontalAttachEdge:d.HorizontalAttachEdge.Right,horizontalDropDirection:d.HorizontalDropDirection.FromRightToLeft};function U(e){const{element:t,...n}=e,[r,o]=(0,i.useState)(E()),[u,h]=(0,i.useState)(""),m=(0,i.useRef)(null),p=(0,i.useRef)(null),v=(0,i.useMemo)(()=>(0,a.createRegExpList)(u),[u]),{activeIdx:g,setActiveIdx:f}=function(e,t,n,r="keydown"){const[o,s]=(0,i.useState)(-1);return(0,i.useEffect)(()=>{if(!e)return;const n=e=>{switch((0,c.hashFromEvent)(e)){case 40:if(o===t.length-1)break;e.preventDefault(),s(o+1);break;case 38:if(o<=0)break;e.preventDefault(),s(o-1);break}};return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}},[e,o,t]),(0,i.useEffect)(()=>{if(!e||!n)return;const i=e=>{var i;e.repeat||13===(0,c.hashFromEvent)(e)&&n(null!==(i=t[o])&&void 0!==i?i:null,e)};return e.addEventListener(r,i),()=>{e.removeEventListener(r,i)}},[e,o,t,n,r]),{activeIdx:o,setActiveIdx:s}}(m.current,r,(function(e){e&&(e.onClick(),n.onClose())}));!function(e,t=[]){(0,i.useEffect)(()=>{e(-1)},[...t])}(f,[r]),function(e,t){(0,i.useEffect)(()=>{var n;t>=0&&(null===(n=e.current)||void 0===n||n.scrollIntoView({block:"nearest"}))},[t])}(p,g),(0,i.useEffect)(()=>{o(u?function(e,t,n){const i=e.reduce((e,t)=>[...e,...t.actions],[]);return(0,a.rankedSearch)({data:i,rules:n,queryString:t,primaryKey:"label",secondaryKey:"description"})}(n.sections,u,v):E())},[u,n.sections,v]);const C=(0,i.useMemo)(()=>({selectedId:Boolean(g>=0&&r[g])?r[g].id:"",selectedRef:p,search:u,setSearch:h,searchRef:m,items:r,rules:v,hasIcons:r.some(e=>void 0!==e.icon),hasDescriptions:r.some(e=>void 0!==e.description)}),[g,p,u,h,m,r,v]);return i.createElement(s.MatchMedia,{rule:l.DialogBreakpoints.TabletSmall},e=>e?i.createElement(I,{...n,...C}):i.createElement(F,{...n,...C,position:(0,d.getPopupPositioner)(t,L),doNotCloseOn:t}));function E(){return n.sections.reduce((e,t)=>(e.push(...t.actions),e),[])}}class P{constructor(e,t,n){this._rootElem=document.createElement("div"),this.close=()=>{null!==this._rootElem&&(r.unmountComponentAtNode(this._rootElem),o.favoriteCurrencyUnitConversionService.getOnChange().unsubscribe(this,this._render),this._rootElem=null)},this.isOpened=()=>null!==this._rootElem,this._title=e,this._element=t, +this._sectionsGetter=n,this._render(),o.favoriteCurrencyUnitConversionService.getOnChange().subscribe(this,this._render)}_render(){const e={title:this._title,sections:this._sectionsGetter(),element:this._element,onClose:this.close};r.render(i.createElement(U,{...e}),this._rootElem)}}},36189:(e,t,n)=>{"use strict";n.d(t,{FavoriteButton:()=>u});var i=n(28353),r=n(59496),o=n(97754),s=n(9745),a=n(20614),c=n(55783),l=n(16842);const d={add:(0,i.t)("Add to favorites"),remove:(0,i.t)("Remove from favorites")};function u(e){const{className:t,isFilled:n,isActive:i,onClick:u,...h}=e;return r.createElement(s.Icon,{...h,className:o(l.favorite,"apply-common-tooltip",n&&l.checked,i&&l.active,t),icon:n?a:c,onClick:u,title:n?d.remove:d.add})}},19785:(e,t,n)=>{"use strict";n.d(t,{rankedSearch:()=>r,createRegExpList:()=>o,getHighlightedChars:()=>s});var i=n(80643);function r(e){const{data:t,rules:n,queryString:r,isPreventedFromFiltering:o,primaryKey:s,secondaryKey:a=s,optionalPrimaryKey:c}=e;return t.map(e=>{const t=c&&e[c]?e[c]:e[s],o=e[a];let l,d=0;return n.forEach(e=>{var n,s,a,c;const{re:u,fullMatch:h}=e;return u.lastIndex=0,t&&t.toLowerCase()===r.toLowerCase()?(d=3,void(l=null===(n=t.match(h))||void 0===n?void 0:n.index)):(0,i.isString)(t)&&h.test(t)?(d=2,void(l=null===(s=t.match(h))||void 0===s?void 0:s.index)):(0,i.isString)(o)&&h.test(o)?(d=1,void(l=null===(a=o.match(h))||void 0===a?void 0:a.index)):void((0,i.isString)(o)&&u.test(o)&&(d=1,l=null===(c=o.match(u))||void 0===c?void 0:c.index))}),{matchPriority:d,matchIndex:l,item:e}}).filter(e=>o||e.matchPriority).sort((e,t)=>{if(e.matchPriorityt.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndexe)}function o(e,t){const n=[],i=e.toLowerCase(),r=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+a(e):a(e)})`).join("(.*?)")+"(.*)";return n.push({fullMatch:new RegExp(`(${a(e)})`,"i"),re:new RegExp("^"+r,"i"),reserveRe:new RegExp(r,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(i)&&n.push({fullMatch:t[i],re:t[i],fuzzyHighlight:!1}),n}function s(e,t,n){const i=[];return e&&n?(n.forEach(e=>{const{fullMatch:n,re:r,reserveRe:o}=e;n.lastIndex=0,r.lastIndex=0;const s=n.exec(t),a=s||r.exec(t)||o&&o.exec(t);if(e.fuzzyHighlight=!s,a)if(e.fuzzyHighlight){let e=a.index;for(let t=1;t{"use strict";n.d(t,{HighlightedText:()=>a});var i=n(59496),r=n(97754),o=n(19785),s=n(81524);function a(e){const{queryString:t,rules:n,text:a,className:c}=e,l=(0,i.useMemo)(()=>(0,o.getHighlightedChars)(t,a,n),[t,n,a]);return i.createElement(i.Fragment,null,l.length?a.split("").map((e,t)=>i.createElement(i.Fragment,{key:t},l[t]?i.createElement("span",{ +className:r(s.highlighted,c)},e):i.createElement("span",null,e))):a)}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>s});var i=n(59496),r=n(97754),o=n(91626);function s(e){return i.createElement("div",{className:r(o.separator,e.className)})}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>r});var i=n(58095);function r(e){const{children:t,...n}=e;return t((0,i.useOutsideEvent)(n))}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>o});var i=n(59496),r=n(65718);function o(e){return class extends i.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const o=i.createElement(e,{...this.props,zIndex:150});return"parent"===n?o:i.createElement(r.Portal,null,o)}}}},51613:(e,t,n)=>{"use strict";n.d(t,{PopupMenuSeparator:()=>a});var i=n(59496),r=n(97754),o=n.n(r),s=n(524);function a(e){const{size:t="normal",className:n}=e;return i.createElement("div",{className:o()(s.separator,"small"===t&&s.small,"normal"===t&&s.normal,"large"===t&&s.large,n)})}},10381:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetCaret:()=>c});var i=n(59496),r=n(97754),o=n(9745),s=n(40367),a=n(81268);function c(e){const{dropped:t,className:n}=e;return i.createElement(o.Icon,{className:r(n,s.icon,{[s.dropped]:t}),icon:a})}},81268:e=>{e.exports=''},37257:e=>{e.exports=''},74471:e=>{e.exports=''},21031:e=>{e.exports=''},5639:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/custom-intervals-add-dialog.4f43b1b0de65b2b6006c.js b/charting_library/bundles/custom-intervals-add-dialog.4f43b1b0de65b2b6006c.js deleted file mode 100644 index 7204f519..00000000 --- a/charting_library/bundles/custom-intervals-add-dialog.4f43b1b0de65b2b6006c.js +++ /dev/null @@ -1,12 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4013],{6539:e=>{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},21103:e=>{e.exports={container:"container-pgo9gj31","intent-default":"intent-default-pgo9gj31",focused:"focused-pgo9gj31",readonly:"readonly-pgo9gj31",disabled:"disabled-pgo9gj31","with-highlight":"with-highlight-pgo9gj31",grouped:"grouped-pgo9gj31","adjust-position":"adjust-position-pgo9gj31","first-row":"first-row-pgo9gj31","first-col":"first-col-pgo9gj31",stretch:"stretch-pgo9gj31","font-size-medium":"font-size-medium-pgo9gj31","font-size-large":"font-size-large-pgo9gj31","size-small":"size-small-pgo9gj31","size-medium":"size-medium-pgo9gj31","size-large":"size-large-pgo9gj31","intent-success":"intent-success-pgo9gj31","intent-warning":"intent-warning-pgo9gj31","intent-danger":"intent-danger-pgo9gj31","intent-primary":"intent-primary-pgo9gj31","border-none":"border-none-pgo9gj31","border-thin":"border-thin-pgo9gj31","border-thick":"border-thick-pgo9gj31","no-corner-top-left":"no-corner-top-left-pgo9gj31","no-corner-top-right":"no-corner-top-right-pgo9gj31","no-corner-bottom-right":"no-corner-bottom-right-pgo9gj31","no-corner-bottom-left":"no-corner-bottom-left-pgo9gj31",highlight:"highlight-pgo9gj31",shown:"shown-pgo9gj31"}},10306:e=>{e.exports={"inner-slot":"inner-slot-QpAAIiaV",interactive:"interactive-QpAAIiaV",icon:"icon-QpAAIiaV","inner-middle-slot":"inner-middle-slot-QpAAIiaV","before-slot":"before-slot-QpAAIiaV","after-slot":"after-slot-QpAAIiaV"}},66579:e=>{e.exports={input:"input-uGWFLwEy","with-start-slot":"with-start-slot-uGWFLwEy","with-end-slot":"with-end-slot-uGWFLwEy"}},22169:e=>{e.exports={scrollable:"scrollable-fejnDJJf",content:"content-fejnDJJf",row:"row-fejnDJJf",title:"title-fejnDJJf",control:"control-fejnDJJf"}},91131:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",footer:"footer-xe9kH1lJ",submitButton:"submitButton-xe9kH1lJ",buttons:"buttons-xe9kH1lJ"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY", -wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},66230:e=>{e.exports={button:"button-h8C3IU2n","button-children":"button-children-h8C3IU2n",hiddenArrow:"hiddenArrow-h8C3IU2n",invisibleFocusHandler:"invisibleFocusHandler-h8C3IU2n"}},99171:e=>{e.exports={button:"button-1ARG85Og",disabled:"disabled-1ARG85Og",hidden:"hidden-1ARG85Og",icon:"icon-1ARG85Og",dropped:"dropped-1ARG85Og"}},79756:e=>{e.exports={placeholder:"placeholder-fKHYe1Lk"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},94720:(e,t,n)=>{"use strict";n.d(t,{Button:()=>C});var o=n(59496),r=n(97754),l=n(95604),s=n(9745),i=n(6539),a=n.n(i);function c(e){const{color:t="brand",size:n="medium",variant:o="primary",stretch:s=!1,icon:i,startIcon:c,endIcon:u,iconOnly:d=!1,className:p,isGrouped:h,cellState:m,disablePositionAdjustment:f=!1}=e,g=function(e){let t="";return 0!==e&&(1&e&&(t=r(t,a()["no-corner-top-left"])),2&e&&(t=r(t,a()["no-corner-top-right"])),4&e&&(t=r(t,a()["no-corner-bottom-right"])),8&e&&(t=r(t,a()["no-corner-bottom-left"]))),t}((0,l.getGroupCellRemoveRoundBorders)(m));return r(p,a().button,a()["size-"+n],a()["color-"+t],a()["variant-"+o],s&&a().stretch,(i||c)&&a()["with-start-icon"],u&&a()["with-end-icon"],d&&a()["icon-only"],g,h&&a().grouped,h&&!f&&a()["adjust-position"],h&&m.isTop&&a()["first-row"],h&&m.isLeft&&a()["first-col"])}function u(e){const{size:t,startIcon:n,icon:r,iconOnly:l,children:i,endIcon:c}=e,u=null!=n?n:r;return o.createElement(o.Fragment,null,u&&"xsmall"!==t&&o.createElement(s.Icon,{icon:u,className:a()["start-icon-wrap"]}),i&&o.createElement("span",{className:a().content},i),c&&!l&&"xsmall"!==t&&o.createElement(s.Icon,{icon:c,className:a()["end-icon-wrap"]}))}var d=n(86332),p=n(90186);function h(e){const{className:t,color:n,variant:o,size:r,stretch:l,animated:s,icon:i,iconOnly:a,startIcon:c,endIcon:u,...d}=e;return{...d,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function m(e){const{reference:t,...n}=e,{isGrouped:r,cellState:l,disablePositionAdjustment:s}=(0,o.useContext)(d.ControlGroupContext),i=c({...n,isGrouped:r,cellState:l,disablePositionAdjustment:s});return o.createElement("button",{...h(n),className:i,ref:t},o.createElement(u,{...n}))}function f(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function g(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function b(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function v(e){const{intent:t,size:n,appearance:o,useFullWidth:r,icon:l,...s}=e;return{...s,color:g(t),size:b(n),variant:f(o),stretch:r,startIcon:l}}function C(e){return o.createElement(m,{...v(e)})}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>o}) -;const o=n(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>v,InputClasses:()=>f});var o=n(59496),r=n(97754),l=n(88537),s=n(66092),i=n(90186),a=n(86332),c=n(95604);var u=n(21103),d=n.n(u);function p(e){let t="";return 0!==e&&(1&e&&(t=r(t,d()["no-corner-top-left"])),2&e&&(t=r(t,d()["no-corner-top-right"])),4&e&&(t=r(t,d()["no-corner-bottom-right"])),8&e&&(t=r(t,d()["no-corner-bottom-left"]))),t}function h(e,t,n,o){const{removeRoundBorder:l,className:s,intent:i="default",borderStyle:a="thin",size:u,highlight:h,disabled:m,readonly:f,stretch:g,noReadonlyStyles:b,isFocused:v}=e,C=p(null!=l?l:(0,c.getGroupCellRemoveRoundBorders)(n));return r(d().container,d()["intent-"+i],d()["border-"+a],u&&d()["size-"+u],C,h&&d()["with-highlight"],m&&d().disabled,f&&!b&&d().readonly,v&&d().focused,g&&d().stretch,t&&d().grouped,!o&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],s)}function m(e,t){const{highlight:n,highlightRemoveRoundBorder:o}=e;if(!n)return d().highlight;const l=p(null!=o?o:(0,c.getGroupCellRemoveRoundBorders)(t));return r(d().highlight,d().shown,l)}const f={FontSizeMedium:(0,l.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,l.ensureDefined)(d()["font-size-large"])},g={passive:!1};function b(e,t){const{id:n,role:r,onFocus:l,onBlur:c,onMouseOver:u,onMouseOut:d,onMouseDown:p,onMouseUp:f,onKeyDown:b,onClick:v,tabIndex:C,startSlot:w,middleSlot:S,endSlot:E,onWheel:x,onWheelNoPassive:y=null}=e,{isGrouped:k,cellState:N,disablePositionAdjustment:_=!1}=(0,o.useContext)(a.ControlGroupContext),A=function(e,t=null,n){const r=(0,o.useRef)(null),l=(0,o.useRef)(null),s=(0,o.useCallback)(()=>{if(null===r.current||null===l.current)return;const[e,t,n]=l.current;null!==t&&r.current.addEventListener(e,t,n)},[]),i=(0,o.useCallback)(()=>{if(null===r.current||null===l.current)return;const[e,t,n]=l.current;null!==t&&r.current.removeEventListener(e,t,n)},[]),a=(0,o.useCallback)(e=>{i(),r.current=e,s()},[]);return(0,o.useEffect)(()=>(l.current=[e,t,n],s(),i),[e,t,n]),a}("wheel",y,g);return o.createElement("span",{id:n,role:r,className:h(e,k,N,_),tabIndex:C,ref:(0,s.useMergedRefs)([t,A]),onFocus:l,onBlur:c,onMouseOver:u,onMouseOut:d,onMouseDown:p,onMouseUp:f,onKeyDown:b,onClick:v,onWheel:x,...(0,i.filterDataProps)(e),...(0,i.filterAriaProps)(e)},w,S,E,o.createElement("span",{className:m(e,N)}))}b.displayName="ControlSkeleton";const v=o.forwardRef(b)},78274:(e,t,n)=>{"use strict";n.d(t,{StartSlot:()=>i,MiddleSlot:()=>a,EndSlot:()=>c,AfterSlot:()=>u});var o=n(59496),r=n(97754),l=n(10306),s=n.n(l);function i(e){const{className:t,interactive:n=!0,icon:l=!1,children:i}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,l&&s().icon,t)},i)}function a(e){ -const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["inner-slot"],s()["inner-middle-slot"],t)},n)}function c(e){const{className:t,interactive:n=!0,icon:l=!1,children:i}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,l&&s().icon,t)},i)}function u(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>v});var o=n(59496),r=n(97754),l=n(90186),s=n(47201),i=n(48907),a=n(66092),c=n(48027),u=n(29202),d=n(45812),p=n(67029),h=n(78274),m=n(66579),f=n.n(m);function g(e){return!(0,l.isAriaAttribute)(e)&&!(0,l.isDataAttribute)(e)}function b(e){const{id:t,title:n,role:s,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:m,draggable:b,autoComplete:v,autoFocus:C,maxLength:w,min:S,max:E,step:x,pattern:y,inputMode:k,onSelect:N,onFocus:_,onBlur:A,onKeyDown:O,onKeyUp:D,onKeyPress:R,onChange:j,onDragStart:I,size:M="medium",className:B,inputClassName:z,disabled:K,readonly:F,containerTabIndex:L,startSlot:V,endSlot:T,reference:H,containerReference:P,onContainerFocus:Y,...W}=e,G=(0,l.filterProps)(W,g),U={...(0,l.filterAriaProps)(W),...(0,l.filterDataProps)(W),id:t,title:n,role:s,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:m,draggable:b,autoComplete:v,autoFocus:C,maxLength:w,min:S,max:E,step:x,pattern:y,inputMode:k,onSelect:N,onFocus:_,onBlur:A,onKeyDown:O,onKeyUp:D,onKeyPress:R,onChange:j,onDragStart:I};return o.createElement(p.ControlSkeleton,{...G,disabled:K,readonly:F,tabIndex:L,className:r(f().container,B),size:M,ref:P,onFocus:Y,startSlot:V,middleSlot:o.createElement(h.MiddleSlot,null,o.createElement("input",{...U,className:r(f().input,z,V&&f()["with-start-slot"],T&&f()["with-end-slot"]),disabled:K,readOnly:F,ref:H})),endSlot:T})}function v(e){e=(0,c.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:l,onBlur:p,reference:h,containerReference:m=null}=e,f=(0,o.useRef)(null),g=(0,o.useRef)(null),[v,C]=(0,u.useFocus)(),w=t?void 0:v?-1:r,S=t?void 0:v?r:-1,{isMouseDown:E,handleMouseDown:x,handleMouseUp:y}=(0,d.useIsMouseDown)(),k=(0,s.createSafeMulticastEventHandler)(C.onFocus,(function(e){n&&!E.current&&(0,i.selectAllContent)(e.currentTarget)}),l),N=(0,s.createSafeMulticastEventHandler)(C.onBlur,p),_=(0,o.useCallback)(e=>{f.current=e,h&&("function"==typeof h&&h(e),"object"==typeof h&&(h.current=e))},[f,h]);return o.createElement(b,{...e,isFocused:v,containerTabIndex:w,tabIndex:S,onContainerFocus:function(e){g.current===e.target&&null!==f.current&&f.current.focus()},onFocus:k,onBlur:N,reference:_,containerReference:(0,a.useMergedRefs)([g,m]),onMouseDown:x,onMouseUp:y})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>l});var o=n(47201),r=n(29202);function l(e){const{onFocus:t,onBlur:n,intent:l,highlight:s,disabled:i}=e,[a,c]=(0,r.useFocus)(void 0,i),u=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onFocus,t),d=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onBlur,n);return{...e,intent:l||(a?"primary":"default"), -highlight:null!=s?s:a,onFocus:u,onBlur:d}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(59496);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t&&n&&r(!1)},[t,n]);const l={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,l]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(59496);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)(()=>{e.current=!0},[e]),n=(0,o.useCallback)(()=>{e.current=!1},[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},66092:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>r});var o=n(59496);function r(e){return(0,o.useCallback)(function(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(e),e)}},22064:(e,t,n)=>{"use strict";n.d(t,{createDomId:()=>a,joinDomIds:()=>c});const o=/\s/g;function r(e){return"string"==typeof e}function l(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function s(e){return e.trim().length>0}function i(e){return e.replace(o,"-")}function a(...e){const t=e.map(l).filter(r).filter(s).map(i);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function c(...e){return e.map(l).filter(r).filter(s).join(" ")}},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},47201:(e,t,n)=>{"use strict";function o(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>o})},21317:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ToolWidgetIntervalsAddDialog:()=>h});var o=n(59496),r=n(28353),l=n(50182),s=n(45685),i=n(31261),a=n(59064),c=n(86656),u=n(53374),d=n(22169);const p=u.INTERVALS.map(e=>({value:e.name,content:e.label}));function h(e){const{onAdd:t,onClose:n,onUnmount:h}=e,[m,f]=(0,o.useState)(u.INTERVALS[0].name),[g,b]=(0,o.useState)("1");return(0,o.useEffect)(()=>()=>{h&&h()},[]),o.createElement(l.AdaptiveConfirmDialog,{dataName:"add-custom-interval-dialog",title:(0,r.t)("Add custom time interval"),isOpened:!0,onSubmit:function(){t(g,m),n()},onCancel:n,onClickOutside:n,onClose:n,render:()=>o.createElement(c.TouchScrollContainer,{className:d.scrollable,onScroll:C},o.createElement("div",{className:d.content},o.createElement("div",{className:d.row},o.createElement("div",{className:d.title},(0,r.t)("Type")),o.createElement(s.Select,{id:"metric-items",className:d.control,value:m,items:p,onChange:w})),o.createElement("div",{className:d.row},o.createElement("div",{className:d.title},(0,r.t)("Interval")),o.createElement(i.InputControl,{className:d.control,inputMode:"numeric",maxLength:6,value:g,onChange:v})))),defaultActionOnClose:"none",submitButtonText:(0,r.t)("Add"),submitOnEnterKey:!1,fullScreen:!0});function v(e){const{value:t}=e.currentTarget;/^[0-9]*$/.test(t)&&b(t)}function C(){a.globalCloseDelegate.fire()}function w(e){f(e)}}}, -50182:(e,t,n)=>{"use strict";n.d(t,{AdaptiveConfirmDialog:()=>p});var o=n(59496),r=n(97754),l=n.n(r),s=n(94720),i=n(88537),a=n(28353),c=n(68335),u=n(85457),d=n(91131);class p extends o.PureComponent{constructor(){super(...arguments),this._dialogRef=o.createRef(),this._handleClose=()=>{const{defaultActionOnClose:e,onSubmit:t,onCancel:n,onClose:o}=this.props;switch(e){case"submit":t();break;case"cancel":n()}o()},this._handleCancel=()=>{this.props.onCancel(),this.props.onClose()},this._handleKeyDown=e=>{const{onSubmit:t,submitButtonDisabled:n,submitOnEnterKey:o}=this.props;13===(0,c.hashFromEvent)(e)&&o&&(e.preventDefault(),n||t())}}render(){const{render:e,onClose:t,onSubmit:n,onCancel:r,footerLeftRenderer:l,submitButtonText:s,submitButtonDisabled:i,defaultActionOnClose:a,submitOnEnterKey:c,...d}=this.props;return o.createElement(u.AdaptivePopupDialog,{...d,ref:this._dialogRef,onKeyDown:this._handleKeyDown,render:this._renderChildren(),onClose:this._handleClose})}focus(){(0,i.ensureNotNull)(this._dialogRef.current).focus()}_renderChildren(){return e=>{const{render:t,footerLeftRenderer:n,additionalButtons:r,submitButtonText:i,submitButtonDisabled:c,onSubmit:u,cancelButtonText:p,showCancelButton:h=!0,submitButtonClassName:m,cancelButtonClassName:f,buttonsWrapperClassName:g}=this.props;return o.createElement(o.Fragment,null,t(e),o.createElement("div",{className:d.footer},n&&n(e.isSmallWidth),o.createElement("div",{className:l()(d.buttons,g)},r,h&&o.createElement(s.Button,{className:f,name:"cancel",appearance:"stroke",onClick:this._handleCancel},null!=p?p:(0,a.t)("Cancel")),o.createElement("span",{className:d.submitButton},o.createElement(s.Button,{className:m,disabled:c,name:"submit",onClick:u,"data-name":"submit-button"},null!=i?i:(0,a.t)("Ok"))))))}}}p.defaultProps={defaultActionOnClose:"submit",submitOnEnterKey:!0}},85457:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>y});var o=n(59496),r=n(88537);var l=n(97754),s=n.n(l),i=n(68335),a=n(35749),c=n(63016),u=n(1109),d=n(24437),p=n(90692),h=n(95711),m=n(52092),f=n(76422),g=n(9745);const b=o.createContext({setHideClose:()=>{}});var v=n(37257),C=n(91441);function w(e){const{title:t,subtitle:n,showCloseIcon:r=!0,onClose:l,renderBefore:i,renderAfter:a,draggable:c,className:u,unsetAlign:d}=e,[p,h]=(0,o.useState)(!1);return o.createElement(b.Provider,{value:{setHideClose:h}},o.createElement("div",{className:s()(C.container,u,(n||d)&&C.unsetAlign)},i,o.createElement("div",{"data-dragg-area":c,className:C.title},o.createElement("div",{className:C.ellipsis},t),n&&o.createElement("div",{className:s()(C.ellipsis,C.subtitle)},n)),a,r&&!p&&o.createElement(g.Icon,{className:C.close,icon:v,onClick:l,"data-name":"close","data-role":"button"})))}var S=n(67179);const E={vertical:20},x={vertical:0};class y extends o.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t -})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(d.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,i.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,o=(0,r.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,a.isTextEditingField)(n))return void o.focus();if(o.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;f.subscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;f.unsubscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,r.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:r,title:l,dataName:i,onClickOutside:a,additionalElementPos:m,additionalHeaderElement:f,backdrop:g,shouldForceFocus:b=!0,showSeparator:v,subtitle:C,draggable:y=!0,fullScreen:k=!1,showCloseIcon:N=!0,rounded:_=!0,isAnimationEnabled:A,growPoint:O,dialogTooltip:D,unsetHeaderAlign:R,onDragStart:j,dataDialogName:I}=this.props,M="after"!==m?f:void 0,B="after"===m?f:void 0,z="string"==typeof l?l:I||"";return o.createElement(p.MatchMedia,{rule:d.DialogBreakpoints.SmallHeight},m=>o.createElement(p.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},d=>o.createElement(c.PopupDialog,{rounded:!(d||k)&&_,className:s()(S.dialog,e),isOpened:r,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:a,onClickBackdrop:a,fullscreen:d||k,guard:m?x:E,boundByScreen:d||k,shouldForceFocus:b,backdrop:g,draggable:y,isAnimationEnabled:A,growPoint:O,name:this.props.dataName,dialogTooltip:D,onDragStart:j},o.createElement("div",{className:s()(S.wrapper,t),"data-name":i,"data-dialog-name":z},void 0!==l&&o.createElement(w,{draggable:y&&!(d||k),onClose:this._handleClose,renderAfter:B,renderBefore:M,subtitle:C,title:l,showCloseIcon:N, -className:n,unsetAlign:R}),v&&o.createElement(u.Separator,{className:S.separator}),o.createElement(h.PopupContext.Consumer,null,e=>this._renderChildren(e,d||k))))))}}},46059:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosureView:()=>S});var o=n(59496),r=n(97754),l=n.n(r),s=n(66092),i=n(67029),a=n(78274),c=n(50628),u=n(88537);function d(e,t){return(0,o.useCallback)(()=>function(e,t){const n=(0,u.ensureNotNull)(e).getBoundingClientRect(),o={x:n.left,y:n.top+n.height};return t&&(o.overrideWidth=n.width),o}(e.current,t),[e,t])}const p=JSON.parse('{"size-header-height":"64px"}'),h=parseInt(p["size-header-height"]);function m(e){const{button:t,popupChildren:n,buttonRef:r,listboxId:l,listboxClassName:s,listboxTabIndex:i,matchButtonAndListboxWidths:a,isOpened:u,scrollWrapReference:p,listboxReference:m,onClose:f,onOpen:g,onListboxFocus:b,onListboxBlur:v,onListboxKeyDown:C,listboxAria:w,repositionOnScroll:S=!0,closeOnHeaderOverlap:E=!1}=e,x=d(r,a),y=E?h:0;return o.createElement(o.Fragment,null,t,o.createElement(c.PopupMenu,{...w,id:l,className:s,tabIndex:i,isOpened:u,position:x,repositionOnScroll:S,onClose:f,onOpen:g,doNotCloseOn:r.current,reference:m,scrollWrapReference:p,onFocus:b,onBlur:v,onKeyDown:C,closeOnScrollOutsideOffset:y},n))}var f=n(9745),g=n(89974),b=n(99171);function v(e){const{isDropped:t}=e;return o.createElement(f.Icon,{className:l()(b.icon,t&&b.dropped),icon:g})}function C(e){const{className:t,disabled:n,isDropped:r}=e;return o.createElement("span",{className:l()(b.button,n&&b.disabled,t)},o.createElement(v,{isDropped:r}))}var w=n(66230);const S=o.forwardRef((e,t)=>{const{listboxId:n,className:r,listboxClassName:c,listboxTabIndex:u,hideArrowButton:d,matchButtonAndListboxWidths:p,disabled:h,isOpened:f,scrollWrapReference:g,repositionOnScroll:b,closeOnHeaderOverlap:v,listboxReference:S,size:E="medium",onClose:x,onOpen:y,onListboxFocus:k,onListboxBlur:N,onListboxKeyDown:_,buttonChildren:A,children:O,caretClassName:D,listboxAria:R,...j}=e,I=(0,o.useRef)(null),M=!d&&o.createElement(a.EndSlot,null,o.createElement(C,{isDropped:f,disabled:h,className:D}));return o.createElement(m,{buttonRef:I,listboxId:n,listboxClassName:c,listboxTabIndex:u,isOpened:f,onClose:x,onOpen:y,listboxReference:S,scrollWrapReference:g,onListboxFocus:k,onListboxBlur:N,onListboxKeyDown:_,listboxAria:R,matchButtonAndListboxWidths:p,button:o.createElement(i.ControlSkeleton,{...j,"data-role":"listbox",disabled:h,className:l()(w.button,r),size:E,ref:(0,s.useMergedRefs)([I,t]),middleSlot:o.createElement(a.MiddleSlot,null,o.createElement("span",{className:l()(w["button-children"],d&&w.hiddenArrow)},A)),endSlot:M}),popupChildren:O,repositionOnScroll:b,closeOnHeaderOverlap:v})});S.displayName="ControlDisclosureView"},68721:(e,t,n)=>{"use strict";n.d(t,{useControlDisclosure:()=>c});var o=n(59496),r=n(88537),l=n(29202),s=n(47201),i=n(22064),a=n(35749);function c(e){const{intent:t,highlight:n,...c}=e,{isFocused:u,...d}=function(e){const{id:t,disabled:n,buttonTabIndex:c=0,onFocus:u,onBlur:d,onClick:p}=e,[h,m]=(0,o.useState)(!1),[f,g]=(0, -l.useFocus)(),b=f||h,v=void 0!==t?(0,i.createDomId)(t,"listbox"):void 0,C=(0,o.useRef)(null),w=(0,o.useCallback)(e=>(0,r.ensureNotNull)(C.current).focus(e),[C]),S=(0,o.useRef)(null),E=(0,o.useCallback)(()=>(0,r.ensureNotNull)(S.current).focus(),[S]),x=(0,o.useCallback)(()=>m(!0),[m]),y=(0,o.useCallback)((e=!1)=>{m(!1);const{activeElement:t}=document;t&&(0,a.isTextEditingField)(t)||w({preventScroll:e})},[m,w]),k=(0,o.useCallback)(()=>{h?y():x()},[h,y,x]),N=n?[]:[u,g.onFocus],_=n?[]:[d,g.onBlur],A=n?[]:[p,k],O=(0,s.createSafeMulticastEventHandler)(...N),D=(0,s.createSafeMulticastEventHandler)(..._),R=(0,s.createSafeMulticastEventHandler)(...A);return{listboxId:v,isOpened:h,isFocused:b,buttonTabIndex:n?-1:c,listboxTabIndex:-1,open:x,close:y,toggle:k,onOpen:E,buttonFocusBindings:{onFocus:O,onBlur:D},onButtonClick:R,buttonRef:C,listboxRef:S,buttonAria:{"aria-controls":h?v:void 0,"aria-expanded":h,"aria-disabled":n}}}(c);return{...d,isFocused:u,highlight:null!=n?n:u,intent:null!=t?t:u?"primary":"default"}}},26597:(e,t,n)=>{"use strict";n.d(t,{useKeyboardActionHandler:()=>s,useComposedKeyboardActionHandlers:()=>i,useKeyboardEventHandler:()=>a,useKeyboardToggle:()=>c,useKeyboardClose:()=>u,useKeyboardOpen:()=>d});var o=n(59496),r=n(68335);const l=()=>!0;function s(e,t,n=l){return(0,o.useCallback)(o=>{const r=e.map(e=>"function"==typeof e?e():e);return!(!n()||!r.includes(o))&&(t(),!0)},[...e,t,n])}function i(...e){return(0,o.useCallback)(t=>{for(const n of e)if(n(t))return!0;return!1},[...e])}function a(...e){const t=i(...e);return(0,o.useCallback)(e=>{t((0,r.hashFromEvent)(e))&&e.preventDefault()},[t])}function c(e){return s([13,32],e)}function u(e,t){return s([9,(0,o.useCallback)(()=>r.Modifiers.Shift+9,[]),27],t,(0,o.useCallback)(()=>e,[e]))}function d(e,t){return s([40,38],t,(0,o.useCallback)(()=>!e,[e]))}},45685:(e,t,n)=>{"use strict";n.d(t,{Select:()=>_});var o=n(59496),r=n(22064),l=n(66092),s=n(88537),i=n(74991);const a={duration:200,additionalScroll:0},c={vertical:{scrollSize:"scrollHeight",clientSize:"clientHeight",start:"top",end:"bottom",size:"height"},horizontal:{scrollSize:"scrollWidth",clientSize:"clientWidth",start:"left",end:"right",size:"width"}};function u(e,t){const n=c[e];return t[n.scrollSize]>t[n.clientSize]}function d(e,t,n,o,r,l){const s=function(e,t,n,o=0){const r=c[e];return{start:-1*o,middle:-1*(Math.floor(n[r.size]/2)-Math.floor(t[r.size]/2)),end:-1*(n[r.size]-t[r.size])+o}}(e,o,r,l.additionalScroll);let a=0;if(function(e,t,n){const o=c[e];return t[o.start]n[o.end]+n[o.size]/2}(e,o,r))a=s.middle;else{const t=function(e){const{start:t,middle:n,end:o}=e,r=new Map([[Math.abs(t),{key:"start",value:Math.sign(t)}],[Math.abs(n),{key:"middle",value:Math.sign(n)}],[Math.abs(o),{key:"end",value:Math.sign(o)}]]),l=Math.min(...r.keys());return r.get(l)}(function(e,t,n,o=0){const r=c[e],l=t[r.start]+Math.floor(t[r.size]/2),s=n[r.start]+Math.floor(n[r.size]/2);return{start:t[r.start]-n[r.start]-o,middle:l-s,end:t[r.end]-n[r.end]+o}}(e,o,r,l.additionalScroll)) -;a=void 0!==t?s[t.key]:0}return function(e){const{additionalScroll:t=0,duration:n=i.dur,func:o=i.easingFunc.easeInOutCubic,onScrollEnd:r,target:l,wrap:s,direction:a="vertical"}=e;let{targetRect:c,wrapRect:u}=e;c=null!=c?c:l.getBoundingClientRect(),u=null!=u?u:s.getBoundingClientRect();const d=("vertical"===a?c.top-u.top:c.left-u.left)+t,p="vertical"===a?"scrollTop":"scrollLeft",h=s?s[p]:0;let m,f=0;return f=window.requestAnimationFrame((function e(t){let l;if(m?l=t-m:(l=0,m=t),l>=n)return s[p]=h+d,void(r&&r());const i=h+d*o(l/n);s[p]=Math.floor(i),f=window.requestAnimationFrame(e)})),function(){window.cancelAnimationFrame(f),r&&r()}}({...l,target:t,targetRect:o,wrap:n,wrapRect:r,additionalScroll:a,direction:e})}class p{constructor(e=null){this._container=null,this._lastScrolledElement=null,this._stopVerticalScroll=null,this._stopHorizontalScroll=null,this._container=e}scrollTo(e,t=a){if(null!==this._container&&null!==e&&!function(e,t){const n=e.getBoundingClientRect(),o=t.getBoundingClientRect();return n.top>=o.top&&n.bottom<=o.bottom&&n.left>=o.left&&n.right<=o.right}(e,this._container)){const n=e.getBoundingClientRect(),o=this._container.getBoundingClientRect();this.stopScroll(),u("vertical",this._container)&&(this._stopVerticalScroll=d("vertical",e,this._container,n,o,this._modifyOptions("vertical",t))),u("horizontal",this._container)&&(this._stopHorizontalScroll=d("horizontal",e,this._container,n,o,this._modifyOptions("horizontal",t)))}this._lastScrolledElement=e}scrollToLastElement(e){this.scrollTo(this._lastScrolledElement,e)}stopScroll(){null!==this._stopVerticalScroll&&this._stopVerticalScroll(),null!==this._stopHorizontalScroll&&this._stopHorizontalScroll()}getContainer(){return this._container}setContainer(e){var t;this._container=e,(null===(t=this._container)||void 0===t?void 0:t.contains(this._lastScrolledElement))||(this._lastScrolledElement=null)}destroy(){this.stopScroll(),this._container=null,this._lastScrolledElement=null}_handleScrollEnd(e){"vertical"===e?this._stopVerticalScroll=null:this._stopHorizontalScroll=null}_modifyOptions(e,t){return Object.assign({},t,{onScrollEnd:()=>{this._handleScrollEnd(e),void 0!==t.onScrollEnd&&t.onScrollEnd()}})}}function h(e,t){const n=(0,o.useRef)(null),r=(0,o.useRef)(new WeakMap),l=function(e){const t=(0,o.useRef)(null);return(0,o.useEffect)(()=>(t.current=new p(e),()=>(0,s.ensureNotNull)(t.current).destroy()),[]),t}(n.current),i=(0,o.useCallback)(()=>{null!==l.current&&null!==n.current&&l.current.getContainer()!==n.current&&l.current.setContainer(n.current)},[l,n]),a=(0,o.useCallback)(e=>{n.current=e},[n]),c=(0,o.useCallback)((e,t)=>{r.current.set(e,t)},[r]),u=(0,o.useCallback)((e,t)=>{if(!e)return;const n=r.current.get(e);n&&(i(),(0,s.ensureNotNull)(l.current).scrollTo(n,t))},[r,l]);return(0,o.useEffect)(()=>u(e,t),[u,e]),[a,c,u]}var m=n(16396),f=n(4889),g=n(43370);var b=n(62820),v=n(26597);function C(e,t){return e>=0?e%t:(t-Math.abs(e)%t)%t}const w={next:[40,()=>(0,b.isRtl)()?37:39],previous:[38,()=>(0,b.isRtl)()?39:37],first:[33,36],last:[34,35]} -;var S=n(46059),E=n(68721),x=n(79756);function y(e){return!e.readonly}function k(e,t){var n;return null!==(n=null==t?void 0:t.id)&&void 0!==n?n:(0,r.createDomId)(e,"item",null==t?void 0:t.value)}function N(e){var t,n;const{selectedItem:r,placeholder:l}=e;if(!r)return o.createElement("span",{className:x.placeholder},l);const s=null!==(n=null!==(t=r.selectedContent)&&void 0!==t?t:r.content)&&void 0!==n?n:r.value;return o.createElement("span",null,s)}const _=o.forwardRef((e,t)=>{const{id:n,menuClassName:s,menuItemClassName:i,tabIndex:a,disabled:c,highlight:u,intent:d,hideArrowButton:p,placeholder:b,addPlaceholderToItems:x=!0,value:_,"aria-labelledby":A,onFocus:O,onBlur:D,onClick:R,onChange:j,repositionOnScroll:I=!0,...M}=e;let{items:B}=e;if(b&&x){B=[{value:void 0,content:b,id:(0,r.createDomId)(n,"placeholder")},...B]}const{listboxId:z,isOpened:K,isFocused:F,buttonTabIndex:L,listboxTabIndex:V,highlight:T,intent:H,open:P,onOpen:Y,close:W,toggle:G,buttonFocusBindings:U,onButtonClick:J,buttonRef:Q,listboxRef:q,buttonAria:$}=(0,E.useControlDisclosure)({id:n,disabled:c,buttonTabIndex:a,intent:d,highlight:u,onFocus:O,onBlur:D,onClick:R}),X=B.filter(y),Z=X.find(e=>e.value===_),[ee,te,ne]=h(Z),oe=(0,r.joinDomIds)(A,n),re=oe.length>0?oe:void 0,le=(0,o.useMemo)(()=>({role:"listbox","aria-labelledby":A,"aria-activedescendant":k(n,Z)}),[A,Z]),se=(0,o.useCallback)(e=>e.value===_,[_]),ie=(0,o.useCallback)(e=>j&&j(e.value),[j]),ae=function(e,t,n,r=!0,l={}){const s=(0,o.useCallback)(()=>{const o=e.findIndex(t);if(o===e.length-1&&!r)return;const l=C(o+1,e.length);n&&n(e[l])},[e,t,n,r]),i=(0,o.useCallback)(()=>{const o=e.findIndex(t);if(0===o&&!r)return;const l=C(o-1,e.length);n&&n(e[l])},[e,t,n,r]),a=(0,o.useCallback)(()=>{n&&n(e[0])},[n,e]),c=(0,o.useCallback)(()=>{n&&n(e[e.length-1])},[n,e]),{next:u=w.next,previous:d=w.previous,first:p=w.first,last:h=w.last}=l;return(0,v.useComposedKeyboardActionHandlers)((0,v.useKeyboardActionHandler)(u,s),(0,v.useKeyboardActionHandler)(d,i),(0,v.useKeyboardActionHandler)(p,a),(0,v.useKeyboardActionHandler)(h,c))}(X,se,ie,!1,{next:[40],previous:[38]}),ce=(0,v.useKeyboardToggle)(G),ue=(0,v.useKeyboardClose)(K,W),de=(0,v.useKeyboardOpen)(K,P),pe=(0,v.useKeyboardEventHandler)(ce,ue,de),he=(0,v.useKeyboardEventHandler)(ae,ce,ue),me=function(e){const t=(0,o.useRef)(""),n=(0,o.useMemo)(()=>(0,f.default)(()=>{t.current=""},500),[]),r=(0,o.useMemo)(()=>(0,g.default)(e,200),[e]);return(0,o.useCallback)(e=>{e.key.length>0&&e.key.length<3&&(t.current+=e.key,r(t.current,e),n())},[n,r])}((e,t)=>{const n=function(e,t){return e.find(e=>{var n;const o=t.toLowerCase();return!e.readonly&&(!e.readonly&&("string"==typeof e.content&&e.content.toLowerCase().startsWith(o)||String(null!==(n=e.value)&&void 0!==n?n:"").toLowerCase().startsWith(o)))})}(X,e);void 0!==n&&j&&(t.stopPropagation(),K||P(),j(n.value))});return o.createElement(S.ControlDisclosureView,{...M,...$,...U,id:n,role:"button",tabIndex:L,"aria-owns":$["aria-controls"],"aria-haspopup":"listbox","aria-labelledby":re,disabled:c,hideArrowButton:p,isFocused:F, -isOpened:K,highlight:T,intent:H,ref:(0,l.useMergedRefs)([Q,t]),onClick:J,onOpen:function(){ne(Z,{duration:0}),Y()},onClose:W,onKeyDown:function(e){pe(e),e.defaultPrevented||me(e)},listboxId:z,listboxTabIndex:V,listboxClassName:s,listboxAria:le,listboxReference:q,scrollWrapReference:ee,onListboxKeyDown:function(e){he(e),e.defaultPrevented||me(e)},buttonChildren:o.createElement(N,{selectedItem:Z,placeholder:b}),repositionOnScroll:I},B.map((e,t)=>{var r;if(e.readonly)return o.createElement(o.Fragment,{key:"readonly_item_"+t},e.content);const l=k(n,e);return o.createElement(m.PopupMenuItem,{key:l,id:l,className:i,role:"option","aria-selected":_===e.value,isActive:_===e.value,label:null!==(r=e.content)&&void 0!==r?r:e.value,onClick:fe,onClickArg:e.value,isDisabled:e.disabled,reference:t=>te(e,t)})}));function fe(e){j&&j(e)}});_.displayName="Select"},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>s});var o=n(59496),r=n(97754),l=n(91626);function s(e){return o.createElement("div",{className:r(l.separator,e.className)})}},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>i});var o=n(59496),r=n(59142),l=n(88537),s=n(49483);function i(e){const{reference:t,children:n,...l}=e,i=(0,o.useRef)(null),c=(0,o.useCallback)(e=>{t&&(t.current=e),s.CheckMobile.iOS()&&(null!==i.current&&(0,r.enableBodyScroll)(i.current),i.current=e,null!==i.current&&(0,r.disableBodyScroll)(i.current,{allowTouchMove:a(i)}))},[t]);return o.createElement("div",{ref:c,...l},n)}function a(e){return t=>{const n=(0,l.ensureNotNull)(e.current),o=document.activeElement;return!n.contains(t)||null!==o&&n.contains(o)&&o.contains(t)}}},89974:e=>{e.exports=''},37257:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/custom-intervals-add-dialog.920509097ccec051c51a.js b/charting_library/bundles/custom-intervals-add-dialog.920509097ccec051c51a.js new file mode 100644 index 00000000..d3893902 --- /dev/null +++ b/charting_library/bundles/custom-intervals-add-dialog.920509097ccec051c51a.js @@ -0,0 +1 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4013],{22169:e=>{e.exports={scrollable:"scrollable-fejnDJJf",content:"content-fejnDJJf",row:"row-fejnDJJf",title:"title-fejnDJJf",control:"control-fejnDJJf"}},21317:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ToolWidgetIntervalsAddDialog:()=>f});var l=n(59496),o=n(28353),c=n(50182),r=n(58368),a=n(31261),i=n(59064),s=n(86656),u=n(53374),m=n(22169);const d=u.INTERVALS.map(e=>({value:e.name,content:e.label}));function f(e){const{onAdd:t,onClose:n,onUnmount:f}=e,[v,C]=(0,l.useState)(u.INTERVALS[0].name),[E,b]=(0,l.useState)("1");return(0,l.useEffect)(()=>()=>{f&&f()},[]),l.createElement(c.AdaptiveConfirmDialog,{dataName:"add-custom-interval-dialog",title:(0,o.t)("Add custom time interval"),isOpened:!0,onSubmit:function(){t(E,v),n()},onCancel:n,onClickOutside:n,onClose:n,render:()=>l.createElement(s.TouchScrollContainer,{className:m.scrollable,onScroll:S},l.createElement("div",{className:m.content},l.createElement("div",{className:m.row},l.createElement("div",{className:m.title},(0,o.t)("Type")),l.createElement(r.Select,{id:"metric-items",className:m.control,value:v,items:d,onChange:g})),l.createElement("div",{className:m.row},l.createElement("div",{className:m.title},(0,o.t)("Interval")),l.createElement(a.InputControl,{className:m.control,inputMode:"numeric",maxLength:6,value:E,onChange:N})))),defaultActionOnClose:"none",submitButtonText:(0,o.t)("Add"),submitOnEnterKey:!1,fullScreen:!0});function N(e){const{value:t}=e.currentTarget;/^[0-9]*$/.test(t)&&b(t)}function S(){i.globalCloseDelegate.fire()}function g(e){C(e)}}},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>a});var l=n(59496),o=n(59142),c=n(88537),r=n(49483);function a(e){const{reference:t,children:n,...c}=e,a=(0,l.useRef)(null),s=(0,l.useCallback)(e=>{t&&(t.current=e),r.CheckMobile.iOS()&&(null!==a.current&&(0,o.enableBodyScroll)(a.current),a.current=e,null!==a.current&&(0,o.disableBodyScroll)(a.current,{allowTouchMove:i(a)}))},[t]);return l.createElement("div",{ref:s,...c},n)}function i(e){return t=>{const n=(0,c.ensureNotNull)(e.current),l=document.activeElement;return!n.contains(t)||null!==l&&n.contains(l)&&l.contains(t)}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/d17555267bdf6ed9e01a7f4d525ef080.svg b/charting_library/bundles/d17555267bdf6ed9e01a7f4d525ef080.svg new file mode 100644 index 00000000..9c0b1f9e --- /dev/null +++ b/charting_library/bundles/d17555267bdf6ed9e01a7f4d525ef080.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d19fbe51ce3d398848b6825d6618ad21.svg b/charting_library/bundles/d19fbe51ce3d398848b6825d6618ad21.svg new file mode 100644 index 00000000..aa49e2ed --- /dev/null +++ b/charting_library/bundles/d19fbe51ce3d398848b6825d6618ad21.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d1f58926528e2a3debceb59dff7e58b0.svg b/charting_library/bundles/d1f58926528e2a3debceb59dff7e58b0.svg new file mode 100644 index 00000000..30238b9c --- /dev/null +++ b/charting_library/bundles/d1f58926528e2a3debceb59dff7e58b0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d369378aefaaed47363bffaedb308143.svg b/charting_library/bundles/d369378aefaaed47363bffaedb308143.svg new file mode 100644 index 00000000..ee867371 --- /dev/null +++ b/charting_library/bundles/d369378aefaaed47363bffaedb308143.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d3c2e6ce4be2a5b1bf9ca5a18d2d1238.svg b/charting_library/bundles/d3c2e6ce4be2a5b1bf9ca5a18d2d1238.svg new file mode 100644 index 00000000..6b1dd4aa --- /dev/null +++ b/charting_library/bundles/d3c2e6ce4be2a5b1bf9ca5a18d2d1238.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d4b8b8cb1909ea6d3f0a3182c8ec0a96.svg b/charting_library/bundles/d4b8b8cb1909ea6d3f0a3182c8ec0a96.svg new file mode 100644 index 00000000..98dc27ab --- /dev/null +++ b/charting_library/bundles/d4b8b8cb1909ea6d3f0a3182c8ec0a96.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d6d0f38ab696185b41d6421c65541584.webp b/charting_library/bundles/d6d0f38ab696185b41d6421c65541584.webp new file mode 100644 index 0000000000000000000000000000000000000000..a87533c741dbcf150af0fc7ea4700153ce330277 GIT binary patch literal 74994 zcmbTcW0WSr7A;t|ZL7;&wr$(CZQHilRb94i+qUhhZ~ER@@6C_*-mF>kFIVP{ojW2< zMnvv&lqAK(F35m^)J269)D$>~cK%%_?1AM1Qv-nyf$>3u1PUYsL4g4g)6q@4qXMn~ ztv}ZOfcI;qvM!0;D%QJ|1lQd>A5oi)CV>0r5jH-JCQ zOVMyzVD|kdMHaA?elYosD8Kv3)%|{3l|T4n{Xp{y7-ExsdwuZ7_^aO6o@Kz|_w4KI_v?@PaejaPdGCJjF`)8$`Wx_h_1*e&d+Ypjd%gSSf4@si zxCyBE`uKkFs{VQO1_e<5yk6=8$^qtI@-Kk*o}%6!zyzTEXYf_|nDP_wVZV|8=HCl= z=mp~c`E&;W0Y)!?FZqvm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.svg b/charting_library/bundles/d83a6296db053e3ab36abfd851a88f66.svg new file mode 100644 index 00000000..9d7282d5 --- /dev/null +++ b/charting_library/bundles/d83a6296db053e3ab36abfd851a88f66.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d84b6cf7427c0922056517dad6f0d0bb.svg b/charting_library/bundles/d84b6cf7427c0922056517dad6f0d0bb.svg new file mode 100644 index 00000000..f5f3c146 --- /dev/null +++ b/charting_library/bundles/d84b6cf7427c0922056517dad6f0d0bb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d92d6ecce7375134958d8e623f59dd3e.svg b/charting_library/bundles/d92d6ecce7375134958d8e623f59dd3e.svg new file mode 100644 index 00000000..5126a1dd --- /dev/null +++ b/charting_library/bundles/d92d6ecce7375134958d8e623f59dd3e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/d9da6caea5ca1cd55417f1978b047b13.svg b/charting_library/bundles/d9da6caea5ca1cd55417f1978b047b13.svg new file mode 100644 index 00000000..a8dce0f0 --- /dev/null +++ b/charting_library/bundles/d9da6caea5ca1cd55417f1978b047b13.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/db0cca97f734763ceccce1e1c3c88430.jpeg b/charting_library/bundles/db0cca97f734763ceccce1e1c3c88430.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..6091d1040b604d4c2d1df6bf4175e6c19a266add GIT binary patch literal 43874 zcmeFZ3slnS+9*!VZO^W$U2QYVa;8R|yr$#@ud`>$#=Pw`FL*skzz7M6B3@x;Pg7H( zP8pEmWlyDMpll>WL}gDVrU*=-C@PW~5?&DT4ycFrxAytYI%oEG_V-`kTHjj#wI3Gz z9-jC8y*HlU^FFti?cwcLfZv@D3JwD7*Z~0SFuwrXlRG~P{_@L|KSo9b1&5yfTfxpl z05k0T9RQGy%ECmR`{Ls`aQw$_X@7@Hkj$%p$A9H&Zg*AowsinN>ijF^|1Z*qm!X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lbZRa>WZ_#H>A)xZ^wUVz>kf>a$>;qiq>i8?l(9q?V7asiQ8nF8aW01yGX8#t*CjXN3 zh`)r1SJlsvK?~Hws&dErt}0Q>Gm&O+a=caj1KEV&4Eau%bvX5%yOUEG&!BE22Gikc z1HFw5;C*^32Z#`kn@)vx2jYw{XvD?~FH3{2PW?B%&BkWR5u)TVQqC!hC=cqU!NZZVX9^M3u8f)*cNn1*5Zp7R(05 zTnAfTrJ|gK z^B^WA(WOl~1np}VYGj!*62KPMd(ISi5(tW@tBqpNKYsRpHOEb>mm$4Baft>}_;j+7 z9m+%crURH8L@u->67myQ3;|>SU}*$_Htu;}I0?ZfJk&|iWLpM@d-oQ{VMZv{69`c8 zmWW6f1p9X=62Y(u==Dla%GWgsc$5Q3Vc8#Zd5wR8QxN$q@<*tX8$Q_Paso6bA3`3Y zzJfR%@PUeb@8{Go`8R(77GUTX-SZ*8(JrjeTyhTDCVoidi|q>(rHVQD)U5#;WWV@V7jh{l05tBJs>E zfqMu#`5&B9D2lI#D(H1eMWJBp^kA~H@Apcx-z&oVo3uvqo9h3B?0!8Tn(xH##y{0< zbbraBe)TKT7U9m_2c3&8da+99-yFGMtjZNue)V7eKKFFAih6}y}bo4nJMQ^67NP;Ug& vetNz8Aq4X9pB?c2+n+xl%7<*Y`Ew8a^v|EOfHTgAKldPz7wR_eN5lUBD8aa! literal 0 HcmV?d00001 diff --git a/charting_library/bundles/dc280b6d3ed8a4c98e32fb60d6c17eca.svg b/charting_library/bundles/dc280b6d3ed8a4c98e32fb60d6c17eca.svg new file mode 100644 index 00000000..1b368ff5 --- /dev/null +++ b/charting_library/bundles/dc280b6d3ed8a4c98e32fb60d6c17eca.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/dddac09a7572568f517e22700f4c8474.svg b/charting_library/bundles/dddac09a7572568f517e22700f4c8474.svg new file mode 100644 index 00000000..15d21028 --- /dev/null +++ b/charting_library/bundles/dddac09a7572568f517e22700f4c8474.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/de4367c3fa9f075bbf58943188ba32b3.svg b/charting_library/bundles/de4367c3fa9f075bbf58943188ba32b3.svg new file mode 100644 index 00000000..7d15dd47 --- /dev/null +++ b/charting_library/bundles/de4367c3fa9f075bbf58943188ba32b3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/de7f5bc35af05c24d9640b6fd0910bdf.svg b/charting_library/bundles/de7f5bc35af05c24d9640b6fd0910bdf.svg new file mode 100644 index 00000000..2f6af15c --- /dev/null +++ b/charting_library/bundles/de7f5bc35af05c24d9640b6fd0910bdf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/dea459c5c4ebb211e652e99cd6ba6354.svg b/charting_library/bundles/dea459c5c4ebb211e652e99cd6ba6354.svg new file mode 100644 index 00000000..1302af00 --- /dev/null +++ b/charting_library/bundles/dea459c5c4ebb211e652e99cd6ba6354.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/df2e77a08c4fed3f6d7a5e653e4ca2b2.svg b/charting_library/bundles/df2e77a08c4fed3f6d7a5e653e4ca2b2.svg new file mode 100644 index 00000000..7e96288c --- /dev/null +++ b/charting_library/bundles/df2e77a08c4fed3f6d7a5e653e4ca2b2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/drawing-toolbar.3ac6efdaf16c335ac4ea.js b/charting_library/bundles/drawing-toolbar.3ac6efdaf16c335ac4ea.js new file mode 100644 index 00000000..6ff3cf00 --- /dev/null +++ b/charting_library/bundles/drawing-toolbar.3ac6efdaf16c335ac4ea.js @@ -0,0 +1,16 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2878],{10745:e=>{e.exports={dropdown:"dropdown-m5d9X7vB",buttonWrap:"buttonWrap-m5d9X7vB",control:"control-m5d9X7vB",arrow:"arrow-m5d9X7vB",arrowIcon:"arrowIcon-m5d9X7vB",isOpened:"isOpened-m5d9X7vB",hover:"hover-m5d9X7vB",isGrayed:"isGrayed-m5d9X7vB"}},61226:e=>{e.exports={container:"container-68Nk42BD",mirror:"mirror-68Nk42BD",background:"background-68Nk42BD",arrow:"arrow-68Nk42BD"}},83860:e=>{e.exports={item:"item-x0Gb0fpu",label:"label-x0Gb0fpu"}},85494:e=>{e.exports={drawingToolbar:"drawingToolbar-3e32hIe9",isHidden:"isHidden-3e32hIe9",inner:"inner-3e32hIe9",popupMenuItem:"popupMenuItem-3e32hIe9",group:"group-3e32hIe9",noGroupPadding:"noGroupPadding-3e32hIe9",lastGroup:"lastGroup-3e32hIe9",fill:"fill-3e32hIe9",separator:"separator-3e32hIe9"}},84006:e=>{e.exports={toggleButton:"toggleButton-5IlBhjdP",collapsed:"collapsed-5IlBhjdP",background:"background-5IlBhjdP",arrow:"arrow-5IlBhjdP"}},88234:e=>{e.exports={wrap:"wrap-9Mqd4dY6",smallTablet:"smallTablet-9Mqd4dY6",mobileWrap:"mobileWrap-9Mqd4dY6",item:"item-9Mqd4dY6",hovered:"hovered-9Mqd4dY6",active:"active-9Mqd4dY6",title:"title-9Mqd4dY6",separator:"separator-9Mqd4dY6"}},48214:e=>{e.exports={buttonIcon:"buttonIcon-OGj1N2Ml",button:"button-OGj1N2Ml"}},60306:e=>{e.exports={wrap:"wrap-GVak88eE",scrollWrap:"scrollWrap-GVak88eE",noScrollBar:"noScrollBar-GVak88eE",content:"content-GVak88eE",icon:"icon-GVak88eE",scrollBot:"scrollBot-GVak88eE",scrollTop:"scrollTop-GVak88eE",isVisible:"isVisible-GVak88eE",iconWrap:"iconWrap-GVak88eE",fadeBot:"fadeBot-GVak88eE",fadeTop:"fadeTop-GVak88eE"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},63095:e=>{e.exports={item:"item-UZNJ2Dq5",label:"label-UZNJ2Dq5",labelRow:"labelRow-UZNJ2Dq5",toolbox:"toolbox-UZNJ2Dq5"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},90186:(e,t,o)=>{"use strict";function i(e){return s(e,a)}function n(e){return s(e,l)}function s(e,t){const o=Object.entries(e).filter(t),i={};for(const[e,t]of o)i[e]=t;return i}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function l(e){return 0===e[0].indexOf("aria-")} +o.d(t,{filterDataProps:()=>i,filterAriaProps:()=>n,filterProps:()=>s,isDataAttribute:()=>a,isAriaAttribute:()=>l})},26862:(e,t,o)=>{"use strict";o.r(t),o.d(t,{DrawingToolbarRenderer:()=>it});var i=o(59496),n=o(87995),s=o(88537),a=o(28353),l=o(97754),r=o.n(l),c=o(32563),h=o(56840),d=o(67337),u=o(85733),m=o(30460),p=o(76422),b=o(2872),g=o.n(b),v=o(49483),T=(o(84015),o(92469));class _{constructor(e){this._drawingsAccess=e||{tools:[],type:"black"}}isToolEnabled(e){const t=this._findTool(e);return!(!t||!t.grayed)||("black"===this._drawingsAccess.type?!t:!!t)}isToolGrayed(e){const t=this._findTool(e);return Boolean(t&&t.grayed)}_findTool(e){return this._drawingsAccess.tools.find(t=>t.name===e)}}var C=o(68335);const w=[{id:"linetool-group-cursors",title:(0,a.t)("Cursors"),items:[{name:"cursor"},{name:"dot"},{name:"arrow"},{name:"eraser"}],trackLabel:null},{id:"linetool-group-trend-line",title:(0,a.t)("Trend Line Tools"),items:[{name:"LineToolTrendLine",hotkeyHash:C.Modifiers.Alt+84},{name:"LineToolArrow"},{name:"LineToolRay"},{name:"LineToolInfoLine"},{name:"LineToolExtended"},{name:"LineToolTrendAngle"},{name:"LineToolHorzLine",hotkeyHash:C.Modifiers.Alt+72},{name:"LineToolHorzRay",hotkeyHash:C.Modifiers.Alt+74},{name:"LineToolVertLine",hotkeyHash:C.Modifiers.Alt+86},{name:"LineToolCrossLine",hotkeyHash:C.Modifiers.Alt+67},{name:"LineToolParallelChannel"},{name:"LineToolRegressionTrend"},{name:"LineToolFlatBottom"},{name:"LineToolDisjointAngle"},null].filter(Boolean),trackLabel:null},{id:"linetool-group-gann-and-fibonacci",title:(0,a.t)("Gann and Fibonacci Tools"),items:[{name:"LineToolFibRetracement",hotkeyHash:C.Modifiers.Alt+70},{name:"LineToolTrendBasedFibExtension"},{name:"LineToolPitchfork"},{name:"LineToolSchiffPitchfork2"},{name:"LineToolSchiffPitchfork"},{name:"LineToolInsidePitchfork"},{name:"LineToolFibChannel"},{name:"LineToolFibTimeZone"},{name:"LineToolGannSquare"},{name:"LineToolGannFixed"},{name:"LineToolGannComplex"},{name:"LineToolGannFan"},{name:"LineToolFibSpeedResistanceFan"},{name:"LineToolTrendBasedFibTime"},{name:"LineToolFibCircles"},{name:"LineToolPitchfan"},{name:"LineToolFibSpiral"},{name:"LineToolFibSpeedResistanceArcs"},{name:"LineToolFibWedge"}],trackLabel:null},{id:"linetool-group-geometric-shapes",title:(0,a.t)("Geometric Shapes"),items:[{name:"LineToolBrush"},{name:"LineToolHighlighter"},{name:"LineToolRectangle"},{name:"LineToolCircle"},{name:"LineToolEllipse"},{name:"LineToolPath"},{name:"LineToolBezierQuadro"},{name:"LineToolPolyline"},{name:"LineToolTriangle"},{name:"LineToolRotatedRectangle"},{name:"LineToolArc"},{name:"LineToolBezierCubic"}],trackLabel:null},{id:"linetool-group-annotation",title:(0,a.t)("Annotation Tools"),items:[{name:"LineToolText"},{name:"LineToolTextAbsolute"},{name:"LineToolNote"},{name:"LineToolNoteAbsolute"},{name:"LineToolSignpost"},null,null,null,{name:"LineToolCallout"},{name:"LineToolBalloon"},{name:"LineToolPriceLabel"},{name:"LineToolPriceNote"},{name:"LineToolArrowMarker"},{name:"LineToolArrowMarkLeft"},{name:"LineToolArrowMarkRight"},{ +name:"LineToolArrowMarkUp"},{name:"LineToolArrowMarkDown"},{name:"LineToolFlagMark"}].filter(Boolean),trackLabel:null},{id:"linetool-group-patterns",title:(0,a.t)("Patterns"),items:[{name:"LineTool5PointsPattern"},{name:"LineToolCypherPattern"},{name:"LineToolABCD"},{name:"LineToolTrianglePattern"},{name:"LineToolThreeDrivers"},{name:"LineToolHeadAndShoulders"},{name:"LineToolElliottImpulse"},{name:"LineToolElliottTriangle"},{name:"LineToolElliottTripleCombo"},{name:"LineToolElliottCorrection"},{name:"LineToolElliottDoubleCombo"},{name:"LineToolCircleLines"},{name:"LineToolTimeCycles"},{name:"LineToolSineLine"}],trackLabel:null},{id:"linetool-group-prediction-and-measurement",title:(0,a.t)("Prediction and Measurement Tools"),items:[{name:"LineToolRiskRewardLong"},{name:"LineToolRiskRewardShort"},{name:"LineToolPrediction"},{name:"LineToolDateRange"},{name:"LineToolPriceRange"},{name:"LineToolDateAndPriceRange"},{name:"LineToolBarsPattern"},{name:"LineToolGhostFeed"},{name:"LineToolProjection"},{name:"LineToolFixedRangeVolumeProfile"}].filter(Boolean),trackLabel:null}];var k=o(85593),f=o(9837),S=o(9745),y=o(59199),M=o(68587),E=o(60306),D=o(33086);class L extends i.PureComponent{constructor(e){super(e),this._scroll=null,this._handleScrollTop=()=>{this.animateTo(Math.max(0,this.currentPosition()-(this.state.heightWrap-50)))},this._handleScrollBot=()=>{this.animateTo(Math.min((this.state.heightContent||0)-(this.state.heightWrap||0),this.currentPosition()+(this.state.heightWrap-50)))},this._handleResizeWrap=({height:e})=>{this.setState({heightWrap:e})},this._handleResizeContent=({height:e})=>{this.setState({heightContent:e})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtTop(),this.isAtBot()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleTopButton:e,isVisibleBotButton:t}=this.state,o=this.isAtTop(),i=this.isAtBot();o||e?o&&e&&this.setState({isVisibleTopButton:!1}):this.setState({isVisibleTopButton:!0}),i||t?i&&t&&this.setState({isVisibleBotButton:!1}):this.setState({isVisibleBotButton:!0})},this.state={heightContent:0,heightWrap:0,isVisibleBotButton:!1,isVisibleTopButton:!1}}componentDidMount(){this._checkButtonsVisibility()}componentDidUpdate(e,t){t.heightWrap===this.state.heightWrap&&t.heightContent===this.state.heightContent||this._handleScroll()}currentPosition(){return this._scroll?this._scroll.scrollTop:0}isAtTop(){return this.currentPosition()<=1}isAtBot(){return this.currentPosition()+this.state.heightWrap>=this.state.heightContent-1}animateTo(e,t=M.dur){const o=this._scroll;o&&(0,y.doAnimate)({onStep(e,t){o.scrollTop=t},from:o.scrollTop,to:Math.round(e),easing:M.easingFunc.easeInOutCubic,duration:t})}render(){const{children:e,isVisibleScrollbar:t,isVisibleFade:o,isVisibleButtons:n,onMouseOver:s,onMouseOut:a}=this.props,{heightContent:l,heightWrap:c,isVisibleBotButton:h,isVisibleTopButton:d}=this.state;return i.createElement(f,{whitelist:["height"],onMeasure:this._handleResizeWrap},i.createElement("div",{className:E.wrap,onMouseOver:s, +onMouseOut:a},i.createElement("div",{className:r()(E.scrollWrap,{[E.noScrollBar]:!t}),onScroll:this._handleScroll,ref:e=>this._scroll=e},i.createElement(f,{onMeasure:this._handleResizeContent,whitelist:["height"]},i.createElement("div",{className:E.content},e))),o&&i.createElement("div",{className:r()(E.fadeTop,{[E.isVisible]:d&&l>c})}),o&&i.createElement("div",{className:r()(E.fadeBot,{[E.isVisible]:h&&l>c})}),n&&i.createElement("div",{className:r()(E.scrollTop,{[E.isVisible]:d&&l>c}),onClick:this._handleScrollTop},i.createElement("div",{className:E.iconWrap},i.createElement(S.Icon,{icon:D,className:E.icon}))),n&&i.createElement("div",{className:r()(E.scrollBot,{[E.isVisible]:h&&l>c}),onClick:this._handleScrollBot},i.createElement("div",{className:E.iconWrap},i.createElement(S.Icon,{icon:D,className:E.icon})))))}}L.defaultProps={isVisibleScrollbar:!0};var A=o(25760),B=o(59064),I=o(16534);function N(e){const{id:t,action:o,isActive:n,isHidden:s,isTransparent:a,toolName:l}=e;return i.createElement(I.ToolButton,{id:t,icon:T.lineToolsInfo[l].icon,isActive:n,isHidden:s,isTransparent:a,onClick:o,title:T.lineToolsInfo[l].localizedName,"data-name":l})}var P=o(59803);const x=[61536,61537,61538,61539,61725,61726,61575,61576,61796,61797,61779,61780,61781,61782,61783,61784,61785,61786,61845,61440,61442,61444,61445,61446,61447,61452,61453,61454,61457,61458,61459,61461,61463,61466,61467,61470,61473,61476,61488,61504,61505,61507,61510,61523,61524,61525,61526,61527,61528,61529,61530,61531,61532,61533,61534,61540,61541,61542,61543,61544,61545,61546,61547,61548,61550,61552,61553,61554,61557,61558,61559,61560,61565,61566,61568,61572,61578,61601,61602,61603,61604,61605,61606,61607,61609,61610,61611,61654,61655,61656,61657,61658,61667,61669,61671,61675,61683,61698,61699,61700,61701,61702,61703,61708,61712,61713,61714,61715,61720,61721,61722,61731,61732,61736,61737,61738,61749,61751,61753,61754,61757,61760,61768,61769,61770,61813,61814,61815,61816,61817,61820,61827,61829,61830,61832,61842];var F=o(50628),V=o(90186),W=o(41590),O=o(37049),G=o(10745);class R extends i.PureComponent{constructor(e){super(e),this._toggleDropdown=e=>{this.setState({isOpened:void 0!==e?e:!this.state.isOpened})},this._handleClose=()=>{this._toggleDropdown(!1)},this._getDropdownPosition=()=>{if(!this._control)return{x:0,y:0};const e=this._control.getBoundingClientRect();return{x:e.left+e.width+1,y:e.top-6}},this._handleClickArrow=()=>{var e,t;null===(t=(e=this.props).onArrowClick)||void 0===t||t.call(e),this._toggleDropdown()},this._handleTouchStart=()=>{this.props.onClickButton&&this.props.onClickButton(),this._toggleDropdown()},this._handlePressStart=()=>{if(c.mobiletouch&&!this.props.checkable)!this._longPressDelay&&this.props.onClickButton&&this.props.onClickButton();else{if(this._doubleClickDelay)return clearTimeout(this._doubleClickDelay),delete this._doubleClickDelay,void this._toggleDropdown(!0);this._doubleClickDelay=setTimeout(()=>{delete this._doubleClickDelay,!this._longPressDelay&&this.props.onClickButton&&this.props.onClickButton()},175)} +this._longPressDelay=setTimeout(()=>{delete this._longPressDelay,this._toggleDropdown(!0)},300)},this._cancelAllTimeouts=()=>{clearTimeout(this._longPressDelay),delete this._longPressDelay,clearTimeout(this._doubleClickDelay),delete this._doubleClickDelay},this._handleTouchPressEnd=e=>{e.cancelable&&e.preventDefault(),this._handlePressEnd()},this._handlePressEnd=()=>{this._longPressDelay&&(clearTimeout(this._longPressDelay),delete this._longPressDelay,this.state.isOpened?this._toggleDropdown(!1):this.props.checkable||this.state.isOpened||c.mobiletouch||!this.props.isActive&&!this.props.openDropdownByClick?!this._doubleClickDelay&&this.props.onClickButton&&this.props.onClickButton():this._toggleDropdown(!0))},this.state={isOpened:!1}}render(){const{buttonActiveClass:e,buttonClass:t,buttonIcon:o,buttonTitle:n,buttonHotKey:s,dropdownTooltip:a,children:r,isActive:h,isGrayed:d,onClickWhenGrayed:u,checkable:m,isSmallTablet:p}=this.props,{isOpened:b}=this.state,g=(0,V.filterDataProps)(this.props);return i.createElement("div",{className:l(G.dropdown,{[G.isGrayed]:d,[G.isActive]:h,[G.isOpened]:b}),onClick:d?u:void 0},i.createElement("div",{...g,ref:e=>this._control=e,className:G.control},i.createElement("div",{...this._getButtonHandlers(),className:l(G.buttonWrap,{"apply-common-tooltip common-tooltip-vertical":Boolean(n||s)}),"data-tooltip-hotkey":s,"data-tooltip-delay":1500,"data-role":"button",title:n},i.createElement(I.ToolButton,{activeClass:e,className:t,icon:o,isActive:h,isGrayed:d,isTransparent:!m})),!d&&!c.mobiletouch&&i.createElement("div",{className:l(G.arrow,a&&"apply-common-tooltip common-tooltip-vertical"),title:a,onClick:this._handleClickArrow,"data-role":"menu-handle"},i.createElement(S.Icon,{className:G.arrowIcon,icon:O}))),!d&&(p?b&&i.createElement(W.Drawer,{onClose:this._handleClose,position:"Bottom"},r):i.createElement(F.PopupMenu,{doNotCloseOn:this,isOpened:b,onClose:this._handleClose,position:this._getDropdownPosition},r)))}_getButtonHandlers(){const{isGrayed:e,checkable:t}=this.props;return e?{}:c.mobiletouch?t?{onTouchStart:this._handlePressStart,onTouchEnd:this._handleTouchPressEnd,onTouchMove:this._cancelAllTimeouts}:{onClick:this._handleTouchStart}:{onMouseDown:this._handlePressStart,onMouseUp:this._handlePressEnd}}}var H=o(51613),U=o(88234);class z extends i.Component{constructor(e){super(e),this._renderItem=(e,t)=>{const{isSmallTablet:o}=this.props,n=l(U.item,o&&U.smallTablet,t&&o&&this.state.isActive&&e===this.state.current&&U.active);return i.createElement("div",{className:n,key:e,onClick:()=>{this._handleSelect(e),(0,B.globalCloseMenu)()}},String.fromCharCode(e))},this._onChangeDrawingStateTool=()=>{this.setState({isActive:this._isActive()})},this._onChangeDrawingStateIcon=()=>{const e=u.iconTool.value();let{recents:t}=this.state;const o=t.indexOf(e);-1!==o&&t.splice(o,1),t=[e,...t.slice(0,9)],(0,h.setJSON)("linetoolicon.recenticons",t),this.setState({current:e,recents:t})},this._handleSelect=e=>{u.iconTool.setValue(e),u.tool.setValue("LineToolIcon")},this.state={current:(0, +P.defaults)("linetoolicon").icon,recents:(0,h.getJSON)("linetoolicon.recenticons")||[],isActive:this._isActive()}}componentDidMount(){u.tool.subscribe(this._onChangeDrawingStateTool),u.iconTool.subscribe(this._onChangeDrawingStateIcon),h.onSync.subscribe(this,this._onSyncSettings)}componentWillUnmount(){u.tool.unsubscribe(this._onChangeDrawingStateTool),u.iconTool.unsubscribe(this._onChangeDrawingStateIcon),h.onSync.unsubscribe(this,this._onSyncSettings)}render(){const{isSmallTablet:e,isMobileWrap:t}=this.props,{recents:o}=this.state,n=l(U.wrap,e&&U.smallTablet,t&&U.mobileWrap);return i.createElement(i.Fragment,null,o&&i.createElement(i.Fragment,null,e&&i.createElement("div",{className:U.title},(0,a.t)("Recently used")),i.createElement("div",{className:n},o.map(e=>this._renderItem(e,!0))),i.createElement(H.PopupMenuSeparator,{className:l(e&&U.separator)})),i.createElement("div",{key:"all",className:n},x.map(e=>this._renderItem(e))))}_isActive(){var e;return u.tool.value()===(null!==(e=this.props.toolName)&&void 0!==e?e:"LineToolIcon")}_onSyncSettings(){this.setState({recents:(0,h.getJSON)("linetoolicon.recenticons")})}}var j=o(48214);const Q={icon:(0,a.t)("Icon"),dropdownTooltip:(0,a.t)("Icons")};class J extends i.Component{constructor(e){super(e),this._onChangeDrawingStateTool=()=>{this.setState({isActive:this._isActive()})},this._onChangeDrawingStateIcon=()=>{const e=u.iconTool.value();this.setState({current:e})},this._handleSelect=e=>{u.iconTool.setValue(e),u.tool.setValue("LineToolIcon")},this._handleClick=()=>{const{current:e}=this.state;this._handleSelect(e||x[0]),this._trackClick()},this._handleArrowClick=()=>{this._trackClick("menu")},this.state={current:(0,P.defaults)("linetoolicon").icon,isActive:this._isActive()}}componentDidMount(){u.tool.subscribe(this._onChangeDrawingStateTool),u.iconTool.subscribe(this._onChangeDrawingStateIcon)}componentWillUnmount(){u.tool.unsubscribe(this._onChangeDrawingStateTool),u.iconTool.unsubscribe(this._onChangeDrawingStateIcon)}render(){const{isGrayed:e,toolName:t,isSmallTablet:o}=this.props,{current:n,isActive:s}=this.state,a=(0,V.filterDataProps)(this.props);return i.createElement(R,{buttonClass:j.button,buttonIcon:i.createElement("div",{className:j.buttonIcon},String.fromCharCode(n||x[0])),buttonTitle:Q.icon,dropdownTooltip:Q.dropdownTooltip,isActive:s,isGrayed:e,isSmallTablet:o,onClickButton:this._handleClick,onClickWhenGrayed:()=>(0,p.emit)("onGrayedObjectClicked",{type:"drawing",name:T.lineToolsInfo[t].localizedName}),onArrowClick:this._handleArrowClick,...a},i.createElement(z,{isSmallTablet:o,toolName:t}))}_isActive(){return u.tool.value()===this.props.toolName}_trackClick(e){0}}var q=o(88564);class K extends i.PureComponent{constructor(e){super(e),this._handleClick=()=>{this.props.saveDefaultOnChange&&(0,q.saveDefaultProperties)(!0);const e=!this.props.property.value();this.props.property.setValue(e),this.props.saveDefaultOnChange&&(0,q.saveDefaultProperties)(!1),this.props.onClick&&this.props.onClick(e)},this.state={isActive:this.props.property.value()}} +componentDidMount(){this.props.property.subscribe(this,this._onChange)}componentWillUnmount(){this.props.property.unsubscribe(this,this._onChange)}render(){const{toolName:e}=this.props,{isActive:t}=this.state,o=T.lineToolsInfo[e];return i.createElement(I.ToolButton,{icon:t&&o.iconActive?o.iconActive:o.icon,isActive:t,onClick:this._handleClick,title:o.localizedName,buttonHotKey:o.hotKey,"data-name":e})}_onChange(e){this.setState({isActive:e.value()})}}class X extends i.PureComponent{constructor(e){super(e),this._handleClick=()=>{var e,t;u.tool.setValue(this.props.toolName),null===(t=(e=this.props).onClick)||void 0===t||t.call(e)},this._onChange=()=>{this.setState({isActive:u.tool.value()===this.props.toolName})},this.state={isActive:u.tool.value()===this.props.toolName}}componentDidMount(){u.tool.subscribe(this._onChange)}componentWillUnmount(){u.tool.unsubscribe(this._onChange)}render(){const{toolName:e}=this.props,{isActive:t}=this.state,o=T.lineToolsInfo[e];return i.createElement(I.ToolButton,{icon:T.lineToolsInfo[e].icon,isActive:t,isTransparent:!0,onClick:this._handleClick,title:o.localizedName,buttonHotKey:o.hotKey,"data-name":e})}}class Y extends i.PureComponent{constructor(e){super(e),this._boundUndoModel=null,this._handleClick=()=>{const e=this._activeChartWidget();e.hasModel()&&e.model().zoomFromViewport()},this._syncUnzoomButton=()=>{const e=this._activeChartWidget();let t=!1;if(e.hasModel()){const o=e.model();this._boundUndoModel!==o&&(this._boundUndoModel&&this._boundUndoModel.zoomStack().onChange().unsubscribe(null,this._syncUnzoomButton),o.zoomStack().onChange().subscribe(null,this._syncUnzoomButton),this._boundUndoModel=o),t=!o.zoomStack().isEmpty()}else e.withModel(null,this._syncUnzoomButton);this.setState({isVisible:t})},this.state={isVisible:!1}}componentDidMount(){this.props.chartWidgetCollection.activeChartWidget.subscribe(this._syncUnzoomButton,{callWithLast:!0})}componentWillUnmount(){this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._syncUnzoomButton)}render(){return this.state.isVisible?i.createElement(N,{action:this._handleClick,isTransparent:!0,toolName:"zoom-out"}):i.createElement("div",null)}_activeChartWidget(){return this.props.chartWidgetCollection.activeChartWidget.value()}}var Z=o(89377),$=o(36189),ee=o(16396),te=o(81332);class oe extends i.PureComponent{constructor(e){super(e),this._onChangeDrawingState=()=>{const e=this._getActiveToolIndex();this.setState({current:-1!==e?e:this.state.current,isActive:-1!==e})},this._handleClickButton=()=>{if(this._trackClick(),v.CheckMobile.any())return;const e=this._getCurrentToolName();this._selectTool(e)},this._handleClickItem=e=>{this._selectTool(e)},this._handleGrayedClick=e=>{(0,p.emit)("onGrayedObjectClicked",{type:"drawing",name:T.lineToolsInfo[e].localizedName})},this._handleClickFavorite=e=>{this.state.favState&&this.state.favState[e]?Z.LinetoolsFavoritesStore.removeFavorite(e):Z.LinetoolsFavoritesStore.addFavorite(e)},this._onAddFavorite=e=>{this.setState({favState:{...this.state.favState,[e]:!0}})}, +this._onRemoveFavorite=e=>{this.setState({favState:{...this.state.favState,[e]:!1}})},this._onSyncFavorites=()=>{this.setState({favState:this._composeFavState()})},this._handleArrowClick=()=>{this._trackClick("menu")},this._trackClick=e=>{const{trackLabel:t}=this.props};const t=this._getActiveToolIndex();this.state={current:-1===t?this._firstNonGrayedTool():t,favState:this._composeFavState(),isActive:-1!==t}}componentDidMount(){u.tool.subscribe(this._onChangeDrawingState),Z.LinetoolsFavoritesStore.favoriteAdded.subscribe(null,this._onAddFavorite),Z.LinetoolsFavoritesStore.favoriteRemoved.subscribe(null,this._onRemoveFavorite),Z.LinetoolsFavoritesStore.favoritesSynced.subscribe(null,this._onSyncFavorites)}componentWillUnmount(){u.tool.unsubscribe(this._onChangeDrawingState),Z.LinetoolsFavoritesStore.favoriteAdded.unsubscribe(null,this._onAddFavorite),Z.LinetoolsFavoritesStore.favoriteRemoved.unsubscribe(null,this._onRemoveFavorite),Z.LinetoolsFavoritesStore.favoritesSynced.unsubscribe(null,this._onSyncFavorites)}componentDidUpdate(e,t){e.lineTools!==this.props.lineTools&&this.setState({favState:this._composeFavState()})}render(){const{favoriting:e,grayedTools:t,lineTools:o,dropdownTooltip:n,isSmallTablet:s}=this.props,{current:a,favState:l,isActive:r}=this.state,c=this._getCurrentToolName(),h=T.lineToolsInfo[c],d=this._showShortcuts(),u=(0,V.filterDataProps)(this.props);return i.createElement("span",null,i.createElement(R,{buttonIcon:h.icon,buttonTitle:h.localizedName,buttonHotKey:h.hotKey,dropdownTooltip:n,isActive:r,onClickButton:this._handleClickButton,onArrowClick:this._handleArrowClick,isSmallTablet:s,...u},o.map((o,n)=>{const c=o.name,h=T.lineToolsInfo[c],u=t[c];return i.createElement(ee.PopupMenuItem,{key:c,"data-name":o.name,theme:s?te.multilineLabelWithIconAndToolboxTheme:void 0,dontClosePopup:u,forceShowShortcuts:d,shortcut:!s&&o.hotkeyHash?(0,C.humanReadableHash)(o.hotkeyHash):void 0,icon:h.icon,isActive:r&&a===n,appearAsDisabled:u,label:h.localizedName,onClick:u?this._handleGrayedClick:this._handleClickItem,onClickArg:c,showToolboxOnHover:!l[c],toolbox:e&&!u?i.createElement($.FavoriteButton,{isActive:r&&a===n,isFilled:l[c],onClick:()=>this._handleClickFavorite(c)}):void 0})})))}_getCurrentToolName(){const{current:e}=this.state,{lineTools:t}=this.props;return t[e||0].name}_firstNonGrayedTool(){const{grayedTools:e,lineTools:t}=this.props;return t.findIndex(t=>!e[t.name])}_getActiveToolIndex(){return this.props.lineTools.findIndex(e=>e.name===u.tool.value())}_showShortcuts(){return this.props.lineTools.some(e=>"shortcut"in e)}_selectTool(e){u.tool.setValue(e)}_composeFavState(){const e={};return this.props.lineTools.forEach(t=>{e[t.name]=Z.LinetoolsFavoritesStore.isFavorite(t.name)}),e}}var ie=o(51768),ne=o(40173),se=o(83860);const ae=(0,ne.mergeThemes)(ee.DEFAULT_POPUP_MENU_ITEM_THEME,se),le={all:(0,a.t)("Remove Drawings & Indicators"),drawings:(0,a.t)("Remove Drawings"),studies:(0,a.t)("Remove Indicators")};class re extends i.PureComponent{constructor(){super(...arguments),this._handleRemoveToolClick=()=>{ +c.mobiletouch||this._handleRemoveDrawings(),he()},this._handleRemoveDrawings=()=>{ce("remove drawing"),this.props.chartWidgetCollection.activeChartWidget.value().removeAllDrawingTools()},this._handleRemoveStudies=()=>{ce("remove indicator"),this.props.chartWidgetCollection.activeChartWidget.value().removeAllStudies()},this._handleRemoveAll=()=>{ce("remove all"),this.props.chartWidgetCollection.activeChartWidget.value().removeAllStudiesDrawingTools()}}render(){const e=this.props.isSmallTablet?ae:void 0;return i.createElement(R,{buttonIcon:T.lineToolsInfo[this.props.toolName].icon,buttonTitle:le.drawings,onClickButton:this._handleRemoveToolClick,isSmallTablet:this.props.isSmallTablet,"data-name":this.props.toolName,onArrowClick:this._handleArrowClick,openDropdownByClick:!1},i.createElement(ee.PopupMenuItem,{"data-name":"remove-drawing-tools",label:le.drawings,onClick:this._handleRemoveDrawings,theme:e}),i.createElement(ee.PopupMenuItem,{"data-name":"remove-studies",label:le.studies,onClick:this._handleRemoveStudies,theme:e}),i.createElement(ee.PopupMenuItem,{"data-name":"remove-all",label:le.all,onClick:this._handleRemoveAll,theme:e}))}_handleArrowClick(){he("menu")}}function ce(e){(0,ie.trackEvent)("GUI","Chart Left Toolbar",e)}function he(e){0}var de=o(10458),ue=o(90995),me=o(14881);const pe=i.createContext({hideMode:"drawings",isActive:!1});function be(e){const{hideMode:t,option:{label:o,dataName:n,getBoxedValue:s},isSmallTablet:a,onClick:l}=e,{hideMode:r,isActive:c}=(0,i.useContext)(pe),h=null==s?void 0:s();return"all"===t||h?i.createElement(ee.PopupMenuItem,{label:o,isActive:r===t&&c,onClick:function(){l(t,(0,ue.toggleHideMode)(t))},"data-name":n,theme:a?ae:void 0}):i.createElement(i.Fragment,null)}const ge={drawings:{active:de.drawingToolsIcons.hideAllDrawingToolsActive,inactive:de.drawingToolsIcons.hideAllDrawingTools},indicators:{active:de.drawingToolsIcons.hideAllIndicatorsActive,inactive:de.drawingToolsIcons.hideAllIndicators},positions:{active:de.drawingToolsIcons.hideAllPositionsToolsActive,inactive:de.drawingToolsIcons.hideAllPositionsTools},all:{active:de.drawingToolsIcons.hideAllDrawingsActive,inactive:de.drawingToolsIcons.hideAllDrawings}};function ve(e){const{isSmallTablet:t}=e,[{isActive:o,hideMode:n},a]=(0,i.useState)(()=>({isActive:!1,hideMode:(0,ue.getSavedHideMode)()}));(0,i.useEffect)(()=>(me.hideStateChange.subscribe(null,a),()=>{me.hideStateChange.unsubscribe(null,a)}),[]);const l=T.lineToolsInfo.hideAllDrawings,{trackLabel:r,tooltip:c,dataName:h}=(0,s.ensureDefined)((0,ue.getHideOptions)().get(n)),d=ge[n][o?"active":"inactive"],u=o?c.active:c.inactive;return i.createElement(R,{buttonIcon:d,buttonTitle:u,buttonHotKey:l.hotKey,onClickButton:function(){(0,ue.toggleHideMode)(n),Te(r,!o),_e(o?"on":"off")},isSmallTablet:t,isActive:o,checkable:!0,"data-name":"hide-all","data-type":h,onArrowClick:function(){_e("menu")}},i.createElement(pe.Provider,{value:{isActive:o,hideMode:n}},Array.from((0,ue.getHideOptions)()).map(([e,o])=>i.createElement(be,{key:e,hideMode:e,option:o,isSmallTablet:t,onClick:m +}))));function m(e,t){Te((0,s.ensureDefined)((0,ue.getHideOptions)().get(e)).trackLabel,t)}}function Te(e,t){(0,ie.trackEvent)("GUI","Chart Left Toolbar",`${e} ${t?"on":"off"}`)}function _e(e){0}var Ce=o(12409),we=o(31330);const ke=(0,a.t)("Show Favorite Drawing Tools Toolbar");class fe extends i.PureComponent{constructor(){super(...arguments),this._instance=null,this._promise=null,this._bindedForceUpdate=()=>this.forceUpdate(),this._handleClick=()=>{null!==this._instance&&(this._instance.isVisible()?(this._instance.hide(),this._trackClick(!1)):(this._instance.show(),this._trackClick(!0)))}}componentDidMount(){const e=this._promise=(0,s.ensureNotNull)((0,Ce.getFavoriteDrawingToolbarPromise)());e.then(t=>{this._promise===e&&(this._instance=t,this._instance.canBeShown().subscribe(this._bindedForceUpdate),this._instance.visibility().subscribe(this._bindedForceUpdate),this.forceUpdate())})}componentWillUnmount(){this._promise=null,null!==this._instance&&(this._instance.canBeShown().unsubscribe(this._bindedForceUpdate),this._instance.visibility().unsubscribe(this._bindedForceUpdate),this._instance=null)}render(){return null!==this._instance&&this._instance.canBeShown().value()?i.createElement(I.ToolButton,{id:this.props.id,icon:we,isActive:this._instance.isVisible(),onClick:this._handleClick,title:ke}):null}_trackClick(e){0}}var Se,ye=o(90373);!function(e){e.Screenshot="drawing-toolbar-screenshot",e.FavoriteDrawings="drawing-toolbar-favorite-drawings",e.ObjectTree="drawing-toolbar-object-tree"}(Se||(Se={}));var Me=o(70412),Ee=o(54475),De=o(45216),Le=o(29197),Ae=o(61226);const Be=Ae,Ie="http://www.w3.org/2000/svg";function Ne(e){const{direction:t,theme:o=Ae}=e;return i.createElement("svg",{xmlns:Ie,width:"9",height:"27",viewBox:"0 0 9 27",className:l(o.container,"right"===t?o.mirror:null),onContextMenu:Ee.preventDefault},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{className:o.background,d:"M4.5.5a4 4 0 0 1 4 4v18a4 4 0 1 1-8 0v-18a4 4 0 0 1 4-4z"}),i.createElement("path",{className:o.arrow,d:"M5.5 10l-2 3.5 2 3.5"})))}var Pe=o(84006);const xe=(0,ne.mergeThemes)(Be,Pe),Fe={hide:(0,a.t)("Hide Drawings Toolbar"),show:(0,a.t)("Show Drawings Toolbar")};class Ve extends i.PureComponent{constructor(){super(...arguments),this._toggleVisibility=()=>{k.isDrawingToolbarVisible.setValue(!k.isDrawingToolbarVisible.value())}}render(){const{toolbarVisible:e,"data-name":t}=this.props;return i.createElement("div",{className:l(xe.toggleButton,"apply-common-tooltip common-tooltip-vertical",!e&&xe.collapsed),onClick:this._toggleVisibility,title:e?Fe.hide:Fe.show,"data-name":t,"data-value":e?"visible":"collapsed"},i.createElement(Ne,{direction:e?"left":"right",theme:e?void 0:xe}))}}var We=o(37558),Oe=o(24437),Ge=o(90692);const Re={chartWidgetCollection:o(19036).any.isRequired};var He=o(55402),Ue=o(85494);const ze=d.enabled("right_toolbar"),je=d.enabled("keep_object_tree_widget_in_right_toolbar"),Qe={weakMagnet:(0,a.t)("Weak Magnet"),strongMagnet:(0,a.t)("Strong Magnet")},Je=(0, +v.onWidget)(),qe=new(g()),Ke=ie.trackEvent.bind(null,"GUI","Chart Left Toolbar"),Xe=(e,t)=>Ke(`${e} ${t?"on":"off"}`);function Ye(){const e=!u.properties().childs().magnet.value();Xe("magnet mode",e),ot("magnet mode",e?"on":"off"),(0,m.setIsMagnetEnabled)(e)}function Ze(){(0,ie.trackEvent)("GUI","Magnet mode","Weak"),(0,m.setMagnetMode)(ye.MagnetMode.WeakMagnet)}function $e(){(0,ie.trackEvent)("GUI","Magnet mode","Strong"),(0,m.setMagnetMode)(ye.MagnetMode.StrongMagnet)}function et(){ot("magnet mode","menu")}class tt extends i.PureComponent{constructor(e){var t;super(e),this._grayedTools={},this._handleMeasureClick=()=>{ot("measure")},this._handleZoomInClick=()=>{ot("zoom in")},this._handleDrawingClick=e=>{Xe("drawing mode",e),ot("drawing mode",e?"on":"off")},this._handleLockClick=e=>{Xe("lock all drawing",e),ot("lock",e?"on":"off")},this._handleSyncClick=e=>{Xe("sync",e),ot("sync",e?"on":"off")},this._handleObjectsTreeClick=()=>{this._activeChartWidget().showObjectsTreeDialog(),ot("object tree")},this._handleMouseOver=e=>{(0,Me.hoverMouseEventFilter)(e)&&this.setState({isHovered:!0})},this._handleMouseOut=e=>{(0,Me.hoverMouseEventFilter)(e)&&this.setState({isHovered:!1})},this._handleChangeVisibility=e=>{this.setState({isVisible:e})},this._handleEsc=()=>{u.resetToCursor(!0)},this._updateMagnetEnabled=()=>{const e={magnet:(0,m.magnetEnabled)().value()};this.setState(e)},this._updateMagnetMode=()=>{const e={magnetMode:(0,m.magnetMode)().value()};this.setState(e)},this._handleWidgetbarSettled=e=>{var t;this.setState({isWidgetbarVisible:Boolean(null===(t=window.widgetbar)||void 0===t?void 0:t.visible().value()),widgetbarSettled:e})},this._handleWidgetbarVisible=e=>{this.setState({isWidgetbarVisible:e})},u.init(),this._toolsFilter=new _(this.props.drawingsAccess),this._filteredLineTools=w.map(e=>({id:e.id,title:e.title,items:e.items.filter(e=>this._toolsFilter.isToolEnabled(T.lineToolsInfo[e.name].localizedName)),trackLabel:e.trackLabel})).filter(e=>0!==e.items.length),this._filteredLineTools.forEach(e=>e.items.forEach(e=>{this._grayedTools[e.name]=this._toolsFilter.isToolGrayed(T.lineToolsInfo[e.name].localizedName)})),this.state={isHovered:!1,isVisible:k.isDrawingToolbarVisible.value(),isWidgetbarVisible:Boolean(null===(t=window.widgetbar)||void 0===t?void 0:t.visible().value()),widgetbarSettled:void 0!==window.widgetbar,magnet:u.properties().childs().magnet.value(),magnetMode:u.properties().childs().magnetMode.value()},this._features={favoriting:!Je&&d.enabled("items_favoriting"),multicharts:d.enabled("support_multicharts"),tools:!Je||d.enabled("charting_library_base")},this._registry={chartWidgetCollection:this.props.chartWidgetCollection},this._negotiateResizer()}componentDidMount(){var e;k.isDrawingToolbarVisible.subscribe(this._handleChangeVisibility),B.globalCloseDelegate.subscribe(this,this._handleGlobalClose),(0,m.magnetEnabled)().subscribe(this._updateMagnetEnabled),(0,m.magnetMode)().subscribe(this._updateMagnetMode),this._tool=u.tool.spawn(),this._tool.subscribe(this._updateHotkeys.bind(this)), +this._initHotkeys(),this.props.widgetbarSettled&&(this.props.widgetbarSettled.subscribe(this,this._handleWidgetbarSettled),v.CheckMobile.any()&&(null===(e=window.widgetbar)||void 0===e||e.visible().subscribe(this._handleWidgetbarVisible)))}componentWillUnmount(){var e;null===(e=window.widgetbar)||void 0===e||e.visible().unsubscribe(this._handleWidgetbarVisible),k.isDrawingToolbarVisible.unsubscribe(this._handleChangeVisibility),B.globalCloseDelegate.unsubscribe(this,this._handleGlobalClose),(0,m.magnetEnabled)().unsubscribe(this._updateMagnetEnabled),(0,m.magnetMode)().unsubscribe(this._updateMagnetMode),this._tool.destroy(),this._hotkeys.destroy()}componentDidUpdate(e,t){var o;const{isVisible:i,widgetbarSettled:n}=this.state;i!==t.isVisible&&(p.emit("toggle_sidebar",!i),h.setValue("ChartDrawingToolbarWidget.visible",i),this._negotiateResizer()),t.widgetbarSettled!==n&&n&&v.CheckMobile.any()&&(null===(o=window.widgetbar)||void 0===o||o.visible().subscribe(this._handleWidgetbarVisible))}render(){const{bgColor:e,chartWidgetCollection:t,readOnly:o}=this.props,{isHovered:n,isVisible:s,magnet:a,magnetMode:r}=this.state,h={backgroundColor:e&&"#"+e};let m;m=i.createElement(Ve,{toolbarVisible:s,"data-name":"toolbar-drawing-toggle-button"});const p=()=>!!this._features.tools&&!(!d.enabled("show_object_tree")||je&&!ze);return i.createElement(He.RegistryProvider,{validation:Re,value:this._registry},i.createElement(Le.CloseDelegateContext.Provider,{value:qe},i.createElement(We.DrawerManager,null,i.createElement(Ge.MatchMedia,{rule:Oe.DialogBreakpoints.TabletSmall},e=>i.createElement("div",{id:"drawing-toolbar",className:l(Ue.drawingToolbar,{[Ue.isHidden]:!s}),style:h,onClick:this.props.onClick,onContextMenu:Ee.preventDefaultForContextMenu},i.createElement(L,{onScroll:this._handleGlobalClose,isVisibleFade:c.mobiletouch,isVisibleButtons:!c.mobiletouch&&n,isVisibleScrollbar:!1,onMouseOver:this._handleMouseOver,onMouseOut:this._handleMouseOut},i.createElement("div",{className:Ue.inner},!o&&i.createElement("div",{className:Ue.group,style:h},this._filteredLineTools.map((o,n)=>i.createElement(oe,{"data-name":o.id,chartWidgetCollection:t,favoriting:this._features.favoriting,grayedTools:this._grayedTools,key:n,dropdownTooltip:o.title,lineTools:o.items,isSmallTablet:e,trackLabel:o.trackLabel})),this._toolsFilter.isToolEnabled("Font Icons")&&i.createElement(J,{"data-name":"linetool-group-font-icons",isGrayed:this._grayedTools["Font Icons"],toolName:"LineToolIcon",isSmallTablet:e})),!o&&i.createElement("div",{className:Ue.group,style:h},i.createElement(X,{toolName:"measure",onClick:this._handleMeasureClick}),i.createElement(X,{toolName:"zoom",onClick:this._handleZoomInClick}),i.createElement(Y,{chartWidgetCollection:t})),!o&&i.createElement("div",{className:Ue.group,style:h},i.createElement(R,{"data-name":"magnet-button",buttonIcon:r===ye.MagnetMode.StrongMagnet?de.drawingToolsIcons.strongMagnet:de.drawingToolsIcons.magnet,buttonTitle:T.lineToolsInfo.magnet.localizedName,isActive:a,onClickButton:Ye, +buttonHotKey:T.lineToolsInfo.magnet.hotKey,checkable:!0,isSmallTablet:e,onArrowClick:et},i.createElement(ee.PopupMenuItem,{key:"weakMagnet",className:e?Ue.popupMenuItem:void 0,"data-name":"weakMagnet",icon:de.drawingToolsIcons.magnet,isActive:a&&r!==ye.MagnetMode.StrongMagnet,label:Qe.weakMagnet,onClick:Ze}),i.createElement(ee.PopupMenuItem,{key:"strongMagnet",className:e?Ue.popupMenuItem:void 0,"data-name":"strongMagnet",icon:de.drawingToolsIcons.strongMagnet,isActive:a&&r===ye.MagnetMode.StrongMagnet,label:Qe.strongMagnet,onClick:$e})),this._features.tools&&i.createElement(K,{property:u.properties().childs().stayInDrawingMode,saveDefaultOnChange:!0,toolName:"drawginmode",onClick:this._handleDrawingClick}),this._features.tools&&i.createElement(K,{property:u.lockDrawings(),toolName:"lockAllDrawings",onClick:this._handleLockClick}),this._features.tools&&i.createElement(ve,{isSmallTablet:e}),!1),!o&&this._features.tools&&i.createElement("div",{className:Ue.group,style:h},i.createElement(re,{chartWidgetCollection:t,isSmallTablet:e,toolName:"removeAllDrawingTools"})),i.createElement("div",{className:Ue.fill,style:h}),!o&&(this._features.tools||!1)&&i.createElement("div",{className:l(Ue.group,Ue.lastGroup),style:h},!1,this._features.tools&&this._features.favoriting&&i.createElement(fe,{id:Se.FavoriteDrawings}),p()&&i.createElement(N,{id:Se.ObjectTree,action:this._handleObjectsTreeClick,toolName:"showObjectsTree"})))),m)))))}_activeChartWidget(){return this.props.chartWidgetCollection.activeChartWidget.value()}_negotiateResizer(){const e=De.TOOLBAR_WIDTH_COLLAPSED;this.props.resizerBridge.negotiateWidth(this.state.isVisible?De.TOOLBAR_WIDTH_EXPANDED:e)}_handleGlobalClose(){qe.fire()}_updateHotkeys(){this._hotkeys.promote()}_initHotkeys(){this._hotkeys=A.createGroup({desc:"Drawing Toolbar"}),this._hotkeys.add({desc:"Reset",hotkey:27,handler:()=>this._handleEsc(),isDisabled:()=>u.toolIsCursor(u.tool.value())})}}function ot(e,t){0}class it{constructor(e,t){this._component=null,this._handleRef=e=>{this._component=e},this._container=e,n.render(i.createElement(tt,{...t,ref:this._handleRef}),this._container)}destroy(){n.unmountComponentAtNode(this._container)}getComponent(){return(0,s.ensureNotNull)(this._component)}}},55402:(e,t,o)=>{"use strict";o.d(t,{validateRegistry:()=>l,RegistryProvider:()=>r,registryContextType:()=>c});var i=o(59496),n=o(19036),s=o.n(n);const a=i.createContext({});function l(e,t){s().checkPropTypes(t,e,"context","RegistryContext")}function r(e){const{validation:t,value:o}=e;return l(o,t),i.createElement(a.Provider,{value:o},e.children)}function c(){return a}},24437:(e,t,o)=>{"use strict";o.d(t,{DialogBreakpoints:()=>n});var i=o(96746);const n={SmallHeight:i["small-height-breakpoint"],TabletSmall:i["tablet-small-breakpoint"],TabletNormal:i["tablet-normal-breakpoint"]}},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerManager:()=>n,DrawerContext:()=>s});var i=o(59496);class n extends i.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 i.createElement(s.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const s=i.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>m});var i=o(59496),n=o(88537),s=o(97754),a=o(59142),l=o(43989),r=o(65718),c=o(37558),h=o(49483),d=o(29197),u=o(66998);function m(e){const{position:t="Bottom",onClose:o,children:m,className:p,theme:b=u}=e,g=(0,n.ensureNotNull)((0,i.useContext)(c.DrawerContext)),[v,T]=(0,i.useState)(0),_=(0,i.useRef)(null),C=(0,i.useContext)(d.CloseDelegateContext);return(0,i.useEffect)(()=>{const e=(0,n.ensureNotNull)(_.current);return e.focus({preventScroll:!0}),C.subscribe(g,o),0===g.currentDrawer&&(0,l.setFixedBodyState)(!0),h.CheckMobile.iOS()&&(0,a.disableBodyScroll)(e),T(g.addDrawer()),()=>{C.unsubscribe(g,o);const t=g.removeDrawer();h.CheckMobile.iOS()&&(0,a.enableBodyScroll)(e),0===t&&(0,l.setFixedBodyState)(!1)}},[]),i.createElement(r.Portal,null,i.createElement("div",{className:s(u.wrap,u["position"+t])},v===g.currentDrawer&&i.createElement("div",{className:u.backdrop,onClick:o}),i.createElement("div",{className:s(u.drawer,b.drawer,u["position"+t],p),ref:_,tabIndex:-1,"data-name":e["data-name"]},m)))}},36189:(e,t,o)=>{"use strict";o.d(t,{FavoriteButton:()=>d});var i=o(28353),n=o(59496),s=o(97754),a=o(9745),l=o(20614),r=o(55783),c=o(16842);const h={add:(0,i.t)("Add to favorites"),remove:(0,i.t)("Remove from favorites")};function d(e){const{className:t,isFilled:o,isActive:i,onClick:d,...u}=e;return n.createElement(a.Icon,{...u,className:s(c.favorite,"apply-common-tooltip",o&&c.checked,i&&c.active,t),icon:o?l:r,onClick:d,title:o?h.remove:h.add})}},70412:(e,t,o)=>{"use strict";o.d(t,{hoverMouseEventFilter:()=>s,useAccurateHover:()=>a,useHover:()=>n});var i=o(59496);function n(){const[e,t]=(0,i.useState)(!1);return[e,{onMouseOver:function(e){s(e)&&t(!0)},onMouseOut:function(e){s(e)&&t(!1)}}]}function s(e){return!e.currentTarget.contains(e.relatedTarget)}function a(e){const[t,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{const t=t=>{if(null===e.current)return;const i=e.current.contains(t.target);o(i)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>u});var i=o(59496),n=o(97754),s=o(59064),a=o(51768),l=o(90186),r=o(23576);const c=r;function h(e){const{reference:t,...o}=e,n={...o,ref:t};return i.createElement(e.href?"a":"div",n)}function d(e){e.stopPropagation()}function u(e){ +const{id:t,role:o,"aria-selected":c,className:u,title:m,labelRowClassName:p,labelClassName:b,shortcut:g,forceShowShortcuts:v,icon:T,isActive:_,isDisabled:C,isHovered:w,appearAsDisabled:k,label:f,link:S,showToolboxOnHover:y,target:M,rel:E,toolbox:D,reference:L,onMouseOut:A,onMouseOver:B,suppressToolboxClick:I=!0,theme:N=r}=e,P=(0,l.filterDataProps)(e),x=(0,i.useRef)(null);return i.createElement(h,{...P,id:t,role:o,"aria-selected":c,className:n(u,N.item,T&&N.withIcon,{[N.isActive]:_,[N.isDisabled]:C||k,[N.hovered]:w}),title:m,href:S,target:M,rel:E,reference:function(e){x.current=e,"function"==typeof L&&L(e);"object"==typeof L&&(L.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:i,onClickArg:n,trackEventObject:l}=e;if(C)return;l&&(0,a.trackEvent)(l.category,l.event,l.label);i&&i(n,t);o||(0,s.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:i}=e;o&&i&&(0,a.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:i}=e;if(1===t.button&&S&&o){let e=o.label;i&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:B,onMouseOut:A},void 0!==T&&i.createElement("div",{className:N.icon,dangerouslySetInnerHTML:{__html:T}}),i.createElement("div",{className:n(N.labelRow,p)},i.createElement("div",{className:n(N.label,b)},f)),(void 0!==g||v)&&i.createElement("div",{className:N.shortcut},(F=g)&&F.split("+").join(" + ")),void 0!==D&&i.createElement("div",{onClick:I?d:void 0,className:n(N.toolbox,{[N.showOnHover]:y})},D));var F}},81332:(e,t,o)=>{"use strict";o.d(t,{multilineLabelWithIconAndToolboxTheme:()=>a});var i=o(40173),n=o(23576),s=o(63095);const a=(0,i.mergeThemes)(n,s)},51613:(e,t,o)=>{"use strict";o.d(t,{PopupMenuSeparator:()=>l});var i=o(59496),n=o(97754),s=o.n(n),a=o(524);function l(e){const{size:t="normal",className:o}=e;return i.createElement("div",{className:s()(a.separator,"small"===t&&a.small,"normal"===t&&a.normal,"large"===t&&a.large,o)})}},33086:e=>{e.exports=''},31330:e=>{e.exports=''},20614:e=>{e.exports=''},55783:e=>{ +e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/drawing-toolbar.5b28dda6a3b56e3f7110.js b/charting_library/bundles/drawing-toolbar.5b28dda6a3b56e3f7110.js deleted file mode 100644 index a116185d..00000000 --- a/charting_library/bundles/drawing-toolbar.5b28dda6a3b56e3f7110.js +++ /dev/null @@ -1,15 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2878],{10745:e=>{e.exports={dropdown:"dropdown-m5d9X7vB",buttonWrap:"buttonWrap-m5d9X7vB",control:"control-m5d9X7vB",arrow:"arrow-m5d9X7vB",arrowIcon:"arrowIcon-m5d9X7vB",isOpened:"isOpened-m5d9X7vB",hover:"hover-m5d9X7vB",isGrayed:"isGrayed-m5d9X7vB"}},61226:e=>{e.exports={container:"container-68Nk42BD",mirror:"mirror-68Nk42BD",background:"background-68Nk42BD",arrow:"arrow-68Nk42BD"}},83860:e=>{e.exports={item:"item-x0Gb0fpu",label:"label-x0Gb0fpu"}},85494:e=>{e.exports={drawingToolbar:"drawingToolbar-3e32hIe9",isHidden:"isHidden-3e32hIe9",inner:"inner-3e32hIe9",popupMenuItem:"popupMenuItem-3e32hIe9",group:"group-3e32hIe9",noGroupPadding:"noGroupPadding-3e32hIe9",lastGroup:"lastGroup-3e32hIe9",fill:"fill-3e32hIe9",separator:"separator-3e32hIe9"}},84006:e=>{e.exports={toggleButton:"toggleButton-5IlBhjdP",collapsed:"collapsed-5IlBhjdP",background:"background-5IlBhjdP",arrow:"arrow-5IlBhjdP"}},88234:e=>{e.exports={wrap:"wrap-9Mqd4dY6",smallTablet:"smallTablet-9Mqd4dY6",mobileWrap:"mobileWrap-9Mqd4dY6",item:"item-9Mqd4dY6",hovered:"hovered-9Mqd4dY6",active:"active-9Mqd4dY6",title:"title-9Mqd4dY6",separator:"separator-9Mqd4dY6"}},48214:e=>{e.exports={buttonIcon:"buttonIcon-OGj1N2Ml",button:"button-OGj1N2Ml"}},60306:e=>{e.exports={wrap:"wrap-GVak88eE",scrollWrap:"scrollWrap-GVak88eE",noScrollBar:"noScrollBar-GVak88eE",content:"content-GVak88eE",icon:"icon-GVak88eE",scrollBot:"scrollBot-GVak88eE",scrollTop:"scrollTop-GVak88eE",isVisible:"isVisible-GVak88eE",iconWrap:"iconWrap-GVak88eE",fadeBot:"fadeBot-GVak88eE",fadeTop:"fadeTop-GVak88eE"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},63095:e=>{e.exports={item:"item-UZNJ2Dq5",label:"label-UZNJ2Dq5",labelRow:"labelRow-UZNJ2Dq5",toolbox:"toolbox-UZNJ2Dq5"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},90186:(e,t,o)=>{"use strict";function i(e){return s(e,a)}function n(e){return s(e,l)}function s(e,t){const o=Object.entries(e).filter(t),i={};for(const[e,t]of o)i[e]=t;return i}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function l(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>i,filterAriaProps:()=>n,filterProps:()=>s,isDataAttribute:()=>a,isAriaAttribute:()=>l})},26862:(e,t,o)=>{"use strict";o.r(t),o.d(t,{DrawingToolbarRenderer:()=>it}) -;var i=o(59496),n=o(87995),s=o(88537),a=o(28353),l=o(97754),r=o.n(l),c=o(32563),d=o(56840),h=o(67337),u=o(85733),m=o(30460),p=o(76422),g=o(2872),b=o.n(g),v=o(49483),T=(o(84015),o(92469));class _{constructor(e){this._drawingsAccess=e||{tools:[],type:"black"}}isToolEnabled(e){const t=this._findTool(e);return!(!t||!t.grayed)||("black"===this._drawingsAccess.type?!t:!!t)}isToolGrayed(e){const t=this._findTool(e);return Boolean(t&&t.grayed)}_findTool(e){return this._drawingsAccess.tools.find(t=>t.name===e)}}var C=o(68335);const w=[{id:"linetool-group-cursors",title:(0,a.t)("Cursors"),items:[{name:"cursor"},{name:"dot"},{name:"arrow"},{name:"eraser"}],trackLabel:null},{id:"linetool-group-trend-line",title:(0,a.t)("Trend Line Tools"),items:[{name:"LineToolTrendLine",hotkeyHash:C.Modifiers.Alt+84},{name:"LineToolArrow"},{name:"LineToolRay"},{name:"LineToolInfoLine"},{name:"LineToolExtended"},{name:"LineToolTrendAngle"},{name:"LineToolHorzLine",hotkeyHash:C.Modifiers.Alt+72},{name:"LineToolHorzRay",hotkeyHash:C.Modifiers.Alt+74},{name:"LineToolVertLine",hotkeyHash:C.Modifiers.Alt+86},{name:"LineToolCrossLine",hotkeyHash:C.Modifiers.Alt+67},{name:"LineToolParallelChannel"},{name:"LineToolRegressionTrend"},{name:"LineToolFlatBottom"},{name:"LineToolDisjointAngle"},null].filter(Boolean),trackLabel:null},{id:"linetool-group-gann-and-fibonacci",title:(0,a.t)("Gann and Fibonacci Tools"),items:[{name:"LineToolFibRetracement",hotkeyHash:C.Modifiers.Alt+70},{name:"LineToolTrendBasedFibExtension"},{name:"LineToolPitchfork"},{name:"LineToolSchiffPitchfork2"},{name:"LineToolSchiffPitchfork"},{name:"LineToolInsidePitchfork"},{name:"LineToolFibChannel"},{name:"LineToolFibTimeZone"},{name:"LineToolGannSquare"},{name:"LineToolGannFixed"},{name:"LineToolGannComplex"},{name:"LineToolGannFan"},{name:"LineToolFibSpeedResistanceFan"},{name:"LineToolTrendBasedFibTime"},{name:"LineToolFibCircles"},{name:"LineToolPitchfan"},{name:"LineToolFibSpiral"},{name:"LineToolFibSpeedResistanceArcs"},{name:"LineToolFibWedge"}],trackLabel:null},{id:"linetool-group-geometric-shapes",title:(0,a.t)("Geometric Shapes"),items:[{name:"LineToolBrush"},{name:"LineToolHighlighter"},{name:"LineToolRectangle"},{name:"LineToolCircle"},{name:"LineToolEllipse"},{name:"LineToolPath"},{name:"LineToolBezierQuadro"},{name:"LineToolPolyline"},{name:"LineToolTriangle"},{name:"LineToolRotatedRectangle"},{name:"LineToolArc"},{name:"LineToolBezierCubic"}],trackLabel:null},{id:"linetool-group-annotation",title:(0,a.t)("Annotation Tools"),items:[{name:"LineToolText"},{name:"LineToolTextAbsolute"},{name:"LineToolNote"},{name:"LineToolNoteAbsolute"},{name:"LineToolSignpost"},null,null,null,{name:"LineToolCallout"},{name:"LineToolBalloon"},{name:"LineToolPriceLabel"},{name:"LineToolPriceNote"},{name:"LineToolArrowMarker"},{name:"LineToolArrowMarkLeft"},{name:"LineToolArrowMarkRight"},{name:"LineToolArrowMarkUp"},{name:"LineToolArrowMarkDown"},{name:"LineToolFlagMark"}].filter(Boolean),trackLabel:null},{id:"linetool-group-patterns",title:(0,a.t)("Patterns"),items:[{ -name:"LineTool5PointsPattern"},{name:"LineToolCypherPattern"},{name:"LineToolABCD"},{name:"LineToolTrianglePattern"},{name:"LineToolThreeDrivers"},{name:"LineToolHeadAndShoulders"},{name:"LineToolElliottImpulse"},{name:"LineToolElliottTriangle"},{name:"LineToolElliottTripleCombo"},{name:"LineToolElliottCorrection"},{name:"LineToolElliottDoubleCombo"},{name:"LineToolCircleLines"},{name:"LineToolTimeCycles"},{name:"LineToolSineLine"}],trackLabel:null},{id:"linetool-group-prediction-and-measurement",title:(0,a.t)("Prediction and Measurement Tools"),items:[{name:"LineToolRiskRewardLong"},{name:"LineToolRiskRewardShort"},{name:"LineToolPrediction"},{name:"LineToolDateRange"},{name:"LineToolPriceRange"},{name:"LineToolDateAndPriceRange"},{name:"LineToolBarsPattern"},{name:"LineToolGhostFeed"},{name:"LineToolProjection"},{name:"LineToolFixedRangeVolumeProfile"}].filter(Boolean),trackLabel:null}];var k=o(85593),f=o(9837),S=o(9745),E=o(59199),y=o(68587),M=o(60306),D=o(33086);class L extends i.PureComponent{constructor(e){super(e),this._scroll=null,this._handleScrollTop=()=>{this.animateTo(Math.max(0,this.currentPosition()-(this.state.heightWrap-50)))},this._handleScrollBot=()=>{this.animateTo(Math.min((this.state.heightContent||0)-(this.state.heightWrap||0),this.currentPosition()+(this.state.heightWrap-50)))},this._handleResizeWrap=({height:e})=>{this.setState({heightWrap:e})},this._handleResizeContent=({height:e})=>{this.setState({heightContent:e})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtTop(),this.isAtBot()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleTopButton:e,isVisibleBotButton:t}=this.state,o=this.isAtTop(),i=this.isAtBot();o||e?o&&e&&this.setState({isVisibleTopButton:!1}):this.setState({isVisibleTopButton:!0}),i||t?i&&t&&this.setState({isVisibleBotButton:!1}):this.setState({isVisibleBotButton:!0})},this.state={heightContent:0,heightWrap:0,isVisibleBotButton:!1,isVisibleTopButton:!1}}componentDidMount(){this._checkButtonsVisibility()}componentDidUpdate(e,t){t.heightWrap===this.state.heightWrap&&t.heightContent===this.state.heightContent||this._handleScroll()}currentPosition(){return this._scroll?this._scroll.scrollTop:0}isAtTop(){return this.currentPosition()<=1}isAtBot(){return this.currentPosition()+this.state.heightWrap>=this.state.heightContent-1}animateTo(e,t=y.dur){const o=this._scroll;o&&(0,E.doAnimate)({onStep(e,t){o.scrollTop=t},from:o.scrollTop,to:Math.round(e),easing:y.easingFunc.easeInOutCubic,duration:t})}render(){const{children:e,isVisibleScrollbar:t,isVisibleFade:o,isVisibleButtons:n,onMouseOver:s,onMouseOut:a}=this.props,{heightContent:l,heightWrap:c,isVisibleBotButton:d,isVisibleTopButton:h}=this.state;return i.createElement(f,{whitelist:["height"],onMeasure:this._handleResizeWrap},i.createElement("div",{className:M.wrap,onMouseOver:s,onMouseOut:a},i.createElement("div",{className:r()(M.scrollWrap,{[M.noScrollBar]:!t}),onScroll:this._handleScroll,ref:e=>this._scroll=e},i.createElement(f,{ -onMeasure:this._handleResizeContent,whitelist:["height"]},i.createElement("div",{className:M.content},e))),o&&i.createElement("div",{className:r()(M.fadeTop,{[M.isVisible]:h&&l>c})}),o&&i.createElement("div",{className:r()(M.fadeBot,{[M.isVisible]:d&&l>c})}),n&&i.createElement("div",{className:r()(M.scrollTop,{[M.isVisible]:h&&l>c}),onClick:this._handleScrollTop},i.createElement("div",{className:M.iconWrap},i.createElement(S.Icon,{icon:D,className:M.icon}))),n&&i.createElement("div",{className:r()(M.scrollBot,{[M.isVisible]:d&&l>c}),onClick:this._handleScrollBot},i.createElement("div",{className:M.iconWrap},i.createElement(S.Icon,{icon:D,className:M.icon})))))}}L.defaultProps={isVisibleScrollbar:!0};var A=o(25760),N=o(59064),I=o(16534);function B(e){const{id:t,action:o,isActive:n,isHidden:s,isTransparent:a,toolName:l}=e;return i.createElement(I.ToolButton,{id:t,icon:T.lineToolsInfo[l].icon,isActive:n,isHidden:s,isTransparent:a,onClick:o,title:T.lineToolsInfo[l].localizedName,"data-name":l})}var P=o(59803);const F=[61536,61537,61538,61539,61725,61726,61575,61576,61796,61797,61779,61780,61781,61782,61783,61784,61785,61786,61845,61440,61442,61444,61445,61446,61447,61452,61453,61454,61457,61458,61459,61461,61463,61466,61467,61470,61473,61476,61488,61504,61505,61507,61510,61523,61524,61525,61526,61527,61528,61529,61530,61531,61532,61533,61534,61540,61541,61542,61543,61544,61545,61546,61547,61548,61550,61552,61553,61554,61557,61558,61559,61560,61565,61566,61568,61572,61578,61601,61602,61603,61604,61605,61606,61607,61609,61610,61611,61654,61655,61656,61657,61658,61667,61669,61671,61675,61683,61698,61699,61700,61701,61702,61703,61708,61712,61713,61714,61715,61720,61721,61722,61731,61732,61736,61737,61738,61749,61751,61753,61754,61757,61760,61768,61769,61770,61813,61814,61815,61816,61817,61820,61827,61829,61830,61832,61842];var x=o(50628),V=o(90186),O=o(41590),W=o(37049),G=o(10745);class R extends i.PureComponent{constructor(e){super(e),this._toggleDropdown=e=>{this.setState({isOpened:void 0!==e?e:!this.state.isOpened})},this._handleClose=()=>{this._toggleDropdown(!1)},this._getDropdownPosition=()=>{if(!this._control)return{x:0,y:0};const e=this._control.getBoundingClientRect();return{x:e.left+e.width+1,y:e.top-6}},this._handleClickArrow=()=>{var e,t;null===(t=(e=this.props).onArrowClick)||void 0===t||t.call(e),this._toggleDropdown()},this._handleTouchStart=()=>{this.props.onClickButton&&this.props.onClickButton(),this._toggleDropdown()},this._handlePressStart=()=>{if(c.mobiletouch&&!this.props.checkable)!this._longPressDelay&&this.props.onClickButton&&this.props.onClickButton();else{if(this._doubleClickDelay)return clearTimeout(this._doubleClickDelay),delete this._doubleClickDelay,void this._toggleDropdown(!0);this._doubleClickDelay=setTimeout(()=>{delete this._doubleClickDelay,!this._longPressDelay&&this.props.onClickButton&&this.props.onClickButton()},175)}this._longPressDelay=setTimeout(()=>{delete this._longPressDelay,this._toggleDropdown(!0)},300)},this._cancelAllTimeouts=()=>{clearTimeout(this._longPressDelay), -delete this._longPressDelay,clearTimeout(this._doubleClickDelay),delete this._doubleClickDelay},this._handleTouchPressEnd=e=>{e.cancelable&&e.preventDefault(),this._handlePressEnd()},this._handlePressEnd=()=>{this._longPressDelay&&(clearTimeout(this._longPressDelay),delete this._longPressDelay,this.state.isOpened?this._toggleDropdown(!1):this.props.checkable||this.state.isOpened||c.mobiletouch||!this.props.isActive&&!this.props.openDropdownByClick?!this._doubleClickDelay&&this.props.onClickButton&&this.props.onClickButton():this._toggleDropdown(!0))},this.state={isOpened:!1}}render(){const{buttonActiveClass:e,buttonClass:t,buttonIcon:o,buttonTitle:n,buttonHotKey:s,dropdownTooltip:a,children:r,isActive:d,isGrayed:h,onClickWhenGrayed:u,checkable:m,isSmallTablet:p}=this.props,{isOpened:g}=this.state,b=(0,V.filterDataProps)(this.props);return i.createElement("div",{className:l(G.dropdown,{[G.isGrayed]:h,[G.isActive]:d,[G.isOpened]:g}),onClick:h?u:void 0},i.createElement("div",{...b,ref:e=>this._control=e,className:G.control},i.createElement("div",{...this._getButtonHandlers(),className:l(G.buttonWrap,{"apply-common-tooltip common-tooltip-vertical":Boolean(n||s)}),"data-tooltip-hotkey":s,"data-tooltip-delay":1500,"data-role":"button",title:n},i.createElement(I.ToolButton,{activeClass:e,className:t,icon:o,isActive:d,isGrayed:h,isTransparent:!m})),!h&&!c.mobiletouch&&i.createElement("div",{className:l(G.arrow,a&&"apply-common-tooltip common-tooltip-vertical"),title:a,onClick:this._handleClickArrow,"data-role":"menu-handle"},i.createElement(S.Icon,{className:G.arrowIcon,icon:W}))),!h&&(p?g&&i.createElement(O.Drawer,{onClose:this._handleClose,position:"Bottom"},r):i.createElement(x.PopupMenu,{doNotCloseOn:this,isOpened:g,onClose:this._handleClose,position:this._getDropdownPosition},r)))}_getButtonHandlers(){const{isGrayed:e,checkable:t}=this.props;return e?{}:c.mobiletouch?t?{onTouchStart:this._handlePressStart,onTouchEnd:this._handleTouchPressEnd,onTouchMove:this._cancelAllTimeouts}:{onClick:this._handleTouchStart}:{onMouseDown:this._handlePressStart,onMouseUp:this._handlePressEnd}}}var H=o(51613),U=o(88234);class z extends i.Component{constructor(e){super(e),this._renderItem=(e,t)=>{const{isSmallTablet:o}=this.props,n=l(U.item,o&&U.smallTablet,t&&o&&this.state.isActive&&e===this.state.current&&U.active);return i.createElement("div",{className:n,key:e,onClick:()=>{this._handleSelect(e),(0,N.globalCloseMenu)()}},String.fromCharCode(e))},this._onChangeDrawingStateTool=()=>{this.setState({isActive:this._isActive()})},this._onChangeDrawingStateIcon=()=>{const e=u.iconTool.value();let{recents:t}=this.state;const o=t.indexOf(e);-1!==o&&t.splice(o,1),t=[e,...t.slice(0,9)],(0,d.setJSON)("linetoolicon.recenticons",t),this.setState({current:e,recents:t})},this._handleSelect=e=>{u.iconTool.setValue(e),u.tool.setValue("LineToolIcon")},this.state={current:(0,P.defaults)("linetoolicon").icon,recents:(0,d.getJSON)("linetoolicon.recenticons")||[],isActive:this._isActive()}}componentDidMount(){ -u.tool.subscribe(this._onChangeDrawingStateTool),u.iconTool.subscribe(this._onChangeDrawingStateIcon),d.onSync.subscribe(this,this._onSyncSettings)}componentWillUnmount(){u.tool.unsubscribe(this._onChangeDrawingStateTool),u.iconTool.unsubscribe(this._onChangeDrawingStateIcon),d.onSync.unsubscribe(this,this._onSyncSettings)}render(){const{isSmallTablet:e,isMobileWrap:t}=this.props,{recents:o}=this.state,n=l(U.wrap,e&&U.smallTablet,t&&U.mobileWrap);return i.createElement(i.Fragment,null,o&&i.createElement(i.Fragment,null,e&&i.createElement("div",{className:U.title},(0,a.t)("Recently used")),i.createElement("div",{className:n},o.map(e=>this._renderItem(e,!0))),i.createElement(H.PopupMenuSeparator,{className:l(e&&U.separator)})),i.createElement("div",{key:"all",className:n},F.map(e=>this._renderItem(e))))}_isActive(){var e;return u.tool.value()===(null!==(e=this.props.toolName)&&void 0!==e?e:"LineToolIcon")}_onSyncSettings(){this.setState({recents:(0,d.getJSON)("linetoolicon.recenticons")})}}var j=o(48214);const q={icon:(0,a.t)("Icon"),dropdownTooltip:(0,a.t)("Icons")};class J extends i.Component{constructor(e){super(e),this._onChangeDrawingStateTool=()=>{this.setState({isActive:this._isActive()})},this._onChangeDrawingStateIcon=()=>{const e=u.iconTool.value();this.setState({current:e})},this._handleSelect=e=>{u.iconTool.setValue(e),u.tool.setValue("LineToolIcon")},this._handleClick=()=>{const{current:e}=this.state;this._handleSelect(e||F[0]),this._trackClick()},this._handleArrowClick=()=>{this._trackClick("menu")},this.state={current:(0,P.defaults)("linetoolicon").icon,isActive:this._isActive()}}componentDidMount(){u.tool.subscribe(this._onChangeDrawingStateTool),u.iconTool.subscribe(this._onChangeDrawingStateIcon)}componentWillUnmount(){u.tool.unsubscribe(this._onChangeDrawingStateTool),u.iconTool.unsubscribe(this._onChangeDrawingStateIcon)}render(){const{isGrayed:e,toolName:t,isSmallTablet:o}=this.props,{current:n,isActive:s}=this.state,a=(0,V.filterDataProps)(this.props);return i.createElement(R,{buttonClass:j.button,buttonIcon:i.createElement("div",{className:j.buttonIcon},String.fromCharCode(n||F[0])),buttonTitle:q.icon,dropdownTooltip:q.dropdownTooltip,isActive:s,isGrayed:e,isSmallTablet:o,onClickButton:this._handleClick,onClickWhenGrayed:()=>(0,p.emit)("onGrayedObjectClicked",{type:"drawing",name:T.lineToolsInfo[t].localizedName}),onArrowClick:this._handleArrowClick,...a},i.createElement(z,{isSmallTablet:o,toolName:t}))}_isActive(){return u.tool.value()===this.props.toolName}_trackClick(e){0}}var K=o(88564);class X extends i.PureComponent{constructor(e){super(e),this._handleClick=()=>{this.props.saveDefaultOnChange&&(0,K.saveDefaultProperties)(!0);const e=!this.props.property.value();this.props.property.setValue(e),this.props.saveDefaultOnChange&&(0,K.saveDefaultProperties)(!1),this.props.onClick&&this.props.onClick(e)},this.state={isActive:this.props.property.value()}}componentDidMount(){this.props.property.subscribe(this,this._onChange)}componentWillUnmount(){this.props.property.unsubscribe(this,this._onChange) -}render(){const{toolName:e}=this.props,{isActive:t}=this.state,o=T.lineToolsInfo[e];return i.createElement(I.ToolButton,{icon:t&&o.iconActive?o.iconActive:o.icon,isActive:t,onClick:this._handleClick,title:o.localizedName,buttonHotKey:o.hotKey,"data-name":e})}_onChange(e){this.setState({isActive:e.value()})}}class Y extends i.PureComponent{constructor(e){super(e),this._handleClick=()=>{var e,t;u.tool.setValue(this.props.toolName),null===(t=(e=this.props).onClick)||void 0===t||t.call(e)},this._onChange=()=>{this.setState({isActive:u.tool.value()===this.props.toolName})},this.state={isActive:u.tool.value()===this.props.toolName}}componentDidMount(){u.tool.subscribe(this._onChange)}componentWillUnmount(){u.tool.unsubscribe(this._onChange)}render(){const{toolName:e}=this.props,{isActive:t}=this.state,o=T.lineToolsInfo[e];return i.createElement(I.ToolButton,{icon:T.lineToolsInfo[e].icon,isActive:t,isTransparent:!0,onClick:this._handleClick,title:o.localizedName,buttonHotKey:o.hotKey,"data-name":e})}}class Z extends i.PureComponent{constructor(e){super(e),this._boundUndoModel=null,this._handleClick=()=>{const e=this._activeChartWidget();e.hasModel()&&e.model().zoomFromViewport()},this._syncUnzoomButton=()=>{const e=this._activeChartWidget();let t=!1;if(e.hasModel()){const o=e.model();this._boundUndoModel!==o&&(this._boundUndoModel&&this._boundUndoModel.zoomStack().onChange().unsubscribe(null,this._syncUnzoomButton),o.zoomStack().onChange().subscribe(null,this._syncUnzoomButton),this._boundUndoModel=o),t=!o.zoomStack().isEmpty()}else e.withModel(null,this._syncUnzoomButton);this.setState({isVisible:t})},this.state={isVisible:!1}}componentDidMount(){this.props.chartWidgetCollection.activeChartWidget.subscribe(this._syncUnzoomButton,{callWithLast:!0})}componentWillUnmount(){this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._syncUnzoomButton)}render(){return this.state.isVisible?i.createElement(B,{action:this._handleClick,isTransparent:!0,toolName:"zoom-out"}):i.createElement("div",null)}_activeChartWidget(){return this.props.chartWidgetCollection.activeChartWidget.value()}}var Q=o(89377),$=o(36189),ee=o(16396),te=o(81332);class oe extends i.PureComponent{constructor(e){super(e),this._onChangeDrawingState=()=>{const e=this._getActiveToolIndex();this.setState({current:-1!==e?e:this.state.current,isActive:-1!==e})},this._handleClickButton=()=>{if(this._trackClick(),v.CheckMobile.any())return;const e=this._getCurrentToolName();this._selectTool(e)},this._handleClickItem=e=>{this._selectTool(e)},this._handleGrayedClick=e=>{(0,p.emit)("onGrayedObjectClicked",{type:"drawing",name:T.lineToolsInfo[e].localizedName})},this._handleClickFavorite=e=>{this.state.favState&&this.state.favState[e]?Q.LinetoolsFavoritesStore.removeFavorite(e):Q.LinetoolsFavoritesStore.addFavorite(e)},this._onAddFavorite=e=>{this.setState({favState:{...this.state.favState,[e]:!0}})},this._onRemoveFavorite=e=>{this.setState({favState:{...this.state.favState,[e]:!1}})},this._onSyncFavorites=()=>{this.setState({favState:this._composeFavState()})}, -this._handleArrowClick=()=>{this._trackClick("menu")},this._trackClick=e=>{const{trackLabel:t}=this.props};const t=this._getActiveToolIndex();this.state={current:-1===t?this._firstNonGrayedTool():t,favState:this._composeFavState(),isActive:-1!==t}}componentDidMount(){u.tool.subscribe(this._onChangeDrawingState),Q.LinetoolsFavoritesStore.favoriteAdded.subscribe(null,this._onAddFavorite),Q.LinetoolsFavoritesStore.favoriteRemoved.subscribe(null,this._onRemoveFavorite),Q.LinetoolsFavoritesStore.favoritesSynced.subscribe(null,this._onSyncFavorites)}componentWillUnmount(){u.tool.unsubscribe(this._onChangeDrawingState),Q.LinetoolsFavoritesStore.favoriteAdded.unsubscribe(null,this._onAddFavorite),Q.LinetoolsFavoritesStore.favoriteRemoved.unsubscribe(null,this._onRemoveFavorite),Q.LinetoolsFavoritesStore.favoritesSynced.unsubscribe(null,this._onSyncFavorites)}componentDidUpdate(e,t){e.lineTools!==this.props.lineTools&&this.setState({favState:this._composeFavState()})}render(){const{favoriting:e,grayedTools:t,lineTools:o,dropdownTooltip:n,isSmallTablet:s}=this.props,{current:a,favState:l,isActive:r}=this.state,c=this._getCurrentToolName(),d=T.lineToolsInfo[c],h=this._showShortcuts(),u=(0,V.filterDataProps)(this.props);return i.createElement("span",null,i.createElement(R,{buttonIcon:d.icon,buttonTitle:d.localizedName,buttonHotKey:d.hotKey,dropdownTooltip:n,isActive:r,onClickButton:this._handleClickButton,onArrowClick:this._handleArrowClick,isSmallTablet:s,...u},o.map((o,n)=>{const c=o.name,d=T.lineToolsInfo[c],u=t[c];return i.createElement(ee.PopupMenuItem,{key:c,"data-name":o.name,theme:s?te.multilineLabelWithIconAndToolboxTheme:void 0,dontClosePopup:u,forceShowShortcuts:h,shortcut:!s&&o.hotkeyHash?(0,C.humanReadableHash)(o.hotkeyHash):void 0,icon:d.icon,isActive:r&&a===n,appearAsDisabled:u,label:d.localizedName,onClick:u?this._handleGrayedClick:this._handleClickItem,onClickArg:c,showToolboxOnHover:!l[c],toolbox:e&&!u?i.createElement($.FavoriteButton,{isActive:r&&a===n,isFilled:l[c],onClick:()=>this._handleClickFavorite(c)}):void 0})})))}_getCurrentToolName(){const{current:e}=this.state,{lineTools:t}=this.props;return t[e||0].name}_firstNonGrayedTool(){const{grayedTools:e,lineTools:t}=this.props;return t.findIndex(t=>!e[t.name])}_getActiveToolIndex(){return this.props.lineTools.findIndex(e=>e.name===u.tool.value())}_showShortcuts(){return this.props.lineTools.some(e=>"shortcut"in e)}_selectTool(e){u.tool.setValue(e)}_composeFavState(){const e={};return this.props.lineTools.forEach(t=>{e[t.name]=Q.LinetoolsFavoritesStore.isFavorite(t.name)}),e}}var ie=o(51768),ne=o(40173),se=o(83860);const ae=(0,ne.mergeThemes)(ee.DEFAULT_POPUP_MENU_ITEM_THEME,se),le={all:(0,a.t)("Remove Drawings & Indicators"),drawings:(0,a.t)("Remove Drawings"),studies:(0,a.t)("Remove Indicators")};class re extends i.PureComponent{constructor(){super(...arguments),this._handleRemoveToolClick=()=>{c.mobiletouch||this._handleRemoveDrawings(),de()},this._handleRemoveDrawings=()=>{ce("remove drawing"), -this.props.chartWidgetCollection.activeChartWidget.value().removeAllDrawingTools()},this._handleRemoveStudies=()=>{ce("remove indicator"),this.props.chartWidgetCollection.activeChartWidget.value().removeAllStudies()},this._handleRemoveAll=()=>{ce("remove all"),this.props.chartWidgetCollection.activeChartWidget.value().removeAllStudiesDrawingTools()}}render(){const e=this.props.isSmallTablet?ae:void 0;return i.createElement(R,{buttonIcon:T.lineToolsInfo[this.props.toolName].icon,buttonTitle:le.drawings,onClickButton:this._handleRemoveToolClick,isSmallTablet:this.props.isSmallTablet,"data-name":this.props.toolName,onArrowClick:this._handleArrowClick,openDropdownByClick:!1},i.createElement(ee.PopupMenuItem,{"data-name":"remove-drawing-tools",label:le.drawings,onClick:this._handleRemoveDrawings,theme:e}),i.createElement(ee.PopupMenuItem,{"data-name":"remove-studies",label:le.studies,onClick:this._handleRemoveStudies,theme:e}),i.createElement(ee.PopupMenuItem,{"data-name":"remove-all",label:le.all,onClick:this._handleRemoveAll,theme:e}))}_handleArrowClick(){de("menu")}}function ce(e){(0,ie.trackEvent)("GUI","Chart Left Toolbar",e)}function de(e){0}var he=o(10458),ue=o(90995),me=o(14881);const pe=i.createContext({hideMode:"drawings",isActive:!1});function ge(e){const{hideMode:t,option:{label:o,dataName:n,getBoxedValue:s},isSmallTablet:a,onClick:l}=e,{hideMode:r,isActive:c}=(0,i.useContext)(pe),d=null==s?void 0:s();return"all"===t||d?i.createElement(ee.PopupMenuItem,{label:o,isActive:r===t&&c,onClick:function(){l(t,(0,ue.toggleHideMode)(t))},"data-name":n,theme:a?ae:void 0}):i.createElement(i.Fragment,null)}const be={drawings:{active:he.drawingToolsIcons.hideAllDrawingToolsActive,inactive:he.drawingToolsIcons.hideAllDrawingTools},indicators:{active:he.drawingToolsIcons.hideAllIndicatorsActive,inactive:he.drawingToolsIcons.hideAllIndicators},positions:{active:he.drawingToolsIcons.hideAllPositionsToolsActive,inactive:he.drawingToolsIcons.hideAllPositionsTools},all:{active:he.drawingToolsIcons.hideAllDrawingsActive,inactive:he.drawingToolsIcons.hideAllDrawings}};function ve(e){const{isSmallTablet:t}=e,[{isActive:o,hideMode:n},a]=(0,i.useState)(()=>({isActive:!1,hideMode:(0,ue.getSavedHideMode)()}));(0,i.useEffect)(()=>(me.hideStateChange.subscribe(null,a),()=>{me.hideStateChange.unsubscribe(null,a)}),[]);const l=T.lineToolsInfo.hideAllDrawings,{trackLabel:r,tooltip:c,dataName:d}=(0,s.ensureDefined)((0,ue.getHideOptions)().get(n)),h=be[n][o?"active":"inactive"],u=o?c.active:c.inactive;return i.createElement(R,{buttonIcon:h,buttonTitle:u,buttonHotKey:l.hotKey,onClickButton:function(){(0,ue.toggleHideMode)(n),Te(r,!o),_e(o?"on":"off")},isSmallTablet:t,isActive:o,checkable:!0,"data-name":"hide-all","data-type":d,onArrowClick:function(){_e("menu")}},i.createElement(pe.Provider,{value:{isActive:o,hideMode:n}},Array.from((0,ue.getHideOptions)()).map(([e,o])=>i.createElement(ge,{key:e,hideMode:e,option:o,isSmallTablet:t,onClick:m}))));function m(e,t){Te((0,s.ensureDefined)((0,ue.getHideOptions)().get(e)).trackLabel,t)}} -function Te(e,t){(0,ie.trackEvent)("GUI","Chart Left Toolbar",`${e} ${t?"on":"off"}`)}function _e(e){0}var Ce=o(12409),we=o(31330);const ke=(0,a.t)("Show Favorite Drawing Tools Toolbar");class fe extends i.PureComponent{constructor(){super(...arguments),this._instance=null,this._promise=null,this._bindedForceUpdate=()=>this.forceUpdate(),this._handleClick=()=>{null!==this._instance&&(this._instance.isVisible()?(this._instance.hide(),this._trackClick(!1)):(this._instance.show(),this._trackClick(!0)))}}componentDidMount(){const e=this._promise=(0,s.ensureNotNull)((0,Ce.getFavoriteDrawingToolbarPromise)());e.then(t=>{this._promise===e&&(this._instance=t,this._instance.canBeShown().subscribe(this._bindedForceUpdate),this._instance.visibility().subscribe(this._bindedForceUpdate),this.forceUpdate())})}componentWillUnmount(){this._promise=null,null!==this._instance&&(this._instance.canBeShown().unsubscribe(this._bindedForceUpdate),this._instance.visibility().unsubscribe(this._bindedForceUpdate),this._instance=null)}render(){return null!==this._instance&&this._instance.canBeShown().value()?i.createElement(I.ToolButton,{id:this.props.id,icon:we,isActive:this._instance.isVisible(),onClick:this._handleClick,title:ke}):null}_trackClick(e){0}}var Se,Ee=o(90373);!function(e){e.Screenshot="drawing-toolbar-screenshot",e.FavoriteDrawings="drawing-toolbar-favorite-drawings",e.ObjectTree="drawing-toolbar-object-tree"}(Se||(Se={}));var ye=o(70412),Me=o(54475),De=o(45216),Le=o(29197),Ae=o(61226);const Ne=Ae,Ie="http://www.w3.org/2000/svg";function Be(e){const{direction:t,theme:o=Ae}=e;return i.createElement("svg",{xmlns:Ie,width:"9",height:"27",viewBox:"0 0 9 27",className:l(o.container,"right"===t?o.mirror:null),onContextMenu:Me.preventDefault},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{className:o.background,d:"M4.5.5a4 4 0 0 1 4 4v18a4 4 0 1 1-8 0v-18a4 4 0 0 1 4-4z"}),i.createElement("path",{className:o.arrow,d:"M5.5 10l-2 3.5 2 3.5"})))}var Pe=o(84006);const Fe=(0,ne.mergeThemes)(Ne,Pe),xe={hide:(0,a.t)("Hide Drawings Toolbar"),show:(0,a.t)("Show Drawings Toolbar")};class Ve extends i.PureComponent{constructor(){super(...arguments),this._toggleVisibility=()=>{k.isDrawingToolbarVisible.setValue(!k.isDrawingToolbarVisible.value())}}render(){const{toolbarVisible:e,"data-name":t}=this.props;return i.createElement("div",{className:l(Fe.toggleButton,"apply-common-tooltip common-tooltip-vertical",!e&&Fe.collapsed),onClick:this._toggleVisibility,title:e?xe.hide:xe.show,"data-name":t,"data-value":e?"visible":"collapsed"},i.createElement(Be,{direction:e?"left":"right",theme:e?void 0:Fe}))}}var Oe=o(37558),We=o(24437),Ge=o(90692);const Re={chartWidgetCollection:o(19036).any.isRequired};var He=o(55402),Ue=o(85494);const ze=h.enabled("right_toolbar"),je=h.enabled("keep_object_tree_widget_in_right_toolbar"),qe={weakMagnet:(0,a.t)("Weak Magnet"),strongMagnet:(0,a.t)("Strong Magnet")},Je=(0,v.onWidget)(),Ke=new(b()),Xe=ie.trackEvent.bind(null,"GUI","Chart Left Toolbar"),Ye=(e,t)=>Xe(`${e} ${t?"on":"off"}`) -;function Ze(){const e=!u.properties().childs().magnet.value();Ye("magnet mode",e),ot("magnet mode",e?"on":"off"),(0,m.setIsMagnetEnabled)(e)}function Qe(){(0,ie.trackEvent)("GUI","Magnet mode","Weak"),(0,m.setMagnetMode)(Ee.MagnetMode.WeakMagnet)}function $e(){(0,ie.trackEvent)("GUI","Magnet mode","Strong"),(0,m.setMagnetMode)(Ee.MagnetMode.StrongMagnet)}function et(){ot("magnet mode","menu")}class tt extends i.PureComponent{constructor(e){var t;super(e),this._grayedTools={},this._handleMeasureClick=()=>{ot("measure")},this._handleZoomInClick=()=>{ot("zoom in")},this._handleDrawingClick=e=>{Ye("drawing mode",e),ot("drawing mode",e?"on":"off")},this._handleLockClick=e=>{Ye("lock all drawing",e),ot("lock",e?"on":"off")},this._handleSyncClick=e=>{Ye("sync",e),ot("sync",e?"on":"off")},this._handleObjectsTreeClick=()=>{this._activeChartWidget().showObjectsTreeDialog(),ot("object tree")},this._handleMouseOver=e=>{(0,ye.hoverMouseEventFilter)(e)&&this.setState({isHovered:!0})},this._handleMouseOut=e=>{(0,ye.hoverMouseEventFilter)(e)&&this.setState({isHovered:!1})},this._handleChangeVisibility=e=>{this.setState({isVisible:e})},this._handleEsc=()=>{u.resetToCursor(!0)},this._updateMagnetEnabled=()=>{const e={magnet:(0,m.magnetEnabled)().value()};this.setState(e)},this._updateMagnetMode=()=>{const e={magnetMode:(0,m.magnetMode)().value()};this.setState(e)},this._handleWidgetbarSettled=e=>{var t;this.setState({isWidgetbarVisible:Boolean(null===(t=window.widgetbar)||void 0===t?void 0:t.visible().value()),widgetbarSettled:e})},this._handleWidgetbarVisible=e=>{this.setState({isWidgetbarVisible:e})},u.init(),this._toolsFilter=new _(this.props.drawingsAccess),this._filteredLineTools=w.map(e=>({id:e.id,title:e.title,items:e.items.filter(e=>this._toolsFilter.isToolEnabled(T.lineToolsInfo[e.name].localizedName)),trackLabel:e.trackLabel})).filter(e=>0!==e.items.length),this._filteredLineTools.forEach(e=>e.items.forEach(e=>{this._grayedTools[e.name]=this._toolsFilter.isToolGrayed(T.lineToolsInfo[e.name].localizedName)})),this.state={isHovered:!1,isVisible:k.isDrawingToolbarVisible.value(),isWidgetbarVisible:Boolean(null===(t=window.widgetbar)||void 0===t?void 0:t.visible().value()),widgetbarSettled:void 0!==window.widgetbar,magnet:u.properties().childs().magnet.value(),magnetMode:u.properties().childs().magnetMode.value()},this._features={favoriting:!Je&&h.enabled("items_favoriting"),multicharts:h.enabled("support_multicharts"),tools:!Je||h.enabled("charting_library_base")},this._registry={chartWidgetCollection:this.props.chartWidgetCollection},this._negotiateResizer()}componentDidMount(){var e;k.isDrawingToolbarVisible.subscribe(this._handleChangeVisibility),N.globalCloseDelegate.subscribe(this,this._handleGlobalClose),(0,m.magnetEnabled)().subscribe(this._updateMagnetEnabled),(0,m.magnetMode)().subscribe(this._updateMagnetMode),this._tool=u.tool.spawn(),this._tool.subscribe(this._updateHotkeys.bind(this)),this._initHotkeys(),this.props.widgetbarSettled&&(this.props.widgetbarSettled.subscribe(this,this._handleWidgetbarSettled), -v.CheckMobile.any()&&(null===(e=window.widgetbar)||void 0===e||e.visible().subscribe(this._handleWidgetbarVisible)))}componentWillUnmount(){var e;null===(e=window.widgetbar)||void 0===e||e.visible().unsubscribe(this._handleWidgetbarVisible),k.isDrawingToolbarVisible.unsubscribe(this._handleChangeVisibility),N.globalCloseDelegate.unsubscribe(this,this._handleGlobalClose),(0,m.magnetEnabled)().unsubscribe(this._updateMagnetEnabled),(0,m.magnetMode)().unsubscribe(this._updateMagnetMode),this._tool.destroy(),this._hotkeys.destroy()}componentDidUpdate(e,t){var o;const{isVisible:i,widgetbarSettled:n}=this.state;i!==t.isVisible&&(p.emit("toggle_sidebar",!i),d.setValue("ChartDrawingToolbarWidget.visible",i),this._negotiateResizer()),t.widgetbarSettled!==n&&n&&v.CheckMobile.any()&&(null===(o=window.widgetbar)||void 0===o||o.visible().subscribe(this._handleWidgetbarVisible))}render(){const{bgColor:e,chartWidgetCollection:t,readOnly:o}=this.props,{isHovered:n,isVisible:s,magnet:a,magnetMode:r}=this.state,d={backgroundColor:e&&"#"+e};let m;m=i.createElement(Ve,{toolbarVisible:s,"data-name":"toolbar-drawing-toggle-button"});const p=()=>!!this._features.tools&&!(!h.enabled("show_object_tree")||je&&!ze);return i.createElement(He.RegistryProvider,{validation:Re,value:this._registry},i.createElement(Le.CloseDelegateContext.Provider,{value:Ke},i.createElement(Oe.DrawerManager,null,i.createElement(Ge.MatchMedia,{rule:We.DialogBreakpoints.TabletSmall},e=>i.createElement("div",{id:"drawing-toolbar",className:l(Ue.drawingToolbar,{[Ue.isHidden]:!s}),style:d,onClick:this.props.onClick,onContextMenu:Me.preventDefaultForContextMenu},i.createElement(L,{onScroll:this._handleGlobalClose,isVisibleFade:c.mobiletouch,isVisibleButtons:!c.mobiletouch&&n,isVisibleScrollbar:!1,onMouseOver:this._handleMouseOver,onMouseOut:this._handleMouseOut},i.createElement("div",{className:Ue.inner},!o&&i.createElement("div",{className:Ue.group,style:d},this._filteredLineTools.map((o,n)=>i.createElement(oe,{"data-name":o.id,chartWidgetCollection:t,favoriting:this._features.favoriting,grayedTools:this._grayedTools,key:n,dropdownTooltip:o.title,lineTools:o.items,isSmallTablet:e,trackLabel:o.trackLabel})),this._toolsFilter.isToolEnabled("Font Icons")&&i.createElement(J,{"data-name":"linetool-group-font-icons",isGrayed:this._grayedTools["Font Icons"],toolName:"LineToolIcon",isSmallTablet:e})),!o&&i.createElement("div",{className:Ue.group,style:d},i.createElement(Y,{toolName:"measure",onClick:this._handleMeasureClick}),i.createElement(Y,{toolName:"zoom",onClick:this._handleZoomInClick}),i.createElement(Z,{chartWidgetCollection:t})),!o&&i.createElement("div",{className:Ue.group,style:d},i.createElement(R,{"data-name":"magnet-button",buttonIcon:r===Ee.MagnetMode.StrongMagnet?he.drawingToolsIcons.strongMagnet:he.drawingToolsIcons.magnet,buttonTitle:T.lineToolsInfo.magnet.localizedName,isActive:a,onClickButton:Ze,buttonHotKey:T.lineToolsInfo.magnet.hotKey,checkable:!0,isSmallTablet:e,onArrowClick:et},i.createElement(ee.PopupMenuItem,{key:"weakMagnet", -className:e?Ue.popupMenuItem:void 0,"data-name":"weakMagnet",icon:he.drawingToolsIcons.magnet,isActive:a&&r!==Ee.MagnetMode.StrongMagnet,label:qe.weakMagnet,onClick:Qe}),i.createElement(ee.PopupMenuItem,{key:"strongMagnet",className:e?Ue.popupMenuItem:void 0,"data-name":"strongMagnet",icon:he.drawingToolsIcons.strongMagnet,isActive:a&&r===Ee.MagnetMode.StrongMagnet,label:qe.strongMagnet,onClick:$e})),this._features.tools&&i.createElement(X,{property:u.properties().childs().stayInDrawingMode,saveDefaultOnChange:!0,toolName:"drawginmode",onClick:this._handleDrawingClick}),this._features.tools&&i.createElement(X,{property:u.lockDrawings(),toolName:"lockAllDrawings",onClick:this._handleLockClick}),this._features.tools&&i.createElement(ve,{isSmallTablet:e}),!1),!o&&this._features.tools&&i.createElement("div",{className:Ue.group,style:d},i.createElement(re,{chartWidgetCollection:t,isSmallTablet:e,toolName:"removeAllDrawingTools"})),i.createElement("div",{className:Ue.fill,style:d}),!o&&(this._features.tools||!1)&&i.createElement("div",{className:l(Ue.group,Ue.lastGroup),style:d},!1,this._features.tools&&this._features.favoriting&&i.createElement(fe,{id:Se.FavoriteDrawings}),p()&&i.createElement(B,{id:Se.ObjectTree,action:this._handleObjectsTreeClick,toolName:"showObjectsTree"})))),m)))))}_activeChartWidget(){return this.props.chartWidgetCollection.activeChartWidget.value()}_negotiateResizer(){const e=De.TOOLBAR_WIDTH_COLLAPSED;this.props.resizerBridge.negotiateWidth(this.state.isVisible?De.TOOLBAR_WIDTH_EXPANDED:e)}_handleGlobalClose(){Ke.fire()}_updateHotkeys(){this._hotkeys.promote()}_initHotkeys(){this._hotkeys=A.createGroup({desc:"Drawing Toolbar"}),this._hotkeys.add({desc:"Reset",hotkey:27,handler:()=>this._handleEsc(),isDisabled:()=>u.toolIsCursor(u.tool.value())})}}function ot(e,t){0}class it{constructor(e,t){this._component=null,this._handleRef=e=>{this._component=e},this._container=e,n.render(i.createElement(tt,{...t,ref:this._handleRef}),this._container)}destroy(){n.unmountComponentAtNode(this._container)}getComponent(){return(0,s.ensureNotNull)(this._component)}}},55402:(e,t,o)=>{"use strict";o.d(t,{validateRegistry:()=>l,RegistryProvider:()=>r,registryContextType:()=>c});var i=o(59496),n=o(19036),s=o.n(n);const a=i.createContext({});function l(e,t){s().checkPropTypes(t,e,"context","RegistryContext")}function r(e){const{validation:t,value:o}=e;return l(o,t),i.createElement(a.Provider,{value:o},e.children)}function c(){return a}},39640:(e,t,o)=>{"use strict";function i(e,t,o,i,n){function s(n){if(e>n.timeStamp)return;const s=n.target;void 0!==o&&null!==t&&null!==s&&s.ownerDocument===i&&(t.contains(s)||o(n))}return n.click&&i.addEventListener("click",s,!1),n.mouseDown&&i.addEventListener("mousedown",s,!1),n.touchEnd&&i.addEventListener("touchend",s,!1),n.touchStart&&i.addEventListener("touchstart",s,!1),()=>{i.removeEventListener("click",s,!1),i.removeEventListener("mousedown",s,!1),i.removeEventListener("touchend",s,!1),i.removeEventListener("touchstart",s,!1)}}o.d(t,{addOutsideEventListener:()=>i})}, -37558:(e,t,o)=>{"use strict";o.d(t,{DrawerManager:()=>n,DrawerContext:()=>s});var i=o(59496);class n extends i.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 i.createElement(s.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const s=i.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>m});var i=o(59496),n=o(88537),s=o(97754),a=o(59142),l=o(99054),r=o(65718),c=o(37558),d=o(49483),h=o(29197),u=o(66998);function m(e){const{position:t="Bottom",onClose:o,children:m,className:p,theme:g=u}=e,b=(0,n.ensureNotNull)((0,i.useContext)(c.DrawerContext)),[v,T]=(0,i.useState)(0),_=(0,i.useRef)(null),C=(0,i.useContext)(h.CloseDelegateContext);return(0,i.useEffect)(()=>{const e=(0,n.ensureNotNull)(_.current);return e.focus({preventScroll:!0}),C.subscribe(b,o),0===b.currentDrawer&&(0,l.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,a.disableBodyScroll)(e),T(b.addDrawer()),()=>{C.unsubscribe(b,o);const t=b.removeDrawer();d.CheckMobile.iOS()&&(0,a.enableBodyScroll)(e),0===t&&(0,l.setFixedBodyState)(!1)}},[]),i.createElement(r.Portal,null,i.createElement("div",{className:s(u.wrap,u["position"+t])},v===b.currentDrawer&&i.createElement("div",{className:u.backdrop,onClick:o}),i.createElement("div",{className:s(u.drawer,g.drawer,u["position"+t],p),ref:_,tabIndex:-1,"data-name":e["data-name"]},m)))}},70412:(e,t,o)=>{"use strict";o.d(t,{hoverMouseEventFilter:()=>s,useAccurateHover:()=>a,useHover:()=>n});var i=o(59496);function n(){const[e,t]=(0,i.useState)(!1);return[e,{onMouseOver:function(e){s(e)&&t(!0)},onMouseOut:function(e){s(e)&&t(!1)}}]}function s(e){return!e.currentTarget.contains(e.relatedTarget)}function a(e){const[t,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{const t=t=>{if(null===e.current)return;const i=e.current.contains(t.target);o(i)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>u});var i=o(59496),n=o(97754),s=o(59064),a=o(51768),l=o(90186),r=o(23576);const c=r;function d(e){const{reference:t,...o}=e,n={...o,ref:t};return i.createElement(e.href?"a":"div",n)}function h(e){e.stopPropagation()}function u(e){const{id:t,role:o,"aria-selected":c,className:u,title:m,labelRowClassName:p,labelClassName:g,shortcut:b,forceShowShortcuts:v,icon:T,isActive:_,isDisabled:C,isHovered:w,appearAsDisabled:k,label:f,link:S,showToolboxOnHover:E,target:y,rel:M,toolbox:D,reference:L,onMouseOut:A,onMouseOver:N,suppressToolboxClick:I=!0,theme:B=r}=e,P=(0,l.filterDataProps)(e),F=(0,i.useRef)(null);return i.createElement(d,{...P,id:t,role:o,"aria-selected":c,className:n(u,B.item,T&&B.withIcon,{[B.isActive]:_,[B.isDisabled]:C||k,[B.hovered]:w}),title:m,href:S, -target:y,rel:M,reference:function(e){F.current=e,"function"==typeof L&&L(e);"object"==typeof L&&(L.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:i,onClickArg:n,trackEventObject:l}=e;if(C)return;l&&(0,a.trackEvent)(l.category,l.event,l.label);i&&i(n,t);o||(0,s.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:i}=e;o&&i&&(0,a.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:i}=e;if(1===t.button&&S&&o){let e=o.label;i&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:N,onMouseOut:A},void 0!==T&&i.createElement("div",{className:B.icon,dangerouslySetInnerHTML:{__html:T}}),i.createElement("div",{className:n(B.labelRow,p)},i.createElement("div",{className:n(B.label,g)},f)),(void 0!==b||v)&&i.createElement("div",{className:B.shortcut},(x=b)&&x.split("+").join(" + ")),void 0!==D&&i.createElement("div",{onClick:I?h:void 0,className:n(B.toolbox,{[B.showOnHover]:E})},D));var x}},81332:(e,t,o)=>{"use strict";o.d(t,{multilineLabelWithIconAndToolboxTheme:()=>a});var i=o(40173),n=o(23576),s=o(63095);const a=(0,i.mergeThemes)(n,s)},51613:(e,t,o)=>{"use strict";o.d(t,{PopupMenuSeparator:()=>l});var i=o(59496),n=o(97754),s=o.n(n),a=o(524);function l(e){const{size:t="normal",className:o}=e;return i.createElement("div",{className:s()(a.separator,"small"===t&&a.small,"normal"===t&&a.normal,"large"===t&&a.large,o)})}},50628:(e,t,o)=>{"use strict";o.d(t,{PopupMenu:()=>c});var i=o(59496),n=o(87995),s=o(65718),a=o(27317),l=o(29197),r=o(58095);function c(e){const{controller:t,children:o,isOpened:c,closeOnClickOutside:d=!0,doNotCloseOn:h,onClickOutside:u,onClose:m,...p}=e,g=(0,i.useContext)(l.CloseDelegateContext),b=(0,r.useOutsideEvent)({handler:function(e){u&&u(e);if(!d)return;if(h&&e.target instanceof Node){const t=n.findDOMNode(h);if(t instanceof Node&&t.contains(e.target))return}m()},mouseDown:!0,touchStart:!0});return c?i.createElement(s.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},i.createElement("span",{ref:b,style:{pointerEvents:"auto"}},i.createElement(a.Menu,{...p,onClose:m,onScroll:function(t){const{onScroll:o}=e;o&&o(t)},customCloseDelegate:g,ref:t},o))):null}},33086:e=>{e.exports=''},31330:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/e01f83be117e562a91ac14daa904e198.svg b/charting_library/bundles/e01f83be117e562a91ac14daa904e198.svg new file mode 100644 index 00000000..d4877773 --- /dev/null +++ b/charting_library/bundles/e01f83be117e562a91ac14daa904e198.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e097b411b3e34f5a4a979cc428c289b1.svg b/charting_library/bundles/e097b411b3e34f5a4a979cc428c289b1.svg new file mode 100644 index 00000000..082e852a --- /dev/null +++ b/charting_library/bundles/e097b411b3e34f5a4a979cc428c289b1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e129b4d2d79d07ecf5b6b7c4d10b83fb.svg b/charting_library/bundles/e129b4d2d79d07ecf5b6b7c4d10b83fb.svg new file mode 100644 index 00000000..2779fd7c --- /dev/null +++ b/charting_library/bundles/e129b4d2d79d07ecf5b6b7c4d10b83fb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e16dc229d6775b39b80e8958d6095e05.svg b/charting_library/bundles/e16dc229d6775b39b80e8958d6095e05.svg new file mode 100644 index 00000000..d73bb302 --- /dev/null +++ b/charting_library/bundles/e16dc229d6775b39b80e8958d6095e05.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e2fa422bd9aedee688fb7765794fd5c2.svg b/charting_library/bundles/e2fa422bd9aedee688fb7765794fd5c2.svg new file mode 100644 index 00000000..aa4d87b0 --- /dev/null +++ b/charting_library/bundles/e2fa422bd9aedee688fb7765794fd5c2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e30c321e33a1859340a2bb6037bff515.svg b/charting_library/bundles/e30c321e33a1859340a2bb6037bff515.svg new file mode 100644 index 00000000..5e1a9b67 --- /dev/null +++ b/charting_library/bundles/e30c321e33a1859340a2bb6037bff515.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e33a72eb50fe28dc0289c2257014fc6a.svg b/charting_library/bundles/e33a72eb50fe28dc0289c2257014fc6a.svg new file mode 100644 index 00000000..f90c5d47 --- /dev/null +++ b/charting_library/bundles/e33a72eb50fe28dc0289c2257014fc6a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e40ab9cc58df416f4b384648a7af369c.svg b/charting_library/bundles/e40ab9cc58df416f4b384648a7af369c.svg new file mode 100644 index 00000000..6eebe942 --- /dev/null +++ b/charting_library/bundles/e40ab9cc58df416f4b384648a7af369c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e4bd61c262d0b67207545a967cb51d7f.svg b/charting_library/bundles/e4bd61c262d0b67207545a967cb51d7f.svg new file mode 100644 index 00000000..333802bb --- /dev/null +++ b/charting_library/bundles/e4bd61c262d0b67207545a967cb51d7f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e561e7a86e83dab817de9b4fba1be15e.svg b/charting_library/bundles/e561e7a86e83dab817de9b4fba1be15e.svg new file mode 100644 index 00000000..b904485a --- /dev/null +++ b/charting_library/bundles/e561e7a86e83dab817de9b4fba1be15e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e5dccab09e22148aa733ae7e0962f0a4.svg b/charting_library/bundles/e5dccab09e22148aa733ae7e0962f0a4.svg new file mode 100644 index 00000000..12b559fb --- /dev/null +++ b/charting_library/bundles/e5dccab09e22148aa733ae7e0962f0a4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e5f4dc26e80c421603f8b42336412643.svg b/charting_library/bundles/e5f4dc26e80c421603f8b42336412643.svg new file mode 100644 index 00000000..fe076616 --- /dev/null +++ b/charting_library/bundles/e5f4dc26e80c421603f8b42336412643.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e62b523f0ed069cf4e2afa903fece44f.svg b/charting_library/bundles/e62b523f0ed069cf4e2afa903fece44f.svg new file mode 100644 index 00000000..3ad18cc7 --- /dev/null +++ b/charting_library/bundles/e62b523f0ed069cf4e2afa903fece44f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e7b7ff011682d59763997a75104c9979.svg b/charting_library/bundles/e7b7ff011682d59763997a75104c9979.svg new file mode 100644 index 00000000..3be12496 --- /dev/null +++ b/charting_library/bundles/e7b7ff011682d59763997a75104c9979.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e7ed49ce872797c8630fd5f8446ffbee.svg b/charting_library/bundles/e7ed49ce872797c8630fd5f8446ffbee.svg new file mode 100644 index 00000000..c3cf900b --- /dev/null +++ b/charting_library/bundles/e7ed49ce872797c8630fd5f8446ffbee.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e8b18b343c3c9e2d653fc3a550de819f.svg b/charting_library/bundles/e8b18b343c3c9e2d653fc3a550de819f.svg new file mode 100644 index 00000000..de54d391 --- /dev/null +++ b/charting_library/bundles/e8b18b343c3c9e2d653fc3a550de819f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e8e5b1c68e4f95acd9322863c0b363f6.svg b/charting_library/bundles/e8e5b1c68e4f95acd9322863c0b363f6.svg new file mode 100644 index 00000000..b63db8f0 --- /dev/null +++ b/charting_library/bundles/e8e5b1c68e4f95acd9322863c0b363f6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e97d7f751ade192748c3e05a54ead255.svg b/charting_library/bundles/e97d7f751ade192748c3e05a54ead255.svg new file mode 100644 index 00000000..d319b0f6 --- /dev/null +++ b/charting_library/bundles/e97d7f751ade192748c3e05a54ead255.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/e9a1bd918b9924de48740078fc49f7c8.svg b/charting_library/bundles/e9a1bd918b9924de48740078fc49f7c8.svg new file mode 100644 index 00000000..2c6bce79 --- /dev/null +++ b/charting_library/bundles/e9a1bd918b9924de48740078fc49f7c8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ea2822078cff5228899c74ce3525125c.svg b/charting_library/bundles/ea2822078cff5228899c74ce3525125c.svg new file mode 100644 index 00000000..4b7473b7 --- /dev/null +++ b/charting_library/bundles/ea2822078cff5228899c74ce3525125c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/early-bird-banner.63639de641b064c620c2.js b/charting_library/bundles/early-bird-banner.63639de641b064c620c2.js new file mode 100644 index 00000000..ecf5f2bf --- /dev/null +++ b/charting_library/bundles/early-bird-banner.63639de641b064c620c2.js @@ -0,0 +1 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1854],{33492:e=>{e.exports={banner:"banner-EZ3DKk2H","countdown-section":"countdown-section-EZ3DKk2H","main-section":"main-section-EZ3DKk2H",title:"title-EZ3DKk2H","main-text":"main-text-EZ3DKk2H",image:"image-EZ3DKk2H"}},35301:(e,t,n)=>{"use strict";n.r(t),n.d(t,{renderEarlyBirdBanner:()=>f});var a=n(59496),r=n(87995),i=(n(94419),n(28353)),o=n(77975),c=n(45345),s=n(26843),l=n(56299),m=n(81361),u=n(73480);function d(e){const{expiration:t,discount:n,onButtonClick:r}=e,d=(0,o.useWatchedValueReadonly)({watchedValue:c.watchedTheme})===s.StdTheme.Light?m:u,f=i.t("Early bird offer"),E=i.t("Buy an annual plan before your trial expires and get up to {discount}% off").format({discount:String(n)});return a.createElement(l.OfferBanner,{expiration:t,title:f,mainTitle:E,buttonProps:{href:"/gopro/?source=profile&feature=early_bird_banner",onClick:r},imgSrc:d})}function f(e,t){r.render(a.createElement(d,{...t}),e)}},56299:(e,t,n)=>{"use strict";n.d(t,{OfferBanner:()=>l});var a=n(59496),r=n(28353),i=n(53746),o=n(82760),c=n(5437),s=n(33492);function l(e){const{expiration:t,title:n,mainTitle:l,buttonProps:m,buttonText:u=r.t("Learn more"),imgSrc:d}=e;return a.createElement("article",{className:s.banner},a.createElement("section",{className:s["main-section"]},a.createElement("h2",{className:s.title},n),a.createElement("p",{className:s["main-text"]},l),a.createElement(c.RoundAnchorButton,{className:s["cta-button"],...m},u)),a.createElement("section",{className:s["countdown-section"]},a.createElement("img",{src:d,className:s.image,role:"presentation"}),a.createElement(i.OfferCountdown,{theme:o.CountdownTheme.Profile,expiration:t,size:"m"})))}}}]); \ No newline at end of file diff --git a/charting_library/bundles/early-bird-dialog.b9daeb69416b2c6d8d50.js b/charting_library/bundles/early-bird-dialog.b9daeb69416b2c6d8d50.js new file mode 100644 index 00000000..32df2a82 --- /dev/null +++ b/charting_library/bundles/early-bird-dialog.b9daeb69416b2c6d8d50.js @@ -0,0 +1,3 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8435],{73611:(e,t,a)=>{e.exports=a.p+"4f7347b954545a7137c5b906707789e6.svg"},39392:(e,t,a)=>{e.exports=a.p+"1e193459d0a9e9fc9ef95beffa15de1c.svg"},91636:(e,t,a)=>{e.exports=a.p+"a2f98c60137c8c2eb3d3fb96c7767876.svg"},32877:(e,t,a)=>{e.exports=a.p+"b9ef74d4cc68a3ee92fc345b70753629.svg"},27744:(e,t,a)=>{e.exports=a.p+"ec773b52c3fc4ccd7a5a86a577674e84.svg"},43517:(e,t,a)=>{e.exports=a.p+"6fcde21723892d962edac0d9998528d0.svg"},34265:(e,t,a)=>{e.exports=a.p+"75af36c37801a630adf29c84bcb12855.svg"},88001:(e,t,a)=>{e.exports=a.p+"3aedcdb787ab2003b4f84578eabe8839.svg"},39017:(e,t,a)=>{e.exports=a.p+"4bd2362d901778b20ccc963f023833f6.svg"},8992:(e,t,a)=>{e.exports=a.p+"559bbd43de542185b04c719bc152c540.svg"},80213:e=>{e.exports={dialog:"dialog-xvLVYmhd",container:"container-xvLVYmhd",header:"header-xvLVYmhd",image:"image-xvLVYmhd",title:"title-xvLVYmhd","main-content":"main-content-xvLVYmhd",paragraph:"paragraph-xvLVYmhd",list:"list-xvLVYmhd","paragraph--bold":"paragraph--bold-xvLVYmhd","list--bold":"list--bold-xvLVYmhd","list-item":"list-item-xvLVYmhd",strong:"strong-xvLVYmhd",actions:"actions-xvLVYmhd","button-content":"button-content-xvLVYmhd",button:"button-xvLVYmhd",countDown:"countDown-xvLVYmhd",closeButton:"closeButton-xvLVYmhd"}},38409:(e,t,a)=>{"use strict";a.r(t),a.d(t,{EarlyBirdDialog:()=>Y,renderEarlyBirdDialog:()=>P});var n=a(59496),o=a(87995),l=a(28353),c=a(5437),i=a(3767),r=a(90692),s=a(67844),m=a(37005),d=a(77975),u=a(45345),h=a(26843),p=(a(94419),a(53746)),f=a(82760),g=a(98020),x=a(93299);var v=a(39392),b=a(73611),y=a(32877),E=a(91636),w=a(43517),N=a(27744),T=a(88001),D=a(34265),S=a(8992),B=a(39017),C=a(80213),L=a(97754);const k={7:e=>({imageSrc:{[h.StdTheme.Light]:v,[h.StdTheme.Dark]:b},title:(0,l.t)("Need a discount?"),mainContent:n.createElement(n.Fragment,null,n.createElement("p",{className:C.paragraph},(0,l.t)("You have access to a new member special offer: buy any annual plan right now and get up to {discount}% off. Plus, keep all of your unused trial days.").format({discount:(e.maxDiscount||"").toString()})),n.createElement("p",{className:C.paragraph},(0,l.t)("This is one of our best deals and we hope you take advantage of it."))),cancelBtnText:(0,l.t)("Decline offer"),yesBtnText:(0,l.t)("Explore deals")}),14:e=>({imageSrc:{[h.StdTheme.Light]:y,[h.StdTheme.Dark]:E},title:(0,l.t)("Tools that help you succeed"),mainContent:n.createElement(n.Fragment,null,n.createElement("p",{className:C.paragraph},(0,l.t)("Make sure to try every Premium tool including:")),n.createElement("ul",{className:C.list},n.createElement("li",{className:C["list-item"]},(0,l.t)("Real-time alerts")),n.createElement("li",{className:C["list-item"]},(0,l.t)("Volume Profile indicators")),n.createElement("li",{className:C["list-item"]},(0,l.t)("Multiple chart layouts")),n.createElement("li",{className:C["list-item"]},(0,l.t)("Second-based intervals")),n.createElement("li",{className:C["list-item"]},(0,l.t)("And much more…"))),n.createElement("p",{className:C.paragraph +},(0,l.t)("Don't forget, if you buy an annual plan today you're eligible for up to {discount}% off.").format({discount:(e.maxDiscount||"").toString()}))),cancelBtnText:(0,l.t)("Decline offer"),yesBtnText:(0,l.t)("Get {discount}% off").format({discount:(e.maxDiscount||"").toString()})}),21:e=>({imageSrc:{[h.StdTheme.Light]:S,[h.StdTheme.Dark]:B},title:(0,l.t)("You still have time"),mainContent:n.createElement(n.Fragment,null,n.createElement("p",{className:C.paragraph},(0,l.t)("Buy an annual plan today and get up to {discount}% off Pro, Pro+, and Premium.").format({discount:(e.maxDiscount||"").toString()}))),cancelBtnText:(0,l.t)("Decline offer"),yesBtnText:(0,l.t)("Let's do this")}),28:e=>{return{imageSrc:{[h.StdTheme.Light]:w,[h.StdTheme.Dark]:N},title:(0,l.t)("The countdown begins"),mainContent:n.createElement(n.Fragment,null,n.createElement("p",{className:C.paragraph},(0,l.t)("If you don't act soon, you'll miss out on our exclusive Early Bird deal. We know how important it is to have a platform you can trust, at the best cost and with the most tools — so explore our discounts now before time's up. Once they're gone, they're gone.")),n.createElement("div",{className:C.countDown},n.createElement(p.OfferCountdown,{theme:f.CountdownTheme.Profile,expiration:null===(a=null===(t=window.user.available_offers)||void 0===t?void 0:t[x.OFFERS.early_access])||void 0===a?void 0:a.expire_on,size:"m"}))),cancelBtnText:(0,l.t)("Decline offer"),yesBtnText:(0,l.t)("Get {discount}% off now").format({discount:(e.maxDiscount||"").toString()})};var t,a},30:e=>{const t=(0,l.t)("Your trial ends today. It's also your last chance to {link_start}claim up to {discount}% off{link_end} an annual plan. Want this? Just click the button below. Don't want to continue with us? Please go to your billing settings and cancel your trial, otherwise you'll be charged our full normal price.").split(/\{\w+\}/),a=`${t[1]} ${(e.maxDiscount||"").toString()}${t[2]}`;return{imageSrc:{[h.StdTheme.Light]:T,[h.StdTheme.Dark]:D},title:(0,l.t)("Today's the day"),mainContent:n.createElement(n.Fragment,null,n.createElement("span",{className:C.paragraph},t[0],n.createElement("span",{className:L(C.paragraph,C["paragraph--bold"])},a),t[3])),cancelBtnText:(0,l.t)("Decline offer"),yesBtnText:(0,l.t)("Claim offer")}}};var V=a(86240);function Y(e){const{content:t,actionHref:a,onActionClick:o,onClose:p}=e,{title:f,mainContent:g,cancelBtnText:x,yesBtnText:v,imageSrc:b,showCloseBtn:y}=t,E=(0,d.useWatchedValueReadonly)({watchedValue:u.watchedTheme})||h.StdTheme.Light;return(0,m.useFixedBody)(),n.createElement(r.MatchMedia,{rule:V["media-mf-phone-landscape"]},e=>n.createElement(i.Modal,{isOpened:!0,fullscreen:!e,rounded:e,width:720,className:C.dialog},n.createElement("div",{className:C.container},y&&n.createElement(s.CloseButton,{className:C.closeButton,onClick:p,"aria-label":l.t("Close",{context:"input"}),size:"m"}),n.createElement("div",null,n.createElement("div",{className:C.header},b&&b[E]&&n.createElement("img",{src:b[E],className:C.image}),n.createElement("h2",{ +className:C.title},f)),n.createElement("div",{className:C["main-content"]},g)),n.createElement("div",{className:C["button-content"]},n.createElement("div",{className:C.actions},!y&&n.createElement(c.RoundButton,{className:C.button,color:"red",variant:"ghost",onClick:p},x),n.createElement(c.RoundAnchorButton,{href:a,target:"_blank",className:C.button,onClick:o},v))))))}function P(e){const{root:t,onClose:a,actionHref:l,onActionClick:c}=e,i=()=>{o.unmountComponentAtNode(t),void 0!==a&&a()},r=()=>{o.unmountComponentAtNode(t),void 0!==c&&c()},s=function(e){const t=(0,g.getEarlyBirdDialogDay)(e.state,e.trialDaysPassed);return null!==t?k[t](e):null}(e);if(null!==s){const e={content:s,actionHref:l,onActionClick:r,onClose:i};o.render(n.createElement(Y,{...e}),t)}}},86240:e=>{"use strict";e.exports=JSON.parse('{"size-header-height":"64px","media-phone":"screen and (max-width: 767px)","media-mf-phone-landscape":"screen and (min-width: 568px)","media-mf-tablet-vertical":"screen and (min-width: 768px)","media-mf-tablet-landscape":"screen and (min-width: 1024px)","media-mf-laptop":"screen and (min-width: 1280px)"}')}}]); \ No newline at end of file diff --git a/charting_library/bundles/eb8399f5df28ee8b30713ca340c7dd8e.jpeg b/charting_library/bundles/eb8399f5df28ee8b30713ca340c7dd8e.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..7cb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v%-KX<5U?T{!jKxKQd{SiO3))$0E#~5njYGJV}`YA0b@i zziYcg?dh9$ErWzNL9#Z3FnRNv{ zu#=U3iQ!uWUr;U!1HE^im_$c`Li$=8Hx;YJ@V$xQ$*Fj(@XilT;me7|jz{rU=RxdN zJ>+9SEd8<1$KjQDmZ;dPwzW?nh}er?6Lgp9V@FJxH6J~B^8L_BSes6f%(urNg_g&| zW)y1|@U*j|HR{S8GA?@TP6TDQHg6_M(?Vl}(~2Zx(iU~DJOz-Fu2lXXPon?7jokm~ zOl^8_TE1p zB6m@$k}%X~uw~&;+3SqSt@Mdk75ldtC79qLTYEkk5iZDW&Vt;sTG|}7UF!N~>4SgV JHT>22-vEmhC2Rly literal 0 HcmV?d00001 diff --git a/charting_library/bundles/ebca4cec794b70db74c63a7e6aca8ed8.svg b/charting_library/bundles/ebca4cec794b70db74c63a7e6aca8ed8.svg new file mode 100644 index 00000000..11880793 --- /dev/null +++ b/charting_library/bundles/ebca4cec794b70db74c63a7e6aca8ed8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ec31494f78cee41a02dbfbafba232515.svg b/charting_library/bundles/ec31494f78cee41a02dbfbafba232515.svg new file mode 100644 index 00000000..9e9a5ef1 --- /dev/null +++ b/charting_library/bundles/ec31494f78cee41a02dbfbafba232515.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ec5d7209357ae85877aeb054c2bdb313.svg b/charting_library/bundles/ec5d7209357ae85877aeb054c2bdb313.svg new file mode 100644 index 00000000..48b64c59 --- /dev/null +++ b/charting_library/bundles/ec5d7209357ae85877aeb054c2bdb313.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ec6d305d7d06a84ea3f54c3d6db5e83a.svg b/charting_library/bundles/ec6d305d7d06a84ea3f54c3d6db5e83a.svg new file mode 100644 index 00000000..4df0a531 --- /dev/null +++ b/charting_library/bundles/ec6d305d7d06a84ea3f54c3d6db5e83a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ec773b52c3fc4ccd7a5a86a577674e84.svg b/charting_library/bundles/ec773b52c3fc4ccd7a5a86a577674e84.svg new file mode 100644 index 00000000..39a49fde --- /dev/null +++ b/charting_library/bundles/ec773b52c3fc4ccd7a5a86a577674e84.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ed080993df791efad30f99a0e698601e.svg b/charting_library/bundles/ed080993df791efad30f99a0e698601e.svg new file mode 100644 index 00000000..cb83cca0 --- /dev/null +++ b/charting_library/bundles/ed080993df791efad30f99a0e698601e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ed0ca2ab048260b30ad78d7b82749494.svg b/charting_library/bundles/ed0ca2ab048260b30ad78d7b82749494.svg new file mode 100644 index 00000000..81c2a144 --- /dev/null +++ b/charting_library/bundles/ed0ca2ab048260b30ad78d7b82749494.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ed5c3ae146310a1a24fcde23e7b60bb1.svg b/charting_library/bundles/ed5c3ae146310a1a24fcde23e7b60bb1.svg new file mode 100644 index 00000000..7dd63e12 --- /dev/null +++ b/charting_library/bundles/ed5c3ae146310a1a24fcde23e7b60bb1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ee2bdfea45e5aca4518fe3ae1e115904.svg b/charting_library/bundles/ee2bdfea45e5aca4518fe3ae1e115904.svg new file mode 100644 index 00000000..35bedebc --- /dev/null +++ b/charting_library/bundles/ee2bdfea45e5aca4518fe3ae1e115904.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ee399eb1fa7a749581dc585db32b9db4.svg b/charting_library/bundles/ee399eb1fa7a749581dc585db32b9db4.svg new file mode 100644 index 00000000..94552426 --- /dev/null +++ b/charting_library/bundles/ee399eb1fa7a749581dc585db32b9db4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/efef6421ade56c03ee355809562ecbc0.svg b/charting_library/bundles/efef6421ade56c03ee355809562ecbc0.svg new file mode 100644 index 00000000..a87d2548 --- /dev/null +++ b/charting_library/bundles/efef6421ade56c03ee355809562ecbc0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/email-dialog.11c06641e902f3048b83.js b/charting_library/bundles/email-dialog.11c06641e902f3048b83.js new file mode 100644 index 00000000..1cb99041 --- /dev/null +++ b/charting_library/bundles/email-dialog.11c06641e902f3048b83.js @@ -0,0 +1,16 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8606],{52014:()=>{},6539:e=>{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},16178:e=>{e.exports={"close-button":"close-button-WaM0Er9G","close-icon":"close-icon-WaM0Er9G","button-l":"button-l-WaM0Er9G","button-m":"button-m-WaM0Er9G","button-s":"button-s-WaM0Er9G","button-xs":"button-xs-WaM0Er9G","button-xxs":"button-xxs-WaM0Er9G"}},8714:e=>{e.exports={"button-box-code":"button-box-code-ykdczZxH","small-buttons":"small-buttons-ykdczZxH",arrowHolder:"arrowHolder-ykdczZxH","arrowHolder--below":"arrowHolder--below-ykdczZxH","arrowHolder--above":"arrowHolder--above-ykdczZxH","arrowHolder--before":"arrowHolder--before-ykdczZxH","arrowHolder--after":"arrowHolder--after-ykdczZxH",tooltip:"tooltip-ykdczZxH"}},96290:e=>{e.exports={"content-wrap-template":"content-wrap-template-SuBxKHcJ",title:"title-SuBxKHcJ",description:"description-SuBxKHcJ","close-button":"close-button-SuBxKHcJ","phone-block":"phone-block-SuBxKHcJ","email-block":"email-block-SuBxKHcJ",input:"input-SuBxKHcJ","code-block":"code-block-SuBxKHcJ","timer-block":"timer-block-SuBxKHcJ","spinner-wrap":"spinner-wrap-SuBxKHcJ","hide-country-select":"hide-country-select-SuBxKHcJ","okay-button":"okay-button-SuBxKHcJ","wrapper-content":"wrapper-content-SuBxKHcJ","wrapper-content-successful":"wrapper-content-successful-SuBxKHcJ",link:"link-SuBxKHcJ","labeled-input":"labeled-input-SuBxKHcJ"}},10660:e=>{e.exports={code:"code-w1JWVjk5","ui-kit-input":"ui-kit-input-w1JWVjk5",input:"input-w1JWVjk5","digit-1":"digit-1-w1JWVjk5","digit-2":"digit-2-w1JWVjk5","digit-3":"digit-3-w1JWVjk5","digit-4":"digit-4-w1JWVjk5","input-disable-mode-safari":"input-disable-mode-safari-w1JWVjk5"}},98898:e=>{e.exports={countrySelect:"countrySelect-zsy9fYkd",flagSlot:"flagSlot-zsy9fYkd",flag:"flag-zsy9fYkd",textSlot:"textSlot-zsy9fYkd"}},99171:e=>{e.exports={button:"button-1ARG85Og",disabled:"disabled-1ARG85Og",hidden:"hidden-1ARG85Og",icon:"icon-1ARG85Og",dropped:"dropped-1ARG85Og"}},28335:e=>{ +e.exports={label:"label-UvIfeuIB"}},44443:e=>{e.exports={container:"container-vZPBcQQO",content:"content-vZPBcQQO",arrowHolder:"arrowHolder-vZPBcQQO","arrowHolder--below":"arrowHolder--below-vZPBcQQO","arrowHolder--above":"arrowHolder--above-vZPBcQQO","arrowHolder--before":"arrowHolder--before-vZPBcQQO","arrowHolder--after":"arrowHolder--after-vZPBcQQO","arrowHolder--above-fix":"arrowHolder--above-fix-vZPBcQQO","arrowHolder--before-rtl-fix":"arrowHolder--before-rtl-fix-vZPBcQQO","arrowHolder--after-ltr-fix":"arrowHolder--after-ltr-fix-vZPBcQQO",label:"label-vZPBcQQO",closeButton:"closeButton-vZPBcQQO"}},97737:(e,t,o)=>{"use strict";o.d(t,{AnchorButton:()=>u,Button:()=>c});var n=o(59496),r=o(71036);function s(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function i(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function a(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function l(e){const{intent:t,size:o,appearance:n,useFullWidth:r,icon:l,...c}=e;return{...c,color:i(t),size:a(o),variant:s(n),stretch:r,startIcon:l}}function c(e){return n.createElement(r.SquareButton,{...l(e)})}function d(e){const{intent:t,size:o,appearance:n,useFullWidth:r,icon:l,...c}=e;return{...c,color:i(t),size:a(o),variant:s(n),stretch:r,startIcon:l}}function u(e){return n.createElement(r.SquareAnchorButton,{...d(e)})}},71036:(e,t,o)=>{"use strict";o.d(t,{SquareAnchorButton:()=>v,SquareButton:()=>p});var n=o(59496),r=o(97754),s=o(95604),i=o(9745),a=o(6539),l=o.n(a);function c(e){const{color:t="brand",size:o="medium",variant:n="primary",stretch:i=!1,icon:a,startIcon:c,endIcon:d,iconOnly:u=!1,className:h,isGrouped:m,cellState:p,disablePositionAdjustment:f=!1}=e,v=function(e){let t="";return 0!==e&&(1&e&&(t=r(t,l()["no-corner-top-left"])),2&e&&(t=r(t,l()["no-corner-top-right"])),4&e&&(t=r(t,l()["no-corner-bottom-right"])),8&e&&(t=r(t,l()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(p));return r(h,l().button,l()["size-"+o],l()["color-"+t],l()["variant-"+n],i&&l().stretch,(a||c)&&l()["with-start-icon"],d&&l()["with-end-icon"],u&&l()["icon-only"],v,m&&l().grouped,m&&!f&&l()["adjust-position"],m&&p.isTop&&l()["first-row"],m&&p.isLeft&&l()["first-col"])}function d(e){const{size:t,startIcon:o,icon:r,iconOnly:s,children:a,endIcon:c}=e,d=null!=o?o:r;return n.createElement(n.Fragment,null,d&&"xsmall"!==t&&n.createElement(i.Icon,{icon:d,className:l()["start-icon-wrap"]}),a&&n.createElement("span",{className:l().content},a),c&&!s&&"xsmall"!==t&&n.createElement(i.Icon,{icon:c,className:l()["end-icon-wrap"]}))}var u=o(86332),h=o(90186);function m(e){const{className:t,color:o,variant:n,size:r,stretch:s,animated:i,icon:a,iconOnly:l,startIcon:c,endIcon:d,...u}=e;return{...u,...(0,h.filterDataProps)(e),...(0,h.filterAriaProps)(e)}}function p(e){const{reference:t,...o}=e,{isGrouped:r,cellState:s,disablePositionAdjustment:i}=(0,n.useContext)(u.ControlGroupContext),a=c({...o,isGrouped:r, +cellState:s,disablePositionAdjustment:i});return n.createElement("button",{...m(o),className:a,ref:t},n.createElement(d,{...o}))}function f(e){const{className:t,color:o,variant:n,size:r,stretch:s,animated:i,icon:a,iconOnly:l,startIcon:c,endIcon:d,...u}=e;return{...u,...(0,h.filterDataProps)(e),...(0,h.filterAriaProps)(e)}}function v(e){const{reference:t}=e,{isGrouped:o,cellState:r,disablePositionAdjustment:s}=(0,n.useContext)(u.ControlGroupContext),i=c({...e,isGrouped:o,cellState:r,disablePositionAdjustment:s});return n.createElement("a",{...f(e),className:i,ref:t},n.createElement(d,{...e}))}},35582:(e,t,o)=>{"use strict";o.d(t,{CloseButton:()=>p});var n=o(59496),r=o(97754),s=o(9745),i=o(64120),a=o(12565),l=o(95781),c=o(7801),d=o(33584),u=o(16178),h=o.n(u);function m(e="l"){switch(e){case"l":return i;case"m":return a;case"s":return l;case"xs":return c;case"xxs":return d;default:return a}}const p=n.forwardRef((e,t)=>{const{className:o,size:i,...a}=e,l=r(h()["close-button"],h()["button-"+i],o);return n.createElement("button",{...a,type:"button",className:l,ref:t},n.createElement(s.Icon,{icon:m(i),className:h()["close-icon"],"aria-hidden":!0}))})},22064:(e,t,o)=>{"use strict";o.d(t,{createDomId:()=>l,joinDomIds:()=>c});const n=/\s/g;function r(e){return"string"==typeof e}function s(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function i(e){return e.trim().length>0}function a(e){return e.replace(n,"-")}function l(...e){const t=e.map(s).filter(r).filter(i).map(a);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function c(...e){return e.map(s).filter(r).filter(i).join(" ")}},20497:(e,t,o)=>{"use strict";var n=o(23127);const r=o(98125).getLogger("CommonUI.CreateTVBlockPlugin");e.exports.createTvBlockWithInstance=function(e,t){if(e&&t)return e=e.toString(),function(s,i,a){var l,c,d;return"get"===s?l=i:(c=i,"object"==typeof s&&void 0===i?(c=s,s="init"):"string"!=typeof s&&(s="init")),"getInstance"===s?n(this).eq(0).data(e):"destroy"===s?(d=n(this).eq(0).data(e))?void("function"==typeof d.destroy?(o(d,"destroy",c),n(this).eq(0).removeData(e)):r.logError("[Block Plugin] "+e+" does not support destroy command")):void console.warn("[Block Plugin] Trying to execute destroy method of "+e+" but it has not been inited"):"get"===s?(d=n(this).eq(0).data(e))?"function"==typeof d[l]?o(d,l,a):d[l]:void console.warn("[Block Plugin] Trying to get prop or execute method of "+e+" but it has not been inited"):n(this).each((function(){var i=n(this),a=i.data(e);void 0===a&&(a=void 0===c?t(i):t(i,c),i.data(e,a)),"init"!==s&&("function"==typeof a[s]?o(a,s,c):r.logError("[Block Plugin] "+e+" does not support command "+s))}))};function o(e,t,o){return void 0===o?e[t]():e[t](o)}}},78754:(e,t,o)=>{"use strict";o.d(t,{buttonLoader:()=>i});o(52014);var n=o(20497),r=o(68587),s=o(23127);function i(e){return new a(s(e))}s.fn.tvButtonLoader=(0,n.createTvBlockWithInstance)("tv-button-loader",(function(e){return new a(e)})) +;class a{constructor(e){this.$btn=s(e).addClass("tv-button--loader"),0===this.$btn.find(".tv-button__loader").length&&this.$btn.html(''+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}_start(){this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(()=>{this.loading=!0,this.starting=!1,this._startPromise=!1,this.$btn.addClass("i-loading"),this.$btn.removeClass("i-start-load"),this._stopPromise&&this._stop()},2*r.dur)}start(){this.starting||(this.stopping?this._startPromise=!0:this._start())}_stop(){this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(()=>{this.loading=!1,this.stopping=!1,this._stopPromise=!1,this.$btn.removeClass("i-loading i-start-load i-stop-load"),this._startPromise&&this._start()},r.dur)}stop(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}toggle(){this.loading?this.stop():this.start()}contentHtml(e){return e?(this.$btn.find(".tv-button__text").html(e),e):this.$btn.find(".tv-button__text").html()}contentNojQuery(){return this.$btn.get(0)}disable(){this.stop(),this.$btn.addClass("i-disabled")}enable(){this.$btn.removeClass("i-disabled")}}},93573:(e,t,o)=>{"use strict";o.d(t,{getCountries:()=>s});var n=o(85198);let r=null;async function s(){var e;if(null!==r)return r;const t=await(0,n.fetch)("/accounts/countries/",{credentials:"include"});if(!t.ok){const e=await t.json();throw Error(String(e))}const o=await t.json();return r={...o,current_country_code:null!==(e=o.current_country_code)&&void 0!==e?e:"US"},r}},976:(e,t,o)=>{"use strict";o.d(t,{TVModal:()=>f});var n=o(28353),r=o(68587),s=o(49483),i=o(43989),a=o(51536),l=o(4185),c=o(85739),d=o(25760),u=o(23127),h=o(25977);let m=[];const p={ajax:{},closingDuration:r.dur/2,fixBodyState:!0,overlayTemplate:'
    ',containerTemplate:'
    ',ajaxErrorTemplate:`
    ${(0,n.t)("Error")}
    `};class f extends a.TVDialogAbstract{constructor(e={}){if(super({...p,...e}),this.$overlay=u(this.options.overlayTemplate),this.$modalWrap=u(this.options.containerTemplate),this.$body=this.$modalWrap.find(".tv-dialog__modal-body").append(this.$el),this.options.closeOnOutsideClick&&this.$overlay.add(this.$modalWrap).click(e=>{this.isEventOut(e)&&this.close()}),this.on("change:zIndex",()=>{this.$overlay.css("z-index",this.zIndex),this.$modalWrap.css("z-index",this.zIndex)}),this.on("destroy",()=>{const e=()=>{this.$overlay.remove(),this.$modalWrap.remove()};this.opened?(this.close(),setTimeout(e,this.options.closingDuration)):e()}),this.on("beforeOpen",()=>{m.push(this)}),this.options.ajax.url){ +const e=this.options.ajax.beforeSend||u.noop,t=this.options.ajax.success||!1,o=this.options.ajax.error||u.noop;u.extend(this.options.ajax,{beforeSend:()=>{this.trigger("beforeLoading",[this]),this.startSpinner(),e(this)},success:e=>{this.trigger("afterLoading",[this]),this.renderContent(t?t(this,e):e).showContent(),this.trigger("afterLoadingShow",[this])},error:()=>{this.renderContent(this.options.ajaxErrorTemplate),o(this),this.trigger("errorLoading",[this])}})}this.on("error",(e,t)=>{this.$modalWrap[0].getBoundingClientRect().height!this.opened,modal:!0}),this.options.closeOnEsc&&this._hotkeys.add({desc:"close",hotkey:27,handler:()=>this.close()}));const e=()=>{this.focus(),this.toTop(),this.trigger("beforeOpen",[this]),u(this.$wrap).append(this.$overlay.addClass("i-hidden i-closed").css("z-index",this.zIndex)).append(this.$modalWrap.addClass("i-hidden i-closed").css("z-index",this.zIndex)),this.$overlay.removeClass("i-hidden"),setTimeout(()=>{this.$overlay.removeClass("i-closed")},20),this.options.ajax.url?this.ajaxRequest=u.ajax(this.options.ajax):this.showContent()};return s.isSafari?setTimeout(()=>e(),50):e(),this}close(){if(this.opened)return this.opened=!1,this._keyboardBinderLockId&&c.enable(this._keyboardBinderLockId),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(()=>{this.$modalWrap.addClass("i-hidden").detach(),this.$overlay.addClass("i-hidden").detach(),m=h.without(m,this),this.options.fixBodyState&&(0,i.setFixedBodyState)(!1),this.trigger("afterClose",[this]),this.unfocus(),m.length>0&&m[m.length-1].focus(),this.options.destroyOnClose&&this.destroy()},this.options.closingDuration),this}showContent(){return this.$modalWrap.removeClass("i-hidden"),setTimeout(()=>{this.$modalWrap.removeClass("i-closed")},20),setTimeout(()=>{this.trigger("afterOpen",[this]),this.spinner&&this.stopSpinner()},.75*r.dur+20),this}hideContent(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}startSpinner(){return this.spinner=new l.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}stopSpinner(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}},44279:(e,t,o)=>{"use strict";o.r(t),o.d(t,{createEmailDialog:()=>Le,createPhoneDialog:()=>Te});var n,r=o(59496),s=o(28353),i=o(87995),a=o(976),l=o(91955);!function(e){e.SmsEmail="smsEmail",e.Phone="phone"}(n||(n={}));const c={[n.SmsEmail]:null,[n.Phone]:null};function d(e,t,o,n){const{featureSource:s="",doNotShowConfirmation:d=!1}=t,{onVerificationSuccess:u}=n;let h=null,m=c[o];null===m&&(m=new a.TVModal({ +closeButton:!1,closeOnOutsideClick:!1,contentWrapTemplate:'
    ',containerTemplate:'
    ',focusFirstControl:!1,closeOnEsc:!1}),c[o]=m,h=m.$content.get(0),m.on("destroy",()=>{null!==h&&i.unmountComponentAtNode(h),c[o]=null}));const p=location.pathname,f=()=>{const[t,n]=r.useState(!1);return r.useEffect(()=>(null==m||m.on("afterOpen",()=>{var e,t;(0,l.getTracker)().then(e=>{null==e||e.trackPhoneVerificationDialog("shown",s,p)}),n(null!==(t=null===(e=c[o])||void 0===e?void 0:e.isOpened())&&void 0!==t&&t)}),null==m||m.on("afterClose",()=>{var e;return n(null!==(e=null==m?void 0:m.isOpened())&&void 0!==e&&e)}),()=>n(!1)),[]),r.createElement(e,{onClose:()=>{var e;return null===(e=c[o])||void 0===e?void 0:e.close()},opened:t,showConfirmation:!d,onVerificationCancel:()=>{(0,l.getTracker)().then(e=>{null==e||e.trackPhoneVerificationDialog("closed",s,p)}),null==m||m.trigger("verification:cancel",null)},onVerificationCodeExpired:()=>{(0,l.getTracker)().then(e=>{null==e||e.trackPhoneVerificationDialog("code_expired",s,p)}),null==m||m.trigger("verification:codeExpired",null)},onVerificationSuccess:e=>{u(e),null==m||m.trigger("verification:success",[e])}})};return h&&i.render(r.createElement(f,null),h),m}var u=o(85198);const h=window;function m(){return void 0!==h.AbortController}let p=null,f=null;function v(){m()&&(null==p||p.abort(),p=new AbortController,f=p.signal)}function g(e,t){return e[t.country_code]=t,e}function b(){const[e,t]=r.useState(null);return r.useEffect(()=>{(0,u.fetch)("/accounts/phone-options/",{signal:f}).then(e=>e.json()).then(({options:e,iso:o,phone:n})=>{t({iso:o,options:e.reduce(g,{}),phone:null==n?void 0:n.replace(/[^0-9]/g,"")})})},[]),e}var w;function y(e){return e.ok?e.json():e.json().then(({error:e})=>{throw new Error(e)})}function C(e){return 0===e.length?[s.t("This field is required")]:[]}function S(e,t){return(o,n,r,s)=>{const i=C(r);i.length>0?t(i):function(e,t,o){const n=new FormData;return n.append("phone",`+${t}${o}`),n.append("phone_country_code",e),(0,u.fetch)("/accounts/change-phone/",{method:"POST",credentials:"include",body:n,signal:f}).then(e=>e.ok?e.json():e.json().then(t=>{let o="";if([400,422,429].includes(e.status)){const e=[];Object.values(t.errors).forEach(t=>{e.push(...t)}),o=e.join("\n")}throw 403===e.status&&(o=t.error),new Error(o)}))}(o,n,r).then(()=>function(e){const t=new FormData;return t.append("channel",e),(0,u.fetch)("/accounts/phone-verify-send/",{method:"POST",credentials:"include",body:t}).then(e=>y(e))}(s)).then(t=>{e({...t,exp:Date.now()+1e3*t.exp})}).catch(e=>{t([e.message])})}}function x(e,t){return o=>{const n=C(o);n.length>0?t(n):function(e){const t=new FormData;return t.append("sms_email",e.sms_email),(0,u.fetch)("/accounts/sms-email/change/",{method:"POST",credentials:"include",body:t,signal:f}).then(e=>e.ok?e.json():e.json().then(t=>{if(400===e.status){const e=[] +;throw Object.values(t.errors).forEach(t=>{e.push(...t)}),new Error(e.join("\n"))}throw new Error(t.detail)}))}({sms_email:o}).then(t=>{e({...t,exp:Date.now()+1e3*t.exp})}).catch(e=>{t([e.message])})}}function E(e,t){return r.useCallback((o,n,r)=>{const s=C(n);s.length>0?t(s):function({code:e,sid:t}){const o=new FormData;return t&&o.append("sid",t),o.append("code",e),(0,u.fetch)("/accounts/phone-verify-check/",{method:"POST",credentials:"include",body:o,signal:f}).then(e=>y(e))}({code:n,sid:r}).then(()=>{e(o)}).catch(e=>{t([e.message])})},[])}function k(e,t){return r.useCallback((o,n,r)=>{const s=C(n);s.length>0?t(s):function({code:e,sid:t}){const o=new FormData;return t&&o.append("sid",t),o.append("code",e),(0,u.fetch)("/accounts/sms-email/check_code/",{method:"POST",credentials:"include",body:o,signal:f}).then(e=>e.ok?e.json():e.json().then(({detail:e})=>{throw new Error(e)}))}({code:n,sid:r}).then(()=>{e(o)}).catch(e=>{t([e.message])})},[])}m()&&(p=new AbortController,f=p.signal),function(e){e.Sms="sms",e.Call="call"}(w||(w={}));var _=o(97754),N=o(49483),B=o(78274),V=o(86623),j=o(86629),I=o(67029);const M=r.forwardRef((e,t)=>{const{className:o,...n}=e;return r.useEffect(()=>()=>{var e;t&&(null===(e=t.current)||void 0===e||e.blur())},[]),r.createElement(V.FormInput,{reference:e=>{e&&t&&(t.current=e)},className:_(I.InputClasses.FontSizeLarge,o),size:"large",messagesPosition:j.MessagesPosition.Attached,stretch:!0,...n})});var H=o(10660);const P=r.forwardRef((e,t)=>{const{value:o,disabled:n=!1,errors:i}=e,a=e.code?"+"+e.code:"",l=r.useCallback(t=>{const{value:o}=t.target;isNaN(Number(o))||e.onChange(o)},[]),c=N.isSafari&&"input-disable-mode-safari";return r.createElement(M,{ref:t,inputClassName:_(H["ui-kit-input"],H.input,H["digit-"+a.length],n&&H[c||""]),placeholder:a?s.t("Enter phone number"):"",startSlot:r.createElement(B.StartSlot,null,r.createElement("div",{className:H.code},a)),value:o,onChange:l,disabled:n,hasErrors:i&&i.length>0,errors:i})});var z=o(44065),O=o(11298);function K(e){const t=window.sessionStorage.getItem(e);if(null!==t)try{const o=JSON.parse(t);return Math.ceil((o.exp-Date.now())/1e3)<0?void L(e):o}catch(t){return void L(e)}}function W(){return K("_tempPhoneExp")}function D(){return K("_tempSmsEmailExp")}function T(e){window.sessionStorage.setItem("_tempPhoneExp",JSON.stringify(e))}function L(e){window.sessionStorage.removeItem(e)}function $(){window.sessionStorage.removeItem("_callIsAvailableExp")}function A(){const e=window.sessionStorage.getItem("_callIsAvailableExp");if(null===e)return!1;try{const t=Number(e);if(Date.now()n)||($(),!1)}catch(e){return $(),!1}}var F=o(67844),R=o(61074),Y=o(9481),J=o(71036),q=o(2998),Q=o(64118),G=o(4298),Z=o(18041),U=o(70412),X=o(42707),ee=o(86240),te=o(94254),oe=o(79826),ne=o(8714);const re=ee["media-mf-tablet-vertical"],se=s.t("Get the code via SMS"),ie=s.t("Get the code via phone call");function ae(e){const[t,o]=(0,U.useHover)(),{disabled:n,children:s,onClick:i,icon:a}=e,l=(0, +X.useMatchMedia)(re);return r.createElement(q.Manager,null,r.createElement(Q.Reference,null,e=>r.createElement(J.SquareButton,{...o,size:"large",variant:"secondary",className:ne.button,disabled:n,icon:a,iconOnly:!!l||void 0,reference:e.ref,onClick:i,stretch:!0},s)),r.createElement(G.Popper,{strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,9]}}],placement:"top"},e=>t&&!n&&r.createElement(Z.TooltipWidget,{reference:e.ref,style:e.style,arrowReference:e.arrowProps.ref,arrowStyle:e.arrowProps.style,arrowClassName:_(ne.arrowHolder,ne["arrowHolder--above"]),"data-placement":e.placement,containerClassName:ne.tooltip},r.createElement("div",{style:{padding:10}},s))))}function le(e){const{phoneCallAvailable:t,disabled:o,verifyWithCall:n}=e;return r.createElement("div",{className:ne["button-box-code"]},!t&&r.createElement(J.SquareButton,{stretch:!0,size:"large",disabled:o},s.t("Get code")),t&&r.createElement("div",{className:ne["small-buttons"]},r.createElement(ae,{disabled:o,icon:oe},se),r.createElement(ae,{disabled:o,onClick:n,icon:te},ie)))}var ce,de=o(6087),ue=o(26843),he=o(54325);function me(e){return void 0===e?0:Math.ceil((e-Date.now())/1e3)}function pe(e,t){var o,n;return(null!==(n=null===(o=t[e])||void 0===o?void 0:o.phone_code)&&void 0!==n?n:1).toString()}!function(e){e[e.WaitValue=0]="WaitValue",e[e.Verify=1]="Verify",e[e.WaitSMSCode=2]="WaitSMSCode",e[e.CheckingSMSCode=3]="CheckingSMSCode"}(ce||(ce={}));const fe={step:ce.WaitValue,smsCode:"",verifyErrors:[],timer:0,smsErrors:[],smsPartShowed:!1,phoneCallAvailable:!1};function ve(e,t,o){switch(t.type){case"waitValue":return A();case"waitSMSCode":return 0===o||A();case"codeExpired":return!0;default:return e.phoneCallAvailable}}function ge(e,t){switch(t.type){case"waitValue":return ce.WaitValue;case"verify":return ce.Verify;case"verifyErrors":return ce.WaitValue;case"waitSMSCode":return ce.WaitSMSCode;case"codeExpired":return ce.WaitValue;case"smsErrors":return e.timer<=0?ce.WaitValue:ce.WaitSMSCode;case"checkingSMSCode":return ce.CheckingSMSCode;default:return e.step}}function be(e,t){const{iso:o,options:n,phone:r}=e,{iso:s,code:i,phone:a}=t;return{iso:""===s&&o?o:s,code:""===i&&o?pe(o,n):i,phone:""===a&&r?r:a}}function we(e,t){let o=e;switch(t.type){case"setValue":o={...e,value:{...e.value,...t.value},verifyErrors:[]};break;case"verifyErrors":{const{errors:n}=t;o={...e,verifyErrors:n};break}case"waitSMSCode":{const{sid:n,exp:r,value:s={}}=t;o={...e,sid:n,exp:r,verifyErrors:[],timer:me(r),smsPartShowed:!0,value:{...e.value,...s}};break}case"timerId":o={...e,timerId:t.timerId};break;case"timerTick":o={...e,timer:t.timer};break;case"codeExpired":o={...e,timer:0,exp:void 0,sid:void 0};break;case"setSMSCode":o={...e,smsCode:t.smsCode,smsErrors:[]};break;case"smsErrors":o={...e,smsErrors:t.errors};break;case"close":o={...e,smsPartShowed:!1,exp:void 0,timer:0,sid:void 0,verifyErrors:[],smsErrors:[]}}return{...o,step:ge(e,t),phoneCallAvailable:ve(e,t,o.timer)}}const ye=()=>r.useReducer(we,function(){let e={...fe,phoneCallAvailable:A(),value:{iso:"",code:"", +phone:""}};const t=W();return void 0!==t&&(e={...e,...t,step:ce.WaitSMSCode,timer:me(t.exp)}),e}()),Ce=()=>r.useReducer(we,function(){let e={...fe,value:{email:""}};const t=D();return void 0!==t&&(e={...e,...t,step:ce.WaitSMSCode,timer:me(t.exp)}),e}());var Se=o(96722);const xe=r.forwardRef((e,t)=>{const{value:o,errors:n,disabled:s,id:i}=e,a=r.useCallback(t=>{e.onChange(t.target.value)},[]);return r.createElement(M,{id:i,ref:t,disabled:s,hasErrors:n&&n.length>0,errors:n,value:o,onChange:a})});var Ee=o(97737),ke=o(26996),_e=o(1787),Ne=o(30152),Be=o(96290);const Ve=s.t("You can request a new code in {timer} seconds. If you are not receiving it, check out possible {linkOpen}solutions{linkClose}."),[je,,Ie,,Me]=Ve.split(/({linkOpen}|{linkClose})/);function He(e){const{onSubmit:t,timer:o,step:n,smsCode:i,setSMSCode:a,errors:l,hidden:c,disableInput:d}=e,u=r.useRef(null);return r.useLayoutEffect(()=>{var e;c||n!==ce.WaitSMSCode||null===(e=u.current)||void 0===e||e.focus()},[c,n]),c?null:r.createElement(r.Fragment,null,r.createElement("form",{className:Be["code-block"],onSubmit:t},r.createElement("div",{className:Be["labeled-input"]},r.createElement(Se.Label,{className:Be.label,htmlFor:"code-verification-input"},s.t("Verification code")),r.createElement(xe,{id:"code-verification-input",value:i,onChange:a,errors:l,disabled:n===ce.CheckingSMSCode||d,ref:u})),r.createElement("div",{className:Be["button-box"]},r.createElement(Ee.Button,{useFullWidth:!0,size:"l",disabled:n===ce.CheckingSMSCode||d},n!==ce.CheckingSMSCode&&s.t("Submit"),n===ce.CheckingSMSCode&&r.createElement(ke.Loader,{color:(0,de.getCurrentTheme)().name===ue.StdTheme.Light?"white":"gray"})))),r.createElement("div",{className:Be["timer-block"]},je.format({timer:o}),r.createElement("a",{className:Be.link,onClick:()=>(0,Ne.showSupportDialog)({solutionId:_e.solutionIds.SMS_VERIFICATION})},Ie),Me))}function Pe(e){var t;const{responseOptions:o,onVerificationCancel:n,opened:i,onConfirmed:a}=e,[l,c]=ye(),{value:d,step:u,verifyErrors:h,exp:m,timer:p,timerId:f,smsCode:g,sid:b,smsPartShowed:y,smsErrors:C,phoneCallAvailable:x}=l,{iso:k,code:_,phone:N}=d,[B,V]=r.useState(!1),j=r.useRef(!1),I=S(e=>{T({phone:N,code:_,iso:k,...e}),function(e){const t=window.sessionStorage.getItem("_callIsAvailableExp");window.sessionStorage.setItem("_callIsAvailableExp",t?Date.now().toString():e.toString())}(e.exp),c({type:"waitSMSCode",...e}),V(!1)},e=>{c({type:"verifyErrors",errors:e})});r.useEffect(()=>v,[]),r.useEffect(()=>{if(i){const e=W();if(void 0!==e&&me(e.exp)>0){void 0!==e.verify&&V(!0);const t={iso:e.iso,code:e.code,phone:e.phone};c({type:"waitSMSCode",sid:e.sid,exp:e.exp,value:t})}else V(!1),c({type:"waitValue"})}},[i,B]);const M=E(t=>{e.onVerificationSuccess(t),a(),function(e){const t=window.sessionStorage.getItem("_tempPhoneExp");if(null!==t)try{const o=JSON.parse(t);T(Object.assign(o,e))}catch(e){return void L("_tempPhoneExp")}}({verify:!0})},e=>{c({type:"smsErrors",errors:e})});r.useEffect(()=>{null!==o&&c({type:"setValue",value:be(o,{phone:N,code:_,iso:k})})},[o]), +r.useLayoutEffect(()=>{let t;return void 0===m&&clearInterval(f),void 0!==m&&(clearInterval(f),t=setInterval(()=>{const t=me(m);t<=0?(e.onVerificationCodeExpired(),c({type:"codeExpired"})):c({type:"timerTick",timer:t})},500),c({type:"timerId",timerId:t})),()=>clearInterval(t)},[m]);const H=u===ce.Verify||u===ce.WaitSMSCode||null===o;const K=r.useRef(null);return r.useLayoutEffect(()=>{var e;i&&u===ce.WaitValue&&(null===(e=K.current)||void 0===e||e.focus())},[i,u]),r.createElement(r.Fragment,null,r.createElement(Y.KeyboardDocumentListener,{keyCode:27,handler:function(){j.current||$()}}),r.createElement(F.CloseButton,{className:Be["close-button"],"aria-label":s.t("Close",{context:"input"}),onClick:$}),r.createElement("div",{className:Be["wrapper-content"]},r.createElement("h5",{className:Be.title},s.t("Account verification")),r.createElement("p",{className:Be.description},s.t("Enter your phone number to receive a confirmation code. If there are any errors with SMS delivery, you can receive your code via automated phone call. Your phone number will not be used for any other purpose other than account verification.")),r.createElement("form",{className:Be["phone-block"],onSubmit:e=>{var t;e.preventDefault(),null===(t=K.current)||void 0===t||t.blur(),c({type:"verify"}),I(k,_,N,w.Sms)}},r.createElement("div",{className:Be["spinner-wrap"]},null===o&&r.createElement(R.Spinner,{size:"medium"}),r.createElement(O.CountrySelect,{className:null===o?Be["hide-country-select"]:void 0,countries:(D=null!==(t=null==o?void 0:o.options)&&void 0!==t?t:{},Object.values(D).map(e=>({name:e.country,code:(0,he.toCountryCode)(e.country_code),iconUrl:(0,z.flagUrl)(e.country_code.toLowerCase())}))),onSelected:e=>{o&&c({type:"setValue",value:{iso:e.code,code:pe(e.code,o.options)}})},onToggle:function(e){j.current=e},flagUrl:(0,z.flagUrl)(k.toLowerCase()),text:"",disabled:H})),r.createElement(P,{ref:K,code:_,value:N,onChange:function(e){c({type:"setValue",value:{phone:e}})},disabled:H,errors:h}),r.createElement(le,{disabled:H,phoneCallAvailable:x,verifyWithCall:()=>{c({type:"verify"}),I(k,_,N,w.Call)}})),r.createElement(He,{onSubmit:e=>{e.preventDefault(),c({type:"checkingSMSCode"}),M(`+${_}${N}`,g,null!=b?b:"")},smsCode:g,setSMSCode:function(e){c({type:"setSMSCode",smsCode:e})},errors:C,step:u,timer:p.toString(),hidden:!y,disableInput:B&&H})));var D;function $(){n(),c({type:"close"}),e.onClose()}}function ze(e){const{onVerificationCancel:t,opened:o,onConfirmed:n}=e,[i,a]=Ce(),{value:l,step:c,verifyErrors:d,exp:u,timer:h,timerId:m,smsCode:p,sid:f,smsPartShowed:g,smsErrors:b}=i,{email:w}=l,y=x(e=>{!function(e){window.sessionStorage.setItem("_tempSmsEmailExp",JSON.stringify(e))}({email:w,...e}),a({type:"waitSMSCode",...e})},e=>{a({type:"verifyErrors",errors:e})});r.useEffect(()=>v,[]),r.useEffect(()=>{if(o){const e=D();void 0!==e&&me(e.exp)>0?a({type:"waitSMSCode",sid:e.sid,exp:e.exp,value:{email:e.email}}):a({type:"waitValue"})}},[o]);const C=k(t=>{e.onVerificationSuccess(t),n()},e=>{a({type:"smsErrors",errors:e})});r.useLayoutEffect(()=>{let t +;return void 0===u&&clearInterval(m),void 0!==u&&(clearInterval(m),t=setInterval(()=>{const t=me(u);t<=0?(e.onVerificationCodeExpired(),a({type:"codeExpired"})):a({type:"timerTick",timer:t})},500),a({type:"timerId",timerId:t})),()=>clearInterval(t)},[u]);const S=c===ce.Verify||c===ce.WaitSMSCode;const E=r.useRef(null);return r.useLayoutEffect(()=>{var e;o&&c===ce.WaitValue&&(null===(e=E.current)||void 0===e||e.focus())},[o,c]),r.createElement(r.Fragment,null,r.createElement(Y.KeyboardDocumentListener,{keyCode:27,handler:_}),r.createElement(F.CloseButton,{className:Be["close-button"],"aria-label":s.t("Close",{context:"input"}),onClick:_}),r.createElement("div",{className:Be["wrapper-content"]},r.createElement("h5",{className:Be.title},s.t("Account verification")),r.createElement("p",{className:Be.description},s.t("Enter your email address below. We’ll send you a text message with a confirmation code.")),r.createElement("form",{className:Be["email-block"],onSubmit:e=>{var t;e.preventDefault(),null===(t=E.current)||void 0===t||t.blur(),a({type:"verify"}),y(w)}},r.createElement(M,{ref:E,placeholder:s.t("Email"),value:w,onChange:e=>{return t=e.target.value,void a({type:"setValue",value:{email:t}});var t},disabled:S,hasErrors:d.length>0,errors:d,className:Be.input}),r.createElement(le,{disabled:S,phoneCallAvailable:!1})),r.createElement(He,{onSubmit:e=>{e.preventDefault(),a({type:"checkingSMSCode"}),C(w,p,null!=f?f:"")},smsCode:p,setSMSCode:function(e){a({type:"setSMSCode",smsCode:e})},errors:b,step:c,timer:h.toString(),hidden:!g})));function _(){t(),a({type:"close"}),e.onClose()}}var Oe=o(90692);function Ke(e){const{onClose:t,message:o}=e;return r.createElement(r.Fragment,null,r.createElement(Y.KeyboardDocumentListener,{keyCode:13,handler:t}),r.createElement(F.CloseButton,{className:Be["close-button"],"aria-label":s.t("Close",{context:"input"}),onClick:t}),r.createElement("div",{className:Be["wrapper-content-successful"]},r.createElement("h5",{className:Be.title},s.t("Verification successful")),r.createElement("p",{className:Be.description},o),r.createElement(Oe.MatchMedia,{rule:ee["media-phone"]},e=>r.createElement(Ee.Button,{useFullWidth:e,size:e?"l":"m",onClick:t,className:e?"":Be["okay-button"]},s.t("Okay")))))}function We(e){const t=b(),[o,n]=r.useState(!1),i=()=>{n(!1),e.onClose()},a=(0,s.t)("Now you have access to social features, such as chatting, publishing ideas and following other users.");return r.createElement("div",{className:Be["content-wrap-template"]},!o&&r.createElement(Pe,{responseOptions:t,onConfirmed:()=>e.showConfirmation?n(!0):i(),...e}),o&&r.createElement(Ke,{onClose:i,message:a}))}function De(e){const[t,o]=r.useState(!1),n=()=>{o(!1),e.onClose()},i=(0,s.t)("Now you can receive text messages alerts to your phone");return r.createElement("div",{className:Be["content-wrap-template"]},!t&&r.createElement(ze,{onConfirmed:()=>e.showConfirmation?o(!0):n(),...e}),t&&r.createElement(Ke,{onClose:n,message:i}))}function Te(e){const{featureSource:t=""}=e,o=location.pathname,r={onVerificationSuccess:e=>{ +window.user.has_phone=!0,(0,l.getTracker)().then(e=>{null==e||e.trackPhoneVerificationDialog("verified",t,o)})}};return d(We,e,n.Phone,r)}function Le(e){const t={onVerificationSuccess:e=>{window.user.sms_email=e}};return d(De,e,n.SmsEmail,t)}},43989:(e,t,o)=>{"use strict";o.d(t,{setFixedBodyState:()=>i});var n=o(68722);let r=0,s=!1;function i(e){const{body:t}=document,o=t.querySelector(".widgetbar-wrap");if(e&&1==++r){const e=(0,n.getCSSProperty)(t,"overflow"),r=(0,n.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,n.setStyle)(o,"right",(0,n.getScrollbarWidth)()+"px"),t.style.paddingRight=r+(0,n.getScrollbarWidth)()+"px",s=!0),t.classList.add("i-no-scroll")}else if(!e&&r>0&&0==--r&&(t.classList.remove("i-no-scroll"),s)){(0,n.setStyle)(o,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,n.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",s=!1}}},91955:(e,t,o)=>{"use strict";async function n(){if(!window.user||window.user.do_not_track)return null;{const e=(await Promise.all([o.e(2917),o.e(4081)]).then(o.bind(o,98491))).getTrackerInstance();return e||null}}o.d(t,{getTracker:()=>n})},11298:(e,t,o)=>{"use strict";o.d(t,{CountrySelect:()=>w,getCountries:()=>y});var n=o(59496),r=o(97754),s=o(28353),i=o(22064),a=o(67029),l=o(78274),c=o(93211),d=o(9481),u=o(68721),h=o(26597),m=o(86629),p=o(93573);const f=n.lazy(async()=>({default:(await Promise.all([o.e(9129),o.e(2888),o.e(4956),o.e(7245),o.e(1e3),o.e(6973)]).then(o.bind(o,56973))).CountryList}));function v(e){const{isOpen:t,countries:o,onSelected:r,selectedCountry:s,onClose:i,className:a,attachment:l,targetAttachment:c}=e;return n.createElement(n.Fragment,null,t&&n.createElement(n.Suspense,{fallback:null},n.createElement(f,{className:a,onClose:i,selectedCountry:s,onSelected:r,countries:o,attachment:l,targetAttachment:c})))}var g=o(98898);let b;function w(e){var t;const{flagUrl:o,disabled:s=!1,countries:p,selectedCountry:f,onSelected:b,onToggle:w,className:y,dropDownClassName:C,stretch:S,dropdownAttachment:x,text:E,buttonSize:k="large","aria-labelledby":_,id:N,hasErrors:B,errors:V}=e,j=(0,m.useControlValidationLayout)({hasErrors:B,errors:V}),{isOpened:I,isFocused:M,buttonTabIndex:H,highlight:P,intent:z,open:O,close:K,toggle:W,buttonFocusBindings:D,onButtonClick:T,buttonRef:L,buttonAria:$}=(0,u.useControlDisclosure)({id:N,disabled:s}),A=(0,i.joinDomIds)(_,N),F=A.length>0?A:void 0,R=(0,h.useKeyboardToggle)(W),Y=(0,h.useKeyboardClose)(I,K),J=(0,h.useKeyboardOpen)(I,O),q=(0,h.useKeyboardEventHandler)(R,Y,J);return(0,n.useEffect)(()=>{w&&w(I)},[I]),n.createElement(n.Fragment,null,n.createElement(d.KeyboardDocumentListener,{keyCode:27,handler:K}),n.createElement(v,{className:C,onClose:K,selectedCountry:f,onSelected:b,countries:p,isOpen:I,attachment:null==x?void 0:x.attachment,targetAttachment:null==x?void 0:x.targetAttachment}),n.createElement(a.ControlSkeleton,{...D,...$,className:r(g.countrySelect,y),intent:null!==(t=j.intent)&&void 0!==t?t:z,highlight:P,isFocused:M,size:k,stretch:S,disabled:s, +role:"button",tabIndex:H,"aria-haspopup":"listbox","aria-labelledby":F,ref:L,onClick:T,onKeyDown:q,startSlot:o&&n.createElement(l.StartSlot,{className:g.flagSlot},n.createElement("img",{className:g.flag,src:o,role:"presentation"})),middleSlot:n.createElement(l.MiddleSlot,{className:g.textSlot},E),endSlot:n.createElement(l.EndSlot,null,n.createElement(c.Caret,{isDropped:I,disabled:s,className:g.caretSelectBtn}))}),j.renderedErrors)}async function y(){return b||(b=(0,p.getCountries)().then(e=>{const t=[];if(Object.keys(e.countries).forEach(o=>{t.push({code:o,name:s.t(e.countries[o]),iconUrl:`/static/images/svg/common/flags/flag-square-${o.toLowerCase()}.svg`})}),t.length%3!=0){const e=t.length%3,o=e?3-e:0;for(let e=0;e{"use strict";o.d(t,{CloseButton:()=>n.CloseButton});var n=o(35582)},68721:(e,t,o)=>{"use strict";o.d(t,{useControlDisclosure:()=>c});var n=o(59496),r=o(88537),s=o(29202),i=o(47201),a=o(22064),l=o(35749);function c(e){const{intent:t,highlight:o,...c}=e,{isFocused:d,...u}=function(e){const{id:t,disabled:o,buttonTabIndex:c=0,onFocus:d,onBlur:u,onClick:h}=e,[m,p]=(0,n.useState)(!1),[f,v]=(0,s.useFocus)(),g=f||m,b=void 0!==t?(0,a.createDomId)(t,"listbox"):void 0,w=(0,n.useRef)(null),y=(0,n.useCallback)(e=>(0,r.ensureNotNull)(w.current).focus(e),[w]),C=(0,n.useRef)(null),S=(0,n.useCallback)(()=>(0,r.ensureNotNull)(C.current).focus(),[C]),x=(0,n.useCallback)(()=>p(!0),[p]),E=(0,n.useCallback)((e=!1)=>{p(!1);const{activeElement:t}=document;t&&(0,l.isTextEditingField)(t)||y({preventScroll:e})},[p,y]),k=(0,n.useCallback)(()=>{m?E():x()},[m,E,x]),_=o?[]:[d,v.onFocus],N=o?[]:[u,v.onBlur],B=o?[]:[h,k],V=(0,i.createSafeMulticastEventHandler)(..._),j=(0,i.createSafeMulticastEventHandler)(...N),I=(0,i.createSafeMulticastEventHandler)(...B);return{listboxId:b,isOpened:m,isFocused:g,buttonTabIndex:o?-1:c,listboxTabIndex:-1,open:x,close:E,toggle:k,onOpen:S,buttonFocusBindings:{onFocus:V,onBlur:j},onButtonClick:I,buttonRef:w,listboxRef:C,buttonAria:{"aria-controls":m?b:void 0,"aria-expanded":m,"aria-disabled":o}}}(c);return{...u,isFocused:d,highlight:null!=o?o:d,intent:null!=t?t:d?"primary":"default"}}},26597:(e,t,o)=>{"use strict";o.d(t,{useKeyboardActionHandler:()=>i,useComposedKeyboardActionHandlers:()=>a,useKeyboardEventHandler:()=>l,useKeyboardToggle:()=>c,useKeyboardClose:()=>d,useKeyboardOpen:()=>u});var n=o(59496),r=o(68335);const s=()=>!0;function i(e,t,o=s){return(0,n.useCallback)(n=>{const r=e.map(e=>"function"==typeof e?e():e);return!(!o()||!r.includes(n))&&(t(),!0)},[...e,t,o])}function a(...e){return(0,n.useCallback)(t=>{for(const o of e)if(o(t))return!0;return!1},[...e])}function l(...e){const t=a(...e);return(0,n.useCallback)(e=>{t((0,r.hashFromEvent)(e))&&e.preventDefault()},[t])}function c(e){return i([13,32],e)}function d(e,t){return i([9,(0,n.useCallback)(()=>r.Modifiers.Shift+9,[]),27],t,(0,n.useCallback)(()=>e,[e]))}function u(e,t){return i([40,38],t,(0,n.useCallback)(()=>!e,[e]))}}, +42707:(e,t,o)=>{"use strict";o.d(t,{useSafeMatchMedia:()=>r,useMatchMedia:()=>s});var n=o(59496);function r(e,t=!1){const[o,r]=(0,n.useState)(t);return(0,n.useEffect)(()=>{const t=window.matchMedia(e);function o(){r(t.matches)}return o(),t.addListener(o),()=>{t.removeListener(o)}},[e]),o}function s(e){const t=(0,n.useMemo)(()=>window.matchMedia(e).matches,[]);return r(e,t)}},93211:(e,t,o)=>{"use strict";o.d(t,{Caret:()=>d});var n=o(59496),r=o(97754),s=o.n(r),i=o(9745),a=o(89974),l=o(99171);function c(e){const{isDropped:t}=e;return n.createElement(i.Icon,{className:s()(l.icon,t&&l.dropped),icon:a})}function d(e){const{className:t,disabled:o,isDropped:r}=e;return n.createElement("span",{className:s()(l.button,o&&l.disabled,t)},n.createElement(c,{isDropped:r}))}},96722:(e,t,o)=>{"use strict";o.d(t,{Label:()=>l});var n=o(59496),r=o(97754),s=o.n(r),i=o(78274),a=o(28335);function l(e){const{htmlFor:t,children:o,className:r,id:l,...c}=e;return n.createElement(i.BeforeSlot,{...c,className:s()(a.label,r)},n.createElement("label",{id:l,htmlFor:t},o))}},9481:(e,t,o)=>{"use strict";o.d(t,{KeyboardDocumentListener:()=>r});var n=o(59496);class r extends n.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},90692:(e,t,o)=>{"use strict";o.d(t,{MatchMedia:()=>r});var n=o(59496);class r extends n.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)}}},61074:(e,t,o)=>{"use strict";o.d(t,{Spinner:()=>i});var n=o(59496),r=o(97754),s=o(33134);o(24780);function i(e){const t=r(e.className,"tv-spinner","tv-spinner--shown","tv-spinner--size_"+s.spinnerSizeMap[e.size||s.DEFAULT_SIZE]);return n.createElement("div",{className:t,style:e.style,role:"progressbar"})}},18041:(e,t,o)=>{"use strict";o.d(t,{TooltipWidget:()=>l});var n=o(59496),r=o(97754),s=o(9745),i=(o(65718),o(73366)),a=o(44443);n.PureComponent;function l(e){const{className:t,containerClassName:o,contentClassName:l,reference:c,style:d,arrow:u=!0,arrowClassName:h,arrowReference:m,onClose:p,arrowStyle:f,children:v,...g}=e;return n.createElement("div",{...g,className:t,ref:c,style:d},u&&n.createElement("div",{className:h,ref:m,style:f}),n.createElement("div",{className:r(a.container,o)},n.createElement("div",{ +className:r(a.content,l)},v),p&&n.createElement(s.Icon,{className:a.closeButton,icon:i,onClick:p})))}},64120:e=>{e.exports=''},12565:e=>{e.exports=''},95781:e=>{e.exports=''},7801:e=>{e.exports=''},33584:e=>{e.exports=''},89974:e=>{e.exports=''},4135:e=>{e.exports=''},73366:e=>{e.exports=''},94254:e=>{e.exports=''},79826:e=>{ +e.exports=''},86240:e=>{"use strict";e.exports=JSON.parse('{"size-header-height":"64px","media-phone":"screen and (max-width: 767px)","media-mf-phone-landscape":"screen and (min-width: 568px)","media-mf-tablet-vertical":"screen and (min-width: 768px)","media-mf-tablet-landscape":"screen and (min-width: 1024px)","media-mf-laptop":"screen and (min-width: 1280px)"}')}}]); \ No newline at end of file diff --git a/charting_library/bundles/f071c28bf387d220afe4bd2c6f60323a.svg b/charting_library/bundles/f071c28bf387d220afe4bd2c6f60323a.svg new file mode 100644 index 00000000..4519cd60 --- /dev/null +++ b/charting_library/bundles/f071c28bf387d220afe4bd2c6f60323a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f073a4ed2f2edbf549bad8b3c546af03.svg b/charting_library/bundles/f073a4ed2f2edbf549bad8b3c546af03.svg new file mode 100644 index 00000000..eb17f498 --- /dev/null +++ b/charting_library/bundles/f073a4ed2f2edbf549bad8b3c546af03.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f10291bc2bf8e3dea0bb036041d3e89f.svg b/charting_library/bundles/f10291bc2bf8e3dea0bb036041d3e89f.svg new file mode 100644 index 00000000..db96acf2 --- /dev/null +++ b/charting_library/bundles/f10291bc2bf8e3dea0bb036041d3e89f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f15ab85cea9ea5749e2befe786e1c9d3.svg b/charting_library/bundles/f15ab85cea9ea5749e2befe786e1c9d3.svg new file mode 100644 index 00000000..ea9466bc --- /dev/null +++ b/charting_library/bundles/f15ab85cea9ea5749e2befe786e1c9d3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f29883fbecb99912bbfeb0897f8b4edc.svg b/charting_library/bundles/f29883fbecb99912bbfeb0897f8b4edc.svg new file mode 100644 index 00000000..16bb47d4 --- /dev/null +++ b/charting_library/bundles/f29883fbecb99912bbfeb0897f8b4edc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f3530d099857810e5d04b52373b1cb41.svg b/charting_library/bundles/f3530d099857810e5d04b52373b1cb41.svg new file mode 100644 index 00000000..4e2e16f6 --- /dev/null +++ b/charting_library/bundles/f3530d099857810e5d04b52373b1cb41.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f3fb677a4f9680b6b5f45fc41b04688d.svg b/charting_library/bundles/f3fb677a4f9680b6b5f45fc41b04688d.svg new file mode 100644 index 00000000..92525cea --- /dev/null +++ b/charting_library/bundles/f3fb677a4f9680b6b5f45fc41b04688d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f4d0c0597f2db7dcd7cd774b822de366.svg b/charting_library/bundles/f4d0c0597f2db7dcd7cd774b822de366.svg new file mode 100644 index 00000000..c0bf1cd7 --- /dev/null +++ b/charting_library/bundles/f4d0c0597f2db7dcd7cd774b822de366.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f5ed10ec1625eb393ada7073b9afd17e.svg b/charting_library/bundles/f5ed10ec1625eb393ada7073b9afd17e.svg new file mode 100644 index 00000000..cfc1b615 --- /dev/null +++ b/charting_library/bundles/f5ed10ec1625eb393ada7073b9afd17e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f6f3045f75b50af8eb75a84a81c1816f.svg b/charting_library/bundles/f6f3045f75b50af8eb75a84a81c1816f.svg new file mode 100644 index 00000000..0a012446 --- /dev/null +++ b/charting_library/bundles/f6f3045f75b50af8eb75a84a81c1816f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f8385849a7dacc12bc2195528ceb1085.svg b/charting_library/bundles/f8385849a7dacc12bc2195528ceb1085.svg new file mode 100644 index 00000000..3b7a1357 --- /dev/null +++ b/charting_library/bundles/f8385849a7dacc12bc2195528ceb1085.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f869295c1d9ceedfc8c6ddd92efb8ca2.svg b/charting_library/bundles/f869295c1d9ceedfc8c6ddd92efb8ca2.svg new file mode 100644 index 00000000..44de3da6 --- /dev/null +++ b/charting_library/bundles/f869295c1d9ceedfc8c6ddd92efb8ca2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f89dbcaf40a5563735910a76243dc1b3.svg b/charting_library/bundles/f89dbcaf40a5563735910a76243dc1b3.svg new file mode 100644 index 00000000..ba2af0c6 --- /dev/null +++ b/charting_library/bundles/f89dbcaf40a5563735910a76243dc1b3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f8f54d8b574077d60ffb81a4bc19ed57.svg b/charting_library/bundles/f8f54d8b574077d60ffb81a4bc19ed57.svg new file mode 100644 index 00000000..a1d666df --- /dev/null +++ b/charting_library/bundles/f8f54d8b574077d60ffb81a4bc19ed57.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/f98fa40daa7d9e2981645268d2a38d52.svg b/charting_library/bundles/f98fa40daa7d9e2981645268d2a38d52.svg new file mode 100644 index 00000000..21251a7e --- /dev/null +++ b/charting_library/bundles/f98fa40daa7d9e2981645268d2a38d52.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/fa0f0ffdb522cb20d692df5233f45074.jpeg b/charting_library/bundles/fa0f0ffdb522cb20d692df5233f45074.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..cd6beb961bc443c242fa5afff2a201cd4b982397 GIT binary patch literal 29337 zcmeGDcU03^w>XSvELcW#Kv9}7N)zd!8KgY6K&S&kAVfe)LI(*&Iy0g;U;s%-VnQ3~ zC4fl;3{|8^NI?j_E1@F-(m{AL&t1>&xoiFI_uloc_5Sm|>z=H9K0BxEbIv~d>~i+W z;o#vU;1^Rc1Pu7;Cjj6l{s(aQ<;XS2ojWeS*;s)g=J)_&P&UT5 ze|3O4{`z;`zmlta@S}gh|HYe+ce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vlRPe~U>}AP1t6$p zvHZZZx@6h#ZXxYwn}OMqb{BnxsRMAq0^>^R25j@*+gPr=9ZZU1s(+7q0IhmOKL{99 zpn)){n!V#yDWx*k7%XK~nKDeJ1$IN;!qLLwfQ7W|)r&rm%hIxF$z5=es+A;2ddE*R z!w%p^JJ8P$|IZQ+#Kl#C;JBzziekq78nl7G0w7XV1uQ{L0y};sS?Z^X!Ss}-DE-mE zvOD#N@7t+FkFpNc$KK~*6tH*PcChyt`SyhT&e{p4k@TF737fkq^EK`w%T*TH=|E`qG&E&h3B;{V(Z>Hp;#uV4Na F{vT&zTWbIS literal 0 HcmV?d00001 diff --git a/charting_library/bundles/fba03cbebf73ac8a537f901ec25dd0be.svg b/charting_library/bundles/fba03cbebf73ac8a537f901ec25dd0be.svg new file mode 100644 index 00000000..3a66ef88 --- /dev/null +++ b/charting_library/bundles/fba03cbebf73ac8a537f901ec25dd0be.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/fbd9c87447564af33463832c85652af0.svg b/charting_library/bundles/fbd9c87447564af33463832c85652af0.svg new file mode 100644 index 00000000..04e6fb63 --- /dev/null +++ b/charting_library/bundles/fbd9c87447564af33463832c85652af0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/fd1f2a821ac21b8c757f95ba0b5032e0.svg b/charting_library/bundles/fd1f2a821ac21b8c757f95ba0b5032e0.svg new file mode 100644 index 00000000..0e246698 --- /dev/null +++ b/charting_library/bundles/fd1f2a821ac21b8c757f95ba0b5032e0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/fd3642416e066a41978041df1fce04c8.svg b/charting_library/bundles/fd3642416e066a41978041df1fce04c8.svg new file mode 100644 index 00000000..4e00187f --- /dev/null +++ b/charting_library/bundles/fd3642416e066a41978041df1fce04c8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/fe631cd46d01b4816097228f3591db19.svg b/charting_library/bundles/fe631cd46d01b4816097228f3591db19.svg new file mode 100644 index 00000000..d0f9d26f --- /dev/null +++ b/charting_library/bundles/fe631cd46d01b4816097228f3591db19.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/fe924d5d871ef07299ad5e11db2c8a70.svg b/charting_library/bundles/fe924d5d871ef07299ad5e11db2c8a70.svg new file mode 100644 index 00000000..7c713c38 --- /dev/null +++ b/charting_library/bundles/fe924d5d871ef07299ad5e11db2c8a70.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/ff8661f5c81b7137caa81145ed74b154.svg b/charting_library/bundles/ff8661f5c81b7137caa81145ed74b154.svg new file mode 100644 index 00000000..5cf48d7f --- /dev/null +++ b/charting_library/bundles/ff8661f5c81b7137caa81145ed74b154.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/floating-toolbars.9319534e46a9e0511fbc.js b/charting_library/bundles/floating-toolbars.9319534e46a9e0511fbc.js deleted file mode 100644 index 57902ae8..00000000 --- a/charting_library/bundles/floating-toolbars.9319534e46a9e0511fbc.js +++ /dev/null @@ -1,27 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2306],{66783:t=>{"use strict";var e=Object.prototype.hasOwnProperty;function o(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}t.exports=function(t,i){if(o(t,i))return!0;if("object"!=typeof t||null===t||"object"!=typeof i||null===i)return!1;var n=Object.keys(t),s=Object.keys(i);if(n.length!==s.length)return!1;for(var r=0;r{},42024:()=>{},6539:t=>{t.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},99376:()=>{},24302:()=>{},64547:t=>{t.exports={button:"button-SS83RYhy"}},69124:t=>{t.exports={wrap:"wrap-HhKLwxmq",icon:"icon-HhKLwxmq",colorBg:"colorBg-HhKLwxmq",color:"color-HhKLwxmq",multicolor:"multicolor-HhKLwxmq",white:"white-HhKLwxmq"}},88168:t=>{t.exports={button:"button-Ou6proUJ"}},2680:t=>{t.exports={item:"item-Fil3AvDD",withIcon:"withIcon-Fil3AvDD",icon:"icon-Fil3AvDD",labelRow:"labelRow-Fil3AvDD",multiWidth:"multiWidth-Fil3AvDD",buttonWrap:"buttonWrap-Fil3AvDD",buttonLabel:"buttonLabel-Fil3AvDD"}},10667:t=>{t.exports={container:"container-WiTVOllB",sectionTitle:"sectionTitle-WiTVOllB",separator:"separator-WiTVOllB",customButton:"customButton-WiTVOllB"}},99565:t=>{t.exports={container:"container-UpS01XRM",form:"form-UpS01XRM",swatch:"swatch-UpS01XRM",inputWrap:"inputWrap-UpS01XRM",inputHash:"inputHash-UpS01XRM",input:"input-UpS01XRM",buttonWrap:"buttonWrap-UpS01XRM",hueSaturationWrap:"hueSaturationWrap-UpS01XRM",saturation:"saturation-UpS01XRM",hue:"hue-UpS01XRM"}},24429:t=>{t.exports={hue:"hue-oQv2KoOx",pointer:"pointer-oQv2KoOx",pointerContainer:"pointerContainer-oQv2KoOx"}},15381:t=>{t.exports={opacity:"opacity-YL5Gjk00",opacitySlider:"opacitySlider-YL5Gjk00",opacitySliderGradient:"opacitySliderGradient-YL5Gjk00",pointer:"pointer-YL5Gjk00",dragged:"dragged-YL5Gjk00",opacityPointerWrap:"opacityPointerWrap-YL5Gjk00",opacityInputWrap:"opacityInputWrap-YL5Gjk00",opacityInput:"opacityInput-YL5Gjk00", -opacityInputPercent:"opacityInputPercent-YL5Gjk00"}},88440:t=>{t.exports={saturation:"saturation-lJHGRPyu",pointer:"pointer-lJHGRPyu"}},24590:t=>{t.exports={swatches:"swatches-qgksmXjR",swatch:"swatch-qgksmXjR",hover:"hover-qgksmXjR",empty:"empty-qgksmXjR",white:"white-qgksmXjR",selected:"selected-qgksmXjR",contextItem:"contextItem-qgksmXjR"}},94720:(t,e,o)=>{"use strict";o.d(e,{Button:()=>y});var i=o(59496),n=o(97754),s=o(95604),r=o(9745),a=o(6539),l=o.n(a);function c(t){const{color:e="brand",size:o="medium",variant:i="primary",stretch:r=!1,icon:a,startIcon:c,endIcon:d,iconOnly:h=!1,className:p,isGrouped:u,cellState:g,disablePositionAdjustment:_=!1}=t,m=function(t){let e="";return 0!==t&&(1&t&&(e=n(e,l()["no-corner-top-left"])),2&t&&(e=n(e,l()["no-corner-top-right"])),4&t&&(e=n(e,l()["no-corner-bottom-right"])),8&t&&(e=n(e,l()["no-corner-bottom-left"]))),e}((0,s.getGroupCellRemoveRoundBorders)(g));return n(p,l().button,l()["size-"+o],l()["color-"+e],l()["variant-"+i],r&&l().stretch,(a||c)&&l()["with-start-icon"],d&&l()["with-end-icon"],h&&l()["icon-only"],m,u&&l().grouped,u&&!_&&l()["adjust-position"],u&&g.isTop&&l()["first-row"],u&&g.isLeft&&l()["first-col"])}function d(t){const{size:e,startIcon:o,icon:n,iconOnly:s,children:a,endIcon:c}=t,d=null!=o?o:n;return i.createElement(i.Fragment,null,d&&"xsmall"!==e&&i.createElement(r.Icon,{icon:d,className:l()["start-icon-wrap"]}),a&&i.createElement("span",{className:l().content},a),c&&!s&&"xsmall"!==e&&i.createElement(r.Icon,{icon:c,className:l()["end-icon-wrap"]}))}var h=o(86332),p=o(90186);function u(t){const{className:e,color:o,variant:i,size:n,stretch:s,animated:r,icon:a,iconOnly:l,startIcon:c,endIcon:d,...h}=t;return{...h,...(0,p.filterDataProps)(t),...(0,p.filterAriaProps)(t)}}function g(t){const{reference:e,...o}=t,{isGrouped:n,cellState:s,disablePositionAdjustment:r}=(0,i.useContext)(h.ControlGroupContext),a=c({...o,isGrouped:n,cellState:s,disablePositionAdjustment:r});return i.createElement("button",{...u(o),className:a,ref:e},i.createElement(d,{...o}))}function _(t="default"){switch(t){case"default":return"primary";case"stroke":return"secondary"}}function m(t="primary"){switch(t){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function v(t="m"){switch(t){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function w(t){const{intent:e,size:o,appearance:i,useFullWidth:n,icon:s,...r}=t;return{...r,color:m(e),size:v(o),variant:_(i),stretch:n,startIcon:s}}function y(t){return i.createElement(g,{...w(t)})}},86332:(t,e,o)=>{"use strict";o.d(e,{ControlGroupContext:()=>i});const i=o(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(t,e,o)=>{"use strict";function i(t){let e=0;return t.isTop&&t.isLeft||(e+=1),t.isTop&&t.isRight||(e+=2),t.isBottom&&t.isLeft||(e+=8),t.isBottom&&t.isRight||(e+=4),e}o.d(e,{getGroupCellRemoveRoundBorders:()=>i})},14593:(t,e,o)=>{"use strict";o.d(e,{ToolWidgetIconButton:()=>a}) -;var i=o(59496),n=o(97754),s=o(4825),r=o(64547);const a=i.forwardRef((t,e)=>{const{className:o,id:a,...l}=t;return i.createElement(s.ToolWidgetButton,{"data-name":a,...l,ref:e,className:n(o,r.button)})})},56588:(t,e,o)=>{"use strict";o.r(e),o.d(e,{FavoriteDrawingToolbar:()=>_});var i=o(28353),n=o(95952),s=o(89377),r=o(32563),a=o(62046),l=o(28296),c=o(97056),d=o(85733),h=o(92469),p=o(56840),u=o(52714),g=o.n(u);o(99376);class _ extends n.FloatingToolbar{constructor(t){super({allowSortable:!r.mobiletouch,dragOnlyInsideToolbar:!0,defaultPosition:t,positionSettingsKey:"chart.favoriteDrawingsPosition",positionStorageType:"device"}),this._linetoolsWidgets={},this._canBeShownValue=new(g())(!1),this._attachHandlers(),this._loadVisibilityState(),this._hideAction=this._createHideToolbarAction()}show(){this._canBeShownValue.value()&&(p.setValue("ChartFavoriteDrawingToolbarWidget.visible",!0),this.isVisible()||this._renderAllLinetools(),super.show())}hide(){p.setValue("ChartFavoriteDrawingToolbarWidget.visible",!1),super.hide()}canBeShown(){return this._canBeShownValue.readonly()}_correctPosition(t){super._correctPosition(t);const e=this._getSavedPosition();if(!e)return;const o=this._getCorrectedWidgetRect();if(!o.width)return;const i=window.innerWidth-o.right,n=window.innerHeight-o.bottom;e.left>t.left&&i>0&&(t.left=Math.min(t.left+i,e.left)),e.top>t.top&&n>0&&(t.top=Math.min(t.top+n,e.top))}_onFavoriteAdded(t){this._canBeShownValue.setValue(!0),this.addWidget(this._createLinetoolWidget(t)),this.show()}_onFavoriteRemoved(t){this.removeWidget(this._linetoolsWidgets[t]),delete this._linetoolsWidgets[t],0===s.LinetoolsFavoritesStore.favoritesCount()&&(this._canBeShownValue.setValue(!1),this.hide())}_onFavoriteMoved(){this._renderAllLinetools()}_onSelectedLinetoolChanged(t){Object.keys(this._linetoolsWidgets).forEach(e=>{this._linetoolsWidgets[e].classList.toggle("i-active",t===e)})}_createLinetoolWidget(t){const e=`${h.lineToolsInfo[t].icon}`,o=(0,a.parseHtmlElement)(e);return o.addEventListener("click",e=>{e.preventDefault(),d.tool.value()!==t&&d.tool.setValue(t)}),this._linetoolsWidgets[t]=o,o}_renderAllLinetools(){this._linetoolsWidgets={},this.removeWidgets(),s.LinetoolsFavoritesStore.favorites().filter(t=>h.lineToolsInfo[t]).forEach(t=>{this.addWidget(this._createLinetoolWidget(t))})}_attachHandlers(){s.LinetoolsFavoritesStore.favoriteAdded.subscribe(this,this._onFavoriteAdded),s.LinetoolsFavoritesStore.favoriteRemoved.subscribe(this,this._onFavoriteRemoved),s.LinetoolsFavoritesStore.favoriteMoved.subscribe(this,this._onFavoriteMoved),s.LinetoolsFavoritesStore.favoritesSynced.subscribe(null,()=>{this._loadVisibilityState(),this._renderAllLinetools()}),this.onWidgetsReordered().subscribe(this,(t,e)=>{if(s.LinetoolsFavoritesStore.favoriteMoved.unsubscribe(this,this._onFavoriteMoved), -!s.LinetoolsFavoritesStore.moveFavorite(s.LinetoolsFavoritesStore.favorite(t),e))throw new Error("Something went wrong");s.LinetoolsFavoritesStore.favoriteMoved.subscribe(this,this._onFavoriteMoved)}),this.onContextMenu(t=>{t.preventDefault(),c.ContextMenuManager.showMenu([this._hideAction],t)}),d.tool.subscribe(this._onSelectedLinetoolChanged.bind(this))}_createHideToolbarAction(){return new l.Action({actionId:"Chart.FavoriteDrawingToolsToolbar.Hide",label:(0,i.t)("Hide Favorite Drawing Tools Toolbar"),onExecute:()=>{this.hide()}})}_loadVisibilityState(){const t=s.LinetoolsFavoritesStore.favoritesCount()>0;this._canBeShownValue.setValue(t);p.getBool("ChartFavoriteDrawingToolbarWidget.visible",!0)&&t?this.show():this.hide()}}},95952:(t,e,o)=>{"use strict";o.d(e,{FLOATING_TOOLBAR_REACT_WIDGETS_CLASS:()=>S,FloatingToolbar:()=>T});var i=o(59064),n=o(32563),s=o(68587),r=o(56840),a=o(2872),l=o.n(a),c=o(52714),d=o.n(c),h=o(38881);class p extends h.ChunkLoader{_startLoading(){return Promise.all([o.e(1553),o.e(2377)]).then(o.bind(o,13367)).then(t=>t.HammerJS)}}var u=o(11417),g=o(88537);function _(t,e=!1){const o=getComputedStyle(t),i=[o.height];return"border-box"!==o.boxSizing&&i.push(o.paddingTop,o.paddingBottom,o.borderTopWidth,o.borderBottomWidth),e&&i.push(o.marginTop,o.marginBottom),i.reduce((t,e)=>t+(parseFloat(e)||0),0)}function m(t,e=!1){const o=getComputedStyle(t),i=[o.width];return"border-box"!==o.boxSizing&&i.push(o.paddingLeft,o.paddingRight,o.borderLeftWidth,o.borderRightWidth),e&&i.push(o.marginLeft,o.marginRight),i.reduce((t,e)=>t+(parseFloat(e)||0),0)}var v=o(49483);class w{constructor(t){var e,o;this._helper=null,this._handleDragStart=t=>{var e;if(null!==this._helper)return;const o=this._source;o.classList.add("ui-draggable-dragging");const[i,n]=[m(o),_(o)];this._helper={startTop:parseFloat(o.style.top)||0,startLeft:parseFloat(o.style.left)||0,nextTop:null,nextLeft:null,raf:null,size:[i,n],containment:this._containment instanceof HTMLElement?[parseInt(getComputedStyle(this._containment).borderLeftWidth)+parseInt(getComputedStyle(this._containment).paddingLeft),parseInt(getComputedStyle(this._containment).borderTopWidth)+parseInt(getComputedStyle(this._containment).paddingTop),this._containment.offsetWidth-parseInt(getComputedStyle(this._containment).borderRightWidth)-parseInt(getComputedStyle(this._containment).paddingRight)-parseInt(getComputedStyle(o).marginLeft)-parseInt(getComputedStyle(o).marginRight)-i,this._containment.offsetHeight-parseInt(getComputedStyle(this._containment).borderBottomWidth)-parseInt(getComputedStyle(this._containment).paddingBottom)-parseInt(getComputedStyle(o).marginTop)-parseInt(getComputedStyle(o).marginBottom)-n]:"window"===this._containment?[window.scrollX,window.scrollY,window.scrollX+document.documentElement.offsetWidth-i,window.scrollY+document.documentElement.offsetHeight-n]:null},null===(e=this._start)||void 0===e||e.call(this)},this._handleDragMove=t=>{var e;if(null===this._helper)return -;const{current:o,initial:i}=t.detail,n=this._source,s=this._helper.nextTop,r=this._helper.nextLeft,a="y"===this._axis||!1===this._axis||0!==o.movementY;if(a){const t=this._helper.startTop;isFinite(t)&&(this._helper.nextTop=o.clientY-i.clientY+t)}const l="x"===this._axis||!1===this._axis||0!==o.movementY;if(l){const t=this._helper.startLeft;isFinite(t)&&(this._helper.nextLeft=o.clientX-i.clientX+t)}if(null!==this._helper.containment){const[t,e,o,i]=this._helper.containment;a&&this._helper.nextTop&&(this._helper.nextTop=Math.min(this._helper.nextTop,i),this._helper.nextTop=Math.max(this._helper.nextTop,e)),l&&this._helper.nextLeft&&(this._helper.nextLeft=Math.min(this._helper.nextLeft,o),this._helper.nextLeft=Math.max(this._helper.nextLeft,t))}null!==this._helper.raf||s===this._helper.nextTop&&r===this._helper.nextLeft||(this._helper.raf=requestAnimationFrame(()=>{null!==this._helper&&(null!==this._helper.nextTop&&(n.style.top=this._helper.nextTop+"px",this._helper.nextTop=null),null!==this._helper.nextLeft&&(n.style.left=this._helper.nextLeft+"px",this._helper.nextLeft=null),this._helper.raf=null)})),null===(e=this._drag)||void 0===e||e.call(this)},this._handleDragStop=t=>{var e;if(null===this._helper)return;this._source.classList.remove("ui-draggable-dragging"),this._helper=null,null===(e=this._stop)||void 0===e||e.call(this)};const i=this._source=t.source;i.classList.add("ui-draggable");const n=this._handle=null!==(e=t.handle?i.querySelector(t.handle):null)&&void 0!==e?e:i;n.classList.add("ui-draggable-handle"),this._start=t.start,this._stop=t.stop,this._drag=t.drag,this._backend=new y({handle:n,onDragStart:this._handleDragStart,onDragMove:this._handleDragMove,onDragStop:this._handleDragStop}),this._axis=null!==(o=t.axis)&&void 0!==o&&o,this._containment=t.containment}destroy(){const t=this._source;t.classList.remove("ui-draggable"),t.classList.remove("ui-draggable-dragging");this._handle.classList.remove("ui-draggable-handle"),this._backend.destroy(),null!==this._helper&&(this._helper.raf&&cancelAnimationFrame(this._helper.raf),this._helper=null)}}class y{constructor(t){this._initial=null,this._handlePointerDown=t=>{if(null!==this._initial)return;if(!(t.target instanceof Element&&this._handle.contains(t.target)))return;if(this._initial=t,!this._dispatchEvent(this._createEvent("pointer-drag-start",t)))return void(this._initial=null);t.preventDefault();const e=this._getEventTarget();e.addEventListener("pointermove",this._handlePointerMove),e.addEventListener("pointerup",this._handlePointerUp),e.addEventListener("pointercancel",this._handlePointerUp),e.addEventListener("lostpointercapture",this._handlePointerUp),e.setPointerCapture(t.pointerId)},this._handlePointerMove=t=>{null!==this._initial&&this._initial.pointerId===t.pointerId&&(t.preventDefault(),this._dispatchEvent(this._createEvent("pointer-drag-move",t)))},this._handlePointerUp=t=>{if(null===this._initial||this._initial.pointerId!==t.pointerId)return;t.preventDefault();const e=this._getEventTarget() -;e.removeEventListener("pointermove",this._handlePointerMove),e.removeEventListener("pointerup",this._handlePointerUp),e.removeEventListener("pointercancel",this._handlePointerUp),e.removeEventListener("lostpointercapture",this._handlePointerUp),e.releasePointerCapture(this._initial.pointerId),this._dispatchEvent(this._createEvent("pointer-drag-stop",t)),this._initial=null};const e=this._handle=t.handle;this._onDragStart=t.onDragStart,this._onDragMove=t.onDragMove,this._onDragStop=t.onDragStop,e.style.touchAction="none";this._getEventTarget().addEventListener("pointerdown",this._handlePointerDown)}destroy(){this._handle.style.touchAction="";const t=this._getEventTarget();t.removeEventListener("pointerdown",this._handlePointerDown),t.removeEventListener("pointermove",this._handlePointerMove),t.removeEventListener("pointerup",this._handlePointerUp),t.removeEventListener("pointercancel",this._handlePointerUp),t.removeEventListener("lostpointercapture",this._handlePointerUp),null!==this._initial&&(t.releasePointerCapture(this._initial.pointerId),this._initial=null)}_getEventTarget(){return v.CheckMobile.iOS()||(0,v.isMac)()&&n.touch?window.document.documentElement:this._handle}_dispatchEvent(t){switch(t.type){case"pointer-drag-start":this._onDragStart(t);break;case"pointer-drag-move":this._onDragMove(t);break;case"pointer-drag-stop":this._onDragStop(t)}return!t.defaultPrevented}_createEvent(t,e){return(0,g.assert)(null!==this._initial),new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:{backend:this,initial:this._initial,current:e}})}}var b=o(62046),f=o(51768),C=o(25570);o(24302);const S="floating-toolbar-react-widgets",x=`
    ${C}
    `;class T{constructor(t){this._widget=document.createElement("div"),this._isVertical=!1,this._hiddingTimeoutId=null,this._visibility=new(d())(!1),this._windowResizeListener=this._onWindowResize.bind(this),this._reorderedDelegate=new(l()),this._responsiveResizeFunction=null,this._showTimeStamp=null,this._draggable=null,this._preventClickUntilAnimation=t=>{null!==this._showTimeStamp&&performance.now()-this._showTimeStamp{this.isVisible()&&this._widget.classList.remove("i-closed")})):this._widget.classList.remove("i-closed"),this._onWindowResize())}hide(t=!1){if(!this.isVisible())return;const e=this._widget.classList.contains("i-closed");if(this._widget.classList.add("i-closed"),this._visibility.setValue(!1),t||e)this._setHiddingTimeout(null),this._widget.classList.add("i-hidden");else{const t=setTimeout(()=>{this._setHiddingTimeout(null),this._widget.classList.add("i-hidden")},this.hideDuration());this._setHiddingTimeout(t)}window.removeEventListener("resize",this._windowResizeListener)}raise(){T._toolbars.length+T._startZIndex!==this._zIndex()&&(T._toolbars.splice(T._toolbars.indexOf(this),1),T._toolbars.push(this),T._updateAllZIndexes())}hideDuration(){return.75*s.dur}addWidget(t,e={}){const o=this.widgetsCount();if(void 0===e.index&&(e.index=o),e.index<0||e.index>o)throw new Error(`Index must be in [0, ${o}]`);const i=document.createElement("div");i.className="tv-floating-toolbar__widget js-widget",i.appendChild(t);const n=e.index===o?null:this._content.childNodes.item(e.index);this._content.insertBefore(i,n),this._onWindowResize()}getReactWidgetContainer(){return this._reactWidgetsContainer}removeWidget(t){const e=this._findWrapperForWidget(t);e&&(this._content.removeChild(e),this._onWindowResize())}widgetsCount(){return this._content.childNodes.length}showWidget(t){const e=this._findWrapperForWidget(t);e&&e.classList.remove("i-hidden")}hideWidget(t){const e=this._findWrapperForWidget(t);e&&e.classList.add("i-hidden")}removeWidgets(){for(;this._content.firstChild;)this._content.removeChild(this._content.firstChild);this._onWindowResize()}onWidgetsReordered(){return this._reorderedDelegate}onContextMenu(t){if(n.mobiletouch){(new p).load().then(e=>{const o=new e(this._widget);o.get("press").set({time:500}),o.on("press",e=>{this._preventWidgetTouchEndEvent(),t(e.srcEvent)})})}else this._widget.addEventListener("contextmenu",t)}checkPosition(){const t=this._getCorrectedWidgetRect(),e={left:t.left,top:t.top};this._correctPosition(e),t.left===e.left&&t.top===e.top||(this._widget.style.left=e.left+"px",this._widget.style.top=e.top+"px")} -_determineCurrentLayoutVertical(t){const e=this._isVertical?t.height:t.width;return window.innerWidthwindow.innerWidth&&(t.left=Math.max(0,window.innerWidth-e.width)),t.top+e.height>window.innerHeight&&(t.top=Math.max(0,window.innerHeight-e.height)),t.left=Math.max(0,t.left),t.top=Math.max(0,t.top)}_getCorrectedWidgetRect(){const t=this._widget.getBoundingClientRect();if(this._widget.classList.contains("i-closed")){const e=1/.925-1,o=t.width*e,i=t.height*e;return{bottom:t.bottom+i/2,height:t.height+i,left:t.left-o/2,right:t.right+o/2,top:t.top-i/2,width:t.width+o}}return t}_getSavedPosition(){var t;let e;if("device"===this._options.positionStorageType){const t=u.TVLocalStorage.getItem(this._options.positionSettingsKey);e=null!==t?JSON.parse(t):null}else e=null!==(t=(0,r.getJSON)(this._options.positionSettingsKey))&&void 0!==t?t:null;return null!==e&&"top"in e&&"left"in e?e:null}_setHiddingTimeout(t){null!==this._hiddingTimeoutId&&clearTimeout(this._hiddingTimeoutId),this._hiddingTimeoutId=t}_preventWidgetTouchEndEvent(){const t=e=>{e.preventDefault(),this._widget.removeEventListener("touchend",t)};this._widget.addEventListener("touchend",t)}_updateLayoutType(){this._widget.classList.toggle("i-vertical",this._isVertical)}_updateAxisOption(){0}_onWindowResize(){if("auto"===(this._options.layout||"auto")){const t=this._isVertical,e=this._getCorrectedWidgetRect();this._isVertical=this._determineCurrentLayoutVertical(e),this._updateLayoutType(),t!==this._isVertical&&(this._onVerticalChanged(this._isVertical,t),this._updateAxisOption())}this.checkPosition(),this._resizeResponsive()}_resizeResponsive(){if(null===this._responsiveResizeFunction)return;let t=this._options.layout||"auto";"auto"===t&&(t=this._isVertical?"vertical":"horizontal");const e="vertical"===t?this._widget.clientHeight:this._widget.clientWidth,o=("vertical"===t?window.innerHeight:window.innerWidth)-e;this._responsiveResizeFunction(e,o,t)}_setZIndex(t){this._widget.style.zIndex=String(t)}_zIndex(){return Number(this._widget.style.zIndex)}_loadPosition(){var t;const e=null!==(t=this._getSavedPosition())&&void 0!==t?t:this._options.defaultPosition;this._widget.style.left=Math.round(e.left)+"px",this._widget.style.top=Math.round(e.top)+"px",this._onWindowResize()}_savePosition(){const t=this._widget.getBoundingClientRect();if("device"===this._options.positionStorageType)try{u.TVLocalStorage.setItem(this._options.positionSettingsKey,JSON.stringify({left:t.left,top:t.top}))}catch(t){}else(0,r.setJSON)(this._options.positionSettingsKey,{left:t.left,top:t.top})}_init(){this._loadPosition(),this._draggable=new w({source:this._widget,containment:"window",handle:".js-drag",start:i.globalCloseMenu,stop:this._savePosition.bind(this) -}),this._widget.addEventListener("pointerdown",this.raise.bind(this))}_initSortable(){let t=-1;lazyJqueryUI(this._content).sortable({start:(e,o)=>{t=o.item.index()},stop:(e,o)=>{const i=o.item.index();t!==i&&((0,f.trackEvent)("Floating Toolbar","User Sort"),this._reorderedDelegate.fire(t,i))},tolerance:"pointer",distance:5,containment:!!this._options.dragOnlyInsideToolbar&&"parent",scroll:!1,placeholder:"sortable-placeholder",forcePlaceholderSize:!0}),this._updateAxisOption()}static _updateAllZIndexes(){T._toolbars.forEach((t,e)=>{t._setZIndex(T._startZIndex+e)})}}T._startZIndex=20,T._toolbars=[]},36052:(t,e,o)=>{"use strict";o.d(e,{LineToolPropertiesWidgetBase:()=>ft});var i=o(59496),n=o(87995),s=o(28353),r=o(24980),a=o(67337),l=o(52714),c=o.n(l),d=o(80643),h=o(14291),p=o(85733),u=o(37865),g=o(88537),_=o(2015),m=o.n(_);class v extends(m()){constructor(t,e,o){super(),this._listenersMappers=[],this._isProcess=!1,this._baseProperty=t,this._propertyApplier=e,this._undoText=o}destroy(){this._baseProperty.destroy()}value(){return this._baseProperty.value()}setValue(t){this._isProcess=!0,this._baseProperty.setValue(t,void 0,{applyValue:(t,e)=>this._propertyApplier.setProperty(t,e,this._undoText)}),this._isProcess=!1,this._listenersMappers.forEach(t=>{t.method.call(t.obj,this)})}subscribe(t,e){const o=o=>{this._isProcess||e.call(t,this)},i={obj:t,method:e,callback:o};this._listenersMappers.push(i),this._baseProperty.subscribe(t,o)}unsubscribe(t,e){var o;const i=(0,g.ensureDefined)(null===(o=this._listenersMappers.find(o=>o.obj===t&&o.method===e))||void 0===o?void 0:o.callback);this._baseProperty.unsubscribe(t,i)}unsubscribeAll(t){this._baseProperty.unsubscribeAll(t)}}var w=o(88451),y=o(84877),b=o(95952),f=o(24437);const C=b.FLOATING_TOOLBAR_REACT_WIDGETS_CLASS+"__button";function S(t){const{templateButton:e,propertyButtons:o,commonButtons:n,isDrawingFinished:s,activeChartWidget:r}=t,a=r.hasModel()&&r.model().selection().dataSources();return a&&a.length?i.createElement(y.MatchMediaMap,{rules:{isSmallWidth:f.DialogBreakpoints.TabletSmall,isSmallHeight:"screen and (max-height: 428px)"}},({isSmallWidth:t,isSmallHeight:e})=>i.createElement(i.Fragment,null,l(),s&&i.createElement(i.Fragment,null,Boolean(o.length)&&o.map((o,n)=>i.createElement(o.component,{...o.props,key:`${o.props.title}_${n}`,className:C,isSmallScreen:t||e})),Boolean(n.length)&&n.map((o,n)=>{const s=t||e;return s?o.showForSmallScreen?i.createElement(o.component,{...o.props,isSmallScreen:s,key:`${o.props.title}_${n}`,className:C}):null:i.createElement(o.component,{...o.props,key:`${o.props.title}_${n}`,className:C})})))):l();function l(){return null===e?null:i.createElement(e.component,{...e.props,isDrawingFinished:s,className:C})}}var x=o(51768),T=o(14593),P=o(57979);function W(t){const{title:e,activeChartWidget:o,className:n}=t;return i.createElement(T.ToolWidgetIconButton,{className:n,icon:P,title:e,onClick:async function(){(0,x.trackEvent)("GUI","Context action on drawings","Settings");const t=o.model().selection().lineDataSources(),e=t.length -;1===e?await o.showChartPropertiesForSource(t[0],void 0,{onWidget:o.onWidget()}):e>1&&await o.showChartPropertiesForSources({sources:t})},"data-name":"settings"})}var E=o(43982),k=o(97754),L=o(16534),B=o(88168);function I(t){const{className:e,...o}=t;return i.createElement(L.ToolButton,{className:k(e,B.button),tooltipPosition:"horizontal",...o})}var N=o(28358),M=o(56717);function A(t){const{activeChartWidget:e,className:o}=t,n=e.model().selection().lineDataSources();if(0===n.length)return null;const r=n[0].properties().frozen,a=(0,E.useProperty)(r),l=a?{title:(0,s.t)("Unlock"),icon:N}:{title:(0,s.t)("Lock"),icon:M};return i.createElement(I,{className:o,isActive:Boolean(a),onClick:function(){(0,x.trackEvent)("GUI","Context action on drawings","Lock"),e.toggleLockSelectedObject()},"data-name":Boolean(a)?"unlock":"lock",...l})}var D=o(78679);function V(t){const{title:e,activeChartWidget:o,className:n}=t;return i.createElement(T.ToolWidgetIconButton,{className:n,icon:D,title:e,"data-name":"remove",onClick:function(){(0,x.trackEvent)("GUI","Context action on drawings","Remove"),o.removeSelectedSources()}})}var R=o(9745),F=o(32563),z=o(68335),O=o(25760),j=o(35390),U=o(8312),H=o(28296),K=o(9481),Y=o(97056),G=o(61671),q=o(31328),$=o(26159),X=o(48111);function J(t){const{title:e,activeChartWidget:n,isSmallScreen:r,className:a}=t,l=n.model(),c=l.selection().lineDataSources(),[d,h]=(0,i.useState)([]),p=(0,i.useRef)(null),u=(0,i.useMemo)(()=>new G.ActionsProvider(n),[n]);return i.createElement(i.Fragment,null,i.createElement(K.KeyboardDocumentListener,{keyCode:27,eventType:"keyup",handler:function(){(0,g.ensureNotNull)(p.current).close()}}),i.createElement(j.ToolWidgetMenu,{className:a,ref:p,arrow:!1,onOpen:r?void 0:function(){const t=[new H.Action({actionId:"Chart.Source.VisualOrder",label:(0,s.t)("Visual order"),icon:$,subItems:_(),name:"visual-order"})],e=function(){const t=[],e=z.isMacKeyboard?" +":"",i=c.filter(t=>t.cloneable());i.length>0&&t.push(new H.Action({actionId:"Chart.LineTool.Clone",name:"clone",icon:o(16788),shortcutHint:z.humanReadableModifiers(O.Modifiers.Mod)+e+" Drag",label:(0,s.t)("Clone"),onExecute:()=>{l.cloneLineTools(i,!1),(0,x.trackEvent)("GUI","Context action on drawings","Clone")}}));const r=c.filter(t=>t.copiable());if(r.length>0){const o={actionId:"Chart.Clipboard.CopyLineTools",name:"copy",label:(0,s.t)("Copy"),shortcutHint:z.humanReadableModifiers(O.Modifiers.Mod)+e+" C",onExecute:()=>{n.chartWidgetCollection().clipboard.uiRequestCopy(r)}};t.push(new H.Action(o,"Copy"))}if(!function(){if(!(null==n?void 0:n.isMultipleLayout()))return!1;return c.some(t=>t.isSynchronizable())}())return t;return t.push(...(0,G.createSyncDrawingActions)(n,c)),t}();e.length&&t.push(new H.Separator,...e);t.push(new H.Separator,new H.Action({actionId:"Chart.SelectedObject.Hide",label:(0,s.t)("Hide"),icon:X,onExecute:()=>{n.hideSelectedObject()},name:"hide"})),h(Z(t))},onClick:r?function(t){u.contextMenuActionsForSources(c).then(e=>{ -window.matchMedia(f.DialogBreakpoints.TabletSmall).matches?Y.ContextMenuManager.showMenu(Z(e),t,{mode:"drawer","data-name":"more-menu"}):h(Z(e))})}:void 0,title:e,content:i.createElement(R.Icon,{icon:q}),"data-name":"more",menuDataName:"more-menu"},i.createElement(U.ActionsTable,{parentIsOpened:!0,items:d})));function _(){const t=[],e=l.availableZOrderOperations(c),o=new H.Action({actionId:"Chart.Source.VisualOrder.BringToFront",name:"bring-to-front",label:(0,s.t)("Bring to Front"),onExecute:()=>{l.bringToFront(c)},disabled:1===c.length&&!e.bringToFrontEnabled}),i=new H.Action({actionId:"Chart.Source.VisualOrder.SendToBack",name:"send-to-back",label:(0,s.t)("Send to Back"),onExecute:()=>{l.sendToBack(c)},disabled:1===c.length&&!e.sendToBackEnabled}),n=new H.Action({actionId:"Chart.Source.VisualOrder.BringForward",name:"bring-forward",label:(0,s.t)("Bring Forward"),onExecute:()=>{l.bringForward(c)},disabled:1===c.length&&!e.bringForwardEnabled}),r=new H.Action({actionId:"Chart.Source.VisualOrder.SendBackward",name:"send-backward",label:(0,s.t)("Send Backward"),onExecute:()=>{l.sendBackward(c)},disabled:1===c.length&&!e.sendBackwardEnabled});return t.push(o,i,n,r),t}}function Z(t){if(F.touch&&!window.matchMedia("(pointer:fine)").matches){const e=t.filter(t=>"Copy"!==t.id);if(e.length===t.length)return e;const o=[];return e.forEach(t=>{("separator"!==t.type||o.length>0&&"separator"!==o[o.length-1].type)&&o.push(t)}),o}return t}var Q=o(95936),tt=o(20618),et=o(19726),ot=o(56326);function it(t){const{property:e,propertyApplier:o,title:n,undoText:r,className:a}=t,l=(0,E.useProperty)(e),c=(0,i.useMemo)(()=>[new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeLineStyleToSolid",icon:tt,label:(0,s.t)("Line"),active:Q.LineStyle.Solid===l,onExecute:()=>o.setProperty(e,Q.LineStyle.Solid,r)}),new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeLineStyleToDashed",icon:et,label:(0,s.t)("Dashed line"),active:Q.LineStyle.Dashed===l,onExecute:()=>o.setProperty(e,Q.LineStyle.Dashed,r)}),new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeLineStyleToDotted",icon:ot,label:(0,s.t)("Dotted line"),active:Q.LineStyle.Dotted===l,onExecute:()=>o.setProperty(e,Q.LineStyle.Dotted,r)})],[o,e,l]);return i.createElement(j.ToolWidgetMenu,{className:a,arrow:!1,content:i.createElement(R.Icon,{icon:nt(l)}),title:n,"data-name":t["data-name"],menuDataName:t["data-name"]+"-menu"},i.createElement(U.ActionsTable,{items:c}))}function nt(t){switch(t){case Q.LineStyle.Solid:return tt;case Q.LineStyle.Dashed:return et;case Q.LineStyle.Dotted:return ot;default:return""}}const st=[10,11,12,14,16,20,24,28,32,40];function rt(t){const{property:e,propertyApplier:o,title:n,undoText:s,className:r}=t,a=(0,E.useProperty)(e),l=st.map(t=>new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeFontSizeProperty",label:t.toString(),onExecute:()=>o.setProperty(e,t,s),active:t===a}));return i.createElement(j.ToolWidgetMenu,{arrow:!1,content:a,className:r,title:n,"data-name":t["data-name"],menuDataName:t["data-name"]+"-menu"},i.createElement(U.ActionsTable,{items:l}))} -var at=o(2872),lt=o.n(at);o(42024),o(62632);class ct extends b.FloatingToolbar{constructor(t){super(ct._prepareOptions(t)),this._onWidgetStateChangedDelegate=new(lt()),this._statedWidgets=[],this._currentPopup=null,this._onWindowClickedListener=this._onWindowClicked.bind(this)}show(){super.show(),document.addEventListener("mousedown",this._onWindowClickedListener)}hide(t){super.hide(t),document.removeEventListener("mousedown",this._onWindowClickedListener)}destroy(){this._closePopup(),super.destroy()}addGroupedWidget(t,e={}){(0,g.assert)(t.states.length>0&&-1!==ct._getStateIndexById(t,t.currentStateId),`Argument is invalid (count: ${t.states.length}, state: ${t.currentStateId})`);const o=document.createElement("div");o.className="tv-grouped-floating-toolbar__widget-wrapper apply-common-tooltip",t.widgetAddClass&&o.classList.add(t.widgetAddClass),o.setAttribute("title",t.tooltip);const i={isEnabled:!0,statedWidget:t,toolbarWidget:o},n=this._onWidgetClicked.bind(this,i);i.clickListener=n,o.addEventListener("click",n),this._updateWidgetPreview(i),this.addWidget(o,e),this._statedWidgets.push(i)}findGroupedWidget(t){const e=this._statedWidgets.length;for(let o=0;o{const s=this._createSubWidget(t,i),r=this._onSubWidgetClicked.bind(this,t,i.id);s.addEventListener("click",r), -e.widgets.push({clickListener:r,stateWidget:i,widget:s}),s.classList.add("tv-grouped-floating-toolbar__sub-widget--slide-right-"+n),s.classList.add("tv-grouped-floating-toolbar__sub-widget--slide-left-"+(o-n+1)),i.readonly||e.element.appendChild(s)}),this._currentPopup=e,this._updateSubWidgetsState(t.statedWidget),t.toolbarWidget.classList.add("i-dropped"),this._getWidget().appendChild(this._currentPopup.element),Promise.resolve().then(()=>{this._currentPopup&&this._currentPopup.element.classList.add("i-opened")}),this._updatePopupPosition()}_closePopup(){if(this._statedWidgets.forEach(t=>{t.toolbarWidget.classList.remove("i-dropped")}),!this._currentPopup)return;const t=this._currentPopup.widgets,e=this._currentPopup.element;this._currentPopup=null,t.forEach(t=>{t.widget.removeEventListener("click",t.clickListener)}),e.classList.remove("i-opened"),e.addEventListener("transitionend",t=>{t.target===e&&this._getWidget().removeChild(e)})}_updateWidgetPreview(t){const e=ct._getStateIndexById(t.statedWidget,t.statedWidget.currentStateId);(0,g.assert)(-1!==e,"Unknown state id: "+t.statedWidget.currentStateId);const o=t.statedWidget.states[e].widget.cloneNode(!0);t.toolbarWidget.firstChild?t.toolbarWidget.replaceChild(o,t.toolbarWidget.firstChild):(t.toolbarWidget.appendChild(o),t.toolbarWidget.appendChild(ct._createCaret()))}_updateSubWidgetsState(t){this._currentPopup&&this._isPopupCreatedForWidget(t.id)&&this._currentPopup.widgets.forEach(e=>{e.widget.classList.toggle(ct._activeSubWidgetClass,e.stateWidget.id===t.currentStateId)})}_updatePopupPosition(){if(!this._currentPopup)return;const t=this._currentPopup.createdFor,e=this._getWidget().getBoundingClientRect(),o=this._findWrapperForWidget(t);if(!o||!this._currentPopup)throw new Error("Toolbar has no wrapper for preview's widget or there is no popup");const i=o.getBoundingClientRect(),n=this._currentPopup.element.getBoundingClientRect(),s=this._currentPopup.element;if(this.isVertical())s.classList.remove("tv-grouped-floating-toolbar__popup--at-top"),s.style.top=i.top-e.top+1+"px",s.style.left="",e.left>window.innerWidth-e.right?s.classList.add("tv-grouped-floating-toolbar__popup--at-left"):s.classList.remove("tv-grouped-floating-toolbar__popup--at-left");else{s.classList.remove("tv-grouped-floating-toolbar__popup--at-left");let t=0;i.left+n.width>window.innerWidth?e.left+n.width>window.innerWidth&&(t=e.width-n.width):t=i.left-e.left+1,s.style.left=t+"px",e.bottom+n.height>window.innerHeight?s.classList.add("tv-grouped-floating-toolbar__popup--at-top"):(s.classList.remove("tv-grouped-floating-toolbar__popup--at-top"),s.style.top="")}}_isPopupCreatedForWidget(t){return Boolean(this._currentPopup&&this._currentPopup.stateWidgetId===t)}_createSubWidget(t,e){const o=document.createElement("div");return o.className+="tv-grouped-floating-toolbar__sub-widget",t.statedWidget.stateWidgetAddClass&&o.classList.add(t.statedWidget.stateWidgetAddClass),o.appendChild(e.widget),o}_onSubWidgetClicked(t,e){this._closePopup(), -t.statedWidget.currentStateId!==e&&(this.setGroupedWidgetState(t.statedWidget.id,e),this._onWidgetStateChangedDelegate.fire(t.statedWidget.id,e))}_onWindowClicked(t){if(this.isVisible()&&this._currentPopup&&!ct._isEventInElement(t,this._currentPopup.element)){for(let e=0;e{p.isDirectionalMovementActive.value()||(t?this._floatingToolbar.hide(!0):this._toolbarRendered&&this._floatingToolbar.show())},this._chartWidgetCollection=t,this._floatingToolbar=new ct({defaultPosition:{top:dt.HEADER_TOOLBAR_HEIGHT_EXPANDED+15,left:window.innerWidth/2},positionSettingsKey:"properties_toolbar.position",positionStorageType:"device",layout:"horizontal","data-name":"drawing-toolbar"}),this._container=this._floatingToolbar.getReactWidgetContainer(),this._isToolMovingNowSpawn=p.isToolMovingNow.spawn(),this._isToolEditingNowSpawn=p.isToolEditingNow.spawn(),this._toolSpawn=p.tool.spawn(),this._iconToolSpawn=p.iconTool.spawn(),this._selectedSourcesSpawn=this._chartWidgetCollection.selectedSources.spawn(),this._isToolMovingNowSpawn.subscribe(this._handleSourceEdit),this._isToolEditingNowSpawn.subscribe(this._handleSourceEdit),this._toolSpawn.subscribe(this._onToolChanged.bind(this),{callWithLast:!0}),this._iconToolSpawn.subscribe(()=>this._onToolChanged(p.tool.value())),this._selectedSourcesSpawn.subscribe(()=>this.onSourceChanged(this.selectedSources())),this._chartWidgetCollection.onAboutToBeDestroyed.subscribe(this,this.destroy,!0)}destroy(){this._isToolMovingNowSpawn.destroy(),this._isToolEditingNowSpawn.destroy(),this._toolSpawn.destroy(),this._iconToolSpawn.destroy(),this._selectedSourcesSpawn.destroy()}activeChartWidget(){ -return this._chartWidgetCollection.activeChartWidget.value()}selectedSources(){return this._chartWidgetCollection.selectedSources.value().filter(h.isLineTool)}hide(){var t;this._updateVisibilityTimeout&&clearTimeout(this._updateVisibilityTimeout),this._updateVisibilityTimeout=setTimeout(()=>{(0,h.unsetNewToolProperties)(),this._floatingToolbar.hide(!0),this._isToolbarRendered()&&this._unmountToolbar(),this._clearProperties(),this._clearCommonButtons()},0),null===(t=this._lineToolsDoNotAffectChartInvalidation)||void 0===t||t.destroy(),delete this._lineToolsDoNotAffectChartInvalidation,delete this._propertyApplier}_propertyApplierImpl(){return this._propertyApplier||(this._lineToolsDoNotAffectChartInvalidation||(this._lineToolsDoNotAffectChartInvalidation=new ut.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1)),this._propertyApplier=new pt.PropertyApplierWithoutSavingChart(()=>this.activeChartWidget().model(),this._lineToolsDoNotAffectChartInvalidation)),this._propertyApplier}_clearProperties(){this._clearPropertyButtons(),this._lineWidthsProperty&&(this._lineWidthsProperty.destroy(),this._lineWidthsProperty=null),this._lineColorsProperty&&(this._lineColorsProperty.destroy(),this._lineColorsProperty=null),this._currentProperties&&(this._currentProperties=null)}_show(){this._updateVisibilityTimeout&&clearTimeout(this._updateVisibilityTimeout),this._updateVisibilityTimeout=setTimeout(()=>{this._renderToolbar(),this._floatingToolbar.show(),this._floatingToolbar.checkPosition()},0)}_addPropertyButton(t){this._propertyButtons.push(t),this._renderToolbar()}_addCommonButton(t){this._commonButtons.push(t),this._renderToolbar()}_addTemplatesButton(t){this._templatesButton=t}_renderToolbar(){null!==this._container&&this.activeChartWidget()&&this.activeChartWidget().hasModel()&&(n.render(i.createElement(S,{templateButton:this._templatesButton,propertyButtons:this._propertyButtons,commonButtons:this._commonButtons,isDrawingFinished:this._isDrawingFinished.value(),activeChartWidget:this.activeChartWidget()}),this._container),this._toolbarRendered=!0)}_unmountToolbar(){null!==this._container&&(n.unmountComponentAtNode(this._container),this._toolbarRendered=!1)}_clearTemplatesButton(){this._templatesButton=null}_clearPropertyButtons(){this._propertyButtons=[]}_clearCommonButtons(){this._commonButtons=[]}_isToolbarRendered(){return this._toolbarRendered}_createSettingsButton(){const t={component:W,props:{title:mt,activeChartWidget:this.activeChartWidget()}};this._addCommonButton(t)}_createLockButton(){const t={component:A,props:{title:"Lock",activeChartWidget:this.activeChartWidget()}};this._addCommonButton(t)}_createRemoveButton(){const t={component:V,props:{title:vt,activeChartWidget:this.activeChartWidget()},showForSmallScreen:!0};this._addCommonButton(t)}_createDotsButton(){this._addCommonButton({component:J,props:{title:wt,activeChartWidget:this.activeChartWidget()},showForSmallScreen:!0})}_createAlertButton(){}_createSourceActions(){this._createLockButton()}_createLineStyleButton(t){ -const e=this.selectedSources();if(0===e.length)return!1;const o=e[0];if(!(0,ht.isDataSource)(o))return!1;const i={component:it,props:{property:o.properties().linestyle||t,title:yt,propertyApplier:this._propertyApplierImpl(),"data-name":"style",undoText:_t}};return this._addPropertyButton(i),!0}_createFontSizeButton(t){const e=this.selectedSources();if(0===e.length)return!1;const o=e[0];if(!(0,ht.isDataSource)(o))return!1;const i={component:rt,props:{property:o.properties().fontsize||t,title:bt,propertyApplier:this._propertyApplierImpl(),"data-name":"font-size",undoText:gt}};return this._addPropertyButton(i),!0}_createCommonButtons(){this._commonButtons.length&&this._clearCommonButtons(),a.enabled("property_pages")&&this._createSettingsButton(),this._createSourceActions(),this._createRemoveButton(),this._createDotsButton()}_prepareProperties(t){const e=this.selectedSources().filter(e=>e.properties()[t]);if(!(e.filter(e=>e.properties()[t].visible()).length<1))return e.map(e=>e.properties()[t]).filter(d.notNull)}_createProperty(t,e,o,i){if(e){const t=this._prepareProperties(o);if(!t)return;return this._isWidthProperty(t[0])?new v(new u.MultipleLineWidthsProperty(t),this._propertyApplierImpl(),i):new w.CollectibleColorPropertyUndoWrapper(new u.MultipleLineColorsProperty(t),this._propertyApplierImpl(),i)}if(t&&t.visible())return this._isWidthProperty(t)?new u.MultipleLineWidthsProperty([t]):new w.CollectibleColorPropertyDirectWrapper(new u.MultipleLineColorsProperty([t]))}_shouldShowBackgroundProperty(t,e){return!e||!e.fillBackground||!!e.fillBackground.value()}_isDrawingToolExcludingCustomUrlEventTool(t){return Boolean(null==t?void 0:t.toLowerCase().includes("linetool"))&&"LineToolTweet"!==t&&"LineToolIdea"!==t&&"LineToolImage"!==t}_isWidthProperty(t){return t instanceof u.LineToolWidthsProperty}}},87805:(t,e,o)=>{"use strict";var i=o(28353).t,n=o(24980).TranslatedString,s=(o(85733),o(36052).LineToolPropertiesWidgetBase),r=o(44601).isLineDrawnWithPressedButton;const a=o(70114).ColorPickerButton,l=o(61259).LineWidthButton;o(14291).setNewToolProperties;o(67337);var c=o(58912),d=o(98510),h=o(95990),p=(new n("apply drawing template",i("apply drawing template")),new n("change line tool(s) color",i("change line tool(s) color"))),u=new n("change line tool(s) background color",i("change line tool(s) background color")),g=new n("change line tool(s) text color",i("change line tool(s) text color")),_=new n("change line tool(s) line width",i("change line tool(s) line width")),m=i("Color"),v=i("Line tool colors"),w=i("Text color"),y=i("Line tool text colors"),b=i("Background color"),f=i("Line tool backgrounds"),C=i("Style"),S=i("Font Size"),x=i("Line tool width"),T=i("Line tool widths"),P=i("Profit background color"),W=i("Stop background color"),E=i("Marker color"),k=i("Background color 1"),L=i("Background color 2");class B extends s{constructor(t){super(t),this._hasAlertWathcedValue=null,this._templatesButton=null}_onToolChanged(t,e){this._currentTool=t;const o=this.selectedSources() -;this._isDrawingToolExcludingCustomUrlEventTool(t)?(this._isDrawingFinished.setValue(!1),this._updateVisibility()):o&&o.length?(o.length>1&&this._isDrawingFinished.setValue(!0),this.onSourceChanged(this.selectedSources())):this.hide()}findSourceOnWidget(t){for(var e=0;et.properties().linesWidths).length&&(o=T));return this._addPropertyButton({component:l,props:{title:o,multipleProperty:this._lineWidthsProperty,propertyApplier:this._propertyApplierImpl(),"data-name":"line-tool-width",undoText:_}}),!0}_createColorsButton(t,e){return this._lineColorsProperty&&(this._lineColorsProperty.destroy(),this._lineColorsProperty=null),this._lineColorsProperty=this._createProperty(t,e,"linesColors",p),!this._lineColorsProperty||(this._addPropertyButton({component:a,props:{icon:c,title:v,property:this._lineColorsProperty,propertyApplier:this._propertyApplierImpl(),"data-name":"line-tool-color",undoText:p}}),!0)}_createBackgroundsButton(t,e){return this._backgroundsProperty&&(this._backgroundsProperty.destroy(),this._backgroundsProperty=null),this._backgroundsProperty=this._createProperty(t,e,"backgroundsColors",u),!this._backgroundsProperty||(this._addPropertyButton({component:a,props:{icon:d,title:f,property:this._backgroundsProperty,propertyApplier:this._propertyApplierImpl(),"data-name":"background-color",undoText:u}}),!0)}_createTextColorsButton(t,e){return this._textColorsProperty&&(this._textColorsProperty.destroy(),this._textColorsProperty=null),this._textColorsProperty=this._createProperty(t,e,"textsColors",g),!this._textColorsProperty||(this._addPropertyButton({component:a,props:{icon:h,title:y,property:this._textColorsProperty, -propertyApplier:this._propertyApplierImpl(),"data-name":"text-color",undoText:g}}),!0)}showTemplatesOf(t){}templatesList(){return this._templatesList}_getPossibleProperty(t){for(var e=[],o=this._defaultToolProperties(),i=0;i{"use strict";o.d(e,{CollectibleColorPropertyUndoWrapper:()=>a,CollectibleColorPropertyDirectWrapper:()=>l});var i=o(88537),n=o(2015),s=o.n(n);class r extends(s()){constructor(t){super(),this._listenersMappers=[],this._isProcess=!1,this._baseProperty=t}destroy(){this._baseProperty.destroy()}value(){const t=this._baseProperty.value();return"mixed"===t?"":t}visible(){return this._baseProperty.visible()}setValue(t){this._isProcess=!0,this._baseProperty.setValue(""===t?"mixed":t,void 0,{applyValue:this._applyValue.bind(this)}),this._isProcess=!1,this._listenersMappers.forEach(t=>{t.method.call(t.obj,this)})}subscribe(t,e){const o=o=>{this._isProcess||e.call(t,this)},i={obj:t,method:e,callback:o};this._listenersMappers.push(i),this._baseProperty.subscribe(t,o)}unsubscribe(t,e){var o;const n=(0,i.ensureDefined)(null===(o=this._listenersMappers.find(o=>o.obj===t&&o.method===e))||void 0===o?void 0:o.callback);this._baseProperty.unsubscribe(t,n)}unsubscribeAll(t){this._baseProperty.unsubscribeAll(t)}}class a extends r{constructor(t,e,o){super(t),this._propertyApplier=e,this._undoText=o}_applyValue(t,e){this._propertyApplier.setProperty(t,e,this._undoText)}}class l extends r{_applyValue(t,e){t.setValue(e)}}},44159:(t,e,o)=>{"use strict";o.d(e,{PropertyApplierWithoutSavingChart:()=>i});class i{constructor(t,e){this._undoModelSupplier=t,this._featureToggle=e}setProperty(t,e,o){this._undoModelSupplier().setProperty(t,e,o,this._featureToggle.value())}beginUndoMacro(t){return this._undoModelSupplier().beginUndoMacro(t,this._shouldWeKeepChartValidated())}endUndoMacro(){this._undoModelSupplier().endUndoMacro()}setWatchedValue(t,e,o){this._undoModelSupplier().undoHistory().setWatchedValue(t,e,o,!0)}_shouldWeKeepChartValidated(){const t=this._undoModelSupplier().model().isAutoSaveEnabled().value();return this._featureToggle.value()&&t}}},70114:(t,e,o)=>{"use strict";o.d(e,{ColorPickerButton:()=>m});var i=o(59496),n=o(97754),s=o.n(n),r=o(88537),a=o(9745),l=o(24377),c=o(68906),d=o(56512),h=o(27797),p=o(6914),u=o(35390),g=o(43982),_=o(69124);function m(t){const{property:e,icon:o,propertyApplier:n,title:m,undoText:v,className:w}=t,y=(0,g.useProperty)(e),b=(0,i.useRef)(null),f=y?(0,l.parseRgba)(y)[3]:void 0,C=""===y,S=String(W()).toLowerCase()===p.white,[x,T,P]=(0,d.useCustomColors)();return i.createElement(u.ToolWidgetMenu,{className:w,content:i.createElement("div",{className:_.wrap},i.createElement(a.Icon,{className:_.icon,icon:o}),i.createElement("div",{className:_.colorBg},i.createElement("div",{className:s()(_.color,C&&_.multicolor,S&&_.white),style:C?void 0:{backgroundColor:y}}))),arrow:!1,title:m,ref:b,"data-name":t["data-name"], -menuDataName:t["data-name"]+"-menu"},i.createElement(h.ColorPicker,{color:W(),opacity:f,onColorChange:function(t,e){const o=y?(0,c.alphaToTransparency)((0,l.parseRgba)(y)[3]):0;E((0,c.generateColor)(String(t),o,true)),e||(0,r.ensureNotNull)(b.current).close()},onOpacityChange:function(t){E((0,c.generateColor)(y,(0,c.alphaToTransparency)(t),!0))},selectOpacity:void 0!==f,selectCustom:!0,customColors:x,onAddColor:function(t){T(t),(0,r.ensureNotNull)(b.current).close()},onRemoveCustomColor:P}));function W(){return y?(0,l.rgbToHexString)((0,l.parseRgb)(y)):null}function E(t){n.setProperty(e,t,v)}}},61259:(t,e,o)=>{"use strict";o.d(e,{LineWidthButton:()=>y});var i=o(59496),n=o(97754),s=o(88537),r=o(9745),a=o(35390),l=o(43982),c=o(16396),d=o(40173),h=o(98985),p=o(47441),u=o(93129),g=o(37500),_=o(4873),m=o(2680);const v=(0,d.mergeThemes)(c.DEFAULT_POPUP_MENU_ITEM_THEME,m),w=[{value:1,icon:h},{value:2,icon:p},{value:3,icon:u},{value:4,icon:g}];function y(t){const{multipleProperty:e,title:o,undoText:d,propertyApplier:h,className:p,isSmallScreen:u}=t,g=(0,l.useProperty)((0,s.ensureDefined)(e)),y="mixed"===g||!g,b=function(t){const e=w.find(e=>e.value===t);if(!e)return _;return e.icon}(g);return i.createElement(a.ToolWidgetMenu,{className:p,arrow:!1,title:o,"data-name":t["data-name"],menuDataName:t["data-name"]+"-menu",content:i.createElement("div",null,y?i.createElement("div",{className:m.multiWidth},i.createElement(r.Icon,{icon:_})):i.createElement("div",{className:m.buttonWrap},!u&&i.createElement(r.Icon,{icon:b}),i.createElement("div",{className:n(!u&&m.buttonLabel)},g+"px")))},w.map(({value:t,icon:e})=>i.createElement(c.PopupMenuItem,{key:t,theme:v,label:t+"px",icon:e,isActive:t===g,onClick:f,onClickArg:t})));function f(t){t&&e&&(h.beginUndoMacro(d),e.setValue(t,void 0,{applyValue:(t,e)=>{h.setProperty(t,e,d)}}),h.endUndoMacro())}}},43982:(t,e,o)=>{"use strict";o.d(e,{useProperty:()=>n});var i=o(59496);const n=t=>{const[e,o]=(0,i.useState)(t.value());return(0,i.useEffect)(()=>{const e=t=>{o(t.value())};e(t);const i={};return t.subscribe(i,e),()=>t.unsubscribe(i,e)},[t]),e}},27797:(t,e,o)=>{"use strict";o.d(e,{ColorPicker:()=>I});var i=o(59496),n=o(97754),s=o.n(n),r=o(28353),a=o(24377),l=o(88537),c=o(49483),d=o(50628),h=o(16396);const p=i.createContext(void 0);var u=o(6914),g=o(78679),_=o(24590);function m(t){const{index:e,color:o,selected:s,onSelect:a}=t,[m,v]=(0,i.useState)(!1),w=(0,i.useContext)(p),y=(0,i.useRef)(null),b=Boolean(w)&&!c.CheckMobile.any();return i.createElement(i.Fragment,null,i.createElement("div",{ref:y,style:o?{color:o}:void 0,className:n(_.swatch,m&&_.hover,s&&_.selected,!o&&_.empty,String(o).toLowerCase()===u.white&&_.white),onClick:function(){a(o)},onContextMenu:b?f:void 0}),b&&i.createElement(d.PopupMenu,{isOpened:m,onClose:f,position:function(){const t=(0,l.ensureNotNull)(y.current).getBoundingClientRect();return{x:t.left,y:t.top+t.height+4}},onClickOutside:f},i.createElement(h.PopupMenuItem,{className:_.contextItem,label:(0,r.t)("Remove color"),icon:g,onClick:function(){f(),(0, -l.ensureDefined)(w)(e)},dontClosePopup:!0})));function f(){v(!m)}}class v extends i.PureComponent{constructor(){super(...arguments),this._onSelect=t=>{const{onSelect:e}=this.props;e&&e(t)}}render(){const{colors:t,color:e,children:o}=this.props;if(!t)return null;const n=e?(0,a.parseRgb)(String(e)):void 0;return i.createElement("div",{className:_.swatches},t.map((t,e)=>i.createElement(m,{key:String(t)+e,index:e,color:t,selected:n&&(0,a.areEqualRgb)(n,(0,a.parseRgb)(String(t))),onSelect:this._onSelect})),o)}}var w=o(54368),y=o(94720);function b(t){const e="Invalid RGB color: "+t;if(null===t)throw new Error(e);const o=t.match(/^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i);if(null===o)throw new Error(e);const[,i,n,s]=o;if(!i||!n||!s)throw new Error(e);const r=parseInt(i,16)/255,a=parseInt(n,16)/255,l=parseInt(s,16)/255,c=Math.max(r,a,l),d=Math.min(r,a,l);let h;const p=c,u=c-d,g=0===c?0:u/c;if(c===d)h=0;else{switch(c){case r:h=(a-l)/u+(a{this._container=t},this._handlePosition=t=>{const{hsv:{h:e},onChange:o}=this.props;if(!o)return;const i=(0,l.ensureNotNull)(this._container).getBoundingClientRect(),n=t.clientX-i.left,s=t.clientY-i.top;let r=n/i.width;r<0?r=0:r>1&&(r=1);let a=1-s/i.height;a<0?a=0:a>1&&(a=1),o({h:e,s:r,v:a})},this._mouseDown=t=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=t=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(t)},this._mouseMove=(0,f.default)(this._handlePosition,100),this._handleTouch=t=>{this._handlePosition(t.nativeEvent.touches[0])}}render(){const{className:t,hsv:{h:e,s:o,v:n}}=this.props,r=`hsl(${360*e}, 100%, 50%)`;return i.createElement("div",{className:s()(C.saturation,t),style:{backgroundColor:r},ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},i.createElement("div",{className:C.pointer,style:{left:100*o+"%",top:100*(1-n)+"%"}}))}}var x=o(24429);class T extends i.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=t=>{this._container=t},this._handlePosition=t=>{const{hsv:{s:e,v:o},onChange:i}=this.props;if(!i)return;const n=(0,l.ensureNotNull)(this._container).getBoundingClientRect();let s=(t.clientY-n.top)/n.height;s<0?s=0:s>1&&(s=1),i({h:s,s:e,v:o})},this._mouseDown=t=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=t=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(t)},this._mouseMove=(0,f.default)(this._handlePosition,100),this._handleTouch=t=>{this._handlePosition(t.nativeEvent.touches[0])}}render(){const{className:t,hsv:{h:e}}=this.props -;return i.createElement("div",{className:s()(x.hue,t)},i.createElement("div",{className:x.pointerContainer,ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},i.createElement("div",{className:x.pointer,style:{top:100*e+"%"}})))}}var P=o(99565);const W=(0,r.t)("Add",{context:"Color Picker"});class E extends i.PureComponent{constructor(t){super(t),this._handleHSV=t=>{const e=function(t){const{h:e,s:o,v:i}=t;let n,s,r;const a=Math.floor(6*e),l=6*e-a,c=i*(1-o),d=i*(1-l*o),h=i*(1-(1-l)*o);switch(a%6){case 0:n=i,s=h,r=c;break;case 1:n=d,s=i,r=c;break;case 2:n=c,s=i,r=h;break;case 3:n=c,s=d,r=i;break;case 4:n=h,s=c,r=i;break;case 5:n=i,s=c,r=d;break;default:n=0,s=0,r=0}return"#"+[255*n,255*s,255*r].map(t=>("0"+Math.round(t).toString(16)).replace(/.+?([a-f0-9]{2})$/i,"$1")).join("")}(t)||"#000000";this.setState({color:e,inputColor:e.replace(/^#/,""),hsv:t}),this.props.onSelect(e)},this._handleInput=t=>{const e=t.currentTarget.value;try{const t=b(e),o="#"+e;this.setState({color:o,inputColor:e,hsv:t}),this.props.onSelect(o)}catch(t){this.setState({inputColor:e})}},this._handleAddColor=()=>this.props.onAdd(this.state.color);const e=t.color||"#000000";this.state={color:e,inputColor:e.replace(/^#/,""),hsv:b(e)}}render(){const{color:t,hsv:e,inputColor:o}=this.state;return i.createElement("div",{className:P.container},i.createElement("div",{className:P.form},i.createElement("div",{className:P.swatch,style:{backgroundColor:t}}),i.createElement("div",{className:P.inputWrap},i.createElement("span",{className:P.inputHash},"#"),i.createElement("input",{type:"text",className:P.input,value:o,onChange:this._handleInput})),i.createElement("div",{className:P.buttonWrap},i.createElement(y.Button,{size:"s",onClick:this._handleAddColor},W))),i.createElement("div",{className:P.hueSaturationWrap},i.createElement(S,{className:P.saturation,hsv:e,onChange:this._handleHSV}),i.createElement(T,{className:P.hue,hsv:e,onChange:this._handleHSV})))}}var k=o(10667);const L=(0,r.t)("Add custom color",{context:"Color Picker"}),B=(0,r.t)("Opacity",{context:"Color Picker"});class I extends i.PureComponent{constructor(t){super(t),this._handleAddColor=t=>{this.setState({isCustom:!1}),this._onToggleCustom(!1);const{onAddColor:e}=this.props;e&&e(t)},this._handleSelectColor=t=>{const{onColorChange:e}=this.props,{isCustom:o}=this.state;e&&e(t,o)},this._handleCustomClick=()=>{this.setState({isCustom:!0}),this._onToggleCustom(!0)},this._handleOpacity=t=>{const{onOpacityChange:e}=this.props;e&&e(t)},this.state={isCustom:!1}}componentDidUpdate(t,e){t.selectOpacity!==this.props.selectOpacity&&this.props.menu&&this.props.menu.update()}render(){const{color:t,opacity:e,selectCustom:o,selectOpacity:n,customColors:r,onRemoveCustomColor:a}=this.props,{isCustom:l}=this.state,c="number"==typeof e?e:1;return l?i.createElement(E,{color:t,onSelect:this._handleSelectColor,onAdd:this._handleAddColor}):i.createElement("div",{className:k.container},i.createElement(v,{colors:u.basic,color:t,onSelect:this._handleSelectColor -}),i.createElement(v,{colors:u.extended,color:t,onSelect:this._handleSelectColor}),i.createElement("div",{className:k.separator}),i.createElement(p.Provider,{value:a},i.createElement(v,{colors:r,color:t,onSelect:this._handleSelectColor},o&&i.createElement("div",{className:s()(k.customButton,"apply-common-tooltip"),onClick:this._handleCustomClick,title:L}))),n&&i.createElement(i.Fragment,null,i.createElement("div",{className:k.sectionTitle},B),i.createElement(w.Opacity,{color:t,opacity:c,onChange:this._handleOpacity})))}_onToggleCustom(t){const{onToggleCustom:e}=this.props;e&&e(t)}}},54368:(t,e,o)=>{"use strict";o.d(e,{Opacity:()=>l});var i=o(59496),n=o(97754),s=o(88537),r=o(64514),a=o(15381);class l extends i.PureComponent{constructor(t){super(t),this._container=null,this._pointer=null,this._raf=null,this._refContainer=t=>{this._container=t},this._refPointer=t=>{this._pointer=t},this._handlePosition=t=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const e=(0,s.ensureNotNull)(this._container),o=(0,s.ensureNotNull)(this._pointer),i=e.getBoundingClientRect(),n=o.offsetWidth,a=t.clientX-n/2-i.left,l=(0,r.clamp)(a/(i.width-n),0,1);this.setState({inputOpacity:Math.round(100*l).toString()}),this.props.onChange(l),this._raf=null}))},this._onSliderClick=t=>{this._handlePosition(t.nativeEvent),this._dragSubscribe()},this._mouseUp=t=>{this.setState({isPointerDragged:!1}),this._dragUnsubscribe(),this._handlePosition(t)},this._mouseMove=t=>{this.setState({isPointerDragged:!0}),this._handlePosition(t)},this._onTouchStart=t=>{this._handlePosition(t.nativeEvent.touches[0])},this._handleTouch=t=>{this.setState({isPointerDragged:!0}),this._handlePosition(t.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this.setState({isPointerDragged:!1})},this._handleInput=t=>{const e=t.currentTarget.value,o=Number(e)/100;this.setState({inputOpacity:e}),Number.isNaN(o)||o>1||this.props.onChange(o)},this.state={inputOpacity:Math.round(100*t.opacity).toString(),isPointerDragged:!1}}componentWillUnmount(){null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),this._dragUnsubscribe()}render(){const{color:t,opacity:e,hideInput:o}=this.props,{inputOpacity:s,isPointerDragged:r}=this.state,l={color:t||void 0};return i.createElement("div",{className:a.opacity},i.createElement("div",{className:a.opacitySlider,style:l,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},i.createElement("div",{className:a.opacitySliderGradient,style:{backgroundImage:`linear-gradient(90deg, transparent, ${t})`}}),i.createElement("div",{className:a.opacityPointerWrap},i.createElement("div",{className:n(a.pointer,r&&a.dragged),style:{left:100*e+"%"},ref:this._refPointer}))),!o&&i.createElement("div",{className:a.opacityInputWrap},i.createElement("input",{type:"text",className:a.opacityInput,value:s,onChange:this._handleInput}),i.createElement("span",{className:a.opacityInputPercent},"%")))}_dragSubscribe(){const t=(0, -s.ensureNotNull)(this._container).ownerDocument;t&&(t.addEventListener("mouseup",this._mouseUp),t.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const t=(0,s.ensureNotNull)(this._container).ownerDocument;t&&(t.removeEventListener("mousemove",this._mouseMove),t.removeEventListener("mouseup",this._mouseUp))}}},6914:(t,e,o)=>{"use strict";o.d(e,{white:()=>n,basic:()=>a,extended:()=>c});var i=o(45112);const n=i.colorsPalette["color-white"],s=["ripe-red","tan-orange","banana-yellow","iguana-green","minty-green","sky-blue","tv-blue","deep-blue","grapes-purple","berry-pink"],r=[200,300,400,500,600,700,800,900].map(t=>"color-cold-gray-"+t);r.unshift("color-white"),r.push("color-black"),s.forEach(t=>{r.push(`color-${t}-500`)});const a=r.map(t=>i.colorsPalette[t]),l=[];[100,200,300,400,700,900].forEach(t=>{s.forEach(e=>{l.push(`color-${e}-${t}`)})});const c=l.map(t=>i.colorsPalette[t])},56512:(t,e,o)=>{"use strict";o.d(e,{useCustomColors:()=>l});var i=o(59496),n=o(56840),s=o(76422);function r(t,e){(0,i.useEffect)(()=>(s.subscribe(t,e,null),()=>{s.unsubscribe(t,e,null)}),[t,e])}var a=o(24377);function l(){const[t,e]=(0,i.useState)((0,n.getJSON)("pickerCustomColors",[]));r("add_new_custom_color",o=>e(c(o,t))),r("remove_custom_color",o=>e(d(o,t)));const o=(0,i.useCallback)(e=>{const o=e?(0,a.parseRgb)(e):null;t.some(t=>null!==t&&null!==o&&(0,a.areEqualRgb)((0,a.parseRgb)(t),o))||(s.emit("add_new_custom_color",e),(0,n.setJSON)("pickerCustomColors",c(e,t)))},[t]),l=(0,i.useCallback)(e=>{(e>=0||e29&&o.shift(),o}function d(t,e){return e.filter((e,o)=>t!==o)}},84877:(t,e,o)=>{"use strict";o.d(e,{MatchMediaMap:()=>r});var i=o(59496),n=o(66783),s=o.n(n);class r extends i.Component{constructor(t){super(t),this._handleMediaChange=()=>{const t=l(this.state.queries,(t,e)=>e.matches);let e=!1;for(const o in t)if(t.hasOwnProperty(o)&&this.state.matches[o]!==t[o]){e=!0;break}e&&this.setState({matches:t})};const{rules:e}=this.props;this.state=a(e)}shouldComponentUpdate(t,e){return!s()(t,this.props)||(!s()(e.rules,this.state.rules)||!s()(e.matches,this.state.matches))}componentDidMount(){this._migrate(null,this.state.queries)}componentDidUpdate(t,e){s()(t.rules,this.props.rules)||this._migrate(e.queries,this.state.queries)}componentWillUnmount(){this._migrate(this.state.queries,null)}render(){return this.props.children(this.state.matches)}static getDerivedStateFromProps(t,e){if(s()(t.rules,e.rules))return null;const{rules:o}=t;return a(o)}_migrate(t,e){null!==t&&l(t,(t,e)=>{e.removeListener(this._handleMediaChange)}),null!==e&&l(e,(t,e)=>{e.addListener(this._handleMediaChange)})}}function a(t){const e=l(t,(t,e)=>window.matchMedia(e));return{queries:e,matches:l(e,(t,e)=>e.matches),rules:{...t}}}function l(t,e){const o={};for(const i in t)t.hasOwnProperty(i)&&(o[i]=e(i,t[i]));return o}},31328:t=>{ -t.exports=''},19726:t=>{t.exports=''},56326:t=>{t.exports=''},20618:t=>{t.exports=''},16788:t=>{t.exports=''},98510:t=>{t.exports=''},25570:t=>{t.exports=''},98985:t=>{t.exports=''},47441:t=>{t.exports=''},93129:t=>{t.exports=''},37500:t=>{t.exports=''},4873:t=>{t.exports=''},58912:t=>{ -t.exports=''},95990:t=>{t.exports=''},57979:t=>{t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/floating-toolbars.eba8db3eef8c6a5ad047.js b/charting_library/bundles/floating-toolbars.eba8db3eef8c6a5ad047.js new file mode 100644 index 00000000..ef664405 --- /dev/null +++ b/charting_library/bundles/floating-toolbars.eba8db3eef8c6a5ad047.js @@ -0,0 +1,28 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2306],{66783:t=>{"use strict";var e=Object.prototype.hasOwnProperty;function o(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}t.exports=function(t,i){if(o(t,i))return!0;if("object"!=typeof t||null===t||"object"!=typeof i||null===i)return!1;var n=Object.keys(t),r=Object.keys(i);if(n.length!==r.length)return!1;for(var s=0;s{},42024:()=>{},6539:t=>{t.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},99376:()=>{},24302:()=>{},69124:t=>{t.exports={wrap:"wrap-HhKLwxmq",icon:"icon-HhKLwxmq",colorBg:"colorBg-HhKLwxmq",color:"color-HhKLwxmq",multicolor:"multicolor-HhKLwxmq",white:"white-HhKLwxmq"}},88168:t=>{t.exports={button:"button-Ou6proUJ"}},2680:t=>{t.exports={item:"item-Fil3AvDD",withIcon:"withIcon-Fil3AvDD",icon:"icon-Fil3AvDD",labelRow:"labelRow-Fil3AvDD",multiWidth:"multiWidth-Fil3AvDD",buttonWrap:"buttonWrap-Fil3AvDD",buttonLabel:"buttonLabel-Fil3AvDD"}},10667:t=>{t.exports={container:"container-WiTVOllB",sectionTitle:"sectionTitle-WiTVOllB",separator:"separator-WiTVOllB",customButton:"customButton-WiTVOllB"}},99565:t=>{t.exports={container:"container-UpS01XRM",form:"form-UpS01XRM",swatch:"swatch-UpS01XRM",inputWrap:"inputWrap-UpS01XRM",inputHash:"inputHash-UpS01XRM",input:"input-UpS01XRM",buttonWrap:"buttonWrap-UpS01XRM",hueSaturationWrap:"hueSaturationWrap-UpS01XRM",saturation:"saturation-UpS01XRM",hue:"hue-UpS01XRM"}},24429:t=>{t.exports={hue:"hue-oQv2KoOx",pointer:"pointer-oQv2KoOx",pointerContainer:"pointerContainer-oQv2KoOx"}},15381:t=>{t.exports={opacity:"opacity-YL5Gjk00",opacitySlider:"opacitySlider-YL5Gjk00",opacitySliderGradient:"opacitySliderGradient-YL5Gjk00",pointer:"pointer-YL5Gjk00",dragged:"dragged-YL5Gjk00",opacityPointerWrap:"opacityPointerWrap-YL5Gjk00",opacityInputWrap:"opacityInputWrap-YL5Gjk00",opacityInput:"opacityInput-YL5Gjk00",opacityInputPercent:"opacityInputPercent-YL5Gjk00"}},88440:t=>{t.exports={ +saturation:"saturation-lJHGRPyu",pointer:"pointer-lJHGRPyu"}},24590:t=>{t.exports={swatches:"swatches-qgksmXjR",swatch:"swatch-qgksmXjR",hover:"hover-qgksmXjR",empty:"empty-qgksmXjR",white:"white-qgksmXjR",selected:"selected-qgksmXjR",contextItem:"contextItem-qgksmXjR"}},97737:(t,e,o)=>{"use strict";o.d(e,{AnchorButton:()=>h,Button:()=>c});var i=o(59496),n=o(71036);function r(t="default"){switch(t){case"default":return"primary";case"stroke":return"secondary"}}function s(t="primary"){switch(t){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function a(t="m"){switch(t){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function l(t){const{intent:e,size:o,appearance:i,useFullWidth:n,icon:l,...c}=t;return{...c,color:s(e),size:a(o),variant:r(i),stretch:n,startIcon:l}}function c(t){return i.createElement(n.SquareButton,{...l(t)})}function d(t){const{intent:e,size:o,appearance:i,useFullWidth:n,icon:l,...c}=t;return{...c,color:s(e),size:a(o),variant:r(i),stretch:n,startIcon:l}}function h(t){return i.createElement(n.SquareAnchorButton,{...d(t)})}},71036:(t,e,o)=>{"use strict";o.d(e,{SquareAnchorButton:()=>m,SquareButton:()=>g});var i=o(59496),n=o(97754),r=o(95604),s=o(9745),a=o(6539),l=o.n(a);function c(t){const{color:e="brand",size:o="medium",variant:i="primary",stretch:s=!1,icon:a,startIcon:c,endIcon:d,iconOnly:h=!1,className:p,isGrouped:u,cellState:g,disablePositionAdjustment:_=!1}=t,m=function(t){let e="";return 0!==t&&(1&t&&(e=n(e,l()["no-corner-top-left"])),2&t&&(e=n(e,l()["no-corner-top-right"])),4&t&&(e=n(e,l()["no-corner-bottom-right"])),8&t&&(e=n(e,l()["no-corner-bottom-left"]))),e}((0,r.getGroupCellRemoveRoundBorders)(g));return n(p,l().button,l()["size-"+o],l()["color-"+e],l()["variant-"+i],s&&l().stretch,(a||c)&&l()["with-start-icon"],d&&l()["with-end-icon"],h&&l()["icon-only"],m,u&&l().grouped,u&&!_&&l()["adjust-position"],u&&g.isTop&&l()["first-row"],u&&g.isLeft&&l()["first-col"])}function d(t){const{size:e,startIcon:o,icon:n,iconOnly:r,children:a,endIcon:c}=t,d=null!=o?o:n;return i.createElement(i.Fragment,null,d&&"xsmall"!==e&&i.createElement(s.Icon,{icon:d,className:l()["start-icon-wrap"]}),a&&i.createElement("span",{className:l().content},a),c&&!r&&"xsmall"!==e&&i.createElement(s.Icon,{icon:c,className:l()["end-icon-wrap"]}))}var h=o(86332),p=o(90186);function u(t){const{className:e,color:o,variant:i,size:n,stretch:r,animated:s,icon:a,iconOnly:l,startIcon:c,endIcon:d,...h}=t;return{...h,...(0,p.filterDataProps)(t),...(0,p.filterAriaProps)(t)}}function g(t){const{reference:e,...o}=t,{isGrouped:n,cellState:r,disablePositionAdjustment:s}=(0,i.useContext)(h.ControlGroupContext),a=c({...o,isGrouped:n,cellState:r,disablePositionAdjustment:s});return i.createElement("button",{...u(o),className:a,ref:e},i.createElement(d,{...o}))}function _(t){const{className:e,color:o,variant:i,size:n,stretch:r,animated:s,icon:a,iconOnly:l,startIcon:c,endIcon:d,...h}=t;return{...h,...(0,p.filterDataProps)(t),...(0,p.filterAriaProps)(t)}}function m(t){ +const{reference:e}=t,{isGrouped:o,cellState:n,disablePositionAdjustment:r}=(0,i.useContext)(h.ControlGroupContext),s=c({...t,isGrouped:o,cellState:n,disablePositionAdjustment:r});return i.createElement("a",{..._(t),className:s,ref:e},i.createElement(d,{...t}))}},86332:(t,e,o)=>{"use strict";o.d(e,{ControlGroupContext:()=>i});const i=o(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(t,e,o)=>{"use strict";function i(t){let e=0;return t.isTop&&t.isLeft||(e+=1),t.isTop&&t.isRight||(e+=2),t.isBottom&&t.isLeft||(e+=8),t.isBottom&&t.isRight||(e+=4),e}o.d(e,{getGroupCellRemoveRoundBorders:()=>i})},56588:(t,e,o)=>{"use strict";o.r(e),o.d(e,{FavoriteDrawingToolbar:()=>_});var i=o(28353),n=o(23908),r=o(89377),s=o(32563),a=o(62046),l=o(28296),c=o(97056),d=o(85733),h=o(92469),p=o(56840),u=o(52714),g=o.n(u);o(99376);class _ extends n.FloatingToolbar{constructor(t){super({allowSortable:!s.mobiletouch,dragOnlyInsideToolbar:!0,defaultPosition:t,positionSettingsKey:"chart.favoriteDrawingsPosition",positionStorageType:"device"}),this._linetoolsWidgets={},this._canBeShownValue=new(g())(!1),this._attachHandlers(),this._loadVisibilityState(),this._hideAction=this._createHideToolbarAction()}show(){this._canBeShownValue.value()&&(p.setValue("ChartFavoriteDrawingToolbarWidget.visible",!0),this.isVisible()||this._renderAllLinetools(),super.show())}hide(){p.setValue("ChartFavoriteDrawingToolbarWidget.visible",!1),super.hide()}canBeShown(){return this._canBeShownValue.readonly()}_correctPosition(t){super._correctPosition(t);const e=this._getSavedPosition();if(!e)return;const o=this._getCorrectedWidgetRect();if(!o.width)return;const i=window.innerWidth-o.right,n=window.innerHeight-o.bottom;e.left>t.left&&i>0&&(t.left=Math.min(t.left+i,e.left)),e.top>t.top&&n>0&&(t.top=Math.min(t.top+n,e.top))}_onFavoriteAdded(t){this._canBeShownValue.setValue(!0),this.addWidget(this._createLinetoolWidget(t)),this.show()}_onFavoriteRemoved(t){this.removeWidget(this._linetoolsWidgets[t]),delete this._linetoolsWidgets[t],0===r.LinetoolsFavoritesStore.favoritesCount()&&(this._canBeShownValue.setValue(!1),this.hide())}_onFavoriteMoved(){this._renderAllLinetools()}_onSelectedLinetoolChanged(t){Object.keys(this._linetoolsWidgets).forEach(e=>{this._linetoolsWidgets[e].classList.toggle("i-active",t===e)})}_createLinetoolWidget(t){const e=`${h.lineToolsInfo[t].icon}`,o=(0,a.parseHtmlElement)(e);return o.addEventListener("click",e=>{e.preventDefault(),d.tool.value()!==t&&d.tool.setValue(t)}),this._linetoolsWidgets[t]=o,o}_renderAllLinetools(){this._linetoolsWidgets={},this.removeWidgets(),r.LinetoolsFavoritesStore.favorites().filter(t=>h.lineToolsInfo[t]).forEach(t=>{this.addWidget(this._createLinetoolWidget(t))})}_attachHandlers(){r.LinetoolsFavoritesStore.favoriteAdded.subscribe(this,this._onFavoriteAdded), +r.LinetoolsFavoritesStore.favoriteRemoved.subscribe(this,this._onFavoriteRemoved),r.LinetoolsFavoritesStore.favoriteMoved.subscribe(this,this._onFavoriteMoved),r.LinetoolsFavoritesStore.favoritesSynced.subscribe(null,()=>{this._loadVisibilityState(),this._renderAllLinetools()}),this.onWidgetsReordered().subscribe(this,(t,e)=>{if(r.LinetoolsFavoritesStore.favoriteMoved.unsubscribe(this,this._onFavoriteMoved),!r.LinetoolsFavoritesStore.moveFavorite(r.LinetoolsFavoritesStore.favorite(t),e))throw new Error("Something went wrong");r.LinetoolsFavoritesStore.favoriteMoved.subscribe(this,this._onFavoriteMoved)}),this.onContextMenu(t=>{t.preventDefault(),c.ContextMenuManager.showMenu([this._hideAction],t)}),d.tool.subscribe(this._onSelectedLinetoolChanged.bind(this))}_createHideToolbarAction(){return new l.Action({actionId:"Chart.FavoriteDrawingToolsToolbar.Hide",label:(0,i.t)("Hide Favorite Drawing Tools Toolbar"),onExecute:()=>{this.hide()}})}_loadVisibilityState(){const t=r.LinetoolsFavoritesStore.favoritesCount()>0;this._canBeShownValue.setValue(t);p.getBool("ChartFavoriteDrawingToolbarWidget.visible",!0)&&t?this.show():this.hide()}}},23908:(t,e,o)=>{"use strict";o.d(e,{FLOATING_TOOLBAR_REACT_WIDGETS_CLASS:()=>w,FloatingToolbar:()=>b});var i=o(59064),n=o(32563),r=o(68587),s=o(56840),a=o(2872),l=o.n(a),c=o(52714),d=o.n(c),h=o(38881);class p extends h.ChunkLoader{_startLoading(){return Promise.all([o.e(1553),o.e(2377)]).then(o.bind(o,13367)).then(t=>t.HammerJS)}}var u=o(11417),g=o(53364),_=o(62046),m=o(51768),v=o(25570);o(24302);const w="floating-toolbar-react-widgets",y=`
    ${v}
    `;class b{constructor(t){this._widget=document.createElement("div"),this._isVertical=!1,this._hiddingTimeoutId=null,this._visibility=new(d())(!1),this._windowResizeListener=this._onWindowResize.bind(this),this._reorderedDelegate=new(l()),this._responsiveResizeFunction=null,this._showTimeStamp=null,this._draggable=null,this._preventClickUntilAnimation=t=>{null!==this._showTimeStamp&&performance.now()-this._showTimeStamp{this.isVisible()&&this._widget.classList.remove("i-closed")})):this._widget.classList.remove("i-closed"),this._onWindowResize())}hide(t=!1){if(!this.isVisible())return;const e=this._widget.classList.contains("i-closed");if(this._widget.classList.add("i-closed"),this._visibility.setValue(!1),t||e)this._setHiddingTimeout(null),this._widget.classList.add("i-hidden");else{const t=setTimeout(()=>{this._setHiddingTimeout(null),this._widget.classList.add("i-hidden")},this.hideDuration());this._setHiddingTimeout(t)}window.removeEventListener("resize",this._windowResizeListener)}raise(){b._toolbars.length+b._startZIndex!==this._zIndex()&&(b._toolbars.splice(b._toolbars.indexOf(this),1),b._toolbars.push(this),b._updateAllZIndexes())}hideDuration(){return.75*r.dur}addWidget(t,e={}){const o=this.widgetsCount();if(void 0===e.index&&(e.index=o),e.index<0||e.index>o)throw new Error(`Index must be in [0, ${o}]`);const i=document.createElement("div");i.className="tv-floating-toolbar__widget js-widget",i.appendChild(t);const n=e.index===o?null:this._content.childNodes.item(e.index);this._content.insertBefore(i,n),this._onWindowResize()}getReactWidgetContainer(){return this._reactWidgetsContainer}removeWidget(t){const e=this._findWrapperForWidget(t);e&&(this._content.removeChild(e),this._onWindowResize())}widgetsCount(){return this._content.childNodes.length}showWidget(t){const e=this._findWrapperForWidget(t);e&&e.classList.remove("i-hidden")}hideWidget(t){const e=this._findWrapperForWidget(t);e&&e.classList.add("i-hidden")}removeWidgets(){for(;this._content.firstChild;)this._content.removeChild(this._content.firstChild);this._onWindowResize()}onWidgetsReordered(){return this._reorderedDelegate}onContextMenu(t){if(n.mobiletouch){(new p).load().then(e=>{const o=new e(this._widget);o.get("press").set({time:500}),o.on("press",e=>{this._preventWidgetTouchEndEvent(),t(e.srcEvent)})})}else this._widget.addEventListener("contextmenu",t)}checkPosition(){const t=this._getCorrectedWidgetRect(),e={left:t.left,top:t.top};this._correctPosition(e),t.left===e.left&&t.top===e.top||(this._widget.style.left=e.left+"px",this._widget.style.top=e.top+"px")}_determineCurrentLayoutVertical(t){ +const e=this._isVertical?t.height:t.width;return window.innerWidthwindow.innerWidth&&(t.left=Math.max(0,window.innerWidth-e.width)),t.top+e.height>window.innerHeight&&(t.top=Math.max(0,window.innerHeight-e.height)),t.left=Math.max(0,t.left),t.top=Math.max(0,t.top)}_getCorrectedWidgetRect(){const t=this._widget.getBoundingClientRect();if(this._widget.classList.contains("i-closed")){const e=1/.925-1,o=t.width*e,i=t.height*e;return{bottom:t.bottom+i/2,height:t.height+i,left:t.left-o/2,right:t.right+o/2,top:t.top-i/2,width:t.width+o}}return t}_getSavedPosition(){var t;let e;if("device"===this._options.positionStorageType){const t=u.TVLocalStorage.getItem(this._options.positionSettingsKey);e=null!==t?JSON.parse(t):null}else e=null!==(t=(0,s.getJSON)(this._options.positionSettingsKey))&&void 0!==t?t:null;return null!==e&&"top"in e&&"left"in e?e:null}_setHiddingTimeout(t){null!==this._hiddingTimeoutId&&clearTimeout(this._hiddingTimeoutId),this._hiddingTimeoutId=t}_preventWidgetTouchEndEvent(){const t=e=>{e.preventDefault(),this._widget.removeEventListener("touchend",t)};this._widget.addEventListener("touchend",t)}_updateLayoutType(){this._widget.classList.toggle("i-vertical",this._isVertical)}_updateAxisOption(){0}_onWindowResize(){if("auto"===(this._options.layout||"auto")){const t=this._isVertical,e=this._getCorrectedWidgetRect();this._isVertical=this._determineCurrentLayoutVertical(e),this._updateLayoutType(),t!==this._isVertical&&(this._onVerticalChanged(this._isVertical,t),this._updateAxisOption())}this.checkPosition(),this._resizeResponsive()}_resizeResponsive(){if(null===this._responsiveResizeFunction)return;let t=this._options.layout||"auto";"auto"===t&&(t=this._isVertical?"vertical":"horizontal");const e="vertical"===t?this._widget.clientHeight:this._widget.clientWidth,o=("vertical"===t?window.innerHeight:window.innerWidth)-e;this._responsiveResizeFunction(e,o,t)}_setZIndex(t){this._widget.style.zIndex=String(t)}_zIndex(){return Number(this._widget.style.zIndex)}_loadPosition(){var t;const e=null!==(t=this._getSavedPosition())&&void 0!==t?t:this._options.defaultPosition;this._widget.style.left=Math.round(e.left)+"px",this._widget.style.top=Math.round(e.top)+"px",this._onWindowResize()}_savePosition(){const t=this._widget.getBoundingClientRect();if("device"===this._options.positionStorageType)try{u.TVLocalStorage.setItem(this._options.positionSettingsKey,JSON.stringify({left:t.left,top:t.top}))}catch(t){}else(0,s.setJSON)(this._options.positionSettingsKey,{left:t.left,top:t.top})}_init(){this._loadPosition(),this._draggable=new g.Draggable({source:this._widget,containment:"window",handle:".js-drag",start:i.globalCloseMenu,stop:this._savePosition.bind(this)}), +this._widget.addEventListener("pointerdown",this.raise.bind(this))}_initSortable(){let t=-1;lazyJqueryUI(this._content).sortable({start:(e,o)=>{t=o.item.index()},stop:(e,o)=>{const i=o.item.index();t!==i&&((0,m.trackEvent)("Floating Toolbar","User Sort"),this._reorderedDelegate.fire(t,i))},tolerance:"pointer",distance:5,containment:!!this._options.dragOnlyInsideToolbar&&"parent",scroll:!1,placeholder:"sortable-placeholder",forcePlaceholderSize:!0}),this._updateAxisOption()}static _updateAllZIndexes(){b._toolbars.forEach((t,e)=>{t._setZIndex(b._startZIndex+e)})}}b._startZIndex=20,b._toolbars=[]},36052:(t,e,o)=>{"use strict";o.d(e,{LineToolPropertiesWidgetBase:()=>ft});var i=o(59496),n=o(87995),r=o(28353),s=o(24980),a=o(67337),l=o(52714),c=o.n(l),d=o(80643),h=o(14291),p=o(85733),u=o(37865),g=o(88537),_=o(2015),m=o.n(_);class v extends(m()){constructor(t,e,o){super(),this._listenersMappers=[],this._isProcess=!1,this._baseProperty=t,this._propertyApplier=e,this._undoText=o}destroy(){this._baseProperty.destroy()}value(){return this._baseProperty.value()}setValue(t){this._isProcess=!0,this._baseProperty.setValue(t,void 0,{applyValue:(t,e)=>this._propertyApplier.setProperty(t,e,this._undoText)}),this._isProcess=!1,this._listenersMappers.forEach(t=>{t.method.call(t.obj,this)})}subscribe(t,e){const o=o=>{this._isProcess||e.call(t,this)},i={obj:t,method:e,callback:o};this._listenersMappers.push(i),this._baseProperty.subscribe(t,o)}unsubscribe(t,e){var o;const i=(0,g.ensureDefined)(null===(o=this._listenersMappers.find(o=>o.obj===t&&o.method===e))||void 0===o?void 0:o.callback);this._baseProperty.unsubscribe(t,i)}unsubscribeAll(t){this._baseProperty.unsubscribeAll(t)}}var w=o(88451),y=o(84877),b=o(23908),f=o(24437);const C=b.FLOATING_TOOLBAR_REACT_WIDGETS_CLASS+"__button";function S(t){const{templateButton:e,propertyButtons:o,commonButtons:n,isDrawingFinished:r,activeChartWidget:s}=t,a=s.hasModel()&&s.model().selection().dataSources();return a&&a.length?i.createElement(y.MatchMediaMap,{rules:{isSmallWidth:f.DialogBreakpoints.TabletSmall,isSmallHeight:"screen and (max-height: 428px)"}},({isSmallWidth:t,isSmallHeight:e})=>i.createElement(i.Fragment,null,l(),r&&i.createElement(i.Fragment,null,Boolean(o.length)&&o.map((o,n)=>i.createElement(o.component,{...o.props,key:`${o.props.title}_${n}`,className:C,isSmallScreen:t||e})),Boolean(n.length)&&n.map((o,n)=>{const r=t||e;return r?o.showForSmallScreen?i.createElement(o.component,{...o.props,isSmallScreen:r,key:`${o.props.title}_${n}`,className:C}):null:i.createElement(o.component,{...o.props,key:`${o.props.title}_${n}`,className:C})})))):l();function l(){return null===e?null:i.createElement(e.component,{...e.props,isDrawingFinished:r,className:C})}}var x=o(51768),T=o(14593),P=o(57979);function W(t){const{title:e,activeChartWidget:o,className:n}=t;return i.createElement(T.ToolWidgetIconButton,{className:n,icon:P,title:e,onClick:async function(){(0,x.trackEvent)("GUI","Context action on drawings","Settings");const t=o.model().selection().lineDataSources(),e=t.length +;1===e?await o.showChartPropertiesForSource(t[0],void 0,{onWidget:o.onWidget()}):e>1&&await o.showChartPropertiesForSources({sources:t})},"data-name":"settings"})}var E=o(43982),L=o(97754),k=o(16534),B=o(88168);function I(t){const{className:e,...o}=t;return i.createElement(k.ToolButton,{className:L(e,B.button),tooltipPosition:"horizontal",...o})}var N=o(28358),M=o(56717);function A(t){const{activeChartWidget:e,className:o}=t,n=e.model().selection().lineDataSources();if(0===n.length)return null;const s=n[0].properties().frozen,a=(0,E.useProperty)(s),l=a?{title:(0,r.t)("Unlock"),icon:N}:{title:(0,r.t)("Lock"),icon:M};return i.createElement(I,{className:o,isActive:Boolean(a),onClick:function(){(0,x.trackEvent)("GUI","Context action on drawings","Lock"),e.toggleLockSelectedObject()},"data-name":Boolean(a)?"unlock":"lock",...l})}var D=o(78679);function V(t){const{title:e,activeChartWidget:o,className:n}=t;return i.createElement(T.ToolWidgetIconButton,{className:n,icon:D,title:e,"data-name":"remove",onClick:function(){(0,x.trackEvent)("GUI","Context action on drawings","Remove"),o.removeSelectedSources()}})}var R=o(9745),F=o(32563),z=o(68335),O=o(25760),j=o(35390),U=o(8312),H=o(28296),G=o(9481),K=o(97056),Y=o(61671),q=o(31328),$=o(26159),X=o(48111);function J(t){const{title:e,activeChartWidget:n,isSmallScreen:s,className:a}=t,l=n.model(),c=l.selection().lineDataSources(),[d,h]=(0,i.useState)([]),p=(0,i.useRef)(null),u=(0,i.useMemo)(()=>new Y.ActionsProvider(n),[n]);return i.createElement(i.Fragment,null,i.createElement(G.KeyboardDocumentListener,{keyCode:27,eventType:"keyup",handler:function(){(0,g.ensureNotNull)(p.current).close()}}),i.createElement(j.ToolWidgetMenu,{className:a,ref:p,arrow:!1,onOpen:s?void 0:function(){const t=[new H.Action({actionId:"Chart.Source.VisualOrder",label:(0,r.t)("Visual order"),icon:$,subItems:_(),name:"visual-order"})],e=function(){const t=[],e=z.isMacKeyboard?" +":"",i=c.filter(t=>t.cloneable());i.length>0&&t.push(new H.Action({actionId:"Chart.LineTool.Clone",name:"clone",icon:o(16788),shortcutHint:z.humanReadableModifiers(O.Modifiers.Mod)+e+" Drag",label:(0,r.t)("Clone"),onExecute:()=>{l.cloneLineTools(i,!1),(0,x.trackEvent)("GUI","Context action on drawings","Clone")}}));const s=c.filter(t=>t.copiable());if(s.length>0){const o={actionId:"Chart.Clipboard.CopyLineTools",name:"copy",label:(0,r.t)("Copy"),shortcutHint:z.humanReadableModifiers(O.Modifiers.Mod)+e+" C",onExecute:()=>{n.chartWidgetCollection().clipboard.uiRequestCopy(s)}};t.push(new H.Action(o,"Copy"))}if(!function(){if(!(null==n?void 0:n.isMultipleLayout()))return!1;return c.some(t=>t.isSynchronizable())}())return t;return t.push(...(0,Y.createSyncDrawingActions)(n,c)),t}();e.length&&t.push(new H.Separator,...e);t.push(new H.Separator,new H.Action({actionId:"Chart.SelectedObject.Hide",label:(0,r.t)("Hide"),icon:X,onExecute:()=>{n.hideSelectedObject()},name:"hide"})),h(Z(t))},onClick:s?function(t){u.contextMenuActionsForSources(c).then(e=>{ +window.matchMedia(f.DialogBreakpoints.TabletSmall).matches?K.ContextMenuManager.showMenu(Z(e),t,{mode:"drawer","data-name":"more-menu"}):h(Z(e))})}:void 0,title:e,content:i.createElement(R.Icon,{icon:q}),"data-name":"more",menuDataName:"more-menu"},i.createElement(U.ActionsTable,{parentIsOpened:!0,items:d})));function _(){const t=[],e=l.availableZOrderOperations(c),o=new H.Action({actionId:"Chart.Source.VisualOrder.BringToFront",name:"bring-to-front",label:(0,r.t)("Bring to Front"),onExecute:()=>{l.bringToFront(c)},disabled:1===c.length&&!e.bringToFrontEnabled}),i=new H.Action({actionId:"Chart.Source.VisualOrder.SendToBack",name:"send-to-back",label:(0,r.t)("Send to Back"),onExecute:()=>{l.sendToBack(c)},disabled:1===c.length&&!e.sendToBackEnabled}),n=new H.Action({actionId:"Chart.Source.VisualOrder.BringForward",name:"bring-forward",label:(0,r.t)("Bring Forward"),onExecute:()=>{l.bringForward(c)},disabled:1===c.length&&!e.bringForwardEnabled}),s=new H.Action({actionId:"Chart.Source.VisualOrder.SendBackward",name:"send-backward",label:(0,r.t)("Send Backward"),onExecute:()=>{l.sendBackward(c)},disabled:1===c.length&&!e.sendBackwardEnabled});return t.push(o,i,n,s),t}}function Z(t){if(F.touch&&!window.matchMedia("(pointer:fine)").matches){const e=t.filter(t=>"Copy"!==t.id);if(e.length===t.length)return e;const o=[];return e.forEach(t=>{("separator"!==t.type||o.length>0&&"separator"!==o[o.length-1].type)&&o.push(t)}),o}return t}var Q=o(95936),tt=o(20618),et=o(19726),ot=o(56326);function it(t){const{property:e,propertyApplier:o,title:n,undoText:s,className:a}=t,l=(0,E.useProperty)(e),c=(0,i.useMemo)(()=>[new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeLineStyleToSolid",icon:tt,label:(0,r.t)("Line"),active:Q.LineStyle.Solid===l,onExecute:()=>o.setProperty(e,Q.LineStyle.Solid,s)}),new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeLineStyleToDashed",icon:et,label:(0,r.t)("Dashed line"),active:Q.LineStyle.Dashed===l,onExecute:()=>o.setProperty(e,Q.LineStyle.Dashed,s)}),new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeLineStyleToDotted",icon:ot,label:(0,r.t)("Dotted line"),active:Q.LineStyle.Dotted===l,onExecute:()=>o.setProperty(e,Q.LineStyle.Dotted,s)})],[o,e,l]);return i.createElement(j.ToolWidgetMenu,{className:a,arrow:!1,content:i.createElement(R.Icon,{icon:nt(l)}),title:n,"data-name":t["data-name"],menuDataName:t["data-name"]+"-menu"},i.createElement(U.ActionsTable,{items:c}))}function nt(t){switch(t){case Q.LineStyle.Solid:return tt;case Q.LineStyle.Dashed:return et;case Q.LineStyle.Dotted:return ot;default:return""}}const rt=[10,11,12,14,16,20,24,28,32,40];function st(t){const{property:e,propertyApplier:o,title:n,undoText:r,className:s}=t,a=(0,E.useProperty)(e),l=rt.map(t=>new H.Action({actionId:"Chart.LineTool.Toolbar.ChangeFontSizeProperty",label:t.toString(),onExecute:()=>o.setProperty(e,t,r),active:t===a}));return i.createElement(j.ToolWidgetMenu,{arrow:!1,content:a,className:s,title:n,"data-name":t["data-name"],menuDataName:t["data-name"]+"-menu"},i.createElement(U.ActionsTable,{items:l}))} +var at=o(2872),lt=o.n(at);o(42024),o(62632);class ct extends b.FloatingToolbar{constructor(t){super(ct._prepareOptions(t)),this._onWidgetStateChangedDelegate=new(lt()),this._statedWidgets=[],this._currentPopup=null,this._onWindowClickedListener=this._onWindowClicked.bind(this)}show(){super.show(),document.addEventListener("mousedown",this._onWindowClickedListener)}hide(t){super.hide(t),document.removeEventListener("mousedown",this._onWindowClickedListener)}destroy(){this._closePopup(),super.destroy()}addGroupedWidget(t,e={}){(0,g.assert)(t.states.length>0&&-1!==ct._getStateIndexById(t,t.currentStateId),`Argument is invalid (count: ${t.states.length}, state: ${t.currentStateId})`);const o=document.createElement("div");o.className="tv-grouped-floating-toolbar__widget-wrapper apply-common-tooltip",t.widgetAddClass&&o.classList.add(t.widgetAddClass),o.setAttribute("title",t.tooltip);const i={isEnabled:!0,statedWidget:t,toolbarWidget:o},n=this._onWidgetClicked.bind(this,i);i.clickListener=n,o.addEventListener("click",n),this._updateWidgetPreview(i),this.addWidget(o,e),this._statedWidgets.push(i)}findGroupedWidget(t){const e=this._statedWidgets.length;for(let o=0;o{const r=this._createSubWidget(t,i),s=this._onSubWidgetClicked.bind(this,t,i.id);r.addEventListener("click",s), +e.widgets.push({clickListener:s,stateWidget:i,widget:r}),r.classList.add("tv-grouped-floating-toolbar__sub-widget--slide-right-"+n),r.classList.add("tv-grouped-floating-toolbar__sub-widget--slide-left-"+(o-n+1)),i.readonly||e.element.appendChild(r)}),this._currentPopup=e,this._updateSubWidgetsState(t.statedWidget),t.toolbarWidget.classList.add("i-dropped"),this._getWidget().appendChild(this._currentPopup.element),Promise.resolve().then(()=>{this._currentPopup&&this._currentPopup.element.classList.add("i-opened")}),this._updatePopupPosition()}_closePopup(){if(this._statedWidgets.forEach(t=>{t.toolbarWidget.classList.remove("i-dropped")}),!this._currentPopup)return;const t=this._currentPopup.widgets,e=this._currentPopup.element;this._currentPopup=null,t.forEach(t=>{t.widget.removeEventListener("click",t.clickListener)}),e.classList.remove("i-opened"),e.addEventListener("transitionend",t=>{t.target===e&&this._getWidget().removeChild(e)})}_updateWidgetPreview(t){const e=ct._getStateIndexById(t.statedWidget,t.statedWidget.currentStateId);(0,g.assert)(-1!==e,"Unknown state id: "+t.statedWidget.currentStateId);const o=t.statedWidget.states[e].widget.cloneNode(!0);t.toolbarWidget.firstChild?t.toolbarWidget.replaceChild(o,t.toolbarWidget.firstChild):(t.toolbarWidget.appendChild(o),t.toolbarWidget.appendChild(ct._createCaret()))}_updateSubWidgetsState(t){this._currentPopup&&this._isPopupCreatedForWidget(t.id)&&this._currentPopup.widgets.forEach(e=>{e.widget.classList.toggle(ct._activeSubWidgetClass,e.stateWidget.id===t.currentStateId)})}_updatePopupPosition(){if(!this._currentPopup)return;const t=this._currentPopup.createdFor,e=this._getWidget().getBoundingClientRect(),o=this._findWrapperForWidget(t);if(!o||!this._currentPopup)throw new Error("Toolbar has no wrapper for preview's widget or there is no popup");const i=o.getBoundingClientRect(),n=this._currentPopup.element.getBoundingClientRect(),r=this._currentPopup.element;if(this.isVertical())r.classList.remove("tv-grouped-floating-toolbar__popup--at-top"),r.style.top=i.top-e.top+1+"px",r.style.left="",e.left>window.innerWidth-e.right?r.classList.add("tv-grouped-floating-toolbar__popup--at-left"):r.classList.remove("tv-grouped-floating-toolbar__popup--at-left");else{r.classList.remove("tv-grouped-floating-toolbar__popup--at-left");let t=0;i.left+n.width>window.innerWidth?e.left+n.width>window.innerWidth&&(t=e.width-n.width):t=i.left-e.left+1,r.style.left=t+"px",e.bottom+n.height>window.innerHeight?r.classList.add("tv-grouped-floating-toolbar__popup--at-top"):(r.classList.remove("tv-grouped-floating-toolbar__popup--at-top"),r.style.top="")}}_isPopupCreatedForWidget(t){return Boolean(this._currentPopup&&this._currentPopup.stateWidgetId===t)}_createSubWidget(t,e){const o=document.createElement("div");return o.className+="tv-grouped-floating-toolbar__sub-widget",t.statedWidget.stateWidgetAddClass&&o.classList.add(t.statedWidget.stateWidgetAddClass),o.appendChild(e.widget),o}_onSubWidgetClicked(t,e){this._closePopup(), +t.statedWidget.currentStateId!==e&&(this.setGroupedWidgetState(t.statedWidget.id,e),this._onWidgetStateChangedDelegate.fire(t.statedWidget.id,e))}_onWindowClicked(t){if(this.isVisible()&&this._currentPopup&&!ct._isEventInElement(t,this._currentPopup.element)){for(let e=0;e{p.isDirectionalMovementActive.value()||(t?this._floatingToolbar.hide(!0):this._toolbarRendered&&this._floatingToolbar.show())},this._chartWidgetCollection=t,this._floatingToolbar=new ct({defaultPosition:{top:dt.HEADER_TOOLBAR_HEIGHT_EXPANDED+15,left:window.innerWidth/2},positionSettingsKey:"properties_toolbar.position",positionStorageType:"device",layout:"horizontal","data-name":"drawing-toolbar"}),this._container=this._floatingToolbar.getReactWidgetContainer(),this._isToolMovingNowSpawn=p.isToolMovingNow.spawn(),this._isToolEditingNowSpawn=p.isToolEditingNow.spawn(),this._toolSpawn=p.tool.spawn(),this._iconToolSpawn=p.iconTool.spawn(),this._selectedSourcesSpawn=this._chartWidgetCollection.selectedSources.spawn(),this._isToolMovingNowSpawn.subscribe(this._handleSourceEdit),this._isToolEditingNowSpawn.subscribe(this._handleSourceEdit),this._toolSpawn.subscribe(this._onToolChanged.bind(this),{callWithLast:!0}),this._iconToolSpawn.subscribe(()=>this._onToolChanged(p.tool.value())),this._selectedSourcesSpawn.subscribe(()=>this.onSourceChanged(this.selectedSources())),this._chartWidgetCollection.onAboutToBeDestroyed.subscribe(this,this.destroy,!0)}destroy(){this._isToolMovingNowSpawn.destroy(),this._isToolEditingNowSpawn.destroy(),this._toolSpawn.destroy(),this._iconToolSpawn.destroy(),this._selectedSourcesSpawn.destroy()}activeChartWidget(){ +return this._chartWidgetCollection.activeChartWidget.value()}selectedSources(){return this._chartWidgetCollection.selectedSources.value().filter(h.isLineTool)}hide(){var t;this._updateVisibilityTimeout&&clearTimeout(this._updateVisibilityTimeout),this._updateVisibilityTimeout=setTimeout(()=>{(0,h.unsetNewToolProperties)(),this._floatingToolbar.hide(!0),this._isToolbarRendered()&&this._unmountToolbar(),this._clearProperties(),this._clearCommonButtons()},0),null===(t=this._lineToolsDoNotAffectChartInvalidation)||void 0===t||t.destroy(),delete this._lineToolsDoNotAffectChartInvalidation,delete this._propertyApplier}_propertyApplierImpl(){return this._propertyApplier||(this._lineToolsDoNotAffectChartInvalidation||(this._lineToolsDoNotAffectChartInvalidation=new ut.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1)),this._propertyApplier=new pt.PropertyApplierWithoutSavingChart(()=>this.activeChartWidget().model(),this._lineToolsDoNotAffectChartInvalidation)),this._propertyApplier}_clearProperties(){this._clearPropertyButtons(),this._lineWidthsProperty&&(this._lineWidthsProperty.destroy(),this._lineWidthsProperty=null),this._lineColorsProperty&&(this._lineColorsProperty.destroy(),this._lineColorsProperty=null),this._currentProperties&&(this._currentProperties=null)}_show(){this._updateVisibilityTimeout&&clearTimeout(this._updateVisibilityTimeout),this._updateVisibilityTimeout=setTimeout(()=>{this._renderToolbar(),this._floatingToolbar.show(),this._floatingToolbar.checkPosition()},0)}_addPropertyButton(t){this._propertyButtons.push(t),this._renderToolbar()}_addCommonButton(t){this._commonButtons.push(t),this._renderToolbar()}_addTemplatesButton(t){this._templatesButton=t}_renderToolbar(){null!==this._container&&this.activeChartWidget()&&this.activeChartWidget().hasModel()&&(n.render(i.createElement(S,{templateButton:this._templatesButton,propertyButtons:this._propertyButtons,commonButtons:this._commonButtons,isDrawingFinished:this._isDrawingFinished.value(),activeChartWidget:this.activeChartWidget()}),this._container),this._toolbarRendered=!0)}_unmountToolbar(){null!==this._container&&(n.unmountComponentAtNode(this._container),this._toolbarRendered=!1)}_clearTemplatesButton(){this._templatesButton=null}_clearPropertyButtons(){this._propertyButtons=[]}_clearCommonButtons(){this._commonButtons=[]}_isToolbarRendered(){return this._toolbarRendered}_createSettingsButton(){const t={component:W,props:{title:mt,activeChartWidget:this.activeChartWidget()}};this._addCommonButton(t)}_createLockButton(){const t={component:A,props:{title:"Lock",activeChartWidget:this.activeChartWidget()}};this._addCommonButton(t)}_createRemoveButton(){const t={component:V,props:{title:vt,activeChartWidget:this.activeChartWidget()},showForSmallScreen:!0};this._addCommonButton(t)}_createDotsButton(){this._addCommonButton({component:J,props:{title:wt,activeChartWidget:this.activeChartWidget()},showForSmallScreen:!0})}_createAlertButton(){}_createSourceActions(){this._createLockButton()}_createLineStyleButton(t){ +const e=this.selectedSources();if(0===e.length)return!1;const o=e[0];if(!(0,ht.isDataSource)(o))return!1;const i={component:it,props:{property:o.properties().linestyle||t,title:yt,propertyApplier:this._propertyApplierImpl(),"data-name":"style",undoText:_t}};return this._addPropertyButton(i),!0}_createFontSizeButton(t){const e=this.selectedSources();if(0===e.length)return!1;const o=e[0];if(!(0,ht.isDataSource)(o))return!1;const i={component:st,props:{property:o.properties().fontsize||t,title:bt,propertyApplier:this._propertyApplierImpl(),"data-name":"font-size",undoText:gt}};return this._addPropertyButton(i),!0}_createCommonButtons(){this._commonButtons.length&&this._clearCommonButtons(),a.enabled("property_pages")&&this._createSettingsButton(),this._createSourceActions(),this._createRemoveButton(),this._createDotsButton()}_prepareProperties(t){const e=this.selectedSources().filter(e=>e.properties()[t]);if(!(e.filter(e=>e.properties()[t].visible()).length<1))return e.map(e=>e.properties()[t]).filter(d.notNull)}_createProperty(t,e,o,i){if(e){const t=this._prepareProperties(o);if(!t)return;return this._isWidthProperty(t[0])?new v(new u.MultipleLineWidthsProperty(t),this._propertyApplierImpl(),i):new w.CollectibleColorPropertyUndoWrapper(new u.MultipleLineColorsProperty(t),this._propertyApplierImpl(),i)}if(t&&t.visible())return this._isWidthProperty(t)?new u.MultipleLineWidthsProperty([t]):new w.CollectibleColorPropertyDirectWrapper(new u.MultipleLineColorsProperty([t]))}_shouldShowBackgroundProperty(t,e){return!e||!e.fillBackground||!!e.fillBackground.value()}_isDrawingToolExcludingCustomUrlEventTool(t){return Boolean(null==t?void 0:t.toLowerCase().includes("linetool"))&&"LineToolTweet"!==t&&"LineToolIdea"!==t&&"LineToolImage"!==t}_isWidthProperty(t){return t instanceof u.LineToolWidthsProperty}}},87805:(t,e,o)=>{"use strict";var i=o(28353).t,n=o(24980).TranslatedString,r=(o(85733),o(36052).LineToolPropertiesWidgetBase),s=o(44601).isLineDrawnWithPressedButton;const a=o(70114).ColorPickerButton,l=o(61259).LineWidthButton;o(14291).setNewToolProperties;o(67337);var c=o(58912),d=o(98510),h=o(95990),p=(new n("apply drawing template",i("apply drawing template")),new n("change line tool(s) color",i("change line tool(s) color"))),u=new n("change line tool(s) background color",i("change line tool(s) background color")),g=new n("change line tool(s) text color",i("change line tool(s) text color")),_=new n("change line tool(s) line width",i("change line tool(s) line width")),m=i("Color"),v=i("Line tool colors"),w=i("Text color"),y=i("Line tool text colors"),b=i("Background color"),f=i("Line tool backgrounds"),C=i("Style"),S=i("Font Size"),x=i("Line tool width"),T=i("Line tool widths"),P=i("Profit background color"),W=i("Stop background color"),E=i("Marker color"),L=i("Background color 1"),k=i("Background color 2");class B extends r{constructor(t){super(t),this._hasAlertWathcedValue=null,this._templatesButton=null}_onToolChanged(t,e){this._currentTool=t;const o=this.selectedSources() +;this._isDrawingToolExcludingCustomUrlEventTool(t)?(this._isDrawingFinished.setValue(!1),this._updateVisibility()):o&&o.length?(o.length>1&&this._isDrawingFinished.setValue(!0),this.onSourceChanged(this.selectedSources())):this.hide()}findSourceOnWidget(t){for(var e=0;et.properties().linesWidths).length&&(o=T));return this._addPropertyButton({component:l,props:{title:o,multipleProperty:this._lineWidthsProperty,propertyApplier:this._propertyApplierImpl(),"data-name":"line-tool-width",undoText:_}}),!0}_createColorsButton(t,e){return this._lineColorsProperty&&(this._lineColorsProperty.destroy(),this._lineColorsProperty=null),this._lineColorsProperty=this._createProperty(t,e,"linesColors",p),!this._lineColorsProperty||(this._addPropertyButton({component:a,props:{icon:c,title:v,property:this._lineColorsProperty,propertyApplier:this._propertyApplierImpl(),"data-name":"line-tool-color",undoText:p}}),!0)}_createBackgroundsButton(t,e){return this._backgroundsProperty&&(this._backgroundsProperty.destroy(),this._backgroundsProperty=null),this._backgroundsProperty=this._createProperty(t,e,"backgroundsColors",u),!this._backgroundsProperty||(this._addPropertyButton({component:a,props:{icon:d,title:f,property:this._backgroundsProperty,propertyApplier:this._propertyApplierImpl(),"data-name":"background-color",undoText:u}}),!0)}_createTextColorsButton(t,e){return this._textColorsProperty&&(this._textColorsProperty.destroy(),this._textColorsProperty=null),this._textColorsProperty=this._createProperty(t,e,"textsColors",g),!this._textColorsProperty||(this._addPropertyButton({component:a,props:{icon:h,title:y,property:this._textColorsProperty, +propertyApplier:this._propertyApplierImpl(),"data-name":"text-color",undoText:g}}),!0)}showTemplatesOf(t){}templatesList(){return this._templatesList}_getPossibleProperty(t){for(var e=[],o=this._defaultToolProperties(),i=0;i{"use strict";o.d(e,{CollectibleColorPropertyUndoWrapper:()=>a,CollectibleColorPropertyDirectWrapper:()=>l});var i=o(88537),n=o(2015),r=o.n(n);class s extends(r()){constructor(t){super(),this._listenersMappers=[],this._isProcess=!1,this._baseProperty=t}destroy(){this._baseProperty.destroy()}value(){const t=this._baseProperty.value();return"mixed"===t?"":t}visible(){return this._baseProperty.visible()}setValue(t){this._isProcess=!0,this._baseProperty.setValue(""===t?"mixed":t,void 0,{applyValue:this._applyValue.bind(this)}),this._isProcess=!1,this._listenersMappers.forEach(t=>{t.method.call(t.obj,this)})}subscribe(t,e){const o=o=>{this._isProcess||e.call(t,this)},i={obj:t,method:e,callback:o};this._listenersMappers.push(i),this._baseProperty.subscribe(t,o)}unsubscribe(t,e){var o;const n=(0,i.ensureDefined)(null===(o=this._listenersMappers.find(o=>o.obj===t&&o.method===e))||void 0===o?void 0:o.callback);this._baseProperty.unsubscribe(t,n)}unsubscribeAll(t){this._baseProperty.unsubscribeAll(t)}}class a extends s{constructor(t,e,o){super(t),this._propertyApplier=e,this._undoText=o}_applyValue(t,e){this._propertyApplier.setProperty(t,e,this._undoText)}}class l extends s{_applyValue(t,e){t.setValue(e)}}},44159:(t,e,o)=>{"use strict";o.d(e,{PropertyApplierWithoutSavingChart:()=>i});class i{constructor(t,e){this._undoModelSupplier=t,this._featureToggle=e}setProperty(t,e,o){this._undoModelSupplier().setProperty(t,e,o,this._featureToggle.value())}beginUndoMacro(t){return this._undoModelSupplier().beginUndoMacro(t,this._shouldWeKeepChartValidated())}endUndoMacro(){this._undoModelSupplier().endUndoMacro()}setWatchedValue(t,e,o){this._undoModelSupplier().undoHistory().setWatchedValue(t,e,o,!0)}_shouldWeKeepChartValidated(){const t=this._undoModelSupplier().model().isAutoSaveEnabled().value();return this._featureToggle.value()&&t}}},53364:(t,e,o)=>{"use strict";o.d(e,{Draggable:()=>a});var i=o(88537),n=o(15828),r=o(49483),s=o(32563);class a{constructor(t){var e,o;this._helper=null,this._handleDragStart=t=>{var e;if(null!==this._helper)return;const o=this._source;o.classList.add("ui-draggable-dragging");const[i,r]=[(0,n.outerWidth)(o),(0,n.outerHeight)(o)];this._helper={startTop:parseFloat(o.style.top)||0,startLeft:parseFloat(o.style.left)||0,nextTop:null,nextLeft:null,raf:null,size:[i,r], +containment:this._containment instanceof HTMLElement?[parseInt(getComputedStyle(this._containment).borderLeftWidth)+parseInt(getComputedStyle(this._containment).paddingLeft),parseInt(getComputedStyle(this._containment).borderTopWidth)+parseInt(getComputedStyle(this._containment).paddingTop),this._containment.offsetWidth-parseInt(getComputedStyle(this._containment).borderRightWidth)-parseInt(getComputedStyle(this._containment).paddingRight)-parseInt(getComputedStyle(o).marginLeft)-parseInt(getComputedStyle(o).marginRight)-i,this._containment.offsetHeight-parseInt(getComputedStyle(this._containment).borderBottomWidth)-parseInt(getComputedStyle(this._containment).paddingBottom)-parseInt(getComputedStyle(o).marginTop)-parseInt(getComputedStyle(o).marginBottom)-r]:"window"===this._containment?[window.scrollX,window.scrollY,window.scrollX+document.documentElement.offsetWidth-i,window.scrollY+document.documentElement.offsetHeight-r]:null},null===(e=this._start)||void 0===e||e.call(this)},this._handleDragMove=t=>{var e;if(null===this._helper)return;const{current:o,initial:i}=t.detail,n=this._source,r=this._helper.nextTop,s=this._helper.nextLeft,a="y"===this._axis||!1===this._axis||0!==o.movementY;if(a){const t=this._helper.startTop;isFinite(t)&&(this._helper.nextTop=o.clientY-i.clientY+t)}const l="x"===this._axis||!1===this._axis||0!==o.movementY;if(l){const t=this._helper.startLeft;isFinite(t)&&(this._helper.nextLeft=o.clientX-i.clientX+t)}if(null!==this._helper.containment){const[t,e,o,i]=this._helper.containment;a&&this._helper.nextTop&&(this._helper.nextTop=Math.min(this._helper.nextTop,i),this._helper.nextTop=Math.max(this._helper.nextTop,e)),l&&this._helper.nextLeft&&(this._helper.nextLeft=Math.min(this._helper.nextLeft,o),this._helper.nextLeft=Math.max(this._helper.nextLeft,t))}null!==this._helper.raf||r===this._helper.nextTop&&s===this._helper.nextLeft||(this._helper.raf=requestAnimationFrame(()=>{null!==this._helper&&(null!==this._helper.nextTop&&(n.style.top=this._helper.nextTop+"px",this._helper.nextTop=null),null!==this._helper.nextLeft&&(n.style.left=this._helper.nextLeft+"px",this._helper.nextLeft=null),this._helper.raf=null)})),null===(e=this._drag)||void 0===e||e.call(this)},this._handleDragStop=t=>{var e;if(null===this._helper)return;this._source.classList.remove("ui-draggable-dragging"),this._helper=null,null===(e=this._stop)||void 0===e||e.call(this)};const i=this._source=t.source;i.classList.add("ui-draggable");const r=this._handle=null!==(e=t.handle?i.querySelector(t.handle):null)&&void 0!==e?e:i;r.classList.add("ui-draggable-handle"),this._start=t.start,this._stop=t.stop,this._drag=t.drag,this._backend=new l({handle:r,onDragStart:this._handleDragStart,onDragMove:this._handleDragMove,onDragStop:this._handleDragStop}),this._axis=null!==(o=t.axis)&&void 0!==o&&o,this._containment=t.containment}destroy(){const t=this._source;t.classList.remove("ui-draggable"),t.classList.remove("ui-draggable-dragging");this._handle.classList.remove("ui-draggable-handle"),this._backend.destroy(), +null!==this._helper&&(this._helper.raf&&cancelAnimationFrame(this._helper.raf),this._helper=null)}}class l{constructor(t){this._initial=null,this._handlePointerDown=t=>{if(null!==this._initial)return;if(!(t.target instanceof Element&&this._handle.contains(t.target)))return;if(this._initial=t,!this._dispatchEvent(this._createEvent("pointer-drag-start",t)))return void(this._initial=null);t.preventDefault();const e=this._getEventTarget();e.addEventListener("pointermove",this._handlePointerMove),e.addEventListener("pointerup",this._handlePointerUp),e.addEventListener("pointercancel",this._handlePointerUp),e.addEventListener("lostpointercapture",this._handlePointerUp),e.setPointerCapture(t.pointerId)},this._handlePointerMove=t=>{null!==this._initial&&this._initial.pointerId===t.pointerId&&(t.preventDefault(),this._dispatchEvent(this._createEvent("pointer-drag-move",t)))},this._handlePointerUp=t=>{if(null===this._initial||this._initial.pointerId!==t.pointerId)return;t.preventDefault();const e=this._getEventTarget();e.removeEventListener("pointermove",this._handlePointerMove),e.removeEventListener("pointerup",this._handlePointerUp),e.removeEventListener("pointercancel",this._handlePointerUp),e.removeEventListener("lostpointercapture",this._handlePointerUp),e.releasePointerCapture(this._initial.pointerId),this._dispatchEvent(this._createEvent("pointer-drag-stop",t)),this._initial=null};const e=this._handle=t.handle;this._onDragStart=t.onDragStart,this._onDragMove=t.onDragMove,this._onDragStop=t.onDragStop,e.style.touchAction="none";this._getEventTarget().addEventListener("pointerdown",this._handlePointerDown)}destroy(){this._handle.style.touchAction="";const t=this._getEventTarget();t.removeEventListener("pointerdown",this._handlePointerDown),t.removeEventListener("pointermove",this._handlePointerMove),t.removeEventListener("pointerup",this._handlePointerUp),t.removeEventListener("pointercancel",this._handlePointerUp),t.removeEventListener("lostpointercapture",this._handlePointerUp),null!==this._initial&&(t.releasePointerCapture(this._initial.pointerId),this._initial=null)}_getEventTarget(){return r.CheckMobile.iOS()||(0,r.isMac)()&&s.touch?window.document.documentElement:this._handle}_dispatchEvent(t){switch(t.type){case"pointer-drag-start":this._onDragStart(t);break;case"pointer-drag-move":this._onDragMove(t);break;case"pointer-drag-stop":this._onDragStop(t)}return!t.defaultPrevented}_createEvent(t,e){return(0,i.assert)(null!==this._initial),new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:{backend:this,initial:this._initial,current:e}})}}},15828:(t,e,o)=>{"use strict";o.d(e,{contentHeight:()=>n,outerHeight:()=>r,outerWidth:()=>s,position:()=>l});var i=o(88537);function n(t){const{paddingTop:e,paddingBottom:o}=window.getComputedStyle(t);return[e,o].reduce((t,e)=>t-Number((e||"").replace("px","")),t.clientHeight)}function r(t,e=!1){const o=getComputedStyle(t),i=[o.height];return"border-box"!==o.boxSizing&&i.push(o.paddingTop,o.paddingBottom,o.borderTopWidth,o.borderBottomWidth),e&&i.push(o.marginTop,o.marginBottom), +i.reduce((t,e)=>t+(parseFloat(e)||0),0)}function s(t,e=!1){const o=getComputedStyle(t),i=[o.width];return"border-box"!==o.boxSizing&&i.push(o.paddingLeft,o.paddingRight,o.borderLeftWidth,o.borderRightWidth),e&&i.push(o.marginLeft,o.marginRight),i.reduce((t,e)=>t+(parseFloat(e)||0),0)}function a(t){if(!t.getClientRects().length)return{top:0,left:0};const e=t.getBoundingClientRect(),o=(0,i.ensureNotNull)(t.ownerDocument.defaultView);return{top:e.top+o.pageYOffset,left:e.left+o.pageXOffset}}function l(t){const e=getComputedStyle(t);let o,i={top:0,left:0};if("fixed"===e.position)o=t.getBoundingClientRect();else{o=a(t);const e=t.ownerDocument;let n=t.offsetParent||e.documentElement;for(;n&&(n===e.body||n===e.documentElement)&&"static"===getComputedStyle(n).position;)n=n.parentElement;n&&n!==t&&1===n.nodeType&&(i=a(n),i.top+=parseFloat(getComputedStyle(n).borderTopWidth),i.left+=parseFloat(getComputedStyle(n).borderLeftWidth))}return{top:o.top-i.top-parseFloat(e.marginTop),left:o.left-i.left-parseFloat(e.marginLeft)}}},70114:(t,e,o)=>{"use strict";o.d(e,{ColorPickerButton:()=>m});var i=o(59496),n=o(97754),r=o.n(n),s=o(88537),a=o(9745),l=o(24377),c=o(68906),d=o(56512),h=o(27797),p=o(6914),u=o(35390),g=o(43982),_=o(69124);function m(t){const{property:e,icon:o,propertyApplier:n,title:m,undoText:v,className:w}=t,y=(0,g.useProperty)(e),b=(0,i.useRef)(null),f=y?(0,l.parseRgba)(y)[3]:void 0,C=""===y,S=String(W()).toLowerCase()===p.white,[x,T,P]=(0,d.useCustomColors)();return i.createElement(u.ToolWidgetMenu,{className:w,content:i.createElement("div",{className:_.wrap},i.createElement(a.Icon,{className:_.icon,icon:o}),i.createElement("div",{className:_.colorBg},i.createElement("div",{className:r()(_.color,C&&_.multicolor,S&&_.white),style:C?void 0:{backgroundColor:y}}))),arrow:!1,title:m,ref:b,"data-name":t["data-name"],menuDataName:t["data-name"]+"-menu"},i.createElement(h.ColorPicker,{color:W(),opacity:f,onColorChange:function(t,e){const o=y?(0,c.alphaToTransparency)((0,l.parseRgba)(y)[3]):0;E((0,c.generateColor)(String(t),o,true)),e||(0,s.ensureNotNull)(b.current).close()},onOpacityChange:function(t){E((0,c.generateColor)(y,(0,c.alphaToTransparency)(t),!0))},selectOpacity:void 0!==f,selectCustom:!0,customColors:x,onAddColor:function(t){T(t),(0,s.ensureNotNull)(b.current).close()},onRemoveCustomColor:P}));function W(){return y?(0,l.rgbToHexString)((0,l.parseRgb)(y)):null}function E(t){n.setProperty(e,t,v)}}},61259:(t,e,o)=>{"use strict";o.d(e,{LineWidthButton:()=>y});var i=o(59496),n=o(97754),r=o(88537),s=o(9745),a=o(35390),l=o(43982),c=o(16396),d=o(40173),h=o(98985),p=o(47441),u=o(93129),g=o(37500),_=o(4873),m=o(2680);const v=(0,d.mergeThemes)(c.DEFAULT_POPUP_MENU_ITEM_THEME,m),w=[{value:1,icon:h},{value:2,icon:p},{value:3,icon:u},{value:4,icon:g}];function y(t){const{multipleProperty:e,title:o,undoText:d,propertyApplier:h,className:p,isSmallScreen:u}=t,g=(0,l.useProperty)((0,r.ensureDefined)(e)),y="mixed"===g||!g,b=function(t){const e=w.find(e=>e.value===t);if(!e)return _;return e.icon}(g) +;return i.createElement(a.ToolWidgetMenu,{className:p,arrow:!1,title:o,"data-name":t["data-name"],menuDataName:t["data-name"]+"-menu",content:i.createElement("div",null,y?i.createElement("div",{className:m.multiWidth},i.createElement(s.Icon,{icon:_})):i.createElement("div",{className:m.buttonWrap},!u&&i.createElement(s.Icon,{icon:b}),i.createElement("div",{className:n(!u&&m.buttonLabel)},g+"px")))},w.map(({value:t,icon:e})=>i.createElement(c.PopupMenuItem,{key:t,theme:v,label:t+"px",icon:e,isActive:t===g,onClick:f,onClickArg:t})));function f(t){t&&e&&(h.beginUndoMacro(d),e.setValue(t,void 0,{applyValue:(t,e)=>{h.setProperty(t,e,d)}}),h.endUndoMacro())}}},43982:(t,e,o)=>{"use strict";o.d(e,{useProperty:()=>n});var i=o(59496);const n=t=>{const[e,o]=(0,i.useState)(t.value());return(0,i.useEffect)(()=>{const e=t=>{o(t.value())};e(t);const i={};return t.subscribe(i,e),()=>t.unsubscribe(i,e)},[t]),e}},27797:(t,e,o)=>{"use strict";o.d(e,{ColorPicker:()=>I});var i=o(59496),n=o(97754),r=o.n(n),s=o(28353),a=o(24377),l=o(88537),c=o(49483),d=o(50628),h=o(16396);const p=i.createContext(void 0);var u=o(6914),g=o(78679),_=o(24590);function m(t){const{index:e,color:o,selected:r,onSelect:a}=t,[m,v]=(0,i.useState)(!1),w=(0,i.useContext)(p),y=(0,i.useRef)(null),b=Boolean(w)&&!c.CheckMobile.any();return i.createElement(i.Fragment,null,i.createElement("div",{ref:y,style:o?{color:o}:void 0,className:n(_.swatch,m&&_.hover,r&&_.selected,!o&&_.empty,String(o).toLowerCase()===u.white&&_.white),onClick:function(){a(o)},onContextMenu:b?f:void 0}),b&&i.createElement(d.PopupMenu,{isOpened:m,onClose:f,position:function(){const t=(0,l.ensureNotNull)(y.current).getBoundingClientRect();return{x:t.left,y:t.top+t.height+4}},onClickOutside:f},i.createElement(h.PopupMenuItem,{className:_.contextItem,label:(0,s.t)("Remove color"),icon:g,onClick:function(){f(),(0,l.ensureDefined)(w)(e)},dontClosePopup:!0})));function f(){v(!m)}}class v extends i.PureComponent{constructor(){super(...arguments),this._onSelect=t=>{const{onSelect:e}=this.props;e&&e(t)}}render(){const{colors:t,color:e,children:o}=this.props;if(!t)return null;const n=e?(0,a.parseRgb)(String(e)):void 0;return i.createElement("div",{className:_.swatches},t.map((t,e)=>i.createElement(m,{key:String(t)+e,index:e,color:t,selected:n&&(0,a.areEqualRgb)(n,(0,a.parseRgb)(String(t))),onSelect:this._onSelect})),o)}}var w=o(54368),y=o(97737);function b(t){const e="Invalid RGB color: "+t;if(null===t)throw new Error(e);const o=t.match(/^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i);if(null===o)throw new Error(e);const[,i,n,r]=o;if(!i||!n||!r)throw new Error(e);const s=parseInt(i,16)/255,a=parseInt(n,16)/255,l=parseInt(r,16)/255,c=Math.max(s,a,l),d=Math.min(s,a,l);let h;const p=c,u=c-d,g=0===c?0:u/c;if(c===d)h=0;else{switch(c){case s:h=(a-l)/u+(a{this._container=t}, +this._handlePosition=t=>{const{hsv:{h:e},onChange:o}=this.props;if(!o)return;const i=(0,l.ensureNotNull)(this._container).getBoundingClientRect(),n=t.clientX-i.left,r=t.clientY-i.top;let s=n/i.width;s<0?s=0:s>1&&(s=1);let a=1-r/i.height;a<0?a=0:a>1&&(a=1),o({h:e,s,v:a})},this._mouseDown=t=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=t=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(t)},this._mouseMove=(0,f.default)(this._handlePosition,100),this._handleTouch=t=>{this._handlePosition(t.nativeEvent.touches[0])}}render(){const{className:t,hsv:{h:e,s:o,v:n}}=this.props,s=`hsl(${360*e}, 100%, 50%)`;return i.createElement("div",{className:r()(C.saturation,t),style:{backgroundColor:s},ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},i.createElement("div",{className:C.pointer,style:{left:100*o+"%",top:100*(1-n)+"%"}}))}}var x=o(24429);class T extends i.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=t=>{this._container=t},this._handlePosition=t=>{const{hsv:{s:e,v:o},onChange:i}=this.props;if(!i)return;const n=(0,l.ensureNotNull)(this._container).getBoundingClientRect();let r=(t.clientY-n.top)/n.height;r<0?r=0:r>1&&(r=1),i({h:r,s:e,v:o})},this._mouseDown=t=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=t=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(t)},this._mouseMove=(0,f.default)(this._handlePosition,100),this._handleTouch=t=>{this._handlePosition(t.nativeEvent.touches[0])}}render(){const{className:t,hsv:{h:e}}=this.props;return i.createElement("div",{className:r()(x.hue,t)},i.createElement("div",{className:x.pointerContainer,ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},i.createElement("div",{className:x.pointer,style:{top:100*e+"%"}})))}}var P=o(99565);const W=(0,s.t)("Add",{context:"Color Picker"});class E extends i.PureComponent{constructor(t){super(t),this._handleHSV=t=>{const e=function(t){const{h:e,s:o,v:i}=t;let n,r,s;const a=Math.floor(6*e),l=6*e-a,c=i*(1-o),d=i*(1-l*o),h=i*(1-(1-l)*o);switch(a%6){case 0:n=i,r=h,s=c;break;case 1:n=d,r=i,s=c;break;case 2:n=c,r=i,s=h;break;case 3:n=c,r=d,s=i;break;case 4:n=h,r=c,s=i;break;case 5:n=i,r=c,s=d;break;default:n=0,r=0,s=0}return"#"+[255*n,255*r,255*s].map(t=>("0"+Math.round(t).toString(16)).replace(/.+?([a-f0-9]{2})$/i,"$1")).join("")}(t)||"#000000";this.setState({color:e,inputColor:e.replace(/^#/,""),hsv:t}),this.props.onSelect(e)},this._handleInput=t=>{const e=t.currentTarget.value;try{const t=b(e),o="#"+e;this.setState({color:o,inputColor:e,hsv:t}),this.props.onSelect(o)}catch(t){this.setState({inputColor:e})}},this._handleAddColor=()=>this.props.onAdd(this.state.color) +;const e=t.color||"#000000";this.state={color:e,inputColor:e.replace(/^#/,""),hsv:b(e)}}render(){const{color:t,hsv:e,inputColor:o}=this.state;return i.createElement("div",{className:P.container},i.createElement("div",{className:P.form},i.createElement("div",{className:P.swatch,style:{backgroundColor:t}}),i.createElement("div",{className:P.inputWrap},i.createElement("span",{className:P.inputHash},"#"),i.createElement("input",{type:"text",className:P.input,value:o,onChange:this._handleInput})),i.createElement("div",{className:P.buttonWrap},i.createElement(y.Button,{size:"s",onClick:this._handleAddColor},W))),i.createElement("div",{className:P.hueSaturationWrap},i.createElement(S,{className:P.saturation,hsv:e,onChange:this._handleHSV}),i.createElement(T,{className:P.hue,hsv:e,onChange:this._handleHSV})))}}var L=o(10667);const k=(0,s.t)("Add custom color",{context:"Color Picker"}),B=(0,s.t)("Opacity",{context:"Color Picker"});class I extends i.PureComponent{constructor(t){super(t),this._handleAddColor=t=>{this.setState({isCustom:!1}),this._onToggleCustom(!1);const{onAddColor:e}=this.props;e&&e(t)},this._handleSelectColor=t=>{const{onColorChange:e}=this.props,{isCustom:o}=this.state;e&&e(t,o)},this._handleCustomClick=()=>{this.setState({isCustom:!0}),this._onToggleCustom(!0)},this._handleOpacity=t=>{const{onOpacityChange:e}=this.props;e&&e(t)},this.state={isCustom:!1}}componentDidUpdate(t,e){t.selectOpacity!==this.props.selectOpacity&&this.props.menu&&this.props.menu.update()}render(){const{color:t,opacity:e,selectCustom:o,selectOpacity:n,customColors:s,onRemoveCustomColor:a}=this.props,{isCustom:l}=this.state,c="number"==typeof e?e:1;return l?i.createElement(E,{color:t,onSelect:this._handleSelectColor,onAdd:this._handleAddColor}):i.createElement("div",{className:L.container},i.createElement(v,{colors:u.basic,color:t,onSelect:this._handleSelectColor}),i.createElement(v,{colors:u.extended,color:t,onSelect:this._handleSelectColor}),i.createElement("div",{className:L.separator}),i.createElement(p.Provider,{value:a},i.createElement(v,{colors:s,color:t,onSelect:this._handleSelectColor},o&&i.createElement("div",{className:r()(L.customButton,"apply-common-tooltip"),onClick:this._handleCustomClick,title:k}))),n&&i.createElement(i.Fragment,null,i.createElement("div",{className:L.sectionTitle},B),i.createElement(w.Opacity,{color:t,opacity:c,onChange:this._handleOpacity})))}_onToggleCustom(t){const{onToggleCustom:e}=this.props;e&&e(t)}}},54368:(t,e,o)=>{"use strict";o.d(e,{Opacity:()=>l});var i=o(59496),n=o(97754),r=o(88537),s=o(64514),a=o(15381);class l extends i.PureComponent{constructor(t){super(t),this._container=null,this._pointer=null,this._raf=null,this._refContainer=t=>{this._container=t},this._refPointer=t=>{this._pointer=t},this._handlePosition=t=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const e=(0,r.ensureNotNull)(this._container),o=(0,r.ensureNotNull)(this._pointer),i=e.getBoundingClientRect(),n=o.offsetWidth,a=t.clientX-n/2-i.left,l=(0,s.clamp)(a/(i.width-n),0,1);this.setState({ +inputOpacity:Math.round(100*l).toString()}),this.props.onChange(l),this._raf=null}))},this._onSliderClick=t=>{this._handlePosition(t.nativeEvent),this._dragSubscribe()},this._mouseUp=t=>{this.setState({isPointerDragged:!1}),this._dragUnsubscribe(),this._handlePosition(t)},this._mouseMove=t=>{this.setState({isPointerDragged:!0}),this._handlePosition(t)},this._onTouchStart=t=>{this._handlePosition(t.nativeEvent.touches[0])},this._handleTouch=t=>{this.setState({isPointerDragged:!0}),this._handlePosition(t.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this.setState({isPointerDragged:!1})},this._handleInput=t=>{const e=t.currentTarget.value,o=Number(e)/100;this.setState({inputOpacity:e}),Number.isNaN(o)||o>1||this.props.onChange(o)},this.state={inputOpacity:Math.round(100*t.opacity).toString(),isPointerDragged:!1}}componentWillUnmount(){null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),this._dragUnsubscribe()}render(){const{color:t,opacity:e,hideInput:o}=this.props,{inputOpacity:r,isPointerDragged:s}=this.state,l={color:t||void 0};return i.createElement("div",{className:a.opacity},i.createElement("div",{className:a.opacitySlider,style:l,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},i.createElement("div",{className:a.opacitySliderGradient,style:{backgroundImage:`linear-gradient(90deg, transparent, ${t})`}}),i.createElement("div",{className:a.opacityPointerWrap},i.createElement("div",{className:n(a.pointer,s&&a.dragged),style:{left:100*e+"%"},ref:this._refPointer}))),!o&&i.createElement("div",{className:a.opacityInputWrap},i.createElement("input",{type:"text",className:a.opacityInput,value:r,onChange:this._handleInput}),i.createElement("span",{className:a.opacityInputPercent},"%")))}_dragSubscribe(){const t=(0,r.ensureNotNull)(this._container).ownerDocument;t&&(t.addEventListener("mouseup",this._mouseUp),t.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const t=(0,r.ensureNotNull)(this._container).ownerDocument;t&&(t.removeEventListener("mousemove",this._mouseMove),t.removeEventListener("mouseup",this._mouseUp))}}},6914:(t,e,o)=>{"use strict";o.d(e,{white:()=>n,basic:()=>a,extended:()=>c});var i=o(45112);const n=i.colorsPalette["color-white"],r=["ripe-red","tan-orange","banana-yellow","iguana-green","minty-green","sky-blue","tv-blue","deep-blue","grapes-purple","berry-pink"],s=[200,300,400,500,600,700,800,900].map(t=>"color-cold-gray-"+t);s.unshift("color-white"),s.push("color-black"),r.forEach(t=>{s.push(`color-${t}-500`)});const a=s.map(t=>i.colorsPalette[t]),l=[];[100,200,300,400,700,900].forEach(t=>{r.forEach(e=>{l.push(`color-${e}-${t}`)})});const c=l.map(t=>i.colorsPalette[t])},56512:(t,e,o)=>{"use strict";o.d(e,{useCustomColors:()=>l});var i=o(59496),n=o(56840),r=o(76422);function s(t,e){(0,i.useEffect)(()=>(r.subscribe(t,e,null),()=>{r.unsubscribe(t,e,null)}),[t,e])}var a=o(24377);function l(){const[t,e]=(0,i.useState)((0,n.getJSON)("pickerCustomColors",[])) +;s("add_new_custom_color",o=>e(c(o,t))),s("remove_custom_color",o=>e(d(o,t)));const o=(0,i.useCallback)(e=>{const o=e?(0,a.parseRgb)(e):null;t.some(t=>null!==t&&null!==o&&(0,a.areEqualRgb)((0,a.parseRgb)(t),o))||(r.emit("add_new_custom_color",e),(0,n.setJSON)("pickerCustomColors",c(e,t)))},[t]),l=(0,i.useCallback)(e=>{(e>=0||e29&&o.shift(),o}function d(t,e){return e.filter((e,o)=>t!==o)}},84877:(t,e,o)=>{"use strict";o.d(e,{MatchMediaMap:()=>s});var i=o(59496),n=o(66783),r=o.n(n);class s extends i.Component{constructor(t){super(t),this._handleMediaChange=()=>{const t=l(this.state.queries,(t,e)=>e.matches);let e=!1;for(const o in t)if(t.hasOwnProperty(o)&&this.state.matches[o]!==t[o]){e=!0;break}e&&this.setState({matches:t})};const{rules:e}=this.props;this.state=a(e)}shouldComponentUpdate(t,e){return!r()(t,this.props)||(!r()(e.rules,this.state.rules)||!r()(e.matches,this.state.matches))}componentDidMount(){this._migrate(null,this.state.queries)}componentDidUpdate(t,e){r()(t.rules,this.props.rules)||this._migrate(e.queries,this.state.queries)}componentWillUnmount(){this._migrate(this.state.queries,null)}render(){return this.props.children(this.state.matches)}static getDerivedStateFromProps(t,e){if(r()(t.rules,e.rules))return null;const{rules:o}=t;return a(o)}_migrate(t,e){null!==t&&l(t,(t,e)=>{e.removeListener(this._handleMediaChange)}),null!==e&&l(e,(t,e)=>{e.addListener(this._handleMediaChange)})}}function a(t){const e=l(t,(t,e)=>window.matchMedia(e));return{queries:e,matches:l(e,(t,e)=>e.matches),rules:{...t}}}function l(t,e){const o={};for(const i in t)t.hasOwnProperty(i)&&(o[i]=e(i,t[i]));return o}},31328:t=>{t.exports=''},19726:t=>{t.exports=''},56326:t=>{t.exports=''},20618:t=>{t.exports=''},98510:t=>{ +t.exports=''},25570:t=>{t.exports=''},98985:t=>{t.exports=''},47441:t=>{t.exports=''},93129:t=>{t.exports=''},37500:t=>{t.exports=''},4873:t=>{t.exports=''},58912:t=>{t.exports=''},95990:t=>{t.exports=''},57979:t=>{ +t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/full-tooltips-popup.7ab1067f92b52f07297b.js b/charting_library/bundles/full-tooltips-popup.7ab1067f92b52f07297b.js new file mode 100644 index 00000000..b9d4dcf8 --- /dev/null +++ b/charting_library/bundles/full-tooltips-popup.7ab1067f92b52f07297b.js @@ -0,0 +1,8 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8643],{59142:function(e,t){var n,o,r;o=[t],void 0===(r="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{e.exports={"css-value-small-size":"18px","css-value-medium-size":"22px","css-value-large-size":"28px","css-value-border-radius-small-size":"9px","css-value-border-radius-medium-size":"11px", +"css-value-border-radius-large-size":"8px",popupWidget:"popupWidget-QCFoCG9e",large:"large-QCFoCG9e",desc:"desc-QCFoCG9e",icon:"icon-QCFoCG9e",small:"small-QCFoCG9e",medium:"medium-QCFoCG9e",title:"title-QCFoCG9e",text:"text-QCFoCG9e",item:"item-QCFoCG9e",boldItem:"boldItem-QCFoCG9e",action:"action-QCFoCG9e",additionalWidget:"additionalWidget-QCFoCG9e"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},16059:e=>{e.exports={menuWrap:"menuWrap-8MKeZifP",isMeasuring:"isMeasuring-8MKeZifP",scrollWrap:"scrollWrap-8MKeZifP",momentumBased:"momentumBased-8MKeZifP",menuBox:"menuBox-8MKeZifP",isHidden:"isHidden-8MKeZifP"}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r});var o=n(59496);const r=o.forwardRef((e,t)=>{const{icon:n="",...r}=e;return o.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:n}})})},4872:(e,t,n)=>{"use strict";n.r(t),n.d(t,{render:()=>y});var o=n(59496),r=n(87995),s=(n(28353),n(50628)),i=n(90692),l=n(41590),a=n(37558),c=n(9423),u=n(97754),d=n(88537),h=n(9745),p=n(77975),m=n(80643),f=n(66273);const v=new WeakMap,g=new WeakMap;function _(e){const t=(0,p.useWatchedValueReadonly)({watchedValue:e.info});if(null===t)return null;const n=t.map(t=>{const{title:n,titleColor:r,icon:s,iconClassName:i,html:l,action:a,size:p}=t;v.has(t)||v.set(t,(0,c.randomHash)());let _=[];return void 0!==e.additionalWidgets&&(_=e.additionalWidgets.map(e=>(g.has(e)||g.set(e,(0,c.randomHash)()),e.renderer((0,d.ensureDefined)(g.get(e)),f.additionalWidget)))),o.createElement("div",{key:v.get(t),className:u(f.popupWidget,f[p])},o.createElement(h.Icon,{className:u(f.icon,i,f[p]),icon:s||void 0}),o.createElement("div",{className:f.desc},o.createElement("span",{style:{color:r||void 0},className:u(f.title,f[p])},n),l&&o.createElement("p",{className:u(f.text,f[p])},l.map((e,t)=>{let n,r;return(0,m.isObject)(e)?(n=e.text,r=e.bold):n=e,o.createElement("span",{key:"html_item_"+t,className:u(f.item,r&&f.boldItem),dangerouslySetInnerHTML:{__html:n}})})),a&&o.createElement("span",{className:u(a.tooltip&&"apply-common-tooltip",f.action,f[p]),onClick:()=>{e.onClose(),null==a||a.onClick()},title:a.tooltip},a.text),_))});return o.createElement(o.Fragment,null,n)}const w=new WeakMap;function C(e){const{statusWidgetInfos:t}=e,n=t.filter(e=>e.visible.value()).map(t=>(w.has(t)||w.set(t,(0,c.randomHash)()),o.createElement(_,{key:w.get(t),info:t.model.fullInfo(),onClose:e.onClose,additionalWidgets:t.additionalWidgets})));return o.createElement(a.DrawerManager,null,o.createElement(i.MatchMedia,{rule:"screen and (max-width: 428px)"},t=>t?o.createElement(l.Drawer,{onClose:e.onClose,position:"Bottom"},n):o.createElement(s.PopupMenu,{isOpened:!0,onClose:e.onClose,position:e.position,doNotCloseOn:e.rendererButton},n)))}function y(e,t,n,s,i,l){const a={rendererButton:n,position:l,statusWidgetInfos:s,onClose:i};e?r.render(o.createElement(C,{...a}),t):r.unmountComponentAtNode(t)}},68722:(e,t,n)=>{"use strict";n.d(t,{ +getScrollbarWidth:()=>o,matchMediaMinMax:()=>r,setStyle:()=>s,getCSSProperty:()=>i,getCSSPropertyNumericValue:()=>l});const o=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),o=n.style;o.visibility="hidden",o.width="100px",o.msOverflowStyle="scrollbar",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const i=s.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=r-i}return e}})();function r(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function s(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function l(e,t){return parseInt(i(e,t))}},43989:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>i});var o=n(68722);let r=0,s=!1;function i(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++r){const e=(0,o.getCSSProperty)(t,"overflow"),r=(0,o.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,o.setStyle)(n,"right",(0,o.getScrollbarWidth)()+"px"),t.style.paddingRight=r+(0,o.getScrollbarWidth)()+"px",s=!0),t.classList.add("i-no-scroll")}else if(!e&&r>0&&0==--r&&(t.classList.remove("i-no-scroll"),s)){(0,o.setStyle)(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,o.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",s=!1}}},37558:(e,t,n)=>{"use strict";n.d(t,{DrawerManager:()=>r,DrawerContext:()=>s});var o=n(59496);class r extends o.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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.createElement(s.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const s=o.createContext(null)},41590:(e,t,n)=>{"use strict";n.d(t,{Drawer:()=>p});var o=n(59496),r=n(88537),s=n(97754),i=n(59142),l=n(43989),a=n(65718),c=n(37558),u=n(49483),d=n(29197),h=n(66998);function p(e){const{position:t="Bottom",onClose:n,children:p,className:m,theme:f=h}=e,v=(0,r.ensureNotNull)((0,o.useContext)(c.DrawerContext)),[g,_]=(0,o.useState)(0),w=(0,o.useRef)(null),C=(0,o.useContext)(d.CloseDelegateContext);return(0,o.useEffect)(()=>{const e=(0,r.ensureNotNull)(w.current);return e.focus({preventScroll:!0}),C.subscribe(v,n),0===v.currentDrawer&&(0,l.setFixedBodyState)(!0),u.CheckMobile.iOS()&&(0,i.disableBodyScroll)(e),_(v.addDrawer()),()=>{C.unsubscribe(v,n);const t=v.removeDrawer();u.CheckMobile.iOS()&&(0,i.enableBodyScroll)(e),0===t&&(0,l.setFixedBodyState)(!1)}},[]),o.createElement(a.Portal,null,o.createElement("div",{className:s(h.wrap,h["position"+t])},g===v.currentDrawer&&o.createElement("div",{className:h.backdrop,onClick:n}),o.createElement("div",{ +className:s(h.drawer,f.drawer,h["position"+t],m),ref:w,tabIndex:-1,"data-name":e["data-name"]},p)))}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var o=n(59496),r=n(39640);function s(e){const{click:t,mouseDown:n,touchEnd:s,touchStart:i,handler:l,reference:a,ownerDocument:c=document}=e,u=(0,o.useRef)(null),d=(0,o.useRef)(new CustomEvent("timestamp").timeStamp);return(0,o.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:s,touchStart:i},o=a?a.current:u.current;return(0,r.addOutsideEventListener)(d.current,o,l,c,e)},[t,n,s,i,l]),a||u}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>r});var o=n(59496);class r extends o.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)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>o});const o=n(59496).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>v,Menu:()=>g});var o=n(59496),r=n(97754),s=n.n(r),i=n(88537),l=n(64514),a=n(54475),c=n(50655),u=n(59064),d=n(88216),h=n(25760),p=n(14758),m=n(64706),f=n(16059);const v=f;class g extends o.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,o,r,s;if(this.state.isMeasureValid&&!t)return;const{position:a}=this.props,c=(0,i.ensureNotNull)(this._containerRef);let u=c.getBoundingClientRect();const d=document.documentElement.clientHeight,h=document.documentElement.clientWidth,p=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let m=d-0-p;const f=u.height>m;if(f){(0,i.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",u=c.getBoundingClientRect()}const{width:v,height:g}=u,_="function"==typeof a?a(v,g,d):a,w=h-(null!==(o=_.overrideWidth)&&void 0!==o?o:v)-0,C=(0,l.clamp)(_.x,0,Math.max(0,w)),y=0+p,x=d-(null!==(r=_.overrideHeight)&&void 0!==r?r:g)-0;let b=(0,l.clamp)(_.y,y,Math.max(y,x)) +;if(_.forbidCorrectYCoord&&b<_.y&&(m-=_.y-b,b=_.y),t&&void 0!==this.props.closeOnScrollOutsideOffset&&_.y<=this.props.closeOnScrollOutsideOffset)return void this._handleGlobalClose(!0);const E=null!==(s=_.overrideHeight)&&void 0!==s?s:f?m:void 0;this.setState({appearingMenuHeight:t?this.state.appearingMenuHeight:E,appearingMenuWidth:t?this.state.appearingMenuWidth:_.overrideWidth,appearingPosition:{x:C,y:b},isMeasureValid:!0},()=>{this._restoreScrollPosition(),e&&e()})},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,i.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null}))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,i.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout(()=>{this._handleMeasure({forceRecalcPosition:!0})},80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame(()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null})))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize);const t=null!==this.context;this._hotkeys||t||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>this._handleGlobalClose()})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=u.globalCloseDelegate}=this.props;e.unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":r,children:i,minWidth:l,theme:u=f,className:d,maxHeight:h,onMouseOver:v,onMouseOut:g,onKeyDown:w,onFocus:C,onBlur:y}=this.props,{appearingMenuHeight:x,appearingMenuWidth:b,appearingPosition:E,isMeasureValid:S}=this.state;return o.createElement(m.MenuContext.Provider,{ +value:this},o.createElement(p.SubmenuHandler,null,o.createElement(c.SlotContext.Provider,{value:this._manager},o.createElement("div",{id:e,role:t,"aria-labelledby":n,"aria-activedescendant":r,className:s()(d,u.menuWrap,!S&&u.isMeasuring),style:{height:x,left:E&&E.x,minWidth:l,position:"fixed",top:E&&E.y,width:b},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:v,onMouseOut:g,onKeyDown:w,onFocus:C,onBlur:y},o.createElement("div",{className:s()(u.scrollWrap,!this.props.noMomentumBasedScroll&&u.momentumBased),style:{overflowY:void 0!==x?"scroll":"auto",maxHeight:h},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},o.createElement(_,{className:u.menuBox},i)))),o.createElement(c.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}}function _(e){const t=(0,i.ensureNotNull)((0,o.useContext)(p.SubmenuContext)),n=o.useRef(null);return o.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(o=e.target,null===(r=n.current)||void 0===r?void 0:r.contains(o))))return;var o,r;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}g.contextType=p.SubmenuContext},88216:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>l});var o=n(88537);class r{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 s{constructor(e=document){this._storage=new r,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 o=this._document.createElement("div");if(o.style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(o);else if(t.index<=0)this._container.insertBefore(o,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(o,e)}}else"reverse"===t.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(e,o),++this._index,o}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 i=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,o.ensureDefined)(i.get(t));{const t=new s(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 i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>s});var o=n(59496),r=n(59064);const s=o.createContext(r.globalCloseDelegate)},50628:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>c});var o=n(59496),r=n(87995),s=n(65718),i=n(27317),l=n(29197),a=n(58095);function c(e){const{controller:t,children:n,isOpened:c,closeOnClickOutside:u=!0,doNotCloseOn:d,onClickOutside:h,onClose:p,...m}=e,f=(0,o.useContext)(l.CloseDelegateContext),v=(0,a.useOutsideEvent)({handler:function(e){h&&h(e);if(!u)return;if(d&&e.target instanceof Node){const t=r.findDOMNode(d);if(t instanceof Node&&t.contains(e.target))return}p()},mouseDown:!0,touchStart:!0});return c?o.createElement(s.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},o.createElement("span",{ref:v,style:{pointerEvents:"auto"}},o.createElement(i.Menu,{...m,onClose:p,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:f,ref:t},n))):null}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>c});var o=n(59496),r=n(87995),s=n(9423),i=n(88216),l=n(50655);class a extends o.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.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||"",r.createPortal(o.createElement(c.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const c=o.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>r,SlotContext:()=>s});var o=n(59496);class r extends o.Component{shouldComponentUpdate(){return!1}render(){return o.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const s=o.createContext(null)},14758:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>r,SubmenuHandler:()=>s});var o=n(59496);const r=o.createContext(null);function s(e){const[t,n]=(0,o.useState)(null),s=(0,o.useRef)(null),i=(0,o.useRef)(new Map);return(0,o.useEffect)(()=>()=>{null!==s.current&&clearTimeout(s.current)},[]),o.createElement(r.Provider,{value:{current:t,setCurrent:function(e){null!==s.current&&(clearTimeout(s.current),s.current=null);null===t?n(e):s.current=setTimeout(()=>{s.current=null,n(e)},100)},registerSubmenu:function(e,t){ +return i.current.set(e,t),()=>{i.current.delete(e)}},isSubmenuNode:function(e){return Array.from(i.current.values()).some(t=>t(e))}}},e.children)}}}]); \ No newline at end of file diff --git a/charting_library/bundles/full-tooltips-popup.d80e5db5b5d195e2517b.js b/charting_library/bundles/full-tooltips-popup.d80e5db5b5d195e2517b.js deleted file mode 100644 index c386d323..00000000 --- a/charting_library/bundles/full-tooltips-popup.d80e5db5b5d195e2517b.js +++ /dev/null @@ -1,3 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8643],{59142:function(e,t){var o,n,r;n=[t],void 0===(r="function"==typeof(o=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t{e.exports={"css-value-small-size":"18px","css-value-medium-size":"22px","css-value-large-size":"28px","css-value-border-radius-small-size":"9px","css-value-border-radius-medium-size":"11px", -"css-value-border-radius-large-size":"8px",popupWidget:"popupWidget-QCFoCG9e",large:"large-QCFoCG9e",desc:"desc-QCFoCG9e",icon:"icon-QCFoCG9e",small:"small-QCFoCG9e",medium:"medium-QCFoCG9e",title:"title-QCFoCG9e",text:"text-QCFoCG9e",item:"item-QCFoCG9e",boldItem:"boldItem-QCFoCG9e",action:"action-QCFoCG9e",additionalWidget:"additionalWidget-QCFoCG9e"}},66998:e=>{e.exports={wrap:"wrap-3HaHQVJm",positionBottom:"positionBottom-3HaHQVJm",backdrop:"backdrop-3HaHQVJm",drawer:"drawer-3HaHQVJm",positionLeft:"positionLeft-3HaHQVJm"}},4872:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>y});var n=o(59496),r=o(87995),a=(o(28353),o(50628)),i=o(90692),l=o(41590),s=o(37558),c=o(9423),d=o(97754),u=o(88537),m=o(9745),p=o(77975),v=o(80643),f=o(66273);const h=new WeakMap,g=new WeakMap;function w(e){const t=(0,p.useWatchedValueReadonly)({watchedValue:e.info});if(null===t)return null;const o=t.map(t=>{const{title:o,titleColor:r,icon:a,iconClassName:i,html:l,action:s,size:p}=t;h.has(t)||h.set(t,(0,c.randomHash)());let w=[];return void 0!==e.additionalWidgets&&(w=e.additionalWidgets.map(e=>(g.has(e)||g.set(e,(0,c.randomHash)()),e.renderer((0,u.ensureDefined)(g.get(e)),f.additionalWidget)))),n.createElement("div",{key:h.get(t),className:d(f.popupWidget,f[p])},n.createElement(m.Icon,{className:d(f.icon,i,f[p]),icon:a||void 0}),n.createElement("div",{className:f.desc},n.createElement("span",{style:{color:r||void 0},className:d(f.title,f[p])},o),l&&n.createElement("p",{className:d(f.text,f[p])},l.map((e,t)=>{let o,r;return(0,v.isObject)(e)?(o=e.text,r=e.bold):o=e,n.createElement("span",{key:"html_item_"+t,className:d(f.item,r&&f.boldItem),dangerouslySetInnerHTML:{__html:o}})})),s&&n.createElement("span",{className:d(s.tooltip&&"apply-common-tooltip",f.action,f[p]),onClick:()=>{e.onClose(),null==s||s.onClick()},title:s.tooltip},s.text),w))});return n.createElement(n.Fragment,null,o)}const C=new WeakMap;function E(e){const{statusWidgetInfos:t}=e,o=t.filter(e=>e.visible.value()).map(t=>(C.has(t)||C.set(t,(0,c.randomHash)()),n.createElement(w,{key:C.get(t),info:t.model.fullInfo(),onClose:e.onClose,additionalWidgets:t.additionalWidgets})));return n.createElement(s.DrawerManager,null,n.createElement(i.MatchMedia,{rule:"screen and (max-width: 428px)"},t=>t?n.createElement(l.Drawer,{onClose:e.onClose,position:"Bottom"},o):n.createElement(a.PopupMenu,{isOpened:!0,onClose:e.onClose,position:e.position,doNotCloseOn:e.rendererButton},o)))}function y(e,t,o,a,i,l){const s={rendererButton:o,position:l,statusWidgetInfos:a,onClose:i};e?r.render(n.createElement(E,{...s}),t):r.unmountComponentAtNode(t)}},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerManager:()=>r,DrawerContext:()=>a});var n=o(59496);class r extends n.PureComponent{constructor(e){super(e),this._addDrawer=()=>{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 n.createElement(a.Provider,{value:{addDrawer:this._addDrawer, -removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const a=n.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>p});var n=o(59496),r=o(88537),a=o(97754),i=o(59142),l=o(99054),s=o(65718),c=o(37558),d=o(49483),u=o(29197),m=o(66998);function p(e){const{position:t="Bottom",onClose:o,children:p,className:v,theme:f=m}=e,h=(0,r.ensureNotNull)((0,n.useContext)(c.DrawerContext)),[g,w]=(0,n.useState)(0),C=(0,n.useRef)(null),E=(0,n.useContext)(u.CloseDelegateContext);return(0,n.useEffect)(()=>{const e=(0,r.ensureNotNull)(C.current);return e.focus({preventScroll:!0}),E.subscribe(h,o),0===h.currentDrawer&&(0,l.setFixedBodyState)(!0),d.CheckMobile.iOS()&&(0,i.disableBodyScroll)(e),w(h.addDrawer()),()=>{E.unsubscribe(h,o);const t=h.removeDrawer();d.CheckMobile.iOS()&&(0,i.enableBodyScroll)(e),0===t&&(0,l.setFixedBodyState)(!1)}},[]),n.createElement(s.Portal,null,n.createElement("div",{className:a(m.wrap,m["position"+t])},g===h.currentDrawer&&n.createElement("div",{className:m.backdrop,onClick:o}),n.createElement("div",{className:a(m.drawer,f.drawer,m["position"+t],v),ref:C,tabIndex:-1,"data-name":e["data-name"]},p)))}},50628:(e,t,o)=>{"use strict";o.d(t,{PopupMenu:()=>c});var n=o(59496),r=o(87995),a=o(65718),i=o(27317),l=o(29197),s=o(58095);function c(e){const{controller:t,children:o,isOpened:c,closeOnClickOutside:d=!0,doNotCloseOn:u,onClickOutside:m,onClose:p,...v}=e,f=(0,n.useContext)(l.CloseDelegateContext),h=(0,s.useOutsideEvent)({handler:function(e){m&&m(e);if(!d)return;if(u&&e.target instanceof Node){const t=r.findDOMNode(u);if(t instanceof Node&&t.contains(e.target))return}p()},mouseDown:!0,touchStart:!0});return c?n.createElement(a.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},n.createElement("span",{ref:h,style:{pointerEvents:"auto"}},n.createElement(i.Menu,{...v,onClose:p,onScroll:function(t){const{onScroll:o}=e;o&&o(t)},customCloseDelegate:f,ref:t},o))):null}}}]); \ No newline at end of file diff --git a/charting_library/bundles/fullscreen-image-dialog-impl.96661b3d18a6fe1cf637.js b/charting_library/bundles/fullscreen-image-dialog-impl.96661b3d18a6fe1cf637.js new file mode 100644 index 00000000..20cc9f8a --- /dev/null +++ b/charting_library/bundles/fullscreen-image-dialog-impl.96661b3d18a6fe1cf637.js @@ -0,0 +1 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4632],{37810:e=>{e.exports={dialog:"dialog-VogZFLY8",border:"border-VogZFLY8",closeButton:"closeButton-VogZFLY8",container:"container-VogZFLY8",img:"img-VogZFLY8"}},93497:(e,t,o)=>{"use strict";o.r(t),o.d(t,{renderFullscreenImageDialog:()=>u});var l=o(59496),r=o(87995),i=o(28353),n=o(97754),a=o(58095),s=o(81e3),c=o(67844),g=o(68335),d=o(37810);function u(e){const t=document.createElement("div"),{imageSrc:o}=e;r.render(l.createElement(m,{onClose:function(){r.unmountComponentAtNode(t)},imageSrc:o}),t)}function m(e){const{onClose:t,imageSrc:o}=e,r=(0,a.useOutsideEvent)({click:!0,handler:t});return l.createElement(s.PopupDialog,{isOpened:!0,fullscreen:!0,onKeyDown:e=>{27===(0,g.hashFromEvent)(e)&&t()},className:n(d.dialog,d.border),"data-dialog-name":"fullscreen-image-dialog",autofocus:!0},l.createElement("div",{className:d.container},l.createElement(c.CloseButton,{onClick:t,className:d.closeButton,"aria-label":(0,i.t)("Close",{context:"input"}),size:"l"}),l.createElement("img",{className:d.img,ref:r,src:o})))}},43989:(e,t,o)=>{"use strict";o.d(t,{setFixedBodyState:()=>n});var l=o(68722);let r=0,i=!1;function n(e){const{body:t}=document,o=t.querySelector(".widgetbar-wrap");if(e&&1==++r){const e=(0,l.getCSSProperty)(t,"overflow"),r=(0,l.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,l.setStyle)(o,"right",(0,l.getScrollbarWidth)()+"px"),t.style.paddingRight=r+(0,l.getScrollbarWidth)()+"px",i=!0),t.classList.add("i-no-scroll")}else if(!e&&r>0&&0==--r&&(t.classList.remove("i-no-scroll"),i)){(0,l.setStyle)(o,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,l.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",i=!1}}}}]); \ No newline at end of file diff --git a/charting_library/bundles/general-chart-properties-dialog.f56362c75973e41ee012.js b/charting_library/bundles/general-chart-properties-dialog.c03cba9c7cf0c46b99e6.js similarity index 99% rename from charting_library/bundles/general-chart-properties-dialog.f56362c75973e41ee012.js rename to charting_library/bundles/general-chart-properties-dialog.c03cba9c7cf0c46b99e6.js index c18a32a0..cb57ffa5 100644 --- a/charting_library/bundles/general-chart-properties-dialog.f56362c75973e41ee012.js +++ b/charting_library/bundles/general-chart-properties-dialog.c03cba9c7cf0c46b99e6.js @@ -1,5 +1,5 @@ (self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7078],{59142:function(e,t){var n,i,o;i=[t],void 0===(o="function"==typeof(n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{e.exports={backButton:"backButton-ydU3v7fN"}},54565:e=>{e.exports={wrapper:"wrapper-Zcmov9JL",container:"container-Zcmov9JL",tab:"tab-Zcmov9JL",active:"active-Zcmov9JL",title:"title-Zcmov9JL", -icon:"icon-Zcmov9JL",titleText:"titleText-Zcmov9JL",nested:"nested-Zcmov9JL",isTablet:"isTablet-Zcmov9JL",isMobile:"isMobile-Zcmov9JL"}},79349:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tablet-small-breakpoint":"screen and (max-width: 428px)",withSidebar:"withSidebar-26RvWdey",content:"content-26RvWdey",tabContent:"tabContent-26RvWdey",applyToAllButton:"applyToAllButton-26RvWdey"}},12662:e=>{e.exports={themesButtonText:"themesButtonText-FIFiZujG",themesButtonIcon:"themesButtonIcon-FIFiZujG",defaultsButtonText:"defaultsButtonText-FIFiZujG",defaultsButtonItem:"defaultsButtonItem-FIFiZujG"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},22265:(e,t,n)=>{"use strict";n.d(t,{DialogSidebarContainer:()=>m,DialogSidebarWrapper:()=>d,DialogSidebarItem:()=>h});var i=n(59496),o=n(97754),l=n.n(o),a=n(9745),s=n(30360),r=n(54565);function c(e){return{isMobile:"mobile"===e,isTablet:"tablet"===e}}function m(e){const{mode:t,className:n,...o}=e,{isMobile:a,isTablet:s}=c(t),m=l()(r.container,s&&r.isTablet,a&&r.isMobile,n);return i.createElement("div",{...o,className:m,"data-role":"dialog-sidebar"})}function d(e){return i.createElement("div",{className:r.wrapper,...e})}function h(e){const{mode:t,title:n,icon:o,isActive:m,onClick:d,...h}=e,{isMobile:u,isTablet:p}=c(t);return i.createElement("div",{...h,className:l()(r.tab,p&&r.isTablet,u&&r.isMobile,m&&r.active),onClick:d},i.createElement(a.Icon,{className:r.icon,icon:o}),!p&&i.createElement("span",{className:r.title},i.createElement("span",{className:r.titleText},n),u&&i.createElement(a.Icon,{className:r.nested,icon:s})))}},72811:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeneralChartPropertiesDialogRenderer:()=>U});var i=n(28353),o=n(59496),l=n(87995),a=n(94720),s=n(90545),r=n(50182),c=n(66849),m=n(35868),d=n(56840),h=n.n(d),u=n(42060),p=n(90692),b=n(9745),g=n(95276),v=n(16396),y=n(51613),f=n(6087),C=(n(94419),n(3615));const T=(0,i.t)("Do you really want to delete Color Theme '{name}' ?");var _=n(50655),S=n(82724),k=n(96040),A=n(51768),E=n(70412),w=n(32563),P=n(12662);function B(e){const{themeName:t,chartWidgetCollection:n,onRemove:i,manager:l}=e,[a,s]=(0,E.useHover)(),r=o.useCallback(()=>function(e,t,n){window.is_authenticated&&(0,C.showConfirm)({text:T.format({name:e}),onConfirm:({dialogClose:n})=>{(0,f.removeTheme)(e),t&&t(e),n()}},n)}(t,i,l),[t,i,l]),c=o.useCallback(()=>{(0,f.loadTheme)(n,{themeName:t,standardTheme:!1}).then(()=>{n.readOnly()||window.saver.saveChartSilently(),(0,A.trackEvent)("GUI","Switch to custom theme")})},[t,n]);return o.createElement("div",{...s},o.createElement(v.PopupMenuItem,{className:P.defaultsButtonItem,isActive:!1,label:t,onClick:c,toolbox:o.createElement(k.RemoveButton,{hidden:!w.mobiletouch&&!a,onClick:r})}))}var M=n(31328);const x=(0,i.t)("Template"),I=(0,i.t)("Apply defaults"),L=((0,S.appendEllipsis)((0,i.t)("Save as")),(0,i.t)("Apply to all"));class D extends o.PureComponent{constructor(e){super(e),this._manager=null, +icon:"icon-Zcmov9JL",titleText:"titleText-Zcmov9JL",nested:"nested-Zcmov9JL",isTablet:"isTablet-Zcmov9JL",isMobile:"isMobile-Zcmov9JL"}},79349:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tablet-small-breakpoint":"screen and (max-width: 428px)",withSidebar:"withSidebar-26RvWdey",content:"content-26RvWdey",tabContent:"tabContent-26RvWdey",applyToAllButton:"applyToAllButton-26RvWdey"}},12662:e=>{e.exports={themesButtonText:"themesButtonText-FIFiZujG",themesButtonIcon:"themesButtonIcon-FIFiZujG",defaultsButtonText:"defaultsButtonText-FIFiZujG",defaultsButtonItem:"defaultsButtonItem-FIFiZujG"}},524:e=>{e.exports={separator:"separator-GzmeVcFo",small:"small-GzmeVcFo",normal:"normal-GzmeVcFo",large:"large-GzmeVcFo"}},22265:(e,t,n)=>{"use strict";n.d(t,{DialogSidebarContainer:()=>m,DialogSidebarWrapper:()=>d,DialogSidebarItem:()=>h});var i=n(59496),o=n(97754),l=n.n(o),a=n(9745),s=n(30360),r=n(54565);function c(e){return{isMobile:"mobile"===e,isTablet:"tablet"===e}}function m(e){const{mode:t,className:n,...o}=e,{isMobile:a,isTablet:s}=c(t),m=l()(r.container,s&&r.isTablet,a&&r.isMobile,n);return i.createElement("div",{...o,className:m,"data-role":"dialog-sidebar"})}function d(e){return i.createElement("div",{className:r.wrapper,...e})}function h(e){const{mode:t,title:n,icon:o,isActive:m,onClick:d,...h}=e,{isMobile:u,isTablet:p}=c(t);return i.createElement("div",{...h,className:l()(r.tab,p&&r.isTablet,u&&r.isMobile,m&&r.active),onClick:d},i.createElement(a.Icon,{className:r.icon,icon:o}),!p&&i.createElement("span",{className:r.title},i.createElement("span",{className:r.titleText},n),u&&i.createElement(a.Icon,{className:r.nested,icon:s})))}},72811:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeneralChartPropertiesDialogRenderer:()=>U});var i=n(28353),o=n(59496),l=n(87995),a=n(97737),s=n(90545),r=n(50182),c=n(66849),m=n(35868),d=n(56840),h=n.n(d),u=n(42060),p=n(90692),b=n(9745),g=n(95276),v=n(16396),y=n(51613),f=n(6087),C=(n(94419),n(3615));const T=(0,i.t)("Do you really want to delete Color Theme '{name}' ?");var _=n(50655),S=n(82724),k=n(96040),A=n(51768),E=n(70412),w=n(32563),P=n(12662);function B(e){const{themeName:t,chartWidgetCollection:n,onRemove:i,manager:l}=e,[a,s]=(0,E.useHover)(),r=o.useCallback(()=>function(e,t,n){window.is_authenticated&&(0,C.showConfirm)({text:T.format({name:e}),onConfirm:({dialogClose:n})=>{(0,f.removeTheme)(e),t&&t(e),n()}},n)}(t,i,l),[t,i,l]),c=o.useCallback(()=>{(0,f.loadTheme)(n,{themeName:t,standardTheme:!1}).then(()=>{n.readOnly()||window.saver.saveChartSilently(),(0,A.trackEvent)("GUI","Switch to custom theme")})},[t,n]);return o.createElement("div",{...s},o.createElement(v.PopupMenuItem,{className:P.defaultsButtonItem,isActive:!1,label:t,onClick:c,toolbox:o.createElement(k.RemoveButton,{hidden:!w.mobiletouch&&!a,onClick:r})}))}var M=n(31328);const x=(0,i.t)("Template"),I=(0,i.t)("Apply defaults"),L=((0,S.appendEllipsis)((0,i.t)("Save as")),(0,i.t)("Apply to all"));class D extends o.PureComponent{constructor(e){super(e),this._manager=null, this._handleApplyDefaults=()=>{const{model:e,chartWidgetCollection:t}=this.props;e.restorePreferences();const n=(0,f.getCurrentTheme)().name;(0,f.loadTheme)(t,{themeName:n,standardTheme:!0,applyOverrides:!0})},this._handleSaveAs=()=>{0},this._handleRemoveTheme=e=>{this.setState({themes:this.state.themes.filter(t=>t!==e)})},this._syncThemeList=()=>{0},this.state={themes:[]},this._syncThemeList()}render(){return o.createElement(_.SlotContext.Consumer,null,e=>(this._manager=e,o.createElement(p.MatchMedia,{rule:"screen and (max-width: 768px)"},e=>o.createElement(g.ControlDisclosure,{id:"series-theme-manager",className:!e&&P.themesButtonText,hideArrowButton:e,"data-name":"theme-select",buttonChildren:this._getPlaceHolderItem(e)},this._getThemeItems(e)))))}_getPlaceHolderItem(e){return e?o.createElement(b.Icon,{className:P.themesButtonIcon,icon:M}):x}_getThemeItems(e){const{isApplyToAllVisible:t,chartWidgetCollection:n,applyToAllCallback:i}=this.props,{themes:l}=this.state;return o.createElement(o.Fragment,null,e&&t&&o.createElement(v.PopupMenuItem,{className:P.defaultsButtonItem,isActive:!1,label:L,onClick:i}),o.createElement(v.PopupMenuItem,{className:P.defaultsButtonItem,isActive:!1,label:I,onClick:this._handleApplyDefaults}),!1,l.length>0&&o.createElement(o.Fragment,null,o.createElement(y.PopupMenuSeparator,{key:"separator"}),l.map(e=>o.createElement(B,{key:e,themeName:e,onRemove:this._handleRemoveTheme,chartWidgetCollection:n,manager:this._manager}))))}}var N=n(59064),z=n(71953),W=n(24437),R=n(22265),V=n(86656);const F={areaSymbolMinTick:"normal",areaSymbolTimezone:"normal",barSymbolMinTick:"normal",barSymbolTimezone:"normal",baselineSymbolMinTick:"normal",baselineSymbolTimezone:"normal",candleSymbolMinTick:"normal",candleSymbolTimezone:"normal",dateFormat:"normal",haSymbolMinTick:"normal",haSymbolTimezone:"normal",hiloSymbolMinTick:"normal",hiloSymbolTimezone:"normal",hollowCandleSymbolMinTick:"normal",hollowCandleSymbolTimezone:"normal",kagiAtrLength:"normal",kagiReversalAmount:"normal",kagiStyle:"normal",kagiSymbolMinTick:"normal",kagiSymbolTimezone:"normal",lineSymbolMinTick:"normal",lineSymbolTimezone:"normal",sessionId:"normal",lockScale:"normal",mainSeriesSymbolAreaPriceSource:"normal",mainSeriesSymbolBaseLevelPercentage:"normal",mainSeriesSymbolBaseLinePriceSource:"normal",mainSeriesSymbolLinePriceSource:"normal",mainSeriesSymbolStyleType:"normal",navButtons:"big",paneButtons:"big",scalesCurrencyUnit:"big",pbLb:"normal",pbSymbolMinTick:"normal",pbSymbolTimezone:"normal",pnfAtrLength:"normal",pnfBoxSize:"normal",pnfReversalAmount:"normal",pnfSources:"normal",pnfStyle:"normal",pnfSymbolMinTick:"normal",pnfSymbolTimezone:"normal",rangeSymbolMinTick:"normal",rangeSymbolTimezone:"normal",renkoAtrLength:"normal",renkoBoxSize:"normal",renkoStyle:"normal",renkoSymbolMinTick:"normal",renkoSymbolTimezone:"normal",scalesPlacement:"normal",symbolLastValueLabel:"big",symbolTextSource:"normal"};var Z=n(24929),G=n(64360);function J(e){return o.createElement(b.Icon,{className:Z.backButton,icon:G,onClick:e.onClick})} var O=n(79349);class H extends o.PureComponent{constructor(e){var t;super(e),this._renderChildren=({requestResize:e,isSmallWidth:t})=>(this._requestResize=e,o.createElement("div",{className:O.content},this._renderTabs(t),this._renderTabContent(t))),this._renderApplyToAllButton=()=>o.createElement(p.MatchMedia,{rule:W.DialogBreakpoints.TabletNormal},e=>this._renderApplyToAll(e)),this._renderFooterLeft=()=>{const{model:e,chartWidgetCollection:t}=this.props,{isApplyToAllVisible:n}=this.state;return o.createElement(D,{model:e,isApplyToAllVisible:n,applyToAllCallback:this._handleApplyToAll,chartWidgetCollection:t})},this._createTabClickHandler=e=>()=>this._selectPage(e),this._selectPage=(e,t)=>{const{activePage:n}=this.state;e!==n&&(n&&n.definitions.unsubscribe(this._onChangeActivePageDefinitions),null!==e&&(t||h().setValue("properties_dialog.last_page_id",e.id),e.definitions.subscribe(this._onChangeActivePageDefinitions)),this.setState({activePage:e,tableKey:Date.now()},()=>{this._requestResize&&this._requestResize()}))},this._onChangeActivePageDefinitions=()=>{z.logger.logNormal("Definition collection was updated"),this.setState({tableKey:Date.now()},()=>{this._requestResize&&this._requestResize()})},this._onTabVisibilityChanged=()=>{const e=this.props.pages.filter(e=>e.visible.value());this.setState({visiblePages:e});const t=this.state.activePage;null===t||e.includes(t)||this._selectPage(0===e.length?null:e[0],!0)},this._handleCancel=()=>{this.props.onCancel(),this.props.onClose()},this._handleSubmit=()=>{this.props.onSubmit(),this.props.onClose()},this._handleScroll=()=>{N.globalCloseDelegate.fire()},this._handleApplyToAll=()=>{const{chartWidgetCollection:e,model:t}=this.props,{isApplyToAllVisible:n}=this.state;n&&e.applyPreferencesToAllCharts(t)},this._syncApplyToAllVisibility=()=>{const{chartWidgetCollection:e}=this.props;this.setState({isApplyToAllVisible:(0,u.isMultipleLayout)(e.layout.value())})},this._handleBackClick=()=>{const{activePage:e}=this.state;e&&e.definitions.unsubscribe(this._onChangeActivePageDefinitions),this.setState({activePage:null})};const{pages:n,activePageId:i}=e,l=n.filter(e=>e.visible.value());let a=null!==(t=l.find(e=>e.id===i))&&void 0!==t?t:null;if(!a){const e=h().getValue("properties_dialog.last_page_id"),t=l.find(t=>t.id===e);a=t||(l.length>0?l[0]:null)}this.state={activePage:a,visiblePages:l,isApplyToAllVisible:(0,u.isMultipleLayout)(e.chartWidgetCollection.layout.value()),tableKey:Date.now()}}componentDidMount(){const{chartWidgetCollection:e,pages:t}=this.props,{activePage:n}=this.state;e.layout.subscribe(this._syncApplyToAllVisibility),n&&n.definitions.subscribe(this._onChangeActivePageDefinitions),t.forEach(e=>e.visible.subscribe(this._onTabVisibilityChanged))}componentWillUnmount(){const{chartWidgetCollection:e,pages:t}=this.props,{activePage:n}=this.state;n&&n.definitions.unsubscribe(this._onChangeActivePageDefinitions),e.layout.unsubscribe(this._syncApplyToAllVisibility),t.forEach(e=>e.visible.unsubscribe(this._onTabVisibilityChanged))}render(){ const{isOpened:e,onClose:t}=this.props,{activePage:n}=this.state;return o.createElement(p.MatchMedia,{rule:W.DialogBreakpoints.TabletSmall},l=>o.createElement(r.AdaptiveConfirmDialog,{className:O.withSidebar,dataName:"series-properties-dialog",onClose:t,isOpened:e,title:null!==n&&l?n.title:(0,i.t)("Chart settings"),footerLeftRenderer:this._renderFooterLeft,additionalButtons:this._renderApplyToAllButton(),additionalHeaderElement:null!==n&&l?o.createElement(J,{onClick:this._handleBackClick}):void 0,onSubmit:this._handleSubmit,onCancel:this._handleCancel,render:this._renderChildren,submitOnEnterKey:!1}))}_renderTabContent(e){const{pages:t}=this.props,n=this._getCurrentPage(e);if(n){const e=t.find(e=>e.id===n.id),i=e?e.definitions.value():[];return o.createElement(V.TouchScrollContainer,{className:O.tabContent,onScroll:this._handleScroll},o.createElement(c.ControlCustomWidthContext.Provider,{value:F},o.createElement(m.PropertyTable,{key:this.state.tableKey},i.map(e=>o.createElement(s.Section,{key:e.id,definition:e})))))}return null}_renderTabs(e){const{activePage:t,visiblePages:n}=this.state;if(t&&e)return null;const i=this._getCurrentPage(e);return o.createElement(p.MatchMedia,{rule:W.DialogBreakpoints.TabletNormal},e=>o.createElement(p.MatchMedia,{rule:W.DialogBreakpoints.TabletSmall},t=>{const l=t?"mobile":e?"tablet":void 0;return o.createElement(R.DialogSidebarContainer,{mode:l,onScroll:this._handleScroll},n.map(e=>o.createElement(R.DialogSidebarItem,{key:e.id,mode:l,"data-name":e.id,title:e.title,icon:e.icon,onClick:this._createTabClickHandler(e),isActive:i?e.id===i.id:void 0})))}))}_renderApplyToAll(e){const{isApplyToAllVisible:t}=this.state;return!e&&t&&o.createElement("span",{className:O.applyToAllButton},o.createElement(a.Button,{appearance:"stroke",onClick:this._handleApplyToAll},(0,i.t)("Apply to all")))}_getCurrentPage(e){const{pages:t}=this.props,{activePage:n}=this.state;let i=null;return n?i=n:!e&&t.length&&(i=t[0]),i}}var j=n(76422),q=n(22729);const K=(0,i.t)("Chart settings");class U extends q.DialogRenderer{constructor(e){super(),this._handleClose=()=>{l.unmountComponentAtNode(this._container),this._setVisibility(!1),this._onClose&&this._onClose()},this._handleSubmit=()=>{},this._handleCancel=()=>{this._model.undoToCheckpoint(this._checkpoint)},this._propertyPages=e.propertyPages,this._model=e.model,this._activePageId=e.activePageId,this._onClose=e.onClose,this._chartWidgetCollection=e.chartWidgetCollection,this._checkpoint=this._ensureCheckpoint(e.undoCheckPoint)}hide(e){e?this._handleCancel():this._handleSubmit(),this._handleClose()}isVisible(){return this.visible().value()}show(){l.render(o.createElement(H,{title:K,isOpened:!0,onSubmit:this._handleSubmit,onClose:this._handleClose,onCancel:this._handleCancel,pages:this._propertyPages,model:this._model,activePageId:this._activePageId,chartWidgetCollection:this._chartWidgetCollection}),this._container),this._setVisibility(!0),j.emit("edit_object_dialog",{objectType:"mainSeries",scriptTitle:this._model.mainSeries().title()})}_ensureCheckpoint(e){ diff --git a/charting_library/bundles/general-property-page.1d681e46e32eeb7bd566.js b/charting_library/bundles/general-property-page.0218f1b33618fc491a70.js similarity index 99% rename from charting_library/bundles/general-property-page.1d681e46e32eeb7bd566.js rename to charting_library/bundles/general-property-page.0218f1b33618fc491a70.js index ca93bb2b..3564a199 100644 --- a/charting_library/bundles/general-property-page.1d681e46e32eeb7bd566.js +++ b/charting_library/bundles/general-property-page.0218f1b33618fc491a70.js @@ -1,4 +1,4 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3596],{47806:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ChartPropertyDefinitionsViewModel:()=>Pt});var r=i(88537),n=i(28353),o=i(67337),a=(i(27759),i(92033),i(52714)),s=i.n(a),l=i(50366),c=i(80331),p=i(95707),h=i(62428),d=i(74325),g=i(87387),y=i(13647),u=i(24980),b=i(81465),v=i(79680),P=i(54089);const m=new u.TranslatedString("change symbol description visibility",(0,n.t)("change symbol description visibility")),f=new u.TranslatedString("change symbol legend format",(0,n.t)("change symbol legend format")),w=new u.TranslatedString("change open market status visibility",(0,n.t)("change open market status visibility")),S=new u.TranslatedString("change OHLC values visibility",(0,n.t)("change OHLC values visibility")),D=new u.TranslatedString("change bar change visibility",(0,n.t)("change bar change visibility")),T=new u.TranslatedString("change indicator arguments visibility",(0,n.t)("change indicator arguments visibility")),_=new u.TranslatedString("change indicator titles visibility",(0,n.t)("change indicator titles visibility")),k=new u.TranslatedString("change indicator values visibility",(0,n.t)("change indicator values visibility")),C=new u.TranslatedString("change legend background visibility",(0,n.t)("change legend background visibility")),V=new u.TranslatedString("change legend background transparency",(0,n.t)("change legend background transparency")),L=new u.TranslatedString("change volume values visibility",(0,n.t)("change volume values visibility")),M=(0,n.t)("Symbol"),x=(0,n.t)("OHLC values"),O=(0,n.t)("Bar change values"),z=(0,n.t)("Volume"),A=(0,n.t)("Indicator titles"),G=(0,n.t)("Indicator arguments"),E=(0,n.t)("Indicator values"),H=(0,n.t)("Background"),R=(0,n.t)("Open market status");var N=i(3825),W=i(37787),F=i(76166),B=i(8175);const j=o.enabled("show_average_close_price_line_and_label"),I=new u.TranslatedString("change symbol labels visibility",(0,n.t)("change symbol labels visibility")),U=new u.TranslatedString("change symbol last value visibility",(0,n.t)("change symbol last value visibility")),q=new u.TranslatedString("change symbol last value mode",(0,n.t)("change symbol last value mode")),J=(new u.TranslatedString("change symbol previous close value visibility",(0,n.t)("change symbol previous close value visibility")),new u.TranslatedString("change bid and ask labels visibility",(0,n.t)("change bid and ask labels visibility")),new u.TranslatedString("change pre/post market price label visibility",(0,n.t)("change pre/post market price label visibility")),new u.TranslatedString("change high and low price labels visibility",(0,n.t)("change high and low price labels visibility"))),K=new u.TranslatedString("change average close price label visibility",(0,n.t)("change average close price label visibility")),Q=(new u.TranslatedString("change indicators and financials name labels visibility",(0,n.t)("change indicators and financials name labels visibility")),new u.TranslatedString("change indicators name labels visibility",(0, +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3596],{57695:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ChartPropertyDefinitionsViewModel:()=>Pt});var r=i(88537),n=i(28353),o=i(67337),a=(i(27759),i(92033),i(52714)),s=i.n(a),l=i(50366),c=i(80331),p=i(95707),h=i(62428),d=i(74325),g=i(87387),y=i(13647),u=i(24980),b=i(81465),v=i(79680),P=i(54089);const m=new u.TranslatedString("change symbol description visibility",(0,n.t)("change symbol description visibility")),f=new u.TranslatedString("change symbol legend format",(0,n.t)("change symbol legend format")),w=new u.TranslatedString("change open market status visibility",(0,n.t)("change open market status visibility")),S=new u.TranslatedString("change OHLC values visibility",(0,n.t)("change OHLC values visibility")),D=new u.TranslatedString("change bar change visibility",(0,n.t)("change bar change visibility")),T=new u.TranslatedString("change indicator arguments visibility",(0,n.t)("change indicator arguments visibility")),_=new u.TranslatedString("change indicator titles visibility",(0,n.t)("change indicator titles visibility")),k=new u.TranslatedString("change indicator values visibility",(0,n.t)("change indicator values visibility")),C=new u.TranslatedString("change legend background visibility",(0,n.t)("change legend background visibility")),V=new u.TranslatedString("change legend background transparency",(0,n.t)("change legend background transparency")),L=new u.TranslatedString("change volume values visibility",(0,n.t)("change volume values visibility")),M=(0,n.t)("Symbol"),x=(0,n.t)("OHLC values"),O=(0,n.t)("Bar change values"),z=(0,n.t)("Volume"),A=(0,n.t)("Indicator titles"),G=(0,n.t)("Indicator arguments"),E=(0,n.t)("Indicator values"),H=(0,n.t)("Background"),R=(0,n.t)("Open market status");var N=i(3825),W=i(37787),F=i(76166),B=i(8175);const j=o.enabled("show_average_close_price_line_and_label"),I=new u.TranslatedString("change symbol labels visibility",(0,n.t)("change symbol labels visibility")),U=new u.TranslatedString("change symbol last value visibility",(0,n.t)("change symbol last value visibility")),q=new u.TranslatedString("change symbol last value mode",(0,n.t)("change symbol last value mode")),J=(new u.TranslatedString("change symbol previous close value visibility",(0,n.t)("change symbol previous close value visibility")),new u.TranslatedString("change bid and ask labels visibility",(0,n.t)("change bid and ask labels visibility")),new u.TranslatedString("change pre/post market price label visibility",(0,n.t)("change pre/post market price label visibility")),new u.TranslatedString("change high and low price labels visibility",(0,n.t)("change high and low price labels visibility"))),K=new u.TranslatedString("change average close price label visibility",(0,n.t)("change average close price label visibility")),Q=(new u.TranslatedString("change indicators and financials name labels visibility",(0,n.t)("change indicators and financials name labels visibility")),new u.TranslatedString("change indicators name labels visibility",(0, n.t)("change indicators name labels visibility"))),X=(new u.TranslatedString("change indicators and financials value labels visibility",(0,n.t)("change indicators and financials value labels visibility")),new u.TranslatedString("change indicators value labels visibility",(0,n.t)("change indicators value labels visibility"))),Y=new u.TranslatedString("change no overlapping labels",(0,n.t)("change no overlapping labels")),Z=new u.TranslatedString("change countdown to bar close visibility",(0,n.t)("change countdown to bar close visibility")),$=new u.TranslatedString("change currency label visibility",(0,n.t)("change currency label visibility")),ee=new u.TranslatedString("change unit label visibility",(0,n.t)("change unit label visibility")),te=new u.TranslatedString("change currency and unit labels visibility",(0,n.t)("change currency and unit labels visibility")),ie=new u.TranslatedString("change plus button visibility",(0,n.t)("change plus button visibility")),re=new u.TranslatedString("toggle lock scale",(0,n.t)("toggle lock scale")),ne=new u.TranslatedString("change price to bar ratio",(0,n.t)("change price to bar ratio")),oe=new u.TranslatedString("change date format",(0,n.t)("change date format")),ae=(0,n.t)("Symbol name label"),se=(0,n.t)("Symbol last price label"),le=((0,n.t)("Symbol previous day close price label"),(0,n.t)("Indicators and financials name labels"),(0,n.t)("Indicators name labels")),ce=((0,n.t)("Indicators and financials value labels"),(0,n.t)("Indicators value labels")),pe=((0,n.t)("Bid and ask labels"),(0,n.t)("Pre/post market price label"),(0,n.t)("Average close price label")),he=(0,n.t)("Countdown to bar close"),de=(0,n.t)("Currency"),ge=(0,n.t)("Unit"),ye=(0,n.t)("Currency and Unit"),ue=(0,n.t)("Plus button"),be=(0,n.t)("Scales placement"),ve=(0,n.t)("Date format"),Pe=(0,n.t)("Lock price to bar ratio"),me=(0,n.t)("No overlapping labels"),fe=[{value:N.PriceAxisLastValueMode.LastPriceAndPercentageValue,title:(0,n.t)("Price and percentage value")},{value:N.PriceAxisLastValueMode.LastValueAccordingToScale,title:(0,n.t)("Value according to scale")}];var we=i(32449);const Se=new u.TranslatedString("change chart background color",(0,n.t)("change chart background color")),De=new u.TranslatedString("change chart background type",(0,n.t)("change chart background type")),Te=new u.TranslatedString("change vert grid lines color",(0,n.t)("change vert grid lines color")),_e=new u.TranslatedString("change vert grid lines style",(0,n.t)("change vert grid lines style")),ke=new u.TranslatedString("change horz grid lines color",(0,n.t)("change horz grid lines color")),Ce=new u.TranslatedString("change horz grid lines style",(0,n.t)("change horz grid lines style")),Ve=new u.TranslatedString("change sessions breaks visibility",(0,n.t)("change sessions breaks visibility")),Le=new u.TranslatedString("change sessions breaks color",(0,n.t)("change sessions breaks color")),Me=new u.TranslatedString("change sessions breaks width",(0, n.t)("change sessions breaks width")),xe=new u.TranslatedString("change sessions breaks style",(0,n.t)("change sessions breaks style")),Oe=new u.TranslatedString("change scales text color",(0,n.t)("change scales text color")),ze=new u.TranslatedString("change scales font size",(0,n.t)("change scales font size")),Ae=new u.TranslatedString("change scales lines color",(0,n.t)("change scales lines color")),Ge=new u.TranslatedString("change pane separators color",(0,n.t)("change pane separators color")),Ee=new u.TranslatedString("change crosshair color",(0,n.t)("change crosshair color")),He=new u.TranslatedString("change crosshair width",(0,n.t)("change crosshair width")),Re=new u.TranslatedString("change crosshair style",(0,n.t)("change crosshair style")),Ne=new u.TranslatedString("change symbol watermark visibility",(0,n.t)("change symbol watermark visibility")),We=new u.TranslatedString("change symbol watermark color",(0,n.t)("change symbol watermark color")),Fe=new u.TranslatedString("change navigation buttons visibility",(0,n.t)("change navigation buttons visibility")),Be=new u.TranslatedString("change pane buttons visibility",(0,n.t)("change pane buttons visibility")),je=new u.TranslatedString("change top margin",(0,n.t)("change top margin")),Ie=new u.TranslatedString("change bottom margin",(0,n.t)("change bottom margin")),Ue=new u.TranslatedString("change right margin",(0,n.t)("change right margin")),qe=(0,n.t)("Background"),Je=(0,n.t)("Vert grid lines"),Ke=(0,n.t)("Horz grid lines"),Qe=(0,n.t)("Session breaks"),Xe=(0,n.t)("Scales text"),Ye=(0,n.t)("Scales lines"),Ze=(0,n.t)("Pane separators"),$e=(0,n.t)("Crosshair"),et=(0,n.t)("Watermark"),tt=(0,n.t)("Top margin"),it=(0,n.t)("Navigation buttons"),rt=(0,n.t)("Pane buttons"),nt=(0,n.t)("Bottom margin"),ot=(0,n.t)("Right margin"),at=(0,n.t)("bars",{context:"unit"});var st=i(7043),lt=i(21761),ct=i(1860),pt=i(39277);const ht={symbol:i(41509),legend:i(23426),scales:i(85612),appearance:i(15516),events:i(73257),trading:i(1784)},dt=(0,n.t)("Symbol"),gt=(0,n.t)("Status line"),yt=(0,n.t)("Scales"),ut=(0,n.t)("Appearance");(0,n.t)("Events"),(0,n.t)("Trading"),(0,n.t)("money"),(0,n.t)("pips"),(0,n.t)("ticks");function bt(){const e=new Date(Date.UTC(1997,8,29));return st.availableDateFormats.map(t=>({value:t,title:new ct.DateFormatter(t).format(e)}))}const vt=[{id:"symbol-text-source-description",value:"description",title:(0,n.t)("Description")},{id:"symbol-text-source-ticker",value:"ticker",title:(0,n.t)("Ticker")},{id:"symbol-text-source-ticker-and-description",value:"ticker-and-description",title:(0,n.t)("Ticker and description")}];class Pt{constructor(e,t,i){this._propertyPages=null,this._maxRightOffsetPropertyObject=null,this._profitLossOptions=null,this._pipValueTypeSpawn=null,this._isDestroyed=!1,this._undoModel=e,this._model=this._undoModel.model(),this._series=this._model.mainSeries(),this._chartWidgetProperties=t,this._options=i,this._seriesPropertyDefinitionViewModel=this._createSeriesViewModel(),this._legendPropertyPage=this._createLegendPropertyPage(), this._scalesPropertyPage=this._createScalesPropertyPage(),this._appearancePropertyPage=this._createAppearancePropertyPage(),this._tradingPropertyPage=this._createTradingPropertyPage(),this._eventsPropertyPage=this._createEventsPropertyPage(),this._series.onStyleChanged().subscribe(this,this._updateDefinitions),this._series.priceScaleChanged().subscribe(this,this._updateDefinitions)}destroy(){var e;null!==this._propertyPages&&this._propertyPages.filter((e,t)=>0!==t).forEach(e=>{(0,l.destroyDefinitions)(e.definitions.value())}),this._seriesPropertyDefinitionViewModel.destroy(),null===(e=this._pipValueTypeSpawn)||void 0===e||e.destroy(),this._series.onStyleChanged().unsubscribe(this,this._updateDefinitions),this._series.priceScaleChanged().unsubscribe(this,this._updateDefinitions);(0,r.ensureNotNull)(this._model.timeScale()).maxRightOffsetChanged().unsubscribeAll(this),this._isDestroyed=!0}propertyPages(){return null===this._propertyPages?this._seriesPropertyDefinitionViewModel.propertyPages().then(e=>{if(this._isDestroyed)throw new Error("ChartPropertyDefinitionsViewModel already destroyed");return null===this._propertyPages&&(this._propertyPages=[...e],this._propertyPages.push(this._legendPropertyPage,this._scalesPropertyPage,this._appearancePropertyPage),null!==this._tradingPropertyPage&&this._propertyPages.push(this._tradingPropertyPage),null!==this._eventsPropertyPage&&this._propertyPages.push(this._eventsPropertyPage)),this._propertyPages}):Promise.resolve(this._propertyPages)}_updatePlDisplayOptions(){(0,r.ensureNotNull)(this._pipValueTypeSpawn).value();(0,r.ensureNotNull)(this._profitLossOptions).setValue([])}_updateDefinitions(){(0,l.destroyDefinitions)(this._scalesPropertyPage.definitions.value());const e=this._createScalesDefinitions();this._scalesPropertyPage.definitions.setValue(e.definitions)}_createSeriesViewModel(){const e={property:this._model.properties().childs().timezone,values:pt.availableTimezones.map(e=>({value:e.id,title:e.title}))};return new g.SeriesPropertyDefinitionsViewModel(this._series,this._undoModel,"symbol",dt,ht.symbol,e)}_createLegendPropertyPage(){const e=this._chartWidgetProperties.childs().paneProperties.childs().legendProperties.childs(),t={property:this._series.properties().childs().statusViewStyle.childs().symbolTextSource,values:vt},i=function(e,t,i,r,n){const o=[],a=[],c=(0,l.createOptionsPropertyDefinition)({checked:(0,l.convertToDefinitionProperty)(e,t.showSeriesTitle,m),option:(0,l.convertToDefinitionProperty)(e,i.property,f)},{id:"symbolTextSource",title:M,options:new(s())(i.values)});if(a.push(c),null!==r){const t=(0,P.combineWithFilteredUpdate)(e=>"market"===e,e=>null!==e,e.mainSeries().marketStatusModel().status()),i=(0,l.createCheckablePropertyDefinition)({checked:(0,l.convertToDefinitionProperty)(e,r,w),visible:(0,l.convertFromReadonlyWVToDefinitionProperty)(t)},{id:"showOpenMarketStatus",title:R});a.push(i)}const p=(0,l.createCheckablePropertyDefinition)({checked:(0,l.convertToDefinitionProperty)(e,t.showSeriesOHLC,S)},{id:"ohlcTitle",title:x});a.push(p);const h=(0, diff --git a/charting_library/bundles/global-toasts.4e2377e6bac59b8285e6.js b/charting_library/bundles/global-toasts.4e2377e6bac59b8285e6.js new file mode 100644 index 00000000..b82ab5f1 --- /dev/null +++ b/charting_library/bundles/global-toasts.4e2377e6bac59b8285e6.js @@ -0,0 +1,3 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4291],{7881:t=>{t.exports={"toast-wrapper":"toast-wrapper-LaQcqQbu",compact:"compact-LaQcqQbu"}},99062:t=>{t.exports={"toast-positioning-wrapper":"toast-positioning-wrapper-uEa3054V",compact:"compact-uEa3054V","location-bottom-left":"location-bottom-left-uEa3054V","location-bottom-right":"location-bottom-right-uEa3054V",hidden:"hidden-uEa3054V",added:"added-uEa3054V"}},56139:(t,e,o)=>{"use strict";o.r(e),o.d(e,{globalToasts:()=>M,showToast:()=>E});var s=o(59496),a=o(97754),i=o(87995),n=o(9423),r=o(65718),h=o(50655),d=o(88216),u=o(36947),g=o(65355);class c{constructor(t){this._animationStage=g.ToastAnimationStage.Add,this._keys=new Map,this._element=null,this.render=t=>this._render(t),this.remove=()=>this._currentToastsLayer.removeToast(this);const{priority:e,origin:o,currentLayer:s,onLayerChange:a,render:i,onMouseOver:n,onMouseOut:r}=t;this._staticData=Object.freeze({priority:e,origin:o,onLayerChange:a,onMouseOver:n,onMouseOut:r}),this._currentToastsLayer=s||o,this._render=i}getStaticData(){return this._staticData}migrate(t){this._currentToastsLayer=t,this._animationStage=g.ToastAnimationStage.Add}getCurrentLayer(){return this._currentToastsLayer}isForeign(){return this._staticData.origin!==this._currentToastsLayer}getAnimationStage(){return this._animationStage}setAnimationStage(t){this._animationStage=t}setKey(t,e){this._keys.set(t,e)}getKey(t=this._currentToastsLayer){return this._keys.get(t)}getElement(){return this._element}setElement(t){this._element=t}}var l=o(99062);const m={position:"fixed",left:"0",bottom:"0",right:"0",zIndex:145};class _{constructor(t,e,o=m,s){this._toasts={[g.ToastPriority.Low]:[],[g.ToastPriority.Medium]:[],[g.ToastPriority.High]:[]},this._container=void 0!==e?e:document.body,this._suggestedLayout=void 0!==t?t:"loose",this._location=null!=s?s:"bottom-left",this._manager=new d.OverlapManager(document),this._overlapManagerContainer=function(t,e={}){const o=t.createElement("div");return o.dataset.role="toast-container",p(o,{...m,...e}),o}(document,o),this._manager.setContainer(this._overlapManagerContainer),this._container.appendChild(this._overlapManagerContainer),this._detachedContainer=document.createElement("div")}showToast(t){const{render:e,priority:o=g.ToastPriority.Medium,index:s,origin:a=this,onLayerChange:i,onMouseOver:n,onMouseOut:r}=t,h=new c({priority:o,origin:a,currentLayer:this,render:e,onLayerChange:i,onMouseOver:n,onMouseOut:r}),d=this._getNextKey();return h.setKey(this,d),"compact"===this._suggestedLayout&&o===g.ToastPriority.Low?Promise.all(this._toasts[g.ToastPriority.Low].map(t=>this.removeToast(t))).then(()=>{this._add(h,s),this._render()}):(this._add(h,s),this._render()),h}showExistingToast(t){const e=this._getNextKey();return t.setKey(this,e),this._add(t),this._render(),t}removeToast(t){return new Promise(e=>{t.setAnimationStage(g.ToastAnimationStage.Remove),this._render(),setTimeout(()=>{this._remove(t),this._render(),e()},250)})}update(t){ +const{suggestedLayout:e,location:o,container:s,rootContainerOptions:a}=t;let i=!1,n=!1;void 0!==e&&e!==this._suggestedLayout&&(this._setSuggestedLayout(e),i=!0),void 0!==o&&(this._setLocation(o),n=!0),void 0!==s&&(this._setContainer(s),n=!0),void 0!==a&&(this._updateRootContainer(a),n=!0),i?"compact"===this._suggestedLayout&&this._toasts[g.ToastPriority.Low].slice(0,-1).forEach(t=>this.removeToast(t)):n&&this._render()}getToasts(){return this._toasts}forceRender(){this._render()}merge(t){y(t.getToasts()).forEach(async e=>{const o=e.getStaticData();await e.remove(),e.migrate(this),this.showExistingToast(e),void 0!==o.onLayerChange&&o.onLayerChange(t,this)})}split(t){y(this._toasts).filter(t=>t.isForeign()).forEach(async e=>{const o=e.getStaticData();await e.remove(),e.migrate(t),t.showExistingToast(e),void 0!==o.onLayerChange&&o.onLayerChange(this,t)})}reset(){this._toasts={[g.ToastPriority.Low]:[],[g.ToastPriority.Medium]:[],[g.ToastPriority.High]:[]},this._render()}destroy(){this._removeRootContainer()}_removeRootContainer(){i.unmountComponentAtNode(this._detachedContainer),this._detachedContainer.remove(),this._overlapManagerContainer.remove()}_getToastsList(t){const e=t.getStaticData().priority;return this._toasts[e]}_normalizeIndex(t,e){return t<0?0:t>e.length?e.length:t}_add(t,e){const o=this._getToastsList(t);if(void 0!==e){const s=this._normalizeIndex(e,o);o.splice(s,0,t)}else o.push(t)}_remove(t){const e=this._getToastsList(t),o=e.indexOf(t);o>=0&&e.splice(o,1)}_render(){const t=y(this._toasts);i.render(s.createElement(T,{toasts:t,suggestedLayout:this._suggestedLayout,location:this._location,manager:this._manager,layer:this}),this._detachedContainer)}_setSuggestedLayout(t){t!==this._suggestedLayout&&(this._suggestedLayout=t)}_setLocation(t){t!==this._location&&(this._location=t)}_setContainer(t){t!==this._container&&(this._container=t,this._container.appendChild(this._overlapManagerContainer))}_updateRootContainer(t){p(this._overlapManagerContainer,t)}_getNextKey(){return(0,n.randomHashN)(5)}}function y(t){return[...t[g.ToastPriority.Low],...t[g.ToastPriority.Medium],...t[g.ToastPriority.High]]}function p(t,e){const{top:o,right:s,bottom:a,left:i,position:n,zIndex:r}=e;void 0!==n&&(t.style.position=n),void 0!==r&&(t.style.zIndex=String(r)),void 0!==o&&(t.style.top=o),void 0!==s&&(t.style.right=s),void 0!==a&&(t.style.bottom=a),void 0!==i&&(t.style.left=i)}function L(t,e,o){return t.getKey(o)||e.toString(10)}function v(t){const{toast:e,toasts:o,layer:i,suggestedLayout:n,location:h,forceRender:d}=t,u=(0,s.useRef)(null),c=e.getAnimationStage(),m=c!==g.ToastAnimationStage.None,_=c===g.ToastAnimationStage.Add,y=function(t,e,o){var s;const a=e.indexOf(t),i=L(t,a,o);let n=0;for(const t of e){const r=e.indexOf(t),h=L(t,r,o),d=(null===(s=t.getElement())||void 0===s?void 0:s.offsetHeight)||0,u=t.getAnimationStage()!==g.ToastAnimationStage.None;let c=0;u&&h===i?c=1:!u&&a{if(e.getCurrentLayer()!==i||e.getAnimationStage()!==g.ToastAnimationStage.Add||null===u.current)return;const t=e.getElement();null===t||t!==u.current?(e.setElement(u.current),d()):(e.setAnimationStage(g.ToastAnimationStage.None),d())}),s.createElement(r.Portal,{layerOptions:{position:"absolute"},left:"0",right:"0"},s.createElement("div",{onMouseOver:e.getStaticData().onMouseOver,onMouseOut:e.getStaticData().onMouseOut,className:p,style:{transform:`translateY(${y}px)`},ref:u},e.render({onRemove:e.remove,suggestedLayout:n})))}function T(t){const{toasts:e,suggestedLayout:o,location:a,manager:i,layer:n}=t,r=(0,u.useForceUpdate)();return s.createElement(h.SlotContext.Provider,{value:i},e.map((t,i)=>s.createElement(v,{key:L(t,i,n),toast:t,toasts:e,layer:n,suggestedLayout:o,location:a,forceRender:r})))}var f=o(86240),C=o(7881);const w=f["media-mf-phone-landscape"];function S(t){const{suggestedLayout:e,children:o}=t;return s.createElement("div",{className:a(C["toast-wrapper"],"compact"===e&&C.compact)},o)}const M=new class{constructor(){var t;this._mediaQuery=window.matchMedia(w),this._handleMediaQueryChange=()=>{this._toastsLayer.update({suggestedLayout:this._getSuggestedLayout()})},this._handleLoginStateChange=()=>{this._toastsLayer.update({location:this._getLocation()})},this._toastsLayer=new _(this._getSuggestedLayout(),void 0,void 0,this._getLocation()),this._mediaQuery.addListener(this._handleMediaQueryChange),null===(t=window.loginStateChange)||void 0===t||t.subscribe(this,this._handleLoginStateChange)}destroy(){var t;this._toastsLayer.destroy(),this._mediaQuery.removeListener(this._handleMediaQueryChange),null===(t=window.loginStateChange)||void 0===t||t.unsubscribe(this,this._handleLoginStateChange)}showCustomToast(t){const{render:e,...o}=t;var a;return this._toastsLayer.showToast({render:(a=e,t=>s.createElement(S,{suggestedLayout:t.suggestedLayout,children:a(t)})),...o}).remove}reset(){this._toastsLayer.reset()}forceRender(){this._toastsLayer.forceRender()}merge(t){this._toastsLayer.merge(t)}split(t){this._toastsLayer.split(t)}_getSuggestedLayout(){return this._mediaQuery.matches?"loose":"compact"}_getLocation(){return"bottom-left"}};function E(t){return M.showCustomToast(t)}},36947:(t,e,o)=>{"use strict";o.d(e,{useForceUpdate:()=>a});var s=o(59496);const a=()=>{const[,t]=(0,s.useReducer)((t,e)=>t+1,0);return t}},65355:(t,e,o)=>{"use strict";var s,a;o.d(e,{ToastAnimationStage:()=>s,ToastPriority:()=>a}),function(t){t[t.Add=0]="Add",t[t.Remove=1]="Remove",t[t.None=2]="None"}(s||(s={})),function(t){t[t.Low=0]="Low",t[t.Medium=1]="Medium",t[t.High=2]="High"}(a||(a={}))}}]); \ No newline at end of file diff --git a/charting_library/bundles/go-to-date-dialog-impl.2bf2c3f997463af55494.js b/charting_library/bundles/go-to-date-dialog-impl.2bf2c3f997463af55494.js deleted file mode 100644 index 376890bd..00000000 --- a/charting_library/bundles/go-to-date-dialog-impl.2bf2c3f997463af55494.js +++ /dev/null @@ -1,14 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1859],{45228:e=>{e.exports={calendar:"calendar-wVs9kh0I"}},55400:e=>{e.exports={row:"row-9XF0QIKT",mobileRow:"mobileRow-9XF0QIKT"}},26074:e=>{e.exports={dialogWrapper:"dialogWrapper-70bfoXiO",dialogWrapperSmall:"dialogWrapperSmall-70bfoXiO",tabs:"tabs-70bfoXiO",content:"content-70bfoXiO",contentMobile:"contentMobile-70bfoXiO",bodyWrapper:"bodyWrapper-70bfoXiO"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},67179:e=>{e.exports={dialog:"dialog-HExheUfY",wrapper:"wrapper-HExheUfY",separator:"separator-HExheUfY"}},91441:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-tuOy5zvD",unsetAlign:"unsetAlign-tuOy5zvD",title:"title-tuOy5zvD",subtitle:"subtitle-tuOy5zvD",ellipsis:"ellipsis-tuOy5zvD",close:"close-tuOy5zvD"}},12539:e=>{e.exports={calendar:"calendar-U9DgB4FB",popupStyle:"popupStyle-U9DgB4FB",header:"header-U9DgB4FB",title:"title-U9DgB4FB",switchBtn:"switchBtn-U9DgB4FB",prev:"prev-U9DgB4FB",month:"month-U9DgB4FB",weekdays:"weekdays-U9DgB4FB",weeks:"weeks-U9DgB4FB",week:"week-U9DgB4FB",day:"day-U9DgB4FB",disabled:"disabled-U9DgB4FB",selected:"selected-U9DgB4FB",currentDay:"currentDay-U9DgB4FB",isOnHighlightedEdge:"isOnHighlightedEdge-U9DgB4FB",withinSelectedRange:"withinSelectedRange-U9DgB4FB"}},34020:e=>{e.exports={container:"container-tZN1pb1A",icon:"icon-tZN1pb1A",tooltip:"tooltip-tZN1pb1A",date:"date-tZN1pb1A",time:"time-tZN1pb1A"}},554:e=>{e.exports={pickerInput:"pickerInput-sZbzL9zH",icon:"icon-sZbzL9zH",disabled:"disabled-sZbzL9zH",picker:"picker-sZbzL9zH",fixed:"fixed-sZbzL9zH",absolute:"absolute-sZbzL9zH",nativePicker:"nativePicker-sZbzL9zH"}},93632:e=>{e.exports={tooltip:"tooltip-QKiUU4Ng"}},64886:e=>{e.exports={slider:"slider-Q7h4o6oW",inner:"inner-Q7h4o6oW"}},42545:e=>{e.exports={scrollWrap:"scrollWrap-VabV7Fn8",tabsWrap:"tabsWrap-VabV7Fn8",tabs:"tabs-VabV7Fn8",withoutBorder:"withoutBorder-VabV7Fn8",tab:"tab-VabV7Fn8",withHover:"withHover-VabV7Fn8",headerBottomSeparator:"headerBottomSeparator-VabV7Fn8",fadeWithoutSlider:"fadeWithoutSlider-VabV7Fn8",withBadge:"withBadge-VabV7Fn8"}},41814:e=>{e.exports={wrap:"wrap-sfzcrPlH",wrapWithArrowsOuting:"wrapWithArrowsOuting-sfzcrPlH",wrapOverflow:"wrapOverflow-sfzcrPlH",scrollWrap:"scrollWrap-sfzcrPlH",noScrollBar:"noScrollBar-sfzcrPlH",icon:"icon-sfzcrPlH",scrollLeft:"scrollLeft-sfzcrPlH",scrollRight:"scrollRight-sfzcrPlH",isVisible:"isVisible-sfzcrPlH",iconWrap:"iconWrap-sfzcrPlH",fadeLeft:"fadeLeft-sfzcrPlH",fadeRight:"fadeRight-sfzcrPlH"}},91626:e=>{e.exports={separator:"separator-jtAq6E4V"}},37740:e=>{e.exports={tabs:"tabs-rKFlMYkc",tab:"tab-rKFlMYkc",noBorder:"noBorder-rKFlMYkc",disabled:"disabled-rKFlMYkc",active:"active-rKFlMYkc",defaultCursor:"defaultCursor-rKFlMYkc",slider:"slider-rKFlMYkc",content:"content-rKFlMYkc"}},90186:(e,t,s)=>{"use strict";function n(e){return i(e,o)}function r(e){ -return i(e,a)}function i(e,t){const s=Object.entries(e).filter(t),n={};for(const[e,t]of s)n[e]=t;return n}function o(e){const[t,s]=e;return 0===t.indexOf("data-")&&"string"==typeof s}function a(e){return 0===e[0].indexOf("aria-")}s.d(t,{filterDataProps:()=>n,filterAriaProps:()=>r,filterProps:()=>i,isDataAttribute:()=>o,isAriaAttribute:()=>a})},54801:(e,t,s)=>{"use strict";s.r(t),s.d(t,{showGoToDateDialog:()=>Re});var n=s(59496),r=s(87995),i=s(88537),o=s(82992);function a(e){return("0"+e).slice(-2)}function l(e){const t=new Date(e);return t.setMilliseconds(0),t.setSeconds(0),t.setMinutes(0),t.setHours(0),t}function c(e,t=!1){const s=l(e),n=t?function(e){if(e>6)throw new Error("Invalid day is provided");return 0===e?6:e-1}(s.getDay()):s.getDay();return s.setDate(s.getDate()-n),s}function h(e){const t=l(e);return t.setDate(1),t}function u(e,t){return Number(l(e))===Number(l(t))}function d(e){const t=new Date(e);return t.setDate(t.getDate()+7),t}function p(e,t,s){const n=!t||Number(l(t))-Number(l(e))<=0;return(!s||Number(l(s))-Number(l(e))>=0)&&n}function m(e){return new Date(e).getTimezoneOffset()/60}function f(e){const t=new Date(e);return t.setHours(t.getHours()+m(t)),t}function v(e){const t=new Date(e);return t.setHours(t.getHours()-m(t)),t}var g=s(51826),w=s(10480),D=s.n(w);const b=n.createContext(null);function _(e){const{initialGoToDate:t,children:s}=e,[r,i]=(0,n.useState)(t),o=r.valueOf()<=function(e){const t=new Date(e);return t.setMilliseconds(999),t.setSeconds(59),t.setMinutes(59),t.setHours(23),t}(new Date).valueOf(),a=(0,n.useMemo)(()=>({date:r,setDate:i,isValid:o}),[r,o]);return n.createElement(b.Provider,{value:a},s)}const C=n.createContext(null);function E(e){const{initialRanges:t,children:s}=e,[r,i]=(0,n.useState)(t.from),[o,a]=(0,n.useState)(t.to),l=r.valueOf()<=o.valueOf(),c=(0,n.useMemo)(()=>({dateFrom:r,dateTo:o,setDateFrom:i,setDateTo:a,isValid:l}),[r,o,l]);return n.createElement(C.Provider,{value:c},s)}var S=s(28353),N=s(97754),y=s.n(N),k=s(76422),M=s(56840),F=s.n(M),x=s(52092),B=s(24437),R=s(50182),O=s(55400);function P(e){const{children:t}=e;return n.createElement("div",{className:y()(O.row,_e&&O.mobileRow)},t)}var T=s(32563),I=s(1860),z=s(9745),V=s(12539);class A extends n.PureComponent{constructor(){super(...arguments),this._dateFormatter=new I.DateFormatter,this._onClick=()=>{this.props.onClick&&!this.props.isDisabled&&this.props.onClick(new Date(this.props.day))}}render(){const e=N(V.day,{[V.selected]:this.props.isSelected,[V.disabled]:this.props.isDisabled,[V.withinSelectedRange]:this._withinSelectedRange(),[V.isOnHighlightedEdge]:this._isOnHighlightedEdge(),[V.currentDay]:this._isCurrentDay()});return n.createElement("span",{className:e,onClick:this._onClick,"data-day":this._dateFormatter.formatLocal(this.props.day)},this.props.day.getDate())}_isOnHighlightedEdge(){const{day:e,highlightedFrom:t,highlightedTo:s}=this.props;return!(!t||!s)&&(u(e,t)||u(e,s))}_withinSelectedRange(){const{day:e,highlightedFrom:t,highlightedTo:s}=this.props;return!(!t||!s)&&this._isBetweenByDay(t,e,s)} -_isCurrentDay(){return u(new Date,this.props.day)}_isBetweenByDay(e,t,s){const n=l(e),r=l(t),i=l(s);return nL.map(e=>n.createElement("span",{key:e},e))}render(){return n.createElement("div",{className:V.month},n.createElement("div",{className:V.weekdays},this._renderWeekdays()),n.createElement("div",{className:V.weeks},this._renderWeeks()))}_renderWeeks(){const e=[];let t=c(h(this.props.viewDate),!0);for(let s=0;s<6;s++)e.push(this._renderWeek(t)),t=new Date(d(t));return e}_renderWeek(e){const t=[];for(let i=0;i<7;i++){const o=new Date(e);o.setDate(o.getDate()+i),(s=o,r=this.props.viewDate,Number(h(s))===Number(h(r)))&&t.push(n.createElement(A,{key:i,day:o,isDisabled:this._isDayDisabled(o),isSelected:u(o,this.props.selectedDate),onClick:this.props.onClickDay,highlightedFrom:this.props.highlightedFrom,highlightedTo:this.props.highlightedTo}))}var s,r;if(0===t.length)return null;const i=function(e){const t=new Date(e.getFullYear(),0,1),s=(Number(e)-Number(t))/864e5;return Math.ceil((s+t.getDay()+1)/7)}(e);return n.createElement("div",{className:V.week,key:i},t)}_isDayDisabled(e){if(!p(e,this.props.minDate,this.props.maxDate))return!0;const t=[6,0].includes(e.getDay());return!!this.props.disableWeekends&&t}}var W=s(30360);const U=[(0,S.t)("January"),(0,S.t)("February"),(0,S.t)("March"),(0,S.t)("April"),(0,S.t)("May"),(0,S.t)("June"),(0,S.t)("July"),(0,S.t)("August"),(0,S.t)("September"),(0,S.t)("October"),(0,S.t)("November"),(0,S.t)("December")];class K extends n.PureComponent{constructor(e){super(e),this._prevMonth=()=>{const e=new Date(this.state.viewDate);e.setMonth(e.getMonth()-1),this.setState({viewDate:e}),this.props.onMonthSwitch&&this.props.onMonthSwitch()},this._nextMonth=()=>{const e=new Date(this.state.viewDate);e.setMonth(e.getMonth()+1),this.setState({viewDate:e}),this.props.onMonthSwitch&&this.props.onMonthSwitch()},this._onClickDay=e=>{this.setState({viewDate:new Date(e)}),this.props.onSelect&&this.props.onSelect(new Date(e))},this.state={viewDate:e.selectedDate}}render(){return n.createElement("div",{className:N(V.calendar,this.props.popupStyle&&V.popupStyle,this.props.className),tabIndex:-1},n.createElement("div",{className:V.header},n.createElement(z.Icon,{icon:W,onClick:this._prevMonth,className:N(V.switchBtn,V.prev)}),n.createElement("div",{className:V.title},`${U[this.state.viewDate.getMonth()]} ${this.state.viewDate.getFullYear()}`),n.createElement(z.Icon,{icon:W,onClick:this._nextMonth,className:N(V.switchBtn,V.next)})),n.createElement(H,{viewDate:this.state.viewDate,selectedDate:this.props.selectedDate,maxDate:this.props.maxDate,minDate:this.props.minDate,onClickDay:this._onClickDay,disableWeekends:this.props.disableWeekends, -highlightedFrom:this.props.highlightedFrom,highlightedTo:this.props.highlightedTo}))}}K.defaultProps={popupStyle:!0};var G=s(86623),Y=s(84275),Z=s(78274),$=s(76594),Q=s(65718),X=s(554);class j extends n.PureComponent{constructor(e){super(e),this._input=null,this._inputContainer=null,this._handleFocus=()=>{this.props.showOnFocus&&this.props.onShowPicker()},this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._handleContainerRef=e=>{this._inputContainer=e},this._onShowPicker=e=>{if(e&&this._inputContainer){const t=e.getBoundingClientRect(),s=this._inputContainer.getBoundingClientRect();t.width&&t.width>window.innerWidth-s.left?(e.style.right="0",e.style.left="auto"):(e.style.right="auto",e.style.left=s.left+"px");const n=window.innerHeight-s.bottom,r=s.top;if(n>=t.height)return void(e.style.top=s.bottom+"px");e.style.top="auto",e.style.bottom=r{const e=(0,i.ensureNotNull)(this._input).value;this.setState({value:e}),this.props.onType(e)},this._onKeyDown=e=>{this.props.onHidePicker()},this._onKeyPress=e=>{if(e.charCode){const t=String.fromCharCode(e.charCode);this.props.inputRegex.test(t)||e.preventDefault()}},this._onKeyUp=e=>{if(8!==e.keyCode){const e=(0,i.ensureNotNull)(this._input).value,t=this.props.fixValue(e);t!==e&&this.setState({value:t})}},this.state={value:e.value}}UNSAFE_componentWillReceiveProps(e){e.value!==this.props.value&&this.setState({value:e.value})}render(){const{position:e="fixed",className:t,size:s,disabled:r,readonly:i,errors:o,icon:a,InputComponent:l=G.FormInput}=this.props;return n.createElement("div",{className:X.pickerInput,ref:this._handleContainerRef},n.createElement(l,{value:this.state.value,onBlur:this.props.onBlur,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onChange:this._onChange,onFocus:this._handleFocus,onClick:this.props.onShowPicker,reference:this._handleInputRef,className:t,size:s,disabled:r,errors:o,messagesPosition:Y.MessagesPosition.Attached,hasErrors:this.props.showErrorMessages&&o&&o.length>0,name:this.props.name,readonly:i,endSlot:o&&o.length?void 0:n.createElement(Z.EndSlot,null,n.createElement(z.Icon,{icon:a,className:N(X.icon,r&&X.disabled),onClick:r||i?void 0:this.props.onShowPicker})),"data-name":this.props.name}),this.props.showPicker&&!i?n.createElement(Q.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},n.createElement($.OutsideEvent,{mouseDown:!0,handler:this.props.onHidePicker},t=>n.createElement("span",{ref:t,style:{pointerEvents:"auto"}},n.createElement("div",{className:N(X.picker,X[e]),key:"0",ref:this._onShowPicker},this.props.children)))):null)}}j.defaultProps={showOnFocus:!0};class q extends n.PureComponent{constructor(e){super(e),this._input=null,this._nativeInputRef=n.createRef(),this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._onFocus=()=>{this.setState({isFocused:!0})},this._onBlur=()=>{ -this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.state.value),this.setState({isFocused:!1})},this._onChange=e=>{const{value:t}=e.target;t&&(this.setState({value:t}),this.props.onChange(t))},this.state={value:e.value,isFocused:!1}}componentDidMount(){this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.props.value)}render(){const{className:e,disabled:t,errors:s,InputComponent:r=G.FormInput}=this.props,i=!this.props.readonly&&!t,o=this.props.showErrorMessages&&s&&s.length>0;return n.createElement("div",{className:X.pickerInput},n.createElement(r,{value:this.state.value,readonly:!0,noReadonlyStyles:!0,endSlot:s&&s.length?void 0:n.createElement(Z.EndSlot,null,n.createElement(z.Icon,{icon:this.props.icon,className:N(X.icon,t&&X.disabled)})),className:e,inputClassName:X.textInput,size:this.props.size,disabled:t,hasErrors:o,errors:s,alwaysShowAttachedErrors:!0,messagesPosition:Y.MessagesPosition.Attached,name:i?void 0:this.props.name,reference:this._handleInputRef,highlight:this.state.isFocused,intent:!o&&this.state.isFocused?"primary":void 0}),i&&n.createElement("input",{ref:this._nativeInputRef,type:this.props.type,className:X.nativePicker,onChange:this._onChange,onInput:this._onChange,min:this.props.min,max:this.props.max,name:this.props.name,onFocus:this._onFocus,onBlur:this._onBlur}))}}var J=s(67029),ee=s(71767);class te extends n.PureComponent{constructor(e){super(e),this._pickerInputContainerRef=n.createRef(),this._dateFormatter=new I.DateFormatter,this._fixValue=e=>(e=(e=e.substring(0,10)).replace(/-+/g,"-"),(/^\d{4}$/.test(e)||/^\d{4}-\d{2}$/.test(e))&&(e+="-"),e),this._isValid=e=>{if(/^[0-9]{4}(-[0-9]{2}){2}/.test(e)){const t=new Date(e.concat("T00:00"));return!function(e){return Number.isNaN(Number(e))}(t)&&(!!this.props.noRangeValidation||p(t,this.props.minDate,this.props.maxDate))}return!1},this._onBlur=e=>{var t;if(!this.props.revertInvalidData||(null===(t=this._pickerInputContainerRef.current)||void 0===t?void 0:t.contains(e.relatedTarget)))return;const{value:s}=e.target;if(!this._isValid(s)){const t=new Date(this.state.date);this.setState({pickerInputKey:e.timeStamp,date:t,isInvalid:!1}),this.props.onPick(t)}},this._onType=e=>{const t=this._isValid(e)?new Date(e.concat("T00:00")):null;t?this.setState({date:t,isInvalid:!1}):this.setState({isInvalid:!0}),this.props.onPick(t)},this._onSelect=e=>{this.setState({date:e,showCalendar:!1,isInvalid:!1}),this.props.onPick(e)},this._showCalendar=()=>{this.setState({showCalendar:!0})},this._hideCalendar=()=>{this.setState({showCalendar:!1})},this._getErrors=()=>{const e=this.props.errors?[...this.props.errors]:[];return this.state.isInvalid&&e.push((0,S.t)("Please enter the right date format yyyy-mm-dd")),e},this.state={pickerInputKey:0,date:e.initial,showCalendar:!1,isInvalid:!this._isValid(this._dateFormatter.formatLocal(e.initial))}}render(){return T.mobiletouch?n.createElement(q,{value:this._dateFormatter.formatLocal(this.state.date),type:"date",onChange:this._onType,icon:ee,disabled:this.props.disabled, -size:this.props.size,min:this.props.minDate&&this._dateFormatter.formatLocal(this.props.minDate),max:this.props.maxDate&&this._dateFormatter.formatLocal(this.props.maxDate),errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:N(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:this.props.inputReference,InputComponent:this.props.InputComponent}):n.createElement("div",{ref:this._pickerInputContainerRef},n.createElement(j,{key:this.state.pickerInputKey,value:this._dateFormatter.formatLocal(this.state.date),inputRegex:/[0-9.]/,fixValue:this._fixValue,onType:this._onType,onBlur:this._onBlur,onShowPicker:this._showCalendar,onHidePicker:this._hideCalendar,showPicker:this.state.showCalendar&&this.props.withCalendar,showOnFocus:this.props.showOnFocus,icon:ee,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,position:this.props.position,className:N(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:this.props.inputReference,InputComponent:this.props.InputComponent},n.createElement(K,{selectedDate:this.state.date,maxDate:this.props.maxDate,minDate:this.props.minDate,onSelect:this._onSelect})))}UNSAFE_componentWillReceiveProps(e){this.props.initial!==e.initial&&this.setState({date:e.initial})}_getFontSizeClassName(e){return e?"large"===e?J.InputClasses.FontSizeLarge:J.InputClasses.FontSizeMedium:void 0}}te.defaultProps={position:"fixed",withCalendar:!0};var se=s(93632);function ne(e){const{className:t,text:s}=e;return n.createElement("span",{className:y()(se.tooltip,t)},s)}var re=s(56712);const ie=s(34020);function oe(e){const{hasErrors:t,onClick:s,errors:r,className:i,theme:o=ie,...a}=e;return n.createElement("div",{className:o.container,onClick:s},n.createElement(G.FormInput,{...a,className:o.date,hasErrors:t,errors:[],endSlot:!t&&n.createElement(Z.EndSlot,{icon:!0,interactive:!1},n.createElement(z.Icon,{icon:re,className:o.icon}))}),t&&n.createElement(ne,{text:(0,S.t)("Please enter the right date"),className:o.tooltip}))}const ae=n.createContext({isActive:!1,isFocused:!1});function le(e){const{value:t,reference:s,isActive:r,onPick:i,onFocus:o}=e,[a,l]=(0,n.useState)(!1);return n.createElement(ae.Provider,{value:{isActive:r,isFocused:a}},n.createElement("div",{onFocus:function(){l(!0),o&&o()},onBlur:function(){l(!1)}},n.createElement(te,{initial:t,inputReference:s,InputComponent:ce,withCalendar:!1,onPick:function(e){if(!e)return;i(new Date(e))},revertInvalidData:!0,name:e.name})))}function ce(e){const{isActive:t,isFocused:s}=(0,n.useContext)(ae);return n.createElement(oe,{...e,highlight:t||s})}var he=s(36565);function ue(e){const{value:t,isDisabled:s,onPick:r}=e;return n.createElement(he.TimeInput,{value:(i=t,a(i.getHours())+":"+a(i.getMinutes())),onChange:r,disabled:s});var i}var de=s(45228);function pe(e){return n.createElement(K,{...e,className:de.calendar, -popupStyle:!1})}function me(e,t){const s=new Date(t);return s.setFullYear(e.getFullYear()),s.setMonth(e.getMonth()),s.setDate(e.getDate()),s}function fe(e,t){const s=new Date(t);return s.setHours(e.getHours()),s.setMinutes(e.getMinutes()),s}function ve(e){const{dateOnly:t,onCalendarMonthSwitch:s}=e,{date:r,setDate:o}=(0,i.ensureNotNull)((0,n.useContext)(b)),a=(0,n.useRef)(null),l=(0,n.useRef)(null);return(0,n.useEffect)(()=>{_e||null===l.current||l.current.focus()},[]),n.createElement("div",{ref:a,tabIndex:-1},n.createElement(P,null,n.createElement(le,{reference:function(e){l.current=e},value:new Date(r),onPick:function(e){const t=me(e,r);o(t)},isActive:!_e}),n.createElement(ue,{value:new Date(r),isDisabled:t,onPick:function(e){var t;const[s,n]=e.split(":"),i=new Date;i.setHours(Number(s)),i.setMinutes(Number(n));const l=fe(i,r);o(l),_e||null===(t=a.current)||void 0===t||t.focus({preventScroll:!0})}})),!_e&&n.createElement(pe,{key:`${r.getFullYear()}-${r.getMonth()}-${r.getDate()}`,selectedDate:new Date(r),onSelect:function(e){var t;const s=me(e,r);o(s),null===(t=a.current)||void 0===t||t.focus({preventScroll:!0})},onMonthSwitch:s,maxDate:new Date}))}function ge(e){const{dateOnly:t,onCalendarMonthSwitch:s,onDateInputFocus:r}=e,{dateFrom:o,dateTo:a,setDateFrom:l,setDateTo:c}=(0,i.ensureNotNull)((0,n.useContext)(C)),[h,u]=(0,n.useState)("from"),d=(0,n.useRef)(null),p=(0,n.useRef)(null),m=(0,n.useRef)(null),f=(0,n.useMemo)(()=>"from"===h?new Date(o):new Date(a),[h,a,o]);return(0,n.useEffect)(()=>{_e||null===p.current||p.current.focus()},[]),n.createElement("div",{ref:d,tabIndex:-1},n.createElement(P,null,n.createElement(le,{value:o,reference:function(e){p.current=e},isActive:!_e&&"from"===h,onPick:function(e){const t=me(e,o);l(t)},onFocus:function(){u("from"),r()},name:"start-date-range"}),n.createElement(ue,{value:o,isDisabled:t,onPick:function(e){v(e,o,l)}})),n.createElement(P,null,n.createElement(le,{value:a,reference:function(e){m.current=e},isActive:!_e&&"to"===h,onPick:function(e){const t=me(e,a);c(t)},onFocus:function(){u("to"),r()},name:"end-date-range"}),n.createElement(ue,{value:a,isDisabled:t,onPick:function(e){v(e,a,c)}})),!_e&&n.createElement(pe,{key:`${f.getFullYear()}-${f.getMonth()}-${f.getDate()}`,selectedDate:new Date(f),onSelect:function(e){const t=me(e,"from"===h?o:a);({from:()=>{var e;l(t),null===(e=m.current)||void 0===e||e.focus({preventScroll:!0})},to:()=>{var e;c(t),null===(e=d.current)||void 0===e||e.focus({preventScroll:!0})}})[h]()},onMonthSwitch:s,highlightedFrom:new Date(o),highlightedTo:new Date(a),maxDate:"from"===h?new Date(a):void 0,minDate:"to"===h?new Date(o):void 0}));function v(e,t,s){var n;const[r,i]=e.split(":"),o=new Date;o.setHours(Number(r)),o.setMinutes(Number(i));s(fe(o,t)),_e||null===(n=d.current)||void 0===n||n.focus({preventScroll:!0})}}var we=s(31807),De=s(90692),be=s(26074);const _e=T.mobiletouch,Ce=()=>!0,Ee={byId:{Date:{title:(0,S.t)("Date")},CustomRange:{title:(0,S.t)("Custom range")}},allIds:["Date","CustomRange"]};function Se(e){ -const{dateOnly:t,onClose:s,onGoToDate:r,onGoToRange:o}=e,a=(0,n.useRef)(null),[l,c]=(0,n.useState)(F().getValue("GoToDialog.activeTab","Date")),[h,u]=(0,n.useState)(0),{date:d,isValid:p}=(0,i.ensureNotNull)((0,n.useContext)(b)),{dateFrom:m,dateTo:f,isValid:v}=(0,i.ensureNotNull)((0,n.useContext)(C));return(0,n.useEffect)(()=>(k.subscribe(x.CLOSE_POPUPS_AND_DIALOGS_COMMAND,_,null),()=>{k.unsubscribe(x.CLOSE_POPUPS_AND_DIALOGS_COMMAND,_,null)}),[s]),(0,n.useEffect)(()=>{null!==a.current&&a.current()},[h,l,d,m,f]),n.createElement(De.MatchMedia,{rule:B.DialogBreakpoints.TabletSmall},e=>n.createElement(R.AdaptiveConfirmDialog,{className:y()(be.dialogWrapper,e&&be.dialogWrapperSmall),title:(0,S.t)("Go to"),dataName:"go-to-date-dialog",render:g,defaultActionOnClose:"cancel",onClose:_,onClickOutside:_,onCancel:_,onSubmit:D,submitButtonDisabled:w(),submitButtonText:(0,S.t)("Go to"),forceCloseOnEsc:Ce,shouldForceFocus:!1,fullScreen:e,isOpened:!0}));function g({requestResize:e}){return a.current=e,n.createElement(n.Fragment,null,n.createElement("div",{className:be.tabs},n.createElement(we.DialogTabs,{activeTabId:l,tabs:Ee,onSelect:E})),n.createElement("div",{className:y()(be.content,_e&&be.contentMobile)},n.createElement("div",{className:be.bodyWrapper},n.createElement(Ne,{onCalendarMonthSwitch:N,onDateInputFocus:N,activeTab:l,dateOnly:t}))))}function w(){return{CustomRange:!v,Date:!p}[l]}function D(){switch(l){case"Date":r(d);break;case"CustomRange":o(m,f)}}function _(){s()}function E(e){c(e),F().setValue("GoToDialog.activeTab",e)}function N(){u(h+1)}}function Ne(e){const{activeTab:t,dateOnly:s,onCalendarMonthSwitch:r,onDateInputFocus:i}=e;switch(t){case"Date":return n.createElement(ve,{dateOnly:s,onCalendarMonthSwitch:r});case"CustomRange":return n.createElement(ge,{dateOnly:s,onCalendarMonthSwitch:r,onDateInputFocus:i})}}function ye(e){const{dateOnly:t,onClose:s,onGoToDate:r,onGoToRange:i,initialGoToDate:o,initialRanges:a}=e;return n.createElement(_,{initialGoToDate:o},n.createElement(E,{initialRanges:a},n.createElement(Se,{dateOnly:t,onClose:s,onGoToDate:r,onGoToRange:i})))}var ke=s(9315),Me=s(71053);const Fe=new class{constructor(){this._hasError=!1}getItemOrDefault(e,t){return!sessionStorage||this._hasError?t:sessionStorage.getItem(e)}setItem(e,t="true"){try{sessionStorage.setItem(e,t),this._hasError=!1}catch(e){this._hasError=!0}}};var xe=s(27365);const Be=new g.DialogsOpenerManager;function Re(e){if(Be.isOpened("goTo"))return;if(!e.hasModel())return;const t=e.model(),s=document.createElement("div"),i=n.createElement(ye,{onClose:a,dateOnly:t.model().mainSeries().isDWM(),initialGoToDate:Oe(),initialRanges:Pe(e),onGoToDate:e=>{!function(e,t){Fe.setItem("goToDateTabLastPickedDate",String(t.valueOf()));if(void 0===e.model().timeScale().tickMarks().minIndex)return;const s=v(t).valueOf();e.model().gotoTime(s).then(t=>{const s=e.model().mainSeries();void 0===t?s.clearGotoDateResult():s.setGotoDateResult(t)})}(t,e),a()},onGoToRange:(t,s)=>{!function(e,t,s){const n=(0,xe.getTimezoneName)(e.model());if(!n)return -;const r=o.linking.interval.value(),i=r&&(0,ke.normalizeIntervalString)(r),a=D().get_timezone(n),l=e=>(0,w.cal_to_utc)(a,new Date(e)),c=v(t).valueOf(),h=v(s).valueOf(),u={val:{type:"time-range",from:l(c)/1e3,to:l(h)/1e3},res:i};e.chartWidgetCollection().setTimeFrame(u)}(e,t,s),a()}});function a(){r.unmountComponentAtNode(s),Be.setAsClosed("goTo")}r.render(i,s),Be.setAsOpened("goTo")}function Oe(){const e=Fe.getItemOrDefault("goToDateTabLastPickedDate",null);return null===e?l(new Date):new Date(Number(e))}function Pe(e){const t=function(e){const t=e.model().timeScale(),s=t.visibleBarsStrictRange();if(null===s)return;const n=e.model().mainSeries(),r=n.nearestIndex(s.firstBar(),Me.PlotRowSearchMode.NearestRight),o=n.nearestIndex(s.lastBar(),Me.PlotRowSearchMode.NearestLeft);if(void 0===r||void 0===o)return;return{from:(0,i.ensureNotNull)(t.indexToUserTime(r)),to:(0,i.ensureNotNull)(t.indexToUserTime(o))}}(e);return t?{from:f(t.from),to:f(t.to)}:{from:f(new Date),to:f(new Date)}}},39640:(e,t,s)=>{"use strict";function n(e,t,s,n,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==s&&null!==t&&null!==i&&i.ownerDocument===n&&(t.contains(i)||s(r))}return r.click&&n.addEventListener("click",i,!1),r.mouseDown&&n.addEventListener("mousedown",i,!1),r.touchEnd&&n.addEventListener("touchend",i,!1),r.touchStart&&n.addEventListener("touchstart",i,!1),()=>{n.removeEventListener("click",i,!1),n.removeEventListener("mousedown",i,!1),n.removeEventListener("touchend",i,!1),n.removeEventListener("touchstart",i,!1)}}s.d(t,{addOutsideEventListener:()=>n})},24437:(e,t,s)=>{"use strict";s.d(t,{DialogBreakpoints:()=>r});var n=s(96746);const r={SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},85457:(e,t,s)=>{"use strict";s.d(t,{AdaptivePopupDialog:()=>S});var n=s(59496),r=s(88537);var i=s(97754),o=s.n(i),a=s(68335),l=s(35749),c=s(63016),h=s(1109),u=s(24437),d=s(90692),p=s(95711),m=s(52092),f=s(76422),v=s(9745);const g=n.createContext({setHideClose:()=>{}});var w=s(37257),D=s(91441);function b(e){const{title:t,subtitle:s,showCloseIcon:r=!0,onClose:i,renderBefore:a,renderAfter:l,draggable:c,className:h,unsetAlign:u}=e,[d,p]=(0,n.useState)(!1);return n.createElement(g.Provider,{value:{setHideClose:p}},n.createElement("div",{className:o()(D.container,h,(s||u)&&D.unsetAlign)},a,n.createElement("div",{"data-dragg-area":c,className:D.title},n.createElement("div",{className:D.ellipsis},t),s&&n.createElement("div",{className:o()(D.ellipsis,D.subtitle)},s)),l,r&&!d&&n.createElement(v.Icon,{className:D.close,icon:w,onClick:i,"data-name":"close","data-role":"button"})))}var _=s(67179);const C={vertical:20},E={vertical:0};class S extends n.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e, -this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(u.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),(0,a.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:s}=document,n=(0,r.ensureNotNull)(this._reference);if(null!==s){if(e.preventDefault(),"true"===(t=s).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,l.isTextEditingField)(s))return void n.focus();if(n.contains(s))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;f.subscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;f.unsubscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,r.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,s;return null!==(s=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==s&&s}render(){const{className:e,wrapperClassName:t,headerClassName:s,isOpened:r,title:i,dataName:a,onClickOutside:l,additionalElementPos:m,additionalHeaderElement:f,backdrop:v,shouldForceFocus:g=!0,showSeparator:w,subtitle:D,draggable:S=!0,fullScreen:N=!1,showCloseIcon:y=!0,rounded:k=!0,isAnimationEnabled:M,growPoint:F,dialogTooltip:x,unsetHeaderAlign:B,onDragStart:R,dataDialogName:O}=this.props,P="after"!==m?f:void 0,T="after"===m?f:void 0,I="string"==typeof i?i:O||"";return n.createElement(d.MatchMedia,{rule:u.DialogBreakpoints.SmallHeight},m=>n.createElement(d.MatchMedia,{rule:u.DialogBreakpoints.TabletSmall},u=>n.createElement(c.PopupDialog,{rounded:!(u||N)&&k,className:o()(_.dialog,e),isOpened:r,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:l,onClickBackdrop:l,fullscreen:u||N,guard:m?E:C,boundByScreen:u||N,shouldForceFocus:g,backdrop:v,draggable:S,isAnimationEnabled:M,growPoint:F,name:this.props.dataName,dialogTooltip:x,onDragStart:R},n.createElement("div",{className:o()(_.wrapper,t),"data-name":a,"data-dialog-name":I},void 0!==i&&n.createElement(b,{draggable:S&&!(u||N),onClose:this._handleClose,renderAfter:T,renderBefore:P,subtitle:D,title:i,showCloseIcon:y,className:s,unsetAlign:B -}),w&&n.createElement(h.Separator,{className:_.separator}),n.createElement(p.PopupContext.Consumer,null,e=>this._renderChildren(e,u||N))))))}}},51826:(e,t,s)=>{"use strict";s.d(t,{DialogsOpenerManager:()=>n,dialogsOpenerManager:()=>r});class n{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 r=new n},31807:(e,t,s)=>{"use strict";s.d(t,{DialogTabs:()=>m});var n=s(59496),r=s(97754),i=s(64205),o=s(40173),a=s(64886);const l=(0,o.mergeThemes)(i.DEFAULT_SLIDER_THEME,a);var c=s(39440),h=s(32563),u=s(42545);const d=u,p=(0,i.factory)((function(e){return n.createElement("div",{className:l.slider,ref:e.reference},n.createElement("div",{className:l.inner}))}));class m extends n.PureComponent{constructor(){super(...arguments),this._createClickHandler=e=>()=>{this.props.onSelect(e)}}render(){const{theme:e=d,hiddenBottomBorders:t,fadedSlider:s=!0,ScrollComponent:i=c.HorizontalScroll}=this.props,o=this._generateDialogTabs();return n.createElement("div",{className:r(e.scrollWrap)},!t&&n.createElement("div",{className:e.headerBottomSeparator}),n.createElement(i,{isVisibleFade:h.mobiletouch,isVisibleButtons:!h.mobiletouch,isVisibleScrollbar:!1,fadeClassName:r({[e.fadeWithoutSlider]:!s})},n.createElement("div",{className:e.tabsWrap},n.createElement(p,{className:r(e.tabs,t&&e.withoutBorder)},o))))}_generateDialogTabs(){const{activeTabId:e,tabs:t,theme:s=d}=this.props;return t.allIds.map(o=>{const a=e===o,l=t.byId[o].withNotificationsBadge;return n.createElement(i.SliderItem,{key:o,value:o,className:r(s.tab,!a&&s.withHover,l&&u.withBadge),isActive:a,onClick:this._createClickHandler(o)},t.byId[o].title)})}}},39440:(e,t,s)=>{"use strict";s.d(t,{HorizontalScroll:()=>D});var n=s(59496),r=s(97754),i=s(9837),o=s(88537),a=s(9745),l=s(59199),c=s(68587),h=s(62820),u=s(33086),d=s(41814);const p={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1};function m(e){return n.createElement("div",{className:r(d.fadeLeft,e.className,{[d.isVisible]:e.isVisible})})}function f(e){return n.createElement("div",{className:r(d.fadeRight,e.className,{[d.isVisible]:e.isVisible})})}function v(e){return n.createElement(w,{...e,className:d.scrollLeft})}function g(e){return n.createElement(w,{...e,className:d.scrollRight})}function w(e){return n.createElement("div",{className:r(e.className,{[d.isVisible]:e.isVisible}),onClick:e.onClick},n.createElement("div",{className:d.iconWrap},n.createElement(a.Icon,{icon:u,className:d.icon})))}const D=function(e=v,t=g,s=m,a=f){var u;return(u=class extends n.PureComponent{constructor(e){super(e),this._scroll=n.createRef(),this._wrapMeasureRef=n.createRef(),this._contentMeasureRef=n.createRef(),this._handleScrollLeft=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("left");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.max(0,this.currentPosition()-e))},this._handleScrollRight=()=>{ -if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("right");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.min((this.state.widthContent||0)-(this.state.widthWrap||0),this.currentPosition()+e))},this._handleResizeWrap=e=>{this.props.onMeasureWrap&&this.props.onMeasureWrap(e),this.setState({widthWrap:e.width}),this._checkButtonsVisibility()},this._handleResizeContent=e=>{this.props.onMeasureContent&&this.props.onMeasureContent(e);const{shouldDecreaseWidthContent:t,buttonsWidthIfDecreasedWidthContent:s}=this.props;t&&s?this.setState({widthContent:e.width+2*s}):this.setState({widthContent:e.width})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtLeft(),this.isAtRight()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleLeftButton:e,isVisibleRightButton:t}=this.state,s=this.isAtLeft(),n=this.isAtRight();s||e?s&&e&&this.setState({isVisibleLeftButton:!1}):this.setState({isVisibleLeftButton:!0}),n||t?n&&t&&this.setState({isVisibleRightButton:!1}):this.setState({isVisibleRightButton:!0})},this.state={widthContent:0,widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1}}componentDidMount(){this._checkButtonsVisibility()}componentDidUpdate(e,t){t.widthWrap===this.state.widthWrap&&t.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())}currentPosition(){return this._scroll.current?(0,h.isRtl)()?(0,h.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0}isAtLeft(){return!this._isOverflowed()||this.currentPosition()<=(0,o.ensureDefined)(this.props.hideButtonsFrom)}isAtRight(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-(0,o.ensureDefined)(this.props.hideButtonsFrom)}animateTo(e,t=c.dur){const s=this._scroll.current;s&&((0,h.isRtl)()&&(e=(0,h.getLTRScrollLeftOffset)(s,e)),t<=0?s.scrollLeft=Math.round(e):(0,l.doAnimate)({onStep(e,t){s.scrollLeft=Math.round(t)},from:s.scrollLeft,to:Math.round(e),easing:c.easingFunc.easeInOutCubic,duration:t}))}render(){const{children:o,isVisibleScrollbar:l,isVisibleFade:c,isVisibleButtons:h,shouldMeasure:u,shouldDecreaseWidthContent:p,buttonsWidthIfDecreasedWidthContent:m,onMouseOver:f,onMouseOut:v,scrollWrapClassName:g,fadeClassName:w}=this.props,{isVisibleRightButton:D,isVisibleLeftButton:b}=this.state,_=p&&m;return n.createElement(i,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:u,ref:this._wrapMeasureRef},n.createElement("div",{className:d.wrapOverflow,onMouseOver:f,onMouseOut:v},n.createElement("div",{className:r(d.wrap,_?d.wrapWithArrowsOuting:"")},n.createElement("div",{className:r(d.scrollWrap,g,{[d.noScrollBar]:!l}),onScroll:this._handleScroll,ref:this._scroll},n.createElement(i,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:u,ref:this._contentMeasureRef -},o)),c&&n.createElement(s,{isVisible:b,className:w}),c&&n.createElement(a,{isVisible:D,className:w}),h&&n.createElement(e,{onClick:this._handleScrollLeft,isVisible:b}),h&&n.createElement(t,{onClick:this._handleScrollRight,isVisible:D}))))}_isOverflowed(){const{widthContent:e,widthWrap:t}=this.state;return e>t}}).defaultProps=p,u}(v,g,m,f)},1109:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>o});var n=s(59496),r=s(97754),i=s(91626);function o(e){return n.createElement("div",{className:r(i.separator,e.className)})}},64205:(e,t,s)=>{"use strict";s.d(t,{DEFAULT_SLIDER_THEME:()=>a,SliderItem:()=>l,factory:()=>c});var n=s(59496),r=s(97754),i=s(88537),o=s(37740);const a=o;function l(e){const t=r(e.className,o.tab,{[o.active]:e.isActive,[o.disabled]:e.isDisabled,[o.defaultCursor]:!!e.shouldUseDefaultCursor,[o.noBorder]:!!e.noBorder});return n.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 n.PureComponent{constructor(){super(...arguments),this.activeTab={current:null}}componentDidUpdate(){(0,i.ensureNotNull)(this._slider).style.transition="transform 350ms",this._componentDidUpdate()}componentDidMount(){this._componentDidUpdate()}render(){const{className:t}=this.props,s=this._generateTabs();return n.createElement("div",{className:r(t,o.tabs),"data-name":this.props["data-name"]},s,n.createElement(e,{reference:e=>{this._slider=e}}))}_generateTabs(){return this.activeTab.current=null,n.Children.map(this.props.children,e=>{const t=e,s=Boolean(t.props.isActive),r={reference:e=>{s&&(this.activeTab.current=e),t.props.reference&&t.props.reference(e)}};return n.cloneElement(t,r)})}_componentDidUpdate(){const e=(0,i.ensureNotNull)(this._slider).style;if(this.activeTab.current){const t=this.activeTab.current.offsetWidth,s=this.activeTab.current.offsetLeft;e.transform=`translateX(${s}px)`,e.width=t+"px",e.opacity="1"}else e.opacity="0"}}}c((function(e){return n.createElement("div",{className:o.slider,ref:e.reference})}))},40173:(e,t,s)=>{"use strict";function n(e,t,s={}){const n=Object.assign({},t);for(const r of Object.keys(t)){const i=s[r]||r;i in e&&(n[r]=[e[i],t[r]].join(" "))}return n}function r(e,t,s={}){return Object.assign({},e,n(e,t,s))}s.d(t,{weakComposeClasses:()=>n,mergeThemes:()=>r})},33086:e=>{e.exports=''},30360:e=>{e.exports=''},56712:e=>{ -e.exports=''},71767:e=>{e.exports=''},37257:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/go-to-date-dialog-impl.9a15fd8109d81fcece3b.js b/charting_library/bundles/go-to-date-dialog-impl.9a15fd8109d81fcece3b.js new file mode 100644 index 00000000..0cd0708f --- /dev/null +++ b/charting_library/bundles/go-to-date-dialog-impl.9a15fd8109d81fcece3b.js @@ -0,0 +1,16 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1859],{45228:e=>{e.exports={calendar:"calendar-wVs9kh0I"}},55400:e=>{e.exports={row:"row-9XF0QIKT",mobileRow:"mobileRow-9XF0QIKT"}},26074:e=>{e.exports={dialogWrapper:"dialogWrapper-70bfoXiO",dialogWrapperSmall:"dialogWrapperSmall-70bfoXiO",tabs:"tabs-70bfoXiO",content:"content-70bfoXiO",contentMobile:"contentMobile-70bfoXiO",bodyWrapper:"bodyWrapper-70bfoXiO"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},34020:e=>{e.exports={container:"container-tZN1pb1A",icon:"icon-tZN1pb1A",tooltip:"tooltip-tZN1pb1A",date:"date-tZN1pb1A",time:"time-tZN1pb1A"}},93632:e=>{e.exports={tooltip:"tooltip-QKiUU4Ng"}},64886:e=>{e.exports={slider:"slider-Q7h4o6oW",inner:"inner-Q7h4o6oW"}},42545:e=>{e.exports={scrollWrap:"scrollWrap-VabV7Fn8",tabsWrap:"tabsWrap-VabV7Fn8",tabs:"tabs-VabV7Fn8",withoutBorder:"withoutBorder-VabV7Fn8",tab:"tab-VabV7Fn8",withHover:"withHover-VabV7Fn8",headerBottomSeparator:"headerBottomSeparator-VabV7Fn8",fadeWithoutSlider:"fadeWithoutSlider-VabV7Fn8",withBadge:"withBadge-VabV7Fn8"}},41814:e=>{e.exports={wrap:"wrap-sfzcrPlH",wrapWithArrowsOuting:"wrapWithArrowsOuting-sfzcrPlH",wrapOverflow:"wrapOverflow-sfzcrPlH",scrollWrap:"scrollWrap-sfzcrPlH",noScrollBar:"noScrollBar-sfzcrPlH",icon:"icon-sfzcrPlH",scrollLeft:"scrollLeft-sfzcrPlH",scrollRight:"scrollRight-sfzcrPlH",isVisible:"isVisible-sfzcrPlH",iconWrap:"iconWrap-sfzcrPlH",fadeLeft:"fadeLeft-sfzcrPlH",fadeRight:"fadeRight-sfzcrPlH"}},88722:e=>{e.exports={wrap:"wrap-TyQYOCnx",input:"input-TyQYOCnx"}},24451:e=>{e.exports={icon:"icon-P882WPW5"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},37740:e=>{e.exports={tabs:"tabs-rKFlMYkc",tab:"tab-rKFlMYkc",noBorder:"noBorder-rKFlMYkc",disabled:"disabled-rKFlMYkc",active:"active-rKFlMYkc",defaultCursor:"defaultCursor-rKFlMYkc",slider:"slider-rKFlMYkc",content:"content-rKFlMYkc"}},9837:function(e,t,n){var r,o,i;e.exports=(r=n(59496),o=n(87995),i=n(59255),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var t=n.getDimensions(n._node,e),r="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(t[e]!==n._lastDimensions[e])return n.props.onMeasure(t),r&&void 0!==n&&n.setState({dimensions:t}),n._lastDimensions=t,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new c.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){var t=(e.config,e.whitelist),n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=l.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin;return(0,u.default)(e,{margin:t})}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(i.Component);f.propTypes={whitelist:s.default.array,blacklist:s.default.array,includeMargin:s.default.bool,useClone:s.default.bool,cloneOptions:s.default.object,shouldMeasure:s.default.bool,onMeasure:s.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=f,e.exports=t.default},function(e,t){e.exports=r},function(e,t,n){(function(t){ +"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if("production"!==t.env.NODE_ENV){var o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(5)((function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e&&e.$$typeof===o}),!0)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(){h&&d&&(h=!1,d.length?p=d.concat(p):m=-1,p.length&&a())}function a(){if(!h){var e=o(i);h=!0;for(var t=p.length;t;){for(d=p,p=[];++m1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.getBoundingClientRect(),o=void 0,i=void 0,a=void 0;return t.margin&&(a=(0,r.default)(getComputedStyle(e))),t.margin?(o=a.left+n.width+a.right,i=a.top+n.height+a.bottom):(o=n.width,i=n.height),{width:o,height:i,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(16));e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:n((e=e||{}).marginTop),right:n(e.marginRight),bottom:n(e.marginBottom),left:n(e.marginLeft)}};var n=function(e){return parseInt(e)||0};e.exports=t.default}]))},50773:(e,t,n)=>{"use strict";n.r(t),n.d(t,{showGoToDateDialog:()=>le});var r=n(59496),o=n(87995),i=n(88537),a=n(82992),s=n(23935),l=n(51826),c=n(10480),u=n.n(c);const f=r.createContext(null);function d(e){const{initialGoToDate:t,children:n}=e,[o,i]=(0,r.useState)(t),a=o.valueOf()<=(0,s.resetToDayEnd)(new Date).valueOf(),l=(0,r.useMemo)(()=>({date:o,setDate:i,isValid:a}),[o,a]);return r.createElement(f.Provider,{value:l},n)}const p=r.createContext(null);function h(e){const{initialRanges:t,children:n}=e,[o,i]=(0,r.useState)(t.from),[a,s]=(0,r.useState)(t.to),l=o.valueOf()<=a.valueOf(),c=(0,r.useMemo)(()=>({dateFrom:o,dateTo:a,setDateFrom:i,setDateTo:s,isValid:l}),[o,a,l]);return r.createElement(p.Provider,{value:c},n)}var m=n(28353),v=n(97754),b=n.n(v),g=n(76422),y=n(56840),w=n.n(y),E=n(52092),S=n(24437),O=n(50182),T=n(55400);function N(e){const{children:t}=e;return r.createElement("div",{className:b()(T.row,Q&&T.mobileRow)},t)}var D=n(27404),C=n(9745),_=n(78274),M=n(86623),k=n(93632);function x(e){const{className:t,text:n}=e;return r.createElement("span",{className:b()(k.tooltip,t)},n)}var R=n(56712);const P=n(34020);function F(e){const{hasErrors:t,onClick:n,errors:o,className:i,theme:a=P,...s}=e;return r.createElement("div",{className:a.container,onClick:n},r.createElement(M.FormInput,{...s,className:a.date,hasErrors:t,errors:[],endSlot:!t&&r.createElement(_.EndSlot,{icon:!0,interactive:!1},r.createElement(C.Icon,{icon:R,className:a.icon}))}),t&&r.createElement(x,{text:(0,m.t)("Please enter the right date"),className:a.tooltip}))}const I=r.createContext({isActive:!1,isFocused:!1});function V(e){const{value:t,reference:n,isActive:o,onPick:i,onFocus:a}=e,[s,l]=(0,r.useState)(!1);return r.createElement(I.Provider,{value:{isActive:o,isFocused:s}},r.createElement("div",{onFocus:function(){l(!0),a&&a()},onBlur:function(){l(!1)}},r.createElement(D.DatePicker,{initial:t,inputReference:n,InputComponent:A,withCalendar:!1,onPick:function(e){if(!e)return;i(new Date(e))},revertInvalidData:!0,name:e.name})))}function A(e){ +const{isActive:t,isFocused:n}=(0,r.useContext)(I);return r.createElement(F,{...e,highlight:t||n})}var B=n(36565);function L(e){const{value:t,isDisabled:n,onPick:o}=e;return r.createElement(B.TimeInput,{value:(i=t,(0,s.twoDigitsFormat)(i.getHours())+":"+(0,s.twoDigitsFormat)(i.getMinutes())),onChange:o,disabled:n});var i}var W=n(48154),j=n(45228);function H(e){return r.createElement(W.Calendar,{...e,className:j.calendar,popupStyle:!1})}function z(e,t){const n=new Date(t);return n.setFullYear(e.getFullYear()),n.setMonth(e.getMonth()),n.setDate(e.getDate()),n}function G(e,t){const n=new Date(t);return n.setHours(e.getHours()),n.setMinutes(e.getMinutes()),n}function U(e){const{dateOnly:t,onCalendarMonthSwitch:n}=e,{date:o,setDate:a}=(0,i.ensureNotNull)((0,r.useContext)(f)),s=(0,r.useRef)(null),l=(0,r.useRef)(null);return(0,r.useEffect)(()=>{Q||null===l.current||l.current.focus()},[]),r.createElement("div",{ref:s,tabIndex:-1},r.createElement(N,null,r.createElement(V,{reference:function(e){l.current=e},value:new Date(o),onPick:function(e){const t=z(e,o);a(t)},isActive:!Q}),r.createElement(L,{value:new Date(o),isDisabled:t,onPick:function(e){var t;const[n,r]=e.split(":"),i=new Date;i.setHours(Number(n)),i.setMinutes(Number(r));const l=G(i,o);a(l),Q||null===(t=s.current)||void 0===t||t.focus({preventScroll:!0})}})),!Q&&r.createElement(H,{key:`${o.getFullYear()}-${o.getMonth()}-${o.getDate()}`,selectedDate:new Date(o),onSelect:function(e){var t;const n=z(e,o);a(n),null===(t=s.current)||void 0===t||t.focus({preventScroll:!0})},onMonthSwitch:n,maxDate:new Date}))}function Y(e){const{dateOnly:t,onCalendarMonthSwitch:n,onDateInputFocus:o}=e,{dateFrom:a,dateTo:s,setDateFrom:l,setDateTo:c}=(0,i.ensureNotNull)((0,r.useContext)(p)),[u,f]=(0,r.useState)("from"),d=(0,r.useRef)(null),h=(0,r.useRef)(null),m=(0,r.useRef)(null),v=(0,r.useMemo)(()=>"from"===u?new Date(a):new Date(s),[u,s,a]);return(0,r.useEffect)(()=>{Q||null===h.current||h.current.focus()},[]),r.createElement("div",{ref:d,tabIndex:-1},r.createElement(N,null,r.createElement(V,{value:a,reference:function(e){h.current=e},isActive:!Q&&"from"===u,onPick:function(e){const t=z(e,a);l(t)},onFocus:function(){f("from"),o()},name:"start-date-range"}),r.createElement(L,{value:a,isDisabled:t,onPick:function(e){b(e,a,l)}})),r.createElement(N,null,r.createElement(V,{value:s,reference:function(e){m.current=e},isActive:!Q&&"to"===u,onPick:function(e){const t=z(e,s);c(t)},onFocus:function(){f("to"),o()},name:"end-date-range"}),r.createElement(L,{value:s,isDisabled:t,onPick:function(e){b(e,s,c)}})),!Q&&r.createElement(H,{key:`${v.getFullYear()}-${v.getMonth()}-${v.getDate()}`,selectedDate:new Date(v),onSelect:function(e){const t=z(e,"from"===u?a:s);({from:()=>{var e;l(t),null===(e=m.current)||void 0===e||e.focus({preventScroll:!0})},to:()=>{var e;c(t),null===(e=d.current)||void 0===e||e.focus({preventScroll:!0})}})[u]()},onMonthSwitch:n,highlightedFrom:new Date(a),highlightedTo:new Date(s),maxDate:"from"===u?new Date(s):void 0,minDate:"to"===u?new Date(a):void 0}));function b(e,t,n){var r +;const[o,i]=e.split(":"),a=new Date;a.setHours(Number(o)),a.setMinutes(Number(i));n(G(a,t)),Q||null===(r=d.current)||void 0===r||r.focus({preventScroll:!0})}}var $=n(31807),K=n(90692),q=n(32563),X=n(26074);const Q=q.mobiletouch,Z=()=>!0,J={byId:{Date:{title:(0,m.t)("Date")},CustomRange:{title:(0,m.t)("Custom range")}},allIds:["Date","CustomRange"]};function ee(e){const{dateOnly:t,onClose:n,onGoToDate:o,onGoToRange:a}=e,s=(0,r.useRef)(null),[l,c]=(0,r.useState)(w().getValue("GoToDialog.activeTab","Date")),[u,d]=(0,r.useState)(0),{date:h,isValid:v}=(0,i.ensureNotNull)((0,r.useContext)(f)),{dateFrom:y,dateTo:T,isValid:N}=(0,i.ensureNotNull)((0,r.useContext)(p));return(0,r.useEffect)(()=>(g.subscribe(E.CLOSE_POPUPS_AND_DIALOGS_COMMAND,M,null),()=>{g.unsubscribe(E.CLOSE_POPUPS_AND_DIALOGS_COMMAND,M,null)}),[n]),(0,r.useEffect)(()=>{null!==s.current&&s.current()},[u,l,h,y,T]),r.createElement(K.MatchMedia,{rule:S.DialogBreakpoints.TabletSmall},e=>r.createElement(O.AdaptiveConfirmDialog,{className:b()(X.dialogWrapper,e&&X.dialogWrapperSmall),title:(0,m.t)("Go to"),dataName:"go-to-date-dialog",render:D,defaultActionOnClose:"cancel",onClose:M,onClickOutside:M,onCancel:M,onSubmit:_,submitButtonDisabled:C(),submitButtonText:(0,m.t)("Go to"),forceCloseOnEsc:Z,shouldForceFocus:!1,fullScreen:e,isOpened:!0}));function D({requestResize:e}){return s.current=e,r.createElement(r.Fragment,null,r.createElement("div",{className:X.tabs},r.createElement($.DialogTabs,{activeTabId:l,tabs:J,onSelect:k})),r.createElement("div",{className:b()(X.content,Q&&X.contentMobile)},r.createElement("div",{className:X.bodyWrapper},r.createElement(te,{onCalendarMonthSwitch:x,onDateInputFocus:x,activeTab:l,dateOnly:t}))))}function C(){return{CustomRange:!N,Date:!v}[l]}function _(){switch(l){case"Date":o(h);break;case"CustomRange":a(y,T)}}function M(){n()}function k(e){c(e),w().setValue("GoToDialog.activeTab",e)}function x(){d(u+1)}}function te(e){const{activeTab:t,dateOnly:n,onCalendarMonthSwitch:o,onDateInputFocus:i}=e;switch(t){case"Date":return r.createElement(U,{dateOnly:n,onCalendarMonthSwitch:o});case"CustomRange":return r.createElement(Y,{dateOnly:n,onCalendarMonthSwitch:o,onDateInputFocus:i})}}function ne(e){const{dateOnly:t,onClose:n,onGoToDate:o,onGoToRange:i,initialGoToDate:a,initialRanges:s}=e;return r.createElement(d,{initialGoToDate:a},r.createElement(h,{initialRanges:s},r.createElement(ee,{dateOnly:t,onClose:n,onGoToDate:o,onGoToRange:i})))}var re=n(9315),oe=n(71053);const ie=new class{constructor(){this._hasError=!1}getItemOrDefault(e,t){return!sessionStorage||this._hasError?t:sessionStorage.getItem(e)}setItem(e,t="true"){try{sessionStorage.setItem(e,t),this._hasError=!1}catch(e){this._hasError=!0}}};var ae=n(27365);const se=new l.DialogsOpenerManager;function le(e){if(se.isOpened("goTo"))return;if(!e.hasModel())return;const t=e.model(),n=document.createElement("div"),i=r.createElement(ne,{onClose:l,dateOnly:t.model().mainSeries().isDWM(),initialGoToDate:ce(),initialRanges:ue(e),onGoToDate:e=>{!function(e,t){ +ie.setItem("goToDateTabLastPickedDate",String(t.valueOf()));if(void 0===e.model().timeScale().tickMarks().minIndex)return;const n=(0,s.addLocalTime)(t).valueOf();e.model().gotoTime(n).then(t=>{const n=e.model().mainSeries();void 0===t?n.clearGotoDateResult():n.setGotoDateResult(t)})}(t,e),l()},onGoToRange:(t,n)=>{!function(e,t,n){const r=(0,ae.getTimezoneName)(e.model());if(!r)return;const o=a.linking.interval.value(),i=o&&(0,re.normalizeIntervalString)(o),l=u().get_timezone(r),f=e=>(0,c.cal_to_utc)(l,new Date(e)),d=(0,s.addLocalTime)(t).valueOf(),p=(0,s.addLocalTime)(n).valueOf(),h={val:{type:"time-range",from:f(d)/1e3,to:f(p)/1e3},res:i};e.chartWidgetCollection().setTimeFrame(h)}(e,t,n),l()}});function l(){o.unmountComponentAtNode(n),se.setAsClosed("goTo")}o.render(i,n),se.setAsOpened("goTo")}function ce(){const e=ie.getItemOrDefault("goToDateTabLastPickedDate",null);return null===e?(0,s.resetToDayStart)(new Date):new Date(Number(e))}function ue(e){const t=function(e){const t=e.model().timeScale(),n=t.visibleBarsStrictRange();if(null===n)return;const r=e.model().mainSeries(),o=r.nearestIndex(n.firstBar(),oe.PlotRowSearchMode.NearestRight),a=r.nearestIndex(n.lastBar(),oe.PlotRowSearchMode.NearestLeft);if(void 0===o||void 0===a)return;return{from:(0,i.ensureNotNull)(t.indexToUserTime(o)),to:(0,i.ensureNotNull)(t.indexToUserTime(a))}}(e);return t?{from:(0,s.subtractLocalTime)(t.from),to:(0,s.subtractLocalTime)(t.to)}:{from:(0,s.subtractLocalTime)(new Date),to:(0,s.subtractLocalTime)(new Date)}}},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(96746);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},27365:(e,t,n)=>{"use strict";n.d(t,{getTimezoneName:()=>r});n(10480);function r(e){const t=e.model().timezone();if("exchange"!==t)return t;const n=e.model().mainSeries().symbolInfo();return null==n?void 0:n.timezone}},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>r,dialogsOpenerManager:()=>o});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 o=new r},31807:(e,t,n)=>{"use strict";n.d(t,{DialogTabs:()=>h});var r=n(59496),o=n(97754),i=n(64205),a=n(40173),s=n(64886);const l=(0,a.mergeThemes)(i.DEFAULT_SLIDER_THEME,s);var c=n(39440),u=n(32563),f=n(42545);const d=f,p=(0,i.factory)((function(e){return r.createElement("div",{className:l.slider,ref:e.reference},r.createElement("div",{className:l.inner}))}));class h extends r.PureComponent{constructor(){super(...arguments),this._createClickHandler=e=>()=>{this.props.onSelect(e)}}render(){const{theme:e=d,hiddenBottomBorders:t,fadedSlider:n=!0,ScrollComponent:i=c.HorizontalScroll}=this.props,a=this._generateDialogTabs();return r.createElement("div",{className:o(e.scrollWrap)},!t&&r.createElement("div",{className:e.headerBottomSeparator}),r.createElement(i,{isVisibleFade:u.mobiletouch, +isVisibleButtons:!u.mobiletouch,isVisibleScrollbar:!1,fadeClassName:o({[e.fadeWithoutSlider]:!n})},r.createElement("div",{className:e.tabsWrap},r.createElement(p,{className:o(e.tabs,t&&e.withoutBorder)},a))))}_generateDialogTabs(){const{activeTabId:e,tabs:t,theme:n=d}=this.props;return t.allIds.map(a=>{const s=e===a,l=t.byId[a].withNotificationsBadge;return r.createElement(i.SliderItem,{key:a,value:a,className:o(n.tab,!s&&n.withHover,l&&f.withBadge),isActive:s,onClick:this._createClickHandler(a)},t.byId[a].title)})}}},39440:(e,t,n)=>{"use strict";n.d(t,{HorizontalScroll:()=>y});var r=n(59496),o=n(97754),i=n(9837),a=n(88537),s=n(9745),l=n(59199),c=n(68587),u=n(62820),f=n(33086),d=n(41814);const p={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1};function h(e){return r.createElement("div",{className:o(d.fadeLeft,e.className,{[d.isVisible]:e.isVisible})})}function m(e){return r.createElement("div",{className:o(d.fadeRight,e.className,{[d.isVisible]:e.isVisible})})}function v(e){return r.createElement(g,{...e,className:d.scrollLeft})}function b(e){return r.createElement(g,{...e,className:d.scrollRight})}function g(e){return r.createElement("div",{className:o(e.className,{[d.isVisible]:e.isVisible}),onClick:e.onClick},r.createElement("div",{className:d.iconWrap},r.createElement(s.Icon,{icon:f,className:d.icon})))}const y=function(e=v,t=b,n=h,s=m){var f;return(f=class extends r.PureComponent{constructor(e){super(e),this._scroll=r.createRef(),this._wrapMeasureRef=r.createRef(),this._contentMeasureRef=r.createRef(),this._handleScrollLeft=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("left");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.max(0,this.currentPosition()-e))},this._handleScrollRight=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("right");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.min((this.state.widthContent||0)-(this.state.widthWrap||0),this.currentPosition()+e))},this._handleResizeWrap=e=>{this.props.onMeasureWrap&&this.props.onMeasureWrap(e),this.setState({widthWrap:e.width}),this._checkButtonsVisibility()},this._handleResizeContent=e=>{this.props.onMeasureContent&&this.props.onMeasureContent(e);const{shouldDecreaseWidthContent:t,buttonsWidthIfDecreasedWidthContent:n}=this.props;t&&n?this.setState({widthContent:e.width+2*n}):this.setState({widthContent:e.width})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtLeft(),this.isAtRight()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleLeftButton:e,isVisibleRightButton:t}=this.state,n=this.isAtLeft(),r=this.isAtRight();n||e?n&&e&&this.setState({isVisibleLeftButton:!1}):this.setState({isVisibleLeftButton:!0}),r||t?r&&t&&this.setState({isVisibleRightButton:!1}):this.setState({isVisibleRightButton:!0})},this.state={widthContent:0,widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1}}componentDidMount(){this._checkButtonsVisibility()} +componentDidUpdate(e,t){t.widthWrap===this.state.widthWrap&&t.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())}currentPosition(){return this._scroll.current?(0,u.isRtl)()?(0,u.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0}isAtLeft(){return!this._isOverflowed()||this.currentPosition()<=(0,a.ensureDefined)(this.props.hideButtonsFrom)}isAtRight(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-(0,a.ensureDefined)(this.props.hideButtonsFrom)}animateTo(e,t=c.dur){const n=this._scroll.current;n&&((0,u.isRtl)()&&(e=(0,u.getLTRScrollLeftOffset)(n,e)),t<=0?n.scrollLeft=Math.round(e):(0,l.doAnimate)({onStep(e,t){n.scrollLeft=Math.round(t)},from:n.scrollLeft,to:Math.round(e),easing:c.easingFunc.easeInOutCubic,duration:t}))}render(){const{children:a,isVisibleScrollbar:l,isVisibleFade:c,isVisibleButtons:u,shouldMeasure:f,shouldDecreaseWidthContent:p,buttonsWidthIfDecreasedWidthContent:h,onMouseOver:m,onMouseOut:v,scrollWrapClassName:b,fadeClassName:g}=this.props,{isVisibleRightButton:y,isVisibleLeftButton:w}=this.state,E=p&&h;return r.createElement(i,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:f,ref:this._wrapMeasureRef},r.createElement("div",{className:d.wrapOverflow,onMouseOver:m,onMouseOut:v},r.createElement("div",{className:o(d.wrap,E?d.wrapWithArrowsOuting:"")},r.createElement("div",{className:o(d.scrollWrap,b,{[d.noScrollBar]:!l}),onScroll:this._handleScroll,ref:this._scroll},r.createElement(i,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:f,ref:this._contentMeasureRef},a)),c&&r.createElement(n,{isVisible:w,className:g}),c&&r.createElement(s,{isVisible:y,className:g}),u&&r.createElement(e,{onClick:this._handleScrollLeft,isVisible:w}),u&&r.createElement(t,{onClick:this._handleScrollRight,isVisible:y}))))}_isOverflowed(){const{widthContent:e,widthWrap:t}=this.state;return e>t}}).defaultProps=p,f}(v,b,h,m)},36565:(e,t,n)=>{"use strict";n.d(t,{TimeInput:()=>I});var r=n(49483),o=n(59496),i=n(97754),a=n.n(i),s=n(88537),l=n(47201),c=n(78274),u=n(31261),f=n(9745),d=n(24451),p=n(35692);function h(e){return o.createElement(f.Icon,{className:d.icon,icon:p})}var m=n(29202),v=n(88722);var b=n(58095),g=n(64514);const y={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};function w(e,t,n){const r=[],o=n;let i=0,a=0;const s=e.length,l=o.length;let c=-1,u=0;const f=[],d=s-1,p=[];let h;for(;i{const[n,r]=w(e,!1,t);c(n),v(r)},[t,e]),(0,o.useLayoutEffect)(()=>{const e=(0,s.ensureNotNull)(n.current);d&&(e.setSelectionRange(u,u),p(!1)),f(S(e))},[d]),[t,m,{onChange:function(){const t=(0,s.ensureNotNull)(n.current),r=t.value,[o,i]=w(e,!1,r);c(o),m.current=o;const a=v(i),d=function(e,t,n,r,o,i){if(e!==t){const a=t.length,s=e.length;let l=0,c=0,u=0,f=0,d=0;for(d=r;d=0&&o[d];d--)l++;for(d=r-1;d>=0;d--)o[d]&&u++;for(d=n-1;d>=0;d--)i[d]&&f++;if(r>s)r=10*a;else if(n>=r&&n!==s){if(i[r]){const e=r;r-=f-u,o[r-=l]&&(r=e)}}else r>n&&(r+=u-f,r+=c)}return r}(l,o,u,S(t),i,a);f(d),p(!0)},onSelect:function(){const e=(0,s.ensureNotNull)(n.current);f(S(e))},maxLength:r}];function v(e){const t=h.current;return h.current=e,t}}function S(e){return e.selectionStart||0}function O(e){const{value:t,mask:n,onChange:r,...i}=e,a=(0,o.useRef)(null),[s,l,c]=E(n,t,a);return(0,o.useLayoutEffect)(()=>{void 0!==e.reference&&(e.reference.current=a.current)},[e.reference]),o.createElement(u.InputControl,{...i,maxLength:c.maxLength,value:s,autoComplete:"off",reference:function(e){a.current=e},onChange:function(){c.onChange(),r(l.current)},onSelect:c.onSelect})}var T=n(68335),N=n(50628),D=n(16396),C=n(55257);const _=(()=>{const e=[];for(let t=0;t<24;++t)for(let n=0;n<60;n+=15){const[r,o]=[P(t.toString()),P(n.toString())],i=`${r}:${o}`,a=x(i)?i:R(i);e.push(a)}return e})();function M(e){let t=!1;const n=(0,o.useRef)(null),r=(0,o.useRef)(null),i=(0,o.useRef)(null),l=(0,o.useRef)(null),[u,f]=(0,m.useFocus)(),[d,p]=(0,o.useState)(e.value),v=k(d),y=x(v)?v:R(v),[w,E]=(0,o.useState)(y),S=u||W().some(e=>null!==e&&e.contains(document.activeElement));(0,o.useLayoutEffect)(()=>p(e.value),[e.value]),(0,o.useLayoutEffect)(()=>E(y),[d,S]),(0,o.useEffect)(()=>j(w===y?"auto":"smooth"),[w]);const M=(0,C.lowerbound)(_,y,(e,t)=>er&&o>t){const n=(0,g.clamp)(o,0,r),a=(0,g.clamp)(o,0,t);o=Math.max(n,a),i=n>a?e.top-n:e.bottom}else o>t&&(i=e.top-o);return{x:e.left,y:i,overrideWidth:e.width,overrideHeight:o}},closeOnClickOutside:!1,isOpened:S,tabIndex:-1,reference:i},P.map(e=>o.createElement(D.PopupMenuItem,{key:e,label:e,isActive:e===y,isHovered:e===w,reference:e===w?V:void 0,onClick:A,onClickArg:e}))));function I(n){const r=k(n),o=x(r)?r:R(r);p(o),t||(t=!0,e.onChange(o))}function V(e){l.current=e}function A(e){I((0,s.ensureDefined)(e)),(0,s.ensureNotNull)(i.current).blur()}function B(e){return u&&(null!==L(document.activeElement)||null!==L(e.relatedTarget))}function L(e){return e instanceof Node&&W().find(t=>null!==t&&t.contains(e))||null}function W(){return[i.current,r.current]}function j(e="auto"){if(null!==l.current){const t=(0,s.ensureNotNull)(i.current).getBoundingClientRect(),n=l.current.getBoundingClientRect();(t.top>n.top||t.bottom{d.current&&r&&(d.current.defaultValue=r)},[]),(0,o.useLayoutEffect)(()=>{d.current&&r&&(d.current.value=r)},[r]),o.createElement("div",{className:a()(v.wrap,i)},o.createElement(u.InputControl,{...f,type:"text",endSlot:o.createElement(c.EndSlot,{icon:!0},o.createElement(h,null)),value:r,highlight:p,intent:p?"primary":void 0,onFocus:function(e){(0,s.ensureNotNull)(d.current).focus(),n&&n(e)},onChange:function(){}}),o.createElement("input",{...b,disabled:e.disabled,className:v.input,type:"time",onBlur:g,onChange:function(e){const{value:n}=e.currentTarget;t&&n&&t(n)},ref:d}))}:M},16396:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>d}) +;var r=n(59496),o=n(97754),i=n(59064),a=n(51768),s=n(90186),l=n(23576);const c=l;function u(e){const{reference:t,...n}=e,o={...n,ref:t};return r.createElement(e.href?"a":"div",o)}function f(e){e.stopPropagation()}function d(e){const{id:t,role:n,"aria-selected":c,className:d,title:p,labelRowClassName:h,labelClassName:m,shortcut:v,forceShowShortcuts:b,icon:g,isActive:y,isDisabled:w,isHovered:E,appearAsDisabled:S,label:O,link:T,showToolboxOnHover:N,target:D,rel:C,toolbox:_,reference:M,onMouseOut:k,onMouseOver:x,suppressToolboxClick:R=!0,theme:P=l}=e,F=(0,s.filterDataProps)(e),I=(0,r.useRef)(null);return r.createElement(u,{...F,id:t,role:n,"aria-selected":c,className:o(d,P.item,g&&P.withIcon,{[P.isActive]:y,[P.isDisabled]:w||S,[P.hovered]:E}),title:p,href:T,target:D,rel:C,reference:function(e){I.current=e,"function"==typeof M&&M(e);"object"==typeof M&&(M.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:r,onClickArg:o,trackEventObject:s}=e;if(w)return;s&&(0,a.trackEvent)(s.category,s.event,s.label);r&&r(o,t);n||(0,i.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:r}=e;n&&r&&(0,a.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:r}=e;if(1===t.button&&T&&n){let e=n.label;r&&(e+="_mouseWheelClick"),(0,a.trackEvent)(n.category,n.event,e)}},onMouseOver:x,onMouseOut:k},void 0!==g&&r.createElement("div",{className:P.icon,dangerouslySetInnerHTML:{__html:g}}),r.createElement("div",{className:o(P.labelRow,h)},r.createElement("div",{className:o(P.label,m)},O)),(void 0!==v||b)&&r.createElement("div",{className:P.shortcut},(V=v)&&V.split("+").join(" + ")),void 0!==_&&r.createElement("div",{onClick:R?f:void 0,className:o(P.toolbox,{[P.showOnHover]:N})},_));var V}},64205:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_SLIDER_THEME:()=>s,SliderItem:()=>l,factory:()=>c});var r=n(59496),o=n(97754),i=n(88537),a=n(37740);const s=a;function l(e){const t=o(e.className,a.tab,{[a.active]:e.isActive,[a.disabled]:e.isDisabled,[a.defaultCursor]:!!e.shouldUseDefaultCursor,[a.noBorder]:!!e.noBorder});return r.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 r.PureComponent{constructor(){super(...arguments),this.activeTab={current:null}}componentDidUpdate(){(0,i.ensureNotNull)(this._slider).style.transition="transform 350ms",this._componentDidUpdate()}componentDidMount(){this._componentDidUpdate()}render(){const{className:t}=this.props,n=this._generateTabs();return r.createElement("div",{className:o(t,a.tabs),"data-name":this.props["data-name"]},n,r.createElement(e,{reference:e=>{this._slider=e}}))}_generateTabs(){return this.activeTab.current=null,r.Children.map(this.props.children,e=>{const t=e,n=Boolean(t.props.isActive),o={reference:e=>{n&&(this.activeTab.current=e),t.props.reference&&t.props.reference(e)}};return r.cloneElement(t,o)})}_componentDidUpdate(){const e=(0, +i.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 r.createElement("div",{className:a.slider,ref:e.reference})}))},33086:e=>{e.exports=''},56712:e=>{e.exports=''},35692:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/go-to-tradingview-referral-dialog.3ff513f8887e148c67d1.js b/charting_library/bundles/go-to-tradingview-referral-dialog.3ff513f8887e148c67d1.js new file mode 100644 index 00000000..c9e2c83c --- /dev/null +++ b/charting_library/bundles/go-to-tradingview-referral-dialog.3ff513f8887e148c67d1.js @@ -0,0 +1,5 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6066],{16581:(e,t,n)=>{e.exports=n.p+"ee2bdfea45e5aca4518fe3ae1e115904.svg"},99804:(e,t,n)=>{e.exports=n.p+"4958ef32c0c1820de94cfe8a01f2f1cf.svg"},97848:e=>{e.exports={"round-button":"round-button-p9ma7wH8",content:"content-p9ma7wH8","color-brand":"color-brand-p9ma7wH8","variant-primary":"variant-primary-p9ma7wH8","disable-themes":"disable-themes-p9ma7wH8","variant-quiet-primary":"variant-quiet-primary-p9ma7wH8","variant-secondary":"variant-secondary-p9ma7wH8","variant-ghost":"variant-ghost-p9ma7wH8","color-gray":"color-gray-p9ma7wH8","color-red":"color-red-p9ma7wH8","size-xsmall":"size-xsmall-p9ma7wH8","icon-only":"icon-only-p9ma7wH8","size-small":"size-small-p9ma7wH8","size-medium":"size-medium-p9ma7wH8","size-large":"size-large-p9ma7wH8","size-xlarge":"size-xlarge-p9ma7wH8","size-xxlarge":"size-xxlarge-p9ma7wH8",animated:"animated-p9ma7wH8",stretch:"stretch-p9ma7wH8"}},16178:e=>{e.exports={"close-button":"close-button-WaM0Er9G","close-icon":"close-icon-WaM0Er9G","button-l":"button-l-WaM0Er9G","button-m":"button-m-WaM0Er9G","button-s":"button-s-WaM0Er9G","button-xs":"button-xs-WaM0Er9G","button-xxs":"button-xxs-WaM0Er9G"}},56734:e=>{e.exports={dialog:"dialog-sXuYOF5A",radius:"radius-sXuYOF5A",container:"container-sXuYOF5A",closeButton:"closeButton-sXuYOF5A",icon:"icon-sXuYOF5A",title:"title-sXuYOF5A",featureDescription:"featureDescription-sXuYOF5A",description:"description-sXuYOF5A",wrapperButton:"wrapperButton-sXuYOF5A",actionButton:"actionButton-sXuYOF5A"}},21935:e=>{e.exports={wrap:"wrap-2oYqsh7S",container:"container-2oYqsh7S",backdrop:"backdrop-2oYqsh7S",modal:"modal-2oYqsh7S",dialog:"dialog-2oYqsh7S"}},5437:(e,t,n)=>{"use strict";n.d(t,{RoundAnchorButton:()=>m,RoundButton:()=>l});var r=n(97754);function a(e,t){const{className:n,color:a="brand",variant:s="primary",size:o="xlarge",stretch:i,animated:c=!1,disableThemes:u=!1,iconOnly:l=!1}=t;return r(n,e["round-button"],e["color-"+a],e["variant-"+s],e["size-"+o],c&&e.animated,i&&e.stretch,u&&e["disable-themes"],l&&e["icon-only"])}var s=n(59496),o=n(90186),i=n(97848),c=n.n(i);function u(e){const{className:t,color:n,variant:r,size:a,stretch:s,animated:i,disableThemes:c,...u}=e;return{...u,...(0,o.filterDataProps)(e),...(0,o.filterAriaProps)(e)}}function l(e){const{reference:t,children:n,...r}=e,o=a(c(),e);return s.createElement("button",{...u(r),className:o,ref:t},s.createElement("span",{className:c().content},n))}function d(e){const{className:t,color:n,variant:r,size:a,stretch:s,animated:i,disableThemes:c,Component:u,...l}=e;return{...l,...(0,o.filterDataProps)(e),...(0,o.filterAriaProps)(e)}}function m(e){const{reference:t,children:n,...r}=e,o=a(c(),e),i=e.Component||"a";return s.createElement(i,{...d(r),className:o,ref:t},s.createElement("span",{className:c().content},n))}},35582:(e,t,n)=>{"use strict";n.d(t,{CloseButton:()=>h});var r=n(59496),a=n(97754),s=n(9745),o=n(64120),i=n(12565),c=n(95781),u=n(7801),l=n(33584),d=n(16178),m=n.n(d);function p(e="l"){switch(e){case"l":return o;case"m": +return i;case"s":return c;case"xs":return u;case"xxs":return l;default:return i}}const h=r.forwardRef((e,t)=>{const{className:n,size:o,...i}=e,c=a(m()["close-button"],m()["button-"+o],n);return r.createElement("button",{...i,type:"button",className:c,ref:t},r.createElement(s.Icon,{icon:p(o),className:m()["close-icon"],"aria-hidden":!0}))})},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>a});var r=n(59496);const a=r.forwardRef((e,t)=>{const{icon:n="",...a}=e;return r.createElement("span",{...a,ref:t,dangerouslySetInnerHTML:{__html:n}})})},90186:(e,t,n)=>{"use strict";function r(e){return s(e,o)}function a(e){return s(e,i)}function s(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function o(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function i(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterDataProps:()=>r,filterAriaProps:()=>a,filterProps:()=>s,isDataAttribute:()=>o,isAriaAttribute:()=>i})},70148:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GoToTradingViewReferralDialog:()=>z,renderGoToTradingViewReferralDialog:()=>R});var r=n(59496),a=n(87995),s=n(28353),o=n(88216),i=n(9423),c=n(51768),u=n(37005),l=n(26843),d=n(77975),m=n(45345),p=n(74607),h=n(80054);const f=["utm_source","utm_medium","utm_campaign"];function v(e){return function(e,t=!1){const n=(0,p.createUrlParams)(e);return n&&t?"?"+n:n}(function(e){const t={};return f.forEach(n=>{const r=e[n];"string"==typeof r&&""!==r&&(t[n]=(0,h.htmlEscape)(r))}),t}((0,p.getUrlParams)()),e)}n(67337);let w;function g(){const e="https://www.tradingview.com";return w?e+"?aff_id="+w+"&"+v(!1):e+v(!0)}var b=n(97754),y=n(74664),E=n(90692),x=n(76594),k=n(9481),C=n(67844),_=n(3767),O=n(81e3),D=n(56734);function M(e){const{children:t,onClose:n,width:a}=e,o=r.createElement(r.Fragment,null,r.createElement(k.KeyboardDocumentListener,{keyCode:27,handler:n}),r.createElement(C.CloseButton,{className:D.closeButton,"aria-label":s.t("Close",{context:"input"}),onClick:n}),t);return r.createElement(x.OutsideEvent,{mouseDown:!0,handler:n},e=>r.createElement(E.MatchMedia,{rule:`screen and (max-width: ${y.breakpoints.phone}px)`},t=>t?r.createElement(O.PopupDialog,{reference:e,isOpened:!0,fullscreen:!0,className:b(D.dialog,D.radius)},o):r.createElement(_.Modal,{reference:e,className:D.dialog,width:a,isOpened:!0},o)))}var N=n(5437),B=n(99804),L=n(16581);const S=/{\w+}/,P={features:{alerts:s.t("Stay on top of market moves! Alerts are immediate notifications when markets meet your custom criteria. Pick from visual popups, audio signals & email alerts."),pinescript:s.t("Create your own indicators and strategies! Pine Script™ is a flexible and efficient language for doing just that."),saveload:s.t("Save the analysis you do! Your custom settings, indicator setups and so on are saved onsite as individual charts for later access from anywhere."),customIntervals:s.t("Customize how you look at the markets! View charts in custom timeframes, such as 7 minutes, 12 minutes, or even 8 hours per bar."), +kagiRenko:s.t("Get a new look at the markets with advanced chart types! Use Kagi and Renko charts with intraday resolutions for a complete picture."),plusMenu:s.t("Stay on top of market moves. Set alerts and place orders in one click!"),indicators:s.t("Maximum number of indicators on TradingView widget is 3.")}};function z(e){const{onClose:t,featureDescription:n}=e,a=((0,d.useWatchedValueReadonly)({watchedValue:m.watchedTheme})||l.StdTheme.Light)===l.StdTheme.Light?B:L,o=s.t("This feature is available only on TradingView"),i=s.t("You can become PRO to use this and many other features with the full version of {link_start}TradingView{link_end}.").split(S),c=r.createElement("p",null,i[0],r.createElement("a",{href:""+g(),target:"_blank"},i[1]),i[2]);return(0,u.useFixedBody)(),r.createElement(M,{width:720,onClose:t},r.createElement("div",{className:D.container},r.createElement("img",{src:a,className:D.icon}),r.createElement("div",{className:D.title},o),r.createElement("div",{className:D.featureDescription},n),r.createElement("div",{className:D.description},c),r.createElement("div",{className:D.wrapperButton},r.createElement(N.RoundButton,{onClick:function(){window.open(g(),"_blank")},className:D.actionButton},s.t("Let’s go!")))))}function R(e){const t=(0,i.guid)(),n=(0,o.getRootOverlapManager)(),s=n.ensureWindow(t);let u="";void 0!==e&&e.feature&&(u=P.features[e.feature],(0,c.trackEvent)("Referral program enabled","feature "+e.feature));a.render(r.createElement(z,{featureDescription:u,onClose:()=>{a.unmountComponentAtNode(s),n.removeWindow(t)}}),s)}},39640:(e,t,n)=>{"use strict";function r(e,t,n,r,a){function s(a){if(e>a.timeStamp)return;const s=a.target;void 0!==n&&null!==t&&null!==s&&s.ownerDocument===r&&(t.contains(s)||n(a))}return a.click&&r.addEventListener("click",s,!1),a.mouseDown&&r.addEventListener("mousedown",s,!1),a.touchEnd&&r.addEventListener("touchend",s,!1),a.touchStart&&r.addEventListener("touchstart",s,!1),()=>{r.removeEventListener("click",s,!1),r.removeEventListener("mousedown",s,!1),r.removeEventListener("touchend",s,!1),r.removeEventListener("touchstart",s,!1)}}n.d(t,{addOutsideEventListener:()=>r})},74664:(e,t,n)=>{"use strict";n.d(t,{breakpoints:()=>r,mobileFirstBreakpoints:()=>a,mobileFirstLegacyBreakpoints:()=>s});const r={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019},a={base:0,"media-mf-phone-vertical":320,"media-mf-phone-landscape":568,"media-mf-tablet-vertical":768,"media-mf-tablet-landscape":1024,"media-mf-laptop":1280,"media-mf-desktop-medium":1440,"media-mf-desktop-large":1920,"media-mf-desktop-extra-large":2560},s={"media-mf-legacy-phone-vertical":330,"media-mf-legacy-phone":480,"media-mf-legacy-notebook":1020,"media-mf-legacy-desktop-medium":1480,"media-mf-legacy-desktop":1531}},67844:(e,t,n)=>{"use strict";n.d(t,{CloseButton:()=>r.CloseButton});var r=n(35582)},3767:(e,t,n)=>{"use strict";n.d(t,{Modal:()=>l});var r=n(59496),a=n(97754),s=n(98526),o=n(86431),i=n(76594),c=n(21935);class u extends r.PureComponent{constructor(){super(...arguments), +this._containerRef=null,this._handleContainerRef=e=>{this._containerRef=e}}componentDidMount(){var e;this.props.autofocus&&(null===(e=this._containerRef)||void 0===e||e.focus())}render(){const{zIndex:e,onClickOutside:t,children:n,className:o}=this.props;return r.createElement("div",{ref:this._handleContainerRef,style:{zIndex:e},"data-dialog-name":this.props["data-dialog-name"],tabIndex:-1},r.createElement("div",{className:c.backdrop}),r.createElement("div",{className:c.wrap},r.createElement("div",{className:c.container},r.createElement(i.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:t},e=>r.createElement("div",{className:c.modal,ref:e},r.createElement(s.Dialog,{...this.props,className:a(o,c.dialog)},n))))))}}u.defaultProps={width:500};const l=(0,o.makeOverlapable)(u)},37005:(e,t,n)=>{"use strict";n.d(t,{useFixedBody:()=>s});var r=n(59496),a=n(43989);function s(){(0,r.useEffect)(()=>((0,a.setFixedBodyState)(!0),()=>{(0,a.setFixedBodyState)(!1)}),[])}},58095:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var r=n(59496),a=n(39640);function s(e){const{click:t,mouseDown:n,touchEnd:s,touchStart:o,handler:i,reference:c,ownerDocument:u=document}=e,l=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)(()=>{const e={click:t,mouseDown:n,touchEnd:s,touchStart:o},r=c?c.current:l.current;return(0,a.addOutsideEventListener)(d.current,r,i,u,e)},[t,n,s,o,i]),c||l}},77975:(e,t,n)=>{"use strict";n.d(t,{useWatchedValueReadonly:()=>a});var r=n(59496);const a=(e,t=!1)=>{const n="watchedValue"in e?e.watchedValue:void 0,a="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[s,o]=(0,r.useState)(n?n.value():a);return(t?r.useLayoutEffect:r.useEffect)(()=>{if(n){o(n.value());const e=e=>o(e);return n.subscribe(e),()=>n.unsubscribe(e)}return()=>{}},[n]),s}},9481:(e,t,n)=>{"use strict";n.d(t,{KeyboardDocumentListener:()=>a});var r=n(59496);class a extends r.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>a});var r=n(59496);class a extends r.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)}}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>a}) +;var r=n(58095);function a(e){const{children:t,...n}=e;return t((0,r.useOutsideEvent)(n))}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>s});var r=n(59496),a=n(65718);function s(e){return class extends r.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const s=r.createElement(e,{...this.props,zIndex:150});return"parent"===n?s:r.createElement(a.Portal,null,s)}}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>c,PortalContext:()=>u});var r=n(59496),a=n(87995),s=n(9423),o=n(88216),i=n(50655);class c extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.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||"",a.createPortal(r.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,o.getRootOverlapManager)():this.context}}c.contextType=i.SlotContext;const u=r.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>a,SlotContext:()=>s});var r=n(59496);class a 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 s=r.createContext(null)},64120:e=>{e.exports=''},95781:e=>{e.exports=''},7801:e=>{e.exports=''},33584:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/gopro-dialog.10fd967147ea7ef9c57b.js b/charting_library/bundles/gopro-dialog.10fd967147ea7ef9c57b.js new file mode 100644 index 00000000..12c94550 --- /dev/null +++ b/charting_library/bundles/gopro-dialog.10fd967147ea7ef9c57b.js @@ -0,0 +1,33 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5246],{13597:(e,t,a)=>{e.exports=a.p+"1cab1bbf2efbf21183e3f253d0cdd698.svg"},30666:(e,t,a)=>{e.exports=a.p+"245f40c6e1d758167db8571398efaef2.svg"},94758:(e,t,a)=>{e.exports=a.p+"14f7aa04dc24cf83929c244ccad5273d.svg"},78806:(e,t,a)=>{e.exports=a.p+"7f429d95a310b5fadba4ee69da66b4eb.svg"},82310:(e,t,a)=>{e.exports=a.p+"98e91cfdd60e63d2da3aaac9c6680376.svg"},96082:(e,t,a)=>{e.exports=a.p+"add0043e9139708b7ec71b15a1cfdf4c.svg"},39111:(e,t,a)=>{e.exports=a.p+"8dafbfd19f6d49a5e3ee8e41edc3264c.svg"},53397:(e,t,a)=>{e.exports=a.p+"b66a640126ab548895d37446e81edb06.svg"},81591:(e,t,a)=>{e.exports=a.p+"516336a4fcc5f7b651673adeedd38b68.svg"},66661:(e,t,a)=>{e.exports=a.p+"6543950df881e52d4ca8007a6013f7d0.svg"},96775:(e,t,a)=>{e.exports=a.p+"d84b6cf7427c0922056517dad6f0d0bb.svg"},64626:(e,t,a)=>{e.exports=a.p+"f29883fbecb99912bbfeb0897f8b4edc.svg"},95889:(e,t,a)=>{e.exports=a.p+"c3e25206d17a8de5275c5c18c6377d52.svg"},8265:(e,t,a)=>{e.exports=a.p+"7b48652cf0047a3b3b7bad1b1741ad9f.svg"},94836:(e,t,a)=>{e.exports=a.p+"a6827773500226a7aa4fb09ce14ad72d.svg"},39449:(e,t,a)=>{e.exports=a.p+"833a14929e5d24379a09b7fab2f54002.svg"},13867:(e,t,a)=>{e.exports=a.p+"60df35582c6fbf690ee8aad4f66b528c.svg"},98143:(e,t,a)=>{e.exports=a.p+"aff9c5fc514db3e7e69d496ce27c6a19.svg"},57513:(e,t,a)=>{e.exports=a.p+"8dd2c8c165617fcccdc1a1e26990caba.svg"},36208:(e,t,a)=>{e.exports=a.p+"93748b7538eb622034881a9206d82dda.svg"},76385:(e,t,a)=>{e.exports=a.p+"9ca15e62dcca53e34d89a4e5dc98522c.svg"},4390:(e,t,a)=>{e.exports=a.p+"8bb689bddb6ff6d200d2aaaea2402f9f.svg"},16581:(e,t,a)=>{e.exports=a.p+"ee2bdfea45e5aca4518fe3ae1e115904.svg"},99804:(e,t,a)=>{e.exports=a.p+"4958ef32c0c1820de94cfe8a01f2f1cf.svg"},50362:(e,t,a)=>{e.exports=a.p+"ba436c3f80a5432a73402891d8ed04bf.svg"},97109:(e,t,a)=>{e.exports=a.p+"26b5353498b2ca25fcc597890e574005.svg"},89732:(e,t,a)=>{e.exports=a.p+"f3fb677a4f9680b6b5f45fc41b04688d.svg"},75934:(e,t,a)=>{e.exports=a.p+"8a2b9871f3bdcda5fc3c8633ef6eef01.svg"},41711:(e,t,a)=>{e.exports=a.p+"5c8483c70efc4d71c6bec8491e2ea918.svg"},41913:(e,t,a)=>{e.exports=a.p+"d83a6296db053e3ab36abfd851a88f66.svg"},18114:(e,t,a)=>{e.exports=a.p+"4bba9cb57057b411f436fdcb98ab3e32.svg"},50347:(e,t,a)=>{e.exports=a.p+"90751c9bb2971c193dfbff053292e624.svg"},95681:(e,t,a)=>{e.exports=a.p+"ed0ca2ab048260b30ad78d7b82749494.svg"},83345:(e,t,a)=>{e.exports=a.p+"b0d7e0e6fa1209b8a82a5566879e8439.svg"},24136:(e,t,a)=>{e.exports=a.p+"e16dc229d6775b39b80e8958d6095e05.svg"},27591:(e,t,a)=>{e.exports=a.p+"fbd9c87447564af33463832c85652af0.svg"},44921:(e,t,a)=>{e.exports=a.p+"df2e77a08c4fed3f6d7a5e653e4ca2b2.svg"},92008:(e,t,a)=>{e.exports=a.p+"c7c3797c2ad50f90c7c5e767a4822af2.svg"},80092:(e,t,a)=>{e.exports=a.p+"ee399eb1fa7a749581dc585db32b9db4.svg"},19861:(e,t,a)=>{e.exports=a.p+"1ca623399e6a505e1816c5f4169c60a3.svg"},24759:(e,t,a)=>{e.exports=a.p+"04ec25351d493cec3ade55e686f71c3b.svg"},70785:(e,t,a)=>{e.exports=a.p+"206725c980d03acbd1cc0e7f5ce69e40.svg"},7274:(e,t,a)=>{ +e.exports=a.p+"703f250335bd4e9b78c998de059612b2.svg"},7246:(e,t,a)=>{e.exports=a.p+"e5f4dc26e80c421603f8b42336412643.svg"},50214:(e,t,a)=>{e.exports=a.p+"7f2643ac80c1d0560f78aa22b6e8b501.svg"},3560:(e,t,a)=>{e.exports=a.p+"73dfc43daa272490acc92fd18d2efa97.svg"},75757:(e,t,a)=>{e.exports=a.p+"1d27ff98c6f9247fd9df181f3fba5d3e.svg"},32249:(e,t,a)=>{e.exports=a.p+"85f9662bfe09fc2b79d5d962fc3b6e1a.svg"},19882:(e,t,a)=>{e.exports=a.p+"67ffddaaa5ddf676068d1d3f2fb47029.svg"},89378:(e,t,a)=>{e.exports=a.p+"637fc842362a44cdfab2f5a1945f5ad8.svg"},9364:(e,t,a)=>{e.exports=a.p+"9179ddcfe12cfa621d2c0a261757a2fb.svg"},49637:(e,t,a)=>{e.exports=a.p+"553d50cd29b02ff10f3cb53302bece54.svg"},72272:(e,t,a)=>{e.exports=a.p+"5096c47e88bb219a61b3192d3f3ee85c.svg"},96309:(e,t,a)=>{e.exports=a.p+"b2011711183a64af88730986168af032.svg"},19200:(e,t,a)=>{e.exports=a.p+"ab7157b7c6ad79e8d21141a860febcfa.svg"},43806:(e,t,a)=>{e.exports=a.p+"756e573bd5155c508a91d07c586c3669.svg"},87162:(e,t,a)=>{e.exports=a.p+"e4bd61c262d0b67207545a967cb51d7f.svg"},47268:(e,t,a)=>{e.exports=a.p+"bbcdb3a466a748485f84b550145804dc.svg"},19836:(e,t,a)=>{e.exports=a.p+"2b993200d16755e7ff303ad0c32f4919.svg"},37479:(e,t,a)=>{e.exports=a.p+"fd3642416e066a41978041df1fce04c8.svg"},37636:(e,t,a)=>{e.exports=a.p+"c6c91cffc0948504960b9ffa03ec3eb8.svg"},66786:(e,t,a)=>{e.exports=a.p+"f6f3045f75b50af8eb75a84a81c1816f.svg"},80985:(e,t,a)=>{e.exports=a.p+"25b2c84d5406c64eefab940998518f5c.svg"},23965:(e,t,a)=>{e.exports=a.p+"dc280b6d3ed8a4c98e32fb60d6c17eca.svg"},86750:(e,t,a)=>{e.exports=a.p+"d19fbe51ce3d398848b6825d6618ad21.svg"},75027:(e,t,a)=>{e.exports=a.p+"7585c22521c2b4c30ed2c64d13bcb872.svg"},86209:(e,t,a)=>{e.exports=a.p+"1b4c2ab61dabdd769b277a4707937a9d.svg"},64115:(e,t,a)=>{e.exports=a.p+"9d4c66fc04fd990e8bfd29411fb33650.svg"},73480:(e,t,a)=>{e.exports=a.p+"af585e7389cfe3a827192dbe445b4935.svg"},81361:(e,t,a)=>{e.exports=a.p+"984b9115a6a09b9e5aa9d3a9bee31479.svg"},81012:(e,t,a)=>{e.exports=a.p+"0da4ec054e8a1847302dceafff367d5f.svg"},28328:(e,t,a)=>{e.exports=a.p+"9cd754df5f0f7f46944a9abd08f279f6.svg"},97848:e=>{e.exports={"round-button":"round-button-p9ma7wH8",content:"content-p9ma7wH8","color-brand":"color-brand-p9ma7wH8","variant-primary":"variant-primary-p9ma7wH8","disable-themes":"disable-themes-p9ma7wH8","variant-quiet-primary":"variant-quiet-primary-p9ma7wH8","variant-secondary":"variant-secondary-p9ma7wH8","variant-ghost":"variant-ghost-p9ma7wH8","color-gray":"color-gray-p9ma7wH8","color-red":"color-red-p9ma7wH8","size-xsmall":"size-xsmall-p9ma7wH8","icon-only":"icon-only-p9ma7wH8","size-small":"size-small-p9ma7wH8","size-medium":"size-medium-p9ma7wH8","size-large":"size-large-p9ma7wH8","size-xlarge":"size-xlarge-p9ma7wH8","size-xxlarge":"size-xxlarge-p9ma7wH8",animated:"animated-p9ma7wH8",stretch:"stretch-p9ma7wH8"}},16178:e=>{e.exports={"close-button":"close-button-WaM0Er9G","close-icon":"close-icon-WaM0Er9G","button-l":"button-l-WaM0Er9G","button-m":"button-m-WaM0Er9G","button-s":"button-s-WaM0Er9G","button-xs":"button-xs-WaM0Er9G", +"button-xxs":"button-xxs-WaM0Er9G"}},43458:e=>{e.exports={countdown:"countdown-7K6OansE","size-m":"size-m-7K6OansE",card:"card-7K6OansE","size-s":"size-s-7K6OansE","size-custom":"size-custom-7K6OansE",number:"number-7K6OansE",label:"label-7K6OansE",profile:"profile-7K6OansE","cyber-monday":"cyber-monday-7K6OansE","black-friday":"black-friday-7K6OansE"}},53561:e=>{e.exports={container:"container-7Eixwdg2","countdown-ended-text":"countdown-ended-text-7Eixwdg2"}},64051:e=>{e.exports={upgradeNotificationDescription:"upgradeNotificationDescription-N6e9zdP9",countDown:"countDown-N6e9zdP9"}},42360:e=>{e.exports={dialog:"dialog-78lAG3GO",radius:"radius-78lAG3GO",container:"container-78lAG3GO",closeButton:"closeButton-78lAG3GO",wrapperImage:"wrapperImage-78lAG3GO",title:"title-78lAG3GO",subtitle:"subtitle-78lAG3GO",description:"description-78lAG3GO",center:"center-78lAG3GO",left:"left-78lAG3GO",wrapperButton:"wrapperButton-78lAG3GO",actionButton:"actionButton-78lAG3GO"}},55367:e=>{e.exports={"upgrade-not-available":"upgrade-not-available-tlc6NtlG"}},21935:e=>{e.exports={wrap:"wrap-2oYqsh7S",container:"container-2oYqsh7S",backdrop:"backdrop-2oYqsh7S",modal:"modal-2oYqsh7S",dialog:"dialog-2oYqsh7S"}},57845:e=>{e.exports={container:"container-xBgZHjTk",wrap:"wrap-xBgZHjTk",digit:"digit-xBgZHjTk",animated:"animated-xBgZHjTk"}},38472:e=>{e.exports={price:"price-fplyypVB"}},5437:(e,t,a)=>{"use strict";a.d(t,{RoundAnchorButton:()=>m,RoundButton:()=>c});var n=a(97754);function o(e,t){const{className:a,color:o="brand",variant:r="primary",size:i="xlarge",stretch:s,animated:l=!1,disableThemes:u=!1,iconOnly:c=!1}=t;return n(a,e["round-button"],e["color-"+o],e["variant-"+r],e["size-"+i],l&&e.animated,s&&e.stretch,u&&e["disable-themes"],c&&e["icon-only"])}var r=a(59496),i=a(90186),s=a(97848),l=a.n(s);function u(e){const{className:t,color:a,variant:n,size:o,stretch:r,animated:s,disableThemes:l,...u}=e;return{...u,...(0,i.filterDataProps)(e),...(0,i.filterAriaProps)(e)}}function c(e){const{reference:t,children:a,...n}=e,i=o(l(),e);return r.createElement("button",{...u(n),className:i,ref:t},r.createElement("span",{className:l().content},a))}function d(e){const{className:t,color:a,variant:n,size:o,stretch:r,animated:s,disableThemes:l,Component:u,...c}=e;return{...c,...(0,i.filterDataProps)(e),...(0,i.filterAriaProps)(e)}}function m(e){const{reference:t,children:a,...n}=e,i=o(l(),e),s=e.Component||"a";return r.createElement(s,{...d(n),className:i,ref:t},r.createElement("span",{className:l().content},a))}},35582:(e,t,a)=>{"use strict";a.d(t,{CloseButton:()=>h});var n=a(59496),o=a(97754),r=a(9745),i=a(64120),s=a(12565),l=a(95781),u=a(7801),c=a(33584),d=a(16178),m=a.n(d);function p(e="l"){switch(e){case"l":return i;case"m":return s;case"s":return l;case"xs":return u;case"xxs":return c;default:return s}}const h=n.forwardRef((e,t)=>{const{className:a,size:i,...s}=e,l=o(m()["close-button"],m()["button-"+i],a);return n.createElement("button",{...s,type:"button",className:l,ref:t},n.createElement(r.Icon,{icon:p(i),className:m()["close-icon"], +"aria-hidden":!0}))})},9745:(e,t,a)=>{"use strict";a.d(t,{Icon:()=>o});var n=a(59496);const o=n.forwardRef((e,t)=>{const{icon:a="",...o}=e;return n.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:a}})})},90186:(e,t,a)=>{"use strict";function n(e){return r(e,i)}function o(e){return r(e,s)}function r(e,t){const a=Object.entries(e).filter(t),n={};for(const[e,t]of a)n[e]=t;return n}function i(e){const[t,a]=e;return 0===t.indexOf("data-")&&"string"==typeof a}function s(e){return 0===e[0].indexOf("aria-")}a.d(t,{filterDataProps:()=>n,filterAriaProps:()=>o,filterProps:()=>r,isDataAttribute:()=>i,isAriaAttribute:()=>s})},82760:(e,t,a)=>{"use strict";a.d(t,{Countdown:()=>b,CountdownTheme:()=>y});var n=a(59496),o=a(97754),r=a.n(o),i=a(93751),s=a(57845);class l extends n.PureComponent{constructor(e){super(e),this._rafIds=new Set,this.state={value:this.props.value}}componentDidUpdate(){const e=requestAnimationFrame(()=>{const t=requestAnimationFrame(()=>{this._rafIds.size>0&&this.setState({value:this.props.value}),this._rafIds.delete(t)});this._rafIds.delete(e),this._rafIds.add(t)});this._rafIds.add(e)}componentWillUnmount(){this._rafIds.size>0&&(this._rafIds.forEach(cancelAnimationFrame),this._rafIds.clear())}render(){const e={transform:`translateY(-${this.state.value}em)`};return n.createElement("div",{className:o(s.container,this.props.className),"aria-hidden":!0},n.createElement("div",{className:o(s.wrap,s.animated),style:e,key:this.props.value},n.createElement("span",{className:s.digit},0),n.createElement("span",{className:s.digit},1),n.createElement("span",{className:s.digit},2),n.createElement("span",{className:s.digit},3),n.createElement("span",{className:s.digit},4),n.createElement("span",{className:s.digit},5),n.createElement("span",{className:s.digit},6),n.createElement("span",{className:s.digit},7),n.createElement("span",{className:s.digit},8),n.createElement("span",{className:s.digit},9)))}}const u=(0,a(9423).randomHashN)(6);function c(e){return`digit-${e}-${u}`}function d(e,t=10){return Math.sign(e)<0?t+e%t:e%t}class m extends n.PureComponent{constructor(e){super(e),this._rafIds=new Set,this.state={value:this.props.value,shownSequence:[this.props.value]}}componentDidUpdate(){if(this.props.value===this.state.value)return;const e=requestAnimationFrame(()=>{const t=requestAnimationFrame(()=>{if(this._rafIds.size>0){const t=function(e,t,a){const n=[e];let o=e;for(;o!==t;)o=d(o+a),1===a?n.push(o):n.unshift(o);return n}(this.state.value,this.props.value,this.props.changeDirection);e=this.state.shownSequence,a=t,e.length===a.length&&e.every((e,t)=>e===a[t])?this.setState({value:this.props.value}):this.setState({shownSequence:t})}var e,a;this._rafIds.delete(t)});this._rafIds.delete(e),this._rafIds.add(t)});this._rafIds.add(e)}componentWillUnmount(){this._rafIds.size>0&&(this._rafIds.forEach(cancelAnimationFrame),this._rafIds.clear())}render(){const{value:e,className:t}=this.props,{value:a,shownSequence:r}=this.state,i=e===a,l={transform:`translateY(-${r.indexOf(a)}em)`};return n.createElement("div",{ +className:o(s.container,t),"aria-hidden":!0},n.createElement("div",{className:o(s.wrap,i&&s.animated),style:l},r.map(e=>this._renderElementaryDigit(e))))}_renderElementaryDigit(e){return n.createElement("span",{key:c(e),className:s.digit},e)}}var p=a(38472);function h(e){const{value:t,role:a,letterClassName:o,changeDirection:r}=e,s=t.split(""),u=s.map((e,t)=>{const a=s.length-t,u=parseInt(e);return(0,i.isInteger)(u)?void 0!==r?n.createElement(m,{value:u,changeDirection:r,className:o,key:a}):n.createElement(l,{value:u,className:o,key:a}):n.createElement("span",{className:o,key:a,"aria-hidden":!0},e)});return n.createElement("span",{className:p.price,"aria-label":t,role:a},u)}var f,g=a(28353);!function(e){e.Day="d",e.Hour="h",e.Min="m",e.Secs="s"}(f||(f={}));function v(e){const t=Date.now(),a=e>t?e-t:0,n=Math.floor(a/864e5),o=a-864e5*n,r=Math.floor(o/36e5),i=o-36e5*r,s=Math.floor(i/6e4),l=i-6e4*s,u=Math.floor(l/1e3);return[{value:n.toString(10).padStart(2,"0"),label:g.t("day",{plural:"days",count:n,context:"time"}),type:f.Day},{value:r.toString(10).padStart(2,"0"),label:g.t("hour",{plural:"hours",count:r,context:"time"}),type:f.Hour},{value:s.toString(10).padStart(2,"0"),label:g.t("min",{plural:"mins",count:s,context:"time"}),type:f.Min},{value:u.toString(10).padStart(2,"0"),label:g.t("secs",{context:"time"}),type:f.Secs}]}var y,P=a(43458);!function(e){e.Default="",e.Profile="profile",e.BlackFriday="black-friday",e.CyberMonday="cyber-monday"}(y||(y={}));const w=n.memo(e=>{const{mainText:t,secondaryText:a,type:o}=e;return n.createElement("div",{className:r()(P.card,P["type-"+o]),role:"presentation"},n.createElement("span",{className:P.number,"aria-hidden":!0},n.createElement(h,{value:t,changeDirection:-1})),n.createElement("span",{className:P.label,"aria-hidden":!0},a))});function b(e){const{size:t="custom",theme:a}=e,o=function(e){const[t,a]=(0,n.useState)(v(e));return(0,n.useEffect)(()=>{const t=setTimeout(()=>a(v(e)),1e3);return()=>{clearTimeout(t)}}),t}(e.countToTimestamp),i=o.map(({value:e,label:t,type:a})=>a!==f.Secs?e+" "+t:"").join(" "),s=o.map(({value:e,type:t})=>e+t).join(" ");return n.createElement("time",{className:r()(P.countdown,P[a],P["size-"+t],e.className),"aria-label":i,dateTime:s,role:"text"},o.map(({value:e,label:t,type:a},o)=>n.createElement(w,{mainText:e,secondaryText:t,key:""+a,type:a})))}},53746:(e,t,a)=>{"use strict";a.d(t,{GoproOfferCountdown:()=>l,OfferCountdown:()=>u});var n=a(59496),o=a(28353),r=a(93299),i=a(82760),s=a(53561);function l(e){const{userAuthenticated:t,availableOffers:a}=e;if(!t)return n.createElement(n.Fragment,null);let o;const i=a[r.OFFERS.early_access];i&&(o=i.expire_on);const l=a[r.OFFERS.six_months];l&&(o=l.expire_on);const c=a[r.OFFERS.last_chance];c&&(o=c.expire_on);const d=a[r.OFFERS.one_usd];return d&&(o=d.expire_on),o?n.createElement("div",{className:s.container},n.createElement(u,{expiration:o,size:"m"})):n.createElement(n.Fragment,null)}function u(e){const{expiration:t=NaN,theme:a=i.CountdownTheme.Default,size:r,className:l}=e,u=1e3*t +;return!Number.isNaN(u)&&u>Date.now()?n.createElement(i.Countdown,{theme:a,countToTimestamp:u,size:r,className:l}):n.createElement("strong",{className:s["countdown-ended-text"]},o.t("This offer expires soon"))}},38335:(e,t,a)=>{"use strict";a.d(t,{getEarlyAccessDiscount:()=>l,getVisitEarlyAccessPaymentPageProperties:()=>u,visitEarlyAccessPaymentPage:()=>c,fill:()=>d});var n=a(78540),o=a(46198),r=a(53402),i=a(23578),s=a(93299);function l(){return window.user&&window.user.available_offers&&window.user.available_offers.early_access?window.user.available_offers.early_access.max_discount:null}function u(e,t,a={}){return e=e||o.ProPlans.ProRealtime,(t=t||l())&&(e="{0}_{1}{2}".format(e,t,r.EA_SUFFIX)),{billingCycle:n.BillingCycle.OneYear,options:{fixedCycle:!1,paymentMethod:a.paymentMethod,productName:e}}}function c(e,t,a={}){const{billingCycle:n,options:o}=u(e,t,a);(0,i.visitPaymentPage)(n,o)}function d(e){var t;const n=document.querySelector(".js-early-access-area"),o=l(),r=window.user.available_offers?null===(t=window.user.available_offers[s.OFFERS.early_access])||void 0===t?void 0:t.expire_on:void 0;n&&o&&r&&async function(e,t){(await Promise.all([a.e(8756),a.e(1854)]).then(a.bind(a,35301))).renderEarlyBirdBanner(e,t)}(n,{discount:o,onButtonClick:e,expiration:r}).then(()=>{n.classList.remove("js-hidden")})}},93573:(e,t,a)=>{"use strict";a.d(t,{getCountries:()=>r});var n=a(85198);let o=null;async function r(){var e;if(null!==o)return o;const t=await(0,n.fetch)("/accounts/countries/",{credentials:"include"});if(!t.ok){const e=await t.json();throw Error(String(e))}const a=await t.json();return o={...a,current_country_code:null!==(e=a.current_country_code)&&void 0!==e?e:"US"},o}},82531:(e,t,a)=>{"use strict";function n(){return 30}a.d(t,{getTrialLength:()=>n})},87887:(e,t,a)=>{"use strict";var n=a(23127),o=a(28353).t,r=a(11417).TVLocalStorage,i=a(90732).trialMessageSuccessDialog,s=a(46901).startFreeTrialDialog,l=a(98020).getEarlyBirdDialogDay,u=a(1237).showEarlyBirdDialog,c=a(24846).showSixMonthsDialog,d=a(92098).blackFridayDialog,m=a(74607).getUrlParams,p=a(23578).visitPaymentPage,h=a(51768).trackEvent,f=a(53402),g=a(38335).fill,v=a(118).fill,y=a(118).getLastChanceFeatureKey,P=a(48026).fill,w=a(6775).fill,b=a(38335).visitEarlyAccessPaymentPage,_=a(38335).getEarlyAccessDiscount,S=a(56840),E=a(93299).OFFERS,T=a(85787).TrialTokenStates;const{qaGlobals:x}=a(51872);var k=a(85198).fetch,C=a(46198).ProPlans,R=a(78540).BillingCycle,D=a(91955).getTracker,F=a(49483).onGoPro,A=a(49483).onOrder,O=a(12620).createGoProDialog,I=a(96783).PredefinedAction,L=a(17136).check;function N(){this._inited=!1}var U=new N;N.prototype.init=function(){if(!this._inited)return this._inited=!0,H(),!0} +;var M=o("Now you have even more tools and features to make your trading successful."),B=o("Your trial was successfully downgraded. You can always upgrade again to a more powerful plan before it runs out."),z=o("The amount charged at the end of the trial (if you don’t cancel) also reflects the new plan."),G="

    "+M+"

    "+z+"

    ",W="

    "+B+"

    "+z+"

    ",H=function(){function e(e){h("ProRT trial",e)}function t(e,t){return function(e){var t=n.Deferred();e=e||{};var r=new FormData;return r.append("product_id",e.product_id),k("/trial/change/",{method:"POST",credentials:"include",headers:new Headers({acccept:"application/json","X-Requested-With":"XMLHttpRequest"}),body:r}).then((function(e){return e.json()})).then((function(n){!function(e,t){if(!e.code)return!1;var n,r=f.humanizeProPlan(t.product_id),i="",s=o("{proPlanName} Trial").format({proPlanName:r}),l=o("Sorry, {proPlanName} trial could not be set.").format({proPlanName:r}),u=o("Close",{context:"input"});switch(e.code){case"user_has_product":i=x(o("You already have {proPlanName} trial.").format({proPlanName:r}),l);break;case"trial_failed":i=x(o("You are already PRO. {proPlanName} trial cannot be activated on PRO accounts.").format({proPlanName:r}),l);break;case"unable_find_order":case"unable_change_trial":case"unable_update_subscription":i=x(o("We were unable to change your subscription plan to {proPlanName}. Please try again.").format({proPlanName:r}),o("Something went wrong."));break;case"user_not_on_trial":i=x(o("Wrong product for trial"),l);break;case"trial_not_available":s=o("Trial is not available",{context:"prohibited_trial"}),i=x(o("A trial could not be applied to this account. You can purchase a plan to take advantage of extra features.")),u=o("Pay now",{context:"prohibited_trial"}),n=function(){p(R.OneYear,{paymentMethod:"paypal",productName:t.product_id})}}return Promise.all([a.e(509),a.e(3118),a.e(1729),a.e(6708),a.e(1536),a.e(7678),a.e(9201)]).then(a.bind(a,25258)).then(({warningDialog:e})=>{const t=e({title:s,content:i,closeButtonText:u}).open();n&&t.on("action:no",n)}),!0}(n,e)?t.resolve():t.reject()})),t.promise()}({product_id:e}).done((function(){i({title:o("Congrats! Your new trial is setup"),content:t||G}).then((function(e){e.on("afterClose",(function(){TradingView.onChartPage||location.reload()}))}))}))}function x(e,t){return t&&(t="

    "+t+"

    "),"
    "+(t||"")+(e?"

    "+e+"

    ":"")+"
    "}function N(e){q()&&(e=e||{},is_authenticated&&L().then(t=>{t?Promise.resolve().then(a.bind(a,78820)).then(({showRestrictedCountryNotificationDialog:e})=>{e()}):function(e){var t={startTrial:(e=e||{}).product_id,billingCycle:e.billing_cycle,proContext:e.proContext};window.TVDialogs&&window.TVDialogs.signModal?window.TVDialogs.signModal.on("afterClose",(function(){s(t)})):s(t)}(e)}))}function M(t){var a=function(){var a=(t=t||{}).discount=t.discount||_();if(user.is_trial&&a&&!A()&&!F()){var n=user.available_offers[E.early_access],o=t.trialDaysPassed||void 0!==n&&n.trial_days_passed,r=function(e,t){ +return"early_bird_dialog_"+l(e,t)}(t.state,o),i={state:t.state,trialDaysPassed:o,discount:a,maxDiscount:n.max_discount,actionHref:"/gopro/?source=early_bird_dialog&feature=show_options",onActionClick:function(){H(r,"accept",window.user.id),runOrSignIn((function(){B("popup with discount: {0}%".format(a))}),{source:"Early access trial dialog"})},onClose:function(){H(r,"decline",window.user.id),t.onDecline?t.onDecline():function(t){e("Offer declined with discount: {0}%".format(t)),z()}(a)},root:document.createElement("div")};u(i),H(r,"open",window.user.id),e(t.ga_shown_msg||"Early access dialog shown with {0}% discount".format(a))}};"undefined"!=typeof pro?pro.runOrUpdate(a):a()}function B(t){z(),e("GoPro after trial: {0}".format(t))}function z(){n.get("/accounts/update-trial-marker/"),window.user&&user.available_offers&&user.available_offers[E.early_access]&&delete user.available_offers[E.early_access].offer_state}function H(e,t,a){D().then((function(n){null!==n&&n.trackPermissionDialog(e,t,(a||"").toString())}))}function V(){is_authenticated&&user.is_trial&&TradingView.setTrialAvailiable(!1),function(){if(window.is_authenticated&&window.user&&window.user.available_offers&&window.user.available_offers[E.early_access]){var e=_();g((function(){B("from billing page with discount: {0}%".format(e))}));var t=window.user.available_offers[E.early_access];if(t.actual_state){switch(t.offer_state){case T.Week1:case T.Week2:case T.Week3:case T.Week4:case T.Finished:M({state:t.offer_state})}delete t.offer_state}}}(),function(){var e=user.available_offers&&user.available_offers[E.six_months];if(!is_authenticated||!e)return;const t=parseInt(e.expire_on,10),a="six_months.week_shown_popup."+t,n="six_months.last_day_shown_popup."+t;if(w(),!A()&&!F()){if(!S.getValue(n)){var r=new Date(1e3*(t-86400));if(new Date>r)return c({actionHref:"/gopro/?source=six_months_last_day_popup&feature=show_options",onActionClick:function(){H("six_months_dialog_last_day","accept",window.user.id)},onClose:function(){H("six_months_dialog_last_day","decline",window.user.id)},root:document.createElement("div")}),S.setValue(n,1,{forceFlush:!0}),void H("six_months_dialog_last_day","open",window.user.id)}if(!S.getValue(a)){r=new Date(1e3*(t-1987200));new Date>r&&(O({feature:"SixMonths",actions:[{text:o("Explore offer"),action:I.OpenGopro},{text:o("Decline offer"),action:I.Close,variant:"ghost",color:"red"}],closeButton:!1,closeOnEsc:!1,goproSource:"six_months_first_week_popup"}),S.setValue(a,1,{forceFlush:!0}))}}}(),function(){var e=user.available_offers&&user.available_offers[E.upgrade];if(is_authenticated&&e&&e.last_payment_date){if(!m().upgrade_popup){if(S.getValue("upgrade.shown_popup"))return;var t=new Date(1e3*e.last_payment_date);const a=Math.abs(new Date-t);if(Math.ceil(a/864e5)<30)return}O({feature:"upgradeNotification",actions:[{text:o("Show my options"),action:I.OpenGopro},{text:o("Don't need"),action:I.Close,variant:"ghost",color:"red"}],closeButton:!1,closeOnEsc:!1,goproSource:"upgrade_info_popup"}),S.setValue("upgrade.shown_popup",1,{forceFlush:!0})} +}(),function(){if(!F()&&!A()){var e=user.available_offers&&user.available_offers[E.last_chance];if(is_authenticated&&e){var t=y();if(t){v();var a=t+".shown_popup";S.getValue(a)||(O({feature:t,actions:[{text:o("Explore special offers"),action:I.OpenGopro},{text:o("Decline offer"),action:I.Close,variant:"ghost",color:"red"}],closeButton:!1,closeOnEsc:!1,goproSource:"last_chance_info_popup"}),S.setValue(a,1,{forceFlush:!0}))}}}}(),function(){var e=user.available_offers&&user.available_offers[E.one_usd];if(!F()&&!A()&&is_authenticated&&e){P();var t=new Date(1e3*e.expire_on),a="oneUsd.shown_popup_"+t.getFullYear()+"_"+t.getMonth();S.getValue(a)||(O({feature:"oneUsd",actions:[{text:o("Upgrade Now"),action:I.OpenGopro},{text:o("Decline offer"),action:I.Close,variant:"ghost",color:"red"}],closeButton:!1,closeOnEsc:!1,goproSource:"one_usd_info_popup"}),S.setValue(a,1,{forceFlush:!0}))}}();const e=user.available_offers[E.black_friday]||{},t=user.available_offers[E.cyber_monday]||{};(e.show_popup||t.show_popup)&&d(user.available_offers)}var Y=!1;function q(){var e=r.getItem("trial_availiable");return null!=e&&1==+e}return U.startTrial=function(e){var t={product_id:C.ProRealtime,billing_cycle:R.Monthly};Object.assign(t,e||{}),runOrSignIn(N.bind(this,t),{mode:"signup",source:"before_start_trial",verifiedPhoneRequired:!0,doNotCheckSocialActivity:!0,doNotShowConfirmation:!0,startTrial:!0,paidAccountCheck:!0})},U.earlyAccessDialog=M,U.changeTrial=t,U.upgradeTrial=function(e){return t(e,G)},U.downgradeTrial=function(e){return t(e,W)},U.isTrialAvailable=q,U.openEarlyAccessPaymentPage=function(t){var a;b((t=t||{}).product_id,t.discount,{paymentMethod:t.paymentMethod}),a=t.reason,z(),e("Order after trial: {0}".format(a))},function(){if(Y)return!1;Y=!0;var e=function(){var e=n(document.documentElement);window.is_authenticated&&q()?e.addClass("is-trial-available").removeClass("is-not-trial-available"):e.addClass("is-not-trial-available").removeClass("is-trial-available")};loginStateChange.subscribe(null,(function(t){t||e()})),e(),n(V)}}();e.exports=U},118:(e,t,a)=>{"use strict";a.d(t,{getLastChanceFeatureKey:()=>r,fill:()=>i});var n=a(93299);function o(){var e,t;return null===(t=null===(e=window.user.available_offers)||void 0===e?void 0:e[n.OFFERS.last_chance])||void 0===t?void 0:t.expire_on}function r(){const e=o();if(!e)return;const t=t=>new Date(1e3*(e-24*t*60*60));let a=n.LastChanceType.TwoWeeks;const r=new Date;if(r>=new Date(1e3*e))return;const i=t(2),s=t(1);return r>i&&(a=n.LastChanceType.TwoDays),r>s&&(a=n.LastChanceType.Hours),a}function i(){const e=document.querySelector(".js-last-chance-area"),t=o(),i=null===(l=null===(s=window.user.available_offers)||void 0===s?void 0:s[n.OFFERS.last_chance])||void 0===l?void 0:l.max_discount;var s,l;e&&t&&i&&async function(e,t){(await Promise.all([a.e(8756),a.e(1611)]).then(a.bind(a,66359))).renderLastChanceBanner(e,t)}(e,{expiration:t,maxDiscount:i,lastChanceType:r()}).then(()=>{e.classList.remove("js-hidden")})}},93299:(e,t,a)=>{"use strict";a.d(t,{OFFERS:()=>n,OfferKind:()=>o, +LastChanceType:()=>r});const n={trial:"trial",early_access:"early_access",black_friday:"black_friday",cyber_monday:"cyber_monday",custom_discount:"custom_discount",longer_cycle:"longer_cycle",upgrade:"upgrade",last_chance:"last_chance",one_usd:"one_usd",six_months:"six_months"},o={early_access:"early_access",black_friday:"black_friday",last_chance:"last_chance",one_usd:"1 usd offer",six_months:"six_months",custom_discount:"custom_discount"};var r;!function(e){e.TwoWeeks="LastChance_2w",e.TwoDays="LastChance_2d",e.Hours="LastChance_24h"}(r||(r={}))},48026:(e,t,a)=>{"use strict";a.d(t,{fill:()=>o});var n=a(93299);function o(){var e;const t=document.querySelector(".js-one-usd-area"),o=window.user.available_offers?null===(e=window.user.available_offers[n.OFFERS.one_usd])||void 0===e?void 0:e.expire_on:void 0;t&&async function(e,t){(await Promise.all([a.e(8756),a.e(7550)]).then(a.bind(a,11042))).renderOneUsdBanner(e,t)}(t,{expiration:o}).then(()=>{t.classList.remove("js-hidden")})}},6775:(e,t,a)=>{"use strict";a.d(t,{fill:()=>o});var n=a(93299);function o(){var e,t;const o=document.querySelector(".js-six-months-area"),r=null===(t=null===(e=window.user.available_offers)||void 0===e?void 0:e[n.OFFERS.six_months])||void 0===t?void 0:t.expire_on;o&&r&&async function(e,t){(await Promise.all([a.e(8756),a.e(850)]).then(a.bind(a,95197))).renderBanner(e,t)}(o,{expiration:r}).then(()=>{o.classList.remove("js-hidden")})}},85787:(e,t,a)=>{"use strict";var n;a.d(t,{TrialTokenStates:()=>n}),function(e){e.Started="started",e.Week1="after 1 week",e.Week2="after 2 weeks",e.Week3="after 3 weeks",e.Week4="after 4 weeks",e.Finished="finished"}(n||(n={}))},92098:(e,t,a)=>{"use strict";a.d(t,{blackFridayDialog:()=>s});var n=a(56840),o=a(93299),r=a(84015);async function i(e){const{showBlackFridayDialog:t}=await Promise.all([a.e(8463),a.e(509),a.e(3118),a.e(1729),a.e(6708),a.e(5911),a.e(1536),a.e(7678),a.e(7713)]).then(a.bind(a,15784));t().on("afterClose",()=>{n.setValue(e+".shown_popup_2021",!0,{forceFlush:!0})})}function s(e){const t=o.OFFERS.cyber_monday in e?o.OFFERS.cyber_monday:o.OFFERS.black_friday,a=window.location.pathname.split("/")[1];if((0,r.isOnMobileAppPage)("any"))return Promise.resolve();if("gopro"===a)return i(t);if(n.getBool(t+".shown_popup_2021"))return Promise.resolve();const s=e[o.OFFERS.cyber_monday];return s&&(1e3*s.date_end-Date.now())/864e5>1||["","black-friday","order","paypal","accounts","account-recovery"].includes(a)?Promise.resolve():i(t)}},1237:(e,t,a)=>{"use strict";async function n(e){(await Promise.all([a.e(957),a.e(8435)]).then(a.bind(a,38409))).renderEarlyBirdDialog(e)}a.d(t,{showEarlyBirdDialog:()=>n})},98020:(e,t,a)=>{"use strict";a.d(t,{getEarlyBirdDialogDay:()=>o});var n=a(85787);function o(e,t){switch(e){case n.TrialTokenStates.Week1:return"7";case n.TrialTokenStates.Week2:return"14";case n.TrialTokenStates.Week3:return"21";case n.TrialTokenStates.Week4:case n.TrialTokenStates.Finished:return 28===t?"28":"30";default:return null}}},46901:(e,t,a)=>{"use strict";a.d(t,{startFreeTrialDialog:()=>r}) +;var n=a(76266),o=a(52953);function r(e){return(0,n.isFeatureEnabled)("braintree-trial-in-order-dialog")?(0,o.showPaymentOrderDialog)({productId:e.startTrial,billingCycle:e.billingCycle,isTrial:!0}):(0,n.isFeatureEnabled)("braintree-trial-implementation")?Promise.all([a.e(5514),a.e(8463),a.e(2e3),a.e(9289),a.e(6363),a.e(7427),a.e(3713),a.e(3848),a.e(7552),a.e(1692),a.e(6750),a.e(9410),a.e(2525),a.e(1726),a.e(1424),a.e(2624),a.e(1201),a.e(2947),a.e(8178),a.e(3738),a.e(1946),a.e(8132)]).then(a.bind(a,79290)).then(t=>{(0,t.showStartFreeTrialDialog)(e)}):Promise.all([a.e(2e3),a.e(9289),a.e(6363),a.e(509),a.e(1729),a.e(3713),a.e(3848),a.e(1692),a.e(6708),a.e(9410),a.e(5708),a.e(2525),a.e(9593),a.e(1424),a.e(4497),a.e(2947),a.e(7678),a.e(3738),a.e(6055),a.e(9144)]).then(a.bind(a,28170)).then(t=>{(0,t.showStartFreeTrialDialog)(e)})}},95227:(e,t,a)=>{"use strict";async function n(e){(await Promise.all([a.e(5514),a.e(9129),a.e(2888),a.e(4956),a.e(8844),a.e(9961),a.e(5380),a.e(1065),a.e(1e3),a.e(6066)]).then(a.bind(a,70148))).renderGoToTradingViewReferralDialog(e)}a.d(t,{showGoToTradingViewReferralDialog:()=>n})},61494:(e,t,a)=>{"use strict";a.r(t),a.d(t,{renderGoproDialog:()=>et});var n=a(59496),o=a(87995),r=a(67337),i=a(88216),s=a(9423),l=a(95695),u=a(87463);var c=a(51768),d=a(76266),m=a(84015),p=a(95227),h=a(96783),f=a(28353),g=(a(94419),a(26843)),v=a(33550),y=a(62867),P=a(53746),w=a(82760),b=a(53402),_=a(46198);function S(e){return window.pro?e===_.ProPlans.Free?-1:window.pro.getProduct((0,b.getProductForTrial)(e)).upgrade_weight:0}function E(e){return function(e){return e.sort((e,t)=>S(e)-S(t))}(function(e){return Object.values(_.ProPlans).filter(t=>{const a=(0,v.getConfig)(e,(0,b.getProductForTrial)(t));return a&&!((0,b.isTrialProduct)(t)&&a[y.ProductFeatures.DISABLE_ON_TRIAL])})}(e).filter(e=>!(0,b.isTrialProduct)(e)))[0]||null}var T=a(93299),x=a(30666),k=a(13597),C=a(37479),R=a(19836),D=a(43806),F=a(19200),A=a(53397),O=a(39111),I=a(39449),L=a(94836),N=a(32249),U=a(75757),M=a(19861),B=a(80092),z=a(92008),G=a(44921),W=a(83345),H=a(95681),V=a(36208),Y=a(57513),q=a(4390),j=a(76385),K=a(78806),X=a(94758),$=a(66661),Z=a(81591),Q=a(96082),J=a(82310),ee=a(41913),te=a(41711),ae=a(23965),ne=a(80985),oe=a(98143),re=a(13867),ie=a(89378),se=a(19882),le=a(96309),ue=a(72272),ce=a(49637),de=a(9364),me=a(75934),pe=a(89732),he=a(50347),fe=a(18114),ge=a(66786),ve=a(37636),ye=a(97109),Pe=a(50362),we=a(3560),be=a(50214),_e=a(64115),Se=a(86209),Ee=a(64626),Te=a(96775),xe=a(75027),ke=a(86750),Ce=a(47268),Re=a(87162),De=a(7246),Fe=a(7274),Ae=a(81361),Oe=a(73480),Ie=a(27591),Le=a(24136),Ne=a(70785),Ue=a(24759),Me=a(28328),Be=a(81012),ze=a(8265),Ge=a(95889),We=a(64051);const He=/{\w+}/,Ve=(0,f.t)("If you switch trials to a different plan, the amount charged at the end of the trial (if you don't cancel) will change according to the new plan."),Ye=(0, +f.t)("Renko, Kagi, Line Break and Point & Figure charts are powerful tools because they reduce random noise and help you see trends clearer. Get intraday intervals on these charts only on our {bold_start}Pro+{bold_end} and {bold_start}Premium{bold_end} plans."),qe=(0,f.t)("Find a better perspective with intraday spreads. From price inversions to currency conversions and more, see the markets in a whole new light using our intraday charts based on custom formulas (spreads), only on our {bold_start}Pro+{bold_end} and {bold_start}Premium{bold_end} plans. You'll now be switched to a Daily interval."),je={image:{[g.StdTheme.Light]:V,[g.StdTheme.Dark]:Y},title:(0,f.t)("Sort your symbols better with more watchlists"),content:n.createElement("p",null,(0,f.t)("Monitor even more watchlists, plus import/export functionality with one of our upgraded plans — perfect for those who like to keep their opportunities organized."))},Ke={kagiRenko:()=>{const e=Ye.split(He);return{imageUrl:{[g.StdTheme.Light]:W,[g.StdTheme.Dark]:H},title:(0,f.t)("Filter out the noise with Japanese charts"),content:n.createElement(n.Fragment,null,n.createElement("p",null,e[0],n.createElement("strong",null,e[1]),e[2],n.createElement("strong",null,e[3]),e[4]))}},intradaySpread:()=>{const e=qe.split(He);return{imageUrl:{[g.StdTheme.Light]:he,[g.StdTheme.Dark]:fe},title:(0,f.t)("Find a better perspective with intraday spreads"),content:n.createElement(n.Fragment,null,n.createElement("p",null,e[0],n.createElement("strong",null,e[1]),e[2],n.createElement("strong",null,e[3]),e[4]))}},customIntervals:()=>({imageUrl:{[g.StdTheme.Light]:oe,[g.StdTheme.Dark]:re},title:(0,f.t)("See what others don't with custom intervals"),content:(0,f.t)("If you're doing analysis the same way as everyone else, how will you find your edge? With custom intervals spot the patterns most traders don't see — available only on our upgraded plans.")}),secondsIntervals:()=>{const e=(0,f.t)("Trade fast and with utmost granularity using Seconds intervals, only available on our {plan} plan. For advanced traders looking to find their edge.").split(/{plan}/);return{imageUrl:{[g.StdTheme.Light]:D,[g.StdTheme.Dark]:F},title:(0,f.t)("See the markets second by second"),content:n.createElement(n.Fragment,null,e[0],n.createElement("strong",null,(0,b.humanizeProPlan)(_.ProPlans.ProPremium)),e[1])}},multipleCharts:e=>{var t,a,n,o,r,i,s,l,u,c,d,m,p;const h=e.state,P=(0,f.t)("Your {plan} plan has a {number} chart per tab limit. But our upgraded plans let you see up to 8 linked charts — perfectly synced — all in the same window.",{plural:"Your {plan} plan has {number} charts per tab limit. But our upgraded plans let you see up to 8 linked charts — perfectly synced — all in the same window.",count:null===(t=(0,v.getConfig)(y.ProductFeatures.MULTIPLE_CHARTS))||void 0===t?void 0:t.limit});let w;switch(h){case _.ProPlans.Pro:w=P.format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro),number:(null===(n=null===(a=(0, +v.getConfig)(y.ProductFeatures.MULTIPLE_CHARTS))||void 0===a?void 0:a.limit)||void 0===n?void 0:n.toString())||""});break;case _.ProPlans.ProRealtime:w=P.format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),number:(null===(r=null===(o=(0,v.getConfig)(y.ProductFeatures.MULTIPLE_CHARTS))||void 0===o?void 0:o.limit)||void 0===r?void 0:r.toString())||""});break;case _.ProPlans.Pro+b.TRIAL_SUFFIX:w=P.format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro),number:(null===(s=null===(i=(0,v.getConfig)(y.ProductFeatures.MULTIPLE_CHARTS))||void 0===i?void 0:i.limit)||void 0===s?void 0:s.toString())||""});break;case _.ProPlans.ProRealtime+b.TRIAL_SUFFIX:w=P.format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),number:(null===(u=null===(l=(0,v.getConfig)(y.ProductFeatures.MULTIPLE_CHARTS))||void 0===l?void 0:l.limit)||void 0===u?void 0:u.toString())||""});break;case _.ProPlans.ProMiniAlerts:case _.ProPlans.ProMiniAds:case _.ProPlans.ProEdu:w=P.format({plan:"",number:(null===(d=null===(c=(0,v.getConfig)(y.ProductFeatures.MULTIPLE_CHARTS))||void 0===c?void 0:c.limit)||void 0===d?void 0:d.toString())||""});break;default:w=P.format({plan:"",number:(null===(p=null===(m=(0,v.getConfig)(y.ProductFeatures.MULTIPLE_CHARTS))||void 0===m?void 0:m.limit)||void 0===p?void 0:p.toString())||""})}return{imageUrl:{[g.StdTheme.Light]:z,[g.StdTheme.Dark]:G},title:(0,f.t)("You're going to need a bigger monitor"),content:w}},flaggedSymbols:()=>({imageUrl:{[g.StdTheme.Light]:ee,[g.StdTheme.Dark]:te},title:(0,f.t)("Multicolor flagged symbols"),content:(0,f.t)("Flag marks are useful for noting points of significance on your watchlists, screeners and charts. Customize your planning with multicolored flags, only on our upgraded plans.")}),useBarMagnifier:()=>({imageUrl:{[g.StdTheme.Light]:V,[g.StdTheme.Dark]:Y},title:(0,f.t)("Get more precise entries and exits"),content:(0,f.t)("Upgrade to our Premium plan for access to the Bar Magnifier. It uses more details on intrabar movement to provide entry and exit levels that better reflect actual market movements.")}),studyTemplates:e=>({imageUrl:{[g.StdTheme.Light]:ae,[g.StdTheme.Dark]:ne},title:(0,f.t)("Save your indicators with more templates"),content:(0,f.t)("Flip between unlimited customized sets of saved indicators without having to individually toggle them on and off each time, only available on upgraded plans.")}),alerts:e=>{var t,a,n,o,r,i,s,l,u,c,d,m,p;const h=e.state;let P;const w=(0,f.t)("Stay on top of market activity, even away from your desk, with up to 400 instant and backed-up alerts — only on our upgraded plans. Right now, your {plan} plan has a {number} alert limit.",{plural:"Stay on top of market activity, even away from your desk, with up to 400 instant and backed-up alerts — only on our upgraded plans. Right now, your {plan} plan has {number} alerts limit.",count:null===(t=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===t?void 0:t.limit}),S=(0, +f.t)("Looks like you've reached the limit of {number} alert. The only way to add more alerts is to stop some of your existing ones.",{plural:"Looks like you've reached the limit of {number} alerts. The only way to add more alerts is to stop some of your existing ones.",count:null===(a=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===a?void 0:a.limit});switch(h){case _.ProPlans.Pro:case _.ProPlans.Pro+b.TRIAL_SUFFIX:P=w.format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro),number:(null===(o=null===(n=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===n?void 0:n.limit)||void 0===o?void 0:o.toString())||""});break;case _.ProPlans.ProRealtime:case _.ProPlans.ProRealtime+b.TRIAL_SUFFIX:P=w.format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),number:(null===(i=null===(r=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===r?void 0:r.limit)||void 0===i?void 0:i.toString())||""});break;case _.ProPlans.ProPremium:P=S.format({number:(null===(l=null===(s=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===s?void 0:s.limit)||void 0===l?void 0:l.toString())||""});break;case _.ProPlans.ProPremium+b.TRIAL_SUFFIX:P=S.format({number:(null===(c=null===(u=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===u?void 0:u.limit)||void 0===c?void 0:c.toString())||""});break;default:P=(0,f.t)("Stay on top of market activity, even away from your desk, with up to 400 instant and backed-up alerts — only on our upgraded plans. Right now, your plan has a {number} alert limit.",{plural:"Stay on top of market activity, even away from your desk, with up to 400 instant and backed-up alerts — only on our upgraded plans. Right now, your plan has {number} alerts limit.",count:null===(d=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===d?void 0:d.limit}).format({number:(null===(p=null===(m=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===m?void 0:m.limit)||void 0===p?void 0:p.toString())||""})}return{imageUrl:{[g.StdTheme.Light]:K,[g.StdTheme.Dark]:X},title:(0,f.t)("Never miss a trade with our server-side alerts"),content:P}},primitiveAlerts:e=>{var t,a;const n=e.state||_.ProPlans.Free,o=null===(t=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===t?void 0:t.primitive_limit,r=(null===(a=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS,_.ProPlans.ProPremium))||void 0===a?void 0:a.primitive_limit)||400;let i,s;switch(n){case _.ProPlans.ProPremium:case _.ProPlans.ProPremiumTrial:i=(0,f.t)("Oops... too many alerts"),s=(0,f.t)("Uh oh, looks like you've reached the limit of {limit} price alert. The only way to add more alerts is to stop some of your existing ones. Choose wisely.",{plural:"Uh oh, looks like you've reached the limit of {limit} price alerts. The only way to add more alerts is to stop some of your existing ones. Choose wisely.",count:o}).format({limit:(null==o?void 0:o.toString())||""});break;default:i=(0,f.t)("Never miss a price movement"),s=(0, +f.t)("Stay on top of market activity, even away from your desk, with up to {max_number} instant and backed-up alert — only on our upgraded plans.",{plural:"Stay on top of market activity, even away from your desk, with up to {max_number} instant and backed-up alerts — only on our upgraded plans.",count:r}).format({max_number:r.toString()})+" "+(0,f.t)("Right now, your {plan} plan has a {number} price alert limit.",{plural:"Right now, your {plan} plan has {number} price alerts limit.",count:o}).format({number:(null==o?void 0:o.toString())||"",plan:(0,b.humanizeProPlan)((0,b.isTrialProduct)(n)?(0,b.getProductForTrial)(n):n)})}return{imageUrl:{[g.StdTheme.Light]:$,[g.StdTheme.Dark]:Z},title:i,content:s}},complexAlerts:e=>{var t;const a=e.state||_.ProPlans.Free,n=null===(t=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS))||void 0===t?void 0:t.complex_limit;let o,r;switch(a){case _.ProPlans.ProPremium:case _.ProPlans.ProPremium+b.TRIAL_SUFFIX:o=(0,f.t)("Oops... too many alerts"),r=(0,f.t)("Uh oh, looks like you've reached the limit of {limit} technical alert. The only way to add more alerts is to stop some of your existing ones. Choose wisely.",{plural:"Uh oh, looks like you've reached the limit of {limit} technical alerts. The only way to add more alerts is to stop some of your existing ones. Choose wisely.",count:n}).format({limit:(null==n?void 0:n.toString())||""});break;default:o=(0,f.t)("Get personalized alerts"),r=(0,f.t)("Supplement your analysis and get notified when your indicators, strategies, and even drawings meet the criteria you've set — only on our upgraded plans. Right now, your {plan} plan has a {limit} technical alert limit.",{plural:"Supplement your analysis and get notified when your indicators, strategies, and even drawings meet the criteria you've set — only on our upgraded plans. Right now, your {plan} plan has {limit} technical alerts limit.",count:n}).format({limit:(null==n?void 0:n.toString())||"",plan:(0,b.humanizeProPlan)((0,b.isTrialProduct)(a)?(0,b.getProductForTrial)(a):a)})}return{imageUrl:{[g.StdTheme.Light]:Q,[g.StdTheme.Dark]:J},title:o,content:r}},screenerAlerts:()=>({title:(0,f.t)("Screener alerts"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Alerts are a great way to stay on top of market changes while you are away from the desk. Free plans support 1 alert at a time. If you need more, choose an upgraded plan that suits your needs.")),n.createElement("p",null,(0,f.t)("TradingView alerts run on powerful servers with backups, so you'll always get notified when something happens.")))}),intradayExchange:()=>({title:(0,f.t)("Official real-time, intraday and volume data"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("The free account features End-Of-Day US futures data only.")),n.createElement("p",null,(0,f.t)("Delayed or real-time CME data can be purchased separately by any user with an upgraded plan. The trial also comes with access to and real-time data from premium exchanges and extra features.")),n.createElement("p",null,(0, +f.t)("Exchanges charge TradingView redistribution fees and per-user fees for delivery of intraday and real-time data, So, we can't give this data for free to everyone (as much as we'd like to).")))}),savedChartsLimit:e=>{var t,a,n,o,r,i,s,l,u,c,d,m,p,h;const P=e.state,w=(0,f.t)("Your {plan} plan has a {number} chart layout limit. But, no stress, our upgraded plans let you save multiple layouts — perfect if you want to revisit your market analysis at a moment's notice.",{plural:"Your {plan} plan has {number} charts layout limit. But, no stress, our upgraded plans let you save multiple layouts — perfect if you want to revisit your market analysis at a moment's notice.",count:null===(t=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===t?void 0:t.limit}),S=(0,f.t)("Your plan has a {number} chart layout limit. But, no stress, our upgraded plans let you save multiple layouts — perfect if you want to revisit your market analysis at a moment's notice.",{plural:"Your plan has {number} charts layout limit. But, no stress, our upgraded plans let you save multiple layouts — perfect if you want to revisit your market analysis at a moment's notice.",count:null===(a=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===a?void 0:a.limit});let E;switch(P){case _.ProPlans.Pro+b.TRIAL_SUFFIX:E=w.format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro),number:(null===(o=null===(n=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===n?void 0:n.limit)||void 0===o?void 0:o.toString())||""});break;case _.ProPlans.ProRealtime+b.TRIAL_SUFFIX:E=w.format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),number:(null===(i=null===(r=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===r?void 0:r.limit)||void 0===i?void 0:i.toString())||""});break;case _.ProPlans.Pro:E=w.format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro),number:(null===(l=null===(s=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===s?void 0:s.limit)||void 0===l?void 0:l.toString())||""});break;case _.ProPlans.ProRealtime:E=w.format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),number:(null===(c=null===(u=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===u?void 0:u.limit)||void 0===c?void 0:c.toString())||""});break;case _.ProPlans.ProMiniAlerts:case _.ProPlans.ProMiniAds:case _.ProPlans.ProMiniLayouts:case _.ProPlans.ProEdu:E=S.format({number:(null===(m=null===(d=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===d?void 0:d.limit)||void 0===m?void 0:m.toString())||""});break;default:E=S.format({number:(null===(h=null===(p=(0,v.getConfig)(y.ProductFeatures.CHART_STORAGE))||void 0===p?void 0:p.limit)||void 0===h?void 0:h.toString())||""})}return{imageUrl:{[g.StdTheme.Light]:N,[g.StdTheme.Dark]:U},title:(0,f.t)("Simplify your trading by saving more charts layouts"),content:E}},studyLimit:e=>{var t,a,o,r,i,s,l,u,c,d,m,p,h,P,w,S,E,T,x,k,D,F,A,O,I,L,N,U,M,B;const z=e.state,G=e.options.join(", ");let W;const H=(0,f.t)("Right now, your {plan} plan has a {number} indicator limit.",{ +plural:"Right now, your {plan} plan has {number} indicators limit.",count:null===(t=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART))||void 0===t?void 0:t.limit}),V=z===_.ProPlans.ProPremium?(0,f.t)("You're at maximum indicator-ness"):(0,f.t)("More indicators, more trading possibilities"),Y=n.createElement("p",null,(0,f.t)("The indicators currently on your chart are: {studiesList}").format({studiesList:G}));switch(z){case _.ProPlans.Pro+b.TRIAL_SUFFIX:W=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Reveal hidden trends and trading opportunities with up to {number} indicator per chart, only on our upgraded plans.",{plural:"Reveal hidden trends and trading opportunities with up to {number} indicators per chart, only on our upgraded plans.",count:null===(a=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===a?void 0:a.limit}).format({number:(null===(r=null===(o=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===o?void 0:o.limit)||void 0===r?void 0:r.toString())||"25"})," ",H.format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro),number:(null===(s=null===(i=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART))||void 0===i?void 0:i.limit)||void 0===s?void 0:s.toString())||""})),Y);break;case _.ProPlans.ProRealtime+b.TRIAL_SUFFIX:W=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Reveal hidden trends and trading opportunities with up to {number} indicator per chart, only on our upgraded plans.",{plural:"Reveal hidden trends and trading opportunities with up to {number} indicators per chart, only on our upgraded plans.",count:null===(l=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===l?void 0:l.limit}).format({number:(null===(c=null===(u=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===u?void 0:u.limit)||void 0===c?void 0:c.toString())||"25"})," ",H.format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),number:(null===(m=null===(d=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART))||void 0===d?void 0:d.limit)||void 0===m?void 0:m.toString())||""})),Y);break;case _.ProPlans.Pro:W=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Reveal hidden trends and trading opportunities with up to {number} indicator per chart, only on our upgraded plans.",{plural:"Reveal hidden trends and trading opportunities with up to {number} indicators per chart, only on our upgraded plans.",count:null===(p=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===p?void 0:p.limit}).format({number:(null===(P=null===(h=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===h?void 0:h.limit)||void 0===P?void 0:P.toString())||"25"})," ",H.format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro),number:(null===(S=null===(w=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART))||void 0===w?void 0:w.limit)||void 0===S?void 0:S.toString())||""})),Y);break;case _.ProPlans.ProRealtime: +W=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Reveal hidden trends and trading opportunities with up to {number} indicator per chart, only on our upgraded plans.",{plural:"Reveal hidden trends and trading opportunities with up to {number} indicators per chart, only on our upgraded plans.",count:null===(E=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===E?void 0:E.limit}).format({number:(null===(x=null===(T=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===T?void 0:T.limit)||void 0===x?void 0:x.toString())||"25"})," ",H.format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),number:(null===(D=null===(k=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART))||void 0===k?void 0:k.limit)||void 0===D?void 0:D.toString())||""})),Y);break;case _.ProPlans.ProPremium:W=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Premium plans have a {number} indicator limit and you've hit it. Please have a think about which ones you 'really' need, and remove any you don't, to free up more space.",{plural:"Premium plans have a {number} indicators limit and you've hit it. Please have a think about which ones you 'really' need, and remove any you don't, to free up more space.",count:null===(F=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===F?void 0:F.limit}).format({number:(null===(O=null===(A=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===A?void 0:A.limit)||void 0===O?void 0:O.toString())||"25"})));break;default:W=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Reveal hidden trends and trading opportunities with up to {number} indicator per chart, only on our upgraded plans.",{plural:"Reveal hidden trends and trading opportunities with up to {number} indicators per chart, only on our upgraded plans.",count:null===(I=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===I?void 0:I.limit}).format({number:(null===(N=null===(L=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART,_.ProPlans.ProPremium))||void 0===L?void 0:L.limit)||void 0===N?void 0:N.toString())||"25"})," ",(0,f.t)("Right now, your plan has a {number} indicator limit.",{plural:"Right now, your plan has {number} indicators limit.",count:null===(U=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART))||void 0===U?void 0:U.limit}).format({number:(null===(B=null===(M=(0,v.getConfig)(y.ProductFeatures.INDICATORS_ON_CHART))||void 0===M?void 0:M.limit)||void 0===B?void 0:B.toString())||""})),Y)}return{imageUrl:{[g.StdTheme.Light]:C,[g.StdTheme.Dark]:R},title:V,content:W}},savedChartsForAlertLimit:e=>{var t,a,o,r,i,s,l,u,c;let d;switch(e.state){case _.ProPlans.Pro:d=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Setting alerts on drawing requires saving the chart, and you've run out of space. You are currently on the {plan} plan, which supports up to 5 saved charts.").format({plan:(0, +b.humanizeProPlan)(_.ProPlans.Pro)})),n.createElement("p",null,(0,f.t)("If you need more, the {proPlusPlan} plan handles 10 and the {premiumPlan} plan unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features.").format({proPlusPlan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),premiumPlan:(0,b.humanizeProPlan)(_.ProPlans.ProPremium)})));break;case _.ProPlans.ProRealtime:d=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Setting alerts on drawing requires saving the chart, and you've run out of space. You are currently on the {plan} plan, which supports up to 10 saved charts.").format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime)})),n.createElement("p",null,(0,f.t)("If you need more, the {premiumPlan} plan unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features.").format({premiumPlan:(0,b.humanizeProPlan)(_.ProPlans.ProPremium)})));break;case _.ProPlans.Pro+b.TRIAL_SUFFIX:d=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Setting alerts on drawing requires saving the chart, and you've run out of space. You are currently trying the {plan} plan, which supports up to 5 saved charts.").format({plan:(0,b.humanizeProPlan)(_.ProPlans.Pro)})),n.createElement("p",null,(0,f.t)("If you need more, you can switch your trial for FREE to the {proPlusPlan} (up to 10 saved charts) or the {premiumPlan} plan (unlimited saved charts). The plans also comes with many other exciting features.").format({proPlusPlan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),premiumPlan:(0,b.humanizeProPlan)(_.ProPlans.ProPremium)})),n.createElement("p",null,Ve));break;case _.ProPlans.ProRealtime+b.TRIAL_SUFFIX:d=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Setting alerts on drawing requires saving the chart, and you've run out of space. You are trying the {plan} plan, which supports up to 10 saved charts.").format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime)})),n.createElement("p",null,(0,f.t)("If you need more, you can switch your trial for FREE to the {plan} plan with unlimited number of saved charts. The plan also comes with many other exciting features!").format({plan:(0,b.humanizeProPlan)(_.ProPlans.ProPremium)})),n.createElement("p",null,Ve));break;default:d=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Setting alerts on drawing requires saving the chart, and you've run out of space. Free plans support {number} saved chart.",{plural:"Setting alerts on drawing requires saving the chart, and you've run out of space. Free plans support {number} saved charts.",count:null===(t=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS,_.ProPlans.Free))||void 0===t?void 0:t.limit}).format({number:(null===(o=null===(a=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS,_.ProPlans.Free))||void 0===a?void 0:a.limit)||void 0===o?void 0:o.toString())||""})),n.createElement("p",null,(0,f.t)("The PRO plan supports {number} saved chart,",{plural:"The PRO plan supports {number} saved charts,",count:null===(r=(0, +v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS,_.ProPlans.Pro))||void 0===r?void 0:r.limit,context:"pro_plan_supports"}).format({number:(null===(s=null===(i=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS,_.ProPlans.Pro))||void 0===i?void 0:i.limit)||void 0===s?void 0:s.toString())||""})," ",(0,f.t)("PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features.",{plural:"PRO Plus handles {number} and Premium unlocks unlimited saved charts! Upgrade now and enjoy many other exciting features.",count:null===(l=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS,_.ProPlans.ProRealtime))||void 0===l?void 0:l.limit,context:"pro_plan_supports"}).format({number:(null===(c=null===(u=(0,v.getConfig)(y.ProductFeatures.SERVER_SIDE_ALERTS,_.ProPlans.ProRealtime))||void 0===u?void 0:u.limit)||void 0===c?void 0:c.toString())||""})))}return{title:(0,f.t)("Saved charts"),content:d}},TickByTick:()=>({imageUrl:{[g.StdTheme.Light]:xe,[g.StdTheme.Dark]:ke},title:(0,f.t)("Unlock the fastest data flow possible"),content:(0,f.t)("To catch every small change, you need to see every trade, only on our upgraded plans. Never miss a beat again.")}),DelayToRealtime:e=>{const t=(0,f.t)("Data is delayed by {time} minute. If you don't want to make decisions with data that's {time} minute old, you can buy the real-time {openBold}{description}{closeBold} feed for this symbol from your {startLink}User Profile page > Account & Billing{endLink} tab. Note: you'll need a paid or trial plan to add this data to your chart.",{plural:"Data is delayed by {time} minutes. If you don't want to make decisions with data that's {time} minutes old, you can buy the real-time {openBold}{description}{closeBold} feed for this symbol from your {startLink}User Profile page > Account & Billing{endLink} tab. Note: you'll need a paid or trial plan to add this data to your chart.",count:e.options.time}).format({time:""+e.options.time,description:""+e.options.description}).split(He),a=n.createElement(n.Fragment,null,(!(0,d.isFeatureEnabled)("hide_gopro_popup_upgrade_button")||!(0,m.isOnMobileAppPage)("old"))&&n.createElement("p",null,t[0],n.createElement("b",null,t[1]),t[2],n.createElement("a",{href:`/u/${e.options.username}/#billing`,target:"_blank"},t[3]),t[4]));return{imageUrl:{[g.StdTheme.Light]:q,[g.StdTheme.Dark]:j},title:(0,f.t)("Data is delayed by {time} minutes").format({time:""+e.options.time}),content:a}},studyOnStudy:e=>{var t,a,n,o,r,i,s,l;const u=e.state;let c,d;switch(u){case _.ProPlans.ProPremium+b.TRIAL_SUFFIX:case _.ProPlans.ProPremium:d=(0,f.t)("You're at maximum indicator-ness"),c=(0,f.t)("{plan} plans have a limit of {max_number} indicator-on-indicators per chart layout... and you've hit it. Please have a think about which ones you 'really' need, and remove any you don't, to free up more space!",{ +plural:"{plan} plans have a limit of {max_number} indicators-on-indicators per chart layout... and you've hit it. Please have a think about which ones you 'really' need, and remove any you don't, to free up more space!",count:null===(t=(0,v.getConfig)(y.ProductFeatures.STUDY_ON_STUDY))||void 0===t?void 0:t.child_limit}).format({plan:(0,b.humanizeProPlan)((0,b.getProductForTrial)(u)),max_number:(null===(n=null===(a=(0,v.getConfig)(y.ProductFeatures.STUDY_ON_STUDY))||void 0===a?void 0:a.child_limit)||void 0===n?void 0:n.toString())||""});break;default:d=(0,f.t)("Unlock more insight with our indicator-on-indicator feature"),c=(0,f.t)("Adding indicators on top of each other unlocks new insights — like adding a Moving Average to a Volume indicator to get Average Volume over time. Stack up to {max_number} indicators-on-indicators with our upgraded plans. Right now, your {plan} plan has a {number} indicator-on-indicator limit.",{plural:"Adding indicators on top of each other unlocks new insights — like adding a Moving Average to a Volume indicator to get Average Volume over time. Stack up to {max_number} indicators-on-indicators with our upgraded plans. Right now, your {plan} plan has a {number} indicators-on-indicators limit.",count:null===(o=(0,v.getConfig)(y.ProductFeatures.STUDY_ON_STUDY))||void 0===o?void 0:o.child_limit}).format({max_number:(null===(i=null===(r=(0,v.getConfig)(y.ProductFeatures.STUDY_ON_STUDY,_.ProPlans.ProPremium))||void 0===r?void 0:r.child_limit)||void 0===i?void 0:i.toString())||"",plan:u?(0,b.humanizeProPlan)((0,b.getProductForTrial)(u)):"Basic",number:(null===(l=null===(s=(0,v.getConfig)(y.ProductFeatures.STUDY_ON_STUDY))||void 0===s?void 0:s.child_limit)||void 0===l?void 0:l.toString())||""})}return{imageUrl:{[g.StdTheme.Light]:ge,[g.StdTheme.Dark]:ve},title:d,content:c}},editCreatePublicChat:e=>{let t;switch(e.state){case _.ProPlans.Pro+b.TRIAL_SUFFIX:case _.ProPlans.ProRealtime+b.TRIAL_SUFFIX:case _.ProPlans.ProPremium+b.TRIAL_SUFFIX:t=n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Only users with paid subscriptions can create new public chats.")),n.createElement("p",null,(0,f.t)("Once your trial period is over and the payment for membership renewal is received, you'll be able to create new public chats.")));break;default:t=(0,f.t)("Don't see a public chat room on the topic you're most interested in? Then create it — only available on our upgraded plans.")}return{imageUrl:{[g.StdTheme.Light]:ye,[g.StdTheme.Dark]:Pe},title:(0,f.t)("Create new public chats"),content:t}},adFree:()=>({imageUrl:{[g.StdTheme.Light]:x,[g.StdTheme.Dark]:k},title:(0,f.t)("Go ad-free. Everywhere"),content:(0,f.t)("Ads are important for any business like ours, but you can go ad-free at any time via our upgraded plans. This way, you can enjoy trading without any distractions (and you'll get a load of extra features too).")}),screenerAutoRefresh:()=>({imageUrl:{[g.StdTheme.Light]:ie,[g.StdTheme.Dark]:se},title:(0,f.t)("Fresh opportunities, every 10 seconds"),content:(0, +f.t)("Keep your wish list updated with a screener that auto-refreshes every 10 seconds or one minute — only on our upgraded plans (plus you'll get a load of powerful extra features).")}),idcFreeUser:()=>({title:(0,f.t)("Delayed market data access"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("This market data is temporary not available for basic account holders according to the exchange regulations. We are working on making the delayed data available for all users on the free basis in the near future.")),n.createElement("p",null,(0,f.t)("Subscribe to any of our upgraded plans and you will be able to receive delayed data from this exchange right now!")))}),alertsNoExpiration:()=>({imageUrl:{[g.StdTheme.Light]:A,[g.StdTheme.Dark]:O},title:(0,f.t)("Want alerts that never die?"),content:(0,f.t)("Alerts on your plan expire after two months. But, good news, non-expiring alerts are available on our {premiumPlan} plan. Great if you're thinking about long-term trading opportunities.").format({premiumPlan:(0,b.humanizeProPlan)(_.ProPlans.ProPremium)})}),barReplayIntraday:()=>({imageUrl:{[g.StdTheme.Light]:I,[g.StdTheme.Dark]:L},title:(0,f.t)("Test your strategies with intraday bar replays"),content:(0,f.t)("Practice predicting price movements, hour by hour, minute by minute and second by second — only on our upgraded plans. As the old saying goes, practice makes perfect (and profit).")}),screenerExportData:()=>({imageUrl:{[g.StdTheme.Light]:ce,[g.StdTheme.Dark]:de},title:(0,f.t)("Export data to where you need it"),content:(0,f.t)("Export all the Screener info you need with one of our upgraded plans. Simple.")}),screenerIntervals:()=>({imageUrl:{[g.StdTheme.Light]:le,[g.StdTheme.Dark]:ue},title:(0,f.t)("Monitor changes by the minute with our Screener's intraday time frames"),content:(0,f.t)("Be the first to know when an asset matches your chosen criteria, with our Screener's intraday time frame settings — only on our upgraded plans.")}),screenerIntervalsEod:()=>({title:(0,f.t)("Screener with all time frames"),content:(0,f.t)("{proPlan}, {proPlusPlan} and {premiumPlan} users can use the Screener on any time frame!").format({proPlan:(0,b.humanizeProPlan)(_.ProPlans.Pro),proPlusPlan:(0,b.humanizeProPlan)(_.ProPlans.ProRealtime),premiumPlan:(0,b.humanizeProPlan)(_.ProPlans.ProPremium)})}),publishInviteOnlyScripts:()=>({imageUrl:{[g.StdTheme.Light]:we,[g.StdTheme.Dark]:be},title:(0,f.t)("Publish invite-only scripts"),content:(0,f.t)("Publish invite-only scripts and build your community further via our Premium plan. Everyone else can publish open scripts only.")}),publishProtectedScripts:()=>({imageUrl:{[g.StdTheme.Light]:we,[g.StdTheme.Dark]:be},title:(0,f.t)("Publish protected scripts"),content:(0,f.t)("Build a community while guarding your secrets to success. Only upgraded plans can shield their scripts' code – everyone else must publish open-source scripts.")}),alertsWebhook:()=>({imageUrl:{[g.StdTheme.Light]:Ee,[g.StdTheme.Dark]:Te},title:(0,f.t)("React instantly with webhook notifications"), +content:(0,f.t)("Unlock endless algorithmic trading opportunities with instant reactions to triggered alerts — only on our upgraded plans. Take your analysis and algo trading to a whole new level.")}),exportChartData:()=>{const e=(0,f.t)("Export all the chart info you need with our {bold_start}Pro+{bold_end} and {bold_start}Premium{bold_end} plans. Easy.").split(He),t=n.createElement("p",null,e[0],n.createElement("strong",null,e[1]),e[2],n.createElement("strong",null,e[3]),e[4]);return{imageUrl:{[g.StdTheme.Light]:me,[g.StdTheme.Dark]:pe},title:(0,f.t)("Export data to where you need it"),content:t}},alertsOnSeconds:()=>({title:(0,f.t)("Second-Based Chart Alerts"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Upgrade to the {pro_plan_name} plan to unlock this feature. Get alerts on a second-based chart delivered through email, mobile or desktop notifications. Premium plans also come with additional features like the fastest data flow, volume profile indicators, and other exciting tools.").format({pro_plan_name:(0,b.humanizeProPlan)(E(y.ProductFeatures.ALERTS_ON_SECONDS)||"")})),n.createElement("p",null,(0,f.t)("Alerts are how you save time and make markets work for you. The {pro_plan_name} plan allows you to create alerts for price, specific indicators or custom drawings on a second-based chart.").format({pro_plan_name:(0,b.humanizeProPlan)(E(y.ProductFeatures.ALERTS_ON_SECONDS)||"")})))}),volumeProfile:()=>({imageUrl:{[g.StdTheme.Light]:_e,[g.StdTheme.Dark]:Se},title:(0,f.t)("Volume Profile"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("This is an extremely valuable tool that highlights the most traded prices over a timeframe. Volume profile is often used by traders to identify basic support and resistance levels so they can time their trades and maximize profits.")),n.createElement("p",null,(0,f.t)("It's available only on our upgraded plans.")))}),sessionLogout:e=>{let t;if(e.options){const{device:a,ip:o,browser:r}=e.options,i=(0,f.t)("Device: {nameDevice}, IP: {valueIp}, Browser: {nameBrowser}").split(He);t=n.createElement("p",null,(0,f.t)("Your session was terminated from device:"),n.createElement("br",null),i[0],n.createElement("strong",null,a),i[1],n.createElement("strong",null,o),i[2],n.createElement("strong",null,r))}const a=n.createElement(n.Fragment,null,t,n.createElement("p",null,(0,f.t)("You need to refresh the page and log in to continue surfing.")));return{imageUrl:{[g.StdTheme.Light]:Ce,[g.StdTheme.Dark]:Re},title:(0,f.t)("This session is terminated"),content:a}},sessionLock:e=>{let t;if(e.options){const{device:a,ip:o,browser:r}=e.options,i=(0,f.t)("Device: {nameDevice}, IP: {valueIp}, Browser: {nameBrowser}").split(He);t=n.createElement("p",null,(0,f.t)("You or somebody else just logged into your account from a different device:"),n.createElement("br",null),i[0],n.createElement("strong",null,a),i[1],n.createElement("strong",null,o),i[2],n.createElement("strong",null,r))}const a=n.createElement(n.Fragment,null,t,n.createElement("p",null,(0, +f.t)("If this was indeed you, just click on the Connect button and you can continue working from here. If not, please change your password and turn on two-factor authentication.")));return{imageUrl:{[g.StdTheme.Light]:Ce,[g.StdTheme.Dark]:Re},title:(0,f.t)("Session disconnected"),content:a}},deepFundamentalsNotification:()=>({imageUrl:{[g.StdTheme.Light]:De,[g.StdTheme.Dark]:Fe},title:(0,f.t)("Get financial data over longer time periods"),content:(0,f.t)("Access fundamental data over even longer time periods with one of our upgraded plans.")}),multipleWatchLists:()=>({imageUrl:{[g.StdTheme.Light]:V,[g.StdTheme.Dark]:Y},title:(0,f.t)("Sort your symbols better with more watchlists"),content:n.createElement("p",null,(0,f.t)("Monitor even more watchlists, plus import/export functionality with one of our upgraded plans — perfect for those who like to keep their opportunities organized."))}),importWatchlist:()=>({imageUrl:{[g.StdTheme.Light]:V,[g.StdTheme.Dark]:Y},title:(0,f.t)("Sort your symbols better with more watchlists"),content:n.createElement("p",null,(0,f.t)("Monitor even more watchlists, plus import/export functionality with one of our upgraded plans — perfect for those who like to keep their opportunities organized."))}),exportWatchlist:()=>({imageUrl:{[g.StdTheme.Light]:V,[g.StdTheme.Dark]:Y},title:(0,f.t)("Sort your symbols better with more watchlists"),content:n.createElement("p",null,(0,f.t)("Monitor even more watchlists, plus import/export functionality with one of our upgraded plans — perfect for those who like to keep their opportunities organized."))}),upgradeNotification:()=>({imageUrl:{[g.StdTheme.Light]:Ae,[g.StdTheme.Dark]:Oe},contentAlign:h.ContentAlign.Center,title:(0,f.t)("Take your subscription to the next level"),content:n.createElement("p",{className:We.upgradeNotificationDescription},(0,f.t)("Get all our upgraded features — no extra charge"))}),[T.LastChanceType.TwoWeeks]:()=>{var e;const t=((null===(e=window.user.available_offers[T.OFFERS.last_chance])||void 0===e?void 0:e.max_discount)||"").toString();return{imageUrl:{[g.StdTheme.Light]:Ie,[g.StdTheme.Dark]:Le},contentAlign:h.ContentAlign.Center,title:(0,f.t)("Wait, don't go"),content:n.createElement("p",null,(0,f.t)("Get up to {discount}% off a new plan if you decide to renew with us before your current one ends.").format({discount:t}))}},[T.LastChanceType.TwoDays]:()=>{var e;const t=((null===(e=window.user.available_offers[T.OFFERS.last_chance])||void 0===e?void 0:e.max_discount)||"").toString();return{imageUrl:{[g.StdTheme.Light]:Ie,[g.StdTheme.Dark]:Le},contentAlign:h.ContentAlign.Center,title:(0,f.t)("Time's running out!"),content:n.createElement("p",null,(0,f.t)("Your subscription expires soon – claim your special offer and save up to {discount}% before it's too late.").format({discount:t}))}},[T.LastChanceType.Hours]:()=>{var e,t +;const a=null===(e=window.user.available_offers[T.OFFERS.last_chance])||void 0===e?void 0:e.expire_on,o=((null===(t=window.user.available_offers[T.OFFERS.last_chance])||void 0===t?void 0:t.max_discount)||"").toString(),r=(0,f.t)("Your subscription isn't set to auto-renew, so you'll lose your benefits very soon... This is your last chance to claim up to {discount}% discount.").format({discount:o});return{imageUrl:{[g.StdTheme.Light]:Ie,[g.StdTheme.Dark]:Le},contentAlign:h.ContentAlign.Center,title:(0,f.t)("The countdown has started."),content:n.createElement(n.Fragment,null,n.createElement("p",null,r),n.createElement("div",{className:We.countDown},n.createElement(P.OfferCountdown,{theme:w.CountdownTheme.Profile,expiration:a,size:"m"})))}},oneUsd:()=>({imageUrl:{[g.StdTheme.Light]:Ne,[g.StdTheme.Dark]:Ue},title:(0,f.t)("Get an upgrade for $1"),content:n.createElement("p",null,(0,f.t)("Time to make the math work for you. We've got an offer: one month of upgraded features for one dollar."))}),SixMonths:()=>({imageUrl:{[g.StdTheme.Light]:Me,[g.StdTheme.Dark]:Be},title:(0,f.t)("Buy 6 months, get 6 months free"),content:n.createElement("p",null,(0,f.t)("What's better than an annual TradingView plan? An annual TradingView plan with 50% off.")+" "+(0,f.t)("Get yours now"))}),manyDesktopWindows:()=>({imageUrl:{[g.StdTheme.Light]:M,[g.StdTheme.Dark]:B},title:(0,f.t)("More windows mean more options"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("With our free account you can open as many windows as you like and get the most out of your multi-monitor setup. Don't have an account yet? Click the button below to get started and start working with multiple windows."))),upgradeMessage:(0,f.t)("Sign up for free")}),backtestingExport:()=>({imageUrl:{[g.StdTheme.Light]:ze,[g.StdTheme.Dark]:Ge},title:(0,f.t)("Export your strategy data"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Take your strategies with you: export your performance and overview data to a CSV file, only with our Premium plan. Upgrade today.")))}),checkingNSE:()=>({imageUrl:{[g.StdTheme.Light]:q,[g.StdTheme.Dark]:j},title:(0,f.t)("Attention"),content:n.createElement(n.Fragment,null,n.createElement("p",null,(0,f.t)("Please note all NSE data is available free of charge to any visiting user. You'll be redirected to an open website now.")))}),deepHistoryBacktest:()=>({imageUrl:{[g.StdTheme.Light]:ge,[g.StdTheme.Dark]:ve},title:(0,f.t)("Deep Backtesting"),content:(0,f.t)("Upgrade to Premium today to access backtesting data for any date in a symbol's entire history – at the moment your subscription only allows you to calculate using data loaded on the chart.")})};var Xe=a(22385),$e=a(36772),Ze=a(55367);function Qe(e){return n.createElement(n.Fragment,null,e.children,n.createElement("p",{className:Ze["upgrade-not-available"]},f.t("You can't upgrade to Premium in the app. It sucks, we know.")))}let Je=!1;async function et(e){var t,a;if(r.enabled("referral_program_for_widget_owners"))return(0, +p.showGoToTradingViewReferralDialog)(e);if("sessionLock"!==e.feature&&"manyDesktopWindows"!==e.feature||(Je=!1),Je)return;const f=(0,s.guid)(),g=(0,i.getRootOverlapManager)(),v=g.ensureWindow(f),y=e.actionAfterClose,P=()=>{o.unmountComponentAtNode(v),g.removeWindow(f),Je=!1,y&&y()},w=e.template?e.template:function(e){return e.feature?Ke[e.feature](e):je}({feature:e.feature,options:e.customParams,state:window.user.pro_plan});w.upgradeMessage&&(e.upgradeMessage=w.upgradeMessage);const b=[(0,Xe.getGoproDefaultAction)(e)];let _=null!==(a=null===(t=e.actions)||void 0===t?void 0:t.map(t=>{const a=t.options;return"action"in t&&t.action===h.PredefinedAction.OpenGopro&&void 0===a?{...t,options:(0,Xe.getOpenGoProOptions)(e)}:void 0===(null==a?void 0:a.feature)?{...t,options:{...a,feature:e.feature}}:t}))&&void 0!==a?a:b;(0,d.isFeatureEnabled)("hide_gopro_popup_upgrade_button")&&(0,m.isOnMobileAppPage)("old")&&(_=[],w.content=n.createElement(Qe,null,w.content));const S={closeOnOutsideClick:e.closeOnOutsideClick,closeOnEsc:e.closeOnEsc,closeButton:e.closeButton,template:w,actions:_,afterOpen:function(){e.feature&&e.featureLocation&&(t=e.feature,a=e.featureLocation,t&&t in l.default.trackFeature&&(0,u.trackGoProFeature)(t,a));var t,a;(0,Xe.sendSnowplowAnalitycs)(e.feature,"open",window.user.id),(0,c.trackEvent)("GoPro Dialog",e.feature)},onCloseButton:function(){(0,Xe.sendSnowplowAnalitycs)(e.feature,"close_button",window.user.id),P()},onClose:P,onCloseEsc:function(){(0,Xe.sendSnowplowAnalitycs)(e.feature,"close_esc",window.user.id),P()}};Je=!0,o.render(n.createElement($e.PromotionLayout,{...S}),v)}},96783:(e,t,a)=>{"use strict";var n,o;a.d(t,{PredefinedAction:()=>n,ContentAlign:()=>o}),function(e){e.Close="close",e.OpenGopro="openGopro"}(n||(n={})),function(e){e.Center="center",e.Left="left"}(o||(o={}))},36772:(e,t,a)=>{"use strict";a.d(t,{PromotionLayout:()=>E});var n=a(59496),o=a(97754),r=a(77975),i=a(37005),s=a(96783),l=a(22385),u=a(26843),c=a(28353),d=a(74664),m=a(90692),p=a(9481),h=a(67844),f=a(3767),g=a(81e3),v=a(42360);function y(e){const{children:t,width:a,autofocus:r,closeButton:i,closeOnEsc:s}=e,l=n.createElement(n.Fragment,null,s&&n.createElement(p.KeyboardDocumentListener,{keyCode:27,handler:function(t){t.stopPropagation(),e.onCloseEsc()}}),i&&n.createElement(h.CloseButton,{className:v.closeButton,"aria-label":c.t("Close",{context:"input"}),onClick:function(){e.onCloseButton()}}),t);return n.createElement(m.MatchMedia,{rule:`screen and (max-width: ${d.breakpoints.phone}px)`},t=>t?n.createElement(g.PopupDialog,{isOpened:!0,fullscreen:!0,className:o(v.dialog,v.radius),"data-dialog-name":e["data-dialog-name"],autofocus:r},l):n.createElement(f.Modal,{className:v.dialog,width:a,isOpened:!0,"data-dialog-name":e["data-dialog-name"],autofocus:r},l))}var P=a(5437);function w(e){const{addClass:t,text:a,variant:r,color:i,onClick:s}=e;return n.createElement(P.RoundButton,{className:o(t,v.actionButton),onClick:s,variant:r,color:i},a)}var b=a(45345),_=a(99804),S=a(16581);function E(e){ +const{onClose:t,onCloseEsc:a,onCloseButton:c=t,actions:d,closeOnOutsideClick:m,closeButton:p=!0,closeOnEsc:h=!0,afterOpen:f}=e,{title:g,subtitle:P,content:E,imageUrl:T,contentAlign:x=s.ContentAlign.Left}=e.template,k=(0,r.useWatchedValueReadonly)({watchedValue:b.watchedTheme})||u.StdTheme.Light,C=k===u.StdTheme.Light?_:S;(0,i.useFixedBody)(),n.useEffect(()=>{f&&f()},[]);return n.createElement(y,{width:720,onCloseButton:c,onCloseEsc:null!=a?a:t,closeOnOutsideClick:m,"data-dialog-name":"gopro",autofocus:!0,closeButton:p,closeOnEsc:h},n.createElement("div",{className:v.container},T&&T[k]?n.createElement("div",{className:v.wrapperImage},n.createElement("img",{src:T[k]})):n.createElement("div",{className:v.wrapperImage},n.createElement("img",{src:C})),n.createElement("div",{className:v.title},g),P&&n.createElement("div",{className:v.subtitle},P),n.createElement("div",{className:o(v.description,v[x])},E,n.createElement("div",{className:v.wrapperButton},d.map((e,a)=>{let o;return o="action"in e?e.action===s.PredefinedAction.Close?{...e,onClick:()=>{e.onClick&&e.onClick(),c()}}:e.action===s.PredefinedAction.OpenGopro?{...e,onClick:()=>{var e;return(0,l.openGoPro)(null!==(e=o.options)&&void 0!==e?e:{},t)}}:{onClick:t}:e,n.createElement(w,{...o,key:a})})))))}},22385:(e,t,a)=>{"use strict";a.d(t,{getGoproDefaultAction:()=>b,getOpenGoProOptions:()=>w,openGoPro:()=>P,sendSnowplowAnalitycs:()=>y});var n=a(28353),o=a(87887),r=a.n(o),i=a(23578),s=a(96783),l=a(91955),u=a(53402);var c=a(82531),d=a(46198),m=a(42879),p=a(11203),h=a(76266),f=a(84015);const g="gopro-dialog",v="gopro_dialog";function y(e,t,a){(0,l.getTracker)().then(n=>{n&&n.trackPermissionDialog(e||g,t,(a||"").toString())})}function P(e,t){var a;t(),y(null!==(a=e.feature)&&void 0!==a?a:g,"accept",window.user.id),!(0,h.isFeatureEnabled)("braintree-gopro-in-order-dialog")||window.TVD||(0,f.isOnMobileAppPage)("any")?function(e){const{feature:t,visitPaymentPage:a,goproSource:n=v,goOnMarkets:o}=e;if(void 0!==a)return void(0,i.visitPaymentPage)(a.billing_cycle,a.options);const r=new URL("./gopro/",window.location.origin);r.searchParams.append("source",n),t&&r.searchParams.append("feature",t);o&&(r.hash="markets");window.open(r.href,"_blank")}(e):async function(e){var t;const{feature:a=g,visitPaymentPage:n,goOnMarkets:o}=e,r=null!==(t=e.goproSource)&&void 0!==t?t:v+"__"+a;window.runOrSignIn(()=>{var e;if(void 0!==n||o&&Boolean(window.user.is_pro)){const t=null!==(e=null==n?void 0:n.options)&&void 0!==e?e:{};let{productName:a}=t;return void 0===a&&(a=!window.user.is_pro&&o?d.ProPlans.ProRealtime:a),void(0,i.visitPaymentPage)(null==n?void 0:n.billing_cycle,{...t,productName:a,exchangesOnly:window.user.is_pro&&o,exchangesExpanded:o})}(0,p.showGoProOrderDialog)({source:r,feature:a,statusExtraData:o?m.StatusExtraData.Enable:void 0})},{source:r,feature:a,startTrial:e.triaIfSignIn})}(e)}function w(e){const{feature:t,goproSource:a,goOnMarkets:n,blank:o}=e;return{feature:t,visitPaymentPage:e.visitPaymentPage,goproSource:a,goOnMarkets:n,blank:o}}function b(e){var t +;const{upgradeMessage:a,forceUpgradeBtn:o}=e,i=null!==(t=e.isTrialAvailable)&&void 0!==t?t:r().isTrialAvailable(),l=(0,c.getTrialLength)(),d=w(e);return!window.is_authenticated||i?{action:s.PredefinedAction.OpenGopro,text:a||n.t("{days}-day free trial",{plural:"{days}-day free trial",context:"free_trial",count:l}).format({days:l.toString()}),options:{...d,triaIfSignIn:!0}}:o||(!window.user.is_trial||function(){const e=window.user;if(!e.is_trial)return[];const t=window.pro.getProPlans(!0),a=t.indexOf((0,u.getProductForTrial)(e.pro_plan));return a>-1?(t.splice(0,a+1),t):[]}().length)&&function(){const e=window.pro.getProPlans(!0),t=window.user.pro_plan;if(t){const a=e.indexOf(t);a>-1&&e.splice(0,a+1)}return e}().length?{action:s.PredefinedAction.OpenGopro,text:a||n.t("Upgrade now"),options:d}:{action:s.PredefinedAction.Close,text:a||n.t("Cancel",{context:"input"})}}},11203:(e,t,a)=>{"use strict";function n(e){return Promise.all([a.e(9685),a.e(5514),a.e(8463),a.e(2e3),a.e(9289),a.e(6363),a.e(7427),a.e(5998),a.e(3713),a.e(3848),a.e(7552),a.e(1692),a.e(6750),a.e(9410),a.e(1253),a.e(6767),a.e(2525),a.e(1726),a.e(9565),a.e(8948),a.e(1201),a.e(3812),a.e(2947),a.e(8178),a.e(3738),a.e(1946),a.e(9040),a.e(8357)]).then(a.bind(a,88930)).then(t=>t.openGoProOrderDialog(e))}a.d(t,{showGoProOrderDialog:()=>n})},52953:(e,t,a)=>{"use strict";function n(e){return Promise.all([a.e(9685),a.e(5514),a.e(8463),a.e(2e3),a.e(9289),a.e(6363),a.e(7427),a.e(5998),a.e(3713),a.e(3848),a.e(7552),a.e(1692),a.e(6750),a.e(9410),a.e(1253),a.e(6767),a.e(2525),a.e(1726),a.e(9565),a.e(8948),a.e(1201),a.e(3812),a.e(2947),a.e(8178),a.e(3738),a.e(1946),a.e(9040),a.e(8357)]).then(a.bind(a,88930)).then(t=>t.openPaymentOrderDialog(e))}a.d(t,{showPaymentOrderDialog:()=>n})},42879:(e,t,a)=>{"use strict";var n;a.d(t,{StatusExtraData:()=>n}),function(e){e.Enable="enable",e.Disable="disable"}(n||(n={}))},17136:(e,t,a)=>{"use strict";a.d(t,{check:()=>o});var n=a(93573);async function o(){const{is_restricted:e}=await(0,n.getCountries)();return e}},78820:(e,t,a)=>{"use strict";a.r(t),a.d(t,{showRestrictedCountryNotificationDialog:()=>r});var n=a(28353),o=a(3615);function r(){(0,o.showWarning)({title:(0,n.t)("We can't accept your payment right now"),text:(0,n.t)("TradingView needs to comply with U.S. trade embargoes and economic sanctions, so we're unable to accept any payments from the region you're in at the moment.")})}},24846:(e,t,a)=>{"use strict";async function n(e){(await Promise.all([a.e(5030),a.e(4816)]).then(a.bind(a,35419))).renderSixMonthsDialog(e)}a.d(t,{showSixMonthsDialog:()=>n})},90732:(e,t,a)=>{"use strict";async function n(e={}){return(await Promise.all([a.e(509),a.e(3118),a.e(1729),a.e(6708),a.e(5904),a.e(1536),a.e(7678),a.e(1653)]).then(a.bind(a,10293))).trialMessageSuccessDialog(e)}a.d(t,{trialMessageSuccessDialog:()=>n})},74607:(e,t,a)=>{"use strict";function n(e){return decodeURIComponent(e.replace(/\+/g," ")).replace(/<\/?[^>]+(>|$)/g,"")}function o(e){const t=/([^&=]+)=?([^&]*)/g,a={};if(!e)return a;let o=t.exec(e);for(;o;)a[n(o[1])]=n(o[2]), +o=t.exec(e);return a}function r(){return o(window.location.search.substring(1))}function i(e){const t=[];for(const a in e)e.hasOwnProperty(a)&&null!=e[a]&&t.push({key:a,pair:encodeURIComponent(a)+"="+encodeURIComponent(e[a])});return t.sort((e,t)=>e.key>t.key?1:e.keye.pair).join("&")}a.d(t,{getUrlParams:()=>r,createUrlParams:()=>i})},23578:(e,t,a)=>{"use strict";a.d(t,{visitPaymentPage:()=>d});var n=a(28353),o=a(62046),r=a(52953),i=a(78540),s=a(76266),l=a(42879),u=a(17136),c=a(78820);function d(e="y",t={}){var a;const d=null!==(a=t.productName)&&void 0!==a?a:"pro",m=t.paymentMethod||"paypal",p="bitcoin"===m?"Bitcoin payment":"Paypal payment";window.runOrSignIn(async()=>{if(await(0,u.check)())return void(0,c.showRestrictedCountryNotificationDialog)();if("function"==typeof t.canVisit&&!t.canVisit())return void(location.href="/");if((0,s.isFeatureEnabled)("braintree-trial-implementation"))return void(0,r.showPaymentOrderDialog)({productId:t.productName,billingCycle:t.exchangesOnly?i.BillingCycle.Monthly:e,fixedCycle:t.fixedCycle,statusExtraData:t.exchangesExpanded?l.StatusExtraData.Enable:void 0});const a=(0,o.parseHtmlElement)(`
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    `);a&&(document.body.appendChild(a),a.submit())},{source:p,paidAccountCheck:window.pro&&window.pro.getProduct(d).type===window.pro.PRODUCT_TYPES.pro_plan,paidAccountSuccessButtonText:(0,n.t)("Continue purchasing")})}},39640:(e,t,a)=>{"use strict";function n(e,t,a,n,o){function r(o){if(e>o.timeStamp)return;const r=o.target;void 0!==a&&null!==t&&null!==r&&r.ownerDocument===n&&(t.contains(r)||a(o))}return o.click&&n.addEventListener("click",r,!1),o.mouseDown&&n.addEventListener("mousedown",r,!1),o.touchEnd&&n.addEventListener("touchend",r,!1),o.touchStart&&n.addEventListener("touchstart",r,!1),()=>{n.removeEventListener("click",r,!1),n.removeEventListener("mousedown",r,!1),n.removeEventListener("touchend",r,!1),n.removeEventListener("touchstart",r,!1)}}a.d(t,{addOutsideEventListener:()=>n})},74664:(e,t,a)=>{"use strict";a.d(t,{breakpoints:()=>n,mobileFirstBreakpoints:()=>o,mobileFirstLegacyBreakpoints:()=>r});const n={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019},o={base:0,"media-mf-phone-vertical":320,"media-mf-phone-landscape":568,"media-mf-tablet-vertical":768,"media-mf-tablet-landscape":1024,"media-mf-laptop":1280,"media-mf-desktop-medium":1440,"media-mf-desktop-large":1920, +"media-mf-desktop-extra-large":2560},r={"media-mf-legacy-phone-vertical":330,"media-mf-legacy-phone":480,"media-mf-legacy-notebook":1020,"media-mf-legacy-desktop-medium":1480,"media-mf-legacy-desktop":1531}},68722:(e,t,a)=>{"use strict";a.d(t,{getScrollbarWidth:()=>n,matchMediaMinMax:()=>o,setStyle:()=>r,getCSSProperty:()=>i,getCSSPropertyNumericValue:()=>s});const n=(()=>{let e;return()=>{var t;if(void 0===e){const a=document.createElement("div"),n=a.style;n.visibility="hidden",n.width="100px",n.msOverflowStyle="scrollbar",document.body.appendChild(a);const o=a.offsetWidth;a.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",a.appendChild(r);const i=r.offsetWidth;null===(t=a.parentNode)||void 0===t||t.removeChild(a),e=o-i}return e}})();function o(e,t){return t===1/0?window.matchMedia(`(min-width: ${e}px)`):window.matchMedia(`(min-width: ${e}px) and (max-width: ${t}px)`)}function r(e,t,a){null!==e&&e.style.setProperty(t,a)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function s(e,t){return parseInt(i(e,t))}},43989:(e,t,a)=>{"use strict";a.d(t,{setFixedBodyState:()=>i});var n=a(68722);let o=0,r=!1;function i(e){const{body:t}=document,a=t.querySelector(".widgetbar-wrap");if(e&&1==++o){const e=(0,n.getCSSProperty)(t,"overflow"),o=(0,n.getCSSPropertyNumericValue)(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&((0,n.setStyle)(a,"right",(0,n.getScrollbarWidth)()+"px"),t.style.paddingRight=o+(0,n.getScrollbarWidth)()+"px",r=!0),t.classList.add("i-no-scroll")}else if(!e&&o>0&&0==--o&&(t.classList.remove("i-no-scroll"),r)){(0,n.setStyle)(a,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=(0,n.getScrollbarWidth)()),t.style.paddingRight=(e<0?0:e)+"px",r=!1}}},91955:(e,t,a)=>{"use strict";async function n(){if(!window.user||window.user.do_not_track)return null;{const e=(await Promise.all([a.e(2917),a.e(4081)]).then(a.bind(a,98491))).getTrackerInstance();return e||null}}a.d(t,{getTracker:()=>n})},95695:(e,t,a)=>{"use strict";a.d(t,{default:()=>r});var n=a(51768);const o={filterNamesMap:{script_type:"Indicators and Strategies","script_type-indicators":"Indicators","script_type-strategies":"Strategies",stream:"All Markets","stream-stocks":"Stocks","stream-indices":"Indices","stream-commodities":"Commodities","stream-currencies":"Currencies","stream-bitcoin":"Bitcoin","interval-all":"All Intervals","interval-m":"Short Term","interval-h":"Medium Term","interval-dwm":"Long Term","sort-unmoderated":"Unmoderated","sort-trending":"Trending","sort-discussed":"Most Discussed","sort-viewed":"Most Viewed","sort-agreed":"Most Agreed","sort-suggested":"Suggested","sort-recent":"All Ideas","time-day":"Today","time-week":"This Week","time-month":"This Month","time-all":"All Time","by-everyone":"Everyone","by-following":"Following","by-me":"My Ideas"},goProFeaturesMap:{customIntervals:"Add Custom Interval",intradaySpread:"Inraday Spread",kagiRenko:"Japanese Intraday Chart",alerts:{prefix:"New Alerts Limit",widget:"Widget",chart:"Chart Header"}, +multipleCharts:"Multiple Charts Layout",savedChartsLimit:"Save Chart Limit",studyLimit:"Studies Limit",multipleWatchLists:{prefix:"Watchlists",new:"Create New List",rename:"Rename List",saveAs:"Save List As"},importWatchlist:"Watchlists Import Watchlist",exportWatchlist:"Watchlists Export Watchlist",BATSExchangePopup:"BATS Exchange Popup",DataQualityPopup:"Data Quality Popup",FreeDelayPopup:"Free Delay Popup",proRTProduct:"Volume Profile",studyOnStudy:"Unlimited Study on Study"},trackFeature:{savedChartsLimit:!0,BATSExchangePopup:!0,FreeDelayPopup:!0,DataQualityPopup:!0,intradaySpread:!0,studyOnStudy:!0},trackGoPro:function(e,t,a){a&&!t&&(t=a,a=null);var r=o.goProFeaturesMap[t];if(r){if(a){if("string"==typeof r)return;r="{0} {1}".format(r.prefix,r[a])}(0,n.trackEvent)(e,r)}}},r=o},87463:(e,t,a)=>{"use strict";a.r(t),a.d(t,{trackGoProFeature:()=>o});var n=a(95695);function o(e,t){n.default.trackGoPro("Gopro Features",e,t)}},67844:(e,t,a)=>{"use strict";a.d(t,{CloseButton:()=>n.CloseButton});var n=a(35582)},3767:(e,t,a)=>{"use strict";a.d(t,{Modal:()=>c});var n=a(59496),o=a(97754),r=a(98526),i=a(86431),s=a(76594),l=a(21935);class u extends n.PureComponent{constructor(){super(...arguments),this._containerRef=null,this._handleContainerRef=e=>{this._containerRef=e}}componentDidMount(){var e;this.props.autofocus&&(null===(e=this._containerRef)||void 0===e||e.focus())}render(){const{zIndex:e,onClickOutside:t,children:a,className:i}=this.props;return n.createElement("div",{ref:this._handleContainerRef,style:{zIndex:e},"data-dialog-name":this.props["data-dialog-name"],tabIndex:-1},n.createElement("div",{className:l.backdrop}),n.createElement("div",{className:l.wrap},n.createElement("div",{className:l.container},n.createElement(s.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:t},e=>n.createElement("div",{className:l.modal,ref:e},n.createElement(r.Dialog,{...this.props,className:o(i,l.dialog)},a))))))}}u.defaultProps={width:500};const c=(0,i.makeOverlapable)(u)},37005:(e,t,a)=>{"use strict";a.d(t,{useFixedBody:()=>r});var n=a(59496),o=a(43989);function r(){(0,n.useEffect)(()=>((0,o.setFixedBodyState)(!0),()=>{(0,o.setFixedBodyState)(!1)}),[])}},58095:(e,t,a)=>{"use strict";a.d(t,{useOutsideEvent:()=>r});var n=a(59496),o=a(39640);function r(e){const{click:t,mouseDown:a,touchEnd:r,touchStart:i,handler:s,reference:l,ownerDocument:u=document}=e,c=(0,n.useRef)(null),d=(0,n.useRef)(new CustomEvent("timestamp").timeStamp);return(0,n.useLayoutEffect)(()=>{const e={click:t,mouseDown:a,touchEnd:r,touchStart:i},n=l?l.current:c.current;return(0,o.addOutsideEventListener)(d.current,n,s,u,e)},[t,a,r,i,s]),l||c}},77975:(e,t,a)=>{"use strict";a.d(t,{useWatchedValueReadonly:()=>o});var n=a(59496);const o=(e,t=!1)=>{const a="watchedValue"in e?e.watchedValue:void 0,o="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[r,i]=(0,n.useState)(a?a.value():o);return(t?n.useLayoutEffect:n.useEffect)(()=>{if(a){i(a.value());const e=e=>i(e);return a.subscribe(e),()=>a.unsubscribe(e)}return()=>{}},[a]),r}},9481:(e,t,a)=>{"use strict";a.d(t,{ +KeyboardDocumentListener:()=>o});var n=a(59496);class o extends n.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},90692:(e,t,a)=>{"use strict";a.d(t,{MatchMedia:()=>o});var n=a(59496);class o extends n.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)}}},76594:(e,t,a)=>{"use strict";a.d(t,{OutsideEvent:()=>o});var n=a(58095);function o(e){const{children:t,...a}=e;return t((0,n.useOutsideEvent)(a))}},88216:(e,t,a)=>{"use strict";a.d(t,{OverlapManager:()=>r,getRootOverlapManager:()=>s});var n=a(88537);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 r{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,a=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach(e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)})}(t,a),this._container=a}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const a=this._windows.get(e);if(void 0!==a)return a;this.registerWindow(e);const n=this._document.createElement("div");if(n.style.position=t.position,n.style.zIndex=this._index.toString(),n.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(n);else if(t.index<=0)this._container.insertBefore(n,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(n,e)}}else"reverse"===t.direction?this._container.insertBefore(n,this._container.firstChild):this._container.appendChild(n);return this._windows.set(e,n),++this._index,n}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 i=new WeakMap;function s(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,n.ensureDefined)(i.get(t));{const t=new r(e),a=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 i.set(a,t),t.setContainer(a),e.body.appendChild(a),t}}},86431:(e,t,a)=>{"use strict";a.d(t,{makeOverlapable:()=>r});var n=a(59496),o=a(65718);function r(e){return class extends n.PureComponent{render(){const{isOpened:t,root:a}=this.props;if(!t)return null;const r=n.createElement(e,{...this.props,zIndex:150});return"parent"===a?r:n.createElement(o.Portal,null,r)}}}},65718:(e,t,a)=>{"use strict";a.d(t,{Portal:()=>l,PortalContext:()=>u});var n=a(59496),o=a(87995),r=a(9423),i=a(88216),s=a(50655);class l extends n.PureComponent{constructor(){super(...arguments),this._uuid=(0,r.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(n.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}l.contextType=s.SlotContext;const u=n.createContext(null)},50655:(e,t,a)=>{"use strict";a.d(t,{Slot:()=>o,SlotContext:()=>r});var n=a(59496);class o extends n.Component{shouldComponentUpdate(){return!1}render(){return n.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const r=n.createContext(null)},64120:e=>{e.exports=''},12565:e=>{e.exports=''},95781:e=>{e.exports=''},7801:e=>{e.exports=''},33584:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/gopro-order-dialog.a9d6c7f1fa03844e1cfb.js b/charting_library/bundles/gopro-order-dialog.a9d6c7f1fa03844e1cfb.js new file mode 100644 index 00000000..aff9ad2c --- /dev/null +++ b/charting_library/bundles/gopro-order-dialog.a9d6c7f1fa03844e1cfb.js @@ -0,0 +1,59 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8357],{15746:e=>{e.exports={badge:"badge-yHuWj4ze",content:"content-yHuWj4ze",anchor:"anchor-yHuWj4ze",button:"button-yHuWj4ze","size-xsmall":"size-xsmall-yHuWj4ze","size-small":"size-small-yHuWj4ze","size-medium":"size-medium-yHuWj4ze","size-large":"size-large-yHuWj4ze","size-xlarge":"size-xlarge-yHuWj4ze"}},88755:e=>{e.exports={"light-button-group":"light-button-group-7mI4HslZ"}},14488:e=>{e.exports={"light-button":"light-button-1f5iHRsw","disable-cursor-pointer":"disable-cursor-pointer-1f5iHRsw",content:"content-1f5iHRsw","ellipsis-container":"ellipsis-container-1f5iHRsw",icon:"icon-1f5iHRsw","variant-primary":"variant-primary-1f5iHRsw","color-gray":"color-gray-1f5iHRsw","size-small":"size-small-1f5iHRsw","force-direction-ltr":"force-direction-ltr-1f5iHRsw","force-direction-rtl":"force-direction-rtl-1f5iHRsw","with-grouped":"with-grouped-1f5iHRsw","variant-quiet-primary":"variant-quiet-primary-1f5iHRsw",selected:"selected-1f5iHRsw","typography-small":"typography-small-1f5iHRsw","typography-medium":"typography-medium-1f5iHRsw","with-start-icon":"with-start-icon-1f5iHRsw","with-end-icon":"with-end-icon-1f5iHRsw","no-content":"no-content-1f5iHRsw",caret:"caret-1f5iHRsw","disable-active-state-styles":"disable-active-state-styles-1f5iHRsw","size-medium":"size-medium-1f5iHRsw","color-green":"color-green-1f5iHRsw","color-red":"color-red-1f5iHRsw","variant-secondary":"variant-secondary-1f5iHRsw","variant-ghost":"variant-ghost-1f5iHRsw"}},57336:e=>{e.exports={"text-button":"text-button-jmRlvG08",content:"content-jmRlvG08","text-button-brand-small":"text-button-brand-small-jmRlvG08",background:"background-jmRlvG08","with-start-icon":"with-start-icon-jmRlvG08","with-end-icon":"with-end-icon-jmRlvG08","start-icon":"start-icon-jmRlvG08","end-icon":"end-icon-jmRlvG08",selected:"selected-jmRlvG08",caret:"caret-jmRlvG08","text-button-brand-medium":"text-button-brand-medium-jmRlvG08","text-button-brand-large":"text-button-brand-large-jmRlvG08","text-button-gray-small":"text-button-gray-small-jmRlvG08","text-button-gray-medium":"text-button-gray-medium-jmRlvG08","text-button-gray-large":"text-button-gray-large-jmRlvG08"}},79370:e=>{e.exports={group:"group-7eb3l0ph"}},69599:e=>{e.exports={container:"container-PxtBx6dp","container-danger":"container-danger-PxtBx6dp",icon:"icon-PxtBx6dp",header:"header-PxtBx6dp","container-warning":"container-warning-PxtBx6dp","container-success":"container-success-PxtBx6dp","container-default":"container-default-PxtBx6dp","text-wrap":"text-wrap-PxtBx6dp","close-button":"close-button-PxtBx6dp"}},1365:e=>{e.exports={"agreement-switch":"agreement-switch-xGfsY7aB",legend:"legend-xGfsY7aB","error-wrapper":"error-wrapper-xGfsY7aB","error-icon":"error-icon-xGfsY7aB","switch-group":"switch-group-xGfsY7aB"}},12032:e=>{e.exports={checkbox:"checkbox-PDtI2r2Z","error-wrapper":"error-wrapper-PDtI2r2Z","error-icon":"error-icon-PDtI2r2Z"}},51556:e=>{e.exports={occupation:"occupation-GVt2ue8G","nothing-selected":"nothing-selected-GVt2ue8G", +"occupation-menu":"occupation-menu-GVt2ue8G"}},55315:e=>{e.exports={"subscribers-inputs":"subscribers-inputs-okfUHTUP",dropdown:"dropdown-okfUHTUP","country-select-container":"country-select-container-okfUHTUP"}},74660:e=>{e.exports={page:"page-RRWggudg",sheet:"sheet-RRWggudg","page-title":"page-title-RRWggudg","page-sub-title":"page-sub-title-RRWggudg","exchange-agreement-description":"exchange-agreement-description-RRWggudg","exchange-file-link":"exchange-file-link-RRWggudg","section-title":"section-title-RRWggudg","section-terms-description":"section-terms-description-RRWggudg","questions-title":"questions-title-RRWggudg",questions:"questions-RRWggudg",question:"question-RRWggudg",actions:"actions-RRWggudg","checkbox-margin":"checkbox-margin-RRWggudg","accept-terms-checkbox-margin":"accept-terms-checkbox-margin-RRWggudg"}},14333:e=>{e.exports={container:"container-13Vfp93l",switcher:"switcher-13Vfp93l","arrow-curve":"arrow-curve-13Vfp93l",emoji:"emoji-13Vfp93l",nowrap:"nowrap-13Vfp93l"}},99925:e=>{e.exports={label:"label-GH2s1rfd"}},74364:e=>{e.exports={button:"button-oKQ8GSG1",link:"link-oKQ8GSG1"}},86326:e=>{e.exports={cardDescription:"cardDescription-nrU0JU6d"}},42155:e=>{e.exports={wrapperFeatures:"wrapperFeatures-YtR0Roin",padding:"padding-YtR0Roin card-padding-ErxLIKiI",titleFeatures:"titleFeatures-YtR0Roin",listFeatures:"listFeatures-YtR0Roin",itemFeatures:"itemFeatures-YtR0Roin",tooltipIcon:"tooltipIcon-YtR0Roin",tooltipTitle:"tooltipTitle-YtR0Roin"}},64790:e=>{e.exports={label:"label-HkY0BJBZ",icon:"icon-HkY0BJBZ",discount:"discount-HkY0BJBZ",gift:"gift-HkY0BJBZ","no-active-card":"no-active-card-HkY0BJBZ","label-discount-upsell":"label-discount-upsell-HkY0BJBZ","label-discount--pro":"label-discount--pro-HkY0BJBZ","label-discount--pro_realtime":"label-discount--pro_realtime-HkY0BJBZ","label-discount--pro_premium":"label-discount--pro_premium-HkY0BJBZ","label-gift--pro":"label-gift--pro-HkY0BJBZ","label-gift--pro_realtime":"label-gift--pro_realtime-HkY0BJBZ","label-gift--pro_premium":"label-gift--pro_premium-HkY0BJBZ"}},63332:e=>{e.exports={cardTitle:"cardTitle-omURZg64"}},84895:e=>{e.exports={"card-padding":"card-padding-ErxLIKiI",card:"card-ErxLIKiI card-padding-ErxLIKiI",button:"button-ErxLIKiI",cardLayout:"cardLayout-ErxLIKiI"}},70191:e=>{e.exports={"border-radius":"12px","cards-wrap":"cards-wrap-QQXm7yVo",cards:"cards-QQXm7yVo","cards-scroll-wrap":"cards-scroll-wrap-QQXm7yVo","secondary-action-sizes":"secondary-action-sizes-QQXm7yVo","has-active":"has-active-QQXm7yVo","top-0":"top-0-QQXm7yVo","is-active":"is-active-QQXm7yVo","top-1":"top-1-QQXm7yVo","bottom-0":"bottom-0-QQXm7yVo","bottom-1":"bottom-1-QQXm7yVo",top:"top-QQXm7yVo","top-2":"top-2-QQXm7yVo",bottom:"bottom-QQXm7yVo","bottom-2":"bottom-2-QQXm7yVo"}},3412:e=>{e.exports={"change-trial":"change-trial-ntk0pgwQ secondary-action-sizes-QQXm7yVo","current-trial":"current-trial-ntk0pgwQ secondary-action-sizes-QQXm7yVo"}},71360:e=>{e.exports={"info-icon":"info-icon-PvYAVz99","info-icon-wrap":"info-icon-wrap-PvYAVz99",label:"label-PvYAVz99", +"tooltip-wrap":"tooltip-wrap-PvYAVz99"}},9716:e=>{e.exports={offerPrice:"offerPrice-wCGVDggm",measure:"measure-wCGVDggm",mainPrice:"mainPrice-wCGVDggm","color-red":"color-red-wCGVDggm",mainPriceLetter:"mainPriceLetter-wCGVDggm",sup:"sup-wCGVDggm","color-green":"color-green-wCGVDggm"}},33848:e=>{e.exports={description:"description-d5Tocwga secondary-action-sizes-QQXm7yVo",link:"link-d5Tocwga"}},84235:e=>{e.exports={skipTrial:"skipTrial-7OCYXd1m secondary-action-sizes-QQXm7yVo",link:"link-7OCYXd1m"}},96644:e=>{e.exports={container:"container-5CQYJZ9F",text:"text-5CQYJZ9F",icon:"icon-5CQYJZ9F"}},29201:e=>{e.exports={icon:"icon-mrROUtv5"}},31976:e=>{e.exports={"border-radius":"12px","under-cards":"under-cards-5bi7tudm"}},228:e=>{e.exports={badge:"badge-3HaOrC7Y",stocks:"stocks-3HaOrC7Y",futures:"futures-3HaOrC7Y",indices:"indices-3HaOrC7Y",currency:"currency-3HaOrC7Y",certificates:"certificates-3HaOrC7Y",cryptocurrency:"cryptocurrency-3HaOrC7Y"}},22020:e=>{e.exports={title:"title-vrUcGhJD",secondary:"secondary-vrUcGhJD",link:"link-vrUcGhJD"}},75246:e=>{e.exports={title:"title-vjlx3nMq",secondary:"secondary-vjlx3nMq",titleContainer:"titleContainer-vjlx3nMq"}},6331:e=>{e.exports={container:"container-1PoDYo3m","dropdown-item":"dropdown-item-1PoDYo3m",icon:"icon-1PoDYo3m"}},59353:e=>{e.exports={next:"next-1Ts5vcta"}},23078:e=>{e.exports={"padding-top-notebook":"105px",cart:"cart-bjdgLkZK","purchase-info":"purchase-info-bjdgLkZK","mobile-opened":"mobile-opened-bjdgLkZK","row-layout":"row-layout-bjdgLkZK","product-name":"product-name-bjdgLkZK","product-cost":"product-cost-bjdgLkZK",productTrial:"productTrial-bjdgLkZK","mobile-total-title":"mobile-total-title-bjdgLkZK","mobile-total-cost":"mobile-total-cost-bjdgLkZK",actions:"actions-bjdgLkZK",withPaymentDropdown:"withPaymentDropdown-bjdgLkZK","mobile-wrapper":"mobile-wrapper-bjdgLkZK","mobile-wrapper-opened":"mobile-wrapper-opened-bjdgLkZK","mobile-total":"mobile-total-bjdgLkZK","caret-button":"caret-button-bjdgLkZK","header-caret-button":"header-caret-button-bjdgLkZK",icon:"icon-bjdgLkZK",dropped:"dropped-bjdgLkZK"}},73015:e=>{e.exports={badge:"badge-35MDaV7L",description:"description-35MDaV7L","product-name":"product-name-35MDaV7L"}},15359:e=>{e.exports={exchanges:"exchanges-hTiOOCdh"}},658:e=>{e.exports={"next-payment-info":"next-payment-info-bDg2DFsp"}},83110:e=>{e.exports={"purchase-info":"purchase-info-8I7iMxAC","cart-section":"cart-section-8I7iMxAC","exchange-item":"exchange-item-8I7iMxAC",total:"total-8I7iMxAC","total-title":"total-title-8I7iMxAC","total-cost":"total-cost-8I7iMxAC","billing-freq":"billing-freq-8I7iMxAC",highlightTitle:"highlightTitle-8I7iMxAC",highlight:"highlight-8I7iMxAC","product-trial":"product-trial-8I7iMxAC","cost-trial":"cost-trial-8I7iMxAC","total-tax":"total-tax-8I7iMxAC"}},89989:e=>{e.exports={"row-layout":"row-layout-O7MPIjhm","row-name":"row-name-O7MPIjhm","row-value":"row-value-O7MPIjhm"}},84266:e=>{e.exports={"back-button-space":"20px","back-button":"back-button-ysmLHxY9",hidden:"hidden-ysmLHxY9",textButton:"textButton-ysmLHxY9", +"close-button":"close-button-ysmLHxY9"}},38823:e=>{e.exports={logo:"logo-jrIJiOY8"}},24169:e=>{e.exports={title:"title-X4q9jvDs",secondary:"secondary-X4q9jvDs",titleContainer:"titleContainer-X4q9jvDs"}},39908:e=>{e.exports={button:"button-c4OTPHT1"}},41285:e=>{e.exports={termsCheckboxesContainer:"termsCheckboxesContainer-IxYXs9Hp",nonProLable:"nonProLable-IxYXs9Hp",infoIcon:"infoIcon-IxYXs9Hp"}},90514:e=>{e.exports={title:"title-i6YYU4Ty",description:"description-i6YYU4Ty"}},58751:e=>{e.exports={"highlight-wrap":"highlight-wrap-iKO7WU8n","highligh-extra-data":"highligh-extra-data-iKO7WU8n","payment-highlight-light":"payment-highlight-light-iKO7WU8n","payment-highlight-dark":"payment-highlight-dark-iKO7WU8n"}},40893:e=>{e.exports={"back-button-space":"20px","padding-top-notebook":"105px",dialog:"dialog-ekStf8bO","open-animation":"open-animation-ekStf8bO","dialog-section":"dialog-section-ekStf8bO","two-column":"two-column-ekStf8bO","one-column":"one-column-ekStf8bO",body:"body-ekStf8bO",main:"main-ekStf8bO",mainMobile:"mainMobile-ekStf8bO",cart:"cart-ekStf8bO",hidden:"hidden-ekStf8bO"}},10287:e=>{e.exports={"billing-cycle-item":"billing-cycle-item-1JAaqBgk","billing-cycle":"billing-cycle-1JAaqBgk",description:"description-1JAaqBgk",highlight:"highlight-1JAaqBgk",price:"price-1JAaqBgk","full-price":"full-price-1JAaqBgk",disabled:"disabled-1JAaqBgk"}},14724:e=>{e.exports={"billing-cycles":"billing-cycles-qU0k2PxV"}},21810:e=>{e.exports={"vertical-alignment-height":"vertical-alignment-height-z3YnaYkd",wrapper:"wrapper-z3YnaYkd",container:"container-z3YnaYkd",icon:"icon-z3YnaYkd",title:"title-z3YnaYkd",cheque:"cheque-z3YnaYkd",highlightBlock:"highlightBlock-z3YnaYkd",grid:"grid-z3YnaYkd",flex:"flex-z3YnaYkd",paymentInfo:"paymentInfo-z3YnaYkd",description:"description-z3YnaYkd",descriptionBlock:"descriptionBlock-z3YnaYkd",border:"border-z3YnaYkd",paddingRow:"paddingRow-z3YnaYkd",trialPaddingRow:"trialPaddingRow-z3YnaYkd",proPlanPaddingRow:"proPlanPaddingRow-z3YnaYkd",trialFirstPaddingRow:"trialFirstPaddingRow-z3YnaYkd",exchangesListWrapper:"exchangesListWrapper-z3YnaYkd",productText:"productText-z3YnaYkd",wrapperTotalCost:"wrapperTotalCost-z3YnaYkd",total:"total-z3YnaYkd",totalCost:"totalCost-z3YnaYkd",button:"button-z3YnaYkd",tax:"tax-z3YnaYkd","trial-tax":"trial-tax-z3YnaYkd","product-trial":"product-trial-z3YnaYkd","cost-trial":"cost-trial-z3YnaYkd"}},11264:e=>{e.exports={container:"container-jJ28DorJ",icon:"icon-jJ28DorJ",title:"title-jJ28DorJ",description:"description-jJ28DorJ",button:"button-jJ28DorJ"}},30649:e=>{e.exports={container:"container-XzdX3itL",icon:"icon-XzdX3itL",title:"title-XzdX3itL",descriptionBlock:"descriptionBlock-XzdX3itL"}},37438:e=>{e.exports={container:"container-gg7uxeBC"}},46248:e=>{e.exports={button:"button-RmahEtr8",item:"item-RmahEtr8",title:"title-RmahEtr8",description:"description-RmahEtr8"}},51491:e=>{e.exports={list:"list-YclYOAXu",item:"item-YclYOAXu","item-disabled":"item-disabled-YclYOAXu",info:"info-YclYOAXu",checkbox:"checkbox-YclYOAXu",title:"title-YclYOAXu", +"exchange-name":"exchange-name-YclYOAXu",exchangeBadge:"exchangeBadge-YclYOAXu",flag:"flag-YclYOAXu",description:"description-YclYOAXu",prices:"prices-YclYOAXu",price:"price-YclYOAXu",month:"month-YclYOAXu",year:"year-YclYOAXu","resident-price":"resident-price-YclYOAXu",infoIcon:"infoIcon-YclYOAXu",tooltipTitle:"tooltipTitle-YclYOAXu",infoIconContainer:"infoIconContainer-YclYOAXu",spinner:"spinner-YclYOAXu",badge:"badge-YclYOAXu"}},60033:e=>{e.exports={footer:"footer-ENI3UToR",info:"info-ENI3UToR",title:"title-ENI3UToR",text:"text-ENI3UToR",description:"description-ENI3UToR","description-logo":"description-logo-ENI3UToR","ice-icon":"ice-icon-ENI3UToR",icon:"icon-ENI3UToR"}},14284:e=>{e.exports={info:"info-Y4tMc12a",link:"link-Y4tMc12a",text:"text-Y4tMc12a",informer:"informer-Y4tMc12a"}},28672:e=>{e.exports={group:"group-kxBajQCf",switcher:"switcher-kxBajQCf",margin:"margin-kxBajQCf",tabs:"tabs-kxBajQCf"}},76221:e=>{e.exports={swithcherContainer:"swithcherContainer-OB6hG3Dv"}},78365:e=>{e.exports={cards:"cards-xDk5tnZJ",container:"container-xDk5tnZJ","vertical-alignment-height":"vertical-alignment-height-xDk5tnZJ","block-wrap":"block-wrap-xDk5tnZJ"}},71323:e=>{e.exports={swithcherContainer:"swithcherContainer-RrUqgK2t",trialSubtitle:"trialSubtitle-RrUqgK2t",changeTrialTerms:"changeTrialTerms-RrUqgK2t"}},75223:e=>{e.exports={childrenWrapper:"childrenWrapper-W0mNxTYg",shown:"shown-W0mNxTYg",loader:"loader-W0mNxTYg"}},87823:e=>{e.exports={"back-button":"back-button-837Z5B3u",icon:"icon-837Z5B3u","button-m":"button-m-837Z5B3u"}},17946:(e,t,n)=>{"use strict";n.d(t,{CustomBehaviourContext:()=>a,presetDefault:()=>r,presetPlatform:()=>o});const a=(0,n(59496).createContext)({enablePointerOnHover:!0,enableActiveStateStyles:!0}),r={enableActiveStateStyles:!0,enablePointerOnHover:!0},o={enableActiveStateStyles:!1,enablePointerOnHover:!1}},21310:(e,t,n)=>{"use strict";n.d(t,{Informer:()=>p});var a=n(59496),r=n(97754),o=n(9745),i=n(35582),c=n(79704),l=n(26),s=n(87172),u=n(69599),d=n.n(u);const m={danger:c,warning:c,success:s,default:l};function p(e){const{informerIntent:t,content:n,className:c,header:l,isIconShown:s=!0,isCloseButtonShown:u,icon:p,onCloseClick:g,closeButtonLabel:h="Close"}=e;return a.createElement("div",{className:r(d().container,d()["container-"+t],c)},s&&a.createElement(o.Icon,{className:d().icon,icon:null!=p?p:m[t]}),a.createElement("div",{className:d()["text-wrap"]},a.createElement("span",{className:d().header},l)," ",n),u&&a.createElement(i.CloseButton,{"aria-label":h,onClick:g,className:d()["close-button"],size:"xs"}))}},9168:(e,t,n)=>{"use strict";var a;n.d(t,{ExchangeDataType:()=>a}),function(e){e.Stocks="stocks",e.Indices="indices",e.Futures="futures",e.Currency="currency",e.Certificates="certificates",e.Cryptocurrency="cryptocurrency",e.Bist100="bist_100",e.Bist30="bist_30",e.Rofex20="rofex_20"}(a||(a={}))},1787:(e,t,n)=>{"use strict";n.d(t,{solutionIds:()=>a}) +;const a=JSON.parse('{"EXTENDED_HOURS":43000502023,"PRE_MARKET":43000502023,"POST_MARKET":43000502023,"SPREAD_CHARTS":43000502298,"ALERTS":43000520149,"ALERT_ON_STRATEGY":43000481368,"ALERT_WEBHOOK":43000529348,"ALERT_DESCRIPTION_PLACEHOLDER":43000531021,"VOLUME_PROFILE":43000502040,"VOLUME_PROFILE_INDICATOR":43000557450,"RENKO":43000502284,"KAGI":43000502272,"LINE_BREAK":43000502273,"PNF":43000502276,"FINANCIAL_DATA":43000543506,"BROKER_RATING":43000542490,"CRYPTO_MARKET_CAP":43000540941,"CRYPTO_PAYMENT":43000485536,"ALERT_ON_SPREAD":43000478406,"ALERT_ON_CUSTOM_SCRIPT":43000478415,"ALERT_FUNCTION":43000597494,"SMS_VERIFICATION":43000553429,"MAGNET_MODE":43000537270,"PINE_CANNOT_DETERMINE":43000587849,"PRIVACY_SETTINGS":43000548335,"PUBLICATION_TYPE":43000609497,"SCRIPT_ACCESS":43000482573,"MEMORY_LIMITS_EXCEEDED":43000590233,"FREE_USER_FAQS":43000590947,"STRATEGY_UNREALISTIC_RESULTS":43000481029,"STRATEGY_FUTURE_DATA":43000614705,"STREAM_RULES":43000591348,"HOW_TO_USE_PAPER":43000516466,"HOW_TO_USE_CQG":43000516372,"HOW_TO_USE_OANDA":43000516375,"HOW_TO_USE_FOREXCOM":43000516374,"FAVORITE_IDEA":43000555216,"YOUTUBE_ERROR":43000612153,"AUTHORS_INSTRUCTIONS_PUBCLICATION":43000549951,"AUTHORS_INSTRUCTIONS_EDIT":43000614618,"SCRIPT_INSTRUCTIONS":43000482573,"BAR_REPLAY_UNAVAILABILITY":43000475470,"WHAT_IS_CBOE_BZX_EXCHANGE":43000473924,"GOPRO_UPGRADE_DESCRIPTION":43000473324,"GOPRO_DOWNGRADE_DESCRIPTION":43000485437,"BROKERAGE_REVIEWS":43000591351,"CHANGE_SUBSCRIPTION":43000635806,"PINE_LIBRARY_INFO":43000638371,"HOW_TO_CREATE_A_STREAM":43000560174,"HOW_DO_I_UPDATE_DESKTOP_APP":43000647779,"TECHNICAL_RATINGS":43000614331,"BACKTESTING_WIDGET":43000561856,"DEEP_BACKTESTING_WIDGET":43000670566,"DEEP_BACKTESTING":43000666199,"DEEP_BACKTESTING_AVAILABLE_DATA":43000668210}')},57229:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bannerPrivacyPreferenceKey:()=>p,checkCookiePolicy:()=>f,cookieBannerDelegate:()=>g,initCookiesNotification:()=>b,oldBannerKey:()=>m,onAccept:()=>y,removeOldCookieBannerKey:()=>h,showCookiesNotification:()=>C});var a=n(11417),r=n(84015),o=(n(51872),n(81836)),i=n(46433),c=n(85198);const l=(0,n(98125).getLogger)("User.GeoInfo");let s;var u=n(98999),d=n(11542);const m="cookieBanner",p="cookiePrivacyPreferenceBanner",g=(0,o.createDeferredPromise)();function h(){return a.TVLocalStorage.removeItem(m)}function f(e){return"accepted"===a.TVLocalStorage.getItem(e)||"notApplicable"===a.TVLocalStorage.getItem(e)}function y(){a.TVLocalStorage.setItem(p,"accepted")}let v=!1;async function C(){if(v)return;v=!0;const e=await Promise.all([n.e(5514),n.e(8463),n.e(8844),n.e(4408),n.e(1253),n.e(6464),n.e(5064),n.e(724),n.e(9255),n.e(9957),n.e(8869)]).then(n.bind(n,44598));await e.showCookiesNotification()&&(y(),(0,d.trackCookies)("click","accept_all")),v=!1}async function b(){var e;const t=document.querySelector(".js-main-page-promo-container");if(!f(p)&&!(0,r.isOnMobileAppPage)("any")){t||g.resolve();if((null===(e=(0, +i.getFreshInitData)().currentLocaleInfo)||void 0===e?void 0:e.is_in_european_union)||"ignored"===a.TVLocalStorage.getItem(p))return g.promise.then(()=>C());{const e=await(void 0!==s||(s=(0,c.fetch)("/check_language/",{method:"POST"}).then(e=>{if(e.ok)return e.json();throw new Error(e.statusText)}).catch(e=>(l.logWarn(e.message),{}))),s);if(e.is_in_european_union||(n=e.country_code,["is","li","no","uk"].includes(n)))return a.TVLocalStorage.setItem(p,"ignored"),g.promise.then(()=>C());a.TVLocalStorage.setItem(p,"notApplicable"),(0,u.setCookieSetting)(u.CookieSettings.Analytics,!0),(0,u.setCookieSetting)(u.CookieSettings.Advertising,!0)}}var n}},23651:(e,t,n)=>{"use strict";n.d(t,{getPrice:()=>l});var a=n(85198),r=n(10878);const o=(0,n(98125).getLogger)("Payment.Price");class i{constructor(){this._cache={}}get(e){const t=this._getKey(e);return t in this._cache?this._cache[t]:void 0}add(e,t){this._cache[this._getKey(e)]=t}static getInstance(){return i._instance||(i._instance=new i),i._instance}_getKey(e){const{productId:t,billingCycle:n="",country_code_alpha2:a="",region:r="",postal_code:o="",locality:i="",currency:c,withTax:l}=e;return`${t}_${n}_${a}_${c}_${r}_${o}_${i}_${l?"tax":""}`}}class c{constructor(){this._cache={}}getCache(e){return e in this._cache||(this._cache[e]=i.getInstance()),this._cache[e]}static getInstance(){return c._instance||(c._instance=new c),c._instance}}async function l(e){const{products:t,billingCycle:n,billingAddress:i,currency:l=r.Currencies.Usd,withTax:s=!1}=e,u=c.getInstance().getCache(l),d=[],m=[],p=s?i:{country_code_alpha2:i.country_code_alpha2};t.forEach(e=>{const t=u.get({productId:e,billingCycle:n,withTax:s,currency:l,...p});t?d.push(t):(m.push(e),d.push(null))});const g={products:m,billing_cycle:n,currency:l,billing_address:p,with_tax:s},h=await async function(e){if(0===e.products.length)return Promise.resolve({results:[]});const t=await(0,a.fetch)("/order/price/",{method:"POST",body:JSON.stringify(e),credentials:"include"});if(!t.ok){const e=await t.json(),n=Error(e.detail);throw n.name="ApiError:"+e.code,o.logError(e.detail),n}return t.json()}(g);m.forEach((e,t)=>{const a=h.results[t];a&&u.add({productId:e,billingCycle:n,withTax:s,currency:l,...p},a)});const f=[...h.results];return{results:d.map(e=>null!=e?e:f.shift())}}},18662:(e,t,n)=>{"use strict";n.d(t,{getDowngrade:()=>r,postDowngrade:()=>o,getUpgrade:()=>i,postUpgrade:()=>c,postTvcoinsProPlan:()=>l});var a=n(28353);async function r(e){const t=new URL("/pro-plans/downgrade/",window.location.href);t.searchParams.append("pro_plan",e.pro_plan),e.billing_cycle&&t.searchParams.append("billing_cycle",e.billing_cycle),e.offer&&t.searchParams.append("offer",e.offer);const n=await fetch(t.href);if(!n.ok){const e=await n.json(),t=Error(e.detail);throw t.name="ApiError:"+e.code,t}return n.json()}async function o(e){const t=new FormData;t.append("pro_plan",e.pro_plan),e.billing_cycle&&t.append("billing_cycle",e.billing_cycle),e.offer&&t.append("offer",e.offer);const n=await fetch("/pro-plans/downgrade/",{method:"POST", +credentials:"include",body:t});if(!n.ok){const e=await n.json();throw Error(e.detail)}return n.json()}async function i(e){const t=new URL("/pro-plans/upgrade/",window.location.href);t.searchParams.append("pro_plan",e.pro_plan),e.billing_cycle&&t.searchParams.append("billing_cycle",e.billing_cycle);const n=await fetch(t.href);if(!n.ok){const e=await n.json(),t=Error(e.detail);throw t.name="ApiError:"+e.code,t}return n.json()}async function c(e){const t=new FormData;t.append("pro_plan",e.pro_plan),e.billing_cycle&&t.append("billing_cycle",e.billing_cycle);const n=await fetch("/pro-plans/upgrade/",{method:"POST",credentials:"include",body:t});if(!n.ok){const e=await n.json();throw Error(e.detail)}return n.json()}async function l(e){const t=await fetch("/tvcoins/pro-plan/",{method:"POST",credentials:"include",body:JSON.stringify(e),headers:new Headers({"Content-Type":"application/json"})});if(!t.ok){const e=await t.json();if("failed_to_redeem"===e.code)throw Error((0,a.t)("Sorry, your subscription can’t currently be extended, downgraded or upgraded because your payment method doesn’t support recurring payments. Please head to profile settings to update your payment method, then try again."));throw Error(e.detail)}return t.json()}},11313:(e,t,n)=>{"use strict";function a(e){return Promise.all([n.e(5399),n.e(1865),n.e(1566)]).then(n.bind(n,55701)).then(t=>{t.changePlanDialog(e)})}n.d(t,{changePlanDialog:()=>a})},33040:(e,t,n)=>{"use strict";var a;n.d(t,{ChangePlanType:()=>a}),function(e){e[e.Downgrade=0]="Downgrade",e[e.Upgrade=1]="Upgrade",e[e.Reactivate=2]="Reactivate",e[e.TvcoinsUpgrade=3]="TvcoinsUpgrade",e[e.TvcoinsExtend=4]="TvcoinsExtend",e[e.Switch=5]="Switch"}(a||(a={}))},88930:(e,t,n)=>{"use strict";n.r(t),n.d(t,{openGoProOrderDialog:()=>di,openPaymentOrderDialog:()=>si});var a=n(59496),r=n(87995),o=n(83812),i=n(91955),c=n(9423),l=n(78540),s=n(93299);n(49483);class u{showAfterTimeout(e,t){!window.is_authenticated||s.OFFERS.trial in window.user.available_offers?this._timeoutId=setTimeout(async()=>{if(window.is_authenticated&&!(s.OFFERS.trial in window.user.available_offers))return void t();const{globalToasts:a}=await Promise.all([n.e(5064),n.e(4291)]).then(n.bind(n,56139));!async function(e,t,a){(await Promise.all([n.e(6464),n.e(2340),n.e(4278)]).then(n.bind(n,43159))).showTrialNotification(e,t,a)}(a,e,t)},3e4):t()}clear(){clearTimeout(this._timeoutId)}static getInstance(){return u._instance||(u._instance=new u),u._instance}}function d(){return u.getInstance()}var m=n(88216),p=n(53402);function g(e){return[s.OFFERS.early_access,s.OFFERS.last_chance,s.OFFERS.one_usd].some(t=>t in e)}function h(e,t,n){const a=null==n?void 0:n.billing_cycle;let r=e.isPaidPro()?l.BillingCycle.OneYear:a||l.BillingCycle.Monthly;const o=t.available_offers;return s.OFFERS.trial in o?r=l.BillingCycle.Monthly:s.OFFERS.early_access in o||s.OFFERS.six_months in o?r=l.BillingCycle.OneYear:g(o)?r=null!=a?a:l.BillingCycle.OneYear:a===l.BillingCycle.TwoYears&&(r=l.BillingCycle.TwoYears),r}function f(e,t){(0,i.getTracker)().then(n=>{ +null!==n&&n.trackGoproCardsClicks(e,t)})}var y=n(76974),v=n(2872),C=n.n(v),b=n(98125),E=n(28353),w=n(21097);const x=(0,b.getLogger)("SubscriptionNotification"),_="subscriptionPermissionHasChanged";var P;!function(e){e.Subscribe="subscribe",e.Unsubscribe="unsubscribe",e.Downgrade="downgrade",e.Upgrade="upgrade",e.Change="change"}(P||(P={}));class S{constructor(){this.stateChanged=new(C())}on(e,t){w.TVXWindowEvents.on(_,n=>{let a=null;try{a=JSON.parse(n)}catch(e){return void x.logWarn("Failed to parse JSON: "+n)}e!==P.Change&&e!==a.type||t(a)}),this.stateChanged.subscribe(null,n=>{e!==P.Change&&e!==n.type||t(n)})}showNotification(){n.e(870).then(n.bind(n,46224)).then(({showSubscriptionHasBeenChangedDialog:e})=>{e({pushReload:!0})})}showChartNotification(){n.e(870).then(n.bind(n,46224)).then(({showSubscriptionHasBeenChangedDialog:e})=>{e({content:E.t("You've upgraded your subscription. Please reload the chart to fire up the new changes.")})})}showBillingTimeoutNotification(){n.e(870).then(n.bind(n,46224)).then(({showSubscriptionHasBeenChangedDialog:e})=>{e({title:E.t("Subscription details are no longer valid"),content:E.t("You were inactive for a long period of time. Please refresh the page to see your subscription status."),pushReload:!0})})}xWindowEventsEmit(e){w.TVXWindowEvents.emit(_,JSON.stringify(e))}currentTabEmit(e){this.stateChanged.fire(e)}emit(e){this.currentTabEmit(e),this.xWindowEventsEmit(e)}static getInstance(){return S._instance||(S._instance=new S),S._instance}}function k(){return S.getInstance()}var T=n(20120);const N=(0,b.getLogger)("Conversion.Context"),A={user:null,state:{bannedTrial:!1,canDowngrade:!1,subscriptionDetails:void 0}},D=a.createContext({pro:null,...A});var I;!function(e){e.LoginStateChange="loginStateChange",e.Initial="initial",e.Subscribe="subscribe",e.Unsubscribe="unsubscribe",e.Downgrade="downgrade",e.Upgrade="upgrade"}(I||(I={}));class R{constructor(e,t){this.updateDelegate=new(C()),this.needUpdate=!0,this.pro=null,this.userState=A,t&&(this.userState=t,this.needUpdate=!1),this.pro=e,this.subscribe()}update(e){return(0,T.syncUserConversionData)(e).catch(()=>(N.logError("Gopro update request fail"),null)).then(e=>{var t,n,a;return null===e||(this.userState={user:e.user,state:{bannedTrial:null!==(t=e.banned_trial)&&void 0!==t&&t,canDowngrade:null!==(n=e.can_downgrade)&&void 0!==n&&n,subscriptionDetails:e.subscription_details,affiliateUsername:e.affiliate_username}},(null==e?void 0:e.user)&&(null===(a=this.pro)||void 0===a||a.updateUser(e.user)),this.needUpdate=!1),this.getContext()})}getContext(){return{pro:this.pro,...this.userState}}subscribe(){k().on(P.Change,e=>{var t;this.needUpdate=!0,e.invalidateShopConf&&(null===(t=this.pro)||void 0===t||t.invalidateShopConf());try{const t=function(e){switch(e){case P.Subscribe:return I.Subscribe;case P.Unsubscribe:return I.Unsubscribe;case P.Downgrade:return I.Downgrade;case P.Upgrade:return I.Upgrade;default:throw Error("Unknown eventType")}}(e.type);this.updateDelegate.fire(t)}catch(e){N.logError(e.message)}}), +window.loginStateChange.subscribe(null,()=>{var e;this.needUpdate=!0,null===(e=this.pro)||void 0===e||e.invalidateShopConf(),this.updateDelegate.fire(I.LoginStateChange)})}static getInstance(e,t){return R._instance||(R._instance=new R(e,t)),R._instance}}const O=a.memo((function(e){var t;const{initialState:n,updateShopConf:r,onMounted:o,source:i}=e;let c,l;n?(c={user:n.user,state:n.state},l=n.pro):l=null!==(t=window.pro)&&void 0!==t?t:null;const s=R.getInstance(l,c),[u,d]=a.useState(s.getContext()),m=(0,y.useIsMounted)();async function p(t){var n,a;const o=s.update(i);let c=null;r&&(null===(n=s.pro)||void 0===n?void 0:n.isInvalidShopConf())&&(c=null===(a=s.pro)||void 0===a?void 0:a.updateShopConf());const[l]=await Promise.all([o,c]);m.current&&(d(l),e.onUpdate&&e.onUpdate(l,t))}return(0,a.useEffect)(()=>{var e,t;const n=s.getContext();o&&o(n),s.needUpdate?p(I.Initial):r&&(null===(e=n.pro)||void 0===e?void 0:e.isInvalidShopConf())&&(null===(t=n.pro)||void 0===t||t.updateShopConf())},[]),(0,a.useEffect)(()=>(s.updateDelegate.unsubscribe(null,p),s.updateDelegate.subscribe(null,p),()=>s.updateDelegate.unsubscribe(null,p)),[p]),a.createElement(D.Provider,{value:u},e.children)}));var B=n(97754),M=n.n(B),L=n(37005),Y=n(81e3),U=n(1938),F=n(59401),z=n(25760),H=n(10878),V=n(76266),j=n(85739),G=n(51768),W=n(78599),q=n(11417),$=n(67337),K=n(23127);let Q=K.Deferred();function X(e,t){var n=TVSettings.getBool("_phone_verif_dlg_initial",!0);TVSettings.setValue("_phone_verif_dlg_initial",!1),(0,G.trackEvent)("Phone verification",e+(n?" initial":""),t)}function Z(e){const t=K.Deferred();return(0,W.createPhoneDialog)({featureSource:e.source,doNotShowConfirmation:e.doNotShowConfirmation}).then(n=>{n.on("afterOpen",()=>X("Show dialog",e.source)).on("verification:success",n=>{t.resolve(n),X("Verified",e.source)}).on("verification:cancel",()=>{t.reject("cancelled"),X("Cancelled",e.source)}).on("verification:codeExpired",()=>X("Show dialog",e.source)).open()}),t}function J(e={}){return new Promise(t=>{!window.is_authenticated||user.is_staff||user.is_superuser||user.is_pro||user.is_moderator?t([!1]):e.customPhoneCheck?e.customPhoneCheck()?t([!0,"date-joined"]):t([!1]):$.enabled("phone_verification")&&!user.has_phone?!0!==e.doNotCheckSocialActivity?t([!0,"date-joined"]):(!0!==e.doNotCheckSuspicious&&t([Boolean(q.TVLocalStorage.getItem("is_suspicious")),"suspicious"]),t([!0,"default"])):t([!1])})}window.loginStateChange&&loginStateChange.subscribe(null,()=>{window.is_authenticated&&(Q=K.Deferred(),J().then(([e,t])=>{e||Q.resolve()}))});var ee=n(93573),te=n(57762),ne=n(60679);const ae=(0,b.getLogger)("GoPro.VisitPaymentPageContext"),re={visitPaymentPage:()=>{ae.logError("visitPaymentPage not implement")},startTrial:()=>{ae.logError("startTrial not implement")},changeTrial:()=>{ae.logError("changeTrial not implement")},upgradePlan:()=>{ae.logError("upgradePlan not implement")}},oe=a.createContext(re);var ie=n(83317),ce=n(9745),le=n(23298),se=n(57336),ue=n.n(se);const de=e=>{ +const{className:t,isSelected:n,size:a="medium",color:r,startIcon:o,endIcon:i,showCaret:c}=e;return B(t,ue()["text-button"],n&&ue().selected,ue()[`text-button-${r}-${a}`],o&&ue()["with-start-icon"],(c||i)&&ue()["with-end-icon"])};function me(e){return a.createElement(a.Fragment,null,a.createElement("span",{className:ue().background}),e.startIcon&&a.createElement(ce.Icon,{className:ue()["start-icon"],icon:e.startIcon}),a.createElement("span",{className:ue().content},e.children),(e.endIcon||e.showCaret)&&(e=>a.createElement(ce.Icon,{className:B(ue()["end-icon"],e.showCaret&&ue().caret),icon:e.showCaret?le:e.endIcon}))(e))}function pe(e){const{reference:t,className:n,isSelected:r,children:o,startIcon:i,showCaret:c,color:l,endIcon:s,size:u,...d}=e;return a.createElement("button",{...d,className:de({className:n,isSelected:r,startIcon:i,showCaret:c,endIcon:s,color:l,size:u}),ref:t},a.createElement(me,{showCaret:c,startIcon:i,endIcon:s},o))}var ge=n(41145),he=n(67844),fe=n(158),ye=n(38823);function ve(e){return a.createElement("div",{className:ye.logo},a.createElement(ce.Icon,{icon:fe}))}var Ce=n(81925),be=n(84266);const Ee=a.memo((function(e){const{hideBackButton:t,hideCloseButton:n,onPrevious:r,onClose:o}=e;return a.createElement("div",null,a.createElement(ge.BackButton,{"aria-label":(0,E.t)("Back",{context:"input"}),onClick:r,className:B(be["back-button"],t&&be.hidden)}),a.createElement(pe,{onClick:r,startIcon:Ce,size:"medium","aria-label":(0,E.t)("Back",{context:"input"}),color:"gray",className:B(be.textButton,t&&be.hidden)},(0,E.t)("Back")),a.createElement(ve,null),a.createElement(he.CloseButton,{"aria-label":(0,E.t)("Close",{context:"input"}),onClick:o,className:B(be["close-button"],n&&be.hidden)}))}));var we=n(14972),xe=(n(94419),n(82531)),_e=n(7043),Pe=n(1860);E.t("Real-time markets"),E.t("year"),E.t("Next payment on {next_payment_date}"),E.t("{plan_name} plan at regular price");function Se(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function ke(e,t){let n=function(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}(new Date,(0,p.billingCycleToMonth)(e));return void 0!==t&&(n=Se(n,t)),_e.dateFormatFunctions["MMM dd, yyyy"](n,!1)}function Te(e){if(void 0===e)return function(){const e=new Pe.DateFormatter("MMM dd, yyyy"),t=24*((0,xe.getTrialLength)()+1)*60*60*1e3;return e.formatLocal(new Date(Date.now()+t))}();return new Pe.DateFormatter("MMM dd, yyyy").formatLocal(Se(new Date(e.expire_on),1))}var Ne=n(658);function Ae(e){const{product:t,billingCycle:n,pro:r,exchangesCost:o,proPlanCost:i,currency:c}=e;let{extraDays:l}=e;const s=r.getProduct(r.getProductId(t));!l&&s.billing_cycle===n&&s.extra_days&&(l=s.extra_days);const u=E.t("Next payment on {next_payment_date}").format({next_payment_date:ke(n,l)}),d=E.t("{plan_name} plan at regular price").format({plan_name:t.name}),m=E.t("Real-time markets");return a.createElement(tt,null,a.createElement("p",{className:Ne["next-payment-info"]},u,": ",d," — ",De(i,n,c),".",0!==o&&a.createElement("span",null," ",m," — ",De(o,n,c),".")))}function De(e,t,n){ +const a=n===H.Currencies.Usd?"$":"",r=n===H.Currencies.Rub?" "+E.t("RUB"):"";return`${a}${(0,p.round2)(e)}${r}/${(0,p.billingCycleToTimeUnit)(t)}`}function Ie(e,t,n){let a=30;return"y"===t?a=365:"2y"===t&&(a=730),n.getCost(e,t)/a}function Re(e,t,n,a){if(void 0===n.pro_plan)return;const r=n.pro_plan_days_left;let o,i,c=!1;if(n.is_trial||a.isOffer(e,"six_months")?(c=!0,o=(0,p.getProductForTrial)(n.pro_plan),i=l.BillingCycle.Monthly):(o=n.pro_plan_original_name,i=n.pro_plan_billing_cycle),!r||!o||!i)return;const s=function(e,t,n,a,r,o,i=!1){const c=o.getProduct(t),l=o.getProduct(a);if(!o.isPlan(l))return;if(!o.isProductDefined(c)||!o.isProductDefined(l))return;if(l.type!==o.PRODUCT_TYPES.pro_plan)return;const s=c.upgrade_weight,u=l.upgrade_weight;if(!i&&s>u)return;let d=0;if(l.billing_cycle===r&&(d=l.extra_days||0),i||c.text_id===l.text_id)return e+d;const m=Ie(c,n,o)*e,p=Ie(l,r,o);return Math.ceil(m/p)+d}(r,o,i,e,t,a,c);if(!s)return;let u;const d=a.getProduct(o),m=a.getProduct(e),g=(0,p.getAmountOfDaysForBillingCycle)(t)+s;return u=n.is_trial?E.t("You have {boldHighlightStart} {daysLeft} days left {boldHighlightEnd} in your free trial. These days will be added to your new subscription. Your {proPlan} plan will have {boldHighlightStart} {amountOfDaysForBillingCycle} days {boldHighlightEnd} after the purchase.").format({daysLeft:r.toString(),proPlan:(0,p.humanizeProPlan)(m.text_id),amountOfDaysForBillingCycle:g.toString(),boldHighlightStart:"",boldHighlightEnd:""}):E.t("Your account has {boldHighlightStart} {daysLeft} days left {boldHighlightEnd} in the current {currentProPlan} plan. We'll convert this remaining time into an equivalent value of days on your new plan. Your {proPlan} plan will have {boldHighlightStart} {amountOfDaysForBillingCycle} days {boldHighlightEnd} after the purchase.").format({daysLeft:r.toString(),currentProPlan:(0,p.humanizeProPlan)(d.text_id),proPlan:(0,p.humanizeProPlan)(m.text_id),amountOfDaysForBillingCycle:g.toString(),boldHighlightStart:"",boldHighlightEnd:""}),{text:u,extraDays:s,totalAmountOfDays:g}}var Oe=n(23078);const Be=a.memo((function(e){const{pro:t,cost:n,cartData:r,classNameProductName:o,classNameProductCost:i,modifier:c,trialDays:l=(0,xe.getTrialLength)(),currency:s=""}=e,{isTrial:u}=r,d=Me(t,r,void 0===c?l:void 0),m=`${(0,ie.getCurrencySign)(s)}${u?"0":n} ${s}`;return a.createElement("div",{className:Oe["row-layout"]},a.createElement("div",{className:B(Oe["product-name"],o)},a.createElement("span",null,d)),a.createElement("div",{className:B(Oe["product-cost"],i)},m))}));function Me(e,t,n){const{proPlanProductId:a,isTrial:r}=t,o=a?e.getProduct(a):null;if(!o)return"";let i="";return i=r?n?(0,E.t)("{proPlanName} trial ({days_count} day)",{plural:"{proPlanName} trial ({days_count} days)",context:"free_trial",count:n}).format({proPlanName:o.name,days_count:n.toString()}):(0,E.t)("{proPlanName} trial").format({proPlanName:o.name}):(0,E.t)("{proPlanName} plan").format({proPlanName:o.name}),i}var Le,Ye=n(9168);!function(e){e.XSmall="xsmall",e.Small="small", +e.Medium="medium",e.Large="large",e.XLarge="xlarge"}(Le||(Le={}));var Ue=n(15746),Fe=n.n(Ue);function ze(e){const{size:t=Le.Medium,className:n}=e;return M()(Fe().badge,t&&Fe()["size-"+t],n)}function He(e){const{children:t,contentClassName:n}=e;return a.createElement("span",{className:M()(Fe().content,n)},t)}function Ve(e){const{size:t,children:n,className:r,contentClassName:o,...i}=e;return a.createElement("span",{...i,className:ze({size:t,className:r})},a.createElement(He,{contentClassName:o},n))}var je=n(228);const Ge={[Ye.ExchangeDataType.Stocks]:je.stocks,[Ye.ExchangeDataType.Indices]:je.indices,[Ye.ExchangeDataType.Futures]:je.futures,[Ye.ExchangeDataType.Currency]:je.currency,[Ye.ExchangeDataType.Certificates]:je.certificates,[Ye.ExchangeDataType.Cryptocurrency]:je.cryptocurrency,[Ye.ExchangeDataType.Bist100]:je.indices,[Ye.ExchangeDataType.Bist30]:je.indices,[Ye.ExchangeDataType.Rofex20]:je.indices};function We(e){const t={[Ye.ExchangeDataType.Stocks]:E.t("Stocks"),[Ye.ExchangeDataType.Indices]:E.t("Indices"),[Ye.ExchangeDataType.Futures]:E.t("Futures"),[Ye.ExchangeDataType.Currency]:E.t("Currency"),[Ye.ExchangeDataType.Certificates]:E.t("Certificates"),[Ye.ExchangeDataType.Cryptocurrency]:E.t("Cryptocurrency"),[Ye.ExchangeDataType.Bist100]:E.t("Bist 100"),[Ye.ExchangeDataType.Bist30]:E.t("Bist 30"),[Ye.ExchangeDataType.Rofex20]:E.t("Rofex 20")};return a.createElement(Ve,{className:B(je.badge,e.className,Ge[e.type]),size:Le.Small},t[e.type])}var qe=n(73015);const $e=a.memo((function(e){const{cost:t,classNameExchangeItem:n,classNameExchangeItemText:r,localPriceProduct:o,isCart:i,exchange:c,currency:l=""}=e,s=o?(0,p.round2)(o.total):t,u=`${(0,ie.getCurrencySign)(l)}${s} ${l}`,d=i?c.name:c.description,m=(0,ie.getExchangeType)(c);return a.createElement("li",{className:B(qe["exchange-item"],Oe["row-layout"],n)},a.createElement("div",{className:qe.description},a.createElement("span",{className:B(Oe["product-name"],qe["product-name"])},d),!i&&m.map(e=>a.createElement(We,{key:"exchange_badge_"+e,className:qe.badge,type:e}))),a.createElement("div",{className:B(Oe["product-cost"],r)},u))}));var Ke=n(15359);function Qe(e){const{pro:t,cartData:n,isCart:r,classNameExchangeItem:o,classNameExchangeItemText:i,cartPrices:c,exchanges:l}=e,{billingCycle:s}=n;return a.createElement("ul",{className:Ke.exchanges},l.map(n=>{var l,u,d;const m=c?c[n.text_id]:void 0,g=null!==(u=null===(l=null==m?void 0:m.price)||void 0===l?void 0:l.total)&&void 0!==u?u:t.getCost(n,s);return a.createElement($e,{key:"order_cart_"+n.text_id,cost:(0,p.round2)(g),classNameExchangeItem:o,classNameExchangeItemText:i,isCart:r,exchange:n,currency:null!==(d=null==m?void 0:m.currency)&&void 0!==d?d:e.currency})}))}var Xe=n(89989);function Ze(e){const{tax:t,currency:n,subtotal:r,costClassName:o}=e;return a.createElement("div",{className:Xe["row-layout"]},a.createElement("div",{className:Xe["row-name"]},(0,E.t)("Subtotal")),a.createElement("div",{className:B(Xe["row-value"],o)},(0,ie.getCurrencySign)(n),r," ",n),a.createElement("div",{className:Xe["row-name"]},(0, +E.t)("Tax")),a.createElement("div",{className:B(Xe["row-value"],o)},(0,ie.getCurrencySign)(n),t," ",n))}var Je=n(83110);function et(e){return(0,E.t)("Payable on {billingDate}").format({billingDate:Te(e)})}function tt(e){return a.createElement("div",{className:B(Je.highlight,e.className)},e.children)}function nt(e){const{title:t,description:n}=e;return a.createElement(tt,null,t&&a.createElement("p",{className:Je.highlightTitle},t),a.createElement("p",{dangerouslySetInnerHTML:{__html:n}}))}function at(e){return e===l.BillingCycle.Monthly?(0,E.t)("You will not be billed today"):(0,E.t)("Further billing")}function rt(e){return`${e}`}function ot(e,t){const n={[H.Currencies.Usd]:(0,E.t)("US"),[H.Currencies.Rub]:(0,E.t)("RUB")},a={[H.Currencies.Usd]:"$",[H.Currencies.Rub]:""},r=n[t];return`${a[t]}${(0,p.round2)(e)} ${r}`}const it=a.memo((function(e){const{cartData:t,cartPrices:n,listLocalPricesProducts:r,isCart:o,showNextPaymentData:i,modifier:c,className:s}=e,{proPlanProductId:u,billingCycle:d,isTrial:m}=t,{pro:g,user:h,state:f}=a.useContext(D),{subscriptionDetails:y}=f;if(null===g||null===h)return a.createElement("div",null);const v=(0,E.t)("{currencySymbol}{cost} {currency}").format({currency:n.currency,cost:(0,p.round2)(n.totalCostWithTax),currencySymbol:(0,ie.getCurrencySign)(n.currency)}),C=(0,ie.getListExchanges)(g,t),b=u?g.getProduct(u):void 0,w=!m&&u?Re(u,d,h,g):void 0,x=m?et(y):(0,E.t)("Total"),_=!m&&i&&u&&(g.isOffer(u,"early_access")||g.isOffer(u,"six_months")||g.isOffer(u,"1 usd offer")||g.isOffer(u,"last_chance")||g.isOffer(u,"custom_discount")||g.isOffer(u,"black_friday")),P=(0,E.t)("Tax included {currencySign}{tax} {currency}").format({tax:(0,p.round2)(n.tax),currency:n.currency,currencySign:(0,ie.getCurrencySign)(n.currency)});return a.createElement("div",{className:B(s,Je["purchase-info"])},t.proPlanProductId&&a.createElement("div",{className:Je["cart-section"]},a.createElement(Be,{pro:g,cost:(0,p.round2)(n.proPlanCost),cartData:t,modifier:c,currency:n.currency,classNameProductName:B({[Je["product-trial"]]:m}),classNameProductCost:B({[Je["cost-trial"]]:m})})),C.length>0&&a.createElement("div",{className:B(Je["cart-section"])},a.createElement(Qe,{pro:g,cartData:t,isCart:o,exchanges:C,cartPrices:r,currency:n.currency,classNameExchangeItem:Je["exchange-item"]})),0!==n.tax&&!m&&a.createElement("div",{className:B(Je["cart-section"])},a.createElement(Ze,{tax:(0,p.round2)(n.tax),currency:n.currency,subtotal:(0,p.round2)(n.subtotal)})),a.createElement("div",{className:B(Je.total,Je["cart-section"])},a.createElement("h3",{className:Je["total-title"]},x),a.createElement("div",{className:Je["total-cost"]},v),0!==n.tax&&m&&a.createElement("p",{className:Je["total-tax"]},P),m?a.createElement(a.Fragment,null,g&&u&&a.createElement(nt,{title:at(d),description:function(){const e=n.proPlanCostWithTax,t=n.currency,a=rt(Te(y));if(d!==l.BillingCycle.Monthly){return(0, +E.t)("Accounting for your Early Bird discount, the chosen payment method will be charged {cost} on {billing_date}. The annual payments after this one will be {full_cost}, our regular price.").format({cost:ot(e,t),billing_date:a,full_cost:ot(n.baseProPlanCostWithTax,t)})}return(0,E.t)("Your card will be charged {cost} on {billing_date}.").format({cost:ot(e,t),billing_date:a})}()}),a.createElement(nt,{title:(0,E.t)("You can cancel auto-renewal"),description:function(){const e=rt(Te(y));return(0,E.t)("You can cancel your trial & auto-renewal BEFORE {billing_date} and you will not be charged at all.").format({billing_date:e})}()})):i&&a.createElement("div",{className:Je["billing-freq"]},(0,p.billingPeriodText)(d)),w&&a.createElement(nt,{description:w.text}),_&&b&&a.createElement(Ae,{product:b,billingCycle:d,pro:g,proPlanCost:n.baseProPlanCostWithTax,exchangesCost:n.exchangesCost,extraDays:null==w?void 0:w.extraDays,currency:n.currency})))}));var ct,lt=n(42879),st=n(59407),ut=n(42707),dt=n(86240),mt=n(68769),pt=n(40161),gt=n(6331);function ht(e){const{paymentMethods:t,token:n,onMethodChange:r}=e;return a.createElement("div",{className:gt.container},a.createElement(pt.FormSelect,{id:"one-click-payment-method",value:n||"default",size:"large",items:function(){const e=t.map(e=>function(e){let t,n;1===e.method?(t="*"+e.acct,n=mt.braintreePaymentTypeToIconMap[e.cardtype]):2===e.method?(t=E.t("PayPal account"),n=mt.paymentTypeToIconMap.paypal):3===e.method?(t="Google Pay",n=mt.paymentTypeToIconMap["google-pay"]):4===e.method&&(t="Apple Pay",n=mt.paymentTypeToIconMap["apple-pay"]);return{value:e.token,content:a.createElement("div",{className:gt["dropdown-item"]},a.createElement("img",{src:n||mt.paymentTypeToIconMap.default,className:gt.icon}),a.createElement("span",null,t))}}(e));return e.push({value:"default",content:a.createElement("div",{className:gt["dropdown-item"]},a.createElement(ce.Icon,{icon:mt.paymentTypeToIconMap.default,className:gt.icon}),a.createElement("span",null,E.t("Add new method")))}),e}(),onChange:r}))}!function(e){e.Untouched="untouched",e.Unsettled="unsettled",e.Resolved="resolved",e.Rejected="rejected"}(ct||(ct={}));var ft=n(5437),yt=n(45345),vt=n(26843),Ct=n(26996),bt=n(71036),Et=n(75223);function wt(e){const{onClick:t,loaderColor:n,disabled:r,showLoader:o=!1}=e,[i,c]=function(e){const[t,n]=(0,a.useState)(ct.Untouched),r=(0,y.useIsMounted)(),o=(0,a.useCallback)((...t)=>{e&&(i(ct.Unsettled),e(...t).then(()=>i(ct.Resolved)).catch(()=>i(ct.Rejected)))},[e]),i=(0,a.useCallback)(e=>{r.current&&n(e)},[]);return[o,t]}(t),[l,s]=(0,a.useState)(!1);(0,a.useEffect)(()=>{s(c===ct.Unsettled&&o)},[c]);const u=B(Et.childrenWrapper,!l&&Et.shown),d=B(Et.loader,l&&Et.shown);return{onClickhandler:i,disabled:r||c===ct.Unsettled,childrenWrapperClassNames:u,laoderClassNames:d,loaderColor:null!=n?n:yt.watchedTheme.value()===vt.StdTheme.Light?"white":"gray"}}function xt(e){const{disabled:t,showLoader:n,loaderColor:a,onClick:r,...o}=e;return o}function _t(e){ +const{onClickhandler:t,disabled:n,childrenWrapperClassNames:r,laoderClassNames:o,loaderColor:i}=wt(e),{children:c,size:l="small",...s}=e;return a.createElement(bt.SquareButton,{...xt(s),disabled:n,onClick:t,size:l},a.createElement("span",{className:r},c),a.createElement(Ct.Loader,{className:o,color:i}))}var Pt=n(59353);function St(e){const{token:t,onClick:n,currentPaymentMethod:r,hideDefaultButton:o,showPaymentDropdown:i,allowOneClickPurchase:c,reference:l,onMethodChange:s,disabled:u,activePaymentMethods:d}=e,m=i&&c&&!o&&d&&d.length>0,p=m&&r?E.t("Purchase"):E.t("Next"),g=(0,ut.useSafeMatchMedia)(dt["media-mf-tablet-landscape"]);return a.createElement(a.Fragment,null,m&&a.createElement(ht,{token:t,paymentMethods:d||[],onMethodChange:s}),a.createElement("div",{className:Pt.next,ref:l},!o&&a.createElement(_t,{onClick:n,size:g?"medium":"large",disabled:u,showLoader:!0,stretch:!0},p)))}var kt=n(25293);var Tt;function Nt(e,t){return e!==te.PaymentTab.Coinbase&&!(e===te.PaymentTab.Ecommpay&&t.filter(e=>Boolean(e)).length>1)}!function(e){e[e.Highligh=0]="Highligh",e[e.ChangeTrial=1]="ChangeTrial",e[e.Next=2]="Next",e[e.OrderPurchase=3]="OrderPurchase",e[e.Disabled=4]="Disabled"}(Tt||(Tt={}));const At=a.memo((function(e){const{pro:t,cartData:n,currentStep:r,reference:o,clientToken:i,currentPaymentMethod:c,currentPaymentTab:l,isOnlyExchanges:s,statusExtraData:u,token:d,activePaymentMethods:m,modifier:g,setStep:h,onHighlight:f,setErrorText:v,setAllowTryAgain:C,onNext:b,onSuccessPurchase:w,onMethodChange:x,listLocalPricesProducts:_,currency:P}=e,{isTrial:S,exchanges:k}=n,T=r===st.Steps.PaymentMethod||r===st.Steps.Trial&&void 0===g,N=(0,y.useIsMounted)(),[A,D]=(0,a.useState)(!1),[I,R]=(0,a.useState)(!1),O=a.useMemo(()=>(0,ie.getPricesForCart)({pro:t,cartData:n,currency:P,listLocalPricesProducts:_}),[t,n,_,P]),M=(O.currency!==H.Currencies.Usd?(0,E.t)("{cost}"):(0,E.t)("${cost}")).format({cost:(0,p.round2)(S?0:O.totalCostWithTax)}),[L,Y]=(0,a.useState)(""),U=(0,V.isFeatureEnabled)("braintree-order-one-click-dropdown")&&r===st.Steps.MarketData&&!I&&!s&&0===n.exchanges.length&&u===lt.StatusExtraData.Disable,F=r===st.Steps.MarketData&&!I,z=function(e,t,n){const{currentStep:a,cartData:r,statusExtraData:o,modifier:i,token:c}=e;if(function(e){const{currentStep:t,cartData:n,modifier:a,orderTermsChecked:r}=e;return t===st.Steps.MarketData&&void 0===n.proPlanProductId&&0===n.exchanges.length||t===st.Steps.Trial&&void 0!==a&&!r}(e))return Tt.Disabled;if(a===st.Steps.MarketData&&void 0===o)return Tt.Highligh;if(void 0!==i&&r.isTrial&&r.proPlanProductId)return Tt.ChangeTrial;if(!n||!c||!t)return Tt.Next;return Tt.OrderPurchase}(e,U,F);(0,a.useEffect)(()=>{const e=()=>R(window.innerWidth<1020);return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}},[]),(0,a.useEffect)(()=>{I&&x("default")},[I]);const j=(0,a.useCallback)(async e=>{const t=await e.json();N.current&&t.detail&&t.code&&(v&&v(t.detail),["payments_banned","anonymization_activated","order_forbidden"].includes(t.code)&&C(!1),h(st.Steps.Error)) +},[]),G=a.useCallback(async()=>{q();const{proPlanProductId:e}=n;if(z===Tt.Highligh)return f();if(z===Tt.Next)return b();let t=null;if(z===Tt.ChangeTrial&&e&&(t=await(0,ne.onChangeTrial)(e)),z===Tt.OrderPurchase&&null!==d){const a=e?[e,...k]:n.exchanges;t=await(0,ne.onOrderPurchase)(d,a,ne.PaymentDataType.Token,n.billingCycle,{device_data:L})}N.current&&null!==t&&(t.ok?w(t):j(t))},[z,n.proPlanProductId,n.exchanges,n.billingCycle,d,b,w]);(0,a.useEffect)(()=>{i&&(0,we.getDeviceData)(i).then(e=>{N.current&&Y(e)})},[c,i]);const W=B(Oe.cart,{[Oe["mobile-opened"]]:A}),q=(0,a.useCallback)(()=>D(!1),[]),$=(0,a.useCallback)(()=>D(!0),[]);return a.createElement("div",{className:W},a.createElement("div",{className:B(Oe["caret-button"],Oe["header-caret-button"])},a.createElement(ce.Icon,{icon:kt,onClick:q,className:Oe.icon})),a.createElement(it,{isCart:!0,cartData:n,cartPrices:O,listLocalPricesProducts:_,showNextPaymentData:Nt(l,[n.proPlanProductId,...n.exchanges]),modifier:g,className:Oe["purchase-info"]}),a.createElement("div",{className:B(Oe.actions,U&&Oe.withPaymentDropdown)},a.createElement("div",{className:Oe["caret-button"]},a.createElement(ce.Icon,{icon:kt,onClick:$,className:B(Oe.icon,Oe.dropped)})),a.createElement("div",{className:B(Oe["mobile-wrapper"],A&&Oe["mobile-wrapper-opened"])},a.createElement("div",{className:Oe["mobile-total"]},a.createElement("h3",{className:Oe["mobile-total-title"]},(0,E.t)("Total:")),a.createElement("div",{className:Oe["mobile-total-cost"]},M)),a.createElement(St,{token:d,onClick:G,currentPaymentMethod:c,onMethodChange:x,showPaymentDropdown:U,hideDefaultButton:T,allowOneClickPurchase:F,disabled:z===Tt.Disabled,reference:o,activePaymentMethods:m}))))}));var Dt=n(60670),It=n(54349),Rt=n(90514);function Ot(e){return a.createElement("span",{className:B(Rt.description,e.className)},e.children)}const Bt=a.memo((function(e){return a.createElement("h2",{className:B(Rt.title,e.className)},e.text)}));var Mt=n(45631),Lt=n(46248);function Yt(e){const{status:t,disabled:n}=e;return a.createElement("label",{className:Lt.item},a.createElement(Mt.RadioButton,{className:Lt.button,value:t,"aria-label":t,disabled:n}),a.createElement("div",{className:Lt.wrapper},a.createElement("p",{className:Lt.title},function(e){if(e===lt.StatusExtraData.Enable)return E.t("I need that data");return E.t("I'm good without it")}(t)),a.createElement("p",{className:Lt.description},function(e){if(e===lt.StatusExtraData.Enable)return E.t("Show me the available market packages");return E.t("I'll just buy the plan as it is for now")}(t))))}var Ut=n(44065),Ft=n(77540);function zt(e){const{name:t,className:n,size:r,title:o,alt:i,role:c}=e,l=B("tv-flag-country tv-flag-country--"+t,r&&"tv-flag-country--size_"+r,n);if("forex"===t)return a.createElement(ce.Icon,{icon:Ft,className:l});const s=(0,Ut.flagUrl)(t);return a.createElement("img",{title:o,alt:i,className:l,src:s,role:c})}var Ht=n(38780),Vt=n(32563),jt=n(15294),Gt=n(61074),Wt=n(66026);function qt(e){return a.createElement(ce.Icon,{icon:Wt,title:e.residentTooltipText, +className:B(e.className,"apply-common-tooltip")})}var $t=n(30152),Kt=n(17681),Qt=n(51491);const Xt=new Set(["exchange-bist_mixed"]),Zt={"exchange-bist_mixed":43000609137},Jt=a.memo((function(e){const{exchange:t,pro:n,billingCycle:r,questionMark:o,solutionId:i,isDisabledExchange:c}=e,{name:s,description:u,country:d,text_id:m}=t,p=n.getCost(t,l.BillingCycle.Monthly),g=n.getCost(t,l.BillingCycle.OneYear),h=(0,ie.getExchangeType)(t),f=E.t("This is a special price for residents of the exchange's home country. The final cost is applied after entering your address in the next step.");return a.createElement("label",{className:B(Qt.item,c&&Qt["item-disabled"])},a.createElement("div",{className:Qt.info},a.createElement(jt.GroupedCheckbox,{disabled:c,value:m,className:Qt.checkbox,"aria-label":m}),a.createElement(zt,{className:Qt.flag,name:d.toLowerCase()}),a.createElement("div",{className:Qt.title},a.createElement("span",{className:Qt["exchange-name"]},(0,ie.translateExchangeData)(s)),h.length>0&&h.map((e,t)=>a.createElement(We,{type:e,className:Qt.exchangeBadge,key:t}))),a.createElement(Ot,{className:Qt.description},(0,ie.translateExchangeData)(u),o&&i&&a.createElement(nn,{solutionId:i}))),a.createElement("div",{className:Qt.prices},t.has_resident_price&&t.cost_local&&a.createElement("div",{className:Qt["resident-price"]},a.createElement(tn,{billingCycle:r,monthlyPrice:t.cost_local,annualPrice:12*t.cost_local})),a.createElement(tn,{billingCycle:r,monthlyPrice:p,annualPrice:g}),t.has_resident_price&&a.createElement(qt,{className:Qt.badge,residentTooltipText:f})))}));function en(e){const{pro:t,currentTab:n,billingCycle:r,selectedExchanges:o,onChangeListExchanges:i,disableSF:c}=e,[l,s]=a.useState(t.getProductsByType(t.PRODUCT_TYPES.exchange));function u(){s(t.getProductsByType(t.PRODUCT_TYPES.exchange))}(0,a.useEffect)(()=>(t.packagesUpdated.subscribe(null,u),()=>t.packagesUpdated.unsubscribe(null,u)),[]);const d=(0,ie.getAvailableExchanges)(l),m=function(e,t){for(const n in t)if(t[n].hasOwnProperty("name")&&t[n].name===e)return t[n].exchanges;return[]}(n,(0,ie.getExchangesOrderedByRegion)(d)),p=(0,a.useMemo)(()=>m.filter(e=>t.hasPackage(e.text_id)).map(e=>e.text_id),[l,n,t]),g=(0,a.useMemo)(()=>m.filter(e=>c&&Boolean(e.idc_service_codes)).map(e=>e.text_id),[l,n,c]),h=(0,a.useMemo)(()=>[...o,...p],[o,p]);return t.isInvalidShopConf()?a.createElement("div",{className:Qt.spinner},a.createElement(Gt.Spinner,null)):a.createElement(It.SwitchGroup,{name:"list_exchanges",onChange:i,values:h},m.map(e=>a.createElement(Jt,{key:e.text_id,exchange:e,pro:t,billingCycle:r,questionMark:Xt.has(e.text_id),solutionId:Zt[e.text_id],isDisabledExchange:p.includes(e.text_id)||g.includes(e.text_id)})))}function tn(e){const{billingCycle:t,monthlyPrice:n,annualPrice:r}=e;return a.createElement("div",{className:Qt.price},a.createElement("div",{className:Qt.month},a.createElement("span",null,"$"),a.createElement("span",null,E.t("{price} /mo").format({price:n.toString()}))),t!==l.BillingCycle.Monthly&&a.createElement("div",{className:Qt.year +},a.createElement("span",null,"$"),a.createElement("span",null,E.t("{price} /year").format({price:r.toString()}))))}function nn(e){const{solutionId:t}=e,n=(0,a.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),(0,$t.showSupportDialog)({solutionId:t})},[t]);return a.createElement("span",{title:E.t("Click to learn more"),className:B("apply-common-tooltip","common-tooltip-html",Qt.tooltipTitle),onClick:rn,onMouseOver:on},a.createElement("a",{href:`/support/solutions/${t}/`,role:"button",className:Qt.infoIcon},a.createElement(ce.Icon,{icon:Kt,className:Qt.infoIconContainer,onClick:n})))}function an(){document.removeEventListener("scroll",an),document.removeEventListener("touchstart",an),(0,Ht.hide)()}function rn(e){Vt.mobiletouch&&((0,Ht.showOnElement)(e.currentTarget,{tooltipDelay:0}),document.addEventListener("scroll",an),document.addEventListener("touchstart",an))}function on(e){(0,Ht.showOnElement)(e.currentTarget,{tooltipDelay:0})}var cn=n(14284),ln=n(21310);const sn=a.memo((function(e){const{valueCheckbox:t,countryIsNotAllowed:n}=e,r=(0,E.t)("We provide real-time data for free if it's allowed. {link_start}Some data is delayed{link_end} due to specific exchange regulations and real-time data must be purchased separately on this page below. We are required to collect these payments and remit them to the exchanges.").split(/{link_start}|{link_end}/),o=a.createElement(a.Fragment,null,r[0],a.createElement("a",{href:"/?solution=43000471705",className:cn.link},r[1]),r[2]),i=(0,E.t)("US stock market data is real-time, but provided by CBOE BZX. {link_start}This data is slightly different{link_end} from primary exchanges. If you would like to get real-time data directly from NASDAQ, NYSE or ARCA, you can add this data to your plan.").split(/{link_start}|{link_end}/),c=a.createElement(a.Fragment,null,i[0],a.createElement("a",{href:"/?solution=43000473924",className:cn.link},i[1]),i[2]),l=(0,E.t)("Extra market data subscriptions are not available in the Russian Federation and in the Republic of Belarus");return t===lt.StatusExtraData.Enable?null:a.createElement("div",{className:cn.info},n?a.createElement(ln.Informer,{className:cn.informer,content:l,informerIntent:"warning"}):a.createElement(a.Fragment,null,a.createElement("p",{className:cn.text},o),a.createElement("p",{className:cn.text},c)))}));var un=n(43861),dn=n(55348),mn=n(60033);const pn=a.memo((function(e){return a.createElement("div",{className:mn.footer},a.createElement("div",{className:mn.info},a.createElement("div",{className:mn.title},a.createElement(ce.Icon,{className:mn.icon,icon:un}),a.createElement(Ot,{className:mn.text},E.t("Residents price"))),a.createElement(Ot,{className:mn.description},E.t("This is a special price for residents of the exchange's home country. The final cost is applied after entering your address in the next step."))),a.createElement("div",{className:mn.info},a.createElement("div",{className:mn.title},a.createElement(ce.Icon,{icon:dn,className:mn["ice-icon"]})),a.createElement(Ot,{className:mn["description-logo"] +},E.t("Market Data Provided by ICE Data services"))))}));var gn,hn=n(58751),fn=n(28672);!function(e){e.NorthAmerica="North America",e.Europe="Europe",e.EastAfrica="Middle East/Africa",e.Mexico="Mexico and South America",e.AsiaPacific="Asia/Pacific"}(gn||(gn={}));const yn=[lt.StatusExtraData.Disable,lt.StatusExtraData.Enable],vn=[gn.NorthAmerica,gn.Europe,gn.EastAfrica,gn.Mexico,gn.AsiaPacific],Cn=(0,V.isFeatureEnabled)("RU_SF_disable"),bn=(0,V.isFeatureEnabled)("RU_VOR_disable");const En=a.memo((function(e){const{pro:t,billingCycle:n,selectedExchanges:r,isOnlyExchanges:o,statusExtraData:i,setExtraDataStatus:c,setExchanges:l,defaultCountryCode:s}=e,u=o?(0,E.t)("Extra market data"):(0,E.t)("Need extra market data?"),d=(0,mt.isRussian)(s),[m,p]=(0,a.useState)(gn.NorthAmerica),g=d&&Cn&&bn,h=i===lt.StatusExtraData.Enable||o&&!g,f=a.useCallback(e=>{r.includes(e)?l(r.filter(t=>t!==e)):l([...r,e])},[r]),y=a.useCallback(e=>{c(e),e===lt.StatusExtraData.Disable&&l([])},[]),v=vn.map((e,t)=>({onClick:()=>p(e),children:a.createElement("span",null,(0,ie.exchangeGroupTabTranslate)(e)),isChecked:m===e,key:`tab_${e}_${t}`,role:"tabpanel","aria-controls":"tab-region-"+t,"aria-selected":m===e,id:"tabpanel-region-"+t})),C=!o||o&&g;return a.createElement("div",null,a.createElement(Bt,{text:u}),C&&a.createElement(a.Fragment,null,a.createElement("div",{className:B(fn.group,hn["highligh-extra-data"])},a.createElement(It.SwitchGroup,{name:"switcher_extra_data",onChange:y,values:i?[i]:[]},yn.map(e=>a.createElement(Yt,{status:e,key:e,disabled:g})))),a.createElement(sn,{valueCheckbox:i,countryIsNotAllowed:g})),h&&a.createElement(a.Fragment,null,d&&Cn&&a.createElement(ln.Informer,{className:fn.informer,content:(0,E.t)("Some extra market data subscriptions are not available in the Russian Federation and in the Republic of Belarus"),informerIntent:"warning"}),a.createElement("div",{className:fn.tabs,role:"tablist","aria-label":u},a.createElement(Dt.RoundTabsButtons,{tabs:v,align:"start",size:"xsmall",theme:Dt.DEFAULT_ROUND_TABS_THEME})),a.createElement("div",{role:"tabpanel",id:"tab-region-"+m,"aria-expanded":!0,"aria-labelledby":"tabpanel-region-"+m},a.createElement(en,{pro:t,currentTab:m,billingCycle:n,selectedExchanges:r,onChangeListExchanges:f,disableSF:d&&Cn})),a.createElement(pn,null)))}));var wn=n(63897),xn=n(11264);function _n(e){const{errorText:t,allowTryAgain:n,onClose:r,onTryAgain:o}=e,i=null!=t?t:(0,E.t)("Connection Error");return a.createElement("div",{className:xn.container},a.createElement(ce.Icon,{icon:wn,className:xn.icon}),a.createElement(Bt,{text:(0,E.t)("Payment error"),className:xn.title}),a.createElement(Ot,{className:xn.description},i),a.createElement(ft.RoundButton,{className:xn.button,onClick:n?o:r},n?(0,E.t)("Try again"):(0,E.t)("Close")))}var Pn=n(46198),Sn=n(33550),kn=n(62867),Tn=n(65417),Nn=n(42155);function An(e){return(0,E.t)("{indicatorQuantity} indicator per chart",{plural:"{indicatorQuantity} indicators per chart",count:e,replace:{indicatorQuantity:e.toString()}})}function Dn(e){return(0, +E.t)("{chartQuantity} chart in one layout",{plural:"{chartQuantity} charts in one layout",count:e,replace:{chartQuantity:e.toString()}})}function In(e){return(0,E.t)("{alertQuantity} server-side alert",{plural:"{alertQuantity} server-side alerts",count:e,replace:{alertQuantity:e.toString()}})}function Rn(){document.removeEventListener("scroll",Rn),document.removeEventListener("touchstart",Rn),(0,Ht.hide)()}function On(e){Vt.mobiletouch&&((0,Ht.showOnElement)(e.currentTarget,{tooltipDelay:0}),document.addEventListener("scroll",Rn),document.addEventListener("touchstart",Rn))}class Bn extends a.PureComponent{render(){const{proPlan:e,className:t}=this.props,n=B(Nn.wrapperFeatures,t);let r;switch(e){case Pn.ProPlans.Pro:r=(0,E.t)("Key benefits of Pro:");break;case Pn.ProPlans.ProRealtime:r=(0,E.t)("All the benefits of Pro, plus:");break;case Pn.ProPlans.ProPremium:r=(0,E.t)("The complete package, with:")}return a.createElement("div",{className:n},a.createElement("div",{className:Nn.padding},r&&a.createElement("p",{className:Nn.titleFeatures},r),a.createElement("ul",{className:Nn.listFeatures},function(e){var t,n,r,o,i,c,l,s,u;const d={pro:[{text:An((null===(t=(0,Sn.getConfig)(kn.ProductFeatures.INDICATORS_ON_CHART,Pn.ProPlans.Pro))||void 0===t?void 0:t.limit)||0)},{text:(0,E.t)("2 charts in one window")},{text:In((null===(n=(0,Sn.getConfig)(kn.ProductFeatures.SERVER_SIDE_ALERTS,Pn.ProPlans.Pro))||void 0===n?void 0:n.limit)||0)},{text:(0,E.t)("Ad-free")},{text:(0,E.t)("Volume profile indicators")},{text:(0,E.t)("Custom time intervals")},{text:(0,E.t)("Multiple enhanced watchlists")},{text:(0,E.t)("Bar replay on intraday bars")},{text:(0,E.t)("Multi-monitor support in Desktop app")}],pro_realtime:[{text:An((null===(r=(0,Sn.getConfig)(kn.ProductFeatures.INDICATORS_ON_CHART,Pn.ProPlans.ProRealtime))||void 0===r?void 0:r.limit)||0)},{text:Dn((null===(o=(0,Sn.getConfig)(kn.ProductFeatures.MULTIPLE_CHARTS,Pn.ProPlans.ProRealtime))||void 0===o?void 0:o.limit)||0)},{text:In((null===(i=(0,Sn.getConfig)(kn.ProductFeatures.SERVER_SIDE_ALERTS,Pn.ProPlans.ProRealtime))||void 0===i?void 0:i.limit)||0)},{text:(m=(null===(c=(0,Sn.getConfig)(kn.ProductFeatures.CHART_STORAGE,Pn.ProPlans.ProRealtime))||void 0===c?void 0:c.limit)||0,(0,E.t)("{chartLayoutsQuantity} saved chart layout",{plural:"{chartLayoutsQuantity} saved chart layouts",count:m,replace:{chartLayoutsQuantity:m.toString()}}))},{text:(0,E.t)("Intraday exotic charts")},{text:(0,E.t)("Charts based on custom formulas")},{text:(0,E.t)("Chart data export")},{text:(0,E.t)("Indicators on indicators")}],pro_premium:[{text:An((null===(l=(0,Sn.getConfig)(kn.ProductFeatures.INDICATORS_ON_CHART,Pn.ProPlans.ProPremium))||void 0===l?void 0:l.limit)||0)},{text:Dn((null===(s=(0,Sn.getConfig)(kn.ProductFeatures.MULTIPLE_CHARTS,Pn.ProPlans.ProPremium))||void 0===s?void 0:s.limit)||0)},{text:In((null===(u=(0,Sn.getConfig)(kn.ProductFeatures.SERVER_SIDE_ALERTS,Pn.ProPlans.ProPremium))||void 0===u?void 0:u.limit)||0)},{text:(0,E.t)("Unlimited saved chart layouts")},{text:(0, +E.t)("Second-based intervals")},{text:(0,E.t)("Alerts that don't expire")},{text:(0,E.t)("4x more data on charts (20K bars)")},{text:(0,E.t)("Publishing invite-only indicators")}]};var m;return a.createElement(a.Fragment,null,d[e].map((e,t)=>a.createElement("li",{key:t,className:Nn.itemFeatures},e.text,e.tooltip&&a.createElement("span",{title:e.tooltip,"aria-label":e.tooltip,className:B("apply-common-tooltip",Nn.tooltipTitle),onClick:On},a.createElement(ce.Icon,{icon:Tn,className:Nn.tooltipIcon})))))}(e))))}}var Mn=n(9716);const Ln=/{\w+}/;var Yn;function Un(e){const{price:t,period:n,color:r=Yn.Black}=e,o=E.t("Special price: ${price} {measure}"),i=E.t("{htmlTag}USD/{htmlCloseTag}{htmlTag}mo{htmlCloseTag}"),c=E.t("{htmlTag}USD/{htmlCloseTag}{htmlTag}year{htmlCloseTag}"),s=E.t("{htmlTag}USD/{htmlCloseTag}{htmlTag}2 years{htmlCloseTag}"),u=E.t("USD/mo"),d=E.t("USD/year"),m=E.t("USD/2 years");let p=i,g=u;switch(n){case l.BillingCycle.OneYear:p=c,g=d;break;case l.BillingCycle.TwoYears:p=s,g=m}const h=p.split(Ln).filter(e=>e.length>0),f=o.format({price:t,measure:g}),y=B(Mn.offerPrice,Mn[r]);return a.createElement("div",{className:y,"aria-label":f},a.createElement("span",{className:Mn.sup,"aria-hidden":!0},"$"),a.createElement("ins",{className:Mn.mainPrice,"aria-hidden":!0},t),a.createElement("span",{className:B(Mn.measure),"aria-hidden":!0},a.createElement(a.Fragment,null,a.createElement("span",null,h[0]),a.createElement("span",null,h[1]))))}!function(e){e.Gray="color-gray",e.Red="color-red",e.Black="color-black",e.Green="color-green"}(Yn||(Yn={}));var Fn=n(3615);function zn(e){(0,Fn.showWarning)({title:(0,E.t)("Manage account via app"),text:(0,E.t)("You can manage your subscription via the {app_name} TradingView app. In order to make changes, please go to the payment section of the app, found under profile settings.").format({app_name:e})})}var Hn=n(33040),Vn=n(84303),jn=n(38335),Gn=n(11313),Wn=n(18662);const qn=k();async function $n(e){const{proPlan:t,billingCycle:n,offer:a,type:r}=e,o=(0,E.t)("Sorry, your subscription can’t currently be extended, downgraded or upgraded because your payment method doesn’t support recurring payments. Please head to profile settings to update your payment method, then try again."),i=(0,E.t)("Recurring payment issue");let c=null;try{c=await(0,Wn.getDowngrade)({pro_plan:t,billing_cycle:n,offer:a})}catch(e){return["ApiError:downgrade_not_permitted"].includes(e.name)?void(0,Fn.showWarning)({title:i,text:o}):void(0,Fn.showWarning)({title:(0,E.t)("Error"),text:e.message})}if(!c)return void(0,Fn.showWarning)({title:(0,E.t)("Error"),text:(0,E.t)("Something went wrong")});const{current:l,downgrade:s,next_billing:u}=c;s?(0,Gn.changePlanDialog)({current:l,next:s,nextPayment:u,type:r,currentPayment:{currency:"USD",price:0},offer:a,onSuccess:function(){qn.emit({type:P.Downgrade})}}):(0,Fn.showWarning)({title:i,text:o})}var Kn=n(74364);function Qn(e){const{color:t,children:n,disabled:r,variant:o="primary",onClick:i,isLink:c=!1}=e,l=(0, +ut.useSafeMatchMedia)(dt["media-mf-tablet-landscape"],!0)?"xlarge":"medium";return a.createElement("div",null,c?a.createElement("a",{role:"button",href:"#",className:Kn.link,onClick:function(e){e.preventDefault(),void 0!==i&&i()}},n):a.createElement(bt.SquareButton,{color:t||"brand",size:l,variant:o,disabled:r,onClick:i,tabIndex:0,stretch:!0,className:Kn.button},n))}function Xn(e){const t=(0,E.t)("Start now");return a.createElement(Qn,{...e},e.text||t)}function Zn(e){const t=(0,E.t)("Buy now");return a.createElement(Qn,{...e},e.text||t)}function Jn(e){const t=(0,E.t)("Included");return a.createElement(Qn,{...e,disabled:!0},e.text||t)}function ea(e){const t=(0,E.t)("Extend",{context:"plan"});return a.createElement(Qn,{...e},e.text||t)}function ta(e){const t=(0,E.t)("Switch",{context:"plan"});return a.createElement(Qn,{...e},e.text||t)}function na(e){const t=(0,E.t)("Not available");return a.createElement(Qn,{...e,disabled:!0},e.text||t)}function aa(e){const t=(0,E.t)("Upgrade");return a.createElement(Qn,{...e},e.text||t)}function ra(e){const t=(0,E.t)("Downgrade");return a.createElement(Qn,{...e},e.text||t)}function oa(e){const t=(0,E.t)("Get 6 months free");return a.createElement(Qn,{...e},e.text||t)}function ia(e){const t=(0,E.t)("Get {discount}% off"),{discount:n=0,...r}=e,o=e.text||t.format({discount:n.toString()});return a.createElement(Qn,{...r},o)}function ca(e){const t=(0,E.t)("Try free for {days} day",{plural:"Try free for {days} days",context:"free_trial",count:e.trialLength}).format({days:(e.trialLength||"").toString()});return a.createElement(Qn,{...e},e.text||t)}function la(e){const t=(0,E.t)("Start now",{context:"basic"});return a.createElement(Qn,{...e},e.text||t)}function sa(e){const t=(0,E.t)("Downgrade activated");return a.createElement(Qn,{...e,disabled:!0},e.text||t)}function ua(e){const t=(0,E.t)("Reactivate current");return a.createElement(Qn,{...e},e.text||t)}var da,ma;!function(e){e[e.Free=0]="Free",e[e.Trial=1]="Trial",e[e.StartPlan=2]="StartPlan",e[e.EarlyAccess=3]="EarlyAccess",e[e.LastChance=4]="LastChance",e[e.CurrentLastChance=5]="CurrentLastChance",e[e.CurrentEarlyAccess=6]="CurrentEarlyAccess",e[e.SixMonthUpgrade=7]="SixMonthUpgrade",e[e.CurrentSixMonthUpgrade=8]="CurrentSixMonthUpgrade",e[e.Upgrade=9]="Upgrade",e[e.Downgrade=10]="Downgrade",e[e.Current=11]="Current",e[e.CurrentTrial=12]="CurrentTrial",e[e.BuyNow=13]="BuyNow",e[e.Included=14]="Included",e[e.Markets=15]="Markets",e[e.NotAvailable=16]="NotAvailable",e[e.OneUsdUpgrade=17]="OneUsdUpgrade",e[e.DowngradeActivated=18]="DowngradeActivated",e[e.ReactivateCurrent=19]="ReactivateCurrent",e[e.Switch=20]="Switch"}(da||(da={})),function(e){e[e.UpgradeTrial=0]="UpgradeTrial",e[e.DowngradeTrial=1]="DowngradeTrial",e[e.SkipTrial=2]="SkipTrial",e[e.DateStarted=3]="DateStarted",e[e.DateEnd=4]="DateEnd",e[e.DowngradeDescription=5]="DowngradeDescription",e[e.UpgradeDescription=6]="UpgradeDescription",e[e.CurrentPlan=7]="CurrentPlan"}(ma||(ma={}));const pa=a.memo(e=>{ +const{action:t,offerId:r,...o}=e,{visitPaymentPage:i,startTrial:c,upgradePlan:u}=a.useContext(oe);function d(t){if(e.appName)return void zn(e.appName);const n={[Hn.ChangePlanType.Reactivate]:"reactivate",[Hn.ChangePlanType.Downgrade]:"downgrade",[Hn.ChangePlanType.Switch]:"switch"};g(`${e.proPlan} ${n[t]}`),$n({billingCycle:e.billingCycle||l.BillingCycle.OneYear,proPlan:e.proPlan,type:t})}switch(t){case da.EarlyAccess:case da.CurrentEarlyAccess:return a.createElement(ia,{...o,onClick:function(){const{discount:t,proPlan:n,appName:a}=e;if(a)return void zn(a);if(void 0!==t){g(`${n} early access ${t}`);const e=(0,jn.getVisitEarlyAccessPaymentPageProperties)(n,t);i(e.billingCycle,e.options)}}});case da.LastChance:case da.CurrentLastChance:return a.createElement(ia,{...o,onClick:function(){if(e.appName)return void zn(e.appName);e.isLowerWeightOffer?($n({billingCycle:e.billingCycle||l.BillingCycle.OneYear,proPlan:e.proPlan,offer:s.OFFERS.last_chance,type:Hn.ChangePlanType.Downgrade}),g(`${e.proPlan} ${s.OFFERS.last_chance} downgrade`)):r&&(i(e.billingCycle,{productName:e.offerId,fixedCycle:!0}),g(`${e.proPlan} ${s.OFFERS.last_chance}`))}});case da.SixMonthUpgrade:case da.CurrentSixMonthUpgrade:return a.createElement(oa,{...o,onClick:function(){if(e.appName)return void zn(e.appName);void 0!==r&&(i(l.BillingCycle.OneYear,{productName:e.offerId,fixedCycle:!0}),g(r),e.onClick&&e.onClick())}});case da.OneUsdUpgrade:return a.createElement(aa,{...o,onClick:function(){if(e.appName)return void zn(e.appName);void 0!==r&&(i(e.billingCycle,{productName:e.offerId,fixedCycle:!0}),g(r),e.onClick&&e.onClick())}});case da.Upgrade:return a.createElement(aa,{...o,onClick:async function(){if(e.appName)return void zn(e.appName);g(e.proPlan+" upgrade");const{isFeatureEnabled:t}=await Promise.resolve().then(n.t.bind(n,76266,19));if(t("pro_plan_upgrades_disabled"))return m();u(e.proPlan,e.billingCycle||l.BillingCycle.OneYear,()=>m())}});case da.DowngradeActivated:return a.createElement(sa,{...o});case da.ReactivateCurrent:return a.createElement(ua,{...o,onClick:()=>d(Hn.ChangePlanType.Reactivate)});case da.Downgrade:return a.createElement(ra,{...o,onClick:()=>d(Hn.ChangePlanType.Downgrade)});case da.Trial:return a.createElement(ca,{...o,onClick:function(){const{proPlan:t,billingCycle:n,discount:a,appName:r}=e;if(r)return void zn(r);if(!window.is_authenticated)return void(0,Vn.showSignModal)({source:"Go pro page"});let o=t.toString();a&&e.billingCycle===l.BillingCycle.OneYear&&(o=(0,p.toEarlyAccess)(o,a));g(t+" trial"),c(o,n||l.BillingCycle.Monthly)}});case da.Free:return a.createElement(la,{...o,onClick:function(){g("basic"),(0,Vn.showSignModal)({mode:"signup",source:"Go pro page"})}});case da.StartPlan:return a.createElement(Xn,{...o,onClick:h});case da.CurrentTrial:case da.BuyNow:return a.createElement(Zn,{...o,onClick:function(){m()}});case da.Current:return a.createElement(ea,{...o,onClick:h});case da.Switch:return a.createElement(ta,{...o,onClick:()=>d(Hn.ChangePlanType.Switch)});case da.NotAvailable:return a.createElement(na,{...o});default: +return a.createElement(Jn,{...o})}function m(){const{proPlan:t,billingCycle:n,appName:a}=e;a?zn(a):(g(t),i(n,{productName:t,fixedCycle:!1}))}function g(e){f("gopro",e)}function h(){m()}});var ga=n(71360),ha=n(60495);function fa(){document.removeEventListener("scroll",fa),document.removeEventListener("touchstart",fa),(0,Ht.hide)()}function ya(e){Vt.mobiletouch&&((0,Ht.showOnElement)(e.currentTarget,{tooltipDelay:0}),document.addEventListener("scroll",fa),document.addEventListener("touchstart",fa))}function va(e){const{discount:t,fullMonthlyPrice:n,fullYearlyPrice:r,isEarlyBird:o=!1,isVisibleInformationIcon:i=!0,isLastChance:c=!1}=e,l=E.t("Compared to paying monthly."),s=E.t("All of your unused trial days will be added to your subscription. This offer expires soon."),u=E.t("The full monthly price is ${monthlyPrice}. The monthly price within the yearly subscription is ${yearlyPrice}.").format({monthlyPrice:n,yearlyPrice:r}),d=E.t("Compared to paying monthly. This offer expires soon."),m=E.t("You save {strongTag}${amount}{strongTag} a year"),[p,g,h,f]=m.split(/{strongTag}|{amount}/),y=c?d:l+" "+(o?s:u);if(0===t)return a.createElement(a.Fragment,null);const v=B(ga["tooltip-wrap"],i&&"apply-common-tooltip");return a.createElement("div",{className:ga.label},a.createElement("span",null,p,a.createElement("strong",null,g+t.toString()+h),f),i&&a.createElement("span",{className:ga["info-icon-wrap"]},a.createElement(ce.Icon,{icon:ha,className:ga["info-icon"]})),i&&a.createElement("div",{title:y,"aria-label":y,onClick:ya,className:v}))}var Ca=n(63332);class ba extends a.PureComponent{render(){const{proPlan:e}=this.props;return a.createElement("div",{className:Ca.cardTitle},(0,p.humanizeCardPlan)(e))}}var Ea=n(86326);class wa extends a.PureComponent{render(){let e;switch(this.props.proPlan){case Pn.ProPlans.Free:e=E.t("For new traders and investors starting their journey");break;case Pn.ProPlans.Pro:e=E.t("Distraction-free trading and investing, with more charts, intervals and indicators");break;case Pn.ProPlans.ProRealtime:e=E.t("Intraday technical analysis for day traders looking to take things to the next level");break;case Pn.ProPlans.ProPremium:e=E.t("Highest precision and maximum data to capture all possible opportunities")}return a.createElement("div",{className:Ea.cardDescription},e)}}var xa=n(54417),_a=n(64790);function Pa(e){const{proPlan:t,isActiveCard:n,labelType:r,isSixMonthsOffer:o}=e;if(1===r)return a.createElement("div",{className:B(_a.label,_a.gift,_a["label-gift--"+t],!n&&_a["no-active-card"]),dir:"ltr"},a.createElement(ce.Icon,{icon:xa,className:_a.icon}));const i=E.t("-{numberDiscount}% off").format({numberDiscount:e.discount.toString()}),c=o?_a["label-discount-upsell"]:_a["label-discount--"+t];return a.createElement("div",{className:B(_a.label,_a.discount,c,!n&&_a["no-active-card"]),dir:"ltr"},i)}var Sa=n(84235);const ka=/{\w+}/;function Ta(e){ +const t=E.t("or skip trial and {openLink}pay now{closeLink}"),{visitPaymentPage:n}=a.useContext(oe),{proPlan:r,billingCycle:o,offerId:i}=e,c=t.split(ka).filter(e=>e.length>0),l=(0,a.useCallback)(e=>{e.preventDefault(),window.runOrSignIn(()=>n(o,{productName:i||r}),{source:"Skip trial"}),(0,G.trackEvent)("Gopro","click_CTA_pay_now",r),f("gopro",r+" skip trial")},[r,o,i]);return a.createElement("div",{className:Sa.skipTrial},c[0],a.createElement("a",{href:"/order/",onClick:l,className:Sa.link},c[1]))}var Na;!function(e){e[e.Downgrade=0]="Downgrade",e[e.Upgrade=1]="Upgrade"}(Na||(Na={}));var Aa=n(3412);function Da(e){const{action:t,eventAction:n,proPlan:r,offerId:o}=e,{changeTrial:i}=a.useContext(oe),{state:c}=a.useContext(D),s=t===ma.DowngradeTrial?E.t("Trial downgrade"):E.t("Trial upgrade");return a.createElement("a",{href:"",className:Aa["change-trial"],onClick:function(e){var a,s;e.preventDefault();const u=null===(s=null===(a=null==c?void 0:c.subscriptionDetails)||void 0===a?void 0:a.renewal)||void 0===s?void 0:s.billing_cycle;if(void 0===u)return;let d=r.toString();o&&u===l.BillingCycle.OneYear&&(d=o);t===ma.DowngradeTrial?(i(d,u,Na.Downgrade),(0,G.trackEvent)("Gopro",n,"Downgrade trial"),f("gopro",d+" downgrade trial")):t===ma.UpgradeTrial&&(i(d,u,Na.Upgrade),(0,G.trackEvent)("Gopro",n,"Upgrade trial"),f("gopro",d+" upgrade trial"))},role:"button"},s)}function Ia(e){const{user:t}=a.useContext(D),{proPlan:n}=e,r=(null==t?void 0:t.is_trial)&&void 0!==(null==t?void 0:t.pro_plan)&&(0,p.getProductForTrial)(null==t?void 0:t.pro_plan)===n;return a.createElement("div",{className:Aa["current-trial"]},r&&E.t("Current trial"))}var Ra=n(1787),Oa=n(33848);function Ba(e){const{secondaryAction:t,proPlan:n,offerId:r,billingCycle:o,showChangeTrial:i,currentSubscriptionExpireOn:c}=e;if(t===ma.SkipTrial)return a.createElement(Ta,{proPlan:n,billingCycle:o,offerId:r});if(i&&(t===ma.UpgradeTrial||t===ma.DowngradeTrial))return a.createElement(Da,{action:t,eventAction:`click_CTA_${n}_top'}`,proPlan:n,offerId:r});if(c&&t===ma.DateStarted)return a.createElement("div",{className:Oa.description},E.t("Starting on {date}").format({date:_e.dateFormatFunctions["MMM dd, yyyy"](new Date(c),!1)}));if(c&&t===ma.DateEnd)return a.createElement("div",{className:Oa.description},E.t("Ending on {date}").format({date:_e.dateFormatFunctions["MMM dd, yyyy"](new Date(c),!1)}));if(t===ma.DowngradeDescription){const e=E.t("If chosen, this'll start {solution_link}once the existing plan ends{close_solution_link}").split(/{solution_link}|{close_solution_link}/);return a.createElement("div",{className:Oa.description},e[0],a.createElement("a",{className:Oa.link,href:"?solution="+Ra.solutionIds.GOPRO_DOWNGRADE_DESCRIPTION,role:"button"},e[1]),e[2])}if(t===ma.UpgradeDescription){const e=E.t("Pay nothing extra — {solution_link}here's how{solution_link}").split(/{solution_link}|{close_solution_link}/);return a.createElement("div",{className:Oa.description},e[0],a.createElement("a",{className:Oa.link,href:"?solution="+Ra.solutionIds.GOPRO_UPGRADE_DESCRIPTION, +role:"button"},e[1]),e[2])}return t===ma.CurrentPlan?a.createElement("div",{className:Oa.description},E.t("This is your current plan")):a.createElement(Ia,{proPlan:n})}var Ma=n(84895);function La(e){return e===da.CurrentSixMonthUpgrade||e===da.SixMonthUpgrade}function Ya(e){const{primaryAction:t,secondaryAction:n,billingCycle:r,offerProduct:o,product:i,isLowerWeightOffer:c,appName:s,currentSubscriptionExpireOn:u,trialLength:d,isActive:m,className:g,priceProps:h,label:f}=e,{cost:y}=i,v=i.text_id,C=function(e){return e===da.CurrentEarlyAccess||e===da.EarlyAccess}(t),b=function(e){return e===da.LastChance||e===da.CurrentLastChance}(t),E=function(e){return e===da.OneUsdUpgrade}(t),w=La(t),x=!s&&function(e){return e===ma.UpgradeTrial||e===ma.DowngradeTrial}(n);let _;o&&o.product_id?_=o.product_id:o&&(_=o.product.text_id);const P=(0,p.countDiscountByBillingCycle)(h.price,y,r),S=B(Ma.card,Ma[v],g);return a.createElement("div",{className:S},void 0!==f&&a.createElement(Pa,{isSixMonthsOffer:w,isActiveCard:m,proPlan:v,discount:h.discount,labelType:f}),a.createElement(ba,{proPlan:v}),a.createElement(wa,{proPlan:v}),a.createElement(Un,{price:(0,p.round2)(h.price),period:l.BillingCycle.Monthly,color:E?Yn.Red:Yn.Black}),a.createElement(va,{discount:E?0:P,fullMonthlyPrice:(0,p.round2)(h.canceledPrice),fullYearlyPrice:(0,p.round2)(h.price),isEarlyBird:C,isLastChance:b,isVisibleInformationIcon:!w}),a.createElement("div",{className:Ma.button},a.createElement(pa,{proPlan:v,discount:h.discount,action:t,trialLength:d,offerId:_,billingCycle:r,variant:t===da.Downgrade?"secondary":"primary",isLowerWeightOffer:c,appName:s})),a.createElement(Ba,{secondaryAction:n,proPlan:v,offerId:_,billingCycle:r,showChangeTrial:x,currentSubscriptionExpireOn:u}))}var Ua=n(70191);function Fa(e){const{card:t,gridKey:n}=e;let r;La(t.primaryAction)&&(r=1),t.priceProps.discount>0&&(r=0);const o=B(Ua.top,Ua["top-"+n],{[Ua["is-active"]]:t.isActive,[Ua["with-label"]]:void 0!==r}),i=B(Ua.bottom,Ua["bottom-"+n],{[Ua["is-active"]]:t.isActive});return a.createElement(a.Fragment,null,a.createElement(Ya,{...t,isLowerWeightOffer:t.isLowerWeightOffer,appName:t.appName,className:o,label:r}),a.createElement(Bn,{proPlan:t.product.text_id,className:i}))}var za=n(87239),Ha=n(96644),Va=n(29201);const ja=a.memo((function(e){const t=`/share-your-love/?source=${e.source}&feature=card_referral_note`,n=(0,E.t)("Refer a friend and earn ${bonus} to upgrade your plan").format({bonus:"30"});return a.createElement("a",{className:Ha.container,href:t,target:"_blank"},a.createElement("span",{className:Ha.text},n),a.createElement(ce.Icon,{icon:za,className:B(Ha.icon,Va.icon)}))}));var Ga;!function(e){e.Plans="plans",e.Compare="compare",e.Markets="markets",e.WallOfLove="walloflove",e.FAQ="faq"}(Ga||(Ga={}));Ga.Plans,Ga.Compare,Ga.Markets,Ga.WallOfLove,Ga.FAQ;var Wa=n(61975);function qa(e){const t=E.t("Compare all features"),n=new URL("./gopro/",window.location.origin);return n.searchParams.append("source",e.source),n.searchParams.append("feature","card_compare_features"),n.hash=Ga.Compare, +a.createElement("a",{className:Ha.container,href:n.href,target:"_blank"},a.createElement("span",{className:Ha.text},t),a.createElement(ce.Icon,{icon:Wa,className:Ha.icon}))}var $a,Ka=n(31976);!function(e){e[e.CompareFeatures=0]="CompareFeatures",e[e.ReferralNote=1]="ReferralNote"}($a||($a={}));const Qa=a.memo((function(e){const{type:t,source:n}=e;return a.createElement("div",{className:Ka["under-cards"]},t===$a.CompareFeatures&&a.createElement(qa,{source:n}),t===$a.ReferralNote&&a.createElement(ja,{source:n}))}));var Xa=n(88537);function Za(e,t,n,a){var r,o,i,c,l;let s=null!==(r=e.getCost({...t,fixed_cost:!0},n))&&void 0!==r?r:0;const u=t.cost;let d=0,m=null!==(o=e.getCost(t,n))&&void 0!==o?o:0;const p={...t};delete p.cost_annual,delete p.cost_biennial;const g=null!==(i=e.getCost(p,n))&&void 0!==i?i:0;void 0!==a&&(s=null!==(c=e.getCost({...a,fixed_cost:!0},n))&&void 0!==c?c:0,d=a.discount.discount_percent||0,m=null!==(l=e.getCost(a,n))&&void 0!==l?l:0);const h=Math.round(100*(1-s/t.cost));return{price:s,canceledPrice:u,discount:d,fullPrice:m,canceledFullPrice:g,annualProfit:Math.round(100*(1-s/t.cost_annual)),profit:h}}class Ja{constructor(e){this.createCardInfo=e=>{const{pro:t,appName:n,trialLength:a,userProduct:r,availableOffers:o,userAuthenticated:i,subscriptionDetails:c}=this._cardsData,l=i?this._getCardPrimaryAction(e):da.Trial,u=i?this._getCardSecondaryAction(e,l):ma.SkipTrial,d=null!==r&&e.upgrade_weight{var t,n,a;const{isTrialPlan:r,userProduct:o,bannedTrial:i,billingCycle:c,trialAvailable:l,availableOffers:s,subscriptionDetails:u}=this._cardsData,d=null==u?void 0:u.billing_cycle,{early_access:m,last_chance:p,one_usd:g,six_months:h}=s,f=this._getCardOfferProduct(e,m),y=this._getCardOfferProduct(e,h),v=this._getCardOfferProduct(e,p) +;return void 0!==m&&f?(null==o?void 0:o.text_id)===(null===(t=null==f?void 0:f.product)||void 0===t?void 0:t.text_id)?da.CurrentEarlyAccess:da.EarlyAccess:void 0!==h&&void 0!==y?(null==o?void 0:o.text_id)===(null===(n=y.product)||void 0===n?void 0:n.text_id)?da.CurrentSixMonthUpgrade:da.SixMonthUpgrade:void 0!==p&&v?(null==o?void 0:o.text_id)===(null===(a=null==v?void 0:v.product)||void 0===a?void 0:a.text_id)?da.CurrentLastChance:da.LastChance:void 0!==g&&g.products[e.text_id]?da.OneUsdUpgrade:null!==o&&r&&e.upgrade_weight===o.upgrade_weight?da.CurrentTrial:null!==o&&void 0!==d?this._getRegularCard(e,o,c,d):l?da.Trial:i?da.BuyNow:da.StartPlan},this._getCardSecondaryAction=(e,t)=>{const{isTrialPlan:n,userProduct:a,trialAvailable:r,subscriptionDetails:o}=this._cardsData,i=null==o?void 0:o.billing_cycle,c=n&&e.upgrade_weight===(null==a?void 0:a.upgrade_weight);if(null!==a&&n){if(e.upgrade_weighta.upgrade_weight)return ma.UpgradeTrial}return!c&&r?ma.SkipTrial:t===da.Downgrade||t===da.Switch?ma.DowngradeDescription:t===da.Upgrade&&i!==l.BillingCycle.Monthly?ma.UpgradeDescription:t===da.DowngradeActivated?ma.DateStarted:t===da.ReactivateCurrent?ma.DateEnd:null===a||n||e.text_id!==a.text_id?void 0:ma.CurrentPlan},this._getCardOfferProduct=(e,t)=>{if(!t)return;const n=e.text_id,a=t.products[n];if(!a||!a.product.discount.billing_cycle)return;const r=this._cardsData.billingCycle===l.BillingCycle.TwoYears?l.BillingCycle.OneYear:this._cardsData.billingCycle,o=[String(Pn.ProPlans.Pro),String(Pn.ProPlans.ProRealtime),String(Pn.ProPlans.ProPremium)].includes(n),i=a.product.discount.billing_cycle===r;return o&&i?a:void 0},this._getAvailableOffer=e=>{const{text_id:t}=e,{one_usd:n}=this._cardsData.availableOffers;if(n)return n.products[t]},this._getRegularCard=(e,t,n,a)=>{var r,o;const{subscriptionDetails:i}=this._cardsData,c=null===(r=null==i?void 0:i.renewal)||void 0===r?void 0:r.product_id,l=null===(o=null==i?void 0:i.renewal)||void 0===o?void 0:o.billing_cycle,s=this._downgradeAvailable(),u=function(e,t){var n,a;if(!(null===(n=null==e?void 0:e.renewal)||void 0===n?void 0:n.is_active))return!1;const r=null===(a=null==e?void 0:e.renewal)||void 0===a?void 0:a.offer_kind;return t?t===r:void 0!==r&&["downgrade","last_chance","downgrade_black_friday"].includes(r)}(this._cardsData.subscriptionDetails);if(e.upgrade_weight===t.upgrade_weight){if(u){if(c===e.text_id&&l===n)return da.DowngradeActivated;if(s&&a===n)return da.ReactivateCurrent}return s&&nt.upgrade_weight?da.Upgrade:s&&e.upgrade_weight!this._cardsData.isDowngradeDisabled&&this._cardsData.canDowngrade,this._cardsData={pro:e.pro,appName:e.appName,userProduct:e.userProduct,trialLength:e.trialLength,isTrialPlan:e.isTrialPlan,canDowngrade:e.canDowngrade,billingCycle:e.billingCycle,bannedTrial:e.bannedTrial,trialAvailable:e.trialAvailable, +availableOffers:e.availableOffers,userAuthenticated:e.userAuthenticated,isDowngradeDisabled:e.isDowngradeDisabled,subscriptionDetails:e.subscriptionDetails}}}function er(e){return[da.CurrentEarlyAccess,da.CurrentSixMonthUpgrade,da.CurrentLastChance,da.Current,da.CurrentTrial].includes(e)}function tr(e){const{className:t,proPlans:n,underCards:r}=e,o=(0,a.useMemo)(()=>new Ja(e),[e]),i=n.map(o.createCardInfo),c=i.some(e=>e.isActive);return a.createElement("div",{className:B(t,Ua["cards-wrap"])},a.createElement("div",{className:Ua.cards},a.createElement("div",{className:B(Ua["cards-scroll-wrap"],c&&Ua["has-active"])},i.map((e,t)=>a.createElement(Fa,{card:e,gridKey:t,key:e.product.text_id})))),a.createElement(Qa,{type:r,source:e.source}))}var nr=n(17946),ar=n(14488),rr=n.n(ar);function or(e,t){return t||null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const ir=(e,t)=>{const n=(0,a.useContext)(nr.CustomBehaviourContext),{className:r,isSelected:o,children:i,startIcon:c,showCaret:l,endIcon:s,forceDirection:u,iconOnly:d,color:m="gray",variant:p="primary",size:g="medium",enableActiveStateStyles:h=n.enableActiveStateStyles,enablePointerOnHover:f=n.enablePointerOnHover}=e;return B(r,rr()["light-button"],o&&rr().selected,or(i,d)&&rr()["no-content"],c&&rr()["with-start-icon"],(l||s)&&rr()["with-end-icon"],t&&rr()["with-grouped"],u&&rr()["force-direction-"+u],rr()["variant-"+p],rr()["color-"+m],rr()["size-"+g],rr()["typography-"+g],!f&&rr()["disable-cursor-pointer"],!h&&rr()["disable-active-state-styles"])};function cr(e){const{startIcon:t,endIcon:n,showCaret:r,iconOnly:o,ellipsis:i=!0,children:c}=e;return a.createElement(a.Fragment,null,t&&a.createElement(ce.Icon,{className:rr().icon,icon:t}),!or(c,o)&&a.createElement("span",{className:rr().content},i?a.createElement("span",{className:rr()["ellipsis-container"]},c):c),(n||r)&&(e=>a.createElement(ce.Icon,{className:B(rr().icon,e.showCaret&&rr().caret),icon:e.showCaret?le:e.endIcon}))(e))}var lr=n(86332);function sr(e){const{isGrouped:t}=a.useContext(lr.ControlGroupContext),{reference:n,className:r,isSelected:o,children:i,startIcon:c,iconOnly:l,ellipsis:s,showCaret:u,forceDirection:d,endIcon:m,color:p,variant:g,size:h,enableActiveStateStyles:f,enablePointerOnHover:y,...v}=e;return a.createElement("button",{...v,className:ir({className:r,isSelected:o,children:i,startIcon:c,iconOnly:l,showCaret:u,forceDirection:d,endIcon:m,color:p,variant:g,size:h,enableActiveStateStyles:f,enablePointerOnHover:y},t),ref:n},a.createElement(cr,{showCaret:u,startIcon:c,endIcon:m,iconOnly:l,ellipsis:s},i))}var ur=n(79370),dr=n.n(ur);function mr(e,t,n){return{isTop:e=t*(n-1),isLeft:e%t==0}}function pr(e){const{children:t,rows:n,cols:r,disablePositionAdjustment:o,className:i,...c}=e,l=a.Children.count(t),s=null!=r?r:l,u=null!=n?n:function(e,t){return Math.ceil(e/t)}(l,s),d=(0,a.useMemo)(()=>{const e=[];for(let t=0;ta.createElement(lr.ControlGroupContext.Provider,{value:d[t]},e)),p={"--ui-lib-control-group-cols":s.toString(10),"--ui-lib-control-group-rows":u.toString(10)};return a.createElement("span",{className:B(dr().group,i),style:p,...c},m)}var gr=n(88755),hr=n.n(gr);function fr(e){const{children:t,className:n,...r}=e;return a.createElement(pr,{className:M()(hr()["light-button-group"],n),...r},t)}var yr=n(99925);const vr=a.memo((function(e){return a.createElement("div",{className:yr.label},e.children)}));var Cr=n(59899),br=n(14333);const Er=a.memo((function(e){const{billingCycle:t,hide:n=!1,discount:r,labelType:o,onChange:i}=e,c=E.t("Monthly"),s=E.t("Annually");let u;u=0===o?r?E.t("Going annual will save you up to {discount}% {noWrapTag}this year {emoji}{noWrapTagClose}").format({discount:r}):E.t("Annually you have {discount}% off which is 2 months {noWrapTag}free {emoji}{noWrapTagClose}").format({discount:"16"}):E.t("Go for a year plan, get 6 months free. {noWrapTag}Good times {emoji}{noWrapTagClosed}");const d=u.split(/{emoji}|{noWrapTag}|{noWrapTagClose}/);if(n)return null;const m=t===l.BillingCycle.Monthly,p=t===l.BillingCycle.OneYear,g=a.useCallback(()=>{i&&i(l.BillingCycle.Monthly)},[]),h=a.useCallback(()=>{i&&i(l.BillingCycle.OneYear)},[]);return a.createElement("div",{className:br.container},a.createElement("div",{className:br.switcher,role:"radiogroup"},a.createElement(fr,{cols:2},a.createElement(sr,{"aria-label":c,"aria-checked":m,onClick:g,role:"radio",tabIndex:0,isSelected:m,variant:"quiet-primary"},c),a.createElement(sr,{"aria-label":s,"aria-checked":p,onClick:h,role:"radio",tabIndex:0,isSelected:p,variant:"quiet-primary"},s)),a.createElement(ce.Icon,{icon:Cr,className:br["arrow-curve"]})),a.createElement(vr,null,d[0],a.createElement("span",{className:br.nowrap}," ",d[1],a.createElement("span",{className:br.emoji}," ",0===o?"😍":"🎁"),d[3])))}));var wr=n(53746),xr=n(75246);function _r(e){const{title:t,secondary:n,className:r,secondaryClassName:o}=e;return a.createElement("div",{className:B(xr.titleContainer,r)},a.createElement("h1",{className:xr.title},t),n&&a.createElement("p",{className:B(xr.secondary,o)},n))}var Pr=n(22020);a.memo(e=>{const[t,n]=Sr(e);return a.createElement(_r,{className:Pr.title,secondaryClassName:Pr.secondary,title:t,secondary:n})});function Sr(e){const{availableOffers:t,userAuthenticated:n,userBillingCycle:a,userProduct:r,affiliateName:o,userHadPro:i,isTrialPlan:c}=e,u=E.t("Plans for every level of ambition"),d=E.t("Try any of our plans, free for {days} day",{plural:"Try any of our plans, free for {days} days",context:"free_trial",count:e.trialLength}).format({days:e.trialLength.toString()}),m=E.t("Early bird offer"),p=E.t("Limited offer for monthly subscribers"),g=E.t("Wait, don't go"),h=E.t("Get an upgrade for $1"),f=E.t("You've got the most powerful plan. Enjoy!"),y=E.t("Your bonus is waiting for you");return n?s.OFFERS.trial in t?[d]:function(e,t){return e&&s.OFFERS.early_access in t&&void 0!==t.early_access +}(c,t)?[m]:s.OFFERS.six_months in t?[p]:s.OFFERS.last_chance in t?[g]:s.OFFERS.one_usd in t?[h]:null!==r&&r.text_id===Pn.ProPlans.ProPremium&&void 0!==a&&[l.BillingCycle.OneYear,l.BillingCycle.TwoYears].includes(a)?[f]:o&&!i?[y]:[u]:[u]}var kr=n(24169);const Tr=a.memo((function(e){const[t,n]=Sr(e);return a.createElement("div",{className:kr.titleContainer},a.createElement("h2",{className:kr.title},t),n&&a.createElement("p",{className:kr.secondary},n))}));var Nr=n(78365);const Ar=a.memo((function(e){var t,n;const{onChangeBillingCycle:r}=e,{user:o,pro:i,state:c}=a.useContext(D),{bannedTrial:u,canDowngrade:d,subscriptionDetails:m,affiliateUsername:f}=c,y=a.useMemo(()=>{var e,t;return null!==(t=null===(e=null==i?void 0:i.getProductsByType(i.PRODUCT_TYPES.pro_plan))||void 0===e?void 0:e.filter(e=>!e.is_limited))&&void 0!==t?t:[]},[i]),v=i&&o?h(i,o,null==c?void 0:c.subscriptionDetails):l.BillingCycle.Monthly,[C,b]=a.useState(v);a.useEffect(()=>{i&&o&&b(h(i,o,null==c?void 0:c.subscriptionDetails))},[o,i,c]);const E=a.useCallback(e=>{b(e),r(e)},[r]);if(null===o||null===i||0===y.length)return a.createElement("div",{className:Nr.container});const{userBillingCycle:w,isTrialPlan:x,userProduct:_}=function(e,t){let n=!1,a=null;const r=null==t?void 0:t.billing_cycle,o=null==t?void 0:t.product_id;if(o){n=(0,p.isTrialProduct)(o);const t=n?(0,p.getProductForTrial)(o):o;a=e.getProduct(t)}return{userBillingCycle:r,isTrialPlan:n,userProduct:a}}(i,m),P=null!==(t=null==o?void 0:o.available_offers)&&void 0!==t?t:{},S=g(P),k=s.OFFERS.trial in P,T=window.is_authenticated,N=(0,V.isFeatureEnabled)("pro_plan_downgrades_disabled"),A=null!==(n=null==o?void 0:o.app_name)&&void 0!==n?n:"",I=(0,xe.getTrialLength)();return a.createElement("div",{className:Nr["vertical-alignment-height"]},a.createElement("div",{className:Nr.container},a.createElement("div",{className:Nr["block-wrap"]},a.createElement(Tr,{affiliateName:f,userAuthenticated:T,availableOffers:P,userBillingCycle:w,userHadPro:Boolean(null==o?void 0:o.had_pro),userProduct:_,isTrialPlan:x,trialLength:I}),a.createElement(wr.GoproOfferCountdown,{userAuthenticated:T,availableOffers:P}),a.createElement(Er,{billingCycle:C,onChange:E,hide:S||(null==o?void 0:o.is_trial)||void 0!==w&&w!==l.BillingCycle.Monthly,labelType:P[s.OFFERS.six_months]?1:0}),a.createElement(tr,{className:Nr.cards,availableOffers:P,trialAvailable:k,proPlans:y,userAuthenticated:T,bannedTrial:u,billingCycle:C,isTrialPlan:x,userProduct:_,isDowngradeDisabled:N,appName:A,canDowngrade:d,subscriptionDetails:m,trialLength:I,underCards:$a.CompareFeatures,pro:i,source:"gopro_order_dialog"}))))}));var Dr=n(31946),Ir=n(74745),Rr=n(41285);const Or=new Set(["exchange-iceusa"]);function Br(e){const{onChecked:t,products:n,hasExchanges:r,billingCycle:o,paymentTab:i,showError:c}=e,[l,s]=(0,a.useState)(!1),[u,d]=(0,a.useState)(r),[m,p]=(0,a.useState)({nonPro:!1,terms:!1,ice:!1});(0,a.useEffect)(()=>{const e=n.some(e=>Or.has(e));s(e),d(r)},[n,r]),(0,a.useEffect)(()=>{const e=[m.terms];l&&e.push(m.ice),u&&e.push(m.nonPro);const n=e.every(e=>e);t(n) +},[m,l,u,i]);const g=(0,a.useCallback)(e=>{p({...m,[e]:!m[e]})},[m]),h=E.t("Non-professional trader means any natural person who receives market data solely for his/her personal, non-business use and cannot be a corporation, trust, organization, institution or partnership account.");return a.createElement("div",{className:Rr.termsCheckboxesContainer},l&&a.createElement(Ir.TermsCheckbox,{checked:m.ice,onChange:()=>g("ice"),labelText:E.t("I have read and agree with the {iceLink}ICE Subscriber Agreement{closeLink}.").format({iceLink:'
    ',closeLink:""}),checkboxId:"ice",showError:c}),u&&a.createElement(Ir.TermsCheckbox,{checked:m.nonPro,onChange:()=>g("nonPro"),labelText:E.t("I'm a non-professional trader"),checkboxId:"non-pro",showError:c},a.createElement("span",{className:M()("apply-common-tooltip",Rr.nonProLable),title:h,"aria-label":h},E.t("I'm a non-professional trader"),a.createElement(ce.Icon,{icon:Tn,className:Rr.infoIcon}))),a.createElement(Ir.TermsCheckbox,{checked:m.terms,onChange:()=>g("terms"),labelText:Mr(i,o,n),checkboxId:"terms-of-use",showError:c}))}function Mr(e,t,n){return e===te.PaymentTab.Ecommpay&&n.length>1?`${Yr()} ${Lr()}`:e===te.PaymentTab.Coinbase?E.t("{policyText} I confirm that refunds will only be made in line with the situations they describe.").format({policyText:Yr()}):function(e){return`${{[l.BillingCycle.OneYear]:E.t("I authorize TradingView to charge me automatically every year, until I cancel my subscription."),[l.BillingCycle.Monthly]:E.t("I authorize TradingView to charge me automatically every month, until I cancel my subscription."),[l.BillingCycle.ThreeMonths]:E.t("I authorize TradingView to charge me automatically every three months, until I cancel my subscription."),[l.BillingCycle.TwoYears]:E.t("I authorize TradingView to charge me automatically every two years, until I cancel my subscription.")}[e]} ${E.t("{acknowledgeText} The subscription can be canceled at any time from the Account and Billing section in the Profile settings. {policyText}").format({termsLink:'',privacyLink:'',closeLink:"",policyText:Yr(),acknowledgeText:Lr()})}`}(t)}function Lr(){return E.t("I acknowledge that refunds are made according to the Terms of Use.")}function Yr(){return E.t("I have read, and agree to, TradingView's {termsLink}Terms of Use{closeLink} and {privacyLink}Privacy Policy{closeLink}.").format({termsLink:'',privacyLink:'',closeLink:""})}var Ur=n(76221);function Fr(e){const{products:t,defaultTab:n,currentTab:r,buttonContainerRef:o,billingCycle:i,hasExchanges:c,ipCountryCode:s,onSuccessPurchase:u,onTabChange:d,onError:m,onClose:p,onBillingAddressChange:g,currency:h,price:f,blockedCountries:y}=e,[v,C]=(0,a.useState)(!1),[b,w]=(0,a.useState)(!1),[x,_]=(0, +a.useState)([]);(0,a.useEffect)(()=>{var e,t;const n=[];try{(0,V.isFeatureEnabled)("braintree-apple-pay")&&(null===(e=window.ApplePaySession)||void 0===e?void 0:e.supportsVersion(3))&&(null===(t=window.ApplePaySession)||void 0===t?void 0:t.canMakePayments())||n.push(te.PaymentTab.ApplePay)}catch(e){n.push(te.PaymentTab.ApplePay)}(0,V.isFeatureEnabled)("braintree-google-pay")||n.push(te.PaymentTab.GooglePay),(0,V.isFeatureEnabled)("ecommpay_ru")&&(0,mt.showEcommpay)(s)&&i===l.BillingCycle.Monthly&&n.push(te.PaymentTab.Coinbase),(0,mt.canShowPaypalPaymentMethod)(s)||n.push(te.PaymentTab.Paypal),_(n)},[i,s]);const P=(0,a.useCallback)(e=>{d(e),w(!1)},[d]);return a.createElement("div",null,a.createElement(Bt,{text:E.t("Payment method")}),a.createElement(Dr.PaymentMethod,{onPurchase:ne.onOrderPurchase,defaultTab:n,products:t,billingCycle:i,onTabChange:P,onSuccess:u,onError:m,buttonContainer:o,checked:v,switcherContainerClassName:Ur.swithcherContainer,excludedTabs:x,onCheckboxValidityChange:w,onClose:p,onBillingAddressChange:g,price:f,hideTotalPrice:!0,defaultCountry:s,currency:h,blockedCountries:y},a.createElement(Br,{onChecked:C,products:t,hasExchanges:c,billingCycle:i,paymentTab:r,showError:b})))}var zr=n(71323);function Hr(e){const{modifier:t,onChangeOrderTerms:n,billingCycle:r,planName:o}=e;let i=E.t("Downgrade trial to {plan_name}"),c=E.t("You can downgrade your trial and pick the one that meets your needs. This way you’ll know exactly what you are paying for if wish to continue using this plan after the free trial period."),l=E.t("If you switch to a different plan, the amount charged at the end of the trial (if you don’t cancel) will change according to the new plan.");return t===Na.Upgrade&&(i=E.t("Upgrade trial to {plan_name}"),c=E.t("You can continue your trial with a different plan for free to check out more features."),l=E.t("If you switch to a better plan, the amount charged at the end of the trial (if you don’t cancel) will change according to the new plan.")),a.createElement("div",null,a.createElement(Bt,{text:i.format({plan_name:o})}),a.createElement("p",{className:zr.trialSubtitle},c),a.createElement("p",{className:zr.trialSubtitle},l),a.createElement("div",{className:zr.changeTrialTerms},a.createElement(Br,{billingCycle:r,onChecked:n,products:[],hasExchanges:!1})))}var Vr=n(12107);const jr=(0,b.getLogger)("Payment.TrialPaymentMethod"),Gr=[te.PaymentTab.OneClick,te.PaymentTab.Coinbase],Wr=te.PaymentTab.CreditCard;const qr=a.memo((function(e){var t,n,r,o;const{proPlanProductId:i,onSuccessPurchase:c,buttonContainerRef:l,onBillingAddressChange:s,billingCycle:u,modifier:d,onChangeOrderTerm:m,orderTermsChecked:g,ipCountryCode:h,onTabChange:f,currency:y,blockedCountries:v}=e,[C,b]=(0,a.useState)(!1),w=(0,xe.getTrialLength)();(0,a.useEffect)(()=>{(0,Vr.trackTrialAction)(i,u,"show","braintree"),(0,ie.trackPaymentOrderDialogInitial)(st.Steps.Trial,[i],u)},[]);try{(0, +V.isFeatureEnabled)("braintree-apple-pay-trial")&&(null===(t=window.ApplePaySession)||void 0===t?void 0:t.supportsVersion(3))&&(null===(n=window.ApplePaySession)||void 0===n?void 0:n.canMakePayments())||Gr.push(te.PaymentTab.ApplePay)}catch(e){Gr.push(te.PaymentTab.ApplePay)}(0,V.isFeatureEnabled)("braintree-google-pay-trial")||Gr.push(te.PaymentTab.GooglePay),(0,mt.canShowPaypalPaymentMethod)(h)||Gr.push(te.PaymentTab.Paypal);const{pro:x}=a.useContext(D),_=null==x?void 0:x.getProduct(i),P=null!==(r=null==_?void 0:_.text_id)&&void 0!==r?r:i,S=(0,a.useCallback)(e=>jr.logError(e.message),[]);if(void 0!==d)return a.createElement(Hr,{onChangeOrderTerms:m,billingCycle:u,modifier:d,planName:null!==(o=null==_?void 0:_.name)&&void 0!==o?o:""});const k=(0,a.useMemo)(()=>({totalCostWithTax:0}),[]);return a.createElement("div",null,a.createElement(Bt,{text:(T=P,N=w,E.t("Start free {daysCount}-day {proPlan}",{plural:"Start free {daysCount}-day {proPlan}",context:"free_trial",count:N}).format({proPlan:(0,p.humanizeProPlan)(T,!0),daysCount:N.toString()}))}),a.createElement("p",{className:zr.trialSubtitle},function(e){return{[Pn.ProPlans.Pro]:E.t("Distraction-free trading and investing, with more charts, intervals and indicators"),[Pn.ProPlans.ProRealtime]:E.t("Intraday technical analysis for day traders looking to take things to the next level"),[Pn.ProPlans.ProPremium]:E.t("Highest precision and maximum data to capture all possible opportunities")}[e]||""}(P)),a.createElement(Dr.PaymentMethod,{onPurchase:ne.onStartTrial,defaultTab:Wr,products:[i],billingCycle:u,onSuccess:c,onError:S,buttonContainer:l,checked:g,onTabChange:f,switcherContainerClassName:zr.swithcherContainer,excludedTabs:Gr,purchaseButtonText:E.t("Start {days}-day free trial",{plural:"Start {days}-day free trial",context:"free_trial",count:w}).format({days:w.toString()}),hideTryAgainButtonCodes:["trial_not_available"],onCheckboxValidityChange:e=>b(e),onBillingAddressChange:s,price:k,hideTotalPrice:!0,defaultCountry:h,blockedCountries:v,currency:y,isTrial:!0},a.createElement(Br,{onChecked:m,products:[],hasExchanges:!1,billingCycle:u,showError:C})));var T,N}));var $r=n(10287);function Kr(e){const{billingCycle:t,product:n,pro:r,discount:o,disabled:i}=e,c=Za(r,n,t),l=(null==o?void 0:o.billing_cycle)===t&&(null==o?void 0:o.offer_type)!==s.OfferKind.one_usd,u=B($r["billing-cycle-item"],{[$r["has-highlight"]]:null!==o&&o.offer_type!==s.OfferKind.one_usd,[$r.disabled]:i});return a.createElement("label",{className:u},a.createElement(Mt.RadioButton,{value:t,disabled:i}),a.createElement("p",{className:$r["billing-cycle"]},(0,p.getReadableCycle)(t)),a.createElement(Qr,{isHighlight:l,billingCycle:t,priceProps:c,discount:o}),a.createElement("div",{className:$r.price},"$",(0,p.round2)(c.price)," ",E.t("/mo")),c.fullPrice>c.price&&a.createElement("div",{className:$r["full-price"]},"$",(0,p.round2)(c.fullPrice)," ",function(e){var t;return null!==(t={y:E.t("/year"),m:E.t("/mo"),"2y":E.t("/2years")}[e])&&void 0!==t?t:""}(t)))}function Qr(e){ +const{billingCycle:t,priceProps:n,discount:r}=e,o=(0,p.billingPeriodText)(t),i=B($r.description,{[$r.highlight]:e.isHighlight});if(t===l.BillingCycle.Monthly&&(null==r?void 0:r.offer_type)===s.OfferKind.one_usd)return a.createElement("p",{className:i},E.t("Special offer. First month of upgraded features for one dollar."));if(t===l.BillingCycle.OneYear&&(null==r?void 0:r.offer_type)===s.OfferKind.one_usd)return a.createElement("p",{className:i},o);if(t===l.BillingCycle.Monthly)return a.createElement("p",{className:i},E.t("Most flexible option.")," ",o);if((null==r?void 0:r.offer_type)===s.OfferKind.six_months&&t===(null==r?void 0:r.billing_cycle))return a.createElement("div",{className:i},a.createElement("p",null,E.t("Special offer — pay for half a year, get the other half at no cost.")),a.createElement("p",null,E.t("We only give this discount for your first year.")));const c=Math.round(n.canceledFullPrice-n.fullPrice);return(null==r?void 0:r.offer_type)===s.OfferKind.early_access&&t===(null==r?void 0:r.billing_cycle)?a.createElement("div",{className:i},a.createElement("p",null,E.t("Save ${amount} ({profit}%) when compared to the monthly plan.").format({amount:c.toString(),profit:n.profit.toString()})," ",o),a.createElement("p",null,E.t("We only offer this discount for your first year."))):((null==r?void 0:r.offer_type)===s.OfferKind.last_chance&&(null==r||r.billing_cycle),a.createElement("p",{className:i},E.t("Save ${amount} ({profit}%) when compared to the monthly plan.").format({amount:c.toString(),profit:n.profit.toString()})))}var Xr=n(14724);const Zr=[l.BillingCycle.OneYear,l.BillingCycle.Monthly],Jr=a.memo(e=>{const{proPlanProductId:t,onChange:n,pro:r,fixedCycle:o,initialBillingCycle:i}=e,c=r.getProduct(t),l=r.isDiscountProductId(t)?r.getDiscountProduct(t):null,s=void 0===i||Zr.includes(i)?Zr:[i,...Zr];return a.useEffect(()=>{(0,ie.trackPaymentOrderDialogInitial)(st.Steps.BillingCycle,[t],e.billingCycle)},[]),a.createElement("div",null,a.createElement(Bt,{text:E.t("{plan_name} plan").format({plan_name:c.name})}),a.createElement("div",{className:Xr["billing-cycles"]},a.createElement(It.SwitchGroup,{name:"billing_cycle",onChange:e=>n(e),values:e.billingCycle?[e.billingCycle]:[]},s.map(t=>a.createElement(Kr,{product:c,pro:r,billingCycle:t,discount:l,key:"billingCycle_"+String(t),disabled:o&&e.billingCycle!==t})))))});var eo=n(39908);function to(e){const t=window.TradingView.onChartPage?E.t("Back to the chart"):E.t("Start charting");return a.createElement(ft.RoundButton,{className:eo.button,onClick:function(){window.TradingView.onChartPage||window.open("/chart/","_blank");e.onClose()}},t)}var no=n(65151),ao=n(21810);function ro(e){return a.createElement(ft.RoundButton,{className:ao.button,onClick:e.onClick},(0,E.t)("Next"))}function oo(e){const{cartData:t,receiptInfo:n,modifier:r,onClose:o,onExchangeAgreement:i,cartPrices:c}=e,{isTrial:l}=t,{pro:s,state:u}=a.useContext(D);return a.createElement("div",{className:ao["vertical-alignment-height"]},a.createElement("div",{className:ao.container +},!l&&s&&n&&a.createElement(io,{pro:s,cartData:t,receiptInfo:n,modifier:r,needExchangeAgreement:null==n?void 0:n.needExchangeAgreement,onExchangeAgreement:i,onClose:o}),l&&s&&a.createElement(co,{pro:s,cartData:t,modifier:r,subsciptionDetails:null==u?void 0:u.subscriptionDetails,needExchangeAgreement:null==n?void 0:n.needExchangeAgreement,onExchangeAgreement:i,onClose:o,cartPrices:c})))}function io(e){const{pro:t,cartData:n,receiptInfo:r,modifier:o}=e,{currency:i="",total:c}=r,{proPlanProductId:l}=n,s=(0,E.t)("Payment #{receiptId}").format({receiptId:r.transactionId}),u=a.useMemo(()=>(0,ie.getPricesForCart)({pro:t,cartData:n,listLocalPricesProducts:r.resultPricesProducts}),[t,n,r.resultPricesProducts]),d=l?(0,p.round2)(r.resultPricesProducts[l].price.total):"0",m=`${(0,ie.getCurrencySign)(i)}${(0,p.round2)(c)} ${i}`,g=function(e){const t=e.getDate().toString(),n=t.length<2?"0"+t:t,a=(e.getMonth()+1).toString(),r=a.length<2?"0"+a:a;return n+"."+r+"."+e.getFullYear()+", "+e.toLocaleTimeString([],{hour:"numeric",minute:"numeric"})}(new Date(r.date)),h=(0,ie.getListExchanges)(t,n);return a.createElement(a.Fragment,null,a.createElement("div",{className:ao.wrapper},a.createElement(ce.Icon,{icon:no,className:ao.icon}),a.createElement(Bt,{text:(0,E.t)("Thanks for purchasing"),className:ao.title}),a.createElement(lo,{needExchangeAgreement:e.needExchangeAgreement,onExchangeAgreement:e.onExchangeAgreement,onClose:e.onClose})),a.createElement("div",{className:ao.cheque},a.createElement("div",null,a.createElement("div",{className:B(ao.flex,ao.paymentInfo)},a.createElement("p",null,s),a.createElement("p",null,g)),a.createElement("div",{className:B(ao.flex,ao.description)},a.createElement("p",null,(0,E.t)("Description")),a.createElement("p",null,(0,E.t)("Subtotal"))),l&&a.createElement("div",{className:B(ao.grid,ao.proPlanPaddingRow)},a.createElement(Be,{pro:t,cartData:n,cost:d,classNameProductCost:ao.productText,modifier:o,currency:i})),h.length>0&&a.createElement("div",{className:B(ao.grid,ao.border,ao.exchangesListWrapper)},a.createElement(Qe,{pro:t,cartData:n,cartPrices:r.resultPricesProducts,classNameExchangeItem:ao.paddingRow,classNameExchangeItemText:ao.productText,exchanges:h})),0!==u.tax&&a.createElement("div",{className:B(ao.grid,ao.border,ao.tax)},a.createElement(Ze,{tax:(0,p.round2)(u.tax),currency:u.currency,subtotal:(0,p.round2)(u.subtotal),costClassName:ao.productText}))),a.createElement("div",{className:B(ao.flex,ao.wrapperTotalCost,ao.border)},a.createElement("p",{className:ao.total},(0,E.t)("Total:")),a.createElement("p",{className:ao.totalCost},m))))}function co(e){const{pro:t,cartData:n,modifier:r,subsciptionDetails:o,cartPrices:i}=e,{totalCostWithTax:c,currency:l}=i,s=(0,xe.getTrialLength)(),u=Me(t,n,void 0===r?s:void 0),d=(0,E.t)("We'll charge your card {price} on {date}. If you cancel auto-renewal before this time, you'll not be charged at all."),m=`${(0,ie.getCurrencySign)(l)}${(0,p.round2)(c)} ${l}`,g=void 0===r?(0,E.t)("Woohoo! Let the fun begin"):(0,E.t)("Congrats! Your new trial is setup"),h=(0, +E.t)("Your {daysCount}-day free trial is live and kicking, and you've now got free access to loads of additional features. Don't forget: we may also have a special offer or two for you during this trial – keep your eyes peeled.").format({daysCount:s.toString()}),f={description:{[Na.Downgrade]:(0,E.t)("Your trial was successfully downgraded. You can always upgrade again to a more powerful plan before it runs out."),[Na.Upgrade]:(0,E.t)("Now you have even more tools and features to make your trading successful.")}},y=(0,E.t)("Tax included {currencySign}{tax} {currency}").format({tax:(0,p.round2)(i.tax),currency:i.currency,currencySign:(0,ie.getCurrencySign)(i.currency)});return a.createElement(a.Fragment,null,a.createElement("div",{className:ao.wrapper},a.createElement(ce.Icon,{icon:no,className:ao.icon}),a.createElement(Bt,{text:g,className:ao.title}),a.createElement(Ot,{className:ao.descriptionBlock},void 0===r&&h,void 0!==r&&f.description[r]),void 0!==r&&a.createElement(Ot,{className:ao.descriptionBlock},(0,E.t)("The amount charged at the end of the trial (if you don’t cancel) also reflects the new plan.")),a.createElement(lo,{needExchangeAgreement:e.needExchangeAgreement,onExchangeAgreement:e.onExchangeAgreement,onClose:e.onClose})),a.createElement("div",{className:ao.cheque},a.createElement("div",{className:B(ao.flex,ao.productText,ao.trialFirstPaddingRow)},a.createElement("p",{className:ao["product-trial"]},u),a.createElement("p",{className:ao["cost-trial"]},(0,E.t)("$0.00 USD"))),a.createElement("div",{className:ao.trialPaddingRow},a.createElement("div",{className:B(ao.flex,ao.productText)},a.createElement("p",{className:ao["product-trial"]},et(o)),a.createElement("p",{className:ao["cost-trial"]},m)),0!==i.tax&&a.createElement("div",{className:ao["trial-tax"]},y)),a.createElement("div",{className:B(ao.flex,ao.wrapperTotalCost,ao.border)},a.createElement("p",{className:ao.total},(0,E.t)("Total:")),a.createElement("p",{className:ao.totalCost},(0,E.t)("$0.00 USD")))),a.createElement(tt,{className:ao.highlightBlock},a.createElement("p",null,d.format({price:m,date:Te(o)}))))}function lo(e){return e.needExchangeAgreement?a.createElement(ro,{onClick:e.onExchangeAgreement}):a.createElement(to,{onClose:e.onClose})}var so=n(85198),uo=n(18609);function mo(e=!1){const t=Boolean(e);return{isValid:t,errors:t?[]:[E.t("You need to accept this")]}}function po(){return E.t("This agreement is for NON-PROFESSIONALS only. If you qualify as a Professional under exchange regulations you may not use this service")}function go(e){let t=!0;const n=[];return void 0!==e&&0!==e.length||(t=!1,n.push(E.t("This field is required"))),void 0===e||(0,uo.isLatin)(e)||(t=!1,n.push(E.t("Only English language is allowed"))),{isValid:t,errors:n}}var ho=n(44943),fo=n(10959),yo=n(86629),vo=n(1365);function Co(e){const{name:t,validationResults:n,legend:r,reference:o}=e;let i=[];void 0!==e.value&&(i=e.value?["yes"]:["no"]);const c=(0,yo.useControlValidationLayout)({hasErrors:!n.isValid,errors:n.errors,messagesPosition:yo.MessagesPosition.Attached +}),l=c.containerReference.current;return o&&l&&o(l),a.createElement("fieldset",{className:vo["agreement-switch"]},a.createElement("legend",{className:vo.legend},r),a.createElement("div",{className:vo["error-wrapper"],onFocus:c.onFocus,onBlur:c.onBlur,onMouseOver:c.onMouseOver,onMouseOut:c.onMouseOut,ref:c.containerReference},a.createElement("div",{className:vo["switch-group"]},a.createElement(It.SwitchGroup,{name:t,onChange:function(t){e.onChange("yes"===t)},values:i},a.createElement(Mt.RadioButton,{value:"yes",label:E.t("Yes")}),a.createElement(Mt.RadioButton,{value:"no",label:E.t("No")}))),!n.isValid&&a.createElement("div",{className:vo["error-icon"]},a.createElement(fo.ErrorIcon,{intent:"danger"})),c.renderedErrors))}var bo=n(12032);function Eo(e){const{validationResults:t,value:n,wrapperClassName:r,reference:o,...i}=e,c=(0,yo.useControlValidationLayout)({hasErrors:!t.isValid,errors:t.errors,messagesPosition:yo.MessagesPosition.Attached});return o&&c.containerReference.current&&o(c.containerReference.current),a.createElement("div",{className:B(bo["error-wrapper"],r),onFocus:c.onFocus,onBlur:c.onBlur,onMouseOver:c.onMouseOver,onMouseOut:c.onMouseOut,ref:c.containerReference},a.createElement(jt.Checkbox,{className:bo.checkbox,...i,checked:n}),!t.isValid&&a.createElement("div",{className:bo["error-icon"]},a.createElement(fo.ErrorIcon,{intent:"danger"})),c.renderedErrors)}var wo=n(86623);function xo(e){const{validationBinding:t,...n}=e;return a.createElement(wo.FormInput,{...n,value:t.value,hasErrors:!t.validationResults.isValid,errors:t.validationResults.errors})}var _o,Po=n(51556);!function(e){e.Occupation="occupation",e.NameAndAddressEmployer="name_and_address_employer",e.Position="position",e.EmploymentFunctions="employment_functions"}(_o||(_o={}));const So=[_o.Occupation,_o.NameAndAddressEmployer,_o.Position,_o.EmploymentFunctions],ko={[_o.Occupation]:function(e=""){const t=["bookkeeper_or_auditor_or_tax_consultant","civil_service","computer_specialist","construction_professional","CPA","engineer","individual_investor","farmer","legal_professional","management","marketing_professional","medical_professional","public_relations","real_estate","retired_or_homemaker","sales_or_service_representative_or_clerical","store_manager_or_owner","student_or_educator_or_child_care_provider","transportation","tv_or_radio_announcer","veterinarian"].includes(e);return{isValid:t,errors:t?[]:[po()]}},[_o.NameAndAddressEmployer]:go,[_o.Position]:go,[_o.EmploymentFunctions]:go},To={type:"text",maxLength:265,messagesPosition:yo.MessagesPosition.Attached,size:"large"};function No(e){const{bindings:t,setValidationResults:n,handleReference:r}=e,o=E.t("Name(s) and address(es) of Subscriber's employer(s)"),i=E.t("Subscriber's title(s) and/or position(s)"),c=E.t("Subscriber's employment functions (description)");return a.createElement("div",{className:Po.occupation},a.createElement(pt.FormSelect,{items:[{content:a.createElement("span",{className:Po["nothing-selected"]},E.t("Subscriber's occupations")),readonly:!0},{ +id:"banker_or_insurance_representative",value:"banker_or_insurance_representative",content:E.t("Banker/Insurance Representative")},{id:"bookkeeper_or_auditor_or_tax_consultant",value:"bookkeeper_or_auditor_or_tax_consultant",content:E.t("Bookkeeper/Auditor/Tax Consultant")},{id:"broker_or_dealer",value:"broker_or_dealer",content:E.t("Broker/Dealer")},{id:"civil_service",value:"civil_service",content:E.t("Civil Service")},{id:"commodity_trading_advisor",value:"commodity_trading_advisor",content:E.t("Commodity Trading Advisor")},{id:"commodities_introducing_broker",value:"commodities_introducing_broker",content:E.t("Commodities Introducing Broker")},{id:"computer_specialist",value:"computer_specialist",content:E.t("Computer Specialist")},{id:"construction_professional",value:"construction_professional",content:E.t("Construction Professional")},{id:"CPA",value:"CPA",content:E.t("CPA")},{id:"engineer",value:"engineer",content:E.t("Engineer")},{id:"individual_investor",value:"individual_investor",content:E.t("Individual Investor")},{id:"farmer",value:"farmer",content:E.t("Farmer")},{id:"financial_analyst",value:"financial_analyst",content:E.t("Financial Analyst")},{id:"futures_commission_merchant",value:"futures_commission_merchant",content:E.t("Futures Commission Merchant")},{id:"investment_advisor_or_banker",value:"investment_advisor_or_banker",content:E.t("Investment Advisor/Banker")},{id:"legal_professional",value:"legal_professional",content:E.t("Legal Professional")},{id:"management",value:"management",content:E.t("Management")},{id:"marketing_professional",value:"marketing_professional",content:E.t("Marketing Professional")},{id:"medical_professional",value:"medical_professional",content:E.t("Medical Professional")},{id:"money_manager",value:"money_manager",content:E.t("Money Manager")},{id:"public_relations",value:"public_relations",content:E.t("Public Relations")},{id:"real_estate",value:"real_estate",content:E.t("Real Estate")},{id:"retired_or_homemaker",value:"retired_or_homemaker",content:E.t("Retired/Homemaker")},{id:"sales_or_service_representative_or_clerical",value:"sales_or_service_representative_or_clerical",content:E.t("Sales/Service Representative/Clerical")},{id:"securities_exchange_or_association_futures_contract",value:"securities_exchange_or_association_futures_contract",content:E.t("Securities Exchange/Association, Futures Contract")},{id:"registered_representative",value:"registered_representative",content:E.t("Registered Representative")},{id:"store_manager_or_owner",value:"store_manager_or_owner",content:E.t("Store Manager/Owner")},{id:"student_or_educator_or_child_care_provider",value:"student_or_educator_or_child_care_provider",content:E.t("Student/Educator/Child Care Provider")},{id:"transportation",value:"transportation",content:E.t("Transportation")},{id:"tv_or_radio_announcer",value:"tv_or_radio_announcer",content:E.t("TV/Radio Announcer")},{id:"veterinarian",value:"veterinarian",content:E.t("Veterinarian")}],value:t[_o.Occupation].value,onChange:e=>l(_o.Occupation,e),size:"large", +hasErrors:!t[_o.Occupation].validationResults.isValid,errors:t[_o.Occupation].validationResults.errors,messagesPosition:yo.MessagesPosition.Attached,menuClassName:Po["occupation-menu"],ref:e=>r(_o.Occupation,e)}),a.createElement(xo,{name:String(_o.NameAndAddressEmployer),placeholder:o,"aria-label":o,onChange:e=>l(_o.NameAndAddressEmployer,e.target.value),validationBinding:t[_o.NameAndAddressEmployer],reference:e=>r(_o.NameAndAddressEmployer,e),...To}),a.createElement(xo,{name:String(_o.Position),placeholder:i,"aria-label":i,onChange:e=>l(_o.Position,e.target.value),validationBinding:t[_o.Position],reference:e=>r(_o.Position,e),...To}),a.createElement(xo,{name:String(_o.EmploymentFunctions),placeholder:c,"aria-label":c,onChange:e=>l(_o.EmploymentFunctions,e.target.value),validationBinding:t[_o.EmploymentFunctions],reference:e=>r(_o.EmploymentFunctions,e),...To}));function l(e,a){n({[e]:ko[e](a)}),t[e].onChange(a)}}var Ao=n(11298),Do=n(54325);var Io,Ro=n(18244),Oo=n(55315);!function(e){e.SubscriberName="subscriber_name",e.CountryCode="country_code",e.State="state",e.City="city",e.Street="street",e.Zip="zip"}(Io||(Io={}));const Bo=[Io.SubscriberName,Io.Street,Io.City,Io.State,Io.CountryCode,Io.Zip],Mo={[Io.SubscriberName]:go,[Io.CountryCode]:ho.dumbValidator,[Io.State]:go,[Io.City]:go,[Io.Street]:go,[Io.Zip]:go},Lo={type:"text",maxLength:265,messagesPosition:yo.MessagesPosition.Attached,size:"large"};function Yo(e){var t;const{bindings:n,setValidationResults:r,handleReference:o,showStateSelect:i}=e,c=a.useMemo(()=>Object.entries(e.countries).map(e=>function(e){const[t,n]=e;return{code:(0,Do.toCountryCode)(t),iconUrl:(0,Ut.flagUrl)(t.toLowerCase()),name:n}}(e)),[e.countries]),l=null!==(t=n[Io.CountryCode].value)&&void 0!==t?t:"US",s=e.countries[l],u=(0,Ut.flagUrl)(l.toLowerCase()),d=E.t("Subscriber's name"),m=E.t("State/Region"),p=E.t("City"),g=E.t("Street"),h=E.t("Zip/Postal code");return a.createElement("div",{className:Oo["subscribers-inputs"]},a.createElement(xo,{placeholder:d,name:"subscriber_name","aria-label":d,validationBinding:n[Io.SubscriberName],onChange:e=>f(Io.SubscriberName,e.target.value),reference:e=>o(Io.SubscriberName,e),...Lo}),a.createElement("div",{className:Oo["country-select-container"]},a.createElement(Ao.CountrySelect,{countries:c,flagUrl:u,onSelected:e=>f(Io.CountryCode,e.code),stretch:!0,text:s,dropdownAttachment:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"top"}}})),i?a.createElement(pt.FormSelect,{placeholder:a.createElement("span",{className:Oo.selectPlaceholder},m),items:Ro.stateItems[l]||[],value:n[Io.State].value,onChange:e=>f(Io.State,e),size:"large",hasErrors:!n[Io.State].validationResults.isValid,errors:n[Io.State].validationResults.errors,messagesPosition:yo.MessagesPosition.Attached,ref:e=>o(Io.State,e)}):a.createElement(xo,{placeholder:m,name:"state","aria-label":m,validationBinding:n[Io.State],onChange:e=>f(Io.State,e.target.value),reference:e=>o(Io.State,e),...Lo}),a.createElement(xo,{placeholder:p,name:"city","aria-label":p, +validationBinding:n[Io.City],onChange:e=>f(Io.City,e.target.value),reference:e=>o(Io.City,e),...Lo}),a.createElement(xo,{placeholder:g,name:"street","aria-label":g,validationBinding:n[Io.Street],onChange:e=>f(Io.Street,e.target.value),reference:e=>o(Io.Street,e),...Lo}),a.createElement(xo,{placeholder:h,name:"zip","aria-label":h,validationBinding:n[Io.Zip],onChange:e=>f(Io.Zip,e.target.value),reference:e=>o(Io.Zip,e),...Lo}));function f(e,t){r({[e]:Mo[e](t)}),n[e].onChange(t)}}var Uo=n(97737),Fo=n(10777);var zo,Ho=n(66302),Vo=n(71131),jo=n(74660);!function(e){e.ReadAndAcceptTerms="read_and_accept_terms",e.ConfirmSection1="confirm_section_1",e.BusinessUse="business_use",e.ReceiveBenefits="receive_benefits",e.Certification="certification",e.ConfirmSection2="confirm_section_2"}(zo||(zo={}));const Go=[zo.ReadAndAcceptTerms,...Bo,...So,zo.ConfirmSection1,zo.BusinessUse,zo.ReceiveBenefits,zo.Certification,zo.ConfirmSection2],Wo={[zo.ReadAndAcceptTerms]:mo,...Mo,...ko,[zo.ConfirmSection1]:mo,[zo.Certification]:mo,[zo.ConfirmSection2]:mo,[zo.BusinessUse]:function(e){const t=void 0!==e&&e;return{isValid:t,errors:t?[]:[po()]}},[zo.ReceiveBenefits]:function(e){const t=void 0!==e&&!e;return{isValid:t,errors:t?[]:[po()]}}};function qo(e){const{exchange_agreements:t,user_billing_info:n,countries:r,user_name:o,onSuccess:i}=e,c=[],l=[];Object.values(t).forEach(e=>{const t=e.exchange_name;l.includes(t)||(l.push(t),c.push(e))});const s=c.every(e=>e.free_exchange);s&&So.forEach(e=>{Wo[e]=ho.dumbValidator});const u=(0,Vo.useScrollIntoViewHelper)(),[d,m]=(0,a.useState)(Ho.COUNTRY_WITH_STATE_SELECT.includes(""===n.billing_countrycode?"US":n.billing_countrycode)),[p,g]=(0,a.useState)(r),[h,f,y]=(0,ho.useFormValidation)(Go,Wo,{[zo.ReadAndAcceptTerms]:!1,[Io.SubscriberName]:o,[Io.CountryCode]:""===n.billing_countrycode?"US":n.billing_countrycode,[Io.State]:n.billing_state,[Io.City]:n.billing_city,[Io.Street]:n.billing_street,[Io.Zip]:n.billing_zip,[_o.NameAndAddressEmployer]:"",[_o.Position]:"",[_o.EmploymentFunctions]:"",[zo.ConfirmSection1]:!1,[zo.Certification]:!1,[zo.ConfirmSection2]:!1}),v=(0,a.useRef)(new Map),C=(0,a.useRef)(!0);(0,a.useEffect)(()=>{e.container&&u.current&&u.current.setContainer(e.container)},[e.container]),(0,a.useEffect)(()=>{if(!(0,V.isFeatureEnabled)("RU_VOR_disable"))return;const e={};Object.keys(r).forEach(t=>{mt.marketBlockedCountries.includes(t)||(e[t]=r[t])}),g(e)},[r]);const b=(0,a.useRef)(!0);return(0,a.useEffect)(()=>{const e=Ho.COUNTRY_WITH_STATE_SELECT.includes(h[Io.CountryCode].value);m(e),b.current?b.current=!1:h[Io.State].onChange("")},[h[Io.CountryCode].value]),(0,a.useEffect)(()=>{let e=!0;for(const t in h)h[t].validationResults.isValid||(e=!1);e!==C.current&&P(),C.current=e},[h]),a.createElement("form",{method:"post",onSubmit:function(e){var n,a,r,o,c;e.preventDefault();const l=f();l||C.current||P();if(!l)return;const u=h[Io.CountryCode].value;let d={subscriber_name:null!==(n=h[Io.SubscriberName].value)&&void 0!==n?n:"",country:null!=u?u:"",state:null!==(a=h[Io.State].value)&&void 0!==a?a:"", +city:null!==(r=h[Io.City].value)&&void 0!==r?r:"",street:null!==(o=h[Io.Street].value)&&void 0!==o?o:"",zip:null!==(c=h[Io.Zip].value)&&void 0!==c?c:""};s||(d={...d,occupation:h[_o.Occupation].value,position:h[_o.Position].value,employment_functions:h[_o.EmploymentFunctions].value,name_and_address_employer:h[_o.NameAndAddressEmployer].value});(m={exchange_agreement_data:d,exchanges:Object.keys(t)},(0,so.fetch)("/exchange-agreement/",{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(m)}).then(e=>e.ok?e.json():e.json().then(t=>{throw new Fo.AggregateError((0,Fo.accumulateErrors)(t.errors,e.status))}))).then(()=>i?i():window.location.reload()).catch(e=>{const t={},n=e.errors;n&&(n.forEach(e=>{var n,a;const[,r]=null!==(a=null===(n=e.type)||void 0===n?void 0:n.split("."))&&void 0!==a?a:[];r&&(t[r]={isValid:!1,errors:[e.message]})}),y(t))});var m}},a.createElement("h1",{className:jo["page-title"]},E.t("Agreement for market data display services")),a.createElement("p",{className:jo["page-sub-title"]},"(",E.t("Usage-Based Services/Non-professional Subscriber Status"),")"),a.createElement("p",{className:jo["exchange-agreement-description"]},E.t("Following exchanges require agreements to be completed before TradingView, Inc. can provide real-time data:")),c.map(e=>{const t=new URL(e.path,"https://s3.tradingview.com/exchange-agreements/");return a.createElement("p",{key:"exchange-agreements-file-"+e.exchange_name},a.createElement("a",{href:t.href,className:jo["exchange-file-link"],target:"_blank",onClick:e=>function(e,t){window.open(t,"NYSE Exhibit B","width=1000,height=1000"),e.preventDefault()}(e,t.href)},E.t("{exchange_name} Subscriber Agreement").format({exchange_name:e.agreement_name})))}),a.createElement(Eo,{...h[zo.ReadAndAcceptTerms],onChange:()=>w(zo.ReadAndAcceptTerms),name:String(zo.ReadAndAcceptTerms),label:E.t("I've read and accept the terms and conditions."),wrapperClassName:jo["accept-terms-checkbox-margin"],reference:e=>_(zo.ReadAndAcceptTerms,e)}),a.createElement("h2",{className:jo["section-title"]},E.t("Section 1")),a.createElement(Yo,{countries:p,bindings:{[Io.SubscriberName]:h[Io.SubscriberName],[Io.State]:h[Io.State],[Io.City]:h[Io.City],[Io.Street]:h[Io.Street],[Io.Zip]:h[Io.Zip],[Io.CountryCode]:h[Io.CountryCode]},setValidationResults:y,handleReference:_,showStateSelect:d}),!s&&a.createElement(No,{bindings:{[_o.Occupation]:h[_o.Occupation],[_o.NameAndAddressEmployer]:h[_o.NameAndAddressEmployer],[_o.Position]:h[_o.Position],[_o.EmploymentFunctions]:h[_o.EmploymentFunctions]},setValidationResults:y,handleReference:_}),a.createElement(Eo,{...h[zo.ConfirmSection1],onChange:()=>w(zo.ConfirmSection1),name:String(zo.ConfirmSection1),label:E.t("Accepted and agreed:"),wrapperClassName:jo["checkbox-margin"],reference:e=>_(zo.ConfirmSection1,e)}),a.createElement("p",{className:jo["section-terms-description"] +},E.t('I, the "Subscriber" to which the preceding terms and conditions refer, acknowledge that I have read the preceding terms and conditions of this Section 1, that I understand them and that I hereby manifest my assent to, and my agreement to comply with, those terms and conditions by "clicking" on the box.')),a.createElement("h2",{className:jo["section-title"]},E.t("Section 2")),a.createElement(Co,{...h[zo.BusinessUse],onChange:e=>x(e,zo.BusinessUse),name:String(zo.BusinessUse),legend:E.t("Do you use Market Data solely for your personal, non-business use?"),reference:e=>_(zo.BusinessUse,e)}),a.createElement("h3",{className:jo["questions-title"]},E.t("Please read the following 10 questions:")),a.createElement("ol",{type:"A",className:jo.questions},a.createElement("li",{className:jo.question},E.t("Do you receive Market Data for your business or any other entity?")),a.createElement("li",{className:jo.question},E.t("Are you currently registered or qualified with the SEC or the CFTC?")),a.createElement("li",{className:jo.question},E.t("Are you currently registered or qualified with any securities agency, any securities exchange, association or regulatory body, or any commodities or futures contract market, association or regulatory body, in the United States or elsewhere?")),a.createElement("li",{className:jo.question},E.t("Whether you are located within or outside of the United States, do you perform any functions that are similar to those that require an individual to register or qualify with the SEC, the CFTC, any other securities agency or regulatory body, any securities exchange or association, or any commodities or futures contract market, association or regulatory body?")),a.createElement("li",{className:jo.question},E.t("Are you engaged to provide investment advice to any individual or entity?")),a.createElement("li",{className:jo.question},E.t("Are you engaged as an asset manager?")),a.createElement("li",{className:jo.question},E.t("Do you use the capital of any other individual or entity in the conduct of your trading?")),a.createElement("li",{className:jo.question},E.t("Do you conduct trading for the benefit of a corporation, partnership, or other entity?")),a.createElement("li",{className:jo.question},E.t("Have you entered into any agreement to share the profit of your trading activities or receive compensation for your trading activities?")),a.createElement("li",{className:jo.question},E.t("Are you receiving office space, and equipment or other benefits in exchange for your trading or work as a financial consultant to any person, firm or business entity?"))),a.createElement(Co,{...h[zo.ReceiveBenefits],onChange:e=>x(e,zo.ReceiveBenefits),name:String(zo.ReceiveBenefits),legend:E.t("If any of the above applies, then mark Yes. If none applies, then tick No."),reference:e=>_(zo.ReceiveBenefits,e)}),a.createElement(Eo,{...h[zo.Certification],onChange:()=>w(zo.Certification),name:String(zo.Certification),label:E.t("Certification:"),wrapperClassName:jo["checkbox-margin"],reference:e=>_(zo.Certification,e) +}),a.createElement("p",{className:jo["section-terms-description"]},E.t('By executing this Agreement, Subscriber hereby certifies that he or she falls within Paragraph 9\'s definition of "Non-professional Subscriber" and that the personal and employment information that he or she has included in Paragraph 12 is truthful and accurate.')),a.createElement(Eo,{...h[zo.ConfirmSection2],onChange:()=>w(zo.ConfirmSection2),name:String(zo.ConfirmSection2),label:E.t("Accepted and agreed:"),wrapperClassName:jo["checkbox-margin"],reference:e=>_(zo.ConfirmSection2,e)}),a.createElement("p",{className:jo["section-terms-description"]},E.t('I, the "Subscriber" to which the preceding terms and conditions refer, acknowledge that I have read the preceding terms and conditions of this Section 2, that I understand them and that I hereby manifest my assent to, and my agreement to comply with, those terms and conditions by "clicking" on the box.')),a.createElement("div",{className:jo.actions},s&&a.createElement(Uo.Button,{size:"l",appearance:"stroke",onClick:function(){e.onRefuse?e.onRefuse():window.close()}},E.t("Refuse")),a.createElement(Uo.Button,{type:"submit",size:"l"},E.t("I Agree"))));function w(e){const t=!h[e].value;y({[e]:Wo[e](t)}),h[e].onChange(t)}function x(e,t){y({[t]:Wo[t](e)}),h[t].onChange(e)}function _(e,t){t&&v.current.set(t,e)}function P(e){const t=function(){const e=[];if(v.current.forEach((t,n)=>{h[t].validationResults.isValid||e.push(n)}),0===e.length)return null;const t={element:e[0],top:window.innerHeight};return e.forEach(e=>{const n=e.getBoundingClientRect();n.top{const n=new URL("/exchange-agreement/",window.location.origin);t&&n.searchParams.append("exchange",t),(0,so.fetch)(n.href).then(e=>e.json()).then(t=>{0===Object.keys(t.exchange_agreements).length?e.onSuccess&&e.onSuccess():r(t)})},[]),void 0===n?a.createElement(a.Fragment,null):a.createElement("div",{className:$o.container},a.createElement(qo,{...n,onSuccess:e.onSuccess,onRefuse:e.onRefuse,container:e.container}))}var Qo=n(30649);function Xo(e){return a.createElement("div",{className:Qo.container},a.createElement(ce.Icon,{icon:no,className:Qo.icon}),a.createElement(Bt,{text:(0,E.t)("Success!"),className:Qo.title}),a.createElement(Ot,{className:Qo.descriptionBlock},(0,E.t)("Go now, dive into your new data")),a.createElement(to,{onClose:e.onClose}))}const Zo={[st.Steps.SelectPlan]:st.Steps.BillingCycle,[st.Steps.BillingCycle]:st.Steps.MarketData,[st.Steps.MarketData]:st.Steps.PaymentMethod,[st.Steps.PaymentMethod]:st.Steps.Cheque,[st.Steps.Trial]:void 0,[st.Steps.Cheque]:st.Steps.ExchangeAgreement,[st.Steps.Error]:void 0,[st.Steps.ExchangeAgreement]:st.Steps.ExchangeAgreementSuccess,[st.Steps.ExchangeAgreementSuccess]:void 0},Jo={[st.Steps.Trial]:st.Steps.SelectPlan,[st.Steps.BillingCycle]:st.Steps.SelectPlan,[st.Steps.MarketData]:st.Steps.BillingCycle, +[st.Steps.PaymentMethod]:st.Steps.MarketData,[st.Steps.SelectPlan]:void 0,[st.Steps.Cheque]:void 0,[st.Steps.Error]:void 0,[st.Steps.ExchangeAgreement]:void 0,[st.Steps.ExchangeAgreementSuccess]:void 0};var ei=n(17136),ti=n(78820),ni=n(23651),ai=n(40893);const ri=(0,b.getLogger)("Payments.Payment-Order-Dialog"),oi=k(),ii=new Set([st.Steps.Error,st.Steps.Cheque,st.Steps.SelectPlan,st.Steps.ExchangeAgreement,st.Steps.ExchangeAgreementSuccess]);const ci=a.memo((function(e){var t;const{initialStep:r,cart:i,initialBillingCycle:c,setBillingCycle:s,setCart:u,setPlanProduct:d}=e,{pro:m}=a.useContext(D),[p,g]=(0,a.useState)(e.statusExtraData),[h,f]=(0,a.useState)(""),[v,C]=(0,a.useState)(null),[b,w]=(0,a.useState)(),[x,_]=(0,a.useState)(),[S,k]=(0,a.useState)([]),[T,N]=(0,a.useState)(H.Currencies.Usd),[A,I]=(0,a.useState)(void 0),[R,O]=(0,a.useState)({receiptId:0,transactionId:"",date:"",total:0,resultPricesProducts:{},needExchangeAgreement:!1,currency:void 0}),[M,G]=(0,a.useState)(e.modifier),{currentStep:W,onNextStep:q,onPreviousStep:$,setStep:X}=function(e){const[t,n]=(0,a.useState)(e),r=(0,o.useHistory)(),i=(0,a.useCallback)(()=>{const e=Zo[t];e&&(r.push(e),s(e))},[t]),c=(0,a.useCallback)(()=>{const e=Jo[t];e&&(r.goBack(),s(e))},[t]),l=(0,a.useCallback)(e=>{r.push(e),s(e)},[]);function s(e){n(e),(0,ie.trackPaymentOrderDialogChanges)("changeStep",e)}return{currentStep:t,onNextStep:i,onPreviousStep:c,setStep:l}}(r),ae=(0,a.useMemo)(()=>({visitPaymentPage:rt,startTrial:ot,changeTrial:it,upgradePlan:ct}),[q]),[re,ce]=(0,a.useState)(te.PaymentTab.CreditCard),[le,se]=(0,a.useState)(te.PaymentTab.CreditCard),[ue,de]=(0,a.useState)(null),[me,pe]=(0,a.useState)(""),[ge,he]=(0,a.useState)(null),[fe,ye]=(0,a.useState)(!1),[ve,Ce]=(0,a.useState)(null!==(t=e.fixedCycle)&&void 0!==t&&t),be=(0,a.useRef)(null),we=(0,y.useIsMounted)(),[xe,_e]=function(){const[e,t]=a.useState(!1),n=(0,y.useIsMounted)(),r=a.useCallback(()=>{e||(t(!0),setTimeout(()=>{n.current&&t(!1)},1350))},[e]);return[e,r]}(),[Pe,Se]=(0,a.useState)(!1),[ke,Te]=(0,a.useState)(!0),[Ne,Ae]=(0,a.useState)([]),De=(0,a.useRef)(null),[Ie,Re]=(0,a.useState)({}),Oe=i.proPlanProductId,Be=(0,a.useCallback)(()=>{i.exchanges.length>0?Ae(mt.marketBlockedCountries):Ae([])},[i,x]);async function Me(e,t,n=!1){const a=[...e.exchanges];if(e.proPlanProductId&&(a.push(e.proPlanProductId),null==m?void 0:m.isDiscountProductId(e.proPlanProductId))){const t=null==m?void 0:m.getDiscountProduct(e.proPlanProductId).product;t&&a.push(t)}if(0===a.length)return{};try{const r=await(0,ni.getPrice)({products:a,billingCycle:e.billingCycle,billingAddress:t,currency:T,withTax:n});return(0,ie.getLocalPricesProducts)(a,r.results)}catch(e){const t=Error(e.message);throw t.name=e.name,t}}(0,a.useEffect)(()=>Be(),[i,x,S]),(0,a.useEffect)(()=>{if(void 0!==b){Me(i,b,void 0!==M).then(e=>{we.current&&Re(e)}).catch(e=>{we.current&&(f("ApiError:wrong_details"===e.name?(0, +E.t)("Sorry, your subscription can’t currently be extended, downgraded or upgraded because your payment method doesn’t support recurring payments. Please head to profile settings to update your payment method, then try again."):e.message),X(st.Steps.Error))})}else Re({})},[Oe,i.exchanges,i.billingCycle,null==b?void 0:b.country_code_alpha2,T]),(0,a.useEffect)(()=>{r===st.Steps.Trial&&(0,mt.showEcommpay)(x)&&(N(H.Currencies.Rub),Ae(S.filter(e=>!mt.ecommpayAvailableCountries.includes(e))))},[r,x,S]);const Le=R.needExchangeAgreement&&W===st.Steps.ExchangeAgreement,Ye=a.useRef(Le);(0,L.useFixedBody)(),(0,a.useEffect)(()=>{Promise.all([(0,ee.getCountries)(),(0,ne.orderDetails)()]).then(([e,t])=>{var n;if(!we.current)return;const{current_country_code:a,countries:r}=e;_(a),k(Object.keys(r)),(0,mt.isRussian)(a)&&g(lt.StatusExtraData.Disable);const{payment_methods:o,client_token:i}=t,[c]=o;w({country_code_alpha2:null!==(n=null==c?void 0:c.billing_address.country_code_alpha2)&&void 0!==n?n:a,region:null==c?void 0:c.billing_address.region,street_address:null==c?void 0:c.billing_address.street_address,locality:null==c?void 0:c.billing_address.locality,postal_code:null==c?void 0:c.billing_address.postal_code}),pe(i),C(o),je(o)}).catch(e=>ri.logWarn("Failed to fetch: "+e));const e=j.disable(),t=(0,z.createGroup)({desc:"Payment order dialog",modal:!0});return t.add({desc:"Close Dialog",hotkey:27,handler:He,isDisabled:()=>Ye.current}),()=>{e&&j.enable(e),t.destroy()}},[]),(0,a.useEffect)(()=>{Ye.current=Le},[Le]),(0,a.useLayoutEffect)(()=>Se(!0),[]);const Ue=(0,a.useCallback)(e=>{s(e),(0,ie.trackPaymentOrderDialogChanges)("changeBillingCycle",e)},[]),Fe=Oe?[Oe,...i.exchanges]:i.exchanges,ze=(0,a.useCallback)(e=>{e.json().then(e=>{if(we.current){if(i.proPlanProductId&&m&&(window.user.pro_plan=m.getProduct(i.proPlanProductId).text_id,window.user.pro_plan_billing_cycle=i.billingCycle,window.user.is_pro=!0,window.user.is_trial=i.isTrial),oi.xWindowEventsEmit({type:P.Subscribe,invalidateShopConf:i.exchanges.length>0}),i.isTrial)return X(st.Steps.Cheque),(0,U.trackGTagAdsEvent)(U.GTagEvent.TrialSignUp),void(0,F.trackTwitterEvent)(F.TwitterEvent.TrialSignUp);(0,U.trackGTagAdsEvent)(U.GTagEvent.PaidPlanAcquired,{value:e.total,transaction_id:e.transaction_id}),(0,F.trackTwitterEvent)(F.TwitterEvent.PaidPlanAcquired),O({receiptId:e.receipt_id,transactionId:e.transaction_id,date:e.date,total:e.total,resultPricesProducts:(0,ie.getLocalPricesProducts)(Fe,e.result),needExchangeAgreement:e.need_exchange_agreement,currency:e.currency}),X(st.Steps.Cheque)}})},[m,i,Fe]),He=(0,a.useCallback)(()=>{Se(!1),e.onClose&&e.onClose(),W===st.Steps.Trial&&(0,Vr.trackTrialAction)(Oe,i.billingCycle,"close","braintree"),ie.afterPaymentSteps.has(W)&&oi.currentTabEmit({type:P.Subscribe,invalidateShopConf:i.exchanges.length>0})},[W,e.onClose,i.billingCycle,i.proPlanProductId]),Ve=(0,a.useCallback)((e,t)=>{const n="default"===e,a=t.find(t=>t.token===e);ce(!n&&a?te.PaymentTab.OneClick:te.PaymentTab.CreditCard),I(null!=a?a:null),w({ +country_code_alpha2:""!==(null==a?void 0:a.billing_address.country_code_alpha2)?null==a?void 0:a.billing_address.country_code_alpha2:x}),de(n?null:e)},[x]),je=(0,a.useCallback)(e=>{if(!e)return;const t=e.filter(e=>e.is_address_complete);he(t);const n=t[0];void 0===A&&n||null!=A&&!t.includes(A)&&n?Ve(n.token,e):n||Ve("default",e)},[Ve]),Ge=(0,a.useCallback)(e=>{const t=i.proPlanProductId?[i.proPlanProductId,...e]:e;u({...i,exchanges:e}),(0,ie.trackPaymentOrderDialogChanges)("changeProducts",t.join(";"))},[i,v]),We=(0,a.useCallback)(e=>{v&&Ve(e,v)},[v]),qe=(0,a.useCallback)(e=>{(0,ie.trackPaymentOrderDialogChanges)("changePaymentTab",e),se(e),e===te.PaymentTab.Ecommpay&&(0,mt.showEcommpay)(x)&&(0,V.isFeatureEnabled)("ecommpay_ru")?(N(H.Currencies.Rub),Ae(S.filter(e=>!mt.ecommpayAvailableCountries.includes(e)))):(N(H.Currencies.Usd),Be())},[x,S,i]),$e=(0,a.useCallback)(()=>{W===st.Steps.PaymentMethod&&T!==H.Currencies.Usd&&N(H.Currencies.Usd),$()},[$,W,T]),Ke=(0,a.useCallback)(()=>{X(r),f("")},[]),Qe=(0,a.useCallback)(()=>X(st.Steps.ExchangeAgreement),[]),Xe=ii.has(W)||W===r,Ze=W===st.Steps.Cheque,Je=ie.hideCartSteps.has(W),et=r===st.Steps.MarketData,tt=B(ai["dialog-section"],{[hn["highlight-wrap"]]:xe,[ai["one-column"]]:Je,[ai["two-column"]]:!Je}),nt=(0,a.useCallback)(async(e,t)=>{const n=await Me(i,e,t);we.current&&Re(n)},[m,i,T]),at=a.useMemo(()=>(0,ie.getPricesForCart)({pro:m,cartData:i,listLocalPricesProducts:Ie}),[m,i,Ie]);return a.createElement(Y.PopupDialog,{isOpened:!0,fullscreen:!0,draggable:!1,rounded:!1,className:B(ai.dialog,Pe&&ai["open-animation"])},a.createElement("section",{className:tt},a.createElement(Ee,{onPrevious:$e,onClose:He,hideBackButton:Xe,hideCloseButton:Le}),a.createElement("div",{ref:De,className:ai.body},a.createElement("div",{className:B(ai.main,Ze&&ai.mainMobile)},a.createElement(o.Switch,null,a.createElement(o.Route,{path:st.Steps.SelectPlan},a.createElement(oe.Provider,{value:ae},a.createElement(Ar,{onChangeBillingCycle:Ue}))),a.createElement(o.Route,{path:st.Steps.BillingCycle},m&&Oe&&a.createElement(Jr,{proPlanProductId:Oe,billingCycle:i.billingCycle,onChange:Ue,pro:m,fixedCycle:ve,initialBillingCycle:c})),a.createElement(o.Route,{path:st.Steps.MarketData},m&&a.createElement(En,{pro:m,billingCycle:i.billingCycle,selectedExchanges:i.exchanges,isOnlyExchanges:et,setExchanges:Ge,statusExtraData:p,setExtraDataStatus:g,defaultCountryCode:x})),a.createElement(o.Route,{path:st.Steps.PaymentMethod},a.createElement(Fr,{onSuccessPurchase:ze,defaultTab:re,currentTab:le,onTabChange:qe,products:Fe,onError:$,buttonContainerRef:be,onBillingAddressChange:nt,price:at,billingCycle:i.billingCycle,hasExchanges:i.exchanges.length>0,onClose:He,ipCountryCode:x,currency:T,blockedCountries:Ne})),m&&x&&a.createElement(o.Route,{path:st.Steps.Trial},Oe&&a.createElement(qr,{onSuccessPurchase:ze,proPlanProductId:Oe,buttonContainerRef:be,onBillingAddressChange:nt,billingCycle:i.billingCycle,modifier:M,orderTermsChecked:fe,onChangeOrderTerm:ye,ipCountryCode:x,onTabChange:qe,currency:T,blockedCountries:Ne +})),a.createElement(o.Route,{path:st.Steps.Error},a.createElement(_n,{onTryAgain:Ke,errorText:h,allowTryAgain:ke,onClose:He})),a.createElement(o.Route,{path:st.Steps.Cheque},a.createElement(oo,{cartData:i,receiptInfo:R,onClose:He,modifier:M,onExchangeAgreement:R&&R.needExchangeAgreement?Qe:void 0,cartPrices:at})),a.createElement(o.Route,{path:st.Steps.ExchangeAgreement},a.createElement(Ko,{onSuccess:q,container:De.current,onRefuse:He})),a.createElement(o.Route,{path:st.Steps.ExchangeAgreementSuccess},a.createElement(Xo,{onClose:He})))),a.createElement("div",{className:B(ai.cart,Je&&ai.hidden)},m&&!Je&&a.createElement(At,{statusExtraData:p,pro:m,cartData:i,currentPaymentTab:le,currentStep:W,reference:be,currentPaymentMethod:A,onSuccessPurchase:ze,onNext:q,onMethodChange:We,onHighlight:_e,isOnlyExchanges:et,setErrorText:f,token:ue,activePaymentMethods:ge,modifier:M,orderTermsChecked:fe,setStep:X,clientToken:me,setAllowTryAgain:Te,listLocalPricesProducts:Ie,currency:T})))));async function rt(e,t){var n;if(await(0,ei.check)())return void(0,ti.showRestrictedCountryNotificationDialog)();const a=null==t?void 0:t.productName;a&&(d(a,null!=e?e:l.BillingCycle.Monthly),Ce(null!==(n=null==t?void 0:t.fixedCycle)&&void 0!==n&&n),q())}async function ot(e,t){await(0,ei.check)()?(0,ti.showRestrictedCountryNotificationDialog)():function(e={}){const t=K.Deferred();return J({doNotCheckSuspicious:e.doNotCheckSuspicious,doNotCheckSocialActivity:e.doNotCheckSocialActivity,customPhoneCheck:e.customPhoneCheck}).then(([n,a])=>{if(!n)return Q.resolve(),t.resolve();if(n&&e.silentPhoneVerification)return t.reject("phone_verification_required");if(!e.showDialog)return Q.done(()=>t.resolve());const r={source:e.source,doNotShowConfirmation:e.doNotShowConfirmation};"suspicious"!==a&&(r.topMessage=(0,E.t)("Verify your phone number and get access to more tools on TradingView.")),Z(r).done(()=>t.resolve()).always(()=>t.reject("phone_verification_declined"))}).catch(e=>e),t.promise()}({showDialog:!0,doNotCheckSocialActivity:!0,doNotShowConfirmation:!0,doNotCheckSuspicious:!1,source:"before_start_trial"}).then(()=>{we.current&&(d(e,t,!0),X(st.Steps.Trial))})}function it(e,t,n){d(e,t,!0),X(st.Steps.Trial),G(n)}async function ct(e,t,a){const{upgradeDialog:r}=await n.e(9347).then(n.bind(n,47684));r({fallback:a,billingCycle:t,proPlan:e,onSuccess:()=>{oi.emit({type:P.Upgrade}),He()}})}})),li=(0,c.guid)();function si(e){const{onClose:t,...n}=e;d().clear();const o=(0,m.getRootOverlapManager)().ensureWindow(li);r.render(a.createElement(ui,{...n,onClose:function(){t&&t(),r.unmountComponentAtNode(o)}}),o)}function ui(e){var t,n;const{statusExtraData:r,billingCycle:i}=e;let c=st.Steps.BillingCycle,s=!0;e.productId||(c=st.Steps.MarketData),e.isTrial&&(c=st.Steps.Trial,s=!1);const[u,d]=a.useState({proPlanProductId:e.productId,billingCycle:null!=i?i:l.BillingCycle.Monthly,exchanges:null!==(t=e.exchanges)&&void 0!==t?t:[],isTrial:null!==(n=e.isTrial)&&void 0!==n&&n});return a.createElement(o.MemoryRouter,{initialEntries:[c],initialIndex:0},a.createElement(O,{ +updateShopConf:s,source:"payment-dialog"},a.createElement(ci,{...e,initialBillingCycle:i,initialStep:c,statusExtraData:e.productId?r:lt.StatusExtraData.Enable,cart:u,setCart:d,setBillingCycle:function(e){d({...u,billingCycle:e})},setPlanProduct:function(e,t,n=!1){d({...u,proPlanProductId:e,billingCycle:t,isTrial:n})}})))}function di(e){const{onClose:t,...n}=e;d().clear();const o=(0,m.getRootOverlapManager)(),i=o.ensureWindow(li);r.render(a.createElement(pi,{...n,onClose:function(){t&&t(),r.unmountComponentAtNode(i),o.removeWindow(li)}}),i)}function mi(e,t){var n;switch(t.type){case"setCart":return{...t.cart};case"setBillingCycle":return{...e,billingCycle:t.billingCycle};case"setPlanProduct":return{...e,proPlanProductId:t.productId,isTrial:null!==(n=t.isTrial)&&void 0!==n&&n,billingCycle:t.billingCycle};default:return e}}function pi(e){const[t,n]=a.useReducer(mi,{billingCycle:l.BillingCycle.Monthly,exchanges:[],isTrial:!1});a.useEffect(()=>{(0,i.getTracker)().then(t=>{null==t||t.trackGoproVisits(e.source,e.feature,"dialog")})},[]);const r=a.useCallback(e=>{n({type:"setCart",cart:e})},[]),c=a.useCallback(e=>{n({type:"setBillingCycle",billingCycle:e})},[]),s=a.useCallback((e,t,a)=>{n({type:"setPlanProduct",productId:e,billingCycle:t,isTrial:a})},[]),u=a.useCallback(e=>{var t;const{pro:n,user:a}=e;null!==n&&null!==a&&c(h(n,a,null===(t=e.state)||void 0===t?void 0:t.subscriptionDetails))},[]);return a.createElement(o.MemoryRouter,{initialEntries:[st.Steps.SelectPlan],initialIndex:0},a.createElement(O,{onUpdate:u,onMounted:u,updateShopConf:!0,source:"gopro-payment-dialog"},a.createElement(ci,{...e,initialStep:st.Steps.SelectPlan,cart:t,setCart:r,setBillingCycle:c,setPlanProduct:s})))}},59407:(e,t,n)=>{"use strict";var a;n.d(t,{Steps:()=>a}),function(e){e.SelectPlan="/select-plan",e.BillingCycle="/billing-cycle",e.MarketData="/market-data",e.PaymentMethod="/payment-method",e.Cheque="/cheque",e.Error="/error",e.Trial="/trial",e.ExchangeAgreement="/exchange-agreement",e.ExchangeAgreementSuccess="/exchange-agreement-success"}(a||(a={}))},83317:(e,t,n)=>{"use strict";n.d(t,{getExchangeType:()=>s,exchangeGroupTabTranslate:()=>u,getExchangesOrderedByRegion:()=>m,getAvailableExchanges:()=>p,getLocalPricesProducts:()=>g,getListExchanges:()=>h,trackPaymentOrderDialogChanges:()=>f,trackPaymentOrderDialogInitial:()=>y,getPricesForCart:()=>v,translateExchangeData:()=>C,hideCartSteps:()=>b,afterPaymentSteps:()=>E,getCurrencySign:()=>w});var a,r=n(28353),o=n(9168),i=n(91955),c=n(59407),l=n(10878);function s(e){let t=[];const n=new Map([[o.ExchangeDataType.Stocks,e.is_stocks?o.ExchangeDataType.Stocks:null],[o.ExchangeDataType.Indices,e.is_indices?o.ExchangeDataType.Indices:null],[o.ExchangeDataType.Futures,e.is_futures?o.ExchangeDataType.Futures:null],[o.ExchangeDataType.Currency,e.is_currency?o.ExchangeDataType.Currency:null],[o.ExchangeDataType.Certificates,e.is_certificates?o.ExchangeDataType.Certificates:null],[o.ExchangeDataType.Bist100,null],[o.ExchangeDataType.Bist30,null],[o.ExchangeDataType.Rofex20,null]]) +;return"bist_mixed"===e.exchange&&(n.set(o.ExchangeDataType.Indices,null),n.set(o.ExchangeDataType.Bist100,o.ExchangeDataType.Bist100),n.set(o.ExchangeDataType.Bist30,o.ExchangeDataType.Bist30)),"matbarofex"===e.exchange&&(n.set(o.ExchangeDataType.Indices,null),n.set(o.ExchangeDataType.Rofex20,o.ExchangeDataType.Rofex20)),n.forEach(e=>{e&&(t=[...t,e])}),t}function u(e){return{[a.NorthAmerica]:r.t("North America"),[a.Europe]:r.t("Europe"),[a.EastAfrica]:r.t("Middle East / Africa"),[a.Mexico]:r.t("Mexico and South America"),[a.AsiaPacific]:r.t("Asia / Pacific")}[e]}!function(e){e.NorthAmerica="North America",e.Europe="Europe",e.EastAfrica="Middle East/Africa",e.Mexico="Mexico and South America",e.AsiaPacific="Asia/Pacific"}(a||(a={}));const d=new Map([[0,a.NorthAmerica],[1,a.Europe],[2,a.EastAfrica],[3,a.Mexico],[4,a.AsiaPacific]]);function m(e){const t={};for(const n of e){const e=n.region;void 0!==d.get(e)&&(t.hasOwnProperty(e)||(t[""+e]={name:d.get(e),exchanges:[]}),t[""+e].exchanges.push(n))}for(const e in t)if(t.hasOwnProperty(e)){const n=t[""+e].exchanges;"0"===e?n.sort((e,t)=>e.order>t.order?1:-1):n.sort((e,t)=>e.name>t.name?1:-1)}return t}function p(e){return e.filter(e=>!e.disabled)}function g(e,t){const n={};for(let a=0;ae.getProduct(t))}async function f(e,t){const n=await(0,i.getTracker)();null!==n&&n.trackPaymentOrderDialogChanges(e,t)}async function y(e,t,n){const a=await(0,i.getTracker)();null!==a&&a.trackPaymentOrderDialogInitial(e,t.join(";"),n)}function v(e){var t,n,a,r,o;const{pro:i,cartData:c,listLocalPricesProducts:s,currency:u}=e,{proPlanProductId:d,billingCycle:m}=c;let p=0,g=0,f=u||l.Currencies.Usd,y=0,v=0,C=0,b=0,E=0;if(null===i)return{proPlanCost:p,exchangesCost:b,totalCostWithTax:v,currency:f,tax:y,proPlanCostWithTax:p,baseProPlanCostWithTax:C,subtotal:E};const w=h(i,c);if(void 0===s||0===Object.keys(s).length){const e=d?i.getProduct(d):null,t=e?i.getProduct(e.text_id):null;return C=t?i.getCost(t,m):0,p=e?i.getCost(e,m):0,b=w.reduce((e,t)=>i.getCost(t,m)+e,0),E=p+b,{proPlanCost:p,exchangesCost:b,totalCostWithTax:E,currency:f,tax:y,proPlanCostWithTax:p,baseProPlanCostWithTax:C,subtotal:E}}const x=void 0!==d?s[d]:null,_=null!==(n=null===(t=null==x?void 0:x.tax)||void 0===t?void 0:t.tax)&&void 0!==n?n:0;x&&(p=x.price.total,f=null!==(a=x.price.currency)&&void 0!==a?a:"");const P=x?s[x.text_id]:null;P&&(C=P.price.total+(null!==(o=null===(r=P.tax)||void 0===r?void 0:r.tax)&&void 0!==o?o:0)),b=w.reduce((e,t)=>{var n,a;return(null!==(a=null===(n=s[t.text_id])||void 0===n?void 0:n.price.total)&&void 0!==a?a:0)+e},0);const S=w.reduce((e,t)=>{var n,a,r;return(null!==(r=null===(a=null===(n=s[t.text_id])||void 0===n?void 0:n.tax)||void 0===a?void 0:a.tax)&&void 0!==r?r:0)+e},0);g=p+_;return y=_+S,E=p+b,v=E+y,{proPlanCost:p,exchangesCost:b+S,totalCostWithTax:v,currency:f,tax:y,proPlanCostWithTax:g,baseProPlanCostWithTax:C,subtotal:E}}function C(e){return r.t(e)} +const b=new Set([c.Steps.Cheque,c.Steps.Error,c.Steps.SelectPlan,c.Steps.ExchangeAgreement,c.Steps.ExchangeAgreementSuccess]),E=new Set([c.Steps.Cheque,c.Steps.ExchangeAgreement,c.Steps.ExchangeAgreementSuccess]);function w(e){return"USD"===e?"$":""}},10777:(e,t,n)=>{"use strict";n.r(t),n.d(t,{firstLoginDataUrl:()=>r,accumulateErrors:()=>o,fetchPost:()=>i,firstLoginData:()=>c,resendLink:()=>l,signinUrl:()=>s,signin:()=>d,signupUrl:()=>m,signup:()=>p,ApiError:()=>g,AggregateError:()=>h,recoverPasswordUrl:()=>f,recoverPassword:()=>y,resetPassword:()=>v});var a=n(85198);const r="/accounts/first_login_data/";function o(e,t){return Object.entries(e).map(e=>new g(e[1].join("\n"),t,e[0]))}function i(e,t){return(0,a.fetch)(e,{method:"POST",credentials:"include",mode:"same-origin",body:t})}function c(e){return i(r,e).then(e=>e.ok?e.json():e.json().then(t=>{throw new h(o(t.errors,e.status))}))}function l(){return i("/api/v1/users/anon/change-email/resend/").then(e=>e.ok?e.json():e.json().then(e=>{throw Error(e.error)}))}const s="/accounts/signin/";function u(e){return e.json().then(t=>{if("error"in t&&""!==t.error||"code"in t||!e.ok)throw new g(t.error||t.detail,e.status,t.code,t.two_factor_types);return t})}function d(e){return i(s,e).then(u)}const m="/accounts/signup/";function p(e){return i(m,e).then(e=>e.json().then(t=>{if("errors"in t&&""!==t.errors)throw new h(o(t.errors,e.status))}))}class g extends Error{constructor(e,t,n,a){super(e),this.type=n,this.status=t}}class h extends Error{constructor(e){super(e.map(e=>e.message).join("\n")),this.errors=[],this.errors=e}}const f="/api/v1/recover_password/search/";function y(e){return i(f,e).then(u)}function v(e){return i("/accounts/reset_password/",e).then(e=>400===e.status?e.json().then(t=>{if("errors"in t)throw new h(o(t.errors,e.status));throw new g(t.detail,e.status,t.code)}):u(e))}},30152:(e,t,n)=>{"use strict";n.d(t,{showSupportDialog:()=>a});n(51872);function a(e){return Promise.all([n.e(9685),n.e(5514),n.e(8463),n.e(9289),n.e(509),n.e(3118),n.e(5998),n.e(8844),n.e(1253),n.e(8247),n.e(9297),n.e(9255),n.e(3812),n.e(5376),n.e(1536),n.e(5423),n.e(9957),n.e(7274)]).then(n.bind(n,89053)).then(t=>new t.SupportDialog(e).open())}},78599:(e,t,n)=>{"use strict";async function a(e){return(await Promise.all([n.e(8463),n.e(509),n.e(3118),n.e(5998),n.e(3848),n.e(8844),n.e(9410),n.e(5113),n.e(9565),n.e(8138),n.e(3014),n.e(1536),n.e(9040),n.e(8606)]).then(n.bind(n,44279))).createPhoneDialog(e)}async function r(e){return(await Promise.all([n.e(8463),n.e(509),n.e(3118),n.e(5998),n.e(3848),n.e(8844),n.e(9410),n.e(5113),n.e(9565),n.e(8138),n.e(3014),n.e(1536),n.e(9040),n.e(8606)]).then(n.bind(n,44279))).createEmailDialog(e)}n.d(t,{createPhoneDialog:()=>a,createSMSEmailDialog:()=>r})},1768:(e,t,n)=>{"use strict";n.d(t,{createImage:()=>r,marketingAnalyticsEnabled:()=>o});var a=n(76266);function r(e){const t=document.createElement("img");return t.src=e,t}function o(){return(0,a.isFeatureEnabled)("marketing-analytics")}},1938:(e,t,n)=>{"use strict";n.d(t,{GTagEvent:()=>d, +trackGTagAdsEvent:()=>p});var a=n(76422),r=n(98999),o=n(84015),i=n(49483),c=n(46433),l=n(38663),s=n(1768);let u=!1;var d;function m(){u||!(0,s.marketingAnalyticsEnabled)()||(0,o.isOnMobileAppPage)("any")||i.CheckMobile.iOS()||((0,c.updateInitData)(),(0,c.getInitData)().gadwId&&(u=!0,(0,l.appendScript)("https://www.googletagmanager.com/gtag/js?id="+(0,c.getInitData)().gadwId),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("consent","default",{ad_storage:(0,r.getCookieSetting)(r.CookieSettings.Advertising)?"granted":"denied"}),window.gtag("config",(0,c.getInitData)().gadwId),a.subscribe(r.cookieSettingsChangeEvent,(e,t)=>{e===r.CookieSettings.Advertising&&window.gtag("consent","update",{ad_storage:t?"granted":"denied"})},null)))}function p(e,t={}){if(m(),!u)return;const n=(0,c.getInitData)().gadwId;window.gtag("event","conversion",{send_to:`${n}/${e}`,user_id:window.user.id,...t})}!function(e){e.PageView="kwnRCP6AwqsBEOTvvuED",e.TrialSignUp="6_gCCOyejsACEK3sq6gB",e.RegistrationCompleted="JzYhCIOr578CEK3sq6gB",e.PaidPlanAcquired="ca8iCNrG578CEK3sq6gB"}(d||(d={}))},59401:(e,t,n)=>{"use strict";n.d(t,{TwitterEvent:()=>a,trackTwitterEvent:()=>i});var a,r=n(1768),o=n(98999);!function(e){e.SiteVisit="o2eg2",e.TrialSignUp="o1wjo",e.RegistrationCompleted="o1wjq",e.PaidPlanAcquired="o1wjr"}(a||(a={}));function i(e){(0,r.marketingAnalyticsEnabled)()&&(0,o.getCookieSetting)(o.CookieSettings.Analytics)&&(e=>[`https://analytics.twitter.com/i/adsct?txn_id=${e}&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0`,`https://t.co/i/adsct?txn_id=${e}&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0"`])(e).map(r.createImage)}},38663:(e,t,n)=>{"use strict";n.d(t,{appendScript:()=>r});var a=n(15298);function r(e){const t=document.createElement("script");t.async=!0,t.src=e;const n=(0,a.getCspNonce)();return n&&t.setAttribute("nonce",n),document.head.appendChild(t),t}},98999:(e,t,n)=>{"use strict";n.d(t,{CookieSettings:()=>a,cookieSettingsChangeEvent:()=>c,setCookieSetting:()=>s,getCookieSetting:()=>u});var a,r=n(76422),o=n(11417),i=n(57229);!function(e){e.Analytics="analytics",e.Advertising="advertising"}(a||(a={}));const c="cookie_settings_changed",l={[a.Analytics]:!1,[a.Advertising]:!1};function s(e,t){l[e]=t,o.TVLocalStorage.setItem("cookiesSettings",JSON.stringify(l)),r.emit(c,e,t)}function u(e){return l[e]}!function(){const e=o.TVLocalStorage.getItem("cookiesSettings");if(e)try{const t=JSON.parse(e);l[a.Analytics]=(null==t?void 0:t[a.Analytics])||!1,l[a.Advertising]=(null==t?void 0:t[a.Advertising])||!1}catch(e){}else(0,i.checkCookiePolicy)(i.oldBannerKey)&&(s(a.Analytics,!0),s(a.Advertising,!0),(0,i.onAccept)(),(0,i.removeOldCookieBannerKey)())}()},46433:(e,t,n)=>{"use strict";n.d(t,{updateInitData:()=>i,getInitData:()=>c,getFreshInitData:()=>l});var a=n(88537);const r=(0,n(98125).getLogger)("Common.InitData"),o=window.initData||{};function i(){window.initData&&window.initData!==o&&(Object.assign(o,window.initData),window.initData=o) +;const e=document.querySelectorAll('script[type="application/prs.init-data+json"]');for(let t=0;t{"use strict";n.d(t,{trackCookies:()=>r});var a=n(91955);async function r(e,t){var n;let r,o;r="/"===window.location.pathname?"index":window.location.pathname.split("/")[1];const i=null!==(n=window.user.pro_plan)&&void 0!==n?n:window.is_authenticated?"free":"visitor";window.is_authenticated&&(o=window.user.id);const c=await(0,a.getTracker)();c&&c.trackToastDialog("cookies",e,t,r,i,o)}},41145:(e,t,n)=>{"use strict";n.d(t,{BackButton:()=>u});var a=n(59496),r=n(97754),o=n(9745),i=n(70895),c=n(81925),l=n(99803),s=n(87823);const u=a.forwardRef((e,t)=>{const{className:n,size:u,...d}=e,m=r(s["back-button"],s["button-"+u],n);return a.createElement("button",{...d,type:"button",className:m,ref:t},a.createElement(o.Icon,{icon:function(e="l"){switch(e){case"l":return i;case"m":return c;case"s":return l;default:return i}}(u),className:s.icon}))})},44943:(e,t,n)=>{"use strict";n.d(t,{dumbValidator:()=>r,useFormValidation:()=>o});var a=n(59496);function r(){return{isValid:!0,errors:[]}}function o(e,t,n){const a={},r={},o={};for(const c of e){const e=void 0!==n?n[c]:void 0,[l,s,u,d,m]=i(t[c],e);a[c]={value:l,onChange:s,validationResults:u},r[c]=d,o[c]=m}return[a,function(){let e=!0;for(const t in r)if(r.hasOwnProperty(t)){const n=r[t];if(void 0!==n){const t=n();e=e&&t}}return e},function(e){for(const t in e)e.hasOwnProperty(t)&&e[t]&&o[t](e[t])}]}function i(e,t){const[n,r]=(0,a.useState)(t),[o,i]=(0,a.useState)(!0),[c,l]=(0,a.useState)([]);function s(t=n){const{isValid:a,errors:r}=e(t);return a!==o&&i(a),(r.length!==c.length||r.filter(e=>c.includes(e)).length>0)&&l(r),a}return[n,function(e){r(e),o||s(e)},{isValid:o,errors:c},s,function(e){i(e.isValid),l(e.errors)}]}},23298:e=>{e.exports=''},87172:e=>{e.exports=''},79704:e=>{e.exports=''},26:e=>{ +e.exports=''},25293:e=>{e.exports=''},87239:e=>{e.exports=''},70895:e=>{e.exports=''},81925:e=>{e.exports=''},99803:e=>{e.exports=''},59899:e=>{e.exports=''},61975:e=>{e.exports=''},77540:e=>{e.exports=''},63897:e=>{e.exports=''},54417:e=>{ +e.exports=''},43861:e=>{e.exports=''},66026:e=>{e.exports=''},55348:e=>{ +e.exports='DATA SERVICES'},60495:e=>{e.exports=''},65417:e=>{ +e.exports=''},158:e=>{e.exports=''},65151:e=>{ +e.exports=''},17681:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/header-toolbar.6e0f6b8f50c83c8a6dc1.js b/charting_library/bundles/header-toolbar.6e0f6b8f50c83c8a6dc1.js new file mode 100644 index 00000000..557c2976 --- /dev/null +++ b/charting_library/bundles/header-toolbar.6e0f6b8f50c83c8a6dc1.js @@ -0,0 +1,16 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3005],{77511:e=>{e.exports={group:"group-T57LDNqT",noLeftDecoration:"noLeftDecoration-T57LDNqT",noRightDecoration:"noRightDecoration-T57LDNqT",noMinimalWidth:"noMinimalWidth-T57LDNqT",newStyles:"newStyles-T57LDNqT",separator:"separator-T57LDNqT",separatorWrap:"separatorWrap-T57LDNqT"}},71747:e=>{e.exports={"css-value-header-toolbar-height":"38px",wrap:"wrap-7mUBPdQo"}},85291:e=>{e.exports={"css-value-header-toolbar-height":"38px",toolbar:"toolbar-ymEQuMuZ",isHidden:"isHidden-ymEQuMuZ",overflowWrap:"overflowWrap-ymEQuMuZ",customButton:"customButton-ymEQuMuZ",hovered:"hovered-ymEQuMuZ"}},36971:e=>{e.exports={wrap:"wrap-zQWNyqoF",icon:"icon-zQWNyqoF"}},93067:e=>{e.exports={"css-value-header-toolbar-height":"38px",inner:"inner-Kbdz4qEM",fake:"fake-Kbdz4qEM",fill:"fill-Kbdz4qEM",collapse:"collapse-Kbdz4qEM",button:"button-Kbdz4qEM",iconButton:"iconButton-Kbdz4qEM",hidden:"hidden-Kbdz4qEM",content:"content-Kbdz4qEM",desktopPublish:"desktopPublish-Kbdz4qEM",mobilePublish:"mobilePublish-Kbdz4qEM"}},41814:e=>{e.exports={wrap:"wrap-sfzcrPlH",wrapWithArrowsOuting:"wrapWithArrowsOuting-sfzcrPlH",wrapOverflow:"wrapOverflow-sfzcrPlH",scrollWrap:"scrollWrap-sfzcrPlH",noScrollBar:"noScrollBar-sfzcrPlH",icon:"icon-sfzcrPlH",scrollLeft:"scrollLeft-sfzcrPlH",scrollRight:"scrollRight-sfzcrPlH",isVisible:"isVisible-sfzcrPlH",iconWrap:"iconWrap-sfzcrPlH",fadeLeft:"fadeLeft-sfzcrPlH",fadeRight:"fadeRight-sfzcrPlH"}},9745:(e,t,r)=>{"use strict";r.d(t,{Icon:()=>i});var n=r(59496);const i=n.forwardRef((e,t)=>{const{icon:r="",...i}=e;return n.createElement("span",{...i,ref:t,dangerouslySetInnerHTML:{__html:r}})})},53374:(e,t,r)=>{"use strict";r.d(t,{INTERVALS:()=>i});var n=r(28353);const i=[{name:"",label:(0,n.t)("minutes",{context:"interval"})},{name:"H",label:(0,n.t)("hours",{context:"interval"})},{name:"D",label:(0,n.t)("days",{context:"interval"})},{name:"W",label:(0,n.t)("weeks",{context:"interval"})},{name:"M",label:(0,n.t)("months",{context:"interval"})}]},53335:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HeaderToolbarRenderer:()=>ge});var n=r(59496),i=r(87995),o=r(88537),s=r(97754),a=r(85459),l=r.n(a),u=r(43370),c=r(67337),d=r(76422),h=r(19036),p=r(9837),f=r(32563),m=r(42142),v=r(37669),y=r(77511);function g(e){const{children:t,className:r,noLeftDecoration:i,noRightDecoration:o,noMinimalWidth:a,onClick:l,removeSeparator:u}=e;return n.createElement(n.Fragment,null,v.hasNewHeaderToolbarStyles&&!u&&n.createElement("div",{className:y.separatorWrap},n.createElement("div",{className:y.separator})),n.createElement("div",{className:s(r,y.group,{[y.noMinimalWidth]:a,[y.noLeftDecoration]:i,[y.noRightDecoration]:o,[y.newStyles]:v.hasNewHeaderToolbarStyles}),onClick:l},t))}var b=r(71747);class S extends n.PureComponent{constructor(){super(...arguments),this._handleMeasure=({width:e})=>{this.props.onWidthChange(e)}}render(){const{children:e,shouldMeasure:t}=this.props;return n.createElement(p,{shouldMeasure:t,onMeasure:this._handleMeasure,whitelist:["width"]},n.createElement("div",{ +className:b.wrap},e))}}var w=r(28353),_=r(9745),E=r(36971),C=r(59266);const M={text:(0,w.t)("View Only Mode")};function T(e){return n.createElement("div",{className:E.wrap},n.createElement(_.Icon,{className:E.icon,icon:C}),M.text)}var k,R=r(39440),O=r(54475);!function(e){e.SymbolSearch="header-toolbar-symbol-search",e.Intervals="header-toolbar-intervals",e.ChartStyles="header-toolbar-chart-styles",e.Compare="header-toolbar-compare",e.Indicators="header-toolbar-indicators",e.StudyTemplates="header-toolbar-study-templates",e.Dropdown="header-toolbar-dropdown",e.Alerts="header-toolbar-alerts",e.Layouts="header-toolbar-layouts",e.SaveLoad="header-toolbar-save-load",e.UndoRedo="header-toolbar-undo-redo",e.Properties="header-toolbar-properties",e.PublishDesktop="header-toolbar-publish-desktop",e.PublishMobile="header-toolbar-publish-mobile",e.Fullscreen="header-toolbar-fullscreen",e.Screenshot="header-toolbar-screenshot",e.Replay="header-toolbar-replay",e.Financials="header-toolbar-financials",e.StartTrial="header-toolbar-start-trial"}(k||(k={}));var N=r(70412),I=r(55402),x=r(93067);const P=(0,I.registryContextType)();class V extends n.PureComponent{constructor(e,t){super(e,t),this._handleMouseOver=e=>{(0,N.hoverMouseEventFilter)(e)&&this.setState({isHovered:!0})},this._handleMouseOut=e=>{(0,N.hoverMouseEventFilter)(e)&&this.setState({isHovered:!1})},this._handleInnerResize=e=>{const{onWidthChange:t}=this.props;t&&t(e)},this._handleMeasureAvailableSpace=({width:e})=>{const{onAvailableSpaceChange:t}=this.props;t&&t(e)},this._processCustoms=e=>{const{isFake:t,displayMode:r}=this.props,{tools:i}=this.context;return e.map(e=>n.createElement(g,{key:e.id},(e=>{switch(e.type){case"Button":return n.createElement(i.Custom,{...e.params,isFake:t});case"TradingViewStyledButton":return n.createElement(i.CustomTradingViewStyledButton,{...e.params,className:x.button,displayMode:r});case"Dropdown":return n.createElement(i.Dropdown,{displayMode:r,params:e.params});default:return null}})(e)))},this._fixLastGroup=(e,t,r)=>{if(t===r.length-1&&n.isValidElement(e)&&e.type===g){const t=void 0!==this.context.tools.Publish&&!this.props.readOnly;return n.cloneElement(e,{noRightDecoration:t})}return e},(0,I.validateRegistry)(t,{tools:h.any.isRequired}),this.state={isHovered:!1,isAuthenticated:void 0}}componentDidMount(){0}componentWillUnmount(){0}render(){const{tools:e}=this.context,{features:t,displayMode:r,chartSaver:i,studyMarket:o,readOnly:a,saveLoadSyncEmitter:l,leftCustomElements:u,rightCustomElements:c,showScrollbarWhen:d,isFake:h=!1}=this.props,{isHovered:y,isAuthenticated:b}=this.state,w=this._processCustoms(u),_=this._processCustoms(c),E=d.includes(r);return n.createElement("div",{className:s(x.inner,{[x.fake]:h}),onContextMenu:O.preventDefaultForContextMenu,"data-is-fake-main-panel":h},n.createElement(p,{onMeasure:this._handleMeasureAvailableSpace,whitelist:["width"],shouldMeasure:!h},n.createElement(R.HorizontalScroll,{isVisibleFade:f.mobiletouch&&E,isVisibleButtons:!f.mobiletouch&&E&&y,isVisibleScrollbar:!1,shouldMeasure:E&&!h, +onMouseOver:this._handleMouseOver,onMouseOut:this._handleMouseOut},n.createElement("div",{className:x.content},n.createElement(S,{onWidthChange:this._handleInnerResize,shouldMeasure:h},n.createElement(m.FragmentMap,{map:this._fixLastGroup},!a&&n.Children.toArray([e.SymbolSearch&&n.createElement(g,{key:"symbol"},n.createElement(e.SymbolSearch,{id:h?void 0:k.SymbolSearch,isActionsVisible:t.allowSymbolSearchSpread}),v.hasNewHeaderToolbarStyles&&e.Compare&&n.createElement(e.Compare,{id:h?void 0:k.Compare,className:x.button,displayMode:r})),e.DateRange&&n.createElement(g,{key:"range"},n.createElement(e.DateRange,null)),e.Intervals&&n.createElement(g,{key:"intervals"},n.createElement(e.Intervals,{id:h?void 0:k.Intervals,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:r,isFake:h})),e.Bars&&n.createElement(g,{key:"styles"},n.createElement(e.Bars,{id:h?void 0:k.ChartStyles,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:r,isFake:h})),!v.hasNewHeaderToolbarStyles&&e.Compare&&n.createElement(g,{key:"compare"},n.createElement(e.Compare,{id:h?void 0:k.Compare,className:x.button,displayMode:r})),e.Indicators&&n.createElement(g,{key:"indicators"},n.createElement(e.Indicators,{id:h?void 0:k.Indicators,className:x.button,studyMarket:o,displayMode:r}),v.hasNewHeaderToolbarStyles&&e.Templates&&n.createElement(e.Templates,{id:h?void 0:k.StudyTemplates,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:r})),!v.hasNewHeaderToolbarStyles&&e.Templates&&n.createElement(g,{key:"templates"},n.createElement(e.Templates,{id:h?void 0:k.StudyTemplates,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:r})),e.Alert&&n.createElement(g,{key:"alert"},n.createElement(e.Alert,{id:h?void 0:k.Alerts,className:x.button,displayMode:r}),v.hasNewHeaderToolbarStyles&&e.Replay&&n.createElement(e.Replay,{id:h?void 0:k.Replay,className:x.button,displayMode:r})),e.AlertReferral&&n.createElement(g,{key:"alert-referral"},n.createElement(e.AlertReferral,{className:x.button,displayMode:r})),!v.hasNewHeaderToolbarStyles&&e.Replay&&n.createElement(g,{key:"replay"},n.createElement(e.Replay,{id:h?void 0:k.Replay,className:x.button,displayMode:r})),!v.hasNewHeaderToolbarStyles&&e.UndoRedo&&n.createElement(g,{key:"undo-redo"},n.createElement(e.UndoRedo,{id:h?void 0:k.UndoRedo})),e.ScalePercentage&&n.createElement(g,{key:"percentage"},n.createElement(e.ScalePercentage,null)),e.ScaleLogarithm&&n.createElement(g,{key:"logarithm"},n.createElement(e.ScaleLogarithm,null)),...w]),function(e){const t=e.findIndex(e=>n.isValidElement(e)&&!!e.key&&-1!==e.key.toString().indexOf("view-only-badge"));return[t].filter(e=>e>=0).forEach(t=>{e=n.Children.map(e,(e,r)=>{if(n.isValidElement(e)){switch([t-1,t,t+1].indexOf(r)){case 0:const t={noRightDecoration:!0};e=n.cloneElement(e,t);break;case 1:const r={noLeftDecoration:!0,noRightDecoration:!0};e=n.cloneElement(e,r);break;case 2:const i={noLeftDecoration:!0};e=n.cloneElement(e,i)}}return e})}),e +}(n.Children.toArray([a&&n.createElement(g,{key:"view-only-badge",removeSeparator:v.hasNewHeaderToolbarStyles},n.createElement(T,null)),n.createElement(g,{key:"gap",className:s(x.fill,h&&x.collapse),removeSeparator:v.hasNewHeaderToolbarStyles}),v.hasNewHeaderToolbarStyles&&!a&&e.UndoRedo&&n.createElement(g,{key:"undo-redo",removeSeparator:!0},n.createElement(e.UndoRedo,{id:h?void 0:k.UndoRedo})),(!a||v.hasNewHeaderToolbarStyles)&&e.Layout&&n.createElement(g,{key:"layout",removeSeparator:v.hasNewHeaderToolbarStyles&&a},!a&&n.createElement(e.Layout,{id:h?void 0:k.Layouts}),v.hasNewHeaderToolbarStyles&&e.SaveLoad&&n.createElement(e.SaveLoad,{id:h?void 0:k.SaveLoad,chartSaver:i,isReadOnly:a,displayMode:r,isFake:h,stateSyncEmitter:l})),!v.hasNewHeaderToolbarStyles&&e.SaveLoad&&n.createElement(g,{key:"save-load-right"},n.createElement(e.SaveLoad,{id:h?void 0:k.SaveLoad,chartSaver:i,isReadOnly:a,displayMode:r,isFake:h,stateSyncEmitter:l})),e.SaveLoadReferral&&n.createElement(g,{key:"save-load-referral"},n.createElement(e.SaveLoadReferral,{isReadOnly:a,displayMode:r})),t.showLaunchInPopupButton&&e.OpenPopup&&n.createElement(g,{key:"popup"},n.createElement(e.OpenPopup,null)),(!a||v.hasNewHeaderToolbarStyles)&&e.Properties&&n.createElement(g,{key:"properties",removeSeparator:v.hasNewHeaderToolbarStyles&&a},!a&&n.createElement(e.Properties,{id:h?void 0:k.Properties,className:x.iconButton}),v.hasNewHeaderToolbarStyles&&n.createElement(n.Fragment,null,!a&&e.Fullscreen&&n.createElement(e.Fullscreen,{id:h?void 0:k.Fullscreen}),e.Screenshot&&n.createElement(e.Screenshot,{id:h?void 0:k.Screenshot,className:x.iconButton}))),!v.hasNewHeaderToolbarStyles&&!a&&e.Fullscreen&&n.createElement(g,{key:"fullscreen",onClick:this._trackFullscreenButtonClick},n.createElement(e.Fullscreen,{id:h?void 0:k.Fullscreen})),!v.hasNewHeaderToolbarStyles&&e.Screenshot&&n.createElement(g,{key:"screenshot"},n.createElement(e.Screenshot,{id:h?void 0:k.Screenshot,className:x.iconButton})),!a&&e.Publish&&n.createElement(g,{key:"publish",className:x.mobilePublish,removeSeparator:v.hasNewHeaderToolbarStyles},n.createElement(e.Publish,{id:h?void 0:k.PublishMobile})),..._]))))))),e.Publish&&!a&&!h&&n.createElement(e.Publish,{id:k.PublishDesktop,className:x.desktopPublish}))}_onLoginStateChange(){0}_trackFullscreenButtonClick(){0}}V.contextType=P;var W=r(52714),D=r.n(W),F=r(9127);class L extends F.CommonJsonStoreService{constructor(e,t,r=[]){super(e,t,"FAVORITE_CHART_STYLES_CHANGED","StyleWidget.quicks",r)}}var A=r(9315),H=r(96397);class B extends F.AbstractJsonStoreService{constructor(e,t,r){super(e,t,"FAVORITE_INTERVALS_CHANGED","IntervalWidget.quicks",r)}_serialize(e){return(0,H.uniq)(e.map(A.normalizeIntervalString))}_deserialize(e){return(0,H.uniq)((0,A.convertResolutionsFromSettings)(e).filter(A.isResolutionMultiplierValid).map(A.normalizeIntervalString))}}var z=r(82992),j=r(2872),q=r.n(j),U=r(56840),K=r(21097);class Q extends F.AbstractJsonStoreService{constructor(e,t,r=[]){super(e,t,"CUSTOM_INTERVALS_CHANGED","IntervalWidget.intervals",r)}set(e,t){e.length, +this.get().length,super.set(e,t)}_serialize(e){return(0,H.uniq)(e.map(A.normalizeIntervalString))}_deserialize(e){return(0,H.uniq)((0,A.convertResolutionsFromSettings)(e).filter(A.isResolutionMultiplierValid).map(A.normalizeIntervalString))}}const J=new Q(K.TVXWindowEvents,U);var X=r(53374);class G{constructor(e){this._customIntervalsService=J,this._supportedIntervalsMayChange=new(q()),this._fireSupportedIntervalsMayChange=()=>{this._supportedIntervalsMayChange.fire()},this._chartApiInstance=e,z.linking.supportedResolutions.subscribe(this._fireSupportedIntervalsMayChange),z.linking.range.subscribe(this._fireSupportedIntervalsMayChange),z.linking.seconds.subscribe(this._fireSupportedIntervalsMayChange),z.linking.ticks.subscribe(this._fireSupportedIntervalsMayChange),z.linking.intraday.subscribe(this._fireSupportedIntervalsMayChange)}destroy(){z.linking.supportedResolutions.unsubscribe(this._fireSupportedIntervalsMayChange),z.linking.range.unsubscribe(this._fireSupportedIntervalsMayChange),z.linking.seconds.unsubscribe(this._fireSupportedIntervalsMayChange),z.linking.ticks.unsubscribe(this._fireSupportedIntervalsMayChange),z.linking.intraday.unsubscribe(this._fireSupportedIntervalsMayChange)}getDefaultIntervals(){return null===this._chartApiInstance?[]:this._chartApiInstance.defaultResolutions().map(A.normalizeIntervalString)}getCustomIntervals(){return this._customIntervalsService.get()}add(e,t,r){if(!this.isValidInterval(e,t))return null;const n=(0,A.normalizeIntervalString)(`${e}${t}`),i=this.getCustomIntervals();return this._isIntervalDefault(n)||i.includes(n)?null:(this._customIntervalsService.set((0,A.sortResolutions)([...i,n])),n)}remove(e){this._customIntervalsService.set(this.getCustomIntervals().filter(t=>t!==e))}isValidInterval(e,t){return(0,A.isResolutionMultiplierValid)(`${e}${t}`)}isSupportedInterval(e){return(0,A.isAvailable)(e)}supportedIntervalsMayChange(){return this._supportedIntervalsMayChange}getOnChange(){return this._customIntervalsService.getOnChange()}getPossibleIntervals(){return X.INTERVALS}getResolutionUtils(){return{getMaxResolutionValue:A.getMaxResolutionValue,getTranslatedResolutionModel:A.getTranslatedResolutionModel,mergeResolutions:A.mergeResolutions,sortResolutions:A.sortResolutions}}_isIntervalDefault(e){return this.getDefaultIntervals().includes(e)}}var $=r(18387),Y=r(88145),Z=r(14905);const ee={};let te=null;class re{constructor(e=U){this._favorites=[],this._favoritesChanged=new(q()),this._settings=e,K.TVXWindowEvents.on("StudyFavoritesChanged",e=>{const t=JSON.parse(e);this._loadFromState(t.favorites||[])}),this._settings.onSync.subscribe(this,this._loadFavs),this._loadFavs()}isFav(e){const t=this.favId(e);return-1!==this._findFavIndex(t)}toggleFavorite(e){this.isFav(e)?this.removeFavorite(e):this.addFavorite(e)}addFavorite(e){const t=this.favId(e);this._favorites.push(ie(t)),this._favoritesChanged.fire(),this._saveFavs()}removeFavorite(e){const t=this.favId(e),r=this._findFavIndex(t);-1!==r&&(this._favorites.splice(r,1),this._favoritesChanged.fire()),this._saveFavs()}favId(e){ +return(0,Z.isPineIdString)(e)?e:(0,Z.extractPineId)(e)||(0,Y.extractStudyId)(e)}favorites(){return this._favorites}favoritePineIds(){return this._favorites.filter(e=>"pine"===e.type).map(e=>e.pineId)}favoritesChanged(){return this._favoritesChanged}static getInstance(){return null===te&&(te=new re),te}static create(e){return new re(e)}_loadFavs(){const e=this._settings.getJSON("studyMarket.favorites",[]);this._loadFromState(e)}_saveFavs(){const e=this._stateToSave();this._settings.setJSON("studyMarket.favorites",e,{forceFlush:!0}),K.TVXWindowEvents.emit("StudyFavoritesChanged",JSON.stringify({favorites:e}))}_stateToSave(){return this._favorites.map(ne)}_loadFromState(e){this._favorites=e.map(e=>ie(function(e){return e in ee?ee[e]:e}(e))),this._favoritesChanged.fire()}_findFavIndex(e){return this._favorites.findIndex(t=>e===ne(t))}}function ne(e){return"java"===e.type?e.studyId:e.pineId}function ie(e){return(0,Z.isPineIdString)(e)?{type:"pine",pineId:e}:{type:"java",studyId:e}}var oe=r(29823);const se={[oe.ResolutionKind.Ticks]:!1,[oe.ResolutionKind.Seconds]:!1,[oe.ResolutionKind.Minutes]:!1,[oe.SpecialResolutionKind.Hours]:!1,[oe.ResolutionKind.Days]:!1,[oe.ResolutionKind.Range]:!1};class ae extends F.CommonJsonStoreService{constructor(e,t,r=se){super(e,t,"INTERVALS_MENU_VIEW_STATE_CHANGED","IntervalWidget.menu.viewState",r)}isAllowed(e){return Object.keys(se).includes(e)}}var le=r(22668);const ue={Area:3,Bars:0,Candles:1,"Heiken Ashi":8,"Hollow Candles":9,Line:2,Renko:4,Kagi:5,"Point & figure":6,"Line Break":7,Baseline:10},ce=["1","30","60"];function de(e=[]){let t=e.map(e=>ue[e])||[1,4,5,6];return c.enabled("widget")&&(t=[0,1,3]),t}function he(e=[]){return(0,A.mergeResolutions)(e,c.enabled("star_some_intervals_by_default")?ce:[])}new B(K.TVXWindowEvents,U,he()),new L(K.TVXWindowEvents,U,de()),new le.FavoriteStudyTemplateService(K.TVXWindowEvents,U);const pe={tools:h.any.isRequired,isFundamental:h.any,chartApiInstance:h.any,availableTimeFrames:h.any,chartWidgetCollection:h.any,windowMessageService:h.any,favoriteChartStylesService:h.any,favoriteIntervalsService:h.any,intervalService:h.any,favoriteStudyTemplatesService:h.any,studyTemplates:h.any,chartChangesWatcher:h.any,saveChartService:h.any,sharingChartService:h.any,loadChartService:h.any,chartWidget:h.any,favoriteScriptsModel:h.any,intervalsMenuViewStateService:h.any,templatesMenuViewStateService:h.any,financialsDialogController:h.any,snapshotUrl:h.any};var fe=r(62046),me=r(85291);const ve=[];class ye extends n.PureComponent{constructor(e){super(e),this._saveLoadSyncEmitter=new(l()),this._handleFullWidthChange=e=>{this._fullWidth=e,this.setState({measureValid:!1})},this._handleFavoritesWidthChange=e=>{this._favoritesWidth=e,this.setState({measureValid:!1})},this._handleCollapseWidthChange=e=>{this._collapseWidth=e,this.setState({measureValid:!1})},this._handleMeasure=e=>{this.setState({availableWidth:e,measureValid:!1})} +;const{tools:t,windowMessageService:r,chartWidgetCollection:n,chartApiInstance:i,availableTimeFrames:s,isFundamental:a,favoriteIntervalsService:d,favoriteChartStylesService:h,favoriteStudyTemplatesService:p,studyTemplates:f,saveChartService:m,sharingChartService:v,loadChartService:y,financialsDialogController:g,snapshotUrl:b}=e;this._showScrollbarWhen=(0,o.ensureDefined)(e.allowedModes).slice(-1),this._panelWidthChangeHandlers={full:this._handleFullWidthChange,medium:this._handleFavoritesWidthChange,small:this._handleCollapseWidthChange};const{chartChangesWatcher:S}=e;this._chartChangesWatcher=S;const w=de(this.props.defaultFavoriteStyles);this._favoriteChartStylesService=h||new L(K.TVXWindowEvents,U,w);const _=he(this.props.defaultFavoriteIntervals);this._favoriteIntervalsService=d||new B(K.TVXWindowEvents,U,_),this._intervalsMenuViewStateService=new ae(K.TVXWindowEvents,U),this._intervalService=new G(i),this._registry={tools:t,isFundamental:a,chartWidgetCollection:n,windowMessageService:r,chartApiInstance:i,availableTimeFrames:s,favoriteStudyTemplatesService:p,studyTemplates:f,saveChartService:m,sharingChartService:v,loadChartService:y,intervalsMenuViewStateService:this._intervalsMenuViewStateService,favoriteChartStylesService:this._favoriteChartStylesService,favoriteIntervalsService:this._favoriteIntervalsService,intervalService:this._intervalService,chartChangesWatcher:this._chartChangesWatcher,chartWidget:n.activeChartWidget.value(),favoriteScriptsModel:re.getInstance(),templatesMenuViewStateService:this._templatesMenuVuewStateService,financialsDialogController:g,snapshotUrl:b},this.state={isVisible:!0,availableWidth:0,displayMode:"full",measureValid:!1,leftCustomElements:[],rightCustomElements:[]},this._readOnly=n.readOnly(),this._features={allowFavoriting:c.enabled("items_favoriting"),showIdeasButton:Boolean(this.props.ideas),showLaunchInPopupButton:Boolean(this.props.popupButton),allowSymbolSearchSpread:c.enabled("header_symbol_search")&&c.enabled("show_spread_operators"),allowToolbarHiding:c.enabled("collapsible_header")},this._setDisplayMode=(0,u.default)(this._setDisplayMode,100),this._negotiateResizer()}componentDidUpdate(e,t){const{isVisible:r,measureValid:n}=this.state;r!==t.isVisible&&(d.emit("toggle_header",r),this._negotiateResizer()),n||this._setDisplayMode()}render(){const{resizerBridge:e,allowedModes:t,...r}=this.props,{displayMode:i,isVisible:a,leftCustomElements:l,rightCustomElements:u}=this.state,c={features:this._features,readOnly:this._readOnly,isFake:!1,saveLoadSyncEmitter:this._saveLoadSyncEmitter,leftCustomElements:l,rightCustomElements:u,...r},d={...c,isFake:!0,showScrollbarWhen:ve},h=(0,o.ensureDefined)(t),p=this.props.tools.PublishButtonManager||n.Fragment;return n.createElement(I.RegistryProvider,{value:this._registry,validation:pe},n.createElement(p,null,n.createElement("div",{className:s(me.toolbar,{[me.isHidden]:!a}),onClick:this.props.onClick},n.createElement("div",{className:me.overflowWrap},n.createElement(V,{key:"live",showScrollbarWhen:this._showScrollbarWhen,displayMode:i, +onAvailableSpaceChange:this._handleMeasure,...c}),h.map(e=>n.createElement(V,{key:e,displayMode:e,onWidthChange:this._panelWidthChangeHandlers[e],...d}))))))}addButton(e,t){if(!t.useTradingViewStyle)return this._addCustomHTMLButton(e,t.align);this._addCustomTradingViewStyledButton(e,t)}addDropdown(e,t){const{leftCustomElements:r,rightCustomElements:n}=this.state,i={type:"Dropdown",id:e,params:t};"left"===t.align?this.setState({leftCustomElements:[...r,i]}):this.setState({rightCustomElements:[...n,i]})}updateDropdown(e,t){const r=t=>"Dropdown"===t.type&&t.id===e,n=this.state.leftCustomElements.find(r)||this.state.rightCustomElements.find(r);void 0!==n&&(n.params={...n.params,...t},this.setState({leftCustomElements:this.state.leftCustomElements.slice(),rightCustomElements:this.state.rightCustomElements.slice()}))}removeDropdown(e){const t=t=>"Dropdown"===t.type&&t.id!==e,r=this.state.leftCustomElements.filter(t),n=this.state.rightCustomElements.filter(t);this.setState({leftCustomElements:r,rightCustomElements:n})}_negotiateResizer(){this.props.resizerBridge.negotiateHeight(this.state.isVisible?$.HEADER_TOOLBAR_HEIGHT_EXPANDED:$.HEADER_TOOLBAR_HEIGHT_COLLAPSED)}_setDisplayMode(){const{availableWidth:e}=this.state,{allowedModes:t}=this.props,r={full:this._fullWidth,medium:this._favoritesWidth,small:this._collapseWidth},n=(0,o.ensureDefined)(t);let i=n.map(e=>r[e]).findIndex(t=>e>=t);-1===i&&(i=n.length-1);const s=n[i];this.setState({measureValid:!0,displayMode:s})}_addCustomHTMLButton(e,t="left"){const r=new(D())(0),n=(0,fe.parseHtmlElement)(`
    `),i={type:"Button",id:e,params:{key:Number(new Date),element:n,width:r}};return this._addCustomElementToState(t,i),n}_addCustomTradingViewStyledButton(e,t){const r={type:"TradingViewStyledButton",id:e,params:{key:Number(new Date),text:t.text,title:t.title,onClick:t.onClick}};this._addCustomElementToState(t.align,r)}_addCustomElementToState(e,t){const{leftCustomElements:r,rightCustomElements:n}=this.state;"left"===e?this.setState({leftCustomElements:[...r,t]}):this.setState({rightCustomElements:[...n,t]})}}ye.defaultProps={allowedModes:["full","medium"]};class ge{constructor(e,t){this._component=null,this._handleRef=e=>{this._component=e},this._container=e,i.render(n.createElement(ye,{...t,ref:this._handleRef}),this._container)}destroy(){i.unmountComponentAtNode(this._container)}getComponent(){return(0,o.ensureNotNull)(this._component)}}},37669:(e,t,r)=>{"use strict";r.d(t,{hasNewHeaderToolbarStyles:()=>n});r(67337);const n=!1},55402:(e,t,r)=>{"use strict";r.d(t,{validateRegistry:()=>a,RegistryProvider:()=>l,registryContextType:()=>u});var n=r(59496),i=r(19036),o=r.n(i);const s=n.createContext({});function a(e,t){o().checkPropTypes(t,e,"context","RegistryContext")}function l(e){const{validation:t,value:r}=e;return a(r,t),n.createElement(s.Provider,{value:r},e.children)}function u(){return s}},9837:function(e,t,r){var n,i,o;e.exports=(n=r(59496),i=r(87995),o=r(59255),function(e){function t(n){if(r[n])return r[n].exports +;var i=r[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var r={};return t.m=e,t.c=r,t.p="dist/",t(0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(1));t.default=n.default,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:r.props.includeMargin;if(r.props.shouldMeasure){r._node.parentNode||r._setDOMNode();var t=r.getDimensions(r._node,e),n="function"==typeof r.props.children;r._propsToMeasure.some((function(e){if(t[e]!==r._lastDimensions[e])return r.props.onMeasure(t),n&&void 0!==r&&r.setState({dimensions:t}),r._lastDimensions=t,!0}))}},r.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},r._node=null,r._propsToMeasure=r._getPropsToMeasure(e),r._lastDimensions={},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new u.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){var t=(e.config,e.whitelist),r=e.blacklist;this.props.whitelist===t&&this.props.blacklist===r||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:r}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=l.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin;return(0,c.default)(e,{margin:t})}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,r=e.blacklist;return t.filter((function(e){return r.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children +;return o.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(o.Component);d.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},d.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=d,e.exports=t.default},function(e,t){e.exports=n},function(e,t,r){(function(t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r(5)((function(e){return"object"===(void 0===e?"undefined":n(e))&&null!==e&&e.$$typeof===i}),!0)}else e.exports=r(12)()}).call(t,r(4))},function(e,t){"use strict";function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===r||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(){f&&h&&(f=!1,h.length?p=h.concat(p):m=-1,p.length&&s())}function s(){if(!f){var e=i(o);f=!0;for(var t=p.length;t;){for(h=p,p=[];++m1)for(var r=1;r1?t-1:0),n=1;n2?r-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:{},r=e.getBoundingClientRect(),i=void 0,o=void 0,s=void 0;return t.margin&&(s=(0,n.default)(getComputedStyle(e))),t.margin?(i=s.left+r.width+s.right,o=s.top+r.height+s.bottom):(i=r.width,o=r.height),{width:i,height:o,top:r.top,right:r.right,bottom:r.bottom,left:r.left}};var n=function(e){return e&&e.__esModule?e:{default:e}}(r(16));e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:r((e=e||{}).marginTop),right:r(e.marginRight),bottom:r(e.marginBottom),left:r(e.marginLeft)}};var r=function(e){return parseInt(e)||0};e.exports=t.default}]))},42142:(e,t,r)=>{"use strict";r.d(t,{FragmentMap:()=>i});var n=r(59496);function i(e){if(e.map){return n.Children.toArray(e.children).map(e.map)}return e.children}},70412:(e,t,r)=>{"use strict";r.d(t,{hoverMouseEventFilter:()=>o,useAccurateHover:()=>s,useHover:()=>i});var n=r(59496);function i(){const[e,t]=(0,n.useState)(!1);return[e,{onMouseOver:function(e){o(e)&&t(!0)},onMouseOut:function(e){o(e)&&t(!1)}}]}function o(e){return!e.currentTarget.contains(e.relatedTarget)}function s(e){const[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const t=t=>{if(null===e.current)return;const n=e.current.contains(t.target);r(n)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},39440:(e,t,r)=>{"use strict";r.d(t,{HorizontalScroll:()=>b});var n=r(59496),i=r(97754),o=r(9837),s=r(88537),a=r(9745),l=r(59199),u=r(68587),c=r(62820),d=r(33086),h=r(41814);const p={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1};function f(e){return n.createElement("div",{className:i(h.fadeLeft,e.className,{[h.isVisible]:e.isVisible})})}function m(e){return n.createElement("div",{className:i(h.fadeRight,e.className,{[h.isVisible]:e.isVisible})})} +function v(e){return n.createElement(g,{...e,className:h.scrollLeft})}function y(e){return n.createElement(g,{...e,className:h.scrollRight})}function g(e){return n.createElement("div",{className:i(e.className,{[h.isVisible]:e.isVisible}),onClick:e.onClick},n.createElement("div",{className:h.iconWrap},n.createElement(a.Icon,{icon:d,className:h.icon})))}const b=function(e=v,t=y,r=f,a=m){var d;return(d=class extends n.PureComponent{constructor(e){super(e),this._scroll=n.createRef(),this._wrapMeasureRef=n.createRef(),this._contentMeasureRef=n.createRef(),this._handleScrollLeft=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("left");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.max(0,this.currentPosition()-e))},this._handleScrollRight=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("right");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.min((this.state.widthContent||0)-(this.state.widthWrap||0),this.currentPosition()+e))},this._handleResizeWrap=e=>{this.props.onMeasureWrap&&this.props.onMeasureWrap(e),this.setState({widthWrap:e.width}),this._checkButtonsVisibility()},this._handleResizeContent=e=>{this.props.onMeasureContent&&this.props.onMeasureContent(e);const{shouldDecreaseWidthContent:t,buttonsWidthIfDecreasedWidthContent:r}=this.props;t&&r?this.setState({widthContent:e.width+2*r}):this.setState({widthContent:e.width})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtLeft(),this.isAtRight()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleLeftButton:e,isVisibleRightButton:t}=this.state,r=this.isAtLeft(),n=this.isAtRight();r||e?r&&e&&this.setState({isVisibleLeftButton:!1}):this.setState({isVisibleLeftButton:!0}),n||t?n&&t&&this.setState({isVisibleRightButton:!1}):this.setState({isVisibleRightButton:!0})},this.state={widthContent:0,widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1}}componentDidMount(){this._checkButtonsVisibility()}componentDidUpdate(e,t){t.widthWrap===this.state.widthWrap&&t.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())}currentPosition(){return this._scroll.current?(0,c.isRtl)()?(0,c.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0}isAtLeft(){return!this._isOverflowed()||this.currentPosition()<=(0,s.ensureDefined)(this.props.hideButtonsFrom)}isAtRight(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-(0,s.ensureDefined)(this.props.hideButtonsFrom)}animateTo(e,t=u.dur){const r=this._scroll.current;r&&((0,c.isRtl)()&&(e=(0,c.getLTRScrollLeftOffset)(r,e)),t<=0?r.scrollLeft=Math.round(e):(0,l.doAnimate)({onStep(e,t){r.scrollLeft=Math.round(t)},from:r.scrollLeft,to:Math.round(e),easing:u.easingFunc.easeInOutCubic,duration:t}))}render(){ +const{children:s,isVisibleScrollbar:l,isVisibleFade:u,isVisibleButtons:c,shouldMeasure:d,shouldDecreaseWidthContent:p,buttonsWidthIfDecreasedWidthContent:f,onMouseOver:m,onMouseOut:v,scrollWrapClassName:y,fadeClassName:g}=this.props,{isVisibleRightButton:b,isVisibleLeftButton:S}=this.state,w=p&&f;return n.createElement(o,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:d,ref:this._wrapMeasureRef},n.createElement("div",{className:h.wrapOverflow,onMouseOver:m,onMouseOut:v},n.createElement("div",{className:i(h.wrap,w?h.wrapWithArrowsOuting:"")},n.createElement("div",{className:i(h.scrollWrap,y,{[h.noScrollBar]:!l}),onScroll:this._handleScroll,ref:this._scroll},n.createElement(o,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:d,ref:this._contentMeasureRef},s)),u&&n.createElement(r,{isVisible:S,className:g}),u&&n.createElement(a,{isVisible:b,className:g}),c&&n.createElement(e,{onClick:this._handleScrollLeft,isVisible:S}),c&&n.createElement(t,{onClick:this._handleScrollRight,isVisible:b}))))}_isOverflowed(){const{widthContent:e,widthWrap:t}=this.state;return e>t}}).defaultProps=p,d}(v,y,f,m)},33086:e=>{e.exports=''},59266:e=>{e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/header-toolbar.cfb40d569cc84fb5a999.js b/charting_library/bundles/header-toolbar.cfb40d569cc84fb5a999.js deleted file mode 100644 index d298bac8..00000000 --- a/charting_library/bundles/header-toolbar.cfb40d569cc84fb5a999.js +++ /dev/null @@ -1,11 +0,0 @@ -(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3005],{77511:e=>{e.exports={group:"group-T57LDNqT",noLeftDecoration:"noLeftDecoration-T57LDNqT",noRightDecoration:"noRightDecoration-T57LDNqT",noMinimalWidth:"noMinimalWidth-T57LDNqT",newStyles:"newStyles-T57LDNqT",separator:"separator-T57LDNqT",separatorWrap:"separatorWrap-T57LDNqT"}},71747:e=>{e.exports={"css-value-header-toolbar-height":"38px",wrap:"wrap-7mUBPdQo"}},85291:e=>{e.exports={"css-value-header-toolbar-height":"38px",toolbar:"toolbar-ymEQuMuZ",isHidden:"isHidden-ymEQuMuZ",overflowWrap:"overflowWrap-ymEQuMuZ",customButton:"customButton-ymEQuMuZ",hovered:"hovered-ymEQuMuZ"}},36971:e=>{e.exports={wrap:"wrap-zQWNyqoF",icon:"icon-zQWNyqoF"}},93067:e=>{e.exports={"css-value-header-toolbar-height":"38px",inner:"inner-Kbdz4qEM",fake:"fake-Kbdz4qEM",fill:"fill-Kbdz4qEM",collapse:"collapse-Kbdz4qEM",button:"button-Kbdz4qEM",iconButton:"iconButton-Kbdz4qEM",hidden:"hidden-Kbdz4qEM",content:"content-Kbdz4qEM",desktopPublish:"desktopPublish-Kbdz4qEM",mobilePublish:"mobilePublish-Kbdz4qEM"}},41814:e=>{e.exports={wrap:"wrap-sfzcrPlH",wrapWithArrowsOuting:"wrapWithArrowsOuting-sfzcrPlH",wrapOverflow:"wrapOverflow-sfzcrPlH",scrollWrap:"scrollWrap-sfzcrPlH",noScrollBar:"noScrollBar-sfzcrPlH",icon:"icon-sfzcrPlH",scrollLeft:"scrollLeft-sfzcrPlH",scrollRight:"scrollRight-sfzcrPlH",isVisible:"isVisible-sfzcrPlH",iconWrap:"iconWrap-sfzcrPlH",fadeLeft:"fadeLeft-sfzcrPlH",fadeRight:"fadeRight-sfzcrPlH"}},9745:(e,t,s)=>{"use strict";s.d(t,{Icon:()=>r});var a=s(59496);const r=a.forwardRef((e,t)=>{const{icon:s="",...r}=e;return a.createElement("span",{...r,ref:t,dangerouslySetInnerHTML:{__html:s}})})},53374:(e,t,s)=>{"use strict";s.d(t,{INTERVALS:()=>r});var a=s(28353);const r=[{name:"",label:(0,a.t)("minutes",{context:"interval"})},{name:"H",label:(0,a.t)("hours",{context:"interval"})},{name:"D",label:(0,a.t)("days",{context:"interval"})},{name:"W",label:(0,a.t)("weeks",{context:"interval"})},{name:"M",label:(0,a.t)("months",{context:"interval"})}]},53335:(e,t,s)=>{"use strict";s.r(t),s.d(t,{HeaderToolbarRenderer:()=>ge});var a=s(59496),r=s(87995),i=s(88537),n=s(97754),o=s(85459),l=s.n(o),c=s(43370),d=s(67337),h=s(76422),u=s(19036),m=s(9837),p=s(32563),v=s(42142),S=s(37669),f=s(77511);function g(e){const{children:t,className:s,noLeftDecoration:r,noRightDecoration:i,noMinimalWidth:o,onClick:l,removeSeparator:c}=e;return a.createElement(a.Fragment,null,S.hasNewHeaderToolbarStyles&&!c&&a.createElement("div",{className:f.separatorWrap},a.createElement("div",{className:f.separator})),a.createElement("div",{className:n(s,f.group,{[f.noMinimalWidth]:o,[f.noLeftDecoration]:r,[f.noRightDecoration]:i,[f.newStyles]:S.hasNewHeaderToolbarStyles}),onClick:l},t))}var y=s(71747);class b extends a.PureComponent{constructor(){super(...arguments),this._handleMeasure=({width:e})=>{this.props.onWidthChange(e)}}render(){const{children:e,shouldMeasure:t}=this.props;return a.createElement(m,{shouldMeasure:t,onMeasure:this._handleMeasure,whitelist:["width"]},a.createElement("div",{ -className:y.wrap},e))}}var w=s(28353),_=s(9745),E=s(36971),C=s(59266);const M={text:(0,w.t)("View Only Mode")};function R(e){return a.createElement("div",{className:E.wrap},a.createElement(_.Icon,{className:E.icon,icon:C}),M.text)}var k,T=s(39440),I=s(54475);!function(e){e.SymbolSearch="header-toolbar-symbol-search",e.Intervals="header-toolbar-intervals",e.ChartStyles="header-toolbar-chart-styles",e.Compare="header-toolbar-compare",e.Indicators="header-toolbar-indicators",e.StudyTemplates="header-toolbar-study-templates",e.Dropdown="header-toolbar-dropdown",e.Alerts="header-toolbar-alerts",e.Layouts="header-toolbar-layouts",e.SaveLoad="header-toolbar-save-load",e.UndoRedo="header-toolbar-undo-redo",e.Properties="header-toolbar-properties",e.PublishDesktop="header-toolbar-publish-desktop",e.PublishMobile="header-toolbar-publish-mobile",e.Fullscreen="header-toolbar-fullscreen",e.Screenshot="header-toolbar-screenshot",e.Replay="header-toolbar-replay",e.Financials="header-toolbar-financials",e.StartTrial="header-toolbar-start-trial"}(k||(k={}));var N=s(70412),W=s(55402),F=s(93067);const V=(0,W.registryContextType)();class L extends a.PureComponent{constructor(e,t){super(e,t),this._handleMouseOver=e=>{(0,N.hoverMouseEventFilter)(e)&&this.setState({isHovered:!0})},this._handleMouseOut=e=>{(0,N.hoverMouseEventFilter)(e)&&this.setState({isHovered:!1})},this._handleInnerResize=e=>{const{onWidthChange:t}=this.props;t&&t(e)},this._handleMeasureAvailableSpace=({width:e})=>{const{onAvailableSpaceChange:t}=this.props;t&&t(e)},this._processCustoms=e=>{const{isFake:t,displayMode:s}=this.props,{tools:r}=this.context;return e.map(e=>a.createElement(g,{key:e.id},(e=>{switch(e.type){case"Button":return a.createElement(r.Custom,{...e.params,isFake:t});case"TradingViewStyledButton":return a.createElement(r.CustomTradingViewStyledButton,{...e.params,className:F.button,displayMode:s});case"Dropdown":return a.createElement(r.Dropdown,{displayMode:s,params:e.params});default:return null}})(e)))},this._fixLastGroup=(e,t,s)=>{if(t===s.length-1&&a.isValidElement(e)&&e.type===g){const t=void 0!==this.context.tools.Publish&&!this.props.readOnly;return a.cloneElement(e,{noRightDecoration:t})}return e},(0,W.validateRegistry)(t,{tools:u.any.isRequired}),this.state={isHovered:!1,isAuthenticated:void 0}}componentDidMount(){0}componentWillUnmount(){0}render(){const{tools:e}=this.context,{features:t,displayMode:s,chartSaver:r,studyMarket:i,readOnly:o,saveLoadSyncEmitter:l,leftCustomElements:c,rightCustomElements:d,showScrollbarWhen:h,isFake:u=!1}=this.props,{isHovered:f,isAuthenticated:y}=this.state,w=this._processCustoms(c),_=this._processCustoms(d),E=h.includes(s);return a.createElement("div",{className:n(F.inner,{[F.fake]:u}),onContextMenu:I.preventDefaultForContextMenu,"data-is-fake-main-panel":u},a.createElement(m,{onMeasure:this._handleMeasureAvailableSpace,whitelist:["width"],shouldMeasure:!u},a.createElement(T.HorizontalScroll,{isVisibleFade:p.mobiletouch&&E,isVisibleButtons:!p.mobiletouch&&E&&f,isVisibleScrollbar:!1,shouldMeasure:E&&!u, -onMouseOver:this._handleMouseOver,onMouseOut:this._handleMouseOut},a.createElement("div",{className:F.content},a.createElement(b,{onWidthChange:this._handleInnerResize,shouldMeasure:u},a.createElement(v.FragmentMap,{map:this._fixLastGroup},!o&&a.Children.toArray([e.SymbolSearch&&a.createElement(g,{key:"symbol"},a.createElement(e.SymbolSearch,{id:u?void 0:k.SymbolSearch,isActionsVisible:t.allowSymbolSearchSpread}),S.hasNewHeaderToolbarStyles&&e.Compare&&a.createElement(e.Compare,{id:u?void 0:k.Compare,className:F.button,displayMode:s})),e.DateRange&&a.createElement(g,{key:"range"},a.createElement(e.DateRange,null)),e.Intervals&&a.createElement(g,{key:"intervals"},a.createElement(e.Intervals,{id:u?void 0:k.Intervals,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:s,isFake:u})),e.Bars&&a.createElement(g,{key:"styles"},a.createElement(e.Bars,{id:u?void 0:k.ChartStyles,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:s,isFake:u})),!S.hasNewHeaderToolbarStyles&&e.Compare&&a.createElement(g,{key:"compare"},a.createElement(e.Compare,{id:u?void 0:k.Compare,className:F.button,displayMode:s})),e.Indicators&&a.createElement(g,{key:"indicators"},a.createElement(e.Indicators,{id:u?void 0:k.Indicators,className:F.button,studyMarket:i,displayMode:s}),S.hasNewHeaderToolbarStyles&&e.Templates&&a.createElement(e.Templates,{id:u?void 0:k.StudyTemplates,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:s})),!S.hasNewHeaderToolbarStyles&&e.Templates&&a.createElement(g,{key:"templates"},a.createElement(e.Templates,{id:u?void 0:k.StudyTemplates,isShownQuicks:t.allowFavoriting,isFavoritingAllowed:t.allowFavoriting,displayMode:s})),e.Alert&&a.createElement(g,{key:"alert"},a.createElement(e.Alert,{id:u?void 0:k.Alerts,className:F.button,displayMode:s}),S.hasNewHeaderToolbarStyles&&e.Replay&&a.createElement(e.Replay,{id:u?void 0:k.Replay,className:F.button,displayMode:s})),e.AlertReferral&&a.createElement(g,{key:"alert-referral"},a.createElement(e.AlertReferral,{className:F.button,displayMode:s})),!S.hasNewHeaderToolbarStyles&&e.Replay&&a.createElement(g,{key:"replay"},a.createElement(e.Replay,{id:u?void 0:k.Replay,className:F.button,displayMode:s})),!S.hasNewHeaderToolbarStyles&&e.UndoRedo&&a.createElement(g,{key:"undo-redo"},a.createElement(e.UndoRedo,{id:u?void 0:k.UndoRedo})),e.ScalePercentage&&a.createElement(g,{key:"percentage"},a.createElement(e.ScalePercentage,null)),e.ScaleLogarithm&&a.createElement(g,{key:"logarithm"},a.createElement(e.ScaleLogarithm,null)),...w]),function(e){const t=e.findIndex(e=>a.isValidElement(e)&&!!e.key&&-1!==e.key.toString().indexOf("view-only-badge"));return[t].filter(e=>e>=0).forEach(t=>{e=a.Children.map(e,(e,s)=>{if(a.isValidElement(e)){switch([t-1,t,t+1].indexOf(s)){case 0:const t={noRightDecoration:!0};e=a.cloneElement(e,t);break;case 1:const s={noLeftDecoration:!0,noRightDecoration:!0};e=a.cloneElement(e,s);break;case 2:const r={noLeftDecoration:!0};e=a.cloneElement(e,r)}}return e})}),e -}(a.Children.toArray([o&&a.createElement(g,{key:"view-only-badge",removeSeparator:S.hasNewHeaderToolbarStyles},a.createElement(R,null)),a.createElement(g,{key:"gap",className:n(F.fill,u&&F.collapse),removeSeparator:S.hasNewHeaderToolbarStyles}),S.hasNewHeaderToolbarStyles&&!o&&e.UndoRedo&&a.createElement(g,{key:"undo-redo",removeSeparator:!0},a.createElement(e.UndoRedo,{id:u?void 0:k.UndoRedo})),(!o||S.hasNewHeaderToolbarStyles)&&e.Layout&&a.createElement(g,{key:"layout",removeSeparator:S.hasNewHeaderToolbarStyles&&o},!o&&a.createElement(e.Layout,{id:u?void 0:k.Layouts}),S.hasNewHeaderToolbarStyles&&e.SaveLoad&&a.createElement(e.SaveLoad,{id:u?void 0:k.SaveLoad,chartSaver:r,isReadOnly:o,displayMode:s,isFake:u,stateSyncEmitter:l})),!S.hasNewHeaderToolbarStyles&&e.SaveLoad&&a.createElement(g,{key:"save-load-right"},a.createElement(e.SaveLoad,{id:u?void 0:k.SaveLoad,chartSaver:r,isReadOnly:o,displayMode:s,isFake:u,stateSyncEmitter:l})),e.SaveLoadReferral&&a.createElement(g,{key:"save-load-referral"},a.createElement(e.SaveLoadReferral,{isReadOnly:o,displayMode:s})),t.showLaunchInPopupButton&&e.OpenPopup&&a.createElement(g,{key:"popup"},a.createElement(e.OpenPopup,null)),(!o||S.hasNewHeaderToolbarStyles)&&e.Properties&&a.createElement(g,{key:"properties",removeSeparator:S.hasNewHeaderToolbarStyles&&o},!o&&a.createElement(e.Properties,{id:u?void 0:k.Properties,className:F.iconButton}),S.hasNewHeaderToolbarStyles&&a.createElement(a.Fragment,null,!o&&e.Fullscreen&&a.createElement(e.Fullscreen,{id:u?void 0:k.Fullscreen}),e.Screenshot&&a.createElement(e.Screenshot,{id:u?void 0:k.Screenshot,className:F.iconButton}))),!S.hasNewHeaderToolbarStyles&&!o&&e.Fullscreen&&a.createElement(g,{key:"fullscreen",onClick:this._trackFullscreenButtonClick},a.createElement(e.Fullscreen,{id:u?void 0:k.Fullscreen})),!S.hasNewHeaderToolbarStyles&&e.Screenshot&&a.createElement(g,{key:"screenshot"},a.createElement(e.Screenshot,{id:u?void 0:k.Screenshot,className:F.iconButton})),!o&&e.Publish&&a.createElement(g,{key:"publish",className:F.mobilePublish,removeSeparator:S.hasNewHeaderToolbarStyles},a.createElement(e.Publish,{id:u?void 0:k.PublishMobile})),..._]))))))),e.Publish&&!o&&!u&&a.createElement(e.Publish,{id:k.PublishDesktop,className:F.desktopPublish}))}_onLoginStateChange(){0}_trackFullscreenButtonClick(){0}}L.contextType=V;var D=s(52714),H=s.n(D),A=s(9127);class B extends A.CommonJsonStoreService{constructor(e,t,s=[]){super(e,t,"FAVORITE_CHART_STYLES_CHANGED","StyleWidget.quicks",s)}}var P=s(9315),x=s(96397);class z extends A.AbstractJsonStoreService{constructor(e,t,s){super(e,t,"FAVORITE_INTERVALS_CHANGED","IntervalWidget.quicks",s)}_serialize(e){return(0,x.uniq)(e.map(P.normalizeIntervalString))}_deserialize(e){return(0,x.uniq)((0,P.convertResolutionsFromSettings)(e).filter(P.isResolutionMultiplierValid).map(P.normalizeIntervalString))}}var O=s(82992),q=s(2872),K=s.n(q),U=s(56840),Q=s(21097);class X extends A.AbstractJsonStoreService{constructor(e,t,s=[]){super(e,t,"CUSTOM_INTERVALS_CHANGED","IntervalWidget.intervals",s)}set(e,t){e.length, -this.get().length,super.set(e,t)}_serialize(e){return(0,x.uniq)(e.map(P.normalizeIntervalString))}_deserialize(e){return(0,x.uniq)((0,P.convertResolutionsFromSettings)(e).filter(P.isResolutionMultiplierValid).map(P.normalizeIntervalString))}}const G=new X(Q.TVXWindowEvents,U);var J=s(53374);class Z{constructor(e){this._customIntervalsService=G,this._supportedIntervalsMayChange=new(K()),this._fireSupportedIntervalsMayChange=()=>{this._supportedIntervalsMayChange.fire()},this._chartApiInstance=e,O.linking.supportedResolutions.subscribe(this._fireSupportedIntervalsMayChange),O.linking.range.subscribe(this._fireSupportedIntervalsMayChange),O.linking.seconds.subscribe(this._fireSupportedIntervalsMayChange),O.linking.ticks.subscribe(this._fireSupportedIntervalsMayChange),O.linking.intraday.subscribe(this._fireSupportedIntervalsMayChange)}destroy(){O.linking.supportedResolutions.unsubscribe(this._fireSupportedIntervalsMayChange),O.linking.range.unsubscribe(this._fireSupportedIntervalsMayChange),O.linking.seconds.unsubscribe(this._fireSupportedIntervalsMayChange),O.linking.ticks.unsubscribe(this._fireSupportedIntervalsMayChange),O.linking.intraday.unsubscribe(this._fireSupportedIntervalsMayChange)}getDefaultIntervals(){return null===this._chartApiInstance?[]:this._chartApiInstance.defaultResolutions().map(P.normalizeIntervalString)}getCustomIntervals(){return this._customIntervalsService.get()}add(e,t,s){if(!this.isValidInterval(e,t))return null;const a=(0,P.normalizeIntervalString)(`${e}${t}`),r=this.getCustomIntervals();return this._isIntervalDefault(a)||r.includes(a)?null:(this._customIntervalsService.set((0,P.sortResolutions)([...r,a])),a)}remove(e){this._customIntervalsService.set(this.getCustomIntervals().filter(t=>t!==e))}isValidInterval(e,t){return(0,P.isResolutionMultiplierValid)(`${e}${t}`)}isSupportedInterval(e){return(0,P.isAvailable)(e)}supportedIntervalsMayChange(){return this._supportedIntervalsMayChange}getOnChange(){return this._customIntervalsService.getOnChange()}getPossibleIntervals(){return J.INTERVALS}getResolutionUtils(){return{getMaxResolutionValue:P.getMaxResolutionValue,getTranslatedResolutionModel:P.getTranslatedResolutionModel,mergeResolutions:P.mergeResolutions,sortResolutions:P.sortResolutions}}_isIntervalDefault(e){return this.getDefaultIntervals().includes(e)}}var $=s(18387),j=s(88145),Y=s(14905);const ee={};let te=null;class se{constructor(e=U){this._favorites=[],this._favoritesChanged=new(K()),this._settings=e,Q.TVXWindowEvents.on("StudyFavoritesChanged",e=>{const t=JSON.parse(e);this._loadFromState(t.favorites||[])}),this._settings.onSync.subscribe(this,this._loadFavs),this._loadFavs()}isFav(e){const t=this.favId(e);return-1!==this._findFavIndex(t)}toggleFavorite(e){this.isFav(e)?this.removeFavorite(e):this.addFavorite(e)}addFavorite(e){const t=this.favId(e);this._favorites.push(re(t)),this._favoritesChanged.fire(),this._saveFavs()}removeFavorite(e){const t=this.favId(e),s=this._findFavIndex(t);-1!==s&&(this._favorites.splice(s,1),this._favoritesChanged.fire()),this._saveFavs()}favId(e){ -return(0,Y.isPineIdString)(e)?e:(0,Y.extractPineId)(e)||(0,j.extractStudyId)(e)}favorites(){return this._favorites}favoritePineIds(){return this._favorites.filter(e=>"pine"===e.type).map(e=>e.pineId)}favoritesChanged(){return this._favoritesChanged}static getInstance(){return null===te&&(te=new se),te}static create(e){return new se(e)}_loadFavs(){const e=this._settings.getJSON("studyMarket.favorites",[]);this._loadFromState(e)}_saveFavs(){const e=this._stateToSave();this._settings.setJSON("studyMarket.favorites",e,{forceFlush:!0}),Q.TVXWindowEvents.emit("StudyFavoritesChanged",JSON.stringify({favorites:e}))}_stateToSave(){return this._favorites.map(ae)}_loadFromState(e){this._favorites=e.map(e=>re(function(e){return e in ee?ee[e]:e}(e))),this._favoritesChanged.fire()}_findFavIndex(e){return this._favorites.findIndex(t=>e===ae(t))}}function ae(e){return"java"===e.type?e.studyId:e.pineId}function re(e){return(0,Y.isPineIdString)(e)?{type:"pine",pineId:e}:{type:"java",studyId:e}}var ie=s(29823);const ne={[ie.ResolutionKind.Ticks]:!1,[ie.ResolutionKind.Seconds]:!1,[ie.ResolutionKind.Minutes]:!1,[ie.SpecialResolutionKind.Hours]:!1,[ie.ResolutionKind.Days]:!1,[ie.ResolutionKind.Range]:!1};class oe extends A.CommonJsonStoreService{constructor(e,t,s=ne){super(e,t,"INTERVALS_MENU_VIEW_STATE_CHANGED","IntervalWidget.menu.viewState",s)}isAllowed(e){return Object.keys(ne).includes(e)}}var le=s(22668);const ce={Area:3,Bars:0,Candles:1,"Heiken Ashi":8,"Hollow Candles":9,Line:2,Renko:4,Kagi:5,"Point & figure":6,"Line Break":7,Baseline:10},de=["1","30","60"];function he(e=[]){let t=e.map(e=>ce[e])||[1,4,5,6];return d.enabled("widget")&&(t=[0,1,3]),t}function ue(e=[]){return(0,P.mergeResolutions)(e,d.enabled("star_some_intervals_by_default")?de:[])}new z(Q.TVXWindowEvents,U,ue()),new B(Q.TVXWindowEvents,U,he()),new le.FavoriteStudyTemplateService(Q.TVXWindowEvents,U);const me={tools:u.any.isRequired,isFundamental:u.any,chartApiInstance:u.any,availableTimeFrames:u.any,chartWidgetCollection:u.any,windowMessageService:u.any,favoriteChartStylesService:u.any,favoriteIntervalsService:u.any,intervalService:u.any,favoriteStudyTemplatesService:u.any,studyTemplates:u.any,chartChangesWatcher:u.any,saveChartService:u.any,sharingChartService:u.any,loadChartService:u.any,chartWidget:u.any,favoriteScriptsModel:u.any,intervalsMenuViewStateService:u.any,templatesMenuViewStateService:u.any,financialsDialogController:u.any,snapshotUrl:u.any};var pe=s(62046),ve=s(85291);const Se=[];class fe extends a.PureComponent{constructor(e){super(e),this._saveLoadSyncEmitter=new(l()),this._handleFullWidthChange=e=>{this._fullWidth=e,this.setState({measureValid:!1})},this._handleFavoritesWidthChange=e=>{this._favoritesWidth=e,this.setState({measureValid:!1})},this._handleCollapseWidthChange=e=>{this._collapseWidth=e,this.setState({measureValid:!1})},this._handleMeasure=e=>{this.setState({availableWidth:e,measureValid:!1})} -;const{tools:t,windowMessageService:s,chartWidgetCollection:a,chartApiInstance:r,availableTimeFrames:n,isFundamental:o,favoriteIntervalsService:h,favoriteChartStylesService:u,favoriteStudyTemplatesService:m,studyTemplates:p,saveChartService:v,sharingChartService:S,loadChartService:f,financialsDialogController:g,snapshotUrl:y}=e;this._showScrollbarWhen=(0,i.ensureDefined)(e.allowedModes).slice(-1),this._panelWidthChangeHandlers={full:this._handleFullWidthChange,medium:this._handleFavoritesWidthChange,small:this._handleCollapseWidthChange};const{chartChangesWatcher:b}=e;this._chartChangesWatcher=b;const w=he(this.props.defaultFavoriteStyles);this._favoriteChartStylesService=u||new B(Q.TVXWindowEvents,U,w);const _=ue(this.props.defaultFavoriteIntervals);this._favoriteIntervalsService=h||new z(Q.TVXWindowEvents,U,_),this._intervalsMenuViewStateService=new oe(Q.TVXWindowEvents,U),this._intervalService=new Z(r),this._registry={tools:t,isFundamental:o,chartWidgetCollection:a,windowMessageService:s,chartApiInstance:r,availableTimeFrames:n,favoriteStudyTemplatesService:m,studyTemplates:p,saveChartService:v,sharingChartService:S,loadChartService:f,intervalsMenuViewStateService:this._intervalsMenuViewStateService,favoriteChartStylesService:this._favoriteChartStylesService,favoriteIntervalsService:this._favoriteIntervalsService,intervalService:this._intervalService,chartChangesWatcher:this._chartChangesWatcher,chartWidget:a.activeChartWidget.value(),favoriteScriptsModel:se.getInstance(),templatesMenuViewStateService:this._templatesMenuVuewStateService,financialsDialogController:g,snapshotUrl:y},this.state={isVisible:!0,availableWidth:0,displayMode:"full",measureValid:!1,leftCustomElements:[],rightCustomElements:[]},this._readOnly=a.readOnly(),this._features={allowFavoriting:d.enabled("items_favoriting"),showIdeasButton:Boolean(this.props.ideas),showLaunchInPopupButton:Boolean(this.props.popupButton),allowSymbolSearchSpread:d.enabled("header_symbol_search")&&d.enabled("show_spread_operators"),allowToolbarHiding:d.enabled("collapsible_header")},this._setDisplayMode=(0,c.default)(this._setDisplayMode,100),this._negotiateResizer()}componentDidUpdate(e,t){const{isVisible:s,measureValid:a}=this.state;s!==t.isVisible&&(h.emit("toggle_header",s),this._negotiateResizer()),a||this._setDisplayMode()}render(){const{resizerBridge:e,allowedModes:t,...s}=this.props,{displayMode:r,isVisible:o,leftCustomElements:l,rightCustomElements:c}=this.state,d={features:this._features,readOnly:this._readOnly,isFake:!1,saveLoadSyncEmitter:this._saveLoadSyncEmitter,leftCustomElements:l,rightCustomElements:c,...s},h={...d,isFake:!0,showScrollbarWhen:Se},u=(0,i.ensureDefined)(t),m=this.props.tools.PublishButtonManager||a.Fragment;return a.createElement(W.RegistryProvider,{value:this._registry,validation:me},a.createElement(m,null,a.createElement("div",{className:n(ve.toolbar,{[ve.isHidden]:!o}),onClick:this.props.onClick},a.createElement("div",{className:ve.overflowWrap},a.createElement(L,{key:"live",showScrollbarWhen:this._showScrollbarWhen,displayMode:r, -onAvailableSpaceChange:this._handleMeasure,...d}),u.map(e=>a.createElement(L,{key:e,displayMode:e,onWidthChange:this._panelWidthChangeHandlers[e],...h}))))))}addButton(e,t){if(!t.useTradingViewStyle)return this._addCustomHTMLButton(e,t.align);this._addCustomTradingViewStyledButton(e,t)}addDropdown(e,t){const{leftCustomElements:s,rightCustomElements:a}=this.state,r={type:"Dropdown",id:e,params:t};"left"===t.align?this.setState({leftCustomElements:[...s,r]}):this.setState({rightCustomElements:[...a,r]})}updateDropdown(e,t){const s=t=>"Dropdown"===t.type&&t.id===e,a=this.state.leftCustomElements.find(s)||this.state.rightCustomElements.find(s);void 0!==a&&(a.params={...a.params,...t},this.setState({leftCustomElements:this.state.leftCustomElements.slice(),rightCustomElements:this.state.rightCustomElements.slice()}))}removeDropdown(e){const t=t=>"Dropdown"===t.type&&t.id!==e,s=this.state.leftCustomElements.filter(t),a=this.state.rightCustomElements.filter(t);this.setState({leftCustomElements:s,rightCustomElements:a})}_negotiateResizer(){this.props.resizerBridge.negotiateHeight(this.state.isVisible?$.HEADER_TOOLBAR_HEIGHT_EXPANDED:$.HEADER_TOOLBAR_HEIGHT_COLLAPSED)}_setDisplayMode(){const{availableWidth:e}=this.state,{allowedModes:t}=this.props,s={full:this._fullWidth,medium:this._favoritesWidth,small:this._collapseWidth},a=(0,i.ensureDefined)(t);let r=a.map(e=>s[e]).findIndex(t=>e>=t);-1===r&&(r=a.length-1);const n=a[r];this.setState({measureValid:!0,displayMode:n})}_addCustomHTMLButton(e,t="left"){const s=new(H())(0),a=(0,pe.parseHtmlElement)(`
    `),r={type:"Button",id:e,params:{key:Number(new Date),element:a,width:s}};return this._addCustomElementToState(t,r),a}_addCustomTradingViewStyledButton(e,t){const s={type:"TradingViewStyledButton",id:e,params:{key:Number(new Date),text:t.text,title:t.title,onClick:t.onClick}};this._addCustomElementToState(t.align,s)}_addCustomElementToState(e,t){const{leftCustomElements:s,rightCustomElements:a}=this.state;"left"===e?this.setState({leftCustomElements:[...s,t]}):this.setState({rightCustomElements:[...a,t]})}}fe.defaultProps={allowedModes:["full","medium"]};class ge{constructor(e,t){this._component=null,this._handleRef=e=>{this._component=e},this._container=e,r.render(a.createElement(fe,{...t,ref:this._handleRef}),this._container)}destroy(){r.unmountComponentAtNode(this._container)}getComponent(){return(0,i.ensureNotNull)(this._component)}}},37669:(e,t,s)=>{"use strict";s.d(t,{hasNewHeaderToolbarStyles:()=>a});s(67337);const a=!1},55402:(e,t,s)=>{"use strict";s.d(t,{validateRegistry:()=>o,RegistryProvider:()=>l,registryContextType:()=>c});var a=s(59496),r=s(19036),i=s.n(r);const n=a.createContext({});function o(e,t){i().checkPropTypes(t,e,"context","RegistryContext")}function l(e){const{validation:t,value:s}=e;return o(s,t),a.createElement(n.Provider,{value:s},e.children)}function c(){return n}},42142:(e,t,s)=>{"use strict";s.d(t,{FragmentMap:()=>r});var a=s(59496);function r(e){if(e.map){ -return a.Children.toArray(e.children).map(e.map)}return e.children}},70412:(e,t,s)=>{"use strict";s.d(t,{hoverMouseEventFilter:()=>i,useAccurateHover:()=>n,useHover:()=>r});var a=s(59496);function r(){const[e,t]=(0,a.useState)(!1);return[e,{onMouseOver:function(e){i(e)&&t(!0)},onMouseOut:function(e){i(e)&&t(!1)}}]}function i(e){return!e.currentTarget.contains(e.relatedTarget)}function n(e){const[t,s]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{const t=t=>{if(null===e.current)return;const a=e.current.contains(t.target);s(a)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}},39440:(e,t,s)=>{"use strict";s.d(t,{HorizontalScroll:()=>y});var a=s(59496),r=s(97754),i=s(9837),n=s(88537),o=s(9745),l=s(59199),c=s(68587),d=s(62820),h=s(33086),u=s(41814);const m={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1};function p(e){return a.createElement("div",{className:r(u.fadeLeft,e.className,{[u.isVisible]:e.isVisible})})}function v(e){return a.createElement("div",{className:r(u.fadeRight,e.className,{[u.isVisible]:e.isVisible})})}function S(e){return a.createElement(g,{...e,className:u.scrollLeft})}function f(e){return a.createElement(g,{...e,className:u.scrollRight})}function g(e){return a.createElement("div",{className:r(e.className,{[u.isVisible]:e.isVisible}),onClick:e.onClick},a.createElement("div",{className:u.iconWrap},a.createElement(o.Icon,{icon:h,className:u.icon})))}const y=function(e=S,t=f,s=p,o=v){var h;return(h=class extends a.PureComponent{constructor(e){super(e),this._scroll=a.createRef(),this._wrapMeasureRef=a.createRef(),this._contentMeasureRef=a.createRef(),this._handleScrollLeft=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("left");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.max(0,this.currentPosition()-e))},this._handleScrollRight=()=>{if(this.props.onScrollButtonClick)return void this.props.onScrollButtonClick("right");const e=this.props.scrollStepSize||this.state.widthWrap-50;this.animateTo(Math.min((this.state.widthContent||0)-(this.state.widthWrap||0),this.currentPosition()+e))},this._handleResizeWrap=e=>{this.props.onMeasureWrap&&this.props.onMeasureWrap(e),this.setState({widthWrap:e.width}),this._checkButtonsVisibility()},this._handleResizeContent=e=>{this.props.onMeasureContent&&this.props.onMeasureContent(e);const{shouldDecreaseWidthContent:t,buttonsWidthIfDecreasedWidthContent:s}=this.props;t&&s?this.setState({widthContent:e.width+2*s}):this.setState({widthContent:e.width})},this._handleScroll=()=>{const{onScroll:e}=this.props;e&&e(this.currentPosition(),this.isAtLeft(),this.isAtRight()),this._checkButtonsVisibility()},this._checkButtonsVisibility=()=>{const{isVisibleLeftButton:e,isVisibleRightButton:t}=this.state,s=this.isAtLeft(),a=this.isAtRight();s||e?s&&e&&this.setState({isVisibleLeftButton:!1}):this.setState({isVisibleLeftButton:!0}),a||t?a&&t&&this.setState({isVisibleRightButton:!1}):this.setState({isVisibleRightButton:!0})},this.state={widthContent:0, -widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1}}componentDidMount(){this._checkButtonsVisibility()}componentDidUpdate(e,t){t.widthWrap===this.state.widthWrap&&t.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())}currentPosition(){return this._scroll.current?(0,d.isRtl)()?(0,d.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0}isAtLeft(){return!this._isOverflowed()||this.currentPosition()<=(0,n.ensureDefined)(this.props.hideButtonsFrom)}isAtRight(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-(0,n.ensureDefined)(this.props.hideButtonsFrom)}animateTo(e,t=c.dur){const s=this._scroll.current;s&&((0,d.isRtl)()&&(e=(0,d.getLTRScrollLeftOffset)(s,e)),t<=0?s.scrollLeft=Math.round(e):(0,l.doAnimate)({onStep(e,t){s.scrollLeft=Math.round(t)},from:s.scrollLeft,to:Math.round(e),easing:c.easingFunc.easeInOutCubic,duration:t}))}render(){const{children:n,isVisibleScrollbar:l,isVisibleFade:c,isVisibleButtons:d,shouldMeasure:h,shouldDecreaseWidthContent:m,buttonsWidthIfDecreasedWidthContent:p,onMouseOver:v,onMouseOut:S,scrollWrapClassName:f,fadeClassName:g}=this.props,{isVisibleRightButton:y,isVisibleLeftButton:b}=this.state,w=m&&p;return a.createElement(i,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:h,ref:this._wrapMeasureRef},a.createElement("div",{className:u.wrapOverflow,onMouseOver:v,onMouseOut:S},a.createElement("div",{className:r(u.wrap,w?u.wrapWithArrowsOuting:"")},a.createElement("div",{className:r(u.scrollWrap,f,{[u.noScrollBar]:!l}),onScroll:this._handleScroll,ref:this._scroll},a.createElement(i,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:h,ref:this._contentMeasureRef},n)),c&&a.createElement(s,{isVisible:b,className:g}),c&&a.createElement(o,{isVisible:y,className:g}),d&&a.createElement(e,{onClick:this._handleScrollLeft,isVisible:b}),d&&a.createElement(t,{onClick:this._handleScrollRight,isVisible:y}))))}_isOverflowed(){const{widthContent:e,widthWrap:t}=this.state;return e>t}}).defaultProps=m,h}(S,f,p,v)},33086:e=>{e.exports=''},59266:e=>{ -e.exports=''}}]); \ No newline at end of file diff --git a/charting_library/bundles/jquery.06844b74f8270fb0698b.js b/charting_library/bundles/jquery.06844b74f8270fb0698b.js new file mode 100644 index 00000000..d49b55d8 --- /dev/null +++ b/charting_library/bundles/jquery.06844b74f8270fb0698b.js @@ -0,0 +1,70 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1729],{23127:t=>{var e=window.document,i=window.navigator,n=window.location,s=function(){var t,n,s,r,o=function(e,i){return new o.fn.init(e,i,t)},a=window.jQuery,l=window.$,h=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,c=/\S/,u=/^\s+/,d=/\s+$/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,f=/^[\],:{}\s]*$/,g=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,m=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,v=/(?:^|:|,)(?:\s*\[)+/g,y=/(webkit)[ \/]([\w.]+)/,_=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,w=/(mozilla)(?:.*? rv:([\w.]+))?/,x=/-([a-z]|[0-9])/gi,k=/^-ms-/,D=function(t,e){return(e+"").toUpperCase()},C=i.userAgent,T=Object.prototype.toString,N=Object.prototype.hasOwnProperty,S=Array.prototype.push,M=Array.prototype.slice,P=String.prototype.trim,E=Array.prototype.indexOf,I={};function A(){if(!o.isReady){try{e.documentElement.doScroll("left")}catch(t){return void setTimeout(A,1)}o.ready()}}return o.fn=o.prototype={constructor:o,init:function(t,i,n){var s,r,a,l;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("body"===t&&!i&&e.body)return this.context=e,this[0]=e.body,this.selector=t,this.length=1,this;if("string"==typeof t){if(!(s="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:h.exec(t))||!s[1]&&i)return!i||i.jquery?(i||n).find(t):this.constructor(i).find(t);if(s[1])return l=(i=i instanceof o?i[0]:i)?i.ownerDocument||i:e,(a=p.exec(t))?o.isPlainObject(i)?(t=[e.createElement(a[1])],o.fn.attr.call(t,i,!0)):t=[l.createElement(a[1])]:t=((a=o.buildFragment([s[1]],[l])).cacheable?o.clone(a.fragment):a.fragment).childNodes,o.merge(this,t);if((r=e.getElementById(s[2]))&&r.parentNode){if(r.id!==s[2])return n.find(t);this.length=1,this[0]=r}return this.context=e,this.selector=t,this}return o.isFunction(t)?n.ready(t):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),o.makeArray(t,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return M.call(this,0)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t,e,i){var n=this.constructor();return o.isArray(t)?S.apply(n,t):o.merge(n,t),n.prevObject=this,n.context=this.context,"find"===e?n.selector=this.selector+(this.selector?" ":"")+i:e&&(n.selector=this.selector+"."+e+"("+i+")"),n},each:function(t,e){return o.each(this,t,e)},ready:function(t){return o.bindReady(),s.add(t),this},eq:function(t){return-1===(t=+t)?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(M.apply(this,arguments),"slice",M.call(arguments).join(","))},map:function(t){return this.pushStack(o.map(this,(function(e,i){return t.call(e,i,e)})))},end:function(){return this.prevObject||this.constructor(null)},push:S,sort:[].sort,splice:[].splice},o.fn.init.prototype=o.fn,o.extend=o.fn.extend=function(){var t,e,i,n,s,r,a=arguments[0]||{},l=1,h=arguments.length,c=!1 +;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),"object"==typeof a||o.isFunction(a)||(a={}),h===l&&(a=this,--l);l0)return;s.fireWith(e,[o]),o.fn.trigger&&o(e).trigger("ready").off("ready")}},bindReady:function(){if(!s){if(s=o.Callbacks("once memory"),"complete"===e.readyState)return setTimeout(o.ready,1);if(e.addEventListener)e.addEventListener("DOMContentLoaded",r,!1),window.addEventListener("load",o.ready,!1);else if(e.attachEvent){e.attachEvent("onreadystatechange",r),window.attachEvent("onload",o.ready);var t=!1;try{t=null==window.frameElement}catch(t){}e.documentElement.doScroll&&t&&A()}}},isFunction:function(t){return"function"===o.type(t)},isArray:Array.isArray||function(t){return"array"===o.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):I[T.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==o.type(t)||t.nodeType||o.isWindow(t))return!1;try{if(t.constructor&&!N.call(t,"constructor")&&!N.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var e;for(e in t);return void 0===e||N.call(t,e)},isEmptyObject:function(t){for(var e in t)return!1;return!0},error:function(t){throw new Error(t)},parseJSON:function(t){return"string"==typeof t&&t?(t=o.trim(t),window.JSON&&window.JSON.parse?window.JSON.parse(t):f.test(t.replace(g,"@").replace(m,"]").replace(v,""))?new Function("return "+t)():void o.error("Invalid JSON: "+t)):null},parseXML:function(t){if("string"!=typeof t||!t)return null;var e;try{window.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=void 0}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||o.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&c.test(t)&&(window.execScript||function(t){window.eval.call(window,t)})(t)},camelCase:function(t){return t.replace(k,"ms-").replace(x,D)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toUpperCase()===e.toUpperCase()},each:function(t,e,i){var n,s=0,r=t.length,a=void 0===r||o.isFunction(t);if(i)if(a){for(n in t)if(!1===e.apply(t[n],i))break}else for(;s0&&t[0]&&t[l-1]||0===l||o.isArray(t)))for(;a1?o.call(arguments,0):i,--a||l.resolveWith(l,e)}}function u(t){return function(e){r[t]=arguments.length>1?o.call(arguments,0):e,l.notifyWith(h,r)}}if(n>1){for(;i
    a",i=p.getElementsByTagName("*"),n=p.getElementsByTagName("a")[0],!i||!i.length||!n)return{};o=(r=e.createElement("select")).appendChild(e.createElement("option")),a=p.getElementsByTagName("input")[0],t={leadingWhitespace:3===p.firstChild.nodeType,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.55/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected, +getSetAttribute:"t"!==p.className,enctype:!!e.createElement("form").enctype,html5Clone:"<:nav>"!==e.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},s.boxModel=t.boxModel="CSS1Compat"===e.compatMode,a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,r.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(e){t.deleteExpando=!1}if(!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",(function(){t.noCloneEvent=!1})),p.cloneNode(!0).fireEvent("onclick")),(a=e.createElement("input")).value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),p.appendChild(a),(l=e.createDocumentFragment()).appendChild(p.lastChild),t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,l.removeChild(a),l.appendChild(p),p.attachEvent)for(u in{submit:1,change:1,focusin:1})(d=(c="on"+u)in p)||(p.setAttribute(c,"return;"),d="function"==typeof p[c]),t[u+"Bubbles"]=d;return l.removeChild(p),l=r=o=p=a=null,s((function(){var i,n,r,o,a,l,c,u=e.getElementsByTagName("body")[0];u&&(c="style='position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:5px solid #000;",(i=e.createElement("div")).style.cssText="padding:0;margin:0;border:0;visibility:hidden;width:0;height:0;position:static;top:0;margin-top:1px",u.insertBefore(i,u.firstChild),p=e.createElement("div"),i.appendChild(p),p.innerHTML="
    t
    ",h=p.getElementsByTagName("td"),d=0===h[0].offsetHeight,h[0].style.display="",h[1].style.display="none",t.reliableHiddenOffsets=d&&0===h[0].offsetHeight,window.getComputedStyle&&(p.innerHTML="",(l=e.createElement("div")).style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),t.reliableMarginRight=0===(parseInt((window.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)),void 0!==p.style.zoom&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,t.inlineBlockNeedsLayout=3===p.offsetWidth,p.style.display="block",p.style.overflow="visible",p.innerHTML="
    ",t.shrinkWrapBlocks=3!==p.offsetWidth),p.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:0;visibility:hidden;",p.innerHTML="
    ",r=(n=p.firstChild).firstChild,o=n.nextSibling.firstChild.firstChild,a={doesNotAddBorder:5!==r.offsetTop, +doesAddBorderForTableAndCells:5===o.offsetTop},r.style.position="fixed",r.style.top="20px",a.fixedPosition=20===r.offsetTop||15===r.offsetTop,r.style.position=r.style.top="",n.style.overflow="hidden",n.style.position="relative",a.subtractsBorderForOverflowNotVisible=-5===r.offsetTop,a.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,window.getComputedStyle&&(p.style.marginTop="1%",t.pixelMargin="1%"!==(window.getComputedStyle(p,null)||{marginTop:0}).marginTop),void 0!==i.style.zoom&&(i.style.zoom=1),u.removeChild(i),l=p=i=null,s.extend(t,a))})),t}();var a=/^(?:\{.*\}|\[.*\])$/,l=/([A-Z])/g;function h(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(l,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:s.isNumeric(i)?+i:a.test(i)?s.parseJSON(i):i)}catch(t){}s.data(t,e,i)}else i=void 0}return i}function c(t){for(var e in t)if(("data"!==e||!s.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function u(t,e,i){var n=e+"defer",r=e+"queue",o=e+"mark",a=s._data(t,n);!a||"queue"!==i&&s._data(t,r)||"mark"!==i&&s._data(t,o)||setTimeout((function(){s._data(t,r)||s._data(t,o)||(s.removeData(t,n,!0),a.fire())}),0)}s.extend({cache:{},uuid:0,expando:"jQuery"+(s.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return!!(t=t.nodeType?s.cache[t[s.expando]]:t[s.expando])&&!c(t)},data:function(t,e,i,n){if(s.acceptData(t)){var r,o,a,l=s.expando,h="string"==typeof e,c=t.nodeType,u=c?s.cache:t,d=c?t[l]:t[l]&&l,p="events"===e;if(d&&u[d]&&(p||n||u[d].data)||!h||void 0!==i)return d||(c?t[l]=d=++s.uuid:d=l),u[d]||(u[d]={},c||(u[d].toJSON=s.noop)),"object"!=typeof e&&"function"!=typeof e||(n?u[d]=s.extend(u[d],e):u[d].data=s.extend(u[d].data,e)),r=o=u[d],n||(o.data||(o.data={}),o=o.data),void 0!==i&&(o[s.camelCase(e)]=i),p&&!o[e]?r.events:(h?null==(a=o[e])&&(a=o[s.camelCase(e)]):a=o,a)}},removeData:function(t,e,i){if(s.acceptData(t)){var n,r,o,a=s.expando,l=t.nodeType,h=l?s.cache:t,u=l?t[a]:a;if(h[u]){if(e&&(n=i?h[u]:h[u].data)){s.isArray(e)||(e=e in n||(e=s.camelCase(e))in n?[e]:e.split(" "));for(r=0,o=e.length;r1,null,!1))},removeData:function(t){return this.each((function(){s.removeData(this,t)}))}}),s.extend({_mark:function(t,e){t&&(e=(e||"fx")+"mark",s._data(t,e,(s._data(t,e)||0)+1))},_unmark:function(t,e,i){if(!0!==t&&(i=e,e=t,t=!1),e){var n=(i=i||"fx")+"mark",r=t?0:(s._data(e,n)||1)-1;r?s._data(e,n,r):(s.removeData(e,n,!0),u(e,i,"mark"))}},queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=s._data(t,e),i&&(!n||s.isArray(i)?n=s._data(t,e,s.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=s.queue(t,e),n=i.shift(),r={};"inprogress"===n&&(n=i.shift()),n&&("fx"===e&&i.unshift("inprogress"),s._data(t,e+".run",r),n.call(t,(function(){s.dequeue(t,e)}),r)),i.length||(s.removeData(t,e+"queue "+e+".run",!0),u(t,e,"queue"))}}),s.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length1)},removeAttr:function(t){return this.each((function(){s.removeAttr(this,t)}))},prop:function(t,e){return s.access(this,s.prop,t,e,arguments.length>1)},removeProp:function(t){return t=s.propFix[t]||t,this.each((function(){try{this[t]=void 0,delete this[t]}catch(t){}}))},addClass:function(t){var e,i,n,r,o,a,l;if(s.isFunction(t))return this.each((function(e){s(this).addClass(t.call(this,e,this.className))}));if(t&&"string"==typeof t)for(e=t.split(m),i=0,n=this.length;i-1)return!0;return!1},val:function(t){var e,i,n,r=this[0];return arguments.length?(n=s.isFunction(t),this.each((function(i){var r,o=s(this);1===this.nodeType&&(null==(r=n?t.call(this,i,o.val()):t)?r="":"number"==typeof r?r+="":s.isArray(r)&&(r=s.map(r,(function(t){return null==t?"":t+""}))),(e=s.valHooks[this.type]||s.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=s.valHooks[r.type]||s.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(v,""):null==i?"":i:void 0}}),s.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){var e,i,n,r,o=t.selectedIndex,a=[],l=t.options,h="select-one"===t.type;if(o<0)return null;for(i=h?o:0,n=h?o+1:l.length;i=0})),i.length||(t.selectedIndex=-1),i}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(t,e,i,n){var r,o,a,l=t.nodeType;if(t&&3!==l&&8!==l&&2!==l)return n&&e in s.attrFn?s(t)[e](i):void 0===t.getAttribute?s.prop(t,e,i):((a=1!==l||!s.isXMLDoc(t))&&(e=e.toLowerCase(),o=s.attrHooks[e]||(w.test(e)?p:d)),void 0!==i?null===i?void s.removeAttr(t,e):o&&"set"in o&&a&&void 0!==(r=o.set(t,i,e))?r:(t.setAttribute(e,""+i),i):o&&"get"in o&&a&&null!==(r=o.get(t,e))?r:null===(r=t.getAttribute(e))?void 0:r)},removeAttr:function(t,e){var i,n,r,o,a,l=0;if(e&&1===t.nodeType)for(o=(n=e.toLowerCase().split(m)).length;l=0}})})) +;var k=/^(?:textarea|input|select)$/i,D=/^([^\.]*)?(?:\.(.+))?$/,C=/(?:^|\s)hover(\.\S+)?\b/,T=/^key/,N=/^(?:mouse|contextmenu)|click/,S=/^(?:focusinfocus|focusoutblur)$/,M=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,P=function(t){var e=M.exec(t);return e&&(e[1]=(e[1]||"").toLowerCase(),e[3]=e[3]&&new RegExp("(?:^|\\s)"+e[3]+"(?:\\s|$)")),e},E=function(t,e){var i=t.attributes||{};return(!e[1]||t.nodeName.toLowerCase()===e[1])&&(!e[2]||(i.id||{}).value===e[2])&&(!e[3]||e[3].test((i.class||{}).value))},I=function(t){return s.event.special.hover?t:t.replace(C,"mouseenter$1 mouseleave$1")};function A(){return!1}function F(){return!0}s.event={add:function(t,e,i,n,r){var o,a,l,h,c,u,d,p,f,g,m;if(3!==t.nodeType&&8!==t.nodeType&&e&&i&&(o=s._data(t))){for(i.handler&&(i=(f=i).handler,r=f.selector),i.guid||(i.guid=s.guid++),(l=o.events)||(o.events=l={}),(a=o.handle)||(o.handle=a=function(t){return void 0===s||t&&s.event.triggered===t.type?void 0:s.event.dispatch.apply(a.elem,arguments)},a.elem=t),e=s.trim(I(e)).split(" "),h=0;h=0&&(g=g.slice(0,-1),o=!0),g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),i&&!s.event.customEvent[g]||s.event.global[g]))if((t="object"==typeof t?t[s.expando]?t:new s.Event(g,t):new s.Event(g)).type=g,t.isTrigger=!0,t.exclusive=o,t.namespace=m.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,c=g.indexOf(":")<0?"on"+g:"",i){if(t.result=void 0,t.target||(t.target=i), +(e=null!=e?s.makeArray(e):[]).unshift(t),!(u=s.event.special[g]||{}).trigger||!1!==u.trigger.apply(i,e)){if(p=[[i,u.bindType||g]],!n&&!u.noBubble&&!s.isWindow(i)){for(f=u.delegateType||g,l=S.test(f+g)?i:i.parentNode,h=null;l;l=l.parentNode)p.push([l,f]),h=l;h&&h===i.ownerDocument&&p.push([h.defaultView||h.parentWindow||window,f])}for(a=0;ap&&v.push({elem:this,matches:d.slice(p)}),e=0;e0?this.on(e,null,t,i):this.trigger(e)},s.attrFn&&(s.attrFn[e]=!0),T.test(e)&&(s.event.fixHooks[e]=s.event.keyHooks), +N.test(e)&&(s.event.fixHooks[e]=s.event.mouseHooks)})),function(){var t=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache"+(Math.random()+"").replace(".",""),n=0,r=Object.prototype.toString,o=!1,a=!0,l=/\\/g,h=/\r\n/g,c=/\W/;[0,0].sort((function(){return a=!1,0}));var u=function(i,n,s,o){s=s||[];var a=n=n||e;if(1!==n.nodeType&&9!==n.nodeType)return[];if(!i||"string"!=typeof i)return s;var l,h,c,d,g,m,v,y,_=!0,w=u.isXML(n),x=[],D=i;do{if(t.exec(""),(l=t.exec(D))&&(D=l[3],x.push(l[1]),l[2])){d=l[3];break}}while(l);if(x.length>1&&f.exec(i))if(2===x.length&&p.relative[x[0]])h=k(x[0]+x[1],n,o);else for(h=p.relative[x[0]]?[n]:u(x.shift(),n);x.length;)i=x.shift(),p.relative[i]&&(i+=x.shift()),h=k(i,h,o);else if(!o&&x.length>1&&9===n.nodeType&&!w&&p.match.ID.test(x[0])&&!p.match.ID.test(x[x.length-1])&&(n=(g=u.find(x.shift(),n,w)).expr?u.filter(g.expr,g.set)[0]:g.set[0]),n)for(h=(g=o?{expr:x.pop(),set:b(o)}:u.find(x.pop(),1!==x.length||"~"!==x[0]&&"+"!==x[0]||!n.parentNode?n:n.parentNode,w)).expr?u.filter(g.expr,g.set):g.set,x.length>0?c=b(h):_=!1;x.length;)v=m=x.pop(),p.relative[m]?v=x.pop():m="",null==v&&(v=n),p.relative[m](c,v,w);else c=x=[];if(c||(c=h),c||u.error(m||i),"[object Array]"===r.call(c))if(_)if(n&&1===n.nodeType)for(y=0;null!=c[y];y++)c[y]&&(!0===c[y]||1===c[y].nodeType&&u.contains(n,c[y]))&&s.push(h[y]);else for(y=0;null!=c[y];y++)c[y]&&1===c[y].nodeType&&s.push(h[y]);else s.push.apply(s,c);else b(c,s);return d&&(u(d,a,s,o),u.uniqueSort(s)),s};u.uniqueSort=function(t){if(v&&(o=a,t.sort(v),o))for(var e=1;e0},u.find=function(t,e,i){var n,s,r,o,a,h;if(!t)return[];for(s=0,r=p.order.length;s":function(t,e){var i,n="string"==typeof e,s=0,r=t.length;if(n&&!c.test(e)){for(e=e.toLowerCase();s=0)?i||n.push(o):i&&(e[a]=!1));return!1},ID:function(t){return t[1].replace(l,"")},TAG:function(t,e){return t[1].replace(l,"").toLowerCase()},CHILD:function(t){if("nth"===t[1]){t[2]||u.error(t[0]),t[2]=t[2].replace(/^\+|\s*/g,"");var e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===t[2]?"2n":"odd"===t[2]&&"2n+1")||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=e[1]+(e[2]||1)-0,t[3]=e[3]-0}else t[2]&&u.error(t[0]);return t[0]=n++,t},ATTR:function(t,e,i,n,s,r){var o=t[1]=t[1].replace(l,"");return!r&&p.attrMap[o]&&(t[1]=p.attrMap[o]),t[4]=(t[4]||t[5]||"").replace(l,""),"~="===t[2]&&(t[4]=" "+t[4]+" "),t},PSEUDO:function(e,i,n,s,r){if("not"===e[1]){if(!((t.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=u.filter(e[3],i,n,!0^r);return n||s.push.apply(s,o),!1}e[3]=u(e[3],null,null,i) +}else if(p.match.POS.test(e[0])||p.match.CHILD.test(e[0]))return!0;return e},POS:function(t){return t.unshift(!0),t}},filters:{enabled:function(t){return!1===t.disabled&&"hidden"!==t.type},disabled:function(t){return!0===t.disabled},checked:function(t){return!0===t.checked},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},parent:function(t){return!!t.firstChild},empty:function(t){return!t.firstChild},has:function(t,e,i){return!!u(i[3],t).length},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){var e=t.getAttribute("type"),i=t.type;return"input"===t.nodeName.toLowerCase()&&"text"===i&&(e===i||null===e)},radio:function(t){return"input"===t.nodeName.toLowerCase()&&"radio"===t.type},checkbox:function(t){return"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type},file:function(t){return"input"===t.nodeName.toLowerCase()&&"file"===t.type},password:function(t){return"input"===t.nodeName.toLowerCase()&&"password"===t.type},submit:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"submit"===t.type},image:function(t){return"input"===t.nodeName.toLowerCase()&&"image"===t.type},reset:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"reset"===t.type},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)},focus:function(t){return t===t.ownerDocument.activeElement}},setFilters:{first:function(t,e){return 0===e},last:function(t,e,i,n){return e===n.length-1},even:function(t,e){return e%2==0},odd:function(t,e){return e%2==1},lt:function(t,e,i){return ei[3]-0},nth:function(t,e,i){return i[3]-0===e},eq:function(t,e,i){return i[3]-0===e}},filter:{PSEUDO:function(t,e,i,n){var s=e[1],r=p.filters[s];if(r)return r(t,i,e,n);if("contains"===s)return(t.textContent||t.innerText||d([t])||"").indexOf(e[3])>=0;if("not"===s){for(var o=e[3],a=0,l=o.length;a=0}},ID:function(t,e){return 1===t.nodeType&&t.getAttribute("id")===e},TAG:function(t,e){return"*"===e&&1===t.nodeType||!!t.nodeName&&t.nodeName.toLowerCase()===e},CLASS:function(t,e){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(t,e){var i=e[1],n=u.attr?u.attr(t,i):p.attrHandle[i]?p.attrHandle[i](t):null!=t[i]?t[i]:t.getAttribute(i),s=n+"",r=e[2],o=e[4] +;return null==n?"!="===r:!r&&u.attr?null!=n:"="===r?s===o:"*="===r?s.indexOf(o)>=0:"~="===r?(" "+s+" ").indexOf(o)>=0:o?"!="===r?s!==o:"^="===r?0===s.indexOf(o):"$="===r?s.substr(s.length-o.length)===o:"|="===r&&(s===o||s.substr(0,o.length+1)===o+"-"):s&&!1!==n},POS:function(t,e,i,n){var s=e[2],r=p.setFilters[s];if(r)return r(t,i,e,n)}}},f=p.match.POS,g=function(t,e){return"\\"+(e-0+1)};for(var m in p.match)p.match[m]=new RegExp(p.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),p.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[m].source.replace(/\\(\d+)/g,g));p.match.globalPOS=f;var v,y,_,b=function(t,e){return t=Array.prototype.slice.call(t,0),e?(e.push.apply(e,t),e):t};try{Array.prototype.slice.call(e.documentElement.childNodes,0)[0].nodeType}catch(t){b=function(t,e){var i=0,n=e||[];if("[object Array]"===r.call(t))Array.prototype.push.apply(n,t);else if("number"==typeof t.length)for(var s=t.length;i0){c=h;break}h=h[t]}s[a]=c}}}e.documentElement.compareDocumentPosition?v=function(t,e){return t===e?(o=!0,0):t.compareDocumentPosition&&e.compareDocumentPosition?4&t.compareDocumentPosition(e)?-1:1:t.compareDocumentPosition?-1:1}:(v=function(t,e){if(t===e)return o=!0,0;if(t.sourceIndex&&e.sourceIndex)return t.sourceIndex-e.sourceIndex;var i,n,s=[],r=[],a=t.parentNode,l=e.parentNode,h=a;if(a===l)return y(t,e);if(!a)return-1;if(!l)return 1;for(;h;)s.unshift(h),h=h.parentNode;for(h=l;h;)r.unshift(h),h=h.parentNode;i=s.length,n=r.length;for(var c=0;c",n.insertBefore(t,n.firstChild),e.getElementById(i)&&(p.find.ID=function(t,e,i){if(void 0!==e.getElementById&&!i){var n=e.getElementById(t[1]);return n?n.id===t[1]||void 0!==n.getAttributeNode&&n.getAttributeNode("id").nodeValue===t[1]?[n]:void 0:[]}},p.filter.ID=function(t,e){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return 1===t.nodeType&&i&&i.nodeValue===e}),n.removeChild(t),n=t=null}(),(_=e.createElement("div")).appendChild(e.createComment("")),_.getElementsByTagName("*").length>0&&(p.find.TAG=function(t,e){var i=e.getElementsByTagName(t[1]);if("*"===t[1]){for(var n=[],s=0;i[s];s++)1===i[s].nodeType&&n.push(i[s]);i=n}return i}),_.innerHTML="", +_.firstChild&&void 0!==_.firstChild.getAttribute&&"#"!==_.firstChild.getAttribute("href")&&(p.attrHandle.href=function(t){return t.getAttribute("href",2)}),_=null,e.querySelectorAll&&function(){var t=u,i=e.createElement("div");if(i.innerHTML="

    ",!i.querySelectorAll||0!==i.querySelectorAll(".TEST").length){for(var n in u=function(i,n,s,r){if(n=n||e,!r&&!u.isXML(n)){var o=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(i);if(o&&(1===n.nodeType||9===n.nodeType)){if(o[1])return b(n.getElementsByTagName(i),s);if(o[2]&&p.find.CLASS&&n.getElementsByClassName)return b(n.getElementsByClassName(o[2]),s)}if(9===n.nodeType){if("body"===i&&n.body)return b([n.body],s);if(o&&o[3]){var a=n.getElementById(o[3]);if(!a||!a.parentNode)return b([],s);if(a.id===o[3])return b([a],s)}try{return b(n.querySelectorAll(i),s)}catch(t){}}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var l=n,h=n.getAttribute("id"),c=h||"__sizzle__",d=n.parentNode,f=/^\s*[+~]/.test(i);h?c=c.replace(/'/g,"\\$&"):n.setAttribute("id",c),f&&d&&(n=n.parentNode);try{if(!f||d)return b(n.querySelectorAll("[id='"+c+"'] "+i),s)}catch(t){}finally{h||l.removeAttribute("id")}}}return t(i,n,s,r)},t)u[n]=t[n];i=null}}(),function(){var t=e.documentElement,i=t.matchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.msMatchesSelector;if(i){var n=!i.call(e.createElement("div"),"div"),s=!1;try{i.call(e.documentElement,"[test!='']:sizzle")}catch(t){s=!0}u.matchesSelector=function(t,e){if(e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!u.isXML(t))try{if(s||!p.match.PSEUDO.test(e)&&!/!=/.test(e)){var r=i.call(t,e);if(r||!n||t.document&&11!==t.document.nodeType)return r}}catch(t){}return u(e,null,null,[t]).length>0}}}(),function(){var t=e.createElement("div");t.innerHTML="
    ",t.getElementsByClassName&&0!==t.getElementsByClassName("e").length&&(t.lastChild.className="e",1!==t.getElementsByClassName("e").length&&(p.order.splice(1,0,"CLASS"),p.find.CLASS=function(t,e,i){if(void 0!==e.getElementsByClassName&&!i)return e.getElementsByClassName(t[1])},t=null))}(),e.documentElement.contains?u.contains=function(t,e){return t!==e&&(!t.contains||t.contains(e))}:e.documentElement.compareDocumentPosition?u.contains=function(t,e){return!!(16&t.compareDocumentPosition(e))}:u.contains=function(){return!1},u.isXML=function(t){var e=(t?t.ownerDocument||t:0).documentElement;return!!e&&"HTML"!==e.nodeName};var k=function(t,e,i){for(var n,s=[],r="",o=e.nodeType?[e]:e;n=p.match.PSEUDO.exec(t);)r+=n[0],t=t.replace(p.match.PSEUDO,"");t=p.relative[t]?t+"*":t;for(var a=0,l=o.length;a=0===i}))}function q(t){var e=X.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}s.fn.extend({find:function(t){var e,i,n=this;if("string"!=typeof t)return s(t).filter((function(){for(e=0,i=n.length;e0)for(o=r;o=0:s.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){var i,n,r=[],o=this[0];if(s.isArray(t)){for(var a=1;o&&o.ownerDocument&&o!==e;){for(i=0;i-1:s.find.matchesSelector(o,t)){r.push(o);break}if(!(o=o.parentNode)||!o.ownerDocument||o===e||11===o.nodeType)break}return r=r.length>1?s.unique(r):r,this.pushStack(r,"closest",t)},index:function(t){return t?"string"==typeof t?s.inArray(this[0],s(t)):s.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var i="string"==typeof t?s(t,e):s.makeArray(t&&t.nodeType?[t]:t),n=s.merge(this.get(),i);return this.pushStack(Y(i[0])||Y(n[0])?n:s.unique(n))},andSelf:function(){return this.add(this.prevObject)}}),s.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return s.dir(t,"parentNode")},parentsUntil:function(t,e,i){return s.dir(t,"parentNode",i)},next:function(t){return s.nth(t,2,"nextSibling")},prev:function(t){return s.nth(t,2,"previousSibling")},nextAll:function(t){return s.dir(t,"nextSibling")},prevAll:function(t){return s.dir(t,"previousSibling")},nextUntil:function(t,e,i){return s.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return s.dir(t,"previousSibling",i)},siblings:function(t){return s.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return s.sibling(t.firstChild)},contents:function(t){return s.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:s.makeArray(t.childNodes)}},(function(t,e){s.fn[t]=function(i,n){var r=s.map(this,e,i);return H.test(t)||(n=i),n&&"string"==typeof n&&(r=s.filter(n,r)),r=this.length>1&&!R[t]?s.unique(r):r, +(this.length>1||L.test(n))&&z.test(t)&&(r=r.reverse()),this.pushStack(r,t,j.call(arguments).join(","))}})),s.extend({filter:function(t,e,i){return i&&(t=":not("+t+")"),1===e.length?s.find.matchesSelector(e[0],t)?[e[0]]:[]:s.find.matches(t,e)},dir:function(t,e,i){for(var n=[],r=t[e];r&&9!==r.nodeType&&(void 0===i||1!==r.nodeType||!s(r).is(i));)1===r.nodeType&&n.push(r),r=r[e];return n},nth:function(t,e,i,n){e=e||1;for(var s=0;t&&(1!==t.nodeType||++s!==e);t=t[i]);return t},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var X="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",$=/ jQuery\d+="(?:\d+|null)"/g,K=/^\s+/,U=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,V=/<([\w:]+)/,J=/]","i"),et=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/\/(java|ecma)script/i,nt=/^\s*",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},rt=q(e);function ot(t,e){return s.nodeName(t,"table")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function at(t,e){if(1===e.nodeType&&s.hasData(t)){var i,n,r,o=s._data(t),a=s._data(e,o),l=o.events;if(l)for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n","
    "]),s.fn.extend({text:function(t){return s.access(this,(function(t){ +return void 0===t?s.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(t))}),null,t,arguments.length)},wrapAll:function(t){if(s.isFunction(t))return this.each((function(e){s(this).wrapAll(t.call(this,e))}));if(this[0]){var e=s(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t})).append(this)}return this},wrapInner:function(t){return s.isFunction(t)?this.each((function(e){s(this).wrapInner(t.call(this,e))})):this.each((function(){var e=s(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=s.isFunction(t);return this.each((function(i){s(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(){return this.parent().each((function(){s.nodeName(this,"body")||s(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(t){1===this.nodeType&&this.appendChild(t)}))},prepend:function(){return this.domManip(arguments,!0,(function(t){1===this.nodeType&&this.insertBefore(t,this.firstChild)}))},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(t){this.parentNode.insertBefore(t,this)}));if(arguments.length){var t=s.clean(arguments);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(t){this.parentNode.insertBefore(t,this.nextSibling)}));if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,s.clean(arguments)),t}},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)t&&!s.filter(t,[i]).length||(e||1!==i.nodeType||(s.cleanData(i.getElementsByTagName("*")),s.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&s.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return s.clone(this,t,e)}))},html:function(t){return s.access(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace($,""):null;if("string"==typeof t&&!Q.test(t)&&(s.support.leadingWhitespace||!K.test(t))&&!st[(V.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(U,"<$1>");try{for(;i1&&c0?this.clone(!0):this).get();s(r[a])[e](h),n=n.concat(h)}return this.pushStack(n,t,r.selector)}})),s.extend({clone:function(t,i,n){var r,o,a,l=s.support.html5Clone||s.isXMLDoc(t)||!tt.test("<"+t.nodeName+">")?t.cloneNode(!0):function(t){var i=e.createElement("div");return rt.appendChild(i),i.innerHTML=t.outerHTML,i.firstChild}(t);if(!(s.support.noCloneEvent&&s.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||s.isXMLDoc(t)))for(lt(t,l),r=ht(t),o=ht(l),a=0;r[a];++a)o[a]&<(r[a],o[a]);if(i&&(at(t,l),n))for(r=ht(t),o=ht(l),a=0;r[a];++a)at(r[a],o[a]);return r=o=null,l},clean:function(t,i,n,r){var o,a,l,h=[];void 0===(i=i||e).createElement&&(i=i.ownerDocument||i[0]&&i[0].ownerDocument||e);for(var c,u=0;null!=(c=t[u]);u++)if("number"==typeof c&&(c+=""),c){if("string"==typeof c)if(G.test(c)){c=c.replace(U,"<$1>");var d,p=(V.exec(c)||["",""])[1].toLowerCase(),f=st[p]||st._default,g=f[0],m=i.createElement("div"),v=rt.childNodes;for(i===e?rt.appendChild(m):q(i).appendChild(m),m.innerHTML=f[1]+c+f[2];g--;)m=m.lastChild;if(!s.support.tbody){var y=J.test(c),_="table"!==p||y?""!==f[1]||y?[]:m.childNodes:m.firstChild&&m.firstChild.childNodes;for(l=_.length-1;l>=0;--l)s.nodeName(_[l],"tbody")&&!_[l].childNodes.length&&_[l].parentNode.removeChild(_[l])}!s.support.leadingWhitespace&&K.test(c)&&m.insertBefore(i.createTextNode(K.exec(c)[0]),m.firstChild), +c=m.childNodes,m&&(m.parentNode.removeChild(m),v.length>0&&(d=v[v.length-1])&&d.parentNode&&d.parentNode.removeChild(d))}else c=i.createTextNode(c);var b;if(!s.support.appendChecked)if(c[0]&&"number"==typeof(b=c.length))for(l=0;l0){if("border"!==i)for(;r<4;r+=2)i||(n-=parseFloat(s.css(t,"padding"+kt[r]))||0),"margin"===i?n+=parseFloat(s.css(t,i+kt[r]))||0:n-=parseFloat(s.css(t,"border"+kt[r]+"Width"))||0;return n+"px"}if(((n=dt(t,e))<0||null==n)&&(n=t.style[e]),_t.test(n))return n;if(n=parseFloat(n)||0,i)for(;r<4;r+=2)n+=parseFloat(s.css(t,"padding"+kt[r]))||0,"padding"!==i&&(n+=parseFloat(s.css(t,"border"+kt[r]+"Width"))||0),"margin"===i&&(n+=parseFloat(s.css(t,i+kt[r]))||0);return n+"px"}s.fn.css=function(t,e){return s.access(this,(function(t,e,i){return void 0!==i?s.style(t,e,i):s.css(t,e)}),t,e,arguments.length>1)},s.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=dt(t,"opacity");return""===i?"1":i}return t.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:s.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a=s.camelCase(e),l=t.style,h=s.cssHooks[a];if(e=s.cssProps[a]||a,void 0===i)return h&&"get"in h&&void 0!==(r=h.get(t,!1,n))?r:l[e];if(!("string"===(o=typeof i)&&(r=bt.exec(i))&&(i=+(r[1]+1)*+r[2]+parseFloat(s.css(t,e)),o="number"),null==i||"number"===o&&isNaN(i)||("number"!==o||s.cssNumber[a]||(i+="px"),h&&"set"in h&&void 0===(i=h.set(t,i)))))try{l[e]=i}catch(t){}}},css:function(t,e,i){var n,r;return e=s.camelCase(e),r=s.cssHooks[e],"cssFloat"===(e=s.cssProps[e]||e)&&(e="float"),r&&"get"in r&&void 0!==(n=r.get(t,!0,i))?n:dt?dt(t,e):void 0},swap:function(t,e,i){var n,s,r={};for(s in e)r[s]=t.style[s],t.style[s]=e[s];for(s in n=i.call(t),e)t.style[s]=r[s];return n}}),s.curCSS=s.css, +e.defaultView&&e.defaultView.getComputedStyle&&(pt=function(t,e){var i,n,r,o,a=t.style;return e=e.replace(vt,"-$1").toLowerCase(),(n=t.ownerDocument.defaultView)&&(r=n.getComputedStyle(t,null))&&(""!==(i=r.getPropertyValue(e))||s.contains(t.ownerDocument.documentElement,t)||(i=s.style(t,e))),!s.support.pixelMargin&&r&&wt.test(e)&&_t.test(i)&&(o=a.width,a.width=i,i=r.width,a.width=o),i}),e.documentElement.currentStyle&&(ft=function(t,e){var i,n,s,r=t.currentStyle&&t.currentStyle[e],o=t.style;return null==r&&o&&(s=o[e])&&(r=s),_t.test(r)&&(i=o.left,(n=t.runtimeStyle&&t.runtimeStyle.left)&&(t.runtimeStyle.left=t.currentStyle.left),o.left="fontSize"===e?"1em":r,r=o.pixelLeft+"px",o.left=i,n&&(t.runtimeStyle.left=n)),""===r?"auto":r}),dt=pt||ft,s.each(["height","width"],(function(t,e){s.cssHooks[e]={get:function(t,i,n){if(i)return 0!==t.offsetWidth?Dt(t,e,n):s.swap(t,xt,(function(){return Dt(t,e,n)}))},set:function(t,e){return yt.test(e)?e+"px":e}}})),s.support.opacity||(s.cssHooks.opacity={get:function(t,e){return mt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=s.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,e>=1&&""===s.trim(o.replace(gt,""))&&(i.removeAttribute("filter"),n&&!n.filter)||(i.filter=gt.test(o)?o.replace(gt,r):o+" "+r)}}),s((function(){s.support.reliableMarginRight||(s.cssHooks.marginRight={get:function(t,e){return s.swap(t,{display:"inline-block"},(function(){return e?dt(t,"margin-right"):t.style.marginRight}))}})})),s.expr&&s.expr.filters&&(s.expr.filters.hidden=function(t){var e=t.offsetWidth,i=t.offsetHeight;return 0===e&&0===i||!s.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||s.css(t,"display"))},s.expr.filters.visible=function(t){return!s.expr.filters.hidden(t)}),s.each({margin:"",padding:"",border:"Width"},(function(t,e){s.cssHooks[t+e]={expand:function(i){var n,s="string"==typeof i?i.split(" "):[i],r={};for(n=0;n<4;n++)r[t+kt[n]+e]=s[n]||s[n-2]||s[0];return r}}}));var Ct,Tt,Nt=/%20/g,St=/\[\]$/,Mt=/\r?\n/g,Pt=/#.*$/,Et=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,It=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,At=/^(?:GET|HEAD)$/,Ft=/^\/\//,Ht=/\?/,zt=/)<[^<]*)*<\/script>/gi,Lt=/^(?:select|textarea)/i,Ot=/\s+/,jt=/([?&])_=[^&]*/,Wt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Rt=s.fn.load,Yt={},Bt={},qt=["*/"]+["*"];try{Ct=n.href}catch(t){(Ct=e.createElement("a")).href="",Ct=Ct.href}function Xt(t){return function(e,i){if("string"!=typeof e&&(i=e,e="*"),s.isFunction(i))for(var n,r,o=e.toLowerCase().split(Ot),a=0,l=o.length;a=0){var r=t.slice(n,t.length);t=t.slice(0,n)}var o="GET";e&&(s.isFunction(e)?(i=e,e=void 0):"object"==typeof e&&(e=s.param(e,s.ajaxSettings.traditional),o="POST"));var a=this;return s.ajax({url:t,type:o,dataType:"html",data:e,complete:function(t,e,n){n=t.responseText,t.isResolved()&&(t.done((function(t){n=t})),a.html(r?s("
    ").append(n.replace(zt,"")).find(r):n)),i&&a.each(i,[n,e,t])}}),this},serialize:function(){return s.param(this.serializeArray())},serializeArray:function(){return this.map((function(){return this.elements?s.makeArray(this.elements):this})).filter((function(){return this.name&&!this.disabled&&(this.checked||Lt.test(this.nodeName)||It.test(this.type))})).map((function(t,e){var i=s(this).val();return null==i?null:s.isArray(i)?s.map(i,(function(t,i){return{name:e.name,value:t.replace(Mt,"\r\n")}})):{name:e.name,value:i.replace(Mt,"\r\n")}})).get()}}),s.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),(function(t,e){s.fn[e]=function(t){return this.on(e,t)}})),s.each(["get","post"],(function(t,e){s[e]=function(t,i,n,r){return s.isFunction(i)&&(r=r||n,n=i,i=void 0),s.ajax({type:e,url:t,data:i,success:n,dataType:r})}})),s.extend({getScript:function(t,e){return s.get(t,void 0,e,"script")},getJSON:function(t,e,i){return s.get(t,e,i,"json")},ajaxSetup:function(t,e){return e?Kt(t,s.ajaxSettings):(e=t,t=s.ajaxSettings),Kt(t,e),t},ajaxSettings:{url:Ct,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(Tt[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":qt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":window.String,"text html":!0,"text json":s.parseJSON,"text xml":s.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Xt(Yt),ajaxTransport:Xt(Bt),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,n,r,o,a,l,h,c,u=s.ajaxSetup({},e),d=u.context||u,p=d!==u&&(d.nodeType||d instanceof s)?s(d):s.event,f=s.Deferred(),g=s.Callbacks("once memory"),m=u.statusCode||{},v={},y={},_=0,b={readyState:0,setRequestHeader:function(t,e){if(!_){var i=t.toLowerCase();t=y[i]=y[i]||t,v[t]=e}return this},getAllResponseHeaders:function(){return 2===_?n:null},getResponseHeader:function(t){var e;if(2===_){ +if(!r)for(r={};e=Et.exec(n);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return void 0===e?null:e},overrideMimeType:function(t){return _||(u.mimeType=t),this},abort:function(t){return t=t||"abort",o&&o.abort(t),w(0,t),this}};function w(t,e,r,l){if(2!==_){_=2,a&&clearTimeout(a),o=void 0,n=l||"",b.readyState=t>0?4:0;var c,v,y,w,x,k=e,D=r?function(t,e,i){var n,s,r,o,a=t.contents,l=t.dataTypes,h=t.responseFields;for(s in h)s in i&&(e[h[s]]=i[s]);for(;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("content-type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(u,b,r):void 0;if(t>=200&&t<300||304===t)if(u.ifModified&&((w=b.getResponseHeader("Last-Modified"))&&(s.lastModified[i]=w),(x=b.getResponseHeader("Etag"))&&(s.etag[i]=x)),304===t)k="notmodified",c=!0;else try{v=function(t,e){t.dataFilter&&(e=t.dataFilter(e,t.dataType));var i,n,r,o,a,l,h,c,u=t.dataTypes,d={},p=u.length,f=u[0];for(i=1;i0&&(a=setTimeout((function(){b.abort("timeout")}),u.timeout));try{_=1,o.send(v,w)}catch(t){if(!(_<2))throw t;w(-1,t)}}else w(-1,"No Transport");return b},param:function(t,e){var i=[],n=function(t,e){e=s.isFunction(e)?e():e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=s.ajaxSettings.traditional),s.isArray(t)||t.jquery&&!s.isPlainObject(t))s.each(t,(function(){n(this.name,this.value)}));else for(var r in t)Ut(r,t[r],e,n);return i.join("&").replace(Nt,"+")}}),s.extend({active:0,lastModified:{},etag:{}});var Vt=s.now(),Jt=/(\=)\?(&|$)|\?\?/i;s.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return s.expando+"_"+Vt++}}),s.ajaxPrefilter("json jsonp",(function(t,e,i){var n="string"==typeof t.data&&/^application\/x\-www\-form\-urlencoded/.test(t.contentType);if("jsonp"===t.dataTypes[0]||!1!==t.jsonp&&(Jt.test(t.url)||n&&Jt.test(t.data))){var r,o=t.jsonpCallback=s.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a=window[o],l=t.url,h=t.data,c="$1"+o+"$2";return!1!==t.jsonp&&(l=l.replace(Jt,c),t.url===l&&(n&&(h=h.replace(Jt,c)),t.data===h&&(l+=(/\?/.test(l)?"&":"?")+t.jsonp+"="+o))),t.url=l,t.data=h,window[o]=function(t){r=[t]},i.always((function(){window[o]=a,r&&s.isFunction(a)&&window[o](r[0])})),t.converters["script json"]=function(){return r||s.error(o+" was not called"),r[0]},t.dataTypes[0]="json","script"}})),s.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return s.globalEval(t),t}}}),s.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)})),s.ajaxTransport("script",(function(t){if(t.crossDomain){var i,n=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(s,r){(i=e.createElement("script")).async="async",t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(t,e){(e||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,n&&i.parentNode&&n.removeChild(i),i=void 0,e||r(200,"success"))},n.insertBefore(i,n.firstChild)},abort:function(){i&&i.onload(0,1)}}}}));var Gt,Qt,Zt=!!window.ActiveXObject&&function(){for(var t in Gt)Gt[t](0,1)},te=0;function ee(){try{return new window.XMLHttpRequest}catch(t){}}s.ajaxSettings.xhr=window.ActiveXObject?function(){return!this.isLocal&&ee()||function(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:ee,Qt=s.ajaxSettings.xhr(),s.extend(s.support,{ajax:!!Qt,cors:!!Qt&&"withCredentials"in Qt}), +s.support.ajax&&s.ajaxTransport((function(t){var e;if(!t.crossDomain||s.support.cors)return{send:function(i,n){var r,o,a=t.xhr();if(t.username?a.open(t.type,t.url,t.async,t.username,t.password):a.open(t.type,t.url,t.async),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(o in i)a.setRequestHeader(o,i[o])}catch(t){}a.send(t.hasContent&&t.data||null),e=function(i,o){var l,h,c,u,d;try{if(e&&(o||4===a.readyState))if(e=void 0,r&&(a.onreadystatechange=s.noop,Zt&&delete Gt[r]),o)4!==a.readyState&&a.abort();else{l=a.status,c=a.getAllResponseHeaders(),u={},(d=a.responseXML)&&d.documentElement&&(u.xml=d);try{u.text=a.responseText}catch(i){}try{h=a.statusText}catch(t){h=""}l||!t.isLocal||t.crossDomain?1223===l&&(l=204):l=u.text?200:404}}catch(t){o||n(-1,t)}u&&n(l,h,u,c)},t.async&&4!==a.readyState?(r=++te,Zt&&(Gt||(Gt={},s(window).unload(Zt)),Gt[r]=e),a.onreadystatechange=e):e()},abort:function(){e&&e(0,1)}}}));var ie,ne,se,re,oe={},ae=/^(?:toggle|show|hide)$/,le=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,he=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function ce(){return setTimeout(ue,0),re=s.now()}function ue(){re=void 0}function de(t,e){var i={};return s.each(he.concat.apply([],he.slice(0,e)),(function(){i[this]=t})),i}function pe(t){if(!oe[t]){var i=e.body,n=s("<"+t+">").appendTo(i),r=n.css("display");n.remove(),"none"!==r&&""!==r||(ie||((ie=e.createElement("iframe")).frameBorder=ie.width=ie.height=0),i.appendChild(ie),ne&&ie.createElement||((ne=(ie.contentWindow||ie.contentDocument).document).write((s.support.boxModel?"":"")+""),ne.close()),n=ne.createElement(t),ne.body.appendChild(n),r=s.css(n,"display"),i.removeChild(ie)),oe[t]=r}return oe[t]}s.fn.extend({show:function(t,e,i){var n,r;if(t||0===t)return this.animate(de("show",3),t,e,i);for(var o=0,a=this.length;o=l.duration+this.startTime){for(e in this.now=this.end,this.pos=this.state=1,this.update(),l.animatedProperties[this.prop]=!0,l.animatedProperties)!0!==l.animatedProperties[e]&&(o=!1);if(o){if(null==l.overflow||s.support.shrinkWrapBlocks||s.each(["","X","Y"],(function(t,e){a.style["overflow"+e]=l.overflow[t]})),l.hide&&s(a).hide(),l.hide||l.show)for(e in l.animatedProperties)s.style(a,e,l.orig[e]),s.removeData(a,"fxshow"+e,!0),s.removeData(a,"toggle"+e,!0);(n=l.complete)&&(l.complete=!1,n.call(a))}return!1}return l.duration==1/0?this.now=r:(i=r-this.startTime,this.state=i/l.duration,this.pos=s.easing[l.animatedProperties[this.prop]](this.state,i,0,1,l.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},s.extend(s.fx,{tick:function(){for(var t,e=s.timers,i=0;i-1?(r=(d=a.position()).top,o=d.left):(r=parseFloat(h)||0,o=parseFloat(c)||0),s.isFunction(e)&&(e=e.call(t,i,l)),null!=e.top&&(u.top=e.top-l.top+r),null!=e.left&&(u.left=e.left-l.left+o),"using"in e?e.using.call(t,u):a.css(u)}},s.fn.extend({position:function(){if(!this[0])return null;var t=this[0],e=this.offsetParent(),i=this.offset(),n=me.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat(s.css(t,"marginTop"))||0,i.left-=parseFloat(s.css(t,"marginLeft"))||0,n.top+=parseFloat(s.css(e[0],"borderTopWidth"))||0,n.left+=parseFloat(s.css(e[0],"borderLeftWidth"))||0,{top:i.top-n.top,left:i.left-n.left}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||e.body;t&&!me.test(t.nodeName)&&"static"===s.css(t,"position");)t=t.offsetParent;return t}))}}),s.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i=/Y/.test(e);s.fn[t]=function(n){return s.access(this,(function(t,n,r){var o=ve(t);if(void 0===r)return o?e in o?o[e]:s.support.boxModel&&o.document.documentElement[n]||o.document.body[n]:t[n];o?o.scrollTo(i?s(o).scrollLeft():r,i?r:s(o).scrollTop()):t[n]=r}),t,n,arguments.length,null)}})),s.each({Height:"height",Width:"width"},(function(t,e){ +var i="client"+t,n="scroll"+t,r="offset"+t;s.fn["inner"+t]=function(){var t=this[0];return t?t.style?parseFloat(s.css(t,e,"padding")):this[e]():null},s.fn["outer"+t]=function(t){var i=this[0];return i?i.style?parseFloat(s.css(i,e,t?"margin":"border")):this[e]():null},s.fn[e]=function(t){return s.access(this,(function(t,e,o){var a,l,h,c;return s.isWindow(t)?(l=(a=t.document).documentElement[i],s.support.boxModel&&l||a.body&&a.body[i]||l):9===t.nodeType?(a=t.documentElement)[i]>=a[n]?a[i]:Math.max(t.body[n],a[n],t.body[r],a[r]):void 0===o?(h=s.css(t,e),c=parseFloat(h),s.isNumeric(c)?c:h):void s(t).css(e,o)}),e,t,arguments.length,null)}})),t.exports=window.jQuery=window.$=s},46322:(t,e,i)=>{var n,s,r;s=[i(23127)],void 0===(r="function"==typeof(n=function(t){var e,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(t.event.fixHooks)for(var o=n.length;o;)t.event.fixHooks[n[--o]]=t.event.mouseHooks;var a=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=s.length;e;)this.addEventListener(s[--e],l,!1);else this.onmousewheel=l;t.data(this,"mousewheel-line-height",a.getLineHeight(this)),t.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=s.length;e;)this.removeEventListener(s[--e],l,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(n){var s=n||window.event,o=r.call(arguments,1),l=0,u=0,d=0,p=0,f=0,g=0;if((n=t.event.fix(s)).type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(u=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(u=-1*d,d=0),l=0===d?u:d,"deltaY"in s&&(l=d=-1*s.deltaY),"deltaX"in s&&(u=s.deltaX,0===d&&(l=-1*u)),0!==d||0!==u){if(1===s.deltaMode){var m=t.data(this,"mousewheel-line-height");l*=m,d*=m,u*=m}else if(2===s.deltaMode){var v=t.data(this,"mousewheel-page-height");l*=v,d*=v,u*=v}if(p=Math.max(Math.abs(d),Math.abs(u)),(!i||p=1?"floor":"ceil"](l/i),u=Math[u>=1?"floor":"ceil"](u/i),d=Math[d>=1?"floor":"ceil"](d/i),a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=n.clientX-y.left,g=n.clientY-y.top}return n.deltaX=u,n.deltaY=d,n.deltaFactor=i,n.offsetX=f,n.offsetY=g,n.deltaMode=0,o.unshift(n,l,u,d),e&&clearTimeout(e),e=setTimeout(h,200),(t.event.dispatch||t.event.handle).apply(this,o)}}function h(){i=null}function c(t,e){return a.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0} +t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})})?n.apply(e,s):n)||(t.exports=r)},94822:(t,e,i)=>{!function(t){if(t.support.touch="ontouchend"in document,t.support.touch){var e,i=t.ui.mouse.prototype,n=i._mouseInit,s=i._mouseDestroy;i._touchStart=function(t){!e&&this._mouseCapture(t.originalEvent.changedTouches[0])&&(e=!0,this._touchMoved=!1,r(t,"mouseover"),r(t,"mousemove"),r(t,"mousedown"))},i._touchMove=function(t){e&&(this._touchMoved=!0,r(t,"mousemove"))},i._touchEnd=function(t){e&&(r(t,"mouseup"),r(t,"mouseout"),this._touchMoved||r(t,"click"),e=!1)},i._mouseInit=function(){this.element.bind({touchstart:t.proxy(this,"_touchStart"),touchmove:t.proxy(this,"_touchMove"),touchend:t.proxy(this,"_touchEnd")}),n.call(this)},i._mouseDestroy=function(){this.element.unbind({touchstart:t.proxy(this,"_touchStart"),touchmove:t.proxy(this,"_touchMove"),touchend:t.proxy(this,"_touchEnd")}),s.call(this)}}function r(t,e){if(!(t.originalEvent.touches.length>1)){t.preventDefault();var i=t.originalEvent.changedTouches[0],n=document.createEvent("MouseEvents");n.initMouseEvent(e,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}}}(i(23127))},51699:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo((function(e){return function(i){return!!t.data(i,e)}})):function(e,i,n){return!!t.data(e,n[3])}})})?n.apply(e,s):n)||(t.exports=r)},39525:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",(function(t){t.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e})?n.apply(e,s):n)||(t.exports=r)},58264:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?n.apply(e,s):n)||(t.exports=r)},20294:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?n.apply(e,s):n)||(t.exports=r)},42353:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.plugin={add:function(e,i,n){var s,r=t.ui[e].prototype;for(s in n)r.plugins[s]=r.plugins[s]||[],r.plugins[s].push([i,n[s]])},call:function(t,e,i,n){var s,r=t.plugins[e];if(r&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(s=0;s{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){ +return t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e}})?n.apply(e,s):n)||(t.exports=r)},78734:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")}})?n.apply(e,s):n)||(t.exports=r)},15925:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,s=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter((function(){var e=t(this);return(!n||"static"!==e.css("position"))&&s.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return"fixed"!==i&&r.length?r:t(this[0].ownerDocument||document)}})?n.apply(e,s):n)||(t.exports=r)},34912:(t,e,i)=>{var n,s,r;s=[i(23127)],void 0===(r="function"==typeof(n=function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"})?n.apply(e,s):n)||(t.exports=r)},62066:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){var e,i=0,n=Array.prototype.slice;return t.cleanData=(e=t.cleanData,function(i){var n,s,r;for(r=0;null!=(s=i[r]);r++)try{(n=t._data(s,"events"))&&n.remove&&t(s).triggerHandler("remove")}catch(t){}e(i)}),t.widget=function(e,i,n){var s,r,o,a={},l=e.split(".")[0],h=l+"-"+(e=e.split(".")[1]);return n||(n=i,i=t.Widget),t.isArray(n)&&(n=t.extend.apply(null,[{}].concat(n))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},s=t[l][e],r=t[l][e]=function(t,e){if(!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,s,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),(o=new i).options=t.widget.extend({},o.options),t.each(n,(function(e,n){t.isFunction(n)?a[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,r=this._superApply;return this._super=t,this._superApply=s,e=n.apply(this,arguments),this._super=i,this._superApply=r,e}}():a[e]=n})),r.prototype=t.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||e},a,{constructor:r,namespace:l,widgetName:e,widgetFullName:h}),s?(t.each(s._childConstructors,(function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,r,i._proto)})),delete s._childConstructors):i._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var i,s,r=n.call(arguments,1),o=0,a=r.length;o",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,(function(t,i){e._removeClass(i,t)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,s,r,o=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(o={},n=e.split("."),e=n.shift(),n.length){for(s=o[e]=t.widget.extend({},this.options[e]),r=0;r{var n,s,r;s=[i(23127),i(34912),i(20294)],void 0===(r="function"==typeof(n=function(t){var e;function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=n(t("
    "))}function n(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,(function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",i,s)}function s(){t.datepicker._isDisabledDatepicker(e.inline?e.dpDiv.parent()[0]:e.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function r(e,i){ +for(var n in t.extend(e,i),i)null==i[n]&&(e[n]=i[n]);return e}return t.extend(t.ui,{datepicker:{version:"1.12.1"}}),t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return r(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,s,r;s="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(r=this._newInst(t(e),s)).settings=t.extend({},i||{}),"input"===n?this._connectDatepicker(e,r):s&&this._inlineDatepicker(e,r)},_newInst:function(e,i){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(t("
    ")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,s,r,o=this._get(i,"appendText"),a=this._get(i,"isRTL");i.append&&i.append.remove(),o&&(i.append=t(""+o+""),e[a?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(s=this._get(i,"buttonText"),r=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("").addClass(this._triggerClass).attr({src:r,alt:s,title:s}):t("").addClass(this._triggerClass).html(r?t("").attr({src:r,alt:s,title:s}):s)),e[a?"before":"after"](i.trigger),i.trigger.on("click",(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1})))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,s,r=new Date(2009,11,20),o=this._get(t,"dateFormat");o.match(/[DM]/)&&(e=function(t){for(i=0,n=0,s=0;si&&(i=t[s].length,n=s);return n},r.setMonth(e(this._get(t,o.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(e(this._get(t,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),t.input.attr("size",this._formatDate(t,r).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,n,s,o){var a,l,h,c,u,d=this._dialogInst +;return d||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=t(""),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),(d=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},t.data(this._dialogInput[0],"datepicker",d)),r(d.settings,s||{}),i=i&&i.constructor===Date?this._formatDate(d,i):i,this._dialogInput.val(i),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(l=document.documentElement.clientWidth,h=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+c,h/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),d.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",d),this},_destroyDatepicker:function(i){var n,s=t(i),r=t.data(i,"datepicker");s.hasClass(this.markerClassName)&&(n=i.nodeName.toLowerCase(),t.removeData(i,"datepicker"),"input"===n?(r.append.remove(),r.trigger.remove(),s.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||s.removeClass(this.markerClassName).empty(),e===r&&(e=null))},_enableDatepicker:function(e){var i,n,s=t(e),r=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!1,r.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,(function(t){return t===e?null:t})))},_disableDatepicker:function(e){var i,n,s=t(e),r=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!0,r.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,(function(t){return t===e?null:t})),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e-1},_doKeyUp:function(e){var i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i))&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(e){var i,n,s,o,a,l,h;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),t.datepicker._isDisabledDatepicker(e)||t.datepicker._lastInput===e||(i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),!1!==(s=(n=t.datepicker._get(i,"beforeShow"))?n.apply(e,[e,i]):{})&&(r(i.settings,s),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),o=!1,t(e).parents().each((function(){return!(o|="fixed"===t(this).css("position"))})),a={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),a=t.datepicker._checkOffset(i,a,o),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":o?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),i.inline||(l=t.datepicker._get(i,"showAnim"),h=t.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[l]?i.dpDiv.show(l,t.datepicker._get(i,"showOptions"),h):i.dpDiv[l||"show"](l?h:null),t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),t.datepicker._curInst=i)))},_updateDatepicker:function(i){this.maxRows=4,e=i,i.dpDiv.empty().append(this._generateHTML(i)),this._attachHandlers(i);var n,r=this._getNumberOfMonths(i),o=r[1],a=i.dpDiv.find("."+this._dayOverClass+" a");a.length>0&&s.apply(a.get(0)),i.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&i.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",17*o+"em"),i.dpDiv[(1!==r[0]||1!==r[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),i.dpDiv[(this._get(i,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),i===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),i.yearshtml&&(n=i.yearshtml,setTimeout((function(){ +n===i.yearshtml&&i.yearshtml&&i.dpDiv.find("select.ui-datepicker-year:first").replaceWith(i.yearshtml),n=i.yearshtml=null}),0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,n){var s=e.dpDiv.outerWidth(),r=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),h=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?s-o:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+a?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+s>l&&l>s?Math.abs(i.left+s-l):0),i.top-=Math.min(i.top,i.top+r>h&&h>r?Math.abs(r+a):0),i},_findPos:function(e){for(var i,n=this._getInst(e),s=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[s?"previousSibling":"nextSibling"];return[(i=t(e).offset()).left,i.top]},_hideDatepicker:function(e){var i,n,s,r,o=this._curInst;!o||e&&o!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(o,"showAnim"),n=this._get(o,"duration"),s=function(){t.datepicker._tidyDialog(o)},t.effects&&(t.effects.effect[i]||t.effects[i])?o.dpDiv.hide(i,t.datepicker._get(o,"showOptions"),n,s):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,s),i||s(),this._datepickerShowing=!1,(r=this._get(o,"onClose"))&&r.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id===t.datepicker._mainDivId||0!==i.parents("#"+t.datepicker._mainDivId).length||i.hasClass(t.datepicker.markerClassName)||i.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!i.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===n)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var s=t(e),r=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(r,i+("M"===n?this._get(r,"showCurrentAtPos"):0),n),this._updateDatepicker(r))},_gotoToday:function(e){var i,n=t(e),s=this._getInst(n[0]);this._get(s,"gotoCurrent")&&s.currentDay?(s.selectedDay=s.currentDay,s.drawMonth=s.selectedMonth=s.currentMonth,s.drawYear=s.selectedYear=s.currentYear):(i=new Date,s.selectedDay=i.getDate(),s.drawMonth=s.selectedMonth=i.getMonth(),s.drawYear=s.selectedYear=i.getFullYear()),this._notifyChange(s),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var s=t(e),r=this._getInst(s[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10), +this._notifyChange(r),this._adjustDate(s)},_selectDay:function(e,i,n,s){var r,o=t(e);t(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((r=this._getInst(o[0])).selectedDay=r.currentDay=t("a",s).html(),r.selectedMonth=r.currentMonth=i,r.selectedYear=r.currentYear=n,this._selectDate(e,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var n,s=t(e),r=this._getInst(s[0]);i=null!=i?i:this._formatDate(r),r.input&&r.input.val(i),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[i,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,n,s,r=this._get(e,"altField");r&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),s=this.formatDate(i,n,this._getFormatConfig(e)),t(r).val(s))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var s,r,o,a,l=0,h=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,c="string"!=typeof h?h:(new Date).getFullYear()%100+parseInt(h,10),u=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,d=(n?n.dayNames:null)||this._defaults.dayNames,p=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,v=-1,y=-1,_=!1,b=function(t){var i=s+1-1)for(m=1,v=y;!(v<=(r=this._getDaysInMonth(g,m-1)));)m++,v-=r;if((a=this._daylightSavingAdjust(new Date(g,m-1,v))).getFullYear()!==g||a.getMonth()+1!==m||a.getDate()!==v)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";var n,s=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=n+112?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,r=t.selectedYear,o=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=o.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=o.getMonth(),t.drawYear=t.selectedYear=t.currentYear=o.getFullYear(),s===t.selectedMonth&&r===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map((function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,"M")},next:function(){t.datepicker._adjustDate(n,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])}))},_generateHTML:function(t){var e,i,n,s,r,o,a,l,h,c,u,d,p,f,g,m,v,y,_,b,w,x,k,D,C,T,N,S,M,P,E,I,A,F,H,z,L,O,j,W=new Date,R=this._daylightSavingAdjust(new Date(W.getFullYear(),W.getMonth(),W.getDate())),Y=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),q=this._get(t,"hideIfNoPrevNext"),X=this._get(t,"navigationAsDateFormat"),$=this._getNumberOfMonths(t),K=this._get(t,"showCurrentAtPos"),U=this._get(t,"stepMonths"),V=1!==$[0]||1!==$[1],J=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),Z=t.drawMonth-K,tt=t.drawYear;if(Z<0&&(Z+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-$[0]*$[1]+1,Q.getDate())),e=G&&ee;)--Z<0&&(Z=11,tt--);for(t.drawMonth=Z,t.drawYear=tt,i=this._get(t,"prevText"), +i=X?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,Z-U,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,Z)?""+i+"":q?"":""+i+"",s=this._get(t,"nextText"),s=X?this.formatDate(s,this._daylightSavingAdjust(new Date(tt,Z+U,1)),this._getFormatConfig(t)):s,r=this._canAdjustMonth(t,1,tt,Z)?""+s+"":q?"":""+s+"",o=this._get(t,"currentText"),a=this._get(t,"gotoCurrent")&&t.currentDay?J:R,o=X?this.formatDate(o,a,this._getFormatConfig(t)):o,l=t.inline?"":"",h=B?"
    "+(Y?l:"")+(this._isInRange(t,a)?"":"")+(Y?"":l)+"
    ":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),y=this._get(t,"selectOtherMonths"),_=this._getDefaultDate(t),b="",x=0;x<$[0];x++){for(k="",this.maxRows=4,D=0;D<$[1];D++){if(C=this._daylightSavingAdjust(new Date(tt,Z,t.selectedDay)),T=" ui-corner-all",N="",V){if(N+="
    "}for(N+="
    "+(/all|left/.test(T)&&0===x?Y?r:n:"")+(/all|right/.test(T)&&0===x?Y?n:r:"")+this._generateMonthYearHeader(t,Z,tt,G,Q,x>0||D>0,f,g)+"
    ",S=u?"":"",w=0;w<7;w++)S+="";for(N+=S+"",P=this._getDaysInMonth(tt,Z),tt===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,P)),E=(this._getFirstDayOfMonth(tt,Z)-c+7)%7,I=Math.ceil((E+P)/7),A=V&&this.maxRows>I?this.maxRows:I,this.maxRows=A, +F=this._daylightSavingAdjust(new Date(tt,Z,1-E)),H=0;H",z=u?"":"",w=0;w<7;w++)L=m?m.apply(t.input?t.input[0]:null,[F]):[!0,""],j=(O=F.getMonth()!==Z)&&!y||!L[0]||G&&FQ,z+="",F.setDate(F.getDate()+1),F=this._daylightSavingAdjust(F);N+=z+""}++Z>11&&(Z=0,tt++),k+=N+="
    "+this._get(t,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+p[M]+"
    "+this._get(t,"calculateWeek")(F)+""+(O&&!v?" ":j?""+F.getDate()+"":""+F.getDate()+"")+"
    "+(V?"
    "+($[0]>0&&D===$[1]-1?"
    ":""):"")}b+=k}return b+=h,t._keyEvent=!1,b},_generateMonthYearHeader:function(t,e,i,n,s,r,o,a){var l,h,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),y=this._get(t,"showMonthAfterYear"),_="
    ",b="";if(r||!m)b+=""+o[e]+"";else{for(l=n&&n.getFullYear()===i,h=s&&s.getFullYear()===i,b+=""}if(y||(_+=b+(!r&&m&&v?"":" ")),!t.yearshtml)if(t.yearshtml="",r||!v)_+=""+i+"";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),f=(p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e})(u[0]),g=Math.max(f,p(u[1]||"")),f=n?Math.max(f,n.getFullYear()):f,g=s?Math.min(g,s.getFullYear()):g,t.yearshtml+="",_+=t.yearshtml,t.yearshtml=null}return _+=this._get(t,"yearSuffix"),y&&(_+=(!r&&m&&v?"":" ")+b),_+="
    "},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),s=t.selectedMonth+("M"===i?e:0),r=Math.min(t.selectedDay,this._getDaysInMonth(n,s))+("D"===i?e:0),o=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,s,r)));t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(), +t.drawYear=t.selectedYear=o.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),s=i&&en?n:s},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var s=this._getNumberOfMonths(t),r=this._daylightSavingAdjust(new Date(i,n+(e<0?e:s[0]*s[1]),1));return e<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(t,r)},_isInRange:function(t,e){var i,n,s=this._getMinMaxDate(t,"min"),r=this._getMinMaxDate(t,"max"),o=null,a=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),o=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!s||e.getTime()>=s.getTime())&&(!r||e.getTime()<=r.getTime())&&(!o||e.getFullYear()>=o)&&(!a||e.getFullYear()<=a)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each((function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)})):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.1",t.datepicker})?n.apply(e,s):n)||(t.exports=r)},29224:(t,e,i)=>{var n,s,r;s=[i(23127),i(52282),i(51699),i(42353),i(8002),i(78734),i(15925),i(34912),i(62066)], +void 0===(r="function"==typeof(n=function(t){return t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var i=this.options;return!(this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(e),!this.handle||(this._blurActiveElement(e),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),0)))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map((function(){var e=t(this);return t("
    ").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter((function(){return"fixed"===t(this).css("position")})).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()), +this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,n=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==i._trigger("stop",e)&&i._clear()})):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper),s=n?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&s[0]===this.element[0]&&this._setPositionRelative(),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0, +left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,s=this.options,r=this.document[0];this.relativeContainer=null,s.containment?"window"!==s.containment?"document"!==s.containment?s.containment.constructor!==Array?("parent"===s.containment&&(s.containment=this.helper[0].parentNode),(n=(i=t(s.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=s.containment:this.containment=[0,0,t(r).width()-this.helperProportions.width-this.margins.left,(t(r).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,n,s,r,o=this.options,a=this._isRootNode(this.scrollParent[0]),l=t.pageX,h=t.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(), +left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,t.pageX-this.offset.click.lefti[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),o.grid&&(s=o.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,h=i?s-this.offset.click.top>=i[1]||s-this.offset.click.top>i[3]?s:s-this.offset.click.top>=i[1]?s-o.grid[1]:s+o.grid[1]:s,r=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=i?r-this.offset.click.left>=i[0]||r-this.offset.click.left>i[2]?r:r-this.offset.click.left>=i[0]?r-o.grid[0]:r+o.grid[0]:r),"y"===o.axis&&(l=this.originalPageX),"x"===o.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,n){return n=n||this._uiHash(),t.ui.plugin.call(this,e,[i,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,n){var s=t.extend({},i,{item:n.element});n.sortables=[],t(n.options.connectToSortable).each((function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,s))}))},stop:function(e,i,n){var s=t.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,t.each(n.sortables,(function(){this.isOver?(this.isOver=0,n.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(e),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",e,s))}))},drag:function(e,i,n){t.each(n.sortables,(function(){var s=!1,r=this;r.positionAbs=n.positionAbs,r.helperProportions=n.helperProportions,r.offset.click=n.offset.click,r._intersectsWith(r.containerCache)&&(s=!0,t.each(n.sortables,(function(){return this.positionAbs=n.positionAbs, +this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==r&&this._intersectsWith(this.containerCache)&&t.contains(r.element[0],this.element[0])&&(s=!1),s}))),s?(r.isOver||(r.isOver=1,n._parent=i.helper.parent(),r.currentItem=i.helper.appendTo(r.element).data("ui-sortable-item",!0),r.options._helper=r.options.helper,r.options.helper=function(){return i.helper[0]},e.target=r.currentItem[0],r._mouseCapture(e,!0),r._mouseStart(e,!0,!0),r.offset.click.top=n.offset.click.top,r.offset.click.left=n.offset.click.left,r.offset.parent.left-=n.offset.parent.left-r.offset.parent.left,r.offset.parent.top-=n.offset.parent.top-r.offset.parent.top,n._trigger("toSortable",e),n.dropped=r.element,t.each(n.sortables,(function(){this.refreshPositions()})),n.currentItem=n.element,r.fromOutside=n),r.currentItem&&(r._mouseDrag(e),i.position=r.position)):r.isOver&&(r.isOver=0,r.cancelHelperRemoval=!0,r.options._revert=r.options.revert,r.options.revert=!1,r._trigger("out",e,r._uiHash(r)),r._mouseStop(e,!0),r.options.revert=r.options._revert,r.options.helper=r.options._helper,r.placeholder&&r.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(e),i.position=n._generatePosition(e,!0),n._trigger("fromSortable",e),n.dropped=!1,t.each(n.sortables,(function(){this.refreshPositions()})))}))}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,n){var s=t("body"),r=n.options;s.css("cursor")&&(r._cursor=s.css("cursor")),s.css("cursor",r.cursor)},stop:function(e,i,n){var s=n.options;s._cursor&&t("body").css("cursor",s._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,n){var s=t(i.helper),r=n.options;s.css("opacity")&&(r._opacity=s.css("opacity")),s.css("opacity",r.opacity)},stop:function(e,i,n){var s=n.options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,n){var s=n.options,r=!1,o=n.scrollParentNotHidden[0],a=n.document[0];o!==a&&"HTML"!==o.tagName?(s.axis&&"x"===s.axis||(n.overflowOffset.top+o.offsetHeight-e.pageY=0;d--)h=(l=n.snapElements[d].left-n.margins.left)+n.snapElements[d].width,u=(c=n.snapElements[d].top-n.margins.top)+n.snapElements[d].height,vh+g||_u+g||!t.contains(n.snapElements[d].item.ownerDocument,n.snapElements[d].item)?(n.snapElements[d].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(s=Math.abs(c-_)<=g,r=Math.abs(u-y)<=g,o=Math.abs(l-v)<=g,a=Math.abs(h-m)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:h}).left)),p=s||r||o||a,"outer"!==f.snapMode&&(s=Math.abs(c-y)<=g,r=Math.abs(u-_)<=g,o=Math.abs(l-m)<=g,a=Math.abs(h-v)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:h-n.helperProportions.width}).left)),!n.snapElements[d].snapping&&(s||r||o||a||p)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=s||r||o||a||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,n){var s,r=n.options,o=t.makeArray(t(r.stack)).sort((function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)}));o.length&&(s=parseInt(t(o[0]).css("zIndex"),10)||0,t(o).each((function(e){t(this).css("zIndex",s+e)})),this.css("zIndex",s+o.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,n){var s=t(i.helper),r=n.options;s.css("zIndex")&&(r._zIndex=s.css("zIndex")),s.css("zIndex",r.zIndex)},stop:function(e,i,n){var s=n.options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}}),t.ui.draggable})?n.apply(e,s):n)||(t.exports=r)},52282:(t,e,i)=>{var n,s,r +;s=[i(23127),i(58264),i(34912),i(62066)],void 0===(r="function"==typeof(n=function(t){var e=!1;return t(document).on("mouseup",(function(){e=!1})),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,(function(t){return e._mouseDown(t)})).on("click."+this.widgetName,(function(i){if(!0===t.data(i.target,e.widgetName+".preventClickEvent"))return t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var n=this,s=1===i.which,r=!("string"!=typeof this.options.cancel||!i.target.nodeName)&&t(i.target).closest(this.options.cancel).length;return!(s&&!r&&this._mouseCapture(i)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,0)))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&t.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,e=!1,i.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){ +return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?n.apply(e,s):n)||(t.exports=r)},98135:(t,e,i)=>{var n,s,r;s=[i(23127),i(52282),i(39525),i(42353),i(34912),i(62066)],void 0===(r="function"==typeof(n=function(t){return t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var n,s=i&&"left"===i?"scrollLeft":"scrollTop";return e[s]>0||(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,n=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
    ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",(function(){i.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())})).on("mouseleave",(function(){i.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){ +case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,i,n,s,r,o=this.options,a=this;if(this.handles=o.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},i=0;i"),this._addClass(r,"ui-resizable-handle "+s),r.css({zIndex:o.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(r);this._renderAxis=function(e){var i,n,s,r;for(i in e=e||this.element,this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:a._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=t(this.handles[i],this.element),r=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth(),s=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(s,r),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",(function(){a.resizing||(this.className&&(r=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=r&&r[1]?r[1]:"se")})),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,n,s=!1;for(i in this.handles)((n=t(this.handles[i])[0])===e.target||t.contains(n,e.target))&&(s=!0);return!this.options.disabled&&s},_mouseStart:function(e){var i,n,s,r=this.options,o=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),r.containment&&(i+=t(r.containment).scrollLeft()||0,n+=t(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalPosition={left:i,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0}, +_mouseDrag:function(e){var i,n,s=this.originalMousePosition,r=this.axis,o=e.pageX-s.left||0,a=e.pageY-s.top||0,l=this._change[r];return this._updatePrevProperties(),!!l&&(i=l.apply(this,[e,o,a]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var i,n,s,r,o,a,l,h=this.options;return this._helper&&(s=(n=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:this.sizeDiff.height,r=n?0:this.sizeDiff.width,o={width:this.helper.width()-r,height:this.helper.height()-s},a=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,l=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,h.animate||this.element.css(t.extend(o,{top:l,left:a})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,n,s,r,o=this.options;r={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||t)&&(e=r.minHeight*this.aspectRatio,n=r.minWidth/this.aspectRatio,i=r.maxHeight*this.aspectRatio,s=r.maxWidth/this.aspectRatio,e>r.minWidth&&(r.minWidth=e),n>r.minHeight&&(r.minHeight=n),it.width,o=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return r&&(t.width=e.minWidth),o&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),r&&h&&(t.left=a-e.minWidth),n&&h&&(t.left=a-e.maxWidth),o&&c&&(t.top=l-e.minHeight),s&&c&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],s=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(n[e])||0,i[e]+=parseFloat(s[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e
    "),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},sw:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,n]))},ne:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},nw:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,n]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size, +originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),n=i.options,s=i._proportionallyResizeElements,r=s.length&&/textarea/i.test(s[0].nodeName),o=r&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,a=r?0:i.sizeDiff.width,l={width:i.size.width-a,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,c&&h?{top:c,left:h}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&t(s[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,n,s,r,o,a,l=t(this).resizable("instance"),h=l.options,c=l.element,u=h.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(l.containerElement=t(d),/document/.test(u)||u===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each((function(t,n){i[t]=l._num(e.css("padding"+n))})),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},n=l.containerOffset,s=l.containerSize.height,r=l.containerSize.width,o=l._hasScroll(d,"left")?d.scrollWidth:r,a=l._hasScroll(d)?d.scrollHeight:s,l.parentData={element:d,left:n.left,top:n.top,width:o,height:a}))},resize:function(e){var i,n,s,r,o=t(this).resizable("instance"),a=o.options,l=o.containerOffset,h=o.position,c=o._aspectRatio||e.shiftKey,u={top:0,left:0},d=o.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=l),h.left<(o._helper?l.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-l.left:o.position.left-u.left),c&&(o.size.height=o.size.width/o.aspectRatio,p=!1),o.position.left=a.helper?l.left:0),h.top<(o._helper?l.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-l.top:o.position.top),c&&(o.size.width=o.size.height*o.aspectRatio,p=!1),o.position.top=o._helper?l.top:0),s=o.containerElement.get(0)===o.element.parent().get(0),r=/relative|absolute/.test(o.containerElement.css("position")),s&&r?(o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top):(o.offset.left=o.element.offset().left,o.offset.top=o.element.offset().top),i=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left-u.left:o.offset.left-l.left)),n=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-u.top:o.offset.top-l.top)),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,c&&(o.size.height=o.size.width/o.aspectRatio, +p=!1)),n+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-n,c&&(o.size.width=o.size.height*o.aspectRatio,p=!1)),p||(o.position.left=o.prevPosition.left,o.position.top=o.prevPosition.top,o.size.width=o.prevSize.width,o.size.height=o.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,n=e.containerOffset,s=e.containerPosition,r=e.containerElement,o=t(e.helper),a=o.offset(),l=o.outerWidth()-e.sizeDiff.width,h=o.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(r.css("position"))&&t(this).css({left:a.left-s.left-n.left,width:l,height:h}),e._helper&&!i.animate&&/static/.test(r.css("position"))&&t(this).css({left:a.left-s.left-n.left,width:l,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance").options;t(e.alsoResize).each((function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})}))},resize:function(e,i){var n=t(this).resizable("instance"),s=n.options,r=n.originalSize,o=n.originalPosition,a={height:n.size.height-r.height||0,width:n.size.width-r.width||0,top:n.position.top-o.top||0,left:n.position.left-o.left||0};t(s.alsoResize).each((function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),s={},r=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(r,(function(t,e){var i=(n[e]||0)+(a[e]||0);i&&i>=0&&(s[e]=i||null)})),e.css(s)}))},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),n=i.options,s=i.size,r=i.originalSize,o=i.originalPosition,a=i.axis,l="number"==typeof n.grid?[n.grid,n.grid]:n.grid,h=l[0]||1,c=l[1]||1,u=Math.round((s.width-r.width)/h)*h,d=Math.round((s.height-r.height)/c)*c,p=r.width+u,f=r.height+d,g=n.maxWidth&&n.maxWidthp,y=n.minHeight&&n.minHeight>f;n.grid=l,v&&(p+=h),y&&(f+=c),g&&(p-=h),m&&(f-=c),/^(se|s|e)$/.test(a)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(a)?(i.size.width=p,i.size.height=f,i.position.top=o.top-d):/^(sw)$/.test(a)?(i.size.width=p,i.size.height=f,i.position.left=o.left-u):((f-c<=0||p-h<=0)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f, +i.position.top=o.top-d):(f=c-e.height,i.size.height=f,i.position.top=o.top+r.height-f),p-h>0?(i.size.width=p,i.position.left=o.left-u):(p=h-e.width,i.size.width=p,i.position.left=o.left+r.width-p))}}),t.ui.resizable})?n.apply(e,s):n)||(t.exports=r)},68363:(t,e,i)=>{var n,s,r;s=[i(23127),i(52282),i(51699),i(58264),i(15925),i(34912),i(62066)],void 0===(r="function"==typeof(n=function(t){return t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return t>=e&&t=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var n=null,s=!1,r=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),t(e.target).parents().each((function(){if(t.data(this,r.widgetName+"-item")===r)return n=t(this),!1})),t.data(e.target,r.widgetName+"-item")===r&&(n=t(e.target)),!n||this.options.handle&&!i&&(t(this.options.handle,n).find("*").addBack().each((function(){this===e.target&&(s=!0)})),!s)||(this.currentItem=n,this._removeCurrentsFromItems(),0)))},_mouseStart:function(e,i,n){var s,r,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt), +this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",o.cursor),this.storedStylesheet=t("").appendTo(r)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,n,s,r,o=this.options,a=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY=0;i--)if(s=(n=this.items[i]).item[0], +(r=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===s||t.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],s))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var n=this,s=this.placeholder.offset(),r=this.options.axis,o={};r&&"x"!==r||(o.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(o.top=s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,(function(){n._clear(e)}))}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t(i).each((function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&n.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))})),!n.length&&e.key&&n.push(e.key+"="),n.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},i.each((function(){n.push(t(e.item||this).attr(e.attribute||"id")||"")})),n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,r=t.left,o=r+t.width,a=t.top,l=a+t.height,h=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||n+h>a&&n+hr&&e+ct[this.floating?"width":"height"]?p:r0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,n,s,r,o=[],a=[],l=this._connectWith();if(l&&e)for(i=l.length-1;i>=0;i--)for(n=(s=t(l[i],this.document[0])).length-1;n>=0;n--)(r=t.data(s[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&a.push([t.isFunction(r.options.items)?r.options.items.call(r.element):t(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);function h(){o.push(this)}for(a.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=a.length-1;i>=0;i--)a[i][0].each(h);return t(o)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,(function(t){for(var i=0;i=0;i--)for(n=(s=t(d[i],this.document[0])).length-1;n>=0;n--)(r=t.data(s[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&(u.push([t.isFunction(r.options.items)?r.options.items.call(r.element[0],e,{item:this.currentItem +}):t(r.options.items,r.element),r]),this.containers.push(r));for(i=u.length-1;i>=0;i--)for(o=u[i][1],n=0,h=(a=u[i][0]).length;n=0;i--)(n=this.items[i]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(s=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=s.outerWidth(),n.height=s.outerHeight()),r=s.offset(),n.left=r.left,n.top=r.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)r=this.containers[i].element.offset(),this.containers[i].containerCache.left=r.left,this.containers[i].containerCache.top=r.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){var i,n=(e=e||this).options;n.placeholder&&n.placeholder.constructor!==String||(i=n.placeholder,n.placeholder={element:function(){var n=e.currentItem[0].nodeName.toLowerCase(),s=t("<"+n+">",e.document[0]);return e._addClass(s,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(s,"ui-sortable-helper"),"tbody"===n?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("",e.document[0]).appendTo(s)):"tr"===n?e._createTrPlaceholder(e.currentItem,s):"img"===n&&s.attr("src",e.currentItem.attr("src")),i||s.css("visibility","hidden"),s},update:function(t,s){i&&!n.forcePlaceholderSize||(s.height()||s.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),s.width()||s.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(n.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),n.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var n=this;e.children().each((function(){t(" ",n.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)}))},_contactContainers:function(e){var i,n,s,r,o,a,l,h,c,u,d=null,p=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(d&&t.contains(this.containers[i].element[0],d.element[0]))continue;d=this.containers[i],p=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0) +;if(d)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(s=1e4,r=null,o=(c=d.floating||this._isFloating(this.currentItem))?"left":"top",a=c?"width":"height",u=c?"pageX":"pageY",n=this.items.length-1;n>=0;n--)t.contains(this.containers[p].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(l=this.items[n].item.offset()[o],h=!1,e[u]-l>this.items[n][a]/2&&(h=!0),Math.abs(e[u]-l)this.containment[2]&&(r=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),s.grid&&(i=this.originalPageY+Math.round((o-this.originalPageY)/s.grid[1])*s.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-s.grid[1]:i+s.grid[1]:i,n=this.originalPageX+Math.round((r-this.originalPageX)/s.grid[0])*s.grid[0],r=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-s.grid[0]:n+s.grid[0]:n)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay((function(){s===this.counter&&this.refreshPositions(!n)}))},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function s(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}for(this.fromOutside&&!e&&n.push((function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push((function(t){this._trigger("update",t,this._uiHash())})),this!==this.currentContainer&&(e||(n.push((function(t){this._trigger("remove",t,this._uiHash())})),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||n.push(s("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(s("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity), +this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i{},56479:(t,e,i)=>{"use strict";var n=i(23127),s=i(32563).mobiletouch;!function(t,e,i){function n(i,n){n=n||i+"outside";var s=t(),r=i+"."+n+"-special-event";function o(e){t(s).each((function(){var i=t(this);this===e.target||i.has(e.target).length||i.triggerHandler(n,[e.target])}))}t.event.special[n]={setup:function(){delete(s=s.add(this)).prevObject,1===s.length&&t(e).bind(r,o)},teardown:function(){delete(s=s.not(this)).prevObject,0===s.length&&t(e).unbind(r)},add:function(t){var e=t.handler;t.handler=function(t,i){t.target=i,e.apply(this,arguments)}}}}t.map("click dblclick mousemove mousedown mouseup mouseover mouseout change select submit keydown keypress keyup".split(" "),(function(t){n(t)})),n("focusin","focusoutside"),n("focusout","bluroutside"),s&&(n("touchstart","mousedownoutside"),n("touchmove","mousemoveoutside"),n("touchend","mouseupoutside")),t.addOutsideEvent=n}(n,document)},74312:(t,e,i)=>{"use strict";i.r(e);i(59535),i(29224),i(68363),i(72994),i(98135),i(94822),i(11773)},35190:(t,e,i)=>{"use strict";i.d(e,{lazyJqueryUI:()=>a});i(23127);var n=i(23127);let s;async function r(t){if(!(t in n.fn))return s||(s=i.e(1729).then(i.bind(i,74312)).then()),s}class o{constructor(t){this._$elem=t}draggable(){const t=arguments,e=this._$elem;return r("draggable").then(()=>e.draggable.apply(e,t))}resizable(){const t=arguments,e=this._$elem;return r("resizable").then(()=>e.resizable.apply(e,t))}sortable(){const t=arguments,e=this._$elem;return r("sortable").then(()=>e.sortable.apply(e,t))}datepicker(){const t=arguments,e=this._$elem;return r("datepicker").then(()=>e.datepicker.apply(e,t))}}function a(t){return new o(n(t))}},11773:(t,e,i)=>{var n=i(23127);n.ui.sortable.prototype._addClass=function(t,e){return"string"==typeof t||null===t?this.element.addClass(t):t.addClass(e),this},n.ui.sortable.prototype._removeClass=function(t,e){return"string"==typeof t||null===t?this.element.removeClass(t):t.removeClass(e),this}}}]); \ No newline at end of file diff --git a/charting_library/bundles/last-chance-banner.0210ab3cfb4e94797db1.js b/charting_library/bundles/last-chance-banner.0210ab3cfb4e94797db1.js new file mode 100644 index 00000000..8d2cb51f --- /dev/null +++ b/charting_library/bundles/last-chance-banner.0210ab3cfb4e94797db1.js @@ -0,0 +1 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1611],{33492:e=>{e.exports={banner:"banner-EZ3DKk2H","countdown-section":"countdown-section-EZ3DKk2H","main-section":"main-section-EZ3DKk2H",title:"title-EZ3DKk2H","main-text":"main-text-EZ3DKk2H",image:"image-EZ3DKk2H"}},66359:(e,t,n)=>{"use strict";n.r(t),n.d(t,{renderLastChanceBanner:()=>p});var o=n(59496),a=n(87995),r=n(28353),i=n(77975),s=n(45345),c=n(26843),u=n(56299),l=n(27591),m=n(24136),d=n(93299);function f(e){const{expiration:t,maxDiscount:n="",lastChanceType:a}=e,f=(0,i.useWatchedValueReadonly)({watchedValue:s.watchedTheme})===c.StdTheme.Light?l:m,p=r.t("Explore special offers"),h=n.toString();let w=r.t("Wait, don't go"),b=r.t("Get up to {discount}% off a new plan if you decide to renew with us before your current one ends.").format({discount:h});switch(a){case d.LastChanceType.TwoDays:w=r.t("Time's running out!"),b=r.t("Your subscription expires soon – claim your special offer and save up to {discount}% before it's too late.").format({discount:h});break;case d.LastChanceType.Hours:w=r.t("The countdown has started."),b=r.t("Your subscription isn't set to auto-renew, so you'll lose your benefits very soon... This is your last chance to claim up to {discount}% discount.").format({discount:h})}return o.createElement(u.OfferBanner,{expiration:t,title:w,mainTitle:b,buttonProps:{href:"/gopro/?source=profile&feature=last_chance_banner"},buttonText:p,imgSrc:f})}function p(e,t){a.render(o.createElement(f,{...t}),e)}},56299:(e,t,n)=>{"use strict";n.d(t,{OfferBanner:()=>u});var o=n(59496),a=n(28353),r=n(53746),i=n(82760),s=n(5437),c=n(33492);function u(e){const{expiration:t,title:n,mainTitle:u,buttonProps:l,buttonText:m=a.t("Learn more"),imgSrc:d}=e;return o.createElement("article",{className:c.banner},o.createElement("section",{className:c["main-section"]},o.createElement("h2",{className:c.title},n),o.createElement("p",{className:c["main-text"]},u),o.createElement(s.RoundAnchorButton,{className:c["cta-button"],...l},m)),o.createElement("section",{className:c["countdown-section"]},o.createElement("img",{src:d,className:c.image,role:"presentation"}),o.createElement(r.OfferCountdown,{theme:i.CountdownTheme.Profile,expiration:t,size:"m"})))}}}]); \ No newline at end of file diff --git a/charting_library/bundles/lazy-velocity.c4899589f501eea00e5f.js b/charting_library/bundles/lazy-velocity.c4899589f501eea00e5f.js new file mode 100644 index 00000000..fd7ffc34 --- /dev/null +++ b/charting_library/bundles/lazy-velocity.c4899589f501eea00e5f.js @@ -0,0 +1,15 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2112],{37356:(e,t,r)=>{var a,i,n=r(23127);!function(e){"use strict";if(!e.jQuery){var t=function(e,r){return new t.fn.init(e,r)};t.isWindow=function(e){return e&&e===e.window},t.type=function(e){return e?"object"==typeof e||"function"==typeof e?a[n.call(e)]||"object":typeof e:e+""},t.isArray=Array.isArray||function(e){return"array"===t.type(e)},t.isPlainObject=function(e){var r;if(!e||"object"!==t.type(e)||e.nodeType||t.isWindow(e))return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(r in e);return void 0===r||i.call(e,r)},t.each=function(e,t,r){var a=0,i=e.length,n=l(e);if(r){if(n)for(;a0&&r-1 in e))}}(window),function(n){"use strict";"object"==typeof e.exports?e.exports=n():void 0===(i="function"==typeof(a=n)?a.call(t,r,t,e):a)||(e.exports=i)}((function(){"use strict";return function(e,t,r,a){var i,o=function(){if(r.documentMode)return r.documentMode;for(var e=7;e>4;e--){var t=r.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]>=0?t:Math.max(0,a+t),s=(r<0?a+r:Math.min(r,a))-o;if(s>0)if(n=new Array(s),this.charAt)for(i=0;i=0}:function(e,t){for(var r=0;r1e-4&&Math.abs(s.v)>1e-4;);return n?function(e){return u[e*(u.length-1)|0]}:c}}();m.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}}, +p.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],(function(e,t){m.Easings[t[0]]=V.apply(null,t[1])}));var y=m.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205", +lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e=1?"":"alpha(opacity="+parseInt(100*parseFloat(r),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return r}}},register:function(){o&&!(o>9)||m.State.isGingerbread||(y.Lists.transformsBase=y.Lists.transformsBase.concat(y.Lists.transforms3D));for(var e=0;e8)&&3===i.split(" ").length&&(i+=" 1"),i;case"inject": +return/^rgb/.test(a)?a:(o<=8?4===a.split(" ").length&&(a=a.split(/\s+/).slice(0,3).join(" ")):3===a.split(" ").length&&(a+=" 1"),(o<=8?"rgb":"rgba")+"("+a.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function r(e,t,r){if("border-box"===y.getPropertyValue(t,"boxSizing").toString().toLowerCase()===(r||!1)){var a,i,n=0,o="width"===e?["Left","Right"]:["Top","Bottom"],s=["padding"+o[0],"padding"+o[1],"border"+o[0]+"Width","border"+o[1]+"Width"];for(a=0;a=2&&console.log("Get "+r+": "+s),s},setPropertyValue:function(e,r,a,i,n){var s=r;if("scroll"===r)n.container?n.container["scroll"+n.direction]=a:"Left"===n.direction?t.scrollTo(a,n.alternateValue):t.scrollTo(n.alternateValue,a);else if(y.Normalizations.registered[r]&&"transform"===y.Normalizations.registered[r]("name",e))y.Normalizations.registered[r]("inject",e,a),s="transform",a=w(e).transformCache[r];else{if(y.Hooks.registered[r]){var l=r,u=y.Hooks.getRoot(r);i=i||y.getPropertyValue(e,u),a=y.Hooks.injectValue(l,a,i),r=u}if(y.Normalizations.registered[r]&&(a=y.Normalizations.registered[r]("inject",e,a),r=y.Normalizations.registered[r]("name",e)),s=y.Names.prefixCheck(r)[0],o<=8)try{e.style[s]=a}catch(e){m.debug&&console.log("Browser does not support ["+a+"] for ["+s+"]")}else{var c=w(e);c&&c.isSVG&&y.Names.SVGAttribute(r)?e.setAttribute(r,a):e.style[s]=a} +m.debug>=2&&console.log("Set "+r+" ("+s+"): "+a)}return[s,a]},flushTransformCache:function(e){var t="",r=w(e);if((o||m.State.isAndroid&&!m.State.isChrome)&&r&&r.isSVG){var a=function(t){return parseFloat(y.getPropertyValue(e,t))},i={translate:[a("translateX"),a("translateY")],skewX:[a("skewX")],skewY:[a("skewY")],scale:1!==a("scale")?[a("scale"),a("scale")]:[a("scaleX"),a("scaleY")],rotate:[a("rotateZ"),0,0]};p.each(w(e).transformCache,(function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),i[e]&&(t+=e+"("+i[e].join(" ")+") ",delete i[e])}))}else{var n,s;p.each(w(e).transformCache,(function(r){if(n=w(e).transformCache[r],"transformPerspective"===r)return s=n,!0;9===o&&"rotateZ"===r&&(r="rotate"),t+=r+n+" "})),s&&(t="perspective"+s+" "+t)}y.setPropertyValue(e,"transform",t)}};y.Hooks.register(),y.Normalizations.register(),m.hook=function(e,t,r){var a;return e=d(e),p.each(e,(function(e,i){if(void 0===w(i)&&m.init(i),void 0===r)void 0===a&&(a=y.getPropertyValue(i,t));else{var n=y.setPropertyValue(i,t,r);"transform"===n[0]&&m.CSS.flushTransformCache(i),a=n}})),a};var v=function(){var e;function a(){return i?h.promise||null:n}var i,n,o,s,l,u,g=arguments[0]&&(arguments[0].p||p.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||f.isString(arguments[0].properties));f.isWrapped(this)?(i=!1,o=0,s=this,n=this):(i=!0,o=1,s=g?arguments[0].elements||arguments[0].e:arguments[0]);var h={promise:null,resolver:null,rejecter:null};if(i&&m.Promise&&(h.promise=new m.Promise((function(e,t){h.resolver=e,h.rejecter=t}))),g?(l=arguments[0].properties||arguments[0].p,u=arguments[0].options||arguments[0].o):(l=arguments[o],u=arguments[o+1]),s=d(s)){var b,x=s.length,k=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(l)&&!p.isPlainObject(u)){var V=o+1;u={};for(var F=V;F=4&&"("===H?F++:(F&&F<5||F>=4&&")"===H&&--F<5)&&(F=0),0===E&&"r"===H||1===E&&"g"===H||2===E&&"b"===H||3===E&&"a"===H||E>=3&&"("===H?(3===E&&"a"===H&&(N=1),E++):N&&","===H?++N>3&&(E=N=0):(N&&E<(N?5:4)||E>=(N?4:3)&&")"===H&&--E<(N?5:4))&&(E=N=0)}}V===b.length&&T===c.length||(m.debug&&console.error('Trying to pattern match mis-matched strings ["'+c+'", "'+b+'"]'),s=void 0),s&&(C.length?(m.debug&&console.log('Pattern found "'+s+'" -> ',C,A,"["+b+","+c+"]"),b=C,c=A,w=S=""):s=void 0)}s||(b=(x=k(a,b))[0],S=x[1],c=(x=k(a,c))[0].replace(/^([+-\/*])=/,(function(e,t){return P=t,""})),w=x[1],b=parseFloat(b)||0,c=parseFloat(c)||0,"%"===w&&(/^(fontSize|lineHeight)$/.test(a)?(c/=100,w="em"):/^scale/.test(a)?(c/=100,w=""):/(Red|Green|Blue)$/i.test(a)&&(c=c/100*255,w="")));if(/[\/*]/.test(P))w=S;else if(S!==w&&0!==b)if(0===c)w=S;else{i=i||function(){var a={myParent:e.parentNode||r.body,position:y.getPropertyValue(e,"position"),fontSize:y.getPropertyValue(e,"fontSize")},i=a.position===j.lastPosition&&a.myParent===j.lastParent,n=a.fontSize===j.lastFontSize;j.lastParent=a.myParent,j.lastPosition=a.position,j.lastFontSize=a.fontSize;var o={};if(n&&i)o.emToPx=j.lastEmToPx,o.percentToPxWidth=j.lastPercentToPxWidth,o.percentToPxHeight=j.lastPercentToPxHeight;else{var s=g&&g.isSVG?r.createElementNS("http://www.w3.org/2000/svg","rect"):r.createElement("div");m.init(s),a.myParent.appendChild(s),p.each(["overflow","overflowX","overflowY"],(function(e,t){m.CSS.setPropertyValue(s,t,"hidden")})),m.CSS.setPropertyValue(s,"position",a.position),m.CSS.setPropertyValue(s,"fontSize",a.fontSize),m.CSS.setPropertyValue(s,"boxSizing","content-box"),p.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(e,t){m.CSS.setPropertyValue(s,t,"100%")})),m.CSS.setPropertyValue(s,"paddingLeft","100em"),o.percentToPxWidth=j.lastPercentToPxWidth=(parseFloat(y.getPropertyValue(s,"width",null,!0))||1)/100,o.percentToPxHeight=j.lastPercentToPxHeight=(parseFloat(y.getPropertyValue(s,"height",null,!0))||1)/100,o.emToPx=j.lastEmToPx=(parseFloat(y.getPropertyValue(s,"paddingLeft"))||1)/100,a.myParent.removeChild(s)}return null===j.remToPx&&(j.remToPx=parseFloat(y.getPropertyValue(r.body,"fontSize"))||16),null===j.vwToPx&&(j.vwToPx=parseFloat(t.innerWidth)/100,j.vhToPx=parseFloat(t.innerHeight)/100),o.remToPx=j.remToPx,o.vwToPx=j.vwToPx,o.vhToPx=j.vhToPx,m.debug>=1&&console.log("Unit ratios: "+JSON.stringify(o),e),o}();var I=/margin|padding|left|right|width|text|word|letter/i.test(a)||/X$/.test(a)||"x"===a?"x":"y";switch(S){case"%":b*="x"===I?i.percentToPxWidth:i.percentToPxHeight;break;case"px":break;default:b*=i[S+"ToPx"]}switch(w){case"%":b*=1/("x"===I?i.percentToPxWidth:i.percentToPxHeight);break;case"px":break;default:b*=1/i[w+"ToPx"]}}switch(P){case"+":c=b+c;break;case"-":c=b-c;break;case"*":c*=b;break;case"/":c=b/c}d[a]={rootPropertyValue:u,startValue:b,currentValue:b,endValue:c,unitType:w,easing:h},s&&(d[a].pattern=s), +m.debug&&console.log("tweensContainer ("+a+"): "+JSON.stringify(d[a]),e)}else m.debug&&console.log("Skipping ["+l+"] due to a lack of browser support.")};for(var q in l)if(l.hasOwnProperty(q)){var z=y.Names.camelCase(q),R=H(l[q]);if(c(y.Lists.colors)){var M=R[0],$=R[1],B=R[2];if(y.RegEx.isHex.test(M)){for(var W=["Red","Green","Blue"],I=y.Values.hexToRgb(M),D=B?y.Values.hexToRgb(B):void 0,G=0;G0?i=o:r=o}while(Math.abs(n)>s&&++u=o?b(t,s):0===l?s:w(t,r,r+c)}var P=!1;function k(){P=!0,e===r&&a===i||x()}var V=function(t){return P||k(),e===r&&a===i?t:0===t?0:1===t?1:y(S(t),r,i)};V.getControlPoints=function(){return[{x:e,y:r},{x:a,y:i}]};var T="generateBezier("+[e,r,a,i]+")";return V.toString=function(){return T},V}function T(e,t){var r=e;return f.isString(e)?m.Easings[e]||(r=!1):r=f.isArray(e)&&1===e.length?k.apply(null,e):f.isArray(e)&&2===e.length?h.apply(null,e.concat([t])):!(!f.isArray(e)||4!==e.length)&&V.apply(null,e),!1===r&&(r=m.Easings[m.defaults.easing]?m.defaults.easing:"swing"),r}function C(e){if(e){var t=m.timestamp&&!0!==e?e:l.now(),r=m.State.calls.length;r>1e4&&(m.State.calls=function(e){for(var t=-1,r=e?e.length:0,a=[];++t{e.exports={"css-value-chart-controls-bar-height-with-border":"calc(38px + 1px)","css-value-chart-controls-bar-border":"1px"}},70606:()=>{},24780:e=>{e.exports={"tv-spinner__container-rotate":"tv-spinner__container-rotate-z2AhmXBd"}},25966:e=>{e.exports={"tv-transition--fade-in":"tv-transition--fade-in-VA2P0ZT5","tv-transition--fade-out":"tv-transition--fade-out-VA2P0ZT5","tv-transition--slide-out":"tv-transition--slide-out-VA2P0ZT5"}},65592:e=>{e.exports={container:"container-RqLxZVKU",inner:"inner-RqLxZVKU","border-left":"border-left-RqLxZVKU","border-right":"border-right-RqLxZVKU","border-top":"border-top-RqLxZVKU","border-bottom":"border-bottom-RqLxZVKU","top-right-radius":"top-right-radius-RqLxZVKU","top-left-radius":"top-left-radius-RqLxZVKU","bottom-right-radius":"bottom-right-radius-RqLxZVKU","bottom-left-radius":"bottom-left-radius-RqLxZVKU"}},74228:()=>{},4103:e=>{e.exports={css_value_currency_label_radius:"4",css_wrapper_margin:"1",css_row_left_right_margin:"3",css_row_left_right_padding:"6",css_first_row_top_padding:"4",css_fade_height:"10","price-axis-currency-label-wrapper":"price-axis-currency-label-wrapper-vSuZFrDG","price-axis-currency-label":"price-axis-currency-label-vSuZFrDG",hidden:"hidden-vSuZFrDG",row:"row-vSuZFrDG",readonly:"readonly-vSuZFrDG","price-axis-currency-label-fade":"price-axis-currency-label-fade-vSuZFrDG","price-axis-currency-label-text":"price-axis-currency-label-text-vSuZFrDG","price-axis-currency-label-arrow-down":"price-axis-currency-label-arrow-down-vSuZFrDG"}},43842:e=>{e.exports={labelwidth:"19px",labelheight:"19px",bordersize:"2px",bottommargin:"5px",gearheight:"15px",gearwidth:"15px","price-axis-stub":"price-axis-stub-MAhpkWoV",wrapper:"wrapper-MAhpkWoV",label:"label-MAhpkWoV",symbol:"symbol-MAhpkWoV",gear:"gear-MAhpkWoV","fixed-gear":"fixed-gear-MAhpkWoV","fixed-symbol":"fixed-symbol-MAhpkWoV"}},1597:()=>{},97845:()=>{},98033:e=>{e.exports={"css-value-header-toolbar-height":"38px"}},87027:e=>{e.exports={chartsSplitter:"chartsSplitter-jXbRzI5l",hovered:"hovered-jXbRzI5l","i-active":"i-active-jXbRzI5l"}},50869:e=>{e.exports={"css-value-pane-controls-padding-left":"1px","css-value-pane-controls-padding-right":"5px"}},72045:e=>{e.exports={paneSeparator:"paneSeparator-9uSVw3Vg",handle:"handle-9uSVw3Vg",hovered:"hovered-9uSVw3Vg",active:"active-9uSVw3Vg"}},95306:()=>{},89405:e=>{e.exports={"common-tooltip":"common-tooltip-3cIbUUfe","common-tooltip--hidden":"common-tooltip--hidden-3cIbUUfe","common-tooltip--horizontal":"common-tooltip--horizontal-3cIbUUfe","common-tooltip--farther":"common-tooltip--farther-3cIbUUfe","common-tooltip--vertical":"common-tooltip--vertical-3cIbUUfe","common-tooltip-farther":"common-tooltip-farther-3cIbUUfe","common-tooltip--direction_normal":"common-tooltip--direction_normal-3cIbUUfe","common-tooltip__body":"common-tooltip__body-3cIbUUfe","common-tooltip__button-container":"common-tooltip__button-container-3cIbUUfe", -"common-tooltip__body--no-buttons":"common-tooltip__body--no-buttons-3cIbUUfe","common-tooltip__button":"common-tooltip__button-3cIbUUfe","common-tooltip--direction_reversed":"common-tooltip--direction_reversed-3cIbUUfe","common-tooltip__ear-holder":"common-tooltip__ear-holder-3cIbUUfe","common-tooltip__ear-holder--below":"common-tooltip__ear-holder--below-3cIbUUfe","common-tooltip__ear-holder--above":"common-tooltip__ear-holder--above-3cIbUUfe","common-tooltip__ear-holder--before":"common-tooltip__ear-holder--before-3cIbUUfe","common-tooltip__ear-holder--after":"common-tooltip__ear-holder--after-3cIbUUfe","common-tooltip__body--with-hotkey":"common-tooltip__body--with-hotkey-3cIbUUfe","common-tooltip__body--width_wide":"common-tooltip__body--width_wide-3cIbUUfe","common-tooltip__body--width_narrow":"common-tooltip__body--width_narrow-3cIbUUfe","common-tooltip__body--no-padding":"common-tooltip__body--no-padding-3cIbUUfe","common-tooltip__hotkey-block":"common-tooltip__hotkey-block-3cIbUUfe","common-tooltip__hotkey-block--divider":"common-tooltip__hotkey-block--divider-3cIbUUfe","common-tooltip__hotkey-text":"common-tooltip__hotkey-text-3cIbUUfe","common-tooltip__hotkey-button":"common-tooltip__hotkey-button-3cIbUUfe","common-tooltip__plus-sign":"common-tooltip__plus-sign-3cIbUUfe"}},45112:(e,t,i)=>{"use strict";i.r(t),i.d(t,{colorsPalette:()=>h,getHexColorByName:()=>d}) -;const s=JSON.parse('{"color-white":"#ffffff","color-black":"#000000","color-cold-gray-50":"#F8F9FD","color-cold-gray-100":"#F0F3FA","color-cold-gray-150":"#E0E3EB","color-cold-gray-200":"#D1D4DC","color-cold-gray-250":"#C1C4CD","color-cold-gray-300":"#B2B5BE","color-cold-gray-350":"#A3A6AF","color-cold-gray-400":"#9598A1","color-cold-gray-450":"#868993","color-cold-gray-500":"#787B86","color-cold-gray-550":"#6A6D78","color-cold-gray-600":"#5D606B","color-cold-gray-650":"#50535E","color-cold-gray-700":"#434651","color-cold-gray-750":"#363A45","color-cold-gray-800":"#2A2E39","color-cold-gray-850":"#1E222D","color-cold-gray-900":"#131722","color-cold-gray-950":"#0C0E15","color-ripe-red-50":"#FFEBEC","color-ripe-red-100":"#FCCBCD","color-ripe-red-200":"#FAA1A4","color-ripe-red-300":"#F77C80","color-ripe-red-400":"#F7525F","color-ripe-red-500":"#F23645","color-ripe-red-600":"#CC2F3C","color-ripe-red-700":"#B22833","color-ripe-red-800":"#991F29","color-ripe-red-900":"#801922","color-ripe-red-a100":"#FF8080","color-ripe-red-a200":"#FF5252","color-ripe-red-a400":"#FF3333","color-ripe-red-a600":"#CC2929","color-ripe-red-a700":"#802028","color-ripe-red-a800":"#4D191D","color-ripe-red-a900":"#331F20","color-tan-orange-50":"#FFF3E0","color-tan-orange-100":"#FFE0B2","color-tan-orange-200":"#FFCC80","color-tan-orange-300":"#ffb74d","color-tan-orange-400":"#FFA726","color-tan-orange-500":"#FF9800","color-tan-orange-600":"#FB8C00","color-tan-orange-700":"#F57C00","color-tan-orange-800":"#EF6C00","color-tan-orange-900":"#e65100","color-tan-orange-a200":"#ffab40","color-tan-orange-a400":"#ff9100","color-tan-orange-a700":"#FF6D00","color-iguana-green-100":"#C8E6C9","color-iguana-green-200":"#A5D6A7","color-iguana-green-300":"#81c784","color-iguana-green-400":"#66BB6A","color-iguana-green-500":"#4caf50","color-iguana-green-600":"#43a047","color-iguana-green-700":"#388e3c","color-iguana-green-800":"#2E7D32","color-iguana-green-900":"#1B5E20","color-iguana-green-a700":"#00c853","color-banana-yellow-100":"#FFF9C4","color-banana-yellow-200":"#FFF59D","color-banana-yellow-300":"#FFF176","color-banana-yellow-400":"#ffee58","color-banana-yellow-500":"#ffeb3b","color-banana-yellow-600":"#fdd835","color-banana-yellow-700":"#fbc02d","color-banana-yellow-800":"#f9a825","color-banana-yellow-900":"#F57F17","color-banana-yellow-a400":"#ffea00","color-banana-yellow-a700":"#ffd600","color-tv-blue-50":"#E3EFFD","color-tv-blue-100":"#BBD9FB","color-tv-blue-200":"#90BFF9","color-tv-blue-300":"#5B9CF6","color-tv-blue-400":"#3179F5","color-tv-blue-500":"#2962FF","color-tv-blue-600":"#1E53E5","color-tv-blue-700":"#1848CC","color-tv-blue-800":"#143EB3","color-tv-blue-900":"#0C3299","color-tv-blue-a100":"#82b1ff","color-tv-blue-a200":"#448aff","color-tv-blue-a400":"#2979ff","color-tv-blue-a600":"#2962FF","color-tv-blue-a700":"#143A87","color-tv-blue-a800":"#142E61","color-tv-blue-a900":"#132042","color-deep-blue-100":"#D1C4E9","color-deep-blue-200":"#B39DDB","color-deep-blue-300":"#9575cd","color-deep-blue-400":"#7e57c2","color-deep-blue-500":"#673ab7","color-deep-blue-700":"#512da8","color-deep-blue-800":"#4527A0","color-deep-blue-900":"#311B92","color-deep-blue-a100":"#b388ff","color-deep-blue-a200":"#7C4DFF","color-deep-blue-a400":"#651FFF","color-deep-blue-a700":"#6200EA","color-minty-green-50":"#DAF2EE","color-minty-green-100":"#ACE5DC","color-minty-green-200":"#70CCBD","color-minty-green-300":"#42BDA8","color-minty-green-400":"#22AB94","color-minty-green-500":"#089981","color-minty-green-600":"#06806B","color-minty-green-700":"#056656","color-minty-green-800":"#004D40","color-minty-green-900":"#00332A","color-minty-green-a400":"#2BD9BC","color-minty-green-a700":"#24B29B","color-minty-green-a900":"#082621","color-grapes-purple-50":"#F3E5F5","color-grapes-purple-100":"#E1BEE7","color-grapes-purple-200":"#CE93D8","color-grapes-purple-300":"#ba68c8","color-grapes-purple-400":"#ab47bc","color-grapes-purple-500":"#9c27b0","color-grapes-purple-600":"#8e24aa","color-grapes-purple-700":"#7b1fa2","color-grapes-purple-800":"#6A1B9A","color-grapes-purple-900":"#4A148C","color-grapes-purple-a200":"#E040FB","color-grapes-purple-a400":"#D500F9","color-grapes-purple-a700":"#aa00ff","color-berry-pink-100":"#F8BBD0","color-berry-pink-200":"#f48fb1","color-berry-pink-300":"#f06292","color-berry-pink-400":"#ec407a","color-berry-pink-500":"#e91e63","color-berry-pink-600":"#D81B60","color-berry-pink-700":"#C2185B","color-berry-pink-800":"#AD1457","color-berry-pink-900":"#880E4F","color-berry-pink-a100":"#ff80ab","color-berry-pink-a200":"#ff4081","color-sky-blue-100":"#B2EBF2","color-sky-blue-200":"#80DEEA","color-sky-blue-300":"#4dd0e1","color-sky-blue-400":"#26c6da","color-sky-blue-500":"#00bcd4","color-sky-blue-600":"#00acc1","color-sky-blue-700":"#0097A7","color-sky-blue-800":"#00838F","color-sky-blue-900":"#006064","color-sky-blue-a400":"#00e5ff","color-sky-blue-a700":"#00B8D4","color-deep-blue-600":"#5E35B1","color-facebook":"#1877F2","color-deep-facebook":"#1564CA","color-twitter":"#1DA1F2","color-deep-twitter":"#188CD3","color-youtube":"#FF0000","color-linkedin":"#007BB5","color-aqua-spring":"#ebf9f5","color-army-green":"#3d2c12","color-army-green-2":"#31230d","color-athens-gray-1":"#f2f3f5","color-athens-gray-2":"#f7f8fa","color-athens-gray-3":"#eceff2","color-black-180":"#b4b4b4","color-blue-dianne":"#21384d","color-bluish":"#2185cc","color-bright-gray":"#363c4e","color-brownish-grey":"#8d6e63","color-carnation":"#f04561","color-catskill-white":"#e1ecf2","color-charade":"#2f3241","color-charcoal-grey":"#323337","color-curious-blue":"#299dcd","color-dark-blue-grey":"#123440","color-darkness-blue-grey":"#12213b","color-dark-grey":"#292a2d","color-dark-grey-blue":"#28415a","color-dark-sky-blue":"#37a6ef","color-deep-sea-blue":"#016087","color-ebony-clay":"#262b3e","color-foam":"#d7f0fb","color-gull-gray":"#9db2bd","color-humming-bird":"#d3eef9","color-keppel-1":"#37bc9b","color-keppel-2":"#34b293","color-lavender-blush":"#ffedf0","color-lightish-purple":"#a75ee8","color-loblolly":"#c5cbce","color-manatee":"#878ca8","color-mandy":"#eb4d5c","color-medium-blue":"#2e7bb2","color-milk-chocolate":"#6f2626","color-mirage-1":"#131722","color-mirage-2":"#171b29","color-mirage-3":"#1c2030","color-mischka":"#d6d8e0","color-morning-glory":"#9addcc","color-oslo-gray":"#8b8e95","color-pale":"#fff2cf","color-pale-grey-1":"#f9fafb","color-pale-grey-2":"#e7ebee","color-pale-sky":"#6b7988","color-picton-blue-1":"#3bb3e4","color-puerto-rico":"#3bc2a1","color-purple-brown":"#4e2934","color-purple-brown-2":"#3d2028","color-radical-red":"#ff4a68","color-regent-gray":"#8797a5","color-scooter":"#38acdb","color-silver-tree":"#53b987","color-slate-gray":"#758696","color-sundown":"#ffa4b3","color-sunglow":"#ffca3b","color-tan-hide":"#ff9850","color-trout-1":"#4c525e","color-trout-2":"#4f5966","color-violet-1":"#332738","color-violet-2":"#271d2b","color-white-ice":"#ebf7fc","color-wild-watermelon":"#ff5773","color-readonly-input":"#b4b4b4","color-brand-dark":"#2a2c39","color-seeking-alpha-brand":"#ff7200"}'),r=JSON.parse('{"color-bg-primary":"color-white","color-bg-primary-hover":"color-cold-gray-100","color-bg-secondary":"color-white","color-bg-highlight":"color-cold-gray-50","color-bg-scroll-buttons":"color-cold-gray-100","color-legacy-bg-scroll-buttons":"color-cold-gray-850","color-legacy-bg-widget":"color-white","color-text-primary":"color-cold-gray-900","color-text-secondary":"color-cold-gray-500","color-text-tertiary":"color-cold-gray-400","color-text-disabled":"color-cold-gray-300","color-accent-content":"color-cold-gray-900","color-box-shadow":"color-cold-gray-300","color-divider":"color-cold-gray-150","color-divider-hover":"color-cold-gray-100","color-divider-secondary":"color-cold-gray-100","color-active-hover-text":"color-cold-gray-900","color-alert-text":"color-cold-gray-900","color-border-table":"color-cold-gray-100","color-brand":"color-tv-blue-500","color-brand-active":"color-tv-blue-700","color-brand-hover":"color-tv-blue-600","color-chart-page-bg":"color-cold-gray-150","color-common-tooltip-bg":"color-cold-gray-800","color-danger":"color-ripe-red-400","color-danger-hover":"color-ripe-red-500","color-danger-active":"color-ripe-red-600","color-depthrenderer-stroke-style":"color-cold-gray-100","color-highlight-new":"color-tan-orange-50","color-input-bg":"color-white","color-input-publish-bg":"color-white","color-link":"color-tv-blue-500","color-link-hover":"color-tv-blue-600","color-link-active":"color-tv-blue-700","color-list-nth-child-bg":"color-cold-gray-50","color-pane-bg":"color-white","color-pane-secondary-bg":"color-cold-gray-100","color-popup-menu-item-hover-bg":"color-cold-gray-100","color-popup-menu-separator":"color-cold-gray-150","color-screener-description":"color-cold-gray-650","color-success":"color-minty-green-500","color-success-hover":"color-minty-green-600","color-success-active":"color-minty-green-700","color-toolbar-button-text":"color-cold-gray-900","color-toolbar-button-text-hover":"color-cold-gray-900","color-toolbar-button-text-active":"color-tv-blue-500","color-toolbar-button-text-active-hover":"color-tv-blue-600","color-toolbar-button-background-hover":"color-cold-gray-100","color-toolbar-button-background-secondary-hover":"color-cold-gray-150","color-toolbar-toggle-button-background-active":"color-tv-blue-500","color-toolbar-toggle-button-background-active-hover":"color-tv-blue-600","color-toolbar-interactive-element-text-normal":"color-cold-gray-900","color-toolbar-interactive-element-text-hover":"color-cold-gray-900","color-toolbar-opened-element-bg":"color-cold-gray-100","color-tooltip-bg":"color-cold-gray-800","color-tv-dialog-caption":"color-cold-gray-650","color-tv-dropdown-item-hover-bg":"color-cold-gray-100","color-underlined-text":"color-cold-gray-500","color-widget-pages-bg":"color-white","color-warning":"color-tan-orange-500","color-growing":"color-minty-green-400","color-falling":"color-ripe-red-400","color-forex-icon":"color-cold-gray-750","color-list-item-active-bg":"color-tv-blue-400","color-list-item-hover-bg":"color-tv-blue-50","color-list-item-text":"color-cold-gray-800","color-price-axis-label-back":"color-cold-gray-150","color-price-axis-label-text":"color-cold-gray-650","color-price-axis-gear":"color-cold-gray-900","color-price-axis-gear-hover":"color-black","color-price-axis-highlight":"color-cold-gray-150","color-bid":"color-tv-blue-500","color-border":"color-cold-gray-150","color-border-chat-fields":"color-cold-gray-250","color-border-hover":"color-cold-gray-250","color-button-hover-bg":"color-cold-gray-150","color-depthrenderer-fill-style":"color-cold-gray-650","color-disabled-border-and-color":"color-cold-gray-150","color-disabled-input":"color-cold-gray-150","color-empty-container-message":"color-cold-gray-500","color-icons":"color-cold-gray-500","color-input-textarea-readonly":"color-cold-gray-650","color-input-placeholder-text":"color-cold-gray-350","color-item-active-blue":"color-tv-blue-50","color-item-hover-active-bg":"color-tv-blue-100","color-item-hover-bg":"color-tv-blue-100","color-item-hover-blue":"color-tv-blue-100","color-item-selected-blue":"color-tv-blue-50","color-item-active-text":"color-white","color-item-active-bg":"color-tv-blue-500","color-list-item":"color-cold-gray-450","color-news-highlight":"color-tv-blue-100","color-placeholder":"color-cold-gray-350","color-row-hover-active-bg":"color-cold-gray-100","color-sb-scrollbar-body-bg":"color-cold-gray-200","color-section-separator-border":"color-cold-gray-300","color-separator-table-chat":"color-cold-gray-150","color-tag-active-bg":"color-cold-gray-200","color-tag-hover-bg":"color-cold-gray-150","color-text-regular":"color-cold-gray-700","color-tv-button-checked":"color-cold-gray-550","color-scroll-bg":"color-cold-gray-400","color-scroll-border":"color-cold-gray-100","color-widget-border":"color-cold-gray-100","color-scroll-buttons-arrow":"color-white","color-control-intent-default":"color-cold-gray-200","color-control-intent-success":"color-minty-green-600","color-control-intent-primary":"color-tv-blue-500","color-control-intent-warning":"color-tan-orange-500","color-control-intent-danger":"color-ripe-red-500","color-pre-market":"color-tan-orange-600","color-pre-market-bg":"color-tan-orange-400","color-post-market":"color-tv-blue-500","color-post-market-bg":"color-tv-blue-400","color-market-open":"color-minty-green-500","color-market-open-bg":"color-minty-green-400","color-market-closed":"color-cold-gray-400","color-market-holiday":"color-cold-gray-400","color-invalid-symbol":"color-ripe-red-400","color-invalid-symbol-hover":"color-ripe-red-700","color-replay-mode":"color-tv-blue-500","color-replay-mode-icon":"color-white","color-replay-mode-hover":"color-tv-blue-600","color-notaccurate-mode":"color-berry-pink-700","color-notaccurate-mode-bg":"color-berry-pink-400","color-delay-mode":"color-tan-orange-700","color-delay-mode-bg":"color-tan-orange-400","color-eod-mode":"color-grapes-purple-700","color-eod-mode-bg":"color-grapes-purple-400","color-data-problem":"color-ripe-red-600","color-data-problem-bg":"color-ripe-red-400","color-data-problem-hover":"color-ripe-red-700","color-list-item-bg-highlighted":"color-tv-blue-50","color-list-item-bg-selected":"color-tv-blue-100","color-list-item-bg-highlighted-hover":"color-tv-blue-100","color-list-item-bg-selected-hover":"color-tv-blue-200","color-screener-header-bg":"color-white","color-screener-header-bg-hover":"color-cold-gray-100","color-marker-flagged":"color-ripe-red-400","color-marker-flagged-hovered":"color-ripe-red-600","color-ask":"color-ripe-red-400","color-sell":"color-ripe-red-400","color-buy":"color-tv-blue-500","color-neutral":"color-cold-gray-500","color-pro":"color-minty-green-400","color-pro-hover":"color-minty-green-600","color-pro-plus":"color-tv-blue-500","color-pro-plus-hover":"color-tv-blue-600","color-pro-premium":"color-tan-orange-500","color-pro-premium-hover":"color-tan-orange-700","color-trial":"color-cold-gray-500","color-trial-hover":"color-cold-gray-600","color-mod":"color-ripe-red-400","color-mod-hover":"color-ripe-red-600","color-ad":"color-tan-orange-500","color-broker-featured":"color-minty-green-400","color-broker-featured-hover":"color-minty-green-600","color-alert-status-active":"color-minty-green-400","color-alert-status-stopped":"color-ripe-red-500","color-alert-status-triggered":"color-tan-orange-500","color-overlay":"color-cold-gray-400","color-search-button-hover":"color-cold-gray-150","color-common-tooltip-text":"color-cold-gray-100","color-replay-data-mode":"color-radical-red","color-legacy-success":"color-keppel-1","color-collapse-tabs-border":"color-athens-gray-3","color-site-widget-hover":"color-athens-gray-1","color-attention":"color-sunglow","color-card-border":"color-cold-gray-150","color-card-border-hover":"color-cold-gray-300","color-background-special-primary":"color-white","color-stroke-special-primary":"color-cold-gray-150","color-selection-bg":"color-tv-blue-100"}') -;var n=i(88537);const o={...s,...r},a={},l=Object.keys(o).length,c=/^#[0-9A-F]{6}$/i;Object.keys(o).forEach(e=>{const t=function e(t,i=[]){const s=o[t];if(!s)return null;if(c.test(s))return s;const r=s;return i.push(t),-1!==i.indexOf(r)?(console.warn("Colors definitions cycled"),s):i.length>l?(console.warn("Too many variables-link in HEX-color search: "+i[0]),null):e(r,i)}(e);a[e]=(0,n.ensureNotNull)(t)});const h=a;function d(e){const t=h[e];if(!t)throw new Error("No such color "+e);return t}},74991:(e,t,i)=>{"use strict";i.d(t,{dur:()=>s,easingFunc:()=>r,CubicBezier:()=>n});const s=350,r={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e*e:(4-2*e)*e-1,easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1- --e*e*e*e,easeInOutQuart:e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1+--e*e*e*e*e,easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e};class n{constructor(e,t,i,s){this._mX1=e,this._mY1=t,this._mX2=i,this._mY2=s}easingFunc(e){return this._mX1===this._mY1&&this._mX2===this._mY2?e:this._calcBezier(this._getTForX(e))}_a(e,t){return 1-3*t+3*e}_b(e,t){return 3*t-6*e}_c(e){return 3*e}_calcBezier(e){return((this._a(this._mY1,this._mY2)*e+this._b(this._mY1,this._mY2))*e+this._c(this._mY1))*e}_getSlope(e){return 3*this._a(this._mX1,this._mX2)*e*e+2*this._b(this._mX1,this._mX2)*e+this._c(this._mX1)}_getTForX(e){let t=e;for(let i=0;i<4;++i){const i=this._getSlope(t);if(0===i)return t;t-=(this._calcBezier(t)-e)/i}return t}}},77317:(e,t,i)=>{"use strict";i.d(t,{setupChartEventHint:()=>d});var s=i(88537),r=i(28353),n=i(56840),o=i(85733),a=i(44601),l=i(49483),c=i(68335),h=i(67337);function d(e,t=!1){if(!h.enabled("popup_hints"))return;const d=e.getContainer();let u=null,p=null;function _(e,t){if(u)u.show(e,g.bind(null,t));else{const s=o.tool.value();Promise.all([i.e(5514),i.e(3402),i.e(6166)]).then(i.bind(i,5015)).then(i=>{u=new i.ChartEventHintRenderer(d),s===o.tool.value()&&u.show(e,g.bind(null,t))})}}function m(e){return!Boolean(n.getBool(e))}function g(e){n.setValue(e,!0,{forceFlush:!0}),(0,s.ensureNotNull)(u).destroy(),null!==p&&p(),u=null}o.tool.subscribe((function(){if(!m("hint.touchPainting"))return;const e=o.tool.value(),t=(0,a.isLineToolDrawWithoutPoints)(e),i=l.CheckMobile.any();!(0,a.isStudyLineToolName)(e)||"LineToolRegressionTrend"===e||t||i?(0,a.isLineToolName)(e)&&!(0,a.isLineDrawnWithPressedButton)(e)&&!t&&i?_((0,r.t)("Move the point to position the anchor then tap to place"),"hint.touchPainting"):u&&u.hide():_((0,r.t)("Click to set a point"),"hint.touchPainting")})),o.createdLineTool.subscribe(null,(function(){const e=o.tool.value();"LineToolPath"===e&&m("hint.finishBuildPathByDblClick")?_((0,r.t)("Double-click to finish Path"),"hint.finishBuildPathByDblClick"):"LineToolPolyline"===e&&m("hint.finishBuildPolylineByDblClick")&&_((0,r.t)("Double-click to finish Polyline"),"hint.finishBuildPolylineByDblClick")})),o.finishedLineTool.subscribe(null,(function(){if(u){ -const e=o.tool.value();"LineToolPath"===e?g("hint.finishBuildPathByDblClick"):"LineToolPolyline"===e&&g("hint.finishBuildPolylineByDblClick")}})),e.layoutSizesChanged().subscribe((function(){if(!m("hint.startResizingChartInLayout"))return;_((0,r.t)("Double-click any edge to reset layout grid"),"hint.startResizingChartInLayout")})),t||l.CheckMobile.any()||!m("hint.startFocusedZoom")||(p=function(e,t){let i=!1;const s=r=>{r?(i&&t(r),e.onZoom().unsubscribe(null,s)):i||(t(r),i=!0)};return e.onZoom().subscribe(null,s),()=>e.onZoom().unsubscribe(null,s)}(e,(function(e){if(!m("hint.startFocusedZoom"))return;if(e)u&&(p=null,g("hint.startFocusedZoom"));else{const e=c.isMacKeyboard?"⌘":"Ctrl";_((0,r.t)("Press and hold {key} while zooming to maintain the chart position").format({key:e}),"hint.startFocusedZoom")}})))}},81602:(e,t,i)=>{"use strict";i.d(t,{setupChartScreenshotHint:()=>o});var s=i(28353),r=i(76422),n=i(88537);function o(e,t){const o=(0,s.t)("Link to the chart image copied to clipboard {emoji}").format({emoji:"👍"}),a=(0,s.t)("Chart image copied to clipboard {emoji}").format({emoji:"👍"});r.on("onServerScreenshotCopiedToClipboard",()=>h(o),null),r.on("onClientScreenshotCopiedToClipboard",()=>h(a),null);let l=null;const c=e.getContainer();function h(e){l?l.show(e):Promise.all([i.e(5514),i.e(7037),i.e(92)]).then(i.bind(i,78621)).then(i=>{l||(l=new i.ChartScreenshotHintRenderer((0,n.ensureNotNull)(c),{bottomPadding:t.seriesControlBarEnabled}),l.show(e))})}}},94194:(e,t,i)=>{"use strict";i.d(t,{getTooltipData:()=>r,setTooltipData:()=>n});const s=new WeakMap;function r(e,t){const i=s.get(e);return i instanceof Function?i(t):i&&i[t]}function n(e,t,i){if(i instanceof Function)return void s.set(e,i);const r=s.get(e),n=void 0===r||r instanceof Function?{}:r;n[t]=i,s.set(e,n)}},61814:(e,t,i)=>{"use strict";i.d(t,{hotKeySerialize:()=>r,hotKeyDeserialize:()=>n});var s=i(11372);function r(e){return(0,s.clean)(JSON.stringify(e))}function n(e){return JSON.parse((0,s.clean)(e,!0))}},38780:(e,t,i)=>{"use strict";i.d(t,{hide:()=>G,show:()=>U,showOnElement:()=>z});var s=i(32563);let r=0,n=0,o=0;function a(){clearTimeout(r),clearTimeout(n),clearTimeout(o)}function l(e,t){r=setTimeout(e,t)}const c="tooltip-root-element";let h;function d(){const e=document.getElementById(c);e?h=e:(h=document.createElement("div"),h.id=c,document.body.appendChild(h))}function u(){h&&(h.innerHTML="")}"interactive"===document.readyState?d():document.addEventListener("DOMContentLoaded",d);var p=i(88537);const _={default:"",white:"theme-white","round-shadow":"theme-round-shadow"},m=Object.keys(_);var g=i(94194),f=i(61814),v=i(62046),S=i(62820),y=(i(94419),i(54475)),b=i(64514),w=i(49483),C=i(89405);function P(e){const t=function(e){const t=e.hasAttribute("data-tooltip")?e.getAttribute("data-tooltip"):e.getAttribute("title");return t&&((0,g.setTooltipData)(e,"text",t),e.removeAttribute("title")),(0,g.getTooltipData)(e,"text")||""}(e),i=e.getBoundingClientRect(),s={h:i.height,w:i.width,x:i.left,y:i.top -},r=e.getAttribute("data-color-theme")||"",n=e.classList.contains("common-tooltip-html"),o=parseInt(e.getAttribute("data-tooltip-delay")||""),a=parseInt(e.getAttribute("data-tooltip-debounce")||"");let l={type:"none"};return t&&(l={type:n?"html":"text",data:t}),{above:e.classList.contains("common-tooltip-above"),below:e.classList.contains("common-tooltip-below"),otl:e.classList.contains("common-tooltip-otl"),otr:e.classList.contains("common-tooltip-otr"),vertical:e.classList.contains("common-tooltip-vertical"),hotkey:e.getAttribute("data-tooltip-hotkey"),narrow:e.classList.contains("common-tooltip-narrow"),wide:e.classList.contains("common-tooltip-wide"),colorTheme:r,tooltipDelay:o,tooltipDebounce:a,rect:s,content:l,target:e}}function T(e){const t=k.cloneNode(!0),i=B(t),{content:s}=e;switch(s.type){case"element":i.innerHTML="",i.appendChild(s.data);break;case"html":i.innerHTML=s.data;break;case"text":if(e.hotkey){const e=V.cloneNode(!0);e.innerText=s.data,i.appendChild(e)}else i.innerText=s.data}if(e.hotkey){const t="none"!==s.type,r=D.cloneNode(!0),n=(0,f.hotKeyDeserialize)(e.hotkey),o=n.keys.map(e=>`${e}`);r.innerHTML=function(e,t){return e.replace(/{\d}|{hotkey_\d}/gi,e=>{const i=Number(e.match(/\d/));return t[i]})}(n.text,o).replace(/\s\+\s/g,`+`),i.classList.add(C["common-tooltip__body--with-hotkey"]),t&&r.classList.add(C["common-tooltip__hotkey-block--divider"]),i.appendChild(r)}return t.addEventListener("contextmenu",y.preventDefault),t}function x(e,t){const i=t.rect;if(!i)return;!function(e,t){const i=m.includes(t)?_[t]:"";e.classList.remove(...m.map(e=>_[e]).filter(e=>!!e)),i&&!e.classList.contains(i)&&e.classList.add(i)}(e,t.colorTheme||"default"),t.addClass&&e.classList.add(t.addClass);const s=B(e),r=e.querySelector("."+C["common-tooltip__button-container"]);s.classList.toggle(C["common-tooltip__body--width_wide"],Boolean(t.wide)),s.classList.toggle(C["common-tooltip__body--no-padding"],Boolean(t.noPadding)),s.classList.toggle(C["common-tooltip__body--width_narrow"],Boolean(t.narrow)),s.classList.toggle(C["common-tooltip__body--no-buttons"],!0),s.style.left=M(0),s.style.width=M(s.clientWidth+(Boolean(t.noPadding)?0:2));const n=document.body.clientWidth,o=w.CheckMobile.iOS()||(0,w.supportTouch)()&&(0,w.isMac)()?window.innerHeight:document.body.clientHeight,a=t.vertical,l=t.extendMargin||a&&i.w<20||!a&&i.h<20;e.classList.toggle(C["common-tooltip--farther"],l),e.classList.toggle(C["common-tooltip--vertical"],a),e.classList.toggle(C["common-tooltip--horizontal"],!a);const c=function(e){return e.querySelector("."+C["common-tooltip__ear-holder"])}(e),h=e.offsetHeight;if(a){const a=10,l=o-10,d=12,u=a+d,p=l-d,_=(0,b.clamp)(i.y+i.h/2,u,p)-h/2,m=_+h;e.style.left=M(i.x+i.w),e.style.top=M(_),_l&&(s.style.top=r.style.top=M(l-m));const{right:g}=(e.querySelector(":last-child")||s).getBoundingClientRect(),f=g+10>n -;e.classList.toggle(C["common-tooltip--direction_reversed"],f),e.classList.toggle(C["common-tooltip--direction_normal"],!f);let v=f?"after":"before";(0,S.isRtl)()?(v=t.otr?"after":v,v=t.otl?"before":v):(v=t.otr?"before":v,v=t.otl?"after":v),c.classList.toggle(C["common-tooltip__ear-holder--before"],"before"===v),c.classList.toggle(C["common-tooltip__ear-holder--after"],"after"===v),"after"===v&&(e.style.left="auto",e.style.right=M(n-i.x))}else{const a=i.x-(s.offsetWidth-i.w)/2,l=n-10-e.offsetWidth,d=Math.max(10,Math.min(a,l));e.style.left=M(d);const u=l\n\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n`,A=`\n\t
    \n`,E=`\n\t
    \n`,k=(0,v.parseHtmlElement)(L),D=(0,v.parseHtmlElement)(A),V=(0,v.parseHtmlElement)(E);function B(e){return e.querySelector("."+C["common-tooltip__body"])}function N(e,t){return 10+ez(t);if(i()){const e=e=>{e.target instanceof Element&&e.target.contains(t)&&s(null,!0)},s=(r,n=!1)=>{t.removeEventListener("common-tooltip-update",i),t.removeEventListener("mouseleave",s),t.removeEventListener("mousedown",s),document.removeEventListener("scroll",e,{capture:!0}),W&&(W.destroy(),W=null),G(n)};t.addEventListener("common-tooltip-update",i),t.addEventListener("mouseleave",s),t.addEventListener("mousedown",s),document.addEventListener("scroll",e,{capture:!0}),null===W&&(W=(0,R.createGroup)({desc:"Tooltip"}),W.add({desc:"Hide",hotkey:27, -handler:s}));break}}}),!0);const H=new MutationObserver(()=>{if(F&&F.options.target){let e;e="isConnected"in F.options.target?F.options.target.isConnected:document.body.contains(F.options.target),e||G()}}),z=(e,t={})=>{const{content:i,...s}=Y(t),r=P(e),n=Object.assign(r,s);return"none"!==i.type&&(n.content=i),!("none"===n.content.type&&!n.hotkey)&&(n.target=e,U(n),!0)},U=e=>{const t=Y(e),i=T(t);var s;if(F={options:t,element:i},s=i,u(),h&&h.appendChild(s),a(),!O)return I(i),void l(()=>q(i),function(e){return"number"!=typeof e.tooltipDelay||isNaN(e.tooltipDelay)?500:e.tooltipDelay}(t));const{tooltipDebounce:r}=e;"number"!=typeof r||isNaN(r)?q(i):l(()=>q(i),r)};function j(){u(),O=!1,F=null}const G=e=>{if(a(),H.disconnect(),!F)return;if(!e&&!O)return;const{element:t,options:i}=F,s=()=>{t.removeEventListener("mouseleave",s),I(t),e?j():o=setTimeout(()=>{j()},250)};var r,l;i.tooltipHideDelay?(r=()=>{t.querySelector(":hover")?t.addEventListener("mouseleave",s):s()},l=i.tooltipHideDelay,n=setTimeout(r,l)):s()};function q(e){const{options:t}=(0,p.ensureNotNull)(F);if(x(e,t),function(e){e.classList.toggle(C["common-tooltip--hidden"],!1)}(e),H.observe(document,{childList:!0,subtree:!0}),O=!0,t.forceHideOnMove){const e=()=>{document.removeEventListener("mousemove",e),G()};document.addEventListener("mousemove",e)}}function Y(e){if(function(e){return"content"in e}(e))return e;const{inner:t,html:i,text:s,...r}=e;let n={type:"none"};return t&&(n={type:"element",data:t}),s&&(n={type:i?"html":"text",data:s}),{content:n,...r}}},28325:(e,t,i)=>{"use strict";i.d(t,{ChartPage:()=>d});var s=i(52714),r=i.n(s),n=i(31940);function o(e,t){let i=0;for(const{min:s,max:r}of t){if(e0&&t.push({min:e,max:s})}return t.sort((e,t)=>e.min-t.min||e.max-t.max),t}function l(e,t){if(e.length!==t.length)return!1;for(let i=e.length;i--;){if(e[i].min!==t[i].min)return!1;if(e[i].max!==t[i].max)return!1}return!0}var c=i(67337);const h=c.enabled("no_min_chart_width");class d{constructor(e){this._processVisibility=e=>{const t=e.container.value();return this._affectsLayout(e.name)?(t&&t.classList.toggle("js-hidden",!1),!0):(t&&t.classList.toggle("js-hidden",!0),!1)},this._setWidth=(e,t)=>{let i=t;this._fullscreenArea!==e.name&&(e.availWidth.setValue(t),e.canNegotiate.width&&(i=o(t,e.negotiations.width)));const s=e.container.value();return s&&(s.style.width=i+"px"),e.width.setValue(i),i},this._setHeight=(e,t)=>{let i=t;this._fullscreenArea!==e.name&&(e.availHeight.setValue(t),e.canNegotiate.height&&(i=o(t,e.negotiations.height)));const s=e.container.value();return s&&(s.style.height=i+"px"),e.height.setValue(i),i};const t=e.container.value();if(!t)throw new Error("bridge.container.value() must be an element");this._container=t, -this._availableAreas=["left","tradingpanel","right","top","bottom","center","topleft","extratop"],this._areas={},this._bridge=e,this._width=e.width,this._height=e.height,this._width.subscribe(()=>this.recalculate()),this._height.subscribe(()=>this.recalculate()),this._bridge.visible.subscribe(()=>this._updateVisibility()),this._bridge.fullscreen.subscribe(()=>this._onParentFullscreenChange()),this.recalculate()}allocate(e){const t=e&&e.areaName;if(-1===this._availableAreas.indexOf(t))throw new Error("unknown options.areaName");this.free(t);const i=this._createDOM(t),s={name:t,canNegotiate:{width:"left"===t||"right"===t||"tradingpanel"===t||"topleft"===t,height:"top"===t||"bottom"===t||"topleft"===t||"extratop"===t},negotiations:{width:[],height:[]},remove:()=>{for(const e in this._areas)this._areas[e]===s&&this.free(e)},negotiateWidth:e=>{if(!s.canNegotiate.width)return;const t=a(e);l(s.negotiations.width,t)||(s.negotiations.width=t,this.recalculate())},negotiateHeight:e=>{if(!s.canNegotiate.height)return;const t=a(e);l(s.negotiations.height,t)||(s.negotiations.height=t,this.recalculate())},requestFullscreen:()=>{this._fullscreenArea||("right"!==t&&"center"!==t||(this._fullscreenArea=t),"center"===t&&this._bridge.requestFullscreen(),this._updateFullscreen())},exitFullscreen:()=>{t===this._fullscreenArea&&(this._fullscreenArea=void 0,"center"===t&&this._bridge.exitFullscreen(),this._updateFullscreen())},width:new(r()),height:new(r()),availWidth:new(r()),availHeight:new(r()),alive:new(r())(!0),container:new(r())(i),visible:new(r())(!0),fullscreen:new(r())(!1),fullscreenable:new(r())("right"===t||"center"===t),rdState:new n.ResizerDetacherState};return s.rdState.pushOwner(s),this._areas[t]=s,s.rdState.owner.subscribe(e=>{const i=s.container.value();if(e!==s)i&&(i.innerHTML="",i.parentElement&&i.parentElement.removeChild(i));else{let e=null;for(let i=this._availableAreas.indexOf(t);i--;){const t=this._availableAreas[i];if(this._affectsLayout(t)){e=this._areas[t].container.value();break}}i&&(e&&i.parentElement?i.insertAdjacentElement("afterend",e):this._container.appendChild(i))}this.recalculate()},{callWithLast:!0}),s.rdState.bridge()}free(e){const t=this._areas[e];if(!t)return;this._areas[e]=void 0;const i=t.container.value();i&&i.parentElement&&i.parentElement.removeChild(i),t.alive.setValue(!1)}recalculate(){const e={};this._recalcSingleRunToken=e;const t=this._areas.topleft,i=this._areas.left,s=this._areas.tradingpanel,r=this._areas.right,n=this._areas.top,o=this._areas.bottom,a=this._areas.center,l=this._areas.extratop,c=this._width.value(),d=this._height.value();let u=0,p=0,_=0,m=0,g=0,f=0,v=0,S=0;if(e===this._recalcSingleRunToken&&l&&this._processVisibility(l)&&(S=this._setHeight(l,d),this._setWidth(l,c)),e===this._recalcSingleRunToken&&t&&this._processVisibility(t)){v=this._setHeight(t,d),f=this._setWidth(t,c);const e=t.container.value();e&&(e.style.top=S+"px")}let y=0;if(e===this._recalcSingleRunToken&&n&&this._processVisibility(n)){const e=n.container.value();e&&(e.style.left=f+"px",e.style.top=S+"px") -;const t=c-f;this._setWidth(n,t),u=this._setHeight(n,d),u&&(y=1)}if(e===this._recalcSingleRunToken&&i&&this._processVisibility(i)){const e=Math.max(v,u),t=i.container.value();_=this._setWidth(i,c),_&&(_+=4),_&&1===y&&(y=4),t&&(t.style.top=e+S+y+"px"),this._setHeight(i,d-e-S)}if(e===this._recalcSingleRunToken&&s&&this._processVisibility(s)){let e=c-_;h||(e-=300),g=this._setWidth(s,e),g&&1===y&&(y=4),this._setHeight(s,d-S-u-y)}if(e===this._recalcSingleRunToken&&r&&this._processVisibility(r)){let e=c-_-g;h||(e-=300),m=this._setWidth(r,e),m&&1===y&&(y=4),this._setHeight(r,d-S-u-y);const t=r.container.value();t&&(t.style.top=u+S+y+"px",t.classList.toggle("no-border-top-left-radius",Boolean(g)))}const b=g+m;let w=0;const C=c-_-g-m-(b?4:0);if(e===this._recalcSingleRunToken&&o&&this._processVisibility(o)){const e=o.container.value();e&&(e.style.left=_+"px",e.classList.toggle("no-border-top-left-radius",!_),e.classList.toggle("no-border-top-right-radius",!b)),this._setWidth(o,C);const t=d-S;w=Math.min(300,t-0),p=this._setHeight(o,t)+4}const P=Boolean(u&&(_||b));if(this._container.classList.toggle("layout-with-border-radius",P),e===this._recalcSingleRunToken&&a&&this._processVisibility(a)){const e=a.container.value();e&&(e.style.left=_+"px",e.style.top=u+S+y+"px",e.classList.toggle("no-border-bottom-left-radius",!p||!_),e.classList.toggle("no-border-bottom-right-radius",!b||!p),e.classList.toggle("no-border-top-left-radius",Boolean(!_&&b)),e.classList.toggle("no-border-top-right-radius",Boolean(_&&!b))),this._setWidth(a,C);const t=d-u-p-S-y;this._setHeight(a,Math.max(t,w))}if(e===this._recalcSingleRunToken&&s&&this._affectsLayout("tradingpanel")){const e=s.container.value();e&&(e.style.right=m+"px",e.style.top=S+u+y+"px",e.style.borderTopLeftRadius=P?"4px":"0px")}e===this._recalcSingleRunToken&&this._updateVisibility()}_affectsLayout(e){const t=this._areas[e];if(!t)return!1;if(t.rdState.owner.value()!==t)return!1;if(this._fullscreenArea&&this._fullscreenArea!==e)return u(e);if(this._width.value()<=567||this._height.value()<=445){if(!["center","top","left","topleft","extratop"].includes(e))return!1}return!0}_updateVisibility(){const e=this._bridge.visible.value();for(let t=0;t{"use strict";i.d(t,{ResizerDetacherState:()=>o});var s=i(88537),r=i(52714),n=i.n(r);class o{constructor(e){this._alive=new(n()),this._container=new(n()),this._width=new(n()),this._height=new(n()),this._fullscreen=new(n()),this._detachable=new(n()),this._fullscreenable=new(n()),this._visible=new(n()),this._availWidth=new(n()),this._availHeight=new(n()),this._owner=new(n()),this._ownersStack=[],this.owner=this._owner.readonly(),this._bridge={alive:this._alive.readonly(),container:this._container.readonly(),width:this._width.readonly(),height:this._height.readonly(),fullscreen:this._fullscreen.readonly(),detachable:this._detachable.readonly(),fullscreenable:this._fullscreenable.readonly(),visible:this._visible.readonly(),availWidth:this._availWidth.readonly(),availHeight:this._availHeight.readonly(),remove:()=>{const e=this._owner.value();e&&e.remove&&e.remove()},negotiateWidth:e=>{const t=this._owner.value();t&&t.negotiateWidth&&t.negotiateWidth(e)},negotiateHeight:e=>{const t=this._owner.value();t&&t.negotiateHeight&&t.negotiateHeight(e)},requestFullscreen:()=>{const e=this._owner.value();e&&e.requestFullscreen&&e.requestFullscreen()},exitFullscreen:()=>{const e=this._owner.value();e&&e.exitFullscreen&&e.exitFullscreen()},detach:e=>{const t=this._owner.value();t&&t.detach&&t.detach(e)},attach:()=>{const e=this._owner.value();e&&e.attach&&e.attach()}},e&&this.pushOwner(e)}bridge(){return this._bridge}pushOwner(e){if(!e.alive.value())return;for(const e of this._ownersStack)this._unsubscribeOwner(e);const t={owner:e};this._ownersStack.push(t),this._subscribeOwner(t)}_subscribeOwner(e){const t=e.owner;if(e.deathWatcher||(this._alive.setValue(!0),e.deathWatcher=t.alive.spawn(),e.deathWatcher.subscribe(t=>{t||this._deadHandler(e)})),this._owner.setValue(t),!e.subscriptions){const i=e.subscriptions=[];this._visible.setValue(!1);const s=(e,t)=>{if(e){const s=e.spawn();i.push(s),s.subscribe(e=>{t.setValue(e)},{callWithLast:!0})}else t.deleteValue()};s(t.container,this._container),s(t.width,this._width),s(t.height,this._height),s(t.fullscreen,this._fullscreen),s(t.detachable,this._detachable),s(t.fullscreenable,this._fullscreenable),s(t.availWidth,this._availWidth),s(t.availHeight,this._availHeight),s(t.visible,this._visible)}}_unsubscribeOwner(e,t){if(e.subscriptions){for(const t of e.subscriptions)t.unsubscribe();e.subscriptions=null}t&&e.deathWatcher&&(e.deathWatcher.unsubscribe(),e.deathWatcher=null)}_deadHandler(e){const t=this._ownersStack.indexOf(e);(0,s.assert)(-1!==t,"sanitized owner should be in stack");for(let e=this._ownersStack.length-1;e>=t;e--)this._unsubscribeOwner(this._ownersStack[e],!0);this._ownersStack.length=t,t>0?this._subscribeOwner(this._ownersStack[t-1]):(this._alive.setValue(!1),this._owner.deleteValue())}}}, -89356:(e,t,i)=>{"use strict";i.d(t,{Root:()=>d});i(28353);var s=i(52714),r=i.n(s),n=i(31940);class o{constructor(e){this._document=e,this.isFullscreen=new(r());const t=()=>{const e=["fullscreenElement","webkitFullscreenElement","mozFullscreenElement","mozFullScreenElement","msFullscreenElement"];for(let t=0;t{this.isVisible.setValue(!e[r])},i(),e.addEventListener(t,i,!1);break}}this.destroy=()=>{i&&(e.removeEventListener(t,i,!1),i=null)}}}var l=i(84015),c=i(88537),h=i(49483);class d{constructor(e){this._updateDocumentHeight=e=>{"visual"===this._viewportType&&this._window.document.documentElement.style.setProperty("height",e+"px","important")},this._window=e,this._fullscreenApi=new o(e.document),this._viewportType=h.CheckMobile.iOS()&&!(0,l.isOnMobileAppPage)("any")&&this._window.visualViewport?"visual":"quirks","visual"===this._viewportType?this._viewport=(0,c.ensureDefined)(this._window.visualViewport):this._viewport=this._window;const t=this._layoutSizeSensor=this._window.document.createElement("div");t.id="layout-size-sensor",t.style.position="fixed",t.style.top="0",t.style.left="0",t.style.right="0",t.style.bottom="0",t.style.pointerEvents="none",t.style.visibility="hidden",this._initFullscreen()}allocate(){this.free();const e=this._window.document,t=e.createElement("div");t.classList.add("js-rootresizer__contents"),t.style.position="relative",t.style.width="100%",t.style.height="100%",e.body.insertAdjacentElement("afterbegin",t),e.body.insertAdjacentElement("afterbegin",this._layoutSizeSensor),this._visibilityApi=new a(this._window.document);const i={alive:new(r())(!0),fullscreenable:new(r())(!0),container:new(r())(t),width:new(r()),height:new(r()),availWidth:new(r()),availHeight:new(r()),visible:this._visibilityApi.isVisible,fullscreen:this._fullscreenApi.isFullscreen,remove:()=>{i.alive.setValue(!1)},attach:()=>{i.alive.setValue(!1),this._window.close()},requestFullscreen:()=>{this._requestFullscreen()},exitFullscreen:()=>{this._exitFullscreen()}};return i.alive.subscribe(e=>{e||i!==this._area||this.free()}),this._area=i,this._resizeHandler=()=>{const e=this._width(i)||800,t=this._height(i)||600;i.availHeight.setValue(t),i.availWidth.setValue(e), -i.height.setValue(t),i.width.setValue(e)},this._area.height.subscribe(this._updateDocumentHeight,{callWithLast:!0}),this._resizeHandler(),this._viewport.addEventListener("resize",this._resizeHandler),new n.ResizerDetacherState(i).bridge()}free(){if(this._resizeHandler&&(this._viewport.removeEventListener("resize",this._resizeHandler),this._resizeHandler=void 0),this._visibilityApi&&(this._visibilityApi.destroy(),this._visibilityApi=void 0),this._area){const e=this._area;this._area=void 0,e.height.unsubscribe(this._updateDocumentHeight),e.alive.setValue(!1);const t=e.container.value(),i=null==t?void 0:t.parentElement;i&&(i.removeChild(t),i.removeChild(this._layoutSizeSensor))}}_height(e){if("visual"===this._viewportType)return this._layoutSizeSensor.clientHeight;return e.container.value().clientHeight}_width(e){return e.container.value().clientWidth}_requestFullscreen(){this._fullscreenApi.enter()}_exitFullscreen(){this._fullscreenApi.exit()}_initFullscreen(){this._fullscreenApi.isFullscreen.subscribe(e=>{this._resizeHandler&&this._resizeHandler()})}}},33134:(e,t,i)=>{"use strict";i.d(t,{DEFAULT_SIZE:()=>s,spinnerSizeMap:()=>r});const s="large",r={mini:"xsmall",xsmall:"xsmall",small:"small",medium:"medium",large:"large"}},4185:(e,t,i)=>{"use strict";i.d(t,{Spinner:()=>o});i(24780);var s=i(62046),r=i(33134);const n=(0,s.parseHtmlElement)(function(e=""){return`
    `}());class o{constructor(e){this._shown=!1,this._el=n.cloneNode(!0),this.setSize(r.spinnerSizeMap[e||r.DEFAULT_SIZE])}spin(e){return this._el.classList.add("tv-spinner--shown"),void 0===this._container&&(this._container=e,void 0!==e&&e.appendChild(this._el)),this._shown=!0,this}stop(e){return e&&void 0!==this._container&&this._container.removeChild(this._el),this._el.classList.remove("tv-spinner--shown"),this._shown=!1,this}setStyle(e){return Object.keys(e).forEach(t=>{const i=e[t];void 0!==i&&this._el.style.setProperty(t,i)}),this}style(){return this._el.style}setSize(e){const t=void 0!==e?"tv-spinner--size_"+e:"";return this._el.className=`tv-spinner ${t} ${this._shown?"tv-spinner--shown":""}`,this}getEl(){return this._el}destroy(){this.stop(),delete this._el,delete this._container}}},5683:(e,t,i)=>{"use strict";i.d(t,{createStubElem:()=>r});var s=i(65592);function r(e=[],t=[]){const i=document.createElement("div"),r=document.createElement("div");return i.appendChild(r),i.classList.add(s.container),r.classList.add(s.inner),e.forEach(e=>{i.classList.add(s[e])}),t.forEach(e=>{i.classList.add(s[e])}),i}},45973:(e,t,i)=>{"use strict";i.r(t),i.d(t,{lineToolEntityInfo:()=>o,studyEntityInfo:()=>a,seriesEntityInfo:()=>l,entityForDataSource:()=>c});var s=i(81851),r=i(16906),n=i(14291);function o(e){return{id:e.id(),name:(t=e.toolname,Object.keys(r.supportedLineTools).find(e=>r.supportedLineTools[e].name===t)||null)};var t}function a(e){return{id:e.id(),name:e.metaInfo().description}}function l(e){return{id:e.id(),name:"Main Series"}}function c(e,t){return t===e.mainSeries()?l(e.mainSeries()):(0,s.isStudy)(t)?a(t):(0, -n.isLineTool)(t)?o(t):null}},68582:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isLineToolRiskReward:()=>a,LineDataSourceApi:()=>c});var s=i(88537),r=i(80643);const n=new Map([["LineToolRiskRewardLong",2],["LineToolRiskRewardShort",2],["LineToolBezierQuadro",3],["LineToolBezierCubic",4]]);function o(e){const t=n.get(e.toolname);if(void 0!==t)return t;const i=e.pointsCount();return-1===i?e.points().length:i}function a(e){return"LineToolRiskRewardLong"===e||"LineToolRiskRewardShort"===e}const l=["alwaysShowStats","entryPrice","inputs.first bar time","inputs.last bar time","interval","linesWidths","points","snapTo45Degrees","stopPrice","symbol","symbolStateVersion","currencyId","unitId","targetPrice","zOrderVersion"];class c{constructor(e,t,i){this._source=e,this._undoModel=t,this._model=t.model(),this._pointsConverter=i}isSelectionEnabled(){return this._source.isSelectionEnabled()}setSelectionEnabled(e){this._source.setSelectionEnabled(e)}isSavingEnabled(){return this._source.isSavedInChart()}setSavingEnabled(e){this._source.setSavingInChartEnabled(e)}isShowInObjectsTreeEnabled(){return this._source.showInObjectTree()}setShowInObjectsTreeEnabled(e){this._source.setShowInObjectsTreeEnabled(e)}isUserEditEnabled(){return this._source.userEditEnabled()}setUserEditEnabled(e){this._source.setUserEditEnabled(e)}bringToFront(){this._model.bringToFront([this._source])}sendToBack(){this._model.sendToBack([this._source])}getProperties(){return this._source.properties().state(l,!0)}setProperties(e){this._setProps(this._source.properties(),e,"")}getPoints(){let e=this._source.points();const t=o(this._source);return e.length>t&&((0,s.assert)(a(this._source.toolname)),e=e.slice(0,t)),this._pointsConverter.dataSourcePointsToPriced(e)}setPoints(e){if(this._source.isFixed())return;const t=o(this._source);if(t!==e.length)throw new Error(`Wrong points count. Required: ${t}, provided: ${e.length}`);const i=this._pointsConverter.apiPointsToDataSource(e);this._model.startChangingLinetool(this._source),this._model.changeLinePoints(this._source,i),this._model.endChangingLinetool(!0),this._source.createServerPoints()}ownerSourceId(){return(0,s.ensureNotNull)(this._source.ownerSource()).id()}changePoint(e,t){if(this._source.isFixed())return;const i=this._pointsConverter.apiPointsToDataSource([e])[0];this._model.startChangingLinetool(this._source,{...i},t),this._model.changeLinePoint({...i}),this._model.endChangingLinetool(!1),this._source.createServerPoints()}isHidden(){return this._source.isSourceHidden()}getRawPoints(){return this._source.points()}setRawPoint(e,t){this._model.startChangingLinetool(this._source,{...t},e),this._model.changeLinePoint({...t}),this._model.endChangingLinetool(!1)}move(e,t){this._model.startMovingSources([this._source],{logical:e},null,new Map),this._model.moveSources({logical:t},new Map),this._model.endMovingSources(!1)}dataAndViewsReady(){return this._source.dataAndViewsReady()}zorder(){return this._source.zorder()}symbol(){return this._source.properties().symbol.value()}currency(){ -return this._source.properties().currencyId.value()}unit(){return this._source.properties().unitId.value()}share(e){this._undoModel.shareLineTools([this._source],e)}sharingMode(){return this._source.sharingMode().value()}_setProps(e,t,i){for(const s in t){if(!t.hasOwnProperty(s))continue;const n=0===i.length?s:`${i}.${s}`;if(e.hasOwnProperty(s)){const i=t[s];(0,r.isHashObject)(i)?this._setProps(e[s],i,n):e[s].setValue(i)}else console.warn(`Unknown property "${n}"`)}}}},56233:(e,t,i)=>{"use strict";i.d(t,{PaneApi:()=>u});var s=i(88537),r=i(42534),n=i(45973),o=i(80643),a=i(28353),l=i(24980),c=i(35762);const h=new l.TranslatedString("change pane height",(0,a.t)("change pane height"));class d extends c.UndoCommand{constructor(e,t,i){super(h),this._model=e,this._paneIndex=t,this._paneHeight=i,this._prevStretchFactors=this._model.panes().map(e=>e.stretchFactor())}redo(){this._model.changePanesHeight(this._paneIndex,this._paneHeight)}undo(){const e=this._model.panes();for(let t=0;t(0,n.entityForDataSource)(e,t)).filter(o.notNull).filter(e=>null!==e.name)}getHeight(){return this._pane.height()}setHeight(e){const t=this._chartWidget.model().model(),i=t.panes();(0,s.assert)(i.length>1,"Unable to change pane's height if there is only one pane");const r=i.indexOf(this._pane);(0,s.assert)(-1!==r,"Invalid pane index");const n=new d(t,r,e);this._chartWidget.model().undoHistory().pushUndoCommand(n)}moveTo(e){const t=this.paneIndex();t!==e&&((0,s.assert)(e>=0&&e{"use strict";i.d(t,{PriceScaleApi:()=>s});class s{constructor(e,t){this._chartUndoModel=e,this._chartModel=e.model(),this._priceScale=t}getMode(){const e=this._priceScale.properties().childs();return e.percentage.value()?2:e.indexedTo100.value()?3:e.log.value()?1:0}setMode(e){this._priceScale.setMode({percentage:2===e,log:1===e,indexedTo100:3===e})}isInverted(){return this._priceScale.isInverted()}setInverted(e){this._priceScale.properties().childs().isInverted.setValue(e)}isLocked(){return this._priceScale.isLockScale()}setLocked(e){this._priceScale.setMode({lockScale:e})}isAutoScale(){return this._priceScale.isAutoScale()}setAutoScale(e){this._priceScale.setMode({autoScale:e})}getVisiblePriceRange(){return this._priceScale.priceRangeInPrice()}setVisiblePriceRange(e){this._priceScale.setPriceRangeInPrice(e),this._chartModel.lightUpdate()}hasMainSeries(){return this._priceScale.hasMainSeries()}getStudies(){return this._priceScale.getStudies().map(e=>e.id())}currency(){const e=this._priceScale.currency(this._chartModel.availableCurrencies());return null===e?null:{selectedCurrency:e.selectedCurrency,readOnly:e.readOnly}}setCurrency(e){this._chartUndoModel.setPriceScaleCurrency(this._priceScale,e)}unit(){const e=this._priceScale.unit(this._chartModel.availableUnits());return null===e?null:{selectedUnit:e.selectedUnit,readOnly:0===e.availableGroups.size,availableGroups:Array.from(e.availableGroups)}}setUnit(e){this._chartUndoModel.setPriceScaleUnit(this._priceScale,e)}}},32112:(e,t,i)=>{"use strict";function s(e,t){const i=e.dataSourceForId(t);if(null===i)throw new Error(`Chart has no study or shape with id "${t}"`);return i}i.d(t,{SelectionApi:()=>r});class r{constructor(e){this._model=e}add(e){Array.isArray(e)?this._model.selectionMacro(t=>{e.map(s.bind(null,this._model)).forEach(e=>t.addSourceToSelection(e))}):this.add([e])}canBeAddedToSelection(e){const t=s(this._model,e);return this._model.selection().canBeAddedToSelection(t)}set(e){Array.isArray(e)?this._model.selectionMacro(t=>{t.clearSelection(),e.map(s.bind(null,this._model)).forEach(e=>t.addSourceToSelection(e))}):this.set([e])}remove(e){Array.isArray(e)?this._model.selectionMacro(t=>{e.map(s.bind(null,this._model)).forEach(e=>t.removeSourceFromSelection(e))}):this.remove([e])}contains(e){const t=s(this._model,e);return this._model.selection().isSelected(t)}allSources(){return this._model.selection().dataSources().map(e=>e.id())}isEmpty(){return this._model.selection().isEmpty()}clear(){this._model.selectionMacro(e=>{e.clearSelection()})}onChanged(){return this._model.onSelectedSourceChanged()}}},82650:(e,t,i)=>{"use strict";i.d(t,{SeriesApi:()=>l});var s=i(88537),r=i(8597),n=i(36551),o=i(27579),a=i(42534) -;class l{constructor(e,t){this._series=e,this._undoModel=t,this._model=t.model()}isUserEditEnabled(){return this._series.userEditEnabled()}setUserEditEnabled(e){this._series.setUserEditEnabled(e)}mergeUp(){this._model.isMergeUpAvailableForSource(this._series)&&new r.MergeUpUndoCommand(this._model,this._series,null).redo()}mergeDown(){this._model.isMergeDownAvailableForSource(this._series)&&new r.MergeDownUndoCommand(this._model,this._series,null).redo()}unmergeUp(){this._model.isUnmergeAvailableForSource(this._series)&&new n.UnmergeUpUndoCommand(this._model,this._series,null).redo()}unmergeDown(){this._model.isUnmergeAvailableForSource(this._series)&&new n.UnmergeDownUndoCommand(this._model,this._series,null).redo()}detachToRight(){new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,this._pane(),"right",null).redo()}detachToLeft(){new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,this._pane(),"left",null).redo()}detachNoScale(){new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,this._pane(),"overlay",null).redo()}changePriceScale(e){const t=(0,s.ensureNotNull)(this._model.paneForSource(this._series));switch(e){case"new-left":new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,t,"left",null).redo();break;case"new-right":new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,t,"right",null).redo();break;case"no-scale":(0,s.assert)(t.actionNoScaleIsEnabled(this._series),"Unable to leave a pane without any non-overlay price scale"),new o.MoveToNewPriceScaleUndoCommand(this._model,this._series,t,"overlay",null).redo();break;default:const i=this._model.dataSourceForId(e);if(null===i)throw new Error(`There is no study with entityId='${e}'`);const r=this._model.paneForSource(i)===t;(0,s.assert)(r,"Study should be on the main pane");const n=(0,s.ensureNotNull)(i.priceScale());new o.MoveToExistingPriceScaleUndoCommand(this._model,this._series,t,n,null).redo()}}isVisible(){return this._series.properties().childs().visible.value()}setVisible(e){this._series.properties().childs().visible.setValue(e)}bringToFront(){this._model.bringToFront([this._series])}sendToBack(){this._model.sendToBack([this._series])}entityId(){return this._series.id()}chartStyleProperties(e){return this._series.properties().childs()[c(e)].state(["inputs","inputsInfo"])}setChartStyleProperties(e,t){this._series.properties().childs()[c(e)].mergeAndFire(t)}barsCount(){return this._series.bars().size()}symbolSource(){return{symbol:this._series.symbol(),currencyId:this._series.currency(),unitId:this._series.unit()}}isLoading(){return this._series.isLoading()}data(){return this._series.data()}priceScale(){return new a.PriceScaleApi(this._undoModel,this._series.priceScale())}_pane(){return(0,s.ensureNotNull)(this._model.paneForSource(this._series))}}function c(e){switch(e){case 0:return"barStyle";case 1:return"candleStyle";case 2:return"lineStyle";case 3:return"areaStyle";case 4:return"renkoStyle";case 5:return"kagiStyle";case 6:return"pnfStyle";case 7:return"pbStyle";case 8:return"haStyle";case 9: -return"hollowCandleStyle";case 10:return"baselineStyle";case 11:return"rangeStyle";case 12:return"hiloStyle";case 13:return"columnStyle";default:(0,s.ensureNever)(e)}throw new Error("unsupported chart style: "+e)}},67e3:(e,t,i)=>{"use strict";i.d(t,{StudyApi:()=>y});var s=i(88537),r=i(2872),n=i.n(r),o=i(80643),a=i(59572),l=i(97401),c=i(13795),h=i(36551),d=i(8597),u=i(27579),p=i(61671),_=i(79222),m=i(35588),g=i(42534),f=i(13933),v=i(152),S=i(70120);class y{constructor(e,t){this._onStudyCompleted=new(n()),this._onStudyError=new(n()),this._study=e,this._chartWidget=t,this._undoModel=this._chartWidget.model(),this._model=this._undoModel.model(),this._study.onAboutToBeDestroyed().subscribe(this,()=>{this._study.onStatusChanged().unsubscribeAll(this),this._study.onAboutToBeDestroyed().unsubscribeAll(this)}),this._study.onStatusChanged().subscribe(this,e=>{switch(e.type){case f.StudyStatusType.Completed:this._onStudyCompleted.fire();break;case f.StudyStatusType.Error:this._onStudyError.fire()}})}isUserEditEnabled(){return this._study.userEditEnabled()}setUserEditEnabled(e){this._study.setUserEditEnabled(e)}getInputsInfo(){return(0,v.getStudyInputsInfo)(this._study.metaInfo())}getInputValues(){const e=this._study.inputs({symbolsForChartApi:!1,asObject:!0});return Object.keys(e).map(t=>{const i=e[t];return{id:t,value:(0,o.isObject)(i)?i.v:i}})}getStyleInfo(){return(0,S.getStudyStylesInfo)(this._study.metaInfo())}getStyleValues(){const{plots:e,styles:t,bands:i,filledAreas:s,palettes:r}=this._study.properties().state(),n={};return void 0!==e&&(n.plots=e),void 0!==t&&(n.styles=t),void 0!==i&&(n.bands=i),void 0!==s&&(n.filledAreas=s),void 0!==r&&(n.palettes=r),n}setInputValues(e){const t=this.getInputValues();for(const i of e){void 0!==t.find(e=>e.id===i.id)?this._study.properties().inputs[i.id].setValue(i.value):console.warn(`There is no such input: "${i.id}"`)}}mergeUp(){this._model.isMergeUpAvailableForSource(this._study)&&new d.MergeUpUndoCommand(this._model,this._study,null).redo()}mergeDown(){this._model.isMergeDownAvailableForSource(this._study)&&new d.MergeDownUndoCommand(this._model,this._study,null).redo()}unmergeUp(){this._model.isUnmergeAvailableForSource(this._study)&&new h.UnmergeUpUndoCommand(this._model,this._study,null).redo()}unmergeDown(){this._model.isUnmergeAvailableForSource(this._study)&&new h.UnmergeDownUndoCommand(this._model,this._study,null).redo()}onDataLoaded(){return this._onStudyCompleted}onStudyError(){return this._onStudyError}mergeUpWithUndo(){this._model.isMergeUpAvailableForSource(this._study)&&this._undoModel.mergeSourceUp(this._study)}mergeDownWithUndo(){this._model.isMergeDownAvailableForSource(this._study)&&this._undoModel.mergeSourceDown(this._study)}unmergeUpWithUndo(){this._model.isUnmergeAvailableForSource(this._study)&&this._undoModel.unmergeSourceUp(this._study)}unmergeDownWithUndo(){this._model.isUnmergeAvailableForSource(this._study)&&this._undoModel.unmergeSourceDown(this._study)}priceScale(){return new g.PriceScaleApi(this._undoModel,(0,s.ensureNotNull)(this._study.priceScale()))} -symbolSource(){const e=(0,s.ensureNotNull)(this._study.symbolSource());return{symbol:e.symbol(),currencyId:e.currency(),unitId:e.unit()}}currency(){return this._study.currency()}changePriceScale(e){const t=(0,s.ensureNotNull)(this._model.paneForSource(this._model.mainSeries())),i=(0,s.ensureNotNull)(this._model.paneForSource(this._study));switch(e){case"no-scale":(0,s.assert)(i.actionNoScaleIsEnabled(this._study),"Unable to leave a pane without any non-overlay price scale"),new u.MoveToNewPriceScaleUndoCommand(this._model,this._study,i,"overlay",null).redo();break;case"as-series":(0,s.assert)(i===t,"Study should be on the main pane"),new u.MoveToExistingPriceScaleUndoCommand(this._model,this._study,i,this._model.mainSeries().priceScale(),null).redo();break;case"new-left":new u.MoveToNewPriceScaleUndoCommand(this._model,this._study,i,"left",null).redo();break;case"new-right":new u.MoveToNewPriceScaleUndoCommand(this._model,this._study,i,"right",null).redo();break;default:const r=this._model.dataSourceForId(e);if(null===r)throw new Error(`There is no study with entityId='${e}'`);const n=i===this._model.paneForSource(r);(0,s.assert)(n,"Both studies should be on the same pane");const o=(0,s.ensureNotNull)(r.priceScale()),a=(0,c.sourceNewCurrencyOnPinningToPriceScale)(this._study,o,this._model),h=(0,_.sourceNewUnitOnPinningToPriceScale)(this._study,o,this._model);new u.MoveToExistingPriceScaleUndoCommand(this._model,this._study,i,o,null).redo(),null!==a&&new l.SetPriceScaleCurrencyUndoCommand(o,a,this._undoModel.chartWidget(),null).redo(),null!==h&&new m.SetPriceScaleUnitUndoCommand(o,h,this._undoModel.chartWidget(),null).redo()}}isVisible(){return this._study.properties().visible.value()}setVisible(e){this._study.properties().visible.setValue(e)}bringToFront(){this._model.bringToFront([this._study])}sendToBack(){this._model.sendToBack([this._study])}applyOverrides(e){(0,a.applyOverridesToStudy)(this._study,e)}dataLength(){return this._study.status().type!==f.StudyStatusType.Completed?0:this._study.metaInfo().plots.length>0?this._study.data().size():this._model.mainSeries().bars().size()}isLoading(){return this._study.isLoading()}properties(){return this._study.properties()}async applyToEntireLayout(){const e=new p.ActionsProvider(this._chartWidget),t=(await e.contextMenuActionsForSources([this._study])).find(e=>"applyStudyToEntireLayout"===e.id);t&&t.execute()}}},152:(e,t,i)=>{"use strict";i.d(t,{getStudyInputsInfo:()=>r});var s=i(28353);function r(e){return void 0===e.inputs?[]:e.inputs.map(e=>({...e,id:e.id,localizedName:void 0!==e.name?(0,s.t)(e.name,{context:"input"}):""}))}},70120:(e,t,i)=>{"use strict";i.d(t,{getStudyStylesInfo:()=>n});var s,r=i(27788);function n(e){const t={};if(e.defaults){const i=(0,r.default)(e.defaults);t.defaults=i}return void 0!==e.plots&&(t.plots=(0,r.default)(e.plots)),void 0!==e.styles&&(t.styles=(0,r.default)(e.styles)),void 0!==e.bands&&(t.bands=(0,r.default)(e.bands)),void 0!==e.filledAreas&&(t.filledAreas=(0,r.default)(e.filledAreas)),void 0!==e.palettes&&(t.palettes=(0, -r.default)(e.palettes)),t}!function(e){e.LeftToRight="left_to_right",e.RightToLeft="right_to_left"}(s||(s={}))},817:(e,t,i)=>{"use strict";i.d(t,{ChartSession:()=>u});var s=i(2872),r=i.n(s),n=i(88537),o=i(52714),a=i.n(o),l=i(9423),c=i(98125);const h=(0,c.getLogger)("ChartApi.AbstractSession");var d=i(80643);(0,c.getLogger)("ChartSession");class u extends class{constructor(e,t,i){this._isConnected=new(a())(!1),this._state=0,this._isConnectForbidden=!1,this._sessionId="",this._sessionIdChanged=new(r()),this._chartApi=e,this._sessionPrefix=t,this._shouldReconnectAfterCriticalError=i}destroy(){this._logNormal("Destroying session"),this._isConnected.unsubscribe(),this.disconnect(),this._sessionIdChanged.destroy(),delete this._chartApi,this._logNormal("Session has been destroyed")}isConnected(){return this._isConnected}sessionId(){return this._sessionId}onSessionIdChanged(){return this._sessionIdChanged}connect(){0===this._state&&((0,n.assert)(!this._isConnectForbidden,"Cannot call connect because it is forbidden at this moment"),this._setSessionId(`${this._sessionPrefix}_${(0,l.randomHash)()}`),this._logNormal("Connecting session - wait until transport stay connected"),this._state=1,this._chartApi.createSession(this._sessionId,this))}disconnect(){0!==this._state&&((0,n.assert)(""!==this._sessionId,"sessionId must not be invalid"),this._logNormal("Disconnecting session..."),this._forbidConnectWhile(()=>{this._chartApi.connected()&&this._sendRemoveSession(),this._processDestroyingOnServer()}))}onMessage(e){switch(e.method){case"connected":return void this._onChartApiConnected();case"disconnected":return void this._onChartApiDisconnected();case"critical_error":const t=String(e.params[0]),i=String(e.params[1]);return void this._onCriticalError(t,i)}this._onMessage(e)}_getChartApi(){return this._chartApi}_generateLogMessage(e){return`[${this._sessionId}] ${e}`}_onCriticalError(e,t){this._logError(`Critical error. Reason=${e}, info=${t}.`),this._forbidConnectWhile(()=>{this._processDestroyingOnServer()}),this._shouldReconnectAfterCriticalError?(this._logNormal("Reconnecting after critical error..."),this.connect()):this._logNormal("Reconnecting after critical error skipped")}_onChartApiConnected(){(0,n.assert)(1===this._state,"Session is not registered"),this._logNormal("Transport is connected. Creating session on the server"),this._sendCreateSession(),this._state=2,this._isConnected.setValue(!0)}_onChartApiDisconnected(){this._logNormal("Transport is disconnected. Reconnecting..."),this._forbidConnectWhile(()=>{this._processDestroyingOnServer()}),this.connect()}_setSessionId(e){const t=this._sessionId;this._logNormal(`Changing sessionId: old=${t}, new=${e}`),this._sessionId=e,this._sessionIdChanged.fire(e,t)}_logNormal(e){h.logNormal(this._generateLogMessage(e))}_logError(e){h.logError(this._generateLogMessage(e))}_processDestroyingOnServer(){this._state=0,this._isConnected.setValue(!1),this._chartApi.removeSession(this._sessionId),this._setSessionId("")}_forbidConnectWhile(e){this._isConnectForbidden=!0,e(), -this._isConnectForbidden=!1}}{constructor(e,t=!1){super(e,"cs",!1),this._sessionDisabled=!1,this._handler=null,this._criticalError=new(r()),this._symbolResolveMap=new Map,this._disableStatistics=t}destroy(){this._criticalError.destroy(),this._handler=null,this._symbolResolveMap.clear(),super.destroy()}serverTimeOffset(){return this._getChartApi().serverTimeOffset()}switchTimezone(e){return this._getChartApi().switchTimezone(this.sessionId(),e)}defaultResolutions(){return this._getChartApi().defaultResolutions()}availableCurrencies(){return this._getChartApi().availableCurrencies()}availableUnits(){return this._getChartApi().availableUnits()}resolveSymbol(e,t,i){if(this._symbolResolveMap.has(t)){const[e,s]=this._symbolResolveMap.get(t);return Array.isArray(s)?s.push(i):s.then(i),e}{const s=[i];return this._getChartApi().resolveSymbol(this.sessionId(),e,t,i=>{"symbol_error"===i.method?this._symbolResolveMap.delete(t):this._symbolResolveMap.set(t,[e,Promise.resolve(i)]),s.forEach(e=>e(i))}),this._symbolResolveMap.set(t,[e,s]),e}}requestFirstBarTime(e,t,i){return this._getChartApi().requestFirstBarTime(this.sessionId(),e,t,i)}createSeries(e,t,i,s,r,n,o){return this._getChartApi().createSeries(this.sessionId(),e,t,i,s,r,n,o)}modifySeries(e,t,i,s,r,n){return this._getChartApi().modifySeries(this.sessionId(),e,t,i,s,r,n)}removeSeries(e){return!!this.isConnected().value()&&this._getChartApi().removeSeries(this.sessionId(),e)}requestMoreData(e,t,i){return"number"==typeof e?this._getChartApi().requestMoreData(this.sessionId(),e):this._getChartApi().requestMoreData(this.sessionId(),e,t,i)}requestMoreTickmarks(e,t,i){return(0,d.isNumber)(e)?this._getChartApi().requestMoreTickmarks(this.sessionId(),e):this._getChartApi().requestMoreTickmarks(this.sessionId(),e,t,i)}requestMetadata(e,t){(()=>{this._getChartApi().requestMetadata(this.sessionId(),e,t)})()}isCanCreateStudy(e){return this._getChartApi().isCanCreateStudy(e)}createStudy(e,t,i,s,r,n,o){return this._getChartApi().createStudy(this.sessionId(),e,t,i,s,r,n,o)}rebindStudy(e,t,i,s,r,n,o){return this._getChartApi().rebindStudy(this.sessionId(),e,t,i,s,r,n,o)}modifyStudy(e,t,i,s){return this._getChartApi().modifyStudy(this.sessionId(),e,t,i,s)}removeStudy(e,t){return this._getChartApi().removeStudy(this.sessionId(),e,t)}createPointset(e,t,i,s,r,n){return this._getChartApi().createPointset(this.sessionId(),e,t,i,s,r,n)}modifyPointset(e,t,i,s){return this._getChartApi().modifyPointset(this.sessionId(),e,t,i,s)}removePointset(e){return this._getChartApi().removePointset(this.sessionId(),e)}setVisibleTimeRange(e,t,i,s,r,n){this._getChartApi().setVisibleTimeRange(this.sessionId(),e,t,i,s,!0,r,n)}criticalError(){return this._criticalError}connect(e=null){null!==e&&(this._handler=e),this._symbolResolveMap.clear(),super.connect()}setHandler(e){this._handler=e}connected(){return this.isConnected().value()&&!this._sessionDisabled}disable(){this._sessionDisabled=!0}chartApi(){return this._getChartApi()}_sendCreateSession(){Object.keys(this).forEach(e=>{ -/^(s|st|symbol_)\d+$/.test(e)&&delete this[e]}),this._getChartApi().chartCreateSession(this.sessionId(),this._disableStatistics)}_sendRemoveSession(){this._getChartApi().chartDeleteSession(this.sessionId())}_onMessage(e){this._handler&&this._handler(e)}_onCriticalError(e,t){this._criticalError.fire(e,t),super._onCriticalError(e,t)}}},84801:(e,t,i)=>{"use strict";var s=i(80643).declareClassAsPureInterface;function r(){}TradingView.WEB_SOCKET_WAS_CONNECTED=!1,r.REBIND_STUDY_STANDALONE_TO_CHILD=1,r.REBIND_STUDY_CHILD_TO_STANDALONE=2,r.prototype.defaultWatchlistSymbols=function(){},r.prototype.defaultResolutions=function(){},r.prototype.availableCurrencies=function(){},r.prototype.availableUnits=function(){},r.prototype.supportedSymbolsTypes=function(){},r.prototype.supportedExchangesList=function(){},r.prototype.symbolsGrouping=function(){},r.prototype.quoteCreateSession=function(e){},r.prototype.quoteDeleteSession=function(e){},r.prototype.quoteSetFields=function(e,t){},r.prototype.quoteAddSymbols=function(e,t){},r.prototype.quoteRemoveSymbols=function(e,t){},r.prototype.quoteFastSymbols=function(e,t){},r.prototype.depthCreateSession=function(e,t,i){},r.prototype.depthDeleteSession=function(e){},r.prototype.depthSetSymbol=function(e,t){},r.prototype.depthClearSymbol=function(e){},r.prototype.depthSetScale=function(e,t){},r.prototype.chartCreateSession=function(e,t){},r.prototype.chartDeleteSession=function(e){},r.prototype.createSession=function(e,t){},r.prototype.removeSession=function(e){},r.prototype.connected=function(){},r.prototype.connect=function(){},r.prototype.disconnect=function(){},r.prototype.switchTimezone=function(e,t){},r.prototype.resolveSymbol=function(e,t,i,s){},r.prototype.createSeries=function(e,t,i,s,r,n,o,a){},r.prototype.removeSeries=function(e,t,i){},r.prototype.modifySeries=function(e,t,i,s,r,n,o){},r.prototype.requestMoreData=function(e,t,i,s){},r.prototype.requestMetadata=function(e,t,i){},r.prototype.isCanCreateStudy=function(e,t){},r.prototype.createStudy=function(e,t,i,s,r,n,o){},r.prototype.rebindStudy=function(e,t,i,s,r,n,o,a){},r.prototype.removeStudy=function(e,t,i){},r.prototype.modifyStudy=function(e,t,i,s,r){},r.prototype.createPointset=function(e,t,i,s,r,n,o){},r.prototype.modifyPointset=function(e,t,i,s,r){},r.prototype.removePointset=function(e,t,i){},r.prototype.requestMoreTickmarks=function(e,t,i,s){},r.prototype.requestFirstBarTime=function(e,t,i,s){},r.prototype._invokeHandler=function(e,t){},r.prototype._sendRequest=function(e,t){},r.prototype._onMessage=function(e){},r.prototype._dispatchNotification=function(e){},r.prototype._invokeNotificationHandler=function(e,t,i){},r.prototype._notifySessions=function(e){},r.prototype.unpack=function(e){},r.prototype.searchSymbols=function(e,t,i,s,r,n,o,a,l,c){},r.prototype.serverTimeOffset=function(){},r.prototype.getMarks=function(e,t,i,s,r){},r.prototype.getTimescaleMarks=function(e,t,i,s,r){},s(r,"ChartApiInterface"),e.exports.HandlerInfo=function(e,t){this.handler=e,this.customId=t},e.exports.ChartApiInterface=r},17437:(e,t,i)=>{ -"use strict";i.r(t),i.d(t,{setCustomAdapter:()=>_,initialize:()=>m,updateUser:()=>g,getChartsCount:()=>f,getCharts:()=>v,removeChart:()=>S,saveChart:()=>y,getChartContent:()=>b,loadChart:()=>w,removeStudyTemplate:()=>C,getStudyTemplateContent:()=>P,saveStudyTemplate:()=>T,getStudyTemplatesList:()=>x,invalidateStudyTemplatesList:()=>I,getStudyTemplateContentById:()=>M,getStandardStudyTemplateContentById:()=>L,removeStudyTemplateById:()=>A,renameStudyTemplate:()=>E,replaceStudyTemplate:()=>k,getDrawingTemplates:()=>D,loadDrawingTemplate:()=>V,removeDrawingTemplate:()=>B,saveDrawingTemplate:()=>N});var s=i(76422),r=i(98125),n=i(88461);const o=(0,r.getLogger)("Chart.SaveloadAdapter.Library");let a,l,c,h,d=null,u=null;function p(e){return`${c}/${encodeURIComponent(h)}/${e}?client=${encodeURIComponent(a)}&user=${encodeURIComponent(l)}`}function _(e){d=e}function m(e,t,i,s){a=e,l=t,c=i,h=s}function g(e){l=e}function f(e,t){throw new Error("Not implemented")}async function v(){const e=e=>e.map(e=>({id:e.id,name:e.name,image_url:String(e.id),modified_iso:e.timestamp,short_symbol:e.symbol,interval:e.resolution}));if(d)return d.getAllCharts().then(e);try{const t=await fetch(""+p("charts"),{credentials:"same-origin"});if(!t.ok)throw new Error(`Getting chart content response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Get chart content request failed: "+i.message);return e(i.data)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function S(e){if(d)d.removeChart(e);else try{const t=await fetch(`${p("charts")}&chart=${encodeURIComponent(e)}`,{method:"DELETE",credentials:"same-origin"});if(!t.ok)throw new Error(`Remove chart response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Remove drawing template request failed: "+i.message)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function y(e,t,i,s,r){const a=r.id.value(),l={name:e,content:JSON.stringify(s),symbol:t,resolution:i};if(d)return d.saveChart({...l,id:a});try{const e=new FormData;for(const t in l)e.append(t,l[t]);let t=p("charts");null!=a&&(t+="&chart="+encodeURIComponent(a));const i=await fetch(t,{credentials:"same-origin",method:"POST",body:e});if(!i.ok)throw new Error(`Saving chart content response was not OK. Status: ${i.status}.`);const s=await i.json();if("ok"!==s.status)throw new Error("Saving chart content request failed: "+s.message);return s.id.toString()}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function b(e){const t=t=>{const i=JSON.parse(t);return i.uid=e.id,i};if(d)return d.getChartContent(e.id).then(e=>t(e));try{const i=await fetch(`${p("charts")}&chart=${encodeURIComponent(e.id)}`,{credentials:"same-origin"});if(!i.ok)throw new Error(`Getting chart content response was not OK. Status: ${i.status}.`);const s=await i.json();if("ok"!==s.status)throw new Error("Get chart content request failed: "+s.message);return t(s.data.content)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}function w(e){b(e).then(e=>{ -s.emit("chart_load_requested",e)},()=>{o.logWarn("Error loading chart")})}async function C(e){try{if(d)return d.removeStudyTemplate({name:e});const t=await fetch(`${p("study_templates")}&template=${encodeURIComponent(e)}`,{method:"DELETE",credentials:"same-origin"});if(!t.ok)throw new Error(`Remove study template response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Remove study template request failed: "+i.message)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function P(e){try{if(d){return{content:await d.getStudyTemplateContent({name:e})}}const t=await fetch(`${p("study_templates")}&template=${encodeURIComponent(e)}`,{credentials:"same-origin"});if(!t.ok)throw new Error(`Get study template response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Get study template request failed: "+i.message);return i.data}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function T(e){try{if(d)return d.saveStudyTemplate(e).then(()=>({error:""})).catch(e=>({error:null!=e?(0,n.errorToString)(e):"error"}));const t=new FormData;t.append("name",e.name),t.append("content",e.content);const i=await fetch(p("study_templates"),{method:"POST",body:t,credentials:"same-origin"});if(!i.ok)throw new Error(`Save study template response was not OK. Status: ${i.status}.`);const s=await i.json();return{error:"ok"===s.status?"":s.status}}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}async function x(){try{if(u)return u;u=[];const e=e=>(u=e.map(e=>({is_default:!1,name:e.name})),u);if(d)return d.getAllStudyTemplates().then(e);const t=await fetch(p("study_templates"),{method:"GET",credentials:"same-origin"});if(!t.ok)throw new Error(`Study templates list response was not OK. Status: ${t.status}.`);const i=await t.json();if("ok"!==i.status)throw new Error("Study templates list request failed: "+i.message);return e(i.data)}catch(e){throw o.logWarn((0,n.errorToString)(e)),e}}function I(){u=null}function M(e,t){throw new Error("Not implemented")}function L(e,t){throw new Error("Not implemented")}function A(e,t){throw new Error("Not implemented")}function E(e,t,i){throw new Error("Not implemented")}function k(e,t,i){throw new Error("Not implemented")}async function D(e){throw new Error("Not implemented")}async function V(e,t){throw new Error("Not implemented")}async function B(e,t){throw new Error("Not implemented")}async function N(e,t,i){throw new Error("Not implemented")}},87983:(e,t,i)=>{"use strict";var s=i(88537).ensureNotNull,r=i(69177),n=i(29823).Interval,o=i(16616),a=i(84093),l=i(84801),c=l.ChartApiInterface,h=l.HandlerInfo,d=i(80643).requireFullInterfaceImplementation,u=i(98125).getLogger("Chart.ChartApiLocal"),p=i(73383).TIMEFRAMETYPE,_=i(65862).createDwmAligner,m=i(67337);TradingView.STUDY_COUNT_LIMIT=210,JSServer.ChartApi=function(e){this._notificationHandlers={},this._sessions={},this.studyCounter=0,this._connected=!1,this._enabled=!1,this._studyEngine=new o(e),this._callbacks={},this._serverTimeOffset=0;var t=this -;this._studyEngine.on("configuration_received",(function(){t._fireEvent("configuration_received")})),this._studyEngine.on("realtime_tick",(function(e){var i={time:e.value[0]/1e3,open:e.value[1],high:e.value[2],low:e.value[3],close:e.value[4],volume:e.value[5]};t._fireEvent("realtime_tick",i,!0)})),this._setVisibleRangeTimeout={}},JSServer.ChartApi.prototype.destroy=function(){this._studyEngine.destroy(),this._studyEngine=null},JSServer.ChartApi.prototype.purgeCache=function(e){this._studyEngine.purgeCache(),this._studyEngine.purgeDataCache()},JSServer.ChartApi.prototype.defaultWatchlistSymbols=function(){const e=this._watchlistSettings.default_symbols;return m.enabled("uppercase_instrument_names")?e.map(e=>e.toUpperCase()):e},JSServer.ChartApi.prototype.defaultResolutions=function(){return this._studyEngine.supportedResolutions()||["1","3","5","15","30","45","60","120","180","240","1D","1W","1M"]},JSServer.ChartApi.prototype.availableCurrencies=function(){var e=this._studyEngine.supportedCurrencies().map((function(e){return"string"==typeof e?{id:e,code:e}:e}));return Promise.resolve(e)},JSServer.ChartApi.prototype.availableUnits=function(){return Promise.resolve(this._studyEngine.supportedUnits())},JSServer.ChartApi.prototype.supportedSymbolsTypes=function(){return this._studyEngine.supportedSymbolsTypes()},JSServer.ChartApi.prototype.supportedExchangesList=function(){return this._studyEngine.supportedExchangesList()},JSServer.ChartApi.prototype.symbolsGrouping=function(){return this._studyEngine.symbolsGrouping()},JSServer.ChartApi.prototype.start=function(){this._enabled=!0,this._fireEvent("start_enabled")},JSServer.ChartApi.prototype.unsubscribe=function(e,t){var i=this._callbacks[e];i&&i.splice(i.indexOf(t),1)},JSServer.ChartApi.prototype.on=function(e,t){return this._callbacks.hasOwnProperty(e)||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},JSServer.ChartApi.prototype._fireEvent=function(e,t,i){if(this._callbacks.hasOwnProperty(e)){var s=this._callbacks[e].slice(0);i||(this._callbacks[e]=[]);for(var r=0;rn||(TradingView.ChartapiMessagerInstances[e].onSeriesTimeframeUpdate(t,i,_,n,a),l&&setTimeout(l,0))}}}if(this._studyEngine.isTimeScaleExtendedTo(e,1e3*r))p();else{var m=TradingView.ChartapiMessagerInstances[e].seriesCompleted,g=TradingView.ChartapiMessagerInstances[e].seriesError;void 0!==this._setVisibleRangeTimeout[e]&&clearTimeout(this._setVisibleRangeTimeout[e]),this._setVisibleRangeTimeout[e]=setTimeout(function(){delete this._setVisibleRangeTimeout[e],m.subscribe(null,f,!0),g.subscribe(null,v,!0),this._studyEngine.ensureExtendedTo(t,e,1e3*r)}.bind(this),0)}function f(e,s){e===t&&s===i&&(m.unsubscribe(null,f),g.unsubscribe(null,v),p())}function v(e,s){e===t&&s===i&&m.unsubscribe(null,f)}},JSServer.ChartApi.prototype._applyTimeFrame=function(e,t,i,s,o){var a,l,c={},h=!0;if(o.type===p.PeriodBack){var d=this._studyEngine.getSeriesLastBarTime(e,i);if(null===d)return;l=d/1e3;var u=n.parse(o.value),m=this._studyEngine.getSeriesSymbolInfo(e,i);a=r.alignPeriodsBackForVisibleRange(m.session,m.session_holidays,m.corrections,u.letter(),u.multiplier(),1,d)/1e3 -;var g=_(this._studyEngine.getSeriesInterval(e,i),m);null!==g&&(l=g.timeToExchangeTradingDay(1e3*l)/1e3,a=g.timeToExchangeTradingDay(1e3*a)/1e3),c={applyDefaultRightMargin:!0},h=!1}else a=o.from,l=o.to;this.setVisibleTimeRange(e,i,s,a,l,h,c)},JSServer.ChartApi.prototype.modifySeries=function(e,t,i,s,r,n,o){var a=this;this._notificationHandlers[e][t]=new h((function(r){"series_completed"===r.method&&null!==n&&(a._applyTimeFrame(e,s,t,i,n),n=null),o(r)}),t),this._studyEngine.modifySeries(e,t,s,r,i)},JSServer.ChartApi.prototype.requestMoreData=function(e,t){this._studyEngine.extendSeriesRange(e,t)},JSServer.ChartApi.prototype.setStudiesAccessController=function(e){this.studiesAccessController=e},JSServer.ChartApi.prototype.setWatchlistSettings=function(e){this._watchlistSettings=e},JSServer.ChartApi.prototype.allStudiesMetadata=function(){return this._studyEngine.studiesMetadata()},JSServer.ChartApi.prototype.requestMetadata=function(e,t,i){this._notificationHandlers[e][t]=new h(i,t);var s=this.studiesAccessController.getEnabledTools();TradingView.ChartapiMessagerInstances[e].onRequestMetadata(t,s)},JSServer.ChartApi.prototype.isCanCreateStudy=function(){return this.studyCounter{"use strict";var s=i(2872),r=function(e,t){this._server=e,this._session=t,this.seriesCompleted=new s,this.seriesError=new s};r.prototype.onRequestMetadata=function(e,t){this._server.receiveLocalResponse({method:"studies_metadata",params:[this._session,e,{errors:[],hash:"",metainfo:t,migrations:[]}]})},r.prototype.onSymbolResolved=function(e,t){this._server.receiveLocalResponse({method:"symbol_resolved",params:[this._session,e,t]})},r.prototype.onSymbolError=function(e,t){this._server.receiveLocalResponse({method:"symbol_error",params:[this._session,e,t]})},r.prototype.onStudyError=function(e,t,i){this._server.receiveLocalResponse({method:"study_error",params:[this._session,e,t,i]})},r.prototype.onSeriesLoading=function(e,t){this._server.receiveLocalResponse({method:"series_loading",params:[this._session,e,t]})},r.prototype.onSeriesCompleted=function(e,t,i){this._server.receiveLocalResponse({method:"series_completed",params:[this._session,e,i,t]}),this.seriesCompleted.fire(e,t)},r.prototype.onSeriesError=function(e,t,i){this._server.receiveLocalResponse({method:"series_error",params:[this._session,e,t,i]}),this.seriesError.fire(e,t)},r.prototype.onStudyCompleted=function(e,t){this._server.receiveLocalResponse({method:"study_completed",params:[this._session,e,t]})},r.prototype.onStudyLoading=function(e,t){this._server.receiveLocalResponse({method:"study_loading",params:[this._session,e,t]})},r.prototype.onTickmarksUpdated=function(e,t){var i={method:"tickmark_update",params:[this._session,{index:e,zoffset:0,changes:[],marks:t,index_diff:[] -}]};this._server.receiveLocalResponse(i)},r.prototype.onTimescaleUpdate=function(e,t){var i={method:"timescale_update",params:[this._session,this._prepareDataUpdateObjects(t),{index:e.pointsIndex,zoffset:0,changes:e.points,marks:e.marks,index_diff:e.indexChange,baseIndex:e.baseIndex}]};this._server.receiveLocalResponse(i)},r.prototype.onTimescaleCompleted=function(e){this._server.receiveLocalResponse({method:"timescale_completed",params:[this._session,e]})},r.prototype.onSeriesTimeframeUpdate=function(e,t,i,s,r){var n={method:"series_timeframe",params:[this._session,e,t,i,s,null,!0,r]};this._server.receiveLocalResponse(n)},r.prototype.onPointsetDataUpdate=function(e,t,i){this.onDataUpdate(e,t,i,null)},r.prototype._prepareDataUpdateObjects=function(e){var t={};return e.forEach((function(e){t[e.objId]={series:e.data,turnaround:e.turnaround},e.nonSeriesData&&(e.nonSeriesData.data?t[e.objId].nonseries={d:JSON.stringify(e.nonSeriesData.data),indexes:e.nonSeriesData.indexes}:t[e.objId].nonseries={d:"",indexes:[]})})),t},r.prototype.onDataUpdate=function(e,t,i,s){var r={method:"data_update",params:[this._session,this._prepareDataUpdateObjects([{objId:e,turnaround:t,data:i,nonSeriesData:s}])]};this._server.receiveLocalResponse(r)},r.prototype.onQuotesData=function(e){this._server.receiveLocalResponse({method:"quote_symbol_data",params:e})},r.prototype.onDepthData=function(e){this._server.receiveLocalResponse({method:"dd",params:e})},r.prototype.onDepthUpdate=function(e){this._server.receiveLocalResponse({method:"dpu",params:e})},r.prototype.onClearData=function(e){this._server.receiveLocalResponse({method:"clear_data",params:[this._session,e]})},TradingView.ChartapiMessagerInstances=[],e.exports=r},41986:(e,t,i)=>{"use strict";i.d(t,{DatafeedRequestsCachedProcessor:()=>_});var s=i(88537),r=i(29823),n=i(55257),o=i(216),a=i(67337),l=i(69177),c=i(65862),h=i(90388);i(94419);function d(e,t){return e.ticker+(e.currency_code?"_#_"+e.currency_code:"")+(e.unit_id?"_#_"+e.unit_id:"")+(e.subsession_id?"_#_"+e.subsession_id:"")+"_#_"+t}function u(e){return new Date(e).toISOString()}class p{constructor(e,t,i,s,n,o){this._cache={bars:[]},this._nextSubscriptionId=0,this._pendingSubscribers=[],this._subscribers=[],this._requesting=!1,this._leftDate=null,this._nextTime=null,this._realtimeOn=!1,this._endOfData=!1,this._resetCacheTimeout=null,this._errorMessage=null,this._destroyed=!1,this._emptyResponsesCount=0,this._datafeed=e,this._symbolInfo=t,this._interval=r.Interval.parse(i),this._resolution=this._interval.value(),this._dwmAligner=n,this._serverTimeOffsetGetter=s,this._resetCacheTimePeriod=void 0===o?1e4:o,this._sessionSpec=new h.SessionSpec(t.timezone,t.session,t.session_holidays,t.corrections),this._updateDatesFromExpirationDate()}destroy(){0!==this._subscribers.length&&console.warn("Destroying with not-empty state"),this._clearResetCacheTimeout(),this._unsubscribeRealtime(),this._purgeCache(),delete this._datafeed,this._destroyed=!0}addSubscription(e,t,i){const s=this._getNextSubscriptionId();this._pendingSubscribers.push({key:s, -range:e,onHistoryCallback:t,onErrorCallback:i}),r.Interval.isDWM(this._resolution)&&void 0!==e.to&&null!==this._dwmAligner&&e.to%864e5&&console.warn(`Internal error: invalid date for DWM resolution ${u(e.to)}, expected time without a time part`),this._clearResetCacheTimeout();return setTimeout(()=>{this._destroyed||this._processPendingSubscribers()},0),s}removeSubscription(e){const t=this._pendingSubscribers.find(t=>t.key===e);if(t)return void this._pendingSubscribers.splice(this._pendingSubscribers.indexOf(t),1);const i=this._subscribers.find(t=>t.key===e);if(i)return this._subscribers.splice(this._subscribers.indexOf(i),1),void(this._subscribers.length||(this._resetCacheTimeout=setTimeout(()=>{this._resetCacheTimeout=null,this._purgeCache(),this._unsubscribeRealtime()},this._resetCacheTimePeriod)));console.warn("Unknown subscription symbol={0}, resolution={1}, key={2}".format(this._symbolInfo.name,this._resolution,e))}_logMessage(e,t){if(a.enabled("charting_library_debug_mode")||t){const t=this._symbolInfo.currency_code,i=this._symbolInfo.unit_id;console.log(`FEED [${this._symbolInfo.name}|${this._resolution}${t?"|"+t:""}${i?"|"+i:""}]: ${e}`)}}_clearResetCacheTimeout(){null!==this._resetCacheTimeout&&(clearTimeout(this._resetCacheTimeout),this._resetCacheTimeout=null)}_purgeCache(){this._logMessage("Reset cache"),this._cache={bars:[]},this._errorMessage=null,this._leftDate=null,this._endOfData=!1,this._updateDatesFromExpirationDate()}_updateDatesFromExpirationDate(){void 0!==this._symbolInfo.expiration_date&&(this._nextTime=1e3*this._symbolInfo.expiration_date,this._leftDate=1e3*(this._symbolInfo.expiration_date+1))}_dealignTime(e){return null===this._dwmAligner?e:this._dwmAligner.timeToExchangeTradingDay(e)}_normalizeRange(e){const t=void 0!==e.to?e.to:this._dealignTime(this._now());if(0===this._cache.bars.length||void 0!==e.to&&t<=(0,s.ensureNotNull)(this._leftDate))return{countBack:e.countBack,to:t};const i=null!==this._dwmAligner?this._dwmAligner.timeToSessionStart(t):t,r=(0,n.lowerbound)(this._cache.bars,i,(e,t)=>e.time{e.onErrorCallback(t)})}let t=this._normalizeRange(e[0].range);for(const i of e.map(e=>this._normalizeRange(e.range)))(i.tot.countBack)&&(t=i);this._logMessage(`Leftmost subscriber requires ${t.countBack} bars prior ${u(t.to)}`) -;!(null===this._leftDate||t.to{const t=this._moveSubscriberToRealtime(e);this._returnHistoryDataToSubscriber(e,t)}),this._subscribeRealtimeIfNeeded()):this._ensureRequestedTo(t)}_moveSubscriberToRealtime(e){const t={key:e.key,onHistoryCallback:e.onHistoryCallback,barset:null};return this._subscribers.push(t),t}_isSymbolExpired(){return this._symbolInfo.expired||void 0!==this._symbolInfo.expiration_date}_subscribeRealtimeIfNeeded(){!this._subscribers.length||this._realtimeOn||this._isSymbolExpired()||this._subscribeRealtime()}_subscribeRealtime(){if(this._symbolInfo.expired||this._realtimeOn)return;this._realtimeOn=!0,this._datafeed.subscribeBars(this._symbolInfo,this._resolution,e=>{null!==this._dwmAligner&&(e.time=this._dwmAligner.timeToSessionStart(e.time)),this._putToCacheNewBar(e),this._subscribers.forEach(t=>{const i=t.barset;if(null===i)throw new Error("subscriber.barset is null");i.add(e),t.onHistoryCallback(i)})},d(this._symbolInfo,this._resolution),()=>{this._unsubscribeRealtime();const e=this._leftDate;this._purgeCache(),null!==e&&this._ensureRequestedTo({to:e,countBack:0})}),this._logMessage("Subscribed to realtime")}_unsubscribeRealtime(){!this._isSymbolExpired()&&this._realtimeOn&&(this._datafeed.unsubscribeBars(d(this._symbolInfo,this._resolution)),this._logMessage("Unsubscribed from realtime"),this._realtimeOn=!1)}_returnHistoryDataToSubscriber(e,t){const i=this._normalizeRange(e.range),s=this._createBarsetForRange(i);s.count()>0?this._logMessage("Bars to return for request {0}: total {1} bars in [{2} ... {3}] ".format(e.key,s.count(),u(s.bars[0].time),u(s.bars[s.count()-1].time))):this._logMessage("Request {0}. Nothing to return.".format(e.key)),t.barset=s,this._endOfData&&null!==this._leftDate&&i.to<=this._leftDate&&(s.endOfData=!0),e.onHistoryCallback(s)}_createBarsetForRange(e){const t=null!==this._dwmAligner?this._dwmAligner.timeToSessionStart(e.to):e.to,i=(0,n.lowerbound)(this._cache.bars,t,(e,t)=>e.time{if(!this._destroyed)if(a)this._logMessage("getBars callback is already called before",!0);else{if(a=!0,e.length>0){const t=` [${u(e[0].time)} ... ${u(e[e.length-1].time)}]`;this._logMessage(`Receiving bars: total ${e.length} bars in ${t}, requested range: ${o}`)}else this._logMessage("Receiving bars: barset is empty, requested range: "+o);this._requesting=!1,this._processBars(e,t)}},e=>{this._destroyed||(a?this._logMessage("getBars callback is already called before",!0):(a=!0,this._requesting=!1,this._errorMessage=e||null,this._processPendingSubscribers()))})}_processBars(e,t){this._checkBars(e),this._alignBarsTime(e),e.length>0?(this._emptyResponsesCount=0,this._processFullBarset(e,t)):(this._emptyResponsesCount+=1,this._processEmptyBarset(t)),this._processPendingSubscribers()}_processEmptyBarset(e){e&&e.nextTime?(this._logMessage("Next time received: `{0}`".format(u(1e3*e.nextTime))),this._nextTime=1e3*e.nextTime):e&&e.noData?(this._logMessage("EOD received"),this._setEndOfData()):this._logMessage("nextTime or noData should present in metainfo when empty barset is returned"),50===this._emptyResponsesCount&&(this._logMessage("EOD detected due 50 empty responses in a row"),this._setEndOfData())}_setEndOfData(){this._endOfData=!0,this._cache.bars.length&&(this._leftDate=this._dealignTime(this._cache.bars[0].time))}_processFullBarset(e,t){this._putToCache(e)?null!==this._leftDate&&0!==this._cache.bars.length&&(this._interval.isTicks()?this._leftDate=this._dealignTime(this._cache.bars[0].time):this._leftDate=Math.min(this._leftDate,this._dealignTime(this._cache.bars[0].time))):this._logMessage("Incremental update failed. Starting full update. Returned data should be in the requested range.",!0),t&&t.nextTime?console.warn("nextTime should be set when there is no data in the requested period only"):t&&t.noData&&console.warn("noData should be set when there is no data in the requested period and earlier only")}_getNextSubscriptionId(){return this._nextSubscriptionId++}_checkBars(e,t=!1){ -if(a.enabled("charting_library_debug_mode"))for(let i=1;i"number"!=typeof e[i][t]||!isFinite(e[i][t]))&&console.error("Wrong bars values: all OHLC values should be numbers")}}_putToCache(e){if(0===e.length)return!0;if(this._cache.bars.length===e.length&&this._cache.bars[0].time===e[0].time&&this._cache.bars[this._cache.bars.length-1].time===e[e.length-1].time)return this._logMessage("Time range of received data is the same as cached one. Skip the update."),!0;if(0!==this._cache.bars.length&&e[e.length-1].time===this._cache.bars[0].time&&this._cache.bars.splice(0,1),0!==this._cache.bars.length&&e[e.length-1].time>=this._cache.bars[0].time){const t=this._cache.bars[this._cache.bars.length-1].time===e[e.length-1].time;if(this._cache.bars=[],!t)return this._leftDate=null,!1;this._logMessage("Received history up to now instead of incremental update. Return exactly what is requested.")}return this._cache.bars=[...e,...this._cache.bars],this._checkBars(this._cache.bars,!0),!0}_putToCacheNewBar(e){const t=this._cache.bars.length,i=e.time,s=0===t?NaN:this._cache.bars[t-1].time;0===t||st.destroy()),this._threads={},delete this._datafeed}purgeCache(){this._forEachThread((e,t)=>t.destroy()),this._threads={}}subscribe(e,t,i,s,r){const n=d(e,t);this._threads[n]||(this._threads[n]=this._createThread(e,t));return n+'"'+this._threads[n].addSubscription(i,s,r)}unsubscribe(e){const t=e.split('"');if(2!==t.length)return void console.warn("Wrong guid format");const i=t[0],s=parseInt(t[1]);this._threads.hasOwnProperty(i)?this._threads[i].removeSubscription(s):console.warn("Data thread doesnt exist: "+e)}_createThread(e,t){return new p(this._datafeed,e,t,this._serverTimeOffsetGetter,(0,c.createDwmAligner)(t,e),this._resetCacheTimePeriod)}_forEachThread(e){Object.keys(this._threads).forEach(t=>e(t,this._threads[t]))}}},42934:(e,t,i)=>{"use strict";i.d(t,{barTimeToEndOfPeriod:()=>r,endOfPeriodToBarTime:()=>n});var s=i(68684);function r(e,t,i){if(i.isDays())return t;if(e.moveTo(1e3*t),i.isIntraday()){const i=e.indexOfBar(1e3*t);if(i<0)throw new Error(t+" is out of the instrument session ");return e.endOfBar(i)/1e3} -return e.startOfBar(s.SessionStage.LASTBAR_SESSION)/1e3}function n(e,t,i){if(i.isDays())return t;const s=1e3*t-1;if(e.moveTo(s),i.isIntraday()){const i=e.indexOfBar(s);if(i<0)throw new Error(t+" is out of the instrument session ");return e.startOfBar(i)/1e3}return t=e.startOfBar(0)/1e3}},79283:(e,t,i)=>{"use strict";i.d(t,{replaceGraphicsTimesWithTimePointIndexIndex:()=>n});const s=new Map([["horizlines",e=>[e.startIndex,e.endIndex]],["hhists",e=>[e.firstBarTime,e.firstBarTime]],["vertlines",e=>[e.index]],["polygons",e=>e.points.map(e=>e.index)],["backgrounds",e=>[e.start,e.stop]]]),r=new Map([["horizlines",(e,t)=>{const i=e;i.startIndex=t.get(i.startIndex),i.endIndex=t.get(i.endIndex)}],["hhists",(e,t)=>{const i=e;i.firstBarTime=t.get(i.firstBarTime),i.lastBarTime=t.get(i.lastBarTime)}],["vertlines",(e,t)=>{const i=e;i.index=t.get(i.index)}],["polygons",(e,t)=>{const i=e;for(const e of i.points)e.index=t.get(e.index)}],["backgrounds",(e,t)=>{const i=e;i.start=t.get(i.start),i.stop=t.get(i.stop)}]]);function n(e){const t=e.data&&e.data.graphicsCmds&&e.data.graphicsCmds.create;if(!t)return[];const i=new Map,n=new Set;s.forEach((e,s)=>{const r=t[s];if(r)for(const t of r)for(const s of t.data){const t=e(s);for(const e of t)i.set(e,-1),n.add(e)}});const o=Array.from(n).sort((e,t)=>e-t);return o.forEach((e,t)=>i.set(e,t)),r.forEach((e,s)=>{const r=t[s];if(r)for(const t of r)for(const s of t.data)e(s,i)}),o}},65235:(e,t,i)=>{"use strict";var s=i(67337);window.onload=function(){location.hostname.indexOf(".")>=0&&!function(){try{return/^(192|172|10)\.[0-9][0-9][0-9]\.[0-9][0-9][0-9]\.[0-9][0-9][0-9]/.test(location.hostname)||/^.*((?:\.local)|localhost)$/.test(location.hostname)}catch(e){return!1}}()&&setTimeout((function(){try{var e=function(){var e=0;return JSON.parse(urlParams.logo).image&&(e="C",s.enabled("link_to_tradingview")||(e="D")),e}();window.ga&&(0!==e&&window.ga("send","event","s",e),urlParams.utm||window.ga("send","event","l"))}catch(e){}}),3e4)}},41728:(e,t,i)=>{"use strict";var s=i(69177),r={};e.exports=function(e,t,i){var n,o,a={},l=r[i]||"out_of_session",c=!1,h=i,d=t,u=null;function p(){var e={};e.symbolname=h,e.status="ok",e.values={},e.values.current_session=l,r[h]=l,TradingView.ChartapiMessagerInstances[d].onQuotesData([d].concat([e]))}function _(){if(n)if(o)l="out_of_session";else{var e=s.isTradingNow((new Date).getTime(),n)?"market":"out_of_session";e!==l&&(l=e,p())}}return e(i,null,(function(e){c||function(e){n=new s.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections),o=e.expired,u=setInterval(_,6e4),_(),p()}(e)}),(function(){})),a.stop=function(){c=!0,u&&clearInterval(u)},a.marketStatus=function(){return l},a}},11565:(e,t,i)=>{"use strict";i.d(t,{getChartStyleStudy:()=>n});var s=i(216);class r{main(e){const t=e.new_var(s.Std.open(e)),i=e.new_var(s.Std.close(e)),r=t.get(1),n=i.get(1),o=s.Std.ohlc4(e),a=s.Std.na(t.get(1))?(s.Std.open(e)+s.Std.close(e))/2:(r+n)/2;t.set(a),i.set(o) -;const l=s.Std.max(s.Std.high(e),s.Std.max(a,o)),c=s.Std.min(s.Std.low(e),s.Std.min(a,o)),h=s.Std.volume(e),d=e.symbol;return[d.time,a,l,c,o,h,d.updatetime,d.isBarClosed]}}function n(e){if(0===e.type.indexOf("BarSetHeikenAshi@tv-basicstudies-"))return new r;const t="unknown builder type: "+e.type;throw console.error(t),new Error(t)}},37750:(e,t,i)=>{"use strict";var s=i(29823).Interval,r=i(65862).isAlignmentEnabled,n=i(11565).getChartStyleStudy,o=i(19234).decodeExtendedSymbol,a=i(983).findSuitableResolutionToBuildFrom,l=i(28930).SubsessionId,c=function(){var e=i(216),t=e.StudyEngine,c=e.BarBuilder,h=e.BarSet;function d(e){this.host=e,this.cache={}}function u(t){console.error(t),e.Std.error(t)}d.prototype.getCache=function(e){return this.cache[e]},d.prototype.putCache=function(e,t){this.cache[e]=t},d.prototype.subscribe=function(e,t,i,s,r,n,o,a,l,c,h){var d=l(o),u=function(e,t,i,s,r,n,o,a,l){var c=r.has_empty_bars?"_":"";return n+e+s+(t||"")+(i||"")+(l||"")+c+"_"+o.countBack+"_"+o.to+"_"+Boolean(a)}(e,t,i,s,o,a,d,c,h),p=this.getCache(u);return p||(p=this.createItem(e,t,i,s,o,d,a,c,h),this.putCache(u,p)),p.listeners.addListener(r,n),{key:u,listener:r}},d.prototype.unsubscribe=function(e){var t=this.getCache(e.key);t&&t.listeners.removeListener(e.listener)},d.prototype.removeUnused=function(){var e=[];for(var t in this.cache){if(this.cache[t])0===this.cache[t].listeners.listenersCount()&&e.push(t)}if(0!==e.length){for(var i=0;i{"use strict";i.d(t,{findSuitableResolutionToBuildFrom:()=>o});var s=i(29823);function r(e,t){const i=t.multiplier();for(let s=e.length-1;s>=0;s--){const r=Number(e[s]);if(i%r==0)return{error:!1,resolution:`${r}${t.letter()}`}}return{error:!0,errorMessage:n(t.value())}} -function n(e){return`Misconfiguration error: it is trying to request ${e} but we cannot build it from lower resolution`}function o(e,t){const i=s.Interval.parse(e);if((i.isWeeks()||i.isMonths())&&t.has_weekly_and_monthly){let e=["1"];i.isWeeks()&&void 0!==t.weekly_multipliers&&(e=t.weekly_multipliers),i.isMonths()&&void 0!==t.monthly_multipliers&&(e=t.monthly_multipliers);const s=r(e,i);if(!s.error)return s}if(i.isDWM()&&(void 0===t.has_daily||t.has_daily))return i.isDays()&&void 0!==t.daily_multipliers?r(t.daily_multipliers,i):void 0===t.daily_multipliers||t.daily_multipliers.includes("1")?{error:!1,resolution:"1D"}:{error:!0,errorMessage:"Misconfiguration error: it is trying to request a resolution but symbol does not support it"};if(i.isDWM())return{error:!0,errorMessage:n(i.value())};if(i.isMinutes()&&!t.has_intraday)return{error:!0,errorMessage:"Misconfiguration error: it is trying to request intraday resolution but symbol does not support it"};if(i.isSeconds()&&!t.has_seconds)return{error:!0,errorMessage:"Misconfiguration error: it is trying to request seconds resolution but symbol does not support it"};if(i.isTicks())return!t.has_ticks||i.multiplier()>1?{error:!0,errorMessage:`Misconfiguration error: it is trying to request ${i.multiplier()} ticks resolution but symbol does not support it`}:{error:!1,resolution:"1T"};const o=i.isSeconds()?t.seconds_multipliers:t.intraday_multipliers;return void 0===o?{error:!1,resolution:i.value()}:r(o,i)}},216:function(e,t,i){"use strict";var s=i(54631).StudyError,r=i(55257),n=i(80643).inherit,o=i(68684).SessionStage,a=i(29823).Interval,l=i(65862).createDwmAligner,c=i(65862).createTimeToBarTimeAligner,h=i(19234).decodeExtendedSymbol,d=i(19234).encodeExtendedSymbolOrGetSimpleSymbolString,u=i(28930).SubsessionId,p=i(37415).PrePostMarketBarIdentifier,_=i(90388).SessionSpec,m=function(){var e,t="undefined"!=typeof window?window:i.g,g=t.PineJsCalendar?t.PineJsCalendar:i(10480),f=i(69177),v=i(11075).extrapolateBarsFrontToTime,S={};function y(e,t,i,s,r){var n=r,o=0;if(isNaN(e.get(t-1)))return{index:NaN,value:NaN};for(var a=0;a1&&(this._currentIndex.set(n),this._currentValue.set(o),this._pivotIndex.set(a))}function w(e,t,i){this._deviation=e;var s=i.new_var(S.high(i)),r=i.new_var(S.low(i));s.get(2*t+1),r.get(2*t+1),this._pivotHigh=new b(t,t,b.HIGH,s,i),this._pivotLow=new b(t,t,b.LOW,r,i),this._lastVal=i.new_var(NaN),this._lastIndex=i.new_var(-1),this._lastType=i.new_var(),this._index=S.n(i),this._isNewBar=i.symbol.isNewBar,this._isBarClosed=i.symbol.isBarClosed;var n=this._lastIndex.get(1),o=this._lastVal.get(1),a=this._lastType.get(1);this._index>1&&this.addPivot(n,o,a), -this.processPivot(this._pivotHigh),this.processPivot(this._pivotLow)}function C(e){this.symbol=e,this.vars=[],this.vars_index=0,this.ctx=[],this.ctx_index=0,this.minimumAdditionalDepth=null}function P(e){this.mindepth=0,this.original=NaN,this.modified=!1,this.symbol=e}function T(e){P.call(this,e)}function x(e,t,i,s,r,n,o){var l=h(e);const c="string"==typeof l.symbol?l:l.symbol;this.ticker=c.symbol,this.currencyCode=i||c["currency-id"],this.unitId=s||c["unit-id"],this.subsessionId=o||c.session;var u=c["currency-id"]!==this.currencyCode||c["unit-id"]!==this.unitId;c["currency-id"]=this.currencyCode,c["unit-id"]=this.unitId,u&&(e=d(l)),this.tickerid=e;var p=a.parse(t);this.resolution=p.letter(),this.interval=p.multiplier(),this.period=p.value(),this.index=-1,this.time=NaN,this.open=NaN,this.high=NaN,this.low=NaN,this.close=NaN,this.volume=NaN,this.updatetime=NaN,this.isNewBar=!1,this.isBarClosed=!1,this.session=new f.SessionInfo("Etc/UTC","24x7"),this.regularSubsession=null,this.preMarketSubsession=null,this.postMarketSubsession=null,this.script=r,this.isAdditionalDepthAllowed=void 0===l.type,n&&this.set_symbolinfo(n)}function I(e,t,i,s,r,n,o,a,l,c,h){this.body=n,this.symbols=[],this.runner=r,this.inputCallback=a,this.out=o,this.nonseriesOut=l,this.ctx=new C(this.add_sym(e,t,i,s,c,h)),this.init()}function M(e){this.symbols=[],this.barsets=[],this.subscription=[],this.host=e,this.isRecalculated=!1,this.isStarted=!1,this.start()}function L(e){this.runner=new M(e)}function A(e,t){this.info=e,this.bars=t||[],this.isBarClosed=!0,this.firstLoadedTimeMs=0!==this.bars.length?this.bars[0].time:1/0,this._emptyBarCount=0,this._lastBarIsEmpty=!1}function E(e,t){this.period=e,this.generateEmptyBars=!!t}function k(){}return S.max_series_default_size=10001,S.n=function(e){return e.symbol.index+1},S.nz=function(e,t){return t=t||0,isFinite(e)?e:t},S.na=function(e){return 0===arguments.length?NaN:isNaN(e)?1:0},S.isZero=function(e){return Math.abs(e)<=1e-10},S.toBool=function(e){return isFinite(e)&&!S.isZero(e)},S.eq=function(e,t){return S.isZero(e-t)},S.neq=function(e,t){return!S.eq(e,t)},S.ge=function(e,t){return S.isZero(e-t)||e>t},S.gt=function(e,t){return!S.isZero(e-t)&&e>t},S.lt=function(e,t){return!S.isZero(e-t)&&e(i||1e-10)},S.less=function(e,t,i){return t-e>(i||1e-10)},S.compare=function(e,t,i){return S.equal(e,t,i)?0:S.greater(e,t,i)?1:-1},S.max=Math.max,S.min=Math.min,S.pow=Math.pow,S.abs=Math.abs,S.log=Math.log,S.log10=function(e){return Math.log(e)/Math.LN10},S.sqrt=Math.sqrt,S.sign=function(e){return isNaN(e)?NaN:S.isZero(e)?0:e>0?1:-1 -},S.exp=Math.exp,S.sin=Math.sin,S.cos=Math.cos,S.tan=Math.tan,S.asin=Math.asin,S.acos=Math.acos,S.atan=Math.atan,S.floor=Math.floor,S.ceil=Math.ceil,S.round=Math.round,S.avg=function(e,t,i,s,r,n){if(2===arguments.length)return(e+t)/2;for(var o=0,a=0;a=0;--n){var o=t[n];if(!(o>=i.startOfBar(0))){i.moveTo(o);var a=t[n+1];s.push(a)}}s.reverse()}return s},S.iff=function(e,t,i){return S.not(e)?i:t},S.rising=function(e,t){for(var i=1;ie.get(0))return 0;return 1},S.falling=function(e,t){for(var i=1;i=0;r--){s+=(t-r)*e.get(r)}return 2*s/(t*(t+1))},S.vwma=function(e,t,i){var s=i.new_var(S.volume(i)),r=i.new_var(e.get(0)*S.volume(i));return S.sma(r,t,i)/S.sma(s,t,i)},S.swma=function(e,t){return(e.get(0)+2*e.get(1)+2*e.get(2)+e.get(3))/6},S.supertrend=function(e,t,i){var s=m.Std.atr(t,i),r=i.new_var(s).get(1),n=m.Std.hl2(i),o=n+s*e,a=n-s*e,l=m.Std.close(i),c=i.new_var(l).get(1),h=i.new_var(),d=m.Std.nz(h.get(1)),u=i.new_var(),p=m.Std.nz(u.get(1));a=S.gt(a,d)||S.lt(c,d)?a:d,h.set(a),o=S.lt(o,p)||S.gt(c,p)?o:p,u.set(o);var _=m.Std.na(),g=i.new_var(),f=g.get(1),v=-1===(_=m.Std.na(r)?1:f===p?l>o?-1:1:l2&&(T=Math.min(T,y))):(T=Math.max(T,b),S.n(s)>2&&(T=Math.max(T,w))),p.set(T),T},S.alma=function(e,t,i,s){for(var r=Math.floor(i*(t-1)),n=t/s*(t/s),o=[],a=0,l=0;lthis._currentValue.get():ithis._areaRight},b.prototype.update=function(){if(this._isNewBar&&this.isPivotFound()&&this.reset(),this.processPoint(this._index),this.isRightSideOk(this._index)){if(-1===this._pivotIndex.get()){for(var e=!0,t=0;tthis._deviation&&this.addPivot(e,t,i);else(i===b.HIGH?t>s:t0&&i.set(e),i},C.prototype.new_unlimited_var=function(e){var t=this.vars;t.length<=this.vars_index&&t.push(new T(this.symbol));var i=t[this.vars_index++];return arguments.length>0&&i.set(e),i},C.prototype.new_ctx=function(){return this.ctx.length<=this.ctx_index&&this.ctx.push(new C(this.symbol)),this.ctx[this.ctx_index++]},C.prototype.prepare=function(e){this.ctx_index=0,this.vars_index=0;for(var t=0;te&&(e=i)}return e},C.prototype.stop=function(){this.symbol=null,this.vars=null},C.prototype.setMinimumAdditionalDepth=function(e){this.minimumAdditionalDepth=e},P.prototype.valueOf=function(){return this.get(0)},P.prototype.get=function(e){return isNaN(e)&&(e=0),e=e||0,this.hist?e>=this.hist.length?(console.error("not enough depth: "+this),NaN):this._get(e):(this.mindepth=S.max(this.mindepth,e),NaN)},P.prototype._get=function(e){var t=this.hist_pos-e;return t<0&&(t+=this.hist.length),this.hist[t]},P.prototype.set=function(e){this.hist&&(this.hist[this.hist_pos]=e,this.modified=!0)},P.prototype.prepare=function(e){e===this.symbol&&(e.isNewBar?(this.original=this.get(0),!this.modified&&this.hist||this.add_hist()):this.set(this.original),this.modified=!1)},P.prototype.add_hist=function(){if(!this.hist){var e=S.na(this.mindepth)?S.max_series_default_size:S.max(this.mindepth+1,1);e=Math.round(e);for(var t=new Array(e),i=0;ie.id===u.Regular),i=e.subsessions.find(e=>e.id===u.PreMarket),s=e.subsessions.find(e=>e.id===u.PostMarket);void 0!==t&&(this.regularSubsession=new _(e.timezone,t.session,e.session_holidays,t["session-correction"])),void 0!==i&&(this.preMarketSubsession=new _(e.timezone,i.session,e.session_holidays,i["session-correction"])),void 0!==s&&(this.postMarketSubsession=new _(e.timezone,s.session,e.session_holidays,s["session-correction"]))}},x.prototype.isdwm=function(){return""!==this.resolution&&"S"!==this.resolution&&"T"!==this.resolution},x.prototype.enable_dwm_aligning=function(e,t){ -this.dwm_aligner=f.newBarBuilder(this.period,e,t)},x.prototype.bartime=function(){var e=this.time;if(!this.isdwm()||isNaN(e))return e;var t=g.utc_to_cal(this.timezone,e);return this.session.spec.correctTradingDay(t),g.cal_to_utc(this.timezone,t)},x.prototype.lastbar=function(e){if(!isNaN(e.time)){var t=e.time;this.dwm_aligner&&(this.dwm_aligner.moveTo(t),t=this.dwm_aligner.startOfBar(0));var i=this.time!==t;i&&this.index>=0&&!this.isBarClosed&&(this.isNewBar=!1,this.isBarClosed=!0,this.script.calc(this)),this.time=t,this.open=e.open,this.high=e.high,this.low=e.low,this.close=e.close,this.volume=e.volume,this.updatetime=e.updatetime,this.isNewBar=i,this.isBarClosed=e.isBarClosed,this.isLastBar=e.isLastBar,this.isNewBar&&(this.index++,this.isFirstBar=0===this.index),this.script.calc(this)}},I.prototype.calc=function(e){var t=this.ctx,i=this.body;t.prepare(e);var s=i.main(t,this.inputCallback,e);if(s&&"composite"===s.type)for(let e=0;e1&&o.enable_dwm_aligning(this.symbols[0].session,o.session),o},I.prototype.maxAdditionalDepth=function(){return this.symbols[0].isAdditionalDepthAllowed?this.ctx.maxAdditionalDepth():0},I.prototype.stop=function(){this.symbols=null,this.ctx.stop(),this.ctx=null},I.prototype.get_sym=function(e){return this.symbols[e]},M.prototype.add_sym=function(e,t,i,s,r,n,o){var a=new x(e,t,i,s,r,n);return this.symbols.push(a),a},M.prototype.get_sym=function(e){return this.symbols[e]},M.prototype.out=function(e,t){if(this.nonseriesUpdate){var i=Object.assign({},this.nonseriesUpdate);t.splice(0,0,e.time),i.lastBar=t,this.host.nonseriesOut(e,i)}else this.host.out(e,t)},M.prototype.start=function(){this.isStarted=!0;var e=this.host;this._script=new I(e.tickerid,e.period,e.currencyCode,e.unitId,this,e.body,this.out.bind(this),e.input,e.nonseriesOut,e.symbolInfo,e.subsessionId);var t=this,i=[],s=this.symbols,r=Object.assign({},e.dataRange,{countBack:e.dataRange.countBack+t._script.maxAdditionalDepth()}),n=s[0];function o(t,s,r){i.push(M.feed.subscribe(t.tickerid,t.currencyCode,t.unitId,t.period,r,e.onErrorCallback,e.symbolInfo,e.sessionId,s,e.forceAlignBars,t.subsessionId))}function h(i,s){"series"===(s.nonseries?"nonseries":"series")?t.update(i,s):s.lastBar?(t.nonseriesUpdate=s,s.lastBar.isLastBar=!0,t.symbols[0].lastbar(s.lastBar),t.nonseriesUpdate=null):e.nonseriesOut(p,s)}function d(){return r}o(n,d,(function(e){!e.nonseries&&Number.isFinite(e.firstLoadedTimeMs)&&function(e){ -function i(i,s){var r=c(i,s)(e),n=l(i,s);return null!==n&&(r=n.timeToExchangeTradingDay(r)),{to:r,countBack:t._script.maxAdditionalDepth()}}for(var r=1;r=0;i--)for(var s=e[i],r=this.barsets[i],n=r.count(),o=0;o{"use strict";const s=i(45112).getHexColorByName;var r=i(216);i(27595);var n=i(99294).pivotPointsStandardStudyItem,o=i(62839).volumeProfileVisibleRangeStudyItem,a=i(5748).volumeProfileFixedRangeVbPStudyItem,l=i(5748).volumeProfileFixedRangeBSStudyItem,c=i(65754).spreadStudyItem,h=i(82366).ratioStudyItem,d=i(13463).regressionTrendStudyItem;const u=s("color-ripe-red-400"),p=s("color-minty-green-400");JSServer.studyLibrary=JSServer.studyLibrary.concat([{name:"Compare",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!0,defaults:{styles:{compare:{linestyle:0,linewidth:2,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#9C27B0"}},inputs:{source:"close",symbol:""}},plots:[{id:"compare",type:"line"}],styles:{compare:{title:"Plot",histogramBase:0}},description:"Compare",shortDescription:"Compare",is_price_study:!0,inputs:[{defval:"close",id:"source",name:"Source",options:["open","high","low","close","hl2","hlc3","ohlc4"],type:"text"},{id:"symbol",name:"Symbol",type:"symbol",isHidden:!0}],id:"Compare@tv-basicstudies-1",format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._context.new_sym(t(1),r.Std.period(this._context))},this.main=function(e,t){this._context=e;var i=this._context.new_unlimited_var(this._context.symbol.time);this._context.select_sym(1);var s=this._context.new_unlimited_var(this._context.symbol.time),n=r.Std[t(0)](this._context),o=this._context.new_unlimited_var(n);return this._context.select_sym(0),[o.adopt(s,i,0)]}}},{name:"Overlay",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!0,defaults:{styles:{},inputs:{symbol:""}},plots:[{id:"open",type:"line"},{id:"high",type:"line"},{id:"low",type:"line"},{id:"close",type:"line"}],styles:{open:{title:"Open"},high:{title:"High"},low:{title:"Low"},close:{title:"Close"}},description:"Overlay",shortDescription:"Overlay",is_price_study:!1,inputs:[{id:"symbol",name:"symbol",defval:"",type:"symbol",isHidden:!0}], -id:"Overlay@tv-basicstudies-1",format:{type:"price",precision:4}},constructor:function(){this.init=function(e,t){this._context=e,this._context.new_sym(t(0),r.Std.period(this._context))},this.main=function(e,t){this._context=e;var i=this._context.new_unlimited_var(this._context.symbol.time);this._context.select_sym(1);var s=this._context.new_unlimited_var(this._context.symbol.time),n=this._context.new_unlimited_var(r.Std.open(this._context)),o=this._context.new_unlimited_var(r.Std.high(this._context)),a=this._context.new_unlimited_var(r.Std.low(this._context)),l=this._context.new_unlimited_var(r.Std.close(this._context));return this._context.select_sym(0),[n.adopt(s,i,1),o.adopt(s,i,1),a.adopt(s,i,1),l.adopt(s,i,1)]}}},{name:"Volume",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{vol:{linestyle:0,linewidth:1,plottype:5,trackPrice:!1,transparency:50,visible:!0,color:"#000080"},vol_ma:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1,color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1,color:"#2196F3"}},palettes:{volumePalette:{colors:{0:{color:u,width:1,style:0},1:{color:p,width:1,style:0}}}},inputs:{showMA:!1,length:20,col_prev_close:!1,symbol:"",smoothingLine:"SMA",smoothingLength:9}},plots:[{id:"vol",type:"line"},{id:"volumePalette",palette:"volumePalette",target:"vol",type:"colorer"},{id:"vol_ma",type:"line"},{id:"smoothedMA",type:"line"}],styles:{vol:{title:"Volume",histogramBase:0},vol_ma:{title:"Volume MA",histogramBase:0},smoothedMA:{title:"Smoothed MA",histogramBase:0}},description:"Volume",shortDescription:"Volume",is_price_study:!1,palettes:{volumePalette:{colors:{0:{name:"Falling"},1:{name:"Growing"}}}},inputs:[{id:"symbol",name:"Other Symbol",defval:"",type:"symbol",optional:!0,isHidden:!1},{id:"showMA",name:"show MA",defval:!1,type:"bool",isHidden:!0},{id:"length",name:"MA Length",defval:20,type:"integer",min:1,max:2e3},{defval:!1,id:"col_prev_close",name:"Color based on previous close",type:"bool"},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:9,type:"integer",min:1,max:1e4}],id:"Volume@tv-basicstudies-1",format:{type:"volume"}},constructor:function(){this.init=function(e,t){this._context=e,""!==t(0)&&this._context.new_sym(t(0),r.Std.period(this._context))},this.f_0=function(e,t){return r.Std.gt(e,t)?0:1},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.volume(this._context),s=r.Std.open(this._context),n=r.Std.close(this._context),o=this._context.new_var(this._context.symbol.time),a=this._input(4),l=this._input(5);if(this._context.setMinimumAdditionalDepth(this._input(2)+l),""!==this._input(0)){this._context.select_sym(1);var c=this._context.new_var(this._context.symbol.time),h=this._context.new_var(r.Std.volume(this._context)),d=this._context.new_var(r.Std.open(this._context)),u=this._context.new_var(r.Std.close(this._context));i=h.adopt(c,o,1), -s=d.adopt(c,o,1),n=u.adopt(c,o,1),this._context.select_sym(0)}var p,_,m=this._context.new_var(i),g=r.Std.sma(m,this._input(2),this._context),f=this._context.new_var(g),v=this._context.new_var(n);return p=v.get(1)&&this._input(3)?this.f_0(v.get(1),n):this.f_0(s,n),"EMA"===a?_=r.Std.ema(f,l,this._context):"WMA"===a?_=r.Std.wma(f,l,this._context):"SMA"===a&&(_=r.Std.sma(f,l,this._context)),[i,p,g,_]}}},{name:"ZigZag",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:2,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:5,in_1:10}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",target:"plot_0",type:"dataoffset"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Zig Zag",shortDescription:"ZigZag",is_price_study:!0,classId:"ScriptWithDataOffset",inputs:[{id:"in_0",name:"deviation",defval:5,type:"float",min:.001,max:100},{id:"in_1",name:"depth",defval:10,type:"integer",min:2,max:1e3}],id:"ZigZag@tv-basicstudies-1",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=i/100,o=Math.ceil(s/2);return[r.Std.zigzag(n,o,this._context),r.Std.zigzagbars(n,o,this._context)]}}},{name:"Sessions",metainfo:{_metainfoVersion:52,defaults:{graphics:{vertlines:{sessBreaks:{color:"#4985e7",style:2,visible:!1,width:1}},backgrounds:{preMarket:{color:"#FF9800",transparency:92,visible:!0},postMarket:{color:"#2196F3",transparency:92,visible:!0}}},linkedToSeries:!0},description:"Sessions",graphics:{vertlines:{sessBreaks:{name:"Session Break",halign:"left"}},backgrounds:{preMarket:{name:"Pre market"},postMarket:{name:"Post market"}}},id:"Sessions@tv-basicstudies-1",inputs:[],is_hidden_study:!0,is_price_study:!0,name:"Sessions@tv-basicstudies",palettes:{},plots:[],shortDescription:"Sessions",format:{type:"inherit"}},constructor:function(){function e(e,t){return{id:e,index:e,extendBottom:!0,extendTop:!0}}function t(e){return{id:e.start,start:e.start,stop:e.stop}}this.init=function(){this._times=[]},this._getVerticalLineData=function(t){return r.Std.selectSessionBreaks(t,this._times).map(e)},this._getPreAndPostMarketBackgroundsData=function(e){const i=r.Std.selectPreAndPostMarketTimes(e,this._times);return{preMarket:i.preMarket.map(t),postMarket:i.postMarket.map(t)}},this.main=function(e,t){if(r.Std.isdwm(e))return null;var i=r.Std.time(e);if(isNaN(i))return null;var s=this._times.length;if(0!==s&&this._times[s-1]===i||this._times.push(i),!e.symbol.isLastBar||!e.symbol.isNewBar)return null;var n=this._getVerticalLineData(e),o=this._getPreAndPostMarketBackgroundsData(e);return 0===n.length&&0===o.preMarket.length&&0===o.postMarket?null:{nonseries:!0,type:"study_graphics",data:{graphicsCmds:{create:{vertlines:[{styleId:"sessBreaks",data:n}],backgrounds:[{styleId:"preMarket",data:o.preMarket},{styleId:"postMarket",data:o.postMarket}]},erase:[{action:"all"}]}}}}}},{name:"SuperTrend",metainfo:{_metainfoVersion:52,isTVScript:!1, -isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:3,plottype:0,trackPrice:!1,transparency:35,visible:!0,color:"#000080"},plot_2:{linestyle:0,linewidth:3,plottype:"shape_arrow_up",trackPrice:!1,location:"BelowBar",transparency:35,visible:!0,color:"#00FF00"},plot_3:{linestyle:0,linewidth:3,plottype:"shape_arrow_down",trackPrice:!1,location:"AboveBar",transparency:35,visible:!0,color:"#FF0000"}},palettes:{palette_0:{colors:{0:{color:"#008000",width:3,style:0},1:{color:"#800000",width:3,style:0}}}},inputs:{in_0:10,in_1:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",palette:"palette_0",target:"plot_0",type:"colorer"},{id:"plot_2",type:"shapes"},{id:"plot_3",type:"shapes"}],styles:{plot_0:{title:"SuperTrend",histogramBase:0,joinPoints:!1,isHidden:!1},plot_2:{title:"Up Arrow",histogramBase:0,joinPoints:!1,isHidden:!1},plot_3:{title:"Down Arrow",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"SuperTrend",shortDescription:"SuperTrend",is_price_study:!0,palettes:{palette_0:{colors:{0:{name:"Color 0"},1:{name:"Color 1"}},valToIndex:{0:0,1:1}}},inputs:[{id:"in_0",name:"Length",defval:10,type:"integer",min:1,max:100},{id:"in_1",name:"Factor",defval:3,type:"float",min:1,max:100}],id:"SuperTrend@tv-basicstudies-1",scriptIdPart:"",name:"SuperTrend",isCustomIndicator:!0,format:{type:"inherit"}},constructor:function(){this.main=function(e,t){var i=t(0),s=t(1),[n,o]=r.Std.supertrend(s,i,e),a=e.new_var(o).get(1);return[n,-1===o?0:1,-1===o&&a!==o?1:NaN,1===o&&a!==o?1:NaN]}}},n,o,a,l,c,h,d])},99294:(e,t,i)=>{"use strict";i.d(t,{pivotPointsStandardStudyItem:()=>d});var s=i(216),r=i(29823),n=i(983);class o{constructor(){this.p=NaN,this.r1=NaN,this.s1=NaN,this.r2=NaN,this.s2=NaN,this.r3=NaN,this.s3=NaN,this.r4=NaN,this.s4=NaN,this.r5=NaN,this.s5=NaN,this.startIndex__t=NaN,this.endIndex__t=NaN}}class a{constructor(){this.pivots=[]}}function l(e,t){e.setUTCMonth(e.getUTCMonth()+t)}function c(e,t){if(s.Std.ismonthly(e)){let i=new Date(t);return i.getUTCDay()=1&&t.multiplier()<=15?"1D":"1W";case r.ResolutionKind.Seconds:case r.ResolutionKind.Ticks:return"1D"}throw new Error("Unexpected resolution type: "+e.symbol.resolution)}(e);case"Daily":return"1D";case"Weekly":return"1W";case"Monthly":return"1M";case"Yearly":return"12M";default:throw new Error("No such pivTimeFrame: "+t)}}const d={name:"Pivot Points Standard",metainfo:{_metainfoVersion:44,defaults:{inputs:{kind:"Traditional",lookBack:15, -pivTimeFrame:"Auto",showHistoricalPivots:!0},precision:"4"},description:"Pivot Points Standard",id:"PivotPointsStandard@tv-basicstudies-80",inputs:[{defval:"Traditional",id:"kind",name:"Type",options:["Traditional","Fibonacci","Woodie","Classic","DeMark","Camarilla"],type:"text"},{defval:!0,id:"showHistoricalPivots",name:"Show historical pivots",type:"bool"},{defval:"Auto",id:"pivTimeFrame",name:"Pivots Timeframe",options:["Auto","Daily","Weekly","Monthly","Yearly"],type:"text"},{defval:15,id:"lookBack",max:5e3,min:1,name:"Number of Pivots Back",type:"integer"}],is_price_study:!0,linkedToSeries:!0,shortDescription:"Pivots",format:{type:"price",precision:4}},constructor:class{constructor(){this._secondaryRes="1D",this._firstMainSeriesBarTime=NaN}init(e,t){const i=t(0),r=t(1),o=t(2),l=t(3);this._data=new a,this._firstMainSeriesBarTime=NaN,this._kindPP=function(e){switch(e){case"Traditional":return 0;case"Fibonacci":return 1;case"Woodie":return 2;case"Classic":return 3;case"DeMark":return 4;case"Camarilla":return 5;default:throw new Error("Unknown kind "+e)}}(i),this._showHistoricalPivots=r,this._historicalPivotsToKeep=l,this._pivTimeFrame=o,this._isValidResolution=function(e,t){return(!s.Std.isdaily(e)||"Daily"!==t)&&((!s.Std.isweekly(e)||"Daily"!==t&&"Weekly"!==t)&&(!s.Std.ismonthly(e)||"Daily"!==t&&"Weekly"!==t&&"Monthly"!==t))}(e,this._pivTimeFrame),this._isValidResolution||s.Std.error("You cannot see this pivot timeframe on this resolution"),this._isValidResolution&&(this._secondaryRes=h(e,this._pivTimeFrame),void 0!==e.symbol.info&&(0,n.findSuitableResolutionToBuildFrom)(this._secondaryRes,e.symbol.info).error&&(this._isValidResolution=!1,s.Std.error(`Resolution ${this._secondaryRes} is not supported for this symbol`))),e.new_sym(e.symbol.tickerid,this._secondaryRes)}main(e,t,i){if(!this._isValidResolution)return null;if(e.is_main_symbol(i))return isNaN(this._firstMainSeriesBarTime)&&(this._firstMainSeriesBarTime=e.symbol.time,this._removeUnusedPivots()),e.symbol.isLastBar&&e.symbol.isNewBar?this._createResponse():null;e.select_sym(1);const r=e.new_var(s.Std.open(e)),n=e.new_var(s.Std.high(e)),a=e.new_var(s.Std.low(e)),l=e.new_var(s.Std.close(e)),h=e.new_var(s.Std.time(e)),d=this._data,u=r.get(0),p=h.get(0),_=r.get(1),m=n.get(1),g=a.get(1),f=l.get(1),v=e.symbol.isLastBar;if(0!==d.pivots.length&&e.symbol.isNewBar){const e=d.pivots[d.pivots.length-1];e.endIndex__t!==p&&(e.endIndex__t=p)}if(0===e.symbol.index||!e.symbol.isNewBar)return e.select_sym(0),null;const S=function(e,t,i,r,n,a,l,c){const h=new o;let d=NaN;const u=i-r;switch(c){case 0:d=(i+r+n)/3,h.p=d,h.r1=2*d-r,h.s1=2*d-i,h.r2=d+(i-r),h.s2=d-(i-r),h.r3=2*d+(i-2*r),h.s3=2*d-(2*i-r),h.r4=3*d+(i-3*r),h.s4=3*d-(3*i-r),h.r5=4*d+(i-4*r),h.s5=4*d-(4*i-r);break;case 1:d=(i+r+n)/3,h.p=d,h.r1=d+.382*u,h.s1=d-.382*u,h.r2=d+.618*u,h.s2=d-.618*u,h.r3=d+u,h.s3=d-u;break;case 2:d=(i+r+2*e)/4,h.p=d,h.r1=2*d-r,h.s1=2*d-i,h.r2=d+u,h.s2=d-u,h.r3=i+2*(d-r),h.s3=r-2*(i-d),h.r4=h.r3+u,h.s4=h.s3-u;break;case 3:d=(i+r+n)/3,h.p=d,h.r1=2*d-r,h.s1=2*d-i,h.r2=d+u,h.s2=d-u,h.r3=d+2*u, -h.s3=d-2*u,h.r4=d+3*u,h.s4=d-3*u;break;case 4:let o=NaN;o=s.Std.equal(t,n)?i+r+2*n:s.Std.greater(n,t)?2*i+r+n:2*r+i+n,d=o/4,h.p=d,h.r1=o/2-r,h.s1=o/2-i;break;case 5:d=(i+r+n)/3,h.p=d,h.r1=n+1.1*u/12,h.s1=n-1.1*u/12,h.r2=n+1.1*u/6,h.s2=n-1.1*u/6,h.r3=n+1.1*u/4,h.s3=n-1.1*u/4,h.r4=n+1.1*u/2,h.s4=n-1.1*u/2;break;default:throw new Error("Unknown kind")}return h.startIndex__t=a,h.endIndex__t=l,h}(u,_,m,g,f,p,c(e,p),this._kindPP);return e.select_sym(0),this._showHistoricalPivots||(d.pivots=[]),d.pivots.push(S),d.pivots.length>this._historicalPivotsToKeep&&d.pivots.shift(),v?this._createResponse():null}_createResponse(){return 0===this._data.pivots.length?null:{nonseries:!0,type:"non_series_data",data:{data:this._data}}}_removeUnusedPivots(){const e=Math.max(this._data.pivots.findIndex(e=>e.startIndex__t>this._firstMainSeriesBarTime)-1,0);e>0&&this._data.pivots.splice(0,e)}}}},82366:(e,t,i)=>{"use strict";i.d(t,{ratioStudyItem:()=>n});var s=i(84707);class r extends s.SpreadRatioBase{_doCalculation(e,t,i,s){return e*t/(i*s)}}const n={name:"Ratio",metainfo:{_metainfoVersion:15,defaults:s.spreadRatioDefaults,plots:s.spreadRatioPlots,styles:s.spreadRatioStyles,description:"Ratio",shortDescription:"Ratio",is_price_study:!1,inputs:s.spreadRatioInputs,id:"Ratio@tv-basicstudies-1",format:{type:"price",precision:2}},constructor:r}},13463:(e,t,i)=>{"use strict";i.d(t,{regressionTrendStudyItem:()=>n});var s=i(216);function r(e,t,i){const r={slope:NaN,average:NaN,intercept:NaN,stdDev:NaN,upDev:NaN,downDev:NaN,pearsons:NaN};return 0===e.length||(function(e,t){let i=0,s=0,r=0,n=0;for(let t=0;tn&&(n=u),u=d-i[s],u>o&&(o=u),u=e[s];const _=u-r.average,m=d-p;u-=d,a+=u*u,l+=_*_,c+=m*m,h+=_*m,d+=r.slope}r.stdDev=Math.sqrt(a/(0===u?1:u)),r.pearsons=s.Std.isZero(l)||s.Std.isZero(c)?0:h/Math.sqrt(l*c),r.upDev=n,r.downDev=o}(e,t,i,r)),r}const n={name:"Regression Trend",metainfo:{_metainfoVersion:51,description:"Regression Trend",format:{type:"inherit"},id:"RegressionTrend@tv-basicstudies-144",is_hidden_study:!0,is_price_study:!0,shortDescription:"Reg Trend",defaults:{inputs:{"first bar time":0,"last bar time":0,"lower diviation":-2,source:"close","upper diviation":2,"use lower diviation":!0,"use upper diviation":!0}},inputs:[{defval:2,id:"upper diviation",max:500,min:-500,name:"Upper Deviation",type:"float"},{defval:-2,id:"lower diviation",max:500,min:-500,name:"Lower Deviation",type:"float"},{defval:!0,id:"use upper diviation",name:"Use Upper Deviation",type:"bool"},{defval:!0,id:"use lower diviation",name:"Use Lower Deviation",type:"bool"},{defval:0,id:"first bar time",isHidden:!0,max:253370764800,min:-253370764800,name:"First bar time",type:"time"},{defval:0,id:"last bar time",isHidden:!0,max:253370764800,min:-253370764800, -name:"Last bar time",type:"time"},{defval:"close",id:"source",name:"Source",options:["open","high","low","close","hl2","hlc3","ohlc4"],type:"source"}],plots:[]},constructor:class{constructor(){this._resultSent=!1}init(e,t){this._resultSent=!1,this._data={baseLine:{startPrice:NaN,endPrice:NaN},upLine:{startPrice:NaN,endPrice:NaN},downLine:{startPrice:NaN,endPrice:NaN},pearsons:NaN,startIndex__t:NaN,endIndex__t:NaN}}main(e,t){const i=t(6),n=e.new_unlimited_var(s.Std.time(e)),o=e.new_unlimited_var(s.Std.high(e)),a=e.new_unlimited_var(s.Std.low(e)),l=e.new_unlimited_var(s.Std[i](e));if(!e.symbol.isLastBar)return null;if(this._resultSent)return null;const c=t(0),h=t(1),d=t(2),u=t(3),p=t(4),_=t(5),m=n.indexOf(p),g=n.indexOf(_),f=[],v=[],S=[],y=[];for(let e=m;e>=g;--e)f.push(n.get(e)),v.push(o.get(e)),S.push(a.get(e)),y.push(l.get(e));return this._updateData(f,d,c,u,h,p,_,r(y,v,S)),this._resultSent=!0,{type:"non_series_data",nonseries:!0,data:{data:this._data}}}_updateData(e,t,i,s,r,n,o,a){const l=e.length-1;this._data.baseLine.startPrice=a.intercept,this._data.baseLine.endPrice=a.intercept+a.slope*l;const c=a.intercept+(t?a.stdDev*i:a.upDev);this._data.upLine.startPrice=c,this._data.upLine.endPrice=c+a.slope*l;const h=a.intercept+(s?a.stdDev*r:-a.downDev);this._data.downLine.startPrice=h,this._data.downLine.endPrice=h+a.slope*l,this._data.pearsons=a.pearsons,this._data.startIndex__t=n,this._data.endIndex__t=o}}}},84707:(e,t,i)=>{"use strict";i.d(t,{SpreadRatioBase:()=>r,spreadRatioDefaults:()=>n,spreadRatioInputs:()=>o,spreadRatioPlots:()=>a,spreadRatioStyles:()=>l});var s=i(216);class r{init(e,t){e.new_sym(t(1),s.Std.period(e)),this._source=t(0),this._scaleFactor1=1,this._scaleFactor2=1}main(e,t){const i=e.symbol.time,r=s.Std[this._source](e);e.select_sym(1);const n=s.Std[this._source](e),o=e.new_unlimited_var(n),a=e.new_unlimited_var(e.symbol.time);if(e.select_sym(0),isNaN(i))return null;let l=a.indexOf(i);-1!==l&&a.get(l)!==i&&(l=-1);const c=l<0?NaN:o.get(l);return[this._doCalculation(this._scaleFactor1,r,this._scaleFactor2,c)]}}const n={styles:{plot1:{linestyle:0,linewidth:2,plottype:0,trackPrice:!1,transparency:35,visible:!0,color:"#800080"}},precision:2,inputs:{source:"close",symbol2:""}},o=[{defval:"close",id:"source",name:"Source",options:["open","high","low","close","hl2","hlc3","ohlc4"],type:"text"},{id:"symbol2",name:"Symbol",type:"symbol",confirm:!0}],a=[{id:"plot1",type:"line"}],l={plot1:{title:"Plot",histogramBase:0}}},65754:(e,t,i)=>{"use strict";i.d(t,{spreadStudyItem:()=>n});var s=i(84707);class r extends s.SpreadRatioBase{_doCalculation(e,t,i,s){return e*t-i*s}}const n={name:"Spread",metainfo:{_metainfoVersion:15,defaults:s.spreadRatioDefaults,plots:s.spreadRatioPlots,styles:s.spreadRatioStyles,description:"Spread",shortDescription:"Spread",is_price_study:!1,inputs:s.spreadRatioInputs,id:"Spread@tv-basicstudies-1",format:{type:"price",precision:2}},constructor:r}},9345:(e,t,i)=>{"use strict";i.d(t,{VbPCheckHaveVolumeExpr:()=>r});var s=i(216);class r{constructor(e){this._haveAnyVolume=!1, -this._isDisabled=!1,this._seriesGetter=e}update(e,t){if(this._haveAnyVolume||this._isDisabled)return;const i=this._seriesGetter.volume().get(e);0!==i&&Number.isFinite(i)&&(this._haveAnyVolume=!0),t&&(this._haveAnyVolume||s.Std.error("The data vendor doesn't provide volume data for this symbol."),this._isDisabled=!0)}}},62876:(e,t,i)=>{"use strict";i.d(t,{VolumeByPriceExpr:()=>_});var s=i(88537),r=i(64514),n=i(29823),o=i(216),a=i(31738);class l extends a.GraphicsObj{constructor(e,t,i,r,n,o){super(e),(0,s.assert)(t({index:e.index,offset:e.offset,level:e.level}))}}}class u extends a.GraphicsObj{constructor(e,t,i,s,r=!1,n=!1){super(e),this._endIndex=this._mixinJSONObject.createTimeField(i,"endIndex"),this._extendLeft=this._mixinJSONObject.createField(r,"extendLeft"),this._extendRight=this._mixinJSONObject.createField(n,"extendRight"),this._level=this._mixinJSONObject.createDoubleField(s,"level"),this._startIndex=this._mixinJSONObject.createTimeField(t,"startIndex")}isNaN(){return super.isNaN()||Number.isNaN(this._level.get())||this._startIndex.get()<0||this._endIndex.get()<0||this._startIndex.get()===this._endIndex.get()&&!this._extendLeft.get()&&!this._extendRight.get()}jsonName(){return"horizlines"}primitiveData(){return{id:this.id(),startIndex:this._startIndex.get(),endIndex:this._endIndex.get(),extendLeft:this._extendLeft.get(),extendRight:this._extendRight.get(),level:this._level.get()}}startIndex(){return this._startIndex.get()}setStartIndex(e){this._startIndex.set(e)&&this._processObjUpdate()}endIndex(){return this._endIndex.get()}setEndIndex(e){this._endIndex.set(e)&&this._processObjUpdate()}level(){return this._level.get()}setLevel(e){this._level.set(e)&&this._processObjUpdate()}isExtendLeft(){return this._extendLeft.get()}setExtendLeft(e){this._extendLeft.set(e)&&this._processObjUpdate()}extendLeft(){return this.isExtendLeft()}isExtendRight(){return this._extendRight.get()}setExtendRight(e){this._extendRight.set(e)&&this._processObjUpdate()}extendRight(){return this.isExtendRight()}}class p{constructor(){this._map=new Map}get(e){const t=this._innerMap(e.start);return t&&t.get(e.end)}set(e,t){this._innerMap(e.start,!0).set(e.end,t)}clear(){this._map.clear()}size(){let e=0;return this._map.forEach(t=>e+=t.size),e}_innerMap(e,t){let i=this._map.get(e);return void 0===i&&t&&(i=new Map,this._map.set(e,i)),i}}class _{constructor(e,t,i,r,n,o,a,l,h,d,u,_,m,g){this._freezedBoxes=new c.GraphicsList,this._freezedHists=new c.GraphicsList,this._freezedPocs=new c.GraphicsList,this._freezedVAHists=new c.GraphicsList,this._currentHistsGr=new c.GraphicsList,this._currentVAHistsGr=new c.GraphicsList,this._currentHists=[],this._currentHistsMap=new p,this._currentBox=null,this._currentPoc=null,this._historyBarSet=[],this._prevRtBar=null,this._minPrice=Number.POSITIVE_INFINITY,this._maxPrice=Number.NEGATIVE_INFINITY,this._leftBoxTime=null,this._rightBoxTime=null,this._needRecalc=!1,this._largestHistItem=null,this._rowsLayout=null,this._currentVAStart=0,this._currentVAEnd=0,this._previousVAStart=0,this._previousVAEnd=0,this._idsGenerator=null,(0,s.assert)(1===e||2===e),this._numOfSubHists=e,this._outHists=r,this._outBoxLines=n,this._outPocLines=o,this._extendPocLeftRight=a,this._outVAHists=l,this._vaVolumePercent=h,this._rowsLayoutSupplier=d,this._outHists.addStable(this._freezedHists),this._outVAHists.addStable(this._freezedVAHists),this._maxHHistItems=u,this._layoutIsAutoselected=g,this._leftBoxTimeMutable=_,this._rightBoxTimeMutable=m,this._ctx=t,this._seriesGetter=i}update(e){this._supplyRowsLayout(this._ctx), -null===this._currentBox&&this._initCurrentBox(),null===this._currentPoc&&this._initCurrentPoc();const t=this._timeScale().get(e);this._leftBoxTime=this._leftBoxTimeMutable,this._rightBoxTime=this._rightBoxTimeMutable,this._ctx.symbol.isLastBar&&!Number.isNaN(this._rightBoxTime)&&(this._rightBoxTime=Math.min(t+n.Interval.parse(this._ctx.symbol.interval+this._ctx.symbol.resolution).inMilliseconds(t)-1,this._rightBoxTime));const i=o.Std.greaterOrEqual(this._seriesClose().get(e),this._seriesOpen().get(e)),s={high:this._seriesHigh().get(e),low:this._seriesLow().get(e),volume:this._seriesVol().get(e),isUp:i,time:t};this._updateCurrentHistogram(s),this._currentHists.length>0&&(this._largestHistItem=this._getLargestHistItem(),this._updateCurrentPoc(),this._seriesGetter.developingPoc().set(this._currentPoc.level()),this._updateValueArea(),this._vaVolumePercent>0&&(this._seriesGetter.developingVAHigh().set(this._currentHists[this._currentVAEnd].priceHigh()),this._seriesGetter.developingVALow().set(this._currentHists[this._currentVAStart].priceLow()))),this._updateCurrentBox(),this._rebuildOutData()}setIdsGeneratorProxy(e){this._idsGenerator=e}nextGraphicsObjId(){return(0,s.ensureNotNull)(this._idsGenerator).nextGraphicsObjId()}pushEraseObjCmd(e,t){(0,s.ensureNotNull)(this._idsGenerator).pushEraseObjCmd(e,t)}popEraseCmds(){return(0,s.ensureNotNull)(this._idsGenerator).popEraseCmds()}_timeScale(){return this._seriesGetter.time()}_seriesLow(){return this._seriesGetter.low()}_seriesHigh(){return this._seriesGetter.high()}_seriesVol(){return this._seriesGetter.volume()}_seriesOpen(){return this._seriesGetter.open()}_seriesClose(){return this._seriesGetter.close()}_freezeCurrentHistogramAndCleanup(){null!==this._currentBox&&this._freezedBoxes.add(this._currentBox),o.Std.greater(this._getVolume(this._currentHists),0)&&(this._freezedHists.addAll(this._currentHistsGr),this._freezedVAHists.addAll(this._currentVAHistsGr),null!==this._currentPoc&&this._freezedPocs.add(this._currentPoc)),this._currentHists=[],this._currentHistsGr.clear(),this._currentHistsMap.clear(),this._initCurrentBox(),this._initCurrentPoc(),this._currentVAHistsGr.clear(),this._historyBarSet=[],this._minPrice=Number.POSITIVE_INFINITY,this._maxPrice=Number.NEGATIVE_INFINITY,this._prevRtBar=null,this._leftBoxTime=null,this._rightBoxTime=null}_supplyRowsLayout(e){null===this._rowsLayout&&e.symbol.isFirstBar&&e.symbol.isNewBar&&(this._rowsLayout=this._rowsLayoutSupplier())}_updateCurrentHistogram(e){if(this._needRecalc=!1,o.Std.greater(this._minPrice,e.low)&&(this._minPrice=e.low,this._needRecalc=!0),o.Std.less(this._maxPrice,e.high)&&(this._maxPrice=e.high,this._needRecalc=!0),this._ctx.symbol.isBarClosed&&this._historyBarSet.length>0){const t=this._historyBarSet[this._historyBarSet.length-1];t.time===e.time&&(this._prevRtBar=t,this._historyBarSet.pop())}this._needRecalc&&0===(0,s.ensureNotNull)(this._rowsLayout).type()?(this._recalculateCurrentResultsOnHistoryBarSet(),this._applyUpdateToCurrentResults(e,!1)):this._applyUpdateToCurrentResults(e,!0), -this._ctx.symbol.isBarClosed?((0,s.assert)(null===this._prevRtBar||e.time===this._prevRtBar.time),this._historyBarSet.push(e),this._prevRtBar=null):this._prevRtBar=e}_getMidLevel(e){return(e.priceHigh()+e.priceLow())/2}_getMidLevelFromList(e){return e.length%2==0?e[e.length/2].priceLow():this._getMidLevel(e[Math.floor(e.length/2)])}_getLargestHistItem(){let e=[],t=this._currentHists[0];for(const i of this._currentHists)o.Std.greater(i.ratesSum(),t.ratesSum())?(t=i,e=[t]):o.Std.equal(i.ratesSum(),t.ratesSum())&&e.push(i);if(e.length>1){const i=this._getMidLevelFromList(this._currentHists);t=e[e.length-1];for(let s=e.length-2;s>=0;s--){const r=e[s];o.Std.lessOrEqual(Math.abs(this._getMidLevel(r)-i),Math.abs(this._getMidLevel(t)-i))&&(t=r)}}return t}_initCurrentPoc(){this._currentPoc=new u(this,0,0,0)}_updateCurrentPoc(){const e=(0,s.ensureNotNull)(this._currentPoc);e.setStartIndex((0,s.ensureNotNull)(this._leftBoxTime)),e.setEndIndex((0,s.ensureNotNull)(this._rightBoxTime)),e.setExtendLeft(this._extendPocLeftRight),e.setExtendRight(this._extendPocLeftRight);const t=this._getMidLevel((0,s.ensureNotNull)(this._largestHistItem));e.setLevel(t)}_getVolume(e){let t=0;for(const i of e)t+=i.ratesSum();return t}_getPocHistItemIndex(){for(let e=0;e=0,"ERROR - PocHistItemIndex == "+e),this._currentVAStart=e-1,this._currentVAEnd=e+1;const t=this._getVolume(this._currentHists)*this._vaVolumePercent*.01;let i=this._currentHists[e].ratesSum(),r=0,n=null;for(;o.Std.lessOrEqual(i+r,t)&&(i+=r,0===n?--this._currentVAStart:1===n&&++this._currentVAEnd,-1!==this._currentVAStart||this._currentVAEnd!==this._currentHists.length);){let t,i;if(this._currentVAStart>-1)if(t=this._currentHists[this._currentVAStart].ratesSum(),this._currentVAEndthis._getMidLevel(this._currentHists[this._currentVAStart])&&e.priceLow()0&&(e=this._currentHists[0].priceLow(),t=this._currentHists[this._currentHists.length-1].priceHigh());const i=[],r=(0,s.ensureNotNull)(this._leftBoxTime),n=(0,s.ensureNotNull)(this._rightBoxTime);i.push(new h(r,e)),i.push(new h(r,t)),i.push(new h(n,t)),i.push(new h(n,e)),(0,s.ensureNotNull)(this._currentBox).setPoints(i)}_recalculateCurrentResultsOnHistoryBarSet(){for(let e=0;e0&&(this._largestHistItem=this._getLargestHistItem(),this._updateCurrentPoc()),this._updateCurrentBox()}_applyUpdateToCurrentResults(e,t){t&&null!==this._prevRtBar&&this._addHistoryBarToHistogram(this._prevRtBar,this._historyBarSet.length-1,this._currentHists,this._currentHistsMap,-1),this._addHistoryBarToHistogram(e,this._historyBarSet.length-1,this._currentHists,this._currentHistsMap,1),this._updateLastBarTimeInHistogram(this._currentHists)}_addHistoryBarToHistogram(e,t,i,r,n){(0,s.assert)(-1===n||1===n,"Please set sign argument either +1 or -1");const a=e.low,l=e.high,c=isNaN(e.volume)?0:e.volume,h=e.isUp,d=(0,s.ensureNotNull)(this._rowsLayout);d.init(this._ctx.symbol.minTick,this._minPrice,this._maxPrice,a,l);const u=d.rowWidth();if(!o.Std.greater(u,0))return;d.calculate();const p=d.getIndexLowVbP(),_=d.getIndexHighVbP(),m=d.getStartPrice();if(p===_){const e=p*u+m,t=(p+1)*u+m;this._updateResult({start:e,end:t},n*c,h,i,r)}else{let e=0;for(let t=p;t<=_;t++){const s=t*u+m,o=(t+1)*u+m,d=this._rowCoeff(s,o,a,l),p=d*c;e+=d,this._updateResult({start:s,end:o},n*p,h,i,r)}(0,s.assert)(o.Std.equal(e,1,.05),"totalCoeff not equal 1! totalConf = "+e)}}_updateResult(e,t,i,r,n){const a=this._createRates(i,t);(0,s.assert)(null!==this._leftBoxTime,"leftBoxTime is not set (equals null)"),(0,s.assert)(null!==this._rightBoxTime,"rightBoxTime is not set (equals null)");const c=(0,s.ensureNotNull)(this._leftBoxTime),h=(0,s.ensureNotNull)(this._rightBoxTime);let d=n.get(e);if(void 0===d)d=new l(this,e.start,e.end,a,c,h),n.set(e,d),this._verifyHistogramSizeIsNotTooLarge(n.size()),this._currentHistsGr.add(d),_._addInOrder(d,r,0,r.length,(e,t)=>{let i=o.Std.compare(e.firstBarTime(),t.firstBarTime());return 0!==i?i:(i=o.Std.compare(e.priceLow(),t.priceLow()), -0!==i?i:o.Std.compare(e.priceHigh(),t.priceHigh()))});else{const e=[];for(let t=0;td,maxHHistItems:()=>c,numOfSubHists:()=>h});var s=i(216),r=i(29823);class n{constructor(e,t){this._minTick=NaN,this._minPrice=NaN,this._maxPrice=NaN,this._low=NaN,this._high=NaN,this._startPrice=NaN,this._indexLowVbP=NaN,this._indexHighVbP=NaN,this._rowSize=e,this._type=t}init(e,t,i,s,r){this._minTick=e,this._minPrice=t,this._maxPrice=i,this._low=s,this._high=r}getStartPrice(){return this._startPrice}setStartPrice(e){this._startPrice=e}getIndexLowVbP(){return this._indexLowVbP}setIndexLowVbP(e){this._indexLowVbP=e}getIndexHighVbP(){return this._indexHighVbP}setIndexHighVbP(e){this._indexHighVbP=e}type(){return this._type}}class o extends n{constructor(e){super(e,0)}calculate(){this.setStartPrice(this._minPrice);const e=this.rowWidth();let t=Math.floor((this._low-this._minPrice)/e),i=Math.ceil((this._high-this._minPrice)/e)-1;t=Math.max(t,0),i=Math.max(i,0),i=Math.min(i,this._rowSize-1),t=Math.min(t,i),this.setIndexLowVbP(t),this.setIndexHighVbP(i)}rowWidth(){return Math.max((this._maxPrice-this._minPrice)/this._rowSize,this._minTick)}}class a extends n{constructor(e){super(e,1)}calculate(){this.setStartPrice(0);const e=this.rowWidth();let t=Math.floor(this._low/e) -;const i=Math.ceil(this._high/e)-1;t=Math.min(t,i),this.setIndexLowVbP(t),this.setIndexHighVbP(i)}rowWidth(){return this._minTick*this._rowSize}}var l=i(67337);function c(){return 6e3}function h(e){switch(e){case"Delta":case"Up/Down":return 2;case"Total":return 1;default:s.Std.error("Invalid study argument value: "+e)}}class d{findBasicResolutionForFromTo(e,t,i,n){const o=(0,s.getVolumeProfileResolutionForPeriod)(e.value(),t,i,n),a=r.Interval.parse(o);return l.enabled("charting_library_debug_mode")&&console.log(`Selected resolution ${a.value()} for (${e.value()}, ${t}, ${i})`),a}verifyRowSizeInput(e,t){"Number Of Rows"===t&&e>6e3&&s.Std.error('Histogram is too large, please reduce "Row Size" input.')}_getRowsLayout(e,t){return"Number Of Rows"===e?new o(t):new a(t)}}},5748:(e,t,i)=>{"use strict";i.d(t,{volumeProfileFixedRangeBSStudyItem:()=>w,volumeProfileFixedRangeVbPStudyItem:()=>b});var s=i(88537),r=i(96761),n=i(216),o=i(50993),a=i(95018),l=i(29823),c=i(78002),h=i(34574),d=i(18317),u=i(79113),p=i(45548),_=i(9345),m=i(95936),g=i(62876);class f extends g.VolumeByPriceExpr{constructor(e,t,i,s,r,n,o,a,l,c,h,d){super(e,t,i,n,o,a,!1,l,c,()=>h,d,s,r,!1),this._firstBarTime=s,this._lastBarTime=r}update(e){this._supplyRowsLayout(this._ctx),this.timeInRequestedRange(e)&&super.update(e)}timeInRequestedRange(e){const t=this._timeScale().get(e);return this._firstBarTime<=t&&t=this._firstBarTime){const e=this._developingPocSeries.getLeftOrEqual(n),t=this._developingVAHighSeries.getLeftOrEqual(n),i=this._developingVALowSeries.getLeftOrEqual(n);r.data.push([e,t,i])}else r.data.push([NaN,NaN,NaN])}return r}time(){return this._timeSeries}open(){return this._openSeries}high(){return this._highSeries}low(){return this._lowSeries}close(){return this._closeSeries}volume(){return this._volumeSeries}developingPoc(){return this._developingPocSeries}developingVAHigh(){return this._developingVAHighSeries}developingVALow(){return this._developingVALowSeries}}function y(e){return{constructor:S,name:e.description,metainfo:{_metainfoVersion:51,shortDescription:"VPFR",format:{type:"volume"},is_price_study:!0,defaults:{graphics:{hhists:{histBars2:{colors:["#1592e6","#fbc123"],direction:a.HHistDirection.LeftToRight,percentWidth:30, -showValues:!1,transparencies:[76,76],valuesColor:"#424242",visible:!0},histBarsVA:{colors:["#1592e6","#fbc123"],direction:a.HHistDirection.LeftToRight,percentWidth:30,showValues:!1,transparencies:[30,30],valuesColor:"#424242",visible:!0}},horizlines:{pocLines:{color:"#ff0000",style:m.LineStyle.Solid,visible:!0,width:2}},polygons:{histBoxBg:{color:"#37a6ef",transparency:94}}},inputs:{first_bar_time:0,last_bar_time:0,rows:24,rowsLayout:"Number Of Rows",subscribeRealtime:!0,vaVolume:70,volume:"Up/Down"},styles:{developingPoc:{color:"#ff0000",linestyle:m.LineStyle.Solid,linewidth:1,plottype:o.LineStudyPlotStyle.StepLine,trackPrice:!1,transparency:0,visible:!1},developingVAHigh:{color:"#0000ff",linestyle:m.LineStyle.Solid,linewidth:1,plottype:o.LineStudyPlotStyle.StepLine,trackPrice:!1,transparency:0,visible:!1},developingVALow:{color:"#0000ff",linestyle:m.LineStyle.Solid,linewidth:1,plottype:o.LineStudyPlotStyle.StepLine,trackPrice:!1,transparency:0,visible:!1}}},graphics:{hhists:{histBars2:{location:a.HHistLocation.Absolute,title:"Volume Profile",titles:["Up Volume","Down Volume"]},histBarsVA:{location:a.HHistLocation.Absolute,title:"Value Area",titles:["Value Area Up","Value Area Down"]}},horizlines:{pocLines:{name:"POC",showPrice:!0}},polygons:{histBoxBg:{mouseTouchable:!1,name:"Histogram Box",showBorder:!1}}},inputs:[{defval:"Number Of Rows",id:"rowsLayout",name:"Rows Layout",options:["Number Of Rows","Ticks Per Row"],type:"text"},{defval:24,id:"rows",max:1e6,min:1,name:"Row Size",type:"integer"},{defval:"Up/Down",id:"volume",name:"Volume",options:["Up/Down","Total","Delta"],type:"text"},{defval:0,id:"first_bar_time",isHidden:!0,max:253370764800,min:-253370764800,name:"First Bar Time",type:"time"},{defval:0,id:"last_bar_time",isHidden:!0,max:253370764800,min:-253370764800,name:"Last Bar Time",type:"time"},{defval:70,id:"vaVolume",max:100,min:0,name:"Value Area Volume",type:"integer"},{defval:!0,id:"subscribeRealtime",isHidden:!0,name:"SubscribeRealtime",type:"bool"}],plots:[{id:"developingPoc",type:"line"},{id:"developingVAHigh",type:"line"},{id:"developingVALow",type:"line"}],styles:{developingPoc:{histogramBase:0,title:"Developing Poc"},developingVAHigh:{histogramBase:0,title:"Developing VA High"},developingVALow:{histogramBase:0,title:"Developing VA Low"}},...e}}}const b=y({id:"VbPFixed@tv-volumebyprice-57",description:"Volume Profile Fixed Range"}),w=y({id:"VbPFixed@tv-basicstudies-152",description:"Fixed Range",is_hidden_study:!0})},79258:(e,t,i)=>{"use strict";i.d(t,{VolumeProfileOutputSeries:()=>n});var s=i(88537),r=i(55257);class n{constructor(){this._histPos=-1,this._hist=new Float64Array(2e3),this._times=new Float64Array(2e3)}addHist(e){if(this._histPos>=0){const t=this._times[this._histPos];(0,s.assert)(t<=e,"History order violation"),this._histPos+=t===e?0:1}else this._histPos+=1;if(this._histPos===this._hist.length){const e=new Float64Array(2*this._hist.length);e.set(this._hist),this._hist=e;const t=new Float64Array(this._hist.length);t.set(this._times),this._times=t}this._hist[this._histPos]=NaN, -this._times[this._histPos]=e}removeLastIfNaN(){Number.isNaN(this.get(0))&&(this._histPos-=1)}get(e){(0,s.assert)(0===e);const t=this._histPos-e;return this._hist[t]}getLeftOrEqual(e){const t=(0,r.upperbound)(this._times,e,(e,t)=>e{"use strict";i.d(t,{volumeProfileVisibleRangeStudyItem:()=>v});var s=i(88537),r=i(96761),n=i(216),o=i(95018),a=i(29823),l=i(78002),c=i(62876),h=i(79113);class d extends c.VolumeByPriceExpr{constructor(e,t,i,s,r,n,o,a,l,c,d){super(e,t,i,n,new h.GraphicsList,o,!0,a,l,()=>c,d,s,r,!1),this._firstBarTime=s,this._lastBarTime=r}update(e){this._supplyRowsLayout(this._ctx),this.timeInRequestedRange(e)&&super.update(e)}timeInRequestedRange(e){const t=this._timeScale().get(e);return this._firstBarTime<=t&&t=this._firstBarTime){const e=this._developingPocSeries.getLeftOrEqual(n),t=this._developingVAHighSeries.getLeftOrEqual(n),i=this._developingVALowSeries.getLeftOrEqual(n);r.data.push([e,t,i])}else r.data.push([NaN,NaN,NaN])}return r}time(){return this._timeSeries}open(){return this._openSeries}high(){return this._highSeries}low(){return this._lowSeries}close(){return this._closeSeries}volume(){return this._volumeSeries}developingPoc(){return this._developingPocSeries}developingVAHigh(){return this._developingVAHighSeries}developingVALow(){return this._developingVALowSeries}}const v={constructor:f,name:"Volume Profile Visible Range",metainfo:{_metainfoVersion:51,id:"VbPVisible@tv-basicstudies-49",description:"Volume Profile Visible Range",shortDescription:"VPVR",format:{type:"volume"},is_price_study:!0,linkedToSeries:!0,palettes:{},inputs:[{id:"rowsLayout",name:"Rows Layout",defval:"Number Of Rows",options:["Number Of Rows","Ticks Per Row"],type:"text"},{id:"rows",name:"Row Size",defval:24,max:1e6,min:1,type:"integer"},{id:"volume",name:"Volume",defval:"Up/Down",options:["Up/Down","Total","Delta"],type:"text"},{id:"first_visible_bar_time",name:"First Visible Bar Time",defval:0,isHidden:!0,max:253370764800,min:-253370764800,type:"time"},{id:"last_visible_bar_time",name:"Last Visible Bar Time",defval:0,isHidden:!0,max:253370764800,min:-253370764800,type:"time"},{id:"vaVolume",name:"Value Area Volume",defval:70,max:100,min:0,type:"integer"}],plots:[{ -id:"developingPoc",type:"line"},{id:"developingVAHigh",type:"line"},{id:"developingVALow",type:"line"}],graphics:{hhists:{histBars2:{location:o.HHistLocation.Relative,title:"Volume Profile",titles:["Up Volume","Down Volume"]},histBarsVA:{location:o.HHistLocation.Relative,title:"Value Area",titles:["Value Area Up","Value Area Down"]}},horizlines:{pocLines:{name:"POC",showPrice:!0}}},defaults:{graphics:{hhists:{histBars2:{colors:["#1592e6","#fbc123"],direction:o.HHistDirection.RightToLeft,percentWidth:30,showValues:!1,transparencies:[76,76],valuesColor:"#424242",visible:!0},histBarsVA:{colors:["#1592e6","#fbc123"],direction:o.HHistDirection.RightToLeft,percentWidth:30,showValues:!1,transparencies:[30,30],valuesColor:"#424242",visible:!0}},horizlines:{pocLines:{color:"#ff0000",style:0,visible:!0,width:2}}},inputs:{first_visible_bar_time:0,last_visible_bar_time:0,rows:24,rowsLayout:"Number Of Rows",vaVolume:70,volume:"Up/Down"},styles:{developingPoc:{color:"#ff0000",linestyle:0,linewidth:1,plottype:9,trackPrice:!1,transparency:0,visible:!1},developingVAHigh:{color:"#0000ff",linestyle:0,linewidth:1,plottype:9,trackPrice:!1,transparency:0,visible:!1},developingVALow:{color:"#0000ff",linestyle:0,linewidth:1,plottype:9,trackPrice:!1,transparency:0,visible:!1}}},styles:{developingPoc:{histogramBase:0,title:"Developing Poc"},developingVAHigh:{histogramBase:0,title:"Developing VA High"},developingVALow:{histogramBase:0,title:"Developing VA Low"}}}}},54631:(e,t,i)=>{"use strict";i.d(t,{StudyError:()=>s});class s extends Error{constructor(e){super(e),this.studyError=!0}}},18317:(e,t,i)=>{"use strict";i.d(t,{EraseObj:()=>s,EraseAll:()=>r,GraphicsCmds:()=>n});class s{constructor(e,t){this.id=e,this.type=t}primitiveData(){return{action:"one",id:this.id,type:this.type}}}class r{primitiveData(){return{action:"all"}}}class n{constructor(){this.erase=[],this.create=null,this._modified=!1}primitiveData(e){if(this.isNaN())return null;const t={},i=this.create&&this.create.primitiveData(e);return null!==i&&(t.create=i),null!==this.erase&&this.erase.length>0&&(t.erase=this.erase.map(e=>e.primitiveData())),void 0===t.create&&void 0===t.erase?null:t}setCreate(e){this.create=e,this.create.forEachList(e=>e.setOwner(this))}isNaN(){return(null===this.erase||0===this.erase.length)&&null===this.create}isModified(){return this._modified}setModified(e){this._modified=e}dirty(){this._modified=!0}setOwner(e){throw new Error("Unsupported")}}},78002:(e,t,i)=>{"use strict";i.d(t,{GraphicsListColl:()=>s});class s{constructor(){this._stable=[],this._variable=null,this._owner=null}addStable(e){e.setOwner(this),this._stable.push(e)}setVariable(e){this._variable=e,null!==this._variable&&this._variable.setOwner(this)}primitivesData(e){const t=[];return this._forEach(i=>t.push(...i.primitivesData(e))),t}deleteErasedItems(){this._forEach(e=>e.deleteErasedItems())}markPostedItems(){this._forEach(e=>e.markPostedItems())}isNaN(){return this._all(e=>e.isNaN())}dirty(){null!==this._owner&&this._owner.dirty()}setOwner(e){this._owner=e}_forEach(e){ -for(const t of this._stable)e(t);null!==this._variable&&e(this._variable)}_all(e){for(const t of this._stable)if(!e(t))return!1;return null===this._variable||e(this._variable)}}},79113:(e,t,i)=>{"use strict";i.d(t,{GraphicsList:()=>n});var s=i(31738),r=i(28329);class n{constructor(){this._items=[],this._owner=null}primitivesData(e){const t=[];for(const i of this._items)e.isIgnoredObj(i)||t.push(i.primitiveData());return t}get(e){return this._items[e]}set(e,t){return this.dirty(),t.setOwner(this),this._items[e]=t,t}addAtIndex(e,t){this.dirty(),t.setOwner(this),this._items[e]=t}clear(){this._unsetOwner(this._items),this._items=[],this.dirty()}addAllFromNumber(e,t){this.setOwner(t),this._items.splice(e,0,...t._items);return this._setCachedDataValid(!1),!0}addAll(e){this.setOwner(e),this._items.push(...e._items);return this._setCachedDataValid(!1),!0}remove(e){const t=this._items[e];return this._items.splice(e,1),t.unsetOwner(this),this.dirty(),t}getItems(){return this._items}size(){return this._items.length}add(e){e.setOwner(this),this._items.push(e);return this._setCachedDataValid(!1),!0}deleteErasedItems(){this._items=this._items.filter(e=>!e.isErased())}markPostedItems(){for(const e of this._items)e.markAsPosted()}isNaN(){if(0===this._items.length)return!0;for(const e of this._items){if(!(0,r.isNaNable)(e))return!1;if(!e.isNaN())return!1}return!0}setOwner(e){this._owner=e}dirty(){null!==this._owner&&this._owner.dirty()}_unsetOwner(e){for(const t of e)t instanceof s.GraphicsObj&&t.unsetOwner(this)}_setCachedDataValid(e){e||this.dirty()}}},31738:(e,t,i)=>{"use strict";i.d(t,{GraphicsObj:()=>l});var s=i(216);class r{constructor(e,t,i,s){this._value=e,this._name=t,this._owner=i,this._comparer=void 0!==s?s:(e,t)=>null==e?null!=t:e===t}getName(){return this._name}set(e){const t=this._comparer(this._value,e);return t&&this._owner.dirty(),this._value=e,t}get(){return this._value}}class n{constructor(e,t,i){this._owner=null,this._value=e,this._name=t,this._owner=i}getName(){return this._name}set(e){return this._value!==e&&(this._value=e,null!==this._owner&&this._owner.dirty(),!0)}get(){return this._value}}class o extends r{constructor(e,t,i,s){super(e,t,i,s)}}class a{constructor(e){this._owner=e}createField(e,t){return new r(e,t,this)}createDoubleField(e,t){return new r(e,t,this,(e,t)=>!s.Std.equal(e,t))}createDoubleArrayField(e,t){return new o(e,t,this,(e,t)=>{if(e===t)return!1;const i=e.length;if(t.length!==i)return!0;for(let r=0;r{"use strict";function s(e){return Boolean(e.isNaN)}i.d(t,{isNaNable:()=>s})},45548:(e,t,i)=>{"use strict";i.d(t,{JStudyDataUpdate:()=>d});var s=i(18317);class r{constructor(){this.isUpdate=!1,this.graphicsCmds=new s.GraphicsCmds,this._offsetsChanged=!1,this._disableGraphicsAndData=!1}isNaN(){return this.graphicsCmds.isNaN()}primitiveData(e){const t={};if(!this._disableGraphicsAndData){const i=this.graphicsCmds.primitiveData(e);null!==i&&(t.graphicsCmds=i)}return this.isUpdate&&(t.isUpdate=!0),void 0===t.graphicsCmds?void 0:t}disable(){this._disableGraphicsAndData=!0}checkForChangeAndResetChangedState(e){const t=this._offsetsChanged,i=this.graphicsCmds.isModified();this.graphicsCmds.setModified(!1),this._offsetsChanged=!1;return i||t||0!==e.length}}var n=i(80643),o=i(28329);function a(e){return Boolean(e.isPosted)}class l{isIgnoredObj(e,t){return l.isIgnoredObjDefault(e,t)}static isIgnoredObjDefault(e,t){if(void 0===t)return l.isIgnoredObjNaNable(e);const i=e[t];return l.isIgnoredByGeneralRules(e,t)||l.isIgnoredObjNaNable(i)||l.isIgnoredObjListOfNaNables(i)}static isIgnoredObjNaNable(e){return(0,o.isNaNable)(e)&&e.isNaN()}static isIgnoredObjListOfNaNables(e){if(!(0,n.isArray)(e))return!1;let t=!0;for(const i of e)if(!(0,o.isNaNable)(i)||!i.isNaN()){t=!1;break}return t}static isIgnoredObjPosted(e){return a(e)&&e.isPosted()}static isIgnoredObjErased(e){return a(e)&&e.isErased()}static isIgnoredByGeneralRules(e,t){const i=e[t];return(0,n.isArray)(i)&&0===i.length}}class c{isIgnoredObj(e,t){if(void 0===t)return l.isIgnoredObjDefault(e)||l.isIgnoredObjErased(e);const i=e[t];return l.isIgnoredObjDefault(e,t)||l.isIgnoredObjErased(i)}}class h{isIgnoredObj(e,t){if(void 0===t)return l.isIgnoredObjDefault(e)||l.isIgnoredObjErased(e)||l.isIgnoredObjPosted(e);const i=e[t];return l.isIgnoredObjDefault(e,t)||l.isIgnoredObjErased(i)||l.isIgnoredObjPosted(i)}}class d extends class extends class{constructor(e){this._dataObj=new r,this._isDirty=!1,this._eraseCmds=[],this._enableCmdDataStudy=e}init(e){this._dataObj.graphicsCmds.setCreate(e),this.update(!0)}dataObj(){return this._dataObj}setEraseCmds(e){this._eraseCmds=e}resetDirtyState(){this._isDirty=!1}disable(){this._dataObj.disable()}}{constructor(e){super(e),this._snapshotPredicate=new c,this._dataSnapShot={}}getData(){return this._dataSnapShot}getUpdate(){return this._isDirty?this._dataSnapShot:{}}update(e){(this._dataObj.checkForChangeAndResetChangedState(this._eraseCmds)||e)&&(null!==this._dataObj.graphicsCmds.create&&(this._dataObj.graphicsCmds.create.deleteErasedObjs(),this._dataObj.graphicsCmds.erase=[new s.EraseAll]),this._makeSnapshot(), -this._isDirty=!0)}_makeSnapshot(){this._json=this._dataObj.primitiveData(this._snapshotPredicate),this._dataSnapShot={json:this._json}}}{constructor(e){super(e),this._updatePredicate=new h,this._sendShapshotOnly=!0,this._isFirstNotForcedUpdate=!0}update(e){(this._dataObj.checkForChangeAndResetChangedState(this._eraseCmds)||e)&&(null!==this._dataObj.graphicsCmds.create&&(this._dataObj.graphicsCmds.erase=[new s.EraseAll]),this._dataObj.isUpdate=!0,this._makeSnapshot(),null!==this._dataObj.graphicsCmds.create&&(this._dataObj.graphicsCmds.erase=this._eraseCmds),this._dataObj.isUpdate=!0,this._jsonUpdate=this._dataObj.primitiveData(this._updatePredicate),null!==this._dataObj.graphicsCmds.create&&this._dataObj.graphicsCmds.create.deleteErasedAndMarkPostedObjs(),this._sendShapshotOnly=e||this._isFirstNotForcedUpdate,this._isFirstNotForcedUpdate=Boolean(e),this._isDirty=!0)}getUpdate(){return this._isDirty?this._enableCmdDataStudy?{json:this._sendShapshotOnly?this._json:void 0,jsonUpdate:this._sendShapshotOnly?void 0:this._jsonUpdate}:{json:this._json,jsonUpdate:this._sendShapshotOnly?void 0:this._jsonUpdate}:{}}}},34574:(e,t,i)=>{"use strict";i.d(t,{StudyGraphicsData:()=>r,Container:()=>n});var s=i(88537);class r{constructor(){this._horizlines=[],this._hhists=[],this._polygons=[],this._vertlines=[],this._containersCache=[],this._containerNamesCache=[],this._containersMapCache=new Map,this._addToCache("horizlines",this._horizlines),this._addToCache("hhists",this._hhists),this._addToCache("polygons",this._polygons),this._addToCache("vertlines",this._vertlines)}primitiveData(e){const t={};let i=!1;for(const s of this._containerNamesCache){const r=[],n=this.getObjsContainer(s);for(const t of n){if(t.isNaN())continue;const i=t.primitiveData(e);i.data.length>0&&r.push(i)}r.length>0&&(t[s]=r,i=!0)}return i?t:null}deleteErasedAndMarkPostedObjs(){this.forEachList(e=>{e.deleteErasedItems(),e.markPostedItems()})}deleteErasedObjs(){this.forEachList(e=>e.deleteErasedItems())}getObjsContainer(e){return(0,s.ensureDefined)(this._containersMapCache.get(e))}forEachList(e){for(const t of this._containersCache)for(const i of t)e(i.data)}_addToCache(e,t){this._containersCache.push(t),this._containerNamesCache.push(e),this._containersMapCache.set(e,t)}}class n{constructor(e,t){this.styleId=e,this.data=t}isNaN(){return this.data.isNaN()}primitiveData(e){return{styleId:this.styleId,data:this.data.primitivesData(e)}}}},27595:(e,t,i)=>{"use strict";const s=i(45112).getHexColorByName;var r=i(216);const n=s("color-ripe-red-100"),o=s("color-ripe-red-200"),a=s("color-ripe-red-500"),l=s("color-ripe-red-900"),c=s("color-ripe-red-a200"),h=s("color-minty-green-100"),d=s("color-minty-green-400"),u=s("color-minty-green-500");JSServer.studyLibrary=[{name:"Accumulation/Distribution",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot", -histogramBase:0,joinPoints:!1}},description:"Accumulation/Distribution",shortDescription:"Accum/Dist",is_price_study:!1,inputs:[],id:"Accumulation/Distribution@tv-basicstudies-1",scriptIdPart:"",name:"Accumulation/Distribution",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i,s){return r.Std.or(r.Std.and(r.Std.eq(e,t),r.Std.eq(e,i)),r.Std.eq(t,i))?0:(2*e-i-t)/(t-i)*s},this.main=function(e,t){this._context=e,this._input=t;var i=this.f_0(r.Std.close(this._context),r.Std.high(this._context),r.Std.low(this._context),r.Std.volume(this._context));return[r.Std.cum(i,this._context)]}}},{name:"Accumulative Swing Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"ASI",histogramBase:0,joinPoints:!1}},description:"Accumulative Swing Index",shortDescription:"ASI",is_price_study:!1,inputs:[{id:"in_0",name:"Limit Move Value",defval:10,type:"float",min:.1,max:1e5}],id:"Accumulative Swing Index@tv-basicstudies-1",scriptIdPart:"",name:"Accumulative Swing Index",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t){var i=t.new_var(r.Std.open(t)),s=t.new_var(r.Std.high(t)),n=t.new_var(r.Std.low(t)),o=t.new_var(r.Std.close(t)),a=r.Std.abs(s-o.get(1)),l=r.Std.abs(n-o.get(1)),c=r.Std.abs(s-n),h=r.Std.abs(o.get(1)-i.get(1)),d=r.Std.max(a,l),u=r.Std.iff(a>=r.Std.max(l,c),a-.5*l+.25*h,r.Std.iff(l>=r.Std.max(a,c),l-.5*a+.25*h,c+.25*h));return r.Std.iff(0===u,0,(o-o.get(1)+.5*(o-i)+.25*(o.get(1)-i.get(1)))/u*d/e*50)},this.f_1=function(e,t){var i=this.f_0(e,t);return r.Std.cum(i,t)},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);return[this.f_1(i,this._context)]}}},{name:"Advance/Decline",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Advance/Decline",shortDescription:"AD",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:10,type:"integer",min:1,max:2e3}],id:"Advance/Decline@tv-basicstudies-1",scriptIdPart:"",name:"Advance/Decline",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return r.Std.gt(e,t)},this.f_1=function(e,t){return r.Std.lt(e,t)},this.f_2=function(e,t){return 0===t?e:e/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this.f_0(r.Std.close(this._context),r.Std.open(this._context)),n=this._context.new_var(s),o=r.Std.sum(n,i,this._context),a=this.f_1(r.Std.close(this._context),r.Std.open(this._context)),l=this._context.new_var(a),c=r.Std.sum(l,i,this._context);return[this.f_2(o,c)]}}},{name:"Arnaud Legoux Moving Average",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1, -is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9,in_1:.85,in_2:6}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Arnaud Legoux Moving Average",shortDescription:"ALMA",is_price_study:!0,inputs:[{id:"in_0",name:"Window Size",defval:9,type:"integer",min:0,max:5e3},{id:"in_1",name:"Offset",defval:.85,type:"float",min:-1e12,max:1e12},{id:"in_2",name:"Sigma",defval:6,type:"float",min:-1e12,max:1e12}],id:"Arnaud Legoux Moving Average@tv-basicstudies-1",scriptIdPart:"",name:"Arnaud Legoux Moving Average",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._input(2),a=this._context.new_var(i);return[r.Std.alma(a,s,n,o)]}}},{name:"Aroon",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FB8C00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"Upper",histogramBase:0,joinPoints:!1},plot_1:{title:"Lower",histogramBase:0,joinPoints:!1}},description:"Aroon",shortDescription:"Aroon",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Aroon@tv-basicstudies-1",scriptIdPart:"",name:"Aroon",format:{precision:2,type:"percent"}},constructor:function(){this.f_0=function(e,t){return 100*(e+t)/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.high(this._context),n=i+1,o=this._context.new_var(s),a=r.Std.highestbars(o,n,this._context),l=this.f_0(a,i),c=r.Std.low(this._context),h=this._context.new_var(c),d=r.Std.lowestbars(h,n,this._context);return[l,this.f_0(d,i)]}}},{name:"Average Price",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"AveragePrice@tv-basicstudies-1",scriptIdPart:"",name:"Average Price",description:"Average Price",shortDescription:"Average Price",is_price_study:!0,plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{}},styles:{plot_0:{title:"Plot"}},inputs:[],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){return this._context=e,this._input=t,[r.Std.ohlc4(this._context)]}}},{name:"Average Directional Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:c}},inputs:{in_0:14,in_1:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"ADX",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Average Directional Index",shortDescription:"ADX",is_price_study:!1, -inputs:[{id:"in_0",name:"ADX Smoothing",defval:14,type:"integer",min:-1e12,max:1e12},{id:"in_1",name:"DI Length",defval:14,type:"integer",min:-1e12,max:1e12}],id:"average_directional_Index@tv-basicstudies-1",scriptIdPart:"",name:"Average Directional Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e){var t=this._context.new_var(r.Std.high(this._context)),i=r.Std.change(t),s=this._context.new_var(r.Std.low(this._context)),n=-r.Std.change(s),o=this._context.new_var(r.Std.tr(void 0,this._context)),a=r.Std.rma(o,e,this._context),l=this._context.new_var(r.Std.and(r.Std.gt(i,n),r.Std.gt(i,0))?i:0),c=r.Std.fixnan(100*r.Std.rma(l,e,this._context)/a,this._context),h=this._context.new_var(r.Std.and(r.Std.gt(n,i),r.Std.gt(n,0))?n:0);return[c,r.Std.fixnan(100*r.Std.rma(h,e,this._context)/a,this._context)]},this.f_1=function(e,t){var i=this.f_0(e),s=i[0],n=i[1],o=s+n,a=this._context.new_var(r.Std.abs(s-n)/(r.Std.eq(o,0)?1:o));return[100*r.Std.rma(a,t,this._context)]},this.main=function(e,t){return this._context=e,this._input=t,this._context.setMinimumAdditionalDepth(this._input(0)+this._input(1)),this.f_1(this._input(1),this._input(0))}}},{name:"Average True Range",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:l}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Average True Range",shortDescription:"ATR",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Average True Range@tv-basicstudies-1",scriptIdPart:"",name:"Average True Range",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){var i=t(0);return[r.Std.atr(i,e)]}}},{name:"Awesome Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:1,trackPrice:!1,transparency:0,visible:!0,color:"#000080"}},palettes:{palette_0:{colors:{0:{color:a,width:1,style:0},1:{color:u,width:1,style:0}}}},inputs:{}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",palette:"palette_0",target:"plot_0",type:"colorer"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Awesome Oscillator",shortDescription:"AO",is_price_study:!1,palettes:{palette_0:{colors:{0:{name:"Color 0"},1:{name:"Color 1"}}}},inputs:[],id:"Awesome Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Awesome Oscillator",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e-t},this.f_1=function(e){return r.Std.le(e,0)?0:1},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.hl2(this._context),s=this._context.new_var(i),n=r.Std.sma(s,5,this._context),o=this._context.new_var(i),a=r.Std.sma(o,34,this._context),l=this.f_0(n,a),c=l,h=this._context.new_var(l),d=r.Std.change(h);return[c,this.f_1(d)]}}},{name:"Balance of Power",metainfo:{_metainfoVersion:52,isTVScript:!1, -isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:c}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Balance of Power",shortDescription:"Balance of Power",is_price_study:!1,inputs:[],id:"Balance of Power@tv-basicstudies-1",scriptIdPart:"",name:"Balance of Power",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i,s){return(e-t)/(i-s)},this.main=function(e,t){return this._context=e,this._input=t,[this.f_0(r.Std.close(this._context),r.Std.open(this._context),r.Std.high(this._context),r.Std.low(this._context))]}}},{name:"Bollinger Bands",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},filledAreasStyle:{fill_0:{color:"#2196F3",transparency:95,visible:!0}},inputs:{in_0:20,in_1:2}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Median",histogramBase:0,joinPoints:!1},plot_1:{title:"Upper",histogramBase:0,joinPoints:!1},plot_2:{title:"Lower",histogramBase:0,joinPoints:!1}},description:"Bollinger Bands",shortDescription:"BB",is_price_study:!0,filledAreas:[{id:"fill_0",objAId:"plot_1",objBId:"plot_2",type:"plot_plot",title:"Plots Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:1e4},{id:"in_1",name:"mult",defval:2,type:"float",min:.001,max:50}],id:"Bollinger Bands@tv-basicstudies-1",scriptIdPart:"",name:"Bollinger Bands",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e*t},this.f_1=function(e,t){return e+t},this.f_2=function(e,t){return e-t},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.stdev(l,s,this._context),h=this.f_0(n,c);return[a,this.f_1(a,h),this.f_2(a,h)]}}},{name:"Bollinger Bands %B",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:d}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:1},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],filledAreasStyle:{fill_0:{color:"#26A69A",transparency:90,visible:!0}},inputs:{in_0:20,in_1:2}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Bollinger Bands %B",shortDescription:"BB %B",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0", -objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:1e4},{id:"in_1",name:"mult",defval:2,type:"float",min:.001,max:50}],id:"Bollinger Bands %B@tv-basicstudies-1",scriptIdPart:"",name:"Bollinger Bands %B",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return e*t},this.f_1=function(e,t){return e+t},this.f_2=function(e,t){return e-t},this.f_3=function(e,t,i){return(e-t)/(i-t)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.stdev(l,s,this._context),h=this.f_0(n,c),d=this.f_1(a,h),u=this.f_2(a,h);return[this.f_3(i,u,d)]}}},{name:"Bollinger Bands Width",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},inputs:{in_0:20,in_1:2}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Bollinger Bands Width",shortDescription:"BBW",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:1e4},{id:"in_1",name:"mult",defval:2,type:"float",min:.001,max:50}],id:"Bollinger Bands Width@tv-basicstudies-1",scriptIdPart:"",name:"Bollinger Bands Width",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return e*t},this.f_1=function(e,t){return e+t},this.f_2=function(e,t){return e-t},this.f_3=function(e,t,i){return(e-t)/i},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.stdev(l,s,this._context),h=this.f_0(n,c),d=this.f_1(a,h),u=this.f_2(a,h);return[this.f_3(d,u,a)]}}},{name:"Chaikin Money Flow",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:20}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Chaikin Money Flow",shortDescription:"CMF",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:2e3}],id:"Chaikin Money Flow@tv-basicstudies-1",scriptIdPart:"",name:"Chaikin Money Flow",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i,s){return r.Std.or(r.Std.and(r.Std.eq(e,t),r.Std.eq(e,i)),r.Std.eq(t,i))?0:(2*e-i-t)/(t-i)*s},this.f_1=function(e,t){return e/t},this.main=function(e,t){this._context=e,this._input=t -;var i=this._input(0),s=this.f_0(r.Std.close(this._context),r.Std.high(this._context),r.Std.low(this._context),r.Std.volume(this._context)),n=this._context.new_var(s),o=r.Std.sum(n,i,this._context),a=r.Std.volume(this._context),l=this._context.new_var(a),c=r.Std.sum(l,i,this._context);return[this.f_1(o,c)]}}},{name:"Chaikin Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#EC407A"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:3,in_1:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Chaikin Oscillator",shortDescription:"Chaikin Osc",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"short",defval:3,type:"integer",min:1,max:2e3},{id:"in_1",name:"long",defval:10,type:"integer",min:1,max:2e3}],id:"Chaikin Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Chaikin Oscillator",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t){return e-t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.accdist(this._context),o=this._context.new_var(n),a=r.Std.ema(o,i,this._context),l=this._context.new_var(n),c=r.Std.ema(l,s,this._context);return[this.f_0(a,c)]}}},{name:"Chaikin Volatility",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Chaikin Volatility@tv-basicstudies-1",scriptIdPart:"",name:"Chaikin Volatility",description:"Chaikin Volatility",shortDescription:"Chaikin Volatility",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#AB47BC"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{periods:10,rocLookback:10}},styles:{plot_0:{title:"Plot"}},bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"periods",type:"integer",name:"Periods"},{id:"rocLookback",type:"integer",name:"Rate of Change Lookback"}],format:{type:"volume"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.rocLookback=this._input(1)},this.main=function(e,t){this._context=e,this._input=t,this._context.setMinimumAdditionalDepth(this.period+this.rocLookback);var i=this._context.new_var(r.Std.high(this._context)-r.Std.low(this._context)),s=this._context.new_var(r.Std.ema(i,this.period,this._context));return[r.Std.roc(s,this.rocLookback)]}}},{name:"Chande Kroll Stop",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},inputs:{in_0:10,in_1:1,in_2:9}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"Long",histogramBase:0, -joinPoints:!1},plot_1:{title:"Short",histogramBase:0,joinPoints:!1}},description:"Chande Kroll Stop",shortDescription:"Chande Kroll Stop",is_price_study:!0,inputs:[{id:"in_0",name:"p",defval:10,type:"integer",min:1,max:4999},{id:"in_1",name:"x",defval:1,type:"integer",min:1,max:1e12},{id:"in_2",name:"q",defval:9,type:"integer",min:1,max:1e12}],id:"Chande Kroll Stop@tv-basicstudies-1",scriptIdPart:"",name:"Chande Kroll Stop",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t,i){return e-t*i},this.f_1=function(e,t,i){return e+t*i},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2),o=r.Std.high(this._context),a=this._context.new_var(o),l=r.Std.highest(a,i,this._context),c=r.Std.atr(i,this._context),h=this.f_0(l,s,c),d=this._context.new_var(o),u=r.Std.lowest(d,i,this._context),p=this.f_1(u,s,c),_=this._context.new_var(h),m=r.Std.highest(_,n,this._context),g=this._context.new_var(p);return[r.Std.lowest(g,n,this._context),m]}}},{name:"Chande Momentum Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Chande Momentum Oscillator",shortDescription:"ChandeMO",is_price_study:!1,inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:2e3}],id:"Chande Momentum Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Chande Momentum Oscillator",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(e){return r.Std.ge(e,0)?e:0},this.f_1=function(e){return r.Std.ge(e,0)?0:-e},this.f_2=function(e,t){return 100*e/t},this.f_3=function(e,t){return this.f_2(e-t,e+t)},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.change(n),a=this.f_0(o),l=this.f_1(o),c=this._context.new_var(a),h=r.Std.sum(c,i,this._context),d=this._context.new_var(l),u=r.Std.sum(d,i,this._context);return[this.f_3(h,u)]}}},{name:"Chop Zone",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:5,trackPrice:!1,transparency:0,visible:!0,color:"#000080"}},palettes:{palette_0:{colors:{0:{color:"#26C6DA",width:1,style:0},1:{color:"#43A047",width:1,style:0},2:{color:"#A5D6A7",width:1,style:0},3:{color:u,width:1,style:0},4:{color:"#D50000",width:1,style:0},5:{color:"#E91E63",width:1,style:0},6:{color:"#FF6D00",width:1,style:0},7:{color:"#FFB74D",width:1,style:0},8:{color:"#FDD835",width:1,style:0}}}},inputs:{}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",palette:"palette_0",target:"plot_0",type:"colorer"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Chop Zone",shortDescription:"Chop Zone",is_price_study:!1,palettes:{palette_0:{colors:{0:{name:"Color 0"},1:{name:"Color 1"},2:{ -name:"Color 2"},3:{name:"Color 3"},4:{name:"Color 4"},5:{name:"Color 5"},6:{name:"Color 6"},7:{name:"Color 7"},8:{name:"Color 8"}},valToIndex:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8}}},inputs:[],id:"chop_zone@tv-basicstudies-1",scriptIdPart:"",name:"Chop Zone",format:{precision:0,type:"price"}},constructor:function(){this.f_0=function(){var e=r.Std.close(this._context),t=r.Std.hlc3(this._context),i=this._context.new_var(r.Std.high(this._context)),s=r.Std.highest(i,30,this._context),n=r.Std.lowest(i,30,this._context),o=25/(s-n)*n,a=this._context.new_var(e),l=this._context.new_var(r.Std.ema(a,34,this._context)),c=(l.get(1)-l.get(0))/t*o,h=r.Std.sqrt(1+c*c),d=r.Std.round(180*r.Std.acos(1/h)/3.141592653589793),u=r.Std.iff(r.Std.gt(c,0),-d,d),p=r.Std.and(r.Std.gt(u,-2.14),r.Std.le(u,-.71))?7:8,_=r.Std.and(r.Std.gt(u,-3.57),r.Std.le(u,-2.14))?6:p,m=r.Std.and(r.Std.gt(u,-5),r.Std.le(u,-3.57))?5:_,g=r.Std.le(u,-5)?4:m,f=r.Std.and(r.Std.lt(u,2.14),r.Std.ge(u,.71))?3:g,v=r.Std.and(r.Std.lt(u,3.57),r.Std.ge(u,2.14))?2:f,S=r.Std.and(r.Std.lt(u,5),r.Std.ge(u,3.57))?1:v;return[1,r.Std.ge(u,5)?0:S]},this.main=function(e,t){return this._context=e,this._input=t,this.f_0()}}},{name:"Choppiness Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:61.8},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:38.2}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Choppiness Index",shortDescription:"CHOP",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Choppiness Index@tv-basicstudies-1",scriptIdPart:"",name:"Choppiness Index",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(e,t,i,s){return 100*r.Std.log10(e/(t-i))/s},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.atr(1,this._context),n=this._context.new_var(s),o=r.Std.sum(n,i,this._context),a=r.Std.high(this._context),l=this._context.new_var(a),c=r.Std.highest(l,i,this._context),h=r.Std.low(this._context),d=this._context.new_var(h),u=r.Std.lowest(d,i,this._context),p=r.Std.log10(i);return[this.f_0(o,c,u,p)]}}},{name:"Commodity Channel Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:100},{color:"#787B86",linestyle:2,linewidth:1, -visible:!0,value:-100}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:20,smoothingLine:"SMA",smoothingLength:20}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"Commodity Channel Index",shortDescription:"CCI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:2e3},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:20,type:"integer",min:1,max:1e4}],id:"Commodity Channel Index@tv-basicstudies-1",scriptIdPart:"",name:"Commodity Channel Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i){return(e-t)/(.015*i)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.hlc3(this._context),s=this._input(0),n=this._input(1),o=this._input(2);this._context.setMinimumAdditionalDepth(s+o);var a,l=this._context.new_var(i),c=r.Std.sma(l,s,this._context),h=this._context.new_var(i),d=r.Std.dev(h,s,this._context),u=this.f_0(i,c,d),p=this._context.new_var(u);return"EMA"===n?a=r.Std.ema(p,o,this._context):"WMA"===n?a=r.Std.wma(p,o,this._context):"SMA"===n&&(a=r.Std.sma(p,o,this._context)),[u,a]}}},{name:"Connors RSI",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:70},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:30}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:3,in_1:2,in_2:100}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"CRSI",histogramBase:0,joinPoints:!1}},description:"Connors RSI",shortDescription:"CRSI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"RSI Length",defval:3,type:"integer",min:1},{id:"in_1",name:"UpDown Length",defval:2,type:"integer",min:1},{id:"in_2",name:"ROC Length",defval:100,type:"integer",min:1}],id:"Connors RSI@tv-basicstudies-1",scriptIdPart:"",name:"Connors RSI",format:{precision:2,type:"price"}},constructor:function(){var e;this.f_1=function(e,t,i){var s=i.new_var(r.Std.max(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.f_2=function(e,t,i){var s=i.new_var(-r.Std.min(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.f_3=(e=0,function(t){var i=t.get(0),s=t.get(1);return e=i===s?0:i>s?r.Std.nz(e)<=0?1:r.Std.nz(e)+1:r.Std.nz(e)>=0?-1:r.Std.nz(e)-1,this._context.new_var(e)}),this.main=function(e,t){this._context=e, -this._input=t;var i=r.Std.close(this._context),s=this._context.new_var(i),n=this._input(0),o=this._input(1),a=this._input(2);this._context.setMinimumAdditionalDepth(a);var l=r.Std.rsi(this.f_1(s,n,this._context),this.f_2(s,n,this._context)),c=this.f_3(s),h=r.Std.rsi(this.f_1(c,o,this._context),this.f_2(c,o,this._context)),d=this._context.new_var(r.Std.roc(s,1)),u=r.Std.percentrank(d,a);return[r.Std.avg(l,h,u)]}}},{name:"Coppock Curve",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:10,in_1:14,in_2:11}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Coppock Curve",shortDescription:"Coppock Curve",is_price_study:!1,inputs:[{id:"in_0",name:"WMA Length",defval:10,type:"integer",min:-1e12,max:5e3},{id:"in_1",name:"Long RoC Length",defval:14,type:"integer",min:1,max:4999},{id:"in_2",name:"Short RoC Length",defval:11,type:"integer",min:1,max:4999}],id:"Coppock Curve@tv-basicstudies-1",scriptIdPart:"",name:"Coppock Curve",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e+t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(i+Math.max(s,n));var o=r.Std.close(this._context),a=this._context.new_var(o),l=r.Std.roc(a,s),c=this._context.new_var(o),h=r.Std.roc(c,n),d=this.f_0(l,h),u=this._context.new_var(d);return[r.Std.wma(u,i,this._context)]}}},{name:"Correlation Coeff",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:4,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:"",in_1:20}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Correlation Coefficient",shortDescription:"CC",is_price_study:!1,inputs:[{id:"in_0",name:"sym",defval:"",type:"symbol"},{id:"in_1",name:"length",defval:20,type:"integer",min:1,max:2e3}],id:"Correlation Coeff@tv-basicstudies-1",scriptIdPart:"",name:"Correlation Coeff",format:{precision:2,type:"price"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this._context.new_sym(this._input(0),r.Std.period(this._context))},this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_unlimited_var(this._context.symbol.time),s=(this._input(0),r.Std.period(this._context),r.Std.close(this._context)),n=this._input(1);this._context.select_sym(1);var o=this._context.new_unlimited_var(this._context.symbol.time),a=r.Std.close(this._context),l=this._context.new_unlimited_var(a);this._context.select_sym(0);var c=l.adopt(o,i,0),h=this._context.new_var(s),d=this._context.new_var(c);return[r.Std.correlation(h,d,n,this._context)]}}},{name:"Correlation - Log",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1, -id:"Correlation - Log@tv-basicstudies-1",scriptIdPart:"",name:"Correlation - Log",description:"Correlation - Log",shortDescription:"Correlation - Log",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{instrument:"",instrument2:"",periods:25}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"instrument",name:"Instrument 1",type:"symbol",defval:"",confirm:!0},{id:"instrument2",name:"Instrument 2",type:"symbol",defval:"",confirm:!0},{id:"periods",name:"Periods",type:"integer",defval:25}],format:{precision:2,type:"price"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this._context.new_sym(this._input(0),r.Std.period(this._context)),this._context.new_sym(this._input(1),r.Std.period(this._context)),this.period=this._input(2)},this.correlationLog=function(e,t,i,s){var n=r.Std.sma(e,i,s),o=r.Std.sma(t,i,s),a=s.new_var(e.get()*t.get());return(r.Std.sma(a,i,s)-n*o)/Math.sqrt(r.Std.variance2(e,n,i)*r.Std.variance2(t,o,i))},this.main=function(e,t){this._context=e,this._input=t,this._context.select_sym(1);var i=this._context.new_var(this._context.symbol.time);this._context.select_sym(2);var s=this._context.new_var(r.Std.close(this._context)),n=this._context.new_var(r.Std.log(s.get()/s.get(1))),o=this._context.new_var(this._context.symbol.time);this._context.select_sym(1);var a=this._context.new_var(r.Std.close(this._context)),l=this._context.new_var(r.Std.log(a.get()/a.get(1))),c=this._context.new_var(n.adopt(o,i,0)),h=this.correlationLog(l,c,this.period,this._context);return[r.Std.round(1e3*h)/1e3]}}},{name:"Detrended Price Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:21,in_1:!1}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"DPO",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Detrended Price Oscillator",shortDescription:"DPO",is_price_study:!1,is_hidden_study:!1,id:"detrended_price_oscillator@tv-basicstudies-1",bands:[{id:"hline_0",name:"Zero",isHidden:!1}],inputs:[{id:"in_0",name:"Period",defval:21,type:"integer",min:1,max:1e12},{id:"in_1",name:"isCentered",defval:!1,type:"bool"}],scriptIdPart:"",name:"Detrended Price Oscillator",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(){var e=this._input(0),t=this._input(1),i=Math.floor(e/2+1);this._context.setMinimumAdditionalDepth(e+i);var s=this._context.new_var(r.Std.close(this._context)),n=this._context.new_var(r.Std.sma(s,e,this._context)),o=this._context.new_var(r.Std.close(this._context)).get(i)-n,a=r.Std.close(this._context)-n.get(i);return[t?o:a,t?-i:0]},this.main=function(e,t){this._context=e,this._input=t;var i=this.f_0();return[{value:i[0],offset:i[1]}]}}},{name:"Directional Movement Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1, -is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_3:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#F50057"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FFA726"},plot_4:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#ab47bc"}},inputs:{in_0:14,in_1:14}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"},{id:"plot_3",type:"line"},{id:"plot_4",type:"line"}],styles:{plot_0:{title:"+DI",histogramBase:0,joinPoints:!1},plot_1:{title:"-DI",histogramBase:0,joinPoints:!1},plot_2:{title:"DX",histogramBase:0,joinPoints:!1},plot_3:{title:"ADX",histogramBase:0,joinPoints:!1},plot_4:{title:"ADXR",histogramBase:0,joinPoints:!1}},description:"Directional Movement",shortDescription:"DMI",is_price_study:!1,inputs:[{id:"in_0",name:"DI Length",defval:14,type:"integer",min:1,max:2e3},{id:"in_1",name:"ADX Smoothing",defval:14,type:"integer",min:1,max:50}],id:"Directional Movement Index@tv-basicstudies-1",scriptIdPart:"",name:"Directional Movement Index",format:{precision:4,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1);return this._context.setMinimumAdditionalDepth(2*i+s),r.Std.dmi(i,s,this._context)}}},{name:"Donchian Channels",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},filledAreasStyle:{fill_0:{color:"#2196F3",transparency:95,visible:!0}},inputs:{in_0:20}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Lower",histogramBase:0,joinPoints:!1},plot_1:{title:"Upper",histogramBase:0,joinPoints:!1},plot_2:{title:"Basis",histogramBase:0,joinPoints:!1}},description:"Donchian Channels",shortDescription:"DC",is_price_study:!0,filledAreas:[{id:"fill_0",objAId:"plot_1",objBId:"plot_0",type:"plot_plot",title:"Plots Background"}],inputs:[{id:"in_0",name:"length",defval:20,type:"integer",min:1,max:2e3}],id:"Donchian Channels@tv-basicstudies-1",scriptIdPart:"",name:"Donchian Channels",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.low(this._context),n=this._context.new_var(s),o=r.Std.lowest(n,i,this._context),a=r.Std.high(this._context),l=this._context.new_var(a),c=r.Std.highest(l,i,this._context);return[o,c,r.Std.avg(c,o)]}}},{name:"Double Exponential Moving Average",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1, -is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Double EMA",shortDescription:"DEMA",is_price_study:!0,inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:1e4}],id:"Double Exponential Moving Average@tv-basicstudies-1",scriptIdPart:"",name:"Double Exponential Moving Average",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return 2*e-t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);this._context.setMinimumAdditionalDepth(2*i);var s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.ema(n,i,this._context),a=this._context.new_var(o),l=r.Std.ema(a,i,this._context);return[this.f_0(o,l)]}}},{name:"Ease of Movement",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"}},inputs:{in_0:1e4,in_1:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Ease Of Movement",shortDescription:"EOM",is_price_study:!1,inputs:[{id:"in_0",name:"Divisor",defval:1e4,type:"integer",min:1,max:1e9},{id:"in_1",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Ease of Movement@tv-basicstudies-1",scriptIdPart:"",name:"Ease of Movement",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i,s,r){return e*t*(i-s)/r},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.hl2(this._context),o=this._context.new_var(n),a=r.Std.change(o),l=this.f_0(i,a,r.Std.high(this._context),r.Std.low(this._context),r.Std.volume(this._context)),c=this._context.new_var(l);return[r.Std.sma(c,s,this._context)]}}},{name:"Elders Force Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:13}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Elder's Force Index",shortDescription:"EFI",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"length",defval:13,type:"integer",min:1,max:2e3}],id:"Elders Force Index@tv-basicstudies-1",scriptIdPart:"",name:"Elders Force Index",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t){return e*t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.change(n),a=this.f_0(o,r.Std.volume(this._context)),l=this._context.new_var(a);return[r.Std.ema(l,i,this._context)]}}},{name:"EMA Cross",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{ -plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#43A047"},plot_2:{linestyle:0,linewidth:4,plottype:3,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9,in_1:26}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Short",histogramBase:0,joinPoints:!1},plot_1:{title:"Long",histogramBase:0,joinPoints:!1},plot_2:{title:"Crosses",histogramBase:0,joinPoints:!1}},description:"EMA Cross",shortDescription:"EMA Cross",is_price_study:!0,inputs:[{id:"in_0",name:"Short",defval:9,type:"integer",min:1,max:2e3},{id:"in_1",name:"Long",defval:26,type:"integer",min:1,max:2e3}],id:"EMA Cross@tv-basicstudies-1",scriptIdPart:"",name:"EMA Cross",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e?t:r.Std.na()},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.close(this._context),o=this._context.new_var(n),a=r.Std.ema(o,i,this._context),l=this._context.new_var(n),c=r.Std.ema(l,s,this._context),h=a,d=c,u=r.Std.cross(a,c,this._context);return[h,d,this.f_0(u,a)]}}},{name:"Envelopes",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},filledAreasStyle:{fill_0:{color:"#2196F3",transparency:95,visible:!0}},inputs:{in_0:20,in_1:10,in_2:10,in_3:"Simple",in_4:"close"}},plots:[{id:"plot_1",type:"line"},{id:"plot_0",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Average",histogramBase:0,joinPoints:!1},plot_1:{title:"Upper",histogramBase:0,joinPoints:!1},plot_2:{title:"Lower",histogramBase:0,joinPoints:!1}},description:"Envelopes",shortDescription:"Envelopes",is_price_study:!0,filledAreas:[{id:"fill_0",objAId:"plot_1",objBId:"plot_2",type:"plot_plot",title:"Plots Background"}],inputs:[{id:"in_0",name:"Length",defval:20,type:"integer",min:1,max:2e3},{id:"in_1",name:"Upper Percentage",defval:2,type:"float",min:0},{id:"in_2",name:"Lower Percentage",defval:2,type:"float",min:0},{id:"in_3",name:"Method",type:"text",defval:"Simple",options:["Simple","Exponential","Weighted"]},{id:"in_4",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]}],id:"Envelope@tv-basicstudies-1",scriptIdPart:"",name:"Envelopes",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e*(1+t)},this.f_1=function(e,t){return e*(1-t)},this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_var(r.Std[this._input(4)](this._context)),s=r.Std.sma(i,this._input(0),this._context) -;return"Exponential"===this._input(3)?s=r.Std.ema(i,this._input(0),this._context):"Weighted"===this._input(3)&&(s=r.Std.wma(i,this._input(0),this._context)),[this.f_0(s,this._input(1)/100),s,this.f_1(s,this._input(2)/100)]}}},{name:"Standard Error",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Standard Error@tv-basicstudies-1",scriptIdPart:"",name:"Standard Error",description:"Standard Error",shortDescription:"Standard Error",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF6D00"}},inputs:{length:14}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"length",type:"integer",name:"Length",min:3}],format:{precision:2,type:"price"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0)},this.main=function(e,t){this._context=e,this._input=t;for(var i,s,n=this._context.new_var(r.Std.close(this._context)),o=0,a=0,l=0;l0?1:3,i=r.Std.change(this._context.new_var(e));return t-(r.Std.le(i,0)?0:1)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std[this._input(2)](this._context),s=this._input(0),n=this._input(1),o=this._input(3);this._context.setMinimumAdditionalDepth(Math.max(s,n)+o);var a=this._context.new_var(i),l=r.Std.ema(a,s,this._context),c=this._context.new_var(i),h=r.Std.ema(c,n,this._context),d=this.f_0(l,h),u=this._context.new_var(d),p=r.Std.ema(u,o,this._context),_=this.f_0(d,p);return[_,d,p,this.f_1(_)]}}},{name:"Moving Average Exponential",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},inputs:{length:9,source:"close",offset:0,smoothingLine:"SMA",smoothingLength:9}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"Moving Average Exponential",shortDescription:"EMA",is_price_study:!0,inputs:[{id:"length",name:"Length",defval:9,type:"integer",min:1,max:1e4},{id:"source",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]},{id:"offset",name:"Offset",defval:0,type:"integer",min:-1e4,max:1e4},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:9, -type:"integer",min:1,max:1e4}],id:"Moving Average Exponential@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Exponential",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std[this._input(1)](this._context),s=this._input(0),n=this._input(2),o=this._input(3),a=this._input(4);this._context.setMinimumAdditionalDepth(s+a);var l,c=this._context.new_var(i),h=r.Std.ema(c,s,this._context),d=this._context.new_var(h);return"EMA"===o?l=r.Std.ema(d,a,this._context):"WMA"===o?l=r.Std.wma(d,a,this._context):"SMA"===o&&(l=r.Std.sma(d,a,this._context)),[{value:h,offset:n},{value:l,offset:n}]}}},{name:"Moving Average Weighted",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9,in_1:"close",in_2:0}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Moving Average Weighted",shortDescription:"WMA",is_price_study:!0,inputs:[{id:"in_0",name:"Length",defval:9,type:"integer",min:1,max:2e3},{id:"in_1",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]},{id:"in_2",name:"Offset",defval:0,type:"integer",min:-1e4,max:1e4}],id:"Moving Average Weighted@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Weighted",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std[this._input(1)](this._context),s=this._input(0),n=this._input(2),o=this._context.new_var(i);return[{value:r.Std.wma(o,s,this._context),offset:n}]}}},{name:"Moving Average Double",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"Moving Average Double@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Double",description:"Moving Average Double",shortDescription:"Moving Average Double",is_price_study:!0,plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF6D00"},plot_1:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{firstPeriods:14,secondPeriods:21,method:"Simple"}},styles:{plot_0:{title:"Plot 1"},plot_1:{title:"Plot 2"}},inputs:[{id:"firstPeriods",name:"1st Period",type:"integer",defval:14,min:1,max:1e4},{id:"secondPeriods",name:"2nd Period",type:"integer",defval:21,min:1,max:1e4},{id:"method",name:"Method",type:"text",defval:"Simple",options:["Simple","Exponential","Weighted"]}],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i,s,n=this._context.new_var(r.Std.close(this._context));return"Exponential"===this._input(2)?(i=r.Std.ema(n,this._input(0),this._context),s=r.Std.ema(n,this._input(1),this._context)):"Weighted"===this._input(2)?(i=r.Std.wma(n,this._input(0),this._context), -s=r.Std.wma(n,this._input(1),this._context)):(i=r.Std.sma(n,this._input(0),this._context),s=r.Std.sma(n,this._input(1),this._context)),[i,s]}}},{name:"Moving Average Triple",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Moving Average Triple@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Triple",description:"Moving Average Triple",shortDescription:"Moving Average Triple",plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,transparency:0,trackPrice:!1,color:"#FF6D00"},plot_1:{linestyle:0,visible:!0,linewidth:1,transparency:0,plottype:0,trackPrice:!1,color:"#2196F3"},plot_2:{linestyle:0,visible:!0,linewidth:1,transparency:0,plottype:0,trackPrice:!1,color:"#26C6DA"}},inputs:{firstPeriods:14,secondPeriods:21,thirdPeriods:35,method:"Simple"}},styles:{plot_0:{title:"Plot 1"},plot_1:{title:"Plot 2"},plot_2:{title:"Plot 3"}},inputs:[{id:"firstPeriods",name:"1st Period",type:"integer",defval:14,min:1,max:1e4},{id:"secondPeriods",name:"2nd Period",type:"integer",defval:21,min:1,max:1e4},{id:"thirdPeriods",name:"3rd Period",type:"integer",defval:35,min:1,max:1e4},{id:"method",name:"Method",type:"text",defval:"Simple",options:["Simple","Exponential","Weighted"]}],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i,s,n,o=this._context.new_var(r.Std.close(this._context));return"Exponential"===this._input(3)?(i=r.Std.ema(o,this._input(0),this._context),s=r.Std.ema(o,this._input(1),this._context),n=r.Std.ema(o,this._input(2),this._context)):"Weighted"===this._input(3)?(i=r.Std.wma(o,this._input(0),this._context),s=r.Std.wma(o,this._input(1),this._context),n=r.Std.wma(o,this._input(2),this._context)):(i=r.Std.sma(o,this._input(0),this._context),s=r.Std.sma(o,this._input(1),this._context),n=r.Std.sma(o,this._input(2),this._context)),[i,s,n]}}},{name:"Moving Average Adaptive",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Moving Average Adaptive@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Adaptive",description:"Moving Average Adaptive",shortDescription:"Moving Average Adaptive",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,transparency:0,trackPrice:!1,color:"#AB47BC"}},inputs:{periods:10}},styles:{plot_0:{title:"Plot 1"}},inputs:[{id:"periods",name:"Period",type:"integer",defval:10,min:2,max:1e4}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.periods=this._input(0)},this.ama=function(e,t){var i=this.periods,s=this._context.new_var(),n=e.get(),o=r.Std.stdev(t,i,this._context),a=r.Std.log(n/e.get(i))/(o*Math.sqrt(i)),l=.1*Math.abs(a),c=(n-s.get(1))*l+s.get(1);return s.set(isNaN(c)?n:c),c},this.main=function(e,t){this._context=e,this._input=t -;var i=this._context.new_var(r.Std.close(this._context)),s=this._context.new_var(r.Std.log(i.get()/i.get(1)));return[this.ama(i,s)]}}},{name:"Moving Average Hamming",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Moving Average Hamming@tv-basicstudies-1",scriptIdPart:"",name:"Moving Average Hamming",description:"Moving Average Hamming",shortDescription:"Moving Average Hamming",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,transparency:0,trackPrice:!1,color:"#4CAF50"}},inputs:{periods:10}},styles:{plot_0:{title:"Plot 1"}},inputs:[{id:"periods",name:"Period",type:"integer",defval:10,min:1,max:1e4}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.periods=this._input(0);for(var i=[],s=0,r=1;r<=this.periods;++r){var n=Math.sin((1+r)/this.periods*Math.PI/2);i.unshift(n),s+=n}this.hmaFactors=i,this.hmaFactorsSum=s},this.hma=function(e){for(var t=this.periods,i=0,s=0;sthis._context.new_var(s).get(1)?1:0,[100*r.Std.sma(this._context.new_var(i),this.rollingPeriod,this._context)]}}},{name:"Net Volume",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Net Volume",shortDescription:"Net Volume",is_price_study:!1,inputs:[],id:"Net Volume@tv-basicstudies-1",scriptIdPart:"",name:"Net Volume",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i){return r.Std.gt(e,0)?t:r.Std.lt(i,0)?-t:0*t},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._context.new_var(i),n=r.Std.change(s);return[this.f_0(n,r.Std.volume(this._context),n)]}}},{name:"On Balance Volume",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0, -color:"#2196F3"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},inputs:{smoothingLine:"SMA",smoothingLength:9}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"On Balance Volume",shortDescription:"OBV",is_price_study:!1,inputs:[{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:9,type:"integer",min:1,max:1e4}],id:"On Balance Volume@tv-basicstudies-1",scriptIdPart:"",name:"On Balance Volume",format:{type:"volume"}},constructor:function(){this.f_0=function(e,t,i){return r.Std.gt(e,0)?t:r.Std.lt(i,0)?-t:0*t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.close(this._context),o=this._context.new_var(n),a=r.Std.change(o),l=this.f_0(a,r.Std.volume(this._context),a),c=r.Std.cum(l,this._context);this._context.setMinimumAdditionalDepth(s);var h,d=this._context.new_var(c);return"EMA"===i?h=r.Std.ema(d,s,this._context):"WMA"===i?h=r.Std.wma(d,s,this._context):"SMA"===i&&(h=r.Std.sma(d,s,this._context)),[c,h]}}},{name:"Parabolic SAR",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:3,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:.02,in_1:.02,in_2:.2}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Parabolic SAR",shortDescription:"SAR",is_price_study:!0,inputs:[{id:"in_0",name:"start",defval:.02,type:"float",min:-1e12,max:1e12},{id:"in_1",name:"increment",defval:.02,type:"float",min:-1e12,max:1e12},{id:"in_2",name:"maximum",defval:.2,type:"float",min:-1e12,max:1e12}],id:"Parabolic SAR@tv-basicstudies-1",scriptIdPart:"",name:"Parabolic SAR",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);return[r.Std.sar(i,s,n,this._context)]}}},{name:"Price Channel",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#F50057"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#F50057"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:20,in_1:0}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Highprice Line",histogramBase:0,joinPoints:!1},plot_1:{title:"Lowprice Line",histogramBase:0,joinPoints:!1},plot_2:{title:"Centerprice Line",histogramBase:0,joinPoints:!1}},description:"Price Channel",shortDescription:"PC",is_price_study:!0,inputs:[{id:"in_0",name:"Length",defval:20,type:"integer",min:1,max:2e3},{id:"in_1", -name:"Offset Length",defval:0,type:"integer",min:1,max:2e3}],id:"Price Channel@tv-basicstudies-1",scriptIdPart:"",name:"Price Channel",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.high(this._context),s=this._context.new_var(i),n=r.Std.low(this._context),o=this._context.new_var(n),a=this._input(0),l=this._input(1),c=r.Std.highest(s,a,this._context),h=r.Std.lowest(o,a,this._context);return[{value:c,offset:l},{value:h,offset:l},{value:r.Std.avg(c,h),offset:l}]}}},{name:"Price Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:u}},inputs:{in_0:10,in_1:21}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Price Oscillator",shortDescription:"PPO",is_price_study:!1,inputs:[{id:"in_0",name:"shortlen",defval:10,type:"integer",min:1,max:2e3},{id:"in_1",name:"longlen",defval:21,type:"integer",min:1,max:2e3}],id:"Price Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Price Oscillator",format:{type:"price",precision:2}},constructor:function(){this.f_0=function(e,t){return(e-t)/t*100},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._context.new_var(i),a=r.Std.sma(o,s,this._context),l=this._context.new_var(i),c=r.Std.sma(l,n,this._context);return[this.f_0(a,c)]}}},{name:"Price Volume Trend",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"PVT",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Price Volume Trend",shortDescription:"PVT",is_price_study:!1,is_hidden_study:!1,id:"price_volume_trend@tv-basicstudies-1",inputs:[],scriptIdPart:"",name:"Price Volume Trend",format:{type:"volume"}},constructor:function(){this.f_0=function(){var e=this._context.new_var(r.Std.close(this._context));return[r.Std.cum(r.Std.change(e)/e.get(1)*r.Std.volume(this._context),this._context)]},this.main=function(e,t){return this._context=e,this._input=t,[this.f_0()[0]]}}},{name:"Rate Of Change",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"ROC",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Rate Of Change",shortDescription:"ROC",is_price_study:!1,bands:[{id:"hline_0",name:"Zero Line",isHidden:!1}],inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:1e12}],id:"rate_of_change@tv-basicstudies-1",scriptIdPart:"",name:"Rate Of Change",format:{precision:2,type:"price"}}, -constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_var(r.Std.close(this._context)),s=this._input(0);return[100*(i.get(0)-i.get(s))/i.get(s)]}}},{name:"Relative Strength Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#7E57C2"},smoothedMA:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!1}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:70},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:30}],filledAreasStyle:{fill_0:{color:"#7E57C2",transparency:90,visible:!0}},inputs:{length:14,smoothingLine:"SMA",smoothingLength:14}},plots:[{id:"plot_0",type:"line"},{id:"smoothedMA",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1},smoothedMA:{title:"Smoothed MA",histogramBase:0,joinPoints:!1}},description:"Relative Strength Index",shortDescription:"RSI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"length",name:"Length",defval:14,type:"integer",min:1,max:2e3},{id:"smoothingLine",name:"Smoothing Line",defval:"SMA",type:"text",options:["SMA","EMA","WMA"]},{id:"smoothingLength",name:"Smoothing Length",defval:14,type:"integer",min:1,max:1e4}],id:"Relative Strength Index@tv-basicstudies-1",scriptIdPart:"",name:"Relative Strength Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e){return r.Std.max(e,0)},this.f_1=function(e){return-r.Std.min(e,0)},this.f_2=function(e,t){return r.Std.eq(e,0)?100:r.Std.eq(t,0)?0:100-100/(1+t/e)},this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._input(2);this._context.setMinimumAdditionalDepth(s+o);var a,l=this._context.new_var(i),c=r.Std.change(l),h=this.f_0(c),d=this._context.new_var(h),u=r.Std.rma(d,s,this._context),p=this.f_1(c),_=this._context.new_var(p),m=r.Std.rma(_,s,this._context),g=this.f_2(m,u),f=this._context.new_var(g);return"EMA"===n?a=r.Std.ema(f,o,this._context):"WMA"===n?a=r.Std.wma(f,o,this._context):"SMA"===n&&(a=r.Std.sma(f,o,this._context)),[{value:g},{value:a}]}}},{name:"Relative Vigor Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:u},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"RVGI",histogramBase:0,joinPoints:!1},plot_1:{title:"Signal",histogramBase:0,joinPoints:!1}},description:"Relative Vigor Index",shortDescription:"RVGI",is_price_study:!1,inputs:[{id:"in_0",name:"Length",defval:10,type:"integer",min:1,max:2e3}], -id:"Relative Vigor Index@tv-basicstudies-1",scriptIdPart:"",name:"Relative Vigor Index",format:{precision:4,type:"price"}},constructor:function(){this.f_0=function(e,t){return e-t},this.f_1=function(e,t){return e/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this.f_0(r.Std.close(this._context),r.Std.open(this._context)),n=this._context.new_var(s),o=r.Std.swma(n,this._context),a=this._context.new_var(o),l=r.Std.sum(a,i,this._context),c=this.f_0(r.Std.high(this._context),r.Std.low(this._context)),h=this._context.new_var(c),d=r.Std.swma(h,this._context),u=this._context.new_var(d),p=r.Std.sum(u,i,this._context),_=this.f_1(l,p),m=this._context.new_var(_);return[_,r.Std.swma(m,this._context)]}}},{name:"Relative Volatility Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#7E57C2"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:80},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:20}],filledAreasStyle:{fill_0:{color:"#7E57C2",transparency:90,visible:!0}},inputs:{in_0:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Relative Volatility Index",shortDescription:"RVI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:10,type:"integer",min:1,max:2e3}],id:"Relative Volatility Index@tv-basicstudies-1",scriptIdPart:"",name:"Relative Volatility Index",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t){return r.Std.le(e,0)?0:t},this.f_1=function(e,t){return r.Std.gt(e,0)?0:t},this.f_2=function(e,t){return e/(e+t)*100},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);this._context.setMinimumAdditionalDepth(i+12);var s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.stdev(n,i,this._context),a=this._context.new_var(s),l=r.Std.change(a),c=this.f_0(l,o),h=this._context.new_var(c),d=r.Std.ema(h,14,this._context),u=this.f_1(l,o),p=this._context.new_var(u),_=r.Std.ema(p,14,this._context);return[this.f_2(d,_)]}}},{name:"SMI Ergodic Indicator/Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"},plot_2:{linestyle:0,linewidth:1,plottype:1,trackPrice:!1,transparency:0,visible:!0,color:c}},inputs:{in_0:5,in_1:20,in_2:5}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Indicator",histogramBase:0,joinPoints:!1},plot_1:{title:"Signal",histogramBase:0,joinPoints:!1},plot_2:{title:"Oscillator",histogramBase:0, -joinPoints:!1}},description:"SMI Ergodic Indicator/Oscillator",shortDescription:"SMIIO",is_price_study:!1,inputs:[{id:"in_0",name:"shortlen",defval:5,type:"integer",min:1,max:2e3},{id:"in_1",name:"longlen",defval:20,type:"integer",min:1,max:2e3},{id:"in_2",name:"siglen",defval:5,type:"integer",min:1,max:2e3}],id:"SMI Ergodic Indicator/Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"SMI Ergodic Indicator/Oscillator",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t){return e-t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(i+s+n);var o=r.Std.close(this._context),a=this._context.new_var(o),l=r.Std.tsi(a,i,s,this._context),c=this._context.new_var(l),h=r.Std.ema(c,n,this._context);return[l,h,this.f_0(l,h)]}}},{name:"Smoothed Moving Average",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#673AB7"}},inputs:{in_0:7,in_1:"close"}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Smoothed Moving Average",shortDescription:"SMMA",is_price_study:!0,inputs:[{id:"in_0",name:"Length",defval:7,type:"integer",min:1,max:1e12},{id:"in_1",name:"Source",defval:"close",type:"source",options:["open","high","low","close","hl2","hlc3","ohlc4"]}],id:"smoothed_moving_average@tv-basicstudies-1",scriptIdPart:"",name:"Smoothed Moving Average",format:{type:"inherit"}},constructor:function(){this.f_0=function(){var e=this._input(0),t=r.Std[this._input(1)](this._context);return[r.Std.smma(t,e,this._context)]},this.main=function(e,t){return this._context=e,this._input=t,this.f_0()}}},{name:"Standard Deviation",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"Standard Deviation@tv-basicstudies-1",scriptIdPart:"",name:"Standard Deviation",description:"Standard Deviation",shortDescription:"Standard Deviation",is_price_study:!1,plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:u}},inputs:{periods:5,deviations:1}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",name:"Periods",type:"integer"},{id:"deviations",name:"Deviations",type:"float"}],format:{precision:2,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._context.new_var(r.Std.close(this._context));return[r.Std.stdev(n,i,this._context)*s]}}},{name:"Stochastic",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:80},{color:"#787B86",linestyle:2, -linewidth:1,visible:!0,value:20}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:14,in_1:1,in_2:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"%K",histogramBase:0,joinPoints:!1},plot_1:{title:"%D",histogramBase:0,joinPoints:!1}},description:"Stochastic",shortDescription:"Stoch",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"K",defval:14,type:"integer",min:1,max:1e4},{id:"in_1",name:"D",defval:1,type:"integer",min:1,max:1e4},{id:"in_2",name:"smooth",defval:3,type:"integer",min:1,max:1e4}],id:"Stochastic@tv-basicstudies-1",scriptIdPart:"",name:"Stochastic",format:{precision:2,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(i+s+n);var o=r.Std.close(this._context),a=r.Std.high(this._context),l=r.Std.low(this._context),c=this._context.new_var(o),h=this._context.new_var(a),d=this._context.new_var(l),u=r.Std.stoch(c,h,d,i,this._context),p=this._context.new_var(u),_=r.Std.sma(p,s,this._context),m=this._context.new_var(_);return[_,r.Std.sma(m,n,this._context)]}}},{name:"Stochastic RSI",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#FF6D00"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:80},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:20}],filledAreasStyle:{fill_0:{color:"#2196F3",transparency:90,visible:!0}},inputs:{in_0:14,in_1:14,in_2:3,in_3:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"%K",histogramBase:0,joinPoints:!1},plot_1:{title:"%D",histogramBase:0,joinPoints:!1}},description:"Stochastic RSI",shortDescription:"Stoch RSI",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"lengthRSI",defval:14,type:"integer",min:1,max:1e4},{id:"in_1",name:"lengthStoch",defval:14,type:"integer",min:1,max:1e4},{id:"in_2",name:"smoothK",defval:3,type:"integer",min:1,max:1e4},{id:"in_3",name:"smoothD",defval:3,type:"integer",min:1,max:1e4}],id:"Stochastic RSI@tv-basicstudies-1",scriptIdPart:"",name:"Stochastic RSI",format:{precision:2,type:"price"}},constructor:function(){this.f_1=function(e,t,i){var s=i.new_var(r.Std.max(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.f_2=function(e,t,i){var s=i.new_var(-r.Std.min(r.Std.change(e),0));return r.Std.rma(s,t,i)},this.main=function(e,t){this._context=e,this._input=t -;var i=r.Std.close(this._context),s=this._input(0),n=this._input(1),o=this._input(2),a=this._input(3);e.setMinimumAdditionalDepth(s+n+o+a);var l=this._context.new_var(i),c=r.Std.rsi(this.f_1(l,s,this._context),this.f_2(l,s,this._context)),h=this._context.new_var(c),d=this._context.new_var(c),u=this._context.new_var(c),p=r.Std.stoch(h,d,u,n,this._context),_=this._context.new_var(p),m=r.Std.sma(_,o,this._context),g=this._context.new_var(m);return[m,r.Std.sma(g,a,this._context)]}}},{name:"TRIX",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:18}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"TRIX",histogramBase:0,joinPoints:!1}},description:"TRIX",shortDescription:"TRIX",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"length",defval:18,type:"integer",min:1,max:2e3}],id:"TRIX@tv-basicstudies-1",scriptIdPart:"",name:"TRIX",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e){return r.Std.log(e)},this.f_1=function(e){return 1e4*e},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);e.setMinimumAdditionalDepth(3*i);var s=this.f_0(r.Std.close(this._context)),n=this._context.new_var(s),o=r.Std.ema(n,i,this._context),a=this._context.new_var(o),l=r.Std.ema(a,i,this._context),c=this._context.new_var(l),h=r.Std.ema(c,i,this._context),d=this._context.new_var(h),u=r.Std.change(d);return[this.f_1(u)]}}},{name:"Triple EMA",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:9}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Triple EMA",shortDescription:"TEMA",is_price_study:!0,inputs:[{id:"in_0",name:"length",defval:9,type:"integer",min:1,max:1e4}],id:"Triple EMA@tv-basicstudies-1",scriptIdPart:"",name:"Triple EMA",format:{type:"inherit"}},constructor:function(){this.f_0=function(e,t,i){return 3*(e-t)+i},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0);this._context.setMinimumAdditionalDepth(3*i);var s=r.Std.close(this._context),n=this._context.new_var(s),o=r.Std.ema(n,i,this._context),a=this._context.new_var(o),l=r.Std.ema(a,i,this._context),c=this._context.new_var(l),h=r.Std.ema(c,i,this._context);return[this.f_0(o,l,h)]}}},{name:"True Strength Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:25,in_1:13,in_2:13}},plots:[{id:"plot_0",type:"line" -},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"True Strength Index",histogramBase:0,joinPoints:!1},plot_1:{title:"Signal",histogramBase:0,joinPoints:!1}},description:"True Strength Index",shortDescription:"True Strength Index",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"long",defval:25,type:"integer",min:1,max:4999},{id:"in_1",name:"short",defval:13,type:"integer",min:1,max:4999},{id:"in_2",name:"siglen",defval:13,type:"integer",min:1,max:4999}],id:"True Strength Indicator@tv-basicstudies-1",scriptIdPart:"",name:"True Strength Index",format:{precision:4,type:"price"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2);this._context.setMinimumAdditionalDepth(this._input(0)+this._input(1)+this._input(2));var o=r.Std.close(this._context),a=this._context.new_var(o),l=r.Std.tsi(a,s,i,this._context),c=this._context.new_var(l);return[l,r.Std.ema(c,n,this._context)]}}},{name:"Trend Strength Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Trend Strength Index@tv-basicstudies-1",scriptIdPart:"",name:"Trend Strength Index",description:"Trend Strength Index",shortDescription:"Trend Strength Index",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:c}},inputs:{periods:14}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",type:"integer",name:"Periods"}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.invertedPeriod=1/this.period,this.sumX=(this.period-1)*this.period/2,this.sumXX=(this.period-1)*this.period*(2*this.period-1)/6,this.invertedPeriodSumXSumX=this.invertedPeriod*this.sumX*this.sumX},this.trendStrengthIndex=function(){for(var e=this._context.new_var(r.Std.close(this._context)),t=r.Std.sum(e,this.period,this._context),i=0,s=0,n=0;n0?1:-1:a/(l=Math.sqrt(l))},this.main=function(e,t){return this._context=e,this._input=t,[this.trendStrengthIndex()]}}},{name:"Typical Price",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,id:"TypicalPrice@tv-basicstudies-1",scriptIdPart:"",name:"Typical Price",description:"Typical Price",shortDescription:"Typical Price",is_price_study:!0,plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF6D00"}},inputs:{}},styles:{plot_0:{title:"Plot"}},inputs:[],format:{type:"inherit"}},constructor:function(){this.main=function(e,t){return this._context=e,this._input=t,[r.Std.hlc3(this._context)]}}},{name:"Ultimate Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{ -linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:a}},inputs:{in_0:7,in_1:14,in_2:28}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"UO",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Ultimate Oscillator",shortDescription:"UO",is_price_study:!1,inputs:[{id:"in_0",name:"length7",defval:7,type:"integer",min:1,max:1e12},{id:"in_1",name:"length14",defval:14,type:"integer",min:1,max:1e12},{id:"in_2",name:"length28",defval:28,type:"integer",min:1,max:1e12}],id:"ultimate_oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Ultimate Oscillator",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i){var s=this._context.new_var(e),n=this._context.new_var(t);return[r.Std.sum(s,i,this._context)/r.Std.sum(n,i,this._context)]},this.f_1=function(){var e=this._input(0),t=this._input(1),i=this._input(2),s=this._context.new_var(r.Std.close(this._context)),n=r.Std.max(r.Std.high(this._context),s.get(1)),o=this._context.new_var(r.Std.close(this._context)),a=r.Std.min(r.Std.low(this._context),o.get(1)),l=r.Std.close(this._context)-a,c=n-a,h=this.f_0(l,c,e),d=this.f_0(l,c,t),u=this.f_0(l,c,i);return[100*(4*h[0]+2*d[0]+u[0])/7]},this.main=function(e,t){return this._context=e,this._input=t,this.f_1()}}},{name:"Volatility Close-to-Close",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Volatility Close-to-Close@tv-basicstudies-1",scriptIdPart:"",name:"Volatility Close-to-Close",description:"Volatility Close-to-Close",shortDescription:"Volatility Close-to-Close",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#2196F3"}},inputs:{periods:10,daysPerYear:252}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",name:"Periods",type:"integer",defval:10,min:2},{id:"daysPerYear",name:"Days Per Year",type:"integer",defval:252,min:1,max:366}],format:{precision:2,type:"percent"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.daysPerYear=this._input(1)},this.stdev=function(e,t,i){var s=this.variance(e,t,i);return r.Std.sqrt(s)},this.variance=function(e,t,i){var s=r.Std.sma(e,t,i);return this.variance2(e,s,t)},this.variance2=function(e,t,i){var s,r,n=0;for(s=0;s0&&(l=.12*this.square(e.get()-s.get(1))/this.marketClosedPercentage+.88*l/(1-this.marketClosedPercentage)),l/=a,l*=this.secondsPerYear;var c=this._context.new_var(l);return 100*Math.sqrt(r.Std.sum(c,this.period,this._context)/this.period)},this.main=function(e,t){return this._context=e,this._input=t,[this.volatilityOHLC()]}}},{name:"Volatility Index",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0, -id:"Volatility Index@tv-basicstudies-1",scriptIdPart:"",name:"Volatility Index",description:"Volatility Index",shortDescription:"Volatility Index",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:c}},inputs:{periods:10,atrMult:3,method:"Wilder Smoothing"}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",name:"Periods",type:"integer"},{id:"atrMult",name:"ATR Mult",type:"float"},{id:"method",name:"Method",type:"text",defval:"Exponential",options:["Exponential","Wilder Smoothing"]}],format:{type:"inherit"}},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.atrMult=this._input(1),this.maMethod=this._input(2),this.nextsar=null,this.position=null,this.sic=null,this.bars=[],this.count=0,this.lastSar=null,this._context.setMinimumAdditionalDepth("Exponential"===this.maMethod?2*this.period+2:this.period)},this.computeATR=function(){var e=r.Std.high(this._context)-r.Std.low(this._context),t=r.Std.high(this._context)-this.bars[this.bars.length-2],i=this.bars[this.bars.length-2]-r.Std.low(this._context);return this.tr=Math.max(e,t,i),"Exponential"===this.maMethod?this.atr=r.Std.ema(this._context.new_var(this.tr),this.period,this._context):this.atr=this.tr/this.period+(1-1/this.period)*this.atr,this.atr*this.atrMult},this.calculateVolatility=function(){if(r.Std.close(this._context)===this.bars[this.bars.length-1])return this.lastSar;if(this.bars.push(r.Std.close(this._context)),1===this.count)this.atr=r.Std.high(this._context)-r.Std.low(this._context),this.sic=r.Std.close(this._context);else if(this.countthis.sic&&(this.sic=r.Std.close(this._context))}else if(this.count===this.period){e=r.Std.high(this._context)-r.Std.low(this._context),t=r.Std.high(this._context)-this.bars[this.bars.length-2],i=this.bars[this.bars.length-2]-r.Std.low(this._context);this.atr+=Math.max(e,t,i),this.atr*=1/this.period,r.Std.close(this._context)>this.sic&&(this.sic=r.Std.close(this._context)),this.position="LONG",this.nextsar=this.sic-this.atr*this.atrMult}else{var s=this.nextsar;"LONG"===this.position?r.Std.close(this._context)s?(this.position="LONG",this.sic=r.Std.close(this._context),this.nextsar=this.sic-this.computeATR()):(this.position="SHORT",this.sic=Math.min(r.Std.close(this._context),this.sic),this.nextsar=this.sic+this.computeATR())),this.lastSar=s}return this.count++,s},this.main=function(e,t){return this._context=e,this._input=t,this._context.select_sym(0), -[this.calculateVolatility()]}}},{name:"VWAP",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:0,transparency:0,visible:!0,color:"#2196F3"}}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"VWAP",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"VWAP",shortDescription:"VWAP",is_price_study:!0,inputs:[],id:"VWAP@tv-basicstudies-1",scriptIdPart:"",name:"VWAP",format:{type:"inherit"}},constructor:function(){this.f_1=function(e){e.hist=null,e.add_hist()},this.init=function(e,t){this._isNewSession=null},this.main=function(e,t){this._context=e,this._input=t;var i=e.new_var(),s=e.new_var(),n=this._context.symbol.time;return n&&(null===this._isNewSession&&(this._isNewSession=r.Std.createNewSessionCheck(e)),this._isNewSession(n)&&(this.f_1(i),this.f_1(s))),i.set(r.Std.nz(i.get(1))+r.Std.hlc3(this._context)*r.Std.volume(this._context)),s.set(r.Std.nz(s.get(1))+r.Std.volume(this._context)),[i.get(0)/s.get(0)]}}},{name:"VWMA",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},inputs:{in_0:20}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"VWMA",shortDescription:"VWMA",is_price_study:!0,inputs:[{id:"in_0",name:"len",defval:20,type:"integer",min:1,max:1e4}],id:"VWMA@tv-basicstudies-1",scriptIdPart:"",name:"VWMA",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=r.Std.close(this._context),s=this._input(0),n=this._context.new_var(i);return[r.Std.vwma(n,s,this._context)]}}},{name:"Volume Oscillator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:5,in_1:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Volume Oscillator",shortDescription:"Volume Osc",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"shortlen",defval:5,type:"integer",min:1,max:4999},{id:"in_1",name:"longlen",defval:10,type:"integer",min:1,max:4999}],id:"Volume Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Volume Oscillator",format:{precision:2,type:"percent"}},constructor:function(){this.f_0=function(e,t){return 100*(e-t)/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=r.Std.volume(this._context),o=this._context.new_var(n),a=r.Std.ema(o,i,this._context),l=this._context.new_var(n),c=r.Std.ema(l,s,this._context);return[this.f_0(a,c)]}}},{name:"Vortex Indicator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0, -visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"VI +",histogramBase:0,joinPoints:!1,isHidden:!1},plot_1:{title:"VI -",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Vortex Indicator",shortDescription:"VI",is_price_study:!1,is_hidden_study:!1,id:"vortex_indicator@tv-basicstudies-1",inputs:[{id:"in_0",name:"Period",defval:14,type:"integer",min:2,max:1e12}],scriptIdPart:"",name:"Vortex Indicator",format:{precision:4,type:"price"}},constructor:function(){this.f_0=function(){var e=this._input(0),t=this._context.new_var(r.Std.low(this._context)),i=this._context.new_var(r.Std.abs(r.Std.high(this._context)-t.get(1))),s=r.Std.sum(i,e,this._context),n=this._context.new_var(r.Std.high(this._context)),o=this._context.new_var(r.Std.abs(r.Std.low(this._context)-n.get(1))),a=r.Std.sum(o,e,this._context),l=this._context.new_var(r.Std.atr(1,this._context)),c=r.Std.sum(l,e,this._context);return[s/c,a/c]},this.main=function(e,t){return this._context=e,this._input=t,this.f_0()}}},{name:"Willams %R",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#7E57C2"}},bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:-20},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:-80}],filledAreasStyle:{fill_0:{color:"#7E57C2",transparency:90,visible:!0}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Williams %R",shortDescription:"%R",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Willams %R@tv-basicstudies-1",scriptIdPart:"",name:"Willams %R",format:{precision:2,type:"price"}},constructor:function(){this.f_0=function(e,t,i){return 100*(e-t)/(t-i)},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=r.Std.high(this._context),n=this._context.new_var(s),o=r.Std.highest(n,i,this._context),a=r.Std.low(this._context),l=this._context.new_var(a),c=r.Std.lowest(l,i,this._context);return[this.f_0(r.Std.close(this._context),o,c)]}}},{name:"Williams Alligator",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#66BB6A"}},inputs:{in_0:21,in_1:13,in_2:8,in_3:8,in_4:5,in_5:3}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}], -styles:{plot_0:{title:"Jaw",histogramBase:0,joinPoints:!1},plot_1:{title:"Teeth",histogramBase:0,joinPoints:!1},plot_2:{title:"Lips",histogramBase:0,joinPoints:!1}},description:"Williams Alligator",shortDescription:"Alligator",is_price_study:!0,inputs:[{id:"in_0",name:"Jaw Length",defval:21,type:"integer",min:1,max:2e3},{id:"in_1",name:"Teeth Length",defval:13,type:"integer",min:1,max:2e3},{id:"in_2",name:"Lips Length",defval:8,type:"integer",min:1,max:2e3},{id:"in_3",name:"Jaw Offset",defval:8,type:"integer",min:1,max:2e3},{id:"in_4",name:"Teeth Offset",defval:5,type:"integer",min:1,max:2e3},{id:"in_5",name:"Lips Offset",defval:3,type:"integer",min:1,max:2e3}],id:"Williams Alligator@tv-basicstudies-1",scriptIdPart:"",name:"Williams Alligator",format:{type:"inherit"}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),s=this._input(1),n=this._input(2),o=this._input(3),a=this._input(4),l=this._input(5),c=r.Std.hl2(this._context);return[{value:r.Std.smma(c,i,this._context),offset:o},{value:r.Std.smma(c,s,this._context),offset:a},{value:r.Std.smma(c,n,this._context),offset:l}]}}},{name:"Williams Fractals",metainfo:{_metainfoVersion:52,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{plottype:"shape_triangle_down",visible:!0,location:"BelowBar",transparency:0,color:a},plot_1:{plottype:"shape_triangle_up",visible:!0,location:"AboveBar",transparency:0,color:u}},inputs:{in_0:2}},plots:[{id:"plot_0",type:"shapes"},{id:"plot_1",type:"shapes"}],styles:{plot_0:{title:"Down fractals",isHidden:!1},plot_1:{title:"Up fractals",isHidden:!1}},description:"Williams Fractal",shortDescription:"Fractals",is_price_study:!0,is_hidden_study:!1,id:"Williams Fractals@tv-basicstudies-1",inputs:[{id:"in_0",name:"Periods",defval:2,type:"integer",min:2,max:1e12}],scriptIdPart:"",name:"Williams Fractals",isCustomIndicator:!0,format:{type:"inherit"}},constructor:function(){this.f_0=function(){for(var e=this._input(0),t=this._context.new_var(r.Std.high(this._context)),i=!0,s=!0,n=!0,o=!0,a=!0,l=!0,c=1;c<=e;c++)i=r.Std.and(i,r.Std.lt(t.get(e-c),t.get(e))),s=r.Std.and(s,r.Std.lt(t.get(e+c),t.get(e))),n=r.Std.and(n,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.lt(t.get(e+c+1),t.get(e)))),o=r.Std.and(o,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.and(r.Std.le(t.get(e+2),t.get(e)),r.Std.lt(t.get(e+c+2),t.get(e))))),a=r.Std.and(a,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.and(r.Std.le(t.get(e+2),t.get(e)),r.Std.and(r.Std.le(t.get(e+3),t.get(e)),r.Std.lt(t.get(e+c+3),t.get(e)))))),l=r.Std.and(l,r.Std.and(r.Std.le(t.get(e+1),t.get(e)),r.Std.and(r.Std.le(t.get(e+2),t.get(e)),r.Std.and(r.Std.le(t.get(e+3),t.get(e)),r.Std.and(r.Std.le(t.get(e+4),t.get(e)),r.Std.lt(t.get(e+c+4),t.get(e)))))));var h=r.Std.or(s,r.Std.or(n,r.Std.or(o,r.Std.or(a,l)))),d=r.Std.and(i,h),u=this._context.new_var(r.Std.low(this._context)),p=1,_=1,m=1,g=1,f=1,v=1;for(c=1;c<=e;c++)p=r.Std.and(p,r.Std.gt(u.get(e-c),u.get(e))),_=r.Std.and(_,r.Std.gt(u.get(e+c),u.get(e))), -m=r.Std.and(m,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.gt(u.get(e+c+1),u.get(e)))),g=r.Std.and(g,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.and(r.Std.ge(u.get(e+2),u.get(e)),r.Std.gt(u.get(e+c+2),u.get(e))))),f=r.Std.and(f,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.and(r.Std.ge(u.get(e+2),u.get(e)),r.Std.and(r.Std.ge(u.get(e+3),u.get(e)),r.Std.gt(u.get(e+c+3),u.get(e)))))),v=r.Std.and(v,r.Std.and(r.Std.ge(u.get(e+1),u.get(e)),r.Std.and(r.Std.ge(u.get(e+2),u.get(e)),r.Std.and(r.Std.ge(u.get(e+3),u.get(e)),r.Std.and(r.Std.ge(u.get(e+4),u.get(e)),r.Std.gt(u.get(e+c+4),u.get(e)))))));var S=r.Std.or(_,r.Std.or(m,r.Std.or(g,r.Std.or(f,v))));return[r.Std.and(p,S),d]},this.main=function(e,t){this._context=e,this._input=t;var i=this.f_0();return[{value:i[0],offset:-this._input(0)},{value:i[1],offset:-this._input(0)}]}}},{name:"Guppy Multiple Moving Average",metainfo:{isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,description:"Guppy Multiple Moving Average",shortDescription:"GMMA",is_price_study:!0,id:"Guppy Multiple Moving Average@tv-basicstudies-1",_metainfoVersion:52,format:{type:"inherit"},defaults:{inputs:{traderEMA1Length:3,traderEMA2Length:5,traderEMA3Length:8,traderEMA4Length:10,traderEMA5Length:12,traderEMA6Length:15,investorEMA1Length:30,investorEMA2Length:35,investorEMA3Length:40,investorEMA4Length:45,investorEMA5Length:50,investorEMA6Length:60},styles:{traderEMA1:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:15,visible:!0},traderEMA2:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:12,visible:!0},traderEMA3:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:9,visible:!0},traderEMA4:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:6,visible:!0},traderEMA5:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:3,visible:!0},traderEMA6:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0},investorEMA1:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:15,visible:!0},investorEMA2:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:12,visible:!0},investorEMA3:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:9,visible:!0},investorEMA4:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:6,visible:!0},investorEMA5:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:3,visible:!0},investorEMA6:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0}}},inputs:[{defval:3,id:"traderEMA1Length",max:1e3,min:1,name:"Trader EMA 1 length",type:"integer"},{defval:5,id:"traderEMA2Length",max:1e3,min:1,name:"Trader EMA 2 length",type:"integer"},{defval:8,id:"traderEMA3Length",max:1e3,min:1,name:"Trader EMA 3 length",type:"integer"},{defval:10,id:"traderEMA4Length",max:1e3,min:1,name:"Trader EMA 4 length",type:"integer"},{defval:12,id:"traderEMA5Length",max:1e3,min:1, -name:"Trader EMA 5 length",type:"integer"},{defval:15,id:"traderEMA6Length",max:1e3,min:1,name:"Trader EMA 6 length",type:"integer"},{defval:30,id:"investorEMA1Length",max:1e3,min:1,name:"Investor EMA 1 length",type:"integer"},{defval:35,id:"investorEMA2Length",max:1e3,min:1,name:"Investor EMA 2 length",type:"integer"},{defval:40,id:"investorEMA3Length",max:1e3,min:1,name:"Investor EMA 3 length",type:"integer"},{defval:45,id:"investorEMA4Length",max:1e3,min:1,name:"Investor EMA 4 length",type:"integer"},{defval:50,id:"investorEMA5Length",max:1e3,min:1,name:"Investor EMA 5 length",type:"integer"},{defval:60,id:"investorEMA6Length",max:1e3,min:1,name:"Investor EMA 6 length",type:"integer"}],plots:[{id:"traderEMA1",type:"line"},{id:"traderEMA2",type:"line"},{id:"traderEMA3",type:"line"},{id:"traderEMA4",type:"line"},{id:"traderEMA5",type:"line"},{id:"traderEMA6",type:"line"},{id:"investorEMA1",type:"line"},{id:"investorEMA2",type:"line"},{id:"investorEMA3",type:"line"},{id:"investorEMA4",type:"line"},{id:"investorEMA5",type:"line"},{id:"investorEMA6",type:"line"}],styles:{traderEMA1:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 1"},traderEMA2:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 2"},traderEMA3:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 3"},traderEMA4:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 4"},traderEMA5:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 5"},traderEMA6:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 6"},investorEMA1:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 1"},investorEMA2:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 2"},investorEMA3:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 3"},investorEMA4:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 4"},investorEMA5:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 5"},investorEMA6:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 6"}}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_var(r.Std.close(this._context)),s=this._input(0),n=this._input(1),o=this._input(2),a=this._input(3),l=this._input(4),c=this._input(5),h=r.Std.ema(i,s,this._context),d=r.Std.ema(i,n,this._context),u=r.Std.ema(i,o,this._context),p=r.Std.ema(i,a,this._context),_=r.Std.ema(i,l,this._context),m=r.Std.ema(i,c,this._context),g=this._input(6),f=this._input(7),v=this._input(8),S=this._input(9),y=this._input(10),b=this._input(11);return[h,d,u,p,_,m,r.Std.ema(i,g,this._context),r.Std.ema(i,f,this._context),r.Std.ema(i,v,this._context),r.Std.ema(i,S,this._context),r.Std.ema(i,y,this._context),r.Std.ema(i,b,this._context)]}}}]},28930:(e,t,i)=>{"use strict";var s;i.d(t,{SubsessionId:()=>s}),function(e){e.Regular="regular",e.Extended="extended",e.PreMarket="premarket",e.PostMarket="postmarket"}(s||(s={}))},64326:(e,t,i)=>{"use strict";i.d(t,{PointsetsManager:()=>n});var s=i(29823);const r=(0,i(98125).getLogger)("ChartApi.PointsetsManager");class n{ -constructor(){this._pointsetsDataBySymbol=new Map}destroy(){this._pointsetsDataBySymbol.clear()}createPointset(e,t,i,s,n){let o=this._pointsetsDataBySymbol.get(t);void 0===o&&(o=new Map,this._pointsetsDataBySymbol.set(t,o));const a=[];for(const t of s){const[i,s]=t;"number"!=typeof i||Number.isNaN(i)?r.logWarn(`Pointset time is invalid: id=${e}, ${i} of type ${typeof i}`):a.push({point:t,extrapolation:n.extrapolateTimeWithOffsetToTime(1e3*i,s)})}s.length===a.length&&o.set(e,{resolution:i,points:a})}removePointset(e){const t=[];this._pointsetsDataBySymbol.forEach((i,s)=>{i.delete(e),0===i.size&&t.push(s)});for(const e of t)this._pointsetsDataBySymbol.delete(e)}invalidatePointsetsForSymbol(e,t){const i=this._pointsetsDataBySymbol.get(e);void 0!==i&&i.forEach((e,i)=>{if(s.Interval.isEqual(e.resolution,t))for(const t of e.points)null!==t.extrapolation&&t.extrapolation.exact&&(t.extrapolation.exact=!1)})}getUpdatesForSymbol(e,t,i,s){const r=new Map,n=this._pointsetsDataBySymbol.get(e);return void 0!==n&&n.forEach((e,n)=>{const o=this._refreshPointsetData(e,t,i,s);null!==o&&r.set(n,o)}),r}_refreshPointsetData(e,t,i,n){if(s.Interval.isEqual(e.resolution,t))for(let t=0;t ${t}`),null;o.push({index:i,value:[a.index,a.timeMs/1e3]})}return o}}},34972:(e,t,i)=>{"use strict";i.d(t,{SessionTimeScale:()=>v});var s=i(88537),r=i(67337),n=i(10480),o=i(55257),a=i(65862),l=i(2271),c=i(42934);function h(e){return 60*e*60*1e3}function d(e){return 60*e*1e3}const u=[{divisor:1,weight:18},{divisor:(p=1,1e3*p),weight:19},{divisor:d(1),weight:20},{divisor:d(5),weight:21},{divisor:d(30),weight:22},{divisor:h(1),weight:30},{divisor:h(3),weight:31},{divisor:h(6),weight:32},{divisor:h(12),weight:33}];var p;function _(e,t){if(null!==t){if(e.getUTCFullYear()!==t.getUTCFullYear())return 70;if(e.getUTCMonth()!==t.getUTCMonth())return 60;if(e.getUTCDate()!==t.getUTCDate())return 50;const i=t.getTime(),s=e.getTime();for(let e=u.length-1;e>=0;--e)if(Math.floor(i/u[e].divisor)!==Math.floor(s/u[e].divisor))return u[e].weight}return 18}function m(e,t,i=0){if(0===e.length)return[];let s=i,r=i;const n=[];for(;s=t.length?(n.push({old:s,new:l.INVALID_TIME_POINT_INDEX}),s++):e[s].timeMs===t[r].timeMs?(s!==r&&n.push({old:s,new:r}),s++,r++):e[s].timeMs{if(e.new===t.new&&e.new===l.INVALID_TIME_POINT_INDEX)return e.old-t.old;if(e.new===l.INVALID_TIME_POINT_INDEX)return-1;if(t.new===l.INVALID_TIME_POINT_INDEX)return 1;const i=e.old-e.new,s=t.old-t.new;return i>0?s>0?e.old-t.old:-1:s<0?t.new-e.new:1})}function g(e,t){return{ -span:e.markWeight,time:e.displayTime,index:t}}const f=r.enabled("end_of_period_timescale_marks");class v{constructor(){this._completed=!0,this._mainSymbolExtrapolator=null,this._pointDataByTimePoint=new Map,this._seriesIds=new Set,this._displayTimezone=null,this._minFutureBarsCount=0,this._sortedTimePoints=[]}destroy(){this.clearTimeScale()}setCompleted(e){this._completed=e}isCompleted(){return this._completed}clearTimeScale(){return this._pointDataByTimePoint.clear(),this._seriesIds.clear(),this._sortedTimePoints=[],{baseIndex:null,pointsIndex:0,indexChange:[],marks:[],points:[]}}indexOfTime(e){if(0===this._sortedTimePoints.length)return null===this._mainSymbolExtrapolator?null:this._mainSymbolExtrapolator.indexOfTime(e);if(ethis._sortedTimePoints[this._sortedTimePoints.length-1].timeMs){if(null===this._mainSymbolExtrapolator)return null;const t=this._mainSymbolExtrapolator.indexOfTime(e),i=this._mainSymbolExtrapolator.indexOfTime(this._sortedTimePoints[this._sortedTimePoints.length-1].timeMs);if(null===t||null===i)return null;const s=t.index-i.index-1;return{index:this._sortedTimePoints.length+s,timeMs:t.timeMs}}let t=(0,o.lowerbound)(this._sortedTimePoints,e,(e,t)=>e.timeMs({timeMs:e,markWeight:0,displayTime:NaN}));this._fillPointsData(i,0,0!==this._sortedTimePoints.length?this._sortedTimePoints[this._sortedTimePoints.length-1].displayTime:null);const r=[];for(let t=e;tg(e,i+t));return r.concat(n)}setTimezone(e){this._displayTimezone="exchange"===e?null:(0,n.get_timezone)(e),this._fillPointsData(this._sortedTimePoints,0)}fillIndexesInRows(e){if(0===e.length)return;let t=-1,i=(0,o.lowerbound)(this._sortedTimePoints,Math.round(1e3*e[0].value[0]),(e,t)=>e.timeMse.timeMs{for(;i=this._sortedTimePoints.length){const t=this.indexOfTime(e);if(null===t)return l.INVALID_TIME_POINT_INDEX;i=t.timeMs!==e?t.index+1:t.index}return(0,s.assert)(i>t,"data must have unique sorted times"),t=i,i})}firstSeriesBarTime(){return 0===this._sortedTimePoints.length?null:this._sortedTimePoints[0].timeMs}replaceSeriesBarsTimesTail(e,t){if(0===t.length)return null;if(!this._seriesIds.has(e))return this.setSeriesBarsTimes(e,t);const i=[],s=(0,o.lowerbound)(this._sortedTimePoints,t[0],(e,t)=>e.timeMs({timeMs:e.timeMs,pointData:e.pointData,markWeight:0,displayTime:NaN}));for(let e=s;ee.timeMs-t.timeMs);const a=this._updateTimeScalePointsTail(n);return this._applyTimeScaleChanges(a,!1)}setSeriesBarsTimes(e,t){let i=0!==this._pointDataByTimePoint.size;if(this._seriesIds.has(e))if(1===this._seriesIds.size)i=!1,this._pointDataByTimePoint.clear();else for(const t of this._sortedTimePoints)t.pointData.series.delete(e);this._addBarsTimesToSeries(e,t,!1);const s=this._seriesIds.size;0===t.length?this._seriesIds.delete(e):this._seriesIds.add(e),i&&this._cleanupPointsData(this._sortedTimePoints);const r=sthis._seriesIds.size,o=r&&2===this._seriesIds.size||n&&1===this._seriesIds.size,a=[];this._pointDataByTimePoint.forEach((e,t)=>{a.push({markWeight:0,timeMs:t,displayTime:NaN,pointData:e})}),a.sort((e,t)=>e.timeMs-t.timeMs);const l=this._updateTimeScalePoints(a);return this._applyTimeScaleChanges(l,o)}_updateFutureBars(){if(0===this._minFutureBarsCount||null===this._mainSymbolExtrapolator)return;if(0!==this._sortedTimePoints.length){const e=this._sortedTimePoints[this._sortedTimePoints.length-1].timeMs;this._mainSymbolExtrapolator.ensureExtrapolatedToFutureTime(e)}const e=this._futureBarsFirstPointIndex();this._mainSymbolExtrapolator.setMinFutureBarsCount(e+this._minFutureBarsCount)}_addBarsTimesToSeries(e,t,i){const s=i?[]:null;for(const i of t){const t=this._pointDataByTimePoint.get(i);if(void 0===t){const t=new Set;t.add(e);const r={index:0,series:t};this._pointDataByTimePoint.set(i,r),null!==s&&s.push({timeMs:i,pointData:r})}else t.series.add(e)}return s}_futureBarsFirstPointIndex(){ -if(null===this._mainSymbolExtrapolator||0===this._sortedTimePoints.length)return 0;const e=this._mainSymbolExtrapolator.futureBars();return(0,o.upperbound_int)(e,this._sortedTimePoints[this._sortedTimePoints.length-1].timeMs)}_futureBars(){return null===this._mainSymbolExtrapolator?[]:this._mainSymbolExtrapolator.futureBars().slice(this._futureBarsFirstPointIndex(),this._futureBarsFirstPointIndex()+1e3)}_cleanupPointsData(e){for(const t of e)0===t.pointData.series.size&&this._pointDataByTimePoint.delete(t.timeMs)}_updateTimeScalePoints(e){let t=-1;for(let i=0;ie.timeMs=this._sortedTimePoints.length)continue;this._sortedTimePoints[n].timeMs!==r.timeMs&&-1===i&&(i=n)}const s=t+e.length;if(i=S(i,this._sortedTimePoints.length,s),-1===i)return null;this._fillPointsData(e,0,0===t||0===this._sortedTimePoints.length?null:this._sortedTimePoints[t-1].displayTime);const r=m(this._sortedTimePoints.slice(t),e).map(e=>({old:e.old+t,new:e.new===l.INVALID_TIME_POINT_INDEX?e.new:e.new+t}));{const i=this._sortedTimePoints;let r=0;for(;t+r1&&null===i){const t=Math.ceil(n/(e.length-1)),i=new Date(1e3*(e[0].displayTime-t));e[0].markWeight=_(new Date(1e3*e[0].displayTime),i)}}(e,t,i)}_applyTimeScaleChanges(e,t){if(null===e)return t?(this._fillPointsData(this._sortedTimePoints,0),{points:[],pointsIndex:0,baseIndex:this._getBaseIndex(),indexChange:[],marks:this.tickMarks(0)}):null;let i=e.pointsIndex;if(0!==i&&t&&(this._fillPointsData(this._sortedTimePoints,0),i=0),0===this._sortedTimePoints.length)return{baseIndex:null,pointsIndex:0,indexChange:[],marks:[],points:[]};const s=[];for(let t=e.pointsIndex;t{"use strict";var s=i(41728),r=i(216),n=i(37750),o=i(66482).SymbolExtrapolator,a=i(34972).SessionTimeScale,l=i(64326).PointsetsManager,c=i(69177),h=i(65862).createDwmAligner,d=i(29823).Interval,u=i(76422),p=i(45415).visitObject,_=i(80643).isObject;i(27595),i(84093);var m=i(41986).DatafeedRequestsCachedProcessor,g=i(39277).timezoneIsAvailable,f=i(65862).isAlignmentEnabled,v=i(19234),S=v.isEncodedExtendedSymbol,y=v.decodeExtendedSymbol,b=i(37667).extractSymbolNameFromSymbolInfo,w=i(79283).replaceGraphicsTimesWithTimePointIndexIndex,C=i(67337),P=i(28930).SubsessionId,T=i(69177).getPeriodsBetweenDates;const x=C.enabled("pre_post_market_sessions");function I(e){var t=e.findIndex((function(e){return-5e6!==e.index}));return-1===t?[]:0===t?e:e.slice(t)}function M(e,t){return e+"_"+t}var L=function(e){var t=this;this._studiesCache={},this._objectsDataCache={},this._studiesNonSeriesTimes={},this._metainfoCache=[],this._barsCoefficientsCache={},this._externalDatafeed=e,e.getVolumeProfileResolutionForPeriod&&r.overwriteVolumeProfileResolutionForPeriodGetter((function(t,i,s,r){return e.getVolumeProfileResolutionForPeriod(t,i,s,r)})),this._datafeedConfiguration=null,this._marketStatusWatchers={},this._resolveRequests={},this._resolvePromisesBySymbolId=new Map,this._symbolIdToSymbolRequestString=new Map,this._callbacks={},this._serverTimeOffset=0,t._logMessage("Datafeed settings received: {0}".format(JSON.stringify(window.configurationData))),t._datafeedConfiguration=t._adoptConfigurationData(window.configurationData),t._fireEvent("configuration_received"),t._externalDatafeed.getServerTime&&t._externalDatafeed.getServerTime((function(e){t._serverTimeOffset=e-(new Date).valueOf()/1e3})),this._invalidatedPointsetSessions=new Set,this._refreshPointsetsTimerId=null,this._pointsetsManagers={},this._quotesInfo=[],this._depthInfo=[],this._endOfData={},this._computeStudyCounter=0,this._symbolExtrapolators={},this._timeScales={},this._cachedDatafeed=new m(e,this.serverTimeOffset.bind(this),this._datafeedConfiguration.reset_cache_timeout),n.setupFeed({resolve:function(e,i,s,r){t._resolveSymbolByName(e,i,s,r)},subscribe:function(e,i,s,r,n){return t._cachedDatafeed.subscribe(e,i,s,function(e,i,s){ -var r=new c.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections),n=c.newBarBuilder(i,r,r);return function(e){if(e&&e.count()){var i=1e3*t.getCurrentUTCTime();n.moveTo(i),n.indexOfBar(i)>=0&&e.setLastBarClosed(!1)}s(e)}}(e,i,r),n)},unsubscribe:function(e){return t._cachedDatafeed.unsubscribe(e)}})};function A(e,t){return e+"_"+t}function E(e,t,i,s){return e+(t?"_#_"+t:"")+(i?"_#_"+i:"")+(s?"_#_"+s:"")}L.prototype._getSymbolExtrapolator=function(e,t,i){var s=d.normalize(i),r=function(e,t,i){const s=void 0!==t.subsession_id?","+t.subsession_id:"";return e+","+t.full_name+","+i+s}(e,t,s),n=this._symbolExtrapolators[r];return void 0===n&&(n=new o(t,s),this._symbolExtrapolators[r]=n),n},L.prototype._barsCoefficients=function(e,t){if(void 0===y(e).type)return{};var i=e+t;return this._barsCoefficientsCache[i]||(this._barsCoefficientsCache[i]={}),this._barsCoefficientsCache[i]},L.prototype.destroy=function(){this._cachedDatafeed.destroy(),this._externalDatafeed=null,Object.keys(this._pointsetsManagers).forEach((function(e){this._pointsetsManagers[e].destroy()}),this),this._pointsetsManagers={}},L.prototype.purgeCache=function(){this._endOfData={},this._resolveRequests={},this._objectsDataCache={},this._studiesNonSeriesTimes={},this._studiesCache={},this._resolvePromisesBySymbolId.clear(),this._symbolIdToSymbolRequestString.clear(),Object.keys(this._pointsetsManagers).forEach((function(e){this._pointsetsManagers[e].destroy()}),this),this._pointsetsManagers={},Object.keys(this._timeScales).forEach((function(e){this._timeScales[e].destroy()}),this),this._timeScales={},Object.keys(this._symbolExtrapolators).forEach((function(e){this._symbolExtrapolators[e].destroy()}),this),this._symbolExtrapolators={}},L.prototype.purgeDataCache=function(){this._cachedDatafeed.purgeCache()},L.prototype._logMessage=function(e){C.enabled("charting_library_debug_mode")&&console.log(e)},L.prototype.on=function(e,t){return this._callbacks.hasOwnProperty(e)||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},L.prototype._fireEvent=function(e,t,i){if(this._callbacks.hasOwnProperty(e)){for(var s=this._callbacks[e],r=0;r_[a].timeMs;l?_.push({index:g(s,_.length),value:[s/1e3].concat(r),timeMs:s}):(_[a].index=g(s,a),_[a].value=[s/1e3].concat(r),_[a].timeMs=s),p||u.onRealtimeCallback([_[_.length-1]],l,_.length,v,i)}(e,t,i)},nonseriesOut:function(e,t){u.onNonSeriesDataUpdate(t,i)},setNoMoreData:function(){S=!0},recalc:function(e,s){p=!1,_.endOfData=S,_.emptyBarCount=s.emptyBarCount,t.error&&null!==t.error()||(null!==l&&(y._objectsDataCache[l]=_),u.onDataReadyCallback(_,v,i,s))}});if(!y._studiesCache[e]||!y._studiesCache[e][n])throw Error("This should never happen");y._studiesCache[e][n].engine=w}catch(e){if(!e.studyError)throw e;u.onErrorCallback(e.message)}}else u.onErrorCallback("Unsupported resolution. Did you forget to set has_intraday to true?")}(w,P)},L.prototype._createStudy=function(e,t,i,s,r,n,o,a){var l=this;function c(e,t,i){e=I(e),l._timeScales[s].fillIndexesInRows(e),TradingView.ChartapiMessagerInstances[s].onDataUpdate(r,n,e,t),TradingView.ChartapiMessagerInstances[s].onStudyCompleted(r,n)}function h(e){var t={};if(0!==e.size){var i={},n=l._studiesCache[s][r].metainfo;e.forEach((function(e,t){i[n.plots[t].id]=e})),t.data={offsets:i}}return t}a=function(e){if(Array.isArray(e))return e;for(var t=[],i=l._studiesCache[s][r].metainfo.inputs,n=0;n=0},L.prototype.ensureExtendedTo=function(e,t,i){if(!this._studiesCache[t][e])throw Error("This should never happen");var s=this;setTimeout((function(){s._recreateSourcesForDataRange(t,{to:i})}),0)},L.prototype.extendSeriesRange=function(e,t){var i=this._timeScales[e].firstSeriesBarTime();if(null!==i){var s=this._mainSeriesRecord(e);if(d.isDWM(s.resolution)&&null!=s.symbolInfo){var r=h(s.resolution,s.symbolInfo);null!==r&&(i=r.timeToExchangeTradingDay(i))}var n=this._symbolIdToSymbolRequestString.get(M(e,s.symbolId)),o=this._barsCoefficients(n,s.resolution),a=o.barsCoefficient||1;if(!o.barsCoefficient){var l=this._getSeriesData(e,s.guid);null!==l&&(o.expectedBarsCount=l.length+t)}var c=this;setTimeout((function(){c._recreateSourcesForDataRange(e,{to:i,countBack:(t+2)*a})}),0)}else this._logMessage("Nothing to extend - there is no points on time scale")},L.prototype.seriesTurnaround=function(e,t){return this._studiesCache[e]&&this._studiesCache[e][t]&&this._studiesCache[e][t].turnaround},L.prototype._seriesDataRange=function(e,t){var i=this._studiesCache[e][t];return null!==i.firstLoadedTimeMs?{ -to:i.firstLoadedTimeMs,countBack:0}:i.dataRange},L.prototype._applyTimeScaleUpdate=function(e,t){if(null!==t){var i=[];for(var s in this._studiesCache[e]){var r=this._studiesCache[e][s];if(r&&"study"===r.type){var n=this._studiesNonSeriesTimes[e][s];if(n){var o={indexes:this._timeScales[e].convertTimesToIndexes(n),data:{indexes_replace:!0}};i.push({objId:s,turnaround:r.turnaround,data:[],nonSeriesData:o})}}}TradingView.ChartapiMessagerInstances[e].onTimescaleUpdate(t,i),Promise.resolve().then(function(){var t=this._mainSeriesRecord(e);if(null!==t&&null!=t.symbolInfo){var i=this._getSymbolExtrapolator(e,t.symbolInfo,t.resolution);this._pointsetsManagers[e].getUpdatesForSymbol(t.symbolInfo.full_name,t.resolution,i,this._timeScales[e]).forEach((function(t,i){TradingView.ChartapiMessagerInstances[e].onPointsetDataUpdate(i,null,t)}))}}.bind(this))}},L.prototype._updateMainTsBuilder=function(e){var t=this._mainSeriesRecord(e);if(null!==t&&null!=t.symbolInfo){var i=this._getSymbolExtrapolator(e,t.symbolInfo,t.resolution);this._timeScales[e].setMainSymbolExtrapolator(i)}},L.prototype._updateTimeScaleState=function(e){var t=!0,i=!0;for(var s in this._studiesCache[e]){var r=this._studiesCache[e][s];"series"===r.type&&(i=i&&this._isEndOfData(e,s,r.turnaround),t=t&&r.completed)}this._timeScales[e].isCompleted()!==t&&(this._timeScales[e].setCompleted(t),t&&TradingView.ChartapiMessagerInstances[e].onTimescaleCompleted(i))},L.prototype._mainSeriesRecord=function(e){var t=null,i=null;for(var s in this._studiesCache[e]){var r=this._studiesCache[e][s];if("series"===r.type&&(null===t&&(t=r),r.isMain)){i=r;break}}return null===i&&(i=t),null!==i&&(i.isMain=!0),i},L.prototype._seriesCount=function(e){var t=0;for(var i in this._studiesCache[e]){"series"===this._studiesCache[e][i].type&&(t+=1)}return t},L.prototype._prepareSeriesNonSeriesData=function(e,t,i){var s=i.data[i.data.length-1],r=this._getSeriesData(e,t),n=null===r?[]:i.data;return{data:{data:{reversalAmount:i.reversalAmount,boxSize:i.boxSize,price:s?s[4]:i.price,bars:n.map((function(e,t){return{time:t,open:e[1],high:e[2],low:e[3],close:e[4],volume:e[5],factor:e[6],additionalPrice:e[6]}}))}},indexes:this._timeScales[e].convertTimesToIndexes(n.map((function(e){var t=e[0]||0;return t<0?r[r.length+t].timeMs:i.projectionTime+t})))}},L.prototype.createSeries=function(e,t,i,s,n,o,a){this._setEndOfData(e,t,i,!1);var l=new r.OHLCV;this._studiesCache[e]=this._studiesCache[e]||{};var c=this._getSeriesData(e,t),h=this._studiesCache[e][t],u=this._seriesCount(e),p=this._mainSeriesRecord(e);if(!h||d.isEqual(h.resolution,n)&&h.symbolId===s)void 0!==o.countBack&&null!==c&&0!==c.length&&(o.to=c[0].timeMs),h&&null!=h.firstLoadedTimeMs?o.to=void 0!==o.to?Math.min(h.firstLoadedTimeMs,o.to):h.firstLoadedTimeMs:h||0===u||null!==p&&(null!=p.firstLoadedTimeMs?(o.to=p.firstLoadedTimeMs,o.countBack=0):o=Object.assign({},p.dataRange));else if(1===u)o=Object.assign({},h.initialDatarange);else{var _=this._timeScales[e].firstSeriesBarTime();(void 0===o.to||null!==_&&_{"use strict";i.d(t,{SymbolExtrapolator:()=>c});var s=i(88537),r=i(55257),n=i(69177),o=i(11075),a=i(29823);function l(e,t){return e.length>t}class c{constructor(e,t,i=2e5){this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._projectionFirstIndex=1/0,this._barsTimes=[],this._minFutureBarsCount=0,this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._symbolInfo=e,this._interval=a.Interval.parse(t),this._extrapolateLimit=i,this._barBuilder=(0,n.newBarBuilder)(t,new n.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections),null)}destroy(){this.clear()}interval(){return this._interval}barBuilder(){return this._barBuilder}symbolInfo(){return this._symbolInfo}clear(){this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._barsTimes=[],this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._minFutureBarsCount=0,this._projectionFirstIndex=1/0}firstFutureBarIndex(){return this._barsTimes.length}futureBars(){return this._futureBarsCache}replaceBarsTimesTail(e,t=e.length){if(0===e.length)return;if(0===this._barsTimes.length)return void this.setBarsTimes(e,t);const i=e[0],n=this._barsTimes[this._barsTimes.length-1],o=i>n?this._barsTimes.length:(0,r.lowerbound_int)(this._barsTimes,i);0!==o?(this._barsTimes.splice(o,this._barsTimes.length,...e),this._projectionFirstIndex=t===e.length?this._barsTimes.length:this._barsTimes.indexOf(e[t]),(0,s.assert)(-1!==this._projectionFirstIndex,"something went wrong"),n!==e[e.length-1]&&this._setLastRealBarTime(e[e.length-1])):this.setBarsTimes(e,t)}setBarsTimes(e,t=e.length){const i=this._barsTimes;if(this._barsTimes=e.slice(),this._projectionFirstIndex=0===this._barsTimes.length?1/0:t,0===e.length)return this._historyBarsCache=[],this._futureBarsCache=[],this._firstRealBarTimeMs=null,void(this._lastRealBarTimeMs=null);0!==i.length&&i[i.length-1]===e[e.length-1]||this._setLastRealBarTime(e[e.length-1]),0!==i.length&&i[0]===e[0]||(this._historyBarsCache=[],this._firstRealBarTimeMs=e[0])}extrapolateTimeWithOffsetToTime(e,t){if(0===t)return{timeMs:e,exact:!0} -;0===this._barsTimes.length&&(t<0?null===this._firstRealBarTimeMs?this._firstRealBarTimeMs=e:(this._extendHistoryCacheToTimeFromRight(Math.min(e,null!==this._lastRealBarTimeMs?this._lastRealBarTimeMs:1/0)),this._ensureExtrapolatedToHistoryTime(e)):null===this._lastRealBarTimeMs?this._lastRealBarTimeMs=e:(this._extendFutureCacheToTimeFromLeft(Math.max(e,null!==this._firstRealBarTimeMs?this._firstRealBarTimeMs:1/0)),this._ensureExtrapolatedToFutureTime(e)));const i=this.indexOfTime(e);if(null===i)return null;const s=this._timeOfBarIndex(i.index+t);return null===s?null:((i.index<0||this._projectionFirstIndex<=i.index)&&(s.exact=!1),s)}indexOfTime(e){if(null!==this._firstRealBarTimeMs&&ethis._lastRealBarTimeMs){this._ensureExtrapolatedToFutureTime(e);let t=(0,r.lowerbound_int)(this._futureBarsCache,e);if(0!==this._futureBarsCache.length&&t===this._futureBarsCache.length&&e>this._futureBarsCache[this._futureBarsCache.length-1])return null;this._futureBarsCache[t]!==e&&(t-=1);const i=Math.max(1,this._barsTimes.length)+t;return{index:i,timeMs:i===this._barsTimes.length-1?(0,s.ensureNotNull)(this._lastRealBarTimeMs):this._futureBarsCache[t]}}if(0===this._barsTimes.length)return null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||null!==this._lastRealBarTimeMs&&e<=this._lastRealBarTimeMs?{index:0,timeMs:(0,s.ensureNotNull)(this._timeOfBarIndex(0)).timeMs}:null;let t=(0,r.lowerbound_int)(this._barsTimes,e);return this._barsTimes[t]!==e&&(t-=1),{index:t,timeMs:this._barsTimes[t]}}setMinFutureBarsCount(e){this._minFutureBarsCount=e,0!==this._barsTimes.length&&this._ensureExtrapolatedToFutureBar(e)}ensureExtrapolatedToFutureTime(e){this._ensureExtrapolatedToFutureTime(e)}_setLastRealBarTime(e){const t=this._futureBarsCache.length,i=(0,r.upperbound_int)(this._futureBarsCache,e);0===i?this._extendFutureCacheToTimeFromLeft(e):(this._lastRealBarTimeMs=e,this._futureBarsCache=this._futureBarsCache.slice(i)),this._ensureExtrapolatedToFutureBar(Math.max(t,this._minFutureBarsCount))}_timeOfBarIndex(e){var t;if(e<0){const t=Math.abs(e);this._ensureExtrapolatedToHistoryBar(t);const i=this._historyBarsCache.length-t;return i<0?null:{timeMs:this._historyBarsCache[i],exact:!1}}if(0===e&&0===this._barsTimes.length)return{timeMs:(0,s.ensureNotNull)(null!==(t=this._firstRealBarTimeMs)&&void 0!==t?t:this._lastRealBarTimeMs),exact:!1};if(e>=this._barsTimes.length){const t=e-Math.max(1,this._barsTimes.length);return this._ensureExtrapolatedToFutureBar(t+1),t>=this._futureBarsCache.length?null:{timeMs:this._futureBarsCache[t],exact:!1}}return{timeMs:this._barsTimes[e],exact:e=e)return;if((0,s.assert)(0===this._barsTimes.length,"bars should be empty"),this._firstRealBarTimeMs=e,0===this._historyBarsCache.length)return;const t=(0,o.extrapolateBarsFrontToTime)(this._barBuilder,this._historyBarsCache[this._historyBarsCache.length-1],e-1,this._extrapolateLimit,!0).times;this._historyBarsCache=this._historyBarsCache.concat(t)}_ensureExtrapolatedToFutureBar(e){return!(this._futureBarsCache.length>=e||l(this._futureBarsCache,this._extrapolateLimit))&&this._extendFutureCacheFromRight((t,i)=>(0,o.extrapolateBarsFrontByCount)(this._barBuilder,t,e-i,!0).times)}_ensureExtrapolatedToFutureTime(e){null!==this._lastRealBarTimeMs&&this._lastRealBarTimeMs>=e||l(this._futureBarsCache,this._extrapolateLimit)||0!==this._futureBarsCache.length&&this._futureBarsCache[this._futureBarsCache.length-1]>=e||(this._extendFutureCacheFromRight((t,i)=>(0,o.extrapolateBarsFrontToTime)(this._barBuilder,t,e,this._extrapolateLimit,!0).times),this._futureBarsCache[this._futureBarsCache.length-1]=e||l(this._historyBarsCache,this._extrapolateLimit)||this._extendHistoryCacheFromLeft((t,i)=>(0,o.extrapolateBarsFrontByCount)(this._barBuilder,t,-(e-i),!0).times.reverse())}_ensureExtrapolatedToHistoryTime(e){null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||l(this._historyBarsCache,this._extrapolateLimit)||0!==this._historyBarsCache.length&&this._historyBarsCache[0]<=e||(this._extendHistoryCacheFromLeft((t,i)=>{const s=(0,o.extrapolateBarsFrontToTime)(this._barBuilder,t-1,e-1,this._extrapolateLimit,!0).times;return s[s.length-1]===t?s.slice(0,-1):s}),(0===this._historyBarsCache.length||this._historyBarsCache[0]>e)&&this._ensureExtrapolatedToHistoryBar(this._historyBarsCache.length+1))}}},43007:(e,t,i)=>{"use strict";i.d(t,{backend:()=>s});const s=i(17437)},73383:(e,t,i)=>{"use strict";var s,r;function n(e,t){ -return"period-back"===e.type&&"period-back"===t.type?e.value===t.value:"time-range"===e.type&&"time-range"===t.type&&(e.from===t.from&&e.to===t.to)}i.d(t,{TIMEFRAMETYPE:()=>r,areEqualTimeFrames:()=>n}),function(e){e.extractErrorReason=function(e){return e.params[1]}}(s||(s={})),function(e){e.PeriodBack="period-back",e.TimeRange="time-range"}(r||(r={}))},87980:()=>{"use strict";TradingView.Pro=function(){this.hasPackage=function(){return!1}},window.user={is_pro:!1,settings:{}},TradingView.Pro.prototype.isPaidPro=function(){return!1},TradingView.Pro.prototype.isSupportAvailable=function(){return!1},TradingView.Pro.prototype.getProduct=function(){return{}},TradingView.Pro.prototype.getStudiesOrder=function(){return[]}},56910:(e,t,i)=>{"use strict";i.r(t),i.d(t,{QuoteCache:()=>r,QUOTE_FIELDS:()=>n,QUOTE_FIELDS_CACHE:()=>o});var s=i(88537);class r{constructor(e){this._cache=new Map,this._fields=[...e.fields]}update(e,t,i){const r=(0,s.ensureDefined)(e.symbolname);if(this._cache.has(r)||this._cache.set(r,{symbolname:r,status:e.status,values:{}}),"error"===e.status)return;const n=(0,s.ensureDefined)(this._cache.get(r));n.status=e.status;for(const s of this._fields){if(!t.has(s))continue;const r=e.values[s];(i||void 0!==r)&&(n.values[s]=r)}}get(e){var t;return null!==(t=this._cache.get(e))&&void 0!==t?t:null}fields(){return this._fields}}const n=new Set(["pro_name","logoid","currency-logoid","base-currency-logoid","short_name","description","exchange","type","country_code","provider_id","sector","type","industry","currency_id","last_price","fractional","minmov","minmove2","pricescale","change","change_percent","volume","average_volume","market_cap_basic","total_revenue","earnings_per_share_basic_ttm","price_earnings_ttm","beta_1_year","dps_common_stock_prim_issue_fy","dividends_yield","earnings_release_next_date","earnings_per_share_forecast_next_fq","earnings_release_date","earnings_per_share_fq","fundamental_currency_code","symbol-primaryname","update_mode"]),o=new r({fields:n})},39138:(e,t,i)=>{"use strict";i.d(t,{getQuoteSessionInstance:()=>o,destroyQuoteSessions:()=>a});var s=i(87467),r=i.n(s);const n={};function o(e="full"){return n[e]||function(e="full",t){n[e]=t}(e,new(r())(e)),n[e]}function a(){for(const e in n)if(n.hasOwnProperty(e)){const t=n[e];void 0!==t&&t.destroy(),delete n[e]}}},67311:(e,t,i)=>{"use strict";i.d(t,{QuoteSession:()=>r});var s=i(9423);class r{constructor(e,t=(0,s.randomHash)()){this._sessionstarted=!1,this._globalHandler=null,this._chartApi=e,this._sessionid="qs_"+t}destroy(){this._sessionstarted&&(this._chartApi.quoteDeleteSession(this._sessionid),this._sessionstarted=!1)}connected(){return this._chartApi.connected()}connect(e){this._globalHandler=e,this._chartApi.createSession(this._sessionid,this),this._chartApi.connect()}disconnect(){this._chartApi.disconnect()}quoteAddSymbols(e){this._chartApi.quoteAddSymbols(this._sessionid,e)}quoteRemoveSymbols(e){this._chartApi.quoteRemoveSymbols(this._sessionid,e)}quoteFastSymbols(e){this._chartApi.quoteFastSymbols(this._sessionid,e)}quoteSetFields(e){ -this._chartApi.quoteSetFields(this._sessionid,e)}onMessage(e){var t;switch(e.method){case"connected":this._sessionstarted||(this._chartApi.quoteCreateSession(this._sessionid),this._sessionstarted=!0);break;case"disconnected":this._sessionstarted=!1}null===(t=this._globalHandler)||void 0===t||t.call(this,e)}quoteHibernateAll(){this._chartApi.quoteHibernateAll(this._sessionid)}}window.TradingView.QuoteSession=r},87467:(e,t,i)=>{"use strict";e=i.nmd(e);var s=i(2872),r=i(43370).default,n=i(4889).default,o=i(97098).PriceFormatter;const{uniq:a}=i(96397);var l=i(9423),c=i(5370).parseUpdateMode,h=i(15840).deepExtend;const{QUOTE_FIELDS_CACHE:d,QUOTE_FIELDS:u}=i(56910);var p;function _(e,t){this.options=Object.assign({throttleTimeout:125},t),this._connected=!1,this._symbol_data={},this._subscriptions={},this.onConnect=new s,this.onDisconnect=new s,this._quoteApi=new p(window.ChartApiInstance),this._type=e||"full",this._delayUpdateFastSymbols=n(this._updateFastSymbols,250),this._throttledSymbolData={},this._formatterValuesCache={},this._waitingForFormatters={},this._snapshotValuesCache={},this._waitingForSnapshot={},this.connect()}p=i(67311).QuoteSession,_.prototype.destroy=function(){this._quoteApi.destroy(),this._quoteApi=null,this._connected=!1,this.onDisconnect.fire()},_.prototype.typeFields={},_.prototype.typeFields.simple=["base-currency-logoid","ch","chp","currency-logoid","currency_code","currency_id","base_currency_id","current_session","description","exchange","format","fractional","is_tradable","language","local_description","listed_exchange","logoid","lp","lp_time","minmov","minmove2","original_name","pricescale","pro_name","short_name","type","typespecs","update_mode","volume"],_.prototype.typeFields.simpleDetailed=[].concat(_.prototype.typeFields.simple,["ask","bid","fundamentals","high_price","is_tradable","low_price","open_price","prev_close_price","rch","rchp","rtc","rtc_time","status","basic_eps_net_income","beta_1_year","earnings_per_share_basic_ttm","industry","market_cap_basic","price_earnings_ttm","sector","volume","dividends_yield","timezone"]),_.prototype.typeFields.full=[],_.prototype.typeFields.watchlist=[].concat(_.prototype.typeFields.simple,["rchp","rtc","country_code","provider_id"]),_.prototype.typeFields.portfolio=["pro_name","short_name","exchange","listed_exchange","description","sector","type","typespecs","industry","currency_code","currency_id","ch","chp","logoid","currency-logoid","base-currency-logoid","earnings_per_share_forecast_next_fq","earnings_release_next_date","earnings_release_date","earnings_per_share_fq","lp","fractional","minmov","minmove2","pricescale","volume","average_volume","market_cap_basic","total_revenue","earnings_per_share_basic_ttm","price_earnings_ttm","beta_1_year","dps_common_stock_prim_issue_fy","dividends_yield","fundamental_currency_code","rates_mc","rates_fy","rates_ttm","value_unit_id"],_.prototype.typeFields.notes=["short_name","pro_name","logoid","currency-logoid","base-currency-logoid","symbol-primaryname","type","typespecs"], -_.prototype.connect=function(e){this._quoteApi.connect(this.quoteHandler.bind(this))},_.prototype.quoteHandler=function(e){var t=e.method,i=e.params;switch(t){case"connected":this._connected||(this._connected=!0,this.onConnected());break;case"quote_list_fields":break;case"quote_symbol_data":this._connected&&this.onSymbolData(i[0]);break;case"quote_completed":this._connected&&this.onSymbolData({symbolname:i[0],complete:performance.now(),values:{}});break;case"disconnected":this._connected&&(this._connected=!1,this.onDisconnect.fire())}},_.prototype.onConnected=function(){this.setFields();var e=Object.keys(this._symbol_data);e.length&&(this._quoteApi.quoteAddSymbols(e),this._delayUpdateFastSymbols()),this.onConnect.fire()},_.prototype.setFields=function(){var e=_.prototype.typeFields[this._type];e&&e.length&&this._quoteApi.quoteSetFields(e)},_.prototype.onSymbolData=function(e){try{e.status&&d.update(e,u,!1)}catch(e){}var t=e.symbolname,i=this._throttledSymbolData[t];i||(i=this._throttledSymbolData[t]={fnDispatch:r(this.dipatchSymbolData.bind(this),this.options.throttleTimeout)}),i.cache?h(i.cache,e):i.cache=e,i.fnDispatch(t)},_.prototype._parseUpdateMode=function(e){var t=c(e.update_mode);null!==t&&(e.update_mode=t.mode,e.update_mode_seconds=t.interval)},_.prototype.dipatchSymbolData=function(e){var t=this._symbol_data[e],i=this._throttledSymbolData[e].cache;if(delete this._throttledSymbolData[e].cache,this._symbol_data[e])for(var s in h(t,i),t.values&&this._parseUpdateMode(t.values),this._subscriptions){var r=this._subscriptions[s];r.has(e)&&r.get(e).forEach((function(e){e(t,i)}))}},_.prototype.subscribe=function(e,t,i){this._subscriptions[e]=this._subscriptions[e]||new Map;var s=this._subscriptions[e];t=[].concat(t);var r=[];t.forEach((function(e){this._symbol_data[e]?s&&s.has(e)||this._symbol_data[e].subscribers_count++:(this._symbol_data[e]={subscribers_count:1},r.push(e)),s.has(e)||s.set(e,[]),s.get(e).push(i),s.get(e).fast=!0,this._symbol_data[e]&&this._symbol_data[e].values&&i(this._symbol_data[e],this._symbol_data[e])}),this),r.length&&this._connected&&(this._quoteApi.quoteAddSymbols(r),this._delayUpdateFastSymbols())},_.prototype.unsubscribe=function(e,t,i){t=[].concat(t);for(var s=this._subscriptions[e],r=[],n=0;n{"use strict";function s(e,t,i){const s=e.get(t);return void 0!==s?s:(e.set(t,i),i)}function r(e,t,i){const s=e.get(t);if(void 0!==s)return s;const r=i();return e.set(t,r),r}function n(e,t,i,n){return r(s(e,t,new Map),i,n)}function o(e,t,i,r,n){const o=s(e,t,new Map),a=s(o,i,new Map);return s(a,r,n)}i.d(t,{getDefault2Lazy:()=>n,getDefault3:()=>o,AbstractMapContainer:()=>a});class a{constructor(){this._map=new Map,this._size=0}size(){return this._size}clear(){this._map.clear(),this._size=0}}},55257:(e,t,i)=>{"use strict";function s(e,t){return e>1,o=s+r;i(e(o),t)?(s=o+1,n-=r+1):n=r}return s}function n(e,t,i,s=0,n=e.length){return r(t=>e[t],t,i,s,n)}function o(e,t,i=0,r=e.length){return n(e,t,s,i,r)}function a(e,t,i,s=0,r=e.length){let n=r-s;for(;0>1,o=s+r;i(t,e[o])?n=r:(s=o+1,n-=r+1)}return s}function l(e,t,i=0,r=e.length){return a(e,t,s,i,r)}function c(e,t){return e.filter(e=>!t.includes(e))}function h(e,t){const i=e.indexOf(t);return i<0?e.slice():[t].concat(e.slice(0,i)).concat(e.slice(i+1))}function d(e,t,i){const s=new Set(t),r=[],n=[],a=[];return e.forEach((e,t)=>{s.has(e)?n.push(e):(r.push(e),a.push(t))}),i=i{s.has(e)?n.push(e):(r.push(e),a.push(t))}),i=i<=e.length-1?o(a,i):r.length, -r.splice(i,0,...n),{newItems:r,movedItemsStartIndex:i}}function p(e,t){const i=new Set;return e.forEach(e=>{t.has(e)&&i.add(e)}),i}i.r(t),i.d(t,{lowerboundExt:()=>r,lowerbound:()=>n,lowerbound_int:()=>o,upperbound:()=>a,upperbound_int:()=>l,subtract:()=>c,moveToHead:()=>h,moveAfter:()=>d,moveBefore:()=>u,intersect:()=>p})},10480:(e,t,i)=>{"use strict";var s=i(84917),r=i(84296).tzData;function n(e){this._name=e;var t=r[e];if(t||(t={time:[],offset:[]},this._invalid=!0),t.time.length!==t.offset.length&&(t={time:[],offset:[]},this._invalid=!0),!t.time_utc){for(var i=t.time,s=t.offset,n=i.length,o=new Array(n),a=0;at){if((r=n-1)0&&e-t[s-1]<=r)return r;return 0},n.prototype.is_valid=function(){return!this._invalid},n._offset=function(e,t,i){var s=o(e,i);return-1===s?0:t[s]};var a=function(e){return 0|e},l=function(e){return 60*e*1e3},c=function(e,t){return h(e)-h(t)},h=function(e){return e<0?a(e/1e3)-(e%1e3!=0?1:0):a(e/1e3)};function d(e){return e%4==0&&(e%100!=0||e%400==0)}var u={0:0,1:31,2:59,3:90,4:120,5:151,6:181,7:212,8:243,9:273,10:304,11:334},p={...s.WeekDays,...s.Months,YEAR:1,MONTH:2,WEEK_OF_YEAR:3,DAY_OF_MONTH:5,DAY_OF_YEAR:6,DAY_OF_WEEK:7,HOUR_OF_DAY:11,MINUTE:12,SECOND:13,minutesPerDay:1440,millisecondsPerDay:l(1440),get_minutes_from_hhmm:function(e){return-1!==e.indexOf(":")&&(e=e.split(":").join("")),e%100+60*a(e/100)},get_year:function(e){return e.getUTCFullYear()},get_month:function(e){return e.getUTCMonth()},get_hours:function(e){return e.getUTCHours()},get_minutes:function(e){return e.getUTCMinutes()},get_seconds:function(e){return e.getUTCSeconds()},get_day_of_month:function(e){return e.getUTCDate()},get_day_of_week:function(e){return e.getUTCDay()+1},get_day_of_year:function(e){var t=e.getUTCMonth(),i=u[t];return t>p.JANUARY+1&&d(e.getUTCFullYear())&&(i+=1),i+e.getUTCDate()},get_week_of_year:function(e){var t=new Date(Date.UTC(e.getUTCFullYear(),0,1)).getUTCDay(),i=0===t?1:8-t,s=p.get_day_of_year(e)-i;return Math.ceil(s/7)+1},get_minutes_from_midnight:function(e){return 60*p.get_hours(e)+p.get_minutes(e)},set_hms:function(e,t,i,s,r,n){e.setUTCHours(t),e.setUTCMinutes(i),e.setUTCSeconds(s),e.setUTCMilliseconds(r),void 0!==n&&p.correct_time(e,n)},correct_time:function(e,t){var i=e.getTime(),s=t.correction_loc(i);e.setTime(i+s)},add_days_considering_dst:function(e,t,i){var s=e.offset_utc(t),r=this.clone(t);this.add_date(r,i);var n=e.offset_utc(r);return r.setTime(r.getTime()+s-n),r},add_date:function(e,t){ -e.setTime(e.getTime()+t*p.millisecondsPerDay)},add_minutes:function(e,t){e.setTime(e.getTime()+l(t))},clone:function(e){return new Date(e.getTime())},get_days_per_year:function(e){var t=e.getUTCFullYear();return this.days_per_year(t)},days_per_year:function(e){return d(e)?366:365},get_days_in_month:function(e,t){let i;switch(e){case 0:case 2:case 4:case 6:case 7:case 9:case 11:i=31;break;case 1:i=28,d(t)&&i++;break;default:i=30}return i},get_part:function(e,t){switch(t){case p.YEAR:return p.get_year(e);case p.MONTH:return p.get_month(e);case p.DAY_OF_MONTH:return p.get_day_of_month(e);case p.WEEK_OF_YEAR:return p.get_week_of_year(e);case p.DAY_OF_WEEK:return p.get_day_of_week(e);case p.HOUR_OF_DAY:return p.get_hours(e);case p.MINUTE:return p.get_minutes(e);case p.DAY_OF_YEAR:return p.get_day_of_year(e);case p.SECOND:return p.get_seconds(e);default:return e.getTime()}},time_minutes:l,time_seconds:function(e){return 1e3*e},time_minutes_diff:function(e,t){return a(c(e,t)/60)},time_seconds_diff:c,utc_to_cal:function(e,t){return new Date(p.utc_to_cal_ts(e,t))},utc_to_cal_ts:function(e,t){return t+e.offset_utc(t)},get_cal:function(e,t,i,s,r,n,o){var a=new Date(Date.UTC(t,i,s,r||0,n||0,o||0)),l=e.offset_utc(+a);return new Date(a.valueOf()-l)},get_cal_from_unix_timestamp_ms:function(e,t){return new Date(t+e.offset_utc(t))},get_cal_utc:function(e,t,i){return new Date(Date.UTC(e,t,i))},cal_to_utc:function(e,t){var i=t.getTime();return i-e.offset_loc(i)},get_timezone:function(e){return new n(e)},shift_day:function(e,t){var i=e-1;return(i+=t)>6?i%=7:i<0&&(i=(7+i%7)%7),i+1}};e.exports=p},43891:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LINESTYLE_SOLID:()=>s,LINESTYLE_DOTTED:()=>r,LINESTYLE_DASHED:()=>n,LINESTYLE_LARGE_DASHED:()=>o,LINESTYLE_SPARSE_DOTTED:()=>a,LINESTYLE_SMALL_DASHED:()=>l});const s=0,r=1,n=2,o=3,a=4,l=5},29892:(e,t,i)=>{"use strict";var s=i(64514),r=s.greaterThan,n=s.lessThan,o=window.CanvasEx=i(43891);o.computeDashPattern=function(e){return[[e.lineWidth,2*e.lineWidth],[5*e.lineWidth,6*e.lineWidth],[6*e.lineWidth,6*e.lineWidth],[e.lineWidth,4*e.lineWidth],[2*e.lineWidth,e.lineWidth]][e.lineStyle-1]},o.drawLine=function(e,t,i,s,r){isFinite(t)&&isFinite(s)&&isFinite(i)&&isFinite(r)&&(e.lineStyle!==o.LINESTYLE_SOLID?o.drawDashedLine(e,t,i,s,r):o.drawSolidLine(e,t,i,s,r))},o.drawArrow=function(e,t,i,s,r,n){if(isFinite(t)&&isFinite(s)&&isFinite(i)&&isFinite(r)){var o=Math.round(n/2),a=t+o,l=s+o;e.beginPath(),e.moveTo(l,r),e.lineTo(a,i),e.moveTo(t,i+o),e.lineTo(a,i),e.lineTo(t+n,i+o),e.stroke()}},o.drawSolidLine=function(e,t,i,s,r){e.beginPath(),e.moveTo(t,i),e.lineTo(s,r),e.stroke()},o.setLineStyle=function(e,t){e.lineStyle=t;var i=[];t!==o.LINESTYLE_SOLID&&(i=o.computeDashPattern(e)),o.setLineDash(e,i)},o.setLineDash=function(e,t){"function"==typeof e.setLineDash?e.setLineDash(t):void 0!==e.mozDash?e.mozDash=t:void 0!==e.webkitLineDash&&(e.webkitLineDash=t)},o.drawPoly=function(e,t,i){e.beginPath(),e.moveTo(t[0].x,t[0].y);for(var s=0;s0&&(c.thereYet=n,c.cap=Math.max),t-s>0&&(l.thereYet=n,l.cap=Math.max),e.moveTo(t,i);for(var h=t,d=i,u=0,p=!0;!l.thereYet(h,s)||!c.thereYet(d,o);){var _=Math.atan2(o-i,s-t),m=a[u];h=l.cap(s,h+Math.cos(_)*m),d=c.cap(o,d+Math.sin(_)*m),p?e.lineTo(h,d):e.moveTo(h,d),u=(u+1)%a.length,p=!p}},o.setFont=function(e,t){if(e.font!==t)try{e.font=t}catch(e){}},"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.setFont=function(e){o.setFont(this,e)},CanvasRenderingContext2D.prototype.lineStyle=o.LINESTYLE_SOLID),e.exports=o},54089:(e,t,i)=>{"use strict";i.d(t,{combineWithFilteredUpdate:()=>o,combine:()=>a});var s=i(52714),r=i.n(s);function n(e,t,...i){const s=(...t)=>e(...t.map(e=>e.value())),n=new(r())(s(...i)),o=()=>{t(...i.map(e=>e.value()))&&n.setValue(s(...i))},a=i.map(e=>e.spawn());for(const e of a)e.subscribe(o);return n.readonly().spawn(()=>a.forEach(e=>e.destroy()))}function o(e,t,...i){return n(e,t,...i)}function a(e,...t){return n(e,()=>!0,...t)}},39277:(e,t,i)=>{"use strict";i.r(t),i.d(t,{availableTimezones:()=>l,timezoneIsAvailable:()=>c,timezoneTitle:()=>h});var s=i(28353),r=i(23095);const n=[{id:"Etc/UTC",title:(0,s.t)("UTC")},{id:"exchange",title:(0,s.t)("Exchange")}],o=[{id:"Africa/Cairo",title:(0,s.t)("Cairo"),offset:0},{id:"Africa/Johannesburg",title:(0,s.t)("Johannesburg"),offset:0},{id:"Africa/Lagos",title:(0,s.t)("Lagos"),offset:0},{id:"America/Argentina/Buenos_Aires",title:(0,s.t)("Buenos Aires"),offset:0},{id:"America/Bogota",title:(0,s.t)("Bogota"),offset:0},{id:"America/Caracas",title:(0,s.t)("Caracas"),offset:0},{id:"America/Chicago",title:(0,s.t)("Chicago"),offset:0},{id:"America/El_Salvador",title:(0,s.t)("San Salvador"),offset:0},{id:"America/Juneau",title:(0,s.t)("Juneau"),offset:0},{id:"America/Lima",title:(0,s.t)("Lima"),offset:0},{id:"America/Los_Angeles",title:(0,s.t)("Los Angeles"),offset:0},{id:"America/Mexico_City",title:(0,s.t)("Mexico City"),offset:0},{id:"America/New_York",title:(0,s.t)("New York"),offset:0},{id:"America/Phoenix",title:(0,s.t)("Phoenix"),offset:0},{id:"America/Santiago",title:(0,s.t)("Santiago"),offset:0},{id:"America/Sao_Paulo",title:(0, -s.t)("Sao Paulo"),offset:0},{id:"America/Toronto",title:(0,s.t)("Toronto"),offset:0},{id:"America/Vancouver",title:(0,s.t)("Vancouver"),offset:0},{id:"US/Mountain",title:(0,s.t)("Denver"),offset:0},{id:"Asia/Almaty",title:(0,s.t)("Almaty"),offset:0},{id:"Asia/Ashkhabad",title:(0,s.t)("Ashgabat"),offset:0},{id:"Asia/Bahrain",title:(0,s.t)("Bahrain"),offset:0},{id:"Asia/Bangkok",title:(0,s.t)("Bangkok"),offset:0},{id:"Asia/Chongqing",title:(0,s.t)("Chongqing"),offset:0},{id:"Asia/Dubai",title:(0,s.t)("Dubai"),offset:0},{id:"Asia/Ho_Chi_Minh",title:(0,s.t)("Ho Chi Minh"),offset:0},{id:"Asia/Hong_Kong",title:(0,s.t)("Hong Kong"),offset:0},{id:"Asia/Jakarta",title:(0,s.t)("Jakarta"),offset:0},{id:"Asia/Jerusalem",title:(0,s.t)("Jerusalem"),offset:0},{id:"Asia/Karachi",title:(0,s.t)("Karachi"),offset:0},{id:"Asia/Kathmandu",title:(0,s.t)("Kathmandu"),offset:0},{id:"Asia/Kolkata",title:(0,s.t)("Kolkata"),offset:0},{id:"Asia/Kuwait",title:(0,s.t)("Kuwait"),offset:0},{id:"Asia/Manila",title:(0,s.t)("Manila"),offset:0},{id:"Asia/Muscat",title:(0,s.t)("Muscat"),offset:0},{id:"Asia/Qatar",title:(0,s.t)("Qatar"),offset:0},{id:"Asia/Riyadh",title:(0,s.t)("Riyadh"),offset:0},{id:"Asia/Seoul",title:(0,s.t)("Seoul"),offset:0},{id:"Asia/Shanghai",title:(0,s.t)("Shanghai"),offset:0},{id:"Asia/Singapore",title:(0,s.t)("Singapore"),offset:0},{id:"Asia/Taipei",title:(0,s.t)("Taipei"),offset:0},{id:"Asia/Tehran",title:(0,s.t)("Tehran"),offset:0},{id:"Asia/Tokyo",title:(0,s.t)("Tokyo"),offset:0},{id:"Atlantic/Reykjavik",title:(0,s.t)("Reykjavik"),offset:0},{id:"Australia/Adelaide",title:(0,s.t)("Adelaide"),offset:0},{id:"Australia/Brisbane",title:(0,s.t)("Brisbane"),offset:0},{id:"Australia/Perth",title:(0,s.t)("Perth"),offset:0},{id:"Australia/Sydney",title:(0,s.t)("Sydney"),offset:0},{id:"Europe/Amsterdam",title:(0,s.t)("Amsterdam"),offset:0},{id:"Europe/Athens",title:(0,s.t)("Athens"),offset:0},{id:"Europe/Belgrade",title:(0,s.t)("Belgrade"),offset:0},{id:"Europe/Berlin",title:(0,s.t)("Berlin"),offset:0},{id:"Europe/Bratislava",title:(0,s.t)("Bratislava"),offset:0},{id:"Europe/Brussels",title:(0,s.t)("Brussels"),offset:0},{id:"Europe/Bucharest",title:(0,s.t)("Bucharest"),offset:0},{id:"Europe/Budapest",title:(0,s.t)("Budapest"),offset:0},{id:"Europe/Copenhagen",title:(0,s.t)("Copenhagen"),offset:0},{id:"Europe/Dublin",title:(0,s.t)("Dublin"),offset:0},{id:"Europe/Helsinki",title:(0,s.t)("Helsinki"),offset:0},{id:"Europe/Istanbul",title:(0,s.t)("Istanbul"),offset:0},{id:"Europe/Lisbon",title:(0,s.t)("Lisbon"),offset:0},{id:"Europe/London",title:(0,s.t)("London"),offset:0},{id:"Europe/Luxembourg",title:(0,s.t)("Luxembourg"),offset:0},{id:"Europe/Madrid",title:(0,s.t)("Madrid"),offset:0},{id:"Europe/Malta",title:(0,s.t)("Malta"),offset:0},{id:"Europe/Moscow",title:(0,s.t)("Moscow"),offset:0},{id:"Europe/Oslo",title:(0,s.t)("Oslo"),offset:0},{id:"Europe/Paris",title:(0,s.t)("Paris"),offset:0},{id:"Europe/Riga",title:(0,s.t)("Riga"),offset:0},{id:"Europe/Rome",title:(0,s.t)("Rome"),offset:0},{id:"Europe/Stockholm",title:(0,s.t)("Stockholm"), -offset:0},{id:"Europe/Tallinn",title:(0,s.t)("Tallinn"),offset:0},{id:"Europe/Vilnius",title:(0,s.t)("Vilnius"),offset:0},{id:"Europe/Warsaw",title:(0,s.t)("Warsaw"),offset:0},{id:"Europe/Zurich",title:(0,s.t)("Zurich"),offset:0},{id:"Pacific/Auckland",title:(0,s.t)("New Zealand"),offset:0},{id:"Pacific/Chatham",title:(0,s.t)("Chatham Islands"),offset:0},{id:"Pacific/Fakaofo",title:(0,s.t)("Tokelau"),offset:0},{id:"Pacific/Honolulu",title:(0,s.t)("Honolulu"),offset:0},{id:"Pacific/Norfolk",title:(0,s.t)("Norfolk Island"),offset:0}],a=o.map(({id:e,title:t})=>{const{string:i,offset:s}=(0,r.parseTzOffset)(e);return{id:e,offset:s,title:`(${i}) ${t}`}}).sort((e,t)=>{const i=e.offset-t.offset;return 0!==i?i:e.title.localeCompare(t.title)}),l=n.concat(a);function c(e){for(let t=0;t{"use strict";e=i.nmd(e);const s=i(98125).getLogger("Common.Delegate");function r(){this._listeners=[]}function n(e){return!e.singleshot}r.prototype.subscribe=function(e,t,i){const s={object:e,member:t,singleshot:!!i,skip:!1};this._listeners.push(s)},r.prototype.unsubscribe=function(e,t){for(let i=0;i=0;--t){const i=this._listeners[t];i.object===e&&(i.skip=!0,this._listeners.splice(t,1))}},r.prototype.destroy=function(){delete this._listeners},r.prototype.fire=function(){const e=this._listeners;this._listeners=this._listeners.filter(n);const t=e.length;for(let i=0;i{"use strict";function s(e,t){return e<=t}function r(e,t){return e>=t}function n(e,t,i){return Math.min(Math.max(e,t),i)}function o(e){return e<0?-1:e>0?1:0}function a(e){if(e<0)return!1;for(let t=e;t>1;t/=10)if(t%10!=0)return!1;return!0}function l(e,t,i){return t-e<=i}function c(e,t,i){return Math.abs(e-t)t?1:0}function u(e,t=d){if(e.length<1)throw Error("array is empty");let i=e[0];for(let s=0;s0&&(i=e[s]);return i}function _(e){const t=Math.ceil(e);return t%2!=0?t-1:t}function m(e){return e>0?Math.floor(e):Math.ceil(e)}i.r(t),i.d(t,{lessThan:()=>s,greaterThan:()=>r,clamp:()=>n,sign:()=>o,isBaseDecimal:()=>a,greaterOrEqual:()=>l,equal:()=>c,log10:()=>h,defComparator:()=>d,min:()=>u,max:()=>p,ceiledEven:()=>_,toInt:()=>m})},23095:(e,t,i)=>{"use strict";i.d(t,{parseTzOffset:()=>r});var s=i(10480);function r(e,t=Date.now()){const i=(0, -s.get_timezone)(e).offset_utc(t);let r="";const n=i/1e3/60/60;n%1&&(r=":"+n%1*60);let o="";return o=n>0?"+"+(n-n%1)+r:0===n?"":String(n-n%1+r),{offset:i,string:"UTC"+o}}},82029:(e,t,i)=>{"use strict";var s=i(67337),r=[{d:"E-Mini S&P 500",t:"ES"},{d:"E-Mini Nasdaq 100",t:"NQ"},{d:"Gold",t:"GC"},{d:"Silver",t:"SI"},{d:"Crude Oil WTI",t:"CL"},{d:"Natural Gas",t:"NG"},{d:"Australian Dollar",t:"6A"},{d:"Australian Dollar (Floor)",t:"AD"},{d:"Euro FX",t:"6E"},{d:"Euro FX (Floor)",t:"EC"},{d:"Corn",t:"ZC"},{d:"Corn (Floor)",t:"C"},{d:"Eurodollar",t:"GE"},{d:"Eurodollar (Floor)",t:"ED"}],n=function(){var e=[{pattern:"(",ctor:o},{pattern:")",ctor:a},{pattern:"+",ctor:c},{pattern:"-",ctor:h},{pattern:"*",ctor:d},{pattern:"/",ctor:u},{pattern:"^",ctor:p},{pattern:/\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))|\.\d+/,ctor:f},{pattern:/\./,ctor:y},{pattern:s.enabled("charting_library_base")?/[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF^][a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!:.&]*|'.+?'/:/[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF][a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!|:.&]*|'.+?'/,ctor:g},{pattern:/'[^']*/,ctor:S},{pattern:/[\0-\x20\s]+/,ctor:n}];function t(e,t){var i=function(){};return i.prototype=t.prototype,e.prototype=new i,e}function i(){}function n(e){this.value=e}function o(){}function a(){}function l(){}function c(){}function h(){}function d(){}function u(){}function p(){}i.prototype.toString=function(){return this.value},t(n,i),t(o,i),o.prototype.value="(",t(a,i),a.prototype.value=")",t(l,i),t(c,l),c.prototype.value="+",c.prototype.precedence=0,c.prototype.commutative=!0,t(h,l),h.prototype.value="-",h.prototype.precedence=0,h.prototype.commutative=!1,t(d,l),d.prototype.value="*",d.prototype.precedence=1,d.prototype.commutative=!0,t(u,l),u.prototype.value="/",u.prototype.precedence=1,u.prototype.commutative=!1,t(p,l),p.prototype.value="^",p.prototype.precedence=2,p.prototype.commutative=!1;var _=/^'?(?:([A-Z0-9_]+):)?(.*?)'?$/i,m=/[+\-/*]/;function g(e){this.value=e}function f(e){this.value=e}function v(e){this.value=e}function S(){g.apply(this,arguments)}function y(){f.apply(this,arguments)}t(g,i),g.prototype.toString=function(){if(this.hasOwnProperty("_ticker")){var e=m.test(this._ticker)?"'":"";return e+(this._exchange?this._exchange+":":"")+this._ticker+e}return this.value},g.prototype.parse=function(){var e=_.exec(this.value);e[1]&&(this._exchange=e[1]),this._ticker=e[2]},g.prototype.parseAsFutures=function(){this.hasOwnProperty("_ticker")||this.parse();for(var e=function(e){return r.some((function(t){return t.t===e}))},t=2;t>=1;--t){var i=this._ticker.slice(0,t);if(e(i)){this._root=i,this._contract=this._ticker.slice(t);break}}},g.prototype.exchange=function(e){if(this.hasOwnProperty("_ticker")||this.parse(),!(arguments.length>0))return this._exchange;null==e?delete this._exchange:this._exchange=e+""},g.prototype.ticker=function(e){if(this.hasOwnProperty("_ticker")||this.parse(),!(arguments.length>0))return this._ticker;null==e?delete this._ticker:this._ticker=e+"",delete this._root,delete this._contract}, -g.prototype.root=function(e){if(this.hasOwnProperty("_root")||this.parseAsFutures(),!(arguments.length>0))return this._root;null==e?delete this._root:(this._root=e+"",this._root&&(this._ticker=this._root+(this._contract||"")))},g.prototype.contract=function(e){if(this.hasOwnProperty("_contract")||this.parseAsFutures(),!(arguments.length>0))return this._root;null==e?delete this._contract:(this._contract=e+"",this._root&&(this._ticker=this._root+this._contract))},t(f,i),f.prototype.toString=function(){return this.hasOwnProperty("_normalizedValue")?this._normalizedValue:this.value},f.prototype.parse=function(){this._normalizedValue=this.value.replace(/^0+|\.0*$/g,"").replace(/(\.\d*?)0+$/,"$1").replace(/^(\.|$)/,"0$1")},v.prototype.toString=function(){return this.value},t(S,g),S.prototype.isIncomplete=!0,S.prototype.incompleteSuggest=function(){if("'"!==this.value)return String("'")},t(y,f),y.prototype.isIncomplete=!0;var b=new RegExp(e.map((function(e){return"("+("string"==typeof e.pattern?e.pattern.replace(/[\^$()[\]{}*+?|\\]/g,"\\$&"):e.pattern.source)+")"})).concat(".").join("|"),"g");function w(t,i){var s,r=[];e:for(;s=b.exec(t);){for(var o=e.length;o--;)if(s[o+1]){if(e[o].ctor){var a=new e[o].ctor(s[o+1]);a._offset=s.index,r.push(a)}continue e}var l=new v(s[0]);l._offset=s.index,r.push(l)}if(i&&i.recover){var c;for(o=r.length;o--;){var h=r[o];if(h instanceof f||h instanceof g){if(void 0!==c){var d=new g(""),u=r.splice(o,c-o+1,d);d.value=u.map((function(e){return e.value})).join("")}c=o}else h instanceof n||(c=void 0)}}return r}function C(e){for(var t=[],i=0;in.precedence&&(s[s.length-1].minPrecedence=n.precedence);else if(n instanceof o)s.push(t={minPrecedence:1/0,openBraceIndex:r});else if(n instanceof a){var c=e[(t=s.pop()).openBraceIndex-1],h=e[r+1];h instanceof l&&!(h.precedence<=t.minPrecedence)||!(!(c instanceof l)||c.precedencet.minPrecedence&&(s[s.length-1].minPrecedence=t.minPrecedence))}}for(r=i.length;r--;)e.splice(i[r],1);return e}function T(e){if("string"!=typeof e)throw new TypeError("expression must be a string");return(e=w(e)).filter((function(e){return e instanceof g})).map((function(e){return e.exchange()})).filter((function(e){return e}))}function x(e){return 1!==(e=T(e)).length?null:e[0]}function I(e,t){return(e=T(e)).some((function(e){return t.includes((e||"").toUpperCase())}))}function M(e){return e.join("")}return{tokenize:w,validate:function(e){if(s.enabled("charting_library_base"))return{currentState:"var"};for(var t="init",i={warnings:[],errors:[],isEmpty:!0},r=[],c=0;c{"use strict";i.d(t,{TranslatedString:()=>s});class s{constructor(e,t){this._originalText=e,this._translatedText=t}originalText(){return this._originalText}translatedText(){return this._translatedText}format(e){const t={},i={};for(const r of Object.keys(e)){const n=e[r];n instanceof s?(t[r]=n.originalText(),i[r]=n.translatedText()):(t[r]=n.toString(), -i[r]=n.toString())}const r=this._originalText.format(t),n=this._translatedText.format(i);return new s(r,n)}}},84296:e=>{e.exports.tzData={"America/New_York":{time:[-2717668562,-1633298400,-1615154400,-1601848800,-1583704800,-1570399200,-1551650400,-1536530400,-1523224800,-1504476e3,-1491775200,-1473026400,-1459720800,-1441576800,-1428271200,-1410127200,-1396821600,-1378677600,-1365372e3,-1347228e3,-1333922400,-1315173600,-1301868e3,-1283724e3,-1270418400,-1252274400,-1238968800,-1220824800,-1207519200,-1189375200,-1176069600,-1157320800,-114462e4,-1125871200,-1112565600,-1094421600,-1081116e3,-1062972e3,-1049666400,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-923263200,-905119200,-891813600,-880236e3,-76941e4,-765410400,-747266400,-733960800,-715816800,-702511200,-684367200,-671061600,-652917600,-639612e3,-620863200,-608162400,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-447285600,-431560800,-415836e3,-400111200,-384386400,-368661600,-352936800,-337212e3,-321487200,-305762400,-289432800,-273708e3,-257983200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], -offset:[-17762,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3]},"America/Los_Angeles":{ -time:[-2717668378,-1633298400,-1615154400,-1601848800,-1583704800,-880236e3,-769420800,-765410400,-687995940,-662680800,-620866800,-608162400,-589417200,-576108e3,-557967600,-544658400,-526518e3,-513208800,-495068400,-481759200,-463618800,-450309600,-431564400,-418255200,-400114800,-386805600,-368665200,-355356e3,-337215600,-323906400,-305766e3,-292456800,-273711600,-261007200,-242262e3,-226533600,-210812400,-195084e3,-179362800,-163634400,-147913200,-13158e4,-116463600,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3],offset:[-28378,-28800,-25200,-28800,-25200,-28800,-25200,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800]},"America/Chicago":{ -time:[-2717668236,-1633298400,-1615154400,-1601848800,-1583704800,-1563746400,-1551650400,-1538949600,-1520200800,-1504476e3,-1491775200,-1473026400,-1459720800,-1441576800,-1428271200,-1410127200,-1396821600,-1378677600,-1365372e3,-1347228e3,-1333922400,-1315173600,-1301868e3,-1283724e3,-1270418400,-1252274400,-1238968800,-1220824800,-1207519200,-1189375200,-1176069600,-1157320800,-114462e4,-1125871200,-1112565600,-1094421600,-1081116e3,-1067810400,-1045432800,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-923263200,-905119200,-891813600,-880236e3,-769413600,-765410400,-747266400,-733960800,-715816800,-702511200,-684367200,-671061600,-652917600,-639612e3,-620863200,-608162400,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-447285600,-431560800,-415836e3,-400111200,-384386400,-368661600,-352936800,-337212e3,-321487200,-305762400,-289432800,-273708e3,-257983200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], -offset:[-21036,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600]},"America/Phoenix":{time:[-2717670498,-1633298400,-1615154400,-1601848800,-1583704800,-880236e3,-820540740,-812678340,-796867140,-84405600,-68680800,1924966800],offset:[-26898,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200]},"America/Toronto":{ -time:[-2366755200,-1632088800,-1615154400,-1601771400,-1583712e3,-1567375200,-1554681600,-1534716e3,-1524088800,-1503266400,-149238e4,-1471816800,-1460930400,-1440972e3,-1428876e3,-1409522400,-1397426400,-1378072800,-1365976800,-1346623200,-1333922400,-1315173600,-1301868e3,-1283724e3,-1270418400,-1252274400,-1238968800,-1220824800,-1207519200,-1188770400,-1176069600,-1157320800,-1144015200,-1125871200,-1112565600,-1094421600,-1081116e3,-1062972e3,-1049666400,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-880232400,-76941e4,-765410400,-747266400,-733960800,-715824e3,-702518400,-684374400,-671068800,-652924800,-634176e3,-620863200,-602719200,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-450309600,-431560800,-418255200,-400111200,-384386400,-368661600,-352936800,-337212e3,-321487200,-305762400,-289432800,-273708e3,-257983200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,136346400,152071200,167796e3,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], -offset:[-19052,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-14400,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3]},"America/Vancouver":{ -time:[-2713910400,-1632088800,-1615154400,-880236e3,-769420800,-765410400,-747266400,-733960800,-715816800,-702511200,-684367200,-671061600,-652917600,-639612e3,-620863200,-608162400,-589413600,-576108e3,-557964e3,-544658400,-526514400,-513208800,-495064800,-481759200,-463615200,-450309600,-431560800,-418255200,-400111200,-386805600,-368661600,-355356e3,-337212e3,-323906400,-305762400,-292456800,-273708e3,-261007200,-242258400,-226533600,-210808800,-195084e3,-179359200,-163634400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,136346400,152071200,167796e3,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], -offset:[-29548,-28800,-25200,-28800,-25200,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800]},"America/Argentina/Buenos_Aires":{time:[-2372112e3,-1567468800,-1233446400,-1222992e3,-1205971200,-1194048e3,-117288e4,-1162512e3,-1141344e3,-1130976e3,-1109808e3,-109944e4,-1078272e3,-1067817600,-1046649600,-1036281600,-1015113600,-1004745600,-983577600,-973209600,-952041600,-941587200,-931046400,-900892800,-890352e3,-83376e4,-82728e4,-752284800,-733795200,-197337600,-190857600,-184204800,-164505600,-152668800,-132969600,-121132800,-101433600,-86832e3,-71107200,-54777600,-39052800,-23328e3,-7603200,128131200,136598400,596937600,605059200,624412800,636508800,656467200,667958400,687916800,699408e3,719366400,731462400,938908800,952041600,1198972800,1205625600,1224374400,1237075200,1924981200],offset:[-14028,-15408,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-10800,-10800,-7200,-10800,-7200,-10800]},"America/El_Salvador":{time:[-1546300800,546998400,559699200,578448e3,591148800,1924970400],offset:[-21408,-21600,-18e3,-21600,-18e3,-21600]},"America/Sao_Paulo":{ -time:[-1767225600,-1206968400,-1191369600,-1175385600,-1159833600,-633830400,-622076400,-602294400,-59184e4,-570758400,-560217600,-539136e3,-53136e4,-195436800,-184204800,-155174400,-150076800,-128908800,-121132800,-99964800,-89596800,-68428800,-57974400,499737600,511228800,530582400,540259200,562118400,571190400,592963200,602035200,624412800,634694400,656467200,666748800,687916800,697593600,719971200,728438400,750816e3,761702400,782265600,793152e3,813715200,823996800,84456e4,856051200,876096e3,888710400,908064e3,919555200,938908800,951609600,970963200,982454400,1003017600,1013904e3,1036281600,1045353600,1066521600,1076803200,1099353600,1108857600,1129420800,1140307200,1162684800,1172361600,119232e4,1203206400,1224374400,1234656e3,1255824e3,1266710400,1287273600,129816e4,1318723200,1330214400,1350777600,1361059200,1382227200,1392508800,1413676800,1424563200,1445126400,1456012800,1476576e3,1487462400,1508025600,1518912e3,1541289600,1550361600,1924981200],offset:[-11188,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800,-7200,-10800]},"America/Bogota":{time:[-2707689600,-1739059200,704851200,733881600,1924974e3],offset:[-17776,-17776,-18e3,-14400,-18e3]},"America/Caracas":{time:[-2524521600,-1826755200,-157766400,1197169200,1462069800,1924977600],offset:[-16064,-16060,-16200,-14400,-16200,-14400]},"Europe/Moscow":{time:[-2840140800,-1688256e3,-165681e4,-1641340800,-1627956e3,-1618700400,-1596416400,-1593804521,-1589846400,-1542416400,-1539478800,-1525305600,-1522713600,-1491177600,-1247529600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,695786400,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1414288800,1925002800], -offset:[9017,9017,9079,12679,9079,16279,12679,16279,14400,10800,14400,18e3,14400,10800,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800]},"Europe/Athens":{time:[-2344636800,-1686095940,-1182988800,-1178150400,-906854400,-904867200,-85725e4,-844473600,-828230400,-812419200,-552355200,-541641600,166492800,186195600,198036e3,213764400,228880800,244090800,260330400,275457600,291805200,307418400,323395200,338947200,354682800,370411200,386132400,401860800,417582e3,433310400,449031600,465364800,481086e3,496814400,512535600,528264e3,543985200,559713600,575434800,591163200,606884400,622612800,638334e3,654667200,670388400,686116800,701838e3,717566400,733287600,749016e3,764737200,780465600,796186800,811915200,828241200,846388800,859690800,877838400,891140400,909288e3,92259e4,941342400,954039600,972792e3,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[5692,5692,7200,10800,7200,10800,7200,3600,7200,3600,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Belgrade":{ -time:[-2713910400,-905821200,-85725e4,-844552800,-828219600,-812498400,-79677e4,-777938400,-766616400,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[4920,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Berlin":{time:[-2422051200,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-938901600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-776556e3,-765925200,-761173200,-748476e3,-733266e3,-717627600,-714603600,-71037e4,-701902800,-684972e3,-670453200,-654127200,-639003600,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], -offset:[3208,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,10800,7200,3600,7200,3600,7200,10800,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Bratislava":{time:[-3786825600,-2469398400,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-938901600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-765320400,-746575200,-733352400,-728514e3,-72126e4,-716421600,-701902800,-684972e3,-670453200,-654213600,-639003600,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[3464,3464,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Bucharest":{ -time:[-2469398400,-1213142400,-1187049600,-1175468400,-1159747200,-1144018800,-1127692800,-1111964400,-1096243200,-1080514800,-1064793600,-1049065200,-1033344e3,-1017615600,-1001894400,-986166e3,-970444800,-954716400,296611200,307497600,323823600,338950800,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670377600,686106e3,701827200,717555600,733276800,749005200,764726400,780451200,796176e3,811900800,828230400,846374400,859690800,877838400,891140400,909288e3,92259e4,941342400,954039600,972792e3,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[6264,6264,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Budapest":{ -time:[-2498256e3,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-1600466400,-1587243600,-1569708e3,-1555189200,-906771600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-778467600,-762649200,-749685600,-733269600,-717631200,-701902800,-686181600,-670453200,-654127200,-639003600,-492652800,-481161600,-461196e3,-449701200,-428536800,-418251600,-397087200,-386802e3,323827200,338950800,354672e3,370400400,386121600,40185e4,417571200,433299600,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[4580,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/London":{ -time:[-3852662400,-1691964e3,-1680469200,-1664143200,-1650142800,-1633903200,-1617483600,-1601848800,-1586034e3,-1570399200,-1552165200,-1538344800,-152253e4,-15075e5,-1490562e3,-1473631200,-1460926800,-1442786400,-1428872400,-1410732e3,-1396213200,-1379282400,-1364763600,-1348437600,-1333314e3,-1315778400,-1301259600,-1284328800,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-118998e4,-1175461200,-1159135200,-1143406800,-1126476e3,-1111957200,-1095631200,-1080507600,-1063576800,-1049058e3,-1032127200,-1017608400,-1001282400,-986158800,-969228e3,-950475600,-942012e3,-904514400,-896043600,-875484e3,-864594e3,-844034400,-832539600,-812584800,-798066e3,-781048800,-772059600,-764802e3,-748476e3,-733352400,-719445600,-717026400,-706741200,-699483600,-687996e3,-668034e3,-654732e3,-636584400,-622072800,-605739600,-590623200,-57429e4,-558568800,-542235600,-527119200,-512600400,-496274400,-481150800,-46422e4,-449701200,-432165600,-417646800,-401320800,-386197200,-369266400,-354747600,-337816800,-323298e3,-306972e3,-291848400,-276732e3,-257979600,-245282400,-22653e4,-213228e3,-195080400,-182383200,-163630800,-150933600,-132181200,-119484e3,-100731600,-88034400,-68677200,-59004e3,-37238400,57726e3,69818400,89175600,101268e3,120625200,132717600,152074800,164167200,183524400,196221600,214974e3,227671200,246423600,259120800,278478e3,290570400,309927600,32202e4,341377200,354675600,372823200,386125200,404272800,417574800,435722400,449024400,467776800,481078800,499226400,512528400,530676e3,543978e3,562125600,575427600,593575200,606877200,625629600,638326800,657079200,670381200,688528800,701830800,719978400,733280400,751428e3,76473e4,782877600,796179600,814327200,828234e3,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174784400,1193536800,1206838800,1224986400,1238288400,1256436e3,1269738e3,1288490400,1301187600,131994e4,1332637200,1351389600,1364691600,1382839200,1396141200,1414288800,1427590800,1445738400,1459040400,1477792800,149049e4,1509242400,1521939600,1540692e3,1553994e3,1572141600,1585443600,1603591200,1616893200,1635645600,1648342800,1667095200,1679792400,1698544800,1711846800,1729994400,1743296400,1761444e3,1774746e3,1792893600,1806195600,1824948e3,1837645200,1856397600,1869094800,1887847200,1901149200,1919296800,1932598800], -offset:[-75,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,0,3600,0,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0]},"Europe/Luxembourg":{time:[-2069712e3,-1692493200,-1680476400,-1662339600,-165015e4,-1632002400,-1618693200,-1612656e3,-1604278800,-1585515600,-1574038800,-1552255200,-1539997200,-1520546400,-1507510800,-1490569200,-1473642e3,-1459116e3,-1444006800,-142767e4,-1411866e3,-1396220400,-1379293200,-1364770800,-1348448400,-1333321200,-1316394e3,-1301266800,-1284339600,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-1191189600,-1175461200,-1160344800,-1143406800,-1127685600,-1111957200,-1096840800,-1080507600,-1063576800,-1049058e3,-1033336800,-1017608400,-1002492e3,-986158800,-969228e3,-950475600,-942012e3,-935182800,-85725e4,-844552800,-828219600,-812498400,-797979600,-781048800,-766616400,-745452e3,-733266e3,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], -offset:[1476,3600,7200,3600,7200,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Madrid":{time:[-2177453684,-1631926800,-1616886e3,-1601168400,-158535e4,-1442451600,-142767e4,-1379293200,-1364770800,-1348448400,-1333321200,-1316390400,-1301266800,-1284339600,-1269817200,-1026954e3,-1017615600,-1001898e3,-999478800,-986083200,-954111600,-940208400,-873075600,-862614e3,-842835600,-828313200,-811386e3,-796863600,-779936400,-765414e3,-748486800,-733964400,-652323600,-639010800,135126e3,150253200,166575600,181702800,196815600,212547600,22887e4,243997200,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], -offset:[-884,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Paris":{time:[-2486592e3,-1855958400,-1689814800,-1680393600,-1665363600,-1648339200,-1635123600,-1616889600,-1604278800,-158544e4,-1574038800,-1552262400,-1539997200,-1520553600,-1507510800,-1490572800,-1470618e3,-1459123200,-1444006800,-1427673600,-1411952400,-1396224e3,-1379293200,-1364774400,-1348448400,-1333324800,-1316394e3,-1301270400,-1284339600,-1269820800,-1253494800,-1238371200,-1221440400,-1206921600,-1191200400,-1175472e3,-1160355600,-1143417600,-1127696400,-1111968e3,-1096851600,-1080518400,-1063587600,-1049068800,-1033347600,-1017619200,-1002502800,-986169600,-969238800,-950486400,-942012e3,-932432400,-85725e4,-844552800,-828219600,-812498400,-800064e3,-796258800,-781048800,-766616400,196822800,212547600,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], -offset:[561,561,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Rome":{time:[-3252096e3,-2403562204,-1690761600,-168048e4,-1664755200,-1648944e3,-163512e4,-1616889600,-1604275200,-1585526400,-1571011200,-1555286400,-932428800,-85725e4,-844552800,-828219600,-812498400,-798066e3,-781048800,-76671e4,-750895200,-733352400,-719452800,-70191e4,-689205600,-670453200,-114048e3,-103161600,-81993600,-71708400,-50544e3,-40258800,-18489600,-8204400,1296e4,23245200,43804800,54694800,75859200,86749200,107913600,118198800,138758400,149648400,170812800,181098e3,202262400,212547600,233107200,243997200,265161600,276051600,296611200,307501200,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], -offset:[2996,2996,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Warsaw":{time:[-2840140800,-1717027200,-1693702800,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-1600466400,-1587157200,-1501718400,-931730400,-85725e4,-844552800,-828219600,-812498400,-796600800,-778723200,-762652800,-748483200,-733266e3,-715212e3,-701902800,-684972e3,-670453200,-654127200,-639003600,-397090800,-386805600,-371084400,-355356e3,-334191600,-323301600,-307580400,-291852e3,-271292400,-260402400,-239842800,-228952800,-208393200,-197503200,-176338800,-166053600,228877200,244000800,260326800,276055200,291776400,307504800,323830800,338954400,354675600,370404e3,386125200,401853600,417574800,433303200,449024400,465357600,481078800,496807200,512528400,528256800,543978e3,559706400,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], -offset:[5040,5040,3600,7200,3600,7200,3600,7200,7200,10800,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Istanbul":{time:[-2840140800,-1869868800,-1693699200,-168048e4,-1570406400,-1552176e3,-1538352e3,-1522540800,-1507507200,-1490572800,-1440201600,-1428019200,-1409702400,-1396483200,-931046400,-922665600,-917827200,-892425600,-875836800,-764726400,-744336e3,-733795200,-716428800,-701913600,-684979200,-670464e3,-654134400,-639014400,-62208e4,-60696e4,-590025600,-575510400,-235612800,-194832e3,-177724800,-165715200,107917200,121226400,133927200,152676e3,164685600,184125600,196221600,215575200,228880800,245815200,260330400,267926400,428464800,433908e3,468122400,482806800,496720800,512528400,528256800,543978e3,559706400,575427600,591156e3,606877200,622605600,638326800,65466e4,670381200,686109600,701830800,717559200,733280400,749008800,764125200,780458400,796179600,811908e3,828234e3,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301281200,1319947200,1332644400,1351396800,1364698800,1382846400,1396234800,1414296e3,1427598e3,1446955200,1459047600,1473206400,1925002800],offset:[6952,7016,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,10800,14400,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,10800]},"Europe/Zurich":{ -time:[-3675196800,-2385244800,-904431600,-891122400,-872982e3,-859672800,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[2048,1786,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Australia/Sydney":{time:[-2364076800,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,89172e3,100062e3,120621600,131511600,152071200,162961200,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,386737200,404877600,415767600,436327200,447217200,467776800,478666800,499226400,511326e3,530071200,542775600,562125600,57483e4,59418e4,606279600,625629600,636519600,657079200,667969200,688528800,699418800,719978400,731473200,752032800,762922800,783482400,794372400,814932e3,828241200,846381600,859690800,877831200,891140400,909280800,92259e4,941335200,954039600,967341600,985489200,1004234400,1017543600,1035684e3,1048993200,1067133600,1080442800,1099188e3,1111892400,1130637600,1143946800,1162087200,1174791600,1193536800,1207450800,1223172e3,1238900400,1254621600,127035e4,1286071200,1301799600,1317520800,1333249200,1349575200,1365303600,1381024800,1396753200,1412474400,1428202800,1443924e3,1459652400,1475373600,1491102e3,1506823200,1522551600,1538877600,1554606e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800], -offset:[36292,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600]},"Australia/Brisbane":{time:[-2366755200,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,625629600,636519600,657079200,667969200,688528800,699418800,1925028e3],offset:[36728,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3]},"Australia/Adelaide":{time:[-2364076800,-2230156800,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,89172e3,100062e3,120621600,131511600,152071200,162961200,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,384318e3,404877600,415767600,436327200,447217200,467776800,478666800,499226400,511326e3,530071200,542775600,562125600,57483e4,59418e4,606279600,625629600,637729200,657079200,667969200,688528800,701233200,719978400,731473200,752032800,764132400,783482400,796186800,814932e3,828241200,846381600,859690800,877831200,891140400,909280800,92259e4,941335200,954039600,972784800,985489200,1004234400,1017543600,1035684e3,1048993200,1067133600,1080442800,1099188e3,1111892400,1130637600,1143946800,1162087200,1174791600,1193536800,1207450800,1223172e3,1238900400,1254621600,127035e4,1286071200,1301799600,1317520800,1333249200,1349575200,1365303600,1381024800,1396753200,1412474400,1428202800,1443924e3,1459652400,1475373600,1491102e3,1506823200,1522551600,1538877600,1554606e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800], -offset:[33260,32400,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800,34200,37800]},"Australia/ACT":{time:[-2364076800,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,-828309600,-813186e3,57722400,68007600,89172e3,100062e3,120621600,131511600,152071200,162961200,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,386737200,404877600,415767600,436327200,447217200,467776800,478666800,499226400,511326e3,530071200,542775600,562125600,57483e4,59418e4,606279600,625629600,636519600,657079200,667969200,688528800,699418800,719978400,731473200,752032800,762922800,783482400,794372400,814932e3,828241200,846381600,859690800,877831200,891140400,909280800,92259e4,941335200,954039600,967341600,985489200,1004234400,1017543600,1035684e3,1048993200,1067133600,1080442800,1099188e3,1111892400,1130637600,1143946800,1162087200,1174791600,1193536800,1207450800,1223172e3,1238900400,1254621600,127035e4,1286071200,1301799600,1317520800,1333249200,1349575200,1365303600,1381024800,1396753200,1412474400,1428202800,1443924e3,1459652400,1475373600,1491102e3,1506823200,1522551600,1538877600,1554606e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800],offset:[36292,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600,36e3,39600]},"Asia/Almaty":{ -time:[-1441152e3,-1247529600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,695786400,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1925013600],offset:[18468,18e3,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,21600,18e3,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600,25200,21600]},"Asia/Ashkhabad":{time:[-1441152e3,-1247529600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,695786400,192501e4],offset:[14012,14400,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,21600,18e3,18e3,14400,18e3]},"Asia/Tokyo":{time:[-2587678861,-683769600,-672274800,-654739200,-640825200,-620265600,-609375600,-588816e3,-577926e3,1925024400],offset:[33539,32400,36e3,32400,36e3,32400,36e3,32400,36e3,32400]},"Asia/Taipei":{time:[-2335219200,-1017792e3,-766191600,-745804800,-733795200,-716860800,-699580800,-683856e3,-670636800,-65232e4,-639100800,-620784e3,-607564800,-589248e3,-576028800,-562896e3,-541728e3,-528681600,-510192e3,-497145600,-478656e3,-465609600,-449798400,-433987200,-418176e3,-402451200,-38664e4,-370915200,-355104e3,-339379200,-323568e3,-302486400,-291945600,-270950400,-260409600,134006400,149817600,165542400,181353600,299635200,307584e3,1925020800],offset:[29160,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Singapore":{time:[-2177452800,-2038176e3,-1167609600,-1073001600,-894153600,-879638400,-766972800,378691200,1925020800],offset:[24925,24925,25200,26400,26400,27e3,32400,27e3,28800]},"Asia/Karachi":{time:[-1988150400,-862617600,-764121600,-576115200,38793600,1018137600,1033862400,1212278400,1225497600,1239753600,1257033600,192501e4],offset:[16092,19800,23400,19800,18e3,18e3,21600,18e3,21600,18e3,21600,18e3]},"Asia/Manila":{time:[-3944678400,-2229292800,-1046649600,-1038700800,-873244800,-794188800,-496195200,-489283200,259372800,275184e3,1925020800],offset:[-57360,29040,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Shanghai":{ -time:[-2177452800,-1600646400,-1585872e3,-933638400,-922060800,-908841600,-888796800,-881020800,-767836800,-745804800,-733795200,-716860800,-699580800,-683856e3,-670636800,-65232e4,-649987200,515556e3,527047200,545191200,558496800,577245600,589946400,608695200,622000800,640144800,653450400,671594400,6849e5,1925020800],offset:[29143,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Seoul":{time:[-1948752e3,-1830384e3,-767318400,-681177600,-672192e3,-654739200,-640828800,-623376e3,-609379200,-588816e3,-577929600,-498096e3,-462672e3,-451699200,-429753600,-418262400,-399513600,-387417600,-368064e3,-355968e3,-336614400,-324518400,-305164800,-293068800,-264902400,547610400,560919600,57906e4,592369200,1925024400],offset:[30472,30600,32400,32400,36e3,32400,36e3,32400,36e3,32400,36e3,32400,30600,34200,30600,34200,30600,34200,30600,34200,30600,34200,30600,34200,30600,32400,36e3,32400,36e3,32400]},"Asia/Tehran":{time:[-1704153600,-757382400,247190400,259286400,277776e3,283996800,290822400,306547200,322444800,338515200,673228800,685497600,701222400,71712e4,732758400,748656e3,764294400,780192e3,795830400,811728e3,827366400,843264e3,858988800,874886400,890524800,906422400,922060800,937958400,953596800,969494400,985219200,1001116800,1016755200,1032652800,1048291200,1064188800,1079827200,1095724800,1111449600,1127347200,1206057600,1221955200,123768e4,1253577600,1269216e3,1285113600,1300752e3,1316649600,1332288e3,1348185600,1363910400,1379808e3,1395446400,1411344e3,1426982400,144288e4,1458518400,1474416e3,1490140800,1506038400,1521676800,1537574400,1553212800,1569110400,1584748800,1600646400,1616371200,1632268800,1647907200,1663804800,1679443200,1695340800,1710979200,1726876800,1742601600,1758499200,1774137600,1790035200,1805673600,1821571200,1837209600,1853107200,1868745600,1884643200,1900368e3,1916265600,1931904e3],offset:[12344,12344,12600,14400,18e3,14400,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600,16200,12600]},"Asia/Dubai":{time:[-1577923200,1925006400],offset:[13272,14400]},"Asia/Kolkata":{time:[-3645216e3,-3155673600,-2019686400,-891561600,-872035200,-862617600,-764121600,1925011800],offset:[21208,21200,19270,19800,23400,19800,23400,19800]},"Asia/Hong_Kong":{ -time:[-2056663398,-900882e3,-891547200,-884217600,-761176800,-747878400,-728508600,-717021e3,-697059e3,-683757e3,-668028600,-654726600,-636579e3,-623277e3,-605129400,-591827400,-573679800,-559773e3,-541625400,-528323400,-510179400,-498083400,-478729800,-466633800,-446675400,-435184200,-415225800,-403129800,-383776200,-371680200,-352326600,-340230600,-320877e3,-308781e3,-288822600,-277331400,-257373e3,-245881800,-225923400,-213827400,-194473800,-182377800,-163024200,-148509e3,-132784200,-117059400,-101334600,-85609800,-69280200,-53555400,-37830600,-22105800,-6381e3,9343800,25068600,40793400,56518200,72243e3,88572600,104297400,120022200,126070200,151471800,167196600,182921400,198646200,214371e3,295414200,309324600,1925020800],offset:[27402,28800,32400,30600,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Bangkok":{time:[-2840140800,-1570060800,1925017200],offset:[24124,24124,25200]},"Asia/Chongqing":{time:[-2177452800,-1600646400,-1585872e3,-933638400,-922060800,-908841600,-888796800,-881020800,-767836800,-745804800,-733795200,-716860800,-699580800,-683856e3,-670636800,-65232e4,-649987200,515556e3,527047200,545191200,558496800,577245600,589946400,608695200,622000800,640144800,653450400,671594400,6849e5,1925020800],offset:[29143,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Asia/Jerusalem":{ -time:[-2840140800,-1640995200,-933631200,-923086800,-919029600,-857336400,-844293600,-825800400,-812671200,-794178e3,-779839200,-762642e3,-748303200,-731106e3,-681948e3,-673214400,-667947600,-652312800,-636411600,-622072800,-608936400,-591832800,-572475600,-558568800,-542840400,-527724e3,-514414800,-490831200,-482965200,-459381600,-451515600,-428536800,-418251600,-400111200,-387406800,142387200,150854400,167184e3,178675200,334108800,337741200,452649600,46233e4,482284800,494380800,516758400,526435200,545443200,558489600,576633600,589334400,609897600,620784e3,638323200,651628800,669772800,683683200,701827200,715737600,733708800,747187200,765158400,778032e3,796608e3,810086400,826848e3,842832e3,858902400,874195200,890352e3,90504e4,923018400,936324e3,955677600,970794e3,986778e3,1001293200,1017363600,1033952400,1048813200,1065142800,1081299600,1095814800,1112320800,1128823200,1143770400,1159668e3,117522e4,1189908e3,1206669600,1223172e3,1238119200,1254016800,1269568800,1284256800,1301623200,1317520800,1333072800,1348365600,1364522400,1382839200,1395972e3,1414288800,1427421600,1445738400,1458871200,1477792800,1490320800,1509242400,1521770400,1540692e3,1553824800,1572141600,1585274400,1603591200,1616724e3,1635645600,1648173600,1667095200,1679623200,1698544800,1711677600,1729994400,1743127200,1761444e3,1774576800,1792893600,1806026400,1824948e3,1837476e3,1856397600,1868925600,1887847200,190098e4,1919296800,1932429600],offset:[8454,8440,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,14400,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Asia/Kuwait":{time:[-719625600,1925002800],offset:[11212,10800]},"Asia/Muscat":{time:[-1577923200,1925006400],offset:[13272,14400]},"Asia/Qatar":{time:[-1577923200,76204800,1925002800],offset:[12368,14400,10800]},"Asia/Riyadh":{time:[-719625600,1925002800],offset:[11212,10800]},"Pacific/Auckland":{ -time:[-3192393600,-1330293600,-1320012e3,-1300658400,-1287352800,-1269208800,-1255903200,-1237759200,-1224453600,-1206309600,-1192399200,-117486e4,-1160949600,-1143410400,-1125871200,-1112565600,-1094421600,-1081116e3,-1062972e3,-1049666400,-1031522400,-1018216800,-1000072800,-986767200,-968018400,-955317600,-936568800,-923263200,-757382400,152676e3,162356400,183520800,195015600,215575200,226465200,247024800,257914800,278474400,289364400,309924e3,320814e3,341373600,352263600,372823200,384318e3,404877600,415767600,436327200,447217200,467776800,478666800,499226400,510116400,530676e3,541566e3,562125600,573620400,59418e4,60507e4,623815200,637729200,655264800,669178800,686714400,700628400,718164e3,732682800,749613600,764132400,781063200,795582e3,812512800,827031600,844567200,858481200,876016800,889930800,907466400,921985200,938916e3,953434800,970365600,984884400,100242e4,1016334e3,1033869600,1047783600,1065319200,1079838e3,1096768800,1111287600,1128218400,1142737200,1159668e3,1174186800,1191117600,1207450800,1222567200,1238900400,1254016800,127035e4,1285466400,1301799600,1316916e3,1333249200,1348970400,1365303600,138042e4,1396753200,1411869600,1428202800,1443319200,1459652400,1474768800,1491102e3,1506218400,1522551600,1538272800,1554606e3,1569722400,1586055600,1601172e3,1617505200,1632621600,1648954800,1664071200,1680404400,1695520800,1712458800,1727575200,1743908400,1759024800,1775358e3,1790474400,1806807600,1821924e3,1838257200,1853373600,1869706800,1885428e3,1901761200,1916877600,1933210800],offset:[41944,41400,45e3,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,41400,43200,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800,43200,46800]},"Pacific/Chatham":{ -time:[-3192393600,-757382400,152678700,162359100,183523500,195018300,215577900,226467900,247027500,257917500,278477100,289367100,309926700,320816700,341376300,352266300,372825900,384320700,404880300,415770300,436329900,447219900,467779500,478669500,499229100,510119100,530678700,541568700,562128300,573623100,594182700,605072700,623817900,637731900,655267500,669181500,686717100,700631100,718166700,732685500,749616300,764135100,781065900,795584700,812515500,827034300,844569900,858483900,876019500,889933500,907469100,921987900,938918700,953437500,970368300,984887100,1002422700,1016336700,1033872300,1047786300,1065321900,1079840700,1096771500,1111290300,1128221100,1142739900,1159670700,1174189500,1191120300,1207453500,1222569900,1238903100,1254019500,1270352700,1285469100,1301802300,1316918700,1333251900,1348973100,1365306300,1380422700,1396755900,1411872300,1428205500,1443321900,1459655100,1474771500,1491104700,1506221100,1522554300,1538275500,1554608700,1569725100,1586058300,1601174700,1617507900,1632624300,1648957500,1664073900,1680407100,1695523500,1712461500,1727577900,1743911100,1759027500,1775360700,1790477100,1806810300,1821926700,1838259900,1853376300,1869709500,1885430700,1901763900,1916880300,1933213500],offset:[44028,44100,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500,45900,49500]},"Pacific/Fakaofo":{time:[-2177452800,1325203200,1925038800],offset:[-41096,-39600,46800]},"Pacific/Honolulu":{time:[-2334139200,-1157320800,-1155470400,-880236e3,-769429800,-765410400,-712188e3,1924956e3],offset:[-37886,-37800,-34200,-37800,-34200,-34200,-37800,-36e3]},"America/Mexico_City":{ -time:[-1514763396,-1343091600,-1234828800,-1220317200,-1207180800,-1191369600,-975283200,-963187200,-917136e3,-907372800,-821923200,-810086400,-627523200,-613008e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,989114400,1001815200,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1175392800,1193536800,1207447200,1224986400,1238896800,1256436e3,1270346400,1288490400,1301796e3,131994e4,1333245600,1351389600,13653e5,1382839200,1396749600,1414288800,1428199200,1445738400,1459648800,1477792800,1491098400,1509242400,1522548e3,1540692e3,1554602400,1572141600,1586052e3,1603591200,1617501600,1635645600,1648951200,1667095200,1680400800,1698544800,1712455200,1729994400,1743904800,1761444e3,1775354400,1792893600,1806804e3,1824948e3,1838253600,1856397600,1869703200,1887847200,1901757600,1919296800,1933207200],offset:[-23796,-25200,-21600,-25200,-21600,-25200,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600,-18e3,-21600]},"Africa/Cairo":{time:[-2185401600,-929836800,-923097600,-906163200,-892857600,-875836800,-857779200,-844300800,-825811200,-812678400,-794188800,-779846400,-762652800,-399081600,-38664e4,-368323200,-355104e3,-336783600,-323643600,-305161200,-292021200,-273625200,-260485200,-242089200,-228949200,-210553200,-197413200,-178930800,-165790800,-147394800,-134254800,-115858800,-102632400,-84322800,-71096400,-52700400,-39474e3,-21164400,-7938e3,10371600,23598e3,41907600,55134e3,7353e4,86756400,105066e3,118292400,136602e3,149828400,168138e3,181364400,199760400,212986800,231296400,244522800,262832400,276058800,294368400,307594800,325990800,339217200,357526800,370753200,396406800,402289200,426819600,433825200,452221200,465447600,483757200,496983600,515293200,528519600,546829200,560055600,578451600,591678e3,610419600,623214e3,641523600,65475e4,673059600,686286e3,704682e3,717908400,736218e3,749444400,767754e3,780980400,799027200,812332800,830476800,843782400,861926400,875232e3,893376e3,906681600,925430400,938736e3,95688e4,970185600,988329600,1001635200,1019779200,1033084800,1051228800,1064534400,1083283200,1096588800,1114732800,1128038400,1146182400,1158883200,1177632e3,1189123200,1209081600,1219968e3,1240531200,1250812800,1272585600,1281484800,1284076800,1285891200,1400198400,1403827200,1406851200,1411689600,1924999200], -offset:[7509,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Africa/Johannesburg":{time:[-2458166400,-2109283200,-860968800,-845244e3,-829519200,-813794400,1924999200],offset:[6720,5400,7200,10800,7200,10800,7200]},"Asia/Kathmandu":{time:[-1577923200,504921600,1925012700],offset:[20476,19800,20700]},"US/Mountain":{time:[-2717668796,-1633298400,-1615154400,-1601848800,-1583704800,-1570399200,-1551650400,-1538949600,-1534111200,-880236e3,-769417200,-765410400,-147909600,-13158e4,-11646e4,-100130400,-84405600,-68680800,-52956e3,-37231200,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3], -offset:[-25196,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200,-21600,-25200]},"Europe/Helsinki":{time:[-2890252800,-1535932800,-875664e3,-859762800,354679200,370407600,386128800,401857200,417582e3,433310400,449031600,465364800,481086e3,496814400,512535600,528264e3,543985200,559713600,575434800,591163200,606884400,622612800,638334e3,654667200,670388400,686116800,701838e3,717566400,733287600,749016e3,764737200,780465600,796186800,811915200,828241200,846388800,859690800,877838400,891140400,909288e3,92259e4,941342400,954039600,972792e3,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[5989,5989,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Stockholm":{ -time:[-2871676800,-2208988800,-1692493200,-1680476400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[4332,3614,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Copenhagen":{time:[-2524521600,-2398291200,-1692493200,-1680483600,-935107200,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-769381200,-747007200,-736376400,-715212e3,-706741200,-683157600,-675291600,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400], -offset:[3020,3020,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Atlantic/Reykjavik":{time:[-1956614400,-1668214800,-1647212400,-1636678800,-161343e4,-1605142800,-1581894e3,-1539565200,-153135e4,-968029200,-952293600,-942012e3,-920239200,-909961200,-888789600,-877906800,-857944800,-846457200,-826495200,-815007600,-795045600,-783558e3,-762991200,-752108400,-731541600,-717634800,-700092e3,-686185200,-668642400,-654735600,-636588e3,-623286e3,-605743200,-591836400,-573688800,-559782e3,-542239200,-528332400,-510789600,-496882800,-47934e4,-465433200,-447890400,-433983600,-415836e3,-401929200,-384386400,-370479600,-352936800,-33903e4,-321487200,-307580400,-290037600,-276130800,-258588e3,-244681200,-226533600,-212626800,-195084e3,-181177200,-163634400,-149727600,-132184800,-118278e3,-100735200,-86828400,-68680800,-54774e3,1924992e3],offset:[-5280,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0,-3600,0]},"Europe/Tallinn":{time:[-2840140800,-1638316800,-1632002400,-1618693200,-1593820800,-1535932800,-927936e3,-892944e3,-85725e4,-844552800,-828219600,-812498400,-797644800,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909288e3,92259e4,941342400,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3], -offset:[5940,5940,3600,7200,3600,5940,7200,10800,7200,3600,7200,3600,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Riga":{time:[-2840140800,-1632002400,-1618693200,-1601676e3,-1597266e3,-1377302400,-928022400,-899510400,-85725e4,-844552800,-828219600,-812498400,-79677e4,-795830400,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,843966e3,859690800,877838400,891140400,909288e3,92259e4,941342400,985489200,1004241600,1017543600,1035691200,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[5794,5794,9394,5794,9394,5794,7200,10800,7200,3600,7200,3600,7200,3600,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"Europe/Vilnius":{ -time:[-2840140800,-1672531200,-1585094400,-1561248e3,-1553558400,-928195200,-900115200,-85725e4,-844552800,-828219600,-812498400,-802137600,354931200,370742400,386467200,402278400,418003200,433814400,449625600,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891140400,909284400,922586400,941338800,1048993200,1067140800,1080442800,1099195200,1111892400,1130644800,1143342e3,1162094400,1174791600,1193544e3,1206846e3,1224993600,1238295600,1256443200,1269745200,1288497600,1301194800,1319947200,1332644400,1351396800,1364698800,1382846400,1396148400,1414296e3,1427598e3,1445745600,1459047600,14778e5,1490497200,1509249600,1521946800,1540699200,1554001200,1572148800,1585450800,1603598400,1616900400,1635652800,164835e4,1667102400,1679799600,1698552e3,1711854e3,1730001600,1743303600,1761451200,1774753200,1792900800,1806202800,1824955200,1837652400,1856404800,1869102e3,1887854400,1901156400,1919304e3,1932606e3],offset:[6076,5040,5736,3600,7200,3600,10800,7200,3600,7200,3600,7200,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,14400,10800,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,7200,3600,7200,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200,10800,7200]},"America/Lima":{time:[-2524521600,-1938556800,-1009843200,-1002067200,-986774400,-971049600,-955324800,-9396e5,504921600,512697600,536457600,544233600,631152e3,638928e3,757382400,765158400,1924974e3],offset:[-18492,-18516,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3]},"America/Santiago":{ -time:[-2524521600,-1892678400,-1688428800,-1619222400,-1593820800,-1336003200,-13176e5,-1304380800,-1286064e3,-1272844800,-1254528e3,-1241308800,-1222992e3,-1209772800,-1191369600,-1178150400,-870566400,-865296e3,-740534400,-736387200,-718070400,-713667600,-36633600,-23932800,-3369600,7516800,24451200,37756800,55900800,69206400,87955200,100656e3,118195200,132105600,150854400,163555200,182304e3,195609600,213753600,227059200,245203200,258508800,277257600,289958400,308707200,321408e3,340156800,353462400,371606400,384912e3,403056e3,416361600,434505600,447811200,46656e4,479260800,498009600,510710400,529459200,545184e3,560908800,574214400,592358400,605664e3,624412800,637113600,653443200,668563200,687312e3,700617600,718761600,732067200,750211200,763516800,781660800,794966400,813715200,826416e3,845164800,85968e4,876614400,88992e4,906854400,923184e3,939513600,952819200,971568e3,984268800,1003017600,1015718400,1034467200,1047168e3,1065916800,1079222400,1097366400,1110672e3,1128816e3,1142121600,1160870400,1173571200,119232e4,1206835200,1223769600,1237075200,1255219200,1270339200,1286668800,1304812800,1313884800,1335657600,1346544e3,1367107200,1378598400,1398556800,1410048e3,1463270400,1471132800,149472e4,1502582400,1526169600,1534032e3,1554595200,1567900800,1586044800,1599350400,1617494400,16308e5,1648944e3,1662249600,1680393600,1693699200,1712448e3,1725753600,1743897600,1757203200,1775347200,1788652800,1806796800,1820102400,1838246400,1851552e3,1870300800,1883001600,1901750400,1915056e3,19332e5],offset:[-16966,-16966,-18e3,-16966,-14400,-16966,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-18e3,-14400,-10800,-14400,-18e3,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800,-14400,-10800]},"Asia/Bahrain":{time:[-1577923200,76204800,1925002800],offset:[12368,14400,10800]},"Asia/Jakarta":{time:[-3231273600,-1451693568,-117288e4,-876614400,-766022400,-683856e3,-620784e3,-189388800,1925017200],offset:[25632,25632,26400,27e3,32400,27e3,28800,27e3,25200]},"Africa/Lagos":{time:[-2035584e3,-1940889600,-1767225600,-1588464e3,1924995600],offset:[815,0,815,1800,3600]},"Pacific/Norfolk":{ -time:[-2177452800,-599616e3,152071200,162961200,1443924e3,1570327200,1586055600,1601776800,1617505200,1633226400,1648954800,1664676e3,1680404400,1696125600,1712458800,172818e4,1743908400,1759629600,1775358e3,1791079200,1806807600,1822528800,1838257200,1853978400,1869706800,1886032800,1901761200,1917482400,1933210800],offset:[40312,40320,41400,45e3,41400,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200,39600,43200]},"America/Juneau":{time:[-3225169588,-2188987200,-880236e3,-769420800,-765410400,-21506400,-5781600,9943200,25668e3,41392800,57722400,73447200,89172e3,104896800,120621600,126669600,152071200,162352800,183520800,199245600,215575200,230695200,247024800,262749600,278474400,294199200,309924e3,325648800,341373600,357098400,372823200,388548e3,404877600,419997600,436327200,438998400,452052e3,467776800,483501600,499226400,514951200,530676e3,544586400,562125600,576036e3,59418e4,607485600,625629600,638935200,657079200,670989600,688528800,702439200,719978400,733888800,752032800,765338400,783482400,796788e3,814932e3,828842400,846381600,860292e3,877831200,891741600,909280800,923191200,941335200,954640800,972784800,986090400,1004234400,1018144800,1035684e3,1049594400,1067133600,1081044e3,1099188e3,1112493600,1130637600,1143943200,1162087200,1173578400,1194141600,1205028e3,1225591200,1236477600,1257040800,1268532e3,1289095200,1299981600,1320544800,1331431200,1351994400,1362880800,1383444e3,1394330400,1414893600,142578e4,1446343200,1457834400,1478397600,1489284e3,1509847200,1520733600,1541296800,1552183200,1572746400,1583632800,1604196e3,1615687200,1636250400,1647136800,16677e5,1678586400,1699149600,1710036e3,1730599200,1741485600,1762048800,1772935200,1793498400,1804989600,1825552800,1836439200,1857002400,1867888800,1888452e3,1899338400,1919901600,1930788e3],offset:[54139,-32261,-28800,-25200,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-25200,-28800,-28800,-28800,-25200,-28800,-25200,-28800,-25200,-32400,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400,-28800,-32400]},"Asia/Ho_Chi_Minh":{time:[-2004048e3,-1851552e3,-852080400,-782614800,-767836800,-718070400,-457747200,-315622800,171849600,1925017200],offset:[25600,25590,25200,28800,32400,25200,28800,25200,28800,25200]},"Australia/Perth":{ -time:[-2337897600,-1672524e3,-1665349200,-883605600,-876085200,-860364e3,-844635600,152071200,162961200,436327200,447217200,690343200,699418800,1165111200,1174791600,1193536800,1206846e3,1224986400,1238295600,1925020800],offset:[27804,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800,32400,28800]},"Europe/Malta":{time:[-2403475200,-1690761600,-168048e4,-1664755200,-1648944e3,-163512e4,-1616889600,-1604275200,-1585526400,-1571011200,-1555286400,-932428800,-85725e4,-844552800,-828219600,-812584800,-798066e3,-781048800,-76671e4,-750895200,-733352400,-719452800,-70191e4,-689205600,-670453200,-114048e3,-103161600,-81993600,-71708400,-50544e3,-40258800,-18489600,-8204400,1296e4,23245200,43804800,54694800,75859200,86749200,102384e3,118112400,135734400,148525200,167191200,180496800,198640800,211946400,230090400,243396e3,26154e4,274845600,292989600,306295200,323316e3,338349600,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[3484,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Amsterdam":{ -time:[-4260211200,-1693699200,-168048e4,-1663452e3,-1650142800,-1633212e3,-1617483600,-1601157600,-1586034e3,-1569708e3,-1554584400,-1538258400,-1523134800,-15075e5,-1490562e3,-1470175200,-1459112400,-1443996e3,-1427662800,-1406671200,-1396213200,-1376949600,-1364763600,-1345413600,-1333314e3,-1313791200,-1301259600,-1282255200,-126981e4,-1250719200,-1238360400,-1219183200,-1206910800,-1186956e3,-1175461200,-1156024800,-1143406800,-1124488800,-1111957200,-1092952800,-1080507600,-1061330400,-1049058e3,-1029189600,-1025740800,-1017608400,-998258400,-986158800,-966722400,-954104400,-935020800,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-766616400,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[1172,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,1172,4772,4800,1200,4800,1200,4800,1200,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Brussels":{ -time:[-2840140800,-2450994150,-1740355200,-1693699200,-1680476400,-1663452e3,-1650142800,-1632002400,-1618693200,-1613822400,-1604278800,-1585526400,-1574038800,-1552262400,-1539997200,-1520553600,-1507510800,-1490572800,-1473642e3,-1459123200,-1444006800,-1427673600,-1411952400,-1396224e3,-1379293200,-1364774400,-1348448400,-1333324800,-1316394e3,-1301259600,-1284328800,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-1191189600,-1175461200,-1160344800,-1143406800,-1127685600,-1111957200,-1096840800,-1080507600,-1063576800,-1049058e3,-1033336800,-1017608400,-1002492e3,-986158800,-969228e3,-950475600,-942012e3,-934664400,-85725e4,-844552800,-828219600,-812498400,-798066e3,-781048800,-766616400,-745452e3,-733266e3,228880800,244004400,260330400,276058800,29178e4,307508400,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[1050,1050,0,3600,7200,3600,7200,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]},"Europe/Lisbon":{ -time:[-1830386205,-1689555600,-1677798e3,-1667437200,-1647734400,-1635814800,-1616198400,-1604365200,-1584662400,-1572742800,-155304e4,-1541206800,-1521504e3,-1442451600,-1426809600,-1379293200,-1364774400,-1348448400,-1333324800,-1316394e3,-1301270400,-1284339600,-1269820800,-1221440400,-1206921600,-1191200400,-1175472e3,-1127696400,-1111968e3,-1096851600,-1080518400,-1063587600,-1049068800,-1033347600,-1017619200,-1002502800,-986169600,-969238800,-950486400,-942022800,-922665600,-906944400,-891129600,-877309200,-873680400,-864e6,-857952e3,-845859600,-842835600,-831340800,-825897600,-81441e4,-810781200,-799891200,-794448e3,-782960400,-779331600,-768441600,-762998400,-749091600,-733363200,-717631200,-701902800,-686181600,-670453200,-654732e3,-639003600,-623282400,-607554e3,-591832800,-575499600,-559778400,-54405e4,-528328800,-512600400,-496879200,-481150800,-465429600,-449701200,-43398e4,-417646800,-401925600,-386197200,-370476e3,-354747600,-339026400,-323298e3,-307576800,-291848400,-276127200,-260398800,-244677600,-228344400,-212623200,-196894800,-181173600,-165445200,-149724e3,-133995600,-118274400,212547600,228268800,243997200,260323200,276051600,291772800,307504800,323222400,338954400,354675600,370404e3,386125200,401853600,417578400,433303200,449024400,465357600,481078800,496807200,512528400,528256800,543978e3,559706400,575427600,591156e3,606877200,622605600,638326800,65466e4,670381200,686109600,701830800,717559200,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174784400,1193536800,1206838800,1224986400,1238288400,1256436e3,1269738e3,1288490400,1301187600,131994e4,1332637200,1351389600,1364691600,1382839200,1396141200,1414288800,1427590800,1445738400,1459040400,1477792800,149049e4,1509242400,1521939600,1540692e3,1553994e3,1572141600,1585443600,1603591200,1616893200,1635645600,1648342800,1667095200,1679792400,1698544800,1711846800,1729994400,1743296400,1761444e3,1774746e3,1792893600,1806195600,1824948e3,1837645200,1856397600,1869094800,1887847200,1901149200,1919296800,1932598800],offset:[-2205,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,7200,3600,0,3600,7200,3600,0,3600,7200,3600,0,3600,7200,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,3600,7200,3600,7200,3600,7200,3600,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0]},"Europe/Dublin":{ -time:[-2821651200,-1691964e3,-1680469200,-1664143200,-1650142800,-1633903200,-1617483600,-1601848800,-1586034e3,-1570399200,-1552165200,-1538344800,-152253e4,-15075e5,-1490562e3,-1473631200,-1460926800,-1442786400,-1428872400,-1410732e3,-1396213200,-1379282400,-1364763600,-1348437600,-1333314e3,-1315778400,-1301259600,-1284328800,-126981e4,-1253484e3,-1238360400,-1221429600,-1206910800,-118998e4,-1175461200,-1159135200,-1143406800,-1126476e3,-1111957200,-1095631200,-1080507600,-1063576800,-1049058e3,-1032127200,-1017608400,-1001282400,-986158800,-969228e3,-950475600,-942012e3,-733352400,-719445600,-699483600,-684972e3,-668034e3,-654732e3,-636584400,-622072800,-605739600,-590623200,-57429e4,-558568800,-542235600,-527119200,-512600400,-496274400,-481150800,-46422e4,-449701200,-432165600,-417646800,-401320800,-386197200,-369266400,-354747600,-337816800,-323298e3,-306972e3,-291848400,-276732e3,-257979600,-245282400,-22653e4,-213228e3,-195080400,-182383200,-163630800,-150933600,-132181200,-119484e3,-100731600,-88034400,-68677200,-59004e3,57726e3,69818400,89175600,101268e3,120625200,132717600,152074800,164167200,183524400,196221600,214974e3,227671200,246423600,259120800,278478e3,290570400,309927600,32202e4,341377200,354675600,372823200,386125200,404272800,417574800,435722400,449024400,467776800,481078800,499226400,512528400,530676e3,543978e3,562125600,575427600,593575200,606877200,625629600,638326800,657079200,670381200,688528800,701830800,719978400,733280400,751428e3,76473e4,782877600,796179600,814327200,828234e3,846381600,859683600,877831200,891133200,909280800,922582800,941335200,954032400,972784800,985482e3,1004234400,1017536400,1035684e3,1048986e3,1067133600,1080435600,1099188e3,1111885200,1130637600,1143334800,1162087200,1174784400,1193536800,1206838800,1224986400,1238288400,1256436e3,1269738e3,1288490400,1301187600,131994e4,1332637200,1351389600,1364691600,1382839200,1396141200,1414288800,1427590800,1445738400,1459040400,1477792800,149049e4,1509242400,1521939600,1540692e3,1553994e3,1572141600,1585443600,1603591200,1616893200,1635645600,1648342800,1667095200,1679792400,1698544800,1711846800,1729994400,1743296400,1761444e3,1774746e3,1792893600,1806195600,1824948e3,1837645200,1856397600,1869094800,1887847200,1901149200,1919296800,1932598800],offset:[-1500,-1521,2079,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0,3600,0]},"Europe/Oslo":{ -time:[-2366755200,-1691881200,-1680566400,-927507600,-85725e4,-844552800,-828219600,-812498400,-79677e4,-781048800,-765320400,-340840800,-324507600,-308786400,-293058e3,-277336800,-261608400,-245887200,-230158800,-214437600,-198709200,-182988e3,-166654800,-147909600,-135205200,323834400,338958e3,354679200,370407600,386128800,401857200,417578400,433306800,449028e3,465361200,481082400,496810800,512532e3,528260400,543981600,55971e4,575431200,591159600,606880800,622609200,638330400,654663600,670384800,686113200,701834400,717562800,733284e3,749012400,764733600,780462e3,796183200,811911600,828237600,846385200,859687200,877834800,891136800,909284400,922586400,941338800,954036e3,972788400,985485600,1004238e3,101754e4,1035687600,1048989600,1067137200,1080439200,1099191600,1111888800,1130641200,1143338400,1162090800,1174788e3,1193540400,1206842400,122499e4,1238292e3,1256439600,1269741600,1288494e3,1301191200,1319943600,1332640800,1351393200,1364695200,1382842800,1396144800,1414292400,1427594400,1445742e3,1459044e3,1477796400,1490493600,1509246e3,1521943200,1540695600,1553997600,1572145200,1585447200,1603594800,1616896800,1635649200,1648346400,1667098800,1679796e3,1698548400,1711850400,1729998e3,17433e5,1761447600,1774749600,1792897200,1806199200,1824951600,1837648800,1856401200,1869098400,1887850800,1901152800,1919300400,1932602400],offset:[2580,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600,7200,3600]}}},15625:(e,t,i)=>{"use strict";i.d(t,{Version:()=>r});var s=i(88537);class r{constructor(e,t){this._major=e,this._minor=t}major(){return this._major}minor(){return this._minor}isZero(){return 0===this._major&&0===this._minor}toString(){return this._major+"."+this._minor}compareTo(e){return this._majore._major?1:this._minore._minor?1:0}isLess(e){return this.compareTo(e)<0}isLessOrEqual(e){return this.compareTo(e)<=0}isEqual(e){return 0===this.compareTo(e)}isGreater(e){return this.compareTo(e)>0}isGreaterOrEqual(e){return this.compareTo(e)>=0}static parse(e){if(e instanceof r)return new r(e.major(),e.minor());if("number"==typeof e)return(0,s.assert)(Math.floor(e)===e,"Version should not be a float number"),new r(e,0);if("string"==typeof e){const t=e.split(".");if(1===t.length){const i=parseInt(t[0],10);return(0,s.assert)(!isNaN(i),"Bad version string: "+e),new r(i,0)}if(2===t.length){const i=parseInt(t[0],10);(0,s.assert)(!isNaN(i),"Bad version string: "+e);const n=parseInt(t[1],10);return(0, -s.assert)(!isNaN(n),"Bad version string: "+e),new r(i,n)}throw new Error("Bad version string (one dot expected): "+e)}throw new Error("Bad version: "+e)}}r.ZERO=new r(0,0)},40144:(e,t,i)=>{"use strict";i.d(t,{WatchedObject:()=>a});var s=i(52714),r=i.n(s),n=i(80643);function o(e,t){return(0,n.deepEquals)(e,t)[0]}class a extends(r()){constructor(e,t=o){super(e),this._comparator=t}setValue(e,t){!1===this._comparator(this.value(),e)&&super.setValue(e,t)}}},52714:(e,t,i)=>{"use strict";e=i.nmd(e);var s=i(98125).getLogger("Common.WatchedValue");function r(){}function n(e){if(!(this instanceof n))return new n(e);arguments.length>0&&(this._value=e),this._listeners=[]}n.prototype.value=function(){return this._owner?this._owner._value:this._value},n.prototype.setValue=function(e,t){var i=this._owner?this._owner:this;if("function"==typeof i.hook&&(e=i.hook(e)),i.writeLock)return i._value;var r=i._value===e||Number.isNaN(i._value)&&Number.isNaN(e);if(!t&&r&&i.hasOwnProperty("_value"))return e;i._value=e;for(var n=i._listeners.slice(),o=0,a=0;a{"use strict";i.d(t,{TOOLBAR_WIDTH_EXPANDED:()=>s,TOOLBAR_WIDTH_COLLAPSED:()=>r});const s=52,r=5},84746:(e,t,i)=>{"use strict";i.d(t,{DrawingToolbarBootloader:()=>a});var s=i(85593),r=i(45216),n=i(38881),o=i(5683);class a extends n.ChunkLoader{constructor(e){super(),this._opts=e,s.isDrawingToolbarVisible.value()&&(this._opts.resizerBridge.negotiateWidth(r.TOOLBAR_WIDTH_EXPANDED),this._opts.resizerBridge.container.value().appendChild((0,o.createStubElem)()))}_startLoading(){return Promise.all([i.e(5514),i.e(9129),i.e(2e3),i.e(6363),i.e(3466),i.e(1112),i.e(4763),i.e(323),i.e(5175),i.e(7757),i.e(9837),i.e(1075),i.e(1890),i.e(1784),i.e(2878)]).then(i.bind(i,26862)).then(e=>new e.DrawingToolbarRenderer(this._opts.resizerBridge.container.value(),{...this._opts}))}}},85593:(e,t,i)=>{"use strict";i.d(t,{isDrawingToolbarVisible:()=>c});var s=i(56840),r=i(67337),n=i(52714),o=i.n(n);const a=!r.enabled("hide_left_toolbar_by_default"),l=s.getBool("ChartDrawingToolbarWidget.visible",a),c=new(o())(l)},9753:(e,t,i)=>{"use strict";i.d(t,{HeaderToolbarBootloader:()=>o});var s=i(18387),r=i(5683),n=i(38881);class o extends n.ChunkLoader{constructor(e,t){super(),this._toolsBootloader=e,this._headerProps=t,this._headerProps.resizerBridge.negotiateHeight(s.HEADER_TOOLBAR_HEIGHT_EXPANDED),this._headerProps.resizerBridge.container.value().appendChild((0,r.createStubElem)())}_startLoading(){return Promise.all([this._toolsBootloader.load(),this._loadHeaderToolbar()]).then(([e,t])=>new t(this._headerProps.resizerBridge.container.value(),{...this._headerProps,tools:e}))}_loadHeaderToolbar(){return Promise.all([i.e(5514),i.e(8268),i.e(1320),i.e(9837),i.e(3005)]).then(i.bind(i,53335)).then(e=>e.HeaderToolbarRenderer)}}},18387:(e,t,i)=>{"use strict";i.d(t,{HEADER_TOOLBAR_HEIGHT_EXPANDED:()=>r,HEADER_TOOLBAR_HEIGHT_COLLAPSED:()=>n});var s=i(98033);const r=parseInt(s["css-value-header-toolbar-height"]),n=3},84120:(e,t,i)=>{"use strict";i.d(t,{RestrictedToolsetBootloader:()=>r});var s=i(38881);class r extends s.ChunkLoader{_startLoading(){return Promise.all([i.e(5514),i.e(9129),i.e(2e3),i.e(6363),i.e(3466),i.e(7836),i.e(3921),i.e(1112),i.e(6909),i.e(5998),i.e(4763),i.e(7419),i.e(9042),i.e(6560),i.e(4474),i.e(1594),i.e(5175),i.e(3944),i.e(3645),i.e(9837),i.e(1075),i.e(9505),i.e(5516)]).then(i.bind(i,79389)).then(e=>e.getRestrictedToolSet())}}},22668:(e,t,i)=>{"use strict";i.d(t,{FavoriteStudyTemplateService:()=>r});var s=i(9127);class r extends s.CommonJsonStoreService{constructor(e,t){super(e,t,"FAVORITE_STUDY_TEMPLATES_CHANGED","StudyTemplates.quicks",[])}remove(e){this.set(this.get().filter(t=>t!==e))}}},52741:(e,t,i)=>{"use strict";i.d(t,{DropdownApi:()=>s});class s{constructor(e,t){this._headerToolbar=e,this._dropdownId=t}applyOptions(e){this._headerToolbar.updateDropdown(this._dropdownId,e)}remove(){this._headerToolbar.removeDropdown(this._dropdownId)}}},62060:(e,t,i)=>{"use strict";var s -;i.d(t,{ACTION_ID:()=>s}),function(e){e.TVActionId="TVActionId",e.ChartApplyIndicatorsToAllCharts="Chart.ApplyIndicatorsToAllCharts",e.ChartChangeTimeZone="Chart.ChangeTimeZone",e.ChartDialogsShowChangeInterval="Chart.Dialogs.ShowChangeInterval",e.ChartDialogsShowChangeSymbol="Chart.Dialogs.ShowChangeSymbol",e.ChartDialogsShowCompareOrAddSymbol="Chart.Dialogs.ShowCompareOrAddSymbol",e.ChartDialogsShowGeneralSettings="Chart.Dialogs.ShowGeneralSettings",e.ChartDialogsShowGeneralSettingsScalesTab="Chart.Dialogs.ShowGeneralSettings.ScalesTab",e.ChartDialogsShowGeneralSettingsSymbolTab="Chart.Dialogs.ShowGeneralSettings.SymbolTab",e.ChartDialogsShowGoToDate="Chart.Dialogs.ShowGoToDate",e.ChartDialogsShowInsertIndicators="Chart.Dialogs.ShowInsertIndicators",e.ChartDialogsShowSymbolInfo="Chart.Dialogs.ShowSymbolInfo",e.ChartDrawingToolbarToggleVisibility="Chart.DrawingToolbar.ToggleVisibility",e.ChartLinesToggleBidAskLinesVisibility="Chart.Lines.ToggleBidAskLinesVisibility",e.ChartLinesToggleHighLowLinesVisibility="Chart.Lines.ToggleHighLowLinesVisibility",e.ChartLinesToggleAverageLineVisibility="Chart.Lines.ToggleAverageLineVisibility",e.ChartLinesToggleSeriesPrevCloseLineVisibility="Chart.Lines.ToggleSeriesPrevCloseLineVisibility",e.ChartLinesToggleSeriesPriceLineVisibility="Chart.Lines.ToggleSeriesPriceLineVisibility",e.ChartLineToolPitchforkChangeTypeToInside="Chart.LineTool.Pitchfork.ChangeTypeToInside",e.ChartLineToolPitchforkChangeTypeToModifiedSchiff="Chart.LineTool.Pitchfork.ChangeTypeToModifiedSchiff",e.ChartLineToolPitchforkChangeTypeToOriginal="Chart.LineTool.Pitchfork.ChangeTypeToOriginal",e.ChartLineToolPitchforkChangeTypeToSchiff="Chart.LineTool.Pitchfork.ChangeTypeToSchiff",e.ChartMarksToggleVisibility="Chart.Marks.ToggleVisibility",e.ChartMoveChartInLayout="Chart.MoveChartInLayout",e.ChartMoveChartInLayoutBack="Chart.MoveChartInLayout.Back",e.ChartMoveChartInLayoutForward="Chart.MoveChartInLayout.Forward",e.ChartObjectTreeShow="Chart.ObjectTree.Show",e.ChartPriceScaleLabelsToggleBidAskLabelsVisibility="Chart.PriceScale.Labels.ToggleBidAskLabelsVisibility",e.ChartPriceScaleLabelsToggleHighLowPriceLabelsVisibility="Chart.PriceScale.Labels.ToggleHighLowPriceLabelsVisibility",e.ChartPriceScaleLabelsToggleAveragePriceLabelVisibility="Chart.PriceScale.Labels.ToggleAveragePriceLabelVisibility",e.ChartPriceScaleLabelsToggleIndicatorsNameLabelsVisibility="Chart.PriceScale.Labels.ToggleIndicatorsNameLabelsVisibility",e.ChartPriceScaleLabelsToggleIndicatorsValueLabelsVisibility="Chart.PriceScale.Labels.ToggleIndicatorsValueLabelsVisibility",e.ChartPriceScaleLabelsToggleSeriesLastValueVisibility="Chart.PriceScale.Labels.ToggleSeriesLastValueVisibility",e.ChartPriceScaleLabelsToggleSymbolNameLabelsVisibility="Chart.PriceScale.Labels.ToggleSymbolNameLabelsVisibility",e.ChartPriceScaleLabelsToggleSymbolPrevCloseValueVisibility="Chart.PriceScale.Labels.ToggleSymbolPrevCloseValueVisibility",e.ChartPriceScaleMergeAllScalesToLeft="Chart.PriceScale.MergeAllScalesToLeft", -e.ChartPriceScaleMergeAllScalesToRight="Chart.PriceScale.MergeAllScalesToRight",e.ChartPriceScaleMoveToLeft="Chart.PriceScale.MoveToLeft",e.ChartPriceScaleMoveToRight="Chart.PriceScale.MoveToRight",e.ChartPriceScaleToggleAddOrderPlusButtonVisibility="Chart.PriceScale.ToggleAddOrderPlusButtonVisibility",e.ChartPriceScaleToggleAutoScaleSeriesOnly="Chart.PriceScale.ToggleAutoScaleSeriesOnly",e.ChartPriceScaleToggleCountdownToBarCloseVisibility="Chart.PriceScale.ToggleCountdownToBarCloseVisibility",e.ChartRedo="Chart.Redo",e.ChartRemoveAllIndicators="Chart.RemoveAllIndicators",e.ChartRemoveAllIndicatorsAndLineTools="Chart.RemoveAllIndicatorsAndLineTools",e.ChartRemoveAllLineTools="Chart.RemoveAllLineTools",e.ChartScalesReset="Chart.Scales.Reset",e.ChartScalesToggleLockPriceToBarRatio="Chart.Scales.ToggleLockPriceToBarRatio",e.ChartSelectedObjectHide="Chart.SelectedObject.Hide",e.ChartSelectedObjectRemove="Chart.SelectedObject.Remove",e.ChartSelectedObjectShowSettingsDialog="Chart.SelectedObject.ShowSettingsDialog",e.ChartSelectedObjectToggleLocked="Chart.SelectedObject.ToggleLocked",e.ChartSeriesPriceScaleToggleAutoScale="Chart.Series.PriceScale.ToggleAutoScale",e.ChartSeriesPriceScaleToggleIndexedTo100="Chart.Series.PriceScale.ToggleIndexedTo100",e.ChartSeriesPriceScaleToggleInvertPriceScale="Chart.Series.PriceScale.ToggleInvertPriceScale",e.ChartSeriesPriceScaleToggleLogarithmic="Chart.Series.PriceScale.ToggleLogarithmic",e.ChartSeriesPriceScaleTogglePercentage="Chart.Series.PriceScale.TogglePercentage",e.ChartSeriesPriceScaleToggleRegular="Chart.Series.PriceScale.ToggleRegular",e.ChartSessionBreaksToggleVisibility="Chart.SessionBreaks.ToggleVisibility",e.ChartTimeScaleReset="Chart.TimeScale.Reset",e.ChartUndo="Chart.Undo"}(s||(s={}))},28296:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Action:()=>l,ActionAsync:()=>c,Separator:()=>h,Loader:()=>d});var s=i(88537),r=i(2872),n=i.n(r),o=i(68335),a=i(9423);class l{constructor(e,t=a.guid()){this.type="action",this._destroyed=!1,this._binding=null,(0,s.assert)(void 0!==e.actionId,"actionId must be defined"),this.id=t,this._onUpdate=new(n()),this._options=e,this.update(e)}execute(){this._options.checkable&&this.update({checked:!this._options.checked}),this._options.onExecute&&this._options.onExecute(this)}getLabel(){return this._options.label||""}getSubItems(){return this._options.subItems||[]}isDisabled(){return!0===this._options.disabled}isActive(){return!0===this._options.active}isCheckable(){return!0===this._options.checkable}isChecked(){return!0===this._options.checked}isLoading(){return!0===this._options.loading}getSize(){var e;return null!==(e=this._options.size)&&void 0!==e?e:"normal"}getPayload(){return this._options.payload}update(e){this._destroyed||(this._unbindShortcut(),e.hotkeyHash&&(this._options.shortcutHint=(0,o.humanReadableHash)(e.hotkeyHash)),this._options=Object.assign(this._options,e),this._bindShortcut(),this._onUpdate.fire(this))}onUpdate(){return this._onUpdate}getState(){return{actionId:this._options.actionId,label:this.getLabel(),disabled:this.isDisabled(), -active:this.isActive(),subItems:this.getSubItems(),checkable:this.isCheckable(),checked:this.isChecked(),loading:this.isLoading(),size:this.getSize(),doNotCloseOnClick:this._options.doNotCloseOnClick||!1,shortcutHint:this._options.shortcutHint,hint:this._options.hint,icon:this._options.icon,iconChecked:this._options.iconChecked,toolbox:this._options.toolbox,showToolboxOnHover:this._options.showToolboxOnHover||!1,statName:this._options.statName,name:this._options.name,invisibleHotkey:this._options.invisibleHotkey,noInteractive:this._options.noInteractive}}getBinding(){return this._binding}setBinding(e){this._binding=e}destroy(){var e,t;this._destroyed=!0,this._onUpdate.destroy(),null!==this._binding&&this._binding.destroy(),this._unbindShortcut(),null===(t=(e=this._options).onDestroy)||void 0===t||t.call(e)}options(){return this._options}_bindShortcut(){if(!this._options.hotkeyGroup||!this._options.hotkeyHash)return;const e="string"==typeof this._options.label?this._options.label:this._options.name;this._hotkeyAction=this._options.hotkeyGroup.add({hotkey:this._options.hotkeyHash,desc:e,handler:()=>this.execute(),isDisabled:()=>this.isDisabled()})}_unbindShortcut(){this._hotkeyAction&&(this._hotkeyAction.destroy(),delete this._hotkeyAction)}}class c extends l{constructor(e,t,i){super({actionId:e},i),this._loader=t,this._loaded=!1}loadOptions(){return this._loadingPromise||(this._loadingPromise=this._loader().then(e=>{this._loaded=!0,this.update(e)})),this._loadingPromise}getState(){return this.loadOptions(),super.getState()}isLoading(){return!this.isLoaded()}isLoaded(){return this._loaded}}class h{constructor(e){this.type="separator",this.id=a.guid(),this._hint=e}getHint(){return this._hint}}class d extends l{constructor(e){super({actionId:e})}isLoading(){return!0}getSize(){return"big"}}},61671:(e,t,i)=>{"use strict";i.d(t,{defaultContextMenuOptions:()=>Ie,createPasteAction:()=>Me,createActionCopyPrice:()=>Le,createMTPredictorActions:()=>Ae,createLinesAction:()=>Ee,createSyncDrawingActions:()=>ke,ActionsProvider:()=>De});var s=i(88537),r=i(98125),n=(i(60521),i(80643)),o=i(67337),a=i(28296),l=i(62138),c=i(41847),h=i(81851),d=(i(73591),i(13672)),u=i(56756),p=i(68335),_=(i(25812),i(9771)),m=i(55153),g=(i(37667),i(88679)),f=i(94578),v=i(14291),S=i(79680),y=i(82724),b=i(28353),w=i(24980);i(85733);(0,r.getLogger)("Chart.ActionsProvider"),new w.TranslatedString("show alert label lines",(0,b.t)("show alert label lines")),new w.TranslatedString("hide alert label lines",(0,b.t)("hide alert label lines"));const C=new w.TranslatedString("change visibility",(0,b.t)("change visibility")),P=new w.TranslatedString("pin to scale {label}",(0,b.t)("pin to scale {label}")),T=new w.TranslatedString("pin to right scale",(0,b.t)("pin to right scale")),x=new w.TranslatedString("pin to left scale",(0,b.t)("pin to left scale")),I=(new w.TranslatedString("change earnings visibility",(0,b.t)("change earnings visibility")),new w.TranslatedString("change dividends visibility",(0,b.t)("change dividends visibility")), -new w.TranslatedString("change splits visibility",(0,b.t)("change splits visibility")),new w.TranslatedString("change continuous contract switch visibility",(0,b.t)("change continuous contract switch visibility")),new w.TranslatedString("show all ideas",(0,b.t)("show all ideas"))),M=new w.TranslatedString("show ideas of followed users",(0,b.t)("show ideas of followed users")),L=new w.TranslatedString("show my ideas only",(0,b.t)("show my ideas only")),A=(new w.TranslatedString("change events visibility on chart",(0,b.t)("change events visibility on chart")),new w.TranslatedString("add this symbol to entire layout",(0,b.t)("add this symbol to entire layout"))),E=new w.TranslatedString("add this indicator to entire layout",(0,b.t)("add this indicator to entire layout")),k=(new w.TranslatedString("add this strategy to entire layout",(0,b.t)("add this strategy to entire layout")),new w.TranslatedString("add this financial metric to entire layout",(0,b.t)("add this financial metric to entire layout")),new w.TranslatedString("apply drawing template",(0,b.t)("apply drawing template")),new w.TranslatedString("lock objects",(0,b.t)("lock objects"))),D=new w.TranslatedString("unlock objects",(0,b.t)("unlock objects")),V=((0,b.t)("Add alert"),(0,b.t)("Add alert on {series}"),(0,b.t)("Add alert on {drawing}"),(0,y.appendEllipsis)((0,b.t)("Edit {title} alert"))),B=((0,b.t)("Extend alert lines"),(0,b.t)("Trade"),(0,y.appendEllipsis)((0,b.t)("Create limit order")),(0,b.t)("Show")),N=(0,b.t)("Hide"),R=((0,b.t)("MTPredictor"),(0,b.t)("Apply Manual Risk/Reward"),(0,b.t)("Apply Manual Decision Point"),(0,b.t)("Analyze Trade Setup"),(0,b.t)("Apply Elliott Wave"),(0,b.t)("Apply Elliott Wave Intermediate"),(0,b.t)("Apply Elliott Wave Major"),(0,b.t)("Apply Elliott Wave Minor"),(0,b.t)("Apply WPT Up Wave"),(0,b.t)("Up Wave 1 or A"),(0,b.t)("Up Wave 2 or B"),(0,b.t)("Up Wave C"),(0,b.t)("Up Wave 3"),(0,b.t)("Up Wave 4"),(0,b.t)("Up Wave 5"),(0,b.t)("Apply WPT Down Wave"),(0,b.t)("Down Wave 1 or A"),(0,b.t)("Down Wave 2 or B"),(0,b.t)("Down Wave C"),(0,b.t)("Down Wave 3"),(0,b.t)("Down Wave 4"),(0,b.t)("Down Wave 5"),(0,b.t)("Pinned to scale {label} (hidden)")),O=(0,b.t)("Pinned to right scale (hidden)"),F=(0,b.t)("Pin to scale {label} (hidden)"),W=(0,b.t)("Pin to right scale (hidden)"),H=(0,b.t)("Pinned to scale {label}"),z=(0,b.t)("Pinned to right scale"),U=(0,b.t)("Pin to scale {label}"),j=(0,b.t)("Pin to right scale"),G=(0,b.t)("Pinned to left scale (hidden)"),q=(0,b.t)("Pin to left scale (hidden)"),Y=(0,b.t)("Pinned to left scale"),K=(0,b.t)("Pin to left scale"),$=(0,b.t)("Pin to new left scale"),X=(0,b.t)("Pin to new right scale"),Z=(0,b.t)("Pin to scale (now {label})"),J=(0,b.t)("Pin to scale (now no scale)"),Q=(0,b.t)("Pin to scale (now left)"),ee=(0,b.t)("Pin to scale (now right)"),te=(0,b.t)("No scale (fullscreen)"),ie=(0,b.t)("Move to"),se=(0,b.t)("Existing pane above"),re=(0,b.t)("New pane above"),ne=(0,b.t)("Existing pane below"),oe=(0,b.t)("New pane below"),ae=(0,b.t)("Bring to front"),le=(0,b.t)("Send to back"),ce=(0, -b.t)("Bring forward"),he=(0,b.t)("Send backward"),de=(0,b.t)("Visual order"),ue=(0,b.t)("Lines"),pe=((0,y.appendEllipsis)((0,b.t)("Add indicator/strategy on {studyTitle}")),(0,y.appendEllipsis)((0,b.t)("Add financial metric for {instrumentName}")),(0,y.appendEllipsis)((0,b.t)("Settings"))),_e=((0,b.t)("Apply default"),(0,y.appendEllipsis)((0,b.t)("Save as")),(0,b.t)("Copy")),me=(0,b.t)("Clone"),ge=((0,b.t)("Template"),(0,b.t)("Go to {lineToolName}")),fe=(0,b.t)("Unlock"),ve=(0,b.t)("Lock"),Se=((0,b.t)("Show earnings"),(0,b.t)("Show dividends"),(0,b.t)("Show splits"),(0,b.t)("Show continuous contract switch"),(0,b.t)("Show all ideas")),ye=(0,b.t)("Show ideas of followed users"),be=(0,b.t)("Show my ideas only"),we=((0,y.appendEllipsis)((0,b.t)("Settings")),(0,b.t)("Hide events on chart"),(0,b.t)("Add this symbol to entire layout")),Ce=(0,b.t)("Add this indicator to entire layout"),Pe=((0,b.t)("Add this strategy to entire layout"),(0,b.t)("Add this financial metric to entire layout"),(0,b.t)("No sync"),(0,b.t)("Sync in layout"),(0,b.t)("Sync globally"),(0,y.appendEllipsis)((0,b.t)("Symbol info"))),Te=(0,b.t)("Paste"),xe=(0,b.t)("Copy price"),Ie={general:!0,mainSeries:!0,mainSeriesTrade:!1,esdStudies:!0,studies:!0,fundamentals:!0,lineTools:!0,publishedCharts:!0,ordersAndPositions:!0,alerts:!0,chartEvents:!0,objectTree:!0,gotoLineTool:!1};function Me(e,t){return!t.isEmpty()&&o.enabled("datasource_copypaste")?new a.Action({actionId:"Chart.Clipboard.PasteSource",label:Te.trim(),shortcutHint:(0,p.humanReadableHash)(p.Modifiers.Mod+86),statName:"Paste",onExecute:()=>e.chartWidgetCollection().clipboard.uiRequestPaste(t)}):null}function Le(e,t){var i,s,r;const n=e.defaultPriceScale(),o=void 0!==t?n.coordinateToPrice(t,null!==(s=null===(i=e.mainDataSource())||void 0===i?void 0:i.firstValue())&&void 0!==s?s:0):e.model().mainSeries().lastValueData(4,!0,!0).price,l=null===(r=e.mainDataSource())||void 0===r?void 0:r.formatter();if(void 0===o||!l)return null;const c=l.format(o);return new a.Action({actionId:"Chart.Clipboard.CopyPrice",label:`${xe} (${c})`,statName:"CopyPrice",onExecute:()=>window.navigator.clipboard.writeText(c)})}function Ae(e,t,i,s){return null}function Ee(e){const t=e.actions(),i=[t.showPriceLine];return i.push(t.showHighLowPriceLines),o.enabled("show_average_close_price_line_and_label")&&i.push(t.showAverageClosePriceLine),new a.Action({actionId:"Chart.Lines",label:ue,statName:"Lines",subItems:i})}function ke(e,t){return[]}class De{constructor(e,t){this._chartWidget=e,this._options=(0,n.merge)((0,n.clone)(Ie),t||{})}async contextMenuActionsForSources(e,t){const i=e[0],s=this._options;if(i===this._chartWidget.model().mainSeries()&&s.mainSeries)return this._contextMenuActionsForSeries(i,t);if((0,h.isStudy)(i)&&s.studies)return this._contextMenuActionsForStudy(i);if((0,v.isLineTool)(i)&&s.lineTools){const t=e.filter(v.isLineTool);return this._contextMenuActionsForLineTool(t)}return[]}_isReadOnly(){return this._chartWidget.readOnly()}_createActionHide(e){return new a.Action({actionId:"Chart.SelectedObject.Hide", -label:N,icon:i(48111),statName:"HideSelectedObject",onExecute:this._chartWidget.hideDataSources.bind(this._chartWidget,[e])})}_createActionShow(e){const t=new a.Action({actionId:"Chart.SelectedObject.Show",checkable:!0,label:B,icon:i(93418),statName:"ToggleShow"}),s=new l.ActionBinder(t,e.properties().visible,this._chartWidget.model(),C);return t.setBinding(s),s.setValue(e.properties().visible.value()),t}_createActionScale(e){const t=(0,s.ensureNotNull)(e.priceScale()),r=this._chartWidget.model().model(),n=(0,s.ensureNotNull)(r.paneForSource(e)),o=n.priceScalePosition(t),l=("left"===o?n.leftPriceScales():n.rightPriceScales()).indexOf(t),h=r.priceScaleSlotsCount().totallySlots<2?"dontneedname":"needname",d="overlay"===o?"":(0,c.getPriceAxisNameInfo)(o,l).label,u=Z.format({label:d}),p={"left-needname":u,"left-dontneedname":Q,"right-needname":u,"right-dontneedname":ee,"overlay-needname":J,"overlay-dontneedname":J}[o+"-"+h];return new a.Action({actionId:"Chart.Source.ChangePriceScale",label:p,icon:i(74645),subItems:this._createActionScaleItems(e)})}_createActionScaleDetach(e,t,i,r){const n=this._chartWidget.model().model(),o=(0,s.ensureNotNull)(n.paneForSource(e));if(!o.canCreateNewPriceScale())return null;const l=(0,s.ensureNotNull)(e.priceScale()),h=l.canDetachSource(e),d=o.priceScalePosition(l),u=h||d!==t;if(!u)return null;const p=n.priceScaleSlotsCount(),_={left:{labelled:U,sided:$},right:{labelled:U,sided:X}},m="left"===t?o.leftPriceScales().length:o.rightPriceScales().length,g=p[t]>m?"labelled":"sided",f=(0,c.getPriceAxisNameInfo)(t,m).label,v=_[t][g].format({label:f});return new a.Action({actionId:"Chart.Source.ChangePriceScale",checkable:!1,disabled:!u,label:v,statName:r,payload:e,onExecute:i})}_onDetachLeft(e){const t=e.getPayload(),i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t));this._chartWidget.model().detachToLeft(t,r)}_onDetachRight(e){const t=e.getPayload(),i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t));this._chartWidget.model().detachToRight(t,r)}_createActionScaleDetachLeft(e){return this._createActionScaleDetach(e,"left",this._onDetachLeft.bind(this),"ToggleScaleLeft")}_createActionScaleDetachRight(e){return this._createActionScaleDetach(e,"right",this._onDetachRight.bind(this),"ToggleScaleRight")}_onMoveToScale(e){const t=e.getPayload();if(t.datasource.priceScale()===t.priceScale)return;const i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t.datasource));this._chartWidget.model().moveToScale(t.datasource,r,t.priceScale,t.undoText)}_createMoveToScaleAction(e,t,i,s){const r=e.priceScale()===t;return new a.Action({actionId:"Chart.Source.MoveToOtherScale",checkable:!0,checked:r,label:i,statName:"ToggleScale",payload:{datasource:e,priceScale:t,undoText:s},onExecute:this._onMoveToScale.bind(this)})}_onNoScale(e){const t=e.getPayload().datasource,i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(t));r.isOverlay(t)||this._chartWidget.model().detachNoScale(t,r)}_createActionNoScale(e){ -const t=this._chartWidget.model().model(),i=(0,s.ensureNotNull)(t.paneForSource(e)),r=i.actionNoScaleIsEnabled(e);return new a.Action({actionId:"Chart.Source.MoveToNoScale",checkable:!0,checked:i.isOverlay(e),label:te,disabled:!r,statName:"ToggleNoScale",payload:{datasource:e},onExecute:this._onNoScale.bind(this)})}_createActionScaleItems(e){const t=[],i=this._chartWidget.model().model(),r=(0,s.ensureNotNull)(i.paneForSource(e)),n=i.priceScaleSlotsCount().totallySlots>1,o=r.rightPriceScales(),l=r.leftPriceScales(),h=this._createActionScaleDetachRight(e),d=this._createActionScaleDetachLeft(e),u=o.length+l.length+(null===h?0:1)+(null===d?0:1)>2,p={right:{hidden:{checked:{labelled:R,sided:O},unchecked:{labelled:F,sided:W}},visible:{checked:{labelled:H,sided:z},unchecked:{labelled:U,sided:j}}},left:{hidden:{checked:{labelled:R,sided:G},unchecked:{labelled:F,sided:q}},visible:{checked:{labelled:H,sided:Y},unchecked:{labelled:U,sided:K}}}},_={right:T,left:x},m={left:r.visibleLeftPriceScales(),right:r.visibleRightPriceScales()},g=(t,i)=>{const s=("right"===i?o:l)[t],r=m[i].includes(s)?"visible":"hidden",a=e.priceScale()===s?"checked":"unchecked",h=n?"labelled":"sided",d=p[i],u=(0,c.getPriceAxisNameInfo)(i,t).label;return{actionText:d[r][a][h].format({label:u}),undoText:n?P.format({label:u}):_[i]}};t.push(...o.map((t,i)=>{const s=g(i,"right");return this._createMoveToScaleAction(e,t,s.actionText,s.undoText)})),null!==h&&t.push(h);u&&(o.length>0||null!==h)&&t.push(new a.Separator);t.push(...l.map((t,i)=>{const s=g(i,"left");return this._createMoveToScaleAction(e,t,s.actionText,s.undoText)})),null!==d&&t.push(d);u&&(l.length>0||null!==d)&&t.push(new a.Separator);return t.push(this._createActionNoScale(e)),t}_createVisualOrderAction(e){const t=this._chartWidget.model(),s=t.availableZOrderOperations(e),r=[new a.Action({actionId:"Chart.Source.VisualOrder.BringToFront",label:ae,statName:"BringToFront",disabled:!s.bringToFrontEnabled,onExecute:()=>t.bringToFront(e)}),new a.Action({actionId:"Chart.Source.VisualOrder.SendToBack",label:le,statName:"SendToBack",disabled:!s.sendToBackEnabled,onExecute:()=>t.sendToBack(e)}),new a.Action({actionId:"Chart.Source.VisualOrder.BringForward",label:ce,statName:"BringForward",disabled:!s.bringForwardEnabled,onExecute:()=>t.bringForward(e)}),new a.Action({actionId:"Chart.Source.VisualOrder.SendBackward",label:he,statName:"SendBackward",disabled:!s.sendBackwardEnabled,onExecute:()=>t.sendBackward(e)})];return new a.Action({actionId:"Chart.Source.VisualOrder",label:de,icon:i(26159),statName:"VisualOrder",subItems:r})}_createActionMergeUp(e){const t=this._chartWidget.model();return t.model().isMergeUpAvailableForSource(e)?new a.Action({actionId:"Chart.Source.MergeUp",label:se,statName:"MergeUp",onExecute:()=>t.mergeSourceUp(e)}):null}_createActionUnmergeUp(e){const t=this._chartWidget.model();return t.model().isUnmergeAvailableForSource(e)?new a.Action({actionId:"Chart.Source.UnmergeUp",label:re,statName:"UnmergeUp",onExecute:()=>t.unmergeSourceUp(e)}):null}_createActionMergeDown(e){ -const t=this._chartWidget.model();return t.model().isMergeDownAvailableForSource(e)?new a.Action({actionId:"Chart.Source.MergeDown",label:ne,statName:"MergeDown",onExecute:()=>t.mergeSourceDown(e)}):null}_createActionUnmergeDown(e){const t=this._chartWidget.model();return t.model().isUnmergeAvailableForSource(e)?new a.Action({actionId:"Chart.Source.UnmergeDown",label:oe,statName:"UnmergeDown",onExecute:()=>t.unmergeSourceDown(e)}):null}_mergeContentMenuItems(e){return[this._createActionMergeUp(e),this._createActionUnmergeUp(e),this._createActionMergeDown(e),this._createActionUnmergeDown(e)].filter(n.notNull)}_createActionMove(e){const t=this._mergeContentMenuItems(e);return t.length>0?new a.Action({actionId:"Chart.Source.MoveToPane",label:ie,icon:i(6354),subItems:t}):null}_contextMenuActionsForSeries(e,t){var i;const r=[],n=e.properties().childs().visible.value(),l=this._chartWidget.model().model(),c=(0,s.ensureNotNull)(l.paneForSource(e)),h=this._chartWidget.actions();if(this._isReadOnly())r.push(n?this._createActionHide(e):this._createActionShow(e)),r.push(new a.Separator),r.push(this._createActionScale(e));else{0,r.length>0&&!(r[r.length-1]instanceof a.Separator)&&r.push(new a.Separator),o.enabled("symbol_info")&&r.push(h.showSymbolInfoDialog);l.mainSeries().symbolInfo();if(r.length>0&&!(r[r.length-1]instanceof a.Separator)&&r.push(new a.Separator),!c.isEmpty()&&o.enabled("datasource_copypaste")){const e=Le(c,t&&"localY"in t?t.localY:void 0),i=Me(this._chartWidget,c);(e||i)&&(e&&r.push(e),i&&r.push(i),r.push(new a.Separator))}r.push(this._createVisualOrderAction([e]));const s=this._createActionMove(e);null!==s&&r.push(s),r.push(this._createActionScale(e)),r.push(n?this._createActionHide(e):this._createActionShow(e)),r.push(new a.Separator),r.push(Ee(this._chartWidget)),r.push(new a.Separator);Boolean(null===(i=window.widgetbar)||void 0===i?void 0:i.widget("watchlist"))&&h.addToWatchlist&&r.push(h.addToWatchlist),o.enabled("text_notes")&&r.push(h.addToTextNotes),r[r.length-1]instanceof a.Separator||r.push(new a.Separator),o.enabled("show_chart_property_page")&&!this._chartWidget.onWidget()&&r.push(h.mainSeriesPropertiesAction),r[r.length-1]instanceof a.Separator&&r.pop()}return r}_createActionAddChildStudy(e){throw new Error("unsupported")}_createActionAddFundamentals(e){return null}_createActionShowSymbolInfoDialog(e,t){return new a.Action({actionId:"Chart.Dialogs.ShowSymbolInfo",label:Pe,icon:i(69061),checkable:!1,statName:"SymbolInfo",onExecute:()=>{const i=e.symbol(),s={symbolInfo:e.symbolInfo(),unitDescription:e=>t.description(e)};(0,g.showSymbolInfoDialog)(i,s)}})}_createActionShowProperties(e){return new a.Action({actionId:"Chart.Indicator.ShowSettingsDialog",label:pe,icon:i(44368),statName:"EditSelectedObject",onExecute:()=>this._chartWidget.showSourceProperties(e)})}_contextMenuActionsForStudy(e){const t=this._chartWidget.actions(),i=e.properties().visible.value(),s=[];if(!e.userEditEnabled())return s;if(this._chartWidget.readOnly())s.push(i?this._createActionHide(e):this._createActionShow(e)), -s.push(new a.Separator),e.constructor instanceof d.NonSeriesStudy||s.push(this._createActionScale(e));else{0,o.enabled("study_on_study")&&e.canHaveChildren()&&s.push(this._createActionAddChildStudy(e));const r=this._createApplyToEntireLayoutCommand(e);if(null!==r&&s.push(r),s.length>0&&!(s[s.length-1]instanceof a.Separator)&&s.push(new a.Separator),o.enabled("symbol_info")&&(e instanceof m.StudyCompare||e instanceof _.study_Overlay)&&null!==e.symbolInfo()&&(s.push(this._createActionShowSymbolInfoDialog(e,this._chartWidget.model().model().availableUnits())),s.push(new a.Separator)),s.push(this._createVisualOrderAction([e])),!(e.constructor instanceof d.NonSeriesStudy)){const t=this._createActionMove(e);null!==t&&s.push(t),s.push(this._createActionScale(e))}s.push(new a.Separator);const n=e.metaInfo();if(e.copiable()){const t=new a.Action({actionId:"Chart.Clipboard.CopySource",label:_e,shortcutHint:(0,p.humanReadableHash)(p.Modifiers.Mod+67),statName:"Copy",onExecute:()=>{this._chartWidget.chartWidgetCollection().clipboard.uiRequestCopy([e])}});s.push(t)}s.push(i?this._createActionHide(e):this._createActionShow(e)),s.push(t.studyRemove),s.push(new a.Separator),o.enabled("property_pages")&&new u.MetaInfoHelper(n).hasUserEditableOptions()&&s.push(this._createActionShowProperties(e)),s[s.length-1]instanceof a.Separator&&s.pop()}return s}_createEditAlertDrawingAction(e){return new TVAction({label:V.format({title:e.title()}),icon:TbbiEditAlertSvg,statName:"EditAlert",onExecute:()=>{window.runOrSignIn(()=>{e.editAlert("pane_context_menu_edit_alert")},{source:"Alert edit from pane context menu"})}})}_createLineToolTemplateAction(e){return null}_createActionToggleLockLineTools(e){const t=e[0].properties().frozen.value(),s=t?fe:ve;return new a.Action({actionId:"Chart.SelectedObject.ToggleLocked",label:s,statName:"ToggleLockSelectedObject",checkable:!0,icon:i(t?76576:54859),onExecute:()=>{if(1===e.length)this._chartWidget.toggleLockSelectedObject();else{const i=t?D:k,s=this._chartWidget.model();s.withMacro(i,()=>{e.forEach(e=>{s.setProperty(e.properties().frozen,!t,i)})})}}})}async _contextMenuActionsForLineTool(e){const t=[],s=this._chartWidget.actions(),r=(this._chartWidget.model().model(),()=>{t.push(this._createVisualOrderAction(e))}),n=()=>{const s=e.filter(e=>e.cloneable());if(s.length>0){const e=new a.Action({actionId:"Chart.LineTool.Clone",label:me,icon:i(17191),shortcutHint:(0,p.humanReadableModifiers)(p.Modifiers.Mod)+"Drag",statName:"Clone",onExecute:()=>this._chartWidget.model().cloneLineTools(s,!1)},"Clone");t.push(e)}return!!s.length},l=()=>{const i=e.filter(e=>e.copiable());if(i.length>0){const e=new a.Action({actionId:"Chart.Clipboard.CopyLineTools",label:_e,shortcutHint:(0,p.humanReadableHash)(p.Modifiers.Mod+67),statName:"Copy",onExecute:()=>this._chartWidget.chartWidgetCollection().clipboard.uiRequestCopy(i)},"Copy");t.push(e)}return!!i.length},c=()=>{const e=(this._chartWidget,[]);return t.push(...e),e.length>0},h=e=>{const i=new a.Action({actionId:"Chart.ScrollToLineTool",label:ge.format({ -lineToolName:e.title()}),statName:"GoToLineTool",checkable:!1,onExecute:async()=>this._chartWidget.model().scrollToLineTool(e)});t.push(i)},d=e=>{const t=this._chartWidget.model().model().lineToolsGroupModel(),i=e.map(e=>t.groupForLineTool(e));return new Set(i).size<=1};if(1===e.length){const i=e[0];if(this._chartWidget.readOnly())t.push(s.lineHide);else if(i.userEditEnabled()){0,r(),this._options.objectTree&&s.paneObjectTree&&t.push(s.paneObjectTree),t.push(new a.Separator);let e=n();e=l()||e,e=c()||e,e&&t.push(new a.Separator),t.push(this._createActionToggleLockLineTools([i])),t.push(s.lineHide),t.push(s.lineRemove),i.points().length>0&&this._options.gotoLineTool&&(t.push(new a.Separator),h(i));const d=await this._chartWidget.propertiesDefinitionsForSource(i);if(o.enabled("property_pages")&&null!==d&&(t.push(new a.Separator),t.push(s.format)),i.additionalActions){t.push(new a.Separator);const e=i.additionalActions(this._chartWidget.model());t.push(...e)}}}else this._options.objectTree&&s.paneObjectTree&&t.push(s.paneObjectTree),d(e)&&r(),t.length>0&&t.push(new a.Separator),n(),l(),c(),t.push(new a.Separator),t.push(this._createActionToggleLockLineTools(e)),t.push(s.lineHide),t.push(s.lineRemove),o.enabled("property_pages")&&(t.push(new a.Separator),t.push(s.format));return t}_createEarningsShow(){return null}_createRollDatesShow(){return null}_createDividendsShow(){return null}_createSplitsShow(){return null}_contextMenuActionsForESD(){return[]}_contextMenuActionsForRollDates(){return[]}_contextMenuActionsForPublishedTimeline(e){const t=this._chartWidget.actions(),i=[];if(i.push(t.lineHide),window.is_authenticated){const t=e.properties().childs().filter,s=new TVAction({checked:t.value()===PublishedChartsFilter.None,checkable:!0,label:Se,name:"ToggleAllIdeas",statName:"ToggleAllIdeas",onExecute:()=>this._chartWidget.model().setProperty(t,PublishedChartsFilter.None,I)}),r=new TVAction({checked:t.value()===PublishedChartsFilter.Following,checkable:!0,label:ye,name:"ToggleIdeasOfPeopleAndUser",statName:"ToggleIdeasOfPeopleAndUser",onExecute:()=>this._chartWidget.model().setProperty(t,PublishedChartsFilter.Following,M)}),n=new TVAction({checked:t.value()===PublishedChartsFilter.Private,checkable:!0,label:be,name:"ToggleUserIdeas",statName:"ToggleUserIdeas",onExecute:()=>this._chartWidget.model().setProperty(t,PublishedChartsFilter.Private,L)});i.push(new a.Separator,s,r,n)}return i}_contextMenuActionsForTradingDrawings(e){return e.contextMenuItems()}_createAlertToggleHorzLineLabelAction(){throw new Error("Not implemented")}_contextMenuActionsForAlertLabel(e){throw new Error("Not implemented")}_contextMenuActionsForChartEvents(e){return[]}_createApplyToEntireLayoutCommand(e){if(!this._chartWidget.chartWidgetCollection().applyIndicatorsToAllChartsAvailable())return null;const t=this._chartWidget.model().model();if(e.parentSource()!==t.mainSeries())return null;const i=(0, -s.ensureNotNull)(t.paneForSource(e)),r=t.paneForSource(t.mainSeries())===i,n=e instanceof m.StudyCompare&&e.priceScale()===t.mainSeries().priceScale()&&(0,s.ensureNotNull)(e.priceScale()).isPercentage(),o=r?void 0:t.panes().indexOf(i);let l=Ce,c=E,h="AddStudyToEntireLayout";return(0,S.isActingAsSymbolSource)(e)&&(l=we,c=A,h="AddSymbolToEntireLayout"),new a.Action({actionId:"Chart.AddIndicatorToAllCharts",label:l,statName:h,onExecute:()=>{const i=(0,s.ensureNotNull)((0,f.clipboardDataForSources)(t.id(),[e])),a=this._chartWidget.chartWidgetCollection(),l={isOnMainPane:r,asCompare:n,paneIndex:o};a.applyIndicatorToAllCharts(this._chartWidget,i,l,c)}},"applyStudyToEntireLayout")}}},16906:(e,t,i)=>{"use strict";i.r(t),i.d(t,{supportedLineTools:()=>s});const s={cursor:{name:"cursor",onlySelectable:!0},dot:{name:"dot",onlySelectable:!0},arrow_cursor:{name:"arrow",onlySelectable:!0},eraser:{name:"eraser",onlySelectable:!0},measure:{name:"measure",onlySelectable:!0},zoom:{name:"zoom",onlySelectable:!0},brush:{name:"LineToolBrush"},highlighter:{name:"LineToolHighlighter"},text:{name:"LineToolText"},anchored_text:{name:"LineToolTextAbsolute"},note:{name:"LineToolNote"},anchored_note:{name:"LineToolNoteAbsolute"},signpost:{name:"LineToolSignpost"},callout:{name:"LineToolCallout"},balloon:{name:"LineToolBalloon"},arrow_up:{name:"LineToolArrowMarkUp"},arrow_down:{name:"LineToolArrowMarkDown"},arrow_left:{name:"LineToolArrowMarkLeft"},arrow_right:{name:"LineToolArrowMarkRight"},price_label:{name:"LineToolPriceLabel"},price_note:{name:"LineToolPriceNote"},arrow_marker:{name:"LineToolArrowMarker"},flag:{name:"LineToolFlagMark"},vertical_line:{name:"LineToolVertLine"},horizontal_line:{name:"LineToolHorzLine"},cross_line:{name:"LineToolCrossLine"},horizontal_ray:{name:"LineToolHorzRay"},trend_line:{name:"LineToolTrendLine"},info_line:{name:"LineToolInfoLine"},trend_angle:{name:"LineToolTrendAngle"},arrow:{name:"LineToolArrow"},ray:{name:"LineToolRay"},extended:{name:"LineToolExtended"},parallel_channel:{name:"LineToolParallelChannel"},disjoint_angle:{name:"LineToolDisjointAngle"},flat_bottom:{name:"LineToolFlatBottom"},pitchfork:{name:"LineToolPitchfork"},schiff_pitchfork_modified:{name:"LineToolSchiffPitchfork"},schiff_pitchfork:{name:"LineToolSchiffPitchfork2"},inside_pitchfork:{name:"LineToolInsidePitchfork"},pitchfan:{name:"LineToolPitchfan"},gannbox:{name:"LineToolGannSquare"},gannbox_square:{name:"LineToolGannComplex"},gannbox_fixed:{name:"LineToolGannFixed"},gannbox_fan:{name:"LineToolGannFan"},fib_retracement:{name:"LineToolFibRetracement"},fib_trend_ext:{name:"LineToolTrendBasedFibExtension"},fib_speed_resist_fan:{name:"LineToolFibSpeedResistanceFan"},fib_timezone:{name:"LineToolFibTimeZone"},fib_trend_time:{name:"LineToolTrendBasedFibTime"},fib_circles:{name:"LineToolFibCircles"},fib_spiral:{name:"LineToolFibSpiral"},fib_speed_resist_arcs:{name:"LineToolFibSpeedResistanceArcs"},fib_wedge:{name:"LineToolFibWedge"},fib_channel:{name:"LineToolFibChannel"},xabcd_pattern:{name:"LineTool5PointsPattern"},cypher_pattern:{ -name:"LineToolCypherPattern"},abcd_pattern:{name:"LineToolABCD"},triangle_pattern:{name:"LineToolTrianglePattern"},"3divers_pattern":{name:"LineToolThreeDrivers"},head_and_shoulders:{name:"LineToolHeadAndShoulders"},elliott_impulse_wave:{name:"LineToolElliottImpulse"},elliott_triangle_wave:{name:"LineToolElliottTriangle"},elliott_triple_combo:{name:"LineToolElliottTripleCombo"},elliott_correction:{name:"LineToolElliottCorrection"},elliott_double_combo:{name:"LineToolElliottDoubleCombo"},cyclic_lines:{name:"LineToolCircleLines"},time_cycles:{name:"LineToolTimeCycles"},sine_line:{name:"LineToolSineLine"},long_position:{name:"LineToolRiskRewardLong"},short_position:{name:"LineToolRiskRewardShort"},forecast:{name:"LineToolPrediction"},date_range:{name:"LineToolDateRange"},price_range:{name:"LineToolPriceRange"},date_and_price_range:{name:"LineToolDateAndPriceRange"},bars_pattern:{name:"LineToolBarsPattern"},ghost_feed:{name:"LineToolGhostFeed"},projection:{name:"LineToolProjection"},rectangle:{name:"LineToolRectangle"},rotated_rectangle:{name:"LineToolRotatedRectangle"},circle:{name:"LineToolCircle"},ellipse:{name:"LineToolEllipse"},triangle:{name:"LineToolTriangle"},polyline:{name:"LineToolPolyline"},path:{name:"LineToolPath"},curve:{name:"LineToolBezierQuadro"},double_curve:{name:"LineToolBezierCubic"},arc:{name:"LineToolArc"},icon:{name:"LineToolIcon"},regression_trend:{name:"LineToolRegressionTrend"},fixed_range_volume_profile:{name:"LineToolFixedRangeVolumeProfile"}}},94578:(e,t,i)=>{"use strict";i.d(t,{clipboardDataForSources:()=>o});var s=i(88537),r=i(81851),n=i(14291);function o(e,t){if(1===t.length&&(0,r.isStudy)(t[0])){const e=t[0];return{title:e.title(),sources:[{source:(0,s.ensureNotNull)(e.state()),type:"study"}]}}const i={sources:[],title:""};return i.sources=t.filter(e=>e.copiable()&&(0,n.isLineTool)(e)).map(t=>{const i={type:"drawing",geometry:t.geometry(),source:{...t.state(!1),points:t.normalizedPoints()},modelId:e};return delete i.source.alertId,i}),i.sources.length>0?(1===i.sources.length?i.title=t[0].title&&t[0].title():i.title="Drawings",i):null}},17937:(e,t,i)=>{"use strict";i.d(t,{addBrandingSource:()=>z});var s=i(4889),r=i(86441),n=i(34026),o=i(45112),a=i(88537),l=i(28353),c=i(67337),h=i(99305),d=i(84346),u=i(68587),p=i(68906),_=i(59199),m=i(42759),g=i(93435),f=i(52892),v=i(22799),S=i(76818);i(95306);const y=c.enabled("adaptive_logo"),b=c.enabled("small_no_display"),w=c.enabled("38914"),C="Ch{0}ar{1}t{2}by{3}{4}".format("",""," "," ","TradingView"),P="po{0}wer{1}ed{2}by{3}{4}".format("",""," "," ","TradingView"),T="by{3}{4}".format("",""," "," ","TradingView"),x=w?T:P,I=navigator.userAgent.toLowerCase().indexOf("chrome")>-1&&-1===navigator.userAgent.toLowerCase().indexOf("edge"),M=window.urlParams||{};window.initData;M.no_referral_id&&enable(M.referral_id||"","aggressive");(0,l.t)("By TradingView"),(0,l.t)("{symbol} financials by TradingView"),(0,l.t)("More features on tradingview.com"),(0,l.t)("powered by");const L=(0,l.t)(C),A=(0,l.t)(x);function E(e){return"px EuclidCircular"===e?.1:0} -class k extends h.CustomSourceBase{constructor(e,t,i,r){super(e,t),this._canvasWidth=0,this._paneHeight=0,this._left=13,this._bottom=16,this._layout="site_branding",this._needToShow=!0,this._showBranding=!1,this._customLogoSrc="",this._customLogoLink="",this._cubicBezier=new u.CubicBezier(.4,.01,.22,1),this._openAnimation=null,this._closeAnimation=null,this._powBy=null,this._custom=null,this._mainSeries=this._model.mainSeries(),this._showAllowance=i,this._showForPro=Boolean(r),this._checkLayout(),"widget_custom_branding"!==this._layout&&"fundamental_custom_branding"!==this._layout||(this._left=8,this._bottom=5);const n=()=>{this._needToShow?this._showBranding=!0:this._showBranding=!1};this._resizeHandlerDelayed=(0,s.default)(n,200),n(),window.addEventListener("resize",this._resizeHandlerDelayed),this._monitorCanvas=(0,g.createDisconnectedBoundCanvas)(document,new g.Size(0,0)),this._monitorCanvas.subscribeCanvasConfigured(()=>{this._init()}),this._model.isSnapshot()?this._init():(this._mainSeries.dataEvents().symbolResolved().subscribe(this,this._init),null!==this._mainSeries.symbolInfo()&&this._init()),this._renderer={draw:this.draw.bind(this),hitTest:this.hitTest.bind(this)}}destroy(){window.removeEventListener("resize",this._resizeHandlerDelayed),this._mainSeries.dataEvents().symbolResolved().unsubscribeAll(this),this._powBy&&this._powBy.destroy()}paneViews(e){if(window.TradingView.printing)return[];if(!this._showAllowance())return[];if("site_branding"===this._layout&&!this._showForPro&&window.user&&window.user.is_pro)return[];const t=c.enabled("move_logo_to_main_pane");let i=!1;if(e.maximized().value())i=!0;else if(t)i=this._model.mainPane().collapsed().value()?e===this._model.panes().find(e=>!e.collapsed().value()):e.isMainPane();else if(this._model.lastPane().collapsed().value()){const t=this._model.panes();for(let s=t.length-1;s>=0;--s){const r=t[s];if(!r.collapsed().value()){i=r===e;break}}}else i=e.isLast();return i?[{renderer:this.renderer.bind(this)}]:[]}labelPaneViews(e){return[]}priceAxisViews(e,t){return[]}updateAllViews(){}updateViewsForPane(e){}priceScale(){return null}renderer(e,t){return this._paneHeight=e,this._canvasWidth=t,this._renderer}hasContextMenu(){return!1}onClickOutside(){this._hasAnimation()&&this._startCloseAnimation()}hitTest(e){return!this._showBranding||c.enabled("logo_without_link")?null:this._powBy&&"widget_custom_no_powered_branding"!==this._layout&&"fundamental_custom_no_powered_branding"!==this._layout&&(this._powBy.hitTest(e)||this._custom&&this._custom.hitTest(e))?new d.HitTestResult(d.HitTestResult.CUSTOM,{hideCrosshairLinesOnHover:!0,clickHandler:()=>{this._openLink()},tapHandler:()=>{this._hasAnimation()?this._toggleOpenAnimatedOrOpenLink():this._openLink()},mouseEnterHandler:()=>{this._hasAnimation()&&this._startOpenAnimation()},mouseLeaveHandler:()=>{this._hasAnimation()&&this._startCloseAnimation()}}):null}tvUrl(){let e=new URL("https://www.tradingview.com/");if(this._customLogoLink)return this._customLogoLink -;if("library_branding"===this._layout||"library_custom_branding"===this._layout){let t;switch(!0){case c.enabled("charting_library"):t="library";break;case c.enabled("trading_terminal"):t="trading-terminal"}return e.searchParams.append("utm_source",window.location.origin),e.searchParams.append("utm_medium","library"),t&&e.searchParams.append("utm_campaign",t),e.toString()}return e.toString()}draw(e,t){if(!this._showBranding)return;let i=0;M.utm=!0,(0,g.drawScaled)(e,t.pixelRatio,()=>{this._powBy&&this._powBy.show&&(i=this._powBy.height,e.save(),e.translate(this._left,this._paneHeight-this._bottom-i),this._powBy.draw(e,t,this._canvasWidth),e.restore()),this._custom&&this._custom.show&&(e.save(),e.translate(this._left,this._paneHeight-this._bottom-i-this._custom.height),this._custom.draw(e,t),e.restore())})}_init(){const e=this._mainSeries.symbolInfo();this._powBy&&this._powBy.destroy(),this._powBy=new W(this._layout,(null==e?void 0:e.name)||"",this._model,()=>this._model.fullUpdate()),this._custom=new H(this._layout,this._customLogoSrc,()=>this._model.fullUpdate()),this._openAnimation=null,this._closeAnimation=null}_checkLayout(){if(c.enabled("widget"))0;else if(c.enabled("charting_library")||c.enabled("trading_terminal")){const e=JSON.parse(M.logo)||{};e.image?(this._customLogoSrc=e.image,this._customLogoLink=e.link,this._needToShow=c.enabled("widget_logo"),c.enabled("link_to_tradingview")?this._layout="library_custom_branding":this._layout="library_custom_no_powered_branding"):(this._layout="library_branding",this._needToShow=c.enabled("widget_logo"))}else this._layout="site_branding"}_startOpenAnimation(){null===this._openAnimation&&(null!==this._closeAnimation&&(this._closeAnimation.stop(),this._closeAnimation=null),this._openAnimation=(0,_.doAnimate)({from:this._currentStateForAnimation(),to:this._openedStateForAnimation(),duration:200,easing:this._cubicBezier.easingFunc,onStep:this._animatedDrawStep.bind(this)}))}_startCloseAnimation(){null===this._closeAnimation&&(null!==this._openAnimation&&(this._openAnimation.stop(),this._openAnimation=null),this._closeAnimation=(0,_.doAnimate)({from:this._currentStateForAnimation(),to:this._closedStateForAnimation(),duration:200,easing:this._cubicBezier.easingFunc,onStep:this._animatedDrawStep.bind(this)}))}_currentStateForAnimation(){return(0,a.ensureNotNull)(this._powBy).width}_closedStateForAnimation(){return(0,a.ensureNotNull)(this._powBy).minimizedAnimationWidth()}_openedStateForAnimation(){return(0,a.ensureNotNull)(this._powBy).maximizedAnimationWidth()}_animatedDrawStep(e,t){(0,a.ensureNotNull)(this._powBy).animatedDrawStep(e,t),this._model.lightUpdate()}_hasAnimation(){return null!==this._powBy&&this._powBy.hasAnimation()}_openLink(){if("site_branding"===this._layout)return!1;c.enabled("widget");return(0,a.ensureNotNull)(window.open(this.tvUrl(),"_blank")).opener=null,!0}_toggleOpenAnimatedOrOpenLink(){null!==this._openAnimation&&this._openAnimation.completed()?this._openLink()||this._startCloseAnimation():this._startOpenAnimation()}}function D(e){return!y||e>500} -const V={customBrandingTradingViewText:o.colorsPalette["color-brand"],customBrandingText:o.colorsPalette["color-cold-gray-850"],background:o.colorsPalette["color-cold-gray-900"],shadow:(0,p.generateColor)(o.colorsPalette["color-white"],91),text:o.colorsPalette["color-white"],staticTextBackground:(0,p.generateColor)(o.colorsPalette["color-cold-gray-800"],20),logo:o.colorsPalette["color-white"]},B={customBrandingTradingViewText:o.colorsPalette["color-brand"],customBrandingText:o.colorsPalette["color-cold-gray-850"],background:o.colorsPalette["color-white"],shadow:(0,p.generateColor)(o.colorsPalette["color-black"],91),text:o.colorsPalette["color-cold-gray-900"],staticTextBackground:(0,p.generateColor)(o.colorsPalette["color-white"],20),logo:o.colorsPalette["color-cold-gray-900"]};const N={};function R(e,t){const i=N[e];if(void 0!==i)return i.image||null;const s={};return N[e]=s,function(e){return new Promise(t=>{const i=f.replace(/fill="#[\da-f]{6}"/i,`fill="${e}"`),s=new Image;s.onload=()=>{s.onload=null,t(s)},s.src=URL.createObjectURL(new Blob([i],{type:"image/svg+xml"}))})}(e).then(e=>{s.image=e,t()}),null}function O(e){const{a:t,d:i,e:s,f:n}=e;return new r.Point(s/t,n/i)}class F{constructor(){this._originPoint=null}hitTest(e){const t=this._getHitTestBox();if(t)return(0,n.pointInBox)(e,t)}_getHitTestBox(){const e=this._originPoint;if(e){const{x:t,y:i}=e;return(0,r.box)(e,new r.Point(t+this.width,i+this.height))}}}class W extends F{constructor(e,t,i,s){if(super(),this.show=!0,this.borderRadius=0,this._needDisplayImage=!1,this._imageWidth=22,this._imageHeight=11,this._animatedWidth=32,this._font="px "+v.CHART_FONT_FAMILY,this._txt="TradingView",this._textWidth=0,this._maximizedAnimationTextWidth=0,this._textWidthCache=new S.TextWidthCache,this._pixelRatio=1,this._model=i,this._layout=e,this._symbol=t,this.showAnimatedBranding=c.enabled("show_animated_logo")||"widget_branding"===this._layout,this._fontSize=this.showAnimatedBranding?11:14,this.showAnimatedBranding||"widget_custom_branding"!==this._layout&&"fundamental_custom_branding"!==this._layout||(this._fontSize=12),this.width=32,this.height=this._fontSize+2,this._onReadyCallback=s,this._init(),document.fonts&&document.fonts.check&&document.fonts.load){document.fonts.check(this._fontSize+"px EuclidCircular")?this._font="px EuclidCircular":document.fonts.load(this._fontSize+"px EuclidCircular",this._txt).then(()=>{this._font="px EuclidCircular",this._recalculateMetrics()})}this._recalculateMetrics()}destroy(){this._model.properties().childs().paneProperties.childs().background.unsubscribeAll(this),this._model.onChartThemeLoaded().unsubscribeAll(this)}hasAnimation(){return this.showAnimatedBranding}minimizedAnimationWidth(){return 32}maximizedAnimationWidth(){return this._maximizedAnimationTextWidth+32-3}animatedDrawStep(e,t){this._animatedWidth=t}draw(e,t,i){t.pixelRatio!==this._pixelRatio&&(this._textWidthCache.reset(),this._pixelRatio=t.pixelRatio);const s=this._colors;if(this.showAnimatedBranding)this._needDisplayImage&&null!==this._getLogoImage(s.logo)&&(e.save(), -e.translate(-Math.ceil((32-this._imageWidth)/2),Math.floor((32-this._imageHeight)/2)),this._originPoint=O(e.getTransform()),this.borderRadius=16,this._drawFillRectWithRoundedCorner(e,-.5,0,this._animatedWidth,32,this.borderRadius),this._drawLogoImage(e,Math.round((32-this._imageWidth)/2),Math.round((32-this._imageHeight)/2)+0),this._animatedWidth>32&&(e.translate(Math.round(32),Math.round(this._fontSize*E(this._font))),this._drawFillTextCropWidth(e,this._animatedWidth-32)),e.restore(),this.width=this._animatedWidth);else if("widget_custom_branding"===this._layout||"fundamental_custom_branding"===this._layout){e.font=this._fontSize+this._font;const t=e.measureText(this._txt).width+2;this.width=t+e.measureText("TradingView").width+2,this._originPoint=O(e.getTransform()),e.save(),e.globalAlpha=.7,e.fillStyle=this._colors.customBrandingText,e.fillText(this._txt,0,12),e.fillStyle=this._colors.customBrandingTradingViewText,e.fillText("TradingView",t,12),e.restore()}else if(function(e){return!b||e>480}(i))if(this._needDisplayImage&&null!==this._getLogoImage(s.logo)){e.save(),e.translate(-Math.ceil((32-this._imageWidth)/2),Math.floor((32-this._imageHeight)/2)),this._originPoint=O(e.getTransform()),this.borderRadius=16,this._drawBgCircle(e),e.drawImage((0,a.ensureNotNull)(this._getLogoImage(s.logo)),Math.round((32-this._imageWidth)/2),Math.round((32-this._imageHeight)/2)+0);const t=D(i);t&&(e.translate(37,Math.round(this._fontSize*E(this._font))),this._drawTextStroke(e),this._drawTextFill(e)),e.restore(),this.width=32,t&&(this.width+=this._maximizedAnimationTextWidth)}else{const t=D(i);t&&(e.save(),e.translate(I?-.5:0,-.5),this._drawTextStroke(e),this._drawTextFill(e),e.restore()),t&&(this.width=this._maximizedAnimationTextWidth)}else this.width=0}_init(){this._checkLayout(),this.show&&(this.height=this._needDisplayImage?32:this._fontSize+2,this._updateColors(),this._model.properties().childs().paneProperties.childs().background.subscribe(this,this._updateColors),this._model.onChartThemeLoaded().subscribe(this,this._updateColors))}_recalculateMetrics(){const e=(0,g.createDisconnectedBoundCanvas)(document,new g.Size(0,0)),t=(0,g.getPretransformedContext2D)(e,!0);t.font=this._fontSize+this._font,this._textWidth=Math.ceil(t.measureText(this._txt).width)+2;let i=this._textWidth+8;i%2==0&&(i+=1),this._maximizedAnimationTextWidth=i,this._textWidthCache.reset()}_updateColors(){this._colors=this._model.isDark()?V:B}_getLogoImage(e){return R(e,this._onReadyCallback)}_checkLayout(){switch(this._layout){case"widget_branding":case"widget_referral_branding":case"widget_custom_branding":case"fundamental_branding":case"fundamental_custom_branding":case"library_custom_branding":case"library_branding":case"site_branding":this.show=!0;break;case"widget_custom_no_powered_branding":case"fundamental_custom_no_powered_branding":case"library_custom_no_powered_branding":this.show=!1}switch(this._layout){case"library_branding":this._needDisplayImage=!0,this._txt=L;break;case"library_custom_branding":this._txt=A}}_drawTextStroke(e){e.save(), -e.textBaseline="middle",e.textAlign="start",e.font=this._fontSize+this._font,e.strokeStyle=this._colors.staticTextBackground,e.lineWidth=4,e.lineJoin="round",e.strokeText(this._txt,0,16+this._textWidthCache.yMidCorrection(e,this._txt)),e.restore()}_drawTextFill(e){e.save(),e.textBaseline="middle",e.textAlign="start",e.font=this._fontSize+this._font,e.fillStyle=this._colors.text,e.fillText(this._txt,0,16+this._textWidthCache.yMidCorrection(e,this._txt)),e.restore()}_drawFillTextCropWidth(e,t){e.save(),e.beginPath(),e.rect(0,0,t,this.height),e.clip(),this._drawTextFill(e),e.restore()}_drawBgCircle(e){const t=this.borderRadius,i=2*Math.PI;e.save(),e.beginPath(),e.fillStyle=this._colors.shadow,e.arc(t,t,t+1,0,i),e.fill(),e.closePath(),e.restore(),e.save(),e.beginPath(),e.fillStyle=this._colors.background,e.arc(t,t,t,0,i,!1),e.fill(),e.closePath(),e.restore()}_drawFillRectWithRoundedCorner(e,t,i,s,r,n){e.save(),(0,m.drawRoundRect)(e,t-1,i-1,s+2,r+2,n),e.fillStyle=this._colors.shadow,e.fill(),e.closePath(),e.restore(),e.save(),(0,m.drawRoundRect)(e,t,i,s,r,n),e.fillStyle=this._colors.background,e.fill(),e.closePath(),e.restore()}_drawLogoImage(e,t,i){e.drawImage((0,a.ensureNotNull)(this._getLogoImage(this._colors.logo)),t,i)}}class H extends F{constructor(e,t,i){super(),this.show=!1,this.width=0,this.height=0,this._ready=!1,this._layout=e,this._src=t,this._onReadyCallback=i,this._checkLayout();const s=new Image;this._img=s,this.show&&(s.addEventListener("load",()=>{this.width=Math.round(s.width),this.height=Math.round(s.height),this._ready=!0,this._onReadyCallback&&this._onReadyCallback()}),s.crossOrigin="anonymous",s.src=this._src)}draw(e,t){this._ready&&(e.drawImage(this._img,-.5,-.5,this.width,this.height),this._originPoint=O(e.getTransform()))}_checkLayout(){switch(this._layout){case"widget_custom_branding":case"widget_custom_no_powered_branding":case"fundamental_custom_branding":case"fundamental_custom_no_powered_branding":case"library_custom_branding":case"library_custom_no_powered_branding":this.show=!0;break;case"site_branding":case"widget_branding":case"widget_referral_branding":case"fundamental_branding":case"library_branding":this.show=!1}}}function z(e,t){function i(t){const i=e.getAll();if(1===i.length)return!0;const s=i[0].hasModel()&&i[0].model();return s&&s.model()===t}e.addCustomSource("branding",(e,s)=>new k(e,s,i.bind(null,s),t))}},93435:(e,t,i)=>{"use strict";i.d(t,{Size:()=>o,getCanvasDevicePixelRatio:()=>a,getContext2D:()=>l,getPrescaledContext2D:()=>c,getPretransformedContext2D:()=>h,fillRect:()=>d,clearRect:()=>u,drawScaled:()=>p,createDisconnectedCanvas:()=>_,createDisconnectedBoundCanvas:()=>m,createBoundCanvas:()=>f,calcTextHorizontalShift:()=>v,disableSelection:()=>S});var s=i(81746),r=i(88537),n=i(62820);class o{constructor(e,t){this.w=e,this.h=t}equals(e){return this.w===e.w&&this.h===e.h}}function a(e){var t,i;return Math.max(1,(null===(i=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||void 0===i?void 0:i.devicePixelRatio)||1)}function l(e){const t=(0, -r.ensureNotNull)(e.getContext("2d"));return t.setTransform(1,0,0,1,0,0),t}function c(e){const t=(0,r.ensureNotNull)(e.getContext("2d")),i=a(e);return t.setTransform(i,0,0,i,0,0),t}function h(e,t){const i=(0,r.ensureNotNull)(e.canvas.getContext("2d"));return i.setTransform(e.pixelRatio,0,0,e.pixelRatio,0,0),t||i.translate(.5,.5),i}function d(e,t,i,s,r,n){e.save(),e.translate(-.5,-.5),e.fillStyle=n,e.fillRect(t,i,s,r),e.restore()}function u(e,t,i,s,r,n){e.save(),e.translate(-.5,-.5),e.globalCompositeOperation="copy",e.fillStyle=n,e.fillRect(t,i,s,r),e.restore()}function p(e,t,i){e.save(),e.scale(t,t),i(),e.restore()}function _(e,t,i){const s=g(e);return void 0===i&&(i=a(s)),s.width=t.w*i,s.height=t.h*i,s}function m(e,t){const i=g(e),r=(0,s.bindToDevicePixelRatio)(i,{allowDownsampling:!1});return r.resizeCanvas({width:t.w,height:t.h}),r}function g(e){const t=e.createElement("canvas");return S(t),t}function f(e,t){const i=g((0,r.ensureNotNull)(e.ownerDocument));e.appendChild(i);const n=(0,s.bindToDevicePixelRatio)(i,{allowDownsampling:!1});return n.resizeCanvas({width:t.w,height:t.h}),n}function v(e,t){return"center"===e.textAlign?0:(0,n.isRtl)()?"start"===e.textAlign||"right"===e.textAlign?t:0:"start"===e.textAlign||"left"===e.textAlign?0:t}function S(e){e.style.userSelect="none",e.style.webkitUserSelect="none",e.style.msUserSelect="none",e.style.MozUserSelect="none",e.style.webkitTapHighlightColor="transparent"}},68425:(e,t,i)=>{"use strict";i.d(t,{ChartChangesWatcher:()=>n});var s=i(2872),r=i.n(s);class n{constructor(e,t,i,s){this._undoHistoryHasChanges=!1,this._hasChanges=!1,this._recalculateHaveChanges=()=>{const e=this._undoHistoryHasChanges||this._lineToolsHaveChanges.value();e!==this._hasChanges&&(this._hasChanges=e,this._onValueChanged.fire(e))},this._undoHistory=e,this._lineToolsHaveChanges=t,this._chartSaver=i,this._globalEvents=s,this._onValueChanged=new(r()),this._subscribe()}destroy(){this._unsubscribe(),this._onValueChanged.destroy()}hasChanges(){return this._hasChanges}getOnChange(){return this._onValueChanged}_subscribe(){this._globalEvents.subscribe("chart_loaded",this._handleChartLoaded,this),this._undoHistory.undoStack().onChange().subscribe(this,this._handleUndoHistoryChange),this._chartSaver.chartSaved().subscribe(this,this._handleChartSaved),this._lineToolsHaveChanges.subscribe(this._recalculateHaveChanges)}_unsubscribe(){this._globalEvents.unsubscribe("chart_loaded",this._handleChartLoaded,this),this._undoHistory.undoStack().onChange().unsubscribe(this,this._handleUndoHistoryChange),this._chartSaver.chartSaved().unsubscribe(this,this._handleChartSaved),this._lineToolsHaveChanges.unsubscribe(this._recalculateHaveChanges)}_setUndoHistoryHasChanges(e){this._undoHistoryHasChanges=e,this._recalculateHaveChanges()}_handleChartLoaded(){this._setUndoHistoryHasChanges(!1)}_handleUndoHistoryChange(e){e&&!e.customFlag("doesnt_affect_save")&&this._setUndoHistoryHasChanges(!0)}_handleChartSaved(e){e&&this._setUndoHistoryHasChanges(!1)}}},76367:(e,t,i)=>{"use strict";i.d(t,{shiftPressed:()=>p, -modifierPressed:()=>_,globalEnvironmentState:()=>m,ChartHotkeysListener:()=>g});var s=i(25760),r=i(68335),n=i(35749),o=i(52714),a=i.n(o),l=i(77216);const c=new(a())(Boolean(s.pressedKeys.value()&r.Modifiers.Shift)),h=new(a())(Boolean(s.pressedKeys.value()&r.Modifiers.Mod)),d=new(a())(Boolean(s.pressedKeys.value()&r.Modifiers.Alt)),u=[r.Modifiers.None,r.Modifiers.Alt,r.Modifiers.Mod,r.Modifiers.Alt+r.Modifiers.Shift];function p(){return c}function _(){return h}function m(){return new l.EnvironmentState({altKey:d.value(),ctrlKey:_().value(),metaKey:_().value(),shiftKey:p().value()})}s.pressedKeys.subscribe(e=>{c.setValue(Boolean(e&r.Modifiers.Shift)),h.setValue(Boolean(e&r.Modifiers.Mod)),d.setValue(Boolean(e&r.Modifiers.Alt))});class g{constructor(e,t){this._pressedKeyCode=null,this._boundKeydownHandler=null,this._boundKeyupHandler=null,this._chartWidget=e,this._parent=t,this._boundKeydownHandler=this._keydownHandler.bind(this),this._boundKeyupHandler=this._keyupHandler.bind(this),this._parent.ownerDocument.addEventListener("keydown",this._boundKeydownHandler),this._parent.ownerDocument.addEventListener("keyup",this._boundKeyupHandler)}destroy(){null!==this._boundKeydownHandler&&(this._parent.ownerDocument.removeEventListener("keydown",this._boundKeydownHandler),this._boundKeydownHandler=null),null!==this._boundKeyupHandler&&(this._parent.ownerDocument.removeEventListener("keyup",this._boundKeyupHandler),this._boundKeyupHandler=null)}_keydownHandler(e){this._chartWidget.hasModel()&&window.document.activeElement===window.document.body&&this._chartWidget.isActive()&&(this._handleMoveDrawingsKeyDown(e)||this._handleScrollKeyDown(e)||this._handleZoomKeyDown(e))&&e.preventDefault()}_keyupHandler(e){this._chartWidget.hasModel()&&this._handleScrollKeyUp(e)}_handleMoveDrawingsKeyDown(e){const t=255&(0,r.hashFromEvent)(e),i=this._chartWidget.model();switch(t){case 37:return i.moveSelectedToolsLeft();case 39:return i.moveSelectedToolsRight();case 38:return i.moveSelectedToolsUp();case 40:return i.moveSelectedToolsDown()}return!1}_handleScrollKeyDown(e){if(null!==this._pressedKeyCode)return!1;const t=(0,r.hashFromEvent)(e),i=255&t,s=(0,r.modifiersFromEvent)(e);let o;if(37===i)o=1;else{if(39!==i)return!1;o=-1}return!(r.isMacKeyboard&&s===r.Modifiers.Mod||!u.includes(s))&&(!(0,n.isNativeUIInteraction)(t,e.target)&&(this._pressedKeyCode=i,s===r.Modifiers.None?this._chartWidget.scrollHelper().moveByBar(o):s===r.Modifiers.Alt||s===r.Modifiers.Mod?this._chartWidget.scrollHelper().move(o):-1===o?this._chartWidget.model().timeScale().scrollToRealtime(!0):this._chartWidget.model().timeScale().scrollToFirstBar(),!0))}_handleScrollKeyUp(e){if(null===this._pressedKeyCode)return!1;const t=(0,r.hashFromEvent)(e);if((0,n.isNativeUIInteraction)(t,e.target))return!1;return(255&t)===this._pressedKeyCode&&(this._pressedKeyCode=null,this._chartWidget.scrollHelper().stopMove(),!0)}_handleZoomKeyDown(e){const t=(0,r.hashFromEvent)(e),i=255&t;if((0,r.modifiersFromEvent)(e)!==r.Modifiers.Mod||(0,n.isNativeUIInteraction)(t,e.target))return!1 -;const s=this._chartWidget.model();if(38===i)s.zoomIn();else{if(40!==i)return!1;s.zoomOut()}return!0}}},37786:(e,t,i)=>{"use strict";i.d(t,{ChartWidgetApiBase:()=>C});var s=i(88537),r=i(28353),n=i(24980),o=i(29823),a=i(69177),l=i(42934);class c{constructor(e){this._timeScale=e}coordinateToTime(e){const t=this._timeScale.coordinateToIndex(e);return this._timeScale.indexToTimePoint(t)}barSpacingChanged(){return this._timeScale.barSpacingChanged()}rightOffsetChanged(){return this._timeScale.rightOffsetChanged()}setRightOffset(e){this._timeScale.setRightOffset(e)}setBarSpacing(e){this._timeScale.setBarSpacing(e)}barSpacing(){return this._timeScale.barSpacing()}rightOffset(){return this._timeScale.rightOffset()}width(){return this._timeScale.width()}defaultRightOffset(){return this._timeScale.defaultRightOffset()}isEmpty(){return this._timeScale.isEmpty()}}var h=i(2872),d=i.n(h),u=i(39277);const p=new n.TranslatedString("change timezone",(0,r.t)("change timezone"));class _{constructor(e){this._onTimezoneChanged=new(d()),this._chartWidget=e,this._timezoneProperty=e.properties().childs().timezone,this._timezoneProperty.subscribe(this,e=>{this._onTimezoneChanged.fire(e.value())}),e.onAboutToBeDestroyed().subscribe(this,()=>{this._timezoneProperty.unsubscribeAll(this)},!0)}availableTimezones(){return u.availableTimezones}getTimezone(){const e=this._timezoneProperty.value();return(0,s.ensureDefined)(u.availableTimezones.find(t=>t.id===e))}setTimezone(e,t){(0,s.assert)((0,u.timezoneIsAvailable)(e),"Incorrect timezone: "+e),(null==t?void 0:t.disableUndo)?this._timezoneProperty.setValue(e):this._chartWidget.model().setProperty(this._timezoneProperty,e,p)}onTimezoneChanged(){return this._onTimezoneChanged}}var m=i(45973),g=i(59836),f=i(870);function v(e,t){const i=()=>{e.completed().unsubscribe(null,s),t(!1)},s=()=>{e.error().unsubscribe(null,i),t(!0)};e.completed().subscribe(null,i,!0),e.error().subscribe(null,s,!0)}var S=i(65862);const y=new n.TranslatedString("change price to bar ratio",(0,r.t)("change price to bar ratio")),b=new n.TranslatedString("toggle lock scale",(0,r.t)("toggle lock scale")),w=new n.TranslatedString("change series style",(0,r.t)("change series style"));class C{constructor(e,t){this._visibleBarsChanged=new(d()),this._crosshairMoved=new(d()),this._ranges=null,this._alignerResolution=o.Interval.parse(""),this._alignerSymbolInfo=null,this._dwmAligner=null,this._chartWidget=e,this._activateChart=t,this._timezoneApi=new _(e),this._chartWidget.withModel(this,()=>{this._chartWidget.model().crossHairSource().moved().subscribe(this,this._onCrosshairMoved)})}getPriceToBarRatio(){return this._chartWidget.model().model().mainSeriesScaleRatioProperty().value()}setPriceToBarRatio(e,t){const i=this._chartWidget.model(),s=i.model(),r=s.mainSeriesScaleRatioProperty();(null==t?void 0:t.disableUndo)?new f.SetScaleRatioPropertiesCommand(r,e,null,s).redo():i.setScaleRatioProperty(r,e,y)}isPriceToBarRatioLocked(){return this._chartWidget.model().model().mainSeries().priceScale().isLockScale()}setPriceToBarRatioLocked(e,t){ -const i=this._chartWidget.model(),s=i.model(),r=s.mainSeries().priceScale();(null==t?void 0:t.disableUndo)?new g.SetPriceScaleModeCommand({lockScale:e},r,null,s).redo():i.setPriceScaleMode({lockScale:e},r,b)}onDataLoaded(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().dataEvents().completed())}onSymbolChanged(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().dataEvents().symbolResolved())}onIntervalChanged(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().onIntervalChanged())}onVisibleRangeChanged(){return this._makeSubscriptionFromDelegate(this._visibleBarsChanged)}onChartTypeChanged(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().onStyleChanged())}onSeriesTimeframe(){return this._makeSubscriptionFromDelegate(this._chartWidget.model().mainSeries().dataEvents().seriesTimeFrame())}whenChartReady(e){this._chartWidget.withModel(this,e)}crossHairMoved(){return this._makeSubscriptionFromDelegate(this._crosshairMoved)}setSymbol(e,t){if(e===this.symbol())return void(null==t||t());const i=e=>{!e&&t&&t()},s=this._chartWidget.model().mainSeries().dataEvents();t&&v(s,i),this._activateChart(),this._chartWidget.setSymbol(e)}setResolution(e,t){const i=o.Interval.normalize(e);if(null===i||i===this.resolution())return void(null==t||t());const s=e=>{!e&&t&&t()},r=this._chartWidget.model().mainSeries().dataEvents();t&&v(r,s),this._activateChart(),this._chartWidget.setResolution(i)}setChartType(e,t){const i=this._chartWidget.model().mainSeries().properties().childs().style;if(i.value()===e)return void(null==t||t());const s=e=>{!e&&t&&t()},r=this._chartWidget.model().mainSeries().dataEvents();t&&v(r,s),this._chartWidget.model().setChartStyleProperty(i,e,w)}getAllStudies(){return this._chartWidget.model().model().allStudies(!0).map(m.studyEntityInfo)}getAllPanesHeight(){const e=this._chartWidget.model().model().panes();if(this._chartWidget.isMaximizedPane()){let t=0,i=0;e.forEach(e=>{t+=e.height(),i+=e.stretchFactor()});const s=i/t;return e.map(e=>Math.round(e.stretchFactor()/s*100)/100)}return e.map(e=>e.height())}setAllPanesHeight(e){const t=this._chartWidget.model().model(),i=t.panes();(0,s.assert)(i.length===e.length,"There`s a mismatch between the number of heights you provided and the number of panes.");const r=i.reduce((e,t)=>e+t.stretchFactor(),0)/e.reduce((e,t)=>e+t);e.forEach((e,t)=>{const s=e*r;i[t].setStretchFactor(s)}),t.fullUpdate()}maximizeChart(){this._chartWidget.getResizerDetacher().requestFullscreen()}restoreChart(){this._chartWidget.getResizerDetacher().exitFullscreen()}sessions(){return this._chartWidget.model().model().sessions()}getTimeScaleLogicalRange(){return this._chartWidget.model().timeScale().logicalRange()}getTimezoneApi(){return this._timezoneApi}exportData(e){const t={...e};return void 0!==t.from&&(t.from=this._convertTimeFromPublic(t.from)),void 0!==t.to&&(t.to=this._convertTimeFromPublic(t.to)), -i.e(9498).then(i.bind(i,29630)).then(e=>e.exportData(this._chartWidget.model().model(),t))}barTimeToEndOfPeriod(e){const t=this._prepareEndOfPeriodArgs();return(0,l.barTimeToEndOfPeriod)(t.barBuilder,e,t.intervalObj)}endOfPeriodToBarTime(e){const t=this._prepareEndOfPeriodArgs();return(0,l.endOfPeriodToBarTime)(t.barBuilder,e,t.intervalObj)}properties(){return this._chartWidget.properties()}setBarSpacing(e){this._chartWidget.model().timeScale().setBarSpacing(e)}scrollChartByBar(e){this._chartWidget.model().scrollChartByBar(e)}mergeAllScales(e){this._chartWidget.model().mergeAllScales(e)}chartPainted(){return this._chartWidget.chartPainted()}axesSizeReady(){for(const e of this._chartWidget.paneWidgets()){for(const t of e.leftPriceAxisesContainer().axes())if(!t.sizeReady())return!1;for(const t of e.rightPriceAxisesContainer().axes())if(!t.sizeReady())return!1}return!0}applyOverrides(e){this._chartWidget.applyOverrides(e)}addOverlayStudy(e,t,i){return this._chartWidget.addOverlayStudy(e,t,i)}lineToolsSynchronizer(){return this._chartWidget.lineToolsSynchronizer()}ranges(){throw new Error("not implemented")}getTimeScale(){return new c(this._chartWidget.model().timeScale())}_destroy(){this._chartWidget.hasModel()&&this._chartWidget.model().crossHairSource().moved().unsubscribeAll(this)}_createStudy(e){return Promise.reject("Pine Script™ and java studies are not supported")}_convertTimeToPublic(e){const t=this._getSeriesAligner();return null!==t?t.timeToExchangeTradingDay(1e3*e)/1e3:e}_convertIndexToPublicTime(e){const t=this._chartWidget.model(),i=t.timeScale();if(i.isEmpty())return null;const r=i.points(),n=(0,s.ensureNotNull)(r.firstIndex()),o=(0,s.ensureNotNull)(r.lastIndex());let a=null;if(n<=e&&e<=o)a=r.valueAt(e);else if(e>o){const r=t.mainSeries().syncModel();if(null!==r){const t=(0,s.ensureNotNull)(i.indexToTimePoint(o));a=r.projectTime(t,e-o)}}return null!==a&&(a=this._convertTimeToPublic(a)),a}_getDefaultCreateMultipointShapeOptions(){return{filled:!0}}_convertTimeFromPublic(e){const t=this._getSeriesAligner();return null!==t?t.timeToSessionStart(1e3*e)/1e3:e}_getSeriesAligner(){const e=this._chartWidget.model().mainSeries(),t=e.interval(),i=o.Interval.parse(t),s=e.symbolInfo();return this._alignerResolution.isEqualTo(i)&&this._alignerSymbolInfo===s||(this._dwmAligner=null===s?null:(0,S.createDwmAligner)(t,s),this._alignerResolution=i,this._alignerSymbolInfo=s),this._dwmAligner}_onCrosshairMoved(e){const t=this._convertIndexToPublicTime(e.index);null!==t&&this._crosshairMoved.fire({price:e.price,time:t})}_makeSubscriptionFromDelegate(e){return{subscribe:e.subscribe.bind(e),unsubscribe:e.unsubscribe.bind(e),unsubscribeAll:e.unsubscribeAll.bind(e)}}_prepareEndOfPeriodArgs(){const e=this._chartWidget.model().model(),t=e.timezone(),i=(0,s.ensureNotNull)(e.mainSeries().symbolInfo()),r=e.mainSeries().interval(),n=new a.SessionInfo(t,i.session,i.session_holidays,i.corrections);return{barBuilder:(0,a.newBarBuilder)(r,n,n),intervalObj:o.Interval.parse(r)}}}},79500:(e,t,i)=>{"use strict";i.d(t,{ChartWidgetBase:()=>ui}) -;var s=i(88537),r=i(28353),n=i(98125);function o(e,t){const i=Object.create(Object.getPrototypeOf(e));for(const s of t)Object.prototype.hasOwnProperty.call(e,s)&&(i[s]=e[s]);return i}var a=i(56840),l=i(49483),c=i(81836),h=i(76422),d=i(22729);let u;class p extends d.DialogRenderer{constructor(){super(),this._dialog=null,this._subscribe=e=>{this._setVisibility(e)}}show(){this._load().then(e=>e.show())}hide(){var e;null===(e=this._dialog)||void 0===e||e.hide()}static getInstance(){return u||(u=new p),u}_load(){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(3466),i.e(7836),i.e(9289),i.e(3921),i.e(1112),i.e(6909),i.e(7419),i.e(9042),i.e(6427),i.e(9283),i.e(9837),i.e(3199),i.e(5827),i.e(4707),i.e(3016),i.e(1075),i.e(9505),i.e(9811),i.e(4862)]).then(i.bind(i,49469)).then(e=>{var t,i;return null===(t=this._dialog)||void 0===t||t.hide(),null===(i=this._dialog)||void 0===i||i.visible().unsubscribe(this._subscribe),this._dialog=new e.ObjectTreeDialogRenderer,this._dialog.visible().subscribe(this._subscribe),this._dialog})}}var _=i(80643),m=i(54089),g=i(24431);var f=i(14291),v=i(81851),S=i(81465),y=i(88564),b=i(23653),w=i(16230),C=i(86441),P=i(45112),T=i(24980),x=i(71413),I=i(15840),M=i(84346),L=i(27759),A=i(77216),E=i(35878),k=i(85733),D=i(16757),V=i(4676),B=i(54386),N=i(93435),R=i(42759),O=i(52640),F=i(6087),W=i(15917),H=i(43842),z=i(22799);const U=parseInt(H.labelheight),j=parseInt(H.bottommargin);function G(e){return e/11}class q{constructor(){this._wrapper=document.createElement("div"),this._element=document.createElement("div"),this._labelElement=document.createElement("div"),this._gearElement=document.createElement("div"),this._currentScale=1,this._info=null,this._mode="auto",this._wrapper.appendChild(this._element),this._wrapper.classList.add(H.wrapper),this._element.classList.add(H.label),this._labelElement.className=H.symbol,this._element.appendChild(this._labelElement),this._gearElement.className=H.gear,this._gearElement.innerHTML=W,this._element.appendChild(this._gearElement)}getElement(){return this._wrapper}setMode(e){this._mode!==e&&(this._mode=e)}align(e,t){const i=G(t);Math.abs(i-this._currentScale)>.1&&(this._currentScale=i,Math.abs(this._currentScale-1)>.1?this._element.style.transform=`scale(${this._currentScale})`:(this._currentScale=1,this._element.style.transform=""))}drawLabelForScreenshot(e,t){if(null===this._info||"gear"===this._mode)return;const i=(0,O.makeFont)(t.fontSize,z.CHART_FONT_FAMILY);e.fillStyle=F.themes[t.theme].getThemedColor("color-price-axis-label-back"),e.globalAlpha=.5,e.beginPath();const s=G(t.fontSize)*U/2,r=(0,C.point)(t.offset+t.width/2,t.height/2);e.arc(r.x,r.y,s,0,2*Math.PI,!0),e.fill(),e.globalAlpha=1,e.fillStyle=F.themes[t.theme].getThemedColor("color-price-axis-label-text"),e.textAlign="center",e.font=i,e.textBaseline="middle",e.fillText(this._info.label,r.x,r.y)}setAxisNameInfo(e){this._info=e,null!==e&&(this._labelElement.textContent=e.label)}static height(e){return(U+j)*e}}var Y=i(2872),K=i.n(Y),$=i(97056),X=i(94194) -;const Z={enableTooltip:!0,showLabels:!0,enableMenu:!0,enableHighlight:!0};class J{constructor(e,t,i,s,r,n=null){this._invalidated=!0,this._size=new N.Size(0,0),this._offset=0,this._axisInfo=null,this._onLabelHovered=new(K()),this._highlighted=!1,this._labelMode="auto",this._fixedLabelMode=null,this._canvasConfiguredHandler=()=>this.update(),this._timeAxisWidget=n,this._isLeft="left"===e,this._rendererOptionsProvider=s.rendererOptionsProvider,this._sourcesTitlesProvider=s.sourcesTitlesProvider,this._contextMenuItemsProvider=s.contextMenuItemsProvider,this._backgroundBasedTheme=s.backgroundBasedTheme,this._getBackgroundTopColor=s.getBackgroundTopColor,this._getBackgroundBottomColor=s.getBackgroundBottomColor,this._showHorizontalBorder=Boolean(s.showHorizontalBorder),this._properties=t,this._axisInfo=i,this._labelOptions={...Z,...r},this._properties.lineColor.subscribe(this,this._onPropertyChanged),this._cell=document.createElement("div"),this._cell.classList.add(H["price-axis-stub"]),this._labelOptions.enableTooltip&&this._cell.classList.add("apply-common-tooltip"),this._cell.style.width="25px",this._cell.style.height="100%",this._cell.style.position="absolute",this._cell.style.left="0",this._cell.style.overflow="hidden",this._labelOptions.showLabels?(this._label=new q,this._label.setAxisNameInfo(this._axisInfo),this._cell.appendChild(this._label.getElement()),this._labelOptions.enableTooltip&&(0,X.setTooltipData)(this._cell,"text",e=>this._tooltipContent())):this._label=null,this._mouseEventHandler=new B.MouseEventHandler(this._cell,this,{treatHorzTouchDragAsPageScroll:!0,treatVertTouchDragAsPageScroll:!0}),this._canvasBinding=(0,N.createBoundCanvas)(this._cell,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const o=this._canvasBinding.canvas;o.style.position="absolute",o.style.left="0",o.style.top="0"}destroy(){this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),this._properties.lineColor.unsubscribe(this,this._onPropertyChanged),this._mouseEventHandler.destroy()}mouseEnterEvent(e){this._mouseOrTouchEnterEvent(e)}touchStartEvent(e){this._mouseOrTouchEnterEvent(e)}mouseLeaveEvent(e){this._mouseOrTouchLeaveEvent(e)}touchEndEvent(e){this._mouseOrTouchLeaveEvent(e)}mouseClickEvent(e){this._mouseClickOrTapEvent(e)}tapEvent(e){this._mouseClickOrTapEvent(e)}update(){this._invalidated=!0}getElement(){return this._cell}onLabelHovered(){return this._onLabelHovered}setSizeAndOffset(e,t){if(e.w<0||e.h<0)throw new Error("Try to set invalid size to PriceAxisStub "+JSON.stringify(e));this._size.equals(e)||(this._size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._cell.style.width=e.w+"px",this._cell.style.minWidth=e.w+"px",this._cell.style.height=e.h+"px",this._invalidated=!0),this._offset!==t&&(this._offset=t,this._cell.style.left=t+"px")}paint(e){if(e{this.setLabelMode((0,s.ensureNotNull)(this._fixedLabelMode)),this._fixedLabelMode=null})}}var Q=i(41847);class ee{constructor(e,t,i,s,r,n=null){this._axises=[],this._stubs=[],this._size=new N.Size(0,0),this._onLabelHovered=new(K()),this._scalesProperties=e,this._priceAxisWidgetFactory=i,this._timeAxisWidget=n,this._rendererOptionsProvider=s.rendererOptionsProvider,this._titlesProvider=s.titlesProvider,this._stubContextMenuProvider=s.stubContextMenuProvider,this._backgroundBasedTheme=s.backgroundBasedTheme,this._getBackgroundTopColor=s.getBackgroundTopColor,this._getBackgroundBottomColor=s.getBackgroundBottomColor,this._showHorisontalBorder=Boolean(s.showHorizontalBorder),this._labelsOptions={...Z,...r};const o=this._scalesProperties.childs();this._stubProperties={lineColor:o.lineColor,fontSize:o.fontSize},this._side=t,this._cell=document.createElement("td"),this._cell.classList.add("chart-markup-table","price-axis-container"),this._cell.style.width="25px",this._cell.style.position="relative"}destroy(){this.setScales([],0,0,0)}onLabelHovered(){return this._onLabelHovered}setScales(e,t,i,r){for(;e.length>this._axises.length&&this._axises.lengtho;){const e=(0,s.ensureDefined)(this._stubs.pop());e.onLabelHovered().unsubscribeAll(this),this._cell.removeChild(e.getElement()),e.destroy()}for(;this._stubs.length{this._labelsOptions.showLabels&&this._labelsOptions.enableHighlight&&this._onLabelHovered.fire({owner:t,axis:(0,s.ensureNotNull)(e)},i)}),this._stubs.push(t),this._cell.appendChild(t.getElement())}const a=this._labelsOptions.enableMenu;1===r?this._stubs.forEach((e,t)=>e.setLabelMode(a?"gear":"symbol")):this._stubs.forEach((e,t)=>e.setLabelMode(te.updateCurrencyLabel())}optimalWidths(){return this._axises.map(e=>e.optimalWidth())}setSizes(e,t){this._size=new N.Size(t.reduce((e,t)=>e+t,0),e),this._cell.style.width=this._size.w+"px",this._cell.style.minWidth=this._size.w+"px", -this._cell.style.height=this._size.h+"px",t.length!==this._axises.length+this._stubs.length&&(0,s.assert)(t.length===this._axises.length+this._stubs.length,"Widgets count should be the same as widths one");let i=0;this._forEachWidgetFromLeft((s,r)=>{const n=t[r];s.setSizeAndOffset(new N.Size(n,e),i),i+=n})}update(){this._axises.forEach(e=>e.update()),this._stubs.forEach(e=>e.update())}paint(e){this._axises.forEach((t,i)=>t.paint(e(i))),this._stubs.forEach((t,i)=>t.paint(e(i)))}paintStubs(e){this._stubs.forEach(t=>t.paint(e))}restoreDefaultCursor(){this._axises.forEach(e=>e.restoreDefaultCursor())}getWidth(){return this._size.w}findAxisWidgetForScale(e){const t=this._axises.find(t=>t.priceScale()===e);return void 0===t?null:t}getScreenshotData(){const e=this._getImage();return{canvas:e,content:e.toDataURL(),contentHeight:this._size.h,contentWidth:this._size.w}}getImage(){return this._getImage()}slotsCount(){return this._axises.length+this._stubs.length}highlightPriceAxisByLabel(e){this._axises.forEach(t=>{const i=t.axisInfo();t.setHighlighted(null!==i&&i.equals(e))})}axes(){return this._axises}_stubParams(e){return{rendererOptionsProvider:this._rendererOptionsProvider,backgroundBasedTheme:this._backgroundBasedTheme,sourcesTitlesProvider:()=>this._titlesProvider(this._side,e),contextMenuItemsProvider:()=>this._stubContextMenuProvider(this._side,e),getBackgroundTopColor:this._getBackgroundTopColor,getBackgroundBottomColor:this._getBackgroundBottomColor,showHorizontalBorder:this._showHorisontalBorder}}_getImage(){const e=(0,N.createDisconnectedCanvas)(document,this._size),t=(0,N.getPrescaledContext2D)(e);let i=0;return this._forEachWidgetFromLeft((e,s)=>{const r=e.getWidth();0!==r&&(t.drawImage(e.getImage(),i,0,r,this._size.h),i+=r)}),e}_forEachWidgetFromLeft(e){const t=[...this._axises,...this._stubs],i="left"===this._side,s=i?-1:t.length,r=i?-1:1;for(let n=i?t.length-1:0;n!==s;n+=r)e(t[n],n,t)}}var te=i(29892),ie=i(76818),se=i(51768),re=i(24377),ne=i(68906),oe=i(45345),ae=i(24633),le=i(64514),ce=i(91216),he=i(4103);const de=(0,P.getHexColorByName)("color-white"),ue=(0,P.getHexColorByName)("color-cold-gray-100"),pe=(0,ne.applyTransparency)((0,P.getHexColorByName)("color-white"),60),_e=(0,P.getHexColorByName)("color-cold-gray-800"),me=(0,ne.applyTransparency)((0,P.getHexColorByName)("color-black"),60);function ge(e){const t=(0,ne.isHexColor)(e)?e.toLowerCase():(0,re.rgbToHexString)((0,re.parseRgb)(e));return oe.watchedTheme.value()===ae.StdTheme.Light?t===de?ue:pe:"#181c27"===t?_e:me}class fe{constructor(){this._width=null,this._currencyInfo=null,this._unitInfo=null,this._fontSize=0,this._backgroundColor="",this._hoverColor="",this._fadeEndColor="",this._hoveredLabel=null,this._currencyAndUnitLabelsWrapper=document.createElement("div"),this._currencyAndUnitLabelsWrapper.className=he["price-axis-currency-label-wrapper"],this._controlsContainer=document.createElement("div"),this._controlsContainer.className=he["price-axis-currency-label"],this._currencyAndUnitLabelsWrapper.appendChild(this._controlsContainer), -this._currencyLabelDiv=document.createElement("div"),this._currencyLabelDiv.className=he.row,this._currencyLabelDiv.classList.add("apply-common-tooltip"),(0,X.setTooltipData)(this._currencyLabelDiv,"text",e=>this._currencyTooltipContent()),this._currencyText=document.createElement("span"),this._currencyText.className=he["price-axis-currency-label-text"],this._currencyLabelDiv.appendChild(this._currencyText),this._currencyArrowDown=document.createElement("span"),this._currencyArrowDown.className=he["price-axis-currency-label-arrow-down"],this._currencyArrowDown.innerHTML=ce,this._currencyLabelDiv.appendChild(this._currencyArrowDown),this._unitLabelDiv=document.createElement("div"),this._unitLabelDiv.className=he.row,this._unitLabelDiv.classList.add("apply-common-tooltip"),(0,X.setTooltipData)(this._unitLabelDiv,"text",e=>this._unitTooltipContent()),this._unitText=document.createElement("span"),this._unitText.className=he["price-axis-currency-label-text"],this._unitLabelDiv.appendChild(this._unitText),this._unitArrowDown=document.createElement("span"),this._unitArrowDown.className=he["price-axis-currency-label-arrow-down"],this._unitArrowDown.innerHTML=ce,this._unitLabelDiv.appendChild(this._unitArrowDown),this._controlsContainer.appendChild(this._currencyLabelDiv),this._controlsContainer.appendChild(this._unitLabelDiv),this._fadeDiv=document.createElement("div"),this._fadeDiv.className=he["price-axis-currency-label-fade"],this._currencyAndUnitLabelsWrapper.appendChild(this._fadeDiv);const e=e=>{null!==this._hoveredLabel&&this._hoveredLabel!==e&&(this._hoveredLabel.style.background=""),this._hoveredLabel=e,""===this._hoverColor&&(this._hoverColor=ge(this._backgroundColor)),null!==e&&(e.style.background=this._hoverColor)};this._currencyLabelDiv.addEventListener("mouseover",()=>e(this._currencyLabelDiv)),this._currencyLabelDiv.addEventListener("mouseout",()=>e(null)),this._unitLabelDiv.addEventListener("mouseover",()=>e(this._unitLabelDiv)),this._unitLabelDiv.addEventListener("mouseout",()=>e(null)),this.disableCurrency(),this.disableUnit()}element(){return this._currencyAndUnitLabelsWrapper}currencyLabelElement(){return this._currencyLabelDiv}unitLabelElement(){return this._unitLabelDiv}isEnabled(){return this.currencyLabelEnabled()||this.unitLabelEnabled()}width(){if(null!==this._width)return this._width;let e=0;if(this.currencyLabelEnabled()){const t=this._currencyText.getBoundingClientRect(),i=this._currencyArrowDown.getBoundingClientRect();e=Math.max(e,t.width+i.width+2*this._textMarginAndPadding())}if(this.unitLabelEnabled()){const t=this._unitText.getBoundingClientRect(),i=this._unitArrowDown.getBoundingClientRect();e=Math.max(e,t.width+i.width+2*this._textMarginAndPadding())}return this._width=e}drawLabel(e,t,i){if(!this.isEnabled())return;const s=this.currencyLabelEnabled()?this._currencyText.textContent||"":this._unitText.textContent||"",r=this._unitText.textContent||"";e.font=(0,O.makeFont)(this._fontSize,z.CHART_FONT_FAMILY) -;const n=new ie.TextWidthCache,o=n.yMidCorrection(e,s),a=n.yMidCorrection(e,r),l=Math.round(Number(he.css_wrapper_margin)*i),c=(0,le.ceiledEven)(t*i)-2*l,h=Math.round(this.labelBottom()*i);e.fillStyle=this._backgroundColor,e.fillRect(l,0,c,h);const d=Math.round(Number(he.css_fade_height)*i),u=e.createLinearGradient(0,h,0,h+d);u.addColorStop(0,this._backgroundColor),u.addColorStop(1,this._fadeEndColor),e.fillStyle=u;const p=Math.round(Number(he.css_value_currency_label_radius)*i);(0,R.drawRoundRect)(e,l,h,c,d,[0,0,p,p]),e.fill();const _=Math.round(Number(he.css_first_row_top_padding)*i),m=Math.round(this._textMarginAndPadding()*i)+l,g=this._oneLineHeight()/2*i,f=_+g,v=Math.ceil(f+2*g);e.fillStyle=this._controlsContainer.style.color,e.textBaseline="middle",e.textAlign="left",(0,N.drawScaled)(e,i,()=>e.fillText(s,m/i,(f+o)/i)),this._isMultiLine()&&(0,N.drawScaled)(e,i,()=>e.fillText(r,m/i,(v+a)/i))}setHidden(e){this._controlsContainer.classList.toggle(he.hidden,e),this._fadeDiv.classList.toggle(he.hidden,e)}enableCurrency(){this._currencyLabelDiv.classList.remove("js-hidden"),this._width=null,this._updateVisibility()}disableCurrency(){this._currencyLabelDiv.classList.add("js-hidden"),this._width=null,this._updateVisibility()}enableUnit(){this._unitLabelDiv.classList.remove("js-hidden"),this._width=null,this._updateVisibility()}disableUnit(){this._unitLabelDiv.classList.add("js-hidden"),this._width=null,this._updateVisibility()}currencyLabelEnabled(){return!this._currencyLabelDiv.classList.contains("js-hidden")}unitLabelEnabled(){return!this._unitLabelDiv.classList.contains("js-hidden")}setCurrencyInfo(e){if(this._currencyInfo===e)return!1;this._currencyInfo=e;const t=null===e.selectedCurrency?(0,r.t)("Mixed"):(0,s.ensureDefined)(e.displayedValues.get(e.selectedCurrency));return this._currencyText.textContent!==t&&(this._currencyText.textContent=t,this._width=null),this._currencyArrowDown.classList.contains("js-hidden")!==e.readOnly&&(this._currencyArrowDown.classList.toggle("js-hidden",e.readOnly),this._currencyLabelDiv.classList.toggle(he.readonly,e.readOnly),this._width=null),!0}setUnitInfo(e){if(null!==this._unitInfo&&this._unitInfo.selectedUnit===e.selectedUnit&&0===this._unitInfo.availableGroups.size==(0===e.availableGroups.size)&&this._unitInfo.originalUnits.size===e.originalUnits.size)return this._unitInfo=e,!1;this._unitInfo=e;const t=null===e.selectedUnit?(0,r.t)("Mixed"):(0,s.ensureDefined)(e.names.get(e.selectedUnit));return this._unitText.textContent!==t&&(this._unitText.textContent=t,this._width=null),this._unitArrowDown.classList.contains("js-hidden")!==(0===e.availableGroups.size)&&(this._unitArrowDown.classList.toggle("js-hidden",0===e.availableGroups.size),this._unitLabelDiv.classList.toggle(he.readonly,0===e.availableGroups.size),this._width=null),!0}updateColors(e,t){this._controlsContainer.style.color=t,this._backgroundColor!==e&&(this._backgroundColor=e,this._fadeEndColor=(0,ne.applyTransparency)(e,100),this._hoverColor=ge(e)),this._controlsContainer.style.background=this._backgroundColor, -null!==this._hoveredLabel&&(this._hoveredLabel.style.background=this._hoverColor),this._fadeDiv.style.background=`linear-gradient(${this._backgroundColor}, ${this._fadeEndColor})`}currencyInfo(){return this._currencyInfo}unitInfo(){return this._unitInfo}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this._currencyLabelDiv.style.fontSize=e+"px",this._unitLabelDiv.style.fontSize=e+"px",this._width=null,this._setLineHeight(this._oneLineHeight()))}labelBottom(){const e=this._oneLineHeight();let t=e+Number(he.css_first_row_top_padding);return this._isMultiLine()&&(t+=e),t}_textMarginAndPadding(){return Number(he.css_row_left_right_margin)+Number(he.css_row_left_right_padding)}_currencyTooltipContent(){const e=this._currencyInfo;return null===e?"":null===e.selectedCurrency?Array.from(e.currencies).map(t=>(0,s.ensureDefined)(e.displayedValues.get(t))).join(", "):""}_unitTooltipContent(){const e=this._unitInfo;return null===e?"":null===e.selectedUnit?Array.from(e.units).map(t=>(0,s.ensureDefined)(e.names.get(t))).join(", "):e.descriptions.get(e.selectedUnit)||""}_setLineHeight(e){this._currencyLabelDiv.style.lineHeight=e+"px",this._unitLabelDiv.style.lineHeight=e+"px"}_updateVisibility(){const e=this.isEnabled();this._currencyAndUnitLabelsWrapper.classList.toggle("js-hidden",!e),this._fadeDiv.classList.toggle("js-hidden",!e)}_oneLineHeight(){return 7+this._fontSize}_isMultiLine(){return this.unitLabelEnabled()&&this.currencyLabelEnabled()}}async function ve(e,t,s){const{UnitConversionRenderer:r}=await Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(7836),i.e(5774),i.e(1112),i.e(4763),i.e(4474),i.e(7237),i.e(3016),i.e(1075),i.e(2704)]).then(i.bind(i,71834));return new r(e,s,t)}function Se(e,t){let{deltaX:i,deltaY:s}=e;switch(i/=100,s/=100,t.deltaMode){case t.DOM_DELTA_PAGE:i*=120,s*=120;break;case t.DOM_DELTA_LINE:i*=32,s*=32}return{deltaX:i,deltaY:s}}class ye{constructor(){this._totalDeltaX=0,this._totalDeltaY=0,this._prevWheelTime=0}processWheel(e){e.timeStamp-this._prevWheelTime>100&&this._reset(),this._totalDeltaX+=e.deltaX,this._totalDeltaY+=e.deltaY,this._prevWheelTime=e.timeStamp;const t={deltaX:e.deltaX,deltaY:e.deltaY};return 0===this._totalDeltaX||0===this._totalDeltaY||(Math.abs(this._totalDeltaX)>=Math.abs(3*this._totalDeltaY)&&(t.deltaY=0),Math.abs(this._totalDeltaY)>=Math.abs(3*this._totalDeltaX)&&(t.deltaX=0)),Se(t,e)}_reset(){this._totalDeltaX=0,this._totalDeltaY=0}}var be=i(68335),we=i(62138),Ce=i(51264),Pe=i(67337),Te=i(61671),xe=i(28296),Ie=i(8175),Me=i(27966);i(1597);const Le=new T.TranslatedString("change no overlapping labels",(0,r.t)("change no overlapping labels")),Ae=(0,r.t)("Merge all scales into one"),Ee=(0,r.t)("Labels"),ke=(0,r.t)("Currencies"),De=(0,r.t)("Units"),Ve=(0,r.t)("Reset price scale"),Be=(0,r.t)("Auto (fits data to screen)"),Ne=(0,r.t)("Percent",{context:"scale_menu"}),Re=(0,r.t)("Indexed to 100",{context:"scale_menu"}),Oe=(0,r.t)("Logarithmic",{context:"scale_menu"}),Fe=(0,r.t)("Regular",{context:"scale_menu"}),We=(0,r.t)("No overlapping labels",{ -context:"scale_menu"}),He=(0,r.t)("Invert scale",{context:"scale_menu"});const ze=function(e){const t=new Ce.LimitedPrecisionNumericFormatter(e);return(e,i)=>(0,_.isNumber)(i)&&!e.isLog()?t.format(i):""}(4),Ue={contextMenuEnabled:!0,currencyConversionEnabled:!1,unitConversionEnabled:!1,countdownEnabled:!0,contextMenu:{general:!0,source:!0},pressedMouseMoveScale:!0,mouseWheelScale:!0,pinchScale:!0,croppedTickMarks:!0};class je{constructor(e,t,i,s,r,n,o,a,l){this._actions=null,this._priceScale=null,this._widthCache=new ie.TextWidthCache(1e3),this._color=null,this._fontSize=null,this._currencyFontSize=0,this._currencyLabelWidth=null,this._isVisible=!0,this._updateTimeout=null,this._currencyMenu=null,this._unitMenu=null,this._prevOptimalWidth=0,this._size=new N.Size(-1,-1),this._currentCursorClassName="",this._destroyed=!1,this._highlighted=!1,this._mouseWheelHelper=null,this._dragScaleActive=!1,this._offset=NaN,this._pinching=!1,this._recalcCurrencyAndUnitVisibility=()=>{if(null===this._currencyLabel)return;const e=(0,Ie.currencyUnitVisibilityProperty)().value(),t="alwaysOff"===e||!this._chart.anyPriceAxisHovered().value()&&"visibleOnMouseOver"===e;this._currencyLabel.setHidden(t)},this._chart=e,this._pane=t,this._undoModel=i,this._properties=s,this._isLeft="left"===n,this._options=(0,_.merge)((0,_.clone)(Ue),o),this._rendererOptionsProvider=r,this._backgroundBasedTheme=l,this._cell=document.createElement("div"),this._cell.className="price-axis",this._cell.style.width="25px",this._cell.style.left="0",this._canvasConfiguredHandler=()=>{this._undoModel.model().lightUpdate()},this._canvasBinding=(0,N.createBoundCanvas)(this._cell,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const c=this._canvasBinding.canvas;c.style.position="absolute",c.style.zIndex="1",c.style.left="0",c.style.top="0",this._topCanvasConfiguredHandler=()=>this._undoModel.model().lightUpdate(),this._topCanvasBinding=(0,N.createBoundCanvas)(this._cell,new N.Size(16,16)),this._topCanvasBinding.subscribeCanvasConfigured(this._topCanvasConfiguredHandler);const h=this._topCanvasBinding.canvas;h.style.position="absolute",h.style.zIndex="2",h.style.left="0",h.style.top="0",this._mouseEventHandler=new B.MouseEventHandler(this._cell,this,{treatVertTouchDragAsPageScroll:!1,treatHorzTouchDragAsPageScroll:!0}),this._options.currencyConversionEnabled||this._options.unitConversionEnabled?(this._currencyLabel=new fe,this._cell.appendChild(this._currencyLabel.element())):this._currencyLabel=null,this._properties.childs().fontSize.subscribe(this,this._onFontSizeChanged),this._options.mouseWheelScale&&(this._mouseWheelHelper=new ye,this._cell.addEventListener("wheel",this._onMousewheel.bind(this),{passive:!1})),this._axisInfo=a,this._offset=0,this.restoreDefaultCursor(),(0,Ie.currencyUnitVisibilityProperty)().subscribe(this,this._recalcCurrencyAndUnitVisibility),this._chart.anyPriceAxisHovered().subscribe(this._recalcCurrencyAndUnitVisibility),this._recalcCurrencyAndUnitVisibility(),this.update()}getContextMenuActions(){ -this._initActions();const e=(0,s.ensureNotNull)(this._actions),t=this._chart.actions(),i=[];return i.push(e.reset,new xe.Separator,this._autoScaleAction()),this._isMainSeriesAxis()&&i.push(this._lockScaleAction()),i.push(t.scaleSeriesOnly,this._invertAction(),new xe.Separator,this._regularScaleAction(),this._percentageAction(),this._indexedTo100Action(),this._logAction(),new xe.Separator),l.CheckMobile.any()||(i.push(this._createMergeScalesAction()),i.push(new xe.Separator)),Pe.enabled("fundamental_widget")||i.push(new xe.Action({actionId:"Chart.PriceScale.Labels",label:Ee,subItems:[t.showSymbolLabelsAction,t.showSeriesLastValue,null,null,t.showHighLowPriceLabels,Pe.enabled("show_average_close_price_line_and_label")?t.showAverageClosePriceLabel:null,null,t.showStudyPlotNamesAction,t.showStudyLastValue,e.alignLabels].filter(Boolean)})),i.push((0,Te.createLinesAction)(this._chart)),this._options.countdownEnabled&&i.push(t.showCountdown),this._undoModel.crossHairSource().isMenuEnabled()&&i.push(t.addPlusButton),!(0,l.onWidget)()&&Pe.enabled("show_chart_property_page")&&Pe.enabled("chart_property_page_scales")&&t.scalesProperties&&i.push(new xe.Separator,t.scalesProperties),i}getElement(){return this._cell}onOptimalWidthNeedToBeRecalculated(e){const t=this.optimalWidth();(this._prevOptimalWidth{this._undoModel.model().fullUpdate(),this._updateTimeout=null},100)),this._prevOptimalWidth=t}optimalWidth(){var e;if(!this.isVisible())return 0;let t=0;const i=this.rendererOptions();if(this._pane.hasState()){const i=(0,N.getContext2D)(this._canvasBinding.canvas);(0,te.setFont)(i,this.baseFont());const s=this.backLabels(!0);for(let e=s.length;e--;){if(!s[e].isAxisLabelVisible())continue;const r=this._widthCache.measureText(i,s[e].text());t=Math.max(t,r);const n=s[e].secondLineText();n&&(t=Math.max(t,this._widthCache.measureText(i,n)));const o=s[e].thirdLineText();o&&(t=Math.max(t,this._widthCache.measureText(i,o)))}const r=this.priceScale(),n=r.marks();n.length>0&&(t=Math.max(t,this._widthCache.measureText(i,n[0].label),this._widthCache.measureText(i,n[n.length-1].label)));const o=(null===(e=r.mainSource())||void 0===e?void 0:e.firstValue())||null;if(null!==o){const e=r.coordinateToPrice(1,o),s=r.coordinateToPrice(this._size.h-2,o);t=Math.max(t,this._widthCache.measureText(i,r.formatPrice(Math.floor(Math.min(e,s))+.11111111111111,o)),this._widthCache.measureText(i,r.formatPrice(Math.ceil(Math.max(e,s))-.11111111111111,o)))}}let r=0;this._isCurrencyLabelEnabled()&&(null===this._currencyLabelWidth&&(this._currencyLabelWidth=(0,s.ensureNotNull)(this._currencyLabel).width()),r=Math.round(this._currencyLabelWidth));const n=t||34;let o=Math.max(r,Math.ceil(i.borderSize+i.offsetSize+i.paddingInner+i.paddingOuter+n+4));return o+=o%2,o}backLabels(e){const t=[],i=this._grouppedSources(),s=s=>{for(const r of s){if(!e&&i.topLevelSources.has(r))continue;const s=r.priceAxisViews(this._pane.state(),this.priceScale());if(s)for(const e of s)t.push(e)}};return s(i.sources), -s(this._pane.state().customSources()),t}setSizeAndOffset(e,t){if(e.w<0||e.h<0)throw new Error("Try to set invalid size to PriceAxisWidget "+JSON.stringify(e));this._size.equals(e)||(this._size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._topCanvasBinding.resizeCanvas({width:e.w,height:e.h}),this._cell.style.width=e.w+"px",this._cell.style.height=e.h+"px",this._cell.style.minWidth=e.w+"px"),this._offset!==t&&(this._offset=t,this._cell.style.left=t+"px")}getWidth(){return this._size.w}getImage(){const e=this._size,t=(0,N.createDisconnectedCanvas)(document,e);return(0,N.getPrescaledContext2D)(t).drawImage(this._canvasBinding.canvas,0,0,e.w,e.h),null!==this._currencyLabel&&this._currencyLabel.isEnabled()&&this._currencyLabel.drawLabel((0,N.getContext2D)(t),e.w,(0,N.getCanvasDevicePixelRatio)(t)),t}update(){}paint(e){if(!this._isVisible)return;if(e===b.InvalidationLevel.None)return;const t=this._pane.state(),i=!t.maximized().value()&&t.collapsed().value();if(e>b.InvalidationLevel.Cursor){const e=(0,N.getContext2D)(this._canvasBinding.canvas);i||this._alignLabels(),this._drawBackground(e,this._canvasBinding.pixelRatio),this._drawBorder(e,this._canvasBinding.pixelRatio),this._pane.hasState()&&(this.updateCurrencyLabel(),i||(this._drawTickMarks(e,this._canvasBinding.pixelRatio),this._drawBackLabels(e,this._canvasBinding.pixelRatio)))}if(this._pane.hasState()&&!i){const e=(0,N.getContext2D)(this._topCanvasBinding.canvas),t=this._topCanvasBinding.pixelRatio;e.clearRect(0,0,Math.ceil(this._size.w*t)+1,Math.ceil(this._size.h*t)+1),this._drawCrossHairLabel(e,t)}}restoreDefaultCursor(){this._setCursor("")}priceScale(){return(0,s.ensureNotNull)(this._priceScale)}setPriceScale(e){this._priceScale!==e&&(null!==this._priceScale&&(this._priceScale.onMarksChanged().unsubscribe(this,this.onOptimalWidthNeedToBeRecalculated),this._priceScale.modeChanged().unsubscribeAll(this)),this._priceScale=e,null!==e&&(e.onMarksChanged().subscribe(this,this.onOptimalWidthNeedToBeRecalculated),e.modeChanged().subscribe(this,()=>this.onOptimalWidthNeedToBeRecalculated(!0))))}isVisible(){return this._isVisible}setVisible(e){(e=!!e)!==this._isVisible&&(this._cell.style.display=e?"table-cell":"none",this._isVisible=e)}destroy(){null!==this._currencyMenu&&(this._currencyMenu.close(),this._currencyMenu=null),null!==this._unitMenu&&(this._unitMenu.close(),this._unitMenu=null),this._topCanvasBinding.unsubscribeCanvasConfigured(this._topCanvasConfiguredHandler),this._topCanvasBinding.destroy(),this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),null!==this._priceScale&&(this._priceScale.onMarksChanged().unsubscribe(this,this.onOptimalWidthNeedToBeRecalculated),this._priceScale.modeChanged().unsubscribeAll(this)),this._priceScale=null,this._updateTimeout&&(clearTimeout(this._updateTimeout),this._updateTimeout=null),this._mouseEventHandler.destroy(),this._properties.childs().fontSize.unsubscribe(this,this._onFontSizeChanged), -null!==this._actions&&this._actions.reset&&this._actions.reset.destroy(),(0,Ie.currencyUnitVisibilityProperty)().unsubscribeAll(this),this._chart.anyPriceAxisHovered().unsubscribe(this._recalcCurrencyAndUnitVisibility),this._chart.setPriceAxisHovered(this,!1),this._destroyed=!0}axisInfo(){return this._axisInfo}setHighlighted(e){this._highlighted=e}backgroundColor(){return this._pane.state().model().backgroundColor().value()}backgroundTopColor(){return this._pane.state().model().backgroundTopColor().value()}lineColor(){return this._properties.childs().lineColor.value()}textColor(){return this._properties.childs().textColor.value()}fontSize(){return this._properties.childs().fontSize.value()}baseFont(){return(0,O.makeFont)(this.fontSize(),z.CHART_FONT_FAMILY,"")}rendererOptions(){let e=this._rendererOptionsProvider.options();return this._color===e.color&&this._fontSize===e.fontSize||(this._color=e.color),this._fontSize!==e.fontSize&&(this._widthCache.reset(),this._fontSize=e.fontSize,this._currencyLabelWidth=null,this._currencyFontSize=0,this._updateCurrencyLabelFont(),this.onOptimalWidthNeedToBeRecalculated()),e}mouseEnterEvent(e){this._chart.setPriceAxisHovered(this,!0),this._mouseEnterOrTouchStartEvent(e)}mouseMoveEvent(e){this._mouseOrTouchMoveEvent(e)}mouseDownEvent(e){this._mouseDownOrTouchStartEvent(e)}touchStartEvent(e){this._mouseOrTouchMoveEvent(e),this._mouseEnterOrTouchStartEvent(e),this._mouseDownOrTouchStartEvent(e)}pressedMouseMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}pinchStartEvent(){}pinchEvent(e,t,i){if(this._zoomAvailable()&&this._options.pinchScale){if(this._dragScaleActive&&this._finishScale(),!this._pinching)return this._pinching=!0,void this._undoModel.startTwoPointsScalePrice(this._pane.state(),this.priceScale(),t.y,i.y);this._undoModel.twoPointsScalePriceTo(this._pane.state(),this.priceScale(),t.y,i.y)}}pinchEndEvent(){this._pinching=!1,this._undoModel.endTwoPointsScalePrice(this._pane.state(),this.priceScale())}mouseDownOutsideEvent(){this._finishScale()}mouseUpEvent(e){this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._mouseLeaveOrTouchEndEvent(e),this._mouseUpOrTouchEndEvent(e)}mouseClickEvent(e){this._mouseClickOrTapEvent(e)}tapEvent(e){this._mouseClickOrTapEvent(e)}mouseLeaveEvent(e){this._chart.setPriceAxisHovered(this,!1),this._mouseLeaveOrTouchEndEvent(e)}mouseDoubleClickEvent(e){this._mouseDoubleClickOrDoubleTapEvent(e)}doubleTapEvent(e){this._mouseDoubleClickOrDoubleTapEvent(e)}contextMenuEvent(e){this._contextMenuOrTouchContextMenuEvent(e)}touchContextMenuEvent(e){this._contextMenuOrTouchContextMenuEvent(e)}dataSourceAtPoint(e,t){const i=this._pane.state();if(!i.maximized().value()&&i.collapsed().value())return null;const s=this._grouppedSources(),r=[...s.sources,...s.topLevelSources,...i.customSources()];let n=null,o=null;if(!this._priceScale)return null;const a=(e,t)=>{var i;const s=null!==(i=null==o?void 0:o.result())&&void 0!==i?i:0;e.result()>s&&(o=e,n=t)},l=new C.Point(e,t);for(let e=r.length-1;e>=0;--e){ -const t=r[e],s=t.priceAxisViews(i,this._priceScale);if(s&&0!==s.length)for(let e=s.length-1;e>=0;--e){const i=s[e].renderer();if(void 0!==i.hitTest){const e=i.hitTest(l,this._size.w,this._isLeft?"left":"right");null!==e&&a(e,t)}}}return n}reset(){const e=this._pane.state(),t=this.priceScale();this._undoModel.resetPriceScale(e,t),this.onOptimalWidthNeedToBeRecalculated(!0)}sizeReady(){return this.getWidth()>=this.optimalWidth()&&null===this._updateTimeout}updateCurrencyLabel(){if(null===this._currencyLabel)return;let e=!1;if(this._options.currencyConversionEnabled){const t=this.priceScale().currency(this._undoModel.model().availableCurrencies());null===t||"alwaysOff"===(0,Ie.currencyUnitVisibilityProperty)().value()?(e=this._currencyLabel.currencyLabelEnabled(),this._currencyLabel.disableCurrency()):(e=!this._currencyLabel.currencyLabelEnabled(),this._currencyLabel.enableCurrency(),this._currencyLabel.updateColors(this.backgroundTopColor(),this.textColor()),e=this._currencyLabel.setCurrencyInfo(t)||e)}if(this._options.unitConversionEnabled){const t=this.priceScale().unit(this._undoModel.model().availableUnits());null===t||"alwaysOff"===(0,Ie.currencyUnitVisibilityProperty)().value()?(e=e||this._currencyLabel.unitLabelEnabled(),this._currencyLabel.disableUnit()):(e=e||!this._currencyLabel.unitLabelEnabled(),this._currencyLabel.enableUnit(),this._currencyLabel.updateColors(this.backgroundTopColor(),this.textColor()),e=this._currencyLabel.setUnitInfo(t)||e)}this._updateCurrencyLabelFont(),e&&(this._currencyLabelWidth=null)}_grouppedSources(){var e;const t=this._pane,i=t.state().model(),s=this._sameSideSources().slice(),r=t.state(),n=this.priceScale(),o=new Set,a=null!==(e=i.lineBeingEdited())&&void 0!==e?e:i.lineBeingCreated();a&&o.add(a);const l=i.customSourceBeingMoved();null!==l&&o.add(l),i.sourcesBeingMoved().forEach(e=>o.add(e)),i.selection().allSources().forEach(e=>o.add(e));const c=i.hoveredSource();null!==c&&o.add(c);if(n===r.defaultPriceScale()){const e=this._pane.state().dataSources();for(const t of e)r.isOverlay(t)&&s.push(t)}return{sources:s,topLevelSources:o}}_isCurrencyLabelEnabled(){return null!==this._currencyLabel&&this._currencyLabel.isEnabled()}_updateCurrencyLabelFont(){if(null===this._currencyLabel)return;const e=this.fontSize();e!==this._currencyFontSize&&(this._currencyLabel.setFontSize(e),this._currencyFontSize=e,this._currencyLabelWidth=null,this.onOptimalWidthNeedToBeRecalculated())}_alignLabels(){const e=this._size.h;let t=e/2;const i=[],s=this.priceScale(),r=s.orderedSources().slice(),n=this._pane.state(),o=this.rendererOptions();if(s===n.defaultPriceScale()){const e=n.priceDataSources();for(let t=0;t{if(t.ignoreAlignment()||!t.isVisible())return!1;const i=t.height(o),s=t.floatCoordinate();return s>-i&&se.floatCoordinate()<=t),c=i.filter(e=>e.floatCoordinate()>t);l.sort((e,t)=>t.floatCoordinate()-e.floatCoordinate()),l.length>0&&c.length>0&&c.push(l[0]),c.sort((e,t)=>e.floatCoordinate()-t.floatCoordinate());for(const e of i)e.setFixedCoordinate(e.coordinate());if(s.properties().childs().alignLabels.value()){for(let e=1;en-s&&t.setFixedCoordinate(n-s)}for(let e=1;e{if(this._options.croppedTickMarks)return{visible:!0,yCorrection:this._widthCache.yMidCorrection(e,t.label)};const i=t.coord-a/2,s=t.coord+a/2,r=!(s>this._size.h||ithis._size.h||i{for(let s=i.length;s--;){if(!c[s].visible)continue;const r=i[s];e.fillText(r.label,o/t,r.coord+c[s].yCorrection)}}),e.restore()}_hasAlertLabel(){return!1}async _showCurrenciesContextMenu(){if(null!==this._currencyMenu&&this._currencyMenu.isOpened())return void this._currencyMenu.close();(0,se.trackEvent)("GUI","Currency conversion");const{currencyActions:e}=await Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(7836),i.e(5774),i.e(1112),i.e(4763),i.e(4474),i.e(7237),i.e(3016),i.e(1075),i.e(2704)]).then(i.bind(i,11507)),t=await ve(ke,()=>e(this._undoModel,(0,s.ensureNotNull)(this._currencyLabel).currencyInfo(),this.priceScale()),(0,s.ensureNotNull)(this._currencyLabel).currencyLabelElement());this._destroyed?t.close():this._currencyMenu=t}async _showUnitsContextMenu(){if(null!==this._unitMenu&&this._unitMenu.isOpened())return void this._unitMenu.close();(0,se.trackEvent)("GUI","Unit conversion");const{unitActions:e}=await Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(7836),i.e(5774),i.e(1112),i.e(4763),i.e(4474),i.e(7237),i.e(3016),i.e(1075),i.e(2704)]).then(i.bind(i,53997)),t=await ve(De,()=>e(this._undoModel,(0,s.ensureNotNull)(this._currencyLabel).unitInfo(),this.priceScale()),(0,s.ensureNotNull)(this._currencyLabel).unitLabelElement());this._destroyed?t.close():this._unitMenu=t}_onFontSizeChanged(){this._currencyLabelWidth=null,this._currencyFontSize=0,this._updateCurrencyLabelFont(),this.onOptimalWidthNeedToBeRecalculated()}_mouseOrTouchMoveEvent(e){if(!this._priceScale)return;this.dataSourceAtPoint(e.localX,e.localY)?this._setCursorClassName("pointer"):this._setResizeCursor()} -_mouseDownOrTouchStartEvent(e){this._zoomAvailable()&&this._options.pressedMouseMoveScale&&!this._pinching&&(this._dragScaleActive=!0,this._undoModel.startScalePrice(this._pane.state(),this.priceScale(),e.localY))}_mouseEnterOrTouchStartEvent(e){this._setResizeCursor()}_pressedMouseOrTouchMoveEvent(e){if(this._dragScaleActive){const t=this.priceScale();this._undoModel.scalePriceTo(this._pane.state(),t,e.localY)}}_mouseUpOrTouchEndEvent(e){this._finishScale()}_finishScale(){this._dragScaleActive&&(this._undoModel.endScalePrice(this._pane.state(),this.priceScale()),this.restoreDefaultCursor(),this._dragScaleActive=!1)}_mouseClickOrTapEvent(e){if(this._currencyLabel){if(this._currencyLabel.currencyLabelElement().contains(e.target))return void this._showCurrenciesContextMenu();if(this._currencyLabel.unitLabelElement().contains(e.target))return void this._showUnitsContextMenu()}const t=this.dataSourceAtPoint(e.localX,e.localY);t&&this._undoModel.selectionMacro(e=>{e.selection().isSelected(t)||(e.clearSelection(),e.addSourceToSelection(t))})}_mouseLeaveOrTouchEndEvent(e){this._setCursorClassName("")}_mouseDoubleClickOrDoubleTapEvent(e){const t=this.dataSourceAtPoint(e.localX,e.localY);t?this._pane.processDoubleClickOnSource(t):(this.reset(),(0,se.trackEvent)("GUI","Double click price scale"))}_contextMenuOrTouchContextMenuEvent(e){if(this._options.contextMenuEnabled){const t=this.dataSourceAtPoint(e.localX,e.localY);if(null!==t&&this._options.contextMenu.source){return void this._undoModel.model().selectionMacro(i=>{i.selection().isSelected(t)||(i.clearSelection(),i.addSourceToSelection(t)),this._pane.showContextMenuForSelection(e)})}this._options.contextMenu.general&&$.ContextMenuManager.showMenu(this.getContextMenuActions(),e,{statName:"PriceScaleContextMenu"},{menuName:"PriceScaleContextMenu"})}}_setResizeCursor(){const e=this.priceScale();e.isPercentage()||e.isIndexedTo100()?this._setCursorClassName(""):this._zoomAvailable()&&(this._options.pressedMouseMoveScale||this._options.mouseWheelScale)&&this._setCursorClassName("ns-resize")}_setCursorClassName(e){let t="";e&&(t="price-axis--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._cell.classList.remove(this._currentCursorClassName),t&&this._cell.classList.add(t),this._currentCursorClassName=t)}_zoomAvailable(){return!this.priceScale().isEmpty()&&this._undoModel.model().zoomEnabled()}_onMousewheel(e){if(!this._zoomAvailable()||!this._options.mouseWheelScale)return;const t=(0,s.ensureNotNull)(this._mouseWheelHelper).processWheel(e).deltaY;if(0===t)return;e.cancelable&&e.preventDefault();const i=this._undoModel,r=this._pane.state(),n=this.priceScale(),o=this._cell.getBoundingClientRect(),a=e.clientY-o.top,l=a+15*t;i.startScalePrice(r,this.priceScale(),a,!0),i.scalePriceTo(r,n,l),i.endScalePrice(r,n),e.stopPropagation()}_drawCrossHairLabel(e,t){var i,s;e.save();const r=this._pane.state(),n=r.model(),o=this.priceScale(),a=[],l=this.priceScale()===r.defaultPriceScale(),c=null!==(i=n.lineBeingEdited())&&void 0!==i?i:n.lineBeingCreated() -;if(c&&(c.priceScale()===o||l&&r.isOverlay(c))){const e=c.priceAxisViews(r,o);e&&e.length&&a.push(e)}const h=n.customSourceBeingMoved();this._addViewsOrMaxMin(null===h?[]:[h],a),this._addViewsOrMaxMin(n.sourcesBeingMoved(),a),this._addViewsOrMaxMin(n.selection().allSources(),a);const d=n.hoveredSource();if(d){const e=r.customSources().includes(d)?o:d.priceScale();if(!n.selection().isSelected(d)&&(this._isFromSameSide(e)||l&&r.isOverlay(d))){const e=null===(s=n.hoveredSource())||void 0===s?void 0:s.priceAxisViews(r,o);e&&e.length&&a.push(e)}}const u=n.crossHairSource().priceAxisViews(r,o);u&&u.length&&a.push(u);const p=this.rendererOptions(),_=this._isLeft?"right":"left";a.forEach(i=>{i.forEach(i=>{e.save(),i.renderer().draw(e,p,this._widthCache,this._size.w,this._size.h,_,t),e.restore()})}),e.restore()}_drawBackground(e,t){const i=Math.ceil(this._size.w*t),s=Math.ceil(this._size.h*t),r=this.backgroundTopColor(),n=this.backgroundColor();if(r===n?(0,N.clearRect)(e,0,0,i+1,s+1,this.backgroundColor()):(0,R.clearRectWithGradient)(e,0,0,i+1,s+1,r,n),this._highlighted){e.globalAlpha=.5;const t=F.themes[this._backgroundBasedTheme.value()].getThemedColor("color-price-axis-highlight");(0,N.fillRect)(e,0,0,i+1,s+1,t),e.globalAlpha=1}const o=this._pane.state().model(),a=this.priceScale(),l=o.selection().lineDataSources().filter(e=>e.priceScale()===a).reduce((e,t)=>{const i=t.priceAxisPoints();return 0===i.length?e:e.concat(i)},[]);l.length>0&&this._hightlightBackground(e,l,this.priceScale().mainSource(),t);const c=o.crossHairSource();c.startMeasurePoint()&&this._hightlightBackground(e,c.measurePoints(),this.priceScale().mainSource(),t)}_drawBorder(e,t){e.save(),e.fillStyle=this.lineColor();const i=Math.max(1,Math.floor(this.rendererOptions().borderSize*t)),s=this._isLeft?Math.floor(this._size.w*t)-i:0;e.fillRect(s,0,i,Math.ceil(this._size.h*t)+1),e.restore()}_drawBackLabels(e,t){e.save();const i=this.backLabels(),s=this.rendererOptions(),r=this._isLeft?"right":"left";for(const n of i)n.isAxisLabelVisible()&&(e.save(),n.renderer().draw(e,s,this._widthCache,this._size.w,this._size.h,r,t),e.restore());e.restore()}_hightlightBackground(e,t,i,s){if(!i)return;const r=i.firstValue();if(null===r)return;let n=t[0].price,o=t[0].price;for(let e=1;ei.isOverlay(e)||this._isFromSameSide(e.priceScale()))),0!==e.length)if(1===e.length){const r=e[0].priceAxisViews(i,s);r&&r.length&&t.push(r)}else t.push(this._minMaxViews(e))}_minMaxViews(e){const t=this._pane.state(),i=this.priceScale(),s=[];let r=1/0,n=-1/0,o=null,a=null;for(const s of e){const e=s.priceAxisViews(t,i);if(e&&e.length)for(let t=0;t=n&&(n=s,a=i),s<=r&&(r=s,o=i)}}return a&&s.push(a),o&&s.push(o),s}_isFromSameSide(e){return null!==e&&(this._isLeft?this._pane.state().leftPriceScales():this._pane.state().rightPriceScales()).includes(e)}_sameSideSources(){const e=this._pane.state().sourcesByGroup();return this._isLeft?e.leftPriceScalesSources():e.rightPriceScalesSources()}_initActions(){if(!this._pane.hasState()||null!==this._actions)return;const e=this._undoModel,t=new xe.Action({actionId:"Chart.PriceScale.Reset",label:Ve,icon:Me,shortcutHint:(0,be.humanReadableHash)(be.Modifiers.Alt+82),statName:"ResetScale",onExecute:()=>this.reset()}),i=new xe.Action({actionId:"Chart.PriceScale.ToggleAutoScale",label:Be,checkable:!0,checked:!0,statName:"ToggleAutoScale",onExecute:()=>{e.togglePriceScaleAutoScaleMode(this.priceScale()),this._updateScalesActions()}}),s=new xe.Action({actionId:"Chart.PriceScale.TogglePercentage",label:Ne,checkable:!0,checked:this.priceScale().isPercentage(),statName:"TogglePercantage",onExecute:()=>{e.togglePriceScalePercentageScaleMode(this.priceScale()),this._updateScalesActions()}}),r=new xe.Action({actionId:"Chart.PriceScale.ToggleIndexedTo100",label:Re,checkable:!0,checked:this.priceScale().isIndexedTo100(),statName:"ToggleIndexedTo100",onExecute:()=>{e.togglePriceScaleIndexedTo100ScaleMode(this.priceScale()),this._updateScalesActions()}}),n=new xe.Action({actionId:"Chart.PriceScale.ToggleLogarithmic",label:Oe,checkable:!0,checked:this.priceScale().isLog(),statName:"ToggleLogScale",onExecute:()=>{e.togglePriceScaleLogScaleMode(this.priceScale()),this._updateScalesActions()}}),o=new xe.Action({actionId:"Chart.PriceScale.ToggleRegular",label:Fe,checkable:!0,checked:this.priceScale().isRegular(),statName:"ToggleRegularScale",onExecute:()=>{e.setPriceScaleRegularScaleMode(this.priceScale()),this._updateScalesActions()}}),a=new xe.Action({actionId:"Chart.PriceScale.Labels.ToggleNoOverlappingLabelsVisibility",label:We,checkable:!0,checked:this.priceScale().properties().childs().alignLabels.value(),statName:"TogglePreciseLabels"});a.setBinding(new we.ActionBinder(a,this.priceScale().properties().childs().alignLabels,e,Le));const l=new xe.Action({actionId:"Chart.PriceScale.ToggleInvertScale",label:He,checkable:!0,checked:this.priceScale().isInverted(),statName:"Invert Scale",onExecute:()=>{e.invertPriceScale(this.priceScale()),this._updateScalesActions()}});this._actions={reset:t,setAutoScale:i,setPercentage:s,setIndexedTo100:r,setLog:n,setRegular:o,alignLabels:a,invertScale:l},this._updateScalesActions()}_logAction(){return this._isMainSeriesAxis()?this._chart.actions().logSeriesScale:(0,s.ensureNotNull)(this._actions).setLog}_percentageAction(){return this._isMainSeriesAxis()?this._chart.actions().percentSeriesScale:(0,s.ensureNotNull)(this._actions).setPercentage}_indexedTo100Action(){return this._isMainSeriesAxis()?this._chart.actions().indexedTo100SeriesScale:(0,s.ensureNotNull)(this._actions).setIndexedTo100}_autoScaleAction(){return this._isMainSeriesAxis()?this._chart.actions().autoSeriesScale:(0, -s.ensureNotNull)(this._actions).setAutoScale}_regularScaleAction(){return this._isMainSeriesAxis()?this._chart.actions().regularSeriesScale:(0,s.ensureNotNull)(this._actions).setRegular}_lockScaleAction(){const e=this._chart.actions().lockSeriesScale,t=ze(this.priceScale(),this._undoModel.model().mainSeriesScaleRatio());return e.update({hint:t}),e}_invertAction(){return this._isMainSeriesAxis()?this._chart.actions().invertSeriesScale:(0,s.ensureNotNull)(this._actions).invertScale}_isMainSeriesAxis(){return this.priceScale().hasMainSeries()}_updateScalesActions(){const e=this.priceScale(),t=this._isMainSeriesAxis(),i=(0,s.ensureNotNull)(e.mainSource()).properties(),r=t&&e.isLockScale(),n=t&&6===i.style.value(),o=(0,s.ensureNotNull)(this._actions);o.setRegular.update({checked:e.isRegular(),disabled:r||n}),o.setPercentage.update({checked:e.isPercentage(),disabled:r||n}),o.setIndexedTo100.update({checked:e.isIndexedTo100(),disabled:r||n}),o.setLog.update({checked:e.isLog(),disabled:r||n}),o.setAutoScale.update({checked:e.isAutoScale(),disabled:e.properties().childs().autoScaleDisabled.value()})}_createMergeScalesAction(){const e=this._chart.actions(),t=this._undoModel.model().priceScaleSlotsCount();if(t.left+t.right===1)return 0===t.left?e.moveScaleToLeft:e.moveScaleToRight;const i=[];return i.push(e.mergeLeftScalesAction),i.push(e.mergeRightScalesAction),new xe.Action({actionId:"Chart.PriceScale.MergeAllScales",label:Ae,subItems:i})}_setCursor(e){let t="";"grabbing"!==e&&"ns-resize"!==e||(t="price-axis--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._cell.classList.remove(this._currentCursorClassName),t&&this._cell.classList.add(t),this._currentCursorClassName=t,this._cell.style.cursor)}}function Ge(e,t){return e.position-t.position}function qe(e,t,i){const s=(e.position-t.position)/(e.time-t.time);return Math.sign(s)*Math.min(Math.abs(s),i)}class Ye{constructor(e,t,i,s){this._position1=null,this._position2=null,this._position3=null,this._position4=null,this._animationStartPosition=null,this._durationMsecs=0,this._speedPxPerMsec=0,this._terminated=!1,this._minSpeed=e,this._maxSpeed=t,this._dumpingCoeff=i,this._minMove=s}addPosition(e,t){if(null!==this._position1){if(this._position1.time===t)return void(this._position1.position=e);if(Math.abs(this._position1.position-e)50)return;let i=0;const s=qe(this._position1,this._position2,this._maxSpeed),r=Ge(this._position1,this._position2),n=[s],o=[r];if(i+=r,null!==this._position3){const e=qe(this._position2,this._position3,this._maxSpeed);if(Math.sign(e)===Math.sign(s)){const t=Ge(this._position2,this._position3);if(n.push(e),o.push(t),i+=t,null!==this._position4){const e=qe(this._position3,this._position4,this._maxSpeed);if(Math.sign(e)===Math.sign(s)){const t=Ge(this._position3,this._position4) -;n.push(e),o.push(t),i+=t}}}}let a=0;for(let e=0;ea&&(e.hittest=t,e.source=i,e.renderer=s,e.isCustom=r)}const xt={contextMenuEnabled:!0,contextMenu:Te.defaultContextMenuOptions,priceScaleContextMenuEnabled:!0,legendWidgetEnabled:!0,controlsEnabled:!0,propertyPagesEnabled:!0,sourceSelectionEnabled:!0,countdownEnabled:!0},It=new Map([[M.AreaName.Text,"Text"],[M.AreaName.Style,"Style"]]),Mt=!Pe.enabled("display_legend_on_all_charts");function Lt(e,t){return!(0,M.shouldDefaultActionBeExecuted)(e,t,"pressedMouseMoveHandler","touchMoveHandler")}class At{constructor(e,t,i,s){this._legendWidget=null,this._paneControls=null,this._isDestroyed=!1,this._trackCrosshairOnlyAfterLongTap=(0,x.lastMouseOrTouchEventInfo)().isTouch,this._startTrackPoint=null,this._exitTrackingModeOnNextTry=!1,this._startMoveSourceParams=null,this._startChangeLineToolParams=null,this._preventSourceChange=!1,this._clonningAtMoveLineTools=null,this._startCloningPoint=null,this._size=new N.Size(0,0),this._themedTopColor=null,this._initCrossHairPosition=null,this._firstZoomPoint=null,this._editDialog=null, -this._processing=!1,this._touchMove=!1,this._startTouchPoint=null,this._isSelecting=!1,this._prevHoveredHittest=null,this._contextMenuX=0,this._contextMenuY=0,this._startScrollingPos=null,this._isScrolling=!1,this._scrollPriceScale=null,this._scrollXAnimation=null,this._scrollYAnimation=null,this._prevPinchScale=1,this._pinching=!1,this._wasPinched=!1,this._longTap=!1,this._contextMenuOpenedOnLastTap=!1,this._paneControlsResizeObserver=null,this._lastClickedSource=null,this._customLegendWidgetsFactoryMap=new Map,this._prevMoveEventPosition=null,this._onMagnetStateChangedListener=this._onMagnetStateChanged.bind(this),this._onShiftKeyStateChangedListener=this._onShiftKeyStateChanged.bind(this),this._currentCursorClassName="",this._lastFinishedToolId=null,this._needResetMeasureLater=!1,this._currentChangingLineToolHitTest=null,this._currentMovingHitTest=null,this._prevTooltipData=null,this._errorRenderer=null,this._highlightedPriceAxis=new($e())({owner:"",axis:null}),this._visuallyCollapsed=new($e())(!1),this._canvasConfiguredHandler=()=>this._state&&this._chartModel().lightUpdate(),this._topCanvasConfiguredHandler=()=>this._state&&this._chartModel().lightUpdate(),this._updateVisuallyCollapsed=()=>{this._visuallyCollapsed.setValue(!this.state().maximized().value()&&this.state().collapsed().value())},this._chart=e,this._state=t,this._options=(0,_.merge)((0,_.clone)(xt),i),this._paneWidgetsSharedState=s,this._state&&this._subscribeToState();const r={contextMenuEnabled:this._options.priceScaleContextMenuEnabled,pressedMouseMoveScale:this._options.handleScale.axisPressedMouseMove.price,mouseWheelScale:this._options.handleScale.mouseWheel,currencyConversionEnabled:this._options.currencyConversionEnabled,unitConversionEnabled:this._options.unitConversionEnabled,countdownEnabled:this._options.countdownEnabled,croppedTickMarks:this._options.croppedTickMarks};void 0!==this._options.priceScaleContextMenu&&(r.contextMenu=this._options.priceScaleContextMenu);const n=(e,t,i,s,n)=>new je(this._chart,this,this._chartUndoModel(),i,t,e,r,s,n),o=e.properties().childs().scalesProperties,a=this._chartModel().rendererOptionsProvider(),l={backgroundBasedTheme:e.backgroundBasedTheme(),rendererOptionsProvider:a,getBackgroundTopColor:()=>this._chartModel().backgroundTopColor().value(),getBackgroundBottomColor:()=>this._chartModel().backgroundColor().value()},c={showLabels:!1};this._lhsPriceAxisesContainer=new ee(o,"left",n,l,c),this._rhsPriceAxisesContainer=new ee(o,"right",n,l,c),this._paneCell=document.createElement("td"),this._paneCell.classList.add("chart-markup-table","pane"),this._div=document.createElement("div"),this._div.classList.add("chart-gui-wrapper"),this._div.setAttribute("data-name","pane-widget-chart-gui-wrapper"),this._paneCell.appendChild(this._div),this._canvasBinding=(0,N.createBoundCanvas)(this._div,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const h=this._canvasBinding.canvas;h.style.position="absolute",h.style.left="0",h.style.top="0",this._topCanvasBinding=(0, -N.createBoundCanvas)(this._div,new N.Size(16,16)),this._topCanvasBinding.subscribeCanvasConfigured(this._topCanvasConfiguredHandler);const d=this._topCanvasBinding.canvas;d.style.position="absolute",d.style.left="0",d.style.top="0",this._rowElement=document.createElement("tr"),this._rowElement.appendChild(this._lhsPriceAxisesContainer.getElement()),this._rowElement.appendChild(this._paneCell),this._rowElement.appendChild(this._rhsPriceAxisesContainer.getElement()),this._options.legendWidgetEnabled&&(this._options.customLegendWidgetFactories&&(this._customLegendWidgetsFactoryMap=this._options.customLegendWidgetFactories),this._loadAndCreateLegendWidget()),this._state&&!this._chart.readOnly()&&this._options.controlsEnabled&&this._loadAndCreatePaneControlsWidget(),(0,nt.magnetEnabled)().subscribe(this._onMagnetStateChangedListener),(0,ot.shiftPressed)().subscribe(this._onShiftKeyStateChangedListener),this._paneCell.addEventListener("dragover",e=>{e.dataTransfer&&Array.from(e.dataTransfer.files).some(blobImageFilter)&&e.preventDefault()}),this.setCursorForTool(),this._mouseEventHandler=new B.MouseEventHandler(this._topCanvasBinding.canvas,this,{treatVertTouchDragAsPageScroll:!this._options.handleScroll.vertTouchDrag,treatHorzTouchDragAsPageScroll:!this._options.handleScroll.horzTouchDrag}),this._prevHoveredHittest=null,this._highlightedPriceAxis.subscribe(e=>this._highlightPriceAxisByLabel(e.axis)),this._prevPinchScale=0,this._isDestroyed=!1}destroy(){var e;this._chart.onPaneWidgetDestroyed(this),this._customLegendWidgetsFactoryMap.clear(),this._topCanvasBinding.unsubscribeCanvasConfigured(this._topCanvasConfiguredHandler),this._topCanvasBinding.destroy(),this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),this._legendWidget&&(this._legendWidget.destroy(),this._legendWidget=null),null!==this._paneControlsResizeObserver&&this._paneControlsResizeObserver.disconnect(),null!==this._paneControls&&(this._paneControls.destroy(),this._paneControls=null),this._lhsPriceAxisesContainer.destroy(),this._rhsPriceAxisesContainer.destroy(),this.hasState()&&this._unsubscribeFromState(),(0,nt.magnetEnabled)().unsubscribe(this._onMagnetStateChangedListener),(0,ot.shiftPressed)().unsubscribe(this._onShiftKeyStateChangedListener),this._paneWidgetsSharedState.onPaneDestroyed(this),this._errorRenderer&&this._errorRenderer.then(e=>{e.destroy(),this._errorRenderer=null}),this._prevHoveredHittest=null,this._mouseEventHandler.destroy(),null===(e=this._rowElement.parentElement)||void 0===e||e.removeChild(this._rowElement),this._isDestroyed=!0}size(){return this._size}setSize(e){(0,s.assert)(e.w>=0&&e.h>=0,"Try to set invalid size to PaneWidget "+JSON.stringify(e)),this._size.equals(e)||(this._size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._topCanvasBinding.resizeCanvas({width:e.w,height:e.h}),this._paneCell.style.width=e.w+"px",this._paneCell.style.height=e.h+"px",this._div.style.width=e.w+"px",this._div.style.height=e.h+"px", -this._rowElement.classList.toggle("js-hidden",0===e.h),null!==this._legendWidget&&this._legendWidget.updateWidgetModeBySize(e),null!==this._paneControls&&this._paneControls.updateWidgetModeByWidth(e.w))}width(){return this._size.w}height(){return this._size.h}backgroundColor(){return this._chartModel().backgroundColor().value()}highlightedPriceAxis(){return this._highlightedPriceAxis}processDoubleClickOnSource(e,t){(0,E.isDataSource)(e)&&e.id()!==this._lastFinishedToolId&&this._showEditDialogForSource(e,t)}stretchFactor(){return this._state?this._state.stretchFactor():0}setStretchFactor(e){this.hasState()&&this.state().setStretchFactor(e)}setCursorForTool(e,t,i){if(t&&t.mod()&&e)return void this._setCursorClassName("pointer");if(void 0!==i){switch(i){case it.PaneCursorType.VerticalResize:this._setCursorClassName("ns-resize");break;case it.PaneCursorType.HorizontalResize:this._setCursorClassName("ew-resize");break;case it.PaneCursorType.DiagonalNeSwResize:this._setCursorClassName("nesw-resize");break;case it.PaneCursorType.DiagonalNwSeResize:this._setCursorClassName("nwse-resize");break;case it.PaneCursorType.Default:this._setCursorClassName("default");break;case it.PaneCursorType.Pointer:this._setCursorClassName("pointer");break;case it.PaneCursorType.Grabbing:this._setCursorClassName("grabbing")}return}const s=k.tool.value();if((0,k.toolIsCursor)(s)){if(null!==this._paneWidgetsSharedState.draggingSource()||this._isScrolling||this._chartUndoModel()&&this._chartUndoModel().model().sourcesBeingMoved().length)return void this._setCursorClassName("grabbing");if(e&&this._options.sourceSelectionEnabled)return void this._setCursorClassName("pointer")}if("eraser"===s)return void this._setCursorClassName("eraser");if("zoom"===s)return void this._setCursorClassName("zoom-in");const r=k.cursorTool.value();"dot"!==r?"arrow"!==r?this._setCursorClassName(""):this._setCursorClassName("default"):this._setCursorClassName("dot")}showContextMenuForSelection(e){const t=this._chartUndoModel().selection();if(t.isEmpty())return;const i=t.dataSources().filter(e=>e.hasContextMenu());this.showContextMenuForSources(i,e)}async showContextMenuForSources(e,t,i){var s;if(!e.length)return Promise.resolve(null);const r=e[0],n=(0,_.merge)((0,_.clone)(this._options.contextMenu),i||{}),o=new Te.ActionsProvider(this._chart,n);if(r===this._chartUndoModel().crossHairSource())return r.handleContextMenuEvent(t),Promise.resolve(null);{const i=await o.contextMenuActionsForSources(e,t);if(0===i.length)return Promise.resolve(null);{let e;return e=r instanceof lt.Series?{menuName:"ObjectTreeContextMenu",detail:{type:"series",id:r.instanceId()}}:(0,f.isLineTool)(r)?{menuName:"ObjectTreeContextMenu",detail:{type:"shape",id:null!==(s=null==r?void 0:r.id())&&void 0!==s?s:null}}:{menuName:"ObjectTreeContextMenu",detail:{type:"study",id:(null==r?void 0:r.id())||null}},$.ContextMenuManager.createMenu(i,void 0,e).then(e=>(e.show(t),e))}}}leftPriceAxisesContainer(){return this._lhsPriceAxisesContainer}rightPriceAxisesContainer(){return this._rhsPriceAxisesContainer} -setPriceAxisSizes(e,t,i){this._priceAxisesContainer(e).setSizes(t,i)}state(){return(0,s.ensureNotNull)(this._state)}hasState(){return null!==this._state}setState(e){this._state!==e&&(this.hasState()&&this._unsubscribeFromState(),this._state=e,this.hasState()&&(this._subscribeToState(),this.updatePriceAxisWidgets()))}getScreenshotData(e){const t=[],i=[];let s,r=[];const n=this.state().sourcesByGroup().priceSources().slice().reverse(),o=this._chart.properties().childs().paneProperties.childs().legendProperties.childs();for(const a of n){const n=a.statusView();if((0,v.isStudy)(a)&&(o.showLegend.value()||(null==e?void 0:e.showCollapsedStudies))){const s=o.showStudyTitles.value(),r=s;a.properties().visible.value()&&n&&r&&(t.push(s?a.statusProvider(null==e?void 0:e.status).text():""),i.push(a.valuesProvider().getValues(null)))}else a===this._chartModel().mainSeries()&&n&&o.showSeriesTitle.value()&&(s=a.statusProvider((null==e?void 0:e.status)||{}).text(),r=a.valuesProvider().getValues(null))}return{type:"pane",leftAxis:this._lhsPriceAxisesContainer.getScreenshotData(),rightAxis:this._rhsPriceAxisesContainer.getScreenshotData(),content:this._canvasBinding.canvas.toDataURL(),canvas:this._canvasBinding.canvas,contentWidth:this._size.w,contentHeight:this._size.h,studies:t,studiesValues:i,containsMainSeries:this.containsMainSeries(),mainSeriesText:s,mainSeriesValues:r}}updatePriceAxisWidgets(){if(!this.hasState())return;const e=this._chartModel(),t=e.paneForSource(e.mainSeries());if(!t)return;const i=e.priceScaleSlotsCount(),s=this.state(),r=s.visibleLeftPriceScales(),n=s.visibleRightPriceScales();this._lhsPriceAxisesContainer.setScales(r,i.left,t.leftPriceScales().length,i.left+i.right),this._rhsPriceAxisesContainer.setScales(n,i.right,t.rightPriceScales().length,i.left+i.right)}update(){this.hasState()&&(this._lhsPriceAxisesContainer.update(),this._rhsPriceAxisesContainer.update(),null!==this._legendWidget&&this._legendWidget.update(),this.updateControls())}updateStatusWidget(e=b.InvalidationLevel.None){this.hasState()&&null!==this._legendWidget&&(e===b.InvalidationLevel.Full?this._legendWidget.updateLayout():this._legendWidget.update())}updateControls(){this.hasState()&&null!==this._paneControls&&this._paneControls.update()}updateThemedColors(e){this._themedTopColor=e.topColor,this._updateByThemedColors()}statusWidget(){return this._legendWidget}getElement(){return this._rowElement}canvasElement(){return this._canvasBinding.canvas}hasCanvas(e){return this._canvasBinding.canvas===e||this._topCanvasBinding.canvas===e}pinchStartEvent(){null===this._paneWidgetsSharedState.scrollingPane()&&null===this._paneWidgetsSharedState.pinchingPane()&&(this._onTouchEvent(),this._options.handleScale.pinch&&(this._terminateActiveAnimations(),this._prevPinchScale=1,this._pinching=!0,this._wasPinched=!0,this._paneWidgetsSharedState.setPinchingPane(this)))}pinchEvent(e,t,i,s){if(null!==this._paneWidgetsSharedState.scrollingPane()||this._paneWidgetsSharedState.pinchingPane()!==this)return;if(this._onTouchEvent(), -!this._options.handleScale.pinch)return;const r=10*(s-this._prevPinchScale);this._prevPinchScale=s,this._chartModel().zoomTime(e.x,r,!0),this._prevPinchScale=s}pinchEndEvent(){null===this._paneWidgetsSharedState.scrollingPane()&&this._paneWidgetsSharedState.pinchingPane()===this&&(this._onTouchEvent(),this._pinching=!1,this._paneWidgetsSharedState.setPinchingPane(null))}mouseClickEvent(e){this._onMouseEvent(),this._mouseClickOrTapEvent(e)}tapEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._mouseClickOrTapEvent(e))}mouseDownEvent(e){this._onMouseEvent(),this.hasState()&&this._mouseDownOrTouchStartEvent(e,(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY)))}touchStartEvent(e){if(this._paneWidgetsSharedState.startTouch(this),this._preventTouchEventsExceptPinch())return;const t=this._chartModel().crossHairSource(),i=!this._trackCrosshairOnlyAfterLongTap&&t.pane===this._state&&Number.isFinite(t.originX())&&Number.isFinite(t.originY())&&Math.abs(t.originX()-e.localX)+Math.abs(t.originY()-e.localY)<5;this._onTouchEvent(),this._chart.setActivePaneWidget(this);const r=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));i&&(r.source===t||t.selectPointMode().value()?this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(e.localX,e.localY)):!this._chart.readOnly()&&(0,f.isLineTool)(r.source)&&r.source.userEditEnabled()&&this._chartUndoModel().selectionMacro(e=>{var t;e.clearSelection(),e.addSourceToSelection(r.source,null===(t=r.hittest)||void 0===t?void 0:t.data())})),this._mouseDownOrTouchStartEvent(e,r),this._mouseOrTouchMoveEvent(e)}mouseUpEvent(e){this._onMouseEvent(),this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._paneWidgetsSharedState.endTouch(this),this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._mouseOrTouchLeaveEvent(e),this._mouseUpOrTouchEndEvent(e))}mouseMoveEvent(e){this._onMouseEvent(),this._mouseOrTouchMoveEvent(e)}pressedMouseMoveEvent(e){this._onMouseEvent(),this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._pressedMouseOrTouchMoveEvent(e))}mouseLeaveEvent(e){this._onMouseEvent(),this._mouseOrTouchLeaveEvent(e)}mouseDoubleClickEvent(e){this._onMouseEvent(),this._mouseDoubleClickOrDoubleTapEvent(e)}wheelClickEvent(e){var t,i;if(this._chart.readOnly())return;const r=this._dataSourceAtPoint(e.localX,e.localY);if(null===r||r.isCustom||null===r.source)return;if(((null===(t=r.hittest)||void 0===t?void 0:t.result())||0)<=M.HitTestResult.MOVEPOINT_BACKGROUND)return;const n=new A.EnvironmentState(e),o=null===(i=r.hittest)||void 0===i?void 0:i.eraseMarker();if(n.mod()&&void 0!==o&&r.source.processErase)return void r.source.processErase(this._chartUndoModel(),o);const a=this._chartUndoModel();a.selection().isSelected(r.source)||a.selectionMacro(e=>{e.clearSelection();const t=(0,s.ensureNotNull)(r.source);e.addSourceToSelection(t,Pt(r,t))}),this._chart.removeSelectedSources()}doubleTapEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(), -this._mouseDoubleClickOrDoubleTapEvent(e))}longTapEvent(e){if(null===this._state||this._preventTouchEventsExceptPinch())return;if(this._onTouchEvent(),this._longTap=!0,null!==this._startTrackPoint||!this._trackingModeShouldBeActive())return;const t=this._chartModel().selection();if(!t.isEmpty()){const i=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));if(null!==i.source&&t.isSelected(i.source))return}this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(e.localX,e.localY),new A.EnvironmentState(e))}mouseEnterEvent(e){this._onMouseEvent(),this.hasState()&&(this._chart.setActivePaneWidget(this),this._setCursorPosition(e.localX,e.localY,new A.EnvironmentState(e)))}contextMenuEvent(e){this._onMouseEvent(),this._contextMenuEvent(e)}touchContextMenuEvent(e){this._preventTouchEventsExceptPinch()||(this._onTouchEvent(),this._contextMenuEvent(e))}mouseDownOutsideEvent(){this._processOutsideClick({hittest:null,isCustom:!1,renderer:null,source:null})}cancelZoom(){this._chartModel().crossHairSource().clearSelection(),this._firstZoomPoint=null,this._preventCrossHairMove()&&this._clearCursorPosition()}startTrackingMode(e,t,i){this._startChangeLineToolParams=null,this._startMoveSourceParams=null,this._currentChangingLineToolHitTest=null,this._currentMovingHitTest=null,this._chartUndoModel().selectionMacro(e=>e.clearSelection()),this._startTrackPoint=e,this._exitTrackingModeOnNextTry=!1,this._setCursorPosition(t.x,t.y,i),this._initCrossHairPosition=this._chartModel().crossHairSource().currentPoint()}setDragToAnotherPaneCursor(){this._setCursorClassName("grabbing")}cloneLineTools(e,t){return this._chartUndoModel().cloneLineTools(e,t)}exitTrackingMode(){null!==this._state&&null!==this._startTrackPoint&&(this._exitTrackingModeOnNextTry=!0,this._tryExitTrackingMode())}trackingModeEnabled(){return null!==this._state&&null!==this._startTrackPoint}addCustomWidgetToLegend(e,t){this._options.legendWidgetEnabled&&(this._customLegendWidgetsFactoryMap.set(e,t),null!==this._legendWidget&&this._legendWidget.addCustomWidgetToLegend(e,t))}containsMainSeries(){return!!this.hasState()&&this.state().containsMainSeries()}paint(e,t){if(!this._chartUndoModel()||!this.hasState())return;this._state&&(e.priceScaleSideMaxLevel("left")>b.InvalidationLevel.Cursor||e.priceScaleSideMaxLevel("right")>b.InvalidationLevel.Cursor)&&(this._recalculatePriceScales((0,ht.viewportChangeEvent)()),this._chartModel().updateCrosshairPositionByOriginCoords());const i=e.fullInvalidation();if(i>b.InvalidationLevel.Cursor){const e=this._chartModel().crossHairSource(),t=e.originX(),i=e.originY();if(e.pane===this._state&&Number.isFinite(t)&&Number.isFinite(i)){const e=this._dataSourceAtPoint(t,i);null!==e&&this._updateHoveredSource(e,(0,ot.globalEnvironmentState)())}}if(this._lhsPriceAxisesContainer.paint(e.getterForPriceScaleInvalidationLevelBySide("left")),this._rhsPriceAxisesContainer.paint(e.getterForPriceScaleInvalidationLevelBySide("right")),i===b.InvalidationLevel.None)return -;const r=this._state&&(this._state.maximized().value()||!this._state.collapsed().value());if(i>b.InvalidationLevel.Cursor){const e=(0,s.ensureNotNull)(this._canvasBinding.canvas.getContext("2d"));e.setTransform(1,0,0,1,0,0);const i=this._canvasRenderParams();this._drawBackground(e,i),r&&this._drawSources(e,i,t)}if(null!==this._state){const e=(0,s.ensureNotNull)(this._topCanvasBinding.canvas.getContext("2d"));e.setTransform(1,0,0,1,0,0);const t=this._topCanvasRenderParams();e.clearRect(0,0,Math.ceil(this._size.w*t.pixelRatio),Math.ceil(this._size.h*t.pixelRatio)),r&&this._drawSeriesTopViews(e,t),this._drawCrossHair(e,t),r&&this._drawActiveLineTools(e,t)}}cancelCreatingLineTool(){const e=this._chartUndoModel(),t=this._chartUndoModel().lineBeingCreated();if(t)if(t.pointsCount()<=0&&!(0,et.isLineDrawnWithPressedButton)(t.toolname)){const i=t.points();if(i.length>2){const s=i[i.length-2];e.continueCreatingLine(s),this._finishTool(t)}else e.cancelCreatingLine()}else e.cancelCreatingLine();null!==this._firstZoomPoint&&this.cancelZoom(),this.setCursorForTool()}drawRightThere(e){if((0,f.isLineToolName)(e)&&this.hasState()){const t=this._chartUndoModel(),i=t.crossHairSource(),s=t.model().magnet().align(i.price,i.index,this.state());t.createLineTool({pane:this.state(),point:{index:i.index,price:s},linetool:e})}}cancelMeasuring(){this._chartUndoModel().crossHairSource().clearMeasure(),(0,k.resetToCursor)(),this.setCursorForTool()}async setErrorMessage(e){var t,i,s;e&&!this._errorRenderer&&(this._errorRenderer=this._createErrorBlock()),null===(t=await this._errorRenderer)||void 0===t||t.update({message:null==e?void 0:e.message,icon:(null===(i=this._state)||void 0===i?void 0:i.containsMainSeries())||(null===(s=this._state)||void 0===s?void 0:s.maximized().value())?null==e?void 0:e.icon:void 0,backgroundColor:`linear-gradient(${this._chartModel().backgroundTopColor().value()}, ${this._chartModel().backgroundColor().value()})`,textColor:this._chartModel().isDark()?_t:pt})}collapsedHeight(){var e,t;return Math.max(Math.ceil(null!==(t=null===(e=this._paneControls)||void 0===e?void 0:e.bottomWithMargin())&&void 0!==t?t:0),33)}_topCanvasRenderParams(){return{pixelRatio:this._topCanvasBinding.pixelRatio,physicalWidth:this._topCanvasBinding.canvas.width,physicalHeight:this._topCanvasBinding.canvas.height,cssWidth:this._chartModel().timeScale().width(),cssHeight:this.height()}}_canvasRenderParams(){return{pixelRatio:this._canvasBinding.pixelRatio,physicalWidth:this._canvasBinding.canvas.width,physicalHeight:this._canvasBinding.canvas.height,cssWidth:this._chartModel().timeScale().width(),cssHeight:this.height()}}_tryExitTrackingMode(e){this._exitTrackingModeOnNextTry&&(this._startTrackPoint=null,e||this._clearCursorPosition())}_tryStartMeasure(e,t,i,s,r){return!(!(0,k.toolIsMeasure)(k.tool.value())||t.startMeasurePoint())&&(e.isTouch||this._preventCrossHairMove()||this._setCursorPosition(e.localX,e.localY,i),s=this._chartModel().magnet().align(s,r,this.state()),t.startMeasuring({price:s,index:r},this.state()),!0)}_tryFinishMeasure(e,t){ -if(t.startMeasurePoint()&&!t.endMeasurePoint()){let i=t.price;const s=t.index;return i=this._chartModel().magnet().align(i,s,this.state()),t.finishMeasure({price:i,index:s}),e.isTouch?(0,k.resetToCursor)():this._needResetMeasureLater=!0,this._preventCrossHairMove()&&this._clearCursorPosition(),!0}return!1}_tryStartZoom(e,t,i,s){const r=this._chart.model().model().zoomEnabled();if("zoom"===k.tool.value()&&r){const r=this._chartUndoModel(),n=r.timeScale().indexToCoordinate(i)-.5*r.timeScale().barSpacing();return this._firstZoomPoint={price:t,index:i,x:n,y:e.localY},this._preventCrossHairMove()||this._setCursorPosition(e.localX,e.localY,s),this._chartModel().crossHairSource().startSelection(this.state()),!0}return!1}_finishZoom(e){const t=this.state(),i=t.defaultPriceScale(),r=(0,s.ensureNotNull)(t.mainDataSource()).firstValue(),n=i.coordinateToPrice(e.localY,(0,s.ensureNotNull)(r)),o=this._chartUndoModel(),a=Math.round(o.timeScale().coordinateToIndex(e.localX)),l=(0,s.ensureNotNull)(this._firstZoomPoint);a!==l.index&&o.zoomToViewport(l.index,a,l.price,n,t),this._chartModel().crossHairSource().clearSelection(),this._firstZoomPoint=null,(0,k.resetToCursor)(),this._preventCrossHairMove()&&this._clearCursorPosition()}_tryFinishZoom(e){return null!==this._firstZoomPoint&&(this._finishZoom(e),!0)}_tryHandleEraserMouseDown(e,t){if(e.source&&"eraser"===k.tool.value()&&!e.isCustom&&(!(i=e.source)||!i.customization||!i.customization.disableErasing)){const i=this._chartUndoModel();if(null!==e.hittest&&((0,f.isLineTool)(e.source)||(0,v.isStudy)(e.source))){const s=e.hittest.eraseMarker();return t.mod()&&void 0!==s&&e.source.processErase?e.source.processErase(i,s):i.removeSource(e.source,!1),!0}}var i;return!1}_tryStartChangingLineTool(e,t,i,r){var n,o;if(e.isTouch&&null!==this._startTrackPoint)return!1;const a=t.hittest;if((!e.isTouch||!this._preventSourceChange)&&a&&(0,f.isLineTool)(t.source)&&a.result()===M.HitTestResult.CHANGEPOINT){const l=this._chartUndoModel(),c=(0,s.ensure)(null===(n=this.state().mainDataSource())||void 0===n?void 0:n.firstValue()),h=(0,s.ensureNotNull)(t.source.priceScale()).coordinateToPrice(e.localY,c);l.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection(t.source,a.data())});const d=l.model().magnet().align(h,r,this.state()),u=null===(o=a.data())||void 0===o?void 0:o.pointIndex;return this._startChangeLineToolParams={source:t.source,startPoint:{index:r,price:d},screenPoint:{x:e.localX,y:e.localY},pointIndex:u,envState:i},!0}return this._startChangeLineToolParams=null,!1}_tryStartCloning(e,t,i,s){if(i.mod()){const t=this._chartUndoModel().selection().dataSources().filter(e=>e.cloneable());if(s&&s.cloneable()&&t.push(s),t.length>0)return this._clonningAtMoveLineTools=t.map(e=>e.id()),this._startCloningPoint=new C.Point(e.localX,e.localY),!0}return!1}_tryFinishClonning(e,t,i){const r=this._chartUndoModel(),n=this._chartModel();if(t.mod()&&this._clonningAtMoveLineTools){const o=new C.Point(e.localX,e.localY),a=(0,s.ensureNotNull)(this._startCloningPoint).subtract(o).length(),l=[] -;for(const e of this._clonningAtMoveLineTools){const t=n.dataSourceForId(e);null!==t&&l.push(t)}if(0===l.length)return!1;if(a>8){const n=this.cloneLineTools(l,!0).map(e=>(0,s.ensureNotNull)(r.model().dataSourceForId(e)));r.selectionMacro(e=>{e.clearSelection();let t=null;n.forEach(s=>{null===t&&(t=Pt(i,s)),e.addSourceToSelection(s,t)})});const o=new C.Point(e.localX,e.localY),a=(0,s.ensureNotNull)(n[0].priceScale()),c=(0,s.ensureNotNull)(this.state().mainDataSource()).firstValue(),h={index:r.timeScale().coordinateToIndex(e.localX),price:a.coordinateToPrice(e.localY,(0,s.ensureNotNull)(c))};r.startMovingSources(n,{logical:h,screen:o},null,t),this._clonningAtMoveLineTools=null,this._startCloningPoint=null}return!0}return!1}_mouseDownEventForLineTool(e,t,i,r){var n,o;const a=k.tool.value();if(!this.hasState()||(0,et.isLineToolDrawWithoutPoints)(a))return;const l=this._chartUndoModel();let c=!1,h=null;(0,k.hideAllDrawings)().value()&&(0,ct.toggleHideMode)(),(0,k.lockDrawings)().setValue(!1),e.isTouch&&!e.stylus&&((0,f.isLineToolName)(a)&&!(0,et.isLineDrawnWithPressedButton)(a)||l.lineBeingCreated())&&this._initToolCreationModeParams(e);const d=l.lineBeingCreated();if(d&&!(0,et.isLineDrawnWithPressedButton)(d.toolname)){const a=(0,s.ensure)(null===(n=d.ownerSource())||void 0===n?void 0:n.firstValue());if(e.isTouch&&!e.stylus){if(!this._startTouchPoint){this._startTouchPoint=new C.Point(e.pageX,e.pageY);const t=d.points(),i=t[t.length-1],r=l.timeScale().indexToCoordinate(i.index),n=(0,s.ensureNotNull)(d.priceScale()).priceToCoordinate(i.price,a);return void(this._initCrossHairPosition=new C.Point(r,n))}}else if(!e.isTouch){h=d;const n=l.model().paneForSource(d);if(n!==this._state&&null!==n){const i=this._externalPaneXCoord(n,e.localX),r=this._externalPaneYCoord(n,e.localY);c=l.continueCreatingLine({index:Math.round(l.timeScale().coordinateToIndex(i)),price:(0,s.ensure)(null===(o=d.priceScale())||void 0===o?void 0:o.coordinateToPrice(r,a))},t)}else{const e=l.model().magnet().align(r,i,this.state());c=l.continueCreatingLine({index:i,price:e},t)}}}else if(!e.isTouch||e.stylus||(0,et.isLineDrawnWithPressedButton)(a)){const e={index:i,price:l.model().magnet().align(r,i,this.state())};h=l.createLineTool({pane:this.state(),point:e,linetool:a}),l.lineBeingCreated()||(c=!0)}const u=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));h&&l.selectionMacro(e=>{var t;return e.addSourceToSelection((0,s.ensureNotNull)(h),null===(t=u.hittest)||void 0===t?void 0:t.data())}),c&&h&&(this._finishTool(h,u),e.preventDefault())}_handleSelectionMouseDownAndGetJustDeselectedSource(e,t,i){const s=this._chartUndoModel();let r=null;if(null===t.source||t.source.isSelectionEnabled()){let n=e.isTouch?Boolean(t.hittest&&t.hittest.result()>=M.HitTestResult.MOVEPOINT_BACKGROUND):Boolean(t.hittest&&t.hittest.result()>M.HitTestResult.MOVEPOINT_BACKGROUND);this._preventSourceChange&&(n=!1),s.selectionMacro(e=>{var s;n&&t.source?(i.mod()||e.selection().isSelected(t.source)||e.clearSelection(),i.mod()&&e.selection().isSelected(t.source)?(r=t.source, -e.removeSourceFromSelection(t.source)):e.addSourceToSelection(t.source,null===(s=t.hittest)||void 0===s?void 0:s.data()),e.selection().allSources().length>1&&(0,se.trackEvent)("GUI","Multiselect","Click Select")):i.mod()||e.clearSelection()})}return r}_processMouseMoveWhileZoom(e,t){this._preventCrossHairMove()||this._setCursorPosition(e.localX,e.localY,t)}_updateCommonTooltip(e,t){let i=null;if(null!==e&&null!==e.hittest){const t=e.hittest.data();t&&(i=t.tooltip||null)}if(null===this._prevTooltipData&&null===i)return;if(null===i||""===i.text)return this._prevTooltipData=null,void(0,st.hide)(t);if(this._prevTooltipData&&(0,w.default)(i,this._prevTooltipData))return;this._prevTooltipData=i;const s=(0,_.clone)(i);if(void 0!==s.rect){const e=this._paneCell.getBoundingClientRect();s.rect.x+=e.left,s.rect.y+=e.top}(0,st.show)(s)}_setCursorPositionOnExternalPane(e,t,i,s){t=this._externalPaneXCoord(e,t),i=this._externalPaneYCoord(e,i);this._chart.paneByState(e)._setCursorPosition(t,i,s)}_setCursorPosition(e,t,i){this._chartModel().setAndSaveCurrentPosition(this._correctXCoord(e),this._correctYCoord(t),this.state(),i)}_setCursorClassName(e){let t="";e&&(t="pane--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._paneCell.classList.remove(this._currentCursorClassName),t&&this._paneCell.classList.add(t),this._currentCursorClassName=t,this._paneCell.style.cursor)}_processMouseUpOrTouchEndHandler(e){var t;null===(t=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY)).hittest)||void 0===t||t.tryCallMouseUpOrTouchEndHandler(e)}_crossHairShouldBeVisible(){const e=this._chartModel().crossHairSource();return(0,f.isLineToolName)(k.tool.value())||(0,k.toolIsMeasure)(k.tool.value())||e.startMeasurePoint()&&!e.endMeasurePoint()||null!==this._firstZoomPoint||null!==this._chartModel().lineBeingEdited()||null!==this._chartModel().lineBeingCreated()}_clearCursorPosition(){this._chartModel().clearCurrentPosition()}_dataSourceAtPoint(e,t){if(!this.hasState())return null;const i={source:null,hittest:null,isCustom:!1,renderer:null},s=this._chartUndoModel();if((0,f.isLineToolName)(k.tool.value())||null!==s.lineBeingCreated())return i;if(this._currentChangingLineToolHitTest)return this._currentChangingLineToolHitTest;if(this._currentMovingHitTest)return this._currentMovingHitTest;const r=this.state(),n=r.height(),o=r.width(),a=Tt.bind(null,i),l=this._canvasRenderParams(),c=new C.Point(e,t);if(!this.state().maximized().value()&&this.state().collapsed().value()||(0,x.lastMouseOrTouchEventInfo)().isTouch&&(k.isPointSelectedNow.value()||null!==this._startTrackPoint))return this._hitTestSources(l,[s.crossHairSource()],c,a,!1),i;const h=r.sourcesByGroup(),d=s.selection();this._hitTestSources(l,d.dataSources(),c,a,!1),this._hitTestSources(l,d.customSources(),c,a,!0);const u=new Set(d.allSources().map(e=>e.id()));this._hitTestSources(l,[s.crossHairSource()],c,a,!1,u),this._hitTestSources(l,r.customSources(L.CustomSourceLayer.Topmost),c,a,!0,u),this._hitTestSources(l,h.tradingSources(),c,a,!1,u), -this._hitTestSources(l,r.customSources(L.CustomSourceLayer.Foreground),c,a,!0,u);const p=[...this._chartModel().multiPaneSources(r),...h.hitTestSources()];if(this._hitTestSources(l,p,c,a,!1,u),this.containsMainSeries()){const e=s.barsMarksSources();for(let t=0;t=0;--s){const h=t[s];if(void 0!==o&&o.has(h.id()))continue;const d=h.paneViews(a);if(null!==d&&0!==d.length)for(let t=d.length-1;t>=0;--t){const s=d[t].renderer(l,c);if(s&&s.hitTest){const t=s.hitTest(i,e);null!==t&&r(t,h,s,n)}}}}_tryStartMovingLineTool(e,t,i,r){var n,o;if(null===t.source||!t.source.movable()||null!==this._startTrackPoint)return!1;if(!this._preventSourceChange){const a=this._chartUndoModel(),l=(0,s.ensureNotNull)((0,s.ensureNotNull)(this._state).mainDataSource()).firstValue(),c=(0,s.ensureNotNull)(t.source.priceScale()).coordinateToPrice(e.localY,(0,s.ensureNotNull)(l));let h=(t.source.isSelectionEnabled()?a.selection().allSources():[t.source]).filter(at);const d=h.filter(f.isLineTool);h=d.length>0?d:h.includes(t.source)?[t.source]:[h[0]];const u=new C.Point(e.localX,e.localY),p={index:r,price:c},_=null===(o=null===(n=t.hittest)||void 0===n?void 0:n.data())||void 0===o?void 0:o.activeItem;return this._startMoveSourceParams={source:h,startPoint:{logical:p,screen:u},activeItem:void 0===_?null:_,envState:i},!0}return this._startMoveSourceParams=null,!1}_chartModel(){return this._chart.model().model()}_chartUndoModel(){return this._chart.model()}_externalPaneXCoord(e,t){t+=this._div.getBoundingClientRect().left+document.body.scrollLeft;const i=(0,s.ensureNotNull)(this._chart.paneByState(e)),r=i._div.getBoundingClientRect().left+document.body.scrollLeft;return i._correctXCoord(t-r)}_externalPaneYCoord(e,t){t+=this._div.getBoundingClientRect().top+document.body.scrollTop;const i=(0,s.ensureNotNull)(this._chart.paneByState(e)),r=i._div.getBoundingClientRect().top+document.body.scrollTop;return i._correctYCoord(t-r)}_correctXCoord(e){return Math.max(0,Math.min(e,this._size.w-1))}_correctYCoord(e){return Math.max(0,Math.min(e,this._size.h-1))}_processScroll(e){if(!this._chart.model().model().scrollEnabled())return;const t=Date.now();this._startScrollingPos||this._preventScroll()||(this._startScrollingPos={x:e.clientX,y:e.clientY,timestamp:t,localX:e.localX,localY:e.localY}),null!==this._scrollXAnimation&&this._scrollXAnimation.addPosition(e.localX,t),null!==this._scrollYAnimation&&this._scrollYAnimation.addPosition(e.localY,t);const i=this._chartUndoModel();let s=this.state().defaultPriceScale() -;if(this._startScrollingPos&&!this._isScrolling&&(this._startScrollingPos.x!==e.clientX||this._startScrollingPos.y!==e.clientY))return i.beginUndoMacro(mt,!0),null===this._scrollXAnimation&&this._options.useKineticScroll&&(this._scrollXAnimation=new Ye(.2,7,.997,15),this._scrollXAnimation.addPosition(this._startScrollingPos.localX,this._startScrollingPos.timestamp),this._scrollXAnimation.addPosition(e.localX,t)),this._scrollYAnimation,i.selection().isEmpty()||(s=i.selection().allSources()[0].priceScale()),null===s||s.isEmpty()||(this._scrollPriceScale=s,i.startScrollPrice(this.state(),s,e.localY)),i.startScrollTime(e.localX),this._isScrolling=!0,this.setCursorForTool(),void this._paneWidgetsSharedState.setScrollingPane(this);this._isScrolling&&(null!==this._scrollPriceScale&&i.scrollPriceTo(this.state(),this._scrollPriceScale,e.localY),i.scrollTimeTo(e.localX))}_finishScroll(){const e=this._chartUndoModel();e.endScrollTime(),null!==this._scrollPriceScale&&e.endScrollPrice(this.state(),this._scrollPriceScale),e.endUndoMacro(),this._isScrolling=!1,this._startScrollingPos=null,this._scrollPriceScale=null,this.setCursorForTool(),this._paneWidgetsSharedState.setScrollingPane(null)}_endScroll(e){if(!this._isScrolling)return!1;const t=this._isScrolling&&this._scrollUndoCommandInStack();if(this._isScrolling){const i=Date.now();null!==this._scrollXAnimation&&this._scrollXAnimation.start(e.localX,i),null!==this._scrollYAnimation&&this._scrollYAnimation.start(e.localY,i);const s=this._chartUndoModel(),r=null===this._scrollXAnimation||this._scrollXAnimation.finished(i),n=null===this._scrollYAnimation||this._scrollYAnimation.finished(i);if(r&&n)return this._finishScroll(),t;r?(s.endScrollTime(),this._paneWidgetsSharedState.setScrollingPane(null)):n&&(this._scrollPriceScale&&s.endScrollPrice(this.state(),this._scrollPriceScale),this._scrollPriceScale=null);const o=s.timeScale(),a=this._scrollXAnimation,l=this._scrollYAnimation,c=()=>{if((null===a||a.terminated())&&(null===l||l.terminated()))return;const e=Date.now();let t=null===a||a.finished(e);const i=null===l||l.finished(e);if(null!==a&&!a.terminated()){const i=o.rightOffset();s.scrollTimeTo(a.getPosition(e)),i===o.rightOffset()&&(t=!0,this._scrollXAnimation=null)}null===l||l.terminated()||null===this._scrollPriceScale||s.scrollPriceTo(this.state(),this._scrollPriceScale,l.getPosition(e)),t&&i?this._finishScroll():requestAnimationFrame(c)};requestAnimationFrame(c)}return t}_terminateActiveAnimations(){const e=Date.now(),t=null===this._scrollXAnimation||this._scrollXAnimation.finished(e),i=null===this._scrollYAnimation||this._scrollYAnimation.finished(e);null===this._scrollXAnimation&&null===this._scrollYAnimation||t&&i||this._finishScroll(),null!==this._scrollXAnimation&&(this._scrollXAnimation.terminate(),this._scrollXAnimation=null),null!==this._scrollYAnimation&&(this._scrollYAnimation.terminate(),this._scrollYAnimation=null)}_preventScroll(){return this._trackCrosshairOnlyAfterLongTap&&this._longTap||this._contextMenuOpenedOnLastTap||(0, -f.isLineToolName)(k.tool.value())||Boolean(this._chartUndoModel().lineBeingCreated())||null!==this._startTrackPoint}_isSelectPointModeEnabled(){return this._chartUndoModel().crossHairSource().selectPointMode().value()}_preventCrossHairMove(){return!!this._trackCrosshairOnlyAfterLongTap&&(null===this._chart.trackingModePaneWidget()&&(!!this._contextMenuOpenedOnLastTap||!this._crossHairShouldBeVisible()&&null===this._startTrackPoint))}_finishTool(e,t=null){const i=this._chartUndoModel(),s=k.tool.value();if((0,k.resetToCursor)(),this._preventCrossHairMove()&&this._clearCursorPosition(),i.selectionMacro(i=>{i.addSourceToSelection(e,Pt(t,e))}),(0,et.isTextToolName)(s)){const t=i.createUndoCheckpoint();this._chart.showChartPropertiesForSource(e,tt.TabNames.text,void 0,t).then(e=>{0})}this._lastFinishedToolId=e.id(),(0,h.emit)("drawing_event",e.id(),"create"),(0,Qe.trackDrawingCreated)(e)}_alignSourcesThatBeingMoved(e,t,i,s){const r=this._chartUndoModel(),n=r.timeScale().coordinateToIndex(t);r.model().sourcesBeingMoved().forEach(e=>{var o,a;let l=n,c=e.convertYCoordinateToPriceForMoving(i,this.state().mainDataSource());if(null!==c){if((0,v.isStudy)(e)){const e=r.mainSeries(),t=e.bars().firstIndex(),i=e.bars().lastIndex();null!==t&&null!==i&&(l=Math.min(Math.max(n,t),i)),c=this._chartModel().magnet().align(c,n,this.state())}null!==this._currentMovingHitTest&&void 0!==(null===(a=null===(o=this._currentMovingHitTest.hittest)||void 0===o?void 0:o.data())||void 0===a?void 0:a.cursorType)||this.setCursorForTool(),r.moveSources({screen:new C.Point(t,i),logical:{index:l,price:c}},s)}})}_resetMeasureIfRequired(){this._needResetMeasureLater&&((0,k.resetToCursor)(),this._needResetMeasureLater=!1)}_drawBackground(e,t){const i=Math.ceil(t.pixelRatio*this._size.w),s=Math.ceil(t.pixelRatio*this._size.h),r=this._chartModel(),n=r.backgroundTopColor().value(),o=r.backgroundColor().value();n===o?(0,N.clearRect)(e,0,0,i+1,s+1,o):(0,R.clearRectWithGradient)(e,0,0,i+1,s+1,n,o)}_drawWatermark(e,t){const i=this._chartModel().watermarkSource();if(null===i)return;const s=this.state();if(!s.containsMainSeries())return;const r=i.paneViews(),n=s.height(),o=s.width();for(const i of r){e.save();const s=i.renderer(n,o);s&&s.draw(e,t),e.restore()}}_drawCrossHair(e,t){const i=this._chartUndoModel().crossHairSource();!i.visible&&(0,k.lockTimeAxis)().value()&&(i.setLockedPosition((0,s.ensureNotNull)(this._state)),i.updateAllViews((0,ht.dataSourceChangeEvent)(i.id()))),this._drawSourceImpl(e,t,yt,St,i)}_drawActiveLineTools(e,t){const i=this._chartModel(),s=[i.lineBeingCreated(),i.lineBeingEdited(),...i.sourcesBeingMoved(),i.customSourceBeingMoved()].filter(e=>!!e);for(const r of s){(i.paneForSource(r)===this.state()||(0,E.isDataSource)(r)&&r.isMultiPaneEnabled())&&this._drawSourceImpl(e,t,yt,St,r)}}_drawSeriesTopViews(e,t){this.state().containsMainSeries()&&this._drawSourceImpl(e,t,bt,St,this._chartUndoModel().mainSeries())}_drawSources(e,t,i){ -const s=this.state(),r=s.model(),n=s.sourcesByGroup(),o=n.tradingSources(),a=[...r.multiPaneSources(s),...n.generalSources()],l=n.phantomSources(),c=s.customSources(L.CustomSourceLayer.Background).slice(),h=s.customSources(L.CustomSourceLayer.Foreground).slice(),d=s.customSources(L.CustomSourceLayer.Topmost).slice();{const e=r.panes();for(let t=e.length-1;t>=0;t--)e[t].createDrawingsCaches()}this._drawSourceImpl(e,t,yt,St,r.gridSource()),this._drawWatermark(e,t);for(const i of c)this._drawSourceImpl(e,t,yt,vt,i);for(const i of a)this._drawSourceImpl(e,t,yt,vt,i);for(const i of h)this._drawSourceImpl(e,t,yt,vt,i);for(const i of l)this._drawSourceImpl(e,t,yt,vt,i);const u=new Set;[r.lineBeingCreated(),r.lineBeingEdited(),...r.sourcesBeingMoved(),r.customSourceBeingMoved()].filter(_.notNull).forEach(e=>u.add(e.id()));let p=r.hoveredSource();null!==p&&(ft(p)||u.has(p.id())||(0,E.isDataSource)(p)&&!a.includes(p)?p=null:u.add(p.id()));const m=r.selection().allSources().filter(e=>!((0,E.isDataSource)(e)&&!a.includes(e))&&(!u.has(e.id())&&!ft(e)));m.forEach(e=>u.add(e.id()));{for(const i of c)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of a)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of h)this._drawSourceImpl(e,t,yt,St,i,u);const i=r.activeStrategySource().value();i&&this.containsMainSeries()&&this._drawSourceImpl(e,t,Ct,St,i)}for(const i of o)this._drawSourceImpl(e,t,yt,vt,i);for(const i of d)this._drawSourceImpl(e,t,yt,vt,i);for(const i of a)this._drawSourceImpl(e,t,wt,St,i,u);for(const i of h)this._drawSourceImpl(e,t,wt,St,i,u);this._drawBarsMarks(e,t,i);for(const i of o)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of d)this._drawSourceImpl(e,t,yt,St,i,u);for(const i of m)this._drawSourceImpl(e,t,yt,St,i);for(const i of m)this._drawSourceImpl(e,t,wt,St,i);p&&(this._drawSourceImpl(e,t,yt,St,p),this._drawSourceImpl(e,t,wt,St,p));for(const i of l)this._drawSourceImpl(e,t,yt,St,i,u);{const e=r.panes();for(let t=e.length-1;t>=0;t--)e[t].clearDrawingCaches()}}_drawSourceImpl(e,t,i,s,r,n){if(n&&n.has(r.id()))return;const o=this.state(),a=o.height(),l=o.width(),c=i(r,this.state());if(c)for(const i of c){const r=i.renderer(a,l);r&&(e.save(),s(r,e,t),e.restore())}}_drawBarsMarks(e,t,i){if(this.containsMainSeries()&&!i){const i=this._chartUndoModel().barsMarksSources();for(const s of i)this._drawSourceImpl(e,t,yt,St,s)}}_updateByThemedColors(){null!==this._legendWidget&&this._legendWidget.updateThemedColors(this._themedTopColor),null!==this._paneControls&&this._paneControls.updateThemedColors(this._themedTopColor)}_scrollUndoCommandInStack(){const e=this._chartUndoModel().undoHistory().undoStack();if(e.isEmpty())return!1;const t=e.head();if(!(t instanceof D.UndoMacroCommand))return!1;if(t.isEmpty())return!1;const i=t.commands()[0];return i instanceof Ze.PriceScaleChangeUndoCommand||i instanceof Xe.TimeScaleChangeUndoCommand}_onStateDestroyed(){this.setState(null)}_onDataSourcesCollectionChanged(){this._startMoveSourceParams=null}_processMouseEnterLeaveMoveHandlers(e,t){var i,s,r,n -;null!==this._prevHoveredHittest&&this._prevHoveredHittest.renderer!==e.renderer&&((0,M.tryCallHandler)(t,null===(s=null===(i=this._prevHoveredHittest.hittest)||void 0===i?void 0:i.data())||void 0===s?void 0:s.mouseLeaveHandler),this._prevHoveredHittest=null),t.isTouch||(e.hittest&&(null===(r=this._prevHoveredHittest)||void 0===r?void 0:r.renderer)!==e.renderer&&(e.hittest.tryCallMouseEnterHandler(t),this._prevHoveredHittest=e),null===(n=e.hittest)||void 0===n||n.tryCallMouseMoveHandler(t))}_startChangeOrMoveLineToolIfNeeded(){if(null!==this._startChangeLineToolParams){const e=this._startChangeLineToolParams;this._chartUndoModel().startChangingLinetool(e.source,e.startPoint,e.pointIndex,e.envState)}if(null!==this._startMoveSourceParams){const e=this._startMoveSourceParams;this._chartUndoModel().startMovingSources(e.source,e.startPoint,e.activeItem,e.envState)}this._startMoveSourceParams=null,this._startChangeLineToolParams=null}_trackingModeShouldBeActive(){return!(!this._trackCrosshairOnlyAfterLongTap||this._contextMenuOpenedOnLastTap||this._crossHairShouldBeVisible())&&this._longTap}_processOutsideClick(e){let t=null;const i=this._chartModel();if(e.source&&(t=e.isCustom?i.customSourceName(e.source):e.source.id()),null!==this._lastClickedSource&&this._lastClickedSource.id!==t){const e=this._lastClickedSource.id;let t=this._lastClickedSource.isCustom?i.customSourceForName(e):i.dataSourceForId(e);null!==t||this._lastClickedSource.isCustom||(t=this._chartUndoModel().barMarksSourceForId(e)),null!==t&&t.onClickOutside&&(t.onClickOutside(),this._chartModel().updateSource(t))}this._lastClickedSource=null!==t?{id:t,isCustom:e.isCustom}:null}_mouseClickOrTapEvent(e){var t,i,r;if(!this.hasState())return;const n=this._dataSourceAtPoint(e.localX,e.localY),o=n&&n.source,a=this._chartUndoModel(),l=Boolean(null===(i=null===(t=null==n?void 0:n.hittest)||void 0===t?void 0:t.data())||void 0===i?void 0:i.hideCrosshairLinesOnHover);this._processOutsideClick((0,s.ensureNotNull)(n)),!this._isSelectPointModeEnabled()||l||e.isTouch&&this.trackingModeEnabled()&&!this._exitTrackingModeOnNextTry||a.crossHairSource().trySelectCurrentPoint(),(null===(r=null==n?void 0:n.hittest)||void 0===r?void 0:r.tryCallClickOrTapHandler(e))&&a.model().updateSource((0,s.ensureNotNull)(o)),!e.isTouch||this._isSelectPointModeEnabled()||n&&n.source===a.crossHairSource()||this._tryExitTrackingMode(),o instanceof V.BarsMarksContainer&&n&&n.hittest&&n.hittest.data()&&o.onClicked((0,s.ensureNotNull)(n.hittest).data()),o&&(0,f.isLineTool)(o)&&this._lastFinishedToolId!==o.id()&&(0,h.emit)("drawing_event",o.id(),"click"),this._resetMeasureIfRequired()}_mouseDownOrTouchStartEvent(e,t){var i,r,n,o,a,l,c,d;if(e.isTouch&&(this._longTap=!1,this._exitTrackingModeOnNextTry=null!==this._startTrackPoint,this._paneWidgetsSharedState.clearDraggingSource()),this._contextMenuOpenedOnLastTap=!1,this._lastFinishedToolId=null,this._terminateActiveAnimations(),e.isTouch&&this._switchTrackingModeFromAnotherPaneIfNeeded(e), -document.activeElement!==document.body&&document.activeElement!==document.documentElement)document.activeElement&&document.activeElement.blur?document.activeElement.blur():document.body.focus();else{const e=document.getSelection();null!==e&&e.removeAllRanges()}(0,h.emit)("mouse_down",{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY}),this._updateCommonTooltip(null);const u=this._chartUndoModel(),p=new A.EnvironmentState(e);u.mainSeries().clearGotoDateResult();const _=this.state().defaultPriceScale();if(_.isEmpty()||u.timeScale().isEmpty())return;const m=u.crossHairSource();if(!e.isTouch&&!(0,et.isLineDrawnWithPressedButton)(k.tool.value())){const t=u.lineBeingCreated(),i=null!==t?u.model().paneForSource(t):null;null!==i&&i!==this._state?this._setCursorPositionOnExternalPane(i,e.localX,e.localY,p):this._setCursorPosition(e.localX,e.localY,p)}e.isTouch&&(0,f.isLineToolName)(k.tool.value())&&((0,et.isLineDrawnWithPressedButton)(k.tool.value())||null!==m.pane?(0,et.isLineDrawnWithPressedButton)(k.tool.value())&&this._clearCursorPosition():this._chart.updateCrossHairPositionIfNeeded());const g=(0,s.ensureNotNull)(this.state().mainDataSource()).firstValue();if(null===g)return void(this._chart.readOnly()||(this._handleSelectionMouseDownAndGetJustDeselectedSource(e,t,p),t.source&&(0,Je.isPriceDataSource)(t.source)&&t.source.isDraggable()&&this._paneWidgetsSharedState.trySetDraggingSource(t.source,this)));let v=_.coordinateToPrice(e.localY,g),S=this._chartModel().timeScale().coordinateToIndex(e.localX);if(m.startMeasurePoint()&&m.endMeasurePoint()&&m.clearMeasure(),p.shift()&&!(null===(n=null===(r=null===(i=t.hittest)||void 0===i?void 0:i.data())||void 0===r?void 0:r.hasOwnShortcutsBehaviourFor)||void 0===n?void 0:n.shiftKey)&&(0,k.toolIsCursor)(k.tool.value())&&u.selection().isEmpty()&&k.tool.setValue("measure"),(e.isTouch&&!e.stylus||!this._tryStartMeasure(e,m,p,v,S))&&(e.isTouch&&!e.stylus||!this._tryFinishMeasure(e,m))&&!this._tryFinishZoom(e)&&!this._tryStartZoom(e,v,S,p)){if(e.isTouch&&(null!==this._startTrackPoint?(this._initCrossHairPosition=m.currentPoint(),this._startTrackPoint=new C.Point(e.localX,e.localY)):this._isSelectPointModeEnabled()&&null===this._chart.trackingModePaneWidget()&&this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(e.localX,e.localY),new A.EnvironmentState(e))),e.isTouch&&(this._preventSourceChange=null===t.source||!u.selection().isSelected(t.source)),!this._isSelectPointModeEnabled()&&!this._isScrolling){if(e.isTouch&&!e.stylus&&((0,k.toolIsMeasure)(k.tool.value())||null!==m.measurePane().value()))return void this._initToolCreationModeParams(e);if((0,f.isLineToolName)(k.tool.value())||u.lineBeingCreated())return p.shift()||u.selectionMacro(e=>e.clearSelection()),void this._mouseDownEventForLineTool(e,p,S,v)}if(null===(o=t.hittest)||void 0===o||o.tryCallMouseDownOrTouchStartHandler(e),!this._chart.readOnly()){const i=this._handleSelectionMouseDownAndGetJustDeselectedSource(e,t,p) -;if(t.hittest&&t.source&&!this._preventSourceChange){const i=t.hittest.data();if(t.isCustom){if(t.hittest.hasPressedMoveHandler(e))return u.model().setMovingCustomSource(t.source,i),this._currentMovingHitTest=t,void u.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection((0,s.ensureNotNull)(t.source),(0,s.ensureNotNull)(i))})}else if((null==i?void 0:i.areaName)===M.AreaName.SourceItemMove){const r=null==i?void 0:i.activeItem;if(void 0!==r)return u.startCustomMoving(t.source,r,e),this._currentMovingHitTest=t,void u.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection((0,s.ensureNotNull)(t.source),(0,s.ensureNotNull)(i))})}}if(this._tryHandleEraserMouseDown(t,p))return;const r=t.source&&(0,f.isLineTool)(t.source)&&t.source.isLocked&&t.source.isLocked();if(!((0,k.lockDrawings)().value()||r)&&!t.isCustom){if(t.source&&!t.source.userEditEnabled())return;const s=null===(l=null===(a=t.hittest)||void 0===a?void 0:a.data())||void 0===l?void 0:l.snappingPrice,r=null===(d=null===(c=t.hittest)||void 0===c?void 0:c.data())||void 0===d?void 0:d.snappingIndex;let n=e.localY,o=e.localX;if(void 0!==s&&(n=_.priceToCoordinate(s,g),v=s),void 0!==r&&(o=this._chartModel().timeScale().indexToCoordinate(r),S=r),n===e.localY&&o===e.localX||(e={...e,localY:n,localX:o},this._setCursorPosition(e.localX,e.localY,p)),this._tryStartChangingLineTool(e,t,p,S))return void(this._currentChangingLineToolHitTest=t);if(this._currentChangingLineToolHitTest=null,t.hittest&&((y=t.hittest.result())===M.HitTestResult.MOVEPOINT||y===M.HitTestResult.MOVEPOINT_BACKGROUND&&(0,x.lastMouseOrTouchEventInfo)().isTouch)){if(this._tryStartCloning(e,t,p,i))return;if(this._tryStartMovingLineTool(e,t,p,S))return void(this._currentMovingHitTest=t);this._currentMovingHitTest=null}}if(t.source&&(0,Je.isPriceDataSource)(t.source)&&t.source.isDraggable()&&this._paneWidgetsSharedState.trySetDraggingSource(t.source,this))return}var y;t&&t.hittest&&t.hittest.result()===M.HitTestResult.REGULAR||(this._processing=!0)}}_mouseUpOrTouchEndEvent(e){var t,i;if(!this.hasState())return;const r=e.isTouch&&null!==this._startTrackPoint,n=e.isTouch&&this._wasPinched;e.isTouch&&(this._wasPinched=!1,this._longTap=!1),this._startMoveSourceParams=null,this._startChangeLineToolParams=null,this._currentChangingLineToolHitTest=null,this._currentMovingHitTest=null;const o=this._chartUndoModel(),a=o.model().customSourceMovingHitTestData();null!==a||o.customMoveBeingProcessed()||this._processMouseUpOrTouchEndHandler(e),this._isSelecting=!1;const l=o.model(),c=l.crossHairSource(),d=this._dataSourceAtPoint(e.localX,e.localY),u=null==d?void 0:d.hittest;if(c.selection()&&null===this._firstZoomPoint){const e=this.state().lineToolsForArea(c.selection());o.selectionMacro(t=>{let i=null;e.forEach(e=>{null===i&&(i=Pt(d,e)),t.addSourceToSelection(e,i)})}),c.clearSelection(),(0,se.trackEvent)("GUI","Multiselect","Area Select")}(0,h.emit)("mouse_up",{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY});const p=e.isTouch&&this._touchMove -;e.isTouch&&(this._touchMove=!1);const _=new A.EnvironmentState(e),m=k.tool.value();if(e.isTouch&&((0,k.toolIsMeasure)(m)||null!==c.measurePane().value())){if(!p&&!e.stylus&&null===c.measurePane().value()&&c.pane!==this._state)return void this._setCursorPosition(e.localX,e.localY);if(!p&&!e.stylus&&this._tryStartMeasure(e,c,_,c.price,c.index))return;if((!p||e.stylus)&&this._tryFinishMeasure(e,c))return}if(e.isTouch&&!p&&!(0,et.isLineDrawnWithPressedButton)(m)&&(0,f.isLineToolName)(m)&&!o.lineBeingCreated()){if(this._chart.justActivated())return;if(c.pane!==this._state)return void this._setCursorPosition(e.localX,e.localY,_);const i=c.currentPoint(),r=this.state().defaultPriceScale(),n=(0,s.ensure)(null===(t=this.state().mainDataSource())||void 0===t?void 0:t.firstValue()),a={index:Math.round(o.timeScale().coordinateToIndex(i.x)),price:r.coordinateToPrice(i.y,n)},l=(0,s.ensureNotNull)(o.createLineTool({pane:this.state(),point:a,linetool:m}));return o.selectionMacro(e=>{e.addSourceToSelection(l)}),o.lineBeingCreated()||(this._finishTool(l,d),e.preventDefault()),void(this._startTouchPoint=null)}const g=o.lineBeingCreated();if(g&&!(0,et.isLineDrawnWithPressedButton)(g.toolname)&&e.isTouch&&(this._startTouchPoint||e.stylus)){if(this._startTouchPoint=null,!p||e.stylus){const t=g.points()[g.points().length-1],i=o.continueCreatingLine({index:t.index,price:t.price},new A.EnvironmentState(e));this._initCrossHairPosition=null,i&&(this._finishTool(g,d),e.preventDefault())}return}if(null!==this._firstZoomPoint&&this._firstZoomPoint.draggingMode)return void this._finishZoom(e);if(this._processing=!1,o.customMoveBeingProcessed())return void o.endCustomMoving();if(null!==a&&(a.beingMoved&&((0,M.tryCallHandler)(e,a.mouseUpHandler,a.touchEndHandler),this.setCursorForTool()),l.setMovingCustomSource(null,null),Lt(e,a)))return;if(l.lineBeingEdited())return o.endChangingLinetool(!1),void(this._preventCrossHairMove()&&this._clearCursorPosition());if((0,et.isLineDrawnWithPressedButton)(m)&&!this._isSelectPointModeEnabled()){const t=o.lineBeingCreated();null!==t&&((0,Qe.trackDrawingCreated)(t),t.finish());const r=this.state().defaultPriceScale();if(r.isEmpty())return;if(!t)return;const n=(0,s.ensure)(null===(i=t.ownerSource())||void 0===i?void 0:i.firstValue()),a=r.coordinateToPrice(e.localY,n),l={index:Math.round(o.timeScale().coordinateToIndex(e.localX)),price:a};return void o.continueCreatingLine(l)}if(l.sourcesBeingMoved().length)return o.endMovingSource(!1,!1),l.sourcesBeingMoved().filter(f.isLineTool).forEach(e=>{this.setCursorForTool(e)}),void l.invalidate(b.InvalidationMask.cursor());if(!this._chart.readOnly()){const t=e.localX>=0&&e.localXM.HitTestResult.MOVEPOINT_BACKGROUND||(0,x.lastMouseOrTouchEventInfo)().isTouch)&&o.selectionMacro(e=>{e.clearSelection();const t=(0,s.ensureNotNull)(d.source);e.addSourceToSelection(t,Pt(d,t))}),e.isTouch&&(this._touchMove=!1)}_mouseOrTouchMoveEvent(e){if(!this.hasState())return;this._resetMeasureIfRequired();const t=(0,s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY));this._processMouseEnterLeaveMoveHandlers(t,e);const i=this._chartUndoModel();if(!i)return;const r=e.localX,n=e.localY;this._prevMoveEventPosition=new C.Point(r,n);const o=new A.EnvironmentState(e);if(null===this._firstZoomPoint){if(this._updateHoveredSource(t,o,e),!e.isTouch&&i.lineBeingCreated()){const e=i.lineBeingCreated(),t=null===e?null:i.model().paneForSource(e);if(null!==t&&t!==this._state)return void this._setCursorPositionOnExternalPane(t,r,n,o)}e.isTouch||this._setCursorPosition(r,n,o)}else this._processMouseMoveWhileZoom(e,o)}_pressedMouseOrTouchMoveEvent(e){var t;if(!this.hasState()||this._pinching||e.isTouch&&this._contextMenuOpenedOnLastTap)return;this._resetMeasureIfRequired(),this._startChangeOrMoveLineToolIfNeeded(),e.isTouch&&(this._touchMove=!0,this._preventSourceChange=!1);const i=new A.EnvironmentState(e),r=this._chartUndoModel(),n=r.crossHairSource(),o=e.localX,a=e.localY;if(this._prevMoveEventPosition=new C.Point(o,a),null!==this._firstZoomPoint)return this._processMouseMoveWhileZoom(e),void(this._firstZoomPoint.draggingMode=!0);const l=k.tool.value();if(e.isTouch&&this._startTouchPoint&&(0,f.isLineToolName)(l)&&!(0,et.isLineDrawnWithPressedButton)(l)&&!r.lineBeingCreated()&&!this._isSelectPointModeEnabled())return void this._updateCrosshairPositionInToolCreationMode(e,this.state());const c=n.measurePane().value();if(e.isTouch&&(this._startTouchPoint||e.stylus)&&((0,k.toolIsMeasure)(l)||null!==c))return void(e.stylus?this._setCursorPosition(e.localX,e.localY,new A.EnvironmentState(e)):this._updateCrosshairPositionInToolCreationMode(e,c||this.state()));const h=r.lineBeingCreated();if(e.isTouch&&!e.stylus&&h&&!(0,et.isLineDrawnWithPressedButton)(h.toolname)){if(this._startTouchPoint){const t=(0,s.ensureNotNull)(r.lineBeingCreated()),i=(0,s.ensureNotNull)(r.model().paneForSource(t)) -;this._updateCrosshairPositionInToolCreationMode(e,i)}return}if(e.isTouch&&null!==this._startTrackPoint){this._exitTrackingModeOnNextTry=!1;const e=(0,s.ensureNotNull)(this._initCrossHairPosition),t=new C.Point(o,a).subtract(this._startTrackPoint),r=e.add(t);this._setCursorPosition(r.x,r.y,i)}else e.isTouch&&this._preventCrossHairMove()||this._setCursorPosition(o,a,i);const d=this._isSelectPointModeEnabled();if((0,f.isLineToolName)(l)&&!(0,et.isLineDrawnWithPressedButton)(l)&&!d&&!i.mod())return;if((0,et.isLineDrawnWithPressedButton)(l)&&!d){const i=this.state().defaultPriceScale();if(i.isEmpty())return;const n=r.lineBeingCreated();if(!n)return;const o=new C.Point(e.localX,e.localY),a=(0,s.ensure)(null===(t=n.ownerSource())||void 0===t?void 0:t.firstValue());return o.price=i.coordinateToPrice(e.localY,a),o.index=Math.round(r.timeScale().coordinateToIndex(e.localX)),void r.continueCreatingLine(o)}if(null!==this._paneWidgetsSharedState.draggingSource()){const t=e.target,i=this._chart.paneByCanvas(t);i&&(i!==this?i.setDragToAnotherPaneCursor():i.setCursorForTool());const s=this._chart.timeAxisByCanvas(t);s&&s.setCursor("grabbing")}if(r.timeScale().isEmpty())return;const u=this._options.handleScroll;if((!u.pressedMouseMove||e.isTouch)&&(!u.horzTouchDrag&&!u.vertTouchDrag||!e.isTouch))return;if(r.customMoveBeingProcessed())return void r.processCustomMove(e);const p=r.model().customSourceMovingHitTestData();if(null!==p&&(this._updateCommonTooltip(null,!0),r.model().processingCustomSourceMove(),(0,M.tryCallHandler)(e,p.pressedMouseMoveHandler,p.touchMoveHandler),Lt(e,p)))return;if(r.model().lineBeingEdited())return void this._setCursorPosition(o,a,i);if(r.model().sourcesBeingMoved().length)return void this._alignSourcesThatBeingMoved(r.model().sourcesBeingMoved(),e.localX,e.localY,i);const _=this._dataSourceAtPoint(e.localX,e.localY);if(this._tryFinishClonning(e,new A.EnvironmentState(e),_))return;const m=(0,k.toolIsMeasure)(l)||n.startMeasurePoint()&&n.endMeasurePoint();this._chart.readOnly()||!i.mod()||(0,f.isLineToolName)(l)||m||d?(this._processScroll(e),this._preventScroll()&&!this._preventCrossHairMove()&&null===this._startTrackPoint&&this._setCursorPosition(e.localX,e.localY,new A.EnvironmentState(e))):this._isSelecting||(n.startSelection(this.state()),this._isSelecting=!0)}_mouseOrTouchLeaveEvent(e){var t,i;if(!this.hasState())return;const s=this._chartUndoModel();if(!s)return;const r=s.crossHairSource();e.isTouch||null!==r.measurePane().value()&&null===r.endMeasurePoint()||this._clearCursorPosition(),s.model().setHoveredSource(null,null),null!==this._prevHoveredHittest&&((0,M.tryCallHandler)(e,null===(i=null===(t=this._prevHoveredHittest.hittest)||void 0===t?void 0:t.data())||void 0===i?void 0:i.mouseLeaveHandler),this._prevHoveredHittest=null),this._updateCommonTooltip(null),this._chart.unsetActivePaneWidget()}_mouseDoubleClickOrDoubleTapEvent(e){var t;if(!this.hasState())return;const i=!this._chart.readOnly()&&!(0,f.isLineToolName)(k.tool.value())&&(0, -s.ensureNotNull)(this._dataSourceAtPoint(e.localX,e.localY))||null;if(null===i)return;if(i.isCustom)return void(null===(t=i.hittest)||void 0===t||t.tryCallDblClickOrDblTapHandler(e));let r=i.hittest&&i.source||null;r&&i.hittest&&i.hittest.result()<=M.HitTestResult.MOVEPOINT_BACKGROUND&&!e.isTouch&&(r=null),r&&!r.isSelectionEnabled()&&(r=null);const n=this.state();r?this.processDoubleClickOnSource(r,i.hittest?i.hittest:void 0):this._chart.readOnly()||(0,f.isLineToolName)(k.tool.value())||this._chartUndoModel().lineBeingCreated()||!this._chartUndoModel().selection().isEmpty()||(new A.EnvironmentState(e).mod()&&!n.maximized().value()?(n.collapsed().value()||this._chartModel().paneCollapsingAvailable().value())&&this._chart.toggleCollapsedPane(this):this._chart.toggleMaximizePane(this))}_contextMenuEvent(e){var t;const i=this._chartUndoModel();if(i.crossHairSource().startMeasurePoint()&&!this._trackCrosshairOnlyAfterLongTap)return i.crossHairSource().clearMeasure(),void(0,k.resetToCursor)(!0);if(this._pinching)return;if(null===this._firstZoomPoint||this._trackCrosshairOnlyAfterLongTap||this.cancelZoom(),!(0,k.toolIsCursor)(k.tool.value())||this._isSelectPointModeEnabled()){if(e.isTouch)return;return(0,k.resetToCursor)(!0),this.setCursorForTool(),void(i.lineBeingCreated()&&i.cancelCreatingLine())}if(!this._options.contextMenuEnabled)return;const s=this._dataSourceAtPoint(e.localX,e.localY),r=s?s.source:null;if(e.isTouch&&null!==this._startTrackPoint){if(this._preventSourceChange)return;this._clearCursorPosition()}e.isTouch&&(this._contextMenuOpenedOnLastTap=!0,this._startTrackPoint=null),this._contextMenuX=e.localX,this._contextMenuY=e.localY;const n=s&&s.hittest?s.hittest.result():0,o=n>=M.HitTestResult.REGULAR||n>=M.HitTestResult.MOVEPOINT_BACKGROUND&&e.isTouch;this._chart.updateActions(),i.selectionMacro(t=>{null!==r&&o?t.selection().isSelected(r)||(t.clearSelection(),t.addSourceToSelection(r,Pt(s,r))):(this._options.contextMenu.general&&this._showContextMenu(e),t.clearSelection())}),s&&o&&null!==r&&((0,E.isDataSource)(r)&&r.hasContextMenu()?r.isSelectionEnabled()?this.showContextMenuForSelection(e):this.showContextMenuForSources([r],e):null===(t=s.hittest)||void 0===t||t.tryCallContextMenuHandler(e))}_onMouseEvent(){this._preventSourceChange=!1,this._startTrackPoint=null,this._trackCrosshairOnlyAfterLongTap=!1}_onTouchEvent(){this._trackCrosshairOnlyAfterLongTap=!0}_switchTrackingModeFromAnotherPaneIfNeeded(e){const t=this._chart.trackingModePaneWidget();if(null!==t&&t!==this){const i=this._chartModel().crossHairSource().currentPoint();t._exitTrackingModeOnNextTry=!0,t._tryExitTrackingMode(!0),this.startTrackingMode(new C.Point(e.localX,e.localY),new C.Point(i.x,e.localY),new A.EnvironmentState(e))}}_showContextMenu(e){const t=e=>e instanceof xe.Separator,i=this._customActions(),s=this._initActions(e).filter(e=>null!==e);i.remove.forEach(e=>{for(let t=0;t0;e--)t(r[e])&&t(r[e-1])&&r.splice(e,1);r.length&&t(r[0])&&r.splice(0,1),r.length&&t(r[r.length-1])&&r.splice(r.length-1,1),$.ContextMenuManager.showMenu(r,e,{statName:"ChartContextMenu"},{menuName:"ChartContextMenu"})}_initActions(e){var t,i;const s=this._chart.actions(),r=[];if(r.push(s.chartReset),r.push(new xe.Separator),!this.state().isEmpty()&&Pe.enabled("datasource_copypaste")){const t=(0,Te.createActionCopyPrice)(this.state(),e.localY),i=(0,Te.createPasteAction)(this._chart,this.state());(t||i)&&(t&&r.push(t),i&&r.push(i),r.push(new xe.Separator))}r[r.length-1]instanceof xe.Separator||r.push(new xe.Separator);return Boolean(null===(t=window.widgetbar)||void 0===t?void 0:t.widget("watchlist"))&&s.addToWatchlist&&r.push(s.addToWatchlist),Pe.enabled("text_notes")&&r.push(s.addToTextNotes),r[r.length-1]instanceof xe.Separator||r.push(new xe.Separator),r.push(this._createLockTimeAxisAction(e)),r.push(new xe.Separator),r.push((0,Te.createLinesAction)(this._chart)),!Pe.enabled("charting_library_base")&&s.applyColorTheme&&r.push(s.applyColorTheme),r[r.length-1]instanceof xe.Separator||r.push(new xe.Separator),this._chart.applyIndicatorsToAllChartsAvailable()&&(r.push(s.applyStudiesToAllCharts),r.push(new xe.Separator)),r.push(s.paneRemoveAllDrawingTools),r.push(s.paneRemoveAllStudies),r.push(new xe.Separator),(null===(i=window.pro)||void 0===i?void 0:i.hasPackage("mtp-mtpredictor"))&&this.state().containsMainSeries()&&r.push((0,Te.createMTPredictorActions)(this._chart,this.state(),this._contextMenuX,this._contextMenuY),new xe.Separator),r.push(s.hideAllMarks),r.push(new xe.Separator),Pe.enabled("show_chart_property_page")&&r.push(s.chartProperties),r[r.length-1]instanceof xe.Separator&&r.pop(),r}_loadAndCreateLegendWidget(){Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,74335)).then(e=>{if(this._isDestroyed)return;const t=e.LegendWidget,i=(0,I.deepExtend)({},this._options.legendWidget);i.canShowSourceCode=!this._chart.onWidget()&&!l.CheckMobile.any(),i.readOnlyMode=i.readOnlyMode||this._chart.readOnly(),i.statusesWidgets={sourceStatusesEnabled:this._options.sourceStatusesWidgetEnabled,sourceStatuses:this._options.sourceStatusesWidget||{},marketStatusEnabled:this._options.marketStatusWidgetEnabled,dataUpdateModeEnabled:this._options.chartWarningWidgetEnabled,dataUpdateMode:this._options.chartWarningWidget||{},dataProblemEnabled:this._options.dataProblemWidgetEnabled};const r=(0,m.combine)((e,t)=>Mt&&this._chart!==e&&!t,this._chart.chartWidgetCollection().activeChartWidget,this._chart.chartWidgetCollection().lock.crosshair),n=(0,m.combine)((e,t)=>null!==e?e===this._state:(0,k.toolIsMeasure)(t),this._chartModel().crossHairSource().measurePane(),k.tool);this._legendWidget=new t(this._chartUndoModel(),this,this._chart.backgroundTopTheme().spawn(),r,this._visuallyCollapsed.spawn(),n,i,{showContextMenuForSelection:this.showContextMenuForSelection.bind(this),showContextMenuForSources:this.showContextMenuForSources.bind(this), -updateActions:this._chart.updateActions.bind(this._chart),showChartPropertiesForSource:this._chart.showChartPropertiesForSource.bind(this._chart),showGeneralChartProperties:this._chart.showGeneralChartProperties.bind(this._chart),showObjectsTreeDialog:this._chart.showObjectsTreeDialog.bind(this._chart)}),this._div.appendChild(this._legendWidget.getElement()),this._legendWidget.updateLayout(),this._legendWidget.updateWidgetModeBySize(this._size),this._legendWidget.updateThemedColors(this._themedTopColor);for(const e of Array.from(this._customLegendWidgetsFactoryMap.keys()))this._legendWidget.addCustomWidgetToLegend(e,(0,s.ensureDefined)(this._customLegendWidgetsFactoryMap.get(e)))})}_loadAndCreatePaneControlsWidget(){Promise.all([Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,20648)),Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,59255))]).then(([e,t])=>{var i;if(this._isDestroyed)return;const s=e.PaneControlsWidget;this._paneControls=new s(this._chartUndoModel(),this,{backgroundThemeName:this._chart.backgroundTopTheme()},{toggleMaximizePane:this._chart.toggleMaximizePane.bind(this._chart),toggleCollapsedPane:this._chart.toggleCollapsedPane.bind(this._chart)},this._div),this._paneControls.updateWidgetModeByWidth(this._size.w),this._paneControls.updateThemedColors(this._themedTopColor),this._paneControlsResizeObserver=new t.default(this._handleRestrictLegendWidth.bind(this)),this._paneControlsResizeObserver.observe(this._paneControls.getElement()),(null===(i=this._state)||void 0===i?void 0:i.collapsed().value())&&this._chartModel().fullUpdate()})}_handleRestrictLegendWidth(e){if(null===this._legendWidget||null===this._paneControls)return;const t=e[e.length-1].contentRect.width,i=0===t?0:t+dt+ut;this._legendWidget.addMargin(i)}_onMagnetStateChanged(){this._chart.isActive()&&(this._isSelectPointModeEnabled()||this._isToolActionActiveOnPane(!0))&&this._chartModel().crossHairSource().visible&&this._updateLineToolUsingMagnetOrShift()}_onShiftKeyStateChanged(){this._chart.isActive()&&this._isToolActionActiveOnPane(!1)&&this._chartModel().crossHairSource().visible&&this._updateLineToolUsingMagnetOrShift(A.EnvironmentState.create((0,ot.shiftPressed)().value()))}_isToolActionActiveOnPane(e){const t=this._chartModel(),i=t.lineBeingCreated()||t.lineBeingEdited()||t.sourcesBeingMoved().length>0&&t.sourcesBeingMoved()[0];return i?t.paneForSource(i)===this._state:e&&(0,f.isLineToolName)(k.tool.value())&&t.crossHairSource().pane===this._state}_updateLineToolUsingMagnetOrShift(e){if(null===this._prevMoveEventPosition)return;const{x:t,y:i}=this._prevMoveEventPosition,s=this._chartModel().sourcesBeingMoved();s.length>0?(k.isStudyEditingNow.value()&&this._setCursorPosition(t,i,e),this._alignSourcesThatBeingMoved(s,t,i,e)):this._setCursorPosition(t,i,e)}_showEditDialogForSource(e,t){if(this._options.propertyPagesEnabled&&e.userEditEnabled())if(e===this._chartUndoModel().mainSeries())this._chart.showGeneralChartProperties(tt.TabNames.symbol);else if((0,f.isLineTool)(e)||(0,v.isStudy)(e)){let i -;const s=null==t?void 0:t.data();if(null!=s){const e=s.areaName;void 0!==e&&(i=It.get(e))}this._chart.showChartPropertiesForSource(e,i).then(e=>{this._editDialog=e})}}_initToolCreationModeParams(e){this._startTouchPoint=new C.Point(e.pageX,e.pageY),this._initCrossHairPosition=this._chartModel().crossHairSource().currentPoint()}_updateCrosshairPositionInToolCreationMode(e,t){if(t!==this._state){const i=this._chart.paneByState(t);return i._startTouchPoint=this._startTouchPoint,i._initCrossHairPosition=this._initCrossHairPosition,void i._updateCrosshairPositionInToolCreationMode(e,t)}const i=this._chartModel().crossHairSource();this._chart.justActivated()&&(this._initCrossHairPosition=i.currentPoint());const r=e.pageX,n=e.pageY,o=(0,s.ensureNotNull)(this._initCrossHairPosition),a=new C.Point(r,n).subtract((0,s.ensureNotNull)(this._startTouchPoint)),l=o.add(a);this._setCursorPosition(l.x,l.y,new A.EnvironmentState(e))}_priceAxisesContainer(e){return"left"===e?this._lhsPriceAxisesContainer:this._rhsPriceAxisesContainer}_recalculatePriceScales(e){const t=this.state();for(const i of t.leftPriceScales())t.recalculatePriceScale(i,e);for(const i of t.rightPriceScales())t.recalculatePriceScale(i,e);for(const i of t.sourcesByGroup().overlayPriceScaleSources())(0,f.isLineTool)(i)||t.recalculatePriceScale(i.priceScale(),e)}_createLockTimeAxisAction(e){const t=(0,k.lockTimeAxis)().value();return new xe.Action({actionId:"Chart.Crosshair.LockVerticalCursor",label:gt,statName:"LockCursorInTime",checkable:!0,checked:t,onExecute:()=>this._toggleLockTimeAxis(e.localX,!t)})}_toggleLockTimeAxis(e,t){if(t){const t=this._chartUndoModel().timeScale(),i=t.coordinateToIndex(e),s=t.points().roughTime(i);null!==s&&k.lockTimeAxisTime.setValue(s)}(0,k.lockTimeAxis)().setValue(t)}_preventTouchEventsExceptPinch(){return this._paneWidgetsSharedState.hasTouchesOnOtherPanes(this)||null!==this._paneWidgetsSharedState.pinchingPane()}_updateHoveredSource(e,t,i){var s,r,n;const o=this._chartUndoModel(),a=o.model();let l=!1;const c=e&&e.source,h=this._chart.readOnly();if(h&&!(0,f.isLineTool)(e.source)||this._editDialog&&this._editDialog.visible().value())h&&(a.setHoveredSource(null,null),this.setCursorForTool());else{const d=k.tool.value();let u=null;if(!this._processing&&((0,k.toolIsCursor)(d)||"eraser"===d&&!h||t.mod()||!o.lineBeingCreated())){const{hittest:t}=e;l=Boolean(null===(s=null==t?void 0:t.data())||void 0===s?void 0:s.hideCrosshairLinesOnHover),t&&t.result()>M.HitTestResult.MOVEPOINT_BACKGROUND?(u=c,!(null==c?void 0:c.isHoveredEnabled())||"eraser"===d&&c===o.mainSeries()?a.setHoveredSource(null,null):a.setHoveredSource(c,null==t?void 0:t.data())):a.setHoveredSource(null,null)}h?this.setCursorForTool(u,t,it.PaneCursorType.Default):this._options.sourceSelectionEnabled&&(this._isSelectPointModeEnabled()?this._setCursorClassName("pointer"):this.setCursorForTool(u,t,null===(n=null===(r=null==e?void 0:e.hittest)||void 0===r?void 0:r.data())||void 0===n?void 0:n.cursorType)) -;const p=a.customSourceBeingMoved(),_=null!==p?[p]:a.sourcesBeingMoved(),m=e.source;if((!_.length||null!==m&&-1===_.indexOf(m))&&this._updateCommonTooltip(e),!h&&null!==e.hittest&&i&&e.hittest.hasPressedMoveHandler(i)){switch((e.hittest.data()||{}).cursorType){case it.PaneCursorType.VerticalResize:this._setCursorClassName("ns-resize");break;case it.PaneCursorType.HorizontalResize:this._setCursorClassName("we-resize");break;case it.PaneCursorType.DiagonalNeSwResize:this._setCursorClassName("nesw-resize");break;case it.PaneCursorType.DiagonalNwSeResize:this._setCursorClassName("nwse-resize")}}}this._preventCrossHairMove()&&this._clearCursorPosition(),a.crossHairSource().setLinesShouldBeHidden(l)}async _createErrorBlock(){const e=new(await async function(){return(await Promise.all([i.e(5514),i.e(8879),i.e(139)]).then(i.bind(i,81200))).ErrorCardRenderer}());return this._div.insertBefore(e.container,this._topCanvasBinding.canvas.nextSibling),e}_customActions(){const e={top:[],bottom:[],remove:[]},t=this._chartUndoModel().timeScale(),i=this._state&&this._state.defaultPriceScale();if(!Pe.enabled("custom_items_in_context_menu"))return e;const r=t.isEmpty()?void 0:t.indexToUserTime(t.coordinateToIndex(this._contextMenuX));let n;if(i&&!i.isEmpty()){const e=(0,s.ensureNotNull)(this.state().mainDataSource()).firstValue();n=i.coordinateToPrice(this._contextMenuY,(0,s.ensureNotNull)(e))}return(0,h.emit)("onContextMenu",{unixtime:null!=r?r.getTime()/1e3:void 0,price:n,callback:t=>{[...t].forEach(t=>{if(t.text)if(t.text.length>1&&"-"===t.text[0])e.remove.push(t.text.slice(1));else{let i;i="-"===t.text?new xe.Separator:new xe.Action({actionId:"Chart.ExternalActionId",label:t.text,onExecute:t.click}),t.position&&"top"===t.position?e.top.push(i):e.bottom.push(i)}})}}),e}_highlightPriceAxisByLabel(e){this._lhsPriceAxisesContainer.highlightPriceAxisByLabel(e),this._rhsPriceAxisesContainer.highlightPriceAxisByLabel(e)}_subscribeToState(){const e=this.state();e.onDestroyed().subscribe(this,this._onStateDestroyed,!0),e.dataSourcesCollectionChanged().subscribe(this,this._onDataSourcesCollectionChanged),e.maximized().subscribe(this._updateVisuallyCollapsed),e.collapsed().subscribe(this._updateVisuallyCollapsed)}_unsubscribeFromState(){const e=this.state();e.onDestroyed().unsubscribeAll(this),e.dataSourcesCollectionChanged().unsubscribeAll(this),e.maximized().unsubscribe(this._updateVisuallyCollapsed),e.collapsed().unsubscribe(this._updateVisuallyCollapsed)}}var Et=i(72045);class kt{constructor(e,t,i){this._handleEl=null,this._resizeInfo=null,this._colorCache={lineColor:"",backgroundColor:"",color:""},this._chart=e,this._topPaneIndex=t,this._bottomPaneIndex=i,this._row=document.createElement("tr"),this._cell=document.createElement("td"),this._row.appendChild(this._cell),this._cell.classList.add(Et.paneSeparator),this._cell.setAttribute("colspan","3"),this._cell.style.background=this._color(),this.adjustSize(),this._cell.addEventListener("click",()=>{});const s=document.createElement("div");s.classList.add(Et.handle),this._cell.appendChild(s), -this._mouseEventHandler=new B.MouseEventHandler(s,this,{treatVertTouchDragAsPageScroll:!1,treatHorzTouchDragAsPageScroll:!0}),this._handleEl=s}destroy(){this._mouseEventHandler.destroy(),this._row.parentElement&&this._row.parentElement.removeChild(this._row)}getElement(){return this._row}hide(){this._row.classList.add("js-hidden")}show(){this._row.classList.remove("js-hidden")}adjustSize(){this._row.style.height=kt.height()+"px"}mouseEnterEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0);null!==t&&null!==i&&(0,s.ensureNotNull)(this._handleEl).classList.add(Et.hovered)}mouseLeaveEvent(e){(0,s.ensureNotNull)(this._handleEl).classList.remove(Et.hovered)}mouseDownEvent(e){this._mouseDownOrTouchStartEvent(e)}touchStartEvent(e){this._mouseDownOrTouchStartEvent(e)}pressedMouseMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}mouseUpEvent(e){this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._mouseUpOrTouchEndEvent(e)}update(){this._cell.style.background=this._color().toString()}paint(){}image(){const{topPane:e}=this._topBottomPane(!1),t=e.leftPriceAxisesContainer().getWidth(),i=e.width(),s=e.rightPriceAxisesContainer().getWidth(),r=this._color(),n=(0,N.createDisconnectedCanvas)(document,new N.Size(t,1)),o=(0,N.getPrescaledContext2D)(n);o.fillStyle=r,o.fillRect(0,0,t,1);const a=(0,N.createDisconnectedCanvas)(document,new N.Size(i,1)),l=(0,N.getPrescaledContext2D)(a);l.fillStyle=r,l.fillRect(0,0,i,1);const c=(0,N.createDisconnectedCanvas)(document,new N.Size(s,1)),h=(0,N.getPrescaledContext2D)(c);return h.fillStyle=r,h.fillRect(0,0,s,1),{type:"separator",leftAxis:{content:n.toDataURL(),canvas:n,contentWidth:t,contentHeight:1},rightAxis:{content:c.toDataURL(),canvas:c,contentWidth:s,contentHeight:1},content:a.toDataURL(),canvas:a,contentWidth:i,contentHeight:1}}static height(){const e=window.devicePixelRatio||1;return e>=1?1:1/e}_mouseDownOrTouchStartEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0);if(null===t||null===i)return;const r=t.state().stretchFactor()+i.state().stretchFactor(),n=r/(t.height()+i.height()),o=30*n;r<=2*o||(this._resizeInfo={startY:e.pageY,prevStretchTopPane:t.state().stretchFactor(),maxPaneStretch:r-o,totalStretch:r,pixelStretchFactor:n,minPaneStretch:o},(0,s.ensureNotNull)(this._handleEl).classList.add(Et.active))}_pressedMouseOrTouchMoveEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0),s=this._resizeInfo;if(null===s||null===t||null===i)return;const r=(e.pageY-s.startY)*s.pixelStretchFactor,n=(0,le.clamp)(s.prevStretchTopPane+r,s.minPaneStretch,s.maxPaneStretch);t.state().setStretchFactor(n),i.state().setStretchFactor(s.totalStretch-n),this._chart.model().model().fullUpdate()}_mouseUpOrTouchEndEvent(e){const{topPane:t,bottomPane:i}=this._topBottomPane(!0),r=this._resizeInfo;null!==r&&null!==t&&null!==i&&(this._chart.model().addPaneStretchFactorUndoCommand(t.state(),i.state(),r.prevStretchTopPane,t.state().stretchFactor()),this._resizeInfo=null,(0, -s.ensureNotNull)(this._handleEl).classList.remove(Et.active))}_color(){const e=this._chart.properties().childs().paneProperties.childs().separatorColor.value(),t=this._chart.model().model().backgroundColor().value();if(this._colorCache.lineColor!==e||this._colorCache.backgroundColor!==t){const i=(0,re.parseRgba)(t),s=(0,re.parseRgba)(e),r=0===i[3]&&0===s[3]?"rgba(0,0,0,0)":(0,re.rgbaToString)((0,re.blendRgba)(i,s));this._colorCache={lineColor:e,backgroundColor:t,color:r}}return this._colorCache.color}_topBottomPane(e){const t=this._chart.paneWidgets();let i=null,s=null;for(let s=this._topPaneIndex;s>=0;--s){const r=t[s];if(!e||!r.state().collapsed().value()){i=r;break}}for(let i=this._bottomPaneIndex;ithis.backgroundColor(),o=()=>{throw new Error("Time axis does not support real price scales")},a={titlesProvider:i,stubContextMenuProvider:(e,t)=>{const i=this.getContextMenuActions(!0);let r=s(e,t);if(r[r.length-1]===this.chart.actions().scalesProperties){const e=[new xe.Separator].concat(i);Array.prototype.splice.apply(r,[r.length-2,0,...e])}else r.push(new xe.Separator),r=r.concat(i);return r},backgroundBasedTheme:r,rendererOptionsProvider:e.model().model().rendererOptionsProvider(),getBackgroundTopColor:n,getBackgroundBottomColor:n,showHorizontalBorder:!0};this._lhsStubContainer=new ee(this._properties,"left",o,a,this._options.priceAxisLabelsOptions,this),this._lhsStubContainer.onLabelHovered().subscribe(this,(e,t)=>{this._onLabelHovered.fire(e,t)}),this._rhsStubContainer=new ee(this._properties,"right",o,a,this._options.priceAxisLabelsOptions,this),this._rhsStubContainer.onLabelHovered().subscribe(this,(e,t)=>{this._onLabelHovered.fire(e,t)}),this._element.appendChild(this._lhsStubContainer.getElement()),this._cell=document.createElement("td"),this._element.appendChild(this._cell),this._cell.classList.add("chart-markup-table","time-axis"),this._cell.style.height="25px",this._dv=document.createElement("div"),this._dv.style.width="100%",this._dv.style.height="100%",this._dv.style.position="relative",this._dv.style.overflow="hidden",this._cell.appendChild(this._dv),this._canvasConfiguredHandler=()=>this.chart.model().model().lightUpdate(),this._canvasBinding=(0,N.createBoundCanvas)(this._dv,new N.Size(16,16)),this._canvasBinding.subscribeCanvasConfigured(this._canvasConfiguredHandler);const l=this._canvasBinding.canvas;l.style.position="absolute",l.style.zIndex="1", -l.style.left="0",l.style.top="0",this._topCanvasConfiguredHandler=()=>this.chart.model().model().lightUpdate(),this._topCanvasBinding=(0,N.createBoundCanvas)(this._dv,new N.Size(16,16)),this._topCanvasBinding.subscribeCanvasConfigured(this._topCanvasConfiguredHandler);const c=this._topCanvasBinding.canvas;c.style.position="absolute",c.style.zIndex="2",c.style.left="0",c.style.top="0",this._element.appendChild(this._rhsStubContainer.getElement()),this.restoreDefaultCursor(),this.update(),this._minVisibleSpan=Dt.MINUTE_SPAN,this._mouseEventHandler=new B.MouseEventHandler(this._topCanvasBinding.canvas,this,{treatVertTouchDragAsPageScroll:!0,treatHorzTouchDragAsPageScroll:!1}),this.size=new N.Size(0,0),(0,k.hideMarksOnBars)().subscribe(this,()=>this.chart.model().model().lightUpdate())}destroy(){this._mouseEventHandler.destroy(),this._topCanvasBinding.unsubscribeCanvasConfigured(this._topCanvasConfiguredHandler),this._topCanvasBinding.destroy(),this._canvasBinding.unsubscribeCanvasConfigured(this._canvasConfiguredHandler),this._canvasBinding.destroy(),this._rhsStubContainer.onLabelHovered().unsubscribeAll(this),this._lhsStubContainer.onLabelHovered().unsubscribeAll(this),this._lhsStubContainer.destroy(),this._rhsStubContainer.destroy(),this.chart.properties().childs().paneProperties.childs().background.unsubscribeAll(this),(0,k.hideMarksOnBars)().unsubscribeAll(this)}setCursor(e){let t="";"grabbing"!==e&&"ew-resize"!==e||(t="time-axis--cursor-"+e),this._currentCursorClassName!==t&&(this._currentCursorClassName&&this._cell.classList.remove(this._currentCursorClassName),t&&this._cell.classList.add(t),this._currentCursorClassName=t,this._cell.style.cursor)}restoreDefaultCursor(){this.setCursor("")}getElement(){return this._element}optimalHeight(){const e=this.rendererOptions();return Math.ceil(e.borderSize+e.offsetSize+e.fontSize+e.paddingTop+e.paddingBottom+e.labelBottomOffset)}setSizes(e,t,i){this.size&&this.size.equals(e)||(this.size=e,this._canvasBinding.resizeCanvas({width:e.w,height:e.h}),this._topCanvasBinding.resizeCanvas({width:e.w,height:e.h}),this._cell.style.width=e.w+"px",this._cell.style.height=e.h+"px"),this._lhsStubContainer.setSizes(e.h,t),this._rhsStubContainer.setSizes(e.h,i)}rendererOptions(){if(!this._rendererOptions||this._rendererOptions.fontSize!==this.fontSize()){const e=this.fontSize();this._rendererOptions={borderSize:1,offsetSize:5,fontSize:e,font:(0,O.makeFont)(e,z.CHART_FONT_FAMILY,""),widthCache:new ie.TextWidthCache,paddingTop:3*e/12,paddingBottom:3*e/12,paddingHorizontal:9*e/12,labelBottomOffset:4*e/12}}return this._rendererOptions}backgroundColor(){return this.chart.model().model().backgroundColor().value()}lineColor(){const e=this._properties.childs().lineColor.value();if(0===(0,re.parseRgba)(e)[3]){const e=this.chart.model().model().lastPane();if(e&&(e.collapsed().value()||e.isMainPane()&&this._areEventsEnabled()))return this.chart.properties().childs().paneProperties.childs().separatorColor.value()}return e}textColor(){return this._properties.childs().textColor.value()}fontSize(){ -return this._properties.childs().fontSize.value()}baseFont(){return(0,O.makeFont)(this.fontSize(),z.CHART_FONT_FAMILY)}baseBoldFont(){return(0,O.makeFont)(this.fontSize(),z.CHART_FONT_FAMILY,"","bold")}hasCanvas(e){return this._canvasBinding.canvas===e||this._topCanvasBinding.canvas===e}onLabelHovered(){return this._onLabelHovered}getScreenshotData(){return{content:this._canvasBinding.canvas.toDataURL(),canvas:this._canvasBinding.canvas,contentWidth:this.size.w,contentHeight:this.size.h,lhsStub:this._lhsStubContainer.getScreenshotData(),rhsStub:this._rhsStubContainer.getScreenshotData()}}getContextMenuActions(e){var t;const i=this.chart;i.updateActions();const s=i.actions(),r=[];if(e||r.push(s.timeScaleReset,new xe.Separator),this._options.timezoneMenuEnabled&&r.push(s.applyTimeZone),r.push(s.sessionBreaks),!i.model().mainSeries().isDWM()){const e=null===(t=i.model())||void 0===t?void 0:t.mainSeries().symbolInfo();if(e){const t=i.model().mainSeries().properties().childs().sessionId,s=(e.subsessions||[]).filter(e=>!e.private);if(s.length>1){const e=s.map(e=>{const s={label:translateSessionDescription(e.description),checkable:!0,checked:t.value()===e.id,statName:"SetSession",onExecute:()=>{i.model().setProperty(t,e.id,Bt)}};return new xe.Action({...s,actionId:"Chart.SetSession"})}),n={label:Nt,statName:"SetSession",subItems:e},o=new xe.Action({...n,actionId:"Chart.SetSession"});r.push(o)}}}return r}update(){if(!this.chart.hasModel())return;const e=this.chart.model().timeScale().marks();if(e){this._minVisibleSpan=Dt.YEAR_SPAN;for(const t of e)this._minVisibleSpan=Math.min(t.span,this._minVisibleSpan)}}updatePriceAxisStubs(){const e=this.chart.model().model(),t=this.chart.isMaximizedPane()?(0,s.ensureNotNull)(this.chart.maximizedPaneWidget()).state():e.paneForSource(e.mainSeries());if(!t)return;const i=e.priceScaleSlotsCount();this._lhsStubContainer.setScales([],i.left,t.leftPriceScales().length,i.left+i.right),this._rhsStubContainer.setScales([],i.right,t.rightPriceScales().length,i.left+i.right)}paint(e){if(e===b.InvalidationLevel.None)return;const t=(0,N.getContext2D)(this._topCanvasBinding.canvas);if(e>b.InvalidationLevel.Cursor){const i=(0,N.getContext2D)(this._canvasBinding.canvas),s=this._canvasBinding.pixelRatio;this.drawBackground(i,s),this.chart.hasModel()&&(this.drawBorder(i,s),this.drawTickMarks(i,s),this.drawBackLabels(i,s),this.drawCrossHairLabel(t,s)),this._lhsStubContainer.paintStubs(e),this._rhsStubContainer.paintStubs(e)}this.drawCrossHairLabel(t,this._topCanvasBinding.pixelRatio)}drawBackground(e,t){if((0,N.clearRect)(e,0,0,Math.ceil(this.size.w*t)+1,Math.ceil(this.size.h*t)+1,this.backgroundColor()),!this.chart.hasModel())return;const i=this.chart.model();if(!i.timeScale().isEmpty()){const s=i.model().selection().lineDataSources().reduce((e,t)=>{const i=t.timeAxisPoints();return 0===i.length?e:e.concat(i)},[]);s.length>0&&this._hightlightBackground(e,s,t)}const s=i.model().crossHairSource();s.startMeasurePoint()&&this._hightlightBackground(e,s.measurePoints(),t)}drawBorder(e,t){e.save(), -e.fillStyle=this.lineColor();const i=Math.max(1,Math.floor(this.rendererOptions().borderSize*t)),s=Math.ceil(this.size.w*t);e.fillRect(0,0,s+1,i),e.restore()}drawTickMarks(e,t){const i=this.chart.model().timeScale().marks();if(!i||0===i.length)return;let s=i.reduce((e,t)=>e.span>t.span?e:t,i[0]).span;s>30&&s<40&&(s=30),e.save(),e.strokeStyle=this.lineColor();const r=this.rendererOptions(),n=r.borderSize+r.offsetSize+r.paddingTop+r.fontSize/2;e.textAlign="center",e.textBaseline="middle",e.fillStyle=this.textColor(),(0,N.drawScaled)(e,t,()=>{e.font=this.baseFont();for(let t=0;t=s&&e.fillText(r.label,r.coord,n)}}),e.restore()}drawBackLabels(e,t){var i;e.save();const s=new Set,r=this.chart.model().model();let n=r.dataSources();const o=r.selection().allSources();for(const e of o)s.add(e);r.hoveredSource()&&s.add(r.hoveredSource());for(const e of r.sourcesBeingMoved())s.add(e);const a=r.customSourceBeingMoved();null!==a&&s.add(a);const l=null!==(i=r.lineBeingEdited())&&void 0!==i?i:r.lineBeingCreated();l&&s.add(l),s.add(this.chart.model().crossHairSource()),n=n.concat(r.customSources());const c=this.rendererOptions();for(let i=0;i=s&&(s=a,n=o),a<=i&&(i=a,r=o)}}return n&&t.push(n),r&&t.push(r),t}_zoomAvailable(){return!this.chart.model().timeScale().isEmpty()&&this.chart.model().model().zoomEnabled()&&this._options.pressedMouseMoveScale}_mouseDownOrTouchStartEvent(e){if(this._mousedown||!this._zoomAvailable())return;this._mousedown=!0;const t=this.chart.model();t.timeScale().isEmpty()||t.startScaleTime(e.localX)}_pressedMouseOrTouchMoveEvent(e){this._zoomAvailable()&&this.chart.model().scaleTimeTo(e.localX)}_mouseUpOrTouchEndEvent(e){this._zoomAvailable()&&(this._mousedown=!1,this.chart.model().endScaleTime(),this.restoreDefaultCursor())}_contextMenuOrTouchContextMenuEvent(e){this._options.contextMenuEnabled&&$.ContextMenuManager.showMenu(this.getContextMenuActions(),e,{statName:"TimeScaleContextMenu"},{menuName:"TimeScaleContextMenu"})}_mouseOrTouchEnterEvent(e){this._zoomAvailable()&&this.setCursor("ew-resize")}_mouseOrTouchLeaveEvent(e){this.restoreDefaultCursor()}_mouseDoubleClickOrDoubleTapEvent(e){(0,se.trackEvent)("GUI","Double click time scale"),this.chart.model().resetTimeScale()}_areEventsEnabled(){return!(0,k.hideMarksOnBars)().value()}}function Ot(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ft(e){return e.reduce((e,t)=>{for(const i in t)if(Ot(t,i)){const s=t[i],r=e[i];r?r.push(s):e[i]=[s]}return e},{})}const Wt=new T.TranslatedString("move left",(0,r.t)("move left")),Ht=new T.TranslatedString("move right",(0,r.t)("move right")),zt={moving:"wait_finishing",wait_finishing:"stop",stop:"moving"};class Ut{constructor(e){this._chartModel=null,this._currentDistance=0,this._deferredFinishTimeout=0,this._finishingTimeout=0,this._moveType="",this._startTime=0,this._state="stop",this._movingTimeout=0,this._chart=e,this._chart.withModel(this,()=>{this._chartModel=this._chart.model()})}destroy(){clearTimeout(this._movingTimeout)}move(e){if(null!==this._chartModel&&"stop"===this._state&&this._chartModel.beginUndoMacro(1===e?Wt:Ht),this._state=zt.stop,this._moveType="animated",this._deferredFinishTimeout&&(clearTimeout(this._deferredFinishTimeout),this._deferredFinishTimeout=0),this._finishingTimeout&&(clearTimeout(this._finishingTimeout),this._finishingTimeout=0),this._startTime=Date.now(),0===this._movingTimeout){ -const t=this._startTime,i=10,s=()=>{this.moveStep(t,0,50*e,1e3),this._movingTimeout=setTimeout(s,i)};this._movingTimeout=setTimeout(s,i)}}moveStep(e,t,i,s){if(null!==this._chartModel&&!this._chartModel.timeScale().isEmpty()){const r=Date.now();r1||!isFinite(n))&&(n=1);const o=1-Math.pow(1-n,3);return this._currentDistance=(i-t)*o+t,this._chartModel.scrollChart(this._currentDistance),n}}moveByBar(e){if(null!==this._chartModel){const t=this._chartModel.timeScale();if(t.isEmpty())return;if("stop"===this._state&&this._chartModel.beginUndoMacro(1===e?Wt:Ht),null!==t.visibleBarsStrictRange()){const e=t.indexToCoordinate(t.visibleBarsStrictRange().lastBar())+t.barSpacing()/2;Math.abs(t.width()-e)>t.barSpacing()/6&&this._chartModel.scrollChart(t.width()-e)}if(this._state=zt.stop,this._moveType="by_bar",this._startTime=Date.now(),!this._movingTimeout){let t=0,i=150;const s=400,r=()=>{this._moveByBarStep(e),t++,i>100&&(i-=t/5*20),this._movingTimeout=setTimeout(r,i)};this._movingTimeout=setTimeout(r,s),this._moveByBarStep(e)}}}stopMove(){"by_bar"===this._moveType?this.stopMoveByBar():this._stopMove()}stopMoveByBar(){"moving"===this._state&&(clearTimeout(this._movingTimeout),this._movingTimeout=0,this._state=zt.wait_finishing,this._moveType="",this._movingTimeout=0,this._currentDistance=0,null!==this._chartModel&&this._chartModel.endUndoMacro())}scrollToRealtime(e){null!==this._chartModel&&this._chartModel.timeScale().scrollToRealtime(e)}_finishMove(){clearTimeout(this._movingTimeout),this._movingTimeout=0,this._deferredFinishTimeout=0;const e=this._currentDistance,t=Date.now(),i=()=>{const s=this.moveStep(t,e,0,700);s&&s<1?this._finishingTimeout=setTimeout(i,10):null!==this._chartModel&&(this._state=zt.wait_finishing,this._moveType="",this._movingTimeout=0,this._currentDistance=0,this._chartModel.endUndoMacro())};this._finishingTimeout=setTimeout(i,10)}_stopMove(){"moving"===this._state&&(this._state=zt.moving,Date.now()-this._startTime<200?this._deferredFinishTimeout=setTimeout(this._finishMove.bind(this),200-(Date.now()-this._startTime)):this._finishMove())}_moveByBarStep(e){if(null!==this._chartModel){if(this._chartModel.timeScale().isEmpty())return;this._chartModel.scrollChartByBar(e)}}}var jt=i(37667),Gt=i(9315);class qt{constructor(){this._draggingSource=null,this._activeTouchPanes=new Set,this._scrollingPane=null,this._pinchingPane=null}onPaneDestroyed(e){this._activeTouchPanes.delete(e),this._scrollingPane===e&&(this._scrollingPane=null),this._pinchingPane===e&&(this._pinchingPane=null)}startTouch(e){this._activeTouchPanes.add(e)}endTouch(e){this._activeTouchPanes.delete(e)}hasTouchesOnOtherPanes(e){return this._activeTouchPanes.size>1||1===this._activeTouchPanes.size&&!this._activeTouchPanes.has(e)}trySetDraggingSource(e,t){return!this.hasTouchesOnOtherPanes(t)&&((0,s.assert)(null===this._draggingSource||this._draggingSource===e),this._draggingSource=e,!0)}clearDraggingSource(){null!==this._draggingSource&&(this._draggingSource=null)}draggingSource(){return this._draggingSource} -setScrollingPane(e){(0,s.assert)(null===e||null===this._scrollingPane||this._scrollingPane===e),this._scrollingPane=e}scrollingPane(){return this._scrollingPane}setPinchingPane(e){(0,s.assert)(null===e||null===this._pinchingPane||this._pinchingPane===e),this._pinchingPane=e}pinchingPane(){return this._pinchingPane}}let Yt=null;function Kt(e,t,s,r,n){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(3466),i.e(7836),i.e(8463),i.e(9289),i.e(3921),i.e(5774),i.e(7427),i.e(6909),i.e(7345),i.e(2153),i.e(4763),i.e(6416),i.e(7176),i.e(2385),i.e(7552),i.e(2316),i.e(8268),i.e(9055),i.e(2205),i.e(2358),i.e(6560),i.e(7635),i.e(3682),i.e(9837),i.e(3199),i.e(5827),i.e(2301),i.e(6085),i.e(4891),i.e(8883),i.e(6265)]).then(i.bind(i,73562)).then(i=>{const o=new(0,i.EditObjectDialogRenderer)(e,t,r,n);return o.show(s),o})}let $t=null;var Xt=i(20299);const Zt={[tt.TabNames.symbol]:"symbol",[tt.TabNames.legend]:"legend",[tt.TabNames.scales]:"scales",[tt.TabNames.trading]:"trading",[tt.TabNames.events]:"events",[tt.TabNames.timezoneSessions]:"appearance",[tt.TabNames.text]:"text",[tt.TabNames.style]:"style",[tt.TabNames.visibility]:"visibility"},Jt={[tt.TabNames.style]:"style",[tt.TabNames.visibility]:"visibilities"};async function Qt(e,t,s={},r,n){const o=r.activeChartWidget.value(),{initialTab:a,tabName:l}=s;if(l&&!a&&(s.initialTab=Jt[l]),(0,f.isStudyLineTool)(e)&&function(e){return[Xt.LineToolVbPFixed].some(t=>e instanceof t)}(e))return o.propertiesDefinitionsForSource(e).then(i=>null!==i?Kt(e,t,s,n,i):null);if((0,v.isStudy)(e)&&function(e){const{shortId:t}=e.metaInfo();return"Overlay"===t}(e)||(0,f.isLineTool)(e))return o.propertiesDefinitionsForSource(e).then(s=>{if(null!==s){return function(e){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(3466),i.e(7836),i.e(8463),i.e(9289),i.e(3921),i.e(5774),i.e(7427),i.e(6909),i.e(7345),i.e(2153),i.e(6416),i.e(7176),i.e(2385),i.e(7552),i.e(2316),i.e(8268),i.e(9055),i.e(2205),i.e(2358),i.e(7635),i.e(8090),i.e(9837),i.e(3199),i.e(5827),i.e(2301),i.e(6085),i.e(4891),i.e(8883),i.e(6780)]).then(i.bind(i,75892)).then(t=>{const i=new(0,t.SourcePropertiesEditorRenderer)(e);return null!==$t&&$t.hide(),i.show(),$t=i,i})}({propertyPages:s,model:t,source:e,activePageId:l&&Zt[l]})}return null});if((0,v.isStudy)(e))return Kt(e,t,s,n);{const e=l&&Zt[l],t=r.getChartPropertiesDialogRenderer();return t.setActivePage(e),t.show()}}var ei=i(39277),ti=i(15618),ii=i(49642),si=i(95836);class ri{constructor(e,t){this._showed=!1,this._cw=e,this._element=document.createElement("div"),this._element.classList.add("chart-loading-screen"),this._shield=document.createElement("div"),this._shield.classList.add("chart-loading-screen-shield"),this._element.appendChild(this._shield),t.appendChild(this._element),this._cw.withModel(this,this._connectToModel)}show(){this._cw.setInLoadingState(!0),this._showed||(this._showed=!0,this._show())}hide(){this._cw.setInLoadingState(!1),this._showed&&this._hide()}isShown(){ -return this._showed}_connectToModel(){const e=this._cw.model().mainSeries().dataEvents();e.symbolError().subscribe(this,e=>{e!==si.permissionDenied&&this.hide()}),e.seriesError().subscribe(this,()=>{(0,Pe.enabled)("hide_loading_screen_on_series_error")&&this.hide()}),e.completed().subscribe(this,this.hide)}_show(){const e=this._cw.properties().childs().paneProperties.childs();let t;if(e.backgroundType.value()===ii.ColorType.Solid)t=e.background.value();else{t=`linear-gradient(${e.backgroundGradientStartColor.value()},${e.backgroundGradientEndColor.value()})`}this._shield.style.background=t,this._element.classList.add("fade")}_hide(){this._showed=!1,this._element.classList.remove("fade")}}var ni=i(55257),oi=i(36759);const ai=(0,Pe.enabled)("chart_content_overrides_by_defaults"),li=(0,n.getLogger)("ChartWidget",{color:"#606"}),ci=new T.TranslatedString("hide {title}",(0,r.t)("hide {title}"));const hi={addToWatchlistEnabled:!0,showFinancialsEnabled:!1,sourceSelectionEnabled:!0,propertyPagesEnabled:!0,paneContextMenuEnabled:!0,priceScaleContextMenuEnabled:!0,currencyConversionEnabled:!1,unitConversionEnabled:!1,goToDateEnabled:!1,marketStatusWidgetEnabled:!0,chartWarningWidgetEnabled:!0,dataProblemWidgetEnabled:!0,paneControlsEnabled:!0,isSymbolAvailable:e=>Promise.resolve(!0),legendWidgetEnabled:!0,chartEventsEnabled:!0,esdEnabled:!1,croppedTickMarks:!0,countdownEnabled:!0,lastPriceAnimationEnabled:!0,useKineticScroll:l.CheckMobile.any(),indicatorsDialogShortcutEnabled:!0,handleScale:{mouseWheel:!0,pinch:!0,axisPressedMouseMove:{time:!0,price:!0}},handleScroll:{mouseWheel:!0,pressedMouseMove:!0,horzTouchDrag:!0,vertTouchDrag:!0}};function di(e,t,i,s=0){const r=t.mainSeries().syncModel(),n=e.mainSeries().syncModel();let o=i;if(null!==r&&null!==n){const t=e.createSyncPoint(r.syncSourceTarget(),n.syncSourceTarget());0!==s&&(i=r.projectTime(i,s)),o=t.sourceTimeToTargetTime(i)}return e.timeScale().points().roughIndex(o,n&&n.distance.bind(n))}class ui{constructor(e,t,i){this.activePaneWidget=null,this._model=null,this._paneWidgets=[],this._maximizedPaneWidget=null,this._timeAxisWidget=null,this._paneSeparators=[],this._controlBarNavigation=null,this._lineToolsSynchronizer=null,this._modelCreated=new(K()),this._isDestroyed=!1,this._customLegendWidgetsFactoryMap=new Map,this._backgroundTopTheme=new($e())("light"),this._backgroundBasedTheme=new($e())("light"),this._backgroundBottomTheme=new($e())("light"),this._lhsAxesWidth=0,this._rhsAxesWidth=0,this._lhsPriceAxisWidthChanged=new(K()),this._rhsPriceAxisWidthChanged=new(K()),this._mainDiv=null,this._parent=null,this._elTooltipDiv=null,this._hotkeysListener=null,this._mouseWheelHelper=null,this._onWheelBound=null,this._justActivated=!1,this._inited=!1,this._containsData=!1,this._initialLoading=!1,this._defTimeframe=void 0,this._removeMaximizeHotkey=null,this._metaInfoRepository=null,this._invalidationMask=null,this._drawPlanned=!1,this._drawRafId=0,this._inLoadingState=!1,this._timingsMeter=null,this._tagsChanged=new(K()),this._redraw=new(K()),this._isVisible=new($e())(!0), -this._collapsed=new($e())(!1),this._dataWindowWidget=null,this._mainSeriesErrorMessage=null,this._resizeHandler=null,this._spinner=null,this._keydownEventListener=null,this._properties=null,this._updateThemedColorBound=this._updateThemedColor.bind(this),this._saveChartService=null,this._objectTreeDialogController=null,this._chartPaintedPromise=null,this._noExchangeSubscrptionWarning=null,this._paneWidgetsSharedState=new qt,this._brokerName="",this._onZoom=new(K()),this._onScroll=new(K()),this._availableScreen=null,this._hoveredPriceAxes=new Set,this._anyAxisHovered=new($e())(!1),this._invalidationHandler=e=>{if(!(e instanceof b.InvalidationMask))throw new Error("Invalid mask");null!==this._invalidationMask?this._invalidationMask.merge(e):this._invalidationMask=e,this._drawPlanned||(this._drawPlanned=!0,this._options.visible.when(()=>{const e=!document.hidden,t=this.screen&&this.screen.isShown();null!==this._timingsMeter&&e&&!t&&this._timingsMeter.startWaitingDraw();const i=(0,s.ensureNotNull)((0,s.ensureNotNull)(this._parent).ownerDocument.defaultView);this._drawRafId=i.requestAnimationFrame(this._invalidationRAFCallback.bind(this))}))},this._id=t,this._layoutId=i,this._options=(0,_.merge)((0,_.clone)(hi),e),this._options.customLegendWidgetFactories&&(this._customLegendWidgetsFactoryMap=this._options.customLegendWidgetFactories),this._subscribeToDrawingState(),this._chartWidgetCollection=this._options.chartWidgetCollection,this.withModel(this,()=>{const e=this.model().model();e.backgroundTopColor().subscribe(this._updateThemedColorBound),e.backgroundColor().subscribe(this._updateThemedColorBound)}),this._subscribeToMainSeriesErrors(),this._scrollHelper=new Ut(this),this._objectTreeDialogController=p.getInstance(),this._showChartEvents=Boolean(!this._options.containsData&&this._options.chartEventsEnabled),this._properties=new y.DefaultProperty("chartproperties",void 0,void 0,this._options.useUserChartPreferences),this._properties.addExclusion("scalesProperties.axisHighlightColor"),this._properties.addExclusion("scalesProperties.axisLineToolLabelBackgroundColorActive"),this._properties.addExclusion("scalesProperties.axisLineToolLabelBackgroundColorCommon"),this._properties.addExclusion("scalesProperties.showPriceScaleCrosshairLabel"),this._properties.addExclusion("scalesProperties.showTimeScaleCrosshairLabel")}destroy(){var e,t,i;null===(e=this._lineToolsSynchronizer)||void 0===e||e.destroy(),null===(t=this._noExchangeSubscrptionWarning)||void 0===t||t.destroy(),window.loginStateChange.unsubscribe(this,this._handleLoginStateChanged),null!==this._model&&(this._model.model().backgroundTopColor().unsubscribe(this._updateThemedColorBound),this._model.model().backgroundColor().unsubscribe(this._updateThemedColorBound),this._model.destroy()),this._customLegendWidgetsFactoryMap.clear(),this._scrollHelper.destroy(),null===(i=this._mainSeriesErrorMessage)||void 0===i||i.destroy(),this._isDestroyed=!0}lineToolsSynchronizer(){return this._lineToolsSynchronizer}model(){return(0,s.ensureNotNull)(this._model)}id(){return this._id} -layoutId(){return this._layoutId}crossHairSyncEnabled(){return this._chartWidgetCollection.lock.crosshair.value()}isVisible(){return this._isVisible.value()}setVisible(e){this._isVisible.setValue(e)}setCollapsed(e){this._collapsed.setValue(e)}isJustClonedChart(){return!!(this._options||{}).justCloned}setSymbol(e){this._model?this._model.setSymbol(this._model.mainSeries(),e):this.properties().childs().mainSeriesProperties.merge({symbol:e})}setResolution(e){this._model?this._model.setResolution(this._model.mainSeries(),e):this.properties().childs().mainSeriesProperties.merge({interval:e})}async showGeneralChartProperties(e){if(!Pe.enabled("show_chart_property_page"))return Promise.resolve(null);const t=await this._showChartProperties(this.model().mainSeries(),e,{doNotCloseOnBgClick:!0,onResetToDefault:async()=>{this.model().restorePreferences();const e=await Promise.resolve().then(i.bind(i,6087)),t=e.getCurrentTheme().name;e.loadTheme(this.chartWidgetCollection(),{themeName:t,standardTheme:!0})}});if(null===t)return null;const s=()=>{t.hide(),this._chartWidgetCollection.activeChartWidget.unsubscribe(s)};return this._chartWidgetCollection.activeChartWidget.subscribe(s),t}async showChartPropertiesForSources(e){if(!(0,Pe.enabled)("property_pages"))return Promise.resolve(null);const{sources:t,title:n,tabName:o,renamable:a}=e,l=(0,s.ensureNotNull)(this._model),c=Ft(t.map(e=>e.properties().childs())),h=Ft(t.map(e=>e.properties().childs().intervalsVisibilities)),[{createPropertyPage:d},{getSelectionStylePropertiesDefinitions:u},{getSelectionIntervalsVisibilitiesPropertiesDefinition:p}]=await Promise.all([Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80331)),Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,23206)),Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80975))]),_=[];return _.push(d(u(c,l),"Style",(0,r.t)("Style"))),_.push(d(p(h,l),"Visibility",(0,r.t)("Visibility"))),async function(e){const{SourcesPropertiesEditorRenderer:t}=await Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(3466),i.e(7836),i.e(8463),i.e(9289),i.e(3921),i.e(5774),i.e(7427),i.e(6909),i.e(7345),i.e(2153),i.e(6416),i.e(7176),i.e(2385),i.e(7552),i.e(2316),i.e(8268),i.e(9055),i.e(2205),i.e(2358),i.e(7635),i.e(8090),i.e(9837),i.e(3199),i.e(5827),i.e(2301),i.e(6085),i.e(4891),i.e(8883),i.e(6780)]).then(i.bind(i,66512)),s=new t(e);return null!==Yt&&(Yt.hide(),Yt=s),s.show(),s}({sources:t,propertyPages:_,undoModel:l,title:n,activeTabId:o,renamable:a})}getPriceAxisWidthChangedByName(e){return"left"===e?this._lhsPriceAxisWidthChanged:this._rhsPriceAxisWidthChanged}getPriceAxisMaxWidthByName(e){return"left"===e?this._lhsAxesWidth:this._rhsAxesWidth}timeAxisHeight(){return null!==this._timeAxisWidget?this._timeAxisWidget.size.h:0}withModel(e,t){null!==this._model?t.call(e):this.modelCreated().subscribe(e,t,!0)}hasModel(){return null!==this._model}copyLineToOtherCharts(){const e=(0,s.ensureNotNull)(this._model),t=e.selection().lineDataSources().filter(e=>e.isSynchronizable()) -;e.copyToOtherCharts(t)}hideDataSources(e){if(e.length){const t=e.map(e=>e.properties().visible),i=e.map(()=>!1);this.model().setProperties(t,i,ci.format({title:new T.TranslatedString(e[0].name(),e[0].title())}))}}hideSelectedObject(){this.hideDataSources(this.model().selection().dataSources().filter(e=>!0))}unlinkSelectedLine(){const e=(0,s.ensureNotNull)(this._model),t=e.selection().lineDataSources();e.unlinkLines(t)}onScroll(){return this._onScroll}onZoom(){return this._onZoom}images(e){window.TradingView.printing=!0;const t=this.model().selection().allSources();this.model().selectionMacro(e=>e.clearSelection()),this.model().model().recalculateAllPanes((0,ht.globalChangeEvent)());const i=(t,i)=>{t.paint(i,this.onWidget());const s={showCollapsedStudies:Boolean(null==e?void 0:e.showCollapsedStudies),status:null==e?void 0:e.status};return t.getScreenshotData(s)},s=[];if(null!==this._maximizedPaneWidget){const e=this._paneWidgets.indexOf(this._maximizedPaneWidget);s.push(i(this._maximizedPaneWidget,b.InvalidationMask.light().invalidateForPane(e)))}else for(let e=0;e{t.forEach(t=>{e.addSourceToSelection(t)})}),this.model().model().recalculateAllPanes((0,ht.globalChangeEvent)()),this.model().model().lightUpdate();const n=this.mainSeriesQuotesAndMetainfo();return{panes:s,timeAxis:r,colors:{text:this.properties().childs().scalesProperties.childs().textColor.value(),bg:this.properties().childs().paneProperties.childs().background.value(),scales:this.properties().childs().scalesProperties.childs().lineColor.value()},meta:n.meta,ohlc:n.ohlc,quotes:n.quotes}}setSaveChartService(e){this._saveChartService=e,null!==this._lineToolsSynchronizer&&this._lineToolsSynchronizer.setSaveChartService(e)}getSaveChartService(){return this._saveChartService}mainSeriesQuotesAndMetainfo(){let e,t,i;const s=this._model&&this._model.mainSeries();if(s){const r=e=>null==e?"":s.formatter().format(e,void 0,void 0,!0,!1)+"",n=e=>null==e?"":e+"";e={resolution:s.interval(),symbol:s.symbol(),values:s.valuesProvider().getValues(null)};const o=s.symbolInfo();o&&(e.symbol=o.full_name,e.description=o.description,e.exchange=o.exchange);const a=s.bars().last();null!==a&&(t=a.value.slice(1,5).map(r));const l=s.quotes();l&&(i={change:r(l.change),changePercent:n(l.change_percent),last:r(l.last_price)})}return{meta:e,ohlc:t,quotes:i}}updateCrossHairPositionIfNeeded(){if(this._model){const e=k.tool.value();this._model.model().setCurrentTool(e);const t=(0,x.lastMouseOrTouchEventInfo)();if(t.isTouch){const e=this._maximizedPaneWidget||this._paneWidgets[0];if(e.hasState()&&(!t.stylus&&(this._isLineToolModeExceptBrush()||(0,k.toolIsMeasure)(k.tool.value()))||this.selectPointMode().value())){ -const t=e.state(),i=.5*this._model.model().timeScale().width(),s=.5*t.defaultPriceScale().height();this._model.model().setAndSaveCurrentPosition(i,s,t)}}if(this._model&&t.isTouch){const e=this._model.model().crossHairSource();e.updateAllViews((0,ht.dataSourceChangeEvent)(e.id()))}}}trackingModePaneWidget(){if(!(0,x.lastMouseOrTouchEventInfo)().isTouch)return null;for(const e of this.paneWidgets())if(e.trackingModeEnabled())return e;return null}startTrackingMode(){if((0,x.lastMouseOrTouchEventInfo)().isTouch){this.exitTrackingMode(),this.updateCrossHairPositionIfNeeded();const e=this._maximizedPaneWidget||this._paneWidgets[0],t=this.model().model().crossHairSource().currentPoint();e.startTrackingMode(t,t)}}exitTrackingMode(){(0,x.lastMouseOrTouchEventInfo)().isTouch&&this.paneWidgets().some(e=>e.trackingModeEnabled())&&(this.paneWidgets().forEach(e=>e.exitTrackingMode()),this.model().model().clearCurrentPosition())}onToolChanged(){this.selectPointMode().value()&&this.cancelRequestSelectPoint(),this.exitTrackingMode()}setInLoadingState(e){this._inLoadingState=e}paint(e){const t=null!=e?e:b.InvalidationMask.full();t.validationActions().forEach(e=>e()),this._paneWidgets.forEach((e,i)=>{null!==this._maximizedPaneWidget&&this._maximizedPaneWidget!==e||e.paint(t.invalidateForPane(i),!1)}),this._timeAxisWidget&&this._timeAxisWidget.paint(t.invalidateForTimeScale()),this._redraw.fire()}GUIResetScales(){(0,se.trackEvent)("GUI","Reset Scales"),null!==this._model&&this._model.resetScales()}toggleMaximizePane(e){var t;if(!(this._paneWidgets.length<2)){this._maximizedPaneWidget?(this._maximizedPaneWidget.state().maximized().setValue(!1),this._maximizedPaneWidget=null,this._paneSeparators.forEach(e=>e.show())):(this._maximizedPaneWidget=e,this._maximizedPaneWidget.state().maximized().setValue(!0),this._paneSeparators.forEach(e=>e.hide()));for(let e=this._paneWidgets.length;e--;)this._paneWidgets[e].updateControls(),this._paneWidgets[e].updatePriceAxisWidgets(),this._paneWidgets[e].setErrorMessage(this._mainSeriesErrorMessage?this._mainSeriesErrorMessage.value():null);null===(t=this._timeAxisWidget)||void 0===t||t.updatePriceAxisStubs(),this._adjustSize(),this.updateCrossHairPositionIfNeeded()}}maximizedPaneWidget(){return this._maximizedPaneWidget}isMaximizedPane(){return null!==this._maximizedPaneWidget}toggleCollapsedPane(e){const t=e.state();t.collapsed().setValue(!t.collapsed().value()),this._paneWidgets.forEach(e=>e.updateControls()),this._adjustSize(),this.updateCrossHairPositionIfNeeded()}unsetActivePaneWidget(){this.activePaneWidget=null}setActivePaneWidget(e){this.activePaneWidget=e}onPaneWidgetDestroyed(e){this.activePaneWidget===e&&(this.activePaneWidget=null)}backgroundTopTheme(){return this._backgroundTopTheme.readonly()}backgroundBasedTheme(){return this._backgroundBasedTheme.readonly()}backgroundBottomTheme(){return this._backgroundBottomTheme.readonly()}lineToolsAndGroupsDTO(){return(0,s.ensureNotNull)(this._lineToolsSynchronizer).prepareDTO()}resetLineToolsInvalidated(e,t,i){(0, -s.ensureNotNull)(this._lineToolsSynchronizer).resetInvalidated(e,t,i)}applyLineToolUpdateNotification(e,t){(0,s.ensureNotNull)(this._lineToolsSynchronizer).applyLineToolUpdateNotification(e,t)}reloadAllLineTools(){(0,s.ensureNotNull)(this._lineToolsSynchronizer).reloadAllLineTools()}startApplyingLineToolUpdateNotification(){var e;null===(e=this._lineToolsSynchronizer)||void 0===e||e.startApplyingLineToolUpdateNotification()}endApplyingLineToolUpdateNotification(){var e;null===(e=this._lineToolsSynchronizer)||void 0===e||e.endApplyingLineToolUpdateNotification()}applyAlertIdByExternalSource(e,t){var i;null===(i=this._lineToolsSynchronizer)||void 0===i||i.applyAlertIdByExternalSource(e,t)}deleteAlertByExternalSource(e,t){var i;null===(i=this._lineToolsSynchronizer)||void 0===i||i.deleteAlertByExternalSource(e)}shouldBeSavedEvenIfHidden(){return this.model().model().shouldBeSavedEvenIfHidden()}showObjectsTreeDialog(){var e;null===(e=this._objectTreeDialogController)||void 0===e||e.show()}addCustomWidgetToLegend(e,t){this._customLegendWidgetsFactoryMap.set(e,t);for(const i of this.paneWidgets())i.addCustomWidgetToLegend(e,t)}applyIndicatorsToAllChartsAvailable(){if(!this.chartWidgetCollection().applyIndicatorsToAllChartsAvailable())return!1;for(const e of this.model().model().panes()){if(e.sourcesByGroup().all().some(e=>(0,v.isStudy)(e)&&!0))return!0}return!1}restoreState(e,t,i){this._adjustSize();(0,s.ensureNotNull)(this._model).restoreState(this._content,t,i);this._setActions()}addCompareAsOverlay(e,t){const i=this.model();return(0,s.ensureDefined)(this._options.isSymbolAvailable)(e).then(s=>{if(!s)return null;const r=i.createStudyInserter({type:"java",studyId:"Overlay@tv-basicstudies"});return r.setForceOverlay(!0),r.setPreferredPriceScale("as-series"),r.setTargetPriceScaleMode({percentage:!0}),void 0!==t&&r.setPropertiesState({allowExtendTimeScale:t}),r.insert(async()=>({inputs:{symbol:e}}))})}scrollHelper(){return this._scrollHelper}setBroker(e){var t;this._brokerName=e,null===(t=this._lineToolsSynchronizer)||void 0===t||t.setBroker(e)}chartPainted(){return this._drawPlanned?(null===this._chartPaintedPromise&&(this._chartPaintedPromise=(0,c.createDeferredPromise)()),this._chartPaintedPromise.promise):Promise.resolve()}setDataWindowWidget(e){this._dataWindowWidget=e}removeDataWindowWidget(){this._dataWindowWidget=null}showSelectedSourcesProperties(e){const t=(0,s.ensureNotNull)(this._model).selection().dataSources();if(1===t.length)this.showSourceProperties(t[0],e);else{const i=t.filter(f.isLineTool);i.length>0&&this.showChartPropertiesForSources({sources:i,tabName:e})}}update(){if(this.hasModel()){for(const e of this._paneWidgets)e.update();this._timeAxisWidget&&this._timeAxisWidget.update()}}setPriceAxisHovered(e,t){t?this._hoveredPriceAxes.add(e):this._hoveredPriceAxes.delete(e),this._anyAxisHovered.setValue(this._hoveredPriceAxes.size>0)}anyPriceAxisHovered(){return this._anyAxisHovered.readonly()}async _showChartProperties(e,t,i,s){if(!this._model)return null;t&&((0, -a.setValue)("properties_dialog.active_tab.chart",t),i.tabName=t);const r=await Qt(e,this._model,i,this._options.chartWidgetCollection,s);return(null==r?void 0:r.visible().value())?r:null}_createLineToolsSynchronizerIfNeeded(){0}_updateThemedColor(){const e=this.model().model(),t=e.backgroundColorAtYPercentFromTop(.5);let i=e.backgroundTopColor().value(),s=e.backgroundColor().value();const r=(0,ne.isColorDark)(t),n=(0,ne.isColorDark)(i),o=(0,ne.isColorDark)(s);this.widget().classList.toggle("chart-widget--themed-dark",r),this.widget().classList.toggle("chart-widget--themed-light",!r),this.widget().classList.toggle("chart-widget__top--themed-dark",n),this.widget().classList.toggle("chart-widget__top--themed-light",!n),this.widget().classList.toggle("chart-widget__bottom--themed-dark",o),this.widget().classList.toggle("chart-widget__bottom--themed-light",!o),this._backgroundTopTheme.setValue(n?"dark":"light"),this._backgroundBasedTheme.setValue(r?"dark":"light"),this._backgroundBottomTheme.setValue(o?"dark":"light"),i===s&&(0,F.isStdThemedDefaultValue)("chartProperties.paneProperties.background",i,this._backgroundBasedTheme.value())&&(i=null,s=null);for(const e of this._paneWidgets)e.updateThemedColors({topColor:i,bottomColor:s})}_isLineToolModeExceptBrush(){const e=k.tool.value();return(0,f.isLineToolName)(e)&&!(0,f.isLineDrawnWithPressedButton)(e)&&!this.selectPointMode().value()}_cancelCreatingLine(){const e=(0,s.ensureNotNull)(this._model).model(),t=e.lineBeingCreated();if(null!==t){const i=(0,s.ensureNotNull)(e.paneForSource(t));(0,s.ensureNotNull)(this.paneByState(i)).cancelCreatingLineTool()}const i=e.crossHairSource().measurePane().value();if(null!==i){(0,s.ensureNotNull)(this.paneByState(i)).cancelMeasuring()}}_adjustSize(e){var t;let i=0;const s=null===this._model?null:this._model.model().priceScaleSlotsCount(),r=new Uint32Array(null===s?0:s.left),n=new Uint32Array(null===s?0:s.right),o=(0,N.getCanvasDevicePixelRatio)(document.body),a=(e,t)=>e+t,l=(e,t)=>{t.forEach((t,i)=>{e[i]=Math.max(e[i],t)})},c=this._width(),d=this._height(),u=this._paneSeparators.length,p=this.isMaximizedPane()?0:kt.height()*u,_=null!==this._timeAxisWidget?this._timeAxisWidget.optimalHeight():0;let m=d-_>=61?_:0;m%2&&(m+=1);const g=Math.max(1,Math.floor((d-p-m)/this._paneWidgets.length));let f=0,v=null;for(const e of this._paneWidgets)if(!this._maximizedPaneWidget||this._maximizedPaneWidget===e){e.leftPriceAxisesContainer().updateCurrencyLabels();const t=e.leftPriceAxisesContainer().optimalWidths();e.rightPriceAxisesContainer().updateCurrencyLabels();const s=e.rightPriceAxisesContainer().optimalWidths();l(r,t),l(n,s),this._maximizedPaneWidget!==e&&e.state().collapsed().value()?f+=Math.min(g,e.collapsedHeight()):(i+=e.stretchFactor(),v=e)}let S=r.reduce(a,0),y=n.reduce(a,0),b=Math.max(c-S-y,0);if(b<=102){S=0,y=0,b=c;for(let e=0;e0){const e=new kt(this,s-1,s);this._paneSeparators.push(e),this._timeAxisWidget?this._elMainTable.insertBefore(e.getElement(),this._timeAxisWidget.getElement()):this._elMainTable.appendChild(e.getElement())}this._timeAxisWidget?this._elMainTable.insertBefore(i.getElement(),this._timeAxisWidget.getElement()):this._elMainTable.appendChild(i.getElement())}for(let i=0;ib.InvalidationLevel.Cursor&&(null===(t=this._timeAxisWidget)||void 0===t||t.update()),this.paint(e),this._dataWindowWidget){const t=e.maxPaneInvalidation();t===b.InvalidationLevel.Full?this._dataWindowWidget.fullUpdate():t>b.InvalidationLevel.None&&this._dataWindowWidget.update()}for(let t=0;t{i.appendChild(r),r.addEventListener("mousedown",this._beginRequestActive.bind(this)),r.addEventListener("mouseup",this._endRequestActive.bind(this)),r.addEventListener("touchstart",this._beginRequestActive.bind(this)),r.addEventListener("touchmove",this._endRequestActive.bind(this)),r.addEventListener("touchend",this._endRequestActive.bind(this)),r.addEventListener("click",this._requestActive.bind(this))}),this._inited&&(null!==this._timeAxisWidget&&(this._timeAxisWidget.destroy(),this._timeAxisWidget=null),this._paneWidgets.forEach(e=>{e.destroy()}),this._paneWidgets.length=0,this._paneSeparators.forEach(e=>{e.destroy()}),this._paneSeparators.length=0,this._update(b.InvalidationMask.full()))}_init(){this.hasModel()&&this.model().mainSeries().clearData(),this._initColors(),this._makeDefaultGui();this._makeDefaultModel(),(()=>{this._checkObsoleteTimezone(),this._chartSession&&this._chartSession.connected()&&this.model().model().restart(),this._content&&(this._initColors(),this._updateGui(),this.update()),this._resizeHandler=()=>{this._invalidationHandler(b.InvalidationMask.full())},this._resizeHandler(),(0,s.ensureNotNull)(this._parent).appendChild((0,s.ensureNotNull)(this._mainDiv)),this._spinner&&(this._spinner.stop(),this._spinner=null),this._keydownEventListener=e=>{27===e.which&&e.preventDefault()},window.addEventListener("keydown:chart_"+this._id,this._keydownEventListener),this._initBarsMarksSources(),this._activateSymbolSearchHotkeys(),this.model().timeScale().onScroll().subscribe(this,()=>this._onScroll.fire()),this._inited=!0})()}_makeDefaultModel(){let e;if(this._content&&this._content.timeScale.points){const t=this._content.timeScale.points.items[0];e={startDate:t}}if(!(0,s.ensureNotNull)(this._metaInfoRepository).getInternalMetaInfoArray())throw new Error("Cannot create chart model: studies metainfo is absent");const t=()=>{var t,i;const r={readOnly:this.readOnly(),isSnapshot:!!this._containsData,...o(this._options,["timeScale","crossHair","esdEnabled","countdownEnabled","lastPriceAnimationEnabled","currencyConversionEnabled","unitConversionEnabled","watermarkEnabled","shiftVisibleRangeOnNewBar","hideIdeas","onWidget"])};let n;n=this._collapsed;const a=function(e,t,i,s,r,n,o,a,l,c,h){const d=new g.ChartUndoModel(e,t,i,s,r,n,o,a,l,c,h);return d.model().fullUpdate(),d -}(this._chartSession,this._invalidationHandler,this.properties(),e,(0,s.ensureNotNull)(this._metaInfoRepository),this,this._options.undoHistory,this._options.barsMarksContainersFactory,r,n,null!==(i=null===(t=this._saveChartService)||void 0===t?void 0:t.autoSaveEnabled())&&void 0!==i?i:new($e())(!0));return this._createSessions(a.model()),a};(0,Pe.enabled)("lean_chart_load")?this._model=this._model||t():this._model=t(),this._model.model().setChartSaveTime(1e3*this._chartWidgetCollection.metaInfo.lastModified.value()),this._createVolumeIfNeeded();if(this._content){let e={};ai&&this._initialLoading&&(e={symbol:this._defSymbol,interval:this._defInterval,style:this._defStyle}),this.restoreState(this._content,this._containsData,e),ai&&this._defSymbol&&this.model().model().recalculatePriceRangeOnce()}else this._setActions();this._createLineToolsSynchronizerIfNeeded(),(()=>{const e=(0,s.ensureNotNull)(this._model);e.onTagsChanged().subscribe(this,()=>this.onModelTagsChanged()),this._initBackgroundColor(),this._updateGui(),this._modelCreated.fire(e),this._tagsChanged.fire();const t=e.mainSeries(),i=t.properties().childs();this._defTimeframe&&t.setDefaultTimeframe(this._defTimeframe),e.lineCancelled().subscribe(this,()=>this.onLineCancelled()),t.dataEvents().symbolNotPermitted().subscribe(null,e=>t.setSymbolParams({symbol:e})),i.style.unsubscribe(this,this._onChartStyleChanged),i.style.subscribe(this,this._onChartStyleChanged),t.dataEvents().completed().subscribe(this,()=>this._addPerfMark("SeriesCompleted"),!0),t.dataEvents().barReceived().subscribe(this,()=>this._addPerfMark("SeriesFirstDataReceived"),!0);this._options;t.dataEvents().chartTypeNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:"D"})}),t.dataEvents().intradaySpreadNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:"D"})}),t.dataEvents().customIntervalNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:(0,Gt.getDefaultResolution)((0,jt.isRangeStyle)(i.style.value()))})}),t.dataEvents().intradayExchangeNotPermitted().subscribe(null,()=>{t.setSymbolParams({interval:"D"})}),t.requestingResolutionWhenNotSupported.subscribe(null,e=>t.setInterval(e)),t.requestingStyleIsNotSupported.subscribe(null,()=>{const i=t.interval(),s=e.model().defaultResolutions(),r=(0,jt.getLastUsedSingleValueBasedStyle)(),n=(0,Gt.getResolutionByChartStyle)(r,i,s);t.setChartStyleWithIntervalIfNeeded(r,n)}),t.requestingStyleSupportRecovered.subscribe(null,i=>{const s=t.interval(),r=e.model().defaultResolutions(),n=(0,Gt.getResolutionByChartStyle)(i,s,r);t.setChartStyleWithIntervalIfNeeded(i,n)})})()}_initBarsMarksSources(){this.withModel(this,()=>{for(const e of this.model().barsMarksSources())e.onNeedRepaint.subscribe(this,()=>this.model().model().lightUpdate())})}_handleLoginStateChanged(){0}_checkObsoleteTimezone(){const e=this.properties().childs().timezone.value();(0,ei.timezoneIsAvailable)(e)||this.properties().childs().timezone.setValue({UTC:"Etc/UTC",EST:"America/New_York",CST:"America/Chicago",PST:"America/Los_Angeles"}[e]||"exchange")} -_initColors(){const e=this.properties().childs(),t=e.scalesProperties.childs();t.lineColor.listeners().subscribe(this,this._updateAndPaint),t.textColor.listeners().subscribe(this,this._updateAndPaint),e.paneProperties.childs().separatorColor.listeners().subscribe(this,this._setPaneSeparatorLineColor)}_setPaneSeparatorLineColor(){this._paneSeparators.forEach(e=>e.update()),this._updateAndPaint()}_updateAndPaint(){this.update(),this.paint()}_makeDefaultGui(){this._makeLoadingScreen(),this.hasModel()&&(this._makeTimeAxisWidget(),this._makePaneWidgetsAndSeparators()),this._adjustSize(),this._updateScalesActions(),(0,N.disableSelection)(this._elMainTable),this.update(),this.paint()}_makeLoadingScreen(){if(Pe.enabled("lean_chart_load")){if(this.screen)return;this.screen=new ri(this,(0,s.ensureNotNull)(this._parent))}else this.screen=new ri(this,(0,s.ensureNotNull)(this._mainDiv))}_makeAvailableOnTVPopup(){throw new Error("Not implemented")}_createChartEventsSource(){throw new Error("Not implemented")}_activateSymbolSearchHotkeys(){this.readOnly()||this._options.hideSymbolSearch||(0,ti.activateKeyPressHandler)()}_makeTimeAxisWidget(){if(this._timeAxisWidget)return void this._timeAxisWidget.updatePriceAxisStubs();const e=this.model();this._timeAxisWidget=new Rt(this,this._options.timeScaleWidget,this._titlesProvider.bind(this),this._menuItemsProvider.bind(this),this._backgroundBasedTheme),this._elMainTable.appendChild(this._timeAxisWidget.getElement()),this._timeAxisWidget.updatePriceAxisStubs(),this._timeAxisWidget.onLabelHovered().subscribe(this,(t,i)=>{const r=this._maximizedPaneWidget?this._maximizedPaneWidget.state():e.paneForSource(e.mainSeries()),n=(0,s.ensureNotNull)(this.paneByState((0,s.ensureNotNull)(r))).highlightedPriceAxis(),o=n.value();(i||o.owner===t.owner)&&(n.setValue({owner:t.owner,axis:i?t.axis:null}),this.model().model().lightUpdate())})}_titlesProvider(e,t){const i=this.model(),r=(0,s.ensureNotNull)(this._maximizedPaneWidget?this._maximizedPaneWidget.state():i.paneForSource(i.mainSeries())),n="right"===e?r.rightPriceScales():r.leftPriceScales();if(n.lengthe===i.mainSeries()||(0,v.isStudy)(e));return o.reverse(),o=(0,ni.moveToHead)(o,i.mainSeries()),o.map(e=>e.title(!0,void 0,!1))}_menuItemsProvider(e,t){const i=this.model(),r=(0,s.ensureNotNull)(this._maximizedPaneWidget?this._maximizedPaneWidget.state():i.paneForSource(i.mainSeries())),n="right"===e?r.visibleRightPriceScales():r.visibleLeftPriceScales();if(n.length{const e=this.model().model().mainSeries();let t;t=new($e())(null).readonly(),this._mainSeriesErrorMessage=(0,m.combine)((e,t,i)=>{switch(t){case 4:{const e=this.model().model().mainSeries().seriesErrorMessage();if(!(null!==e&&("resolution_not_entitled"===e||"custom_resolution"===e||"seconds_not_entitled"===e||e.startsWith("study_not_auth:"))))return{message:(0,r.t)("Invalid symbol"),icon:(0,Pe.enabled)("hide_image_invalid_symbol")?void 0:"ghost"};break}case 1:case 2:break;default:if(i)return{message:(0,r.t)("No data here"),icon:"ghost"}}return null},t,(0,S.createWVFromGetterAndSubscription)(()=>e.status(),e.onStatusChanged()),(0,S.createWVFromGetterAndSubscription)(()=>!e.bars().size(),e.dataEvents().dataUpdated()),(0,S.createWVFromGetterAndSubscription)(()=>({}),this.model().model().onChartThemeLoaded())),this._mainSeriesErrorMessage.subscribe(e=>{this._paneWidgets.forEach(t=>t.setErrorMessage(e))},{callWithLast:!0})})}async _createControlBar(){const e=await Promise.all([i.e(5514),i.e(3770),i.e(9255),i.e(5093)]).then(i.bind(i,62101));this._controlBarNavigation=new e.ControlBarNavigation(this,(0,s.ensureNotNull)(this._mainDiv),this._options.controlBar),this._model&&this._adjustSize()}_subscribeToDrawingState(){if(this._options.readOnly)return;(0,k.init)();const e=(e,t)=>{const i=this._model;if(null===i)return;const s=i.model();e.model!==s&&(this._lineToolsSynchronizer?this._lineToolsSynchronizer.executeSyncedAction(()=>t(s,i)):t(s,i))};k.createdLineTool.subscribe(null,t=>{e(t,(e,i)=>{const r=(0,s.ensureNotNull)(e.paneForSource(e.mainSeries()));let n,o=null;if(void 0===t.pointPositionPercents){if(o=di(e,t.model,t.point.timeStamp),null===o)return;n=t.point.price}else{const i=t.pointPositionPercents.x*e.timeScale().width(),s=e.mainSeries().priceScale(),r=t.pointPositionPercents.y*s.height(),a=e.mainSeries().firstValue();if(null===a)return;o=e.timeScale().coordinateToIndex(i),n=s.coordinateToPrice(r,a)}const a={index:(0,s.ensureNotNull)(o),price:n},l=i.createLineTool({pane:r,point:a,linetool:t.linetool,properties:t.properties,linkKey:t.linkKey,ownerSource:e.mainSeries(),disableSynchronization:!0,id:t.id});null!==l&&!Boolean(this.model().lineBeingCreated())&&t.finalState&&l.restoreExternalPoints(t.finalState,{indexesChanged:!0,pricesChanged:!0})})}),k.continuedLineTool.subscribe(null,t=>{e(t,(e,i)=>{var s;const r=di(e,t.model,t.point.timeStamp);if(null===r)return;const n={index:r,price:t.point.price},o=e.lineBeingCreated();if(null===o)return;i.continueExternalLine(n,null!==(s=t.envState)&&void 0!==s?s:void 0,!!t.finalState)&&t.finalState&&o.restoreExternalPoints(t.finalState,{indexesChanged:!0,pricesChanged:!0})})}),k.cancelledLineTool.subscribe(null,t=>{e(t,(e,t)=>{e.cancelCreatingLine()})}),k.beenSetLineToolLastPoint.subscribe(null,t=>{e(t,(e,i)=>{const s=e.lineBeingCreated();if(null===s||s.linkKey().value()!==t.linkKey)return;const r=di(e,t.model,t.point.timeStamp);if(null===r)return;const n={index:r,price:t.point.price};s.setLastPoint(n),s.updateAllViews((0, -ht.dataSourceChangeEvent)(s.id())),e.lightUpdate()})}),k.startedMovingLineTool.subscribe(null,t=>{e(t,(e,i)=>{var s;const r=t.linkKeys.map(f.lineToolByLinkKey.bind(null,e)).filter(_.notNull);if(r.length){const i=di(e,t.model,t.point.timeStamp);if(null===i)return;const n={index:i,price:t.point.price},o=null!==(s=t.activeItem)&&void 0!==s?s:null,a=r[0].pointToScreenPoint(n);a&&e.startMovingSources(r,{logical:n,screen:a},o,t.pointPositionPercents,null===t.envState?void 0:t.envState,!0)}})}),k.movedLineTool.subscribe(null,t=>{e(t,(e,i)=>{var s;const r=e.sourcesBeingMoved().filter(f.isLineTool).filter(e=>(e=>t.linkKeys.some(t=>e.linkKey().value()===t))(e));if(!r.length)return;const n=di(e,t.model,t.point.timeStamp);if(null===n)return;const o={index:n,price:t.point.price},a=r[0].pointToScreenPoint(o);a&&e.moveSources({logical:o,screen:a},t.pointPositionPercents,null!==(s=t.envState)&&void 0!==s?s:void 0,!0)})}),k.finishedMovingLineTool.subscribe(null,t=>{e(t,(e,i)=>{const s=e.sourcesBeingMoved().filter(f.isLineTool);if(0===s.length)return;s.forEach(i=>{const s=(e=>{for(let i=0;i{e(t,(e,i)=>{var s;const r=(0,f.lineToolByLinkKey)(e,t.linkKey);if(null!==r){const i=r.getPoint(t.pointIndex),n=i?i.index:di(e,t.model,t.point.timeStamp);if(null===n)return;if(r.isActualSymbol()&&r.isActualCurrency()&&r.isActualUnit()){const i={index:n,price:t.point.price};e.startChangingLinetool(r,i,t.pointIndex,null!==(s=t.envState)&&void 0!==s?s:void 0,!0)}}})}),k.changedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const r=e.lineBeingEdited();if(null===r||r.linkKey().value()!==t.linkKey)return;let n=null;if(n=t.changes.indexesChanged?di(e,t.model,t.point.timeStamp):(0,s.ensureNotNull)(e.linePointBeingChanged()).index,null!==n&&r.isActualSymbol()&&r.isActualCurrency()&&r.isActualUnit()){const i={index:n,price:t.point.price};e.changeLinePoint(i,void 0,!0)}})}),k.finishedChangingLineTool.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);null!==s&&s.isActualSymbol()&&s.isActualCurrency()&&s.isActualUnit()&&null!==e.lineBeingEdited()&&e.endChangingLinetool(!!t.finalState,!0),null!==s&&t.finalState&&s.restoreExternalPoints(t.finalState,t.changes)})}),k.removedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const{withUndo:s,unlink:r,linkKey:n}=t,o=(0,f.lineToolByLinkKey)(e,n);if(null!==o)r&&o.detachAlert(),s?i.removeSource(o,!1):e.removeSource(o);else if(this._lineToolsSynchronizer){const{sourceTitle:e,symbol:o,lineToolState:a}=t;i.removeUnloadedLineTool({lineToolsSynchronizer:this._lineToolsSynchronizer,state:a,unlink:r,sourceTitle:e,linkKey:n,symbol:o,withUndo:s})}})}),k.finishedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);null!==s&&(0, -et.isLineToolFinishRequiredWhenCreatedByApi)(s.toolname)&&s.finish()})}),k.changedLineStyle.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);null!==s&&(s.restoreExternalState(t.state),s.propertiesChanged(!0),t.alertId&&s.syncAlert(t.alertId))})}),k.restoredLineToolState.subscribe(null,t=>{e(t,(e,i)=>{const s=(0,f.lineToolByLinkKey)(e,t.linkKey);if(null!==s){const i={...t.state};i.indexes=t.state.points.map(i=>({index:di(e,t.model,i.time_t),price:i.price})),e.restoreLineToolState(s,i,!1)}})}),k.restoredLineTool.subscribe(null,t=>{e(t,(e,i)=>{e.restoreSource(t.state.restorePane,t.state.paneIndex,t.state.paneState,t.state.sourceState,null)})}),k.copiedLineTool.subscribe(null,t=>{e(t,(e,i)=>{const r=(0,s.ensureNotNull)(e.paneForSource(e.mainSeries()));let n;const o={...t.state,intervalsVisibilities:(0,oi.mergeIntervalVisibilitiesDefaults)(t.state.intervalsVisibilities)},a=(0,f.createLineToolProperties)(t.linetool,o,e),l=e.dataSourceForId(t.id);if(l){if(!(0,f.isLineTool)(l))return void li.logError(`Error sync creating line tool. Object with id ${t.id} is already in use and it is not a line tool`);if(l.toolname!==t.linetool)return void li.logError(`Error sync creating line tool. Object with id ${t.id} is already in use and its type differs: ${l.toolname} and ${t.linetool}`)}if(l&&(l.linkKey().setValue(t.linkKey),l.share(t.sharingMode)),t.pointPositionPercents){const e={index:0,price:0};if(n=null!=l?l:i.createLineTool({pane:r,point:e,linetool:t.linetool,properties:a,linkKey:t.linkKey,disableSynchronization:!0,id:t.id}),null===n)return;n.restorePositionPercents((0,s.ensureDefined)(t.pointPositionPercents))}else{const o=t.points.map(i=>({index:(0,s.ensureNotNull)(di(e,t.model,i.timeStamp)),price:i.price})),c=o[0];if(n=null!=l?l:i.createLineTool({pane:r,point:c,linetool:t.linetool,properties:a,linkKey:t.linkKey,sharingMode:t.sharingMode,disableSynchronization:!0,id:t.id}),null===n)return;if(e.lineBeingCreated())for(let e=1;e{"use strict";i.r(t),i.d(t,{allInitialModelsCreated:()=>It,allInitialSymbolsResolved:()=>xt,applyIndicatorToAllChartsImpl:()=>je,applyIndicatorsToAllChartsImpl:()=>Ue,applyLineToolUpdateNotificationImpl:()=>Xe,applyThemeImpl:()=>At,chartsSymbolsImpl:()=>Qe,checkProFeatureImpl:()=>Mt,computeContentBoxImpl:()=>at,copyScreenshotToClipboard:()=>rt,createBroadcastChannel:()=>Ct,createChartStorageSubscriptionsIfRequired:()=>et,createClipboardHandler:()=>Ze,destroyBroadcastChannel:()=>Pt,downloadScreenshot:()=>st,generateNewChartId:()=>_t,getAsyncStateForChartImpl:()=>Ke,getClientSnapshot:()=>ot, -getSnapshot:()=>nt,getStateForChartImpl:()=>Ye,getVisuallyAdjacentDefImpl:()=>ut,hideChartImpl:()=>vt,lineToolsAndGroupsDTOsImpl:()=>qe,removeChartWidgetSubscriptionsImpl:()=>St,resetLineToolsInvalidatedImpl:()=>$e,setBrokerImpl:()=>Je,setChartLayoutWithUndoImpl:()=>Lt,setLayoutImpl:()=>yt,syncCrosshairImpl:()=>wt,syncScrollImpl:()=>Tt,takeScreenshot:()=>tt,takeServerScreenshot:()=>it,updateLayoutImpl:()=>dt,updateLayoutPartialImpl:()=>ht});var s=i(88537),r=i(86441),n=i(28353),o=i(24980),a=i(49483);function l(e){const t={};return{promise:new Promise((i,s)=>{e.subscribe(t,i,!0)}),destroy:()=>{e.unsubscribeAll(t)}}}i(54427);var c=i(35762);class h extends c.UndoCommand{constructor(e,t){super(null),this._chartModel=e,this._targetIndex=t}redo(){const e=this._chartModel.createPane(this._targetIndex,void 0,this._paneId);this._paneId=e.id()}undo(){const e=(0,s.ensureDefined)(this._paneId),t=this._chartModel.panes().find(t=>t.id()===e);void 0!==t&&this._chartModel.removePane(t)}createdPaneId(){return this._paneId}}class d extends c.UndoCommand{constructor(e,t,i,s){super(s),this._setter=e,this._oldValue=t,this._newValue=i}redo(){this._setter(this._newValue)}undo(){this._setter(this._oldValue)}}class u extends d{constructor(e,t,i,s){super(e=>this._vwState.setValue(e),t,i,s),this._vwState=e}}var p=i(98125),_=i(80054),m=i(65446);const g=(0,p.getLogger)("Clipboard");class f{constructor(e){this._e=e}write(e){return(0,m.writeImpl)(this._toRaw(e),this._e)}_toRaw(e){const t={files:[]};t.text=e.text,void 0!==e.app?t.html=this._serializeAppData(e.app,e.text):e.html&&(t.html=e.html);for(const i of e.files||[])t.files.push(i);return t}_serializeAppData(e,t){return`${t?(0,_.htmlEscape)(t.slice(0,256)):"📈"}`}}class v{constructor(e){this._e=e}async read(){this._e&&0===this._e.eventPhase&&(g.logWarn("Cannot use an already dispatched ClipboardEvent for reading"),this._e=null);const e=this._e?this._readUsingEvent(this._e):await this._readUsingApi();return this._fromRaw(e)}_readUsingEvent(e){const t=(0,s.ensure)(e.clipboardData);e.preventDefault();const i={files:[]};for(let e=0;e0&&(t.files=e.files),t}_parseAppData(e){if(-1===e.slice(0,1024).indexOf("data-tradingview-clip"))return;const t=(new DOMParser).parseFromString(e,"text/html").querySelector("[data-tradingview-clip]");return t?t.getAttribute("data-tradingview-clip")||"":void 0}_readBlobAsText(e){return new Promise((t,i)=>{const s=new FileReader;s.onloadend=()=>{t(s.result)},s.onerror=()=>{i(s.error)},s.readAsText(e)})}}var S=i(35749);function y(e){const t=e.target;return null!==t&&1===t.nodeType&&(0,S.isTextEditingField)(t)}function b(e){const t=e.target;if(null===t)return!1;const i=(t.ownerDocument||t).getSelection();return null!==i&&!i.isCollapsed}class w extends class{constructor(e){this._callbacks=Object.assign({},e),this._boundOnCopy=this._onCopyEv.bind(this),this._boundOnCut=this._onCutEv.bind(this),this._boundOnPaste=this._onPasteEv.bind(this)}listen(){document.addEventListener("copy",this._boundOnCopy),document.addEventListener("cut",this._boundOnCut),document.addEventListener("paste",this._boundOnPaste)}async peek(){if("granted"!==(await navigator.permissions.query({name:"clipboard-read"})).state)throw new Error("clipboard-read is not granted");return new v(null).read()}uiRequestCopy(e){this._callbacks.copyRequested&&this._callbacks.copyRequested(new f(null),e)}uiRequestCut(e){this._callbacks.cutRequested&&this._callbacks.cutRequested(new f(null),e)}uiRequestPaste(e){this._callbacks.pasteRequested&&this._callbacks.pasteRequested(new v(null),e)}destroy(){document.removeEventListener("copy",this._boundOnCopy),document.removeEventListener("cut",this._boundOnCut),document.removeEventListener("paste",this._boundOnPaste)}_onCopyEv(e){e.defaultPrevented||this._callbacks.copyRequested&&this._callbacks.copyRequested(new f(e))}_onCutEv(e){e.defaultPrevented||this._callbacks.cutRequested&&this._callbacks.cutRequested(new f(e))}_onPasteEv(e){e.defaultPrevented||this._callbacks.pasteRequested&&this._callbacks.pasteRequested(new v(e))}}{_onCopyEv(e){if(!y(e)&&!b(e))return super._onCopyEv(e)}_onCutEv(e){if(!y(e)&&!b(e))return super._onCutEv(e)}_onPasteEv(e){if(!y(e))return super._onPasteEv(e)}}const C=()=>i.e(4389).then(i.bind(i,4897));function P(e,t={}){return C().then(i=>i.copyToClipboardImageOfChart(e,t))}function T(e,t={}){return C().then(i=>i.getImageOfChartSilently(e,t))}var x=i(76422),I=i(84015),M=i(6087),L=i(42060),A=i(24377),E=i(26843),k=i(55257),D=i(93435),V=i(22799),B=i(52640),N=i(38069),R=i(67337),O=i(34954);const F=!R.enabled("widget_logo");function W(e,t=null,i=null){let s={};if("number"==typeof e)return{relativePositions:{[e]:{l:t,t:i}},nextElementLeft:e,nextElementTop:e};const[r,...n]=e;if("v"===r){let e=null;for(const r of n){const n=W(r,t,i);s={...s,...n.relativePositions},i=n.nextElementTop,e=n.nextElementLeft}t=e}if("h"===r){let e=null;for(const r of n){const n=W(r,t,i);s={...s,...n.relativePositions},t=n.nextElementLeft,e=n.nextElementTop}i=e}return{relativePositions:s,nextElementTop:i,nextElementLeft:t}}const H=function(e){const t={};for(const i of Object.keys(e)){const s=W(e[i]).relativePositions -;t[i]=s}return t}(N);function z(e,t,i,s){return(0,D.drawScaled)(e,s,()=>{e.fillText(i,t.x/s,t.y/s)}),e.measureText(i).width*s}function U(e){return e.map(e=>({...e,title:""}))}function j(e,t){const i=[{text:e.trim()}];for(const e of t)e.visible&&(""!==i[i.length-1].text&&i.push({text:" "}),e.title&&i.push({text:e.title}),i.push({text:e.value,color:e.color}));return i}class G{constructor(e,t){this._logoTextColor=null,this._snapshotData=e,t=t||{},this._options={backgroundColor:M.themes[e.theme].getThemedColor("color-bg-primary"),borderColor:M.themes[e.theme].getThemedColor("color-border"),font:V.CHART_FONT_FAMILY,fontSize:12,legendMode:"vertical",hideResolution:!1,showHeaderPublishedBy:!1,showHeaderMainSymbol:!1,...t};const i=H[e.layout],s=e.charts.map(e=>function(e){const t=e.panes[0],i=t.canvas.width+t.leftAxis.canvas.width+t.rightAxis.canvas.width;let s=0;for(const t of e.panes)s+=t.canvas.height;return void 0!==e.timeAxis&&(s+=e.timeAxis.canvas.height),new D.Size(i,s)}(e));if(this._pixelRatio=e.hidpiRatio,this._chartsGeometry=e.charts.map((e,t)=>function e(t,i,s,r){let n=Math.round(10*r),o=Math.round(10*r);const a=s[t];if(null!==a.l){const t=e(a.l,i,s,r);n=t.x+t.width+Math.round(5*r)}if(null!==a.t){const t=e(a.t,i,s,r);o=t.y+t.height+Math.round(5*r)}const l=i[t];return{x:n,y:o,width:l.w,height:l.h}}(t,s,i,this._pixelRatio)),!F){let i=e.theme;void 0!==t.backgroundColor&&(i="black"===(0,A.rgbToBlackWhiteString)((0,A.parseRgb)(t.backgroundColor),150)?E.StdTheme.Dark:E.StdTheme.Light),this._logoTextColor=M.themes[i].getThemedColor("color-text-primary")}this._headerDefaultTextColor=M.themes[e.theme].getThemedColor("color-text-primary")}async getImage(){const e=this._pixelRatio;let t=0,i=0,s=0;const n=this._headerItems();if(n.length>0){s=Math.ceil(1.4*this._options.fontSize*e)*n.length}i+=s;let o=0,a=0;for(const e of this._chartsGeometry)o=Math.max(o,e.x+e.width),a=Math.max(a,e.y+e.height);const l=i;t+=o,i+=a,t+=Math.round(10*e);const c=F?Math.round(10*e):Math.round(35*e),h=i;i+=c;const d=(0,D.createDisconnectedCanvas)(document,new D.Size(t,i),1),u=(0,D.getContext2D)(d);u.font=(0,B.makeFont)(this._options.fontSize,this._options.font),u.textBaseline="top",u.fillStyle=this._options.backgroundColor,u.fillRect(0,0,t,i),n.length>0&&this._drawHeader(u,n,t,new r.Point(Math.round(10*e),Math.round(10*e)));for(let e=0;e{const s=new Image;s.width=e,s.height=t,s.onload=()=>{i({image:s,width:e,height:t})},s.src=n})}(Math.round(20*e),Math.round(15*e),this._logoTextColor);u.fillStyle=this._logoTextColor,u.font=(0,B.makeFont)(13,V.CHART_FONT_FAMILY) -;const i=h+Math.round(c/2-t.height/2);!function(e,t,i,s,r){e.save(),e.drawImage(s.image,t,i,s.width,s.height),e.textBaseline="bottom";const n=(t+s.width)/r+3,o=(i+s.height)/r;(0,D.drawScaled)(e,r,()=>{e.fillText("TradingView",n,o)}),e.restore()}(u,Math.round(10*e),i,t,e)}return d}_drawChart(e,t,i,s){i.save(),i.translate(t.x+s.x,t.y+s.y);let n=0;for(const t of e.panes){let s=0;const o=t.leftAxis.canvas.width+Math.round(8*this._pixelRatio),a=n,l=n+Math.round(10*this._pixelRatio);t.leftAxis.contentWidth>0&&(i.drawImage(t.leftAxis.canvas,s,n),s+=t.leftAxis.canvas.width),i.drawImage(t.canvas,s,n),s+=t.canvas.width,t.rightAxis.contentWidth>0&&i.drawImage(t.rightAxis.canvas,s,n),"pane"===t.type&&(i.fillStyle=e.colors.text,this._drawLegend(t,i,new r.Point(o,l),a)),n+=t.canvas.height}if(void 0!==e.timeAxis){let t=0;e.timeAxis.lhsStub.contentWidth>0&&(i.drawImage(e.timeAxis.lhsStub.canvas,t,n),t+=e.timeAxis.lhsStub.canvas.width),i.drawImage(e.timeAxis.canvas,t,n),t+=e.timeAxis.canvas.width,e.timeAxis.rhsStub.contentWidth>0&&i.drawImage(e.timeAxis.rhsStub.canvas,t,n)}i.strokeStyle=this._options.borderColor,i.strokeRect(0,0,t.width,t.height),i.restore()}_headerItems(){var e,t,i,s;const r=[];if(this._options.showHeaderPublishedBy&&this._snapshotData.publishedBy)for(const e of this._snapshotData.publishedBy)r.push([{text:e}]);if(this._options.showHeaderMainSymbol){const n=this._snapshotData.charts[0],o=`${null===(e=n.meta)||void 0===e?void 0:e.symbol}, ${null===(t=n.meta)||void 0===t?void 0:t.resolution}`;r.push(j(o,null!==(s=null===(i=n.meta)||void 0===i?void 0:i.values)&&void 0!==s?s:[]))}return r}_drawHeader(e,t,i,s){e.save(),e.fillStyle=this._headerDefaultTextColor;const n=Math.ceil(1.4*this._options.fontSize*this._pixelRatio);t.forEach((t,o)=>{this._drawLegendLine(e,new r.Point(s.x,s.y+n*o),i,t,!0)}),e.restore()}_drawLegend(e,t,i,s){let n=!0;const o=Math.ceil(1.4*this._options.fontSize*this._pixelRatio);let a=i.x,l=i.y;if(e.mainSeriesText&&l+oe.text).join("");let a=t.x;const l=function(e,t,i,s){if(e.measureText(t).width*s<=i)return{text:t,elided:!1};const r=e.measureText("...").width*s,n=[];for(let e=0;ee.measureText(t.slice(0,o+1)).width*s+r>i);return{text:(t=t.slice(0,o)).trim(),elided:!0}}(e,o,i-a,this._pixelRatio);if(l.elided&&!n)return null;const c=[];let h=0;for(const e of s){if(h+e.text.length>l.text.length)break;c.push(e.text), -h+=e.text.length}const d=c.join("").trim().length;h=0;for(const i of s){if(h+i.text.length>d)break;i.color&&(e.save(),e.fillStyle=i.color),a+=z(e,new r.Point(a,t.y),i.text,this._pixelRatio),i.color&&e.restore(),h+=i.text.length}return l.elided&&(a+=z(e,new r.Point(a,t.y),"...",this._pixelRatio)),a}}var q=i(9423),Y=i(4676),K=i(85733),$=i(45112),X=i(80643),Z=i(94804),J=i(76818),Q=i(44349),ee=i(34026),te=i(29892),ie=i(43891),se=i(42759),re=i(49094);class ne{constructor(e,t,i){this._data=e,this._hittest=t,this._textWidthCache=i}draw(e,t){const i=t.pixelRatio,s=this._data.centerPoint,n=Math.round(s.x*i),o=Math.round(s.y*i),a=Math.max(1,Math.floor(i))%2/2,l=new r.Point(n+a,o-a);this._drawLollipop(e,l,t),this._drawLabel(e,l,t.pixelRatio),this._drawImage(e,l,t.pixelRatio)}hitTest(e,t){const i=(0,re.interactionTolerance)().esd,s=this._data.centerPoint.y-this._data.style.lollipop.height/2-i,n=this._data.centerPoint.x-this._data.style.lollipop.width/2-i,o=(0,r.box)(new r.Point(n,s),new r.Point(n+this._data.style.lollipop.width+2*i,s+this._data.style.lollipop.height+2*i));return(0,ee.pointInBox)(e,o)?this._hittest:null}_drawLollipop(e,t,i){const s=this._data.style,r=i.pixelRatio,n=Math.max(1,Math.floor(r));let o=Math.round(s.lollipop.width*r);o%2!=n%2&&(o+=1);const a=o/2;s.lollipop.fillCircle&&s.lollipop.backgroundColor&&(e.fillStyle=s.lollipop.backgroundColor,(0,se.createCircle)(e,t.x,t.y,a),e.fill());const l=Math.round(s.lollipop.lineWidth*r);e.strokeStyle=s.lollipop.strokeStyle,e.lineWidth=l,(0,te.setLineStyle)(e,ie.LINESTYLE_SOLID);const c=a-Math.round(1*r+l/2);(0,se.createCircle)(e,t.x,t.y,c),s.lollipop.fillCircle&&s.lollipop.fillStyle&&(e.fillStyle=s.lollipop.fillStyle,e.fill()),e.stroke()}_drawLabel(e,t,i){const s=this._data.style.lollipop.text,r=s.label;if(""===r)return;e.textAlign="center",e.textBaseline="middle",e.fillStyle=s.strokeStyle,e.font=s.font;const n=this._textWidthCache.yMidCorrection(e,r);e.translate(t.x,t.y+((s.deltaY||0)+n)*i),(0,D.drawScaled)(e,i,()=>{e.fillText(r,0,0)})}_drawImage(e,t,i){const s=this._data.style.lollipop.image;if(void 0===s)return;const{width:r,height:n}=s,o=Math.round(r*i),a=Math.round(n*i),l=Math.round(t.x-o/2),c=Math.round(t.y-a/2);e.drawImage(s,0,0,r,n,l,c,o,a)}}var oe=i(84346);const ae={fillPath:new Path2D("M8.961.92a3 3 0 0 1 3.078 0l7.5 4.48A3 3 0 0 1 21 7.975V20a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V7.975A3 3 0 0 1 1.461 5.4l7.5-4.48z"),strokePath:new Path2D("M9.867 2.742c.39-.23.875-.23 1.266 0l7.5 4.406c.382.225.617.635.617 1.078V20c0 .69-.56 1.25-1.25 1.25H3c-.69 0-1.25-.56-1.25-1.25V8.226c0-.443.235-.853.617-1.078l7.5-4.406z")},le={fillPath:new Path2D("M8.961 22.08a3 3 0 0 0 3.078 0l7.5-4.48A3 3 0 0 0 21 15.025V3a3 3 0 0 0-3-3H3a3 3 0 0 0-3 3v12.025A3 3 0 0 0 1.461 17.6l7.5 4.48z"),strokePath:new Path2D("M9.866 20.257c.391.23.877.23 1.268 0l7.5-4.414a1.25 1.25 0 0 0 .616-1.078V3c0-.69-.56-1.25-1.25-1.25H3c-.69 0-1.25.56-1.25 1.25v11.765c0 .443.234.853.616 1.078l7.5 4.414z")},ce={ -fillPath:new Path2D("M3 0h15c1.662 0 3 1.338 3 3v15c0 1.662-1.338 3-3 3H3c-1.662 0-3-1.338-3-3V3c0-1.662 1.338-3 3-3z"),strokePath:new Path2D("M3 1.75h15c.693 0 1.25.557 1.25 1.25v15c0 .693-.557 1.25-1.25 1.25H3c-.692 0-1.25-.558-1.25-1.25V3c0-.692.558-1.25 1.25-1.25z")};function he(e,t,i,s,r){const n=i.pixelRatio;e.save(),e.translate(t.x-s.lollipop.width*n/2,t.y-s.lollipop.height*n/2),e.scale(n,n),s.lollipop.fillCircle&&s.lollipop.backgroundColor&&(e.fillStyle=s.lollipop.backgroundColor,e.fill(r.fillPath)),e.strokeStyle=s.lollipop.strokeStyle,e.lineWidth=Math.round(s.lollipop.lineWidth*n)/n,(0,te.setLineStyle)(e,ie.LINESTYLE_SOLID),s.lollipop.fillCircle&&s.lollipop.fillStyle&&(e.fillStyle=s.lollipop.fillStyle,e.fill(r.strokePath)),e.stroke(r.strokePath),e.restore()}function de(e,t,i,s){he(e,t,i,s,ae)}function ue(e,t,i,s){he(e,t,i,s,le)}function pe(e,t,i,s){he(e,t,i,s,ce)}class _e extends ne{_drawLollipop(e,t,i){const s=this._data.style;switch(s.shape){case"earningUp":de(e,t,i,s);break;case"earningDown":ue(e,t,i,s);break;case"earning":pe(e,t,i,s);break;default:super._drawLollipop(e,t,i)}}}const me={backgroundDark:(0,$.getHexColorByName)("color-cold-gray-900"),backgroundLight:(0,$.getHexColorByName)("color-white")};class ge extends class{constructor(e,t,i){this._invalidated=!1,this._renderer=new Z.CompositeRenderer,this._textWidthCache=new J.TextWidthCache,this._stylesCache=null,this._lollipops={},this._lollipopsCounter=0,this._lastClickedId=null,this.onPaneBgChange=()=>{this._recreateStyles(this._model)},this._lastClickedId=null,this._model=e,this._source=t,this._hitTestHandler=i,this._recreateStyles(e),e.backgroundColor().subscribe(this.onPaneBgChange),e.mainSeries().onSymbolIntervalChanged().subscribe(this,this._onSymbolOrIntervalChanged)}destroy(){this._model.backgroundColor().unsubscribe(this.onPaneBgChange),this._model.mainSeries().onSymbolIntervalChanged().unsubscribeAll(this)}onClickOutside(e){var t;if(null===this._lastClickedId||!e)return void this.clearLastClicked();let i=null;if(function(e){return void 0!==e.touches}(e)){if(1!==e.touches.length)return;{const t=(0,s.ensureNotNull)(e.target).getBoundingClientRect(),n=e.touches[0];i=new r.Point(n.clientX-t.left,n.clientY-t.top)}}else i=new r.Point(e.offsetX,e.offsetY);const n=this._renderer.hitTest(i,{physicalHeight:0,physicalWidth:0,pixelRatio:1,cssHeight:0,cssWidth:0});null!==n&&(null===(t=n.data())||void 0===t?void 0:t.activeItem)===(0,s.ensureDefined)(this._lollipops[this._lastClickedId]).itemIndex||this.clearLastClicked()}clearLastClicked(){const e=null!==this._lastClickedId&&this._lollipops[this._lastClickedId]||null;null!==e&&(e.active=!1),this._lastClickedId=null}getLastClickedLollipopId(){return this._lastClickedId}update(){this._invalidated=!0}afterUpdate(e,t,i,s){}getStyle(e){const t=e.active?"active":e.hovered?"hovered":"default";let i=t;if(e.stack&&(i+="_stack:"+e.stack),"active"===i)return this._activeStyle;if("hovered"===i)return this._hoveredStyle;if("default"===i)return this._defaultStyle;if(this._stylesCache||(this._stylesCache={}), -!this._stylesCache[i]){const s=(0,X.clone)("active"===t?this._activeStyle:"hovered"===t?this._hoveredStyle:this._defaultStyle);e.stack&&(s.lollipop.incHeight=25*e.stack),this._stylesCache[i]=s}return this._stylesCache[i]}hasTooltip(e){return!0}_getY(){let e=0;const t=this._model.panes();for(let i=t.length;i--;){const s=t[i];s.containsMainSeries()&&(e+=s.height())}return e}_showBarLine(e){return this.hasTooltip(e)&&(e.hovered||e.active)}_createRenderers(e,t){this._renderer.clear();const i=new D.Size(e,t);for(const e in this._lollipops)if(this._lollipops.hasOwnProperty(e)){const t=(0,s.ensureDefined)(this._lollipops[e]);if(t.visible){const e=this.getStyle(t),s={id:t.id,centerPoint:new r.Point(t.basePoint.x,t.basePoint.y-e.lollipop.bottom-e.lollipop.height/2-(e.lollipop.incHeight||0)),style:e},n={activeItem:t.itemIndex,clickHandler:this._lollipopMouseClickHandler.bind(this,s,i),tapHandler:this._lollipopMouseClickHandler.bind(this,s,i)};if(this._renderer.append(this._createRendererForLollipop(s,n)),this._showBarLine(t)){const{strokeStyle:i,lineStyle:s,lineWidth:r}=e.barLine,n={color:i,linestyle:s,linewidth:r,x:t.basePoint.x,top:0,bottom:t.basePoint.y-e.lollipop.bottom-e.lollipop.height},o=new Q.VerticalLineRenderer;o.setData(n),this._renderer.insert(o,0)}}}}_recreateStyles(e){this._stylesCache=null}_createRendererForLollipop(e,t){return new ne(e,new oe.HitTestResult(oe.HitTestResult.CUSTOM,t),this._textWidthCache)}_lollipopMouseClickHandler(e,t,i){i.preventDefault();const n=e.id;if(this._lastClickedId=this._lastClickedId===n?null:n,null===this._lastClickedId)return;const o={target:i.target,targetSize:t,point:new r.Point(e.centerPoint.x,e.centerPoint.y-e.style.lollipop.height/2-8),marginTop:15};this._hitTestHandler(o,()=>{const e=(0,s.ensureDefined)(this._lollipops[n]),t=this.createTooltipContent(e);return t?[t]:null})}_onSymbolOrIntervalChanged(){this._lollipops={},this._lollipopsCounter=0,this._renderer.clear(),this.clearLastClicked()}}{constructor(e,t,i){super(e,t,i),this.stylesCache={},this.templatesCache={},this._itemIndexToId=new Map,this.source=t}createTooltipContent(e){const t=e.items;return t?{subTitle:Array.isArray(t)?t.map(e=>({value:e})):[{value:t}],style:{color:e.color}}:null}clearCaches(){this.clearLastClicked(),this._lollipops={},this._lollipopsCounter=0}update(){this._invalidated=!0}renderer(e,t){return this._invalidated&&(this._createLollipops(t,e),this._invalidated=!1),this._renderer}getStyle(e){const t=e.active?"active":e.hovered?"hovered":"default";return this._generateStyle(t,e.color,e.label,e.stack,e.shape)}hasTooltip(e){return Boolean(e.items&&e.items.length)}getLollipopIdByIndex(e){return this._itemIndexToId.get(e)}_createRendererForLollipop(e,t){return new _e(e,new oe.HitTestResult(oe.HitTestResult.CUSTOM,t),this._textWidthCache)}_createLollipops(e,t){const i=this._model.timeScale(),s=super._getY(),n=this._model.lastHittestData(),o=this._model.hoveredSource(),a=this.source.marks(),l=new Map;Object.keys(a).forEach(e=>{var t;const c=a[e],h=c.id,d=c.index;if(null!=d){ -const e=h===this.getLastClickedLollipopId(),a=this._lollipops[h],u=void 0!==a?a.itemIndex:this._lollipopsCounter++;this._itemIndexToId.has(u)||this._itemIndexToId.set(u,h);const p=o===this.source&&null!==n&&n.activeItem===u,_=(null!==(t=l.get(d))&&void 0!==t?t:-1)+1;l.set(d,_),this._lollipops[h]={id:h,itemIndex:u,basePoint:new r.Point(i.indexToCoordinate(d)+1,s),hovered:p,active:e,label:c.label,color:c.color,items:c.tooltip,visible:!0,stack:_,shape:c.shape}}}),super._createRenderers(e,t)}_generateStyle(e,t,i,s,r){let n=e+t+i;if(void 0!==s&&(n+="_stack"+s),!(n in this.stylesCache)){const o=this._model.isDark()?me.backgroundDark:me.backgroundLight;let a,l=t;if("active"===e)a=t,l="rgba(255, 255, 255, 0.92)";else if("hovered"===e){const e=(0,A.tryParseRgba)(t);if(null!==e){const t=e[3]*(1-.85);a=(0,A.rgbaToString)((0,A.rgba)(e[0],e[1],e[2],t))}}let c=23,h=23,d=1,u=0;"earning"===r?(h=21,c=21,d=2):"earningUp"===r?(c=21,u=1,d=2):"earningDown"===r&&(c=21,u=-.5,d=.5);const p={barLine:{lineStyle:ie.LINESTYLE_DASHED,lineWidth:1,strokeStyle:t},lollipop:{width:c,height:h,bottom:d,backgroundColor:o,lineWidth:1.5,fillStyle:a,strokeStyle:t,fillCircle:!0,text:{label:i,deltaY:u,strokeStyle:l,font:(0,B.makeFont)(12,V.CHART_FONT_FAMILY,"bold")}},shape:r};void 0!==s&&(p.lollipop.incHeight=25*s),this.stylesCache[n]=p}return this.stylesCache[n]}}class fe extends Y.BarsMarksContainer{constructor(e){super(e),this.toolname="UserDefinedTimescaleMarks",this._requestedPointsets=new Set,(0,K.hideMarksOnBars)().subscribe(this,()=>this._properties.childs().visible.setValue(!(0,K.hideMarksOnBars)().value())),this._paneView=new ge(e,this,this._showTooltip.bind(this))}destroy(){(0,K.hideMarksOnBars)().unsubscribeAll(this),super.destroy()}userEditEnabled(){return!1}onClicked(e){if(null!==e){const t=this._paneView.getLollipopIdByIndex(e.activeItem);(0,x.emit)("onTimescaleMarkClick",t)}}clearMarks(){const e=this._model.chartApi();e.isConnected().value()&&Object.keys(this._marks).forEach(t=>{const i=this._getPointsetId(t);e.removePointset(i)}),this._requestedPointsets.clear(),super.clearMarks(),this._paneView.clearCaches(),this.onNeedRepaint.fire()}updatePlateData(e,t){return{...t,barWidth:this.barWidth(),text:e.text,tooltipMargin:-1*Math.max(e.minSize/2,.4*this.barWidth())}}hasContextMenu(){return!1}paneViews(){return this._properties.childs().visible.value()?[this._paneView]:[]}updateAllViews(){this._paneView.update()}onClickOutside(e){this._paneView.onClickOutside(e)}_createTooltipRenderer(){return null}_initialize(){this._properties.childs().visible.setValue(!0)}_plateViewData(e){return{text:e.text}}_getData(e){const t=this._model.mainSeries().symbolInfo();if(!t)return;const i=this.roundRange(this._rangeDifference(e)),r=this._model.mainSeries(),n=r.seriesSource().symbolInstanceId(),o=r.properties().childs().interval.value();window.ChartApiInstance.getTimescaleMarks(t,i.start,i.end,t=>{const i=this._model.chartApi();for(const e of t){e.index=null;const t=e.id,r=this._getPointsetId(t.toString()),a=this._marks[t] -;if(a&&null!==a.index&&(a.tickmark===e.tickmark?e.index=a.index:this._requestedPointsets.has(r)&&i.isConnected().value()&&(i.removePointset(r),this._requestedPointsets.delete(r))),this._marks[t]=e,null===e.index&&i.isConnected().value()){this._requestedPointsets.add(r);const t=[[e.tickmark,0]];i.createPointset(r,"turnaround",(0,s.ensureNotNull)(n),o,t,e=>this._onPointsetData(e))}}this._loadedRange=this._rangeUnion(e,this._loadedRange),this.updateAllViews(),this.onNeedRepaint.fire()},o)}_getPointsetId(e){return"pointsetMark_"+e}_onPointsetData(e){if("data_update"===e.method){const t=e.params.customId.split("_")[1],i=this._marks[t],s=e.params.plots;i&&1===s.length&&(i.index=s[0].value[0])}this.updateAllViews()}async _showTooltip(e,t){const s=t();if(!s)return;const r=this._model.timeScale(),n=[r.onScroll(),r.barSpacingChanged(),this._model.mainSeries().onSymbolIntervalChanged()],o=this.onClickOutside.bind(this);(await Promise.all([i.e(5514),i.e(2e3),i.e(3466),i.e(2731),i.e(1075),i.e(9039)]).then(i.bind(i,22838))).showLollipopTooltip({items:s,position:e,customCloseSubscriptions:n,onClickOutside:o})}}function ve(e,t,i){return new Promise(s=>{i&&e.classList.remove(i),e.classList.add(t);const r=i=>{i.target===e&&i.animationName===t&&(e.removeEventListener(i.type,r),s(i))};e.addEventListener("animationend",r,!1),e.addEventListener("webkitAnimationEnd",r,!1),e.addEventListener("MSAnimationEnd",r,!1)})}function Se(e){return ve(e,"tv-transition--fade-in","tv-transition--fade-out")}class ye extends class{constructor(){this._source=null,this._tooltipHovered=!1,this._layout=null,this._container=null,this._context=null,this._plateArrowSize=14,this._handleTouchMouseLeave=e=>{(0,s.ensureNotNull)(this._layout).contains(e.target)||this._clearHovered()},this._setHovered=()=>{this._tooltipHovered=!0,document.addEventListener("touchstart",this._handleTouchMouseLeave),Se((0,s.ensureNotNull)(this._layout))},this._clearHovered=()=>{var e;this._tooltipHovered=!1,document.removeEventListener("touchstart",this._handleTouchMouseLeave),null===(e=this._source)||void 0===e||e.onNeedRepaint.fire()}}showPlate(e,t){if(this._currentId!==e.id||!this._layout||null===this._layout.parentNode){this._currentId=e.id,this._createLayout();const i=(0,s.ensureNotNull)(this._layout);this._getContainer(t).appendChild(i),i.addEventListener("mouseenter",this._setHovered),i.addEventListener("mouseleave",this._clearHovered)}const i=(0,s.ensureNotNull)(this._layout);let r=Math.round(e.barWidth/2);r>15&&(r=15),r<10&&(r=10),this._updatePlate(e);const n=t.canvas.getBoundingClientRect(),o=e.x-i.offsetWidth{t.remove(),e()})} -setSource(e){this._source=e}removeLayout(){var e;this._tooltipHovered||null===(e=this._layout)||void 0===e||e.remove()}toggleLayout(e){(0,s.ensureNotNull)(this._layout).style.visibility=e?"visible":"hidden"}_getContainer(e){return this._container&&this._context===e||(this._context=e,this._container=e.canvas.parentElement),(0,s.ensureNotNull)(this._container)}}{constructor(){super(...arguments),this._layoutText=null}_createLayout(){this._layout=document.createElement("div"),this._layout.classList.add("bar-mark-tooltip"),this._layoutText=document.createElement("div"),this._layoutText.classList.add("text"),this._layout.appendChild(this._layoutText)}_updatePlate(e){this._currentId=e.id;const t=(0,s.ensureNotNull)(this._layout);t.style.borderColor=e.theme.border,t.style.marginTop=e.tooltipMargin+"px";const i=(0,s.ensureNotNull)(this._layoutText);i.innerHTML=e.text,t.appendChild(i)}}class be{constructor(e,t){this._tooltips={},this._hoveredId=null,this._tooltipFactory=e,this.source=t}showPlate(e,t){const i=this._findOrCreateTooltip(e);null!==i&&(i.drawPlate(e,t),i.plateData=e)}draw(e,t){this._hoveredId=null;for(const t of e)t.hovered&&(this._hoveredId=t.id);for(const i of e)this.showPlate(i,t)}endDraw(){var e,t;for(const i in this._tooltips)if(this._tooltips.hasOwnProperty(i)){const r=(0,s.ensureDefined)(this._tooltips[i]);r.toggleVisibility(),this._hoveredId&&(null===(e=r.plateData)||void 0===e?void 0:e.id)!==this._hoveredId&&!(null===(t=r.plateData)||void 0===t?void 0:t.pinned)&&(r.remove(),delete this._tooltips[i])}}removeAll(){for(const e in this._tooltips)if(this._tooltips.hasOwnProperty(e)){(0,s.ensureDefined)(this._tooltips[e]).remove()}this._tooltips={}}removeTooltip(e){delete this._tooltips[e]}_createTooltip(){return new we(this,this._tooltipFactory())}_findOrCreateTooltip(e){let t=this._tooltips[e.id];return void 0===t&&(e.hovered||e.pinned)&&(t=this._createTooltip(),this._tooltips[e.id]=t),t||null}}class we{constructor(e,t){this._visible=!1,this._renderer=e,this._tooltip=t}drawPlate(e,t){this._visible=!0,this._tooltip.setSource(this._renderer.source),this._tooltip.showPlate(e,t),e.hovered||e.pinned||this._tooltip.hide(()=>this._renderer.removeTooltip(e.id))}remove(){this._tooltip.removeLayout()}toggleVisibility(){this._tooltip.toggleLayout(this._visible),this._visible=!1}}class Ce extends Y.BarsMarksContainer{constructor(e){super(e),this.toolname="UserDefinedBarsMarks",(0,K.hideMarksOnBars)().subscribe(this,()=>{this.properties().childs().visible.setValue(!(0,K.hideMarksOnBars)().value())})}destroy(){(0,K.hideMarksOnBars)().unsubscribeAll(this),super.destroy()}userEditEnabled(){return!1}onClicked(e){var t,i,s;const r=null===(t=null==e?void 0:e.activeItem)||void 0===t?void 0:t.id;null===(s=(i=this._marks[r]).onClicked)||void 0===s||s.call(i)}clearMarks(){super.clearMarks(),this.onNeedRepaint.fire()}updatePlateData(e,t){return{...t,barWidth:this.barWidth(),text:e.text,tooltipMargin:-1*Math.max(e.minSize/2,.4*this.barWidth())}}hasContextMenu(){return!1}calcIsActualCurrency(){this._isActualCurrency=!0} -calcIsActualUnit(){this._isActualUnit=!0}_initialize(){this.properties().childs().visible.setValue(!0)}_plateViewData(e){const t={text:e.text};return"object"==typeof e.color&&(t.theme="user_defined_theme",t.overridedTheme={},t.overridedTheme.border=e.color.border,t.overridedTheme.background=e.color.background),t}_getData(e){const t=this._model.mainSeries().symbolInfo();if(!t)return;const i=this.roundRange(this._rangeDifference(e)),s=this._model.mainSeries().properties().childs().interval.value();window.ChartApiInstance.getMarks(t,i.start,i.end,t=>{for(const e of t)this._marks[e.id]=e;this._loadedRange=this._rangeUnion(e,this._loadedRange),this.onNeedRepaint.fire()},s)}_createTooltipRenderer(){return new be(()=>new ye,this)}}var Pe=i(31940),Te=i(35548),xe=i(37416),Ie=i(98619),Me=i(54386),Le=i(76367);const Ae=new o.TranslatedString("change chart layout to {title}",(0,n.t)("change chart layout to {title}"));class Ee extends c.UndoCommand{constructor(e,t){super(Ae.format({title:L.layouts[t].title})),this._chartWidgetCollection=e,this._newLayoutType=t,this._oldLayoutType=e.layout.value()}redo(){this._chartWidgetCollection.setLayout(this._newLayoutType)}undo(){this._chartWidgetCollection.setLayout(this._oldLayoutType)}}var ke=i(45345);const De=new o.TranslatedString("apply toolbars theme",(0,n.t)("apply toolbars theme"));class Ve extends c.UndoCommand{constructor(e,t,i=!0){super(De),this._prevThemeName=e,this._themeName=t,this._syncState=i}undo(){(0,M.isStdThemeName)(this._prevThemeName)&&((0,ke.setTheme)(this._prevThemeName),this._syncState&&(0,M.syncTheme)())}redo(){(0,M.isStdThemeName)(this._themeName.toLowerCase())&&((0,ke.setTheme)(this._themeName.toLowerCase()),this._syncState&&(0,M.syncTheme)())}}var Be=i(87027),Ne=i(52714);const Re=!a.CheckMobile.any(),Oe=new o.TranslatedString("apply indicators to entire layout",(0,n.t)("apply indicators to entire layout")),Fe=new o.TranslatedString("sync time",(0,n.t)("sync time")),We=new o.TranslatedString("resize layout",(0,n.t)("resize layout")),He=new o.TranslatedString("reset layout sizes",(0,n.t)("reset layout sizes")),ze=new o.TranslatedString("apply chart theme",(0,n.t)("apply chart theme"));(0,n.t)("Please give us a clipboard writing permission in your browser or press {keystroke}"),(0,n.t)("Couldn't copy"),(0,n.t)("Couldn't cut"),(0,n.t)("Couldn't paste"),(0,n.t)("{userName} published on {customer}, {date}"),(0,n.t)("Published on {customer}, {date}");function Ue(e,t){const i=t.model().model().studyTemplate();e.undoHistory.beginUndoMacro(Oe);for(let s=0;se.id()===n))}const l=t.pasteSourceFromClip(o,i,!0);if(l&&1===l.length){const e=l[0];if(r.asCompare){const i=(0,s.ensureNotNull)(t.mainSeries().priceScale());t.moveToScale(e,(0,s.ensureDefined)(o),i,n),t.setPriceScaleMode({percentage:!0},i,null)}}t.model().lightUpdate()}}e.undoHistory.endUndoMacro()}function Ge(e){let t=1;for(;e.has(""+t);)t++;return""+t}function qe(e){const t=new Map,i=e.chartsCountToSave(),s=new Set;for(let r=0;r{const s=(r=i.chartId,null!==(o=null===(n=e.chartWidgetsDefs.find(e=>e.chartWidget.id()===r))||void 0===n?void 0:n.chartWidget)&&void 0!==o?o:null);var r,n,o;null==s||s.resetLineToolsInvalidated(t,i.savedDto,i.sharingMode)})}function Xe(e,t,i,s){const r=e.map(e=>e.chartWidget);r.forEach(e=>e.startApplyingLineToolUpdateNotification());try{r.filter(e=>e.id()===t||0!==s).forEach(e=>e.applyLineToolUpdateNotification(i,s))}finally{r.forEach(e=>e.endApplyingLineToolUpdateNotification())}}function Ze(e){return new w({copyRequested:(t,i)=>{e.activeChartWidget.value().model().clipboardCopy(t,i)},cutRequested:(t,i)=>{e.activeChartWidget.value().model().clipboardCut(t,i)},pasteRequested:(t,i)=>{(i?i.model().undoModel():e.activeChartWidget.value().model()).clipboardPaste(t,i)}})}function Je(e,t){0}function Qe(e){const t={};return e.chartWidgetsDefs.map(e=>e.chartWidget).forEach(e=>t[e.id()]=function(e){var t,i;const s={},r=e.model().mainSeries(),n=r.properties().childs(),o=r.symbolInfo();s.resolution=n.interval.value(),s.symbol_type=null!==o&&o.type||"",s.exchange=null!==o&&o.exchange||"",s.listed_exchange=null!==o&&o.listed_exchange||"";const a=null!==(t=null==o?void 0:o.legs)&&void 0!==t?t:[];if(null!==o&&r.isSpread()){const e=a[0];let t=o.base_name[0];t=t.split(":")[1],s.symbol=e,s.short_name=t,s.expression=o.full_name}else s.symbol=null!==o&&o.ticker||n.symbol.value(),s.short_name=n.shortName.value();const l=null!==(i=null==o?void 0:o.base_name)&&void 0!==i?i:[];return s.legs=a.map((e,t)=>({symbol:e,pro_symbol:l[t]})),s}(e)),t}function et(e,t){0}function tt(e,t){return T(t,{snapshotUrl:e}).then(e=>((0,x.emit)("onScreenshotReady",e),e))}function it(e,t){const i={snapshotUrl:e};const s=(0,I.isOnMobileAppPage)("any") -;return(s?T:P)(t,i).then(e=>((0,x.emit)("onScreenshotReady",e),s||(0,x.emit)("onServerScreenshotCopiedToClipboard"),e))}function st(e){return function(e){return C().then(t=>t.downloadClientScreenshot(e))}(e)}function rt(e){return function(e){return C().then(t=>t.copyToClipboardClientScreenshot(e))}(e).then(()=>{(0,x.emit)("onClientScreenshotCopiedToClipboard")})}function nt(e,t,i,s){const r=Math.max(1,window.devicePixelRatio||1),n=e.getAll();const o=e.maximizedChartWidget();if(s&&s.onlyActiveChart||o)return{layout:"s",hidpiRatio:r,theme:(0,M.getCurrentTheme)().name,charts:[e.activeChartWidget.value().images(s)],publishedBy:void 0};const a=[],l=L.layouts[e.layout.value()].count,c={showCollapsedStudies:(s=s||{}).showCollapsedStudies,status:s.status};for(let e=0;e{const t=this._state.currentLayoutResizeAction.value();t&&this._applyMouseMove(t.delta,e)},this._state=e,this._splitterElement=t,this._splitter=i,(0,Le.shiftPressed)().subscribe(this._onShiftPressed)}destroy(){(0,Le.shiftPressed)().unsubscribe(this._onShiftPressed)}mouseDownEvent(e){this._mouseDownOrTouchStartEvent(e)}touchStartEvent(e){this._mouseDownOrTouchStartEvent(e)}pressedMouseMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}touchMoveEvent(e){this._pressedMouseOrTouchMoveEvent(e)}mouseUpEvent(e){this._mouseUpOrTouchEndEvent(e)}touchEndEvent(e){this._mouseUpOrTouchEndEvent(e)}mouseEnterEvent(e){this._highlightSplitters(e.shiftKey)}mouseLeaveEvent(e){const t=lt(this._splitter.className);Array.from(this._state.parent.getElementsByClassName(t)).forEach(e=>e.classList.remove(Be.hovered))}mouseDoubleClickEvent(e){const t=(0,xe.layoutInitialSizingState)(this._state.layoutTemplate.value().expression);this._state.undoHistory.beginUndoMacro(He),this._state.undoHistory.pushUndoCommand(new u(this._state.sizingState.spawn(),this._state.sizingState.value(),t,He));const i=this._state.layoutTemplate.value().layoutType;this._state.undoHistory.pushUndoCommand(new d(e=>e?this._state.allLayoutSizesState.set(i,e):this._state.allLayoutSizesState.delete(i),this._state.allLayoutSizesState.get(this._state.layoutTemplate.value().layoutType),t,He)),this._state.undoHistory.endUndoMacro()}_highlightSplitters(e){const t=lt(this._splitter.className);Array.from(this._state.parent.getElementsByClassName(t)).forEach(e=>e.classList.remove(Be.hovered)) -;(e?Array.from(this._state.parent.getElementsByClassName(t)):[this._splitterElement]).forEach(e=>e.classList.add(Be.hovered))}_mouseDownOrTouchStartEvent(e){const t=new r.Point(e.localX+this._splitterElement.offsetLeft,e.localY+this._splitterElement.offsetTop),i=(0,Ie.deepCopy)(this._state.sizingState.value());this._state.currentLayoutResizeAction.setValue({point:t,splitter:this._splitter,initialState:i,alignedState:this._state.layoutTemplate.value().syncSublayoutsBySplitter(this._splitter,(0,Ie.deepCopy)(i)),shiftState:e.shiftKey,delta:0}),this._splitterElement.classList.add(Be["i-active"]),this._highlightSplitters(e.shiftKey)}_pressedMouseOrTouchMoveEvent(e){const t=this._state.currentLayoutResizeAction.value();if(!t)return;t.shiftState!==e.shiftKey&&(this._highlightSplitters(e.shiftKey),t.shiftState=e.shiftKey);const i=new r.Point(e.localX+this._splitterElement.offsetLeft,e.localY+this._splitterElement.offsetTop);t.delta="v"===t.splitter.orientation?i.y-t.point.y:i.x-t.point.x,this._applyMouseMove(t.delta,e.shiftKey)}_mouseUpOrTouchEndEvent(e){const t=this._state.currentLayoutResizeAction.value();if(t&&(this._splitterElement.classList.remove(Be["i-active"]),this._state.currentLayoutResizeAction.setValue(null),t.currentState)){this._state.undoHistory.beginUndoMacro(We),this._state.undoHistory.pushUndoCommand(new u(this._state.sizingState.spawn(),t.initialState,t.currentState,We));const e=this._state.layoutTemplate.value().layoutType;this._state.undoHistory.pushUndoCommand(new d(t=>t?this._state.allLayoutSizesState.set(e,t):this._state.allLayoutSizesState.delete(e),this._state.allLayoutSizesState.get(this._state.layoutTemplate.value().layoutType),this._state.sizingState.value(),He)),this._state.undoHistory.endUndoMacro(),this._state.layoutSizesChanged.setValue(!0)}}_applyMouseMove(e,t){var i;const r=(0,s.ensureNotNull)(this._state.currentLayoutResizeAction.value()),n=t?r.alignedState:r.initialState,o=null!==(i=this._state.options.padding)&&void 0!==i?i:2,a=at(this._state);r.currentState=this._state.layoutTemplate.value().resizeApplier(a,o,e,r.splitter,(0,Ie.deepCopy)(n),t),this._state.sizingState.setValue(r.currentState)}}function ht(e,t,i,s,r){var n,o;const a=null!==(n=e.options.padding)&&void 0!==n?n:2,l=null!==(o=e.options.border)&&void 0!==o?o:0;r=null!=r?r:e.layoutTemplate.value();const c=at(e),h=r.sizer(c,i,s,a+l,Re?e.sizingState.value():void 0);h.width=Math.max(Math.round(h.width),0),h.height=Math.max(Math.round(h.height),0),h.top=Math.round(h.top),h.left=Math.round(h.left),t.metrics=h;const d=t.container.value();if(d){d.style.width=h.width+"px",d.style.height=h.height+"px",d.style.top=h.top+"px",d.style.left=h.left+"px";const e=1===s;0;const t=Math.round(c.width),i=0===h.top&&0===h.left,r=0===h.top&&h.left+h.width===t,n=0===h.top&&h.width===t;d.classList.toggle("top-left-chart",!e&&!n&&i),d.classList.toggle("top-right-chart",!e&&!n&&r),d.classList.toggle("top-full-width-chart",e||n)}t.width.setValue(h.width),t.height.setValue(h.height)}function dt(e){var t,i,s;let r -;const n=e.layoutTemplate.value(),o=e.maximizedChartDef.value();if(r=o?[o]:e.chartWidgetsDefs.slice(0,n.count).filter(e=>!e.hiddenInLayout.value()),r.forEach((t,i)=>ht(e,t,i,r.length)),Re&&!e.maximizedChartDef.value()){const r=at(e),o=null!==(t=e.options.padding)&&void 0!==t?t:2,a=null!==(i=e.options.border)&&void 0!==i?i:0,l=n.splitters(r,o+a,e.sizingState.value()),c=null!==(s=e.splitters.value())&&void 0!==s?s:[];c.forEach((e,t)=>{t>=l.length&&(e.splitterElement.remove(),e.mouseHandler.destroy(),e.mouseListener.destroy())});const h=l.map((t,i)=>{const s=i({def:t,metrics:e.layoutTemplate.value().sizer({top:0,left:0,width:256,height:256},i,s.length,0)})).sort((e,t)=>e.metrics.top-t.metrics.top||e.metrics.left-t.metrics.left).map(e=>e.def);if(s.length<2)return null;let r=s.indexOf(t);return-1===r?null:(r=(r+(i?s.length-1:1))%s.length,s[r])}function pt(e,t){return e.chartWidgetsDefs.some(e=>{var i;return(null===(i=e.chartWidget)||void 0===i?void 0:i.id())===t})}function _t(e){let t=1;for(;e(""+t);)t++;return""+t}function mt(e){const t=e.activeChartWidget.value();if(t){const i=t.state();return i.chartId=_t(t=>pt(e,t)),i.shouldBeSavedEvenIfHidden=!1,{content:i}}}function gt(e,t,i){const r=e.toastsFactory;let n={chartWidgetCollection:t,isActive:0===e.chartWidgetsDefs.length,barsMarksContainersFactory:t=>function(e,t,i){const s=[];{const t=new Ce(e);s.push(t);const i=new fe(e);s.push(i)}return s}(t,0,e.options),undoHistory:e.undoHistory,readOnly:e.readOnly,initialLoading:e.initialLoading,getToasts:r?()=>r.getChartToasts():void 0,...null!=i?i:{}};void 0!==e.customLegendWidgetsFactoriesMap&&(n.customLegendWidgetFactories=new Map(e.customLegendWidgetsFactoriesMap));const o=document.createElement("div");o.classList.add("chart-container"),o.style.position="absolute",o.style.overflow="hidden",e.parent.appendChild(o),a.isEdge&&(o.style.touchAction="none",o.style.msTouchAction="none"),n.className&&o.classList.add(n.className);const l={alive:new Ne(!0),container:new Ne(o),width:new Ne,height:new Ne,collapsed:new Ne(!1),hiddenInLayout:new Ne(!1),visible:new Ne,rdState:new Pe.ResizerDetacherState,requestFullscreen:()=>{e.globalDetachable.value()&&(e.setMaximized(l),e.activeChartWidget.setValue((0,s.ensureNotNull)(l.chartWidget)))}, -exitFullscreen:()=>{e.activeChartWidget.value()===l.chartWidget&&e.setMaximized(null)},detachable:e.globalDetachable,fullscreenable:e.globalDetachable,fullscreen:new Ne,chartWidget:null};l.rdState.pushOwner(l),e.chartWidgetsDefs.push(l);const c=()=>{l.visible.setValue(!l.hiddenInLayout.value()&&e.options.resizerBridge.visible.value())};l.hiddenInLayout.subscribe(()=>{(0,s.ensureNotNull)(l.chartWidget).setVisible(!l.hiddenInLayout.value()),c()}),l.collapsed.subscribe(()=>(0,s.ensureNotNull)(l.chartWidget).setCollapsed(l.collapsed.value())),e.options.resizerBridge.visible.subscribe(c),c(),function(e,t){let i=0,s=0;const r=t.layoutTemplate.value();for(let n=0;npt(e,t)),d=new Te.ChartWidget(n,h,t.metaInfo.uid.value());return l.chartWidget=d,e.saveChartService&&l.chartWidget.setSaveChartService(e.saveChartService),n.containsData?d.finishInitWithoutConnect():d.connect(),d.withModel(null,()=>{const t=d.model().model();e.customSources.forEach((e,i)=>{t.addCustomSource(i,e.factory,e.layer)})}),e.updateWatchedValue(),e.updateActivityView(),e.chartWidgetCreatedDelegate.fire(d),l}function ft(e,t,i,s){const r={...e.widgetOptions,...e.savedChartWidgetOptions.shift()||mt(e),...0===i||e.symbolLock.value()?void 0:{defSymbol:null}},n=gt(e,t,r),o=n.chartWidget;return o.modelCreated().subscribe(null,()=>{s?s():e.checkAllPendingModelsAlreadyCreated(),e.dateRangeLock.value()&&e.subscribeToCompletedEventForDateRangeSync(o,!0)},!0),n}function vt(e){e.hiddenInLayout.setValue(!0);const t=e.container.value();t.parentNode&&t.parentNode.removeChild(t),e.fullscreen.setValue(!1)}function St(e,t){e.chartWidgetsDefs.forEach(i=>{const r=(0,s.ensureNotNull)(i.chartWidget);r.onZoom().unsubscribeAll(t),r.onScroll().unsubscribeAll(t),r.withModel(null,()=>{const t=r.lineToolsSynchronizer();null!==t&&(t.hasChanges().unsubscribe(e.recalcHasChanges),e.recalcHasChanges())})})}async function yt(e,t,i){var r,n;const o=e.chartWidgetsDefs.map(e=>{var t,i,s;return null!==(s=null===(i=null===(t=e.chartWidget)||void 0===t?void 0:t.lineToolsSynchronizer())||void 0===i?void 0:i.flushPendingSavings())&&void 0!==s?s:null}).filter(X.notNull);o.length&&await Promise.all(o),(t=e.checkProFeature(t))in L.layouts||(t="s"),St(e,i);const a=e.layoutType,l=L.layouts[t].count;(0,x.emit)("layout_about_to_be_changed",t),e.layoutWV.setValue(t),e.setLayoutType(t),(null!==(r=e.splitters.value())&&void 0!==r?r:[]).forEach((e,t)=>{e.splitterElement.remove(),e.mouseHandler.destroy()}),e.splitters.setValue([]);const c=L.layouts[t];e.layoutTemplate.setValue(c);const h=null!==(n=e.allLayoutSizesState.get(c.layoutType))&&void 0!==n?n:(0,xe.layoutInitialSizingState)(c.expression);e.allLayoutSizesState.set(c.layoutType,h),e.sizingState.setValue(h);const d=e.maximizedChartDef.value();a!==t&&e.maximizedChartDef.value()&&e.maximizedChartDef.setValue(null),d&&e.activeChartWidget.setValue((0,s.ensureNotNull)(d.chartWidget)) -;for(let t=0;t=l;if(r=e.maximizedChartDef.value()?e.maximizedChartDef.value()===n:t1),n.fullscreen.setValue(e.maximizedChartDef.value()===n),n.collapsed.setValue(o)}else n&&(vt(n),n.collapsed.setValue(o))}e.sizingState.setValue(h),dt(e),e.updateWatchedValue(),function(e){const t=e.layoutTemplate.value().count;e.inlineChartsCount.setValue(t),e.globalDetachable.setValue(t>1)}(e),e.checkAllPendingModelsAlreadyCreated(),function(e,t){e.chartWidgetsDefs.forEach(i=>{const r=(0,s.ensureNotNull)(i.chartWidget);r.onZoom().subscribe(t,t=>e.onZoom.fire(t)),r.onScroll().subscribe(t,()=>e.onScroll.fire()),r.withModel(null,()=>{const t=r.lineToolsSynchronizer();null!==t&&(t.hasChanges().subscribe(e.recalcHasChanges),e.recalcHasChanges())})})}(e,i),e.inlineChartsCount.value()<1&&l>0&&e.chartWidgetsDefs[l-1].rdState.bridge().attach()}function bt(e,t,i,s,r){if(!s&&!e.crosshairLockRaw)return!1;const n=e.actualLayoutCount();return e.chartWidgetsDefs.slice(0,n).filter(e=>e.rdState.bridge().visible.value()).map(e=>e.chartWidget).filter(e=>e.id()!==i&&e.hasModel()).forEach(e=>e.model().model().setExternalPosition(t,r)),!0}function wt(e,t,i,s,r){if(bt(e,t,i,s,r)){const i=e.crossHairSyncBroadcast;if(i){const e={type:"crosshair",payload:{point:t,envState:r,sourceUniqueId:i.uniqueId}};i.channel.postMessage(e)}}}function Ct(e){const t=new BroadcastChannel("ChartWidgetsCollection");return t.onmessage=t=>{const i=t.data,s=e();if(s.crossHairSyncBroadcast)switch(i.type){case"crosshair":s.crossHairSyncBroadcast.uniqueId!==i.payload.sourceUniqueId&&bt(s,i.payload.point,null,!1,i.payload.envState)}},{channel:t,uniqueId:(0,q.randomHashN)(6)}}function Pt(e){var t;null===(t=e.crossHairSyncBroadcast)||void 0===t||t.channel.close()}function Tt(e,t,i){if(!e.trackTimeLock.value()||e.dateRangeLock.value())return;const s=e.layoutTemplate.value().count;e.undoHistory.beginUndoMacro(Fe),e.chartWidgetsDefs.slice(0,s).filter(e=>e.chartWidget.hasModel()&&e.chartWidget.model().model()!==i).forEach(e=>{const i=e.chartWidget.model().model(),s=i.mainSeries().syncModel();s&&i.syncTimeWithModel(s.syncSourceTarget(),t)}),e.undoHistory.endUndoMacro()}function xt(e){return Promise.all(e.map(e=>{const t=e.model().mainSeries();return t.symbolResolvingActive().value()?l(t.dataEvents().symbolResolved()).promise:t.symbolInfo()}))}function It(e){return e.chartWidgetsDefs.every(e=>e.chartWidget.hasModel())?Promise.resolve(e.chartWidgetsDefs.map(e=>e.chartWidget)):Promise.all(e.chartWidgetsDefs.map(e=>e.chartWidget.hasModel()||l(e.chartWidget.modelCreated()).promise)).then(()=>It(e))}function Mt(e,t){var i;if((0, -R.enabled)("charting_library_base"))return t;if("s"===t||e.widgetOptions.containsData||e.readOnly||isProductFeatureEnabled(ProductFeatures.MULTIPLE_CHARTS)&&(0,s.ensure)(null===(i=getProductFeatureConfig(ProductFeatures.MULTIPLE_CHARTS))||void 0===i?void 0:i.limit)>=L.layouts[t].count)return t;return"s"}async function Lt(e,t,i){if(i=Mt(e,i),e.layoutWV.value()===i)return!1;const s=e.chartWidgetsDefs.map(e=>{var t,i,s;return null!==(s=null===(i=null===(t=e.chartWidget)||void 0===t?void 0:t.lineToolsSynchronizer())||void 0===i?void 0:i.flushPendingSavings())&&void 0!==s?s:null}).filter(X.notNull);return s.length&&await Promise.all(s),e.undoHistory.pushUndoCommand(new Ee(t,i)),!0}async function At(e,t,i){const{theme:s,onlyActiveChart:r,restoreNonThemeDefaults:n,themeName:o,standardTheme:a,syncState:l=!0,noUndo:c}=i,h=(0,M.getCurrentTheme)().name;let d;r?d=[e.activeChartWidget.value()]:(await Promise.all(e.savedChartWidgetOptions.map((i,s)=>new Promise(i=>{vt(ft(e,t,s,i))}))),d=e.chartWidgetsDefs.map(e=>e.chartWidget)),c?(a&&new Ve(h,o,l).redo(),d.forEach(e=>{e.model().model().restoreTheme(s,n,c)})):(e.undoHistory.beginUndoMacro(ze),a&&e.undoHistory.pushUndoCommand(new Ve(h,o,l)),d.forEach(e=>{e.model().model().restoreTheme(s,n)}),e.undoHistory.endUndoMacro())}},22799:(e,t,i)=>{"use strict";i.r(t),i.d(t,{setChartFontFamily:()=>s,CHART_FONT_FAMILY:()=>r});function s(e){r=e}let r="-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif"},35548:(e,t,i)=>{"use strict";var s=i(2872);i(70150);var r=i(28353).t,n=i(24980).TranslatedString,o=i(88537),a=o.assert,l=o.ensureDefined,c=i(56972).Series,h=i(67337),d=i(62138).ActionBinder,u=i(56840).setValue,p=i(73591).TabNames,_=i(94420).showGoToDateDialog,m=i(68335),g=i(25760),f=i(15219).showConfirmInputsDialog,v=i(66101).Study,S=i(25270).StudyStub,y=i(81851).isStudy,b=i(89857).LineDataSource,w=i(14291),C=w.isLineTool,P=w.isStudyLineTool,T=i(28296).Action,x=i(62060).ACTION_ID,I=i(85733),M=i(29823).Interval,L=i(37667),A=L.getDefaultStyle,E=L.hasVolume,k=i(88679).showSymbolInfoDialog,D=i(23653).InvalidationMask,V=i(82992).linking,B=i(8636).showChangeIntervalDialogAsync,N=i(15618).showDialog,R=i(39277),O=R.availableTimezones,F=R.timezoneIsAvailable,W=i(90995).toggleHideMode,H=i(817).ChartSession,z=i(67072),U=i(4185).Spinner,j=i(51768).trackEvent,G=i(71413).lastMouseOrTouchEventInfo,q=i(59803),Y=i(98125).getLogger("ChartWidget",{color:"#606"}),K=i(82724).appendEllipsis,$=i(43181).StudyMetaInfoRepository,X=i(42060).isMultipleLayout,Z=i(19334).addPerfMark,J=i(81465).combineProperty,Q=i(79500).ChartWidgetBase,ee=i(49483).CheckMobile.any(),te=i(73383).TIMEFRAMETYPE,ie=i(81836).createDeferredPromise,se=i(76166).addPlusButtonProperty;const re=h.enabled("show_average_close_price_line_and_label");var ne=new n("change timezone",r("change timezone")),oe=new n("scale price chart only",r("scale price chart only")),ae=new n("stay in drawing mode",r("stay in drawing mode")),le=(new n("hide all drawing tools",r("hide all drawing tools")), -new n("hide marks on bars",r("hide marks on bars"))),ce=new n("change symbol last value visibility",r("change symbol last value visibility")),he=(new n("change symbol previous close value visibility",r("change symbol previous close value visibility")),new n("change previous close price line visibility",r("change previous close price line visibility")),new n("change symbol labels visibility",r("change symbol labels visibility"))),de=new n("change indicators name labels visibility",r("change indicators name labels visibility")),ue=new n("change indicators value labels visibility",r("change indicators value labels visibility")),pe=(new n("change bid and ask labels visibility",r("change bid and ask labels visibility")),new n("change bid and ask lines visibility",r("change bid and ask lines visibility")),new n("change pre/post market price label visibility",r("change pre/post market price label visibility")),new n("change pre/post market price line visibility",r("change pre/post market price line visibility")),new n("change high and low price lines visibility",r("change high and low price lines visibility"))),_e=new n("change high and low price labels visibility",r("change high and low price labels visibility")),me=new n("change average close price line visibility",r("change average close price line visibility")),ge=new n("change average close price label visibility",r("change average close price label visibility")),fe=new n("change countdown to bar close visibility",r("change countdown to bar close visibility")),ve=new n("change plus button visibility",r("change plus button visibility")),Se=new n("change price line visibility",r("change price line visibility")),ye=new n("unlock {title}",r("unlock {title}")),be=new n("lock {title}",r("lock {title}")),we=new n("change session breaks visibility",r("change session breaks visibility")),Ce=r("On the left"),Pe=r("On the right"),Te=r("Move scale to left"),xe=r("Move scale to right");e.exports.ChartWidget=class extends Q{constructor(e,t,i){super(e,t,i),this._options.timeScaleWidget&&(this._options.timeScaleWidget.pressedMouseMoveScale=this._options.handleScale.axisPressedMouseMove.time);var r=this;this._startSpinner(this._options.container.value());var n=this._options.content,o=this._options.readOnly;this._removeMaximizeHotkey=null,r._hotkeys=g.createGroup({desc:"Chart actions",isDisabled:function(){return!r._isActive}});var a=this._options.containsData,l=this._options.onWidget,c=this._options.onCmeWidget;c&&Y.logWarn("[ChartWidget] 'onCmeWidget' option is depricated");var h=this._options.widgetCustomer,d=this._options.timezone,u=this._options.hideSymbolSearch,p=this._options.defSymbol,_=M.isValid(this._options.defInterval)?this._options.defInterval:void 0,m=parseInt(this._options.defStyle),f=L.isValidStyle(m)?m:void 0,v=this._options.defSessionId,S=void 0!==this._options.defTimeframe?"string"==typeof this._options.defTimeframe?{value:this._options.defTimeframe.toUpperCase(),type:te.PeriodBack}:{...this._options.defTimeframe,type:te.TimeRange}:void 0;this._content=n, -this._initialLoading=this._options.initialLoading,this._readOnly=o,this._containsData=a,this._defSymbol=p,this._defInterval=_,this._defTimeframe=S,this._defStyle=f,this._onWidget=!!l,this._compareSymbols=this._options.compareSymbols,this._onWidget&&(c?this._widgetCustomer="cme":h&&(this._widgetCustomer=h)),this._hideSymbolSearch=u,this._frameTime=30,this._model=null,this._metaInfo={},this._drawRafId=0,this._compareDialog=this._chartWidgetCollection.getCompareDialogRenderer();var y=this._contentSeriesProperties();y&&(p=y.symbol,_=y.interval),void 0===this._options.useUserChartPreferences&&(this._options.useUserChartPreferences=!0);var b=this._options.useUserChartPreferences?q.defaults("chartproperties.mainSeriesProperties"):q.factoryDefaults("chartproperties.mainSeriesProperties");this._properties.mainSeriesProperties.merge(b),this._properties.mainSeriesProperties.hasChild("esdBreaksStyle")&&this._properties.mainSeriesProperties.removeProperty("esdBreaksStyle"),_=_||b.interval||"D",L.isValidStyle(f)||(f=L.isValidStyle(b.style)?b.style:A(M.isRange(_))),this._properties.mainSeriesProperties.merge({visible:!0,symbol:p||DEFAULT_SYMBOL,shortName:"",timeframe:"",onWidget:this._onWidget,interval:_,currencyId:null,unitId:null,style:f,sessionId:v,lineStyle:{styleType:q.factoryDefaults("chartproperties.mainSeriesProperties.lineStyle.styleType")}}),this._containsData&&this._properties.mainSeriesProperties.merge({showCountdown:!1}),d&&F(d)&&this._properties.timezone.setValue(d),this._tagsChanged=new s,this._disconnected=new s,this._reconnectBailout=new s,this._connected=new s,this.chartWidgetInitialized=new s,this._chartSession=new H(ChartApiInstance),this._metaInfoRepository=new $(this._chartSession),this._timingsMeter=null,this._isActive=this._options.isActive,this._options.container.subscribe((function(e){r._setElement(e)}),{callWithLast:!0});var w=function(){r.resize()};this._options.width.subscribe(w),this._options.height.subscribe(w),this._options.visible.subscribe(this._updateTimingsMeterState.bind(this)),this._aboutToBeDestroyed=new s,this._actions=null,this._definitionsViewModel=null,this._backgroundTopColorSpawn=null,this._backgroundBottomColorSpawn=null,this._hintDefferedPromise=null,this._activeHint=null}isInitialized(){return Boolean(this._inited)}compareSymbols(){return this._compareSymbols}async _getChartPropertyDefinitionsViewModel(){if(null===this._definitionsViewModel){const{ChartPropertyDefinitionsViewModel:e}=await Promise.all([i.e(1369),i.e(7387),i.e(3596)]).then(i.bind(i,47806));if(this._isDestroyed)throw new Error("Chart widget already destroyed");await new Promise(e=>this.withModel(null,e)),null===this._definitionsViewModel&&(this._definitionsViewModel=new e(this.model(),this.properties(),this._options))}return this._definitionsViewModel}_initMaximizeHotkey(e){var t=this;function i(e){e.defaultPrevented||m.modifiersFromEvent(e)===m.Modifiers.Alt&&e.stopPropagation()}function s(e){e.defaultPrevented||m.modifiersFromEvent(e)===m.Modifiers.Alt&&(e.preventDefault(),e.stopPropagation(),t.toggleFullscreen())} -return e.addEventListener("mousedown",i,!0),e.addEventListener("click",s,!0),function(){e.removeEventListener("mousedown",i,!0),e.removeEventListener("click",s,!0)}}toggleFullscreen(){var e=this.getResizerDetacher();e.fullscreenable.value()&&(e.fullscreen.value()?e.exitFullscreen():e.requestFullscreen())}_beginRequestActive(){var e=this._chartWidgetCollection.activeChartWidget.value()!==this;if(this._chartWidgetCollection.activeChartWidget.setValue(this),e){const e=G();e.isTouch&&!e.stylus&&this._isLineToolModeExceptBrush()&&this.updateCrossHairPositionIfNeeded(),this._justActivated=!0}}_endRequestActive(){var e=this;this._justActivated&&setTimeout((function(){e._justActivated=!1}),0)}_requestActive(){this._beginRequestActive(),this._endRequestActive()}justActivated(){return this._justActivated}setTimezone(e){e&&F(e)?this._properties.timezone.setValue(e):console.warn("Incorrect timezone: "+JSON.stringify(e))}getTimezone(){return this._properties.timezone.value()}refreshMarks(){this.model().barsMarksSources().forEach((function(e){e.refreshData()}))}clearMarks(){this.model().barsMarksSources().forEach((function(e){e.clearMarks()}))}metaInfoRepository(){return this._metaInfoRepository}_initBackgroundColor(){null===this._backgroundTopColorSpawn&&(this._backgroundTopColorSpawn=this._model.model().backgroundTopColor().spawn(),this._backgroundTopColorSpawn.subscribe(this._onBackgroundColorChanged.bind(this))),null===this._backgroundBottomColorSpawn&&(this._backgroundBottomColorSpawn=this._model.model().backgroundColor().spawn(),this._backgroundBottomColorSpawn.subscribe(this._onBackgroundColorChanged.bind(this)))}paneWidgets(){return this._paneWidgets}paneByCanvas(e){for(var t=0;t{null!==t&&e()})}));var s=new T({actionId:x.ChartScalesReset,label:r("Reset chart"),icon:i(27966),statName:"ResetChart",onExecute:this.GUIResetScales.bind(this),hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+82}),n=new T({actionId:x.ChartSeriesPriceScaleToggleInvertPriceScale,label:r("Invert scale"),statName:"Invert Scale",checkable:!0,onExecute:function(){t._model.invertPriceScale(t._model.mainSeries().priceScale())},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+73}),o=new T({actionId:x.ChartSeriesPriceScaleToggleAutoScale,label:r("Auto (fits data to screen)"),checkable:!0,onExecute:function(){var e=t._model.mainSeries().priceScale();t._model.togglePriceScaleAutoScaleMode(e),o.update({checked:e.isAutoScale()})}}),a=new T({ -actionId:x.ChartScalesToggleLockPriceToBarRatio,label:r("Lock price to bar ratio"),checkable:!0,statName:"ToggleLockScale",onExecute:function(){t._model.togglePriceScaleLockScaleMode(t._model.mainSeries().priceScale())}}),l=new T({actionId:x.ChartSeriesPriceScaleToggleRegular,label:r("Regular"),checkable:!0,statName:"ToggleRegularScale",onExecute:function(){var e=t._model.mainSeries().priceScale();t._model.setPriceScaleRegularScaleMode(e),l.update({checked:e.isRegular()})}}),c=new T({actionId:x.ChartSeriesPriceScaleTogglePercentage,label:r("Percent"),checkable:!0,statName:"TogglePercantage",onExecute:function(){t._model.togglePriceScalePercentageScaleMode(t._model.mainSeries().priceScale())},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+80}),f=new T({actionId:x.ChartSeriesPriceScaleToggleIndexedTo100,label:r("Indexed to 100"),checkable:!0,statName:"ToggleIndexedTo100",onExecute:function(){t._model.togglePriceScaleIndexedTo100ScaleMode(t._model.mainSeries().priceScale())}}),v=new T({actionId:x.ChartSeriesPriceScaleToggleLogarithmic,label:r("Logarithmic"),statName:"ToggleLogScale",checkable:!0,onExecute:function(){t._model.togglePriceScaleLogScaleMode(t._model.mainSeries().priceScale())},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+76}),S=new T({actionId:x.ChartUndo,label:r("Undo"),onExecute:function(){j("GUI","Undo"),t._model.undoHistory().undo()},disabled:!0,hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Mod+90}),y=new T({actionId:x.ChartRedo,label:r("Redo"),onExecute:function(){j("GUI","Redo"),t._model.undoHistory().redo()},disabled:!0,hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Mod+89});t.withModel(null,(function(){t._model.undoHistory().undoStack().onChange().subscribe(t,t.updateUndoRedo),t._model.undoHistory().redoStack().onChange().subscribe(t,t.updateUndoRedo)}));var b=new T({actionId:x.ChartChangeTimeZone,label:r("Time zone"),statName:"TimeZone"}),w=new T({actionId:x.ChartDialogsShowChangeSymbol,label:K(r("Change Symbol")),statName:"ChangeSymbol",onExecute:function(){N({defaultValue:""})}});u("symboledit.dialog_last_entry","");var C={actionId:x.ChartDialogsShowChangeInterval,label:K(r("Change interval")),statName:"ChangeInterval",onExecute:function(){B({initVal:V.interval.value(),selectOnInit:!0})}};!h.enabled("show_interval_dialog_on_key_press")||this.readOnly()||this._hideSymbolSearch||(C.shortcutHint=",",C.hotkeyGroup=this._hotkeys,C.hotkeyHash=188);var P,M=new T(C);if(!TradingView.onWidget()){if(this._options.addToWatchlistEnabled){const e={hotkeyGroup:this._hotkeys};P=new WatchListAction(this,e)}0}var L=new T({actionId:x.ChartTimeScaleReset,label:r("Reset time scale"),icon:i(27966),statName:"ResetScale",onExecute:function(){t.model().resetTimeScale()},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Mod+g.Modifiers.Alt+81}),A=new T({actionId:x.ChartRemoveAllIndicators,label:r("Remove indicators"),statName:"RemoveAllIndicators",onExecute:this.removeAllStudies.bind(this)}),E=new T({actionId:x.ChartRemoveAllLineTools,label:r("Remove drawings"),statName:"RemoveAllDrawingTools", -onExecute:this.removeAllDrawingTools.bind(this)}),R=new T({actionId:x.ChartRemoveAllIndicatorsAndLineTools,label:r("All indicators and drawing tools"),statName:"RemoveAllIndicatorsAndDrawingTools",onExecute:this.removeAllStudiesDrawingTools.bind(this)}),O=this.chartWidgetCollection(),F=new T({actionId:x.ChartApplyIndicatorsToAllCharts,label:r("Apply these indicators to entire layout"),statName:"ApplyIndicatorsToAllCharts",onExecute:function(){O.applyIndicatorsToAllCharts(t)}}),H={actionId:x.ChartDialogsShowInsertIndicators,label:K(r("Insert indicator")),statName:"InsertIndicator",onExecute:function(){t.showIndicators()}};this._options.indicatorsDialogShortcutEnabled&&(H.hotkeyGroup=this._hotkeys,H.hotkeyHash=191,this._hotkeys.add({handler:function(){this.showIndicators()}.bind(this),desc:"Show insert indicator dialog",hotkey:111}));var z,U=new T(H),G=new T({actionId:x.ChartDialogsShowCompareOrAddSymbol,label:K(r("Compare or Add Symbol")),statName:"CompareOrAddSymbol",onExecute:this.toggleCompareOrAdd.bind(this)}),q=new T({actionId:x.ChartObjectTreeShow,label:K(r("Object Tree")),statName:"ObjectsTree",onExecute:this.showObjectsTreePanelOrDialog.bind(this)}),Y=new T({actionId:x.ChartDialogsShowGeneralSettings,label:K(r("Settings")),icon:i(44368),statName:"ChartProperties",onExecute:function(){t.showGeneralChartProperties()}}),$=new T({actionId:x.ChartDialogsShowGeneralSettingsSymbolTab,label:K(r("Settings")),icon:i(44368),statName:"MainSeriesProperties",onExecute:function(){t.showGeneralChartProperties(p.symbol)}}),X=new T({actionId:x.ChartSelectedObjectToggleLocked,label:r("Lock/unlock"),statName:"ToggleLockSelectedObject",onExecute:this.toggleLockSelectedObject.bind(this)}),Z=new T({actionId:x.ChartSelectedObjectHide,label:r("Hide"),icon:i(48111),statName:"HideSelectedObject",onExecute:this.hideSelectedObject.bind(this)});h.enabled("property_pages")&&(z=new T({actionId:x.ChartSelectedObjectShowSettingsDialog,label:K(r("Settings")),icon:i(44368),statName:"EditSelectedObject",onExecute:function(){t.showSelectedSourcesProperties()}})),this.withModel(null,(function(){var e=t.model().mainSeries(),i=e.properties();i.priceAxisProperties.subscribe(t,t._updateScalesActions),e.priceScaleAboutToBeChanged().subscribe(t,(function(){i.priceAxisProperties.unsubscribeAll(t)})),e.priceScaleChanged().subscribe(t,(function(){i.priceAxisProperties.subscribe(t,t._updateScalesActions),t._updateScalesActions()}))}));var Q=new T({actionId:x.ChartPriceScaleToggleAutoScaleSeriesOnly,label:r("Scale price chart only"),checkable:!0,statName:"ScalePriceChartOnly"});Q.binder=new d(Q,this._properties.scalesProperties.scaleSeriesOnly,this.model(),oe);var ee=this.model().model();this._properties.scalesProperties.scaleSeriesOnly.listeners().subscribe(null,(function(){ee.recalculateAllPanes(),ee.invalidate(D.full())}));var te=new T({actionId:x.ChartDrawingToolbarToggleVisibility,label:r("Drawings toolbar"),checkable:!0,statName:"ToggleDrawingToolbar"}),ie=this._options.isDrawingToolbarVisible;ie&&(ie.subscribe((function(e){te.update({checked:e})}),{ -callWithLast:!0}),te.update({onExecute:function(){ie.setValue(!ie.value())}}));var ne=new T({actionId:"",label:r("Stay in drawing mode"),checkable:!0,statName:"ToggleStayInDrawingMode"});ne.binder=new d(ne,I.properties().stayInDrawingMode,this.model(),ae),this._hotkeys.add({handler:function(){W()},desc:"Hide all drawing tools",hotkey:g.Modifiers.Mod+g.Modifiers.Alt+72});var ye=new T({actionId:x.ChartMarksToggleVisibility,label:r("Hide marks on bars"),checkable:!0,statName:"ToggleHideMarksOnBars"});ye.binder=new d(ye,I.hideMarksOnBars(),this.model(),le,(function(){I.hideMarksOnBars().setValue(this.value())}));const be=this.properties().scalesProperties;var we=new T({actionId:x.ChartPriceScaleLabelsToggleSeriesLastValueVisibility,label:r("Symbol last price label"),checkable:!0,checked:!1,statName:"ToggleSymbolLastValue"});we.binder=new d(we,be.showSeriesLastValue,this.model(),ce);var Ie=new T({actionId:x.ChartPriceScaleLabelsToggleSymbolNameLabelsVisibility,label:r("Symbol name label"),checkable:!0,checked:!1,statName:"ToggleSymbolLabels"});Ie.binding=new d(Ie,be.showSymbolLabels,this.model(),he);const Me=J((e,t)=>e||!1,be.showStudyLastValue,be.showFundamentalLastValue);var Le=new T({actionId:x.ChartPriceScaleLabelsToggleIndicatorsValueLabelsVisibility,label:r("Indicators value labels"),checkable:!0,checked:!1,statName:"ToggleStudiesAndFundamentalsPriceLabels"});Le.binder=new d(Le,Me,this.model(),null,()=>{const e=!Me.value();this.model().beginUndoMacro(ue),this.model().setProperty(be.showStudyLastValue,e,null),this.model().endUndoMacro()});const Ae=J((e,t)=>e||!1,be.showStudyPlotLabels,be.showFundamentalNameLabel);var Ee=new T({actionId:x.ChartPriceScaleLabelsToggleIndicatorsNameLabelsVisibility,label:r("Indicators name labels"),checkable:!0,checked:!1,statName:"ToggleStudiesAndFundamentalsNameLabels"});Ee.binding=new d(Ee,Ae,this.model(),null,()=>{const e=!Ae.value();this.model().beginUndoMacro(de),this.model().setProperty(be.showStudyPlotLabels,e,null),this.model().endUndoMacro()});var ke=this.model().mainSeries().properties().highLowAvgPrice,De=new T({actionId:x.ChartPriceScaleLabelsToggleHighLowPriceLabelsVisibility,label:r("High and low price labels"),checkable:!0,checked:!1,statName:"ToggleHighLowPriceLabels"});De.binding=new d(De,ke.highLowPriceLabelsVisible,this.model(),_e);var Ve=new T({actionId:x.ChartLinesToggleHighLowLinesVisibility,label:r("High and low price lines"),checkable:!0,checked:!1,statName:"ToggleHighLowPriceLine"});if(Ve.binding=new d(Ve,ke.highLowPriceLinesVisible,this.model(),pe),re){var Be=new T({actionId:x.ChartPriceScaleLabelsToggleAveragePriceLabelVisibility,label:r("Average close price label"),checkable:!0,checked:!1,statName:"ToggleAverageClosePriceLabel"});Be.binding=new d(Be,ke.averageClosePriceLabelVisible,this.model(),ge);var Ne=new T({actionId:x.ChartLinesToggleAverageLineVisibility,label:r("Average close price line"),checkable:!0,checked:!1,statName:"ToggleAverageClosePriceLine"});Ne.binding=new d(Ne,ke.averageClosePriceLineVisible,this.model(),me)}var Re=new T({ -actionId:x.ChartPriceScaleToggleCountdownToBarCloseVisibility,label:r("Countdown to bar close"),checkable:!0,checked:!1,statName:"ToggleCountdown"});Re.binder=new d(Re,this.model().mainSeries().properties().showCountdown,this.model(),fe);var Oe=new T({actionId:x.ChartPriceScaleToggleAddOrderPlusButtonVisibility,label:r("Plus button"),checkable:!0,checked:se.value(),statName:"ToggleAddOrderPlusButton"});Oe.binder=new d(Oe,se,this.model(),ve);var Fe=null;this._options.goToDateEnabled&&(Fe=new T({actionId:x.ChartDialogsShowGoToDate,label:K(r("Go to date")),statName:"GoToDate",onExecute:function(){var e=t._chartWidgetCollection.activeChartWidget.value();_(e)},hotkeyGroup:this._hotkeys,hotkeyHash:g.Modifiers.Alt+71}));var We=new T({actionId:x.ChartDialogsShowSymbolInfo,label:K(r("Symbol info")),icon:i(69061),checkable:!1,statName:"SymbolInfo",onExecute:function(){var e=t.model().mainSeries().symbol(),i=t.model().mainSeries().symbolInfo(),s=t.model().model().availableUnits(),r=t.model().model().unitConversionEnabled();k(e,{symbolInfo:i,showUnit:r,unitDescription:e=>s.description(e)})}}),He=new T({actionId:x.ChartPriceScaleMergeAllScalesToLeft,label:Ce,statName:"MergeAllScalesToLeft",onExecute:function(){t.model().mergeAllScales("left")}}),ze=new T({actionId:x.ChartPriceScaleMergeAllScalesToRight,label:Pe,statName:"MergeAllScalesToRight",onExecute:function(){t.model().mergeAllScales("right")}}),Ue=new T({actionId:x.ChartPriceScaleMoveToLeft,label:Te,statName:"MoveScaleToLeft",onExecute:function(){t.model().mergeAllScales("left")}}),je=new T({actionId:x.ChartPriceScaleMoveToRight,label:xe,statName:"MoveScaleToRight",onExecute:function(){t.model().mergeAllScales("right")}});var Ge=h.enabled("show_object_tree");if(this._actions={chartProperties:Y,mainSeriesPropertiesAction:$,timeScaleReset:L,chartReset:s,invertSeriesScale:n,logSeriesScale:v,autoSeriesScale:o,lockSeriesScale:a,regularSeriesScale:l,percentSeriesScale:c,indexedTo100SeriesScale:f,compareOrAdd:G,paneObjectTree:Ge?q:void 0,insertIndicator:U,symbolSearch:w,showSymbolInfoDialog:We,changeInterval:M,seriesHide:Z,studyHide:Z,lineToggleLock:X,lineHide:Z,scaleSeriesOnly:Q,drawingToolbarAction:te,stayInDrawingModeAction:ne,hideAllMarks:ye,applyTimeZone:b,showCountdown:Re,addPlusButton:Oe,showSeriesLastValue:we,showHighLowPriceLabels:De,showHighLowPriceLines:Ve,showAverageClosePriceLabel:Be,showAverageClosePriceLine:Ne,showSymbolLabelsAction:Ie,showStudyLastValue:Le,showStudyPlotNamesAction:Ee,undo:S,redo:y,mergeLeftScalesAction:He,mergeRightScalesAction:ze,moveScaleToLeft:Ue,moveScaleToRight:je,moveChartAction:void 0},e&&(this._actions.scalesProperties=e),P&&(this._actions.addToWatchlist=P),h.enabled("show_source_code")&&(this._actions.viewSourceCode=new TVAction({label:K(r("Source code")),statName:"OpenSelectedObjectSource",onExecute:this.openSelectedObjectSource.bind(this)})),!TradingView.onWidget()&&h.enabled("text_notes")&&(this._actions.addToTextNotes=void 0),null!==Fe&&(this._actions.gotoDate=Fe),this.createSessionBreaksActions(),!this.readOnly()){var qe=new T({ -actionId:x.ChartSelectedObjectRemove,label:r("Remove"),icon:i(78679),statName:"RemoveSelectedObject",onExecute:function(){var e=this._chartWidgetCollection.activeChartWidget.value();e||(e=this),e.removeSelectedSources()}.bind(this),hotkeyGroup:this._hotkeys,hotkeyHash:m.isMacKeyboard?8:46});this._hotkeys.add({handler:function(){this.removeSelectedSources()}.bind(this),desc:"Remove selected source",hotkey:m.isMacKeyboard?46:8}),this._actions.paneRemoveAllStudies=A,this._actions.paneRemoveAllDrawingTools=E,this._actions.paneRemoveAllStudiesDrawingTools=R,this._actions.applyStudiesToAllCharts=F,this._actions.studyRemove=qe,this._actions.lineRemove=qe,h.enabled("property_pages")&&(this._actions.format=z)}this._actions.showPriceLine=new T({actionId:x.ChartLinesToggleSeriesPriceLineVisibility,label:r("Price line"),checkable:!0,statName:"TogglePriceLine"}),this._actions.showPriceLine.binding=new d(this._actions.showPriceLine,this.model().mainSeries().properties().showPriceLine,this.model(),Se),this.readOnly()||(this._hotkeys.add({desc:"Draw Horizontal Line here",hotkey:g.Modifiers.Alt+72,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolHorzLine")}}),this._hotkeys.add({desc:"Draw Horizontal Ray here",hotkey:g.Modifiers.Alt+74,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolHorzRay")}}),this._hotkeys.add({desc:"Draw Vertical Line here",hotkey:g.Modifiers.Alt+86,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolVertLine")}}),this._hotkeys.add({desc:"Draw Cross Line here",hotkey:g.Modifiers.Alt+67,handler:function(){t.activePaneWidget&&t.activePaneWidget.drawRightThere("LineToolCrossLine")}}),this._hotkeys.add({desc:"Draw Trend Line",hotkey:g.Modifiers.Alt+84,handler:function(){t.activePaneWidget&&I.tool.setValue("LineToolTrendLine")}}),this._hotkeys.add({desc:"Draw Fib Retracement",hotkey:g.Modifiers.Alt+70,handler:function(){t.activePaneWidget&&I.tool.setValue("LineToolFibRetracement")}})),this._updateScalesActions()}options(){return this._options}executeActionById(e){if("takeScreenshot"===e)return console.warn('Action "takeScreenshot" is deprecated. Use method "takeScreenshot" instead'),void this._chartWidgetCollection.takeScreenshot();e in this._actions?this._actions[e]instanceof T&&this._actions[e].execute():console.warn("Unknown action id: "+e)}getCheckableActionState(e){if(e in this._actions){var t=this._actions[e];if(t instanceof T&&t.isCheckable())return t.isChecked();console.warn("Action "+e+" has no state")}else console.warn("Unknown action id: "+e);return null}_updateScalesActions(){if(null!==this._actions){var e=this.model().mainSeries(),t=e.priceScale(),i=e.properties(),s=t.isLockScale(),r=i.style.value()===c.STYLE_PNF;this._actions.percentSeriesScale.update({disabled:s||r,checked:t.isPercentage()}),this._actions.logSeriesScale.update({disabled:s||r,checked:t.isLog()}),this._actions.regularSeriesScale.update({disabled:s||r,checked:t.isRegular()}),this._actions.indexedTo100SeriesScale.update({disabled:s||r, -checked:t.isIndexedTo100()}),this._actions.invertSeriesScale.update({checked:t.isInverted()}),this._actions.lockSeriesScale.update({checked:t.isLockScale()}),this._actions.autoSeriesScale.update({checked:t.isAutoScale(),disabled:t.properties().autoScaleDisabled.value()})}}removeAllStudies(){this._model.removeAllStudies()}removeAllDrawingTools(){this._model.removeAllDrawingTools()}removeAllStudiesDrawingTools(){this._model.removeAllStudiesAndDrawingTools()}defaultSymbol(){return this._defSymbol}connect(){this._handler=function(e){this._onData(e)}.bind(this),this._boundOnChartSessionIsConnectedChanged=this._onChartSessionIsConnectedChanged.bind(this),this._chartSession.isConnected().subscribe(this._boundOnChartSessionIsConnectedChanged),this._chartSession.criticalError().subscribe(this,this._onChartSessionCriticalError),this._chartSession.connect(this._handler)}finishInitWithoutConnect(){this._chartSession.disable(),this._init(),this.chartWidgetInitialized.fire()}reconnect(){this._chartSession.disconnect(),this._chartSession.connect()}widget(){return this._mainDiv}_onBackgroundColorChanged(){for(var e=0;e0;)for(var t=this._content.panes[e].sources,i=t.length;i-- >0;)if("MainSeries"===t[i].type)return t[i].state}updateUndoRedo(){this._model&&(this.actions().undo.update({disabled:this._model.undoHistory().undoStack().isEmpty()}),this.actions().redo.update({disabled:this._model.undoHistory().redoStack().isEmpty()}))}createSessionBreaksActions(){var e=new T({actionId:x.ChartSessionBreaksToggleVisibility,label:r("Session breaks"),checkable:!0,statName:"ToggleSessionBreaks"});e.binder=new d(e,this._model.chartModel().sessions().properties().graphics.vertlines.sessBreaks.visible,this.model(),we),this._actions.sessionBreaks=e}updateActionForIntradayOnly(e){e&&e instanceof T&&e.update({disabled:this.model().mainSeries().isDWM()})}containsVolume(){return this.model().dataSources().some((function(e){ -return e instanceof v&&"Volume"===e.metaInfo().shortId}))}containsStudyByPredicate(e){return!!this._model&&this._model.dataSources().some((function(t){if(!(t instanceof v))return!1;var i=t.metaInfo();return e(i)}))}containsStudy(e){return this.containsStudyByPredicate((function(t){return t.id===e||t.fullId===e}))}isSmall(){return this._width()<550||this._height()<300}onWidget(){return this._onWidget}onCmeWidget(){return"cme"===this.widgetCustomer()}widgetCustomer(){return this._widgetCustomer}resize(){var e=this._height()+"px",t=this._width()+"px";this._mainDiv.style.height=e,this._mainDiv.style.width=t,this._elMainTable.style.height=e,this._elMainTable.style.width=t,this._resizeHandler&&this._mainDiv&&this._resizeHandler()}chartSession(){return this._chartSession}onLineCancelled(){I.resetToCursor()}_startSpinner(e){this._spinner||e&&(this._spinner=(new U).spin(e))}applyOverrides(e){var t={};for(var i in e)i.startsWith("mainSeriesProperties.priceAxisProperties")||(t[i]=e[i]);if(applyPropertiesOverrides(this.properties(),null,!1,t,null),this._model){applyPropertiesOverrides(this._model.model().properties(),null,!1,t),applyPropertiesOverrides(this._model.mainSeries().properties(),null,!1,t,"mainSeriesProperties"),this._model.model().sessions().applyOverrides(t);const e=this._model.chartModel().watermarkSource();null!==e&&e.applyOverrides(t)}}applyStudiesOverrides(e){z.mergeDefaultsOverrides(e),this._applyStudiesOverrides()}setActive(e){this._isActive=e,G().isTouch&&(e&&this.selectPointMode().value()?this.startTrackingMode():this.exitTrackingMode()),this._paneWidgets.forEach((function(e){e.update()})),e||this.model().selectionMacro((function(e){e.clearSelection()}))}isActive(){return this._isActive}trackTime(){return this._chartWidgetCollection.lock.trackTime}isMultipleLayout(){return X(this._chartWidgetCollection.layout.value())}selectPointMode(){return this._model.model().selectPointMode()}cancelRequestSelectPoint(){this._model.model().cancelRequestSelectPoint()}requestSelectPoint(e,t){var i=this;return new Promise((function(s,r){if(a()){I.resetToCursor(!0),i._model.lineBeingCreated()&&i._model.cancelCreatingLine();var n=!1,o={};i._model.model().onPointSelected().subscribe(o,(function(e,t){n=!0,i._isVisible.unsubscribe(a),i._hideHint(),s({point:e,pane:t})}),!0),i._model.model().requestSelectPoint(e),i.startTrackingMode(),void 0!==t&&i._showHint(t),i._isVisible.subscribe(a),i.selectPointMode().subscribe((function(){setTimeout((function(){n||(i.selectPointMode().value()||i._hideHint(),i._model.model().onPointSelected().unsubscribeAll(o),i._isVisible.unsubscribe(a),r("cancelled"))}))}),{once:!0})}function a(){return!!i.isVisible()||(r("Chartwidget must be visible"),i.cancelRequestSelectPoint(),!1)}}))}showReplayOrderConfirmationDialog(){if(!this.model().isInReplay())return Promise.resolve()}_addPerfMark(e){Z("ChartWidget."+this._id+"."+e)}requestFullscreen(){this._options.requestFullscreen()}getResizerDetacher(){return this._options}_createHint(){if(null===this._hintDefferedPromise){var e=ie();this._hintDefferedPromise=e -;var t=this;Promise.all([i.e(5514),i.e(3402),i.e(6166)]).then(i.bind(i,5015)).then((function(i){e.resolve(new i.ChartEventHintRenderer(t._chartWidgetCollection.getContainer()))}))}return this._hintDefferedPromise?l(this._hintDefferedPromise).promise:null}_showHint(e){if(h.enabled("popup_hints"))if(null!==this._activeHint)this._activeHint.show(e);else{var t=this,i=this._createHint();null!==i&&i.then((function(i){if(null!==i){if(t._activeHint=i,void 0===e)return;t._activeHint.show(e)}}))}}_hideHint(){null!==this._activeHint&&this._activeHint.hide()}}},21269:(e,t,i)=>{"use strict";var s=i(88537).ensureNotNull,r=i(59572).applyOverridesToStudy,n=i(67072),o=i(68582),a=o.LineDataSourceApi,l=o.isLineToolRiskReward,c=i(67e3).StudyApi,h=i(82650).SeriesApi,d=i(32112).SelectionApi,u=i(56233).PaneApi,p=i(65862).createDwmAligner,_=i(29823).Interval,m=i(16906).supportedLineTools,g=i(65645).showTooManyStudiesNotice,f=i(80643),v=f.isNumber,S=f.deepEquals,y=i(14291).createLineToolProperties,b=i(14291).prepareLineToolPropertiesByOwnerSource,w=i(45973).lineToolEntityInfo,C=i(7099).LineToolsGroupControllerApi,P=i(65284).RemoveSourcesCommand;const{isLineDrawnWithPressedButton:T,isLineToolFinishRequiredWhenCreatedByApi:x}=i(44601),I=i(77216).EnvironmentState;var M=i(37786).ChartWidgetApiBase,L=i(85733);i(51768).trackEvent;function A(e,t){return t.map((function(t){return e.dataSourceForId(t)}))}e.exports=class extends M{constructor(e,t){super(e,t),this._panes=new WeakMap,this._studies=new WeakMap,this._lineDataSources=new WeakMap,this._selectionApi=null,this._prevVisibleRange=null,this._chartWidget.onAboutToBeDestroyed().subscribe(this,this._destroy,!0),this._chartWidget.withModel(this,(function(){this._chartWidget.model().timeScale().logicalRangeChanged().subscribe(this,this._onLogicalRangeChanged)}))}id(){return this._chartWidget.id()}_getPaneApi(e){var t=this._panes.get(e);return void 0===t&&(t=new u(e,this._chartWidget),this._panes.set(e,t)),t}_getStudyApi(e){var t=this._studies.get(e);return void 0===t&&(t=new c(e,this._chartWidget),this._studies.set(e,t)),t}_getLineDataSourceApi(e){var t=this._lineDataSources.get(e);return void 0===t&&(t=new a(e,this._chartWidget.model(),{apiPointsToDataSource:this._convertUserPointsToDataSource.bind(this),dataSourcePointsToPriced:e=>{var t=this._chartWidget.model().mainSeries().syncModel(),i=this._chartWidget.model().timeScale();return e.map(e=>{var s=i.normalizeBarIndex(e.index);return{price:e.price,time:this._convertTimeToPublic(t.projectTime(s.time_t,s.offset))}})}}),this._lineDataSources.set(e,t)),t}executeActionById(e){this._chartWidget.executeActionById(e)}getCheckableActionState(e){return this._chartWidget.getCheckableActionState(e)}setZoomEnabled(e){this._chartWidget.model().model().setZoomEnabled(e)}setScrollEnabled(e){this._chartWidget.model().model().setScrollEnabled(e)}refreshMarks(){this._chartWidget.refreshMarks()}clearMarks(){this._chartWidget.clearMarks()}symbol(){return this._chartWidget.getSymbol()}symbolExt(){var e=this._chartWidget.model().mainSeries().symbolInfo();return e?{ -symbol:e.name,full_name:e.full_name,exchange:e.exchange,description:e.description,type:e.type,pro_name:e.pro_name,typespecs:e.typespecs}:null}resolution(){return this._chartWidget.model().mainSeries().properties().interval.value()}resetData(){this._chartWidget.model().mainSeries().rerequestData()}setEntityVisibility(e,t){console.warn("`setEntityVisibility` is deprecated. Use shape/study API instead");var i=this._chartWidget.model().model().dataSourceForId(e);if(i){var s=i.properties();s&&s.visible&&s.visible.setValue(t)}}availableZOrderOperations(e){var t=A(this._chartWidget.model().model(),e);return this._chartWidget.model().availableZOrderOperations(t)}sendToBack(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().sendToBack(t)}bringToFront(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().bringToFront(t)}insertAfter(e,t){var i=this._chartWidget.model().model(),s=A(i,e),r=i.dataSourceForId(t);this._chartWidget.model().insertAfter(s,r)}insertBefore(e,t){var i=this._chartWidget.model().model(),s=A(i,e),r=i.dataSourceForId(t);this._chartWidget.model().insertBefore(s,r)}bringForward(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().bringForward(t)}sendBackward(e){var t=A(this._chartWidget.model().model(),e);this._chartWidget.model().sendBackward(t)}showPropertiesDialog(e){var t=this._chartWidget.model().model().dataSourceForId(e);if(null===t)throw new Error("Study or shape "+e+" does not exist");this._chartWidget.showChartPropertiesForSource(t)}getAllShapes(){return this._chartWidget.model().model().allLineTools().map(w).filter((function(e){return null!==e.name}))}removeAllShapes(){this._chartWidget.removeAllDrawingTools()}removeAllStudies(){this._chartWidget.removeAllStudies()}removeEntity(e,t){var i=this._chartWidget.model().chartModel().dataSourceForId(e);i?t&&t.disableUndo?new P(this._chartWidget.model().chartModel(),[i],"").redo():this._chartWidget.model().removeSource(i,!0,!0):console.warn("Can't find a source with id: "+e)}removeEntityWithUndo(e){var t=this._chartWidget.model().chartModel().dataSourceForId(e);this._chartWidget.model().removeSource(t,!1)}selection(){return null===this._selectionApi&&(this._selectionApi=new d(this._chartWidget.model().model())),this._selectionApi}createStudyTemplate(e){return this._chartWidget.model().model().studyTemplate(e.saveSymbol,e.saveInterval)}drawOnAllCharts(e){L.drawOnAllCharts.setValue(e)}applyStudyTemplate(e){this._chartWidget.model().applyStudyTemplate(e,""+1e3*Math.random())}setVisibleRange(e,t){return new Promise(function(i){this._chartWidget.setVisibleTimeRange(e.from,e.to,t,i)}.bind(this))}getVisibleRange(){var e={from:0,to:0},t=this._chartWidget.model().timeScale();if(t.isEmpty())return e;var i=t.coordinateToVisibleIndex(0),s=t.coordinateToVisibleIndex(t.width()-1),r=this._convertIndexToPublicTime(s);return null===r||(e.from=this._convertIndexToPublicTime(Math.max(t.points().firstIndex(),i)),e.to=r),e}getVisiblePriceRange(){ -return console.warn("`getVisiblePriceRange` is deprecated. Use Price Scale API instead"),this._chartWidget.model().mainSeries()?this._chartWidget.model().mainSeries().priceScale().priceRangeInPrice():null}scrollPosition(){return console.warn("`scrollPosition` is deprecated. Use rightOffset from Time Scale API instead"),this._chartWidget.model().timeScale().rightOffset()}defaultScrollPosition(){return console.warn("`defaultScrollPosition` is deprecated. Use defaultRightOffset from Time Scale API instead"),this._chartWidget.model().timeScale().defaultRightOffset().value()}_createTradingPrimitive(e,t){var i,r=this._chartWidget.model(),n=r.model(),o=n.paneForSource(n.mainSeries());function a(){var e=TradingView.CLOSE_PLOT,t=s(r.mainSeries().bars().last());return{index:t.index,price:t.value[e]}}return(i=t?n.createLineTool(o,a(),e):r.createLineTool({pane:o,point:a(),linetool:e}))?i._adapter:void 0}createOrderLine(e){e=e||{};return this._createTradingPrimitive("LineToolOrder",e.disableUndo)}createPositionLine(e){e=e||{};return this._createTradingPrimitive("LineToolPosition",e.disableUndo)}createExecutionShape(e){e=e||{};return this._createTradingPrimitive("LineToolExecution",e.disableUndo)}createShape(e,t){return this.createMultipointShape([e],t)}_alignPoints(e){var t=this._chartWidget.model().model(),i=t.mainSeries(),s=i.interval();if(t.timeScale().isEmpty()||!_.isDWM(s))return e;var r=p(s,i.symbolInfo());return null===r?e:e.map((function(e){return r.timeToSessionStart(1e3*e)/1e3}))}_convertUserPointsToDataSource(e){var t=this._chartWidget.model().model(),i=t.mainSeries(),s=t.timeScale().points(),r=i.data();if(t.timeScale().isEmpty())return null;var n=e.map((function(e){return e.time||0})),o=this._alignPoints(n);function a(e,t,n){var o=s.closestIndexLeft(e)||0,a={index:o},l=s.valueAt(o);if(e>l&&o===s.lastIndex())(c=i.syncModel().distance(l,e)).success&&(a.index=a.index+c.result);else if(e2)throw new Error("Wrong points count for "+i.shape+". Required 1 or 2");2===c.length&&(d.startChanging(1,c[1]),d.setPoint(1,c[1]),d.endChanging())}else{var _=d.pointsCount();if(_!==c.length&&-1!==_)throw new Error("Wrong points count for "+i.shape+". Required "+_);for(var g=new I(void 0,!0),f=T(s.name),v=1;v{"use strict";var s=i(2872),r=i(88537).assert,n=i(28353).t,o=i(81836).createDeferredPromise,a=(n=i(28353).t,i(24980).TranslatedString),l=i(42060).layouts,c=i(49483).supportTouch,h=i(52940).createUndoHistory,d=i(85733),u=i(25760),p=i(68335),_=i(76422),m=i(67337),g=i(52714),f=i(98125).getLogger("Chart.ChartWidgetCollection"),v=i(54475).preventDefaultForContextMenu,S=i(16654),y=i(64237).rangesAreEqual,b=i(13323).GeneralChartPropertiesRenderer,w=i(9315).setLastUsedResolution,C=i(42120).CompareDialogRenderer,P=i(84015).isOnMobileAppPage,T=i(10480),x=i(37667),I=i(8578),M=I.applyIndicatorsToAllChartsImpl,L=I.applyIndicatorToAllChartsImpl,A=I.lineToolsAndGroupsDTOsImpl,E=I.getStateForChartImpl,k=I.resetLineToolsInvalidatedImpl,D=I.applyLineToolUpdateNotificationImpl,V=I.createClipboardHandler,B=I.chartsSymbolsImpl,N=I.updateLayoutImpl,R=I.computeContentBoxImpl,O=(I.getVisuallyAdjacentDefImpl, -I.setLayoutImpl),F=I.removeChartWidgetSubscriptionsImpl,W=I.createChartWidgetImpl,H=I.generateNewChartId,z=I.syncCrosshairImpl,U=I.createBroadcastChannel,j=I.destroyBroadcastChannel,G=I.syncScrollImpl,q=I.allInitialModelsCreated,Y=I.allInitialSymbolsResolved,K=I.applyThemeImpl,$={saveChartEnabled:!0,takeScreenshotEnabled:!0,publishedChartsEnabled:!0},X=new a("symbol lock",n("symbol lock")),Z=new a("interval lock",n("interval lock")),J=new a("date range lock",n("date range lock")),Q=new a("track time",n("track time")),ee=new a("change symbol",n("change symbol")),te=new a("change resolution",n("change resolution")),ie=new a("change series style",n("change series style"));n("Bar Replay isn't available for this chart type. Do you want to exit Bar Replay?");e.exports=function(e){var t=this,n=Object.assign({},$,e),a=new g,se=n.readOnly||!1,re=[],ne=0,oe=new g,ae=new g,le=new g,ce="s",he=new g(null),de=new Map,ue=new g([]),pe=new g,_e=[],me=!1,ge=!1,fe=new g(!1),ve=new g(null),Se=new g(!1),ye=new g(!1),be=new g(!1),we=new g(!1),Ce=new g(!1);Ce.subscribe(Ct),he.subscribe(Pt);var Pe=new g(TVSettings.getBool("chart.syncCrosshair",!0)),Te=u.createGroup({desc:"Layout"}),xe=null,Ie=null,Me=null,Le=null;if(window.TVD){var Ae=window.TVD.crosshairSyncEnabled;Ae?(Ae.value()&&(Me=U(Qe)),Le=Ae.subscribe(e=>{e?Me=U(Qe):(j(Qe()),Me=null)})):Me=U(Qe)}var Ee=Pe.value();Pe.subscribe((function(e){Ee=e=!!e,TVSettings.setValue("chart.syncCrosshair",e);for(var t=0;t{var i=n.resizerBridge,r=[i.container.spawn(),i.width.spawn(),i.height.spawn()],o=i.container.value(),a=new s,l=function(){a.fire()};r.forEach((function(e){e.subscribe(l)})),Ye=new e(qe.value(),a,(function(){var e=o.getBoundingClientRect(),t=R(Qe());return t.top=e.top+t.top,t.left=e.left+t.left,t}),t,ChartApiInstance,Ne,n.seriesControlBar),Ke=function(){null!==Ye&&(Ye.destroy(),Ye=null,qe.value().remove(),qe.setValue(null)),r.forEach((function(e){e.destroy()})),a.destroy() -}}));var $e=new b(t),Xe=new C(t);function Ze(){Ge.setValue(re.some(e=>{const t=e.chartWidget.lineToolsSynchronizer();return null!==t&&t.hasChanges().value()}))}function Je(e){return I.checkProFeatureImpl(Qe(),e)}function Qe(){return{undoHistory:Fe,chartWidgetsDefs:re,chartsCountToSave:et,actualLayoutCount:tt,savedChartWidgetOptions:_e,activeChartWidget:a,options:n,parent:We,toastsFactory:null,crosshairLockRaw:Ee,crossHairSyncBroadcast:Me,setChartStorageNotificationSubscription:e=>{Ie=e},maximizedChartDef:Be,setMaximized:ot,layoutTemplate:le,widthWV:De,heightWV:Ve,checkProFeature:Je,lineToolsSynchronizerHasChanges:Ge,recalcHasChanges:Ze,onZoom:Ue,onScroll:je,layoutType:ce,layoutWV:ke,setLayoutType:e=>{ce=e},isPhoneSize:fe,viewMode:pe,updateViewMode:lt,loadingContent:me,setLoadingContent:e=>{me=e},initialLoading:ge,inlineChartsCount:ae,updateWatchedValue:ct,checkAllPendingModelsAlreadyCreated:at,readOnly:se,symbolLock:ye,customLegendWidgetsFactoriesMap:Ot,globalDetachable:oe,saveChartService:xe,customSources:Rt,updateActivityView:ht,chartWidgetCreatedDelegate:ze,sizingState:ve,currentLayoutResizeAction:he,allLayoutSizesState:de,splitters:ue,trackTimeLock:we,widgetOptions:Ne,dateRangeLock:Ce,bottomToolbar:qe,layoutSizesChanged:Se,subscribeToCompletedEventForDateRangeSync:yt}}function et(){return tt()}function tt(){return l[ce].count}function it(e,t,i,s,r){return E(Qe(),e,t,i,s,r)}function st(){N(Qe())}function rt(e){return e.rdState.owner.value()!==e}function nt(e){return O(Qe(),e,t)}function ot(e){Be.value()!==e&&(Be.setValue(e),nt(ce))}function at(){re.every(e=>e.chartWidget.hasModel())&&(ct(),_.emit("layout_changed"))}function lt(){"s"===ce||Be.value()?pe.setValue((void 0).ForceFullscreen):pe.setValue((void 0).Multichart)}function ct(){var e=Math.min(le.value().count,re.length)-1;if(e<0)a.deleteValue();else{var t=ne;t<0&&(t=0),t>e&&(t=e),a.setValue(re[t].chartWidget)}}function ht(){for(var e=re.length;e--;){var t=e===ne;re[e].container.value().classList.toggle("active",t),re[e].container.value().classList.toggle("inactive",!t)}}function dt(e){}ve.subscribe(()=>st()),De.subscribe(st),Ve.subscribe(st),this.updateLayout=st;var ut=new s,pt=new g,_t=new g([]),mt=null;function gt(e){var t=e.mainSeries().properties();t.style.subscribe(null,ft),ft(t.style),e.model().onSelectedSourceChanged().subscribe(null,vt),Ce.value()&&(bt(e),xt()),vt(e.selection().allSources())}function ft(e){pt.setValue(e.value())}function vt(){var e=mt.model();_t.setValue(e.selection().allSources())}a.subscribe((function(e){if(e){for(var t,i=re.length;i--;)if(re[i].chartWidget===e){t=i;break}if(!isFinite(t))throw new Error("Cannot make detached ChartWidget active");if(ne!==t){Be.value()&&(rt(re[t])||Be.setValue(re[t])),ne=t,ht();for(i=re.length;i--;)re[i].chartWidget!==e&&re[i].chartWidget.setActive(!1);Ht(),e.setActive(!0)}!function(e){if(mt!==e){if(mt&&(mt.modelCreated().unsubscribe(null,gt),mt.hasModel())){var t=mt.model();Ce.value()&&wt(t),t.mainSeries().properties().style.unsubscribe(null,ft), -t.model().onSelectedSourceChanged().unsubscribe(null,vt),mt=null}e&&(mt=e,e.hasModel()?gt(e.model()):e.modelCreated().subscribe(null,gt))}}(e)}}),{callWithLast:!0});var St=new Map;function yt(e,t){var i=e.id();if(!St.has(i)){var s=function(){St.delete(e.id()),xt(t?e:void 0)};e.model().mainSeries().dataEvents().completed().subscribe(null,s,!0),St.set(i,{cw:e,callback:s})}}function bt(e){e.timeScale().visibleBarsStrictRangeChanged().subscribe(null,Tt)}function wt(e){e.timeScale().visibleBarsStrictRangeChanged().unsubscribe(null,Tt),St.forEach((function(e){var t=e.cw,i=e.callback;t.model().mainSeries().dataEvents().completed().unsubscribe(null,i)})),St.clear()}function Ct(e){var t=a.value();if(t&&t.hasModel()){var i=t.model();e?(bt(i),xt()):wt(i)}}function Pt(e){Ce.value()&&null===e&&xt()}function Tt(e,t){xt()}function xt(e){if(Ce.value()&&null===he.value()){var t=a.value(),i=t.model().mainSeries();if(x.isTimeBasedStyle(i.style())){var s=t.model().timeScale(),r=s.visibleBarsStrictRange();if(null!==r){var n=r.firstBar(),o=Math.min(r.lastBar(),s.points().lastIndex()),l=s.indexToTimePoint(n);null===l&&i.endOfData()&&(l=s.indexToTimePoint(s.points().firstIndex()));var c=s.indexToTimePoint(o);if(null!==l&&null!==c){var h=i.barCloseTime();null!==h&&hnull===Be.value()?null:Be.value().chartWidget,destroy:function(){if(Et.fire(),Nt(!1),null!==Ke&&(Ke(),Ke=null),F(Qe()),Ce.unsubscribe(Ct),he.unsubscribe(Pt),re.forEach((function(e){void 0!==e.timingsMeter&&e.timingsMeter.destroy(),e.chartWidget.destroy()})),n.resizerBridge.remove(),ue.value().forEach(e=>{e.mouseHandler.destroy(),e.mouseListener.destroy()}),window.removeEventListener("resize",st),d.tool.unsubscribe(Ht),d.tool.unsubscribe(zt),He.resolve(),We.remove(),Rt.clear(),Ot.clear(),Te.destroy(),Ie&&Ie.destroy(),Ft&&Ft.destroy(),window.TVD){const e=window.TVD.crosshairSyncEnabled;e&&e.unsubscribe(Le),j(Qe())}},onAboutToBeDestroyed:Et,layout:ke.readonly(),setLayout:nt,activeChartWidget:a,viewMode:pe,activeChartStyle:pt.readonly(),setChartStyleToWidget:function(e,t){t||(t=a.value()),t&&function(e,t){var i=e.model(),s=i.mainSeries().properties().style;i.setChartStyleProperty(s,t,ie)}(t,e)},selectedSources:_t.readonly(),metaInfo:Oe,state:function(e,i,s,r){for(var n=[],o=et(),a=0;a{c.layoutsSizes[t]=e}),c},lineToolsAndGroupsDTOs:function(){return A(Qe())},resetLineToolsInvalidated:function(e,t){return k(Qe(),e,t)},applyLineToolUpdateNotification:D.bind(null,re),readOnly:function(){return se},onZoom:function(){return Ue},onScroll:function(){return je},resizerBridge:function(){return n.resizerBridge},lock:{symbol:ye,setSymbolLockWithUndo:function(e){if(e!==ye.value()){if(Fe.beginUndoMacro(X),e)for(var t=a.value(),i=t.getSymbol(),s=0;sz(Qe(),e,t,i,s),syncScroll:function(e,t){return G(Qe(),e,t)},setSymbolAll:Mt,clearChartMetaInfo:function(){Oe.id.setValue(null),Oe.uid.setValue(void 0),Oe.name.setValue(void 0)},takeScreenshot:I.takeScreenshot.bind(this,n.snapshotUrl,this),takeServerScreenshot:I.takeServerScreenshot.bind(this,n.snapshotUrl,this),loadContent:Wt,purgeUnusedWidgets:function(){for(var e=l[ce].count;e1},applyIndicatorToAllCharts:function(e,t,i,s){L(Qe(),e,t,i,s)},setActive:Nt,inlineChartsCount:ae.readonly(),revertToInline:function(){ot(null);for(var e=0;eSe}),Wt(n.content,!0),ke.subscribe((function(){ht()})),ke.hook=function(e){return e===this.value()?e:Je(e)},se&&(ke.writeLock=!0),window.addEventListener("resize",st);var Ut=0;function jt(){0===--Ut&&_.emitOnce("onChartReady")}if(re.forEach((function(e){if(e){Ut++;var t=e.chartWidget;t.withModel(null,(function(){n.metaInfo&&t.model().model().setChartSaveTime(1e3*n.metaInfo.lastModified);var e=t.model().mainSeries();if(e.bars().size()>0||e.isStatusBad())jt();else{var i=e.dataEvents(),s=function(){jt(),i.barReceived().unsubscribe(null,s),i.completed().unsubscribe(null,s),i.error().unsubscribe(null,s)};i.barReceived().subscribe(null,s),i.completed().subscribe(null,s),i.error().subscribe(null,s)}}))}})),c()){var Gt=d.tool.setValue;d.tool.setValue=function(){t.selectedSources.value()&&t.activeChartWidget.value().model().lineBeingCreated()&&t.activeChartWidget.value().model().cancelCreatingLine(),Gt.apply(d.tool,arguments)}}q(Qe()).then(Y).then((function(){window.saver&&window.is_authenticated&&n.widgetOptions.justCloned&&window.saver.saveChartSilently()})).catch(f.logError.bind(f))}},97056:(e,t,i)=>{"use strict";i.d(t,{ContextMenuManager:()=>s});var s,r=i(28296),n=i(59064);!function(e){let t=null,s=null;const o=[],a={createAction:e=>new r.Action({...e,actionId:"Chart.CustomActionId"}),createAsyncAction:e=>new r.ActionAsync("Chart.CustomActionId",e),createSeparator:()=>new r.Separator};async function l(e,r={},n={menuName:""},l){let h;null!==t&&(e=await t(e,a));const d=()=>{const e=o.indexOf(h);-1!==e&&o.splice(e,1),void 0!==l&&l()} -;if(null!==s)h=await s(e,n,d),c();else{const t=await Promise.all([i.e(5514),i.e(2e3),i.e(3466),i.e(7427),i.e(1112),i.e(6909),i.e(5998),i.e(3520),i.e(2849),i.e(1075),i.e(7210),i.e(1584)]).then(i.bind(i,46608));h=new t.ContextMenuRenderer(e,r,d,c)}return o.push(h),h}function c(){(0,n.globalCloseMenu)()}e.createMenu=l,e.showMenu=function(e,t,i={},s,r){return l(e,i,s,r).then(e=>e.show(t))},e.setCustomRendererFactory=function(e){s=e},e.setCustomItemsProcessor=function(e){t=e},e.hideAll=c,e.getShown=function(){for(let e=0;e{"use strict";i.d(t,{DialogRenderer:()=>n});var s=i(52714),r=i.n(s);class n{constructor(){this._container=document.createElement("div"),this._visibility=new(r())(!1)}visible(){return this._visibility.readonly()}_setVisibility(e){this._visibility.setValue(e)}}},73591:(e,t,i)=>{"use strict";var s;i.d(t,{TabNames:()=>s}),function(e){e.background="Background",e.coordinates="Coordinates",e.drawings="Drawings",e.events="Events",e.eventsAndAlerts="Events & Alerts",e.inputs="Inputs",e.properties="Properties",e.scales="Scales",e.legend="Legend",e.sourceCode="Source Code",e.style="Style",e.symbol="Symbol",e.timezoneSessions="Timezone/Sessions",e.trading="Trading",e.visibility="Visibility",e.text="Text"}(s||(s={}))},33225:(e,t,i)=>{"use strict";function s(e){return e.getAll().some(e=>e.isInitialized())}function r(e,t){const i=e.getAll(),s=()=>{t(),i.forEach(e=>{e.chartWidgetInitialized.unsubscribe(null,s)})};i.forEach(e=>{e.chartWidgetInitialized.subscribe(null,s,!0)})}i.r(t),i.d(t,{isAnyChartWidgetInitialized:()=>s,waitAnyChartWidgetInitialized:()=>r})},12409:(e,t,i)=>{"use strict";i.d(t,{getFavoriteDrawingToolbarPromise:()=>o,createFavoriteDrawingToolbar:()=>a});i(28353);var s=i(18387);let r=null,n=null;function o(){return n}function a(){null===n&&(n=Promise.all([i.e(5514),i.e(9129),i.e(2e3),i.e(6363),i.e(3466),i.e(7836),i.e(8463),i.e(3921),i.e(7427),i.e(1112),i.e(6909),i.e(5998),i.e(6416),i.e(7419),i.e(3520),i.e(9042),i.e(323),i.e(2849),i.e(880),i.e(1075),i.e(9505),i.e(1890),i.e(1784),i.e(7210),i.e(2306)]).then(i.bind(i,56588)).then(({FavoriteDrawingToolbar:e})=>(r=null!==r?r:new e({left:window.innerWidth/2,top:s.HEADER_TOOLBAR_HEIGHT_EXPANDED+61}),r)))}},41847:(e,t,i)=>{"use strict";i.d(t,{getPriceAxisNameInfo:()=>o});const s=["Z","Y","X","W","V","U","T","S"],r=["A","B","C","D","E","F","G","H"];class n{constructor(e){this.label=e}equals(e){return null!==e&&this.label===e.label}}function o(e,t){const i="left"===e?s:r;return new n(t{"use strict";i.d(t,{CHART_WIDGET_COLLECTION_SERVICE:()=>s});i(16216);const s={id:"ChartWidgetCollectionService"};var r;!function(e){e.Multichart="multichart",e.ForceFullscreen="force-fullscreen"}(r||(r={}))},23653:(e,t,i)=>{"use strict";i.d(t,{InvalidationLevel:()=>s,InvalidationMask:()=>a,defaultInvalidationLevel:()=>o});var s,r=i(88537);class n{constructor(e=o){this._paneInvalidationLevel=o,this._leftPriceScalesInvalidationMap=new Map, -this._rightPriceScalesInvalidationMap=new Map,this._invalidationLevel=e}fullInvalidation(){return this._invalidationLevel}invalidateAll(e){this._invalidationLevel=Math.max(this._invalidationLevel,e)}invalidatePane(e){this._paneInvalidationLevel=Math.max(this._invalidationLevel,e)}invalidatePriceScale(e,t,i){const s="left"===e?this._leftPriceScalesInvalidationMap:this._rightPriceScalesInvalidationMap,r=s.get(t)||o;s.set(t,Math.max(r,i))}invalidationLevelForPane(){return Math.max(this._paneInvalidationLevel,this._invalidationLevel)}getterForPriceScaleInvalidationLevelBySide(e){const t="left"===e?this._leftPriceScalesInvalidationMap:this._rightPriceScalesInvalidationMap;return e=>Math.max(t.get(e)||o,this._invalidationLevel)}priceScaleSideMaxLevel(e){const t="left"===e?this._leftPriceScalesInvalidationMap:this._rightPriceScalesInvalidationMap;let i=this._invalidationLevel;return t.size>0&&t.forEach(e=>{e>i&&(i=e)}),i}merge(e){this._invalidationLevel=Math.max(this._invalidationLevel,e._invalidationLevel),this._paneInvalidationLevel=Math.max(this._paneInvalidationLevel,e._paneInvalidationLevel),e._leftPriceScalesInvalidationMap.forEach((e,t)=>{const i=this._leftPriceScalesInvalidationMap.get(t)||o;this._leftPriceScalesInvalidationMap.set(t,Math.max(i,e))}),e._rightPriceScalesInvalidationMap.forEach((e,t)=>{const i=this._rightPriceScalesInvalidationMap.get(t)||o;this._rightPriceScalesInvalidationMap.set(t,Math.max(i,e))})}}!function(e){e[e.None=0]="None",e[e.Cursor=1]="Cursor",e[e.Light=2]="Light",e[e.Full=3]="Full"}(s||(s={}));const o=s.None;class a{constructor(e=o){this._panesOrderChanged=!1,this._keepVisibleTimeRangeOnResize=!1,this._timeAxisInvalidationLevel=o,this._invalidatedPanes=new Map,this._additionalActions=[],this._invalidationLevel=e}invalidateAll(e){this._invalidationLevel!==e&&(this._invalidationLevel=Math.max(this._invalidationLevel,e),this._invalidatedPanes.forEach(e=>{e.invalidateAll(this._invalidationLevel)}))}invalidateAllPane(e,t){this._invalidatedPanes.has(e)||this._invalidatedPanes.set(e,new n(this._invalidationLevel)),(0,r.ensureDefined)(this._invalidatedPanes.get(e)).invalidateAll(t)}invalidatePriceScale(e,t,i,s){this._invalidatedPanes.has(e)||this._invalidatedPanes.set(e,new n(this._invalidationLevel)),(0,r.ensureDefined)(this._invalidatedPanes.get(e)).invalidatePriceScale(t,i,s)}invalidateTimeScale(e){this._timeAxisInvalidationLevel=Math.max(this._timeAxisInvalidationLevel,e)}invalidatePanesOrder(){this._panesOrderChanged=!0}lockVisibleTimeRangeOnResize(){this._keepVisibleTimeRangeOnResize=!0}fullInvalidation(){return this._invalidationLevel}maxPaneInvalidation(){const e=[];return this._invalidatedPanes.forEach(t=>{e.push(t.fullInvalidation())}),Math.max(...e,this._invalidationLevel)}invalidateForPane(e){return this._invalidatedPanes.get(e)||new n(this._invalidationLevel)}invalidateForTimeScale(){return Math.max(this._timeAxisInvalidationLevel,this._invalidationLevel)}validationActions(){return this._additionalActions}addValidationAction(e){this._additionalActions.push(e)}merge(e){ -this._invalidationLevel=Math.max(this._invalidationLevel,e._invalidationLevel),this._panesOrderChanged=this._panesOrderChanged||e._panesOrderChanged,this._keepVisibleTimeRangeOnResize=this._keepVisibleTimeRangeOnResize||e._keepVisibleTimeRangeOnResize,this._invalidatedPanes.forEach(e=>{e.invalidateAll(this._invalidationLevel)}),e._invalidatedPanes.forEach((e,t)=>{this._invalidatedPanes.has(t)||this._invalidatedPanes.set(t,new n(this._invalidationLevel)),(0,r.ensureDefined)(this._invalidatedPanes.get(t)).merge(e)}),this._timeAxisInvalidationLevel=Math.max(this._timeAxisInvalidationLevel,e._timeAxisInvalidationLevel);for(let t=0;t{"use strict";i.d(t,{lastMouseOrTouchEventInfo:()=>r,setLastMouseOrTouchEventInfo:()=>n});let s=(0,i(49483).supportTouch)()?{isTouch:!0,stylus:!1}:{isTouch:!1};function r(){return s}function n(e){s=e.isTouch?{isTouch:!0,stylus:e.stylus}:{isTouch:!1}}},37416:(e,t,i)=>{"use strict";i.d(t,{layoutInitialSizingState:()=>r});var s=i(3308);i(88537);function r(e){return function e(t){return t.map(i=>{if((0,s.default)(i))return{percent:1/t.length};{const s=i.slice(1);return{percent:1/t.length,substate:e(s)}}})}(e.slice(1))}},42060:(e,t,i)=>{"use strict";i.d(t,{layouts:()=>r,isMultipleLayout:()=>n});i(38069),i(37416);let s;s={};const r={...{s:{title:"1 chart",count:1,layoutType:"s",sizer:(e,t)=>{if(0!==t)throw new RangeError("invalid index");return e},splitters:()=>[],resizeApplier:(e,t,i,s,r)=>r,syncSublayoutsBySplitter:(e,t)=>t,expression:["h",0]}},...s};function n(e){return!function(e){return"s"===e}(e)}},7099:(e,t,i)=>{"use strict";i.d(t,{LineToolsGroupControllerApi:()=>o});var s=i(59555),r=i(88537),n=i(14291);class o{constructor(e,t){this._controller=e,this._model=t}createGroupFromSelection(){return this._controller.createGroupFromSelection().id}removeGroup(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.removeGroup(t)}groups(){return this._controller.groups().map(e=>e.id)}shapesInGroup(e){const t=(0,r.ensureDefined)(this._groupById(e));return(0,s.sortSources)(t.lineTools()).map(e=>e.id())}excludeShapeFromGroup(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._model.dataSourceForId(t));(0,r.assert)((0,n.isLineTool)(s),"Passed shapeId is not a line tool"),this._controller.excludeLineToolFromGroup(i,s)}addShapeToGroup(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._model.dataSourceForId(t));(0,r.assert)((0,n.isLineTool)(s),"Passed shapeId is not a line tool"),this._controller.addLineToolToGroup(i,s)}availableZOrderOperations(e){ -const t=(0,r.ensureDefined)(this._groupById(e));return this._controller.availableZOrderOperations(t)}bringToFront(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.bringToFront(t)}bringForward(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.bringForward(t)}sendBackward(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.sendBackward(t)}sendToBack(e){const t=(0,r.ensureDefined)(this._groupById(e));this._controller.sendToBack(t)}insertAfter(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._groupById(t)||this._model.dataSourceForId(t));this._controller.insertAfter(i,s)}insertBefore(e,t){const i=(0,r.ensureDefined)(this._groupById(e)),s=(0,r.ensureNotNull)(this._groupById(t)||this._model.dataSourceForId(t));this._controller.insertBefore(i,s)}groupVisibility(e){return(0,r.ensureDefined)(this._groupById(e)).visibility()}setGroupVisibility(e,t){const i=(0,r.ensureDefined)(this._groupById(e));this._controller.setGroupVisibility(i,t)}groupLock(e){return(0,r.ensureDefined)(this._groupById(e)).locked()}setGroupLock(e,t){const i=(0,r.ensureDefined)(this._groupById(e));this._controller.setGroupLock(i,t)}getGroupName(e){return(0,r.ensureDefined)(this._groupById(e)).name()}setGroupName(e,t){const i=(0,r.ensureDefined)(this._groupById(e));this._controller.setGroupName(i,t)}canBeGroupped(e){const t=e.map(e=>(0,r.ensureNotNull)(this._model.dataSourceForId(e)));return!t.some(e=>!(0,n.isLineTool)(e))&&this._controller.canBeGroupped(t)}_groupById(e){return this._controller.groups().find(t=>t.id===e)}}},54386:(e,t,i)=>{"use strict";i.d(t,{MouseEventHandler:()=>h});var s=i(49483),r=i(88537),n=i(80643),o=i(80007),a=i(71413);const l=s.isSafari?"click":"auxclick",c={treatVertTouchDragAsPageScroll:!1,treatHorzTouchDragAsPageScroll:!1};class h{constructor(e,t,i){this._clickCount=0,this._clickTimeoutId=null,this._clickPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY},this._tapCount=0,this._tapTimeoutId=null,this._tapPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY},this._longTapTimeoutId=null,this._longTapActive=!1,this._mouseMoveStartPosition=null,this._touchMoveStartPosition=null,this._touchMoveExceededManhattanDistance=!1,this._cancelClick=!1,this._cancelTap=!1,this._unsubscribeOutsideMouseEvents=null,this._unsubscribeOutsideTouchEvents=null,this._unsubscribeMobileSafariEvents=null,this._unsubscribeMousemove=null,this._unsubscribeRootMouseEvents=null,this._unsubscribeRootTouchEvents=null,this._startPinchMiddlePoint=null,this._startPinchDistance=0,this._pinchPrevented=!1,this._preventTouchDragProcess=!1,this._mousePressed=!1,this._lastTouchEventTimeStamp=0,this._activeTouchId=null,this._acceptMouseLeave=!s.CheckMobile.iOS(),this._onFirefoxOutsideMouseUp=e=>{this._mouseUpHandler(e)},this._onMobileSafariDoubleClick=e=>{if(this._firesTouchEvents(e)){const t=this._makeCompatEvent(e);if(++this._tapCount,this._tapTimeoutId&&this._tapCount>1){const{manhattanDistance:i}=this._touchMouseMoveWithDownInfo(u(e),this._tapPosition) -;i<30&&!this._cancelTap&&this._processTouchEvent(t,this._handler.doubleTapEvent),this._resetTapTimeout()}}else{const t=this._makeCompatEvent(e);if(++this._clickCount,this._clickTimeoutId&&this._clickCount>1){const{manhattanDistance:i}=this._touchMouseMoveWithDownInfo(u(e),this._clickPosition);i<5&&!this._cancelClick&&this._processMouseEvent(t,this._handler.mouseDoubleClickEvent),this._resetClickTimeout()}}},this._target=e,this._handler=t,this._options=(0,n.merge)((0,n.clone)(c),i||{}),this._init()}destroy(){null!==this._unsubscribeOutsideMouseEvents&&(this._unsubscribeOutsideMouseEvents(),this._unsubscribeOutsideMouseEvents=null),null!==this._unsubscribeOutsideTouchEvents&&(this._unsubscribeOutsideTouchEvents(),this._unsubscribeOutsideTouchEvents=null),null!==this._unsubscribeMousemove&&(this._unsubscribeMousemove(),this._unsubscribeMousemove=null),null!==this._unsubscribeRootMouseEvents&&(this._unsubscribeRootMouseEvents(),this._unsubscribeRootMouseEvents=null),null!==this._unsubscribeRootTouchEvents&&(this._unsubscribeRootTouchEvents(),this._unsubscribeRootTouchEvents=null),null!==this._unsubscribeMobileSafariEvents&&(this._unsubscribeMobileSafariEvents(),this._unsubscribeMobileSafariEvents=null),this._clearLongTapTimeout(),this._resetClickTimeout()}_mouseEnterHandler(e){this._unsubscribeMousemove&&this._unsubscribeMousemove();const t=this._mouseMoveHandler.bind(this);if(this._unsubscribeMousemove=()=>{this._target.removeEventListener("mousemove",t)},this._target.addEventListener("mousemove",t),this._firesTouchEvents(e))return;const i=this._makeCompatEvent(e);this._processMouseEvent(i,this._handler.mouseEnterEvent),this._acceptMouseLeave=!0}_resetClickTimeout(){null!==this._clickTimeoutId&&clearTimeout(this._clickTimeoutId),this._clickCount=0,this._clickTimeoutId=null,this._clickPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY}}_resetTapTimeout(){null!==this._tapTimeoutId&&clearTimeout(this._tapTimeoutId),this._tapCount=0,this._tapTimeoutId=null,this._tapPosition={x:Number.NEGATIVE_INFINITY,y:Number.POSITIVE_INFINITY}}_mouseMoveHandler(e){if(this._mousePressed||null!==this._touchMoveStartPosition)return;if(this._firesTouchEvents(e))return;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.mouseMoveEvent),this._acceptMouseLeave=!0}_touchMoveHandler(e){const t=m(e.changedTouches,(0,r.ensureNotNull)(this._activeTouchId));if(null===t)return;if(this._lastTouchEventTimeStamp=_(e),null!==this._startPinchMiddlePoint)return;if(this._preventTouchDragProcess)return;this._pinchPrevented=!0;const i=this._touchMouseMoveWithDownInfo(u(t),(0,r.ensureNotNull)(this._touchMoveStartPosition)),{xOffset:s,yOffset:n,manhattanDistance:a}=i;if(this._touchMoveExceededManhattanDistance||!(a<5)){if(!this._touchMoveExceededManhattanDistance){const e=.5*s,t=n>=e&&!this._options.treatVertTouchDragAsPageScroll,i=e>n&&!this._options.treatHorzTouchDragAsPageScroll;t||i||(this._preventTouchDragProcess=!0),this._touchMoveExceededManhattanDistance=!0,this._cancelTap=!0,this._clearLongTapTimeout(), -this._resetTapTimeout()}if(!this._preventTouchDragProcess){const i=this._makeCompatEvent(e,t);this._processTouchEvent(i,this._handler.touchMoveEvent),(0,o.preventDefault)(e)}}}_mouseMoveWithDownHandler(e){if(0!==e.button)return;const t=this._touchMouseMoveWithDownInfo(u(e),(0,r.ensureNotNull)(this._mouseMoveStartPosition)),{manhattanDistance:i}=t;if(i>=5&&(this._cancelClick=!0,this._resetClickTimeout()),this._cancelClick){const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.pressedMouseMoveEvent)}}_touchMouseMoveWithDownInfo(e,t){const i=Math.abs(t.x-e.x),s=Math.abs(t.y-e.y);return{xOffset:i,yOffset:s,manhattanDistance:i+s}}_touchEndHandler(e){let t=m(e.changedTouches,(0,r.ensureNotNull)(this._activeTouchId));if(null===t&&0===e.touches.length&&(t=e.changedTouches[0]),null===t)return;this._activeTouchId=null,this._lastTouchEventTimeStamp=_(e),this._clearLongTapTimeout(),this._touchMoveStartPosition=null,this._unsubscribeRootTouchEvents&&(this._unsubscribeRootTouchEvents(),this._unsubscribeRootTouchEvents=null);const i=this._makeCompatEvent(e,t);if(this._processTouchEvent(i,this._handler.touchEndEvent),++this._tapCount,this._tapTimeoutId&&this._tapCount>1){const{manhattanDistance:e}=this._touchMouseMoveWithDownInfo(u(t),this._tapPosition);e<30&&!this._cancelTap&&this._processTouchEvent(i,this._handler.doubleTapEvent),this._resetTapTimeout()}else this._cancelTap||(this._processTouchEvent(i,this._handler.tapEvent),this._handler.tapEvent&&(0,o.preventDefault)(e));0===this._tapCount&&(0,o.preventDefault)(e),0===e.touches.length&&this._longTapActive&&(this._longTapActive=!1,(0,o.preventDefault)(e))}_mouseUpHandler(e){if(0!==e.button)return;const t=this._makeCompatEvent(e);if(this._mouseMoveStartPosition=null,this._mousePressed=!1,this._unsubscribeRootMouseEvents&&(this._unsubscribeRootMouseEvents(),this._unsubscribeRootMouseEvents=null),s.isFF){this._target.ownerDocument.documentElement.removeEventListener("mouseleave",this._onFirefoxOutsideMouseUp)}if(!this._firesTouchEvents(e))if(this._processMouseEvent(t,this._handler.mouseUpEvent),++this._clickCount,this._clickTimeoutId&&this._clickCount>1){const{manhattanDistance:i}=this._touchMouseMoveWithDownInfo(u(e),this._clickPosition);i<5&&!this._cancelClick&&this._processMouseEvent(t,this._handler.mouseDoubleClickEvent),this._resetClickTimeout()}else this._cancelClick||this._processMouseEvent(t,this._handler.mouseClickEvent)}_clearLongTapTimeout(){null!==this._longTapTimeoutId&&(clearTimeout(this._longTapTimeoutId),this._longTapTimeoutId=null)}_touchStartHandler(e){if(null!==this._activeTouchId)return;const t=e.changedTouches[0];this._activeTouchId=t.identifier,this._lastTouchEventTimeStamp=_(e);const i=this._target.ownerDocument.documentElement;this._cancelTap=!1,this._touchMoveExceededManhattanDistance=!1,this._preventTouchDragProcess=!1,this._touchMoveStartPosition=u(t),this._unsubscribeRootTouchEvents&&(this._unsubscribeRootTouchEvents(),this._unsubscribeRootTouchEvents=null);{const t=this._touchMoveHandler.bind(this),s=this._touchEndHandler.bind(this) -;this._unsubscribeRootTouchEvents=()=>{i.removeEventListener("touchmove",t),i.removeEventListener("touchend",s)},i.addEventListener("touchmove",t,{passive:!1}),i.addEventListener("touchend",s,{passive:!1}),this._clearLongTapTimeout(),this._longTapTimeoutId=setTimeout(this._longTapHandler.bind(this,e),240)}const s=this._makeCompatEvent(e,t);this._processTouchEvent(s,this._handler.touchStartEvent),this._tapTimeoutId||(this._tapCount=0,this._tapTimeoutId=setTimeout(this._resetTapTimeout.bind(this),500),this._tapPosition=u(t))}_wheelClickHandler(e){if(1!==e.button)return;if(this._firesTouchEvents(e))return;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.wheelClickEvent)}_mouseDownHandler(e){if(0!==e.button)return;const t=this._target.ownerDocument.documentElement;s.isFF&&t.addEventListener("mouseleave",this._onFirefoxOutsideMouseUp),this._cancelClick=!1,this._mouseMoveStartPosition=u(e),this._unsubscribeRootMouseEvents&&(this._unsubscribeRootMouseEvents(),this._unsubscribeRootMouseEvents=null);{const e=this._mouseMoveWithDownHandler.bind(this),i=this._mouseUpHandler.bind(this);this._unsubscribeRootMouseEvents=()=>{t.removeEventListener("mousemove",e),t.removeEventListener("mouseup",i)},t.addEventListener("mousemove",e),t.addEventListener("mouseup",i)}if(this._mousePressed=!0,this._firesTouchEvents(e))return;const i=this._makeCompatEvent(e);this._processMouseEvent(i,this._handler.mouseDownEvent),this._clickTimeoutId||(this._clickCount=0,this._clickTimeoutId=setTimeout(this._resetClickTimeout.bind(this),500),this._clickPosition=u(e))}_init(){this._target.addEventListener("mouseenter",this._mouseEnterHandler.bind(this)),this._target.addEventListener("touchcancel",this._clearLongTapTimeout.bind(this));{const e=this._target.ownerDocument,t=e=>{this._handler.mouseDownOutsideEvent&&(e.target&&this._target.contains(e.target)||this._handler.mouseDownOutsideEvent())};this._unsubscribeOutsideTouchEvents=()=>{e.removeEventListener("touchstart",t)},this._unsubscribeOutsideMouseEvents=()=>{e.removeEventListener("mousedown",t)},e.addEventListener("mousedown",t),e.addEventListener("touchstart",t,{passive:!0})}s.CheckMobile.iOS()&&(this._unsubscribeMobileSafariEvents=()=>{this._target.removeEventListener("dblclick",this._onMobileSafariDoubleClick)},this._target.addEventListener("dblclick",this._onMobileSafariDoubleClick)),this._target.addEventListener("mouseleave",this._mouseLeaveHandler.bind(this)),this._target.addEventListener("contextmenu",this._contextMenuHandler.bind(this)),this._target.addEventListener("touchstart",this._touchStartHandler.bind(this),{passive:!0}),(0,o.preventScrollByWheelClick)(this._target),this._target.addEventListener("mousedown",this._mouseDownHandler.bind(this)),this._target.addEventListener(l,this._wheelClickHandler.bind(this)),this._initPinch(),this._target.addEventListener("touchmove",()=>{},{passive:!1})}_initPinch(){ -void 0===this._handler.pinchStartEvent&&void 0===this._handler.pinchEvent&&void 0===this._handler.pinchEndEvent||(this._target.addEventListener("touchstart",e=>this._checkPinchState(e.touches),{passive:!0}),this._target.addEventListener("touchmove",e=>{if(2===e.touches.length&&null!==this._startPinchMiddlePoint&&void 0!==this._handler.pinchEvent){const t=e.touches[0],i=e.touches[1],s=p(t,i)/this._startPinchDistance,r=d(this._target);this._handler.pinchEvent(this._startPinchMiddlePoint,{x:t.clientX-r.left,y:t.clientY-r.top},{x:i.clientX-r.left,y:i.clientY-r.top},s),(0,o.preventDefault)(e)}},{passive:!1}),this._target.addEventListener("touchend",e=>{this._checkPinchState(e.touches)}))}_checkPinchState(e){1===e.length&&(this._pinchPrevented=!1),2!==e.length||this._pinchPrevented||this._longTapActive?this._stopPinch():this._startPinch(e)}_startPinch(e){if(void 0!==this._handler.pinchStartEvent){const t=d(this._target),i=e[0],s=e[1],r={x:i.clientX-t.left,y:i.clientY-t.top},n={x:s.clientX-t.left,y:s.clientY-t.top};this._startPinchMiddlePoint={x:(r.x+n.x)/2,y:(r.y+n.y)/2},this._startPinchDistance=p(i,s),this._handler.pinchStartEvent(this._startPinchMiddlePoint,r,n)}this._clearLongTapTimeout()}_stopPinch(){null!==this._startPinchMiddlePoint&&(this._startPinchMiddlePoint=null,void 0!==this._handler.pinchEndEvent&&this._handler.pinchEndEvent())}_mouseLeaveHandler(e){if(this._unsubscribeMousemove&&this._unsubscribeMousemove(),this._firesTouchEvents(e))return;if(!this._acceptMouseLeave)return;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.mouseLeaveEvent),this._acceptMouseLeave=!s.CheckMobile.iOS()}_longTapHandler(e){const t=m(e.touches,(0,r.ensureNotNull)(this._activeTouchId));if(null===t)return;const i=this._makeCompatEvent(e,t);this._processTouchEvent(i,this._handler.longTapEvent),this._processTouchEvent(i,this._handler.touchContextMenuEvent),this._cancelTap=!0,this._longTapActive=!0}_contextMenuHandler(e){if((0,o.preventDefault)(e),null!==this._touchMoveStartPosition)return;if(this._firesTouchEvents(e))return;const t=this._makeCompatEvent(e);this._processMouseEvent(t,this._handler.contextMenuEvent),this._cancelClick=!0}_firesTouchEvents(e){return e.sourceCapabilities&&void 0!==e.sourceCapabilities.firesTouchEvents?e.sourceCapabilities.firesTouchEvents:_(e){ -"touchstart"!==e.type&&(0,o.preventDefault)(e)}}}}function d(e){return e.getBoundingClientRect()||{left:0,top:0}}function u(e){return{x:e.pageX,y:e.pageY}}function p(e,t){const i=e.clientX-t.clientX,s=e.clientY-t.clientY;return Math.sqrt(i*i+s*s)}function _(e){return e.timeStamp||performance.now()}function m(e,t){for(let i=0;i{"use strict";i.d(t,{navigationButtonsVisibilityKey:()=>r,property:()=>n,availableValues:()=>o,actualBehavior:()=>a});var s=i(10133);const r="NavigationButtons.visibility",{property:n,availableValues:o,actualBehavior:a}=(0,s.createVisibilityController)(r)},62428:(e,t,i)=>{"use strict";i.d(t,{property:()=>n,availableValues:()=>o,actualBehavior:()=>a});var s=i(10133),r=i(95707);const{property:n,availableValues:o,actualBehavior:a}=(0,s.createVisibilityController)("PaneButtons.visibility",r.navigationButtonsVisibilityKey)},62138:(e,t,i)=>{"use strict";i.d(t,{ActionBinder:()=>s});class s{constructor(e,t,i,s,r=null){this._property=t,this._undoModel=i,this._undoText=s,this._action=e,this.setValue(t.value()),t.subscribe(this,this._propertyChanged),null!==r?e.update({onExecute:r.bind(this)}):e.update({onExecute:this._onActionCallback.bind(this)})}destroy(){this._property.unsubscribe(this,this._propertyChanged)}value(){return this._action.isChecked()}setValue(e){this._action.update({checked:Boolean(e)})}_onActionCallback(){this._undoModel.setProperty(this._property,this.value(),this._undoText)}_propertyChanged(e){this.setValue(e.value())}}},37701:(e,t,i)=>{"use strict";i.d(t,{isCustomStudy:()=>r});const s={VbPFixed:!0,PivotPointsStandard:!0,VbPVisible:!0};function r(e){return e in s}},56756:(e,t,i)=>{"use strict";i.d(t,{MetaInfoHelper:()=>p});var s=i(88537),r=i(67072),n=i.n(r),o=i(50993),a=i(80643),l=i(98125);const c=["first_visible_bar_time","last_visible_bar_time"];function h(e){return!e.groupId&&!e.isHidden&&!c.includes(e.id)}var d=i(37701);const u=(0,l.getLogger)("Platform.GUI.PropertyDialog.Indicators.MetaInfo");class p{constructor(e){this._metaInfo=e}hasUserEditableInputs(){return this._metaInfo.inputs.some(h)}getUserEditableInputs(){return this._metaInfo.inputs.filter(h)}hasUserEditableProperties(){return n().isScriptStrategy(this._metaInfo)}hasUserEditableStyles(){const e=this._metaInfo;return e.plots.length>0||void 0!==e.bands||void 0!==e.filledAreas||(0,d.isCustomStudy)(e.shortId)||n().isScriptStrategy(this._metaInfo)||Object.values(e.graphics).some(e=>void 0!==e)}getUserEditablePlots(){const e=new Set,t=this._metaInfo;return t.plots.filter(i=>{if((0,o.isColorerPlot)(i)||(0,o.isTextColorerPlot)(i)||(0,o.isDataOffsetPlot)(i)||(0,o.isOhlcColorerPlot)(i)||(0,o.isAlertConditionPlot)(i))return!1;if((0,o.isOhlcPlot)(i)){const r=i.target;if(e.has(r))return!1;e.add(r);const n=(0,s.ensureDefined)(t.ohlcPlots);return!(0,s.ensureDefined)(n[r]).isHidden}{const e=t.styles?t.styles[i.id]:void 0;return void 0===e||!e.isHidden}})}hasUserEditableOptions(){ -return this.hasUserEditableInputs()||this.hasUserEditableProperties()||this.hasUserEditableStyles()}getStrategyProperties(){const e=this._metaInfo,t=e.inputs.filter(m),i={..._};for(const s of t){const t=s.internalID;i[t]=s,_.hasOwnProperty(t)||u.logWarn(`Unknown strategy input internal id ${t} in ${e.fullId}`)}return(0,a.clone)(i)}}const _={currency:void 0,backtest_fill_limits_assumption:void 0,calc_on_every_tick:void 0,calc_on_order_fills:void 0,commission_value:void 0,commission_type:void 0,initial_capital:void 0,pyramiding:void 0,slippage:void 0,default_qty_type:void 0,default_qty_value:void 0,margin_long:void 0,margin_short:void 0,use_bar_magnifier:void 0};function m(e){return"strategy_props"===e.groupId}},27772:(e,t,i)=>{"use strict";i.d(t,{checkAuthBeforeSaveLoad:()=>r});var s=i(67337);function r(e,t){s.enabled("saveload_requires_authentication")?window.runOrSignIn(e,t):e()}},9127:(e,t,i)=>{"use strict";i.d(t,{AbstractJsonStoreService:()=>n,CommonJsonStoreService:()=>o});var s=i(2872),r=i.n(s);class n{constructor(e,t,i,s,n){this._onChange=new(r()),this._handleChange=()=>{this._onChange.fire(this.get())},this._crossTabEvents=e,this._jsonKeyValueStore=t,this.CROSSTAB_EVENT_NAME=i,this.JSON_STORE_KEY=s,this.defaultStoreValue=this._serialize(n),this._subscribe()}get(){const e=this._jsonKeyValueStore.getJSON(this.JSON_STORE_KEY,this.defaultStoreValue);return this._deserialize(e)}set(e,t){const i=this._serialize(e);this._jsonKeyValueStore.setJSON(this.JSON_STORE_KEY,i,t),this._crossTabEvents.emit(this.CROSSTAB_EVENT_NAME),this._onChange.fire(e)}getOnChange(){return this._onChange}destroy(){this._unsubscribe(),this._onChange.destroy(),delete this._onChange}_subscribe(){this._crossTabEvents.on(this.CROSSTAB_EVENT_NAME,this._handleChange),this._jsonKeyValueStore.onSync.subscribe(this,this._handleChange)}_unsubscribe(){this._crossTabEvents.off(this.CROSSTAB_EVENT_NAME,this._handleChange),this._jsonKeyValueStore.onSync.unsubscribe(this,this._handleChange)}}class o extends n{_serialize(e){return e}_deserialize(e){return e}}},86879:(e,t,i)=>{"use strict";i.d(t,{LoadChartService:()=>d});var s=i(67337),r=i(9127);class n extends r.CommonJsonStoreService{constructor(e,t){super(e,t,"FAVORITE_CHARTS_CHANGED","loadChartDialog.favorites",{})}}var o=i(43007),a=i(21097),l=i(56840),c=i(27772),h=i(22729);class d extends h.DialogRenderer{constructor(e=null){super(),this._favoriteChartsService=new n(a.TVXWindowEvents,l),this._chartWidgetCollection=null,this._promise=null,this._dialog=null,this._subscribe=e=>{this._setVisibility(e)},this._getChartEntry=e=>({id:e.id,url:e.url,title:e.name,symbol:e.short_symbol,interval:e.interval,toolsCount:0,modified:e.modified_iso,active:()=>this._isActiveChart(e.id),openAction:()=>o.backend.loadChart(e),deleteAction:()=>o.backend.removeChart(e.image_url).then(()=>this._deleteChart(e.id)),favoriteAction:this._updateFavorites}),this._updateFavorites=e=>this._favoriteChartsService.set(e),this._isActiveChart=e=>null!==this._chartWidgetCollection&&e===this._chartWidgetCollection.metaInfo.id.value(), -this._deleteChart=e=>{this._isActiveChart(e)&&(s.enabled("saveload_storage_customization")?null!==this._chartWidgetCollection&&this._chartWidgetCollection.clearChartMetaInfo():location.href="/chart/"+location.search)},this._chartWidgetCollection=e}showLoadDialog(){(0,c.checkAuthBeforeSaveLoad)(this._showLoadDialog.bind(this),{source:"Load chart",sourceMeta:"Chart"})}show(){this.showLoadDialog()}hide(){var e,t;null===(e=this._dialog)||void 0===e||e.hide(),null===(t=this._dialog)||void 0===t||t.visible().unsubscribe(this._subscribe)}_showLoadDialog(){(s.enabled("saveload_requires_authentication")&&!window.is_authenticated?Promise.resolve([]):o.backend.getCharts()).then(e=>e.map(this._getChartEntry)).then(e=>{const t=this._promise=Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(5774),i.e(1112),i.e(6909),i.e(6427),i.e(5325),i.e(9837),i.e(3199),i.e(3016),i.e(1075),i.e(9811),i.e(5009)]).then(i.bind(i,9512)).then(i=>{if(this._promise===t){this._dialog&&(this._dialog.hide(),this._dialog.visible().unsubscribe(this._subscribe));const t={charts:e,favoriteChartsService:this._favoriteChartsService,chartWidgetCollection:this._chartWidgetCollection};this._dialog=new i.LoadChartDialogRenderer(t),this._dialog.visible().subscribe(this._subscribe),this._dialog.show()}})})}}},41051:(e,t,i)=>{"use strict";i.d(t,{SaveChartService:()=>v});var s=i(67337),r=i(52714),n=i.n(r),o=i(76422),a=i(68425),l=i(27772);i(94419);var c=i(28353),h=i(43007);async function d(){return!0}var u=i(3615);const p=s.enabled("confirm_overwrite_if_chart_layout_with_name_exists");class _{constructor(e,t,i){this._visibility=new(n())(!1),this._chartWidgetCollection=e,this._doSave=t,this._doLoad=i}hide(){var e;null===(e=this._hide)||void 0===e||e.call(this),this._visibility.setValue(!1)}visible(){return this._visibility.readonly()}_showRenameDialog(e,t,i,s){return(0,u.showRename)({title:this._renameDialogTitle(),text:this._renameDialogText(),maxLength:64,initValue:e,onRename:async e=>{if(!p)return void this._renameActionHandler(e,t,i,s);const{newValue:r,dialogClose:n}=e,o=(await this._doLoad()).find(e=>e.name===r);n(),void 0!==o?this._hide=await(0,u.showConfirm)({title:(0,c.t)("A layout with that name already exists"),text:(0,c.t)("A layout with that name already exists. Do you want to overwrite it?"),onConfirm:({dialogClose:e})=>{e(),this._doOverwriteExistingLayout(o.id,r,t,i,s)},onCancel:({dialogClose:e})=>{e(),this._showRenameDialog(r,t,i,s)}}):this._renameActionHandler({newValue:r,dialogClose:n},t,i,s)},onClose:()=>this._visibility.setValue(!1)})}_doSaveCurrentLayout(e,t,i,s){const r=this._chartWidgetCollection.metaInfo.name.value();this._chartWidgetCollection.metaInfo.name.setValue(e),this._doSave(t,i,()=>{this._chartWidgetCollection.metaInfo.name.setValue(r),null==s||s()})}_doOverwriteExistingLayout(e,t,i,s,r){const n=this._chartWidgetCollection.metaInfo.name.value();this._chartWidgetCollection.metaInfo.id.setValue(e),this._chartWidgetCollection.metaInfo.name.setValue(t),this._doSave(i,s,()=>{ -this._chartWidgetCollection.metaInfo.name.setValue(n),null==r||r()})}}class m extends _{cloneChart(){this._cloneChart().then(()=>this._visibility.setValue(!0))}show(){(0,l.checkAuthBeforeSaveLoad)(()=>this.cloneChart(),{source:"Clone chart"})}_renameDialogTitle(){return(0,c.t)("Copy Chart Layout")}_renameDialogText(){return(0,c.t)("Enter a new chart layout name")+":"}_renameActionHandler({newValue:e,dialogClose:t}){s.enabled("saveload_storage_customization")&&this._doCloneCurrentLayout(e),t()}async _cloneChart(){const e=await d();e&&(this._hide=await this._showRenameDialog(this._getInitialRenameDialogInput()))}_doCloneCurrentLayout(e){const t=this._chartWidgetCollection.metaInfo.name.value();this._chartWidgetCollection.metaInfo.uid.deleteValue(),this._chartWidgetCollection.metaInfo.id.deleteValue(),this._chartWidgetCollection.metaInfo.name.setValue(e),this._doSave(void 0,void 0,()=>{this._chartWidgetCollection.metaInfo.name.setValue(t)})}_getInitialRenameDialogInput(){return(0,c.t)("{title} copy",{context:"ex: AAPL chart copy"}).format({title:this._chartWidgetCollection.metaInfo.name.value()})}}class g extends _{show(e,t,i){this._saveNewChart(e,t,i).then(()=>this._visibility.setValue(!0))}_renameDialogTitle(){return(0,c.t)("Save New Chart Layout")}_renameDialogText(){return(0,c.t)("Enter a new chart layout name")+":"}_renameActionHandler({newValue:e,dialogClose:t},i,s,r){this._doSaveCurrentLayout(e,i,s,r),t()}async _saveNewChart(e,t,i){await d();const s=this._chartWidgetCollection.metaInfo.name.value();this._hide=await this._showRenameDialog(s,e,t,i)}}class f extends _{show(){(0,l.checkAuthBeforeSaveLoad)(()=>this._show(),{source:"Rename chart"})}_renameDialogTitle(){return(0,c.t)("Rename Chart Layout")}_renameDialogText(){return(0,c.t)("Enter a new chart layout name")+":"}_renameActionHandler({newValue:e,dialogClose:t}){this._doSaveCurrentLayout(e),t()}async _show(){await this._renameChart(),this._visibility.setValue(!0)}async _renameChart(){const e=this._chartWidgetCollection.metaInfo.name.value();this._hide=await this._showRenameDialog(e)}}class v{constructor(e,t){this._autosaveTimer=null,this._watchedAutoSaveEnabled=new(n()),this._toggleAutoSaveEnabledHandler=this._toggleAutoSaveEnabled.bind(this),this._doSave=(e,t,i,s)=>{const r=this._chartWidgetCollection;void 0!==e&&e(),this._chartSaver.saveChartSilently(e=>{var i;i=r.metaInfo.uid.value(),"/chart/"===location.pathname&&(location.href="/chart/"+i),void 0!==t&&t(e)},()=>{void 0!==i&&i()},{autoSave:Boolean(s)})},this._doLoad=()=>h.backend.getCharts(),this._chartWidgetCollection=e,this._chartSaver=t,this._createController=new g(e,this._doSave,this._doLoad),this._renameController=new f(e,this._doSave,this._doLoad),this._saveAsController=new m(e,this._doSave,this._doLoad),this._chartChangesWatcher=new a.ChartChangesWatcher(e.undoHistory,e.lineToolsSynchronizerHasChanges,t,o),e.saveKeysPressed().subscribe(this,this.saveChartOrShowTitleDialog),this._chartChangesWatcher.getOnChange().subscribe(this,this._onStateChanged)}autoSaveEnabled(){ -return this._watchedAutoSaveEnabled}destroy(){0}getCreateController(){return this._createController}getRenameController(){return this._renameController}getSaveAsController(){return this._saveAsController}cloneChart(){this._saveAsController.cloneChart()}saveChartAs(){this._saveAsController.show()}renameChart(){this._renameController.show()}saveNewChart(e,t,i){this._createController.show(e,t,i)}saveExistentChart(e,t,i){this._doSave(e,t,i)}hasChanges(){return this._chartChangesWatcher.hasChanges()}saveChartOrShowTitleDialog(e,t,i){const s=window.saver.isSaveInProcess(),r=this._chartChangesWatcher.hasChanges(),n=!!this._chartWidgetCollection.metaInfo.id.value();window.is_authenticated&&(s||!r&&n)||(0,l.checkAuthBeforeSaveLoad)(()=>{null!=this._chartWidgetCollection.metaInfo.id.value()?this.saveExistentChart(e,t,i):this.saveNewChart(e,t,i)},{source:"Save chart",sourceMeta:"Chart"})}whenReadyToSave(e){this._chartSaver.whenReadyToSave(e)}saveToJSON(){return this._chartSaver.saveToJSON()}saveChartSilently(e,t,i){this._chartSaver.saveChartSilently(e,t,i)}setAutoSaveEnabled(e){window.is_authenticated&&window.saver.isSaveInProcess()||(0,l.checkAuthBeforeSaveLoad)(()=>{this._watchedAutoSaveEnabled.setValue(e)},{source:"AutoSave chart"})}saveChartLineTools(e,t,i){return this._chartSaver.saveChartLineTools(e,t,i)}_autoSaveEnabledSettingHandler(e){0}_toggleAutoSaveEnabled(e){0}_enableAutoSave(){0}_disableAutoSave(){0}_onStateChanged(e){e?this._startAutosave():this._stopAutosave()}_startAutosave(){s.enabled("charts_auto_save")&&null===this._autosaveTimer&&(this._autosaveTimer=setTimeout(()=>{this._autosaveTimer=null,this._chartWidgetCollection.metaInfo.id.value()&&this._doSave(void 0,void 0,void 0,!0)},6e4))}_stopAutosave(){null!==this._autosaveTimer&&(clearInterval(this._autosaveTimer),this._autosaveTimer=null)}}},13647:(e,t,i)=>{"use strict";i.d(t,{showMarketOpenStatusProperty:()=>o,restoreShowMarketOpenStatusProperty:()=>a});var s=i(32255),r=i(56840);function n(){return r.getBool("Chart.ShowMarketOpenStatus",!0)}const o=(0,s.createPrimitiveProperty)(n());function a(){o.setValue(!0),r.remove("Chart.ShowMarketOpenStatus")}r.onSync.subscribe(null,()=>o.setValue(n())),o.subscribe(null,()=>r.setValue("Chart.ShowMarketOpenStatus",o.value()))},46723:(e,t,i)=>{"use strict";i.d(t,{StudyTemplates:()=>p});var s=i(28353),r=i(43007),n=i(51768),o=i(2872),a=i.n(o),l=i(52714),c=i.n(l),h=i(3615);const d=(0,i(98125).getLogger)("Platform.StudyTemplates"),u=(0,s.t)("Do you really want to delete Study Template '{name}' ?");class p{constructor(e){this._chartWidgetCollection=e.chartWidgetCollection,this._favoriteStudyTemplatesService=e.favoriteStudyTemplatesService,window.loginStateChange.subscribe(null,r.backend.invalidateStudyTemplatesList),this._list=new(c())([]),this._onChange=new(a()),this._list.subscribe(()=>this._onChange.fire())}findRecordByName(e){return this._list.value().find(t=>t.name===e)||null}showSaveAsDialog(){const e=this._chartWidgetCollection.activeChartWidget.value().model() -;Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(7962),i.e(8986),i.e(7836),i.e(8463),i.e(9289),i.e(7427),i.e(7345),i.e(5998),i.e(7552),i.e(5804),i.e(3016),i.e(6631)]).then(i.bind(i,33165)).then(t=>{new t.StudyTemplateSaver({controller:e,onSave:e=>{this._list.setValue(e)}}).show()})}applyTemplate(e){const t=this.findRecordByName(e);null!==t?window.runOrSignIn(()=>{const e=this._chartWidgetCollection.activeChartWidget.value(),i=i=>{(0,n.trackEvent)("GUI","Load Study Template"),e.model().applyStudyTemplate(JSON.parse(i.content),t.name)};void 0!==t.id?t.is_default?r.backend.getStandardStudyTemplateContentById(t.id,i):r.backend.getStudyTemplateContentById(t.id,i):r.backend.getStudyTemplateContent(t.name).then(i)},{source:"Study templates apply"}):d.logNormal(`Template ${e} not found in cache`)}deleteStudyTemplate(e){const t=this.findRecordByName(e);null!==t?this._removeTemplate(t):d.logNormal(`Template ${e} not found in cache`)}list(){return this._list.value()}getOnChange(){return this._onChange}refreshStudyTemplateList(e){r.backend.getStudyTemplatesList().then(t=>{this._list.setValue(t),void 0!==e&&e()})}invalidate(){r.backend.invalidateStudyTemplatesList()}_removeTemplate(e){window.runOrSignIn(()=>{(0,h.showConfirm)({text:u.format({name:e.name}),onConfirm:({dialogClose:t})=>new Promise(i=>{const s=()=>{this.refreshStudyTemplateList(()=>{const s=this.list();this._list.setValue(s.filter(t=>t!==e)),this._favoriteStudyTemplatesService&&this._favoriteStudyTemplatesService.remove(e.name),i(),t()})};r.backend.invalidateStudyTemplatesList(),void 0!==e.id?r.backend.removeStudyTemplateById(e.id,s):r.backend.removeStudyTemplate(e.name).then(s)})})},{source:"Study templates delete"})}}},38318:(e,t,i)=>{"use strict";i.d(t,{canShowSpreadActions:()=>c,globalKeypressMatches:()=>h,intervalIsSupported:()=>l,parseIntervalValue:()=>a});var s=i(67337),r=i(9315),n=i(82992),o=i(29823);new RegExp("^quandl","i");function a(e){let t;t=/^[,\s]*(^[1-9][0-9]*)?\s*([hdwmst]?)\s*$/i;const i=t.exec(e)||[],s=~~i[1],r=i[2]&&i[2].toUpperCase()||null,n={qty:!s&&r?1:s,unit:r};return n.error=!s&&!r,n.intraday=!(n.error||n.unit&&"H"!==n.unit&&"S"!==n.unit&&"T"!==n.unit),n}function l(e){if(s.enabled("allow_supported_resolutions_set_only")){const t=o.Interval.normalize(e);return null!==t&&(0,r.isAvailable)(t)}{const t=a(e);if(t.error)return!1;if(t.intraday)return n.linking.intraday.value();{const e=n.linking.supportedResolutions.value();return!e||null!==t.unit&&!!~e.indexOf(t.unit)}}}function c(){let e=!1;return s.enabled("show_spread_operators")&&(e=!0),e}function h(e){return!e.ctrlKey&&(!e.metaKey&&(!!e.charCode&&(!(!e.which||e.which<=32)&&(null===e.target||!/^(input|textarea)$/i.test(e.target.tagName)))))}},11181:(e,t,i)=>{"use strict";function s(){return Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(7962),i.e(8986),i.e(7836),i.e(3921),i.e(5774),i.e(2153),i.e(9837),i.e(3199),i.e(3016),i.e(2301),i.e(1754)]).then(i.bind(i,89324))}i.d(t,{loadNewSymbolSearch:()=>s})},92033:(e,t,i)=>{"use strict";i.d(t,{tradingService:()=>n});var s=i(16216);const r={ -id:"TradingService"};function n(){return(0,s.hasService)(r)?(0,s.service)(r):null}},88060:(e,t,i)=>{"use strict";i.d(t,{TradingViewApiBase:()=>S});var s=i(88537),r=i(82992),n=i(67337),o=i(51768),a=i(6087),l=i(45345),c=i(2872),h=i.n(c);class d{constructor(e){this._toolbarThemeChanged=new(h()),this._onWatchedThemeChanged=e=>{this._toolbarThemeChanged.fire(e)},this._opts=e,l.watchedTheme.subscribe(this._onWatchedThemeChanged)}destroy(){l.watchedTheme.unsubscribe(this._onWatchedThemeChanged)}isStdTheme(){const e=this._opts.chartWidgetCollection.getAll().every(e=>(0,a.isStdTheme)((0,a.extractThemeFromModel)(e.model())));return Promise.resolve(e)}async setStdTheme(e,t=!0,i){await(0,a.loadTheme)(this._opts.chartWidgetCollection,{themeName:e,standardTheme:!0,syncState:t,noUndo:i})}setStdThemeForLayout(e,t=!0){(0,l.setTheme)(e),t&&(0,a.syncTheme)()}getCurrentThemeName(){return(0,a.getCurrentTheme)().name}toolbarThemeChanged(){return this._toolbarThemeChanged}}var u=i(16906),p=i(85733),_=i(52714),m=i.n(_),g=i(88564);const f=new(h());function v(){throw new Error("not implemented")}class S{constructor(e){this._studyTemplatesDrawer=null,this._fontIconsSettingsDrawer=null,this._favoriteDrawingsToolbar=null,this._themesApi=null,this._newsApiDeferredPromise=null,this._newsApiRejectionReason=null,this._watchlistApiDeferredPromise=null,this._watchlistApiRejectionReason=null,this._widgetbarApiDeferredPromise=null,this._widgetbarApiRejectionReason=null,this._isDestroyed=!1,this._widgebarApi=null,this._magnetEnabledWatchedValue=null,this._magnetModeWatchedValue=null;const{chartApiInstance:t,chartWidgetCollection:i,studyMarket:s,financialsDialog:n,saveChartService:o,loadChartService:a,sharingChartService:l=null}=e;this._chartWidgetCollection=i,this._studyMarket=s,this._financialsDialog=n,this._saveChartService=o,this._sharingChartService=l,this._loadChartLayoutDialog=a,this._intervalsService=null,this._alertsWidgetDialog=null,this._detailsDialogController=null,this._supportedChartStylesSpawn=r.linking.supportedChartStyles.spawn(),this._chartWidgetCollection.onAboutToBeDestroyed.subscribe(null,()=>this.destroy(),!0)}destroy(){var e,t,i;this._supportedChartStylesSpawn.destroy(),null===(e=this._intervalsService)||void 0===e||e.destroy(),null===(t=this._themesApi)||void 0===t||t.destroy(),null===(i=this._widgebarApi)||void 0===i||i.destroy(),this._widgetbarApiRejectionReason="This ITradingViewApi instance has been destroyed",this._isDestroyed=!0}themes(){return null===this._themesApi&&(this._themesApi=new d({chartWidgetCollection:this._chartWidgetCollection})),this._themesApi}dialogs(){var e,t,i,s,r,n;return{Indicators:this._studyMarket,Financials:this._financialsDialog,Compare:this._chartWidgetCollection.getCompareDialogRenderer(),ObjectsTree:null,ChartProperties:this._chartWidgetCollection.getChartPropertiesDialogRenderer(),ChartLayoutSaveAs:null!==(t=null===(e=this._saveChartService)||void 0===e?void 0:e.getSaveAsController())&&void 0!==t?t:null, -ChartLayoutRename:null!==(s=null===(i=this._saveChartService)||void 0===i?void 0:i.getRenameController())&&void 0!==s?s:null,ChartLayoutCreate:null!==(n=null===(r=this._saveChartService)||void 0===r?void 0:r.getCreateController())&&void 0!==n?n:null,ChartLayoutLoad:this._loadChartLayoutDialog,Alerts:this._alertsWidgetDialog,Details:this._detailsDialogController,FinancialsCharts:null}}studyTemplatesDrawerApi(){v()}fontIconsSettingsDrawer(){v()}intervalsService(){v()}supportedChartTypes(){return this._supportedChartStylesSpawn}setBrokerName(e){this._chartWidgetCollection.setBroker(e)}drawOnAllChartsMode(e){(0,p.drawOnAllChartsMode)().setValue(e)}disableTrackingEvents(){(0,o.disableTrackingEvents)()}setSymbolSearchUI(e){v()}setLayout(e,t){(null==t?void 0:t.withUndo)?this._chartWidgetCollection.setChartLayoutWithUndo(e):this._chartWidgetCollection.setLayout(e)}selectLineTool(e,t){if(!u.supportedLineTools[e])return;const i=u.supportedLineTools[e].name;if("icon"===e){const e=null==t?void 0:t.icon;void 0!==e&&p.iconTool.setValue(e)}p.tool.setValue(i)}favoriteDrawingsToolbar(){return i.e(5551).then(i.bind(i,88823)).then(e=>(this._favoriteDrawingsToolbar||(this._favoriteDrawingsToolbar=new e.FavoriteDrawingsApi),this._favoriteDrawingsToolbar))}sharingChart(){return this._sharingChartService}watchlist(){v()}setWatchlistApiPromise(e){v()}news(){v()}setNewsApiPromise(e){v()}widgetbar(){v()}setWidgetbarApiPromise(e){v()}setDebugMode(e){n.setEnabled("charting_library_debug_mode",e)}setFeatureEnabled(e,t){n.setEnabled(e,t)}magnetEnabled(){return null===this._magnetEnabledWatchedValue&&(this._magnetEnabledWatchedValue=new(m())((0,p.properties)().childs().magnet.value()),this._magnetEnabledWatchedValue.subscribe(e=>{(0,g.saveDefaultProperties)(!0),(0,p.properties)().childs().magnet.setValue(e),(0,g.saveDefaultProperties)(!1)}),(0,p.properties)().childs().magnet.subscribe(this,()=>{(0,s.ensureNotNull)(this._magnetEnabledWatchedValue).setValue((0,p.properties)().childs().magnet.value())})),this._magnetEnabledWatchedValue}magnetMode(){return null===this._magnetModeWatchedValue&&(this._magnetModeWatchedValue=new(m())((0,p.properties)().childs().magnetMode.value()),this._magnetModeWatchedValue.subscribe(e=>{(0,g.saveDefaultProperties)(!0),(0,p.properties)().childs().magnetMode.setValue(e),(0,g.saveDefaultProperties)(!1)}),(0,p.properties)().childs().magnetMode.subscribe(this,()=>{(0,s.ensureNotNull)(this._magnetModeWatchedValue).setValue((0,p.properties)().childs().magnetMode.value())})),this._magnetModeWatchedValue}flushBufferedData(){f.fire()}}},28399:(e,t,i)=>{"use strict";var s=i(2872),r=i(52714),n=i(82992).linking,o=(i(81836).createDeferredPromise, -i(21269)),a=i(42060).layouts,l=i(76422),c=i(97056).ContextMenuManager,h=i(85733),d=i(9315),u=i(43007).backend,p=i(98125),_=i(3615).showWarning,m=i(3615).showConfirm,g=i(16906),f=i(52092).CLOSE_POPUPS_AND_DIALOGS_COMMAND,v=i(29823).Interval,S=i(88564).saveDefaultProperties,y=i(68425).ChartChangesWatcher,b=i(88060).TradingViewApiBase,w=i(67072),C=i(152).getStudyInputsInfo,P=i(70120).getStudyStylesInfo;e.exports=class extends b{constructor(e){const{chartWidgetCollection:t,saveChartService:i,loadChartService:r,sharingChartService:o,alertsDispatcher:a,supportTicketData:l,favoriteServices:c,chartApiInstance:h=null,studyMarket:d=null,financialsDialog:u=null}=e;super({chartApiInstance:h,chartWidgetCollection:t,studyMarket:d,financialsDialog:u,saveChartService:i,loadChartService:r,sharingChartService:o}),this._chartApiInstance=h,this._loadChartService=r,this._alertsDispatcher=a,this._supportTicketData=l,this._favoriteServices=c,this._proxyWatchListChangedDelegate=null,this._lockDrawingsWatchedValue=null,this._hideDrawingsWatchedValue=null,this._hideIndicatorsWatchedValue=null,this._magnetEnabledWatchedValue=null,this._magnetModeWatchedValue=null,this._replayApi=null,this._chartChangesWatcher=null,this._hasChartChangesWatchedValue=null,this._getDataSourceHub=function(){return t.activeChartWidget.value().model().model()},this._chartWidgetCollection.getResizerDetacher=function(){return t.activeChartWidget.value().getResizerDetacher()},this._alertService=this._alertsDispatcher?new(void 0)(this._alertsDispatcher,this._getDataSourceHub):null,this._activeChangedChangedDelegate=new s,this._chartWidgetCollection.activeChartWidget.subscribe(function(){this._activeChangedChangedDelegate.fire()}.bind(this)),this._chartWidgets=new WeakMap,this._activateChart=function(e){t.activeChartWidget.setValue(e)},this.linking=n}subscribe(e,t){l.subscribe(e,t)}unsubscribe(e,t){l.unsubscribe(e,t)}onContextMenu(e){l.subscribe("onContextMenu",(function(t){t.callback(e(t.unixtime,t.price))}))}onGrayedObjectClicked(e){l.subscribe("onGrayedObjectClicked",e)}activeChart(){return this._getChartWidgetApi(this._chartWidgetCollection.activeChartWidget.value())}_getChartWidgetApi(e){var t=this._chartWidgets.get(e);return void 0===t&&(t=new o(e,this._activateChart.bind(null,e)),this._chartWidgets.set(e,t)),t}onActiveChartChanged(){return this._activeChangedChangedDelegate}changeSymbol(e,t,i){n.interval.setValue(v.normalize(t)),n.symbol.setValue(e),i&&this.activeChart().onDataLoaded().subscribe(null,i,!0)}layout(){return this._chartWidgetCollection.layout.value()}layoutName(){return this._chartWidgetCollection.metaInfo.name.value()}layoutNameWatchedValue(){return this._chartWidgetCollection.metaInfo.name.readonly()}layoutSettingsDrawer(){throw new Error("not implemented")}chartsCount(){return a[this.layout()].count}viewMode(){throw new Error("not implemented")}viewModeWatchedValue(){throw new Error("not implemented")}setForceFullscreenMode(){throw new Error("not implemented")}setMultichartMode(){throw new Error("not implemented")}setActiveChart(e){ -throw new Error("not implemented")}chart(e){if(void 0===e&&(e=0),e<0||e>=this.chartsCount())throw Error("Incorrect index: "+e);return this._getChartWidgetApi(this._chartWidgetCollection.getAll()[e])}getSymbolInterval(e){var t={symbol:n.symbol.value(),interval:n.interval.value()};return e&&e(t),t}saveChart(e){if(this._saveChartService){var t=this;this._saveChartService.whenReadyToSave((function(){var i=t._saveChartService.saveToJSON();return e&&e(JSON.parse(i.content))}))}}loadChart(e){this._chartApiInstance.disconnect(),this._chartWidgetCollection.loadContent(e.json),this._chartWidgetCollection.purgeUnusedWidgets(),e.extendedData&&(this._chartWidgetCollection.metaInfo.id.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.uid.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.name.setValue(e.extendedData.name)),this._chartApiInstance.connect(),n.symbol.setValue(this.activeChart().symbol()),l.emit("chart_loaded")}getStudiesList(){return this._chartApiInstance.allStudiesMetadata().filter((function(e){return!e.is_hidden_study})).map((function(e){return e.description}))}getStudyInputs(e){{const t=w.findStudyMetaInfoByDescription(this._chartApiInstance.allStudiesMetadata(),e);return C(t)}}getStudyStyles(e){{const t=w.findStudyMetaInfoByDescription(this._chartApiInstance.allStudiesMetadata(),e);return P(t)}}getSavedCharts(e){u.getCharts().then(e)}loadChartFromServer(e){u.loadChart(e)}saveChartToServer(e,t,i){this._saveChartService&&this._saveChartService.saveChartSilently(e,t,i)}setAutosave(e){this._saveChartService&&this._saveChartService.autoSaveEnabled().setValue(e)}removeChartFromServer(e,t){u.removeChart(e).then(t)}getIntervals(){var e=[],t=d.getCustomResolutions();return null!==this._chartApiInstance&&(e=this._chartApiInstance.defaultResolutions()),d.mergeResolutions(e,t)}closePopupsAndDialogs(){c.hideAll(),l.emit(f)}selectedLineTool(){for(var e=Object.keys(g.supportedLineTools),t=h.tool.value(),i=0;i{"use strict";i.d(t,{addPlusButtonProperty:()=>o,restoreAddPlusButtonSettingsValue:()=>a});var s=i(56840),r=i(32255);function n(){return s.getBool("add_plus_button",!0)}const o=(0,r.createPrimitiveProperty)(n());function a(){o.setValue(!0),s.remove("add_plus_button")}s.onSync.subscribe(null,()=>o.setValue(n())),o.listeners().subscribe(null,()=>s.setValue("add_plus_button",o.value()))},20165:(e,t,i)=>{"use strict";i.d(t,{alignToStep:()=>n});var s=i(60521),r=i.n(s);function n(e,t){return r()(e).div(t).round(0,r().roundHalfUp).mul(t).toNumber()}},44419:(e,t,i)=>{"use strict";i.d(t,{AppliedTimeFrame:()=>r});var s=i(40144);class r{constructor(e){this._appliedTimeFrame=new s.WatchedObject(null),this._appliedTimeFrameInfo=null,this._appliedTimeFrameChangedBound=this._appliedTimeFrameChanged.bind(this),this._model=e,e.mainSeries().dataEvents().seriesTimeFrame().subscribe(this,this._onSeriesTimeFrame),this._appliedTimeFrame.subscribe(this._appliedTimeFrameChangedBound)}destroy(){this._appliedTimeFrame.unsubscribe(this._appliedTimeFrameChangedBound),this._model.timeScale().logicalRangeChanged().unsubscribeAll(this),this._model.mainSeries().dataEvents().seriesTimeFrame().unsubscribeAll(this)}appliedTimeFrame(){return this._appliedTimeFrame}_appliedTimeFrameChanged(){this._model.timeScale().logicalRangeChanged().unsubscribe(this,this._invalidateAppliedTimeFrame)}_onSeriesTimeFrame(e,t,i,s){if(s){const e=this._model.timeScale();this._appliedTimeFrameInfo={logicalRange:e.logicalRange(), -baseIndex:e.baseIndex()},e.logicalRangeChanged().subscribe(this,this._invalidateAppliedTimeFrame)}}_invalidateAppliedTimeFrame(){if(null===this._appliedTimeFrameInfo)return;const e=this._model.timeScale(),t=e.logicalRange(),i=e.baseIndex(),s=this._appliedTimeFrameInfo.logicalRange,r=this._appliedTimeFrameInfo.baseIndex;(null===t||null===s||Math.abs(i-t.left()-(r-s.left()))>=.01||Math.abs(i-t.right()-(r-s.right()))>=.01)&&this._appliedTimeFrame.setValue(null)}}},67396:(e,t,i)=>{"use strict";i.d(t,{defaultsPreferencesByWhiteList:()=>P,preferencesByWhiteList:()=>C});var s=i(80643),r=i(27759);var n=i(98125),o=i(3825),a=i(59803),l=i(47484),c=i(15840),h=i(49642);const d=(0,n.getLogger)("Chart.ApplyPreferencesToAllCharts"),u={color:"",style:0},p={autoScale:!1,autoScaleDisabled:!1,lockScale:!1,percentage:!1,percentageDisabled:!1,log:!1,logDisabled:!1,alignLabels:!1,isInverted:!1,indexedTo100:!1},_={backgroundType:h.ColorType.Solid,background:"",backgroundGradientStartColor:"",backgroundGradientEndColor:"",topMargin:0,bottomMargin:0,rightOffset:0,horzGridProperties:(0,c.deepExtend)({},u),vertGridProperties:(0,c.deepExtend)({},u),crossHairProperties:(0,c.deepExtend)({},{color:"",style:0,transparency:0,width:0}),legendProperties:(0,c.deepExtend)({},{showStudyArguments:!1,showStudyTitles:!1,showStudyValues:!1,showSeriesTitle:!1,showSeriesOHLC:!1,showLegend:!1,showBarChange:!0,showVolume:!1,showBackground:!0,backgroundTransparency:0}),axisProperties:(0,c.deepExtend)({},p),separatorColor:""},m={lineColor:"",textColor:"",fontSize:0,scaleSeriesOnly:!1,showSeriesLastValue:!1,seriesLastValueMode:o.PriceAxisLastValueMode.LastValueAccordingToScale,showSeriesPrevCloseValue:!1,showStudyLastValue:!1,showSymbolLabels:!1,showStudyPlotLabels:!1,showBidAskLabels:!1,showPrePostMarketPriceLabel:!0,showFundamentalLastValue:!1,showFundamentalNameLabel:!1,showPriceScaleCrosshairLabel:!0,showTimeScaleCrosshairLabel:!0},g={...m},f={visible:!1,futureOnly:!1,breaks:(0,c.deepExtend)({},{color:"",visible:!1,style:0,width:0})},v={style:0,minTick:"",showPriceLine:!1,priceLineWidth:0,priceLineColor:"",baseLineColor:"",showPrevClosePriceLine:!1,showCountdown:!0,prevClosePriceLineWidth:0,sessionId:"regular",prevClosePriceLineColor:"",esdShowDividends:!1,esdShowSplits:!1,esdShowEarnings:!1,esdShowBreaks:!1,showContinuousContractSwitches:!1,showContinuousContractSwitchesBreaks:!1,dividendsAdjustment:!1,backAdjustment:!1,settlementAsClose:!0,statusViewStyle:(0,c.deepExtend)({},{fontSize:16,showExchange:!0,showInterval:!0,symbolTextSource:"description"}),priceAxisProperties:(0,c.deepExtend)({},p),highLowAvgPrice:(0,c.deepExtend)({},{highLowPriceLinesVisible:!1,highLowPriceLabelsVisible:!1,averageClosePriceLabelVisible:!1,averageClosePriceLineVisible:!1,highLowPriceLinesColor:"",highLowPriceLinesWidth:0,averagePriceLineColor:"",averagePriceLineWidth:0}),candleStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",drawWick:!1,drawBorder:!1,drawBody:!0,borderColor:"",borderUpColor:"",borderDownColor:"",wickColor:"",wickUpColor:"",wickDownColor:"",barColorsOnPrevClose:!1 -}),hollowCandleStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",drawWick:!1,drawBorder:!1,drawBody:!0,borderColor:"",borderUpColor:"",borderDownColor:"",wickColor:"",wickUpColor:"",wickDownColor:""}),barStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",barColorsOnPrevClose:!1,dontDrawOpen:!1,thinBars:!0}),lineStyle:(0,c.deepExtend)({},{color:"",linestyle:0,linewidth:0,styleType:0}),areaStyle:(0,c.deepExtend)({},{color1:"",color2:"",linecolor:"",linestyle:0,linewidth:0,transparency:0}),baselineStyle:(0,c.deepExtend)({},{topFillColor1:"",topFillColor2:"",bottomFillColor1:"",bottomFillColor2:"",topLineColor:"",bottomLineColor:"",baselineColor:"",topLineWidth:0,bottomLineWidth:0,transparency:0,baseLevelPercentage:0}),hiloStyle:(0,c.deepExtend)({},{color:"",showBorders:!1,borderColor:"",showLabels:!1,labelColor:"",fontSize:0,drawBody:!0}),haStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",drawWick:!1,drawBorder:!1,drawBody:!0,borderColor:"",borderUpColor:"",borderDownColor:"",wickColor:"",wickUpColor:"",wickDownColor:"",showRealLastPrice:!1,barColorsOnPrevClose:!1,inputs:{}}),renkoStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",borderUpColor:"",borderDownColor:"",upColorProjection:"",downColorProjection:"",borderUpColorProjection:"",borderDownColorProjection:"",wickUpColor:"",wickDownColor:"",inputs:{boxSize:0,style:"",atrLength:0,wicks:!1,sources:"",source:""}}),pbStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",borderUpColor:"",borderDownColor:"",upColorProjection:"",downColorProjection:"",borderUpColorProjection:"",borderDownColorProjection:"",inputs:{source:"",lb:0}}),kagiStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",upColorProjection:"",downColorProjection:"",inputs:{style:"",atrLength:0,reversalAmount:0}}),pnfStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",upColorProjection:"",downColorProjection:"",inputs:{reversalAmount:0,boxSize:0,style:"",atrLength:0}}),rangeStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",upColorProjection:"",downColorProjection:"",thinBars:!1,inputs:{range:0,phantomBars:!1}}),columnStyle:(0,c.deepExtend)({},{upColor:"",downColor:"",barColorsOnPrevClose:!1})},S={priceScaleSelectionStrategyName:"auto",timeScale:(0,c.deepExtend)({},{defaultRightOffset:0}),mainSeries:(0,c.deepExtend)({},v),sessions:(0,c.deepExtend)({},l.sessionsPreferencesDefault),paneProperties:(0,c.deepExtend)({},_),chartEventsSourceProperties:(0,c.deepExtend)({},f),tradingProperties:(0,c.deepExtend)({},r.tradingPreferencesDefault)},y={timezone:"",scalesProperties:(0,c.deepExtend)({},g),...S},b={scalesProperties:(0,c.deepExtend)({},m),...S};function w(e,t,i,r,n=!0){if(void 0===t[e])return d.logDebug(`We haven't had this property ${r}.${e} yet, please, remove it from whiteList`),null;if((0,s.isObject)(i[e])){const s=Object.keys(i[e]);let o="";return s.map(s=>({[s]:w(s,t[e],i[e],`${r}.${e}`,n)})).reduce((e,t)=>(o=Object.keys(t)[0],e[o]=t[o],e),{})}return n?t[e].value():t[e]}function C(e,t,i=y){const s={timezone:"",priceScaleSelectionStrategyName:"auto",timeScale:{ -defaultRightOffset:e.timeScale().defaultRightOffset().value()},mainSeries:{},sessions:{},paneProperties:{},scalesProperties:{},chartEventsSourceProperties:{},tradingProperties:{}},r=["timeScale","mainSeries","sessions"],n=i.mainSeries,o=Object.keys(i),a=Object.keys(n),l=t.properties(),c=e.properties(),h=i.sessions,d=Object.keys(h),u=e.sessions().properties();return a.forEach(e=>{s.mainSeries[e]=w(e,l,n,"mainSeries")}),d.forEach(e=>{s.sessions[e]=w(e,u,h,"sessions")}),o.forEach(e=>{r.includes(e)||(s[e]=w(e,c,i,"preferences"))}),s}function P(e,t,i=b){const s={timeScale:{defaultRightOffset:e.timeScale().rightOffsetDefaultValue()},mainSeries:{},sessions:(0,c.deepExtend)({},l.sessionsPreferencesDefault),paneProperties:{},scalesProperties:{},chartEventsSourceProperties:{},tradingProperties:{},priceScaleSelectionStrategyName:"auto"},r=["timeScale","mainSeries","sessions"],n=i.mainSeries,o=Object.keys(i),h=Object.keys(n),d=(0,a.factoryDefaults)("chartproperties.mainSeriesProperties"),u=(0,a.factoryDefaults)("chartproperties");return h.forEach(e=>{s.mainSeries[e]=w(e,d,n,"mainSeries",!1)}),o.forEach(e=>{r.includes(e)||(s[e]=w(e,u,i,"preferences",!1))}),s}},87426:(e,t,i)=>{"use strict";i.d(t,{axisLabelBackgroundColor:()=>r});var s=i(45112);const r={common:s.colorsPalette["color-tv-blue-500"],active:s.colorsPalette["color-tv-blue-800"]}},65862:(e,t,i)=>{"use strict";i.d(t,{createDwmAligner:()=>c,isAlignmentEnabled:()=>h,createTimeToBarTimeAligner:()=>d});var s=i(10480),r=i(67337),n=i(29823),o=i(29617),a=i(69177);const l=new o.SessionInfo("Etc/UTC","0000-0000:1234567");function c(e,t){if(!h()||!n.Interval.isDWM(e))return null;const i=new o.SessionInfo(t.timezone,t.session,t.session_holidays,t.corrections),r=(0,a.newBarBuilder)(e,i,l);return{timeToSessionStart:e=>r.tradingDayToSessionStart(e),timeToExchangeTradingDay:e=>{const t=s.utc_to_cal(i.timezone,e),r=i.spec.correctTradingDay(t);return s.set_hms(r,0,0,0,0,s.get_timezone("Etc/UTC")),r.getTime()}}}function h(){return!r.enabled("disable_resolution_rebuild")}function d(e,t){if(!h())return e=>e;const i=new o.SessionInfo(t.timezone,t.session,t.session_holidays,t.corrections),s=(0,a.newBarBuilder)(e,i,i,!1);return e=>s.alignTimeIfPossible(e)}},29617:(e,t,i)=>{"use strict";i.d(t,{SessionInfo:()=>o,BarBuilderBase:()=>a});var s=i(10480),r=i(68684),n=i(90388);class o{constructor(e,t,i,s){this.init(e,t,i,s),this._state={timezone:e,spec:t,holidays:i,corrections:s}}init(e,t,i,r){this.timezone=s.get_timezone(e),this.spec=new n.SessionSpec(e,t,i,r)}state(){return this._state}static fromState(e){return new o(e.timezone,e.spec,e.holidays,e.corrections)}}class a{alignTime(e){if(isNaN(e))return NaN;let t=this.indexOfBar(e);return t===r.SessionStage.POST_SESSION&&(this.moveTo(e),t=this.indexOfBar(e)),t<0?NaN:this.startOfBar(t)}}},69177:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SessionInfo:()=>o.SessionInfo,alignExchangeTimeToSessionStartAndReturnUTC:()=>P,alignPeriodsBackForDataRequest:()=>y,alignPeriodsBackForVisibleRange:()=>b,getPeriodsBetweenDates:()=>C,isTradingNow:()=>T,newBarBuilder:()=>S}) -;var s=i(10480),r=i(29823),n=i(64514),o=i(29617),a=i(68684);class l extends o.BarBuilderBase{constructor(e,t){super(),this._sessionStartMs=-Number.MAX_VALUE,this._sessionEndMs=-Number.MAX_VALUE,this._periodSec=e,this._session=t}alignTimeIfPossible(e){const t=this.alignTime(e);return isNaN(t)?e:t}indexOfBar(e){return e=this._sessionEndMs?a.SessionStage.POST_SESSION:(0,n.toInt)(s.time_seconds_diff(e,this._sessionStartMs)/this._periodSec)}startOfBar(e){if(e===a.SessionStage.PRE_SESSION){const e=s.get_cal_from_unix_timestamp_ms(this._session.timezone,this._sessionStartMs-1),t=this._session.spec.alignToNearestSessionEnd(e,-1);return s.cal_to_utc(this._session.timezone,t)}if(e===a.SessionStage.POST_SESSION)return this._sessionEndMs;if(e<0)throw new Error("Negative offset is not supported");return this._sessionStartMs+s.time_seconds(this._periodSec*e)}endOfBar(e){if(e<0)throw new Error("Index cannot be negative");const t=this.startOfBar(e)+1e3*this._periodSec;return t>this._sessionEndMs?this._sessionEndMs:t}isLastBar(e,t){return t>=this._sessionStartMs+s.time_seconds(this._periodSec*(e+1)-1)}moveTo(e){const t=this._session.timezone,i=s.utc_to_cal(t,e),r=this._session.spec.alignToSessionStart(i);this._sessionStartMs=s.cal_to_utc(t,i),s.add_minutes(i,r),this._sessionEndMs=s.cal_to_utc(t,i)}indexOfLastBarInSession(){return(0,n.toInt)((this._sessionEndMs-1-this._sessionStartMs)/1e3/this._periodSec)}moveNext(){this.moveTo(this._sessionEndMs)}}var c=i(26985);function h(e,t){const i=s.clone(t),r=e.businessDaysToCalendarDays(i,1);r>1&&s.add_date(i,r-1);const n=e.leftBorderOfDailyBar(i);if(null===n)throw new Error("Cannot calculate left border of daily bar");return s.cal_to_utc(s.get_timezone(e.timezone()),n)}class d extends o.BarBuilderBase{constructor(e,t,i,s,r=!1){super(),this._periodStart=-Number.MAX_VALUE,this._periodEnd=-Number.MAX_VALUE,this._periodLastBarStart=-Number.MAX_VALUE,this._periodStartDay=new c.BusinessDay(0,0,0),this._periodEndDay=new c.BusinessDay(0,0,0),this._period=i,this._sessionTgt=e,this._builder=s,this._useBusinessDays=r,this._sessionSrc=r?new o.SessionInfo("Etc/UTC","24x7"):t||e}builder(){return this._builder}alignTimeIfPossible(e){return this.tradingDayToSessionStart(e)}tradingDayToSessionStart(e){return this.moveTo(e),this.startOfBar(0)}indexOfBar(e){if(this._useBusinessDays){const t=c.BusinessDay.fromCalendar(s.get_cal_from_unix_timestamp_ms(this._sessionSrc.timezone,e));return t.before(this._periodStartDay)?a.SessionStage.PRE_SESSION:this._periodEndDay.before(t)?a.SessionStage.POST_SESSION:0}return e=this._periodEnd?a.SessionStage.POST_SESSION:0}startOfBar(e){if(e===a.SessionStage.PRE_SESSION){const e=s.get_cal_from_unix_timestamp_ms(this._sessionTgt.timezone,this._periodStart-1),t=this._sessionTgt.spec.alignToNearestSessionEnd(e,-1);return s.cal_to_utc(this._sessionTgt.timezone,t)-1} -return e===a.SessionStage.POST_SESSION||e>0?this._periodEnd:e===a.SessionStage.LASTBAR_SESSION?this._periodLastBarStart:this._periodStart}moveTo(e){const t=s.get_cal_from_unix_timestamp_ms(this._sessionSrc.timezone,e);this._sessionSrc.spec.correctTradingDay(t);const i=s.get_year(t),r=this._indexOfPeriodInYear(t),n=r+this._period,o=this._sessionTgt.spec,a=this._sessionTgt.timezone,l=this._builder.startOfPeriod(a,r,i);this._periodStart=h(o,l);const d=s.clone(l),u=o.businessDaysToCalendarDays(d,1);u>1&&s.add_date(d,u-1),this._periodStartDay=c.BusinessDay.fromCalendar(d);const p=this._builder.startOfPeriod(a,n,i);this._periodEnd=h(o,p);const _=s.clone(p);for(s.add_date(_,-1);o.isCalWeekEnd(_);)s.add_date(_,-1);this._periodEndDay=c.BusinessDay.fromCalendar(_),s.add_date(p,-1),function(e,t){for(;e.isCalWeekEnd(t);)s.add_date(t,-1)}(this._sessionTgt.spec,p),this._periodLastBarStart=h(o,p),(this._periodLastBarStart=this._periodLastBarStart}currentRange(){return{from:this._periodStartDay,to:this._periodEndDay}}indexOfBarInYear(e){const t=s.get_cal_from_unix_timestamp_ms(this._sessionSrc.timezone,e),i=s.get_year(t),r=this._builder.indexOfPeriod(t),o=this._sessionTgt.timezone;let a=this._builder.startOfPeriod(o,r,i),l=h(this._sessionTgt.spec,a);return a=s.get_cal_from_unix_timestamp_ms(s.get_timezone("Etc/UTC"),l),i=0&&(r-=7),(0,n.toInt)((r+i)/7))}class _{indexOfPeriod(e){return s.get_day_of_year(e)-1}startOfPeriod(e,t,i){const r=s.days_per_year(i);return s.get_cal(s.get_timezone("Etc/UTC"),i,s.JANUARY,1+Math.min(t,r))}}class m extends _{constructor(e){super(),this._sessionsSpec=e}indexOfPeriod(e){return super.indexOfPeriod(e)-function(e,t){const i=p(e,t),r=s.get_cal(s.get_timezone("Etc/UTC"),s.get_year(t),s.JANUARY,1);s.add_date(r,7*i);const n=i*e.weekEndsCount()+e.holidaysFromYearStart(r),o=s.get_day_of_year(t)-s.get_day_of_year(r);return n+o-e.calendarDaysToBusinessDays(r,o)}(this._sessionsSpec,e)}startOfPeriod(e,t,i){const r=7-this._sessionsSpec.weekEndsCount(),o=Math.max(0,(0,n.toInt)(t/r)-1),a=s.get_cal(s.get_timezone("Etc/UTC"),i,s.JANUARY,1),l=s.get_days_per_year(a);if(s.add_date(a,7*o),(t-=r*o-this._sessionsSpec.holidaysFromYearStart(a))>0){const e=this._sessionsSpec.businessDaysToCalendarDays(a,t);s.add_date(a,e)}let c=s.get_day_of_year(a)-1 -;return is.get_days_per_year(r)?this.startOfPeriod(e,0,i+1):(s.add_date(r,a),r)}}class v{indexOfPeriod(e){return s.get_month(e)}startOfPeriod(e,t,i){if(t<0){const e=(0,n.toInt)((11-t)/12);i-=e,t+=12*e}else t>s.DECEMBER&&(i++,t=s.JANUARY);return s.get_cal(s.get_timezone("Etc/UTC"),i,t,1)}}function S(e,t,i,s=!1){const n=r.Interval.parse(e),o=n.multiplier();return n.isMinutes()?new l(60*o,t):n.isSeconds()?new l(o,t):n.isTicks()?new l(1,t):n.isRange()?new l(60*o,t):new d(t,i,o,function(e,t){switch(e){case r.ResolutionKind.Days:return new g(t);case r.ResolutionKind.Weeks:return new f(t);case r.ResolutionKind.Months:return new v}throw new Error("Unknown dwm resolution: "+e)}(n.kind(),t),s)}function y(e,t,i,s,r,n,o){return w(e,t,i,s,r,n,o,0)}function b(e,t,i,s,r,n,o){return w(e,t,i,s,r,n,o,1)}function w(e,t,i,s,n,a,l,c){const h=r.Interval.parse(n+s);if(h.isMonths()){const e=new Date(l);return 0===c&&e.setUTCDate(1),function(e,t){x(e,Math.floor(t/12));let i=e.getUTCMonth()-t%12;i<0&&(x(e,1),i+=12);e.setUTCMonth(i);for(;e.getUTCMonth()!==i;)I(e,1)}(e,a*h.multiplier()),e.getTime()}const d=new o.SessionInfo("Etc/UTC",e,t,i),u=h.inMilliseconds(),p=h.isDWM();let _;_=p?864e5:60*d.spec.maxTradingDayLength()*1e3;let m=0;m=h.isWeeks()?7:7-d.spec.weekEndsCount();const g=_/u,f=m*g;let v;if(a=g&&(f=_/6048e5*g),Math.ceil(f)}function P(e,t){const i=s.clone(t);return e.alignToSessionStart(i),s.cal_to_utc(s.get_timezone(e.timezone()),i)}function T(e,t){const i=s.utc_to_cal(t.timezone,+e);let r=s.get_day_of_week(i),n=s.get_minutes_from_midnight(i);const o=t.spec.findSession(t.spec.getWeekIndex(i),r,n).getEntry() -;return o.isOvernight()&&n>o.startOffset()+o.length()&&r===o.dayOfWeek()-1&&(r++,n-=1440),r===o.dayOfWeek()&&n>=o.startOffset()&&n{"use strict";i.d(t,{BusinessDay:()=>r});var s=i(10480);class r{constructor(e,t,i){this.year=e,this.month=t,this.day=i}toString(){return`${this.year}-${this.month}-${this.day}`}compareTo(e){return this.year>e.year||this.year===e.year&&this.month>e.month||this.year===e.year&&this.month===e.month&&this.day>e.day?1:this.year===e.year&&this.month===e.month&&this.day===e.day?0:-1}before(e){return-1===this.compareTo(e)}toCalendar(e){return s.get_cal(s.get_timezone("Etc/UTC"),this.year,this.month-1,this.day)}addDays(e){const t=this.toCalendar(s.get_timezone("Etc/UTC"));return s.add_date(t,e),r.fromCalendar(t)}static fromCalendar(e){return new r(s.get_year(e),s.get_month(e)+1,s.get_day_of_month(e))}}},68684:(e,t,i)=>{"use strict";var s;i.d(t,{SessionStage:()=>s}),function(e){e[e.PRE_SESSION=-1]="PRE_SESSION",e[e.POST_SESSION=-2]="POST_SESSION",e[e.LASTBAR_SESSION=-3]="LASTBAR_SESSION"}(s||(s={}))},11075:(e,t,i)=>{"use strict";i.d(t,{extrapolateBarsFrontToTime:()=>r,extrapolateBarsFrontByCount:()=>n});var s=i(68684);function r(e,t,i,s,n=!1){if(t>i){const o=r(e,i,t,s,n);return o.count=-o.count,o}return o(e,t,1,(e,t)=>t>i||0!==s&&e>s,n)}function n(e,t,i,s=!1){const r=i<0?-1:1;return o(e,t,r,(e,t)=>e>=i*r,s)}function o(e,t,i,r,n){let o=0,a=t;e.moveTo(a);let l=0,c=Number.MAX_VALUE,h=!1,d=t;const u=[];for(;!r(o,a);){if(l>15)throw new Error("Internal error 0x10 while extrapolating.");const r=e.indexOfBar(a);if(r===s.SessionStage.PRE_SESSION&&1===i)a=e.startOfBar(0),e.moveTo(a);else if(r===s.SessionStage.PRE_SESSION&&-1===i)a=e.startOfBar(s.SessionStage.PRE_SESSION),e.moveTo(a);else if(r===s.SessionStage.POST_SESSION&&1===i)a=e.startOfBar(s.SessionStage.POST_SESSION),e.moveTo(a);else{if(r===s.SessionStage.POST_SESSION&&-1===i)throw new Error("Internal error 0x12 while extrapolating.");{const p=e.startOfBar(r);if(p>t&&i>0||t>p&&i<0){if(h&&c===p)throw new Error("Internal error 0x11 while extrapolating.");h=!0,c=p,l=0,o++,d=p,n&&u.push(d)}if(0===r&&-1===i)a=p-1;else{a=e.startOfBar(r+i);const t=e.startOfBar(s.SessionStage.POST_SESSION);a>t&&(e.moveTo(t),a=e.startOfBar(0))}}}l++}return{time:d,times:u,count:o}}},37415:(e,t,i)=>{"use strict";i.d(t,{PrePostMarketBarIdentifier:()=>n});var s=i(10480);function r(e,t){return null!==t&&t.to>e&&e>=t.from}class n{constructor(e,t,i,s){this._timezone=e,this._regularSessionSpec=t,this._preMarketSessionSpec=i,this._postMarketSessionSpec=s}getPreAndPostMarketTimes(e){if(0===e.length)return{preMarket:[],postMarket:[]};const t=[],i=[];let r=null,n=null,o=e[0],a=(0,s.utc_to_cal)(this._timezone,o);this._isInPreMarketSession(a)&&(n=o);for(let l=1;l{"use strict";i.d(t,{SessionSpec:()=>f});var s=i(10480),r=i(55257),n=i(26985);function o(e,t){return e.compareTo(t)}class a{constructor(e,t,i){this._dayOfWeek=e,this._start=t,this._length=i}start(){return this._start+s.minutesPerDay*this.sessionStartDaysOffset()}startOffset(){return this._start}sessionStartDaysOffset(){return this._start>=0?0:this._start%s.minutesPerDay==0?-Math.ceil(this._start/s.minutesPerDay):-Math.floor(this._start/s.minutesPerDay)}sessionEndDaysOffset(){const e=this._start+this._length;return e>=0?0:e%s.minutesPerDay==0?-Math.ceil(e/s.minutesPerDay):-Math.floor(e/s.minutesPerDay)}isOvernight(){return this._start<0}dayOfWeek(){return this._dayOfWeek}sessionStartDayOfWeek(){let e=this._dayOfWeek-this.sessionStartDaysOffset();return es.SATURDAY&&(e=1),e}length(){return this._length}weight(){return this._dayOfWeek*s.minutesPerDay+this._start}compareTo(e){const t=this.weight(),i=t+this._length,s=e.weight(),r=s+e._length;return t<=s&&ss?1:-1}contains(e){const t=60*s.get_hours(e)+s.get_minutes(e);let i=s.get_day_of_week(e)-this._dayOfWeek;i>0&&(i-=7);const r=i*s.minutesPerDay+t;return r>=this._start&&r=48&&e<=57}class _{constructor(){this.entries=[],this.firstDayOfWeek=s.MONDAY,this.weekEndsCount=-1,this.maxTradingDayLength=0}parseSessions(e,t){var i;let s=!1;this._clear(),this.timezone=e;const{hasErrors:r,spec:n}=this._parseFirstDayOfWeek(t);if("24x7"===n.toLowerCase())for(const e of d)this.entries.push(_._createSessionEntry(e,0,0,0,0));else{let e=!1;const t=new Map;for(const i of n.split("|")){const r=i.split(":");if(1!==r.length&&2!==r.length){s=!0,u.logError("Bad session section: "+i);continue}const n=1===r.length;if(n){if(e){s=!0,u.logError("Duplicated default section: "+i);continue}e=!0}const o=n?h:_._parseWorkingDays(r[1]);for(const e of o)n&&t.has(e)||t.set(e,r[0])}for(const e of d){const i=t.get(e);if(void 0!==i)for(const t of i.split(",")){ -const{hasErrors:i,sessionEntry:r}=_._parseSessionEntry(e,t);i&&(s=i),this.entries.push(r)}}}this.entries.sort(o);const a=new Map;for(const e of this.entries){const t=e.dayOfWeek();a.set(t,e.length()+(null!==(i=a.get(t))&&void 0!==i?i:0))}return this.maxTradingDayLength=0,a.forEach(e=>{this.maxTradingDayLength=Math.max(this.maxTradingDayLength,e)}),this.weekEndsCount=7-a.size,s||r}static parseHolidaysAndCorrections(e,t,i){const r=new Map,n=new Map,o=e=>{const t=this._parseDay(e),i=t.toString(),s=n.get(i);return void 0!==s?s:(n.set(i,t),t)};if(""!==t){const e=[];for(const i of t.split(",")){if(8!==i.length)throw new Error("bad holiday date: "+i);const t=o(i);r.set(t,e)}}if(""===i)return r;const l=s.get_timezone("Etc/UTC");for(const e of i.split(";")){const t=e.split(":");if(2!==t.length)throw new Error("bad correction section: "+e);const i=[];if("dayoff"!==t[0])for(const e of t[0].split(","))i.push(this._parseSessionEntry(1,e).sessionEntry);for(const e of t[1].split(",")){if(8!==e.length)throw new Error("bad correction date: "+e);const t=o(e),n=s.get_day_of_week(s.get_cal(l,t.year,t.month-1,t.day)),c=[];for(const e of i)c.push(new a(n,e.startOffset(),e.length()));r.set(t,c)}}return r}_clear(){this.entries=[],this.timezone="",this.firstDayOfWeek=s.MONDAY,this.weekEndsCount=-1}_parseFirstDayOfWeek(e){const t=e.split(";");if(t.length>2)return u.logError("Only one `first day` specification expected @ session "+e),{hasErrors:!0,spec:e};if(1===t.length)return{hasErrors:!1,spec:e};let i=1;let r=t[0].indexOf("-")>=0?NaN:parseInt(t[0]);return isNaN(r)&&(i=0,r=parseInt(t[1])),rs.SATURDAY?(u.logError(`Unexpected day index @ session: ${e}; day index ${r}`),{hasErrors:!0,spec:e}):(this.firstDayOfWeek=r,{hasErrors:!1,spec:t[i]})}static _parseDay(e){const t=parseInt(e.substring(0,4)),i=parseInt(e.substring(4,6)),s=parseInt(e.substring(6,8));return new n.BusinessDay(t,i,s)}static _parseSessionEntry(e,t){let i=!1,s=t.split("-");2!==s.length&&(i=!0,u.logError("Bad sessions entry: "+t),s=["0000","0000"]);let r=0,n=s[0];if(n.includes("F")){const e=n.split("F");n=e[0],r=""!==e[1]?parseInt(e[1]):1}let o=0,a=s[1];if(a.includes("F")){const e=a.split("F");a=e[0],o=""!==e[1]?parseInt(e[1]):1}if(!this._isCorrectSession(n)||!this._isCorrectSession(a))throw new Error("Incorrect entry syntax: "+t);const l=n,c=a;return{hasErrors:i,sessionEntry:this._createSessionEntry(e,_._minutesFromHHMM(l),_._minutesFromHHMM(c),r,o)}}static _isCorrectSession(e){return 4===e.length&&p(e.charCodeAt(0))&&p(e.charCodeAt(1))&&p(e.charCodeAt(2))&&p(e.charCodeAt(3))}static _parseWorkingDays(e){const t=[];for(let i=0;i0&&(t-=r*s.minutesPerDay),n>0&&(i-=n*s.minutesPerDay);return new a(e,t,i-t)}}function m(e,t){return e.compareTo(t)<0}function g(e,t){const i=(0,r.lowerbound)(e,t,(e,t)=>-1===e.day.compareTo(t));return i===e.length?null:e[i]}class f{ -constructor(e="Etc/UTC",t="0000-0000",i="",r=""){this._entries=[],this._firstDayOfWeek=s.MONDAY,this._entriesHash=new Map,this._holidayAndCorrectionMap=new Map,this._holidaySessions=[];const n=new _;n.parseSessions(e,t),this._entries=n.entries,this._timezone=n.timezone,this._spec=t,this._firstDayOfWeek=n.firstDayOfWeek,this._weekEndsCount=n.weekEndsCount,this._maxTradingDayLength=n.maxTradingDayLength;const o=_.parseHolidaysAndCorrections(e,i,r),a=s.get_timezone(e);this._isThereCorrections=""!==i||""!==r,o.forEach((e,t)=>{this._holidayAndCorrectionMap.set(t.toString(),e),this._holidaySessions.push({day:t,sessions:e});const i=this.getWeekIndex(t.toCalendar(a));this._entriesHash.set(i,null)}),this._holidaySessions.sort((e,t)=>e.day.compareTo(t.day))}entries(){return this._entries}timezone(){return this._timezone}spec(){return this._spec}firstDayOfWeek(){return this._firstDayOfWeek}addSessionEntry(e,t,i,r,n){0===i&&(i=s.minutesPerDay),r===n&&i<=t&&(r+=1),r>0&&(t-=r*s.minutesPerDay),n>0&&(i-=n*s.minutesPerDay);const o=i-t;this._entries.push(new a(e,t,o))}longestSessionLength(){let e=0,t=0;for(const t of this._holidaySessions)t.sessions.forEach(t=>{e=Math.max(e,t.length())});return this._entries.forEach(e=>{t=Math.max(t,e.length())}),Math.max(e,t)}isWeekEnd(e){const t=(0,r.lowerbound)(this._entries,new a(e,0,0),(e,t)=>e.dayOfWeek()this._entries.length-1||this._entries[t].dayOfWeek()!==e}isCalWeekEnd(e){const t=s.get_day_of_week(e);if(!this._isThereCorrections)return this.isWeekEnd(t);const i=n.BusinessDay.fromCalendar(e),r=this._holidayAndCorrectionMap.get(i.toString());return void 0===r?this.isWeekEnd(t):0===r.length}hasWeekEnds(){return this.weekEndsCount()>0}weekEndsCount(){return this._weekEndsCount}maxTradingDayLength(){return this._maxTradingDayLength}holidaysFromYearStart(e){if(!this._isThereCorrections)return 0;const t=s.get_timezone(this._timezone),i=new n.BusinessDay(s.get_year(e),s.JANUARY,1),r=n.BusinessDay.fromCalendar(e);let o=0;const a=this._selectHolidays(i,r);for(let e=0;et.start()%e==0&&t.length()%e==0)}indexOfSession(e,t,i){const n=this._getEntriesForWeek(e);let o=(0,r.lowerbound)(n,new a(t,i,0),m);if(o!==n.length)return new l(e,o,n);let c=e;const h=7-t+this._firstDayOfWeek-1;for(i=-(s.minutesPerDay-i+h*s.minutesPerDay);;){c++;const e=this._getEntriesForWeek(c);if(0!==e.length)return o=(0,r.lowerbound)(e,new a(this._firstDayOfWeek,i,0),m),new l(c,o,e)}}findSession(e,t,i,s=0){const r=this.indexOfSession(e,t,i),n=r.entries;let o=r.entryIndex;if(0!==s){const e=n[o].dayOfWeek(),t=s>0?1:-1;for(;;){const i=o+t;if(i<0||i>=n.length||n[i].dayOfWeek()!==e)break;o=i}}return new l(r.weekIndex,o,n)}getWeekIndex(e){if(!this._isThereCorrections)return 0 -;const t=s.get_day_of_week(e)-s.SUNDAY,i=s.get_timezone("Etc/UTC"),r=s.get_cal(i,s.get_year(e),s.get_month(e),s.get_day_of_month(e)-t);return Math.floor((r.getTime()+621672192e5)/1e3/86400/7)}correctTradingDay(e){const t=s.get_day_of_week(e),i=60*s.get_hours(e)+s.get_minutes(e),r=this.getWeekIndex(e),n=this.findSession(r,t,i,0),o=n.getEntry().dayOfWeek()-t+7*(n.weekIndex-r);return 0!==o&&s.add_date(e,o),e}alignToSessionStart(e,t=0){const i=s.get_day_of_week(e),r=60*s.get_hours(e)+s.get_minutes(e),n=this.getWeekIndex(e),o=this.findSession(n,i,r,t),a=o.getEntry(),l=a.dayOfWeek()-i+7*(o.weekIndex-n);0!==l&&s.add_date(e,l);const c=a.startOffset();return s.set_hms(e,c/60,c%60,0,0,s.get_timezone(this._timezone)),a.length()}businessDaysToCalendarDays(e,t){let i=this.getWeekIndex(e),r=s.get_day_of_week(e),n=0,o=0;for(;oi);)e[a].dayOfWeek()=t)return n}i++,r=s.SUNDAY}return n}calendarDaysToBusinessDays(e,t){let i=this.getWeekIndex(e),r=s.get_day_of_week(e),n=0,o=0;for(;ni);)e[a].dayOfWeek()=t)return o}i++,r=s.SUNDAY}return o}alignToNearestSessionStart(e,t){return this._alignToNearestSessionValue(e,t,this._entrySessionStart.bind(this))}alignToNearestSessionEnd(e,t){return this._alignToNearestSessionValue(e,t,this._entrySessionEnd.bind(this))}leftBorderOfDailyBar(e){const t=this._getEntriesForDay(e);return 0===t.length?null:(t.sort(o),this._getLeftEntryBorder(e,t[0]))}bordersOfDailyBar(e){const t=this._getEntriesForDay(e);if(0===t.length)return null;t.sort(o);const i=this._getLeftEntryBorder(e,t[0]),r=t[t.length-1],n=s.clone(e);let a=60*(r.startOffset()+r.length())-1;const l=Math.floor(a/3600);return a-=3600*l,s.set_hms(n,l,a/60,a%60,0,s.get_timezone(this._timezone)),{from:i,to:n}}getEntriesForWeekByCalendar(e){const t=this.getWeekIndex(e);return this._getEntriesForWeek(t)}_getEntriesForWeek(e){let t=this._entriesHash.get(e);if(void 0===t)return this._entries;if(null!==t)return t;const i=s.get_timezone(this._timezone);t=this._entries.slice();const r=this._weekIndexToCalendar(e),a=this._weekIndexToCalendar(e+1),l=n.BusinessDay.fromCalendar(r),c=n.BusinessDay.fromCalendar(a),h=this._selectHolidays(l,c);for(const e of h){const r=e.day.toCalendar(i),n=s.get_day_of_week(r);t=t.filter(e=>e.dayOfWeek()!==n),t=t.concat(e.sessions)}return t.sort(o),this._entriesHash.set(e,t),t}_selectHolidays(e,t){const i=[];let s=e;for(;;){const e=g(this._holidaySessions,s);if(null===e)return i;if(!e.day.before(t))return i;i.push(e),s=e.day.addDays(1)}}_weekIndexToCalendar(e){const t=1e3*(86400*e*7+86400)-621672192e5,i=s.get_cal_from_unix_timestamp_ms(s.get_timezone("Etc/UTC"),t),r=s.get_timezone("Etc/UTC");return s.get_cal(r,s.get_year(i),s.get_month(i),s.get_day_of_month(i))}_alignToNearestSessionValue(e,t,i){ -const r=s.get_day_of_week(e),n=60*s.get_hours(e)+s.get_minutes(e),o=this.getWeekIndex(e);let a=this.findSession(o,r,n);if(a.getEntry().contains(e)&&o===a.weekIndex||1===t)return i(a,s.clone(e),t);let c=a.entryIndex-1;if(c<0){let e=a.weekIndex,t=a.entries;for(;c<0;)e--,t=this._getEntriesForWeek(e),c+=t.length;a=new l(e,c,t)}else a=new l(a.weekIndex,c,a.entries);return i(a,s.clone(e),t)}_entrySessionStart(e,t,i){return this._entrySessionValue(e,t,i,e=>60*e.start())}_entrySessionEnd(e,t,i){return this._entrySessionValue(e,t,i,e=>60*(e.start()+e.length())-1)}_entrySessionValue(e,t,i,r){let n=s.get_day_of_week(t);const o=e.getEntry();let a=o.dayOfWeek()-o.sessionStartDaysOffset();const l=this.getWeekIndex(t);let c=e.weekIndex-l,h=!1;if(a0&&i>=0||c<0&&i<0)&&s.add_date(t,7*c),!o.contains(t)){let e=a-n;h&&i<0&&(e=-(7-a+n)),s.add_date(t,e),n=s.get_day_of_week(t)}o.isOvernight()&&n===o.dayOfWeek()&&s.add_date(t,-o.sessionStartDaysOffset());let d=r(o);const u=Math.floor(d/3600);return d-=3600*u,s.set_hms(t,u,d/60,d%60,0,s.get_timezone(this._timezone)),t}_getEntriesForDay(e){const t=s.get_day_of_week(e);return this._getEntriesForWeek(this.getWeekIndex(e)).filter(e=>e.dayOfWeek()===t)}_getLeftEntryBorder(e,t){const i=s.clone(e),r=t.startOffset();return s.set_hms(i,r/60,r%60,0,0,s.get_timezone(this._timezone)),i}}},33981:(e,t,i)=>{"use strict";var s=i(71053).PlotRowSearchMode,r=i(68906).rgbaFromInteger;function n(){this.backColorers=[]}function o(e){n.call(this),this._series=e}function a(e,t){n.call(this),this._study=e,this._plotIndex=t}n.prototype.barStyle=function(e,t,i){for(var s={},r=this.backColorers.length-1;r>=0;r--)this.backColorers[r].applyBarStyle(e,t,s,i);return this.applyBarStyle(e,t,s,i),s},n.prototype.pushBackBarColorer=function(e){this.backColorers.push(e)},n.prototype.applyBarStyle=function(e,t,i){throw new Error("This function is supposed to be reimplemented in a subclass")},inherit(o,n),o.upColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.upColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.upColor.value();case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.upColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.upColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.topLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value();case TradingView.Series.STYLE_COLUMNS:return e.columnStyle.upColor.value()}throw new Error("Unknown series style")},o.downColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.downColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.downColor.value() -;case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.downColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.downColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.bottomLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value();case TradingView.Series.STYLE_COLUMNS:return e.columnStyle.downColor.value()}throw new Error("Unknown series style")},o.prototype._applyLineStyle=function(e,t,i,s,r){i.barColor=o.upColor(r)},o.prototype._applyAreaStyle=function(e,t,i,s,r){i.barColor=o.upColor(r)},o.prototype._applyBarStyle=function(e,t,i,s,r){var n=o.upColor(r),a=o.downColor(r),l=this.findBar(e,!1,s);if(r.barStyle.barColorsOnPrevClose.value()){var c=this.findPrevBar(e,!1,s);i.barColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a,i.barBorderColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a}else i.barColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a,i.barBorderColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a},o.prototype._applyCandleStyle=function(e,t,i,s,r){var n,a=o.upColor(r,t),l=o.downColor(r,t),c=r.candleStyle.borderUpColor?r.candleStyle.borderUpColor.value():r.candleStyle.borderColor.value(),h=r.candleStyle.borderDownColor?r.candleStyle.borderDownColor.value():r.candleStyle.borderColor.value(),d=r.candleStyle.wickUpColor?r.candleStyle.wickUpColor.value():r.candleStyle.wickColor.value(),u=r.candleStyle.wickDownColor?r.candleStyle.wickDownColor.value():r.candleStyle.wickColor.value(),p=this.findBar(e,!1,s);r.candleStyle.barColorsOnPrevClose.value()&&this._series.data().first().index!==e?n=this.findPrevBar(e,!1,s)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:n=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT];i.barColor=n?a:l,i.barBorderColor=n?c:h,i.barWickColor=n?d:u},o.prototype._applyHollowCandleStyle=function(e,t,i,s,r){var n,a=o.upColor(r,t),l=o.downColor(r,t),c=r.hollowCandleStyle.borderUpColor?r.hollowCandleStyle.borderUpColor.value():r.hollowCandleStyle.borderColor.value(),h=r.hollowCandleStyle.borderDownColor?r.hollowCandleStyle.borderDownColor.value():r.hollowCandleStyle.borderColor.value(),d=r.hollowCandleStyle.wickUpColor?r.hollowCandleStyle.wickUpColor.value():r.hollowCandleStyle.wickColor.value(),u=r.hollowCandleStyle.wickDownColor?r.hollowCandleStyle.wickDownColor.value():r.hollowCandleStyle.wickColor.value(),p=this.findBar(e,!1,s),_=this.findPrevBar(e,!1,s);n=this._series.data().first().index!==e?_[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT],i.barColor=n?a:l,i.barBorderColor=n?c:h,i.barWickColor=n?d:u,i.isBarHollow=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT]},o.prototype._applyHAStyle=function(e,t,i,s,r){var n,a=o.upColor(r,t),l=o.downColor(r,t),c=r.haStyle.borderUpColor.value(),h=r.haStyle.borderDownColor.value(),d=r.haStyle.wickUpColor.value(),u=r.haStyle.wickDownColor.value(),p=this.findBar(e,t,s) -;r.haStyle.barColorsOnPrevClose.value()?n=this.findPrevBar(e,t,s)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:n=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT];i.barColor=n?a:l,i.barBorderColor=n?c:h,i.barWickColor=n?d:u},o.prototype._applyBaseLineStyle=function(e,t,i,s,r){var n=this.findBar(e,t,s),a=r.baselineStyle,l=this._series.priceScale(),c=Math.round(l.height()*(Math.abs(100-a.baseLevelPercentage.value())/100)),h=this._series.firstValue(),d=l.coordinateToPrice(c,h);n[TradingView.CLOSE_PLOT]>d?i.barColor=o.upColor(r,t):i.barColor=o.downColor(r,t)},o.prototype._applyHiLoStyle=function(e,t,i,s,r){i.barColor=o.upColor(r,t),i.barBorderColor=r.hiloStyle.borderColor.value()},o.prototype._applyColumnStyle=function(e,t,i,s,r){var n=o.upColor(r),a=o.downColor(r),l=this.findBar(e,!1,s);if(r.columnStyle.barColorsOnPrevClose.value()){var c=this.findPrevBar(e,!1,s);i.color=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a}else i.color=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?n:a;i.barColor=i.color},o.prototype.applyBarStyle=function(e,t,i,s){i||(i={}),i.barColor=null,i.barBorderColor=null,i.barWickColor=null,i.isBarHollow=null,i.isBarUp=null,i.upColor=null,i.downColor=null,i.isTwoColorBar=null,i.isMergedBar=null;var r=this._series.properties();switch(r.style.value()){case TradingView.Series.STYLE_LINE:this._applyLineStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_AREA:this._applyAreaStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_BARS:this._applyBarStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_CANDLES:this._applyCandleStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_HOLLOW_CANDLES:this._applyHollowCandleStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_HEIKEN_ASHI:this._applyHAStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_BASELINE:this._applyBaseLineStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_HILO:this._applyHiLoStyle(e,t,i,s,r);break;case TradingView.Series.STYLE_COLUMNS:this._applyColumnStyle(e,t,i,s,r)}return i},o.prototype.getSeriesBars=function(e){return e?this._series.nsBars():this._series.bars()},o.prototype._findBarFieldValue=function(e,t,i){var s=this.getSeriesBars(i).valueAt(e);if(null!==s)return s[t]},o.prototype.findBar=function(e,t,i){return i?i.value:this.getSeriesBars(t).valueAt(e)||[]},o.prototype.findPrevBar=function(e,t,i){if(i&&i.previousValue)return i.previousValue;var r=this._series.bars().search(e-1,s.NearestLeft,TradingView.CLOSE_PLOT);return null!==r?r.value:[]},inherit(a,n),a.prototype.getBars=function(){return this._study.series().bars()},a.prototype.firstColoredBar=function(e){for(var t=e,i=0;ie+l)return i;var c=s.styles[a.id];if(c.visible&&!c.visible.value())return i;var h=o.valueAt(e-l);if(null===h)return i;var d=h[this._plotIndex+1];if(null==d)return i;if(d=Math.round(d),n.isRGB)i.barColor=r(d),i.upColor=i.barColor,i.downColor=i.barColor;else{var u=n.plots[this._plotIndex].palette,p=s.palettes[u],_=n.palettes[u].valToIndex?n.palettes[u].valToIndex[d]:d,m=p.colors[_].color.value();i.barColor=m,i.upColor=m.color,i.downColor=m.color}return i},t.SeriesBarColorer=o,t.StudyBarColorer=a},81688:(e,t,i)=>{"use strict";i.d(t,{BarsRange:()=>r});var s=i(88537);class r{constructor(e,t){(0,s.assert)(e<=t,"The last bar in the bars range should be greater than or equal to the first bar"),this._firstBar=e,this._lastBar=t}firstBar(){return this._firstBar}lastBar(){return this._lastBar}count(){return this._lastBar-this._firstBar+1}contains(e){return this._firstBar<=e&&e<=this._lastBar}equals(e){return this._firstBar===e.firstBar()&&this._lastBar===e.lastBar()}static compare(e,t){return null===e||null===t?e===t:e.equals(t)}}},36244:(e,t,i)=>{"use strict";i.d(t,{ChartModelBase:()=>Vi});var s=i(4889),r=i(88537),n=i(86441),o=i(24377),a=i(45112),l=i(45345),c=i(6087),h=i(51768),d=i(81836),u=i(76422),p=i(11417),_=i(27759),m=i(35878),g=i(55257),f=i(14291);function v(e){return(0,f.isLineTool)(e)&&e.boundToSymbol()||!1}class S{constructor(){this._items=[],this._set=new Set,this._dataSourcesCache=null,this._customSourcesCache=null,this._lineSourcesCache=null}isEmpty(){return 0===this._items.length}add(e){if(this._items.length>0&&!v(this._items[0])&&this.clear(),v(e)){const t=(0,g.lowerbound)(this._items,e,(e,t)=>e.zorder()!(0,m.isDataSource)(e))),this._customSourcesCache}checkLineToolSelection(){this._items.forEach(e=>(0,f.isLineTool)(e)&&e.calcIsActualSymbol()),this._items=this._items.filter(e=>!(0,f.isLineTool)(e)||e.isActualSymbol()),this._invalidateCache()}remove(e){this._items=this._items.filter(t=>t!==e),this._set.delete(e),this._invalidateCache()}clear(){this._items=[],this._set.clear(),this._invalidateCache()}_invalidateCache(){this._customSourcesCache=null,this._dataSourcesCache=null,this._lineSourcesCache=null}}var y=i(31752),b=i.n(y),w=i(25270),C=i(29823),P=i(88564),T=i(2015),x=i.n(T),I=i(52640),M=i(22799) -;class L{constructor(e){this._rendererOptions={borderSize:1,offsetSize:5,fontSize:NaN,font:"",color:"",paneBackgroundColor:"",paddingBottom:0,paddingInner:0,paddingOuter:0,paddingTop:0,lineSpacing:0},this._chartModel=e}options(){const e=this._rendererOptions,t=this._chartModel.properties().childs(),i=t.scalesProperties.childs().fontSize.value();return e.fontSize!==i&&(e.fontSize=i,e.font=(0,I.makeFont)(i,M.CHART_FONT_FAMILY,""),e.paddingTop=2.5/12*i,e.paddingBottom=e.paddingTop,e.paddingInner=i/12*e.offsetSize,e.paddingOuter=i/12*e.offsetSize,e.lineSpacing=2/12*i),e.color=t.scalesProperties.childs().textColor.value(),e.paneBackgroundColor=t.paneProperties.childs().background.value(),this._rendererOptions}}var A=i(27982),E=i(54376),k=i(97098),D=i(59803),V=i(99305),B=i(67337),N=i(37667),R=i(47484),O=i(33291);const F=new k.PriceFormatter;class W extends V.CustomSourceBase{constructor(e,t,i){super(e,t),this._studySource=null,this._paneViews=[],this._metaInfo=null,this._destroyed=!1,this._isStarted=!1,this._loadedGraphics=null,this._doubleClickHandler=i;const s=t.mainSeries();this._properties=new P.DefaultProperty("sessions"),(0,D.applyDefaultsOverrides)(this._properties.childs().graphics,void 0,!1,"sessions"),this._removeDuplicateProperties(),this._properties.subscribe(this,this._onPropertiesChanged),t.studyMetaInfoRepository().findById({type:"java",studyId:"Sessions@tv-basicstudies"}).then(i=>{this._destroyed||null===this._loadedGraphics&&(this._setMetaInfo(i),null!==this._metaInfo&&(this._studySource=new A.StudyDataSource(t.chartApi(),s.seriesSource(),"sessions_",this._metaInfo),this._createPaneViews(),this._studySource.dataCleared().subscribe(this,this.updateAllViews.bind(this,(0,O.dataSourceChangeEvent)(e))),this._studySource.dataUpdated().subscribe(this,this.updateAllViews.bind(this,(0,O.dataSourceChangeEvent)(e))),this._studySource.setInputs({}),this._processHibernate()))}),t.timeScale().onReset().subscribe(this,this._clearData),t.timeScale().logicalRangeChanged().subscribe(this,this.updateAllViews.bind(this,(0,O.viewportChangeEvent)())),t.mainSeries().sessionIdProxyProperty().subscribe(this,this._updateVisibleOfPreAndPostMarketBackground),t.mainSeries().properties().childs().interval.subscribe(this,this._processHibernate),this._updateVisibleOfPreAndPostMarketBackground(t.mainSeries().properties().childs().sessionId)}applyOverrides(e){(0,D.applyPropertiesOverrides)(this._properties.childs().graphics,void 0,!1,e,"sessions"),this._model.updateSource(this)}start(){this._isStarted=!0,this._processHibernate()}restart(){this._clearData(),B.enabled("stop_study_on_restart")&&this.stop(),this.start()}isStarted(){return this._isStarted}stop(){this._isStarted=!1,null!==this._studySource&&this._studySource.stop()}isHoveredEnabled(){return!1}paneViews(e){return this._paneViews}updateAllViews(e){this._paneViews.forEach(t=>t.update(e))}updateViewsForPane(e,t){this.updateAllViews(t)}destroy(){this._destroyed=!0,null!==this._studySource&&(this._studySource.dataCleared().unsubscribeAll(this), -this._studySource.dataUpdated().unsubscribeAll(this),this._studySource.destroy(),this._studySource=null),this._model.timeScale().logicalRangeChanged().unsubscribeAll(this),this._model.timeScale().onReset().unsubscribeAll(this),this._model.mainSeries().sessionIdProxyProperty().unsubscribeAll(this),this._model.mainSeries().properties().childs().interval.unsubscribeAll(this),this._properties.unsubscribeAll(this)}series(){return this._model.mainSeries()}priceScale(){return this.series().priceScale()}graphics(){return this._loadedGraphics||(0,r.ensureNotNull)(this._studySource).graphics()}properties(){return this._properties}graphicsInfo(){return(0,r.ensureNotNull)(this._metaInfo).graphics}firstValue(e){return this._model.mainSeries().firstValue()}formatter(){return F}state(e){const t={properties:this._properties.state()};return e&&null!==this._metaInfo&&(t.data={graphics:(0,E.saveStudyGraphics)(this.graphics()),metaInfo:this._metaInfo}),t}restoreState(e,t){const i=e.properties;this._migrateOutOfSessionProperty(i),this._properties.mergeAndFire(i),this._removeDuplicateProperties(),this._updateVisibleOfPreAndPostMarketBackground(this._model.mainSeries().properties().childs().sessionId),void 0!==e.data&&t&&(this._loadStudyGraphics(e.data.graphics),this._setMetaInfo(e.data.metaInfo),this._createPaneViews())}restoreOldState(e,t){const i={properties:{graphics:e.state.graphics}};void 0!==e.data&&void 0!==e.metaInfo&&t&&(i.data={metaInfo:e.metaInfo,graphics:e.data.graphics}),this.restoreState(i,t)}applyPreferences(e){this._properties.mergePreferences(e)}metaInfo(){return(0,r.ensureNotNull)(this._metaInfo)}_loadStudyGraphics(e){const t=e.backgrounds;if(void 0!==t){const e=t.findIndex(e=>"inSession"===e.styleId);-1!==e&&t.splice(e,1)}this._loadedGraphics=(0,E.loadStudyGraphics)(e)}_setMetaInfo(e){const t=e.graphics.backgrounds;void 0!==t&&void 0!==t.inSession&&delete t.inSession,this._metaInfo=e}_updateVisibleOfPreAndPostMarketBackground(e){const t=!(0,N.isRegularSessionId)(e.value());this._outOfSessionVisibilityProperty().setValue(t),this._preMarketVisibilityProperty().setValue(t),this._postMarketVisibilityProperty().setValue(t)}_clearData(){null!==this._studySource&&this._studySource.clearData()}_createPaneViews(){const e={doubleClickHandler:this._doubleClickHandler};(0,E.createGraphicsPaneViews)(this,this._model,e).then(e=>{this._paneViews=e,this._model.lightUpdate()})}_onPropertiesChanged(){this._processHibernate(),this.updateAllViews((0,O.dataSourceChangeEvent)(this.id()))}_processHibernate(){if(null!==this._studySource){const e=this._canBeHibernated(),t=this._isHibernated(),i=this._studySource.isStarted();!t&&e&&i?this._studySource.stop():!t||e||i||this._studySource.start()}}_canBeHibernated(){const e=this._model.mainSeries(),t=this._preMarketVisibilityProperty().value()&&this._postMarketVisibilityProperty().value()&&this._outOfSessionVisibilityProperty().value();return e.isDWM()||!t&&!this._vertLinesVisibleProperty().value()}_isHibernated(){return this._isStarted&&(null===this._studySource||!this._studySource.isStarted())} -_outOfSessionVisibilityProperty(){return this._properties.childs().graphics.childs().backgrounds.childs().outOfSession.childs().visible}_preMarketVisibilityProperty(){return this._properties.childs().graphics.childs().backgrounds.childs().preMarket.childs().visible}_postMarketVisibilityProperty(){return this._properties.childs().graphics.childs().backgrounds.childs().postMarket.childs().visible}_vertLinesVisibleProperty(){return this._properties.childs().graphics.childs().vertlines.childs().sessBreaks.childs().visible}_removeDuplicateProperties(){this._properties.hasChild("properties")&&(this._properties.removeProperty("properties"),(0,P.saveDefaultProperties)(!0),this._properties.childChanged(null),(0,P.saveDefaultProperties)(!1))}_migrateOutOfSessionProperty(e){const t=e.graphics.backgrounds;if(void 0!==t){const i=t.outOfSession;i.color===(0,r.ensureDefined)(R.sessionsPreferencesDefault.graphics.backgrounds).outOfSession.color||"postMarket"in t||(e.graphics.backgrounds={...t,postMarket:{color:i.color,transparency:i.transparency,visible:i.visible},preMarket:{color:i.color,transparency:i.transparency,visible:i.visible}})}}}var H=i(81851),z=i(2872),U=i.n(z),j=i(52714),G=i.n(j),q=i(23653),Y=i(8175),K=i(28353),$=i(98125),X=i(9423),Z=i(39593),J=i(22932),Q=i(74325),ee=i(59555);const te=new Map([["price",e=>(0,J.isPriceDataSource)(e)],["trading",e=>(0,f.isTrading)(e)],["drawing",e=>(0,f.isLineTool)(e)&&!(0,f.isTrading)(e)&&!e.isPhantom()],["drawingsForAllSymbols",e=>(0,f.isLineTool)(e)&&!(0,f.isTrading)(e)&&!e.isPhantom()],["phantom",e=>(0,f.isLineTool)(e)&&e.isPhantom()],["restRowSources",e=>!(0,f.isLineTool)(e)&&!(0,f.isTrading)(e)],["leftPriceScale",(e,t)=>"left"===se(e,t)],["rightPriceScale",(e,t)=>"right"===se(e,t)],["overlayPriceScale",(e,t)=>"overlay"===se(e,t)]]),ie=new Map([["price","visibleSorted"],["trading","visibleSorted"],["drawing","visibleSorted"],["drawingsForAllSymbols","allSorted"],["phantom","visibleSorted"],["restRowSources","visibleSorted"],["leftPriceScale","visibleSorted"],["rightPriceScale","visibleSorted"],["overlayPriceScale","visibleSorted"]]);function se(e,t){const i=e.priceScale();return null===i?"overlay":t.priceScalePosition(i)}class re{constructor(e){this._groupedSources=new Map,this._sources=null,this._pane=e}clear(){this._groupedSources.clear(),this._sources=null}destroy(){this.clear()}all(){return this._groupedSources.has("visibleSorted")||this._sortSources(),(0,r.ensureDefined)(this._groupedSources.get("visibleSorted"))}allIncludingHidden(){return this._groupedSources.has("allSorted")||this._sortSources(),(0,r.ensureDefined)(this._groupedSources.get("allSorted"))}allExceptSpecialSources(){if(!this._groupedSources.has("exceptSpecial")){const e=this.allIncludingHidden().filter(e=>!e.isSpeciallyZOrderedSource());this._groupedSources.set("exceptSpecial",e)}return(0,r.ensureDefined)(this._groupedSources.get("exceptSpecial"))}tradingSources(){return this._getSourcesByGroupType("trading")}priceSources(){return this._getSourcesByGroupType("price")}lineSources(){ -return this._getSourcesByGroupType("drawing")}lineSourcesForAllSymbols(){return this._getSourcesByGroupType("drawingsForAllSymbols")}phantomSources(){return this._getSourcesByGroupType("phantom")}allExceptLineAndTradingSources(){return this._getSourcesByGroupType("restRowSources")}hitTestSources(){if(!this._groupedSources.has("hitTest")){const e=this.allExceptLineAndTradingSources().concat(this.lineSources());this._groupedSources.set("hitTest",e)}return(0,r.ensureDefined)(this._groupedSources.get("hitTest"))}generalSources(){if(!this._groupedSources.has("general")){const e=this.allExceptLineAndTradingSources().concat(this.lineSources());this._groupedSources.set("general",(0,ee.sortSources)(e))}return(0,r.ensureDefined)(this._groupedSources.get("general"))}leftPriceScalesSources(){return this._getSourcesByGroupType("leftPriceScale")}rightPriceScalesSources(){return this._getSourcesByGroupType("rightPriceScale")}overlayPriceScaleSources(){return this._getSourcesByGroupType("overlayPriceScale")}_getSourcesByGroupType(e){const t=(0,r.ensureDefined)(ie.get(e));return this._groupedSources.has(t)?this._groupedSources.has(e)||this._groupSources(e):(this._sortSources(),this._groupSources(e)),(0,r.ensureDefined)(this._groupedSources.get(e))}_sortSources(){null===this._sources&&(this._sources=this._pane.dataSources());const e=(0,ee.sortSources)(this._sources),t=e.filter(e=>!(0,f.isLineTool)(e)||e.isActualSymbol()&&e.isActualCurrency()&&e.isActualUnit());this._groupedSources.set("allSorted",e),this._groupedSources.set("visibleSorted",t)}_groupSources(e){const t=(0,r.ensureDefined)(ie.get(e)),i=te.get(e);if(void 0!==i){const s=(0,r.ensureDefined)(this._groupedSources.get(t)).filter(e=>i(e,this._pane));this._groupedSources.set(e,s)}}}var ne=i(28372),oe=i(22423),ae=i(69927),le=i(79680),ce=i(26161),he=i(50669),de=i(16654),ue=i(67072),pe=i.n(ue),_e=i(80643),me=i(13933);const ge=[],fe=[];class ve{constructor(e){this._studies={},this._deferreds={},this._container=e,ge.push(e),fe.push(this)}add(e,t){this._deferreds[e]&&(this._deferreds[e].resolve(t),delete this._deferreds[e]),this._studies[e]=t}get(e){return this._studies[e]?Promise.resolve(this._studies[e]):(this._deferreds[e]||(this._deferreds[e]=(0,d.createDeferredPromise)()),this._deferreds[e].promise)}reset(){const e=ge.indexOf(this._container);~e&&(ge.splice(e,1),fe.splice(e,1))}static instance(e){const t=ge.indexOf(e);return~t?fe[t]:new ve(e)}}var Se=i(66101),ye=i(97917);var be=i(36759),we=i(98802),Ce=i(95536),Pe=i(86225),Te=i(82241),xe=i(78898);const Ie=(0,$.getLogger)("Chart.Pane");function Me(e,t,i){e.setMargins({top:t,bottom:i})}class Le{constructor(e,t,i,s){this.m_dataSources=[],this._sourceWatchedValuesSubscriptions=new Map,this.m_mainDataSource=null,this._cachedOrderedSources=new re(this),this._sourcesById=new Map,this._priceSourcesById=new Map,this._sourcePropertiesChanged=new(U()),this._sourcesZOrderChanged=new(U()),this._tagsChanged=new(U()),this._stretchFactor=1e3,this._isInInsertManyDataSourcesState=!1,this._lastLineDataSourceZOrder=null,this._rightPriceScales=[], -this._leftPriceScales=[],this._lockedPriceScale=null,this._currentPriceScaleRatio=null,this._onPriceScalesChanged=new(U()),this._isRecalculatingScales=!1,this._priceDataSources=[],this._symbolSources=[],this._symbolSourceResolved=new(U()),this._symbolSourceResolvingActive=new(G())(!1),this._bulkActions={activeCounter:0},this._height=0,this._width=0,this._dataSourcesCollectionChanged=new(U()),this._symbolSourceCollectionChanged=new(U()),this._maximized=new(G())(!1),this._collapsed=new(G())(!1),this._destroyed=new(U()),this._executionsPositionController=null,this._recalcSymbolSourceResolvingActive=()=>{for(const e of this._symbolSources)if(e.symbolResolvingActive().value())return void this._symbolSourceResolvingActive.setValue(!0);this._symbolSourceResolvingActive.setValue(!1)},this._onSymbolSourceCollectionChanged=()=>{0===this._bulkActions.activeCounter?this._symbolSourceCollectionChanged.fire():this._bulkActions.symbolSourceCollectionChanged=!0},this._priceScaleSelectionStrategy=(0,Q.createPriceScaleSelectionStrategy)(i.properties().childs().priceScaleSelectionStrategyName.value()),this._id=null!=s?s:(0,X.randomHashN)(6),this._timeScale=e,this.m_mainDataSource=null,this._properties=t,this._model=i,i.properties().childs().priceScaleSelectionStrategyName.subscribe(null,e=>{this._priceScaleSelectionStrategy=(0,Q.createPriceScaleSelectionStrategy)(e.value()),this._priceScaleSelectionStrategy.apply(this)}),this._timeScale.barSpacingChanged().subscribe(this,()=>{this.m_mainDataSource===this._model.mainSeries()&&this._recalculatePriceScaleByScaleRatio(this.m_mainDataSource.priceScale())}),t.childs().topMargin.subscribe(this,this._updateMargins),t.childs().bottomMargin.subscribe(this,this._updateMargins),this._updateMargins()}destroy(){this._properties.childs().topMargin.unsubscribeAll(this),this._properties.childs().bottomMargin.unsubscribeAll(this),this._model.properties().childs().priceScaleSelectionStrategyName.unsubscribeAll(this),this._timeScale.barSpacingChanged().unsubscribeAll(this),this._leftPriceScales.concat(this._rightPriceScales).forEach(e=>{e.modeChanged().unsubscribeAll(this),e.priceRangeChanged().unsubscribeAll(this),e.internalHeightChanged().unsubscribeAll(this)});for(const e of this.m_dataSources)this.removeSourceFromPriceScale(e),e.destroy&&e.destroy();this._destroyed.fire()}id(){return this._id}bulkActionMacro(e){const t=this._bulkActions;t.activeCounter+=1,e(),t.activeCounter-=1,0===t.activeCounter&&(this._dataSourcesCollectionChanged.fire(),t.symbolSourceCollectionChanged&&this._symbolSourceCollectionChanged.fire(),t.symbolSourceCollectionChanged=!1)}defaultPriceScale(){var e,t;const i=null!==(t=null===(e=this.m_mainDataSource)||void 0===e?void 0:e.priceScale())&&void 0!==t?t:null;if(null!==i)return i;const s=this.properties().childs().axisProperties.state();return s.autoScale=!0,new ne.PriceScale(this._model.properties().childs().scalesProperties,s)}leftPriceScales(){return this._leftPriceScales}rightPriceScales(){return this._rightPriceScales}visibleLeftPriceScales(){var e -;const t=this._model.priceScaleSlotsCount();if(this._leftPriceScales.length>t.left){const i=(0,g.moveToHead)(this._leftPriceScales,null===(e=this.mainDataSource())||void 0===e?void 0:e.priceScale());return i.splice(t.left),i}return this._leftPriceScales}visibleRightPriceScales(){var e;const t=this._model.priceScaleSlotsCount();if(this._rightPriceScales.length>t.right){const i=(0,g.moveToHead)(this._rightPriceScales,null===(e=this.mainDataSource())||void 0===e?void 0:e.priceScale());return i.splice(t.right),i}return this._rightPriceScales}clearSeries(e){const t=this._model.mainSeries();for(let i=this.m_dataSources.length-1;i>=0;i--)this.m_dataSources[i]===t&&this._removeSourceFromCollections(i,e)}sourcesByGroup(){return this._cachedOrderedSources}dataSourceForId(e){return this._sourcesById.get(e)||null}changeSourceId(e,t){(0,r.assert)(this.hasDataSource(e));const i=e.id();e.setId(t),this._sourcesById.delete(i),this._sourcesById.set(t,e),(0,J.isPriceDataSource)(e)&&(this._priceSourcesById.delete(i),this._priceSourcesById.set(t,e))}movePriceScale(e,t,i){const s=this.priceScalePosition(e);if(s!==t)this.removePriceScale(e),this._placePriceScale(e,t,i),e.invalidateMargins(),this._invalidateSourcesCache();else if(void 0!==i&&"overlay"!==s){const t="left"===s?this._leftPriceScales:this._rightPriceScales,r=t.indexOf(e);t.splice(r,1),t.splice(i,0,e)}}mainDataSource(){return this.m_mainDataSource}isEmpty(){return null===this.m_mainDataSource}recalculatePriceScale(e,t){if(!e)return;const i=e.sourcesForAutoscale();if((e.isAutoScale()||e.priceRangeShouldBeRecalculatedOnce())&&i&&i.length>0&&!this.timeScale().isEmpty()){const t=this.timeScale().visibleBarsStrictRange();e.recalculatePriceRange(t)}e.updateAllViews(t)}onSourceTagsChanged(){this._tagsChanged.fire()}insertDataSource(e,t,i){e.setZorder(i),t||(t=this.findSuitableScale(e)),this._addSourceToCollections(e);let s=!1;e===this.model().mainSeries()?(this.m_mainDataSource=this.model().mainSeries(),s=!0):null===this.m_mainDataSource&&(0,J.isPriceDataSource)(e)&&(this.m_mainDataSource=e,s=!0),t.addDataSource(e,this._isInInsertManyDataSourcesState),e.setPriceScale(t),t.invalidateMargins(),e.onTagsChanged&&e.onTagsChanged().subscribe(this,this.onSourceTagsChanged),s&&this._processMainSourceChange(),this._tagsChanged.fire(),(0,J.isPriceDataSource)(e)&&this.recalculatePriceScale(t,(0,O.dataSourceChangeEvent)(e.id())),this._invalidateSourcesCache()}addDataSource(e,t,i){let s=e.zorder();i||((0,f.isLineTool)(e)&&!e.isSpeciallyZOrderedSource()?(s=null!==this._lastLineDataSourceZOrder?this._lastLineDataSourceZOrder+1:this.newLineToolZOrder(),this._isInInsertManyDataSourcesState&&(this._lastLineDataSourceZOrder=s)):(0,H.isStudy)(e)&&!e.isSpeciallyZOrderedSource()&&(s=this.newStudyZOrder())),this.insertDataSource(e,t,s)}removeDataSource(e,t,i){const s=this.m_dataSources.indexOf(e);if(-1===s)return void Ie.logDebug("removeDataSource: invalid data source");this._removeSourceFromCollections(s,!!i),e!==this.m_mainDataSource||t||(this.m_mainDataSource=null);const r=e.priceScale() -;this.removeSourceFromPriceScale(e),e.onTagsChanged&&e.onTagsChanged().unsubscribe(this,this.onSourceTagsChanged),(0,J.isPriceDataSource)(e)&&!t&&this._processMainSourceChange(),this._tagsChanged.fire(),r&&(0,J.isPriceDataSource)(e)&&this.recalculatePriceScale(r,(0,O.dataSourceChangeEvent)(e.id())),this._invalidateSourcesCache()}hasDataSource(e){return this._sourcesById.has(e.id())}hasPriceDataSource(e){return this._priceSourcesById.has(e.id())}dataSources(){return this.m_dataSources}priceDataSources(){return this._priceDataSources}symbolSources(){return this._symbolSources}replaceSource(e,t,i){const s=this.m_mainDataSource===e,r=e.zorder();this.insertDataSource(t,i,r),this.removeDataSource(e,s),this._sourcesById.set(t.id(),t),(0,J.isPriceDataSource)(t)&&this._priceSourcesById.set(t.id(),t),s&&(this.m_mainDataSource=t,this._processMainSourceChange())}findSuitableScale(e,t,i){return this._priceScaleSelectionStrategy.findSuitableScale(this,e,t,i)}createNewPriceScaleIfPossible(){return this._priceScaleSelectionStrategy.createNewPriceScaleIfPossible(this)}canCreateNewPriceScale(){return this._priceScaleSelectionStrategy.canCreateNewPriceScale(this)}isOverlay(e){const t=e.priceScale();return null===t||"overlay"===this.priceScalePosition(t)}recalculate(e){this._leftPriceScales.forEach(t=>this.recalculatePriceScale(t,e)),this._rightPriceScales.forEach(t=>this.recalculatePriceScale(t,e));for(const t of this.m_dataSources)this.isOverlay(t)&&!(0,f.isLineTool)(t)&&this.recalculatePriceScale(t.priceScale(),e);this.updateAllViews(e),this._model.updatePane(this)}updateAllViews(e){for(const t of this.m_dataSources)t.updateAllViews(e);for(const t of this.model().customSources())t.updateViewsForPane(this,e)}priceScalePosition(e){return this._leftPriceScales.includes(e)?"left":this._rightPriceScales.includes(e)?"right":"overlay"}createPriceScaleAtPosition(e,t){const i=this.properties().childs().axisProperties.state();i.autoScale=!0;const s=new ne.PriceScale(this.model().properties().childs().scalesProperties,i);return s.setHeight(this.height()),Me(s,this._defaultTopMargin(),this._defaultBottomMargin()),this._placePriceScale(s,e,t),s}removePriceScale(e){e.modeChanged().unsubscribeAll(this),e.priceRangeChanged().unsubscribeAll(this),e.internalHeightChanged().unsubscribeAll(this),e===this._lockedPriceScale&&(this._lockedPriceScale=null,this._currentPriceScaleRatio=null);const t=this._leftPriceScales.indexOf(e);-1!==t&&(this._leftPriceScales[t].invalidateMargins(),this._leftPriceScales.splice(t,1));const i=this._rightPriceScales.indexOf(e);if(-1!==i&&(this._rightPriceScales[i].invalidateMargins(),this._rightPriceScales.splice(i,1)),null===e.mainSource()){const t=e.dataSources().length;0!==t&&Ie.logError("Invalid priceScale state: empty mainSource but non-empty data sources="+t)}this._onPriceScalesChanged.fire()}priceScaleIndex(e,t){switch(t){case"left":return this.leftPriceScales().indexOf(e);case"right":return this.rightPriceScales().indexOf(e)}}move(e,t,i){const s=e.priceScale();this.removeSourceFromPriceScale(e),t.addDataSource(e), -e.setPriceScale(t),t.invalidateMargins(),this._processMainSourceChange(),this._invalidateSourcesCache(),e.isIncludedInAutoScale()&&(null!==s&&this.recalculatePriceScale(s,(0,O.dataSourceChangeEvent)(e.id())),this.recalculatePriceScale(t,(0,O.dataSourceChangeEvent)(e.id()))),this._onPriceScalesChanged.fire()}setZOrders(e){e.forEach((e,t)=>{t.setZorder(e)}),this._invalidateSourcesCache(),0===this._bulkActions.activeCounter&&this._dataSourcesCollectionChanged.fire(),this.model().lightUpdate()}isMainPane(){return this.hasDataSource(this.model().mainSeries())}isLast(){const e=this.model().panes();return e[e.length-1]===this}newStudyZOrder(){return(0,ce.newStudyZOrder)(this._priceDataSources)}newLineToolZOrder(e){return(0,ce.newLineToolZOrder)(this.m_dataSources,e)}model(){return this._model}containsMainSeries(){return this._sourcesById.has(this.model().mainSeries().id())}applyPriceScaleRatio(e,t){var i;null!==this._lockedPriceScale&&this._lockedPriceScale!==e||this._currentPriceScaleRatio===t||!this.isMainPane()||null===this._lockedPriceScale&&e!==(null===(i=this.mainDataSource())||void 0===i?void 0:i.priceScale())||(this._setNewPriceRangeByScaleRatio(e,t,this._mainSourceVisiblePriceRange(e),!0,!0),null!==this._lockedPriceScale?this._tryToApplyNewPriceScaleRatio():e.isLog()||this.model().mainSeriesScaleRatioPropertyOnChanged())}sendToBack(e){const t=this.sourcesByGroup().allExceptSpecialSources();this._batchReorder(e,t[0],ce.moveBeforeSource)}bringToFront(e){const t=this.sourcesByGroup().allExceptSpecialSources();this._batchReorder(e,t[t.length-1],ce.moveAfterSource)}sendBackward(e){const t=this.sourcesByGroup().allIncludingHidden(),i=t.indexOf(e[0]);if(0===i)this.bringToFront(e);else{const s=t[i-1];this.insertBefore(e,s)}}bringForward(e){const t=this.sourcesByGroup().allExceptSpecialSources(),i=t.indexOf(e[e.length-1]);if(i===t.length-1)this.sendToBack(e);else{const s=t[i+1];this.insertAfter(e,s)}}insertAfter(e,t){this._batchReorder(e,t,ce.moveAfterSource)}insertBefore(e,t){this._batchReorder(e,t,ce.moveBeforeSource)}maximized(){return this._maximized}collapsed(){return this._collapsed}getPriceScaleById(e){const t=this.m_dataSources.find(t=>{var i;return(null===(i=t.priceScale())||void 0===i?void 0:i.id())===e});return void 0===t?null:t.priceScale()}priceScaleSelectionStrategy(){return this._priceScaleSelectionStrategy}setPriceScaleSelectionStrategy(e){this._priceScaleSelectionStrategy=e,e.apply(this)}findTargetPriceAxisViews(e,t,i,s){if((0,m.isDataSource)(e)&&this.model().paneForSource(e)!==this)return[];const r=e.priceScale();if(t===r)return i;if(null===r)return[];if("overlay"===this.priceScalePosition(r))return t===this.defaultPriceScale()?i:[];const n=this.priceScalePosition(t);if(n!==this.priceScalePosition(r))return[];const o="left"===n?this.leftPriceScales():this.rightPriceScales();return o.indexOf(t)1}properties(){return this._properties}setPriceAutoScale(e,t){e.setMode({ -autoScale:t}),this.timeScale().isEmpty()||this.recalculatePriceScale(e,(0,O.viewportChangeEvent)())}state(e,t,i,s,r,n){var o,a;const l={sources:[],mainSourceId:null===(o=this.m_mainDataSource)||void 0===o?void 0:o.id(),stretchFactor:this._stretchFactor,leftAxisesState:[],rightAxisesState:[],overlayPriceScales:{},priceScaleRatio:this._currentPriceScaleRatio},c=new Map,h=e=>{if(c.has(e))return c.get(e);let o=null;const a=i&&!e.isSavedInStudyTemplates()||!e.state||(0,f.isLineTool)(e)&&n||!(o=e.state(t,r))||!e.isSavedInChart(Boolean(t))||s&&(0,f.isLineTool)(e)&&e.isActualSymbol&&!e.isActualSymbol()||e.isPhantom()?null:o;return c.set(e,a),a};if(e){l.sources=[];for(let e=0;enull!==c.get(e),u=e=>!n||!(0,f.isLineTool)(e);l.leftAxisesState=this._leftPriceScales.map(e=>({state:e.state(),sources:e.dataSources().filter(d).filter(u).map(e=>e.id())})),l.rightAxisesState=this._rightPriceScales.map(e=>({state:e.state(),sources:e.dataSources().filter(d).filter(u).map(e=>e.id())})),l.overlayPriceScales={};for(const e of this.m_dataSources)if(this.isOverlay(e)&&e.isSavedInChart(Boolean(t))){const t=e.priceScale();l.overlayPriceScales[e.id()]=null!==(a=null==t?void 0:t.state())&&void 0!==a?a:null}return l}restoreState(e,t,i,s,n,o){var a;s=s||{},e.stretchFactor&&(this._stretchFactor=e.stretchFactor);const l={};if(e.sources){const r=e.sources.filter(e=>{var t;return!!e&&("MainSeries"===e.type||(!(null===(t=e.points)||void 0===t?void 0:t.some(e=>null===e.time_t||!isFinite(e.time_t)))||(Ie.logNormal("Dropped invalid "+e.type+". Reason: non-numeric point time"),!1)))}),a=r.findIndex(he.isMainSeriesState);-1!==a&&this.model().mainSeries().setObsoleteZOrder(r[a].zorder),i<3&&(0,ce.reorderDataSourcesStateZOrder)(r);const c=-1!==this.m_dataSources.indexOf(this._model.mainSeries());this.clearSeries(Boolean(o)),this.m_mainDataSource=null,c&&this._addSourceToCollections(this._model.mainSeries(),o),(()=>{const t=r.find(t=>t.id===e.mainSourceId);if(void 0===t)return void Ie.logWarn("There is no main source with id "+e.mainSourceId+", total sources="+r.length);if(!window.TradingView[t.type]||!(0,f.isLineToolName)(t.type))return void Ie.logNormal("The type of main source is not line tool - fix is unnecessary");let i=null;for(const e of r)if(!window.TradingView[t.type]||!(0,f.isLineToolName)(e.type)){if(null!==i)return void Ie.logWarn("Pane contains more than 1 possibly main sources - auto fix cannot be applied");i=e}if(null===i)return void Ie.logWarn("Pane contains only line tools - possible we need to remove this pane?");const s=e.mainSourceId;let n=0;e.mainSourceId=i.id,r.forEach(e=>{e.ownerSource===s&&(e.ownerSource=null==i?void 0:i.id,n+=1)}),Ie.logNormal("Auto fix broken pane is applied, changed line tools="+n+", changed from="+s+" to="+i.id)})();for(const e of r)if("study_Sessions"===e.type){this.model().sessions().restoreOldState(e,t);break}for(const e of r){if("study_Sessions"===e.type)continue;const i=e.id -;null===this._model.dataSourceForId(e.id)||"MainSeries"===e.type?(l[i]=e.ownerSource,(0,he.isMainSeriesState)(e)?this._restoreMainSeries(e,t,c,s,n,o):(0,he.isStudyState)(e)?this.restoreStudy(e,t,s,o):(0,he.isLineToolState)(e)?(e.state&&(e.state.zOrderVersion=2),this.restoreLineTool(e,t,void 0,o)):"ChartEventsSource"===e.type&&this._restoreSpecialSource(e,t,o)):Ie.logError("Duplicate id while restoring pane: "+e.type+","+e.id)}}const c=new Set,h=(e,t)=>{e.priceScale()!==t&&(this.removeSourceFromPriceScale(e),e.setPriceScale(t),t.addDataSource(e))},d=(e,t,i)=>{if(c.has(e))return;c.add(e);const s=i.m_showSymbolLabels;void 0!==s&&e===this.model().mainSeries()&&this.model().properties().childs().scalesProperties.childs().showSymbolLabels.setValue(s),this._model.children(e,!0).forEach(e=>d(e,t,i)),h(e,t)},u=e=>{const t=(0,D.defaults)("chartproperties").paneProperties.axisProperties,i=new ne.PriceScale(this.model().properties().childs().scalesProperties,t);return i.restoreState(e.state),e.sources.forEach(e=>{const s=this.dataSourceForId(e);s&&d(s,i,t)}),0===i.dataSources().length?null:i},p=e=>e.map(u).filter(e=>null!==e);let _;if(e.leftAxisesState)_=p(e.leftAxisesState);else{const t=u({state:e.leftAxisState,sources:e.leftAxisSources});_=null!==t?[t]:[]}let m;if(this._leftPriceScales.slice().forEach(e=>this.removePriceScale(e)),this._leftPriceScales=[],_.forEach(e=>this._placePriceScale(e,"left")),e.rightAxisesState)m=p(e.rightAxisesState);else{const t=u({state:e.rightAxisState,sources:e.rightAxisSources});m=null!==t?[t]:[]}this._rightPriceScales.slice().forEach(e=>this.removePriceScale(e)),this._rightPriceScales=[],m.forEach(e=>this._placePriceScale(e,"right")),this._currentPriceScaleRatio=e.priceScaleRatio||e.leftPriceScaleRatio||e.rightPriceScaleRatio||null;const g=new Map;for(const t of this.m_dataSources){if(c.has(t))continue;let i;if(e.overlayPriceScales&&e.overlayPriceScales[t.id()]){let s=e.overlayPriceScales[t.id()];g.has(null==s?void 0:s.id)?i=g.get(null==s?void 0:s.id):(s=(0,r.ensure)(s),i=new ne.PriceScale(this._model.properties().childs().scalesProperties),i.setHeight(this._height),s.m_isAutoScale=!0,s.m_isLog=!1,s.m_isPercentage=!1,s.m_isLockScale=!1,i.restoreState(s),g.set(s.id,i))}else i=new ne.PriceScale(this._model.properties().childs().scalesProperties),i.setHeight(this._height);h(t,i)}for(const e of Object.keys(l)){const t=l[e];t&&(null===(a=this.dataSourceForId(e))||void 0===a||a.setOwnerSource(this.dataSourceForId(t)))}if(e.mainSourceId&&!this.containsMainSeries()&&(this.m_mainDataSource=this.dataSourceForId(e.mainSourceId)),!this.m_mainDataSource)for(const e of this.m_dataSources)if((0,J.isPriceDataSource)(e)){this.m_mainDataSource=e;break}for(const e of this.m_dataSources)if((0,f.isLineTool)(e))e.ownerSource()||e.setOwnerSource(this.mainDataSource()),e.isFixed()&&e.restoreFixedPoints();else if((0,H.isStudy)(e)){const t=e.properties();t.linkedToSeries&&t.linkedToSeries.value()&&(e.ownerSource()||e.setOwnerSource(this.model().mainSeries()))}this._updateMargins(),this._cachedOrderedSources.clear()} -onPriceScalesChanged(){return this._onPriceScalesChanged}setPaneSize(e){let t;switch(e){case"large":t=1;break;case"medium":t=.6;break;case"small":t=.3;break;case"tiny":t=.15;break;default:throw new Error("Unknown size enum value: "+e)}this._stretchFactor=1e3*t}stretchFactor(){return this._stretchFactor}setStretchFactor(e){this._stretchFactor=e}customSources(e){return this.model().customSources(e)}createDrawingsCaches(){Z.ExecutionsPositionController.recreateOrderedByBarsSourcesCache(this)}clearDrawingCaches(){Z.ExecutionsPositionController.clearOrderedByBarsSourcesCache()}executionsPositionController(){return this._executionsPositionController||(this._executionsPositionController=new Z.ExecutionsPositionController(this,this._model.timeScale())),this._executionsPositionController}width(){return this._width}height(){return this._height}setHeight(e){this._height=e,this._leftPriceScales.forEach(t=>t.setHeight(e)),this._rightPriceScales.forEach(t=>t.setHeight(e));for(let t=0;t(e.paneViews(this)||[]).some(e=>{const r=e.renderer(t,i);return r&&r.doesIntersectWithBox&&r.doesIntersectWithBox(s)}))}logicalRectToPixels(e){const t=this.defaultPriceScale(),i=this.timeScale(),s=(0,r.ensureNotNull)((0,r.ensureNotNull)(t.mainSource()).firstValue()),o=t.priceToCoordinate(e.p1.price,s),a=i.indexToCoordinate(e.p1.index),l=t.priceToCoordinate(e.p2.price,s),c=i.indexToCoordinate(e.p2.index),h=new n.Point(Math.min(a,c),Math.min(o,l)),d=new n.Point(Math.max(a,c),Math.max(o,l));return(0,n.box)(h,d)}timeScale(){return this._timeScale}restoreLineTool(e,t,i,s){var n,o,a,l,c,h,d,u,p,_,m;delete e.state.lastUpdateTime,e.state.intervalsVisibilities=(0,be.mergeIntervalVisibilitiesDefaults)(e.state.intervalsVisibilities),i=void 0===i||i,ye.LineToolElliott.migrateState(e),"LineToolGannComplex"!==(m=e).type||void 0!==m.version&&1!==m.version||(m.type="LineToolGannFixed");const g=e.type,v=e.id,S=e.state,y=i?e.zorder:this.newLineToolZOrder();(0,r.assert)((0,f.isLineToolName)(g),"invalid data source type:"+g+" (expected to be a Line Tool)");let b,w,C=null;if((0,he.isStudyLineToolState)(e)){C=this._model.studyVersioning() -;const t=C.patchPointsBasedStudyState(e);e=t;const i=t.metaInfo;Object.assign(i,pe().parseIdString(null==i?void 0:i.fullId));const s=C.updateMetaInfo(i)||i;w=(0,f.createStudyLineToolProperties)(g,i,s,S,C),b=(0,f.createLineTool)(g,this._model,w,s,!0)}else w=(0,f.createLineToolProperties)(g,S,this._model),t?null===(n=w.child("fixedSize"))||void 0===n||n.setValue(!1):null===(o=w.child("fixedSize"))||void 0===o||o.setValue(!0),b=(0,f.createLineTool)(g,this._model,w,null,!0);b.setId(v),b.linkKey().setValue(e.linkKey||null);const P=e.alertId;P&&b.canHasAlert()&&B.enabled("alerts")&&!this._model.readOnly()&&!this._model.isJustClonedChart()&&b.setAlert(P,{noChartSave:!0});let T=null!==(a=e.indexes)&&void 0!==a?a:[];if(T=T.slice(0,null!==(c=null===(l=e.points)||void 0===l?void 0:l.length)&&void 0!==c?c:T.length),b.isFixed()?e.positionPercents&&b.restorePositionPercents(e.positionPercents):e.points&&b.restorePoints(e.points,T,t),b instanceof we.LineToolBarsPattern||b instanceof Ce.LineToolCallout||b instanceof Pe.LineToolTrendAngle||b instanceof Te.LineToolGhostFeed||b instanceof xe.LineToolParallelChannel)null===(d=(h=b).restoreData)||void 0===d||d.call(h,e);else if(t&&(0,he.isStudyLineToolState)(e)&&b.restoreData){const t=e;C&&(t.graphics=C.patchPointsBasedStudyData(t.metaInfo,t.graphics)),null===(u=b.restoreData)||void 0===u||u.call(b,t)}const x=null==e.version?1:e.version,I=null==b.version?1:b.version;return x!==I&&(null===(_=(p=b).migrateVersion)||void 0===_||_.call(p,x,I,{pane:this,model:this._model,properties:w})),void 0!==y&&b.setZorder(y),this._addSourceToCollections(b,s),this._cachedOrderedSources.clear(),b}restoreStudy(e,t,i,s){if(t&&void 0===e.data&&void 0===e.nonSeriesData&&void 0===e.indexes)return Ie.logError("Cannot restore (skipping) study without data "+e.id+", "+e.metaInfo.id),null;const r=e.id,n=e.state,o=e.zorder,a=e.ownerSource;let l=(0,_e.clone)(e.metaInfo);if(Object.assign(l,pe().parseIdString(l.id)),function(e){return"Script$TV_EARNINGS@tv-scripting"===e||"Script$TV_DIVIDENDS@tv-scripting"===e||"Script$TV_SPLITS@tv-scripting"===e||"ESD$TV_EARNINGS@tv-scripting"===e||"ESD$TV_DIVIDENDS@tv-scripting"===e||"ESD$TV_SPLITS@tv-scripting"===e||"Earnings@tv-basicstudies"===e||"Dividends@tv-basicstudies"===e||"Splits@tv-basicstudies"===e||"BarSetContinuousRollDates@tv-basicstudies"===e}(l.id)&&!t)return Ie.logNormal("Skipping study "+l.id),null;let c=n;const h=this._model.studyVersioning(),d=h.patchPropsStateAndMetaInfo(c,l,{oldShowStudyLastValueProperty:t&&!i.showStudyLastValueProperty});c=d.propsState,l=d.metaInfo;const u=new w.StudyStub(this._model,e,l.shortDescription);let p;u.setId(r),u.setZorder(o);const _=i=>{u.setStatus({type:me.StudyStatusType.Undefined});const s=i||new(pe())(l),n=ve.instance(this._model),o=o=>{var a;const d=(0,Se.prepareStudyPropertiesForLoadChart)(l,i,c,null,h),_=(0,H.createStudy)(this._model,d,o||this._model.mainSeries(),s);if(_.setId(r),_.setOwnFirstValue(null!==(a=e.ownFirstValue)&&void 0!==a?a:null),t){ -const t=e,{data:i,nsData:s,indexes:r}=h.patchStudyData(l,t.data,t.nonSeriesData,t.indexes);_.restoreData(i,s,r)}this._model.replaceStudyStub(u,_)||(p=_),n.add(r,_)};a&&e.state.isChildStudy?n.get(a).then(o):o()};if(t)_(null);else{const e=h.updateMetaInfoAsync(l);e.sync?_(e.result):e.result.then(_).catch(e=>u.setFailed("error: "+e))}const m=null!=p?p:u;return m&&(m.setZorder(o),this._addSourceToCollections(m,s),this._processMainSourceChange()),this._cachedOrderedSources.clear(),m}clipboardLineToolOwnerSource(e){const t=this.dataSourceForId(e);if(null!==t){const e=t.ownerSource();if(null!==e&&null!==e.firstValue())return e}const i=this.mainDataSource();if(null!==i&&null!==i.firstValue())return i;for(const e of this.dataSources())if((0,J.isPriceDataSource)(e)&&null!==e.firstValue())return e;return null}realignLineTools(e){var t;let i=!1;for(const s of this.m_dataSources)!(0,f.isLineTool)(s)||void 0!==e&&(null===(t=null==s?void 0:s.ownerSource())||void 0===t?void 0:t.symbolSource())!==e&&(0,le.isActingAsSymbolSource)(e)||(s.realign(),s.updateAllViews((0,O.dataSourceChangeEvent)(s.id())),i=!0);return i&&this._invalidateSourcesCache(),i}startScalePrice(e,t){e.startScale(t)}scalePriceTo(e,t){e.scaleTo(t),this.updateAllViews((0,O.viewportChangeEvent)())}endScalePrice(e){e.endScale()}startScrollPrice(e,t){e.startScroll(t)}scrollPriceTo(e,t){e.scrollTo(t),this.updateAllViews((0,O.viewportChangeEvent)())}endScrollPrice(e){e.endScroll()}resetPriceScale(e){const t=this.timeScale().visibleBarsStrictRange();e.isLockScale()||e.setMode({autoScale:!0}),e.recalculatePriceRange(t),this.updateAllViews((0,O.viewportChangeEvent)())}restorePriceScaleState(e,t){e.restoreState(t),this.updateAllViews((0,O.viewportChangeEvent)())}beginInsertManyLineDataSources(){this._isInInsertManyDataSourcesState=!0,this._lastLineDataSourceZOrder=null}endInsertManyLineDataSources(){this._isInInsertManyDataSourcesState=!1,this._lastLineDataSourceZOrder=null}removeSourceFromPriceScale(e){const t=e.priceScale();if(null!==t){const i=t.dataSources();i.indexOf(e)>=0&&t.removeDataSource(e),0===i.length&&this.removePriceScale(t)}}_invalidateSourcesCache(){this._cachedOrderedSources.clear(),this._leftPriceScales.forEach(e=>e.invalidateSourcesCache()),this._rightPriceScales.forEach(e=>e.invalidateSourcesCache())}_processMainSourceChange(){let e=!1;if(null===this.m_mainDataSource)for(const t of this.m_dataSources)if((0,J.isPriceDataSource)(t)&&!this.isOverlay(t)&&(!t.properties().linkedToSeries||!t.properties().linkedToSeries.value())){this.m_mainDataSource=t,e=!0;break}if(this.m_mainDataSource&&e){let e=this.m_dataSources.filter(f.isLineTool);e=(0,ee.sortSources)(e);for(const t of e)this.move(t,(0,r.ensureNotNull)(this.m_mainDataSource.priceScale()),!0)}else if(!this.m_mainDataSource||this.isOverlay(this.m_mainDataSource)&&0===this._nonOverlayPricesSourcesCount()){let e=null;if(this.m_dataSources.includes(this._model.mainSeries()))e=this._model.mainSeries();else for(const t of this.m_dataSources)if((0,J.isPriceDataSource)(t)&&this.isOverlay(t)&&t.showInObjectTree()){e=t -;break}if(null!==e){const t=this.m_mainDataSource===e;this.m_mainDataSource=e;const i=this.createNewPriceScaleIfPossible();if(t&&e===this._model.mainSeries()){const t=(0,r.ensureNotNull)(e.priceScale());this._model.children(e,!0).forEach(e=>{this.removeSourceFromPriceScale(e),i.addDataSource(e),e.setPriceScale(i)}),this.removePriceScale(t)}this.move(e,i,!0),this.recalculatePriceScale(e.priceScale(),(0,O.globalChangeEvent)())}}}_addSourceToCollections(e,t){this.m_dataSources.push(e),this._sourcesById.set(e.id(),e),this._invalidateSourcesCache();const i=()=>{this._sourcePropertiesChanged.fire(e)};e.properties().subscribe(this,i),e.zOrderChanged().subscribe(this,t=>this._sourcesZOrderChanged.fire(e,t)),(0,f.isLineTool)(e)&&(e.normalizedPointsChanged().subscribe(this,i),e.fixedPointsChanged().subscribe(this,i),e.hasAlert.subscribe(i),e.sharingMode().subscribe(i),e.linkKey().subscribe(i),this._sourceWatchedValuesSubscriptions.set(e.id(),i));const s=(0,le.isSymbolSource)(e)?e:null;(0,J.isPriceDataSource)(e)&&(this._priceSourcesById.set(e.id(),e),e.currencyChanged().subscribe(this,()=>this._invalidateSourcesCache()),e.unitChanged().subscribe(this,()=>this._invalidateSourcesCache()),this._priceDataSources.push(e),null!==s&&(this._symbolSources.push(s),s.symbolResolved().subscribe(this,()=>this._symbolSourceResolved.fire(e)),s.symbolResolvingActive().subscribe(this._recalcSymbolSourceResolvingActive),s.symbolHibernated().subscribe(this._onSymbolSourceCollectionChanged),this._recalcSymbolSourceResolvingActive(),this._onSymbolSourceCollectionChanged())),e.isMultiPaneAvailable()&&this.model().addMultiPaneSource(e),t||0!==this._bulkActions.activeCounter||this._dataSourcesCollectionChanged.fire()}_removeSourceFromCollections(e,t){const i=this.m_dataSources[e];i.properties().unsubscribeAll(this),i.zOrderChanged().unsubscribeAll(this),this.m_dataSources.splice(e,1),this._sourcesById.delete(i.id());const s=i.id();if((0,f.isLineTool)(i)&&(i.normalizedPointsChanged().unsubscribeAll(this),i.fixedPointsChanged().unsubscribeAll(this),this._sourceWatchedValuesSubscriptions.has(s))){const e=this._sourceWatchedValuesSubscriptions.get(s);i.hasAlert.unsubscribe(e),i.linkKey().unsubscribe(e)}this._invalidateSourcesCache();const n=(0,le.isSymbolSource)(i)?i:null;if((0,J.isPriceDataSource)(i)){this._priceSourcesById.delete(i.id()),i.currencyChanged().unsubscribeAll(this),i.unitChanged().unsubscribeAll(this);const e=this._priceDataSources.indexOf(i);if((0,r.assert)(-1!==e),this._priceDataSources.splice(e,1),null!==n){const e=this._symbolSources.indexOf(n);(0,r.assert)(-1!==e,"Source is not found"),this._symbolSources.splice(e,1),n.symbolResolved().unsubscribeAll(this),n.symbolResolvingActive().unsubscribe(this._recalcSymbolSourceResolvingActive),n.symbolHibernated().unsubscribe(this._onSymbolSourceCollectionChanged),this._recalcSymbolSourceResolvingActive(),this._onSymbolSourceCollectionChanged()}}i.isMultiPaneAvailable()&&this.model().removeMultiPaneSource(i),t||0!==this._bulkActions.activeCounter||this._dataSourcesCollectionChanged.fire()} -_recalculatePriceScaleByScaleRatio(e){this.isMainPane()&&e===this._lockedPriceScale&&(null!==this._currentPriceScaleRatio?this._applyOldScaleRatioToPriceScale():this._tryToApplyNewPriceScaleRatio())}_defaultBottomMargin(){return.01*this.properties().childs().bottomMargin.value()}_defaultTopMargin(){return.01*this.properties().childs().topMargin.value()}_updateMargins(){const e=this._defaultTopMargin(),t=this._defaultBottomMargin();for(const i of this._leftPriceScales)Me(i,e,t);for(const i of this._rightPriceScales)Me(i,e,t);for(const i of this.m_dataSources)if(this.isOverlay(i)){const s=i.priceScale();null!==s&&(Me(s,e,t),this.recalculatePriceScale(s,(0,O.viewportChangeEvent)()))}for(const e of this._leftPriceScales)this.recalculatePriceScale(e,(0,O.viewportChangeEvent)());for(const e of this._rightPriceScales)this.recalculatePriceScale(e,(0,O.viewportChangeEvent)());this.updateAllViews((0,O.viewportChangeEvent)())}_batchReorder(e,t,i){i(this.sourcesByGroup().allExceptSpecialSources(),e,t),this._invalidateSourcesCache(),this._dataSourcesCollectionChanged.fire(),this.model().fullUpdate()}_placePriceScale(e,t,i){if("overlay"===t)return void e.invalidateMargins();const s="left"===t?this._leftPriceScales:this._rightPriceScales,n=void 0===i?s.length:i;s.splice(n,0,e),e.modeChanged().subscribe(this,this._onPriceScaleModeChanged.bind(this,e)),e.internalHeightChanged().subscribe(this,this._recalculatePriceScaleByScaleRatio.bind(this,e)),e.priceRangeChanged().subscribe(this,this._recalculateTimeScaleByScaleRatio.bind(this,e)),e.priceRangeChanged().subscribe(this,this._onPriceScaleSetMinMaxPriceRange.bind(this,e)),e.isLockScale()&&((0,r.assert)(null===this._lockedPriceScale),this._lockedPriceScale=e,this._currentPriceScaleRatio=null),e.invalidateMargins(),this._onPriceScalesChanged.fire()}_onPriceScaleModeChanged(e,t,i){if(i.lockScale&&(this._lockedPriceScale!==e&&null!==this._lockedPriceScale&&this._lockedPriceScale.setMode({lockScale:!1}),this._lockedPriceScale=e,this._currentPriceScaleRatio=(0,oe.scaleRatio)(this.timeScale(),e)),t.lockScale&&!i.lockScale&&(this._lockedPriceScale=null,this._currentPriceScaleRatio=null),t.percentage===i.percentage&&t.indexedTo100===i.indexedTo100)return;const s=this.timeScale().visibleBarsStrictRange();null!==s&&(e.recalculatePriceRange(s),e.updateAllViews((0,O.viewportChangeEvent)()))}_applyOldScaleRatioToPriceScale(){this._isRecalculatingScales||null===this._currentPriceScaleRatio||null===this._lockedPriceScale||(this._isRecalculatingScales=!0,this._setNewPriceRangeByScaleRatio(this._lockedPriceScale,this._currentPriceScaleRatio,this._mainSourceVisiblePriceRange(this._lockedPriceScale)),this._isRecalculatingScales=!1)}_setNewPriceRangeByScaleRatio(e,t,i,s,r){const n=(0,oe.priceRangeByScaleRatio)(e,this.timeScale().barSpacing(),t);e.setPriceRange(null!==n?n:i,s,r)}_applyOldScaleRatioToTimeScale(){this._isRecalculatingScales||null===this._currentPriceScaleRatio||(this._isRecalculatingScales=!0,this._setNewBarSpacingByScaleRatio(),this._isRecalculatingScales=!1)} -_tryToApplyNewPriceScaleRatio(){const e=(0,r.ensureNotNull)(this._lockedPriceScale),t=(0,oe.scaleRatio)(this.timeScale(),e);this._currentPriceScaleRatio===t||e.isLog()||(this._currentPriceScaleRatio=t,this.model().mainSeriesScaleRatioPropertyOnChanged())}_recalculateTimeScaleByScaleRatio(e){e===this._lockedPriceScale&&(null!==this._currentPriceScaleRatio?this._applyOldScaleRatioToTimeScale():this._tryToApplyNewPriceScaleRatio())}_setNewBarSpacingByScaleRatio(){const e=this.timeScale().getValidBarSpacing((0,oe.barSpacingByScaleRatio)((0,r.ensureNotNull)(this._lockedPriceScale),this._currentPriceScaleRatio));this.timeScale().isValidBarSpacing(e)&&this.timeScale().setBarSpacing(e)}_mainSourceVisiblePriceRange(e){const t=this.timeScale().visibleBarsStrictRange();return null!==t?(0,r.ensureNotNull)((0,r.ensureNotNull)(e.mainSource()).priceRange(t.firstBar(),t.lastBar())):new ae.PriceRange(-.5,.5)}_setMinMaxPriceRange(){const e=(0,r.ensureNotNull)(this._lockedPriceScale),t=(0,oe.priceRangeByScaleRatio)(e,this.timeScale().maxBarSpacing(),this._currentPriceScaleRatio),i=(0,oe.priceRangeByScaleRatio)(e,this.timeScale().minBarSpacing(),this._currentPriceScaleRatio);null!==t&&e.setMaxPriceRange(t),null!==i&&e.setMinPriceRange(i)}_onPriceScaleSetMinMaxPriceRange(e){e===this._lockedPriceScale&&this._setMinMaxPriceRange()}_nonOverlayPricesSourcesCount(){return this.m_dataSources.filter(e=>(!e.properties().linkedToSeries||!e.properties().linkedToSeries.value())&&((0,J.isPriceDataSource)(e)&&e.showInObjectTree()&&!this.isOverlay(e))).length}_restoreMainSeries(e,t,i,s,r,n){const o=e.id,a=e.state;if(a&&r&&(a.style=r.style||a.style,a.interval=r.interval||a.interval,r.symbol&&r.symbol!==a.symbol&&(a.symbol=r.symbol,delete a.currencyId,delete a.unitId)),a&&a.style,a&&["candleStyle","hollowCandleStyle","haStyle"].forEach(e=>{a[e]&&(a[e].wickUpColor=a[e].wickUpColor||a[e].wickColor,a[e].wickDownColor=a[e].wickDownColor||a[e].wickColor)}),a&&(a.statusViewStyle=a.statusViewStyle||{},!a.statusViewStyle.symbolTextSource)){const e=!!a.statusViewStyle.showSymbolAsDescription;a.statusViewStyle.symbolTextSource=e?"ticker":"description"}if(a&&(a.extendedHours?a.sessionId="extended":a.sessionId||(a.sessionId="regular"),delete a.extendedHours),!i){const e=this._model.mainSeries();this._model.mainPane().removeDataSource(e,!1,n),this._addSourceToCollections(e,n)}const l=this.model().mainSeries(),c=l.properties().childs();this.m_mainDataSource=l;const h=a&&a.style?a.style:void 0;if(6===h&&"ATR"===c.pnfStyle.childs().inputs.childs().style.value()?c.pnfStyle.childs().inputs.childs().style.setValueSilently("Traditional"):4===h&&"ATR"===c.renkoStyle.childs().inputs.childs().style.value()&&c.renkoStyle.childs().inputs.childs().style.setValueSilently("Traditional"),a&&!a.hasOwnProperty("showSessions")&&(a.showSessions=!1),a&&void 0===a.settlementAsClose&&(a.settlementAsClose=!1),a&&t&&(a.showCountdown=!1), -a&&(t&&!("showSeriesLastValueProperty"in s)&&"showLastValue"in a&&this._model.properties().childs().scalesProperties.childs().showSeriesLastValue.setValue(a.showLastValue),delete a.showLastValue),a){const t={haStyle:(0,N.chartStyleStudyId)(8,!0),renkoStyle:(0,N.chartStyleStudyId)(4,!0),pbStyle:(0,N.chartStyleStudyId)(7,!0),kagiStyle:(0,N.chartStyleStudyId)(5,!0),pnfStyle:(0,N.chartStyleStudyId)(6,!0),rangeStyle:(0,N.chartStyleStudyId)(11,!0)},i=this._model.studyVersioning(),s=l.styleStudyInfos(),r=Object.keys(de.SYMBOL_STRING_DATA);for(let n=0;nthis._zoffset&&e+t>0)return Ne.logError("merge: when the first time point index is updated, we should fill the time points starting from the first one"),[];if(0===this._items.length)return this._items=i.slice(),this._zoffset=t,[{change:"rebuild",index:this._validOffsetToIndex(0)}];const s=e+this._zoffset;if(s<0){const r=Math.abs(s);if(i.lengththis._items.length){const e=o-this._items.length;for(let t=n;tthis._items[this._items.length-1])return t?this._validOffsetToIndex(this._items.length-1):null;for(let i=0;io){const i=e-o;if(i<500&&null!=t)return t(l,i);return l+i*c}return null}roughIndex(e,t=null){const i=this._items;if(!i.length||i.length<2)return null;const s=i.length-1,r=this._validOffsetToIndex(0),n=this._validOffsetToIndex(s),o=i[0],a=i[s];if(e>=o&&e<=a)return this.closestIndexLeft(e);const l=(a-o)/(n-r);if(ea){const i=e-a;let s=Math.trunc(i/l);if(s<500&&null!==t){const i=t(a,e);i.success&&(s=i.result)}return n+s}return null}closestIndexLeft(e){const t=this._items;if(!t.length)return null;if(Number.isNaN(e))return null;let i=t.length-1;if(e>=t[i])return this._validOffsetToIndex(i);let s=0;const r=t[s];if(es+1;){const r=s+i>>1,n=t[r];if(n>e)i=r;else{if(!(n{this.setRightOffset(e)}),this._options.preserveBarSpacing&&(this._barSpacing=this._scalesProperties.childs().barSpacing.value()||6),this._barSpacingChanged.subscribe(this,this._maxRightOffsetOnChanged),this._widthChanged.subscribe(this,this._maxRightOffsetOnChanged)}destroy(){this._barSpacingChanged.unsubscribeAll(this),this._barSpacingChanged.destroy(),this._widthChanged.unsubscribeAll(this),this._widthChanged.destroy()}isEmpty(){return 0===this._width||!this.canNormalize()}canNormalize(){return this._points.size()>0}update(e,t,i,s){this._visibleBarsInvalidated=!0,i.length>0&&this._points.merge(e,t,i),this._tickMarks.merge(s),this._correctOffset()}addTail(e,t,i){this._tickMarks.removeTail(t);const s=e.params,n=(0,r.ensureDefined)(this._tickMarks.maxIndex)+(i?0:1);for(let e=0;e0&&(i*=this._width/e.width)),this._tryToUpdateBarSpacing(this._barSpacing,i),this._correctOffset(),this._rightOffsetChanged.fire(this._rightOffset)}marks(){if(this.isEmpty())return null;const e=this._barSpacing,t=5*((this._scalesProperties.childs().fontSize.value()||0)+4),i=Math.round(t/e),s=(0,r.ensureNotNull)(this.visibleBarsStrictRange()),n=Math.max(s.firstBar(),s.firstBar()-i),o=Math.max(s.lastBar(),s.lastBar()-i),a=this._tickMarks.build(e,t),l=[];for(const e of a){if(!(n<=e.index&&e.index<=o))continue;const t=this._tickMarks.indexToTime(e.index);null!==t&&l.push({coord:this.indexToCoordinate(e.index),label:this.formatLabel(t,e.span),span:e.span,major:e.label>=He.DAY_SPAN})}return l}visibleBarsStrictRange(){return this._visibleBarsInvalidated&&(this._visibleBarsInvalidated=!1,this._updateVisibleBars()),this._visibleBars.strictRange()}visibleBarsStrictRangeChanged(){return this._visibleBarsChanged}logicalRangeChanged(){return this._logicalRangeChanged}tickMarks(){return this._tickMarks}points(){return this._points}width(){return this._width}setWidth(e,t){if(!Number.isFinite(e)||e<=0)return void Ke.logWarn("setWidth: invalid argument: "+e);if(this._width===e)return;if(this._visibleBarsInvalidated=!0,(t||this._options.lockVisibleTimeRangeOnResize)&&this._width){const t=this._barSpacing*e/this._width;this._tryToUpdateBarSpacing(this._barSpacing,t)}else this._width&&this.setBarSpacing(this._barSpacing);if(null!==this._leftEdgeIndex){if((0,r.ensureNotNull)(this.visibleBarsStrictRange()).firstBar()<=this._leftEdgeIndex){const t=this._width-e;this._rightOffset-=Math.round(t/this._barSpacing)+1}}this._width=e,this._widthChanged.fire(e);const i=this._rightOffset;this._correctOffset(),this._rightOffset!==i&&this._rightOffsetChanged.fire(this._rightOffset),this._requestMoreData()}setLeftEdgeFix(e){this._leftEdgeIndex=e;const t=this.visibleBarsStrictRange();if(null===t)return;const i=t.firstBar()-e;if(i<0){const e=this._rightOffset-i-1;this.scrollToOffsetAnimated(e,500)}}indexToCoordinate(e){if(this.isEmpty())return 0;if(!(0,_e.isInteger)(e))return 0;const t=this.baseIndex()+this._rightOffset-e;return this._width-(t+.5)*this._barSpacing-1}indexToUserTime(e){return this._tickMarks.indexToTime(e)}timePointToIndex(e){return this._points.indexOf(e,!0)}indexToTimePoint(e){return this._points.valueAt(e)}timeToCoordinate(e){const t=this._points.closestIndexLeft(e);if(null===t)return null;const i=(0,r.ensureNotNull)(this._points.valueAt(t)),s=this.indexToCoordinate(t);if(s<=0||s>=this._width)return null;const n=this.barSpacing(),o=this.baseIndex(),a=s+(e-i)/((0,r.ensureNotNull)(this._points.valueAt(o))-(0,r.ensureNotNull)(this._points.valueAt(o-1)))*n+1;return a<=0||a>=this._width?null:a}barIndexesToCoordinates(e){const t=this.baseIndex();for(const i of e){ -const e=i.time,s=t+this._rightOffset-e,r=this._width-(s+.5)*this._barSpacing-1;i.time=r,i.exactTime=r}}timedValuesToCoordinates(e,t){var i,s;const r=this.baseIndex()+this._rightOffset,n=this._width-r*this._barSpacing-.5*this._barSpacing-1,o=null!==(i=null==t?void 0:t.startItemIndex)&&void 0!==i?i:0,a=null!==(s=null==t?void 0:t.endItemIndex)&&void 0!==s?s:e.length;for(let t=o;t{void 0!==t&&t(),this._requestMoreData()};if(e){const e=this._rightOffset,t=this.maxRightOffset();t>0&&i>t&&(i=t);const r=this._model;(0,Ee.doAnimate)({from:e,to:i,duration:1e3,easing:Ae.easingFunc.easeInOutQuint,onComplete:s,onStep:(e,t)=>{this._visibleBarsInvalidated=!0,this._updateRightOffset(t),r.recalculateAllPanes((0,O.viewportChangeEvent)()),r.lightUpdate(),r.recalcVisibleRangeStudies()}})}else this._visibleBarsInvalidated=!0,this._updateRightOffset(i),s()}scrollToFirstBar(){this._model.gotoTime(new Date("1800-01-01").getTime())}scrollToOffsetAnimated(e,t){if(!isFinite(e))throw new RangeError("offset is required and must be finite number");const i=void 0===t?400:t;if(!isFinite(i)||i<=0)throw new RangeError("animationDuration (optional) must be finite positive number");const s=this._rightOffset,r=Date.now(),n=()=>{this._visibleBarsInvalidated=!0;const t=(Date.now()-r)/i;if(t>=1)return this._updateRightOffset(e),this._visibleBarsInvalidated=!0,this._model.recalculateAllPanes((0,O.viewportChangeEvent)()),void this._model.lightUpdate();const o=s+(e-s)*t;this._updateRightOffset(o),this._model.recalculateAllPanes((0,O.viewportChangeEvent)()),setTimeout(n,20)};n()}defaultRightOffset(){return this._defaultRightOffset}rightOffsetDefaultValue(){return 10}barSpacing(){return this._barSpacing}setBarSpacing(e){Number.isFinite(e)?(e=this.getValidBarSpacing(e),this._tryToUpdateBarSpacing(this._barSpacing,e)&&(this._correctOffset(),this._options.preserveBarSpacing&&((0,P.saveDefaultProperties)(!0),this._scalesProperties.childs().barSpacing.setValue(this._barSpacing),(0,P.saveDefaultProperties)(!1)),this._model.recalculateAllPanes((0,O.viewportChangeEvent)()),this._model.lightUpdate())):Ke.logWarn("setBarSpacing: invalid argument: "+e)}barSpacingChanged(){return this._barSpacingChanged}getValidBarSpacing(e){return null==e&&(e=this.barSpacing()),ethis.maxBarSpacing()?this.maxBarSpacing():e}isValidBarSpacing(e){return e>=this.minBarSpacing()&&e<=this.maxBarSpacing()}preserveBarSpacing(){return this._options.preserveBarSpacing}normalizeBarIndex(e){let t=0,i=0 -;const s=this.baseIndex(),n=(0,r.ensureNotNull)(this._points.firstIndex());return es?(t=(0,r.ensureNotNull)(this._points.valueAt(s)),i=e-s):(t=(0,r.ensureNotNull)(this._points.valueAt(e)),i=0),{time_t:t,offset:i}}denormalizeTimePoint(e){const t=this._points.indexOf(e.time_t,!1);if(null!==t)return t+e.offset}rightOffset(){return this._rightOffset}rightOffsetChanged(){return this._rightOffsetChanged}minRightOffset(){const e=this.points().firstIndex(),t=this._baseIndex;if(null===e||null===t)return null;if(null!==this._leftEdgeIndex){const e=this.width()/this._barSpacing;return this._leftEdgeIndex-t+e-1}return e-t-1+Ye}maxRightOffset(){return this.width()/this._barSpacing-Ye}maxRightOffsetChanged(){return this._maxRightOffsetChanged}onReset(){return this._resetDelegate}scrollStartPoint(){return this._scrollStartPoint}baseIndex(){return this._baseIndex||0}zoom(e,t,i){if(!Number.isFinite(e)||!Number.isFinite(t))return void Ke.logWarn(`zoom: invalid arguments: ${e}, ${t}, ${i}`);const s=this.coordinateToIndex(e),r=this.barSpacing(),n=r+t*(r/10);this.setBarSpacing(n);(void 0!==i?!i:this._options.rightBarStaysOnScroll)||this.setRightOffset(this.rightOffset()-.5+(s-this._coordinateToFloatIndex(e))),this._requestMoreData()}zoomToBarsRange(e,t){if(null!==this._leftEdgeIndex&&(e=Math.max(e,this._leftEdgeIndex)),t<=e)return;const i=this.baseIndex(),s=this._rightOffset;this._rightOffset=t-i;const r=Math.max(t-e+1,Ye);this.setBarSpacing(this.width()/r),this._visibleBarsInvalidated=!0,this._correctOffset(),this._rightOffset!==s&&this._rightOffsetChanged.fire(this._rightOffset),this._requestMoreData()}coordinateToIndex(e){return Math.ceil(this._coordinateToFloatIndex(e))}coordinateToVisibleIndex(e){let t;if(0===e){const e=this._coordinateToFloatIndex(-1);t=Math.floor(e)+1}else t=this.coordinateToIndex(e);const i=this.visibleBarsStrictRange();return null===i||i.contains(t)||(t=Math.min(Math.max(i.firstBar(),t),i.lastBar())),t}canZoomIn(){return this.barSpacing()this._options.minBarSpacing}minBarSpacing(){return this._options.minBarSpacing}maxBarSpacing(){const e=this.width();return qe?e:e/Ye}resetRightOffset(){this.setRightOffset(this._defaultRightOffset.value())}reset(){this._visibleBarsInvalidated=!0,this._points=new Re,this._scrollStartPoint=null,this._scaleStartPoint=null,this._clearCommonTransitionsStartState(),this._tickMarks.reset(),this._leftEdgeIndex=null,this._resetDelegate.fire(),this.disconnect()}disconnect(){this._requestingMoreData=!1,this._requestedTickmarksCount=0,this._endOfData=!1}setBaseIndex(e){Number.isFinite(e)?(this._visibleBarsInvalidated=!0,this._baseIndex=e,this._correctOffset()):Ke.logDebug("setBaseIndex: invalid argument: "+e)}resetBaseIndex(){this._visibleBarsInvalidated=!0,this._baseIndex=null}setRightOffset(e){Number.isFinite(e)?(this._visibleBarsInvalidated=!0,this._updateRightOffset(e)):Ke.logWarn("setRightOffset: invalid argument: "+e)}correctBarSpacing(){ -this.isEmpty()||this.points().size()this.formatLabelImpl(e,t)),this._formattedBySpan.set(t,i)),i.format(new Date(e))}formatLabelImpl(e,t){if(!(e&&e instanceof Date))return"incorrect time";const i=function(e,t){if(ee&&(this._rightOffset=e,this._visibleBarsInvalidated=!0);const t=this.minRightOffset();null!==t&&this._rightOffset{e.onChanged().subscribe(null,t=>this._onChanged.fire(e.id,t))})}groups(){return this._groups.filter(e=>e.isActualSymbol())}groupsForAllSymbols(){return this._groups}createGroup(e,t,i){t=t||this._generateNextName();const s=new et.LineToolsGroup(e,t,i);this._groups.push(s),s.onChanged().subscribe(null,e=>this._onChanged.fire(s.id,e));const r={visibilityChanged:!1,lockedChanged:!1,titleChanged:!1,isActualIntervalChanged:!1,affectedLineTools:e.map(e=>e.id())};return this._onChanged.fire(s.id,r),s}addGroup(e){this._groups.push(e),e.onChanged().subscribe(null,t=>this._onChanged.fire(e.id,t)),this._onChanged.fire(e.id)}removeGroup(e){const t=this._groups.findIndex(t=>t.id===e.id);this._groups.splice(t,1),this._onChanged.fire(e.id)}groupForId(e){return this._groups.find(t=>t.id===e)||null}groupForLineTool(e){return this._groups.find(t=>t.containsLineTool(e))||null}removeLineTools(e){this._groups.forEach(t=>{const i=e.filter(t.containsLineTool.bind(t));i.length&&t.excludeLineTools(i)});this._groups.filter(e=>0===e.lineTools().length).forEach(e=>this.removeGroup(e))}state(e){return{groups:(e?this._groups.filter(e=>e.isActualSymbol()):this._groups).map(e=>e.state())}}onChanged(){return this._onChanged}fireChangedAll(){this._groups.forEach(e=>{this._onChanged.fire(e.id)})}static fromState(e,t){const i=[];for(const s of t.groups){const t=et.LineToolsGroup.fromState(e,s);null!==t&&i.push(t)}return new tt(i)}_generateNextName(){const e=new Set(this.groups().map(e=>e.name()));for(let t=1;;t++){const i="Group "+t,s="Group_"+t;if(!e.has(i)&&!e.has(s))return i}}}var it=i(10480),st=i.n(it),rt=i(69177);let nt=null;function ot(e){return Boolean(e.symbolInfo.timezone)&&Boolean(e.symbolInfo.session)}class at{constructor(e,t){var i,s;this._sourceTargetBarBuilder=null,this._cache=new Map,this._source=e,this._sourceSession=rt.SessionInfo.fromState(e.session),this._target=t,this._targetSession=rt.SessionInfo.fromState(t.session),this._isResolutionTheSame=C.Interval.isEqual(e.resolution,t.resolution),this._isSessionTheSame=(i=e.symbolInfo,s=t.symbolInfo,i.timezone===s.timezone&&i.session===s.session&&i.session_holidays===s.session_holidays&&i.corrections===s.corrections),this._shouldCorrectTradingDay=C.Interval.isDWM(e.resolution)&&!this._isSessionTheSame}sourceTimeToTargetTime(e){if(this._isSessionTheSame&&this._isResolutionTheSame)return e;if(!ot(this._source)||!ot(this._target))return e;let t=this._cache.get(e);if(void 0===t){let i=1e3*e -;if(this._shouldCorrectTradingDay){let e=st().utc_to_cal(this._sourceSession.timezone,i);e=this._sourceSession.spec.correctTradingDay(e);const t=new Date(e);st().set_hms(t,0,0,0,0,this._sourceSession.timezone),i=t.valueOf()}const s=this._sourceTargetBuilder();s.moveTo(i);const r=s.indexOfBar(i);t=s.startOfBar(Math.max(0,r))/1e3,this._cache.set(e,t)}return t}_sourceTargetBuilder(){if(null===this._sourceTargetBarBuilder){const e=this._isSessionTheSame?this._targetSession:(null===nt&&(nt=new rt.SessionInfo("Etc/UTC","24x7")),nt);this._sourceTargetBarBuilder=(0,rt.newBarBuilder)(this._target.resolution,this._targetSession,e)}return this._sourceTargetBarBuilder}}var lt=i(85733),ct=i(68906),ht=i(4676),dt=i(49642);function ut(e,t){return e.codet.code?1:0}class pt{constructor(e){this._convertibleItems=e,this._idsToItems=new Map;for(const t of e)this._idsToItems.set(t.id,t)}convertible(e){return void 0!==this._idsToItems.get(e)}item(e){var t;return null!==(t=this._idsToItems.get(e))&&void 0!==t?t:null}size(){return this._convertibleItems.length}filterConvertible(e,t){const i=this._convertibleItems.filter(function(e,t){return i=>!e.has(i.id)&&t(i.id)}(e,t));return i.sort(ut),i}}class _t{constructor(e){this._allGroups=new Set,this._idToName=new Map,this._idToDescription=new Map,this._groupedUnitIds=new Map,this._groupedUnits=new Map,this._groupById=new Map,this._size=0,this._units=e;for(const t in e)if(e.hasOwnProperty(t)){this._allGroups.add(t),this._groupedUnitIds.set(t,new Set(e[t].map(e=>e.id))),this._groupedUnits.set(t,e[t]);for(const i of e[t])this._size++,this._idToName.set(i.id,i.name),this._idToDescription.set(i.id,i.description),this._groupById.set(i.id,t)}}unitsChanged(e){return this._units!==e}size(){return this._size}name(e){return this._idToName.get(e)||e}description(e){return this._idToDescription.get(e)||e}unitGroupById(e){return this._groupById.get(e)||null}allGroups(){return new Set(this._allGroups)}unitsByGroups(e){const t=[];return e.forEach(e=>{const i=this._groupedUnits.get(e);void 0!==i&&t.push({name:e,units:i})}),t}convertible(e,t){for(const i of t){const t=this._groupedUnitIds.get(i);if(void 0!==t&&t.has(e))return!0}return!1}}var mt=i(93751);class gt{constructor(e){this._source=null,this._sourcePane=null,this._currentToolSupportsPhantomMode=!1,this._model=e}destroy(){this._source=null,this._sourcePane=null}source(){return this._source}onToolChanged(){this._removeSource();const e=this._model.currentTool();this._currentToolSupportsPhantomMode=(0,f.isLineToolName)(e)&&(0,f.supportsPhantomMode)(e)}onCursorPositionUpdated(){if(!this._currentToolSupportsPhantomMode)return;const e=this._model.crossHairSource();if(this._sourcePane!==e.pane&&this._removeSource(),null===e.pane||!(0,mt.isNumber)(e.index)||!(0,mt.isNumber)(e.price))return void this._removeSource();const t={index:e.index,price:e.price};null!==this._source?this._source.setPoint(0,t):(this._source=this._model.createLineTool(e.pane,t,this._model.currentTool(),void 0,null),this._sourcePane=e.pane)}_removeSource(){ -null!==this._source&&(this._model.removeSource(this._source),this._source=null,this._sourcePane=null)}}var ft=i(71053),vt=i(73383),St=i(90373),yt=i(30460);class bt{align(e,t,i){let s=e;if(!(0,yt.magnetEnabled)().value())return s;const n=i.mainDataSource();if(null===n)return s;const o=n.model().mainSeries();if(n!==o)return s;const a=o.priceScale(),l=o.bars();if(a.isEmpty()||!l.contains(t))return s;const c=l.valueAt(t);if(null===c)return s;const h=[];null!==o.priceSource()?h.push(o.barFunction()(c)):h.push(c[1],c[2],c[3],c[4]);const d=(0,r.ensure)(o.firstValue()),u=h.map(e=>({y:a.priceToCoordinate(e,d),price:e})),p=a.priceToCoordinate(e,d);u.sort((e,t)=>Math.abs(e.y-p)-Math.abs(t.y-p));const _=u[0];return((0,yt.magnetMode)().value()===St.MagnetMode.StrongMagnet||Math.abs(_.y-p)<50)&&(s=_.price),s}}var wt=i(65862),Ct=i(62443),Pt=i(29892),Tt=i(42759);class xt{constructor(){this._data=null}setData(e){this._data=e}draw(e,t){if(null===this._data)return;const i=t.pixelRatio,s=Math.max(1,Math.floor(i));e.lineWidth=s;const r=Math.ceil(this._data.h*i),n=Math.ceil(this._data.w*i);if(e.save(),e.lineCap="butt",this._data.vertLinesVisible){e.strokeStyle=this._data.vertLinesColor,(0,Pt.setLineStyle)(e,this._data.vertLineStyle);for(const t of this._data.timeMarks){const s=Math.round(t.coord*i);(0,Tt.drawVerticalLine)(e,s,0,r)}}if(this._data.horzLinesVisible){e.strokeStyle=this._data.horzLinesColor,(0,Pt.setLineStyle)(e,this._data.horzLineStyle);for(const t of this._data.priceMarks){const s=Math.round(t.coord*i);(0,Tt.drawHorizontalLine)(e,s,0,n)}}e.restore()}hitTest(e){return null}}class It{constructor(e){this._renderer=new xt,this._pane=e}update(){}renderer(){const e=this._pane.defaultPriceScale(),t=this._pane.model().timeScale();if(e.isEmpty()||t.isEmpty())return null;const i=this._pane.model().properties().childs().paneProperties.childs(),s=t.marks(),r={horzLinesVisible:!0,vertLinesVisible:!0,horzLinesColor:i.horzGridProperties.childs().color.value(),vertLinesColor:i.vertGridProperties.childs().color.value(),horzLineStyle:i.horzGridProperties.childs().style.value(),vertLineStyle:i.vertGridProperties.childs().style.value(),priceMarks:e.marks(),timeMarks:null!==s?s:[],w:this._pane.width(),h:this._pane.height()};return this._renderer.setData(r),this._renderer}}class Mt extends Ct.DataSource{id(){return"grid"}paneViews(e){return[new It(e)]}}var Lt=i(97938);class At extends Lt.PriceAxisView{constructor(e,t,i){super(),this._source=e,this._priceScale=t,this._priceProvider=i,this._properties=e.model().properties().childs().scalesProperties}setHitTestData(e){this._hitTestData=e}additionalPadding(e){return 0}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._priceScale,r=s.mainSource(),n=null!==r?r.firstValue():null;if(!this._isVisible()||s.isEmpty()||null===n)return;const o=this._priceProvider(s);if(null===o)return;i.background=this._bgColor(),i.textColor=this.generateTextColor(i.background);const a=this.additionalPadding(s.fontSize());i.additionalPaddingTop=a,i.additionalPaddingBottom=a, -i.coordinate=s.priceToCoordinate(o,n),e.text=s.formatPrice(o,n),e.visible=!0,t.visible=!0,t.hitTestData=this._hitTestData}}const Et={normalBgColor:a.colorsPalette["color-cold-gray-750"],hoveredBgColor:a.colorsPalette["color-cold-gray-600"]},kt={normalBgColor:a.colorsPalette["color-cold-gray-900"],hoveredBgColor:a.colorsPalette["color-cold-gray-650"]};class Dt extends At{additionalPadding(e){return 2/12*e}_isVisible(){return this._properties.childs().showPriceScaleCrosshairLabel.value()&&this._source.visible&&null!==this._source.pane}_bgColor(){return this._getThemedColors().normalBgColor}_updateRendererData(e,t,i){const s=t.visible;super._updateRendererData(e,t,i),this._source.isHovered()?t.backgroung=this._getThemedColors().hoveredBgColor:t.backgroung=void 0,s||(t.visible=s)}_getThemedColors(){return this._source.model().isDark()?Et:kt}}class Vt extends At{_isVisible(){return null!==this._source.measurePane().value()}_bgColor(){return this._properties.childs().axisLineToolLabelBackgroundColorCommon.value()}}var Bt=i(28978),Nt=(i(28296),i(97056));function Rt(e){const t=e.priceScale();return null===t?0:t.isPercentage()||t.isIndexedTo100()?2:1}const Ot=B.enabled("show_context_menu_in_crosshair_if_only_one_item");class Ft extends Bt.PanePriceAxisView{constructor(e,t,i,s,r){super(e,t,s),this._crossHairMenuCachedState=null,this._hasActions=!1,this._tooltipText=null,this._gaOrigin="CH menu",this._crosshairPriceAxisView=e,e.setPaneRendererLabelIcon(0),this._crosshair=t,this._scale=i,this._options=r}_updateImpl(e,t){super._updateImpl(e,t);const i=this._crosshair.y,s=this._chartModel.properties().childs().scalesProperties.childs().fontSize.value(),r=this._chartModel.timeScale().width(),n=this._crosshair.model().priceAxisRendererOptions(),o=s+2*this._crosshairPriceAxisView.additionalPadding(s)+n.paddingTop+n.paddingBottom,a=o,l=i-o/2,c=r-a,h=this._crosshair.pane,d=this._mainDataSourceOnPane(),u=d&&d.symbolSource(),p=!!u&&(u.isConvertedToOtherCurrency()||u.isConvertedToOtherUnit());if(null!==d){const e=Rt(d),t=d.idForAlert(),i=this._chartModel.isInReplay(),s=this._crossHairMenuCachedState;null!==s&&s.id===t&&s.priceScale===e&&s.isCurrencyOrUnitConverted===p&&s.isInReplay===i||(this._updateTooltipAndActionsAvaliability(d,e,p),this._crossHairMenuCachedState={id:t,priceScale:e,isCurrencyOrUnitConverted:p,isInReplay:i})}const _=null!==d&&(0,le.isActingAsSymbolSource)(d)?d.symbol():null,m=null!==h&&(h.maximized().value()||!h.collapsed().value())&&(Boolean(_)||!1);this._crosshairPriceAxisView.setPaneLabelVisible(m);const g=null!==h&&0!==h.leftPriceScales().length&&m,f=null!==h&&0!==h.rightPriceScales().length&&m,v=r-a/2,S=this._tooltipText?{text:this._tooltipText,rect:{x:v,y:l,w:0,h:0}}:void 0;this._data={left:g,right:f,xl:0,xr:c,y:l,containerWidth:a,containerHeight:o,clickHandler:this._handleClick.bind(this),tooltip:S},this._crosshairPriceAxisView.setHitTestData(this._data)}_priceScale(){return this._scale}_updateTooltipAndActionsAvaliability(e,t,i){this._tooltipText=null,this._hasActions=!1;if(!(1===t))return -;this._chartModel.isInReplay();let s=0;let r=0;1!==s||Ot||(this._tooltipText=""),this._crosshairPriceAxisView.setPaneRendererLabelIcon(r),this._hasActions=0!==s}_handleClick(e,t,i){(0,h.trackEvent)(this._gaOrigin,"click");const s=this._mainDataSourceOnPane(),r=null!==s&&(0,le.isActingAsSymbolSource)(s)?s.symbol():null,n={pageX:i.pageX,pageY:i.pageY,clientX:i.clientX,clientY:i.clientY,screenX:i.screenX,screenY:i.screenY,price:this._crosshair.price,symbol:r};u.emit("onPlusClick",n)}_getMenuItems(e){return Promise.resolve([])}_createAlertMenuItems(e){return Promise.resolve([])}_createTradingMenuItems(){return Promise.resolve([])}_createAddHorizontalLineMenuItem(){return[]}_getActionAddAlert(e){return null}_getActionAddHorizontalLine(e){return null}_getValue(e,t){const i=e.priceScale(),s=e.firstValue();if(null===i||null===s)return null;return i.isPercentage()||i.isIndexedTo100()?null:i.coordinateToPrice(t,s)}_formatValue(e,t){return t.formatter().format(e)}_addAlert(e,t){}_addHorizontalLineTool(e,t){}_showContextMenu(e,t,i,s){const n="left"===s;setTimeout(()=>{const t=(0,r.ensureDefined)(this._data),s=n?t.xl:t.xr,o=i.localX-s,a=i.clientX-o,l=i.clientX-o+t.containerWidth;Nt.ContextMenuManager.showMenu(e,{clientX:n?a:l,clientY:i.clientY-t.containerHeight/2,boxHeight:t.containerHeight,attachToXBy:n?"left":"right",attachToYBy:"auto-strict"},void 0,{menuName:"CrosshairMenuView"})})}_mainDataSourceOnPane(){const e=this._crosshair.pane;return null!==e?e.mainDataSource():null}}var Wt=i(43891),Ht=i(71413),zt=i(84346);class Ut{constructor(e){this._data=e}hitTest(e){return void 0===this._data.clickHandler?null:new zt.HitTestResult(zt.HitTestResult.CUSTOM,{clickHandler:this._data.clickHandler,tapHandler:this._data.clickHandler})}draw(e,t){const i=t.pixelRatio,s=this._data.vertLinesVisible,r=this._data.horzLinesVisible;if(!s&&!r)return;e.save(),e.lineWidth=Math.max(1,Math.floor(this._data.lineWidth*i)),e.strokeStyle=this._data.color,e.fillStyle=this._data.color,e.lineCap="butt",(0,Pt.setLineStyle)(e,this._data.lineStyle);const n=Math.round(this._data.x*i),o=Math.round(this._data.y*i),a=Math.ceil(this._data.w*i),l=Math.ceil(this._data.h*i);s&&n>=0&&(0,Tt.drawVerticalLine)(e,n,0,l),r&&o>=0&&(0,Tt.drawHorizontalLine)(e,o,0,a),this._data.drawCenter&&(e.beginPath(),e.arc(n,o,Math.round(3*i),0,2*Math.PI,!0),e.fillStyle=this._data.color,e.fill()),e.restore()}}const jt=a.colorsPalette["color-tv-blue-500"];class Gt{constructor(e,t){this._rendererData={},this._renderer=new Ut(this._rendererData),this._source=e,this._pane=t}update(){}renderer(e,t){const i=this._source.selectPointMode().value(),s=this._source.visible&&(this._source.areLinesVisible||i)&&!this._source.linesShouldBeHidden(),n=this._rendererData;if(!s||null===this._pane)return null;const o=this._source.paneForPointSelect(),a=null!==o?this._source.pane===o&&this._pane===o:this._pane===this._source.pane;if(i&&this._source.isOnHoveredChartWidget()&&a){const e=(0,r.ensureNotNull)(this._source.pointToSelect());n.color=this._source.lineColor()||jt,n.lineWidth=1, -n.lineStyle=Wt.LINESTYLE_SOLID,n.horzLinesVisible=!0,n.vertLinesVisible=!0,n.drawCenter=!1,"time"===e?n.horzLinesVisible=!1:"price"===e&&(n.vertLinesVisible=!1)}else{const e=this._source.properties(),t=this._source.model().currentTool(),i=(0,Ht.lastMouseOrTouchEventInfo)(),s=i.isTouch&&!i.stylus&&((0,f.isLineToolName)(t)||(0,lt.toolIsMeasure)(t));let r;r=s?jt:e.childs().color.value();const o=e.childs().transparency.value();!s&&o>0&&(r=(0,ct.generateColor)(r,o)),n.color=r,n.horzLinesVisible=this._pane===this._source.pane&&(this._pane.maximized().value()||!this._pane.collapsed().value()),n.vertLinesVisible=!0,n.lineWidth=e.childs().width.value(),n.lineStyle=e.childs().style.value(),n.drawCenter=s&&this._pane===this._source.pane}return n.w=this._pane.width(),n.h=this._pane.height(),n.x=void 0!==this._source.lockedX&&isFinite(this._source.lockedX)&&this._source.lockedX||this._source.x,n.y=this._source.y,this._renderer}}var qt=i(55776);const Yt={backgroundColor:(0,ct.generateColor)(a.colorsPalette["color-tv-blue-500"],70),borderColor:(0,ct.generateColor)(a.colorsPalette["color-tv-blue-500"],20)};class Kt{constructor(e){this._renderer=new qt.RectangleRenderer,this._rectangle=null,this._crosshair=e}update(){const e=this._crosshair.selection();null!==e&&null!==this._crosshair.pane?this._rectangle=this._crosshair.pane.logicalRectToPixels(e):this._rectangle=null}renderer(e,t){if(!this._rectangle)return null;const i={backcolor:Yt.backgroundColor,color:Yt.borderColor,fillBackground:!0,linewidth:1,points:[this._rectangle.min,this._rectangle.max],extendLeft:!1,extendRight:!1};return this._renderer.setData(i),this._renderer}}var $t=i(62820),Xt=i(26811),Zt=i(97645),Jt=i(92242),Qt=i(67802),ei=i(63300),ti=i(98664),ii=i(94804),si=i(49612);const ri=(0,K.t)("{count} bars"),ni=(0,K.t)("Vol"),oi=new Xt.PercentageFormatter,ai=new Jt.TimeSpanFormatter,li=new Qt.VolumeFormatter,ci=(0,a.getHexColorByName)("color-tv-blue-500"),hi=(0,a.getHexColorByName)("color-ripe-red-400"),di={bgColorPositive:(0,ct.generateColor)(ci,80),bgColorNegative:(0,ct.generateColor)(hi,80),colorPositive:(0,a.getHexColorByName)("color-tv-blue-600"),colorNegative:(0,a.getHexColorByName)("color-ripe-red-400"),labelBgColorPositive:ci,labelBgColorNegative:hi};class ui{constructor(e,t){this._pipFormatter=null,this._lastSymbolInfo=null,this._horzTrenRenderer=new ei.TrendLineRenderer,this._vertTrenRenderer=new ei.TrendLineRenderer,this._bgRenderer=new qt.RectangleRenderer,this._labelRenderer=new ti.TextRenderer,this._p1=null,this._p2=null,this._label=null,this._source=e,this._pane=t}update(e){const[t,i]=this._source.measurePoints();if(void 0===i)return this._p1=null,void(this._p2=null);const s=(0,r.ensureNotNull)(this._source.measurePane().value()),o=t.price,a=i.price,l=i.price-o,c=i.index-t.index,h=(0,$t.forceLTRStr)(""+c),d=(0,r.ensureNotNull)(s.mainDataSource());let u=(0,r.ensureNotNull)(d.formatter()).format(l);if(Math.abs(o)>1e-8){const e=l/Math.abs(o);u+=" ("+oi.format(100*e)+")"}const p=(0,$t.forceLTRStr)(u);this._label=p+"\n"+ri.format({count:h});const _=(0, -r.ensureNotNull)(d.firstValue()),m=this._source.model().timeScale().indexToCoordinate(t.index),g=this._source.model().timeScale().indexToCoordinate(i.index),f=s.defaultPriceScale().priceToCoordinate(o,_),v=s.defaultPriceScale().priceToCoordinate(a,_);this._p1=new n.Point(m,f),this._p2=new n.Point(g,v);const S=this._source.model().timeScale().indexToUserTime(t.index),y=this._source.model().timeScale().indexToUserTime(i.index);let b=null;if(null!==S&&null!==y){const e=this._pane.model().mainSeries().symbolInfo();null!==e&&e!==this._lastSymbolInfo&&(this._pipFormatter=new Zt.PipFormatter(e.pricescale,e.minmov,e.type,e.minmove2),this._lastSymbolInfo=e),b=(y.valueOf()-S.valueOf())/1e3}const w=this._pipFormatter?this._pipFormatter.format(l):null,C=null!==w?" , "+w:"",P=null!==b?ai.format(b):null,T=null!==P?", "+(0,$t.startWithLTR)(P):"";this._label=(0,$t.forceLTRStr)(p+C)+"\n"+ri.format({count:h})+T;const x=this._source.measureVolume();Number.isNaN(x)||(this._label+=`\n${ni} ${li.format(x)}`);const I=a=50?si.LineEnd.Arrow:si.LineEnd.Normal};this._horzTrenRenderer.setData(s)}{const e=Math.round(k.x),t=new n.Point(e,this._p1.y),i=new n.Point(e,this._p2.y),s={points:[t,i],color:L,linewidth:1,linestyle:Wt.LINESTYLE_SOLID,extendleft:!1,extendright:!1,leftend:si.LineEnd.Normal,rightend:Math.abs(t.y-i.y)>=50?si.LineEnd.Arrow:si.LineEnd.Normal};this._vertTrenRenderer.setData(s)}const D={x:0,y:10},V=.5*(this._p1.x+this._p2.x),B=this._p2.y,N=new n.Point(V,B),R=(O=(0,r.ensureNotNull)(this._label),{points:[N],text:O,color:"#FFFFFF",horzAlign:"center",vertAlign:"middle",font:M.CHART_FONT_FAMILY,offsetX:D.x,offsetY:D.y,bold:!1,italic:!1,fontsize:12,padding:8,highlightBorder:!1,backgroundColor:A,backgroundTransparency:10,backgroundVertInflate:5,backgroundHorzInflate:5,backgroundRoundRect:4});var O;this._labelRenderer.setData(R);const F=this._labelRenderer.measure(),W=(0,ti.calculateLabelPosition)(F,this._p1,this._p2,D,this._pane.height());this._labelRenderer.setPoints([W])}renderer(){if(null===this._p1||null===this._p2)return null;const e=new ii.CompositeRenderer;return e.append(this._bgRenderer),e.append(this._horzTrenRenderer),e.append(this._vertTrenRenderer),e.append(this._labelRenderer),e}}var pi=i(16282);class _i extends pi.ScaledPaneRenderer{constructor(e){super(),this._data=e}hitTest(e){return null}_drawImpl(e){e.translate(this._data.x-this._data.width/2,this._data.y-this._data.height/2),e.strokeStyle="rgba(153,153,153,.3)",e.lineWidth=2,e.beginPath(),this._drawShackle(e),e.stroke(),e.closePath(), -e.strokeStyle="rgba(153,153,153,.7)",e.lineWidth=1,e.beginPath(),e.rect(0,this._data.height-this._data.bodyHeight+.5,this._data.width,this._data.bodyHeight),e.closePath(),e.stroke(),e.translate(0,-1),e.strokeStyle="#777",e.beginPath(),this._drawShackle(e),e.stroke(),e.closePath(),e.fillStyle="rgba(255,255,255,.7)",e.beginPath(),e.rect(1,this._data.height-this._data.bodyHeight+1.5,this._data.width-2,this._data.bodyHeight-2),e.fill(),e.beginPath(),e.rect(.5,this._data.height-this._data.bodyHeight+1,this._data.width-1,this._data.bodyHeight-1),e.stroke(),e.closePath(),e.fillStyle="#777",e.fillRect(this._data.width/2-.5,this._data.height-this._data.bodyHeight/2,1,2)}_drawShackle(e){const t=(this._data.width-3)/2,i=this._data.height-this._data.bodyHeight;e.moveTo(1.5,t),e.arc(this._data.width/2,t,t,Math.PI,2*Math.PI),i>t&&(e.moveTo(1.5,t),e.lineTo(1.5,i),e.moveTo(this._data.width-1.5,t),e.lineTo(this._data.width-1.5,i))}}class mi{constructor(e,t,i){this._horzVisible=!1,this._source=e,this._pane=t,this._axis=i||"x"}update(){}renderer(e,t){const i=this._source.visible&&this._source.areLinesVisible,s=(0,lt.lockTimeAxis)().value(),n=i&&this._horzVisible,o=i||s;if("y"===this._axis&&!n||!o)return null;const a="y"===this._axis?this._pane.width()-4.5:(0,r.ensureDefined)(this._source.lockedX)+1,l="y"===this._axis?this._source.y:this._pane.height()-5.5-1;return new _i({x:a,y:l,width:9,height:11,bodyHeight:7})}}var gi=i(49483),fi=i(76166),vi=i(14445),Si=i(57626);class yi extends vi.DataWindowView{constructor(e){super(),this._invalidated=!0,this._dateItem=new vi.DataWindowItem((0,K.t)("Date"),""),this._timeItem=new vi.DataWindowItem((0,K.t)("Time"),""),this._model=e,this._items.push(this._dateItem),this._items.push(this._timeItem)}update(){this._invalidated=!0}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}_updateImpl(){const e=this._model.mainSeries().isDWM();if(this._timeItem.setVisible(!e),this._timeItem.setValue(Si.notAvailable),this._dateItem.setValue(Si.notAvailable),this._model.timeScale().isEmpty())return;let t=this._model.crossHairSource().appliedIndex();if(!(0,mt.isNumber)(t)){const e=this._model.mainSeries().data().last();if(null===e)return;t=e.index}const i=this._model.timeScale().indexToUserTime(t);null!==i&&(this._dateItem.setValue(this._model.dateFormatter().format(i)),e||this._timeItem.setValue(this._model.timeFormatter().format(i)))}}var bi=i(85578);class wi extends bi.TimeAxisView{constructor(e,t,i=!1){super(e),this._indexProvider=t,this._highlighted=i,this._properties=e.properties().childs().scalesProperties}_getBgColor(){const e=this._model.isDark();return this._highlighted?this._properties.childs().axisLineToolLabelBackgroundColorCommon.value():e?a.colorsPalette["color-cold-gray-750"]:a.colorsPalette["color-cold-gray-900"]}_getIndex(){return this._model.crossHairSource().visible?this._indexProvider():null}_isVisible(){return this._properties.childs().showTimeScaleCrosshairLabel.value()}}var Ci=i(34081);const Pi={menuEnabled:!1,menuForMainSourceOnly:!1, -disableTradingMenuActions:!1,disableDrawHorizLineMenuAction:!1};class Ti extends Ct.DataSource{constructor(e,t,i){super(),this.pane=null,this.price=NaN,this.index=NaN,this.visible=!0,this.areLinesVisible=!0,this.x=NaN,this.y=NaN,this._measurePane=new(G())(null),this._startMeasurePoint=null,this._endMeasurePoint=null,this._lastValidMeasurePoint=null,this._isOnHoveredChartWidget=!1,this._selectPointMode=new(G())(!1),this._selectionPane=null,this._selectionView=new Kt(this),this._selectionStartPoint=null,this._measurePaneView=null,this._timeLockPaneView=null,this._priceAxisViews=new Map,this._panePriceAxisViews=new Map,this._startMeasurePriceAxisViews=new Map,this._endMeasurePriceAxisViews=new Map,this._originX=NaN,this._originY=NaN,this._subscribed=!1,this._movedDelegate=new(U()),this._pointSelectedDelegate=new(U()),this._requestedPoint=null,this._paneForRequestedPoint=null,this._selectLineColor=null,this._volumeCalculator=null,this._model=e,this._options=Object.assign({},Pi,i||{}),this._linesShouldBeHidden=this._model.readOnly(),this._dataWindowView=new yi(e),this.setSelectionEnabled(!1);const s=e=>t=>t===(0,r.ensureNotNull)(this._measurePane.value()).defaultPriceScale()?e():null;this._currentPosPriceProvider=e=>{const t=(0,r.ensureNotNull)(this.pane);if(e===t.defaultPriceScale())return this.price;const i=(0,r.ensureNotNull)(t.defaultPriceScale().mainSource()).firstValue();if(null===i)return null;const s=t.defaultPriceScale().priceToCoordinate(this.price,i),n=(0,r.ensureNotNull)(e.mainSource()).firstValue();return null===n?null:e.coordinateToPrice(s,n)},this._startMeasurePriceProvider=s(()=>(0,r.ensureNotNull)(this._startMeasurePoint).price),this._endMeasurePriceProvider=s(()=>(0,r.ensureNotNull)(this._lastMeasurePoint()).price),this._properties=t;this._timeAxisView=new wi(e,()=>this.appliedIndex(),!1),this._startMeasureTimeAxisView=new wi(e,()=>(0,r.ensureNotNull)(this._startMeasurePoint).index,!0),this._endMeasureTimeAxisView=new wi(e,()=>(0,r.ensureNotNull)(this._lastMeasurePoint()).index,!0),e.readOnly()||lt.cursorTool.subscribe(e=>this.areLinesVisible="arrow"!==e,{callWithLast:!0})}destroy(){null!==this._volumeCalculator&&this._volumeCalculator.destroy(),this._measurePane.setValue(null)}moved(){return this._movedDelegate}originX(){return this._originX}originY(){return this._originY}saveOriginCoords(e,t){this._originX=e,this._originY=t}clearOriginCoords(){this._originX=NaN,this._originY=NaN}currentPoint(){return new n.Point(this.x,this.y)}model(){return this._model}appliedIndex(){return Number.isFinite(this.lockedIndex)?this.lockedIndex:this.index}startMeasurePoint(){return this._startMeasurePoint||null}endMeasurePoint(){return this._endMeasurePoint||null}measureVolume(){if(null===this._volumeCalculator)return NaN;const[e,t]=this.measurePoints();return void 0===t?NaN:this._volumeCalculator.volume(e.index,t.index)}measurePane(){return this._measurePane.readonly()}startMeasuring(e,t){this._startMeasurePoint=e,this._measurePane.setValue(t),t.containsMainSeries()&&((0,r.assert)(null===this._volumeCalculator), -this._volumeCalculator=new Ci.SeriesTimeRangeVolumeCalculator(this.model().mainSeries())),this._model.updatePane(t)}finishMeasure(e){this._endMeasurePoint=e}clearMeasure(){this._measurePane.setValue(null),delete this._startMeasurePoint,delete this._endMeasurePoint,delete this._lastValidMeasurePoint,this._model.lightUpdate(),null!==this._volumeCalculator&&(this._volumeCalculator.destroy(),this._volumeCalculator=null)}measurePoints(){const e=[(0,r.ensureNotNull)(this._startMeasurePoint)],t=this._lastMeasurePoint();return null!==t&&e.push(t),e}startSelection(e){this._selectionStartPoint=this.currentLogicalPoint(),this._selectionPane=e}clearSelection(){this._selectionStartPoint=null,this._selectionPane=null}selection(){return this._selectionStartPoint?{p1:this._selectionStartPoint,p2:this.currentLogicalPoint()}:null}currentLogicalPoint(){return{index:this.appliedIndex(),price:this.price}}selectPointMode(){return this._selectPointMode}lineColor(){return this._selectLineColor}cancelRequestSelectPoint(){this._selectPointMode.value()&&this._setSelectPointModeState(!1)}requestSelectPoint(e){(0,r.assert)(!this._selectPointMode.value(),"Point already requested");const{pointType:t,pane:i,lineColor:s=null}=e;i&&((0,r.assert)(-1!==this._model.panes().indexOf(i),"Chartmodel doesn't contains specified pane"),this._paneForRequestedPoint=i,this._model.panesCollectionChanged().subscribe(this,this._paneCollectionChanged)),this._selectLineColor=s,this._requestedPoint=t,this._setSelectPointModeState(!0)}onPointSelected(){return this._pointSelectedDelegate}trySelectCurrentPoint(){const e=(0,r.ensureNotNull)(this._requestedPoint);if(!this._model.mainSeries().bars().contains(this.index)&&"price"!==e)return;const t=(0,r.ensureNotNull)(this.pane);if(this._paneForRequestedPoint&&this._paneForRequestedPoint!==t)return;let i,s;if("price"===e||(i=this._model.timeScale().indexToTimePoint(this.index),null!==i)){if("time"!==e){const e=t.mainDataSource();if(null===e)return;const i=e.firstValue(),r=e.priceScale();if(null===i||null===r)return;s=r.coordinateToPrice(this.y,i)}this._setSelectPointModeState(!1),this._pointSelectedDelegate.fire({time:i,price:s},t)}}isOnHoveredChartWidget(){return this._isOnHoveredChartWidget}setOnHoveredChartWidget(e){this._isOnHoveredChartWidget=e}clearPosition(){this.visible=!1,this.index=NaN,this.price=NaN,this.x=NaN,this.y=NaN,this.pane=null,this.clearOriginCoords()}setPosition(e,t,i){return this._subscribed||(this._model.mainSeries().onRestarted().subscribe(this,this.clearMeasure),this._subscribed=!0),this.setLockedPosition(i),this.visible=!0,this._tryToUpdateViews(e,t,i)}setLinesShouldBeHidden(e){this._linesShouldBeHidden=e}linesShouldBeHidden(){return this._linesShouldBeHidden}handleContextMenuEvent(e){this._selectPointMode.value()&&this._setSelectPointModeState(!1)}properties(){return this._properties}priceAxisViews(e,t){const i=null===this._requestedPoint||"time"!==this._requestedPoint||!this._isOnHoveredChartWidget,s=[] -;return this.pane===e&&i&&s.push(this._createPriceAxisViewOnDemand(this._priceAxisViews,this._panePriceAxisViews,e,t,this._currentPosPriceProvider,Dt,!0)[0]),this._startMeasurePoint&&s.push(this._createPriceAxisViewOnDemand(this._startMeasurePriceAxisViews,null,e,t,this._startMeasurePriceProvider,Vt)[0]),this._lastMeasurePoint()&&s.push(this._createPriceAxisViewOnDemand(this._endMeasurePriceAxisViews,null,e,t,this._endMeasurePriceProvider,Vt)[0]),s}timeAxisViews(){const e=[],t=null===this._requestedPoint||"price"!==this._requestedPoint||!this._isOnHoveredChartWidget;return!this._linesShouldBeHidden&&(this.visible||(0,lt.lockTimeAxis)().value())&&t&&e.push(this._timeAxisView),this._startMeasurePoint&&e.push(this._startMeasureTimeAxisView),this._lastMeasurePoint()&&e.push(this._endMeasureTimeAxisView),e}paneViews(e){if(void 0===e)return null;const t=[new Gt(this,e)];if(e===this._selectionPane&&t.push(this._selectionView),e===this._measurePane.value()&&(null===this._measurePaneView&&(this._measurePaneView=new ui(this,e)),this._measurePaneView.update((0,O.dataSourceChangeEvent)(this.id())),t.push(this._measurePaneView)),fi.addPlusButtonProperty.value()){const i=e===this.pane,s=!gi.CheckMobile.any()||window.screen.width>=320,r=lt.tool.value(),n=(0,f.isLineToolName)(r),o=null!==this._model.lineBeingEdited()||null!==this._model.lineBeingCreated()||this._model.sourcesBeingMoved().length>0||null!==this._model.customSourceBeingMoved()||(0,lt.toolIsMeasure)(r);if(i&&this._isOnHoveredChartWidget&&!this._selectPointMode.value()&&s&&!n&&!o){const i=e.mainDataSource();if(null!==i){const s=i.priceScale();if(null!==s){const i=this._createPriceAxisViewOnDemand(this._priceAxisViews,this._panePriceAxisViews,e,s,this._currentPosPriceProvider,Dt,!0)[1];null!==i&&t.push(i)}}}}return(0,lt.lockTimeAxis)().value()&&(null===this._timeLockPaneView&&(this._timeLockPaneView=new mi(this,e)),t.push(this._timeLockPaneView)),t}dataWindowView(){return this._dataWindowView}updateAllViews(e){this._priceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._panePriceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._startMeasurePoint&&(this._startMeasurePriceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._startMeasureTimeAxisView.update(e)),this._lastMeasurePoint()&&(this._endMeasurePriceAxisViews.forEach(t=>{t.forEach(t=>t.update(e))}),this._endMeasureTimeAxisView.update(e)),this._timeAxisView.update(e),this._selectionView.update(),this._dataWindowView.update()}setLockedPosition(e){delete this.lockedIndex,delete this.lockedX,e!==this._measurePane.value()&&(0,lt.lockTimeAxis)().value()&&(this.lockedIndex=this._model.timeScale().points().roughIndex(lt.lockTimeAxisTime.value()),null!==this.lockedIndex&&(this.lockedX=this._model.timeScale().indexToCoordinate(this.lockedIndex)))}isMenuEnabled(){return this._options.menuEnabled}isHoveredEnabled(){return fi.addPlusButtonProperty.value()}isHovered(){return this._model.hoveredSource()===this}pointToSelect(){return this._requestedPoint}paneForPointSelect(){return this._paneForRequestedPoint} -_lastMeasurePoint(){return this._endMeasurePoint?this._endMeasurePoint:(null!==this.pane&&this._measurePane.value()===this.pane&&(this._lastValidMeasurePoint={price:this._model.magnet().align(this.price,this.index,this.pane),index:this.index}),this._lastValidMeasurePoint||null)}_createPriceAxisViewOnDemand(e,t,i,s,n,o,a=!1){let l=e.get(i),c=null!==t?t.get(i):void 0;void 0===l&&(l=new Map,e.set(i,l),this._options.menuEnabled&&null!==t&&(c=new Map,t.set(i,c)),a&&i.onDestroyed().subscribe(this,()=>this._onPaneDestroyed(i)));let h=l.get(s);if(void 0===h){if(h=new o(this,s,n),l.set(s,h),void 0!==c){const e=new Ft(h,this,s,this._model,this._options);c.set(s,e)}a&&s.lastSourceRemoved().subscribe(this,()=>this._onPriceScaleCleared(s))}let d=null;return void 0!==c&&(d=(0,r.ensureDefined)(c.get(s))),[h,d]}_onPaneDestroyed(e){e.onDestroyed().unsubscribeAll(this),this._priceAxisViews.delete(e),this._panePriceAxisViews.delete(e),this._startMeasurePriceAxisViews.delete(e),this._endMeasurePriceAxisViews.delete(e)}_onPriceScaleCleared(e){e.lastSourceRemoved().unsubscribeAll(this),this._priceAxisViews.forEach(t=>t.delete(e)),this._panePriceAxisViews.forEach(t=>t.delete(e)),this._startMeasurePriceAxisViews.forEach(t=>t.delete(e)),this._endMeasurePriceAxisViews.forEach(t=>t.delete(e))}_tryToUpdateViews(e,t,i){return!!this._tryToUpdateData(e,t,i)&&(this.updateAllViews((0,O.dataSourceChangeEvent)(this.id())),this._movedDelegate.fire({index:this.index,price:this.price}),!0)}_tryToUpdateData(e,t,i){const s=this.x,n=this.y,o=this.price,a=this.index,l=this.pane,c=this._priceScaleByPane(i);if(this.index=e,this.x=isNaN(e)?NaN:this._model.timeScale().indexToCoordinate(e),null!==c&&null!==i){this.pane=i,this.price=t;const e=(0,r.ensureNotNull)(i.mainDataSource()).firstValue();this.y=null===e?NaN:c.priceToCoordinate(t,e)}else this.pane=null,this.price=NaN,this.y=NaN;return s!==this.x||n!==this.y||a!==this.index||o!==this.price||l!==this.pane}_priceScaleByPane(e){return e&&!e.defaultPriceScale().isEmpty()?e.defaultPriceScale():null}_setSelectPointModeState(e){e||(this._requestedPoint=null,this._selectLineColor=null,this._paneForRequestedPoint&&(this._paneForRequestedPoint=null,this._model.panesCollectionChanged().unsubscribe(this,this._paneCollectionChanged))),lt.isPointSelectedNow.setValue(e),this._selectPointMode.setValue(e),this._model.lightUpdate()}_paneCollectionChanged(e){const t=this._paneForRequestedPoint;null!==t&&-1===e.indexOf(t)&&this.cancelRequestSelectPoint()}}var xi=i(56972),Ii=i(40236),Mi=i(67396),Li=i(52418);const Ai=(0,$.getLogger)("Chart.ChartModel");function Ei(e,t){const i=e.indexOf(t);return-1!==i&&(e.splice(i,1),!0)}function ki(e){var t,i;for(let s=e.length;s--;){const r=e[s].dataSources();for(let e=r.length;e--;)null===(t=r[e].dataWindowView())||void 0===t||t.update();const n=e[s].priceDataSources();for(let e=n.length;e--;)null===(i=n[e].legendView())||void 0===i||i.update()}}const Di={isSnapshot:!1,readOnly:!1,watermarkEnabled:!0,shiftVisibleRangeOnNewBar:!0,currencyConversionEnabled:!1,unitConversionEnabled:!1, -countdownEnabled:!0,lastPriceAnimationEnabled:!0,onWidget:!1,hideIdeas:!1};class Vi{constructor(e,t,i,r,n,o,a,c,h,d){this._onRearrangePanes=new(U()),this._lineToolsGroupModel=new tt,this._sourcesBeingMoved=[],this._activeItemBeingMoved=null,this._lineBeingEdited=null,this._linePointBeingEdited=null,this._linePointBeingChanged=null,this._customSourceBeingMovedHitTestData=null,this._customSourceBeingMoved=null,this._dataSourceCollectionChanged=new(U()),this._sourceProperitesChanged=new(U()),this._sourceZOrderChanged=new(U()),this._symbolSourceResolved=new(U()),this._symbolSourceResolvingActive=new(G())(!1),this._adjustForDividendsAvailability=new(G())(0),this._adjustForDividendsEnabled=new(G())(!1),this._sessions=null,this._currentTool="",this._lineBeingCreated=null,this._paneBeingCreatedLineOn=null,this._lineCancelled=new(U()),this._phantomSourceContainer=new gt(this),this._destroyed=!1,this._isSettingsExternalPosition=!1,this._isTimeScrolling=!1,this._magnet=new bt,this._scrollingState=null,this._modelIntervals=[],this._rendererOptionsProvider=new L(this),this._cachedStudiesMaxOffset=0,this._panes=[],this._tagsChanged=new(U()),this._strategySources=[],this._strategySourcesChange=new(U()),this._activeStrategySource=new(G())(null),this._paneCollapsingAvailable=new(G())(!1),this._panesCollectionChanged=new(U()),this._scrollEnabled=B.enabled("chart_scroll"),this._zoomEnabled=B.enabled("chart_zoom"),this._isScalesResetAvailableChanged=new(U()),this._isScalesResetAvailable=!1,this._esdWatcher=null,this._alertsWatcher=null,this._hoveredSource=null,this._hoveredSourceChanged=new(U()),this._lastHoveredHittestData=null,this._lastSelectedHittestData=null,this._topmostCustomSources=[],this._fgCustomSources=[],this._bgCustomSources=[],this._allCustomSources=[],this._customSourcesMap=new Map,this._multiPaneSources=[],this._showLegendProperty=new(x()),this._id=(0,X.guid)(),this._chartSaveTime=null,this._availableCurrenciesList=null,this._availableCurrencies=new pt([]),this._availableUnitsObject=null,this._availableUnits=new _t({}),this._shouldBeSavedEvenIfHidden=!1,this._watchedThemeSpawn=l.watchedTheme.spawn(),this._gradientColorsCache=null,this._recalcVRStudiesParams={},this._recalcColorStudiesParams={},this._recalcVisibleRangeStudiesImplDebounced=(0,s.default)(this._recalcVisibleRangeStudiesImpl.bind(this,this._recalcVRStudiesParams),500),this._recalcColorStudiesImplDebounced=(0,s.default)(this._recalcColorStudiesImpl.bind(this,this._recalcColorStudiesParams),250),this._width=0,this._resetScales=new(U()),this._chartThemeLoaded=new(U()),this._selection=new S,this._selectedSourceChanged=new(U()),this._symbolSourceCollectionChanged=new(U()),this._gridSource=new Mt,this._syncPointCache=new Map,this._lastAppliedTimeRange=null,this._clearSelection=()=>{this._lastSelectedHittestData=null,this._selection.clear()},this._removeSourceFromSelection=e=>{this._selection.remove(e)},this._addSourceToSelection=(e,t)=>{const i=this._selection.isSelected(e) -;i&&this._lastSelectedHittestData===t||e&&!e.isSelectionEnabled()||(this._lastSelectedHittestData=t||null,i||this._selection.add(e))},this._recalcSymbolResolvingActive=()=>{for(const e of this._panes)if(e.symbolSourceResolvingActive().value())return void this._symbolSourceResolvingActive.setValue(!0);this._symbolSourceResolvingActive.setValue(!1)},this._recalcAdjustForDividendsAvailibility=()=>{var e,t,i,s;if(this._symbolSourceResolvingActive.value())return void this._adjustForDividendsAvailability.setValue(0);const r=this.mainSeries();switch(null!==(t=null===(e=r.symbolInfo())||void 0===e?void 0:e.allowed_adjustment)&&void 0!==t?t:"none"){case"dividends":return void this._adjustForDividendsAvailability.setValue(2);case"splits":return void this._adjustForDividendsAvailability.setValue(1);case"any":return void this._adjustForDividendsAvailability.setValue(3)}for(const e of this.symbolSources().filter(le.isActingAsSymbolSource)){if(e.symbolHibernated().value()||e===r)continue;if("any"===(null!==(s=null===(i=e.symbolInfo())||void 0===i?void 0:i.allowed_adjustment)&&void 0!==s?s:"none"))return void this._adjustForDividendsAvailability.setValue(3)}this._adjustForDividendsAvailability.setValue(0)},this._recalcAdjustForDividendsEnabled=()=>{switch(this._adjustForDividendsAvailability.value()){case 2:return void this._adjustForDividendsEnabled.setValue(!0);case 0:case 1:return void this._adjustForDividendsEnabled.setValue(!1)}this._adjustForDividendsEnabled.setValue(this.mainSeries().properties().childs().dividendsAdjustment.value())},this._recalcPaneCollapsingAvailable=e=>{let t=this._panes.filter(e=>!e.collapsed().value()).length;0===t&&e&&this._panes.length>0&&(this._panes[0].collapsed().setValue(!1),t=1),this._paneCollapsingAvailable.setValue(t>1)},this._chartApi=e,this._invalidateHandler=t,this._undoModel=o,this._properties=i,this._options=(0,_e.merge)((0,_e.clone)(Di),c),this._collapsedWV=h,this._isAutoSaveEnabled=d,this._studiesMetaInfoRepository=n,this._readOnly=this._options.readOnly,this._isSnapshot=this._options.isSnapshot,this._chartSaveTime=(new Date).valueOf(),this._backgroundColor=new(G())(this._getBackgroundColor()),this._backgroundTopColor=new(G())(this._getBackgroundColor(!0)),this._properties.childs().paneProperties.childs().background.subscribe(this,this._updateBackgroundColor),this._properties.childs().paneProperties.childs().backgroundType.subscribe(this,this._updateBackgroundColor),this._properties.childs().paneProperties.childs().backgroundGradientStartColor.subscribe(this,this._updateBackgroundColor),this._properties.childs().paneProperties.childs().backgroundGradientEndColor.subscribe(this,this._updateBackgroundColor),this._backgroundColor.subscribe(this.recalcColorStudies.bind(this,!1)),this._backgroundTopColor.subscribe(this.recalcColorStudies.bind(this,!1)),this._watchedThemeSpawn.subscribe(this._updateBackgroundColor.bind(this)),this._symbolSourceResolvingActive.subscribe(this._recalcAdjustForDividendsAvailibility), -this.setStudiesMetaData(this._studiesMetaInfoRepository.getInternalMetaInfoArray(),this._studiesMetaInfoRepository.getMigrations()),(0,lt.init)();const u=this._readOnly?new(x())((0,D.defaults)("chartproperties.paneProperties.crossHairProperties")):this._properties.childs().paneProperties.childs().crossHairProperties;this.m_crossHairSource=new Ti(this,u,this._options.crossHair),this.m_crossHairSource.selectPointMode().subscribe(e=>{if(e&&this.lineBeingCreated()){const e=lt.tool.value();this.cancelCreatingLine(),lt.tool.setValue(e)}}),this._tagsChanged=new(U());const p=new P.DefaultProperty("chartproperties.mainSeriesProperties");p.addExclusion("minTick"),p.addExclusion("priceAxisProperties.lockScale"),p.addExclusion("priceAxisProperties.percentage"),p.addExclusion("priceAxisProperties.indexedTo100"),p.addExclusion("priceAxisProperties.isInverted"),p.addExclusion("priceAxisProperties.log"),p.addExclusion("priceAxisProperties.logDisabled"),p.addExclusion("priceAxisProperties.percentageDisabled"),p.addExclusion("priceAxisProperties.autoScaleDisabled"),p.merge(i.childs().mainSeriesProperties.state()),this._timeScale=new $e(this,this._options.timeScale);const _={countdownEnabled:this._options.countdownEnabled,lastPriceAnimationEnabled:this._options.lastPriceAnimationEnabled};this.m_mainSeries=new xi.Series(this,p,_,r),this.m_mainSeries.onStyleChanged().subscribe(this._timeScale,this._timeScale.invalidateVisibleBars);const m=()=>this.fullUpdate();this.m_mainSeries.properties().childs().showCountdown.subscribe(this,()=>{this.m_mainSeries.updateAllViews((0,O.dataSourceChangeEvent)(this.m_mainSeries.id())),m()}),(0,Y.currencyUnitVisibilityProperty)().subscribe(this,m),this._timeScale.visibleBarsStrictRangeChanged().subscribe(this.m_mainSeries,this.m_mainSeries.clearHighLowPriceCache),this._timeScale.visibleBarsStrictRangeChanged().subscribe(this.m_mainSeries,this.m_mainSeries.clearAveragePriceCache),this.createPane(void 0,{axisProperties:p.childs().priceAxisProperties.state(["autoScale"])}),this._adjustForDividendsAvailability.subscribe(this._recalcAdjustForDividendsEnabled),this.mainSeries().properties().childs().dividendsAdjustment.subscribe(this,this._recalcAdjustForDividendsEnabled),this._recalcAdjustForDividendsEnabled(),this._boundUpdateStudiesMaxOffset=this._updateStudiesMaxOffset.bind(this),this.mainSeries().dataEvents().seriesTimeFrame().subscribe(this,(e,t,i,s)=>{if(null!==this._lastAppliedTimeRange&&null!==i&&s&&(0,vt.areEqualTimeFrames)(this._lastAppliedTimeRange.range,i)){const e=this.appliedTimeFrame().value();null!==e&&!this._lastAppliedTimeRange.actual&&(0,vt.areEqualTimeFrames)(this._lastAppliedTimeRange.range,e.val)&&this.appliedTimeFrame().setValue(null),this._lastAppliedTimeRange=null}})}setStudiesMetaData(e,t){this._studiesMetaData=e,this._studyVersioning=new(b())(this._studiesMetaData,t)}restart(){this._chartApi.switchTimezone(this.timezone()),this._timeScale.reset(),this.m_mainSeries.restart();for(const e of this.dataSources())e.restart&&e!==this.m_mainSeries&&e.restart();this.sessions().restart()} -version(){return 3}collapsed(){return this._collapsedWV}chartSaveTime(){return this._chartSaveTime}setChartSaveTime(e){this._chartSaveTime=e}destroy(){this._phantomSourceContainer.destroy(),this._hoveredSourceChanged.destroy(),null!==this._watermarkSource&&(this._watermarkSource.destroy(),this._watermarkSource=null),Array.from(this._customSourcesMap.keys()).forEach(this._removeCustomSource,this),(0,r.assert)(0===this._topmostCustomSources.length),(0,r.assert)(0===this._fgCustomSources.length),(0,r.assert)(0===this._bgCustomSources.length),(0,r.assert)(0===this._allCustomSources.length),(0,r.assert)(0===this._customSourcesMap.size),null!==this._esdWatcher&&(this._esdWatcher.destroy(),this._esdWatcher=null),null!==this._alertsWatcher&&(this._alertsWatcher.destroy(),this._alertsWatcher=null),this._properties.childs().paneProperties.childs().background.unsubscribeAll(this),this._properties.childs().paneProperties.childs().backgroundType.unsubscribeAll(this),this._properties.childs().paneProperties.childs().backgroundGradientEndColor.unsubscribeAll(this),this._properties.childs().paneProperties.childs().backgroundGradientStartColor.unsubscribeAll(this),this._watchedThemeSpawn.destroy(),this._lastHoveredHittestData=null,this._lastSelectedHittestData=null,(0,Y.currencyUnitVisibilityProperty)().unsubscribeAll(this),this._destroyed=!0}undoModel(){return this._undoModel}onData(e){switch(e.method){case"timescale_update":{const t=e.params;this._updateTimeScale({index:t.index,zoffset:t.zoffset,values:t.changes,indexDiffs:t.index_diff,baseIndex:t.baseIndex,marks:t.marks,clearFlag:t.clear});break}case"timescale_completed":{const t=Boolean(e.params[0]);this._timeScale.onTimeScaleCompleted(t);break}}}addStrategySource(e,t){1!==t&&-1===this._strategySources.indexOf(e)&&(this._strategySources.push(e),this._strategySourcesChange.fire(t),this.setActiveStrategySource(e))}removeStrategySource(e,t){if(1===t)return;const i=this._strategySources.indexOf(e);if(-1!==i){if(this._strategySources.splice(i,1)[0]===this._activeStrategySource.value()&&this.unsetActiveStrategySource(),this._strategySources.length>0){const e=this._strategySources[this._strategySources.length-1];this.setActiveStrategySource(e)}this._strategySourcesChange.fire(t)}}setActiveStrategySource(e){-1!==this._strategySources.indexOf(e)&&this._activeStrategySource.setValue(e)}unsetActiveStrategySource(){this._activeStrategySource.setValue(null)}activeStrategySource(){return this._activeStrategySource}strategySources(){return this._strategySources}strategySourcesChange(){return this._strategySourcesChange}setScrollEnabled(e){this._scrollEnabled=e}scrollEnabled(){return this._scrollEnabled}setZoomEnabled(e){this._zoomEnabled=e}zoomEnabled(){return this._zoomEnabled}zoomToViewport(e,t,i,s,r){this.setTimeViewport(e,t);let n=Math.min(i,s),o=Math.max(i,s);const a=r.defaultPriceScale();a.isPercentage()||a.setMode({autoScale:!1}),a.isLog()&&(n=a.priceToLogical(n),o=a.priceToLogical(o)),a.setPriceRange(new ae.PriceRange(n,o)),this.recalculateAllPanes((0,O.viewportChangeEvent)()), -this.invalidate(this._paneInvalidationMask(r,q.InvalidationLevel.Light)),this._setScalesResetAvailable(!0)}setTimeViewport(e,t){const i=this.appliedTimeFrame().value();null!==this._lastAppliedTimeRange&&null!==i&&(0,vt.areEqualTimeFrames)(this._lastAppliedTimeRange.range,i.val)&&!this._lastAppliedTimeRange.actual||(this.timeScale().zoomToBarsRange(e,t),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.recalcVisibleRangeStudies(),this.lightUpdate())}onTagsChanged(){return this._tagsChanged}canZoomIn(){return this._timeScale.canZoomIn()&&this._zoomEnabled}canZoomOut(){return this._timeScale.canZoomOut()&&this._zoomEnabled}onPaneTagsChanged(){this._tagsChanged.fire()}panesCollectionChanged(){return this._panesCollectionChanged}dataSourceCollectionChanged(){return this._dataSourceCollectionChanged}symbolSourceCollectionChanged(){return this._symbolSourceCollectionChanged}symbolSourceResolved(){return this._symbolSourceResolved}symbolSourceResolvingActive(){return this._symbolSourceResolvingActive}adjustForDividendsAvailability(){return this._adjustForDividendsAvailability}adjustForDividendsEnabled(){return this._adjustForDividendsEnabled}paneCollapsingAvailable(){return this._paneCollapsingAvailable}sourcePropertiesChanged(){return this._sourceProperitesChanged}sourceZOrderChanged(){return this._sourceZOrderChanged}updateCrosshairPositionByOriginCoords(){const e=this.crossHairSource(),t=e.pane;let i=e.originX(),s=e.originY();if(Number.isFinite(i)||(i=e.x,s=e.y),null!==t&&Number.isFinite(i)&&Number.isFinite(s)){const n=this._timeScale.coordinateToVisibleIndex(i);let o=NaN;const a=t.defaultPriceScale();if(!a.isEmpty()){const e=(0,r.ensureNotNull)(t.mainDataSource()).firstValue();null!==e&&(o=a.coordinateToPrice(s,(0,r.ensureNotNull)(e)))}this.crossHairSource().setPosition(n,o,t)&&e.isOnHoveredChartWidget()&&this._syncCrosshair()}}zoomTime(e,t,i){if(!this._zoomEnabled)return;const s=this.timeScale();if(s.isEmpty()||0===t)return;const r=s.width();e=Math.max(1,Math.min(e,r-2)),s.zoom(e,t,i),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate(),this.recalcVisibleRangeStudies(),this._setScalesResetAvailable(!0)}linePointBeingEdited(){return this._linePointBeingEdited}activeItemBeingMoved(){return this._activeItemBeingMoved}linePointBeingChanged(){return this._linePointBeingChanged}updateAllPaneViews(e){for(const t of this._panes)t.updateAllViews(e);for(const t of this.barsMarksSources())t.updateAllViews(e)}dataSources(){const e=[this.crossHairSource()];for(const t of this._panes)for(const i of t.dataSources())e.push(i);return e}priceDataSources(){const e=[];for(const t of this._panes)for(const i of t.priceDataSources())e.push(i);return e}symbolSources(){const e=[];for(const t of this._panes)for(const i of t.symbolSources())e.push(i);return e}selection(){return this._selection}selectionMacro(e){const t=this.selection().allSources();e({removeSourceFromSelection:this._removeSourceFromSelection,addSourceToSelection:this._addSourceToSelection,clearSelection:this._clearSelection, -selection:this.selection.bind(this)});const i=(0,g.subtract)(t,this.selection().allSources()),s=(0,g.subtract)(this.selection().allSources(),t);s.concat(t).forEach(e=>e.updateAllViews((0,O.selectionChangeEvent)())),i.forEach(e=>{const t=(0,f.isLineTool)(e)&&e.hasAlert.value()&&e.getAlertSync();t&&t.set("selected",!1)}),s.forEach(e=>{const t=(0,f.isLineTool)(e)&&e.hasAlert&&e.hasAlert.value()&&e.getAlertSync();t&&t.set("selected",!0)}),this.lightUpdate(),(i.length>0||s.length>0)&&this._selectedSourceChanged.fire()}onSelectedSourceChanged(){return this._selectedSourceChanged}checkLineToolSelection(){const e=this.selection().allSources();this._selection.checkLineToolSelection(),e.length!==this.selection().allSources().length&&this._selectedSourceChanged.fire()}lineToolsGroupModel(){return this._lineToolsGroupModel}restoreLineToolsGroups(e){this._lineToolsGroupModel=tt.fromState(this,e)}realignLineTools(e){for(const t of this._panes)(void 0===e||t.hasDataSource(e))&&t.realignLineTools(e)&&this._dataSourceCollectionChanged.fire(t)}isSnapshot(){return this._isSnapshot}onWidget(){return this._options.onWidget}hideIdeas(){return this._options.hideIdeas}updateSource(e){const t=this._invalidationMaskForSource(e);null!==t&&this.invalidate(t)}updateSourcePriceScale(e){const t=this._invalidationMaskForSourcePriceScale(e);null!==t&&this.invalidate(t)}updatePane(e){this.invalidate(this._paneInvalidationMask(e))}replaceStudyStub(e,t){const i=this.paneForSource(e);if(null===i)return!1;const s=e.priceScale(),r=e.zorder(),n=e.ownerSource();return this.paneForSource(e)===i?i.replaceSource(e,t,s):(i.insertDataSource(t,s,r),this.removeSource(e)),t.setOwnerSource(n),this.dataSources().forEach(i=>{i.ownerSource()===e&&i.setOwnerSource(t)}),t.start(),this.recalculatePane(i,(0,O.dataSourceChangeEvent)(t.id())),this.fullUpdate(),!0}insertStudyStub(e){const t=this.mainSeries(),i=(0,r.ensureNotNull)(this.paneForSource(t)),s=new w.StudyStub(this,null,e),n=i.createPriceScaleAtPosition("overlay");return i.addDataSource(s,n,!1),this.recalculatePane(i,(0,O.dataSourceChangeEvent)(s.id())),this.fullUpdate(),s}removeStudyStub(e){const t=this.dataSourceForId(e);return null===t?(Ai.logNormal("StudyStub id="+e+" is not found in chart model"),!1):(this.removeSource(t),!0)}setHoveredSource(e,t=null){const i=this._hoveredSource!==e;if(!i&&this._lastHoveredHittestData===t)return;this._lastHoveredHittestData=t;let s=null;if(this._hoveredSource){this._hoveredSource.updateAllViews((0,O.selectionChangeEvent)()),s=new q.InvalidationMask(q.InvalidationLevel.Cursor);const e=this._invalidationMaskForSource(this._hoveredSource,q.InvalidationLevel.Light);null!==e&&s.merge(e)}if(this._hoveredSource=e,e){e.updateAllViews((0,O.selectionChangeEvent)()),s||(s=new q.InvalidationMask(q.InvalidationLevel.Cursor));const t=this._invalidationMaskForSource(e,q.InvalidationLevel.Light);null!==t&&s.merge(t)}s&&this.invalidate(s),i&&this._hoveredSourceChanged.fire(e)}properties(){return this._properties}disconnect(){this.sessions().stop() -;for(const e of this.dataSources())e.disconnect&&e.disconnect();this._timeScale.disconnect()}gridSource(){return this._gridSource}hoveredSource(){return this._hoveredSource}hoveredSourceChanged(){return this._hoveredSourceChanged}lastHittestData(){return this._lastHoveredHittestData}lastSelectedHittestData(){return this._lastSelectedHittestData}syncTimeWithModel(e,t){const i=this.mainSeries().syncModel();if(null===i)return;const s=1e3*this.createSyncPoint(e,i.syncSourceTarget()).sourceTimeToTargetTime(t/1e3),r=(0,it.get_timezone)(this.timezone());let n=(0,it.utc_to_cal)(r,s);this.mainSeries().isDWM()&&(n=i.getSession().spec.correctTradingDay(n),(0,it.set_hms)(n,0,0,0,0,(0,it.get_timezone)("Etc/UTC"))),this._gotoTimeImpl(n.getTime(),{centerIfVisible:!1})}gotoTime(e){return this._gotoTimeImpl(e,{centerIfVisible:!0})}recalculatePane(e,t){null==e||e.recalculate(t)}recalculateAllPanes(e){this._panes.forEach(t=>t.recalculate(e)),this.updateAllPaneViews(e),this.crossHairSource().updateAllViews(e)}gotoTimeRange(e,t){const i=this.timeScale(),s=i.tickMarks(),n=this.mainSeries();if(void 0===s.minIndex)return;let o=e,a=t;const l=n.symbolInfo();if(null!==l){let i=this.properties().childs().timezone.value();"exchange"===i&&(i=l.timezone);const s=(0,it.get_timezone)(i),r=(0,it.utc_to_cal)(s,e),c=(0,it.utc_to_cal)(s,t);if(n.isDWM()){const e=(0,it.get_timezone)("Etc/UTC");(0,it.set_hms)(r,0,0,0,0,e),(0,it.set_hms)(c,0,0,0,0,e)}o=r.getTime(),a=c.getTime()}const c=(0,r.ensureDefined)(s.maxIndex),h=(0,r.ensureNotNull)(s.indexToTime((0,r.ensureDefined)(s.minIndex))).valueOf();if(h-o<=0&&h-a<=0){const e=(e,t)=>e(0,r.ensureNotNull)(s.indexToTime(e)).valueOf(),n=(0,g.lowerboundExt)(t,o,e,s.nearestIndex(o),c),l=(0,g.lowerboundExt)(t,a,e,s.nearestIndex(a),c);if(null!==this._lastAppliedTimeRange&&(this._lastAppliedTimeRange.actual=!1),n!==l)i.zoomToBarsRange(n,l),this.lightUpdate();else{this.startScrollTime(0);const e=((0,r.ensureNotNull)(i.logicalRange()).left()-n+1)*i.barSpacing();this.scrollTimeTo(e),this.endScrollTime()}}else{const i={type:"time-range",from:e/1e3,to:t/1e3};this._lastAppliedTimeRange={range:i,actual:!0},n.loadDataTo(i)}}paneForSource(e){if(!(0,m.isDataSource)(e))return Array.from(this._customSourcesMap.values()).includes(e)?this.paneForSource(this.mainSeries()):null;for(let t=this._panes.length-1;t>=0;t--)if(this._panes[t].hasDataSource(e))return this._panes[t];return e instanceof ht.BarsMarksContainer?this.paneForSource(this.mainSeries()):null}mainPane(){for(const e of this._panes)if(e.isMainPane())return e;throw new Error("Main pane is not found")}lastPane(){return this._panes[this._panes.length-1]}removeSource(e,t){this.selectionMacro(t=>t.removeSourceFromSelection(e)),this._hoveredSource===e&&(this._hoveredSource=null,this._lastHoveredHittestData=null),this._sourcesBeingMoved.includes(e)&&(this._sourcesBeingMoved=this._sourcesBeingMoved.filter(t=>t!==e),this._sourcesBeingMoved.length||(this._activeItemBeingMoved=null)),e===this._lineBeingEdited&&(this._lineBeingEdited=null,lt.isToolEditingNow.setValue(!1)), -e===this._lineBeingCreated&&(this._lineBeingCreated=null,lt.isToolCreatingNow.setValue(!1)),e.stop&&e.stop();const i=this.detachSource(e),s=this.mainSeries().priceScale();return(0,H.isStudy)(e)&&(0,le.isActingAsSymbolSource)(e)&&e.priceScale()===s&&s.isPercentage()&&1===s.seriesLikeSources().filter(le.isActingAsSymbolSource).length&&s.setMode({percentage:!1}),this.fullUpdate(),this._invalidateBarColorerCaches(),(0,H.isStudy)(e)&&((0,u.emit)("study_event",e.id(),"remove"),e.isChildStudy()&&e.parentSource().unsetChild(e),e.maxOffset().unsubscribe(this._boundUpdateStudiesMaxOffset)),e.destroy&&e.destroy(),(0,f.isLineTool)(e)&&(e.removeAlert(),(0,u.emit)("drawing_event",e.id(),"remove")),i}allStudies(e){const t=e?e=>(0,H.isStudy)(e)&&!0:H.isStudy;return this._getAllSources(t)}findNonOverlayStudyWithGroupingKey(e,t){const i=void 0!==t?[t]:this._panes;for(const t of i){const i=t.dataSources().find(i=>(0,H.isStudy)(i)&&i.metaInfo().groupingKey===e&&!t.isOverlay(i));if(void 0!==i)return{pane:t,study:i}}return null}movePaneUp(e){this.movePane(e,e-1)}movePaneDown(e){this.movePane(e,e+1)}movePane(e,t){const i=this._panes[e];this._panes.splice(e,1),this._panes.splice(t,0,i),this._panesCollectionChanged.fire(this._panes),this._onRearrangePanes.fire(),this.invalidate(q.InvalidationMask.panesOrder())}backgroundColor(){return this._backgroundColor}backgroundTopColor(){return this._backgroundTopColor}backgroundColorAtYPercentFromTop(e){const t=this.backgroundColor().value(),i=this.backgroundTopColor().value();if(t===i)return t;if(e=Math.max(0,Math.min(100,Math.round(100*e))),null===this._gradientColorsCache||this._gradientColorsCache.topColor!==i||this._gradientColorsCache.bottomColor!==t)this._gradientColorsCache={topColor:i,bottomColor:t,colors:new Map};else{const t=this._gradientColorsCache.colors.get(e);if(void 0!==t)return t}const s=(0,ct.gradientColorAtPercent)(i,t,e/100);return this._gradientColorsCache.colors.set(e,s),s}backgroundCounterColor(){const e=this.backgroundColor().value();if(void 0===this._lastBackgroundColor||void 0===this._lastOriginalColor||e!==this._lastBackgroundColor){const t=(0,o.rgbToBlackWhiteString)((0,o.parseRgb)(e),150);this._lastBackgroundColor=e,this._lastOriginalColor="black"===t?"white":"black"}return this._lastOriginalColor}isDark(){return"white"===this.backgroundCounterColor()}defaultResolutions(){return this.chartApi().defaultResolutions()}availableCurrencies(){const e=this._getAvailableCurrencies();return e.length!==this._availableCurrencies.size()&&(this._availableCurrencies=new pt(e)),this._availableCurrencies}currencyConversionEnabled(){return this._options.currencyConversionEnabled}availableUnits(){const e=this._getAvailableUnits();return this._availableUnits.unitsChanged(e)&&(this._availableUnits=new _t(e)),this._availableUnits}unitConversionEnabled(){return this._options.unitConversionEnabled}resetDeferredStudies(){ve.instance(this).reset()}isJustClonedChart(){return this._undoModel.isJustClonedChart()}studyTemplate(e,t,i){const s={panes:[],version:this.version()} -;for(const e of this.panes())s.panes.push(e.state(!0,!1,!0));const r=this.mainSeries();return e&&(s.symbol=r.symbol(),this.currencyConversionEnabled()&&i&&(s.currency=r.currency()),this.unitConversionEnabled()&&i&&(s.unit=r.unit())),t&&(s.interval=r.interval()),s}restoreLineToolState(e,t,i){e.restorePoints(t.points,t.indexes||[]),e.properties().merge(t.state),e.restoreData&&e.restoreData(t),e.linkKey().setValue(t.linkKey||null),e.createServerPoints(),this.fullUpdate();const s=e.linkKey().value();null!==s&&i&&(0,lt.restoreLineToolState)({model:this,linkKey:s,state:t})}preferences(){return(0,Mi.preferencesByWhiteList)(this,this.mainSeries())}restoreTheme(e,t,i){e.mainSourceProperties.hollowCandleStyle||(e.mainSourceProperties.hollowCandleStyle=e.mainSourceProperties.candleStyle),this._undoModel.chartLoadTheme(e,t,i)}onResetScales(){return this._resetScales}startMovingSources(e,t,i,s,n,o){this._sourcesBeingMoved=e,this._activeItemBeingMoved=i;let a=!1;if(this._sourcesBeingMoved.forEach(e=>{!a&&(0,H.isStudy)(e)&&(a=!0);const l=(0,r.ensureNotNull)(this.paneForSource(e)),c=(0,f.isLineTool)(e),h=c&&e.linkKey().value();if(!1!==h&&null!==h&&s.has(h)&&c&&e.isFixed()){const t=(0,r.ensureDefined)(s.get(h)),a={screen:this._percentPositionToPoint(t,l)};e.startMoving(a,i,n,o)}else e.startMoving(t,i,n,o);const d=this._paneInvalidationMask(l,q.InvalidationLevel.Light);this.invalidate(d)}),!o){const s=e.filter(f.isLineTool).filter(e=>e.linkKey().value()&&e.isSynchronizable()).map(e=>e.linkKey().value());if(s.length&&t.logical){const o=this.externalTimeStamp(t.logical.index),a={linkKeys:s,model:this,symbol:this.mainSeries().symbol(),point:{price:t.logical.price,timeStamp:o},activeItem:null!==i?i:void 0,envState:n,pointPositionPercents:new Map};e.forEach(e=>{if((0,f.isLineTool)(e)){const i=e.linkKey().value();if(i&&e.isSynchronizable()&&e.isFixed()){const s=(0,r.ensureNotNull)(this.paneForSource(e));a.pointPositionPercents.set(i,this._pointToPercentPosition((0,r.ensureDefined)(t.screen),s))}}}),(0,lt.startMovingLineTool)(a)}}lt.isToolMovingNow.setValue(!0),a&<.isStudyEditingNow.setValue(!0)}moveSources(e,t,i,s){if(this._sourcesBeingMoved.filter(e=>!e.isLocked||!e.isLocked()).forEach(n=>{const o=(0,f.isLineTool)(n)?n.linkKey().value():null;if(null!==o&&t.has(o)){const e=(0,r.ensureNotNull)(this.paneForSource(n)),a=(0,r.ensureDefined)(t.get(o)),l={screen:this._percentPositionToPoint(a,e)};n.move(l,this._activeItemBeingMoved,i,s)}else n.move(e,this._activeItemBeingMoved,i,s)}),this.lightUpdate(),!s&&e.logical){const t=this._sourcesBeingMoved.filter(f.isLineTool).filter(e=>e.isSynchronizable()&&!!e.linkKey().value()).map(e=>e.linkKey().value()),s=this.externalTimeStamp(e.logical.index),n={linkKeys:t,model:this,point:{price:e.logical.price,timeStamp:s},envState:i,pointPositionPercents:new Map};this._sourcesBeingMoved.filter(f.isLineTool).forEach(t=>{if(t.linkKey().value()&&t.isSynchronizable()&&t.isFixed()){const i=(0,r.ensureNotNull)(this.paneForSource(t));n.pointPositionPercents.set(t.linkKey().value(),this._pointToPercentPosition((0, -r.ensureDefined)(e.screen),i))}}),(0,lt.moveLineTool)(n)}}endMovingSources(e,t,i){const s=this._sourcesBeingMoved.map(s=>{const n=(0,r.ensureNotNull)(this.paneForSource(s)),o=s.endMoving(e,t,i),a=this._paneInvalidationMask(n,q.InvalidationLevel.Light);return a.invalidateAll(q.InvalidationLevel.Light),this.invalidate(a),o}),n=this._sourcesBeingMoved.filter(f.isLineTool).filter(e=>e.isSynchronizable()&&!!e.linkKey().value()).map(e=>e.linkKey().value()),o=this._sourcesBeingMoved.filter(f.isLineTool).filter(e=>e.isSynchronizable()&&!!e.linkKey).map(e=>{const t={points:e.normalizedPoints(),interval:this.mainSeries().interval()};return e.isFixed()&&(t.pointPositionPercents=e.calcPositionPercents()),t});n.length&&(0,lt.finishMovingLineTool)({linkKeys:n,model:this,finalStates:o,changes:s}),this._sourcesBeingMoved=[],this._activeItemBeingMoved=null,lt.isToolMovingNow.setValue(!1),lt.isStudyEditingNow.setValue(!1)}sourcesBeingMoved(){return this._sourcesBeingMoved}setMovingCustomSource(e,t){this._customSourceBeingMoved=e,this._customSourceBeingMovedHitTestData=null!==t?{beingMoved:!1,...t}:null}processingCustomSourceMove(){null!==this._customSourceBeingMovedHitTestData&&(this._customSourceBeingMovedHitTestData.beingMoved=!0)}customSourceMovingHitTestData(){return this._customSourceBeingMovedHitTestData}customSourceBeingMoved(){return null!==this._customSourceBeingMovedHitTestData&&this._customSourceBeingMovedHitTestData.beingMoved?this._customSourceBeingMoved:null}width(){return this._width}setWidth(e,t){this._width=e,this._timeScale.setWidth(e,t);for(const t of this._panes)t.setWidth(e);this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.recalcVisibleRangeStudies()}setPaneHeight(e,t){e.setHeight(t),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate()}isScalesResetAvailableChanged(){return this._isScalesResetAvailableChanged}isScalesResetAvailable(){return this._isScalesResetAvailable}panes(){return this._panes}paneForId(e){return this._panes.find(t=>t.id()===e)||null}createPane(e,t,i){const s=this._undoModel.chartWidget();s.isMaximizedPane()&&s.toggleMaximizePane(null);const r=this._properties.childs().paneProperties;t&&r.merge(t);const n=new Le(this._timeScale,r,this,i);return void 0!==e?this._panes.splice(e,0,n):this._panes.push(n),n.onTagsChanged().subscribe(this,Vi.prototype.onPaneTagsChanged),n.dataSourcesCollectionChanged().subscribe(this,()=>this._dataSourceCollectionChanged.fire(n)),n.symbolSourceCollectionChanged().subscribe(this,()=>this._onSymbolSourceCollectionChanged(n)),n.sourcePropertiesChanged().subscribe(this,e=>this._sourceProperitesChanged.fire(n,e)),n.sourceZOrderChanged().subscribe(this,e=>this._sourceZOrderChanged.fire(n,e)),n.symbolSourceResolved().subscribe(this,e=>this._symbolSourceResolved.fire(n,e)),n.symbolSourceResolvingActive().subscribe(this._recalcSymbolResolvingActive),n.collapsed().subscribe(this._recalcPaneCollapsingAvailable),this._recalcPaneCollapsingAvailable(),this._panesCollectionChanged.fire(this._panes),this.invalidate(q.InvalidationMask.panesOrder()),n} -removePane(e){const t=this._undoModel.chartWidget();t.isMaximizedPane()&&t.toggleMaximizePane(null);const i=e;i.destroy();const s=this._panes.indexOf(i);-1!==s&&(this._panes.splice(s,1),e.dataSourcesCollectionChanged().unsubscribeAll(this),e.symbolSourceCollectionChanged().unsubscribeAll(this),e.sourcePropertiesChanged().unsubscribeAll(this),e.onTagsChanged().unsubscribeAll(this),e.symbolSourceResolved().unsubscribeAll(this),i.symbolSourceResolvingActive().unsubscribe(this._recalcSymbolResolvingActive),e.collapsed().unsubscribe(this._recalcPaneCollapsingAvailable),this._recalcPaneCollapsingAvailable(!0));this.crossHairSource().pane===e&&this.clearCurrentPosition(),this._panesCollectionChanged.fire(this._panes),this.invalidate(q.InvalidationMask.panesOrder())}changePanesHeight(e,t){if(this._panes.length<2)return;(0,r.assert)(e>=0&&ee+t.stretchFactor(),0),n=this._panes.reduce((e,t)=>e+t.height(),0),o=n-30*(this._panes.length-1);t=Math.min(o,Math.max(30,t));const a=s/n,l=i.height();i.setStretchFactor(t*a);let c=t-l,h=this._panes.length-1;for(const e of this._panes)if(e!==i){const t=Math.min(o,Math.max(30,e.height()-c/h));c-=e.height()-t,h-=1;const i=t*a;e.setStretchFactor(i)}this.fullUpdate()}clearCurrentPosition(){const e=this.crossHairSource();e.clearPosition(),(0,r.ensureNotNull)(e.dataWindowView()).update(),ki(this._panes),this.invalidate(q.InvalidationMask.cursor());const t=this._undoModel.chartWidget();t.chartWidgetCollection().syncCrosshair(null,t.id()),this._phantomSourceContainer.onCursorPositionUpdated()}setAndSaveCurrentPosition(e,t,i,s){this.crossHairSource().saveOriginCoords(e,t),this.setCurrentPosition(e,t,i,s)}setCurrentPosition(e,t,i,s){let n=NaN;const o=this._timeScale.coordinateToVisibleIndex(e),a=i.defaultPriceScale();let l=null;!a.isEmpty()&&Number.isFinite(t)&&(l=(0,r.ensureNotNull)(i.mainDataSource()).firstValue(),null!==l&&(n=a.coordinateToPrice(t,l)));const c=this.crossHairSource(),h=c.selectPointMode().value(),d=this.currentTool(),u=this.mainSeries(),p=h||lt.isStudyEditingNow.value(),_=this._lineBeingCreated||this._lineBeingEdited||(0,f.isLineToolName)(d)||(0,lt.toolIsMeasure)(d)||p;!this._isSettingsExternalPosition&&_&&(n=this._magnet.align(n,o,i),null!==l&&c.saveOriginCoords(c.originX(),a.priceToCoordinate(n,l)));let m=null;if(isNaN(n)||(m=i),this._isTimeScrolling){if(!this._isSettingsExternalPosition&&h){const e=u.bars().firstIndex(),t=u.bars().lastIndex();if(null!==e&&null!==t){const s=Math.min(Math.max(o,e),t);s!==o&&this._setCorrectedPositionToCrosshair(s,n,l,i)}}else c.setPosition(c.index,n,m);return}c.setOnHoveredChartWidget(!0),c.setPosition(o,n,m),(0,r.ensureNotNull)(c.dataWindowView()).update(),ki(this._panes);const g=u.syncModel();if(this.crossHairSource().startMeasurePoint()||this._lineBeingCreated?this.lightUpdate():this.invalidate(q.InvalidationMask.cursor()),this._lineBeingCreated){const e=this._lineBeingCreated.linkKey().value();if(!this._isSettingsExternalPosition){ -const t=this._lineBeingCreated.setLastPoint({index:o,price:n},s);if(this._lineBeingCreated.updateAllViews((0,O.dataSourceChangeEvent)(this._lineBeingCreated.id())),t.price===n&&t.index===o||this._setCorrectedPositionToCrosshair(t.index,t.price,l,i),g&&e){const i=this._timeScale.points().roughTime(t.index,g.projectTime.bind(g));(0,lt.setLineToolLastPoint)({model:this,linkKey:e,point:{timeStamp:(0,r.ensureNotNull)(i),price:t.price}})}}}if(!this._isSettingsExternalPosition&&null!==this._lineBeingEdited&&null!==this._linePointBeingEdited){const e={index:o,price:n};this.changeLinePoint(e,s);const t=this._lineBeingEdited.alignCrossHairToAnchor(this._linePointBeingEdited)?this._lineBeingEdited.getPoint(this._linePointBeingEdited):e;null!==t&&this._setCorrectedPositionToCrosshair(t.index,t.price,l,i)}if(!this._isSettingsExternalPosition&&p){const e=u.bars().firstIndex(),t=u.bars().lastIndex();if(null!==e&&null!==t){const s=Math.min(Math.max(o,e),t);s!==o&&this._setCorrectedPositionToCrosshair(s,n,l,i)}}this._syncCrosshair(s)}setExternalPosition(e,t){let i;const s=this.crossHairSource();if(s.setOnHoveredChartWidget(!1),null!==e&&(0,_e.isNumber)(e.timeStamp)){const t=this.mainSeries().syncModel();if(t){const s=this.createSyncPoint(e.syncSourceTarget,t.syncSourceTarget()).sourceTimeToTargetTime(e.timeStamp);i=this._timeScale.points().roughIndex(s,t.distance.bind(t))}}if(null!==e&&null!=i&&Number.isFinite(i)){this._isSettingsExternalPosition=!0;const n=(0,r.ensureNotNull)(this.paneForSource(this.mainSeries())),o=this._timeScale.indexToCoordinate(i),a=(0,r.ensureNotNull)(n.mainDataSource()).firstValue();if(null!==a){let i=NaN;void 0!==e.price&&Number.isFinite(e.price)&&(i=this.mainSeries().priceScale().priceToCoordinate(e.price,a)),s.clearOriginCoords(),this.setCurrentPosition(o,i,n,t)}return s.setOnHoveredChartWidget(!1),void(this._isSettingsExternalPosition=!1)}s.clearPosition(),(0,r.ensureNotNull)(s.dataWindowView()).update(),ki(this._panes),this.invalidate(q.InvalidationMask.cursor())}startScaleTime(e){this._timeScale.startScale(e)}scaleTimeTo(e){this._timeScale.scaleTo(e),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate(),this._setScalesResetAvailable(!0)}endScaleTime(){this._timeScale.endScale(),this.lightUpdate(),this.recalcVisibleRangeStudies()}resetTimeScale(){this._timeScale.restoreDefault(),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.recalcVisibleRangeStudies(),this.lightUpdate(),this._resetScales.fire(),this._setScalesResetAvailable(!1)}startScalePrice(e,t,i){e.startScalePrice(t,i)}scalePriceTo(e,t,i){e.scalePriceTo(t,i),this.mainSeries().priceScale().isLockScale()?this.lightUpdate():this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light)),this._setScalesResetAvailable(!0)}endScalePrice(e,t){e.endScalePrice(t),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}startTwoPointsScalePrice(e,t,i,s){t.startTwoPointsScale(i,s)}twoPointsScalePriceTo(e,t,i,s){t.twoPointsScale(i,s),this.invalidate(this._paneInvalidationMask(e)), -this._setScalesResetAvailable(!0)}endTwoPointsScalePrice(e,t){t.endTwoPointsScale(),this.invalidate(this._paneInvalidationMask(e))}resetPriceScale(e,t){this._setScalesResetAvailable(!1),e.resetPriceScale(t),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}restorePriceScaleState(e,t,i){e.restorePriceScaleState(t,i),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}currentTool(){return this._currentTool}setCurrentTool(e){this._currentTool!==e&&((0,f.isLineToolName)(e)&&this.selectionMacro(e=>{e.clearSelection()}),this._currentTool=e,this._phantomSourceContainer.onToolChanged())}detachSource(e){const t=this.paneForSource(e);return!!t&&(t.removeDataSource(e),t.isEmpty()?(this._lineBeingCreated&&t===this._paneBeingCreatedLineOn&&this.cancelCreatingLine(),this.removePane(t),!0):(this.fullUpdate(),!1))}onRearrangePanes(){return this._onRearrangePanes}finishLineTool(e){const t=e.linkKey().value();(0,lt.drawOnAllCharts)().value()&&null!==t&&e.isSynchronizable()&&(0,lt.finishLineTool)({linkKey:t,model:this})}startChangingLinetool(e,t,i,s,n){this._lineBeingEdited=e,this._linePointBeingChanged=t||null,this._linePointBeingEdited=void 0===i?null:i,this._lineBeingEdited.startChanging(i,t,n),lt.isToolEditingNow.setValue(!0);const o=(0,r.ensureNotNull)(this.paneForSource(e));this._lineBeingEdited.startDragPoint&&void 0!==i&&void 0!==t&&this._lineBeingEdited.startDragPoint(i,t),n||void 0===i||void 0===t||this._lineBeingEdited.setPoint(i,t,s,n),this._lineBeingEdited.updateAllViews((0,O.dataSourceChangeEvent)(this._lineBeingEdited.id()));const a=this._paneInvalidationMask(o,q.InvalidationLevel.Light);this.invalidate(a);const l=e.linkKey().value();if(l&&e.isSynchronizable()&&void 0!==i&&void 0!==t){const e=(0,r.ensureNotNull)(this.externalTimeStamp(t.index));(0,lt.startChangingLineTool)({linkKey:l,model:this,symbol:this.mainSeries().symbol(),point:{price:t.price,timeStamp:e},pointIndex:i,envState:s||null})}}createLineTool(e,t,i,s,o,a,l){if((0,r.assert)((0,f.isLineToolName)(i),"Cannot create unknown line tool: "+i),s){const e={...Li.intervalsVisibilitiesDefaults},t=s.childs().intervalsVisibilities.state();(0,_e.merge)(e,null!=t?t:{});const r=s.state();r.intervalsVisibilities=e,s=(0,f.createLineToolProperties)(i,r,this)}const c=(0,f.createLineTool)(i,this,s,null,void 0,l);if("LineToolExecution"!==i){const e="LineToolIcon"===i?c.properties().childs().icon.value().toString(16).toUpperCase():void 0;(0,h.trackEvent)("drawings","Study_Drawing_"+i,e)}const d=!c.linkKey().value()&&!o;a=(0,r.ensureDefined)(a||(0,r.ensureNotNull)(e.mainDataSource())),s||(0,f.prepareLineToolPropertiesByOwnerSource)(c.properties(),a),c.setOwnerSource(a);const u=a.priceScale();if(e.addDataSource(c,u,!1),(0,lt.drawOnAllCharts)().value()){const e=c.isSynchronizable()?o||(0,X.randomHash)():null;c.linkKey().setValue(e)}else c.linkKey().setValue(o);let p;if(c.isFixed()){const i=(0,r.ensureNotNull)((0,r.ensureNotNull)(e.mainDataSource()).firstValue()),s=this._timeScale.indexToCoordinate(t.index),o=(0, -r.ensureNotNull)(u).priceToCoordinate(t.price,i);p=c.addFixedPoint(new n.Point(s,o))}else p=c.addPoint(t);return p||(this._lineBeingCreated=c,this._paneBeingCreatedLineOn=e,lt.isToolCreatingNow.setValue(!0)),d&&c.enableCurrentIntervalVisibility(),this.fullUpdate(),c}endChangingLinetool(e,t){const i=(0,r.ensureNotNull)(this._lineBeingEdited),s=i.endChanging(!1,e,t);this._lineBeingEdited=null,lt.isToolEditingNow.setValue(!1),this._linePointBeingEdited=null,this._linePointBeingChanged=null,this.lightUpdate();const n={points:i.normalizedPoints(),interval:this.mainSeries().interval()},o=i.linkKey().value();null!==o&&i.isSynchronizable()&&!t&&(0,lt.finishChangingLineTool)({model:this,linkKey:o,symbol:this.mainSeries().symbol(),finalState:n,changes:s})}continueCreatingLine(e,t,i,s){const n=(0,r.ensureNotNull)(this._lineBeingCreated),o=n.addPoint(e,t,i);n.updateAllViews((0,O.dataSourceChangeEvent)(n.id()));const a=new q.InvalidationMask(q.InvalidationLevel.Light);return o&&(this._paneBeingCreatedLineOn=null,this._lineBeingCreated=null,lt.isToolCreatingNow.setValue(!1)),this.invalidate(a),o}cancelCreatingLine(){if(!this._lineBeingCreated)return;const e=this._lineBeingCreated;this.removeSource(this._lineBeingCreated),this._lineBeingCreated=null,this._lineCancelled.fire(),lt.isToolCreatingNow.setValue(!1),(0,lt.drawOnAllCharts)().value()&&e.isSynchronizable()&&(0,lt.cancelLineTool)({model:this})}lineBeingCreated(){return this._lineBeingCreated}paneBeingCreatedLineOn(){return this._paneBeingCreatedLineOn}lineCancelled(){return this._lineCancelled}isPhantomLine(e){return this._phantomSourceContainer.source()===e}changeLinePoint(e,t,i){const s=(0,r.ensureNotNull)(this._lineBeingEdited),n=(0,r.ensureNotNull)(this._linePointBeingEdited);let o=e.price,a=e.index;if(s.setPoint(n,e,t,i),!i){const t=s.alignCrossHairToAnchor(n)?s.getPoint(n):e;null!==t&&(a=t.index,o=t.price)}s.updateAllViews((0,O.dataSourceChangeEvent)(s.id())),this.lightUpdate();const l=s.linkKey().value();if(!i&&null!==l&&s.isSynchronizable()){const e=(0,r.ensureNotNull)(this._linePointBeingChanged),i={indexesChanged:a!==e.index,pricesChanged:o!==e.price},c=s.getChangePointForSync(n);if(null!==c){const e=this.externalTimeStamp(a);null!==e&&(o=c.price,(0,lt.changeLineTool)({linkKey:l,model:this,symbol:this.mainSeries().symbol(),point:{price:o,timeStamp:e},envState:t,changes:i}))}}}changeLinePoints(e,t,i){const s=e.points(),n=e.linkKey().value();!i&&n&&e.isSynchronizable()&&t.forEach((t,i)=>{const o=s[i],a=o.price!==t.price,l=o.index!==t.index;if(e.getChangePointForSync(i)){const e=(0,r.ensureNotNull)(this.externalTimeStamp(t.index));(0,lt.changeLineTool)({linkKey:n,model:this,symbol:this.mainSeries().symbol(),point:{price:t.price,timeStamp:e},changes:{pricesChanged:a,indexesChanged:l}})}}),e.setPoints(t),e.updateAllViews((0,O.dataSourceChangeEvent)(e.id())),this.lightUpdate()}startScrollTime(e){this._timeScale.startScroll(e),this._isTimeScrolling=!0}scrollTimeTo(e){this._timeScale.scrollTo(e),this.recalculateAllPanes((0,O.viewportChangeEvent)()),this.lightUpdate(), -this._setScalesResetAvailable(!0)}endScrollTime(){this._timeScale.endScroll(),this.lightUpdate(),this.recalcVisibleRangeStudies(),this._isTimeScrolling=!1}startScrollPrice(e,t,i){e.startScrollPrice(t,i)}scrollPriceTo(e,t,i){e.scrollPriceTo(t,i),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}endScrollPrice(e,t){e.endScrollPrice(t),this.invalidate(this._paneInvalidationMask(e,q.InvalidationLevel.Light))}addCustomSource(e,t,i=_.CustomSourceLayer.Foreground){this._customSourcesMap.has(e)&&Ai.logWarn(`Attempt to add the same custom source multiple time "${e}"`),Ai.logNormal(`Adding custom source "${e}"`);const s=t(e,this);switch(i){case _.CustomSourceLayer.Background:this._bgCustomSources.push(s);break;case _.CustomSourceLayer.Foreground:this._fgCustomSources.push(s);break;case _.CustomSourceLayer.Topmost:this._topmostCustomSources.push(s);break;default:throw new Error("Unknown custom sources layer "+i)}this._allCustomSources.push(s),this._customSourcesMap.set(e,s),this.lightUpdate()}removeCustomSource(e){this._removeCustomSource(e),this.lightUpdate()}hasCustomSource(e){return this._customSourcesMap.has(e)}customSourceForName(e){return this._customSourcesMap.get(e)||null}customSourceName(e){let t=null;return this._customSourcesMap.forEach((i,s)=>{i===e&&(t=s)}),t}customSources(e){switch(e){case _.CustomSourceLayer.Background:return this._bgCustomSources;case _.CustomSourceLayer.Foreground:return this._fgCustomSources;case _.CustomSourceLayer.Topmost:return this._topmostCustomSources;default:return this._allCustomSources}}addMultiPaneSource(e){this._multiPaneSources.push(e),this.lightUpdate()}removeMultiPaneSource(e){const t=this._multiPaneSources.indexOf(e);-1===t?Ai.logWarn("Attempt to remove multi-pane source which does not exist in the model"):this._multiPaneSources.splice(t,1),this.lightUpdate()}multiPaneSources(e){return this._multiPaneSources.filter(t=>!e.hasDataSource(t))}dateTimeFormatter(){return this._dateTimeFormatter}dateFormatter(){return this._dateFormatter}timeFormatter(){return this._timeFormatter}sessions(){return(0,r.ensureNotNull)(this._sessions)}createSessions(e){(0,r.assert)(null===this._sessions,"Sessions are already created"),this.addCustomSource("sessions",(t,i)=>(this._sessions=new W(t,i,e),this._sessions.start(),this._sessions),_.CustomSourceLayer.Background)}createPrePostMarket(e){this.addCustomSource("prePostMarket",(t,i)=>new PrePostMarket(t,i,e))}theme(){const e=this.properties().childs().paneProperties.state();delete e.topMargin,delete e.bottomMargin;const t=this.mainSeries().state().state;t&&(delete t.symbol,delete t.interval,delete t.currencyId,delete t.unitId);const i={mainSourceProperties:t,sessions:this.sessions().properties().state(),chartProperties:{paneProperties:e,scalesProperties:this.properties().childs().scalesProperties.state()},version:this.version()};return i.version=this.version(),i}onChartThemeLoaded(){return this._chartThemeLoaded}chartThemeLoaded(){this._chartThemeLoaded.fire()}state(e,t,i,s){var r -;const n=this.publishedChartsTimelineSource(),o=this.properties().childs(),a=o.tradingProperties.state(),l={panes:this._panes.map(r=>r.state(!0,e,!1,t,i,s)),timeScale:this._timeScale.state(e),chartProperties:{paneProperties:o.paneProperties.state(),scalesProperties:o.scalesProperties.state(),publishedChartsTimelineProperties:n?n.state(e):void 0,chartEventsSourceProperties:null===(r=o.chartEventsSourceProperties)||void 0===r?void 0:r.state(),tradingProperties:a,priceScaleSelectionStrategyName:o.priceScaleSelectionStrategyName.value()},sessions:this.sessions().state(e),version:this.version(),timezone:this.timezone(),shouldBeSavedEvenIfHidden:this._shouldBeSavedEvenIfHidden};return s||(l.lineToolsGroups=this.lineToolsGroupModel().state(t)),l}restoreState(e,t,i){ve.instance(this).reset();const s={};if(!e.panes)return void Ai.logDebug("ChartModel.restoreState: invalid state");if(!Array.isArray(e.panes))return void Ai.logDebug("ChartModel.restoreState: invalid state");if(e.panes.length<1)return void Ai.logDebug("ChartModel.restoreState: invalid state");if(this._shouldBeSavedEvenIfHidden=void 0===e.shouldBeSavedEvenIfHidden||e.shouldBeSavedEvenIfHidden,e.chartProperties&&!e.chartProperties.timezone&&(e.chartProperties.timezone=e.timezone),e.chartProperties){const i=(0,D.factoryDefaults)("chartproperties").scalesProperties;(0,_e.merge)(i,e.chartProperties.scalesProperties),!("showLastValue"in i)||"showSeriesLastValue"in i||"showStudyLastValue"in i||(i.showSeriesLastValueProperty=i.showLastValue,i.showStudyLastValueProperty=i.showLastValue),"showSeriesLastValue"in i&&(s.showSeriesLastValueProperty=!0),"showStudyLastValue"in i&&(s.showStudyLastValueProperty=!0),(!this.isSnapshot()&&!this.readOnly()&&"showCurrency"in i||"showUnit"in i)&&(0,Y.migrateShowCurrencyAndShowUnitProperties)(i.showCurrency,i.showUnit),e.chartProperties.paneProperties.vertGridProperties=e.chartProperties.paneProperties.vertGridProperties||(0,_e.clone)(e.chartProperties.paneProperties.gridProperties),e.chartProperties.paneProperties.horzGridProperties=e.chartProperties.paneProperties.horzGridProperties||(0,_e.clone)(e.chartProperties.paneProperties.gridProperties),"backgroundType"in e.chartProperties.paneProperties||(e.chartProperties.paneProperties.backgroundType=dt.ColorType.Solid),"separatorColor"in e.chartProperties.paneProperties||(e.chartProperties.paneProperties.separatorColor=(0,c.getThemedColor)("color-chart-page-bg")),this._properties.childs().paneProperties.mergeAndFire(e.chartProperties.paneProperties),this._properties.childs().scalesProperties.mergeAndFire(i),e.chartProperties.timezone&&this._properties.childs().timezone.setValue(e.chartProperties.timezone),e.chartProperties.chartEventsSourceProperties&&this._properties.hasChild("chartEventsSourceProperties")&&this._properties.childs().chartEventsSourceProperties.mergeAndFire(e.chartProperties.chartEventsSourceProperties), -e.chartProperties.tradingProperties&&this._properties.hasChild("tradingProperties")&&(void 0===e.chartProperties.tradingProperties.horizontalAlignment&&(e.chartProperties.tradingProperties.horizontalAlignment=(r=e.chartProperties.tradingProperties.lineLength)<=40?_.TradingSourcesHorizontalAlignment.Right:r>=60?_.TradingSourcesHorizontalAlignment.Left:_.TradingSourcesHorizontalAlignment.Center),this._properties.childs().tradingProperties.mergeAndFire(e.chartProperties.tradingProperties)),this._timeScale.restoreState(e.timeScale,t),this._updateDateTimeFormatter()}var r;if(e.timeScale&&this._timeScale.restoreState(e.timeScale,t),!this.readOnly()){const t=this._getExceedingChildStudies(e.panes);if(t.length){for(let i=e.panes.length-1;i>=0;--i){const s=e.panes[i];for(let e=s.sources.length-1;e>=0;--e){const i=s.sources[e];~t.indexOf(i)&&s.sources.splice(e,1)}s.sources.length||e.panes.splice(i,1)}0}}const n=e.version||0,o=e.panes;this.panes()[0].restoreState(o[0],t,n,s,i,!0);let a=1;for(let r=1;rd&&h%100==0?{lines_limit_exceeded:!0,line_tools_count:h}:(this.panes().forEach(e=>this._dataSourceCollectionChanged.fire(e)),this._lineToolsGroupModel.fireChangedAll(),{})}shouldBeSavedEvenIfHidden(){return this._shouldBeSavedEvenIfHidden}setShouldBeSavedEvenIfHidden(e){this._shouldBeSavedEvenIfHidden=e}externalTimeStamp(e){const t=this.mainSeries().syncModel();return this.timeScale().points().roughTime(e,t&&t.projectTime.bind(t))}syncESD(){null!==this._esdWatcher&&this._esdWatcher.syncESDStudies()}recalcVisibleRangeStudies(e){this._recalcVRStudiesParams.force=this._recalcVRStudiesParams.force||Boolean(e),this._recalcVisibleRangeStudiesImplDebounced()}recalcColorStudies(e){this._recalcColorStudiesParams.force=this._recalcColorStudiesParams.force||Boolean(e),this._recalcColorStudiesImplDebounced()}alertsWatcher(){return this._alertsWatcher}showLegend(){return this._showLegendProperty}id(){return this._id}recalculatePriceRangeOnce(){const e=this.mainSeries();for(const t of this._panes)for(const i of t.priceDataSources())i.symbolSource()===e&&i.disablePriceRangeReady()}invalidate(e){var t;null===(t=this._invalidateHandler)||void 0===t||t.call(this,e)}appliedTimeFrame(){ -return this._appliedTimeFrame.appliedTimeFrame()}barsMarksSources(){return this._barsMarksSources}barMarksSourceForId(e){for(const t of this._barsMarksSources)if(t.id()===e)return t;return null}createSyncPoint(e,t){return(0,Ii.getDefault2Lazy)(this._syncPointCache,e.uniqueId,t.uniqueId,()=>new at(e,t))}isAutoSaveEnabled(){return this._isAutoSaveEnabled}studyAwareDefaultRightOffset(){return Math.max(this._timeScale.defaultRightOffset().value(),this._cachedStudiesMaxOffset)}clearAllStudies(){this.dataSources().forEach(e=>{var t;return null===(t=e.clearData)||void 0===t?void 0:t.call(e)})}_updateStudiesMaxOffset(){const e=Math.max(...this.allStudies().map(e=>e.maxOffset().value()));this._cachedStudiesMaxOffset=e;const t=this._timeScale.rightOffset();t<0||this._timeScale.setRightOffset(Math.max(t,e))}_updateBaseIndex(e,t){const i=this._timeScale,s=i.baseIndex(),r=i.visibleBarsStrictRange(),n=i.logicalRange();if(null!==n&&t){const t=n.contains(s),o=e-s;let a=t?null:i.rightOffset()-o;if(!this._options.shiftVisibleRangeOnNewBar&&t){const e=i.indexToCoordinate(s)+i.barSpacing()/2+1,t=s-n.left()+o,l=e/t;if(l>=i.minBarSpacing()){i.setBarSpacing(l);a=i.width()/l-t}else(null==r?void 0:r.lastBar())!==s&&(a=i.rightOffset()-o)}null!==a&&i.setRightOffset(a)}i.setBaseIndex(e)}_createESDWatcher(){}_updateDateTimeFormatter(){const e=Je.dateFormatProperty.value(),t=new Ze.DateFormatter(e);if(this._dateFormatter=t,this.mainSeries().isDWM())this._dateTimeFormatter=t,this._timeFormatter=new Qe.TimeFormatter("%h:%m");else{const t=C.Interval.parse(this.mainSeries().interval()),i=t.isSeconds()||t.isTicks()?"%h:%m:%s":"%h:%m";this._dateTimeFormatter=new Xe.DateTimeFormatter({dateFormat:e,timeFormat:i,dateTimeSeparator:" "}),this._timeFormatter=new Qe.TimeFormatter(i)}}_setScalesResetAvailable(e){this._isScalesResetAvailable!==e&&(this._isScalesResetAvailable=e,this._isScalesResetAvailableChanged.fire())}_invalidationMaskForSource(e,t=q.InvalidationLevel.Light){if(e===this.crossHairSource())return q.InvalidationMask.cursor();if(this._watermarkSource===e)return this._paneInvalidationMask((0,r.ensureNotNull)(this.paneForSource(this.mainSeries())),t);if(-1!==this._allCustomSources.indexOf(e)){const e=new q.InvalidationMask;return e.invalidateAll(t),e}if(!(0,m.isDataSource)(e))return null;if(e.isMultiPaneEnabled())return new q.InvalidationMask(t);const i=this.paneForSource(e);return null!==i?this._paneInvalidationMask(i,t):null}_paneInvalidationMask(e,t=q.InvalidationLevel.Light){const i=new q.InvalidationMask,s=this._panes.indexOf(e);return i.invalidateAllPane(s,t),i}_invalidationMaskForSourcePriceScale(e,t=q.InvalidationLevel.Light){if(!(0,m.isDataSource)(e))return new q.InvalidationMask(t);const i=this.paneForSource(e);if(null===i)return null;let s=e.priceScale();if(null===s)return null;const r=this._panes.indexOf(i);let n=i.priceScalePosition(s);if("overlay"===n){const e=this._panes[r].defaultPriceScale();s=e,n=i.priceScalePosition(e)}const o=i.priceScaleIndex(s,n);if(void 0===o)return null;const a=new q.InvalidationMask -;return a.invalidatePriceScale(r,n,o,t),a}_removeCustomSource(e){const t=this._customSourcesMap.get(e);if(void 0===t)return void Ai.logWarn(`Attempt to remove custom source which does not exist in the model - "${e}"`);Ai.logNormal(`Removing custom source "${e}"`),this.selectionMacro(e=>{e.removeSourceFromSelection(t)}),this._hoveredSource===t&&this.setHoveredSource(null),this._customSourceBeingMoved===t&&this.setMovingCustomSource(null,null);const i=Ei(this._bgCustomSources,t),s=Ei(this._fgCustomSources,t),n=Ei(this._topmostCustomSources,t),o=Ei(this._allCustomSources,t);(0,r.assert)(i||s||n,"Source should be presented in one of the layers"),(0,r.assert)(o,"Source should be presented in the array"),this._customSourcesMap.delete(e),t.destroy()}_updateShowLegendProperty(){const e=this._properties.childs().paneProperties.childs().legendProperties.childs().showLegend,t=this._showLegendProperty;if(e.value())t.setValue(!0);else{for(const e of this._panes){let i=0;for(const s of e.priceDataSources())if(s!==this.mainSeries()&&null!==s.statusView()&&(i++,i>1))return void t.setValue(!1)}t.setValue(!0)}}_pointToPercentPosition(e,t){return{x:e.x/this._timeScale.width(),y:e.y/(0,r.ensureNotNull)((0,r.ensureNotNull)(t.mainDataSource()).priceScale()).height()}}_percentPositionToPoint(e,t){const i=e.x*this._timeScale.width(),s=e.y*(0,r.ensureNotNull)((0,r.ensureNotNull)(t.mainDataSource()).priceScale()).height();return new n.Point(i,s)}_recalcVisibleRangeStudiesImpl(e){var t,i,s;if(e.timerId=null,this.timeScale().isEmpty())return;const r=this.timeScale().visibleBarsStrictRange();if(null===r)return;const n=this.mainSeries().bars(),o=n.search(r.firstBar(),ft.PlotRowSearchMode.NearestRight),a=n.search(r.lastBar(),ft.PlotRowSearchMode.NearestLeft),l=n.lastIndex(),c=o?o.index:void 0,h=a?a.index:void 0,d=c===e.oldStartVisibleIndex,u=h===e.oldEndVisibleIndex;if(d&&u&&!e.force)return;e.force=!1,e.oldStartVisibleIndex=void 0!==c?c:NaN,e.oldEndVisibleIndex=void 0!==h?h:NaN;const p={first_visible_bar_time:1e3*(null!==(t=null==o?void 0:o.value[0])&&void 0!==t?t:0),last_visible_bar_time:1e3*(null!==(i=null==a?void 0:a.value[0])&&void 0!==i?i:0),subscribeRealtime:(null==a?void 0:a.index)===l},_=null!==(s=e.studies)&&void 0!==s?s:this.priceDataSources();e.studies=void 0;for(const e of _)if((0,H.isStudy)(e)){const t=e.metaInfo().inputs,i=[];for(const e of t)p.hasOwnProperty(e.id)&&i.push(e.id);const s=e.properties().inputs;for(const e of i)s[e].setValueSilently(p[e]);i.length>0&&s.listeners().fire(s)}}_recalcColorStudiesImpl(e){var t;e.timerId=null;const i=this.backgroundColorAtYPercentFromTop(.5),s=this.isDark()?a.colorsPalette["color-cold-gray-200"]:a.colorsPalette["color-cold-gray-900"],r=i===e.oldBgColor,n=s===e.oldFgColor;if(r&&n&&!e.force)return;e.force=!1,e.oldBgColor=i,e.oldFgColor=s;const o={__chart_bgcolor:i,__chart_fgcolor:s},l=null!==(t=e.studies)&&void 0!==t?t:this.priceDataSources();e.studies=void 0;for(const e of l)if((0,H.isStudy)(e)){const t=e.metaInfo().inputs,i=[];for(const e of t)o.hasOwnProperty(e.id)&&i.push(e.id) -;const s=e.properties().inputs;for(const e of i)s[e].setValueSilently(o[e]);i.length>0&&s.listeners().fire(s)}}_getAllSources(e){const t=[];for(const i of this._panes){const s=i.sourcesByGroup().all();for(const i of s)e(i)&&t.push(i)}return t}_invalidateBarColorerCaches(){this.mainSeries().invalidateBarColorerCache()}_updateTimeScale(e){var t,i;const{index:s,zoffset:r,values:n,indexDiffs:o,baseIndex:a,marks:l,clearFlag:c}=e;if(c){this._timeScale.reset();for(const e of this.dataSources())null===(t=e.clearData)||void 0===t||t.call(e)}if(o.length>0)for(const e of this.dataSources())null===(i=e.moveData)||void 0===i||i.call(e,o);const h=this._timeScale.indexToTimePoint(this._timeScale.baseIndex()),d=this._timeScale.canNormalize();this._timeScale.update(s,r,n,l);let u="ChartModel.prototype._updateTimeScale("+s+","+r+","+n.length+","+o.length+","+l.length+","+c+")";if(u+="TimeScale: {first:"+this._timeScale.points().firstIndex()+",last:"+this._timeScale.points().lastIndex()+"}",null===a){this._timeScale.resetBaseIndex();const e=this._timeScale.rightOffset();e<0?this._timeScale.setRightOffset(this.studyAwareDefaultRightOffset()):this._timeScale.setRightOffset(Math.max(e,this._cachedStudiesMaxOffset))}else if(void 0!==a){const e=this._timeScale.indexToTimePoint(a),t=null!==h&&null!==e&&e>h;this._updateBaseIndex(a,t)}if(Ai.logDebug(u),!d&&d!==this._timeScale.canNormalize())for(const e of this.dataSources())!(0,f.isLineTool)(e)||e.isFixed()||e.isSourceHidden()||e.processHibernate();this.recalculateAllPanes((0,O.globalChangeEvent)()),this.lightUpdate()}_getAvailableCurrencies(){return!this.currencyConversionEnabled()||this.isSnapshot()?[]:(0,_e.isArray)(this._availableCurrenciesList)?this._availableCurrenciesList:(null!==this._availableCurrenciesList||(this._availableCurrenciesList=this.chartApi().availableCurrencies(),this._availableCurrenciesList.then(e=>{this._destroyed||(this._availableCurrenciesList=e,this.fullUpdate())}).catch(e=>{Ai.logWarn("An error occurred while getting currencies config: "+e)})),[])}_getAvailableUnits(){return!this.unitConversionEnabled()||this.isSnapshot()?{}:this._availableUnitsObject instanceof Promise||null===this._availableUnitsObject?(null!==this._availableUnitsObject||(this._availableUnitsObject=this.chartApi().availableUnits(),this._availableUnitsObject.then(e=>{this._destroyed||(this._availableUnitsObject=e,this.fullUpdate())}).catch(e=>{Ai.logWarn("An error occurred while getting units config: "+e)})),{}):this._availableUnitsObject}_getBackgroundColor(e){const t=this._properties.childs().paneProperties.childs();if(t.backgroundType.value()===dt.ColorType.Gradient){const i=t.backgroundGradientStartColor.value(),s=t.backgroundGradientEndColor.value();return e?i:s}return t.background.value()}_updateBackgroundColor(){this._backgroundColor.setValue(this._getBackgroundColor()),this._backgroundTopColor.setValue(this._getBackgroundColor(!0))}_syncCrosshair(e){if(!this._isSettingsExternalPosition){ -const t=this._undoModel.chartWidget(),i=this._undoModel.mainSeries(),s=i.syncModel(),r=this._undoModel.crossHairSource(),n=r.pane;if(null!==s&&null!==n){const o={timeStamp:this._timeScale.points().roughTime(r.index,s.projectTime.bind(s)),syncSourceTarget:s.syncSourceTarget()};n.mainDataSource()===i&&(o.price=r.price,o.symbol=i.symbol());let a=this._lineBeingCreated||null!==this._linePointBeingEdited||Boolean(this._sourcesBeingMoved.length);a=a&&(0,lt.drawOnAllCharts)().value(),t.chartWidgetCollection().syncCrosshair(o,t.id(),a,e)}this._phantomSourceContainer.onCursorPositionUpdated()}}_gotoTimeImpl(e,t){const i=this.timeScale(),s=this.mainSeries();let n;if(void 0!==e){if(this._scrollingState&&this._scrollingState.deferred.reject(),n=(0,d.createDeferredPromise)(),!s.isDWM()){const t=s.symbolInfo();if(null!==t){let i=this.properties().childs().timezone.value();"exchange"===i&&(i=t.timezone);const r=(0,it.cal_to_utc)((0,it.get_timezone)(i),new Date(e)),n=(0,wt.createTimeToBarTimeAligner)(s.interval(),t)(r);e=(0,it.utc_to_cal)((0,it.get_timezone)(i),n).getTime()}}this._scrollingState={targetDate:e,deferred:n,centerIfVisible:t.centerIfVisible}}else{if(!this._scrollingState)return Ai.logError("scrollTo called without an argument"),Promise.reject();e=this._scrollingState.targetDate,n=this._scrollingState.deferred}if(void 0===i.tickMarks().minIndex)return n.resolve(void 0),n.promise;let o=((e,t)=>{if((e=>(0,r.ensureNotNull)(i.tickMarks().indexToTime((0,r.ensureDefined)(i.tickMarks().minIndex))).valueOf()-e)(t)<0){let n=i.tickMarks().nearestIndex(t);const o=s.bars().lastIndex();if(null===o)return null;n=Math.min(n,o);let a=(0,r.ensureNotNull)(i.tickMarks().indexToTime(n)).valueOf();for(;a1&&s.push(e)),n=(n+1)%t.length}return s}}},15943:(e,t,i)=>{"use strict";i.d(t,{japaneseChartStyles:()=>r,commonChartStyles:()=>n,allChartStyles:()=>o});var s=i(67337);function r(){return s.enabled("japanese_chart_styles"),[8]}function n(){const e=[0,1,9,13,2,3,10];return s.enabled("chart_style_hilo")&&e.push(12),e}function o(){return n().concat(r())}},97205:(e,t,i)=>{"use strict";i.d(t,{ChartUndoModelBase:()=>Hi});var s=i(85459),r=i.n(s),n=i(16230),o=i(88537),a=i(86441),l=i(28353),c=i(24980),h=i(68587),d=i(65645),u=i(67072),p=i.n(u),_=i(98125);const m=new c.TranslatedString("move all scales to left",(0,l.t)("move all scales to left")),g=new c.TranslatedString("move all scales to right",(0,l.t)("move all scales to right")),f=(0,_.getLogger)("Chart.MergeAllScales");var v=i(44556),S=i(35762);class y extends S.UndoCommand{constructor(e,t,i,s,r,n){super(n),this._model=e,this._paneIndex=e.panes().indexOf(t),this._targetPosition=s,this._targetIndex=r,this._scaleId=i.id(),this._sourcePosition=t.priceScalePosition(i),"overlay"!==this._sourcePosition&&(this._sourceIndex=t.priceScaleIndex(i,this._sourcePosition))}redo(){const e=this._model.panes()[this._paneIndex],t=(0,o.ensureNotNull)(e.getPriceScaleById(this._scaleId));e.movePriceScale(t,this._targetPosition,this._targetIndex),this._model.fullUpdate()}undo(){const e=this._model.panes()[this._paneIndex],t=(0,o.ensureNotNull)(e.getPriceScaleById(this._scaleId));e.movePriceScale(t,this._sourcePosition,this._sourceIndex),this._model.fullUpdate()}}var b=i(14291);class w extends S.UndoCommand{constructor(e,t,i,s){super(s),this._createdIds=[],this._model=e,this._withoutShift=i,this._origStates=t.map(e=>e.state(!0));const r=e.lineToolsGroupModel();this._origGroups=t.map(e=>{const t=r.groupForLineTool(e);return t&&t.id})}redo(){const e=this._model.lineToolsGroupModel(),t=this._origStates.map((t,i)=>{const s=(0,o.ensureNotNull)(this._model.dataSourceForId(t.id)),r=0===this._createdIds.length?void 0:(0,o.ensureDefined)(this._createdIds[i]),n=(0,b.cloneLineTool)(this._model,s,!this._withoutShift,r),a=(0,o.ensureNotNull)(s.priceScale());(0,o.ensureNotNull)(this._model.paneForSource(s)).addDataSource(n,a,!1);const l=this._origGroups[i];if(null!==l){const t=e.groupForId(l);t&&t.addLineTools([n])}return this._model.updateSource(n),n});0===this._createdIds.length&&(this._createdIds=t.map(e=>e.id())),this._model.selectionMacro(e=>{e.clearSelection(),t.forEach(t=>{e.addSourceToSelection(t)})}),this._model.setShouldBeSavedEvenIfHidden(!0)}undo(){const e=this._model.lineToolsGroupModel();this._createdIds.forEach(t=>{const i=(0,o.ensureNotNull)(this._model.dataSourceForId(t)),s=e.groupForLineTool(i);null!==s&&s.excludeLineTool(i),this._model.removeSource(i)})}newIds(){return this._createdIds}}var C=i(65284),P=i(79495),T=i(80643),x=i(81851);class I extends S.UndoCommand{constructor(e,t,i,s=!0){super(i,s),this._newStates=[],this._model=e, -this._savedStates=t.map(e=>e.state(!1))}redo(){this._applyState(this._newStates)}undo(){0===this._newStates.length&&this.saveNewState(),this._applyState(this._savedStates)}saveNewState(){const e=this._savedStates.filter(T.notNull).map(e=>(0,o.ensureNotNull)(this._model.dataSourceForId(e.id)));this._newStates=e.map(e=>e.state(!1))}_applyState(e){for(const t of e)if(null!==t){const e=this._model.dataSourceForId(t.id);if(null!==e)if((0,x.isStudy)(e)){const i=t.state.inputs,s=e.properties().inputs;for(const e in i)s[e]&&s[e].setValue(i[e])}else this._model.restoreLineToolState(e,t,!0)}}}var M=i(36551),L=i(8597),A=i(59555),E=i(60870);const k=new c.TranslatedString("create {tool}",(0,l.t)("create {tool}"));class D extends S.UndoCommand{constructor(e,t,i,s,r=0,n){super(k.format({tool:new c.TranslatedString(i,E.lineToolsLocalizedNames[i])}),!1),this._lineId=null,this._lineState=null,this._model=e,this._paneIndex=e.panes().indexOf(t),this._lineTool=i,this._ownerSourceId=s.id(),this._lineId=null!=n?n:null,this._drawOnAllChartsMode=r}startCreatingLine(e,t,i){var s;const r=this._model.panes()[this._paneIndex],n=this._model.dataSourceForId(this._ownerSourceId),o=this._model.createLineTool(r,e,this._lineTool,t,i,n,null!==(s=this._lineId)&&void 0!==s?s:void 0);return this._lineId=o.id(),!this._model.lineBeingCreated()}continueCreatingLine(e,t,i,s){const r=this._model.continueCreatingLine(e,t,i,s);return r&&this._model.setShouldBeSavedEvenIfHidden(!0),r}line(){return null===this._lineId?null:this._model.dataSourceForId(this._lineId)}undo(){const e=this.line();null!==e&&(this._lineState=e.state(!1),this._model.removeSource(e),this._lineId=null)}redo(){if(null===this._lineState)return;const e=this._model.restoreSource(!1,this._paneIndex,null,(0,o.ensureNotNull)(this._lineState),null);null!==e&&(this._lineId=e.id(),this._lineState=null,e.share(this._drawOnAllChartsMode))}drawOnAllCharts(){return 0!==this._drawOnAllChartsMode}}var V=i(94578);const B=new c.TranslatedString("bring {title} to front",(0,l.t)("bring {title} to front")),N=new c.TranslatedString("send {title} to back",(0,l.t)("send {title} to back")),R=new c.TranslatedString("insert {title} after {targetTitle}",(0,l.t)("insert {title} after {targetTitle}")),O=new c.TranslatedString("insert {title} before {targetTitle}",(0,l.t)("insert {title} before {targetTitle}")),F=new c.TranslatedString("send {title} backward",(0,l.t)("send {title} backward")),W=new c.TranslatedString("bring {title} forward",(0,l.t)("bring {title} forward")),H=new c.TranslatedString("send group {title} backward",(0,l.t)("send group {title} backward")),z=new c.TranslatedString("bring group {title} forward",(0,l.t)("bring group {title} forward"));function U(e){return new c.TranslatedString(e.name(),e.title())}class j extends S.UndoCommand{constructor(e,t,i){super(i),this._sourcesByPanes=new Map,this._originalState=new Map,this._model=e,t.forEach(t=>{const i=(0,o.ensureNotNull)(e.paneForSource(t)),s=e.panes().indexOf(i),r=this._sourcesByPanes.get(s)||[];r.push(t.id()),this._sourcesByPanes.set(s,r)}), -Array.from(this._sourcesByPanes.keys()).forEach(t=>{const i=e.panes()[t],s=new Map;i.sourcesByGroup().allIncludingHidden().forEach(e=>{s.set(e.id(),e.zorder())}),this._originalState.set(t,s)})}undo(){this._originalState.forEach((e,t)=>{const i=this._model.panes()[t],s=new Map;e.forEach((e,t)=>{const r=(0,o.ensureNotNull)(i.dataSourceForId(t));s.set(r,e)}),i.setZOrders(s)})}redo(){this._sourcesByPanes.forEach((e,t)=>{const i=this._model.panes()[t],s=e.map(e=>(0,o.ensureNotNull)(i.dataSourceForId(e)));this._paneOperation(i,s)})}}class G extends j{constructor(e,t){super(e,t,B.format({title:U(t[0])}))}_paneOperation(e,t){e.bringToFront(t)}}class q extends j{constructor(e,t){super(e,t,N.format({title:U(t[0])}))}_paneOperation(e,t){e.sendToBack(t)}}class Y extends j{constructor(e,t,i,s){super(e,t,s),this._targetSource=i}_paneOperation(e,t){e.insertAfter(t,this._targetSource)}}class K extends Y{constructor(e,t,i){super(e,t,i,R.format({title:U(t[0]),targetTitle:U(i)}))}}class $ extends j{constructor(e,t,i,s){super(e,t,s),this._targetSource=i}_paneOperation(e,t){e.insertBefore(t,this._targetSource)}}class X extends ${constructor(e,t,i){super(e,t,i,O.format({title:U(t[0]),targetTitle:U(i)}))}}function Z(e,t){const i=t[0],s=e.sourcesByGroup().all().filter(e=>e.zorder()e.zorder()>i.zorder());if(0===s.length)throw new Error("Cannot bring forward source that alreadt on back");let r=s[0];if((0,b.isLineTool)(r)){const t=e.model().lineToolsGroupModel().groupForLineTool(r);if(null!==t){const e=t.lineTools();r=e[e.length-1]}}return r}class ee extends Y{constructor(e,t,i){super(e,i,Q(t,i),W.format({title:U(i[0])}))}}function te(e,t){return(0,o.ensureNotNull)(e.paneForSource(t.lineTools()[0]))}class ie extends ${constructor(e,t){super(e,t.lineTools(),Z(te(e,t),t.lineTools()),H.format({title:t.name()}))}}class se extends Y{constructor(e,t){super(e,t.lineTools(),Q(te(e,t),t.lineTools()),z.format({title:t.name()}))}}const re=new c.TranslatedString("rearrange panes",(0,l.t)("rearrange panes"));class ne extends S.UndoCommand{constructor(e,t,i){super(re),this._chartModel=e,this._index=t,(0,T.isNumber)(i)?this._dstIndex=i:this._dstIndex="up"===i?t-1:t+1}redo(){this._checkIndices()&&this._chartModel.movePane(this._index,this._dstIndex)}undo(){this._checkIndices()&&this._chartModel.movePane(this._dstIndex,this._index)}_checkIndices(){const e=this._chartModel.panes().length;return this._index>=0&&this._index=0&&this._dstIndexe.id())}redo(){const e=(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId));this._model.lineToolsGroupModel().removeGroup(e)}undo(){const e=this._lineToolsIds.map(e=>this._model.dataSourceForId(e)),t=new Se.LineToolsGroup(e,this._groupName,this._groupId);this._model.lineToolsGroupModel().addGroup(t)}}const be=new c.TranslatedString("create line tools group",(0,l.t)("create line tools group"));class we extends S.UndoCommand{constructor(e,t){super(be),this._groupId=null,this._model=e,this._sourcesIds=t.map(e=>e.id())}redo(){const e=this._sourcesIds.map(e=>this._model.dataSourceForId(e)),t=null===this._groupId?void 0:this._groupId;this._groupId=this._model.lineToolsGroupModel().createGroup(e,this._title,t).id}undo(){const e=(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId((0,o.ensureNotNull)(this._groupId)));this._model.lineToolsGroupModel().removeGroup(e)}createdGroupId(){return this._groupId}}const Ce=new c.TranslatedString("add line tool(s) to group {group}",(0,l.t)("add line tool(s) to group {group}"));class Pe extends S.UndoCommand{constructor(e,t,i){super(Ce.format({group:t.name()})),this._model=e,this._groupId=t.id,this._lineToolsIds=i.map(e=>e.id())}redo(){const e=(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId)),t=this._lineToolsIds.map(e=>this._model.dataSourceForId(e));e.addLineTools(t)}undo(){const e=this._lineToolsIds.map(e=>this._model.dataSourceForId(e));(0,o.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId)).excludeLineTools(e)}}var Te=i(46627);class xe extends S.UndoCommand{constructor(e,t,i,s,r){super(i),this._targetObj=e,this._newValue=t,this._oldValue=this._targetObj.value(),this._model=s,r&&this.setCustomFlag("doesnt_affect_save",!0)}redo(){(0,le.saveDefaultProperties)(!0),this._targetObj.setValue(this._newValue),(0,le.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,ue.globalChangeEvent)()),this._model.lightUpdate()}undo(){(0,le.saveDefaultProperties)(!0),this._targetObj.setValue(this._oldValue),(0,le.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,ue.globalChangeEvent)()),this._model.lightUpdate()}}class Ie extends S.UndoCommand{constructor(e,t,i,s){super(s),this._chartModel=e,this._groupId=t.id,this._oldName=t.name(),this._newName=i}redo(){(0,o.ensureNotNull)(this._chartModel.lineToolsGroupModel().groupForId(this._groupId)).setName(this._newName)}undo(){(0,o.ensureNotNull)(this._chartModel.lineToolsGroupModel().groupForId(this._groupId)).setName(this._oldName)}}var Me=i(85733);const Le=new c.TranslatedString("create line tools group from selection",(0,l.t)("create line tools group from selection")),Ae=new c.TranslatedString("removing line tools group {name}",(0,l.t)("removing line tools group {name}")),Ee=new c.TranslatedString("add line tool {lineTool} to group {name}",(0,l.t)("add line tool {lineTool} to group {name}")),ke=new c.TranslatedString("make group {group} visible",(0, -l.t)("make group {group} visible")),De=new c.TranslatedString("make group {group} invisible",(0,l.t)("make group {group} invisible")),Ve=new c.TranslatedString("lock group {group}",(0,l.t)("lock group {group}")),Be=new c.TranslatedString("unlock group {group}",(0,l.t)("unlock group {group}")),Ne=new c.TranslatedString("rename group {group} to {newName}",(0,l.t)("rename group {group} to {newName}"));class Re{constructor(e){this._lineToolsAffectChartInvalidation=new Te.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1),this._environment=e}createGroupFromSelection(){const e=this._environment.model();(0,o.assert)(!e.selection().isEmpty(),"Cannot create group from empty selection");const t=(0,A.sortSources)(e.selection().lineDataSources());(0,o.assert)(t.length===e.selection().allSources().length,"A group could contain line tools only");const i=t.length>1||null!==this._environment.model().lineToolsGroupModel().groupForLineTool(t[0]),s=t.reduce((e,t)=>e.zorder()>t.zorder()?e:t,t[0]);let r=s;const n=e.lineToolsGroupModel().groupForLineTool(s);if(null!==n){const e=n.lineTools();r=e[e.length-1]}this._environment.beginUndoMacro(Le,this._lineToolsAffectChartInvalidation.value());const a=new Map,l=new Set;t.forEach(t=>{const i=this._groupForLineTool(t);if(null===i)return;const s=a.get(i)||[];s.push(t),a.set(i,s);const r=(0,o.ensureNotNull)(e.paneForSource(t));l.add(r)}),(0,o.assert)(l.size<=1,"All selected sources should be on the same pane"),a.forEach((t,i)=>{const s=new P.ExcludeLineToolsFromGroupUndoCommand(e,i,t);this._environment.pushUndoCommand(s)});const c=new we(e,(0,A.sortSources)(t));if(this._environment.pushUndoCommand(c),i){const i=new K(e,t,r);this._environment.pushUndoCommand(i)}this._environment.endUndoMacro();const h=(0,o.ensureNotNull)(c.createdGroupId());return(0,o.ensureNotNull)(e.lineToolsGroupModel().groupForId(h))}removeGroup(e){const t=this._environment.model(),i=e.lineTools();this._environment.beginUndoMacro(Ae.format({name:e.name()}),this._lineToolsAffectChartInvalidation.value());const s=new ye(t,e,null);this._environment.pushUndoCommand(s);const r=new C.RemoveSourcesCommand(t,i,null);this._environment.pushUndoCommand(r);const n=t.mainSeries().symbol();i.forEach(e=>{null!==e.linkKey().value()&&(0,Me.removeLineTool)({withUndo:!0,model:t,symbol:n,sourceTitle:new c.TranslatedString(e.name(),e.title()),lineToolState:e.state(!1),linkKey:(0,o.ensureNotNull)(e.linkKey().value())})}),this._environment.endUndoMacro()}groups(){return this._environment.model().lineToolsGroupModel().groups()}excludeLineToolFromGroup(e,t){const i=this._environment.model(),s=new P.ExcludeLineToolsFromGroupUndoCommand(i,e,[t]);s.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(s)}addLineToolToGroup(e,t){const i=this._environment.model(),s=i.lineToolsGroupModel().groupForLineTool(t);if(s===e)return;const r=Ee.format({lineTool:new c.TranslatedString(t.name(),t.title()),name:e.name()}) -;this._environment.beginUndoMacro(r,this._lineToolsAffectChartInvalidation.value()),null!==s&&this._environment.pushUndoCommand(new P.ExcludeLineToolsFromGroupUndoCommand(i,s,[t])),this._environment.pushUndoCommand(new Pe(i,e,[t])),this._environment.endUndoMacro()}bringToFront(e){const t=this._environment.model(),i=new G(t,e.lineTools());i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}sendToBack(e){const t=this._environment.model(),i=new q(t,e.lineTools());i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}bringForward(e){const t=this._environment.model(),i=new se(t,e);i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}sendBackward(e){const t=this._environment.model(),i=new ie(t,e);i.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(i),this._environment.emitEvent("changeZOrder",[e.lineTools()])}insertAfter(e,t){const i=this._environment.model();let s;if(t instanceof Se.LineToolsGroup){const e=t.lineTools();s=e[e.length-1]}else s=t;const r=new K(i,e.lineTools(),s);this._environment.pushUndoCommand(r),this._environment.emitEvent("changeZOrder",[e.lineTools()])}insertBefore(e,t){const i=this._environment.model();let s;if(t instanceof Se.LineToolsGroup){s=t.lineTools()[0]}else s=t;const r=new X(i,e.lineTools(),s);this._environment.pushUndoCommand(r),this._environment.emitEvent("changeZOrder",[e.lineTools()])}availableZOrderOperations(e){const t=this._environment.model(),i=e.lineTools(),s=i[0],r=i[i.length-1],n=(0,o.ensureNotNull)(t.paneForSource(i[0])).sourcesByGroup().allExceptSpecialSources(),a=n[0],l=n[n.length-1];return{bringForwardEnabled:r!==l,bringToFrontEnabled:r!==l,sendBackwardEnabled:s!==a,sendToBackEnabled:s!==a}}setGroupVisibility(e,t){const i=(t?ke:De).format({group:e.name()}),s=this._environment.model();this._environment.beginUndoMacro(i,this._lineToolsAffectChartInvalidation.value()),e.lineTools().forEach(e=>{const i=e.properties().visible,r=new xe(i,t,null,s);this._environment.pushUndoCommand(r)}),this._environment.endUndoMacro()}setGroupLock(e,t){const i=(t?Ve:Be).format({group:e.name()}),s=this._environment.model();this._environment.beginUndoMacro(i,this._lineToolsAffectChartInvalidation.value()),e.lineTools().forEach(e=>{const i=e.properties().frozen,r=new xe(i,t,null,s);this._environment.pushUndoCommand(r)}),this._environment.endUndoMacro()}setGroupName(e,t){const i=this._environment.model(),s=Ne.format({group:e.name(),newName:t}),r=new Ie(i,e,t,s);r.setCustomFlag("doesnt_affect_save",this._lineToolsAffectChartInvalidation.value()),this._environment.pushUndoCommand(r)}canBeGroupped(e){const t=this._environment.model() -;return new Set(e.map(e=>t.paneForSource(e))).size<=1}_groupForLineTool(e){return this._environment.model().lineToolsGroupModel().groups().find(t=>t.containsLineTool(e))||null}}var Oe=i(58121),Fe=i(52546),We=i(50669),He=i(26161);const ze=new c.TranslatedString("apply study template {template}",(0,l.t)("apply study template {template}"));function Ue(e){for(const t of e.panes)for(const e of t.sources)if((0,We.isMainSeriesState)(e))return e.id;return null}class je extends S.UndoCommand{constructor(e,t,i){var s,r;super(ze.format({template:i})),this._newSymbolParams={},this._model=e,this._templateContent=function(e,t){const i=(0,Oe.default)({},e),s=(0,o.ensureNotNull)(Ue(i));for(const e of i.panes){e.mainSourceId===s&&(e.mainSourceId=t);for(const i of e.sources)if(i.id===s){i.id=t;const r=e=>{const i=e.indexOf(s);-1!==i&&e.splice(i,1,t)};if(e.leftAxisesState&&e.rightAxisesState?(e.leftAxisesState.forEach(e=>r(e.sources)),e.rightAxisesState.forEach(e=>r(e.sources))):(r(e.leftAxisSources),r(e.rightAxisSources)),e.overlayPriceScales){const i=e.overlayPriceScales[s];i&&(delete e.overlayPriceScales[s],e.overlayPriceScales[t]=i)}}else i.ownerSource===s&&(i.ownerSource=t)}return i}(t,e.mainSeries().id()),this._initialState=e.studyTemplate(!0,!0,!0);const n=e.mainSeries();t.symbol&&(this._newSymbolParams={symbol:t.symbol,currency:null!==(s=t.currency)&&void 0!==s?s:null,unit:null!==(r=t.unit)&&void 0!==r?r:null}),t.interval&&(this._newSymbolParams.interval=t.interval,this._newSymbolParams.style=(0,ce.getChartStyleByResolution)(t.interval,n.style())),this._initialSymbolParams={symbol:n.symbol(),currency:n.currency(),unit:n.unit(),interval:n.interval(),style:n.style()},this._initialState=e.studyTemplate(),this._initialGroupsState=e.lineToolsGroupModel().state()}redo(){this._model.mainSeries().setSymbolParams(this._newSymbolParams);const e=this._merge(this._templateContent).filter(b.isLineTool);this._model.lineToolsGroupModel().removeLineTools(e);const t=this._model.mainSeries().properties();(0,ce.preparePriceAxisProperties)(t),this._model.recalcVisibleRangeStudies(!0),this._model.setShouldBeSavedEvenIfHidden(!0)}undo(){this._model.mainSeries().setSymbolParams(this._initialSymbolParams),this._merge(this._initialState)}_merge(e){const t=e.version||0,i=this._model,s=i.mainSeries();(0,o.assert)(s.id()===Ue(e)),s.priceScale().properties().childs().lockScale.setValue(!1);const r=i.panes(),n=[];for(let e=r.length;e--;){const t=r[e],i=t.containsMainSeries(),s=t.dataSources();for(let e=s.length;e--;){const t=s[e];(!i||(0,x.isStudy)(t)&&t.isRemovedByStudyTemplates())&&n.push(t)}}i.resetDeferredStudies();const a=(0,Fe.closeSourcesSet)(i,n);for(let e=0;ee.zorder-t.zorder);for(let e=0;e-1,a=o?r[e]:i.createPane(e);o&&t<3&&(0,He.reorderDataSourcesStateZOrder)(n.sources),a.restoreState(n,!1,t), -null!==a.mainDataSource()||i.removePane(a)}return i.syncESD(),s.priceScale().setMode({autoScale:!0}),i.startNotStartedStudies(),i.recalculateAllPanes((0,ue.globalChangeEvent)()),i.fullUpdate(),a}}var Ge=i(9423),qe=i(79680);const Ye=(0,_.getLogger)("Chart.ChartUndoModel"),Ke=new c.TranslatedString("paste drawing",(0,l.t)("paste drawing"));class $e extends S.UndoCommand{constructor(e,t,i,s,r){super(Ke),this._needCopyToOtherCharts=!1,this._sourceState=null,this._model=e,this._clipboardData=t,this._paneIndex=this._model.panes().indexOf(i||(0,o.ensureNotNull)(this._model.paneForSource(this._model.mainSeries()))),this._pasteWithData=!!s,this._keepZIndex=!!r}redo(){const e=this._model.panes()[this._paneIndex],t=(0,o.ensureNotNull)(e.clipboardLineToolOwnerSource(this._clipboardData.source.id));null===this._sourceState&&(this._sourceState=this._getSourceState(t));const i=(0,o.ensureNotNull)(e.restoreLineTool(this._sourceState,this._pasteWithData,this._keepZIndex));this._clipboardData.centeredOnChart&&i.centerPosition&&i.centerPosition();const s=(0,o.ensureNotNull)(t.priceScale());i.setOwnerSource(t),i.setPriceScale(s),s.addDataSource(i),i.restoreFixedPoints(),(0,b.prepareLineToolPropertiesByOwnerSource)(i.properties(),t),i.calcIsActualSymbol(),i.createServerPoints();const r=(0,qe.isActingAsSymbolSource)(t)||t.metaInfo().is_price_study;this._needCopyToOtherCharts=Boolean(r&&((0,Me.drawOnAllCharts)().value()||i.linkKey().value()&&i.isSynchronizable())),this._model.setShouldBeSavedEvenIfHidden(!0)}undo(){if(!this._sourceState)return void Ye.logError("This command was never executed - nothing to undo");const e=this.source();this._clipboardData.centeredOnChart&&(this._clipboardData.centeredOnChart=!1,this._sourceState.points=e.normalizedPoints()),this._model.removeSource(e)}source(){return(0,o.ensureNotNull)(this._model.dataSourceForId((0,o.ensureNotNull)(this._sourceState).id))}needCopyToOtherCharts(){return this._needCopyToOtherCharts}_getSourceState(e){const t=(0,T.clone)(this._clipboardData.source);delete t.state.symbol,null!=t.linkKey&&(t.linkKey=(0,Ge.randomHash)());const i=(0,o.ensureNotNull)(e.priceScale()),s=this._model,{symbol:r,currencyId:n,unitId:l}=this._clipboardData.source.state,c=(0,o.ensureNotNull)(e.symbolSource());let h=!1;!c.symbolSameAsCurrent(r)||(null!==n?n!==(0,ce.symbolCurrency)(c.symbolInfo(),void 0,!0):c.isConvertedToOtherCurrency())||(null!==l?l!==(0,ce.symbolUnit)(c.symbolInfo(),this._model.unitConversionEnabled()):c.isConvertedToOtherUnit())||((0,qe.isActingAsSymbolSource)(e)?h=!0:(0,x.isStudy)(e)&&(h=Boolean(e.metaInfo().is_price_study)));const d=e=>{const t=e.x*s.timeScale().width(),r=e.y*i.height()-40;return new a.Point(t,r)},u=(0,o.ensureNotNull)(e.firstValue());if(this._model.id()===this._clipboardData.modelId||!h)for(let e=0;e(0,tt.trackEvent)("SOS","Apply SOS","Rebind SOS")),this._chartModel.setShouldBeSavedEvenIfHidden(!0),null!==this._paneState){(0,o.ensureNotNull)(this._chartModel.paneForSource(t)).restoreState(this._paneState,!1,this._chartModel.version()),this._paneState=null}}undo(){const e=(0,o.ensureNotNull)(this._chartModel.dataSourceForId((0,o.ensureNotNull)(this._studyId))),t=(0,o.ensureNotNull)(this._chartModel.paneForSource(e)).state();this._chartModel.removeSource(e)&&(this._paneState=t)}insertedStudy(){return this._chartModel.dataSourceForId((0,o.ensureNotNull)(this._studyId))}}var dt=i(59836),ut=i(88735),pt=i.n(ut),_t=i(79222),mt=i(69746),gt=i(67337);const ft=new c.TranslatedString("zoom",(0,l.t)("zoom"));class vt extends S.UndoCommand{constructor(e,t,i,s,r,n){super(ft),this._barSpacing=null,this._rightBarsOffset=null,this._leftBarsOffset=null,this._priceMode=null,this._model=e,this._startBar=t,this._endBar=i,this._startPrice=s,this._endPrice=r,this._pane=n}redo(){const e=(0,o.ensureNotNull)(this._model.timeScale().visibleBarsStrictRange());this._leftBarsOffset=e.firstBar()-this._startBar,this._rightBarsOffset=e.lastBar()-this._endBar,this._barSpacing=this._model.timeScale().barSpacing(),this._priceMode=this._pane.defaultPriceScale().mode(),this._model.zoomToViewport(this._startBar,this._endBar,this._startPrice,this._endPrice,this._pane)}undo(){const e=this._model.timeScale(),t=this._pane.defaultPriceScale(),i=(0,o.ensureNotNull)(e.visibleBarsStrictRange());e.setBarSpacing((0,o.ensureNotNull)(this._barSpacing)),e.zoomToBarsRange(i.firstBar()+(0,o.ensureNotNull)(this._leftBarsOffset),i.lastBar()+(0,o.ensureNotNull)(this._rightBarsOffset)),t.setMode((0,o.ensureNotNull)(this._priceMode)),t.recalculatePriceRange((0,o.ensureNotNull)(e.visibleBarsStrictRange())),this._model.recalculateAllPanes((0,ue.viewportChangeEvent)()),this._model.lightUpdate()}}const St=(0,_.getLogger)("Chart.ChartUndoModel"),yt=new c.TranslatedString("zoom",(0,l.t)("zoom")) -;class bt extends S.UndoCommand{constructor(e,t,i){super(yt),this._baseCmd=e,this._zoomStack=t,this._inOut=i}undo(){if(this._inOut){if(this._baseCmd!==this._zoomStack.head())return void St.logDebug("zoom stack inconsistency");this._baseCmd.undo(),this._zoomStack.pop()}else this._baseCmd.redo(),this._zoomStack.push(this._baseCmd)}redo(){if(this._inOut)this._baseCmd.redo(),this._zoomStack.push(this._baseCmd);else{if(this._baseCmd!==this._zoomStack.head())return void St.logDebug("zoom stack inconsistency");this._baseCmd.undo(),this._zoomStack.pop()}}}const wt=new c.TranslatedString("stop syncing drawing",(0,l.t)("stop syncing drawing"));class Ct extends S.UndoCommand{constructor(e,t){super(wt),this._model=e,this._sourceId=t.id(),this._linkKey=t.linkKey().value()}redo(){(0,o.ensureNotNull)(this._model.dataSourceForId(this._sourceId)).linkKey().setValue(null)}undo(){(0,o.ensureNotNull)(this._model.dataSourceForId(this._sourceId)).linkKey().setValue(this._linkKey)}}const Pt=new c.TranslatedString("restore defaults",(0,l.t)("restore defaults"));class Tt extends S.UndoCommand{constructor(e,t,i=Pt){super(i),this._chartModel=e,this._defaultProperty=t,this._state=t.state()}redo(){this._chartModel.restoreFactoryDefaults(this._defaultProperty)}undo(){this._defaultProperty.mergeAndFire(this._state),this._chartModel.mainSeries().onChartStyleChanged()}}var xt=i(52418);class It extends Tt{redo(){this._defaultProperty.hasChild("intervalsVisibilities")&&this._defaultProperty.childs().intervalsVisibilities.mergeAndFire(xt.intervalsVisibilitiesDefaults),super.redo()}}class Mt extends It{redo(){super.redo(),this._chartModel.recalcColorStudies(!0)}undo(){super.undo(),this._chartModel.recalcColorStudies(!0)}}var Lt=i(36759),At=i(15840),Et=i(59803);function kt(e){const{visible:t,...i}=e;return i}function Dt(e){const{visible:t,...i}=e;return i}function Vt(e){const{drawWick:t,drawBorder:i,drawBody:s,barColorsOnPrevClose:r,...n}=e;return n}function Bt(e){const{drawWick:t,drawBorder:i,drawBody:s,...r}=e;return r}function Nt(e){const{drawWick:t,drawBorder:i,drawBody:s,showRealLastPrice:r,inputs:n,...o}=e;return o}function Rt(e){const{barColorsOnPrevClose:t,dontDrawOpen:i,thinBars:s,...r}=e;return r}function Ot(e){const{showBorders:t,showLabels:i,fontSize:s,drawBody:r,...n}=e;return n}function Ft(e){const{linestyle:t,linewidth:i,styleType:s,priceSource:r,...n}=e;return n}function Wt(e){const{linestyle:t,linewidth:i,priceSource:s,...r}=e;return r}function Ht(e){const{inputs:t,...i}=e;return i}function zt(e){const{inputs:t,...i}=e;return i}function Ut(e){const{inputs:t,...i}=e;return i}function jt(e){const{inputs:t,...i}=e;return i}function Gt(e){const{topLineWidth:t,bottomLineWidth:i,baseLevelPercentage:s,priceSource:r,...n}=e;return n}function qt(e){const{thinBars:t,inputs:i,...s}=e;return s}function Yt(e){ -const{visible:t,style:i,symbol:s,interval:r,sessionId:n,highLowAvgPrice:o,showCountdown:a,bidAsk:l,prePostMarket:c,priceAxisProperties:h,candleStyle:d,hollowCandleStyle:u,haStyle:p,barStyle:_,hiloStyle:m,lineStyle:g,areaStyle:f,renkoStyle:v,pbStyle:S,kagiStyle:y,pnfStyle:b,baselineStyle:w,rangeStyle:C,...P}=e;return{bidAsk:kt(l),prePostMarket:Dt(c),candleStyle:Vt(d),hollowCandleStyle:Bt(u),haStyle:Nt(p),barStyle:Rt(_),hiloStyle:Ot(m),lineStyle:Ft(g),areaStyle:Wt(f),renkoStyle:Ht(v),pbStyle:zt(S),kagiStyle:Ut(y),pnfStyle:jt(b),baselineStyle:Gt(w),rangeStyle:qt(C),...P}}function Kt(e){const{scaleSeriesOnly:t,showSeriesLastValue:i,showStudyLastValue:s,showSymbolLabels:r,showBidAskLabels:n,showPrePostMarketPriceLabel:o,showStudyPlotLabels:a,showFundamentalNameLabel:l,showFundamentalLastValue:c,seriesLastValueMode:h,...d}=e;return d}function $t(e){const{topMargin:t,bottomMargin:i,...s}=e;return s}const Xt=new c.TranslatedString("apply chart theme",(0,l.t)("apply chart theme"));class Zt extends S.UndoCommand{constructor(e,t,i){var s,r,n;super(Xt),this._model=e,this._newSessionProps=t.sessions||(0,Et.factoryDefaults)("sessions"),["candleStyle","hollowCandleStyle","haStyle"].forEach(e=>{t.mainSourceProperties[e].wickUpColor=t.mainSourceProperties[e].wickUpColor||t.mainSourceProperties[e].wickColor,t.mainSourceProperties[e].wickDownColor=t.mainSourceProperties[e].wickDownColor||t.mainSourceProperties[e].wickColor}),t.chartProperties=null!==(s=t.chartProperties)&&void 0!==s?s:{paneProperties:void 0,scalesProperties:void 0},t.chartProperties.paneProperties.vertGridProperties=null!==(r=t.chartProperties.paneProperties.vertGridProperties)&&void 0!==r?r:t.chartProperties.paneProperties.gridProperties,t.chartProperties.paneProperties.horzGridProperties=null!==(n=t.chartProperties.paneProperties.horzGridProperties)&&void 0!==n?n:t.chartProperties.paneProperties.gridProperties;const o=this._model.properties().state().paneProperties.legendProperties;delete o.backgroundTransparency,t.chartProperties.paneProperties.legendProperties={...t.chartProperties.paneProperties.legendProperties,...o};const a=(0,Et.factoryDefaults)("chartproperties"),l=(0,At.deepExtend)({},a,t.chartProperties);this._newChartProps={paneProperties:$t(l.paneProperties),scalesProperties:Kt(l.scalesProperties)},e.timeScale().preserveBarSpacing()&&delete this._newChartProps.scalesProperties.barSpacing;const c=(0,Et.factoryDefaults)("chartproperties.mainSeriesProperties"),h=(0,At.deepExtend)({},c,t.mainSourceProperties);this._newSeriesProps=i?h:Yt(h);const d=e.properties().state();this._oldChartProps={paneProperties:$t(d.paneProperties),scalesProperties:Kt(d.scalesProperties)};const u=e.mainSeries().properties().state();this._oldSeriesProps=i?u:Yt(u),this._oldSessionProps=this._model.sessions().properties().state()}undo(){this._merge(this._oldChartProps,this._oldSeriesProps,this._oldSessionProps),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),this._model.chartThemeLoaded()}redo(){ -this._merge(this._newChartProps,this._newSeriesProps,this._newSessionProps),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),this._model.chartThemeLoaded()}_merge(e,t,i){var s,r,n,o;const a=this._model;(0,le.saveDefaultProperties)(!0),e&&(a.properties().childs().paneProperties.mergeAndFire(e.paneProperties),a.properties().childs().scalesProperties.mergeAndFire(e.scalesProperties)),"priceAxisProperties"in t&&a.mainSeries().priceScale().setMode({autoScale:null===(s=t.priceAxisProperties)||void 0===s?void 0:s.autoScale,percentage:null===(r=t.priceAxisProperties)||void 0===r?void 0:r.percentage,log:null===(n=t.priceAxisProperties)||void 0===n?void 0:n.log,lockScale:null===(o=t.priceAxisProperties)||void 0===o?void 0:o.lockScale}),a.mainSeries().properties().mergeAndFire(t),a.mainSeries().properties().saveDefaults(),a.mainSeries().createPaneView(),a.mainSeries().invalidateBarStylesCache(),a.recalculateAllPanes((0,ue.globalChangeEvent)()),a.fullUpdate(),a.properties().saveDefaults(),a.sessions().restoreState({properties:i},!1),(0,le.saveDefaultProperties)(!1)}}const Jt=new c.TranslatedString("change resolution",(0,l.t)("change resolution"));class Qt extends S.UndoCommand{constructor(e,t,i){let s;super(Jt),this._sourceId=e.id();const r=(0,ce.isRangeStyle)(e.style()),n=me.Interval.isRange(t);!r&&n?s=11:r&&!n&&(s=(0,ce.getLastUsedStyle)()),this._newSymbolParams={interval:t,style:s},this._prevSymbolParams={symbol:e.symbol(),currency:e.currency(),unit:e.unit(),interval:e.interval(),style:e.style()},this._chartWidget=i}redo(){this._chartWidget.screen.show();this._symbolSource().setSymbolParams(this._newSymbolParams)}undo(){this._chartWidget.screen.show();this._symbolSource().setSymbolParams(this._prevSymbolParams)}_symbolSource(){return(0,o.ensureNotNull)(this._chartWidget.model().model().dataSourceForId(this._sourceId))}}var ei=i(76422);const ti=new c.TranslatedString("send {title} backward",(0,l.t)("send {title} backward")),ii=new c.TranslatedString("bring {title} forward",(0,l.t)("bring {title} forward")),si=new c.TranslatedString("insert {title} after {target}",(0,l.t)("insert {title} after {target}")),ri=new c.TranslatedString("insert {title} before {target}",(0,l.t)("insert {title} before {target}")),ni=new c.TranslatedString("cut {title}",(0,l.t)("cut {title}")),oi=new c.TranslatedString("cut sources",(0,l.t)("cut sources")),ai=new c.TranslatedString("remove {title}",(0,l.t)("remove {title}")),li=new c.TranslatedString("remove drawings group",(0,l.t)("remove drawings group")),ci=new c.TranslatedString("move scale",(0,l.t)("move scale")),hi=new c.TranslatedString("stop syncing line tool(s)",(0,l.t)("stop syncing line tool(s)")),di=new c.TranslatedString("zoom out",(0,l.t)("zoom out")),ui=new c.TranslatedString("zoom in",(0,l.t)("zoom in")),pi=new c.TranslatedString("move drawing(s)",(0,l.t)("move drawing(s)")),_i=new c.TranslatedString("load default drawing template",(0,l.t)("load default drawing template")),mi=new c.TranslatedString("change currency",(0, -l.t)("change currency")),gi=new c.TranslatedString("change unit",(0,l.t)("change unit")),fi=new c.TranslatedString("clone line tools",(0,l.t)("clone line tools")),vi=new c.TranslatedString("merge up",(0,l.t)("merge up")),Si=new c.TranslatedString("merge down",(0,l.t)("merge down")),yi=new c.TranslatedString("merge to pane",(0,l.t)("merge to pane")),bi=new c.TranslatedString("unmerge up",(0,l.t)("unmerge up")),wi=new c.TranslatedString("unmerge down",(0,l.t)("unmerge down")),Ci=new c.TranslatedString("unmerge to new bottom pane",(0,l.t)("unmerge to new bottom pane")),Pi=new c.TranslatedString("move {title} to new right scale",(0,l.t)("move {title} to new right scale")),Ti=new c.TranslatedString("move {title} to new left scale",(0,l.t)("move {title} to new left scale")),xi=new c.TranslatedString("make {title} no scale (Full screen)",(0,l.t)("make {title} no scale (Full screen)")),Ii=new c.TranslatedString("scroll time",(0,l.t)("scroll time")),Mi=new c.TranslatedString("scale time",(0,l.t)("scale time")),Li=new c.TranslatedString("reset time scale",(0,l.t)("reset time scale")),Ai=new c.TranslatedString("reset scales",(0,l.t)("reset scales")),Ei=new c.TranslatedString("create {tool}",(0,l.t)("create {tool}")),ki=new c.TranslatedString("change {pointIndex} point",(0,l.t)("change {pointIndex} point")),Di=new c.TranslatedString("paste {title}",(0,l.t)("paste {title}")),Vi=new c.TranslatedString("insert {title}",(0,l.t)("insert {title}")),Bi=new c.TranslatedString("remove all studies",(0,l.t)("remove all studies")),Ni=new c.TranslatedString("remove drawings",(0,l.t)("remove drawings")),Ri=new c.TranslatedString("remove all studies and drawing tools",(0,l.t)("remove all studies and drawing tools"));new c.TranslatedString("turn line tools sharing off",(0,l.t)("turn line tools sharing off")),new c.TranslatedString("share line tools in layout",(0,l.t)("share line tools in layout")),new c.TranslatedString("share line tools globally",(0,l.t)("share line tools globally"));function Oi(e,t){return{bringForwardEnabled:e.bringForwardEnabled||t.bringForwardEnabled,bringToFrontEnabled:e.bringToFrontEnabled||t.bringToFrontEnabled,sendBackwardEnabled:e.sendBackwardEnabled||t.sendBackwardEnabled,sendToBackEnabled:e.sendToBackEnabled||t.sendToBackEnabled}}function Fi(e){return new c.TranslatedString(e.name(),e.title())}function Wi(){return(0,Me.drawOnAllCharts)().value()?1:0}class Hi extends(r()){constructor(e,t,i,s,r,n,o,a,l,c,h){super(),this._createLineCommand=null,this._initialTimeScrollState=null,this._initialTimeScrollPos=null,this._scalePriceInfo=null,this._currentSourceMoveCommand=null,this._currentLineChangeCommand=null,this._currentCustomMoveCommand=null,this._zoomStack=new v.UndoStack,this._lineToolsDoNotAffectChartInvalidation=new Te.FeatureToggleWatchedValue("do_not_invalidate_chart_on_changing_line_tools",!1),this._chartWidget=n,this.m_model=new(pt())(e,t,i,s,r,this,a,l,c,h),this._undoHistory=o,this._lineToolsGroupController=new Re({model:this._model.bind(this),pushUndoCommand:this._pushUndoCommand.bind(this), -beginUndoMacro:(e,t)=>{this._undoHistory.beginUndoMacro(e).setCustomFlag("doesnt_affect_save",!!t)},endUndoMacro:this._undoHistory.endUndoMacro.bind(this._undoHistory),emitEvent:this.emitEvent.bind(this)})}undoHistory(){return this._undoHistory}setWatchedValue(e,t,i){this._undoHistory.setWatchedValue(e,t,i)}lineToolsGroupController(){return this._lineToolsGroupController}mergeAllScales(e){!function(e,t){e.beginUndoMacro("left"===t?m:g),e.model().panes().forEach(i=>{const s="left"===t?i.rightPriceScales():i.leftPriceScales(),r=("left"===t?i.leftPriceScales():i.rightPriceScales()).concat(s),n="overlay"===i.priceScalePosition(i.defaultPriceScale())?r[0]:i.defaultPriceScale();e.movePriceScale(i,n,t,0),r.forEach(t=>{if(t===n)return;let s=t.mainSource();for(;null!==s;){e.moveToScale(s,i,n,null,!0);const r=t.mainSource();if(r===s){f.logError("Loop detected while trying to merge scales");break}s=r}})}),e.endUndoMacro(),e.model().fullUpdate()}(this,e)}movePriceScale(e,t,i,s){const r=new y(this._model(),e,t,i,s,ci);this._pushUndoCommand(r)}createLineTool({pane:e,point:t,linetool:i,properties:s,linkKey:r,ownerSource:n,disableSynchronization:a,sharingMode:l=Wi(),id:h}){if(("LineToolRegressionTrend"===i||"LineToolAnchoredVWAP"===i)&&!this.canCreateStudy())return(0,d.showTooManyStudiesNotice)(),null;const u=Ei.format({tool:new c.TranslatedString(i,E.lineToolsLocalizedNames[i])});this.beginUndoMacro(u,this._lineToolsDoNotAffectChartInvalidation.value());const p=!a;this._createLineCommand=new D(this._model(),e,i,n||(0,o.ensureNotNull)(e.mainDataSource()),l,h);const _=this._createLineCommand.startCreatingLine(t,s,r||null),m=(0,o.ensureNotNull)(this._createLineCommand.line());let g=null;if(_&&(p&&this.finishLineTool(m),this._pushUndoCommand(this._createLineCommand),this._createLineCommand=null,g={points:m.normalizedPoints(),interval:this.mainSeries().interval()}),p&&void 0===r&&(0,Me.drawOnAllCharts)().value()&&m.isSynchronizable()){const e=(0,o.ensureNotNull)(this.model().externalTimeStamp(t.index)),s={point:{price:t.price,timeStamp:e},linetool:i,properties:m.properties(),symbol:this.mainSeries().symbol(),model:this.model(),linkKey:(0,o.ensureNotNull)(m.linkKey().value()),finalState:g,id:m.id()};m.isFixed()&&(s.pointPositionPercents=m.calcPositionPercents()[0]),(0,Me.createLineTool)(s)}return this.endUndoMacro(),m}continueCreatingLine(e,t,i,s){const r=(0,o.ensureNotNull)(this._createLineCommand);this.beginUndoMacro(r.text(),this._lineToolsDoNotAffectChartInvalidation.value());const n=(0,o.ensureNotNull)(this._model().lineBeingCreated()),a=r.continueCreatingLine(e,t,i,s);let l=null;if(a&&(this.finishLineTool(n),this._pushUndoCommand(r),this._createLineCommand=null,l={points:n.normalizedPoints(),interval:this.mainSeries().interval()}),r.drawOnAllCharts()&&n.isSynchronizable()){const i=(0,o.ensureNotNull)(this._model().externalTimeStamp(e.index));(0,Me.continueLineTool)({point:{price:e.price,timeStamp:i},envState:t,finalState:l,model:this._model()})}return this.endUndoMacro(),a}continueExternalLine(e,t,i){const s=(0, -o.ensureNotNull)(this._createLineCommand),r=s.continueCreatingLine(e,t,i);return r&&(this._pushUndoCommand(s),this._createLineCommand=null),r}finishLineTool(e){this._model().finishLineTool(e)}pasteImageAsLineTool(e,t,i,s){return null}loadRange(e){this._pushUndoCommand(new fe(this._model(),e))}unlinkLines(e){const t=this.model();this.beginUndoMacro(hi,this._lineToolsDoNotAffectChartInvalidation.value());for(const i of e)null!==i.linkKey().value()&&(0,Me.removeLineTool)({withUndo:!0,model:this.model(),symbol:i.symbol(),linkKey:(0,o.ensureNotNull)(i.linkKey().value()),sourceTitle:Fi(i),lineToolState:i.state(!1),unlink:!0}),this._pushUndoCommand(new Ct(t,i));this.endUndoMacro()}zoomFromViewport(){const e=new bt((0,o.ensureDefined)(this._zoomStack.head()),this._zoomStack,!1);this._pushUndoCommand(e)}zoomToViewport(e,t,i,s,r){const n=new vt(this.m_model,e,t,i,s,r),o=new bt(n,this._zoomStack,!0);this._pushUndoCommand(o)}zoomStack(){return this._zoomStack}hoveredSource(){return this.m_model.hoveredSource()}setProperty(e,t,i,s){if(e&&e.value()!==t){const r=new xe(e,t,i,this.m_model,s);this._pushUndoCommand(r),this.emitEvent("setProperty")}}withMacro(e,t,i){const s=this.beginUndoMacro(e,i);try{t()}finally{this.endUndoMacro()}return s}barsMarksSources(){return this.m_model.barsMarksSources()}barMarksSourceForId(e){return this.m_model.barMarksSourceForId(e)}removeAllDrawingTools(){this.beginUndoMacro(Ni,!0),this._removeAllDrawingToolsImpl(),this.endUndoMacro()}removeAllStudiesAndDrawingTools(){this.beginUndoMacro(Ri),this._removeAllDrawingToolsImpl(),this._removeAllStudiesImpl(),this.endUndoMacro()}removeAllStudies(){this.beginUndoMacro(Bi),this._removeAllStudiesImpl(),this.endUndoMacro()}canZoomIn(){return this.model().canZoomIn()}canZoomOut(){return this.model().canZoomOut()}zoomOut(){const e=this.timeScale().width();if(this.canZoomOut()){try{this.beginUndoMacro(di)}catch(e){return}(0,ve.doAnimate)({to:e/5,onStep:e=>{this.startScaleTime(0),this.scaleTimeTo(e),this.endScaleTime()},onComplete:()=>this.endUndoMacro()})}}zoomIn(){const e=this.timeScale().width();if(this.canZoomIn()){try{this.beginUndoMacro(ui)}catch(e){return}(0,ve.doAnimate)({to:e/5,onStep:e=>{this.startScaleTime(e),this.scaleTimeTo(0),this.endScaleTime()},onComplete:()=>this.endUndoMacro()})}}startMovingSources(e,t,i,s){e.filter(e=>e.doesMovingAffectsUndo()).length&&(this._currentSourceMoveCommand=new I(this.model(),e,pi,!1),e.every(b.isLineTool)&&this._currentSourceMoveCommand.setCustomFlag("doesnt_affect_save",this._lineToolsDoNotAffectChartInvalidation.value())),this.model().startMovingSources(e,t,i,new Map,s)}moveSources(e,t){this.model().moveSources(e,new Map,t)}endMovingSource(e,t){this.model().endMovingSources(e,void 0,t),null!==this._currentSourceMoveCommand&&(this._currentSourceMoveCommand.saveNewState(),this._pushUndoCommand(this._currentSourceMoveCommand)),this._currentSourceMoveCommand=null}startChangingLinetool(e,t,i,s,r){this._currentLineChangeCommand=new I(this.model(),[e],ki.format({pointIndex:i}),!1), -this._currentLineChangeCommand.setCustomFlag("doesnt_affect_save",this._lineToolsDoNotAffectChartInvalidation.value()),this.model().startChangingLinetool(e,t,i,s,r)}changeLinePoint(e,t){this.model().changeLinePoint(e,t)}endChangingLinetool(e){this.model().endChangingLinetool(e),null!==this._currentLineChangeCommand&&(this._currentLineChangeCommand.saveNewState(),this._pushUndoCommand(this._currentLineChangeCommand)),this._currentLineChangeCommand=null}setChartStyleProperty(e,t,i){if(e.value()!==t){const s=new pe(e,t,this.mainSeries(),i,this.model(),this.chartWidget());this._pushUndoCommand(s),this.emitEvent("setChartStyleProperty"),(0,ae.trackChartStyleChanged)(e.value())}}restorePropertiesForSource(e){(0,b.isLineTool)(e)?this._restoreLineToolFactoryDefaults(e):this._restoreStudyFactoryDefaults(e)}restoreState(e,t,i){return this.m_model.restoreState(e,t,i)}async clipboardCopy(e,t=this.selection().dataSources()){if(!(0,gt.enabled)("datasource_copypaste"))return;const i=t.filter(e=>e.copiable());if(0===i.length)return;for(const e of i)if((0,x.isStudy)(e)&&e.isChildStudy())throw new Error("Can not copy child study");const s=(0,V.clipboardDataForSources)(this._model().id(),i);return null!==s?e.write({app:JSON.stringify(s),text:s.title}):void 0}async clipboardCut(e,t=this.selection().dataSources()){if(!(0,gt.enabled)("datasource_copypaste"))return;const i=t.filter(e=>e.copiable());if(0===i.length)return;await this.clipboardCopy(e,i);const s=i.filter(e=>e.isUserDeletable());if(0===s.length)return;const r=(1===s.length?ni:oi).format({title:Fi(s[0])});this.beginUndoMacro(r),this.m_model.selectionMacro(()=>{this.removeSources(s,!1,r)}),this.endUndoMacro()}async clipboardPaste(e,t){let i=null;if((0,gt.enabled)("datasource_copypaste")&&(i=i||await e.read(),i.app)){const e=JSON.parse(i.app);if(null!==this.pasteSourceFromClip(t,e))return}await this._processSpecialLineToolsContents(e,i,t)}applyStudyTemplate(e,t){const i=new je(this._model(),e,t);this._pushUndoCommand(i)}startCustomMoving(e,t,i){this._currentCustomMoveCommand=new ct(this.model(),e,t,i)}customMoveBeingProcessed(){return null!==this._currentCustomMoveCommand}processCustomMove(e){(0,o.ensureNotNull)(this._currentCustomMoveCommand).move(e)}endCustomMoving(){null!==this._currentCustomMoveCommand&&this._currentCustomMoveCommand.hasChanges()&&(this._pushUndoCommand(this._currentCustomMoveCommand),this._currentCustomMoveCommand=null)}cloneLineTools(e,t){for(let t=0;t(0,o.ensureNotNull)(this.model().dataSourceForId(e)));this.copyToOtherCharts(e)}return this.endUndoMacro(),this.emitEvent("cloneLineTools"),i.newIds()}removeSource(e,t,i){this.lineBeingCreated()!==e?this.removeSources([e],t,ai.format({title:Fi(e)}),i):this.cancelCreatingLine()}removeSelectedSources(){const e=this._model().selection().dataSources() -;if(!e.length)return;const t=(e.length>1?li:ai).format({title:Fi(e[0])});this.removeSources(e,!1,t)}removeSources(e,t,i,s){s||(e=e.filter(e=>e.isUserDeletable()));const r=this._model(),n=r.lineToolsGroupModel(),a=e.every(b.isLineTool)&&this._lineToolsDoNotAffectChartInvalidation.value();this.beginUndoMacro(i,a),r.selectionMacro(s=>{const a=new Map;e.forEach(e=>{if((0,b.isLineTool)(e)){const t=n.groupForLineTool(e);if(null!==t){const i=a.get(t)||[];i.push(e),a.set(t,i)}null!==e.linkKey().value()&&(0,Me.removeLineTool)({withUndo:!0,model:this.model(),linkKey:(0,o.ensureNotNull)(e.linkKey().value()),symbol:this.model().mainSeries().symbol(),lineToolState:e.state(!1),sourceTitle:Fi(e)})}}),a.forEach((e,t)=>{const i=new P.ExcludeLineToolsFromGroupUndoCommand(r,t,e);this._pushUndoCommand(i)});const l=new C.RemoveSourcesCommand(r,e,i),c=l.removedIds();this._pushUndoCommand(l),!t&&c.length>0&&(1===c.length?this.emitEvent("removeSource",[c[0]]):this.emitEvent("removeSources",[c]))}),this.endUndoMacro()}removeUnloadedLineTool({lineToolsSynchronizer:e,sourceTitle:t,linkKey:i,symbol:s,state:r,withUndo:n,unlink:o}){}async scrollToLineTool(e){const t=this.timeScale().logicalRange();if(null===t)return;const i=this.timeScale().barSpacing();let s=t.left();const r=e.points().map(e=>e.index);let n=this.timeScale().points().firstIndex();const a=this.timeScale().points().lastIndex();if(null===n||null===a)return;const l=t.length()/2;if(0===r.length||r.some(e=>t.contains(e)))return;const c=()=>{const t=e.points().map(e=>e.index),i=t.filter(e=>e<=a).reduce((e,t)=>null===e?t:Math.max(e,t),null);return null!==i?i:t.reduce((e,t)=>Math.min(e,t))};let d,u=c();if(n-l>u){const t=e.points().map(e=>e.time).filter(T.notUndefined).map(e=>e.valueOf()/1e3);if(0===t.length)return;const i=t.reduce((e,t)=>Math.min(e,t),t[0]);await this.model().gotoTime(i),u=c();s=(0,o.ensureNotNull)(this.timeScale().logicalRange()).left(),n=(0,o.ensureNotNull)(this.timeScale().points().firstIndex())}n-l>u?(d=(s-n+l)*i,this.mainSeries().setGotoDateResult({timestamp:(0,o.ensureNotNull)(this.timeScale().points().valueAt(n)),eod:!0})):d=(s-u+1+l)*i,this.startScrollTime(0),(0,ve.doAnimate)({onStep:(e,t)=>this.scrollTimeTo(t),from:0,to:Math.round(d),easing:h.easingFunc.easeInOutCubic,duration:h.dur,onComplete:()=>this.endScrollTime()})}mergeSourceUp(e){const t=new L.MergeUpUndoCommand(this._model(),e,vi);this._mergeUnmergeSource(e,t)}mergeSourceDown(e){const t=new L.MergeDownUndoCommand(this._model(),e,Si);this._mergeUnmergeSource(e,t)}mergeToPane(e,t){const i=this._model().panes().indexOf(t),s=new L.MergeToTargetPane(this._model(),e,i,yi);this._mergeUnmergeSource(e,s)}unmergeSourceUp(e){const t=new M.UnmergeUpUndoCommand(this._model(),e,bi);this._mergeUnmergeSource(e,t)}unmergeSourceDown(e){const t=new M.UnmergeDownUndoCommand(this._model(),e,wi);this._mergeUnmergeSource(e,t)}unmergeToNewBottomPane(e){const t=new M.UnmergeToNewBottomPane(this._model(),e,Ci);this._mergeUnmergeSource(e,t)}availableZOrderOperations(e){ -const t=this._model().lineToolsGroupModel(),i=e.filter(b.isLineTool),s=i.map(e=>t.groupForLineTool(e));(0,o.assert)(new Set(s).size<=1,"Cannot move line tools from different group");const r=0===s.length?null:s[0];let n={bringForwardEnabled:!1,bringToFrontEnabled:!1,sendBackwardEnabled:!1,sendToBackEnabled:!1};const a=new Set(i);for(const t of(0,A.sortSources)(e)){if((0,b.isLineTool)(t)&&null!==r){const e=(0,A.sortSources)(r.lineTools().filter(e=>!a.has(e)||e===t));n=Oi(n,{bringForwardEnabled:t!==e[e.length-1],bringToFrontEnabled:t!==e[e.length-1],sendBackwardEnabled:t!==e[0],sendToBackEnabled:t!==e[0]});continue}const e=(0,o.ensureNotNull)(this._model().paneForSource(t)).sourcesByGroup().allExceptSpecialSources();if(0===e.length)continue;const i=t.zorder(),s=e[0].zorder(),l=e[e.length-1].zorder();n=Oi(n,{bringForwardEnabled:i!==l,bringToFrontEnabled:i!==l,sendBackwardEnabled:i!==s,sendToBackEnabled:i!==s})}return n}sendToBack(e){if(!this.availableZOrderOperations(e).sendToBackEnabled)throw new Error("Send to back operation is unavailable");let t=null;const i=e[0];if((0,b.isLineTool)(i)){const s=this._model().lineToolsGroupModel().groupForLineTool(i);if(null!==s){const i=s.lineTools();t=new X(this.model(),(0,A.sortSources)(e),i[0])}}null===t&&(t=new q(this.model(),(0,A.sortSources)(e))),this._pushUndoCommand(t),this.emitEvent("changeZOrder",[e])}bringToFront(e){if(!this.availableZOrderOperations(e).bringToFrontEnabled)throw new Error("Bring to front operation is unavailable");let t=null;const i=e[0];if((0,b.isLineTool)(i)){const s=this._model().lineToolsGroupModel().groupForLineTool(i);if(null!==s){const i=s.lineTools();t=new K(this.model(),(0,A.sortSources)(e),i[i.length-1])}}null===t&&(t=new G(this.model(),(0,A.sortSources)(e))),this._pushUndoCommand(t),this.emitEvent("changeZOrder",[e])}sendBackward(e){if(!this.availableZOrderOperations(e).sendBackwardEnabled)throw new Error("Send backward operation is unavailable");const t=ti.format({title:Fi(e[0])});this._sendBackOrBringForward(t,(0,A.sortSources)(e),(e,t)=>new J(this.model(),e,t))}bringForward(e){if(!this.availableZOrderOperations(e).bringForwardEnabled)throw new Error("Bring forward operation is unavailable");const t=ii.format({title:Fi(e[0])});this._sendBackOrBringForward(t,(0,A.sortSources)(e),(e,t)=>new ee(this.model(),e,t))}insertAfter(e,t){e=(0,A.sortSources)(e);const i=si.format({title:Fi(e[0]),target:Fi(t)});this._insertAfterOrBefore(i,e,t,()=>new K(this.model(),e,t))}insertBefore(e,t){e=(0,A.sortSources)(e);const i=ri.format({title:Fi(e[0]),target:Fi(t)});this._insertAfterOrBefore(i,e,t,()=>new X(this.model(),e,t))}detachToRight(e,t){(0,tt.trackEvent)("Chart","Move to new right scale");const i=Pi.format({title:Fi(e)}),s=new Je.MoveToNewPriceScaleUndoCommand(this.model(),e,t,"right",i);this._pushUndoCommand(s),this.emitEvent("moveSource",[e])}detachToLeft(e,t){(0,tt.trackEvent)("Chart","Move to new left scale");const i=Ti.format({title:Fi(e)}),s=new Je.MoveToNewPriceScaleUndoCommand(this.model(),e,t,"left",i);this._pushUndoCommand(s), -this.emitEvent("moveSource",[e])}detachNoScale(e,t){(0,tt.trackEvent)("Chart","Make source no scale");const i=xi.format({title:Fi(e)}),s=new Je.MoveToNewPriceScaleUndoCommand(this.model(),e,t,"overlay",i);this._pushUndoCommand(s),this.emitEvent("moveSource",[e])}moveToScale(e,t,i,s,r){(0,tt.trackEvent)("Chart","Move source to target scale"),this.beginUndoMacro(s);const n=new Je.MoveToExistingPriceScaleUndoCommand(this.model(),e,t,i,s),o=r?null:(0,it.sourceNewCurrencyOnPinningToPriceScale)(e,i,this._model()),a=r?null:(0,_t.sourceNewUnitOnPinningToPriceScale)(e,i,this._model());this._pushUndoCommand(n),null!==o&&this.setPriceScaleCurrency(i,o),null!==a&&this.setPriceScaleUnit(i,a),this.endUndoMacro(),this.emitEvent("moveSource",[e])}startScrollTime(e){const t=this.timeScale();this._initialTimeScrollState={rightOffset:t.rightOffset(),barSpacing:t.barSpacing()},this._initialTimeScrollPos=e,this.model().startScrollTime(e)}scrollTimeTo(e){let t=!1;return null!==this._initialTimeScrollPos&&null!==this._initialTimeScrollState&&Math.abs(e-this._initialTimeScrollPos)>20&&(this._pushUndoCommand(new oe.TimeScaleChangeUndoCommand(this.model(),this._initialTimeScrollState,Ii)),this._initialTimeScrollPos=null,this._initialTimeScrollState=null,t=!0),this.model().scrollTimeTo(e),t}endScrollTime(){this.model().endScrollTime(),this._initialTimeScrollPos=null,this._initialTimeScrollState=null}startScaleTime(e){const t=this.timeScale(),i={rightOffset:t.rightOffset(),barSpacing:t.barSpacing()};this._pushUndoCommand(new oe.TimeScaleChangeUndoCommand(this.model(),i,Mi)),this.model().startScaleTime(e)}scaleTimeTo(e){this.model().scaleTimeTo(e)}endScaleTime(){this.model().endScaleTime()}resetTimeScale(){const e=this.timeScale(),t={rightOffset:e.rightOffset(),barSpacing:e.barSpacing()};this._pushUndoCommand(new oe.TimeScaleChangeUndoCommand(this.model(),t,Li)),this.model().resetTimeScale()}startScalePrice(e,t,i,s){this._scalePriceInfo={priceScaleState:t.state(),tryMergeConsecutiveScales:s},this.model().startScalePrice(e,t,i)}scalePriceTo(e,t,i){this.model().scalePriceTo(e,t,i)}endScalePrice(e,t){this.model().endScalePrice(e,t);const i=(0,o.ensureNotNull)(this._scalePriceInfo);(0,n.default)(i.priceScaleState,t.state())||this._pushUndoCommand(new mt.PriceScaleChangeUndoCommand(this.model(),e,t,i.priceScaleState,i.tryMergeConsecutiveScales)),this._scalePriceInfo=null}startTwoPointsScalePrice(e,t,i,s,r){this._scalePriceInfo={priceScaleState:t.state(),tryMergeConsecutiveScales:r},this.model().startTwoPointsScalePrice(e,t,i,s)}twoPointsScalePriceTo(e,t,i,s){this.model().twoPointsScalePriceTo(e,t,i,s)}endTwoPointsScalePrice(e,t){this.model().endTwoPointsScalePrice(e,t);const i=(0,o.ensureNotNull)(this._scalePriceInfo);(0,n.default)(i.priceScaleState,t.state())||this._pushUndoCommand(new mt.PriceScaleChangeUndoCommand(this.model(),e,t,i.priceScaleState,i.tryMergeConsecutiveScales)),this._scalePriceInfo=null}resetPriceScale(e,t){const i=t.state();this.model().resetPriceScale(e,t),(0, -n.default)(i,t.state())||this._pushUndoCommand(new mt.PriceScaleChangeUndoCommand(this.m_model,e,t,i))}rearrangePanes(e,t){const i=new ne(this._model(),e,t);this._pushUndoCommand(i)}movePane(e,t){const i=new ne(this._model(),e,t);this._pushUndoCommand(i)}pasteSourceFromClip(e,t,i){const s=t;if(!s||0===s.sources.length)return null;const r=e||(0,o.ensureNotNull)(this.model().paneForSource(this.mainSeries()));if(!s.sources.some(e=>"drawing"!==e.type||null!==r.clipboardLineToolOwnerSource(e.source.id)))return null;this.beginUndoMacro(Di.format({title:s.title}));let n=0;const a=[],l=[];for(const t of s.sources)if("drawing"===t.type&&null!==r.clipboardLineToolOwnerSource(t.source.id)){const e=this.pasteLineTool(r,t);n<5&&((0,ae.trackDrawingPasted)(e),n+=1),l.push(e),a.push(e)}else"study"===t.type&&t.source&&t.source.metaInfo&&this.checkIfFeatureAvailable(new(p())(t.source.metaInfo))&&a.push(this.pasteStudy(t,i?e:void 0));return l.length&&this.selectionMacro(e=>{e.clearSelection(),l.forEach(t=>{e.addSourceToSelection(t,null)})}),this.endUndoMacro(),a}pasteLineTool(e,t,i,s){t.source.state.intervalsVisibilities=(0,Lt.mergeIntervalVisibilitiesDefaults)(t.source.state.intervalsVisibilities),(0,Lt.makeIntervalsVisibilitiesVisibleAtInterval)(t.source.state.intervalsVisibilities,me.Interval.parse(this.model().mainSeries().interval()));const r=new $e(this.model(),t,e,i,s);this._pushUndoCommand(r);const n=r.source();return r.needCopyToOtherCharts()&&this.copyToOtherCharts([n]),this.selectionMacro(e=>{e.clearSelection(),e.addSourceToSelection(n,null)}),n}pasteStudy(e,t){const i=new nt(this.model(),e,null==t?void 0:t.id());this._pushUndoCommand(i);const s=(0,o.ensureNotNull)(i.state()).id;return(0,ei.emit)("study_event",s,"paste_study"),(0,o.ensureNotNull)(this._model().dataSourceForId(s))}setPriceScaleCurrency(e,t){const i=new Xe.SetPriceScaleCurrencyUndoCommand(e,t,this.chartWidget(),mi);this._pushUndoCommand(i)}setPriceScaleUnit(e,t){const i=new Ze.SetPriceScaleUnitUndoCommand(e,t,this.chartWidget(),gi);this._pushUndoCommand(i)}setSymbol(e,t){e.symbol()!==t&&this._pushUndoCommand(new et(e,t,this.chartWidget()))}setResolution(e,t){me.Interval.isEqual(e.interval(),t)||this._pushUndoCommand(new Qt(e,t,this.chartWidget()))}chartLoadTheme(e,t,i){const s=new Zt(this.model(),e,t);i?s.redo():this._pushUndoCommand(s)}isJustClonedChart(){return this._chartWidget.isJustClonedChart()}copyToOtherCharts(e){const t=this.mainSeries(),i=t.syncModel(),s=this.timeScale();if(i)for(const r of e){if(!r.isSynchronizable())continue;const e=r.linkKey().value()||(0,Ge.randomHash)();r.linkKey().setValue(e);const n=r.state(!1),a=r.normalizedPoints(),l=r.properties().interval.value(),c=t.interval();let h;if(me.Interval.isEqual(l,c))h=a.map(e=>{const t=(0,o.ensureNotNull)(s.timePointToIndex(e.time_t))+e.offset;return{price:e.price,timeStamp:(0,o.ensureNotNull)(this.model().externalTimeStamp(t))}});else{const e=i.createNewModelWithResolution(l);h=a.map(t=>({price:t.price,timeStamp:0===t.offset?t.time_t:e.projectTime(t.time_t,t.offset)}))}const d={...n,id:r.id(), -linkKey:e,points:h,linetool:r.toolname,model:this.model(),symbol:t.symbol(),finalState:{points:a,interval:l},pointPositionPercents:r.isFixed()?r.calcPositionPercents():void 0,sharingMode:r.sharingMode().value()};(0,Me.copyLineTool)(d)}}addPaneStretchFactorUndoCommand(e,t,i,s){const r=new ot(this.model(),e,t,i,s);this._pushUndoCommand(r)}paneForSource(e){return this.m_model.paneForSource(e)}destroy(){this._lineToolsDoNotAffectChartInvalidation.destroy(),this.m_model.destroy()}moveSelectedToolsLeft(){return this._moveSelectedTools(2)}moveSelectedToolsUp(){return this._moveSelectedTools(0)}moveSelectedToolsRight(){return this._moveSelectedTools(3)}moveSelectedToolsDown(){return this._moveSelectedTools(1)}insertStudyWithoutCheck(e,t){return this._insertStudy(e,t,{},!1,void 0,void 0,void 0,void 0,void 0,null,void 0)}saveLineToolState(e,t){this._pushUndoCommand(new I(this.m_model,[e],t))}resetScales(){this.beginUndoMacro(Ai),this.resetTimeScale();for(const e of this.m_model.panes()){for(const t of e.leftPriceScales())this.resetPriceScale(e,t);for(const t of e.rightPriceScales())this.resetPriceScale(e,t)}this.endUndoMacro(),this.m_model.recalculateAllPanes((0,ue.viewportChangeEvent)())}shareLineTools(e,t){}_mergeUnmergeSource(e,t){this.beginUndoMacro(t.text());const i=(0,o.ensureNotNull)(this._model().paneForSource(e)),s=new Set(i.sourcesByGroup().lineSources().filter(t=>t.ownerSource()===e));this._model().lineToolsGroupModel().groups().filter(e=>{const t=e.lineTools().some(e=>s.has(e)),i=e.lineTools().some(e=>!s.has(e));return t&&i}).forEach(e=>{this._pushUndoCommand(new P.ExcludeLineToolsFromGroupUndoCommand(this._model(),e,e.lineTools()))}),this._pushUndoCommand(t),this.endUndoMacro()}_insertStudy(e,t,i,s,r,n,a,l,c,h,d){const u=Vi.format({title:e.description});this.beginUndoMacro(u);const p=new ht(this.model(),e,t,i,s,r,n,a,l,c,h||null,u);this._pushUndoCommand(p);const _=p.insertedStudy();if(void 0!==d){const e=new dt.SetPriceScaleModeCommand(d,(0,o.ensureNotNull)(_.priceScale()),null,this.model());this._pushUndoCommand(e)}return this.endUndoMacro(),_}async _processSpecialLineToolsContents(e,t,i){0}_insertAfterOrBefore(e,t,i,s){const r=(0,o.ensureNotNull)(this._model().paneForSource(i));if(t.some(e=>(0,b.isLineTool)(e)&&this._model().paneForSource(e)!==r))throw new Error("Cannot insert line tool after target on another pane");this.beginUndoMacro(e),t.forEach(e=>{(0,o.ensureNotNull)(this.model().paneForSource(e))!==r&&this.mergeToPane(e,r)});const n=s();this._pushUndoCommand(n),this.emitEvent("changeZOrder",[t]),this.endUndoMacro()}_sendBackOrBringForward(e,t,i){const s=new Map;t.forEach(e=>{const t=(0,o.ensureNotNull)(this._model().paneForSource(e)),i=s.get(t)||[];i.push(e),s.set(t,i)}),this.beginUndoMacro(e),s.forEach((e,t)=>{this._pushUndoCommand(i(t,e))}),this.endUndoMacro(),this.emitEvent("changeZOrder",[t])}_moveSelectedTools(e){const t=this.model().selection().lineDataSources();if(0===t.length)return!1;if((0,Me.lockDrawings)().value())return!0;const i=this.timeScale().visibleBarsStrictRange();if(null===i)return!1 -;const s=function(e){const t=new Map;for(const i of e){const e=i.ownerSource();if(null===e)continue;let s=t.get(e);if(void 0===s){const r=e.priceScale(),n=e.priceStep(),o=e.firstValue();if(null===r||null===n||null===o)continue;if(null===r.priceRange())continue;s={sources:[],priceScale:r,priceStep:n,startPrice:i.points()[0].price,firstValue:o},t.set(e,s)}s.sources.push(i)}return t}(t);if(0===s.size)return!1;this.beginUndoMacro(pi,this._lineToolsDoNotAffectChartInvalidation.value());const r=i.firstBar(),n=this.timeScale().indexToCoordinate(r),o=r+(3===e?1:2===e?-1:0),l=this.timeScale().indexToCoordinate(o);return Me.isDirectionalMovementActive.setValue(!0),s.forEach(t=>{const{startPrice:i,priceStep:s,priceScale:c,firstValue:h}=t,d=i+(0===e?s:1===e?-s:0),u=c.priceToCoordinate(i,h),p=c.priceToCoordinate(d,h),_={logical:{index:r,price:i},screen:new a.Point(n,u)},m={logical:{index:o,price:d},screen:new a.Point(l,p)};this.startMovingSources(t.sources,_,null),this.moveSources(m),this.endMovingSource(!1,!0)}),Me.isDirectionalMovementActive.setValue(!1),this.endUndoMacro(),!0}_restoreStudyFactoryDefaults(e){const t=new Mt(this.m_model,e.properties());this._pushUndoCommand(t)}_restoreLineToolFactoryDefaults(e){this.beginUndoMacro(_i,this._lineToolsDoNotAffectChartInvalidation.value()),this.saveLineToolState(e,_i);const t=new It(this.m_model,e.properties(),_i);this._pushUndoCommand(t),this.saveLineToolState(e,_i),this.endUndoMacro(),this.model().updateSource(e)}_removeAllDrawingToolsImpl(e){this.selectionMacro(()=>{this.lineBeingCreated()&&this.cancelCreatingLine();this.dataSources().filter(b.isLineTool).filter(e=>e.isActualSymbol()&&e.isUserDeletable()).filter(t=>!e||e===t.toolname).forEach(e=>this.removeSource(e,!1))})}_removeAllStudiesImpl(){const e=this.dataSources(),t=e.filter(x.isStudy).filter(e=>!e.isChildStudy()&&e.removeByRemoveAllStudies()),i=e.filter(x.isStudyStub);t.concat(i).forEach(e=>this.removeSource(e,!1))}}},88735:(e,t,i)=>{"use strict";var s=i(2872),r=i(88537).ensureNotNull,n=i(56840),o=i(88537).assert,a=i(36244).ChartModelBase,l=i(14291),c=l.isLineTool,h=l.isStudyLineTool,d=i(39094).Watermark,u=i(49483).CheckMobile,p=i(23653).InvalidationMask,_=i(23653).InvalidationLevel;const{globalChangeEvent:m,dataSourceChangeEvent:g}=i(33291);var f=i(66101),v=f.Study,S=i(13672).NonSeriesStudy,y=i(81851),b=y.createStudy,w=y.isStudy,C=y.isFundamentalStudy,P=f.prepareStudyProperties,T=i(85733),x=i(88564).saveDefaultProperties,I=i(32050).MainSeriesScaleRatioProperty,M=i(22423).scaleRatio,L=i(90998).StudyInserter,A=i(21761).dateFormatProperty,E=i(79680).isActingAsSymbolSource,k=i(13795).sourceNewCurrencyOnPinningToPriceScale,D=i(79222).sourceNewUnitOnPinningToPriceScale,V=i(76422),B=i(56606).StudyColorRotatorFactory,N=i(67337),R=i(44419).AppliedTimeFrame,O=N.enabled("auto_enable_symbol_labels");N.enabled("fix_left_edge");class F extends a{constructor(e,t,i,r,n,o,a,l,c,h){super(e,t,i,r,n,o,a,l,c,h);var u=this,p=this.m_mainSeries.properties(),_=this._panes[0];_.setStretchFactor(2*_.stretchFactor()), -this._properties.listeners().subscribe(this,F.prototype.propertyChangeHandler),this._properties.timezone.listeners().subscribe(null,(function(){u._chartApi&&u._chartApi.isConnected().value()&&u._chartApi.switchTimezone(u.timezone())})),_.addDataSource(this.m_mainSeries,this._panes[0].findSuitableScale(this.m_mainSeries)),this._mainSeriesScaleRatioProperty=new I(this),this.m_mainSeries.dataEvents().completed().subscribe(this,function(){this._scrollingState&&this.gotoTime()}.bind(this)),this.m_mainSeries.onIntervalChanged().subscribe(this,(function(){this._recalcVRStudiesParams.oldStartVisibleIndex=NaN,this._recalcVRStudiesParams.oldEndVisibleIndex=NaN})),this._readOnly||(p.addChild("priceAxisProperties",this.m_mainSeries.m_priceScale.properties()),this._properties.paneProperties.legendProperties.showStudyTitles.listeners().subscribe(this,(function(e){e.value()||u._properties.paneProperties.legendProperties.showStudyArguments.setValue(!1)}))),this._barsMarksSources=a(this);for(var m=0;m0),n?{left:0,right:1,totallySlots:i}:{left:1,right:0,totallySlots:i}}return{left:e,right:t,totallySlots:e+t}}setPriceAutoScale(e,t,i){e.setPriceAutoScale(t,i),this.invalidate(this._paneInvalidationMask(e,_.Light))}updateScales(e,t){this._undoModel._chartWidget._updateScalesActions()}mainSeriesScaleRatioProperty(){return this._mainSeriesScaleRatioProperty}mainSeriesScaleRatioPropertyOnChanged(){this._mainSeriesScaleRatioProperty.listeners().fire(this._mainSeriesScaleRatioProperty)}mainSeriesScaleRatio(){return M(this._timeScale,this.m_mainSeries.priceScale())}setMainSeriesScaleRatio(e){this.paneForSource(this.m_mainSeries).applyPriceScaleRatio(this.m_mainSeries.priceScale(),e)}recalcStudyBasedLineTools(){this.dataSources().forEach((function(e){h(e)&&e.recalcStudyIfNeeded&&e.recalcStudyIfNeeded()}))}restoreFactoryDefaults(e){e.restoreFactoryDefaults(),this.recalcVisibleRangeStudies(!0)}orderedDataSources(e){var t=[];t.push(this.m_crossHairSource);for(var i=0;i0)}createStudyInserter(e){return new L(e,this._studiesMetaInfoRepository,{createStudy:this.insertStudyWithParams.bind(this)})}insertStudyWithParams(e,t,i,s,r,o,a,l,c,h,d){null==o&&(o=this.mainSeries());var u=null;if(!r&&void 0!==e.groupingKey){var p=this.findNonOverlayStudyWithGroupingKey(e.groupingKey);null!==p&&(u=p.pane)}null===u&&(r||e.is_price_study?u=this.paneForSource(o):(u=this.createPane(),void 0!==h&&u.setPaneSize(h))),"Compare@tv-basicstudies"===e.id&&this.m_mainSeries.priceScale().setMode({log:!1,percentage:!0});var _=Object.assign({},s,{inputs:t}),m=P(e,_,u,this.studyVersioning(),o),f=b(this,m,o,e,d);this._recalcVisibleRangeStudiesImpl({studies:[f],oldEndVisibleIndex:-1,oldStartVisibleIndex:-1,force:!0,timerId:null});var v=u.findSuitableScale(f,o,a);if(v===this.mainSeries().priceScale()&&E(f)){var S=l?k(f,v,this,!0):null,y=c?D(f,v,this,!0):null;null===S&&null===y||f.setSymbolParams({currency:S||void 0,unit:y||void 0})}return E(f)&&u.hasDataSource(this.mainSeries())&&O&&!n.getBool("enable_symbol_labels_on_inserting_compare_once",!1)&&(x(!0),this.properties().scalesProperties.showSymbolLabels.setValue(!0),x(!1),n.setValue("enable_symbol_labels_on_inserting_compare_once",!0)),f.start(),null!==i&&u.id()===i.paneId?u.insertDataSource(f,v,i.zorder):u.addDataSource(f,v),f.properties().linkedToSeries&&f.properties().linkedToSeries.value()&&f.setOwnerSource(this.mainSeries()),this.recalculatePane(u,g(f.id())),this.fullUpdate(),this._invalidateBarColorerCaches(),this._recalcVisibleRangeStudiesImpl({studies:[f],force:!0}),this._recalcColorStudiesImpl({studies:[f],force:!0}),this._studyInserted.fire(f),f.maxOffset().subscribe(this._boundUpdateStudiesMaxOffset,{callWithLast:!0}),f}studyInserted(){return this._studyInserted}_unmergeAvailable(e){return e===this.m_mainSeries||TradingView.isInherited(e.constructor,v)&&!e.isLinkedToSeries()&&!TradingView.isInherited(e.constructor,S)&&e.showInObjectTree()}isMergeUpAvailableForSource(e){return!!this._unmergeAvailable(e)&&this.paneForSource(e)!==this.panes()[0]}isMergeDownAvailableForSource(e){if(!this._unmergeAvailable(e))return!1;var t=this.paneForSource(e),i=this.panes();return t!==i[i.length-1]}isUnmergeAvailableForSource(e){return!!this._unmergeAvailable(e)&&this.paneForSource(e).dataSources().filter(this._unmergeAvailable,this).length>1}lineBeingEdited(){return this._lineBeingEdited}linePointBeingEdited(){return this._linePointBeingEdited}calculateDefaultTags(){for(var e=[],t=this.dataSources(),i=0;i-1&&this._modelIntervals.splice(t,1)}clearIntervals(){for(var e=0;ethis.removeSource(e)),Array.from(this._customSourcesMap.keys()).forEach(this._removeCustomSource,this),o(0===this._topmostCustomSources.length),o(0===this._fgCustomSources.length),o(0===this._bgCustomSources.length),o(0===this._allCustomSources.length),o(0===this._customSourcesMap.size);for(e=0;e{"use strict";var s=i(52640).makeFont,r=i(52640).parseFont,n=(0,i(98125).getLogger)("Model.ChartTradingUtils"),o={_fontHeightCache:{},_parsedColorCache:{},_parseColor:function(e){if(this._parsedColorCache[e])return this._parsedColorCache[e];var t=document.createElement("div");t.style.color=e;var i=t.style.color.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i)||t.style.color.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d*\.?\d+)\s*\)$/i),s={r:i[1],g:i[2],b:i[3],a:i[4]||"1"};return this._parsedColorCache[e]=s,s},getColorFromProperties:function(e,t){var i=1-t.value()/100,s=this._parseColor(e.value());return"rgba("+s.r+","+s.g+","+s.b+","+i+")"},setColorToProperties:function(e,t,i){var s=this._parseColor(e);t.setValue("rgb("+s.r+","+s.g+","+s.b+")");var r=100*(1-s.a);i.setValue(Math.max(0,Math.min(r,100)))},getFontFromProperties:function(e,t,i,r){ -return s(t.value(),e.value(),r.value()?"italic":"",i.value()?"bold":"")},setFontToProperties:function(e,t,i,s,o){var a=r(e);null!==a?(a.family.length>0&&t.setValue(a.family),i.setValue(a.size),s.setValue(a.bold),o.setValue(a.italic)):n.logError("Invalid font: "+e)},fontHeight:function(e){if(!this._fontHeightCache[e]){var t=document.createElement("span");t.appendChild(document.createTextNode("height")),document.body.appendChild(t),t.style.cssText="font: "+e+"; white-space: nowrap; display: inline;";var i=t.offsetHeight;document.body.removeChild(t),this._fontHeightCache[e]=Math.ceil(i)}return this._fontHeightCache[e]},drawPolyHoverOrPress:function(e,t,i,s){s?(e.save(),e.fillStyle="rgba(0, 0, 0, 0.15)",CanvasEx.drawPoly(e,t,!0),e.restore()):i&&(e.save(),e.fillStyle="rgba(0, 0, 0, 0.1)",CanvasEx.drawPoly(e,t,!0),e.restore())},repaint:function(e){e.lightUpdate()},roundToMinTick:function(e,t){var i=1/e.mainSource().base();return i*Math.round(t/i)}};e.exports=o},24431:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(59199).doAnimate,o=i(97205).ChartUndoModelBase,a=(i(88564).saveDefaultProperties,i(66101).Study),l=i(65645).showTooManyStudiesNotice,c=(i(35762).UndoCommand,i(17691).ApplyLineToolTemplateUndoCommand),h=i(89730).SetPriceScaleSelectionStrategyCommand,d=i(870).SetScaleRatioPropertiesCommand,u=i(90998).StudyInserter,p=i(51768).trackEvent,_=i(98125).getLogger("Chart.ChartUndoModel"),m=i(91794).RestoreDefaultsPreferencesUndoCommand,g=i(59836).SetPriceScaleModeCommand,f=i(69746).PriceScaleChangeUndoCommand,v=new r("move left",s("move left")),S=new r("move right",s("move right")),y=new r("toggle auto scale",s("toggle auto scale")),b=new r("toggle lock scale",s("toggle lock scale")),w=new r("toggle regular scale",s("toggle regular scale")),C=new r("toggle indexed to 100 scale",s("toggle indexed to 100 scale")),P=new r("toggle percentage scale",s("toggle percentage scale")),T=new r("toggle log scale",s("toggle log scale")),x=new r("invert scale",s("invert scale")),I=new r("remove pane",s("remove pane")),M=(new r("apply all chart properties",s("apply all chart properties")),new r("set price scale selection strategy to {title}",s("set price scale selection strategy to {title}")));s("Cheers");t.ChartUndoModel=class extends o{constructor(e,t,i,s,r,n,o,a,l,c,h){super(e,t,i,s,r,n,o,a,l,c,h),this.beginUndoMacro=(e,t)=>{var i=o.beginUndoMacro(e);return i.setCustomFlag("doesnt_affect_save",t),i},this.endUndoMacro=o.endUndoMacro.bind(o),this.createUndoCheckpoint=o.createUndoCheckpoint.bind(o),this.undoToCheckpoint=o.undoToCheckpoint.bind(o)}version(){return this.m_model.version()}createPane(e){return this.m_model.createPane(e)}readOnly(){return this.m_model.readOnly()}restart(){this.m_model.restart()}disconnect(){this.m_model.disconnect()}studiesMetaData(){return this.m_model.studiesMetaData()}studyVersioning(){return this.m_model.studyVersioning()}chartModel(){return this._model()}_model(){return this.m_model}pushUndoCommand(e){this._pushUndoCommand(e)}_pushUndoCommand(e){this._undoHistory.pushUndoCommand(e) -}startScrollPrice(e,t,i){t.isAutoScale()||(this._initialPriceScrollState=t.state(),this._initialPriceScrollPos=i,this.chartModel().startScrollPrice(e,t,i))}scrollPriceTo(e,t,i){t.isAutoScale()||(this._initialPriceScrollPos&&Math.abs(this._initialPriceScrollPos-i)>20&&(this.pushUndoCommand(new f(this.m_model,e,t,this._initialPriceScrollState)),delete this._initialPriceScrollState,delete this._initialPriceScrollPos),this.chartModel().scrollPriceTo(e,t,i))}endScrollPrice(e,t){t.isAutoScale()||(delete this._initialPriceScrollState,delete this._initialPriceScrollPos,this.chartModel().endScrollPrice(e,t))}setPriceAutoScale(e,t,i){this.pushUndoCommand(new f(this.m_model,e,t,t.state())),this.chartModel().setPriceAutoScale(e,t,i)}setWidth(e){this.m_model.setWidth(e)}setPaneHeight(e,t){this.m_model.setPaneHeight(e,t)}gridSource(){return this.m_model.gridSource()}watermarkSource(){return this.m_model.watermarkSource()}addAlertsSource(e){return this.m_model.addAlertsSource(e)}alertsSources(){return this.m_model.alertsSources()}publishedChartsTimelineSource(){return this.m_model.publishedChartsTimelineSource()}crossHairSource(){return this.m_model.crossHairSource()}model(){return this.m_model}chartWidget(){return this._chartWidget}mainSeries(){return this.m_model.m_mainSeries}mainSeriesScaleRatioProperty(){return this.m_model.mainSeriesScaleRatioProperty()}panes(){return this.m_model.panes()}timeScale(){return this.m_model.timeScale()}selectionMacro(e){return this.m_model.selectionMacro(e)}setHoveredSource(e,t){this.m_model.setHoveredSource(e,t)}selection(){return this.m_model.selection()}onSelectedSourceChanged(){return this.m_model.onSelectedSourceChanged()}activeStrategySource(){return this.m_model.activeStrategySource()}invalidate(e){this.m_model.invalidate(e)}setCurrentPosition(e,t,i,s){this.m_model.setCurrentPosition(e,t,i,s)}setAndSaveCurrentPosition(e,t,i,s){this.m_model.setAndSaveCurrentPosition(e,t,i,s)}canCreateStudy(e){return this.model().chartApi().chartApi().isCanCreateStudy(e)}_isCountedStudy(e){throw new Error("Not implemented")}checkIfFeatureAvailable(e,t){var i=this.canCreateStudy(),s=t&&t instanceof a;return!this.readOnly()&&s&&(i=this.canCreateStudy(!0)),!!i||(s||l(),!1)}createStudyInserter(e,t,i){var s=this,r=null,n={createStudy:function(e,t,i,n,o,a,l,c,h,d,u){return s.checkIfFeatureAvailable(e,a)?(p("studies","Study_"+e.id),"Compare@tv-basicstudies"===e.id&&p("compare","symbol:"+t.symbol),s._insertStudy(e,t,n,o,a,l,c,h,d,r,u)):(_.logNormal("Cannot insert study "+e.id),null)}};void 0!==i&&(n.createStub=function(){var e=s.m_model.insertStudyStub(i);return r={targetPaneId:s.m_model.paneForSource(e).id(),targetZOrder:e.zorder()},e.id()},n.removeStub=function(e){return s.m_model.removeStudyStub(e)});var o=new u(e,this.m_model._studiesMetaInfoRepository,n);return o.setParentSource(t),o}setProperties(e,t,i){var s=this;this.beginUndoMacro(i),this.m_model.selectionMacro((function(){for(var r=0;r{"use strict";var s;i.d(t,{ColorType:()=>s}),function(e){e.Solid="solid",e.Gradient="gradient"}(s||(s={}))},8175:(e,t,i)=>{"use strict";i.d(t,{currencyUnitVisibilityProperty:()=>o,currencyUnitVisibilityOptions:()=>a,migrateShowCurrencyAndShowUnitProperties:()=>c});var s=i(10133),r=i(56840),n=i.n(r);const{property:o,availableValues:a}=(0,s.createVisibilityController)("PriceAxisCurrencyAndUnit.visibility");let l=!1;function c(e,t){l||(l=!0,void 0===n().getValue("PriceAxisCurrencyAndUnit.visibility")&&o().setValue(e||t?"alwaysOn":"alwaysOff"))}},13795:(e,t,i)=>{"use strict";i.d(t,{sourceNewCurrencyOnPinningToPriceScale:()=>r});var s=i(79680);function r(e,t,i,r){let n=null;if(i.currencyConversionEnabled()&&(0,s.isActingAsSymbolSource)(e)){const s=i.availableCurrencies(),o=t.currency(s),a=e.currency();null!==o&&null!==o.selectedCurrency&&!o.allCurrenciesAreOriginal&&o.selectedCurrency!==a&&(r&&null===a||null!==a&&s.convertible(a))&&(n=o.selectedCurrency)}return n}},99305:(e,t,i)=>{"use strict";i.d(t,{CustomSourceBase:()=>s});class s{constructor(e,t){this._id=e,this._model=t}id(){return this._id}isHoveredEnabled(){return!0}isSelectionEnabled(){return!1}priceScale(){return null}paneViews(e){return[]}labelPaneViews(e){return[]}priceAxisViews(e,t){return[]}updateViewsForPane(e,t){e.containsMainSeries()&&this.updateAllViews(t)}}},50669:(e,t,i)=>{"use strict";i.d(t,{isMainSeriesState:()=>r,isStudyState:()=>n,isLineToolState:()=>o,isStudyLineToolState:()=>a});var s=i(14291);function r(e){return"MainSeries"===e.type}function n(e){return Boolean(e.type)&&e.type.toLowerCase().startsWith("study")}function o(e){return Boolean(e.type)&&(0,s.isLineToolName)(e.type)}function a(e){return Boolean(e.type)&&(0,s.isStudyLineToolName)(e.type)}},62443:(e,t,i)=>{"use strict";i.d(t,{DataSource:()=>l});i(67337);var s=i(52714),r=i.n(s),n=i(9423),o=i(2872),a=i.n(o);class l{constructor(e){this.hasAlert=new(r())(!1),this._zorder=0,this.m_priceScale=null,this._ownerSource=null,this._userEditEnabled=!0,this._onPriceScaleChanged=new(a()),this._isSelectionEnabled=!0,this._instanceId=(0,n.randomHashN)(6),this._ownerSourceChanged=new(a()),this._zOrderChanged=new(a()),this._id=null!=e?e:(0,n.randomHashN)(6)}id(){return this._id}instanceId(){return this._instanceId}preferNoScale(){return!1}setId(e){this._id=e}zorder(){return this._zorder}setZorder(e){"number"==typeof e&&this._zorder!==e&&(this._zorder=e,this._zOrderChanged.fire(e))}isSpeciallyZOrderedSource(){return!1}title(){throw new Error("Implement this fun in a subclass")}name(){throw new Error("Implement this fun in a subclass")}priceScale(){return this.m_priceScale}setPriceScale(e){this.m_priceScale=e,this._onPriceScaleChanged.fire()}ownerSource(){return this._ownerSource}setOwnerSource(e){ -this._ownerSource=e,this._ownerSourceChanged.fire()}ownerSourceChanged(){return this._ownerSourceChanged}zOrderChanged(){return this._zOrderChanged}isSavedInChart(e){return!0}isSavedInStudyTemplates(){return!0}isRemovedByStudyTemplates(){return!0}hasContextMenu(){return!0}showInObjectTree(){return!0}setUserEditEnabled(e){this._userEditEnabled=e}userEditEnabled(){return this._userEditEnabled}canBeHidden(){return this.userEditEnabled()}isUserDeletable(){return this.userEditEnabled()}properties(){throw new Error("Implement this fun in a subclass")}isVisible(){return this.properties().visible.value()}dataWindowView(){return null}priceAxisViews(e,t){return null}timeAxisViews(){return null}updateAllViews(e){}paneViews(e){return null}labelPaneViews(){return null}isFailed(){return!1}isLoading(){return!1}isPhantom(){return!1}isChildStudy(){return!1}hasChildren(){return!1}canHaveChildren(){return!1}onClickOutside(){}getSourceIcon(){return null}state(e){throw new Error("Implement this fun in a subclass")}onPriceScaleChanged(){return this._onPriceScaleChanged}doesMovingAffectsUndo(){return!0}isMultiPaneAvailable(){return!1}isMultiPaneEnabled(){return!1}copiable(){return!1}cloneable(){return!1}movable(){return!1}isIncludedInAutoScale(){return!1}isHoveredEnabled(){return this.isSelectionEnabled()}isSelectionEnabled(){return this._isSelectionEnabled}setSelectionEnabled(e){this._isSelectionEnabled=e}firstValue(){return null}priceRange(e,t){return null}autoScaleInfo(e,t){return{range:this.priceRange(e,t)}}stateForAlert(){return null}canHasAlert(){return!1}alertCreationAvailable(){return this.hasStateForAlert()}hasStateForAlert(){return!1}idForAlert(){return this._id}}},14445:(e,t,i)=>{"use strict";i.d(t,{DataWindowItem:()=>s,DataWindowView:()=>r});class s{constructor(e,t,i=!1){this._visible=!0,this._title=e,this._value=t,this._unimportant=i}title(){return this._title}setTitle(e){this._title=e}text(){return this._value}value(){return this._value}setValue(e){this._value=e}visible(){return this._visible}setVisible(e){this._visible=e}color(){return this._color}setColor(e){this._color=e}unimportant(){return this._unimportant}}class r{constructor(){this._items=[],this._header="",this._title=""}header(){return this._header}title(){return this._title}items(){return this._items}update(){}}},21761:(e,t,i)=>{"use strict";i.d(t,{dateFormatProperty:()=>a,restoreDateFormatSettingsValue:()=>l});var s=i(56840),r=i(32255),n=i(7043);function o(){return s.getValue("date_format",(0,n.defaultDateFormat)())}const a=(0,r.createPrimitiveProperty)(o());function l(){a.setValue((0,n.defaultDateFormat)()),s.remove("date_format")}s.onSync.subscribe(null,()=>a.setValue(o())),a.listeners().subscribe(null,()=>s.setValue("date_format",a.value()))},88564:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createDefaultsState:()=>u,saveDefaultProperties:()=>_,DefaultProperty:()=>m});var s=i(27788),r=i(58121),n=i(15736),o=i(59803),a=i(2015),l=i.n(a),c=i(2872),h=i.n(c);function d(e,t){const i=(0,s.default)(e);return t.forEach(e=>(0,n.default)(i,e.split("."))),i}function u(e,t,i,n){ -const a=e?o.defaults:o.factoryDefaults,l=t.startsWith("study_")?(0,s.default)(a("study")):{};let c=(0,s.default)(a(t,n));return t.startsWith("study_")&&c.inputs&&delete c.inputs.symbol,"linetoolicon"===t&&e&&(c.icon=(0,o.defaults)(t).icon),c=d(c,i),(0,r.default)(l,c),l}let p=!1;function _(e){p=e}class m extends(l()){constructor(e,t,i,s){super(function(e,t,i,s){let n;return void 0===s&&(s=!0),i?n=t:(n=u(s,e,[],null),t&&(0,r.default)(n,t)),n}(e,t,i,s)),this._exclusions=[],this._restoreFactoryDefaultsEvent=new(h()),this._defaultName=e,this._useUserPreferences=null==s||s,this.listeners().subscribe(this,m.prototype.onPropertyChanged),this._restoreFactoryDefaultsEvent=new(h())}preferences(){return this.state(this._exclusions)}mergePreferences(e){this.mergeAndFire(d(e,this._exclusions))}addExclusion(e){this._exclusions.indexOf(e)<0&&this._exclusions.push(e)}removeExclusion(e){const t=this._exclusions.indexOf(e);-1!==t&&this._exclusions.splice(t,1)}restoreFactoryDefaults(){const e=u(!1,this._defaultName,this._exclusions,null);this.mergeAndFire(e),this._defaultName.startsWith("study_")&&!this._defaultName.startsWith("study_VbPFixed")||(0,o.saveDefaults)(this._defaultName,void 0),this._restoreFactoryDefaultsEvent.fire()}onRestoreFactoryDefaults(){return this._restoreFactoryDefaultsEvent}onPropertyChanged(){!p||this._defaultName.startsWith("study_")&&!this._defaultName.startsWith("study_VbPFixed")||this.saveDefaults()}saveDefaults(){this._useUserPreferences&&(0,o.saveDefaults)(this._defaultName,this.preferences())}clone(e){const t=new m(this._defaultName,this.state(),null==e?void 0:e.replaceByState,this._useUserPreferences);for(let e=0;e{"use strict";var s=i(27759).PlDisplay;const{getHexColorByName:r}=i(45112),{generateColor:n}=i(68906);var o=i(27759).TradingSourcesHorizontalAlignment,a=i(16654),l=i(30823).LineToolPitchforkStyle,c=i(8059).LineToolBarsPatternMode,h=i(50993).LineStudyPlotStyle,d=i(5816),u=i(3825).PriceAxisLastValueMode,p=i(245).StoriesTimeLineItemType,_=i(90373).MagnetMode,m=i(49612).LineEnd,g=i(49642).ColorType,f=i(13632).StatsPosition,v=i(47484).sessionsPreferencesDefault,S=i(87426).axisLabelBackgroundColor,y=i(98125).getLogger("Chart.Defaults") -;const b=r("color-black"),w=r("color-white"),C=n(w,75),P=r("color-tv-blue-50"),T=r("color-tv-blue-500"),x=n(T,30),I=n(T,70),M=n(T,72),L=n(T,75),A=n(T,80),E=r("color-tv-blue-600"),k=r("color-deep-blue-200"),D=r("color-deep-blue-300"),V=r("color-deep-blue-400"),B=n(V,80),N=r("color-deep-blue-500"),R=r("color-sky-blue-500"),O=n(R,80),F=n(R,50),W=r("color-sky-blue-700"),H=n(W,30),z=r("color-youtube"),U=r("color-ripe-red-200"),j=r("color-ripe-red-300"),G=r("color-ripe-red-400"),q=r("color-ripe-red-500"),Y=n(q,70),K=n(q,80),$=n(q,72),X=n(q,95),Z=r("color-ripe-red-600"),J=r("color-grapes-purple-400"),Q=n(J,80),ee=r("color-grapes-purple-500"),te=n(ee,100),ie=n(ee,80),se=n(ee,30),re=n(r("color-berry-pink-400"),85),ne=r("color-berry-pink-500"),oe=n(ne,80),ae=r("color-minty-green-100"),le=r("color-minty-green-500"),ce=n(le,80),he=n(le,72),de=n(le,95),ue=r("color-iguana-green-300"),pe=r("color-iguana-green-500"),_e=n(pe,80),me=r("color-tan-orange-300"),ge=r("color-tan-orange-500"),fe=n(ge,80),ve=r("color-tan-orange-600"),Se=r("color-tan-orange-700"),ye=n(Se,80),be=r("color-tan-orange-a700"),we=r("color-cold-gray-150"),Ce=r("color-cold-gray-300"),Pe=r("color-cold-gray-400"),Te=r("color-cold-gray-500"),xe=r("color-cold-gray-800"),Ie=n(xe,94),Me=n(xe,100),Le=r("color-cold-gray-900"),Ae=r("color-slate-gray"),Ee=r("color-silver-tree"),ke=n(Ee,95),De=r("color-mandy"),Ve=n(De,95);var Be=function(e){var t=function(e,t){return{color:e,visible:t}},i=function(e,t,i){return{coeff:e,color:t,visible:i}},r=function(e,t,i,s,r){return{coeff:e,color:t,visible:i,linestyle:void 0===s?CanvasEx.LINESTYLE_SOLID:s,linewidth:void 0===r?1:r}},y=function(e,t,i){return{color:e,width:i,visible:t}},xe=function(e,t,i,s,r){return{color:e,visible:t,width:i,x:s,y:r}},Be=function(e,t,i,s,r,n){return{coeff1:e,coeff2:t,color:i,visible:s,linestyle:void 0===r?CanvasEx.LINESTYLE_SOLID:r,linewidth:void 0===n?1:n}};if(void 0===TradingView.defaultProperties){var Ne;switch(window.locale){case"ar_AE":Ne="Asia/Dubai";break;case"au":Ne="Australia/Sydney";break;case"br":Ne="America/Sao_Paulo";break;case"ca":Ne="America/Toronto";break;case"de_DE":case"it":Ne="Europe/Berlin";break;case"es":Ne="Europe/Madrid";break;case"fa_IR":Ne="Asia/Tehran";break;case"fr":case"sv_SE":Ne="Europe/Paris";break;case"he_IL":case"tr":Ne="Europe/Athens";break;case"hu_HU":case"pl":Ne="Europe/Warsaw";break;case"id":case"th_TH":case"vi_VN":Ne="Asia/Bangkok";break;case"in":Ne="Asia/Kolkata";break;case"ja":case"kr":Ne="Asia/Tokyo";break;case"ms_MY":Ne="Asia/Singapore";break;case"ru":Ne="Europe/Moscow";break;case"uk":Ne="Europe/London";break;case"zh_CN":case"zh_TW":Ne="Asia/Shanghai";break;default:Ne="Etc/UTC"}TradingView.defaultProperties={chartproperties:{timezone:Ne,priceScaleSelectionStrategyName:"auto",paneProperties:{backgroundType:g.Solid,background:w,backgroundGradientStartColor:w,backgroundGradientEndColor:w,vertGridProperties:{color:Ie,style:CanvasEx.LINESTYLE_SOLID},horzGridProperties:{color:Ie,style:CanvasEx.LINESTYLE_SOLID},crossHairProperties:{color:Pe,style:CanvasEx.LINESTYLE_DASHED, -transparency:0,width:1},topMargin:10,bottomMargin:8,axisProperties:{autoScale:!0,autoScaleDisabled:!1,lockScale:!1,percentage:!1,percentageDisabled:!1,indexedTo100:!1,log:!1,logDisabled:!1,alignLabels:!0,isInverted:!1},legendProperties:{showStudyArguments:!0,showStudyTitles:!0,showStudyValues:!0,showSeriesTitle:!0,showSeriesOHLC:!0,showLegend:!0,showBarChange:!0,showVolume:!1,showBackground:!0,backgroundTransparency:50},separatorColor:we},scalesProperties:{backgroundColor:w,lineColor:Me,textColor:Le,fontSize:12,scaleSeriesOnly:!1,showSeriesLastValue:!0,seriesLastValueMode:u.LastValueAccordingToScale,showSeriesPrevCloseValue:!1,showStudyLastValue:!0,showSymbolLabels:!1,showStudyPlotLabels:!1,showBidAskLabels:!1,showPrePostMarketPriceLabel:!0,showFundamentalNameLabel:!1,showFundamentalLastValue:!0,barSpacing:d.DEFAULT_BAR_SPACING,axisHighlightColor:L,axisLineToolLabelBackgroundColorCommon:S.common,axisLineToolLabelBackgroundColorActive:S.active,showPriceScaleCrosshairLabel:!0,showTimeScaleCrosshairLabel:!0},mainSeriesProperties:{style:a.STYLE_CANDLES,esdShowDividends:!0,esdShowSplits:!0,esdShowEarnings:!0,esdShowBreaks:!1,esdFlagSize:2,showContinuousContractSwitches:!0,showContinuousContractSwitchesBreaks:!1,showCountdown:!0,bidAsk:{visible:!1,lineStyle:CanvasEx.LINESTYLE_DOTTED,lineWidth:1,bidLineColor:T,askLineColor:G},prePostMarket:{visible:!0,lineStyle:CanvasEx.LINESTYLE_DOTTED,lineWidth:1,preMarketColor:ve,postMarketColor:T},highLowAvgPrice:{highLowPriceLinesVisible:!1,highLowPriceLabelsVisible:!1,averageClosePriceLineVisible:!1,averageClosePriceLabelVisible:!1,highLowPriceLinesColor:"",highLowPriceLinesWidth:1,averagePriceLineColor:"",averagePriceLineWidth:1},visible:!0,showPriceLine:!0,priceLineWidth:1,priceLineColor:"",baseLineColor:Ce,showPrevClosePriceLine:!1,prevClosePriceLineWidth:1,prevClosePriceLineColor:"#555555",minTick:"default",dividendsAdjustment:void 0,backAdjustment:!1,settlementAsClose:!0,sessionId:"regular",sessVis:!1,statusViewStyle:{fontSize:16,showExchange:!0,showInterval:!0,symbolTextSource:"description"},candleStyle:{upColor:le,downColor:q,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:"#737375",wickUpColor:le,wickDownColor:q,barColorsOnPrevClose:!1,drawBody:!0},hollowCandleStyle:{upColor:le,downColor:q,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:"#737375",wickUpColor:le,wickDownColor:q,drawBody:!0},haStyle:{upColor:le,downColor:q,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:"#737375",wickUpColor:le,wickDownColor:q,showRealLastPrice:!1,barColorsOnPrevClose:!1,inputs:{},inputInfo:{},drawBody:!0},barStyle:{upColor:le,downColor:q,barColorsOnPrevClose:!1,dontDrawOpen:!1,thinBars:!0},hiloStyle:{color:T,showBorders:!0,borderColor:T,showLabels:!0,labelColor:T,fontSize:7,drawBody:!0},columnStyle:{upColor:n(le,50),downColor:n(q,50),barColorsOnPrevClose:!0,priceSource:"close"},lineStyle:{color:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2, -priceSource:"close",styleType:a.STYLE_LINE_TYPE_SIMPLE},areaStyle:{color1:M,color2:T,linecolor:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2,priceSource:"close",transparency:100},priceAxisProperties:{autoScale:!0,autoScaleDisabled:!1,lockScale:!1,percentage:!1,percentageDisabled:!1,indexedTo100:!1,log:!1,logDisabled:!1,isInverted:!1,alignLabels:!0},renkoStyle:{upColor:le,downColor:q,borderUpColor:le,borderDownColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",borderUpColorProjection:"#a9dcc3",borderDownColorProjection:"#f5a6ae",wickUpColor:le,wickDownColor:q,inputs:{source:"close",sources:"Close",boxSize:3,style:"ATR",atrLength:14,wicks:!0},inputInfo:{source:{name:"Source"},sources:{name:"Source"},boxSize:{name:"Box size"},style:{name:"Style"},atrLength:{name:"ATR length"},wicks:{name:"Wicks"}}},pbStyle:{upColor:le,downColor:q,borderUpColor:le,borderDownColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",borderUpColorProjection:"#a9dcc3",borderDownColorProjection:"#f5a6ae",inputs:{source:"close",lb:3},inputInfo:{source:{name:"Source"},lb:{name:"Number of line"}}},kagiStyle:{upColor:le,downColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",inputs:{source:"close",style:"ATR",atrLength:14,reversalAmount:1},inputInfo:{source:{name:"Source"},style:{name:"Style"},atrLength:{name:"ATR length"},reversalAmount:{name:"Reversal amount"}}},pnfStyle:{upColor:le,downColor:q,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",inputs:{sources:"Close",reversalAmount:3,boxSize:1,style:"ATR",atrLength:14,oneStepBackBuilding:!1},inputInfo:{sources:{name:"Source"},boxSize:{name:"Box size"},reversalAmount:{name:"Reversal amount"},style:{name:"Style"},atrLength:{name:"ATR length"},oneStepBackBuilding:{name:"One step back building"}}},baselineStyle:{baselineColor:Ae,topFillColor1:he,topFillColor2:de,bottomFillColor1:X,bottomFillColor2:$,topLineColor:le,bottomLineColor:q,topLineWidth:2,bottomLineWidth:2,priceSource:"close",transparency:50,baseLevelPercentage:50},rangeStyle:{upColor:le,downColor:q,thinBars:!0,upColorProjection:"#a9dcc3",downColorProjection:"#f5a6ae",inputs:{range:10,phantomBars:!1},inputInfo:{range:{name:"Range"},phantomBars:{name:"Phantom bars"}}}},chartEventsSourceProperties:{visible:!0,futureOnly:!0,breaks:{color:"#555555",visible:!1,style:CanvasEx.LINESTYLE_DASHED,width:1}},tradingProperties:{showPositions:!0,positionPL:{visibility:!0,display:s.Money},bracketsPL:{visibility:!0,display:s.Money},showOrders:!0,showExecutions:!0,showExecutionsLabels:!1,showReverse:!0,horizontalAlignment:o.Right,extendLeft:!0,lineLength:5,lineWidth:1,lineStyle:CanvasEx.LINESTYLE_SOLID},editorFontsList:["Verdana","Courier New","Times New Roman","Arial"],volumePaneSize:"large"},sessions:v,drawings:{magnet:!1,magnetMode:_.WeakMagnet,stayInDrawingMode:!1,drawOnAllCharts:!0,drawOnAllChartsMode:1},linetoolorder:{extendLeft:"inherit",lineLength:"inherit",lineColor:z,lineActiveBuyColor:"#4094e8",lineInactiveBuyColor:"rgba(64, 148, 232, 0.5)",lineActiveSellColor:"#e75656", -lineInactiveSellColor:"rgba(231, 86, 86, 0.5)",lineStyle:"inherit",lineWidth:"inherit",bodyBorderActiveBuyColor:"#4094e8",bodyBorderInactiveBuyColor:"rgba(64, 148, 232, 0.5)",bodyBorderActiveSellColor:"#e75656",bodyBorderInactiveSellColor:"rgba(231, 86, 86, 0.5)",bodyBackgroundColor:C,bodyBackgroundTransparency:25,bodyTextInactiveLimitColor:"rgba(38, 140, 2, 0.5)",bodyTextActiveLimitColor:"#268c02",bodyTextInactiveStopColor:"rgba(231, 86, 86, 0.5)",bodyTextActiveStopColor:"#e75656",bodyTextInactiveBuyColor:"rgba(64, 148, 232, 0.5)",bodyTextActiveBuyColor:"#4094e8",bodyTextInactiveSellColor:"rgba(231, 86, 86, 0.5)",bodyTextActiveSellColor:"#e75656",bodyFontFamily:"Verdana",bodyFontSize:9,bodyFontBold:!0,bodyFontItalic:!1,quantityBorderActiveBuyColor:"#4094e8",quantityBorderInactiveBuyColor:"rgba(64, 148, 232, 0.5)",quantityBorderActiveSellColor:"#e75656",quantityBorderInactiveSellColor:"rgba(231, 86, 86, 0.5)",quantityBackgroundInactiveBuyColor:"rgba(64, 148, 232, 0.5)",quantityBackgroundActiveBuyColor:"#4094e8",quantityBackgroundInactiveSellColor:"rgba(231, 86, 86, 0.5)",quantityBackgroundActiveSellColor:"#e75656",quantityTextColor:w,quantityTextTransparency:0,quantityFontFamily:"Verdana",quantityFontSize:9,quantityFontBold:!0,quantityFontItalic:!1,cancelButtonBorderActiveBuyColor:"#4094e8",cancelButtonBorderInactiveBuyColor:"rgba(64, 148, 232, 0.5)",cancelButtonBorderActiveSellColor:"#e75656",cancelButtonBorderInactiveSellColor:"rgba(231, 86, 86, 0.5)",cancelButtonBackgroundColor:C,cancelButtonBackgroundTransparency:25,cancelButtonIconActiveBuyColor:"#4094e8",cancelButtonIconInactiveBuyColor:"rgba(64, 148, 232, 0.5)",cancelButtonIconActiveSellColor:"#e75656",cancelButtonIconInactiveSellColor:"rgba(231, 86, 86, 0.5)",tooltip:"",modifyTooltip:"",cancelTooltip:""},linetoolposition:{extendLeft:"inherit",lineLength:"inherit",lineBuyColor:"#4094e8",lineSellColor:"#e75656",lineStyle:"inherit",lineWidth:"inherit",bodyBorderBuyColor:"#4094e8",bodyBorderSellColor:"#e75656",bodyBackgroundColor:C,bodyBackgroundTransparency:25,bodyTextPositiveColor:"#268c02",bodyTextNeutralColor:"#646464",bodyTextNegativeColor:"#e75656",bodyFontFamily:"Verdana",bodyFontSize:9,bodyFontBold:!0,bodyFontItalic:!1,quantityBorderBuyColor:"#4094e8",quantityBorderSellColor:"#e75656",quantityBackgroundBuyColor:"#4094e8",quantityBackgroundSellColor:"#e75656",quantityTextColor:w,quantityTextTransparency:0,quantityFontFamily:"Verdana",quantityFontSize:9,quantityFontBold:!0,quantityFontItalic:!1,reverseButtonBorderBuyColor:"#4094e8",reverseButtonBorderSellColor:"#e75656",reverseButtonBackgroundColor:C,reverseButtonBackgroundTransparency:25,reverseButtonIconBuyColor:"#4094e8",reverseButtonIconSellColor:"#e75656",closeButtonBorderBuyColor:"#4094e8",closeButtonBorderSellColor:"#e75656",closeButtonBackgroundColor:C,closeButtonBackgroundTransparency:25,closeButtonIconBuyColor:"#4094e8",closeButtonIconSellColor:"#e75656",tooltip:"",protectTooltip:"",closeTooltip:"",reverseTooltip:""},linetoolexecution:{direction:"buy",arrowHeight:8,arrowSpacing:1, -arrowBuyColor:"#4094e8",arrowSellColor:"#e75656",text:"",textColor:b,textTransparency:0,fontFamily:"Verdana",fontSize:10,fontBold:!1,fontItalic:!1,tooltip:""},linetoolicon:{color:T,size:40,icon:61720,angle:.5*Math.PI},linetoolimage:{transparency:0,cssWidth:0,cssHeight:0,angle:0},linetoolbezierquadro:{linecolor:T,linewidth:1,fillBackground:!1,backgroundColor:A,transparency:50,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal},linetoolbeziercubic:{linecolor:R,linewidth:1,fillBackground:!1,backgroundColor:O,transparency:50,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal},linetooltrendline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolinfoline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!0,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!0,showBarsRange:!0,showDateTimeRange:!0,showDistance:!0,showAngle:!0,statsPosition:f.Center},linetooltimecycles:{linecolor:"#159980",linewidth:1,fillBackground:!0,backgroundColor:"rgba(106, 168, 79, 0.5)",transparency:50,linestyle:CanvasEx.LINESTYLE_SOLID},linetoolsineline:{linecolor:"#159980",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},linetooltrendangle:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,textcolor:T,fontsize:12,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,extendRight:!1,extendLeft:!1,statsPosition:f.Right},linetooldisjointangle:{linecolor:le,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,fillBackground:!0,backgroundColor:ce,transparency:20,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,textcolor:le,fontsize:12,bold:!1,italic:!1,showPrices:!1,showPriceRange:!1,showDateTimeRange:!1,showBarsRange:!1},linetoolflatbottom:{linecolor:ge,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,fillBackground:!0,backgroundColor:fe,transparency:20,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Normal,textcolor:ge,fontsize:12,bold:!1,italic:!1,showPrices:!1,showPriceRange:!1,showDateTimeRange:!1,showBarsRange:!1},linetoolfibspiral:{counterclockwise:!1,linecolor:le,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},linetoolriskrewardshort:{linecolor:Te,linewidth:1,textcolor:w,fontsize:12,fillLabelBackground:!0,labelBackgroundColor:"#585858",fillBackground:!0,stopBackground:K,profitBackground:ce,stopBackgroundTransparency:80,profitBackgroundTransparency:80,drawBorder:!1,borderColor:"#667b8b",compact:!1,riskDisplayMode:"percents", -accountSize:1e3,lotSize:1,risk:25,alwaysShowStats:!1,showPriceLabels:!0},linetoolriskrewardlong:{linecolor:Te,linewidth:1,textcolor:w,fontsize:12,fillLabelBackground:!0,labelBackgroundColor:"#585858",fillBackground:!0,stopBackground:K,profitBackground:ce,stopBackgroundTransparency:80,profitBackgroundTransparency:80,drawBorder:!1,borderColor:"#667b8b",compact:!1,riskDisplayMode:"percents",accountSize:1e3,lotSize:1,risk:25,alwaysShowStats:!1,showPriceLabels:!0},linetoolarrow:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,leftEnd:m.Normal,rightEnd:m.Arrow,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolray:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!0,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolextended:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!0,extendRight:!0,leftEnd:m.Normal,rightEnd:m.Normal,showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textcolor:T,fontsize:14,bold:!1,italic:!1,alwaysShowStats:!1,showMiddlePoint:!1,showPriceLabels:!1,showPriceRange:!1,showBarsRange:!1,showDateTimeRange:!1,showDistance:!1,showAngle:!1,statsPosition:f.Right},linetoolhorzline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,showPrice:!0,showLabel:!1,textcolor:T,fontsize:12,bold:!1,italic:!1,horzLabelsAlign:"center",vertLabelsAlign:"top"},linetoolhorzray:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,showPrice:!0,showLabel:!1,textcolor:T,fontsize:12,bold:!1,italic:!1,horzLabelsAlign:"center",vertLabelsAlign:"top"},linetoolvertline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLine:!0,showTime:!0,showLabel:!1,horzLabelsAlign:"right",vertLabelsAlign:"top",textcolor:T,textOrientation:"vertical",fontsize:14,bold:!1,italic:!1},linetoolcrossline:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,showPrice:!0,showTime:!0},linetoolcirclelines:{trendline:{visible:!0,color:"#808080",linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},linecolor:"#80ccdb",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},linetoolfibtimezone:{horzLabelsAlign:"right",vertLabelsAlign:"bottom",baselinecolor:"#808080",linecolor:"#0055db",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,showLabels:!0,fillBackground:!1,transparency:80,trendline:{visible:!0,color:"#808080",linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},level1:r(0,Te,!0),level2:r(1,T,!0),level3:r(2,T,!0),level4:r(3,T,!0),level5:r(5,T,!0),level6:r(8,T,!0),level7:r(13,T,!0),level8:r(21,T,!0),level9:r(34,T,!0),level10:r(55,T,!0), -level11:r(89,T,!0)},linetooltext:{color:T,fontsize:14,fillBackground:!1,backgroundColor:"rgba(91, 133, 191, 0.3)",backgroundTransparency:70,drawBorder:!1,borderColor:"#667b8b",bold:!1,italic:!1,fixedSize:!0,wordWrap:!1,wordWrapWidth:200},linetooltextabsolute:{color:T,fontsize:14,fillBackground:!1,backgroundColor:"rgba(155, 190, 213, 0.3)",backgroundTransparency:70,drawBorder:!1,borderColor:"#667b8b",bold:!1,italic:!1,fixedSize:!1,wordWrap:!1,wordWrapWidth:200},linetoolballoon:{color:w,backgroundColor:se,borderColor:te,fontsize:14,transparency:30},linetoolbrush:{linecolor:R,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,smooth:5,fillBackground:!1,backgroundColor:F,transparency:50,leftEnd:m.Normal,rightEnd:m.Normal},linetoolhighlighter:{linecolor:re,smooth:5,transparency:85},linetoolpolyline:{linecolor:V,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,fillBackground:!0,backgroundColor:B,transparency:50,filled:!1},linetoolsignpost:{itemType:p.Emoji,emoji:"🙂",showImage:!1,plateColor:T,fontSize:12,bold:!1,italic:!1},linetoolpath:{lineColor:T,lineWidth:2,lineStyle:CanvasEx.LINESTYLE_SOLID,leftEnd:m.Normal,rightEnd:m.Arrow},linetoolarrowmarkleft:{color:T,arrowColor:T,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolarrowmarkup:{color:le,arrowColor:le,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolarrowmarkright:{color:T,arrowColor:T,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolarrowmarkdown:{color:Z,arrowColor:Z,fontsize:14,bold:!1,italic:!1,showLabel:!0},linetoolflagmark:{flagColor:T},linetoolnote:{markerColor:T,textColor:w,backgroundColor:x,backgroundTransparency:0,borderColor:T,fontSize:14,bold:!1,italic:!1,fixedSize:!0},linetoolnoteabsolute:{markerColor:T,textColor:w,backgroundColor:x,backgroundTransparency:0,borderColor:T,fontSize:14,bold:!1,italic:!1,fixedSize:!0},linetoolpricelabel:{color:w,backgroundColor:T,borderColor:T,fontWeight:"bold",fontsize:14,transparency:0},linetoolpricenote:{showLabel:!1,horzLabelsAlign:"center",vertLabelsAlign:"bottom",textColor:T,fontSize:14,bold:!1,italic:!1,lineColor:T,priceLabelBackgroundColor:T,priceLabelBorderColor:T,priceLabelTextColor:w,priceLabelFontSize:12,priceLabelBold:!1,priceLabelItalic:!1},linetoolarrowmarker:{backgroundColor:E,textColor:E,bold:!0,italic:!1,fontsize:16,showLabel:!0},linetoolrectangle:{color:ee,fillBackground:!0,backgroundColor:ie,linewidth:1,transparency:50,showLabel:!1,horzLabelsAlign:"left",vertLabelsAlign:"bottom",textColor:ee,fontSize:14,bold:!1,italic:!1,extendLeft:!1,extendRight:!1},linetoolrotatedrectangle:{color:pe,fillBackground:!0,backgroundColor:_e,transparency:50,linewidth:1},linetoolcircle:{color:ge,backgroundColor:fe,fillBackground:!0,linewidth:1,showLabel:!1,textColor:ge,fontSize:14,bold:!1,italic:!1},linetoolellipse:{color:ne,fillBackground:!0,backgroundColor:oe,transparency:50,linewidth:1,showLabel:!1,textColor:ne,fontSize:14,bold:!1,italic:!1},linetoolarc:{color:J,fillBackground:!0,backgroundColor:Q,transparency:50,linewidth:1},linetoolprediction:{linecolor:T,linewidth:1,sourceBackColor:T,sourceTextColor:w, -sourceStrokeColor:T,targetStrokeColor:T,targetBackColor:T,targetTextColor:w,successBackground:pe,successTextColor:w,failureBackground:q,failureTextColor:w,intermediateBackColor:"#ead289",intermediateTextColor:"#6d4d22",transparency:10,centersColor:"#202020"},linetooltriangle:{color:Se,fillBackground:!0,backgroundColor:ye,transparency:50,linewidth:1},linetoolcallout:{color:w,backgroundColor:H,transparency:50,linewidth:1,fontsize:14,bordercolor:W,bold:!1,italic:!1,wordWrap:!1,wordWrapWidth:200},linetoolparallelchannel:{linecolor:T,linewidth:2,linestyle:CanvasEx.LINESTYLE_SOLID,extendLeft:!1,extendRight:!1,fillBackground:!0,backgroundColor:A,transparency:20,showMidline:!0,midlinecolor:T,midlinewidth:1,midlinestyle:CanvasEx.LINESTYLE_DASHED},linetoolelliottimpulse:{degree:7,showWave:!0,color:"#3d85c6",linewidth:1},linetoolelliotttriangle:{degree:7,showWave:!0,color:ge,linewidth:1},linetoolelliotttriplecombo:{degree:7,showWave:!0,color:"#6aa84f",linewidth:1},linetoolelliottcorrection:{degree:7,showWave:!0,color:"#3d85c6",linewidth:1},linetoolelliottdoublecombo:{degree:7,showWave:!0,color:"#6aa84f",linewidth:1},linetoolbarspattern:{color:T,mode:c.Bars,mirrored:!1,flipped:!1},linetoolghostfeed:{averageHL:20,variance:50,candleStyle:{upColor:ae,downColor:U,drawWick:!0,drawBorder:!0,borderColor:"#378658",borderUpColor:le,borderDownColor:q,wickColor:Te},transparency:50},study:{inputs:{},styles:{},palettes:{},bands:{},area:{},graphics:{},visible:!0,showLegendValues:!0,showLabelsOnPriceScale:!0,precision:"default"},linetoolpitchfork:{fillBackground:!0,transparency:80,style:l.Original,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolpitchfan:{fillBackground:!0,transparency:80,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolgannfan:{showLabels:!0,fillBackground:!0,transparency:80,level1:Be(1,8,me,!0),level2:Be(1,4,ue,!0),level3:Be(1,3,pe,!0),level4:Be(1,2,le,!0),level5:Be(1,1,"#64b5f6",!0),level6:Be(2,1,T,!0),level7:Be(3,1,ee,!0),level8:Be(4,1,ne,!0),level9:Be(8,1,j,!0)},linetoolganncomplex:{fillBackground:!1,arcsBackground:{fillBackground:!0,transparency:80},reverse:!1,scaleRatio:"",showLabels:!0,labelsStyle:{fontSize:12,bold:!1,italic:!1},levels:[y(Te,!0,1),y(ge,!0,1),y(ue,!0,1),y(pe,!0,1),y(le,!0,1),y(Te,!0,1)],fanlines:[xe(k,!1,1,8,1),xe(q,!1,1,5,1),xe(Te,!1,1,4,1),xe(ge,!1,1,3,1),xe(ue,!0,1,2,1),xe(pe,!0,1,1,1),xe(le,!0,1,1,2),xe(le,!1,1,1,3),xe(T,!1,1,1,4),xe(D,!1,1,1,5),xe(k,!1,1,1,8)],arcs:[xe(ge,!0,1,1,0),xe(ge,!0,1,1,1),xe(ge,!0,1,1.5,0),xe(ue,!0,1,2,0),xe(ue,!0,1,2,1),xe(pe,!0,1,3,0),xe(pe,!0,1,3,1),xe(le,!0,1,4,0),xe(le,!0,1,4,1),xe(T,!0,1,5,0),xe(T,!0,1,5,1)]}, -linetoolgannfixed:{fillBackground:!1,arcsBackground:{fillBackground:!0,transparency:80},reverse:!1,levels:[y(Te,!0,1),y(ge,!0,1),y(ue,!0,1),y(pe,!0,1),y(le,!0,1),y(Te,!0,1)],fanlines:[xe(k,!1,1,8,1),xe(q,!1,1,5,1),xe(Te,!1,1,4,1),xe(ge,!1,1,3,1),xe(ue,!0,1,2,1),xe(pe,!0,1,1,1),xe(le,!0,1,1,2),xe(le,!1,1,1,3),xe(T,!1,1,1,4),xe(D,!1,1,1,5),xe(k,!1,1,1,8)],arcs:[xe(ge,!0,1,1,0),xe(ge,!0,1,1,1),xe(ge,!0,1,1.5,0),xe(ue,!0,1,2,0),xe(ue,!0,1,2,1),xe(pe,!0,1,3,0),xe(pe,!0,1,3,1),xe(le,!0,1,4,0),xe(le,!0,1,4,1),xe(T,!0,1,5,0),xe(T,!0,1,5,1)]},linetoolgannsquare:{color:"rgba(21, 56, 153, 0.8)",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,showTopLabels:!0,showBottomLabels:!0,showLeftLabels:!0,showRightLabels:!0,fillHorzBackground:!0,horzTransparency:80,fillVertBackground:!0,vertTransparency:80,reverse:!1,fans:t(Pe,!1),hlevel1:i(0,Te,!0),hlevel2:i(.25,Se,!0),hlevel3:i(.382,ue,!0),hlevel4:i(.5,pe,!0),hlevel5:i(.618,le,!0),hlevel6:i(.75,T,!0),hlevel7:i(1,Te,!0),vlevel1:i(0,Te,!0),vlevel2:i(.25,Se,!0),vlevel3:i(.382,ue,!0),vlevel4:i(.5,pe,!0),vlevel5:i(.618,le,!0),vlevel6:i(.75,T,!0),vlevel7:i(1,Te,!0)},linetoolfibspeedresistancefan:{fillBackground:!0,transparency:80,grid:{color:"rgba(21, 56, 153, 0.8)",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,visible:!0},linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,showTopLabels:!0,showBottomLabels:!0,showLeftLabels:!0,showRightLabels:!0,reverse:!1,hlevel1:i(0,Te,!0),hlevel2:i(.25,Se,!0),hlevel3:i(.382,ue,!0),hlevel4:i(.5,pe,!0),hlevel5:i(.618,le,!0),hlevel6:i(.75,T,!0),hlevel7:i(1,Te,!0),vlevel1:i(0,Te,!0),vlevel2:i(.25,Se,!0),vlevel3:i(.382,ue,!0),vlevel4:i(.5,pe,!0),vlevel5:i(.618,le,!0),vlevel6:i(.75,T,!0),vlevel7:i(1,Te,!0)},linetoolfibretracement:{showCoeffs:!0,showPrices:!0,fillBackground:!0,transparency:80,extendLines:!1,extendLinesLeft:!1,horzLabelsAlign:"left",vertLabelsAlign:"bottom",reverse:!1,coeffsAsPercents:!1,fibLevelsBasedOnLogScale:!1,labelFontSize:12,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},levelsStyle:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:i(0,Te,!0),level2:i(.236,q,!0),level3:i(.382,ue,!0),level4:i(.5,pe,!0),level5:i(.618,le,!0),level6:i(.786,"#64b5f6",!0),level7:i(1,Te,!0),level8:i(1.618,T,!0),level9:i(2.618,q,!0),level10:i(3.618,ee,!0),level11:i(4.236,ne,!0),level12:i(1.272,ue,!1),level13:i(1.414,q,!1),level16:i(2,le,!1),level14:i(2.272,ue,!1),level15:i(2.414,pe,!1),level17:i(3,"#64b5f6",!1),level18:i(3.272,Te,!1),level19:i(3.414,T,!1),level20:i(4,"#cc2828",!1),level21:i(4.272,ee,!1),level22:i(4.414,ne,!1),level23:i(4.618,ue,!1),level24:i(4.764,le,!1)},linetoolfibchannel:{showCoeffs:!0,showPrices:!0,fillBackground:!0,transparency:80,extendLeft:!1,extendRight:!1,horzLabelsAlign:"left",vertLabelsAlign:"middle",coeffsAsPercents:!1,labelFontSize:12,levelsStyle:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:i(0,Te,!0),level2:i(.236,q,!0),level3:i(.382,ue,!0),level4:i(.5,pe,!0),level5:i(.618,le,!0),level6:i(.786,"#64b5f6",!0),level7:i(1,Te,!0),level8:i(1.618,T,!0),level9:i(2.618,q,!0), -level10:i(3.618,ee,!0),level11:i(4.236,ne,!0),level12:i(1.272,ue,!1),level13:i(1.414,q,!1),level16:i(2,le,!1),level14:i(2.272,ue,!1),level15:i(2.414,pe,!1),level17:i(3,"#64b5f6",!1),level18:i(3.272,Te,!1),level19:i(3.414,T,!1),level20:i(4,"#cc2828",!1),level21:i(4.272,ee,!1),level22:i(4.414,ne,!1),level23:i(4.618,ue,!1),level24:i(4.764,le,!1)},linetoolprojection:{showCoeffs:!0,fillBackground:!0,transparency:80,color1:A,color2:ie,linewidth:1,trendline:{visible:!0,color:Pe,linestyle:CanvasEx.LINESTYLE_SOLID},level1:r(1,"#808080",!0)},linetool5pointspattern:{color:T,textcolor:w,fillBackground:!0,backgroundColor:T,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetoolcypherpattern:{color:T,textcolor:w,fillBackground:!0,backgroundColor:T,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetooltrianglepattern:{color:N,textcolor:w,fillBackground:!0,backgroundColor:N,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetoolabcd:{color:le,textcolor:w,fontsize:12,bold:!1,italic:!1,linewidth:1},linetoolthreedrivers:{color:N,textcolor:w,fillBackground:!0,backgroundColor:"rgba(149, 40, 204, 0.5)",fontsize:12,bold:!1,italic:!1,transparency:50,linewidth:1},linetoolheadandshoulders:{color:le,textcolor:w,fillBackground:!0,backgroundColor:le,fontsize:12,bold:!1,italic:!1,transparency:85,linewidth:1},linetoolfibwedge:{showCoeffs:!0,fillBackground:!0,transparency:80,trendline:{visible:!0,color:"#808080",linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:r(.236,q,!0),level2:r(.382,ue,!0),level3:r(.5,pe,!0),level4:r(.618,le,!0),level5:r(.786,"#64b5f6",!0),level6:r(1,Te,!0),level7:r(1.618,T,!1),level8:r(2.618,q,!1),level9:r(3.618,N,!1),level10:r(4.236,ne,!1),level11:r(4.618,ne,!1)},linetoolfibcircles:{showCoeffs:!0,fillBackground:!0,transparency:80,coeffsAsPercents:!1,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},level1:r(.236,q,!0),level2:r(.382,ue,!0),level3:r(.5,pe,!0),level4:r(.618,le,!0),level5:r(.786,"#64b5f6",!0),level6:r(1,Te,!0),level7:r(1.618,T,!0),level8:r(2.618,q,!0),level9:r(3.618,N,!0),level10:r(4.236,ne,!0),level11:r(4.618,ne,!0)},linetoolfibspeedresistancearcs:{showCoeffs:!0,fillBackground:!0,transparency:80,fullCircles:!1,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},level1:r(.236,q,!0),level2:r(.382,ue,!0),level3:r(.5,pe,!0),level4:r(.618,le,!0),level5:r(.786,"#64b5f6",!0),level6:r(1,Te,!0),level7:r(1.618,T,!0),level8:r(2.618,q,!0),level9:r(3.618,N,!0),level10:r(4.236,ne,!0),level11:r(4.618,ne,!0)},linetooltrendbasedfibextension:{showCoeffs:!0,showPrices:!0,fillBackground:!0,transparency:80,extendLines:!1,extendLinesLeft:!1,horzLabelsAlign:"left",vertLabelsAlign:"bottom",reverse:!1,coeffsAsPercents:!1,fibLevelsBasedOnLogScale:!1,labelFontSize:12,trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},levelsStyle:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},level1:i(0,Te,!0),level2:i(.236,q,!0),level3:i(.382,ue,!0),level4:i(.5,pe,!0),level5:i(.618,le,!0),level6:i(.786,"#64b5f6",!0), -level7:i(1,Te,!0),level8:i(1.618,T,!0),level9:i(2.618,q,!0),level10:i(3.618,ee,!0),level11:i(4.236,ne,!0),level12:i(1.272,ue,!1),level13:i(1.414,q,!1),level16:i(2,le,!1),level14:i(2.272,ue,!1),level15:i(2.414,pe,!1),level17:i(3,"#64b5f6",!1),level18:i(3.272,Te,!1),level19:i(3.414,T,!1),level20:i(4,"#cc2828",!1),level21:i(4.272,ee,!1),level22:i(4.414,ne,!1),level23:i(4.618,ue,!1),level24:i(4.764,le,!1)},linetooltrendbasedfibtime:{showCoeffs:!0,fillBackground:!0,transparency:80,horzLabelsAlign:"right",vertLabelsAlign:"bottom",trendline:{visible:!0,color:Te,linewidth:1,linestyle:CanvasEx.LINESTYLE_DASHED},level1:r(0,Te,!0),level2:r(.382,q,!0),level3:r(.5,ue,!1),level4:r(.618,pe,!0),level5:r(1,le,!0),level6:r(1.382,"#64b5f6",!0),level7:r(1.618,Te,!0),level8:r(2,T,!0),level9:r(2.382,q,!0),level10:r(2.618,ee,!0),level11:r(3,ne,!0)},linetoolschiffpitchfork:{fillBackground:!0,transparency:80,style:l.Schiff,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolschiffpitchfork2:{fillBackground:!0,transparency:80,style:l.Schiff2,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolinsidepitchfork:{fillBackground:!0,transparency:80,style:l.Inside,median:{visible:!0,color:q,linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID},extendLines:!1,level0:r(.25,me,!1),level1:r(.382,ue,!1),level2:r(.5,pe,!0),level3:r(.618,le,!1),level4:r(.75,"#64b5f6",!1),level5:r(1,T,!0),level6:r(1.5,ee,!1),level7:r(1.75,ne,!1),level8:r(2,j,!1)},linetoolregressiontrend:{linewidth:1,linestyle:CanvasEx.LINESTYLE_SOLID,styles:{upLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2},downLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2},baseLine:{visible:!0,color:Y,linestyle:CanvasEx.LINESTYLE_DASHED,linewidth:1},extendLines:!1,showPearsons:!0,transparency:70}}},Re(TradingView.defaultProperties.chartproperties),Fe()}if(void 0===TradingView.defaultProperties["study_MA@tv-basicstudies"]&&(TradingView.defaultProperties["study_MA@tv-basicstudies"]={description:"Moving Average",shortDescription:"MA",inputs:{length:9,source:"close"},styles:{MovAvg:{visible:!0,color:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0,title:"MA"}}}),void 0===TradingView.defaultProperties["study_PivotPointsHighLow@tv-basicstudies"]&&(TradingView.defaultProperties["study_PivotPointsHighLow@tv-basicstudies"]={fontsize:10,borderColor:T,backColor:P,textColor:Le}),void 0===TradingView.defaultProperties["study_PivotPointsStandard@tv-basicstudies"]){TradingView.defaultProperties["study_PivotPointsStandard@tv-basicstudies"]={_hardCodedDefaultsVersion:1,fontsize:11,levelsStyle:{ -showLabels:!0,visibility:{P:!0,"S1/R1":!0,"S2/R2":!0,"S3/R3":!0,"S4/R4":!0,"S5/R5":!0},colors:{P:ve,"S1/R1":ve,"S2/R2":ve,"S3/R3":ve,"S4/R4":ve,"S5/R5":ve},widths:{P:1,"S1/R1":1,"S2/R2":1,"S3/R3":1,"S4/R4":1,"S5/R5":1}}}}if(void 0===TradingView.defaultProperties["study_ZigZag@tv-basicstudies"]&&(TradingView.defaultProperties["study_ZigZag@tv-basicstudies"]={color:T,linewidth:2}),void 0===TradingView.defaultProperties["study_ElliottWave@tv-basicstudies"]&&(TradingView.defaultProperties["study_ElliottWave@tv-basicstudies"]={inputs:{},level0:t(z,!1),level1:t("#008000",!1),level2:t("#0000ff",!1),level3:t("#ff00ff",!1),level4:t("#0080ff",!0),level5:t(z,!0),level6:t("#008000",!0),level7:t("#0000ff",!0),level8:t("#ff00ff",!0)}),void 0===TradingView.defaultProperties["study_LinearRegression@tv-basicstudies"]&&(TradingView.defaultProperties["study_LinearRegression@tv-basicstudies"]={styles:{upLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1},downLine:{visible:!0,color:I,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1},baseLine:{visible:!0,color:Y,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1},extendLines:!0,showPearsons:!0,backgroundColor:"rgba(153, 21, 21, 0.3)",transparency:70}}),void 0===TradingView.defaultProperties["study_Compare@tv-basicstudies"]&&(TradingView.defaultProperties["study_Compare@tv-basicstudies"]={minTick:"default"}),void 0===TradingView.defaultProperties["study_Overlay@tv-basicstudies"]){TradingView.defaultProperties["study_Overlay@tv-basicstudies"]={style:a.STYLE_LINE,allowExtendTimeScale:!1,showPriceLine:!1,minTick:"default",candleStyle:{upColor:"#6ba583",downColor:"#d75442",drawWick:!0,drawBorder:!0,drawBody:!0,borderColor:"#378658",borderUpColor:"#225437",borderDownColor:"#5b1a13",wickColor:"#737375",wickUpColor:"#737375",wickDownColor:"#737375",barColorsOnPrevClose:!1},hollowCandleStyle:{upColor:"#6ba583",downColor:"#d75442",drawWick:!0,drawBorder:!0,drawBody:!0,borderColor:"#378658",borderUpColor:"#225437",borderDownColor:"#5b1a13",wickColor:"#737375",wickUpColor:"#737375",wickDownColor:"#737375",barColorsOnPrevClose:!1},barStyle:{upColor:"#6ba583",downColor:"#d75442",barColorsOnPrevClose:!1,dontDrawOpen:!1,thinBars:!0},lineStyle:{color:be,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2,priceSource:"close",styleType:a.STYLE_LINE_TYPE_SIMPLE},areaStyle:{color1:T,color2:T,linecolor:T,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:2,priceSource:"close",transparency:95},baselineStyle:{baselineColor:Ae,topFillColor1:ke,topFillColor2:ke,bottomFillColor1:Ve,bottomFillColor2:Ve,topLineColor:Ee,bottomLineColor:De,topLineWidth:2,bottomLineWidth:2,priceSource:"close",transparency:50,baseLevelPercentage:50},columnStyle:{upColor:n(le,50),downColor:n(q,50),barColorsOnPrevClose:!0,priceSource:"close"},styles:{open:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0},high:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0},low:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1, -plottype:h.Line,histogramBase:0},close:{visible:!0,color:z,linestyle:CanvasEx.LINESTYLE_SOLID,linewidth:1,plottype:h.Line,histogramBase:0}}}}for(var Oe=e.split("."),We=TradingView.defaultProperties,He=0;He1?h(e[r],t.slice(1),i):(e[r]&&e[r].setValue?e[r].setValue(i):e[r]=i,!0))}function d(e){i||y.logWarn("Path `"+e+"` does not exist.")}}function Re(e,t,i,s){window.__defaultsOverrides&&Ne(e,t,i,window.__defaultsOverrides,s)}function Oe(e,t){window.__settingsOverrides&&Ne(e,null,!1,window.__settingsOverrides,t)}function Fe(){var e=/^linetool.+/;Object.keys(TradingView.defaultProperties).forEach((function(t){e.test(t)&&Re(TradingView.defaultProperties[t],null,!1,t)}))}function We(e,t){return t?function(e,t){var i=Be(e);if(!window._UNIT_TESTS){var s=TradingView.clone(TVSettings.getJSON(e,null));if(function(e){var t=new Set(["linetoolregressiontrend"]);return e.startsWith("study_")||t.has(e)}(e)&&s&&function(e){if(!e)return!1;e=e.toString();var t=new RegExp("\\d+").exec(e);return null!==t&&t[0]===e}(s.version)){var r=s.inputs,n=t.updateStudyInputs(s.id,s.version,"last",r,null);s.inputs=n;var o=t.updateStudyState(s,s);s=o}TradingView.merge(i,s),Oe(i,e)}return i}(e,t):function(e){var t=Be(e);if(!window._UNIT_TESTS){var i=TradingView.clone(TVSettings.getJSON(e,null));if(i){TradingView.merge(t,i);const s=e.split(".");Oe(t,void 0===s[1]?e:s[1])}}return t}(e)}We.create=function(e,t){if(t){var i=Be(e);TradingView.defaultProperties[e]=Object.assign(t,i)}},We.remove=function(e){TradingView.defaultProperties[e]=void 0},TradingView.saveDefaults=function(e,t){void 0===t?TVSettings.remove(e):TVSettings.setJSON(e,t)},TradingView.factoryDefaults=Be,window.applyDefaultOverridesToLinetools=Fe,window.applyDefaultsOverrides=Re,window.applyPropertiesOverrides=Ne,window.defaults=We,t.applyDefaultOverridesToLinetools=Fe,t.applyDefaultsOverrides=Re,t.applyPropertiesOverrides=Ne,t.defaults=We,t.factoryDefaults=Be,t.saveDefaults=TradingView.saveDefaults},85733:(e,t,i)=>{"use strict";i.r(t),i.d(t,{toolIsCursor:()=>p,toolIsMeasure:()=>_,resetToCursor:()=>m,lockTimeAxisTime:()=>w,tool:()=>C,iconTool:()=>P,cursorTool:()=>T,isToolCreatingNow:()=>x,isToolEditingNow:()=>I,isToolMovingNow:()=>M,isDirectionalMovementActive:()=>L,createdLineTool:()=>A,continuedLineTool:()=>E,cancelledLineTool:()=>k,beenSetLineToolLastPoint:()=>D,startedMovingLineTool:()=>V,movedLineTool:()=>B,finishedMovingLineTool:()=>N,startedChangingLineTool:()=>R,changedLineTool:()=>O,finishedChangingLineTool:()=>F,removedLineTool:()=>W,finishedLineTool:()=>H,changedLineStyle:()=>z,copiedLineTool:()=>U,restoredLineTool:()=>j,restoredLineToolState:()=>G,isPointSelectedNow:()=>q,isStudyEditingNow:()=>Y, -createLineTool:()=>X,continueLineTool:()=>Z,cancelLineTool:()=>J,setLineToolLastPoint:()=>Q,startMovingLineTool:()=>ee,moveLineTool:()=>te,finishMovingLineTool:()=>ie,startChangingLineTool:()=>se,changeLineTool:()=>re,finishChangingLineTool:()=>ne,removeLineTool:()=>oe,finishLineTool:()=>ae,changeLineStyle:()=>le,copyLineTool:()=>ce,restoreLineTool:()=>he,restoreLineToolState:()=>de,init:()=>_e,runOnDrawingStateReady:()=>me,properties:()=>ge,hideAllDrawings:()=>fe,hideAllIndicators:()=>ve,lockDrawings:()=>Se,hideMarksOnBars:()=>ye,drawOnAllCharts:()=>be,drawOnAllChartsMode:()=>we,lockTimeAxis:()=>Ce});var s=i(88537),r=i(32255),n=i(88564),o=i(59803),a=i(52714),l=i.n(a),c=i(2872),h=i.n(c),d=i(56840),u=i(76422);function p(e){return"cursor"===e||"arrow"===e||"dot"===e}function _(e){return"measure"===e}function m(e=!1){if(!e&&g){if(g.childs().stayInDrawingMode.value())return}C.setValue(T.value())}let g=null,f=null,v=null,S=null,y=null,b=null;const w=new(l()),C=new(l()),P=new(l()),T=new(l()),x=new(l())(!1),I=new(l())(!1),M=new(l())(!1),L=new(l())(!1),A=new(h()),E=new(h()),k=new(h()),D=new(h()),V=new(h()),B=new(h()),N=new(h()),R=new(h()),O=new(h()),F=new(h()),W=new(h()),H=new(h()),z=new(h()),U=new(h()),j=new(h()),G=new(h()),q=new(l())(!1),Y=new(l())(!1);function K(e,t){const i=t||{value:!1};return t=>{i.value||(i.value=!0,e.fire(t),i.value=!1)}}const $={value:!1},X=K(A,$),Z=K(E,$),J=K(k,$),Q=K(D,$),ee=K(V),te=K(B),ie=K(N),se=K(R),re=K(O),ne=K(F),oe=K(W),ae=K(H),le=K(z,$),ce=K(U,$),he=K(j),de=K(G);let ue=!1,pe=[];function _e(){ue||(C.setValue(d.getValue("chart.cursorPreference","cursor")),C.subscribe(e=>p(e)&&T.setValue(e),{callWithLast:!0}),T.subscribe(e=>{e&&d.setValue("chart.cursorPreference",e)}),g=new n.DefaultProperty("drawings"),f=(0,r.createPrimitiveProperty)(),v=(0,r.createPrimitiveProperty)(),S=(0,r.createPrimitiveProperty)(),y=(0,r.createPrimitiveProperty)(),b=(0,r.createPrimitiveProperty)(),f.setValue(!1),v.setValue(!1),S.setValue(!1),y.setValue(!1),b.setValue(!1),C.subscribe(()=>{(0,u.emit)("onSelectedLineToolChanged")}),P.subscribe(()=>{(0,o.saveDefaults)("linetoolicon",{...(0,o.defaults)("linetoolicon"),icon:P.value()})}),ue=!0,pe.forEach(e=>e()),pe=[])}function me(e){ue?e():pe.push(e)}function ge(){return(0,s.ensureNotNull)(g)}function fe(){return(0,s.ensureNotNull)(f)}function ve(){return(0,s.ensureNotNull)(v)}function Se(){return(0,s.ensureNotNull)(S)}function ye(){return(0,s.ensureNotNull)(y)}function be(){return ge().childs().drawOnAllCharts}function we(){return ge().childs().drawOnAllChartsMode}function Ce(){return(0,s.ensureNotNull)(b)}},77216:(e,t,i)=>{"use strict";i.d(t,{EnvironmentState:()=>r});var s=i(49483);class r{constructor(e,t=!1){this._shift=!1,this._mod=!1,this._alt=!1,void 0!==e&&(this._shift=Boolean(e.shiftKey),this._mod=Boolean((0,s.isMac)()?e.metaKey:e.ctrlKey),this._alt=Boolean(e.altKey)),this._isApiEvent=t}shift(){return this._shift}mod(){return this._mod}alt(){return this._alt}shiftOnly(){return this._shift&&!this._mod&&!this._alt}modOnly(){return this._mod&&!this._shift&&!this._alt} -altOnly(){return this._alt&&!this._shift&&!this._mod}modShift(){return this._shift&&this._mod&&!this._alt}isApiEvent(){return this._isApiEvent}static create(e=!1,t=!1,i=!1){return new r({shiftKey:e,ctrlKey:t,metaKey:t,altKey:i})}}},19234:(e,t,i)=>{"use strict";function s(e){return"="+JSON.stringify(function e(t){return Object.keys(t).sort().reduce((i,s)=>("[object Object]"===Object.prototype.toString.call(t[s])?i[s]=e(t[s]):i[s]=t[s],i),{})}(e))}function r(e){return s(e)}function n(e){return"="===e[0]}function o(e){if(!n(e))return{symbol:e};try{return JSON.parse(e.slice(1))}catch(t){return{symbol:e}}}function a(e){return"string"==typeof e?e:a(e.symbol)}i.r(t),i.d(t,{encodeExtendedSymbolOrGetSimpleSymbolString:()=>r,isEncodedExtendedSymbol:()=>n,decodeExtendedSymbol:()=>o,unwrapSimpleSymbol:()=>a})},69147:(e,t,i)=>{"use strict";i.d(t,{customFormatters:()=>s});const s={dateFormatter:null,timeFormatter:null,tickMarkFormatter:null,priceFormatterFactory:null,studyFormatterFactory:null}},7043:(e,t,i)=>{"use strict";i.d(t,{dateFormatFunctions:()=>p,availableDateFormats:()=>_,defaultDateFormat:()=>m});var s=i(28353),r=i(97098);const n={1:()=>(0,s.t)("Jan"),2:()=>(0,s.t)("Feb"),3:()=>(0,s.t)("Mar"),4:()=>(0,s.t)("Apr"),5:()=>(0,s.t)("May",{context:"short"}),6:()=>(0,s.t)("Jun"),7:()=>(0,s.t)("Jul"),8:()=>(0,s.t)("Aug"),9:()=>(0,s.t)("Sep"),10:()=>(0,s.t)("Oct"),11:()=>(0,s.t)("Nov"),12:()=>(0,s.t)("Dec")},o=(e,t)=>(t?e.getMonth():e.getUTCMonth())+1,a=(e,t)=>t?e.getFullYear():e.getUTCFullYear(),l=(e,t)=>(0,r.numberToStringWithLeadingZero)(((e,t)=>t?e.getDate():e.getUTCDate())(e,t),2),c=(e,t)=>n[o(e,t)](),h=(e,t)=>(0,r.numberToStringWithLeadingZero)(o(e,t),2),d=(e,t)=>(0,r.numberToStringWithLeadingZero)(a(e,t)%100,2),u=(e,t)=>(0,r.numberToStringWithLeadingZero)(a(e,t),4),p={"dd MMM 'yy":(e,t)=>`${l(e,t)} ${c(e,t)} '${d(e,t)}`,"MMM dd, yyyy":(e,t)=>`${c(e,t)} ${l(e,t)}, ${u(e,t)}`,"MMM dd":(e,t)=>`${c(e,t)} ${l(e,t)}`,"yyyy-MM-dd":(e,t)=>`${u(e,t)}-${h(e,t)}-${l(e,t)}`,"yy-MM-dd":(e,t)=>`${d(e,t)}-${h(e,t)}-${l(e,t)}`,"yy/MM/dd":(e,t)=>`${d(e,t)}/${h(e,t)}/${l(e,t)}`,"yyyy/MM/dd":(e,t)=>`${u(e,t)}/${h(e,t)}/${l(e,t)}`,"dd-MM-yyyy":(e,t)=>`${l(e,t)}-${h(e,t)}-${u(e,t)}`,"dd-MM-yy":(e,t)=>`${l(e,t)}-${h(e,t)}-${d(e,t)}`,"dd/MM/yy":(e,t)=>`${l(e,t)}/${h(e,t)}/${d(e,t)}`,"dd/MM/yyyy":(e,t)=>`${l(e,t)}/${h(e,t)}/${u(e,t)}`,"MM/dd/yy":(e,t)=>`${h(e,t)}/${l(e,t)}/${d(e,t)}`,"MM/dd/yyyy":(e,t)=>`${h(e,t)}/${l(e,t)}/${u(e,t)}`},_=Object.keys(p),m=()=>-1!==["ja","ko","zh","zh_TW"].indexOf(window.language||"")?"yyyy-MM-dd":"dd MMM 'yy"},1860:(e,t,i)=>{"use strict";i.d(t,{DateFormatter:()=>n});var s=i(69147),r=i(7043);class n{constructor(e="yyyy-MM-dd"){this._dateFormatFunc=r.dateFormatFunctions[e]}format(e){return s.customFormatters&&s.customFormatters.dateFormatter?s.customFormatters.dateFormatter.format(e):this._dateFormatFunc(e,!1)}formatLocal(e){ -return s.customFormatters.dateFormatter?s.customFormatters.dateFormatter.formatLocal?s.customFormatters.dateFormatter.formatLocal(e):s.customFormatters.dateFormatter.format(e):this._dateFormatFunc(e,!0)}}},95792:(e,t,i)=>{"use strict";i.d(t,{DateTimeFormatter:()=>o});var s=i(64806),r=i(1860);const n={dateFormat:"yyyy-MM-dd",timeFormat:"%h:%m:%s",dateTimeSeparator:" "};class o{constructor(e={}){const t=Object.assign({},n,e);this._dateFormatter=new r.DateFormatter(t.dateFormat),this._timeFormatter=new s.TimeFormatter(t.timeFormat),this._separator=t.dateTimeSeparator}format(e){return`${this._dateFormatter.format(e)}${this._separator}${this._timeFormatter.format(e)}`}formatLocal(e){return`${this._dateFormatter.formatLocal(e)}${this._separator}${this._timeFormatter.formatLocal(e)}`}}},51264:(e,t,i)=>{"use strict";i.d(t,{LimitedPrecisionNumericFormatter:()=>r});var s=i(80643);class r{constructor(e=1){this._precision=e}format(e){(0,s.isNumber)(e)||(e=parseFloat(e));const t=e.toFixed(this._precision),i=Math.pow(10,-this._precision);return Math.max(parseFloat(t),i)+""}parse(e){const t=parseFloat(e);return isNaN(t)?{res:!1}:{res:!0,value:t,suggest:this.format(t)}}}},95505:(e,t,i)=>{"use strict";i.d(t,{NumericFormatter:()=>n});var s=i(97098),r=i(60521);class n{constructor(e){this._precision=e}format(e){return(void 0!==this._precision?e.toFixed(this._precision):n.formatNoE(e)).replace(".",s.formatterOptions.decimalSign)}parse(e){const t=e.replace(s.formatterOptions.decimalSign,".");let i=parseFloat(t);return this._precision&&(i=+i.toFixed(this._precision)),i}static formatNoE(e){if(!Number.isFinite(e))return String(e);const t=new r.Big(e);return t.lt(1)?t.toFixed():t.toString()}}},26811:(e,t,i)=>{"use strict";i.d(t,{PercentageFormatter:()=>n});var s=i(97098),r=i(62820);class n extends s.PriceFormatter{constructor(e){super(e),this.type="percentage"}state(){const e=s.PriceFormatter.prototype.state.call(this);return e.percent=!0,e}parse(e){return e=e.replace("%",""),super.parse(e)}format(e,t,i,s,n=!0){const o=super.format(e,t,i,s,!1)+"%";return n?(0,r.forceLTRStr)(o):o}static serialize(e){return e.state()}static deserialize(e){return new n(e.priceScale)}}},97645:(e,t,i)=>{"use strict";i.d(t,{PipFormatter:()=>r});var s=i(97098);class r extends s.PriceFormatter{constructor(e,t,i,s){t||(t=1),"forex"!==i&&"cfd"!==i||!s?(super(1),this._isForex=!1):(super(s),this._isForex=!0),this._pipPriceScale=e,this._pipMinMove=t,this._pipMinMove2=s}format(e,t,i){let s=this._isForex?this._pipMinMove2:this._pipMinMove;return void 0===s&&(s=NaN),super.format(e*this._pipPriceScale/s,t,i)}}},97098:(e,t,i)=>{"use strict";i.r(t),i.d(t,{formatterOptions:()=>l,numberToStringWithLeadingZero:()=>c,isFormatterHasForexAdditionalPrecision:()=>h,PriceFormatter:()=>d});var s=i(28353),r=i(80643),n=i(62820);const o=(0,i(98125).getLogger)("Chart.PriceFormatter"),a=new RegExp(/^(-?)[0-9]+$/),l={decimalSign:".",decimalSignFractional:"'"};function c(e,t){if(!(0,r.isNumber)(e))return"n/a";if(!(0,r.isInteger)(t))throw new TypeError("invalid length") -;if(t<0||t>16)throw new TypeError("invalid length");if(0===t)return e.toString();return("0000000000000000"+e.toString()).slice(-t)}function h(e){return"hasForexAdditionalPrecision"in e}class d{constructor(e,t,i,n){if(this.type="price",this._formatterErrors={custom:(0,s.t)("Price format is invalid."),fraction:(0,s.t)("Fraction part is invalid."),secondFraction:(0,s.t)("Second fraction part is invalid.")},t||(t=1),(0,r.isNumber)(e)&&(0,r.isInteger)(e)||(e=100),e<0)throw new TypeError("invalid base");this._priceScale=e,this._minMove=t,this._minMove2=n,i&&void 0!==n&&n>0&&2!==n&&4!==n&&8!==n?o.logDebug("invalid minmove2"):(this._fractional=i,this.calculateDecimal())}isFractional(){return!!this._fractional}state(){return{fractional:this._fractional,fractionalLength:this._fractionalLength,minMove:this._minMove,minMove2:this._minMove2,priceScale:this._priceScale}}calculateDecimal(){if(this._fractionalLength=0,this._priceScale>0&&this._minMove>0){let e=this._priceScale;for(this._fractional&&this._minMove2&&(e/=this._minMove2);e>1;)e/=10,this._fractionalLength++}}format(e,t,i,s=!0,r=!0){let o,a="";return e<0?(a=!1===s?"":"−",e=-e):e&&!0===t&&(a="+"),o=this._fractional?a+this._formatAsFractional(e,i):a+this._formatAsDecimal(e,i),r?(0,n.forceLTRStr)(o):o}parse(e){return e=(e=(0,n.stripLTRMarks)(e)).replace("−","-"),this._fractional?this._minMove2?this._parseAsDoubleFractional(e):this._parseAsSingleFractional(e):this._parseAsDecimal(e)}hasForexAdditionalPrecision(){return!this._fractional&&10===this._minMove2}static serialize(e){return e.state()}static deserialize(e){return new d(e.priceScale,e.minMove,e.fractional,e.minMove2)}_formatAsDecimal(e,t){let i;t=t||0,i=this._fractional?Math.pow(10,this._fractionalLength||0):Math.pow(10,t)*this._priceScale/this._minMove;const s=1/i;let r;if(i>1)r=Math.floor(e);else{const t=Math.floor(Math.round(e/s)*s);r=0===Math.round((e-t)/s)?t:t+s}let n="";if(i>1){let s=parseFloat((Math.round(e*i)-r*i).toFixed(this._fractionalLength));s>=i&&(s-=i,r+=1);const o=void 0!==this._fractionalLength?this._fractionalLength:NaN;n=l.decimalSign+c(parseFloat(s.toFixed(this._fractionalLength))*this._minMove,o+t),n=this._removeEndingZeros(n,t)}return r.toString()+n}_getFractPart(e,t,i){const s=[0,5],r=[0,2,5,7],n=[0,1,2,3,5,6,7,8];return 2===i?void 0===s[e]?-1:s[e]:4===i?void 0===r[e]?-1:r[e]:8===i&&2===t?void 0===n[e]?-1:n[e]:e}_formatAsFractional(e,t){const i=this._priceScale/this._minMove;let s=Math.floor(e),r=t?Math.floor(e*i)-s*i:Math.round(e*i)-s*i;r===i&&(r=0,s+=1);let n="";if(t){let o=(e-s-r/i)*i;o=Math.round(o*Math.pow(10,t)),n=c(o,t),n=this._removeEndingZeros(n,t)}if(!this._fractionalLength)throw new Error("_fractionalLength is not calculated");let o="";if(this._minMove2){const e=r%this._minMove2;r=(r-e)/this._minMove2;const t=c(r,this._fractionalLength),i=this._getFractPart(e,2,this._minMove2);o=t+l.decimalSignFractional+i}else r=this._getFractPart(r,1,this._priceScale),o=c(r*this._minMove,this._fractionalLength);return s.toString()+l.decimalSignFractional+o+n}_removeEndingZeros(e,t){ -for(let i=0;i=s||r<0)return{error:this._formatterErrors.fraction,res:!1};let n=i+r/s;return e&&(n=-n),{value:n,res:!0,suggest:this.format(n)}}return{error:this._formatterErrors.custom,res:!1}}_parseAsDoubleFractional(e){let t=a.exec(e);if(t){const t=parseFloat(e);return{value:t,res:!0,suggest:this.format(t)}}if(t=new RegExp("^(-?)([0-9]+)\\"+l.decimalSignFractional+"([0-9]+)\\"+l.decimalSignFractional+"([0-9]+)$").exec(e),t){const e=!!t[1],i=parseInt(t[2]),s=void 0!==this._minMove2?this._minMove2:NaN,r=this._priceScale/s,n=this._minMove2,o=this._patchFractPart(parseInt(t[3]),1,r),a=this._patchFractPart(parseInt(t[4]),2,n);if(o>=r||o<0)return{error:this._formatterErrors.fraction,res:!1};if(void 0!==n&&a>=n||a<0)return{error:this._formatterErrors.secondFraction,res:!1};let l=void 0!==n?i+o/r+a/(r*n):NaN;return e&&(l=-l),{value:l,res:!0,suggest:this.format(l)}}return{error:this._formatterErrors.custom,res:!1}}}},64806:(e,t,i)=>{"use strict";i.d(t,{TimeFormatter:()=>n});var s=i(69147),r=i(97098);class n{constructor(e){this._formatStr=e||"%h:%m:%s"}format(e){return s.customFormatters.timeFormatter?s.customFormatters.timeFormatter.format(e):this._formatStr.replace("%h",(0,r.numberToStringWithLeadingZero)(e.getUTCHours(),2)).replace("%m",(0,r.numberToStringWithLeadingZero)(e.getUTCMinutes(),2)).replace("%s",(0,r.numberToStringWithLeadingZero)(e.getUTCSeconds(),2))}formatLocal(e){return s.customFormatters.timeFormatter?s.customFormatters.timeFormatter.formatLocal?s.customFormatters.timeFormatter.formatLocal(e):s.customFormatters.timeFormatter.format(e):this._formatStr.replace("%h",(0,r.numberToStringWithLeadingZero)(e.getHours(),2)).replace("%m",(0,r.numberToStringWithLeadingZero)(e.getMinutes(),2)).replace("%s",(0,r.numberToStringWithLeadingZero)(e.getSeconds(),2))}}},92242:(e,t,i)=>{"use strict";i.d(t,{TimeSpanFormatter:()=>r});var s=i(28353);class r{format(e){const t=e<0;e=Math.abs(e);const i=Math.floor(e/86400);e-=86400*i;const r=Math.floor(e/3600);e-=3600*r;const n=Math.floor(e/60);e-=60*n;let o="";return i&&(o+=i+(0,s.t)("d",{context:"dates"})+" "),r&&(o+=r+(0,s.t)("h",{context:"dates"})+" "),n&&(o+=n+(0,s.t)("m",{context:"dates"})+" "),e&&(o+=e+(0, -s.t)("s",{context:"dates"})+" "),t&&(o="-"+o),o.trim()}}},67802:(e,t,i)=>{"use strict";i.d(t,{VolumeFormatter:()=>a});var s=i(28353),r=i(95505),n=i(80643),o=i(93751);class a{constructor(e){this.type="volume",this._numericFormatter=new r.NumericFormatter,this._fractionalValues=void 0!==e&&e>0,this._precision=e}state(){return{precision:this._precision}}format(e,t){if(!(0,n.isNumber)(e))return"---";let i="";return e<0?(i="−",e=-e):e>0&&t&&(i="+"),e>=1e100?(0,s.t)("N/A"):(!this._fractionalValues||e>=995?e=Math.round(e):this._fractionalValues&&(e=+e.toFixed(this._precision)),e<995?i+this._formatNumber(e):e<999995?i+this._formatNumber(e/1e3)+"K":e<999999995?(e=1e3*Math.round(e/1e3),i+this._formatNumber(e/1e6)+"M"):e<999999999995?(e=1e6*Math.round(e/1e6),i+this._formatNumber(e/1e9)+"B"):(e=1e9*Math.round(e/1e9),i+this._formatNumber(e/1e12)+"T"))}parse(e){if("---"===e)return{error:"not a number",res:!1,value:NaN};const t={K:1e3,M:1e6,B:1e9},i=e.slice(-1);if(t.hasOwnProperty(i)){const s=this._numericFormatter.parse(e.slice(0,-1));return(0,n.isNumber)(s)?{res:!0,value:s*t[i]}:{error:"not a number",res:!1,value:NaN}}{const t=this._numericFormatter.parse(e);return(0,n.isNumber)(t)?{res:!0,value:t}:{error:"not a number",res:!1,value:NaN}}}static serialize(e){return e.state()}static deserialize(e){return new a(e.precision)}_formatNumber(e){return this._fractionalValues&&(e=(0,o.fixComputationError)(e)),this._numericFormatter.format(e).replace(/(\.[1-9]*)0+$/,(e,t)=>t)}}},88129:(e,t,i)=>{"use strict";i.d(t,{shouldBeFormattedAsPercent:()=>n,shouldBeFormattedAsIndexedTo100:()=>o,getPriceValueFormatterForSource:()=>a});var s=i(37667),r=i(79680);function n(e){const t=e.priceScale();return!(null===t||!t.isPercentage())&&(!(0,r.isActingAsSymbolSource)(e)||(0,s.isPriceSourceStyle)(e.style()))}function o(e){const t=e.priceScale();return!(null===t||!t.isIndexedTo100())&&(!(0,r.isActingAsSymbolSource)(e)||(0,s.isPriceSourceStyle)(e.style()))}function a(e){const t=e.priceScale();if(o(e)&&null!==t)return i=>{var s;return t.formatPriceIndexedTo100(i,null!==(s=e.firstValue())&&void 0!==s?s:100)};if(n(e)&&null!==t)return i=>{var s;return t.formatPricePercentage(i,null!==(s=e.firstValue())&&void 0!==s?s:100)};const i=e.formatter();return i.format.bind(i)}},84346:(e,t,i)=>{"use strict";function s(e,t,i){if(e.isTouch){if(void 0!==i)return i(e),!0}else if(void 0!==t)return t(e),!0;return!1}function r(e,t,i,s){return void 0!==t.executeDefaultAction&&(e.isTouch?Boolean(t.executeDefaultAction[s]):Boolean(t.executeDefaultAction[i]))}var n;i.d(t,{tryCallHandler:()=>s,shouldDefaultActionBeExecuted:()=>r,AreaName:()=>n,HitTestResult:()=>o}),function(e){e.Style="Style",e.Text="Text",e.SourceItemMove="SourceItemMove"}(n||(n={}));class o{constructor(e,t,i){this._result=e,this._data=t||null,this._eraseMarker=i}result(){return this._result}data(){return this._data}hasPressedMoveHandler(e){return null!==this._data&&function(e,t,i){if(e.isTouch){if(void 0!==i)return!0}else if(void 0!==t)return!0;return!1 -}(e,this._data.pressedMouseMoveHandler,this._data.touchMoveHandler)}tryCallMouseDownOrTouchStartHandler(e){return null!==this._data&&s(e,this._data.mouseDownHandler,this._data.touchStartHandler)}tryCallMouseUpOrTouchEndHandler(e){return null!==this._data&&s(e,this._data.mouseUpHandler,this._data.touchEndHandler)}tryCallMouseEnterHandler(e){return null!==this._data&&s(e,this._data.mouseEnterHandler)}tryCallMouseLeaveHandler(e){return null!==this._data&&s(e,this._data.mouseLeaveHandler)}tryCallMouseMoveHandler(e){return null!==this._data&&s(e,this._data.mouseMoveHandler)}tryCallClickOrTapHandler(e){return null!==this._data&&s(e,this._data.clickHandler,this._data.tapHandler)}tryCallDblClickOrDblTapHandler(e){return null!==this._data&&s(e,this._data.doubleClickHandler,this._data.doubleTapHandler)}tryCallContextMenuHandler(e){return null!==this._data&&s(e,this._data.contextMenuHandler,this._data.touchContextMenuHandler)}eraseMarker(){return this._eraseMarker}}o.MOVEPOINT_BACKGROUND=1,o.REGULAR=2,o.MOVEPOINT=3,o.CHANGEPOINT=4,o.CUSTOM=5},22221:(e,t,i)=>{"use strict";i.d(t,{HorizontalLinePaneView:()=>n});var s=i(40254),r=i(43891);class n{constructor(){this._lineRendererData={y:0,color:"rgba(0, 0, 0, 0)",linewidth:1,linestyle:r.LINESTYLE_SOLID,visible:!1},this._lineRenderer=new s.HorizontalLineRenderer,this._invalidated=!0,this._lineRenderer.setData(this._lineRendererData)}update(e){this._invalidated=!0}renderer(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._lineRenderer}}},27759:(e,t,i)=>{"use strict";var s,r;i.d(t,{PlDisplay:()=>s,TradingSourcesHorizontalAlignment:()=>r,tradingPreferencesDefault:()=>n,CustomSourceLayer:()=>o}),function(e){e[e.Money=0]="Money",e[e.Pips=1]="Pips",e[e.Percentage=2]="Percentage"}(s||(s={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(r||(r={}));const n={showPositions:!1,positionPL:{visibility:!1,display:s.Money},bracketsPL:{visibility:!1,display:s.Money},showOrders:!1,showExecutions:!1,showExecutionsLabels:!1,showReverse:!1,extendLeft:!1,lineLength:0,horizontalAlignment:r.Right,lineWidth:0,lineStyle:0};var o;!function(e){e[e.Background=0]="Background",e[e.Foreground=1]="Foreground",e[e.Topmost=2]="Topmost"}(o||(o={}))},29823:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ResolutionKind:()=>n,SpecialResolutionKind:()=>o,Interval:()=>h,isHour:()=>u});const s=/^(\d*)([TSHDWMR])$/,r=/^(\d+)$/;var n,o;!function(e){e.Ticks="ticks",e.Seconds="seconds",e.Minutes="minutes",e.Days="days",e.Weeks="weeks",e.Months="months",e.Range="range",e.Invalid="invalid"}(n||(n={})),function(e){e.Hours="hours"}(o||(o={}));const a={};a[n.Ticks]=1e3,a[n.Seconds]=1e3,a[n.Minutes]=60*a[n.Seconds],a[n.Days]=1440*a[n.Minutes],a[n.Weeks]=7*a[n.Days];const l={T:n.Ticks,S:n.Seconds,D:n.Days,W:n.Weeks,M:n.Months,R:n.Range},c=new Set([n.Ticks,n.Seconds,n.Minutes]);class h{constructor(e,t){this._kind=n.Invalid,this._multiplier=0,e!==n.Invalid&&t>0&&(this._kind=e,this._multiplier=t)}kind(){return this._kind}multiplier(){return this._multiplier}isValid(){ -return this.kind()!==n.Invalid&&this.multiplier()>0}isDWM(){return this.isValid()&&!this.isRange()&&!this.isIntraday()&&!this.isTicks()}isIntraday(){const e=c.has(this.kind());return this.isValid()&&e}isSeconds(){return this.kind()===n.Seconds}isMinutes(){return this.kind()===n.Minutes}isMinuteHours(){return this.kind()===n.Minutes&&u(this.multiplier())}isDays(){return this.kind()===n.Days}isWeeks(){return this.kind()===n.Weeks}isMonths(){return this.kind()===n.Months}isRange(){return this.kind()===n.Range}isTicks(){return this.kind()===n.Ticks}isTimeBased(){return!this.isRange()}letter(){return this.isValid()&&this.kind()!==n.Minutes?this.kind()[0].toUpperCase():""}value(){return this.isValid()?this.kind()===n.Minutes?this.multiplier()+"":this.multiplier()+this.letter():""}isEqualTo(e){if(!(e instanceof h))throw new Error("Argument is not an Interval");return!(!this.isValid()||!e.isValid())&&(this.kind()===e.kind()&&this.multiplier()===e.multiplier())}inMilliseconds(e=Date.now()){if(!this.isValid()||this.isRange())return NaN;if(this.isMonths()){const t=new Date(e);t.setUTCMonth(t.getUTCMonth()+(this.multiplier()||1));return+t-e}const t=this.multiplier();return a[this.kind()]*t}static isEqual(e,t){return e===t||h.parse(e).isEqualTo(h.parse(t))}static parseExt(e){e=(e+"").toUpperCase().split(",")[0];let t=s.exec(e);return null!==t?"H"===t[2]?{interval:new h(n.Minutes,60*d(t[1])),guiResolutionKind:o.Hours}:{interval:new h(l[t[2]],d(t[1])),guiResolutionKind:l[t[2]]}:(t=r.exec(e),null!==t?{interval:new h(n.Minutes,d(t[1])),guiResolutionKind:n.Minutes}:{interval:new h(n.Invalid,0),guiResolutionKind:n.Invalid})}static parse(e){return h.parseExt(e).interval}static kind(e){return h.parse(e).kind()}static isValid(e){return h.parse(e).isValid()}static isDWM(e){return h.parse(e).isDWM()}static isIntraday(e){return h.parse(e).isIntraday()}static isSeconds(e){return h.parse(e).isSeconds()}static isMinutes(e){return h.parse(e).isMinutes()}static isMinuteHours(e){return h.parse(e).isMinuteHours()}static isDays(e){return h.parse(e).isDays()}static isWeeks(e){return h.parse(e).isWeeks()}static isMonths(e){return h.parse(e).isMonths()}static isRange(e){return h.parse(e).isRange()}static isTicks(e){return h.parse(e).isTicks()}static isTimeBased(e){return h.parse(e).isTimeBased()}static normalize(e){const t=h.parse(e);return t.isValid()?t.value():null}}function d(e){return 0===e.length?1:parseInt(e,10)}function u(e){return e>=60&&!(e%60)}},52418:(e,t,i)=>{"use strict";i.d(t,{intervalsVisibilitiesDefaults:()=>s});const s={ticks:!0,seconds:!0,secondsFrom:1,secondsTo:59,minutes:!0,minutesFrom:1,minutesTo:59,hours:!0,hoursFrom:1,hoursTo:24,days:!0,daysFrom:1,daysTo:366,weeks:!0,weeksFrom:1,weeksTo:52,months:!0,monthsFrom:1,monthsTo:12,ranges:!0}},20838:(e,t,i)=>{"use strict";i.d(t,{IntervalsVisibilitiesProperty:()=>n});var s=i(2015),r=i.n(s);i(36759);class n extends(r()){state(e){return super.state(e)}storeStateIfUndefined(){return!1}}},36759:(e,t,i)=>{"use strict";i.d(t,{makeIntervalsVisibilitiesVisibleAtInterval:()=>a, -isActualInterval:()=>c,nonDefaultIntervalsVisibilities:()=>h,mergeIntervalVisibilitiesDefaults:()=>d});var s=i(88537),r=i(29823),n=i(52418),o=i(80643);function a(e,t){let i=t.multiplier();if(t.isTicks()&&(e.ticks=!0),t.isSeconds()&&(i<60?(e.seconds=!0,e.secondsFrom=Math.min(e.secondsFrom,i),e.secondsTo=Math.max(e.secondsTo,i)):(i/=60,t=new r.Interval(r.ResolutionKind.Minutes,i))),t.isMinutes())if(i<60)e.minutes=!0,e.minutesFrom=Math.min(e.minutesFrom,i),e.minutesTo=Math.max(e.minutesTo,i);else{const t=Math.floor(i/60);e.hours=!0,e.hoursFrom=Math.min(e.hoursFrom,t),e.hoursTo=Math.max(e.hoursTo,t)}t.isDays()&&(e.days=!0,e.daysFrom=Math.min(e.daysFrom,i),e.daysTo=Math.max(e.daysTo,i)),t.isWeeks()&&(e.weeks=!0,e.weeksFrom=Math.min(e.weeksFrom,i),e.weeksTo=Math.max(e.weeksTo,i)),t.isMonths()&&(e.months=!0,e.monthsFrom=Math.min(e.monthsFrom,i),e.monthsTo=Math.max(e.monthsTo,i)),t.isRange()&&(e.ranges=!0)}function l(e,t,i,s){return e&&s>=t&&s<=i}function c(e,t){const i=t.childs();switch(e.kind()){case r.ResolutionKind.Ticks:return i.ticks.value();case r.ResolutionKind.Seconds:if(e.multiplier()<60)return l(i.seconds.value(),i.secondsFrom.value(),i.secondsTo.value(),e.multiplier());{const t=Math.floor(e.multiplier()/60);return l(i.minutes.value(),i.minutesFrom.value(),i.minutesTo.value(),t)}case r.ResolutionKind.Minutes:if(e.multiplier()<60)return l(i.minutes.value(),i.minutesFrom.value(),i.minutesTo.value(),e.multiplier());{const t=Math.floor(e.multiplier()/60);return l(i.hours.value(),i.hoursFrom.value(),i.hoursTo.value(),t)}case r.ResolutionKind.Days:return l(i.days.value(),i.daysFrom.value(),i.daysTo.value(),e.multiplier());case r.ResolutionKind.Weeks:return l(i.weeks.value(),i.weeksFrom.value(),i.weeksTo.value(),e.multiplier());case r.ResolutionKind.Months:return l(i.months.value(),i.monthsFrom.value(),i.monthsTo.value(),e.multiplier());case r.ResolutionKind.Range:return i.ranges.value()}return(0,s.assert)(!1,"Unsupported resolution: "+e.value()),!1}function h(e){const t=Object.keys(e).filter(t=>n.intervalsVisibilitiesDefaults[t]!==e[t]);return 0===t.length?null:t.reduce((t,i)=>(t[i]=e[i],t),{})}function d(e){return(0,o.merge)((0,o.clone)(n.intervalsVisibilitiesDefaults),null!=e?e:{})}},35878:(e,t,i)=>{"use strict";function s(e){return Boolean(e.showInObjectTree)}i.d(t,{isDataSource:()=>s})},95836:(e,t,i)=>{"use strict";var s;i.d(t,{SymbolErrorPermissionDeniedReason:()=>s,permissionDenied:()=>r,invalidSymbol:()=>n}),function(e){e.Symbol="symbol",e.GroupPermission="group"}(s||(s={}));const r="permission denied",n="invalid symbol"},79680:(e,t,i)=>{"use strict";function s(e){const t=(null==e?void 0:e.symbolSource)&&e.symbolSource()===e,i=void 0!==(null==e?void 0:e.isActingAsSymbolSource);return t||i}function r(e){return s(e)&&e.isActingAsSymbolSource().value()}i.d(t,{isSymbolSource:()=>s,isActingAsSymbolSource:()=>r})},34580:(e,t,i)=>{"use strict";i.d(t,{LevelsProperty:()=>p});var s=i(80643),r=i(88564),n=i(59803);const o={prefixes:[""],range:[0,0],names:["coeff","color","visible","linestyle","linewidth"],typecheck:{ -pack:()=>Object(),unpack:()=>[]}};function a(e,t,i,s){return s.push(i[t]),s}function l(e,t,i,s){return s[t]=i[e],s}function c(){return[]}function h(){return{}}function d(e,t,i){return i.prefixes.forEach(r=>{const n=r+"level";for(let r=i.range[0];r<=i.range[1];r++)if(e[n+r]&&(0,s.isSameType)(e[n+r],t.typecheck())){let s=t.tpl();i.names.forEach((i,o)=>{s=t.fill(""+o,i,e[n+r],s)}),e[n+r]=s}}),e}function u(e,t,i){return i(e,{tpl:h,fill:l,typecheck:t.typecheck.unpack},t)}class p extends r.DefaultProperty{constructor(e,t,i,s,r){r=null!=r?r:d;const n={...o,...null!=s?s:{}};super(e,t?u(t,n,r):t,i),this._map=n,this._levelsIterator=r}state(e,t){const i=super.state(e);return t?i:(s=i,r=this._map,(0,this._levelsIterator)(s,{tpl:c,fill:a,typecheck:r.typecheck.pack},r));var s,r}saveDefaults(){this._useUserPreferences&&(0,n.saveDefaults)(this._defaultName,this.state(this._exclusions,!0))}clone(){const e=this.state(),t=new p(this._defaultName,e);for(let e=0;e{"use strict";i.d(t,{LineToolsGroup:()=>l});var s=i(2872),r=i.n(s),n=i(9423);function o(e){return e.properties().visible.value()}function a(e){return!o(e)}class l{constructor(e,t,i){this._instanceId=(0,n.randomHashN)(6),this._onChanged=new(r()),this._lineToolsSet=new Set,this._lineTools=[...e],this._lineToolsSet=new Set(this._lineTools),this._name=t,this.id=i||(0,n.randomHashN)(6)}instanceId(){return this._instanceId}lineTools(){return this._lineTools}name(){return this._name}setName(e){this._doAndFireOnChange(()=>{this._name=e})}isActualSymbol(){return this._lineTools.length>0&&this._lineTools[0].isActualSymbol()&&this._lineTools[0].isActualCurrency()&&this._lineTools[0].isActualUnit()}symbol(){return this._lineTools[0].symbol()}currencyId(){var e;return null!==(e=this._lineTools[0].properties().childs().currencyId.value())&&void 0!==e?e:null}unitId(){var e;return null!==(e=this._lineTools[0].properties().childs().unitId.value())&&void 0!==e?e:null}sharingMode(){return this._lineTools[0].sharingMode()}share(e){this._lineTools.forEach(t=>t.share(e))}containsLineTool(e){return this._lineToolsSet.has(e)}addLineTools(e){this._doAndFireOnChange(t=>{e.forEach(e=>this._lineToolsSet.add(e)),this._lineTools.push(...e),t.push(...e.map(e=>e.id()))})}excludeLineTool(e){this._doAndFireOnChange(t=>{this._lineToolsSet.delete(e);const i=this._lineTools.indexOf(e);this._lineTools.splice(i,1),t.push(e.id())})}excludeLineTools(e){this._doAndFireOnChange(t=>{const i=new Set(e);e.forEach(e=>this._lineToolsSet.delete(e)),this._lineTools=this._lineTools.filter(e=>!i.has(e)),t.push(...e.map(e=>e.id()))})}state(){return{id:this.id,name:this._name,tools:this._lineTools.map(e=>e.id())}}visibility(){const e=this._lineTools.some(o),t=this._lineTools.some(a);return e&&!t?"Visible":t&&!e?"Invisible":"Partial"}locked(){const e=this._lineTools.some(e=>e.properties().frozen.value()),t=this._lineTools.some(e=>!e.properties().frozen.value()) -;return e&&!t?"Locked":t&&!e?"Unlocked":"Partial"}isActualInterval(){const e=this._lineTools.some(e=>e.isActualInterval()),t=this._lineTools.some(e=>!e.isActualInterval());return e&&!t?"IsActualInterval":t&&!e?"IsNotActualInterval":"Partial"}onChanged(){return this._onChanged}static fromState(e,t){const i=[];for(const s of t.tools){const t=e.dataSourceForId(s);null!==t&&i.push(t)}return i.length>0?new l(i,t.name,t.id):null}_doAndFireOnChange(e){const t=[],i=this.visibility(),s=this.locked(),r=this.name(),n=this.isActualInterval();e(t),this._onChanged.fire({affectedLineTools:t,visibilityChanged:i!==this.visibility(),lockedChanged:s!==this.locked(),titleChanged:r!==this.name(),isActualIntervalChanged:n!==this.isActualInterval()})}}},656:(e,t,i)=>{"use strict";i.d(t,{LineTool5PointsPattern:()=>a});var s=i(88537),r=i(88564),n=i(89857),o=i(37865);class a extends n.LineDataSource{constructor(e,t,i,s){super(e,t||a.createProperties(),i,s),this._loadPaneViews(e)}pointsCount(){return 5}name(){return"XABCD Pattern"}static createProperties(e){const t=new r.DefaultProperty("linetool5pointspattern",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,93262)).then(e=>e.PatternWithBackgroundDefinitionViewModel)}_loadPaneViews(e){i.e(1583).then(i.bind(i,46010)).then(t=>{this._setPaneViews([new t.Pattern5pointsPaneView(this,e)])})}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.addChild("linesColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("color"))])),e.addChild("textsColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("textcolor"))]))}}},82203:(e,t,i)=>{"use strict";i.d(t,{LineToolABCD:()=>a});var s=i(88537),r=i(88564),n=i(89857),o=i(37865);class a extends n.LineDataSource{constructor(e,t,s,r){const n=t||a.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,5040)).then(t=>{this._setPaneViews([new t.ABCDPaneView(this,e)])})}pointsCount(){return 4}name(){return"ABCD Pattern"}static createProperties(e){const t=new r.DefaultProperty("linetoolabcd",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,98890)).then(e=>e.PatternWithoutBackgroundDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.addChild("linesColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("color"))])),e.addChild("textsColors",new o.LineToolColorsProperty([(0,s.ensureDefined)(e.child("textcolor"))]))}}},17337:(e,t,i)=>{"use strict";i.d(t,{LineToolArc:()=>h});var s=i(88537),r=i(4652),n=i(86441),o=i(25422),a=i(88564),l=i(89857),c=i(37865);class h extends l.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),this.version=2,this._dist=null,i.e(1583).then(i.bind(i,24843)).then(({ArcPaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}startChanging(e,t){if(super.startChanging(e,t),0===e||1===e){const e=(0, -s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2]));this._dist=(0,r.distanceToLine)(e,t,i).distance;const o=t.subtract(e),a=new n.Point(-o.y,o.x),l=e.add(t).scaled(.5);i.subtract(l).dotProduct(a)<0&&(this._dist=-this._dist)}}endChanging(e,t){return this._dist=null,super.endChanging(e,t)}pointsCount(){return 3}name(){return"Arc"}hasEditableCoordinates(){return!1}setPoint(e,t){const i={...t},a=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),l=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));switch(e){case 0:{const e=(0,s.ensureNotNull)(this._dist),t=(0,s.ensureNotNull)(this.pointToScreenPoint(i)),r=l.subtract(t),o=t.add(l).scaled(.5);let a=new n.Point(-r.y,r.x);a=a.normalized();const c=o.add(a.scaled(e));this._points[0]=i,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(c));break}case 1:{const e=(0,s.ensureNotNull)(this._dist),t=(0,s.ensureNotNull)(this.pointToScreenPoint(i)),r=t.subtract(a),o=a.add(t).scaled(.5),l=new n.Point(-r.y,r.x).normalized(),c=o.add(l.scaled(e));this._points[1]=i,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(c));break}case 2:{let e=(0,s.ensureNotNull)(this.pointToScreenPoint(i));const t=(0,r.distanceToLine)(a,l,e).distance,c=l.subtract(a),h=a.add(l).scaled(.5),d=new n.Point(-c.y,c.x).normalized(),u=h.add(d.scaled(t)),p=h.add(d.scaled(-t)),_=c.length(),m=c.x/_,g=c.y/_;let f=Math.acos(m);g<0&&(f=-f);let v=(0,o.translationMatrix)(-h.x,-h.y);e=(0,o.transformPoint)(v,e);let S=(0,o.transformPoint)(v,u);v=(0,o.rotationMatrix)(-f),e=(0,o.transformPoint)(v,e),S=(0,o.transformPoint)(v,S),v=(0,o.scalingMatrix)(1,_/(2*t)),e=(0,o.transformPoint)(v,e),S=(0,o.transformPoint)(v,S);const y=e.y*S.y>=0?new n.Point(u.x,u.y):new n.Point(p.x,p.y);this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(y));break}}this.normalizePoints()}migrateVersion(e,t,i){if(1===e&&2===this._points.length){const e=(2*this._points[0].price+3*this._points[1].price)/5;this._points.push({price:e,index:this._points[1].index})}if(1===e&&2===this._timePoint.length){const e={price:(2*this._timePoint[0].price+3*this._timePoint[1].price)/5,offset:this._timePoint[1].offset,time_t:this._timePoint[1].time_t};this._timePoint.push(e)}}static createProperties(e){const t=new a.DefaultProperty("linetoolarc",e);return h._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,24965))).GeneralFiguresDefinitionsViewModelBase}static _configureProperties(e){l.LineDataSource._configureProperties(e),e.addChild("linesColors",new c.LineToolColorsProperty([e.childs().color]))}}},18659:(e,t,i)=>{"use strict";i.d(t,{LineToolArrowMark:()=>l,LineToolArrowMarkLeft:()=>c,LineToolArrowMarkUp:()=>h,LineToolArrowMarkRight:()=>d,LineToolArrowMarkDown:()=>u});var s=i(88564),r=i(89857),n=i(2015),o=i.n(n),a=i(37865);class l extends r.LineDataSource{constructor(e,t,s,r,n){ -const o=t||l.createProperties(null,s);super(e,o,r,n),this._textPaneView=null,i.e(1583).then(i.bind(i,71407)).then(({ArrowMarkPaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}paneViews(e){const t=super.paneViews();return null!==t&&this._textPaneView&&t.push(this._textPaneView),t}pointsCount(){return 1}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e,t){const i=new s.DefaultProperty(t,e);return l._configureProperties(i),i}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,72930)).then(e=>e.ArrowMarkDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new a.LineToolColorsProperty([e.childs().arrowColor])),e.addChild("textsColors",new a.LineToolColorsProperty([e.childs().color])),e.hasChild("text")||e.addChild("text",new(o())("")),e.addExclusion("text")}}l.version=2;class c extends l{constructor(e,t,i,s){super(e,t,"linetoolarrowmarkleft",i,s)}direction(){return"left"}name(){return"Arrow Mark Left"}textAlignParams(){return{horzAlign:"left",vertAlign:"middle",offsetX:22,offsetY:3}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkleft")}}class h extends l{constructor(e,t,i,s){super(e,t,"linetoolarrowmarkup",i,s)}direction(){return"up"}name(){return"Arrow Mark Up"}textAlignParams(){return{horzAlign:"center",vertAlign:"top",offsetX:0,offsetY:20}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkup")}}class d extends l{constructor(e,t,i,s){super(e,t,"linetoolarrowmarkright",i,s)}direction(){return"right"}name(){return"Arrow Mark Right"}textAlignParams(){return{horzAlign:"right",vertAlign:"middle",offsetX:22,offsetY:3,forceTextAlign:!0}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkright")}}class u extends l{constructor(e,t,i,s){super(e,t,"linetoolarrowmarkdown",i,s)}direction(){return"down"}name(){return"Arrow Mark Down"}textAlignParams(){return{horzAlign:"center",vertAlign:"bottom",offsetX:0,offsetY:20}}static createProperties(e){return l.createProperties(e,"linetoolarrowmarkdown")}}},10167:(e,t,i)=>{"use strict";i.d(t,{LineToolArrowMarker:()=>a});var s=i(89857),r=i(88564),n=i(2015),o=i.n(n);class a extends s.LineDataSource{constructor(e,t,s,r){super(e,null!=t?t:a.createProperties(),s,r),i.e(1583).then(i.bind(i,39833)).then(({ArrowMarkerPaneView:e})=>{this._setPaneViews([new e(this,this.model())])})}pointsCount(){return 2}name(){return"Trend Line"}static createProperties(e){const t=new r.DefaultProperty("linetoolarrowmarker",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,92138)).then(e=>e.ArrowMarkerDefinitionsViewModel)}static _configureProperties(e){s.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(o())("")), -e.addExclusion("text")}}},59358:(e,t,i)=>{"use strict";var s=i(57649).LineToolTrendLine,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Arrow"}static createProperties(e){var t=new r("linetoolarrow",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolArrow=n},57666:(e,t,i)=>{"use strict";i.d(t,{LineToolBalloon:()=>h});var s=i(28353),r=i(88564),n=i(89857),o=i(2015),a=i.n(o),l=i(37865);const c=(0,s.t)("Comment");class h extends n.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,17952)).then(t=>{this._setPaneViews([new t.BalloonPaneView(this,e)])})}pointsCount(){return 1}name(){return"Balloon"}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new r.DefaultProperty("linetoolballoon",e);return h._configureProperties(t),t}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,60991)).then(e=>e.BalloonDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(a())(c)),e.addExclusion("text"),e.addChild("linesColors",new l.LineToolColorsProperty([e.childs().borderColor])),e.addChild("textsColors",new l.LineToolColorsProperty([e.childs().color]))}}},4676:(e,t,i)=>{"use strict";i.d(t,{BarsMarksContainer:()=>T});var s=i(88537),r=i(98125),n=i(56840),o=i.n(n),a=i(67337),l=i(89857),c=i(2872),h=i.n(c),d=i(29823),u=i(80643),p=i(37667);class _{constructor(e,t){this.source=e,this._rendererFactory=t}update(){}renderer(e,t){return this._rendererFactory(this.source)}}var m=i(16282),g=i(22799),f=i(86441),v=i(84346),S=i(34026);const y={green:{border:"#78C143",background:"#8DDD54"},red:{border:"#CC4545",background:"#ED5A5A"},neutral:{border:"#EAC300",background:"#FFD400"},yellow:{border:"#EAC300",background:"#FFD400"},blue:{border:"#047ACE",background:"#0496FF"}};class b extends m.ScaledPaneRenderer{constructor(e,t){super(),this._highlightByAuthor=!1,this._barWidth=e.barWidth,this._plates=e.plates,this._tooltip=e.tooltip,this._model=t}hitTest(e){for(let t=this._plates.length-1;t>=0;--t){const i=this._hitTestDot(this._plates[t],e);if(i)return i}return null}_drawImpl(e){var t,i;e.save();for(let e=0;ethis._plateTransform(e));null===(t=this._tooltip)||void 0===t||t.draw(s,e),null===(i=this._tooltip)||void 0===i||i.endDraw(),e.restore()}_drawItem(e,t){e.save(),this._highlightByAuthor&&!t.highlightByAuthor&&(e.globalAlpha=.4);const i=this._dotTransform(t);i.mine?this._drawTriangle(e,i):this._drawDot(e,i),e.restore()}_commonTransform(e){const t=Math.max(1.4*e.minSize,this._barWidth+4),i={up:-1,down:1 -}[e.direction]*(e.yInverted?-1:1)*(t*(e.order+.6)+.25*t),s=e.y+i,r=(0,u.clone)(e.overridedTheme||y[e.theme]);return r.dotBorderWidth=e.hovered||e.highlightByAuthor?4:2,{id:e.id,theme:r,themeName:e.theme,x:Math.round(e.x+1),y:Math.round(s),yInverted:e.yInverted,pinned:Boolean(e.pinned),hovered:Boolean(e.hovered)}}_dotTransform(e){const t=Math.max(e.minSize/2,.4*this._barWidth),i={...this._commonTransform(e),radius:t,label:e.label,labelFontColor:e.labelFontColor,labelFontSize:Math.ceil(Math.max(10,Math.min(t,20)))};return this._model.updateDotData(e,i)}_plateTransform(e){const t=this._commonTransform(e);return this._model.updatePlateData(e,t)}_drawTriangle(e,t){e.strokeStyle=t.theme.border,e.fillStyle=t.theme.background,e.lineWidth=t.theme.dotBorderWidth||2;const i=t,s=t.radius,r=Math.cos(Math.PI/6)*s,n=Math.sin(Math.PI/6)*s;e.translate(i.x,i.y);"up"===t.direction!==t.yInverted&&e.rotate(Math.PI),t.public||(e.lineWidth/=2),e.beginPath(),e.moveTo(0,-s),e.lineTo(r,n),e.lineTo(-r,n),e.lineTo(0,-s),e.closePath(),e.stroke(),t.public&&e.fill()}_drawDot(e,t){e.strokeStyle=t.theme.border,e.fillStyle=t.theme.background,e.lineWidth=t.theme.dotBorderWidth||2,e.beginPath(),e.arc(t.x,t.y,t.radius,0,2*Math.PI,!0),e.closePath(),e.stroke(),e.fill(),t.label&&t.radius>=7&&(e.textAlign="center",e.textBaseline="middle",e.font="bold "+t.labelFontSize+"px "+g.CHART_FONT_FAMILY,e.fillStyle=t.labelFontColor,e.fillText(t.label,t.x,t.y))}_hitTestDot(e,t){const i=this._dotTransform(e),s=new f.Point(i.x,i.y);return(0,S.pointInCircle)(t,s,Math.max(i.radius,8))?new v.HitTestResult(v.HitTestResult.REGULAR,{activeItem:e}):null}}var w=i(88564);const C=(0,r.getLogger)("Chart.BarsMarksContainer"),P=Math.round(new Date(2037,0,1).getTime()/1e3);class T extends l.LineDataSource{constructor(e,t,i,r){const n=e.onWidget();let c;if(c=n?!e.hideIdeas():!!a.enabled("bars_marks")&&o().getBool("BarsMarksContainer.visibile",!1),t)t.merge({visible:c,frozen:!1});else{t=new w.DefaultProperty("barmarks",{visible:c,frozen:!1})}t.childs().visible.listeners().subscribe(null,t=>{n||e.isSnapshot()||!a.enabled("bars_marks")||o().setValue("BarsMarksContainer.visibile",!!t.value()),this._tooltip&&this._tooltip.removeAll()}),l.LineDataSource._configureProperties(t),super(e,t,i,r),this.onNeedRepaint=new(h()),this._requests=[],this._marks={},this._loadedRange=null,this._getDataTimeout=null,this._collectedRange=null,this._lastRange=null,this._model.mainSeries().onSymbolIntervalChanged().subscribe(this,this.clearMarks),this._model.mainSeries().dataEvents().symbolResolved().subscribe(this,this.clearMarks),this._model.mainSeries().dataEvents().completed().subscribe(this,()=>{var e,t;const i=this._model.mainSeries().data();if(0===i.size())return;const r=(0,s.ensureNotNull)(i.first()).index,n=(0,s.ensureNotNull)(i.last()).index,o=this.timeScale();this.getData({start:null!==(e=o.indexToTimePoint(r))&&void 0!==e?e:1/0,end:null!==(t=o.indexToTimePoint(n))&&void 0!==t?t:-1/0})}),this._initialize(),this._pinnedTooltips={},this._tooltip=this._createTooltipRenderer()}marks(){return this._marks -}updateDotData(e,t){return t}isAvailableInFloatingWidget(){return!1}pinTooltip(e,t){this._pinnedTooltips[e]=t}timeScale(){return this._model.timeScale()}getIntervalInTicks(){const e=this._model.mainSeries().properties().childs().interval.value(),t=d.Interval.parse(e);if(!t.isValid())throw new TypeError("Unexpected interval");return t.isRange()?60:t.inMilliseconds()/1e3}getVisibleTickMarksRange(){var e,t;if(this.timeScale().isEmpty())return{start:0,end:0};const i=(0,s.ensureNotNull)(this.timeScale().visibleBarsStrictRange()),r=(0,s.ensureNotNull)(this.timeScale().points().firstIndex()),n=(0,s.ensureNotNull)(this.timeScale().points().lastIndex());if(!(i.lastBar()>r&&i.firstBar(){var r,n;const o=this._marks[s],a=o.tickmark;a>=(null!==(r=t.start)&&void 0!==r?r:1/0)&&a<=(null!==(n=t.end)&&void 0!==n?n:-1/0)+i&&e.push(o)}),e}getPublishedPlates(){const e={};return window.is_authenticated?(this.getVisibleRangePlates().forEach(t=>{t.is_public&&(this._pinnedTooltips[t.id]||t.user__id===window.user.id)&&(e[t.id]=t)}),e):e}filterDisplayedPlates(e){const t=e.reduce((e,t)=>{const i=this._getIndex(t.tickmark);return null!==i&&(e[i]=e[i]||[],e[i].push(t)),e},{});return Object.keys(t).reduce((e,i)=>{let s=t[i];return s=s.sort((e,t)=>t.views_count-e.views_count),s=s.slice(0,10),e.concat(s)},[])}getViewData(){return{barWidth:this.barWidth(),plates:this.getPlatesViewData(),tooltip:this._tooltip}}barWidth(){return this.timeScale().barSpacing()}getPlatesViewData(){var e,t,i;const r=this._model.mainSeries();if(r.data().isEmpty())return[];const n=(0,p.isPriceSourceStyle)(r.style())?r.barFunction():null,o=this.filterDisplayedPlates(this.getVisibleRangePlates()),a={},l=null!==(e=this._model.lastHittestData())&&void 0!==e?e:this._model.lastSelectedHittestData(),c=[];for(const e of o){const i=(0,s.ensureNotNull)(this._getIndex(e.tickmark)),r=this._getBar(i);if(null===r)continue;const o=this._layout(e.direction),h=this._theme(e.direction);let d=null;null!==l&&this._model.hoveredSource()===this&&(d=null!==(t=l.activeItem)&&void 0!==t?t:null);const p=null!==d&&d.id===e.id,_=this.timeScale().indexToCoordinate(i),m=this._offset(o,r,n),g=(0,s.ensureNotNull)(this.priceScale()).isInverted();let f=0;i in a||(a[i]={up:0,down:0}),f=a[i][o]++,c.push((0,u.merge)({id:e.id,x:_,y:m,yInverted:g,order:f,direction:o,theme:h,hovered:p,pinned:!0===this._pinnedTooltips[e.id],user__id:e.user__id,label:e.label,labelFontColor:e.labelFontColor||"#444",minSize:e.minSize||5},this._plateViewData(e)))}const h=c.filter(e=>!0===e.hovered);for(let e=0;ee.hovered&&!t.hovered?1:0),c}paneViews(){return this._properties.childs().visible.value()?[new _(this,e=>new b(e.getViewData(),this))]:[]}priceAxisViews(){return null}updateAllViews(){}pointsCount(){return 0}roundRange(e){return{start:Math.round(e.start),end:Math.round(e.end)}}refreshData(){null!==this._lastRange&&this.getData(this._lastRange)}getData(e){(0,u.isNumber)(e.start)&&(0,u.isNumber)(e.end)?(this._lastRange=e,e.end=P,this._pushGetDataStack(Object.assign({},e))):C.logError("Wrong range")}clearMarks(){this._abortAllRequests(),this._marks={},this._loadedRange=null}isUserDeletable(){return!1}_plateViewData(e){return{}}_layout(e){switch(e){default:case 0:return"up";case 1:return"down";case 2:return"up";case 3:case 4:case 5:case 6:return"up"}}_theme(e){switch(e){default:case 0:return"neutral";case 1:return"green";case 2:return"red";case 3:return"yellow";case 4:return"blue";case 5:return"green";case 6:return"red"}}_offset(e,t,i){let r;switch(e){default:case"up":r=null===i?t[2]:i(t);break;case"down":r=null===i?t[3]:i(t)}return(0,s.ensureNotNull)(this.priceScale()).priceToCoordinate(r,(0,s.ensureNotNull)((0,s.ensureNotNull)(this.ownerSource()).firstValue()))}_getIndex(e){return this.timeScale().timePointToIndex(e)}_getBar(e){return this._model.mainSeries().data().valueAt(e)}_rangeDifference(e){return e=Object.assign({start:1/0,end:-1/0},e),this._loadedRange&&(e.startthis._loadedRange.end&&(e.start=this._loadedRange.end)),e}_rangeUnion(e,t){return e=Object.assign({start:1/0,end:-1/0},e),t&&(e.start=Math.min(t.start,e.start),e.end=Math.max(t.end,e.end)),e}_pushGetDataStack(e){(0,u.isNumber)(e.start)&&(0,u.isNumber)(e.end)?(this._getDataTimeout&&clearTimeout(this._getDataTimeout),this._collectedRange=this._rangeUnion(e,this._collectedRange),this._getDataTimeout=setTimeout(()=>{this._getData(this._collectedRange),this._getDataTimeout=this._collectedRange=null},300)):C.logError("Wrong tickmark range")}_abortAllRequests(){this._requests.forEach(e=>{e.cancel()}),this._requests=[],this._getDataTimeout&&clearTimeout(this._getDataTimeout),this._getDataTimeout=this._collectedRange=null}}},8059:(e,t,i)=>{"use strict";var s;i.d(t,{LineToolBarsPatternMode:()=>s}),function(e){e[e.Bars=0]="Bars",e[e.Line=1]="Line",e[e.OpenClose=2]="OpenClose",e[e.LineOpen=3]="LineOpen",e[e.LineHigh=4]="LineHigh",e[e.LineLow=5]="LineLow",e[e.LineHL2=6]="LineHL2"}(s||(s={}))},98802:(e,t,i)=>{"use strict";i.d(t,{LineToolBarsPattern:()=>S});var s=i(88537),r=i(28353),n=i(24980),o=i(80643),a=i(28296),l=i(88564),c=i(71053),h=i(89857),d=i(8059),u=i(33291);const p=new n.TranslatedString("mirror bars pattern",(0,r.t)("mirror bars pattern")),_=new n.TranslatedString("flip bars pattern",(0,r.t)("flip bars pattern")),m=(0,r.t)("Mirrored"),g=(0,r.t)("Flipped"),f={0:2,1:4,2:1,3:1,4:2,5:3,6:-1},v={0:3,1:4,2:4,3:1,4:2,5:3,6:-1};class S extends h.LineDataSource{constructor(e,t=S.createProperties(),s,r){super(e,t,s,r),this._pattern=[],this._scale=1,this._pointsCoordinatePricesDiff=null -;const n=t.childs().mode.value();(0,o.isString)(n)&&t.childs().mode.setValue(parseInt(n)),t.childs().mirrored.listeners().subscribe(this,this._mirror),t.childs().flipped.listeners().subscribe(this,this._flip),t.childs().mode.subscribe(this,this._updateLastPoint),this.version=2,i.e(1583).then(i.bind(i,27106)).then(t=>{this._setPaneViews([new t.BarsPatternPaneView(this,e)])})}pattern(){return this._pattern}isSynchronizable(){return!1}additionalActions(e){return[new a.Action({actionId:"Chart.LineTool.BarsPattern.ToggleMirrored",checked:this.properties().childs().mirrored.value(),checkable:!0,label:m,onExecute:()=>{e.setProperty(this.properties().childs().mirrored,!this.properties().childs().mirrored.value(),p),this.updateAllViews((0,u.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}}),new a.Action({actionId:"Chart.LineTool.BarsPattern.ToggleFlipped",checked:this.properties().childs().flipped.value(),checkable:!0,label:g,onExecute:()=>{e.setProperty(this.properties().childs().flipped,!this.properties().childs().flipped.value(),_),this.updateAllViews((0,u.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}})]}pointsCount(){return 2}state(e){return{...super.state(e),pattern:this._pattern,scale:this._scale,diff:this._pointsCoordinatePricesDiff}}restoreData(e){const{pattern:t=this._pattern,scale:i=this._scale,diff:s=this._pointsCoordinatePricesDiff}=e;this._pattern=t,this._scale=i,this._pointsCoordinatePricesDiff=s}name(){return"Bars Pattern"}hasEditableCoordinates(){return!1}cloneData(e){this._pattern=(0,o.clone)(e._pattern),this._scale=e._scale,this._pointsCoordinatePricesDiff=e._pointsCoordinatePricesDiff}firstPatternPrice(){const{mode:e,flipped:t}=this.properties().childs(),i=this._pattern[0];return e.value()===d.LineToolBarsPatternMode.LineHL2?(i[2]+i[3])/2:t.value()?i[v[e.value()]]:i[f[e.value()]]}lastPatternPrice(){const{mode:e,flipped:t}=this.properties().childs(),i=this._pattern[this._pattern.length-1];return e.value()===d.LineToolBarsPatternMode.LineHL2?(i[2]+i[3])/2:t.value()?i[f[e.value()]]:i[v[e.value()]]}addPoint(e,t,i){const r=super.addPoint(e,t,!0);if(r){const e=this._model.mainSeries(),[{index:t},{index:i}]=this.points(),r=(0,s.ensureDefined)(e.nearestIndex(Math.min(t,i),c.PlotRowSearchMode.NearestRight)),n=(0,s.ensureDefined)(e.nearestIndex(Math.max(t,i),c.PlotRowSearchMode.NearestLeft));this._pattern=this._createPattern(r,n),this._pattern.length>0&&(t>i&&this._points.reverse(),this._points[1].price=this._points[0].price+this._patternPriceDiff(),this._points[1].index=this._points[0].index+(n-r),this.normalizePoints(),this.createServerPoints()),this._updatePointsCoordinatePricesDiff()}return r}setPoint(e,t,i,s){1===e&&t.index<=this._points[0].index&&(t.index=this._points[0].index+1),0===e&&t.index>=this._points[1].index&&(t.index=this._points[1].index-1),super.setPoint(e,t,i),this._updatePointsCoordinatePricesDiff()}move(e,t,i,s){super.move(e,t,i,s),this._updatePointsCoordinatePricesDiff()}migrateVersion(e,t,i){if(1===e&&this._pattern.length>0){ -const e=this._patternPriceDiff();2===this._timePoint.length&&(this._timePoint[1].price=this._timePoint[0].price+e),2===this._points.length&&(this._points[1].price=this._points[0].price+e)}}getScale(){return this._scale=this._calculateScale()}static createProperties(e){const t=new l.DefaultProperty("linetoolbarspattern",e);return S._configureProperties(t),t}_preparePoint(e,t){var i;const r=this._alignPointToRangeOfActualData(e),n=this._model.mainSeries(),o=(0,s.ensureNotNull)(n.bars().valueAt(r.index));this.properties().childs().mode.value()===d.LineToolBarsPatternMode.Bars?r.price=(0,s.ensure)(o[2]):r.price=(0,s.ensure)(o[4]);const a=(0,s.ensureNotNull)(this.priceScale()),l=(0,s.ensure)(null===(i=this.ownerSource())||void 0===i?void 0:i.firstValue()),c=.05*a.height(),h=a.priceToCoordinate(r.price,l)-c;return r.price=a.coordinateToPrice(h,l),super._preparePoint(r,t)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,14725))).BarsPatternDefinitionsViewModel}static _configureProperties(e){h.LineDataSource._configureProperties(e),e.addExclusion("mirrored"),e.addExclusion("flipped")}_calculatePatternCoordinatePricesDiff(){var e;return this._pattern.length>0&&null!==(e=this._priceCoordinateDiff([this.firstPatternPrice(),this.lastPatternPrice()]))&&void 0!==e?e:null}_updatePointsCoordinatePricesDiff(){this._pointsCoordinatePricesDiff=this._calculatePointsCoordinatePricesDiff()}_calculatePointsCoordinatePricesDiff(){var e;if(2===this._points.length){const[{price:t},{price:i}]=this.points();return null!==(e=this._priceCoordinateDiff([t,i]))&&void 0!==e?e:null}return null}_createPattern(e,t){const i=this._model.mainSeries().data(),r=[];for(let n=e;n<=t;n++)r.push((0,o.clone)((0,s.ensureNotNull)(i.valueAt(n))));return r}_switchPointsPrice(){const e=this._points[0].price;this._timePoint[0].price=this._points[0].price=this._points[1].price,this._timePoint[1].price=this._points[1].price=e}_mirror(){const e=this._pattern;let t=Math.min(e[0][3],e[0][2]),i=Math.max(e[0][3],e[0][2]);for(let s=1;ss-(e-s);for(let t=0;ts.priceToCoordinate(e,r))}_priceCoordinateDiff(e){const t=this._pricesToCoordinates(e);if(t)return t[1]-t[0]}_calculateScale(){let e=1;if(2===this._points.length){const t=this._calculatePatternCoordinatePricesDiff();if(!t)return e -;const i=this._calculatePointsCoordinatePricesDiff();if(t&&null!==i&&(e=+(i/t).toFixed(8)),this._pointsCoordinatePricesDiff!==i){if(this._scale!==e)return this._updateLastPoint(),this._scale;this._updatePointsCoordinatePricesDiff()}}return e}_updateLastPoint(){var e,t;if(this._points.length<2)return;const i=this.priceScale(),s=null!==(t=null===(e=this.ownerSource())||void 0===e?void 0:e.firstValue())&&void 0!==t?t:null;if(null===s||null===i||i.isEmpty())return;const r=this._calculatePatternCoordinatePricesDiff(),n=this._pricesToCoordinates([this.points()[0].price]);null!==r&&n&&(this._timePoint[1].price=this._points[1].price=i.coordinateToPrice(+(this._scale*r).toFixed(8)+n[0],s),this._updatePointsCoordinatePricesDiff())}}},47679:(e,t,i)=>{"use strict";i.d(t,{LineToolBezierCubic:()=>o});var s=i(88537),r=i(88564),n=i(89857);class o extends n.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),this._controlPoints=null,i.e(1583).then(i.bind(i,11933)).then(t=>{this._setPaneViews([new t.BezierCubicPaneView(this,e)])})}pointsCount(){return 2}name(){return"Double Curve"}setLastPoint(e,t){const i=super.setLastPoint(e,t);return this._controlPoints=this._calculateControlPoints(),i}addPoint(e,t,i){const s=super.addPoint(e,t,i);if(s){const e=this._calculateControlPoints();this._controlPoints=null,this._points.push(e[0]),this._points.push(e[1]),i||(this.normalizePoints(),this.createServerPoints()),this._createPointProperty(2),this._createPointProperty(3)}return s}restorePoints(e,t,i){super.restorePoints(e,t,i),this._createPointProperty(2),this._createPointProperty(3)}controlPoints(){return this._controlPoints}static createProperties(e){const t=new r.DefaultProperty("linetoolbeziercubic",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,79462)).then(e=>e.GeneralBezierDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e)}_calculateControlPoints(){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[1])),i=t.subtract(e).scaled(.5).transposed().scaled(.3),r=e.add(t).scaled(.33),n=e.add(t).scaled(.67),o=r.add(i),a=n.subtract(i);return[(0,s.ensureNotNull)(this.screenPointToPoint(o)),(0,s.ensureNotNull)(this.screenPointToPoint(a))]}}},30899:(e,t,i)=>{"use strict";i.d(t,{LineToolBezierQuadro:()=>o});var s=i(88537),r=i(88564),n=i(89857);class o extends n.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),this._controlPoint=null,i.e(1583).then(i.bind(i,79998)).then(t=>{this._setPaneViews([new t.BezierQuadroPaneView(this,e)])})}pointsCount(){return 2}name(){return"Curve"}setLastPoint(e,t){const i=super.setLastPoint(e,t);return this._controlPoint=this._calculateControlPoint(),i}addPoint(e,t,i){const s=super.addPoint(e,t,i);if(s){const e=this._calculateControlPoint();this._points.push(e),this._controlPoint=null,i||(this.normalizePoints(),this.createServerPoints()), -this._createPointProperty(2)}return s}restorePoints(e,t,i){super.restorePoints(e,t,i),this._createPointProperty(2)}controlPoint(){return this._controlPoint}static createProperties(e){const t=new r.DefaultProperty("linetoolbezierquadro",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,79462)).then(e=>e.GeneralBezierDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e)}_calculateControlPoint(){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[1])),i=t.subtract(e).scaled(.5).transposed().scaled(.3),r=e.add(t).scaled(.5).add(i);return(0,s.ensureNotNull)(this.screenPointToPoint(r))}}},27258:(e,t,i)=>{"use strict";i.d(t,{LineToolBrushBase:()=>n});var s=i(88537),r=i(89857);class n extends r.LineDataSource{constructor(){super(...arguments),this._finished=!1}pointsCount(){return-1}finished(){return this._finished}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}hasEditableCoordinates(){return!1}addPoint(e,t,i){if(this._finished)return!0;if(this._lastPoint=null,this._points.length>0){const t=this._points[this._points.length-1],i=(0,s.ensureNotNull)(this.pointToScreenPoint(t));if((0,s.ensureNotNull)(this.pointToScreenPoint(e)).subtract(i).length()<2)return this._finished}return super.addPoint(e),this._finished}restorePoints(e,t,i){super.restorePoints(e,t,i),this._finished=!0}}},43871:(e,t,i)=>{"use strict";i.d(t,{LineToolBrush:()=>o});var s=i(88564),r=i(27258),n=i(37865);class o extends r.LineToolBrushBase{constructor(e,t,i,s){super(e,t||o.createProperties(),i,s),this._loadPaneViews(e)}smooth(){return this.properties().childs().smooth.value()}name(){return"Brush"}hasEditableCoordinates(){return!1}static createProperties(e){const t=new s.DefaultProperty("linetoolbrush",e);return o._configureProperties(t),t}_loadPaneViews(e){i.e(1583).then(i.bind(i,87394)).then(t=>{this._setPaneViews([new t.BrushPaneView(this,e)])})}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,288)).then(e=>e.BrushDefinitionsViewModel)}static _configureProperties(e){r.LineToolBrushBase._configureProperties(e),e.addChild("backgroundsColors",new n.LineToolColorsProperty([e.childs().backgroundColor],e.childs().fillBackground))}}},73932:(e,t,i)=>{"use strict";var s;i.d(t,{CalloutConsts:()=>s}),function(e){e[e.RoundRadius=8]="RoundRadius",e[e.TextMargins=2]="TextMargins",e[e.MinWidth=100]="MinWidth"}(s||(s={}))},95536:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(89857).LineDataSource,n=i(62443).DataSource,o=i(2015),a=i(88564).DefaultProperty,l=i(73932).CalloutConsts,c=i(37865).LineToolColorsProperty;class h extends r{constructor(e,t,s,r){super(e,t||h.createProperties(),s,r),this._barOffset=0,this._timeScale=e.timeScale(),i.e(1583).then(i.t.bind(i,86449,19)).then(({CalloutPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){ -return 2}name(){return"Callout"}_correctPoints(e,t){var i=this._currentMovingPoint.logical.index-this._startMovingPoint.logical.index,s=this._currentMovingPoint.logical.price-this._startMovingPoint.logical.price,r=e[1];r.index+=i,r.price+=s,e[1]=r}addPoint(e){var t=r.prototype.addPoint.call(this,e);return t&&this._calculateBarOffset(),t}_calculateBarOffset(){this.points().length>1&&(this._barOffset=this.points()[1].index-this.points()[0].index)}setLastPoint(e){var t=super.setLastPoint(e);return 2===this.points().length&&this._calculateBarOffset(),t}setPoint(e,t){switch(e){case 0:super.setPoint(e,t),this._calculateBarOffset();break;case 1:var i=this.properties();if(!i.wordWrapWidth)return;var s=this._points,r=this._dragStartLeftEdgeIndex,n=Math.round((t.index-r)/2);if(isFinite(r)&&isFinite(n)){s[1]={index:r+n,price:s[1].price},this._calculateBarOffset(),this.normalizePoints();var o=this._timeScale.indexToCoordinate(r+2*n)-this._timeScale.indexToCoordinate(r)-l.RoundRadius-l.TextMargins;if(!isFinite(o))return;i.wordWrapWidth.setValue(Math.max(l.MinWidth,o));break}s[1]=t,this._calculateBarOffset(),this.normalizePoints()}}setPoints(e){super.setPoints(e);var t=this.properties();if(t.wordWrapWidth){var i=this._dragStartLeftEdgeIndex,s=Math.round((e[1].index-i)/2);if(this._calculateBarOffset(),this.normalizePoints(),isFinite(i)&&isFinite(s)){var r=this._timeScale.indexToCoordinate(i+2*s)-this._timeScale.indexToCoordinate(i)-l.RoundRadius-l.TextMargins;if(!isFinite(r))return;t.wordWrapWidth.setValue(Math.max(l.MinWidth,r))}}}_onPointsetUpdated(e){super._onPointsetUpdated(e),0!==e.length&&(this._dragStartLeftEdgeIndex=this.points()[1].index)}move(e,t,i){super.move(e,t,i),this._calculateBarOffset()}state(e){var t=r.prototype.state.call(this,e);return t.barOffset=this._barOffset,t}restoreData(e){e.barOffset?this._barOffset=e.barOffset:this._calculateBarOffset(),this._calculatePoint2()}setPriceScale(e){n.prototype.setPriceScale.call(this,e),e&&e.priceRange()&&this._calculatePoint2()}template(){var e=r.prototype.template.call(this);return e.text=this.properties().childs().text.value(),e}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_calculatePoint2(){if(!(this._model.lineBeingEdited()===this||this._model.sourcesBeingMoved().includes(this)||this._points.length<2)){var e=this.points()[0],t=this.points()[1];this._points[1]={price:t.price,index:e.index+this._barOffset}}}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,26599))).CalloutDefinitionsViewModel}static createProperties(e){var t=new a("linetoolcallout",e);return h._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.hasChild("text")||e.addChild("text",new o(s("Text"))),e.addExclusion("text"),e.addChild("textsColors",new c([e.childs().color]))}}t.LineToolCallout=h},49802:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r), -i.e(1583).then(i.t.bind(i,99517,19)).then(({LineToolCircleLinesPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 2}name(){return"Cyclic Lines"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,66819))).CyclicAndSineLinesPatternDefinitionsViewModel}static createProperties(e){var t=new r("linetoolcirclelines",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolCircleLines=n},2039:(e,t,i)=>{"use strict";i.d(t,{LineToolCircle:()=>l});var s=i(2015),r=i.n(s),n=i(88564),o=i(89857),a=i(37865);class l extends o.LineDataSource{constructor(e,t,s,r){const n=t||l.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,13167)).then(({CirclePaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}pointsCount(){return 2}name(){return"Circle"}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new n.DefaultProperty("linetoolcircle",e);return l._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,3410))).EllipseCircleDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(r())("")),e.addChild("linesColors",new a.LineToolColorsProperty([e.childs().color])),e.addChild("linesWidths",new a.LineToolWidthsProperty([e.childs().linewidth])),e.addChild("backgroundsColors",new a.LineToolColorsProperty([e.childs().backgroundColor])),e.addChild("textsColors",new a.LineToolColorsProperty([e.childs().textColor],e.childs().showLabel)),e.addExclusion("linesColors"),e.addExclusion("linesWidths"),e.addExclusion("backgroundsColors"),e.addExclusion("text")}}},53193:(e,t,i)=>{"use strict";i.d(t,{LineToolCrossLine:()=>a});var s=i(88564),r=i(10198),n=i(67103),o=i(89857);class a extends o.LineDataSource{constructor(e,t,s,o){super(e,t||a.createProperties(),s,o),this._priceAxisView=new r.LineToolHorzLinePriceAxisView(this),this._timeAxisView=new n.LineToolVertLineTimeAxisView(this),i.e(1583).then(i.bind(i,62105)).then(({CrossLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Cross Line"}priceAxisViews(e,t){return this.isSourceHidden()?null:t===this.priceScale()&&this.properties().childs().showPrice.value()&&this._model.paneForSource(this)===e?[this._priceAxisView]:null}timeAxisViews(){return this.isSourceHidden()?null:this.properties().childs().showTime.value()?[this._timeAxisView]:null}updateAllViews(e){super.updateAllViews(e),this._priceAxisView.update(e),this._timeAxisView.update()}canHasAlert(){return!1}lineColor(){return this.properties().childs().linecolor.value()}lineWidth(){return this.properties().childs().linewidth.value()}lineStyle(){ -return this.properties().childs().linestyle.value()}static createProperties(e){const t=new s.DefaultProperty("linetoolcrossline",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,99645)).then(e=>e.CrossLineDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e)}}},980:(e,t,i)=>{"use strict";i.d(t,{LineToolCypherPattern:()=>n});var s=i(656),r=i(88564);class n extends s.LineTool5PointsPattern{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Cypher Pattern"}static createProperties(e){const t=new r.DefaultProperty("linetoolcypherpattern",e);return n._configureProperties(t),t}_loadPaneViews(e){i.e(1583).then(i.bind(i,58062)).then(t=>{this._setPaneViews([new t.CypherPaneView(this,e)])})}static _configureProperties(e){s.LineTool5PointsPattern._configureProperties(e)}}},85402:(e,t,i)=>{"use strict";i.d(t,{nonThemedFactoryDefaultsBase:()=>l,themedFactoryDefaultsBase:()=>c});var s=i(45112),r=i(24633),n=i(68906),o=i(52418);const a=(0,s.getHexColorByName)("color-tv-blue-500"),l={linewidth:1,fontsize:12,fillLabelBackground:!0,fillBackground:!0,backgroundTransparency:60,intervalsVisibilities:{...o.intervalsVisibilitiesDefaults}},c=new Map([[r.StdTheme.Light,{textcolor:(0,s.getHexColorByName)("color-black"),labelBackgroundColor:(0,s.getHexColorByName)("color-white"),linecolor:a,backgroundColor:(0,n.generateColor)(a,85),shadow:"rgba(0, 0, 0, 0.2)"}],[r.StdTheme.Dark,{textcolor:(0,s.getHexColorByName)("color-white"),labelBackgroundColor:(0,s.getHexColorByName)("color-cold-gray-800"),linecolor:a,backgroundColor:(0,n.generateColor)(a,85),shadow:"rgba(0, 0, 0, 0.4)"}]])},26215:(e,t,i)=>{"use strict";i.d(t,{LineToolDateAndPriceRange:()=>g});var s=i(88537),r=i(89857),n=i(34081),o=i(24633),a=i(45112),l=i(45383),c=i(85402);const h=(0,a.getHexColorByName)("color-tv-blue-500"),d={...c.nonThemedFactoryDefaultsBase,drawBorder:!1,borderWidth:1},u=new Map([[o.StdTheme.Light,{...c.themedFactoryDefaultsBase.get(o.StdTheme.Light),borderColor:h}],[o.StdTheme.Dark,{...c.themedFactoryDefaultsBase.get(o.StdTheme.Dark),borderColor:h}]]),p=(0,l.extractAllPropertiesKeys)((0,s.ensureDefined)(u.get(o.StdTheme.Light))),_=(0,l.extractAllPropertiesKeys)(d);class m extends l.ThemedDefaultProperty{static create(e){return new m("linetooldateandpricerange",()=>(0,l.factoryDefaultsForCurrentTheme)(d,u),_,p,e)}}class g extends r.LineDataSource{constructor(e,t,s,r){super(e,t||g.createProperties(),s,r),this._volumeCalculator=null,i.e(1583).then(i.bind(i,81226)).then(e=>{this._setPaneViews([new e.DateAndPriceRangePaneView(this,this._model)])})}destroy(){super.destroy(),null!==this._volumeCalculator&&this._volumeCalculator.destroy()}pointsCount(){return 2}name(){return"Date and Price Range"}volume(){if(null===this._volumeCalculator)return NaN;const e=this.points();return this._volumeCalculator.volume(e[0].index,e[1].index)}setOwnerSource(e){e===this._model.mainSeries()&&((0,s.assert)(null===this._volumeCalculator), -this._volumeCalculator=new n.SeriesTimeRangeVolumeCalculator(this._model.mainSeries())),super.setOwnerSource(e)}static createProperties(e){const t=m.create(e);return g._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80447))).GeneralDatePriceRangeDefinitionsViewModel}static _configureProperties(e){r.LineDataSource._configureProperties(e)}}},45669:(e,t,i)=>{"use strict";i.d(t,{LineToolDateRange:()=>_});var s=i(88537),r=i(89857),n=i(34081),o=i(24633),a=i(45383),l=i(85402);const c={...l.nonThemedFactoryDefaultsBase,extendTop:!1,extendBottom:!1},h=l.themedFactoryDefaultsBase,d=(0,a.extractAllPropertiesKeys)((0,s.ensureDefined)(h.get(o.StdTheme.Light))),u=(0,a.extractAllPropertiesKeys)(c);class p extends a.ThemedDefaultProperty{static create(e){return new p("linetooldaterange",()=>(0,a.factoryDefaultsForCurrentTheme)(c,h),u,d,e)}}class _ extends r.LineDataSource{constructor(e,t,s,r){super(e,t||_.createProperties(),s,r),this._volumeCalculator=null,i.e(1583).then(i.bind(i,27913)).then(e=>{this._setPaneViews([new e.DateRangePaneView(this,this._model)])})}destroy(){super.destroy(),null!==this._volumeCalculator&&this._volumeCalculator.destroy()}pointsCount(){return 2}name(){return"Date Range"}volume(){if(null===this._volumeCalculator)return NaN;const e=this.points();return this._volumeCalculator.volume(e[0].index,e[1].index)}setOwnerSource(e){e===this._model.mainSeries()&&((0,s.assert)(null===this._volumeCalculator),this._volumeCalculator=new n.SeriesTimeRangeVolumeCalculator(this._model.mainSeries())),super.setOwnerSource(e)}static createProperties(e){const t=p.create(e);return _._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80447))).GeneralDatePriceRangeDefinitionsViewModel}static _configureProperties(e){r.LineDataSource._configureProperties(e)}}},46512:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),this.version=n.version,i.e(1583).then(i.t.bind(i,56863,19)).then(({DisjointChannelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 3}name(){return"Disjoint Channel"}hasEditableCoordinates(){return!1}addPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.addPoint.call(this,e)}setLastPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.setLastPoint.call(this,e)}setPoint(e,t,i){var s=.5*(this._points[1].price+this._points[2].price);if(i&&i.shift()&&1===e){this._snapPoint45Degree(t,this.points()[0])}if(e<3&&super.setPoint(e,t),0!==e&&2!==e){if(1===e){var r=this._points[1].price-s;this._points[2].price=this._points[1].price-2*r}else if(3===e){r=t.price-this._points[2].price;this._points[0].price=this._points[1].price-r, -this._points[0].index=t.index}this.normalizePoints()}}getPoint(e){if(e<3)return s.prototype.getPoint.call(this,e);var t=this._points[0].price-this._points[2].price;return{index:this._points[0].index,price:this._points[1].price-t}}canHasAlert(){return!0}_getAlertPlots(){var e=this._points[0],t=this._points[1],i=[];e.index<=t.index?(i.push(e),i.push(t)):(i.push(t),i.push(e));var s=this._points[2];s.time=t.time,s.index=t.index;var r,n,o,a,l={price:s.price+(t.price-e.price),time:e.time,index:e.index},c=[];s.index<=l.index?(c.push(s),c.push(l)):(c.push(l),c.push(s)),i[0].price>c[0].price?(r=i,n=c):c[0].price>i[0].price||c[1].price>i[1].price?(r=c,n=i):(r=i,n=c);var h=this.properties().extendLeft.value(),d=this.properties().extendRight.value();return e.index<=t.index?(o=h,a=d):(o=d,a=h),[this._linePointsToAlertPlot(r,"Upper",o,a),this._linePointsToAlertPlot(n,"Lower",o,a)]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,14145))).GeneralTrendFiguresDefinitionsViewModel}static createProperties(e){var t=new r("linetooldisjointangle",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}n.version=1,t.LineToolDisjointChannel=n},97917:(e,t,i)=>{"use strict";i.d(t,{LineToolElliott:()=>u,LineToolElliottImpulse:()=>m,LineToolElliottTriangle:()=>f,LineToolElliottTripleCombo:()=>S,LineToolElliottCorrection:()=>w,LineToolElliottDoubleCombo:()=>P});var s=i(28353),r=i(24980),n=i(89857),o=i(28296),a=i(88564),l=i(37865);const c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],h=new r.TranslatedString("change Elliott degree",(0,s.t)("change Elliott degree")),d=[{value:0,title:(0,s.t)("Supermillennium")},{value:1,title:(0,s.t)("Millennium")},{value:2,title:(0,s.t)("Submillennium")},{value:3,title:(0,s.t)("Grand supercycle")},{value:4,title:(0,s.t)("Supercycle")},{value:5,title:(0,s.t)("Cycle")},{value:6,title:(0,s.t)("Primary")},{value:7,title:(0,s.t)("Intermediate")},{value:8,title:(0,s.t)("Minor",{context:"wave"})},{value:9,title:(0,s.t)("Minute",{context:"wave"})},{value:10,title:(0,s.t)("Minuette")},{value:11,title:(0,s.t)("Subminuette")},{value:12,title:(0,s.t)("Micro")},{value:13,title:(0,s.t)("Submicro")},{value:14,title:(0,s.t)("Minuscule")}];class u extends n.LineDataSource{constructor(e,t,s,r){super(e,null!=t?t:u.createProperties(),s,r),this.version=4,i.e(1583).then(i.bind(i,5761)).then(e=>{this._setPaneViews([new e.ElliottLabelsPaneView(this,this._model)])})}migrateVersion(e,t,i){if(i.properties.hasChild("background")&&i.properties.removeProperty("background"),i.properties.hasChild("backgroundColor")&&i.properties.removeProperty("backgroundColor"),i.properties.hasChild("showBackground")&&i.properties.removeProperty("showBackground"),1===e){const e=Object.assign({},this._timePoint[0]);if(this._timePoint.unshift(e),this._points.length>0){const e=Object.assign({},this._points[0]);this._points.unshift(e)}}}applyTemplate(e){const t=e;delete t.background,delete t.backgroundColor,delete t.showBackground,super.applyTemplate(e)}name(){ -return"Elliott Labels"}additionalActions(e){return[new o.Action({actionId:"Chart.LineTool.Elliot.ChangeDegreeProperty",label:(0,s.t)("Degree"),subItems:c.map(t=>{const i=d.filter(e=>e.value===t)[0];return new o.Action({actionId:"Chart.LineTool.Elliot.ChangeDegreeProperty",label:i.title,checkable:!0,checked:this.properties().childs().degree.value()===t,onExecute:()=>{e.setProperty(this.properties().childs().degree,t,h)}})})})]}label(e){const t=c.length-this.properties().childs().degree.value()-1,i=Math.floor(t/3);return{group:i,bold:!!(i%2),decoration:["","brackets","circle"][t%3],label:this.labelsGroup()[i][e]}}availableDegreesValues(){return d}static createProperties(e){const t=new a.DefaultProperty("linetoolelliott",e);return u._configureProperties(t),t}static migrateState(e){const t={0:11,1:10,2:9,3:8,4:7,5:6,6:5,7:4,8:3},i={0:11,1:8};"LineToolElliottSubminuette"===e.type&&(e.type="LineToolElliottImpulse",e.state.degree=t[e.state.wavesize]),"LineToolElliottMinor"===e.type&&(e.type="LineToolElliottImpulse",e.state.degree=t[e.state.wavesize]),"LineToolElliottCircle"===e.type&&(e.type="LineToolElliottImpulse",e.state.degree=t[e.state.wavesize]),"LineToolElliottMinorRetr"===e.type&&(e.type="LineToolElliottCorrection",e.state.degree=i[e.state.wavesize]),"LineToolElliottMajorRetr"===e.type&&(e.type="LineToolElliottCorrection",e.state.degree=i[e.state.wavesize])}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,31522))).ElliottPatternDefinitionsViewModel}static _configureProperties(e){n.LineDataSource._configureProperties(e),e.addChild("linesColors",new l.LineToolColorsProperty([e.childs().color])),e.addExclusion("linesColors")}}class p extends u{pointsCount(){return 6}static _configureProperties(e){u._configureProperties(e)}}const _=[["0","1","2","3","4","5"],["0","i","ii","iii","iv","v"],["0","1","2","3","4","5"],["0","I","II","III","IV","V"],["0","1","2","3","4","5"]];class m extends p{constructor(e,t,i,s){super(e,t||m.createProperties(),i,s)}name(){return"Elliott Impulse Wave (12345)"}labelsGroup(){return _}static createProperties(e){const t=new a.DefaultProperty("linetoolelliottimpulse",e);return m._configureProperties(t),t}static _configureProperties(e){p._configureProperties(e)}}const g=[["0","A","B","C","D","E"],["0","a","b","c","d","e"],["0","A","B","C","D","E"],["0","a","b","c","d","e"],["0","A","B","C","D","E"]];class f extends p{constructor(e,t,i,s){super(e,t||f.createProperties(),i,s)}name(){return"Elliott Triangle Wave (ABCDE)"}labelsGroup(){return g}static createProperties(e){const t=new a.DefaultProperty("linetoolelliotttriangle",e);return f._configureProperties(t),t}static _configureProperties(e){p._configureProperties(e)}}const v=[["0","W","X","Y","X","Z"],["0","w","x","y","x","z"],["0","W","X","Y","X","Z"],["0","w","x","y","x","z"],["0","W","X","Y","X","Z"]];class S extends p{constructor(e,t,i,s){super(e,null!=t?t:S.createProperties(),i,s)}name(){return"Elliott Triple Combo Wave (WXYXZ)"}labelsGroup(){return v} -static createProperties(e){const t=new a.DefaultProperty("linetoolelliotttriplecombo",e);return S._configureProperties(t),t}static _configureProperties(e){p._configureProperties(e)}}class y extends u{pointsCount(){return 4}static _configureProperties(e){u._configureProperties(e)}}const b=[["0","A","B","C"],["0","a","b","c"],["0","A","B","C"],["0","a","b","c"],["0","A","B","C"]];class w extends y{constructor(e,t,i,s){super(e,null!=t?t:w.createProperties(),i,s)}name(){return"Elliott Correction Wave (ABC)"}labelsGroup(){return b}static createProperties(e){const t=new a.DefaultProperty("linetoolelliottcorrection",e);return w._configureProperties(t),t}static _configureProperties(e){y._configureProperties(e)}}const C=[["0","W","X","Y"],["0","w","x","y"],["0","W","X","Y"],["0","w","x","y"],["0","W","X","Y"]];class P extends y{constructor(e,t,i,s){super(e,null!=t?t:P.createProperties(),i,s)}name(){return"Elliott Double Combo Wave (WXY)"}labelsGroup(){return C}static createProperties(e){const t=new a.DefaultProperty("linetoolelliottdoublecombo",e);return P._configureProperties(t),t}static _configureProperties(e){y._configureProperties(e)}}},38430:(e,t,i)=>{"use strict";i.d(t,{LineToolEllipse:()=>d});var s=i(88537),r=i(4652),n=i(86441),o=i(2015),a=i.n(o),l=i(89857),c=i(88564),h=i(37865);class d extends l.LineDataSource{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=2,this._dist=null,this._fakePointAdded=!1,i.e(1583).then(i.bind(i,58446)).then(({EllipsePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}startChanging(e,t){if(super.startChanging(e,t),0===e||1===e){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2]));this._dist=(0,r.distanceToLine)(e,t,i).distance||0}}addPoint(e,t,i){const s=l.LineDataSource.prototype.addPoint.call(this,e,t,i);return s&&(this._fakePointAdded=!1),s}setPoint(e,t,i,o){const a={...t};let l=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),c=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),h=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2]));switch(e){case 0:{if(i&&i.shift()){this._snapPoint45Degree(a,this._points[1]),this._points[0]=a,this._points[2]=this._preparePointInternal(this._points[2],i,!0),this._points[0].index===this._points[1].index&&this._fixVerticalDiameterPoints(this._points[0],this._points[1],this._points[2]);break}l=(0,s.ensureNotNull)(this.pointToScreenPoint(a));const e=c.subtract(l),t=l.add(c).scaled(.5),r=new n.Point(-e.y,e.x).normalized();h=t.add(r.scaled((0,s.ensureNotNull)(this._dist))),this._points[0]=a,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}case 1:{if(i&&i.shift()){this._snapPoint45Degree(a,this._points[0]),this._points[1]=a,this._points[2]=this._preparePointInternal(this._points[2],i,!0),this._points[0].index===this._points[1].index&&this._fixVerticalDiameterPoints(this._points[1],this._points[0],this._points[2]);break}c=(0, -s.ensureNotNull)(this.pointToScreenPoint(a));const e=c.subtract(l),t=l.add(c).scaled(.5),r=new n.Point(-e.y,e.x).normalized();h=t.add(r.scaled((0,s.ensureNotNull)(this._dist))),this._points[1]=a,this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}case 2:{const e=(0,s.ensureNotNull)(this.pointToScreenPoint(a)),t=(0,r.distanceToLine)(l,c,e).distance,i=c.subtract(l),o=l.add(c).scaled(.5),d=new n.Point(-i.y,i.x).normalized();h=o.add(d.scaled(t)),this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}case 3:{const e=(0,s.ensureNotNull)(this.pointToScreenPoint(a)),t=(0,r.distanceToLine)(l,c,e).distance,i=c.subtract(l),o=l.add(c).scaled(.5),d=new n.Point(-i.y,i.x).normalized();h=o.add(d.scaled(t)),this._points[2]=(0,s.ensureNotNull)(this.screenPointToPoint(h));break}}this.normalizePoints()}pointsCount(){return 3}name(){return"Ellipse"}hasEditableCoordinates(){return!1}migrateVersion(e,t,i){if(1===e&&2===this._points.length){const e=this._points[0].price,t=.5*(this._points[0].price+this._points[1].price);this._points[0]={price:t,index:this._points[0].index},this._points[1]={price:t,index:this._points[1].index},this._points.push({price:e,index:this._points[0].index})}if(1===e&&2===this._timePoint.length){const e=this._timePoint[0].price,t=.5*(this._timePoint[0].price+this._timePoint[1].price);this._timePoint[0].price=t,this._timePoint[1].price=t;const i={price:e,offset:this._timePoint[0].offset,time_t:this._timePoint[0].time_t};this._timePoint.push(i)}}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new c.DefaultProperty("linetoolellipse",e);return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,3410))).EllipseCircleDefinitionsViewModel}_preparePoint(e,t){const i=this._preparePointInternal(e,t,!1);return t&&t.shift()&&this._points[0].index===this._points[1].index&&this._fixVerticalDiameterPoints(this._points[1],this._points[0],i),i}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static _configureProperties(e){l.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(a())("")),e.addChild("linesColors",new h.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new h.LineToolColorsProperty([e.childs().textColor],e.childs().showLabel)),e.addExclusion("text")}_preparePointInternal(e,t,i){let r={...e};if(t&&t.shift()){const t=this.points().length;if(!this._fakePointAdded&&3===t&&!i)return r;if(this._fakePointAdded||2===t||i){this._snapPoint45Degree(e,this._points[0]),this._fakePointAdded?this._points[1]=e:i||(this._fakePointAdded=!0,super._addPointIntenal(e));const t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),o=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),a=o.x-t.x,l=o.y-t.y,c=Math.sqrt(a*a+l*l)/2,h=o.subtract(t),d=t.add(o).scaled(.5),u=new n.Point(-h.y,h.x).normalized(),p=d.add(u.scaled(c));r=(0, -s.ensureNotNull)(this.screenPointToPoint(p)),(isNaN(r.price)||isNaN(r.index))&&(r=(0,s.ensureNotNull)(this.screenPointToPoint(d)))}}else this._fakePointAdded&&(this._points.splice(1,1),this._fakePointAdded=!1);return r}_fixVerticalDiameterPoints(e,t,i){const r=(0,s.ensureNotNull)(this.pointToScreenPoint(e)),o=(0,s.ensureNotNull)(this.pointToScreenPoint(t)),a=this._model.timeScale(),l=a.indexToCoordinate(e.index),c=a.indexToCoordinate(i.index);let h=2*Math.abs(l-c);h*=t.price>e.price?1:-1,e.price=(0,s.ensureNotNull)(this.screenPointToPoint(new n.Point(r.x,o.y+h))).price}}},39593:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(53664),n=i(88564).DefaultProperty,o=i(71053).PlotRowSearchMode;const a=i(67337);var l=i(59555).sortSourcesPreOrdered.LineToolExecution;class c{constructor(e,t){this._pane=e,this._timeScale=t}static recreateOrderedByBarsSourcesCache(e){c.clearOrderedByBarsSourcesCache();for(var t=c.prototype,i=e.sourcesByGroup().all(),s=0;s_.lastBar()||i<_.firstBar())return{x:-1,y:-1};for(var m=this._cachedByBarIndexOrderedExecutions[i]||this._pane.sourcesByGroup().all(),g=m.length-1;g>=0;--g){var f=m[g];if(f instanceof d&&f._adapter._index===i&&f._adapter.getDirection()===r){if(f===e._line)break;var v=f._adapter._height();s=n?s+v:s-v}}return{x:t.indexToCoordinate(i),y:s}}}c.prototype._cachedByBarIndexOrderedExecutions={};class h{constructor(e){this._line=e}_height(){var e=this.getArrowHeight(),t=this.getArrowSpacing();this.getText()&&r.fontHeight(this.getFont());return e+t+0+10}getIndex(){return this._line._model.timeScale().baseIndex()-this._line.points()[0].index}setIndex(e){var t=this._line._model.timeScale().baseIndex()-Math.abs(e);this._line.startMoving({logical:this._line.points()[0]});var i=TradingView.merge({},this._line.points()[0]);return i.index=t,this._line.move({logical:i}),this._line.endMoving(),this}getTime(){return this._unixtime}setTime(e){return this._unixtime=e,this._line.restorePoints([{offset:0,price:this.getPrice(),time_t:this._unixtime}],[]),this._line.createServerPoints(),this}getPrice(){return this._line.points().length>0?this._line.points()[0].price:this._line._timePoint.length>0?this._line._timePoint[0].price:void 0}setPrice(e){return this._line.points().length>0&&(this._line.points()[0].price=e), -this._line._timePoint.length>0&&(this._line._timePoint[0].price=e),this}getText(){return this._line.properties().text.value()}setText(e){return this._line.properties().text.setValue(e||""),this._line.updateAllViewsAndRedraw(),this}getArrowHeight(){return this._line.properties().arrowHeight.value()}setArrowHeight(e){return this._line.properties().arrowHeight.setValue(e||5),this}getArrowSpacing(){return this._line.properties().arrowSpacing.value()}setArrowSpacing(e){return this._line.properties().arrowSpacing.setValue(e||1),this}getDirection(){return this._line.properties().direction.value()}setDirection(e){return this._line.properties().direction.setValue(e||"buy"),this}getArrowColor(){var e=this._line.properties();return"buy"===this.getDirection()?e.arrowBuyColor.value():e.arrowSellColor.value()}setArrowColor(e){return"buy"===this.getDirection()?this.setArrowBuyColor(e):this.setArrowSellColor(e),this}setArrowBuyColor(e){return this._line.properties().arrowBuyColor.setValue(e),this}setArrowSellColor(e){return this._line.properties().arrowSellColor.setValue(e),this}getTextColor(){return r.getColorFromProperties(this._line.properties().textColor,this._line.properties().textTransparency)}setTextColor(e){return r.setColorToProperties(e,this._line.properties().textColor,this._line.properties().textTransparency),this}getFont(){return r.getFontFromProperties(this._line.properties().fontFamily,this._line.properties().fontSize,this._line.properties().fontBold,this._line.properties().fontItalic)}setFont(e){return r.setFontToProperties(e,this._line.properties().fontFamily,this._line.properties().fontSize,this._line.properties().fontBold,this._line.properties().fontItalic),this}setTooltip(e){return null==e?e="":e+="",this._line.properties().tooltip.setValue(e),this}getTooltip(){return this._line.properties().tooltip.value()}remove(){this._line._model.removeSource(this._line),delete this._line}getPoints(){return this._line.points()}}class d extends s{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this._adapter=new h(this),this.customization.forcePriceAxisLabel=!1,this.customization.disableErasing=!0,this.customization.showInObjectTree=!1,this.setSelectionEnabled(!1),i.e(1583).then(i.t.bind(i,90216,19)).then(({ExecutionPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}zorder(){return l}isSpeciallyZOrderedSource(){return!0}pointsCount(){return d.POINTS_COUNT}name(){return"Execution"}hasContextMenu(){return!1}state(){return null}updateAllViews(){return this._isVisible()?s.prototype.updateAllViews.call(this):null}priceAxisViews(e,t){return this._isVisible()?s.prototype.priceAxisViews.call(this,e,t):null}_isVisible(){return this._model.properties().tradingProperties.showExecutions.value()}paneViews(){return TradingView.printing&&!a.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showExecutions.value()?s.prototype.paneViews.call(this):null}userEditEnabled(){return!1}showInObjectTree(){return!1}cloneable(){return!1}copiable(){return!1}isSynchronizable(){return!1} -static createProperties(e){var t=new n("linetoolexecution",e,!1,!1);return d._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}d.POINTS_COUNT=1,t.ExecutionsPositionController=c,t.LineToolExecution=d},41239:(e,t,i)=>{"use strict";var s=i(57649).LineToolTrendLine,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Extended Line"}static createProperties(e){var t=new r("linetoolextended",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolExtended=n},48917:(e,t,i)=>{"use strict";i.d(t,{LineToolFibChannel:()=>h});var s=i(88537),r=i(28353),n=i(24980),o=i(89857),a=i(34580),l=i(37865);const c=new n.TranslatedString("erase level line",(0,r.t)("erase level line"));class h extends o.LineDataSource{constructor(e,t,s,r){super(e,t||h.createProperties(),s,r),this.version=2,i.e(1583).then(i.bind(i,74042)).then(({FibChannelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return 24}migrateVersion(e,t,i){i.properties.removeProperty("reverse")}pointsCount(){return 3}name(){return"Fib Channel"}processErase(e,t){const i="level"+t,s=this.properties().child(i).childs().visible;e.setProperty(s,!1,c)}static createProperties(e){const t=new a.LevelsProperty("linetoolfibchannel",e,!1,{range:[1,24],names:["coeff","color","visible"]});return h._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34670))).FibDrawingsWith24LevelsDefinitionsViewModel}static _configureProperties(e){o.LineDataSource._configureProperties(e);const t=[];for(let i=1;i<=24;i++){const r=(0,s.ensureDefined)(e.child("level"+i));t.push((0,s.ensureDefined)(r.child("color")))}e.addChild("linesColors",new l.LineToolColorsProperty(t))}}},54502:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.t.bind(i,24227,19)).then(({FibCirclesPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 2}name(){return"Fib Circles"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetoolfibcircles",e,!1,{range:[1,11]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,9948))).FibCirclesDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color")) -;e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,t.LineToolFibCircles=d},44860:(e,t,i)=>{"use strict";i.d(t,{LineToolFibRetracement:()=>c});var s=i(28353),r=i(24980),n=i(34580),o=i(89857),a=i(37865);const l=new r.TranslatedString("erase level line",(0,s.t)("erase level line"));class c extends o.LineDataSource{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),this.version=2,i.e(1583).then(i.bind(i,22567)).then(e=>{this._setPaneViews([new e.FibRetracementPaneView(this,this._model)])})}levelsCount(){return 24}pointsCount(){return 2}name(){return"Fib Retracement"}migrateVersion(e){1===e&&this.properties().childs().extendLines.setValue(!0)}processErase(e,t){const i="level"+t,{visible:s}=this.properties().childs()[i].childs();e.setProperty(s,!1,l)}fibLevelsBasedOnLogScale(){var e;return this.properties().childs().fibLevelsBasedOnLogScale.value()&&!!(null===(e=this.priceScale())||void 0===e?void 0:e.isLog())}static createProperties(e){const t=new n.LevelsProperty("linetoolfibretracement",e,!1,{range:[1,24],names:["coeff","color","visible"]});return c._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34670))).FibDrawingsWith24LevelsDefinitionsViewModel}static _configureProperties(e){var t;const i=e;super._configureProperties(i);const s=[i.childs().trendline.childs().linewidth,i.childs().levelsStyle.childs().linewidth],r=[i.childs().trendline.childs().color];for(let e=1;e<=24;e++){const s=null===(t=i.child("level"+e))||void 0===t?void 0:t.child("color");r.push(s)}i.addChild("linesColors",new a.LineToolColorsProperty(r)),i.addChild("linesWidths",new a.LineToolWidthsProperty(s))}}},19857:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.bind(i,52832)).then(({FibSpeedResistanceArcsPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 2}name(){return"Fib Speed Resistance Arcs"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetoolfibspeedresistancearcs",e,!1,{range:[1,11]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,17770))).FibSpeedResistanceArcsDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,t.LineToolFibSpeedResistanceArcs=d},70673:(e,t,i)=>{ -"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865).LineToolColorsProperty,l=new r("erase level line",s("erase level line"));class c extends n{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),i.e(1583).then(i.bind(i,95294)).then(({FibSpeedResistanceFanPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}hLevelsCount(){return c.HLevelsCount}vLevelsCount(){return c.VLevelsCount}pointsCount(){return 2}name(){return"Fib Speed Resistance Fan"}processErase(e,t){var i="h"===t.type?"hlevel"+t.index:"vlevel"+t.index,s=this.properties()[i].visible;e.setProperty(s,!1,l)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,51697))).FibSpeedResistanceFanDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static createProperties(e){void 0!==e&&void 0===e.reverse&&(e.reverse=!0);var t=new o("linetoolfibspeedresistancefan",e,!1,{range:[1,7],prefixes:["h","v"],names:["coeff","color","visible"]});return c._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);var t=[e.child("grid").child("color")];for(let i=1;i<=c.HLevelsCount;i++)t.push(e.child("hlevel"+i).child("color"));for(let i=1;i<=c.VLevelsCount;i++)t.push(e.child("vlevel"+i).child("color"));e.addChild("linesColors",new a(t)),e.addExclusion("linesColors")}}c.HLevelsCount=7,c.VLevelsCount=7,t.LineToolFibSpeedResistanceFan=c},29638:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),i.e(1583).then(i.bind(i,22115)).then(({FibSpiralPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 2}name(){return"Fib Spiral"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,29216))).FibSpiralDefinitionsViewModel}static createProperties(e){var t=new r("linetoolfibspiral",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolFibSpiral=n},63835:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=d.version,i.e(1583).then(i.t.bind(i,28550,19)).then(({FibTimeZonePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}migrateVersion(e,t,i){if(1===e){i.properties.level1.color.setValue(i.properties.baselinecolor.value());for(var s=2;s<=11;s++)i.properties["level"+s].color.setValue(i.properties.linecolor.value());for(s=1;s<=11;s++)i.properties["level"+s].linewidth.setValue(i.properties.linewidth.value()),i.properties["level"+s].linestyle.setValue(i.properties.linestyle.value())}}pointsCount(){return 2}name(){return"Fib Time Zone"}processErase(e,t){ -var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,45384))).FibTimezoneDefinitionsViewModel}static createProperties(e){var t=new o("linetoolfibtimezone",e,!1,{range:[1,11]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[],i=[],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));for(t=[],i=[],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.version=2,d.LevelsCount=11,t.LineToolFibTimeZone=d},53804:(e,t,i)=>{"use strict";i.d(t,{LineToolFibWedgeBase:()=>o});var s=i(88537),r=i(86441),n=i(89857);class o extends n.LineDataSource{pointsCount(){return 3}hasEditableCoordinates(){return!1}setPoint(e,t){if(super.setPoint(e,t),!this._recursiveGuard)try{if(this._recursiveGuard=!0,2===e){const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0]));let t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));const i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2])).subtract(e).length();let n=t.subtract(e);n.length()<=0&&(n=new r.Point(1,0)),t=e.add(n.normalized().scaled(i));const o=(0,s.ensureNotNull)(this.screenPointToPoint(t)),a=this._pointsProperty.childs().points[1];a.childs().price.setValue(o.price),a.childs().bar.setValue(o.index)}else{const e=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));let i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[2]));const n=t.subtract(e).length();let o=i.subtract(e);o.length()<=0&&(o=new r.Point(1,0)),i=e.add(o.normalized().scaled(n));const a=(0,s.ensureNotNull)(this.screenPointToPoint(i)),l=this._pointsProperty.childs().points[2];l.childs().price.setValue(a.price),l.childs().bar.setValue(a.index)}}finally{this._recursiveGuard=!1}}addPoint(e){if(2===this._points.length){const t=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),i=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1]));let r=(0,s.ensureNotNull)(this.pointToScreenPoint(e));const n=i.subtract(t).length(),o=r.subtract(t).normalized();r=t.add(o.scaled(n));const a=(0,s.ensureNotNull)(this.ownerSource()),l=(0,s.ensureNotNull)(a.firstValue()),c=(0,s.ensureNotNull)(this.priceScale()).coordinateToPrice(r.y,l);e={index:Math.round(this._model.timeScale().coordinateToIndex(r.x)),price:c}}return n.LineDataSource.prototype.addPoint.call(this,e)}}},41668:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(53804).LineToolFibWedgeBase,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r), -i.e(1583).then(i.t.bind(i,82522,19)).then(({FibWedgePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}isSynchronizable(){return!1}levelsCount(){return d.LevelsCount}name(){return"Fib Wedge"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetoolfibwedge",e,!1,{range:[1,11]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,90156))).FibWedgeDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,t.LineToolFibWedge=d},53342:(e,t,i)=>{"use strict";i.d(t,{LineToolFlagMark:()=>a});var s=i(86441),r=i(89857),n=i(88564),o=i(37865);class a extends r.LineDataSource{constructor(e,t,r,n){super(e,t||a.createProperties(),r,n),i.e(1583).then(i.bind(i,16089)).then(({FlagMarkPaneView:e})=>{const t=new e(this,this.model());t.setAnchors(new s.Point(0,0)),this._setPaneViews([t])})}pointsCount(){return 1}name(){return"Flag Mark"}static createProperties(e){e&&void 0===e.flagColor&&(e.flagColor="#318757");const t=new n.DefaultProperty("linetoolflagmark",e);return a._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,18661)).then(e=>e.FlagMarkDefinitionsViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("backgroundsColors",new o.LineToolColorsProperty([e.childs().flagColor])),e.addExclusion("backgroundsColors")}}a.version=2},47047:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),this.version=n.version,i.e(1583).then(i.t.bind(i,82830,19)).then(({FlatBottomPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 3}name(){return"Flat Bottom"}hasEditableCoordinates(){return!1}addPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.addPoint.call(this,e)}setLastPoint(e,t){return t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[this.points().length-2]),s.prototype.setLastPoint.call(this,e)}setPoint(e,t,i){if(i&&i.shift()&&1===e){this._snapPoint45Degree(t,this.points()[0])}if(2===e)this._points[1].index=t.index;else if(3===e)return this._points[0].index=t.index,this._points[2].price=t.price,void this.normalizePoints();super.setPoint(e,t)}getPoint(e){return e<3?s.prototype.getPoint.call(this,e):3===e?{index:this._points[0].index,price:this._points[2].price}:void 0}canHasAlert(){return!0}_getAlertPlots(){var e=this._points[0],t=this._points[1],i=[];e.index<=t.index?(i.push(e), -i.push(t)):(i.push(t),i.push(e));var s=this._points[2];s.time=t.time,s.index=t.index;var r,n,o,a,l={price:s.price,time:e.time,index:e.index},c=[];s.index<=l.index?(c.push(s),c.push(l)):(c.push(l),c.push(s)),i[0].price>c[0].price?(r=i,n=c):c[0].price>i[0].price||c[1].price>i[1].price?(r=c,n=i):(r=i,n=c);var h=this.properties().extendLeft.value(),d=this.properties().extendRight.value();return e.index<=t.index?(o=h,a=d):(o=d,a=h),[this._linePointsToAlertPlot(r,"Upper",o,a),this._linePointsToAlertPlot(n,"Lower",h,a)]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,14145))).GeneralTrendFiguresDefinitionsViewModel}static createProperties(e){var t=new r("linetoolflatbottom",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}n.version=1,t.LineToolFlatBottom=n},50301:(e,t,i)=>{"use strict";i.d(t,{createPropertiesObject:()=>a});var s=i(80643),r=i(34580);function n(e,t,i){var r;for(const n of Object.keys(null!==(r=e.levels)&&void 0!==r?r:{}))if(e.levels[n]&&(0,s.isSameType)(e.levels[n],t.typecheck())){let s=t.tpl();i.names.forEach((i,r)=>{s=t.fill(""+r,i,e.levels[n],s)}),e.levels[n]=s}return e}class o extends r.LevelsProperty{constructor(e,t){super(e,t,!1,{names:["width","color","visible"]},n)}}function a(e,t){return new o(e,t)}},52870:(e,t,i)=>{"use strict";i.d(t,{LineToolGannComplex:()=>d});var s=i(86441),r=i(88537),n=i(51264),o=i(89857),a=i(22423),l=i(50301),c=i(37865),h=i(22799);class d extends o.LineDataSource{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=2,this._scaleRatioFormatter=new n.LimitedPrecisionNumericFormatter(7),this.version=2,i.e(1583).then(i.bind(i,72e3)).then(({GannComplexPaneView:e})=>{this._setPaneViews([new e(this,this.model())])});const o=this.properties();this._adjustScaleRatio(o),o.subscribe(this,this._adjustScaleRatio),o.childs().scaleRatio.subscribe(this,this._correctFirstPoint),this._syncStateExclusions=["scaleRatio"],o.onRestoreFactoryDefaults().subscribe(this,this._handleRestoringFactoryDefaults),this._onTemplateApplying.subscribe(this,this._handleTemplateApplying),this._onTemplateApplied.subscribe(this,this._correctFirstPoint)}migrateVersion(e,t,i){1===e&&(this._points.length>=this.pointsCount()?setTimeout(()=>this._migratePoint()):this._timePoint.length>=this.pointsCount()&&this._pointAdded.subscribe(this,this._migratePoint))}destroy(){const e=this.properties();e.unsubscribe(this,this._adjustScaleRatio),e.childs().scaleRatio.unsubscribe(this,this._correctFirstPoint),e.onRestoreFactoryDefaults().unsubscribe(this,this._handleRestoringFactoryDefaults),this._onTemplateApplying.unsubscribe(this,this._handleTemplateApplying),this._onTemplateApplied.unsubscribe(this,this._correctFirstPoint),super.destroy()}pointsCount(){return 2}name(){return"Gann Square"}addPoint(e,t,i){this._points.length>1&&this._points.pop();const s=super.addPoint(e,t,i),n=this.priceScale();return!(0,r.ensureNotNull)(n).isLog()&&s&&this._correctFirstPoint(),s}setPoint(e,t,i){ -super.setPoint(e,t,i),void 0!==i&&i.shift()?this._correctPoint(e):this._correctScaleRatio()}setLastPoint(e,t){const i=this.priceScale();return(0,r.ensureNotNull)(i).isLog()||(this._points[1]=e,this._correctPoint(1)),super.setLastPoint(e,t)}isReversed(){return this.properties().childs().reverse.value()}levelsCount(){return this.properties().childs().levels.childCount()}levels(){const e=[],t=this.properties().childs(),i=t.levels.childCount();for(let s=0;se.GannComplexAndFixedDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.addExclusion("scaleRatio");const t=[],i=[],s=e.childs();{const e=s.levels.childCount();for(let r=0;r0,o=s.index-r.index>0;let a=n&&!o||!n&&o?-1:1;0===e&&(a=-a),s.price=r.price+a*t*i,this._pointChanged.fire(e)}this.normalizePoints()}_correctFirstPoint(){this._correctPoint(this.isReversed()?0:1)}_handleRestoringFactoryDefaults(){this.properties().childs().scaleRatio.setValue(this._getAdjustedScaleRatio())}_handleTemplateApplying(e){""===e.scaleRatio&&(e.scaleRatio=this._getAdjustedScaleRatio())}_migratePoint(){if(this.points().length0){s=s.normalized();let e=Math.acos(s.x);return s.y>0&&(e=-e),e}return null}}},5094:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.bind(i,66323)).then(({GannFanPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 2}name(){return"Gann Fan"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,73511))).GannFanDefinitionsViewModel}static createProperties(e){var t=new o("linetoolgannfan",e,!1,{range:[1,9]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[],i=[],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)), -e.addChild("linesWidths",new l(t))}}d.LevelsCount=9,t.LineToolGannFan=d},33209:(e,t,i)=>{"use strict";i.d(t,{LineToolGannFixed:()=>l});var s=i(86441),r=i(88537),n=i(89857),o=i(37865),a=i(50301);class l extends n.LineDataSource{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this._constructor="LineToolGannFixed",i.e(1583).then(i.bind(i,93695)).then(({GannFixedPaneView:e})=>{this._setPaneViews([new e(this,this.model())])}),this.properties().childs().reverse.subscribe(this,this._reversePoints)}pointsCount(){return 2}name(){return"Gann Square Fixed"}axisPoints(){const e=this.points(),t=this.getScreenPoints();return e.length<2||t.length<2?[]:[e[0],(0,r.ensureNotNull)(this.screenPointToPoint(t[1]))]}getScreenPoints(){const e=this.points();if(e.length<2)return[];const t=this._calcAngle();if(null===t)return[];const[i,n]=e,o=(0,r.ensureNotNull)(this.pointToScreenPoint(i)),a=(0,r.ensureNotNull)(this.pointToScreenPoint(n)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),c=new s.Point(Math.cos(t),-Math.sin(t)),h=c.normalized(),d=h.x<0?-1:1,u=h.y<0?-1:1;return[o.addScaled(c,l),o.add(new s.Point(5*l*d,5*l*u))]}levelsCount(){return this.properties().childs().levels.childCount()}levels(){const e=[],t=this.properties().childs(),i=t.levels.childCount();for(let s=0;se.GannComplexAndFixedDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e);const t=[],i=[],s=e.childs();{const e=s.levels.childCount();for(let r=0;r0&&(o=-o),o}_reversePoints(){const[e,t]=this._points;this._points[0]=t,this._points[1]=e,this.normalizePoints(),this.restart()}}},97433:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(34580).LevelsProperty,n=i(37865).LineToolColorsProperty,o=[4.5,9,11.25,18,22.5,36,45],a=function(){for(var e=[],t=o.length-1,i=1,s=0,r=0;r<1e10;)r=o[s]*i,e.push(Math.round(r)),e.push(Math.ceil(-r)),s===t-1&&(i*=10),s=(s+1)%t;return e.sort((function(e,t){return et?1:0})),e}();class l extends s{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),i.e(1583).then(i.t.bind(i,50527,19)).then(({GannSquarePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}hLevelsCount(){return l.HLevelsCount}vLevelsCount(){return l.VLevelsCount}pointsCount(){return 2}name(){return"Gann Box"}_alignPriceOnPattern(e,t){var i=Math.round(1e6*(e.price-t.price))/1e6;if(0===i)return t.price;for(var s=o[0],r=o[o.length-1],n=1,a=Math.abs(i);a=0&&!(o[c]*n=0?l:-l),e}_alignTimeOnPattern(e,t){var i=e.index-t.index;if(0===i)return 0;for(var s=a.length-2;s>=0&&!(a[s]0?1:0,e.index=t.index+a[s],e}_alignPointsFixedIncrement(e,t){return this._alignTimeOnPattern(e,t),this._alignPriceOnPattern(e,t),e}_preparePoint(e,t){return t&&t.shift()&&0!==this._points.length&&this._alignPointsFixedIncrement(e,this._points[0]),super._preparePoint(e,t)}getPoint(e){if(e<2)return super.getPoint(e);var t=null;switch(e){case 2:case 3:var i=this.points();if(i.length===this.pointsCount()){var s=i[0].index,r=i[1].price;3===e&&(s=i[1].index,r=i[0].price),t={index:s,price:r}}}return t}setPoint(e,t,i){if(i&&i.shift()){var s=e%2==0?this._points[1]:this._points[0];this._alignPointsFixedIncrement(t,s)}switch(e){case 2:this._points[0].index=t.index,this._points[1].price=t.price;break;case 3:this._points[1].index=t.index,this._points[0].price=t.price;break;default:super.setPoint(e,t,i)}}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,58026))).GannSquareDefinitionsViewModel}static createProperties(e){var t=new r("linetoolgannsquare",e,!1,{range:[1,7],prefixes:["h","v"],names:["coeff","color","visible"]});return l._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e);for(var t=[e.child("color"),e.child("fans").child("color")],i=1;i<=l.HLevelsCount;i++)t.push(e.child("hlevel"+i).child("color"));for(i=1;i<=l.VLevelsCount;i++)t.push(e.child("vlevel"+i).child("color"));e.addChild("linesColors",new n(t)),e.addExclusion("linesColors")}}l.HLevelsCount=7,l.VLevelsCount=7, -t.LineToolGannSquare=l},82241:(e,t,i)=>{"use strict";i.d(t,{LineToolGhostFeed:()=>c});var s=i(88564),r=i(89857),n=i(88537),o=i(80643);class a{constructor(e,t,i){this._source=e,this._segmentIndex=t,this._bars=null!=i?i:[]}setBars(e){this._bars=e}clone(e){return new a(e,this._segmentIndex,(0,o.clone)(this._bars))}generate(){this._bars=[];const e=this._source.points(),t=e[this._segmentIndex],i=e[this._segmentIndex+1];if(!t||!i||t.index===i.index)return;const s=this._segmentIndex?t.index+1:t.index,r=Math.sign(i.index-t.index);for(let e=s;e!==i.index;e+=r)this._bars.push(this._createBar())}bars(){return this._bars}setSize(e){if(e{this._setPaneViews([new t.GhostFeedPaneView(this,e)])})}isSynchronizable(){return!1}destroy(){this.properties().onRestoreFactoryDefaults().unsubscribe(this,this._handleRestoringFactoryDefaults),super.destroy()}propertiesChanged(){super.propertiesChanged(),this._currentAverageHL===this.properties().childs().averageHL.value()&&this._currentVariance===this.properties().childs().variance.value()||this._regenerate()}pointsCount(){return-1}name(){return"Ghost Feed"}segmentBars(e){return this._segments[e].bars()}segments(){return this._segments}generateBars(e){this._segments.length<=e&&this._segments.push(new a(this,e)),this._segments[e].generate()}addPoint(e,t,i){if(this._finished)return!0;if(this._points.length>0){const i=this._points[this._points.length-1];if(!(null==t?void 0:t.isApiEvent())&&i.index===e.index){this._lastPoint=null,this.normalizePoints(),this.createServerPoints();for(let e=0;e1&&this.generateBars(this._points.length-2),s}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}setPoint(e,t,i,s){if(super.setPoint(e,t,i),e>0){const i=this.points()[e-1],s=t.index-i.index -;this._segments[e-1].setSize(Math.abs(s))}if(e({bars:[...e.bars()]})),t}restoreData(e){e.segments&&(this._segments=e.segments.map((e,t)=>new a(this,t,e.bars))),this._currentAverageHL=this.properties().childs().averageHL.value(),this._currentVariance=this.properties().childs().variance.value()}onData(e){super.onData(e);if(!this.pointsProperty().childs().points.child("0"))for(let e=0;ee.clone(this))}startMoving(e,t,i,s){super.startMoving(e,t,i,s),this._preparePixelSegments()}move(e,t,i,s){super.move(e,t,i,s),this._restoreSegmentsFromPixels()}endMoving(e,t){return this._segmentsPixelsWhileMoving=null,super.endMoving(e,t)}static createProperties(e){const t=new s.DefaultProperty("linetoolghostfeed",e);return c._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,65818))).GhostFeedDefinitionsViewModel}_handleRestoringFactoryDefaults(){const e=Math.round(this._calculateATR());this.properties().childs().averageHL.setValue(e)}_regenerate(){this._currentAverageHL=this.properties().childs().averageHL.value(),this._currentVariance=this.properties().childs().variance.value(),this._segments.forEach(e=>e.generate()),this.updateAllViews((0,l.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}_calculateATR(){const e=this._model.mainSeries(),t=[];e.bars().each((e,i)=>{const s=i[2],r=i[3];return null!=s&&null!=r&&t.push(s-r),!1});let i=0===t.length?0:t.reduce((e,t)=>e+t,0)/t.length;return i*=e.base(),i}_preparePixelSegments(){var e,t;const i=this.priceScale(),s=null!==(t=null===(e=this.ownerSource())||void 0===e?void 0:e.firstValue())&&void 0!==t?t:null;if(null===i||null===s||i.isEmpty()||!i.isLog())return;const r=this.points();this._segmentsPixelsWhileMoving=this._segments.map((e,t)=>{const n=r[t].price,o=r[t+1].price,a=i.priceToCoordinate(n,s),l=(i.priceToCoordinate(o,s)-a)/(e.bars().length-1);return{bars:e.bars().map((e,t)=>{const r=a+t*l,n=i.coordinateToPrice(r,s);return{open:i.priceToCoordinate(n+e.o,s)-r,high:i.priceToCoordinate(n+e.h,s)-r,low:i.priceToCoordinate(n+e.l,s)-r,close:i.priceToCoordinate(n+e.c,s)-r}})}})}_restoreSegmentsFromPixels(){var e,t;const i=this.priceScale(),s=null!==(t=null===(e=this.ownerSource())||void 0===e?void 0:e.firstValue())&&void 0!==t?t:null;if(null===i||null===s||null===this._segmentsPixelsWhileMoving)return;const r=this.points();this._segmentsPixelsWhileMoving.forEach((e,t)=>{const n=this._segments[t],o=r[t].price,a=r[t+1].price,l=i.priceToCoordinate(o,s),c=(i.priceToCoordinate(a,s)-l)/(e.bars.length-1),h=n.bars().map((t,r)=>{ -const n=e.bars[r],o=l+r*c,a=i.coordinateToPrice(o,s);return{...t,o:i.coordinateToPrice(n.open+o,s)-a,h:i.coordinateToPrice(n.high+o,s)-a,l:i.coordinateToPrice(n.low+o,s)-a,c:i.coordinateToPrice(n.close+o,s)-a}});n.setBars(h)})}}},90378:(e,t,i)=>{"use strict";i.d(t,{LineToolHeadAndShoulders:()=>o});var s=i(88564),r=i(89857),n=i(37865);class o extends r.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,75545)).then(t=>{this._setPaneViews([new t.LineToolHeadAndShouldersPaneView(this,e)])})}pointsCount(){return 7}name(){return"Head and Shoulders"}static createProperties(e){const t=new s.DefaultProperty("linetoolheadandshoulders",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,93262)).then(e=>e.PatternWithBackgroundDefinitionViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new n.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new n.LineToolColorsProperty([e.childs().textcolor]))}}},65649:(e,t,i)=>{"use strict";i.d(t,{LineToolHighlighter:()=>n});var s=i(88564),r=i(27258);class n extends r.LineToolBrushBase{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s),this._loadPaneViews(e)}smooth(){return this.properties().childs().smooth.value()}name(){return"Highlighter"}static createProperties(e){const t=new s.DefaultProperty("linetoolhighlighter",e);return n._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,19461)).then(e=>e.HighlighterDefinitionsViewModel)}_loadPaneViews(e){i.e(1583).then(i.bind(i,94672)).then(t=>{this._setPaneViews([new t.HighlighterPaneView(this,e)])})}static _configureProperties(e){r.LineToolBrushBase._configureProperties(e)}}},10198:(e,t,i)=>{"use strict";i.d(t,{LineToolHorzLinePriceAxisView:()=>r});var s=i(97938);class r extends s.PriceAxisView{constructor(e){super(),this._source=e}_updateRendererData(e,t,i){e.visible=!1;const s=this._source.points(),r=this._source.priceScale();if(0===s.length||null===r||r.isEmpty())return;const n=s[0];if(!isFinite(n.price))return;const o=this._source.ownerSource(),a=null!==o?o.firstValue():null;if(null===a)return;const l=this._source.properties().linecolor.value();i.background=l,i.textColor=this.generateTextColor(l),i.coordinate=r.priceToCoordinate(n.price,a),e.text=r.formatPrice(n.price,a),e.visible=!0}}},8877:(e,t,i)=>{"use strict";i.d(t,{LineToolHorzLine:()=>l});var s=i(2015),r=i.n(s),n=i(88564),o=i(89857),a=i(10198);class l extends o.LineDataSource{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this._priceAxisView=new a.LineToolHorzLinePriceAxisView(this),i.e(1583).then(i.bind(i,8196)).then(({HorzLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}state(e){const t=super.state(e);return t.points&&0!==t.points.length&&(t.points[0].offset=0),t}pointsCount(){return 1}name(){return"Horizontal Line"}priceAxisViews(e,t){ -return this.isSourceHidden()||t!==this.priceScale()||!this._model.selection().isSelected(this)&&!this.properties().childs().showPrice.value()||e!==this._model.paneForSource(this)?null:[this._priceAxisView]}timeAxisViews(){return null}timeAxisPoints(){return[]}updateAllViews(e){super.updateAllViews(e),this._priceAxisView.update(e)}canHasAlert(){return!0}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}denormalizeTimePoints(){this._points=[],this._timePoint.length>0&&this._points.push({price:this._timePoint[0].price,index:0})}clearData(){const e=this._points;super.clearData(),this._points=e}static createProperties(e){const t=new n.DefaultProperty("linetoolhorzline",e);return l._configureProperties(t),t}_getAlertPlots(){return[this.points()[0].price]}_pointsForPointset(){return[]}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,81204)).then(e=>e.HorizontalLineDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(r())("")),e.addExclusion("text")}}},10471:(e,t,i)=>{"use strict";i.d(t,{LineToolHorzRay:()=>l});var s=i(88564),r=i(2015),n=i.n(r),o=i(10198),a=i(89857);class l extends a.LineDataSource{constructor(e,t,s,r){super(e,null!=t?t:l.createProperties(),s,r),this._priceAxisView=new o.LineToolHorzLinePriceAxisView(this),i.e(1583).then(i.bind(i,95325)).then(({HorzRayPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Horizontal Ray"}priceAxisViews(e,t){return this.isSourceHidden()||t!==this.priceScale()||!this._model.selection().isSelected(this)&&!this.properties().childs().showPrice.value()||e!==this._model.paneForSource(this)?null:[this._priceAxisView]}updateAllViews(e){super.updateAllViews(e),this._priceAxisView.update(e)}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}canHasAlert(){return!0}static createProperties(e){const t=new s.DefaultProperty("linetoolhorzray",e);return l._configureProperties(t),t}_getAlertPlots(){const e=this._points[0],t={index:e.index+1,price:e.price};return[this._linePointsToAlertPlot([e,t],null,!1,!0)]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,58148))).HorizontalRayDefinitionsViewModel}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}static _configureProperties(e){a.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(n())("")),e.addExclusion("text")}}},74468:(e,t,i)=>{"use strict";i.d(t,{LineToolIcon:()=>l});var s=i(88537),r=i(86441),n=i(88564),o=i(89857),a=i(37865);class l extends o.LineDataSource{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this.version=1, -document.fonts&&document.fonts.check&&document.fonts.load&&!document.fonts.check("12px FontAwesome")&&document.fonts.load("12px FontAwesome","☺").then(()=>{this._isDestroyed||e.updateSource(this)}),i.e(1583).then(i.bind(i,78583)).then(t=>{this._setPaneViews([new t.IconPaneView(this,e)])})}pointsCount(){return 1}name(){return"Icon"}hasEditableCoordinates(){return!1}getAnchorLimit(){return 80}applyTemplate(e){delete e.icon,super.applyTemplate(e)}getChangePointForSync(e){return null}setPoint(e,t,i){const n=Object.assign({},t),o=(0,s.ensureNotNull)(this.pointToScreenPoint(this.points()[0])),a=(0,s.ensureNotNull)(this.pointToScreenPoint(n)).subtract(o),l=this.properties().childs();if(0===e||1===e){const t=a.normalized();let i=Math.acos(-t.x);Math.asin(t.y)>0&&(i=2*Math.PI-i),0===e&&(i+=Math.PI),l.angle.setValue(i)}else{const t=a.add(new r.Point(15*(3===e?-1:1),0));l.size.setValue(2*Math.abs(t.x))}}getSourceIcon(){return{type:"text",text:String.fromCharCode(this.properties().childs().icon.value())}}static createProperties(e){const t=new n.DefaultProperty("linetoolicon",e);return l._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80449)).then(e=>e.IconsDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.addChild("backgroundsColors",new a.LineToolColorsProperty([e.childs().color])),e.addExclusion("angle")}}},51139:(e,t,i)=>{"use strict";i.d(t,{LineToolInfoLine:()=>n});var s=i(88564),r=i(57649);class n extends r.LineToolTrendLine{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}pointsCount(){return 2}name(){return"Info Line"}static createProperties(e){const t=new s.DefaultProperty("linetoolinfoline",e);return n._configureProperties(t),t}static _configureProperties(e){r.LineToolTrendLine._configureProperties(e)}}},87639:(e,t,i)=>{"use strict";var s=i(34580).LevelsProperty,r=i(40100).LineToolPitchfork;class n extends r{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Inside Pitchfork"}static createProperties(e){var t=new s("linetoolinsidepitchfork",e,!1,{range:[0,8]});return n._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e)}}t.LineToolInsidePitchfork=n},44601:(e,t,i)=>{"use strict";var s;i.r(t),i.d(t,{isMtpPredictorToolName:()=>o,isStudyLineToolName:()=>a,isLineToolName:()=>l,isLineDrawnWithPressedButton:()=>c,isLineToolFinishRequiredWhenCreatedByApi:()=>h,isLineToolDrawWithoutPoints:()=>d,isImageToolName:()=>u,isTextToolName:()=>p});var r=i(72708);const n=new Set([]);function o(e){return n.has(e)}function a(e){return"LineToolRegressionTrend"===e||"LineToolVbPFixed"===e||"LineToolFixedRangeVolumeProfile"===e}function l(e){return e in(s||(s=i.t(r,2)))||a(e)}function c(e){return"LineToolBrush"===e||"LineToolHighlighter"===e}function h(e){return c(e)||"LineToolPath"===e||"LineToolPolyline"===e||"LineToolGhostFeed"===e}function d(e){return"LineToolTweet"===e||"LineToolIdea"===e||"LineToolImage"===e}function u(e){return"LineToolImage"===e} -function p(e){switch(e){case"LineToolBalloon":case"LineToolText":case"LineToolTextAbsolute":case"LineToolCallout":case"LineToolNote":case"LineToolNoteAbsolute":case"LineToolSignpost":return!0}return!1}},50144:(e,t,i)=>{"use strict";i.d(t,{LineDataSourceBase:()=>B});var s=i(86441),r=i(88537),n=i(76422),o=i(98125),a=i(62443),l=i(85733),c=i(2872),h=i.n(c),d=i(2015),u=i.n(d),p=i(37865),_=i(22474),m=i(19528);class g extends(u()){constructor(e,t){super(),this._lineSource=e,this._pointIndex=t,e.pointAdded().subscribe(this,e=>{this._pointIndex===e&&this._listeners.fire(this)}),e.pointChanged().subscribe(this,e=>{this._pointIndex===e&&this._listeners.fire(this)})}value(){const e=this._lineSource.points()[this._pointIndex].price,t=(0,r.ensureNotNull)(this._lineSource.ownerSource()).formatter();if(t.parse){const i=t.format(e),s=t.parse(i);return s.res?s.value:e}return e}setValue(e){const t=this._lineSource.points()[this._pointIndex];t.price=parseFloat(""+e),this._lineSource.startChanging(this._pointIndex,t),this._lineSource.setPoint(this._pointIndex,t),this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this);const i=this._lineSource.endChanging(!0,!1);this._lineSource.syncMultichartState(i)}}var f=i(38015),v=i(29823),S=i(98619),y=i(14791),b=i(37667),w=i(52714),C=i.n(w),P=i(23653),T=i(9315),x=i(36759),I=i(52418),M=i(20838),L=i(80643),A=i(33291),E=i(79680);const k=(0,o.getLogger)("Chart.LineDataSource");class D{constructor(){this._states=[]}start(e){this._states.push(e)}finish(e){const t=(0,r.ensureDefined)(this._states.pop());return s=t,(i=e).length!==s.length?{indexesChanged:!0,pricesChanged:!0}:i.reduce((e,t,i)=>{const r=s[i];return e.indexesChanged=e.indexesChanged||t.index!==r.index,e.pricesChanged=e.pricesChanged||t.price!==r.price,e},{indexesChanged:!1,pricesChanged:!1});var i,s}isEmpty(){return 0===this._states.length}}let V=0;class B extends a.DataSource{constructor(e,t,i,s){if(super(s),this.version=1,this.customization={forcePriceAxisLabel:!1,disableErasing:!1,disableSave:!1,showInObjectsTree:!0},this._currentPointsetAndSymbolId=null,this._pointChanged=new(h()),this._pointAdded=new(h()),this._alertUndoMode=!1,this._priceAxisViews=[],this._timeAxisViews=[],this._timePoint=[],this._points=[],this._lastPoint=null,this._paneViews=new Map,this._normalizedPointsChanged=new(h()),this._fixedPointsChanged=new(h()),this._changeStatesStack=new D,this._startMovingPoint=null,this._currentMovingPoint=null,this._fixedPoints=[],this._isActualSymbol=!1,this._isActualInterval=!1,this._isActualCurrency=!1,this._isActualUnit=!1,this._isDestroyed=!1,this._sharingMode=new(C())(0),this._onTemplateApplying=new(h()),this._onTemplateApplied=new(h()),this._syncStateExclusions=[],this._definitionsViewModel=null,this._syncLineStyleMuted=!1,this._onIsActualIntervalChange=new(h()),this._linkKey=new(C())(null),this._serverUpdateTime=null,this._boundCalcIsActualSymbol=this.calcIsActualSymbol.bind(this),this._model=e,this._properties=t,this._localAndServerAlertsMismatch=!1, -this._properties.hasChild("interval")||this._properties.addChild("interval",new(u())(e.mainSeries().interval())),this.calcIsActualSymbol(),this._properties.childs().intervalsVisibilities.listeners().subscribe(this,this.calcIsActualSymbol),this._properties.subscribe(this,()=>this.propertiesChanged()),this._createPointsProperties(),this.pointsCount()>0)for(let e=0;e{const t=!1===(0,l.hideAllDrawings)().value();e.value()?e.value()&&t&&n.emit("drawing_event",this._id,"show"):(this._model.selection().isSelected(this)&&this._model.selectionMacro(e=>{e.removeSourceFromSelection(this)}),t&&n.emit("drawing_event",this._id,"hide")),this._onSourceHiddenMayChange()}),(0,l.hideAllDrawings)().subscribe(this,this._onSourceHiddenMayChange),this._definitionsViewModel=null,this._isDestroyed=!1}destroy(){this._paneViews.forEach((e,t)=>this._destroyPanePaneViews(t)),this.stop(),null!==this._definitionsViewModel&&(this._definitionsViewModel.destroy(),this._definitionsViewModel=null),null!==this._ownerSource&&(this._ownerSource.currencyChanged().unsubscribeAll(this),this._ownerSource.unitChanged().unsubscribeAll(this),(0,E.isSymbolSource)(this._ownerSource)&&(this._ownerSource.symbolResolved().subscribe(this,this._boundCalcIsActualSymbol),this._ownerSource.isActingAsSymbolSource().unsubscribe(this._boundCalcIsActualSymbol))),this.ownerSourceChanged().unsubscribeAll(this),(0,l.hideAllDrawings)().unsubscribeAll(this),this.deleteAlert(),this._isDestroyed=!0}createPriceAxisView(e){return new _.LineToolPriceAxisView(this,{pointIndex:e})}model(){return this._model}linkKey(){return this._linkKey}serverUpdateTime(){return this._serverUpdateTime}setServerUpdateTime(e){this._serverUpdateTime=e}boundToSymbol(){return!0}points(){const e=[];for(let t=0;t0&&(this._points=e)}restorePoints(e,t,i){const s=this._timePoint.length>0&&!(0,L.deepEquals)(this._timePoint,e)[0];this._timePoint=(0,S.deepCopy)(e),this._points=t,i||this.denormalizeTimePoints(),s&&this._normalizedPointsChanged.fire()}restorePositionPercents(e){this._positionPercents=e}calcIsActualSymbol(){if(this._model.mainSeries().hasDelayedSymbolIntervalChange())return;const e=this.ownerSource();if(null===e)this._isActualSymbol=!1;else{const t=(0,r.ensureNotNull)(e.symbolSource());this._migrateSymbolProperty();const i=this._properties.childs().symbol,s=i.value();if(this._isActualSymbol=t.symbolSameAsCurrent(s),this._isActualSymbol){const e=t.symbol();(0,y.areEqualSymbols)(s,e)||(k.logWarn('Possible drawing "migrating" detected from "'+s+'" to "'+e+'"'),k.logWarn("Series symbolInfo: "+JSON.stringify(t.symbolInfo())),k.logWarn(""+(new Error).stack)),i.setValue(e)}}this.calcIsActualInterval(),this.calcIsActualCurrency(),this.calcIsActualUnit(),this._onSourceHiddenMayChange()}calcIsActualCurrency(){const e=this.ownerSource();if(null===e)return void(this._isActualCurrency=!1);let t=this._properties.childs().currencyId.value();if(null!==t){const i=e.symbolSource();if(null===i)return;0,this._isActualCurrency=t===(0,b.symbolCurrency)(i.symbolInfo(),void 0,!0)}else{const t=(0,r.ensureNotNull)(e.symbolSource()).symbolInfo();this._isActualCurrency=null!==t&&(0,b.symbolCurrency)(t)===(0,b.symbolOriginalCurrency)(t)}this._onSourceHiddenMayChange()}calcIsActualUnit(){const e=this.ownerSource();if(null===e)return void(this._isActualUnit=!1);const t=this._properties.childs().unitId.value();if(null!==t)this._isActualUnit=t===(0,r.ensureNotNull)(e.symbolSource()).unit();else{const t=(0,r.ensureNotNull)(e.symbolSource()).symbolInfo(),i=this._model.unitConversionEnabled();this._isActualUnit=null!==t&&(0,b.symbolUnit)(t,i)===(0,b.symbolOriginalUnit)(t,i)}this._onSourceHiddenMayChange()}calcIsActualInterval(){const e=this._isActualInterval,t=this._properties,i=this._model.mainSeries();this._isActualInterval=(0,x.isActualInterval)(v.Interval.parse(i.interval()),t.childs().intervalsVisibilities),!this._isActualInterval&&this._model.selection().isSelected(this)&&this._model.selectionMacro(e=>e.removeSourceFromSelection(this)),this._isActualInterval!==e&&this._onIsActualIntervalChange.fire(),this._onSourceHiddenMayChange()}paneViews(e){if(this.isSourceHidden())return null;const t=this._getPaneViews(this.isMultiPaneAvailable()?e:void 0);if(null===t)return null;if(1===t.length)return[t[0]];const i=[];for(let e=t.length-1;e>=0;--e)i.push(t[e]);return i}isSavedInChart(){return!this.customization.disableSave}setSavingInChartEnabled(e){this.customization.disableSave=!e}detachAlert(){const e=this.getAlertSync() -;if(e&&this._alertCallbacks){const t=this._alertCallbacks;e.off("destroy",t.remove),e.off("change:hovered",t.hovered),e.off("change:selected",t.selected)}this.hasAlert.setValue(!1),this._alertId=void 0}removeAlert(){this._alertId=void 0,this.hasAlert.setValue(!1)}deleteAlert(){0}areLocalAndServerAlertsMismatch(){return this._localAndServerAlertsMismatch}showInObjectTree(){return this.customization.showInObjectsTree}setShowInObjectsTreeEnabled(e){this.customization.showInObjectsTree=e}start(){this.createServerPoints()}processHibernate(){this.isSourceHidden()?this.isStarted()&&this.stop():this.isStarted()||this.start()}onData(e){"pointset_error"!==e.method?e.params.customId===this._currentPointsetIdWithPrefix()&&this._onPointsetUpdated(e.params.plots):k.logError(`Error getting pointset: ${e.params[0]} ${e.params[1]}`)}isActualSymbol(){return this._isActualSymbol}isActualCurrency(){return this._isActualCurrency}isActualInterval(){return this._isActualInterval}isActualUnit(){return this._isActualUnit}onIsActualIntervalChange(){return this._onIsActualIntervalChange}setOwnerSource(e){null!==this._ownerSource&&(this._ownerSource.currencyChanged().unsubscribeAll(this),this._ownerSource.unitChanged().unsubscribeAll(this)),null!==this._ownerSource&&(0,E.isSymbolSource)(this._ownerSource)&&(this._ownerSource.symbolResolved().unsubscribe(this,this._boundCalcIsActualSymbol),this._ownerSource.isActingAsSymbolSource().unsubscribe(this._boundCalcIsActualSymbol)),super.setOwnerSource(e),e&&(this.setPriceScale(e.priceScale()),e.currencyChanged().subscribe(this,this.calcIsActualCurrency),e.unitChanged().subscribe(this,this.calcIsActualUnit),this.calcIsActualSymbol(),this._migrateZOrder()),(0,E.isSymbolSource)(e)&&(e.symbolResolved().subscribe(this,this._boundCalcIsActualSymbol),e.isActingAsSymbolSource().subscribe(this._boundCalcIsActualSymbol))}dataAndViewsReady(){return this._paneViews.size>0}pointAdded(){return this._pointAdded}pointChanged(){return this._pointChanged}pointToScreenPoint(e){var t;const i=this._model.timeScale(),r=this.priceScale(),n=null===(t=this.ownerSource())||void 0===t?void 0:t.firstValue();if(!r||r.isEmpty()||i.isEmpty()||null==n)return null;const o=i.indexToCoordinate(e.index),a=r.priceToCoordinate(e.price,n);return new s.Point(o,a)}screenPointToPoint(e){var t;const i=this.priceScale(),s=null===(t=this.ownerSource())||void 0===t?void 0:t.firstValue();if(null==s||!isFinite(s)||null===i)return null;const r=this._model.timeScale().coordinateToIndex(e.x);return{price:i.coordinateToPrice(e.y,s),index:r}}addPoint(e,t,i){const s=this._preparePoint(e,t);return this._addPointIntenal(s,t,i)}propertiesChanged(e){this.calcIsActualInterval(),this.updateAllViewsAndRedraw((0,A.dataSourceChangeEvent)(this.id())),e||this._syncLineStyleIfNeeded(),void 0===this._pendingPropertyChangedEvent&&(this._pendingPropertyChangedEvent=setTimeout(()=>{this._pendingPropertyChangedEvent=void 0,n.emit("drawing_event",this._id,"properties_changed")},0))}state(e){var t,i;const s={type:this.toolname,id:this.id(), -state:this.properties().state(null!==(t=this._propertiesStateExclusions())&&void 0!==t?t:void 0),points:(0,S.deepCopy)(this._timePoint),zorder:this.zorder(),ownerSource:null===(i=this.ownerSource())||void 0===i?void 0:i.id()};return this.linkKey().value()&&(s.linkKey=this.linkKey().value()),delete s.state.points,e&&(s.indexes=this._points),this.isFixed()&&(s.positionPercents=this._positionPercents||this.calcPositionPercents()),"version"in this&&1!==this.version&&(s.version=this.version),this._saveAlertIdInState()&&this.hasAlert.value()&&void 0!==this._alertId&&(s.alertId=this._alertId.toString()),s}updateAllViews(e){this._isActualSymbol&&this._isActualCurrency&&this._isActualUnit&&this._isActualInterval&&this._properties.childs().visible.value()&&(this._updateAllPaneViews(e),this._priceAxisViews.forEach(t=>t.update(e)),this._timeAxisViews.forEach(t=>t.update(e)))}updateAllViewsAndRedraw(e){this.updateAllViews(e),this._model.updateSource(this)}properties(){return this._properties}restoreExternalPoints(e,t){if(this._timePoint=(0,S.deepCopy)(e.points),t.indexesChanged){if(this.properties().childs().interval.setValue(e.interval),!this.isActualSymbol())return this._clearServerPoints(),void this._normalizedPointsChanged.fire();this.createServerPoints()}else{const t=Math.min(this._points.length,e.points.length);for(let i=0;i0&&this.normalizePoints(),!this._readyToCreatePointset())return;const e=this._pointsForPointset();if(0===e.length)return;++V,this._currentPointsetAndSymbolId={pointsetId:V,symbolId:(0,r.ensureNotNull)(this._model.mainSeries().seriesSource().symbolInstanceId())};const t=(0,T.getServerInterval)(this.properties().childs().interval.value());this._model.chartApi().createPointset(this._currentPointsetIdWithPrefix(),"turnaround",this._currentPointsetAndSymbolId.symbolId,t,e,this.onData.bind(this))} -finish(){}realign(){var e;this.calcIsActualSymbol(),this.isFixed()||this.isSourceHidden()||this._model.lineBeingCreated()===this||this._model.lineBeingEdited()===this||(null===(e=this._currentPointsetAndSymbolId)||void 0===e?void 0:e.symbolId)===this._model.mainSeries().seriesSource().symbolInstanceId()||this._clearServerPoints(),this.updateAllViews((0,A.dataSourceChangeEvent)(this.id()))}stop(){this._clearServerPoints()}restart(){this.isFixed()||(this._currentPointsetAndSymbolId=null,this.createServerPoints())}isStarted(){return null!==this._currentPointsetAndSymbolId}convertYCoordinateToPriceForMoving(e,t){var i;const s=(0,r.ensureNotNull)(this.priceScale());if(s.isEmpty())return null;const n=this.ownerSource(),o=(0,r.ensure)(null===(i=n||t)||void 0===i?void 0:i.firstValue());return s.coordinateToPrice(e,o)}syncMultichartState(e){const t={points:this._timePoint,interval:this._model.mainSeries().interval()},i=this.linkKey().value();if(null!==i&&this.isSynchronizable()){const s={model:this._model,linkKey:i,symbol:this._model.mainSeries().symbol(),finalState:t,changes:e};(0,l.finishChangingLineTool)(s)}}enableCurrentIntervalVisibility(){const e=this.properties().childs().intervalsVisibilities.state();void 0!==e&&((0,x.makeIntervalsVisibilitiesVisibleAtInterval)(e,v.Interval.parse(this._model.mainSeries().interval())),this.properties().childs().intervalsVisibilities.mergeAndFire(e))}clonePositionOffset(){return this.isFixed()?{barOffset:0,xCoordOffset:20,yCoordOffset:20}:{barOffset:0,xCoordOffset:0,yCoordOffset:-40}}sharingMode(){return this._sharingMode}share(e){this.isSynchronizable()&&this._sharingMode.setValue(e)}syncLineStyleState(){const e=this.properties().state(this._syncStateExclusions);return delete e.interval,e.intervalsVisibilities=(0,x.mergeIntervalVisibilitiesDefaults)(e.intervalsVisibilities),e}_correctLastPoint(e){return(0,L.clone)(e)}_pointsForPointset(){return this._timePoint.map(e=>[e.time_t,e.offset])}_snapPoint45Degree(e,t,i){const s=this._model.timeScale(),n=s.indexToCoordinate(t.index),o=s.indexToCoordinate(e.index)-n,a=(0,r.ensureNotNull)(this.priceScale()),l=t.price,c=e.price,h=(0,r.ensureNotNull)((0,r.ensureNotNull)(this.ownerSource()).firstValue()),d=a.priceToCoordinate(l,h),u=a.priceToCoordinate(c,h)-d,p=Math.round(Math.atan2(o,u)/Math.PI*4);if(2===Math.abs(p))i||(e.price=l);else if(0===Math.abs(p)||4===Math.abs(p))i||(e.index=t.index);else{const t=Math.sqrt(o*o+u*u),i=o<0?-1:1,r=u<0?-1:1;let l=Math.max(Math.abs(u),Math.abs(o));l/=l*Math.sqrt(2)/t;const c=Math.round(s.coordinateToIndex(n+l*i)),p=Math.abs(s.indexToCoordinate(c)-n),_=a.coordinateToPrice(d+p*r,h);e.index=c,e.price=_}}normalizePoint(e){return{...this._model.timeScale().normalizeBarIndex(e.index),price:e.price}}normalizePoints(){this._timePoint=[];for(let e=0;ethis._destroyPanePaneViews(t)),this._model.lightUpdate()}_getPaneViews(e){return this._paneViews.get(e)||null}_updateAllPaneViews(e){this._paneViews.forEach(t=>{for(const i of t)i.update(e)})}_alignPointHorizontallyOrVertically(e){const t=(0,r.ensureNotNull)(this.pointToScreenPoint(e)),i=(0,r.ensureDefined)((0,r.ensureNotNull)(this._startMovingPoint).logical),s=(0,r.ensureDefined)((0,r.ensureNotNull)(this._startMovingPoint).screen),n=Math.abs(s.x-t.x),o=Math.abs(s.y-t.y);if(n<10&&o<10)return e;return{index:n=1){for(let t=0;t=2&&this._snapTo45DegreesAvailable()&&this._snapPoint45Degree(i,this.points()[this.points().length-2]),i}_addPointIntenal(e,t,i){this._points.push(e);const s=this._points.length===this.pointsCount();return s?(this._lastPoint=null,i||(this.normalizePoints(),this.createServerPoints())):this._lastPoint=e,this._pointAdded.fire(this._points.length-1),s}_onSourceHiddenMayChange(){this._model.invalidate(P.InvalidationMask.validateAction(()=>{this!==this._model.lineBeingCreated()&&(this._isDestroyed||this.processHibernate())}))}_saveAlertIdInState(){return!0}_onPointsetUpdated(e){if(0===e.length)return;for(let t=0;t0}_onAlertData(e){}_propertiesStateExclusions(){return null}_syncLineStyleIfNeeded(){const e=this.linkKey().value();!this._syncLineStyleMuted&&e&&(0,l.changeLineStyle)({linkKey:e,state:this.syncLineStyleState(),model:this._model})}_muteSyncLineStyle(){this._syncLineStyleMuted=!0}_unmuteSyncLineStyleWithoutApplyingChanges(){this.propertiesChanged(),this._syncLineStyleMuted=!1}_applyTemplateImpl(e){e.intervalsVisibilities=(0,x.mergeIntervalVisibilitiesDefaults)(e.intervalsVisibilities);const t=this.properties();t.mergePreferences(e),t.saveDefaults(),this.propertiesChanged()}_getPropertyDefinitionsViewModelClass(){return Promise.resolve(null)}static _configureProperties(e){if(B._addCollectedProperties(e),e.hasChild("symbolStateVersion")||e.addChild("symbolStateVersion",new(u())(B._initialSymbolStateVersion())),e.hasChild("zOrderVersion")||e.addChild("zOrderVersion",new(u())(B._initialZOrderVersion())),e.hasChild("visible")||e.addChild("visible",new(u())(!0)),e.hasChild("frozen")||e.addChild("frozen",new(u())(!1)),e.hasChild("symbol")||e.addChild("symbol",new(u())("")),e.hasChild("currencyId")||e.addChild("currencyId",new(u())(null)),e.hasChild("unitId")||e.addChild("unitId",new(u())(null)),e.addExclusion("symbolStateVersion"),e.addExclusion("zOrderVersion"),e.addExclusion("visible"),e.addExclusion("frozen"),e.addExclusion("symbol"),e.addExclusion("currencyId"),e.addExclusion("unitId"),e.hasChild("intervalsVisibilities")){const t=(0,L.merge)((0,L.clone)(I.intervalsVisibilitiesDefaults),e.childs().intervalsVisibilities.state()) -;e.removeProperty("intervalsVisibilities"),e.addChild("intervalsVisibilities",new M.IntervalsVisibilitiesProperty(t))}else e.addChild("intervalsVisibilities",new M.IntervalsVisibilitiesProperty(I.intervalsVisibilitiesDefaults));e.hasChild("title")||e.addChild("title",new(u())("")),e.addExclusion("symbolInfo"),e.addExclusion("points"),e.addExclusion("interval"),e.addExclusion("title"),e.hasChild("singleChartOnly")&&e.removeProperty("singleChartOnly"),e.hasChild("font")&&e.removeProperty("font")}static _addCollectedProperties(e){e.hasChild("linewidth")&&e.addChild("linesWidths",new p.LineToolWidthsProperty([(0,r.ensureDefined)(e.child("linewidth"))])),e.hasChild("linecolor")&&e.addChild("linesColors",new p.LineToolColorsProperty([(0,r.ensureDefined)(e.child("linecolor"))])),e.hasChild("backgroundColor")&&e.addChild("backgroundsColors",new p.LineToolColorsProperty([(0,r.ensureDefined)(e.child("backgroundColor"))])),e.hasChild("textColor")&&e.addChild("textsColors",new p.LineToolColorsProperty([(0,r.ensureDefined)(e.child("textColor"))])),e.addExclusion("linesWidths"),e.addExclusion("linesColors"),e.addExclusion("backgroundsColors"),e.addExclusion("textsColors")}static _initialSymbolStateVersion(){return 1}static _initialZOrderVersion(){return 1}_destroyPanePaneViews(e){const t=this._paneViews.get(e);if(void 0!==t)for(const e of t)e.destroy&&e.destroy();void 0!==e&&e.onDestroyed().unsubscribeAll(this),this._paneViews.delete(e)}_copyPricesWithoutNormalization(){const e=Math.min(this._points.length,this._timePoint.length);for(let t=0;t{"use strict";i.d(t,{LineDataSourcePointIndexProperty:()=>n});var s=i(2015),r=i.n(s);class n extends(r()){constructor(e,t){super(),this._lineSource=e,this._pointIndex=t}value(){return this._lineSource.points()[this._pointIndex].index}setValue(e){const t=this._lineSource.points()[this._pointIndex];t.index=e,this._lineSource.startChanging(this._pointIndex,t),this._setPointImpl(t),this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this);const i=this._lineSource.endChanging(!0,!1);this._lineSource.syncMultichartState(i)}_setPointImpl(e){this._lineSource.setPoint(this._pointIndex,e)}}},22474:(e,t,i)=>{"use strict";i.d(t,{LineToolPriceAxisView:()=>n});var s=i(88537),r=i(97938);class n extends r.PriceAxisView{constructor(e,t){super(),this._active=!1,this._source=e,this._data=t,this._properties=e.model().properties().childs().scalesProperties}setActive(e){this._active=e}_updateRendererData(e,t,i){e.visible=!1;const s=this._source.model();if(!s.timeScale()||s.timeScale().isEmpty())return;const r=this._source.priceScale();if(null===r||r.isEmpty())return;if(!s.selection().isSelected(this._source)&&!this._source.isForcedDrawPriceAxisLabel())return;if(null===s.timeScale().visibleBarsStrictRange())return;const n=this._source.priceAxisPoints(),o=this._data.pointIndex;if(n.length<=o)return;const a=n[o];if(!isFinite(a.price))return;const l=this._source.ownerSource(),c=null!==l?l.firstValue():null -;if(null===c)return;let h=this._data.backgroundPropertyGetter?this._data.backgroundPropertyGetter():null;null===h&&(h=this._getBgColor()),i.background=h,i.borderColor="#2E84A6",i.textColor=this.generateTextColor(h),i.coordinate=r.priceToCoordinate(a.price,c),e.text=this._formatPrice(a.price,c),e.visible=!0}_getBgColor(){return this._active?this._properties.childs().axisLineToolLabelBackgroundColorActive.value():this._properties.childs().axisLineToolLabelBackgroundColorCommon.value()}_formatPrice(e,t){return(0,s.ensureNotNull)(this._source.priceScale()).formatPrice(e,t)}}},19528:(e,t,i)=>{"use strict";i.d(t,{LineDataSourceTimeAxisView:()=>r});var s=i(85578);class r extends s.TimeAxisView{constructor(e,t){super(e.model()),this._active=!1,this._source=e,this._pointIndex=t,this._properties=e.model().properties().childs().scalesProperties}setActive(e){this._active=e}_getBgColor(){return this._active?this._properties.childs().axisLineToolLabelBackgroundColorActive.value():this._properties.childs().axisLineToolLabelBackgroundColorCommon.value()}_getIndex(){if(!this._model.selection().isSelected(this._source))return null;const e=this._source.timeAxisPoints();return e.length<=this._pointIndex?null:e[this._pointIndex].index}_isVisible(){return!0}}},89857:(e,t,i)=>{"use strict";var s=i(86441).Point,r=i(22474).LineToolPriceAxisView,n=(i(85733),i(29823).Interval),o=i(98125).getLogger("Chart.LineDataSource"),a=i(67337),l=i(60870).lineToolsLocalizedNames,c=a.enabled("datasource_copypaste"),h=i(50144).LineDataSourceBase;class d extends h{isAvailableInFloatingWidget(){return!0}visibilityKeyByInterval(e){var t,i=n.parse(e);return d.IntervalsVisibilities.forEach((function(e){e.kind===i.kind()&&e.from<=i.multiplier()&&e.to>=i.multiplier()&&(t=e.key)})),t}priceScale(){return this._ownerSource?this._ownerSource.m_priceScale:null}symbol(){return this._properties.symbol.value()}isSavedInStudyTemplates(){return!1}fixedPoints(){var e=[];if(this._positionPercents&&!this.priceScale().isEmpty())for(var t=0;t{"use strict";i.r(t),i.d(t,{LineToolMultiplePropertyBaseImpl:()=>l,LineToolCollectedProperty:()=>c,LineToolWidthsProperty:()=>h,LineToolColorsProperty:()=>d,MultipleLineWidthsProperty:()=>p,MultipleLineColorsProperty:()=>_});var s=i(98125),r=i(2872),n=i.n(r);const o=(0,s.getLogger)("Chart.LineToolCollectedProperty");class a{applyValue(e,t){e.setValue(t)}}class l{constructor(e,t){this._onChange=new(n()),this._properties=e,e.forEach(e=>e.subscribe(this,()=>{this._onChange.fire(this)})),this._showIfProperty=t}visible(){var e;return!this._showIfProperty||(null===(e=this._showIfProperty)||void 0===e?void 0:e.value())}value(){if(0===this._properties.length)return o.logError("Incorrect call, should not request value of 0 properties"),"mixed";const e=this._properties[0].value();return 1===this._properties.length||this._properties.every(t=>t.value()===e)?e:"mixed"}state(){}merge(){}destroy(){this._properties.forEach(e=>e.unsubscribeAll(this))}subscribe(e,t){this._onChange.subscribe(e,t)}unsubscribe(e,t){this._onChange.unsubscribe(e,t)}unsubscribeAll(e){this._onChange.unsubscribeAll(e)}storeStateIfUndefined(){return!0}}class c extends l{setValue(e,t,i){if("mixed"===e)return;const s=null!=i?i:new a;this._properties.forEach(t=>s.applyValue(t,e))}}class h extends c{}class d extends c{firstColor(){return this._properties[0].value()}}class u extends l{setValue(e,t,i){if("mixed"===e)return;const s=null!=i?i:new a;this._properties.forEach(t=>t.setValue(e,void 0,s))}}class p extends u{}class _ extends u{}},72708:(e,t,i)=>{"use strict" -;t.LineToolFibRetracement=i(44860).LineToolFibRetracement,t.LineToolFibChannel=i(48917).LineToolFibChannel,t.LineToolFibSpeedResistanceArcs=i(19857).LineToolFibSpeedResistanceArcs,t.LineToolProjection=i(35344).LineToolProjection,t.LineToolTrendBasedFibExtension=i(25861).LineToolTrendBasedFibExtension,t.LineToolElliott=i(97917).LineToolElliott,t.LineToolFibCircles=i(54502).LineToolFibCircles,t.LineToolVertLine=i(51922).LineToolVertLine,t.LineToolCrossLine=i(53193).LineToolCrossLine,t.LineToolBarsPattern=i(98802).LineToolBarsPattern,t.LineToolTrendBasedFibTime=i(6245).LineToolTrendBasedFibTime,t.LineToolFibTimeZone=i(63835).LineToolFibTimeZone,t.LineToolCircleLines=i(49802).LineToolCircleLines,t.LineToolDateRange=i(45669).LineToolDateRange,t.LineToolPriceRange=i(66602).LineToolPriceRange,t.LineToolDateAndPriceRange=i(26215).LineToolDateAndPriceRange,t.LineToolParallelChannel=i(78898).LineToolParallelChannel,t.LineToolTrendAngle=i(86225).LineToolTrendAngle,t.LineToolTrendLine=i(57649).LineToolTrendLine,t.LineToolInfoLine=i(51139).LineToolInfoLine,t.LineToolArrowMark=i(18659).LineToolArrowMark,t.LineToolExecution=i(39593).LineToolExecution,t.LineToolPitchfan=i(18977).LineToolPitchfan,t.LineToolGannSquare=i(97433).LineToolGannSquare,t.LineToolFibSpeedResistanceFan=i(70673).LineToolFibSpeedResistanceFan,t.LineToolGannComplex=i(52870).LineToolGannComplex,t.LineToolGannFixed=i(33209).LineToolGannFixed,t.LineToolGannFan=i(5094).LineToolGannFan,t.LineToolFibWedge=i(41668).LineToolFibWedge,t.LineToolPitchfork=i(40100).LineToolPitchfork,t.LineToolDisjointAngle=i(46512).LineToolDisjointChannel,t.LineToolFlatBottom=i(47047).LineToolFlatBottom,t.LineToolIcon=i(74468).LineToolIcon,t.LineToolRotatedRectangle=i(61272).LineToolRotatedRectangle,t.LineToolFibSpiral=i(29638).LineToolFibSpiral,t.LineToolHeadAndShoulders=i(90378).LineToolHeadAndShoulders,t.LineToolTriangle=i(99092).LineToolTriangle,t.LineToolTrianglePattern=i(53403).LineToolTrianglePattern,t.LineTool5PointsPattern=i(656).LineTool5PointsPattern,t.LineToolThreeDrivers=i(6980).LineToolThreeDrivers,t.LineToolABCD=i(82203).LineToolABCD,t.LineToolPolyline=i(19085).LineToolPolyline,t.LineToolPath=i(48950).LineToolPath,t.LineToolPrediction=i(12346).LineToolPrediction,t.LineToolPriceLabel=i(3113).LineToolPriceLabel,t.LineToolArrowMarker=i(10167).LineToolArrowMarker,t.LineToolNote=i(87517).LineToolNote,t.LineToolNoteAbsolute=i(87517).LineToolNoteAbsolute,t.LineToolSignpost=i(52827).LineToolSignpost,t.LineToolBrush=i(43871).LineToolBrush,t.LineToolArc=i(17337).LineToolArc,t.LineToolCallout=i(95536).LineToolCallout,t.LineToolBalloon=i(57666).LineToolBalloon,t.LineToolText=i(74971).LineToolText,t.LineToolHorzLine=i(8877).LineToolHorzLine,t.LineToolHorzRay=i(10471).LineToolHorzRay,t.LineToolRectangle=i(20258).LineToolRectangle,t.LineToolCircle=i(2039).LineToolCircle,t.LineToolEllipse=i(38430).LineToolEllipse,t.LineToolTimeCycles=i(38513).LineToolTimeCycles,t.LineToolSineLine=i(15718).LineToolSineLine,t.LineToolGhostFeed=i(82241).LineToolGhostFeed, -t.LineToolBezierQuadro=i(30899).LineToolBezierQuadro,t.LineToolBezierCubic=i(47679).LineToolBezierCubic,t.LineToolArrow=i(59358).LineToolArrow,t.LineToolRay=i(31702).LineToolRay,t.LineToolExtended=i(41239).LineToolExtended,t.LineToolSchiffPitchfork=i(98390).LineToolSchiffPitchfork,t.LineToolSchiffPitchfork2=i(98225).LineToolSchiffPitchfork2,t.LineToolInsidePitchfork=i(87639).LineToolInsidePitchfork,t.LineToolTextAbsolute=i(74971).LineToolTextAbsolute,t.LineToolArrowMarkLeft=i(18659).LineToolArrowMarkLeft,t.LineToolArrowMarkRight=i(18659).LineToolArrowMarkRight,t.LineToolArrowMarkUp=i(18659).LineToolArrowMarkUp,t.LineToolArrowMarkDown=i(18659).LineToolArrowMarkDown,t.LineToolFlagMark=i(53342).LineToolFlagMark,t.LineToolCypherPattern=i(980).LineToolCypherPattern,t.LineToolElliottImpulse=i(97917).LineToolElliottImpulse,t.LineToolElliottTriangle=i(97917).LineToolElliottTriangle,t.LineToolElliottTripleCombo=i(97917).LineToolElliottTripleCombo,t.LineToolElliottCorrection=i(97917).LineToolElliottCorrection,t.LineToolElliottDoubleCombo=i(97917).LineToolElliottDoubleCombo,t.LineToolRiskRewardLong=i(34291).LineToolRiskRewardLong,t.LineToolRiskRewardShort=i(34291).LineToolRiskRewardShort,t.LineToolPosition=i(2157).LineToolPosition,t.LineToolOrder=i(86858).LineToolOrder,t.LineToolHighlighter=i(65649).LineToolHighlighter,t.LineToolPriceNote=i(7648).LineToolPriceNote},60870:(e,t,i)=>{"use strict";i.d(t,{lineToolsLocalizedNames:()=>r});var s=i(28353);const r={LineTool5PointsPattern:(0,s.t)("XABCD Pattern"),LineToolABCD:(0,s.t)("ABCD Pattern"),LineToolArc:(0,s.t)("Arc"),LineToolArrow:(0,s.t)("Arrow"),LineToolArrowMarkDown:(0,s.t)("Arrow Mark Down"),LineToolArrowMarkLeft:(0,s.t)("Arrow Mark Left"),LineToolArrowMarkRight:(0,s.t)("Arrow Mark Right"),LineToolArrowMarkUp:(0,s.t)("Arrow Mark Up"),LineToolBalloon:(0,s.t)("Balloon"),LineToolBarsPattern:(0,s.t)("Bars Pattern"),LineToolBezierCubic:(0,s.t)("Double Curve"),LineToolBezierQuadro:(0,s.t)("Curve"),LineToolBrush:(0,s.t)("Brush"),LineToolCallout:(0,s.t)("Callout"),LineToolCircleLines:(0,s.t)("Cyclic Lines"),LineToolCypherPattern:(0,s.t)("Cypher Pattern"),LineToolDateAndPriceRange:(0,s.t)("Date and Price Range"),LineToolDateRange:(0,s.t)("Date Range"),LineToolDisjointAngle:(0,s.t)("Disjoint Channel"),LineToolElliottCorrection:(0,s.t)("Elliott Correction Wave (ABC)"),LineToolElliottDoubleCombo:(0,s.t)("Elliott Double Combo Wave (WXY)"),LineToolElliottImpulse:(0,s.t)("Elliott Impulse Wave (12345)"),LineToolElliottTriangle:(0,s.t)("Elliott Triangle Wave (ABCDE)"),LineToolElliottTripleCombo:(0,s.t)("Elliott Triple Combo Wave (WXYXZ)"),LineToolEllipse:(0,s.t)("Ellipse"),LineToolExtended:(0,s.t)("Extended Line"),LineToolFibChannel:(0,s.t)("Fib Channel"),LineToolFibCircles:(0,s.t)("Fib Circles"),LineToolFibRetracement:(0,s.t)("Fib Retracement"),LineToolFibSpeedResistanceArcs:(0,s.t)("Fib Speed Resistance Arcs"),LineToolFibSpeedResistanceFan:(0,s.t)("Fib Speed Resistance Fan"),LineToolFibSpiral:(0,s.t)("Fib Spiral"),LineToolFibTimeZone:(0,s.t)("Fib Time Zone"),LineToolFibWedge:(0, -s.t)("Fib Wedge"),LineToolFlagMark:(0,s.t)("Flag Mark"),LineToolImage:(0,s.t)("Image"),LineToolFlatBottom:(0,s.t)("Flat Top/Bottom"),LineToolAnchoredVWAP:(0,s.t)("Anchored VWAP"),LineToolGannComplex:(0,s.t)("Gann Square"),LineToolGannFixed:(0,s.t)("Gann Square Fixed"),LineToolGannFan:(0,s.t)("Gann Fan"),LineToolGannSquare:(0,s.t)("Gann Box"),LineToolHeadAndShoulders:(0,s.t)("Head and Shoulders"),LineToolHorzLine:(0,s.t)("Horizontal Line"),LineToolHorzRay:(0,s.t)("Horizontal Ray"),LineToolIcon:(0,s.t)("Icon"),LineToolInsidePitchfork:(0,s.t)("Inside Pitchfork"),LineToolNote:(0,s.t)("Note"),LineToolNoteAbsolute:(0,s.t)("Anchored Note"),LineToolSignpost:(0,s.t)("Signpost"),LineToolParallelChannel:(0,s.t)("Parallel Channel"),LineToolPitchfan:(0,s.t)("Pitchfan"),LineToolPitchfork:(0,s.t)("Pitchfork"),LineToolPolyline:(0,s.t)("Polyline"),LineToolPath:(0,s.t)("Path"),LineToolPrediction:(0,s.t)("Forecast"),LineToolPriceLabel:(0,s.t)("Price Label"),LineToolArrowMarker:(0,s.t)("Arrow Marker"),LineToolPriceRange:(0,s.t)("Price Range"),LineToolProjection:(0,s.t)("Projection"),LineToolRay:(0,s.t)("Ray"),LineToolRectangle:(0,s.t)("Rectangle"),LineToolCircle:(0,s.t)("Circle"),LineToolRegressionTrend:(0,s.t)("Regression Trend"),LineToolRiskRewardLong:(0,s.t)("Long Position"),LineToolRiskRewardShort:(0,s.t)("Short Position"),LineToolFixedRangeVolumeProfile:(0,s.t)("Fixed Range Volume Profile"),LineToolRotatedRectangle:(0,s.t)("Rotated Rectangle"),LineToolSchiffPitchfork:(0,s.t)("Modified Schiff Pitchfork"),LineToolSchiffPitchfork2:(0,s.t)("Schiff Pitchfork"),LineToolSineLine:(0,s.t)("Sine Line"),LineToolText:(0,s.t)("Text",{context:"tool"}),LineToolTextAbsolute:(0,s.t)("Anchored Text"),LineToolThreeDrivers:(0,s.t)("Three Drives Pattern"),LineToolTimeCycles:(0,s.t)("Time Cycles"),LineToolTrendAngle:(0,s.t)("Trend Angle"),LineToolTrendBasedFibExtension:(0,s.t)("Trend-Based Fib Extension"),LineToolTrendBasedFibTime:(0,s.t)("Trend-Based Fib Time"),LineToolTrendLine:(0,s.t)("Trend Line"),LineToolInfoLine:(0,s.t)("Info Line"),LineToolTriangle:(0,s.t)("Triangle"),LineToolTrianglePattern:(0,s.t)("Triangle Pattern"),LineToolVertLine:(0,s.t)("Vertical Line"),LineToolCrossLine:(0,s.t)("Cross Line"),LineToolHighlighter:(0,s.t)("Highlighter"),LineToolPriceNote:(0,s.t)("Price Note"),LineToolVbPFixed:(0,s.t)("Volume Profile Fixed Range")};r.LineToolGhostFeed=(0,s.t)("Ghost Feed")},14291:(e,t,i)=>{"use strict";i.r(t),i.d(t,{cloneLineTool:()=>W,createLineTool:()=>E,createLineToolProperties:()=>D,createStudyLineToolProperties:()=>V,getNewToolProperties:()=>A,isLineDrawnWithPressedButton:()=>C.isLineDrawnWithPressedButton,isLineTool:()=>N,isLineToolName:()=>C.isLineToolName,isStudyLineTool:()=>R,isStudyLineToolName:()=>C.isStudyLineToolName,isTrading:()=>O,lineToolByLinkKey:()=>H,prepareLineToolPropertiesByOwnerSource:()=>k,setNewToolProperties:()=>M,supportsPhantomMode:()=>B,tryFindStudyLineToolNameByStudyId:()=>F,unsetNewToolProperties:()=>L}) -;var s=i(88537),r=i(86441),n=i(51934),o=i(89857),a=i(72708),l=i.t(a,2),c=i(2271),h=i(88145),d=i(67072),u=i.n(d),p=i(66101),_=i(37865),m=i(80643),g=i(88564);const f=(0,h.studyIdString)("RegressionTrend","tv-basicstudies");function v(e){return void 0!==e.startPrice&&void 0!==e.endPrice}class S extends n.StudyLineDataSource{constructor(e,t,r,n,o){r=null!=r?r:(0,s.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:f}));super(e,r,"linreg_",null!=t?t:S.createProperties(e),n,o),this.version=2,this._trendData=null,i.e(1583).then(i.bind(i,79752)).then(e=>{this._setPaneViews([new e.RegressionTrendPaneView(this,this._model)])})}formatter(){throw new Error("This method should never be called")}pointsCount(){return 2}clearData(){this._trendData=null,super.clearData()}state(e){var t;const i=super.state(e);return e?{...i,nonseriesdata:null!==(t=this._trendData)&&void 0!==t?t:void 0}:i}restoreData(e){var t;super.restoreData(e),this._trendData=null!==(t=e.nonseriesdata)&&void 0!==t?t:null}startIndex(){if(null===this._trendData||null===this._indexes)return null;const e=this._indexes[this._trendData.startIndex];return e!==c.INVALID_TIME_POINT_INDEX?e:null}endIndex(){if(null===this._trendData||null===this._indexes)return null;const e=this._indexes[this._trendData.endIndex];return e!==c.INVALID_TIME_POINT_INDEX?e:null}baseLine(){return null===this._trendData?null:this._trendData.baseLine}downLine(){return null===this._trendData?null:this._trendData.downLine}upLine(){return null===this._trendData?null:this._trendData.upLine}pearsons(){return null===this._trendData?null:this._trendData.pearsons}recalcStudyIfNeeded(){this._onStudyInputsMayChange()}cloneable(){return!1}static createProperties(e,t){const i=u().getStudyPropertyRootNameById(f),r=(0,s.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:f})),n=(0,g.createDefaultsState)(!0,i,[],e.studyVersioning());return V("LineToolRegressionTrend",r,r,(0,m.merge)((0,m.clone)(n),null!=t?t:{}),e.studyVersioning())}static createRegressionTrendPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0,p.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return S._configureProperties(r),r}static studyId(){return f}_studyInputs(e){(0,s.assert)(2===e.length,"all the line tool points should be defined");const[t,i]=e;if(t.index===i.index)return null;const r=this._getPointTime(t.index<=i.index?t:i,!0),n=this._getPointTime(i.index>=t.index?i:t,!0);return null===r||null===n?(this._subscribeApplyInputsOnSeriesCompleted(),null):{...this.properties().childs().inputs.state(),"first bar time":1e3*r,"last bar time":1e3*n}}_onDataUpdated(e,t,i){null!==t&&(t.indexes_replace||(this._trendData=t.data),"nochange"!==i&&(this._indexes=i),super._onDataUpdated(e,t,i))}_isReady(){return null!==this._trendData&&void 0!==this._trendData.startIndex&&void 0!==this._trendData.endIndex&&v(this._trendData.upLine)&&v(this._trendData.baseLine)&&v(this._trendData.downLine)}_updateAnchorsPrice(){if(!this._trendData||(0,m.isNaN)(this._trendData.baseLine.startPrice)||(0, -m.isNaN)(this._trendData.baseLine.endPrice))return;const{startPrice:e,endPrice:t}=this._trendData.baseLine;2===this._points.length&&(this._points[0].price=(0,s.ensureDefined)(e),this._points[1].price=(0,s.ensureDefined)(t),this._timePoint[0].price=(0,s.ensureDefined)(e),this._timePoint[1].price=(0,s.ensureDefined)(t))}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(7387),i.e(8623),i.e(607)]).then(i.bind(i,96457))).RegressionTrendDefinitionsViewModel}static _configureProperties(e){n.StudyLineDataSource._configureProperties(e);const t=e.childs().styles.childs(),i=[t.upLine.childs().linewidth,t.downLine.childs().linewidth,t.baseLine.childs().linewidth];e.addChild("linesWidths",new _.LineToolWidthsProperty(i))}}var y=i(20299);const b=(0,h.studyIdString)("VbPFixed","tv-basicstudies");class w extends y.LineToolVbPFixed{constructor(e,t,i,s,r,n){const o=i||e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:b});super(e,t,o,s,r,n)}calcIsActualSymbol(){n.StudyLineDataSource.prototype.calcIsActualSymbol.apply(this)}boundToSymbol(){return!0}isSynchronizable(){return this.priceScale()===this._model.mainSeries().priceScale()}static studyId(){return b}static createProperties(e,t){const i=u().getStudyPropertyRootNameById(b),r=(0,s.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:b})),n=(0,g.createDefaultsState)(!0,i,[],e.studyVersioning());return V("LineToolFixedRangeVolumeProfile",r,r,(0,m.merge)((0,m.clone)(n),null!=t?t:{}),e.studyVersioning())}static createPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0,p.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return w._configureProperties(r),r}}var C=i(44601),P=i(2587),T=i(36759);function x(e){for(const t of Object.keys(e))TradingView[t]=e[t]}x(l),x({LineToolRegressionTrend:S,LineToolVbPFixed:y.LineToolVbPFixed,LineToolFixedRangeVolumeProfile:w});let I=null;function M(e,t,i){return null!==I&&I.tool===e&&I.toolData===t||(I={properties:D(e,void 0,i),tool:e,toolData:t}),I.properties}function L(){I=null}function A(e){return null!==I&&I.tool===e?I.properties:null}function E(e,t,i,r,n,o){let a;if((0,s.assert)((0,C.isLineToolName)(e),"Unknown line tool: "+e),n||i||(i=A(e)||void 0),"LineToolVbPFixed"===e)a=new y.LineToolVbPFixed(t,i,(0,s.ensureDefined)(r),t.mainSeries(),n,o);else if("LineToolFixedRangeVolumeProfile"===e)a=new w(t,i,(0,s.ensureDefined)(r),t.mainSeries(),n,o);else if("LineToolRegressionTrend"===e)a=new S(t,i,(0,s.ensureDefined)(r),n,o);else{a=new((0,s.ensureDefined)(l[e]))(t,i,n,o)}return a.toolname=e,L(),a}function k(e,t){const i=(0,s.ensureNotNull)(t.symbolSource());e.childs().symbol.setValue(i.symbol()),i.model().currencyConversionEnabled()&&e.childs().currencyId.setValue(i.currency()),i.model().unitConversionEnabled()&&e.childs().unitId.setValue(i.unit()),e.childs().symbolStateVersion.setValue(2),e.childs().zOrderVersion.setValue(2)}function D(e,t,i){if((0,s.assert)((0,C.isLineToolName)(e),e+" should be name of the line tool"), -"LineToolVbPFixed"===e)return y.LineToolVbPFixed.createProperties(i,t);if("LineToolFixedRangeVolumeProfile"===e)return w.createProperties(i,t);if("LineToolRegressionTrend"===e)return S.createProperties(i,t);return(0,s.ensureDefined)(l[e]).createProperties(t)}function V(e,t,i,r,n){if((0,s.assert)((0,C.isStudyLineToolName)(e),e+" should be name of the study line tool"),"LineToolVbPFixed"===e)return y.LineToolVbPFixed.createPropertiesFromStudyMetaInfoAndState(t,i,r,n);if("LineToolFixedRangeVolumeProfile"===e)return w.createPropertiesFromStudyMetaInfoAndState(t,i,r,n);if("LineToolRegressionTrend"===e)return S.createRegressionTrendPropertiesFromStudyMetaInfoAndState(t,i,r,n);throw new Error("Property creation is not implemented for study line tool "+e)}function B(e){(0,s.assert)((0,C.isLineToolName)(e),e+" should be name of the line tool");const t=l[e];return void 0!==t&&Boolean(t.supportPhantomMode)}function N(e){return e instanceof o.LineDataSource}function R(e){return e instanceof n.StudyLineDataSource}function O(e){return e instanceof P.LineToolTrading}function F(e){let t=null;return e===S.studyId()?t="LineToolRegressionTrend":e===y.LineToolVbPFixed.studyId()?t="LineToolVbPFixed":e===w.studyId()&&(t="LineToolFixedRangeVolumeProfile"),t}function W(e,t,i,n){const o=t.toolname,a=t.properties().state();a.intervalsVisibilities=(0,T.mergeIntervalVisibilitiesDefaults)(null==a?void 0:a.intervalsVisibilities);const l=D(t.toolname,a,e);l.childs().visible.setValue(!0);const c=(0,s.ensureNotNull)(t.ownerSource()),h=E(o,e,l);void 0!==n&&h.setId(n),h.setOwnerSource(c),h.toolname=o;const d=h.clonePositionOffset(),u=t.fixedPoints();(i?u.map(e=>e.add(new r.Point(d.xCoordOffset,d.yCoordOffset))):u).forEach(e=>h.addFixedPoint(e));const p=t.normalizedPoints(),_=i?function(e,t,i){const r=(0,s.ensureNotNull)(t.priceScale()),n=(0,s.ensureNotNull)(t.firstValue());return e.map(e=>{const t=e.price,s=r.priceToCoordinate(t,n)+i.yCoordOffset,o=r.coordinateToPrice(s,n);return{time_t:e.time_t,price:o,offset:e.offset+i.barOffset}})}(p,c,d):p,m=t.points();return h.restorePoints(_,m),h.cloneData&&h.cloneData(t),h.checkAlert&&h.checkAlert(),h}function H(e,t){var i;return null!==(i=e.dataSources().find(e=>N(e)&&e.linkKey().value()===t))&&void 0!==i?i:null}},87517:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(89857).LineDataSource,n=i(2015),o=i(88564).DefaultProperty;class a extends r{constructor(e,t,s,r){super(e,t||a.createProperties(),s,r),this.version=a.version,i.e(1583).then(i.bind(i,99578)).then(({NotePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Note"}getTooltipWidth(){return a.TOOLTIP_WIDTH}getTooltipPadding(){return a.TOOLTIP_PADDING}getTooltipLineSpacing(){return a.TOOLTIP_LINESPACING}template(){var e=r.prototype.template.call(this);return e.text=this.properties().childs().text.value(),e}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}static createProperties(e){ -void 0!==e&&void 0!==e.markerColor&&void 0===e.borderColor&&(e.borderColor=e.markerColor);var t=new o("linetoolnote",e);return a._configureProperties(t),t}state(e){var t=r.prototype.state.call(this,e);return e&&(t.state.fixedSize=!1),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,55510))).NoteDefinitionsViewModel}static _configureProperties(e){r._configureProperties(e),e.hasChild("text")||e.addChild("text",new n(s("Text"))),e.addExclusion("text")}}a.TOOLTIP_WIDTH=300,a.TOOLTIP_PADDING=10,a.TOOLTIP_LINESPACING=5,a.version=1;class l extends a{constructor(e,t){super(e,t||l.createProperties())}title(){return s("Anchored Note")}name(){return"Anchored Note"}isFixed(){return!0}hasEditableCoordinates(){return!1}static createProperties(e){var t=new o("linetoolnoteabsolute",e);return l._configureProperties(t),t}static _configureProperties(e){a._configureProperties(e)}}t.LineToolNote=a,t.LineToolNoteAbsolute=l},86858:(e,t,i)=>{"use strict";var s=i(2587).LineToolTrading,r=i(22474).LineToolPriceAxisView,n=i(53664),o=i(89857).LineDataSource,a=i(88564).DefaultProperty;const l=i(67337);var c=i(59555).sortSourcesPreOrdered.LineToolOrder;function h(e){return null==e?e="":e+="",e}class d{constructor(e){this._line=e,this._data={bodyText:"order",quantityText:"0"},this._editable=!0,this._cancellable=!0,this._mode="",this._direction="buy",this._active=!0}setMode(e){return this._mode=e,this._line.updateAllViewsAndRedraw(),this}setDirection(e){return this._direction=e,this._line.updateAllViewsAndRedraw(),this}setActive(e){return this._active=e,this._line.updateAllViewsAndRedraw(),this}setEditable(e){return this._editable=e,this._line.updateAllViewsAndRedraw(),this}getEditable(){return this._editable}setCancellable(e){return this._cancellable=e,this._line.updateAllViewsAndRedraw(),this}getCancellable(){return this._cancellable}hasMoveCallback(){return this.isFunction(this._onMoveCallback)}hasModifyCallback(){return this.isFunction(this._onModifyCallback)}getPrice(){return this._line.points().length>0?this._line.points()[0].price:this._line._timePoint.length>0?this._line._timePoint[0].price:void 0}setPrice(e){if(this._line.points().length>0){var t=this._line.points()[0];t.price=e,this._line._points[0]=t,this._line.normalizePoints(),this._line.updateAllViewsAndRedraw()}return this._line._timePoint.length>0&&(this._line._timePoint[0].price=e),this}getText(){return this._data.bodyText}setText(e){return this._data.bodyText=e||"",this._line.updateAllViewsAndRedraw(),this}setTooltip(e){return this._line.properties().tooltip.setValue(h(e)),this}getTooltip(){return this._line.properties().tooltip.value()}setModifyTooltip(e){return this._line.properties().modifyTooltip.setValue(h(e)),this}getModifyTooltip(){return this._line.properties().modifyTooltip.value()}setCancelTooltip(e){return this._line.properties().cancelTooltip.setValue(h(e)),this}getCancelTooltip(){return this._line.properties().cancelTooltip.value()}getQuantity(){return this._data.quantityText}setQuantity(e){ -return this._data.quantityText=e||"",this._line.updateAllViewsAndRedraw(),this}getExtendLeft(){var e=this._line.properties().extendLeft.value();return"inherit"===e?this._line._model.properties().tradingProperties.extendLeft.value():e}setExtendLeft(e){return this._line.properties().extendLeft.setValue(e),this}getLineLength(){var e=this._line.properties().lineLength.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineLength.value():e}setLineLength(e){return this._line.properties().lineLength.setValue(Math.max(0,Math.min(e,100))),this}getLineColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.lineActiveBuyColor.value():e.lineInactiveBuyColor.value():this._active?e.lineActiveSellColor.value():e.lineInactiveSellColor.value()}setLineColor(e){return"buy"===this._direction?this._active?this.setLineActiveBuyColor(e):this.setLineInactiveBuyColor(e):this._active?this.setLineActiveSellColor(e):this.setLineInactiveSellColor(e),this}setLineActiveBuyColor(e){return this._line.properties().lineActiveBuyColor.setValue(e),this}setLineInactiveBuyColor(e){return this._line.properties().lineInactiveBuyColor.setValue(e),this}setLineActiveSellColor(e){return this._line.properties().lineActiveSellColor.setValue(e),this}setLineInactiveSellColor(e){return this._line.properties().lineInactiveSellColor.setValue(e),this}getLineStyle(){var e=this._line.properties().lineStyle.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineStyle.value():e}setLineStyle(e){return this._line.properties().lineStyle.setValue(e),this}getLineWidth(){var e=this._line.properties().lineWidth.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineWidth.value():e}setLineWidth(e){return this._line.properties().lineWidth.setValue(e),this}getBodyBorderColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.bodyBorderActiveBuyColor.value():e.bodyBorderInactiveBuyColor.value():this._active?e.bodyBorderActiveSellColor.value():e.bodyBorderInactiveSellColor.value()}setBodyBorderColor(e){return"buy"===this._direction?this._active?this.setBodyBorderActiveBuyColor(e):this.setBodyBorderInactiveBuyColor(e):this._active?this.setBodyBorderActiveSellColor(e):this.setBodyBorderInactiveSellColor(e),this}setBodyBorderActiveBuyColor(e){return this._line.properties().bodyBorderActiveBuyColor.setValue(e),this}setBodyBorderInactiveBuyColor(e){return this._line.properties().bodyBorderInactiveBuyColor.setValue(e),this}setBodyBorderActiveSellColor(e){return this._line.properties().bodyBorderActiveSellColor.setValue(e),this}setBodyBorderInactiveSellColor(e){return this._line.properties().bodyBorderInactiveSellColor.setValue(e),this}getBodyBackgroundColor(){return n.getColorFromProperties(this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency)}setBodyBackgroundColor(e){return n.setColorToProperties(e,this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency),this}getBodyTextColor(){ -var e=this._line.properties();return"limit"===this._mode?this._active?e.bodyTextActiveLimitColor.value():e.bodyTextInactiveLimitColor.value():"stop"===this._mode?this._active?e.bodyTextActiveStopColor.value():e.bodyTextInactiveStopColor.value():"buy"===this._direction?this._active?e.bodyTextActiveBuyColor.value():e.bodyTextInactiveBuyColor.value():this._active?e.bodyTextActiveSellColor.value():e.bodyTextInactiveSellColor.value()}setBodyTextColor(e){return"limit"===this._mode?this._active?this.setBodyTextActiveLimitColor(e):this.setBodyTextInactiveLimitColor(e):"stop"===this._mode?this._active?this.setBodyTextActiveStopColor(e):this.setBodyTextInactiveStopColor(e):"buy"===this._direction?this._active?this.setBodyTextActiveBuyColor(e):this.setBodyTextInactiveBuyColor(e):this._active?this.setBodyTextActiveSellColor(e):this.setBodyTextInactiveSellColor(e),this}setBodyTextInactiveLimitColor(e){return this._line.properties().bodyTextInactiveLimitColor.setValue(e),this}setBodyTextActiveLimitColor(e){return this._line.properties().bodyTextActiveLimitColor.setValue(e),this}setBodyTextInactiveStopColor(e){return this._line.properties().bodyTextInactiveStopColor.setValue(e),this}setBodyTextActiveStopColor(e){return this._line.properties().bodyTextActiveStopColor.setValue(e),this}setBodyTextInactiveBuyColor(e){return this._line.properties().bodyTextInactiveBuyColor.setValue(e),this}setBodyTextActiveBuyColor(e){return this._line.properties().bodyTextActiveBuyColor.setValue(e),this}setBodyTextInactiveSellColor(e){return this._line.properties().bodyTextInactiveSellColor.setValue(e),this}setBodyTextActiveSellColor(e){return this._line.properties().bodyTextActiveSellColor.setValue(e),this}getBodyFont(){return n.getFontFromProperties(this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic)}setBodyFont(e){return n.setFontToProperties(e,this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic),this}getQuantityBorderColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.quantityBorderActiveBuyColor.value():e.quantityBorderInactiveBuyColor.value():this._active?e.quantityBorderActiveSellColor.value():e.quantityBorderInactiveSellColor.value()}setQuantityBorderColor(e){return"buy"===this._direction?this._active?this.setQuantityBorderActiveBuyColor(e):this.setQuantityBorderInactiveBuyColor(e):this._active?this.setQuantityBorderActiveSellColor(e):this.setQuantityBorderInactiveSellColor(e),this}setQuantityBorderActiveBuyColor(e){return this._line.properties().quantityBorderActiveBuyColor.setValue(e),this}setQuantityBorderInactiveBuyColor(e){return this._line.properties().quantityBorderInactiveBuyColor.setValue(e),this}setQuantityBorderActiveSellColor(e){return this._line.properties().quantityBorderActiveSellColor.setValue(e),this}setQuantityBorderInactiveSellColor(e){ -return this._line.properties().quantityBorderInactiveSellColor.setValue(e),this}getQuantityBackgroundColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.quantityBackgroundActiveBuyColor.value():e.quantityBackgroundInactiveBuyColor.value():this._active?e.quantityBackgroundActiveSellColor.value():e.quantityBackgroundInactiveSellColor.value()}setQuantityBackgroundColor(e){return"buy"===this._direction?this._active?this.setQuantityBackgroundActiveBuyColor(e):this.setQuantityBackgroundInactiveBuyColor(e):this._active?this.setQuantityBackgroundActiveSellColor(e):this.setQuantityBackgroundInactiveSellColor(e),this}setQuantityBackgroundActiveBuyColor(e){return this._line.properties().quantityBackgroundActiveBuyColor.setValue(e),this}setQuantityBackgroundInactiveBuyColor(e){return this._line.properties().quantityBackgroundInactiveBuyColor.setValue(e),this}setQuantityBackgroundActiveSellColor(e){return this._line.properties().quantityBackgroundActiveSellColor.setValue(e),this}setQuantityBackgroundInactiveSellColor(e){return this._line.properties().quantityBackgroundInactiveSellColor.setValue(e),this}getQuantityTextColor(){return n.getColorFromProperties(this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency)}setQuantityTextColor(e){return n.setColorToProperties(e,this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency),this}getQuantityFont(){return n.getFontFromProperties(this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic)}setQuantityFont(e){return n.setFontToProperties(e,this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic),this}getCancelButtonBorderColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.cancelButtonBorderActiveBuyColor.value():e.cancelButtonBorderInactiveBuyColor.value():this._active?e.cancelButtonBorderActiveSellColor.value():e.cancelButtonBorderInactiveSellColor.value()}setCancelButtonBorderColor(e){return"buy"===this._direction?this._active?this.setCancelButtonBorderActiveBuyColor(e):this.setCancelButtonBorderInactiveBuyColor(e):this._active?this.setCancelButtonBorderActiveSellColor(e):this.setCancelButtonBorderInactiveSellColor(e),this}setCancelButtonBorderActiveBuyColor(e){return this._line.properties().cancelButtonBorderActiveBuyColor.setValue(e),this}setCancelButtonBorderInactiveBuyColor(e){return this._line.properties().cancelButtonBorderInactiveBuyColor.setValue(e),this}setCancelButtonBorderActiveSellColor(e){return this._line.properties().cancelButtonBorderActiveSellColor.setValue(e),this}setCancelButtonBorderInactiveSellColor(e){return this._line.properties().cancelButtonBorderInactiveSellColor.setValue(e),this}getCancelButtonBackgroundColor(){ -return n.getColorFromProperties(this._line.properties().cancelButtonBackgroundColor,this._line.properties().cancelButtonBackgroundTransparency)}setCancelButtonBackgroundColor(e){return n.setColorToProperties(e,this._line.properties().cancelButtonBackgroundColor,this._line.properties().cancelButtonBackgroundTransparency),this}getCancelButtonIconColor(){var e=this._line.properties();return"buy"===this._direction?this._active?e.cancelButtonIconActiveBuyColor.value():e.cancelButtonIconInactiveBuyColor.value():this._active?e.cancelButtonIconActiveSellColor.value():e.cancelButtonIconInactiveSellColor.value()}setCancelButtonIconColor(e){return"buy"===this._direction?this._active?this.setCancelButtonIconActiveBuyColor(e):this.setCancelButtonIconInactiveBuyColor(e):this._active?this.setCancelButtonIconActiveSellColor(e):this.setCancelButtonIconInactiveSellColor(e),this}setCancelButtonIconActiveBuyColor(e){return this._line.properties().cancelButtonIconActiveBuyColor.setValue(e),this}setCancelButtonIconInactiveBuyColor(e){return this._line.properties().cancelButtonIconInactiveBuyColor.setValue(e),this}setCancelButtonIconActiveSellColor(e){return this._line.properties().cancelButtonIconActiveSellColor.setValue(e),this}setCancelButtonIconInactiveSellColor(e){return this._line.properties().cancelButtonIconInactiveSellColor.setValue(e),this}block(){this._blocked=!0,this._line.updateAllViewsAndRedraw()}unblock(){this._blocked=!1,this._line.updateAllViewsAndRedraw()}getBlocked(){return this._blocked}isFunction(e){return"function"==typeof e}onCancel(e,t){return t?this.isFunction(t)&&(this._onCancelData=e,this._onCancelCallback=t):this.isFunction(e)&&(this._onCancelCallback=e),this}callOnCancel(){this.isFunction(this._onCancelCallback)&&this._onCancelCallback.call(this,this._onCancelData)}isOnCancelCallbackPresent(){return this.isFunction(this._onCancelCallback)}onModify(e,t){return t?this.isFunction(t)&&(this._onModifyData=e,this._onModifyCallback=t):this.isFunction(e)&&(this._onModifyCallback=e),this}callOnModify(){this.isFunction(this._onModifyCallback)&&this._onModifyCallback.call(this,this._onModifyData)}onMove(e,t){return t?this.isFunction(t)&&(this._onMoveData=e,this._onMoveCallback=t):this.isFunction(e)&&(this._onMoveCallback=e),this}callOnMove(){this.isFunction(this._onMoveCallback)&&this._onMoveCallback.call(this,this._onMoveData)}onContextMenu(e,t){return t?this.isFunction(t)&&(this._onContextMenuData=e,this._onContextMenuCallback=t):this.isFunction(e)&&(this._onContextMenuCallback=e),this}shouldShowContextMenu(){return this.isFunction(this._onContextMenuCallback)}callOnContextMenu(){if(this.isFunction(this._onContextMenuCallback))return this._onContextMenuCallback.call(this,this._onContextMenuData)}remove(){this._line._model.removeSource(this._line),delete this._line}}class u extends s{constructor(e,t){super(e,t||u.createProperties()),this._adapter=new d(this),this.setSelectionEnabled(!0),i.e(1583).then(i.bind(i,45175)).then(({OrderPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}zorder(){return c} -isSpeciallyZOrderedSource(){return!0}setPoint(e,t,i){this._points[e]=t,this.normalizePoints()}addPoint(e,t){return this._points.push(e),this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}name(){return"Order"}endMoving(e){var t=this._startMovingPoint&&this._currentMovingPoint&&this._startMovingPoint.logical.price!==this._currentMovingPoint.logical.price;super.endMoving(),!e&&t&&this._adapter.callOnMove()}createPriceAxisView(e){var t={pointIndex:e,backgroundPropertyGetter:()=>this._adapter.getLineColor()};return this._priceAxisView=new r(this,t),this._priceAxisView}paneViews(){return TradingView.printing&&!l.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showOrders.value()?o.prototype.paneViews.call(this):null}priceAxisViews(e,t){return TradingView.printing&&!l.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showOrders.value()?o.prototype.priceAxisViews.call(this,e,t):null}adapter(){return this._adapter}hasContextMenu(){return this._adapter.shouldShowContextMenu()}contextMenuItems(){return this._adapter.callOnContextMenu()}movable(){return Boolean(this._adapter._onMoveCallback)}static createProperties(e){var t=new a("linetoolorder",e,!1,!1);return u._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolOrder=u},78898:(e,t,i)=>{"use strict";i.d(t,{LineToolParallelChannel:()=>c});var s=i(88537),r=i(86441),n=i(88564),o=i(85733),a=i(89857),l=i(80643);class c extends a.LineDataSource{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),this._priceAxisViews.push(this.createPriceAxisView(3)),this._coordOffsetWhileMovingOrChanging=null,this._pendingPriceOffset=null,i.e(1583).then(i.bind(i,74143)).then(({ParallelChannelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}paneViews(e){return null!==this._pendingPriceOffset&&this._applyPendingPriceOffset(),super.paneViews(e)}setLastPoint(e,t){t&&t.shift()&&2===this.points().length&&this._snapPoint45Degree(e,this.points()[0]);const i=(0,l.clone)(e);return super.setLastPoint(e),i}startMoving(e,t,i,s){super.startMoving(e,t,i,s),this._coordOffsetWhileMovingOrChanging=this._findPixelsHeight()}endMoving(e,t,i){return this._coordOffsetWhileMovingOrChanging=null,super.endMoving(e,t,i)}startChanging(e,t){super.startChanging(e,t),this._coordOffsetWhileMovingOrChanging=this._findPixelsHeight()}endChanging(e,t,i){return this._coordOffsetWhileMovingOrChanging=null,super.endChanging(e,t)}restoreExternalPoints(e,t,i){const s=i?e.points:this._timePoint.map((t,i)=>({price:t.price,offset:e.points[i].offset,time_t:e.points[i].time_t}));if(super.restoreExternalPoints({...e,points:s},t),t.pricesChanged&&this._points.length===s.length)for(let e=0;e=4)return;this._snapPointBeforeChange(e,t,i);const a=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),l=(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[1])),c=(0, -s.ensureNotNull)(this.pointToScreenPoint(t)),h=(0,s.ensureNotNull)(this._coordOffsetWhileMovingOrChanging),d=(0,s.ensureNotNull)(this.priceScale()),u=(0,s.ensure)(null===(n=this.ownerSource())||void 0===n?void 0:n.firstValue());switch(e){case 0:super.setPoint(e,t,i),this._points[2].price=d.coordinateToPrice(c.y+h,u);break;case 1:super.setPoint(e,t,i);break;case 2:super.setPoint(e,t,i),this._points[0].price=d.coordinateToPrice(c.y-h,u),this._points[0].index=t.index;break;case 3:this._points[1].price=d.coordinateToPrice(c.y-h,u),this._points[1].index=t.index;break;case 4:{const e=l.subtract(a),t=(c.x-a.x)/e.x,i=a.addScaled(e,t),s=c.y-i.y;this._points[2].price=d.coordinateToPrice(a.y+s,u);break}case 5:{const e=l.subtract(a),t=(c.x-a.x)/e.x,i=a.addScaled(e,t),s=c.y-i.y;this._points[0].price=d.coordinateToPrice(a.y+s,u),this._points[1].price=d.coordinateToPrice(l.y+s,u);break}}const p=this.linkKey().value();if(p&&!r&&e<4){const e=this._points.map(e=>e.price);(0,o.changeLineStyle)({model:this._model,linkKey:p,state:{prices:e}})}}state(e){const t=a.LineDataSource.prototype.state.call(this,e);return this._pendingPriceOffset&&(t.priceOffset=this._pendingPriceOffset),t}restoreExternalState(e){const t={...e};if(t.prices&&this.isActualSymbol())for(let e=0;ee.index<=t.index?[e,t]:[t,e],s=i(t[0],t[1]),r=i(t[2],t[3]);let n,o,a,l;t[2].price{"use strict";i.d(t,{LineToolPath:()=>c});var s=i(88537),r=i(86441),n=i(88564),o=i(49094),a=i(89857),l=i(37865);class c extends a.LineDataSource{constructor(e,t,s,r){const n=t||c.createProperties();super(e,n,s,r),this._finished=!1,i.e(1583).then(i.bind(i,10155)).then(t=>{this._setPaneViews([new t.PathPaneView(this,e)])})}pointsCount(){return-1}name(){return"Path"}hasEditableCoordinates(){return!1}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}addPoint(e,t,i){var n;if(this._finished)return!0;const a=(0, -s.ensureNotNull)(this.priceScale()),l=this._model.timeScale().indexToCoordinate(e.index),c=e.price,h=(0,s.ensure)(null===(n=this.ownerSource())||void 0===n?void 0:n.firstValue()),d=a.priceToCoordinate(c,h);if(this._points.length>0){const e=this._points[this._points.length-1],i=this._model.timeScale().indexToCoordinate(e.index),s=e.price,n=a.priceToCoordinate(s,h),c=new r.Point(l,d).subtract(new r.Point(i,n)).length();if(!(null==t?void 0:t.isApiEvent())&&c<(0,o.interactionTolerance)().minDistanceBetweenPoints)return this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}return super.addPoint(e,t,i)}static createProperties(e){const t=new n.DefaultProperty("linetoolpath",e);return c._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,4283)).then(e=>e.PathDefinitionsViewModel)}static _configureProperties(e){a.LineDataSource._configureProperties(e),e.addChild("linesWidths",new l.LineToolWidthsProperty([(0,s.ensureDefined)(e.child("lineWidth"))])),e.addChild("linesColors",new l.LineToolColorsProperty([e.childs().lineColor]))}}},18977:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),i.e(1583).then(i.bind(i,92669)).then(({PitchfanLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 3}name(){return"Pitchfan"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34879))).PitchBaseDefinitionsViewModel}static createProperties(e){var t=new o("linetoolpitchfan",e,!1,{range:[0,8]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("median").child("linewidth")],i=[e.child("median").child("color")],s=0;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=8,t.LineToolPitchfan=d},30823:(e,t,i)=>{"use strict";var s;i.d(t,{LineToolPitchforkStyle:()=>s}),function(e){e[e.Original=0]="Original",e[e.Schiff=1]="Schiff",e[e.Inside=2]="Inside",e[e.Schiff2=3]="Schiff2"}(s||(s={}))},40100:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(28296).Action,l=i(62060).ACTION_ID,c=i(30823).LineToolPitchforkStyle,h=null,d=i(37865),u=d.LineToolWidthsProperty,p=d.LineToolColorsProperty,_=new r("erase level line",s("erase level line")),m=new r("change {title} style",s("change {title} style"));class g extends n{constructor(e,t,i,s){super(e,t||g.createProperties(),i,s), -this._properties.style.listeners().subscribe(this,g.prototype._recreatePaneView),this._recreatePaneView()}levelsCount(){return g.LevelsCount}additionalActions(e){for(var t=[],i=[{title:s("Original"),actionId:l.ChartLineToolPitchforkChangeTypeToOriginal},{title:s("Modified Schiff"),actionId:l.ChartLineToolPitchforkChangeTypeToModifiedSchiff},{title:s("Inside"),actionId:l.ChartLineToolPitchforkChangeTypeToInside},{title:s("Schiff"),actionId:l.ChartLineToolPitchforkChangeTypeToSchiff}],n=0;n<4;n++){var o=new a({actionId:i[n].actionId,checked:this.properties().style.value()===n,checkable:!0,label:i[n].title,payload:{target:this,value:n},onExecute:function(t){var i=t.getPayload(),s=i.target;e.setProperty(s.properties().style,i.value,m.format({title:new r(s.name(),s.title())})),s.updateAllViews(),s._model.updateSource(s)}});t.push(o)}return[t[0],t[3],t[1],t[2]]}_recreatePaneView(){if(null!==h){var e=[];this._properties.style.value()===c.Original?e=[new h.PitchforkLinePaneView(this,this._model)]:this._properties.style.value()===c.Schiff?e=[new h.SchiffPitchforkLinePaneView(this,this._model)]:this._properties.style.value()===c.Schiff2?e=[new h.SchiffPitchfork2LinePaneView(this,this._model)]:this._properties.style.value()===c.Inside&&(e=[new h.InsidePitchforkLinePaneView(this,this._model)]),this._setPaneViews(e)}else i.e(1583).then(i.bind(i,41829)).then(e=>{null===h&&(h=e),this._recreatePaneView()})}pointsCount(){return 3}name(){return"Pitchfork"}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,_)}static createProperties(e){var t=new o("linetoolpitchfork",e,!1,{range:[0,8]});return g._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,84806))).PitchForkDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("median").child("linewidth")],i=[e.child("median").child("color")],s=0;s<=g.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new p(i)),e.addChild("linesWidths",new u(t))}}g.LevelsCount=8,t.LineToolPitchfork=g},19085:(e,t,i)=>{"use strict";i.d(t,{LineToolPolyline:()=>l});var s=i(88537),r=i(86441),n=i(88564),o=i(49094),a=i(89857);class l extends a.LineDataSource{constructor(e,t,s,r){const n=t||l.createProperties();super(e,n,s,r),this._finished=!1,i.e(1583).then(i.bind(i,95907)).then(t=>{this._setPaneViews([new t.PolylinePaneView(this,e)])})}pointsCount(){return-1}name(){return"Polyline"}hasEditableCoordinates(){return!1}finish(){this._finished=!0,this._lastPoint=null,this.normalizePoints(),this.createServerPoints()}addPoint(e,t,i){var n;if(this._finished)return!0;const a=(0,s.ensureNotNull)(this.priceScale()),l=this._model.timeScale().indexToCoordinate(e.index),c=e.price,h=(0,s.ensure)(null===(n=this.ownerSource())||void 0===n?void 0:n.firstValue()),d=a.priceToCoordinate(c,h),u=(0,o.interactionTolerance)().minDistanceBetweenPoints;if(this._points.length>0){ -const e=this._points[this._points.length-1],i=this._model.timeScale().indexToCoordinate(e.index),s=e.price,n=a.priceToCoordinate(s,h),o=new r.Point(l,d).subtract(new r.Point(i,n)).length();if(!(null==t?void 0:t.isApiEvent())&&oe.PolylinesDefinitionsViewModel)}static _configureProperties(e){a.LineDataSource._configureProperties(e),e.addExclusion("filled")}}},96295:(e,t,i)=>{"use strict";i.d(t,{PositionAveragePriceAxisView:()=>r});var s=i(22474);class r extends s.LineToolPriceAxisView{_formatPrice(e,t){return this._source.formatter().format(e)}}},2157:(e,t,i)=>{"use strict";var s=i(2587).LineToolTrading,r=i(89857).LineDataSource,n=i(96295).PositionAveragePriceAxisView,o=i(53664),a=i(88564).DefaultProperty,l=i(97098).PriceFormatter;const c=i(67337);var h=i(59555).sortSourcesPreOrdered.LineToolPosition;function d(e){return null==e?e="":e+="",e}class u{constructor(e){this._line=e,this._data={bodyText:"position",quantityText:"0"},this._closeEnabled=!0,this._direction="buy",this._profitState="neutral"}setDirection(e){return this._direction=e,this._line.updateAllViewsAndRedraw(),this}setProfitState(e){return this._profitState=e,this._line.updateAllViewsAndRedraw(),this}getPrice(){return this._line.points().length>0?this._line.points()[0].price:this._line._timePoint.length>0?this._line._timePoint[0].price:void 0}setPrice(e){if(this._line.points().length>0){var t=this._line.points()[0];t.price=e,this._line._points[0]=t,this._line.normalizePoints(),this._line.updateAllViewsAndRedraw()}return this._line._timePoint.length>0&&(this._line._timePoint[0].price=e),this}getText(){return this._data.bodyText}setText(e){return this._data.bodyText=e||"",this._line.updateAllViewsAndRedraw(),this}setTooltip(e){ -return this._line.properties().tooltip.setValue(d(e)),this}getTooltip(){return this._line.properties().tooltip.value()}setProtectTooltip(e){return this._line.properties().protectTooltip.setValue(d(e)),this}getProtectTooltip(){return this._line.properties().protectTooltip.value()}setCloseTooltip(e){return this._line.properties().closeTooltip.setValue(d(e)),this}getCloseTooltip(){return this._line.properties().closeTooltip.value()}setReverseTooltip(e){return this._line.properties().reverseTooltip.setValue(d(e)),this}getReverseTooltip(){return this._line.properties().reverseTooltip.value()}getQuantity(){return this._data.quantityText}setQuantity(e){return this._data.quantityText=e||"",this._line.updateAllViewsAndRedraw(),this}getExtendLeft(){var e=this._line.properties().extendLeft.value();return"inherit"===e?this._line._model.properties().tradingProperties.extendLeft.value():e}setExtendLeft(e){return this._line.properties().extendLeft.setValue(e),this}getLineLength(){var e=this._line.properties().lineLength.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineLength.value():e}setLineLength(e){return this._line.properties().lineLength.setValue(Math.max(0,Math.min(e,100))),this}getLineColor(){var e=this._line.properties();return("buy"===this._direction?e.lineBuyColor:e.lineSellColor).value()}setLineColor(e){return"buy"===this._direction?this.setLineBuyColor(e):this.setLineSellColor(e),this}setLineBuyColor(e){return this._line.properties().lineBuyColor.setValue(e),this}setLineSellColor(e){return this._line.properties().lineSellColor.setValue(e),this}getLineStyle(){var e=this._line.properties().lineStyle.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineStyle.value():e}setLineStyle(e){return this._line.properties().lineStyle.setValue(e),this}getLineWidth(){var e=this._line.properties().lineWidth.value();return"inherit"===e?this._line._model.properties().tradingProperties.lineWidth.value():e}setLineWidth(e){return this._line.properties().lineWidth.setValue(e),this}getBodyBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.bodyBorderBuyColor:e.bodyBorderSellColor).value()}setBodyBorderColor(e){return"buy"===this._direction?this.setBodyBorderBuyColor(e):this.setBodyBorderSellColor(e),this}setBodyBorderBuyColor(e){return this._line.properties().bodyBorderBuyColor.setValue(e),this}setBodyBorderSellColor(e){return this._line.properties().bodyBorderSellColor.setValue(e),this}getBodyBackgroundColor(){return o.getColorFromProperties(this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency)}setBodyBackgroundColor(e){return o.setColorToProperties(e,this._line.properties().bodyBackgroundColor,this._line.properties().bodyBackgroundTransparency),this}getBodyTextColor(){var e=this._line.properties();return("positive"===this._profitState?e.bodyTextPositiveColor:"negative"===this._profitState?e.bodyTextNegativeColor:e.bodyTextNeutralColor).value()}setBodyTextColor(e){ -return"positive"===this._profitState?this.setBodyTextPositiveColor(e):"negative"===this._profitState?this.setBodyTextNegativeColor(e):this.setBodyTextNeutralColor(e),this}setBodyTextPositiveColor(e){return this._line.properties().bodyTextPositiveColor.setValue(e),this}setBodyTextNegativeColor(e){return this._line.properties().bodyTextNegativeColor.setValue(e),this}setBodyTextNeutralColor(e){return this._line.properties().bodyTextNeutralColor.setValue(e),this}getBodyFont(){return o.getFontFromProperties(this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic)}setBodyFont(e){return o.setFontToProperties(e,this._line.properties().bodyFontFamily,this._line.properties().bodyFontSize,this._line.properties().bodyFontBold,this._line.properties().bodyFontItalic),this}getQuantityBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.quantityBorderBuyColor:e.quantityBorderSellColor).value()}setQuantityBorderColor(e){return"buy"===this._direction?this.setQuantityBorderBuyColor(e):this.setQuantityBorderSellColor(e),this}setQuantityBorderBuyColor(e){return this._line.properties().quantityBorderBuyColor.setValue(e),this}setQuantityBorderSellColor(e){return this._line.properties().quantityBorderSellColor.setValue(e),this}getQuantityBackgroundColor(){var e=this._line.properties();return("buy"===this._direction?e.quantityBackgroundBuyColor:e.quantityBackgroundSellColor).value()}setQuantityBackgroundColor(e){return"buy"===this._direction?this.setQuantityBackgroundBuyColor(e):this.setQuantityBackgroundSellColor(e),this}setQuantityBackgroundBuyColor(e){return this._line.properties().quantityBackgroundBuyColor.setValue(e),this}setQuantityBackgroundSellColor(e){return this._line.properties().quantityBackgroundSellColor.setValue(e),this}getQuantityTextColor(){return o.getColorFromProperties(this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency)}setQuantityTextColor(e){return o.setColorToProperties(e,this._line.properties().quantityTextColor,this._line.properties().quantityTextTransparency),this}getQuantityFont(){return o.getFontFromProperties(this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic)}setQuantityFont(e){return o.setFontToProperties(e,this._line.properties().quantityFontFamily,this._line.properties().quantityFontSize,this._line.properties().quantityFontBold,this._line.properties().quantityFontItalic),this}getReverseButtonBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.reverseButtonBorderBuyColor:e.reverseButtonBorderSellColor).value()}setReverseButtonBorderColor(e){return"buy"===this._direction?this.setReverseButtonBorderBuyColor(e):this.setReverseButtonBorderSellColor(e),this}setReverseButtonBorderBuyColor(e){return this._line.properties().reverseButtonBorderBuyColor.setValue(e),this}setReverseButtonBorderSellColor(e){ -return this._line.properties().reverseButtonBorderSellColor.setValue(e),this}getReverseButtonBackgroundColor(){return o.getColorFromProperties(this._line.properties().reverseButtonBackgroundColor,this._line.properties().reverseButtonBackgroundTransparency)}setReverseButtonBackgroundColor(e){return o.setColorToProperties(e,this._line.properties().reverseButtonBackgroundColor,this._line.properties().reverseButtonBackgroundTransparency),this}getReverseButtonIconColor(){var e=this._line.properties();return("buy"===this._direction?e.reverseButtonIconBuyColor:e.reverseButtonIconSellColor).value()}setReverseButtonIconColor(e){return"buy"===this._direction?this.setReverseButtonIconBuyColor(e):this.setReverseButtonIconSellColor(e),this}setReverseButtonIconBuyColor(e){return this._line.properties().reverseButtonIconBuyColor.setValue(e),this}setReverseButtonIconSellColor(e){return this._line.properties().reverseButtonIconSellColor.setValue(e),this}getCloseButtonBorderColor(){var e=this._line.properties();return("buy"===this._direction?e.closeButtonBorderBuyColor:e.closeButtonBorderSellColor).value()}setCloseButtonBorderColor(e){return"buy"===this._direction?this.setCloseButtonBorderBuyColor(e):this.setCloseButtonBorderSellColor(e),this}setCloseButtonBorderBuyColor(e){return this._line.properties().closeButtonBorderBuyColor.setValue(e),this}setCloseButtonBorderSellColor(e){return this._line.properties().closeButtonBorderSellColor.setValue(e),this}getCloseButtonBackgroundColor(){return o.getColorFromProperties(this._line.properties().closeButtonBackgroundColor,this._line.properties().closeButtonBackgroundTransparency)}setCloseButtonBackgroundColor(e){return o.setColorToProperties(e,this._line.properties().closeButtonBackgroundColor,this._line.properties().closeButtonBackgroundTransparency),this}getCloseButtonIconColor(){var e=this._line.properties();return("buy"===this._direction?e.closeButtonIconBuyColor:e.closeButtonIconSellColor).value()}setCloseButtonIconColor(e){return"buy"===this._direction?this.setCloseButtonIconBuyColor(e):this.setCloseButtonIconSellColor(e),this}setCloseButtonIconBuyColor(e){return this._line.properties().closeButtonIconBuyColor.setValue(e),this}setCloseButtonIconSellColor(e){return this._line.properties().closeButtonIconSellColor.setValue(e),this}block(){this._blocked=!0,this._line.updateAllViewsAndRedraw()}unblock(){this._blocked=!1,this._line.updateAllViewsAndRedraw()}isFunction(e){return"function"==typeof e}onReverse(e,t){return t?this.isFunction(t)&&(this._onReverseData=e,this._onReverseCallback=t):this.isFunction(e)&&(this._onReverseCallback=e),this}callOnReverse(){this.isFunction(this._onReverseCallback)&&this._onReverseCallback.call(this,this._onReverseData)}isOnReverseCallbackPresent(){return this.isFunction(this._onReverseCallback)}onClose(e,t){return t?this.isFunction(t)&&(this._onCloseData=e,this._onCloseCallback=t):this.isFunction(e)&&(this._onCloseCallback=e),this}setCloseEnabled(e){return this._closeEnabled===e||(this._closeEnabled=e, -this._onCloseCallback&&this._line.updateAllViewsAndRedraw()),this}isCloseEnabled(){return this._closeEnabled}callOnClose(){this.isFunction(this._onCloseCallback)&&this._closeEnabled&&this._onCloseCallback.call(this,this._onCloseData)}isOnCloseCallbackPresent(){return this._closeEnabled&&this.isFunction(this._onCloseCallback)}onModify(e,t){return t?this.isFunction(t)&&(this._onModifyData=e,this._onModifyCallback=t):this.isFunction(e)&&(this._onModifyCallback=e),this}callOnModify(){this.isFunction(this._onModifyCallback)&&this._onModifyCallback.call(this,this._onModifyData)}onContextMenu(e,t){return t?this.isFunction(t)&&(this._onContextMenuData=e,this._onContextMenuCallback=t):this.isFunction(e)&&(this._onContextMenuCallback=e),this}shouldShowContextMenu(){return this.isFunction(this._onContextMenuCallback)}callOnContextMenu(){if(this.isFunction(this._onContextMenuCallback))return this._onContextMenuCallback.call(this,this._onContextMenuData)}remove(){this._line._model.removeSource(this._line),delete this._line}}class p extends s{constructor(e,t){super(e,t||p.createProperties()),this._adapter=new u(this),i.e(1583).then(i.t.bind(i,69127,19)).then(({PositionPaneView:e})=>{this._setPaneViews([new e(this,this._model)])});var s=e.mainSeries().symbolInfo(),r=null!==s?s.pricescale:100,n=null!==s&&s.fractional?s.minmov:1,o=null!==s&&s.fractional,a=null!==s?s.minmove2:void 0;this._formatter=new l(r,n,o,a)}zorder(){return h}isSpeciallyZOrderedSource(){return!0}setPoint(e,t,i){this._points[e]=t,this.normalizePoints()}addPoint(e,t){return this._points.push(e),this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}name(){return"Position"}createPriceAxisView(e){return this._priceAxisView=new n(this,{pointIndex:e,backgroundPropertyGetter:()=>this._adapter.getLineColor()}),this._priceAxisView}paneViews(){return TradingView.printing&&!c.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showPositions.value()?r.prototype.paneViews.call(this):null}priceAxisViews(e,t){return TradingView.printing&&!c.enabled("snapshot_trading_drawings")?null:this._model.properties().tradingProperties.showPositions.value()?r.prototype.priceAxisViews.call(this,e,t):null}hasContextMenu(){return this._adapter.shouldShowContextMenu()}contextMenuItems(){return this._adapter.callOnContextMenu()}formatter(){return this._formatter}static createProperties(e){var t=new a("linetoolposition",e,!1,!1);return p._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolPosition=p},19582:(e,t,i)=>{"use strict";var s,r;i.r(t),i.d(t,{AlertStatus:()=>s,Direction:()=>r}),function(e){e[e.Waiting=0]="Waiting",e[e.Success=1]="Success",e[e.Failure=2]="Failure"}(s||(s={})),function(e){e[e.Up=1]="Up",e[e.Down=2]="Down"}(r||(r={}))},12346:(e,t,i)=>{"use strict";var s=i(88537).ensureNotNull,r=i(89857).LineDataSource,n=i(88564).DefaultProperty,o=i(19582);class a extends r{constructor(e,t,s,r){super(e,t||a.createProperties(),s,r),this._predictionPaneView=null;const n=this._model.mainSeries() -;n.properties().interval.subscribe(this,()=>{this.setStatus(o.AlertStatus.Waiting)}),n.dataEvents().dataUpdated().subscribe(this,this.checkAlert),i.e(1583).then(i.t.bind(i,58090,19)).then(({PredictionPaneView:e})=>{this._predictionPaneView=new e(this,this._model),this._setPaneViews([this._predictionPaneView])})}destroy(){const e=this._model.mainSeries();e.properties().interval.unsubscribeAll(this),e.dataEvents().dataUpdated().unsubscribeAll(this),super.destroy()}dataAndViewsReady(){return r.prototype.dataAndViewsReady.call(this)&&this._predictionPaneView&&this._predictionPaneView.iconsReady()}isSynchronizable(){return!1}status(){return this._properties.status.value()}setStatus(e){return this._properties.status.setValue(e)}pointsCount(){return 2}name(){return"Forecast"}restorePoints(e,t,i){super.restorePoints(e,t,i),this.checkAlert()}checkAlert(){if(!this.isSourceHidden()&&!(this._points.length<2||this._model.mainSeries().bars().isEmpty())){var e=this._points[1];if(this.status())e.index>this._model.timeScale().baseIndex()&&this.setStatus(o.AlertStatus.Waiting);else{var t=this._model.mainSeries().bars().valueAt(e.index);if(null!==t){var i=this.direction();if(i===o.Direction.Up&&t[TradingView.HIGH_PLOT]>=e.price)this.setStatus(o.AlertStatus.Success);else if(i===o.Direction.Down&&t[TradingView.LOW_PLOT]<=e.price)this.setStatus(o.AlertStatus.Success);else{var r=s(this._model.mainSeries().bars().lastIndex());e.index!==r&&this.setStatus(o.AlertStatus.Failure)}}}}}addPoint(e){var t=r.prototype.addPoint.call(this,e);return t&&this.checkAlert(),t}endChanging(){super.endChanging(),this.setStatus(o.AlertStatus.Waiting),this.checkAlert()}onData(e){super.onData(e),this.checkAlert()}endMoving(e,t,i){super.endMoving(e,t,i),this.setStatus(o.AlertStatus.Waiting),this.checkAlert()}direction(){if(this.points().length<2)return o.Direction.Up;var e=this.points()[0];return this.points()[1].price>e.price?o.Direction.Up:o.Direction.Down}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,53697))).PredictionDefinitionsViewModel}cloneable(){return!1}static createProperties(e){var t=new n("linetoolprediction",e);return a._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.merge({status:o.AlertStatus.Waiting})}}t.LineToolPrediction=a},3113:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty,n=i(37865).LineToolColorsProperty;class o extends s{constructor(e,t,s,r){super(e,t||o.createProperties(),s,r),i.e(1583).then(i.t.bind(i,69741,19)).then(({PriceLabelPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 1}name(){return"Price Label"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,61641))).PriceLabelDefinitionsViewModel}static createProperties(e){var t=new r("linetoolpricelabel",e);return o._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e), -e.addChild("linesColors",new n([e.childs().borderColor])),e.addChild("textsColors",new n([e.childs().color]))}}t.LineToolPriceLabel=o},7648:(e,t,i)=>{"use strict";i.d(t,{LineToolPriceNote:()=>c});var s=i(88537),r=i(88564),n=i(2015),o=i.n(n),a=i(89857),l=i(33291);class c extends a.LineDataSource{constructor(e,t,s,r){super(e,t||c.createProperties(),s,r),this._labelMovingDelta=null,i.e(1583).then(i.bind(i,19226)).then(t=>{this._setPaneViews([new t.PriceNotePaneView(this,e)])})}pointsCount(){return 2}name(){return"Price Note"}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}startMoving(e,t,i){if(1===t){if(this.isSourceHidden())return;const i=(0,s.ensureDefined)(e.logical),r=this.points()[1];this._labelMovingDelta={index:r.index-i.index,price:r.price-i.price},this.startChanging(t,i)}else this._labelMovingDelta=null,super.startMoving(e,t,i)}move(e,t,i){if(null!==this._labelMovingDelta){const t=(0,s.ensureDefined)(e.logical),r={index:t.index+this._labelMovingDelta.index,price:t.price+this._labelMovingDelta.price};this.setPoint(1,r,i),this.updateAllViews((0,l.dataSourceChangeEvent)(this.id()))}else super.move(e,t,i)}endMoving(e,t,i){return null!==this._labelMovingDelta?(this._labelMovingDelta=null,this.endChanging(!1,e)):super.endMoving(e,t,i)}static createProperties(e){const t=new r.DefaultProperty("linetoolpricenote",e);return c._configureProperties(t),t}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,90727)).then(e=>e.PriceNoteDefinitionsViewModel)}_snapTo45DegreesAvailable(){return!0}static _configureProperties(e){a.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(o())("")),e.addExclusion("text"),e.hasChild("backgroundsColors")&&e.removeProperty("backgroundsColors"),e.hasChild("textsColors")&&e.removeProperty("textsColors")}}},66602:(e,t,i)=>{"use strict";i.d(t,{LineToolPriceRange:()=>p});var s=i(89857),r=i(88537),n=i(24633),o=i(45383),a=i(85402);const l={...a.nonThemedFactoryDefaultsBase,extendLeft:!1,extendRight:!1},c=a.themedFactoryDefaultsBase,h=(0,o.extractAllPropertiesKeys)((0,r.ensureDefined)(c.get(n.StdTheme.Light))),d=(0,o.extractAllPropertiesKeys)(l);class u extends o.ThemedDefaultProperty{static create(e){return new u("linetoolpricerange",()=>(0,o.factoryDefaultsForCurrentTheme)(l,c),d,h,e)}}class p extends s.LineDataSource{constructor(e,t,s,r){super(e,t||p.createProperties(),s,r),i.e(1583).then(i.bind(i,25965)).then(e=>{this._setPaneViews([new e.PriceRangePaneView(this,this._model)])})}pointsCount(){return 2}name(){return"Price Range"}static createProperties(e){const t=u.create(e);return p._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,80447))).GeneralDatePriceRangeDefinitionsViewModel}static _configureProperties(e){s.LineDataSource._configureProperties(e)}}},35344:(e,t,i)=>{ -"use strict";var s=i(34580).LevelsProperty,r=i(53804).LineToolFibWedgeBase,n=i(37865).LineToolColorsProperty;class o extends r{constructor(e,t,s,r){super(e,t||o.createProperties(),s,r),i.e(1583).then(i.t.bind(i,76207,19)).then(({ProjectionLinePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return 1}name(){return"Projection"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,12590))).ProjectionDefinitionsViewModel}static createProperties(e){var t=new s("linetoolprojection",e,!1,{range:[1,1]});return o._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.addChild("linesColors",new n([e.trendline.color]))}}t.LineToolProjection=o},31702:(e,t,i)=>{"use strict";var s=i(57649).LineToolTrendLine,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Ray"}static createProperties(e){var t=new r("linetoolray",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolRay=n},20258:(e,t,i)=>{"use strict";i.d(t,{LineToolRectangle:()=>h});var s=i(86441),r=i(88564),n=i(2015),o=i.n(n),a=i(89857),l=i(37865),c=i(88537);class h extends a.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,79090)).then(({RectanglePaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}pointsCount(){return 2}textColorsProperty(){return this.properties().childs().showLabel.value()?super.textColorsProperty():null}name(){return"Rectangle"}setPoint(e,t,i){if(e<2&&super.setPoint(e,t,i),i&&i.shift()){const i=this._getAnchorPointForIndex(e);if(e>=4)return this._correctMiddlePoints(e,t,i),void this.normalizePoints();this._snapPoint45Degree(t,i)}switch(e){case 2:this._points[1].price=t.price,this._points[0].index=t.index;break;case 3:this._points[0].price=t.price,this._points[1].index=t.index;break;case 4:this._points[0].index=t.index;break;case 5:this._points[1].index=t.index;break;case 6:this._points[0].price=t.price;break;case 7:this._points[1].price=t.price}this.normalizePoints()}getPoint(e){return e<2?super.getPoint(e):this._getAnchorPointForIndex(e)}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}static createProperties(e){const t=new r.DefaultProperty("linetoolrectangle",e);return h._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,39457)).then(e=>e.RectangleDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_snapPoint45Degree(e,t,i){const s=this.m_priceScale,r=this.ownerSource();if(null===s||null===r)return;const n=r.firstValue();if(null===n)return;const o=this._model.timeScale(),a=(0,c.ensureNotNull)(this.pointToScreenPoint(e)),l=(0, -c.ensureNotNull)(this.pointToScreenPoint(t)),h=a.x-l.x,d=a.y-l.y,u=h<0?-1:1,p=d<0?-1:1,_=Math.max(Math.abs(h),Math.abs(d)),m=Math.round(o.coordinateToIndex(l.x+_*u)),g=Math.abs(o.indexToCoordinate(m)-l.x),f=s.coordinateToPrice(l.y+g*p,n);e.index=m,e.price=f}_correctMiddlePoints(e,t,i){e<6?this._correctRightLeftMiddlePoint(e,t,i):this._correctTopBottomMiddlePoint(e,t,i)}_correctRightLeftMiddlePoint(e,t,i){const r=(0,c.ensureNotNull)(this.pointToScreenPoint(t)),n=(0,c.ensureNotNull)(this.pointToScreenPoint(i)),o=(0,c.ensureNotNull)(this.pointToScreenPoint(this._points[0])),a=(0,c.ensureNotNull)(this.pointToScreenPoint(this._points[1]));let l=r.x-n.x;if(0===l)return;const h=o.x{"use strict";i.d(t,{LineToolRiskRewardBase:()=>v});var s=i(88537),r=i(95505),n=i(71053),o=i(69927),a=i(89857),l=i(10324),c=i(41628),h=i(97938);class d extends h.PriceAxisView{constructor(e,t){super(),this._source=e,this._data=t}_updateRendererData(e,t,i){if(e.visible=!1,!this._showAxisLabel())return;const s=this._source.priceScale();if(0===this._source.points().length||null===s||s.isEmpty())return;const r=this._source.ownerSource(),n=null!==r?r.firstValue():null;if(null===n)return;const o=this._data.priceProperty.value(),a=this._data.colorProperty.value();i.background=a,i.textColor=this.generateTextColor(a),i.coordinate=s.priceToCoordinate(o,n),e.text=s.formatPrice(o,n),e.visible=!0}_showAxisLabel(){return this._source.properties().childs().showPriceLabels.value()}}var u=i(2015),p=i.n(u);class _ extends(p()){constructor(e,t){super(),this._lineSource=e,this._pointIndex=t}value(){const e=this._lineSource.points()[this._pointIndex].price;return this._formatAndParsePrice(e)}state(){return this.value()}merge(e,t){return this.setValue(e),t?[]:null}_formatAndParsePrice(e){const t=(0,s.ensureNotNull)(this._lineSource.ownerSource()).formatter();if(t.parse){const i=t.format(e),s=t.parse(i);return s.res?s.value:e}return e}}class m extends _{constructor(e){super(e,0)}setValue(e){const t=this._lineSource.points()[this._pointIndex];this._lineSource.startChanging(this._pointIndex,t),t.price=parseFloat(""+e),this._lineSource.setPoint(this._pointIndex,t),this._lineSource.recalculate(),this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this),this._lineSource.endChanging(!1,!1),this._lineSource.syncPriceLevels()}}class g extends _{constructor(e){super(e,1)}value(){const e=this._lineSource.stopPrice();return this._formatAndParsePrice(e)}setValue(e){const t=Math.round(Math.abs(e-this._lineSource.entryPrice())*this._lineSource.model().mainSeries().base());this._lineSource.properties().childs().stopLevel.setValue(t),this._lineSource.syncPriceLevels()}}class f extends _{constructor(e){super(e,2)}value(){const e=this._lineSource.profitPrice();return this._formatAndParsePrice(e)}setValue(e){const t=Math.round(Math.abs(e-this._lineSource.entryPrice())*this._lineSource.model().mainSeries().base());this._lineSource.properties().childs().profitLevel.setValue(t),this._lineSource.syncPriceLevels()}}class v extends a.LineDataSource{constructor(e,t,n,a){if(super(e,t,n,a),this._syncStateExclusions=["points","entryPrice","stopPrice","targetPrice","stopLevel","profitLevel","riskSize","qty","amountTarget","amountStop"],!t.hasChild("stopLevel")&&!t.hasChild("profitLevel")){const i=(0,s.ensureNotNull)(e.timeScale().visibleBarsStrictRange()),r=i.firstBar(),n=i.lastBar();let a=(0, -s.ensureNotNull)(e.mainSeries().priceRange(r,n));const l=e.mainSeries().priceScale();if(l.isLog()){const e=l.logicalToPrice(a.minValue()),t=l.logicalToPrice(a.maxValue());a=new o.PriceRange(e,t)}if(a&&!a.isEmpty()){const i=Math.round(.2*a.length()*e.mainSeries().base());t.merge({stopLevel:i,profitLevel:i})}}t.childs().stopLevel.listeners().subscribe(this,this.recalculate),t.childs().stopLevel.listeners().subscribe(null,()=>{this.properties().childs().stopPrice.childChanged(null)}),t.childs().profitLevel.listeners().subscribe(this,this.recalculate),t.childs().profitLevel.listeners().subscribe(null,()=>{this.properties().childs().targetPrice.childChanged(null)}),t.addChild("entryPrice",new m(this)),t.addChild("stopPrice",new g(this)),t.addChild("targetPrice",new f(this)),t.hasChild("riskSize")||t.addProperty("riskSize",0),t.hasChild("qty")||t.addProperty("qty",0),t.hasChild("amountTarget")||t.addProperty("amountTarget",t.childs().accountSize.value()),t.hasChild("amountStop")||t.addProperty("amountStop",t.childs().accountSize.value()),t.addExclusion("riskSize"),t.addExclusion("qty"),t.addExclusion("amountTarget"),t.addExclusion("amountStop"),this._riskInPercentsFormatter=new r.NumericFormatter(2),this._riskInMoneyFormatter=new r.NumericFormatter,t.childs().risk.subscribe(this,this._recalculateRiskSize),t.childs().accountSize.subscribe(this,this._recalculateRiskSize),t.childs().riskDisplayMode.subscribe(this,this._recalculateRisk),t.childs().riskDisplayMode.subscribe(this,this._recalculateRiskSize),t.childs().entryPrice.subscribe(this,this._recalculateRiskSize),t.childs().stopPrice.subscribe(this,this._recalculateRiskSize),t.childs().profitLevel.subscribe(this,this._recalculateRiskSize),t.childs().profitLevel.subscribe(this,this.syncPriceLevels.bind(this)),t.childs().stopLevel.subscribe(this,this._recalculateRiskSize),t.childs().stopLevel.subscribe(this,this.syncPriceLevels.bind(this)),t.childs().qty.subscribe(this,this._recalculateRiskSize),e.mainSeries().dataEvents().dataUpdated().subscribe(this,this._onSeriesUpdated),this.pointAdded().subscribe(this,e=>{switch(e){case c.RiskRewardPointIndex.Entry:case c.RiskRewardPointIndex.Close:this._recalculateRiskSize(),this._recalculateQty()}}),this.pointChanged().subscribe(this,e=>{switch(e){case c.RiskRewardPointIndex.Entry:case c.RiskRewardPointIndex.Close:this._recalculateRiskSize(),this._recalculateQty()}}),t.childs().riskDisplayMode.value()===l.RiskDisplayMode.Percentage&&t.childs().risk.value()>100&&t.childs().riskDisplayMode.setValueSilently(l.RiskDisplayMode.Money),this.version=2,this._entryPriceAxisView=new d(this,{colorProperty:t.childs().linecolor,priceProperty:t.childs().entryPrice}),this._stopPriceAxisView=new d(this,{colorProperty:t.childs().stopBackground,priceProperty:t.childs().stopPrice}),this._profitPriceAxisView=new d(this,{colorProperty:t.childs().profitBackground,priceProperty:t.childs().targetPrice}),i.e(1583).then(i.bind(i,35362)).then(({RiskRewardPaneView:t})=>{const i=[new t(this,e)];this._setPaneViews(i)})}destroy(){ -this._model.mainSeries().dataEvents().dataUpdated().unsubscribeAll(this),super.destroy()}checkAlert(){this.recalculate()}calculatePL(e){return this.entryPrice()-e}lastBarData(){const e=this._model.mainSeries().bars().firstIndex(),t=this._model.mainSeries().bars().lastIndex();if(null===e||null===t||isNaN(e)||isNaN(t))return null;const i=this.points();if(4===i.length){const s=i[c.RiskRewardPointIndex.ActualClose];return s.indexMath.max(this._points[0].index,this._points[1].index)||this.checkAlert()}}},10324:(e,t,i)=>{"use strict";var s;i.d(t,{RiskDisplayMode:()=>s}),function(e){e.Percentage="percents",e.Money="money"}(s||(s={}))},41628:(e,t,i)=>{"use strict";var s;i.d(t,{RiskRewardPointIndex:()=>s}),function(e){e[e.Entry=0]="Entry",e[e.Close=1]="Close",e[e.ActualEntry=2]="ActualEntry",e[e.ActualClose=3]="ActualClose"}(s||(s={}))},34291:(e,t,i)=>{"use strict";var s=i(88537).ensureNotNull,r=i(89857).LineDataSource,n=i(85733),o=i(88564).DefaultProperty,a=i(41628).RiskRewardPointIndex,l=i(10324).RiskDisplayMode,c=i(79029).LineToolRiskRewardBase,h=i(80643).isNumber;class d extends c{riskFormatter(e){return e===l.Percentage?this._riskInPercentsFormatter:this._riskInMoneyFormatter}getRiskStep(e){return e===l.Percentage?.01:1}_roundValue(e){return parseFloat(e.toFixed(2))}hasEditableCoordinates(){return!1}_recalculateRisk(){var e=this.properties(),t=e.riskDisplayMode.value(),i=e.riskSize.value(),s=e.accountSize.value(),r=e.risk.value();r=t===l.Percentage?this._roundValue(i/s*100):this._roundValue(s/100*r),this._riskInChange=!0,e.risk.setValue(this.riskFormatter(t).format(r)),this._riskInChange=!1}_recalculateRiskSize(){if(!this._riskInChange){var e=this.properties(),t=e.risk.value(),i=e.riskDisplayMode.value(),s=e.accountSize.value();i===l.Percentage?e.riskSize.setValue(t/100*s):t>s?(e.risk.setValue(s),e.riskSize.setValue(s)):e.riskSize.setValue(t)}}migrateVersion(e,t,i){if(1===e&&this._points.length>=1){var s=[];if(s.push(this._points[0]),n={price:(n=this._points[0]).price,index:this._getClosePointIndex(n.index)},s.push(n),this._points[1]&&s.push(this._points[1]),this._points[2]&&s.push(this._points[2]),this._points=s,this._timePoint.length>=1){var r=[],n=this._timePoint[0];r.push(n);var o={price:n.price,time_t:n.time_t,offset:this._getClosePointIndex(n.offset)};r.push(o),this._timePoint[1]&&s.push(this._points[1]),this._timePoint[2]&&s.push(this._points[2]),this._timePoint=r}}}priceAxisViews(e,t){return this.isSourceHidden()||t!==this.priceScale()||this._model.paneForSource(this)!==e?null:[this._entryPriceAxisView,this._stopPriceAxisView,this._profitPriceAxisView]}updateAllViews(){ -this.isActualSymbol()&&this._properties.visible.value()&&(n.hideAllDrawings().value()&&this.userEditEnabled()||(super.updateAllViews(),this._entryPriceAxisView.update(),this._stopPriceAxisView.update(),this._profitPriceAxisView.update()))}restoreExternalState(e){if(h(e.entryPrice)){if(e=Object.assign({},e),!this.isActualSymbol())this._timePoint[0].price=e.entryPrice,delete e.entryPrice;this.properties().merge(e)}else super.restoreExternalState(e)}_changeEntryPoint(e){var t=this.properties().stopPrice.value(),i=this.properties().targetPrice.value(),s=1/this._model.mainSeries().base(),r=Math.min(t,i)+s,n=Math.max(t,i)-s;e.price=Math.max(r,Math.min(n,this._roundPrice(e.price))),super.setPoint(0,e),this.properties().stopPrice.setValue(t),this.properties().targetPrice.setValue(i)}setPoint(e,t,i){if(this.isActualSymbol()){switch(this._muteSyncLineStyle(),e){case 0:this._changeEntryPoint(t);break;case 2:this.properties().stopPrice.setValue(this.preparseStopPrice(t.price));break;case 3:this.properties().targetPrice.setValue(this.preparseProfitPrice(t.price));break;case 1:t.price=this._roundPrice(t.price),super.setPoint(1,t),this.recalculate()}this._unmuteSyncLineStyleWithoutApplyingChanges(),this.syncPriceLevels()}}getPoint(e){switch(e){case 0:return this._points[0];case 1:return{index:this._points[1].index,price:this._points[0].price};case 2:return{index:this._points[0].index,price:this.stopPrice()};case 3:return{index:this._points[0].index,price:this.profitPrice()}}return null}setPoints(e){this._muteSyncLineStyle(),super.setPoints(e),this.recalculate(),this._unmuteSyncLineStyleWithoutApplyingChanges(),this.syncPriceLevels()}syncPriceLevels(){if(this.linkKey().value()){var e=this.properties(),t={entryPrice:e.entryPrice.value(),stopLevel:e.stopLevel.value(),profitLevel:e.profitLevel.value()};n.changeLineStyle({linkKey:this.linkKey().value(),state:t,model:this._model})}}pointsCount(){return 1}name(){return"Risk/Reward"}addPoint(e){e.price=this._roundPrice(e.price),super.addPoint(e,null,!0);var t={price:e.price,index:this._getClosePointIndex(e.index)};super._addPointIntenal(t,null,!0);var i=this.calculateActualEntry(e,t);i&&(super._addPointIntenal(i,null,!0),(t=this.findClosePoint(i,t))&&super._addPointIntenal(t,null,!0));return this._lastPoint=null,this.normalizePoints(),this.createServerPoints(),!0}setOwnerSource(e){super.setOwnerSource(e),this._model.mainSeries().symbolInfo()&&(this._recalculateAmount(),this._recalculateRiskSize(),this._recalculateQty())}_roundPrice(e){var t=this._model.mainSeries().base();return Math.round(e*t)/t}recalculate(){if(0!==this.points().length){var e=this.properties().targetPrice.value(),t=this.properties().stopPrice.value(),i=[this._points[0],this._points[1]],s=this.calculateActualEntry(this.points()[0],this.points()[1]);if(s){i.push(s);var r=this.findClosePoint(s,this.points()[1]);r&&i.push(r)}this._points=i,e!==this.properties().targetPrice.value()&&this.properties().targetPrice._listeners.fire(this.properties().targetPrice), -t!==this.properties().stopPrice.value()&&this.properties().stopPrice._listeners.fire(this.properties().stopPrice)}}start(){super.start(),this.recalculate()}startMoving(e,t,i){e.logical.price=this._roundPrice(e.logical.price),super.startMoving(e,t,i)}move(e,t,i){e.logical.price=this._roundPrice(e.logical.price),super.move(e,t,i),this.recalculate(),this._entryPriceAxisView.update()}_correctPoints(e,t){return!!this.isActualSymbol()&&r.prototype._correctPoints.call(this,[e[0],e[1]],t)}entryPrice(){return this.points()[0].price}findClosePoint(e,t){for(var i=this._model.mainSeries().bars(),r=s(i.firstIndex()),n=Math.max(e.index,r),o=s(i.lastIndex()),a=Math.min(o,t.index),l=n;l<=a;l++){var c=i.valueAt(l);if(null!==c){var h=this.checkStopPrice(c);if(null!=h)return{index:l,price:h}}}return null}calculateActualEntry(e,t){var i=this._model.mainSeries().bars();if(i.isEmpty())return null;for(var r=s(i.firstIndex()),n=Math.max(e.index,r),o=e.price,a=s(i.lastIndex()),l=Math.min(a,t.index),c=n;c<=l;c++){var h=i.valueAt(c);if(null!==h&&h[TradingView.HIGH_PLOT]>=o&&h[TradingView.LOW_PLOT]<=o)return{index:c,price:o}}return null}axisPoints(){if(!this._points[a.ActualEntry])return[];var e=this._points[a.ActualEntry],t=null;if(4===this._points.length)t=this._points[a.ActualClose];else{var i=this.lastBarData();if(!i)return[];t={index:i.index,price:i.closePrice}}return[e,t]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,18736))).RiskRewardDefinitionsViewModel}template(){var e=this.properties(),t=r.prototype.template.call(this);return t.stopLevel=e.stopLevel.value(),t.profitLevel=e.profitLevel.value(),t}_applyTemplateImpl(e){delete e.targetPrice,delete e.stopPrice,delete e.entryPrice,super._applyTemplateImpl(e);var t=this.properties();void 0!==e.stopLevel&&t.stopLevel.setValue(e.stopLevel),void 0!==e.profitLevel&&t.profitLevel.setValue(e.profitLevel)}getOrderTemplate(){return null}_propertiesStateExclusions(){return["entryPrice","stopPrice","targetPrice"]}static _configureProperties(e){r._configureProperties(e),e.addExclusion("stopLevel"),e.addExclusion("profitLevel"),e.addExclusion("stopPrice"),e.addExclusion("targetPrice"),e.addExclusion("entryPrice")}_getClosePointIndex(e){var t=this._model.timeScale(),i=Math.round(t.width()/t.barSpacing());return e+Math.max(3,Math.round(.15*i))}}d.version=2;class u extends d{constructor(e,t,i,s){super(e,t||u.createProperties(),i,s);var r=this.properties();r.entryPrice.subscribe(this,this._recalculateQty),r.stopPrice.subscribe(this,this._recalculateQty),r.riskSize.subscribe(this,this._recalculateQty),r.entryPrice.subscribe(this,this._recalculateAmount),r.profitLevel.subscribe(this,this._recalculateAmount),r.stopLevel.subscribe(this,this._recalculateAmount),r.accountSize.subscribe(this,this._recalculateAmount),r.riskSize.subscribe(this,this._recalculateAmount),r.qty.subscribe(this,this._recalculateAmount)}_recalculateQty(){if(0!==this.points().length){ -var e=this.properties(),t=e.entryPrice.value(),i=e.stopPrice.value(),s=e.riskSize.value(),r=this._model.mainSeries().pointValue(),n=s/(Math.abs(i-t)*r);e.qty.setValue(n)}}_recalculateAmount(){if(0!==this.points().length){var e=this.properties(),t=e.accountSize.value(),i=e.entryPrice.value(),s=e.qty.value(),r=e.stopPrice.value(),n=e.targetPrice.value(),o=this._model.mainSeries().pointValue(),a=this._roundValue(t+(i-n)*s*o),l=this._roundValue(t-(r-i)*s*o);e.amountTarget.setValue(a),e.amountStop.setValue(l)}}name(){return"Risk/Reward short"}stopPrice(){return this.entryPrice()+this.properties().stopLevel.value()/this._model.mainSeries().base()}profitPrice(){return this.entryPrice()-this.properties().profitLevel.value()/this._model.mainSeries().base()}preparseStopPrice(e){e=this._roundPrice(e);var t=this.entryPrice()+1/this._model.mainSeries().base();return Math.max(e,t)}preparseProfitPrice(e){e=this._roundPrice(e);var t=this.entryPrice()-1/this._model.mainSeries().base();return Math.min(e,t)}checkStopPrice(e){var t=this.stopPrice(),i=this.profitPrice();return e[TradingView.HIGH_PLOT]>=t?this.stopPrice():e[TradingView.LOW_PLOT]<=i?this.profitPrice():null}_orderSide(){throw new Error("not supported")}static createProperties(e){var t=new o("linetoolriskrewardshort",e);return u._configureProperties(t),t}static _configureProperties(e){d._configureProperties(e)}}class p extends d{constructor(e,t,i,s){super(e,t||p.createProperties(),i,s);var r=this.properties();r.entryPrice.subscribe(this,this._recalculateQty),r.stopPrice.subscribe(this,this._recalculateQty),r.riskSize.subscribe(this,this._recalculateQty),r.entryPrice.subscribe(this,this._recalculateAmount),r.profitLevel.subscribe(this,this._recalculateAmount),r.stopLevel.subscribe(this,this._recalculateAmount),r.accountSize.subscribe(this,this._recalculateAmount),r.riskSize.subscribe(this,this._recalculateAmount),r.qty.subscribe(this,this._recalculateAmount)}_recalculateQty(){if(0!==this.points().length){var e=this.properties(),t=e.entryPrice.value(),i=e.stopPrice.value(),s=e.riskSize.value(),r=this._model.mainSeries().pointValue(),n=s/(Math.abs(t-i)*r);e.qty.setValue(n)}}_recalculateAmount(){if(0!==this.points().length){var e=this.properties(),t=e.accountSize.value(),i=e.entryPrice.value(),s=e.qty.value(),r=e.stopPrice.value(),n=e.targetPrice.value(),o=this._model.mainSeries().pointValue(),a=this._roundValue(t+(n-i)*s*o),l=this._roundValue(t-(i-r)*s*o);e.amountTarget.setValue(a),e.amountStop.setValue(l)}}stopPrice(){return this.entryPrice()-this.properties().stopLevel.value()/this._model.mainSeries().base()}profitPrice(){return this.entryPrice()+this.properties().profitLevel.value()/this._model.mainSeries().base()}calculatePL(e){return e-this.entryPrice()}preparseStopPrice(e){e=this._roundPrice(e);var t=this.entryPrice()-1/this._model.mainSeries().base();return Math.min(e,t)}preparseProfitPrice(e){e=this._roundPrice(e);var t=this.entryPrice()+1/this._model.mainSeries().base();return Math.max(e,t)}checkStopPrice(e){var t=this.stopPrice(),i=this.profitPrice() -;return e[TradingView.LOW_PLOT]<=t?this.stopPrice():e[TradingView.HIGH_PLOT]>=i?this.profitPrice():null}name(){return"Risk/Reward long"}_orderSide(){throw new Error("not supported")}static createProperties(e){var t=new o("linetoolriskrewardlong",e);return p._configureProperties(t),t}static _configureProperties(e){d._configureProperties(e)}}t.LineToolRiskRewardLong=p,t.LineToolRiskRewardShort=u},61272:(e,t,i)=>{"use strict";var s=i(86441).Point,r=i(4652).distanceToLine,n=i(89857).LineDataSource,o=i(88564).DefaultProperty,a=i(37865).LineToolColorsProperty;class l extends n{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),i.e(1583).then(i.t.bind(i,33261,19)).then(({RotatedRectanglePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}startChanging(e,t){if(super.startChanging(e,t),0===e||1===e){var i=this._getPaneViews()[0],s=i._points[0],n=i._points[1],o=i._points[2];this._distance=r(s,n,o).distance}}setPoint(e,t,i){if(super.setPoint(e,t,i),0===e||1===e){var r=this._getPaneViews()[0];r.update();var n=r._points[0],o=r._points[1].subtract(n),a=new s(o.y,-o.x).normalized().scaled(this._distance),l=n.add(a),c=this.screenPointToPoint(l);this._points[2]=c}}endChanging(e,t){delete this._distance,super.endChanging(e,t)}pointsCount(){return 3}name(){return"Rotated Rectangle"}hasEditableCoordinates(){return!1}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,24965))).GeneralFiguresDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static createProperties(e){var t=new o("linetoolrotatedrectangle",e);return l._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e),e.addChild("linesColors",new a([e.color]))}}t.LineToolRotatedRectangle=l},98390:(e,t,i)=>{"use strict";var s=i(34580).LevelsProperty,r=i(40100).LineToolPitchfork;class n extends r{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Modified Schiff Pitchfork"}static createProperties(e){var t=new s("linetoolschiffpitchfork",e,!1,{range:[0,8]});return n._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e)}}t.LineToolSchiffPitchfork=n},98225:(e,t,i)=>{"use strict";var s=i(34580).LevelsProperty,r=i(40100).LineToolPitchfork;class n extends r{constructor(e,t,i,s){super(e,t||n.createProperties(),i,s)}name(){return"Schiff Pitchfork"}static createProperties(e){var t=new s("linetoolschiffpitchfork2",e,!1,{range:[0,8]});return n._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e)}}t.LineToolSchiffPitchfork2=n},52827:(e,t,i)=>{"use strict";i.d(t,{LineToolSignpost:()=>f});var s=i(28353),r=i(88564),n=i(89857),o=i(2015),a=i.n(o);class l extends(a()){constructor(e){super(),this._source=e,e.pointAdded().subscribe(this,()=>this.listeners().fire(this)),e.pointChanged().subscribe(this,()=>this.listeners().fire(this))}value(){const e=this._source.properties().childs().position.value();return parseFloat(e.toFixed(2))}setValue(e){this._source.properties().childs().position.setValue(e), -this._source.model().updateSource(this._source),this.listeners().fire(this),this._source.syncMultichartState({pricesChanged:!1,indexesChanged:!1})}}var c=i(38015);class h extends c.LineDataSourcePointIndexProperty{constructor(e,t){super(e,t),this._source=e}_setPointImpl(e){this._source.setPointAndChangeIndex(this._pointIndex,e)}}var d=i(37865),u=i(88537),p=i(70581),_=i(85733);class m extends n.LineDataSource{constructor(){super(...arguments),this._startMovingAnchorY=NaN}priceSource(){return this.ownerSource()}addPoint(e,t,i){return super.addPoint(this._updatePositionAndCorrectPoint(e),t,i)}setPoint(e,t,i){super.setPoint(e,this._updatePositionAndCorrectPoint(t,!this.isPhantom()&&!this._allowChangeAnchorHorizontally()),i),this._syncPosition()}setPointAndChangeIndex(e,t,i){super.setPoint(e,this._updatePositionAndCorrectPoint(t,!1),i),this._syncPosition()}startMoving(e,t,i,s){s||(this._startMovingAnchorY=(0,u.ensureNotNull)(this._anchorYCoordinate())),super.startMoving(e,t,i)}move(e,t,i,s){var r;const n=(0,u.ensureDefined)((0,u.ensureNotNull)(this.startMovingPoint()).logical),o=(0,u.ensureDefined)(e.logical);if(!s&&0===t){const e=this._points[0],t=o.index-n.index,i=(0,u.ensureNotNull)(this.priceScale()),s=(0,u.ensure)(null===(r=this.ownerSource())||void 0===r?void 0:r.firstValue()),a=i.priceToCoordinate(o.price,s)-i.priceToCoordinate(n.price,s),l=this._startMovingAnchorY+a,c=i.coordinateToPrice(l,s);this._updatePositionAndCorrectPoint({index:e.index+t,price:c})}super.move(e,t,i),s||this._syncPosition()}_allowChangeAnchorHorizontally(){return!1}_updatePositionAndCorrectPoint(e,t){t&&(e.index=this._points[0].index);const i=this.priceSource();if(null===i)return e;const s=i.priceScale(),r=i.firstValue();if(null===s||s.isEmpty()||null===r)return e;const n=s.height();let o=n/2,a=e.price>=s.coordinateToPrice(o,r)?1:-1;const l=this._model.mainSeries();if(i===l){const t=l.data().search(this._baseSeriesIndexForPoint(e));if(null!==t){const i=(0,p.seriesPrice)(l,t,-1),n=(0,p.seriesPrice)(l,t,1);a=e.price>=i?1:-1,o=s.priceToCoordinate(1===a?n:i,r),e.price=1===a?Math.max(n,e.price):e.price}}const c=1===(-1===a!==s.isInverted()?-1:1)?o:n-o,h=s.priceToCoordinate(e.price,r),d=Math.min(n,Math.abs(h-o)),u=Math.max(0,Math.min(100,100*d/c))*a;return this.properties().childs().position.setValue(u),e}_baseSeriesIndexForPoint(e){return e.index}_syncPosition(){const e=this.linkKey().value();if(null!==e){const t={position:this.properties().childs().position.value()};(0,_.changeLineStyle)({linkKey:e,state:t,model:this._model})}}_anchorYCoordinate(){const e=this.priceSource();if(null===e)return null;const t=e.priceScale(),i=e.firstValue();if(null===t||t.isEmpty()||null===i)return null;const s=this._model.mainSeries(),r=this.customEvent();if(null===r)return null;let n=null;if(e===s&&(n=(0,p.seriesBasePosition)(s,r)),null===n&&(n=(0,p.noDataBasePosition)(r,t,i)),null===n)return null;const o=r.position(),a=t.priceToCoordinate(n.price,i);return(0,p.positionToCoordinate)(o,t.height(),a,(0,p.positionVisualDirection)(o,t.isInverted()))}}var g=i(72077) -;class f extends m{constructor(e,t,s,r){super(e,null!=t?t:f.createProperties(),s,r),this._image=null,this._currentImageURL=null,this._imageReady=!1,this._updateImage(),this.properties().childs().emoji.subscribe(this,()=>this._updateImage()),i.e(1583).then(i.bind(i,74328)).then(t=>{this._setPaneViews([new t.SignpostPaneView(this,e)])})}pointsCount(){return 1}name(){return"Signpost"}customEvent(){return{index:()=>{var e,t;return null!==(t=null===(e=this.points()[0])||void 0===e?void 0:e.index)&&void 0!==t?t:null},position:()=>this.properties().childs().position.value()}}image(){return this._imageReady&&this.properties().childs().showImage.value()?this._image:null}showInObjectTree(){return!this.isPhantom()&&super.showInObjectTree()}isPhantom(){return this._model.isPhantomLine(this)}clonePositionOffset(){return{barOffset:1,xCoordOffset:0,yCoordOffset:0}}template(){const e=super.template(),t=this.properties().childs();return e.text=t.text.value(),e.position=t.position.value(),e}static createProperties(e){const t=new r.DefaultProperty("linetoolsignpost",e);return f._configureProperties(t),t.hasChild("text")||t.addChild("text",new(a())((0,s.t)("Text"))),t.hasChild("position")||t.addChild("position",new(a())(50)),t.addExclusion("text"),t.addExclusion("position"),t.addChild("backgroundsColors",new d.LineToolColorsProperty([t.childs().plateColor])),t}_createPointProperty(e){super._createPointProperty(e);const t=this._pointsProperty.childs().points[e];t.removeProperty("price"),t.removeProperty("bar"),t.addChild("price",new l(this)),t.addChild("bar",new h(this,0))}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text),this.properties().childs().position.setValue(e.position)}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,30882)).then(e=>e.SignpostDefinitionsViewModel)}static _configureProperties(e){n.LineDataSource._configureProperties(e)}_updateImage(){const e=this._imageURL();if(this._currentImageURL!==e&&(this._currentImageURL=e,this._image=null,this._imageReady=!1,null!==this._currentImageURL)){const e=new Image;this._image=e,e.onload=()=>{this._imageReady=!0,this._model.updateSource(this),e.onload=null},e.crossOrigin="anonymous",e.src=this._currentImageURL}}_imageURL(){const e=this.properties().childs().emoji.value();return(0,g.getTwemojiUrl)(e,"png")||null}}f.supportPhantomMode=!0},15718:(e,t,i)=>{"use strict";i.d(t,{LineToolSineLine:()=>n});var s=i(88564),r=i(89857);class n extends r.LineDataSource{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),i.e(1583).then(i.bind(i,85)).then(e=>{this._setPaneViews([new e.SineLinePaneView(this,this._model)])})}pointsCount(){return 2}name(){return"Sine Line"}static createProperties(e){const t=new s.DefaultProperty("linetoolsineline",e);return n._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,66819))).CyclicAndSineLinesPatternDefinitionsViewModel}static _configureProperties(e){ -r.LineDataSource._configureProperties(e)}}},51934:(e,t,i)=>{"use strict";i.d(t,{StudyLineDataSource:()=>v});var s=i(88537),r=i(80643),n=i(71053),o=i(89857),a=i(88564),l=i(67072),c=i.n(l),h=i(54376),d=i(33266),u=i(27982),p=i(8671),_=i(66101),m=i(10480),g=i(65862),f=i(33291);class v extends o.LineDataSource{constructor(e,t,s,r,n,o){super(e,r,n,o),this._indexes=null,this._inputs=null,this._definitionsViewModel=null,this._pointsetPoints=null,this._loadedPlots=null,this._loadedGraphics=null,this._beingCreatedPaneView=null,this._anchorsPaneView=null,this._alignerCache=null,Promise.all([i.e(1583).then(i.bind(i,15788)),i.e(1583).then(i.bind(i,77557))]).then(t=>{const{LineToolBeingCreatedPaneView:i}=t[0],{StudyLineDataSourceAnchorsPaneView:s}=t[1];this._beingCreatedPaneView=new i(this,e),this._anchorsPaneView=new s(this,this.model()),this._model.lightUpdate()}),this._metaInfo=t,this._dataSource=new u.StudyDataSource(e.chartApi(),e.mainSeries().seriesSource(),s,t),this._dataSource.dataCleared().subscribe(this,this._onDataCleared),this._dataSource.dataUpdated().subscribe(this,this._onDataUpdated)}destroy(){this._dataSource.dataUpdated().unsubscribe(this,this._onDataUpdated),this._dataSource.dataCleared().unsubscribe(this,this._onDataCleared),this._dataSource.destroy(),null!==this._definitionsViewModel&&(this._definitionsViewModel.destroy(),this._definitionsViewModel=null),this._unsubscribeApplyInputsOnSeriesCompleted(),this._isDestroyed=!0,super.destroy()}stop(){super.stop(),this._isDestroyed||(this._dataSource.stop(),this.clearData())}start(){super.start(),this._isDestroyed||null===this._inputs||this._dataSource.start()}metaInfo(){return this._metaInfo}graphicsInfo(){return this._metaInfo.graphics}series(){return this._model.mainSeries()}translatedType(){return this._metaInfo.description}name(){return this._metaInfo.description}studyId(){return this._metaInfo.id}setPoint(e,t,i){super.setPoint(e,this._preparePoint(t,i))}move(e){}clearData(){this._clearAllDataExceptPointsetPoints(),this._pointsetPoints=null,this.updateAllViews((0,f.dataSourceChangeEvent)(this.id()))}data(){return this.plots()}plots(){return this._loadedPlots||this._dataSource.plots()}graphics(){return this._loadedGraphics||this._dataSource.graphics()}firstValue(){return this._model.mainSeries().firstValue()}state(e){const t=super.state(e);let i;this.metaInfo()instanceof c()?i=this.metaInfo().state():(i=(0,r.clone)(this.metaInfo()),i.id=c().parseIdString(i.id+(i.version?"-"+i.version:"")).fullId);const s={...t,metaInfo:i};return e&&(s.data=this.plots().state(),s.nonseriesindexes=this._indexes,s.graphics=(0,h.saveStudyGraphics)(this.graphics())),s}restoreData(e){var t;void 0!==e.data&&(this._loadedPlots=new n.PlotList((0,p.studyPlotFunctionMap)(this._metaInfo),p.studyEmptyPlotValuePredicate),this._loadedPlots.restoreState(e.data)),this._indexes=null!==(t=e.nonseriesindexes)&&void 0!==t?t:this._indexes,this._loadedGraphics=e.graphics?(0,h.loadStudyGraphics)(e.graphics):this._loadedGraphics}getPropertyDefinitionsViewModel(){ -return null===this._definitionsViewModel?this._getPropertyDefinitionsViewModelClass().then(e=>null===e||this._isDestroyed?null:(null===this._definitionsViewModel&&(this._definitionsViewModel=new e(this._model.undoModel(),this)),this._definitionsViewModel)):Promise.resolve(this._definitionsViewModel)}paneViews(e){let t=[];if(this.isSourceHidden())return t;if(this._isReady()&&this._changeStatesStack.isEmpty()){const i=super.paneViews(e);null!==i&&(t=t.concat(i))}else null!==this._beingCreatedPaneView&&t.push(this._beingCreatedPaneView);return null!==this._anchorsPaneView&&t.push(this._anchorsPaneView),t}propertiesChanged(e){super.propertiesChanged(e),this._onStudyInputsMayChange()}dataAndViewsReady(){return super.dataAndViewsReady()&&this._isReady()}endChanging(e,t){const i=super.endChanging(e,t);return i.indexesChanged?this.clearData():this._updateAnchorsPrice(!0),i}moveData(e){this._dataSource.moveData(e)}restorePoints(e,t,i){super.restorePoints(e,t,i),this._updateAnchorsPrice(!0)}realign(){super.realign(),null===this._model.mainSeries().symbolInfo()&&(this._alignerCache=null)}static createPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0,_.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return v._configureProperties(r),r}_studyId(){return this._dataSource.studyId()}_isReady(){return!0}_updateAllPaneViews(e){var t,i;super._updateAllPaneViews(e),null===(t=this._beingCreatedPaneView)||void 0===t||t.update(),null===(i=this._anchorsPaneView)||void 0===i||i.update(e)}_getPointTime(e,t){const i=e.index,s=this._model.timeScale().indexToTimePoint(i);if(null!==s)return s;if(t||void 0===e.time)return null;const r=this._model.mainSeries().symbolInfo();if(null===r)return null;let n=this._model.properties().childs().timezone.value();"exchange"===n&&(n=r.timezone);const o=(0,m.cal_to_utc)((0,m.get_timezone)(n),e.time);return this._getStartBarAligner()(o)/1e3}_updateAnchorsPrice(e){}_onPointsetUpdated(e){super._onPointsetUpdated(e),this._pointsetPoints=this._points.map(e=>({price:e.price,index:e.index,time:e.time})),this._onStudyInputsMayChange()}_onDataCleared(){this.updateAllViews((0,f.dataSourceChangeEvent)(this.id(),void 0,!0)),this._model.updateSource(this)}_onDataUpdated(e,t,i){var s;this._updateAnchorsPrice(),this.updateAllViews((0,f.dataSourceChangeEvent)(this.id(),null===(s=e[0])||void 0===s?void 0:s.index)),this._model.updateSource(this)}_onStudyInputsMayChange(){let e=null;if(null!==this._pointsetPoints&&this._pointsetPoints.length===this.pointsCount()&&(e=this._studyInputs(this._pointsetPoints),null===e&&(this._clearAllDataExceptPointsetPoints(),this.updateAllViews((0,f.dataSourceChangeEvent)(this.id())))),null!==e){const t=this.metaInfo().inputs.map(e=>e.id),i=Object.keys(e);for(const s of i)t.includes(s)||delete e[s]}this._areInputsEqual(this._inputs,e)||this._applyStudyInputs(e)}_preparePoint(e,t){return super._preparePoint(this._alignPointToRangeOfActualData(e),t)}_getPropertyDefinitionsViewModelClass(){return Promise.resolve(null)}_subscribeApplyInputsOnSeriesCompleted(){ -this._unsubscribeApplyInputsOnSeriesCompleted(),this._model.mainSeries().dataEvents().completed().subscribe(this,()=>this._onStudyInputsMayChange(),!0)}_unsubscribeApplyInputsOnSeriesCompleted(){this._model.mainSeries().dataEvents().completed().unsubscribeAll(this)}_onInputsChanged(){0}static _createPropertiesFromStudyIdAndState(e,t){const i=c().getStudyPropertyRootNameById(e),s=new a.DefaultProperty(i,t);return v._configureProperties(s),s}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.removeExclusion("intervalsVisibilities")}_areInputsEqual(e,t){return null===t?null===e:null!==e&&(0,d.areStudyInputsEqual)(this._metaInfo.inputs,e,t)}_applyStudyInputs(e){const t=this._inputs;this._inputs=e,null!==e&&(this._unsubscribeApplyInputsOnSeriesCompleted(),this._dataSource.setInputs(e),null===t&&this.isStarted()&&!this._dataSource.isStarted()&&this._dataSource.start()),this._onInputsChanged()}_clearAllDataExceptPointsetPoints(){this._inputs=null,this._dataSource.clearData(),this._loadedPlots=null,this._indexes=null,this._loadedGraphics=null}_getStartBarAligner(){const e=this._model.mainSeries().interval();return null!==this._alignerCache&&this._alignerCache.resolution===this._model.mainSeries().interval()||(this._alignerCache={resolution:e,aligner:(0,g.createTimeToBarTimeAligner)(e,(0,s.ensureNotNull)(this._model.mainSeries().symbolInfo()))}),this._alignerCache.aligner}}},74971:(e,t,i)=>{"use strict";i.d(t,{LineToolText:()=>u,LineToolTextAbsolute:()=>p});var s=i(88537),r=i(86441),n=i(28353),o=i(89857),a=i(2015),l=i.n(a),c=i(88564),h=i(37865),d=i(33291);class u extends o.LineDataSource{constructor(e,t,s,r){const n=t||u.createProperties();super(e,n,s,r),this._barSpacing=e.timeScale().barSpacing(),this._recalculatePointsOnCenter=!1,i.e(1583).then(i.bind(i,44074)).then(({TextPaneView:t})=>{const i=this._recalculatePointsOnCenter?(e,t)=>{this._recalculatePointsOnCenter&&this._recalculateCenterPosition(e,t)}:void 0;this._setPaneViews([new t(this,e,void 0,void 0,void 0,void 0,void 0,i)])})}centerPosition(){this._recalculatePointsOnCenter=!0}setPoint(e,t,i){const s=this.properties().childs();let r;if(1===e&&s.wordWrapWidth.value()){const e=this.model().timeScale();r=this.isFixed()?this.fixedPoints()[0].x:e.indexToCoordinate(this.points()[0].index);const i=e.indexToCoordinate(t.index)-r-~~(s.fontsize.value()/6);if(!isFinite(i))return;s.wordWrapWidth.setValue(Math.max(100,i))}}pointsCount(){return 1}name(){return"Text"}setPriceScale(e){super.setPriceScale(e),e&&e.priceRange()&&(this._priceDencity=e.height()/(0,s.ensureNotNull)(e.priceRange()).length(),this._isPriceDencityLog=e.isLog())}restoreSize(){const e=(0,s.ensureNotNull)(this.priceScale());this._barSpacing=this.model().timeScale().barSpacing(),this._priceDencity=e.height()/(0,s.ensureNotNull)(e.priceRange()).length(),this.redraw((0,d.dataSourceChangeEvent)(this.id()))}redraw(e){this.updateAllViews(e),this._model.updateSource(this)}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e}state(e){const t=super.state(e) -;return e&&(t.state.fixedSize=!1),t}barSpacing(){return this._barSpacing}priceDencity(){return this._priceDencity}isPriceDencityLog(){return this._isPriceDencityLog}hasEditableCoordinates(){return!1}static createProperties(e){const t=new c.DefaultProperty("linetooltext",e);return u._configureProperties(t),t}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text)}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,99734)).then(e=>e.TextDefinitionsViewModel)}static _configureProperties(e){o.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(l())((0,n.t)("Text"))),e.addChild("linesColors",new h.LineToolColorsProperty([e.childs().borderColor])),e.addChild("textsColors",new h.LineToolColorsProperty([e.childs().color])),e.addExclusion("text"),e.addExclusion("linesColors"),e.addExclusion("textsColors")}_recalculateCenterPosition(e,t){const i=this.isFixed()?this.fixedPoints()[0]:(0,s.ensureNotNull)(this.pointToScreenPoint(this._points[0])),n=new r.Point(i.x-e/2,i.y-t/2),o=(0,s.ensureNotNull)(this.screenPointToPoint(n));this.setPoints([o]),this.normalizePoints(),this.createServerPoints(),this.redraw((0,d.dataSourceChangeEvent)(this.id()))}}class p extends u{constructor(e,t){super(e,t||p.createProperties())}name(){return"Anchored Text"}hasEditableCoordinates(){return!1}isFixed(){return!0}static createProperties(e){const t=new c.DefaultProperty("linetooltextabsolute",e);return p._configureProperties(t),t}static _configureProperties(e){u._configureProperties(e)}}},6980:(e,t,i)=>{"use strict";i.d(t,{LineToolThreeDrivers:()=>o});var s=i(88564),r=i(89857),n=i(37865);class o extends r.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,88993)).then(t=>{this._setPaneViews([new t.LineToolThreeDrivesPaneView(this,e)])})}pointsCount(){return 7}name(){return"Three Drives Pattern"}static createProperties(e){const t=new s.DefaultProperty("linetoolthreedrivers",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,98890)).then(e=>e.PatternWithoutBackgroundDefinitionsViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new n.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new n.LineToolColorsProperty([e.childs().textcolor])),e.addChild("linesWidths",new n.LineToolWidthsProperty([e.childs().linewidth])),e.hasChild("backgroundsColors")&&e.removeProperty("backgroundsColors")}}},38513:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty;class n extends s{constructor(e,t,s,r){super(e,t||n.createProperties(),s,r),i.e(1583).then(i.t.bind(i,59905,19)).then(({TimeCyclesPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 2}name(){return"Time Cycles"}setPoint(e,t,i){var s=Object.assign({},t),r=this._points[0],n=this._points[1];r.price=s.price, -n.price=s.price,this._points[e]=s,this.normalizePoints()}addPoint(e,t,i){var r=s.prototype.addPoint.call(this,e,t,!0);if(r){var n=this._points[0];this._points[1].price=n.price,i||(this.normalizePoints(),this.createServerPoints())}return r}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,3956))).TimeCyclesPatternDefinitionsViewModel}static createProperties(e){var t=new r("linetooltimecycles",e);return n._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e)}}t.LineToolTimeCycles=n},2587:(e,t,i)=>{"use strict";const s=i(89857).LineDataSource,r=i(20165).alignToStep;class n extends s{constructor(e,t){super(e,t),this.customization.forcePriceAxisLabel=!0,this.customization.disableErasing=!0,this.customization.showInObjectsTree=!1,this.setSelectionEnabled(!1)}isSynchronizable(){return!1}pointsCount(){return n.POINTS_COUNT}hasContextMenu(){return!1}state(){return null}startMoving(){s.prototype.startMoving.apply(this,arguments),this._cursorMoved=!1}endMoving(){s.prototype.endMoving.apply(this,arguments),this._cursorMoved=!1}_correctPoints(e,t){this._currentMovingPoint&&this._startMovingPoint?this._currentMovingPoint.logical.price-this._startMovingPoint.logical.price&&(this._cursorMoved=!0):this._cursorMoved=!1;for(var i=1/this.priceScale().mainSource().base(),s=0;s{"use strict";var s=i(2015),r=i(86441).Point,n=i(89857).LineDataSource,o=i(88564).DefaultProperty;class a extends s{constructor(e){super(),this._lineSource=e}value(){var e=180*this._lineSource._angle/Math.PI;return Math.round(e)}setValue(e){var t=e*Math.PI/180;this._lineSource._angle=t;var i=this._lineSource.pointToScreenPoint(this._lineSource.points()[0]),s=Math.cos(this._lineSource._angle),n=-Math.sin(this._lineSource._angle),o=new r(s,n),a=i.addScaled(o,this._lineSource._distance),l=this._lineSource.screenPointToPoint(a);this._lineSource._points[1]=l,this._lineSource._model.updateSource(this._lineSource),this._lineSource.updateAllViews(),this._lineSource._model.updateSource(this._lineSource)}}class l extends n{constructor(e,t,s,r){super(e,t||l.createProperties(),s,r),this._properties.addChild("angle",new a(this)),i.e(1583).then(i.t.bind(i,74108,19)).then(({TrendAnglePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}isSynchronizable(){return!1}pointsCount(){return 2}name(){return"Trend Angle"}_calculateAngle(){var e=this.pointToScreenPoint(this.points()[0]),t=this.pointToScreenPoint(this.points()[1]),i=t.subtract(e);i.length()>0?(i=i.normalized(), -this._angle=Math.acos(i.x),i.y>0&&(this._angle=-this._angle),this._distance=t.subtract(e).length()):delete this._angle,this.properties().hasOwnProperty("angle")&&this.properties().angle.listeners().fire(this.properties().angle)}addPoint(e,t){var i=n.prototype.addPoint.call(this,e,t);return i&&this._calculateAngle(),i}setLastPoint(e,t){var i=super.setLastPoint(e,t);return this.points().length>1&&this._calculateAngle(),i}axisPoints(){if(this.points().length<2)return[];var e=[this.points()[0]],t=this.pointToScreenPoint(this.points()[0]),i=Math.cos(this._angle)*this._distance,s=-Math.sin(this._angle)*this._distance,n=t.add(new r(i,s)),o=this.screenPointToPoint(n);return e.push(o),e}setPoint(e,t,i){super.setPoint(e,t,i),this.points().length>1&&1===e&&this._calculateAngle()}restoreData(e){this._angle=e.angle,this._distance=e.distance}state(e){var t=n.prototype.state.call(this,e);return t.angle=this._angle,t.distance=this._distance,t}cloneData(e){this._angle=e._angle,this._distance=e._distance}canHasAlert(){return!0}_getAlertPlots(){return[this._linePointsToAlertPlot(this._points,null,this.properties().extendLeft.value(),this.properties().extendRight.value())]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,38909))).TrendAngleDefinitionsViewModel}_snapTo45DegreesAvailable(){return!0}static createProperties(e){var t=new o("linetooltrendangle",e);return l._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e)}}t.LineToolTrendAngle=l},25861:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=d.version,i.e(1583).then(i.t.bind(i,80741,19)).then(({TrendBasedFibExtensionPaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 3}name(){return"Trend-Based Fib Extension"}migrateVersion(e,t,i){1===e&&this.properties().extendLines.setValue(!0)}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}static createProperties(e){var t=new o("linetooltrendbasedfibextension",e,!1,{range:[0,8]});return d._configureProperties(t),t}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,34670))).FibDrawingsWith24LevelsDefinitionsViewModel}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth"),e.child("levelsStyle").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}fibLevelsBasedOnLogScale(){return this.properties().fibLevelsBasedOnLogScale.value()&&this.priceScale().isLog()}}d.version=2,d.LevelsCount=24, -t.LineToolTrendBasedFibExtension=d},6245:(e,t,i)=>{"use strict";var s=i(28353).t,r=i(24980).TranslatedString,n=i(89857).LineDataSource,o=i(34580).LevelsProperty,a=i(37865),l=a.LineToolWidthsProperty,c=a.LineToolColorsProperty,h=new r("erase level line",s("erase level line"));class d extends n{constructor(e,t,s,r){super(e,t||d.createProperties(),s,r),this.version=d.version,i.e(1583).then(i.t.bind(i,78343,19)).then(({TrendBasedFibTimePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}levelsCount(){return d.LevelsCount}pointsCount(){return 3}name(){return"Trend-Based Fib Time"}migrateVersion(e,t,i){}processErase(e,t){var i="level"+t,s=this.properties()[i].visible;e.setProperty(s,!1,h)}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,42882))).TrendBasedFibTimeDefinitionsViewModel}static createProperties(e){var t=new o("linetooltrendbasedfibtime",e,!1,{range:[1,11]});return d._configureProperties(t),t}static _configureProperties(e){n._configureProperties(e);for(var t=[e.child("trendline").child("linewidth")],i=[e.child("trendline").child("color")],s=1;s<=d.LevelsCount;s++)t.push(e.child("level"+s).child("linewidth")),i.push(e.child("level"+s).child("color"));e.addChild("linesColors",new c(i)),e.addChild("linesWidths",new l(t))}}d.LevelsCount=11,d.version=1,t.LineToolTrendBasedFibTime=d},57649:(e,t,i)=>{"use strict";var s=i(2015),r=i(89857).LineDataSource,n=i(22474).LineToolPriceAxisView,o=i(88564).DefaultProperty;class a extends r{constructor(e,t,s,r){super(e,t||a.createProperties(),s,r),this._trendLinePaneView=null,i.e(1583).then(i.t.bind(i,38743,19)).then(({TrendLinePaneView:e})=>{this._trendLinePaneView=new e(this,this._model),this._setPaneViews([this._trendLinePaneView])})}dataAndViewsReady(){return r.prototype.dataAndViewsReady.call(this)&&this._trendLinePaneView&&this._trendLinePaneView.iconsReady()}stop(){super.stop()}pointsCount(){return 2}name(){return"Trend Line"}canHasAlert(){return!0}showPriceLabels(){return this._properties.childs().showPriceLabels.value()}createPriceAxisView(e){return new n(this,{pointIndex:e,backgroundPropertyGetter:()=>this.showPriceLabels()?this._properties.linecolor.value():null})}isForcedDrawPriceAxisLabel(){return this.showPriceLabels()}_getAlertPlots(){return[this._linePointsToAlertPlot(this._points,null,this.properties().extendLeft.value(),this.properties().extendRight.value())]}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,43266))).TrendLineDefinitionsViewModel}template(){var e=r.prototype.template.call(this);return e.text=this.properties().childs().text.value(),e}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}_snapTo45DegreesAvailable(){return!0}static createProperties(e){var t=new o("linetooltrendline",e);return a._configureProperties(t),t}static _configureProperties(e){r._configureProperties(e),e.hasChild("text")||e.addChild("text",new s("")),e.addExclusion("text")}} -t.LineToolTrendLine=a},53403:(e,t,i)=>{"use strict";i.d(t,{LineToolTrianglePattern:()=>o});var s=i(88564),r=i(89857),n=i(37865);class o extends r.LineDataSource{constructor(e,t,s,r){const n=t||o.createProperties();super(e,n,s,r),i.e(1583).then(i.bind(i,51145)).then(t=>{this._setPaneViews([new t.LineToolTrianglePatternPaneView(this,e)])})}pointsCount(){return 4}name(){return"Triangle Pattern"}static createProperties(e){const t=new s.DefaultProperty("linetooltrianglepattern",e);return o._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,93262)).then(e=>e.PatternWithBackgroundDefinitionViewModel)}static _configureProperties(e){r.LineDataSource._configureProperties(e),e.addChild("linesColors",new n.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new n.LineToolColorsProperty([e.childs().textcolor])),e.addChild("backgroundsColors",new n.LineToolColorsProperty([e.childs().backgroundColor]))}}},99092:(e,t,i)=>{"use strict";var s=i(89857).LineDataSource,r=i(88564).DefaultProperty,n=i(37865).LineToolColorsProperty;class o extends s{constructor(e,t,s,r){super(e,t||o.createProperties(),s,r),i.e(1583).then(i.t.bind(i,12258,19)).then(({TrianglePaneView:e})=>{this._setPaneViews([new e(this,this._model)])})}pointsCount(){return 3}name(){return"Triangle"}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,24965))).GeneralFiguresDefinitionsViewModel}static createProperties(e){var t=new r("linetooltriangle",e);return o._configureProperties(t),t}static _configureProperties(e){s._configureProperties(e),e.addChild("linesColors",new n([e.childs().color]))}}t.LineToolTriangle=o},67103:(e,t,i)=>{"use strict";i.d(t,{LineToolVertLineTimeAxisView:()=>r});var s=i(19528);class r extends s.LineDataSourceTimeAxisView{constructor(e){super(e,0)}_getBgColor(){return this._source.properties().linecolor.value()}_getAlwaysInViewPort(){return!1}_getIndex(){const e=this._source.points();return 0===e.length?null:e[0].index}}},51922:(e,t,i)=>{"use strict";i.d(t,{LineToolVertLine:()=>h});var s=i(88537),r=i(86441),n=i(88564),o=i(2015),a=i.n(o),l=i(89857),c=i(67103);class h extends l.LineDataSource{constructor(e,t,s,r){const n=t||h.createProperties();super(e,n,s,r),this._timeAxisView=new c.LineToolVertLineTimeAxisView(this),this._paneViewFactory=null,this.properties().childs().extendLine.subscribe(this,()=>e.lightUpdate()),i.e(1583).then(i.bind(i,68022)).then(t=>{this._paneViewFactory=i=>new t.VertLinePaneView(this,e,i),this._model.lightUpdate()})}destroy(){this.properties().childs().extendLine.unsubscribeAll(this),super.destroy()}pointsCount(){return 1}name(){return"Vertical Line"}timeAxisViews(){return this.isSourceHidden()?null:this.properties().childs().showTime.value()?[this._timeAxisView]:null}updateAllViews(e){super.updateAllViews(e),this._timeAxisView.update(e)}canHasAlert(){return!0}template(){const e=super.template();return e.text=this.properties().childs().text.value(),e} -isMultiPaneAvailable(){return!0}isMultiPaneEnabled(){return this.properties().childs().extendLine.value()}paneViews(e){return e=(0,s.ensureDefined)(e),this.isMultiPaneEnabled()||this._model.paneForSource(this)===e?(null===this._getPaneViews(e)&&null!==this._paneViewFactory&&this._setPaneViews([this._paneViewFactory(e)],e,!0),super.paneViews(e)):null}priceAxisViews(){return null}priceAxisPoints(){return[]}pointToScreenPoint(e){const t=this._model.timeScale();if(t.isEmpty())return null;const i=t.indexToCoordinate(e.index);return new r.Point(i,0)}convertYCoordinateToPriceForMoving(e){return 0}static createProperties(e){null!=e&&(void 0===e.textOrientation&&(e.textOrientation="horizontal"),void 0===e.extendLine&&(e.extendLine=!1));const t=new n.DefaultProperty("linetoolvertline",e);return h._configureProperties(t),t}_getAlertPlots(){const e=this._points[0],t={index:e.index,price:e.price+1};return[this._linePointsToAlertPlot([e,t],null,!0,!0)]}_getPropertyDefinitionsViewModelClass(){return Promise.all([i.e(1369),i.e(8623),i.e(8537)]).then(i.bind(i,90308)).then(e=>e.VerticalLineDefinitionsViewModel)}_applyTemplateImpl(e){super._applyTemplateImpl(e),this.properties().childs().text.setValue(e.text||"")}static _configureProperties(e){l.LineDataSource._configureProperties(e),e.hasChild("text")||e.addChild("text",new(a())("")),e.addExclusion("text")}}},20299:(e,t,i)=>{"use strict";i.d(t,{LineToolVbPFixed:()=>f});var s=i(77973),r=i(88537),n=i(88145),o=i(67072),a=i.n(o),l=i(51934),c=i(54376),h=i(2662),d=i(33291),u=i(80643),p=i(88564),_=i(14291),m=i(66101);const g=(0,n.studyIdString)("VbPFixed","tv-volumebyprice");class f extends l.StudyLineDataSource{constructor(e,t,i,s,r,n){const o=i||e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:g}),a=null!=t?t:f.createProperties(e);super(e,o,"vbpfixed_",a,r,n),(0,c.createGraphicsPaneViews)(this,e).then(t=>{if(s=e.mainSeries(),o.plots.length>0){const i=new h.StudyPlotPaneView(this,s,e,o.plots[0].id);t.push(i)}if(o.plots.length>1){const i=new h.StudyPlotPaneView(this,s,e,o.plots[1].id);t.push(i)}if(o.plots.length>2){const i=new h.StudyPlotPaneView(this,s,e,o.plots[2].id);t.push(i)}this._setPaneViews(t)}),this.clearData()}pointsCount(){return 2}boundToSymbol(){return!1}offset(e){return 0}getMinFirstBarIndexForPlot(){return-1/0}calcIsActualSymbol(){this._isActualSymbol=!0,this._isActualCurrency=!0,this._isActualUnit=!0,this.calcIsActualInterval()}cloneable(){return!1}isSynchronizable(){return!1}static createProperties(e,t){const i=a().getStudyPropertyRootNameById(g),s=(0,r.ensureNotNull)(e.studyMetaInfoRepository().findByIdSync({type:"java",studyId:g})),n=(0,p.createDefaultsState)(!0,i,[],e.studyVersioning());return(0,_.createStudyLineToolProperties)("LineToolVbPFixed",s,s,(0,u.merge)((0,u.clone)(n),null!=t?t:{}),e.studyVersioning())}static createPropertiesFromStudyMetaInfoAndState(e,t,i,s){const r=(0,m.prepareStudyPropertiesForLoadChart)(e,t,i,null,s);return f._configureProperties(r),r}static studyId(){return g}_studyInputs(e){(0, -r.assert)(2===e.length,"all the line tool points should be defined");const[t,i]=e,s=Math.max(t.index,i.index),n=this._model.mainSeries().bars().lastIndex(),o=this._getPointTime(t.index<=i.index?t:i,!0),a=this._getPointTime(i.index>=t.index?i:t,!0);if(null===o||null===a)return this._subscribeApplyInputsOnSeriesCompleted(),null;return{...this.properties().childs().inputs.state(),first_bar_time:1e3*o,last_bar_time:1e3*a,subscribeRealtime:n===s}}_isReady(){return!(0,c.isStudyGraphicsEmpty)(this.graphics())}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(7387),i.e(8623),i.e(607)]).then(i.bind(i,26667))).StudyLineDataSourceDefinitionsViewModel}_onDataUpdated(){this._updateAnchors(),this.updateAllViews((0,d.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}_updateAnchors(){const e=this._calculateAnchors();if(!e)return;const[{index:t,price:i},{index:s,price:r}]=e;if(this._timePoint.length&&(this._timePoint[0].price=i,this._timePoint[1].price=r),this._points.length){const e=this.model().timeScale(),n=e.indexToTimePoint(t),o=e.indexToTimePoint(t);this._points[0]={index:t,price:i,time:(0,u.isNumber)(n)?new Date(1e3*n):void 0},this._points[1]={index:s,price:r,time:(0,u.isNumber)(o)?new Date(1e3*o):void 0}}}_calculateAnchors(){let e=null,t=null,i=null,r=null;if(this.graphics().hhists().forEach(s=>{s.forEach(s=>{const{priceLow:n,priceHigh:o,firstBarTime:a,lastBarTime:l}=s;(!e||nt)&&(t=o),(!i||ar)&&(r=l)})}),!((0,s.default)(e)||(0,s.default)(t)||(0,s.default)(r)||(0,s.default)(i)))return[{price:t,index:i},{price:e,index:r}]}_updateAnchorsPrice(){const e=this._calculateAnchors();if(!e)return;const[{price:t},{price:i}]=e;this._timePoint.length&&(this._timePoint[0].price=t,this._timePoint[1].price=i),this._points.length&&(this._points[0].price=t,this._points[1].price=i)}}},90373:(e,t,i)=>{"use strict";var s;i.d(t,{MagnetMode:()=>s}),function(e){e[e.WeakMagnet=0]="WeakMagnet",e[e.StrongMagnet=1]="StrongMagnet"}(s||(s={}))},30460:(e,t,i)=>{"use strict";i.d(t,{magnetEnabled:()=>m,magnetMode:()=>g,setIsMagnetEnabled:()=>f,setMagnetMode:()=>v});var s=i(88564),r=i(52714),n=i.n(r),o=i(90373),a=i(85733),l=i(14291),c=i(76367);const h=new(n())(!1),d=new(n())(o.MagnetMode.WeakMagnet),u=(0,c.modifierPressed)(),p=(0,c.shiftPressed)();function _(){const e=u.value();if(p.value()&&(a.isToolEditingNow.value()||a.isToolCreatingNow.value()))return void h.setValue(!1);const t=a.tool.value(),i=a.isStudyEditingNow.value()||a.isPointSelectedNow.value(),s=e&&((0,l.isLineToolName)(t)||a.isToolEditingNow.value()||(0,a.toolIsMeasure)(t)||i),r=(0,a.properties)().childs().magnet.value();d.setValue(!r&&s?o.MagnetMode.StrongMagnet:(0,a.properties)().childs().magnetMode.value()),h.setValue(s?!r:r)}function m(){return h}function g(){return d}function f(e){(0,s.saveDefaultProperties)(!0),(0,a.properties)().childs().magnet.setValue(e),(0,s.saveDefaultProperties)(!1)}function v(e){(0,s.saveDefaultProperties)(!0),(0,a.properties)().childs().magnetMode.setValue(e),(0, -a.properties)().childs().magnet.setValue(!0),(0,s.saveDefaultProperties)(!1)}(0,a.runOnDrawingStateReady)(()=>{(0,a.properties)().childs().magnet.subscribe(null,_),(0,a.properties)().childs().magnetMode.subscribe(null,_),u.subscribe(_),p.subscribe(_),a.tool.subscribe(_),a.isToolEditingNow.subscribe(_),_()})},32050:(e,t,i)=>{"use strict";i.d(t,{MainSeriesScaleRatioProperty:()=>n});var s=i(2872),r=i.n(s);class n{constructor(e){this._changed=new(r()),this._model=e}getStepChangeValue(){return.1}getMinValue(){return 1e-7}getMaxValue(){return 99999999}value(){return this._model.mainSeriesScaleRatio()}setValue(e,t){(e!==this.value()||t)&&(this._model.setMainSeriesScaleRatio(e),this._onChanged())}state(){return null}clone(){return new n(this._model)}listeners(){return this._changed}subscribe(e,t){this._changed.subscribe(e,t)}unsubscribe(e,t){this._changed.unsubscribe(e,t)}unsubscribeAll(e){this._changed.unsubscribeAll(e)}storeStateIfUndefined(){return!0}_onChanged(){this._changed.fire(this)}}},33291:(e,t,i)=>{"use strict";function s(e,t,i){return{type:"data-source-change",dataSourceId:e,firstUpdatedTimePointIndex:t,clearData:i}}i.r(t),i.d(t,{dataSourceChangeEvent:()=>s,globalChangeEvent:()=>n,viewportChangeEvent:()=>a,selectionChangeEvent:()=>c});const r={type:"global-change"};function n(){return r}const o={type:"viewport-change"};function a(){return o}const l={type:"selection-change"};function c(){return l}},51344:(e,t,i)=>{"use strict";i.d(t,{ensureTimePointIndexIndex:()=>n,unpackNonSeriesData:()=>o});var s=i(6617),r=i(88537);function n(e){if(e<0)throw new Error("TimePointIndexIndex should be non-negative integer");return e}async function o(e){if(""===e)return null;const t=JSON.parse(e);if(!(0,s.isObject)(t)||"function"==typeof t)throw new Error("Non-object content in the non-series envelope");if((0,s.hasProperty)(t,"indexes_replace"))return{indexes_replace:!0};const i={indexes_replace:!1};if((0,s.hasProperty)(t,"offsets")&&(i.offsets=t.offsets),(0,s.hasProperty)(t,"isUpdate")){if("boolean"!=typeof t.isUpdate)throw new Error('Invalid type of "isUpdate" field');i.isUpdate=t.isUpdate}return(0,s.hasProperty)(t,"data")&&(i.data=t.data),(0,s.hasProperty)(t,"graphicsCmds")&&(i.graphicsCmds=function(e){if(!(0,s.isObject)(e))throw new Error("Graphics commands should be wrapped in an object");if((0,s.hasProperty)(e,"create"),(0,s.hasProperty)(e,"erase")){const t=e.erase;(0,r.assert)(Array.isArray(t),"Collection of erase commands should be array");for(const e of t){if(!(0,s.isObject)(e)||!(0,s.hasProperty)(e,"action"))throw new Error("Command should be an object with 'action' property");(0,r.assert)("all"===e.action||"one"===e.action,"Erase command action should be 'all' or 'one'")}}return e}(t.graphicsCmds)),i}},57626:(e,t,i)=>{"use strict";i.d(t,{notAvailable:()=>r});var s=i(28353);const r=i(67337).enabled("use_na_string_for_not_available_values")?(0,s.t)("n/a"):"∅"},56589:(e,t,i)=>{"use strict";var s;i.d(t,{PaneCursorType:()=>s}),function(e){e[e.Default=0]="Default",e[e.Pointer=1]="Pointer",e[e.Eraser=2]="Eraser", -e[e.Dot=3]="Dot",e[e.Grabbing=4]="Grabbing",e[e.ZoomIn=5]="ZoomIn",e[e.VerticalResize=6]="VerticalResize",e[e.HorizontalResize=7]="HorizontalResize",e[e.DiagonalNeSwResize=8]="DiagonalNeSwResize",e[e.DiagonalNwSeResize=9]="DiagonalNwSeResize"}(s||(s={}))},28978:(e,t,i)=>{"use strict";i.d(t,{PanePriceAxisView:()=>n});var s=i(76818);class r{constructor(e){this._priceAxisViewRenderer=null,this._rendererOptions=null,this._align="right",this._width=0,this._height=0,this._textWidthCache=e}setParams(e,t,i,s,r){this._priceAxisViewRenderer=e,this._rendererOptions=t,this._width=i,this._height=s,this._align=r}draw(e,t){null!==this._rendererOptions&&null!==this._priceAxisViewRenderer&&this._priceAxisViewRenderer.draw(e,this._rendererOptions,this._textWidthCache,this._width,this._height,this._align,t.pixelRatio)}hitTest(e){var t,i;return void 0===(null===(t=this._priceAxisViewRenderer)||void 0===t?void 0:t.hitTest)?null:null===(i=this._priceAxisViewRenderer)||void 0===i?void 0:i.hitTest(e,this._width,this._align)}}class n{constructor(e,t,i){this._renderer=null,this._invalidated=!0,this._priceAxisView=e,this._textWidthCache=new s.TextWidthCache(100),this._dataSource=t,this._chartModel=i,this._fontSize=-1,this._panePriceAxisViewRenderer=new r(this._textWidthCache)}update(e){this._invalidated=!0}renderer(e,t){return this._invalidated&&this._updateImpl(e,t),this._renderer}_updateImpl(e,t){this._renderer=null;const i=this._chartModel.crossHairSource(),s=this._dataSource===i?i.pane:this._chartModel.paneForSource(this._dataSource);if(null===s)return;const r=this._priceScale();if(null===r)return;let n=s.priceScalePosition(r);if("overlay"===n&&(n=s.priceScalePosition(s.defaultPriceScale())),"overlay"===n)return;const o=this._chartModel.priceAxisRendererOptions();o.fontSize!==this._fontSize&&(this._fontSize=o.fontSize,this._textWidthCache.reset()),this._panePriceAxisViewRenderer.setParams(this._priceAxisView.paneRenderer(),o,t,e,n),this._renderer=this._panePriceAxisViewRenderer,this._invalidated=!1}_priceScale(){return this._dataSource.priceScale()}}},84705:(e,t,i)=>{"use strict";i.d(t,{PaneRendererArea:()=>a});var s=i(88537),r=i(46214),n=i(29892),o=i(49094);class a extends r.PaneRendererLine{constructor(e){e.forceLineColor=!1,super(e)}draw(e,t){var i,r,a,l,c;const h=this._data;if(0===h.items.length)return;let d=null!==(r=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==r?r:0,u=(null!==(l=null===(a=this._data.visibleItemsRange)||void 0===a?void 0:a.endItemIndex)&&void 0!==l?l:this._data.items.length)-1;for(;d=0&&!(0,o.coordinateIsValid)(h.items[u].y);)u--;if(d>u)return;e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.lineCap="butt",e.strokeStyle=h.lineColor,e.lineWidth=h.lineWidth,(0,n.setLineStyle)(e,h.lineStyle),e.lineWidth=1;const p={},_=h.items;for(let e=d;e<=u;e++){const t=_[e];let i;if(i=t.style?t.style.color:h.lineColor,e{"use strict";i.d(t,{CompositeRenderer:()=>s});class s{constructor(){this._renderers=[],this._globalAlpha=1}setGlobalAlpha(e){this._globalAlpha=e}append(e){this._renderers.push(e)}insert(e,t){this._renderers.splice(t,0,e)}clear(){this._renderers.length=0}isEmpty(){return 0===this._renderers.length}draw(e,t){for(let i=0;i=0;s--){const r=this._renderers[s].hitTest(e,t);null!==r&&(null===i||r.result()>i.result())&&(i=r)}return i}doesIntersectWithBox(e){return this._renderers.some(t=>!!t.doesIntersectWithBox&&t.doesIntersectWithBox(e))}}},42759:(e,t,i)=>{"use strict";i.d(t,{clearRectWithGradient:()=>o,fillRectInnerBorder:()=>a,drawHorizontalLine:()=>l,drawVerticalLine:()=>c,drawRoundRect:()=>d,drawRoundRectWithInnerBorder:()=>u,fillRectWithBorder:()=>p,createCircle:()=>_});var s=i(86441),r=i(29892),n=i(95936);function o(e,t,i,s,r,n,o){e.save(),e.globalCompositeOperation="copy";const a=e.createLinearGradient(0,0,0,r);a.addColorStop(0,n),a.addColorStop(1,o),e.fillStyle=a,e.fillRect(t,i,s,r),e.restore()}function a(e,t,i,s,r,n){e.fillRect(t+n,i,s-2*n,n),e.fillRect(t+n,i+r-n,s-2*n,n),e.fillRect(t,i,n,r),e.fillRect(t+s-n,i,n,r)}function l(e,t,i,s){e.beginPath();const r=e.lineWidth%2?.5:0;e.moveTo(i,t+r),e.lineTo(s,t+r),e.stroke()}function c(e,t,i,s){e.beginPath();const r=e.lineWidth%2?.5:0;e.moveTo(t+r,i),e.lineTo(t+r,s),e.stroke()}function h(e,t){return Array.isArray(e)?e.map(e=>0===e?e:e+t):e+t}function d(e,t,i,s,r,n,o){let a,l,c,h;if(Array.isArray(n))if(2===n.length){const e=Math.max(0,n[0]),t=Math.max(0,n[1]);a=e,l=e,c=t,h=t}else{if(4!==n.length)throw new Error("Wrong border radius - it should be like css border radius");a=Math.max(0,n[0]),l=Math.max(0,n[1]),c=Math.max(0,n[2]),h=Math.max(0,n[3])}else{const e=Math.max(0,n);a=e,l=e,c=e,h=e}o||e.beginPath(),e.moveTo(t+a,i),e.lineTo(t+s-l,i),0!==l&&e.arcTo(t+s,i,t+s,i+l,l),e.lineTo(t+s,i+r-c),0!==c&&e.arcTo(t+s,i+r,t+s-c,i+r,c),e.lineTo(t+h,i+r),0!==h&&e.arcTo(t,i+r,t,i+r-h,h),e.lineTo(t,i+a),0!==a&&e.arcTo(t,i,t+a,i,a)}function u(e,t,i,s,o,a,l=0,c=0,u="",p=n.LineStyle.Solid){if(e.save(), -!c||!u||u===a)return d(e,t,i,s,o,l),e.fillStyle=a,e.fill(),void e.restore();const _=c/2;if("transparent"!==a){const r="transparent"!==u&&p!==n.LineStyle.Solid;d(e,r?t:t+c,r?i:i+c,r?s:s-2*c,r?o:o-2*c,r?l:h(l,-c)),e.fillStyle=a,e.fill()}if("transparent"!==u){d(e,t+_,i+_,s-c,o-c,h(l,-_)),e.lineWidth=c,e.strokeStyle=u,(0,r.setLineStyle)(e,p),e.closePath(),e.stroke()}e.restore()}function p(e,t,i,n,o,a,l,c,h,d,u,p,_,m,g){const f=d?0:t,v=u?_:n;if(void 0!==a&&(e.fillStyle=a,e.fillRect(f,i,v-f+m,o-i)),void 0!==l&&c>0){if(e.beginPath(),(0,r.setLineStyle)(e,h),void 0!==g){const t=g.map(e=>e*c);(0,r.setLineDash)(e,t)}let a=(0,s.point)(0,0),d=(0,s.point)(0,0),u=(0,s.point)(0,0),_=(0,s.point)(0,0);switch(p){case"outer":{const e=.5*c;u=(0,s.point)(0,e),_=(0,s.point)(0,e),a=(0,s.point)(e,-c),d=(0,s.point)(e,-c);break}case"center":{const e=c%2?.5:0,t=c%2?.5:m;u=(0,s.point)(.5*c-e,-e),_=(0,s.point)(t+.5*c,-e),a=(0,s.point)(-e,e+.5*c),d=(0,s.point)(t,e+.5*c);break}case"inner":{const e=.5*c;u=(0,s.point)(0,-e),_=(0,s.point)(1,-e),a=(0,s.point)(-e,c),d=(0,s.point)(1-e,c);break}}e.lineWidth=c,e.strokeStyle=l,e.moveTo(f-u.x,i-u.y),e.lineTo(v+_.x,i-_.y),e.moveTo(n+d.x,i+d.y),e.lineTo(n+d.x,o-d.y),e.moveTo(f-u.x,o+u.y),e.lineTo(v+_.x,o+_.y),e.moveTo(t-a.x,i+a.y),e.lineTo(t-a.x,o-a.y),e.stroke()}}function _(e,t,i,s){e.beginPath(),e.arc(t,i,s,0,2*Math.PI,!1),e.closePath()}},49094:(e,t,i)=>{"use strict";i.d(t,{extendAndClipLineSegment:()=>h,getArrowPoints:()=>d,optimalBarWidth:()=>u,optimalCandlestickWidth:()=>p,optimalHiLoWidth:()=>_,interactionTolerance:()=>m,coordinateIsValid:()=>g,setValidLineStyle:()=>f,fillScaledRadius:()=>v,strokeScaledRadius:()=>S});var s=i(86441),r=i(5531),n=i(71413),o=i(80643),a=i(29892);const l={line:13,minDistanceBetweenPoints:10,series:14,curve:10,anchor:13,esd:4},c={line:3,minDistanceBetweenPoints:5,series:2,curve:3,anchor:2,esd:0};function h(e,t,i,n,o,a){if((0,s.equalPoints)(e,t))return null;const l=new s.Point(0,0),c=new s.Point(i,n);if(o){if(a){const i=(0,r.intersectLineAndBox)((0,s.lineThroughPoints)(e,t),(0,s.box)(l,c));return Array.isArray(i)?i:null}{const i=(0,r.intersectRayAndBox)(t,e,(0,s.box)(l,c));return null===i||(0,s.equalPoints)(t,i)?null:(0,s.lineSegment)(t,i)}}if(a){const i=(0,r.intersectRayAndBox)(e,t,(0,s.box)(l,c));return null===i||(0,s.equalPoints)(e,i)?null:(0,s.lineSegment)(e,i)}{const i=(0,r.intersectLineSegmentAndBox)((0,s.lineSegment)(e,t),(0,s.box)(l,c));return Array.isArray(i)?i:null}}function d(e,t,i,s){const r=.5*i,n=Math.sqrt(2),o=t.subtract(e),a=o.normalized();let l=5*i;s&&(l=Math.min(l,.35*o.length()));const c=1*r;if(l*n*.2<=c)return[];const h=a.scaled(l),d=t.subtract(h),u=a.transposed(),p=1*l,_=u.scaled(p),m=d.add(_),g=d.subtract(_),f=m.subtract(t).normalized().scaled(c),v=g.subtract(t).normalized().scaled(c),S=t.add(f),y=t.add(v),b=r*(n-1),w=u.scaled(b),C=Math.min(l-1*r/n,r*n*1),P=a.scaled(C),T=t.subtract(w),x=t.add(w),I=t.subtract(P);return[[m,S],[g,y],[T,I.subtract(w)],[x,I.add(w)]]}function u(e,t){return t=t||1,Math.floor(.3*e*t)}function p(e,t){ -if(e>=2.5&&e<=4)return Math.floor(3*t);const i=1-.2*Math.atan(Math.max(4,e)-4)/(.5*Math.PI),s=Math.floor(e*i*t),r=Math.floor(e*t),n=Math.min(s,r);return Math.max(Math.floor(t),n)}function _(e){return.4*e}function m(){return(0,n.lastMouseOrTouchEventInfo)().isTouch?l:c}function g(e){return null!=e&&!(0,o.isNaN)(e)}function f(e,t){void 0!==t&&(0,a.setLineStyle)(e,t)}function v(e,t){const i=Math.max(1,Math.floor(t))%2?.5:0;return Math.round(e*t)+i}function S(e,t,i){const s=Math.max(1,Math.floor(t))%2?.5:0;return Math.round(e*t)+(s!==i%2?.5:0)}},40254:(e,t,i)=>{"use strict";i.d(t,{HorizontalLineRenderer:()=>a});var s=i(84346),r=i(29892),n=i(42759),o=i(49094);class a{constructor(){this._data=null,this._hitTest=new s.HitTestResult(s.HitTestResult.REGULAR)}setData(e){this._data=e}setHitTest(e){this._hitTest=e}hitTest(e){if(null===this._data||!1===this._data.visible||null===this._hitTest)return null;const t=(0,o.interactionTolerance)().line,i=Math.abs(e.y-this._data.y)<=t+this._data.linewidth/2,s=void 0===this._data.left||this._data.left-e.x<=t,r=void 0===this._data.right||e.x-this._data.right<=t;return i&&s&&r?this._hitTest:null}draw(e,t){if(null===this._data)return;if(!1===this._data.visible)return;if(this._data.y<-this._data.linewidth/2||this._data.y>t.cssHeight+this._data.linewidth/2)return;const i=t.pixelRatio;e.lineCap="butt",e.strokeStyle=this._data.color,e.lineWidth=Math.max(1,Math.floor(this._data.linewidth*i)),void 0!==this._data.linestyle&&(0,r.setLineStyle)(e,this._data.linestyle);const s=void 0!==this._data.left?Math.max(this._data.left,0):0,o=void 0!==this._data.right?Math.min(this._data.right,t.cssWidth):t.cssWidth,a=Math.round(this._data.y*i),l=Math.floor(s*i),c=Math.ceil(o*i);(0,n.drawHorizontalLine)(e,a,l,c)}}},15712:(e,t,i)=>{"use strict";function s(e,t){return e.pixelRatio===t.pixelRatio}i.d(t,{areEqualPaneRenderParams:()=>s})},49612:(e,t,i)=>{"use strict";var s;i.d(t,{LineEnd:()=>s}),function(e){e[e.Normal=0]="Normal",e[e.Arrow=1]="Arrow",e[e.Circle=2]="Circle"}(s||(s={}))},46214:(e,t,i)=>{"use strict";i.d(t,{PaneRendererLine:()=>l});var s=i(86441),r=i(4652),n=i(84346),o=i(29892),a=i(49094);class l{constructor(e){this._data=e}hitTest(e,t){var i,o,l,c;const h=(0,a.interactionTolerance)().series+this._data.lineWidth/2;let d=null!==(o=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==o?o:0,u=(null!==(c=null===(l=this._data.visibleItemsRange)||void 0===l?void 0:l.endItemIndex)&&void 0!==c?c:this._data.items.length)-1;for(;u-d>2;){const t=Math.round((u+d)/2);this._data.items[t].x<=e.x?d=t:u=t}d=Math.max(1,d-1),u=Math.min(this._data.items.length-1,u+1);for(let t=d;t<=u;++t){const i=this._data.items[t-1],o=this._data.items[t],a=i.x,l=o.x;if((0,r.distanceToSegment)(new s.Point(a,i.y),new s.Point(l,o.y),new s.Point(e.x,e.y)).distance<=h)return this._data.hittest?this._data.hittest:new n.HitTestResult(n.HitTestResult.REGULAR)}return null}draw(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.lineCap="square",e.lineJoin="round",e.strokeStyle=this._data.lineColor, -e.fillStyle=this._data.lineColor,e.lineWidth=this._data.lineWidth,(0,o.setLineStyle)(e,this._data.lineStyle),(0,a.setValidLineStyle)(e,this._data.lineStyle),this._data.simpleMode?this._drawSimpleMode(e,t.pixelRatio):this._drawLines(e),e.restore()}_drawSimpleMode(e,t){var i,s,r,n;if(e.beginPath(),this._walkLine(e,this._data.items,!1,NaN),e.stroke(),this._data.withMarkers){e.save(),e.scale(1/t,1/t);const o=Math.max(1,Math.floor(t))%2/2,a=(this._data.lineWidth+2)*t+o,l=2*Math.PI;e.beginPath();const c=null!==(s=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==s?s:0;for(let i=(null!==(n=null===(r=this._data.visibleItemsRange)||void 0===r?void 0:r.endItemIndex)&&void 0!==n?n:this._data.items.length)-1+1;i-- >=c;){const s=this._data.items[i];if(s){const i=Math.round(s.x*t)+o,r=s.y*t;e.moveTo(i,r),e.arc(i,r,a,0,l)}}e.fill(),e.restore()}}_walkLine(e,t,i,s,r){var n,o,l,c;if(!t)return;const h=.25*this._data.barSpacing;let d,u,p,_,m;const g=a.coordinateIsValid,f=r?0:null!==(o=null===(n=this._data.visibleItemsRange)||void 0===n?void 0:n.startItemIndex)&&void 0!==o?o:0,v=r?t.length-1:Math.min((null!==(c=null===(l=this._data.visibleItemsRange)||void 0===l?void 0:l.endItemIndex)&&void 0!==c?c:t.length)-1,t.length-1);for(let e=f;e<=v;e++){const i=t[e];if(g(i.y)){u=i,d=e;break}}if(void 0!==d&&void 0!==u)for(let r=d;r<=v;r++){_=t[r],m=t[r+1]||{};const n=Math.round(_.x);if(g(_.y))if(p&&g(p.y))e.lineTo(n,_.y),i&&!g(m.y)&&e.lineTo(n,s);else if(m&&g(m.y))i?(r!==d&&e.lineTo(n,s),e.lineTo(n,_.y)):e.moveTo(n,_.y);else if(i){if(0===r)continue;r!==d&&e.lineTo(n-h,s),e.lineTo(n-h,_.y),e.lineTo(n+h,_.y),e.lineTo(n+h,s)}else e.moveTo(n-h,_.y),e.lineTo(n+h,_.y);p=_}}_drawLines(e){var t,i,s,r;if(!this._data.items.length)return;let n,o,l;const c=.25*this._data.barSpacing,h=a.coordinateIsValid;e.beginPath();const d=null!==(i=null===(t=this._data.visibleItemsRange)||void 0===t?void 0:t.startItemIndex)&&void 0!==i?i:0,u=(null!==(r=null===(s=this._data.visibleItemsRange)||void 0===s?void 0:s.endItemIndex)&&void 0!==r?r:this._data.items.length)-1,p=this._data.items[d];p&&e.moveTo(p.x,p.y);let _,m=e.strokeStyle,g=e.lineWidth;for(let t=d+1;t<=u;++t){let i,s,r;n=this._data.items[t-1],o=this._data.items[t],l=this._data.items[t+1],o.style&&!this._data.forceLineColor?(i=o.style.color,s=o.style.width,r=o.style.style):(i=this._data.lineColor,s=this._data.lineWidth,r=this._data.lineStyle),this._data.ignorePaletteLineWidth&&(s=this._data.lineWidth);(i!==m||s!==g||r!==_)&&(m=i,g=s,_=r,e.stroke(),e.beginPath(),e.strokeStyle=i,e.lineWidth=s,(0,a.setValidLineStyle)(e,r),e.moveTo(n.x,n.y)),f=n,S=l,h((v=o).y)&&(h(f.y)?e.lineTo(v.x,v.y):S&&h(S.y)?e.moveTo(v.x,v.y):(e.moveTo(v.x-c,v.y),e.lineTo(v.x+c,v.y)))}var f,v,S;e.stroke()}}},55776:(e,t,i)=>{"use strict";i.d(t,{RectangleRenderer:()=>d});var s=i(88537),r=i(86441),n=i(34026),o=i(4652),a=i(84346),l=i(68906),c=i(43891),h=i(42759);class d{constructor(e,t,i){this._data=null,this._hitTestResult=e||new a.HitTestResult(a.HitTestResult.MOVEPOINT), -this._backHitTestResult=t||new a.HitTestResult(a.HitTestResult.MOVEPOINT_BACKGROUND),this._forceOverrideTransparency=Boolean(i)}setData(e){this._data=e}hitTest(e,t){if(null===this._data||this._data.points.length<2||this._data.nohittest)return null;const[i,s]=this._getPointsInPhysicalSpace(t),n=new r.Point(s.x,i.y),a=new r.Point(i.x,s.y),l=new r.Point(e.x*t.pixelRatio,e.y*t.pixelRatio),c=this._extendAndHitTestLineSegment(l,i,n,t);if(null!==c)return c;const h=this._extendAndHitTestLineSegment(l,a,s,t);if(null!==h)return h;let d=(0,o.distanceToSegment)(n,s,l);return d.distance<=3?this._hitTestResult:(d=(0,o.distanceToSegment)(i,a,l),d.distance<=3?this._hitTestResult:this._data.fillBackground?this._hitTestBackground(l,i,s,t):null)}getColor(){const e=(0,s.ensure)(this._data);return void 0===e.transparency?e.backcolor:(0,l.generateColor)(e.backcolor,e.transparency,this._forceOverrideTransparency)}draw(e,t){if(null===this._data||this._data.points.length<2||this._data.linewidth<=0&&!this._data.fillBackground)return;e.save();const[i,s]=this._getPointsInPhysicalSpace(t),r=this._data.linewidth?Math.max(1,Math.floor(this._data.linewidth*t.pixelRatio)):0,n=this._data.fillBackground?this.getColor():void 0,o=Math.max(1,Math.floor(t.pixelRatio));(0,h.fillRectWithBorder)(e,i.x,i.y,s.x,s.y,n,this._data.color,r,c.LINESTYLE_SOLID,this._data.extendLeft,this._data.extendRight,"center",t.physicalWidth,this._data.includeRightEdge&&1===o?1:0),e.restore()}_getPointsInPhysicalSpace(e,t=0){const i=(0,s.ensureNotNull)(this._data),[n,o]=i.points,a=e.pixelRatio,l=Math.min(n.x,o.x),c=Math.max(n.x,o.x),h=Math.min(n.y,o.y),d=Math.max(n.y,o.y),u=Math.round(l*a)+t,p=Math.round(c*a)+t,_=Math.round(h*a)+t,m=Math.round(d*a)+t;return[new r.Point(u,_),new r.Point(p,m)]}_extendAndHitTestLineSegment(e,t,i,s){const r=this._extendAndClipLineSegment(t,i,s);if(null!==r){if((0,o.distanceToSegment)(r[0],r[1],e).distance<=3)return this._hitTestResult}return null}_extendAndClipLineSegment(e,t,i){const n=(0,s.ensureNotNull)(this._data);if((0,r.equalPoints)(e,t)&&!n.extendLeft&&!n.extendRight)return null;const o=i.physicalWidth,a=Math.min(e.x,t.x),l=Math.max(e.x,t.x),c=n.extendLeft?0:Math.max(a,0),h=n.extendRight?o:Math.min(l,o);return c>h||h<=0||c>=o?null:[new r.Point(c,e.y),new r.Point(h,t.y)]}_hitTestBackground(e,t,i,s){const o=this._extendAndClipLineSegment(t,i,s);return null!==o&&(0,n.pointInBox)(e,(0,r.box)(o[0],o[1]))?this._backHitTestResult:null}}},16282:(e,t,i)=>{"use strict";i.d(t,{ScaledPaneRenderer:()=>s,ScaledPaneRendererWrapper:()=>r});class s{draw(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._drawImpl(e,{...t,pixelRatio:1}),e.restore()}drawBackground(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._drawBackgroundImpl(e,{...t,pixelRatio:1}),e.restore()}_drawBackgroundImpl(e,t){}}class r{constructor(e){this._base=e}hitTest(e,t){return this._base.hitTest(e,t)}draw(e,t){e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._base.draw(e,{...t,pixelRatio:1}),e.restore()}drawBackground(e,t){ -e.save(),e.scale(t.pixelRatio,t.pixelRatio),e.translate(.5,.5),this._base.drawBackground&&this._base.drawBackground(e,{...t,pixelRatio:1}),e.restore()}}},13632:(e,t,i)=>{"use strict";var s;i.d(t,{StatsPosition:()=>s}),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(s||(s={}))},28113:(e,t,i)=>{"use strict";i.d(t,{StepLineDecoration:()=>s,PaneRendererStepLine:()=>g});var s,r=i(4652),n=i(84346),o=i(86441),a=i(29892),l=i(55257),c=i(49094),h=i(42759),d=i(68906);!function(e){e[e.None=0]="None",e[e.Diamonds=1]="Diamonds"}(s||(s={}));class u{initialize(e,t,i,s){var r,n,o,l;const c=e.lineStyle;t.lineCap="butt",t.lineJoin="round";const h=Math.max(Math.floor(null!==(n=null===(r=s.style)||void 0===r?void 0:r.width)&&void 0!==n?n:e.lineWidth*i.pixelRatio));void 0!==c&&(0,a.setLineStyle)(t,c);const d=h%2?.5:0;t.moveTo(Math.round(s.x*i.pixelRatio)+d,Math.round(s.y*i.pixelRatio)+d),t.strokeStyle=null!==(l=null===(o=s.style)||void 0===o?void 0:o.color)&&void 0!==l?l:e.lineColor,t.lineWidth=h}finishFragment(e){e.stroke()}hitTest(e,t,i,s,n){var a,l;const h=Math.round((i.x+s.x)/2),d=new o.Point(h,i.y),u=new o.Point(h,s.y),p=null!==(l=null===(a=i.style)||void 0===a?void 0:a.width)&&void 0!==l?l:e.lineWidth,_=(0,c.interactionTolerance)().series+p/2;return Math.min((0,r.distanceToSegment)(i,d,n).distance,(0,r.distanceToSegment)(d,u,n).distance,(0,r.distanceToSegment)(u,s,n).distance)<=_}applyColor(e,t){e.strokeStyle=t}applyLineWidth(e,t){e.lineWidth=t}drawItem(e,t,i,s){e.lineTo(i.x,i.y),void 0!==s&&(e.lineTo(s.x,i.y),e.lineTo(s.x,s.y))}}class p{constructor(){this._lineWidth=1}initialize(e,t,i,s){var r,n,o,a;this.applyColor(t,null!==(n=null===(r=s.style)||void 0===r?void 0:r.color)&&void 0!==n?n:e.lineColor),this._lineWidth=Math.max(Math.floor(null!==(a=null===(o=s.style)||void 0===o?void 0:o.width)&&void 0!==a?a:e.lineWidth*i.pixelRatio))}finishFragment(e){e.fill()}drawItem(e,t,i,s,r){if(r&&void 0!==s&&!Number.isNaN(s.y)){e.save(),e.translate(s.x,s.y),e.rotate(Math.PI/4);const i=this._scaleByLineWidth(this._lineWidth);e.scale(i,i),this._drawItemRotatedAndTranslated(e,t),e.restore()}}applyLineWidth(e,t){this._lineWidth=t}hitTest(e,t,i,s,r){var n,a;if(!s.valIsNotSameAsPrev)return!1;const l=Math.round((i.x+s.x)/2),c=new o.Point(l,s.y),h=r.subtract(c),d=Math.max(Math.floor(null!==(a=null===(n=i.style)||void 0===n?void 0:n.width)&&void 0!==a?a:e.lineWidth*t.pixelRatio));return this._hitTestTranslated(h,d)}_scaleByLineWidth(e){return Math.sqrt(e)}}class _ extends p{applyColor(e,t){e.fillStyle=t}_hitTestTranslated(e,t){return Math.abs(e.x)+Math.abs(e.y)<8*this._scaleByLineWidth(t)/2}_drawItemRotatedAndTranslated(e,t){(0,h.drawRoundRect)(e,-4,-4,8,8,2,!0)}}class m extends p{applyColor(e,t){e.fillStyle=(0,d.applyTransparency)(t,85)}_hitTestTranslated(e,t){return Math.abs(e.x)+Math.abs(e.y)<21*this._scaleByLineWidth(t)/2}_drawItemRotatedAndTranslated(e,t){(0,h.drawRoundRect)(e,-10.5,-10.5,21,21,5,!0)}}class g{constructor(e){this._data=null,this._data=null!=e?e:null}setData(e){this._data=e}hitTest(e,t){var i -;const r=this._data;if(null===r||0===r.items.length)return null;const o=r.items,a=(0,l.lowerbound)(o,e,(e,t)=>e.x<=t.x),c=Math.max(0,a-1),h=Math.min(o.length-1,a+1),d=function(e){switch(e){case s.Diamonds:return[new u,new m];default:return[new u]}}(null===(i=this._data)||void 0===i?void 0:i.decoration);for(let i=c;ii.hitTest(r,t,s,a,e)))return new n.HitTestResult(n.HitTestResult.REGULAR)}return null}draw(e,t){if(null===this._data||0===this._data.items.length)return;e.save();(function(e){switch(e){case s.Diamonds:return[new u,new _,new m];default:return[new u]}})(this._data.decoration).forEach(i=>this._drawImpl(e,t,i)),e.restore()}_drawImpl(e,t,i){var s,r,n,a,l,c,h,d,u,p,_,m,g,f,v,S;if(null===this._data||0===this._data.items.length)return;const{lineWidth:y,lineColor:b,items:w}=this._data,C=t.pixelRatio;let P=Math.max(Math.floor(null!==(r=null===(s=w[0].style)||void 0===s?void 0:s.width)&&void 0!==r?r:y*C)),T=P%2?.5:0;i.initialize(this._data,e,t,w[0]);const x=null!==(a=null===(n=this._data.visibleItemsRange)||void 0===n?void 0:n.startItemIndex)&&void 0!==a?a:0,I=null!==(c=null===(l=this._data.visibleItemsRange)||void 0===l?void 0:l.endItemIndex)&&void 0!==c?c:w.length;if(!(I<=x)){e.beginPath(),i.applyColor(e,null!==(d=null===(h=w[x].style)||void 0===h?void 0:h.color)&&void 0!==d?d:b);for(let s=x;s{"use strict";i.d(t,{calculateLabelPosition:()=>p,wordWrap:()=>g,TextRenderer:()=>M});var s=i(86441),r=i(88537),n=i(34026),o=i(62820),a=i(84346),l=i(42759),c=i(29892),h=i(80643),d=i(93435),u=i(43891);function p(e,t,i,r,n){const o=.5*(t.x+i.x);let a=i.y;return t.y>i.y?(a-=e.height/2+r.y,a=Math.max(e.height/2,a)):(a+=e.height/2+r.y,a=Math.min(n-e.height/2,a)),new s.Point(o,a)}let _;function m(){const e=document.createElement("canvas");e.width=0,e.height=0,_=(0,r.ensureNotNull)(e.getContext("2d"))}function g(e,t,i){_||m(),i=(0,h.isString)(i)?parseInt(i):i,e+="";const s=!(0,h.isNumber)(i)||!isFinite(i)||i<=0?e.split(/\r\n|\r|\n|$/):e.split(/[^\S\r\n]*(?:\r\n|\r|\n|$)/);if(s[s.length-1]||s.pop(),!(0,h.isNumber)(i)||!isFinite(i)||i<=0)return s;_.font=t;const r=[];for(let e=0;e0&&_.measureText(o.slice(0,3*--e-1).join("")).width>i;);if(e>0)r.push(o.slice(0,3*e-1).join("")),o.splice(0,3*e);else{const e=o[0]+(o[1]||"");if(a=1===a?1:~~(i/_.measureText(e).width*e.length),_.measureText(e.substring(0,a)).width<=i)for(;_.measureText(e.substring(0,a+1)).width<=i;)a++;else for(;a>1&&_.measureText(e.substring(0,--a)).width>i;);a<1&&(a=1),r.push(e.substring(0,a)),o[0]=e.substring(a),o[1]=""}if(_.measureText(o.join("")).width<=i){r.push(o.join(""));break}}}return r}function f(e,t,i){if(0===i)return e.clone();const r=(e.x-t.x)*Math.cos(i)-(e.y-t.y)*Math.sin(i)+t.x,n=(e.x-t.x)*Math.sin(i)+(e.y-t.y)*Math.cos(i)+t.y;return new s.Point(r,n)}function v(e,t){const i=Math.round(t+2*C(e)+2*b(e));return i%2?i-1:i}function S(e,t){return T(e)*t+P(e)*(t-1)+2*w(e)+2*y(e)}function y(e){return void 0!==e.boxPaddingVert?e.boxPaddingVert*I(e):void 0!==e.boxPadding?e.boxPadding*I(e):T(e)/3}function b(e){return void 0!==e.boxPaddingHorz?e.boxPaddingHorz*I(e):void 0!==e.boxPadding?e.boxPadding*I(e):T(e)/3}function w(e){return(e.backgroundVertInflate||0)*I(e)}function C(e){return(e.backgroundHorzInflate||0)*I(e)}function P(e){return(e.padding||0)*I(e)}function T(e){return Math.ceil(x(e)*I(e))}function x(e){return e.fontsize||e.fontSize||30}function I(e){const t=Math.min(1,Math.max(.2,Math.min(e.scaleX||1,e.scaleY||1)));if(1===t)return t;const i=x(e);return Math.ceil(t*i)/i}class M{constructor(e,t){this._data=null,this._internalData=null,this._boxSize=null,this._polygonPoints=null,this._linesInfo=null,this._fontInfo=null,this._hittest=t||new a.HitTestResult(a.HitTestResult.MOVEPOINT,{areaName:a.AreaName.Text}),void 0!==e&&this.setData(e)}setData(e){e.horzTextAlign||(e.horzTextAlign=e.horzAlign),function(e,t){if(null===e||null===t)return null===e==(null===t);if(void 0===e.points!=(void 0===t.points))return!1;if(void 0!==e.points&&void 0!==t.points){if(e.points.length!==t.points.length)return!1;for(let r=0;re){const i=(0,s.box)(new s.Point(0,0),new s.Point(e,t));return this._getPolygonPoints().every(e=>!(0,n.pointInBox)(e,i))}return!1}setPoints(e,t){(0,r.ensureNotNull)(this._data).points=e,this._hittest=t||new a.HitTestResult(a.HitTestResult.MOVEPOINT)}fontStyle(e){return null===this._data?"":this._getFontInfo().fontStyle}wordWrap(e,t,i){return g(e,i||this.fontStyle(),t)}draw(e,t){if(null===this._data||void 0===this._data.points||0===this._data.points.length)return;if(this.isOutOfScreen(t.cssWidth,t.cssHeight))return;const i=t.pixelRatio,s=this._getInternalData(),r=this._getRotationPoint().scaled(i);e.save(),e.translate(r.x,r.y),e.rotate(this._data.angle||0),e.translate(-r.x,-r.y);const n=this._getFontInfo().fontSize;e.textBaseline=s.textBaseLine,e.textAlign=s.textAlign,e.font=this.fontStyle();const{scaledLeft:o,scaledRight:a,scaledTop:h,scaledBottom:p}=function(e,t){const i=Math.round(e.boxLeft*t),s=Math.round(e.boxTop*t);return{scaledLeft:i,scaledRight:i+Math.round(e.boxWidth*t),scaledTop:s,scaledBottom:s+Math.round(e.boxHeight*t)}}(s,i);if(this._data.backgroundColor||this._data.borderColor||this._data.highlightBorder&&this._data.wordWrapWidth){const t=this._data.borderWidth||Math.max(n/12,1),s=Math.round(t*i),r=s/2;let d=!1;if(this._data.boxShadow){e.save();const{shadowColor:t,shadowBlur:i,shadowOffsetX:s=0,shadowOffsetY:r=0}=this._data.boxShadow;e.shadowColor=t,e.shadowBlur=i,e.shadowOffsetX=s,e.shadowOffsetY=r,d=!0}if(this._data.backgroundRoundRect)this._data.backgroundColor&&((0,l.drawRoundRect)(e,o,h,a-o,p-h,this._data.backgroundRoundRect*i),e.fillStyle=this._data.backgroundColor,e.fill(),d&&(e.restore(),d=!1)),this._data.borderColor&&((0,l.drawRoundRect)(e,o-r,h-r,a-o+s,p-h+s,this._data.backgroundRoundRect*i+s),e.strokeStyle=this._data.borderColor,e.lineWidth=s,e.stroke(),d&&(e.restore(),d=!1));else if(this._data.backgroundColor&&(e.fillStyle=this._data.backgroundColor,e.fillRect(o,h,a-o,p-h),d&&(e.restore(),d=!1)),this._data.borderColor||this._data.highlightBorder){let t;this._data.borderColor?(e.strokeStyle=this._data.borderColor,t=s):(e.strokeStyle=this._data.color,(0,c.setLineStyle)(e,u.LINESTYLE_DASHED),t=Math.max(1,Math.floor(i))), -e.lineWidth=t,e.beginPath(),e.moveTo(o-t/2,h-t/2),e.lineTo(o-t/2,p+t/2),e.lineTo(a+t/2,p+t/2),e.lineTo(a+t/2,h-t/2),e.lineTo(o-t/2,h-t/2),e.stroke(),d&&e.restore()}}e.fillStyle=this._data.color;const _=(o+Math.round(s.textStart*i))/i,m=.05*n;let g=(h+Math.round((s.textTop+m)*i))/i;const f=P(this._data),v=this._getLinesInfo();for(const t of v.lines)(0,d.drawScaled)(e,i,()=>e.fillText(t,_,g)),g+=n+f;e.restore()}_getLinesMaxWidth(e){if(_||m(),_.textBaseline="alphabetic",_.font=this.fontStyle(),null!==this._data&&this._data.wordWrapWidth&&!this._data.forceCalculateMaxLineWidth)return this._data.wordWrapWidth*I(this._data);let t=0;for(const i of e)t=Math.max(t,_.measureText(i).width);return t}_getInternalData(){if(null!==this._internalData)return this._internalData;const e=(0,r.ensureNotNull)(this._data),t=this._getBoxSize(),i=t.boxWidth,s=t.boxHeight,n=(0,r.ensureDefined)(e.points)[0];let a=n.y;switch(e.vertAlign){case"bottom":a-=s+e.offsetY;break;case"middle":a-=s/2;break;case"top":a+=e.offsetY}let l=n.x;const c=b(e),h=y(e),d=C(e)+c;let u;const p=a+(w(e)+h)+T(e)/2;let _;switch(e.horzAlign){case"left":l+=e.offsetX;break;case"center":l-=i/2;break;case"right":l-=i+e.offsetX}switch((0,r.ensureDefined)(e.horzTextAlign)){case"left":_="start",u=l+d,(0,o.isRtl)()&&(e.forceTextAlign?_="left":(u=l+i-d,_="right"));break;case"center":_="center",u=l+i/2;break;case"right":_="end",u=l+i-d,(0,o.isRtl)()&&e.forceTextAlign&&(_="right")}return this._internalData={boxLeft:l,boxTop:a,boxWidth:i,boxHeight:s,textStart:u-l,textTop:p-a,textAlign:_,textBaseLine:"middle"},this._internalData}_getLinesInfo(){if(null===this._linesInfo){const e=(0,r.ensureNotNull)(this._data);let t=this.wordWrap(e.text,e.wordWrapWidth);if(void 0!==e.maxHeight){const i=function(e){const t=(0,r.ensureDefined)(e.maxHeight),i=T(e),s=P(e);return Math.floor((t+s)/(i+s))}(e);t.length>i&&(t=t.slice(0,i))}this._linesInfo={linesMaxWidth:this._getLinesMaxWidth(t),lines:t}}return this._linesInfo}_getFontInfo(){if(null===this._fontInfo){const e=(0,r.ensureNotNull)(this._data),t=T(e),i=(e.bold?"bold ":"")+(e.italic?"italic ":"")+t+"px "+e.font;this._fontInfo={fontStyle:i,fontSize:t}}return this._fontInfo}_getBoxSize(){if(null===this._boxSize){const e=this._getLinesInfo(),t=(0,r.ensureNotNull)(this._data);this._boxSize={boxWidth:v(t,e.linesMaxWidth),boxHeight:S(t,e.lines.length)}}return this._boxSize}_getPolygonPoints(){if(null!==this._polygonPoints)return this._polygonPoints;if(null===this._data)return[];const e=this._data.angle||0,{boxLeft:t,boxTop:i,boxWidth:r,boxHeight:n}=this._getInternalData(),o=this._getRotationPoint();return this._polygonPoints=[f(new s.Point(t,i),o,e),f(new s.Point(t+r,i),o,e),f(new s.Point(t+r,i+n),o,e),f(new s.Point(t,i+n),o,e)],this._polygonPoints}_getRotationPoint(){const{boxLeft:e,boxTop:t,boxWidth:i,boxHeight:n}=this._getInternalData(),{horzAlign:o,vertAlign:a}=(0,r.ensureNotNull)(this._data);let l,c;switch(o){case"center":l=e+i/2;break;case"left":l=e;break;case"right":l=e+i}switch(a){case"middle":c=t+n/2;break;case"top":c=t;break;case"bottom":c=t+n} -return new s.Point(l,c)}}},63300:(e,t,i)=>{"use strict";i.d(t,{drawArrow:()=>d,TrendLineRenderer:()=>u});var s=i(88537),r=i(4652),n=i(49612),o=i(84346),a=i(29892),l=i(49094),c=i(42759);function h(e,t,i,s,r){t.save(),t.fillStyle="#000000",t.beginPath(),t.arc(e.x*r,e.y*r,i*r,0,2*Math.PI,!1),t.fill(),s.strokeWidth&&(t.lineWidth=s.strokeWidth,t.stroke()),t.restore()}function d(e,t,i,s,r,n=!1){if(t.subtract(e).length()<1)return;const o=(0,l.getArrowPoints)(e,t,s,n);for(let e=0;e0&&(l[0].x===l[1].x?(0,c.drawVerticalLine)(e,Math.round(l[0].x*s),l[0].y*s,l[1].y*s):l[0].y===l[1].y?(0,c.drawHorizontalLine)(e,Math.round(l[0].y*s),l[0].x*s,l[1].x*s):(0,a.drawLine)(e,l[0].x*s,l[0].y*s,l[1].x*s,l[1].y*s)),i.overlayLineEndings&&this._drawEnds(e,o,i.linewidth,s)}hitTest(e,t){const i=this._data;if(null===i)return null;if("points"in i&&i.points.length<2)return null;const s=(0,l.interactionTolerance)().line,n=i.points[0],o=i.points[1],a=this._extendAndClipLineSegment(n,o,t);if(null!==a){if((0,r.distanceToSegment)(a[0],a[1],e).distance<=s)return this._hittest}return null}_extendAndClipLineSegment(e,t,i){const r=(0,s.ensureNotNull)(this._data);return(0,l.extendAndClipLineSegment)(e,t,i.cssWidth,i.cssHeight,r.extendleft,r.extendright)}_drawEnds(e,t,i,r){const o=t[0],a=t[1],l=(0,s.ensureNotNull)(this._data);switch(l.leftend){case n.LineEnd.Arrow:d(a,o,e,i,r);break;case n.LineEnd.Circle:h(o,e,i,(0,s.ensureDefined)(l.endstyle),r)}switch(l.rightend){case n.LineEnd.Arrow:d(o,a,e,i,r);break;case n.LineEnd.Circle:h(a,e,i,(0,s.ensureDefined)(l.endstyle),r)}}}},44349:(e,t,i)=>{"use strict";i.d(t,{VerticalLineRenderer:()=>a});var s=i(84346),r=i(29892),n=i(42759),o=i(49094);class a{constructor(){this._data=null,this._hitTest=new s.HitTestResult(s.HitTestResult.MOVEPOINT)}setData(e){this._data=e}setHitTest(e){this._hitTest=e}hitTest(e){if(null===this._data||null===this._hitTest)return null;const t=(0,o.interactionTolerance)().line,i=Math.abs(e.x-this._data.x)<=t+this._data.linewidth/2,s=void 0===this._data.top||this._data.top-e.y<=t,r=void 0===this._data.bottom||e.y-this._data.bottom<=t;return i&&s&&r?this._hitTest:null}draw(e,t){if(null===this._data)return;if(this._data.linewidth<=0)return;if(this._data.x<-this._data.linewidth/2||this._data.x>t.cssWidth+this._data.linewidth/2)return;const i=t.pixelRatio;e.lineCap="butt",e.strokeStyle=this._data.color, -e.lineWidth=Math.max(1,Math.floor(this._data.linewidth*i)),void 0!==this._data.linestyle&&(0,r.setLineStyle)(e,this._data.linestyle);const s=void 0!==this._data.top?Math.max(this._data.top,0):0,o=void 0!==this._data.bottom?Math.min(this._data.bottom,t.cssHeight):t.cssHeight,a=Math.round(this._data.x*i),l=Math.floor(s*i),c=Math.ceil(o*i);(0,n.drawVerticalLine)(e,a,l,c)}}},59555:(e,t,i)=>{"use strict";i.d(t,{sortSourcesPreOrdered:()=>s,sortSources:()=>r});const s={ChartEventsSource:10000001,Dividends:10000002,Splits:10000003,Earnings:10000004,RollDates:10000005,LineToolOrder:10000006,LineToolPosition:10000007,LineToolExecution:10000008,AlertLabel:10000009};function r(e){return[...e].sort((e,t)=>e.zorder()-t.zorder())}},71053:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PlotRowSearchMode:()=>a,PlotList:()=>h,mergeMinMax:()=>d,mergePlotRows:()=>u});var s=i(88537),r=i(55257),n=i(2271);const o=(0,i(98125).getLogger)("Chart.PlotList");var a;!function(e){e[e.NearestLeft=-1]="NearestLeft",e[e.Exact=0]="Exact",e[e.NearestRight=1]="NearestRight"}(a||(a={}));function l(e){return e.index}function c(e){return e.value[0]}class h{constructor(e=null,t=null){this._items=[],this._start=0,this._end=0,this._shareRead=!1,this._minMaxCache=new Map,this._rowSearchCacheByIndex=new Map,this._rowSearchCacheByIndexWithoutEmptyValues=new Map,this._rowSearchCacheByTime=new Map,this._rowSearchCacheByTimeWithoutEmptyValues=new Map,this._plotFunctions=e||new Map,this._emptyValuePredicate=t}clear(){this._items=[],this._start=0,this._end=0,this._shareRead=!1,this._minMaxCache.clear(),this._invalidateSearchCaches()}first(){return this.size()>0?this._items[this._start]:null}last(){return this.size()>0?this._items[this._end-1]:null}firstIndex(){return this.size()>0?this._indexAt(this._start):null}lastIndex(){return this.size()>0?this._indexAt(this._end-1):null}size(){return this._end-this._start}isEmpty(){return 0===this.size()}contains(e){return null!==this.search(e,a.Exact)}valueAt(e){const t=this.search(e);return null!==t?t.value:null}add(e,t){if(this._shareRead)return o.logDebug("add: readonly collection modification attempt"),!1;const i={index:e,value:t},s=this._nonCachedSearch(e,a.Exact,l);return this._invalidateSearchCaches(),null===s?(this._items.splice(this._lowerbound(e,l),0,i),this._start=0,this._end=this._items.length,!0):(this._items[s]=i,!1)}search(e,t=a.Exact,i){return this._searchImpl(e,t,this._rowSearchCacheByIndex,this._rowSearchCacheByIndexWithoutEmptyValues,l,i)}searchByTime(e,t=a.Exact,i){return this._searchImpl(e,t,this._rowSearchCacheByTime,this._rowSearchCacheByTimeWithoutEmptyValues,c,i)}fold(e,t){let i=t;for(let t=this._start;t=i;--t){ -const i=this._indexAt(t),s=this._valueAt(t);if(e(i,s))return{index:i,value:s}}return null}each(e){for(let t=this._start;t!1,next:()=>{throw new Error("Invalid operation")}};let r=i-1;return{hasNext:()=>r(r+=1,this._items[r])}}minMaxOnRangeCached(e,t,i){if(this.isEmpty())return null;let s=null;for(const r of i){s=d(s,this._minMaxOnRangeCachedImpl(e-r.offset,t-r.offset,r.name))}return s}minMaxOnRange(e,t,i){if(this.isEmpty())return null;let s=null;for(const r of i){s=d(s,this._minMaxOnRange(e-r.offset,t-r.offset,r.name))}return s}merge(e){return this._shareRead?(o.logDebug("merge: readonly collection modification attempt"),null):0===e.length?null:this.isEmpty()||e[e.length-1].indexthis._items[this._items.length-1].index?this._append(e):1===e.length&&e[0].index===this._items[this._items.length-1].index?(this._updateLast(e[0]),e[0]):this._merge(e)}addTail(e,t=!1){let i=0;t&&this._end-this._start>0&&(i=1,this._items[this._end-this._start-1].value=e[0].value);for(let t=i;tvoid 0!==e).sort((e,t)=>e.index-t.index),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._start=0,this._end=this._items.length}remove(e){if(this._shareRead)return o.logDebug("remove: readonly collection modification attempt"),null;const t=this._nonCachedSearch(e,a.NearestRight,l);if(null===t)return null;const i=this._items.splice(t);return this._end=this._items.length,this._minMaxCache.clear(),this._invalidateSearchCaches(),i.length>0?i[0]:null}state(){return{start:this._start,end:this._end,data:this._items,shareread:this._shareRead}}restoreState(e){e?(this._start=e.start,this._end=e.end,this._shareRead=e.shareread,this._items=e.data,this._minMaxCache.clear(),this._invalidateSearchCaches()):this.clear()}_indexAt(e){return this._items[e].index}_valueAt(e){return this._items[e].value}_length(){return this._items.length}_searchImpl(e,t,i,s,r,n){const o=void 0!==n?i:s,a=void 0!==n?1e4*(t+1)+n:t;let l=o.get(e);if(void 0!==l){const e=l.get(a) -;if(void 0!==e)return e}const c=this._nonCachedSearch(e,t,r,n);if(null===c)return null;const h={index:this._indexAt(c),value:this._valueAt(c)};return void 0===l&&(l=new Map,o.set(e,l)),l.set(a,h),h}_nonCachedSearch(e,t,i,s){const r=this._lowerbound(e,i),n=r===this._end||e!==i(this._items[r]);if(n&&t!==a.Exact)switch(t){case a.NearestLeft:return this._searchNearestLeft(r,s);case a.NearestRight:return this._searchNearestRight(r,s);default:throw new TypeError("Unknown search mode")}if(void 0===s||n||t===a.Exact)return n?null:r;switch(t){case a.NearestLeft:return this._nonEmptyNearestLeft(r,s);case a.NearestRight:return this._nonEmptyNearestRight(r,s);default:throw new TypeError("Unknown search mode")}}_nonEmptyNearestRight(e,t){const i=(0,s.ensure)(this._emptyValuePredicate),r=(0,s.ensure)(t);for(;e=this._start&&i(this._valueAt(e),r);)e-=1;return et(e)t.index>e,this._start,this._end)}_plotMinMax(e,t,i){let s=null;const r=this._plotFunctions.get(i);if(void 0===r)throw new Error(`Plot "${i}" is not registered`);for(let i=e;is.max&&(s.max=e)))}return s}_invalidateCacheForRow(e){const t=Math.floor(e.index/30);this._minMaxCache.forEach(e=>e.delete(t))}_prepend(e){return(0,s.assert)(!this._shareRead,"collection should not be readonly"),(0,s.assert)(0!==e.length,"plotRows should not be empty"),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._items=e.concat(this._items),this._start=0,this._end=this._items.length,e[0]}_append(e){return(0,s.assert)(!this._shareRead,"collection should not be readonly"),(0,s.assert)(0!==e.length,"plotRows should not be empty"),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._items=this._items.concat(e),this._start=0,this._end=this._items.length,e[0]}_updateLast(e){(0,s.assert)(!this.isEmpty(),"plot list should not be empty");const t=this._items[this._end-1];(0,s.assert)(t.index===e.index,"last row index should match new row index"),this._invalidateCacheForRow(e),this._invalidateSearchCaches(),this._items[this._end-1]=e}_merge(e){return(0,s.assert)(0!==e.length,"plot rows should not be empty"),this._invalidateSearchCaches(),this._minMaxCache.clear(),this._items=u(this._items,e),this._start=0,this._end=this._items.length,e[0]}_minMaxOnRangeCachedImpl(e,t,i){ -if(this.isEmpty())return null;let r=null;const n=(0,s.ensureNotNull)(this.firstIndex()),o=(0,s.ensureNotNull)(this.lastIndex()),a=Math.max(e,n),l=Math.min(t,o),c=30*Math.ceil(a/30),h=Math.max(c,30*Math.floor(l/30));r=d(r,this._minMaxOnRange(a,Math.min(c,t,l),i));let u=this._minMaxCache.get(i);void 0===u&&(u=new Map,this._minMaxCache.set(i,u));for(let e=Math.max(c+1,a);et[o].index?o++:(n++,o++,r--);return r}(e,t),s=new Array(i);let r=0,n=0;const o=e.length,a=t.length;let l=0;for(;rt[n].index?(s[l]=t[n],n++):(s[l]=t[n],r++,n++),l++;for(;r{"use strict";i.d(t,{PriceAxisView:()=>p});var s=i(86441),r=i(34026),n=i(71413),o=i(68906),a=i(62820),l=i(93435),c=i(84346),h=i(42759),d=i(56589);class u{constructor(e,t){this.setData(e,t)}setData(e,t){this._data=e,this._commonData=t}draw(e,t,i,s,r,n,c){var d,u,p;const _=this._data;if(!_.visible||this._isOutOfScreen(t,r))return;const m=this._commonData,g=void 0!==_.labelIcon,f=_.ignoreOffset?0:t.offsetSize,v=t.borderSize,S=t.paddingTop+m.additionalPaddingTop,y=t.paddingBottom+m.additionalPaddingBottom,b=t.paddingInner,w=t.paddingOuter,C=t.fontSize;let P=_.text,T=_.textColor||m.textColor,x=_.secondLine||"",I=m.secondLineTextColor||T,M=_.thirdLine||"";const L=m.thirdLineTextColor||T;0===x.length&&(x=M,I=L,M=""),0===P.length&&(P=x,T=I,x=M,I=L,M=""),e.save(),e.font=t.font;const A=i.yMidCorrection(e,P)*c,E=Math.ceil(i.measureText(e,P)),k=C+S+y,D=Boolean(x),V=Boolean(M),B=D?Math.ceil(i.measureText(e,x)):0,N=V?Math.ceil(i.measureText(e,M)):0,R=v+b+w+E+f,O=B>0?v+b+w+B+f:0,F=N>0?v+b+w+N+f:0,W=Math.max(R,O,F),H=Math.max(1,Math.floor(c));let z=Math.round(k*c);z%2!=H%2&&(z+=1);const U=Math.round((C+t.lineSpacing)*c),j=Math.round(2*(C+t.lineSpacing)*c),G=Math.max(1,Math.floor(v*c)),q=_.separatorVisible?G:0,Y=_.borderVisible?G:0,K=g?z:Math.round(W*c),$=Math.round(f*c),X=Math.ceil(s*c),Z=Math.ceil(b*c),J=Math.round((null!==(d=m.fixedCoordinate)&&void 0!==d?d:m.coordinate)*c)-Math.floor(.5*c),Q=Math.floor(J+H/2-z/2),ee=Q+z,te="right"===n,ie=te?X-q:q,se=X;let re,ne=ie;const oe=(0,o.resetTransparency)(null!==(u=_.backgroung)&&void 0!==u?u:m.background);e.fillStyle=oe;const ae=2*c;if(e.textAlign=te?"right":"left",e.textBaseline="middle",te?(ne=ie-K, -re=ie-$-Z-1):(ne=ie+K,re=ie+$+Z),P||g){const i=V?z+j:D?z+U:z;if(((t,s,r)=>{te?(0,h.drawRoundRectWithInnerBorder)(e,ne,Q,K,i,t,[ae,0,0,ae],Y,s,r):(0,h.drawRoundRectWithInnerBorder)(e,ie,Q,K,i,t,[0,ae,ae,0],Y,s,r)})(oe,null!==(p=m.borderColor)&&void 0!==p?p:oe,m.borderStyle),_.separatorVisible&&(e.fillStyle=t.paneBackgroundColor,e.fillRect(te?se-q:0,Q,q,ee-Q)),g){switch(_.labelIcon){case 0:this._drawPlusIcon(e,ie,ne,Q,J,ee,H);break;case 1:this._drawClockIcon(e,ie,ne,J,H,c)}return void e.restore()}e.save(),e.translate(re,(Q+ee)/2+A),(0,l.drawScaled)(e,c,()=>{e.fillStyle=T,e.fillText(P,0,0)}),e.restore()}D&&(e.fillStyle=I,e.save(),e.translate(re,(Q+ee)/2+A+U),(0,l.drawScaled)(e,c,()=>{e.fillText((0,a.startWithLTR)(x),0,0)}),e.restore()),V&&(e.fillStyle=L,e.save(),e.translate(re,(Q+ee)/2+A+j),(0,l.drawScaled)(e,c,()=>{e.fillText((0,a.startWithLTR)(M),0,0)}),e.restore()),e.restore()}height(e){const t=this._lines();return this._data.visible&&0!==t?t*e.fontSize+(t-1)*e.lineSpacing+e.paddingTop+this._commonData.additionalPaddingTop+e.paddingBottom+this._commonData.additionalPaddingBottom:0}hitTest(e){const t=this._data.hitTestData;if(void 0===t||!this._data.visible)return null;const i=(0,n.lastMouseOrTouchEventInfo)().isTouch?10:0,o=(0,s.box)(new s.Point(t.xl-i,t.y-i),new s.Point(t.xl+t.containerWidth+i,t.y+t.containerHeight+i)),a=t.left&&(0,r.pointInBox)(e,o),l=(0,s.box)(new s.Point(t.xr-i,t.y-i),new s.Point(t.xr+t.containerWidth+i,t.y+t.containerHeight+i)),h=t.right&&(0,r.pointInBox)(e,l);if(a||h){const i=a?"left":"right";return new c.HitTestResult(c.HitTestResult.CUSTOM,{cursorType:d.PaneCursorType.Default,clickHandler:void 0===t.clickHandler?void 0:t.clickHandler.bind(this,e,i),tapHandler:void 0===t.clickHandler?void 0:t.clickHandler.bind(this,e,i),tooltip:t.tooltip})}return null}_drawPlusIcon(e,t,i,s,r,n,o){e.fillStyle=this._commonData.textColor,e.strokeStyle=this._commonData.textColor,e.lineWidth=o;const a=Math.abs(t-i);let l=Math.round(.35*a);l%2!=o%2&&(l+=1);let c=Math.round(.65*a);c%2!=o%2&&(c+=1);const h=Math.floor((a-l)/2),d=Math.min(t,i),u=d+Math.floor(a/2-o/2);e.fillRect(d+h,r,l,o),e.fillRect(u,s+h,o,l),e.beginPath(),e.arc(u+o/2,r+o/2,c/2,0,2*Math.PI,!1),e.stroke()}_drawClockIcon(e,t,i,s,r,n){e.fillStyle=this._commonData.textColor,e.lineWidth=r;const o=Math.abs(t-i);let a=Math.round(.35*o);a%2!=r%2&&(a+=1);let l=Math.round(.65*o);l%2!=r%2&&(l+=1);const c=Math.min(t,i)+Math.floor(o/2-r/2);e.save(),e.translate(c+r/2-l/2,s+r/2-l/2),e.scale(n,n);const h=new Path2D("M7.5 0.8a1 1 0 0 0 0 13.4 1 1 0 0 0 0-13.4zm0 1a1 1 0 0 1 0 11 1 1 0 0 1 0-11zm-.97-.25A3.5 3.5 0 0 0 3.5 0 3.5 3.5 0 0 0 0 3.5a3.5 3.5 0 0 0 1.75 3.03l.5-.86A2.5 2.5 0 0 1 1 3.5 2.5 2.5 0 0 1 3.5 1a2.5 2.5 0 0 1 2.17 1.25zm6.72 4.78A3.5 3.5 0 0 0 15 3.5 3.5 3.5 0 0 0 11.5 0a3.5 3.5 0 0 0-3.03 1.75l.86.5A2.5 2.5 0 0 1 11.5 1 2.5 2.5 0 0 1 14 3.5a2.5 2.5 0 0 1-1.25 2.17zM7 5h1v5H7zm3 2v1H5V7z");e.fill(h),e.restore()}_lines(){const e=this._data;return(e.text?1:0)+(e.secondLine?1:0)+(e.thirdLine?1:0)}_isOutOfScreen(e,t){var i -;const s=this._commonData,r=null!==(i=s.fixedCoordinate)&&void 0!==i?i:s.coordinate,n=this.height(e),o=n/this._lines();return r-o/2-3>t||r+(n-o/2)+3<0}}class p{constructor(e){this._commonRendererData={coordinate:0,textColor:"#FFF",background:"#000",additionalPaddingBottom:0,additionalPaddingTop:0},this._axisRendererData={text:"",visible:!1,separatorVisible:!1,borderVisible:!1,ignoreOffset:!1},this._paneRendererData={text:"",visible:!1,separatorVisible:!0,borderVisible:!1,ignoreOffset:!0},this._invalidated=!0,this._axisRenderer=new(e||u)(this._axisRendererData,this._commonRendererData),this._paneRenderer=new(e||u)(this._paneRendererData,this._commonRendererData)}text(){return this._updateRendererDataIfNeeded(),this._axisRendererData.text}secondLineText(){return this._updateRendererDataIfNeeded(),this._axisRendererData.secondLine}thirdLineText(){return this._updateRendererDataIfNeeded(),this._axisRendererData.thirdLine}background(){return this._updateRendererDataIfNeeded(),this._commonRendererData.background}color(){return this._updateRendererDataIfNeeded(),this.generateTextColor(this.background())}generateTextColor(e){return(0,o.colorFromBackground)(e)}coordinate(){return this._updateRendererDataIfNeeded(),this._commonRendererData.coordinate}floatCoordinate(){var e;return this._updateRendererDataIfNeeded(),null!==(e=this._commonRendererData.floatCoordinate)&&void 0!==e?e:this._commonRendererData.coordinate}update(e){this._invalidated=!0}height(e){return this._updateRendererDataIfNeeded(),Math.max(this._axisRenderer.height(e),this._paneRenderer.height(e))}getFixedCoordinate(){return this._commonRendererData.fixedCoordinate||0}setFixedCoordinate(e){this._commonRendererData.fixedCoordinate=e}isVisible(){return this._updateRendererDataIfNeeded(),this._axisRendererData.visible||this._paneRendererData.visible}isAxisLabelVisible(){return this._updateRendererDataIfNeeded(),this._axisRendererData.visible}isPaneLabelVisible(){return this._updateRendererDataIfNeeded(),this._paneRendererData.visible}renderer(){return this._updateRendererDataIfNeeded(),this._axisRenderer}paneRenderer(){return this._updateRendererDataIfNeeded(),this._paneRenderer}setPaneRendererLabelIcon(e){this._paneRendererData.labelIcon=e}setPaneLabelVisible(e){this._paneRendererData.visible=e,this._invalidated=!0}ignoreAlignment(){return!1}_updateRendererDataIfNeeded(){this._invalidated&&(this._commonRendererData.fixedCoordinate=void 0,this._updateRendererData(this._axisRendererData,this._paneRendererData,this._commonRendererData),this._invalidated=!1)}}},22932:(e,t,i)=>{"use strict";i.d(t,{isPriceDataSource:()=>a,PriceDataSource:()=>l});var s=i(62443),r=i(2872),n=i.n(r),o=i(79680);function a(e){return e instanceof l}class l extends s.DataSource{constructor(e,t){super(t),this._formatterChanged=new(n()),this._priceStepChanged=new(n()),this._currencyChanged=new(n()),this._unitChanged=new(n()),this._priceRangeReadyChanged=new(n()),this._priceStep=null,this._priceRangeReady=!0,this._model=e}barColorer(){return null}base(){return 0}model(){return this._model} -currencyChanged(){return this._currencyChanged}isCurrencySource(){return!0}unitChanged(){return this._unitChanged}isUnitSource(){return!0}priceRange(e,t){return null}isDraggable(){return!0}priceLineColor(e){return e}formatterChanged(){return this._formatterChanged}priceStep(e){return this._priceStep}priceStepChanged(){return this._priceStepChanged}isIncludedInAutoScale(){return!0}correctScaleMargins(e){return e}priceRangeReady(){return this._priceRangeReady}priceRangeReadyChanged(){return this._priceRangeReadyChanged}disablePriceRangeReady(){const e=this.priceScale();null===e||e.isAutoScale()||e.mainSource()!==this||(this._priceRangeReady=!1,e.recalculatePriceRangeOnce()),this._priceRangeReadyChanged.fire(!1)}statusView(){return null}legendView(){return null}marketStatusModel(){return null}dataUpdatedModeModel(){return null}dataProblemModel(){return null}_enablePriceRangeReady(){this._priceRangeReady=!0,this._priceRangeReadyChanged.fire(!0)}_onSourceCurrencyChanged(){(0,o.isActingAsSymbolSource)(this)||this._currencyChanged.fire()}_onSourceUnitChanged(){(0,o.isActingAsSymbolSource)(this)||this._unitChanged.fire()}_onSourcePriceRangeReadyChanged(e){(0,o.isActingAsSymbolSource)(this)||e||this.disablePriceRangeReady()}}},55057:(e,t,i)=>{"use strict";i.d(t,{PriceLineAxisView:()=>c,SeriesPriceLineAxisView:()=>h,StudyPriceLineAxisView:()=>d});var s=i(97938),r=i(88537),n=i(29892),o=i(43891),a=i(42759);class l{constructor(e,t){this.setData(e,t)}setData(e,t){this._data=e,this._commonData=t}draw(e,t,i,s,l,c,h){var d;if(!this._data.visible)return;const u=null!==(d=this._commonData.fixedCoordinate)&&void 0!==d?d:this._commonData.coordinate;e.lineWidth=Math.max(1,Math.floor((0,r.ensureDefined)(this._data.linewidth)*h)),e.lineCap="butt",(0,n.setLineStyle)(e,void 0===this._data.linestyle?o.LINESTYLE_DOTTED:this._data.linestyle),e.strokeStyle=this._commonData.textColor,(0,a.drawHorizontalLine)(e,Math.round(u*h),0,Math.ceil(s*h))}height(e){return 0}}class c extends s.PriceAxisView{constructor(e){super(e||l)}ignoreAlignment(){return!0}_updateRendererData(e,t,i){if(t.visible=!1,e.visible=!1,!this._isVisible())return;const s=this._value();s.noData||(i.background="",i.textColor=this._priceLineColor(s.color),i.coordinate=s.coordinate,i.floatCoordinate=s.floatCoordinate,e.linewidth=this._lineWidth(),e.linestyle=this._lineStyle(),e.backgroundAreaVisible=this._backgroundAreaVisible(),e.backgroundAreaColor=this._backgroundAreaColor(),e.backgroundAreaHeight=this._backgroundAreaHeight(),e.visible=!0)}_lineStyle(){return o.LINESTYLE_DOTTED}_backgroundAreaVisible(){return!1}_backgroundAreaColor(){return""}_backgroundAreaHeight(){return 0}}class h extends c{constructor(e){super(),this._series=e}_value(){return this._series.lastValueData(void 0,!0)}_priceLineColor(e){return this._series.priceLineColor(e)}_lineWidth(){return this._series.properties().childs().priceLineWidth.value()}_isVisible(){const e=this._series.model().properties().childs().scalesProperties.childs().showSeriesLastValue.value() -;return this._series.properties().childs().showPriceLine.value()&&e}}class d extends c{constructor(e,t){super(),this._study=e,this._plotname=t}_value(){return this._study.lastValueData(this._plotname,!0)}_lineWidth(){return this._study.properties().styles[this._plotname].linewidth.value()}_lineStyle(){return o.LINESTYLE_DOTTED}_priceLineColor(e){return e}_isVisible(){const e=this._study.model().properties().childs().scalesProperties.childs().showStudyLastValue.value();return this._study.properties().styles[this._plotname].trackPrice.value()&&e}}},27402:(e,t,i)=>{"use strict";i.d(t,{PriceScaleBase:()=>L});var s=i(88537),r=i(80643),n=i(2872),o=i.n(n),a=i(55257),l=i(69927),c=i(74477),h=i(56972),d=i(22932),u=i(2015),p=i.n(u),_=i(81851),m=i(79680),g=i(37667),f=i(79222),v=i(59555),S=i(64514);class y{constructor(e,t){if(this._base=e,this._integralDividers=t,(0,S.isBaseDecimal)(this._base))this._fractionalDividers=[2,2.5,2];else{this._fractionalDividers=[];for(let e=this._base;1!==e;){if(e%2==0)this._fractionalDividers.push(2),e/=2;else{if(e%5!=0)throw new Error("unexpected base");this._fractionalDividers.push(2),this._fractionalDividers.push(2.5),e/=5}if(this._fractionalDividers.length>100)throw new Error("something wrong with base")}}}tickSpan(e,t,i){const s=0===this._base?0:1/this._base;let r=Math.pow(10,Math.max(0,Math.ceil((0,S.log10)(e-t)))),n=0,o=this._integralDividers[0];for(;;){const e=(0,S.greaterOrEqual)(r,s,1e-14)&&r>s+1e-14,t=(0,S.greaterOrEqual)(r,i*o,1e-14),a=(0,S.greaterOrEqual)(r,1,1e-14);if(!(e&&t&&a))break;r/=o,o=this._integralDividers[++n%this._integralDividers.length]}if(r<=s+1e-14&&(r=s),r=Math.max(1,r),this._fractionalDividers.length>0&&(0,S.equal)(r,1,1e-14))for(n=0,o=this._fractionalDividers[0];(0,S.greaterOrEqual)(r,i*o,1e-14)&&r>s+1e-14;)r/=o,o=this._fractionalDividers[++n%this._fractionalDividers.length];return r}}class b{constructor(e,t,i,s){this._marks=null,this._priceScale=e,this._base=t,this._coordinateToLogicalFunc=i,this._logicalToCoordinateFunc=s}base(){return this._base}setBase(e){if(e<0)throw new Error("base < 0");this._base=e}tickSpan(e,t,i=0){if(ei&&(l=c);const h=o.tickSpan(e,t,r);h>i&&(l=Math.min(l,h));const d=a.tickSpan(e,t,r);return d>i&&(l=Math.min(l,d)),l>0?l:e-t}rebuildTickMarks(){this._marks=null}marks(){return null===this._marks&&(this._marks=this._rebuildTickMarksImpl()),this._marks}_fontHeight(){return this._priceScale.fontSize()}_tickMarkHeight(){return Math.ceil(2.5*this._fontHeight())}_rebuildTickMarksImpl(){const e=this._priceScale,t=[],i=e.mainSource();if(e.isEmpty()||null===i)return t;let s=i.firstValue();null===s&&(s=0);const r=e.height(),n=this._coordinateToLogicalFunc(r-1,s),o=this._coordinateToLogicalFunc(0,s),a=Math.max(n,o),l=Math.min(n,o);if(a===l)return t;let c=this.tickSpan(a,l),h=a%c;h+=h<0?c:0;const d=a>=l?1:-1;let u=null -;const p=e.formatter();let _=NaN;for(let i=a-h;i>l;i-=c){i===_&&(c=this.tickSpan(a,l,c)),_=i;const r=this._logicalToCoordinateFunc(i,s);null!==u&&Math.abs(r-u)t!==e&&(0,d.isPriceDataSource)(t)&&!((0,_.isStudy)(t)&&t.isLinkedToSeries()))}updateAllViews(e){const t=this._getSourcesToUpdateViews();for(const i of t)i.updateAllViews(e)}logFormula(){return this._logFormula}state(){var e;const t=this._properties.childs();return{id:this._id,m_priceRange:(null===(e=this.priceRange())||void 0===e?void 0:e.serialize())||null,m_isAutoScale:this.isAutoScale(),m_isPercentage:t.percentage.value(),m_isIndexedTo100:t.indexedTo100.value(),m_isLog:t.log.value(),m_isLockScale:this.isLockScale(),m_isInverted:this.isInverted(),m_height:this.m_height,m_topMargin:this._margins.top,m_bottomMargin:this._margins.bottom,alignLabels:t.alignLabels.value(),logFormula:(0,r.clone)(this._logFormula)}}restoreState(e){let t=e.m_priceRange;if(void 0===t)throw new TypeError("invalid state");if(void 0===e.m_isAutoScale)throw new TypeError("invalid state");void 0!==e.id&&(this._id=e.id);const i={autoScale:e.m_isAutoScale};void 0!==e.m_isPercentage&&(i.percentage=e.m_isPercentage),void 0!==e.m_isIndexedTo100&&(i.indexedTo100=e.m_isIndexedTo100),void 0!==e.m_isLog&&(i.log=e.m_isLog),void 0!==e.m_isLockScale&&(i.lockScale=e.m_isLockScale),void 0!==e.m_isInverted&&this._properties.childs().isInverted.setValue(e.m_isInverted),void 0!==e.m_height&&this.setHeight(Math.max(0,e.m_height)),this.setMode(i),t?(t instanceof l.PriceRange||(t=new l.PriceRange(t)),this.setPriceRange(t,!0)):this.m_priceRange=null,e.logFormula&&(this._logFormula=e.logFormula),void 0!==e.m_topMargin&&(this._margins.top=e.m_topMargin),void 0!==e.m_bottomMargin&&(this._margins.bottom=e.m_bottomMargin),void 0!==e.alignLabels&&this._properties.childs().alignLabels.setValue(e.alignLabels),this._mainSource=null,this._scaleSeriesOnly=!1}priceToLogical(e){return this.isLog()&&e?(0,c.toLog)(e,this._logFormula):e}logicalToPrice(e){return this.isLog()?(0,c.fromLog)(e,this._logFormula):e}priceToCoordinate(e,t){const i=this._priceToPercentOrIndexedTo100IfNeeded(e,t);return this._logicalToCoordinate(i)}coordinateToPrice(e,t){let i=this._coordinateToLogical(e);return this.isPercentage()?i=(0,c.fromPercent)(i,t):this.isIndexedTo100()&&(i=(0,c.fromIndexedTo100)(i,t)),i}mainSource(){if(null!==this._mainSource)return this._mainSource;let e;for(const t of this.m_dataSources){if(t instanceof h.Series){e=t;break}!e&&(0,d.isPriceDataSource)(t)&&(e=t)}return this._mainSource=e||null, -this._correctedMarginsCache=null,this._mainSource}pricesArrayToCoordinates(e,t,i){this._makeSureItIsValid();const r=this.bottomPixelMargin(),n=(0,s.ensureNotNull)(this.priceRange()),o=n.minValue(),a=n.maxValue(),l=this.internalHeight()-1,h=this.isInverted(),d=l/(a-o);void 0===i&&(i=e.length);const u=this.isPercentage(),p=this.isIndexedTo100(),_=this.isLog(),m=this.m_height;let g,f;for(let s=0;se?(0,c.toLog)(e,this._logFormula):e),0===r.length)return;const d="open"in r[0],u="close"in r[0];if(null!==h)for(let e=0;ethis._currencyCache=null),e.unitChanged().subscribe(this,()=>this._unitCache=null),(0,m.isSymbolSource)(e)&&(this._seriesLikeSources.push(e),e.symbolResolved().subscribe(this,()=>{this._currencyCache=null,this._unitCache=null}),e.isActingAsSymbolSource().subscribe(this._boundOnSourceIsActingAsSymbolSourceChanged),e instanceof h.Series))){const t=e.properties();this._hasSeries||(t.childs().lockScale&&(this.setMode({lockScale:t.childs().lockScale.value()}),t.removeProperty("lockScale")),t.childs().pnfStyle.child("lockScale")&&t.childs().pnfStyle.removeProperty("lockScale")),this._hasSeries=!0}e.properties().visible.listeners().subscribe(this,this._dropScaleCache),(0,_.isStudy)(e)&&(e.onIsActualIntervalChange().subscribe(this,this._dropScaleCache),e.onHibernationStateChange().subscribe(this,this._dropScaleCache),0===this._studiesCount&&(0,C.hideAllIndicators)().subscribe(this,this._dropScaleCache),this._studiesCount++),(0,w.isLineTool)(e)&&(0===this._drawingCount&&(0,C.hideAllDrawings)().subscribe(this,this._dropScaleCache),this._drawingCount++),this.m_dataSources.push(e),this._mainSource=null,this._correctedMarginsCache=null,this._sourcesToUpdateViews=null,this._dropScaleCache(),this.updateFormatter(),this._initScaleProperties(),this.invalidateSourcesCache()}}removeDataSource(e){const t=this.m_dataSources.indexOf(e);if((0,s.assert)(-1!==t,"Source is not attached to scale"),e.properties().visible.listeners().unsubscribe(this,this._dropScaleCache),this.m_dataSources.splice(t,1),(0,d.isPriceDataSource)(e)){const t=this._priceDataSources.indexOf(e);if((0,s.assert)(-1!==t,"Source is not found"),this._priceDataSources.splice(t,1),(0,m.isSymbolSource)(e)){const t=this._seriesLikeSources.indexOf(e);(0,s.assert)(-1!==t,"Source is not found"),this._seriesLikeSources.splice(t,1),e.symbolResolved().unsubscribeAll(this),e.isActingAsSymbolSource().unsubscribe(this._boundOnSourceIsActingAsSymbolSourceChanged),e instanceof h.Series&&(this._hasSeries=!1)}e.currencyChanged().unsubscribeAll(this),e.unitChanged().unsubscribeAll(this)}this.mainSource()||this.setMode({autoScale:!0}),(0,_.isStudy)(e)&&(e.onIsActualIntervalChange().unsubscribe(this,this._dropScaleCache),e.onHibernationStateChange().unsubscribe(this,this._dropScaleCache),this._studiesCount--,0===this._studiesCount&&(0, -C.hideAllIndicators)().unsubscribe(this,this._dropScaleCache)),(0,w.isLineTool)(e)&&(this._drawingCount--,0===this._drawingCount&&(0,C.hideAllDrawings)().unsubscribe(this,this._dropScaleCache)),this._mainSource=null,this._correctedMarginsCache=null,this._sourcesForAutoscale=null,this._sourcesToUpdateViews=null,this.updateFormatter(),this.invalidateSourcesCache(),0===this.m_dataSources.length&&this._lastSourceRemoved.fire(),this._currencyCache=null,this._unitCache=null}currency(e){if(null!==this._currencyCache&&e.size()===this._currencyCache.availableCurrenciesCount)return this._currencyCache.value;let t;const i=new Set,r=new Set,n=new Set,o=new Map;let a,l=0===this._seriesLikeSources.length,c=!0,h=0,d=0;const u=this._seriesLikeSources.filter(m.isActingAsSymbolSource);for(const d of u){if(!d.isVisible())continue;const u=d.symbolInfo();if(null===u){t=null;break}const p=(0,g.symbolOriginalCurrency)(u);if(null===p){t=null;break}o.set(p,(0,s.ensureNotNull)((0,g.symbolOriginalCurrency)(u,!0)));const _=d.currency();if(null===_){t=null;break}o.set(_,(0,s.ensureNotNull)((0,g.symbolCurrency)(u,!0)));const m=(0,g.symbolBaseCurrency)(u);null!==m&&r.add(m),c=c&&p===_,n.add(_),i.add(p),void 0===a?a=_:null!==a&&a!==_&&(a=null),l||e.convertible(_)&&(0,g.symbolCurrencyConvertible)(u)||(l=!0),h+=1}if(null!==t)for(const i of this._priceDataSources){if(u.includes(i))continue;const r=i;if(!r.isCurrencySource()||!r.isVisible())continue;const c=r.currency();if(null===c){t=null;break}n.add(c),d+=1;const h=(0,s.ensureNotNull)(r.symbolSource()),p=r.currencySourceSymbolInfo();if(null===p){t=null;break}if(l||e.convertible(c)&&(0,g.symbolCurrencyConvertible)(p)||(l=!0),o.set(c,(0,s.ensureNotNull)((0,g.symbolCurrency)(p,!0))),u.includes(h)||(l=!0),void 0===a)a=c;else if(null!==a&&a!==c){a=null;break}}return void 0===t&&(t=0===h&&0===d?null:{readOnly:l,selectedCurrency:a||null,currencies:n,originalCurrencies:i,baseCurrencies:r,symbolSourceCount:h,allCurrenciesAreOriginal:c,displayedValues:o}),this._currencyCache={value:t,availableCurrenciesCount:e.size()},t}unit(e){if(null!==this._unitCache&&e.size()===this._unitCache.availableUnitsCount)return this._unitCache.value;let t;const i=new Set,r=new Set,n=new Map,o=new Map;let l,c=0===this._seriesLikeSources.length?new Set:e.allGroups(),h=!0,d=0,u=0;const p=this._seriesLikeSources.filter(m.isActingAsSymbolSource);for(const s of p){if(!s.isVisible())continue;const u=s.symbolInfo();if(null===u){t=null;break}const p=(0,g.symbolOriginalUnit)(u,s.model().unitConversionEnabled());if(null===p){t=null;break}n.set(p,e.name(p)),o.set(p,e.description(p));const _=s.unit();if(null===_){t=null;break}if(n.set(_,e.name(_)),o.set(_,e.description(_)),h=h&&p===_,r.add(_),i.add(p),void 0===l?l=_:null!==l&&l!==_&&(l=null),c.size>0){const t=(0,f.unitConvertibleGroups)(u,_,e);c=(0,a.intersect)(c,new Set(t))}d+=1}if(null!==t)for(const i of this._priceDataSources){if(p.includes(i))continue;const h=i;if(!h.isUnitSource()||!h.isVisible())continue;const d=h.unit();if(null===d){t=null;break}r.add(d),u+=1;const _=(0, -s.ensureNotNull)(h.symbolSource()),m=_.symbolInfo();if(null===m){t=null;break}if(c.size>0){const t=(0,f.unitConvertibleGroups)(m,d,e);c=(0,a.intersect)(c,new Set(t))}if(n.set(d,e.name(d)),o.set(d,e.description(d)),p.includes(_)||(c=new Set),void 0===l)l=d;else if(null!==l&&l!==d){l=null;break}}if(void 0===t)if(0===d&&0===u)t=null;else{t={availableGroups:c,selectedUnit:l||null,units:r,originalUnits:i,symbolSourceCount:d,allUnitsAreOriginal:h,names:n,descriptions:o}}return this._unitCache={value:t,availableUnitsCount:e.size()},t}setMargins(e){if(!(0,r.isNumber)(e.top)||!(0,r.isNumber)(e.bottom))throw new TypeError("invalid margin");if(e.top<0||e.top>30||e.bottom<0||e.bottom>30)throw new RangeError("invalid margin");this._margins.top===e.top&&this._margins.bottom===e.bottom||(this._margins=e,this._correctedMarginsCache=null,this._invalidateInternalHeightCache(),this._marksCache=null)}topMargin(){return this._correctedMargins().top}bottomMargin(){return this._correctedMargins().bottom}invalidateMargins(){this._correctedMarginsCache=null}topPixelMargin(){return this.isInverted()?this.bottomMargin()*this.height()+this._bottomPixelMargin:this.topMargin()*this.height()+this._topPixelMargin}bottomPixelMargin(){return this.isInverted()?this.topMargin()*this.height()+this._topPixelMargin:this.bottomMargin()*this.height()+this._bottomPixelMargin}marks(){return this._makeSureItIsValid(),null===this._marksCache&&(this._markBuilder.rebuildTickMarks(),this._marksCache=this._markBuilder.marks(),this._onMarksChanged.fire()),this._marksCache}onMarksChanged(){return this._onMarksChanged}priceRangeInPrice(){if(this.isEmpty())return null;const e=this.mainSource();if(null===e)return null;const t=(0,s.ensureNotNull)(e.firstValue()),i=this.height();return{from:this.coordinateToPrice(i-1,t),to:this.coordinateToPrice(0,t)}}setPriceRangeInPrice(e){if(this.isPercentage()||this.isIndexedTo100())return;const t=this.isInverted(),i=t?this.bottomMargin():this.topMargin(),s=t?this.topMargin():this.bottomMargin(),r=this.isLog();let n=r?(0,c.toLog)(e.from,this._logFormula):e.from,o=r?(0,c.toLog)(e.to,this._logFormula):e.to;const a=o-n;n+=s*a,o-=i*a,this.setMode({autoScale:!1}),this.setPriceRange(new l.PriceRange(n,o)),this._marksCache=null,this._onMarksChanged.fire()}hasMainSeries(){return this._hasSeries}getStudies(){return this.dataSources().filter(_.isStudy)}lastSourceRemoved(){return this._lastSourceRemoved}sourcesForAutoscale(){return this._mainSource&&this._scaleSeriesOnly!==this._scalesProperties.childs().scaleSeriesOnly.value()&&(this._sourcesForAutoscale=null),this._sourcesForAutoscale||(this._sourcesForAutoscale=this._recalculateSourcesForAutoscale()),this._sourcesForAutoscale}recalculatePriceRange(e){this._invalidatedForRange={visibleBars:e,isValid:!1}}internalHeightChanged(){return this._internalHeightChanged}orderedSources(){if(this._cachedOrderedSoruces)return this._cachedOrderedSoruces;let e=this.m_dataSources.slice();return e=(0,v.sortSources)(e),this._cachedOrderedSoruces=e,this._cachedOrderedSoruces}invalidateSourcesCache(){ -this._cachedOrderedSoruces=null,this._sourcesToUpdateViews=null}startScale(e){var t,i;this.isEmpty()||this.isPercentage()||this.isIndexedTo100()||null!==this._scaleStartPoint||null!==this._priceRangeSnapshot||(this._scaleStartPoint=this.m_height-e,this._priceRangeSnapshot=null!==(i=null===(t=this.priceRange())||void 0===t?void 0:t.clone())&&void 0!==i?i:null)}scaleTo(e){if(this.isPercentage()||this.isIndexedTo100()||null===this._scaleStartPoint)return;this.setMode({autoScale:!1}),(e=this.m_height-e)<0&&(e=0);let t=(this._scaleStartPoint+.2*(this.m_height-1))/(e+.2*(this.m_height-1));const i=(0,s.ensureNotNull)(this._priceRangeSnapshot).clone();t=Math.max(t,.1),i.scaleAroundCenter(t),this.setPriceRange(i)}endScale(){this.isPercentage()||this.isIndexedTo100()||null!==this._scaleStartPoint&&(this._scaleStartPoint=null,this._priceRangeSnapshot=null)}startTwoPointsScale(e,t){if(this.isEmpty()||this.isPercentage()||this.isIndexedTo100()||null!==this._twoPointsScaleStartPosition)return;const i=Math.min(e,t),s=Math.max(e,t);this._twoPointsScaleStartPosition={topLogical:this._coordinateToLogical(i),bottomLogical:this._coordinateToLogical(s)}}twoPointsScale(e,t){if(this.isPercentage()||this.isIndexedTo100()||null===this._twoPointsScaleStartPosition)return;this.setMode({autoScale:!1});const i=Math.min(e,t),s=Math.max(e,t),{topLogical:r,bottomLogical:n}=this._twoPointsScaleStartPosition,o=this.bottomPixelMargin(),a=this.internalHeight()-1,c=(this._invertedCoordinate(i)-o)/a,h=(n-r)/((this._invertedCoordinate(s)-o)/a-c),d=r-h*c,u=d+h;this.setPriceRange(new l.PriceRange(this.priceToLogical(d),this.priceToLogical(u)))}endTwoPointsScale(){this._twoPointsScaleStartPosition=null}startScroll(e){var t,i;this.isAutoScale()||null===this._scrollStartPoint&&null===this._priceRangeSnapshot&&(this.isEmpty()||(this._scrollStartPoint=e,this._priceRangeSnapshot=null!==(i=null===(t=this.priceRange())||void 0===t?void 0:t.clone())&&void 0!==i?i:null))}scrollTo(e){if(this.isAutoScale())return;if(null===this._scrollStartPoint||null===this._priceRangeSnapshot)return;const t=this.priceRange();if(null===t)return;let i=e-this._scrollStartPoint;this.isInverted()&&(i*=-1);const s=i*(t.length()/(this.internalHeight()-1)),r=this._priceRangeSnapshot.clone();r.shift(s),this.setPriceRange(r,!0),this._marksCache=null}endScroll(){this.isAutoScale()||null!==this._scrollStartPoint&&(this._scrollStartPoint=null,this._priceRangeSnapshot=null)}_recalculateSourcesForAutoscale(){this._mainSource&&(this._scaleSeriesOnly=this._scalesProperties.childs().scaleSeriesOnly.value());const e=this._scaleSeriesOnly&&this._hasSeries;return this.m_dataSources.filter(t=>!!(t.properties().visible.value()||t instanceof h.Series)&&(e?t instanceof h.Series:(0,_.isStudy)(t)?!t.isSourceHidden()&&t.isIncludedInAutoScale():t.isIncludedInAutoScale()))}_updateAutoScaleDisabledProperty(e){const t=this._properties.childs(),i=t.indexedTo100.value()||t.percentage.value()||t.lockScale.value();e?t.autoScaleDisabled.setValueSilently(i):t.autoScaleDisabled.setValue(i)} -_setAutoScaleValueWithDependentProperties(e){const t=this._properties.childs();t.autoScale.setValueSilently(e),e&&(t.percentage.setValueSilently(!1),t.indexedTo100.setValueSilently(!1),t.lockScale.setValueSilently(!1),t.logDisabled.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_setLockScaleValueWithDependentProperties(e){const t=this._properties.childs();t.lockScale.setValueSilently(e),e&&(t.autoScale.setValueSilently(!1),t.percentage.setValueSilently(!1),t.indexedTo100.setValueSilently(!1),t.log.setValueSilently(!1)),t.percentageDisabled.setValueSilently(e),t.logDisabled.setValueSilently(e),this._updateAutoScaleDisabledProperty(!0)}_setPercentageValueWithDependentProperties(e){const t=this._properties.childs();t.percentage.setValueSilently(e),e&&(t.autoScale.setValueSilently(!0),t.log.setValueSilently(!1),t.lockScale.setValueSilently(!1),t.indexedTo100.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_setIndexedTo100ValueWithDependentProperties(e){const t=this._properties.childs();t.indexedTo100.setValueSilently(e),e&&(t.autoScale.setValueSilently(!0),t.log.setValueSilently(!1),t.lockScale.setValueSilently(!1),t.percentage.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_setLogValueWithDependentProperties(e){const t=this._properties.childs();t.log.setValueSilently(e),e&&(t.lockScale.setValueSilently(!1),t.percentage.setValueSilently(!1),t.indexedTo100.setValueSilently(!1)),this._updateAutoScaleDisabledProperty(!0)}_recalculatePriceRangeImpl(){const e=this._invalidatedForRange.visibleBars;if(null===e)return;let t=null;const i=this.sourcesForAutoscale(),s=this.isPercentage(),r=this.isIndexedTo100();let n=0,o=0;for(const a of i){if(!a.properties().visible.value())continue;const i=a.firstValue();if(null===i||s&&0===i)continue;const l=e.firstBar(),h=e.lastBar(),d=a.autoScaleInfo(l,h);let u=d.range;u&&(s?u=(0,c.toPercentRange)(u,i):r&&(u=(0,c.toIndexedTo100Range)(u,i)),t=null===t?u:t.merge(u)),void 0!==d.topPixelMargin&&(n=Math.max(n,d.topPixelMargin)),void 0!==d.bottomPixelMargin&&(o=Math.max(o,d.bottomPixelMargin))}if((Math.abs(n-this._topPixelMargin)>0||Math.abs(o-this._bottomPixelMargin)>0)&&(this._bottomPixelMargin=o,this._topPixelMargin=n,this._marksCache=null,this._invalidateInternalHeightCache()),t){if(t.minValue()===t.maxValue()&&(t=new l.PriceRange(t.minValue()-.5,t.maxValue()+.5)),this.isLog()){const e=this._convertPriceRangeFromLog(t),i=(0,c.logFormulaForPriceRange)(e);if(!(0,c.logFormulasAreSame)(i,this._logFormula)){const s=this._priceRangeSnapshot?this._convertPriceRangeFromLog(this._priceRangeSnapshot):null;this._logFormula=i,t=this._convertPriceRangeToLog(e),s&&(this._priceRangeSnapshot=this._convertPriceRangeToLog(s))}}this.setPriceRange(t)}else this.m_priceRange||(this.setPriceRange(new l.PriceRange(-.5,.5)),this._logFormula=(0,c.logFormulaForPriceRange)(null));this._invalidatedForRange.isValid=!0;const a=this.mainSource();null!==a&&this._recalculatePriceRangeOnce&&(this._recalculatePriceRangeOnce=!a.priceRangeReady())}_makeSureItIsValid(){ -this._invalidatedForRange.isValid||(this._invalidatedForRange.isValid=!0,this._recalculatePriceRangeImpl())}_invalidateInternalHeightCache(){this._internalHeightCache=null,this._internalHeightChanged.fire()}_coordinateToLogical(e){if(this._makeSureItIsValid(),this.isEmpty())return 0;const t=this._invertedCoordinate(e),i=(0,s.ensureNotNull)(this.priceRange()),r=i.minValue()+(i.maxValue()-i.minValue())*((t-this.bottomPixelMargin())/(this.internalHeight()-1));return this.logicalToPrice(r)}_logicalToCoordinate(e){if(this._makeSureItIsValid(),this.isEmpty())return 0;e=this.priceToLogical(e);const t=(0,s.ensureNotNull)(this.priceRange()),i=this.bottomPixelMargin()+(this.internalHeight()-1)*(e-t.minValue())/(t.maxValue()-t.minValue());return this._invertedCoordinate(i)}_dropScaleCache(){this._sourcesForAutoscale=null,this._currencyCache=null,this._unitCache=null}_invertedCoordinate(e){return this.isInverted()?e:this.height()-1-e}_initScaleProperties(){const e=this.isLockScale(),t=this.properties().childs();e&&(t.percentage.setValue(!1),t.indexedTo100.setValue(!1),t.log.setValue(!1),t.autoScale.setValue(!1)),t.percentageDisabled.setValue(e),t.logDisabled.setValue(e),this._updateAutoScaleDisabledProperty(!1),t.percentage.value()&&(t.log.setValue(!1),t.indexedTo100.setValue(!1)),t.indexedTo100.value()&&(t.log.setValue(!1),t.percentage.setValue(!1))}_correctedMargins(){if(null===this._correctedMarginsCache){const e=this.mainSource();this._correctedMarginsCache=null!==e?e.correctScaleMargins(this._margins):this._margins}return this._correctedMarginsCache}_getSourcesToUpdateViews(){return this._sourcesToUpdateViews||(this._sourcesToUpdateViews=this.m_dataSources.filter(e=>!(0,w.isLineTool)(e)||e.isActualSymbol()&&e.isActualCurrency())),this._sourcesToUpdateViews}_mainSourceFormatter(){const e=this.mainSource();return(null==e?void 0:e.formatter())||I}_priceToPercentOrIndexedTo100IfNeeded(e,t){return this.isPercentage()?(0,c.toPercent)(e,t):this.isIndexedTo100()?(0,c.toIndexedTo100)(e,t):e}_onSourceIsActingAsSymbolSourceChanged(){this._dropScaleCache()}}},3825:(e,t,i)=>{"use strict";var s;i.d(t,{PriceAxisLastValueMode:()=>s}),function(e){e[e.LastPriceAndPercentageValue=0]="LastPriceAndPercentageValue",e[e.LastValueAccordingToScale=1]="LastValueAccordingToScale"}(s||(s={}))},74477:(e,t,i)=>{"use strict";i.r(t),i.d(t,{fromPercent:()=>o,toPercent:()=>a,toPercentRange:()=>l,fromIndexedTo100:()=>c,toIndexedTo100:()=>h,toIndexedTo100Range:()=>d,toLog:()=>u,fromLog:()=>p,logFormulaForPriceRange:()=>_,logFormulasAreSame:()=>m,getCurrentModePriceText:()=>g,getOppositeModePriceText:()=>f});var s=i(69927),r=i(64514);const n={logicalOffset:4,coordOffset:1e-4};function o(e,t){return t<0&&(e=-e),e/100*t+t}function a(e,t){const i=100*(e-t)/(t||1);return t<0?-i:i}function l(e,t){const i=a(e.minValue(),t),r=a(e.maxValue(),t);return new s.PriceRange(i,r)}function c(e,t){return t<0&&(e=-e),(e-=100)/100*t+t}function h(e,t){const i=100*(e-t)/t+100;return t<0?-i:i}function d(e,t){const i=h(e.minValue(),t),r=h(e.maxValue(),t);return new s.PriceRange(i,r) -}function u(e,t){const i=Math.abs(e);if(i<1e-15)return 0;const s=(0,r.log10)(i+t.coordOffset)+t.logicalOffset;return e<0?-s:s}function p(e,t){const i=Math.abs(e);if(i<1e-15)return 0;const s=Math.pow(10,i-t.logicalOffset)-t.coordOffset;return e<0?-s:s}function _(e){if(null===e)return n;const t=Math.abs(e.maxValue()-e.minValue());if(t>=1||t<1e-15)return n;const i=Math.ceil(Math.abs(Math.log10(t))),s=n.logicalOffset+i;return{logicalOffset:s,coordOffset:1/Math.pow(10,s)}}function m(e,t){return e.logicalOffset===t.logicalOffset&&e.coordOffset===t.coordOffset}function g(e,t){return e.isPercentage()?t.formattedPricePercentage:e.isIndexedTo100()?t.formattedPriceIndexedTo100:t.formattedPriceAbsolute}function f(e,t){return e.isPercentage()||e.isIndexedTo100()?t.formattedPriceAbsolute:t.formattedPricePercentage}},69927:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PriceRange:()=>n});var s=i(80643);const r=(0,i(98125).getLogger)("Chart.PriceRange");class n{constructor(e,t){if(null!==e&&"object"==typeof e){const t=e;this._minValue=t.m_minValue,this._maxValue=t.m_maxValue}else{const i=e;this._minValue=i,void 0!==t&&(this._maxValue=t)}}equals(e){return this._minValue===e._minValue&&this._maxValue===e._maxValue}clone(){return new n(this._minValue,this._maxValue)}minValue(){return this._minValue}setMinValue(e){this._minValue=e}maxValue(){return this._maxValue}setMaxValue(e){this._maxValue=e}length(){return this._maxValue-this._minValue}isEmpty(){return this._maxValue===this._minValue||this._maxValue!=this._maxValue||this._minValue!=this._minValue}serialize(){return{m_maxValue:this._maxValue,m_minValue:this._minValue}}state(){return{max:this._maxValue,min:this._minValue}}merge(e){return new n(Math.min(this.minValue(),e.minValue()),Math.max(this.maxValue(),e.maxValue()))}apply(e,t){this._minValue=Math.min(this._minValue,e),this._maxValue=Math.max(this._maxValue,t)}set(e,t){this._minValue=e,this._maxValue=t}scaleAroundCenter(e){if(!(0,s.isNumber)(e))return void r.logDebug("PriceRange.scaleAroundCenter: invalid coeff");if(0===this._maxValue-this._minValue)return;const t=.5*(this._maxValue+this._minValue);let i=this._maxValue-t,n=this._minValue-t;i*=e,n*=e,this._maxValue=t+i,this._minValue=t+n}shift(e){(0,s.isNumber)(e)?(this._maxValue+=e,this._minValue+=e):r.logDebug("PriceRange.shift: invalid coeff")}containsStrictly(e){return e.minValue()>this._minValue&&e.maxValue(){"use strict";var s=i(2872),r=i(27402).PriceScaleBase,n=i(69927).PriceRange,o=i(9423).randomHash,a=i(74477),l=a.fromLog,c=a.toLog;class h extends r{constructor(e,t){super(t),this._scalesProperties=e;var i=this;this._modeChanged=new s,this._properties.isInverted.listeners().subscribe(this,h.prototype._onIsInvertedChanged),this._properties.listeners().subscribe(null,(function(){if(i.mainSource()&&i.mainSource().model()){var e=i.mainSource().model().paneForSource(i.mainSource());i.mainSource().model().updatePane(e)}})),this._scalesProperties.listeners().subscribe(this,(function(){ -this._marksCache=null})),this.setId(o())}_convertPriceRangeFromLog(e){if(null===e)return null;var t=l(e.minValue(),this._logFormula),i=l(e.maxValue(),this._logFormula);return new n(t,i)}_convertPriceRangeToLog(e){if(null===e)return null;var t=c(e.minValue(),this._logFormula),i=c(e.maxValue(),this._logFormula);return new n(t,i)}_canConvertPriceRangeFromLog(e){if(null===e)return!1;var t=l(e.minValue(),this._logFormula),i=l(e.maxValue(),this._logFormula);return isFinite(t)&&isFinite(i)}mode(){return{autoScale:this._properties.autoScale.value(),lockScale:this._properties.lockScale.value(),percentage:this._properties.percentage.value(),indexedTo100:this._properties.indexedTo100.value(),log:this._properties.log.value()}}setMode(e){var t={},i=this.mode(),s=this._properties.state(),r=null;void 0!==e.autoScale&&e.autoScale!==s.autoScale&&(t.autoScale=e.autoScale,this._setAutoScaleValueWithDependentProperties(e.autoScale)),void 0!==e.lockScale&&e.lockScale!==s.lockScale&&(t.lockScale=e.lockScale,this._setLockScaleValueWithDependentProperties(e.lockScale)),void 0!==e.percentage&&e.percentage!==s.percentage&&(t.percentage=e.percentage,this._setPercentageValueWithDependentProperties(e.percentage),this._invalidatedForRange.isValid=!1),void 0!==e.indexedTo100&&e.indexedTo100!==s.indexedTo100&&(t.indexedTo100=e.indexedTo100,this._setIndexedTo100ValueWithDependentProperties(e.indexedTo100),this._invalidatedForRange.isValid=!1),void 0!==e.log&&e.log!==s.log&&(t.log=e.log,this._setLogValueWithDependentProperties(e.log)),s.log&&!this._properties.log.value()&&(this._canConvertPriceRangeFromLog(this.m_priceRange)?null!==(r=this._convertPriceRangeFromLog(this.m_priceRange))&&this.setPriceRange(r):this.properties().autoScale.setValue(!0)),!s.log&&this._properties.log.value()&&null!==(r=this._convertPriceRangeToLog(this.m_priceRange))&&this.setPriceRange(r),s.autoScale!==this._properties.autoScale.value()&&this._properties.autoScale.listeners().fire(this._properties.autoScale),s.autoScaleDisabled!==this._properties.autoScaleDisabled.value()&&this._properties.autoScaleDisabled.listeners().fire(this._properties.autoScaleDisabled),s.lockScale!==this._properties.lockScale.value()&&this._properties.lockScale.listeners().fire(this._properties.lockScale),s.percentage!==this._properties.percentage.value()&&(this._properties.percentage.listeners().fire(this._properties.percentage),this.updateFormatter()),s.indexedTo100!==this._properties.indexedTo100.value()&&(this._properties.indexedTo100.listeners().fire(this._properties.indexedTo100),this.updateFormatter()),s.percentageDisabled!==this._properties.percentageDisabled.value()&&this._properties.percentageDisabled.listeners().fire(this._properties.percentageDisabled),s.log!==this._properties.log.value()&&this._properties.log.listeners().fire(this._properties.log),s.logDisabled!==this._properties.logDisabled.value()&&this._properties.logDisabled.listeners().fire(this._properties.logDisabled), -void 0===t.log&&void 0===t.percentage&&void 0===t.lockScale&&void 0===t.autoScale&&void 0===t.indexedTo100||this._modeChanged.fire(i,this.mode())}modeChanged(){return this._modeChanged}fontSize(){return this._scalesProperties.fontSize.value()}isEmpty(){return this._makeSureItIsValid(),0===this.m_height||!this.m_priceRange||this.m_priceRange.isEmpty()}_onIsInvertedChanged(){this._marksCache=null,this._markBuilder.rebuildTickMarks()}}t.PriceScale=h},32255:(e,t,i)=>{"use strict";i.d(t,{createPrimitiveProperty:()=>n});var s=i(2015),r=i.n(s);function n(e){return new(r())(e)}},45383:(e,t,i)=>{"use strict";i.d(t,{extractAllPropertiesKeys:()=>v,factoryDefaultsForCurrentTheme:()=>y,ThemedDefaultProperty:()=>w});var s=i(58121),r=i(99094),n=i(16230),o=i(98279),a=i(38651),l=i(88537),c=i(56840),h=i(98619),d=i(45345),u=i(26843),p=i(2015),_=i.n(p),m=i(59803),g=i(2872),f=i.n(g);function v(e){return new Set(Object.keys(e))}function S(e,t){const i={};for(const s of Object.keys(e))t.has(s)&&(i[s]=e[s]);return i}function y(e,t){var i;const r=null!==(i=d.watchedTheme.value())&&void 0!==i?i:u.StdTheme.Light,n=(0,h.deepCopy)(e);return(0,s.default)(n,(0,l.ensureDefined)(t.get(r))),n}function b(e,t){const i=(0,r.default)(e,(e,i,s)=>{if(void 0===t[s])return e;if(!(0,n.default)(i,t[s]))if((0,o.default)(i)&&(0,o.default)(t[s])){const r=b(i,t[s]);void 0!==r&&(e[s]=r)}else e[s]=i;return e},{});return(0,a.default)(i)?void 0:i}class w extends(_()){constructor(e,t,i,r,n){super(function(e,t,i){var r;const n=t(),o=(0,h.deepCopy)(null!==(r=c.getJSON(e,null))&&void 0!==r?r:{});return(0,s.default)(n,o),(0,s.default)(n,null!=i?i:{}),n}(e,t,n)),this._applyingThemeInProcess=!1,this._restoreFactoryDefaultsEvent=new(f()),this._defaultName=e,this._defaultsSupplier=t,this._notThemedDefaultsKeys=i,this._themedDefaultsKeys=r}restoreFactoryDefaults(){const e=this._defaultsSupplier();this.mergeAndFire(e),this.saveDefaults(),this._restoreFactoryDefaultsEvent.fire()}addExclusion(){}preferences(){const e=new Set([...this._themedDefaultsKeys,...this._notThemedDefaultsKeys]);return S(this.state(),e)}mergePreferences(e){const t=new Set([...this._themedDefaultsKeys,...this._notThemedDefaultsKeys]);this.mergeAndFire(S(e,t))}childChanged(e){super.childChanged(e),this._applyingThemeInProcess||this.saveDefaults()}saveDefaults(){const e=this.state(),t=this._defaultsSupplier();let i=b(S(e,this._notThemedDefaultsKeys),S(t,this._notThemedDefaultsKeys));const r=S(t,this._themedDefaultsKeys),n=S(e,this._themedDefaultsKeys),o=b(n,r);(0,a.default)(o)||(i=null!=i?i:{},(0,s.default)(i,n)),(0,m.saveDefaults)(this._defaultName,i)}}},65576:(e,t,i)=>{"use strict";i.d(t,{convertPropertyToWatchedValue:()=>n});var s=i(52714),r=i.n(s);function n(e){const t=new(r())(e.value());let i=!1;e.subscribe(t,()=>{i||(i=!0,t.setValue(e.value()),i=!1)});const s=()=>{i||(i=!0,e.setValue(t.value()),i=!1)};return t.subscribe(s),t.spawn(()=>{e.unsubscribeAll(t),t.unsubscribe(s)})}},81465:(e,t,i)=>{"use strict";i.d(t,{combineProperty:()=>o, -createWVFromGetterAndSubscription:()=>s.createWVFromGetterAndSubscription,createWVFromProperty:()=>r});var s=i(38021);i(3763);function r(e){return(0,s.createWVFromGetterAndSubscription)(()=>e.value(),e)}i(2015);var n=i(32255);function o(e,...t){const i=()=>e(...t.map(e=>e.value())),s=(0,n.createPrimitiveProperty)(i()),r=()=>s.setValue(i()),o={};for(const e of t)e.subscribe(o,r);return s.destroy=()=>{t.forEach(e=>e.unsubscribeAll(o))},s}},38021:(e,t,i)=>{"use strict";i.d(t,{createWVFromGetterAndSubscription:()=>n});var s=i(52714),r=i.n(s);function n(e,t){const i=new(r())(e()),s={};t.subscribe(s,()=>{i.setValue(e())});return i.readonly().spawn(()=>t.unsubscribeAll(s))}},3763:(e,t,i)=>{"use strict";i.d(t,{createWVFromGetterAndSubscriptions:()=>n});var s=i(52714),r=i.n(s);function n(e,t){const i=new(r())(e()),s={};t.forEach(t=>t.subscribe(s,()=>{i.setValue(e())}));return i.readonly().spawn(()=>t.forEach(e=>e.unsubscribeAll(s)))}},2015:(e,t,i)=>{"use strict";var s=i(2872),r=i(80643).isFunction;function n(e){if(this._listeners=new s,this._childs=[],this._muteChildChanges=!1,void 0!==e)if(this.isPrimitiveType(e))this._value=e;else for(var t in e)this.addProperty(t,e[t])}n.prototype.merge=function(e,t){var i=null;if(t)var s=(i=[]).length;if(void 0===e)return i;if(this.isPrimitiveType(e))return t&&this._value!==e&&i.push(this),this._value=e,i;if(Array.isArray(e))for(var r=0;rs&&i.push(this),i},n.prototype.mergeAndFire=function(e){var t=this.merge(e,!0);this._muteChildChanges=!0,t.forEach((function(e){e._muteChildChanges=!0})),t.forEach((function(e){e._muteChildChanges=!1,e.listeners().fire(e)})),this._muteChildChanges=!1,t.length>0&&this.listeners().fire(this)},n.prototype.state=function(e){var t=r(this.value)?this.value():void 0;void 0===t&&(t={});for(var i=0;i=0},n.prototype.addChild=function(e,t){this[e]&&this[e].unsubscribe(this,this.childChanged),this[e]=t,-1===this._childs.indexOf(e)&&this._childs.push(e),t.subscribe(this,this.childChanged)},n.prototype.childChanged=function(e,t){this._muteChildChanges||this.listeners().fire(this)},n.prototype.subscribe=function(e,t){this.listeners().subscribe(e,t,!1)},n.prototype.unsubscribe=function(e,t){this.listeners().unsubscribe(e,t)},n.prototype.unsubscribeAll=function(e){this.listeners().unsubscribeAll(e)},n.prototype.childs=function(){return this},e.exports=n},90810:(e,t,i)=>{"use strict";i.d(t,{QuotesProvider:()=>a});var s=i(39138),r=i(2872),n=i.n(r),o=i(9423);class a{constructor(e="full"){this._quotes=null,this._quoteSessionSymbol=null,this._quoteSessionClientId="",this._quotesUpdate=new(n()),this._quoteSymbolChanged=new(n()),this._multiplexerType=e}setQuotesSessionSymbol(e){this._quoteSessionSymbol!==e&&(this._quoteSessionClientId||(this._quoteSessionClientId="series-"+(0,o.guid)()),this._unsubscribeQuoteSession(),e&&this._subscribeQuoteSession(e),this._quoteSymbolChanged.fire())}quotesUpdate(){return this._quotesUpdate}quoteSymbolChanged(){return this._quoteSymbolChanged}quotes(){return this._quotes}destroy(){this._unsubscribeQuoteSession()}_onUpdate(e,t){this._quotes=e&&e.values||null,t&&t.values&&this._quotesUpdate.fire(e,t)}_subscribeQuoteSession(e){this._quoteSessionSymbol=e,(0,s.getQuoteSessionInstance)(this._multiplexerType).subscribe(this._quoteSessionClientId,this._quoteSessionSymbol,this._onUpdate.bind(this))}_unsubscribeQuoteSession(){this._quoteSessionSymbol&&((0,s.getQuoteSessionInstance)(this._multiplexerType).unsubscribe(this._quoteSessionClientId,this._quoteSessionSymbol),this._quoteSessionSymbol=null,this._quotes=null)}}},64237:(e,t,i)=>{"use strict";i.d(t,{rangesAreEqual:()=>n});var s=i(73383),r=i(29823);function n(e,t){return!!r.Interval.isEqual(e.res,t.res)&&(0,s.areEqualTimeFrames)(e.val,t.val)}},9315:(e,t,i)=>{"use strict";i.r(t),i.d(t,{normalizeIntervalString:()=>_,isAvailable:()=>m,setLastUsedResolution:()=>g,getRangeResolution:()=>f,getTimeBasedResolution:()=>v,getDefaultResolution:()=>S,getResolutionByChartStyle:()=>y,getServerInterval:()=>b,isResolutionMultiplierValid:()=>w,getMaxResolutionValue:()=>P,getResolutionsFromSettings:()=>T,convertResolutionsFromSettings:()=>x,mergeResolutions:()=>I,sortResolutions:()=>M,getCustomResolutions:()=>E,getTranslatedResolution:()=>k,getTranslatedResolutionModel:()=>D,isSecondsEnabled:()=>B,isTicksEnabled:()=>N});var s=i(28353),r=i(29823),n=i(37667),o=i(56840),a=i(82992),l=i(96397),c=i(80643),h=i(67337);const d={[r.ResolutionKind.Ticks]:1,[r.ResolutionKind.Seconds]:60,[r.ResolutionKind.Minutes]:1440, -[r.SpecialResolutionKind.Hours]:24,[r.ResolutionKind.Days]:365,[r.ResolutionKind.Weeks]:52,[r.ResolutionKind.Months]:12,[r.ResolutionKind.Range]:1e6,[r.ResolutionKind.Invalid]:NaN},u={[r.ResolutionKind.Ticks]:0,[r.ResolutionKind.Seconds]:1,[r.ResolutionKind.Minutes]:2,[r.SpecialResolutionKind.Hours]:3,[r.ResolutionKind.Days]:4,[r.ResolutionKind.Weeks]:5,[r.ResolutionKind.Months]:6,[r.ResolutionKind.Range]:7,[r.ResolutionKind.Invalid]:8},p={[r.ResolutionKind.Invalid]:"",[r.ResolutionKind.Ticks]:(0,s.t)("T",{context:"interval_short"}),[r.ResolutionKind.Seconds]:(0,s.t)("s",{context:"interval_short"}),[r.ResolutionKind.Minutes]:(0,s.t)("m",{context:"interval_short"}),[r.SpecialResolutionKind.Hours]:(0,s.t)("h",{context:"interval_short"}),[r.ResolutionKind.Days]:(0,s.t)("D",{context:"interval_short"}),[r.ResolutionKind.Weeks]:(0,s.t)("W",{context:"interval_short"}),[r.ResolutionKind.Months]:(0,s.t)("M",{context:"interval_short"}),[r.ResolutionKind.Range]:(0,s.t)("R",{context:"interval_short"})};function _(e){return r.Interval.parse(e).value()}function m(e){const t=r.Interval.parse(e);if(!B()&&t.isSeconds())return!1;if(!N()&&t.isTicks())return!1;const i=t.value(),s=a.linking.supportedResolutions.value();return void 0!==s?void 0!==s.find(e=>_(e)===i):t.isSeconds()?Boolean(a.linking.seconds.value()):t.isTicks()?Boolean(a.linking.ticks.value()):t.isIntraday()?Boolean(a.linking.intraday.value()):t.isDWM()}function g(e){r.Interval.isValid(e)&&(r.Interval.isRange(e)?o.setValue("chart.lastUsedRangeResolution",e):o.setValue("chart.lastUsedTimeBasedResolution",e))}function f(e){const t=o.getValue("chart.lastUsedRangeResolution");if(void 0!==t&&r.Interval.isRange(t))return t;let i="100R";for(const t of e){const e=r.Interval.parse(t);if(e.isRange()){const t=e.value();if("100R"===t)return t;i=t}}return i}function v(e){const t=o.getValue("chart.lastUsedTimeBasedResolution");if(void 0!==t&&r.Interval.isTimeBased(t))return t;let i="1D";for(const t of e){const e=r.Interval.parse(t);if(e.isTimeBased()){const t=e.value();if("1D"===t)return t;i=t}}return i}function S(e){return e?"100R":"1D"}function y(e,t,i){const s=n.isRangeStyle(e),o=r.Interval.isRange(t);return!s&&o?v(i):s&&!o?f(i):t}function b(e){return r.Interval.isRange(e)?"1":e}function w(e){const{interval:t,guiResolutionKind:i}=r.Interval.parseExt(e);if(!t.isValid())return!1;return(i===r.SpecialResolutionKind.Hours?t.multiplier()/60:t.multiplier())<=C(i)}function C(e){const t=d[e];return Number.isNaN(t)?1:t}function P(e){return C(r.Interval.parseExt(e).guiResolutionKind)}function T(e){const t=x(o.getJSON(e,[]));return(0,l.uniq)(t.filter(w).map(_))}function x(e){return Array.isArray(e)?e:Object.keys(e).map(r.Interval.normalize).filter(c.notNull)}function I(...e){let t=[].concat(...e);return t=(0,l.uniq)(t.filter(w).map(_)),M(t)}function M(e){return e.sort(A)}function L(e){const t=r.Interval.parse(e),i=t.multiplier()||1;return t.isMinuteHours()?[r.SpecialResolutionKind.Hours,i/60]:[t.kind(),i]}function A(e,t){const[i,s]=L(e),[r,n]=L(t);return i!==r?u[i]-u[r]:s-n}function E(){return[]} -function k(e){const{multiplier:t,shortKind:i}=D(e);return`${t}${i}`}function D(e,t){const i=r.Interval.parse(e);let s=i.multiplier(),n=i.kind();if(!i.isValid()){if(t)return null;throw new TypeError("Can't translate invalid interval")}return i.isMinuteHours()&&(s=Math.floor(s/60),n=r.SpecialResolutionKind.Hours),{multiplier:s.toString(),shortKind:V(n),hint:`${s} ${V(n,s)}`,mayOmitMultiplier:i.isDWM()&&1===s,mayOmitShortKind:i.isMinutes()&&!i.isMinuteHours()}}function V(e,t){if(!t)return p[e];switch(e){case r.ResolutionKind.Ticks:return(0,s.t)("tick",{plural:"ticks",count:t});case r.ResolutionKind.Days:return(0,s.t)("day",{plural:"days",count:t});case r.ResolutionKind.Weeks:return(0,s.t)("week",{plural:"weeks",count:t});case r.ResolutionKind.Months:return(0,s.t)("month",{plural:"months",count:t});case r.ResolutionKind.Seconds:return(0,s.t)("second",{plural:"seconds",count:t});case r.ResolutionKind.Minutes:return(0,s.t)("minute",{plural:"minutes",count:t});case r.SpecialResolutionKind.Hours:return(0,s.t)("hour",{plural:"hours",count:t});case r.ResolutionKind.Range:return(0,s.t)("range",{plural:"ranges",count:t});default:return e}}function B(){return h.enabled("seconds_resolution")}function N(){return h.enabled("tick_resolution")}},22423:(e,t,i)=>{"use strict";i.d(t,{scaleRatio:()=>r,priceRangeByScaleRatio:()=>n,barSpacingByScaleRatio:()=>o});var s=i(69927);function r(e,t){if(t.isLog()||e.isEmpty()||t.isEmpty())return null;const i=function(e){if(e.isEmpty())return null;const t=e.priceRange();if(null===t)return null;const i=t.length();return e.internalHeight()/i}(t);if(null===i)return null;return e.getValidBarSpacing()/Math.max(1e-10,i)}function n(e,t,i){if(e.isLog()||null===i||e.isEmpty())return null;const r=e.priceRange();if(null===r||r.isEmpty())return null;const n=e.internalHeight()/(t/i),o=r.length();if(n===o)return r;const a=(n-o)/2;return new s.PriceRange(r.minValue()-a,r.maxValue()+a)}function o(e,t){if(e.isLog()||null===t||e.isEmpty())return null;const i=e.priceRange();if(null===i)return null;const s=i.length();return e.internalHeight()/s*t}},74325:(e,t,i)=>{"use strict";i.d(t,{createPriceScaleSelectionStrategy:()=>l,allPriceScaleSelectionStrategyInfo:()=>c});var s=i(88537),r=i(28353),n=i(81851);class o{constructor(e){this._priceScalesLimit=8,this._metaInfo=e}metaInfo(){return this._metaInfo}findSuitableScale(e,t,i,s){if(void 0!==s)return this._tryToGetDesiredPriceScale(e,t,s,i);if((0,n.isStudy)(t)){const s=t.metaInfo();if("Volume"===s.shortId&&e.containsMainSeries())return e.createPriceScaleAtPosition("overlay");const r=t.desiredPriceScalePosition();if(null!==r)return this._tryToGetDesiredPriceScale(e,t,r,i);if(void 0!==i&&((0,n.isStudy)(i)||e.isMainPane())&&s.is_price_study)return this._getPriceScaleTheSameAsForSource(i,e)}let r=!1;if((0,n.isStudy)(t)){const i=t.metaInfo().groupingKey;if(void 0!==i){const t=e.model().findNonOverlayStudyWithGroupingKey(i,e);if(null!==t)return this._getPriceScaleTheSameAsForSource(t.study,t.pane)}r=Boolean(t.metaInfo().is_price_study)}else t===e.model().mainSeries()&&(r=!0) -;if(r){const t=this._findFirstScaleForPriceStudy(e);if(null!==t)return t}return this.createNewPriceScaleIfPossible(e)}canCreateNewPriceScale(e){return e.leftPriceScales().length+e.rightPriceScales().lengthi&&this._priceScaleIsPrice(e.rightPriceScales()[i],t))return e.rightPriceScales()[i];if(e.leftPriceScales().length>i&&this._priceScaleIsPrice(e.leftPriceScales()[i],t))return e.leftPriceScales()[i]}return null}_targetPriceScaleIndex(e,t){if(e.mainSource()===t.mainSeries())return 0}_tryToGetDesiredPriceScale(e,t,i,r){switch(i){case"left":return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("left"):e.createPriceScaleAtPosition("overlay");case"right":return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("right"):e.createPriceScaleAtPosition("overlay");case"as-series":return void 0!==r?(0,s.ensureNotNull)(r.priceScale()):e.isMainPane()?(0,s.ensureNotNull)((0,s.ensureNotNull)(e.mainDataSource()).priceScale()):this.createNewPriceScaleIfPossible(e);case"overlay":return e.createPriceScaleAtPosition("overlay")}}}const a=[{name:"left",title:(0,r.t)("Stack on the left"),ctor:class extends o{constructor(e){super(e)}apply(e){const t=e.model();e.rightPriceScales().slice(0).forEach(i=>e.movePriceScale(i,"left",this._targetPriceScaleIndex(i,t)))}createNewPriceScaleIfPossible(e){return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("left"):e.createPriceScaleAtPosition("overlay")}}},{name:"right",title:(0,r.t)("Stack on the right"),ctor:class extends o{constructor(e){super(e)}apply(e){const t=e.model();e.leftPriceScales().slice(0).forEach(i=>e.movePriceScale(i,"right",this._targetPriceScaleIndex(i,t)))}createNewPriceScaleIfPossible(e){return this.canCreateNewPriceScale(e)?e.createPriceScaleAtPosition("right"):e.createPriceScaleAtPosition("overlay")}}},{name:"auto",title:(0,r.t)("Auto"),ctor:class extends o{constructor(e){super(e)}apply(e){if(e.containsMainSeries()){const t=(0,s.ensureNotNull)((0,s.ensureNotNull)(e.mainDataSource()).priceScale());e.movePriceScale(t,"right",0)}const t=e.model();for(;e.leftPriceScales().length>e.rightPriceScales().length;){const i=e.leftPriceScales()[e.leftPriceScales().length-1];e.movePriceScale(i,"right",this._targetPriceScaleIndex(i,t))}for(;e.rightPriceScales().length-e.leftPriceScales().length>1;){const i=e.rightPriceScales()[e.rightPriceScales().length-1];e.movePriceScale(i,"left",this._targetPriceScaleIndex(i,t))}}createNewPriceScaleIfPossible(e){if(!this.canCreateNewPriceScale(e))return e.createPriceScaleAtPosition("overlay");const t=e.leftPriceScales().lengtht.name===e));return new t.ctor(t)}function c(){return a}},85847:(e,t,i)=>{"use strict";i.d(t,{SelectionIndexes:()=>r});var s=i(88537);class r{constructor(e){this._baseIndex=null,this._offsetInBar=null,this._offsetInTime=null,this._barsBetweenPoints=null,this._timescale=e}indexes(){const e=this._timescale.visibleBarsStrictRange();if(null===e)return[];const t=e.firstBar(),i=e.lastBar();if(null===this._offsetInTime||null===this._barsBetweenPoints){const e=this._timescale.barSpacing();this._barsBetweenPoints=Math.floor(120/e),this._offsetInBar=i%this._barsBetweenPoints,this._offsetInTime=this._timescale.indexToTimePoint(this._offsetInBar),this._baseIndex=this._timescale.baseIndex()}const r=this._timescale.baseIndex();this._baseIndex!==r&&(this._baseIndex=r,this._offsetInBar=(0,s.ensureNotNull)(this._timescale.timePointToIndex(this._offsetInTime)));const n=(0,s.ensureNotNull)(this._offsetInBar),o=[];let a=Math.floor((t-n)/this._barsBetweenPoints);const l=Math.floor((i-n)/this._barsBetweenPoints);for(;a<=l;a++)o.push(n+a*this._barsBetweenPoints);return o}clear(){this._offsetInBar=null,this._offsetInTime=null,this._baseIndex=null,this._barsBetweenPoints=null}}},41892:(e,t,i)=>{"use strict";i.d(t,{SelectionRenderer:()=>l});var s=i(34026),r=i(45112),n=i(84346),o=i(56589);const a=r.colorsPalette["color-tv-blue-600"];class l{constructor(e){this._data=e||null}setData(e){this._data=e}draw(e,t){if(null===this._data||!this._data.visible)return;const i=t.pixelRatio;e.strokeStyle=void 0!==this._data.color?this._data.color:a,e.lineCap="butt";const s=Math.max(1,Math.floor(i));e.lineWidth=s;const r=this._data.vertOffset||0;for(let t=0;t(0,s.pointInBox)(t,e))}_drawMarker(e,t,i,s,r){let n=Math.round(3.5*r*2);n%2!=s%2&&(n+=1);let o=Math.round(n+2*(.5*s+.75*r));o%2!=s%2&&(o+=1);const a=Math.round(t.x*r),l=Math.round((t.y+i)*r),c=s%2/2;e.beginPath(),e.arc(a+c,l+c,o/2,0,2*Math.PI,!0),e.closePath(),e.fill(),e.beginPath(),e.arc(a+c,l+c,n/2,0,2*Math.PI,!0),e.closePath(),e.stroke()}}},10590:(e,t,i)=>{"use strict";i.d(t,{SeriesBase:()=>Ht});var s=i(88537),r=i(49483),n=i(51768),o=i(76422),a=i(98125),l=i(22932),c=i(63948),h=i(71053),d=i(2015),u=i.n(d),p=i(37667),_=i(28930),m=i(97098),g=i(16654),f=i(45058),v=i(28353),S=i(67337),y=i(1570),b=i(50338),w=i(35218);function C(e){const t="QUANDL"===(e=e||{}).exchange,i={title:"",description:"",interval:"",exchange:"",provider:"",chartStyle:"", -sessionDescription:""};let s="";if(e.description&&t)if(2===e.description.split("/").length)s=e.description.split("/")[1];else{e.description.split("'").filter(e=>e.length).forEach(e=>{let t=[];t=e&&("/"===e[0]||/\d+\/\(?/.test(e))?[e]:e.split("/").filter(e=>e.length),s+=t[2===t.length?1:0]})}else s=e.description?e.description:e.symbol;if(e.ticker?(i.title=e.ticker,i.description=P(s)):i.title=P(s),e.interval&&(i.interval=(0,w.translatedIntervalString)(e.interval)),t&&e.description){const t=/[\w_]+\/[\w_]+/.exec(e.description);t&&t[0]?i.provider=P(t[0].split("/")[0]):i.provider=P(e.description.split("/")[0])}return e.exchange&&(i.exchange=P(e.exchange)),i.chartStyle=P(function(e){return e.inputs,8===e.style?(0,v.t)("Heikin Ashi"):""}(e)),e.branding&&!s.toUpperCase().includes("TradingView".toUpperCase())&&(i.branding="TradingView"),e.sessionDescription&&(i.sessionDescription=P(e.sessionDescription)),i}function P(e){return e.replace(/'/g,"")}const T=(0,v.t)("Symbol Error"),x=S.enabled("hide_unresolved_symbols_in_legend");class I extends b.StatusProviderBase{constructor(e,t,i,s){super(t),this._series=e,this._statusViewProperties=i,this._options=s||{}}text(){return function(e){const t=C(e);return(e.ticker?t.description:t.title)+(t.interval?", "+t.interval:"")+function(e,t=", "){return(e.provider?`${t}${e.provider}`:"")+(e.exchange?`${t}${e.exchange}`:"")+(e.chartStyle?`${t}${e.chartStyle}`:"")+(e.branding?`${t}${e.branding}`:"")+(e.sessionDescription?`${t}${e.sessionDescription}`:"")}(t)}(this._getTitleGenerationOptions())}getSplitTitle(){return C(this._getTitleGenerationOptions())}bold(){return!1}size(){return this._statusViewProperties.childs().fontSize.value()+"px"}errorStatus(){const e=this._series.seriesErrorMessage();return null!==e?{error:e,title:T}:null}_getTitleGenerationOptions(){const e=this._series.symbolInfo(),t=this._statusViewProperties.childs(),i=this._series.symbolTextSourceProxyProperty().value();let s;return t.showExchange.value()&&e&&(s=(0,p.isEconomicSymbol)(e)&&e.source?e.source:e.exchange),{description:"ticker"===i?e&&e.name||void 0:(0,y.getTranslatedSymbolDescription)({pro_name:e&&e.pro_name||void 0,short_name:e&&e.name||void 0,description:e&&e.description||void 0,short_description:e&&e.short_description||void 0,local_description:e&&e.local_description||void 0,language:e&&e.language||void 0}),exchange:s,symbol:x&&null===e?"":this._series.symbol(),interval:t.showInterval.value()&&!this._options.hideResolution?this._series.interval():void 0,style:this._series.properties().childs().style.value(),inputs:this._series.getInputsProperties().state(),boxSize:this._series.data().boxSize,reversalAmount:this._series.data().reversalAmount,ticker:"ticker-and-description"===i?e&&e.name||void 0:"",branding:this._options.branding}}}class M extends f.StatusView{constructor(e,t,i,s){super(new I(e,t,i,s)),this._invalidated=!0,this._series=e,this._series.onRestarted().subscribe(this,this.update),this._series.dataEvents().symbolResolved().subscribe(this,this.update), -this._series.dataEvents().completed().subscribe(this,this.update),this._series.boxSizeValue().subscribe(this.update.bind(this)),i.childs().symbolTextSource.listeners().subscribe(this,this.update)}getSeriesPrecision(){let e=4;const t=this._series.symbolInfo();return t&&t.pricescale&&(e=Math.round(Math.log(t.pricescale)/Math.log(10))),e}round(e){const t=this.getSeriesPrecision(),i=Math.round(e*Math.pow(10,t))/Math.pow(10,t);return i?i.toString():""}update(){this._invalidated=!0}text(){return this._updateImpl(),super.text()}color(){return this._updateImpl(),super.color()}bold(){return this._updateImpl(),super.bold()}size(){return this._updateImpl(),super.size()}getSplitTitle(){return this._updateImpl(),this._statusProvider.getSplitTitle()}_updateImpl(){this._invalidated&&(this._bold=this._statusProvider.bold(),this._size=this._statusProvider.size(),this._text=this._statusProvider.text(),this._invalidated=!1)}}var L=i(14445),A=i(85733),E=i(83393),k=i(14291);const D=r.CheckMobile.any(),V=S.enabled("hide_resolution_in_legend");class B extends L.DataWindowView{constructor(e,t){super(),this._invalidated=!0,this._series=e,this._model=t,this._valuesProvider=this._createValuesProvider(e,t),this._items=this._valuesProvider.getItems().map(e=>new L.DataWindowItem(e.title,"",e.unimportant)),this.update()}update(){this._invalidated=!0}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}series(){return this._series}_updateImpl(){const e=this._series.symbolInfo();if(e){const t=[e.name];V||t.push((0,w.translatedIntervalString)(this._series.interval())),(0,p.isEconomicSymbol)(e)&&e.source?t.push(e.source):t.push((0,r.onWidget)()||"forex"===e.type?e.exchange:e.listed_exchange),this._header=t.join(", "),this._title=e.description}else this._header=this._series.symbol();const t=this._model.crossHairSource().appliedIndex(),i=this._valuesProvider.getValues(t);for(let e=0;ee||t||i,i.showBarChange,i.showSeriesOHLC,i.showVolume),this._visibilityProperty.subscribe(this,this.update)}areValuesVisible(){return this._visibilityProperty.value()}additional(){return null}marketTitle(){const e=this._series.marketStatusModel().status().value();return this._showLastPriceAndChangeOnly()&&("pre_market"===e||"post_market"===e)?F+":":""}destroy(){this._backgroundColorSpawn.destroy(),this._visibilityProperty.destroy()}_createValuesProvider(e,t){return new R(e,t)}}var H=i(52714),z=i.n(H),U=i(90388),j=i(10480);function G(){const e=window.ChartApiInstance.serverTimeOffset();return Date.now()/1e3+e}function q(e,t,i){return e<=i?t<=i?1/0:t/1e3:Math.min(e,t)/1e3}class Y{constructor(e,t){this._marketStatus=new(z())(null),this._lastMarketStatus=null,this._sessionsSpec=null,this._nextSessionEdgeInternal=null,this._nextSessionEdge=new(z())(null),this._recalcNextSessionEdgeTimerId=null,this._quotesProvider=e,e.quotesUpdate().subscribe(this,this._update.bind(this)),e.quoteSymbolChanged().subscribe(this,()=>{this._nextSessionEdgeInternal=null,this._recalculateNextSessionEdge()}),this._resetSubscription=t,this._resetSubscription.subscribe(this,this._resetStatus)}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.quoteSymbolChanged().unsubscribeAll(this),this._resetSubscription.unsubscribeAll(this),null!==this._recalcNextSessionEdgeTimerId&&clearTimeout(this._recalcNextSessionEdgeTimerId)}setSymbolInfo(e){var t,i,s,r,n;if(this._nextSessionEdgeInternal=null,null===e)return void(this._sessionsSpec=null);const o=new U.SessionSpec(e.timezone,null!==(t=e.session_display)&&void 0!==t?t:e.session,e.session_holidays,e.corrections);let a,l;const c=null===(i=e.subsessions)||void 0===i?void 0:i.find(e=>"premarket"===e.id),h=null===(s=e.subsessions)||void 0===s?void 0:s.find(e=>"postmarket"===e.id);void 0!==c&&(a=new U.SessionSpec(e.timezone,null!==(r=c["session-display"])&&void 0!==r?r:c.session,e.session_holidays,c["session-correction"])),void 0!==h&&(l=new U.SessionSpec(e.timezone,null!==(n=h["session-display"])&&void 0!==n?n:h.session,e.session_holidays,h["session-correction"])),this._sessionsSpec={general:o,preMarket:a, -postMarket:l},this._recalculateNextSessionEdge()}status(){return this._marketStatus}nextSessionEdge(){return this._nextSessionEdge}_resetStatus(){this._marketStatus.setValue(null)}_update(e){void 0!==e&&void 0!==e.values.current_session&&(this._lastMarketStatus=e.values.current_session),null!==this._lastMarketStatus?this._marketStatus.setValue(this._lastMarketStatus):this._resetStatus()}_getNextSessionEdgeInternal(){var e;if(null===this._sessionsSpec||"24x7"===this._sessionsSpec.general.spec())return null;const t=1e3*G();if(null===this._nextSessionEdgeInternal||(null!==(e=this._nextSessionEdgeInternal.timestamp)&&void 0!==e?e:1/0)<=t/1e3){const{general:e,preMarket:i,postMarket:s}=this._sessionsSpec,r=(0,j.get_timezone)(e.timezone()),n=(0,j.utc_to_cal)(r,t),o=q((0,j.cal_to_utc)(r,e.alignToNearestSessionStart(n,1)),(0,j.cal_to_utc)(r,e.alignToNearestSessionEnd(n,1)),t),a=q(void 0!==i?(0,j.cal_to_utc)(r,i.alignToNearestSessionStart(n,1)):1/0,void 0!==i?(0,j.cal_to_utc)(r,i.alignToNearestSessionEnd(n,1)):1/0,t),l=q(void 0!==s?(0,j.cal_to_utc)(r,s.alignToNearestSessionStart(n,1)):1/0,void 0!==s?(0,j.cal_to_utc)(r,s.alignToNearestSessionEnd(n,1)):1/0,t),c=Math.min(o,a,l);c===1/0&&(this._nextSessionEdgeInternal={timestamp:null}),this._nextSessionEdgeInternal=c===l?{timestamp:c,status:"post_market"}:c===a?{timestamp:c,status:"pre_market"}:{timestamp:c}}return this._nextSessionEdgeInternal}_recalculateNextSessionEdge(){const e=this._getNextSessionEdgeInternal();if(null===e||null===e.timestamp)return void this._nextSessionEdge.setValue(null);const t={status:e.status,remainingSeconds:Math.max(0,e.timestamp-G())};if(null===this._recalcNextSessionEdgeTimerId){let e=Math.ceil(t.remainingSeconds%60);0===e&&(e+=60),this._recalcNextSessionEdgeTimerId=setTimeout(()=>this._recalculateNextSessionEdgeByTimer(),1e3*e)}this._nextSessionEdge.setValue(t)}_recalculateNextSessionEdgeByTimer(){this._recalcNextSessionEdgeTimerId=null,this._recalculateNextSessionEdge()}}var K=i(8175),$=i(29823),X=i(69177),Z=i(11075),J=i(9423);let Q=0;class ee{constructor(e,t){this._extrapolatedData=[],this._cacheForFuture=!1,this._modelId=Q++,this._builderCache=null,this._uniqueId=(0,J.randomHashN)(6),this._resolution=t,this._symbolInfo=e,this._valid=Boolean(e.timezone)&&Boolean(e.session),this._session=new X.SessionInfo(e.timezone,e.session,e.session_holidays,e.corrections)}syncSourceTarget(){return{uniqueId:this._uniqueId,resolution:this._resolution,symbolInfo:this._symbolInfo,session:this._session.state()}}getSymbolInfo(){return this._symbolInfo}getSession(){return this._session}getResolution(){return this._resolution}uniqueId(){return this._modelId}distance(e,t){if(!this.isValid())return{success:!1};if(e>t)return{success:!1};if(e===t)return{success:!0,result:0};let i=this._extrapolatedData.length,s=0!==i?this._extrapolatedData[0]:null,r=null!==s?this._extrapolatedData[i-1]:null;const n=er){const s=(0, -Z.extrapolateBarsFrontToTime)(this._barBuilder(),r||1e3*e,1e3*t,2e3,!0);this._extrapolatedData=this._extrapolatedData.concat(s.times),i=this._extrapolatedData.length,this._cacheForFuture=n}if(r=this._extrapolatedData[i-1],r<1e3*t)return{success:!1};const o=this._extrapolatedData.indexOf(1e3*t);return-1===o?{success:!1}:{success:!0,result:o}}projectTime(e,t){if(!this.isValid())return e;let i=this._extrapolatedData.length,s=i>0?this._extrapolatedData[0]:null,r=null!==s?this._extrapolatedData[i-1]:null;const n=t>=0;1e3*e===s&&this._cacheForFuture===n||(this._extrapolatedData=[1e3*e],i=1,s=null,r=null);const o=Math.abs(t);if(null===s||o>=i){const s=(0,Z.extrapolateBarsFrontByCount)(this._barBuilder(),r||1e3*e,Math.sign(t)*(o-i+1),!0);this._extrapolatedData=this._extrapolatedData.concat(s.times),i=this._extrapolatedData.length,this._cacheForFuture=n}return i0?le(e):function(e,t){return se().hasEodSymbols(e.full_name)||t===g.STATUS_EOD}(e,t)?(i.push("EOD"),i):i;var s}class he{constructor(e,t,i){this._dataUpdatedModeStatus=new(z())(null),this._symbolInfo=(0,te.createWVFromGetterAndSubscription)(e.getter,e.onChange),this._status=(0,te.createWVFromGetterAndSubscription)(t.getter,t.onChange),this._symbolInfo.subscribe(this._update.bind(this)),this._status.subscribe(this._update.bind(this)),this._resetSubscription=i,this._resetSubscription.subscribe(this,this._resetStatus)}destroy(){this._symbolInfo.destroy(),this._status.destroy(),this._resetSubscription.unsubscribeAll(this)}status(){return this._dataUpdatedModeStatus.readonly()}symbolName(){const e=this._symbolInfo.value();return null!==e?e.name:""}time(){const e=this._symbolInfo.value(),t=null!==e&&e.delay&&e.delay>0?e.delay:900;return Math.round(t/60)}listedExchange(){const e=this._symbolInfo.value();return null!==e?e.listed_exchange:""}async description(){const e=this._symbolInfo.value();if(null===e)return"";let t={};try{t=(0,s.ensureNotNull)(await async function(e){return null}())}catch(e){ae.logWarn("Cannot get exchange "+(0,oe.errorToString)(e))}return t.description||e.listed_exchange}exchange(){const e=this._symbolInfo.value();return null!==e?e.exchange:""}proName(){const e=this._symbolInfo.value();return null!==e?e.pro_name:""}firstReplacedByBatsExchange(){const e=this._symbolInfo.value();return e&&null}_resetStatus(){ -this._dataUpdatedModeStatus.setValue(null)}_update(){const e=this._symbolInfo.value();if(null===e)return void this._dataUpdatedModeStatus.setValue(null);const t=this._status.value();if("string"==typeof t)return void this._dataUpdatedModeStatus.setValue(null);if(t===g.STATUS_LOADING||t===g.STATUS_RESOLVING)return;const i=ce(e,t);0!==i.length?this._dataUpdatedModeStatus.setValue(i):this._dataUpdatedModeStatus.setValue(null)}}var de=i(40144),ue=i(80643);class pe{constructor(e,t){this._dataProblem=new de.WatchedObject(null),this._quotesProvider=e,this._quotesProvider.quotesUpdate().subscribe(this,this._update.bind(this)),this._resetSubscription=t,this._resetSubscription.subscribe(this,this._resetStatus)}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._resetSubscription.unsubscribeAll(this)}status(){return this._dataProblem}_resetStatus(){this._dataProblem.setValue(null)}_update(e){void 0===e.values||void 0===e.values.data_problem?this._resetStatus():this._dataProblem.setValue((0,ue.clone)(e.values.data_problem))}}var _e=i(90810),me=i(68906),ge=i(97938),fe=i(3825);function ve(e){return e<10?"0"+e:e.toString()}var Se=i(74477),ye=i(33291);const be=[0,1,2,3,9,8,10],we=S.enabled("force_exchange_as_title"),Ce={alwaysShowGlobalLast:!1,visibleOnHistoryOnly:!1,showCountdown:!0,showSymbolLabel:!0};class Pe extends ge.PriceAxisView{constructor(e,t,i){super(),this._previousCountdown="",this._source=e,this._model=t,this._options={...Ce,...i}}updateCountdown(){this._countdownText()!==this._previousCountdown&&(this.update((0,ye.dataSourceChangeEvent)(this._source.id())),this._model.updateSourcePriceScale(this._source))}_getSource(){return this._source}_getModel(){return this._model}_isCountdownEnabled(){return this._options.showCountdown}_countdownText(){const e=$.Interval.parse(this._source.interval());if(e.isDWM()||e.isTicks()||e.isSeconds()&&1===e.multiplier())return"";const t=this._source.data().bars().last();if(null===t)return"";const i=1e3*(0,s.ensure)(t.value[0]),r=$.Interval.parse(this._source.interval()).inMilliseconds(),n=i.valueOf()+r;let o=Math.round((n-this._currentTime())/1e3);if(o<=0)return"";o=Math.min(o,r/1e3);let a=null;o>=3600&&(a=ve(Math.floor(o/3600))),o%=3600;const l=ve(Math.floor(o/60));o%=60;const c=ve(Math.floor(o));return null!==a?`${a}:${l}:${c}`:`${l}:${c}`}_updateRendererData(e,t,i){if(e.visible=!1,t.visible=!1,!this._source.isVisible())return;const s=this._source.properties().childs();if(12===s.style.value())return;const r=this._model.timeScale().visibleBarsStrictRange(),n=this._source.data().last();if(null===r||null===n)return;if(this._options.visibleOnHistoryOnly&&r.contains(n.index))return;const o=this._model.properties().childs().scalesProperties.childs();let a=o.showSeriesLastValue.value(),l=this._isCountdownEnabled()&&-1!==be.indexOf(s.style.value())&&s.showCountdown.value()&&(this._options.alwaysShowGlobalLast||r.contains(n.index)),c=this._options.showSymbolLabel&&o.showSymbolLabels.value() -;const h=o.seriesLastValueMode.value()===fe.PriceAxisLastValueMode.LastPriceAndPercentageValue,d=this._source.lastValueData(void 0,this._options.alwaysShowGlobalLast);if(d.noData)return;const u=8===s.style.value();if((a||l||c)&&u&&s.haStyle.childs().showRealLastPrice.value()){const e=this._source.lastValueData(void 0,!1),t=this._source.lastValueData(void 0,!0);e.noData||t.noData||e.index!==t.index||(a=!1,l=!1,c=!1)}if(i.background=this._source.priceLineColor(d.color),i.coordinate=d.coordinate,i.floatCoordinate=d.floatCoordinate,a||l){const t=this._axisFirstLineText(d,a);e.text=t,i.textColor=this.generateTextColor(i.background),e.textColor=i.textColor;const s=a&&h?(0,Se.getOppositeModePriceText)(this._source.priceScale(),d):"";e.secondLine=s,i.secondLineTextColor=i.textColor;const r=l?this._countdownText():"";this._previousCountdown=r,e.thirdLine=r,i.thirdLineTextColor=(0,me.generateColor)(i.textColor,25),0===t.length&&0===s.length&&0===r.length||(e.visible=!0)}c&&(t.text=this._paneText(c),t.visible=t.text.length>0)}_paneText(e){let t="";const i=this._source.symbolInfo();return we?t=(0,p.displayedSymbolExchange)(i):e&&(t=(0,p.displayedSymbolName)(i)),t}_axisFirstLineText(e,t){return t?(0,Se.getCurrentModePriceText)(this._source.priceScale(),e):""}_currentTime(){return Date.now()+1e3*this._source.serverTimeOffset()}}var Te=i(55057);class xe extends Pe{lastPrice(){return this._getSource().data().lastProjectionPrice}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const r=this._getModel(),n=this._getSource(),o=n.priceScale(),a=r.timeScale(),l=this.lastPrice();if(a.isEmpty()||o.isEmpty()||void 0===l)return;const c=a.visibleBarsStrictRange();if(null===c)return;const d=c.firstBar(),u=c.lastBar(),p=n.data(),_=p.search(u,h.PlotRowSearchMode.NearestLeft);if(null===_)return;const m=n.nearestIndex(d,h.PlotRowSearchMode.NearestRight);if(void 0===m)return;const g=n.model().properties().childs().scalesProperties.childs(),f=(0,s.ensureNotNull)(p.valueAt(m))[4];let v=i.background,S=g.showSeriesLastValue.value(),y=!1,b=!1,w=!1;const C=n.lastValueData(4,!1),P=n.properties().childs();if(8===P.style.value()&&P.haStyle.childs().showRealLastPrice.value()){const e=n.lastValueData(4,!0);if(e.noData||e.color===i.background||(v=e.color),!e.noData&&!C.noData){const t=e.index===C.index;y=t&&g.showSymbolLabels.value(),b=g.seriesLastValueMode.value()===fe.PriceAxisLastValueMode.LastPriceAndPercentageValue,S=S&&t,w=t&&this._isCountdownEnabled()&&P.showCountdown.value()}}else{v=n.barColorer().barStyle(_.index,!0).barColor}if(i.background=v,i.textColor=this.generateTextColor(v),i.secondLineTextColor=i.textColor,i.thirdLineTextColor=(0,me.generateColor)(i.textColor,25),i.coordinate=o.priceToCoordinate(l,f),e.visible=S||w,!C.noData){const i=n.priceScale().isPercentage();C.formattedPriceAbsolute=o.formatPriceAbsolute(l),C.formattedPricePercentage=o.formatPricePercentage(l,f,!0),C.text=i?C.formattedPricePercentage:C.formattedPriceAbsolute,e.text=this._axisFirstLineText(C,S),e.secondLine=S&&b?i?C.formattedPriceAbsolute:C.formattedPricePercentage:"", -e.thirdLine=w?this._countdownText():"",t.text=this._paneText(y)}t.visible=y}}var Ie=i(28978),Me=i(22221),Le=i(45112),Ae=i(43891);const Ee={light:{lineStyle:Ae.LINESTYLE_DOTTED,lineWidth:1,textColor:Le.colorsPalette["color-cold-gray-900"],backgroundColor:Le.colorsPalette["color-tv-blue-50"],lineColor:Le.colorsPalette["color-cold-gray-500"]},dark:{lineStyle:Ae.LINESTYLE_DOTTED,lineWidth:1,textColor:Le.colorsPalette["color-white"],backgroundColor:Le.colorsPalette["color-tv-blue-a800"],lineColor:Le.colorsPalette["color-cold-gray-500"]}};function ke(e){return e?Ee.dark:Ee.light}class De extends Me.HorizontalLinePaneView{constructor(e,t,i){super(),this._model=e,this._isVisible=t.lineVisible,this._lineColor=t.lineColor,this._lineWidth=t.lineWidth,this._getValue=i}_updateImpl(){const e=this._lineRendererData;if(e.visible=!1,!this._isVisible.value())return;const t=this._model.mainSeries(),i=t.priceScale(),s=t.firstValue(),r=this._getValue();if(null===s||null===r)return;const n=ke(this._model.isDark()),o=this._lineColor.value()?this._lineColor.value():n.lineColor,a=this._lineWidth.value()?this._lineWidth.value():n.lineWidth;e.visible=!0,e.y=i.priceToCoordinate(r,s),e.linestyle=n.lineStyle,e.linewidth=a,e.color=o}}class Ve extends ge.PriceAxisView{constructor(e,t,i,s){super(),this._model=e,this._label=t,this._isVisible=i,this._getValue=s}_updateRendererData(e,t,i){if(e.visible=!1,t.visible=!1,!this._isVisible.value())return;const s=this._model.mainSeries(),r=s.priceScale(),n=s.firstValue(),o=this._getValue();if(null===n||null===o)return;const a=ke(this._model.isDark());e.visible=!0,t.visible=!0,e.text=r.formatPriceAbsolute(o),t.text=this._label,i.coordinate=r.priceToCoordinate(o,n),i.background=a.backgroundColor,i.textColor=a.textColor}}class Be extends Te.PriceLineAxisView{constructor(e,t,i){super(),this._model=e,this._isLineVisible=t,this._getValue=i}_isVisible(){return this._isLineVisible.value()}_lineWidth(){return ke(this._model.isDark()).lineWidth}_lineStyle(){return ke(this._model.isDark()).lineStyle}_priceLineColor(e){return ke(this._model.isDark()).lineColor}_value(){const e=this._model.mainSeries(),t=e.priceScale(),i=e.firstValue(),s=this._getValue();if(null===i||null===s)return{noData:!0};const r=t.priceToCoordinate(s,i);return{noData:!1,floatCoordinate:r,coordinate:r,color:"",formattedPricePercentage:"",formattedPriceAbsolute:"",formattedPriceIndexedTo100:"",text:"",index:0}}}const Ne=(0,v.t)("High"),Re=(0,v.t)("Low");function Oe(e,t,i,s){const r=new De(e,i,s),n=new Ve(e,i.label,i.labelVisible,s);return{paneView:r,panePriceAxisView:new Ie.PanePriceAxisView(n,t,e),priceAxisView:n,priceLineAxisView:new Be(e,i.lineVisible,s)}}const Fe={light:{lineStyle:Ae.LINESTYLE_DOTTED,lineWidth:1,textColor:(0,Le.getHexColorByName)("color-cold-gray-900"),backgroundColor:(0,Le.getHexColorByName)("color-tv-blue-50"),lineColor:(0,Le.getHexColorByName)("color-cold-gray-500")},dark:{lineStyle:Ae.LINESTYLE_DOTTED,lineWidth:1,textColor:(0,Le.getHexColorByName)("color-white"),backgroundColor:(0,Le.getHexColorByName)("color-tv-blue-a800"), -lineColor:(0,Le.getHexColorByName)("color-cold-gray-500")}};function We(e){return e?Fe.dark:Fe.light}class He extends Me.HorizontalLinePaneView{constructor(e,t,i){super(),this._model=e,this._isVisible=t.lineVisible,this._lineColor=t.lineColor,this._lineWidth=t.lineWidth,this._getValue=i}_updateImpl(){const e=this._lineRendererData;if(e.visible=!1,!this._isVisible.value())return;const t=this._model.mainSeries(),i=t.priceScale(),s=t.firstValue(),r=this._getValue();if(null===s||null===r)return;const n=We(this._model.isDark()),o=this._lineColor.value()?this._lineColor.value():n.lineColor,a=this._lineWidth.value()?this._lineWidth.value():n.lineWidth;e.visible=!0,e.y=i.priceToCoordinate(r,s),e.linestyle=n.lineStyle,e.linewidth=a,e.color=o}}class ze extends ge.PriceAxisView{constructor(e,t,i,s){super(),this._model=e,this._label=t,this._isVisible=i,this._getValue=s}_updateRendererData(e,t,i){if(e.visible=!1,t.visible=!1,!this._isVisible.value())return;const s=this._model.mainSeries(),r=s.priceScale(),n=s.firstValue(),o=this._getValue();if(null===n||null===o)return;const a=We(this._model.isDark());e.visible=!0,t.visible=!0,e.text=r.formatPriceAbsolute(o),t.text=this._label,i.coordinate=r.priceToCoordinate(o,n),i.background=a.backgroundColor,i.textColor=a.textColor}}class Ue extends Te.PriceLineAxisView{constructor(e,t,i){super(),this._model=e,this._isLineVisible=t,this._getValue=i}_isVisible(){return this._isLineVisible.value()}_lineWidth(){return We(this._model.isDark()).lineWidth}_lineStyle(){return We(this._model.isDark()).lineStyle}_priceLineColor(e){return We(this._model.isDark()).lineColor}_value(){const e=this._model.mainSeries(),t=e.priceScale(),i=e.firstValue(),s=this._getValue();if(null===i||null===s)return{noData:!0};const r=t.priceToCoordinate(s,i);return{noData:!1,floatCoordinate:r,coordinate:r,color:"",formattedPricePercentage:"",formattedPriceAbsolute:"",formattedPriceIndexedTo100:"",text:"",index:0}}}const je=(0,v.t)("Avg");function Ge(e,t,i,s){const r=i.childs(),n=function(e,t,i,s){const r=new He(e,i,s),n=new ze(e,i.label,i.labelVisible,s),o=new Ie.PanePriceAxisView(n,t,e),a=new Ue(e,i.lineVisible,s);return{paneView:r,panePriceAxisView:o,priceAxisView:n,priceLineAxisView:a}}(e,t,{label:je,labelVisible:r.averageClosePriceLabelVisible,lineVisible:r.averageClosePriceLineVisible,lineColor:r.averagePriceLineColor,lineWidth:r.averagePriceLineWidth},()=>s(0));return{paneViews:[n.paneView],panePriceAxisViews:[n.panePriceAxisView],priceAxisViews:[n.priceAxisView],priceLineAxisViews:[n.priceLineAxisView]}}var qe=i(2872),Ye=i.n(qe),Ke=i(14791),$e=i(86441);class Xe{constructor(){this._data=null}setData(e){this._data=e}data(){return this._data}draw(e,t){const i=this._data;if(null===i)return;const s=t.pixelRatio;e.save();const r=Math.max(1,Math.floor(s)),n=r%2/2,o=Math.round(i.center.x*s)+n,a=i.center.y*s;e.fillStyle=i.seriesLineColor,e.beginPath();const l=Math.max(2,1.5*i.seriesLineWidth)*s;e.arc(o,a,l,0,2*Math.PI,!1),e.fill(),e.fillStyle=i.fillColor,e.beginPath(),e.arc(o,a,i.radius*s,0,2*Math.PI,!1),e.fill(), -e.lineWidth=r,e.strokeStyle=i.strokeColor,e.beginPath(),e.arc(o,a,i.radius*s+r/2,0,2*Math.PI,!1),e.stroke(),e.restore()}hitTest(e,t){return null}}function Ze(e){return e}const Je=[{start:0,end:.25,startRadius:4,endRadius:10,startFillAlpha:.25,endFillAlpha:0,startStrokeAlpha:.4,endStrokeAlpha:.8,easing:Ze},{start:.25,end:.525,startRadius:10,endRadius:14,startFillAlpha:0,endFillAlpha:0,startStrokeAlpha:.8,endStrokeAlpha:0,easing:Ze},{start:.525,end:1,startRadius:14,endRadius:14,startFillAlpha:0,endFillAlpha:0,startStrokeAlpha:0,endStrokeAlpha:0,easing:Ze}];function Qe(e,t,i,s){const r=i+(s-i)*t;return(0,me.applyTransparency)(e,(0,me.alphaToTransparency)(r))}function et(e,t){const i=e%2600/2600;let s;for(const e of Je)if(i>=e.start&&i<=e.end){s=e;break}if(void 0===s)throw new Error("Last price animation internal logic error");const r=s.easing((i-s.start)/(s.end-s.start));return{fillColor:Qe(t,r,s.startFillAlpha,s.endFillAlpha),strokeColor:Qe(t,r,s.startStrokeAlpha,s.endStrokeAlpha),radius:(n=r,o=s.startRadius,a=s.endRadius,o+(a-o)*n)};var n,o,a}class tt{constructor(e){this._renderer=new Xe,this._invalidated=!0,this._stageInvalidated=!0,this._startTime=performance.now(),this._endTime=this._startTime-1,this._series=e}update(e){if(this._invalidated=!0,"data-source-change"===e.type&&e.dataSourceId===this._series.id()||"viewport-change"===e.type||"global-change"===e.type){const e=performance.now(),t=this._endTime-e;if(t>0)return void(t<650&&(this._endTime+=2600));this._startTime=e,this._endTime=e+2600}}invalidateStage(){this._stageInvalidated=!0}animationActive(){return performance.now()<=this._endTime}stopAnimation(){this._endTime=this._startTime-1}renderer(e,t){return this._invalidated?(this._updateImpl(e,t),this._invalidated=!1,this._stageInvalidated=!1):this._stageInvalidated&&(this._updateRendererDataStage(),this._stageInvalidated=!1),this._renderer}_updateImpl(e,t){this._renderer.setData(null);const i=this._series.model().timeScale(),s=i.visibleBarsStrictRange(),r=this._series.firstValue(),n=this._series.lastValueData(void 0,!0,!0);if(null===s||null===r||void 0===n.index||void 0===n.price||!s.contains(n.index))return;const o=new $e.Point(i.indexToCoordinate(n.index),this._series.priceScale().priceToCoordinate(n.price,r)),a=n.color,l=this._series.properties().childs();let c;switch(this._series.style()){case 3:c=l.areaStyle.childs().linewidth.value();break;case 10:const t=l.baselineStyle,i=Math.round(e*(Math.abs(100-t.childs().baseLevelPercentage.value())/100));c=o.y<=i?t.childs().topLineWidth.value():t.childs().bottomLineWidth.value();break;default:c=l.lineStyle.childs().linewidth.value()}const h=et(this._duration(),a);this._renderer.setData({seriesLineColor:a,seriesLineWidth:c,fillColor:h.fillColor,strokeColor:h.strokeColor,radius:h.radius,center:o})}_updateRendererDataStage(){const e=this._renderer.data();if(null!==e){const t=et(this._duration(),e.seriesLineColor);e.fillColor=t.fillColor,e.strokeColor=t.strokeColor,e.radius=t.radius}}_duration(){return this.animationActive()?performance.now()-this._startTime:2599}} -var it=i(23653),st=i(59100),rt=i(95836),nt=i(9315),ot=i(38712);class at extends ot.SeriesHorizontalLinePaneView{constructor(e){super(e),this._lineRendererData.linestyle=Ae.LINESTYLE_DOTTED}_updateImpl(){this._lineRendererData.visible=!1;const e=this._series.properties().childs();if(!e.showPriceLine.value())return;if(12===e.style.value())return;const t=this._series.lastValueData(void 0,!0);t.noData||(this._lineRendererData.visible=!0,this._lineRendererData.y=t.coordinate,this._lineRendererData.color=this._series.priceLineColor(t.color),this._lineRendererData.linewidth=e.priceLineWidth.value())}}var lt=i(42169),ct=i(52640),ht=i(55257),dt=i(49094),ut=i(84346),pt=i(16282);class _t extends pt.ScaledPaneRenderer{constructor(){super(...arguments),this._data=null,this._barWidth=null}setData(e){this._data=e,this._barWidth=Math.max(1,Math.round((0,dt.optimalHiLoWidth)(e.barSpacing)))}hitTest(e){if(null===this._data||null===this._barWidth)return null;const t=this._data.bars,i=.5*this._data.barSpacing;if(0===t.length)return null;if(e.xt[t.length-1].time+i)return null;const s=t[(0,ht.lowerbound)(t,e.x-i,(e,t)=>e.times.time+i)return null;const r=(0,dt.interactionTolerance)().series+this._barWidth/2,n=Math.min(s.high,s.low),o=Math.max(s.high,s.low),a=this._data.fontSize;return n-r-a<=e.y&&e.y<=n+r||o-r<=e.y&&e.y<=o+r+a?new ut.HitTestResult(ut.HitTestResult.REGULAR):null}_drawImpl(e){if(null===this._data||null===this._barWidth)return;e.save(),e.translate(.5,.5),e.textAlign="center",e.fillStyle=this._data.labelColor,e.font=(0,ct.makeFont)(this._data.fontSize,this._data.font);const t=this._data.bars,i=this._data.inverted;for(let s=0;se.highLabelWidth<=n&&e.lowLabelWidth<=n),a={bars:this._bars,wickVisible:!1,bodyVisible:r.drawBody.value(),barSpacing:n,borderVisible:r.showBorders.value(),barWidth:(0,dt.optimalHiLoWidth)(n),font:St.CHART_FONT_FAMILY, -fontSize:r.fontSize.value(),labelColor:r.labelColor.value(),inverted:s.isInverted(),labelsPadding:3},l=new gt.CompositeRenderer;return this._candlesRenderer.setData(a),l.append(this._candlesRenderer),o&&(this._labelsRenderer.setData(a),l.append(this._labelsRenderer)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&l.append(new ft.SelectionRenderer(this._selectionData)),l}topPixelMargin(){return this._margin()}bottomPixelMargin(){return this._margin()}_margin(){const e=this._source.properties().childs().hiloStyle.childs();return e.showLabels.value()?e.fontSize.value()+6:0}_barUpdater(e,t,i,s){const r=i[2],n=i[3];if(!bt(r)||!bt(n))return!1;if(s.high=s.open=r,s.low=s.close=n,t){const t=s;t.highLabel=e.format(r),t.highLabelWidth=this._getLabelWidth(t.highLabel),t.lowLabel=e.format(n),t.lowLabelWidth=this._getLabelWidth(t.lowLabel)}return!0}_needLabels(){const e=this._model.timeScale().barSpacing();return this._source.properties().childs().hiloStyle.childs().showLabels.value()&&e>5}_getLabelWidth(e){return this._widthsCache.measureText(this._context,e)}}var Ct=i(81688),Pt=i(59153),Tt=i(66919),xt=i(85224),It=i(33837),Mt=i(34041);class Lt extends yt.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.priceScale();if(!i)return null;const s=this._source.properties().childs().haStyle.childs(),r=this._model.timeScale().barSpacing(),n={bars:this._bars,barSpacing:r,bodyVisible:s.drawBody.value(),borderVisible:s.drawBorder.value(),borderColor:s.borderColor.value(),wickColor:s.wickColor.value(),barWidth:(0,dt.optimalBarWidth)(r),wickVisible:s.drawWick.value(),isPriceScaleInverted:i.isInverted()},o=new gt.CompositeRenderer;return o.append(new mt.PaneRendererCandles(n)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&o.append(new ft.SelectionRenderer(this._selectionData)),o}}var At=i(30076),Et=i(35251),kt=i(69147);const Dt=S.enabled("price_scale_always_last_bar_value"),Vt=S.enabled("display_data_mode"),Bt=(r.CheckMobile.any(),!S.enabled("hide_series_legend_item")),Nt=S.enabled("hide_price_scale_global_last_bar_value"),Rt=S.enabled("show_average_close_price_line_and_label"),Ot=(0,a.getLogger)("Chart.Series"),Ft=S.enabled("pre_post_market_sessions"),Wt={countdownEnabled:!0,lastPriceAnimationEnabled:!0};class Ht extends l.PriceDataSource{constructor(e,t,i,r){super(e,"_seriesId"),this.chartWidgetInitialized=new(Ye()),this.requestingIntradayWhenNotSupported=new(Ye()),this.requestingResolutionWhenNotSupported=new(Ye()),this.requestingStyleIsNotSupported=new(Ye()),this.requestingStyleSupportRecovered=new(Ye()),this._paneView=null,this._futureBarsPaneView=null,this._projectionBarsPaneView=null,this._waterlineView=null,this._priceLineView=null,this._gotoDateView=null,this._baseHorizontalLineView=null,this._priceStep=null,this._symbolInfo=null,this._prevSymbolInfo=null,this._isPrePostMarketPricesAvailableProperty=new(u())(!1),this._isBackAdjustmentForbiddenProperty=new(u())(!0), -this._isSettlementAsCloseForbiddenProperty=new(u())(!0),this._highLowPriceCache=new Map,this._averagePriceCache=new Map,this._prevClosePriceAxisView=null,this._priceScaleChanged=new(Ye()),this._priceScaleAboutToBeChanged=new(Ye()),this._onRestarted=new(Ye()),this._onStatusChanged=new(Ye()),this._extendedHoursChanged=new(Ye()),this._tagsChanged=new(Ye()),this._intervalChanged=new(Ye()),this._sessionIdChanged=new(Ye()),this._currency=null,this._unit=null,this._requestMoreDataAvailable=!0,this._lineStyleLastPriceCirclePaneView=new tt(this),this._prevClosePriceLineView=null,this._dataPoweredBy=null,this._loading=!0,this._seriesLoaded=!1,this._status=0,this._symbolResolvingActive=new(z())(!1),this._predictBars=0,this._syncModel=null,this._data=null,this._endOfDataType=null,this._haStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(8,!0))},this._renkoStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(4,!0))},this._pbStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(7,!0))},this._kagiStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(5,!0))},this._pnfStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(6,!0))},this._rangeStyle={studyId:(0,s.ensureNotNull)((0,p.chartStyleStudyId)(11,!0))},this._boxSizeValue=new(z()),this._base=100,this._pointValue=1,this._formattingDeps=null,this._formatter=new m.PriceFormatter(this._base),this._ignoreMinMoveFormatter=new m.PriceFormatter(this._base),this._ignoreMinMovePriceStep=null,this._lastBarCloseTime=null,this._onSessionIdPropertyChangedBound=this._onSessionIdPropertyChanged.bind(this),this._ignoreSessionIdProxyPropertyChanges=!1,this._textSourceIsAlwaysTickerRestrictionEnabled=!1,this._lastPriceAnimationActive=!1,this._currentSession="out_of_session",this._onStyleChanged=new(Ye()),this._preventRestartOnChartStyleChange=!1,this._intervalObj=null,this._obsoleteZOrder=0,this._seriesErrorMessage=null,this._seriesAlwaysFalseHibernatedVW=new(z())(!1),this._styleToRecover=null,this._isActingAsSymbolSource=new(z())(!0),this._seriesSource=new st.SeriesDataSource(e.chartApi(),"s",r);const n=this._seriesSource.dataEvents();n.symbolResolved().subscribe(this,this._onSymbolResolved),n.symbolError().subscribe(this,this._onSymbolError),n.seriesTimeFrame().subscribe(this,this._onSeriesTimeFrame),n.seriesError().subscribe(this,this._onSeriesError),n.loading().subscribe(this,this._onSeriesLoading),n.completed().subscribe(this,this._onSeriesCompleted),n.dataUpdated().subscribe(this,this._onDataUpdated),n.barReceived().subscribe(this,this._onBarReceived),this._quotesProvider=new _e.QuotesProvider,this._quotesProvider.quotesUpdate().subscribe(this,this._onQuotesUpdate);const o=t.childs();if(t.hasChild("extendedHours")){(0,s.ensureDefined)(o.extendedHours).value()&&!t.hasChild("sessionId")&&t.addChild("sessionId",new(u())("extended")),t.removeProperty("extendedHours")}t.hasChild("sessionId")||t.addChild("sessionId",new(u())(_.SubsessionId.Regular)),this._setProperties(t),this._sessionIdProxyProperty=new(u())(o.sessionId.value()), -o.sessionId.subscribe(this,()=>this._updateSessionIdProxyProperty()),this._sessionIdProxyProperty.subscribe(this,this._onSessionIdProxyPropertyChanged),this._symbolTextSourceProxyProperty=new(u()),this._recalcSymbolTextSourceProxyProperty(),o.statusViewStyle.childs().symbolTextSource.subscribe(this,this._recalcSymbolTextSourceProxyProperty),this._symbolTextSourceProxyProperty.subscribe(this,()=>e.lightUpdate()),this._options=(0,ue.merge)((0,ue.clone)(Wt),i),this._prevChartStyle=o.style.value(),this._priceAxisView=new Pe(this,e,{alwaysShowGlobalLast:!Nt,showCountdown:i.countdownEnabled});let a=null;Dt||Nt||(a=new Pe(this,e,{visibleOnHistoryOnly:!0,showSymbolLabel:!1,showCountdown:!1,alwaysShowGlobalLast:!1})),this._priceLinePriceAxisView=new Te.SeriesPriceLineAxisView(this),this._priceLineAxisViews=[this._priceLinePriceAxisView];const l=new xe(this,e,{showCountdown:i.countdownEnabled});this._priceAxisViews=[this._priceAxisView,l],null!==a&&this._priceAxisViews.push(a),this._panePriceAxisView=new Ie.PanePriceAxisView(this._priceAxisView,this,e),this._historyPricePanePriceAxisView=null!==a?new Ie.PanePriceAxisView(a,this,e):null,this._projectionPriceAxisView=new Ie.PanePriceAxisView(l,this,e),this._labelPaneViews=[this._panePriceAxisView,this._projectionPriceAxisView],null!==this._historyPricePanePriceAxisView&&this._labelPaneViews.push(this._historyPricePanePriceAxisView),this._highLowAvgPaneViews=[],this._averagePaneViews=[],Rt&&this._createAverageViews(),this._createHighLowAvgViews(),this._subscribeRestartToSessionIdChange(),o.visible.subscribe(this,this._updateLastPriceAnimationActive),this._updateLastPriceAnimationActive(),this._dataWindowView=new B(this,e),this._legendView=new W(this,e);const c={branding:!1};this._statusView=new M(this,this._model.properties().childs().scalesProperties.childs().textColor,o.statusViewStyle,c),this._marketStatusModel=new Y(this._quotesProvider,o.symbol.listeners()),this._dataUpdatedModeModel=Vt?new he({getter:this.symbolInfo.bind(this),onChange:n.symbolResolved()},{getter:this.status.bind(this),onChange:this._onStatusChanged},o.symbol.listeners()):null,this._dataProblemModel=new pe(this._quotesProvider,o.symbol.listeners()),this._symbolResolvingActive.subscribe(()=>e.realignLineTools()),this._intervalChanged.subscribe(this,()=>e.realignLineTools())}supportsPressedChunks(){return!0}pressedChunks(e,t){return this.data().pressedChunks(e,t)}seriesErrorMessage(){return this._seriesErrorMessage}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.destroy(),this._model.timeScale().visibleBarsStrictRangeChanged().unsubscribeAll(this),this._unsubscribeRestartToSessionIdChange()}isActingAsSymbolSource(){return this._isActingAsSymbolSource.readonly()}createPaneView(){this._paneView=null,this._projectionBarsPaneView=null,this._waterlineView=null,this._priceLineView=this.hasClosePrice()?new at(this):null;const e=this._properties.childs().style.value();switch(e){case 0:this._paneView=new Tt.SeriesBarsPaneView(this,this._model);break;case 1: -this._paneView=new xt.SeriesCandlesPaneView(this,this._model);break;case 2:this._paneView=new It.SeriesLinePaneView(this,this._model);break;case 3:this._paneView=new Mt.SeriesAreaPaneView(this,this._model);break;case 8:this._paneView=new Lt(this,this._model);break;case 9:this._paneView=new At.SeriesHollowCandlesPaneView(this,this._model);break;case 13:this._paneView=new Pt.SeriesColumnsPaneView(this,this._model);break;case 10:{this._paneView=new Et.SeriesBaselinePaneView(this,this._model);const e=this._properties.childs().baselineStyle.childs();this._waterlineView=new lt.SeriesWaterlinePaneView({paneHeight:()=>this.priceScale().height(),color:()=>e.baselineColor.value(),baseLevelPercentage:()=>e.baseLevelPercentage.value()});break}case 12:this._paneView=new wt(this,this._model)}if(null===this._paneView)throw Error("Unknown chart style assigned: "+e)}properties(){return this._properties}zorder(){return 0}quotesProvider(){return this._quotesProvider}currentSession(){return this._currentSession}getRealVisibleRange(){const e=this.model().timeScale().visibleBarsStrictRange();if(null===e)return null;const t=this.data().search(e.firstBar(),h.PlotRowSearchMode.NearestRight),i=this.data().search(e.lastBar(),h.PlotRowSearchMode.NearestLeft);return null===t||null===i?null:new Ct.BarsRange(t.index,i.index)}syncModel(){if(!this._syncModel){const e=this.symbolInfo(),t=this.interval();if(!e||!t)return null;this._syncModel=new ee(e,t)}return this._syncModel}labelPaneViews(){return this._labelPaneViews}topPaneViews(){if(this._lastPriceAnimationActive){const e=this._lineStyleLastPriceCirclePaneView;return e.animationActive()&&setTimeout(()=>this._model.invalidate(it.InvalidationMask.cursor()),0),e.invalidateStage(),[e]}return null}priceAxisViews(e,t){return e.findTargetPriceAxisViews(this,t,this._priceAxisViews,this._priceLineAxisViews)}clearHighLowPriceCache(){this._highLowPriceCache.clear()}clearAveragePriceCache(){this._averagePriceCache.clear()}priceScaleChanged(){return this._priceScaleChanged}priceScaleAboutToBeChanged(){return this._priceScaleAboutToBeChanged}disconnect(){this._seriesSource.stop(),this.m_symbol=void 0,this._predictBars=0,this._status=0,this._model.isSnapshot()||(this._prevSymbolInfo=null,this._symbolInfo=null)}isStatusBad(){return 12===this.status()||4===this.status()||10===this.status()}isStatusError(){return 12===this.status()}actualSymbol(){return(0,p.actualSymbol)(this.symbolInfo(),this.symbol())}proSymbol(){return(0,p.proSymbol)(this.symbolInfo(),this.symbol())}onStyleChanged(){return this._onStyleChanged}style(){return this.properties().childs().style.value()}setStyle(e){this.setSymbolParams({style:e})}symbolSameAsCurrent(e){return(0,Ke.symbolSameAsCurrent)(e,this.m_symbol,this.symbolInfo())}status(){return this._status}symbolInfo(){return this._symbolInfo}symbolResolved(){return this.dataEvents().symbolResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._seriesAlwaysFalseHibernatedVW}formatter(e=!0){return e?this._formatter:this._ignoreMinMoveFormatter} -priceStep(e=!0){return e?this._priceStep:this._ignoreMinMovePriceStep}bars(){return this.data().bars()}nsBars(){return this.data().nsBars()}interval(){return this.properties().childs().interval.value()}setInterval(e){this.setSymbolParams({interval:e})}intervalObj(){const e=this.interval();if(null!==this._intervalObj&&this._intervalObj.resolutionString===e)return this._intervalObj.interval;const t=$.Interval.parse(e);return this._intervalObj={resolutionString:e,interval:t},t}prevClose(){const e=this.priceScale();if(e.isEmpty()||this.data().isEmpty())return null;const t=this.quotes(),i=this.firstValue();if(null===t||null===i)return null;const s=t.prev_close_price;return void 0===s?null:{coordinate:e.priceToCoordinate(s,i),floatCoordinate:e.priceToCoordinate(s,i),formattedPricePercentage:e.formatPricePercentage(s,i,!0),formattedPriceAbsolute:e.formatPriceAbsolute(s),formattedPriceIndexedTo100:e.formatPriceIndexedTo100(s,i)}}hasClosePrice(){return 12!==this.properties().childs().style.value()}lastValueData(e,t,i){const s={noData:!0},r=this.priceScale();if(this.model().timeScale().isEmpty()||r.isEmpty()||this.data().isEmpty())return s;const n=this.model().timeScale().visibleBarsStrictRange(),o=this.firstValue();if(null===n||null===o)return s;let a,l;if(t){const e=this.data().bars().last();if(null===e)return s;a=e.value,l=e.index}else{const e=this.data().bars().search(n.lastBar(),h.PlotRowSearchMode.NearestLeft);if(null===e)return s;a=e.value,l=e.index}const c=void 0!==e?a[e]:this._barFunction(a),d=this.barColorer().barStyle(l,!1),u=r.priceToCoordinate(c,o),p={...r.getFormattedValues(c,o,!0),noData:!1,color:d.barColor,floatCoordinate:u,coordinate:u,index:l};return i&&(p.price=c),p}isDWM(){return this.intervalObj().isDWM()}data(){var e;return null!==(e=this._data)&&void 0!==e?e:this._seriesSource.data()}clearData(){(0,s.assert)(null===this._data,"Cannot clear loaded data"),this._seriesSource.clearData()}nearestValue(e,t,i){const s=this.nearestData(e,i);return s?s.value[t]:void 0}onIntervalChanged(){return this._intervalChanged}onStatusChanged(){return this._onStatusChanged}onRestarted(){return this._onRestarted}onExtendedHoursChanged(){return this._extendedHoursChanged}sessionId(){return this.properties().childs().sessionId.value()}sessionIdChanged(){return this._sessionIdChanged}autoScaleInfo(e,t){const i=this.priceRange(e,t);if(null===this._paneView)return{range:i};const s=this._paneView;return{range:i,topPixelMargin:s.topPixelMargin?s.topPixelMargin():void 0,bottomPixelMargin:s.bottomPixelMargin?s.bottomPixelMargin():void 0}}onChartStyleChanged(){var e;this._updateBarFunction(),!this._preventRestartOnChartStyleChange&&this.isNeedRestart()&&(this.data().clear(),this.model().timeScale().scrollToRealtime(!1),this.restart());const t=this.properties();this._prevChartStyle=t.childs().style.value(),this._onStyleChanged.fire(t.childs().style.value()),this.invalidateBarStylesCache(),this._updateLastPriceAnimationActive(), -(null===(e=this._styleToRecover)||void 0===e?void 0:e.originalStyle)!==this.style()&&(this._styleToRecover=null)}setChartStyleWithIntervalIfNeeded(e,t){const i=this.interval(),s=null!=t?t:(0,nt.getResolutionByChartStyle)(e,i,this._model.defaultResolutions()),r=$.Interval.isEqual(s,i);this.setSymbolParams({interval:r?void 0:s,style:e})}styleStudyInfos(){return{haStyle:this._haStyle,renkoStyle:this._renkoStyle,pbStyle:this._pbStyle,kagiStyle:this._kagiStyle,pnfStyle:this._pnfStyle,rangeStyle:this._rangeStyle}}sessionIdProxyProperty(){return this._sessionIdProxyProperty}symbolTextSourceProxyProperty(){return this._symbolTextSourceProxyProperty}setTextSourceIsAlwaysTickerRestrictionEnabled(e){this._textSourceIsAlwaysTickerRestrictionEnabled=e,this._recalcSymbolTextSourceProxyProperty()}isPrePostMarketPricesAvailableProperty(){return this._isPrePostMarketPricesAvailableProperty}isSettlementAsCloseForbiddenProperty(){return this._isSettlementAsCloseForbiddenProperty}isBackAdjustmentForbiddenProperty(){return this._isBackAdjustmentForbiddenProperty}dataWindowView(){return this._dataWindowView}statusView(){return Bt?this._statusView:null}legendView(){return this._legendView}marketStatusModel(){return this._marketStatusModel}dataUpdatedModeModel(){return this._dataUpdatedModeModel}dataProblemModel(){return this._dataProblemModel}quotes(){return this.data().isEmpty()?null:this._quotesProvider.quotes()}base(){return this._base}pointValue(){return this._pointValue}barCloseTime(){return this._lastBarCloseTime}priceSource(){let e=null;const t=this._properties.childs();switch(t.style.value()){case 2:e=t.lineStyle.childs().priceSource.value();break;case 3:e=t.areaStyle.childs().priceSource.value();break;case 10:e=t.baselineStyle.childs().priceSource.value();break;case 13:e=t.columnStyle.childs().priceSource.value()}return e}updateAllViews(e){var t,i,s,r,n,o,a;null===(t=this._paneView)||void 0===t||t.update(e),this._dataWindowView.update(),this._legendView.update(),this._statusView.update(),this._averagePaneViews.forEach(t=>t.update(e)),this._highLowAvgPaneViews.forEach(t=>t.update(e)),this._labelPaneViews.forEach(t=>t.update(e)),this._priceAxisViews.forEach(t=>t.update(e)),this._priceLineAxisViews.forEach(t=>t.update(e)),null===(i=this._futureBarsPaneView)||void 0===i||i.update(e),null===(s=this._projectionBarsPaneView)||void 0===s||s.update(e),null===(r=this._waterlineView)||void 0===r||r.update(e),null===(n=this._priceLineView)||void 0===n||n.update(e),null===(o=this._gotoDateView)||void 0===o||o.update(e),null===(a=this._baseHorizontalLineView)||void 0===a||a.update(e);const l=this._model.activeStrategySource().value();null==l||l.updateAllViews(e),this._lineStyleLastPriceCirclePaneView.update(e)}barFunction(){return this._barFunction}setSymbolParams(e){const{symbol:t,interval:i,currency:s,unit:r,style:n}=e,o=this.properties().childs(),a=void 0!==t&&t!==o.symbol.value(),l=void 0!==s&&s!==o.currencyId.value(),c=void 0!==r&&r!==o.unitId.value(),h=void 0!==i&&i!==o.interval.value(),d=void 0!==n&&n!==o.style.value() -;a&&o.symbol.setValueSilently(t),l&&o.currencyId.setValueSilently(s),c&&o.unitId.setValueSilently(r),h&&o.interval.setValueSilently(i),d&&o.style.setValueSilently(n),a&&o.symbol.listeners().fire(o.symbol),l&&o.currencyId.listeners().fire(o.currencyId),c&&o.unitId.listeners().fire(o.unitId),h&&o.interval.listeners().fire(o.interval),d&&(a||l||c||h?(this._preventRestartOnChartStyleChange=!0,o.style.listeners().fire(o.style),this._preventRestartOnChartStyleChange=!1):o.style.listeners().fire(o.style))}setSymbol(e){this.setSymbolParams({symbol:e})}currency(){return this.properties().childs().currencyId.value()||null}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,p.isConvertedToOtherCurrency)(this.symbolInfo())}unit(){return this.properties().childs().unitId.value()||null}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,p.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}symbolSource(){return this}title(){return this.symbolTitle()}name(){return this.symbolTitle()}symbolTitle(e,t,i="exchange"){let s=this.properties().childs().symbol.value();const r=this.symbolInfo();if(null!==r){const{type:t}=r;s=(0,p.symbolTitle)(r,e,"forex"===t?"exchange":i)}return t?s:`${s}, ${(0,w.translatedIntervalString)(this.properties().childs().interval.value())}`}setObsoleteZOrder(e){this._obsoleteZOrder=e}obsoleteZOrder(){return this._obsoleteZOrder}valuesProvider(){return new R(this,this.model())}statusProvider(e){return new I(this,this._model.properties().childs().scalesProperties.childs().textColor,this.properties().childs().statusViewStyle,e)}open(e){const t=this.data().valueAt(e);return t&&t[1]}high(e){const t=this.data().valueAt(e);return t&&t[2]}low(e){const t=this.data().valueAt(e);return t&&t[3]}close(e){const t=this.data().valueAt(e);return t&&t[4]}moveItem(e,t,i){if(10===this.style()&&0===t){const t=this.priceScale(),i=this.properties().childs().baselineStyle,s=t.height(),r=100-e.y/s*100,n=r<0?0:Math.round(10*r)/10;i.childs().baseLevelPercentage.setValue(Math.max(Math.min(n,100),0))}}requestMoreDataAvailable(){return this._requestMoreDataAvailable}endOfData(){return null!==this._endOfDataType}dataPoweredBy(){return null}boxSizeValue(){return this._boxSizeValue}isUserDeletable(){return!1}changeSymbol(){this.setSymbolIntervalCurrencyDelayed(),this.model().checkLineToolSelection()}changeInterval(){this.setSymbolIntervalCurrencyDelayed()}changeTimeFrame(){(0,n.trackEvent)("GUI","Change timeframe")}onTagsChanged(){return this._tagsChanged}state(e){const t=this.obsoleteZOrder();let i={type:"MainSeries",id:this.id(),zorder:t,haStyle:this._haStyle,renkoStyle:this._renkoStyle,pbStyle:this._pbStyle,kagiStyle:this._kagiStyle,pnfStyle:this._pnfStyle,rangeStyle:this._rangeStyle};const s=this.properties().state();return this._symbolInfo&&(this._symbolInfo.ticker&&(s.symbol=this._symbolInfo.ticker),i.formattingDeps={format:this._symbolInfo.format,pricescale:this._symbolInfo.pricescale,minmov:this._symbolInfo.minmov,fractional:this._symbolInfo.fractional, -minmove2:this._symbolInfo.minmove2}),this._model.unitConversionEnabled()||(s.unitId=null),i.state=s,e&&(i={...i,bars:this._barsState(this.bars()),nsBars:this._barsState(this.nsBars()),symbolInfo:this._symbolInfo,rtPrice:this.data().lastProjectionPrice,boxSize:this.data().boxSize,reversalAmount:this.data().reversalAmount}),i}restoreState(e,t){if(t&&this._setStatus(5),!this._model.unitConversionEnabled()&&e.state&&delete e.state.unitId,this._properties.mergeAndFire(e.state),this._properties.hasChild("esdBreaksStyle")&&this._properties.removeProperty("esdBreaksStyle"),this._prevChartStyle=this.properties().childs().style.value(),this.createPaneView(),t){const t=e;this.restoreData(t.bars,t.nsBars,t.symbolInfo,t.rtPrice,t.boxSize,t.reversalAmount)}e.formattingDeps&&(this._formattingDeps=e.formattingDeps,this._recreatePriceFormattingDependencies())}restoreData(e,t,i,s,r,n){this._status=5,this._data=new c.SeriesData,this._data.bars().restoreState(e),this._data.nsBars().restoreState(t),this._updateSymbolInfo(i,!1),this._data.lastProjectionPrice=s,this._data.boxSize=r;const o=this.properties().childs();r||(6===o.style.value()?this._data.boxSize=o.pnfStyle.childs().inputs.childs().boxSize.value():4===o.style.value()&&(this._data.boxSize=o.renkoStyle.childs().inputs.childs().boxSize.value())),this._data.reversalAmount=n,n||5===o.style.value()&&(this._data.reversalAmount=o.kagiStyle.childs().inputs.childs().reversalAmount.value()),this._loading=!1}_barsState(e){const t=e.state();return t.data.forEach(e=>e.value.splice(7,1)),t}_updateBarFunction(){if(12===this.properties().childs().style.value())this._barFunction=(0,c.barFunction)("low");else{const e=this.priceSource()||"close";this._barFunction=(0,c.barFunction)(e)}}_setProperties(e){e.hasChild("timeframe")||e.merge({timeframe:""}),e.hasChild("shortName")||e.merge({shortName:""}),e.hasChild("currencyId")||e.addChild("currencyId",new(u())(null)),e.hasChild("unitId")||e.addChild("unitId",new(u())(null)),this._properties=e;const t=e.childs();t.symbol.listeners().subscribe(this,this.changeSymbol),t.interval.listeners().subscribe(this,this.changeInterval),t.currencyId.listeners().subscribe(this,this._changeCurrency),t.unitId.listeners().subscribe(this,this._changeUnit),t.timeframe.listeners().subscribe(this,this.changeTimeFrame),e.subscribe(this,this._onPropertiesChanged)}_updateSessionIdProxyProperty(e){const t=this._properties.childs().sessionId.value();let i=t;if(e){const e=this.symbolInfo();null!==e&&(i=e.subsession_id||t)}this._ignoreSessionIdProxyPropertyChanges=!0,this._sessionIdProxyProperty.setValue(i),this._ignoreSessionIdProxyPropertyChanges=!1}_onSessionIdProxyPropertyChanged(){this._ignoreSessionIdProxyPropertyChanges||this._properties.childs().sessionId.setValue(this._sessionIdProxyProperty.value()),this._updateLastPriceAnimationActive()}_onSymbolResolved(e){var t;const i=this.properties().childs();S.enabled("charting_library_single_symbol_request")||(this.m_symbol=null!==(t=(0,p.extractSymbolNameFromSymbolInfo)(e,(0, -p.symbolForApi)(e,i.symbol.value())))&&void 0!==t?t:i.symbol.value()),this._seriesErrorMessage=null,this._updateSymbolInfo(e,!1),this._model.updateSource(this),this._model.onWidget()||((0,n.trackEvent)("Symbol",e.listed_exchange,e.name),(0,n.trackEvent)("Symbol Type",e.type,e.listed_exchange));const s=e.minmov/e.pricescale;4===i.style.value()&&i.renkoStyle.childs().inputs.childs().boxSize.value()s(0)),o=Oe(e,t,{label:Re,labelVisible:r.highLowPriceLabelsVisible,lineVisible:r.highLowPriceLinesVisible,lineColor:r.highLowPriceLinesColor,lineWidth:r.highLowPriceLinesWidth},()=>s(1));return{paneViews:[n.paneView,o.paneView],panePriceAxisViews:[n.panePriceAxisView,o.panePriceAxisView],priceAxisViews:[n.priceAxisView,o.priceAxisView],priceLineAxisViews:[n.priceLineAxisView,o.priceLineAxisView]}}(this._model,this,e,t);this._highLowAvgPaneViews.push(...i.paneViews),this._labelPaneViews.push(...i.panePriceAxisViews),this._priceAxisViews.push(...i.priceAxisViews),this._priceLineAxisViews.push(...i.priceLineAxisViews)}_createAverageViews(){const e=this.properties().childs().highLowAvgPrice,t=this._getAveragePrice.bind(this),i=Ge(this._model,this,e,t);this._averagePaneViews.push(...i.paneViews),this._labelPaneViews.push(...i.panePriceAxisViews),this._priceAxisViews.push(...i.priceAxisViews),this._priceLineAxisViews.push(...i.priceLineAxisViews)}_getHighLowPrice(e){if(!this._highLowPriceCache.has(e)){const e=this._model.timeScale().visibleBarsStrictRange();if(null===e)return null;const t=function(e,t,i){return e.minMaxOnRangeCached(t,i,[{name:"low",offset:0},{name:"high",offset:0}])}(this._model.mainSeries().bars(),e.firstBar(),e.lastBar());if(null===t)return null;this._highLowPriceCache.set(1,t.min),this._highLowPriceCache.set(0,t.max)}return this._highLowPriceCache.get(e)}_getAveragePrice(e){if(!this._averagePriceCache.has(e)){const e=this._model.timeScale().visibleBarsStrictRange();if(null===e)return null;const t=function(e,t,i){0;const s=(0,c.barFunction)("close");let r=0,n=0;for(let o=t;o<=i;o++){const t=e.valueAt(o);null!==t&&(r+=s(t),n++)} -return n?r/n:null}(this._model.mainSeries().bars(),e.firstBar(),e.lastBar());if(null===t)return null;this._averagePriceCache.set(0,t)}return this._averagePriceCache.get(e)}_onSessionIdPropertyChanged(){this._sessionIdChanged.fire(),this.isDWM()||(this.restart(),this._updateLastPriceAnimationActive())}_subscribeRestartToSessionIdChange(){this.properties().childs().sessionId.subscribe(this,this._onSessionIdPropertyChangedBound)}_unsubscribeRestartToSessionIdChange(){this.properties().childs().sessionId.unsubscribe(this,this._onSessionIdPropertyChangedBound)}_updateLastPriceAnimationActive(){if(!this._options.lastPriceAnimationEnabled)return;const e=this._lastPriceAnimationActive,t=this.properties().childs(),i=t.style.value();if(this._model.isSnapshot()||!t.visible.value()||3!==i&&10!==i&&2!==i)this._lastPriceAnimationActive=!1;else{const e=this.currentSession(),t=!(0,p.isRegularSessionId)(this.sessionIdProxyProperty().value())&&!this.isDWM();this._lastPriceAnimationActive="market"===e||t&&("pre_market"===e||"post_market"===e)}this._lastPriceAnimationActive&&e!==this._lastPriceAnimationActive&&this.model().invalidate(it.InvalidationMask.cursor())}_onPropertiesChanged(e){const t=this._properties.childs();e!==t.symbol&&e!==t.interval&&e!==t.timeframe&&(this._tagsChanged.fire(),this.createPaneView(),this.updateAllViews((0,ye.dataSourceChangeEvent)(this._id)),this.model().updateSource(this),(0,o.emit)("series_properties_changed",this._id))}_recalcSymbolTextSourceProxyProperty(){this._textSourceIsAlwaysTickerRestrictionEnabled?this._symbolTextSourceProxyProperty.setValue("ticker"):this._symbolTextSourceProxyProperty.setValue(this._properties.childs().statusViewStyle.childs().symbolTextSource.value())}}},16654:(e,t,i)=>{"use strict";i.r(t),i.d(t,{STATUS_OFFLINE:()=>s,STATUS_RESOLVING:()=>r,STATUS_LOADING:()=>n,STATUS_READY:()=>o,STATUS_INVALID_SYMBOL:()=>a,STATUS_SNAPSHOT:()=>l,STATUS_EOD:()=>c,STATUS_PULSE:()=>h,STATUS_DELAYED:()=>d,STATUS_DELAYED_STREAMING:()=>u,STATUS_NO_BARS:()=>p,STATUS_REPLAY:()=>_,STATUS_ERROR:()=>m,SERIES_STATUS_TEXT:()=>g,STYLE_LINE_TYPE_MARKERS:()=>f,STYLE_LINE_TYPE_STEP:()=>v,STYLE_LINE_TYPE_SIMPLE:()=>S,STYLE_BARS:()=>y,STYLE_CANDLES:()=>b,STYLE_LINE:()=>w,STYLE_AREA:()=>C,STYLE_RENKO:()=>P,STYLE_KAGI:()=>T,STYLE_PNF:()=>x,STYLE_PB:()=>I,STYLE_HEIKEN_ASHI:()=>M,STYLE_HOLLOW_CANDLES:()=>L,STYLE_BASELINE:()=>A,STYLE_RANGE:()=>E,STYLE_HILO:()=>k,STYLE_COLUMNS:()=>D,STYLE_SHORT_NAMES:()=>V,SYMBOL_STRING_DATA:()=>B});const s=0,r=1,n=2,o=3,a=4,l=5,c=6,h=7,d=8,u=9,p=10,_=11,m=12,g={[s]:"connecting",[r]:"loading",[n]:"loading",[o]:"realtime",[a]:"invalid",[l]:"snapshot",[c]:"endofday",[h]:"endofday",[d]:"delayed",[u]:"delayed_streaming",[p]:"forbidden",[_]:"replay",[m]:"error"},f=0,v=1,S=2,y=0,b=1,w=2,C=3,P=4,T=5,x=6,I=7,M=8,L=9,A=10,E=11,k=12,D=13,V={0:"bar",1:"candle",9:"hollowCandle",2:"line",3:"area",4:"renko",7:"pb",5:"kagi",6:"pnf",8:"ha",10:"baseline",11:"range",12:"hilo",13:"column"},B={4:{type:"BarSetRenko@tv-prostudies",basicStudyVersion:40},7:{type:"BarSetPriceBreak@tv-prostudies", -basicStudyVersion:34},5:{type:"BarSetKagi@tv-prostudies",basicStudyVersion:34},6:{type:"BarSetPnF@tv-prostudies",basicStudyVersion:34},8:{type:"BarSetHeikenAshi@tv-basicstudies",basicStudyVersion:60},11:{type:"BarSetRange@tv-basicstudies",basicStudyVersion:72}}},63948:(e,t,i)=>{"use strict";i.d(t,{seriesPlotFunctionMap:()=>c,barFunction:()=>h,SeriesData:()=>p});var s,r=i(88537),n=i(71053),o=i(55257);!function(e){e[e.FromLeft=-1]="FromLeft",e[e.FromRight=1]="FromRight"}(s||(s={}));const a={open:e=>e[1],high:e=>e[2],low:e=>e[3],close:e=>e[4],hl2:e=>(e[2]+e[3])/2,hlc3:e=>(e[2]+e[3]+e[4])/3,ohlc4:e=>(e[1]+e[2]+e[3]+e[4])/4},l=["open","high","low","close","hl2","hlc3","ohlc4"];function c(){const e=new Map;return l.forEach((t,i)=>{e.set(t,h(t))}),e}function h(e){return a[e]}function d(e,t){return null==e[t]}const u=[{barsToMerge:10,forBarspacingLargerThen:.03},{barsToMerge:30,forBarspacingLargerThen:.01},{barsToMerge:100,forBarspacingLargerThen:.003},{barsToMerge:500,forBarspacingLargerThen:0}];class p{constructor(){this._pressedChunks={chunks:new Map,priceSource:"uninitialized"},this.m_bars=new n.PlotList(c(),d),this.m_nsBars=new n.PlotList(c(),d),this._clearPressedChunks()}bars(){return this.m_bars}nsBars(){return this.m_nsBars}pressedChunks(e,t){if(t!==this._pressedChunks.priceSource){this._pressedChunks.priceSource=t;const e=this.m_bars.first();e&&(this._clearPressedChunks(),this._rebuildPressedChunks(e))}const i=(0,r.ensureDefined)(u.find(t=>t.forBarspacingLargerThen<=e));return(0,r.ensureDefined)(this._pressedChunks.chunks.get(i.barsToMerge))}mergeRegularBars(e){const t=this.m_bars.size(),i=this.m_bars.merge(e);return i&&"uninitialized"!==this._pressedChunks.priceSource&&(t===this.m_bars.size()&&i.index===this.m_bars.lastIndex()?this._updateLatestChunks():this._rebuildPressedChunks(i)),i}size(){return this.m_bars.size()+this.m_nsBars.size()}each(e){this.m_bars.each(e),this.m_nsBars.each(e)}clear(){this.m_bars.clear(),this.m_nsBars.clear(),this.lastProjectionPrice=void 0,this._clearPressedChunks()}isEmpty(){return this.m_bars.isEmpty()&&this.m_nsBars.isEmpty()}first(){return this.m_bars.isEmpty()?this.m_nsBars.first():this.m_bars.first()}last(){return this.m_nsBars.isEmpty()?this.m_bars.last():this.m_nsBars.last()}search(e,t){return this.nsBars().isEmpty()?this.bars().search(e,t):this.bars().isEmpty()||(0,r.ensureNotNull)(this.nsBars().firstIndex())<=e?this.nsBars().search(e,t):this.bars().search(e,t)}valueAt(e){const t=this.search(e);return null!==t?t.value:null}plotValueToTimePointIndex(e,t,i){if(i===s.FromRight){const i=(i,s)=>{const r=s[t];return null!=r&&e>=r},s=this.m_bars.findLast(i);if(null!==s)return s.index;const r=this.m_nsBars.findLast(i);return null!==r?r.index:this.m_bars.firstIndex()}if(i===s.FromLeft){const i=(i,s)=>{const r=s[t];return null!=r&&e<=r},s=this.m_bars.findFirst(i);if(null!==s)return s.index;const r=this.m_nsBars.findFirst(i);return null!==r?r.index:this.m_bars.lastIndex()}throw new Error("plotValueToTimePointIndex: unsupported search mode")}moveData(e){this.m_bars.move(e), -this.m_nsBars.move(e),this.m_bars.size()>0&&this._rebuildPressedChunks((0,r.ensureNotNull)(this.m_bars.first()))}_rebuildPressedChunks(e){const t=this._pressedChunks.priceSource;if("uninitialized"===t)return;const i=e.index,s=a[t],n=(e,t,i)=>{let r=null;for(;e.hasNext();){const n=e.next(),o=s(n.value);r&&n.index-r.startTime>=i.barsToMerge&&(t.push(r),r=null),r?(r.endTime=n.index,r.high=Math.max(r.high,o),r.low=Math.min(r.low,o),r.close=o):r={startTime:n.index,endTime:n.index,open:o,high:o,low:o,close:o}}r&&t.push(r)};u.forEach(e=>{const t=(0,r.ensureDefined)(this._pressedChunks.chunks.get(e.barsToMerge)),s=(0,o.lowerbound)(t,i,(e,t)=>e.endTime0){const i=t[0].startTime-1,s=(0,r.ensureNotNull)(this.m_bars.firstIndex()),o=this.m_bars.rangeIterator(s,i),a=[];n(o,a,e);const l=a.concat(t);this._pressedChunks.chunks.set(e.barsToMerge,l)}else{const i=(0,r.ensureNotNull)(this.m_bars.lastIndex());t.splice(s);let o=(0,r.ensureNotNull)(this.m_bars.firstIndex());t.length&&(o=t[t.length-1].endTime+1);const a=this.m_bars.rangeIterator(o,i);n(a,t,e)}})}_updateLatestChunks(){const e=(0,r.ensureNotNull)(this.m_bars.lastIndex());u.forEach(t=>{const i=(0,r.ensureDefined)(this._pressedChunks.chunks.get(t.barsToMerge)),s=this.m_bars.rangeIterator(e,e).next(),n=s.value[4],o=i[i.length-1];o.high=Math.max(o.high,n),o.low=Math.min(o.low,n),o.close=n,o.endTime=s.index})}_clearPressedChunks(){u.forEach(e=>this._pressedChunks.chunks.set(e.barsToMerge,[]))}}},34081:(e,t,i)=>{"use strict";i.d(t,{SeriesTimeRangeVolumeCalculator:()=>s});class s{constructor(e){this._value=null,this._series=e,this._series.dataEvents().dataUpdated().subscribe(this,this._onSeriesUpdated)}destroy(){this._series.dataEvents().dataUpdated().unsubscribeAll(this)}volume(e,t){if(null!==this._value&&this._value.from===e&&this._value.to===t)return this._value.value;let i=0;const s=this._series.data().bars(),r=s.firstIndex(),n=s.lastIndex();if(null!==r&&en&&t>n)i=NaN;else{const s=this._series.data().bars().rangeIterator(Math.min(e,t),Math.max(e,t));for(;s.hasNext();){const e=s.next().value[5];if(void 0===e){i=NaN;break}i+=e}}return this._value={from:e,to:t,value:i},i}_onSeriesUpdated(e,t){if(null===this._value)return;if(t)return void(this._value=null);const i=this._series.data().bars().lastIndex();(null===i||i<=this._value.to)&&(this._value=null)}}},37667:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isRequiringRestartSeriesStyles:()=>y,isRangeBasedStyle:()=>b,isRangeStyle:()=>w,isTimeBasedStyle:()=>C,isValidStyle:()=>P,isSingleValueBasedStyle:()=>T,setLastUsedStyle:()=>x,getLastUsedStyle:()=>I,getLastUsedSingleValueBasedStyle:()=>M,getDefaultStyle:()=>L,getChartStyleByResolution:()=>A,chartStyleStudyId:()=>E,preparePriceAxisProperties:()=>k,hasProjection:()=>V,isPriceSourceStyle:()=>B,getSeriesPriceFormattingState:()=>N,createSeriesFormatter:()=>R,symbolCurrencyConvertible:()=>O,symbolCurrency:()=>F,symbolOriginalCurrency:()=>W,symbolBaseCurrency:()=>H,isConvertedToOtherCurrency:()=>z,symbolUnitConvertible:()=>U,symbolUnit:()=>j, -symbolOriginalUnit:()=>G,isConvertedToOtherUnit:()=>q,symbolUnitConvertibleGroupsIfExist:()=>Y,symbolCurrentContract:()=>K,symbolHasPreOrPostMarket:()=>$,symbolHasSeveralSessions:()=>X,symbolHasEconomicEvents:()=>Z,extractSymbolNameFromSymbolInfo:()=>J,symbolTitle:()=>Q,displayedSymbolName:()=>ee,displayedSymbolExchange:()=>te,actualSymbol:()=>ie,proSymbol:()=>se,symbolForApi:()=>re,isRegularSessionId:()=>ne,isCloseBasedSymbol:()=>oe,isMeasureUnitSymbol:()=>ae,measureUnitId:()=>le,hasVolume:()=>ce,isEconomicSymbol:()=>he,getStudySymbolExchange:()=>de,isFutureContinuousSymbolWithBackajustment:()=>ue,isCryptoSymbol:()=>pe});var s=i(56840),r=i(16654),n=i(29823),o=i(97098),a=i(67337),l=i(88537),c=i(67802),h=i(26811);const d=a.enabled("pay_attention_to_ticker_not_symbol"),u=a.enabled("uppercase_instrument_names"),p=a.enabled("charting_library_single_symbol_request"),_=a.enabled("use_ticker_on_symbol_info_update"),m=a.enabled("hide_object_tree_and_price_scale_exchange_label"),g=[4,5,6,7,8],f=[4,5,6,7,11],v=[0,1,9,2,3,10,8,13],S=[2,10,3,13];function y(e){return-1!==g.indexOf(e)}function b(e){return-1!==f.indexOf(e)}function w(e){return 11===e}function C(e){return-1!==v.indexOf(e)}function P(e){return b(e)||C(e)}function T(e){switch(e){case 3:case 10:case 2:case 13:return!0;default:return!1}}function x(e,t){P(e)&&(11!==e&&s.setValue("chart.lastUsedStyle",e),oe(t)&&T(e)&&s.setValue("chart.lastUsedSingleValueBasedStyle",e))}function I(){const e=s.getInt("chart.lastUsedStyle");return void 0===e?1:e}function M(){const e=s.getInt("chart.lastUsedSingleValueBasedStyle");return void 0===e?2:e}function L(e){return e?11:1}function A(e,t){const i=w(t),s=n.Interval.isRange(e);return!i&&s?L(!0):i&&!s?L(!1):t}function E(e,t){const i=r.SYMBOL_STRING_DATA[e];return void 0===i?null:t?`${i.type}-${i.basicStudyVersion}`:i.type}function k(e){const t=e.priceAxisProperties,i=t.lockScale.value(),s=6===e.style.value();(s||i)&&(t.log.setValue(!1),t.percentage.setValue(!1)),t.logDisabled.setValue(!(!s&&!i)),t.percentageDisabled.setValue(!(!s&&!i))}const D=[4,7,5,6];function V(e){return-1!==D.indexOf(e)}function B(e){return S.includes(e)}function N(e,t="default",i=!1){let s,r,n=100,o=1;if("default"===t)null!=e&&(n=e.pricescale,o=e.minmov,s=e.fractional,r=e.minmove2);else{let e=t.split(",");3!==e.length&&(e=["100","1","false"]),n=parseInt(e[0]),o=parseInt(e[1]),s="true"===e[2]}return i&&(o=1),{priceScale:n,minMove:o,fractional:s,minMove2:r}}function R(e,t,i=!1){if("default"===t&&null!=e){const t=e.formatter||e.format;if("volume"===t)return new c.VolumeFormatter(2);if("percent"===t)return new h.PercentageFormatter(e.pricescale)}const{priceScale:s,minMove:r,fractional:n,minMove2:a}=N(e,t,i);return new o.PriceFormatter(s,r,n,a)}function O(e){return null!==e&&"spread"!==e.type}function F(e,t,i){if(null===e)return null;const s=!t||i?e.currency_id:e.currency_code;return void 0===s||""===s?null:s}function W(e,t){const i=t?e.original_currency_code:e.original_currency_id;return null!=i?i:F(e,t)}function H(e){return e.base_currency_id||null}function z(e){ -return!(null===e||!O(e))&&(void 0!==e.original_currency_id&&e.original_currency_id!==e.currency_id)}function U(e,t){return t&&null!==e&&"spread"!==e.type}function j(e,t){if(null===e||!t)return null;const i=e.unit_id;return void 0===i||""===i?null:i}function G(e,t){return t?e.original_unit_id||j(e,t):null}function q(e,t){return!(null===e||!U(e,t))&&(void 0!==e.original_unit_id&&e.original_unit_id!==e.unit_id)}function Y(e,t){return null!==e&&U(e,t)?e.unit_conversion_types||null:[]}function K(e){return"futures"===e.type&&e.front_contract||null}function $(e){return null!==e&&void 0!==e.subsessions&&e.subsessions.some(e=>"premarket"===e.id||"postmarket"===e.id)}function X(e){return null!==e&&void 0!==e.subsessions&&e.subsessions.filter(e=>!e.private).length>1}function Z(e){return null!==e&&("forex"===e.type||"cfd"===e.type||pe(e))}function J(e,t){let i=e&&(e.pro_name||e.full_name||e.name);return p&&t?i=t:_&&e&&e.ticker&&(i=e.ticker),u&&i&&(i=i.toUpperCase()),i}function Q(e,t,i="exchange"){return t||m?e.name:`${e.name}, ${e[i]}`}function ee(e){let t=e&&(K(e)||e.name)||"";return t.length>40&&(t=t.substring(0,37)+"..."),t.trim()}function te(e){const t=e?e.exchange:"";return u?t.toUpperCase():t}function ie(e,t){return null!==e?e.full_name:t}function se(e,t){return null!==e?e.pro_name:t}function re(e,t){return d&&e?(0,l.ensureDefined)(e.ticker):ie(e,t)}function ne(e){return"regular"===e||"us_regular"===e}function oe(e){return"c"===(null==e?void 0:e.visible_plots_set)}function ae(e){return null!==e&&("unit"===e.measure&&null!==le(e))}function le(e){var t;return null!==(t=null==e?void 0:e.value_unit_id)&&void 0!==t?t:null}function ce(e){return void 0!==e.visible_plots_set?"ohlcv"===e.visible_plots_set:!e.has_no_volume}function he(e){return null!==e&&"economic"===e.type}function de(e){return he(e)&&e.source?e.source:e.exchange&&0!==e.exchange.length?e.exchange:void 0}function ue(e){var t;return null!==e&&"futures"===e.type&&Boolean(e.has_backadjustment&&(null===(t=e.typespecs)||void 0===t?void 0:t.includes("continuous")))}function pe(e){var t;return(null===(t=e.typespecs)||void 0===t?void 0:t.includes("crypto"))||"crypto"===e.type||"bitcoin"===e.type}},56972:(e,t,i)=>{"use strict";var s=i(2872),r=i(2015),n=i(69927).PriceRange;TradingView.DEFAULT_BAR_COUNT=300,TradingView.TIME_PLOT=0,TradingView.OPEN_PLOT=1,TradingView.HIGH_PLOT=2,TradingView.LOW_PLOT=3,TradingView.CLOSE_PLOT=4,TradingView.ADT_PLOT=6,TradingView.STYLE_PLOT=7;var o=i(88537).ensureNotNull,a=i(10590).SeriesBase,l=i(67337);const{dataSourceChangeEvent:c}=i(33291);var h=i(33981).SeriesBarColorer,d=i(71053),u=d.PlotRowSearchMode,p=d.mergeMinMax,_=(i(51768).trackEvent,i(98125).getLogger("Chart.Series")),m=i(16654),g=i(37667),f=i(9315).getServerInterval,v=i(29823).Interval,S=i(73532).SeriesHorizontalBaseLinePaneView,y=i(15840).deepExtend,b=i(19234).encodeExtendedSymbolOrGetSimpleSymbolString,w=i(76422),C=i(73383).TIMEFRAMETYPE,P=i(23653).InvalidationMask,T=i(37667).isSingleValueBasedStyle;const x=l.enabled("pre_post_market_sessions");class I extends a{ -constructor(e,t,i,r){t.removeProperty("currencyId"),super(e,t,i,r),this._symbolIntervalChanged=new s,this.requestingIntradayWhenNotSupported=new s,this.requestingResolutionWhenNotSupported=new s,this._onInReplayStateChanged=new s,this._replayExitedDueUnsupportedInterval=new s,this._replayExitedDueUnavailableForUserInterval=new s,this._onTimeFrameApplied=new s,this._chartApi=e._chartApi,this.createPaneView(),this._replaySubscriber=null,this._isReplayResolutionAvailableForUser=null,this._properties.addExclusion&&(this._properties.addExclusion("visible"),this._properties.addExclusion("currencyId")),this._futureBarsPaneView=null,this.properties().minTick.listeners().subscribe(this,I.prototype._recreateFormatter);var n=this;this.properties().minTick.listeners().subscribe(null,(function(){n._model.fullUpdate()})),this._priceLineView=null,this._baseHorizontalLineView=new S(this),this._gotoDateResultCleared=!1,this._gotoDateView=null,this.bindStyleChange(),this.bindJapChartsInputs(),this._createIsDWMProperty(),this._symbolIntervalChanged.subscribe(this,this._checkInterval),this.properties().showCountdown.listeners().subscribe(this,I.prototype._onChangeShowCountdown),this._onChangeShowCountdown(this.properties().showCountdown),this._recreatePriceFormattingDependencies(),this.properties().lineStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this.properties().areaStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this.properties().baselineStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this.properties().columnStyle.priceSource.listeners().subscribe(this,this._updateBarFunction),this._updateBarFunction()}isLoading(){return this._loading}isSymbolInvalid(){return this._status===I.STATUS_INVALID_SYMBOL}styleStudyInfo(e){return this.styleStudyInfos()[e]}priceLineColor(e){return this.properties().priceLineColor.value()||e}serverTimeOffset(){return this._chartApi.serverTimeOffset()}_onChangeShowCountdown(e){var t=this;e.value()?this._countdownUpdateTimer=this._model.setInterval((function(){t._priceAxisView.updateCountdown()}),500):(this._model.clearInterval(this._countdownUpdateTimer),delete this._countdownUpdateTimer)}_createIsDWMProperty(){this._isDWMProperty=new r(this.isDWM()),this._onRestarted.subscribe(this,(function(){this._isDWMProperty.setValue(this.isDWM())}))}isDWMProperty(){return this._isDWMProperty}fixLastBar(e){0}isPulse(){return this._symbolInfo&&this._symbolInfo.resolutions.length>0}onSymbolIntervalChanged(){return this._symbolIntervalChanged}_clearStylePlot(e,t){if(0!==e.size()){var i=t||o(e.firstIndex()),s=o(e.lastIndex())+1;e.range(i,s).each((function(e,t){t[TradingView.STYLE_PLOT]=null}))}}invalidateBarStylesCache(e){_.logDebug("Invalidate style cache starting from "+e),this._clearStylePlot(this.bars(),e),this._clearStylePlot(this.nsBars())}invalidateBarColorerCache(){delete this._barColorerCache,this.invalidateBarStylesCache()}barColorer(){if(this._barColorerCache)return this._barColorerCache -;for(var e=null,t=this._model.dataSources(),i=t.length-1;i>=0;i--){var s=t[i];if(s.metaInfo&&TradingView.isInherited(s.constructor,TradingView.Study)&&s.hasBarColorer()&&!s.isSourceHidden()){var r=s.barColorer();null===e?e=r:e.pushBackBarColorer(r)}}return null===e?e=new h(this):e.pushBackBarColorer(new h(this)),this._barColorerCache=e,this._barColorerCache}alertCreationAvailable(){const e=this.symbolInfo();return this.hasStateForAlert()&&e&&!g.isEconomicSymbol(e)}hasStateForAlert(){return!1}stateForAlert(){throw new Error("Not implemented")}idForAlert(){return a.prototype.idForAlert.call(this)}seriesSource(){return this._seriesSource}_onSeriesTimeFrame(e,t,i,s,r){var n=T(this.style())?e+.5:e,o=t;if(void 0===r)null!==i&&i.type!==C.PeriodBack||(o+=this._model.studyAwareDefaultRightOffset());else if(r.applyDefaultRightMargin)o+=this._model.studyAwareDefaultRightOffset();else if(r.percentRightMargin){var a=t-n+1,l=Math.max(0,Math.min(.99,r.percentRightMargin/100));o+=l*a/(1-l)}this._model.setTimeViewport(n,o)}_onSeriesError(e){this._loading=!1;var t=e.error;if(e.ctx){var i={};Object.entries(e.ctx).forEach((function(e,t){i[e]=t.toString()})),t=t.format(i)}l.enabled("charting_library_debug_mode")&&_.logNormal("Error reason: "+t),this._seriesErrorMessage=t;const s="unknown_symbol"!==t?I.STATUS_ERROR:l.enabled("no_bars_status")&&this._symbolInfo?I.STATUS_NO_BARS:I.STATUS_INVALID_SYMBOL;this._setStatus(s),this._seriesLoaded=!0,this._enablePriceRangeReady()}_onSeriesCompleted(e,t,i){if(this._setSymbolIntervalDelay){if(this._willSymbolIntervalCurrencyChanged())return void _.logNormal("command comes during symbol/interval changing");_.logNormal("series_completed comes when symbol interval delay present but symbol/interval should not be changed")}this._loading=!1,this._seriesErrorMessage=null;var s=e;switch("pulsed"===s&&(s="delayed"),s){case"streaming":this._setStatus(I.STATUS_READY);break;case"endofday":this._setStatus(I.STATUS_EOD);break;case"delayed":this._setStatus(I.STATUS_DELAYED);break;case"pulsed":this._setStatus(I.STATUS_PULSE);break;case"replay":this._setStatus(I.STATUS_REPLAY)}s.match(/delayed_streaming/)&&this._setStatus(I.STATUS_DELAYED_STREAMING),this._endOfDataType=void 0!==i?i.data_completed:null;var r=this._model.paneForSource(this);r.recalculatePriceScale(this.priceScale(),c(this.id()));var n=P.full();null!==this._model.appliedTimeFrame().value()&&n.lockVisibleTimeRangeOnResize(),this._model.invalidate(n),this.model().recalcVisibleRangeStudies(!0),this.model().recalcStudyBasedLineTools(),!this.m_priceScale.isLockScale()||this.model().timeScale().isEmpty()||this._seriesLoaded||(this.model().timeScale()._correctOffset(),this.model().timeScale().correctBarSpacing(),this.model().resetPriceScale(r,this.priceScale())),this._seriesLoaded=!0,this._enablePriceRangeReady()}_onBarReceived(e){this.model().recalcVisibleRangeStudies(!0)}isStarted(){return this._seriesSource.isStarted()}restart(){if(this._status!==I.STATUS_SNAPSHOT){this._loading=!0,this._onRestarted.fire(),this._setStatus(I.STATUS_RESOLVING), -this._updateSymbolInfo(null,!0);var e=this._properties.interval.value();this._checkIntervalWillChanged(e)&&this._notifyIntervalChanged(e);var t=null;this._pendingTimeRange&&(t=this._pendingTimeRange,delete this._pendingTimeRange),this._onBeforeModifySeries(this.getSymbolString(),e),this._onTimeFrameApplied.fire(t),e=f(e),this._data=null,this._seriesSource.modifySeries(this._getResolvingSymbolObject(),e,t),this._seriesSource.isStarted()||this._seriesSource.start(),this.m_symbol=this._properties.symbol.value(),this._currency=this._properties.currencyId.value(),this._unit=this._properties.unitId.value(),this.m_interval=this._properties.interval.value()}}hasDelayedSymbolIntervalChange(){return!!this._setSymbolIntervalDelay}setSymbolIntervalCurrencyDelayed(){this._willSymbolIntervalCurrencyChanged()&&(this._setSymbolIntervalDelay&&(_.logNormal("Clear timeout to change symbol/interval #"+this._setSymbolIntervalDelay),clearTimeout(this._setSymbolIntervalDelay)),this._setSymbolIntervalDelay=setTimeout(function(){const e=this._properties;_.logNormal("Timeout #"+this._setSymbolIntervalDelay+' fired, new symbol will be "'+e.symbol.value()+'"'),delete this._setSymbolIntervalDelay,this._setSymbolInterval(e.symbol.value(),e.interval.value(),e.currencyId.value(),e.unitId.value())}.bind(this),30),_.logNormal("Started timeout #"+this._setSymbolIntervalDelay+' to change symbol/interval from "'+this.m_symbol+'" to "'+this._properties.symbol.value()+'"'))}rerequestData(){this._setSymbolInterval(this.m_symbol,this.m_interval,this._currency,this._unit,!0)}_notifyIntervalChanged(e){var t={timeframe:this._pendingTimeRange};this._intervalChanged.fire(e,t),this._pendingTimeRange=t.timeframe}_setSymbolInterval(e,t,i,s,r){this.clearGotoDateResult(),v.isRange(t)&&this._properties.rangeStyle.inputs.range.setValue(v.parse(t).multiplier());var n=this._checkSymbolWillChanged(e),o=this._checkIntervalWillChanged(t),a=this._checkCurrencyWillChanged(i),l=this._checkUnitWillChanged(s);if(n||o||a||l||r)if(this._syncModel=null,this.m_symbol=e,this.m_interval=t,this._currency=i,this._unit=s,this._status!==I.STATUS_SNAPSHOT&&(!this._seriesSource.isStarted()||n||a||l)&&this._updateSymbolInfo(null,!n&&(a||l)),this._status!==I.STATUS_SNAPSHOT){this._loading=!0,this._setStatus(I.STATUS_RESOLVING),x&&this._updateIsPrePostMarketPricesForbiddenProperty(),this._symbolIntervalChanged.fire(),o&&this._notifyIntervalChanged(this.m_interval),this._onRestarted.fire(),this._seriesLoaded=!1,this._lineStyleLastPriceCirclePaneView.stopAnimation();var c=null;this._pendingTimeRange&&(c=this._pendingTimeRange,delete this._pendingTimeRange),this._onTimeFrameApplied.fire(c),this._onBeforeModifySeries(this.getSymbolString(),t),this._data=null,this._seriesSource.modifySeries(this._getResolvingSymbolObject(),f(t),c,r),this._seriesSource.isStarted()||(this._predictBars=0,this._seriesSource.start()),(n||a||l)&&this.disablePriceRangeReady()}else this._model.realignLineTools();else this._model.realignLineTools()}setDefaultTimeframe(e){this._pendingTimeRange=e}symbol(){ -return this.properties().symbol.value()}hl2(e){return(this.high(e)+this.low(e))/2}hlc3(e){return(this.high(e)+this.low(e)+this.close(e))/3}ohlc4(e){return(this.open(e)+this.high(e)+this.low(e)+this.close(e))/4}priceRange(e,t){if(!TradingView.isInteger(e))return _.logDebug("Series.priceRange: incorrect startBar"),null;if(!TradingView.isInteger(t))return _.logDebug("Series.priceRange: incorrect endBar"),null;if(this.data().isEmpty())return null;if(this.m_priceScale.isLockScale()){var i=this._model.mainSeriesScaleRatio();if(null!==i){var s=this.priceScale().internalHeight()/(this.model().timeScale().barSpacing()/i),r=this.data().search(t,u.NearestLeft),o=(r.value[TradingView.HIGH_PLOT]+r.value[TradingView.LOW_PLOT])/2;return new n(o-.5*s,o+.5*s)}}var a=this.priceSource();if(null!==a)var l=this.data().bars().minMaxOnRangeCached(e,t,[{name:a,offset:0}]),c=this.data().nsBars().minMaxOnRangeCached(e,t,[{name:a,offset:0}]);else l=this.data().bars().minMaxOnRangeCached(e,t,[{name:"low",offset:0},{name:"high",offset:0}]),c=this.data().nsBars().minMaxOnRange(e,t,[{name:"low",offset:0},{name:"high",offset:0}]);var h=null!==(l=p(l,c))?l.min===l.max?new n(l.min-.5,l.max+.5):new n(l.min,l.max):new n(-.5,.5);return this.priceScale().isLog()?new n(this.priceScale().priceToLogical(h.minValue()),this.priceScale().priceToLogical(h.maxValue())):h}nearestData(e,t){if(TradingView.isInteger(e)){var i=this.data().search(e,t);return null!==i?i:void 0}_.logDebug("Series.nearestData: incorrect logicalPoint")}nearestIndex(e,t){var i=this.nearestData(e,t);return i?i.index:void 0}paneViews(){if(!this.properties().visible.value())return null;var e=[this._baseHorizontalLineView,this._paneView];return this._futureBarsPaneView&&e.push(this._futureBarsPaneView),this._projectionBarsPaneView&&e.push(this._projectionBarsPaneView),null!==this._waterlineView&&e.push(this._waterlineView),null!==this._priceLineView&&e.push(this._priceLineView),null!==this._gotoDateView&&e.push(this._gotoDateView),e.push(...this._highLowAvgPaneViews),e.push(...this._averagePaneViews),e}purgeSymbolInfo(){this._symbolInfo=null}requestMoreData(e){if((this._status===I.STATUS_READY||this._status===I.STATUS_PULSE||this._status===I.STATUS_DELAYED||this._status===I.STATUS_DELAYED_STREAMING||this._status===I.STATUS_EOD||this._status===I.STATUS_REPLAY)&&!this._model.timeScale().isEmpty()){var t=this._model.timeScale().visibleBarsStrictRange();if(null!==t&&0!==this.bars().size()){var i=t.lastBar()-o(this.data().last()).index;if(this._predictBars{this._gotoDateResultCleared||(this._gotoDateView=new t(this,e),this._model.updateSource(this))})}clearGotoDateResult(e){this._gotoDateView=null,this._gotoDateResultCleared=!0}getSourceIcon(){return{type:"loadSvg",svgId:"series."+this.properties().style.value()}}isStyleSupported(e){return!0}isIntervalSupported(e){return!0}isStyleSupportedForReplay(e){return g.isTimeBasedStyle(e)}isInReplay(){return null!==this._replaySubscriber}onTimeFrameApplied(){return this._onTimeFrameApplied}onInReplayStateChanged(){throw new Error("Not implemented")}replayExitedDueUnsupportedInterval(){throw new Error("Not implemented")}replayExitedDueUnavailableForUserInterval(){throw new Error("Not implemented")}switchToReplay(e,t){throw new Error("Not implemented")}switchToRealtime(){throw new Error("Not implemented")}_removeReplaySubscriber(){throw new Error("Not implemented")}_onBeforeModifySeries(e,t){0}destroy(){this._replayExitedDueUnsupportedInterval.destroy(),this._replayExitedDueUnavailableForUserInterval.destroy(),this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.destroy(),this.clearGotoDateResult(),this._legendView.destroy(),this._marketStatusModel.destroy(),null!==this._dataUpdatedModeModel&&this._dataUpdatedModeModel.destroy(),this._dataProblemModel.destroy(),this._paneView&&this._paneView.destroy&&this._paneView.destroy(),this._onTimeFrameApplied.destroy(),this._seriesSource.destroy(),super.destroy()}dataEvents(){return this._seriesSource.dataEvents()}moveData(e){return this._seriesSource.moveData(e)}}Object.assign(I,m),TradingView.Series=I,t.Series=I,t.isSeries=function(e){return e instanceof I}},34041:(e,t,i)=>{"use strict";i.d(t,{SeriesAreaPaneView:()=>l});var s=i(68906),r=i(84705),n=i(94804),o=i(41892),a=i(83150);class l extends a.SeriesSingleLinePaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1) -;const i=this._source.priceScale();if(!i)return null;const a=this._source.properties().childs().areaStyle.childs(),l=a.transparency.value(),c={simpleMode:!1,barSpacing:this._model.timeScale().barSpacing(),items:this._items,lineColor:a.linecolor.value(),lineStyle:a.linestyle.value(),lineWidth:a.linewidth.value(),isSeries:!0,withMarkers:!1,bottom:i.height(),color1:(0,s.generateColor)(a.color1.value(),l),color2:(0,s.generateColor)(a.color2.value(),l)},h=new n.CompositeRenderer;return h.append(new r.PaneRendererArea(c)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&h.append(new o.SelectionRenderer(this._selectionData)),h}}},89128:(e,t,i)=>{"use strict";function s(e,t){return 100*(t-e)/Math.abs(e||1)}i.d(t,{barPercentChange:()=>s})},71263:(e,t,i)=>{"use strict";i.d(t,{PaneRendererBars:()=>n});var s=i(49094),r=i(52403);class n extends r.PaneRendererSeriesBase{constructor(e){super(),this._bars=e.bars,this._barSpacing=e.barSpacing,this._dontDrawOpen=e.dontDrawOpen,this._thinBars=e.thinBars}draw(e,t){e.save();const i=t.pixelRatio;if(this._barWidth=this._calcBarWidth(i),this._barWidth>=2){Math.max(1,Math.floor(i))%2!=this._barWidth%2&&this._barWidth--}this._barLineWidth=this._thinBars?Math.min(this._barWidth,Math.floor(i)):this._barWidth;let s=null;const r=this._barLineWidth<=this._barWidth&&this._barSpacing>=Math.floor(1.5*t.pixelRatio);for(const t of this._bars){s!==t.color&&(e.fillStyle=t.color,s=t.color);const n=Math.floor(.5*this._barLineWidth),o=Math.round(t.time*i),a=o-n,l=this._barLineWidth,c=a+l-1,h=Math.min(t.high,t.low),d=Math.max(t.high,t.low),u=Math.round(h*i)-n,p=Math.round(d*i)+n,_=Math.max(p-u,this._barLineWidth);e.fillRect(a,u,l,_);const m=Math.ceil(1.5*this._barWidth);if(r){const s=o-m,r=o+m,h=Math.min(a-s,r-c);if(!this._dontDrawOpen){let r=Math.max(u,Math.round(t.open*i)-n),o=r+l-1;o>u+_-1&&(o=u+_-1,r=o-l+1),e.fillRect(s,r,h,o-r+1)}let d=Math.max(u,Math.round(t.close*i)-n),p=d+l-1;p>u+_-1&&(p=u+_-1,d=p-l+1),e.fillRect(c+1,d,h,p-d+1)}}e.restore()}_getTolerance(){const e=this._calcBarWidth(1),t=this._thinBars?Math.min(e,1):e;return(0,s.interactionTolerance)().series+t/2}_getBarSpacing(){return this._barSpacing}_calcBarWidth(e){const t=Math.floor(e);return Math.max(t,Math.floor((0,s.optimalBarWidth)(this._barSpacing,e)))}}},66919:(e,t,i)=>{"use strict";i.d(t,{SeriesBarsPaneView:()=>a});var s=i(94804),r=i(41892),n=i(79035),o=i(71263);class a extends n.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.properties().childs(),n={bars:this._bars,barSpacing:this._model.timeScale().barSpacing(),dontDrawOpen:i.barStyle.childs().dontDrawOpen.value(),thinBars:11===i.style.value()?i.rangeStyle.childs().thinBars.value():i.barStyle.childs().thinBars.value()},a=new s.CompositeRenderer;return a.append(new o.PaneRendererBars(n)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&a.append(new r.SelectionRenderer(this._selectionData)),a}}},35251:(e,t,i)=>{"use strict" -;i.d(t,{SeriesBaselinePaneView:()=>m});var s=i(68906),r=i(94804),n=i(86441),o=i(5531),a=i(4652),l=i(49094),c=i(55257),h=i(16282),d=i(84346);class u extends h.ScaledPaneRenderer{constructor(){super(...arguments),this._data=null}setData(e){this._data=e}hitTest(e){if(null===this._data)return null;const{items:t,topLineWidth:i,bottomLineWidth:s}=this._data,r=(0,l.interactionTolerance)().series+(i+s)/4,o=(0,c.lowerbound)(t,e,(e,t)=>e.x<=t.x),h=Math.max(1,o-1),u=Math.min(t.length-1,o+1);for(let i=h;i<=u;++i){const s=t[i-1],o=t[i],{distance:l}=(0,a.distanceToSegment)(new n.Point(s.x,s.y),new n.Point(o.x,o.y),new n.Point(e.x,e.y));if(l<=r)return new d.HitTestResult(d.HitTestResult.REGULAR)}return null}_drawImpl(e){if(null===this._data)return;const{items:t,baseLevelCoordinate:i,bottom:s,bottomFillColor1:r,bottomFillColor2:a,topFillColor1:c,topFillColor2:h,topLineColor:d,bottomLineColor:u,topLineWidth:p,bottomLineWidth:_}=this._data;if(!function(e){if(0===e.length)return!1;const t=e.findIndex(e=>(0,l.coordinateIsValid)(e.y));if(-1===t)return!1;let i=e.length-1;for(;i>t&&!(0,l.coordinateIsValid)(e[i].y);)i--;return!(t>i)}(t))return;const{topItems:m,bottomItems:g}=function(e,t){const i=[],s=[];let r=null;for(let a=0;a=t&&s.push(c),r=c;else{if(null===r)continue;c=r}if((0,l.coordinateIsValid)(h.y)&&(c.y>t&&h.yt))if(Math.abs(c.x-h.x)<1){const e=new n.Point(c.x,t);i.push(e),s.push(e)}else{const e=(0,o.intersectLineSegments)(c,h,new n.Point(c.x,t),new n.Point(h.x,t));if(null!==e){const t=c.add(h.subtract(c).scaled(e));i.push(t),s.push(t)}}}return{topItems:i,bottomItems:s}}(t,i);e.lineCap="round",e.lineJoin="round",0!==m.length&&(e.beginPath(),e.moveTo(m[0].x,i),this._makeLine(e,m,!0,0),e.closePath(),e.fillStyle=this._makeLinearGradient(e,c,h,i-s,i),e.fill(),e.beginPath(),this._makeLine(e,m,!1,0),e.lineWidth=p,e.strokeStyle=d,e.stroke()),0!==g.length&&(e.beginPath(),e.moveTo(g[0].x,i),this._makeLine(e,g,!0,1),e.closePath(),e.fillStyle=this._makeLinearGradient(e,r,a,i,i+s),e.fill(),e.beginPath(),this._makeLine(e,g,!1,1),e.lineWidth=_,e.strokeStyle=u,e.stroke())}_makeLine(e,t,i,s){if(null===this._data)return;const r=t.findIndex(e=>(0,l.coordinateIsValid)(e.y));if(-1===r)return;const{barSpacing:n,baseLevelCoordinate:o}=this._data,a=.25*n;let c;const h=t.length;for(let n=r;n=o&&h.y>=o){e.moveTo(h.x,h.y);continue}}else if(c&&c.y<=o&&h.y<=o){e.moveTo(h.x,h.y);continue}if(c&&(0,l.coordinateIsValid)(c.y))e.lineTo(h.x,h.y),i&&!(0,l.coordinateIsValid)(d.y)&&e.lineTo(h.x,o);else if(d&&(0,l.coordinateIsValid)(d.y))i?(n!==r&&e.lineTo(h.x,o),e.lineTo(h.x,h.y)):e.moveTo(h.x,h.y);else if(i){if(0===n)continue;n!==r&&e.lineTo(h.x-a,o),e.lineTo(h.x-a,h.y),e.lineTo(h.x+a,h.y),e.lineTo(h.x+a,o)}else e.moveTo(h.x-a,h.y),e.lineTo(h.x+a,h.y);c=h}}}_makeLinearGradient(e,t,i,s,r){const n=e.createLinearGradient(0,s,0,r);return n.addColorStop(0,t), -n.addColorStop(1,i),n}}var p=i(41892),_=i(83150);class m extends _.SeriesSingleLinePaneView{constructor(){super(...arguments),this._renderer=new u,this._topFillColor1="",this._topFillColor2="",this._bottomFillColor1="",this._bottomFillColor2="",this._topLineColor="",this._bottomLineColor="",this._topLineWidth=0,this._bottomLineWidth=0,this._barSpacing=0,this._bottom=0,this._baseLevelCoordinate=0}renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._renderer.setData({items:this._items,topFillColor1:this._topFillColor1,topFillColor2:this._topFillColor2,bottomFillColor1:this._bottomFillColor1,bottomFillColor2:this._bottomFillColor2,topLineColor:this._topLineColor,bottomLineColor:this._bottomLineColor,topLineWidth:this._topLineWidth,bottomLineWidth:this._bottomLineWidth,barSpacing:this._barSpacing,baseLevelCoordinate:this._baseLevelCoordinate,bottom:this._bottom});const i=new r.CompositeRenderer;return i.append(this._renderer),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&i.append(new p.SelectionRenderer(this._selectionData)),i}_updateImpl(){super._updateImpl();const e=this._source.priceScale();if(!e)return;const t=this._source.properties().childs().baselineStyle.childs(),i=t.transparency.value();this._topFillColor1=(0,s.generateColor)(t.topFillColor1.value(),i),this._topFillColor2=(0,s.generateColor)(t.topFillColor2.value(),i),this._bottomFillColor1=(0,s.generateColor)(t.bottomFillColor1.value(),i),this._bottomFillColor2=(0,s.generateColor)(t.bottomFillColor2.value(),i),this._topLineColor=t.topLineColor.value(),this._bottomLineColor=t.bottomLineColor.value(),this._topLineWidth=t.topLineWidth.value(),this._bottomLineWidth=t.bottomLineWidth.value(),this._barSpacing=this._model.timeScale().barSpacing(),this._bottom=e.height(),this._baseLevelCoordinate=Math.round(this._bottom*(Math.abs(100-t.baseLevelPercentage.value())/100))}}},42169:(e,t,i)=>{"use strict";i.d(t,{SeriesWaterlinePaneView:()=>a});var s=i(22221),r=i(56589),n=i(84346),o=i(43891);class a extends s.HorizontalLinePaneView{constructor(e){super(),this._getters=e;const t={cursorType:r.PaneCursorType.VerticalResize,activeItem:0,areaName:n.AreaName.SourceItemMove};this._lineRenderer.setHitTest(new n.HitTestResult(n.HitTestResult.MOVEPOINT,t)),this._lineRendererData.visible=!0,this._lineRendererData.linestyle=o.LINESTYLE_SPARSE_DOTTED}_updateImpl(){const{baseLevelPercentage:e,paneHeight:t,color:i}=this._getters,s=Math.abs(100-e());this._lineRendererData.y=Math.round(t()*(s/100)),this._lineRendererData.color=i()}}},52403:(e,t,i)=>{"use strict";i.d(t,{PaneRendererSeriesBase:()=>r});var s=i(84346);class r{constructor(){this._bars=[]}hitTest(e){const t=this._bars,i=this._getBarSpacing(),s=i/2;if(0===t.length)return null;const r=this._getTolerance(),n=t[0],o=t[t.length-1];if(e.xo.time+s+r)return null;let a=0,l=t.length-1,c=-1;for(;a<=l;){const i=Math.floor((a+l)/2),h=t[i];let d=s;if(h!==n&&h!==o||(d+=r),Math.abs(h.time-e.x)<=d){c=i;break}e.x-h.time>s?a=i+1:l=i-1} -if(-1!==c){const n=Math.ceil(r/i);if(0!==n){const i=Math.max(0,c-n),o=Math.min(t.length-1,c+n);for(let n=i;n<=o;n++)if(Math.abs(e.x-t[n].time)<=s+r&&this._isPointAtBar(t[n],e.y,r))return this._getHitTest()}else if(this._isPointAtBar(t[c],e.y,r))return this._getHitTest()}return null}_getHitTest(){return new s.HitTestResult(s.HitTestResult.REGULAR)}_isPointAtBar(e,t,i){const s=Math.min(e.high,e.low),r=Math.max(e.high,e.low);return s-i<=t&&t<=r+i}}},48998:(e,t,i)=>{"use strict";i.d(t,{PaneRendererCandles:()=>l});var s=i(88537),r=i(84346),n=i(42759),o=i(49094),a=i(52403);class l extends a.PaneRendererSeriesBase{constructor(e){super(),this._barSpacing=1,this._barWidth=1,this._borderVisible=!1,this._barBorderWidth=1,this._wickVisible=!1,this._bodyVisible=!0,this._borderColor=void 0,this._wickColor=void 0,this._hittest=void 0,this._isPriceScaleInverted=!1,e&&this.setData(e)}setData(e){this._bars=e.bars,this._barSpacing=e.barSpacing,this._borderVisible=e.borderVisible,this._bodyVisible=e.bodyVisible,this._wickVisible=e.wickVisible,this._borderColor=e.borderColor,this._wickColor=e.wickColor,this._hittest=e.hittest,this._isPriceScaleInverted=e.isPriceScaleInverted}hitTest(e){return this._wickVisible||this._borderVisible||this._bodyVisible?super.hitTest(e):null}draw(e,t){if(0===this._bars.length)return;const i=t.pixelRatio;if(this._barWidth=(0,o.optimalCandlestickWidth)(this._barSpacing,i),this._barWidth>=2){Math.floor(i)%2!=this._barWidth%2&&this._barWidth--}this._wickVisible&&this._drawWicks(e,i),this._borderVisible&&this._drawBorder(e,i),this._bodyVisible&&this._drawCandles(e,i)}_getTolerance(){return(0,o.interactionTolerance)().series+this._barBorderWidth/2}_getBarSpacing(){return this._barSpacing}_getHitTest(){return this._hittest||new r.HitTestResult(r.HitTestResult.REGULAR)}_isPointAtBar(e,t,i){const s=this._bodyVisible||this._borderVisible,r=this._wickVisible;if(!s&&!r)return!1;if(s){const s=r?Math.min(e.high,e.low):Math.min(e.open,e.close),n=r?Math.max(e.high,e.low):Math.max(e.open,e.close);return s-i<=t&&t<=n+i}{const s=Math.min(e.open,e.close),r=Math.max(e.open,e.close);return e.high-i<=t&&t<=s+i||r-i<=t&&t<=e.low+i}}_drawWicks(e,t){const i=this._bars;let r="",n=Math.min(Math.floor(t),Math.floor(this._barSpacing*t));n=Math.max(Math.floor(t),Math.min(n,this._barWidth));const o=Math.floor(.5*n);let a=null;for(const l of i){const i=l.wickColor?l.wickColor:(0,s.ensureDefined)(this._wickColor);i!==r&&(e.fillStyle=i,r=i);let c=Math.round(Math.min(l.open,l.close)*t),h=Math.round(Math.max(l.open,l.close)*t);this._isPriceScaleInverted&&([h,c]=[c,h]);const d=Math.round(l.high*t),u=Math.round(l.low*t);let p=Math.round(t*l.time)-o;const _=p+n-1;null!==a&&(p=Math.max(a+1,p),p=Math.min(p,_));const m=_-p+1;e.fillRect(p,d,m,c-d),e.fillRect(p,h+1,m,u-h-1),a=_}}_calculateBorderWidth(e){let t=Math.floor(1*e);this._barWidth<=2*t&&(t=Math.floor(.5*(this._barWidth-1)));const i=Math.max(Math.floor(e),t);return this._barWidth<=2*i?Math.max(Math.floor(e),Math.floor(1*e)):i}_drawBorder(e,t){let i="";const r=this._calculateBorderWidth(t) -;let o=null;for(const a of this._bars){if(a.borderColor!==i&&(e.fillStyle=a.borderColor?a.borderColor:(0,s.ensureDefined)(this._borderColor),i=a.borderColor),this._bodyVisible&&a.hollow)continue;let l=Math.round(a.time*t)-Math.floor(.5*this._barWidth);const c=l+this._barWidth-1,h=Math.round(Math.min(a.open,a.close)*t),d=Math.round(Math.max(a.open,a.close)*t);if(null!==o&&(l=Math.max(o+1,l),l=Math.min(l,c)),this._barSpacing*t>2*r)(0,n.fillRectInnerBorder)(e,l,h,c-l+1,d-h+1,r);else{const t=c-l+1;e.fillRect(l,h,t,d-h+1)}o=c}}_drawCandles(e,t){let i="";const s=this._calculateBorderWidth(t);for(const r of this._bars){if(this._borderVisible&&this._barWidth<=2*s&&!r.hollow)continue;let o=Math.round(Math.min(r.open,r.close)*t),a=Math.round(Math.max(r.open,r.close)*t),l=Math.round(r.time*t)-Math.floor(.5*this._barWidth),c=l+this._barWidth-1;if(r.color!==i){const t=r.color;e.fillStyle=t,i=t}if(r.hollow)e.fillStyle=r.color,(0,n.fillRectInnerBorder)(e,l,o,c-l+1,a-o+1,s);else{if(this._borderVisible&&(l+=s,o+=s,c-=s,a-=s),o>a)continue;e.fillRect(l,o,c-l+1,a-o+1)}}}}},85224:(e,t,i)=>{"use strict";i.d(t,{SeriesCandlesPaneView:()=>l});var s=i(94804),r=i(49094),n=i(41892),o=i(79035),a=i(48998);class l extends o.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.priceScale();if(!i)return null;const o=this._source.properties().childs().candleStyle.childs(),l=this._model.timeScale().barSpacing(),c={bars:this._bars,barSpacing:l,bodyVisible:o.drawBody.value(),borderVisible:o.drawBorder.value(),borderColor:o.borderColor.value(),wickColor:o.wickColor.value(),barWidth:(0,r.optimalBarWidth)(l),wickVisible:o.drawWick.value(),isPriceScaleInverted:i.isInverted()},h=new s.CompositeRenderer;return h.append(new a.PaneRendererCandles(c)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&h.append(new n.SelectionRenderer(this._selectionData)),h}}},59153:(e,t,i)=>{"use strict";i.d(t,{SeriesColumnsPaneView:()=>p});var s=i(88537),r=i(86441),n=i(67337),o=i(3308),a=i(84346),l=i(94804),c=i(71053),h=i(85847),d=i(41892),u=i(68617);class p{constructor(e,t){this._items=[],this._invalidated=!0,this._isMarkersEnabled=(0,n.enabled)("source_selection_markers"),this._selectionData=null,this._histogramBase=0,this._source=e,this._model=t,this._selectionIndexer=new h.SelectionIndexes(t.timeScale())}update(){this._invalidated=!0}renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i={barSpacing:this._model.timeScale().barSpacing(),items:this._items,lineColor:"",histogramBase:this._histogramBase},s=new l.CompositeRenderer;return s.append(new u.PaneRendererColumns(i)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&s.append(new d.SelectionRenderer(this._selectionData)),s}_updateImpl(){this._items=[];const e=this._model.timeScale(),t=this._source.priceScale();if(e.isEmpty()||!t||t.isEmpty())return;const i=e.visibleBarsStrictRange();if(null===i)return -;if(0===this._source.bars().size())return;const n=this._source.nearestIndex(i.firstBar(),c.PlotRowSearchMode.NearestRight),l=this._source.nearestIndex(i.lastBar(),c.PlotRowSearchMode.NearestLeft);if(void 0===n||void 0===l)return;const h=this._source.bars().range(n,l),d=this._source.barColorer(),u={},p=this._source.barFunction(),_=h.reduce((e,t,s)=>{var n;const a=p(s);if(!(0,o.default)(a))return e;u.value=s;const l=null!==(n=s[7])&&void 0!==n?n:d.barStyle(t,!1,u),c=new r.Point(t,a);return c.style=l,c.timePointIndex=t,this._items.push(c),u.previousValue=s,i.contains(t)&&null!=e?e:a},null);if(null!==_)if(t.pointsArrayToCoordinates(this._items,_),e.timedValuesToCoordinates(this._items),this._histogramBase=t.isInverted()?0:t.height(),this._model.selection().isSelected(this._source)){const i=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,barSpacing:e.barSpacing(),hittestResult:a.HitTestResult.REGULAR};const n=(0,s.ensureNotNull)(this._model.paneForSource(this._source)).height();this._selectionData.hittestResult=a.HitTestResult.REGULAR;for(let s=0;s{"use strict";i.d(t,{SeriesHollowCandlesPaneView:()=>l});var s=i(94804),r=i(49094),n=i(41892),o=i(48998),a=i(79035);class l extends a.SeriesBarCandlesPaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.priceScale();if(!i)return null;const a=this._source.properties().childs().hollowCandleStyle.childs(),l=this._model.timeScale().barSpacing(),c={bars:this._bars,barSpacing:l,bodyVisible:a.drawBody.value(),borderVisible:a.drawBorder.value(),borderColor:a.borderColor.value(),wickColor:a.wickColor.value(),barWidth:(0,r.optimalBarWidth)(l),wickVisible:a.drawWick.value(),isPriceScaleInverted:i.isInverted()},h=new s.CompositeRenderer;return h.append(new o.PaneRendererCandles(c)),this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData&&h.append(new n.SelectionRenderer(this._selectionData)),h}}},33837:(e,t,i)=>{"use strict";i.d(t,{SeriesLinePaneView:()=>h});var s=i(84346),r=i(94804),n=i(46214),o=i(28113),a=i(41892),l=i(16654),c=i(83150);class h extends c.SeriesSingleLinePaneView{renderer(e,t){this._invalidated&&(this._updateImpl(),this._invalidated=!1);const i=this._source.properties().childs().lineStyle.childs(),c={barSpacing:this._model.timeScale().barSpacing(),items:this._items,lineColor:i.color.value(),lineStyle:i.linestyle.value(),withMarkers:i.styleType.value()===l.STYLE_LINE_TYPE_MARKERS,lineWidth:i.linewidth.value(),simpleMode:!0,hitTestResult:s.HitTestResult.REGULAR};let h,d;if(h=i.styleType.value()===l.STYLE_LINE_TYPE_STEP?new o.PaneRendererStepLine(c):new n.PaneRendererLine(c), -this._model.selection().isSelected(this._source)&&this._isMarkersEnabled&&this._selectionData){const e=new r.CompositeRenderer;e.append(h),e.append(new a.SelectionRenderer(this._selectionData)),d=e}else d=h;return d}}},79035:(e,t,i)=>{"use strict";i.d(t,{SeriesBarCandlesPaneView:()=>c});var s=i(86441),r=i(67337),n=i(85847),o=i(71053),a=i(84346);function l(e,t){const i=e[1],s=e[2],r=e[3],n=e[4];return void 0!==i&&void 0!==s&&void 0!==r&&void 0!==n&&null!==i&&null!==s&&null!==r&&null!==n&&(t.open=i,t.high=s,t.low=r,t.close=n,!0)}class c{constructor(e,t){this._bars=[],this._invalidated=!0,this._isMarkersEnabled=(0,r.enabled)("source_selection_markers"),this._selectionData=null,this._source=e,this._model=t,this._selectionIndexer=new n.SelectionIndexes(t.timeScale())}items(){return this._bars}update(){this._invalidated=!0}_updateImpl(e){const t=null!=e?e:l,i=this._model.timeScale(),r=this._source.priceScale();if(this._bars=[],i.isEmpty()||!r||r.isEmpty())return;const n=i.visibleBarsStrictRange();if(null===n)return;if(0===this._source.bars().size())return;let c=this._source.nearestIndex(n.firstBar(),o.PlotRowSearchMode.NearestRight);const h=this._source.nearestIndex(n.lastBar(),o.PlotRowSearchMode.NearestLeft);if(void 0===c||void 0===h)return;for(;c<=h;c++){if(null!==this._source.bars().valueAt(c))break}if(c>h)return;const d=this._source.bars().range(c,h),u=this._source.barColorer(),p={};if(d.each((e,i)=>{var s;const r={time:Math.round(e),exactTime:Math.round(e),open:NaN,high:NaN,low:NaN,close:NaN,color:""};if(!t(i,r))return!1;p.value=i;const n=null!==(s=i[7])&&void 0!==s?s:u.barStyle(e,!1,p);return i[7]=n,p.previousValue=i,r.color=n.barColor,r.borderColor=n.barBorderColor,r.wickColor=n.barWickColor,r.hollow=n.isBarHollow,this._bars.push(r),!1}),0===this._bars.length)return;const _=this._source.firstValue();if(null!==_)if(r.barPricesToCoordinates(this._bars,_),i.barIndexesToCoordinates(this._bars),this._model.selection().isSelected(this._source)){const e=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,hittestResult:a.HitTestResult.REGULAR,barSpacing:i.barSpacing()};const t=this._model.paneForSource(this._source);if(!t)return;const n=t.height();for(let t=0;t{"use strict";i.d(t,{SeriesDataSource:()=>S});var s=i(88537),r=i(80643),n=i(19234),o=i(29823),a=i(63948),l=i(51344),c=i(95836),h=i(2872),d=i.n(h);class u{constructor(){this._modified=new(d()),this._loading=new(d()),this._completed=new(d()),this._error=new(d()),this._symbolError=new(d()),this._symbolResolved=new(d()),this._seriesError=new(d()),this._symbolNotPermitted=new(d()),this._symbolInvalid=new(d()),this._symbolGroupNotPermitted=new(d()), -this._chartTypeNotPermitted=new(d()),this._intradaySpreadNotPermitted=new(d()),this._intradayExchangeNotPermitted=new(d()),this._customIntervalNotPermitted=new(d()),this._secondsIntervalNotPermitted=new(d()),this._tickMarksRangeChanged=new(d()),this._barReceived=new(d()),this._seriesTimeFrame=new(d()),this._dataUpdated=new(d())}destroy(){this._modified.destroy(),this._loading.destroy(),this._completed.destroy(),this._error.destroy(),this._symbolError.destroy(),this._symbolResolved.destroy(),this._seriesError.destroy(),this._symbolInvalid.destroy(),this._symbolNotPermitted.destroy(),this._symbolGroupNotPermitted.destroy(),this._chartTypeNotPermitted.destroy(),this._intradaySpreadNotPermitted.destroy(),this._intradayExchangeNotPermitted.destroy(),this._customIntervalNotPermitted.destroy(),this._secondsIntervalNotPermitted.destroy(),this._tickMarksRangeChanged.destroy(),this._barReceived.destroy(),this._seriesTimeFrame.destroy(),this._dataUpdated.destroy()}modified(){return this._modified}loading(){return this._loading}completed(){return this._completed}error(){return this._error}symbolError(){return this._symbolError}symbolResolved(){return this._symbolResolved}seriesError(){return this._seriesError}symbolInvalid(){return this._symbolInvalid}symbolNotPermitted(){return this._symbolNotPermitted}symbolGroupNotPermitted(){return this._symbolGroupNotPermitted}chartTypeNotPermitted(){return this._chartTypeNotPermitted}intradaySpreadNotPermitted(){return this._intradaySpreadNotPermitted}intradayExchangeNotPermitted(){return this._intradayExchangeNotPermitted}customIntervalNotPermitted(){return this._customIntervalNotPermitted}secondsIntervalNotPermitted(){return this._secondsIntervalNotPermitted}tickMarksRangeChanged(){return this._tickMarksRangeChanged}barReceived(){return this._barReceived}seriesTimeFrame(){return this._seriesTimeFrame}dataUpdated(){return this._dataUpdated}fireCompleted(e,t,i){this._completed.fire(e,t,i)}fireModified(){this._modified.fire()}fireLoading(e){this._loading.fire(e)}fireError(){this._error.fire()}fireSymbolError(e){this._symbolError.fire(e),this.fireError()}fireSymbolResolved(e){this._symbolResolved.fire(e)}fireSeriesError(e){this._seriesError.fire(e),this.fireError()}fireSymbolInvalid(){this._symbolInvalid.fire()}fireSymbolNotPermitted(e){this._symbolNotPermitted.fire(e)}fireSymbolGroupNotPermitted(e){this._symbolGroupNotPermitted.fire(e)}fireChartTypeNotPermitted(e){this._chartTypeNotPermitted.fire(e),this.fireError()}fireIntradaySpreadNotPermitted(){this._intradaySpreadNotPermitted.fire(),this.fireError()}fireIntradayExchangeNotPermitted(){this._intradayExchangeNotPermitted.fire(),this.fireError()}fireCustomIntervalNotPermitted(){this._customIntervalNotPermitted.fire(),this.fireError()}fireSecondsIntervalNotPermitted(){this._secondsIntervalNotPermitted.fire(),this.fireError()}fireTickMarksRangeChanged(e){this._tickMarksRangeChanged.fire(e)}fireBarReceived(e){this._barReceived.fire(e)}fireSeriesTimeFrame(e,t,i,s,r){this._seriesTimeFrame.fire(e,t,i,s,r)}fireDataUpdated(e,t,i){ -this._dataUpdated.fire(e,t,i)}}var p=i(98125),_=i(37667);const m=(0,p.getLogger)("Chart.SeriesDataSource");var g;!function(e){e[e.Idle=0]="Idle",e[e.AwaitingConnection=1]="AwaitingConnection",e[e.AwaitingFirstDataUpdate=2]="AwaitingFirstDataUpdate",e[e.Active=3]="Active"}(g||(g={}));let f=1;let v=1;class S{constructor(e,t,i,r){var n;this._symbol=null,this._resolvedSymbolName=null,this._instanceId=null,this._symbolInstanceId=null,this._resolution=null,this._timeFrame=null,this._data=new a.SeriesData,this._dataEvents=new u,this._status=g.Idle,this._turnaroundCounter=1,this._boundOnGatewayIsConnectedChanged=this._onGatewayIsConnectedChanged.bind(this),this._ongoingDataUpdate=Promise.resolve(),this._gateway=e,this._turnaroundPrefix=t,this._createSeriesParams=(n=null!=i?i:{count:300}).startDate?n.endDate||n.count?n.endDate?["from_to",n.startDate,n.endDate]:["bar_count",n.startDate,(0,s.ensure)(n.count)]:["from_to",n.startDate]:n.count||300,this._timeFrame=r||null,this._gateway.isConnected().subscribe(this._boundOnGatewayIsConnectedChanged)}destroy(){this.stop(),this._gateway.isConnected().unsubscribe(this._boundOnGatewayIsConnectedChanged)}modifySeries(e,t,i=null,n=!1){n&&(m.logNormal("Due to force flag clearing symbol & resolution to force re-requesting data."),this._symbol=null,this._resolution=null);const a=this._symbol,l=this._resolution;if(this._symbol=e,this._resolution=t,null===this._instanceId)return void(this._timeFrame=i);const c=!(0,r.deepEquals)(a,e)[0]||null!==this._resolvedSymbolName&&this._resolvedSymbolName!==this._getSymbolNameString(e),h=null===l||!o.Interval.isEqual(l,t);(c||h||null!==i)&&(this._timeFrame=null,(c||h)&&this._turnaroundCounter++,c&&this._resolveSymbol(),this._gateway.modifySeries(this._instanceId,this.turnaround(),(0,s.ensureNotNull)(this._symbolInstanceId),this._resolution,i,this._onMessage.bind(this)),this._dataEvents.fireModified())}requestMoreData(e){null!==this._instanceId&&this._gateway.requestMoreData(this._instanceId,e,this._onMessage.bind(this))}requestMoreTickmarks(e){null!==this._instanceId&&this._gateway.requestMoreTickmarks(this._instanceId,e,this._onMessage.bind(this))}isStarted(){return this._status!==g.Idle}isActive(){return this._status===g.Active}resolution(){return this._resolution}start(){this.isStarted()?m.logNormal("start: data source is already started, nothing to do"):((0,s.assert)(null!==this._symbol,"symbol must be set before start"),(0,s.assert)(null!==this._resolution,"resolution must be set before start"),this._gateway.isConnected().value()?this._createSeries():this._changeStatusTo(g.AwaitingConnection))}stop(){this.isStarted()?(null!==this._instanceId&&(this._gateway.removeSeries(this._instanceId),this._instanceId=null),this._changeStatusTo(g.Idle)):m.logNormal("stop: data source is already stopped, nothing to do")}instanceId(){return this._instanceId}data(){return this._data}clearData(){this.isStarted()?this._enqueueUpdate(()=>this._clearDataImpl()):this._clearDataImpl()}dataEvents(){return this._dataEvents}turnaround(){ -return`${this._turnaroundPrefix}${this._turnaroundCounter}`}symbolInstanceId(){return this._symbolInstanceId}symbol(){return this._symbol}moveData(e){this._enqueueUpdate(()=>this._data.moveData(e))}_resolveSymbol(){null!==this._symbol&&(this._symbolInstanceId=this._gateway.resolveSymbol("sds_sym_"+f++,(0,n.encodeExtendedSymbolOrGetSimpleSymbolString)(this._symbol),this._onMessage.bind(this)))}_clearDataImpl(){this._data.clear()}_changeStatusTo(e){(0,s.assert)(this._status!==e,"Source and destination status should be distinct"),m.logNormal(`Status changed from ${g[this._status]} to ${g[e]}`),this._status=e}_createSeries(){(0,s.assert)(this._status!==g.Active,'Status should not be "Active" when creating a study'),this._instanceId="sds_"+v++,this._resolveSymbol(),this._gateway.createSeries(this._instanceId,this.turnaround(),(0,s.ensureNotNull)(this._symbolInstanceId),(0,s.ensureNotNull)(this._resolution),this._createSeriesParams,this._timeFrame,this._onMessage.bind(this)),this._timeFrame=null,this._changeStatusTo(g.AwaitingFirstDataUpdate)}_onGatewayIsConnectedChanged(e){e?this._onGatewayConnected():this._onGatewayDisconnected()}_onGatewayConnected(){this._status===g.AwaitingConnection&&this._createSeries()}_onGatewayDisconnected(){this._status!==g.Idle&&this._status!==g.AwaitingConnection&&(this._instanceId=null,this._changeStatusTo(g.AwaitingConnection)),this._turnaroundCounter=1}_onMessage(e){this._enqueueUpdate(()=>this._onMessageImpl(e))}async _onMessageImpl(e){switch(e.method){case"symbol_resolved":{const[t,i]=e.params;if(t!==this._symbolInstanceId){m.logNormal(`Resolve for old symbol, expected: ${this._symbolInstanceId}, actual ${e.params[0]}`);break}this._onSymbolResolved(i);break}case"symbol_error":if(e.params[0]!==this._symbolInstanceId){m.logNormal(`Symbol error for old symbol, expected: ${this._symbolInstanceId}, actual ${e.params[0]}`);break}this._onSymbolError(e);break;case"series_timeframe":{const[t,i,s,r,n,o,a]=e.params;if(!this._checkTurnaround(t,i)){m.logNormal(`Time frame for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${t} (${i})`);break}this._onSeriesTimeFrame(s,r,n,o,a);break}case"series_error":{const[t,i]=e.params;if(!this._checkTurnaround(t,i)){m.logNormal(`Series error for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${t} (${i})`);break}this._onSeriesError(e.params[2]);break}case"series_loading":{const[t,i]=e.params;if(!this._checkTurnaround(t,i))break;this._onSeriesLoading(e.time);break}case"series_completed":{const[t,i,s,r]=e.params;if(!this._checkTurnaround(t,s)){m.logNormal(`Series completed for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${t} (${s})`);break}this._onSeriesCompleted(i,e.time,r);break}case"data_update":if(!this._checkTurnaround(e.params.customId,e.params.turnaround)){m.logNormal(`Data update for old data, expected: ${this._symbolInstanceId} (${this.turnaround()}), actual ${e.params.customId} (${e.params.turnaround})`);break} -await this._onDataUpdate(e.params.plots,e.params.nonseries,e.params.lastBar);break;case"clear_data":if(e.params.turnaround!==this.turnaround()){m.logNormal(`Clear data for old data, expected: ${this.turnaround()}, actual ${e.params.turnaround}`);break}this._clearDataImpl(),this._dataEvents.fireDataUpdated(void 0,!1,null)}}_onSeriesError(e){let t,i;if("string"==typeof e)i={error:e},t=e;else if(i=e,e.ctx){const i={};Object.entries(e.ctx).forEach(([e,t])=>{i[e]=t.toString()}),t=e.error.format(i)}else t=e.error;if(t.startsWith("study_not_auth:")){const e=t.split(":",2)[1].split("@",2)[0];["BarSetRenko","BarSetPriceBreak","BarSetKagi","BarSetPnF"].includes(e)?this._dataEvents.fireChartTypeNotPermitted(e):"BarSetSpread"===e?this._dataEvents.fireIntradaySpreadNotPermitted():"BarSetRange"===e&&this._dataEvents.fireCustomIntervalNotPermitted()}else"resolution_not_entitled"===t?this._dataEvents.fireIntradayExchangeNotPermitted():"custom_resolution"===t?this._dataEvents.fireCustomIntervalNotPermitted():"seconds_not_entitled"===t&&this._dataEvents.fireSecondsIntervalNotPermitted();this._dataEvents.fireSeriesError(i)}_onSeriesTimeFrame(e,t,i,s,r){this._dataEvents.fireSeriesTimeFrame(e,t,i,null==s||s,r)}_onSymbolError(e){if(e.params[1]===c.permissionDenied)switch(e.params[2]){case c.SymbolErrorPermissionDeniedReason.Symbol:this._dataEvents.fireSymbolNotPermitted(e.params[3]);break;case c.SymbolErrorPermissionDeniedReason.GroupPermission:this._dataEvents.fireSymbolGroupNotPermitted(e.params[3]);break;default:this._dataEvents.fireSymbolNotPermitted(e.params[2])}else e.params[1]===c.invalidSymbol&&this._dataEvents.fireSymbolInvalid();this._dataEvents.fireSymbolError(e.params[1])}_onSymbolResolved(e){this._resolvedSymbolName=(0,_.symbolForApi)(e,this._getSymbolNameString((0,s.ensureNotNull)(this._symbol))),this._dataEvents.fireSymbolResolved(e)}_getSymbolNameString(e){return"string"==typeof e.symbol?e.symbol:e.symbol.symbol}async _onDataUpdate(e,t,i){this._onDataUnpacked(e,i,await async function(e){if(void 0===e)return{projectionPlots:[],boxSize:null};if(""===e.d||"nochange"===e.indexes)return null;const t=await(0,l.unpackNonSeriesData)(e.d);if(null===t||t.indexes_replace)return null;const i=e.indexes,{bars:s,price:r,boxSize:n,reversalAmount:o}=t.data,a=(s||[]).map(e=>{let t;return"factor"in e?t=e.factor:"additionalPrice"in e&&(t=e.additionalPrice),{index:i[e.time],value:[0,e.open,e.high,e.low,e.close,e.volume,t,void 0]}});return{lastPrice:r,projectionPlots:a,reversalAmount:o,boxSize:n}}(t))}_enqueueUpdate(e){return this._ongoingDataUpdate=this._ongoingDataUpdate.then(e,e),this._ongoingDataUpdate}_onDataUnpacked(e,t,i){if(this._status===g.Idle)return;this._status===g.AwaitingFirstDataUpdate&&(this._changeStatusTo(g.Active),this._clearDataImpl());const s=this._data.bars().size(),r=this._data.bars().firstIndex(),n=this._data.mergeRegularBars(e);null!==i&&(this._data.nsBars().clear(),this._data.nsBars().merge(i.projectionPlots),this._data.lastProjectionPrice=i.lastPrice,null!==i.boxSize&&(this._data.boxSize=i.boxSize), -this._data.reversalAmount=i.reversalAmount);const o=null===r||null!==n&&n.index{"use strict";i.d(t,{SeriesHorizontalBaseLinePaneView:()=>r});var s=i(38712);class r extends s.SeriesHorizontalLinePaneView{constructor(e){super(e)}_updateImpl(){this._lineRendererData.visible=!1;const e=this._series.priceScale().mode();if(!e.percentage&&!e.indexedTo100)return;const t=this._series.firstValue();null!==t&&(this._lineRendererData.visible=!0,this._lineRendererData.y=this._series.priceScale().priceToCoordinate(t,t),this._lineRendererData.color=this._series.properties().childs().baseLineColor.value())}}},38712:(e,t,i)=>{"use strict";i.d(t,{SeriesHorizontalLinePaneView:()=>r});var s=i(22221);class r extends s.HorizontalLinePaneView{constructor(e){super(),this._series=e,this._model=e.model()}}},83150:(e,t,i)=>{"use strict";i.d(t,{SeriesSingleLinePaneView:()=>d});var s=i(3308),r=i(86441),n=i(88537),o=i(67337),a=i(85847),l=i(71053),c=i(84346),h=i(55257);class d{constructor(e,t){this._items=[],this._invalidated=!0,this._isMarkersEnabled=(0,o.enabled)("source_selection_markers"),this._selectionData=null,this._source=e,this._model=t,this._selectionIndexer=new a.SelectionIndexes(t.timeScale())}update(){this._invalidated=!0}_updateImpl(){var e,t;this._items=[];const i=this._model.timeScale(),o=this._source.priceScale();if(i.isEmpty()||!o||o.isEmpty())return;const a=i.visibleBarsStrictRange();if(null===a)return;if(0===this._source.bars().size())return;const d=null!==(e=this._source.nearestIndex(a.firstBar()-1,l.PlotRowSearchMode.NearestLeft))&&void 0!==e?e:a.firstBar()-1,u=null!==(t=this._source.nearestIndex(a.lastBar()+1,l.PlotRowSearchMode.NearestRight))&&void 0!==t?t:a.lastBar()+1,p=this._source.barFunction();let _=null;const m=this._model.timeScale().barSpacing();if(m<.1&&this._source.supportsPressedChunks()){_=this._source.firstValue();const e=this._source.pressedChunks(m,(0,n.ensureNotNull)(this._source.priceSource())),t=(0,h.lowerbound)(e,d,(e,t)=>e.startTimee.endTime{const i=new r.Point(t.startTime,e);this._items.push(i)})}}else{_=this._source.bars().range(d,u).reduce((e,t,i)=>{const n=p(i);if(!(0,s.default)(n))return e;const o=new r.Point(t,n);return this._items.push(o),a.contains(t)?null!=e?e:n:e},null)}if(null!==_)if(o.pointsArrayToCoordinates(this._items,_),i.timedValuesToCoordinates(this._items),this._model.selection().isSelected(this._source)){const e=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,barSpacing:i.barSpacing(),hittestResult:c.HitTestResult.REGULAR};const t=(0, -n.ensureNotNull)(this._model.paneForSource(this._source)).height();this._selectionData.hittestResult=c.HitTestResult.REGULAR;for(let s=0;s{"use strict";i.d(t,{calculateColor:()=>P,SeriesValuesProvider:()=>T});var s=i(88537),r=i(93751),n=i(24377),o=i(28353),a=i(49483),l=(i(67337),i(68906)),c=i(62820),h=i(71053),d=i(14291),u=i(85733),p=i(26811),_=i(67802),m=i(33981),g=i(89128),f=i(88129),v=i(57626);const S=a.CheckMobile.any(),y=S&&!0,b=new p.PercentageFormatter,w=new _.VolumeFormatter(2),C=`${v.notAvailable} (${v.notAvailable}%)`;function P(e,t){const i=(0,n.parseRgb)(t),s=(0,n.parseRgb)(e);return(0,n.distanceRgb)(i,s)<70?(0,n.rgbToHexString)((0,n.invertRgb)(i)):t}class T{constructor(e,t){this._series=e,this._model=t,this._emptyValues=[{title:(0,o.t)("Open"),visible:!1,value:"",index:0,id:""},{title:(0,o.t)("High"),visible:!1,value:"",index:1,id:""},{title:(0,o.t)("Low"),visible:!1,value:"",index:2,id:""},{title:(0,o.t)("Close"),visible:!1,value:"",index:3,id:""},{title:"",visible:!1,value:"",index:4,id:""},{title:"",visible:!1,value:"",index:5,id:""},{title:(0,o.t)("Change"),visible:!1,value:"",index:6,id:""},{title:(0,o.t)("Vol"),visible:!1,value:"",index:7,id:""}]}getItems(){return this._emptyValues}getValues(e){const t=this._showLastPriceAndChangeOnly(),i=this._emptyValues.map(e=>({...e,visible:!t}));i[0].value=v.notAvailable,i[1].value=v.notAvailable,i[2].value=v.notAvailable,i[3].value=v.notAvailable,i[6].value=C,i[7].value=v.notAvailable,i[5].visible=!1;const n=i[4];if(n.value=v.notAvailable,n.visible=!1,this._model.timeScale().isEmpty()||0===this._series.bars().size()||this._series.priceScale().isEmpty())return i;(0,r.isNumber)(e)||(e=(0,s.ensureNotNull)(this._series.data().last()).index);const o=this._series.nearestIndex(e,h.PlotRowSearchMode.NearestLeft);if(void 0===o)return i;const a=this._series.data().valueAt(o),d=this._model.backgroundTopColor().value();if(null===a)return i;const u=a[1],p=a[2],_=a[3],g=a[4],{values:S}=this._changesData(g,o,t),T=(0,f.getPriceValueFormatterForSource)(this._series);if((0,f.shouldBeFormattedAsPercent)(this._series)||(0,f.shouldBeFormattedAsIndexedTo100)(this._series))i[6].value="";else if(void 0!==S){const e=this._series.formatter();i[6].value=(0,c.forceLTRStr)(`${e.format(S.change,!0)} (${b.format(S.percentChange,!0)})`)}if(t)i[5].value=null==g?v.notAvailable:T(g),i[5].visible=!0,i[6].visible=!0;else{i[0].value=null==u?v.notAvailable:T(u),i[1].value=null==p?v.notAvailable:T(p),i[2].value=null==_?v.notAvailable:T(_),i[3].value=null==g?v.notAvailable:T(g),i[4].value=T(this._series.barFunction()(a));const e=a[5];(0,r.isNumber)(e)?i[7].value=w.format(e):i[7].visible=!1}let x=null -;if(t&&!y)x=void 0===S||S.change>=0?m.SeriesBarColorer.upColor(this._series.properties()):m.SeriesBarColorer.downColor(this._series.properties());else{const e=this._series.barColorer().barStyle(o,!1);x=P(d,null!=e.barBorderColor?e.barBorderColor:e.barColor)}x=(0,l.resetTransparency)(P(d,x));for(const e of i)e.color=x;return i}_showLastPriceAndChangeOnly(){return S&&(null===this._model.crossHairSource().pane||(0,d.isLineToolName)(u.tool.value())||null!==this._model.lineBeingEdited())}_changesData(e,t,i){var s;if(i&&!y){const e=this._series.quotes();if(null!==e)return{values:{change:e.change,percentChange:e.change_percent}}}else{const i=this._series.data().search(t-1,h.PlotRowSearchMode.NearestLeft),r=null!==(s=null==i?void 0:i.value[4])&&void 0!==s?s:null;if(null!==r&&null!=e)return{values:{change:e-r,percentChange:(0,g.barPercentChange)(r,e)}}}return{}}}},47484:(e,t,i)=>{"use strict";i.d(t,{sessionsPreferencesDefault:()=>r});var s=i(45112);const r={graphics:{backgrounds:{outOfSession:{color:s.colorsPalette["color-tv-blue-500"],transparency:92,visible:!1},preMarket:{color:"#FF9800",transparency:92,visible:!1},postMarket:{color:s.colorsPalette["color-tv-blue-500"],transparency:92,visible:!1}},vertlines:{sessBreaks:{color:"#4985e7",style:2,visible:!1,width:1}}}}},50338:(e,t,i)=>{"use strict";i.d(t,{StatusProviderBase:()=>s});class s{constructor(e){this._colorProperty=e}size(){return"13px"}bold(){return!1}color(){return this._colorProperty.value()}}},45058:(e,t,i)=>{"use strict";i.d(t,{StatusView:()=>s});class s{constructor(e){this._text="",this._color="",this._size="13px",this._bold=!1,this._statusProvider=e}text(){return this._text}getSplitTitle(){return[this._text]}color(){return this._statusProvider.color()}bold(){return this._bold}size(){return this._size}}},245:(e,t,i)=>{"use strict";var s;i.d(t,{StoriesTimeLineItemType:()=>s}),function(e){e[e.Image=0]="Image",e[e.Emoji=1]="Emoji"}(s||(s={}))},70581:(e,t,i)=>{"use strict";i.d(t,{seriesPrice:()=>n,positionVisualDirection:()=>a,positionToCoordinate:()=>l,noDataBasePosition:()=>c,seriesBasePosition:()=>h,getNoDataPosition:()=>d,getSeriesPosition:()=>u});var s=i(88537),r=i(71053);function n(e,t,i){const s=e.barFunction();switch(e.style()){case 3:case 10:case 2:return s(t.value);default:return t.value[-1===i?3:2]}}function o(e){return e>=0?1:-1}function a(e,t){return-1===o(e)!==t?-1:1}function l(e,t,i,s){const r=Math.min(t,Math.max(0,1===s?i:t-i));return i-s*Math.abs(r*e/100)}function c(e,t,i){const s=e.index();return null===s?null:{index:s,price:t.coordinateToPrice(t.height()/2,i)}}function h(e,t){const i=e.data().bars(),s=i.first(),a=i.last();if(null===s||null===a)return null;let l;const c=t.index();if(null===c){if(void 0===t.time)return null;const e=t.time(),n=s.value[0],o=a.value[0];if(eo)return null;l=i.searchByTime(e,r.PlotRowSearchMode.NearestRight,4)}else l=i.search(c);return null===l?null:{index:l.index,price:n(e,l,o(t.position()))}}function d(e,t,i){const s=c(e,t,i);if(null===s)return null;const r=a(e.position(),t.isInverted());return{ -index:s.index,price:s.price,poleStartY:t.height(),visualDirection:1,positionPointDirection:r,startsOnSeriesData:!1}}function u(e,t,i=!0){const r=h(e,t),n=e.priceScale(),o=(0,s.ensureNotNull)(e.firstValue());if(null===r)return d(t,n,o);let l=0;const c=e.properties().childs(),u=e.model().timeScale(),p=n.priceToCoordinate(r.price,o);if(i)switch(e.style()){case 3:l=c.areaStyle.childs().linewidth.value()/2;break;case 2:l=c.lineStyle.childs().linewidth.value()/2;break;case 10:const e=Math.abs(100-c.baselineStyle.childs().baseLevelPercentage.value());l=n.height()*e/100>p?c.baselineStyle.childs().topLineWidth.value()/2:c.baselineStyle.childs().bottomLineWidth.value()/2;break;case 1:case 9:case 8:case 12:l=3;break;case 0:l=c.barStyle.childs().thinBars.value()?3:Math.max(3,.25*u.barSpacing());break;case 11:l=c.rangeStyle.childs().thinBars.value()?3:Math.max(3,.25*u.barSpacing());break;case 4:case 7:l=3;break;case 5:l=Math.max(4,.25*u.barSpacing());break;case 6:l=Math.max(5,.25*u.barSpacing())}const _=a(t.position(),n.isInverted()),m=p-_*l;return{index:r.index,price:r.price,poleStartY:m,visualDirection:_,positionPointDirection:_,startsOnSeriesData:!0}}},26582:(e,t,i)=>{"use strict";i.d(t,{materializeBackground:()=>o,dematerializeBackground:()=>a});var s=i(88537),r=i(2271),n=i(51344);function o(e,t){if(e.start>=t.length||e.stop>=t.length)return null;const i=t[e.start],n=t[e.stop];return n===r.INVALID_TIME_POINT_INDEX?null:((0,s.assert)(i===r.INVALID_TIME_POINT_INDEX||i<=n,"start should not exceed stop"),{start:i===r.INVALID_TIME_POINT_INDEX?null:i,stop:n})}function a(e,t,i){return{id:t,start:(0,n.ensureTimePointIndexIndex)(i.indexOf(null!==e.start?e.start:r.INVALID_TIME_POINT_INDEX)),stop:(0,n.ensureTimePointIndexIndex)(i.indexOf(e.stop))}}},54376:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LiveStudyGraphics:()=>o.LiveStudyGraphics,StaticStudyGraphics:()=>n.StaticStudyGraphics,createGraphicsPaneViews:()=>u,createGraphicsPriceAxisViews:()=>_,emptyStudyGraphics:()=>n.emptyStudyGraphics,isStudyGraphicsEmpty:()=>r.isStudyGraphicsEmpty,loadStudyGraphics:()=>n.loadStudyGraphics,saveStudyGraphics:()=>n.saveStudyGraphics});var s=i(98125),r=i(82065),n=i(81064),o=i(75871),a=i(97938);class l extends a.PriceAxisView{constructor(e,t){super(),this._source=e,this._data=t}_updateRendererData(e,t,i){e.visible=!1;const s=this._source.priceScale(),r=this._source.properties().visible.value();if(!s||s.isEmpty()||!r)return;const n=this._source.properties().graphics[this._data.lineType][this._data.styleId];if(!(n.visible&&n.visible.value()&&n.showPrice&&n.showPrice.value()&&this._isLabelVisibleAccordinglyToProperties()))return;const o=this._source.firstValue();if(null===o)return;const a=this._data.line.level,l=n.color.value();i.background=l,i.textColor=this.generateTextColor(l),i.coordinate=s.priceToCoordinate(a,o),e.text=s.formatPrice(a,o,!0),e.visible=!0}_isLabelVisibleAccordinglyToProperties(){return!!this._source.model().properties().childs().scalesProperties.childs().showStudyLastValue.value()&&this._source.properties().showLabelsOnPriceScale.value()}} -const c=(0,s.getLogger)("Chart.StudyGraphics"),h=new Set(["dwgtablecells"]);async function d(e,t,s,r){switch(e){case"hhists":return new((await i.e(507).then(i.bind(i,93742))).HHistPaneView)(t,s,r);case"horizlines":return new((await i.e(507).then(i.bind(i,22107))).HorizLinePaneView)(t,s,r);case"vertlines":return new((await i.e(507).then(i.bind(i,59778))).VertLinePaneView)(t,s,r);case"polygons":return new((await i.e(507).then(i.bind(i,54077))).PolygonPaneView)(t,s,r);case"backgrounds":return new((await i.e(507).then(i.bind(i,72984))).BackgroundPaneView)(t,s,r)}return null}async function u(e,t,i){const s=[],r=Object.keys(e.graphicsInfo());r.sort((e,t)=>p(e)-p(t));for(const n of r){const r=await d(n,e,t,i);null!==r?s.push(r):h.has(n)||c.logWarn(n+" is not supported by this build of graphics subsystem, skipping")}return s}function p(e){switch(e){case"polygons":return-100;case"trendchannels":return-90;default:return 0}}function _(e){const t=Object.keys(e.graphicsInfo()),i=[];for(const s of t)switch(s){case"hlines":e.graphics().hlines().forEach((t,r)=>{t.forEach(t=>{void 0!==t.level&&i.push(new l(e,{line:{level:t.level},styleId:r,lineType:s}))})});break;case"horizlines":e.graphics().horizlines().forEach((t,r)=>{t.forEach(t=>{void 0!==t.level&&i.push(new l(e,{line:{level:t.level},styleId:r,lineType:s}))})})}return i}},95018:(e,t,i)=>{"use strict";i.d(t,{HHistDirection:()=>s,HHistLocation:()=>r,HHistVolumeMode:()=>n,materializeHHist:()=>c,dematerializeHHist:()=>h});var s,r,n,o=i(88537),a=i(2271),l=i(51344);function c(e,t){if(e.firstBarTime>=t.length||e.lastBarTime>=t.length)return null;const i=t[e.firstBarTime],s=t[e.lastBarTime];return i===a.INVALID_TIME_POINT_INDEX||s===a.INVALID_TIME_POINT_INDEX?null:((0,o.assert)(i<=s,"firstBarTime should not exceed lastBarTime"),(0,o.assert)(e.priceLow<=e.priceHigh,"priceLow should not exceed priceHigh"),{firstBarTime:i,lastBarTime:s,rate:e.rate,priceHigh:e.priceHigh,priceLow:e.priceLow})}function h(e,t,i){const s=(0,l.ensureTimePointIndexIndex)(i.indexOf(e.firstBarTime)),r=(0,l.ensureTimePointIndexIndex)(i.indexOf(e.lastBarTime));return{id:t,...e,firstBarTime:s,lastBarTime:r}}!function(e){e.LeftToRight="left_to_right",e.RightToLeft="right_to_left"}(s||(s={})),function(e){e.Relative="relative",e.Absolute="absolute"}(r||(r={})),function(e){e.UpDown="Up/Down",e.Total="Total",e.Delta="Delta"}(n||(n={}))},15513:(e,t,i)=>{"use strict";i.d(t,{materializeHorizLine:()=>o,dematerializeHorizLine:()=>a});var s=i(88537),r=i(2271),n=i(51344);function o(e,t){if(e.startIndex>=t.length||e.endIndex>=t.length)return null;const i=t[e.startIndex],n=t[e.endIndex];return i===r.INVALID_TIME_POINT_INDEX||n===r.INVALID_TIME_POINT_INDEX?null:((0,s.assert)(i<=n,"startIndex should not exceed endIndex"),{startIndex:i,endIndex:n,level:e.level,extendLeft:e.extendLeft,extendRight:e.extendRight})}function a(e,t,i){const s=(0,n.ensureTimePointIndexIndex)(i.indexOf(e.startIndex)),r=(0,n.ensureTimePointIndexIndex)(i.indexOf(e.endIndex));return{id:t,...e,startIndex:s,endIndex:r}}},75871:(e,t,i)=>{"use strict";i.d(t,{ -LiveStudyGraphics:()=>d});var s=i(88537),r=i(95018),n=i(15513),o=i(57987),a=i(39834),l=i(26582),c=i(82065),h=i(81064);class d{constructor(){this._indexes=[],this._horizlines=new Map,this._vertlines=new Map,this._lines=new Map,this._hlines=new Map,this._textmarks=new Map,this._shapemarks=new Map,this._backgrounds=new Map,this._polygons=new Map,this._trendchannels=new Map,this._hhists=new Map,this._dwglabels=new Map,this._dwgboxes=new Map,this._dwglines=new Map,this._dwgtables=new Map,this._dwgtablecells=new Map,this._dwglinefills=new Map,this._hhistsByTimePointIndex=new Map}horizlines(){return this._horizlines}vertlines(){return this._vertlines}lines(){return this._lines}hlines(){return this._hlines}textmarks(){return this._textmarks}shapemarks(){return this._shapemarks}backgrounds(){return this._backgrounds}polygons(){return this._polygons}trendchannels(){return this._trendchannels}hhists(){return this._hhists}dwglabels(){return this._dwglabels}dwglines(){return this._dwglines}dwgboxes(){return this._dwgboxes}dwgtables(){return this._dwgtables}dwgtablecells(){return this._dwgtablecells}dwglinefills(){return this._dwglinefills}hhistsByTimePointIndex(){return this._hhistsByTimePointIndex}clear(){this._indexes=[],this._clearPrimitives()}extract(){const e=e=>e.extract(),t={indexes:this._indexes,horizlines:p(this._horizlines,e),vertlines:p(this._vertlines,e),lines:p(this._lines,e),hlines:p(this._hlines,e),textmarks:p(this._textmarks,e),shapemarks:p(this._shapemarks,e),backgrounds:p(this._backgrounds,e),polygons:p(this._polygons,e),trendchannels:p(this._trendchannels,e),hhists:p(this._hhists,e),dwglabels:p(this._dwglabels,e),dwglines:p(this._dwglines,e),dwgboxes:p(this._dwgboxes,e),dwgtables:p(this._dwgtables,e),dwgtablecells:p(this._dwgtablecells,e),dwglinefills:p(this._dwglinefills,e)};return this._hhistsByTimePointIndex=new Map,new h.StaticStudyGraphics("data",t)}replaceIndexesTo(e){this._indexes=e;const t=e=>e.replaceIndexesTo(this._indexes);this._horizlines.forEach(t),this._vertlines.forEach(t),this._lines.forEach(t),this._hlines.forEach(t),this._textmarks.forEach(t),this._shapemarks.forEach(t),this._backgrounds.forEach(t),this._polygons.forEach(t),this._trendchannels.forEach(t),this._hhists.forEach(t),this._dwglabels.forEach(t),this._dwgboxes.forEach(t),this._dwglines.forEach(t),this._dwgtables.forEach(t),this._dwgtablecells.forEach(t),this._dwglinefills.forEach(t),this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}processCommands(e,t){void 0!==e.erase&&this._processEraseCommands(e.erase),void 0!==e.create&&this._processCreateCommands(e.create,t)}_processCreateCommands(e,t){for(const i in e){if(!e.hasOwnProperty(i))continue;const c=i;switch((0,s.assert)(c in t,`There is a '${c}' in study response, but it doesn't present in graphics info!`),c){case"hhists":_(this._hhists,e[c],t[c],this._indexes,r.materializeHHist);break;case"horizlines":_(this._horizlines,e[c],t[c],this._indexes,n.materializeHorizLine);break;case"vertlines":_(this._vertlines,e[c],t[c],this._indexes,o.materializeVertLine) -;break;case"polygons":_(this._polygons,e[c],t[c],this._indexes,a.materializePolygon);break;case"backgrounds":_(this._backgrounds,e[c],t[c],this._indexes,l.materializeBackground)}}this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}_processEraseCommands(e){for(const t of e)if("all"===t.action)this._clearPrimitives();else{const e=e=>e.deleteById(t.id);switch(t.type){case"horizlines":this._horizlines.forEach(e);break;case"vertlines":this._vertlines.forEach(e);break;case"lines":this._lines.forEach(e);break;case"hlines":this._hlines.forEach(e);break;case"textmarks":this._textmarks.forEach(e);break;case"shapemarks":this._shapemarks.forEach(e);break;case"backgrounds":this._backgrounds.forEach(e);break;case"polygons":this._polygons.forEach(e);break;case"trendchannels":this._trendchannels.forEach(e);break;case"hhists":this._hhists.forEach(e);break;case"dwglabels":this._dwglabels.forEach(e);break;case"dwglines":this._dwglines.forEach(e);break;case"dwgboxes":this._dwgboxes.forEach(e);break;case"dwgtables":this._dwgtables.forEach(e);break;case"dwgtablecells":this._dwgtablecells.forEach(e);break;case"dwglinefills":this._dwglinefills.forEach(e)}}this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}_clearPrimitives(){this._horizlines.clear(),this._vertlines.clear(),this._lines.clear(),this._hlines.clear(),this._textmarks.clear(),this._shapemarks.clear(),this._backgrounds.clear(),this._polygons.clear(),this._trendchannels.clear(),this._hhists.clear(),this._dwglabels.clear(),this._dwgboxes.clear(),this._dwglines.clear(),this._dwgtables.clear(),this._dwgtablecells.clear(),this._dwglinefills.clear(),this._hhistsByTimePointIndex=new Map}}class u{constructor(e,t){this._primitivesDataById=new Map,this._primitiveById=new Map,this._materializePrimitive=e,this._indexes=t}forEach(e,t){this._primitiveById.forEach(i=>{e.call(t,i,i,this)})}has(e){let t=!1;return this._primitiveById.forEach(i=>{t=t||i===e}),t}get size(){return this._primitiveById.size}[Symbol.iterator](){throw new Error("Not implemented")}entries(){throw new Error("Not implemented")}keys(){throw new Error("Not implemented")}values(){throw new Error("Not implemented")}hasId(e){return this._primitiveById.has(e)}addData(e){this._primitivesDataById.set(e.id,e),this._tryMaterialize(e)}deleteById(e){this._primitiveById.delete(e),this._primitivesDataById.delete(e)}clear(){this._primitivesDataById.clear(),this._primitiveById.clear()}replaceIndexesTo(e){this._indexes=e,this._primitiveById.clear(),this._primitivesDataById.forEach(this._tryMaterialize,this)}extract(){const e=new Set(this._primitivesDataById.values());return this._primitivesDataById=new Map,this._primitiveById.clear(),e}_tryMaterialize(e){const t=this._materializePrimitive(e,this._indexes);null!==t&&((0,s.assert)(!this._primitiveById.has(e.id),"primitive with specified id should not exist"),this._primitiveById.set(e.id,t))}}function p(e,t){const i=new Map;return e.forEach((e,s)=>i.set(s,t(e))),i}function _(e,t,i,r,n){if(void 0!==t)for(const o of t){const t=o.styleId -;void 0!==i&&(0,s.assert)(t in i,"Every style used by graphics primitive should be declared in study metainfo");let a=e.get(t);void 0===a&&(a=new u(n,r),e.set(t,a)),o.data.forEach(a.addData.bind(a))}}},39834:(e,t,i)=>{"use strict";i.d(t,{materializePolygon:()=>n,dematerializePolygon:()=>o});var s=i(2271),r=i(51344);function n(e,t){for(const i of e.points){if(i.index>=t.length)return null;if(t[i.index]===s.INVALID_TIME_POINT_INDEX)return null}return{points:e.points.map(e=>({index:t[e.index],offset:e.offset,level:e.level}))}}function o(e,t,i){return{id:t,points:e.points.map(e=>({...e,index:(0,r.ensureTimePointIndexIndex)(i.indexOf(e.index))}))}}},81064:(e,t,i)=>{"use strict";i.d(t,{StaticStudyGraphics:()=>h,emptyStudyGraphics:()=>_,loadStudyGraphics:()=>m,saveStudyGraphics:()=>g});var s=i(2271),r=i(15513),n=i(57987),o=i(95018),a=i(39834),l=i(26582),c=i(82065);class h{constructor(e,t){if(this._indexes=[],this._horizlines=new Map,this._vertlines=new Map,this._lines=new Map,this._hlines=new Map,this._textmarks=new Map,this._shapemarks=new Map,this._backgrounds=new Map,this._polygons=new Map,this._trendchannels=new Map,this._hhists=new Map,this._dwglabels=new Map,this._dwglines=new Map,this._dwgboxes=new Map,this._dwgtables=new Map,this._dwgtablecells=new Map,this._dwglinefills=new Map,"data"===e){const e=t;this._indexes=e.indexes,this._vertlines=d(e.vertlines,this._indexes,n.materializeVertLine),this._horizlines=d(e.horizlines,this._indexes,r.materializeHorizLine),this._polygons=d(e.polygons,this._indexes,a.materializePolygon),this._hhists=d(e.hhists,this._indexes,o.materializeHHist),this._backgrounds=d(e.backgrounds,this._indexes,l.materializeBackground)}else if("state"===e){const e=t;this._indexes=e.indexes||[],this._vertlines=u(e.vertlines,this._indexes,n.materializeVertLine),this._horizlines=u(e.horizlines,this._indexes,r.materializeHorizLine),this._polygons=u(e.polygons,this._indexes,a.materializePolygon),this._hhists=u(e.hhists,this._indexes,o.materializeHHist),this._backgrounds=u(e.backgrounds,this._indexes,l.materializeBackground)}this._hhistsByTimePointIndex=(0,c.splitHHistsByTimePointIndex)(this._hhists)}horizlines(){return this._horizlines}vertlines(){return this._vertlines}lines(){return this._lines}hlines(){return this._hlines}textmarks(){return this._textmarks}shapemarks(){return this._shapemarks}backgrounds(){return this._backgrounds}polygons(){return this._polygons}trendchannels(){return this._trendchannels}hhists(){return this._hhists}dwglabels(){return this._dwglabels}dwglines(){return this._dwglines}dwgboxes(){return this._dwgboxes}dwgtables(){return this._dwgtables}dwgtablecells(){return this._dwgtablecells}dwglinefills(){return this._dwglinefills}hhistsByTimePointIndex(){return this._hhistsByTimePointIndex}}function d(e,t,i){const s=new Map;return e.forEach((e,r)=>{const n=s.get(r)||new Set;e.forEach(e=>{const s=i(e,t);null!==s&&n.add(s)}),s.set(r,n)}),s}function u(e,t,i){const s=new Map;if(void 0===e)return s;for(const r of e){const e=r.styleId,n=s.get(e)||new Set;r.data.forEach(e=>{const s=i(e,t) -;null!==s&&n.add(s)}),s.set(e,n)}return s}function p(e,t,i,s){const r=[];return e.forEach((e,n)=>{e.forEach(e=>{!function(e,t,i){let s=null;for(const i of e)i.styleId===t&&(s=i);null===s&&(s={styleId:t,data:[]},e.push(s)),s.data.push(i)}(r,n,s(e,t(e),i))})}),r.length>0?r:void 0}function _(){return new h}function m(e){return new h("state",e)}function g(e){const t=function(e){const t=new Set;e.horizlines().forEach((e,i)=>{e.forEach(e=>{t.add(e.startIndex),t.add(e.endIndex)})}),e.vertlines().forEach((e,i)=>{e.forEach(e=>{t.add(e.index)})}),e.lines().forEach((e,i)=>{e.forEach(e=>{t.add(e.startIndex),t.add(e.endIndex)})}),e.textmarks().forEach((e,i)=>{e.forEach(e=>{t.add(e.time)})}),e.shapemarks().forEach((e,i)=>{e.forEach(e=>{t.add(e.time)})}),e.backgrounds().forEach((e,i)=>{e.forEach(e=>{t.add(null!==e.start?e.start:s.INVALID_TIME_POINT_INDEX),t.add(e.stop)})}),e.polygons().forEach((e,i)=>{e.forEach(e=>{e.points.forEach(e=>{t.add(e.index)})})}),e.trendchannels().forEach((e,i)=>{e.forEach(e=>{t.add(e.startIndex),t.add(e.endIndex)})}),e.hhists().forEach((e,i)=>{e.forEach(e=>{t.add(e.firstBarTime),t.add(e.lastBarTime)})}),e.dwglabels().forEach((e,i)=>{e.forEach(e=>{t.add(e.x)})}),e.dwglines().forEach((e,i)=>{e.forEach(e=>{var i,r;t.add(null!==(i=e.x1)&&void 0!==i?i:s.INVALID_TIME_POINT_INDEX),t.add(null!==(r=e.x2)&&void 0!==r?r:s.INVALID_TIME_POINT_INDEX)})}),e.dwgboxes().forEach((e,i)=>{e.forEach(e=>{var i,r;t.add(null!==(i=e.left)&&void 0!==i?i:s.INVALID_TIME_POINT_INDEX),t.add(null!==(r=e.right)&&void 0!==r?r:s.INVALID_TIME_POINT_INDEX)})});const i=Array.from(t);return i.sort((e,t)=>e-t),i}(e),i={indexes:t};let c=0;const h=()=>++c;return i.vertlines=p(e.vertlines(),h,t,n.dematerializeVertLine),i.horizlines=p(e.horizlines(),h,t,r.dematerializeHorizLine),i.polygons=p(e.polygons(),h,t,a.dematerializePolygon),i.hhists=p(e.hhists(),h,t,o.dematerializeHHist),i.backgrounds=p(e.backgrounds(),h,t,l.dematerializeBackground),i}},95936:(e,t,i)=>{"use strict";var s,r,n,o;i.d(t,{MarkLocation:()=>s,HAlign:()=>r,LineStyle:()=>o}),function(e){e.AboveBar="AboveBar",e.BelowBar="BelowBar",e.Top="Top",e.Bottom="Bottom",e.Right="Right",e.Left="Left",e.Absolute="Absolute",e.AbsoluteUp="AbsoluteUp",e.AbsoluteDown="AbsoluteDown"}(s||(s={})),function(e){e.Left="left",e.Center="center",e.Right="right"}(r||(r={})),function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom"}(n||(n={})),function(e){e[e.Solid=0]="Solid",e[e.Dotted=1]="Dotted",e[e.Dashed=2]="Dashed"}(o||(o={}))},82065:(e,t,i)=>{"use strict";i.d(t,{isStudyGraphicsEmpty:()=>r,splitHHistsByTimePointIndex:()=>n});const s=["horizlines","vertlines","lines","hlines","textmarks","shapemarks","backgrounds","polygons","trendchannels","hhists","dwglabels","dwglines","dwgboxes","dwgtables","dwgtablecells","dwglinefills"];function r(e){return!s.some(t=>e[t]().size>0)}function n(e){const t=new Map;return e.forEach((e,i)=>{e.forEach(e=>{const s={...e,styleId:i},r=e.firstBarTime;let n=t.get(r);void 0===n&&(n=new Set,t.set(r,n)),n.add(s)})}),t}},57987:(e,t,i)=>{"use strict";i.d(t,{ -materializeVertLine:()=>n,dematerializeVertLine:()=>o});var s=i(2271),r=i(51344);function n(e,t){if(e.index>=t.length)return null;const i=t[e.index];return i===s.INVALID_TIME_POINT_INDEX?null:{startPrice:e.startPrice,endPrice:e.endPrice,index:i,extendTop:e.extendTop,extendBottom:e.extendBottom}}function o(e,t,i){const s=(0,r.ensureTimePointIndexIndex)(i.indexOf(e.index));return{id:t,...e,index:s}}},99682:(e,t,i)=>{"use strict";i.d(t,{HHistBasedValuesProvider:()=>_});var s=i(93751),r=i(88537),n=i(49483),o=i(71053),a=i(85733),l=i(67802),c=i(95018),h=i(44601),d=i(57626);function u(e,t="",i=""){return{id:t,index:e,title:i,value:"",visible:!1}}const p=n.CheckMobile.any();class _{constructor(e,t){this._emptyValues=[],this._study=e,this._model=t,void 0!==this._study.metaInfo().graphics.hhists&&this._emptyValues.push(u(0),u(1),u(2))}getItems(){return this._emptyValues}getValues(e){const t=this._emptyValues.map(e=>({...e}));t.forEach(e=>{e.visible=this._study.isVisible(),e.value=d.notAvailable});const i=this._study.properties().child("inputs").child("volume").value();switch(i){case c.HHistVolumeMode.UpDown:t[0].title="Up",t[1].title="Down",t[2].title="Total";break;case c.HHistVolumeMode.Total:t[0].title="Total",t[1].visible=!1,t[2].visible=!1;break;case c.HHistVolumeMode.Delta:t[0].title="Delta",t[1].title="Max(Up, Down)",t[2].title="Total"}const n=this._study.priceScale(),a=this._model.timeScale();if(null===n||n.isEmpty()||a.isEmpty()||this._hideValues())return t;if(null===e||!isFinite(e)){const i=this._study.data().last();if(null===i)return t;e=i.index}const h=this._model.crossHairSource(),u=h.price;if(!isFinite(h.y)&&null===(e=function(e,t){var i;const s=null===(i=e.visibleBarsStrictRange())||void 0===i?void 0:i.lastBar();if(!s)return null;const r=t.data().search(s,o.PlotRowSearchMode.NearestLeft);return r?r.index:null}(this._model.timeScale(),this._model.mainSeries())))return t;const p=function(e,t,i,s){if(0===e.size)return null;if(!i){const e=(0,r.ensureNotNull)(s.data().valueAt(t));i=s.barFunction()(e)}const n=function(e,t){let i=null;return e.forEach((e,s)=>{s<=t&&(null===i||s>i)&&(i=s)}),i}(e,t);if(null===n)return null;const o=e.get(n);if(!o||0===o.size)return null;return function(e,t){let i=null;return e.forEach(e=>{e.priceLow<=t&&t{e.value="0"}),t;const _=this._study.metaInfo().graphics.hhists;if(void 0===_)return t;if(void 0===_[p.styleId])return t;const m=this._study.properties().child("graphics").child("hhists").child(p.styleId),g=new l.VolumeFormatter,f=e=>(0,s.isNumber)(e)?g.format(e):"";if(i!==c.HHistVolumeMode.Delta){if(p.rate.forEach((e,i)=>{t[i].value=f(e),t[i].color=m.colors[i].value()}),i===c.HHistVolumeMode.UpDown){const e=p.rate[0]+p.rate[1];t[2].value=f(e),t[2].color=m.valuesColor.value()}}else{const e=p.rate[0]>p.rate[1]?0:1,i=m.colors[e].value(),s=p.rate[0]+p.rate[1];[2*p.rate[e]-s,p.rate[e],s].forEach((e,s)=>{t[s].value=f(e),t[s].color=i})}return t} -_hideValues(){return p&&(null===this._model.crossHairSource().pane||(0,h.isLineToolName)(a.tool.value())||null!==this._model.lineBeingEdited())}}},72857:(e,t,i)=>{"use strict";i.d(t,{makeNextSymbolId:()=>r,makeNextStudyId:()=>o});let s=0;function r(){return s++,"ss_"+s}let n=0;function o(){return n++,"st"+n}},5402:(e,t,i)=>{"use strict";i.d(t,{migrateMetaInfoAndPropState:()=>_});var s=i(88537),r=i(67072),n=i.n(r),o=i(80643);const a=["Moving Average@tv-basicstudies","Moving Average Exponential@tv-basicstudies"];class l{targetMetaInfoVersion(){return 53}migrateMetaInfo(e){const t=e;e._metainfoVersion=53,a.includes(t.id)}migratePropState(e){var t,i,s;a.includes(e.id)&&(e.inputs.length=null!==(t=e.inputs.length)&&void 0!==t?t:e.inputs.in_0,e.inputs.source=null!==(i=e.inputs.source)&&void 0!==i?i:e.inputs.in_1,e.inputs.offset=null!==(s=e.inputs.offset)&&void 0!==s?s:e.inputs.in_2,delete e.inputs.in_0,delete e.inputs.in_1,delete e.inputs.in_2,e.plots[1]={id:"smoothedMA",type:"line"},e.styles.smoothedMA={display:0,linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#0496ff",histogramBase:0,joinPoints:!1,title:"Smoothed MA"})}}const c=["Volume@tv-basicstudies"];class h{targetMetaInfoVersion(){return 53}migrateMetaInfo(e){const t=e;e._metainfoVersion=53,c.includes(t.id)}migratePropState(e){var t;c.includes(e.id)&&(e.inputs.maLength=null!==(t=e.inputs.length)&&void 0!==t?t:e.inputs.maLength,delete e.inputs.length,delete e.inputs.offset,delete e.inputs.source,e.plots[1]={id:"smoothedMA",type:"line"},e.styles.smoothedMA={display:0,linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#0496ff",histogramBase:0,joinPoints:!1,title:"Smoothed MA"})}}const d=["Relative Strength Index@tv-basicstudies","Commodity Channel Index@tv-basicstudies","On Balance Volume@tv-basicstudies"];class u{targetMetaInfoVersion(){return 53}migrateMetaInfo(e){const t=e;e._metainfoVersion=53,d.includes(t.id)}migratePropState(e){d.includes(e.id)&&(e.plots[1]={id:"smoothedMA",type:"line"},e.styles.smoothedMA={display:0,linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#0496ff",histogramBase:0,joinPoints:!1,title:"Smoothed MA"})}}const p=[new class{targetMetaInfoVersion(){return 47}migrateMetaInfo(e){const t=e,i=e;if(i._metainfoVersion=47,!t.defaults||void 0===t.defaults.precision)return void(i.format={type:"inherit"});const s=t.defaults&&t.defaults.precision,r=(0,o.isNumber)(s)?s:parseInt(s);0===r?i.format={type:"volume"}:isFinite(r)?i.format={type:"price",precision:r}:i.format={type:"inherit"},delete t.defaults.precision}migratePropState(e){}},new class{targetMetaInfoVersion(){return 50}migrateMetaInfo(e){const t=e,i=e;if(i._metainfoVersion=50,void 0===t.defaults||void 0===t.defaults.ohlcPlots||void 0===t.ohlcPlots)return;const r=t.ohlcPlots,n=t.defaults.ohlcPlots,o=(0,s.ensureDefined)((0,s.ensureDefined)(i.defaults).ohlcPlots);for(const e of Object.keys(n)){const t=n[e];if("ohlc_candles"===t.plottype){let i=!1;const s=r[e];void 0!==s&&(i=!!s.drawBorder,delete s.drawBorder),o[e]={borderColor:"#000000", -drawBorder:i,...t}}}}migratePropState(e){}}];function _(e,t){const i=n().versionOf(e),r=e;void 0===r._serverMetaInfoVersion&&(r._serverMetaInfoVersion=i),p.forEach(r=>{i<0||i>=r.targetMetaInfoVersion()||(r.migrateMetaInfo(e),void 0!==t&&r.migratePropState(t),(0,s.assert)(e._metainfoVersion===r.targetMetaInfoVersion()))})}p.push(new l),p.push(new h),p.push(new u),p.sort((function(e,t){return e.targetMetaInfoVersion()-t.targetMetaInfoVersion()}))},13672:(e,t,i)=>{"use strict";i.d(t,{NonSeriesStudy:()=>n});var s=i(88537),r=i(66101);class n extends r.Study{clearData(){this._customData=null,this._indexes=null}restoreData(e,t,i){super.restoreData(e),this._customData=t,this._indexes=i}state(e){const t=super.state(e);return e&&(t.nonSeriesData=this._customData,t.indexes=this._indexes),t}customData(){return this._customData}_setPaneViews(e){this._paneViews=e,this.model().lightUpdate()}_onDataUpdated(e,t,i){null!==t&&(t.indexes_replace?((0,s.assert)("nochange"!==i),this._indexes=i):(this._customData=t.data,"nochange"!==i&&(this._indexes=i))),super._onDataUpdated(e,t,i)}}},52457:(e,t,i)=>{"use strict";i.d(t,{OverlayLegendValuesProvider:()=>C});var s=i(37667),r=i(93751),n=i(28353),o=i(49483),a=i(68906),l=i(62820),c=i(26811),h=i(83393),d=i(71053),u=i(14291),p=i(85733),_=i(89128),m=i(33981),g=i(88129),f=i(57626);const v=o.CheckMobile.any(),S=v&&!0,y=new c.PercentageFormatter,b=f.notAvailable,w=`${b} (${b}%)`;class C extends class{constructor(e,t){this._study=e,this._model=t,this._emptyValues=[{title:(0,n.t)("Open"),visible:!1,value:"",index:0,id:""},{title:(0,n.t)("High"),visible:!1,value:"",index:1,id:""},{title:(0,n.t)("Low"),visible:!1,value:"",index:2,id:""},{title:(0,n.t)("Close"),visible:!1,value:"",index:3,id:""},{title:"",visible:!1,value:"",index:4,id:""},{title:"",visible:!1,value:"",index:5,id:""},{title:(0,n.t)("Change"),visible:!1,value:"",index:6,id:""}]}getItems(){return this._emptyValues}getValues(e){const t=this._emptyValues.map(e=>({...e}));if(this._model.timeScale().isEmpty())return t;if(0===this._study.data().size())return t;const i=this._showLastPriceAndChangeOnly();if((0,r.isNumber)(e)||(i?e=this._study.data().lastIndex():(e=this._model.crossHairSource().appliedIndex(),(0,r.isNumber)(e)||(e=this._study.data().lastIndex()))),null===e||!(0,r.isNumber)(e))return t;const s=this._study.data().search(e,d.PlotRowSearchMode.NearestLeft,1),n=this._model.backgroundTopColor().value();if(null===s)return t;const o=s.index,c=s.value,u=c[1],p=c[2],_=c[3],f=c[4];t[0].value=b,t[1].value=b,t[2].value=b,t[3].value=b,t[6].value=w;for(const e of t)e.visible=!i;const v=t[4];v.visible=!1;const{values:C}=this._changesData(f,u,o,i),P=(0,g.getPriceValueFormatterForSource)(this._study);if((0,g.shouldBeFormattedAsPercent)(this._study)||(0,g.shouldBeFormattedAsIndexedTo100)(this._study))t[6].value="";else if(void 0!==C){const e=this._study.formatter();t[6].value=(0,l.forceLTRStr)(`${e.format(C.change,!0)} (${y.format(C.percentChange,!0)})`)}i?(t[5].value=null==f?b:P(f),t[5].visible=!0,t[6].visible=!0):(t[0].value=null==u?b:P(u), -t[1].value=null==p?b:P(p),t[2].value=null==_?b:P(_),t[3].value=null==f?b:P(f),v.value=P(this._study.barFunction()(c)),t[5].visible=!1);let T=null;if(i&&!S)T=void 0===C||C.change>=0?m.SeriesBarColorer.upColor(this._study.properties()):m.SeriesBarColorer.downColor(this._study.properties());else{const e=this._study.barColorer().barStyle(o,!1),t=null!=e.barBorderColor?e.barBorderColor:e.barColor;T=(0,h.calculateColor)(n,t)}T=(0,a.resetTransparency)((0,h.calculateColor)(n,T));for(const e of t)e.color=T;return t}_showLastPriceAndChangeOnly(){return v&&(null===this._model.crossHairSource().pane||(0,u.isLineToolName)(p.tool.value())||null!==this._model.lineBeingEdited())}_changesData(e,t,i,s){var r;if(s&&!S){const e=this._study.quotes();if(null!==e)return{values:{change:e.change,percentChange:e.change_percent},priceDirection:{basedOnCurrentBar:e.change>=0?0:1,basedOnPrevClose:e.change>=0?0:1}}}else{const s=this._study.data().search(i-1,d.PlotRowSearchMode.NearestLeft,1),n=null!==(r=null==s?void 0:s.value[4])&&void 0!==r?r:null;if(null!==n&&null!=e&&null!=t)return{values:{change:e-n,percentChange:(0,_.barPercentChange)(n,e)},priceDirection:{basedOnCurrentBar:e>=t?0:1,basedOnPrevClose:e>=n?0:1}}}return null==e||null==t?{}:{priceDirection:{basedOnCurrentBar:e>=t?0:1,basedOnPrevClose:e>=t?0:1}}}}{constructor(e,t){super(e,t);const i=t.properties().childs().paneProperties.childs().legendProperties.childs();this._showBarChange=i.showBarChange,this._showSeriesOHLC=i.showSeriesOHLC,this._seriesStyle=e.properties().childs().style}getValues(e){const t=super.getValues(e);if(!this._showLastPriceAndChangeOnly()){const e=(0,s.isPriceSourceStyle)(this._seriesStyle.value()),i=this._showSeriesOHLC.value(),r=i&&!e,n=i&&e;t[0].visible=r,t[1].visible=r,t[2].visible=r,t[3].visible=r,t[6].visible=this._showBarChange.value(),t[4].visible=n}return t}}},79284:(e,t,i)=>{"use strict";i.d(t,{OverlayStatusProvider:()=>r});var s=i(40529);class r extends s.StudyStatusProvider{getSplitTitle(){return this._source.titleInParts(!0,void 0,!1,!1)}text(){return this._source.isActualInterval()?this._source.isFailed()?`${this._source.title(!0,void 0,!1,!1)}: ${this.sourceStatusText()}`:`${this._source.title(!0,void 0,!1,!1)} ${this.sourceStatusText()}`:this._source.title(!0,void 0,!1,!1)}}},28283:(e,t,i)=>{"use strict";i.d(t,{PivotPointsStandardLastPricesView:()=>o});var s=i(71053);const r=["p","s1","r1","s2","r2","s3","r3","s4","r4","s5","r5"],n={P:"P",S1:"S1/R1",S2:"S2/R2",S3:"S3/R3",S4:"S4/R4",S5:"S5/R5",R1:"S1/R1",R2:"S2/R2",R3:"S3/R3",R4:"S4/R4",R5:"S5/R5"};class o{constructor(e){this._visiblePivots=new Set,this._invidated=!0,this._prices=[],this._source=e}visiblePivots(){return this._visiblePivots}update(){this._invidated=!0}prices(){return this._invidated&&(this._updateImpl(),this._invidated=!1),this._prices}_updateImpl(){this._visiblePivots.clear();const e=this._source.model(),t=this._source.priceScale();if(null===t)return;if(e.timeScale().isEmpty()||t.isEmpty())return;const i=e.timeScale().visibleBarsStrictRange();if(null===i)return -;if(!this._source.customData()||!this._source.customData().pivots)return;const o=e.mainSeries().bars().search(i.lastBar(),s.PlotRowSearchMode.NearestLeft);if(null===o)return;const a=o.index,l=this._source.customData().pivots,c=this._source.indexes(),h=this._source.properties(),d=this._source.firstValue();for(let e=0;e=a||o)){this._visiblePivots.add(l[e]),this._prices=[];for(let i=0;i{"use strict";i.d(t,{PaneRendererStandardPivotLabel:()=>r});var s=i(84346);class r{constructor(e,t,i){this._drawRects=[],this._cacheProvider=e,this._point=t,this._label=i}draw(e,t){const i=this._cacheProvider(t);e.save(),e.setTransform(1,0,0,1,0,0);const s=t.pixelRatio;this._drawRects=[];const r=t=>{const r=i.labelRectByIndex(t),n={left:Math.round(this._point.x-r.width+o),top:Math.round(this._point.y-r.height/2),width:r.width,height:r.height};return e.drawImage(i.canvas(),Math.round(r.left*s),Math.round(r.top*s),r.width*s,r.height*s,Math.round(n.left*s),Math.round(n.top*s),n.width*s,n.height*s),this._drawRects.push(n),r.width},n=this._label.split("/");let o=0;for(let e=0;e0&&(o+=r(t+11)/2),o+=r(t)/2}e.restore()}hitTest(e){for(const t of this._drawRects)if(e.x>=t.left&&e.x<=t.left+t.width&&e.y>=t.top&&e.y<=t.top+t.height)return new s.HitTestResult(s.HitTestResult.REGULAR);return null}}},66632:(e,t,i)=>{"use strict";i.d(t,{StandardPivotPointsImageCache:()=>n});var s=i(93435),r=i(88537);class n{constructor(e,t,i,r){this._priceAxisFontSize=11,this._prices=[],this._labelWidth=0,this._paneRenderParams=e,this._recreateCanvasAndContext(new s.Size(0,0)),this.reset({font:t,fontSize:i,backColors:r})}destroy(){delete this._canvas,delete this._cache}canvas(){return this._canvas}reset(e){this._renderParams=e,this._prices=[],this._cache.font=e.fontSize+"px "+e.font,this._labelWidth=["P","S1","R1","S2","R2","S3","R3","S4","R4","S5","R5","/"].reduce((e,t)=>{const i=this._cache.measureText(t).width;return Math.max(i,e)},0)}rowHeight(){return this._priceAxisFontSize+4}labelRectByIndex(e){return{left:0,top:Math.round(this._topByIndex(e)),width:Math.round(this._labelWidth+4),height:Math.round(this._renderParams.fontSize+8)}}setPrices(e){let t=!1;const i=(e,t)=>{const i=void 0===e,s=void 0===t;return(!i&&!s||i===s)&&(0,r.ensureDefined)(e).formatted===(0,r.ensureDefined)(t).formatted};if(e.length!==this._prices.length)t=!0;else for(let s=0;s{this._cache.translate(.5,.5),this._cache.font=this._renderParams.fontSize+"px "+this._renderParams.font,this._cache.textBaseline="middle";for(let e=0;e{"use strict";i.d(t,{StandardPivotPointsPriceAxisView:()=>n});var s=i(97938);const r=["P","S1","R1","S2","R2","S3","R3","S4","R4","S5","R5"];class n extends s.PriceAxisView{constructor(e,t){super(),this._source=e,this._data=t;const i=t.name;this._completeName="P"===i.toUpperCase()?"P":`S${i[1]}/R${i[1]}`}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._source.properties();if(!s.visible.value())return;const n=this._completeName,o=s.levelsStyle.visibility;if(!o[n]||!o[n].value())return;const a=this._source.model().timeScale(),l=this._source.priceScale();if(a.isEmpty()||null===a.visibleBarsStrictRange()||null!==l&&l.isEmpty())return;const c=this._source.customData();if(!c||!c.pivots)return;const h=this._source.pricesView().prices()[r.indexOf(this._data.name.toUpperCase())];if(!h)return;i.background=h.color,i.textColor=this.generateTextColor(h.color),i.coordinate=h.coordinate,i.floatCoordinate=h.floatCoordinate;const d=this._source.model().properties().childs().scalesProperties.childs();d.showStudyLastValue.value()&&(e.text=h.formatted,e.visible=!0),d.showStudyPlotLabels.value()&&(t.text=this._source.priceLabelText(this._data.name),t.visible=!0)}}},46319:(e,t,i)=>{"use strict";var s=i(69927).PriceRange,r=i(86441).Point,n=i(190).StudyStatusView,o=i(26179).StudyDataWindowView,a=i(13672).NonSeriesStudy,l=i(37157).StandardPivotPointsPriceAxisView,c=i(28978).PanePriceAxisView,h=i(84346).HitTestResult,d=i(94804).CompositeRenderer,u=i(15712).areEqualPaneRenderParams,p=i(66632).StandardPivotPointsImageCache,_=i(28283).PivotPointsStandardLastPricesView,m=i(19722).PaneRendererStandardPivotLabel,g=i(40254).HorizontalLineRenderer,f=i(22799);class v{constructor(e,t){this._model=e,this._source=t,this._pivots=[],this._textCache={}}setCache(e){this._cache=e}priceAxisViews(e,t){return this._priceAxisViews}mergeLabel(e,t,i){var s=""+t;void 0===e[s]?(e[s]={},e[s].text=i,e[s].ids=[this.complete(i)]):(e[s].text+="/"+i,e[s].ids.push(this.complete(i)))}complete(e){return"P"===e?e:"S"+e[1]+"/R"+e[1]}update(){this._invalidated=!0}_updateImpl(){if(this._source.pricesView().prices(), -this._pivots=[],this._source.customData()&&this._source.customData().pivots&&this._source.properties().visible.value()){var e=this._source.customData().pivots,t=this._source._indexes,i=this._model.timeScale(),s=this._source.priceScale();if(s&&!s.isEmpty()&&!i.isEmpty()&&e){var r=i.visibleBarsStrictRange(),n=r.firstBar(),o=r.lastBar();if(this._source.ownerSource())for(var a=this._source.ownerSource().firstValue(),l=0;lo)){var d={},u=this._source.properties().levelsStyle.visibility;u.P.value()&&this.mergeLabel(d,e[l].p,"P"),u["S1/R1"].value()&&(this.mergeLabel(d,e[l].s1,"S1"),this.mergeLabel(d,e[l].r1,"R1")),u["S2/R2"].value()&&(this.mergeLabel(d,e[l].s2,"S2"),this.mergeLabel(d,e[l].r2,"R2")),u["S3/R3"].value()&&(this.mergeLabel(d,e[l].s3,"S3"),this.mergeLabel(d,e[l].r3,"R3")),u["S4/R4"].value()&&(this.mergeLabel(d,e[l].s4,"S4"),this.mergeLabel(d,e[l].r4,"R4")),u["S5/R5"].value()&&(this.mergeLabel(d,e[l].s5,"S5"),this.mergeLabel(d,e[l].r5,"R5"));var p=i.indexToCoordinate(c),_=i.indexToCoordinate(h);for(var m in d){var g=parseFloat(m),f=s.priceToCoordinate(g,a);this._pivots.push({x1:p,x2:_,y:f,label:d[m].text,labelIds:d[m].ids,src:e[l]})}}}}}}renderer(){this._invalidated&&(this._updateImpl(),this._invalidated=!1);for(var e=new d,t=this._source.properties().levelsStyle.colors,i=this._source.properties().levelsStyle.widths,s=this._source.visiblePivots(),n=0;nt)){var l=[],c=this._properties.levelsStyle.visibility;c.P.value()&&l.push(i[o].p),c["S1/R1"].value()&&l.push(i[o].s1,i[o].r1),c["S2/R2"].value()&&l.push(i[o].s2,i[o].r2),c["S3/R3"].value()&&l.push(i[o].s3,i[o].r3),c["S4/R4"].value()&&l.push(i[o].s4,i[o].r4),c["S5/R5"].value()&&l.push(i[o].s5,i[o].r5);for(var h=0;h{"use strict";function s(e){e.lineWidth=void 0,e.lineStyle=void 0;for(let t=0;ts,createEmptyStyle:()=>r})},68617:(e,t,i)=>{"use strict";i.d(t,{PaneRendererColumns:()=>r});var s=i(84346);class r{constructor(e){this._data=null, -this._precalculatedCache=[],this.setData(e)}setData(e){this._data=e,this._precalculatedCache=[]}draw(e,t){var i,s,r,n;if(null===this._data||0===this._data.items.length)return;const o=t.pixelRatio;this._precalculatedCache.length||this._fillPrecalculatedCache(o);const a=Math.max(1,Math.floor(o)),l=Math.round(this._data.histogramBase*o)-Math.floor(a/2),c=l+a,h=this._data.lineColor,d=null!==(s=null===(i=this._data.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==s?s:0,u=(null!==(n=null===(r=this._data.visibleItemsRange)||void 0===r?void 0:r.endItemIndex)&&void 0!==n?n:this._data.items.length)-1;for(let t=d;t<=u;t++){const i=this._data.items[t],s=this._precalculatedCache[t-d],r=Math.round(i.y*o),n=i.style?i.style.color:h;let u,p;e.fillStyle=n,r<=l?(u=r,p=c):(u=l,p=r-Math.floor(a/2)+a),e.fillRect(s.left,u,s.right-s.left+1,p-u)}}hitTest(e){if(null===this._data)return null;const t=.5*this._data.barSpacing,i=e.x-t,r=e.x+t;for(const t of this._data.items){const n=t.x;if(n>=i&&n<=r){const i=t.y;if(e.y>=Math.min(i,this._data.histogramBase)&&e.y<=Math.max(i,this._data.histogramBase))return new s.HitTestResult(s.HitTestResult.REGULAR)}}return null}_fillPrecalculatedCache(e){var t,i,s,r;if(null===this._data||0===this._data.items.length)return void(this._precalculatedCache=[]);const n=Math.ceil(this._data.barSpacing*e)<=1?0:Math.max(1,Math.floor(e)),o=Math.round(this._data.barSpacing*e)-n,a=null!==(i=null===(t=this._data.visibleItemsRange)||void 0===t?void 0:t.startItemIndex)&&void 0!==i?i:0,l=(null!==(r=null===(s=this._data.visibleItemsRange)||void 0===s?void 0:s.endItemIndex)&&void 0!==r?r:this._data.items.length)-1,c=l-a+1;if(c<=0)return void(this._precalculatedCache=[]);this._precalculatedCache=new Array(c);for(let t=a;t<=l;t++){const i=this._data.items[t],s=Math.round(i.x*e);let r,n;if(o%2){const e=(o-1)/2;r=s-e,n=s+e}else{const e=o/2;r=s-e,n=s+e-1}this._precalculatedCache[t-a]={left:r,right:n,roundedCenter:s,center:i.x*e,time:i.timePointIndex}}for(let e=a+1;e<=l;e++){const t=this._precalculatedCache[e-a],i=this._precalculatedCache[e-a-1];t.time===i.time+1&&(t.left-i.right!==n+1&&(i.roundedCenter>i.center?i.right=t.left-n-1:t.left=i.right+n+1))}let h=Math.ceil(this._data.barSpacing*e);for(let e=a+1;e<=l;e++){const t=this._precalculatedCache[e-a];t.right0&&h<4)for(let e=a+1;e<=l;e++){const t=this._precalculatedCache[e-a];t.right-t.left+1>h&&(t.roundedCenter>t.center?t.right-=1:t.left+=1)}}}},2662:(e,t,i)=>{"use strict";i.d(t,{StudyPlotPaneView:()=>V});var s=i(88537),r=i(86441),n=i(24377),o=i(67337),a=i(64514),l=i(80643),c=i(68906),h=i(98619);function d(e,t){const i=new Map;return function(...s){const r=""+(t?t.apply(null,s):s[0]);if(!i.has(r)){const t=e.apply(this,s);return i.set(r,t),t}return i.get(r)}}var u=i(84346),p=i(84705),_=i(94804),m=i(46214),g=i(28113),f=i(85847),v=i(41892),S=i(31175),y=i(49094),b=i(49483);class w{constructor(e){this._data=e}draw(e,t){var i,s,r,n -;const o=this._data,a=t.pixelRatio,c=Math.max(1,Math.floor(a))%2?.5:0,h=o.vertOffset||0,d=o.lineColor||o.color,u=o.lineWidth||o.height/2;let p="",_=!1;const m=null!==(s=null===(i=o.visibleItemsRange)||void 0===i?void 0:i.startItemIndex)&&void 0!==s?s:0,g=null!==(n=null===(r=o.visibleItemsRange)||void 0===r?void 0:r.endItemIndex)&&void 0!==n?n:o.items.length;for(let t=m;t{const t=(0,n.rgbToHsl)((0,n.parseRgb)(e)),i=t[0]+.05;return t[0]=i-Math.floor(i),(0,n.rgbToHexString)((0,n.hslToRgb)(t))},k=d(E);function D(e,t){if(null===e)return t;const i=e.firstIndex,s=t.firstIndex,r=e.clearData||t.clearData;return{firstIndex:r||void 0===i||void 0===s?void 0:Math.min(i,s),clearData:r}}class V{constructor(e,t,i,s){this._histogramBase=null,this._items=[],this._selectionData=null,this._lineColor="",this._lineWidth=1,this._color1="",this._color2="",this._dataInvalidated=null,this._viewportInvalidated=!1,this._renderer=new _.CompositeRenderer,this._isMarkersEnabled=o.enabled("source_selection_markers"),this._study=e,this._series=t,this._model=i,this._plotName=s,this._plotIndex=e.metaInfo().plots.findIndex(e=>e.id===s),this._colorProvider=(0,M.createStudyPlotColorProvider)(e.metaInfo(),e.properties(),s),this._selectionIndexer=new f.SelectionIndexes(i.timeScale())}items(){return this._items}update(e){if("global-change"===e.type)return this._dataInvalidated=D(this._dataInvalidated,{}),void(this._viewportInvalidated=!0);if("data-source-change"!==e.type)this._viewportInvalidated=!0;else{if(e.dataSourceId===this._study.id()){const t=D(this._dataInvalidated,{firstIndex:e.firstUpdatedTimePointIndex,clearData:e.clearData});this._dataInvalidated=t}}}renderer(){return this._dataInvalidated?this._updateImplFull(this._viewportInvalidated)&&(this._dataInvalidated=null):this._viewportInvalidated&&this._updateImplLight(),this._viewportInvalidated=!1,this._renderer}_getTranspValue(){const e=this._study.properties(),t=e.styles[this._plotName];let i=0;const s=this._study.metaInfo();return"Volume@tv-basicstudies"===s.id&&s.version<=46&&"transparency"in e?(i=e.transparency.value(),i=(0,l.isNumber)(i)?i:0,i):(t.transparency&&(i=t.transparency.value(),i=(0,l.isNumber)(i)?i:0),i)}_updateImplFull(e){var t,i,n,o;const l=this._study.properties().styles[this._plotName];if(this._renderer.clear(),(null===(t=this._dataInvalidated)||void 0===t?void 0:t.clearData)&&(this._items=[]),!l.visible.value())return!1;if(!this._study.priceScale())return!1;const h=this._study.firstValue();if(null===h)return!1;const d=this._study.priceScale();if(null===d)return!1;this._histogramBase=null;const u=this._study.data(),p=u.size();if(0===p)return!1 -;const _=this._study.offset(this._plotName);let m=null===(i=this._dataInvalidated)||void 0===i?void 0:i.firstIndex;const g=l.plottype.value(),f=[I.LineStudyPlotStyle.Line,I.LineStudyPlotStyle.Area,I.LineStudyPlotStyle.Circles,I.LineStudyPlotStyle.Cross].indexOf(g)>=0;if(p!==this._items.length){const e=void 0!==m?m+_:void 0;if(void 0===e||0===this._items.length||e<(0,s.ensureDefined)(this._items[0].timePointIndex))this._items=[],u.each((e,t)=>{const i=t[this._plotIndex+1];if(f&&null==i||e<=-1e6)return!1;const s=new r.Point(NaN,NaN);return s.origPrices=new r.Point(NaN,NaN),s.timePointIndex=e+_,this._items.push(s),!1}),m=this._items.length?(0,s.ensureDefined)(this._items[0].timePointIndex)-_:void 0;else{const e=this._items[this._items.length-1].timePointIndex,t=(0,s.ensureDefined)(e)-_,i=(0,s.ensureNotNull)(u.lastIndex())+1,n=u.rangeIterator(t+1,i);for(;n.hasNext();){const e=n.next(),t=e.value[this._plotIndex+1],i=null==t;if(f&&i||e.index<-1e6)continue;const s=new r.Point(NaN,NaN);s.origPrices=new r.Point(NaN,NaN),s.timePointIndex=e.index+_,this._items.push(s)}}}let v=NaN,y=NaN;const b=new Map,w=(e,t)=>{let i=b.get(e);void 0===i&&(i=new Map,b.set(e,i));let s=i.get(t);if(void 0===s){const r=!this._plotName||"vol"!==this._plotName;s=(0,c.generateColor)(e,t,r),i.set(t,s)}return s},C=(0,S.createEmptyStyle)(),P=(0,a.clamp)(this._getTranspValue(),0,100),T=this._model.timeScale().visibleBarsStrictRange();if(null===T)return!1;const{startBar:x,endBar:M}=this._calculateStartEnd(T);if(null===x||null===M||0===this._items.length)return!1;const A=null!=m?m:(0,s.ensureNotNull)(u.firstIndex()),E=u.rangeIterator(A,(0,s.ensureNotNull)(u.lastIndex())+1),k=(0,L.lowerbound)(this._items,A+_,(e,t)=>e.timePointIndex0){const e=this._items[D-1].timePointIndex,i=new r.Point(t-1,NaN);i.origPrices=new r.Point(t-1,NaN),i.timePointIndex=e,De.timePointIndexe.timePointIndexe.timePointIndexe.timePointIndex0?(s-=n,r+=n):(s+=n,r-=n);const o=this._study.getMinFirstBarIndexForPlot(this._plotName)+n+1;return o>r+1?{startBar:null,endBar:null}:(s=Math.max(o,s),{startBar:s,endBar:r})}_createRenderer(e,t){var i;this._renderer.clear();const r=this._study.properties().styles[this._plotName],n=r,o=(0,a.clamp)(this._getTranspValue(),0,100);this._lineColor=(0,c.generateColor)(n.color.value(),o),this._lineWidth=n.linewidth.value();let d=n.color.value();const u=this._colorProvider.getDefaultPlotPointStyle();u&&(d=u.colors[0],this._lineWidth=null!==(i=u.lineWidth)&&void 0!==i?i:this._lineWidth,this._lineColor=d?(0,c.generateColor)(d,o):this._lineColor),this._color2=(0,c.generateColor)(d,o);const _=this._study.metaInfo().isRGB?E(d):k(d);this._color1=(0,c.generateColor)(_,o);const f={};f.barSpacing=this._model.timeScale().barSpacing(),f.items=this._items,f.histogramBase=this._histogramBase?this._histogramBase:(0,s.ensureNotNull)(this._study.priceScale()).height(),f.lineIndex=0,f.lineStyle=r.linestyle.value(),f.lineColor=this._lineColor,f.lineWidth=this._lineWidth,f.lineWidth=(0,l.isNumber)(f.lineWidth)?f.lineWidth:1,f.color1=this._color1,f.color2=this._color2,f.bottom=f.histogramBase,f.visibleItemsRange={startItemIndex:e,endItemIndex:t}, -f.simpleMode=this._colorProvider.singleColor();const S=this._renderer,y=!!r.joinPoints&&r.joinPoints.value();switch(r.plottype.value()){case I.LineStudyPlotStyle.Line:case I.LineStudyPlotStyle.LineWithBreaks:S.append(new m.PaneRendererLine(f));break;case I.LineStudyPlotStyle.Area:case I.LineStudyPlotStyle.AreaWithBreaks:S.append(new p.PaneRendererArea(f));break;case I.LineStudyPlotStyle.Histogram:S.append(new x(f));break;case I.LineStudyPlotStyle.Columns:S.append(new C.PaneRendererColumns(f));break;case I.LineStudyPlotStyle.Cross:if(S.append(new T(f)),y){const e=(0,h.deepCopy)(f);e.lineWidth=1,e.forceLineWidth=!0,S.append(new m.PaneRendererLine(e))}break;case I.LineStudyPlotStyle.Circles:if(S.append(new w(f)),y){const e=(0,h.deepCopy)(f);e.lineWidth=1,e.ignorePaletteLineWidth=!0,S.append(new m.PaneRendererLine(e))}break;case I.LineStudyPlotStyle.StepLine:case I.LineStudyPlotStyle.StepLineWithDiamonds:{f.decoration=n.plottype.value()===I.LineStudyPlotStyle.StepLineWithDiamonds?g.StepLineDecoration.Diamonds:g.StepLineDecoration.None;const e=new g.PaneRendererStepLine;e.setData(f),S.append(e);break}default:S.append(new m.PaneRendererLine(f))}this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&this._selectionData&&S.append(new v.SelectionRenderer(this._selectionData))}_createSelection(e){const t=this._study.priceScale();if(null!==t)if(this._model.selection().isSelected(this._study)){const i=this._selectionIndexer.indexes();this._selectionData={points:[],bgColors:[],visible:!0,hittestResult:u.HitTestResult.REGULAR,barSpacing:this._model.timeScale().barSpacing()};const n=(0,s.ensureNotNull)(this._model.paneForSource(this._study)).height(),o=this._study.offset(this._plotName);for(let s=0;s{"use strict";i.d(t,{createStudyPlotColorProvider:()=>p});var s=i(50993),r=i(88537),n=i(31175);const o=new Map([[0,"color"],[2,"textColor"],[3,"borderColor"],[4,"wickColor"],[5,"colorup"],[6,"colordown"]]);class a{constructor(e){this._plotStyle=e}getPlotPointStyle(e,t){const i=t?(0,n.clearStyle)(t):(0,n.createEmptyStyle)();return o.forEach((e,t)=>{this._plotStyle[e]&&(i.colors[t]=this._plotStyle[e].value())}),i.lineWidth=this._plotStyle.linewidth?this._plotStyle.linewidth.value():void 0,i.lineStyle=this._plotStyle.linestyle?this._plotStyle.linestyle.value():void 0,i}isColorDefined(){return!0}singleColor(){return!0}getDefaultPlotPointStyle(){return null}}const l=[0,1,2,3,4,5,6];class c{constructor(e,t,i,s){this._palettesColors=new Map,this._defaultPlotColors=new Map,this._indexes=s;const n=t.styles[i];if(n)for(const[e,t]of o)this._defaultPlotColors.set(e,n[t]);const a=(0, -r.ensureDefined)(e.palettes),l=e.plots;s.forEach((e,i)=>{const s=l[e];if(s&&"palette"in s){const e=a[s.palette],r=t.palettes[s.palette];if(e&&r){const{valToIndex:t}=e,{colors:s}=r,n={...s};t&&Object.keys(t).forEach(e=>{const i=t[e];void 0!==i&&(n[e]=s[i])}),this._palettesColors.set(i,n)}}})}getPlotPointStyle(e,t){const i=t?(0,n.clearStyle)(t):(0,n.createEmptyStyle)();return l.forEach(t=>{var s,n;if(this._palettesColors.has(t)){const n=e[(0,r.ensureDefined)(this._indexes.get(t))+1];if("number"==typeof n){const e=null===(s=this._palettesColors.get(t))||void 0===s?void 0:s[n];0===t&&e&&(i.lineWidth=e.width.value(),i.lineStyle=e.style.value()),i.colors[t]=null==e?void 0:e.color.value()}else i.colors[t]="transparent"}else i.colors[t]=null===(n=this._defaultPlotColors.get(t))||void 0===n?void 0:n.value()}),i}getDefaultPlotPointStyle(){var e;const t=null===(e=this._palettesColors.get(0))||void 0===e?void 0:e[0];if(void 0!==t){return{colors:[t.color.value(),void 0,void 0,void 0,void 0,void 0,void 0],lineStyle:void 0,lineWidth:t.width.value()}}return null}isColorDefined(){return!!this._palettesColors.size}singleColor(){return!1}}var h=i(68906);class d{constructor(e){this._indexes=e}getPlotPointStyle(e,t){const i=t?(0,n.clearStyle)(t):(0,n.createEmptyStyle)();return this._indexes.forEach((t,s)=>{const r=e[t+1];if(null!=r){const e=(0,h.rgbaFromInteger)(r);i.colors[s]=e}else i.colors[s]="transparent"}),i}isColorDefined(){return!0}singleColor(){return!1}getDefaultPlotPointStyle(){return null}}const u=new Map([[0,function(e,t){const i=(0,s.isColorerPlot)(t)||(0,s.isOhlcColorerPlot)(t);return"target"in t&&t.target===e&&i}],[2,function(e,t){const i=(0,s.isTextColorerPlot)(t);return"target"in t&&t.target===e&&i}],[1,function(e,t){return(0,s.isBgColorerPlot)(t)&&t.id===e}],[3,function(e,t){const i=(0,s.isCandleBorderColorerPlot)(t);return"target"in t&&t.target===e&&i}],[4,function(e,t){const i=(0,s.isCandleWickColorerPlot)(t);return"target"in t&&t.target===e&&i}],[5,function(e,t){const i=(0,s.isUpColorerPlot)(t);return"target"in t&&t.target===e&&i}],[6,function(e,t){const i=(0,s.isDownColorerPlot)(t);return"target"in t&&t.target===e&&i}]]);function p(e,t,i){const{colorers:s}=function(e,t){const i=e.plots,s=i.findIndex(e=>e.id===t),r=new Map;return i.forEach((e,i)=>{u.forEach((s,n)=>{s(t,e)&&r.set(n,i)})}),{plotIndex:-1===s?null:s,colorers:r}}(e,i);if(s.size)return e.isRGB?new d(s):new c(e,t,i,s);{const e=t.ohlcPlots;if(e&&e[i])return new a(e[i]);const s=t.styles[i];return new a(s)}}},50993:(e,t,i)=>{"use strict";var s,r;function n(e){return"line"===e.type}function o(e){return"shapes"===e.type}function a(e){return"chars"===e.type}function l(e){return"arrows"===e.type}function c(e){return"dataoffset"===e.type}function h(e){return"ohlc_open"===e.type}function d(e){return"ohlc_high"===e.type}function u(e){return"ohlc_low"===e.type}function p(e){return"ohlc_close"===e.type}function _(e){return h(e)||d(e)||u(e)||p(e)}function m(e){return"colorer"===e.type}function g(e){return"bar_colorer"===e.type}function f(e){return"bg_colorer"===e.type} -function v(e){return"text_colorer"===e.type}function S(e){return"ohlc_colorer"===e.type}function y(e){return"wick_colorer"===e.type}function b(e){return"border_colorer"===e.type}function w(e){return"up_colorer"===e.type}function C(e){return"down_colorer"===e.type}function P(e){return"alertcondition"===e.type}function T(e){return"Plot"!==e}function x(e){return"ohlc_bars"===e.plottype}function I(e){return"ohlc_candles"===e.plottype}function M(e){return m(e)||g(e)||f(e)||c(e)||S(e)||P(e)||w(e)||C(e)||b(e)||y(e)||v(e)}function L(e){return m(e)||v(e)||g(e)||c(e)||S(e)||y(e)||b(e)||w(e)||C(e)||P(e)}i.r(t),i.d(t,{LineStudyPlotStyle:()=>s,isLinePlot:()=>n,isShapesPlot:()=>o,isCharsPlot:()=>a,isArrowsPlot:()=>l,isDataOffsetPlot:()=>c,isOhlcOpenPlot:()=>h,isOhlcHighPlot:()=>d,isOhlcLowPlot:()=>u,isOhlcClosePlot:()=>p,isOhlcPlot:()=>_,isColorerPlot:()=>m,isBarColorerPlot:()=>g,isBgColorerPlot:()=>f,isTextColorerPlot:()=>v,isOhlcColorerPlot:()=>S,isCandleWickColorerPlot:()=>y,isCandleBorderColorerPlot:()=>b,isUpColorerPlot:()=>w,isDownColorerPlot:()=>C,isAlertConditionPlot:()=>P,isPlotTitleDefined:()=>T,isOhlcPlotStyleBars:()=>x,isOhlcPlotStyleCandles:()=>I,PlotSymbolSize:()=>r,isPlotWithTechnicalValues:()=>M,isNonVisualPlot:()=>L}),function(e){e[e.Line=0]="Line",e[e.Histogram=1]="Histogram",e[e.Cross=3]="Cross",e[e.Area=4]="Area",e[e.Columns=5]="Columns",e[e.Circles=6]="Circles",e[e.LineWithBreaks=7]="LineWithBreaks",e[e.AreaWithBreaks=8]="AreaWithBreaks",e[e.StepLine=9]="StepLine",e[e.StepLineWithDiamonds=10]="StepLineWithDiamonds"}(s||(s={})),function(e){e.Auto="auto",e.Tiny="tiny",e.Small="small",e.Normal="normal",e.Large="large",e.Huge="huge"}(r||(r={}))},81851:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createStudy:()=>B,isESDOrRollDatesStudy:()=>k,isESDStudy:()=>A,isFundamentalStudy:()=>L,isFundamentalStudyMetaInfo:()=>D,isRollDatesStudy:()=>E,isStudy:()=>x,isStudyStrategy:()=>I,isStudyStub:()=>M,studyColorRotationMode:()=>N,useSameColorRotationComparator:()=>O});var s=i(67337),r=i(67072),n=i.n(r),o=i(66101),a=i(46319),l=i(9771),c=i(55153),h=i(67509),d=i(25270);const u=s.enabled("hide_main_series_symbol_from_indicator_legend");class p extends o.Study{constructor(e,t,i,s){super(e,t,i,s),this.properties().styles.vol_ma.visible.listeners().subscribe(this,()=>this.invalidateTitleCache())}base(){return 1}destroy(){this.properties().styles.vol_ma.visible.listeners().unsubscribeAll(this),super.destroy()}_titleInputs(){const e={symbolsForDisplay:!0,skipHiddenInputs:!0,fakeInputsForDisplay:!0,asObject:!1,skipOptionalEmptySymbolInputs:u};return this.properties().styles.vol_ma.visible.value()?this.inputs(e):this.inputs({...e,skippedInputs:["length"]})}}var _=i(88537),m=i(52714),g=i.n(m),f=i(2015),v=i.n(f),S=i(37667),y=i(14791);class b extends o.Study{constructor(e,t,i,s){super(e,function(e){return e.hasChild("currencyId")||e.addChild("currencyId",new(v())(null)),e.hasChild("unitId")||e.addChild("unitId",new(v())(null)),e.addExclusion("currencyId"),e.addExclusion("unitId"),e}(t),i,s),this._isActingAsSymbolSource=new(g())(!1), -this._symbolHibernated=new(g())(!1),this._symbolResolvingActive=new(g())(!1),this._realignToolsLastParams=null,this._onIsActingAsSymbolSourceChanged=()=>{this._realignLineToolsIfParamsChanged()},this._recalculateIsActingAsSymbolSource(),this._isActingAsSymbolSource.subscribe(this._onIsActingAsSymbolSourceChanged);const r=this.properties().childs().inputs.childs().symbol;this._previousSymbolInputValue=r.value()}destroy(){this._isActingAsSymbolSource.unsubscribe(this._onIsActingAsSymbolSourceChanged),super.destroy()}isActingAsSymbolSource(){return this._isActingAsSymbolSource.readonly()}properties(){return this._properties}symbol(){return this._isActingAsSymbolSource.value()?this.properties().childs().inputs.childs().symbol.value():this.symbolSource().symbol()}interval(){return this.model().mainSeries().interval()}style(){return(0,_.ensureNotNull)(this.parentSource().symbolSource()).style()}currency(){return this._isActingAsSymbolSource.value()?this.properties().childs().currencyId.value()||null:this.symbolSource().currency()}unit(){return this._isActingAsSymbolSource.value()?this.properties().childs().unitId.value()||null:this.symbolSource().unit()}setSymbolParams(e){this._setSymbolParamsInternal(e)}setSymbol(e){this.setSymbolParams({symbol:e})}symbolInfo(){if(!this._isActingAsSymbolSource.value())return super.symbolSource().symbolInfo();if(void 0===this._resolvedSymbols)return null;const e=this.symbol(),t=this._getSymbolForResolve(e);return this._resolvedSymbols[t]||null}symbolSource(){return this._isActingAsSymbolSource.value()?this:super.symbolSource()}symbolResolved(){return this.symbolsResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._symbolHibernated}isVisible(){const e=super.isVisible();return this._symbolHibernated.setValue(!e),e}symbolSameAsCurrent(e){return(0,y.symbolSameAsCurrent)(e,this.symbol(),this.symbolInfo())}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,S.isConvertedToOtherCurrency)(this.symbolInfo())}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,S.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}setInterval(e){}setStyle(e){}symbolTitle(e,t){return this.title(!0,{},!1,e)}measureUnitId(){return(0,S.measureUnitId)(this.symbolInfo())}bars(){return super.data()}_onPropertiesChanged(){this._recalculateIsActingAsSymbolSource(),super._onPropertiesChanged(),this._realignLineToolsIfParamsChanged()}_tryChangeInputs(){var e;const t=this._resolvedSymbolsByInput[this.symbol()]||null;(0,y.symbolSameAsCurrent)(this._previousSymbolInputValue,this.symbol(),t)||this._setSymbolParamsInternal({currency:null,unit:null}),super._tryChangeInputs(),this._formatter=null,null===(e=this.priceScale())||void 0===e||e.updateFormatter(),this._previousSymbolInputValue=this.properties().childs().inputs.childs().symbol.value()}_getSymbolObject(e){const t={symbol:e},i=this.currency();null!==i&&(t["currency-id"]=i);const s=this.unit() -;return this._model.unitConversionEnabled()&&null!==s&&(t["unit-id"]=s),t}_getSymbolForApi(e){return(0,S.symbolForApi)(this._resolvedSymbolsByInput[e]||null,e)}_onSymbolResolved(e,t,i){super._onSymbolResolved(e,t,i),this._recreatePriceFormattingDependencies();const s=t===this.symbol()?(0,S.extractSymbolNameFromSymbolInfo)(i,this.symbol()):null;null!==s&&(this._previousSymbolInputValue=s);const r=(0,S.symbolCurrency)(i),n=(0,S.symbolUnit)(i,this._model.unitConversionEnabled());this._setSymbolParamsInternal({symbol:null!=s?s:void 0,currency:r,unit:n},i),this._symbolResolvingActive.setValue(!1)}_onSymbolResolvingStart(){super._onSymbolResolvingStart(),this._symbolResolvingActive.setValue(!0)}_onSymbolError(){super._onSymbolError(),this._symbolResolvingActive.setValue(!1)}_onCurrencyMayChange(){this.isActingAsSymbolSource()?super._onCurrencyMayChange():this._onCurrencyChanged()}_recalculateIsActingAsSymbolSource(){var e,t;const i=null!==(t=""!==(null===(e=this._currencySourceSymbolInputProperty)||void 0===e?void 0:e.value()))&&void 0!==t&&t;this._isActingAsSymbolSource.setValue(i)}_setSymbolParamsInternal(e,t){const{symbol:i,currency:s,unit:r}=e,n=this.properties().childs(),o=n.inputs.childs().symbol.value(),a=n.currencyId.value(),l=n.unitId.value();if(void 0!==i&&i!==o&&n.inputs.childs().symbol.setValueSilently(i),void 0!==s&&s!==a&&n.currencyId.setValueSilently(s),void 0!==r&&r!==l&&n.unitId.setValueSilently(r),t)this._resolvedSymbolsByInput[this.symbol()]=t,this._resolvedSymbols[this._getSymbolForResolve(this.symbol())]=t,this._realignToolsLastParams=null;else{const e=this.symbolInfo();null!==e&&(n.currencyId.setValueSilently((0,S.symbolCurrency)(e)),n.unitId.setValueSilently((0,S.symbolUnit)(e,this._model.unitConversionEnabled())))}n.inputs.childs().symbol.value()!==o&&n.inputs.childs().symbol.listeners().fire(n.inputs.childs().symbol),n.currencyId.value()!==a&&n.currencyId.listeners().fire(n.currencyId),n.unitId.value()!==l&&n.unitId.listeners().fire(n.unitId),this._realignLineToolsIfParamsChanged()}_realignLineToolsIfParamsChanged(){const e=this.symbol(),t=this.interval(),i=this.currency(),s=this.unit();null!==this._realignToolsLastParams&&this._realignToolsLastParams.symbol===e&&this._realignToolsLastParams.interval===t&&this._realignToolsLastParams.currency===i&&this._realignToolsLastParams.unit===s||(this._model.realignLineTools(this),this._realignToolsLastParams={symbol:e,interval:t,currency:i,unit:s})}}var w=i(69927);class C extends o.Study{priceRange(e,t){let i=!1;this.graphics().hhists().forEach((e,t)=>{i=i||this.properties().child("graphics").child("hhists").child(t).child("showValues").value()});const s=function(e,t,i,s){let r=null;return e.forEach((e,s)=>{e.forEach(e=>{e.firstBarTime<=i&&e.lastBarTime>=t&&(null===r?r={low:{l:e.priceLow,h:e.priceHigh},high:{h:e.priceHigh}}:(e.priceLow{"use strict";i.d(t,{StudyColorRotatorFactory:()=>h});var s=i(45112),r=i(24377),n=i(68906),o=i(81851);const a=["color-sky-blue-400","color-banana-yellow-700","color-deep-blue-500","color-grapes-purple-a700","color-iguana-green-500","color-minty-green-a700","color-ripe-red-a200","color-berry-pink-200","color-tv-blue-a100","color-tan-orange-a200","color-sky-blue-a400","color-deep-blue-a100","color-grapes-purple-400","color-iguana-green-a700","color-minty-green-200","color-ripe-red-200","color-berry-pink-a200","color-ripe-red-500","color-grapes-purple-500","color-deep-blue-400","color-tv-blue-a200","color-sky-blue-500","color-iguana-green-400","color-minty-green-400","color-banana-yellow-600","color-tan-orange-500","color-berry-pink-400","color-ripe-red-300","color-grapes-purple-300","color-deep-blue-300","color-tv-blue-300","color-sky-blue-300","color-iguana-green-300","color-minty-green-300","color-banana-yellow-400","color-tan-orange-300","color-berry-pink-300","color-tan-orange-a700"];class l{constructor(e){this._offset=0,this._offset=e}getColor(e){if(0===this._offset)return e;const t=a[(this._offset-1)%a.length],i=s.colorsPalette[t],o=(0,n.isHexColor)(e)?1:(0,r.parseRgba)(e)[3];return(0,n.generateColor)(i,(0,n.alphaToTransparency)(o))}}class c{constructor(e,t){this._offset=e,this._modelStartOffset=t}getColor(e){if((0,n.isHexColor)(e)){const t=(0,r.parseRgb)(e);return(0,r.rgbToHexString)((0, -r.shiftRgb)(t,this._offset,this._modelStartOffset))}{const t=(0,r.parseRgba)(e);return(0,r.rgbaToString)((0,r.shiftRgba)(t,this._offset,this._modelStartOffset))}}}class h{constructor(e){this._chartModel=e}getColorRotator(e){const t=(0,o.studyColorRotationMode)(e);if(null===t)return null;const i=this._calcDefaultColorsOffset(e);switch(t){case"loop":return new l(i);case"shift":{const e=this._chartModel.getStudyShiftColorStartOffset();return new c(i,e)}}}_calcDefaultColorsOffset(e){let t=0;const i=(0,o.useSameColorRotationComparator)(e);return this._chartModel.dataSources().filter(o.isStudy).forEach(s=>{i(e,s.metaInfo())&&t++}),t}}},27982:(e,t,i)=>{"use strict";i.d(t,{StudyDataSource:()=>_});var s,r=i(88537),n=i(2872),o=i.n(n),a=i(71053),l=i(51344),c=i(72857),h=i(8671),d=i(75871);!function(e){e[e.Undefined=0]="Undefined",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed",e[e.Error=3]="Error"}(s||(s={}));const u=(0,i(98125).getLogger)("Chart.StudyDataSource");var p;!function(e){e[e.Idle=0]="Idle",e[e.AwaitingConnection=1]="AwaitingConnection",e[e.AwaitingParent=2]="AwaitingParent",e[e.AwaitingFirstDataUpdate=3]="AwaitingFirstDataUpdate",e[e.Active=4]="Active"}(p||(p={}));class _{constructor(e,t,i,r){this._inputs=null,this._status=p.Idle,this._studyId=null,this._turnaroundCounter=1,this._studyStatus={type:s.Undefined},this._studyStatusChanged=new(o()),this._graphics=new d.LiveStudyGraphics,this._dataCleared=new(o()),this._dataUpdated=new(o()),this._boundOnGatewayIsConnectedChanged=this._onGatewayIsConnectedChanged.bind(this),this._ongoingDataUpdate=Promise.resolve(),this._gateway=e,this._metaInfo=r,this._seriesSource=t,this._turnaroundPrefix=i,this._plots=new a.PlotList((0,h.studyPlotFunctionMap)(r),h.studyEmptyPlotValuePredicate),this._gateway.isConnected().subscribe(this._boundOnGatewayIsConnectedChanged)}destroy(){this.stop(),this._gateway.isConnected().unsubscribe(this._boundOnGatewayIsConnectedChanged),this._dataUpdated.destroy(),this._dataCleared.destroy(),this._studyStatusChanged.destroy()}metaInfo(){return this._metaInfo}inputs(){return this._inputs}setInputs(e){this._inputs=e,null!==this._studyId&&(this._turnaroundCounter++,this._onStudyStatusChangedTo({type:s.Undefined}),this._gateway.modifyStudy(this._studyId,this._turnaround(),e,this._onMessage.bind(this)),this._status===p.Active&&this._changeStatusTo(p.AwaitingFirstDataUpdate))}isStarted(){return this._status!==p.Idle}isActive(){return this._status===p.Active}start(){this.isStarted()?u.logNormal("start: data source is already started, nothing to do"):((0,r.assert)(null!==this._inputs,"Inputs should be defined when starting a study data source"),this._gateway.isConnected().value()?this._createStudy():this._changeStatusTo(p.AwaitingConnection))}stop(){this.isStarted()?(null!==this._studyId&&(this._gateway.removeStudy(this._studyId),this._studyId=null,this._onStudyStatusChangedTo({type:s.Undefined})),this._changeStatusTo(p.Idle)):u.logNormal("stop: data source is already stopped, nothing to do")}studyId(){return this._studyId}studyStatus(){ -return this._studyStatus}studyStatusChanged(){return this._studyStatusChanged}plots(){return this._plots}graphics(){return this._graphics}clearData(){this._plots.clear(),this._graphics.clear(),this._dataCleared.fire()}stopAndStealData(){(0,r.assert)(this._status===p.Active,"Couldn't steal data from non-active data source"),this.stop();const e=this._plots,t=this._graphics.extract();return this._plots=new a.PlotList((0,h.studyPlotFunctionMap)(this._metaInfo),h.studyEmptyPlotValuePredicate),{plots:e,graphics:t}}dataCleared(){return this._dataCleared}dataUpdated(){return this._dataUpdated}moveData(e){this._ongoingDataUpdate=this._ongoingDataUpdate.then(()=>{this._plots.move(e)})}pendingUpdatesReady(){return this._ongoingDataUpdate}_changeStatusTo(e){(0,r.assert)(this._status!==e,"Source and destination status should be distinct"),u.logNormal(`Status changed from ${p[this._status]} to ${p[e]}`),this._status=e}_createStudy(){const e=this._seriesSource.instanceId();null!==e?this._createStudyUsingParentId(e):(this._changeStatusTo(p.AwaitingParent),this._seriesSource.dataEvents().completed().subscribe(this,this._onSeriesCompleted,!0))}_createStudyUsingParentId(e){(0,r.assert)(this._status!==p.Active,'Status should not be "Active" when creating a study'),(0,r.assert)(this._studyStatus.type===s.Undefined,'Study status should be "Undefined" when creating a study'),(0,r.assert)(null===this._studyId,"Study id should be empty when creating a study"),this._studyId=(0,c.makeNextStudyId)(),this._gateway.createStudy(this._studyId,this._turnaround(),e,this._metaInfo.fullId+("tv-basicstudies"===this._metaInfo.packageId?"":"!"),(0,r.ensureNotNull)(this._inputs),this._onMessage.bind(this)),this._changeStatusTo(p.AwaitingFirstDataUpdate)}_onGatewayIsConnectedChanged(e){e?this._onGatewayConnected():this._onGatewayDisconnected()}_onGatewayConnected(){this._status===p.AwaitingConnection&&this._createStudy()}_onGatewayDisconnected(){this._status!==p.Idle&&this._status!==p.AwaitingConnection&&(this._studyId=null,this._changeStatusTo(p.AwaitingConnection),this._studyStatus.type!==s.Undefined&&this._onStudyStatusChangedTo({type:s.Undefined})),this._turnaroundCounter=1}_onSeriesCompleted(){this._status===p.AwaitingParent&&this._createStudyUsingParentId((0,r.ensure)(this._seriesSource.instanceId()))}_onStudyStatusChangedTo(e){const t=this._studyStatus;this._studyStatus=e,u.logNormal(`Study status type changed from ${s[t.type]} to ${s[e.type]}`),this._studyStatusChanged.fire(t,e)}_onMessage(e){if("data_update"===e.method){const{customId:t,turnaround:i,plots:s,nonseries:n}=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onDataUpdate(s,(0,r.ensureDefined)(n))}else if("study_loading"===e.method){const[t,i,s]=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onStudyLoading(s)}else if("study_completed"===e.method){const[t,i,s]=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onStudyCompleted(s)}else if("study_error"===e.method){const[t,i,s,r,n]=e.params;t===this._studyId&&this._checkTurnaround(i)&&this._onStudyError(s,r,n) -}else"clear_data"===e.method&&this._checkTurnaround(e.params.turnaround)&&this.clearData()}_onDataUpdate(e,t){const i=(0,l.unpackNonSeriesData)(t.d);return this._ongoingDataUpdate=this._ongoingDataUpdate.then(()=>i,()=>i).then(this._onDataUnpacked.bind(this,e,t.indexes)),this._ongoingDataUpdate}_onDataUnpacked(e,t,i){this._status!==p.Idle&&(this._status===p.AwaitingFirstDataUpdate&&(this._changeStatusTo(p.Active),this.clearData()),this._mergePlots(e),null!==i&&(i.indexes_replace?((0,r.assert)("nochange"!==t),this._graphics.replaceIndexesTo(t)):("nochange"!==t&&this._graphics.replaceIndexesTo(t),void 0!==i.graphicsCmds&&this._graphics.processCommands(i.graphicsCmds,this._metaInfo.graphics))),this._dataUpdated.fire(e,i,t))}_onStudyLoading(e){this._onStudyStatusChangedTo({type:s.Loading,startTime:Date.now()})}_onStudyError(e,t,i){this.clearData();const r="string"==typeof e?{error:e.split(":",2)[0]}:e;this._onStudyStatusChangedTo({type:s.Error,errorDescription:r})}_onStudyCompleted(e){this._onStudyStatusChangedTo({type:s.Completed})}_mergePlots(e){this._plots.merge(e)}_turnaround(){return`${this._turnaroundPrefix}${this._turnaroundCounter}`}_checkTurnaround(e){const t=this._turnaround();return e===t||e===this._seriesSource.turnaround()||e===`${this._seriesSource.turnaround()}_${t}`}}},26179:(e,t,i)=>{"use strict";i.d(t,{StudyDataWindowView:()=>o});var s=i(14445),r=i(89027),n=i(99682);class o extends s.DataWindowView{constructor(e,t){super(),this._invalidated=!0,this._study=e,this._model=t,this._valueProvider=this._createValuesProvider(e,t),this._items=this._valueProvider.getItems().map(e=>new s.DataWindowItem(e.title,"")),this.update()}update(){this._invalidated=!0}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}study(){return this._study}_updateImpl(){this._header=this._study.title(!0),this._title=this._study.title();const e=this._valueProvider.getValues(this._currentIndex());for(let t=0;t{"use strict";function s(e){const t=new Map;return e.plots.forEach((e,i)=>{t.set(e.id,e=>e[i+1])}),t}function r(e,t){return null==e[t]}i.d(t,{studyPlotFunctionMap:()=>s,studyEmptyPlotValuePredicate:()=>r})},88145:(e,t,i)=>{"use strict";function s(e,t){return`${e}@${t}`}function r(e){return e.replace(/(@[^-]+-[^-]+).*$/,"$1")}i.d(t,{studyIdString:()=>s,extractStudyId:()=>r})},33266:(e,t,i)=>{"use strict";function s(e){return["text","integer","float","price","session","resolution"].includes(e.type)&&e.hasOwnProperty("options")}function r(e,t,i){for(const s of e)if(t[s.id]!==i[s.id])return!1;return!0}function n(e){ -return("time"===e.type||"price"===e.type)&&!0!==e.isHidden}function o(e){return[]}i.d(t,{isStudyInputOptionsInfo:()=>s,areStudyInputsEqual:()=>r,isTimeOrPriceNotHiddenInput:()=>n,editableStudyInputs:()=>o})},90998:(e,t,i)=>{"use strict";i.d(t,{StudyInserter:()=>a});var s,r=i(67072),n=i.n(r);!function(e){e.StudyCannotBeChild="cannot_be_child",e.StubWasRemoved="stub_was_removed",e.CannotGetMetainfo="cannot_get_metainfo",e.Cancelled="cancelled",e.Unknown="unknown"}(s||(s={}));const o=(0,i(98125).getLogger)("Chart.Studies.StudyInserter");class a{constructor(e,t,i){this._parentSource=void 0,this._propsState=void 0,this._preferredPriceScale=void 0,this._allowChangeCurrency=!1,this._allowChangeUnit=!1,this._paneSize=void 0,this._forceOverlay=!1,this._studyMetaInfoRepository=t,this._inserterImpl=i,this._studyDescriptor=e}setParentSource(e){this._parentSource=e||void 0}setPaneSize(e){this._paneSize=e}setPreferredPriceScale(e){this._preferredPriceScale=e}setAllowChangeCurrency(e){this._allowChangeCurrency=e}setAllowChangeUnit(e){this._allowChangeUnit=e}setForceOverlay(e){this._forceOverlay=e}setPropertiesState(e){this._propsState=e}setTargetPriceScaleMode(e){this._targetPriceScaleMode=e}async insert(e,t){const i=void 0!==(r=this._inserterImpl).createStub&&void 0!==r.removeStub?this._inserterImpl.createStub():null;var r;let n,a=!0;try{n=await this._studyMetaInfoRepository.findById(this._studyDescriptor)}catch(e){return o.logWarn("Cannot get study "+JSON.stringify(this._studyDescriptor)),Promise.reject(s.CannotGetMetainfo)}finally{null!==i&&(a=this._inserterImpl.removeStub(i))}if(!a)return Promise.reject(s.StubWasRemoved);if(void 0!==t&&t.cancelled)return Promise.reject(s.Cancelled);if(!this._canApplyStudyToParent(n))return Promise.reject(s.StudyCannotBeChild);const l={...n.defaults.inputs};let c={};if(void 0!==e){const t=await e(l,n.inputs,n);c=t.inputs,void 0===this._parentSource&&t.parentSource&&(this._parentSource=t.parentSource)}if(void 0!==t&&t.cancelled)return Promise.reject(s.Cancelled);const h=this._insertStudy(n,c);return null===h?Promise.reject(s.Unknown):h}_insertStudy(e,t){return this._inserterImpl.createStudy(e,t,null,this._propsState,this._forceOverlay,this._parentSource,this._preferredPriceScale,this._allowChangeCurrency,this._allowChangeUnit,this._paneSize,this._targetPriceScaleMode)}_canApplyStudyToParent(e){return void 0===this._parentSource||n().canBeChild(e)}}},22458:(e,t,i)=>{"use strict";i.d(t,{StudyLegendValuesProvider:()=>n});var s=i(89027),r=i(99682);class n{constructor(e,t){this._study=e,this._model=t,this._showStudyValues=t.properties().childs().paneProperties.childs().legendProperties.childs().showStudyValues,void 0!==e.metaInfo().graphics.hhists?this._valuesProvider=new r.HHistBasedValuesProvider(e,t):this._valuesProvider=new s.StudyValuesProvider(e,t)}getItems(){return this._valuesProvider.getItems()}getValues(e){const t=this._valuesProvider.getValues(e),i=this._study.properties(),s=this._showStudyValues.value()&&i.showLegendValues.value();for(const e of t)e.visible=e.visible&&s;return t}}}, -43181:(e,t,i)=>{"use strict";i.d(t,{StudyMetaInfoRepository:()=>h});var s=i(28353),r=i(88537),n=i(67072),o=i.n(n),a=i(5402),l=i(15625);const c=(0,i(98125).getLogger)("Chart.Studies.StudyMetaInfoRepository",{color:"#606"});class h{constructor(e){this._nextRequestNumber=1,this._rawStudiesMetaInfo=[],this._isReady=!1,this._metaInfoQueryQueue=[],this._javaMetaInfoQueryQueue=[],this._javaStudiesMetaInfo=[],this._pineMetaInfoCache=[],this._studiesMigrations=[],this._gateway=e}requestMetaInfo(){this._requestStarted();const e=this._makeNextRequestId();return c.logNormal("Requesting metainfo #"+e),new Promise(t=>{c.logNormal("Requesting studies metadata #"+e),this._gateway.requestMetadata(e,i=>{c.logNormal(`Requesting studies metadata #${e} finished`);const s=i.params[1].metainfo.slice();this._processLibraryMetaInfo(s),this._requestFinished(),t()})})}findById(e){if(!this._isReady)return this._enqueueMetaInfoQuery(e);const t=this._findStudyMetaInfo(e);return null!==t?Promise.resolve(t):"pine"===e.type?this._compilePine(e):Promise.reject(`unexpected study id=${e.studyId} with type=${e.type}`)}findByIdSync(e){return this._findStudyMetaInfo(e)}isReady(){return this._isReady}findAllJavaStudies(){return this._isReady?Promise.resolve(this._javaStudiesMetaInfo):this._enqueueJavaMetaInfoQuery()}getInternalMetaInfoArray(){return this._javaStudiesMetaInfo}getMigrations(){return this._studiesMigrations}addPineMetaInfo(e){return u(this._pineMetaInfoCache,e)}_processMigrations(e){throw new Error("not implemented")}_processSiteMetaInfo(e,t){throw new Error("not implemented")}_processLibraryMetaInfo(e){for(const t of e)d(t),u(this._javaStudiesMetaInfo,t);this._javaStudiesMetaInfo=this._javaStudiesMetaInfo.sort((e,t)=>{const i=e.description_localized||e.description,s=t.description_localized||t.description;return i>s?1:i{this._metaInfoQueryQueue.push({studyDescriptor:e,resolver:t})})}_enqueueJavaMetaInfoQuery(){return new Promise(e=>{this._javaMetaInfoQueryQueue.push({resolver:e})})}_processPendingMetaInfoQueries(){for(;this._metaInfoQueryQueue.length;){const e=this._metaInfoQueryQueue.shift();this.findById(e.studyDescriptor).then(e.resolver)}}_processPendingFullMetaInfoQueries(){for(;this._javaMetaInfoQueryQueue.length;){this._javaMetaInfoQueryQueue.shift().resolver(this._javaStudiesMetaInfo)}}_findStudyMetaInfo(e){return"java"===e.type?this._javaStudiesMetaInfo.find(t=>t.id===e.studyId)||null:this._pineMetaInfoCache.find(t=>t.scriptIdPart===e.pineId&&(void 0===e.pineVersion||(0,r.ensureDefined)(t.pine).version===e.pineVersion))||null}_makeNextRequestId(){return"metadata_"+this._nextRequestNumber++}_compilePine(e){throw new Error("unsupported")}}function d(e){ -e.description_localized=(0,s.t)(e.description,{context:"study"})}function u(e,t){const i=new(o())(t);(0,a.migrateMetaInfoAndPropState)(i);let s=!0;const r=e.findIndex(e=>e.id===i.id);if(-1===r)e.push(i);else{const t=e[r],n=void 0!==t.pine?l.Version.parse(t.pine.version):null,o=void 0!==i.pine?l.Version.parse(i.pine.version):null;null===o||null===n||o.isGreaterOrEqual(n)?(t.removeDefaults(),e[r]=i):s=!1}return s&&i.createDefaults(),i}},45090:(e,t,i)=>{"use strict";i.d(t,{StudyStatusProviderBase:()=>c});var s=i(50338),r=i(13933),n=i(28353);const o={NONE:"Default"},a=(0,n.t)("No volume data"),l=new Map;class c extends s.StatusProviderBase{constructor(e,t){super(t),this._source=e}getSplitTitle(){return this._source.titleInParts(!0,o,void 0,!1)}text(){return this._source.isActualInterval()?this._source.isFailed()?`${this._source.title(!0,o,void 0,!1)}: ${this.sourceStatusText()}`:`${this._source.title(!0,o,void 0,!1)} ${this.sourceStatusText()}`:this._source.title(!0,o,void 0,!1)}sourceStatusText(){return(0,r.convertStudyStatusToString)(this._source.status(),!0)}sourceStatusSolutionId(){const e=this._source.status();if(e.type===r.StudyStatusType.Error)return e.errorDescription.solution_id?e.errorDescription.solution_id:function(e){for(const t of Array.from(l.keys()))if(e.includes(t))return l.get(t)}(e.errorDescription.error)}errorStatus(){if(!this._source.isActualInterval()||this._source.isSymbolInvalid())return null;return this._source.status().type===r.StudyStatusType.Error?{error:this.sourceStatusText(),solutionId:this.sourceStatusSolutionId(),title:this.sourceStatusTitle()}:null}sourceStatusTitle(){const e=this._source.status();if(e.type===r.StudyStatusType.Error)return-1!==e.errorDescription.error.toLowerCase().indexOf("the data vendor doesn't provide volume data for this symbol.")?a:void 0}}},40529:(e,t,i)=>{"use strict";i.d(t,{StudyStatusProvider:()=>n});var s=i(28353),r=(i(13933),i(45090));(0,s.t)("Fundamental studies are no longer available on charts");class n extends r.StudyStatusProviderBase{constructor(e,t){super(e,t),this._study=e}color(){return this._study.isFailed()||this._study.metaInfo&&this._study.metaInfo().isTVScriptStub?"#ff0000":super.color()}sourceStatusText(){this._study.status();return super.sourceStatusText()}}},190:(e,t,i)=>{"use strict";i.d(t,{StudyStatusView:()=>r});var s=i(45058);class r extends s.StatusView{constructor(e){super(e.statusProvider())}color(){return this._statusProvider.color()}getSplitTitle(){return this._statusProvider.getSplitTitle()}update(){this._text=this._statusProvider.text()}}},13933:(e,t,i)=>{"use strict";i.r(t),i.d(t,{StudyStatusType:()=>n,convertStudyStatusToString:()=>o});var s=i(28353);const r=(0,s.t)("loading...");var n;function o(e,t){if(e.type===n.Loading)return t?r:"loading...";if(e.type===n.Error){const i=e.errorDescription,r=t?(0,s.t)(i.error):i.error;if(i.ctx){const e={};return Object.entries(i.ctx).forEach(([t,i])=>{e[t]=i.toString()}),r.format(e)}return r}return""}!function(e){e[e.Undefined=0]="Undefined",e[e.Loading=1]="Loading", -e[e.Completed=2]="Completed",e[e.Error=3]="Error"}(n||(n={}))},25270:(e,t,i)=>{"use strict";i.d(t,{StudyStub:()=>m});var s=i(190),r=i(22932),n=i(97098),o=i(2872),a=i.n(o),l=i(2015),c=i.n(l),h=i(45090);class d extends h.StudyStatusProviderBase{text(){return this._source.isActualInterval()?`${this._source.title()} ${this.sourceStatusText()}`:this._source.title()}}var u=i(13933);class p{getItems(){return[]}getValues(e){return[]}}const _=new(a());class m extends r.PriceDataSource{constructor(e,t,i){super(e),this._priceStep=.01,this._status={type:u.StudyStatusType.Undefined},this._statusChanged=new(a()),this._formatter=new n.PriceFormatter(100),this._origState=t,this._title=i;this._properties=new(c())({visible:!0}),this._statusView=new s.StudyStatusView(this)}properties(){return this._properties}statusView(){return this._statusView}legendView(){return null}state(e){return this._origState}setStatus(e){this._status=e,this._statusChanged.fire()}formatter(){return this._formatter}name(){return this._title}title(){return this._title}titleInParts(){return[this._title]}isFailed(){return this._status.type===u.StudyStatusType.Error}isLoading(){return this._status.type===u.StudyStatusType.Loading}setFailed(e){this.setStatus({type:u.StudyStatusType.Error,errorDescription:{error:e}}),this._model.updateSource(this)}isSymbolInvalid(){return!1}isActualInterval(){return!0}onIsActualIntervalChange(){return _}start(){}status(){return this._status}onStatusChanged(){return this._statusChanged}firstValue(){return null}currency(){return null}sessionId(){return this._model.mainSeries().sessionId()}sessionIdChanged(){return this._model.mainSeries().sessionIdChanged()}unit(){return null}symbolSource(){return this._model.mainSeries()}valuesProvider(){return new p}statusProvider(e){return new d(this,this._model.properties().childs().scalesProperties.childs().textColor)}}},89027:(e,t,i)=>{"use strict";i.d(t,{StudyValuesProvider:()=>g});var s=i(93751),r=i(49483),n=i(68906),o=i(67337),a=i(71053),l=i(14291),c=i(85733),h=i(50993),d=i(99220),u=i(88129),p=i(57626);const _=r.CheckMobile.any(),m=o.enabled("hide_last_na_study_output");class g{constructor(e,t){this._emptyValues=[],this._colorProviders=new Map,this._study=e,this._model=t;const i=this._study.metaInfo().plots;i&&i.forEach((e,t)=>{if((0,h.isPlotWithTechnicalValues)(e))return;const i=e.id;this._emptyValues.push(function(e,t="",i=""){return{id:t,index:e,title:i,value:"",visible:!1}}(t,i,this._study.guiPlotName(i)));const s=(0,h.isOhlcPlot)(e)?e.target:i;this._colorProviders.set(s,(0,d.createStudyPlotColorProvider)(this._study.metaInfo(),this._study.properties(),s))})}getItems(){return this._emptyValues}getValues(e){const t=this._emptyValues.map(e=>({...e}));let i=null;const r=this._study.data().lastIndex();if(null!==r)for(const e of t){if(!this._study.properties().styles[e.id].visible.value())continue;const t=this._study.nearestIndex(r,a.PlotRowSearchMode.NearestLeft,e.index+1);if(void 0===t)continue;const s=t+this._study.offset(e.id);i=null!==i?Math.max(s,i):s}(null===e||null!==i&&e>i)&&(e=i) -;const o=this._hideValues(),l=this._study.isVisible()&&!o?p.notAvailable:"";for(const e of t)e.value=l;if(o)return t;m&&t.length&&(t[t.length-1].value="");const c=this._study.priceScale();if(!this._study.isVisible()||null===e||null===c||c.isEmpty()||this._model.timeScale().isEmpty())return t;const d=this._study.metaInfo().plots,_=(0,u.getPriceValueFormatterForSource)(this._study),g={};for(const i of t){let t=i.id;const o=this._study.properties().styles[t].visible.value();if(i.visible=o,!o)continue;const l=i.index,c=e-this._study.offset(t),u=null!==r&&c>r?a.PlotRowSearchMode.NearestLeft:a.PlotRowSearchMode.Exact,p=this._study.nearestIndex(c,u);if(void 0===p)continue;let m=g[t];if(void 0===m&&(m=this._study.getMinFirstBarIndexForPlot(t),Number.isFinite(m)&&(g[t]=m)),m>p)continue;const f=this._study.data().last(),v=this._study.data().valueAt(p)||(null!==f?f.value:null);if(null===v)continue;const S=v[l+1];if(!(0,s.isNumber)(S))continue;const y=S>0;i.value=_(S);const b=this._study.properties().styles[t];let w=b.color.value();const C=d[l];(0,h.isOhlcPlot)(C)?(t=C.target||t,w=this._study.properties().ohlcPlots[t].color.value()):(0,h.isArrowsPlot)(C)&&(w=y?b.colorup.value():b.colordown.value());let P=w;const T=this._colorProviders.get(t),x=T&&T.getPlotPointStyle(v);x&&((0,h.isArrowsPlot)(C)?(y&&void 0!==x.colors[5]&&(P=x.colors[5]),y||void 0===x.colors[6]||(P=x.colors[6])):void 0!==x.colors[0]&&(P=x.colors[0])),"transparent"===P&&(P=w),P=(0,n.resetTransparency)(P),i.color=P}return t}_hideValues(){return _&&(null===this._model.crossHairSource().pane||(0,l.isLineToolName)(c.tool.value())||null!==this._model.lineBeingEdited())}}},69774:(e,t,i)=>{"use strict";i.d(t,{StudyBase:()=>gt});var s=i(16230),r=i(88537),n=i(28353),o=i(98125),a=i(49483),l=i(2872),c=i.n(l),h=i(51344),d=i(22932),u=i(69927),p=i(71053),_=i(67072),m=i.n(_),g=i(54376),f=i(95936),v=i(26179),S=i(22458);class y extends v.StudyDataWindowView{constructor(e,t){super(e,t),this._showStudyValues=t.properties().childs().paneProperties.childs().legendProperties.childs().showStudyValues,this._showStudyValues.subscribe(this,this.update),this._study.properties().showLegendValues.subscribe(this,this.update)}areValuesVisible(){return this._showStudyValues.value()}additional(){return null}destroy(){this._showStudyValues.unsubscribeAll(this),this._study.properties().showLegendValues.unsubscribeAll(this)}_createValuesProvider(e,t){return new S.StudyLegendValuesProvider(e,t)}}var b=i(85733),w=i(190),C=i(19234),P=i(72857),T=i(95836),x=i(40529),I=i(80643),M=i(95505),L=i(50993),A=(i(33266),i(67337)),E=i(86441),k=i(68906),D=i(94804);class V{constructor(e){this._data=e}draw(e,t){}drawBackground(e,t){e.save();const i=this._data,s=t.pixelRatio;let r=null;const n=Math.round(this._data.w*s);for(let t=0;t0){i.items[t-1].index===o.index-1&&null!==r&&(l=r+1)}const c=a+n,h=c-l+1;e.fillRect(l,Math.round(i.y*s),h,Math.round(i.h*s)),r=c}e.restore()}hitTest(e){ -return null}}var B=i(99220);class N{constructor(e,t,i,s){this._items=[],this._invalidated=!0,this._isMarkersEnabled=A.enabled("source_selection_markers"),this._study=e,this._series=t,this._model=i,this._plotName=s;const n=this._study.metaInfo().plots;for(let e=0;e0?(i-=n,s+=n):(i+=n,s-=n);const o=this._study.getMinFirstBarIndexForPlot(this._plotName);if(o>s)return;i=Math.max(o,i);const a=this._study.data().rangeIterator(i,s);for(;a.hasNext();){const e=a.next();let i=e.index;const s=e.value;i+=n;const o=new E.Point(Math.floor(i)-.5,NaN);let l=(0,I.isNumber)(t)?t:50;l=Math.min(l,100),l=Math.max(l,0);const c=this._colorProvider.getPlotPointStyle(s);void 0!==c.colors[1]&&(o.color=(0,k.generateColor)((0,r.ensureDefined)(c.colors[1]),l)),o.index=i,this._items.push(o)}this._model.timeScale().timedValuesToCoordinates(this._items)}}var R,O,F=i(11372),W=i(41892),H=i(56138),z=i(64514),U=i(84346),j=i(85847),G=i(63948),q=i(31175),Y=i(34026),K=i(40236),$=i(52640),X=i(93435);!function(e){e.Left="left",e.Right="right",e.Center="center"}(R||(R={})),function(e){e.Top="top",e.Bottom="bottom",e.Middle="middle"}(O||(O={}));const Z=(0,X.createDisconnectedCanvas)(document,new X.Size(0,0),1);class J{constructor(e,t,i,s,n,o="center",a=0){this._lines=e.split(/[^\S\r\n]*(?:\r\n|\r|\n)/),this._font=function(e,t,i,s){return(0,$.makeFont)(s,i,`${e?"bold ":""}${t?"italic ":""}`)}(t,i,s,n),this._fontSize=n,this._verticalPadding=~~(n/6),this._textAlign=o,this._lineSpacing=a;const l=(0,r.ensureNotNull)(Z.getContext("2d"));l.font=this._font,l.textBaseline="top";let c=0;for(let e=0;e{for(const t of this._lines)e.fillText(t,l,c),c+=this._fontSize,c+=this._lineSpacing}),e.restore()}}class Q extends K.AbstractMapContainer{constructor(e){super(),this._maxSize=e,this._keysQueue=[]}get(e){const{fontSize:t,text:i,align:s,lineSpacing:r=0}=e;if(!i||!t||!s)return null;const n=(0,K.getDefault3)(this._map,r,s,t,new Map);let o=n.get(i);return void 0!==o||(this._size>=this._maxSize?this._deleteFirstKey():++this._size,this._keysQueue.push([t,s,r,i]),o=new J(i,e.bold,e.italic,e.font,t,s,r),n.set(i,o)),o}_deleteFirstKey(){const e=this._keysQueue.shift(),[t,i,s,n]=e,o=(0,r.ensureDefined)(this._map.get(s)),a=(0,r.ensureDefined)(o.get(i)),l=(0,r.ensureDefined)(a.get(t));l.delete(n),0===l.size&&a.delete(t),0===a.size&&o.delete(i),0===o.size&&this._map.delete(s)}}var ee=i(22799);class te{constructor(e,t={skipRenderingOptimizations:!1}){this._items=[],this._barSpacing=0,this._vertOffset=0,this._textCache=t.textCache||new Q(5e3),this._drawOperation=t.skipRenderingOptimizations?this._drawWithoutOptimizations.bind(this):this._drawWithOptimizations.bind(this),null!==e&&this.setData(e)}draw(e,t){this._preDrawInit(),this._drawOperation(e,t)}hitTest(e){const t=U.HitTestResult.REGULAR;let i=null;for(const s of this._items){if(!s)continue;const r=this._calcBoundingBox(s);if(r&&(0,Y.pointInBox)(e,r)){const e={tooltip:this._getTooltip(s,r)};i=new U.HitTestResult(t,e)}}return i}setData(e){this._height=void 0!==e.height?e.height:e.width,this._width=void 0!==e.width?e.width:e.height,this._color=e.color,this._borderColor=e.borderColor,this._vertOffset=e.vertOffset||0,e.text&&(this._text=e.text,this._fontSize=e.fontSize,this._lineSpacing=e.lineSpacing,this._textColor=e.textColor,this._textAlign=e.textAlign||"center"),void 0!==e.items&&void 0!==e.barSpacing&&this.setItems(e.items,e.barSpacing)}setItems(e,t){this._setBaseData(e,t)}_calcBoundingBox(e){const t=e.vertOffset,i=this._getTextCache(e);if(!i)return;const s=i.textImageWidth,r=i.textImageHeight,n=s/2,o=e.y+t+e.textVertOffset,a=t>0?0:-r,l=t>0?r:0,c=new E.Point(e.x-n,o+a),h=new E.Point(e.x+n,o+l);return(0,E.box)(c,h)}_unionBox(e,t){ -const i=Math.min(e.min.x,t.min.x),s=Math.max(e.max.x,t.max.x),r=Math.min(e.min.y,t.min.y),n=Math.max(e.max.y,t.max.y),o=new E.Point(i,r),a=new E.Point(s,n);return(0,E.box)(o,a)}_getTooltip(e,t){if(e.tooltip)return{content:{type:"text",data:e.tooltip},tooltipDelay:200,extendMargin:!0,rect:{x:t.min.x,y:t.min.y,w:Math.abs(t.max.x-t.min.x),h:Math.abs(t.max.y-t.min.y)}}}_setBaseData(e,t){this._items.length=0,this._barSpacing=t;for(const t of e){const e=void 0===t.width?(0,r.ensureDefined)(this._width):t.width,i=void 0===t.height?(0,r.ensureDefined)(this._height):t.height,s=void 0===t.vertOffset?this._vertOffset:t.vertOffset,n=s>0?i:-i;this._items.push({width:e,height:i,vertOffset:s,textVertOffset:n,shapeWidth:0,shapeHeight:0,stepX:0,stepY:0,...t})}}_drawItemText(e,t,i){const s=this._getTextCache(i);if(null===s)return;const r=i.x,n=i.vertOffset,o=i.y+n+i.textVertOffset;let a;a=i.style&&void 0!==i.style.textColor?i.style.textColor:this._textColor,s.paintTo(e,t,a,r,o,R.Center,n>0?O.Top:O.Bottom)}_drawWithOptimizations(e,t){let i,s,r=null,n=!1;for(const o of this._items)o.style&&void 0!==o.style.color?(i=o.style.color||"rgba(0, 0, 0, 0)",s=o.style.borderColor||"rgba(0, 0, 0, 0)"):(i=this._color,s=this._borderColor),(r!==i||a.isSafari)&&(r=i,n&&this._endPath(e),this._startPath(e,t,i,s)),this._drawItemShape(e,t,o),n=!0;n&&this._endPath(e);for(const i of this._items)this._drawItemText(e,t,i)}_drawWithoutOptimizations(e,t){let i,s;for(const n of this._items){const o=(0,r.ensureDefined)(n.style);i=o.color||"rgba(0, 0, 0, 0)",s=o.borderColor||"rgba(0, 0, 0, 0)",this._startPath(e,t,i,s),this._drawItemShape(e,t,n),this._endPath(e),this._drawItemText(e,t,n)}}_drawItemShape(e,t,i){(0,X.drawScaled)(e,t.pixelRatio,()=>this._drawItemShapeUsingCSSPixels(e,i))}_drawItemShapeUsingCSSPixels(e,t){}_preDrawInit(){}_startPath(e,t,i,s){}_endPath(e){}_getTextCache(e){var t;const i=e.text||this._text,s=e.fontSize||this._fontSize,r=null!==(t=e.lineSpacing)&&void 0!==t?t:this._lineSpacing,n=e.textAlign||this._textAlign;return this._textCache.get({text:i,bold:!1,italic:!1,font:ee.CHART_FONT_FAMILY,fontSize:s,lineSpacing:r,align:n})}}class ie extends te{_startPath(e,t,i,s){e.beginPath(),e.lineWidth=this._lineWidth(t),e.lineCap="butt",e.strokeStyle=i}_endPath(e){e.stroke()}_lineWidth(e){return Math.max(1,Math.floor(2*e.pixelRatio))}}class se extends te{_startPath(e,t,i,s){e.beginPath(),e.lineWidth=this._lineWidth(t),e.lineCap="butt",e.fillStyle=i,e.strokeStyle=s}_endPath(e){e.fill(),e.stroke()}_lineWidth(e){return Math.max(1,Math.floor(e.pixelRatio))}}class re extends se{constructor(){super(...arguments),this._sign=0,this._thinArrow=!1,this._thinArrowLineWidth=0,this._headHeight=0,this._arrowWidth=0}setItems(e,t){this._setBaseData(e,t)}_drawItemShape(e,t,i){const s=t.pixelRatio,r=this._lineWidth(t)%2?.5:0,n=this._sign,o=this._arrowWidth,a=this._headHeight,l=Math.abs(i.height),c=Math.round(i.x*s)+r,h=i.vertOffset,d=Math.round((i.y+h+n*l/2)*s)+r,u=(0,z.ceiledEven)(o*s),p=u/2,_=Math.round(l*s),m=Math.round(a*s);e.translate(c,d), -this._thinArrow?(e.moveTo(0,0),e.lineTo(-p,-p*n),e.moveTo(0,0),e.lineTo(p,-p*n),e.moveTo(0,0),e.lineTo(0,-_*n),e.moveTo(-p,-_*n),e.lineTo(p,-_*n)):(e.moveTo(0,0),_=0?e.vertOffset:e.vertOffset-e.shapeHeight}}),he.set("PaneRendererLabelDown",class extends oe{_calcBoundingBox(e){const t=e.x-e.shapeWidth/2,i=e.x+e.shapeWidth/2,s=e.y-e.shapeHeight+e.vertOffset,r=e.y+e.vertOffset,n=new E.Point(t,s),o=new E.Point(i,r);return(0,E.box)(n,o)}_drawItemShape(e,t,i){const s=t.pixelRatio,r=this._lineWidth(t)%2?.5:0,n=Math.max(1,Math.floor(s))%2?.5:0,o=this._getArrowSize(i);let a=Math.round(o*s);(n+a)%1!=r%1&&(a+=.5);let l=Math.round(i.shapeWidth/2*s);(n+l)%1!=r%1&&(l+=.5);const c=Math.round(i.x*s)+n,h=Math.round((i.y+i.vertOffset)*s)+r,d=c+a,u=Math.round((i.y+i.vertOffset-o)*s)+r,p=c-a,_=c+l,m=Math.round((i.y+i.vertOffset-i.shapeHeight)*s)+r,g=c-l;e.moveTo(d,u),e.lineTo(c,h),e.lineTo(p,u),i.shapeWidth<=2*o?(e.lineTo(g,u),this._drawCorner(e,g,m,le.leftUp,s),this._drawCorner(e,_,m,le.rightUp,s),e.lineTo(_,u)):(this._drawCorner(e,g,u,le.leftDown,s),this._drawCorner(e,g,m,le.leftUp,s),this._drawCorner(e,_,m,le.rightUp,s),this._drawCorner(e,_,u,le.rightDown,s)),e.lineTo(d,u)}_getVerticalTextOffset(e){return-e.shapeHeight/2-this._getArrowSize(e)/2}_calcVertOffset(e){return Math.sign(e.vertOffset)<=0?e.vertOffset:e.vertOffset+e.shapeHeight}}),he.set("PaneRendererSquare",class extends se{_drawItemShape(e,t,i){const s=t.pixelRatio,r=Math.max(1,Math.floor(s))%2?.5:0,n=this._lineWidth(t)%2?.5:0;let o=Math.round(i.height/2*s);(r+o)%1!=n%1&&(o+=.5);const a=Math.round(i.x*s)+r,l=Math.round((i.y+i.vertOffset)*s)+r,c=a-o,h=l-o,d=a+o,u=l+o;e.rect(c,h,d-c,u-h)}_calcBoundingBox(e){const t=e.height,i=Math.round(t/2),s=e.x-i,r=e.vertOffset,n=e.y+r-i,o=s,a=s+t,l=n,c=n+t,h=new E.Point(o,l),d=new E.Point(a,c);let u=(0,E.box)(h,d);const p=super._calcBoundingBox(e);return p&&(u=this._unionBox(u,p)),u}}),he.set("PaneRendererTriangleApexUp",class extends ce{_drawItemShape(e,t,i){const s=i.width,r=i.height,n=Math.round(r/3),o=i.vertOffset-2*n,a=t.pixelRatio,l=this._lineWidth(t)%2?.5:0,c=Math.max(1,Math.floor(a)),h=c%2?.5:0;let d=Math.round(s*a);d%2!=c%2&&(d+=1);const u=Math.round(i.x*a)+h,p=Math.round((i.y+o)*a),_=u+d/2,m=Math.round((i.y+o+r)*a)+l,g=u-d/2;e.moveTo(u,p),e.lineTo(_,m),e.lineTo(g,m),e.lineTo(u,p)}}),he.set("PaneRendererTriangleApexDown",class extends ce{_drawItemShape(e,t,i){const s=i.width,r=i.height,n=Math.round(r/3),o=i.vertOffset-n,a=t.pixelRatio,l=this._lineWidth(t)%2?.5:0,c=Math.max(1,Math.floor(a)),h=c%2?.5:0;let d=Math.round(s*a);d%2!=c%2&&(d+=1);const u=Math.round(i.x*a)+h,p=Math.round((i.y+o)*a)+l,_=u+d/2,m=Math.round((i.y+o+r)*a),g=u-d/2;e.moveTo(g,p),e.lineTo(_,p),e.lineTo(u,m),e.lineTo(g,p)}}),he.set("PaneRendererXCross",class extends ie{_drawItemShapeUsingCSSPixels(e,t){const i=t.width,s=t.height,r=t.x-i/2,n=t.vertOffset,o=t.y-s/2+n;e.moveTo(r,o),e.lineTo(r+i,o+s),e.moveTo(r,o+s),e.lineTo(r+i,o)}_calcBoundingBox(e){const t=e.width,i=e.height,s=e.x-t/2,r=e.vertOffset,n=e.y-i/2+r,o=s,a=s+t,l=n,c=n+i,h=new E.Point(o,l),d=new E.Point(a,c);let u=(0,E.box)(h,d);const p=super._calcBoundingBox(e) -;return p&&(u=this._unionBox(u,p)),u}});class de{constructor(e,t,i,s){this._items=[],this._invalidated=!1,this._renderer=null,this._isMarkersEnabled=A.enabled("source_selection_markers"),this._selectionData=null,this._plotIndex=null,this._topCoord=0,this._bottomCoord=0,this._study=e,this._series=t,this._model=i,this._plotName=s;const r=e.metaInfo().plots;for(let e=0;e0?(s-=o,n+=o):(s+=o,n-=o);const a=this._study.getMinFirstBarIndexForPlot(this._plotName);if(a>n)return;s=Math.max(a,s);const l=this._study.data(),c=this._study.firstValue();if(null===c)return;const h=l.rangeIterator(s,n),d=this._getTranspValue();let u=[];const _=this._model.selection().isSelected(this._study);_?(u=this._selectionIndexer.indexes(),this._selectionData={points:[],hittestResult:U.HitTestResult.REGULAR,vertOffset:0,bgColors:[],barSpacing:e.barSpacing(),visible:!0}):(this._selectionIndexer.clear(),this._selectionData=null);const m=this._series.properties().childs().style.value(),g=2===m?"lineStyle":3===m?"areaStyle":null;let f,v;g?(f=this._series.properties().childs()[g].childs().priceSource.value(),v=f):(f="high",v="low");const S=t.isInverted(),y=t.coordinateToPrice(t.height()*t.topMargin(),c),b=t.coordinateToPrice(t.height()*(1-t.bottomMargin()),c);this._topCoord=S?b:y,this._bottomCoord=S?y:b;const w=(0,r.ensureNotNull)(this._model.paneForSource(this._study)).height(),C=this._study.properties().styles[this._plotName],P=C.color.value(),T=C.textColor?C.textColor.value():void 0,x=P,I=P,M=void 0===T?void 0:T,L=(0,r.ensureNotNull)(this._plotIndex),A=(0,q.createEmptyStyle)();for(;h.hasNext();){const e=h.next(),t=e.index,i=e.value,s=Math.floor(t+o),r=i[L+1];if(null==r)continue;const n=this._createItem(s,r,f,v);if(null!==n){if(this._colorProvider.isColorDefined()){n.style={color:x,borderColor:I,textColor:M};const e=this._colorProvider.getPlotPointStyle(i,A);this._fillItemWithPointStyle(n,e,d)} -_&&-1!==u.indexOf(t)&&null!==this._selectionData&&(this._selectionData.points.push(n),this._selectionData.bgColors.push(this._model.backgroundColorAtYPercentFromTop(n.y/w))),this._items.push(n)}}this._convertItemsToCoordinates()}_fillItemWithPointStyle(e,t,i){const s=(0,r.ensureDefined)(e.style);if(void 0!==t.colors[0]){s.color=(0,k.generateColor)((0,r.ensureDefined)(t.colors[0]),i);const e=i>9?i-10:0;s.borderColor=(0,k.generateColor)(s.color,e)}void 0!==t.colors[2]&&(s.textColor=(0,k.generateColor)((0,r.ensureDefined)(t.colors[2]),i))}_updateRenderer(e){this._updateImpl();const t=this._model.timeScale(),i={},s=this._getTranspValue(),r=t.barSpacing(),n=this._calculateShapeHeight(r),o=this._study.properties().styles[this._plotName].location.value(),a=this._calculateVerticalOffset(o,n+n/2);i.barSpacing=r,i.items=this._items,i.color=(0,k.generateColor)(this._study.properties().styles[this._plotName].color.value(),s),i.height=n,i.vertOffset=a;const l=this._study.properties().styles[this._plotName].plottype.value(),c=H.plotShapesData[l],h=new D.CompositeRenderer;c&&h.append(this._createRenderer(c.paneRendererClass,i)),this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&null!==this._selectionData&&(this._selectionData.vertOffset=a,h.append(new W.SelectionRenderer(this._selectionData))),this._renderer=h}_createRenderer(e,t){const i=he.get(e);return new((0,r.ensureDefined)(i))(t)}_getSeriesVal(e,t){const i=(0,G.barFunction)(e),s=this._series.data().valueAt(t);return null===s?null:i(s)}_getTranspValue(){let e=0;this._study.properties().transparency&&(e=this._study.properties().transparency.value(),e=(0,I.isNumber)(e)?e:50);const t=this._study.properties().styles[this._plotName];return t.transparency&&(e=t.transparency.value(),e=(0,I.isNumber)(e)?e:50),(0,z.clamp)(e,0,100)}_createItem(e,t,i,s){const n=this._study.properties().styles[this._plotName].location.value();if((null===t||0===t)&&n!==f.MarkLocation.Absolute)return null;let o;switch(n){case f.MarkLocation.AboveBar:const a=this._getSeriesVal(i,e);if(null===a)return null;o=a;break;case f.MarkLocation.BelowBar:const l=this._getSeriesVal(s,e);if(null===l)return null;o=l;break;case f.MarkLocation.Top:o=this._topCoord;break;case f.MarkLocation.Bottom:o=this._bottomCoord;break;case f.MarkLocation.Absolute:o=(0,r.ensureNotNull)(t);break;default:throw new Error("Bad value: "+n)}return new E.Point(e,o)}_convertItemsToCoordinates(){const e=this._model.timeScale(),t=this._study.priceScale();e.timedValuesToCoordinates(this._items);const i=(0,r.ensureNotNull)(this._study.firstValue());(0,r.ensureNotNull)(t).pointsArrayToCoordinates(this._items,i)}_calculateVerticalOffset(e,t){let i=0;switch(e){case f.MarkLocation.AboveBar:case f.MarkLocation.Bottom:i=-t;break;case f.MarkLocation.BelowBar:case f.MarkLocation.Top:i=t}return(0,r.ensureNotNull)(this._study.priceScale()).isInverted()&&(i*=-1),i}_calculateShapeHeight(e,t){let i=e;switch(t){case L.PlotSymbolSize.Tiny:i=.3*e;break;case L.PlotSymbolSize.Small:i=.6*e;break;case L.PlotSymbolSize.Normal:i=e;break -;case L.PlotSymbolSize.Large:i=1.5*e;break;case L.PlotSymbolSize.Huge:i=2*e}return i}}class ue extends de{renderer(){const e=this._study.properties().styles[this._plotName];return e.visible&&e.visible.value()&&this._scalesReady()?(this._invalidated&&(this._updateRenderer(e),this._invalidated=!1),this._renderer):null}_updateRenderer(e){this._updateImpl();const t=this._model.timeScale(),i={},s=this._getTranspValue(),r=t.barSpacing();let n;if(e.size){const t=e.size.value();n=this._calculateShapeHeight(25,t)}else n=Math.round(r/2);n=Math.max(n,1);const o=e.location.value(),a=(0,k.generateColor)(e.color.value(),s),l=s>19?s-10:0,c=this._calculateVerticalOffset(o,Math.round(1.5*n));i.barSpacing=r,i.items=this.items(),i.color=a,i.borderColor=(0,k.generateColor)(e.color.value(),l),i.height=n,i.vertOffset=c;const h=e.plottype.value(),d=H.plotShapesData[h],u=new D.CompositeRenderer,p=e.text?e.text.value():void 0;if(void 0!==p&&""!==p.trim()){let t=p.trim().replace(/\\n/gm,"\n");t=(0,F.cleanButAmpersand)(t,!0),i.text=t,i.fontSize=12;const r=e.textColor?e.textColor.value():void 0;i.textColor=r?(0,k.generateColor)(r,s):a}u.append(super._createRenderer(d.paneRendererClass,i)),this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&null!==this._selectionData&&(this._selectionData.vertOffset=c,u.append(new W.SelectionRenderer(this._selectionData))),this._renderer=u}}var pe=i(87795),_e=i.n(pe),me=i(49094);class ge extends te{constructor(e,t){super(null,t),this._fontSizeEnsured=0,this._ch="",this._fontFamily=ee.CHART_FONT_FAMILY,this._charCache=null,null!==e&&this.setData(e)}setData(e){super.setData(e),this._fontSizeEnsured=(0,r.ensureDefined)(this._height);const t=e.char.slice(0,40);this._ch=_e()(t)[0]||" ",this._fontFamily=e.fontFamily||ee.CHART_FONT_FAMILY}hitTest(e){const t=(0,me.interactionTolerance)().series+this._fontSizeEnsured/2;for(const i of this._items){if(new E.Point(i.x,i.y+i.vertOffset).subtract(e).length()<=t)return new U.HitTestResult(U.HitTestResult.REGULAR)}return null}_drawItemShape(e,t,i){const s=i.x,r=i.vertOffset>0?1:-1,n=i.y+i.vertOffset-r*Math.round(this._fontSizeEnsured/2);let o;o=i.style&&void 0!==i.style.color?i.style.color:this._color;const a=this._textImageCache(),l=t.pixelRatio;if(this._fontSizeEnsured<=4/l){e.save();const t=Math.max(1,Math.floor(l));let r=Math.max(1,Math.floor(a.textImageWidth*l));r%2!=t%2&&(r+=r>1?-1:1);const c=Math.round(n*l)+(i.vertOffset>=0?0:-r);return e.fillStyle=o,e.fillRect(Math.round(s*l)+(l%2?.5:0)-r/2,c,r,r),void e.restore()}a.paintTo(e,t,o,s,n,R.Center,i.vertOffset>0?O.Top:O.Bottom)}_startPath(e,t,i,s){}_endPath(e){}_textImageCache(){return null!==this._charCache&&this._charCache.fontFamily===this._fontFamily&&this._charCache.fontSize===this._fontSizeEnsured||(this._charCache={fontSize:this._fontSizeEnsured,fontFamily:this._fontFamily,cache:new J(this._ch,!1,!1,this._fontFamily,this._fontSizeEnsured,"center",0)}),this._charCache.cache}}class fe extends de{constructor(){super(...arguments),this._compositeRenderer=new D.CompositeRenderer, -this._charRenderer=new ge(null)}renderer(){const e=this._study.properties().styles[this._plotName];return e.visible&&e.visible.value()&&this._scalesReady()?(this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._compositeRenderer):null}_updateImpl(){if(this._compositeRenderer.clear(),super._updateImpl(),0===this._items.length)return;const e=this._getTranspValue(),t=this._model.timeScale().barSpacing();let i;const s=this._study.properties().styles[this._plotName];if(s.size){const e=s.size.value();i=this._calculateShapeHeight(50,e)}else i=Math.round(t);const r=s.location.value(),n=(0,k.generateColor)(s.color.value(),e),o=this._calculateVerticalOffset(r,i),a={items:this.items(),barSpacing:t,char:s.char.value(),height:i,vertOffset:o,color:n},l=s.text?s.text.value():void 0;if(void 0!==l&&""!==l.trim()){let t=l.trim().replace(/\\n/gm,"\n");t=(0,F.cleanButAmpersand)(t,!0),a.text=t,a.fontSize=12;const i=s.textColor?s.textColor.value():void 0;a.textColor=i?(0,k.generateColor)(i,e):n}this._charRenderer.setData(a),this._compositeRenderer.append(this._charRenderer),this._model.selection().isSelected(this._study)&&this._isMarkersEnabled&&null!==this._selectionData&&(this._selectionData.vertOffset=o,this._compositeRenderer.append(new W.SelectionRenderer(this._selectionData)))}}var ve=i(24377);class Se extends E.Point{constructor(e,t,i,s){super(e,t),this.height=i,this.isUp=s,this.style={}}}function ye(e){return Math.round(e/4)}function be(e){return Math.round(e/2)}class we{constructor(e){this._data=e}draw(e,t){var i;const s=t.pixelRatio,r=this._data,n=be(r.barSpacing),o=ye(r.barSpacing),a=n<4,l=Math.max(n/2,1),c=(0,z.ceiledEven)(n*s),h=c/2,d=Math.round(n*s);e.lineCap="butt",e.lineWidth=Math.max(1,Math.floor(s));const u=e.lineWidth%2?.5:0;for(const t of r.items){const n=t.isUp?-1:1,p=Math.round(Math.abs(t.height)*s),_=Math.round(t.x*s)+u,m=Math.round((t.y-n*o)*s)+u;e.beginPath(),e.translate(_,m);const g=null!==(i=t.style&&t.style.color)&&void 0!==i?i:t.isUp?r.colorup:r.colordown;a?(e.moveTo(0,0),e.lineTo(-h,-h*n),e.moveTo(0,0),e.lineTo(h,-h*n),e.moveTo(0,0),e.lineTo(0,-p*n),e.moveTo(-h,-p*n),e.lineTo(h,-p*n),e.lineWidth=l,e.strokeStyle=g,e.stroke()):(e.moveTo(0,0),pthis._maxAbsValue&&(this._maxAbsValue=Math.abs(t));const r=t>0;let n;if(r){const t=this._getSeriesVal(s,e);if(null===t)return null;n=t}else{const t=this._getSeriesVal(i,e);if(null===t)return null;n=t}return new Se(e,n,t,r)}_convertItemsToCoordinates(){const e=this._model.timeScale(),t=(0,r.ensureNotNull)(this._study.priceScale());e.timedValuesToCoordinates(this._items),t.pointsArrayToCoordinates(this._items,(0,r.ensureNotNull)(this._study.firstValue()));let i=Math.abs(this._study.properties().styles[this._plotName].minHeight.value()),s=Math.abs(this._study.properties().styles[this._plotName].maxHeight.value());if(i>s){const e=i;i=s,s=e}const n=(s-i)/this._maxAbsValue,o=this._items;for(let e=0;es)return;i=Math.max(n,i);const o=this._study.data(),a=this._study.firstValue();if(null===a)return;const l=o.rangeIterator(i,s),c=this._study.properties().ohlcPlots[this._plotName],h=new Map,d=(e,t)=>{const i=e+"@"+t;if(!h.has(i)){const s=(0,k.generateColor)(e,t);return h.set(i,s),s}return h.get(i)},u=(0,q.createEmptyStyle)();for(;l.hasNext();){const e=l.next();let t=e.index;const i=e.value;t=Math.floor(t);let s=!0;const n=new Map;for(let e=1;e<=4;++e){const t=this._ohlcPlotIndexes.get(e);if(void 0===t){s=!1;break}const r=i[t+1];if(null==r){s=!1;break}n.set(e,r)}if(!s)continue;const o=(0,r.ensureDefined)(n.get(1)),a=(0,r.ensureDefined)(n.get(4)),h=(0,r.ensureDefined)(n.get(2)),p=(0,r.ensureDefined)(n.get(3)),_=Math.max(o,h,p,a),m=Math.min(o,h,p,a);let g=(0,r.ensureDefined)(d(c.color.value(),0));const f=this._colorProvider.getPlotPointStyle(i,u);void 0!==f.colors[0]&&(g=(0,r.ensureDefined)(f.colors[0]));const v={time:Math.round(t),exactTime:t,open:o,high:_,low:m,close:a,color:g,wickColor:f.colors[4],borderColor:f.colors[3],hollow:null};this._bars.push(v)}if(e.barPricesToCoordinates(this._bars,a),this._model.timeScale().barIndexesToCoordinates(this._bars),this._model.selection().isSelected(this._study)){const t=this._selectionIndexer.indexes();this._selectionData={points:[],hittestResult:U.HitTestResult.REGULAR,bgColors:[],visible:!0,barSpacing:this._model.timeScale().barSpacing()};const i=(0,r.ensureNotNull)(this._model.paneForSource(this._study)).height(),s=(0,r.ensureDefined)(this._ohlcPlotIndexes.get(4));for(let r=0;rthis._actualLength?this._items[this._actualLength]:null;return null!==e&&Boolean(e.invalidateCache)&&e.invalidateCache(),e}invalidateCache(){this._invalidations+=1,3e3===this._invalidations&&(this._items.splice(this._actualLength),this._invalidations=0),this._actualLength=0}at(e){return this._items[e]}data(){return this._items}length(){return this._actualLength}}class Re{constructor(){this._map=new Map,this._usedKeys=new Set,this._invalidations=0}invalidateCache(){this._invalidations+=1,50===this._invalidations&&(this._deleteUnused(),this._invalidations=0),this._usedKeys.clear(),this._map.forEach((e,t)=>e.invalidateCache())}get(e){const t=this._map.get(e);return void 0!==t&&this._usedKeys.add(e),t}set(e,t){this._usedKeys.add(e),this._map.set(e,t)}forEach(e){this._map.forEach((t,i)=>{this._usedKeys.has(i)&&e(t,i)})}delete(e){const t=this._map.get(e);void 0!==t&&t.invalidateCache(),this._usedKeys.delete(e)}_deleteUnused(){const e=[];this._map.forEach((t,i)=>{this._usedKeys.has(i)||e.push(i)});for(const t of e)this._map.delete(t)}}class Oe extends Ne{constructor(){super(), -this.points1=new Ne,this.points2=new Ne,this.push(this.points1),this.push(this.points2)}addPoints1Point(e,t){let i=this.points1.newItem();null!==i?(i.x=e,i.y=t):i={x:e,y:t},this.points1.push(i)}addPoints2Point(e,t){let i=this.points2.newItem();null!==i?(i.x=e,i.y=t):i={x:e,y:t},this.points2.push(i)}invalidateCache(){this.points1.invalidateCache(),this.points2.invalidateCache()}}class Fe extends Be.ScaledPaneRenderer{constructor(){super(...arguments),this._data=null}setData(e){this._data=e}hitTest(e,t){return null}_drawImpl(e,t){if(null===this._data)return;const i=.25*this._data.barSpacing,s=this._data.transparency;this._data.colorAreas.forEach((t,r)=>{e.beginPath();for(let s=0;s=0;t--)e.lineTo(r.points2.at(t).x,r.points2.at(t).y)}else{const t=r.points2.at(0).x,s=r.points2.at(0).y;e.lineTo(n+i,o),e.lineTo(t+i,s),e.lineTo(t-i,s),e.lineTo(n-i,o)}}e.closePath(),e.fillStyle=(0,k.generateColor)(r,s),e.fill()})}}var We=i(81688);class He extends Ne{constructor(){super(...arguments),this._startIndex=0}setStartIndex(e){this._startIndex=e}at(e){const t=e-this._startIndex;for(;t>=this._actualLength;){if(this._items.length<=t)this._items.push({plot1Value:void 0,plot2Value:void 0,colorIndex:void 0});else{const e=this._items[this._actualLength];e.plot1Value=void 0,e.plot2Value=void 0,e.colorIndex=void 0}this._actualLength+=1}return this._items[t]}}class ze{constructor(e,t,i=!1){this._isHlineFill=!1,this._bandAKey=null,this._bandBKey=null,this._colorPlotIndex=null,this._colorValues=[],this._colors=new Ne,this._areaRenderer=new Fe,this._invalidated=!0,this._plIndex1=null,this._plIndex2=null,this._level1=0,this._level2=0,this._studyValuesCache=new He,this._points1=new Ne,this._points2=new Ne,this._timePoints=new Ne,this._colorAreas=new Re,this._source=e,this._model=t,this._fillGaps=i}update(){this._invalidated=!0}renderer(e,t){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._areaRenderer}_correctVisibleRange(e){const t=this._source.data(),i=t.search(e.firstBar(),p.PlotRowSearchMode.NearestLeft,this._plotIndex1()),s=t.search(e.firstBar(),p.PlotRowSearchMode.NearestLeft,this._plotIndex2()),r=t.search(e.lastBar(),p.PlotRowSearchMode.NearestRight,this._plotIndex1()),n=t.search(e.lastBar(),p.PlotRowSearchMode.NearestRight,this._plotIndex2()),o=null!==i?i.index:e.firstBar(),a=null!==s?s.index:e.firstBar(),l=null!==r?r.index:e.lastBar(),c=null!==n?n.index:e.lastBar();return[Math.min(o,a),Math.max(l,c)]}_plotNames(){return this._source.metaInfo().plots.map(e=>e.id)}_plotIndex1(){return null===this._plIndex1&&(this._plIndex1=this._plotNames().indexOf(this._plotAId())+1),this._plIndex1}_plotIndex2(){return null===this._plIndex2&&(this._plIndex2=this._plotNames().indexOf(this._plotBId())+1),this._plIndex2} -_updateImpl(){var e,t,i;if(this._areaRenderer.setData(null),!this._visible())return;const s=this._source.priceScale(),n=this._model,o=n.timeScale();if(!s||s.isEmpty()||o.isEmpty())return;if(n.mainSeries().bars().isEmpty())return;const a=this._source.firstValue();if(null===a)return;if(this._isHlineFill){const e=this._source.properties().bands[(0,r.ensureNotNull)(this._bandAKey)],t=this._source.properties().bands[(0,r.ensureNotNull)(this._bandBKey)];this._level1=s.priceToCoordinate(e.value.value(),a),this._level2=s.priceToCoordinate(t.value.value(),a)}const l=o.visibleBarsStrictRange();if(null===l)return;this._timePoints.invalidateCache(),this._points1.invalidateCache(),this._points2.invalidateCache(),null===(e=this._colors)||void 0===e||e.invalidateCache(),this._colorAreas.invalidateCache();const[c,h]=this._correctVisibleRange(l),d=this._isPerBarColoringSupported()?this._colors:null,u=this._source.offset(this._plotAId()),p=this._source.offset(this._plotBId()),_=Math.min(u,p),m=Math.max(u,p),g=this._plotIndex1(),f=this._plotIndex2(),v=this._source.data();if(v.isEmpty())return;let S,y;const b=(0,r.ensureNotNull)(v.firstIndex()),w=(0,r.ensureNotNull)(v.lastIndex()),C=b-Math.max(0,-_),P=w+Math.max(0,m),T=Math.max(c-1,C),x=Math.min(h+1,P),M=this._studyValuesCache;M.invalidateCache();const L=T-m,A=v.rangeIterator(L,x-_),E=Math.max(l.firstBar()-1,Math.min(L-m-1,L-1+_));M.setStartIndex(E);const k=new We.BarsRange(l.firstBar()-1,l.lastBar()+1);for(;A.hasNext();){const e=A.next(),t=e.index,i=e.value,s=i[g],n=i[f],o=t+u,a=t+p;if(o===a&&k.contains(o)){const e=M.at(o);e.plot1Value=s,e.plot2Value=n}else{if(k.contains(o)){M.at(o).plot1Value=s}if(k.contains(a)){M.at(a).plot2Value=n}}if(null!==d){const e=t-1+_;if(l.contains(e)){const t=i[(0,r.ensureNotNull)(this._colorPlotIndex)+1];M.at(e).colorIndex=t}}}const D=this._timePoints,V=this._points1,B=this._points2;let N=null;const R=E+M.length();for(let e=E;e<=R;e++){if(!this._fillGaps&&(null===S||null===y)){const t=e-1;D.push(t),V.push(NaN),B.push(NaN),null==d||d.push(null)}const s=M.at(e);if(null!==d){const e=s.colorIndex;N=null==e?null:this._getColorByPlotValue(e)}if(this._isHlineFill){D.push(e),null!==d&&d.push(N);continue}const r=null!==(t=s.plot1Value)&&void 0!==t?t:null,n=null!==(i=s.plot2Value)&&void 0!==i?i:null;(null!==r||null!==n||Number.isFinite(S)||Number.isFinite(y))&&(S=r,y=n,V.push(r),B.push(n),D.push(e),null!==d&&d.push(N))}s.pricesArrayToCoordinates(V.data(),a,V.length()),s.pricesArrayToCoordinates(B.data(),a,B.length()),o.indexesToCoordinates(D.data(),D.length());const O=this._transparency();let F=(0,I.isNumber)(O)?O:50;F=Math.min(F,100),F=Math.max(F,0);const W={barSpacing:this._model.timeScale().barSpacing(),transparency:F,colorAreas:this._getFilledAreas(D,V,B,d)};this._areaRenderer.setData(W)}_getFilledAreas(e,t,i,s){const r=this._isHlineFill;if(!r&&(0===t.length()||0===i.length()))return new Re;const n=this._colorAreas;let o=null,a=null;const l=this._color();for(let c=0;c{null===this._bandAKey&&i.id===e&&(this._bandAKey=s),null===this._bandBKey&&i.id===t&&(this._bandBKey=s)})}}var Xe=i(13933),Ze=i(36759),Je=i(23653),Qe=i(33291),et=i(52714),tt=i.n(et),it=i(37667),st=i(8175),rt=i(97098),nt=i(67802),ot=i(26811),at=i(69147);const lt=(0,o.getLogger)("Chart.Study"),ct=(0,n.t)("Invalid Symbol");const ht={symbolsForDisplay:!1, -symbolsForChartApi:!0,skipHiddenInputs:!1,skipFakeInputs:!1,skipBooleanInputs:A.enabled("dont_show_boolean_study_arguments"),asObject:!0,skippedGroups:[],skippedInputs:[],noExchanges:!1,noResolution:!1,keepOptionalSymbolsEmpty:!1,skipColorInputs:!1,skipTimeInputs:!1,skipOptionalEmptySymbolInputs:!1,skipTextareaInputs:!0,priceInputsForDisplay:!1},dt=A.enabled("study_symbol_ticker_description"),ut=A.enabled("hide_main_series_symbol_from_indicator_legend");function pt(e,t){const i=e.plots[t];if(!i||!(0,L.isOhlcPlot)(i))return!1;const s=i.target,r=e.defaults.styles&&e.defaults.styles[s],n=e.defaults.ohlcPlots&&e.defaults.ohlcPlots[s],o=e.ohlcPlots&&e.ohlcPlots[s];return r&&(0,L.isOhlcPlotStyleBars)(r)||n&&(0,L.isOhlcPlotStyleBars)(n)||!!o&&(0,L.isOhlcPlotStyleBars)(o)}function _t(e,t){const i=e.plots[t];if(!i||!(0,L.isOhlcPlot)(i))return!1;const s=i.target,r=e.defaults.styles&&e.defaults.styles[s],n=e.defaults.ohlcPlots&&e.defaults.ohlcPlots[s],o=e.ohlcPlots&&e.ohlcPlots[s];return r&&(0,L.isOhlcPlotStyleCandles)(r)||n&&(0,L.isOhlcPlotStyleCandles)(n)||!!o&&(0,L.isOhlcPlotStyleCandles)(o)}function mt(e,t){(0,r.assert)(void 0!==e,"zOrder must be defined"),(0,r.assert)(!t.has(e),"zOrder must be unique")}class gt extends d.PriceDataSource{constructor(e,t,i,s){super(e),this.onStart=new(c()),this._onHibernationStateChange=new(c()),this._symbolsResolved=new(c()),this._statusChanged=new(c()),this._paneViews=[],this._legendView=null,this._priceAxisViews=[],this._inputsAnchorsPaneView=null,this._inputsLinesPaneView=null,this._inputsTimeAxisPaneViews=[],this._inputsPriceAxisPaneViews=[],this._resolvedSymbols={},this._resolvedSymbolsByInput={},this._source=null,this._isChildStudy=!1,this._status={type:Xe.StudyStatusType.Undefined},this._wasCompletedBefore=!1,this._studyId=null,this._isSubscribedToSessionId=!1,this._titleStrCache={},this._titleInPartsCache={},this._children=[],this._numericFormatter=new M.NumericFormatter,this._priceAxisViewsBase=[],this._priceLinesAxisViews=[],this._labelPaneViews=[],this._ownFirstValue=null,this._plotOffsets={},this._formatter=null,this._ongoingDataUpdate=Promise.resolve(),this._studyModified=!1,this._isDestroyed=!1,this._graphics=new g.LiveStudyGraphics,this._tagsChanged=new(c()),this._currencySourceSymbolInputProperty=null,this._pendingResolveSymbols=new Map,this._onIsActualIntervalChange=new(c()),this._lastNonEmptyPlotRowCache={},this._startMovingPoint=null,this._processHibernateBound=this.processHibernate.bind(this,1),this._maxOffset=new(tt())(0),this._currencySourceSymbolInfo=null,this._chartApi=e.chartApi(),this._properties=t,this._metaInfo=s,this._series=this._model.mainSeries(),this._series.onIntervalChanged().subscribe(this,this._calcIsActualInterval),this._showStudyArgumentsProperty=e.properties().childs().paneProperties.childs().legendProperties.childs().showStudyArguments,e.collapsed().subscribe(this._processHibernateBound),i instanceof gt&&(this._source=i,this._isChildStudy=!0,this._source.setChild(this));const r=this.parentSource() -;r.currencyChanged().subscribe(this,this._onSourceCurrencyChanged),r.unitChanged().subscribe(this,this._onSourceUnitChanged),r.priceRangeReadyChanged().subscribe(this,this._onSourcePriceRangeReadyChanged),r.formatterChanged().subscribe(this,this._onSourceFormatterChanged),r.priceStepChanged().subscribe(this,this._onSourcePriceStepChanged),dt&&this._model.mainSeries().properties().childs().statusViewStyle.childs().symbolTextSource.listeners().subscribe(this,()=>{this.invalidateTitleCache(!0)}),this._properties.subscribe(this,this._onPropertiesChanged),this._properties.visible.subscribe(this,this._visibleChanged),this._properties.visible.subscribe(this,this.processHibernate),this._properties.intervalsVisibilities.subscribe(this,this._calcIsActualInterval),this._properties.inputs.listeners().subscribe(this,this._updateMaxOffsetValue),void 0!==this._properties.offsets&&this._properties.offsets.listeners().subscribe(this,this._updateMaxOffsetValue),void 0!==this._properties.offset&&this._properties.offset.listeners().subscribe(this,this._updateMaxOffsetValue),this._initializeCurrencySource(),b.hideAllIndicators().subscribe(this,this._visibleChanged);for(let e=0;e=0?e:0}}return this._isChildStudy&&m().patchChildStudyMetaInfoState(l),l}restoreData(e){var t,i;this._invalidateLastNonEmptyPlotRowCache(),this.data().restoreState(e),this._resolvedSymbols=null!==(t=e.symbols)&&void 0!==t?t:{},this._graphics=e.graphics?(0,g.loadStudyGraphics)(e.graphics):(0,g.emptyStudyGraphics)(),this._postProcessGraphics(),this._plotOffsets=null!==(i=e.plotOffsets)&&void 0!==i?i:{},this._setStatus({type:Xe.StudyStatusType.Completed},!0)}hasStateForAlert(){return!1}stateForAlert(){throw new Error("Not implemented")}hasBarColorer(){return(0,r.ensureNotNull)(this._metaInfo).plots.some(L.isBarColorerPlot)}disconnect(){this._studyId=null,this._model.isSnapshot()||(this._resolvedSymbols={},this._resolvedSymbolsByInput={})}isChildStudy(){return this._isChildStudy}hasChildren(){return this._children.length>0}isActualInterval(){return this._isActualInterval}onIsActualIntervalChange(){return this._onIsActualIntervalChange}isVisible(){if(this._model.collapsed().value()||!this.properties().visible.value()||!this.isActualInterval())return!1;const e=this.metaInfo();if(e.plots.length>0)return!0;for(const t of Object.keys(e.graphics))for(const i of Object.keys(e.graphics[t])){const e=this.properties().graphics[t][i];if(!e.visible||e.visible.value())return!0}return!(!e.isTVScriptStrategy&&!e.hasAlertFunction)}inputs(e){const t=(0,I.merge)((0,I.clone)(ht),e||{}) -;return t.skipOptionalEmptySymbolInputs&&(t.keepOptionalSymbolsEmpty=!0),this._buildInputs(t)}metaInfo(){return this._metaInfo}status(){return this._status}name(e){return e?this.metaInfo().shortDescription||this._properties.shortDescription&&this._properties.shortDescription.value()||"Study":this.metaInfo().description||this._properties.description&&this._properties.description.value()||"Study"}title(e,t,i,s){i=void 0===i?!this._showStudyArgumentsProperty.value():i;const r=JSON.stringify([e,t,i,s]);if(this._titleStrCache[r])return this._titleStrCache[r];if(this._titleInPartsCache[r])return this._joinTitlesParts(this._titleInPartsCache[r]);const n=this._title(e,t,i,s);return this._titleStrCache[r]=n,n}titleInParts(e,t,i,s){i=void 0===i?!this._showStudyArgumentsProperty.value():i;const r=JSON.stringify([e,t,i,s]);if(this._titleInPartsCache[r])return this._titleInPartsCache[r];const n=this._titleInParts(e,t,i,s);return this._titleInPartsCache[r]=n,n}invalidateTitleCache(e){if(this._titleStrCache={},this._titleInPartsCache={},!0===e&&this._children)for(let t=0;tt.update(e)),this._labelPaneViews.forEach(t=>t.update(e)),null===(t=this._dataWindowView)||void 0===t||t.update(),null===(i=this._legendView)||void 0===i||i.update(),null===(s=this._statusView)||void 0===s||s.update(),this._priceAxisViews.forEach(t=>t.update(e)),this._priceLinesAxisViews.forEach(t=>t.update(e)),null===(r=this._inputsLinesPaneView)||void 0===r||r.update(e),null===(n=this._inputsAnchorsPaneView)||void 0===n||n.update(e),this._inputsTimeAxisPaneViews.forEach(t=>t.update(e)),this._inputsPriceAxisPaneViews.forEach(t=>t.update(e))}isPine(){return void 0!==this._metaInfo.pine}isStandardPine(){return this.isPine()&&m().isStandardPine(this._metaInfo.id)}isLinkedToSeries(){return!0===this._metaInfo.linkedToSeries}defaultPlotIdForAlert(){return this._metaInfo.plots.length?this._metaInfo.plots[0].id:null}resolvedSymbolInfoBySymbol(e){return this._resolvedSymbols&&e&&this._resolvedSymbols[this._getSymbolForResolve(e)]||null}currency(){if(null!==this._currencySourceSymbolInfo)return(0,it.symbolCurrency)(this._currencySourceSymbolInfo);const e=this.metaInfo();return Boolean(e)&&e.is_price_study?this.parentSource().currency():null}currencySourceSymbolInfo(){var e,t,i;return null!==(e=this._currencySourceSymbolInfo)&&void 0!==e?e:null!==(i=null===(t=this.symbolSource())||void 0===t?void 0:t.symbolInfo())&&void 0!==i?i:null}unit(){const e=this.metaInfo();return Boolean(e)&&e.is_price_study?this.parentSource().unit():null}dataWindowView(){return this._dataWindowView}statusView(){return this._statusView}legendView(){return this._legendView}inputsForAlertState(){return this.inputs()}sessionId(){return this.parentSource().sessionId()}sessionIdChanged(){return this.parentSource().sessionIdChanged()}getSymbolString(e){return""===e?"":(0,C.encodeExtendedSymbolOrGetSimpleSymbolString)(this._getSymbolObject(e))}onStatusChanged(){return this._statusChanged}symbolsResolved(){return this._symbolsResolved}onHibernationStateChange(){return this._onHibernationStateChange}valuesProvider(){return new S.StudyLegendValuesProvider(this,this.model())}statusProvider(e){return new x.StudyStatusProvider(this,this._model.properties().childs().scalesProperties.childs().textColor)}correctScaleMargins(e){if("Volume"===this.metaInfo().shortId){const t=this.model().paneForSource(this);return null!==t&&t.isOverlay(this)&&t.containsMainSeries()?{top:.75,bottom:0}:{top:e.top,bottom:0}}return e}canBeHiddenByGlobalFlag(){return!0}isSourceHidden(){return!this.isVisible()||this.canBeHiddenByGlobalFlag()&&b.hideAllIndicators().value()}paneViews(e){if(this.isSourceHidden()||!e.hasPriceDataSource(this))return null;const t=[];return!this._startMovingPoint&&this._wasCompletedBefore&&t.push(...this._paneViews),this._inputsLinesPaneView&&(this._startMovingPoint||this._model.selection().isSelected(this))&&t.push(this._inputsLinesPaneView),this._inputsAnchorsPaneView&&t.push(this._inputsAnchorsPaneView),t}timeAxisViews(){ -return this._model.selection().isSelected(this)?this._inputsTimeAxisPaneViews:null}priceAxisViews(e,t){if(this.properties().oldShowLastValue&&!this.properties().oldShowLastValue.value())return null;let i=this._priceAxisViews.slice();return this._model.selection().isSelected(this)&&(i=i.concat(this._inputsPriceAxisPaneViews)),e.findTargetPriceAxisViews(this,t,i,this._priceLinesAxisViews)}movable(){return null!==this._inputsAnchorsPaneView}startMoving(e,t,i,s){this._startMovingPoint=e,this.stop()}move(e,t,i,s){if(void 0!==e.logical&&null!==this._startMovingPoint){if(Array.isArray(t)){const i=t;this._updateInputValue(e.logical,i[0]),this._updateInputValue(e.logical,i[1])}else this._updateInputValue(e.logical,t);this.updateAllViews((0,Qe.dataSourceChangeEvent)(this.id()))}}endMoving(e,t){return this._startMovingPoint=null,this.start(),{indexesChanged:!1,pricesChanged:!1}}clearData(){var e;this._invalidateLastNonEmptyPlotRowCache(),this.data().clear(),this._graphics instanceof g.LiveStudyGraphics&&(null===(e=this._graphics)||void 0===e||e.clear()),this._plotOffsets={},this.hasBarColorer()&&this._model.mainSeries().invalidateBarStylesCache(),this.updateAllViews((0,Qe.dataSourceChangeEvent)(this.id(),void 0,!0))}convertYCoordinateToPriceForMoving(e,t){const i=this.priceScale();if(!t||!i||i.isEmpty())return null;const s=t.firstValue();return null===s?null:i.coordinateToPrice(e,s)}processHibernate(e){const t=this.isVisible();if(!this.isStarted()&&t&&(this._isChildStudy&&(0,r.ensureNotNull)(this._source).processHibernate(),this.start(void 0,void 0,e),this._onHibernationStateChange.fire(!1)),this.isHibernationAllowed()&&this.isStarted()&&!t){for(const e of this._children)e.processHibernate();this.stop(void 0,e),this._onHibernationStateChange.fire(!0)}}isHibernationAllowed(){return!this.metaInfo().historyCalculationMayChange&&(!this.hasChildren()||!!this._model.collapsed().value()&&this._children.every(e=>e.isHibernationAllowed()))}recalculate(){const e=this._model.paneForSource(this);this._model.recalculatePane(e,(0,Qe.dataSourceChangeEvent)(this.id())),this._model.updateSource(this)}maxOffset(){return this._maxOffset}_transformData(e){}_updateMaxOffsetValue(){let e=-1/0;for(const t of this._metaInfo.plots)e=Math.max(this.offset(t.id),e);this._maxOffset.setValue(e)}_rightOffsetToUnixTime(e){if(this._series.bars().size()>=e){const t=(0,r.ensureNotNull)(this._series.bars().lastIndex())-e;return(0,r.ensureNotNull)(this._series.bars().valueAt(t))[0]}return null}_invalidateLastNonEmptyPlotRowCache(){this._lastNonEmptyPlotRowCache={}}_collectDepsForAlert(){throw new Error("Not implemented")}isHibernated(){return!this.isVisible()&&!this.isStarted()}_createViews(){var e,t;this._priceAxisViewsBase=[],this._priceLinesAxisViews=[],this._paneViews=[],this._labelPaneViews=[];const i=new Set,s=this.metaInfo(),n=Boolean(s.usePlotsZOrder),o=new Map;if(s.plots)for(let t=0;t{const i=this._properties.bands[t];if(i&&i.visible.value()){const t=new qe(i,this),s=n?(0,r.ensureDefined)(e.zorder):o.size;mt(s,o),o.set(s,{paneViews:[t]})}}),this._properties.bandsBackground&&((0,r.assert)(!n,"'usePlotsZOrder' flag does not supported"),o.set(o.size,{paneViews:[new Ke(this)]}));const a=this._paneViews;(0,g.createGraphicsPaneViews)(this,this.model()).then(e=>{for(let t=0;ts.plots.some(t=>(0,L.isColorerPlot)(t)&&t.target===e);if(this._properties.filledAreas&&s.filledAreas)for(let e=0;ee-t);for(let e=0;e0){const t=this.barColorer().firstColoredBar(e[0].index);this._model.mainSeries().invalidateBarStylesCache(t)}null!==t&&this._postProcessGraphics();const r=this._model.paneForSource(this);this._model.recalculatePane(r,(0,Qe.dataSourceChangeEvent)(this.id(),null!=s?s:void 0)),this._updateSources()}_updateSources(){this._model.updateSource(this),this.hasBarColorer()&&this._model.updateSource(this._model.mainSeries())}_titleInputs(e,t){return this.inputs(this._titleInputsOptions(e,t))}_titleInputsOptions(e,t){return{symbolsForDisplay:!0,skipHiddenInputs:!0,skipFakeInputs:!1,fakeInputsForDisplay:!0,asObject:!1,skippedGroups:[],noExchanges:e,noResolution:t,skipColorInputs:!0,skipTimeInputs:!0,priceInputsForDisplay:!0,skipOptionalEmptySymbolInputs:ut}}_subscribeToSessionId(){!this._isSubscribedToSessionId&&this.hasSymbolInputs()&&(this.sessionIdChanged().subscribe(this,this._onSessionIdChanged),this._isSubscribedToSessionId=!0)}_unsubscribeToSessionId(){this._isSubscribedToSessionId&&(this.sessionIdChanged().unsubscribe(this,this._onSessionIdChanged),this._isSubscribedToSessionId=!1)}_onSessionIdChanged(){this.restart(!0)}_title(e,t,i,s){const r=this._titleInParts(e,t,i,s);return this._joinTitlesParts(r)}_formatterByMetaInfo(){var e,t;const i=this.metaInfo().format;if("inherit"===i.type)return null;const s=this.series().symbolInfo(),r=(0,I.isNumber)(i.precision)?Math.pow(10,i.precision):void 0;{const s=null!==(t=null===(e=null===at.customFormatters||void 0===at.customFormatters?void 0:at.customFormatters.studyFormatterFactory)||void 0===e?void 0:e.call(at.customFormatters,i,this.symbolSource().symbolInfo()))&&void 0!==t?t:null -;if(null!==s)return s}switch(i.type){case"price":return new rt.PriceFormatter(r);case"volume":{let e=i.precision;return void 0===e&&(e=s&&(0,I.isNumber)(s.volume_precision)?s.volume_precision:0),new nt.VolumeFormatter(e)}case"percent":return new ot.PercentageFormatter(r);default:return lt.logWarn("Unsupported format type: "+i.type),null}}_postProcessPriceRange(e){if(e&&e.minValue()===e.maxValue()&&!this.metaInfo().is_price_study){const t=.005*e.minValue();e=new u.PriceRange(e.minValue()-t,e.maxValue()+t)}const t=this.priceScale();return t&&t.isLog()&&e?new u.PriceRange(t.priceToLogical(e.minValue()),t.priceToLogical(e.maxValue())):e}_joinTitlesParts(e){const t=e[1]?e[1].join(", "):"";return e[0]+(t.length>0?" ("+t+")":"")}_titleInParts(e,t,i,s){var r;const o=this.name(e);t=t||{};const a=[(0,n.t)(o,{context:"study"})];let l=[];if(!i){const i=this._getMTFResolutionInputTitle();null!==i&&i.length>0&&a.push(i);const n=this.metaInfo(),o=this._titleInputs(s,!0)||[];if(o.length>0){const i={};if(this._isChildStudy)for(let t=0;t=0&&this._source){const t=this._source.metaInfo(),n=this._source.title(e,{},!0,s);if(1===t.plots.length)i[l]=n;else{const e=l.split("$")[1],s=null===(r=t.plots[parseInt(e)])||void 0===r?void 0:r.id,o=t.styles&&t.styles[s],a=o&&o.title||s;i[l]=n+": "+a}}break}l=o.map(e=>{let s=(0,I.isNumber)(e)?this._numericFormatter.format(e):i&&i[e.toString()]||e.toString();return t&&t[s.toString()]&&(s=t[s.toString()]),s})}}return[a.join(" · "),l]}_getMTFResolutionInputTitle(){const e=this.metaInfo();for(let t=0;t"line"===e.type)}_hasAlertConditions(){if(this.metaInfo().plots.some(L.isAlertConditionPlot))return!0;const e=this.stateForAlert();return Boolean(e.alerts&&e.alerts.conditions)}_hasAlertFunction(){const e=this.metaInfo();return Boolean(e.hasAlertFunction)}_onDataUpdate(e,t){this._studyModified&&(this.clearData(),this._studyModified=!1);const i=(0,h.unpackNonSeriesData)(t.d);return this._ongoingDataUpdate=this._ongoingDataUpdate.then(()=>i,()=>i).then(this._onDataUnpacked.bind(this,e,t.indexes)),this._ongoingDataUpdate}_mergeData(e){var t,i;return this._invalidateLastNonEmptyPlotRowCache(),null!==(i=null===(t=this.data().merge(e))||void 0===t?void 0:t.index)&&void 0!==i?i:null}_getSymbolForResolve(e){return this.getSymbolString(this._getSymbolForApi(e))}_allSymbolsAreResolved(){const e=this.metaInfo(),t=[];let i=!1;for(let s=0;sthis._symbolsResolved.fire()):e}return Promise.all(t).catch(e=>(this._setStatus({type:Xe.StudyStatusType.Error,errorDescription:{error:ct}}),this.stop(!0),this._model.updateSource(this),Promise.reject("Invalid symbol, "+e))).then(()=>{null!==this._studyId&&this.stop(!0),this.start(!0),this._symbolsResolved.fire(),this._recheckLineToolsActuality()})}_getSymbolForApi(e){return e}_resolveSymbol(e,t){if(""===e)return Promise.resolve();let i=this._pendingResolveSymbols.get(e);return void 0!==i||(i=new Promise((i,s)=>{this._onSymbolResolvingStart(),this._chartApi.resolveSymbol((0,P.makeNextSymbolId)(),e,r=>{switch(this._pendingResolveSymbols.delete(e),r.method){case"symbol_resolved":this._setStatus({type:Xe.StudyStatusType.Undefined}),this._resolvedSymbols[e]=r.params[1],this._resolvedSymbolsByInput[t]=r.params[1],this._onSymbolResolved(e,t,r.params[1]),this.invalidateTitleCache(!0),i();break;case"symbol_error":if(this._setStatus({type:Xe.StudyStatusType.Error,errorDescription:{error:r.params[1]}}),this._onSymbolError(),r.params[1]===T.permissionDenied&&r.params[2])switch(r.params[2]){case T.SymbolErrorPermissionDeniedReason.Symbol:if(r.params[3])return void this._resolveSymbol(r.params[3],t).then(i);break;default:return void this._resolveSymbol(r.params[2],t).then(i)}0,s()}})}),this._pendingResolveSymbols.set(e,i)),i}_recheckLineToolsActuality(){const e=this._model.paneForSource(this);null!==e&&e.sourcesByGroup().lineSourcesForAllSymbols().forEach(e=>{e.ownerSource()===this&&e.calcIsActualSymbol()})}_getSymbolObject(e){const t={symbol:e},i=this.currency();return null!==this._currencySourceSymbolInputProperty&&null!==this._currencySourceSymbolInfo&&this._getSymbolForApi(this._currencySourceSymbolInputProperty.value())===e&&(t["currency-id"]=i),t.session=this.sessionId(),t}_onSymbolResolved(e,t,i){this._onCurrencyMayChange()}_onSymbolResolvingStart(){}_onSymbolError(){}_setStatus(e,t){var i;this._status=e,e.type===Xe.StudyStatusType.Completed?this._wasCompletedBefore=!0:e.type!==Xe.StudyStatusType.Error&&e.type!==Xe.StudyStatusType.Undefined||(this._wasCompletedBefore=!1),t||(null===(i=this._statusView)||void 0===i||i.update(),this._model.updateSource(this),this._statusChanged.fire(e))}_bandsFirstValue(e){const t=this._metaInfo;if(!t.bands)return null;for(let i=0;ivoid 0!==i[e],1e3),null===i?null:(this._lastNonEmptyPlotRowCache[e]=i,i)}_onCurrencyChanged(){"alwaysOff"!==(0,st.currencyUnitVisibilityProperty)().value()&&this._model.fullUpdate(),this.isStarted()&&this._tryChangeInputs(),this._currencyChanged.fire()}_tryChangeInputs(){const e=(0,r.ensureDefined)((0,I.clone)(this._inputs));this.isStarted()&&this._chartApi.isConnected().value()?this._allInputsAreValid()?this._allSymbolsAreResolved().then(()=>{const t=this.inputs({keepOptionalSymbolsEmpty:!0}),i=JSON.stringify(t)!==JSON.stringify(this._inputs);this._isStopped()?i&&this.disablePriceRangeReady():i&&(this._changeInputsImpl(t,e),this._inputs=t)}).catch(e=>{lt.logError("ERROR: "+this._debugId()+" _tryChangeInputs: cannot modify study, "+e)}):this.stop():(this.stop(!0),this.start(!0)),this._tagsChanged.fire()}_debugId(){const e=[];return this._studyId&&e.push(this._studyId),e.push(this._metaInfo.fullId),e.push(this._metaInfo.description),JSON.stringify({study:e})}_onCurrencyMayChange(){if(null!==this._currencySourceSymbolInputProperty){const e=this.currency();this._updateCurrencySourceSymbolInfo(),e!==this.currency()&&this._onCurrencyChanged()}}_isStopped(){return!this.isStarted()}_onDataUnpacked(e,t,i){if(this._isDestroyed)return;"nochange"!==t&&this._processPlotOffsets(i),this._transformData(e);const s=this._mergeData(e);null!==i&&(i.indexes_replace?((0,r.assert)("nochange"!==t),this._graphics.replaceIndexesTo(t)):("nochange"!==t&&this._graphics.replaceIndexesTo(t),void 0!==i.graphicsCmds&&this._graphics.processCommands(i.graphicsCmds,this._metaInfo.graphics))),this._onDataUpdated(e,i,t,s),this.priceRangeReady()||this._enablePriceRangeReady()}_processPlotOffsets(e){if(e&&e.indexes_replace)return;const t=this._plotOffsets;this._plotOffsets=e&&e.offsets||{},(0,s.default)(t,this._plotOffsets)||this.updateAllViews((0,Qe.dataSourceChangeEvent)(this.id(),void 0,!0)),this._updateMaxOffsetValue()}_applyPlotToPrecalculatedAutoscaleInfo(e,t,i,s){const r=s.id,n=this.properties().styles[r],o=(0,L.isShapesPlot)(s)||(0,L.isCharsPlot)(s);i.useMainSeriesRange=i.useMainSeriesRange||(0,L.isArrowsPlot)(s);let a=(0,L.isLinePlot)(s)||(0,L.isOhlcPlot)(s);if(o){const e=n.location.value(),t=[f.MarkLocation.Absolute,f.MarkLocation.Top,f.MarkLocation.Bottom].indexOf(e)<0 -;i.useMainSeriesRange=i.useMainSeriesRange||o&&t,a=a||e===f.MarkLocation.Absolute}if(!a)return i;const l={name:r,offset:this.offset(r)},c=n.plottype.value();if(!this.properties().skipHistogramBaseOnAutoScale&&[L.LineStudyPlotStyle.Histogram,L.LineStudyPlotStyle.Columns,L.LineStudyPlotStyle.Area].indexOf(c)>=0){const s=n.histogramBase.value(),r=this.data().minMaxOnRangeCached(e,t,[l]);return(0,I.isNumber)(s)&&null!==r&&(i.baseValueMinMax=(0,p.mergeMinMax)(i.baseValueMinMax,{min:s,max:s}),i.baseValueMinMax=(0,p.mergeMinMax)(i.baseValueMinMax,r)),i}return i.fields.push(l),i}_fillPrecalculatedAutoscaleInfo(e,t){return this._metaInfo.plots.filter(e=>!(0,L.isPlotWithTechnicalValues)(e)).filter(e=>{const t=e.id;let i;if((0,L.isOhlcPlot)(e)){const t=e.target;i=this.properties().ohlcPlots[t]}else i=this.properties().styles[t];return i.visible.value()}).reduce((i,s)=>this._applyPlotToPrecalculatedAutoscaleInfo(e,t,i,s),{fields:[],useMainSeriesRange:!1,baseValueMinMax:null})}_buildInputs(e){(0,r.assert)(!!e,"options not set");let t={};try{t=this._prepareInputs(e)}catch(e){lt.logWarn("Failed to prepare study inputs: "+e)}if(e.asObject){const e={};return Object.keys(t).forEach(i=>{null!=t[i]&&(e[i]=t[i])}),e}{const e=[];return Object.keys(t).forEach(i=>{null!=t[i]&&e.push(t[i])}),e}}_prepareInput(e,t){const i=this._prepareInputValue(e,t);return!e.isFake||t.fakeInputsForDisplay||t.onlyAtomValues?i:{v:i,f:!0,t:e.type}}_plotsForAlert(){return[]}_dependenciesForAlerts(){throw new Error("Not implemented")}_calcIsActualInterval(){const e=this._isActualInterval;this._isActualInterval=(0,Ze.isActualInterval)(this._series.intervalObj(),this.properties().intervalsVisibilities),e!==this._isActualInterval&&(this._onIsActualIntervalChange.fire(),this._visibleChanged(),this.processHibernate())}_visibleChanged(){this._series.invalidateBarColorerCache()}_getNonPriceParent(){const e=this.source();if(e instanceof gt){const t=e.metaInfo();return t.is_price_study&&"Compare@tv-basicstudies"!==t.id?e._getNonPriceParent():e}return null}_updateInputValue(e,t){const i=this._properties.inputs;if(i[t.id])if("price"===t.type)i[t.id].setValue(e.price);else if("time"===t.type){const s=this._model.timeScale().indexToTimePoint(e.index);null!==s&&i[t.id].setValue(1e3*s)}}_initializeStudyInputsPaneViews(){}_updateCurrencySourceSymbolInfo(){var e;null!==this._currencySourceSymbolInputProperty&&(this._currencySourceSymbolInfo=null!==(e=this._resolvedSymbolsByInput[this._currencySourceSymbolInputProperty.value()])&&void 0!==e?e:null)}_initializeCurrencySource(){var e,t;const i=this.metaInfo(),s="symbolInputSymbolSource"===(null===(e=i.symbolSource)||void 0===e?void 0:e.type)&&(null===(t=i.symbolSource)||void 0===t?void 0:t.inputId),r=i.inputs.find(e=>e.id===s),n="symbol"===(null==r?void 0:r.type);if("string"==typeof s&&n&&i.is_price_study){const e=this._properties.inputs[s];null!=e&&(e.subscribe(this,this._onCurrencyMayChange),this._currencySourceSymbolInputProperty=e)}}}},55153:(e,t,i)=>{"use strict";i.d(t,{StudyCompare:()=>N}) -;var s=i(88537),r=i(8175),n=i(66101),o=i(37667),a=i(2015),l=i.n(a),c=i(67337),h=i(3825),d=i(97938),u=i(74477);const p=c.enabled("force_exchange_as_title");class _ extends d.PriceAxisView{constructor(e,t){super(),this._studyCompare=e,this._data=t}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._studyCompare.priceScale(),r=this._studyCompare.lastValueData(this._data.plotIndex,!1);if(r.noData||null===s||s.isEmpty())return;i.background=r.color,i.textColor=this.generateTextColor(r.color),i.coordinate=r.coordinate,i.floatCoordinate=r.floatCoordinate;const n=this._studyCompare.model().properties().childs().scalesProperties.childs();n.showSeriesLastValue.value()&&(e.text=(0,u.getCurrentModePriceText)(s,r),n.seriesLastValueMode.value()!==h.PriceAxisLastValueMode.LastPriceAndPercentageValue?e.secondLine="":e.secondLine=(0,u.getOppositeModePriceText)(s,r),e.visible=!0),t.text="",n.showSymbolLabels.value()&&(t.text=this._paneText(),t.visible=t.text.length>0)}_paneText(){let e="";const t=this._studyCompare.symbolInfo();return p?e=(0,o.displayedSymbolExchange)(t):this._studyCompare.model().properties().childs().scalesProperties.childs().showSymbolLabels.value()&&(e=(0,o.displayedSymbolName)(t)),e}}i(28353);var m=i(26179),g=i(44601),f=i(85733),v=i(49483),S=i(80643),y=i(89027);class b extends y.StudyValuesProvider{constructor(e,t){super(e,t),this._emptyValues[0].title=e.guiPlotName("")}_hideValues(){return!1}}const w=v.CheckMobile.any();class C extends m.StudyDataWindowView{constructor(e,t){super(e,t),this._studyCompare=e}_hideValues(){return!1}_createValuesProvider(e,t){return new b(e,t)}_currentIndex(){const e=this._model.crossHairSource().lockedIndex;let t;return w&&(null===this._model.crossHairSource().pane&&void 0===e||(0,g.isLineToolName)(f.tool.value())||null!==this._model.lineBeingEdited())?t=this._study.data().lastIndex():(t=this._model.crossHairSource().appliedIndex(),(0,S.isNumber)(t)||(t=this._study.data().lastIndex())),t}}class P extends C{constructor(e,t){super(e,t),this._additional=null,this._showSeriesOHLC=t.properties().childs().paneProperties.childs().legendProperties.childs().showSeriesOHLC,this._showSeriesOHLC.subscribe(this,this.update)}areValuesVisible(){return this._showSeriesOHLC.value()}destroy(){this._showSeriesOHLC.unsubscribeAll(this)}additional(){return this._additional}_updateImpl(){super._updateImpl()}}var T=i(190),x=i(40529);class I extends x.StudyStatusProvider{getSplitTitle(){return this._source.titleInParts(!0,void 0,!1,!1)}text(){return this._source.isActualInterval()?this._source.isFailed()?`${this._source.title(!0,void 0,!1,!1)}: ${this.sourceStatusText()}`:`${this._source.title(!0,void 0,!1,!1)} ${this.sourceStatusText()}`:this._source.title(!0,void 0,!1,!1)}}var M=i(14791),L=i(52714),A=i.n(L);const E=c.enabled("study_overlay_compare_legend_option"),k=c.enabled("force_exchange_as_title"),D=c.enabled("uppercase_instrument_names"),V=!c.enabled("hide_study_compare_legend_item"),B=c.enabled("hide_unresolved_symbols_in_legend");class N extends n.Study{constructor(e,t,i,s){ -super(e,function(e){return e.hasChild("currencyId")||e.addChild("currencyId",new(l())(null)),e.hasChild("unitId")||e.addChild("unitId",new(l())(null)),e.addExclusion("currencyId"),e.addExclusion("unitId"),e}(t),i,s),this._isActingAsSymbolSource=new(A())(!0),this._realignToolsLastParams=null,this.properties().childs().minTick.subscribe(null,()=>this._recreatePriceFormattingDependencies()),this.properties().childs().minTick.subscribe(null,()=>this._model.fullUpdate()),this.properties().childs().currencyId.subscribe(this,this._onCurrencyChanged),this.properties().childs().unitId.subscribe(this,this._onUnitChanged),this.properties().merge({skipHistogramBaseOnAutoScale:!0}),this._symbolResolvingActive=new(A())(!1),this._symbolHibernated=new(A())(!1),e.mainSeries().onIntervalChanged().subscribe(this,()=>e.realignLineTools(this))}destroy(){this._model.mainSeries().onIntervalChanged().unsubscribeAll(this),super.destroy()}properties(){return super.properties()}isActingAsSymbolSource(){return this._isActingAsSymbolSource.readonly()}createPriceAxisView(e){return new _(this,{plotIndex:"compare"})}setSymbolParams(e){this._setSymbolCurrencyUnitInternal(e)}symbol(){return this._properties.inputs.symbol.value()}setSymbol(e){this.setSymbolParams({symbol:e})}symbolInfo(){if(!this._resolvedSymbols)return null;const e=this._properties.inputs.symbol.value();if(!e)return null;let t;return t=this._resolvedSymbols[this._getSymbolForResolve(e)]||null,t}symbolResolved(){return this.symbolsResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._symbolHibernated}isVisible(){const e=super.isVisible();return this._symbolHibernated.setValue(!e),e}symbolSameAsCurrent(e){return(0,M.symbolSameAsCurrent)(e,this.symbol(),this.symbolInfo())}currency(){return this._properties.currencyId.value()||null}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,o.isConvertedToOtherCurrency)(this.symbolInfo())}unit(){return this._properties.unitId.value()||null}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,o.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}style(){return 2}setStyle(e){}interval(){return this._model.mainSeries().interval()}setInterval(e){}symbolSource(){return this}state(e,t){const i=super.state(e,t);return this._model.unitConversionEnabled()||delete i.state.unitId,e&&((0,s.ensureDefined)(i.data).symbols={___snapshot:this.symbolInfo()||void 0}),i}symbolTitle(e,t){return this.title(!0,{},!1,e)}titleInParts(e,t,i,s){const r=this._titleInParts(e,t,i,s).join(", ");return[D?r.toUpperCase():r]}tags(){const e=this.symbol();return e?[e]:[]}statusView(){return V?super.statusView():null}guiPlotName(e){return this.properties().childs().inputs.childs().symbol.value()}canOverrideMinTick(){return!0}canBeHiddenByGlobalFlag(){return!1}valuesProvider(){return new b(this,this.model())}statusProvider(e){return new I(this,this._model.properties().childs().scalesProperties.childs().textColor)}_createViews(){ -this._legendView||(this._legendView=new P(this,this._model)),this._dataWindowView||(this._dataWindowView=new C(this,this._model)),this._statusView||(this._statusView=new T.StudyStatusView(this)),super._createViews()}_showLastValueOnPriceScale(){return this._model.properties().childs().scalesProperties.childs().showSeriesLastValue.value()}_onUnitChanged(){"alwaysOff"!==(0,r.currencyUnitVisibilityProperty)().value()&&this._model.fullUpdate(),this._model.unitConversionEnabled()&&this.isStarted()&&this._tryChangeInputs(),this._unitChanged.fire()}_getSymbolObject(e){const t=super._getSymbolObject(e),i=this.currency();null!==i&&(t["currency-id"]=i);const s=this.unit();return this._model.unitConversionEnabled()&&null!==s&&(t["unit-id"]=s),t}_getSymbolForApi(e){return(0,o.symbolForApi)(this._resolvedSymbolsByInput[e]||null,e)}_onSymbolResolvingStart(){super._onSymbolResolvingStart(),this._symbolResolvingActive.setValue(!0)}_onSymbolError(){super._onSymbolError(),this._symbolResolvingActive.setValue(!1)}_onSymbolResolved(e,t,i){super._onSymbolResolved(e,t,i),this._recreatePriceFormattingDependencies();const s=t===this.symbol()?(0,o.extractSymbolNameFromSymbolInfo)(i,this.symbol()):null,r=(0,o.symbolCurrency)(i),n=(0,o.symbolUnit)(i,this._model.unitConversionEnabled());this._setSymbolCurrencyUnitInternal({symbol:null!=s?s:void 0,currency:r,unit:n},i),this._symbolResolvingActive.setValue(!1)}_changeInputsImpl(e,t){super._changeInputsImpl(e,t),this._realignLineToolsIfParamsChanged()}_createStudyOnServer(){super._createStudyOnServer(),this._realignLineToolsIfParamsChanged()}_tryCreateFormatter(){const e=this.symbolInfo();return(0,o.createSeriesFormatter)(e,this.properties().childs().minTick.value())}_titleInParts(e,t,i,s){const r=this.symbolInfo();let n;if(r){const e=(0,o.getStudySymbolExchange)(r);if(k&&e)n=e;else if(n=r.name,E)switch(this._model.mainSeries().symbolTextSourceProxyProperty().value()){case"description":n=r.description;break;case"ticker-and-description":n=`${r.name}, ${r.description}`}else if(e&&!s)return[n,[e]]}else n=B?"":this.properties().childs().inputs.childs().symbol.value();return[n]}_setSymbolCurrencyUnitInternal(e,t){const{symbol:i,currency:s,unit:r}=e,n=this.properties().childs(),a=n.inputs.childs().symbol.value(),l=n.currencyId.value(),c=n.unitId.value();if(void 0!==i&&i!==a&&n.inputs.childs().symbol.setValueSilently(i),void 0!==s&&s!==l&&n.currencyId.setValueSilently(s),void 0!==r&&r!==c&&n.unitId.setValueSilently(r),t)this._resolvedSymbolsByInput[this.symbol()]=t,this._resolvedSymbols[this._getSymbolForResolve(this.symbol())]=t,this._realignToolsLastParams=null;else{const e=this.symbolInfo();null!==e&&(n.currencyId.setValueSilently((0,o.symbolCurrency)(e)),n.unitId.setValueSilently((0,o.symbolUnit)(e,this._model.unitConversionEnabled())))}n.inputs.childs().symbol.value()!==a&&n.inputs.childs().symbol.listeners().fire(n.inputs.childs().symbol),n.currencyId.value()!==l&&n.currencyId.listeners().fire(n.currencyId),n.unitId.value()!==c&&n.unitId.listeners().fire(n.unitId), -this._realignLineToolsIfParamsChanged()}_realignLineToolsIfParamsChanged(){const e=this.symbol(),t=this.interval(),i=this.currency(),s=this.unit();null!==this._realignToolsLastParams&&this._realignToolsLastParams.symbol===e&&this._realignToolsLastParams.interval===t&&this._realignToolsLastParams.currency===i&&this._realignToolsLastParams.unit===s||(this._model.realignLineTools(this),this._realignToolsLastParams={symbol:e,interval:t,currency:i,unit:s})}}},82927:(e,t,i)=>{"use strict";i.d(t,{StudyOverlayBase:()=>le});var s=i(88537),r=i(49483),n=i(98125),o=i(66101),a=i(8175),l=i(63948),c=i(37667),h=i(2015),d=i.n(h),u=i(19234),p=i(67337),_=i(90810),m=i(14791),g=i(59100),f=i(9315),v=i(71053),S=i(80643),y=i(69927),b=i(52714),w=i.n(b),C=i(33291),P=i(190),T=i(42169),x=i(97938),I=i(3825),M=i(74477);const L=p.enabled("force_exchange_as_title");class A extends x.PriceAxisView{constructor(e){super(),this._source=e}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._source.lastValueData("close",!1);if(s.noData)return;const r=this._source.model(),n=this._source.priceScale();if(null===n)return;if(!r.isPriceScaleVisible(n))return;i.background=s.color,i.textColor=this.generateTextColor(s.color),i.coordinate=s.coordinate,i.floatCoordinate=s.floatCoordinate;const o=this._source.model().properties().childs().scalesProperties.childs();o.showSeriesLastValue.value()&&(e.text=(0,M.getCurrentModePriceText)(n,s),o.seriesLastValueMode.value()!==I.PriceAxisLastValueMode.LastPriceAndPercentageValue?e.secondLine="":e.secondLine=(0,M.getOppositeModePriceText)(n,s),e.visible=!0),t.text="",o.showSymbolLabels.value()&&(t.text=this._paneText(),t.visible=t.text.length>0)}_paneText(){let e="";const t=this._source.symbolInfo();return L?e=(0,c.displayedSymbolExchange)(t):this._source.model().properties().childs().scalesProperties.childs().showSymbolLabels.value()&&(e=(0,c.displayedSymbolName)(t)),e}}var E=i(55057);class k extends E.PriceLineAxisView{constructor(e){super(),this._study=e}_value(){return this._study.lastValueData("",!0)}_priceLineColor(e){return e}_lineWidth(){return 1}_isVisible(){const e=this._study.model().properties().childs().scalesProperties.childs().showSeriesLastValue.value();return this._study.properties().childs().showPriceLine.value()&&e}}var D=i(43891),V=i(40254);class B{constructor(e){this._lineRenderer=new V.HorizontalLineRenderer,this._visible=!1,this._source=e}update(){if(this._visible=!1,!this._source.properties().childs().showPriceLine.value())return;const e=this._source.lastValueData("",!0);e.noData||(this._visible=!0,this._lineRenderer.setData({y:e.coordinate,color:e.color,linewidth:1,linestyle:D.LINESTYLE_DOTTED,visible:this._visible}))}renderer(){return this._visible?this._lineRenderer:null}}var N=i(93751),R=i(14445),O=i(44601),F=i(85733),W=i(22458);const H=r.CheckMobile.any();class z extends R.DataWindowView{constructor(e,t){super(),this._invalidated=!0,this._study=e,this._model=t,this._valueProvider=this._createValuesProvider(e,t), -this._items=this._valueProvider.getItems().map(e=>new R.DataWindowItem(e.title,"")),this.update()}items(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._items}update(){this._invalidated=!0}study(){return this._study}_updateImpl(){this._header=this._study.title();let e;this._showLastPriceAndChangeOnly()?e=this._study.data().lastIndex():(e=this._model.crossHairSource().appliedIndex(),(0,N.isNumber)(e)||(e=this._study.data().lastIndex()));const t=this._valueProvider.getValues(e);for(let e=0;ee||t,i.showBarChange,i.showSeriesOHLC),this._visibilityProperty.subscribe(this,this.update)}areValuesVisible(){return this._visibilityProperty.value()}additional(){return this._additional}destroy(){this._backgroundColorSpawn.destroy(),this._visibilityProperty.destroy()}_updateImpl(){super._updateImpl()}_createValuesProvider(e,t){return new U.OverlayLegendValuesProvider(e,t)}}var q=i(28978),Y=i(66919),K=i(85224),$=i(33837),X=i(34041),Z=i(35251),J=i(30076),Q=i(59153);const ee=r.CheckMobile.any()&&!1,te=p.enabled("uppercase_instrument_names"),ie=p.enabled("study_overlay_compare_legend_option"),se=p.enabled("secondary_series_extend_time_scale"),re=p.enabled("hide_unresolved_symbols_in_legend"),ne=!p.enabled("hide_study_overlay_legend_item"),oe=(0,n.getLogger)("Chart.StudyOverlay");function ae(e,t){return null==e[t]}class le extends o.Study{constructor(e,t,i,s){super(e,function(e){return e.hasChild("currencyId")||e.addChild("currencyId",new(d())(null)),e.hasChild("unitId")||e.addChild("unitId",new(d())(null)),e.addExclusion("currencyId"),e.addExclusion("unitId"),e}(t),i,s),this._quotesProvider=new _.QuotesProvider,this._seriesSource=null,this._symbolResolvingActive=new(w())(!1),this._symbolHibernated=new(w())(!1),this._styleToRecover=null,this._isActingAsSymbolSource=new(w())(!0),this._realignToolsLastParams=null,this.m_data=new v.PlotList((0,l.seriesPlotFunctionMap)(),ae),ee&&this._quotesProvider.quotesUpdate().subscribe(this,this._onQuotesUpdate);const r=this.properties().childs();r.currencyId.subscribe(this,this._onCurrencyChanged),r.unitId.subscribe(this,this._onUnitChanged),r.allowExtendTimeScale.subscribe(this,this._onAllowExtendTimeScaleChanged),this._onAllowExtendTimeScaleChanged(),r.style.subscribe(this,this._onChartStyleChanged), -r.lineStyle.childs().priceSource.subscribe(this,this._updateBarFunction),r.areaStyle.childs().priceSource.subscribe(this,this._updateBarFunction),r.baselineStyle.childs().priceSource.subscribe(this,this._updateBarFunction),r.columnStyle.childs().priceSource.subscribe(this,this._updateBarFunction),this._updateBarFunction(),this._formatter=null,e.mainSeries().onIntervalChanged().subscribe(this,()=>e.realignLineTools(this))}destroy(){this._model.mainSeries().onIntervalChanged().unsubscribeAll(this),super.destroy()}isActingAsSymbolSource(){return this._isActingAsSymbolSource.readonly()}properties(){return this._properties}setSymbolParams(e){this._setSymbolParamsInternal(e)}symbol(){return this.properties().childs().inputs.childs().symbol.value()}setSymbol(e){this.setSymbolParams({symbol:e})}symbolInfo(){if(!this._resolvedSymbols)return null;const e=this._properties.inputs.symbol.value();if(!e)return null;let t;return t=this._resolvedSymbols[this._getSymbolForResolve(e)]||null,t}supportsPressedChunks(){return!1}pressedChunks(e,t){throw new Error("Pressed chunks are not supported")}data(){return null===this._seriesSource?super.data():this._seriesSource.data().bars()}symbolResolved(){return this.symbolsResolved()}symbolResolvingActive(){return this._symbolResolvingActive}symbolHibernated(){return this._symbolHibernated}isVisible(){const e=super.isVisible();return this._symbolHibernated.setValue(!e),e}symbolSameAsCurrent(e){return(0,m.symbolSameAsCurrent)(e,this.symbol(),this.symbolInfo())}priceSource(){switch(this._properties.style.value()){case 2:return this._properties.lineStyle.priceSource.value();case 3:return this._properties.areaStyle.priceSource.value();case 10:return this._properties.baselineStyle.priceSource.value();case 13:return this._properties.columnStyle.priceSource.value()}return null}barFunction(){return this._barFunction}quotes(){return this._quotesProvider.quotes()}currency(){return this._properties.currencyId.value()||null}setCurrency(e){this.setSymbolParams({currency:e})}isConvertedToOtherCurrency(){return(0,c.isConvertedToOtherCurrency)(this.symbolInfo())}unit(){return this._properties.unitId.value()||null}setUnit(e){this.setSymbolParams({unit:e})}isConvertedToOtherUnit(){return(0,c.isConvertedToOtherUnit)(this.symbolInfo(),this._model.unitConversionEnabled())}style(){return this.properties().childs().style.value()}setStyle(e){this.setSymbolParams({style:e})}interval(){return this._model.mainSeries().interval()}setInterval(e){}symbolSource(){return this}state(e,t){const i=super.state(e,t);return this._model.unitConversionEnabled()||delete i.state.unitId,e&&((0,s.ensureDefined)(i.data).symbols={___snapshot:this.symbolInfo()||void 0}),i}symbolTitle(e,t){return this.title(!0,{},!1,e)}title(e,t,i,s){const r=this._titleInParts(e,t,i,s).join(", ");return te?r.toUpperCase():r}titleInParts(e,t,i,s){const r=this._titleInParts(e,t,i,s).join(", ");return[te?r.toUpperCase():r]}isStarted(){return null===this._seriesSource?super.isStarted():this._seriesSource.isStarted()}sourceId(){ -return null===this._seriesSource?super.sourceId():(0,s.ensureNotNull)(this._seriesSource.instanceId())}moveData(e){null===this._seriesSource?super.moveData(e):this._seriesSource.moveData(e)}firstValue(){const e=this._model.timeScale().visibleBarsStrictRange();if(null===e)return null;const t=e.firstBar();if(0===this.data().size())return this._ownFirstValue;const i=this.data().search(t,v.PlotRowSearchMode.NearestRight,1);return this._ownFirstValue=null!==i?this._barFunction(i.value):null,this._ownFirstValue}lastValueData(e,t,i){const s={noData:!0},r=this.priceScale();if(this._model.timeScale().isEmpty()||null===r||r.isEmpty()||this.data().isEmpty())return s;const n=this._model.timeScale().visibleBarsStrictRange();if(null===n)return s;const o=this.properties().childs();if(!o.visible.value())return s;const a=this.nearestIndex(n.lastBar(),v.PlotRowSearchMode.NearestLeft,1);if(void 0===a)return s;const l=this.firstValue();if(null===l)return s;const c=this._lastNonEmptyPlotRow(4),h=null!==c&&n.contains(c.index),d=null!==c?c.value:null,u=t||h?d:this.data().valueAt(a);if(null===u)return s;const p=this._barFunction(u);if(!(0,S.isNumber)(p))return s;const _=r.priceToCoordinate(p,l);let m;switch(o.style.value()){case 0:m=u[1]<=u[4]?o.barStyle.childs().upColor.value():o.barStyle.childs().downColor.value();break;case 1:case 9:m=u[1]<=u[4]?o.candleStyle.childs().upColor.value():o.candleStyle.childs().downColor.value();break;case 13:m=u[1]<=u[4]?o.columnStyle.childs().upColor.value():o.columnStyle.childs().downColor.value();break;case 2:m=o.lineStyle.childs().color.value();break;case 3:m=o.areaStyle.childs().color1.value();break;case 10:{const e=o.baselineStyle.childs();m=_(0,s.ensureNotNull)(this.priceScale()).height(),color:()=>e.baselineColor.value(),baseLevelPercentage:()=>e.baseLevelPercentage.value()});break}}r&&this._paneViews.push(r),null!==i&&this._paneViews.push(i),this._paneViews.push(new B(this)), -this._dataWindowView||(this._dataWindowView=new z(this,this._model)),this._legendView||(this._legendView=new G(this,this._model)),this._statusView||(this._statusView=new P.StudyStatusView(this)),this._priceAxisViews=[...this._priceAxisViewsBase],this._labelPaneViews.push(new q.PanePriceAxisView(e,this,this._model))}_createStudyOnServer(){null===this._seriesSource?super._createStudyOnServer():this._modifyStudyOnServer((0,s.ensureDefined)(this._inputs)),this._realignLineToolsIfParamsChanged()}_modifyStudyOnServer(e){null===this._seriesSource?super._modifyStudyOnServer(e):(this._seriesSource.modifySeries((0,u.decodeExtendedSymbol)(e.symbol),(0,f.getServerInterval)(this._series.properties().childs().interval.value())),this._seriesSource.isStarted()||this._seriesSource.start())}_stopStudyOnServer(){null===this._seriesSource?super._stopStudyOnServer():this._seriesSource.stop()}_titleInParts(e,t,i,s){const r=this.symbolInfo();let n;if(r){if(n=r.name,ie)switch(this._model.mainSeries().symbolTextSourceProxyProperty().value()){case"description":n=r.description;break;case"ticker-and-description":n=`${r.name}, ${r.description}`}const e=!s&&(0,c.getStudySymbolExchange)(r);if(e)return[n,[e]]}else n=re?"":this.properties().childs().inputs.childs().symbol.value();return[n]}_onAllowExtendTimeScaleChanged(){const e=this.isStarted();if(e&&this.stop(!0),se&&this.properties().childs().allowExtendTimeScale.value()){this._seriesSource=new g.SeriesDataSource(this._model.chartApi(),"st_o_");const e=this._seriesSource.dataEvents();e.seriesError().subscribe(this,e=>{this._onStudyError(this._convertSeriesErrorToStudy(e))}),e.loading().subscribe(this,this._onStudyLoading),e.completed().subscribe(this,(e,t)=>{this._onStudyCompleted(t)}),e.dataUpdated().subscribe(this,()=>{this._studyModified=!1;const e=this._model.paneForSource(this);this._model.recalculatePane(e,(0,C.dataSourceChangeEvent)(this.id())),this._updateSources(),this.priceRangeReady()||this._enablePriceRangeReady()})}else{if(null!==this._seriesSource){const e=this._seriesSource.dataEvents();e.seriesError().unsubscribeAll(this),e.loading().unsubscribeAll(this),e.completed().unsubscribeAll(this),e.dataUpdated().unsubscribeAll(this),this._seriesSource.destroy()}this._seriesSource=null}e&&this.start(!0)}_convertSeriesErrorToStudy(e){return{error:e.error,ctx:e.ctx,solution_id:e.solution_id}}_setSymbolParamsInternal(e,t){const{symbol:i,currency:s,unit:r,style:n}=e,o=this.properties().childs(),a=o.inputs.childs().symbol.value(),l=o.currencyId.value(),h=o.unitId.value(),d=o.style.value();if(void 0!==i&&i!==a&&o.inputs.childs().symbol.setValueSilently(i),void 0!==s&&s!==l&&o.currencyId.setValueSilently(s),void 0!==r&&r!==h&&o.unitId.setValueSilently(r),void 0!==n&&o.style.setValueSilently(n),t)this._resolvedSymbolsByInput[this.symbol()]=t,this._resolvedSymbols[this._getSymbolForResolve(this.symbol())]=t,this._realignToolsLastParams=null;else{const e=this.symbolInfo();null!==e&&(o.currencyId.setValueSilently((0,c.symbolCurrency)(e)),o.unitId.setValueSilently((0, -c.symbolUnit)(e,this._model.unitConversionEnabled())))}o.inputs.childs().symbol.value()!==a&&o.inputs.childs().symbol.listeners().fire(o.inputs.childs().symbol),o.currencyId.value()!==l&&o.currencyId.listeners().fire(o.currencyId),o.unitId.value()!==h&&o.unitId.listeners().fire(o.unitId),o.style.value()!==d&&o.style.listeners().fire(o.style),this._checkStyle(),this._realignLineToolsIfParamsChanged()}_updateBarFunction(){var e;const t=null!==(e=this.priceSource())&&void 0!==e?e:"close";this._barFunction=(0,l.barFunction)(t)}_onChartStyleChanged(){var e;this._updateBarFunction(),(null===(e=this._styleToRecover)||void 0===e?void 0:e.originalStyle)!==this.style()&&(this._styleToRecover=null)}_checkStyle(){const e=this.style();(0,c.isCloseBasedSymbol)(this.symbolInfo())?(0,c.isSingleValueBasedStyle)(e)||(this.setStyle(2),this._styleToRecover={correctedStyle:this.style(),originalStyle:e}):null!==this._styleToRecover&&(this.setStyle(this._styleToRecover.originalStyle),this._styleToRecover=null)}_realignLineToolsIfParamsChanged(){const e=this.symbol(),t=this.interval(),i=this.currency(),s=this.unit();null!==this._realignToolsLastParams&&this._realignToolsLastParams.symbol===e&&this._realignToolsLastParams.interval===t&&this._realignToolsLastParams.currency===i&&this._realignToolsLastParams.unit===s||(this._model.realignLineTools(this),this._realignToolsLastParams={symbol:e,interval:t,currency:i,unit:s})}}},41855:(e,t,i)=>{"use strict";i.d(t,{StudyPriceAxisView:()=>r});var s=i(97938);class r extends s.PriceAxisView{constructor(e,t){super(),this._model=e.model(),this._source=e,this._data=t}_updateRendererData(e,t,i){e.visible=!1,t.visible=!1;const s=this._source.model(),r=this._source.priceScale();if(null===r)return;if(!s.isPriceScaleVisible(r))return;const n=this._source.lastValueData(this._data.plotIndex,!1);if(n.noData)return;i.background=n.color;let o=n.color;"transparent"===o&&(o=this._model.properties().childs().scalesProperties.childs().backgroundColor.value()),i.textColor=this.generateTextColor(o),i.coordinate=n.coordinate,i.floatCoordinate=n.floatCoordinate,this._showAxisLabel()&&(e.text=n.text,e.visible=!0),this._updatePaneRendererData(t)}_showPaneLabel(){return!!this._model.properties().childs().scalesProperties.childs().showStudyPlotLabels.value()&&this._source.properties().showLabelsOnPriceScale.value()}_showAxisLabel(){return!!this._model.properties().childs().scalesProperties.childs().showStudyLastValue.value()&&this._source.properties().showLabelsOnPriceScale.value()}_updatePaneRendererData(e){e.text="",this._showPaneLabel()&&(e.text=this._source.priceLabelText(this._data.plotIndex),e.visible=!0)}}},59572:(e,t,i)=>{"use strict";i.d(t,{applyOverridesToStudy:()=>c,applyOverridesToStudyDefaults:()=>h});var s=i(88537),r=i(50993);const n=(0,i(98125).getLogger)("Chart.Model.StudyPropertiesOverrider");var o,a;function l(e,t,i,s){const r=i.split(".");if(0===r.length||0===r[0].length)return;const l=function(e){const t=e.split(":");return{name:t[0],type:2===t.length?t[1]:null} -}(r[0]),c=l.name,h=l.type,d=null!==h,u=!d||"band"===h,p=!d||"area"===h,_=!d||"input"===h,m=!d||"plot"===h?a.getPlotIdByTitle(e,c):null,g=u?a.getBandIndexByName(e,c):null,f=p?a.getFilledAreaIdByTitle(e,c):null,v=_?a.getInputByName(e,c):null,S=t.hasOwnProperty(c);if((null!==m?1:0)+(null!==g?1:0)+(null!==f?1:0)+(null!==v?1:0)+(S?1:0)>1)return void n.logWarn(`Study '${e.description}' has ambiguous identifier '${c}'`);const y=r[1];if(null!==m){if(1===r.length)return void n.logWarn(`Path of sub-property of '${c}' plot for study '${e.description}' must be not empty`);const i=r.slice(1);o.applyPlotProperty(e,t,m,i,s)}else if(null!==v)o.applyInputValue(t,v,s);else if(null!==g){if(void 0===y)return void n.logWarn(`Property name of '${c}' band for study '${e.description}' must be set`);o.applyBandProperty(t,g,y,s)}else if(null!==f){if(void 0===y)return void n.logWarn(`Property name of '${c}' area for study '${e.description}' must be set`);o.applyFilledAreaProperty(t,f,y,s)}else S?o.setRootProperty(t,r,s):n.logWarn(`Study '${e.description}' has no plot or input '${c}'`)}function c(e,t){const i=e.properties(),s=i.state();for(const i in t)t.hasOwnProperty(i)&&l(e.metaInfo(),s,i,t[i]);i.mergeAndFire(s)}function h(e,t,i){for(const s in e){if(!e.hasOwnProperty(s))continue;const r=s.indexOf(".");if(-1===r)continue;const o=s.substring(0,r),c=a.getMetaInfoByDescription(t,o);if(null===c){n.logWarn("There is no such study "+o);continue}const h=i(c);null!==h?l(c,h,s.substring(r+1),e[s]):n.logWarn("Cannot apply overrides for study "+o)}}!function(e){const t={line:r.LineStudyPlotStyle.Line,histogram:r.LineStudyPlotStyle.Histogram,cross:r.LineStudyPlotStyle.Cross,area:r.LineStudyPlotStyle.Area,columns:r.LineStudyPlotStyle.Columns,circles:r.LineStudyPlotStyle.Circles,line_with_breaks:r.LineStudyPlotStyle.LineWithBreaks,area_with_breaks:r.LineStudyPlotStyle.AreaWithBreaks};e.applyPlotProperty=function(e,i,o,a,l){if(void 0===i.styles)return void n.logWarn("Study does not have styles");const c=a[0];if("color"===c){return void function(e,t,i,r,o){if(void 0!==e.styles)if(null===t&&!isNaN(r)&&r>0)n.logWarn("Study plot does not have color #"+r);else{if(0===r||isNaN(r)){(0,s.ensureDefined)(e.styles[i]).color=String(o),r=0}null!==t&&((0,s.ensureDefined)(t.colors[r]).color=String(o))}else n.logWarn("Study does not have styles")}(i,function(e,t,i){if(void 0===e.plots)return null;for(const s of e.plots){if(!(0,r.isColorerPlot)(s)||void 0===t.palettes)continue;const e=t.palettes[s.palette];if(s.target===i&&void 0!==e)return e}return null}(e,i,o),o,a.length>1?parseInt(a[1]):NaN,l)}const h=i.styles[o];if(void 0!==h&&h.hasOwnProperty(c)){if("plottype"===c){const e=t[String(l)];if(void 0===e)return void n.logWarn("Unsupported plot type for plot: "+l);l=e}h[c]=l}else n.logWarn(`Study plot does not have property '${c}'`)},e.applyBandProperty=function(e,i,s,r){if(void 0===e.bands)return void n.logWarn("Study does not have bands");const o=e.bands[i];if(void 0!==o&&o.hasOwnProperty(s)){if("plottype"===s){const e=t[String(r)] -;if(void 0===e)return void n.logWarn("Unsupported plot type for band: "+r);r=e}o[s]=r}else n.logWarn(`Study band does not have property '${s}'`)},e.applyFilledAreaProperty=function(e,t,i,s){if(void 0===e.filledAreasStyle)return void n.logWarn("Study does not have areas");const r=e.filledAreasStyle[t];void 0!==r&&r.hasOwnProperty(i)?r[i]=s:n.logWarn(`Study area does not have property '${i}'`)},e.applyInputValue=function(e,t,i){void 0!==e.inputs&&e.inputs.hasOwnProperty(t)?e.inputs[t]=i:n.logWarn(`Study does not have input '${t}'`)},e.setRootProperty=function(e,t,i){if(0===t.length)return;let s=e;for(const e of t.slice(0,-1)){if(null==s||!s.hasOwnProperty(e))break;s=s[e]}const r=t[t.length-1];null!=s&&s.hasOwnProperty(r)?s[r]=i:n.logWarn("Study does not have property "+t.join("."))}}(o||(o={})),function(e){e.getInputByName=function(e,t){if(void 0===e.inputs)return null;t=t.toLowerCase();for(const i of e.inputs)if(i.name.toLowerCase()===t)return i.id;return null},e.getPlotIdByTitle=function(e,t){if(void 0===e.styles)return null;t=t.toLowerCase();for(const i in e.styles){const s=e.styles[i];if((void 0!==s&&void 0!==s.title?s.title:i).toLowerCase()===t)return i}return null},e.getFilledAreaIdByTitle=function(e,t){if(void 0===e.filledAreas)return null;t=t.toLowerCase();for(const i of e.filledAreas)if(i.title.toLowerCase()===t)return i.id;return null},e.getBandIndexByName=function(e,t){if(void 0===e.bands)return null;t=t.toLowerCase();for(let i=0;i{"use strict";var s=i(2015),r=i(2872),n=i(88537).assert,o=i(37667).symbolTitle,a=i(33981).StudyBarColorer,l=i(41855).StudyPriceAxisView,c=i(54376).createGraphicsPriceAxisViews,h=i(84801).ChartApiInterface,d=i(88564).DefaultProperty,u=i(97098).PriceFormatter,p=i(71053).PlotList,_=i(67072),m=i(76422),g=i(50993),f=g.LineStudyPlotStyle,v=i(55057).StudyPriceLineAxisView,S=i(8671).studyPlotFunctionMap,y=i(8671).studyEmptyPlotValuePredicate,b=i(72857).makeNextStudyId,w=i(67337),C=i(69774).StudyBase,P=i(13933);const{dataSourceChangeEvent:T}=i(33291);var x=i(20838).IntervalsVisibilitiesProperty,I=P.StudyStatusType,M=i(68906).colorToInteger,L=i(52418).intervalsVisibilitiesDefaults,A=i(98125).getLogger("Chart.Study"),E=w.enabled("datasource_copypaste"),k=w.enabled("study_symbol_ticker_description"),D=w.enabled("hide_unresolved_symbols_in_legend");function V(e,t,i){var s=new d(t,i,!0);s.removeProperty("intervalsVisibilities"),s.addChild("intervalsVisibilities",new x(i&&i.intervalsVisibilities)),s.addExclusion("visible"),s.addExclusion("precision"),s.addExclusion("minTick"),s.addExclusion("intervalsVisibilities");for(var r=0;r=0?c:l}return l}if(this._metaInfo.isTVScript||this._metaInfo.pine){if("text"===i)return this._metaInfo.defaults.inputs.text;if("pineId"===i)return this._metaInfo.scriptIdPart;if("pineVersion"===i)return this._metaInfo.pine?this._metaInfo.pine.version:"-1";if("color"===e.type&&this._metaInfo.isRGB){var h=this._properties.inputs[i].value();return M(h)}if("price"===e.type){var d=this._properties.inputs[i].value();return t.priceInputsForDisplay?this.formatter().format(d):d}return this._properties.inputs[i].value()}return this._properties.inputs[i].value()}_rebindToSource(e,t){var i=this.parentSource();if(this._isChildStudy){var s;this._source.unsetChild(this);var r=null;if(e===this._model.mainSeries())this._source=null,this._isChildStudy=!1,this._ownerSource=null,s=this._series.seriesSource().instanceId(),r=h.REBIND_STUDY_CHILD_TO_STANDALONE;else{if(!(e instanceof R))return A.logError("Unable to rebind study to source of this type"),!1;this._ownerSource=e,this._source=e,s=this._source.sourceId(),this._source.setChild(this),this._source.isHibernated()&&this._source.start()}this._incrementTurnaround(),this.disablePriceRangeReady(),this._chartApi.rebindStudy(this._studyId,this._turnaround,s,this._studyName,t,this._handler,r)}else{if(!(e instanceof R))return A.logError("Unable to rebind study to source of this type"),!1;var n=e.isHibernated();n&&e.start();var o=!1;if(this._canCreateStudyWithRebindType(h.REBIND_STUDY_STANDALONE_TO_CHILD)&&(this._incrementTurnaround(),this.disablePriceRangeReady(),o=this._chartApi.rebindStudy(this._studyId,this._turnaround,e.sourceId(),this._studyName,t,this._handler,h.REBIND_STUDY_STANDALONE_TO_CHILD)),!o)return n&&e.stop(),!1;this._isChildStudy=!0,this._ownerSource=e,this._source=e,this._source.setChild(this),this._childStudyByRebind.fire()}var a=this.m_priceScale,l=e.priceScale();if(a!==l){var c=this._model.paneForSource(this),d=this._model.paneForSource(e);c===d&&d.move(this,l,!0)}const u=this.parentSource() -;return i.formatterChanged().unsubscribe(this,this._onSourceFormatterChanged),u.formatterChanged().subscribe(this,this._onSourceFormatterChanged),i.priceStepChanged().unsubscribe(this,this._onSourcePriceStepChanged),u.priceStepChanged().subscribe(this,this._onSourcePriceStepChanged),i.currencyChanged().unsubscribeAll(this),u.currencyChanged().subscribe(this,this._onSourceCurrencyChanged),i.unitChanged().unsubscribeAll(this),u.unitChanged().subscribe(this,this._onSourceUnitChanged),i.priceRangeReadyChanged().unsubscribeAll(this),u.priceRangeReadyChanged().subscribe(this,this._onSourcePriceRangeReadyChanged),this._recreatePriceFormattingDependencies(),!0}childStudyByRebind(){return this._childStudyByRebind}_changeInputsImpl(e,t){var i=this.source(),s=this._properties.inputs&&this._properties.inputs.state(),r=_.getSourceIdByInputs(this._metaInfo.inputs,s),n=!0;if(r)if("high"===r||"open"===r||"low"===r||"close"===r||"hl2"===r||"ohl3"===r||"ohlc4"===r)i=this._model.mainSeries();else for(var o=this._model.dataSources().filter((function(e){return e instanceof R&&e.canHaveChildren()})),a=0;a=0&&(e="_v"+this._metaInfo.pine.version),{symbol:this.series().actualSymbol(),resolution:this.series().interval(),study:this._metaInfo.shortId+e}}_sendTelemetryReport(e,t,i){void 0===i&&(i=this._getTelemetryAdditionalData());var s=Object.assign(t,{additional:i});(void 0).sendChartReport(e,s)}_sendTelemetryCounter(e,t){this._sendTelemetryReport(e,{count:1},t)}onAboutToBeDestroyed(){return this._aboutToBeDestroyed}destroy(){this._aboutToBeDestroyed.fire(), -this._isDestroyed=!0,null!==this._definitionsViewModel&&(this._definitionsViewModel.destroy(),this._definitionsViewModel=null),this._properties.precision.listeners().unsubscribe(this,this._precisionChanged),this._showStudyArgumentsProperty.listeners().unsubscribe(this,this.invalidateTitleCache),this._properties.description.listeners().unsubscribe(this,this.invalidateTitleCache),this._properties.shortDescription&&this._properties.shortDescription.listeners().unsubscribe(this,this.invalidateTitleCache),this._model.mainSeries().dataEvents().symbolResolved().unsubscribeAll(this),this.hasBarColorer()&&this._properties.visible.listeners().unsubscribe(this._model.mainSeries(),this._model.mainSeries().invalidateBarStylesCache),this._model.mainSeries().dataEvents().symbolResolved().unsubscribe(this,this._recreatePriceFormattingDependencies),void 0!==this._properties.offsets&&this._properties.offsets.listeners().unsubscribe(this,this._updateMaxOffsetValue),void 0!==this._properties.offset&&this._properties.offset.listeners().unsubscribe(this,this._updateMaxOffsetValue),super.destroy()}desiredPriceScalePosition(){return this.metaInfo().isTVScriptStub?"overlay":this.metaInfo().linkedToSeries?"as-series":void 0===this.metaInfo().priceScale?null:["right","left","overlay"][this.metaInfo().priceScale]}guiPlotName(e){var t=this.properties().styles;return t&&t[e]&&t[e].title?t[e].title.value():this.title()}formatterChanged(){return this._formatterChanged}copiable(){return E&&!this.isChildStudy()}setPriceScale(e){super.setPriceScale(e),m.emit("study_event",this.id(),"price_scale_changed")}getStudyName(){return this._studyName}}TradingView.Study=R,t.Study=R,t.prepareStudyProperties=function(e,t,r,o,a){return function(e,t,r,o,a,l){var c=function(e,t,r,o){var a=i(31752);if(_.versionOf(e)<1)throw new Error("This function cannot work with metainfo of the old format version. Required format version >= 1");var l=TradingView.clone(defaults("study"));B(l,e);var c=_.getStudyPropertyRootName(e),h=TradingView.clone(defaults(c,o));h.intervalsVisibilities=TradingView.clone(L),("Overlay"===e.shortId||"Compare"===e.shortId)&&(h.currencyId=null,h.unitId=null);e.isTVScript&&e.TVScriptSourceCode!==h.TVScriptSourceCode&&(h=TradingView.clone(TradingView.factoryDefaults(c,o)));TradingView.merge(l,h),t&&(n(!(t instanceof s),"propsState should not be an instance of Property"),TradingView.merge(l,t));var d=TradingView.clone(e),u={};a.mergeInputsObjPart(u,d.defaults.inputs),a.mergeInputsObjPart(u,l.inputs),l.inputs=u,delete d.inputs,delete d.defaults.inputs;var p={};if(TradingView.merge(p,d.defaults),TradingView.merge(p,TradingView.factoryDefaults(c)),TradingView.merge(p,l),TradingView.merge(p,d),delete p.defaults,l=p,null!==r){var m=r.model().studiesColorRotatorFactory().getColorRotator(e);null!==m&&("Overlay@tv-basicstudies"===e.id?l.lineStyle.color=m.getColor(l.lineStyle.color,e):TradingView.merge(l,function(e,t){for(var i in e.styles){var s=e.styles[i].color;s&&(e.styles[i].color=t.getColor(s))}return e}(l,m)))}t&&TradingView.merge(l.styles,t.styles) -;return l}(e,t,r,o),h=_.getSourceInputIds(e);if(h.length>0){var d=h[0];l instanceof R?c.inputs[d]="{pid}$0":void 0!==c.inputs[d]&&-1!==c.inputs[d].indexOf("$")&&(c.inputs[d]="close")}return V(e,a,c)}(e,t,r,o,_.getStudyPropertyRootName(e),a)},t.prepareStudyPropertiesForLoadChart=function(e,t,s,r,n,o){return function(e,t,s,r,n,o,a){var l=function(e,t,s,r,n,o){var a=i(31752);e.version&&s.version&&e.version!==s.version&&A.logWarn("Serialized metaInfo version "+e.version+" is not equal to the saved state version "+s.version);var l=TradingView.clone(defaults("study"));l.intervalsVisibilities=TradingView.clone(L),TradingView.merge(l,TradingView.factoryDefaults(_.getStudyPropertyRootName(e))),B(l,e),TradingView.merge(l,s),l=n.updateStudyState(l,e,t),void 0!==o&&(l=o(s,l,e,t));var c=TradingView.clone(t||e);if(c&&_.versionOf(c)>=1){var h={};a.mergeInputsObjPart(h,(c.defaults||{}).inputs),a.mergeInputsObjPart(h,l.inputs),l.inputs=h,delete c.inputs,c.defaults&&delete c.defaults.inputs;var d={};TradingView.merge(d,c.defaults),TradingView.merge(d,TradingView.factoryDefaults(_.getStudyPropertyRootName(c))),TradingView.merge(d,l),delete c.defaults,TradingView.merge(d,c),l=d}return l}(e,t,s,0,n,a);return V(t||e,o,l)}(e,t,s,0,n,_.getStudyPropertyRootName(e),o)}},56138:(e,t,i)=>{"use strict";i.d(t,{plotShapesData:()=>r});var s=i(28353);const r={shape_arrow_down:{guiName:(0,s.t)("Arrow Down"),id:"shape_arrow_down",paneRendererClass:"PaneRendererArrowDown",pineName:"shape.arrowdown",icon:"arrow_down"},shape_arrow_up:{guiName:(0,s.t)("Arrow Up"),id:"shape_arrow_up",paneRendererClass:"PaneRendererArrowUp",pineName:"shape.arrowup",icon:"arrow_up"},shape_circle:{guiName:(0,s.t)("Circle"),id:"shape_circle",paneRendererClass:"PaneRendererCircleShape",pineName:"shape.circle",icon:"circle"},shape_cross:{guiName:(0,s.t)("Cross"),id:"shape_cross",paneRendererClass:"PaneRendererCrossShape",pineName:"shape.cross",icon:"cross"},shape_diamond:{guiName:(0,s.t)("Diamond"),id:"shape_diamond",paneRendererClass:"PaneRendererDiamond",pineName:"shape.diamond",icon:"diamond"},shape_flag:{guiName:(0,s.t)("Flag"),id:"shape_flag",paneRendererClass:"PaneRendererFlagShape",pineName:"shape.flag",icon:"flag"},shape_label_down:{guiName:(0,s.t)("Label Down"),id:"shape_label_down",paneRendererClass:"PaneRendererLabelDown",pineName:"shape.labeldown",icon:"label_down"},shape_label_up:{guiName:(0,s.t)("Label Up"),id:"shape_label_up",paneRendererClass:"PaneRendererLabelUp",pineName:"shape.labelup",icon:"label_up"},shape_square:{guiName:(0,s.t)("Square"),id:"shape_square",paneRendererClass:"PaneRendererSquare",pineName:"shape.square",icon:"square"},shape_triangle_down:{guiName:(0,s.t)("Triangle Down"),id:"shape_triangle_down",paneRendererClass:"PaneRendererTriangleApexDown",pineName:"shape.triangledown",icon:"triangle_down"},shape_triangle_up:{guiName:(0,s.t)("Triangle Up"),id:"shape_triangle_up",paneRendererClass:"PaneRendererTriangleApexUp",pineName:"shape.triangleup",icon:"triangle_up"},shape_xcross:{guiName:(0,s.t)("X Cross"),id:"shape_xcross", -paneRendererClass:"PaneRendererXCross",pineName:"shape.xcross",icon:"x_cross"}}},27306:(e,t,i)=>{"use strict";var s=i(15625).Version,r=i(98125).getLogger("Chart.StudyMigration");function n(e){this._studyId=e,this._maxToVers=s.ZERO,this._maxFromVers=s.ZERO,this._migrs=[]}n.prototype.addMigration=function(e,t,i){var r=s.parse(e),n=s.parse(t);r.isGreater(this._maxFromVers)&&(this._maxFromVers=r),n.isGreater(this._maxToVers)&&(this._maxToVers=n),this._migrs.push({fromVers:r,toVers:n,rules:i})},n.prototype.updateInputs=function(e,t,i){if(!i)return i;for(var s=TradingView.clone(i),n=e;n.isLess(t);){var o=this._findMigration(n);if(null==o)break;if(r.logNormal("Migrating study inputs from "+o.fromVers+" to "+o.toVers+" version, studyId: "+this._studyId+", migration: "+JSON.stringify(o)+", inputs: "+JSON.stringify(i)),s=this._applyMigration(s,o),!n.isLess(o.toVers))throw new Error("Problems in study migration process... Possible infinite cycle has been detected and stopped.");n=o.toVers}return n>e&&r.logNormal("Study inputs migration is done, studyId: "+this._studyId+", inputs: "+JSON.stringify(s)),s},n.prototype._findMigration=function(e){for(var t=-1,i=this._maxFromVers,s=0;s=0||t.indexOf(e)>=0},n._applyInputChangedMinMaxRule=function(e,t){if("adjustValIfNeeded"!==t.action)throw new Error("Unknown action "+t.action+" for rule with type "+t.type) -;var i=e[t.inputId];return it.maxVal&&(e[t.inputId]=t.maxVal),r.logNormal("Input "+t.inputId+"="+i+" adjusted to value "+e[t.inputId]),e},n._applyInputChangedOptionsRule=function(e,t){if(!(["text"].indexOf(t.inputType)>=0&&"resetToDefValIfNeeded"===t.action))throw new Error("Unexpected rule.inputType="+t.inputType+" in rule.action="+t.action);var i=e[t.inputId];return t.options.indexOf(i)<0&&(e[t.inputId]=t.defVal,r.logNormal("Input "+t.inputId+"="+i+" reset to default value "+t.defVal)),e},e.exports=n},9771:(e,t,i)=>{"use strict";var s=i(66101).Study,r=i(52457).OverlayLegendValuesProvider,n=i(79284).OverlayStatusProvider,o=i(33981).SeriesBarColorer,a=i(82927).StudyOverlayBase;t.study_Overlay=class extends a{constructor(e,t,i,s){super(e,t,i,s),this._paneView=null;var r=this;this.properties().minTick.listeners().subscribe(null,(function(){r._recreatePriceFormattingDependencies(),r.updateAllViews(),r._model.fullUpdate()}))}_showLastValueOnPriceScale(){return this._model.properties().scalesProperties.showSeriesLastValue.value()}barColorer(){return new o(this)}_tryChangeInputs(){s.prototype._tryChangeInputs.call(this),this.m_formatter=null,this.priceScale().updateFormatter()}_onQuotesUpdate(e,t){!this._legendView||void 0===t.values.change&&void 0===t.values.change_percent||(this._legendView.update(),this._model.updateSource(this))}destroy(){this._quotesProvider.quotesUpdate().unsubscribeAll(this),this._quotesProvider.destroy(),super.destroy()}tags(){var e=[],t=this.symbolInfo();return t?e.push(t.name):this._properties.inputs.symbol.value()&&e.push(this._properties.inputs.symbol.value()),e}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(1369),i.e(7387),i.e(8623),i.e(607)]).then(i.bind(i,55976))).StudyOverlayDefinitionsViewModel}defaultPlotIdForAlert(){return""}changeStyles(){this.data().each((function(e,t){t[TradingView.STYLE_PLOT]=null})),s.prototype.changeStyles.call(this)}valuesProvider(){return new r(this,this.model())}statusProvider(e){return new n(this,this.model())}}},67509:(e,t,i)=>{"use strict";var s=i(88537).assert,r=i(80643).clone,n=i(66101).Study,o=i(71053).PlotList,a=i(8671).studyPlotFunctionMap,l=i(8671).studyEmptyPlotValuePredicate;class c{constructor(e,t,i){this._strategyPlotIndex=e,this._targetPlotIndex=t,this._startIndex=i}rebuildData(e){var t=this._targetPlotIndex+1,i=this._strategyPlotIndex+1,s=null,r=null;e.range(this._startIndex||e.firstIndex(),e.lastIndex()).each((function(n,o){var a=o[t],l=o[i]?Math.round(o[i]):null;if(o[t]=null,o[i]=null,!l||l>0)return!1;var c=n+l,h={pointIndex:c,value:a};if(r){if(r.pointIndex!==h.pointIndex){c>=0&&(e.valueAt(c)[t]=a);var d=!1;s&&(d=s.value<=r.value&&r.value<=a||s.value>=r.value&&r.value>=a),d?r.pointIndex>=0&&(e.valueAt(r.pointIndex)[t]=null):s=r,r=h}}else r=h;return!1}))}}t.study_ScriptWithDataOffset=class extends n{constructor(e,t,i,s){super(e,t,i,s),this._underlyingData=new o(a(s),l)}clearData(){super.clearData(),this._underlyingData.clear()}_mergeData(e){this._invalidateLastNonEmptyPlotRowCache() -;var t=this._underlyingData.firstIndex();this._underlyingData.merge(e),t!==this._underlyingData.firstIndex()&&(this.m_data=new o(a(this._metaInfo),l));var i=this.m_data.lastIndex();this._underlyingData.range(i,this._underlyingData.lastIndex()).each(function(e,t){return this.m_data.add(e,r(t)),!1}.bind(this)),this._plotsForStrategyProcessing().forEach((function(e){new c(e.strategyIndex,e.targetIndex,i).rebuildData(this.m_data)}),this)}_plotsForStrategyProcessing(){var e=[];return this._metaInfo.plots.forEach((function(t,i){if("dataoffset"===t.type){var r=this._metaInfo.plots.findIndex((function(e){return e.id===t.target}));s(r>=0,"target plot not found for strategy plot "+t.id);var n={strategyIndex:i,targetIndex:r};e.push(n)}}),this),e}}},31752:(e,t,i)=>{"use strict";var s=i(88537).assert,r=i(15625).Version,n=i(98125).getLogger("Chart.Study.Versioning"),o=i(76861),a=i(67072),l=i(14905).extractPineId,c=i(5402).migrateMetaInfoAndPropState;function h(e,t){if(!e)throw new Error("No studies metainfo");var s=i(27306);if(this._studiesMetainfo=e,!t)throw new Error("No studies migrations");this._studiesMigrations=t,this._migrations={};for(var r=0;r=22)return t;for(var i={},s=0,r=0;;){var n=t[r];if(void 0===n)break;var o=t[n.id];n.isFake&&(n.id="in_"+s++),i[r]=n,i[n.id]=o,r++}return i}]}h.prototype.updateMetaInfo=function(e){if(!e)return e;s(!e.isTVScript,"This method should update only built-in java indicators metaInfo. For Pine indicators use updateMetaInfoAsync");for(var t=null,i=this._studiesMetainfo,r=0;r=12&&l<=26){var c={};for(o=0;o=12&&c<=26){var d=r.columns;r.columns=[];for(var u=0;ut&&n.logWarn("Bad integer input max value in metaInfo id="+e.id+" title="+e.description))}},h._fixInputsMaxValue=function(e,t){if(!TradingView.isAbsent(t)){var i=h.INPUT_MAX_VALUE;if(t.inputs)for(var s=0;si&&(a.max=i))}if(e&&e.inputs){var r=h.splitInputs(e.inputs),n=r.arr;for(var o in n){var a;"integer"===(a=n[o]).type&&(a.max&&a.max>i&&(a.max=i))}e.inputs=TradingView.merge(r.obj,r.arr)}}},h.prototype.patchPropsStateAndMetaInfo=function(e,t,i){"Script$BOOKER"!==t.productId||t.alerts||delete e.alerts,h._fixInputsOrder(e,t),h._fixInputsMaxValue(e,t);var s=h.splitInputs(e.inputs);e.inputs=s.obj;var r=a.versionOf(t);ri&&(i=r))}e[i+1]=t},h.splitInputs=function(e){var t={},i={};for(var s in e)isNumber(parseInt(s,10))?t[s]=e[s]:i[s]=e[s];return{arr:t,obj:i}},h.findInputKeyById=function(e,t){var i=null;for(var s in e)if(isNumber(parseInt(s,10))&&e[s].id===t){i=s;break}return i},h.getInputKeyById=function(e,t){var i=h.findInputKeyById(e,t);if(!i)throw new Error("Cannot find input with id: "+t);return i},e.exports=h},14791:(e,t,i)=>{"use strict";i.d(t,{areEqualSymbols:()=>r,symbolSameAsCurrent:()=>o});const s=i(67337).enabled("uppercase_instrument_names");function r(e,t){return void 0===e?void 0===t:void 0!==t&&(s?e.toUpperCase()===t.toUpperCase():e===t)}function n(e,t){return e.some(e=>r(t,e))}function o(e,t,i){if(r(t,e))return!0;if(i){if(r(i.full_name,e)||r(i.pro_name,e))return!0 -;if(r(i.ticker,e))return!0;if(i.aliases&&n(i.aliases,e))return!0;if(i.alternatives&&n(i.alternatives,e))return!0;if(0===e.indexOf("FRA:")&&r(i.pro_name,e.replace("FRA:","FWB:")))return!0}return!1}},76818:(e,t,i)=>{"use strict";i.d(t,{TextWidthCache:()=>s});class s{constructor(e=150){this._actualSize=0,this._usageTick=1,this._oldestTick=1,this._tick2Labels=new Map,this._cache=new Map,this._maxSize=e}reset(){this._actualSize=0,this._cache.clear(),this._usageTick=1,this._oldestTick=1,this._tick2Labels.clear()}measureText(e,t){return this.getMetrics(e,t).width}yMidCorrection(e,t){const i=this.getMetrics(e,t);return"actualBoundingBoxAscent"in i&&"actualBoundingBoxDescent"in i?(i.actualBoundingBoxAscent-i.actualBoundingBoxDescent)/2:0}getMetrics(e,t){const i=this._cache.get(t);if(void 0!==i)return i.metrics;if(this._actualSize===this._maxSize){const e=this._tick2Labels.get(this._oldestTick);this._tick2Labels.delete(this._oldestTick),this._cache.delete(e),this._oldestTick++,this._actualSize--}e.save(),e.textBaseline="middle";const s=e.measureText(t);return e.restore(),0===s.width&&t.length||(this._cache.set(t,{metrics:s,tick:this._usageTick}),this._tick2Labels.set(this._usageTick,t),this._actualSize++,this._usageTick++),s}}},5231:(e,t,i)=>{"use strict";var s=i(2872);function r(){this._marksByIndex=new Map,this._marksBySpan=[],this.changed=new s,this.minIndex=void 0,this.maxIndex=void 0}r.prototype.reset=function(){this._resetImpl(),this.changed.fire()},r.prototype._resetImpl=function(){this._marksByIndex=new Map,this._marksBySpan=[],this.minIndex=void 0,this.maxIndex=void 0,this._cache=void 0},r.prototype.merge=function(e){if(0!==e.length){var t=e[0].index,i=e[e.length-1].index;t<=this.minIndex&&i>=this.maxIndex&&this._resetImpl();for(var s=this._marksBySpan,r=new Set,n=0;n=this.maxIndex&&this.maxIndex--,this.maxIndex2;){if(1e3*this._marksByIndex.get(t).time===e)return t;if(1e3*this._marksByIndex.get(i).time===e)return i;var s=Math.round((t+i)/2);1e3*this._marksByIndex.get(s).time>e?i=s:t=s}return t},r.prototype.build=function(e,t){var i=Math.ceil(t/e);if(this._maxbar===i&&this._cache)return this._cache;this._maxbar=i;for(var s=[],r=this._marksBySpan.length;r--;)if(this._marksBySpan[r]){var n=s;s=[];for(var o=n.length,a=0,l=this._marksBySpan[r],c=l.length,h=1/0,d=-1/0,u=0;u=i&&_-d>=i&&(s.push(p),d=_)}for(;a{"use strict";i.d(t,{TimeAxisView:()=>o});var s=i(68906),r=i(93435);class n{constructor(){this._data=null}setData(e){this._data=e}draw(e,t,i){if(null===this._data||!this._data.visible||0===this._data.text.length)return;const s=this._data;e.font=t.font;const n=Math.round(t.widthCache.measureText(e,s.text));if(n<=0)return;e.save();const o=t.paddingHorizontal,a=n+2*o,l=a/2;let c=s.coordinate,h=Math.floor(c-l)+.5;if(s.alwaysInViewPort){const e=s.width;h<0?(c+=Math.abs(0-h),h=Math.floor(c-l)+.5):h+a>e&&(c-=Math.abs(e-(h+a)),h=Math.floor(c-l)+.5)}const d=h+a,u=Math.ceil(0+t.borderSize+t.offsetSize+t.paddingTop+t.fontSize+t.paddingBottom);e.fillStyle=s.background;const p=Math.round(h*i),_=Math.round(0*i),m=Math.round(d*i),g=Math.round(u*i),f=Math.round(2*i);e.beginPath(),e.moveTo(p,_),e.lineTo(p,g-f),e.arcTo(p,g,p+f,g,f),e.lineTo(m-f,g),e.arcTo(m,g,m,g-f,f),e.lineTo(m,_),e.fill();const v=0+t.borderSize+t.offsetSize+t.paddingTop+t.fontSize/2;e.textAlign="left",e.textBaseline="middle",e.fillStyle=s.color;const S=t.widthCache.yMidCorrection(e,"Apr0");e.translate((h+o)*i,(v+S)*i),(0,r.drawScaled)(e,i,()=>e.fillText(s.text,0,0)),e.restore()}}class o{constructor(e){this._renderer=new n,this._rendererData={background:"",color:"",coordinate:0,text:"",visible:!1,width:0, -alwaysInViewPort:!0},this._invalidated=!0,this._model=e,this._renderer.setData(this._rendererData)}update(){this._invalidated=!0}renderer(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._renderer}coordinate(){return this._rendererData.coordinate}_getAlwaysInViewPort(){return!0}_updateImpl(){const e=this._rendererData;if(e.visible=!1,this._model.timeScale().isEmpty()||!this._isVisible())return;const t=this._getIndex();if(null===t)return;e.visible=!0,e.width=this._model.timeScale().width(),e.background=this._getBgColor(),e.color=(0,s.colorFromBackground)(e.background),e.coordinate=this._model.timeScale().indexToCoordinate(t),e.alwaysInViewPort=this._getAlwaysInViewPort();const i=this._model.timeScale().indexToUserTime(t);e.text=null!==i?this._model.dateTimeFormatter().format(i):"",this._invalidated=!1}}},2271:(e,t,i)=>{"use strict";i.d(t,{INVALID_TIME_POINT_INDEX:()=>s});const s=-2e6},5816:(e,t,i)=>{"use strict";i.r(t),i.d(t,{MINUTE_SPAN:()=>s,HOUR_SPAN:()=>r,DAY_SPAN:()=>n,WEEK_SPAN:()=>o,MONTH_SPAN:()=>a,YEAR_SPAN:()=>l,DEFAULT_BAR_SPACING:()=>c});const s=20,r=30,n=40,o=50,a=60,l=70,c=6},23075:(e,t,i)=>{"use strict";i.d(t,{trackDrawingCreated:()=>r,trackDrawingPasted:()=>n,trackDrawingCloned:()=>o,trackChartStyleChanged:()=>a});i(88537),i(16654);function s(e,t){0}function r(e){s()}function n(e){s()}function o(e){s()}function a(e){0}},35218:(e,t,i)=>{"use strict";i.d(t,{translatedIntervalString:()=>r});i(28353);var s=i(9315);function r(e){const t=(0,s.getTranslatedResolutionModel)(e,!0);return null===t?e:t.multiplier+(t.mayOmitShortKind?"":t.shortKind)}},17691:(e,t,i)=>{"use strict";i.d(t,{ApplyLineToolTemplateUndoCommand:()=>r});var s=i(35762);class r extends s.UndoCommand{constructor(e,t,i){super(i),this._source=e,this._newState=t,this._oldState=e.properties().state()}redo(){this._source.applyTemplate(this._newState)}undo(){this._source.applyTemplate(this._oldState)}}},79495:(e,t,i)=>{"use strict";i.d(t,{ExcludeLineToolsFromGroupUndoCommand:()=>l});var s=i(88537),r=(i(94419),i(28353)),n=i(24980),o=i(35762);const a=new n.TranslatedString("exclude line tools from group {group}",(0,r.t)("exclude line tools from group {group}"));class l extends o.UndoCommand{constructor(e,t,i){super(a.format({group:t.name()})),this._model=e,this._groupId=t.id,this._groupName=t.name(),this._lineToolsIds=i.map(e=>e.id())}redo(){const e=(0,s.ensureNotNull)(this._model.lineToolsGroupModel().groupForId(this._groupId)),t=this._lineToolsIds.map(e=>this._model.dataSourceForId(e));e.excludeLineTools(t),0===e.lineTools().length&&this._model.lineToolsGroupModel().removeGroup(e)}undo(){const e=this._lineToolsIds.map(e=>this._model.dataSourceForId(e)),t=this._model.lineToolsGroupModel().groupForId(this._groupId);null!==t?t.addLineTools(e):this._model.lineToolsGroupModel().createGroup(e,this._groupName,this._groupId)}}},8597:(e,t,i)=>{"use strict";i.d(t,{MergeUpUndoCommand:()=>o,MergeDownUndoCommand:()=>a,MergeToTargetPane:()=>l});var s=i(88537),r=i(21749);class n extends r.MoveSourceUndoCommand{constructor(e,t,i){ -super(e,t,i),this._restorePane=!1}redo(){const e=this._chartModel.panes().length,t=this._chartModel.panes()[this._targetPaneIndex()],i=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),r=(0,s.ensureNotNull)(this._chartModel.paneForSource(i)),n=this._chartModel.children(i,!0);r.bulkActionMacro(()=>{n.forEach(e=>this._chartModel.detachSource(e)),this._restorePane=this._chartModel.detachSource(i)});const o="overlay"===this._initialPriceScalePosition?this._initialPriceScalePosition:void 0,a=t.findSuitableScale(i,void 0,o),l=0===a.dataSources().length;if(t.bulkActionMacro(()=>{t.addDataSource(i,a,!1),n.forEach(e=>t.addDataSource(e,a,!1))}),i===this._chartModel.mainSeries()){const e=t.priceScalePosition(a);t.movePriceScale(a,e,0)}if(l){(0,s.ensureNotNull)(i.priceScale()).restoreState(this._newPriceScaleState(t.isOverlay(i)))}this._chartModel.fullUpdate(),e!==this._chartModel.panes().length&&this._chartModel.setShouldBeSavedEvenIfHidden(!0)}undo(){let e;e=this._restorePane?this._chartModel.createPane(this._initialPaneIndex):this._chartModel.panes()[this._initialPaneIndex];const t=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),i=(0,s.ensureNotNull)(this._chartModel.paneForSource(t)),r=this._chartModel.children(t,!0);i.bulkActionMacro(()=>{r.forEach(e=>this._chartModel.detachSource(e)),this._chartModel.detachSource(t)});let n=e.getPriceScaleById(this._initialPriceScaleId);null===n&&(n=e.createPriceScaleAtPosition(this._initialPriceScalePosition,this._initialPriceScaleIndex)),e.bulkActionMacro(()=>{e.addDataSource(t,n,!0),r.forEach(t=>e.addDataSource(t,n,!1))}),(0,s.ensureNotNull)(t.priceScale()).restoreState(this._originalPriceScaleState()),this._chartModel.fullUpdate()}}class o extends n{constructor(e,t,i){super(e,t,i)}_targetPaneIndex(){return this._initialPaneIndex-1}}class a extends n{constructor(e,t,i){super(e,t,i)}_targetPaneIndex(){return this._initialPaneIndex+1}}class l extends n{constructor(e,t,i,s){super(e,t,s),this._targetPane=i}_targetPaneIndex(){return this._targetPane}}},21749:(e,t,i)=>{"use strict";i.d(t,{MoveSourceUndoCommand:()=>n});var s=i(88537),r=i(35762);class n extends r.UndoCommand{constructor(e,t,i){super(i),this._chartModel=e,this._sourceId=t.id();const r=(0,s.ensureNotNull)(t.priceScale());this._initialPriceScaleId=r.id(),this._initialPriceScaleState=(0,s.ensureNotNull)(t.priceScale()).state();const n=(0,s.ensureNotNull)(e.paneForSource(t));this._initialPriceScalePosition=n.priceScalePosition(r),this._initialPriceScaleIndex=n.priceScaleIndex(r,this._initialPriceScalePosition),this._initialPaneIndex=e.panes().indexOf(n)}_newPriceScaleState(e){const t={...this._initialPriceScaleState};return delete t.m_isLockScale,delete t.id,delete t.m_topMargin,delete t.m_bottomMargin,t}_originalPriceScaleState(){return this._initialPriceScaleState}}},27579:(e,t,i)=>{"use strict";i.d(t,{MoveToNewPriceScaleUndoCommand:()=>o,MoveToExistingPriceScaleUndoCommand:()=>a});var s=i(88537),r=i(21749);class n extends r.MoveSourceUndoCommand{constructor(e,t,i,s){super(e,t,s), -this._sourcePaneRemoved=!1,this._targetPaneIndex=e.panes().indexOf(i)}redo(){const e=this._chartModel.panes()[this._initialPaneIndex],t=this._chartModel.panes()[this._targetPaneIndex],i=e!==t,r=this._targetPriceScale(t),n=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),o=this._chartModel.children(n,!0);for(const e of o)i?(this._chartModel.detachSource(e),t.addDataSource(e,r,!1)):t.move(e,r);i?(this._sourcePaneRemoved=this._chartModel.detachSource(n),t.addDataSource(n,r,!1)):t.move(n,r);const a=t.priceScalePosition(r);t.movePriceScale(r,a,this._targetPriceScaleIndex(n)),this._chartModel.fullUpdate()}undo(){this._sourcePaneRemoved&&this._chartModel.createPane(this._initialPaneIndex);const e=this._chartModel.panes()[this._initialPaneIndex],t=e!==this._chartModel.panes()[this._targetPaneIndex],i=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId));let r=e.getPriceScaleById(this._initialPriceScaleId);null===r&&(r=e.createPriceScaleAtPosition(this._initialPriceScalePosition,this._initialPriceScaleIndex));const n=this._chartModel.children(i,!0);for(const i of n)t?(this._chartModel.detachSource(i),e.addDataSource(i,r,!1)):e.move(i,r);t?(this._chartModel.detachSource(i),e.addDataSource(i,r,!1)):e.move(i,r),(0,s.ensureNotNull)(i.priceScale()).restoreState(this._originalPriceScaleState()),this._chartModel.fullUpdate()}}class o extends n{constructor(e,t,i,s,r){super(e,t,i,r),this._targetPriceScalePosition=s}_targetPriceScale(e){const t=e.createPriceScaleAtPosition(this._targetPriceScalePosition);return t.restoreState(this._newPriceScaleState("overlay"===this._targetPriceScalePosition)),t}_targetPriceScaleIndex(e){return e===this._chartModel.mainSeries()?0:void 0}}class a extends n{constructor(e,t,i,s,r){super(e,t,i,r),this._targetPriceScaleId=s.id()}_targetPriceScale(e){return(0,s.ensureNotNull)(e.getPriceScaleById(this._targetPriceScaleId))}_targetPriceScaleIndex(e){}}},69746:(e,t,i)=>{"use strict";i.d(t,{PriceScaleChangeUndoCommand:()=>h});var s=i(88537),r=i(28353),n=i(24980),o=i(98125),a=i(35762);const l=(0,o.getLogger)("Chart.ChartUndoModel"),c=new n.TranslatedString("scale price",(0,r.t)("scale price"));class h extends a.UndoCommand{constructor(e,t,i,s,r){super(c,!1),this._newPriceScaleState=null,this._model=e,this._paneIndex=e.panes().indexOf(t),this._priceScaleId=i.id(),this._state=s,this._timestamp=r?performance.now():null}undo(){if(null!==this._newPriceScaleState)return void l.logDebug("PriceScaleChangeUndoCommand.undo: Command is already undone");const[e,t]=this._paneAndScale();this._newPriceScaleState=t.state(),this._model.restorePriceScaleState(e,t,this._state)}redo(){if(null===this._newPriceScaleState)return void l.logDebug("PriceScaleChangeUndoCommand.redo: Command is not undone");const[e,t]=this._paneAndScale();this._model.restorePriceScaleState(e,t,this._newPriceScaleState),this._newPriceScaleState=null}canMerge(e){ -return e instanceof h&&null!==this._timestamp&&null!==e._timestamp&&null===this._newPriceScaleState&&e._model===this._model&&e._paneIndex===this._paneIndex&&e._priceScaleId===this._priceScaleId&&Math.abs(e._timestamp-this._timestamp)<1e3}merge(e){this._timestamp=e._timestamp}_paneAndScale(){const e=this._model.panes()[this._paneIndex],t=(0,s.ensureNotNull)(e.getPriceScaleById(this._priceScaleId));return[e,t]}}},65284:(e,t,i)=>{"use strict";i.d(t,{RemoveSourcesCommand:()=>m});var s=i(88537),r=i(28353),n=i(24980),o=i(35762),a=i(14291),l=i(98125),c=i(52546),h=i(81851),d=i(79495);class u extends o.UndoCommand{constructor({title:e,chartModel:t,lineDataSourceIds:i}){super(e),this._excludeLineToolsFromGroupUndoCommands=[],this._undoState=[],this._chartModel=t,this._lineDataSourceIds=i}redo(){const e=this._lineDataSourceIds.map(e=>(0,s.ensureNotNull)(this._chartModel.dataSourceForId(e)));this._groupLineToolsByGroups(e).forEach((e,t)=>{const i=new d.ExcludeLineToolsFromGroupUndoCommand(this._chartModel,t,e);i.redo(),this._excludeLineToolsFromGroupUndoCommands.push(i)}),e.forEach(e=>{this._undoState.push({state:e.state(!1),paneIndex:this._chartModel.panes().indexOf((0,s.ensureNotNull)(this._chartModel.paneForSource(e))),sharingMode:e.sharingMode().value()}),this._chartModel.removeSource(e)})}undo(){var e;for(let t=this._undoState.shift();t;t=this._undoState.shift())null===(e=this._chartModel.restoreSource(!1,t.paneIndex,null,t.state,null))||void 0===e||e.share(t.sharingMode);this._excludeLineToolsFromGroupUndoCommands.forEach(e=>e.undo())}_groupLineToolsByGroups(e){const t=this._chartModel.lineToolsGroupModel();return e.reduce((e,i)=>{const s=t.groupForLineTool(i);if(null!==s){const t=e.get(s)||[];t.push(i),e.set(s,t)}return e},new Map)}}const p=(0,l.getLogger)("Chart.RemoveSourcesCommand"),_=new n.TranslatedString("remove line data sources",(0,r.t)("remove line data sources"));class m extends o.UndoCommand{constructor(e,t,i){super(i),this._removeLineDataSourcesUndoCommand=null,this._initialPriceScaleMode=null;const[r,n]=(0,c.closeSourcesSet)(e,t).reduce((e,t)=>((0,a.isLineTool)(t)?e[1].push(t.id()):e[0].push(t.id()),e),[[],[]]);this._chartModel=e,this._sourceIds=r,this._lineDataSourceIds=n,this._sourceStates=[],this._paneIndexes=[],this._priceScalePositionIds=[],this._paneStates=[],this._restorePanes=[];const o=t[0];1===t.length&&(0,h.isStudy)(o)&&(this._initialPriceScaleMode=(0,s.ensureNotNull)(o.priceScale()).mode())}removedIds(){return[...this._sourceIds,...this._lineDataSourceIds]}redo(){this._chartModel.panes().length;const e=this._sourceIds.map(e=>(0,s.ensureNotNull)(this._chartModel.dataSourceForId(e)));this._sourceStates=e.map(e=>(0,s.ensureNotNull)(e.state(!1)));const t=e.map(e=>(0,s.ensureNotNull)(this._chartModel.paneForSource(e)));this._paneIndexes=t.map(e=>this._chartModel.panes().indexOf(e)),this._lineDataSourceIds.length>0&&(this._removeLineDataSourcesUndoCommand=new u({title:_,chartModel:this._chartModel,lineDataSourceIds:this._lineDataSourceIds}),this._removeLineDataSourcesUndoCommand.redo()), -this._priceScalePositionIds=e.map((e,i)=>{const s=e.priceScale();if(null===s)return null;const r=t[i].priceScalePosition(s);return{id:s.id(),position:r,priceScaleIndex:t[i].priceScaleIndex(s,r)}});const i=new Set;e.forEach((e,t)=>{i.add(this._paneIndexes[t])}),this._paneStates=e.map((e,s)=>{const r=this._paneIndexes[s];return i.has(r)?t[s].state(!1,!0):null}),this._restorePanes=e.map(e=>this._chartModel.removeSource(e))}undo(){const e=[];for(let t=this._sourceStates.length-1;t>=0;t--){const i=this._chartModel.restoreSource(this._restorePanes[t],this._paneIndexes[t],this._paneStates[t],this._sourceStates[t],this._priceScalePositionIds[t]);i&&e.push(i)}e.some((t,i)=>t.id()!==this._sourceIds[e.length-i-1])&&p.logError("Source was restored improperly - source ids does not match"),null!==this._initialPriceScaleMode&&(0,s.ensureNotNull)(e[0].priceScale()).setMode(this._initialPriceScaleMode),this._removeLineDataSourcesUndoCommand&&this._removeLineDataSourcesUndoCommand.undo()}}},91794:(e,t,i)=>{"use strict";i.d(t,{RestoreDefaultsPreferencesUndoCommand:()=>p});var s=i(88537),r=i(28353),n=i(24980),o=i(35762),a=i(67396),l=i(21761),c=i(13647),h=i(92033),d=i(76166);const u=new n.TranslatedString("apply all chart properties",(0,r.t)("apply all chart properties"));class p extends o.UndoCommand{constructor(e){super(u),this._trading=null,this._oldShowSellBuyButtons=null,this._oldNoConfirmEnabled=null,this._oldShowOnlyRejectionNotifications=null,this._oldShowPricesWithZeroVolume=null,this._oldShowPricesWithSpread=null,this._oldOrderExecutedSoundEnabled=null,this._prevWatermarkPreferences=null,this._model=e,this._trading=(0,h.tradingService)(),null!==this._trading&&(this._oldShowSellBuyButtons=this._trading.showSellBuyButtons.value(),this._oldNoConfirmEnabled=this._trading.noConfirmEnabled.value(),this._oldShowOnlyRejectionNotifications=this._trading.showOnlyRejectionNotifications.value(),this._oldShowPricesWithZeroVolume=this._trading.showPricesWith().zeroVolume.value(),this._oldShowPricesWithSpread=this._trading.showPricesWith().spread.value(),this._oldOrderExecutedSoundEnabled=this._trading.orderExecutedSoundParams.enabled.value()),this._defaultsPreferences=(0,a.defaultsPreferencesByWhiteList)(this._model,this._model.mainSeries()),this._oldPreferences=e.preferences(),this._prevDateFormat=l.dateFormatProperty.value(),this._prevAddPlusButton=d.addPlusButtonProperty.value(),this._prevShowOpenMarkerStatus=c.showMarketOpenStatusProperty.value();const t=this._model.watermarkSource();null!==t&&(this._prevWatermarkPreferences=t.properties().state())}redo(){null!==this._trading&&(this._trading.showSellBuyButtons.setValue(!0),this._trading.noConfirmEnabled.setValue(!1),this._trading.showOnlyRejectionNotifications.setValue(!1),this._trading.showPricesWith().zeroVolume.setValue(!0),this._trading.showPricesWith().spread.setValue(!0),this._trading.orderExecutedSoundParams.enabled.setValue(!1)),this._model.applyPreferences(this._defaultsPreferences),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),(0, -l.restoreDateFormatSettingsValue)(),(0,d.restoreAddPlusButtonSettingsValue)(),(0,c.restoreShowMarketOpenStatusProperty)();const e=this._model.watermarkSource();null!==e&&e.restorePropertiesDefaults()}undo(){null!==this._trading&&(this._trading.showSellBuyButtons.setValue((0,s.ensureNotNull)(this._oldShowSellBuyButtons)),this._trading.noConfirmEnabled.setValue((0,s.ensureNotNull)(this._oldNoConfirmEnabled)),this._trading.showOnlyRejectionNotifications.setValue((0,s.ensureNotNull)(this._oldShowOnlyRejectionNotifications)),this._trading.showPricesWith().zeroVolume.setValue((0,s.ensureNotNull)(this._oldShowPricesWithZeroVolume)),this._trading.showPricesWith().spread.setValue((0,s.ensureNotNull)(this._oldShowPricesWithSpread)),this._trading.orderExecutedSoundParams.enabled.setValue((0,s.ensureNotNull)(this._oldOrderExecutedSoundEnabled))),this._model.applyPreferences(this._oldPreferences),this._model.mainSeries().onChartStyleChanged(),this._model.updateScales(),l.dateFormatProperty.setValue(this._prevDateFormat),c.showMarketOpenStatusProperty.setValue(this._prevShowOpenMarkerStatus),d.addPlusButtonProperty.setValue(this._prevAddPlusButton);const e=this._model.watermarkSource();null!==e&&null!==this._prevWatermarkPreferences&&e.properties().mergeAndFire(this._prevWatermarkPreferences)}}},97401:(e,t,i)=>{"use strict";i.d(t,{SetPriceScaleCurrencyUndoCommand:()=>o});var s=i(88537),r=i(35762),n=i(37667);class o extends r.UndoCommand{constructor(e,t,i,r){super(r),this._newSourcesCurrencies=new Map,this._oldSourcesCurrencies=new Map,this._showFade=!1,this._chartWidget=i;const o=i.model().mainSeries();for(const i of e.seriesLikeSources()){if(!i.isVisible()||!i.isActingAsSymbolSource().value())continue;const e=t||(0,n.symbolOriginalCurrency)((0,s.ensureNotNull)(i.symbolInfo()));this._newSourcesCurrencies.set(i.id(),e),this._oldSourcesCurrencies.set(i.id(),i.currency()),this._showFade=this._showFade||i===o&&i.currency()!==e}}redo(){this._applyCurrencies(this._newSourcesCurrencies)}undo(){this._applyCurrencies(this._oldSourcesCurrencies)}_applyCurrencies(e){this._showFade&&this._chartWidget.screen.show();const t=this._chartWidget.model().model();e.forEach((e,i)=>{(0,s.ensureNotNull)(t.dataSourceForId(i)).setCurrency(e)}),this._chartWidget.model().selectionMacro(e=>{e.clearSelection()})}}},59836:(e,t,i)=>{"use strict";i.d(t,{SetPriceScaleModeCommand:()=>o});var s=i(88564),r=i(35762),n=i(33291);class o extends r.UndoCommand{constructor(e,t,i,s){super(i),this._newMode=e,this._priceScaleId=t.id(),this._model=s,this._oldMode=t.mode()}redo(){this._applyMode(this._newMode)}undo(){this._applyMode(this._oldMode)}_applyMode(e){const t=this._findPriceScaleById();null!==t&&((0,s.saveDefaultProperties)(!0),t.setMode(e),(0,s.saveDefaultProperties)(!1),this._model&&(this._model.recalculateAllPanes((0,n.viewportChangeEvent)()),this._model.lightUpdate()))}_findPriceScaleById(){const e=this._model.panes();for(let t=0;t{"use strict" -;i.d(t,{SetPriceScaleSelectionStrategyCommand:()=>a});var s=i(88537),r=i(35762),n=i(74325);class o{constructor(e){this._leftScales=e.leftPriceScales().map(e=>e.id()),this._rightScales=e.rightPriceScales().map(e=>e.id())}restorePane(e){this._leftScales.reverse().map(t=>(0,s.ensureNotNull)(e.getPriceScaleById(t))).forEach(t=>e.movePriceScale(t,"left")),this._rightScales.reverse().map(t=>(0,s.ensureNotNull)(e.getPriceScaleById(t))).forEach(t=>e.movePriceScale(t,"right"))}}class a extends r.UndoCommand{constructor(e,t,i){super(i),this._chartModel=e,this._targetStrategy=(0,n.createPriceScaleSelectionStrategy)(t),this._initialState=e.panes().map(e=>new o(e))}redo(){this._chartModel.panes().forEach(e=>e.setPriceScaleSelectionStrategy(this._targetStrategy)),this._chartModel.fullUpdate()}undo(){const e=this._chartModel.panes();for(let t=0;t{"use strict";i.d(t,{SetPriceScaleUnitUndoCommand:()=>o});var s=i(88537),r=i(35762),n=i(37667);class o extends r.UndoCommand{constructor(e,t,i,r){super(r),this._newSourcesUnits=new Map,this._oldSourcesUnits=new Map,this._showFade=!1,this._chartWidget=i;const o=i.model().mainSeries();for(const i of e.seriesLikeSources()){if(!i.isVisible()||!i.isActingAsSymbolSource().value())continue;const e=t||(0,n.symbolOriginalUnit)((0,s.ensureNotNull)(i.symbolInfo()),this._chartWidget.model().model().unitConversionEnabled());this._newSourcesUnits.set(i.id(),e),this._oldSourcesUnits.set(i.id(),i.unit()),this._showFade=this._showFade||i===o&&i.unit()!==e}}redo(){this._applyUnits(this._newSourcesUnits)}undo(){this._applyUnits(this._oldSourcesUnits)}_applyUnits(e){this._showFade&&this._chartWidget.screen.show();const t=this._chartWidget.model().model();e.forEach((e,i)=>{(0,s.ensureNotNull)(t.dataSourceForId(i)).setUnit(e)}),this._chartWidget.model().selectionMacro(e=>{e.clearSelection()})}}},870:(e,t,i)=>{"use strict";i.d(t,{SetScaleRatioPropertiesCommand:()=>o});var s=i(35762),r=i(88564),n=i(33291);class o extends s.UndoCommand{constructor(e,t,i,s){super(i),this._property=e,this._newValue=t,this._model=s,this._priceScale=this._model.mainSeries().priceScale(),this._oldValue=this._property.value(),this._oldMode=this._priceScale.mode()}redo(){this._oldValue=this._property.value(),this._oldMode=this._priceScale.mode(),(0,r.saveDefaultProperties)(!0),this._priceScale.setMode({autoScale:!1,percentage:!1,log:!1}),this._property.setValue(this._newValue),(0,r.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,n.viewportChangeEvent)()),this._model.lightUpdate()}undo(){(0,r.saveDefaultProperties)(!0),this._property.setValue(this._oldValue),this._priceScale.setMode(this._oldMode),(0,r.saveDefaultProperties)(!1),this._model.recalculateAllPanes((0,n.viewportChangeEvent)()),this._model.lightUpdate()}}},52546:(e,t,i)=>{"use strict";function s(e,t){const i=new Set,s=t=>{e.children(t,!1).forEach(e=>{i.has(e)||(i.add(e),s(e))})};return t.forEach(s),t.filter(e=>!i.has(e)).map(t=>function e(t,i){let s=[] -;const r=t.children(i,!1);for(let i=0;ie.concat(t),[])}i.d(t,{closeSourcesSet:()=>s})},13339:(e,t,i)=>{"use strict";i.d(t,{TimeScaleChangeUndoCommand:()=>o});var s=i(98125),r=i(35762);const n=(0,s.getLogger)("Chart.ChartUndoModel");class o extends r.UndoCommand{constructor(e,t,i){super(i,!1),this._newRightOffsetAndBarSpacing=null,this.setCustomFlag("doesnt_affect_save",!0),this._model=e,this._rightOffsetAndBarSpacing=t}undo(){if(null!==this._newRightOffsetAndBarSpacing)return void n.logDebug("TimeScaleChangeUndoCommand.undo: Command is already undone");const e=this._model.timeScale();this._newRightOffsetAndBarSpacing={barSpacing:e.barSpacing(),rightOffset:e.rightOffset()},e.setBarSpacing(this._rightOffsetAndBarSpacing.barSpacing),e.setRightOffset(this._rightOffsetAndBarSpacing.rightOffset),this._model.lightUpdate()}redo(){if(null===this._newRightOffsetAndBarSpacing)return void n.logDebug("TimeScaleChangeUndoCommand.redo: Command is not undone");const e=this._model.timeScale();e.setBarSpacing(this._newRightOffsetAndBarSpacing.barSpacing),e.setRightOffset(this._newRightOffsetAndBarSpacing.rightOffset),this._model.lightUpdate(),this._newRightOffsetAndBarSpacing=null}}},35762:(e,t,i)=>{"use strict";i.d(t,{UndoCommand:()=>r});var s=i(24980);class r{constructor(e,t=!0){this._customFlags={},this._text=e||new s.TranslatedString("",""),this._executeOnPush=t}text(){return this._text}executeOnPush(){return this._executeOnPush}customFlag(e){return this._customFlags[e]}setCustomFlag(e,t){this._customFlags[e]=t}canMerge(e){return!1}merge(e){throw new Error("Should be re-implemented in child classes")}}},52940:(e,t,i)=>{"use strict";i.d(t,{createUndoHistory:()=>u});var s=i(88537),r=i(44556),n=i(16757),o=i(35762);class a extends o.UndoCommand{constructor(e,t,i){super(i),this._wv=e,this._newValue=t,this._oldValue=e.value()}redo(){this._wv.setValue(this._newValue)}undo(){this._wv.setValue(this._oldValue)}}var l=i(98125),c=i(2872),h=i.n(c);const d=(0,l.getLogger)("Common.UndoHistory");function u(){const e=[],t=new r.UndoStack,i=new r.UndoStack,o=new(h());function l(s){if(e.length>0)e[e.length-1].addCommand(s);else{i.clear();const e=t.head(),r=e&&e.text().originalText();e&&e.canMerge(s)?e.merge(s):t.push(s);const n=s.text().originalText();""!==n&&n!==r&&d.logNormal("DO: "+n)}s.executeOnPush()&&s.redo(),e.length||o.fire(c())}function c(){const e=t.head(),s=i.head();return{enableUndo:!t.isEmpty(),undoText:void 0===e?void 0:e.text().translatedText(),enableRedo:!i.isEmpty(),redoText:void 0===s?void 0:s.text().translatedText()}}return{beginUndoMacro:function(t){const i=new n.UndoMacroCommand(t);return e.push(i),i},clearStack:function(){t.clear(),i.clear(),o.fire(c())},createUndoCheckpoint:function(){return{lastActualCommand:t.isEmpty()?null:t.head()}},endUndoMacro:function(){const t=(0,s.ensureDefined)(e.pop());t.isEmpty()||l(t)},pushUndoCommand:l,redo:function(){if(i.isEmpty())return!1;const e=i.pop();return!!e&&(e.redo(),t.push(e), -d.logNormal("REDO: "+e.text().originalText()),o.fire(c()),!0)},redoStack:function(){return i},setWatchedValue:function(e,t,i,s){if(e.value()!==t){const r=new a(e,t,i);r.setCustomFlag("doesnt_affect_save",!!s),l(r),r.redo()}},undo:function(){if(t.isEmpty())return!1;const e=t.pop();return!!e&&(e.undo(),i.push(e),d.logNormal("UNDO: "+e.text().originalText()),o.fire(c()),!0)},undoStack:function(){return t},undoToCheckpoint:function(e){for(;!t.isEmpty()&&e.lastActualCommand!==t.head();)t.pop().undo();i.clear(),o.fire(c())},state:c,onChange:function(){return o}}}},16757:(e,t,i)=>{"use strict";i.d(t,{UndoMacroCommand:()=>r});var s=i(35762);class r extends s.UndoCommand{constructor(e){super(e,!1),this._subcommands=[]}addCommand(e){this._subcommands.push(e)}isEmpty(){return 0===this._subcommands.length}redo(){for(let e=0;e=0;e--)this._subcommands[e].undo()}commands(){return this._subcommands}}},44556:(e,t,i)=>{"use strict";i.d(t,{UndoStack:()=>a});var s=i(35762),r=i(2872),n=i.n(r);const o=(0,i(98125).getLogger)("Common.UndoStack");class a{constructor(){this._commands=[],this._onChange=new(n())}onChange(){return this._onChange}isEmpty(){return 0===this._commands.length}clear(){this.isEmpty()||(this._commands.length=0,this._onChange.fire())}push(e){if(!(e instanceof s.UndoCommand))throw new TypeError("argument must be an instance of UndoCommand");this._commands.push(e),this._onChange.fire(e)}pop(){if(this.isEmpty())return void o.logDebug("pop: undo stack is empty");const e=this._commands.pop();return this._onChange.fire(e),e}head(){if(!this.isEmpty())return this._commands[this._commands.length-1]}}},36551:(e,t,i)=>{"use strict";i.d(t,{UnmergeDownUndoCommand:()=>o,UnmergeUpUndoCommand:()=>a,UnmergeToNewBottomPane:()=>l});var s=i(88537),r=i(21749);class n extends r.MoveSourceUndoCommand{constructor(e,t,i){super(e,t,i)}redo(){const e=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),t=(0,s.ensureNotNull)(this._chartModel.paneForSource(e)),i=this._chartModel.children(e,!0);t.bulkActionMacro(()=>{i.forEach(e=>this._chartModel.detachSource(e)),this._chartModel.detachSource(e)});const r=this._chartModel.createPane(this.targetPaneIndex()),n=r.findSuitableScale(e);r.bulkActionMacro(()=>{r.addDataSource(e,n,!1),i.forEach(e=>r.addDataSource(e,n,!1))}),(0,s.ensureNotNull)(e.priceScale()).restoreState(this._newPriceScaleState(r.isOverlay(e))),this._chartModel.fullUpdate(),this._chartModel.setShouldBeSavedEvenIfHidden(!0)}undo(){const e=(0,s.ensureNotNull)(this._chartModel.dataSourceForId(this._sourceId)),t=(0,s.ensureNotNull)(this._chartModel.paneForSource(e)),i=this._chartModel.children(e,!0);t.bulkActionMacro(()=>{i.forEach(e=>this._chartModel.detachSource(e));const t=this._chartModel.detachSource(e);(0,s.assert)(t,"Undo of detaching must remove pane")});const r=this._chartModel.panes()[this._initialPaneIndex];let n=r.getPriceScaleById(this._initialPriceScaleId) -;null===n&&(n=r.createPriceScaleAtPosition(this._initialPriceScalePosition,this._initialPriceScaleIndex)),r.bulkActionMacro(()=>{r.addDataSource(e,n,!0),i.forEach(e=>r.addDataSource(e,n,!1))}),(0,s.ensureNotNull)(e.priceScale()).restoreState(this._originalPriceScaleState()),this._chartModel.fullUpdate()}}class o extends n{constructor(e,t,i){super(e,t,i)}targetPaneIndex(){return this._initialPaneIndex+1}}class a extends n{constructor(e,t,i){super(e,t,i)}targetPaneIndex(){return this._initialPaneIndex}}class l extends n{constructor(e,t,i){super(e,t,i)}targetPaneIndex(){return this._chartModel.panes().length}}},79222:(e,t,i)=>{"use strict";i.d(t,{unitConvertibleGroups:()=>n,sourceNewUnitOnPinningToPriceScale:()=>o});var s=i(79680),r=i(37667);function n(e,t,i){const s=(0,r.symbolUnitConvertibleGroupsIfExist)(e,!0);if(null!==s)return s;const n=i.unitGroupById(t);return null===n?[]:[n]}function o(e,t,i,r){let o=null;if(i.unitConversionEnabled()&&(0,s.isSymbolSource)(e)){const s=i.availableUnits(),a=t.unit(s),l=e.unit(),c=null===l?[]:n(e.symbolInfo(),l,s);null!==a&&null!==a.selectedUnit&&!a.allUnitsAreOriginal&&a.selectedUnit!==l&&(r&&null===l||null!==l&&s.convertible(l,c))&&(o=a.selectedUnit)}return o}},10133:(e,t,i)=>{"use strict";i.d(t,{createVisibilityController:()=>l});var s=i(28353),r=i(32563),n=i(32255),o=i(56840);function a(e){return"alwaysOn"===e||"alwaysOff"===e?e:"visibleOnMouseOver"}function l(e,t){let i,l;function c(){if(!i){i=(0,n.createPrimitiveProperty)();let s=o.getValue(e);void 0===s&&void 0!==t&&(s=o.getValue(t)),i.setValue(a(s)),i.subscribe(i,t=>{o.setValue(e,a(t.value()))})}return i}return{property:c,availableValues:function(){return[{id:"visibleOnMouseOver",value:"visibleOnMouseOver",title:(0,s.t)("Visible on mouse over")},{id:"alwaysOn",value:"alwaysOn",title:(0,s.t)("Always visible")},{id:"alwaysOff",value:"alwaysOff",title:(0,s.t)("Always invisible")}]},actualBehavior:function(){if(!l){l=(0,n.createPrimitiveProperty)();const e=c(),t=()=>{let t=e.value();"alwaysOn"!==t&&"alwaysOff"!==t&&(t=r.mobiletouch?"alwaysOn":"visibleOnMouseOver"),l&&l.setValue(t)};e.subscribe(l,t),t()}return l}}}},62587:(e,t,i)=>{"use strict";i.r(t),i.d(t,{watermarkProperty:()=>h,restoreWatermarkPropertyDefaults:()=>d});var s=i(24377),r=i(56840),n=i(2015),o=i.n(n);const a={visibility:!1,color:"rgba(80, 83, 94, 0.25)"};function l(){const e=r.getJSON("symbolWatermark");let t=Object.assign({},a,e);if(void 0===e){if(void 0!==r.getJSON("chartproperties")){const e=r.getJSON("chartproperties").symbolWatermarkProperties;if(void 0!==e){const i=(0,s.tryParseRgba)(e.color);t=Object.assign(t,e),null!==i&&(0!==i[3]?t.visibility=!0:(i[3]=.25,t.color=(0,s.rgbaToString)(i)))}}delete t.transparency}return t}let c=null;function h(){return null===c&&(c=new(o())(l()),r.onSync.subscribe(null,()=>{null!==c&&c.mergeAndFire(l())}),c.listeners().subscribe(null,()=>{null!==c&&r.setJSON("symbolWatermark",c.state())})),c}function d(){null!==c&&c.mergeAndFire(a)}},39094:(e,t,i)=>{"use strict" -;var s=i(35218).translatedIntervalString,r=i(1570).getTranslatedSymbolDescription,n=i(22799).CHART_FONT_FAMILY,o=i(62587),a=o.watermarkProperty,l=o.restoreWatermarkPropertyDefaults,c=i(93435).drawScaled,h=i(59803).applyDefaultsOverrides,d=i(59803).applyPropertiesOverrides;t.Watermark=function(e,t){var i={},o=a();function u(e,t){var s=e.font;return i.hasOwnProperty(s)||(i[s]={}),i[s].hasOwnProperty(t)||(i[s][t]=e.measureText(t).width),i[s][t]}h(o,void 0,!1,"symbolWatermarkProperties"),o.listeners().subscribe(this,(function(){e.updateSource(this)})),this.destroy=function(){o.listeners().unsubscribeAll(this)},this.properties=function(){return o},this.restorePropertiesDefaults=function(){l()},this.applyOverrides=function(e){d(o,void 0,!1,e,"symbolWatermarkProperties")};var p={renderer:function(e,i){return{draw:function(a,l){c(a,l.pixelRatio,(function(){var l=t.symbolInfo();a.fillStyle=o.color.value();var c,h=l.name;/QUANDL/.test(l.exchange)&&((c=h.split(/\//)).length&&(h=c[c.length-1]));for(var d={description:l.description,short_description:l.short_description,pro_name:l.pro_name,short_name:l.name,local_description:l.local_description,language:l.language},p=[{text:h?h+", "+s(t.interval()):"",font:"96px "+n,lineHeight:117,vertOffset:0},{text:r(d)||"",font:"48px "+n,lineHeight:58,vertOffset:5}],_=0,m=0;mi?i/g:1,_+=v.lineHeight*v.zoom}}var f=Math.max((e-_)/2,0);for(m=0;m{"use strict";i.d(t,{reorderDataSourcesStateZOrder:()=>S,newLineToolZOrder:()=>w,newStudyZOrder:()=>C,moveAfterSource:()=>E,moveBeforeSource:()=>k});var s=i(14291),r=i(81851),n=i(56972),o=i(50669),a=i(55257);function l(e){return(0,s.isLineTool)(e)&&!e.isSpeciallyZOrderedSource()}function c(e){return(0,r.isStudy)(e)&&!e.isSpeciallyZOrderedSource()}function h(e,t){return e.zorder-t.zorder}function d(e,t){(0,o.isMainSeriesState)(e)?e.zorder=0:e.zorder=t}function u(e,t){e.setZorder(t)}function p(e){return e.zorder()}function _(e){return Math.round(1e3*e)/1e3}function m(e,t){const i=Math.max(e,t),s=Math.min(e,t);return Math.max(0,Math.ceil(i)-Math.floor(s)-1)}function g(e,t,i){let s=0;const r=(n=t,o=e,Math.abs(1e3*o-1e3*n)/1e3);var n,o,a;return r>i?(e=Math.trunc(e),s=Math.floor(r/(i+1))):(a=r/(i+1),s=Math.floor(1e3*a)/1e3),{startZOrder:e,zOrderStep:s}}function f(e,t,i,s){let r=e.length,n=t;for(let t=e.length-1;t>=-1;t--)if(-1===t||s(e[t])){const s=t;let o=T(n);if(r-1===s)s>=0&&i(e[s],o);else{const t=m(r,s);let a=0;for(;0===a;){const e=g(n,o,t);n=e.startZOrder,a=e.zOrderStep,0===a&&(o-=1e4,0===o&&(o-=1e4))}let l=r-1;for(;l>s;){const t=_(n-a);i(e[l],t),n=t,l--}s>=0&&i(e[s],o)}n=o,r=s}}function v(e,t,i,s){let r=-1,n=t -;for(let t=0;t<=e.length;t++)if(t===e.length||s(e[t])){const s=t;let o=P(n);if(r+1===s)s<=e.length-1&&i(e[s],o);else{const t=m(r,s);let a=0;for(;0===a;){const e=g(n,o,t);n=e.startZOrder,a=e.zOrderStep,0===a&&(o+=1e4,0===o&&(o+=1e4))}let l=r+1;for(;l<=s-1;){const t=_(n+a);i(e[l],t),n=t,l++}s<=e.length-1&&i(e[s],o)}n=o,r=s}}function S(e){!function(e,t,i,s,r,n){let o=null;const a=[];for(const r of e)t(r)?(a.push(r),o=r):(i(r)||s(r))&&a.push(r);a.sort(n),null!==o&&r(o,0);const l=null===o?-1:a.indexOf(o);-1!==l?(f(a.slice(0,l),0,r,i),v(a.slice(l+1),0,r,i)):v(a,0,r,i)}(e,o.isMainSeriesState,o.isStudyState,o.isLineToolState,d,h)}function y(e,t){const i=Math.floor(e/1e4);let s=t.get(i);return void 0===s&&(s=[],t.set(i,s)),s}function b(e,t,i,s,r,n){let o=-1/0,a=1/0,l=-1/0,c=0;const h=new Map;for(let s=0;sr(e)-r(t));let p=T(r(u[0]));const m=P(p),f=g(p,m,u.length+1).zOrderStep;return 0!==f?(u.forEach(e=>{const t=_(p+f);s(e,t),p=t}),_(p+f)):_(m+5e3)}function w(e,t){return b(e,l,c,u,p,t)}function C(e){let t=-1e4;for(const i of e)c(i)&&(t=Math.min(t,i.zorder()-1e4));return 0===t?-1e4:t}function P(e){const t=1e4*Math.ceil(e/1e4);return t===e?t+1e4:t}function T(e){const t=1e4*Math.floor(e/1e4);return t===e?t-1e4:t}function x(e,t,i,s,r,n,o){const l=t.length,{newItems:c,movedItemsStartIndex:h}=i>0?(0,a.moveAfter)(e,t,i-1):(0,a.moveBefore)(e,t,0);let d=!1;for(let t=h;tr(e))?function(e,t,i,s,r,n){let o,a,l=-1,c=-1;0===i?(c=I(e,i+t,s),a=n(e[c])):i+t===e.length?(l=M(e,i-1,s),o=n(e[l])):(l=M(e,i-1,s),o=n(e[l]),c=I(e,i+t,s),a=n(e[c]));if((void 0===o||o<0)&&void 0!==a&&a<=0)f(e.slice(0,c),a,r,s);else if((void 0===a||a>0)&&void 0!==o&&o>=0)v(e.slice(l+1),o,r,s);else{const n=i+t,o=e.length-i;n0)&&void 0!==a&&a>=0){c=a;const e=void 0!==l?l:P(a),s=g(c,e,t);c=s.startZOrder,p=s.zOrderStep,d=i,u=d+t,h=1}if(0!==p)for(;d!==u;){const t=_(c+h*p);n(e[d],t),c=t,d+=h}else{const t=e.findIndex(e=>r(e));-1!==t?(f(e.slice(0,t),0,n,s),v(e.slice(t+1),0,n,s)):v(e,0,n,s)}}(c,l,h,r,s,n,o)}function I(e,t,i){for(;t=0&&i(e[t]);)t--;return Math.max(0,t)}function L(e,t,i,s,r,n,o){const a=e.indexOf(i)+1 -;x(e,t,a,s,r,n,o)}function A(e,t,i,s,r,n,o){const a=e.indexOf(i);x(e,t,a,s,r,n,o)}function E(e,t,i){L(e,t,i,n.isSeries,c,u,p)}function k(e,t,i){A(e,t,i,n.isSeries,c,u,p)}},89453:(e,t,i)=>{"use strict";i.d(t,{setSymbolSearchCompleteOverrideFunction:()=>r,getSymbolSearchCompleteOverrideFunction:()=>n});let s=e=>Promise.resolve(e);function r(e){s=e}function n(){return s}},67072:(e,t,i)=>{"use strict";e=i.nmd(e);var s=i(2015),r=i(98125).getLogger("Chart.Study.MetaInfo"),n=i(59572).applyOverridesToStudyDefaults,o={};function a(e){TradingView.merge(this,{palettes:{},inputs:[],plots:[],graphics:{},defaults:{}}),TradingView.merge(this,e);var t=e.fullId||e.id;TradingView.merge(this,a.parseIdString(t))}a.VERSION_STUDY_ARG_SOURCE=41,a.METAINFO_FORMAT_VERSION_SOS_V2=42,a.VERSION_PINE_PROTECT_TV_4164=43,a.CURRENT_METAINFO_FORMAT_VERSION=52,a.VERSION_NEW_STUDY_PRECISION_FORMAT=46,a.CHILD_STUDY_ALLOWED_PLOT_TYPES=["line"],a.canPlotBeSourceOfChildStudy=function(e){return a.CHILD_STUDY_ALLOWED_PLOT_TYPES.includes(e)},a.CHILD_STUDY_EXCLUDE_IDS=["CorrelationCoefficient@tv-basicstudies","Correlation - Log@tv-basicstudies-1"],a.CHILD_STUDY_PARENT_EXCLUDE_IDS=[],a.FilledArea={},a.FilledArea.TYPE_PLOTS="plot_plot",a.FilledArea.TYPE_HLINES="hline_hline",a.versionOf=function(e){var t="_metainfoVersion"in e&&isNumber(e._metainfoVersion)?e._metainfoVersion:0;return t<0&&r.logError("Metainfo format version cannot be negative: "+t),t},a.parseIdString=function(e){var t={};if(-1===e.indexOf("@"))t.shortId=e,t.packageId="tv-basicstudies",t.id=e+"@"+t.packageId,t.version=1;else{var i=e.split("@");t.shortId=i[0];var s=i[1].split("-");if(3===s.length)t.packageId=s.slice(0,2).join("-"),t.id=t.shortId+"@"+t.packageId,t.version=s[2];else if(1===s.length&&"decisionbar"===s[0])t.packageId="les-"+s[0],t.id=t.shortId+"@"+t.packageId,t.version=1;else{if(1!==s.length)throw new Error("unexpected study id:"+e);t.packageId="tv-"+s[0],t.id=t.shortId+"@"+t.packageId,t.version=1}}if(t.fullId=t.id+"-"+t.version,"tv-scripting"===t.packageId){var r=t.shortId;if(0===r.indexOf("Script$")||0===r.indexOf("StrategyScript$")){var n=r.indexOf("_");t.productId=n>=0?r.substring(0,n):t.packageId}else t.productId=t.packageId}else t.productId=t.packageId;return t},a.getPackageName=function(e){return(/^[^@]+@([^-]+-[^-]+)/.exec(e||"")||[0,"tv-basicstudies"])[1]},a.cutDollarHash=function(e){var t=e.indexOf("$"),i=e.indexOf("@");return-1===t?e:e.substring(0,t)+(i>=0?e.substring(i):"")},a.hasUserIdSuffix=function(e){return/^USER;[\d\w]+;\d+$/.test(e)},a.isStandardPine=function(e){return/^(Strategy)?Script\$STD;.*@tv-scripting$/.test(e)},a.getSourceIdByInputs=function(e,t){if(!Array.isArray(e)||!t)return null;for(var i=0;i0){var l=o.replace(/^[^\$]+/,t);i.inputs[n.id].setValue(l)}}}},a.patchChildStudyMetaInfoState=function(e){e.state&&function e(t){if("object"==typeof t)for(var i in t)"string"==typeof t[i]&&/^[^\$]+\$\d+$/.test(t[i])?t[i]=t[i].replace(/^[^\$]+/,"{pid}"):e(t[i])}(e.state.inputs),e.state.isChildStudy=!0},a.getStudyIdWithLatestVersion=function(e){const t=a.cutDollarHash(e.id);let i=t;return t.indexOf("@tv-scripting")>=0?i+="-101!":i+="-"+e.version,i},a.prototype.parseValue=function(e,t){return"bool"===e?TradingView.parseBool(t):t},a.prototype.defaultInputs=function(){for(var e=[],t=0;t0?e[0].id:null},a.prototype.createDefaults=function(){if(this.defaults){var e=TradingView.clone(this.defaults);e.precision="default";var t=a.getStudyPropertyRootName(this);defaults.create(t,e)}},a.prototype.removeDefaults=function(){defaults.remove(a.getStudyPropertyRootName(this))},a.findStudyMetaInfoByDescription=function(e,t){if(e){for(var i=0;i{"use strict";window.TradingView=window.TradingView||{},window.requireAll=function(e){return e.keys().map(e)},i(28353),i(32563).setClasses(),i(9196),i(56186).install(),i(49483),i(80643),i(29892),i(94419),i(11417),i(11372),i(37562),i(56840)},97881:(e,t,i)=>{"use strict";var s=i(28353).t;i(70606);var r=i(88537).assert;i(96488),i(59803),i(87980);const n=i(67337);JSON.parse(urlParams.disabledFeatures).forEach((function(e){n.setEnabled(e,!1)})),JSON.parse(urlParams.enabledFeatures).forEach((function(e){n.setEnabled(e,!0)})),function(){window.__settingsOverrides=window.parent[window.urlParams.uid].settingsOverrides||{};var e=window.parent[window.urlParams.uid].settingsAdapter;null!=e?(TVSettings.setSettingsAdapter(e),TVSettings.sync()):n.enabled("use_localstorage_for_settings")&&TVSettings.sync()}();var o=i(22799).setChartFontFamily;window.urlParams.customFontFamily&&o(window.urlParams.customFontFamily);var a=i(84120).RestrictedToolsetBootloader,l=i(9753).HeaderToolbarBootloader,c=i(84746).DrawingToolbarBootloader,h=i(85593).isDrawingToolbarVisible;(0,i(32563).setClasses)();var d=i(6087),u=i(45345).setTheme,p=i(33225),_=i(17437),m=i(25760),g=i(47193).migrateShortcut,f=i(76900).ChartSaver,v=i(41051).SaveChartService,S=i(86879).LoadChartService,y=i(46723).StudyTemplates,b=i(22668).FavoriteStudyTemplateService,w=i(82992).linking,C=i(76422),P=i(97098).formatterOptions,T=i(69147).customFormatters,x=i(34615).StudyMarket,I=i(21097).TVXWindowEvents,M=i(81836).createDeferredPromise,L=i(15840).deepExtend,A=i(9423).randomHash,E=i(65576).convertPropertyToWatchedValue,k=i(95707).property,D=i(62428).property,V=i(21761).dateFormatProperty,B=i(43370).default,N=i(29823).Interval,R=i(89356).Root,O=i(28325).ChartPage,F=i(39138).destroyQuoteSessions,W=i(73383).TIMEFRAMETYPE,H=new O(new R(window).allocate()),z=H.allocate({areaName:"center"}),U=(window.parent[urlParams.uid].brokerFactory,Boolean(!1)),j=i(54427).CHART_WIDGET_COLLECTION_SERVICE,G=i(16216);i(65235);var q=i(43425),Y=i(12409).createFavoriteDrawingToolbar,K=i(77317).setupChartEventHint,$=i(81602).setupChartScreenshotHint,X=i(87983),Z=i(67072),J=i(28399);i(27595),i(15495) -;var Q=i(78136).setSearchRequestDelay,ee=i(16654),te=i(216),ie=i(17937).addBrandingSource,se=i(13221).setAdditionalSymbolInfoFields,re=i(89453).setSymbolSearchCompleteOverrideFunction,ne=i(52741).DropdownApi,oe=i(97056).ContextMenuManager;const ae=new AbortController;var le=window.parent[urlParams.uid].getCustomIndicators,ce=M(),he=M(),de=n.enabled("left_toolbar");if(void 0!==window.parent[urlParams.uid].contextMenu){var ue=window.parent[urlParams.uid].contextMenu;void 0!==ue.items_processor&&oe.setCustomItemsProcessor(ue.items_processor),void 0!==ue.renderer_factory&&oe.setCustomRendererFactory(ue.renderer_factory)}if(Promise.all([ce.promise,he.promise]).then((function(){window.ChartApiInstance.start()})),"function"==typeof le){var pe=le(te);pe&&pe.then?pe.then((function(e){if(!Array.isArray(e))return console.warn("custom_indicators_getter should be a function that returns a Promise object which result is an array of custom indicators"),void ce.resolve();JSServer.studyLibrary.push.apply(JSServer.studyLibrary,e),ce.resolve(),console.log("{0} custom indicators loaded.".format(e.length))})).catch((function(e){console.warn("Error loading custom indicators "+e),ce.resolve()})):(console.warn("custom_indicators_getter should be a function that returns a Promise object"),ce.resolve())}else ce.resolve();window.widgetReady=function(e){C.subscribe("onChartReady",e)};var _e=urlParams.theme&&urlParams.theme.toLowerCase();function me(e){window.__defaultsOverrides=window.__defaultsOverrides||{},L(window.__defaultsOverrides,e),void 0!==TradingView.defaultProperties&&void 0!==TradingView.defaultProperties.chartproperties&&(window.applyDefaultsOverrides(TradingView.defaultProperties.chartproperties),window.applyDefaultOverridesToLinetools())}!function(e){d.themes[e]&&u(e)}(_e),window.applyStudiesOverrides=function(e){e&&(window.chartWidgetCollection?window.chartWidgetCollection.applyStudiesOverrides(e):Z.mergeDefaultsOverrides(e))},window.applyOverrides=function(e){me(e),window.chartWidgetCollection&&window.chartWidgetCollection.applyOverrides(e)},window.doWhenApiIsReady=function(e){window.tradingViewApi?e():he.promise.then(e)},window.applyTradingCustomization=function(e){for(var t in e.order)TradingView.defaultProperties.linetoolorder[t]=e.order[t];for(var t in e.position)TradingView.defaultProperties.linetoolposition[t]=e.position[t]},window.changeTheme=function(e,t){var i=d.themes[e.toLowerCase()];return i?window.tradingViewApi.themes().setStdTheme(i.name,!0,t&&t.disableUndo):Promise.resolve()},window.getTheme=function(){return window.tradingViewApi.themes().getCurrentThemeName()},window.is_authenticated=!1;JSON.parse(window.urlParams.brokerConfig);s("charts by TradingView"),s("powered by TradingView"),s("by TradingView");var ge=null,fe=M(),ve=null,Se=function(){if(n.setEnabled("charting_library_debug_mode","true"===urlParams.debug),n.setEnabled("chart_property_page_trading",!1),n.enabled("remove_library_container_border")){var e=document.querySelector("#library-container");null!==e&&(e.style.border="0px",e.style.padding="1px")} -n.enabled("no_min_chart_width")&&(window.document.body.style.minWidth="0px"),null!=urlParams.studiesOverrides&&Z.mergeDefaultsOverrides(JSON.parse(urlParams.studiesOverrides)),r(void 0===TradingView.defaultProperties,"Default properties are inited before applying overrides"),me(JSON.parse(urlParams.overrides)),urlParams.numeric_formatting=urlParams.numeric_formatting&&JSON.parse(urlParams.numeric_formatting),urlParams.numeric_formatting&&"string"==typeof urlParams.numeric_formatting.decimal_sign&&(P.decimalSign=urlParams.numeric_formatting.decimal_sign[0]),window.ChartApiInstance=new X(window.parent[urlParams.uid].datafeed),window.parent[urlParams.uid].customFormatters&&(window.parent[urlParams.uid].customFormatters.timeFormatter&&(T.timeFormatter=window.parent[urlParams.uid].customFormatters.timeFormatter),window.parent[urlParams.uid].customFormatters.dateFormatter&&(T.dateFormatter=window.parent[urlParams.uid].customFormatters.dateFormatter),window.parent[urlParams.uid].customFormatters.tickMarkFormatter&&(T.tickMarkFormatter=window.parent[urlParams.uid].customFormatters.tickMarkFormatter),window.parent[urlParams.uid].customFormatters.priceFormatterFactory&&(T.priceFormatterFactory=window.parent[urlParams.uid].customFormatters.priceFormatterFactory),window.parent[urlParams.uid].customFormatters.studyFormatterFactory&&(T.studyFormatterFactory=window.parent[urlParams.uid].customFormatters.studyFormatterFactory)),window.ChartApiInstance.setStudiesAccessController(window.ChartApiInstance.createStudiesAccessController(urlParams.studiesAccess));var t=urlParams.chartContent?JSON.parse(urlParams.chartContent).json:void 0,o=urlParams.chartContentExtendedData?JSON.parse(urlParams.chartContentExtendedData):t?t.extendedData:void 0,u=urlParams.interval||"D",_=function(e){var t=/(\d+)(\w+)/;return e.map((function(e){var i=t.exec(e.text),r=i[2].toLowerCase(),n=parseInt(i[1]),o="y"===r?12*n+"M":n+r,a=N.parse(e.resolution);return{text:s(e.title)||n+s(r,{context:"dates",count:n}),description:e.description||"",value:{value:o.toUpperCase(),type:W.PeriodBack},targetResolution:a.value(),requiresIntraday:a.isIntraday()}}))}(JSON.parse(urlParams.timeFrames)),m={resizerBridge:z,padding:n.enabled("border_around_the_chart")?2:0,content:t,widgetOptions:{addToWatchlistEnabled:!1,hideIdeas:!0,addVolume:window.ChartApiInstance.studiesAccessController.isToolEnabled("Volume"),muteSessionErrors:!0,timezone:urlParams.timezone,defSymbol:urlParams.symbol,defInterval:u,compareSymbols:urlParams.compareSymbols&&JSON.parse(urlParams.compareSymbols),defTimeframe:window.parent[urlParams.uid].timeframe,paneContextMenuEnabled:n.enabled("pane_context_menu"),paneContextMenu:{mainSeriesTrade:U},priceScaleContextMenuEnabled:n.enabled("scales_context_menu"),currencyConversionEnabled:n.enabled("pricescale_currency"),unitConversionEnabled:n.enabled("pricescale_unit"),legendWidgetEnabled:n.enabled("legend_widget"),legendWidget:{contextMenu:{settings:n.enabled("show_chart_property_page"),showOpenMarketStatus:n.enabled("display_market_status")}},sourceStatusesWidget:{ -errorSolution:!1},marketStatusWidgetEnabled:n.enabled("display_market_status"),chartWarningWidget:{subscriptionFullInfo:!1},timeScaleWidget:{contextMenuEnabled:n.enabled("scales_context_menu"),timezoneMenuEnabled:n.enabled("timezone_menu"),priceAxisLabelsOptions:{showLabels:n.enabled("main_series_scale_menu")}},timeScale:{preserveBarSpacing:!1,lockVisibleTimeRangeOnResize:n.enabled("lock_visible_time_range_on_resize"),rightBarStaysOnScroll:n.enabled("right_bar_stays_on_scroll"),minBarSpacing:urlParams.time_scale&&JSON.parse(urlParams.time_scale).min_bar_spacing},goToDateEnabled:n.enabled("go_to_date"),crossHair:{menuEnabled:n.enabled("chart_crosshair_menu")},handleScale:{mouseWheel:n.enabled("mouse_wheel_scale"),pinch:n.enabled("pinch_scale"),axisPressedMouseMove:{time:n.enabled("axis_pressed_mouse_move_scale"),price:n.enabled("axis_pressed_mouse_move_scale")}},handleScroll:{mouseWheel:n.enabled("mouse_wheel_scroll"),pressedMouseMove:n.enabled("pressed_mouse_move_scroll"),horzTouchDrag:n.enabled("horz_touch_drag_scroll"),vertTouchDrag:n.enabled("vert_touch_drag_scroll")},shiftVisibleRangeOnNewBar:n.enabled("shift_visible_range_on_new_bar"),croppedTickMarks:n.enabled("cropped_tick_marks"),countdownEnabled:n.enabled("countdown"),indicatorsDialogShortcutEnabled:n.enabled("insert_indicator_dialog_shortcut")},seriesControlBarEnabled:n.enabled("timeframes_toolbar"),seriesControlBar:{timeFramesWidgetEnabled:!0,timeFramesWidget:{goToDateEnabled:n.enabled("go_to_date"),availableTimeFrames:function(e,t){return e?t!==ee.STATUS_DELAYED&&t!==ee.STATUS_DELAYED_STREAMING&&t!==ee.STATUS_READY?[]:_.filter((function(t){return!(t.requiresIntraday&&!e.has_intraday)&&!(e.supported_resolutions&&!e.supported_resolutions.includes(t.targetResolution))})):[]}},timeWidgetEnabled:!0,timeWidget:{timezoneMenuEnabled:n.enabled("timezone_menu")},adjustForDividendsButtonEnabled:!1,sessionIdButtonEnabled:n.enabled("pre_post_market_sessions"),backAdjustmentButtonEnabled:!1,settlementAsCloseButtonEnabled:!1,percentageScaleButtonEnabled:!0,logScaleButtonEnabled:!0,autoScaleButtonEnabled:!0,fullscreenButtonEnabled:!0,mobileChangeLayoutEnabled:!1},globalEvents:!0,snapshotUrl:urlParams.snapshotUrl,mobileForceChartMaximizeEnabled:!1,saveChartEnabled:n.enabled("save_shortcut")};de&&(Y(),m.widgetOptions.isDrawingToolbarVisible=h),o&&(m.metaInfo={id:o.uid,name:o.name,description:o.description,uid:o.uid,username:"",tags:""}),window.parent[urlParams.uid].additionalSymbolInfoFields&&se(window.parent[urlParams.uid].additionalSymbolInfoFields),window.parent[urlParams.uid].symbolSearchComplete&&re(window.parent[urlParams.uid].symbolSearchComplete);var g=window.chartWidgetCollection=new q(m);let M=!1;g.onAboutToBeDestroyed.subscribe(null,()=>{M=!0},!0),ie(g),window.studyMarket=new x(g),void 0!==G&&G.registerService(j,g),g.activeChartWidget.subscribe((function(e){C.emit("activeChartChanged",g.getAll().indexOf(e))})),window.saver=new f(g);var L=new v(g,window.saver),A=new S(g);window.chartWidget=g.activeChartWidget.value(),window.pro=new TradingView.Pro -;var E=function(e){if(!n.enabled("header_widget"))return null;var t=H.allocate({areaName:"top"}),s=new(0,i(68425).ChartChangesWatcher)(e.chartWidgetCollection.undoHistory,e.chartWidgetCollection.lineToolsSynchronizerHasChanges,window.saver,C),r=JSON.parse(urlParams.favorites);r.intervals=r.intervals.map((function(e){var t=""+e;return t.match(/1[DWMYdwmy]/)&&(t=t.slice(1)),t}));var o=null;n.enabled("study_templates")&&(o=new b(I,TVSettings),ve=new y({chartWidgetCollection:e.chartWidgetCollection,favoriteStudyTemplatesService:o}));var c=void 0,h=urlParams.header_widget_buttons_mode;"fullsize"===h&&(c=["full"]);"compact"===h&&(c=["small"]);return new l(new a,{chartSaver:window.saver,chartApiInstance:ChartApiInstance,chartWidgetCollection:e.chartWidgetCollection,defaultFavoriteStyles:r.chartTypes,defaultFavoriteIntervals:r.intervals,hideStudyTemplates:!0,resizerBridge:t,studyMarket:window.studyMarket,studyTemplates:ve,favoriteStudyTemplatesService:o,allowedModes:c,saveChartService:e.saveChartService,loadChartService:e.loadChartService,chartChangesWatcher:s,onClick:Me,snapshotUrl:e.snapshotUrl})}({chartWidgetCollection:g,saveChartService:L,loadChartService:A,snapshotUrl:urlParams.snapshotUrl});null!==E?E.load().then((function(e){ge=e.getComponent(),fe.resolve()})):(fe.promise.catch((function(){})),fe.reject("header widget is not loaded"));var k=function(e){if(de){var t=urlParams.toolbarbg&&/^[0-9a-f]+$/i.test(urlParams.toolbarbg)?String(urlParams.toolbarbg):void 0;if(t){var i=document.createElement("style");i.textContent="body,.chart-controls-bar,#footer-chart-panel{background-color:#"+t+" !important}",document.head.appendChild(i)}return new c({bgColor:t,chartWidgetCollection:e,drawingsAccess:urlParams.drawingsAccess?JSON.parse(urlParams.drawingsAccess):void 0,resizerBridge:H.allocate({areaName:"left"}),onClick:Me})}return null}(g),D=null;window.tradingViewApi=new J({chartWidgetCollection:g,chartApiInstance:window.ChartApiInstance,saveChartService:L,loadChartService:A});if(w.bindToChartWidgetCollection(g),TradingView.isNaN(urlParams.studyCountLimit)||(TradingView.STUDY_COUNT_LIMIT=Math.max(2,+urlParams.studyCountLimit)),!TradingView.isNaN(urlParams.ssreqdelay)){var V=Math.max(0,+urlParams.ssreqdelay);Q(V)}window.ChartApiInstance.connect(),Promise.all([i.e(5514),i.e(9129),i.e(2e3),i.e(6363),i.e(3466),i.e(7836),i.e(8463),i.e(3921),i.e(7427),i.e(1112),i.e(6909),i.e(5998),i.e(6416),i.e(7419),i.e(3520),i.e(9042),i.e(323),i.e(2849),i.e(880),i.e(1075),i.e(9505),i.e(1890),i.e(1784),i.e(7210),i.e(2306)]).then(i.t.bind(i,87805,23)).then(({default:e})=>{M||(window.lineToolPropertiesToolbar=new e(g))});var R=document.querySelector(".tv-content");function O(){k&&k.load(ae.signal),D&&D.load(ae.signal).then((function(e){window.footerWidget=e.getComponent()}))}null!==R&&R.addEventListener("contextmenu",(function(e){null!==e.target&&"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&e.preventDefault()})),he.resolve(),g.undoHistory.undoStack().onChange().subscribe(null,B((function(e){ -e&&!e.customFlag("doesnt_affect_save")&&C.emit("onAutoSaveNeeded")}),1e3*(urlParams.autoSaveDelay||5),{leading:!1,trailing:!0})),window.chartWidget.withModel(null,(function(){if(ChartApiInstance.on("realtime_tick",(function(e){C.emit("onTick",e)})),!d.savedThemeName()&&_e){var e=d.getStdTheme(_e);e&&e.content&&void 0===t&&g.applyTheme({theme:e.content,onlyActiveChart:!1,restoreNonThemeDefaults:!1,themeName:_e,standardTheme:!0,syncState:!0,noUndo:!0}).then(()=>window.applyOverrides(window.__defaultsOverrides))}n.enabled("charting_library_debug_mode")&&C.subscribeToAll((function(){var e=Array.prototype.slice.call(arguments);console.log('Event "{0}", arguments: {1}'.format(e[0],JSON.stringify(e.slice(1))))})),K&&(K(g),K=null),$&&($(g,{seriesControlBarEnabled:n.enabled("timeframes_toolbar")}),$=null)})),p.isAnyChartWidgetInitialized(g)?O():p.waitAnyChartWidgetInitialized(g,O),C.subscribe("chart_load_requested",(function(e){window.tradingViewApi.loadChart({json:JSON.parse(e.content),extendedData:e})}))};window.addEventListener("unload",(function(){ae.abort(),window.widgetbar&&(window.widgetbar.destroy(),window.widgetbar=null),window.chartWidgetCollection&&(window.chartWidgetCollection.destroy(),window.chartWidgetCollection=null),window.ChartApiInstance&&window.ChartApiInstance.disconnect(),F(),window.ChartApiInstance&&(window.ChartApiInstance.destroy(),window.ChartApiInstance=null)})),n.enabled("saveload_storage_customization")&&(window.parent[urlParams.uid].saveLoadAdapter?_.setCustomAdapter(window.parent[urlParams.uid].saveLoadAdapter):void 0!==urlParams.chartsStorageUrl&&urlParams.chartsStorageUrl&&void 0!==urlParams.clientId&&urlParams.clientId?_.initialize(urlParams.clientId,urlParams.userId,urlParams.chartsStorageUrl,urlParams.chartsStorageVer||"1.0"):(n.setEnabled("saveload_storage_customization",!1),n.setEnabled("header_saveload",!1)));var ye=M();function be(){ye.resolve()}window.parent[urlParams.uid].loadLastChart&&n.enabled("saveload_storage_customization")?_.getCharts().then((function(e){if(0!==e.length){var t=e.sort((function(e,t){return t.modified_iso-e.modified_iso}))[0];_.getChartContent(t).then((function(e){var t=JSON.parse(e.content);t.extendedData=e,urlParams.chartContent=JSON.stringify({json:t}),be()})).catch(be)}else be()})).catch(be):be();var we,Ce,Pe=M();Promise.all([Pe.promise,ye.promise,window.loadedCustomCss]).then((function(){var e,t,i,s,r,o,a=document.querySelector(".loading-indicator");if(a&&(a.style.display="none"),setTimeout(Se,0),n.enabled("14851")&&Math.random()<=.02){e=window,t=document,i="script",s="ga",e.GoogleAnalyticsObject=s,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,r=t.createElement(i),o=t.getElementsByTagName(i)[0],r.async=1,r.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(r,o);var l=document.URL.match(new RegExp("(:?.*://)([^/]+)/.*"))[2];ga("create","UA-112911840-1","auto"),ga("set","anonymizeIp",!0),ga("set",{hostname:l,page:l,referrer:l}),ga("send","pageview")}})),we=!0, -window.parent[urlParams.uid].datafeed.onReady((function(e){we&&console.warn("`onReady` should return result asynchronously. Use `setTimeout` with 0 interval to execute the callback function."),window.configurationData=e,Pe.resolve()})),we=!1,window.getFunctionFromArguments=function(e){return window.parent[urlParams.uid][e]},window.createShortcutAction=(Ce=m.createGroup({desc:"API"}),function(e,t){Ce.add({hotkey:g(e),handler:t})}),window.initializationFinished=function(){window.chartWidgetCollection.undoHistory.clearStack()},window.headerReady=function(){return fe.promise},window.createButton=function(e){if(null===ge)throw new Error("Cannot create button: header widget is not ready or is not loaded - use `headerReady` to wait until header is ready");return(e=e||{}).align=e.align||"left",e.useTradingViewStyle=e.useTradingViewStyle||!1,ge.addButton(A(),e)},window.createDropdown=function(e){if(void 0===e)throw new Error("Cannot create dropdown without any parameters. Please refer to the documentation");void 0===e.align&&(e.align="left");const t=A();return ge?(ge.addDropdown(t,e),Promise.resolve(new ne(ge,t))):fe.promise.then(()=>(ge.addDropdown(t,e),new ne(ge,t)))},window.getAllFeatures=function(){const e=n.getAllFeatures();return Object.keys(e).forEach((function(t){isNaN(parseFloat(t))||delete e[t]})),e};var Te=null;window.getNavigationButtonsVisibility=function(){return null===Te&&(Te=E(k())),Te};var xe=null;window.getPaneButtonsVisibility=function(){return null===xe&&(xe=E(D())),xe};var Ie=null;function Me(e){var t=TradingView.bottomWidgetBar;t&&t.turnOffMaximize()}window.getDateFormat=function(){return null===Ie&&(Ie=E(V)),Ie}},11372:(e,t,i)=>{e=i.nmd(e),TradingView.cleanButAmpersand=function(e,t){var i=t?["&"]:["&"];return TradingView.clean(e,t,i)},TradingView.strip_tags=function(e){return e&&e.replace?e.replace(/(<([^>]+)>)/gi,""):e},TradingView.encodeSpread=function(e){return encodeURIComponent(e)},TradingView.clean=function(e,t,i){var s=[["&","&"],["<","<"],[">",">"],['"',"""],["'","'"],["'","'"]],r=e;if(!e||!e.replace)return r;for(var n=0;n{"use strict";i.r(t);var s=i(21097),r=i(51768),n=i(38780);function o(e,t=!1){"loading"!==document.readyState?t?setTimeout(()=>e(),1):e():document.addEventListener("DOMContentLoaded",()=>e())}new Promise(e=>{o(e)});function a(e,t="x"){let i=!1;return"x"!==t&&"both"!==t||(i=i||e.offsetWidth{document.addEventListener("mouseenter",e=>{const t=e.target;if(t instanceof HTMLElement&&t.matches(".apply-overflow-tooltip")){let e="x";if(t.matches(".apply-overflow-tooltip--direction_both")?e="both":t.matches(".apply-overflow-tooltip--direction_y")&&(e="y"), -t.matches(".apply-overflow-tooltip--check-children")){let i=!1;const s=t.children;for(let t=0;t(t.nodeType===Node.TEXT_NODE&&e.push(t.textContent||""),e),[]).join("").trim(),(0,n.showOnElement)(t,{text:i});const s=()=>{(0,n.hide)(),["mouseleave","mousedown"].forEach(e=>t.removeEventListener(e,s))};["mouseleave","mousedown"].forEach(e=>t.addEventListener(e,s))}},!0)});var l=i(2872),c=i.n(l),h=i(11417),d=i(15840);let u;function p(e){window.iframeAuthWidget&&!1===window.user.profile_data_filled&&(window.iframeAuthWidget.preventClose=!0);const t=window.user.available_offers||{};window.TVSettings&&window.TVSettings.sync(window.user.settings),window.is_authenticated?(e||(initOfferLoginStateChangeButton(),onGoPro()&&window.user.is_pro&&window.location.reload()),!1===window.user.profile_data_filled&&((0,r.trackEvent)("Conversion","First login"),delete window.user.profile_data_filled)):(Object.keys(t).forEach(e=>{const i=e;t[i].available_for_anons||delete t[i]}),window.user={username:"Guest",following:"0",followers:"0",ignore_list:[],available_offers:t},h.TVLocalStorage.removeItem("trial_availiable"))}u=window.loginStateChange?window.loginStateChange:window.loginStateChange=new(c()),u.subscribe(null,p),s.TVXWindowEvents.on("loginStateChange",e=>{const t=JSON.parse(e);window.user=t.user,window.is_authenticated=!!t.is_authenticated,u.fire()}),s.TVXWindowEvents.on("signOut",()=>{!function(){if(window.initData.lfs){const e=document.getElementsByClassName("js-admin-warning")[0];document.body.removeChild(e)}let e=!0;[/^\/chart\//,/^\/share-your-love\//].forEach(t=>{t.test(window.location.pathname)&&(e=!1)}),e&&window.location.reload()}()}),(()=>{const e={};window.crossTabSyncUserAttr=e=>{const t={};e instanceof Array?e.forEach(e=>{t[e]=window.user[e]}):t[e]=window.user[e],s.TVXWindowEvents.emit("user-obj-changed",JSON.stringify(t))},s.TVXWindowEvents.on("user-obj-changed",t=>{const i=JSON.parse(t);let s;for(s in i)if(i.hasOwnProperty(s)){window.user[s]=i[s];(e[s]||[]).forEach(e=>{e.fire(i[s])})}})})(),window.TradingView.changeLoginState=e=>{window.is_authenticated=!!e,s.TVXWindowEvents.emit("loginStateChange",JSON.stringify({is_authenticated:window.is_authenticated,user:window.user})),u.fire()},window.loginUser=function(e,t){window.TVDialogs&&window.TVDialogs.signModal&&window.TVDialogs.signModal.close(),window.user=(0,d.deepExtend)({},e),window.TradingView.changeLoginState(!0),"function"==typeof t&&window.TVDialogs&&window.TVDialogs.signModal?window.TVDialogs.signModal.on("signinSuccess",()=>{t()}):"function"==typeof t&&t()},window.loginRequiredDelegate=new(c()),window.runOrSignIn=(e,t)=>{t||(t={}),e()},window.onLoginStateChange=p,window.TradingView.setTrialAvailiable=e=>{h.TVLocalStorage.setItem("trial_availiable",e?"1":"0")},window.TradingView.notificationsChanged=new(c())},68906:(e,t,i)=>{ -"use strict";i.r(t),i.d(t,{generateColor:()=>r,alphaToTransparency:()=>n,transparencyToAlpha:()=>o,applyTransparency:()=>a,resetTransparency:()=>l,getLuminance:()=>c,isHexColor:()=>h,colorFromBackground:()=>d,gradientColorAtPercent:()=>u,isColorDark:()=>p,rgbaFromInteger:()=>_,rgbaToInteger:()=>m,colorToInteger:()=>g});var s=i(24377);function r(e,t,i){if(t=t||0,!h(e))return i?(0,s.rgbaToString)((0,s.rgba)((0,s.parseRgb)(e),(0,s.normalizeAlphaComponent)(o(t)))):e;const[r,n,a]=(0,s.parseRgb)(e),l=(0,s.normalizeAlphaComponent)(o(t));return(0,s.rgbaToString)([r,n,a,l])}function n(e){return 100*(1-e)}function o(e){if(e<0||e>100)throw new Error("invalid transparency");return 1-e/100}function a(e,t){if("transparent"===e)return e;const i=(0,s.parseRgba)(e),r=i[3];return(0,s.rgbaToString)((0,s.rgba)(i[0],i[1],i[2],o(t)*r))}function l(e){return"transparent"===e||h(e)?e:(0,s.rgbaToString)((0,s.rgba)((0,s.parseRgb)(e),(0,s.normalizeAlphaComponent)(1)))}function c(e){const t=(0,s.parseRgb)(e).map(e=>(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4));return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function h(e){return 0===e.indexOf("#")}function d(e){return"black"===(0,s.rgbToBlackWhiteString)((0,s.parseRgb)(e),150)?"#ffffff":"#000000"}function u(e,t,i){const[r,n,o,a]=(0,s.parseRgba)(e),[l,c,h,d]=(0,s.parseRgba)(t),u=(0,s.rgba)(Math.round(r+i*(l-r)),Math.round(n+i*(c-n)),Math.round(o+i*(h-o)),a+i*(d-a));return(0,s.rgbaToString)(u)}function p(e){return c(l(e))<.5}function _(e){const t=(e=Math.round(e))%256;e-=t;const i=(e/=256)%256;e-=i;const s=(e/=256)%256;e-=s;return`rgba(${t},${i},${s},${(e/=256)/255})`}function m(e){const t=Math.round(255*e[3]);return e[0]+256*e[1]+65536*e[2]+16777216*t}function g(e){const t=(0,s.tryParseRgba)(e);return null===t?0:m(t)}},59199:(e,t,i)=>{"use strict";i.d(t,{doAnimate:()=>n});const s={from:0,duration:250,easing:i(68587).easingFunc.easeOutCubic};class r{constructor(e){this._doing=!0,this._completed=!1,this._options={...s,...e};const t=performance.now();window.requestAnimationFrame(e=>{this._animation(t,this._options.from,e)})}stop(){this._doing=!1}completed(){return this._completed}_animation(e,t,i){if(!this._doing)return void this._finishAnimation();const s=(i=!i||i<1e12?performance.now():i)-e,r=s>=this._options.duration||t===this._options.to,n=(o=this._options.from,a=this._options.to,l=this._options.easing(s/this._options.duration),o*(1-l)+a*l);var o,a,l;const c=r?this._options.to:n,h=c-t;this._options.onStep(h,c),r?this._finishAnimation():window.requestAnimationFrame(t=>{this._animation(e,c,t)})}_finishAnimation(){this._options.onComplete&&this._options.onComplete(),this._completed=!0}}function n(e){return new r(e)}},85198:(e,t,i)=>{"use strict";i.d(t,{fetch:()=>s});(0,i(98125).getLogger)("Fetch");function s(e,t,i={}){return window.fetch(e,t)}},98125:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LOGLEVEL:()=>n,getLogLevel:()=>_,isHighRateEnabled:()=>m,setLogLevel:()=>g,getRawLogHistory:()=>f,serializeLogHistoryEntry:()=>v,getLogHistory:()=>S,getLogger:()=>b,loggingOn:()=>C, -loggingOff:()=>P});const s="undefined"!=typeof window?window:{};let r=!1;try{localStorage.getItem(""),r=!0}catch(e){}var n;!function(e){e[e.ERROR=1]="ERROR",e[e.WARNING=2]="WARNING",e[e.INFO=3]="INFO",e[e.NORMAL=4]="NORMAL",e[e.DEBUG=5]="DEBUG"}(n||(n={}));let o=0;const a=[];let l=null,c=null,h=null,d=NaN,u=n.WARNING,p=!1;function _(){return u}function m(){return p}function g(e){e=Math.max(n.ERROR,Math.min(n.DEBUG,e)),u=e,T()}function f(e,t){let i=a.reduce((e,t)=>e.concat(t),[]);return i.sort((e,t)=>e.id-t.id),void 0!==t&&(i=i.filter(e=>e.subSystemId===t)),"number"==typeof e&&(i=i.slice(-e)),i}function v(e){return new Date(e.timestamp).toISOString()+":"+e.subSystemId+":"+e.message.replace(/"/g,"'")}function S(e,t){return function(e,t){let i,s=0,r=0;for(i=e.length-1;i>=1&&(s+=8*(1+encodeURIComponent(e[i]).length),!(i-1>0&&(r=8*(1+encodeURIComponent(e[i-1]).length),s+r>t)));i--);return e.slice(i)}(f(e,t).map(v),75497472)}function y(e,t,i,r){if(t===c&&r.id===h)return;const a=new Date;if(e<=n.NORMAL&&function(e,t,i,r,n){"function"===s.structuredClone&&(t=s.structuredClone(t));const a={id:o,message:t,subSystemId:r,timestamp:Number(e)};o+=1,i.push(a),void 0!==n&&i.length>n&&i.splice(0,1)}(a,t,i,r.id,r.maxCount),e<=u&&(!r.highRate||m())&&(!l||r.id.match(l))){const i=a.toISOString()+":"+r.id+":"+t;switch(e){case n.DEBUG:console.debug(i);break;case n.INFO:case n.NORMAL:r.color?console.log("%c"+i,"color: "+r.color):console.log(i);break;case n.WARNING:console.warn(i);break;case n.ERROR:console.error(i)}c=t,h=r.id,d&&clearTimeout(d),d=setTimeout(()=>{c=null,h=null,d=NaN},1e3)}}function b(e,t={}){const i=[];a.push(i);const s=Object.assign(t,{id:e});function r(e){return t=>y(e,String(t),i,s)}return{logDebug:r(n.DEBUG),logError:r(n.ERROR),logInfo:r(n.INFO),logNormal:r(n.NORMAL),logWarn:r(n.WARNING)}}const w=b("logger"),C=s.lon=(e,t)=>{g(n.DEBUG),w.logNormal("Debug logging enabled"),p=Boolean(e),l=t||null,T()},P=s.loff=()=>{g(n.INFO),w.logInfo("Debug logging disabled")};function T(){try{r&&(localStorage.setItem("tv.logger.logHighRate",String(p)),localStorage.setItem("tv.logger.loglevel",String(u)))}catch(e){w.logWarn(`Cannot save logger state (level: ${u}, high-rate: ${p}) to localStorage: ${e.message}`)}}!function(){p=!!r&&"true"===localStorage.getItem("tv.logger.logHighRate");let e=parseInt(r&&localStorage.getItem("tv.logger.loglevel")||"");Number.isNaN(e)&&(e=n.WARNING),g(e),w.logNormal(`Init with settings - level: ${u}, high-rate: ${p}`)}(),s.performance&&s.performance.now?w.logNormal("Sync logger and perf times, now is "+s.performance.now()):w.logWarn("Perf time is not available")},52640:(e,t,i)=>{"use strict";function s(e,t,i,s){return`${s?s+" ":""}${i?i+" ":""}${e}px ${t}`}i.d(t,{makeFont:()=>s,parseFont:()=>n});const r=/(bold )?(italic )?(\d+)(px|pt) (.*)$/;function n(e){const t=r.exec(e);return null===t?null:{family:t[5],size:parseInt(t[3])*("pt"===t[4]?.75:1),bold:Boolean(t[1]),italic:Boolean(t[2])}}},45415:(e,t,i)=>{"use strict";i.d(t,{visitObject:()=>n});var s=i(80643);function r(e,t,i){return(0, -s.isArray)(e)?function(e,t,i){return e.map(e=>{const s=r(e,t,i),n=t(s);return void 0!==n?n:s})}(e,t,i):(0,s.isObject)(e)&&((0,s.isHashObject)(e)||i&&i.visitInstances)?function(e,t,i){const s={};return Object.keys(e).forEach(n=>{const o=r(e[n],t,i),a=t(o);s[n]=void 0!==a?a:o}),s}(e,t,i):e}function n(e,t,i){const s=r(e,t,i),n=t(s);return void 0!==n?n:s}},28789:(e,t,i)=>{"use strict";function s(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}i.d(t,{regExpEscape:()=>s})},62820:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isRtl:()=>r,stripLTRMarks:()=>o,startWithLTR:()=>a,forceLTRStr:()=>l,forceLTRStrSsr:()=>c,forceRTLStr:()=>h,getLTRScrollLeft:()=>d,getLTRScrollLeftOffset:()=>u,detectAutoDirection:()=>m});var s=i(64531);const r=()=>"rtl"===window.document.dir,n=new RegExp("‎|‪|‫|‬","g");function o(e){return""!==e&&r()&&null!=e?e.replace(n,""):e}function a(e){return""!==e&&r()&&null!=e?"‎"+e:e}function l(e){return""!==e&&r()&&null!=e?"‪"+e+"‬":e}function c(e){return"‪"+e+"‬"}function h(e){return""!==e&&r()&&null!=e?"‫"+e+"‬":e}function d(e){return(0,s.getNormalizedScrollLeft)(e,"rtl")}function u(e,t){const i=(0,s.detectScrollType)();if("indeterminate"===i)return 0;switch(i){case"negative":t=e.clientWidth-e.scrollWidth+t;break;case"reverse":t=e.scrollWidth-e.clientWidth-t}return t}const p=/[^\u0000-\u0040\u005B-\u0060\u007B-\u00BF\u00D7\u00F7\u02B9-\u02FF\u2000-\u200E\u2010-\u2029\u202C\u202F-\u2BFF]/,_=/[\u0590-\u07FF\u200F\u202B\u202E\uFB1D-\uFDFD\uFE70-\uFEFC]/;function m(e){const t=p.exec(e);return t?_.test(t[0])?"rtl":"ltr":""}},68587:(e,t,i)=>{"use strict";i.d(t,{CubicBezier:()=>s.CubicBezier,dur:()=>s.dur,easingFunc:()=>s.easingFunc});var s=i(74991)},51193:(e,t,i)=>{"use strict";function s(){return Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(9289),i.e(4017),i.e(3016),i.e(2077)]).then(i.bind(i,30349))}i.d(t,{loadChangeIntervalDialog:()=>s})},8636:(e,t,i)=>{"use strict";i.d(t,{showChangeIntervalDialogAsync:()=>n});var s=i(51193);let r=null;function n(e){const t=r=(0,s.loadChangeIntervalDialog)().then(i=>{t===r&&i.showChangeIntervalDialog(e)});return t}},94420:(e,t,i)=>{"use strict";function s(e){return Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(8463),i.e(9289),i.e(7345),i.e(7176),i.e(8268),i.e(9055),i.e(2358),i.e(5802),i.e(9837),i.e(3016),i.e(1075),i.e(6085),i.e(1859)]).then(i.bind(i,54801)).then(t=>t.showGoToDateDialog(e))}i.d(t,{showGoToDateDialog:()=>s})},65645:(e,t,i)=>{"use strict";i.d(t,{showTooManyStudiesNotice:()=>n});var s=i(28353),r=i(3615);function n(e){"number"!=typeof e&&(e=TradingView.STUDY_COUNT_LIMIT),(0,r.showWarning)({title:(0,s.t)("Warning"),text:(0,s.t)("Studies limit exceeded: {number} studies per layout.\nPlease, remove some studies.").format({number:e})})}},34615:(e,t,i)=>{"use strict";i.d(t,{StudyMarket:()=>n});var s=i(52714),r=i.n(s);class n{constructor(e,t){this._visibility=new(r())(!1),this._dialogPromise=null,this._dialog=null,this._chartWidgetCollection=e,this._options=t}visible(){return this._visibility.readonly()}show(e,t){var i -;null===this._dialog&&this._requestDialog(e,t),null===(i=this._dialog)||void 0===i||i.open(e,void 0,t)}hide(){var e;null===(e=this._dialog)||void 0===e||e.hide()}resetAllPages(){var e;null===(e=this._dialog)||void 0===e||e.resetAllStudies()}_requestDialog(e,t){if(null===this._dialogPromise){let s;s=Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(7962),i.e(8986),i.e(8463),i.e(5774),i.e(1112),i.e(9637),i.e(775),i.e(3016),i.e(6456)]).then(i.bind(i,54127)).then(e=>new e.IndicatorsLibraryContainer(this._chartWidgetCollection,this._options)),this._dialogPromise=s.then(i=>{this._dialog=i,this._dialog.visible().subscribe(e=>{this._visibility.setValue(e)}),this._dialog.open(e,void 0,t)})}return this._dialogPromise}}},13221:(e,t,i)=>{"use strict";i.d(t,{setAdditionalSymbolInfoFields:()=>r,getAdditionalSymbolInfoFields:()=>n});let s=[];function r(e){s=e}function n(){return s}},88679:(e,t,i)=>{"use strict";function s(e,t){Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(6324),i.e(3016),i.e(9374)]).then(i.t.bind(i,65398,19)).then(i=>{i.showSymbolInfoDialog(e,t)})}i.d(t,{showSymbolInfoDialog:()=>s})},89330:(e,t,i)=>{"use strict";i.d(t,{ChartSaverBase:()=>s});class s{constructor(e){this._chartWidgetCollection=e}saveChartLineTools(e,t,i){return Promise.reject("Line tools storage is not supported")}_getCommonSavingInfo(e){const t=this._chartWidgetCollection,i=this._chartWidgetCollection.chartsSymbols(),s=i[t.activeChartWidget.value().id()],r={...(n=s,{...n,legs:JSON.stringify(null!==(o=n.legs)&&void 0!==o?o:[])})};var n,o;const a=t.metaInfo;return a.id.value()&&(r.id=a.id.value()),r.name=a.name.value()||"",r.description=a.description.value()||"",r.charts_symbols=function(e){const t={};for(const i of Object.keys(e))t[i]={symbol:e[i].symbol};return JSON.stringify(t)}(i),r.is_realtime=r.is_realtime=e?"0":"1",r}async _saveLineToolsToStorage(){return Promise.resolve()}}},76900:(e,t,i)=>{"use strict";var s=i(2872),r=i(28353).t,n=i(88537).assert,o=i(80643).deepEquals,a=i(43007).backend,l=i(89330).ChartSaverBase;r("The publication preview could not be loaded. Please disable your browser extensions and try again."),r("Failed to save library"),r("Failed to save script");function c(e,t){e.content=JSON.stringify(t)}t.ChartSaver=class extends l{constructor(e){super(e),this._chartAboutToBeSavedDelegate=new s,this._chartSavedDelegate=new s,this._prevChartState=null,this._chartSizeLimitExceededDelegate=new s}chartSizeLimitExceeded(){return this._chartSizeLimitExceededDelegate}chartAboutToBeSaved(){return this._chartAboutToBeSavedDelegate}chartSaved(){return this._chartSavedDelegate}whenReadyToSave(e){var t=this._chartWidgetCollection.activeChartWidget.value().model().mainSeries();if(t.hasDelayedSymbolIntervalChange()){var i,s=null;i=function(){t.dataEvents().symbolError().unsubscribe(null,s,!0),e()},s=function(){t.dataEvents().symbolResolved().unsubscribe(null,i,!0)},t.dataEvents().symbolResolved().subscribe(null,i,!0),t.dataEvents().symbolError().subscribe(null,s,!0)}else e()}saveToJSON(){var e=this._getCommonSavingInfo(!1) -;return c(e,this._getChartWidgetCollectionState(!1,!0)),e}_getChartWidgetCollectionState(e,t,i,s,r){return e||(t=!0,s=!1),t?this._chartWidgetCollection.state(!!e,i,s,r):this._chartWidgetCollection.activeChartWidget.value().state(!!e,i,s,r)}publishChart(e){}publishScript(e,t,i){}onPublish(e,t){}_saveChartImpl(e,t,i,s,r,n){var o=i,l=s;if(o=function(s){t.id.value()||(t.id.setValue(s),t.uid.setValue(s)),"function"==typeof i&&i(t,e)},!e.name)return console.warn("Saving chart with empty name is not allowed"),void s();a.saveChart(e.name,e.short_name,e.resolution,e,t).then(o.bind(this)).catch(l.bind(this))}_saveChart(e,t,i,s){var r=this._chartWidgetCollection.metaInfo,n=function(n){return o(this._prevChartState,n)[0]&&null!=r.id.value()?(this._chartSavedDelegate.fire(!0),void(t&&t(r,n))):this._saveChartImpl(n,r,t,i,s,e)}.bind(this);this._saveLineToolsToStorage().then((function(){var t=e(!0);return n(t)})).catch((function(t){var i=e(!1);return n(i)}))}saveChartSilently(e,t,i){i=i||{};var s=function(e){var t=e&&!1,s=this._getChartWidgetCollectionState(!1,void 0,void 0,void 0,t),r=this._getCommonSavingInfo(!1,t);return c(r,s),i.chartName&&(r.name=i.chartName),r.name&&0!==r.name.length||!i.defaultChartName||(r.name=i.defaultChartName),i.autoSave&&(r.autoSave=!0),r}.bind(this);this._isSaveInProcess=!0,this._chartAboutToBeSavedDelegate.fire(),this._saveChart(s,function(t,i){n(!this._chartWidgetCollection.readOnly(),"Trying to save layout in read-only mode"),this._chartWidgetCollection.metaInfo.name.setValue(i.name),this._prevChartState=i,this._chartSavedDelegate.fire(!0),this._isSaveInProcess=!1,e&&e({uid:t.uid.value(),data:i}),delete this._prevChartState.savingToken}.bind(this),function(){this._chartSavedDelegate.fire(!1),this._isSaveInProcess=!1,t&&t.apply(null,arguments)}.bind(this),i)}isSaveInProcess(){return this._isSaveInProcess}}},1570:(e,t,i)=>{"use strict";i.d(t,{getTranslatedSymbolDescription:()=>s});i(28353);function s(e){return e.description||""}},82724:(e,t,i)=>{"use strict";function s(e){return e+"…"}i.d(t,{appendEllipsis:()=>s})},8128:(e,t,i)=>{"use strict";function s(e){if(!o(e))throw e}function r(e){return(null==e?void 0:e.aborted)?Promise.reject(n()):new Promise((t,i)=>{null==e||e.addEventListener("abort",()=>i(n()),{once:!0})})}function n(){return new DOMException("Aborted","AbortError")}function o(e){return e instanceof Error&&"AbortError"===e.name}function a(e,t){return Promise.race([r(e),t])}async function l(e,t){let i;try{await a(e,new Promise(e=>{i=setTimeout(e,t)}))}finally{clearTimeout(i)}}i.d(t,{skipAbortError:()=>s,isAbortError:()=>o,respectAbort:()=>a,delay:()=>l})},98619:(e,t,i)=>{"use strict";function s(e){let t;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if(e instanceof Date)t=new Date(e.valueOf());else if(Array.isArray(e)){t=[];let i=0;const r=e.length;for(;is})},15840:(e,t,i)=>{"use strict" -;function s(e,...t){return e&&"object"==typeof e?(0===t.length||t.forEach(t=>{null!=t&&"object"==typeof t&&Object.keys(t).forEach(i=>{const n=e[i],o=t[i];if(o===e)return;const a=Array.isArray(o);if(o&&(r(o)||a)){let t;t=a?n&&Array.isArray(n)?n:[]:n&&r(n)?n:{},e[i]=s(t,o)}else void 0!==o&&(e[i]=o)})}),e):e}function r(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);if(!t)return!0;const i=Object.hasOwnProperty.toString,s=t.hasOwnProperty("constructor")&&t.constructor;return"function"==typeof s&&i.call(s)===i.call(Object)}i.d(t,{deepExtend:()=>s})},88461:(e,t,i)=>{"use strict";function s(e){if(void 0===e)return"";if(e instanceof Error){let t=e.message;return e.stack&&(t+=" "+e.stack),t}return"string"==typeof e?e.toString():JSON.stringify(e)}i.d(t,{errorToString:()=>s})},72077:(e,t,i)=>{"use strict";i.d(t,{getTwemojiUrl:()=>r});var s=i(18438);function r(e,t){let i="";return s.default.parse(e,e=>(i=s.default.base+("svg"===t?`svg/${e}.svg`:`72x72/${e}.png`),!1)),i}s.default.base="https://cdnjs.cloudflare.com/ajax/libs/twemoji/13.0.1/"},9423:(e,t,i)=>{"use strict";i.r(t),i.d(t,{guid:()=>r,randomHash:()=>n,randomHashN:()=>o});const s="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function n(){return o(12)}function o(e){let t="";for(let i=0;i{"use strict";i.d(t,{parseHtml:()=>r,parseHtmlElement:()=>n});const s=new WeakMap;function r(e,t){let i,r;return i=null==t?document.documentElement:9===t.nodeType?t.documentElement:t,s&&(r=s.get(i)),r||(r=i.ownerDocument.createRange(),r.selectNodeContents(i),s&&s.set(i,r)),r.createContextualFragment(e)}function n(e,t){const i=r(e,t),s=i.firstElementChild;return null!==s&&i.removeChild(s),s}},54475:(e,t,i)=>{"use strict";function s(e){e.preventDefault()}i.d(t,{preventDefault:()=>s,preventDefaultForContextMenu:()=>n});const r=["input:not([type])",'input[type="text"]','input[type="email"]','input[type="password"]','input[type="search"]','input[type="number"]','input[type="url"]',"textarea","a[href]",'*[contenteditable="true"]',"[data-allow-context-menu]"];function n(e){const t=e.target;t&&!t.closest(r.join(", "))&&e.preventDefault()}},80054:(e,t,i)=>{"use strict";i.d(t,{htmlEscape:()=>n,removeSpaces:()=>o,capitalizeFirstLetterInWord:()=>a});const s=/[<"'&>]/g,r=e=>`&#${e.charCodeAt(0)};`;function n(e){return e.replace(s,r)}function o(e=""){return e.replace(/\s+/g,"")}function a(e=""){return e.replace(/\b\w/g,e=>e.toUpperCase())}},96397:(e,t,i)=>{"use strict";function s(e){return e.reduce((function(e,t,i){return~e.indexOf(t)||e.push(t),e}),[])}i.r(t),i.d(t,{uniq:()=>s})},38881:(e,t,i)=>{"use strict";i.d(t,{ChunkLoader:()=>r});var s=i(8128);class r{constructor(){this._retries=5,this._cache=null,this._tryLoad=(e,t)=>{this._retries=this._retries-1 -;this._startLoading(e).then(t,0!==this._retries?i=>{(0,s.isAbortError)(i)||setTimeout(()=>this._tryLoad(e,t),3e3)}:void 0)}}load(e){return this._cache||(this._cache=new Promise(this._tryLoad.bind(this,null!=e?e:null))),this._cache}}},65446:(e,t,i)=>{"use strict";function s(e,t){const i=e.files&&e.files.length>0;if(!i&&t&&t.eventPhase>0)return r(t,e),Promise.resolve();if(!i){let t=!1;const i=i=>{i.stopImmediatePropagation(),r(i,e),t=!0};try{document.addEventListener("copy",i,!0),document.execCommand("copy")}finally{document.removeEventListener("copy",i,!0)}if(t)return Promise.resolve()}return async function(e){if(!navigator.clipboard||!navigator.clipboard.write||!window.ClipboardItem)throw new DOMException("ClipboardApi is not supported","NotSupportedError");const t={};for(const i of e.files||[])t[i.type]=i;e.text&&(t["text/plain"]=e.text);e.html&&(t["text/html"]=e.html);return navigator.clipboard.write([new window.ClipboardItem(t)])}(e)}function r(e,t){e.preventDefault();const i=e.clipboardData;t.text&&i.setData("text/plain",t.text),t.html&&i.setData("text/html",t.html)}async function n(e,t){if("text/plain"===t&&!navigator.clipboard.write){const t=await e;return navigator.clipboard.writeText(await t.text())}if(!navigator.clipboard||!navigator.clipboard.write||!window.ClipboardItem)throw new DOMException("ClipboardApi is not supported","NotSupportedError");let i=null;try{i=new window.ClipboardItem({[t]:e})}catch(s){i=new window.ClipboardItem({[t]:await e})}if(i)return navigator.clipboard.write([i]);throw new Error("ClipboardApi is not supported")}i.d(t,{writeImpl:()=>s,writePromiseUsingApi:()=>n})},5370:(e,t,i)=>{"use strict";function s(e){if(void 0===e)return null;const t=e.match(/(delayed_streaming)_([\d]{1,4})/);return null===t?null:{mode:t[1],interval:parseInt(t[2])}}i.d(t,{parseUpdateMode:()=>s})},84917:(e,t,i)=>{"use strict";var s,r;i.r(t),i.d(t,{WeekDays:()=>s,Months:()=>r}),function(e){e[e.SUNDAY=1]="SUNDAY",e[e.MONDAY=2]="MONDAY",e[e.TUESDAY=3]="TUESDAY",e[e.WEDNESDAY=4]="WEDNESDAY",e[e.THURSDAY=5]="THURSDAY",e[e.FRIDAY=6]="FRIDAY",e[e.SATURDAY=7]="SATURDAY"}(s||(s={})),function(e){e[e.JANUARY=0]="JANUARY",e[e.FEBRUARY=1]="FEBRUARY",e[e.MARCH=2]="MARCH",e[e.APRIL=3]="APRIL",e[e.MAY=4]="MAY",e[e.JUNE=5]="JUNE",e[e.JULY=6]="JULY",e[e.AUGUST=7]="AUGUST",e[e.SEPTEMBER=8]="SEPTEMBER",e[e.OCTOBER=9]="OCTOBER",e[e.NOVEMBER=10]="NOVEMBER",e[e.DECEMBER=11]="DECEMBER"}(r||(r={}))},81836:(e,t,i)=>{"use strict";function s(){let e,t;return{promise:new Promise((i,s)=>{e=i,t=s}),reject:t,resolve:e}}i.d(t,{createDeferredPromise:()=>s})},76861:(e,t,i)=>{"use strict";function s(e=location.host){ -return-1!==["i18n.tradingview.com","partial.tradingview.com","www.tradingview.com","wwwcn.tradingview.com"].indexOf(e)||-1!==["d33t3vvu2t2yu5.cloudfront.net","dwq4do82y8xi7.cloudfront.net","s.tradingview.com","s3.tradingview.com"].indexOf(e)||e.match(/^[a-z]{2}\.tradingview\.com/)||e.match(/prod-[^.]+.tradingview.com/)?"battle":e.includes("tradingview.com")||e.includes("staging")?"staging":e.match(/webcharts/)?"staging_local":(e.match(/^localhost(:\d+)?$/),"local")}function r(){return"local"===s()}function n(){return"battle"===s()}function o(){return!n()}i.r(t),i.d(t,{environment:()=>s,isLocal:()=>r,isProd:()=>n,isDebug:()=>o})},80007:(e,t,i)=>{"use strict";i.d(t,{preventDefault:()=>r,wrapHandlerWithPreventEvent:()=>n,preventScrollByWheelClick:()=>o});var s=i(49483);function r(e){e.cancelable&&e.preventDefault()}function n(e){return t=>{r(t),e()}}function o(e){s.isChrome&&e.addEventListener("mousedown",e=>{if(1===e.button)return e.preventDefault(),!1})}},46627:(e,t,i)=>{"use strict";i.d(t,{FeatureToggleWatchedValue:()=>n});var s=i(52714),r=i.n(s);class n extends(r()){constructor(e,t){super(function(e,t){return t}(0,t))}destroy(){0}}},56186:(e,t,i)=>{"use strict";function s(e){if(e instanceof Error)return e.stack||e.message;try{return e.outerHTML.slice(0,1024)}catch(e){}try{if(void 0!==e)return JSON.stringify(e).slice(0,1024)}catch(e){}return String(e)}function r(){window.__tv_js_errors||(window.__tv_js_errors=[]),window.addEventListener("error",e=>{const t=(new Date).toISOString();window.__tv_js_errors.push(`${t} ${e.message||"JS error"}. ${e.filename||""}, line ${e.lineno}, col ${e.colno}.\nError: `+s(e.error))},!1),window.addEventListener("unhandledrejection",e=>{const t=(new Date).toISOString();window.__tv_js_errors.push(t+" Unhandled rejection.\nReason: "+s(e.reason))},!1),document.addEventListener("securitypolicyviolation",e=>{var t,i;const r=(new Date).toISOString(),n="report"===e.disposition?"CSP report-only":"CSP violation";window.__tv_js_errors.push(`${r} ${n}: ${e.violatedDirective||e.effectiveDirective}. ${e.sourceFile||""}, line ${null!==(t=e.lineno)&&void 0!==t?t:e.lineNumber}, col ${null!==(i=e.colno)&&void 0!==i?i:e.columnNumber}.\nBlocked URI: ${e.blockedURL||e.blockedURI}\nSample: ${e.sample}\nTarget: `+s(e.target))},!1)}i.d(t,{install:()=>r})},76422:(e,t,i)=>{"use strict";i.r(t),i.d(t,{unsubscribe:()=>l,on:()=>c,subscribe:()=>h,subscribeToAll:()=>d,emit:()=>u,emitOnce:()=>p});var s=i(2872),r=i.n(s);const n={},o=[],a={};function l(e,t,i){n[e].unsubscribe(i,t)}function c(e,t,i){h(e,t,i)}function h(e,t,i,s){n.hasOwnProperty(e)||(n[e]=new(r())),a[e]?t.call(i):n[e].subscribe(i,t,s)}function d(e){o.push(e)}function u(e,...t){const i=[e].concat(t);o.forEach(e=>{e.apply(null,i)}),n.hasOwnProperty(e)&&n[e].fire.apply(n[e],t)}function p(e){a[e]&&console.warn(`Something went wrong: emitOnce called multiple times with same event (${e})`),a[e]=!0,u.apply(null,arguments)}},25760:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Modifiers:()=>s.Modifiers,createGroup:()=>u,pressedKeys:()=>d, -registerWindow:()=>p,unregisterWindow:()=>_});var s=i(68335),r=i(35749),n=i(52714),o=i.n(n);var a=i(51768);class l{constructor(e,t){this._group=e,this.hotkey=t.hotkey,this.handler=t.handler,this.desc=t.desc,this.element=t.element||null,t.isDisabled?"function"==typeof t.isDisabled?this.isDisabled=t.isDisabled:this.isDisabled=()=>!0:this.isDisabled=()=>!1}destroy(){this._group&&(this._group.remove(this),this._group=null)}}class c{constructor(e,t){this._actions=[],this._manager=e,this.modal=!(!t||!t.modal),t&&(this.desc=t.desc),t&&t.isDisabled?"function"==typeof t.isDisabled?this.isDisabled=t.isDisabled:this.isDisabled=()=>!0:this.isDisabled=()=>!1,this._manager.registerGroup(this)}add(e){const t=new l(this,e);return this._actions.push(t),t}remove(e){for(let t=this._actions.length;t-- >0;)this._actions[t]===e&&this._actions.splice(t,1)}handleHotkey(e,t){for(let i=this._actions.length;i-- >0;){const r=this._actions[i];if(r.hotkey===e&&((!r.element||t.target&&r.element.contains(t.target))&&!r.isDisabled()))return r.handler(t),t.preventDefault(),(0,a.trackEvent)("Keyboard Shortcuts",(0,s.humanReadableHash)(e)),!0}return!1}promote(){this._manager.promoteGroup(this)}destroy(){this._actions.length=0,this._manager.unregisterGroup(this)}}const h=new class{constructor(){this._groups=[],this._pressedKeys=new(o())(0),this._keyDownListener=e=>{if(e.defaultPrevented)return;const t=(0,s.hashFromEvent)(e);if(this._pressedKeys.setValue(t),!(0,r.isNativeUIInteraction)(t,e.target))for(let i=this._groups.length;i-- >0;){const s=this._groups[i];if(!s.isDisabled()){if(s.handleHotkey(t,e))return;if(s.modal)return}}},this._keyUpListener=e=>{const t=(0,s.hashFromEvent)(e);this._pressedKeys.setValue(t)},this._blurEvent=()=>{this._pressedKeys.setValue(0)},this._mouseEvent=e=>{const t=(0,s.modifiersFromEvent)(e),i=255&this._pressedKeys.value();this._pressedKeys.setValue(t|i)}}listen(e){e.addEventListener("keydown",this._keyDownListener),e.addEventListener("keyup",this._keyUpListener),e.addEventListener("blur",this._blurEvent),e.addEventListener("mousemove",this._mouseEvent)}unlisten(e){e.removeEventListener("keydown",this._keyDownListener),e.removeEventListener("keyup",this._keyUpListener),e.removeEventListener("blur",this._blurEvent),e.removeEventListener("mousemove",this._mouseEvent)}registerGroup(e){this._groups.push(e)}unregisterGroup(e){for(let t=this._groups.length;t--;)this._groups[t]===e&&this._groups.splice(t,1)}promoteGroup(e){let t=this._groups.length-1;for(let i=this._groups.length;i--;){if(this._groups[i]===e)return void(i!==t&&(this._groups.splice(i,1),this._groups.splice(t,0,e)));this._groups[i].modal&&(t=i-1)}}pressedKeys(){return this._pressedKeys}},d=h.pressedKeys();function u(e){return new c(h,e)}function p(e){h.listen(e)}function _(e){h.unlisten(e)}p(window)},68335:(e,t,i)=>{"use strict";i.r(t),i.d(t,{isMacKeyboard:()=>r,Modifiers:()=>n,modifiersFromEvent:()=>o,hashFromEvent:()=>a,hashShiftPlusEnter:()=>l,humanReadableModifiers:()=>c,humanReadableHash:()=>d});var s=i(49483);const r=(0,s.isMac)()||s.CheckMobile.iOS();var n -;function o(e){let t=0;return e.shiftKey&&(t+=1024),e.altKey&&(t+=512),e.ctrlKey&&(t+=256),e.metaKey&&(t+=2048),t}function a(e){return o(e)|e.keyCode}!function(e){e[e.None=0]="None",e[e.Alt=512]="Alt",e[e.Shift=1024]="Shift",e[e.Mod=r?2048:256]="Mod",e[e.Control=256]="Control",e[e.Meta=2048]="Meta"}(n||(n={}));const l=1037;function c(e,t=!r){let i="";return 256&e&&(i+=r?"^":"Ctrl",t&&(i+=" + ")),512&e&&(i+=r?"⌥":"Alt",t&&(i+=" + ")),1024&e&&(i+=r?"⇧":"Shift",t&&(i+=" + ")),2048&e&&(i+=r?"⌘":"Win",t&&(i+=" + ")),i}const h={9:"⇥",13:"↵",27:"Esc",8:r?"⌫":"Backspace",32:"Space",35:"End",36:"Home",37:"←",38:"↑",39:"→",40:"↓",45:"Ins",46:"Del",188:",",191:"/"};for(let e=1;e<=16;e++)h[e+111]="F"+e;function d(e){let t=c(e);const i=255&e;return t+=i in h?h[i]:String.fromCharCode(i),t}},47193:(e,t,i)=>{"use strict";i.d(t,{migrateShortcut:()=>o});var s=i(68335);function r(e){if("number"==typeof e)return e;switch(e.toLowerCase()){case"ctrl":return s.Modifiers.Control;case"shift":return s.Modifiers.Shift;case"alt":return s.Modifiers.Alt;default:return e.toUpperCase().charCodeAt(0)}}function n(e){let t=0;for(let i=0;i{"use strict";i.d(t,{isTextEditingField:()=>r,isNativeUIInteraction:()=>n});var s=i(68335);function r(e){if("INPUT"===e.tagName){const t=e.type;return"text"===t||"email"===t||"number"===t||"password"===t||"search"===t||"tel"===t||"url"===t}return"TEXTAREA"===e.tagName||e.isContentEditable}function n(e,t){if(!t)return!1;const i=255&e;if(27===i||i>>>4==7)return!1;switch(e^i){case s.Modifiers.Alt:return(38===i||40===i)&&"SELECT"===t.tagName||r(t);case s.Modifiers.Alt+s.Modifiers.Shift:return r(t);case s.Modifiers.Mod:if(67===i||!s.isMacKeyboard&&45===i){const e=t.ownerDocument&&t.ownerDocument.getSelection();if(e&&!e.isCollapsed)return!0}return r(t);case s.Modifiers.Mod+s.Modifiers.Shift:return i>=33&&i<=40&&r(t);case s.Modifiers.Shift:case 0:return!!(9!==i||t.ownerDocument&&t!==t.ownerDocument.body&&t!==t.ownerDocument.documentElement)&&((13===i||32===i||!function(e){if("BUTTON"===e.tagName)return!0;if("INPUT"===e.tagName){const t=e.type;if("submit"===t||"button"===t||"reset"===t||"checkbox"===t||"radio"===t)return!0}return!1}(t))&&("form"in t||t.isContentEditable))}return!1}},82992:(e,t,i)=>{"use strict";i.d(t,{linking:()=>u});var s=i(4889),r=i(52714),n=i.n(r),o=i(67337),a=i(37667),l=i(98125),c=i(15943);const h=(0,l.getLogger)("Linking");var d;!function(e){e[e.NotBound=0]="NotBound",e[e.BoundToWidget=1]="BoundToWidget",e[e.BoundToModel=2]="BoundToModel"}(d||(d={}));const u=new class{constructor(){this._watchedSymbol=new(n()),this._seriesShortSymbol=new(n()),this._proSymbol=new(n()),this._watchedInterval=new(n()),this._watchedIntraday=new(n()),this._watchedSeconds=new(n()),this._watchedTicks=new(n()),this._watchedRange=new(n()),this._watchedSupportedResolutions=new(n()),this._watchedSupportedChartStyles=new(n())([]),this._symbolNamesList=new(n()), -this._chartWidgetBindingState=d.NotBound,this._activeChartWidget=null,this._watchedSymbolListenerBound=this._watchedSymbolListener.bind(this),this._watchedIntervalListenerBound=this._watchedIntervalListener.bind(this),this._onSymbolLinkBound=this._onSymbolLink.bind(this),this._searchCharts=null,this._searchChartsLoadDebounced=null,this._selfEmit=!1,this._preventFeedBySymbol=!1,this._feedBySymbolDebounceCounter=0}get symbol(){return this._watchedSymbol}get proSymbol(){return this._proSymbol}get symbolNamesList(){return this._symbolNamesList}get seriesShortSymbol(){return this._seriesShortSymbol.readonly()}get interval(){return this._watchedInterval}get intraday(){return this._watchedIntraday.readonly()}get seconds(){return this._watchedSeconds.readonly()}get ticks(){return this._watchedTicks.readonly()}get range(){return this._watchedRange.readonly()}get supportedResolutions(){return this._watchedSupportedResolutions.readonly()}get supportedChartStyles(){return this._watchedSupportedChartStyles.readonly()}get preventFeedBySymbol(){return this._preventFeedBySymbol}bindToChartWidget(e){if(this.unbindFromChartWidget(),this._activeChartWidget=e,e.hasModel())return void this._onChartModelCreated(e.model());e.modelCreated().subscribe(this,this._onChartModelCreated),this._chartWidgetBindingState=d.BoundToWidget;const t=e.properties().childs().mainSeriesProperties.childs();this._watchedSymbol.setValue(t.symbol.value()),this._watchedInterval.setValue(t.interval.value())}unbindFromChartWidget(){switch(this._chartWidgetBindingState){case d.BoundToWidget:if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");this._activeChartWidget.modelCreated().unsubscribe(this,this._onChartModelCreated);break;case d.BoundToModel:this._symbolProperty().unsubscribe(this,this._onSymbolPropertyChange),this._watchedSymbol.unsubscribe(this._watchedSymbolListenerBound),this._mainSeries().dataEvents().symbolResolved().unsubscribe(this,this._updateSeriesSymbolInfo),this._mainSeries().dataEvents().symbolError().unsubscribe(this,this._updateSeriesSymbolInfo),this._intervalProperty().unsubscribe(this,this._onIntervalPropertyChange),this._watchedInterval.unsubscribe(this._watchedIntervalListenerBound),delete this._watchedSymbol.hook,delete this._watchedSymbol.writeLock}this._activeChartWidget=null,this._chartWidgetBindingState=d.NotBound}getChartWidget(){return this._activeChartWidget}bindToChartWidgetCollection(e){this._chartWidgetCollection=e,this.unbindFromChartWidget(),e.activeChartWidget.subscribe(e=>{this.unbindFromChartWidget(),this.bindToChartWidget(e)},{callWithLast:!0})}bindToSearchCharts(e){this.unbindFromSearchCharts(),this._searchCharts=e,e.onSearchBySymbol.subscribe(this,this._onSearchBySymbol),e.loadingSymbol.subscribe(e=>{!1===e&&(this._feedBySymbolDebounceCounter=0)}),this._watchedSymbol.subscribe(this._onSymbolLinkBound)}unbindFromSearchCharts(){this._searchCharts&&(this._searchCharts.onSearchBySymbol.unsubscribe(this,this._onSearchBySymbol),this._watchedSymbol.unsubscribe(this._onSymbolLinkBound),this._searchCharts=null) -}setPreventFeedBySymbol(e){this._preventFeedBySymbol=e}_onSearchBySymbol(e){if(!e.resolved_symbol)throw new Error("no resolved_symbol");this._selfEmit=!0,this._watchedSymbol.setValue(e.resolved_symbol),this._selfEmit=!1}_onSymbolLink(e){if(!this._selfEmit){if(!this._searchCharts){const e="No search charts defined";throw h.logError(e),new Error(e)}this._preventFeedBySymbol||this._loadSearchCharts(e)}}_loadSearchCharts(e){if(!this._searchCharts){const e="No search charts defined";throw h.logError(e),new Error(e)}if(this._searchChartsLoadDebounced)return void(this._feedBySymbolDebounceCounter<100&&(this._feedBySymbolDebounceCounter++,this._searchChartsLoadDebounced(e)));const t=e=>this._searchCharts?(!0===this._searchCharts.loadingSymbol.value()?this._feedBySymbolDebounceCounter<100&&(this._feedBySymbolDebounceCounter++,this._searchChartsLoadDebounced=(0,s.default)(t,2e3),this._searchChartsLoadDebounced(e)):this._searchChartsLoadDebounced=null,this._searchCharts.feedBySymbol.call(this._searchCharts,e)):()=>{};!0===this._searchCharts.loadingSymbol.value()?this._feedBySymbolDebounceCounter<100&&(this._feedBySymbolDebounceCounter++,this._searchChartsLoadDebounced=(0,s.default)(t,2e3),this._searchChartsLoadDebounced(e)):this._searchCharts.feedBySymbol(e)}_mainSeries(){if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");return this._activeChartWidget.model().mainSeries()}_properties(){return this._mainSeries().properties()}_symbolProperty(){return this._properties().symbol}_intervalProperty(){return this._properties().interval}_watchedSymbolListener(e){this._symbolProperty().value()!==e&&this._chartWidgetCollection.setSymbol(e)}_sendSnowplowAnalytics(){if(!window.user.do_not_track)throw new Error("unsupported")}_onSymbolPropertyChange(){const e=this._symbolProperty().value()!==this._watchedSymbol.value();this._watchedSymbol.setValue(this._symbolProperty().value()),e&&this._chartWidgetCollection.setSymbol(this._symbolProperty().value())}_onSymbolResolved(e){const t=this._mainSeries().symbolInfo();t&&this._applyValuesFromSymbolInfo(t)}_applyValuesFromSymbolInfo(e){const t=e.pro_name||o.enabled("trading_terminal")&&(e.full_name||e.name)||"";this._proSymbol.setValue(t),e.aliases&&this._symbolNamesList.setValue(e.aliases)}_updateSeriesSymbolInfo(){this._seriesShortSymbol.setValue(this._properties().shortName.value());const e=this._mainSeries().symbolInfo();if(e){this._applyValuesFromSymbolInfo(e);{const t=e.supported_resolutions;t?this._watchedSupportedResolutions.setValue(t):this._watchedSupportedResolutions.setValue(void 0)}let t=(0,c.allChartStyles)();(0,a.isCloseBasedSymbol)(e)&&(t=t.filter(e=>(0,a.isSingleValueBasedStyle)(e))),this._watchedSupportedChartStyles.setValue(t),this._watchedIntraday.setValue(!!e.has_intraday),this._watchedSeconds.setValue(!!e.has_seconds),this._watchedTicks.setValue(!(0,a.isCloseBasedSymbol)(e)&&!!e.has_ticks),this._watchedRange.setValue(!(0,a.isCloseBasedSymbol)(e))}else this._watchedIntraday.deleteValue(),this._watchedSeconds.deleteValue(),this._watchedTicks.deleteValue(), -this._watchedRange.deleteValue(),this._proSymbol.deleteValue()}_watchedIntervalListener(e){this._intervalProperty().value()!==e&&this._chartWidgetCollection.setResolution(e)}_onIntervalPropertyChange(){const e=this._intervalProperty().value()!==this._watchedInterval.value();this._watchedInterval.setValue(this._intervalProperty().value()),e&&this._chartWidgetCollection.setResolution(this._intervalProperty().value())}_onChartModelCreated(e){if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");this._chartWidgetBindingState=d.BoundToModel,this._activeChartWidget.modelCreated().unsubscribe(this,this._onChartModelCreated);const t=this._symbolProperty();t.subscribe(this,this._onSymbolPropertyChange),this._watchedSymbol.setValue(t.value()),this._watchedSymbol.subscribe(this._watchedSymbolListenerBound);const i=this._mainSeries();i.dataEvents().symbolResolved().subscribe(this,this._onSymbolResolved),this._watchedSymbol.hook=e=>(i.symbolSameAsCurrent(e)&&(e=i.symbol()),e),i.dataEvents().symbolResolved().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolError().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolNotPermitted().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolGroupNotPermitted().subscribe(this,this._updateSeriesSymbolInfo),this._updateSeriesSymbolInfo();const s=this._intervalProperty();s.subscribe(this,this._onIntervalPropertyChange),this._watchedInterval.setValue(s.value()),this._watchedInterval.subscribe(this._watchedIntervalListenerBound),this._activeChartWidget.readOnly()&&(this._watchedSymbol.writeLock=!0)}};window.TradingViewApi||(window.TradingViewApi={linking:u})},11417:(e,t,i)=>{"use strict";const{getLogger:s}=i(98125),r=s("TVLocalStorage");var n=function(){try{this.isAvailable=!0,this.localStorage=window.localStorage,this.localStorage.setItem("tvlocalstorage.available","true")}catch(e){delete this.isAvailable,delete this.localStorage}this._updateLength();try{this._report()}catch(e){}};n.prototype._report=function(){if(this.isAvailable){const e=10,t=[];for(let e=0;et.length-e.length);const i=t.slice(0,e);t.sort((e,t)=>t.key.length-e.key.length);const s=t.slice(0,e);r.logNormal("Total amount of keys in Local Storage: "+this.length),r.logNormal(`Top ${e} keys with longest values: ${JSON.stringify(i)}`),r.logNormal(`Top ${e} longest key names: ${JSON.stringify(s)}`);try{navigator.storage.estimate().then(e=>{r.logNormal("Storage estimate: "+JSON.stringify(e))})}catch(e){}}},n.prototype.length=0,n.prototype.isAvailable=!1,n.prototype.localStorage={"tvlocalstorage.available":"false"},n.prototype._updateLength=function(){if(this.isAvailable)this.length=this.localStorage.length;else{var e,t=0;for(e in this.localStorage)this.localStorage.hasOwnProperty(e)&&t++;this.length=t}},n.prototype.key=function(e){return this.isAvailable?this.localStorage.key(e):Object.keys(this.localStorage)[e]},n.prototype.getItem=function(e){ -return this.isAvailable?this.localStorage.getItem(e):void 0===this.localStorage[e]?null:this.localStorage[e]},n.prototype.setItem=function(e,t){this.isAvailable?this.localStorage.setItem(e,t):this.localStorage[e]=t,this._updateLength()},n.prototype.removeItem=function(e){this.isAvailable?this.localStorage.removeItem(e):delete this.localStorage[e],this._updateLength()},n.prototype.clear=function(){this.isAvailable?this.localStorage.clear():this.localStorage={},this._updateLength()};var o=function(e){this.storage=e};o.prototype.getItem=function(e){return Promise.resolve(this.storage.getItem(e))},o.prototype.setItem=function(e,t){return Promise.resolve(this.storage.setItem(e,t))},window.TVLocalStorage=new n,window.TVLocalStorageAsync=new o(window.TVLocalStorage),e.exports={TVLocalStorage:window.TVLocalStorage,TVLocalStorageAsync:window.TVLocalStorageAsync}},84015:(e,t,i)=>{"use strict";function s(e,t=!1){return!1}function r(e){return e}i.d(t,{isOnMobileAppPage:()=>s,urlWithMobileAppParams:()=>r})},19334:(e,t,i)=>{"use strict";function s(){}i.d(t,{addPerfMark:()=>o});const r=console.timeStamp?console.timeStamp.bind(console):s,n=window.performance&&performance.mark?performance.mark.bind(performance):s;window.performance&&performance.measure&&performance.measure.bind(performance),window.performance&&performance.clearMarks&&performance.clearMarks.bind(performance);function o(e){r(e),n(e)}},14905:(e,t,i)=>{"use strict";function s(e){return e===r(e)}function r(e){const t=e.indexOf("$"),i=e.indexOf("@");return t<0&&i>=0?null:e.substring(Math.max(t+1,0),i>=0?i:e.length)}i.d(t,{isPineIdString:()=>s,extractPineId:()=>r})},16216:(e,t,i)=>{"use strict";i.r(t),i.d(t,{registerService:()=>o,unregisterService:()=>a,hasService:()=>l,service:()=>c,waitServiceRegistered:()=>h});var s=i(81836);const r={},n=new Map;function o(e,t){if(l(e))throw new Error("Service already registered");r[e.id]=t;const i=n.get(e.id);void 0!==i&&(n.delete(e.id),i.resolve(t))}function a(e){if(!l(e))throw new Error("Service not found");r[e.id]=void 0}function l(e){return void 0!==r[e.id]}function c(e){const t=r[e.id];if(void 0===t)throw new Error("ServiceLocator: Service "+e.id+" not found");return t}function h(e){if(l(e))return Promise.resolve(c(e));let t=n.get(e.id);return void 0===t&&(t=(0,s.createDeferredPromise)(),n.set(e.id,t)),t.promise}},56840:(e,t,i)=>{"use strict";e=i.nmd(e),i(49483);i(85198).fetch;var s=i(28789).regExpEscape,r=i(21097).TVXWindowEvents,n=i(11417).TVLocalStorage,o=i(2872),a=i(67337),l=["s.tradingview.com","betacdn.tradingview.com"],c=a.enabled("use_localstorage_for_settings"),h=window.TVSettings=function(){var e=!1,t=null;function i(){return!t&&c}try{e=!TradingView.onWidget()&&parent&&parent!==window&&!!parent.IS_DEMO_PAGE}catch(e){}if(e){var d={"widgetbar.layout-settings":{widgets:{},settings:{minimized:!0}},notShowMainWizard:!0},u=function(e,t,i){var s=d[e];return null==s?t:s},p=function(){};return{loaded:!1,loadedModel:!1,getValue:u,getJSON:u,getBool:u,getFloat:u,getInt:u,setValue:p,setJSON:p,remove:p,keys:function(){ -return Object.keys(d)},keysMask:function(){return[]},sync:p,onSync:{subscribe:function(){}}}}window.environment;var _,m=TradingView.onWidget()?"tradingview-widget":"tradingview",g=m+".",f={},v=[/^widgetbar\.widget\.watchlist.+/,/.+quicks$/,/^widgetbar\.layout-settings$/,/^ChartSideToolbarWidget\.visible$/,/^onwidget\.watchlist$/,/^domepanel.visible$/,/^orderpanel.visible$/,/^chart\.favoriteDrawings$/,/^chart\.favoriteDrawingsPosition$/,/^loadChartDialog.favorites$/,/^ChartFavoriteDrawingToolbarWidget\.visible/,/^trading\.chart\.proterty$/,/^trading_floating_toolbar\.position$/,/^trading\.orderWidgetMode\./,/^symbolWatermark$/,/^pinereference\.size$/,/^pinereference\.position$/,/^hint\.+/,/^ChartDrawingToolbarWidget\.visible/];function S(e){return g+e}function y(e,t){var i=f[e];return null==i?t:i}function b(e,t,i){i=i||{};var s=""+t;return f[e]!==s&&(f[e]=s,C(e)),i.forceFlush&&!_&&(_=setTimeout((function(){_=void 0,P()}),10)),h}function w(e,t){return t=t||{},null!=f[e]&&(delete f[e],C(e)),t.forceFlush&&P(),h}function C(e){if(t)null==f[e]?t.removeValue(e):t.setValue(e,f[e]);else if(i())try{null==f[e]?n.removeItem(S(e)):n.setItem(S(e),f[e])}catch(e){}else 0;r.emit("settings",JSON.stringify({key:e,value:f[e]}))}function P(e){}function T(){return Object.keys(f)}function x(e){for(var t=0;t=0;n--)e.test(i[n])&&r.push(i[n]),e.lastIndex=0;return r},sync:function(e){null!==e?(t?M(t.initialSettings||{}):i()?(function(){if(TradingView.onWidget()&&l.includes(window.location.host))for(var e=n.length;e--;){var t=n.key(e);if(0===t.indexOf("tradingview.")){var i=t.replace("tradingview.",m+".");n.setItem(i,n.getItem(t)),n.removeItem(t)}}}(), -function(){f={};for(var e=!a.enabled("save_chart_properties_to_local_storage"),t=n.length;t--;){var i=n.key(t);if(i&&I(i)){var s=i.substring(g.length);e&&!x(s)||(f[s]=n.getItem(i))}}}()):M(e||{}),L.fire()):!0},onSync:L,setSettingsAdapter:function(e){t=e}}}();e&&e.exports&&(e.exports=h)},26843:(e,t,i)=>{"use strict";i.d(t,{StdTheme:()=>a.StdTheme,getStdChartTheme:()=>h,getStdThemeNames:()=>c,isStdTheme:()=>u,translateThemeName:()=>d});var s=i(28353),r=i(24377) -;const n=JSON.parse('{"content":{"chartProperties":{"scalesProperties":{"textColor":"#131722","lineColor":"rgba(42, 46, 57, 0)","backgroundColor":"#ffffff"},"paneProperties":{"vertGridProperties":{"color":"rgba(42, 46, 57, 0.06)"},"horzGridProperties":{"color":"rgba(42, 46, 57, 0.06)"},"crossHairProperties":{"color":"#9598A1"},"background":"#ffffff","backgroundGradientStartColor":"#ffffff","backgroundGradientEndColor":"#ffffff","separatorColor":"#E0E3EB"}},"sessions":{"graphics":{"backgrounds":{"outOfSession":{"color":"#2962FF","transparency":92},"preMarket":{"color":"#FF9800","transparency":92},"postMarket":{"color":"#2962FF","transparency":92}},"vertlines":{"sessBreaks":{"color":"#4985e7","style":2,"width":1}}}},"mainSourceProperties":{"baseLineColor":"#B2B5BE","candleStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"haStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"barStyle":{"downColor":"#F23645","upColor":"#089981"},"pnfStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"},"baselineStyle":{"baselineColor":"#758696","topFillColor1":"rgba(8, 153, 129, 0.28)","topFillColor2":"rgba(8, 153, 129, 0.05)","bottomFillColor1":"rgba(242, 54, 69, 0.05)","bottomFillColor2":"rgba(242, 54, 69, 0.28)","topLineColor":"#089981","bottomLineColor":"#F23645"},"areaStyle":{"transparency":100,"color1":"rgba(41, 98, 255, 0.28)","color2":"#2962FF","linecolor":"#2962FF","linewidth":2,"linestyle":0},"renkoStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae","borderUpColorProjection":"#a9dcc3","borderDownColorProjection":"#f5a6ae","wickUpColor":"#089981","wickDownColor":"#F23645"},"lineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"kagiStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"},"pbStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae","borderUpColorProjection":"#a9dcc3","borderDownColorProjection":"#f5a6ae"},"rangeStyle":{"upColor":"#089981","downColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"}}}}'),o=JSON.parse('{"content":{"chartProperties":{"scalesProperties":{"textColor":"#B2B5BE","lineColor":"rgba(240, 243, 250, 0)","backgroundColor":"#ffffff"},"paneProperties":{"vertGridProperties":{"color":"rgba(240, 243, 250, 0.06)"},"horzGridProperties":{"color":"rgba(240, 243, 250, 0.06)"},"crossHairProperties":{"color":"#9598A1"},"background":"#131722","backgroundGradientStartColor":"#181C27","backgroundGradientEndColor":"#131722","backgroundType":"gradient","separatorColor":"#2A2E39"}},"sessions":{"graphics":{"backgrounds":{"outOfSession":{"color":"#2962FF","transparency":92},"preMarket":{"color":"#FF9800","transparency":92},"postMarket":{"color":"#2962FF","transparency":92}},"vertlines":{"sessBreaks":{"color":"#4985e7","style":2,"width":1}}}},"mainSourceProperties":{"baseLineColor":"#5d606b","candleStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#B5B5B8","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"haStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#B5B5B8","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"barStyle":{"downColor":"#F23645","upColor":"#089981"},"pnfStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#336854","downColorProjection":"#7f323f"},"baselineStyle":{"baselineColor":"#758696","topFillColor1":"rgba(8, 153, 129, 0.28)","topFillColor2":"rgba(8, 153, 129, 0.05)","bottomFillColor1":"rgba(242, 54, 69, 0.05)","bottomFillColor2":"rgba(242, 54, 69, 0.28)","topLineColor":"#089981","bottomLineColor":"#F23645"},"areaStyle":{"transparency":100,"color1":"rgba(41, 98, 255, 0.28)","color2":"#2962FF","linecolor":"#2962FF","linewidth":2,"linestyle":0},"renkoStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f","borderUpColorProjection":"#336854","borderDownColorProjection":"#7f323f","wickUpColor":"#089981","wickDownColor":"#F23645"},"lineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"kagiStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#336854","downColorProjection":"#7f323f"},"pbStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f","borderUpColorProjection":"#336854","borderDownColorProjection":"#7f323f"},"rangeStyle":{"upColor":"#089981","downColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f"}}}}') -;var a=i(24633);function l(){return{[a.StdTheme.Light]:JSON.parse(JSON.stringify(n)),[a.StdTheme.Dark]:JSON.parse(JSON.stringify(o))}}function c(){return[a.StdTheme.Light,a.StdTheme.Dark]}function h(e){return l()[e]}function d(e){return{[a.StdTheme.Light]:s.t("Light",{context:"colorThemeName"}),[a.StdTheme.Dark]:s.t("Dark",{context:"colorThemeName"})}[e]||e}function u(e){const t=l();return c().some(i=>p(t[i],e))}function p(e,t){let i=e.content===t.content;return function(e={},t){try{!function e(t,i,s){for(const r in t)if(t.hasOwnProperty(r)){const n=i.concat(r);if("object"==typeof t[r])e(t[r],n,s);else if(s(n,t[r]))throw new Error("exit")}}(e,[],t)}catch(e){return}}(e.content,(e,s)=>{const n=function(e,t={}){let i=t;for(let t=0;t{"use strict";var s;i.d(t,{StdTheme:()=>s}),function(e){e.Light="light",e.Dark="dark"}(s||(s={}))},6087:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_THEME:()=>p,extractThemeFromModel:()=>R,getCurrentTheme:()=>S,getStdTheme:()=>L,getStdThemeNames:()=>I,getStdThemedValue:()=>A,getTheme:()=>T,getThemeNames:()=>x,getThemedColor:()=>y,isPublicTheme:()=>v,isStdTheme:()=>N,isStdThemeName:()=>M,isStdThemedDefaultValue:()=>E,isThemeExist:()=>V,loadTheme:()=>b,removeTheme:()=>D,restoreTheme:()=>w,saveTheme:()=>k,savedThemeName:()=>C,syncTheme:()=>P,themes:()=>f,translateStdThemeName:()=>B});var s=i(24377),r=i(59803),n=i(56840);function o(){return(0,n.getValue)("current_theme.name")||null}var a=i(85198);const l=(0,i(98125).getLogger)("Themes.Provider");let c=null;function h(e){return(0,a.fetch)("/theme/?themeName="+encodeURIComponent(e),{credentials:"include",method:"GET"}).then(e=>e.json()).then(e=>{const t={};return e.content&&(t.content=JSON.parse(e.content)),t})}var d=i(26843),u=i(45345);const p="light";var _=i(28353) -;const m=JSON.parse('{"color-bg-primary":"color-cold-gray-850","color-bg-primary-hover":"color-cold-gray-800","color-bg-secondary":"color-cold-gray-900","color-bg-highlight":"color-cold-gray-900","color-bg-scroll-buttons":"color-cold-gray-800","color-legacy-bg-scroll-buttons":"color-cold-gray-550","color-legacy-bg-widget":"color-cold-gray-900","color-text-primary":"color-cold-gray-200","color-text-secondary":"color-cold-gray-500","color-text-tertiary":"color-cold-gray-400","color-text-disabled":"color-cold-gray-650","color-accent-content":"color-white","color-divider":"color-cold-gray-700","color-divider-hover":"color-cold-gray-800","color-divider-secondary":"color-cold-gray-800","color-box-shadow":"color-cold-gray-900","color-active-hover-text":"color-cold-gray-300","color-alert-text":"color-cold-gray-200","color-border":"color-cold-gray-750","color-border-chat-fields":"color-cold-gray-750","color-border-hover":"color-cold-gray-650","color-border-table":"color-cold-gray-800","color-brand":"color-tv-blue-500","color-brand-hover":"color-tv-blue-600","color-brand-active":"color-tv-blue-700","color-button-hover-bg":"color-cold-gray-850","color-chart-page-bg":"color-cold-gray-800","color-common-tooltip-bg":"color-cold-gray-750","color-danger":"color-ripe-red-600","color-danger-hover":"color-ripe-red-500","color-danger-active":"color-ripe-red-400","color-depthrenderer-fill-style":"color-cold-gray-150","color-depthrenderer-stroke-style":"color-cold-gray-650","color-disabled-border-and-color":"color-cold-gray-800","color-disabled-input":"color-cold-gray-750","color-empty-container-message":"color-cold-gray-500","color-highlight-new":"color-tv-blue-a800","color-icons":"color-cold-gray-500","color-input-bg":"color-cold-gray-800","color-input-textarea-readonly":"color-cold-gray-650","color-input-placeholder-text":"color-cold-gray-700","color-input-publish-bg":"color-cold-gray-900","color-item-active-blue":"color-tv-blue-a800","color-item-hover-active-bg":"color-cold-gray-800","color-item-hover-bg":"color-cold-gray-800","color-item-hover-blue":"color-tv-blue-a800","color-item-selected-blue":"color-tv-blue-a800","color-item-active-text":"color-cold-gray-200","color-item-active-bg":"color-tv-blue-500","color-link":"color-tv-blue-500","color-link-hover":"color-tv-blue-600","color-link-active":"color-tv-blue-700","color-list-item":"color-cold-gray-500","color-list-nth-child-bg":"color-cold-gray-850","color-news-highlight":"color-cold-gray-800","color-pane-bg":"color-cold-gray-900","color-pane-secondary-bg":"color-cold-gray-850","color-placeholder":"color-cold-gray-650","color-popup-menu-item-hover-bg":"color-cold-gray-800","color-popup-menu-separator":"color-cold-gray-700","color-row-hover-active-bg":"color-cold-gray-800","color-sb-scrollbar-body-bg":"color-cold-gray-650","color-screener-description":"color-cold-gray-200","color-section-separator-border":"color-cold-gray-750","color-search-button-hover":"color-cold-gray-700","color-separator-table-chat":"color-cold-gray-750","color-success":"color-minty-green-700","color-success-hover":"color-minty-green-600","color-success-active":"color-minty-green-500","color-tag-active-bg":"color-cold-gray-750","color-tag-hover-bg":"color-cold-gray-800","color-text-regular":"color-cold-gray-200","color-toolbar-button-text":"color-cold-gray-300","color-toolbar-button-text-hover":"color-cold-gray-300","color-toolbar-button-text-active":"color-tv-blue-500","color-toolbar-button-text-active-hover":"color-tv-blue-600","color-toolbar-button-background-hover":"color-cold-gray-800","color-toolbar-button-background-secondary-hover":"color-cold-gray-750","color-toolbar-toggle-button-background-active":"color-tv-blue-500","color-toolbar-toggle-button-background-active-hover":"color-tv-blue-600","color-toolbar-interactive-element-text-normal":"color-cold-gray-300","color-toolbar-interactive-element-text-hover":"color-cold-gray-250","color-toolbar-opened-element-bg":"color-cold-gray-800","color-tooltip-bg":"color-cold-gray-750","color-tv-button-checked":"color-cold-gray-500","color-tv-dialog-caption":"color-cold-gray-50","color-tv-dropdown-item-hover-bg":"color-cold-gray-800","color-underlined-text":"color-cold-gray-300","color-widget-pages-bg":"color-cold-gray-900","color-warning":"color-tan-orange-700","color-forex-icon":"color-white","color-list-item-active-bg":"color-tv-blue-500","color-list-item-hover-bg":"color-cold-gray-800","color-list-item-text":"color-cold-gray-200","color-price-axis-label-back":"color-cold-gray-800","color-price-axis-label-text":"color-cold-gray-500","color-price-axis-gear":"color-cold-gray-500","color-price-axis-gear-hover":"color-cold-gray-400","color-price-axis-highlight":"color-cold-gray-800","color-bid":"color-tv-blue-500","color-scroll-bg":"color-cold-gray-750","color-scroll-border":"color-cold-gray-850","color-widget-border":"color-cold-gray-800","color-scroll-buttons-arrow":"color-white","color-control-intent-default":"color-cold-gray-650","color-control-intent-success":"color-minty-green-600","color-control-intent-primary":"color-tv-blue-500","color-control-intent-warning":"color-tan-orange-500","color-control-intent-danger":"color-ripe-red-700","color-growing":"color-minty-green-600","color-falling":"color-ripe-red-600","color-pre-market":"color-tan-orange-600","color-pre-market-bg":"color-tan-orange-400","color-post-market":"color-tv-blue-500","color-post-market-bg":"color-tv-blue-400","color-market-open":"color-minty-green-500","color-market-open-bg":"color-minty-green-400","color-market-closed":"color-cold-gray-400","color-market-holiday":"color-cold-gray-400","color-invalid-symbol":"color-ripe-red-400","color-invalid-symbol-hover":"color-ripe-red-500","color-replay-mode":"color-tv-blue-500","color-replay-mode-icon":"color-tv-blue-50","color-replay-mode-hover":"color-tv-blue-600","color-notaccurate-mode":"color-berry-pink-700","color-notaccurate-mode-bg":"color-berry-pink-400","color-delay-mode":"color-tan-orange-700","color-delay-mode-bg":"color-tan-orange-400","color-eod-mode":"color-grapes-purple-700","color-eod-mode-bg":"color-grapes-purple-400","color-data-problem":"color-ripe-red-600","color-data-problem-bg":"color-ripe-red-400","color-data-problem-hover":"color-ripe-red-500","color-list-item-bg-highlighted":"color-tv-blue-a900","color-list-item-bg-selected":"color-tv-blue-a800","color-list-item-bg-highlighted-hover":"color-tv-blue-a800","color-list-item-bg-selected-hover":"color-tv-blue-a700","color-screener-header-bg":"color-cold-gray-850","color-screener-header-bg-hover":"color-cold-gray-800","color-overlay":"color-cold-gray-950","color-card-border":"color-cold-gray-700","color-card-border-hover":"color-cold-gray-600","color-background-special-primary":"color-black","color-stroke-special-primary":"color-cold-gray-800","color-selection-bg":"color-tv-blue-a700"}') -;var g=i(45112);const f={[d.StdTheme.Light]:{name:d.StdTheme.Light,label:()=>(0,_.t)("Light",{context:"colorThemeName"}),order:2,getThemedColor:e=>(0,g.getHexColorByName)(e)},[d.StdTheme.Dark]:{name:d.StdTheme.Dark,label:()=>(0,_.t)("Dark",{context:"colorThemeName"}),order:1,getThemedColor:e=>{const t=m[e]||e;return(0,g.getHexColorByName)(t)}}};function v(e){return!e.isPrivate}function S(){return f[u.watchedTheme.value()]||f[p]}function y(e){return S().getThemedColor(e)}async function b(e,t){const{themeName:i,standardTheme:s,syncState:n=!0,noUndo:o=!1,applyOverrides:a=!1}=t,l=await(s?Promise.resolve(L(i)):T(i)),c=!s;if(void 0!==l.content){const t=!s;a&&(void 0!==(h=l.content).chartProperties&&(0,r.applyDefaultsOverrides)(h.chartProperties),void 0!==h.mainSourceProperties&&(0,r.applyDefaultsOverrides)(h.mainSourceProperties,void 0,!0,"mainSeriesProperties")),await e.applyTheme({theme:l.content,onlyActiveChart:t,restoreNonThemeDefaults:c,themeName:i,standardTheme:s,syncState:n,noUndo:o})}var h;return l}function w(){(0,u.setTheme)(o()||p)}function C(){return o()}function P(){var e;e=S().name,(0,n.setValue)("current_theme.name",e,{forceFlush:!0})}function T(e){return h(e)}function x(){return c||(0,a.fetch)("/themes/",{credentials:"include",method:"GET"}).then(e=>(c=e.json(),c))}function I(){return d.getStdThemeNames()}function M(e){return I().includes(e)}function L(e){return d.getStdChartTheme(e)||{content:void 0}}function A(e,t){const i=t||S().name,s=d.getStdChartTheme(i),r=0!==e.length&&e.split(".");return s&&s.content&&r?r.reduce((e,t)=>e[t],s.content):null}function E(e,t,i){const r=A(e,i);return null!==r&&(0,s.areEqualRgba)((0,s.parseRgba)(r),(0,s.parseRgba)(String(t)))}function k(e,t){return function(e,t){const i=new FormData;return i.append("content",JSON.stringify(t)),i.append("name",e),c=null,(0,a.fetch)("/save-theme/",{credentials:"include",method:"POST",body:i}).then(e=>e.json(),e=>l.logError(e))}(e,t)}function D(e){return function(e){const t=new FormData;return t.append("name",e),c=null,(0,a.fetch)("/remove-theme/",{credentials:"include",method:"POST",body:t}).then(e=>e.json(),e=>l.logError(e))}(e)}function V(e){return function(e){return h(e).then(e=>Boolean(e.content))}(e)}function B(e){return d.translateThemeName(e)}function N(e){return d.isStdTheme(e)}function R(e){return{content:{chartProperties:{paneProperties:e.model().properties().childs().paneProperties.state(),scalesProperties:e.model().properties().childs().scalesProperties.state()},sessions:e.model().sessions().properties().state(),mainSourceProperties:e.model().mainSeries().properties().state(),version:e.model().version()}}}},45345:(e,t,i)=>{"use strict";i.d(t,{setTheme:()=>n,watchedTheme:()=>r});var s=i(52714);const r=new(i.n(s)());function n(e){r.setValue(e)}r.subscribe(e=>{!function(e,t=window){const i="theme-"+e,s=t.document.documentElement.classList;for(const e of Array.from(s))e.startsWith("theme-")&&e!==i&&s.remove(e);s.add(i)}(e,window)})},51768:(e,t,i)=>{"use strict";i.d(t,{trackEvent:()=>l,disableTrackingEvents:()=>c}) -;var s=i(76422),r=i(67337);const n=(0,i(98125).getLogger)("Common.TrackEvent"),o=[/Study_(Drawing)_(.*)/,/(Study)_(.*)@tv-basicstudies/,/(Study)_(.*)/,/(Chart Style) (.*)/];let a=!1;const l=(e,t,i)=>{if(a)return;if(r.enabled("charting_library_base"))return void((e,t,i)=>{t=t||e||i||"";let r="";for(let e=0;e{"use strict";i.d(t,{TVXWindowEvents:()=>o});i(94419);var s=i(98125),r=i(11417);const n=(0,s.getLogger)("XWindowEvents");var o;!function(e){const t="tvxwevents.",i={};let s;window.BroadcastChannel?(s=new BroadcastChannel("tvxwevents"),s.addEventListener("message",(function(e){const{data:{event:t,value:s}}=e;i[t]&&i[t].forEach(e=>{e(s)})})),function(){const e=[],i=performance.now();for(let i=0;i{t(e.newValue)});r.TVLocalStorage.removeItem(n)})),e.on=function(e,t){i[e]||(i[e]=[]),i[e].push(t)},e.off=function(e,t){if(!i[e])return;const s=i[e].indexOf(t);-1!==s&&(1===i[e].length?delete i[e]:i[e].splice(s,1))},e.emit=function(e,i=Date.now()){try{s?s.postMessage({event:e,value:i}):r.TVLocalStorage.setItem(t+e,i.toString())}catch(e){n.logError(e.message)}}}(o||(o={}))},15618:(e,t,i)=>{"use strict";i.r(t),i.d(t,{activateKeyPressHandler:()=>m,showDialog:()=>g});const s=[];let r=null;function n(e){for(let t=0;t=0&&!0!==s[t].func(e);t--);}window.addEventListener("keypress",o,!1);var a=i(38318),l=i(67337),c=i(8636),h=i(51193),d=i(11181),u=i(51768);let p=null;function _(e){if(!(0,a.globalKeypressMatches)(e))return!1;e.preventDefault();const t=String.fromCharCode(e.charCode);return l.enabled("show_interval_dialog_on_key_press")&&function(e){return/[1-9]/.test(e)}(t)?(0,c.showChangeIntervalDialogAsync)({initVal:t}):l.enabled("symbol_search_hot_key")&&(g({defaultValue:t,selectSearchOnInit:!1,source:"keyboard"}),(0,u.trackEvent)("GUI","SS","hotkey")),!0}function m(){(0,h.loadChangeIntervalDialog)(),function(e,t){const i={name:e,func:t},r=n(i.name) -;r>-1&&s.splice(r,1),s.unshift(i)}("symbolEdit",_)}function g(e){const t=p=(0,d.loadNewSymbolSearch)().then(i=>{t===p&&i.showDefaultSearchDialog(e)});return t}},78136:(e,t,i)=>{"use strict";let s;function r(){return s}function n(e){s=e}i.d(t,{getSearchRequestDelay:()=>r,setSearchRequestDelay:()=>n})},52092:(e,t,i)=>{"use strict";i.d(t,{CLOSE_POPUPS_AND_DIALOGS_COMMAND:()=>s});const s="CLOSE_POPUPS_AND_DIALOGS_COMMAND"},42120:(e,t,i)=>{"use strict";i.d(t,{CompareDialogRenderer:()=>n});var s=i(22729);var r=i(76422);class n extends s.DialogRenderer{constructor(e){super(),this._dialog=null,this._subscribe=e=>{this._setVisibility(e)},this._chartWidgetCollection=e}show(){this._load().then(e=>{var t,i;null===(t=this._dialog)||void 0===t||t.hide(),null===(i=this._dialog)||void 0===i||i.visible().unsubscribe(this._subscribe),this._dialog=e,e.visible().subscribe(this._subscribe),e.show(),r.emit("compare_add")})}hide(){var e;null===(e=this._dialog)||void 0===e||e.hide()}_load(){return Promise.all([i.e(7271).then(i.bind(i,43900)),Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(7962),i.e(8986),i.e(6363),i.e(3466),i.e(7836),i.e(3921),i.e(5774),i.e(7427),i.e(2153),i.e(1594),i.e(7945),i.e(9837),i.e(3199),i.e(3016),i.e(2301),i.e(731)]).then(i.bind(i,89035))]).then(([e,t])=>{const i=new e.CompareModel(this._chartWidgetCollection);return t.getCompareDialogRenderer(i)})}}},3615:(e,t,i)=>{"use strict";async function s(e,t){const s=await Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(8463),i.e(9289),i.e(5998),i.e(9309),i.e(3016),i.e(8890)]).then(i.bind(i,70493));return s.showSimpleDialog(e,s.renameModule,t)}async function r(e,t){const s=await Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(8463),i.e(9289),i.e(5998),i.e(9309),i.e(3016),i.e(8890)]).then(i.bind(i,70493));return s.showSimpleDialog(e,s.confirmModule,t)}async function n(e,t){const s=await Promise.all([i.e(5514),i.e(9129),i.e(4194),i.e(8463),i.e(9289),i.e(5998),i.e(9309),i.e(3016),i.e(8890)]).then(i.bind(i,70493));return s.showSimpleDialog(e,s.warningModule,t)}i.d(t,{showRename:()=>s,showConfirm:()=>r,showWarning:()=>n})},14881:(e,t,i)=>{"use strict";i.d(t,{hideStateChange:()=>r});var s=i(2872);const r=new(i.n(s)())},90995:(e,t,i)=>{"use strict";i.d(t,{getHideOptions:()=>h,toggleHideMode:()=>d,getSavedHideMode:()=>u});var s=i(88537),r=i(28353),n=i(56840),o=i(92033),a=i(85733),l=i(14881);let c=null;function h(){if(null!==c)return c;const e=(0,o.tradingService)();return c=new Map([["drawings",{label:(0,r.t)("Hide drawings"),dataName:"hide-drawing-tools",tooltip:{active:(0,r.t)("Show all drawings"),inactive:(0,r.t)("Hide all drawings")},getBoxedValue:()=>(0,a.hideAllDrawings)(),trackLabel:"hide drawings"}],["indicators",{label:(0,r.t)("Hide indicators"),dataName:"hide-indicators",tooltip:{active:(0,r.t)("Show all indicators"),inactive:(0,r.t)("Hide all indicators")},getBoxedValue:()=>(0,a.hideAllIndicators)(),trackLabel:"hide indicators"}],["positions",{label:(0,r.t)("Hide positions & orders"),dataName:"hide-positions-and-orders",tooltip:{active:(0, -r.t)("Show all positions & orders"),inactive:(0,r.t)("Hide all positions & orders")},getBoxedValue:()=>(0,s.ensureNotNull)(e).showTradedSources,inverted:!0,trackLabel:"hide positions"}],["all",{label:(0,r.t)("Hide all"),dataName:"hide-all",tooltip:{active:e?(0,r.t)("Show all drawings, indicators, positions & orders"):(0,r.t)("Show all drawings and indicators"),inactive:e?(0,r.t)("Hide all drawings, indicators, positions & orders"):(0,r.t)("Hide all drawings and indicators")},trackLabel:"hide all"}]]),e||c.delete("positions"),c}function d(e){e?n.setValue("ChartToolsHideMode",e):e=u();const t=p();let i=!t;return"all"===e?(_((e,t,s)=>{e.setValue(s?!i:i)}),l.hideStateChange.fire({hideMode:e,isActive:i}),i):(_((s,r,n)=>{if(r===e){const e=t?!n:!s.value();s.setValue(e),i=n?!e:e}else s.setValue(Boolean(n))}),l.hideStateChange.fire({hideMode:e,isActive:i}),i)}function u(){const e=n.getValue("ChartToolsHideMode","drawings");return h().has(e)?e:"drawings"}function p(){let e=!0;return _((t,i,s)=>{const r=t.value();e=e&&(s?!r:r)}),e}function _(e){h().forEach((t,i)=>{var s;const r=null===(s=t.getBoxedValue)||void 0===s?void 0:s.call(t);r&&e(r,i,t.inverted)})}},15219:(e,t,i)=>{"use strict";i.d(t,{showConfirmInputsDialog:()=>c});var s=i(28353),r=i(88537),n=i(80643),o=i(33266),a=i(2015),l=i.n(a);async function c(e,t,a,c,h="default"){let d,u=null;const p=e.model().model(),_=(0,n.clone)((0,r.ensureDefined)(t.defaults.inputs)),m=new(l())({inputs:_}),g=function(e,t){return"symbol"===t?e.inputs.filter(t=>t.id===e.symbolInputId()):e.inputs.filter(e=>e.confirm)}(t,h),f=()=>{d&&p.removeCustomSource(d)},v=()=>{f(),c()},S=e=>{a({inputs:e,parentSource:u}),f()},y=g.filter(o.isTimeOrPriceNotHiddenInput);if(y.length>0)try{const s=await Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(7836),i.e(8463),i.e(9289),i.e(3921),i.e(5774),i.e(7427),i.e(7345),i.e(2153),i.e(6416),i.e(7176),i.e(2385),i.e(7552),i.e(2316),i.e(137),i.e(9837),i.e(3199),i.e(3016),i.e(1075),i.e(2301),i.e(6085),i.e(4891),i.e(3030)]).then(i.bind(i,73339)),r=await s.selectInputValuesOnChart(e,y,m,t.shortDescription,t.inputs);d=r.customSourceId,u=r.destPane?r.destPane.mainDataSource():null}catch(e){return void v()}y.length!==g.length?Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(7836),i.e(8463),i.e(9289),i.e(3921),i.e(5774),i.e(7427),i.e(7345),i.e(2153),i.e(6416),i.e(7176),i.e(2385),i.e(7552),i.e(2316),i.e(137),i.e(9837),i.e(3199),i.e(3016),i.e(1075),i.e(2301),i.e(6085),i.e(4891),i.e(3030)]).then(i.bind(i,70589)).then(t=>{const i=new t.ConfirmInputsDialogRenderer(function(e){if("symbol"===e)return(0,s.t)("Add Symbol");return(0,s.t)("Confirm Inputs")}(h),g,m,h,e.model(),S,v);return i.show(),i}):S(m.state().inputs||{})}},13323:(e,t,i)=>{"use strict";i.d(t,{GeneralChartPropertiesRenderer:()=>r});var s=i(22729);class r extends s.DialogRenderer{constructor(e){super(),this._dialog=null,this._subscribe=e=>{this._setVisibility(e)},this._chartWidgetCollection=e}show(){ -const e=this._chartWidgetCollection,t=e.activeChartWidget.value();return t.generalPropertiesDefinitions().then(s=>Promise.all([i.e(9685),i.e(5514),i.e(9129),i.e(4194),i.e(2e3),i.e(7962),i.e(8986),i.e(6363),i.e(3466),i.e(7836),i.e(8463),i.e(9289),i.e(3921),i.e(5774),i.e(7427),i.e(6909),i.e(7345),i.e(2153),i.e(4763),i.e(6416),i.e(7176),i.e(2385),i.e(7552),i.e(2316),i.e(2205),i.e(9637),i.e(4521),i.e(9837),i.e(3199),i.e(2301),i.e(6085),i.e(4891),i.e(8883),i.e(7078)]).then(i.bind(i,72811)).then(i=>{var r,n;const o=new i.GeneralChartPropertiesDialogRenderer({chartWidgetCollection:e,propertyPages:s,activePageId:this._activePageId,model:t.model()});return null===(r=this._dialog)||void 0===r||r.hide(),null===(n=this._dialog)||void 0===n||n.visible().unsubscribe(this._subscribe),this._dialog=o,o.visible().subscribe(this._subscribe),o.show(),this._activePageId=void 0,o}))}hide(){var e;null===(e=this._dialog)||void 0===e||e.hide()}isVisible(){return this.visible().value()}focusOnText(){}setActivePage(e){this._activePageId=e}}},25812:(e,t,i)=>{"use strict";var s;i.d(t,{ToolboxType:()=>s}),function(e){e[e.Delete=0]="Delete"}(s||(s={}))},59064:(e,t,i)=>{"use strict";i.d(t,{globalCloseDelegate:()=>r,globalCloseMenu:()=>n});var s=i(2872);const r=new(i.n(s)());function n(){r.fire()}},17191:e=>{e.exports=''},91216:e=>{e.exports=''},69061:e=>{e.exports=''},54859:e=>{e.exports=''},15917:e=>{ -e.exports=''},27966:e=>{e.exports=''},93418:e=>{e.exports=''},94939:e=>{e.exports=''},6354:e=>{e.exports=''},74645:e=>{ -e.exports=''},44368:e=>{e.exports=''},78679:e=>{e.exports=''},48111:e=>{e.exports=''},76576:e=>{ -e.exports=''},26159:e=>{e.exports=''},34954:e=>{e.exports=''},52892:e=>{e.exports=''},38069:e=>{"use strict";e.exports=JSON.parse('{"4":["v",["h",0,2],["h",1,3]],"6":["v",["h",0,2,4],["h",1,3,5]],"8":["v",["h",0,2,4,6],["h",1,3,5,7]],"2h":["h",0,1],"2v":["v",0,1],"2-1":["v",["h",0,2],1],"3s":["h",0,["v",1,2]],"3h":["h",0,1,2],"3v":["v",0,1,2],"1-2":["v",0,["h",1,2]],"3r":["h",["v",0,1],2],"4h":["h",0,1,2,3],"4v":["v",0,1,2,3],"4s":["h",0,["v",1,2,3]],"1-3":["v",0,["h",1,2,3]],"2-2":["v",["h",0,1],["v",2,3]],"1-4":["v",0,["h",1,2,3,4]],"5s":["h",0,["v",1,2,3,4]],"6c":["v",["h",0,1],["h",2,3],["h",4,5]],"8c":["v",["h",0,1],["h",2,3],["h",4,5],["h",6,7]],"s":0}')}},e=>{e.O(0,[5386,1857],()=>{return t=97881,e(e.s=t);var t});e.O()}]); \ No newline at end of file diff --git a/charting_library/bundles/library.dba373dbc4943dc69a07.js b/charting_library/bundles/library.dba373dbc4943dc69a07.js new file mode 100644 index 00000000..b07d421d --- /dev/null +++ b/charting_library/bundles/library.dba373dbc4943dc69a07.js @@ -0,0 +1,794 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1297],{70150:e=>{e.exports={"css-value-chart-controls-bar-height-with-border":"calc(38px + 1px)","css-value-chart-controls-bar-border":"1px"}},70606:()=>{},24780:e=>{e.exports={"tv-spinner__container-rotate":"tv-spinner__container-rotate-z2AhmXBd"}},25966:e=>{e.exports={"tv-transition--fade-in":"tv-transition--fade-in-VA2P0ZT5","tv-transition--fade-out":"tv-transition--fade-out-VA2P0ZT5","tv-transition--slide-out":"tv-transition--slide-out-VA2P0ZT5"}},65592:e=>{e.exports={container:"container-RqLxZVKU",inner:"inner-RqLxZVKU","border-left":"border-left-RqLxZVKU","border-right":"border-right-RqLxZVKU","border-top":"border-top-RqLxZVKU","border-bottom":"border-bottom-RqLxZVKU","top-right-radius":"top-right-radius-RqLxZVKU","top-left-radius":"top-left-radius-RqLxZVKU","bottom-right-radius":"bottom-right-radius-RqLxZVKU","bottom-left-radius":"bottom-left-radius-RqLxZVKU"}},74228:()=>{},4103:e=>{e.exports={css_value_currency_label_radius:"4",css_wrapper_margin:"1",css_row_left_right_margin:"3",css_row_left_right_padding:"6",css_first_row_top_padding:"4",css_fade_height:"10","price-axis-currency-label-wrapper":"price-axis-currency-label-wrapper-vSuZFrDG","price-axis-currency-label":"price-axis-currency-label-vSuZFrDG",hidden:"hidden-vSuZFrDG",row:"row-vSuZFrDG",readonly:"readonly-vSuZFrDG","price-axis-currency-label-fade":"price-axis-currency-label-fade-vSuZFrDG","price-axis-currency-label-text":"price-axis-currency-label-text-vSuZFrDG","price-axis-currency-label-arrow-down":"price-axis-currency-label-arrow-down-vSuZFrDG"}},43842:e=>{e.exports={labelwidth:"19px",labelheight:"19px",bordersize:"2px",bottommargin:"5px",gearheight:"15px",gearwidth:"15px","price-axis-stub":"price-axis-stub-MAhpkWoV",wrapper:"wrapper-MAhpkWoV",label:"label-MAhpkWoV",symbol:"symbol-MAhpkWoV",gear:"gear-MAhpkWoV","fixed-gear":"fixed-gear-MAhpkWoV","fixed-symbol":"fixed-symbol-MAhpkWoV"}},1597:()=>{},97845:()=>{},98033:e=>{e.exports={"css-value-header-toolbar-height":"38px"}},87027:e=>{e.exports={chartsSplitter:"chartsSplitter-jXbRzI5l",hovered:"hovered-jXbRzI5l","i-active":"i-active-jXbRzI5l"}},50869:e=>{e.exports={"css-value-pane-controls-padding-left":"1px","css-value-pane-controls-padding-right":"5px"}},72045:e=>{e.exports={paneSeparator:"paneSeparator-9uSVw3Vg",handle:"handle-9uSVw3Vg",hovered:"hovered-9uSVw3Vg",active:"active-9uSVw3Vg"}},95306:()=>{},89405:e=>{e.exports={"common-tooltip":"common-tooltip-3cIbUUfe","common-tooltip--hidden":"common-tooltip--hidden-3cIbUUfe","common-tooltip--horizontal":"common-tooltip--horizontal-3cIbUUfe","common-tooltip--farther":"common-tooltip--farther-3cIbUUfe","common-tooltip--vertical":"common-tooltip--vertical-3cIbUUfe","common-tooltip-farther":"common-tooltip-farther-3cIbUUfe","common-tooltip--direction_normal":"common-tooltip--direction_normal-3cIbUUfe","common-tooltip__body":"common-tooltip__body-3cIbUUfe","common-tooltip__button-container":"common-tooltip__button-container-3cIbUUfe", +"common-tooltip__body--no-buttons":"common-tooltip__body--no-buttons-3cIbUUfe","common-tooltip__button":"common-tooltip__button-3cIbUUfe","common-tooltip--direction_reversed":"common-tooltip--direction_reversed-3cIbUUfe","common-tooltip__ear-holder":"common-tooltip__ear-holder-3cIbUUfe","common-tooltip__ear-holder--below":"common-tooltip__ear-holder--below-3cIbUUfe","common-tooltip__ear-holder--above":"common-tooltip__ear-holder--above-3cIbUUfe","common-tooltip__ear-holder--before":"common-tooltip__ear-holder--before-3cIbUUfe","common-tooltip__ear-holder--after":"common-tooltip__ear-holder--after-3cIbUUfe","common-tooltip__body--with-hotkey":"common-tooltip__body--with-hotkey-3cIbUUfe","common-tooltip__body--width_wide":"common-tooltip__body--width_wide-3cIbUUfe","common-tooltip__body--width_narrow":"common-tooltip__body--width_narrow-3cIbUUfe","common-tooltip__body--no-padding":"common-tooltip__body--no-padding-3cIbUUfe","common-tooltip__hotkey-block":"common-tooltip__hotkey-block-3cIbUUfe","common-tooltip__hotkey-block--divider":"common-tooltip__hotkey-block--divider-3cIbUUfe","common-tooltip__hotkey-text":"common-tooltip__hotkey-text-3cIbUUfe","common-tooltip__hotkey-button":"common-tooltip__hotkey-button-3cIbUUfe","common-tooltip__plus-sign":"common-tooltip__plus-sign-3cIbUUfe"}},45112:(e,t,i)=>{"use strict";i.r(t),i.d(t,{colorsPalette:()=>h,getHexColorByName:()=>d}) +;const s=JSON.parse('{"color-white":"#ffffff","color-black":"#000000","color-cold-gray-50":"#F8F9FD","color-cold-gray-100":"#F0F3FA","color-cold-gray-150":"#E0E3EB","color-cold-gray-200":"#D1D4DC","color-cold-gray-250":"#C1C4CD","color-cold-gray-300":"#B2B5BE","color-cold-gray-350":"#A3A6AF","color-cold-gray-400":"#9598A1","color-cold-gray-450":"#868993","color-cold-gray-500":"#787B86","color-cold-gray-550":"#6A6D78","color-cold-gray-600":"#5D606B","color-cold-gray-650":"#50535E","color-cold-gray-700":"#434651","color-cold-gray-750":"#363A45","color-cold-gray-800":"#2A2E39","color-cold-gray-850":"#1E222D","color-cold-gray-900":"#131722","color-cold-gray-950":"#0C0E15","color-ripe-red-50":"#FFEBEC","color-ripe-red-100":"#FCCBCD","color-ripe-red-200":"#FAA1A4","color-ripe-red-300":"#F77C80","color-ripe-red-400":"#F7525F","color-ripe-red-500":"#F23645","color-ripe-red-600":"#CC2F3C","color-ripe-red-700":"#B22833","color-ripe-red-800":"#991F29","color-ripe-red-900":"#801922","color-ripe-red-a100":"#FF8080","color-ripe-red-a200":"#FF5252","color-ripe-red-a400":"#FF3333","color-ripe-red-a600":"#CC2929","color-ripe-red-a700":"#802028","color-ripe-red-a800":"#4D191D","color-ripe-red-a900":"#331F20","color-tan-orange-50":"#FFF3E0","color-tan-orange-100":"#FFE0B2","color-tan-orange-200":"#FFCC80","color-tan-orange-300":"#ffb74d","color-tan-orange-400":"#FFA726","color-tan-orange-500":"#FF9800","color-tan-orange-600":"#FB8C00","color-tan-orange-700":"#F57C00","color-tan-orange-800":"#EF6C00","color-tan-orange-900":"#e65100","color-tan-orange-a200":"#ffab40","color-tan-orange-a400":"#ff9100","color-tan-orange-a700":"#FF6D00","color-iguana-green-100":"#C8E6C9","color-iguana-green-200":"#A5D6A7","color-iguana-green-300":"#81c784","color-iguana-green-400":"#66BB6A","color-iguana-green-500":"#4caf50","color-iguana-green-600":"#43a047","color-iguana-green-700":"#388e3c","color-iguana-green-800":"#2E7D32","color-iguana-green-900":"#1B5E20","color-iguana-green-a700":"#00c853","color-banana-yellow-100":"#FFF9C4","color-banana-yellow-200":"#FFF59D","color-banana-yellow-300":"#FFF176","color-banana-yellow-400":"#ffee58","color-banana-yellow-500":"#ffeb3b","color-banana-yellow-600":"#fdd835","color-banana-yellow-700":"#fbc02d","color-banana-yellow-800":"#f9a825","color-banana-yellow-900":"#F57F17","color-banana-yellow-a400":"#ffea00","color-banana-yellow-a700":"#ffd600","color-tv-blue-50":"#E3EFFD","color-tv-blue-100":"#BBD9FB","color-tv-blue-200":"#90BFF9","color-tv-blue-300":"#5B9CF6","color-tv-blue-400":"#3179F5","color-tv-blue-500":"#2962FF","color-tv-blue-600":"#1E53E5","color-tv-blue-700":"#1848CC","color-tv-blue-800":"#143EB3","color-tv-blue-900":"#0C3299","color-tv-blue-a100":"#82b1ff","color-tv-blue-a200":"#448aff","color-tv-blue-a400":"#2979ff","color-tv-blue-a600":"#2962FF","color-tv-blue-a700":"#143A87","color-tv-blue-a800":"#142E61","color-tv-blue-a900":"#132042","color-deep-blue-100":"#D1C4E9","color-deep-blue-200":"#B39DDB","color-deep-blue-300":"#9575cd","color-deep-blue-400":"#7e57c2","color-deep-blue-500":"#673ab7","color-deep-blue-700":"#512da8","color-deep-blue-800":"#4527A0","color-deep-blue-900":"#311B92","color-deep-blue-a100":"#b388ff","color-deep-blue-a200":"#7C4DFF","color-deep-blue-a400":"#651FFF","color-deep-blue-a700":"#6200EA","color-minty-green-50":"#DAF2EE","color-minty-green-100":"#ACE5DC","color-minty-green-200":"#70CCBD","color-minty-green-300":"#42BDA8","color-minty-green-400":"#22AB94","color-minty-green-500":"#089981","color-minty-green-600":"#06806B","color-minty-green-700":"#056656","color-minty-green-800":"#004D40","color-minty-green-900":"#00332A","color-minty-green-a400":"#2BD9BC","color-minty-green-a700":"#24B29B","color-minty-green-a900":"#082621","color-grapes-purple-50":"#F3E5F5","color-grapes-purple-100":"#E1BEE7","color-grapes-purple-200":"#CE93D8","color-grapes-purple-300":"#ba68c8","color-grapes-purple-400":"#ab47bc","color-grapes-purple-500":"#9c27b0","color-grapes-purple-600":"#8e24aa","color-grapes-purple-700":"#7b1fa2","color-grapes-purple-800":"#6A1B9A","color-grapes-purple-900":"#4A148C","color-grapes-purple-a200":"#E040FB","color-grapes-purple-a400":"#D500F9","color-grapes-purple-a700":"#aa00ff","color-berry-pink-100":"#F8BBD0","color-berry-pink-200":"#f48fb1","color-berry-pink-300":"#f06292","color-berry-pink-400":"#ec407a","color-berry-pink-500":"#e91e63","color-berry-pink-600":"#D81B60","color-berry-pink-700":"#C2185B","color-berry-pink-800":"#AD1457","color-berry-pink-900":"#880E4F","color-berry-pink-a100":"#ff80ab","color-berry-pink-a200":"#ff4081","color-sky-blue-100":"#B2EBF2","color-sky-blue-200":"#80DEEA","color-sky-blue-300":"#4dd0e1","color-sky-blue-400":"#26c6da","color-sky-blue-500":"#00bcd4","color-sky-blue-600":"#00acc1","color-sky-blue-700":"#0097A7","color-sky-blue-800":"#00838F","color-sky-blue-900":"#006064","color-sky-blue-a400":"#00e5ff","color-sky-blue-a700":"#00B8D4","color-deep-blue-600":"#5E35B1","color-facebook":"#1877F2","color-deep-facebook":"#1564CA","color-twitter":"#1DA1F2","color-deep-twitter":"#188CD3","color-youtube":"#FF0000","color-linkedin":"#007BB5","color-aqua-spring":"#ebf9f5","color-army-green":"#3d2c12","color-army-green-2":"#31230d","color-athens-gray-1":"#f2f3f5","color-athens-gray-2":"#f7f8fa","color-athens-gray-3":"#eceff2","color-black-180":"#b4b4b4","color-blue-dianne":"#21384d","color-bluish":"#2185cc","color-bright-gray":"#363c4e","color-brownish-grey":"#8d6e63","color-carnation":"#f04561","color-catskill-white":"#e1ecf2","color-charade":"#2f3241","color-charcoal-grey":"#323337","color-curious-blue":"#299dcd","color-dark-blue-grey":"#123440","color-darkness-blue-grey":"#12213b","color-dark-grey":"#292a2d","color-dark-grey-blue":"#28415a","color-dark-sky-blue":"#37a6ef","color-deep-sea-blue":"#016087","color-ebony-clay":"#262b3e","color-foam":"#d7f0fb","color-gull-gray":"#9db2bd","color-humming-bird":"#d3eef9","color-keppel-1":"#37bc9b","color-keppel-2":"#34b293","color-lavender-blush":"#ffedf0","color-lightish-purple":"#a75ee8","color-loblolly":"#c5cbce","color-manatee":"#878ca8","color-mandy":"#eb4d5c","color-medium-blue":"#2e7bb2","color-milk-chocolate":"#6f2626","color-mirage-1":"#131722","color-mirage-2":"#171b29","color-mirage-3":"#1c2030","color-mischka":"#d6d8e0","color-morning-glory":"#9addcc","color-oslo-gray":"#8b8e95","color-pale":"#fff2cf","color-pale-grey-1":"#f9fafb","color-pale-grey-2":"#e7ebee","color-pale-sky":"#6b7988","color-picton-blue-1":"#3bb3e4","color-puerto-rico":"#3bc2a1","color-purple-brown":"#4e2934","color-purple-brown-2":"#3d2028","color-radical-red":"#ff4a68","color-regent-gray":"#8797a5","color-scooter":"#38acdb","color-silver-tree":"#53b987","color-slate-gray":"#758696","color-sundown":"#ffa4b3","color-sunglow":"#ffca3b","color-tan-hide":"#ff9850","color-trout-1":"#4c525e","color-trout-2":"#4f5966","color-violet-1":"#332738","color-violet-2":"#271d2b","color-white-ice":"#ebf7fc","color-wild-watermelon":"#ff5773","color-readonly-input":"#b4b4b4","color-brand-dark":"#2a2c39","color-seeking-alpha-brand":"#ff7200"}'),r=JSON.parse('{"color-bg-primary":"color-white","color-bg-primary-hover":"color-cold-gray-100","color-bg-secondary":"color-white","color-bg-highlight":"color-cold-gray-50","color-bg-scroll-buttons":"color-cold-gray-100","color-legacy-bg-scroll-buttons":"color-cold-gray-850","color-legacy-bg-widget":"color-white","color-text-primary":"color-cold-gray-900","color-text-secondary":"color-cold-gray-500","color-text-tertiary":"color-cold-gray-400","color-text-disabled":"color-cold-gray-300","color-accent-content":"color-cold-gray-900","color-box-shadow":"color-cold-gray-300","color-divider":"color-cold-gray-150","color-divider-hover":"color-cold-gray-100","color-divider-secondary":"color-cold-gray-100","color-active-hover-text":"color-cold-gray-900","color-alert-text":"color-cold-gray-900","color-border-table":"color-cold-gray-100","color-brand":"color-tv-blue-500","color-brand-active":"color-tv-blue-700","color-brand-hover":"color-tv-blue-600","color-chart-page-bg":"color-cold-gray-150","color-common-tooltip-bg":"color-cold-gray-800","color-danger":"color-ripe-red-400","color-danger-hover":"color-ripe-red-500","color-danger-active":"color-ripe-red-600","color-depthrenderer-stroke-style":"color-cold-gray-100","color-highlight-new":"color-tan-orange-50","color-input-bg":"color-white","color-input-publish-bg":"color-white","color-link":"color-tv-blue-500","color-link-hover":"color-tv-blue-600","color-link-active":"color-tv-blue-700","color-list-nth-child-bg":"color-cold-gray-50","color-pane-bg":"color-white","color-pane-secondary-bg":"color-cold-gray-100","color-popup-menu-item-hover-bg":"color-cold-gray-100","color-popup-menu-separator":"color-cold-gray-150","color-screener-description":"color-cold-gray-650","color-success":"color-minty-green-500","color-success-hover":"color-minty-green-600","color-success-active":"color-minty-green-700","color-toolbar-button-text":"color-cold-gray-900","color-toolbar-button-text-hover":"color-cold-gray-900","color-toolbar-button-text-active":"color-tv-blue-500","color-toolbar-button-text-active-hover":"color-tv-blue-600","color-toolbar-button-background-hover":"color-cold-gray-100","color-toolbar-button-background-secondary-hover":"color-cold-gray-150","color-toolbar-toggle-button-background-active":"color-tv-blue-500","color-toolbar-toggle-button-background-active-hover":"color-tv-blue-600","color-toolbar-interactive-element-text-normal":"color-cold-gray-900","color-toolbar-interactive-element-text-hover":"color-cold-gray-900","color-toolbar-opened-element-bg":"color-cold-gray-100","color-tooltip-bg":"color-cold-gray-800","color-tv-dialog-caption":"color-cold-gray-650","color-tv-dropdown-item-hover-bg":"color-cold-gray-100","color-underlined-text":"color-cold-gray-500","color-widget-pages-bg":"color-white","color-warning":"color-tan-orange-500","color-growing":"color-minty-green-400","color-falling":"color-ripe-red-400","color-forex-icon":"color-cold-gray-750","color-list-item-active-bg":"color-tv-blue-400","color-list-item-hover-bg":"color-tv-blue-50","color-list-item-text":"color-cold-gray-800","color-price-axis-label-back":"color-cold-gray-150","color-price-axis-label-text":"color-cold-gray-650","color-price-axis-gear":"color-cold-gray-900","color-price-axis-gear-hover":"color-black","color-price-axis-highlight":"color-cold-gray-150","color-bid":"color-tv-blue-500","color-border":"color-cold-gray-150","color-border-chat-fields":"color-cold-gray-250","color-border-hover":"color-cold-gray-250","color-button-hover-bg":"color-cold-gray-150","color-depthrenderer-fill-style":"color-cold-gray-650","color-disabled-border-and-color":"color-cold-gray-150","color-disabled-input":"color-cold-gray-150","color-empty-container-message":"color-cold-gray-500","color-icons":"color-cold-gray-500","color-input-textarea-readonly":"color-cold-gray-650","color-input-placeholder-text":"color-cold-gray-350","color-item-active-blue":"color-tv-blue-50","color-item-hover-active-bg":"color-tv-blue-100","color-item-hover-bg":"color-tv-blue-100","color-item-hover-blue":"color-tv-blue-100","color-item-selected-blue":"color-tv-blue-50","color-item-active-text":"color-white","color-item-active-bg":"color-tv-blue-500","color-list-item":"color-cold-gray-450","color-news-highlight":"color-tv-blue-100","color-placeholder":"color-cold-gray-350","color-row-hover-active-bg":"color-cold-gray-100","color-sb-scrollbar-body-bg":"color-cold-gray-200","color-section-separator-border":"color-cold-gray-300","color-separator-table-chat":"color-cold-gray-150","color-tag-active-bg":"color-cold-gray-200","color-tag-hover-bg":"color-cold-gray-150","color-text-regular":"color-cold-gray-700","color-tv-button-checked":"color-cold-gray-550","color-scroll-bg":"color-cold-gray-400","color-scroll-border":"color-cold-gray-100","color-widget-border":"color-cold-gray-100","color-scroll-buttons-arrow":"color-white","color-control-intent-default":"color-cold-gray-200","color-control-intent-success":"color-minty-green-600","color-control-intent-primary":"color-tv-blue-500","color-control-intent-warning":"color-tan-orange-500","color-control-intent-danger":"color-ripe-red-500","color-pre-market":"color-tan-orange-600","color-pre-market-bg":"color-tan-orange-400","color-post-market":"color-tv-blue-500","color-post-market-bg":"color-tv-blue-400","color-market-open":"color-minty-green-500","color-market-open-bg":"color-minty-green-400","color-market-closed":"color-cold-gray-400","color-market-holiday":"color-cold-gray-400","color-invalid-symbol":"color-ripe-red-400","color-invalid-symbol-hover":"color-ripe-red-700","color-replay-mode":"color-tv-blue-500","color-replay-mode-icon":"color-white","color-replay-mode-hover":"color-tv-blue-600","color-notaccurate-mode":"color-berry-pink-700","color-notaccurate-mode-bg":"color-berry-pink-400","color-delay-mode":"color-tan-orange-700","color-delay-mode-bg":"color-tan-orange-400","color-eod-mode":"color-grapes-purple-700","color-eod-mode-bg":"color-grapes-purple-400","color-data-problem":"color-ripe-red-600","color-data-problem-bg":"color-ripe-red-400","color-data-problem-hover":"color-ripe-red-700","color-list-item-bg-highlighted":"color-tv-blue-50","color-list-item-bg-selected":"color-tv-blue-100","color-list-item-bg-highlighted-hover":"color-tv-blue-100","color-list-item-bg-selected-hover":"color-tv-blue-200","color-screener-header-bg":"color-white","color-screener-header-bg-hover":"color-cold-gray-100","color-marker-flagged":"color-ripe-red-400","color-marker-flagged-hovered":"color-ripe-red-600","color-ask":"color-ripe-red-400","color-sell":"color-ripe-red-400","color-buy":"color-tv-blue-500","color-neutral":"color-cold-gray-500","color-pro":"color-minty-green-400","color-pro-hover":"color-minty-green-600","color-pro-plus":"color-tv-blue-500","color-pro-plus-hover":"color-tv-blue-600","color-pro-premium":"color-tan-orange-500","color-pro-premium-hover":"color-tan-orange-700","color-trial":"color-cold-gray-500","color-trial-hover":"color-cold-gray-600","color-mod":"color-ripe-red-400","color-mod-hover":"color-ripe-red-600","color-ad":"color-tan-orange-500","color-broker-featured":"color-minty-green-400","color-broker-featured-hover":"color-minty-green-600","color-alert-status-active":"color-minty-green-400","color-alert-status-stopped":"color-ripe-red-500","color-alert-status-triggered":"color-tan-orange-500","color-overlay":"color-cold-gray-400","color-search-button-hover":"color-cold-gray-150","color-common-tooltip-text":"color-cold-gray-100","color-replay-data-mode":"color-radical-red","color-legacy-success":"color-keppel-1","color-collapse-tabs-border":"color-athens-gray-3","color-site-widget-hover":"color-athens-gray-1","color-attention":"color-sunglow","color-card-border":"color-cold-gray-150","color-card-border-hover":"color-cold-gray-300","color-background-special-primary":"color-white","color-stroke-special-primary":"color-cold-gray-150","color-selection-bg":"color-tv-blue-100"}') +;var n=i(88537);const o={...s,...r},a={},l=Object.keys(o).length,c=/^#[0-9A-F]{6}$/i;Object.keys(o).forEach(e=>{const t=function e(t,i=[]){const s=o[t];if(!s)return null;if(c.test(s))return s;const r=s;return i.push(t),-1!==i.indexOf(r)?(console.warn("Colors definitions cycled"),s):i.length>l?(console.warn("Too many variables-link in HEX-color search: "+i[0]),null):e(r,i)}(e);a[e]=(0,n.ensureNotNull)(t)});const h=a;function d(e){const t=h[e];if(!t)throw new Error("No such color "+e);return t}},74991:(e,t,i)=>{"use strict";i.d(t,{dur:()=>s,easingFunc:()=>r,CubicBezier:()=>n,color:()=>o});const s=350,r={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e*e:(4-2*e)*e-1,easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1- --e*e*e*e,easeInOutQuart:e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1+--e*e*e*e*e,easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e};class n{constructor(e,t,i,s){this._mX1=e,this._mY1=t,this._mX2=i,this._mY2=s}easingFunc(e){return this._mX1===this._mY1&&this._mX2===this._mY2?e:this._calcBezier(this._getTForX(e))}_a(e,t){return 1-3*t+3*e}_b(e,t){return 3*t-6*e}_c(e){return 3*e}_calcBezier(e){return((this._a(this._mY1,this._mY2)*e+this._b(this._mY1,this._mY2))*e+this._c(this._mY1))*e}_getSlope(e){return 3*this._a(this._mX1,this._mX2)*e*e+2*this._b(this._mX1,this._mX2)*e+this._c(this._mX1)}_getTForX(e){let t=e;for(let i=0;i<4;++i){const i=this._getSlope(t);if(0===i)return t;t-=(this._calcBezier(t)-e)/i}return t}}const o={black70:"#4A4A4A",black80:"#535353"}},77317:(e,t,i)=>{"use strict";i.d(t,{setupChartEventHint:()=>d});var s=i(88537),r=i(28353),n=i(56840),o=i(85733),a=i(44601),l=i(49483),c=i(68335),h=i(67337);function d(e,t=!1){if(!h.enabled("popup_hints"))return;const d=e.getContainer();let u=null,p=null;function _(e,t){if(u)u.show(e,g.bind(null,t));else{const s=o.tool.value();Promise.all([i.e(5514),i.e(5113),i.e(5835),i.e(6166)]).then(i.bind(i,91759)).then(i=>{u=new i.ChartEventHintRenderer(d),s===o.tool.value()&&u.show(e,g.bind(null,t))})}}function m(e){return!Boolean(n.getBool(e))}function g(e){n.setValue(e,!0,{forceFlush:!0}),(0,s.ensureNotNull)(u).destroy(),null!==p&&p(),u=null}o.tool.subscribe((function(){if(!m("hint.touchPainting"))return;const e=o.tool.value(),t=(0,a.isLineToolDrawWithoutPoints)(e),i=l.CheckMobile.any();!(0,a.isStudyLineToolName)(e)||"LineToolRegressionTrend"===e||t||i?(0,a.isLineToolName)(e)&&!(0,a.isLineDrawnWithPressedButton)(e)&&!t&&i?_((0,r.t)("Move the point to position the anchor then tap to place"),"hint.touchPainting"):u&&u.hide():_((0,r.t)("Click to set a point"),"hint.touchPainting")})),o.createdLineTool.subscribe(null,(function(){const e=o.tool.value();"LineToolPath"===e&&m("hint.finishBuildPathByDblClick")?_((0,r.t)("Double-click to finish Path"),"hint.finishBuildPathByDblClick"):"LineToolPolyline"===e&&m("hint.finishBuildPolylineByDblClick")&&_((0, +r.t)("Double-click to finish Polyline"),"hint.finishBuildPolylineByDblClick")})),o.finishedLineTool.subscribe(null,(function(){if(u){const e=o.tool.value();"LineToolPath"===e?g("hint.finishBuildPathByDblClick"):"LineToolPolyline"===e&&g("hint.finishBuildPolylineByDblClick")}})),e.layoutSizesChanged().subscribe((function(){if(!m("hint.startResizingChartInLayout"))return;_((0,r.t)("Double-click any edge to reset layout grid"),"hint.startResizingChartInLayout")})),t||l.CheckMobile.any()||!m("hint.startFocusedZoom")||(p=function(e,t){let i=!1;const s=r=>{r?(i&&t(r),e.onZoom().unsubscribe(null,s)):i||(t(r),i=!0)};return e.onZoom().subscribe(null,s),()=>e.onZoom().unsubscribe(null,s)}(e,(function(e){if(!m("hint.startFocusedZoom"))return;if(e)u&&(p=null,g("hint.startFocusedZoom"));else{const e=c.isMacKeyboard?"⌘":"Ctrl";_((0,r.t)("Press and hold {key} while zooming to maintain the chart position").format({key:e}),"hint.startFocusedZoom")}})))}},81602:(e,t,i)=>{"use strict";i.d(t,{setupChartScreenshotHint:()=>o});var s=i(28353),r=i(76422),n=i(88537);function o(e,t){const o=(0,s.t)("Link to the chart image copied to clipboard {emoji}").format({emoji:"👍"}),a=(0,s.t)("Chart image copied to clipboard {emoji}").format({emoji:"👍"});r.on("onServerScreenshotCopiedToClipboard",()=>h(o),null),r.on("onClientScreenshotCopiedToClipboard",()=>h(a),null);let l=null;const c=e.getContainer();function h(e){l?l.show(e):Promise.all([i.e(5514),i.e(8844),i.e(6767),i.e(6895),i.e(92)]).then(i.bind(i,34904)).then(i=>{l||(l=new i.ChartScreenshotHintRenderer((0,n.ensureNotNull)(c),{bottomPadding:t.seriesControlBarEnabled}),l.show(e))})}}},94194:(e,t,i)=>{"use strict";i.d(t,{getTooltipData:()=>r,setTooltipData:()=>n});const s=new WeakMap;function r(e,t){const i=s.get(e);return i instanceof Function?i(t):i&&i[t]}function n(e,t,i){if(i instanceof Function)return void s.set(e,i);const r=s.get(e),n=void 0===r||r instanceof Function?{}:r;n[t]=i,s.set(e,n)}},61814:(e,t,i)=>{"use strict";i.d(t,{hotKeySerialize:()=>r,hotKeyDeserialize:()=>n});var s=i(11372);function r(e){return(0,s.clean)(JSON.stringify(e))}function n(e){return JSON.parse((0,s.clean)(e,!0))}},38780:(e,t,i)=>{"use strict";i.d(t,{hide:()=>G,show:()=>U,showOnElement:()=>z});var s=i(32563);let r=0,n=0,o=0;function a(){clearTimeout(r),clearTimeout(n),clearTimeout(o)}function l(e,t){r=setTimeout(e,t)}const c="tooltip-root-element";let h;function d(){const e=document.getElementById(c);e?h=e:(h=document.createElement("div"),h.id=c,document.body.appendChild(h))}function u(){h&&(h.innerHTML="")}"interactive"===document.readyState?d():document.addEventListener("DOMContentLoaded",d);var p=i(88537);const _={default:"",white:"theme-white","round-shadow":"theme-round-shadow"},m=Object.keys(_);var g=i(94194),f=i(61814),v=i(62046),S=i(62820),y=(i(94419),i(54475)),b=i(64514),w=i(49483),C=i(89405);function P(e){const t=function(e){const t=e.hasAttribute("data-tooltip")?e.getAttribute("data-tooltip"):e.getAttribute("title");return t&&((0,g.setTooltipData)(e,"text",t),e.removeAttribute("title")),(0, +g.getTooltipData)(e,"text")||""}(e),i=e.getBoundingClientRect(),s={h:i.height,w:i.width,x:i.left,y:i.top},r=e.getAttribute("data-color-theme")||"",n=e.classList.contains("common-tooltip-html"),o=parseInt(e.getAttribute("data-tooltip-delay")||""),a=parseInt(e.getAttribute("data-tooltip-debounce")||"");let l={type:"none"};return t&&(l={type:n?"html":"text",data:t}),{above:e.classList.contains("common-tooltip-above"),below:e.classList.contains("common-tooltip-below"),otl:e.classList.contains("common-tooltip-otl"),otr:e.classList.contains("common-tooltip-otr"),vertical:e.classList.contains("common-tooltip-vertical"),hotkey:e.getAttribute("data-tooltip-hotkey"),narrow:e.classList.contains("common-tooltip-narrow"),wide:e.classList.contains("common-tooltip-wide"),colorTheme:r,tooltipDelay:o,tooltipDebounce:a,rect:s,content:l,target:e}}function T(e){const t=k.cloneNode(!0),i=B(t),{content:s}=e;switch(s.type){case"element":i.innerHTML="",i.appendChild(s.data);break;case"html":i.innerHTML=s.data;break;case"text":if(e.hotkey){const e=V.cloneNode(!0);e.innerText=s.data,i.appendChild(e)}else i.innerText=s.data}if(e.hotkey){const t="none"!==s.type,r=D.cloneNode(!0),n=(0,f.hotKeyDeserialize)(e.hotkey),o=n.keys.map(e=>`${e}`);r.innerHTML=function(e,t){return e.replace(/{\d}|{hotkey_\d}/gi,e=>{const i=Number(e.match(/\d/));return t[i]})}(n.text,o).replace(/\s\+\s/g,`+`),i.classList.add(C["common-tooltip__body--with-hotkey"]),t&&r.classList.add(C["common-tooltip__hotkey-block--divider"]),i.appendChild(r)}return t.addEventListener("contextmenu",y.preventDefault),t}function x(e,t){const i=t.rect;if(!i)return;!function(e,t){const i=m.includes(t)?_[t]:"";e.classList.remove(...m.map(e=>_[e]).filter(e=>!!e)),i&&!e.classList.contains(i)&&e.classList.add(i)}(e,t.colorTheme||"default"),t.addClass&&e.classList.add(t.addClass);const s=B(e),r=e.querySelector("."+C["common-tooltip__button-container"]);s.classList.toggle(C["common-tooltip__body--width_wide"],Boolean(t.wide)),s.classList.toggle(C["common-tooltip__body--no-padding"],Boolean(t.noPadding)),s.classList.toggle(C["common-tooltip__body--width_narrow"],Boolean(t.narrow)),s.classList.toggle(C["common-tooltip__body--no-buttons"],!0),s.style.left=M(0),s.style.width=M(s.clientWidth+(Boolean(t.noPadding)?0:2));const n=document.body.clientWidth,o=w.CheckMobile.iOS()||(0,w.supportTouch)()&&(0,w.isMac)()?window.innerHeight:document.body.clientHeight,a=t.vertical,l=t.extendMargin||a&&i.w<20||!a&&i.h<20;e.classList.toggle(C["common-tooltip--farther"],l),e.classList.toggle(C["common-tooltip--vertical"],a),e.classList.toggle(C["common-tooltip--horizontal"],!a);const c=function(e){return e.querySelector("."+C["common-tooltip__ear-holder"])}(e),h=e.offsetHeight;if(a){const a=10,l=o-10,d=12,u=a+d,p=l-d,_=(0,b.clamp)(i.y+i.h/2,u,p)-h/2,m=_+h;e.style.left=M(i.x+i.w),e.style.top=M(_),_l&&(s.style.top=r.style.top=M(l-m)) +;const{right:g}=(e.querySelector(":last-child")||s).getBoundingClientRect(),f=g+10>n;e.classList.toggle(C["common-tooltip--direction_reversed"],f),e.classList.toggle(C["common-tooltip--direction_normal"],!f);let v=f?"after":"before";(0,S.isRtl)()?(v=t.otr?"after":v,v=t.otl?"before":v):(v=t.otr?"before":v,v=t.otl?"after":v),c.classList.toggle(C["common-tooltip__ear-holder--before"],"before"===v),c.classList.toggle(C["common-tooltip__ear-holder--after"],"after"===v),"after"===v&&(e.style.left="auto",e.style.right=M(n-i.x))}else{const a=i.x-(s.offsetWidth-i.w)/2,l=n-10-e.offsetWidth,d=Math.max(10,Math.min(a,l));e.style.left=M(d);const u=l\n\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t
    \n\t
  • 5vNU?D7&)C8}~nU-*c)_Dv64ep+-+I#Qw-nJOuL9D`Wb*w=e z3aLhbPxR2MchtMjOnzW-uYOAa-T?4Qltg- zq{R87!8|P4ps!jp?Erw6%S<=!{)3EK@GMjVm1uXIcF}y4973d=wq;zv&96L)5rQCrPx_Q zi_$UtlI=_?N$(k#c-Euc8i3}AIS{Jt^wY9^^62kI(Lxf-!c1F(rZN?~OkQ5r1U$?e z!_n7YpL(E9rggFfw*~hI^Wq;Fn@@ZftT{P1+dzvH33{RZnahvc?yft7ze$5;{Q&PI z#G8zz*;tMHSy+tZy}SUVJf#l_s8I0_03k@9VjZa)0Eiq>CJNsXX{XR}y{VstQo$|P zj5`Pa^X?D;02N>q0C=N+YBP2({fqy0-Sgm<3cvf@I!o+=Kkf2ds_uYZ3C~@?MC`@rc!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Zp8JzeQonh}tG!VdIuZOOKR zsk;Jk_z|n}x_+wsw7p$e0pXxSxR>o|dR9hmVmm7_q6J3%lqJ=xi4a4>?xe9p9};;R z{sU~#qpN5}UL`EI%Mhwx&*JnFB|^m{>npu;)(f*l`T3$J*}xS%X!5JP`5%5(TwSIA zTRm2C;wn%ps-Z5*G`(@)dm8t+@QU!qcEFfe{L>&-%W zgk*=uc_yfx&+AU`7u|heKff|1R1g1PdKzpi@v4pj#Rtv32gM-|a*GV*sm02~YG9Su{g+ zaG|6yC!hmCN%i$>?8m-}9l?i?a6vj`Z`tcb#HJJY*}Fnj*(nFqA@Ju%mC-Er#klS! zWaXu@A(4SOk-!cP4e)L1zAHd@Hqt-e7rj=XrO`m*y?~m@c_%uT zigW6=dKd=@S7mOD=3uMTH?cXk2t$T3trUTsnjijk8N;f7=bQ5Hk4JdK8@&0+7&Uq# zrhYLdF~_bEjPOO?_8`=a%IU1*x3XFHxUK(LU-yD|dmdAG0cO2TK!X4goD-F_(m{!K zb;)WKAcqu`q&~T%HPDkmA2>l7>rk^3Z3S(HiyBq(-gbd3!-Ihp;`u*|b7P?z7>68> z9BWGXikT)al;R=zkS*YqRgA`e^kb;{dZk zO*AW)z;-}E1CI4b_!`LB2!C(MVldN?>#@8c3SWz%WXe^H|NmcSyR0?hb*AcHGx)L9 znA1akD7<6eoK*RD4)hE>6VFzX5f)qO#US9MLsPz(1#k6|*A)q-$CqC-sCBJv@*RxH zw&GMNg~CmMF0jE3;B&V*GApY+UB2-DxsqFE`-sZk(eJXKucOz)EiGz9tTh_&uHZ)0|1@<2Nnz#v8dXd5L*xKy0WSzko5Fd5VM!mCOJkg_@cXE;KFUAQOX*(fFnNA!s{je)VhXDRZy{g+tDpr{fC8$p0C~#tr`EoyaWu;%@ \ No newline at end of file diff --git a/charting_library/bundles/bf89688b20c1bf96847619b6059daaf5.svg b/charting_library/bundles/bf89688b20c1bf96847619b6059daaf5.svg new file mode 100644 index 00000000..19be8552 --- /dev/null +++ b/charting_library/bundles/bf89688b20c1bf96847619b6059daaf5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/charting_library/bundles/blackfriday-dialog-impl.376e62a20f73b99b196d.js b/charting_library/bundles/blackfriday-dialog-impl.376e62a20f73b99b196d.js new file mode 100644 index 00000000..720c1913 --- /dev/null +++ b/charting_library/bundles/blackfriday-dialog-impl.376e62a20f73b99b196d.js @@ -0,0 +1,8 @@ +(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7713,9725,4002],{41632:(e,t,o)=>{e.exports=o.p+"14a6b7583a58202c653c5ddbb6c9dca5.jpeg"},55266:(e,t,o)=>{e.exports=o.p+"cec10b6e9e7839abaff324919dae8402.webp"},42829:(e,t,o)=>{e.exports=o.p+"c9fe6a08de1ec5ba4f5ab0f80ce4d761.jpeg"},19385:(e,t,o)=>{e.exports=o.p+"bdb5b8a0770dc62f8db3d518656ad60f.webp"},52164:(e,t,o)=>{e.exports=o.p+"5ca11f2dcd2b23a00d19e2160797c25d.jpeg"},97918:(e,t,o)=>{e.exports=o.p+"98d0d092bc4bf410d77c985fe872f359.webp"},60017:(e,t,o)=>{e.exports=o.p+"fa0f0ffdb522cb20d692df5233f45074.jpeg"},12668:(e,t,o)=>{e.exports=o.p+"d716b83b8ba7ad3cbabcf91275c88711.webp"},47917:(e,t,o)=>{e.exports=o.p+"db0cca97f734763ceccce1e1c3c88430.jpeg"},45318:(e,t,o)=>{e.exports=o.p+"8a93b4ee0b50a4c92979c153ece2bcbd.webp"},24738:(e,t,o)=>{e.exports=o.p+"3b2b883e642979810780b787f4769e95.jpeg"},49990:(e,t,o)=>{e.exports=o.p+"9b07bb7dc3737b56b1b93989582dfcae.webp"},14523:(e,t,o)=>{e.exports=o.p+"7c1bfcd1b31737c6e9ec505673a6b3c7.jpeg"},33868:(e,t,o)=>{e.exports=o.p+"673445ed0114e00b2249801cf1fa2810.webp"},37309:(e,t,o)=>{e.exports=o.p+"eb8399f5df28ee8b30713ca340c7dd8e.jpeg"},62643:(e,t,o)=>{e.exports=o.p+"72c3a3b432d2ad933ee80184f0524e7c.webp"},29558:(e,t,o)=>{e.exports=o.p+"5212daa031fa87a8a8ff5860132af72a.jpeg"},50075:(e,t,o)=>{e.exports=o.p+"5097be3164fb04ace2889628055b01cb.webp"},70176:(e,t,o)=>{e.exports=o.p+"1e9f070f7e9ad9001725ada71182816b.jpeg"},86139:(e,t,o)=>{e.exports=o.p+"d6d0f38ab696185b41d6421c65541584.webp"},6539:e=>{e.exports={button:"button-YKkCvwjV",content:"content-YKkCvwjV","icon-only":"icon-only-YKkCvwjV","color-brand":"color-brand-YKkCvwjV","variant-primary":"variant-primary-YKkCvwjV","variant-secondary":"variant-secondary-YKkCvwjV","color-gray":"color-gray-YKkCvwjV","color-green":"color-green-YKkCvwjV","color-red":"color-red-YKkCvwjV","size-xsmall":"size-xsmall-YKkCvwjV","size-small":"size-small-YKkCvwjV","size-medium":"size-medium-YKkCvwjV","size-large":"size-large-YKkCvwjV","size-xlarge":"size-xlarge-YKkCvwjV","with-start-icon":"with-start-icon-YKkCvwjV","with-end-icon":"with-end-icon-YKkCvwjV","start-icon-wrap":"start-icon-wrap-YKkCvwjV","end-icon-wrap":"end-icon-wrap-YKkCvwjV",animated:"animated-YKkCvwjV",stretch:"stretch-YKkCvwjV",grouped:"grouped-YKkCvwjV","adjust-position":"adjust-position-YKkCvwjV","first-row":"first-row-YKkCvwjV","first-col":"first-col-YKkCvwjV","no-corner-top-left":"no-corner-top-left-YKkCvwjV","no-corner-top-right":"no-corner-top-right-YKkCvwjV","no-corner-bottom-right":"no-corner-bottom-right-YKkCvwjV","no-corner-bottom-left":"no-corner-bottom-left-YKkCvwjV"}},27471:e=>{e.exports={background:"background-19guwtkm",page:"page-19guwtkm",picture:"picture-19guwtkm","background-img":"background-img-19guwtkm","vertical-stretch":"vertical-stretch-19guwtkm",center:"center-19guwtkm",bottom:"bottom-19guwtkm",source:"source-19guwtkm",gradient:"gradient-19guwtkm","banner-main":"banner-main-19guwtkm",banner:"banner-19guwtkm",dialog:"dialog-19guwtkm"}},8981:e=>{e.exports={"css-value-cybermonday-button":"#00e5ff", +"css-value-cybermonday-button-hover":"#00B8D4","css-value-cybermonday-button-focus-outline":"rgba(0, 229, 255, 0.8)","cyber-monday-button":"cyber-monday-button-YrzjxNPj","variant-primary":"variant-primary-YrzjxNPj","variant-secondary":"variant-secondary-YrzjxNPj"}},99323:e=>{e.exports={countdown:"countdown-MqLubNEz","offer-ends":"offer-ends-MqLubNEz"}},76880:e=>{e.exports={"css-value-blackfriday-attention":"#F23645","css-value-cybermonday-attention":"#00e5ff","up-to":"up-to-v4RmmzYp",off:"off-v4RmmzYp","free-month":"free-month-v4RmmzYp",cyber_monday:"cyber_monday-v4RmmzYp"}},8013:e=>{e.exports={"css-value-blackfriday-attention":"#F23645","css-value-cybermonday-attention":"#00e5ff",title:"title-sE9E93fC",cyber_monday:"cyber_monday-sE9E93fC",offer:"offer-sE9E93fC"}},21314:e=>{e.exports={banner:"banner-VFW2MkIn","in-dialog":"in-dialog-VFW2MkIn",container:"container-VFW2MkIn","title-group":"title-group-VFW2MkIn","actions-wrapper":"actions-wrapper-VFW2MkIn","learn-more":"learn-more-VFW2MkIn"}},41600:()=>{},83131:e=>{e.exports={"dialog-close":"dialog-close-VulYnFJT",close:"close-VulYnFJT","tv-dialog":"tv-dialog-VulYnFJT","tv-blackfriday-popup":"tv-blackfriday-popup-VulYnFJT","modal-body":"modal-body-VulYnFJT",banner:"banner-VulYnFJT"}},71036:(e,t,o)=>{"use strict";o.d(t,{SquareAnchorButton:()=>f,SquareButton:()=>u});var i=o(59496),s=o(97754),n=o(95604),a=o(9745),r=o(6539),l=o.n(r);function c(e){const{color:t="brand",size:o="medium",variant:i="primary",stretch:a=!1,icon:r,startIcon:c,endIcon:d,iconOnly:h=!1,className:p,isGrouped:m,cellState:u,disablePositionAdjustment:g=!1}=e,f=function(e){let t="";return 0!==e&&(1&e&&(t=s(t,l()["no-corner-top-left"])),2&e&&(t=s(t,l()["no-corner-top-right"])),4&e&&(t=s(t,l()["no-corner-bottom-right"])),8&e&&(t=s(t,l()["no-corner-bottom-left"]))),t}((0,n.getGroupCellRemoveRoundBorders)(u));return s(p,l().button,l()["size-"+o],l()["color-"+t],l()["variant-"+i],a&&l().stretch,(r||c)&&l()["with-start-icon"],d&&l()["with-end-icon"],h&&l()["icon-only"],f,m&&l().grouped,m&&!g&&l()["adjust-position"],m&&u.isTop&&l()["first-row"],m&&u.isLeft&&l()["first-col"])}function d(e){const{size:t,startIcon:o,icon:s,iconOnly:n,children:r,endIcon:c}=e,d=null!=o?o:s;return i.createElement(i.Fragment,null,d&&"xsmall"!==t&&i.createElement(a.Icon,{icon:d,className:l()["start-icon-wrap"]}),r&&i.createElement("span",{className:l().content},r),c&&!n&&"xsmall"!==t&&i.createElement(a.Icon,{icon:c,className:l()["end-icon-wrap"]}))}var h=o(86332),p=o(90186);function m(e){const{className:t,color:o,variant:i,size:s,stretch:n,animated:a,icon:r,iconOnly:l,startIcon:c,endIcon:d,...h}=e;return{...h,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function u(e){const{reference:t,...o}=e,{isGrouped:s,cellState:n,disablePositionAdjustment:a}=(0,i.useContext)(h.ControlGroupContext),r=c({...o,isGrouped:s,cellState:n,disablePositionAdjustment:a});return i.createElement("button",{...m(o),className:r,ref:t},i.createElement(d,{...o}))}function g(e){ +const{className:t,color:o,variant:i,size:s,stretch:n,animated:a,icon:r,iconOnly:l,startIcon:c,endIcon:d,...h}=e;return{...h,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function f(e){const{reference:t}=e,{isGrouped:o,cellState:s,disablePositionAdjustment:n}=(0,i.useContext)(h.ControlGroupContext),a=c({...e,isGrouped:o,cellState:s,disablePositionAdjustment:n});return i.createElement("a",{...g(e),className:a,ref:t},i.createElement(d,{...e}))}},86332:(e,t,o)=>{"use strict";o.d(t,{ControlGroupContext:()=>i});const i=o(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,o)=>{"use strict";function i(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}o.d(t,{getGroupCellRemoveRoundBorders:()=>i})},15784:(e,t,o)=>{"use strict";o.r(t),o.d(t,{showBlackFridayDialog:()=>re});var i=o(59496),s=o(87995),n=o(89725),a=o(51768),r=o(97754),l=o.n(r),c=o(28353),d=o(93299),h=o(71036),p=o(8981);function m(e){const{offerType:t,variant:o="primary"}=e;return t===d.OFFERS.cyber_monday?r(p["cyber-monday-button"],p["variant-"+o]):void 0}function u(e){const{offerType:t,children:o,onClick:s,href:n,stretch:a,variant:l="primary",className:c}=e;return i.createElement(h.SquareAnchorButton,{color:t===d.OFFERS.cyber_monday?"brand":"red",className:r(c,m(e)),stretch:a,onClick:s,variant:l,href:n,size:"xlarge","aria-label":e["aria-label"],animated:!0},o)}var g=o(8013);function f(e){const{offerType:t,className:o}=e,s=t===d.OFFERS.cyber_monday?c.t("Cyber Monday"):c.t("Black Friday"),n=c.t("{offer} sale").split(/{offer}/);return i.createElement("h1",{className:r(g.title,o,g[t])},n[0],i.createElement("span",{className:g.offer},s),n[1])}var b=o(76880);function v(e){return i.createElement("div",{className:r(e.className,b[e.offerType])},i.createElement(f,{offerType:e.offerType}),i.createElement("div",{className:b["up-to"]},(0,c.t)("Up to")),i.createElement("div",{className:b.off},(0,c.t)("60% OFF")),i.createElement("div",{className:b["free-month"]},(0,c.t)("+1 free month")))}var w,y=o(53746),k=o(82760),C=o(99323);function x(e){var t;return i.createElement("div",{className:r(C["countdown-group"],e.className)},i.createElement("div",{className:C["offer-ends"]},null!==(t=e.title)&&void 0!==t?t:(0,c.t)("Offer ends in")),i.createElement("div",{className:C.countdown},i.createElement(y.OfferCountdown,{expiration:e.expiration,size:"s",theme:e.offerType===d.OFFERS.cyber_monday?k.CountdownTheme.CyberMonday:k.CountdownTheme.BlackFriday})))}!function(e){e.Page="page",e.Banner="banner",e.Dialog="dialog",e.BannerMain="banner-main"}(w||(w={}));var j=o(86240),_=o(12668),$=o(60017),E=o(45318),S=o(47917),T=o(19385),F=o(42829),O=o(55266),z=o(41632),V=o(97918),N=o(52164);const B=[{jpeg:F,webp:T,media:j["media-mf-laptop"]},{jpeg:S,webp:E,media:j["media-mf-tablet-vertical"]},{jpeg:$,webp:_}],D=[{jpeg:z,webp:O}],Y=[{jpeg:z,webp:O}],I=[{jpeg:N,webp:V}],W={[w.Page]:B,[w.Banner]:D,[w.Dialog]:Y,[w.BannerMain]:I} +;var R=o(50075),K=o(29558),P=o(86139),M=o(70176),A=o(33868),L=o(14523),G=o(49990),q=o(24738),J=o(62643),H=o(37309);const U=[{jpeg:L,webp:A,media:j["media-mf-laptop"]},{jpeg:M,webp:P,media:j["media-mf-tablet-vertical"]},{jpeg:K,webp:R}],Q=[{jpeg:q,webp:G}],X=[{jpeg:q,webp:G}],Z=[{jpeg:H,webp:J}],ee={[w.Page]:U,[w.Banner]:Q,[w.Dialog]:X,[w.BannerMain]:Z};var te=o(27471);const oe=i.memo((function(e){const{offerType:t,theme:o=w.Page,verticalAlign:s="top",verticalStretch:n=!1}=e,a=t===d.OFFERS.cyber_monday?ee[o]:W[o];return i.createElement("div",{className:r(te.background,te[t],te[o],te[s],n&&te["vertical-stretch"])},i.createElement("picture",{className:te.picture,role:"presentation"},a.map((e,t)=>{var o;return i.createElement(i.Fragment,{key:`${null!==(o=e.media)&&void 0!==o?o:""}_${t}`},i.createElement("source",{media:e.media,srcSet:e.webp,type:"image/webp",className:te.source}),i.createElement("source",{media:e.media,srcSet:e.jpeg,type:"image/jpeg",className:te.source}))}),i.createElement("img",{src:a[a.length-1].jpeg,alt:"Background image",className:te["background-img"]})),i.createElement("div",{className:te.gradient}))}));o(41600);var ie=o(21314);const se=i.memo((function(e){const{inDialog:t,availableOffers:o,className:s,onLearnMore:n}=e,a=d.OFFERS.cyber_monday in o?d.OFFERS.cyber_monday:d.OFFERS.black_friday,l=d.OFFERS.cyber_monday in o?o[d.OFFERS.cyber_monday]:o[d.OFFERS.black_friday];if(!l)return i.createElement(i.Fragment,null);const h=r(ie.banner,s,e.inDialog&&ie["in-dialog"]);return i.createElement("div",{className:h},i.createElement(oe,{offerType:a,theme:t?w.Dialog:w.Banner,verticalAlign:"bottom"}),i.createElement("div",{className:ie.container},i.createElement(v,{offerType:a,className:ie["title-group"]}),i.createElement("div",{className:ie["actions-wrapper"]},i.createElement(x,{offerType:a,expiration:l.date_end}),i.createElement(u,{href:"/black-friday/",offerType:a,onClick:n,"aria-label":c.t("Learn more"),className:ie["learn-more"]},c.t("Explore offers")))))}));var ne=o(9481),ae=o(83131);function re(){const e=(0,n.createDialog)({type:"modal",width:920,destroyOnClose:!0,closeOnOutsideClick:!1,containerTemplate:`